diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 664d72c838..f4a8aa8e12 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -71,6 +71,7 @@ jobs: cargo clippy -p test_bstr && cargo clippy -p test_calling_convention && cargo clippy -p test_cfg_generic && + cargo clippy -p test_collections && cargo clippy -p test_component && cargo clippy -p test_component_client && cargo clippy -p test_const_fields && diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 90efcc1d4f..9e83b654f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -121,6 +121,7 @@ jobs: cargo test --target ${{ matrix.target }} -p test_bstr && cargo test --target ${{ matrix.target }} -p test_calling_convention && cargo test --target ${{ matrix.target }} -p test_cfg_generic && + cargo test --target ${{ matrix.target }} -p test_collections && cargo test --target ${{ matrix.target }} -p test_component && cargo test --target ${{ matrix.target }} -p test_component_client && cargo test --target ${{ matrix.target }} -p test_const_fields && @@ -133,8 +134,8 @@ jobs: cargo test --target ${{ matrix.target }} -p test_enums && cargo test --target ${{ matrix.target }} -p test_error && cargo test --target ${{ matrix.target }} -p test_event && - cargo test --target ${{ matrix.target }} -p test_extensions && cargo clean && + cargo test --target ${{ matrix.target }} -p test_extensions && cargo test --target ${{ matrix.target }} -p test_handles && cargo test --target ${{ matrix.target }} -p test_helpers && cargo test --target ${{ matrix.target }} -p test_implement && diff --git a/crates/libs/bindgen/src/classes.rs b/crates/libs/bindgen/src/classes.rs index 25a93a1bd1..99ce07177f 100644 --- a/crates/libs/bindgen/src/classes.rs +++ b/crates/libs/bindgen/src/classes.rs @@ -68,8 +68,8 @@ fn gen_class(gen: &Gen, def: TypeDef) -> TokenStream { pub fn #interface_type ::windows::core::Result>( callback: F, ) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache<#name, #interface_type> = - ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache<#name, #interface_type> = + ::windows::imp::FactoryCache::new(); SHARED.call(callback) } }); @@ -86,11 +86,11 @@ fn gen_class(gen: &Gen, def: TypeDef) -> TokenStream { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>( + fn IActivationFactory ::windows::core::Result>( callback: F, ) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache<#name, ::windows::core::IGenericFactory> = - ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache<#name, ::windows::imp::IGenericFactory> = + ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -176,7 +176,7 @@ fn gen_conversions( let features = gen.cfg_features(cfg); let mut tokens = quote! { #features - ::windows::core::interface_hierarchy!(#name, ::windows::core::IUnknown, ::windows::core::IInspectable); + ::windows::imp::interface_hierarchy!(#name, ::windows::core::IUnknown, ::windows::core::IInspectable); }; for interface in interfaces { diff --git a/crates/libs/bindgen/src/delegates.rs b/crates/libs/bindgen/src/delegates.rs index d6d007e5e4..1f5382576a 100644 --- a/crates/libs/bindgen/src/delegates.rs +++ b/crates/libs/bindgen/src/delegates.rs @@ -89,11 +89,11 @@ fn gen_win_delegate(gen: &Gen, def: TypeDef) -> TokenStream { pub fn new<#fn_constraint>(invoke: F) -> Self { let com = #boxed::<#generic_names F> { vtable: &#boxed::<#generic_names F>::VTABLE, - count: ::windows::core::RefCount::new(1), + count: ::windows::imp::RefCount::new(1), invoke, }; unsafe { - ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) + ::core::mem::transmute(::std::boxed::Box::new(com)) } } #invoke @@ -103,7 +103,7 @@ fn gen_win_delegate(gen: &Gen, def: TypeDef) -> TokenStream { struct #boxed<#generic_names #fn_constraint> where #constraints { vtable: *const #vtbl<#generic_names>, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #features impl<#constraints #fn_constraint> #boxed<#generic_names F> { @@ -117,7 +117,7 @@ fn gen_win_delegate(gen: &Gen, def: TypeDef) -> TokenStream { *interface = if iid == &<#ident as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || - iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { + iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() @@ -141,7 +141,7 @@ fn gen_win_delegate(gen: &Gen, def: TypeDef) -> TokenStream { let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining diff --git a/crates/libs/bindgen/src/enums.rs b/crates/libs/bindgen/src/enums.rs index 908a2cfd6b..3fb3bd1699 100644 --- a/crates/libs/bindgen/src/enums.rs +++ b/crates/libs/bindgen/src/enums.rs @@ -191,7 +191,7 @@ pub fn gen(gen: &Gen, def: TypeDef) -> TokenStream { tokens.combine("e! { #features impl ::windows::core::RuntimeType for #ident { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(#signature); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(#signature); } }); } diff --git a/crates/libs/bindgen/src/extensions/impl/Foundation/Collections/Iterable.rs b/crates/libs/bindgen/src/extensions/impl/Foundation/Collections/Iterable.rs new file mode 100644 index 0000000000..2a2ca13eed --- /dev/null +++ b/crates/libs/bindgen/src/extensions/impl/Foundation/Collections/Iterable.rs @@ -0,0 +1,96 @@ +#[::windows::core::implement(IIterable)] +struct Iterable +where + T: ::windows::core::RuntimeType + 'static, + >::Default: ::std::clone::Clone, +{ + values: std::vec::Vec, +} + +impl IIterable_Impl for Iterable +where + T: ::windows::core::RuntimeType, + >::Default: ::std::clone::Clone, +{ + fn First(&self) -> ::windows::core::Result> { + unsafe { + // TODO: ideally we can do an AddRef rather than a QI here (via cast)... + // and then we can get rid of the unsafe as well. + Ok(Iterator { + owner: self.cast()?, + current: 0.into(), + } + .into()) + } + } +} + +#[::windows::core::implement(IIterator)] +struct Iterator +where + T: ::windows::core::RuntimeType + 'static, + >::Default: ::std::clone::Clone, +{ + owner: IIterable, + current: ::std::sync::atomic::AtomicUsize, +} + +impl IIterator_Impl for Iterator +where + T: ::windows::core::RuntimeType, + >::Default: ::std::clone::Clone, +{ + fn Current(&self) -> ::windows::core::Result { + let owner = ::windows::core::AsImpl::as_impl(&self.owner); + let current = self.current.load(::std::sync::atomic::Ordering::Relaxed); + + if owner.values.len() > current { + T::from_default(&owner.values[current]) + } else { + Err(::windows::imp::E_BOUNDS.into()) + } + } + + fn HasCurrent(&self) -> ::windows::core::Result { + let owner = ::windows::core::AsImpl::as_impl(&self.owner); + let current = self.current.load(::std::sync::atomic::Ordering::Relaxed); + + Ok(owner.values.len() > current) + } + + fn MoveNext(&self) -> ::windows::core::Result { + let owner = ::windows::core::AsImpl::as_impl(&self.owner); + let current = self.current.load(::std::sync::atomic::Ordering::Relaxed); + + if current < owner.values.len() { + self.current + .fetch_add(1, ::std::sync::atomic::Ordering::Relaxed); + } + + Ok(owner.values.len() > current + 1) + } + + fn GetMany(&self, values: &mut [T::Default]) -> ::windows::core::Result { + let owner = ::windows::core::AsImpl::as_impl(&self.owner); + let current = self.current.load(::std::sync::atomic::Ordering::Relaxed); + + let actual = std::cmp::min(owner.values.len() - current, values.len()); + let (values, _) = values.split_at_mut(actual); + values.clone_from_slice(&owner.values[current..current + actual]); + self.current + .fetch_add(actual, ::std::sync::atomic::Ordering::Relaxed); + Ok(actual as _) + } +} + +impl ::core::convert::TryFrom<::std::vec::Vec> for IIterable +where + T: ::windows::core::RuntimeType, + >::Default: ::std::clone::Clone, +{ + type Error = ::windows::core::Error; + fn try_from(values: ::std::vec::Vec) -> ::windows::core::Result { + // TODO: should provide a fallible try_into or more explicit allocator + Ok(Iterable { values }.into()) + } +} diff --git a/crates/libs/bindgen/src/extensions/mod.rs b/crates/libs/bindgen/src/extensions/mod.rs index 6c812b6a80..6dc3dd3c1b 100644 --- a/crates/libs/bindgen/src/extensions/mod.rs +++ b/crates/libs/bindgen/src/extensions/mod.rs @@ -40,6 +40,10 @@ pub fn gen_mod(gen: &Gen, namespace: &str) -> TokenStream { .into() } -pub fn gen_impl(_namespace: &str) -> TokenStream { - TokenStream::new() +pub fn gen_impl(namespace: &str) -> TokenStream { + match namespace { + "Windows.Foundation.Collections" => include_str!("impl/Foundation/Collections/Iterable.rs"), + _ => "", + } + .into() } diff --git a/crates/libs/bindgen/src/extensions/mod/Foundation/Numerics/Matrix3x2.rs b/crates/libs/bindgen/src/extensions/mod/Foundation/Numerics/Matrix3x2.rs index 69b418a850..44ece193ea 100644 --- a/crates/libs/bindgen/src/extensions/mod/Foundation/Numerics/Matrix3x2.rs +++ b/crates/libs/bindgen/src/extensions/mod/Foundation/Numerics/Matrix3x2.rs @@ -11,7 +11,7 @@ impl Matrix3x2 { pub x: f32, pub y: f32, } - ::windows::core::link!("d2d1.dll" "system" fn D2D1MakeRotateMatrix(angle: f32, center: D2D_POINT_2F, matrix: *mut Matrix3x2) -> ()); + ::windows::imp::link!("d2d1.dll" "system" fn D2D1MakeRotateMatrix(angle: f32, center: D2D_POINT_2F, matrix: *mut Matrix3x2) -> ()); let mut matrix = Self::default(); unsafe { D2D1MakeRotateMatrix(angle, D2D_POINT_2F { x, y }, &mut matrix); diff --git a/crates/libs/bindgen/src/extensions/mod/Foundation/Numerics/Matrix4x4.rs b/crates/libs/bindgen/src/extensions/mod/Foundation/Numerics/Matrix4x4.rs index 22f310f086..294540f494 100644 --- a/crates/libs/bindgen/src/extensions/mod/Foundation/Numerics/Matrix4x4.rs +++ b/crates/libs/bindgen/src/extensions/mod/Foundation/Numerics/Matrix4x4.rs @@ -20,7 +20,7 @@ impl Matrix4x4 { } } pub fn rotation_y(degree: f32) -> Self { - ::windows::core::link!("d2d1.dll" "system" fn D2D1SinCos(angle: f32, sin: *mut f32, cos: *mut f32) -> ()); + ::windows::imp::link!("d2d1.dll" "system" fn D2D1SinCos(angle: f32, sin: *mut f32, cos: *mut f32) -> ()); let angle = degree * (3.141592654 / 180.0); let mut sin = 0.0; let mut cos = 0.0; diff --git a/crates/libs/bindgen/src/functions.rs b/crates/libs/bindgen/src/functions.rs index f826204261..10025c0458 100644 --- a/crates/libs/bindgen/src/functions.rs +++ b/crates/libs/bindgen/src/functions.rs @@ -75,7 +75,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { if gen.namespace.starts_with("Windows.") { quote! { - ::windows::core::link!(#link #extern_abi fn #name(#(#abi_params),*) #abi_return_type); + ::windows::imp::link!(#link #extern_abi fn #name(#(#abi_params),*) #abi_return_type); } } else { let link = link.trim_end_matches(".dll"); @@ -206,7 +206,7 @@ fn gen_win_function(gen: &Gen, def: MethodDef) -> TokenStream { pub unsafe fn #name<#generics>(#params) -> ::windows::core::Result<#return_type> #where_clause { #link let result__ = #name(#args); - ::windows::core::then(!result__.is_invalid(), ||result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), ||result__).ok_or_else(::windows::core::Error::from_win32) } } } else { diff --git a/crates/libs/bindgen/src/gen.rs b/crates/libs/bindgen/src/gen.rs index 6972f1e508..a87b906a12 100644 --- a/crates/libs/bindgen/src/gen.rs +++ b/crates/libs/bindgen/src/gen.rs @@ -640,7 +640,7 @@ impl<'a> Gen<'a> { impl<#constraints> #ident { pub fn get(&self) -> ::windows::core::Result<#return_type> { if self.Status()? == #namespace AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&#namespace #handler::new(move |_sender, _args| { // Safe because the waiter will only be dropped after being signaled. unsafe { signaler.signal(); } @@ -689,14 +689,14 @@ impl<'a> Gen<'a> { let type_signature = if self.reader.type_def_kind(def) == TypeKind::Class { let type_signature = Literal::byte_string(self.reader.type_def_signature(def, generics).as_bytes()); - quote! { ::windows::core::ConstBuffer::from_slice(#type_signature) } + quote! { ::windows::imp::ConstBuffer::from_slice(#type_signature) } } else { let signature = Literal::byte_string( format!("{{{:#?}}}", self.reader.type_def_guid(def).unwrap()).as_bytes(), ); if generics.is_empty() { - quote! { ::windows::core::ConstBuffer::from_slice(#signature) } + quote! { ::windows::imp::ConstBuffer::from_slice(#signature) } } else { let generics = generics.iter().enumerate().map(|(index, g)| { let g = self.type_name(g); @@ -716,7 +716,7 @@ impl<'a> Gen<'a> { quote! { { - ::windows::core::ConstBuffer::new() + ::windows::imp::ConstBuffer::new() .push_slice(b"pinterface(") .push_slice(#signature) .push_slice(b";") @@ -730,7 +730,7 @@ impl<'a> Gen<'a> { quote! { #features impl<#constraints> ::windows::core::RuntimeType for #ident { - const SIGNATURE: ::windows::core::ConstBuffer = #type_signature; + const SIGNATURE: ::windows::imp::ConstBuffer = #type_signature; } } } else { diff --git a/crates/libs/bindgen/src/interfaces.rs b/crates/libs/bindgen/src/interfaces.rs index ceffd7b489..7159ae5ad0 100644 --- a/crates/libs/bindgen/src/interfaces.rs +++ b/crates/libs/bindgen/src/interfaces.rs @@ -143,7 +143,7 @@ fn gen_win_interface(gen: &Gen, def: TypeDef) -> TokenStream { }); if !vtables.is_empty() && generics.is_empty() { - let mut hierarchy = format!("::windows::core::interface_hierarchy!({ident}"); + let mut hierarchy = format!("::windows::imp::interface_hierarchy!({ident}"); let mut hierarchy_cfg = cfg.clone(); for ty in &vtables { diff --git a/crates/libs/bindgen/src/structs.rs b/crates/libs/bindgen/src/structs.rs index 35fca83591..4571cafb50 100644 --- a/crates/libs/bindgen/src/structs.rs +++ b/crates/libs/bindgen/src/structs.rs @@ -134,7 +134,7 @@ fn gen_windows_traits(gen: &Gen, def: TypeDef, name: &TokenStream, cfg: &Cfg) -> tokens.combine("e! { #features impl ::windows::core::RuntimeType for #name { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(#signature); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(#signature); } }); } diff --git a/crates/libs/implement/src/lib.rs b/crates/libs/implement/src/lib.rs index 87a1cf4ecd..63d631689e 100644 --- a/crates/libs/implement/src/lib.rs +++ b/crates/libs/implement/src/lib.rs @@ -78,7 +78,7 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: identity: *const ::windows::core::IInspectable_Vtbl, vtables: (#(*const #vtbl_idents,)*), this: #original_ident::<#(#generics,)*>, - count: ::windows::core::WeakRefCount, + count: ::windows::imp::WeakRefCount, } impl <#(#generics,)*> #impl_ident::<#(#generics,)*> where #constraints { const VTABLES: (#(#vtbl_idents2,)*) = (#(#vtable_news,)*); @@ -88,7 +88,7 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: identity: &Self::IDENTITY, vtables:(#(&Self::VTABLES.#offset,)*), this, - count: ::windows::core::WeakRefCount::new(), + count: ::windows::imp::WeakRefCount::new(), } } } @@ -101,7 +101,7 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: unsafe { *interface = if iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IInspectable as ::windows::core::Interface>::IID - || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { + || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &self.identity as *const _ as *const _ } #(#queries)* else { ::core::ptr::null_mut() diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index b7c915c656..cc4c66a5d0 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -303,7 +303,7 @@ impl ILearningModelFeatureDescriptor { } } } -::windows::core::interface_hierarchy!(ILearningModelFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILearningModelFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ILearningModelFeatureDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -316,7 +316,7 @@ impl ::core::fmt::Debug for ILearningModelFeatureDescriptor { } } impl ::windows::core::RuntimeType for ILearningModelFeatureDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{bc08cf7c-6ed0-4004-97ba-b9a2eecd2b4f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{bc08cf7c-6ed0-4004-97ba-b9a2eecd2b4f}"); } unsafe impl ::windows::core::Vtable for ILearningModelFeatureDescriptor { type Vtable = ILearningModelFeatureDescriptor_Vtbl; @@ -350,7 +350,7 @@ impl ILearningModelFeatureValue { } } } -::windows::core::interface_hierarchy!(ILearningModelFeatureValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILearningModelFeatureValue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ILearningModelFeatureValue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -363,7 +363,7 @@ impl ::core::fmt::Debug for ILearningModelFeatureValue { } } impl ::windows::core::RuntimeType for ILearningModelFeatureValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f51005db-4085-4dfe-9fed-95eb0c0cf75c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f51005db-4085-4dfe-9fed-95eb0c0cf75c}"); } unsafe impl ::windows::core::Vtable for ILearningModelFeatureValue { type Vtable = ILearningModelFeatureValue_Vtbl; @@ -386,7 +386,7 @@ pub struct ILearningModelFeatureValue_Vtbl { #[repr(transparent)] pub struct ILearningModelOperatorProvider(::windows::core::IUnknown); impl ILearningModelOperatorProvider {} -::windows::core::interface_hierarchy!(ILearningModelOperatorProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILearningModelOperatorProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ILearningModelOperatorProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -399,7 +399,7 @@ impl ::core::fmt::Debug for ILearningModelOperatorProvider { } } impl ::windows::core::RuntimeType for ILearningModelOperatorProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2a222e5d-afb1-47ed-bfad-b5b3a459ec04}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2a222e5d-afb1-47ed-bfad-b5b3a459ec04}"); } unsafe impl ::windows::core::Vtable for ILearningModelOperatorProvider { type Vtable = ILearningModelOperatorProvider_Vtbl; @@ -672,7 +672,7 @@ impl ITensor { } } } -::windows::core::interface_hierarchy!(ITensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ITensor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILearningModelFeatureValue { type Error = ::windows::core::Error; fn try_from(value: ITensor) -> ::windows::core::Result { @@ -704,7 +704,7 @@ impl ::core::fmt::Debug for ITensor { } } impl ::windows::core::RuntimeType for ITensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{05489593-a305-4a25-ad09-440119b4b7f6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{05489593-a305-4a25-ad09-440119b4b7f6}"); } unsafe impl ::windows::core::Vtable for ITensor { type Vtable = ITensor_Vtbl; @@ -1858,7 +1858,7 @@ impl ::core::fmt::Debug for ImageFeatureDescriptor { } } impl ::windows::core::RuntimeType for ImageFeatureDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.ImageFeatureDescriptor;{365585a5-171a-4a2a-985f-265159d3895a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.ImageFeatureDescriptor;{365585a5-171a-4a2a-985f-265159d3895a})"); } impl ::core::clone::Clone for ImageFeatureDescriptor { fn clone(&self) -> Self { @@ -1874,7 +1874,7 @@ unsafe impl ::windows::core::Interface for ImageFeatureDescriptor { impl ::windows::core::RuntimeName for ImageFeatureDescriptor { const NAME: &'static str = "Windows.AI.MachineLearning.ImageFeatureDescriptor"; } -::windows::core::interface_hierarchy!(ImageFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILearningModelFeatureDescriptor { type Error = ::windows::core::Error; fn try_from(value: ImageFeatureDescriptor) -> ::windows::core::Result { @@ -1926,7 +1926,7 @@ impl ImageFeatureValue { } #[doc(hidden)] pub fn IImageFeatureValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1942,7 +1942,7 @@ impl ::core::fmt::Debug for ImageFeatureValue { } } impl ::windows::core::RuntimeType for ImageFeatureValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.ImageFeatureValue;{f0414fd9-c9aa-4405-b7fb-94f87c8a3037})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.ImageFeatureValue;{f0414fd9-c9aa-4405-b7fb-94f87c8a3037})"); } impl ::core::clone::Clone for ImageFeatureValue { fn clone(&self) -> Self { @@ -1958,7 +1958,7 @@ unsafe impl ::windows::core::Interface for ImageFeatureValue { impl ::windows::core::RuntimeName for ImageFeatureValue { const NAME: &'static str = "Windows.AI.MachineLearning.ImageFeatureValue"; } -::windows::core::interface_hierarchy!(ImageFeatureValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageFeatureValue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILearningModelFeatureValue { type Error = ::windows::core::Error; fn try_from(value: ImageFeatureValue) -> ::windows::core::Result { @@ -2148,7 +2148,7 @@ impl LearningModel { } #[doc(hidden)] pub fn ILearningModelStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2164,7 +2164,7 @@ impl ::core::fmt::Debug for LearningModel { } } impl ::windows::core::RuntimeType for LearningModel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModel;{5b8e4920-489f-4e86-9128-265a327b78fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModel;{5b8e4920-489f-4e86-9128-265a327b78fa})"); } impl ::core::clone::Clone for LearningModel { fn clone(&self) -> Self { @@ -2180,7 +2180,7 @@ unsafe impl ::windows::core::Interface for LearningModel { impl ::windows::core::RuntimeName for LearningModel { const NAME: &'static str = "Windows.AI.MachineLearning.LearningModel"; } -::windows::core::interface_hierarchy!(LearningModel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LearningModel, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2281,7 +2281,7 @@ impl LearningModelBinding { } #[doc(hidden)] pub fn ILearningModelBindingFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2297,7 +2297,7 @@ impl ::core::fmt::Debug for LearningModelBinding { } } impl ::windows::core::RuntimeType for LearningModelBinding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelBinding;{ea312f20-168f-4f8c-94fe-2e7ac31b4aa8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelBinding;{ea312f20-168f-4f8c-94fe-2e7ac31b4aa8})"); } impl ::core::clone::Clone for LearningModelBinding { fn clone(&self) -> Self { @@ -2329,7 +2329,7 @@ impl ::core::iter::IntoIterator for &LearningModelBinding { self.First().unwrap() } } -::windows::core::interface_hierarchy!(LearningModelBinding, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LearningModelBinding, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -2418,12 +2418,12 @@ impl LearningModelDevice { } #[doc(hidden)] pub fn ILearningModelDeviceFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILearningModelDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2439,7 +2439,7 @@ impl ::core::fmt::Debug for LearningModelDevice { } } impl ::windows::core::RuntimeType for LearningModelDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelDevice;{f5c2c8fe-3f56-4a8c-ac5f-fdb92d8b8252})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelDevice;{f5c2c8fe-3f56-4a8c-ac5f-fdb92d8b8252})"); } impl ::core::clone::Clone for LearningModelDevice { fn clone(&self) -> Self { @@ -2455,7 +2455,7 @@ unsafe impl ::windows::core::Interface for LearningModelDevice { impl ::windows::core::RuntimeName for LearningModelDevice { const NAME: &'static str = "Windows.AI.MachineLearning.LearningModelDevice"; } -::windows::core::interface_hierarchy!(LearningModelDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LearningModelDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LearningModelDevice {} unsafe impl ::core::marker::Sync for LearningModelDevice {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] @@ -2505,7 +2505,7 @@ impl ::core::fmt::Debug for LearningModelEvaluationResult { } } impl ::windows::core::RuntimeType for LearningModelEvaluationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelEvaluationResult;{b2f9bfcd-960e-49c0-8593-eb190ae3eee2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelEvaluationResult;{b2f9bfcd-960e-49c0-8593-eb190ae3eee2})"); } impl ::core::clone::Clone for LearningModelEvaluationResult { fn clone(&self) -> Self { @@ -2521,7 +2521,7 @@ unsafe impl ::windows::core::Interface for LearningModelEvaluationResult { impl ::windows::core::RuntimeName for LearningModelEvaluationResult { const NAME: &'static str = "Windows.AI.MachineLearning.LearningModelEvaluationResult"; } -::windows::core::interface_hierarchy!(LearningModelEvaluationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LearningModelEvaluationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LearningModelEvaluationResult {} unsafe impl ::core::marker::Sync for LearningModelEvaluationResult {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] @@ -2619,12 +2619,12 @@ impl LearningModelSession { } #[doc(hidden)] pub fn ILearningModelSessionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILearningModelSessionFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2640,7 +2640,7 @@ impl ::core::fmt::Debug for LearningModelSession { } } impl ::windows::core::RuntimeType for LearningModelSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelSession;{8e58f8f6-b787-4c11-90f0-7129aeca74a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelSession;{8e58f8f6-b787-4c11-90f0-7129aeca74a9})"); } impl ::core::clone::Clone for LearningModelSession { fn clone(&self) -> Self { @@ -2656,7 +2656,7 @@ unsafe impl ::windows::core::Interface for LearningModelSession { impl ::windows::core::RuntimeName for LearningModelSession { const NAME: &'static str = "Windows.AI.MachineLearning.LearningModelSession"; } -::windows::core::interface_hierarchy!(LearningModelSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LearningModelSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2688,8 +2688,8 @@ impl LearningModelSessionOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn BatchSizeOverride(&self) -> ::windows::core::Result { @@ -2731,7 +2731,7 @@ impl ::core::fmt::Debug for LearningModelSessionOptions { } } impl ::windows::core::RuntimeType for LearningModelSessionOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelSessionOptions;{b8f63fa1-134d-5133-8cff-3a5c3c263beb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelSessionOptions;{b8f63fa1-134d-5133-8cff-3a5c3c263beb})"); } impl ::core::clone::Clone for LearningModelSessionOptions { fn clone(&self) -> Self { @@ -2747,7 +2747,7 @@ unsafe impl ::windows::core::Interface for LearningModelSessionOptions { impl ::windows::core::RuntimeName for LearningModelSessionOptions { const NAME: &'static str = "Windows.AI.MachineLearning.LearningModelSessionOptions"; } -::windows::core::interface_hierarchy!(LearningModelSessionOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LearningModelSessionOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LearningModelSessionOptions {} unsafe impl ::core::marker::Sync for LearningModelSessionOptions {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] @@ -2809,7 +2809,7 @@ impl ::core::fmt::Debug for MapFeatureDescriptor { } } impl ::windows::core::RuntimeType for MapFeatureDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.MapFeatureDescriptor;{530424bd-a257-436d-9e60-c2981f7cc5c4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.MapFeatureDescriptor;{530424bd-a257-436d-9e60-c2981f7cc5c4})"); } impl ::core::clone::Clone for MapFeatureDescriptor { fn clone(&self) -> Self { @@ -2825,7 +2825,7 @@ unsafe impl ::windows::core::Interface for MapFeatureDescriptor { impl ::windows::core::RuntimeName for MapFeatureDescriptor { const NAME: &'static str = "Windows.AI.MachineLearning.MapFeatureDescriptor"; } -::windows::core::interface_hierarchy!(MapFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILearningModelFeatureDescriptor { type Error = ::windows::core::Error; fn try_from(value: MapFeatureDescriptor) -> ::windows::core::Result { @@ -2899,7 +2899,7 @@ impl ::core::fmt::Debug for SequenceFeatureDescriptor { } } impl ::windows::core::RuntimeType for SequenceFeatureDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.SequenceFeatureDescriptor;{84f6945a-562b-4d62-a851-739aced96668})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.SequenceFeatureDescriptor;{84f6945a-562b-4d62-a851-739aced96668})"); } impl ::core::clone::Clone for SequenceFeatureDescriptor { fn clone(&self) -> Self { @@ -2915,7 +2915,7 @@ unsafe impl ::windows::core::Interface for SequenceFeatureDescriptor { impl ::windows::core::RuntimeName for SequenceFeatureDescriptor { const NAME: &'static str = "Windows.AI.MachineLearning.SequenceFeatureDescriptor"; } -::windows::core::interface_hierarchy!(SequenceFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SequenceFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILearningModelFeatureDescriptor { type Error = ::windows::core::Error; fn try_from(value: SequenceFeatureDescriptor) -> ::windows::core::Result { @@ -3052,12 +3052,12 @@ impl TensorBoolean { } #[doc(hidden)] pub fn ITensorBooleanStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorBooleanStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3073,7 +3073,7 @@ impl ::core::fmt::Debug for TensorBoolean { } } impl ::windows::core::RuntimeType for TensorBoolean { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorBoolean;{50f311ed-29e9-4a5c-a44d-8fc512584eed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorBoolean;{50f311ed-29e9-4a5c-a44d-8fc512584eed})"); } impl ::core::clone::Clone for TensorBoolean { fn clone(&self) -> Self { @@ -3089,7 +3089,7 @@ unsafe impl ::windows::core::Interface for TensorBoolean { impl ::windows::core::RuntimeName for TensorBoolean { const NAME: &'static str = "Windows.AI.MachineLearning.TensorBoolean"; } -::windows::core::interface_hierarchy!(TensorBoolean, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorBoolean, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3289,12 +3289,12 @@ impl TensorDouble { } #[doc(hidden)] pub fn ITensorDoubleStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorDoubleStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3310,7 +3310,7 @@ impl ::core::fmt::Debug for TensorDouble { } } impl ::windows::core::RuntimeType for TensorDouble { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorDouble;{91e41252-7a8f-4f0e-a28f-9637ffc8a3d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorDouble;{91e41252-7a8f-4f0e-a28f-9637ffc8a3d0})"); } impl ::core::clone::Clone for TensorDouble { fn clone(&self) -> Self { @@ -3326,7 +3326,7 @@ unsafe impl ::windows::core::Interface for TensorDouble { impl ::windows::core::RuntimeName for TensorDouble { const NAME: &'static str = "Windows.AI.MachineLearning.TensorDouble"; } -::windows::core::interface_hierarchy!(TensorDouble, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorDouble, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3472,7 +3472,7 @@ impl ::core::fmt::Debug for TensorFeatureDescriptor { } } impl ::windows::core::RuntimeType for TensorFeatureDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFeatureDescriptor;{74455c80-946a-4310-a19c-ee0af028fce4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFeatureDescriptor;{74455c80-946a-4310-a19c-ee0af028fce4})"); } impl ::core::clone::Clone for TensorFeatureDescriptor { fn clone(&self) -> Self { @@ -3488,7 +3488,7 @@ unsafe impl ::windows::core::Interface for TensorFeatureDescriptor { impl ::windows::core::RuntimeName for TensorFeatureDescriptor { const NAME: &'static str = "Windows.AI.MachineLearning.TensorFeatureDescriptor"; } -::windows::core::interface_hierarchy!(TensorFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorFeatureDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILearningModelFeatureDescriptor { type Error = ::windows::core::Error; fn try_from(value: TensorFeatureDescriptor) -> ::windows::core::Result { @@ -3625,12 +3625,12 @@ impl TensorFloat { } #[doc(hidden)] pub fn ITensorFloatStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorFloatStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3646,7 +3646,7 @@ impl ::core::fmt::Debug for TensorFloat { } } impl ::windows::core::RuntimeType for TensorFloat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFloat;{f2282d82-aa02-42c8-a0c8-df1efc9676e1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFloat;{f2282d82-aa02-42c8-a0c8-df1efc9676e1})"); } impl ::core::clone::Clone for TensorFloat { fn clone(&self) -> Self { @@ -3662,7 +3662,7 @@ unsafe impl ::windows::core::Interface for TensorFloat { impl ::windows::core::RuntimeName for TensorFloat { const NAME: &'static str = "Windows.AI.MachineLearning.TensorFloat"; } -::windows::core::interface_hierarchy!(TensorFloat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorFloat, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3862,12 +3862,12 @@ impl TensorFloat16Bit { } #[doc(hidden)] pub fn ITensorFloat16BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorFloat16BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3883,7 +3883,7 @@ impl ::core::fmt::Debug for TensorFloat16Bit { } } impl ::windows::core::RuntimeType for TensorFloat16Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFloat16Bit;{0ab994fc-5b89-4c3c-b5e4-5282a5316c0a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFloat16Bit;{0ab994fc-5b89-4c3c-b5e4-5282a5316c0a})"); } impl ::core::clone::Clone for TensorFloat16Bit { fn clone(&self) -> Self { @@ -3899,7 +3899,7 @@ unsafe impl ::windows::core::Interface for TensorFloat16Bit { impl ::windows::core::RuntimeName for TensorFloat16Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorFloat16Bit"; } -::windows::core::interface_hierarchy!(TensorFloat16Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorFloat16Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4099,12 +4099,12 @@ impl TensorInt16Bit { } #[doc(hidden)] pub fn ITensorInt16BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorInt16BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4120,7 +4120,7 @@ impl ::core::fmt::Debug for TensorInt16Bit { } } impl ::windows::core::RuntimeType for TensorInt16Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt16Bit;{98a32d39-e6d6-44af-8afa-baebc44dc020})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt16Bit;{98a32d39-e6d6-44af-8afa-baebc44dc020})"); } impl ::core::clone::Clone for TensorInt16Bit { fn clone(&self) -> Self { @@ -4136,7 +4136,7 @@ unsafe impl ::windows::core::Interface for TensorInt16Bit { impl ::windows::core::RuntimeName for TensorInt16Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorInt16Bit"; } -::windows::core::interface_hierarchy!(TensorInt16Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorInt16Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4336,12 +4336,12 @@ impl TensorInt32Bit { } #[doc(hidden)] pub fn ITensorInt32BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorInt32BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4357,7 +4357,7 @@ impl ::core::fmt::Debug for TensorInt32Bit { } } impl ::windows::core::RuntimeType for TensorInt32Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt32Bit;{2c0c28d3-207c-4486-a7d2-884522c5e589})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt32Bit;{2c0c28d3-207c-4486-a7d2-884522c5e589})"); } impl ::core::clone::Clone for TensorInt32Bit { fn clone(&self) -> Self { @@ -4373,7 +4373,7 @@ unsafe impl ::windows::core::Interface for TensorInt32Bit { impl ::windows::core::RuntimeName for TensorInt32Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorInt32Bit"; } -::windows::core::interface_hierarchy!(TensorInt32Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorInt32Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4573,12 +4573,12 @@ impl TensorInt64Bit { } #[doc(hidden)] pub fn ITensorInt64BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorInt64BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4594,7 +4594,7 @@ impl ::core::fmt::Debug for TensorInt64Bit { } } impl ::windows::core::RuntimeType for TensorInt64Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt64Bit;{499665ba-1fa2-45ad-af25-a0bd9bda4c87})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt64Bit;{499665ba-1fa2-45ad-af25-a0bd9bda4c87})"); } impl ::core::clone::Clone for TensorInt64Bit { fn clone(&self) -> Self { @@ -4610,7 +4610,7 @@ unsafe impl ::windows::core::Interface for TensorInt64Bit { impl ::windows::core::RuntimeName for TensorInt64Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorInt64Bit"; } -::windows::core::interface_hierarchy!(TensorInt64Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorInt64Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4810,12 +4810,12 @@ impl TensorInt8Bit { } #[doc(hidden)] pub fn ITensorInt8BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorInt8BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4831,7 +4831,7 @@ impl ::core::fmt::Debug for TensorInt8Bit { } } impl ::windows::core::RuntimeType for TensorInt8Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt8Bit;{cddd97c5-ffd8-4fef-aefb-30e1a485b2ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt8Bit;{cddd97c5-ffd8-4fef-aefb-30e1a485b2ee})"); } impl ::core::clone::Clone for TensorInt8Bit { fn clone(&self) -> Self { @@ -4847,7 +4847,7 @@ unsafe impl ::windows::core::Interface for TensorInt8Bit { impl ::windows::core::RuntimeName for TensorInt8Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorInt8Bit"; } -::windows::core::interface_hierarchy!(TensorInt8Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorInt8Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5035,12 +5035,12 @@ impl TensorString { } #[doc(hidden)] pub fn ITensorStringStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorStringStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5056,7 +5056,7 @@ impl ::core::fmt::Debug for TensorString { } } impl ::windows::core::RuntimeType for TensorString { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorString;{582335c8-bdb1-4610-bc75-35e9cbf009b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorString;{582335c8-bdb1-4610-bc75-35e9cbf009b7})"); } impl ::core::clone::Clone for TensorString { fn clone(&self) -> Self { @@ -5072,7 +5072,7 @@ unsafe impl ::windows::core::Interface for TensorString { impl ::windows::core::RuntimeName for TensorString { const NAME: &'static str = "Windows.AI.MachineLearning.TensorString"; } -::windows::core::interface_hierarchy!(TensorString, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorString, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5272,12 +5272,12 @@ impl TensorUInt16Bit { } #[doc(hidden)] pub fn ITensorUInt16BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorUInt16BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5293,7 +5293,7 @@ impl ::core::fmt::Debug for TensorUInt16Bit { } } impl ::windows::core::RuntimeType for TensorUInt16Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt16Bit;{68140f4b-23c0-42f3-81f6-a891c011bc3f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt16Bit;{68140f4b-23c0-42f3-81f6-a891c011bc3f})"); } impl ::core::clone::Clone for TensorUInt16Bit { fn clone(&self) -> Self { @@ -5309,7 +5309,7 @@ unsafe impl ::windows::core::Interface for TensorUInt16Bit { impl ::windows::core::RuntimeName for TensorUInt16Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorUInt16Bit"; } -::windows::core::interface_hierarchy!(TensorUInt16Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorUInt16Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5509,12 +5509,12 @@ impl TensorUInt32Bit { } #[doc(hidden)] pub fn ITensorUInt32BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorUInt32BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5530,7 +5530,7 @@ impl ::core::fmt::Debug for TensorUInt32Bit { } } impl ::windows::core::RuntimeType for TensorUInt32Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt32Bit;{d8c9c2ff-7511-45a3-bfac-c38f370d2237})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt32Bit;{d8c9c2ff-7511-45a3-bfac-c38f370d2237})"); } impl ::core::clone::Clone for TensorUInt32Bit { fn clone(&self) -> Self { @@ -5546,7 +5546,7 @@ unsafe impl ::windows::core::Interface for TensorUInt32Bit { impl ::windows::core::RuntimeName for TensorUInt32Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorUInt32Bit"; } -::windows::core::interface_hierarchy!(TensorUInt32Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorUInt32Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5746,12 +5746,12 @@ impl TensorUInt64Bit { } #[doc(hidden)] pub fn ITensorUInt64BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorUInt64BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5767,7 +5767,7 @@ impl ::core::fmt::Debug for TensorUInt64Bit { } } impl ::windows::core::RuntimeType for TensorUInt64Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt64Bit;{2e70ffad-04bf-4825-839a-82baef8c7886})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt64Bit;{2e70ffad-04bf-4825-839a-82baef8c7886})"); } impl ::core::clone::Clone for TensorUInt64Bit { fn clone(&self) -> Self { @@ -5783,7 +5783,7 @@ unsafe impl ::windows::core::Interface for TensorUInt64Bit { impl ::windows::core::RuntimeName for TensorUInt64Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorUInt64Bit"; } -::windows::core::interface_hierarchy!(TensorUInt64Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorUInt64Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5983,12 +5983,12 @@ impl TensorUInt8Bit { } #[doc(hidden)] pub fn ITensorUInt8BitStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITensorUInt8BitStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6004,7 +6004,7 @@ impl ::core::fmt::Debug for TensorUInt8Bit { } } impl ::windows::core::RuntimeType for TensorUInt8Bit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt8Bit;{58e1ae27-622b-48e3-be22-d867aed1daac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt8Bit;{58e1ae27-622b-48e3-be22-d867aed1daac})"); } impl ::core::clone::Clone for TensorUInt8Bit { fn clone(&self) -> Self { @@ -6020,7 +6020,7 @@ unsafe impl ::windows::core::Interface for TensorUInt8Bit { impl ::windows::core::RuntimeName for TensorUInt8Bit { const NAME: &'static str = "Windows.AI.MachineLearning.TensorUInt8Bit"; } -::windows::core::interface_hierarchy!(TensorUInt8Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TensorUInt8Bit, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6136,7 +6136,7 @@ impl ::core::fmt::Debug for LearningModelDeviceKind { } } impl ::windows::core::RuntimeType for LearningModelDeviceKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelDeviceKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelDeviceKind;i4)"); } #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] @@ -6168,7 +6168,7 @@ impl ::core::fmt::Debug for LearningModelFeatureKind { } } impl ::windows::core::RuntimeType for LearningModelFeatureKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelFeatureKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelFeatureKind;i4)"); } #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] @@ -6199,7 +6199,7 @@ impl ::core::fmt::Debug for LearningModelPixelRange { } } impl ::windows::core::RuntimeType for LearningModelPixelRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelPixelRange;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelPixelRange;i4)"); } #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] @@ -6243,7 +6243,7 @@ impl ::core::fmt::Debug for TensorKind { } } impl ::windows::core::RuntimeType for TensorKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.TensorKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.TensorKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs index 35357661e4..c0b0c817b8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs @@ -24,7 +24,7 @@ impl IActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IActivatedEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37,7 +37,7 @@ impl ::core::fmt::Debug for IActivatedEventArgs { } } impl ::windows::core::RuntimeType for IActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{cf651713-cd08-4fd8-b697-a281b6544e2e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cf651713-cd08-4fd8-b697-a281b6544e2e}"); } unsafe impl ::windows::core::Vtable for IActivatedEventArgs { type Vtable = IActivatedEventArgs_Vtbl; @@ -93,7 +93,7 @@ impl IActivatedEventArgsWithUser { } } } -::windows::core::interface_hierarchy!(IActivatedEventArgsWithUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IActivatedEventArgsWithUser, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IActivatedEventArgsWithUser) -> ::windows::core::Result { @@ -125,7 +125,7 @@ impl ::core::fmt::Debug for IActivatedEventArgsWithUser { } } impl ::windows::core::RuntimeType for IActivatedEventArgsWithUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1cf09b9e-9962-4936-80ff-afc8e8ae5c8c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1cf09b9e-9962-4936-80ff-afc8e8ae5c8c}"); } unsafe impl ::windows::core::Vtable for IActivatedEventArgsWithUser { type Vtable = IActivatedEventArgsWithUser_Vtbl; @@ -180,7 +180,7 @@ impl IApplicationViewActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IApplicationViewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IApplicationViewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IApplicationViewActivatedEventArgs) -> ::windows::core::Result { @@ -212,7 +212,7 @@ impl ::core::fmt::Debug for IApplicationViewActivatedEventArgs { } } impl ::windows::core::RuntimeType for IApplicationViewActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{930cef4b-b829-40fc-88f4-8513e8a64738}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{930cef4b-b829-40fc-88f4-8513e8a64738}"); } unsafe impl ::windows::core::Vtable for IApplicationViewActivatedEventArgs { type Vtable = IApplicationViewActivatedEventArgs_Vtbl; @@ -264,7 +264,7 @@ impl IAppointmentsProviderActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IAppointmentsProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAppointmentsProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IAppointmentsProviderActivatedEventArgs) -> ::windows::core::Result { @@ -296,7 +296,7 @@ impl ::core::fmt::Debug for IAppointmentsProviderActivatedEventArgs { } } impl ::windows::core::RuntimeType for IAppointmentsProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3364c405-933c-4e7d-a034-500fb8dcd9f3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3364c405-933c-4e7d-a034-500fb8dcd9f3}"); } unsafe impl ::windows::core::Vtable for IAppointmentsProviderActivatedEventArgs { type Vtable = IAppointmentsProviderActivatedEventArgs_Vtbl; @@ -357,7 +357,7 @@ impl IAppointmentsProviderAddAppointmentActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IAppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IAppointmentsProviderAddAppointmentActivatedEventArgs) -> ::windows::core::Result { @@ -408,7 +408,7 @@ impl ::core::fmt::Debug for IAppointmentsProviderAddAppointmentActivatedEventArg } } impl ::windows::core::RuntimeType for IAppointmentsProviderAddAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a2861367-cee5-4e4d-9ed7-41c34ec18b02}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a2861367-cee5-4e4d-9ed7-41c34ec18b02}"); } unsafe impl ::windows::core::Vtable for IAppointmentsProviderAddAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl; @@ -472,7 +472,7 @@ impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IAppointmentsProviderRemoveAppointmentActivatedEventArgs) -> ::windows::core::Result { @@ -523,7 +523,7 @@ impl ::core::fmt::Debug for IAppointmentsProviderRemoveAppointmentActivatedEvent } } impl ::windows::core::RuntimeType for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{751f3ab8-0b8e-451c-9f15-966e699bac25}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{751f3ab8-0b8e-451c-9f15-966e699bac25}"); } unsafe impl ::windows::core::Vtable for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl; @@ -587,7 +587,7 @@ impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IAppointmentsProviderReplaceAppointmentActivatedEventArgs) -> ::windows::core::Result { @@ -638,7 +638,7 @@ impl ::core::fmt::Debug for IAppointmentsProviderReplaceAppointmentActivatedEven } } impl ::windows::core::RuntimeType for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1551b7d4-a981-4067-8a62-0524e4ade121}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1551b7d4-a981-4067-8a62-0524e4ade121}"); } unsafe impl ::windows::core::Vtable for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl; @@ -716,7 +716,7 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs) -> ::windows::core::Result { @@ -767,7 +767,7 @@ impl ::core::fmt::Debug for IAppointmentsProviderShowAppointmentDetailsActivated } } impl ::windows::core::RuntimeType for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3958f065-9841-4ca5-999b-885198b9ef2a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3958f065-9841-4ca5-999b-885198b9ef2a}"); } unsafe impl ::windows::core::Vtable for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { type Vtable = IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl; @@ -842,7 +842,7 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IAppointmentsProviderShowTimeFrameActivatedEventArgs) -> ::windows::core::Result { @@ -893,7 +893,7 @@ impl ::core::fmt::Debug for IAppointmentsProviderShowTimeFrameActivatedEventArgs } } impl ::windows::core::RuntimeType for IAppointmentsProviderShowTimeFrameActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9baeaba6-0e0b-49aa-babc-12b1dc774986}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9baeaba6-0e0b-49aa-babc-12b1dc774986}"); } unsafe impl ::windows::core::Vtable for IAppointmentsProviderShowTimeFrameActivatedEventArgs { type Vtable = IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl; @@ -933,7 +933,7 @@ impl IBackgroundActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IBackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundActivatedEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -946,7 +946,7 @@ impl ::core::fmt::Debug for IBackgroundActivatedEventArgs { } } impl ::windows::core::RuntimeType for IBackgroundActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ab14bee0-e760-440e-a91c-44796de3a92d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ab14bee0-e760-440e-a91c-44796de3a92d}"); } unsafe impl ::windows::core::Vtable for IBackgroundActivatedEventArgs { type Vtable = IBackgroundActivatedEventArgs_Vtbl; @@ -1001,7 +1001,7 @@ impl IBarcodeScannerPreviewActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IBarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IBarcodeScannerPreviewActivatedEventArgs) -> ::windows::core::Result { @@ -1033,7 +1033,7 @@ impl ::core::fmt::Debug for IBarcodeScannerPreviewActivatedEventArgs { } } impl ::windows::core::RuntimeType for IBarcodeScannerPreviewActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6772797c-99bf-4349-af22-e4123560371c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6772797c-99bf-4349-af22-e4123560371c}"); } unsafe impl ::windows::core::Vtable for IBarcodeScannerPreviewActivatedEventArgs { type Vtable = IBarcodeScannerPreviewActivatedEventArgs_Vtbl; @@ -1087,7 +1087,7 @@ impl ICachedFileUpdaterActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(ICachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ICachedFileUpdaterActivatedEventArgs) -> ::windows::core::Result { @@ -1119,7 +1119,7 @@ impl ::core::fmt::Debug for ICachedFileUpdaterActivatedEventArgs { } } impl ::windows::core::RuntimeType for ICachedFileUpdaterActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d06eb1c7-3805-4ecb-b757-6cf15e26fef3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d06eb1c7-3805-4ecb-b757-6cf15e26fef3}"); } unsafe impl ::windows::core::Vtable for ICachedFileUpdaterActivatedEventArgs { type Vtable = ICachedFileUpdaterActivatedEventArgs_Vtbl; @@ -1181,7 +1181,7 @@ impl ICameraSettingsActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(ICameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ICameraSettingsActivatedEventArgs) -> ::windows::core::Result { @@ -1213,7 +1213,7 @@ impl ::core::fmt::Debug for ICameraSettingsActivatedEventArgs { } } impl ::windows::core::RuntimeType for ICameraSettingsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fb67a508-2dad-490a-9170-dca036eb114b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fb67a508-2dad-490a-9170-dca036eb114b}"); } unsafe impl ::windows::core::Vtable for ICameraSettingsActivatedEventArgs { type Vtable = ICameraSettingsActivatedEventArgs_Vtbl; @@ -1266,7 +1266,7 @@ impl ICommandLineActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(ICommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ICommandLineActivatedEventArgs) -> ::windows::core::Result { @@ -1298,7 +1298,7 @@ impl ::core::fmt::Debug for ICommandLineActivatedEventArgs { } } impl ::windows::core::RuntimeType for ICommandLineActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4506472c-006a-48eb-8afb-d07ab25e3366}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4506472c-006a-48eb-8afb-d07ab25e3366}"); } unsafe impl ::windows::core::Vtable for ICommandLineActivatedEventArgs { type Vtable = ICommandLineActivatedEventArgs_Vtbl; @@ -1377,7 +1377,7 @@ impl IContactActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContactActivatedEventArgs) -> ::windows::core::Result { @@ -1409,7 +1409,7 @@ impl ::core::fmt::Debug for IContactActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d627a1c4-c025-4c41-9def-f1eafad075e7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d627a1c4-c025-4c41-9def-f1eafad075e7}"); } unsafe impl ::windows::core::Vtable for IContactActivatedEventArgs { type Vtable = IContactActivatedEventArgs_Vtbl; @@ -1484,7 +1484,7 @@ impl IContactCallActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContactCallActivatedEventArgs) -> ::windows::core::Result { @@ -1535,7 +1535,7 @@ impl ::core::fmt::Debug for IContactCallActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3}"); } unsafe impl ::windows::core::Vtable for IContactCallActivatedEventArgs { type Vtable = IContactCallActivatedEventArgs_Vtbl; @@ -1610,7 +1610,7 @@ impl IContactMapActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContactMapActivatedEventArgs) -> ::windows::core::Result { @@ -1661,7 +1661,7 @@ impl ::core::fmt::Debug for IContactMapActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactMapActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b32bf870-eee7-4ad2-aaf1-a87effcf00a4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b32bf870-eee7-4ad2-aaf1-a87effcf00a4}"); } unsafe impl ::windows::core::Vtable for IContactMapActivatedEventArgs { type Vtable = IContactMapActivatedEventArgs_Vtbl; @@ -1743,7 +1743,7 @@ impl IContactMessageActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContactMessageActivatedEventArgs) -> ::windows::core::Result { @@ -1794,7 +1794,7 @@ impl ::core::fmt::Debug for IContactMessageActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactMessageActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{de598db2-0e03-43b0-bf56-bcc40b3162df}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{de598db2-0e03-43b0-bf56-bcc40b3162df}"); } unsafe impl ::windows::core::Vtable for IContactMessageActivatedEventArgs { type Vtable = IContactMessageActivatedEventArgs_Vtbl; @@ -1841,7 +1841,7 @@ impl IContactPanelActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContactPanelActivatedEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1854,7 +1854,7 @@ impl ::core::fmt::Debug for IContactPanelActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactPanelActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{52bb63e4-d3d4-4b63-8051-4af2082cab80}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{52bb63e4-d3d4-4b63-8051-4af2082cab80}"); } unsafe impl ::windows::core::Vtable for IContactPanelActivatedEventArgs { type Vtable = IContactPanelActivatedEventArgs_Vtbl; @@ -1915,7 +1915,7 @@ impl IContactPickerActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContactPickerActivatedEventArgs) -> ::windows::core::Result { @@ -1947,7 +1947,7 @@ impl ::core::fmt::Debug for IContactPickerActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactPickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ce57aae7-6449-45a7-971f-d113be7a8936}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ce57aae7-6449-45a7-971f-d113be7a8936}"); } unsafe impl ::windows::core::Vtable for IContactPickerActivatedEventArgs { type Vtable = IContactPickerActivatedEventArgs_Vtbl; @@ -2025,7 +2025,7 @@ impl IContactPostActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContactPostActivatedEventArgs) -> ::windows::core::Result { @@ -2076,7 +2076,7 @@ impl ::core::fmt::Debug for IContactPostActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactPostActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b35a3c67-f1e7-4655-ad6e-4857588f552f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b35a3c67-f1e7-4655-ad6e-4857588f552f}"); } unsafe impl ::windows::core::Vtable for IContactPostActivatedEventArgs { type Vtable = IContactPostActivatedEventArgs_Vtbl; @@ -2156,7 +2156,7 @@ impl IContactVideoCallActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContactVideoCallActivatedEventArgs) -> ::windows::core::Result { @@ -2207,7 +2207,7 @@ impl ::core::fmt::Debug for IContactVideoCallActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactVideoCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{61079db8-e3e7-4b4f-858d-5c63a96ef684}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{61079db8-e3e7-4b4f-858d-5c63a96ef684}"); } unsafe impl ::windows::core::Vtable for IContactVideoCallActivatedEventArgs { type Vtable = IContactVideoCallActivatedEventArgs_Vtbl; @@ -2264,7 +2264,7 @@ impl IContactsProviderActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContactsProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactsProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContactsProviderActivatedEventArgs) -> ::windows::core::Result { @@ -2296,7 +2296,7 @@ impl ::core::fmt::Debug for IContactsProviderActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContactsProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4580dca8-5750-4916-aa52-c0829521eb94}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4580dca8-5750-4916-aa52-c0829521eb94}"); } unsafe impl ::windows::core::Vtable for IContactsProviderActivatedEventArgs { type Vtable = IContactsProviderActivatedEventArgs_Vtbl; @@ -2350,7 +2350,7 @@ impl IContinuationActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IContinuationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContinuationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IContinuationActivatedEventArgs) -> ::windows::core::Result { @@ -2382,7 +2382,7 @@ impl ::core::fmt::Debug for IContinuationActivatedEventArgs { } } impl ::windows::core::RuntimeType for IContinuationActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e58106b5-155f-4a94-a742-c7e08f4e188c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e58106b5-155f-4a94-a742-c7e08f4e188c}"); } unsafe impl ::windows::core::Vtable for IContinuationActivatedEventArgs { type Vtable = IContinuationActivatedEventArgs_Vtbl; @@ -2444,7 +2444,7 @@ impl IDeviceActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IDeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IDeviceActivatedEventArgs) -> ::windows::core::Result { @@ -2476,7 +2476,7 @@ impl ::core::fmt::Debug for IDeviceActivatedEventArgs { } } impl ::windows::core::RuntimeType for IDeviceActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{cd50b9a9-ce10-44d2-8234-c355a073ef33}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cd50b9a9-ce10-44d2-8234-c355a073ef33}"); } unsafe impl ::windows::core::Vtable for IDeviceActivatedEventArgs { type Vtable = IDeviceActivatedEventArgs_Vtbl; @@ -2531,7 +2531,7 @@ impl IDevicePairingActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IDevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IDevicePairingActivatedEventArgs) -> ::windows::core::Result { @@ -2563,7 +2563,7 @@ impl ::core::fmt::Debug for IDevicePairingActivatedEventArgs { } } impl ::windows::core::RuntimeType for IDevicePairingActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e}"); } unsafe impl ::windows::core::Vtable for IDevicePairingActivatedEventArgs { type Vtable = IDevicePairingActivatedEventArgs_Vtbl; @@ -2632,7 +2632,7 @@ impl IDialReceiverActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IDialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IDialReceiverActivatedEventArgs) -> ::windows::core::Result { @@ -2683,7 +2683,7 @@ impl ::core::fmt::Debug for IDialReceiverActivatedEventArgs { } } impl ::windows::core::RuntimeType for IDialReceiverActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fb777ed7-85ee-456e-a44d-85d730e70aed}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fb777ed7-85ee-456e-a44d-85d730e70aed}"); } unsafe impl ::windows::core::Vtable for IDialReceiverActivatedEventArgs { type Vtable = IDialReceiverActivatedEventArgs_Vtbl; @@ -2744,7 +2744,7 @@ impl IFileActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IFileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IFileActivatedEventArgs) -> ::windows::core::Result { @@ -2776,7 +2776,7 @@ impl ::core::fmt::Debug for IFileActivatedEventArgs { } } impl ::windows::core::RuntimeType for IFileActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{bb2afc33-93b1-42ed-8b26-236dd9c78496}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{bb2afc33-93b1-42ed-8b26-236dd9c78496}"); } unsafe impl ::windows::core::Vtable for IFileActivatedEventArgs { type Vtable = IFileActivatedEventArgs_Vtbl; @@ -2832,7 +2832,7 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName { } } } -::windows::core::interface_hierarchy!(IFileActivatedEventArgsWithCallerPackageFamilyName, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileActivatedEventArgsWithCallerPackageFamilyName, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IFileActivatedEventArgsWithCallerPackageFamilyName) -> ::windows::core::Result { @@ -2864,7 +2864,7 @@ impl ::core::fmt::Debug for IFileActivatedEventArgsWithCallerPackageFamilyName { } } impl ::windows::core::RuntimeType for IFileActivatedEventArgsWithCallerPackageFamilyName { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2d60f06b-d25f-4d25-8653-e1c5e1108309}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2d60f06b-d25f-4d25-8653-e1c5e1108309}"); } unsafe impl ::windows::core::Vtable for IFileActivatedEventArgsWithCallerPackageFamilyName { type Vtable = IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl; @@ -2934,7 +2934,7 @@ impl IFileActivatedEventArgsWithNeighboringFiles { } } } -::windows::core::interface_hierarchy!(IFileActivatedEventArgsWithNeighboringFiles, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileActivatedEventArgsWithNeighboringFiles, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IFileActivatedEventArgsWithNeighboringFiles) -> ::windows::core::Result { @@ -2985,7 +2985,7 @@ impl ::core::fmt::Debug for IFileActivatedEventArgsWithNeighboringFiles { } } impl ::windows::core::RuntimeType for IFileActivatedEventArgsWithNeighboringFiles { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{433ba1a4-e1e2-48fd-b7fc-b5d6eee65033}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{433ba1a4-e1e2-48fd-b7fc-b5d6eee65033}"); } unsafe impl ::windows::core::Vtable for IFileActivatedEventArgsWithNeighboringFiles { type Vtable = IFileActivatedEventArgsWithNeighboringFiles_Vtbl; @@ -3042,7 +3042,7 @@ impl IFileOpenPickerActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IFileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IFileOpenPickerActivatedEventArgs) -> ::windows::core::Result { @@ -3074,7 +3074,7 @@ impl ::core::fmt::Debug for IFileOpenPickerActivatedEventArgs { } } impl ::windows::core::RuntimeType for IFileOpenPickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{72827082-5525-4bf2-bc09-1f5095d4964d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{72827082-5525-4bf2-bc09-1f5095d4964d}"); } unsafe impl ::windows::core::Vtable for IFileOpenPickerActivatedEventArgs { type Vtable = IFileOpenPickerActivatedEventArgs_Vtbl; @@ -3108,7 +3108,7 @@ impl IFileOpenPickerActivatedEventArgs2 { } } } -::windows::core::interface_hierarchy!(IFileOpenPickerActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IFileOpenPickerActivatedEventArgs2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3121,7 +3121,7 @@ impl ::core::fmt::Debug for IFileOpenPickerActivatedEventArgs2 { } } impl ::windows::core::RuntimeType for IFileOpenPickerActivatedEventArgs2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5e731f66-8d1f-45fb-af1d-73205c8fc7a1}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5e731f66-8d1f-45fb-af1d-73205c8fc7a1}"); } unsafe impl ::windows::core::Vtable for IFileOpenPickerActivatedEventArgs2 { type Vtable = IFileOpenPickerActivatedEventArgs2_Vtbl; @@ -3187,7 +3187,7 @@ impl IFileOpenPickerContinuationEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(IFileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3248,7 +3248,7 @@ impl ::core::fmt::Debug for IFileOpenPickerContinuationEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for IFileOpenPickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for IFileOpenPickerContinuationEventArgs { @@ -3309,7 +3309,7 @@ impl IFileSavePickerActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IFileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IFileSavePickerActivatedEventArgs) -> ::windows::core::Result { @@ -3341,7 +3341,7 @@ impl ::core::fmt::Debug for IFileSavePickerActivatedEventArgs { } } impl ::windows::core::RuntimeType for IFileSavePickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{81c19cf1-74e6-4387-82eb-bb8fd64b4346}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{81c19cf1-74e6-4387-82eb-bb8fd64b4346}"); } unsafe impl ::windows::core::Vtable for IFileSavePickerActivatedEventArgs { type Vtable = IFileSavePickerActivatedEventArgs_Vtbl; @@ -3382,7 +3382,7 @@ impl IFileSavePickerActivatedEventArgs2 { } } } -::windows::core::interface_hierarchy!(IFileSavePickerActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IFileSavePickerActivatedEventArgs2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3395,7 +3395,7 @@ impl ::core::fmt::Debug for IFileSavePickerActivatedEventArgs2 { } } impl ::windows::core::RuntimeType for IFileSavePickerActivatedEventArgs2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6b73fe13-2cf2-4d48-8cbc-af67d23f1ce7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6b73fe13-2cf2-4d48-8cbc-af67d23f1ce7}"); } unsafe impl ::windows::core::Vtable for IFileSavePickerActivatedEventArgs2 { type Vtable = IFileSavePickerActivatedEventArgs2_Vtbl; @@ -3462,7 +3462,7 @@ impl IFileSavePickerContinuationEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(IFileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3523,7 +3523,7 @@ impl ::core::fmt::Debug for IFileSavePickerContinuationEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for IFileSavePickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2c846fe1-3bad-4f33-8c8b-e46fae824b4b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2c846fe1-3bad-4f33-8c8b-e46fae824b4b}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for IFileSavePickerContinuationEventArgs { @@ -3596,7 +3596,7 @@ impl IFolderPickerContinuationEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(IFolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3657,7 +3657,7 @@ impl ::core::fmt::Debug for IFolderPickerContinuationEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for IFolderPickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{51882366-9f4b-498f-beb0-42684f6e1c29}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{51882366-9f4b-498f-beb0-42684f6e1c29}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for IFolderPickerContinuationEventArgs { @@ -3723,7 +3723,7 @@ impl ILaunchActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(ILaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ILaunchActivatedEventArgs) -> ::windows::core::Result { @@ -3755,7 +3755,7 @@ impl ::core::fmt::Debug for ILaunchActivatedEventArgs { } } impl ::windows::core::RuntimeType for ILaunchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fbc93e26-a14a-4b4f-82b0-33bed920af52}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fbc93e26-a14a-4b4f-82b0-33bed920af52}"); } unsafe impl ::windows::core::Vtable for ILaunchActivatedEventArgs { type Vtable = ILaunchActivatedEventArgs_Vtbl; @@ -3822,7 +3822,7 @@ impl ILaunchActivatedEventArgs2 { } } } -::windows::core::interface_hierarchy!(ILaunchActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILaunchActivatedEventArgs2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ILaunchActivatedEventArgs2) -> ::windows::core::Result { @@ -3873,7 +3873,7 @@ impl ::core::fmt::Debug for ILaunchActivatedEventArgs2 { } } impl ::windows::core::RuntimeType for ILaunchActivatedEventArgs2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0fd37ebc-9dc9-46b5-9ace-bd95d4565345}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0fd37ebc-9dc9-46b5-9ace-bd95d4565345}"); } unsafe impl ::windows::core::Vtable for ILaunchActivatedEventArgs2 { type Vtable = ILaunchActivatedEventArgs2_Vtbl; @@ -3925,7 +3925,7 @@ impl ILockScreenActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(ILockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ILockScreenActivatedEventArgs) -> ::windows::core::Result { @@ -3957,7 +3957,7 @@ impl ::core::fmt::Debug for ILockScreenActivatedEventArgs { } } impl ::windows::core::RuntimeType for ILockScreenActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3ca77966-6108-4a41-8220-ee7d133c8532}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3ca77966-6108-4a41-8220-ee7d133c8532}"); } unsafe impl ::windows::core::Vtable for ILockScreenActivatedEventArgs { type Vtable = ILockScreenActivatedEventArgs_Vtbl; @@ -4025,7 +4025,7 @@ impl ILockScreenCallActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(ILockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ILockScreenCallActivatedEventArgs) -> ::windows::core::Result { @@ -4076,7 +4076,7 @@ impl ::core::fmt::Debug for ILockScreenCallActivatedEventArgs { } } impl ::windows::core::RuntimeType for ILockScreenCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{06f37fbe-b5f2-448b-b13e-e328ac1c516a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{06f37fbe-b5f2-448b-b13e-e328ac1c516a}"); } unsafe impl ::windows::core::Vtable for ILockScreenCallActivatedEventArgs { type Vtable = ILockScreenCallActivatedEventArgs_Vtbl; @@ -4131,7 +4131,7 @@ impl IPhoneCallActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IPhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IPhoneCallActivatedEventArgs) -> ::windows::core::Result { @@ -4163,7 +4163,7 @@ impl ::core::fmt::Debug for IPhoneCallActivatedEventArgs { } } impl ::windows::core::RuntimeType for IPhoneCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{54615221-a3c1-4ced-b62f-8c60523619ad}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{54615221-a3c1-4ced-b62f-8c60523619ad}"); } unsafe impl ::windows::core::Vtable for IPhoneCallActivatedEventArgs { type Vtable = IPhoneCallActivatedEventArgs_Vtbl; @@ -4215,7 +4215,7 @@ impl IPickerReturnedActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IPickerReturnedActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPickerReturnedActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IPickerReturnedActivatedEventArgs) -> ::windows::core::Result { @@ -4247,7 +4247,7 @@ impl ::core::fmt::Debug for IPickerReturnedActivatedEventArgs { } } impl ::windows::core::RuntimeType for IPickerReturnedActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{360defb9-a9d3-4984-a4ed-9ec734604921}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{360defb9-a9d3-4984-a4ed-9ec734604921}"); } unsafe impl ::windows::core::Vtable for IPickerReturnedActivatedEventArgs { type Vtable = IPickerReturnedActivatedEventArgs_Vtbl; @@ -4299,7 +4299,7 @@ impl IPrelaunchActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IPrelaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrelaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IPrelaunchActivatedEventArgs) -> ::windows::core::Result { @@ -4331,7 +4331,7 @@ impl ::core::fmt::Debug for IPrelaunchActivatedEventArgs { } } impl ::windows::core::RuntimeType for IPrelaunchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0c44717b-19f7-48d6-b046-cf22826eaa74}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0c44717b-19f7-48d6-b046-cf22826eaa74}"); } unsafe impl ::windows::core::Vtable for IPrelaunchActivatedEventArgs { type Vtable = IPrelaunchActivatedEventArgs_Vtbl; @@ -4385,7 +4385,7 @@ impl IPrint3DWorkflowActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IPrint3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrint3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IPrint3DWorkflowActivatedEventArgs) -> ::windows::core::Result { @@ -4417,7 +4417,7 @@ impl ::core::fmt::Debug for IPrint3DWorkflowActivatedEventArgs { } } impl ::windows::core::RuntimeType for IPrint3DWorkflowActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3f57e78b-f2ac-4619-8302-ef855e1c9b90}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3f57e78b-f2ac-4619-8302-ef855e1c9b90}"); } unsafe impl ::windows::core::Vtable for IPrint3DWorkflowActivatedEventArgs { type Vtable = IPrint3DWorkflowActivatedEventArgs_Vtbl; @@ -4474,7 +4474,7 @@ impl IPrintTaskSettingsActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IPrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IPrintTaskSettingsActivatedEventArgs) -> ::windows::core::Result { @@ -4506,7 +4506,7 @@ impl ::core::fmt::Debug for IPrintTaskSettingsActivatedEventArgs { } } impl ::windows::core::RuntimeType for IPrintTaskSettingsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ee30a0c9-ce56-4865-ba8e-8954ac271107}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ee30a0c9-ce56-4865-ba8e-8954ac271107}"); } unsafe impl ::windows::core::Vtable for IPrintTaskSettingsActivatedEventArgs { type Vtable = IPrintTaskSettingsActivatedEventArgs_Vtbl; @@ -4563,7 +4563,7 @@ impl IProtocolActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IProtocolActivatedEventArgs) -> ::windows::core::Result { @@ -4595,7 +4595,7 @@ impl ::core::fmt::Debug for IProtocolActivatedEventArgs { } } impl ::windows::core::RuntimeType for IProtocolActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6095f4dd-b7c0-46ab-81fe-d90f36d00d24}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6095f4dd-b7c0-46ab-81fe-d90f36d00d24}"); } unsafe impl ::windows::core::Vtable for IProtocolActivatedEventArgs { type Vtable = IProtocolActivatedEventArgs_Vtbl; @@ -4659,7 +4659,7 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { } } } -::windows::core::interface_hierarchy!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData) -> ::windows::core::Result { @@ -4691,7 +4691,7 @@ impl ::core::fmt::Debug for IProtocolActivatedEventArgsWithCallerPackageFamilyNa } } impl ::windows::core::RuntimeType for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb}"); } unsafe impl ::windows::core::Vtable for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { type Vtable = IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl; @@ -4749,7 +4749,7 @@ impl IProtocolForResultsActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IProtocolForResultsActivatedEventArgs) -> ::windows::core::Result { @@ -4781,7 +4781,7 @@ impl ::core::fmt::Debug for IProtocolForResultsActivatedEventArgs { } } impl ::windows::core::RuntimeType for IProtocolForResultsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c}"); } unsafe impl ::windows::core::Vtable for IProtocolForResultsActivatedEventArgs { type Vtable = IProtocolForResultsActivatedEventArgs_Vtbl; @@ -4836,7 +4836,7 @@ impl IRestrictedLaunchActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IRestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IRestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IRestrictedLaunchActivatedEventArgs) -> ::windows::core::Result { @@ -4868,7 +4868,7 @@ impl ::core::fmt::Debug for IRestrictedLaunchActivatedEventArgs { } } impl ::windows::core::RuntimeType for IRestrictedLaunchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e0b7ac81-bfc3-4344-a5da-19fd5a27baae}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e0b7ac81-bfc3-4344-a5da-19fd5a27baae}"); } unsafe impl ::windows::core::Vtable for IRestrictedLaunchActivatedEventArgs { type Vtable = IRestrictedLaunchActivatedEventArgs_Vtbl; @@ -4927,7 +4927,7 @@ impl ISearchActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(ISearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ISearchActivatedEventArgs) -> ::windows::core::Result { @@ -4959,7 +4959,7 @@ impl ::core::fmt::Debug for ISearchActivatedEventArgs { } } impl ::windows::core::RuntimeType for ISearchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8cb36951-58c8-43e3-94bc-41d33f8b630e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8cb36951-58c8-43e3-94bc-41d33f8b630e}"); } unsafe impl ::windows::core::Vtable for ISearchActivatedEventArgs { type Vtable = ISearchActivatedEventArgs_Vtbl; @@ -4993,7 +4993,7 @@ impl ISearchActivatedEventArgsWithLinguisticDetails { } } } -::windows::core::interface_hierarchy!(ISearchActivatedEventArgsWithLinguisticDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISearchActivatedEventArgsWithLinguisticDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISearchActivatedEventArgsWithLinguisticDetails { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5006,7 +5006,7 @@ impl ::core::fmt::Debug for ISearchActivatedEventArgsWithLinguisticDetails { } } impl ::windows::core::RuntimeType for ISearchActivatedEventArgsWithLinguisticDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c09f33da-08ab-4931-9b7c-451025f21f81}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c09f33da-08ab-4931-9b7c-451025f21f81}"); } unsafe impl ::windows::core::Vtable for ISearchActivatedEventArgsWithLinguisticDetails { type Vtable = ISearchActivatedEventArgsWithLinguisticDetails_Vtbl; @@ -5063,7 +5063,7 @@ impl IShareTargetActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IShareTargetActivatedEventArgs) -> ::windows::core::Result { @@ -5095,7 +5095,7 @@ impl ::core::fmt::Debug for IShareTargetActivatedEventArgs { } } impl ::windows::core::RuntimeType for IShareTargetActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec}"); } unsafe impl ::windows::core::Vtable for IShareTargetActivatedEventArgs { type Vtable = IShareTargetActivatedEventArgs_Vtbl; @@ -5181,7 +5181,7 @@ impl IStartupTaskActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IStartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IStartupTaskActivatedEventArgs) -> ::windows::core::Result { @@ -5213,7 +5213,7 @@ impl ::core::fmt::Debug for IStartupTaskActivatedEventArgs { } } impl ::windows::core::RuntimeType for IStartupTaskActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{03b11a58-5276-4d91-8621-54611864d5fa}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{03b11a58-5276-4d91-8621-54611864d5fa}"); } unsafe impl ::windows::core::Vtable for IStartupTaskActivatedEventArgs { type Vtable = IStartupTaskActivatedEventArgs_Vtbl; @@ -5297,7 +5297,7 @@ impl IToastNotificationActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IToastNotificationActivatedEventArgs) -> ::windows::core::Result { @@ -5329,7 +5329,7 @@ impl ::core::fmt::Debug for IToastNotificationActivatedEventArgs { } } impl ::windows::core::RuntimeType for IToastNotificationActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{92a86f82-5290-431d-be85-c4aaeeb8685f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{92a86f82-5290-431d-be85-c4aaeeb8685f}"); } unsafe impl ::windows::core::Vtable for IToastNotificationActivatedEventArgs { type Vtable = IToastNotificationActivatedEventArgs_Vtbl; @@ -5387,7 +5387,7 @@ impl IUserDataAccountProviderActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IUserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IUserDataAccountProviderActivatedEventArgs) -> ::windows::core::Result { @@ -5419,7 +5419,7 @@ impl ::core::fmt::Debug for IUserDataAccountProviderActivatedEventArgs { } } impl ::windows::core::RuntimeType for IUserDataAccountProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1bc9f723-8ef1-4a51-a63a-fe711eeab607}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1bc9f723-8ef1-4a51-a63a-fe711eeab607}"); } unsafe impl ::windows::core::Vtable for IUserDataAccountProviderActivatedEventArgs { type Vtable = IUserDataAccountProviderActivatedEventArgs_Vtbl; @@ -5476,7 +5476,7 @@ impl IViewSwitcherProvider { } } } -::windows::core::interface_hierarchy!(IViewSwitcherProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IViewSwitcherProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IViewSwitcherProvider) -> ::windows::core::Result { @@ -5508,7 +5508,7 @@ impl ::core::fmt::Debug for IViewSwitcherProvider { } } impl ::windows::core::RuntimeType for IViewSwitcherProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{33f288a6-5c2c-4d27-bac7-7536088f1219}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{33f288a6-5c2c-4d27-bac7-7536088f1219}"); } unsafe impl ::windows::core::Vtable for IViewSwitcherProvider { type Vtable = IViewSwitcherProvider_Vtbl; @@ -5565,7 +5565,7 @@ impl IVoiceCommandActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IVoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IVoiceCommandActivatedEventArgs) -> ::windows::core::Result { @@ -5597,7 +5597,7 @@ impl ::core::fmt::Debug for IVoiceCommandActivatedEventArgs { } } impl ::windows::core::RuntimeType for IVoiceCommandActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ab92dcfd-8d43-4de6-9775-20704b581b00}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ab92dcfd-8d43-4de6-9775-20704b581b00}"); } unsafe impl ::windows::core::Vtable for IVoiceCommandActivatedEventArgs { type Vtable = IVoiceCommandActivatedEventArgs_Vtbl; @@ -5675,7 +5675,7 @@ impl IWalletActionActivatedEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(IWalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; @@ -5714,7 +5714,7 @@ impl ::core::fmt::Debug for IWalletActionActivatedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for IWalletActionActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for IWalletActionActivatedEventArgs { @@ -5783,7 +5783,7 @@ impl IWebAccountProviderActivatedEventArgs { } } } -::windows::core::interface_hierarchy!(IWebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IWebAccountProviderActivatedEventArgs) -> ::windows::core::Result { @@ -5815,7 +5815,7 @@ impl ::core::fmt::Debug for IWebAccountProviderActivatedEventArgs { } } impl ::windows::core::RuntimeType for IWebAccountProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{72b71774-98ea-4ccf-9752-46d9051004f1}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{72b71774-98ea-4ccf-9752-46d9051004f1}"); } unsafe impl ::windows::core::Vtable for IWebAccountProviderActivatedEventArgs { type Vtable = IWebAccountProviderActivatedEventArgs_Vtbl; @@ -5881,7 +5881,7 @@ impl IWebAuthenticationBrokerContinuationEventArgs { } } } -::windows::core::interface_hierarchy!(IWebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: IWebAuthenticationBrokerContinuationEventArgs) -> ::windows::core::Result { @@ -5932,7 +5932,7 @@ impl ::core::fmt::Debug for IWebAuthenticationBrokerContinuationEventArgs { } } impl ::windows::core::RuntimeType for IWebAuthenticationBrokerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{75dda3d4-7714-453d-b7ff-b95e3a1709da}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{75dda3d4-7714-453d-b7ff-b95e3a1709da}"); } unsafe impl ::windows::core::Vtable for IWebAuthenticationBrokerContinuationEventArgs { type Vtable = IWebAuthenticationBrokerContinuationEventArgs_Vtbl; @@ -6017,7 +6017,7 @@ impl ::core::fmt::Debug for AppointmentsProviderAddAppointmentActivatedEventArgs } } impl ::windows::core::RuntimeType for AppointmentsProviderAddAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})"); } impl ::core::clone::Clone for AppointmentsProviderAddAppointmentActivatedEventArgs { fn clone(&self) -> Self { @@ -6033,7 +6033,7 @@ unsafe impl ::windows::core::Interface for AppointmentsProviderAddAppointmentAct impl ::windows::core::RuntimeName for AppointmentsProviderAddAppointmentActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: AppointmentsProviderAddAppointmentActivatedEventArgs) -> ::windows::core::Result { @@ -6175,7 +6175,7 @@ impl ::core::fmt::Debug for AppointmentsProviderRemoveAppointmentActivatedEventA } } impl ::windows::core::RuntimeType for AppointmentsProviderRemoveAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})"); } impl ::core::clone::Clone for AppointmentsProviderRemoveAppointmentActivatedEventArgs { fn clone(&self) -> Self { @@ -6191,7 +6191,7 @@ unsafe impl ::windows::core::Interface for AppointmentsProviderRemoveAppointment impl ::windows::core::RuntimeName for AppointmentsProviderRemoveAppointmentActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderRemoveAppointmentActivatedEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: AppointmentsProviderRemoveAppointmentActivatedEventArgs) -> ::windows::core::Result { @@ -6333,7 +6333,7 @@ impl ::core::fmt::Debug for AppointmentsProviderReplaceAppointmentActivatedEvent } } impl ::windows::core::RuntimeType for AppointmentsProviderReplaceAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})"); } impl ::core::clone::Clone for AppointmentsProviderReplaceAppointmentActivatedEventArgs { fn clone(&self) -> Self { @@ -6349,7 +6349,7 @@ unsafe impl ::windows::core::Interface for AppointmentsProviderReplaceAppointmen impl ::windows::core::RuntimeName for AppointmentsProviderReplaceAppointmentActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderReplaceAppointmentActivatedEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: AppointmentsProviderReplaceAppointmentActivatedEventArgs) -> ::windows::core::Result { @@ -6505,7 +6505,7 @@ impl ::core::fmt::Debug for AppointmentsProviderShowAppointmentDetailsActivatedE } } impl ::windows::core::RuntimeType for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})"); } impl ::core::clone::Clone for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { fn clone(&self) -> Self { @@ -6521,7 +6521,7 @@ unsafe impl ::windows::core::Interface for AppointmentsProviderShowAppointmentDe impl ::windows::core::RuntimeName for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderShowAppointmentDetailsActivatedEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: AppointmentsProviderShowAppointmentDetailsActivatedEventArgs) -> ::windows::core::Result { @@ -6672,7 +6672,7 @@ impl ::core::fmt::Debug for AppointmentsProviderShowTimeFrameActivatedEventArgs } } impl ::windows::core::RuntimeType for AppointmentsProviderShowTimeFrameActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})"); } impl ::core::clone::Clone for AppointmentsProviderShowTimeFrameActivatedEventArgs { fn clone(&self) -> Self { @@ -6688,7 +6688,7 @@ unsafe impl ::windows::core::Interface for AppointmentsProviderShowTimeFrameActi impl ::windows::core::RuntimeName for AppointmentsProviderShowTimeFrameActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.AppointmentsProviderShowTimeFrameActivatedEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: AppointmentsProviderShowTimeFrameActivatedEventArgs) -> ::windows::core::Result { @@ -6793,7 +6793,7 @@ impl ::core::fmt::Debug for BackgroundActivatedEventArgs { } } impl ::windows::core::RuntimeType for BackgroundActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})"); } impl ::core::clone::Clone for BackgroundActivatedEventArgs { fn clone(&self) -> Self { @@ -6809,7 +6809,7 @@ unsafe impl ::windows::core::Interface for BackgroundActivatedEventArgs { impl ::windows::core::RuntimeName for BackgroundActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs"; } -::windows::core::interface_hierarchy!(BackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: BackgroundActivatedEventArgs) -> ::windows::core::Result { @@ -6885,7 +6885,7 @@ impl ::core::fmt::Debug for BarcodeScannerPreviewActivatedEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerPreviewActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.BarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.BarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})"); } impl ::core::clone::Clone for BarcodeScannerPreviewActivatedEventArgs { fn clone(&self) -> Self { @@ -6901,7 +6901,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerPreviewActivatedEventAr impl ::windows::core::RuntimeName for BarcodeScannerPreviewActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.BarcodeScannerPreviewActivatedEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: BarcodeScannerPreviewActivatedEventArgs) -> ::windows::core::Result { @@ -7017,7 +7017,7 @@ impl ::core::fmt::Debug for CachedFileUpdaterActivatedEventArgs { } } impl ::windows::core::RuntimeType for CachedFileUpdaterActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})"); } impl ::core::clone::Clone for CachedFileUpdaterActivatedEventArgs { fn clone(&self) -> Self { @@ -7033,7 +7033,7 @@ unsafe impl ::windows::core::Interface for CachedFileUpdaterActivatedEventArgs { impl ::windows::core::RuntimeName for CachedFileUpdaterActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.CachedFileUpdaterActivatedEventArgs"; } -::windows::core::interface_hierarchy!(CachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: CachedFileUpdaterActivatedEventArgs) -> ::windows::core::Result { @@ -7145,7 +7145,7 @@ impl ::core::fmt::Debug for CameraSettingsActivatedEventArgs { } } impl ::windows::core::RuntimeType for CameraSettingsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})"); } impl ::core::clone::Clone for CameraSettingsActivatedEventArgs { fn clone(&self) -> Self { @@ -7161,7 +7161,7 @@ unsafe impl ::windows::core::Interface for CameraSettingsActivatedEventArgs { impl ::windows::core::RuntimeName for CameraSettingsActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.CameraSettingsActivatedEventArgs"; } -::windows::core::interface_hierarchy!(CameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: CameraSettingsActivatedEventArgs) -> ::windows::core::Result { @@ -7256,7 +7256,7 @@ impl ::core::fmt::Debug for CommandLineActivatedEventArgs { } } impl ::windows::core::RuntimeType for CommandLineActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})"); } impl ::core::clone::Clone for CommandLineActivatedEventArgs { fn clone(&self) -> Self { @@ -7272,7 +7272,7 @@ unsafe impl ::windows::core::Interface for CommandLineActivatedEventArgs { impl ::windows::core::RuntimeName for CommandLineActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.CommandLineActivatedEventArgs"; } -::windows::core::interface_hierarchy!(CommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: CommandLineActivatedEventArgs) -> ::windows::core::Result { @@ -7383,7 +7383,7 @@ impl ::core::fmt::Debug for CommandLineActivationOperation { } } impl ::windows::core::RuntimeType for CommandLineActivationOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CommandLineActivationOperation;{994b2841-c59e-4f69-bcfd-b61ed4e622eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CommandLineActivationOperation;{994b2841-c59e-4f69-bcfd-b61ed4e622eb})"); } impl ::core::clone::Clone for CommandLineActivationOperation { fn clone(&self) -> Self { @@ -7399,7 +7399,7 @@ unsafe impl ::windows::core::Interface for CommandLineActivationOperation { impl ::windows::core::RuntimeName for CommandLineActivationOperation { const NAME: &'static str = "Windows.ApplicationModel.Activation.CommandLineActivationOperation"; } -::windows::core::interface_hierarchy!(CommandLineActivationOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CommandLineActivationOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CommandLineActivationOperation {} unsafe impl ::core::marker::Sync for CommandLineActivationOperation {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] @@ -7470,7 +7470,7 @@ impl ::core::fmt::Debug for ContactCallActivatedEventArgs { } } impl ::windows::core::RuntimeType for ContactCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})"); } impl ::core::clone::Clone for ContactCallActivatedEventArgs { fn clone(&self) -> Self { @@ -7486,7 +7486,7 @@ unsafe impl ::windows::core::Interface for ContactCallActivatedEventArgs { impl ::windows::core::RuntimeName for ContactCallActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactCallActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ContactCallActivatedEventArgs) -> ::windows::core::Result { @@ -7609,7 +7609,7 @@ impl ::core::fmt::Debug for ContactMapActivatedEventArgs { } } impl ::windows::core::RuntimeType for ContactMapActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})"); } impl ::core::clone::Clone for ContactMapActivatedEventArgs { fn clone(&self) -> Self { @@ -7625,7 +7625,7 @@ unsafe impl ::windows::core::Interface for ContactMapActivatedEventArgs { impl ::windows::core::RuntimeName for ContactMapActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactMapActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ContactMapActivatedEventArgs) -> ::windows::core::Result { @@ -7753,7 +7753,7 @@ impl ::core::fmt::Debug for ContactMessageActivatedEventArgs { } } impl ::windows::core::RuntimeType for ContactMessageActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})"); } impl ::core::clone::Clone for ContactMessageActivatedEventArgs { fn clone(&self) -> Self { @@ -7769,7 +7769,7 @@ unsafe impl ::windows::core::Interface for ContactMessageActivatedEventArgs { impl ::windows::core::RuntimeName for ContactMessageActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ContactMessageActivatedEventArgs) -> ::windows::core::Result { @@ -7894,7 +7894,7 @@ impl ::core::fmt::Debug for ContactPanelActivatedEventArgs { } } impl ::windows::core::RuntimeType for ContactPanelActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})"); } impl ::core::clone::Clone for ContactPanelActivatedEventArgs { fn clone(&self) -> Self { @@ -7910,7 +7910,7 @@ unsafe impl ::windows::core::Interface for ContactPanelActivatedEventArgs { impl ::windows::core::RuntimeName for ContactPanelActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactPanelActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ContactPanelActivatedEventArgs) -> ::windows::core::Result { @@ -8017,7 +8017,7 @@ impl ::core::fmt::Debug for ContactPickerActivatedEventArgs { } } impl ::windows::core::RuntimeType for ContactPickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})"); } impl ::core::clone::Clone for ContactPickerActivatedEventArgs { fn clone(&self) -> Self { @@ -8033,7 +8033,7 @@ unsafe impl ::windows::core::Interface for ContactPickerActivatedEventArgs { impl ::windows::core::RuntimeName for ContactPickerActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactPickerActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ContactPickerActivatedEventArgs) -> ::windows::core::Result { @@ -8142,7 +8142,7 @@ impl ::core::fmt::Debug for ContactPostActivatedEventArgs { } } impl ::windows::core::RuntimeType for ContactPostActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})"); } impl ::core::clone::Clone for ContactPostActivatedEventArgs { fn clone(&self) -> Self { @@ -8158,7 +8158,7 @@ unsafe impl ::windows::core::Interface for ContactPostActivatedEventArgs { impl ::windows::core::RuntimeName for ContactPostActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactPostActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ContactPostActivatedEventArgs) -> ::windows::core::Result { @@ -8286,7 +8286,7 @@ impl ::core::fmt::Debug for ContactVideoCallActivatedEventArgs { } } impl ::windows::core::RuntimeType for ContactVideoCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})"); } impl ::core::clone::Clone for ContactVideoCallActivatedEventArgs { fn clone(&self) -> Self { @@ -8302,7 +8302,7 @@ unsafe impl ::windows::core::Interface for ContactVideoCallActivatedEventArgs { impl ::windows::core::RuntimeName for ContactVideoCallActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ContactVideoCallActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ContactVideoCallActivatedEventArgs) -> ::windows::core::Result { @@ -8439,7 +8439,7 @@ impl ::core::fmt::Debug for DeviceActivatedEventArgs { } } impl ::windows::core::RuntimeType for DeviceActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})"); } impl ::core::clone::Clone for DeviceActivatedEventArgs { fn clone(&self) -> Self { @@ -8455,7 +8455,7 @@ unsafe impl ::windows::core::Interface for DeviceActivatedEventArgs { impl ::windows::core::RuntimeName for DeviceActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.DeviceActivatedEventArgs"; } -::windows::core::interface_hierarchy!(DeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: DeviceActivatedEventArgs) -> ::windows::core::Result { @@ -8609,7 +8609,7 @@ impl ::core::fmt::Debug for DevicePairingActivatedEventArgs { } } impl ::windows::core::RuntimeType for DevicePairingActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})"); } impl ::core::clone::Clone for DevicePairingActivatedEventArgs { fn clone(&self) -> Self { @@ -8625,7 +8625,7 @@ unsafe impl ::windows::core::Interface for DevicePairingActivatedEventArgs { impl ::windows::core::RuntimeName for DevicePairingActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.DevicePairingActivatedEventArgs"; } -::windows::core::interface_hierarchy!(DevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: DevicePairingActivatedEventArgs) -> ::windows::core::Result { @@ -8769,7 +8769,7 @@ impl ::core::fmt::Debug for DialReceiverActivatedEventArgs { } } impl ::windows::core::RuntimeType for DialReceiverActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})"); } impl ::core::clone::Clone for DialReceiverActivatedEventArgs { fn clone(&self) -> Self { @@ -8785,7 +8785,7 @@ unsafe impl ::windows::core::Interface for DialReceiverActivatedEventArgs { impl ::windows::core::RuntimeName for DialReceiverActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.DialReceiverActivatedEventArgs"; } -::windows::core::interface_hierarchy!(DialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: DialReceiverActivatedEventArgs) -> ::windows::core::Result { @@ -8997,7 +8997,7 @@ impl ::core::fmt::Debug for FileActivatedEventArgs { } } impl ::windows::core::RuntimeType for FileActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})"); } impl ::core::clone::Clone for FileActivatedEventArgs { fn clone(&self) -> Self { @@ -9013,7 +9013,7 @@ unsafe impl ::windows::core::Interface for FileActivatedEventArgs { impl ::windows::core::RuntimeName for FileActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.FileActivatedEventArgs"; } -::windows::core::interface_hierarchy!(FileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: FileActivatedEventArgs) -> ::windows::core::Result { @@ -9212,7 +9212,7 @@ impl ::core::fmt::Debug for FileOpenPickerActivatedEventArgs { } } impl ::windows::core::RuntimeType for FileOpenPickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})"); } impl ::core::clone::Clone for FileOpenPickerActivatedEventArgs { fn clone(&self) -> Self { @@ -9228,7 +9228,7 @@ unsafe impl ::windows::core::Interface for FileOpenPickerActivatedEventArgs { impl ::windows::core::RuntimeName for FileOpenPickerActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs"; } -::windows::core::interface_hierarchy!(FileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: FileOpenPickerActivatedEventArgs) -> ::windows::core::Result { @@ -9378,7 +9378,7 @@ impl ::core::fmt::Debug for FileOpenPickerContinuationEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for FileOpenPickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for FileOpenPickerContinuationEventArgs { @@ -9399,7 +9399,7 @@ impl ::windows::core::RuntimeName for FileOpenPickerContinuationEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.FileOpenPickerContinuationEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(FileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; @@ -9562,7 +9562,7 @@ impl ::core::fmt::Debug for FileSavePickerActivatedEventArgs { } } impl ::windows::core::RuntimeType for FileSavePickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})"); } impl ::core::clone::Clone for FileSavePickerActivatedEventArgs { fn clone(&self) -> Self { @@ -9578,7 +9578,7 @@ unsafe impl ::windows::core::Interface for FileSavePickerActivatedEventArgs { impl ::windows::core::RuntimeName for FileSavePickerActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs"; } -::windows::core::interface_hierarchy!(FileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: FileSavePickerActivatedEventArgs) -> ::windows::core::Result { @@ -9728,7 +9728,7 @@ impl ::core::fmt::Debug for FileSavePickerContinuationEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for FileSavePickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for FileSavePickerContinuationEventArgs { @@ -9749,7 +9749,7 @@ impl ::windows::core::RuntimeName for FileSavePickerContinuationEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.FileSavePickerContinuationEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(FileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; @@ -9913,7 +9913,7 @@ impl ::core::fmt::Debug for FolderPickerContinuationEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for FolderPickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for FolderPickerContinuationEventArgs { @@ -9934,7 +9934,7 @@ impl ::windows::core::RuntimeName for FolderPickerContinuationEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.FolderPickerContinuationEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(FolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; @@ -10118,7 +10118,7 @@ impl ::core::fmt::Debug for LaunchActivatedEventArgs { } } impl ::windows::core::RuntimeType for LaunchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})"); } impl ::core::clone::Clone for LaunchActivatedEventArgs { fn clone(&self) -> Self { @@ -10134,7 +10134,7 @@ unsafe impl ::windows::core::Interface for LaunchActivatedEventArgs { impl ::windows::core::RuntimeName for LaunchActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.LaunchActivatedEventArgs"; } -::windows::core::interface_hierarchy!(LaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: LaunchActivatedEventArgs) -> ::windows::core::Result { @@ -10324,7 +10324,7 @@ impl ::core::fmt::Debug for LockScreenActivatedEventArgs { } } impl ::windows::core::RuntimeType for LockScreenActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})"); } impl ::core::clone::Clone for LockScreenActivatedEventArgs { fn clone(&self) -> Self { @@ -10340,7 +10340,7 @@ unsafe impl ::windows::core::Interface for LockScreenActivatedEventArgs { impl ::windows::core::RuntimeName for LockScreenActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.LockScreenActivatedEventArgs"; } -::windows::core::interface_hierarchy!(LockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: LockScreenActivatedEventArgs) -> ::windows::core::Result { @@ -10477,7 +10477,7 @@ impl ::core::fmt::Debug for LockScreenCallActivatedEventArgs { } } impl ::windows::core::RuntimeType for LockScreenCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})"); } impl ::core::clone::Clone for LockScreenCallActivatedEventArgs { fn clone(&self) -> Self { @@ -10493,7 +10493,7 @@ unsafe impl ::windows::core::Interface for LockScreenCallActivatedEventArgs { impl ::windows::core::RuntimeName for LockScreenCallActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.LockScreenCallActivatedEventArgs"; } -::windows::core::interface_hierarchy!(LockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: LockScreenCallActivatedEventArgs) -> ::windows::core::Result { @@ -10629,7 +10629,7 @@ impl ::core::fmt::Debug for LockScreenComponentActivatedEventArgs { } } impl ::windows::core::RuntimeType for LockScreenComponentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); } impl ::core::clone::Clone for LockScreenComponentActivatedEventArgs { fn clone(&self) -> Self { @@ -10645,7 +10645,7 @@ unsafe impl ::windows::core::Interface for LockScreenComponentActivatedEventArgs impl ::windows::core::RuntimeName for LockScreenComponentActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.LockScreenComponentActivatedEventArgs"; } -::windows::core::interface_hierarchy!(LockScreenComponentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenComponentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: LockScreenComponentActivatedEventArgs) -> ::windows::core::Result { @@ -10721,7 +10721,7 @@ impl ::core::fmt::Debug for PhoneCallActivatedEventArgs { } } impl ::windows::core::RuntimeType for PhoneCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})"); } impl ::core::clone::Clone for PhoneCallActivatedEventArgs { fn clone(&self) -> Self { @@ -10737,7 +10737,7 @@ unsafe impl ::windows::core::Interface for PhoneCallActivatedEventArgs { impl ::windows::core::RuntimeName for PhoneCallActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.PhoneCallActivatedEventArgs"; } -::windows::core::interface_hierarchy!(PhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: PhoneCallActivatedEventArgs) -> ::windows::core::Result { @@ -10842,7 +10842,7 @@ impl ::core::fmt::Debug for PickerReturnedActivatedEventArgs { } } impl ::windows::core::RuntimeType for PickerReturnedActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PickerReturnedActivatedEventArgs;{360defb9-a9d3-4984-a4ed-9ec734604921})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PickerReturnedActivatedEventArgs;{360defb9-a9d3-4984-a4ed-9ec734604921})"); } impl ::core::clone::Clone for PickerReturnedActivatedEventArgs { fn clone(&self) -> Self { @@ -10858,7 +10858,7 @@ unsafe impl ::windows::core::Interface for PickerReturnedActivatedEventArgs { impl ::windows::core::RuntimeName for PickerReturnedActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.PickerReturnedActivatedEventArgs"; } -::windows::core::interface_hierarchy!(PickerReturnedActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PickerReturnedActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: PickerReturnedActivatedEventArgs) -> ::windows::core::Result { @@ -10946,7 +10946,7 @@ impl ::core::fmt::Debug for Print3DWorkflowActivatedEventArgs { } } impl ::windows::core::RuntimeType for Print3DWorkflowActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.Print3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.Print3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})"); } impl ::core::clone::Clone for Print3DWorkflowActivatedEventArgs { fn clone(&self) -> Self { @@ -10962,7 +10962,7 @@ unsafe impl ::windows::core::Interface for Print3DWorkflowActivatedEventArgs { impl ::windows::core::RuntimeName for Print3DWorkflowActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.Print3DWorkflowActivatedEventArgs"; } -::windows::core::interface_hierarchy!(Print3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: Print3DWorkflowActivatedEventArgs) -> ::windows::core::Result { @@ -11050,7 +11050,7 @@ impl ::core::fmt::Debug for PrintTaskSettingsActivatedEventArgs { } } impl ::windows::core::RuntimeType for PrintTaskSettingsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})"); } impl ::core::clone::Clone for PrintTaskSettingsActivatedEventArgs { fn clone(&self) -> Self { @@ -11066,7 +11066,7 @@ unsafe impl ::windows::core::Interface for PrintTaskSettingsActivatedEventArgs { impl ::windows::core::RuntimeName for PrintTaskSettingsActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.PrintTaskSettingsActivatedEventArgs"; } -::windows::core::interface_hierarchy!(PrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: PrintTaskSettingsActivatedEventArgs) -> ::windows::core::Result { @@ -11195,7 +11195,7 @@ impl ::core::fmt::Debug for ProtocolActivatedEventArgs { } } impl ::windows::core::RuntimeType for ProtocolActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})"); } impl ::core::clone::Clone for ProtocolActivatedEventArgs { fn clone(&self) -> Self { @@ -11211,7 +11211,7 @@ unsafe impl ::windows::core::Interface for ProtocolActivatedEventArgs { impl ::windows::core::RuntimeName for ProtocolActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ProtocolActivatedEventArgs) -> ::windows::core::Result { @@ -11425,7 +11425,7 @@ impl ::core::fmt::Debug for ProtocolForResultsActivatedEventArgs { } } impl ::windows::core::RuntimeType for ProtocolForResultsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})"); } impl ::core::clone::Clone for ProtocolForResultsActivatedEventArgs { fn clone(&self) -> Self { @@ -11441,7 +11441,7 @@ unsafe impl ::windows::core::Interface for ProtocolForResultsActivatedEventArgs impl ::windows::core::RuntimeName for ProtocolForResultsActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ProtocolForResultsActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ProtocolForResultsActivatedEventArgs) -> ::windows::core::Result { @@ -11631,7 +11631,7 @@ impl ::core::fmt::Debug for RestrictedLaunchActivatedEventArgs { } } impl ::windows::core::RuntimeType for RestrictedLaunchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.RestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.RestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})"); } impl ::core::clone::Clone for RestrictedLaunchActivatedEventArgs { fn clone(&self) -> Self { @@ -11647,7 +11647,7 @@ unsafe impl ::windows::core::Interface for RestrictedLaunchActivatedEventArgs { impl ::windows::core::RuntimeName for RestrictedLaunchActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.RestrictedLaunchActivatedEventArgs"; } -::windows::core::interface_hierarchy!(RestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: RestrictedLaunchActivatedEventArgs) -> ::windows::core::Result { @@ -11793,7 +11793,7 @@ impl ::core::fmt::Debug for SearchActivatedEventArgs { } } impl ::windows::core::RuntimeType for SearchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.SearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.SearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})"); } impl ::core::clone::Clone for SearchActivatedEventArgs { fn clone(&self) -> Self { @@ -11809,7 +11809,7 @@ unsafe impl ::windows::core::Interface for SearchActivatedEventArgs { impl ::windows::core::RuntimeName for SearchActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.SearchActivatedEventArgs"; } -::windows::core::interface_hierarchy!(SearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: SearchActivatedEventArgs) -> ::windows::core::Result { @@ -11982,7 +11982,7 @@ impl ::core::fmt::Debug for ShareTargetActivatedEventArgs { } } impl ::windows::core::RuntimeType for ShareTargetActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})"); } impl ::core::clone::Clone for ShareTargetActivatedEventArgs { fn clone(&self) -> Self { @@ -11998,7 +11998,7 @@ unsafe impl ::windows::core::Interface for ShareTargetActivatedEventArgs { impl ::windows::core::RuntimeName for ShareTargetActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ShareTargetActivatedEventArgs) -> ::windows::core::Result { @@ -12099,7 +12099,7 @@ impl ::core::fmt::Debug for SplashScreen { } } impl ::windows::core::RuntimeType for SplashScreen { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.SplashScreen;{ca4d975c-d4d6-43f0-97c0-0833c6391c24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.SplashScreen;{ca4d975c-d4d6-43f0-97c0-0833c6391c24})"); } impl ::core::clone::Clone for SplashScreen { fn clone(&self) -> Self { @@ -12115,7 +12115,7 @@ unsafe impl ::windows::core::Interface for SplashScreen { impl ::windows::core::RuntimeName for SplashScreen { const NAME: &'static str = "Windows.ApplicationModel.Activation.SplashScreen"; } -::windows::core::interface_hierarchy!(SplashScreen, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SplashScreen, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] pub struct StartupTaskActivatedEventArgs(::windows::core::IUnknown); @@ -12170,7 +12170,7 @@ impl ::core::fmt::Debug for StartupTaskActivatedEventArgs { } } impl ::windows::core::RuntimeType for StartupTaskActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.StartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.StartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})"); } impl ::core::clone::Clone for StartupTaskActivatedEventArgs { fn clone(&self) -> Self { @@ -12186,7 +12186,7 @@ unsafe impl ::windows::core::Interface for StartupTaskActivatedEventArgs { impl ::windows::core::RuntimeName for StartupTaskActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.StartupTaskActivatedEventArgs"; } -::windows::core::interface_hierarchy!(StartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: StartupTaskActivatedEventArgs) -> ::windows::core::Result { @@ -12272,7 +12272,7 @@ impl ::core::fmt::Debug for TileActivatedInfo { } } impl ::windows::core::RuntimeType for TileActivatedInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.TileActivatedInfo;{80e4a3b1-3980-4f17-b738-89194e0b8f65})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.TileActivatedInfo;{80e4a3b1-3980-4f17-b738-89194e0b8f65})"); } impl ::core::clone::Clone for TileActivatedInfo { fn clone(&self) -> Self { @@ -12288,7 +12288,7 @@ unsafe impl ::windows::core::Interface for TileActivatedInfo { impl ::windows::core::RuntimeName for TileActivatedInfo { const NAME: &'static str = "Windows.ApplicationModel.Activation.TileActivatedInfo"; } -::windows::core::interface_hierarchy!(TileActivatedInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TileActivatedInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TileActivatedInfo {} unsafe impl ::core::marker::Sync for TileActivatedInfo {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] @@ -12361,7 +12361,7 @@ impl ::core::fmt::Debug for ToastNotificationActivatedEventArgs { } } impl ::windows::core::RuntimeType for ToastNotificationActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})"); } impl ::core::clone::Clone for ToastNotificationActivatedEventArgs { fn clone(&self) -> Self { @@ -12377,7 +12377,7 @@ unsafe impl ::windows::core::Interface for ToastNotificationActivatedEventArgs { impl ::windows::core::RuntimeName for ToastNotificationActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.ToastNotificationActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: ToastNotificationActivatedEventArgs) -> ::windows::core::Result { @@ -12503,7 +12503,7 @@ impl ::core::fmt::Debug for UserDataAccountProviderActivatedEventArgs { } } impl ::windows::core::RuntimeType for UserDataAccountProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.UserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.UserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})"); } impl ::core::clone::Clone for UserDataAccountProviderActivatedEventArgs { fn clone(&self) -> Self { @@ -12519,7 +12519,7 @@ unsafe impl ::windows::core::Interface for UserDataAccountProviderActivatedEvent impl ::windows::core::RuntimeName for UserDataAccountProviderActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.UserDataAccountProviderActivatedEventArgs"; } -::windows::core::interface_hierarchy!(UserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: UserDataAccountProviderActivatedEventArgs) -> ::windows::core::Result { @@ -12616,7 +12616,7 @@ impl ::core::fmt::Debug for VoiceCommandActivatedEventArgs { } } impl ::windows::core::RuntimeType for VoiceCommandActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})"); } impl ::core::clone::Clone for VoiceCommandActivatedEventArgs { fn clone(&self) -> Self { @@ -12632,7 +12632,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandActivatedEventArgs { impl ::windows::core::RuntimeName for VoiceCommandActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs"; } -::windows::core::interface_hierarchy!(VoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: VoiceCommandActivatedEventArgs) -> ::windows::core::Result { @@ -12763,7 +12763,7 @@ impl ::core::fmt::Debug for WalletActionActivatedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletActionActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletActionActivatedEventArgs { @@ -12784,7 +12784,7 @@ impl ::windows::core::RuntimeName for WalletActionActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.WalletActionActivatedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; @@ -12889,7 +12889,7 @@ impl ::core::fmt::Debug for WebAccountProviderActivatedEventArgs { } } impl ::windows::core::RuntimeType for WebAccountProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})"); } impl ::core::clone::Clone for WebAccountProviderActivatedEventArgs { fn clone(&self) -> Self { @@ -12905,7 +12905,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderActivatedEventArgs impl ::windows::core::RuntimeName for WebAccountProviderActivatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.WebAccountProviderActivatedEventArgs"; } -::windows::core::interface_hierarchy!(WebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderActivatedEventArgs) -> ::windows::core::Result { @@ -13021,7 +13021,7 @@ impl ::core::fmt::Debug for WebAuthenticationBrokerContinuationEventArgs { } } impl ::windows::core::RuntimeType for WebAuthenticationBrokerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})"); } impl ::core::clone::Clone for WebAuthenticationBrokerContinuationEventArgs { fn clone(&self) -> Self { @@ -13037,7 +13037,7 @@ unsafe impl ::windows::core::Interface for WebAuthenticationBrokerContinuationEv impl ::windows::core::RuntimeName for WebAuthenticationBrokerContinuationEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Activation.WebAuthenticationBrokerContinuationEventArgs"; } -::windows::core::interface_hierarchy!(WebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IActivatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: WebAuthenticationBrokerContinuationEventArgs) -> ::windows::core::Result { @@ -13167,7 +13167,7 @@ impl ::core::fmt::Debug for ActivationKind { } } impl ::windows::core::RuntimeType for ActivationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Activation.ActivationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Activation.ActivationKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] @@ -13200,7 +13200,7 @@ impl ::core::fmt::Debug for ApplicationExecutionState { } } impl ::windows::core::RuntimeType for ApplicationExecutionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Activation.ApplicationExecutionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Activation.ApplicationExecutionState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs index 86f8eb4457..e183acff75 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs @@ -327,7 +327,7 @@ impl ::core::fmt::Debug for AppExtension { } } impl ::windows::core::RuntimeType for AppExtension { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtension;{8450902c-15ed-4faf-93ea-2237bbf8cbd6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtension;{8450902c-15ed-4faf-93ea-2237bbf8cbd6})"); } impl ::core::clone::Clone for AppExtension { fn clone(&self) -> Self { @@ -343,7 +343,7 @@ unsafe impl ::windows::core::Interface for AppExtension { impl ::windows::core::RuntimeName for AppExtension { const NAME: &'static str = "Windows.ApplicationModel.AppExtensions.AppExtension"; } -::windows::core::interface_hierarchy!(AppExtension, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppExtension, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppExtension {} unsafe impl ::core::marker::Sync for AppExtension {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] @@ -451,7 +451,7 @@ impl AppExtensionCatalog { } #[doc(hidden)] pub fn IAppExtensionCatalogStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -467,7 +467,7 @@ impl ::core::fmt::Debug for AppExtensionCatalog { } } impl ::windows::core::RuntimeType for AppExtensionCatalog { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionCatalog;{97872032-8426-4ad1-9084-92e88c2da200})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionCatalog;{97872032-8426-4ad1-9084-92e88c2da200})"); } impl ::core::clone::Clone for AppExtensionCatalog { fn clone(&self) -> Self { @@ -483,7 +483,7 @@ unsafe impl ::windows::core::Interface for AppExtensionCatalog { impl ::windows::core::RuntimeName for AppExtensionCatalog { const NAME: &'static str = "Windows.ApplicationModel.AppExtensions.AppExtensionCatalog"; } -::windows::core::interface_hierarchy!(AppExtensionCatalog, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppExtensionCatalog, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] #[repr(transparent)] pub struct AppExtensionPackageInstalledEventArgs(::windows::core::IUnknown); @@ -524,7 +524,7 @@ impl ::core::fmt::Debug for AppExtensionPackageInstalledEventArgs { } } impl ::windows::core::RuntimeType for AppExtensionPackageInstalledEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs;{39e59234-3351-4a8d-9745-e7d3dd45bc48})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs;{39e59234-3351-4a8d-9745-e7d3dd45bc48})"); } impl ::core::clone::Clone for AppExtensionPackageInstalledEventArgs { fn clone(&self) -> Self { @@ -540,7 +540,7 @@ unsafe impl ::windows::core::Interface for AppExtensionPackageInstalledEventArgs impl ::windows::core::RuntimeName for AppExtensionPackageInstalledEventArgs { const NAME: &'static str = "Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs"; } -::windows::core::interface_hierarchy!(AppExtensionPackageInstalledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppExtensionPackageInstalledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppExtensionPackageInstalledEventArgs {} unsafe impl ::core::marker::Sync for AppExtensionPackageInstalledEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] @@ -574,7 +574,7 @@ impl ::core::fmt::Debug for AppExtensionPackageStatusChangedEventArgs { } } impl ::windows::core::RuntimeType for AppExtensionPackageStatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs;{1ce17433-1153-44fd-87b1-8ae1050303df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs;{1ce17433-1153-44fd-87b1-8ae1050303df})"); } impl ::core::clone::Clone for AppExtensionPackageStatusChangedEventArgs { fn clone(&self) -> Self { @@ -590,7 +590,7 @@ unsafe impl ::windows::core::Interface for AppExtensionPackageStatusChangedEvent impl ::windows::core::RuntimeName for AppExtensionPackageStatusChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppExtensionPackageStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppExtensionPackageStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppExtensionPackageStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for AppExtensionPackageStatusChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] @@ -624,7 +624,7 @@ impl ::core::fmt::Debug for AppExtensionPackageUninstallingEventArgs { } } impl ::windows::core::RuntimeType for AppExtensionPackageUninstallingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs;{60f160c5-171e-40ff-ae98-ab2c20dd4d75})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs;{60f160c5-171e-40ff-ae98-ab2c20dd4d75})"); } impl ::core::clone::Clone for AppExtensionPackageUninstallingEventArgs { fn clone(&self) -> Self { @@ -640,7 +640,7 @@ unsafe impl ::windows::core::Interface for AppExtensionPackageUninstallingEventA impl ::windows::core::RuntimeName for AppExtensionPackageUninstallingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs"; } -::windows::core::interface_hierarchy!(AppExtensionPackageUninstallingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppExtensionPackageUninstallingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppExtensionPackageUninstallingEventArgs {} unsafe impl ::core::marker::Sync for AppExtensionPackageUninstallingEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] @@ -683,7 +683,7 @@ impl ::core::fmt::Debug for AppExtensionPackageUpdatedEventArgs { } } impl ::windows::core::RuntimeType for AppExtensionPackageUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs;{3a83c43f-797e-44b5-ba24-a4c8b5a543d7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs;{3a83c43f-797e-44b5-ba24-a4c8b5a543d7})"); } impl ::core::clone::Clone for AppExtensionPackageUpdatedEventArgs { fn clone(&self) -> Self { @@ -699,7 +699,7 @@ unsafe impl ::windows::core::Interface for AppExtensionPackageUpdatedEventArgs { impl ::windows::core::RuntimeName for AppExtensionPackageUpdatedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(AppExtensionPackageUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppExtensionPackageUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppExtensionPackageUpdatedEventArgs {} unsafe impl ::core::marker::Sync for AppExtensionPackageUpdatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] @@ -733,7 +733,7 @@ impl ::core::fmt::Debug for AppExtensionPackageUpdatingEventArgs { } } impl ::windows::core::RuntimeType for AppExtensionPackageUpdatingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs;{7ed59329-1a65-4800-a700-b321009e306a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs;{7ed59329-1a65-4800-a700-b321009e306a})"); } impl ::core::clone::Clone for AppExtensionPackageUpdatingEventArgs { fn clone(&self) -> Self { @@ -749,7 +749,7 @@ unsafe impl ::windows::core::Interface for AppExtensionPackageUpdatingEventArgs impl ::windows::core::RuntimeName for AppExtensionPackageUpdatingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs"; } -::windows::core::interface_hierarchy!(AppExtensionPackageUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppExtensionPackageUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppExtensionPackageUpdatingEventArgs {} unsafe impl ::core::marker::Sync for AppExtensionPackageUpdatingEventArgs {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs index f9a9c68623..b7be7343a3 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs @@ -356,7 +356,7 @@ impl AppServiceCatalog { } #[doc(hidden)] pub fn IAppServiceCatalogStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -387,7 +387,7 @@ impl ::core::fmt::Debug for AppServiceClosedEventArgs { } } impl ::windows::core::RuntimeType for AppServiceClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceClosedEventArgs;{de6016f6-cb03-4d35-ac8d-cc6303239731})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceClosedEventArgs;{de6016f6-cb03-4d35-ac8d-cc6303239731})"); } impl ::core::clone::Clone for AppServiceClosedEventArgs { fn clone(&self) -> Self { @@ -403,7 +403,7 @@ unsafe impl ::windows::core::Interface for AppServiceClosedEventArgs { impl ::windows::core::RuntimeName for AppServiceClosedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.AppService.AppServiceClosedEventArgs"; } -::windows::core::interface_hierarchy!(AppServiceClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppServiceClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppServiceClosedEventArgs {} unsafe impl ::core::marker::Sync for AppServiceClosedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] @@ -413,8 +413,8 @@ impl AppServiceConnection { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AppServiceName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -527,7 +527,7 @@ impl AppServiceConnection { } #[doc(hidden)] pub fn IAppServiceConnectionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -543,7 +543,7 @@ impl ::core::fmt::Debug for AppServiceConnection { } } impl ::windows::core::RuntimeType for AppServiceConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceConnection;{9dd474a2-871f-4d52-89a9-9e090531bd27})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceConnection;{9dd474a2-871f-4d52-89a9-9e090531bd27})"); } impl ::core::clone::Clone for AppServiceConnection { fn clone(&self) -> Self { @@ -559,7 +559,7 @@ unsafe impl ::windows::core::Interface for AppServiceConnection { impl ::windows::core::RuntimeName for AppServiceConnection { const NAME: &'static str = "Windows.ApplicationModel.AppService.AppServiceConnection"; } -::windows::core::interface_hierarchy!(AppServiceConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppServiceConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -605,7 +605,7 @@ impl ::core::fmt::Debug for AppServiceDeferral { } } impl ::windows::core::RuntimeType for AppServiceDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceDeferral;{7e1b5322-eab0-4248-ae04-fdf93838e472})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceDeferral;{7e1b5322-eab0-4248-ae04-fdf93838e472})"); } impl ::core::clone::Clone for AppServiceDeferral { fn clone(&self) -> Self { @@ -621,7 +621,7 @@ unsafe impl ::windows::core::Interface for AppServiceDeferral { impl ::windows::core::RuntimeName for AppServiceDeferral { const NAME: &'static str = "Windows.ApplicationModel.AppService.AppServiceDeferral"; } -::windows::core::interface_hierarchy!(AppServiceDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppServiceDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppServiceDeferral {} unsafe impl ::core::marker::Sync for AppServiceDeferral {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] @@ -659,7 +659,7 @@ impl ::core::fmt::Debug for AppServiceRequest { } } impl ::windows::core::RuntimeType for AppServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceRequest;{20e58d9d-18de-4b01-80ba-90a76204e3c8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceRequest;{20e58d9d-18de-4b01-80ba-90a76204e3c8})"); } impl ::core::clone::Clone for AppServiceRequest { fn clone(&self) -> Self { @@ -675,7 +675,7 @@ unsafe impl ::windows::core::Interface for AppServiceRequest { impl ::windows::core::RuntimeName for AppServiceRequest { const NAME: &'static str = "Windows.ApplicationModel.AppService.AppServiceRequest"; } -::windows::core::interface_hierarchy!(AppServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppServiceRequest {} unsafe impl ::core::marker::Sync for AppServiceRequest {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] @@ -709,7 +709,7 @@ impl ::core::fmt::Debug for AppServiceRequestReceivedEventArgs { } } impl ::windows::core::RuntimeType for AppServiceRequestReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs;{6e122360-ff65-44ae-9e45-857fe4180681})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs;{6e122360-ff65-44ae-9e45-857fe4180681})"); } impl ::core::clone::Clone for AppServiceRequestReceivedEventArgs { fn clone(&self) -> Self { @@ -725,7 +725,7 @@ unsafe impl ::windows::core::Interface for AppServiceRequestReceivedEventArgs { impl ::windows::core::RuntimeName for AppServiceRequestReceivedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs"; } -::windows::core::interface_hierarchy!(AppServiceRequestReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppServiceRequestReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppServiceRequestReceivedEventArgs {} unsafe impl ::core::marker::Sync for AppServiceRequestReceivedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] @@ -761,7 +761,7 @@ impl ::core::fmt::Debug for AppServiceResponse { } } impl ::windows::core::RuntimeType for AppServiceResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceResponse;{8d503cec-9aa3-4e68-9559-9de63e372ce4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceResponse;{8d503cec-9aa3-4e68-9559-9de63e372ce4})"); } impl ::core::clone::Clone for AppServiceResponse { fn clone(&self) -> Self { @@ -777,7 +777,7 @@ unsafe impl ::windows::core::Interface for AppServiceResponse { impl ::windows::core::RuntimeName for AppServiceResponse { const NAME: &'static str = "Windows.ApplicationModel.AppService.AppServiceResponse"; } -::windows::core::interface_hierarchy!(AppServiceResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppServiceResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppServiceResponse {} unsafe impl ::core::marker::Sync for AppServiceResponse {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] @@ -841,7 +841,7 @@ impl ::core::fmt::Debug for AppServiceTriggerDetails { } } impl ::windows::core::RuntimeType for AppServiceTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceTriggerDetails;{88a2dcac-ad28-41b8-80bb-bdf1b2169e19})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceTriggerDetails;{88a2dcac-ad28-41b8-80bb-bdf1b2169e19})"); } impl ::core::clone::Clone for AppServiceTriggerDetails { fn clone(&self) -> Self { @@ -857,7 +857,7 @@ unsafe impl ::windows::core::Interface for AppServiceTriggerDetails { impl ::windows::core::RuntimeName for AppServiceTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.AppService.AppServiceTriggerDetails"; } -::windows::core::interface_hierarchy!(AppServiceTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppServiceTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppServiceTriggerDetails {} unsafe impl ::core::marker::Sync for AppServiceTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] @@ -893,7 +893,7 @@ impl ::core::fmt::Debug for StatelessAppServiceResponse { } } impl ::windows::core::RuntimeType for StatelessAppServiceResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.StatelessAppServiceResponse;{43754af7-a9ec-52fe-82e7-939b68dc9388})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.StatelessAppServiceResponse;{43754af7-a9ec-52fe-82e7-939b68dc9388})"); } impl ::core::clone::Clone for StatelessAppServiceResponse { fn clone(&self) -> Self { @@ -909,7 +909,7 @@ unsafe impl ::windows::core::Interface for StatelessAppServiceResponse { impl ::windows::core::RuntimeName for StatelessAppServiceResponse { const NAME: &'static str = "Windows.ApplicationModel.AppService.StatelessAppServiceResponse"; } -::windows::core::interface_hierarchy!(StatelessAppServiceResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StatelessAppServiceResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StatelessAppServiceResponse {} unsafe impl ::core::marker::Sync for StatelessAppServiceResponse {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] @@ -942,7 +942,7 @@ impl ::core::fmt::Debug for AppServiceClosedStatus { } } impl ::windows::core::RuntimeType for AppServiceClosedStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceClosedStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceClosedStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] @@ -982,7 +982,7 @@ impl ::core::fmt::Debug for AppServiceConnectionStatus { } } impl ::windows::core::RuntimeType for AppServiceConnectionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceConnectionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceConnectionStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] @@ -1021,7 +1021,7 @@ impl ::core::fmt::Debug for AppServiceResponseStatus { } } impl ::windows::core::RuntimeType for AppServiceResponseStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceResponseStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceResponseStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] @@ -1064,7 +1064,7 @@ impl ::core::fmt::Debug for StatelessAppServiceResponseStatus { } } impl ::windows::core::RuntimeType for StatelessAppServiceResponseStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.StatelessAppServiceResponseStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.StatelessAppServiceResponseStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs index e249c919c8..cfaa53fac4 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs @@ -172,7 +172,7 @@ impl ::core::fmt::Debug for AddAppointmentOperation { } } impl ::windows::core::RuntimeType for AddAppointmentOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation;{ec4a9af3-620d-4c69-add7-9794e918081f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation;{ec4a9af3-620d-4c69-add7-9794e918081f})"); } impl ::core::clone::Clone for AddAppointmentOperation { fn clone(&self) -> Self { @@ -188,7 +188,7 @@ unsafe impl ::windows::core::Interface for AddAppointmentOperation { impl ::windows::core::RuntimeName for AddAppointmentOperation { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation"; } -::windows::core::interface_hierarchy!(AddAppointmentOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AddAppointmentOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AddAppointmentOperation {} unsafe impl ::core::marker::Sync for AddAppointmentOperation {} #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] @@ -226,12 +226,12 @@ impl AppointmentsProviderLaunchActionVerbs { } #[doc(hidden)] pub fn IAppointmentsProviderLaunchActionVerbsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAppointmentsProviderLaunchActionVerbsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -294,7 +294,7 @@ impl ::core::fmt::Debug for RemoveAppointmentOperation { } } impl ::windows::core::RuntimeType for RemoveAppointmentOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation;{08b66aba-fe33-46cd-a50c-a8ffb3260537})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation;{08b66aba-fe33-46cd-a50c-a8ffb3260537})"); } impl ::core::clone::Clone for RemoveAppointmentOperation { fn clone(&self) -> Self { @@ -310,7 +310,7 @@ unsafe impl ::windows::core::Interface for RemoveAppointmentOperation { impl ::windows::core::RuntimeName for RemoveAppointmentOperation { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation"; } -::windows::core::interface_hierarchy!(RemoveAppointmentOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoveAppointmentOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoveAppointmentOperation {} unsafe impl ::core::marker::Sync for RemoveAppointmentOperation {} #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] @@ -376,7 +376,7 @@ impl ::core::fmt::Debug for ReplaceAppointmentOperation { } } impl ::windows::core::RuntimeType for ReplaceAppointmentOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation;{f4903d9b-9e61-4de2-a732-2687c07d1de8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation;{f4903d9b-9e61-4de2-a732-2687c07d1de8})"); } impl ::core::clone::Clone for ReplaceAppointmentOperation { fn clone(&self) -> Self { @@ -392,7 +392,7 @@ unsafe impl ::windows::core::Interface for ReplaceAppointmentOperation { impl ::windows::core::RuntimeName for ReplaceAppointmentOperation { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation"; } -::windows::core::interface_hierarchy!(ReplaceAppointmentOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ReplaceAppointmentOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ReplaceAppointmentOperation {} unsafe impl ::core::marker::Sync for ReplaceAppointmentOperation {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs index 7f527f67ec..6f8a6544e9 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs @@ -527,7 +527,7 @@ impl ::core::fmt::Debug for AppointmentCalendarCancelMeetingRequest { } } impl ::windows::core::RuntimeType for AppointmentCalendarCancelMeetingRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCancelMeetingRequest;{49460f8d-6434-40d7-ad46-6297419314d1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCancelMeetingRequest;{49460f8d-6434-40d7-ad46-6297419314d1})"); } impl ::core::clone::Clone for AppointmentCalendarCancelMeetingRequest { fn clone(&self) -> Self { @@ -543,7 +543,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarCancelMeetingReque impl ::windows::core::RuntimeName for AppointmentCalendarCancelMeetingRequest { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCancelMeetingRequest"; } -::windows::core::interface_hierarchy!(AppointmentCalendarCancelMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarCancelMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarCancelMeetingRequest {} unsafe impl ::core::marker::Sync for AppointmentCalendarCancelMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -579,7 +579,7 @@ impl ::core::fmt::Debug for AppointmentCalendarCancelMeetingRequestEventArgs { } } impl ::windows::core::RuntimeType for AppointmentCalendarCancelMeetingRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCancelMeetingRequestEventArgs;{1a79be16-7f30-4e35-beef-9d2c7b6dcae1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCancelMeetingRequestEventArgs;{1a79be16-7f30-4e35-beef-9d2c7b6dcae1})"); } impl ::core::clone::Clone for AppointmentCalendarCancelMeetingRequestEventArgs { fn clone(&self) -> Self { @@ -595,7 +595,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarCancelMeetingReque impl ::windows::core::RuntimeName for AppointmentCalendarCancelMeetingRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCancelMeetingRequestEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentCalendarCancelMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarCancelMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarCancelMeetingRequestEventArgs {} unsafe impl ::core::marker::Sync for AppointmentCalendarCancelMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -663,7 +663,7 @@ impl ::core::fmt::Debug for AppointmentCalendarCreateOrUpdateAppointmentRequest } } impl ::windows::core::RuntimeType for AppointmentCalendarCreateOrUpdateAppointmentRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCreateOrUpdateAppointmentRequest;{2e62f2b2-ca96-48ac-9124-406b19fefa70})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCreateOrUpdateAppointmentRequest;{2e62f2b2-ca96-48ac-9124-406b19fefa70})"); } impl ::core::clone::Clone for AppointmentCalendarCreateOrUpdateAppointmentRequest { fn clone(&self) -> Self { @@ -679,7 +679,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarCreateOrUpdateAppo impl ::windows::core::RuntimeName for AppointmentCalendarCreateOrUpdateAppointmentRequest { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCreateOrUpdateAppointmentRequest"; } -::windows::core::interface_hierarchy!(AppointmentCalendarCreateOrUpdateAppointmentRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarCreateOrUpdateAppointmentRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarCreateOrUpdateAppointmentRequest {} unsafe impl ::core::marker::Sync for AppointmentCalendarCreateOrUpdateAppointmentRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -715,7 +715,7 @@ impl ::core::fmt::Debug for AppointmentCalendarCreateOrUpdateAppointmentRequestE } } impl ::windows::core::RuntimeType for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs;{cf8ded28-002e-4bf7-8e9d-5e20d49aa3ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs;{cf8ded28-002e-4bf7-8e9d-5e20d49aa3ba})"); } impl ::core::clone::Clone for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { fn clone(&self) -> Self { @@ -731,7 +731,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarCreateOrUpdateAppo impl ::windows::core::RuntimeName for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs {} unsafe impl ::core::marker::Sync for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -822,7 +822,7 @@ impl ::core::fmt::Debug for AppointmentCalendarForwardMeetingRequest { } } impl ::windows::core::RuntimeType for AppointmentCalendarForwardMeetingRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarForwardMeetingRequest;{82e5ee56-26b6-4253-8a8f-6cf5f2ff7884})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarForwardMeetingRequest;{82e5ee56-26b6-4253-8a8f-6cf5f2ff7884})"); } impl ::core::clone::Clone for AppointmentCalendarForwardMeetingRequest { fn clone(&self) -> Self { @@ -838,7 +838,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarForwardMeetingRequ impl ::windows::core::RuntimeName for AppointmentCalendarForwardMeetingRequest { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarForwardMeetingRequest"; } -::windows::core::interface_hierarchy!(AppointmentCalendarForwardMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarForwardMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarForwardMeetingRequest {} unsafe impl ::core::marker::Sync for AppointmentCalendarForwardMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -874,7 +874,7 @@ impl ::core::fmt::Debug for AppointmentCalendarForwardMeetingRequestEventArgs { } } impl ::windows::core::RuntimeType for AppointmentCalendarForwardMeetingRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarForwardMeetingRequestEventArgs;{3109151a-23a2-42fd-9c82-c9a60d59f8a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarForwardMeetingRequestEventArgs;{3109151a-23a2-42fd-9c82-c9a60d59f8a8})"); } impl ::core::clone::Clone for AppointmentCalendarForwardMeetingRequestEventArgs { fn clone(&self) -> Self { @@ -890,7 +890,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarForwardMeetingRequ impl ::windows::core::RuntimeName for AppointmentCalendarForwardMeetingRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarForwardMeetingRequestEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentCalendarForwardMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarForwardMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarForwardMeetingRequestEventArgs {} unsafe impl ::core::marker::Sync for AppointmentCalendarForwardMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -983,7 +983,7 @@ impl ::core::fmt::Debug for AppointmentCalendarProposeNewTimeForMeetingRequest { } } impl ::windows::core::RuntimeType for AppointmentCalendarProposeNewTimeForMeetingRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarProposeNewTimeForMeetingRequest;{ce1c63f5-edf6-43c3-82b7-be6b368c6900})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarProposeNewTimeForMeetingRequest;{ce1c63f5-edf6-43c3-82b7-be6b368c6900})"); } impl ::core::clone::Clone for AppointmentCalendarProposeNewTimeForMeetingRequest { fn clone(&self) -> Self { @@ -999,7 +999,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarProposeNewTimeForM impl ::windows::core::RuntimeName for AppointmentCalendarProposeNewTimeForMeetingRequest { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarProposeNewTimeForMeetingRequest"; } -::windows::core::interface_hierarchy!(AppointmentCalendarProposeNewTimeForMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarProposeNewTimeForMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarProposeNewTimeForMeetingRequest {} unsafe impl ::core::marker::Sync for AppointmentCalendarProposeNewTimeForMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -1035,7 +1035,7 @@ impl ::core::fmt::Debug for AppointmentCalendarProposeNewTimeForMeetingRequestEv } } impl ::windows::core::RuntimeType for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs;{d2d777d8-fed1-4280-a3ba-2e1f47609aa2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs;{d2d777d8-fed1-4280-a3ba-2e1f47609aa2})"); } impl ::core::clone::Clone for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { fn clone(&self) -> Self { @@ -1051,7 +1051,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarProposeNewTimeForM impl ::windows::core::RuntimeName for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs {} unsafe impl ::core::marker::Sync for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -1096,7 +1096,7 @@ impl ::core::fmt::Debug for AppointmentCalendarSyncManagerSyncRequest { } } impl ::windows::core::RuntimeType for AppointmentCalendarSyncManagerSyncRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarSyncManagerSyncRequest;{12ab382b-7163-4a56-9a4e-7223a84adf46})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarSyncManagerSyncRequest;{12ab382b-7163-4a56-9a4e-7223a84adf46})"); } impl ::core::clone::Clone for AppointmentCalendarSyncManagerSyncRequest { fn clone(&self) -> Self { @@ -1112,7 +1112,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarSyncManagerSyncReq impl ::windows::core::RuntimeName for AppointmentCalendarSyncManagerSyncRequest { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarSyncManagerSyncRequest"; } -::windows::core::interface_hierarchy!(AppointmentCalendarSyncManagerSyncRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarSyncManagerSyncRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarSyncManagerSyncRequest {} unsafe impl ::core::marker::Sync for AppointmentCalendarSyncManagerSyncRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -1148,7 +1148,7 @@ impl ::core::fmt::Debug for AppointmentCalendarSyncManagerSyncRequestEventArgs { } } impl ::windows::core::RuntimeType for AppointmentCalendarSyncManagerSyncRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarSyncManagerSyncRequestEventArgs;{ca17c6f7-0284-4edd-87ba-4d8f69dcf5c0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarSyncManagerSyncRequestEventArgs;{ca17c6f7-0284-4edd-87ba-4d8f69dcf5c0})"); } impl ::core::clone::Clone for AppointmentCalendarSyncManagerSyncRequestEventArgs { fn clone(&self) -> Self { @@ -1164,7 +1164,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarSyncManagerSyncReq impl ::windows::core::RuntimeName for AppointmentCalendarSyncManagerSyncRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarSyncManagerSyncRequestEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentCalendarSyncManagerSyncRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarSyncManagerSyncRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarSyncManagerSyncRequestEventArgs {} unsafe impl ::core::marker::Sync for AppointmentCalendarSyncManagerSyncRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -1253,7 +1253,7 @@ impl ::core::fmt::Debug for AppointmentCalendarUpdateMeetingResponseRequest { } } impl ::windows::core::RuntimeType for AppointmentCalendarUpdateMeetingResponseRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarUpdateMeetingResponseRequest;{a36d608c-c29d-4b94-b086-7e9ff7bd84a0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarUpdateMeetingResponseRequest;{a36d608c-c29d-4b94-b086-7e9ff7bd84a0})"); } impl ::core::clone::Clone for AppointmentCalendarUpdateMeetingResponseRequest { fn clone(&self) -> Self { @@ -1269,7 +1269,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarUpdateMeetingRespo impl ::windows::core::RuntimeName for AppointmentCalendarUpdateMeetingResponseRequest { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarUpdateMeetingResponseRequest"; } -::windows::core::interface_hierarchy!(AppointmentCalendarUpdateMeetingResponseRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarUpdateMeetingResponseRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarUpdateMeetingResponseRequest {} unsafe impl ::core::marker::Sync for AppointmentCalendarUpdateMeetingResponseRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -1305,7 +1305,7 @@ impl ::core::fmt::Debug for AppointmentCalendarUpdateMeetingResponseRequestEvent } } impl ::windows::core::RuntimeType for AppointmentCalendarUpdateMeetingResponseRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarUpdateMeetingResponseRequestEventArgs;{88759883-97bf-479d-aed5-0be8ce567d1e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarUpdateMeetingResponseRequestEventArgs;{88759883-97bf-479d-aed5-0be8ce567d1e})"); } impl ::core::clone::Clone for AppointmentCalendarUpdateMeetingResponseRequestEventArgs { fn clone(&self) -> Self { @@ -1321,7 +1321,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarUpdateMeetingRespo impl ::windows::core::RuntimeName for AppointmentCalendarUpdateMeetingResponseRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarUpdateMeetingResponseRequestEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentCalendarUpdateMeetingResponseRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarUpdateMeetingResponseRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarUpdateMeetingResponseRequestEventArgs {} unsafe impl ::core::marker::Sync for AppointmentCalendarUpdateMeetingResponseRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -1435,7 +1435,7 @@ impl ::core::fmt::Debug for AppointmentDataProviderConnection { } } impl ::windows::core::RuntimeType for AppointmentDataProviderConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentDataProviderConnection;{f3dd9d83-3254-465f-abdb-928046552cf4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentDataProviderConnection;{f3dd9d83-3254-465f-abdb-928046552cf4})"); } impl ::core::clone::Clone for AppointmentDataProviderConnection { fn clone(&self) -> Self { @@ -1451,7 +1451,7 @@ unsafe impl ::windows::core::Interface for AppointmentDataProviderConnection { impl ::windows::core::RuntimeName for AppointmentDataProviderConnection { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentDataProviderConnection"; } -::windows::core::interface_hierarchy!(AppointmentDataProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentDataProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentDataProviderConnection {} unsafe impl ::core::marker::Sync for AppointmentDataProviderConnection {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] @@ -1478,7 +1478,7 @@ impl ::core::fmt::Debug for AppointmentDataProviderTriggerDetails { } } impl ::windows::core::RuntimeType for AppointmentDataProviderTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentDataProviderTriggerDetails;{b3283c01-7e12-4e5e-b1ef-74fb68ac6f2a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentDataProviderTriggerDetails;{b3283c01-7e12-4e5e-b1ef-74fb68ac6f2a})"); } impl ::core::clone::Clone for AppointmentDataProviderTriggerDetails { fn clone(&self) -> Self { @@ -1494,7 +1494,7 @@ unsafe impl ::windows::core::Interface for AppointmentDataProviderTriggerDetails impl ::windows::core::RuntimeName for AppointmentDataProviderTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Appointments.DataProvider.AppointmentDataProviderTriggerDetails"; } -::windows::core::interface_hierarchy!(AppointmentDataProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentDataProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentDataProviderTriggerDetails {} unsafe impl ::core::marker::Sync for AppointmentDataProviderTriggerDetails {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index 148322d8f4..bac7b529f5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -675,7 +675,7 @@ impl IAppointmentParticipant { unsafe { (::windows::core::Vtable::vtable(this).SetAddress)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -::windows::core::interface_hierarchy!(IAppointmentParticipant, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAppointmentParticipant, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAppointmentParticipant { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -688,7 +688,7 @@ impl ::core::fmt::Debug for IAppointmentParticipant { } } impl ::windows::core::RuntimeType for IAppointmentParticipant { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{615e2902-9718-467b-83fb-b293a19121de}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{615e2902-9718-467b-83fb-b293a19121de}"); } unsafe impl ::windows::core::Vtable for IAppointmentParticipant { type Vtable = IAppointmentParticipant_Vtbl; @@ -1222,8 +1222,8 @@ impl Appointment { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -1555,7 +1555,7 @@ impl ::core::fmt::Debug for Appointment { } } impl ::windows::core::RuntimeType for Appointment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.Appointment;{dd002f2f-2bdd-4076-90a3-22c275312965})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.Appointment;{dd002f2f-2bdd-4076-90a3-22c275312965})"); } impl ::core::clone::Clone for Appointment { fn clone(&self) -> Self { @@ -1571,7 +1571,7 @@ unsafe impl ::windows::core::Interface for Appointment { impl ::windows::core::RuntimeName for Appointment { const NAME: &'static str = "Windows.ApplicationModel.Appointments.Appointment"; } -::windows::core::interface_hierarchy!(Appointment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Appointment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Appointment {} unsafe impl ::core::marker::Sync for Appointment {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -1961,7 +1961,7 @@ impl ::core::fmt::Debug for AppointmentCalendar { } } impl ::windows::core::RuntimeType for AppointmentCalendar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentCalendar;{5273819d-8339-3d4f-a02f-64084452bb5d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentCalendar;{5273819d-8339-3d4f-a02f-64084452bb5d})"); } impl ::core::clone::Clone for AppointmentCalendar { fn clone(&self) -> Self { @@ -1977,7 +1977,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendar { impl ::windows::core::RuntimeName for AppointmentCalendar { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentCalendar"; } -::windows::core::interface_hierarchy!(AppointmentCalendar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendar, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendar {} unsafe impl ::core::marker::Sync for AppointmentCalendar {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -2062,7 +2062,7 @@ impl ::core::fmt::Debug for AppointmentCalendarSyncManager { } } impl ::windows::core::RuntimeType for AppointmentCalendarSyncManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentCalendarSyncManager;{2b21b3a0-4aff-4392-bc5f-5645ffcffb17})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentCalendarSyncManager;{2b21b3a0-4aff-4392-bc5f-5645ffcffb17})"); } impl ::core::clone::Clone for AppointmentCalendarSyncManager { fn clone(&self) -> Self { @@ -2078,7 +2078,7 @@ unsafe impl ::windows::core::Interface for AppointmentCalendarSyncManager { impl ::windows::core::RuntimeName for AppointmentCalendarSyncManager { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentCalendarSyncManager"; } -::windows::core::interface_hierarchy!(AppointmentCalendarSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentCalendarSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentCalendarSyncManager {} unsafe impl ::core::marker::Sync for AppointmentCalendarSyncManager {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -2114,7 +2114,7 @@ impl ::core::fmt::Debug for AppointmentConflictResult { } } impl ::windows::core::RuntimeType for AppointmentConflictResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentConflictResult;{d5cdf0be-2f2f-3b7d-af0a-a7e20f3a46e3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentConflictResult;{d5cdf0be-2f2f-3b7d-af0a-a7e20f3a46e3})"); } impl ::core::clone::Clone for AppointmentConflictResult { fn clone(&self) -> Self { @@ -2130,7 +2130,7 @@ unsafe impl ::windows::core::Interface for AppointmentConflictResult { impl ::windows::core::RuntimeName for AppointmentConflictResult { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentConflictResult"; } -::windows::core::interface_hierarchy!(AppointmentConflictResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentConflictResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentConflictResult {} unsafe impl ::core::marker::Sync for AppointmentConflictResult {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -2173,7 +2173,7 @@ impl ::core::fmt::Debug for AppointmentException { } } impl ::windows::core::RuntimeType for AppointmentException { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentException;{a2076767-16f6-4bce-9f5a-8600b8019fcb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentException;{a2076767-16f6-4bce-9f5a-8600b8019fcb})"); } impl ::core::clone::Clone for AppointmentException { fn clone(&self) -> Self { @@ -2189,7 +2189,7 @@ unsafe impl ::windows::core::Interface for AppointmentException { impl ::windows::core::RuntimeName for AppointmentException { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentException"; } -::windows::core::interface_hierarchy!(AppointmentException, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentException, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentException {} unsafe impl ::core::marker::Sync for AppointmentException {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -2199,8 +2199,8 @@ impl AppointmentInvitee { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Role(&self) -> ::windows::core::Result { @@ -2260,7 +2260,7 @@ impl ::core::fmt::Debug for AppointmentInvitee { } } impl ::windows::core::RuntimeType for AppointmentInvitee { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentInvitee;{13bf0796-9842-495b-b0e7-ef8f79c0701d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentInvitee;{13bf0796-9842-495b-b0e7-ef8f79c0701d})"); } impl ::core::clone::Clone for AppointmentInvitee { fn clone(&self) -> Self { @@ -2276,7 +2276,7 @@ unsafe impl ::windows::core::Interface for AppointmentInvitee { impl ::windows::core::RuntimeName for AppointmentInvitee { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentInvitee"; } -::windows::core::interface_hierarchy!(AppointmentInvitee, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentInvitee, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAppointmentParticipant { type Error = ::windows::core::Error; fn try_from(value: AppointmentInvitee) -> ::windows::core::Result { @@ -2415,17 +2415,17 @@ impl AppointmentManager { } #[doc(hidden)] pub fn IAppointmentManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAppointmentManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAppointmentManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2575,7 +2575,7 @@ impl ::core::fmt::Debug for AppointmentManagerForUser { } } impl ::windows::core::RuntimeType for AppointmentManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentManagerForUser;{70261423-73cc-4660-b318-b01365302a03})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentManagerForUser;{70261423-73cc-4660-b318-b01365302a03})"); } impl ::core::clone::Clone for AppointmentManagerForUser { fn clone(&self) -> Self { @@ -2591,7 +2591,7 @@ unsafe impl ::windows::core::Interface for AppointmentManagerForUser { impl ::windows::core::RuntimeName for AppointmentManagerForUser { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentManagerForUser"; } -::windows::core::interface_hierarchy!(AppointmentManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentManagerForUser {} unsafe impl ::core::marker::Sync for AppointmentManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -2601,8 +2601,8 @@ impl AppointmentOrganizer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2640,7 +2640,7 @@ impl ::core::fmt::Debug for AppointmentOrganizer { } } impl ::windows::core::RuntimeType for AppointmentOrganizer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentOrganizer;{615e2902-9718-467b-83fb-b293a19121de})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentOrganizer;{615e2902-9718-467b-83fb-b293a19121de})"); } impl ::core::clone::Clone for AppointmentOrganizer { fn clone(&self) -> Self { @@ -2656,7 +2656,7 @@ unsafe impl ::windows::core::Interface for AppointmentOrganizer { impl ::windows::core::RuntimeName for AppointmentOrganizer { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentOrganizer"; } -::windows::core::interface_hierarchy!(AppointmentOrganizer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentOrganizer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAppointmentParticipant { type Error = ::windows::core::Error; fn try_from(value: AppointmentOrganizer) -> ::windows::core::Result { @@ -2841,12 +2841,12 @@ impl AppointmentProperties { } #[doc(hidden)] pub fn IAppointmentPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAppointmentPropertiesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2860,8 +2860,8 @@ impl AppointmentRecurrence { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Unit(&self) -> ::windows::core::Result { @@ -3006,7 +3006,7 @@ impl ::core::fmt::Debug for AppointmentRecurrence { } } impl ::windows::core::RuntimeType for AppointmentRecurrence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentRecurrence;{d87b3e83-15a6-487b-b959-0c361e60e954})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentRecurrence;{d87b3e83-15a6-487b-b959-0c361e60e954})"); } impl ::core::clone::Clone for AppointmentRecurrence { fn clone(&self) -> Self { @@ -3022,7 +3022,7 @@ unsafe impl ::windows::core::Interface for AppointmentRecurrence { impl ::windows::core::RuntimeName for AppointmentRecurrence { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentRecurrence"; } -::windows::core::interface_hierarchy!(AppointmentRecurrence, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentRecurrence, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentRecurrence {} unsafe impl ::core::marker::Sync for AppointmentRecurrence {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3260,7 +3260,7 @@ impl ::core::fmt::Debug for AppointmentStore { } } impl ::windows::core::RuntimeType for AppointmentStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStore;{a461918c-7a47-4d96-96c9-15cd8a05a735})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStore;{a461918c-7a47-4d96-96c9-15cd8a05a735})"); } impl ::core::clone::Clone for AppointmentStore { fn clone(&self) -> Self { @@ -3276,7 +3276,7 @@ unsafe impl ::windows::core::Interface for AppointmentStore { impl ::windows::core::RuntimeName for AppointmentStore { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStore"; } -::windows::core::interface_hierarchy!(AppointmentStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentStore {} unsafe impl ::core::marker::Sync for AppointmentStore {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3317,7 +3317,7 @@ impl ::core::fmt::Debug for AppointmentStoreChange { } } impl ::windows::core::RuntimeType for AppointmentStoreChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChange;{a5a6e035-0a33-3654-8463-b543e90c3b79})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChange;{a5a6e035-0a33-3654-8463-b543e90c3b79})"); } impl ::core::clone::Clone for AppointmentStoreChange { fn clone(&self) -> Self { @@ -3333,7 +3333,7 @@ unsafe impl ::windows::core::Interface for AppointmentStoreChange { impl ::windows::core::RuntimeName for AppointmentStoreChange { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChange"; } -::windows::core::interface_hierarchy!(AppointmentStoreChange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentStoreChange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentStoreChange {} unsafe impl ::core::marker::Sync for AppointmentStoreChange {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3370,7 +3370,7 @@ impl ::core::fmt::Debug for AppointmentStoreChangeReader { } } impl ::windows::core::RuntimeType for AppointmentStoreChangeReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangeReader;{8b2409f1-65f3-42a0-961d-4c209bf30370})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangeReader;{8b2409f1-65f3-42a0-961d-4c209bf30370})"); } impl ::core::clone::Clone for AppointmentStoreChangeReader { fn clone(&self) -> Self { @@ -3386,7 +3386,7 @@ unsafe impl ::windows::core::Interface for AppointmentStoreChangeReader { impl ::windows::core::RuntimeName for AppointmentStoreChangeReader { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChangeReader"; } -::windows::core::interface_hierarchy!(AppointmentStoreChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentStoreChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentStoreChangeReader {} unsafe impl ::core::marker::Sync for AppointmentStoreChangeReader {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3428,7 +3428,7 @@ impl ::core::fmt::Debug for AppointmentStoreChangeTracker { } } impl ::windows::core::RuntimeType for AppointmentStoreChangeTracker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangeTracker;{1b25f4b1-8ece-4f17-93c8-e6412458fd5c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangeTracker;{1b25f4b1-8ece-4f17-93c8-e6412458fd5c})"); } impl ::core::clone::Clone for AppointmentStoreChangeTracker { fn clone(&self) -> Self { @@ -3444,7 +3444,7 @@ unsafe impl ::windows::core::Interface for AppointmentStoreChangeTracker { impl ::windows::core::RuntimeName for AppointmentStoreChangeTracker { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChangeTracker"; } -::windows::core::interface_hierarchy!(AppointmentStoreChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentStoreChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentStoreChangeTracker {} unsafe impl ::core::marker::Sync for AppointmentStoreChangeTracker {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3468,7 +3468,7 @@ impl ::core::fmt::Debug for AppointmentStoreChangedDeferral { } } impl ::windows::core::RuntimeType for AppointmentStoreChangedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangedDeferral;{4cb82026-fedb-4bc3-9662-95a9befdf4df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangedDeferral;{4cb82026-fedb-4bc3-9662-95a9befdf4df})"); } impl ::core::clone::Clone for AppointmentStoreChangedDeferral { fn clone(&self) -> Self { @@ -3484,7 +3484,7 @@ unsafe impl ::windows::core::Interface for AppointmentStoreChangedDeferral { impl ::windows::core::RuntimeName for AppointmentStoreChangedDeferral { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChangedDeferral"; } -::windows::core::interface_hierarchy!(AppointmentStoreChangedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentStoreChangedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentStoreChangedDeferral {} unsafe impl ::core::marker::Sync for AppointmentStoreChangedDeferral {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3511,7 +3511,7 @@ impl ::core::fmt::Debug for AppointmentStoreChangedEventArgs { } } impl ::windows::core::RuntimeType for AppointmentStoreChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangedEventArgs;{2285f8b9-0791-417e-bfea-cc6d41636c8c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangedEventArgs;{2285f8b9-0791-417e-bfea-cc6d41636c8c})"); } impl ::core::clone::Clone for AppointmentStoreChangedEventArgs { fn clone(&self) -> Self { @@ -3527,7 +3527,7 @@ unsafe impl ::windows::core::Interface for AppointmentStoreChangedEventArgs { impl ::windows::core::RuntimeName for AppointmentStoreChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppointmentStoreChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentStoreChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentStoreChangedEventArgs {} unsafe impl ::core::marker::Sync for AppointmentStoreChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3546,7 +3546,7 @@ impl ::core::fmt::Debug for AppointmentStoreNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for AppointmentStoreNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreNotificationTriggerDetails;{9b33cb11-c301-421e-afef-047ecfa76adb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreNotificationTriggerDetails;{9b33cb11-c301-421e-afef-047ecfa76adb})"); } impl ::core::clone::Clone for AppointmentStoreNotificationTriggerDetails { fn clone(&self) -> Self { @@ -3562,7 +3562,7 @@ unsafe impl ::windows::core::Interface for AppointmentStoreNotificationTriggerDe impl ::windows::core::RuntimeName for AppointmentStoreNotificationTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Appointments.AppointmentStoreNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(AppointmentStoreNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentStoreNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppointmentStoreNotificationTriggerDetails {} unsafe impl ::core::marker::Sync for AppointmentStoreNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3572,8 +3572,8 @@ impl FindAppointmentsOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3629,7 +3629,7 @@ impl ::core::fmt::Debug for FindAppointmentsOptions { } } impl ::windows::core::RuntimeType for FindAppointmentsOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.FindAppointmentsOptions;{55f7dc55-9942-3086-82b5-2cb29f64d5f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.FindAppointmentsOptions;{55f7dc55-9942-3086-82b5-2cb29f64d5f5})"); } impl ::core::clone::Clone for FindAppointmentsOptions { fn clone(&self) -> Self { @@ -3645,7 +3645,7 @@ unsafe impl ::windows::core::Interface for FindAppointmentsOptions { impl ::windows::core::RuntimeName for FindAppointmentsOptions { const NAME: &'static str = "Windows.ApplicationModel.Appointments.FindAppointmentsOptions"; } -::windows::core::interface_hierarchy!(FindAppointmentsOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FindAppointmentsOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FindAppointmentsOptions {} unsafe impl ::core::marker::Sync for FindAppointmentsOptions {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] @@ -3679,7 +3679,7 @@ impl ::core::fmt::Debug for AppointmentBusyStatus { } } impl ::windows::core::RuntimeType for AppointmentBusyStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentBusyStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentBusyStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -3711,7 +3711,7 @@ impl ::core::fmt::Debug for AppointmentCalendarOtherAppReadAccess { } } impl ::windows::core::RuntimeType for AppointmentCalendarOtherAppReadAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarOtherAppReadAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarOtherAppReadAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -3742,7 +3742,7 @@ impl ::core::fmt::Debug for AppointmentCalendarOtherAppWriteAccess { } } impl ::windows::core::RuntimeType for AppointmentCalendarOtherAppWriteAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarOtherAppWriteAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarOtherAppWriteAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -3777,7 +3777,7 @@ impl ::core::fmt::Debug for AppointmentCalendarSyncStatus { } } impl ::windows::core::RuntimeType for AppointmentCalendarSyncStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarSyncStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentCalendarSyncStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -3808,7 +3808,7 @@ impl ::core::fmt::Debug for AppointmentConflictType { } } impl ::windows::core::RuntimeType for AppointmentConflictType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentConflictType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentConflictType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -3877,7 +3877,7 @@ impl ::core::ops::Not for AppointmentDaysOfWeek { } } impl ::windows::core::RuntimeType for AppointmentDaysOfWeek { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentDaysOfWeek;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentDaysOfWeek;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -3907,7 +3907,7 @@ impl ::core::fmt::Debug for AppointmentDetailsKind { } } impl ::windows::core::RuntimeType for AppointmentDetailsKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentDetailsKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentDetailsKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -3940,7 +3940,7 @@ impl ::core::fmt::Debug for AppointmentParticipantResponse { } } impl ::windows::core::RuntimeType for AppointmentParticipantResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentParticipantResponse;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentParticipantResponse;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -3971,7 +3971,7 @@ impl ::core::fmt::Debug for AppointmentParticipantRole { } } impl ::windows::core::RuntimeType for AppointmentParticipantRole { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentParticipantRole;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentParticipantRole;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -4005,7 +4005,7 @@ impl ::core::fmt::Debug for AppointmentRecurrenceUnit { } } impl ::windows::core::RuntimeType for AppointmentRecurrenceUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentRecurrenceUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentRecurrenceUnit;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -4035,7 +4035,7 @@ impl ::core::fmt::Debug for AppointmentSensitivity { } } impl ::windows::core::RuntimeType for AppointmentSensitivity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentSensitivity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentSensitivity;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -4066,7 +4066,7 @@ impl ::core::fmt::Debug for AppointmentStoreAccessType { } } impl ::windows::core::RuntimeType for AppointmentStoreAccessType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentStoreAccessType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentStoreAccessType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -4101,7 +4101,7 @@ impl ::core::fmt::Debug for AppointmentStoreChangeType { } } impl ::windows::core::RuntimeType for AppointmentStoreChangeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentStoreChangeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentStoreChangeType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -4131,7 +4131,7 @@ impl ::core::fmt::Debug for AppointmentSummaryCardView { } } impl ::windows::core::RuntimeType for AppointmentSummaryCardView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentSummaryCardView;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentSummaryCardView;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -4164,7 +4164,7 @@ impl ::core::fmt::Debug for AppointmentWeekOfMonth { } } impl ::windows::core::RuntimeType for AppointmentWeekOfMonth { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentWeekOfMonth;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.AppointmentWeekOfMonth;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -4227,7 +4227,7 @@ impl ::core::ops::Not for FindAppointmentCalendarsOptions { } } impl ::windows::core::RuntimeType for FindAppointmentCalendarsOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.FindAppointmentCalendarsOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.FindAppointmentCalendarsOptions;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] @@ -4258,7 +4258,7 @@ impl ::core::fmt::Debug for RecurrenceType { } } impl ::windows::core::RuntimeType for RecurrenceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.RecurrenceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Appointments.RecurrenceType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index ea547a76d2..469682b9d0 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -222,7 +222,7 @@ pub struct IAppointmentStoreNotificationTrigger_Vtbl { #[repr(transparent)] pub struct IBackgroundCondition(::windows::core::IUnknown); impl IBackgroundCondition {} -::windows::core::interface_hierarchy!(IBackgroundCondition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundCondition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundCondition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -235,7 +235,7 @@ impl ::core::fmt::Debug for IBackgroundCondition { } } impl ::windows::core::RuntimeType for IBackgroundCondition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ae48a1ee-8951-400a-8302-9c9c9a2a3a3b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ae48a1ee-8951-400a-8302-9c9c9a2a3a3b}"); } unsafe impl ::windows::core::Vtable for IBackgroundCondition { type Vtable = IBackgroundCondition_Vtbl; @@ -345,7 +345,7 @@ impl IBackgroundTask { unsafe { (::windows::core::Vtable::vtable(this).Run)(::windows::core::Vtable::as_raw(this), taskinstance.try_into().map_err(|e| e.into())?.abi()).ok() } } } -::windows::core::interface_hierarchy!(IBackgroundTask, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTask, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundTask { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -358,7 +358,7 @@ impl ::core::fmt::Debug for IBackgroundTask { } } impl ::windows::core::RuntimeType for IBackgroundTask { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{7d13d534-fd12-43ce-8c22-ea1ff13c06df}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{7d13d534-fd12-43ce-8c22-ea1ff13c06df}"); } unsafe impl ::windows::core::Vtable for IBackgroundTask { type Vtable = IBackgroundTask_Vtbl; @@ -593,7 +593,7 @@ impl IBackgroundTaskInstance { } } } -::windows::core::interface_hierarchy!(IBackgroundTaskInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTaskInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundTaskInstance { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -606,7 +606,7 @@ impl ::core::fmt::Debug for IBackgroundTaskInstance { } } impl ::windows::core::RuntimeType for IBackgroundTaskInstance { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{865bda7a-21d8-4573-8f32-928a1b0641f6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{865bda7a-21d8-4573-8f32-928a1b0641f6}"); } unsafe impl ::windows::core::Vtable for IBackgroundTaskInstance { type Vtable = IBackgroundTaskInstance_Vtbl; @@ -712,7 +712,7 @@ impl IBackgroundTaskInstance2 { } } } -::windows::core::interface_hierarchy!(IBackgroundTaskInstance2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTaskInstance2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTaskInstance { type Error = ::windows::core::Error; fn try_from(value: IBackgroundTaskInstance2) -> ::windows::core::Result { @@ -744,7 +744,7 @@ impl ::core::fmt::Debug for IBackgroundTaskInstance2 { } } impl ::windows::core::RuntimeType for IBackgroundTaskInstance2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4f7d0176-0c76-4fb4-896d-5de1864122f6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4f7d0176-0c76-4fb4-896d-5de1864122f6}"); } unsafe impl ::windows::core::Vtable for IBackgroundTaskInstance2 { type Vtable = IBackgroundTaskInstance2_Vtbl; @@ -838,7 +838,7 @@ impl IBackgroundTaskInstance4 { } } } -::windows::core::interface_hierarchy!(IBackgroundTaskInstance4, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTaskInstance4, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTaskInstance { type Error = ::windows::core::Error; fn try_from(value: IBackgroundTaskInstance4) -> ::windows::core::Result { @@ -870,7 +870,7 @@ impl ::core::fmt::Debug for IBackgroundTaskInstance4 { } } impl ::windows::core::RuntimeType for IBackgroundTaskInstance4 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{7f29f23c-aa04-4b08-97b0-06d874cdabf5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{7f29f23c-aa04-4b08-97b0-06d874cdabf5}"); } unsafe impl ::windows::core::Vtable for IBackgroundTaskInstance4 { type Vtable = IBackgroundTaskInstance4_Vtbl; @@ -966,7 +966,7 @@ impl IBackgroundTaskRegistration { unsafe { (::windows::core::Vtable::vtable(this).Unregister)(::windows::core::Vtable::as_raw(this), canceltask).ok() } } } -::windows::core::interface_hierarchy!(IBackgroundTaskRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTaskRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundTaskRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -979,7 +979,7 @@ impl ::core::fmt::Debug for IBackgroundTaskRegistration { } } impl ::windows::core::RuntimeType for IBackgroundTaskRegistration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{10654cc2-a26e-43bf-8c12-1fb40dbfbfa0}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{10654cc2-a26e-43bf-8c12-1fb40dbfbfa0}"); } unsafe impl ::windows::core::Vtable for IBackgroundTaskRegistration { type Vtable = IBackgroundTaskRegistration_Vtbl; @@ -1076,7 +1076,7 @@ impl IBackgroundTaskRegistration2 { unsafe { (::windows::core::Vtable::vtable(this).Unregister)(::windows::core::Vtable::as_raw(this), canceltask).ok() } } } -::windows::core::interface_hierarchy!(IBackgroundTaskRegistration2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTaskRegistration2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTaskRegistration { type Error = ::windows::core::Error; fn try_from(value: IBackgroundTaskRegistration2) -> ::windows::core::Result { @@ -1108,7 +1108,7 @@ impl ::core::fmt::Debug for IBackgroundTaskRegistration2 { } } impl ::windows::core::RuntimeType for IBackgroundTaskRegistration2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6138c703-bb86-4112-afc3-7f939b166e3b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6138c703-bb86-4112-afc3-7f939b166e3b}"); } unsafe impl ::windows::core::Vtable for IBackgroundTaskRegistration2 { type Vtable = IBackgroundTaskRegistration2_Vtbl; @@ -1187,7 +1187,7 @@ impl IBackgroundTaskRegistration3 { unsafe { (::windows::core::Vtable::vtable(this).Unregister)(::windows::core::Vtable::as_raw(this), canceltask).ok() } } } -::windows::core::interface_hierarchy!(IBackgroundTaskRegistration3, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTaskRegistration3, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTaskRegistration { type Error = ::windows::core::Error; fn try_from(value: IBackgroundTaskRegistration3) -> ::windows::core::Result { @@ -1219,7 +1219,7 @@ impl ::core::fmt::Debug for IBackgroundTaskRegistration3 { } } impl ::windows::core::RuntimeType for IBackgroundTaskRegistration3 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fe338195-9423-4d8b-830d-b1dd2c7badd5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fe338195-9423-4d8b-830d-b1dd2c7badd5}"); } unsafe impl ::windows::core::Vtable for IBackgroundTaskRegistration3 { type Vtable = IBackgroundTaskRegistration3_Vtbl; @@ -1343,7 +1343,7 @@ pub struct IBackgroundTaskRegistrationStatics2_Vtbl { #[repr(transparent)] pub struct IBackgroundTrigger(::windows::core::IUnknown); impl IBackgroundTrigger {} -::windows::core::interface_hierarchy!(IBackgroundTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundTrigger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1356,7 +1356,7 @@ impl ::core::fmt::Debug for IBackgroundTrigger { } } impl ::windows::core::RuntimeType for IBackgroundTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{84b3a058-6027-4b87-9790-bdf3f757dbd7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{84b3a058-6027-4b87-9790-bdf3f757dbd7}"); } unsafe impl ::windows::core::Vtable for IBackgroundTrigger { type Vtable = IBackgroundTrigger_Vtbl; @@ -2879,7 +2879,7 @@ impl ActivitySensorTrigger { } #[doc(hidden)] pub fn IActivitySensorTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2895,7 +2895,7 @@ impl ::core::fmt::Debug for ActivitySensorTrigger { } } impl ::windows::core::RuntimeType for ActivitySensorTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ActivitySensorTrigger;{d0dd4342-e37b-4823-a5fe-6b31dfefdeb0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ActivitySensorTrigger;{d0dd4342-e37b-4823-a5fe-6b31dfefdeb0})"); } impl ::core::clone::Clone for ActivitySensorTrigger { fn clone(&self) -> Self { @@ -2911,7 +2911,7 @@ unsafe impl ::windows::core::Interface for ActivitySensorTrigger { impl ::windows::core::RuntimeName for ActivitySensorTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ActivitySensorTrigger"; } -::windows::core::interface_hierarchy!(ActivitySensorTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivitySensorTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ActivitySensorTrigger) -> ::windows::core::Result { @@ -2952,7 +2952,7 @@ impl AlarmApplicationManager { } #[doc(hidden)] pub fn IAlarmApplicationManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2982,7 +2982,7 @@ impl AppBroadcastTrigger { } #[doc(hidden)] pub fn IAppBroadcastTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2998,7 +2998,7 @@ impl ::core::fmt::Debug for AppBroadcastTrigger { } } impl ::windows::core::RuntimeType for AppBroadcastTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppBroadcastTrigger;{74d4f496-8d37-44ec-9481-2a0b9854eb48})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppBroadcastTrigger;{74d4f496-8d37-44ec-9481-2a0b9854eb48})"); } impl ::core::clone::Clone for AppBroadcastTrigger { fn clone(&self) -> Self { @@ -3014,7 +3014,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastTrigger { impl ::windows::core::RuntimeName for AppBroadcastTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.AppBroadcastTrigger"; } -::windows::core::interface_hierarchy!(AppBroadcastTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: AppBroadcastTrigger) -> ::windows::core::Result { @@ -3123,7 +3123,7 @@ impl ::core::fmt::Debug for AppBroadcastTriggerProviderInfo { } } impl ::windows::core::RuntimeType for AppBroadcastTriggerProviderInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo;{f219352d-9de8-4420-9ce2-5eff8f17376b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo;{f219352d-9de8-4420-9ce2-5eff8f17376b})"); } impl ::core::clone::Clone for AppBroadcastTriggerProviderInfo { fn clone(&self) -> Self { @@ -3139,7 +3139,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastTriggerProviderInfo { impl ::windows::core::RuntimeName for AppBroadcastTriggerProviderInfo { const NAME: &'static str = "Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo"; } -::windows::core::interface_hierarchy!(AppBroadcastTriggerProviderInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastTriggerProviderInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastTriggerProviderInfo {} unsafe impl ::core::marker::Sync for AppBroadcastTriggerProviderInfo {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -3149,8 +3149,8 @@ impl ApplicationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -3184,7 +3184,7 @@ impl ::core::fmt::Debug for ApplicationTrigger { } } impl ::windows::core::RuntimeType for ApplicationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ApplicationTrigger;{0b468630-9574-492c-9e93-1a3ae6335fe9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ApplicationTrigger;{0b468630-9574-492c-9e93-1a3ae6335fe9})"); } impl ::core::clone::Clone for ApplicationTrigger { fn clone(&self) -> Self { @@ -3200,7 +3200,7 @@ unsafe impl ::windows::core::Interface for ApplicationTrigger { impl ::windows::core::RuntimeName for ApplicationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ApplicationTrigger"; } -::windows::core::interface_hierarchy!(ApplicationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ApplicationTrigger) -> ::windows::core::Result { @@ -3248,7 +3248,7 @@ impl ::core::fmt::Debug for ApplicationTriggerDetails { } } impl ::windows::core::RuntimeType for ApplicationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ApplicationTriggerDetails;{97dc6ab2-2219-4a9e-9c5e-41d047f76e82})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ApplicationTriggerDetails;{97dc6ab2-2219-4a9e-9c5e-41d047f76e82})"); } impl ::core::clone::Clone for ApplicationTriggerDetails { fn clone(&self) -> Self { @@ -3264,7 +3264,7 @@ unsafe impl ::windows::core::Interface for ApplicationTriggerDetails { impl ::windows::core::RuntimeName for ApplicationTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Background.ApplicationTriggerDetails"; } -::windows::core::interface_hierarchy!(ApplicationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ApplicationTriggerDetails {} unsafe impl ::core::marker::Sync for ApplicationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -3274,8 +3274,8 @@ impl AppointmentStoreNotificationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3291,7 +3291,7 @@ impl ::core::fmt::Debug for AppointmentStoreNotificationTrigger { } } impl ::windows::core::RuntimeType for AppointmentStoreNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppointmentStoreNotificationTrigger;{64d4040c-c201-42ad-aa2a-e21ba3425b6d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppointmentStoreNotificationTrigger;{64d4040c-c201-42ad-aa2a-e21ba3425b6d})"); } impl ::core::clone::Clone for AppointmentStoreNotificationTrigger { fn clone(&self) -> Self { @@ -3307,7 +3307,7 @@ unsafe impl ::windows::core::Interface for AppointmentStoreNotificationTrigger { impl ::windows::core::RuntimeName for AppointmentStoreNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.AppointmentStoreNotificationTrigger"; } -::windows::core::interface_hierarchy!(AppointmentStoreNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppointmentStoreNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: AppointmentStoreNotificationTrigger) -> ::windows::core::Result { @@ -3396,17 +3396,17 @@ impl BackgroundExecutionManager { } #[doc(hidden)] pub fn IBackgroundExecutionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBackgroundExecutionManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBackgroundExecutionManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3420,8 +3420,8 @@ impl BackgroundTaskBuilder { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetTaskEntryPoint(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -3519,7 +3519,7 @@ impl ::core::fmt::Debug for BackgroundTaskBuilder { } } impl ::windows::core::RuntimeType for BackgroundTaskBuilder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskBuilder;{0351550e-3e64-4572-a93a-84075a37c917})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskBuilder;{0351550e-3e64-4572-a93a-84075a37c917})"); } impl ::core::clone::Clone for BackgroundTaskBuilder { fn clone(&self) -> Self { @@ -3535,7 +3535,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskBuilder { impl ::windows::core::RuntimeName for BackgroundTaskBuilder { const NAME: &'static str = "Windows.ApplicationModel.Background.BackgroundTaskBuilder"; } -::windows::core::interface_hierarchy!(BackgroundTaskBuilder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTaskBuilder, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] pub struct BackgroundTaskCompletedEventArgs(::windows::core::IUnknown); @@ -3564,7 +3564,7 @@ impl ::core::fmt::Debug for BackgroundTaskCompletedEventArgs { } } impl ::windows::core::RuntimeType for BackgroundTaskCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskCompletedEventArgs;{565d25cf-f209-48f4-9967-2b184f7bfbf0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskCompletedEventArgs;{565d25cf-f209-48f4-9967-2b184f7bfbf0})"); } impl ::core::clone::Clone for BackgroundTaskCompletedEventArgs { fn clone(&self) -> Self { @@ -3580,7 +3580,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskCompletedEventArgs { impl ::windows::core::RuntimeName for BackgroundTaskCompletedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Background.BackgroundTaskCompletedEventArgs"; } -::windows::core::interface_hierarchy!(BackgroundTaskCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTaskCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTaskCompletedEventArgs {} unsafe impl ::core::marker::Sync for BackgroundTaskCompletedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -3604,7 +3604,7 @@ impl ::core::fmt::Debug for BackgroundTaskDeferral { } } impl ::windows::core::RuntimeType for BackgroundTaskDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskDeferral;{93cc156d-af27-4dd3-846e-24ee40cadd25})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskDeferral;{93cc156d-af27-4dd3-846e-24ee40cadd25})"); } impl ::core::clone::Clone for BackgroundTaskDeferral { fn clone(&self) -> Self { @@ -3620,7 +3620,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskDeferral { impl ::windows::core::RuntimeName for BackgroundTaskDeferral { const NAME: &'static str = "Windows.ApplicationModel.Background.BackgroundTaskDeferral"; } -::windows::core::interface_hierarchy!(BackgroundTaskDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTaskDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTaskDeferral {} unsafe impl ::core::marker::Sync for BackgroundTaskDeferral {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -3654,7 +3654,7 @@ impl ::core::fmt::Debug for BackgroundTaskProgressEventArgs { } } impl ::windows::core::RuntimeType for BackgroundTaskProgressEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskProgressEventArgs;{fb1468ac-8332-4d0a-9532-03eae684da31})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskProgressEventArgs;{fb1468ac-8332-4d0a-9532-03eae684da31})"); } impl ::core::clone::Clone for BackgroundTaskProgressEventArgs { fn clone(&self) -> Self { @@ -3670,7 +3670,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskProgressEventArgs { impl ::windows::core::RuntimeName for BackgroundTaskProgressEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Background.BackgroundTaskProgressEventArgs"; } -::windows::core::interface_hierarchy!(BackgroundTaskProgressEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTaskProgressEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTaskProgressEventArgs {} unsafe impl ::core::marker::Sync for BackgroundTaskProgressEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -3763,12 +3763,12 @@ impl BackgroundTaskRegistration { } #[doc(hidden)] pub fn IBackgroundTaskRegistrationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBackgroundTaskRegistrationStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3784,7 +3784,7 @@ impl ::core::fmt::Debug for BackgroundTaskRegistration { } } impl ::windows::core::RuntimeType for BackgroundTaskRegistration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskRegistration;{10654cc2-a26e-43bf-8c12-1fb40dbfbfa0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskRegistration;{10654cc2-a26e-43bf-8c12-1fb40dbfbfa0})"); } impl ::core::clone::Clone for BackgroundTaskRegistration { fn clone(&self) -> Self { @@ -3800,7 +3800,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskRegistration { impl ::windows::core::RuntimeName for BackgroundTaskRegistration { const NAME: &'static str = "Windows.ApplicationModel.Background.BackgroundTaskRegistration"; } -::windows::core::interface_hierarchy!(BackgroundTaskRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTaskRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTaskRegistration { type Error = ::windows::core::Error; fn try_from(value: BackgroundTaskRegistration) -> ::windows::core::Result { @@ -3916,7 +3916,7 @@ impl BackgroundTaskRegistrationGroup { } #[doc(hidden)] pub fn IBackgroundTaskRegistrationGroupFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3932,7 +3932,7 @@ impl ::core::fmt::Debug for BackgroundTaskRegistrationGroup { } } impl ::windows::core::RuntimeType for BackgroundTaskRegistrationGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup;{2ab1919a-871b-4167-8a76-055cd67b5b23})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup;{2ab1919a-871b-4167-8a76-055cd67b5b23})"); } impl ::core::clone::Clone for BackgroundTaskRegistrationGroup { fn clone(&self) -> Self { @@ -3948,7 +3948,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskRegistrationGroup { impl ::windows::core::RuntimeName for BackgroundTaskRegistrationGroup { const NAME: &'static str = "Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup"; } -::windows::core::interface_hierarchy!(BackgroundTaskRegistrationGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTaskRegistrationGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTaskRegistrationGroup {} unsafe impl ::core::marker::Sync for BackgroundTaskRegistrationGroup {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -3962,7 +3962,7 @@ impl BackgroundWorkCost { } #[doc(hidden)] pub fn IBackgroundWorkCostStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3976,8 +3976,8 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -4054,7 +4054,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisherTrigger { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementPublisherTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger;{ab3e2612-25d3-48ae-8724-d81877ae6129})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger;{ab3e2612-25d3-48ae-8724-d81877ae6129})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherTrigger { fn clone(&self) -> Self { @@ -4070,7 +4070,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementPublisherTrig impl ::windows::core::RuntimeName for BluetoothLEAdvertisementPublisherTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementPublisherTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementPublisherTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: BluetoothLEAdvertisementPublisherTrigger) -> ::windows::core::Result { @@ -4099,8 +4099,8 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4193,7 +4193,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcherTrigger { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementWatcherTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger;{1aab1819-bce1-48eb-a827-59fb7cee52a6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger;{1aab1819-bce1-48eb-a827-59fb7cee52a6})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherTrigger { fn clone(&self) -> Self { @@ -4209,7 +4209,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementWatcherTrigge impl ::windows::core::RuntimeName for BluetoothLEAdvertisementWatcherTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementWatcherTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementWatcherTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: BluetoothLEAdvertisementWatcherTrigger) -> ::windows::core::Result { @@ -4238,8 +4238,8 @@ impl CachedFileUpdaterTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4255,7 +4255,7 @@ impl ::core::fmt::Debug for CachedFileUpdaterTrigger { } } impl ::windows::core::RuntimeType for CachedFileUpdaterTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CachedFileUpdaterTrigger;{e21caeeb-32f2-4d31-b553-b9e01bde37e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CachedFileUpdaterTrigger;{e21caeeb-32f2-4d31-b553-b9e01bde37e0})"); } impl ::core::clone::Clone for CachedFileUpdaterTrigger { fn clone(&self) -> Self { @@ -4271,7 +4271,7 @@ unsafe impl ::windows::core::Interface for CachedFileUpdaterTrigger { impl ::windows::core::RuntimeName for CachedFileUpdaterTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.CachedFileUpdaterTrigger"; } -::windows::core::interface_hierarchy!(CachedFileUpdaterTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CachedFileUpdaterTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: CachedFileUpdaterTrigger) -> ::windows::core::Result { @@ -4335,7 +4335,7 @@ impl ::core::fmt::Debug for CachedFileUpdaterTriggerDetails { } } impl ::windows::core::RuntimeType for CachedFileUpdaterTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CachedFileUpdaterTriggerDetails;{71838c13-1314-47b4-9597-dc7e248c17cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CachedFileUpdaterTriggerDetails;{71838c13-1314-47b4-9597-dc7e248c17cc})"); } impl ::core::clone::Clone for CachedFileUpdaterTriggerDetails { fn clone(&self) -> Self { @@ -4351,7 +4351,7 @@ unsafe impl ::windows::core::Interface for CachedFileUpdaterTriggerDetails { impl ::windows::core::RuntimeName for CachedFileUpdaterTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Background.CachedFileUpdaterTriggerDetails"; } -::windows::core::interface_hierarchy!(CachedFileUpdaterTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CachedFileUpdaterTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CachedFileUpdaterTriggerDetails {} unsafe impl ::core::marker::Sync for CachedFileUpdaterTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -4361,8 +4361,8 @@ impl ChatMessageNotificationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4378,7 +4378,7 @@ impl ::core::fmt::Debug for ChatMessageNotificationTrigger { } } impl ::windows::core::RuntimeType for ChatMessageNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ChatMessageNotificationTrigger;{513b43bf-1d40-5c5d-78f5-c923fee3739e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ChatMessageNotificationTrigger;{513b43bf-1d40-5c5d-78f5-c923fee3739e})"); } impl ::core::clone::Clone for ChatMessageNotificationTrigger { fn clone(&self) -> Self { @@ -4394,7 +4394,7 @@ unsafe impl ::windows::core::Interface for ChatMessageNotificationTrigger { impl ::windows::core::RuntimeName for ChatMessageNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ChatMessageNotificationTrigger"; } -::windows::core::interface_hierarchy!(ChatMessageNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ChatMessageNotificationTrigger) -> ::windows::core::Result { @@ -4423,8 +4423,8 @@ impl ChatMessageReceivedNotificationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4440,7 +4440,7 @@ impl ::core::fmt::Debug for ChatMessageReceivedNotificationTrigger { } } impl ::windows::core::RuntimeType for ChatMessageReceivedNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ChatMessageReceivedNotificationTrigger;{3ea3760e-baf5-4077-88e9-060cf6f0c6d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ChatMessageReceivedNotificationTrigger;{3ea3760e-baf5-4077-88e9-060cf6f0c6d5})"); } impl ::core::clone::Clone for ChatMessageReceivedNotificationTrigger { fn clone(&self) -> Self { @@ -4456,7 +4456,7 @@ unsafe impl ::windows::core::Interface for ChatMessageReceivedNotificationTrigge impl ::windows::core::RuntimeName for ChatMessageReceivedNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ChatMessageReceivedNotificationTrigger"; } -::windows::core::interface_hierarchy!(ChatMessageReceivedNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageReceivedNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ChatMessageReceivedNotificationTrigger) -> ::windows::core::Result { @@ -4485,8 +4485,8 @@ impl CommunicationBlockingAppSetAsActiveTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4502,7 +4502,7 @@ impl ::core::fmt::Debug for CommunicationBlockingAppSetAsActiveTrigger { } } impl ::windows::core::RuntimeType for CommunicationBlockingAppSetAsActiveTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CommunicationBlockingAppSetAsActiveTrigger;{fb91f28a-16a5-486d-974c-7835a8477be2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CommunicationBlockingAppSetAsActiveTrigger;{fb91f28a-16a5-486d-974c-7835a8477be2})"); } impl ::core::clone::Clone for CommunicationBlockingAppSetAsActiveTrigger { fn clone(&self) -> Self { @@ -4518,7 +4518,7 @@ unsafe impl ::windows::core::Interface for CommunicationBlockingAppSetAsActiveTr impl ::windows::core::RuntimeName for CommunicationBlockingAppSetAsActiveTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.CommunicationBlockingAppSetAsActiveTrigger"; } -::windows::core::interface_hierarchy!(CommunicationBlockingAppSetAsActiveTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CommunicationBlockingAppSetAsActiveTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: CommunicationBlockingAppSetAsActiveTrigger) -> ::windows::core::Result { @@ -4547,8 +4547,8 @@ impl ContactStoreNotificationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4564,7 +4564,7 @@ impl ::core::fmt::Debug for ContactStoreNotificationTrigger { } } impl ::windows::core::RuntimeType for ContactStoreNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ContactStoreNotificationTrigger;{c833419b-4705-4571-9a16-06b997bf9c96})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ContactStoreNotificationTrigger;{c833419b-4705-4571-9a16-06b997bf9c96})"); } impl ::core::clone::Clone for ContactStoreNotificationTrigger { fn clone(&self) -> Self { @@ -4580,7 +4580,7 @@ unsafe impl ::windows::core::Interface for ContactStoreNotificationTrigger { impl ::windows::core::RuntimeName for ContactStoreNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ContactStoreNotificationTrigger"; } -::windows::core::interface_hierarchy!(ContactStoreNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactStoreNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ContactStoreNotificationTrigger) -> ::windows::core::Result { @@ -4609,8 +4609,8 @@ impl ContentPrefetchTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4632,7 +4632,7 @@ impl ContentPrefetchTrigger { } #[doc(hidden)] pub fn IContentPrefetchTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4648,7 +4648,7 @@ impl ::core::fmt::Debug for ContentPrefetchTrigger { } } impl ::windows::core::RuntimeType for ContentPrefetchTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ContentPrefetchTrigger;{710627ee-04fa-440b-80c0-173202199e5d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ContentPrefetchTrigger;{710627ee-04fa-440b-80c0-173202199e5d})"); } impl ::core::clone::Clone for ContentPrefetchTrigger { fn clone(&self) -> Self { @@ -4664,7 +4664,7 @@ unsafe impl ::windows::core::Interface for ContentPrefetchTrigger { impl ::windows::core::RuntimeName for ContentPrefetchTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ContentPrefetchTrigger"; } -::windows::core::interface_hierarchy!(ContentPrefetchTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContentPrefetchTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ContentPrefetchTrigger) -> ::windows::core::Result { @@ -4691,8 +4691,8 @@ impl ConversationalAgentTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4708,7 +4708,7 @@ impl ::core::fmt::Debug for ConversationalAgentTrigger { } } impl ::windows::core::RuntimeType for ConversationalAgentTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ConversationalAgentTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ConversationalAgentTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for ConversationalAgentTrigger { fn clone(&self) -> Self { @@ -4724,7 +4724,7 @@ unsafe impl ::windows::core::Interface for ConversationalAgentTrigger { impl ::windows::core::RuntimeName for ConversationalAgentTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ConversationalAgentTrigger"; } -::windows::core::interface_hierarchy!(ConversationalAgentTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConversationalAgentTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ConversationalAgentTrigger) -> ::windows::core::Result { @@ -4770,7 +4770,7 @@ impl CustomSystemEventTrigger { } #[doc(hidden)] pub fn ICustomSystemEventTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4786,7 +4786,7 @@ impl ::core::fmt::Debug for CustomSystemEventTrigger { } } impl ::windows::core::RuntimeType for CustomSystemEventTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CustomSystemEventTrigger;{f3596798-cf6b-4ef4-a0ca-29cf4a278c87})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CustomSystemEventTrigger;{f3596798-cf6b-4ef4-a0ca-29cf4a278c87})"); } impl ::core::clone::Clone for CustomSystemEventTrigger { fn clone(&self) -> Self { @@ -4802,7 +4802,7 @@ unsafe impl ::windows::core::Interface for CustomSystemEventTrigger { impl ::windows::core::RuntimeName for CustomSystemEventTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.CustomSystemEventTrigger"; } -::windows::core::interface_hierarchy!(CustomSystemEventTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CustomSystemEventTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: CustomSystemEventTrigger) -> ::windows::core::Result { @@ -4861,7 +4861,7 @@ impl DeviceConnectionChangeTrigger { } #[doc(hidden)] pub fn IDeviceConnectionChangeTriggerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4877,7 +4877,7 @@ impl ::core::fmt::Debug for DeviceConnectionChangeTrigger { } } impl ::windows::core::RuntimeType for DeviceConnectionChangeTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger;{90875e64-3cdd-4efb-ab1c-5b3b6a60ce34})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger;{90875e64-3cdd-4efb-ab1c-5b3b6a60ce34})"); } impl ::core::clone::Clone for DeviceConnectionChangeTrigger { fn clone(&self) -> Self { @@ -4893,7 +4893,7 @@ unsafe impl ::windows::core::Interface for DeviceConnectionChangeTrigger { impl ::windows::core::RuntimeName for DeviceConnectionChangeTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger"; } -::windows::core::interface_hierarchy!(DeviceConnectionChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceConnectionChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: DeviceConnectionChangeTrigger) -> ::windows::core::Result { @@ -4950,7 +4950,7 @@ impl DeviceManufacturerNotificationTrigger { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IDeviceManufacturerNotificationTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4970,7 +4970,7 @@ impl ::core::fmt::Debug for DeviceManufacturerNotificationTrigger { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for DeviceManufacturerNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceManufacturerNotificationTrigger;{81278ab5-41ab-16da-86c2-7f7bf0912f5b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceManufacturerNotificationTrigger;{81278ab5-41ab-16da-86c2-7f7bf0912f5b})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for DeviceManufacturerNotificationTrigger { @@ -4991,7 +4991,7 @@ impl ::windows::core::RuntimeName for DeviceManufacturerNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.DeviceManufacturerNotificationTrigger"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(DeviceManufacturerNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceManufacturerNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; @@ -5021,8 +5021,8 @@ impl DeviceServicingTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -5056,7 +5056,7 @@ impl ::core::fmt::Debug for DeviceServicingTrigger { } } impl ::windows::core::RuntimeType for DeviceServicingTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceServicingTrigger;{1ab217ad-6e34-49d3-9e6f-17f1b6dfa881})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceServicingTrigger;{1ab217ad-6e34-49d3-9e6f-17f1b6dfa881})"); } impl ::core::clone::Clone for DeviceServicingTrigger { fn clone(&self) -> Self { @@ -5072,7 +5072,7 @@ unsafe impl ::windows::core::Interface for DeviceServicingTrigger { impl ::windows::core::RuntimeName for DeviceServicingTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.DeviceServicingTrigger"; } -::windows::core::interface_hierarchy!(DeviceServicingTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceServicingTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: DeviceServicingTrigger) -> ::windows::core::Result { @@ -5101,8 +5101,8 @@ impl DeviceUseTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -5136,7 +5136,7 @@ impl ::core::fmt::Debug for DeviceUseTrigger { } } impl ::windows::core::RuntimeType for DeviceUseTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceUseTrigger;{0da68011-334f-4d57-b6ec-6dca64b412e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceUseTrigger;{0da68011-334f-4d57-b6ec-6dca64b412e4})"); } impl ::core::clone::Clone for DeviceUseTrigger { fn clone(&self) -> Self { @@ -5152,7 +5152,7 @@ unsafe impl ::windows::core::Interface for DeviceUseTrigger { impl ::windows::core::RuntimeName for DeviceUseTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.DeviceUseTrigger"; } -::windows::core::interface_hierarchy!(DeviceUseTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceUseTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: DeviceUseTrigger) -> ::windows::core::Result { @@ -5190,7 +5190,7 @@ impl ::core::fmt::Debug for DeviceWatcherTrigger { } } impl ::windows::core::RuntimeType for DeviceWatcherTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceWatcherTrigger;{a4617fdd-8573-4260-befc-5bec89cb693d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceWatcherTrigger;{a4617fdd-8573-4260-befc-5bec89cb693d})"); } impl ::core::clone::Clone for DeviceWatcherTrigger { fn clone(&self) -> Self { @@ -5206,7 +5206,7 @@ unsafe impl ::windows::core::Interface for DeviceWatcherTrigger { impl ::windows::core::RuntimeName for DeviceWatcherTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.DeviceWatcherTrigger"; } -::windows::core::interface_hierarchy!(DeviceWatcherTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceWatcherTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: DeviceWatcherTrigger) -> ::windows::core::Result { @@ -5233,8 +5233,8 @@ impl EmailStoreNotificationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5250,7 +5250,7 @@ impl ::core::fmt::Debug for EmailStoreNotificationTrigger { } } impl ::windows::core::RuntimeType for EmailStoreNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.EmailStoreNotificationTrigger;{986d06da-47eb-4268-a4f2-f3f77188388a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.EmailStoreNotificationTrigger;{986d06da-47eb-4268-a4f2-f3f77188388a})"); } impl ::core::clone::Clone for EmailStoreNotificationTrigger { fn clone(&self) -> Self { @@ -5266,7 +5266,7 @@ unsafe impl ::windows::core::Interface for EmailStoreNotificationTrigger { impl ::windows::core::RuntimeName for EmailStoreNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.EmailStoreNotificationTrigger"; } -::windows::core::interface_hierarchy!(EmailStoreNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailStoreNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: EmailStoreNotificationTrigger) -> ::windows::core::Result { @@ -5328,12 +5328,12 @@ impl GattCharacteristicNotificationTrigger { } #[doc(hidden)] pub fn IGattCharacteristicNotificationTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGattCharacteristicNotificationTriggerFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5349,7 +5349,7 @@ impl ::core::fmt::Debug for GattCharacteristicNotificationTrigger { } } impl ::windows::core::RuntimeType for GattCharacteristicNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattCharacteristicNotificationTrigger;{e25f8fc8-0696-474f-a732-f292b0cebc5d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattCharacteristicNotificationTrigger;{e25f8fc8-0696-474f-a732-f292b0cebc5d})"); } impl ::core::clone::Clone for GattCharacteristicNotificationTrigger { fn clone(&self) -> Self { @@ -5365,7 +5365,7 @@ unsafe impl ::windows::core::Interface for GattCharacteristicNotificationTrigger impl ::windows::core::RuntimeName for GattCharacteristicNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.GattCharacteristicNotificationTrigger"; } -::windows::core::interface_hierarchy!(GattCharacteristicNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattCharacteristicNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: GattCharacteristicNotificationTrigger) -> ::windows::core::Result { @@ -5432,7 +5432,7 @@ impl GattServiceProviderTrigger { } #[doc(hidden)] pub fn IGattServiceProviderTriggerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5448,7 +5448,7 @@ impl ::core::fmt::Debug for GattServiceProviderTrigger { } } impl ::windows::core::RuntimeType for GattServiceProviderTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattServiceProviderTrigger;{ddc6a3e9-1557-4bd8-8542-468aa0c696f6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattServiceProviderTrigger;{ddc6a3e9-1557-4bd8-8542-468aa0c696f6})"); } impl ::core::clone::Clone for GattServiceProviderTrigger { fn clone(&self) -> Self { @@ -5464,7 +5464,7 @@ unsafe impl ::windows::core::Interface for GattServiceProviderTrigger { impl ::windows::core::RuntimeName for GattServiceProviderTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.GattServiceProviderTrigger"; } -::windows::core::interface_hierarchy!(GattServiceProviderTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattServiceProviderTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: GattServiceProviderTrigger) -> ::windows::core::Result { @@ -5519,7 +5519,7 @@ impl ::core::fmt::Debug for GattServiceProviderTriggerResult { } } impl ::windows::core::RuntimeType for GattServiceProviderTriggerResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattServiceProviderTriggerResult;{3c4691b1-b198-4e84-bad4-cf4ad299ed3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattServiceProviderTriggerResult;{3c4691b1-b198-4e84-bad4-cf4ad299ed3a})"); } impl ::core::clone::Clone for GattServiceProviderTriggerResult { fn clone(&self) -> Self { @@ -5535,7 +5535,7 @@ unsafe impl ::windows::core::Interface for GattServiceProviderTriggerResult { impl ::windows::core::RuntimeName for GattServiceProviderTriggerResult { const NAME: &'static str = "Windows.ApplicationModel.Background.GattServiceProviderTriggerResult"; } -::windows::core::interface_hierarchy!(GattServiceProviderTriggerResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattServiceProviderTriggerResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattServiceProviderTriggerResult {} unsafe impl ::core::marker::Sync for GattServiceProviderTriggerResult {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -5545,8 +5545,8 @@ impl GeovisitTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -5577,7 +5577,7 @@ impl ::core::fmt::Debug for GeovisitTrigger { } } impl ::windows::core::RuntimeType for GeovisitTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GeovisitTrigger;{4818edaa-04e1-4127-9a4c-19351b8a80a4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GeovisitTrigger;{4818edaa-04e1-4127-9a4c-19351b8a80a4})"); } impl ::core::clone::Clone for GeovisitTrigger { fn clone(&self) -> Self { @@ -5593,7 +5593,7 @@ unsafe impl ::windows::core::Interface for GeovisitTrigger { impl ::windows::core::RuntimeName for GeovisitTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.GeovisitTrigger"; } -::windows::core::interface_hierarchy!(GeovisitTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeovisitTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: GeovisitTrigger) -> ::windows::core::Result { @@ -5634,7 +5634,7 @@ impl LocationTrigger { } #[doc(hidden)] pub fn ILocationTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5650,7 +5650,7 @@ impl ::core::fmt::Debug for LocationTrigger { } } impl ::windows::core::RuntimeType for LocationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.LocationTrigger;{47666a1c-6877-481e-8026-ff7e14a811a0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.LocationTrigger;{47666a1c-6877-481e-8026-ff7e14a811a0})"); } impl ::core::clone::Clone for LocationTrigger { fn clone(&self) -> Self { @@ -5666,7 +5666,7 @@ unsafe impl ::windows::core::Interface for LocationTrigger { impl ::windows::core::RuntimeName for LocationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.LocationTrigger"; } -::windows::core::interface_hierarchy!(LocationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LocationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: LocationTrigger) -> ::windows::core::Result { @@ -5714,7 +5714,7 @@ impl MaintenanceTrigger { } #[doc(hidden)] pub fn IMaintenanceTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5730,7 +5730,7 @@ impl ::core::fmt::Debug for MaintenanceTrigger { } } impl ::windows::core::RuntimeType for MaintenanceTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MaintenanceTrigger;{68184c83-fc22-4ce5-841a-7239a9810047})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MaintenanceTrigger;{68184c83-fc22-4ce5-841a-7239a9810047})"); } impl ::core::clone::Clone for MaintenanceTrigger { fn clone(&self) -> Self { @@ -5746,7 +5746,7 @@ unsafe impl ::windows::core::Interface for MaintenanceTrigger { impl ::windows::core::RuntimeName for MaintenanceTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.MaintenanceTrigger"; } -::windows::core::interface_hierarchy!(MaintenanceTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MaintenanceTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: MaintenanceTrigger) -> ::windows::core::Result { @@ -5773,8 +5773,8 @@ impl MediaProcessingTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -5808,7 +5808,7 @@ impl ::core::fmt::Debug for MediaProcessingTrigger { } } impl ::windows::core::RuntimeType for MediaProcessingTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MediaProcessingTrigger;{9a95be65-8a52-4b30-9011-cf38040ea8b0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MediaProcessingTrigger;{9a95be65-8a52-4b30-9011-cf38040ea8b0})"); } impl ::core::clone::Clone for MediaProcessingTrigger { fn clone(&self) -> Self { @@ -5824,7 +5824,7 @@ unsafe impl ::windows::core::Interface for MediaProcessingTrigger { impl ::windows::core::RuntimeName for MediaProcessingTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.MediaProcessingTrigger"; } -::windows::core::interface_hierarchy!(MediaProcessingTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaProcessingTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: MediaProcessingTrigger) -> ::windows::core::Result { @@ -5851,8 +5851,8 @@ impl MobileBroadbandDeviceServiceNotificationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5868,7 +5868,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceServiceNotificationTrigger { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceServiceNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandDeviceServiceNotificationTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandDeviceServiceNotificationTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for MobileBroadbandDeviceServiceNotificationTrigger { fn clone(&self) -> Self { @@ -5884,7 +5884,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceServiceNotificat impl ::windows::core::RuntimeName for MobileBroadbandDeviceServiceNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.MobileBroadbandDeviceServiceNotificationTrigger"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceServiceNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceServiceNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: MobileBroadbandDeviceServiceNotificationTrigger) -> ::windows::core::Result { @@ -5913,8 +5913,8 @@ impl MobileBroadbandPcoDataChangeTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5930,7 +5930,7 @@ impl ::core::fmt::Debug for MobileBroadbandPcoDataChangeTrigger { } } impl ::windows::core::RuntimeType for MobileBroadbandPcoDataChangeTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandPcoDataChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandPcoDataChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for MobileBroadbandPcoDataChangeTrigger { fn clone(&self) -> Self { @@ -5946,7 +5946,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPcoDataChangeTrigger { impl ::windows::core::RuntimeName for MobileBroadbandPcoDataChangeTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.MobileBroadbandPcoDataChangeTrigger"; } -::windows::core::interface_hierarchy!(MobileBroadbandPcoDataChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPcoDataChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: MobileBroadbandPcoDataChangeTrigger) -> ::windows::core::Result { @@ -5975,8 +5975,8 @@ impl MobileBroadbandPinLockStateChangeTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5992,7 +5992,7 @@ impl ::core::fmt::Debug for MobileBroadbandPinLockStateChangeTrigger { } } impl ::windows::core::RuntimeType for MobileBroadbandPinLockStateChangeTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandPinLockStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandPinLockStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for MobileBroadbandPinLockStateChangeTrigger { fn clone(&self) -> Self { @@ -6008,7 +6008,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPinLockStateChangeTrig impl ::windows::core::RuntimeName for MobileBroadbandPinLockStateChangeTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.MobileBroadbandPinLockStateChangeTrigger"; } -::windows::core::interface_hierarchy!(MobileBroadbandPinLockStateChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPinLockStateChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: MobileBroadbandPinLockStateChangeTrigger) -> ::windows::core::Result { @@ -6037,8 +6037,8 @@ impl MobileBroadbandRadioStateChangeTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6054,7 +6054,7 @@ impl ::core::fmt::Debug for MobileBroadbandRadioStateChangeTrigger { } } impl ::windows::core::RuntimeType for MobileBroadbandRadioStateChangeTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandRadioStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandRadioStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for MobileBroadbandRadioStateChangeTrigger { fn clone(&self) -> Self { @@ -6070,7 +6070,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandRadioStateChangeTrigge impl ::windows::core::RuntimeName for MobileBroadbandRadioStateChangeTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.MobileBroadbandRadioStateChangeTrigger"; } -::windows::core::interface_hierarchy!(MobileBroadbandRadioStateChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandRadioStateChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: MobileBroadbandRadioStateChangeTrigger) -> ::windows::core::Result { @@ -6099,8 +6099,8 @@ impl MobileBroadbandRegistrationStateChangeTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6116,7 +6116,7 @@ impl ::core::fmt::Debug for MobileBroadbandRegistrationStateChangeTrigger { } } impl ::windows::core::RuntimeType for MobileBroadbandRegistrationStateChangeTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandRegistrationStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandRegistrationStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for MobileBroadbandRegistrationStateChangeTrigger { fn clone(&self) -> Self { @@ -6132,7 +6132,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandRegistrationStateChang impl ::windows::core::RuntimeName for MobileBroadbandRegistrationStateChangeTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.MobileBroadbandRegistrationStateChangeTrigger"; } -::windows::core::interface_hierarchy!(MobileBroadbandRegistrationStateChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandRegistrationStateChangeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: MobileBroadbandRegistrationStateChangeTrigger) -> ::windows::core::Result { @@ -6161,8 +6161,8 @@ impl NetworkOperatorDataUsageTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6178,7 +6178,7 @@ impl ::core::fmt::Debug for NetworkOperatorDataUsageTrigger { } } impl ::windows::core::RuntimeType for NetworkOperatorDataUsageTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorDataUsageTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorDataUsageTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for NetworkOperatorDataUsageTrigger { fn clone(&self) -> Self { @@ -6194,7 +6194,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorDataUsageTrigger { impl ::windows::core::RuntimeName for NetworkOperatorDataUsageTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.NetworkOperatorDataUsageTrigger"; } -::windows::core::interface_hierarchy!(NetworkOperatorDataUsageTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorDataUsageTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: NetworkOperatorDataUsageTrigger) -> ::windows::core::Result { @@ -6223,8 +6223,8 @@ impl NetworkOperatorHotspotAuthenticationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6240,7 +6240,7 @@ impl ::core::fmt::Debug for NetworkOperatorHotspotAuthenticationTrigger { } } impl ::windows::core::RuntimeType for NetworkOperatorHotspotAuthenticationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorHotspotAuthenticationTrigger;{e756c791-3001-4de5-83c7-de61d88831d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorHotspotAuthenticationTrigger;{e756c791-3001-4de5-83c7-de61d88831d0})"); } impl ::core::clone::Clone for NetworkOperatorHotspotAuthenticationTrigger { fn clone(&self) -> Self { @@ -6256,7 +6256,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorHotspotAuthenticationT impl ::windows::core::RuntimeName for NetworkOperatorHotspotAuthenticationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.NetworkOperatorHotspotAuthenticationTrigger"; } -::windows::core::interface_hierarchy!(NetworkOperatorHotspotAuthenticationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorHotspotAuthenticationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: NetworkOperatorHotspotAuthenticationTrigger) -> ::windows::core::Result { @@ -6295,7 +6295,7 @@ impl NetworkOperatorNotificationTrigger { } #[doc(hidden)] pub fn INetworkOperatorNotificationTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6311,7 +6311,7 @@ impl ::core::fmt::Debug for NetworkOperatorNotificationTrigger { } } impl ::windows::core::RuntimeType for NetworkOperatorNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorNotificationTrigger;{90089cc6-63cd-480c-95d1-6e6aef801e4a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorNotificationTrigger;{90089cc6-63cd-480c-95d1-6e6aef801e4a})"); } impl ::core::clone::Clone for NetworkOperatorNotificationTrigger { fn clone(&self) -> Self { @@ -6327,7 +6327,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorNotificationTrigger { impl ::windows::core::RuntimeName for NetworkOperatorNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.NetworkOperatorNotificationTrigger"; } -::windows::core::interface_hierarchy!(NetworkOperatorNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: NetworkOperatorNotificationTrigger) -> ::windows::core::Result { @@ -6354,8 +6354,8 @@ impl PaymentAppCanMakePaymentTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6371,7 +6371,7 @@ impl ::core::fmt::Debug for PaymentAppCanMakePaymentTrigger { } } impl ::windows::core::RuntimeType for PaymentAppCanMakePaymentTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PaymentAppCanMakePaymentTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PaymentAppCanMakePaymentTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for PaymentAppCanMakePaymentTrigger { fn clone(&self) -> Self { @@ -6387,7 +6387,7 @@ unsafe impl ::windows::core::Interface for PaymentAppCanMakePaymentTrigger { impl ::windows::core::RuntimeName for PaymentAppCanMakePaymentTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.PaymentAppCanMakePaymentTrigger"; } -::windows::core::interface_hierarchy!(PaymentAppCanMakePaymentTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentAppCanMakePaymentTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: PaymentAppCanMakePaymentTrigger) -> ::windows::core::Result { @@ -6439,7 +6439,7 @@ impl PhoneTrigger { } #[doc(hidden)] pub fn IPhoneTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6455,7 +6455,7 @@ impl ::core::fmt::Debug for PhoneTrigger { } } impl ::windows::core::RuntimeType for PhoneTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PhoneTrigger;{8dcfe99b-d4c5-49f1-b7d3-82e87a0e9dde})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PhoneTrigger;{8dcfe99b-d4c5-49f1-b7d3-82e87a0e9dde})"); } impl ::core::clone::Clone for PhoneTrigger { fn clone(&self) -> Self { @@ -6471,7 +6471,7 @@ unsafe impl ::windows::core::Interface for PhoneTrigger { impl ::windows::core::RuntimeName for PhoneTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.PhoneTrigger"; } -::windows::core::interface_hierarchy!(PhoneTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: PhoneTrigger) -> ::windows::core::Result { @@ -6500,8 +6500,8 @@ impl PushNotificationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Create(applicationid: &::windows::core::HSTRING) -> ::windows::core::Result { @@ -6512,7 +6512,7 @@ impl PushNotificationTrigger { } #[doc(hidden)] pub fn IPushNotificationTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6528,7 +6528,7 @@ impl ::core::fmt::Debug for PushNotificationTrigger { } } impl ::windows::core::RuntimeType for PushNotificationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PushNotificationTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PushNotificationTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for PushNotificationTrigger { fn clone(&self) -> Self { @@ -6544,7 +6544,7 @@ unsafe impl ::windows::core::Interface for PushNotificationTrigger { impl ::windows::core::RuntimeName for PushNotificationTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.PushNotificationTrigger"; } -::windows::core::interface_hierarchy!(PushNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PushNotificationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: PushNotificationTrigger) -> ::windows::core::Result { @@ -6573,8 +6573,8 @@ impl RcsEndUserMessageAvailableTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6590,7 +6590,7 @@ impl ::core::fmt::Debug for RcsEndUserMessageAvailableTrigger { } } impl ::windows::core::RuntimeType for RcsEndUserMessageAvailableTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.RcsEndUserMessageAvailableTrigger;{986d0d6a-b2f6-467f-a978-a44091c11a66})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.RcsEndUserMessageAvailableTrigger;{986d0d6a-b2f6-467f-a978-a44091c11a66})"); } impl ::core::clone::Clone for RcsEndUserMessageAvailableTrigger { fn clone(&self) -> Self { @@ -6606,7 +6606,7 @@ unsafe impl ::windows::core::Interface for RcsEndUserMessageAvailableTrigger { impl ::windows::core::RuntimeName for RcsEndUserMessageAvailableTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.RcsEndUserMessageAvailableTrigger"; } -::windows::core::interface_hierarchy!(RcsEndUserMessageAvailableTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsEndUserMessageAvailableTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: RcsEndUserMessageAvailableTrigger) -> ::windows::core::Result { @@ -6635,8 +6635,8 @@ impl RfcommConnectionTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -6711,7 +6711,7 @@ impl ::core::fmt::Debug for RfcommConnectionTrigger { } } impl ::windows::core::RuntimeType for RfcommConnectionTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.RfcommConnectionTrigger;{e8c4cae2-0b53-4464-9394-fd875654de64})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.RfcommConnectionTrigger;{e8c4cae2-0b53-4464-9394-fd875654de64})"); } impl ::core::clone::Clone for RfcommConnectionTrigger { fn clone(&self) -> Self { @@ -6727,7 +6727,7 @@ unsafe impl ::windows::core::Interface for RfcommConnectionTrigger { impl ::windows::core::RuntimeName for RfcommConnectionTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.RfcommConnectionTrigger"; } -::windows::core::interface_hierarchy!(RfcommConnectionTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RfcommConnectionTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: RfcommConnectionTrigger) -> ::windows::core::Result { @@ -6758,8 +6758,8 @@ impl SecondaryAuthenticationFactorAuthenticationTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6779,7 +6779,7 @@ impl ::core::fmt::Debug for SecondaryAuthenticationFactorAuthenticationTrigger { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SecondaryAuthenticationFactorAuthenticationTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SecondaryAuthenticationFactorAuthenticationTrigger;{f237f327-5181-4f24-96a7-700a4e5fac62})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SecondaryAuthenticationFactorAuthenticationTrigger;{f237f327-5181-4f24-96a7-700a4e5fac62})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationTrigger { @@ -6800,7 +6800,7 @@ impl ::windows::core::RuntimeName for SecondaryAuthenticationFactorAuthenticatio const NAME: &'static str = "Windows.ApplicationModel.Background.SecondaryAuthenticationFactorAuthenticationTrigger"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SecondaryAuthenticationFactorAuthenticationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SecondaryAuthenticationFactorAuthenticationTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; @@ -6841,7 +6841,7 @@ impl SensorDataThresholdTrigger { } #[doc(hidden)] pub fn ISensorDataThresholdTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6857,7 +6857,7 @@ impl ::core::fmt::Debug for SensorDataThresholdTrigger { } } impl ::windows::core::RuntimeType for SensorDataThresholdTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SensorDataThresholdTrigger;{5bc0f372-d48b-4b7f-abec-15f9bacc12e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SensorDataThresholdTrigger;{5bc0f372-d48b-4b7f-abec-15f9bacc12e2})"); } impl ::core::clone::Clone for SensorDataThresholdTrigger { fn clone(&self) -> Self { @@ -6873,7 +6873,7 @@ unsafe impl ::windows::core::Interface for SensorDataThresholdTrigger { impl ::windows::core::RuntimeName for SensorDataThresholdTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.SensorDataThresholdTrigger"; } -::windows::core::interface_hierarchy!(SensorDataThresholdTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SensorDataThresholdTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: SensorDataThresholdTrigger) -> ::windows::core::Result { @@ -6918,7 +6918,7 @@ impl SmartCardTrigger { } #[doc(hidden)] pub fn ISmartCardTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6934,7 +6934,7 @@ impl ::core::fmt::Debug for SmartCardTrigger { } } impl ::windows::core::RuntimeType for SmartCardTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SmartCardTrigger;{f53bc5ac-84ca-4972-8ce9-e58f97b37a50})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SmartCardTrigger;{f53bc5ac-84ca-4972-8ce9-e58f97b37a50})"); } impl ::core::clone::Clone for SmartCardTrigger { fn clone(&self) -> Self { @@ -6950,7 +6950,7 @@ unsafe impl ::windows::core::Interface for SmartCardTrigger { impl ::windows::core::RuntimeName for SmartCardTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.SmartCardTrigger"; } -::windows::core::interface_hierarchy!(SmartCardTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: SmartCardTrigger) -> ::windows::core::Result { @@ -6984,7 +6984,7 @@ impl SmsMessageReceivedTrigger { } #[doc(hidden)] pub fn ISmsMessageReceivedTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7000,7 +7000,7 @@ impl ::core::fmt::Debug for SmsMessageReceivedTrigger { } } impl ::windows::core::RuntimeType for SmsMessageReceivedTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SmsMessageReceivedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SmsMessageReceivedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for SmsMessageReceivedTrigger { fn clone(&self) -> Self { @@ -7016,7 +7016,7 @@ unsafe impl ::windows::core::Interface for SmsMessageReceivedTrigger { impl ::windows::core::RuntimeName for SmsMessageReceivedTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.SmsMessageReceivedTrigger"; } -::windows::core::interface_hierarchy!(SmsMessageReceivedTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsMessageReceivedTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: SmsMessageReceivedTrigger) -> ::windows::core::Result { @@ -7045,8 +7045,8 @@ impl SocketActivityTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsWakeFromLowPowerSupported(&self) -> ::windows::core::Result { @@ -7069,7 +7069,7 @@ impl ::core::fmt::Debug for SocketActivityTrigger { } } impl ::windows::core::RuntimeType for SocketActivityTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SocketActivityTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SocketActivityTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for SocketActivityTrigger { fn clone(&self) -> Self { @@ -7085,7 +7085,7 @@ unsafe impl ::windows::core::Interface for SocketActivityTrigger { impl ::windows::core::RuntimeName for SocketActivityTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.SocketActivityTrigger"; } -::windows::core::interface_hierarchy!(SocketActivityTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SocketActivityTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: SocketActivityTrigger) -> ::windows::core::Result { @@ -7121,7 +7121,7 @@ impl StorageLibraryChangeTrackerTrigger { } #[doc(hidden)] pub fn IStorageLibraryChangeTrackerTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7137,7 +7137,7 @@ impl ::core::fmt::Debug for StorageLibraryChangeTrackerTrigger { } } impl ::windows::core::RuntimeType for StorageLibraryChangeTrackerTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.StorageLibraryChangeTrackerTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.StorageLibraryChangeTrackerTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for StorageLibraryChangeTrackerTrigger { fn clone(&self) -> Self { @@ -7153,7 +7153,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryChangeTrackerTrigger { impl ::windows::core::RuntimeName for StorageLibraryChangeTrackerTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.StorageLibraryChangeTrackerTrigger"; } -::windows::core::interface_hierarchy!(StorageLibraryChangeTrackerTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryChangeTrackerTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: StorageLibraryChangeTrackerTrigger) -> ::windows::core::Result { @@ -7201,7 +7201,7 @@ impl StorageLibraryContentChangedTrigger { } #[doc(hidden)] pub fn IStorageLibraryContentChangedTriggerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7217,7 +7217,7 @@ impl ::core::fmt::Debug for StorageLibraryContentChangedTrigger { } } impl ::windows::core::RuntimeType for StorageLibraryContentChangedTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.StorageLibraryContentChangedTrigger;{1637e0a7-829c-45bc-929b-a1e7ea78d89b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.StorageLibraryContentChangedTrigger;{1637e0a7-829c-45bc-929b-a1e7ea78d89b})"); } impl ::core::clone::Clone for StorageLibraryContentChangedTrigger { fn clone(&self) -> Self { @@ -7233,7 +7233,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryContentChangedTrigger { impl ::windows::core::RuntimeName for StorageLibraryContentChangedTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.StorageLibraryContentChangedTrigger"; } -::windows::core::interface_hierarchy!(StorageLibraryContentChangedTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryContentChangedTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: StorageLibraryContentChangedTrigger) -> ::windows::core::Result { @@ -7272,7 +7272,7 @@ impl SystemCondition { } #[doc(hidden)] pub fn ISystemConditionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7288,7 +7288,7 @@ impl ::core::fmt::Debug for SystemCondition { } } impl ::windows::core::RuntimeType for SystemCondition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SystemCondition;{c15fb476-89c5-420b-abd3-fb3030472128})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SystemCondition;{c15fb476-89c5-420b-abd3-fb3030472128})"); } impl ::core::clone::Clone for SystemCondition { fn clone(&self) -> Self { @@ -7304,7 +7304,7 @@ unsafe impl ::windows::core::Interface for SystemCondition { impl ::windows::core::RuntimeName for SystemCondition { const NAME: &'static str = "Windows.ApplicationModel.Background.SystemCondition"; } -::windows::core::interface_hierarchy!(SystemCondition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemCondition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundCondition { type Error = ::windows::core::Error; fn try_from(value: SystemCondition) -> ::windows::core::Result { @@ -7350,7 +7350,7 @@ impl SystemTrigger { } #[doc(hidden)] pub fn ISystemTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7366,7 +7366,7 @@ impl ::core::fmt::Debug for SystemTrigger { } } impl ::windows::core::RuntimeType for SystemTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SystemTrigger;{1d80c776-3748-4463-8d7e-276dc139ac1c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SystemTrigger;{1d80c776-3748-4463-8d7e-276dc139ac1c})"); } impl ::core::clone::Clone for SystemTrigger { fn clone(&self) -> Self { @@ -7382,7 +7382,7 @@ unsafe impl ::windows::core::Interface for SystemTrigger { impl ::windows::core::RuntimeName for SystemTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.SystemTrigger"; } -::windows::core::interface_hierarchy!(SystemTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: SystemTrigger) -> ::windows::core::Result { @@ -7409,8 +7409,8 @@ impl TetheringEntitlementCheckTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7426,7 +7426,7 @@ impl ::core::fmt::Debug for TetheringEntitlementCheckTrigger { } } impl ::windows::core::RuntimeType for TetheringEntitlementCheckTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.TetheringEntitlementCheckTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.TetheringEntitlementCheckTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for TetheringEntitlementCheckTrigger { fn clone(&self) -> Self { @@ -7442,7 +7442,7 @@ unsafe impl ::windows::core::Interface for TetheringEntitlementCheckTrigger { impl ::windows::core::RuntimeName for TetheringEntitlementCheckTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.TetheringEntitlementCheckTrigger"; } -::windows::core::interface_hierarchy!(TetheringEntitlementCheckTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TetheringEntitlementCheckTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: TetheringEntitlementCheckTrigger) -> ::windows::core::Result { @@ -7490,7 +7490,7 @@ impl TimeTrigger { } #[doc(hidden)] pub fn ITimeTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7506,7 +7506,7 @@ impl ::core::fmt::Debug for TimeTrigger { } } impl ::windows::core::RuntimeType for TimeTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.TimeTrigger;{656e5556-0b2a-4377-ba70-3b45a935547f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.TimeTrigger;{656e5556-0b2a-4377-ba70-3b45a935547f})"); } impl ::core::clone::Clone for TimeTrigger { fn clone(&self) -> Self { @@ -7522,7 +7522,7 @@ unsafe impl ::windows::core::Interface for TimeTrigger { impl ::windows::core::RuntimeName for TimeTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.TimeTrigger"; } -::windows::core::interface_hierarchy!(TimeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimeTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: TimeTrigger) -> ::windows::core::Result { @@ -7549,8 +7549,8 @@ impl ToastNotificationActionTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Create(applicationid: &::windows::core::HSTRING) -> ::windows::core::Result { @@ -7561,7 +7561,7 @@ impl ToastNotificationActionTrigger { } #[doc(hidden)] pub fn IToastNotificationActionTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7577,7 +7577,7 @@ impl ::core::fmt::Debug for ToastNotificationActionTrigger { } } impl ::windows::core::RuntimeType for ToastNotificationActionTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ToastNotificationActionTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ToastNotificationActionTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for ToastNotificationActionTrigger { fn clone(&self) -> Self { @@ -7593,7 +7593,7 @@ unsafe impl ::windows::core::Interface for ToastNotificationActionTrigger { impl ::windows::core::RuntimeName for ToastNotificationActionTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ToastNotificationActionTrigger"; } -::windows::core::interface_hierarchy!(ToastNotificationActionTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotificationActionTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ToastNotificationActionTrigger) -> ::windows::core::Result { @@ -7622,8 +7622,8 @@ impl ToastNotificationHistoryChangedTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Create(applicationid: &::windows::core::HSTRING) -> ::windows::core::Result { @@ -7634,7 +7634,7 @@ impl ToastNotificationHistoryChangedTrigger { } #[doc(hidden)] pub fn IToastNotificationHistoryChangedTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7650,7 +7650,7 @@ impl ::core::fmt::Debug for ToastNotificationHistoryChangedTrigger { } } impl ::windows::core::RuntimeType for ToastNotificationHistoryChangedTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ToastNotificationHistoryChangedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ToastNotificationHistoryChangedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for ToastNotificationHistoryChangedTrigger { fn clone(&self) -> Self { @@ -7666,7 +7666,7 @@ unsafe impl ::windows::core::Interface for ToastNotificationHistoryChangedTrigge impl ::windows::core::RuntimeName for ToastNotificationHistoryChangedTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.ToastNotificationHistoryChangedTrigger"; } -::windows::core::interface_hierarchy!(ToastNotificationHistoryChangedTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotificationHistoryChangedTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: ToastNotificationHistoryChangedTrigger) -> ::windows::core::Result { @@ -7702,7 +7702,7 @@ impl UserNotificationChangedTrigger { } #[doc(hidden)] pub fn IUserNotificationChangedTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7718,7 +7718,7 @@ impl ::core::fmt::Debug for UserNotificationChangedTrigger { } } impl ::windows::core::RuntimeType for UserNotificationChangedTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.UserNotificationChangedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.UserNotificationChangedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for UserNotificationChangedTrigger { fn clone(&self) -> Self { @@ -7734,7 +7734,7 @@ unsafe impl ::windows::core::Interface for UserNotificationChangedTrigger { impl ::windows::core::RuntimeName for UserNotificationChangedTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.UserNotificationChangedTrigger"; } -::windows::core::interface_hierarchy!(UserNotificationChangedTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserNotificationChangedTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: UserNotificationChangedTrigger) -> ::windows::core::Result { @@ -7763,8 +7763,8 @@ impl WiFiOnDemandHotspotConnectTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7780,7 +7780,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotConnectTrigger { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotConnectTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.WiFiOnDemandHotspotConnectTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.WiFiOnDemandHotspotConnectTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for WiFiOnDemandHotspotConnectTrigger { fn clone(&self) -> Self { @@ -7796,7 +7796,7 @@ unsafe impl ::windows::core::Interface for WiFiOnDemandHotspotConnectTrigger { impl ::windows::core::RuntimeName for WiFiOnDemandHotspotConnectTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.WiFiOnDemandHotspotConnectTrigger"; } -::windows::core::interface_hierarchy!(WiFiOnDemandHotspotConnectTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiOnDemandHotspotConnectTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: WiFiOnDemandHotspotConnectTrigger) -> ::windows::core::Result { @@ -7825,8 +7825,8 @@ impl WiFiOnDemandHotspotUpdateMetadataTrigger { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7842,7 +7842,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotUpdateMetadataTrigger { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotUpdateMetadataTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.WiFiOnDemandHotspotUpdateMetadataTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.WiFiOnDemandHotspotUpdateMetadataTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } impl ::core::clone::Clone for WiFiOnDemandHotspotUpdateMetadataTrigger { fn clone(&self) -> Self { @@ -7858,7 +7858,7 @@ unsafe impl ::windows::core::Interface for WiFiOnDemandHotspotUpdateMetadataTrig impl ::windows::core::RuntimeName for WiFiOnDemandHotspotUpdateMetadataTrigger { const NAME: &'static str = "Windows.ApplicationModel.Background.WiFiOnDemandHotspotUpdateMetadataTrigger"; } -::windows::core::interface_hierarchy!(WiFiOnDemandHotspotUpdateMetadataTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiOnDemandHotspotUpdateMetadataTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTrigger { type Error = ::windows::core::Error; fn try_from(value: WiFiOnDemandHotspotUpdateMetadataTrigger) -> ::windows::core::Result { @@ -7910,7 +7910,7 @@ impl ::core::fmt::Debug for AlarmAccessStatus { } } impl ::windows::core::RuntimeType for AlarmAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.AlarmAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.AlarmAccessStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -7942,7 +7942,7 @@ impl ::core::fmt::Debug for ApplicationTriggerResult { } } impl ::windows::core::RuntimeType for ApplicationTriggerResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.ApplicationTriggerResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.ApplicationTriggerResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -7972,7 +7972,7 @@ impl ::core::fmt::Debug for BackgroundAccessRequestKind { } } impl ::windows::core::RuntimeType for BackgroundAccessRequestKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundAccessRequestKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundAccessRequestKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8008,7 +8008,7 @@ impl ::core::fmt::Debug for BackgroundAccessStatus { } } impl ::windows::core::RuntimeType for BackgroundAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundAccessStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8048,7 +8048,7 @@ impl ::core::fmt::Debug for BackgroundTaskCancellationReason { } } impl ::windows::core::RuntimeType for BackgroundTaskCancellationReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundTaskCancellationReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundTaskCancellationReason;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8079,7 +8079,7 @@ impl ::core::fmt::Debug for BackgroundTaskThrottleCounter { } } impl ::windows::core::RuntimeType for BackgroundTaskThrottleCounter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundTaskThrottleCounter;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundTaskThrottleCounter;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8110,7 +8110,7 @@ impl ::core::fmt::Debug for BackgroundWorkCostValue { } } impl ::windows::core::RuntimeType for BackgroundWorkCostValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundWorkCostValue;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.BackgroundWorkCostValue;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8140,7 +8140,7 @@ impl ::core::fmt::Debug for CustomSystemEventTriggerRecurrence { } } impl ::windows::core::RuntimeType for CustomSystemEventTriggerRecurrence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.CustomSystemEventTriggerRecurrence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.CustomSystemEventTriggerRecurrence;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8172,7 +8172,7 @@ impl ::core::fmt::Debug for DeviceTriggerResult { } } impl ::windows::core::RuntimeType for DeviceTriggerResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.DeviceTriggerResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.DeviceTriggerResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8201,7 +8201,7 @@ impl ::core::fmt::Debug for LocationTriggerType { } } impl ::windows::core::RuntimeType for LocationTriggerType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.LocationTriggerType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.LocationTriggerType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8233,7 +8233,7 @@ impl ::core::fmt::Debug for MediaProcessingTriggerResult { } } impl ::windows::core::RuntimeType for MediaProcessingTriggerResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.MediaProcessingTriggerResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.MediaProcessingTriggerResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8270,7 +8270,7 @@ impl ::core::fmt::Debug for SystemConditionType { } } impl ::windows::core::RuntimeType for SystemConditionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.SystemConditionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.SystemConditionType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] @@ -8314,15 +8314,15 @@ impl ::core::fmt::Debug for SystemTriggerType { } } impl ::windows::core::RuntimeType for SystemTriggerType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.SystemTriggerType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.SystemTriggerType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] pub struct BackgroundTaskCanceledEventHandler(pub ::windows::core::IUnknown); impl BackgroundTaskCanceledEventHandler { pub fn new, BackgroundTaskCancellationReason) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = BackgroundTaskCanceledEventHandlerBox:: { vtable: &BackgroundTaskCanceledEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = BackgroundTaskCanceledEventHandlerBox:: { vtable: &BackgroundTaskCanceledEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: P0, reason: BackgroundTaskCancellationReason) -> ::windows::core::Result<()> where @@ -8337,7 +8337,7 @@ impl BackgroundTaskCanceledEventHandler { struct BackgroundTaskCanceledEventHandlerBox, BackgroundTaskCancellationReason) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const BackgroundTaskCanceledEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, BackgroundTaskCancellationReason) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> BackgroundTaskCanceledEventHandlerBox { const VTABLE: BackgroundTaskCanceledEventHandler_Vtbl = BackgroundTaskCanceledEventHandler_Vtbl { @@ -8346,7 +8346,7 @@ impl, BackgroundTaskCa }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -8362,7 +8362,7 @@ impl, BackgroundTaskCa let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -8394,7 +8394,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskCanceledEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa6c4bac0_51f8_4c57_ac3f_156dd1680c4f); } impl ::windows::core::RuntimeType for BackgroundTaskCanceledEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a6c4bac0-51f8-4c57-ac3f-156dd1680c4f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a6c4bac0-51f8-4c57-ac3f-156dd1680c4f}"); } #[repr(C)] #[doc(hidden)] @@ -8407,8 +8407,8 @@ pub struct BackgroundTaskCanceledEventHandler_Vtbl { pub struct BackgroundTaskCompletedEventHandler(pub ::windows::core::IUnknown); impl BackgroundTaskCompletedEventHandler { pub fn new, ::core::option::Option<&BackgroundTaskCompletedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = BackgroundTaskCompletedEventHandlerBox:: { vtable: &BackgroundTaskCompletedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = BackgroundTaskCompletedEventHandlerBox:: { vtable: &BackgroundTaskCompletedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &BackgroundTaskRegistration, args: &BackgroundTaskCompletedEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -8419,7 +8419,7 @@ impl BackgroundTaskCompletedEventHandler { struct BackgroundTaskCompletedEventHandlerBox, ::core::option::Option<&BackgroundTaskCompletedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const BackgroundTaskCompletedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&BackgroundTaskCompletedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> BackgroundTaskCompletedEventHandlerBox { const VTABLE: BackgroundTaskCompletedEventHandler_Vtbl = BackgroundTaskCompletedEventHandler_Vtbl { @@ -8428,7 +8428,7 @@ impl, ::core::optio }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -8444,7 +8444,7 @@ impl, ::core::optio let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -8476,7 +8476,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskCompletedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5b38e929_a086_46a7_a678_439135822bcf); } impl ::windows::core::RuntimeType for BackgroundTaskCompletedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5b38e929-a086-46a7-a678-439135822bcf}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5b38e929-a086-46a7-a678-439135822bcf}"); } #[repr(C)] #[doc(hidden)] @@ -8489,8 +8489,8 @@ pub struct BackgroundTaskCompletedEventHandler_Vtbl { pub struct BackgroundTaskProgressEventHandler(pub ::windows::core::IUnknown); impl BackgroundTaskProgressEventHandler { pub fn new, ::core::option::Option<&BackgroundTaskProgressEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = BackgroundTaskProgressEventHandlerBox:: { vtable: &BackgroundTaskProgressEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = BackgroundTaskProgressEventHandlerBox:: { vtable: &BackgroundTaskProgressEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &BackgroundTaskRegistration, args: &BackgroundTaskProgressEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -8501,7 +8501,7 @@ impl BackgroundTaskProgressEventHandler { struct BackgroundTaskProgressEventHandlerBox, ::core::option::Option<&BackgroundTaskProgressEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const BackgroundTaskProgressEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&BackgroundTaskProgressEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> BackgroundTaskProgressEventHandlerBox { const VTABLE: BackgroundTaskProgressEventHandler_Vtbl = BackgroundTaskProgressEventHandler_Vtbl { @@ -8510,7 +8510,7 @@ impl, ::core::optio }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -8526,7 +8526,7 @@ impl, ::core::optio let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -8558,7 +8558,7 @@ unsafe impl ::windows::core::Interface for BackgroundTaskProgressEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x46e0683c_8a88_4c99_804c_76897f6277a6); } impl ::windows::core::RuntimeType for BackgroundTaskProgressEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{46e0683c-8a88-4c99-804c-76897f6277a6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{46e0683c-8a88-4c99-804c-76897f6277a6}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs index 1a7e22f405..20c635d71e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs @@ -203,7 +203,7 @@ impl ::core::fmt::Debug for PhoneCallBlockedTriggerDetails { } } impl ::windows::core::RuntimeType for PhoneCallBlockedTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails;{a4a690a2-e4c1-427f-864e-e470477ddb67})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails;{a4a690a2-e4c1-427f-864e-e470477ddb67})"); } impl ::core::clone::Clone for PhoneCallBlockedTriggerDetails { fn clone(&self) -> Self { @@ -219,7 +219,7 @@ unsafe impl ::windows::core::Interface for PhoneCallBlockedTriggerDetails { impl ::windows::core::RuntimeName for PhoneCallBlockedTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails"; } -::windows::core::interface_hierarchy!(PhoneCallBlockedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallBlockedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallBlockedTriggerDetails {} unsafe impl ::core::marker::Sync for PhoneCallBlockedTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`, `\"deprecated\"`*"] @@ -263,7 +263,7 @@ impl ::core::fmt::Debug for PhoneCallOriginDataRequestTriggerDetails { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PhoneCallOriginDataRequestTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails;{6e9b5b3f-c54b-4e82-4cc9-e329a4184592})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails;{6e9b5b3f-c54b-4e82-4cc9-e329a4184592})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PhoneCallOriginDataRequestTriggerDetails { @@ -284,7 +284,7 @@ impl ::windows::core::RuntimeName for PhoneCallOriginDataRequestTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PhoneCallOriginDataRequestTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallOriginDataRequestTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PhoneCallOriginDataRequestTriggerDetails {} #[cfg(feature = "deprecated")] @@ -366,7 +366,7 @@ impl ::core::fmt::Debug for PhoneIncomingCallDismissedTriggerDetails { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PhoneIncomingCallDismissedTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails;{bad30276-83b6-5732-9c38-0c206546196a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails;{bad30276-83b6-5732-9c38-0c206546196a})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PhoneIncomingCallDismissedTriggerDetails { @@ -387,7 +387,7 @@ impl ::windows::core::RuntimeName for PhoneIncomingCallDismissedTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PhoneIncomingCallDismissedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneIncomingCallDismissedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PhoneIncomingCallDismissedTriggerDetails {} #[cfg(feature = "deprecated")] @@ -423,7 +423,7 @@ impl ::core::fmt::Debug for PhoneIncomingCallNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for PhoneIncomingCallNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails;{2b0e6044-9b32-5d42-8222-d2812e39fb21})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails;{2b0e6044-9b32-5d42-8222-d2812e39fb21})"); } impl ::core::clone::Clone for PhoneIncomingCallNotificationTriggerDetails { fn clone(&self) -> Self { @@ -439,7 +439,7 @@ unsafe impl ::windows::core::Interface for PhoneIncomingCallNotificationTriggerD impl ::windows::core::RuntimeName for PhoneIncomingCallNotificationTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(PhoneIncomingCallNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneIncomingCallNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneIncomingCallNotificationTriggerDetails {} unsafe impl ::core::marker::Sync for PhoneIncomingCallNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] @@ -480,7 +480,7 @@ impl ::core::fmt::Debug for PhoneLineChangedTriggerDetails { } } impl ::windows::core::RuntimeType for PhoneLineChangedTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails;{c6d321e7-d11d-40d8-b2b7-e40a01d66249})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails;{c6d321e7-d11d-40d8-b2b7-e40a01d66249})"); } impl ::core::clone::Clone for PhoneLineChangedTriggerDetails { fn clone(&self) -> Self { @@ -496,7 +496,7 @@ unsafe impl ::windows::core::Interface for PhoneLineChangedTriggerDetails { impl ::windows::core::RuntimeName for PhoneLineChangedTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails"; } -::windows::core::interface_hierarchy!(PhoneLineChangedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLineChangedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneLineChangedTriggerDetails {} unsafe impl ::core::marker::Sync for PhoneLineChangedTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] @@ -537,7 +537,7 @@ impl ::core::fmt::Debug for PhoneNewVoicemailMessageTriggerDetails { } } impl ::windows::core::RuntimeType for PhoneNewVoicemailMessageTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails;{13a8c01b-b831-48d3-8ba9-8d22a6580dcf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails;{13a8c01b-b831-48d3-8ba9-8d22a6580dcf})"); } impl ::core::clone::Clone for PhoneNewVoicemailMessageTriggerDetails { fn clone(&self) -> Self { @@ -553,7 +553,7 @@ unsafe impl ::windows::core::Interface for PhoneNewVoicemailMessageTriggerDetail impl ::windows::core::RuntimeName for PhoneNewVoicemailMessageTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails"; } -::windows::core::interface_hierarchy!(PhoneNewVoicemailMessageTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneNewVoicemailMessageTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneNewVoicemailMessageTriggerDetails {} unsafe impl ::core::marker::Sync for PhoneNewVoicemailMessageTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] @@ -585,7 +585,7 @@ impl ::core::fmt::Debug for PhoneCallBlockedReason { } } impl ::windows::core::RuntimeType for PhoneCallBlockedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneCallBlockedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneCallBlockedReason;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -625,7 +625,7 @@ impl ::core::fmt::Debug for PhoneIncomingCallDismissedReason { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PhoneIncomingCallDismissedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedReason;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] #[repr(transparent)] @@ -656,7 +656,7 @@ impl ::core::fmt::Debug for PhoneLineChangeKind { } } impl ::windows::core::RuntimeType for PhoneLineChangeKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneLineChangeKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneLineChangeKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] #[repr(transparent)] @@ -727,7 +727,7 @@ impl ::core::ops::Not for PhoneLineProperties { } } impl ::windows::core::RuntimeType for PhoneLineProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneLineProperties;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneLineProperties;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] #[repr(transparent)] @@ -763,7 +763,7 @@ impl ::core::fmt::Debug for PhoneTriggerType { } } impl ::windows::core::RuntimeType for PhoneTriggerType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneTriggerType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.Background.PhoneTriggerType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs index 26bf7dba7f..299d2176d2 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -211,8 +211,8 @@ impl PhoneCallOrigin { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"deprecated\"`*"] @@ -307,7 +307,7 @@ impl ::core::fmt::Debug for PhoneCallOrigin { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PhoneCallOrigin { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Provider.PhoneCallOrigin;{20613479-0ef9-4454-871c-afb66a14b6a5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Provider.PhoneCallOrigin;{20613479-0ef9-4454-871c-afb66a14b6a5})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PhoneCallOrigin { @@ -328,7 +328,7 @@ impl ::windows::core::RuntimeName for PhoneCallOrigin { const NAME: &'static str = "Windows.ApplicationModel.Calls.Provider.PhoneCallOrigin"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PhoneCallOrigin, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallOrigin, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PhoneCallOrigin {} #[cfg(feature = "deprecated")] @@ -375,19 +375,19 @@ impl PhoneCallOriginManager { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IPhoneCallOriginManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IPhoneCallOriginManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IPhoneCallOriginManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index 9aed554952..8dda0fa931 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -1494,7 +1494,7 @@ impl ::core::fmt::Debug for CallAnswerEventArgs { } } impl ::windows::core::RuntimeType for CallAnswerEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallAnswerEventArgs;{fd789617-2dd7-4c8c-b2bd-95d17a5bb733})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallAnswerEventArgs;{fd789617-2dd7-4c8c-b2bd-95d17a5bb733})"); } impl ::core::clone::Clone for CallAnswerEventArgs { fn clone(&self) -> Self { @@ -1510,7 +1510,7 @@ unsafe impl ::windows::core::Interface for CallAnswerEventArgs { impl ::windows::core::RuntimeName for CallAnswerEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Calls.CallAnswerEventArgs"; } -::windows::core::interface_hierarchy!(CallAnswerEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CallAnswerEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CallAnswerEventArgs {} unsafe impl ::core::marker::Sync for CallAnswerEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -1537,7 +1537,7 @@ impl ::core::fmt::Debug for CallRejectEventArgs { } } impl ::windows::core::RuntimeType for CallRejectEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallRejectEventArgs;{da47fad7-13d4-4d92-a1c2-b77811ee37ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallRejectEventArgs;{da47fad7-13d4-4d92-a1c2-b77811ee37ec})"); } impl ::core::clone::Clone for CallRejectEventArgs { fn clone(&self) -> Self { @@ -1553,7 +1553,7 @@ unsafe impl ::windows::core::Interface for CallRejectEventArgs { impl ::windows::core::RuntimeName for CallRejectEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Calls.CallRejectEventArgs"; } -::windows::core::interface_hierarchy!(CallRejectEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CallRejectEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CallRejectEventArgs {} unsafe impl ::core::marker::Sync for CallRejectEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -1580,7 +1580,7 @@ impl ::core::fmt::Debug for CallStateChangeEventArgs { } } impl ::windows::core::RuntimeType for CallStateChangeEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallStateChangeEventArgs;{eab2349e-66f5-47f9-9fb5-459c5198c720})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallStateChangeEventArgs;{eab2349e-66f5-47f9-9fb5-459c5198c720})"); } impl ::core::clone::Clone for CallStateChangeEventArgs { fn clone(&self) -> Self { @@ -1596,7 +1596,7 @@ unsafe impl ::windows::core::Interface for CallStateChangeEventArgs { impl ::windows::core::RuntimeName for CallStateChangeEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Calls.CallStateChangeEventArgs"; } -::windows::core::interface_hierarchy!(CallStateChangeEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CallStateChangeEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CallStateChangeEventArgs {} unsafe impl ::core::marker::Sync for CallStateChangeEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -1620,7 +1620,7 @@ impl ::core::fmt::Debug for LockScreenCallEndCallDeferral { } } impl ::windows::core::RuntimeType for LockScreenCallEndCallDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallEndCallDeferral;{2dd7ed0d-98ed-4041-9632-50ff812b773f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallEndCallDeferral;{2dd7ed0d-98ed-4041-9632-50ff812b773f})"); } impl ::core::clone::Clone for LockScreenCallEndCallDeferral { fn clone(&self) -> Self { @@ -1636,7 +1636,7 @@ unsafe impl ::windows::core::Interface for LockScreenCallEndCallDeferral { impl ::windows::core::RuntimeName for LockScreenCallEndCallDeferral { const NAME: &'static str = "Windows.ApplicationModel.Calls.LockScreenCallEndCallDeferral"; } -::windows::core::interface_hierarchy!(LockScreenCallEndCallDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenCallEndCallDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LockScreenCallEndCallDeferral {} unsafe impl ::core::marker::Sync for LockScreenCallEndCallDeferral {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -1672,7 +1672,7 @@ impl ::core::fmt::Debug for LockScreenCallEndRequestedEventArgs { } } impl ::windows::core::RuntimeType for LockScreenCallEndRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallEndRequestedEventArgs;{8190a363-6f27-46e9-aeb6-c0ae83e47dc7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallEndRequestedEventArgs;{8190a363-6f27-46e9-aeb6-c0ae83e47dc7})"); } impl ::core::clone::Clone for LockScreenCallEndRequestedEventArgs { fn clone(&self) -> Self { @@ -1688,7 +1688,7 @@ unsafe impl ::windows::core::Interface for LockScreenCallEndRequestedEventArgs { impl ::windows::core::RuntimeName for LockScreenCallEndRequestedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Calls.LockScreenCallEndRequestedEventArgs"; } -::windows::core::interface_hierarchy!(LockScreenCallEndRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenCallEndRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LockScreenCallEndRequestedEventArgs {} unsafe impl ::core::marker::Sync for LockScreenCallEndRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -1753,7 +1753,7 @@ impl ::core::fmt::Debug for LockScreenCallUI { } } impl ::windows::core::RuntimeType for LockScreenCallUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallUI;{c596fd8d-73c9-4a14-b021-ec1c50a3b727})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallUI;{c596fd8d-73c9-4a14-b021-ec1c50a3b727})"); } impl ::core::clone::Clone for LockScreenCallUI { fn clone(&self) -> Self { @@ -1769,7 +1769,7 @@ unsafe impl ::windows::core::Interface for LockScreenCallUI { impl ::windows::core::RuntimeName for LockScreenCallUI { const NAME: &'static str = "Windows.ApplicationModel.Calls.LockScreenCallUI"; } -::windows::core::interface_hierarchy!(LockScreenCallUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenCallUI, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LockScreenCallUI {} unsafe impl ::core::marker::Sync for LockScreenCallUI {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -1796,7 +1796,7 @@ impl ::core::fmt::Debug for MuteChangeEventArgs { } } impl ::windows::core::RuntimeType for MuteChangeEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.MuteChangeEventArgs;{8585e159-0c41-432c-814d-c5f1fdf530be})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.MuteChangeEventArgs;{8585e159-0c41-432c-814d-c5f1fdf530be})"); } impl ::core::clone::Clone for MuteChangeEventArgs { fn clone(&self) -> Self { @@ -1812,7 +1812,7 @@ unsafe impl ::windows::core::Interface for MuteChangeEventArgs { impl ::windows::core::RuntimeName for MuteChangeEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Calls.MuteChangeEventArgs"; } -::windows::core::interface_hierarchy!(MuteChangeEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MuteChangeEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MuteChangeEventArgs {} unsafe impl ::core::marker::Sync for MuteChangeEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2060,7 +2060,7 @@ impl PhoneCall { } #[doc(hidden)] pub fn IPhoneCallStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2076,7 +2076,7 @@ impl ::core::fmt::Debug for PhoneCall { } } impl ::windows::core::RuntimeType for PhoneCall { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCall;{c14ed0f8-c17d-59d2-9628-66e545b6cd21})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCall;{c14ed0f8-c17d-59d2-9628-66e545b6cd21})"); } impl ::core::clone::Clone for PhoneCall { fn clone(&self) -> Self { @@ -2092,7 +2092,7 @@ unsafe impl ::windows::core::Interface for PhoneCall { impl ::windows::core::RuntimeName for PhoneCall { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCall"; } -::windows::core::interface_hierarchy!(PhoneCall, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCall, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCall {} unsafe impl ::core::marker::Sync for PhoneCall {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2130,7 +2130,7 @@ impl PhoneCallBlocking { } #[doc(hidden)] pub fn IPhoneCallBlockingStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2144,8 +2144,8 @@ impl PhoneCallHistoryEntry { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2363,7 +2363,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryEntry { } } impl ::windows::core::RuntimeType for PhoneCallHistoryEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntry;{fab0e129-32a4-4b85-83d1-f90d8c23a857})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntry;{fab0e129-32a4-4b85-83d1-f90d8c23a857})"); } impl ::core::clone::Clone for PhoneCallHistoryEntry { fn clone(&self) -> Self { @@ -2379,7 +2379,7 @@ unsafe impl ::windows::core::Interface for PhoneCallHistoryEntry { impl ::windows::core::RuntimeName for PhoneCallHistoryEntry { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallHistoryEntry"; } -::windows::core::interface_hierarchy!(PhoneCallHistoryEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallHistoryEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallHistoryEntry {} unsafe impl ::core::marker::Sync for PhoneCallHistoryEntry {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2389,8 +2389,8 @@ impl PhoneCallHistoryEntryAddress { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ContactId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2445,7 +2445,7 @@ impl PhoneCallHistoryEntryAddress { } #[doc(hidden)] pub fn IPhoneCallHistoryEntryAddressFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2461,7 +2461,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryEntryAddress { } } impl ::windows::core::RuntimeType for PhoneCallHistoryEntryAddress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryAddress;{30f159da-3955-4042-84e6-66eebf82e67f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryAddress;{30f159da-3955-4042-84e6-66eebf82e67f})"); } impl ::core::clone::Clone for PhoneCallHistoryEntryAddress { fn clone(&self) -> Self { @@ -2477,7 +2477,7 @@ unsafe impl ::windows::core::Interface for PhoneCallHistoryEntryAddress { impl ::windows::core::RuntimeName for PhoneCallHistoryEntryAddress { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallHistoryEntryAddress"; } -::windows::core::interface_hierarchy!(PhoneCallHistoryEntryAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallHistoryEntryAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallHistoryEntryAddress {} unsafe impl ::core::marker::Sync for PhoneCallHistoryEntryAddress {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2487,8 +2487,8 @@ impl PhoneCallHistoryEntryQueryOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn DesiredMedia(&self) -> ::windows::core::Result { @@ -2524,7 +2524,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryEntryQueryOptions { } } impl ::windows::core::RuntimeType for PhoneCallHistoryEntryQueryOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryQueryOptions;{9c5fe15c-8bed-40ca-b06e-c4ca8eae5c87})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryQueryOptions;{9c5fe15c-8bed-40ca-b06e-c4ca8eae5c87})"); } impl ::core::clone::Clone for PhoneCallHistoryEntryQueryOptions { fn clone(&self) -> Self { @@ -2540,7 +2540,7 @@ unsafe impl ::windows::core::Interface for PhoneCallHistoryEntryQueryOptions { impl ::windows::core::RuntimeName for PhoneCallHistoryEntryQueryOptions { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallHistoryEntryQueryOptions"; } -::windows::core::interface_hierarchy!(PhoneCallHistoryEntryQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallHistoryEntryQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallHistoryEntryQueryOptions {} unsafe impl ::core::marker::Sync for PhoneCallHistoryEntryQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2569,7 +2569,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryEntryReader { } } impl ::windows::core::RuntimeType for PhoneCallHistoryEntryReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryReader;{61ece4be-8d86-479f-8404-a9846920fee6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryReader;{61ece4be-8d86-479f-8404-a9846920fee6})"); } impl ::core::clone::Clone for PhoneCallHistoryEntryReader { fn clone(&self) -> Self { @@ -2585,7 +2585,7 @@ unsafe impl ::windows::core::Interface for PhoneCallHistoryEntryReader { impl ::windows::core::RuntimeName for PhoneCallHistoryEntryReader { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallHistoryEntryReader"; } -::windows::core::interface_hierarchy!(PhoneCallHistoryEntryReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallHistoryEntryReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallHistoryEntryReader {} unsafe impl ::core::marker::Sync for PhoneCallHistoryEntryReader {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2609,12 +2609,12 @@ impl PhoneCallHistoryManager { } #[doc(hidden)] pub fn IPhoneCallHistoryManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPhoneCallHistoryManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2656,7 +2656,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryManagerForUser { } } impl ::windows::core::RuntimeType for PhoneCallHistoryManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryManagerForUser;{d925c523-f55f-4353-9db4-0205a5265a55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryManagerForUser;{d925c523-f55f-4353-9db4-0205a5265a55})"); } impl ::core::clone::Clone for PhoneCallHistoryManagerForUser { fn clone(&self) -> Self { @@ -2672,7 +2672,7 @@ unsafe impl ::windows::core::Interface for PhoneCallHistoryManagerForUser { impl ::windows::core::RuntimeName for PhoneCallHistoryManagerForUser { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallHistoryManagerForUser"; } -::windows::core::interface_hierarchy!(PhoneCallHistoryManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallHistoryManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallHistoryManagerForUser {} unsafe impl ::core::marker::Sync for PhoneCallHistoryManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2812,7 +2812,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryStore { } } impl ::windows::core::RuntimeType for PhoneCallHistoryStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryStore;{2f907db8-b40e-422b-8545-cb1910a61c52})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryStore;{2f907db8-b40e-422b-8545-cb1910a61c52})"); } impl ::core::clone::Clone for PhoneCallHistoryStore { fn clone(&self) -> Self { @@ -2828,7 +2828,7 @@ unsafe impl ::windows::core::Interface for PhoneCallHistoryStore { impl ::windows::core::RuntimeName for PhoneCallHistoryStore { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallHistoryStore"; } -::windows::core::interface_hierarchy!(PhoneCallHistoryStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallHistoryStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallHistoryStore {} unsafe impl ::core::marker::Sync for PhoneCallHistoryStore {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2892,7 +2892,7 @@ impl ::core::fmt::Debug for PhoneCallInfo { } } impl ::windows::core::RuntimeType for PhoneCallInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallInfo;{22b42577-3e4d-5dc6-89c2-469fe5ffc189})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallInfo;{22b42577-3e4d-5dc6-89c2-469fe5ffc189})"); } impl ::core::clone::Clone for PhoneCallInfo { fn clone(&self) -> Self { @@ -2908,7 +2908,7 @@ unsafe impl ::windows::core::Interface for PhoneCallInfo { impl ::windows::core::RuntimeName for PhoneCallInfo { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallInfo"; } -::windows::core::interface_hierarchy!(PhoneCallInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallInfo {} unsafe impl ::core::marker::Sync for PhoneCallInfo {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -2955,12 +2955,12 @@ impl PhoneCallManager { } #[doc(hidden)] pub fn IPhoneCallManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPhoneCallManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3009,7 +3009,7 @@ impl ::core::fmt::Debug for PhoneCallStore { } } impl ::windows::core::RuntimeType for PhoneCallStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallStore;{5f610748-18a6-4173-86d1-28be9dc62dba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallStore;{5f610748-18a6-4173-86d1-28be9dc62dba})"); } impl ::core::clone::Clone for PhoneCallStore { fn clone(&self) -> Self { @@ -3025,7 +3025,7 @@ unsafe impl ::windows::core::Interface for PhoneCallStore { impl ::windows::core::RuntimeName for PhoneCallStore { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallStore"; } -::windows::core::interface_hierarchy!(PhoneCallStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallStore {} unsafe impl ::core::marker::Sync for PhoneCallStore {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3052,7 +3052,7 @@ impl ::core::fmt::Debug for PhoneCallVideoCapabilities { } } impl ::windows::core::RuntimeType for PhoneCallVideoCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallVideoCapabilities;{02382786-b16a-4fdb-be3b-c4240e13ad0d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallVideoCapabilities;{02382786-b16a-4fdb-be3b-c4240e13ad0d})"); } impl ::core::clone::Clone for PhoneCallVideoCapabilities { fn clone(&self) -> Self { @@ -3068,7 +3068,7 @@ unsafe impl ::windows::core::Interface for PhoneCallVideoCapabilities { impl ::windows::core::RuntimeName for PhoneCallVideoCapabilities { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallVideoCapabilities"; } -::windows::core::interface_hierarchy!(PhoneCallVideoCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallVideoCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallVideoCapabilities {} unsafe impl ::core::marker::Sync for PhoneCallVideoCapabilities {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3084,7 +3084,7 @@ impl PhoneCallVideoCapabilitiesManager { } #[doc(hidden)] pub fn IPhoneCallVideoCapabilitiesManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3124,7 +3124,7 @@ impl ::core::fmt::Debug for PhoneCallsResult { } } impl ::windows::core::RuntimeType for PhoneCallsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallsResult;{1bfad365-57cf-57dd-986d-b057c91eac33})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallsResult;{1bfad365-57cf-57dd-986d-b057c91eac33})"); } impl ::core::clone::Clone for PhoneCallsResult { fn clone(&self) -> Self { @@ -3140,7 +3140,7 @@ unsafe impl ::windows::core::Interface for PhoneCallsResult { impl ::windows::core::RuntimeName for PhoneCallsResult { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneCallsResult"; } -::windows::core::interface_hierarchy!(PhoneCallsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneCallsResult {} unsafe impl ::core::marker::Sync for PhoneCallsResult {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3150,8 +3150,8 @@ impl PhoneDialOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Number(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3241,7 +3241,7 @@ impl ::core::fmt::Debug for PhoneDialOptions { } } impl ::windows::core::RuntimeType for PhoneDialOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneDialOptions;{b639c4b8-f06f-36cb-a863-823742b5f2d4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneDialOptions;{b639c4b8-f06f-36cb-a863-823742b5f2d4})"); } impl ::core::clone::Clone for PhoneDialOptions { fn clone(&self) -> Self { @@ -3257,7 +3257,7 @@ unsafe impl ::windows::core::Interface for PhoneDialOptions { impl ::windows::core::RuntimeName for PhoneDialOptions { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneDialOptions"; } -::windows::core::interface_hierarchy!(PhoneDialOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneDialOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneDialOptions {} unsafe impl ::core::marker::Sync for PhoneDialOptions {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3437,7 +3437,7 @@ impl PhoneLine { } #[doc(hidden)] pub fn IPhoneLineStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3453,7 +3453,7 @@ impl ::core::fmt::Debug for PhoneLine { } } impl ::windows::core::RuntimeType for PhoneLine { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLine;{27c66f30-6a69-34ca-a2ba-65302530c311})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLine;{27c66f30-6a69-34ca-a2ba-65302530c311})"); } impl ::core::clone::Clone for PhoneLine { fn clone(&self) -> Self { @@ -3469,7 +3469,7 @@ unsafe impl ::windows::core::Interface for PhoneLine { impl ::windows::core::RuntimeName for PhoneLine { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneLine"; } -::windows::core::interface_hierarchy!(PhoneLine, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLine, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneLine {} unsafe impl ::core::marker::Sync for PhoneLine {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3524,7 +3524,7 @@ impl ::core::fmt::Debug for PhoneLineCellularDetails { } } impl ::windows::core::RuntimeType for PhoneLineCellularDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineCellularDetails;{192601d5-147c-4769-b673-98a5ec8426cb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineCellularDetails;{192601d5-147c-4769-b673-98a5ec8426cb})"); } impl ::core::clone::Clone for PhoneLineCellularDetails { fn clone(&self) -> Self { @@ -3540,7 +3540,7 @@ unsafe impl ::windows::core::Interface for PhoneLineCellularDetails { impl ::windows::core::RuntimeName for PhoneLineCellularDetails { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneLineCellularDetails"; } -::windows::core::interface_hierarchy!(PhoneLineCellularDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLineCellularDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneLineCellularDetails {} unsafe impl ::core::marker::Sync for PhoneLineCellularDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3576,7 +3576,7 @@ impl ::core::fmt::Debug for PhoneLineConfiguration { } } impl ::windows::core::RuntimeType for PhoneLineConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineConfiguration;{fe265862-f64f-4312-b2a8-4e257721aa95})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineConfiguration;{fe265862-f64f-4312-b2a8-4e257721aa95})"); } impl ::core::clone::Clone for PhoneLineConfiguration { fn clone(&self) -> Self { @@ -3592,7 +3592,7 @@ unsafe impl ::windows::core::Interface for PhoneLineConfiguration { impl ::windows::core::RuntimeName for PhoneLineConfiguration { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneLineConfiguration"; } -::windows::core::interface_hierarchy!(PhoneLineConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLineConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneLineConfiguration {} unsafe impl ::core::marker::Sync for PhoneLineConfiguration {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3626,7 +3626,7 @@ impl ::core::fmt::Debug for PhoneLineDialResult { } } impl ::windows::core::RuntimeType for PhoneLineDialResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineDialResult;{e825a30a-5c7f-546f-b918-3ad2fe70fb34})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineDialResult;{e825a30a-5c7f-546f-b918-3ad2fe70fb34})"); } impl ::core::clone::Clone for PhoneLineDialResult { fn clone(&self) -> Self { @@ -3642,7 +3642,7 @@ unsafe impl ::windows::core::Interface for PhoneLineDialResult { impl ::windows::core::RuntimeName for PhoneLineDialResult { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneLineDialResult"; } -::windows::core::interface_hierarchy!(PhoneLineDialResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLineDialResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneLineDialResult {} unsafe impl ::core::marker::Sync for PhoneLineDialResult {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3779,7 +3779,7 @@ impl PhoneLineTransportDevice { } #[doc(hidden)] pub fn IPhoneLineTransportDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3795,7 +3795,7 @@ impl ::core::fmt::Debug for PhoneLineTransportDevice { } } impl ::windows::core::RuntimeType for PhoneLineTransportDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineTransportDevice;{efa8f889-cffa-59f4-97e4-74705b7dc490})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineTransportDevice;{efa8f889-cffa-59f4-97e4-74705b7dc490})"); } impl ::core::clone::Clone for PhoneLineTransportDevice { fn clone(&self) -> Self { @@ -3811,7 +3811,7 @@ unsafe impl ::windows::core::Interface for PhoneLineTransportDevice { impl ::windows::core::RuntimeName for PhoneLineTransportDevice { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneLineTransportDevice"; } -::windows::core::interface_hierarchy!(PhoneLineTransportDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLineTransportDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneLineTransportDevice {} unsafe impl ::core::marker::Sync for PhoneLineTransportDevice {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3921,7 +3921,7 @@ impl ::core::fmt::Debug for PhoneLineWatcher { } } impl ::windows::core::RuntimeType for PhoneLineWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineWatcher;{8a45cd0a-6323-44e0-a6f6-9f21f64dc90a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineWatcher;{8a45cd0a-6323-44e0-a6f6-9f21f64dc90a})"); } impl ::core::clone::Clone for PhoneLineWatcher { fn clone(&self) -> Self { @@ -3937,7 +3937,7 @@ unsafe impl ::windows::core::Interface for PhoneLineWatcher { impl ::windows::core::RuntimeName for PhoneLineWatcher { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneLineWatcher"; } -::windows::core::interface_hierarchy!(PhoneLineWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLineWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneLineWatcher {} unsafe impl ::core::marker::Sync for PhoneLineWatcher {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3964,7 +3964,7 @@ impl ::core::fmt::Debug for PhoneLineWatcherEventArgs { } } impl ::windows::core::RuntimeType for PhoneLineWatcherEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineWatcherEventArgs;{d07c753e-9e12-4a37-82b7-ad535dad6a67})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineWatcherEventArgs;{d07c753e-9e12-4a37-82b7-ad535dad6a67})"); } impl ::core::clone::Clone for PhoneLineWatcherEventArgs { fn clone(&self) -> Self { @@ -3980,7 +3980,7 @@ unsafe impl ::windows::core::Interface for PhoneLineWatcherEventArgs { impl ::windows::core::RuntimeName for PhoneLineWatcherEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneLineWatcherEventArgs"; } -::windows::core::interface_hierarchy!(PhoneLineWatcherEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLineWatcherEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneLineWatcherEventArgs {} unsafe impl ::core::marker::Sync for PhoneLineWatcherEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -4030,7 +4030,7 @@ impl ::core::fmt::Debug for PhoneVoicemail { } } impl ::windows::core::RuntimeType for PhoneVoicemail { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneVoicemail;{c9ce77f6-6e9f-3a8b-b727-6e0cf6998224})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneVoicemail;{c9ce77f6-6e9f-3a8b-b727-6e0cf6998224})"); } impl ::core::clone::Clone for PhoneVoicemail { fn clone(&self) -> Self { @@ -4046,7 +4046,7 @@ unsafe impl ::windows::core::Interface for PhoneVoicemail { impl ::windows::core::RuntimeName for PhoneVoicemail { const NAME: &'static str = "Windows.ApplicationModel.Calls.PhoneVoicemail"; } -::windows::core::interface_hierarchy!(PhoneVoicemail, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneVoicemail, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneVoicemail {} unsafe impl ::core::marker::Sync for PhoneVoicemail {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -4165,7 +4165,7 @@ impl VoipCallCoordinator { } #[doc(hidden)] pub fn IVoipCallCoordinatorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4181,7 +4181,7 @@ impl ::core::fmt::Debug for VoipCallCoordinator { } } impl ::windows::core::RuntimeType for VoipCallCoordinator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.VoipCallCoordinator;{4f118bcf-e8ef-4434-9c5f-a8d893fafe79})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.VoipCallCoordinator;{4f118bcf-e8ef-4434-9c5f-a8d893fafe79})"); } impl ::core::clone::Clone for VoipCallCoordinator { fn clone(&self) -> Self { @@ -4197,7 +4197,7 @@ unsafe impl ::windows::core::Interface for VoipCallCoordinator { impl ::windows::core::RuntimeName for VoipCallCoordinator { const NAME: &'static str = "Windows.ApplicationModel.Calls.VoipCallCoordinator"; } -::windows::core::interface_hierarchy!(VoipCallCoordinator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoipCallCoordinator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoipCallCoordinator {} unsafe impl ::core::marker::Sync for VoipCallCoordinator {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -4353,7 +4353,7 @@ impl ::core::fmt::Debug for VoipPhoneCall { } } impl ::windows::core::RuntimeType for VoipPhoneCall { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.VoipPhoneCall;{6cf1f19a-7794-4a5a-8c68-ae87947a6990})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.VoipPhoneCall;{6cf1f19a-7794-4a5a-8c68-ae87947a6990})"); } impl ::core::clone::Clone for VoipPhoneCall { fn clone(&self) -> Self { @@ -4369,7 +4369,7 @@ unsafe impl ::windows::core::Interface for VoipPhoneCall { impl ::windows::core::RuntimeName for VoipPhoneCall { const NAME: &'static str = "Windows.ApplicationModel.Calls.VoipPhoneCall"; } -::windows::core::interface_hierarchy!(VoipPhoneCall, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoipPhoneCall, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoipPhoneCall {} unsafe impl ::core::marker::Sync for VoipPhoneCall {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -4400,7 +4400,7 @@ impl ::core::fmt::Debug for CellularDtmfMode { } } impl ::windows::core::RuntimeType for CellularDtmfMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.CellularDtmfMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.CellularDtmfMode;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4440,7 +4440,7 @@ impl ::core::fmt::Debug for DtmfKey { } } impl ::windows::core::RuntimeType for DtmfKey { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.DtmfKey;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.DtmfKey;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4470,7 +4470,7 @@ impl ::core::fmt::Debug for DtmfToneAudioPlayback { } } impl ::windows::core::RuntimeType for DtmfToneAudioPlayback { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.DtmfToneAudioPlayback;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.DtmfToneAudioPlayback;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4501,7 +4501,7 @@ impl ::core::fmt::Debug for PhoneAudioRoutingEndpoint { } } impl ::windows::core::RuntimeType for PhoneAudioRoutingEndpoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneAudioRoutingEndpoint;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneAudioRoutingEndpoint;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4532,7 +4532,7 @@ impl ::core::fmt::Debug for PhoneCallAudioDevice { } } impl ::windows::core::RuntimeType for PhoneCallAudioDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallAudioDevice;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallAudioDevice;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4563,7 +4563,7 @@ impl ::core::fmt::Debug for PhoneCallDirection { } } impl ::windows::core::RuntimeType for PhoneCallDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallDirection;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4593,7 +4593,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryEntryMedia { } } impl ::windows::core::RuntimeType for PhoneCallHistoryEntryMedia { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryMedia;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryMedia;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4623,7 +4623,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryEntryOtherAppReadAccess { } } impl ::windows::core::RuntimeType for PhoneCallHistoryEntryOtherAppReadAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryOtherAppReadAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryOtherAppReadAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4688,7 +4688,7 @@ impl ::core::ops::Not for PhoneCallHistoryEntryQueryDesiredMedia { } } impl ::windows::core::RuntimeType for PhoneCallHistoryEntryQueryDesiredMedia { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryQueryDesiredMedia;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryQueryDesiredMedia;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4718,7 +4718,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryEntryRawAddressKind { } } impl ::windows::core::RuntimeType for PhoneCallHistoryEntryRawAddressKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryRawAddressKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryRawAddressKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4748,7 +4748,7 @@ impl ::core::fmt::Debug for PhoneCallHistorySourceIdKind { } } impl ::windows::core::RuntimeType for PhoneCallHistorySourceIdKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistorySourceIdKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistorySourceIdKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4779,7 +4779,7 @@ impl ::core::fmt::Debug for PhoneCallHistoryStoreAccessType { } } impl ::windows::core::RuntimeType for PhoneCallHistoryStoreAccessType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryStoreAccessType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallHistoryStoreAccessType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4810,7 +4810,7 @@ impl ::core::fmt::Debug for PhoneCallMedia { } } impl ::windows::core::RuntimeType for PhoneCallMedia { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallMedia;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallMedia;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4843,7 +4843,7 @@ impl ::core::fmt::Debug for PhoneCallOperationStatus { } } impl ::windows::core::RuntimeType for PhoneCallOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallOperationStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4877,7 +4877,7 @@ impl ::core::fmt::Debug for PhoneCallStatus { } } impl ::windows::core::RuntimeType for PhoneCallStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneCallStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4909,7 +4909,7 @@ impl ::core::fmt::Debug for PhoneLineNetworkOperatorDisplayTextLocation { } } impl ::windows::core::RuntimeType for PhoneLineNetworkOperatorDisplayTextLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneLineNetworkOperatorDisplayTextLocation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneLineNetworkOperatorDisplayTextLocation;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4942,7 +4942,7 @@ impl ::core::fmt::Debug for PhoneLineOperationStatus { } } impl ::windows::core::RuntimeType for PhoneLineOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneLineOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneLineOperationStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -4973,7 +4973,7 @@ impl ::core::fmt::Debug for PhoneLineTransport { } } impl ::windows::core::RuntimeType for PhoneLineTransport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneLineTransport;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneLineTransport;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5005,7 +5005,7 @@ impl ::core::fmt::Debug for PhoneLineWatcherStatus { } } impl ::windows::core::RuntimeType for PhoneLineWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneLineWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneLineWatcherStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5041,7 +5041,7 @@ impl ::core::fmt::Debug for PhoneNetworkState { } } impl ::windows::core::RuntimeType for PhoneNetworkState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneNetworkState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneNetworkState;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5077,7 +5077,7 @@ impl ::core::fmt::Debug for PhoneSimState { } } impl ::windows::core::RuntimeType for PhoneSimState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneSimState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneSimState;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5108,7 +5108,7 @@ impl ::core::fmt::Debug for PhoneVoicemailType { } } impl ::windows::core::RuntimeType for PhoneVoicemailType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneVoicemailType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.PhoneVoicemailType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5139,7 +5139,7 @@ impl ::core::fmt::Debug for TransportDeviceAudioRoutingStatus { } } impl ::windows::core::RuntimeType for TransportDeviceAudioRoutingStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.TransportDeviceAudioRoutingStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.TransportDeviceAudioRoutingStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5203,7 +5203,7 @@ impl ::core::ops::Not for VoipPhoneCallMedia { } } impl ::windows::core::RuntimeType for VoipPhoneCallMedia { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.VoipPhoneCallMedia;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.VoipPhoneCallMedia;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5236,7 +5236,7 @@ impl ::core::fmt::Debug for VoipPhoneCallRejectReason { } } impl ::windows::core::RuntimeType for VoipPhoneCallRejectReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.VoipPhoneCallRejectReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.VoipPhoneCallRejectReason;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5266,7 +5266,7 @@ impl ::core::fmt::Debug for VoipPhoneCallResourceReservationStatus { } } impl ::windows::core::RuntimeType for VoipPhoneCallResourceReservationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.VoipPhoneCallResourceReservationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.VoipPhoneCallResourceReservationStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] @@ -5299,7 +5299,7 @@ impl ::core::fmt::Debug for VoipPhoneCallState { } } impl ::windows::core::RuntimeType for VoipPhoneCallState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.VoipPhoneCallState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Calls.VoipPhoneCallState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index ce6116e4f0..ec1da5f2c5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -225,7 +225,7 @@ impl IChatItem { } } } -::windows::core::interface_hierarchy!(IChatItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IChatItem, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IChatItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -238,7 +238,7 @@ impl ::core::fmt::Debug for IChatItem { } } impl ::windows::core::RuntimeType for IChatItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8751d000-ceb1-4243-b803-15d45a1dd428}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8751d000-ceb1-4243-b803-15d45a1dd428}"); } unsafe impl ::windows::core::Vtable for IChatItem { type Vtable = IChatItem_Vtbl; @@ -1576,7 +1576,7 @@ impl ::core::fmt::Debug for ChatCapabilities { } } impl ::windows::core::RuntimeType for ChatCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatCapabilities;{3aff77bc-39c9-4dd1-ad2d-3964dd9d403f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatCapabilities;{3aff77bc-39c9-4dd1-ad2d-3964dd9d403f})"); } impl ::core::clone::Clone for ChatCapabilities { fn clone(&self) -> Self { @@ -1592,7 +1592,7 @@ unsafe impl ::windows::core::Interface for ChatCapabilities { impl ::windows::core::RuntimeName for ChatCapabilities { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatCapabilities"; } -::windows::core::interface_hierarchy!(ChatCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatCapabilities {} unsafe impl ::core::marker::Sync for ChatCapabilities {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -1632,12 +1632,12 @@ impl ChatCapabilitiesManager { } #[doc(hidden)] pub fn IChatCapabilitiesManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IChatCapabilitiesManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1804,7 +1804,7 @@ impl ::core::fmt::Debug for ChatConversation { } } impl ::windows::core::RuntimeType for ChatConversation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversation;{a58c080d-1a6f-46dc-8f3d-f5028660b6ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversation;{a58c080d-1a6f-46dc-8f3d-f5028660b6ee})"); } impl ::core::clone::Clone for ChatConversation { fn clone(&self) -> Self { @@ -1820,7 +1820,7 @@ unsafe impl ::windows::core::Interface for ChatConversation { impl ::windows::core::RuntimeName for ChatConversation { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatConversation"; } -::windows::core::interface_hierarchy!(ChatConversation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatConversation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IChatItem { type Error = ::windows::core::Error; fn try_from(value: ChatConversation) -> ::windows::core::Result { @@ -1877,7 +1877,7 @@ impl ::core::fmt::Debug for ChatConversationReader { } } impl ::windows::core::RuntimeType for ChatConversationReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversationReader;{055136d2-de32-4a47-a93a-b3dc0833852b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversationReader;{055136d2-de32-4a47-a93a-b3dc0833852b})"); } impl ::core::clone::Clone for ChatConversationReader { fn clone(&self) -> Self { @@ -1893,7 +1893,7 @@ unsafe impl ::windows::core::Interface for ChatConversationReader { impl ::windows::core::RuntimeName for ChatConversationReader { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatConversationReader"; } -::windows::core::interface_hierarchy!(ChatConversationReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatConversationReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatConversationReader {} unsafe impl ::core::marker::Sync for ChatConversationReader {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -1903,8 +1903,8 @@ impl ChatConversationThreadingInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ContactId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1973,7 +1973,7 @@ impl ::core::fmt::Debug for ChatConversationThreadingInfo { } } impl ::windows::core::RuntimeType for ChatConversationThreadingInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversationThreadingInfo;{331c21dc-7a07-4422-a32c-24be7c6dab24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversationThreadingInfo;{331c21dc-7a07-4422-a32c-24be7c6dab24})"); } impl ::core::clone::Clone for ChatConversationThreadingInfo { fn clone(&self) -> Self { @@ -1989,7 +1989,7 @@ unsafe impl ::windows::core::Interface for ChatConversationThreadingInfo { impl ::windows::core::RuntimeName for ChatConversationThreadingInfo { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatConversationThreadingInfo"; } -::windows::core::interface_hierarchy!(ChatConversationThreadingInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatConversationThreadingInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatConversationThreadingInfo {} unsafe impl ::core::marker::Sync for ChatConversationThreadingInfo {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -1999,8 +1999,8 @@ impl ChatMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ItemKind(&self) -> ::windows::core::Result { @@ -2315,7 +2315,7 @@ impl ::core::fmt::Debug for ChatMessage { } } impl ::windows::core::RuntimeType for ChatMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessage;{4b39052a-1142-5089-76da-f2db3d17cd05})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessage;{4b39052a-1142-5089-76da-f2db3d17cd05})"); } impl ::core::clone::Clone for ChatMessage { fn clone(&self) -> Self { @@ -2331,7 +2331,7 @@ unsafe impl ::windows::core::Interface for ChatMessage { impl ::windows::core::RuntimeName for ChatMessage { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessage"; } -::windows::core::interface_hierarchy!(ChatMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IChatItem { type Error = ::windows::core::Error; fn try_from(value: ChatMessage) -> ::windows::core::Result { @@ -2464,7 +2464,7 @@ impl ChatMessageAttachment { } #[doc(hidden)] pub fn IChatMessageAttachmentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2480,7 +2480,7 @@ impl ::core::fmt::Debug for ChatMessageAttachment { } } impl ::windows::core::RuntimeType for ChatMessageAttachment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageAttachment;{c7c4fd74-bf63-58eb-508c-8b863ff16b67})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageAttachment;{c7c4fd74-bf63-58eb-508c-8b863ff16b67})"); } impl ::core::clone::Clone for ChatMessageAttachment { fn clone(&self) -> Self { @@ -2496,7 +2496,7 @@ unsafe impl ::windows::core::Interface for ChatMessageAttachment { impl ::windows::core::RuntimeName for ChatMessageAttachment { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageAttachment"; } -::windows::core::interface_hierarchy!(ChatMessageAttachment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageAttachment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageAttachment {} unsafe impl ::core::marker::Sync for ChatMessageAttachment {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -2512,7 +2512,7 @@ impl ChatMessageBlocking { } #[doc(hidden)] pub fn IChatMessageBlockingStatic ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2550,7 +2550,7 @@ impl ::core::fmt::Debug for ChatMessageChange { } } impl ::windows::core::RuntimeType for ChatMessageChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChange;{1c18c355-421e-54b8-6d38-6b3a6c82fccc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChange;{1c18c355-421e-54b8-6d38-6b3a6c82fccc})"); } impl ::core::clone::Clone for ChatMessageChange { fn clone(&self) -> Self { @@ -2566,7 +2566,7 @@ unsafe impl ::windows::core::Interface for ChatMessageChange { impl ::windows::core::RuntimeName for ChatMessageChange { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageChange"; } -::windows::core::interface_hierarchy!(ChatMessageChange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageChange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageChange {} unsafe impl ::core::marker::Sync for ChatMessageChange {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -2603,7 +2603,7 @@ impl ::core::fmt::Debug for ChatMessageChangeReader { } } impl ::windows::core::RuntimeType for ChatMessageChangeReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangeReader;{14267020-28ce-5f26-7b05-9a5c7cce87ca})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangeReader;{14267020-28ce-5f26-7b05-9a5c7cce87ca})"); } impl ::core::clone::Clone for ChatMessageChangeReader { fn clone(&self) -> Self { @@ -2619,7 +2619,7 @@ unsafe impl ::windows::core::Interface for ChatMessageChangeReader { impl ::windows::core::RuntimeName for ChatMessageChangeReader { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageChangeReader"; } -::windows::core::interface_hierarchy!(ChatMessageChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageChangeReader {} unsafe impl ::core::marker::Sync for ChatMessageChangeReader {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -2654,7 +2654,7 @@ impl ::core::fmt::Debug for ChatMessageChangeTracker { } } impl ::windows::core::RuntimeType for ChatMessageChangeTracker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangeTracker;{60b7f066-70a0-5224-508c-242ef7c1d06f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangeTracker;{60b7f066-70a0-5224-508c-242ef7c1d06f})"); } impl ::core::clone::Clone for ChatMessageChangeTracker { fn clone(&self) -> Self { @@ -2670,7 +2670,7 @@ unsafe impl ::windows::core::Interface for ChatMessageChangeTracker { impl ::windows::core::RuntimeName for ChatMessageChangeTracker { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageChangeTracker"; } -::windows::core::interface_hierarchy!(ChatMessageChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageChangeTracker {} unsafe impl ::core::marker::Sync for ChatMessageChangeTracker {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -2694,7 +2694,7 @@ impl ::core::fmt::Debug for ChatMessageChangedDeferral { } } impl ::windows::core::RuntimeType for ChatMessageChangedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangedDeferral;{fbc6b30c-788c-4dcc-ace7-6282382968cf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangedDeferral;{fbc6b30c-788c-4dcc-ace7-6282382968cf})"); } impl ::core::clone::Clone for ChatMessageChangedDeferral { fn clone(&self) -> Self { @@ -2710,7 +2710,7 @@ unsafe impl ::windows::core::Interface for ChatMessageChangedDeferral { impl ::windows::core::RuntimeName for ChatMessageChangedDeferral { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageChangedDeferral"; } -::windows::core::interface_hierarchy!(ChatMessageChangedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageChangedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageChangedDeferral {} unsafe impl ::core::marker::Sync for ChatMessageChangedDeferral {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -2737,7 +2737,7 @@ impl ::core::fmt::Debug for ChatMessageChangedEventArgs { } } impl ::windows::core::RuntimeType for ChatMessageChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangedEventArgs;{b6b73e2d-691c-4edf-8660-6eb9896892e3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangedEventArgs;{b6b73e2d-691c-4edf-8660-6eb9896892e3})"); } impl ::core::clone::Clone for ChatMessageChangedEventArgs { fn clone(&self) -> Self { @@ -2753,7 +2753,7 @@ unsafe impl ::windows::core::Interface for ChatMessageChangedEventArgs { impl ::windows::core::RuntimeName for ChatMessageChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageChangedEventArgs"; } -::windows::core::interface_hierarchy!(ChatMessageChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageChangedEventArgs {} unsafe impl ::core::marker::Sync for ChatMessageChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -2812,17 +2812,17 @@ impl ChatMessageManager { } #[doc(hidden)] pub fn IChatMessageManager2Statics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IChatMessageManagerStatic ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IChatMessageManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2881,7 +2881,7 @@ impl ::core::fmt::Debug for ChatMessageNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for ChatMessageNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails;{fd344dfb-3063-4e17-8586-c6c08262e6c0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails;{fd344dfb-3063-4e17-8586-c6c08262e6c0})"); } impl ::core::clone::Clone for ChatMessageNotificationTriggerDetails { fn clone(&self) -> Self { @@ -2897,7 +2897,7 @@ unsafe impl ::windows::core::Interface for ChatMessageNotificationTriggerDetails impl ::windows::core::RuntimeName for ChatMessageNotificationTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(ChatMessageNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageNotificationTriggerDetails {} unsafe impl ::core::marker::Sync for ChatMessageNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -2935,7 +2935,7 @@ impl ::core::fmt::Debug for ChatMessageReader { } } impl ::windows::core::RuntimeType for ChatMessageReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageReader;{b6ea78ce-4489-56f9-76aa-e204682514cf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageReader;{b6ea78ce-4489-56f9-76aa-e204682514cf})"); } impl ::core::clone::Clone for ChatMessageReader { fn clone(&self) -> Self { @@ -2951,7 +2951,7 @@ unsafe impl ::windows::core::Interface for ChatMessageReader { impl ::windows::core::RuntimeName for ChatMessageReader { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageReader"; } -::windows::core::interface_hierarchy!(ChatMessageReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageReader {} unsafe impl ::core::marker::Sync for ChatMessageReader {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3245,7 +3245,7 @@ impl ::core::fmt::Debug for ChatMessageStore { } } impl ::windows::core::RuntimeType for ChatMessageStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageStore;{31f2fd01-ccf6-580b-4976-0a07dd5d3b47})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageStore;{31f2fd01-ccf6-580b-4976-0a07dd5d3b47})"); } impl ::core::clone::Clone for ChatMessageStore { fn clone(&self) -> Self { @@ -3261,7 +3261,7 @@ unsafe impl ::windows::core::Interface for ChatMessageStore { impl ::windows::core::RuntimeName for ChatMessageStore { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageStore"; } -::windows::core::interface_hierarchy!(ChatMessageStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageStore {} unsafe impl ::core::marker::Sync for ChatMessageStore {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3295,7 +3295,7 @@ impl ::core::fmt::Debug for ChatMessageStoreChangedEventArgs { } } impl ::windows::core::RuntimeType for ChatMessageStoreChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs;{65c66fac-fe8c-46d4-9119-57b8410311d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs;{65c66fac-fe8c-46d4-9119-57b8410311d5})"); } impl ::core::clone::Clone for ChatMessageStoreChangedEventArgs { fn clone(&self) -> Self { @@ -3311,7 +3311,7 @@ unsafe impl ::windows::core::Interface for ChatMessageStoreChangedEventArgs { impl ::windows::core::RuntimeName for ChatMessageStoreChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs"; } -::windows::core::interface_hierarchy!(ChatMessageStoreChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageStoreChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageStoreChangedEventArgs {} unsafe impl ::core::marker::Sync for ChatMessageStoreChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3382,7 +3382,7 @@ impl ::core::fmt::Debug for ChatMessageTransport { } } impl ::windows::core::RuntimeType for ChatMessageTransport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageTransport;{63a9dbf8-e6b3-5c9a-5f85-d47925b9bd18})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageTransport;{63a9dbf8-e6b3-5c9a-5f85-d47925b9bd18})"); } impl ::core::clone::Clone for ChatMessageTransport { fn clone(&self) -> Self { @@ -3398,7 +3398,7 @@ unsafe impl ::windows::core::Interface for ChatMessageTransport { impl ::windows::core::RuntimeName for ChatMessageTransport { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageTransport"; } -::windows::core::interface_hierarchy!(ChatMessageTransport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageTransport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageTransport {} unsafe impl ::core::marker::Sync for ChatMessageTransport {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3457,7 +3457,7 @@ impl ::core::fmt::Debug for ChatMessageTransportConfiguration { } } impl ::windows::core::RuntimeType for ChatMessageTransportConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration;{879ff725-1a08-4aca-a075-3355126312e6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration;{879ff725-1a08-4aca-a075-3355126312e6})"); } impl ::core::clone::Clone for ChatMessageTransportConfiguration { fn clone(&self) -> Self { @@ -3473,7 +3473,7 @@ unsafe impl ::windows::core::Interface for ChatMessageTransportConfiguration { impl ::windows::core::RuntimeName for ChatMessageTransportConfiguration { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration"; } -::windows::core::interface_hierarchy!(ChatMessageTransportConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageTransportConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageTransportConfiguration {} unsafe impl ::core::marker::Sync for ChatMessageTransportConfiguration {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3527,7 +3527,7 @@ impl ::core::fmt::Debug for ChatMessageValidationResult { } } impl ::windows::core::RuntimeType for ChatMessageValidationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageValidationResult;{25e93a03-28ec-5889-569b-7e486b126f18})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageValidationResult;{25e93a03-28ec-5889-569b-7e486b126f18})"); } impl ::core::clone::Clone for ChatMessageValidationResult { fn clone(&self) -> Self { @@ -3543,7 +3543,7 @@ unsafe impl ::windows::core::Interface for ChatMessageValidationResult { impl ::windows::core::RuntimeName for ChatMessageValidationResult { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatMessageValidationResult"; } -::windows::core::interface_hierarchy!(ChatMessageValidationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatMessageValidationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatMessageValidationResult {} unsafe impl ::core::marker::Sync for ChatMessageValidationResult {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3553,8 +3553,8 @@ impl ChatQueryOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SearchString(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3581,7 +3581,7 @@ impl ::core::fmt::Debug for ChatQueryOptions { } } impl ::windows::core::RuntimeType for ChatQueryOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatQueryOptions;{2fd364a6-bf36-42f7-b7e7-923c0aabfe16})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatQueryOptions;{2fd364a6-bf36-42f7-b7e7-923c0aabfe16})"); } impl ::core::clone::Clone for ChatQueryOptions { fn clone(&self) -> Self { @@ -3597,7 +3597,7 @@ unsafe impl ::windows::core::Interface for ChatQueryOptions { impl ::windows::core::RuntimeName for ChatQueryOptions { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatQueryOptions"; } -::windows::core::interface_hierarchy!(ChatQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatQueryOptions {} unsafe impl ::core::marker::Sync for ChatQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3607,8 +3607,8 @@ impl ChatRecipientDeliveryInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TransportAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3708,7 +3708,7 @@ impl ::core::fmt::Debug for ChatRecipientDeliveryInfo { } } impl ::windows::core::RuntimeType for ChatRecipientDeliveryInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo;{ffc7b2a2-283c-4c0a-8a0e-8c33bdbf0545})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo;{ffc7b2a2-283c-4c0a-8a0e-8c33bdbf0545})"); } impl ::core::clone::Clone for ChatRecipientDeliveryInfo { fn clone(&self) -> Self { @@ -3724,7 +3724,7 @@ unsafe impl ::windows::core::Interface for ChatRecipientDeliveryInfo { impl ::windows::core::RuntimeName for ChatRecipientDeliveryInfo { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo"; } -::windows::core::interface_hierarchy!(ChatRecipientDeliveryInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatRecipientDeliveryInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatRecipientDeliveryInfo {} unsafe impl ::core::marker::Sync for ChatRecipientDeliveryInfo {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3762,7 +3762,7 @@ impl ::core::fmt::Debug for ChatSearchReader { } } impl ::windows::core::RuntimeType for ChatSearchReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSearchReader;{4665fe49-9020-4752-980d-39612325f589})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSearchReader;{4665fe49-9020-4752-980d-39612325f589})"); } impl ::core::clone::Clone for ChatSearchReader { fn clone(&self) -> Self { @@ -3778,7 +3778,7 @@ unsafe impl ::windows::core::Interface for ChatSearchReader { impl ::windows::core::RuntimeName for ChatSearchReader { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatSearchReader"; } -::windows::core::interface_hierarchy!(ChatSearchReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatSearchReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatSearchReader {} unsafe impl ::core::marker::Sync for ChatSearchReader {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3820,7 +3820,7 @@ impl ::core::fmt::Debug for ChatSyncConfiguration { } } impl ::windows::core::RuntimeType for ChatSyncConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSyncConfiguration;{09f869b2-69f4-4aff-82b6-06992ff402d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSyncConfiguration;{09f869b2-69f4-4aff-82b6-06992ff402d2})"); } impl ::core::clone::Clone for ChatSyncConfiguration { fn clone(&self) -> Self { @@ -3836,7 +3836,7 @@ unsafe impl ::windows::core::Interface for ChatSyncConfiguration { impl ::windows::core::RuntimeName for ChatSyncConfiguration { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatSyncConfiguration"; } -::windows::core::interface_hierarchy!(ChatSyncConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatSyncConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatSyncConfiguration {} unsafe impl ::core::marker::Sync for ChatSyncConfiguration {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3903,7 +3903,7 @@ impl ::core::fmt::Debug for ChatSyncManager { } } impl ::windows::core::RuntimeType for ChatSyncManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSyncManager;{7ba52c63-2650-486f-b4b4-6bd9d3d63c84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSyncManager;{7ba52c63-2650-486f-b4b4-6bd9d3d63c84})"); } impl ::core::clone::Clone for ChatSyncManager { fn clone(&self) -> Self { @@ -3919,7 +3919,7 @@ unsafe impl ::windows::core::Interface for ChatSyncManager { impl ::windows::core::RuntimeName for ChatSyncManager { const NAME: &'static str = "Windows.ApplicationModel.Chat.ChatSyncManager"; } -::windows::core::interface_hierarchy!(ChatSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChatSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChatSyncManager {} unsafe impl ::core::marker::Sync for ChatSyncManager {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -3994,7 +3994,7 @@ impl ::core::fmt::Debug for RcsEndUserMessage { } } impl ::windows::core::RuntimeType for RcsEndUserMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessage;{d7cda5eb-cbd7-4f3b-8526-b506dec35c53})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessage;{d7cda5eb-cbd7-4f3b-8526-b506dec35c53})"); } impl ::core::clone::Clone for RcsEndUserMessage { fn clone(&self) -> Self { @@ -4010,7 +4010,7 @@ unsafe impl ::windows::core::Interface for RcsEndUserMessage { impl ::windows::core::RuntimeName for RcsEndUserMessage { const NAME: &'static str = "Windows.ApplicationModel.Chat.RcsEndUserMessage"; } -::windows::core::interface_hierarchy!(RcsEndUserMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsEndUserMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RcsEndUserMessage {} unsafe impl ::core::marker::Sync for RcsEndUserMessage {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4037,7 +4037,7 @@ impl ::core::fmt::Debug for RcsEndUserMessageAction { } } impl ::windows::core::RuntimeType for RcsEndUserMessageAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAction;{92378737-9b42-46d3-9d5e-3c1b2dae7cb8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAction;{92378737-9b42-46d3-9d5e-3c1b2dae7cb8})"); } impl ::core::clone::Clone for RcsEndUserMessageAction { fn clone(&self) -> Self { @@ -4053,7 +4053,7 @@ unsafe impl ::windows::core::Interface for RcsEndUserMessageAction { impl ::windows::core::RuntimeName for RcsEndUserMessageAction { const NAME: &'static str = "Windows.ApplicationModel.Chat.RcsEndUserMessageAction"; } -::windows::core::interface_hierarchy!(RcsEndUserMessageAction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsEndUserMessageAction, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RcsEndUserMessageAction {} unsafe impl ::core::marker::Sync for RcsEndUserMessageAction {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4087,7 +4087,7 @@ impl ::core::fmt::Debug for RcsEndUserMessageAvailableEventArgs { } } impl ::windows::core::RuntimeType for RcsEndUserMessageAvailableEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs;{2d45ae01-3f89-41ea-9702-9e9ed411aa98})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs;{2d45ae01-3f89-41ea-9702-9e9ed411aa98})"); } impl ::core::clone::Clone for RcsEndUserMessageAvailableEventArgs { fn clone(&self) -> Self { @@ -4103,7 +4103,7 @@ unsafe impl ::windows::core::Interface for RcsEndUserMessageAvailableEventArgs { impl ::windows::core::RuntimeName for RcsEndUserMessageAvailableEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs"; } -::windows::core::interface_hierarchy!(RcsEndUserMessageAvailableEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsEndUserMessageAvailableEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RcsEndUserMessageAvailableEventArgs {} unsafe impl ::core::marker::Sync for RcsEndUserMessageAvailableEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4137,7 +4137,7 @@ impl ::core::fmt::Debug for RcsEndUserMessageAvailableTriggerDetails { } } impl ::windows::core::RuntimeType for RcsEndUserMessageAvailableTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableTriggerDetails;{5b97742d-351f-4692-b41e-1b035dc18986})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableTriggerDetails;{5b97742d-351f-4692-b41e-1b035dc18986})"); } impl ::core::clone::Clone for RcsEndUserMessageAvailableTriggerDetails { fn clone(&self) -> Self { @@ -4153,7 +4153,7 @@ unsafe impl ::windows::core::Interface for RcsEndUserMessageAvailableTriggerDeta impl ::windows::core::RuntimeName for RcsEndUserMessageAvailableTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableTriggerDetails"; } -::windows::core::interface_hierarchy!(RcsEndUserMessageAvailableTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsEndUserMessageAvailableTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RcsEndUserMessageAvailableTriggerDetails {} unsafe impl ::core::marker::Sync for RcsEndUserMessageAvailableTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4188,7 +4188,7 @@ impl ::core::fmt::Debug for RcsEndUserMessageManager { } } impl ::windows::core::RuntimeType for RcsEndUserMessageManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageManager;{3054ae5a-4d1f-4b59-9433-126c734e86a6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageManager;{3054ae5a-4d1f-4b59-9433-126c734e86a6})"); } impl ::core::clone::Clone for RcsEndUserMessageManager { fn clone(&self) -> Self { @@ -4204,7 +4204,7 @@ unsafe impl ::windows::core::Interface for RcsEndUserMessageManager { impl ::windows::core::RuntimeName for RcsEndUserMessageManager { const NAME: &'static str = "Windows.ApplicationModel.Chat.RcsEndUserMessageManager"; } -::windows::core::interface_hierarchy!(RcsEndUserMessageManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsEndUserMessageManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RcsEndUserMessageManager {} unsafe impl ::core::marker::Sync for RcsEndUserMessageManager {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4255,12 +4255,12 @@ impl RcsManager { } #[doc(hidden)] pub fn IRcsManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRcsManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4291,7 +4291,7 @@ impl ::core::fmt::Debug for RcsServiceKindSupportedChangedEventArgs { } } impl ::windows::core::RuntimeType for RcsServiceKindSupportedChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsServiceKindSupportedChangedEventArgs;{f47ea244-e783-4866-b3a7-4e5ccf023070})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsServiceKindSupportedChangedEventArgs;{f47ea244-e783-4866-b3a7-4e5ccf023070})"); } impl ::core::clone::Clone for RcsServiceKindSupportedChangedEventArgs { fn clone(&self) -> Self { @@ -4307,7 +4307,7 @@ unsafe impl ::windows::core::Interface for RcsServiceKindSupportedChangedEventAr impl ::windows::core::RuntimeName for RcsServiceKindSupportedChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Chat.RcsServiceKindSupportedChangedEventArgs"; } -::windows::core::interface_hierarchy!(RcsServiceKindSupportedChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsServiceKindSupportedChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RcsServiceKindSupportedChangedEventArgs {} unsafe impl ::core::marker::Sync for RcsServiceKindSupportedChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4393,7 +4393,7 @@ impl ::core::fmt::Debug for RcsTransport { } } impl ::windows::core::RuntimeType for RcsTransport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsTransport;{fea34759-f37c-4319-8546-ec84d21d30ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsTransport;{fea34759-f37c-4319-8546-ec84d21d30ff})"); } impl ::core::clone::Clone for RcsTransport { fn clone(&self) -> Self { @@ -4409,7 +4409,7 @@ unsafe impl ::windows::core::Interface for RcsTransport { impl ::windows::core::RuntimeName for RcsTransport { const NAME: &'static str = "Windows.ApplicationModel.Chat.RcsTransport"; } -::windows::core::interface_hierarchy!(RcsTransport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsTransport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RcsTransport {} unsafe impl ::core::marker::Sync for RcsTransport {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4471,7 +4471,7 @@ impl ::core::fmt::Debug for RcsTransportConfiguration { } } impl ::windows::core::RuntimeType for RcsTransportConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsTransportConfiguration;{1fccb102-2472-4bb9-9988-c1211c83e8a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsTransportConfiguration;{1fccb102-2472-4bb9-9988-c1211c83e8a9})"); } impl ::core::clone::Clone for RcsTransportConfiguration { fn clone(&self) -> Self { @@ -4487,7 +4487,7 @@ unsafe impl ::windows::core::Interface for RcsTransportConfiguration { impl ::windows::core::RuntimeName for RcsTransportConfiguration { const NAME: &'static str = "Windows.ApplicationModel.Chat.RcsTransportConfiguration"; } -::windows::core::interface_hierarchy!(RcsTransportConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RcsTransportConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RcsTransportConfiguration {} unsafe impl ::core::marker::Sync for RcsTransportConfiguration {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4528,7 +4528,7 @@ impl ::core::fmt::Debug for RemoteParticipantComposingChangedEventArgs { } } impl ::windows::core::RuntimeType for RemoteParticipantComposingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs;{1ec045a7-cfc9-45c9-9876-449f2bc180f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs;{1ec045a7-cfc9-45c9-9876-449f2bc180f5})"); } impl ::core::clone::Clone for RemoteParticipantComposingChangedEventArgs { fn clone(&self) -> Self { @@ -4544,7 +4544,7 @@ unsafe impl ::windows::core::Interface for RemoteParticipantComposingChangedEven impl ::windows::core::RuntimeName for RemoteParticipantComposingChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteParticipantComposingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteParticipantComposingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteParticipantComposingChangedEventArgs {} unsafe impl ::core::marker::Sync for RemoteParticipantComposingChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] @@ -4577,7 +4577,7 @@ impl ::core::fmt::Debug for ChatConversationThreadingKind { } } impl ::windows::core::RuntimeType for ChatConversationThreadingKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatConversationThreadingKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatConversationThreadingKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4607,7 +4607,7 @@ impl ::core::fmt::Debug for ChatItemKind { } } impl ::windows::core::RuntimeType for ChatItemKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatItemKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatItemKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4639,7 +4639,7 @@ impl ::core::fmt::Debug for ChatMessageChangeType { } } impl ::windows::core::RuntimeType for ChatMessageChangeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageChangeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageChangeType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4674,7 +4674,7 @@ impl ::core::fmt::Debug for ChatMessageKind { } } impl ::windows::core::RuntimeType for ChatMessageKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4706,7 +4706,7 @@ impl ::core::fmt::Debug for ChatMessageOperatorKind { } } impl ::windows::core::RuntimeType for ChatMessageOperatorKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageOperatorKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageOperatorKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4748,7 +4748,7 @@ impl ::core::fmt::Debug for ChatMessageStatus { } } impl ::windows::core::RuntimeType for ChatMessageStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4780,7 +4780,7 @@ impl ::core::fmt::Debug for ChatMessageTransportKind { } } impl ::windows::core::RuntimeType for ChatMessageTransportKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageTransportKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageTransportKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4822,7 +4822,7 @@ impl ::core::fmt::Debug for ChatMessageValidationStatus { } } impl ::windows::core::RuntimeType for ChatMessageValidationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageValidationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatMessageValidationStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4853,7 +4853,7 @@ impl ::core::fmt::Debug for ChatRestoreHistorySpan { } } impl ::windows::core::RuntimeType for ChatRestoreHistorySpan { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatRestoreHistorySpan;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatRestoreHistorySpan;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4889,7 +4889,7 @@ impl ::core::fmt::Debug for ChatStoreChangedEventKind { } } impl ::windows::core::RuntimeType for ChatStoreChangedEventKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatStoreChangedEventKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatStoreChangedEventKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4921,7 +4921,7 @@ impl ::core::fmt::Debug for ChatTransportErrorCodeCategory { } } impl ::windows::core::RuntimeType for ChatTransportErrorCodeCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatTransportErrorCodeCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatTransportErrorCodeCategory;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4955,7 +4955,7 @@ impl ::core::fmt::Debug for ChatTransportInterpretedErrorCode { } } impl ::windows::core::RuntimeType for ChatTransportInterpretedErrorCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatTransportInterpretedErrorCode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.ChatTransportInterpretedErrorCode;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] @@ -4987,7 +4987,7 @@ impl ::core::fmt::Debug for RcsServiceKind { } } impl ::windows::core::RuntimeType for RcsServiceKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.RcsServiceKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Chat.RcsServiceKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs index 63f5c437b7..cc95c34b10 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs @@ -125,7 +125,7 @@ impl CommunicationBlockingAccessManager { } #[doc(hidden)] pub fn ICommunicationBlockingAccessManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -154,12 +154,12 @@ impl CommunicationBlockingAppManager { } #[doc(hidden)] pub fn ICommunicationBlockingAppManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICommunicationBlockingAppManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs index 0b4332cc38..7f9700d0a8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs @@ -387,7 +387,7 @@ impl ::core::fmt::Debug for ContactDataProviderConnection { } } impl ::windows::core::RuntimeType for ContactDataProviderConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderConnection;{1a398a52-8c9d-4d6f-a4e0-111e9a125a30})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderConnection;{1a398a52-8c9d-4d6f-a4e0-111e9a125a30})"); } impl ::core::clone::Clone for ContactDataProviderConnection { fn clone(&self) -> Self { @@ -403,7 +403,7 @@ unsafe impl ::windows::core::Interface for ContactDataProviderConnection { impl ::windows::core::RuntimeName for ContactDataProviderConnection { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderConnection"; } -::windows::core::interface_hierarchy!(ContactDataProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactDataProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactDataProviderConnection {} unsafe impl ::core::marker::Sync for ContactDataProviderConnection {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -430,7 +430,7 @@ impl ::core::fmt::Debug for ContactDataProviderTriggerDetails { } } impl ::windows::core::RuntimeType for ContactDataProviderTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderTriggerDetails;{527104be-3c62-43c8-9ae7-db531685cd99})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderTriggerDetails;{527104be-3c62-43c8-9ae7-db531685cd99})"); } impl ::core::clone::Clone for ContactDataProviderTriggerDetails { fn clone(&self) -> Self { @@ -446,7 +446,7 @@ unsafe impl ::windows::core::Interface for ContactDataProviderTriggerDetails { impl ::windows::core::RuntimeName for ContactDataProviderTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderTriggerDetails"; } -::windows::core::interface_hierarchy!(ContactDataProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactDataProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactDataProviderTriggerDetails {} unsafe impl ::core::marker::Sync for ContactDataProviderTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -498,7 +498,7 @@ impl ::core::fmt::Debug for ContactListCreateOrUpdateContactRequest { } } impl ::windows::core::RuntimeType for ContactListCreateOrUpdateContactRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequest;{b4af411f-c849-47d0-b119-91cf605b2f2a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequest;{b4af411f-c849-47d0-b119-91cf605b2f2a})"); } impl ::core::clone::Clone for ContactListCreateOrUpdateContactRequest { fn clone(&self) -> Self { @@ -514,7 +514,7 @@ unsafe impl ::windows::core::Interface for ContactListCreateOrUpdateContactReque impl ::windows::core::RuntimeName for ContactListCreateOrUpdateContactRequest { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequest"; } -::windows::core::interface_hierarchy!(ContactListCreateOrUpdateContactRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListCreateOrUpdateContactRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListCreateOrUpdateContactRequest {} unsafe impl ::core::marker::Sync for ContactListCreateOrUpdateContactRequest {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -550,7 +550,7 @@ impl ::core::fmt::Debug for ContactListCreateOrUpdateContactRequestEventArgs { } } impl ::windows::core::RuntimeType for ContactListCreateOrUpdateContactRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequestEventArgs;{851c1690-1a51-4b0c-aeef-1240ac5bed75})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequestEventArgs;{851c1690-1a51-4b0c-aeef-1240ac5bed75})"); } impl ::core::clone::Clone for ContactListCreateOrUpdateContactRequestEventArgs { fn clone(&self) -> Self { @@ -566,7 +566,7 @@ unsafe impl ::windows::core::Interface for ContactListCreateOrUpdateContactReque impl ::windows::core::RuntimeName for ContactListCreateOrUpdateContactRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequestEventArgs"; } -::windows::core::interface_hierarchy!(ContactListCreateOrUpdateContactRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListCreateOrUpdateContactRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListCreateOrUpdateContactRequestEventArgs {} unsafe impl ::core::marker::Sync for ContactListCreateOrUpdateContactRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -618,7 +618,7 @@ impl ::core::fmt::Debug for ContactListDeleteContactRequest { } } impl ::windows::core::RuntimeType for ContactListDeleteContactRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequest;{5e114687-ce03-4de5-8557-9ccf552d472a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequest;{5e114687-ce03-4de5-8557-9ccf552d472a})"); } impl ::core::clone::Clone for ContactListDeleteContactRequest { fn clone(&self) -> Self { @@ -634,7 +634,7 @@ unsafe impl ::windows::core::Interface for ContactListDeleteContactRequest { impl ::windows::core::RuntimeName for ContactListDeleteContactRequest { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequest"; } -::windows::core::interface_hierarchy!(ContactListDeleteContactRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListDeleteContactRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListDeleteContactRequest {} unsafe impl ::core::marker::Sync for ContactListDeleteContactRequest {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -670,7 +670,7 @@ impl ::core::fmt::Debug for ContactListDeleteContactRequestEventArgs { } } impl ::windows::core::RuntimeType for ContactListDeleteContactRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequestEventArgs;{b22054a1-e8fa-4db5-9389-2d12ee7d15ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequestEventArgs;{b22054a1-e8fa-4db5-9389-2d12ee7d15ee})"); } impl ::core::clone::Clone for ContactListDeleteContactRequestEventArgs { fn clone(&self) -> Self { @@ -686,7 +686,7 @@ unsafe impl ::windows::core::Interface for ContactListDeleteContactRequestEventA impl ::windows::core::RuntimeName for ContactListDeleteContactRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequestEventArgs"; } -::windows::core::interface_hierarchy!(ContactListDeleteContactRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListDeleteContactRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListDeleteContactRequestEventArgs {} unsafe impl ::core::marker::Sync for ContactListDeleteContactRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -761,7 +761,7 @@ impl ::core::fmt::Debug for ContactListServerSearchReadBatchRequest { } } impl ::windows::core::RuntimeType for ContactListServerSearchReadBatchRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequest;{ba776a97-4030-4925-9fb4-143b295e653b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequest;{ba776a97-4030-4925-9fb4-143b295e653b})"); } impl ::core::clone::Clone for ContactListServerSearchReadBatchRequest { fn clone(&self) -> Self { @@ -777,7 +777,7 @@ unsafe impl ::windows::core::Interface for ContactListServerSearchReadBatchReque impl ::windows::core::RuntimeName for ContactListServerSearchReadBatchRequest { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequest"; } -::windows::core::interface_hierarchy!(ContactListServerSearchReadBatchRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListServerSearchReadBatchRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListServerSearchReadBatchRequest {} unsafe impl ::core::marker::Sync for ContactListServerSearchReadBatchRequest {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -813,7 +813,7 @@ impl ::core::fmt::Debug for ContactListServerSearchReadBatchRequestEventArgs { } } impl ::windows::core::RuntimeType for ContactListServerSearchReadBatchRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequestEventArgs;{1a27e87b-69d7-4e4e-8042-861cba61471e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequestEventArgs;{1a27e87b-69d7-4e4e-8042-861cba61471e})"); } impl ::core::clone::Clone for ContactListServerSearchReadBatchRequestEventArgs { fn clone(&self) -> Self { @@ -829,7 +829,7 @@ unsafe impl ::windows::core::Interface for ContactListServerSearchReadBatchReque impl ::windows::core::RuntimeName for ContactListServerSearchReadBatchRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequestEventArgs"; } -::windows::core::interface_hierarchy!(ContactListServerSearchReadBatchRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListServerSearchReadBatchRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListServerSearchReadBatchRequestEventArgs {} unsafe impl ::core::marker::Sync for ContactListServerSearchReadBatchRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -874,7 +874,7 @@ impl ::core::fmt::Debug for ContactListSyncManagerSyncRequest { } } impl ::windows::core::RuntimeType for ContactListSyncManagerSyncRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequest;{3c0e57a4-c4e7-4970-9a8f-9a66a2bb6c1a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequest;{3c0e57a4-c4e7-4970-9a8f-9a66a2bb6c1a})"); } impl ::core::clone::Clone for ContactListSyncManagerSyncRequest { fn clone(&self) -> Self { @@ -890,7 +890,7 @@ unsafe impl ::windows::core::Interface for ContactListSyncManagerSyncRequest { impl ::windows::core::RuntimeName for ContactListSyncManagerSyncRequest { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequest"; } -::windows::core::interface_hierarchy!(ContactListSyncManagerSyncRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListSyncManagerSyncRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListSyncManagerSyncRequest {} unsafe impl ::core::marker::Sync for ContactListSyncManagerSyncRequest {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] @@ -926,7 +926,7 @@ impl ::core::fmt::Debug for ContactListSyncManagerSyncRequestEventArgs { } } impl ::windows::core::RuntimeType for ContactListSyncManagerSyncRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequestEventArgs;{158e4dac-446d-4f10-afc2-02683ec533a6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequestEventArgs;{158e4dac-446d-4f10-afc2-02683ec533a6})"); } impl ::core::clone::Clone for ContactListSyncManagerSyncRequestEventArgs { fn clone(&self) -> Self { @@ -942,7 +942,7 @@ unsafe impl ::windows::core::Interface for ContactListSyncManagerSyncRequestEven impl ::windows::core::RuntimeName for ContactListSyncManagerSyncRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequestEventArgs"; } -::windows::core::interface_hierarchy!(ContactListSyncManagerSyncRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListSyncManagerSyncRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListSyncManagerSyncRequestEventArgs {} unsafe impl ::core::marker::Sync for ContactListSyncManagerSyncRequestEventArgs {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs index e0a006c498..95b800ed56 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs @@ -164,7 +164,7 @@ impl ::core::fmt::Debug for ContactPickerUI { } } impl ::windows::core::RuntimeType for ContactPickerUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Provider.ContactPickerUI;{e2cc1366-cf66-43c4-a96a-a5a112db4746})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Provider.ContactPickerUI;{e2cc1366-cf66-43c4-a96a-a5a112db4746})"); } impl ::core::clone::Clone for ContactPickerUI { fn clone(&self) -> Self { @@ -180,7 +180,7 @@ unsafe impl ::windows::core::Interface for ContactPickerUI { impl ::windows::core::RuntimeName for ContactPickerUI { const NAME: &'static str = "Windows.ApplicationModel.Contacts.Provider.ContactPickerUI"; } -::windows::core::interface_hierarchy!(ContactPickerUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPickerUI, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"] #[repr(transparent)] pub struct ContactRemovedEventArgs(::windows::core::IUnknown); @@ -205,7 +205,7 @@ impl ::core::fmt::Debug for ContactRemovedEventArgs { } } impl ::windows::core::RuntimeType for ContactRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Provider.ContactRemovedEventArgs;{6f354338-3302-4d13-ad8d-adcc0ff9e47c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Provider.ContactRemovedEventArgs;{6f354338-3302-4d13-ad8d-adcc0ff9e47c})"); } impl ::core::clone::Clone for ContactRemovedEventArgs { fn clone(&self) -> Self { @@ -221,7 +221,7 @@ unsafe impl ::windows::core::Interface for ContactRemovedEventArgs { impl ::windows::core::RuntimeName for ContactRemovedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Contacts.Provider.ContactRemovedEventArgs"; } -::windows::core::interface_hierarchy!(ContactRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -251,7 +251,7 @@ impl ::core::fmt::Debug for AddContactResult { } } impl ::windows::core::RuntimeType for AddContactResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.Provider.AddContactResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.Provider.AddContactResult;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 8fc83ad6c5..8ac9156b7a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -768,7 +768,7 @@ impl IContactField { } } } -::windows::core::interface_hierarchy!(IContactField, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactField, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContactField { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -781,7 +781,7 @@ impl ::core::fmt::Debug for IContactField { } } impl ::windows::core::RuntimeType for IContactField { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b176486a-d293-492c-a058-db575b3e3c0f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b176486a-d293-492c-a058-db575b3e3c0f}"); } unsafe impl ::windows::core::Vtable for IContactField { type Vtable = IContactField_Vtbl; @@ -829,7 +829,7 @@ impl IContactFieldFactory { } } } -::windows::core::interface_hierarchy!(IContactFieldFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactFieldFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContactFieldFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -842,7 +842,7 @@ impl ::core::fmt::Debug for IContactFieldFactory { } } impl ::windows::core::RuntimeType for IContactFieldFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{85e2913f-0e4a-4a3e-8994-406ae7ed646e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{85e2913f-0e4a-4a3e-8994-406ae7ed646e}"); } unsafe impl ::windows::core::Vtable for IContactFieldFactory { type Vtable = IContactFieldFactory_Vtbl; @@ -984,7 +984,7 @@ impl IContactInstantMessageFieldFactory { } } } -::windows::core::interface_hierarchy!(IContactInstantMessageFieldFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactInstantMessageFieldFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContactInstantMessageFieldFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -997,7 +997,7 @@ impl ::core::fmt::Debug for IContactInstantMessageFieldFactory { } } impl ::windows::core::RuntimeType for IContactInstantMessageFieldFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ba0b6794-91a3-4bb2-b1b9-69a5dff0ba09}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ba0b6794-91a3-4bb2-b1b9-69a5dff0ba09}"); } unsafe impl ::windows::core::Vtable for IContactInstantMessageFieldFactory { type Vtable = IContactInstantMessageFieldFactory_Vtbl; @@ -1580,7 +1580,7 @@ impl IContactLocationFieldFactory { } } } -::windows::core::interface_hierarchy!(IContactLocationFieldFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactLocationFieldFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContactLocationFieldFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1593,7 +1593,7 @@ impl ::core::fmt::Debug for IContactLocationFieldFactory { } } impl ::windows::core::RuntimeType for IContactLocationFieldFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f79932d7-2fdf-43fe-8f18-41897390bcfe}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f79932d7-2fdf-43fe-8f18-41897390bcfe}"); } unsafe impl ::windows::core::Vtable for IContactLocationFieldFactory { type Vtable = IContactLocationFieldFactory_Vtbl; @@ -2675,7 +2675,7 @@ impl ::core::fmt::Debug for AggregateContactManager { } } impl ::windows::core::RuntimeType for AggregateContactManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.AggregateContactManager;{0379d5dd-db5a-4fd3-b54e-4df17917a212})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.AggregateContactManager;{0379d5dd-db5a-4fd3-b54e-4df17917a212})"); } impl ::core::clone::Clone for AggregateContactManager { fn clone(&self) -> Self { @@ -2691,7 +2691,7 @@ unsafe impl ::windows::core::Interface for AggregateContactManager { impl ::windows::core::RuntimeName for AggregateContactManager { const NAME: &'static str = "Windows.ApplicationModel.Contacts.AggregateContactManager"; } -::windows::core::interface_hierarchy!(AggregateContactManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AggregateContactManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AggregateContactManager {} unsafe impl ::core::marker::Sync for AggregateContactManager {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -2701,8 +2701,8 @@ impl Contact { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3116,7 +3116,7 @@ impl ::core::fmt::Debug for Contact { } } impl ::windows::core::RuntimeType for Contact { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Contact;{ec0072f3-2118-4049-9ebc-17f0ab692b64})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Contact;{ec0072f3-2118-4049-9ebc-17f0ab692b64})"); } impl ::core::clone::Clone for Contact { fn clone(&self) -> Self { @@ -3132,7 +3132,7 @@ unsafe impl ::windows::core::Interface for Contact { impl ::windows::core::RuntimeName for Contact { const NAME: &'static str = "Windows.ApplicationModel.Contacts.Contact"; } -::windows::core::interface_hierarchy!(Contact, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Contact, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Contact {} unsafe impl ::core::marker::Sync for Contact {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3142,8 +3142,8 @@ impl ContactAddress { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn StreetAddress(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3236,7 +3236,7 @@ impl ::core::fmt::Debug for ContactAddress { } } impl ::windows::core::RuntimeType for ContactAddress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAddress;{9739d39a-42ce-4872-8d70-3063aa584b70})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAddress;{9739d39a-42ce-4872-8d70-3063aa584b70})"); } impl ::core::clone::Clone for ContactAddress { fn clone(&self) -> Self { @@ -3252,7 +3252,7 @@ unsafe impl ::windows::core::Interface for ContactAddress { impl ::windows::core::RuntimeName for ContactAddress { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactAddress"; } -::windows::core::interface_hierarchy!(ContactAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactAddress {} unsafe impl ::core::marker::Sync for ContactAddress {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3262,8 +3262,8 @@ impl ContactAnnotation { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3353,7 +3353,7 @@ impl ::core::fmt::Debug for ContactAnnotation { } } impl ::windows::core::RuntimeType for ContactAnnotation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotation;{821fc2ef-7d41-44a2-84c3-60a281dd7b86})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotation;{821fc2ef-7d41-44a2-84c3-60a281dd7b86})"); } impl ::core::clone::Clone for ContactAnnotation { fn clone(&self) -> Self { @@ -3369,7 +3369,7 @@ unsafe impl ::windows::core::Interface for ContactAnnotation { impl ::windows::core::RuntimeName for ContactAnnotation { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactAnnotation"; } -::windows::core::interface_hierarchy!(ContactAnnotation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactAnnotation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactAnnotation {} unsafe impl ::core::marker::Sync for ContactAnnotation {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3464,7 +3464,7 @@ impl ::core::fmt::Debug for ContactAnnotationList { } } impl ::windows::core::RuntimeType for ContactAnnotationList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotationList;{92a486aa-5c88-45b9-aad0-461888e68d8a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotationList;{92a486aa-5c88-45b9-aad0-461888e68d8a})"); } impl ::core::clone::Clone for ContactAnnotationList { fn clone(&self) -> Self { @@ -3480,7 +3480,7 @@ unsafe impl ::windows::core::Interface for ContactAnnotationList { impl ::windows::core::RuntimeName for ContactAnnotationList { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactAnnotationList"; } -::windows::core::interface_hierarchy!(ContactAnnotationList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactAnnotationList, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactAnnotationList {} unsafe impl ::core::marker::Sync for ContactAnnotationList {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3581,7 +3581,7 @@ impl ::core::fmt::Debug for ContactAnnotationStore { } } impl ::windows::core::RuntimeType for ContactAnnotationStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotationStore;{23acf4aa-7a77-457d-8203-987f4b31af09})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotationStore;{23acf4aa-7a77-457d-8203-987f4b31af09})"); } impl ::core::clone::Clone for ContactAnnotationStore { fn clone(&self) -> Self { @@ -3597,7 +3597,7 @@ unsafe impl ::windows::core::Interface for ContactAnnotationStore { impl ::windows::core::RuntimeName for ContactAnnotationStore { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactAnnotationStore"; } -::windows::core::interface_hierarchy!(ContactAnnotationStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactAnnotationStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactAnnotationStore {} unsafe impl ::core::marker::Sync for ContactAnnotationStore {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3633,7 +3633,7 @@ impl ::core::fmt::Debug for ContactBatch { } } impl ::windows::core::RuntimeType for ContactBatch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactBatch;{35d1972d-bfce-46bb-93f8-a5b06ec5e201})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactBatch;{35d1972d-bfce-46bb-93f8-a5b06ec5e201})"); } impl ::core::clone::Clone for ContactBatch { fn clone(&self) -> Self { @@ -3649,7 +3649,7 @@ unsafe impl ::windows::core::Interface for ContactBatch { impl ::windows::core::RuntimeName for ContactBatch { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactBatch"; } -::windows::core::interface_hierarchy!(ContactBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactBatch {} unsafe impl ::core::marker::Sync for ContactBatch {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3679,7 +3679,7 @@ impl ::core::fmt::Debug for ContactCardDelayedDataLoader { } } impl ::windows::core::RuntimeType for ContactCardDelayedDataLoader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactCardDelayedDataLoader;{b60af902-1546-434d-869c-6e3520760ef3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactCardDelayedDataLoader;{b60af902-1546-434d-869c-6e3520760ef3})"); } impl ::core::clone::Clone for ContactCardDelayedDataLoader { fn clone(&self) -> Self { @@ -3695,7 +3695,7 @@ unsafe impl ::windows::core::Interface for ContactCardDelayedDataLoader { impl ::windows::core::RuntimeName for ContactCardDelayedDataLoader { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactCardDelayedDataLoader"; } -::windows::core::interface_hierarchy!(ContactCardDelayedDataLoader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactCardDelayedDataLoader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3727,8 +3727,8 @@ impl ContactCardOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn HeaderKind(&self) -> ::windows::core::Result { @@ -3775,7 +3775,7 @@ impl ::core::fmt::Debug for ContactCardOptions { } } impl ::windows::core::RuntimeType for ContactCardOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactCardOptions;{8c0a4f7e-6ab6-4f3f-be72-817236eeea5b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactCardOptions;{8c0a4f7e-6ab6-4f3f-be72-817236eeea5b})"); } impl ::core::clone::Clone for ContactCardOptions { fn clone(&self) -> Self { @@ -3791,7 +3791,7 @@ unsafe impl ::windows::core::Interface for ContactCardOptions { impl ::windows::core::RuntimeName for ContactCardOptions { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactCardOptions"; } -::windows::core::interface_hierarchy!(ContactCardOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactCardOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactCardOptions {} unsafe impl ::core::marker::Sync for ContactCardOptions {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3825,7 +3825,7 @@ impl ::core::fmt::Debug for ContactChange { } } impl ::windows::core::RuntimeType for ContactChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChange;{951d4b10-6a59-4720-a4e1-363d98c135d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChange;{951d4b10-6a59-4720-a4e1-363d98c135d5})"); } impl ::core::clone::Clone for ContactChange { fn clone(&self) -> Self { @@ -3841,7 +3841,7 @@ unsafe impl ::windows::core::Interface for ContactChange { impl ::windows::core::RuntimeName for ContactChange { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactChange"; } -::windows::core::interface_hierarchy!(ContactChange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactChange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactChange {} unsafe impl ::core::marker::Sync for ContactChange {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3878,7 +3878,7 @@ impl ::core::fmt::Debug for ContactChangeReader { } } impl ::windows::core::RuntimeType for ContactChangeReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangeReader;{217319fa-2d0c-42e0-a9da-3ecd56a78a47})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangeReader;{217319fa-2d0c-42e0-a9da-3ecd56a78a47})"); } impl ::core::clone::Clone for ContactChangeReader { fn clone(&self) -> Self { @@ -3894,7 +3894,7 @@ unsafe impl ::windows::core::Interface for ContactChangeReader { impl ::windows::core::RuntimeName for ContactChangeReader { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactChangeReader"; } -::windows::core::interface_hierarchy!(ContactChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactChangeReader {} unsafe impl ::core::marker::Sync for ContactChangeReader {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3936,7 +3936,7 @@ impl ::core::fmt::Debug for ContactChangeTracker { } } impl ::windows::core::RuntimeType for ContactChangeTracker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangeTracker;{6e992952-309b-404d-9712-b37bd30278aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangeTracker;{6e992952-309b-404d-9712-b37bd30278aa})"); } impl ::core::clone::Clone for ContactChangeTracker { fn clone(&self) -> Self { @@ -3952,7 +3952,7 @@ unsafe impl ::windows::core::Interface for ContactChangeTracker { impl ::windows::core::RuntimeName for ContactChangeTracker { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactChangeTracker"; } -::windows::core::interface_hierarchy!(ContactChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactChangeTracker {} unsafe impl ::core::marker::Sync for ContactChangeTracker {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -3976,7 +3976,7 @@ impl ::core::fmt::Debug for ContactChangedDeferral { } } impl ::windows::core::RuntimeType for ContactChangedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangedDeferral;{c5143ae8-1b03-46f8-b694-a523e83cfcb6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangedDeferral;{c5143ae8-1b03-46f8-b694-a523e83cfcb6})"); } impl ::core::clone::Clone for ContactChangedDeferral { fn clone(&self) -> Self { @@ -3992,7 +3992,7 @@ unsafe impl ::windows::core::Interface for ContactChangedDeferral { impl ::windows::core::RuntimeName for ContactChangedDeferral { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactChangedDeferral"; } -::windows::core::interface_hierarchy!(ContactChangedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactChangedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactChangedDeferral {} unsafe impl ::core::marker::Sync for ContactChangedDeferral {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -4019,7 +4019,7 @@ impl ::core::fmt::Debug for ContactChangedEventArgs { } } impl ::windows::core::RuntimeType for ContactChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangedEventArgs;{525e7fd1-73f3-4b7d-a918-580be4366121})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangedEventArgs;{525e7fd1-73f3-4b7d-a918-580be4366121})"); } impl ::core::clone::Clone for ContactChangedEventArgs { fn clone(&self) -> Self { @@ -4035,7 +4035,7 @@ unsafe impl ::windows::core::Interface for ContactChangedEventArgs { impl ::windows::core::RuntimeName for ContactChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactChangedEventArgs"; } -::windows::core::interface_hierarchy!(ContactChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactChangedEventArgs {} unsafe impl ::core::marker::Sync for ContactChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -4045,8 +4045,8 @@ impl ContactConnectedServiceAccount { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -4084,7 +4084,7 @@ impl ::core::fmt::Debug for ContactConnectedServiceAccount { } } impl ::windows::core::RuntimeType for ContactConnectedServiceAccount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactConnectedServiceAccount;{f6f83553-aa27-4731-8e4a-3dec5ce9eec9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactConnectedServiceAccount;{f6f83553-aa27-4731-8e4a-3dec5ce9eec9})"); } impl ::core::clone::Clone for ContactConnectedServiceAccount { fn clone(&self) -> Self { @@ -4100,7 +4100,7 @@ unsafe impl ::windows::core::Interface for ContactConnectedServiceAccount { impl ::windows::core::RuntimeName for ContactConnectedServiceAccount { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactConnectedServiceAccount"; } -::windows::core::interface_hierarchy!(ContactConnectedServiceAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactConnectedServiceAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactConnectedServiceAccount {} unsafe impl ::core::marker::Sync for ContactConnectedServiceAccount {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -4110,8 +4110,8 @@ impl ContactDate { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4206,7 +4206,7 @@ impl ::core::fmt::Debug for ContactDate { } } impl ::windows::core::RuntimeType for ContactDate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactDate;{fe98ae66-b205-4934-9174-0ff2b0565707})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactDate;{fe98ae66-b205-4934-9174-0ff2b0565707})"); } impl ::core::clone::Clone for ContactDate { fn clone(&self) -> Self { @@ -4222,7 +4222,7 @@ unsafe impl ::windows::core::Interface for ContactDate { impl ::windows::core::RuntimeName for ContactDate { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactDate"; } -::windows::core::interface_hierarchy!(ContactDate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactDate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactDate {} unsafe impl ::core::marker::Sync for ContactDate {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -4232,8 +4232,8 @@ impl ContactEmail { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Address(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -4282,7 +4282,7 @@ impl ::core::fmt::Debug for ContactEmail { } } impl ::windows::core::RuntimeType for ContactEmail { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactEmail;{90a219a9-e3d3-4d63-993b-05b9a5393abf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactEmail;{90a219a9-e3d3-4d63-993b-05b9a5393abf})"); } impl ::core::clone::Clone for ContactEmail { fn clone(&self) -> Self { @@ -4298,7 +4298,7 @@ unsafe impl ::windows::core::Interface for ContactEmail { impl ::windows::core::RuntimeName for ContactEmail { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactEmail"; } -::windows::core::interface_hierarchy!(ContactEmail, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactEmail, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactEmail {} unsafe impl ::core::marker::Sync for ContactEmail {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -4353,7 +4353,7 @@ impl ContactField { } #[doc(hidden)] pub fn IContactFieldFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4369,7 +4369,7 @@ impl ::core::fmt::Debug for ContactField { } } impl ::windows::core::RuntimeType for ContactField { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactField;{b176486a-d293-492c-a058-db575b3e3c0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactField;{b176486a-d293-492c-a058-db575b3e3c0f})"); } impl ::core::clone::Clone for ContactField { fn clone(&self) -> Self { @@ -4385,7 +4385,7 @@ unsafe impl ::windows::core::Interface for ContactField { impl ::windows::core::RuntimeName for ContactField { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactField"; } -::windows::core::interface_hierarchy!(ContactField, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactField, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IContactField { type Error = ::windows::core::Error; fn try_from(value: ContactField) -> ::windows::core::Result { @@ -4414,8 +4414,8 @@ impl ContactFieldFactory { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CreateField_Default(&self, value: &::windows::core::HSTRING, r#type: ContactFieldType) -> ::windows::core::Result { @@ -4496,7 +4496,7 @@ impl ::core::fmt::Debug for ContactFieldFactory { } } impl ::windows::core::RuntimeType for ContactFieldFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactFieldFactory;{85e2913f-0e4a-4a3e-8994-406ae7ed646e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactFieldFactory;{85e2913f-0e4a-4a3e-8994-406ae7ed646e})"); } impl ::core::clone::Clone for ContactFieldFactory { fn clone(&self) -> Self { @@ -4512,7 +4512,7 @@ unsafe impl ::windows::core::Interface for ContactFieldFactory { impl ::windows::core::RuntimeName for ContactFieldFactory { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactFieldFactory"; } -::windows::core::interface_hierarchy!(ContactFieldFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactFieldFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IContactFieldFactory { type Error = ::windows::core::Error; fn try_from(value: ContactFieldFactory) -> ::windows::core::Result { @@ -4588,7 +4588,7 @@ impl ::core::fmt::Debug for ContactGroup { } } impl ::windows::core::RuntimeType for ContactGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactGroup;{59bdeb01-9e9a-475d-bfe5-a37b806d852c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactGroup;{59bdeb01-9e9a-475d-bfe5-a37b806d852c})"); } impl ::core::clone::Clone for ContactGroup { fn clone(&self) -> Self { @@ -4604,7 +4604,7 @@ unsafe impl ::windows::core::Interface for ContactGroup { impl ::windows::core::RuntimeName for ContactGroup { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactGroup"; } -::windows::core::interface_hierarchy!(ContactGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactGroup {} unsafe impl ::core::marker::Sync for ContactGroup {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -4694,7 +4694,7 @@ impl ::core::fmt::Debug for ContactInformation { } } impl ::windows::core::RuntimeType for ContactInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactInformation;{275eb6d4-6a2e-4278-a914-e460d5f088f6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactInformation;{275eb6d4-6a2e-4278-a914-e460d5f088f6})"); } impl ::core::clone::Clone for ContactInformation { fn clone(&self) -> Self { @@ -4710,7 +4710,7 @@ unsafe impl ::windows::core::Interface for ContactInformation { impl ::windows::core::RuntimeName for ContactInformation { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactInformation"; } -::windows::core::interface_hierarchy!(ContactInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] pub struct ContactInstantMessageField(::windows::core::IUnknown); @@ -4795,7 +4795,7 @@ impl ContactInstantMessageField { } #[doc(hidden)] pub fn IContactInstantMessageFieldFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4811,7 +4811,7 @@ impl ::core::fmt::Debug for ContactInstantMessageField { } } impl ::windows::core::RuntimeType for ContactInstantMessageField { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactInstantMessageField;{cce33b37-0d85-41fa-b43d-da599c3eb009})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactInstantMessageField;{cce33b37-0d85-41fa-b43d-da599c3eb009})"); } impl ::core::clone::Clone for ContactInstantMessageField { fn clone(&self) -> Self { @@ -4827,7 +4827,7 @@ unsafe impl ::windows::core::Interface for ContactInstantMessageField { impl ::windows::core::RuntimeName for ContactInstantMessageField { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactInstantMessageField"; } -::windows::core::interface_hierarchy!(ContactInstantMessageField, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactInstantMessageField, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IContactField { type Error = ::windows::core::Error; fn try_from(value: ContactInstantMessageField) -> ::windows::core::Result { @@ -4856,8 +4856,8 @@ impl ContactJobInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CompanyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -4961,7 +4961,7 @@ impl ::core::fmt::Debug for ContactJobInfo { } } impl ::windows::core::RuntimeType for ContactJobInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactJobInfo;{6d117b4c-ce50-4b43-9e69-b18258ea5315})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactJobInfo;{6d117b4c-ce50-4b43-9e69-b18258ea5315})"); } impl ::core::clone::Clone for ContactJobInfo { fn clone(&self) -> Self { @@ -4977,7 +4977,7 @@ unsafe impl ::windows::core::Interface for ContactJobInfo { impl ::windows::core::RuntimeName for ContactJobInfo { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactJobInfo"; } -::windows::core::interface_hierarchy!(ContactJobInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactJobInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactJobInfo {} unsafe impl ::core::marker::Sync for ContactJobInfo {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -5015,7 +5015,7 @@ impl ContactLaunchActionVerbs { } #[doc(hidden)] pub fn IContactLaunchActionVerbsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5251,7 +5251,7 @@ impl ::core::fmt::Debug for ContactList { } } impl ::windows::core::RuntimeType for ContactList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactList;{16ddec75-392c-4845-9dfb-51a3e7ef3e42})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactList;{16ddec75-392c-4845-9dfb-51a3e7ef3e42})"); } impl ::core::clone::Clone for ContactList { fn clone(&self) -> Self { @@ -5267,7 +5267,7 @@ unsafe impl ::windows::core::Interface for ContactList { impl ::windows::core::RuntimeName for ContactList { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactList"; } -::windows::core::interface_hierarchy!(ContactList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactList, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactList {} unsafe impl ::core::marker::Sync for ContactList {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -5305,7 +5305,7 @@ impl ::core::fmt::Debug for ContactListLimitedWriteOperations { } } impl ::windows::core::RuntimeType for ContactListLimitedWriteOperations { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListLimitedWriteOperations;{e19813da-4a0b-44b8-9a1f-a0f3d218175f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListLimitedWriteOperations;{e19813da-4a0b-44b8-9a1f-a0f3d218175f})"); } impl ::core::clone::Clone for ContactListLimitedWriteOperations { fn clone(&self) -> Self { @@ -5321,7 +5321,7 @@ unsafe impl ::windows::core::Interface for ContactListLimitedWriteOperations { impl ::windows::core::RuntimeName for ContactListLimitedWriteOperations { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactListLimitedWriteOperations"; } -::windows::core::interface_hierarchy!(ContactListLimitedWriteOperations, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListLimitedWriteOperations, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListLimitedWriteOperations {} unsafe impl ::core::marker::Sync for ContactListLimitedWriteOperations {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -5865,7 +5865,7 @@ impl ::core::fmt::Debug for ContactListSyncConstraints { } } impl ::windows::core::RuntimeType for ContactListSyncConstraints { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListSyncConstraints;{b2b0bf01-3062-4e2e-969d-018d1987f314})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListSyncConstraints;{b2b0bf01-3062-4e2e-969d-018d1987f314})"); } impl ::core::clone::Clone for ContactListSyncConstraints { fn clone(&self) -> Self { @@ -5881,7 +5881,7 @@ unsafe impl ::windows::core::Interface for ContactListSyncConstraints { impl ::windows::core::RuntimeName for ContactListSyncConstraints { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactListSyncConstraints"; } -::windows::core::interface_hierarchy!(ContactListSyncConstraints, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListSyncConstraints, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListSyncConstraints {} unsafe impl ::core::marker::Sync for ContactListSyncConstraints {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -5966,7 +5966,7 @@ impl ::core::fmt::Debug for ContactListSyncManager { } } impl ::windows::core::RuntimeType for ContactListSyncManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListSyncManager;{146e83be-7925-4acc-9de5-21ddd06f8674})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListSyncManager;{146e83be-7925-4acc-9de5-21ddd06f8674})"); } impl ::core::clone::Clone for ContactListSyncManager { fn clone(&self) -> Self { @@ -5982,7 +5982,7 @@ unsafe impl ::windows::core::Interface for ContactListSyncManager { impl ::windows::core::RuntimeName for ContactListSyncManager { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactListSyncManager"; } -::windows::core::interface_hierarchy!(ContactListSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactListSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactListSyncManager {} unsafe impl ::core::marker::Sync for ContactListSyncManager {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -6079,7 +6079,7 @@ impl ContactLocationField { } #[doc(hidden)] pub fn IContactLocationFieldFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6095,7 +6095,7 @@ impl ::core::fmt::Debug for ContactLocationField { } } impl ::windows::core::RuntimeType for ContactLocationField { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactLocationField;{9ec00f82-ab6e-4b36-89e3-b23bc0a1dacc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactLocationField;{9ec00f82-ab6e-4b36-89e3-b23bc0a1dacc})"); } impl ::core::clone::Clone for ContactLocationField { fn clone(&self) -> Self { @@ -6111,7 +6111,7 @@ unsafe impl ::windows::core::Interface for ContactLocationField { impl ::windows::core::RuntimeName for ContactLocationField { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactLocationField"; } -::windows::core::interface_hierarchy!(ContactLocationField, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactLocationField, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IContactField { type Error = ::windows::core::Error; fn try_from(value: ContactLocationField) -> ::windows::core::Result { @@ -6279,27 +6279,27 @@ impl ContactManager { } #[doc(hidden)] pub fn IContactManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IContactManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IContactManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IContactManagerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IContactManagerStatics5 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6407,7 +6407,7 @@ impl ::core::fmt::Debug for ContactManagerForUser { } } impl ::windows::core::RuntimeType for ContactManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactManagerForUser;{b74bba57-1076-4bef-aef3-54686d18387d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactManagerForUser;{b74bba57-1076-4bef-aef3-54686d18387d})"); } impl ::core::clone::Clone for ContactManagerForUser { fn clone(&self) -> Self { @@ -6423,7 +6423,7 @@ unsafe impl ::windows::core::Interface for ContactManagerForUser { impl ::windows::core::RuntimeName for ContactManagerForUser { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactManagerForUser"; } -::windows::core::interface_hierarchy!(ContactManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactManagerForUser {} unsafe impl ::core::marker::Sync for ContactManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -6466,7 +6466,7 @@ impl ::core::fmt::Debug for ContactMatchReason { } } impl ::windows::core::RuntimeType for ContactMatchReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactMatchReason;{bc922504-e7d8-413e-95f4-b75c54c74077})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactMatchReason;{bc922504-e7d8-413e-95f4-b75c54c74077})"); } impl ::core::clone::Clone for ContactMatchReason { fn clone(&self) -> Self { @@ -6482,7 +6482,7 @@ unsafe impl ::windows::core::Interface for ContactMatchReason { impl ::windows::core::RuntimeName for ContactMatchReason { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactMatchReason"; } -::windows::core::interface_hierarchy!(ContactMatchReason, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactMatchReason, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactMatchReason {} unsafe impl ::core::marker::Sync for ContactMatchReason {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -6555,7 +6555,7 @@ impl ::core::fmt::Debug for ContactPanel { } } impl ::windows::core::RuntimeType for ContactPanel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanel;{41bf1265-d2ee-4b97-a80a-7d8d64cca6f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanel;{41bf1265-d2ee-4b97-a80a-7d8d64cca6f5})"); } impl ::core::clone::Clone for ContactPanel { fn clone(&self) -> Self { @@ -6571,7 +6571,7 @@ unsafe impl ::windows::core::Interface for ContactPanel { impl ::windows::core::RuntimeName for ContactPanel { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactPanel"; } -::windows::core::interface_hierarchy!(ContactPanel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPanel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactPanel {} unsafe impl ::core::marker::Sync for ContactPanel {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -6600,7 +6600,7 @@ impl ::core::fmt::Debug for ContactPanelClosingEventArgs { } } impl ::windows::core::RuntimeType for ContactPanelClosingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanelClosingEventArgs;{222174d3-cf4b-46d7-b739-6edc16110bfb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanelClosingEventArgs;{222174d3-cf4b-46d7-b739-6edc16110bfb})"); } impl ::core::clone::Clone for ContactPanelClosingEventArgs { fn clone(&self) -> Self { @@ -6616,7 +6616,7 @@ unsafe impl ::windows::core::Interface for ContactPanelClosingEventArgs { impl ::windows::core::RuntimeName for ContactPanelClosingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactPanelClosingEventArgs"; } -::windows::core::interface_hierarchy!(ContactPanelClosingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPanelClosingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactPanelClosingEventArgs {} unsafe impl ::core::marker::Sync for ContactPanelClosingEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -6647,7 +6647,7 @@ impl ::core::fmt::Debug for ContactPanelLaunchFullAppRequestedEventArgs { } } impl ::windows::core::RuntimeType for ContactPanelLaunchFullAppRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanelLaunchFullAppRequestedEventArgs;{88d61c0e-23b4-4be8-8afc-072c25a4190d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanelLaunchFullAppRequestedEventArgs;{88d61c0e-23b4-4be8-8afc-072c25a4190d})"); } impl ::core::clone::Clone for ContactPanelLaunchFullAppRequestedEventArgs { fn clone(&self) -> Self { @@ -6663,7 +6663,7 @@ unsafe impl ::windows::core::Interface for ContactPanelLaunchFullAppRequestedEve impl ::windows::core::RuntimeName for ContactPanelLaunchFullAppRequestedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactPanelLaunchFullAppRequestedEventArgs"; } -::windows::core::interface_hierarchy!(ContactPanelLaunchFullAppRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPanelLaunchFullAppRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactPanelLaunchFullAppRequestedEventArgs {} unsafe impl ::core::marker::Sync for ContactPanelLaunchFullAppRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -6673,8 +6673,8 @@ impl ContactPhone { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Number(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -6723,7 +6723,7 @@ impl ::core::fmt::Debug for ContactPhone { } } impl ::windows::core::RuntimeType for ContactPhone { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPhone;{467dab65-2712-4f52-b783-9ea8111c63cd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPhone;{467dab65-2712-4f52-b783-9ea8111c63cd})"); } impl ::core::clone::Clone for ContactPhone { fn clone(&self) -> Self { @@ -6739,7 +6739,7 @@ unsafe impl ::windows::core::Interface for ContactPhone { impl ::windows::core::RuntimeName for ContactPhone { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactPhone"; } -::windows::core::interface_hierarchy!(ContactPhone, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPhone, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactPhone {} unsafe impl ::core::marker::Sync for ContactPhone {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -6749,8 +6749,8 @@ impl ContactPicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CommitButtonText(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -6856,7 +6856,7 @@ impl ContactPicker { } #[doc(hidden)] pub fn IContactPickerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6872,7 +6872,7 @@ impl ::core::fmt::Debug for ContactPicker { } } impl ::windows::core::RuntimeType for ContactPicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPicker;{0e09fd91-42f8-4055-90a0-896f96738936})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPicker;{0e09fd91-42f8-4055-90a0-896f96738936})"); } impl ::core::clone::Clone for ContactPicker { fn clone(&self) -> Self { @@ -6888,7 +6888,7 @@ unsafe impl ::windows::core::Interface for ContactPicker { impl ::windows::core::RuntimeName for ContactPicker { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactPicker"; } -::windows::core::interface_hierarchy!(ContactPicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactPicker, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] pub struct ContactQueryOptions(::windows::core::IUnknown); @@ -6896,8 +6896,8 @@ impl ContactQueryOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TextSearch(&self) -> ::windows::core::Result { @@ -6972,7 +6972,7 @@ impl ContactQueryOptions { } #[doc(hidden)] pub fn IContactQueryOptionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6988,7 +6988,7 @@ impl ::core::fmt::Debug for ContactQueryOptions { } } impl ::windows::core::RuntimeType for ContactQueryOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactQueryOptions;{4408cc9e-7d7c-42f0-8ac7-f50733ecdbc1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactQueryOptions;{4408cc9e-7d7c-42f0-8ac7-f50733ecdbc1})"); } impl ::core::clone::Clone for ContactQueryOptions { fn clone(&self) -> Self { @@ -7004,7 +7004,7 @@ unsafe impl ::windows::core::Interface for ContactQueryOptions { impl ::windows::core::RuntimeName for ContactQueryOptions { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactQueryOptions"; } -::windows::core::interface_hierarchy!(ContactQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactQueryOptions {} unsafe impl ::core::marker::Sync for ContactQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7057,7 +7057,7 @@ impl ::core::fmt::Debug for ContactQueryTextSearch { } } impl ::windows::core::RuntimeType for ContactQueryTextSearch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactQueryTextSearch;{f7e3f9cb-a957-439b-a0b7-1c02a1963ff0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactQueryTextSearch;{f7e3f9cb-a957-439b-a0b7-1c02a1963ff0})"); } impl ::core::clone::Clone for ContactQueryTextSearch { fn clone(&self) -> Self { @@ -7073,7 +7073,7 @@ unsafe impl ::windows::core::Interface for ContactQueryTextSearch { impl ::windows::core::RuntimeName for ContactQueryTextSearch { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactQueryTextSearch"; } -::windows::core::interface_hierarchy!(ContactQueryTextSearch, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactQueryTextSearch, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactQueryTextSearch {} unsafe impl ::core::marker::Sync for ContactQueryTextSearch {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7111,7 +7111,7 @@ impl ::core::fmt::Debug for ContactReader { } } impl ::windows::core::RuntimeType for ContactReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactReader;{d397e42e-1488-42f2-bf64-253f4884bfed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactReader;{d397e42e-1488-42f2-bf64-253f4884bfed})"); } impl ::core::clone::Clone for ContactReader { fn clone(&self) -> Self { @@ -7127,7 +7127,7 @@ unsafe impl ::windows::core::Interface for ContactReader { impl ::windows::core::RuntimeName for ContactReader { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactReader"; } -::windows::core::interface_hierarchy!(ContactReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactReader {} unsafe impl ::core::marker::Sync for ContactReader {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7137,8 +7137,8 @@ impl ContactSignificantOther { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -7187,7 +7187,7 @@ impl ::core::fmt::Debug for ContactSignificantOther { } } impl ::windows::core::RuntimeType for ContactSignificantOther { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactSignificantOther;{8873b5ab-c5fb-46d8-93fe-da3ff1934054})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactSignificantOther;{8873b5ab-c5fb-46d8-93fe-da3ff1934054})"); } impl ::core::clone::Clone for ContactSignificantOther { fn clone(&self) -> Self { @@ -7203,7 +7203,7 @@ unsafe impl ::windows::core::Interface for ContactSignificantOther { impl ::windows::core::RuntimeName for ContactSignificantOther { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactSignificantOther"; } -::windows::core::interface_hierarchy!(ContactSignificantOther, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactSignificantOther, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactSignificantOther {} unsafe impl ::core::marker::Sync for ContactSignificantOther {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7345,7 +7345,7 @@ impl ::core::fmt::Debug for ContactStore { } } impl ::windows::core::RuntimeType for ContactStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactStore;{2c220b10-3a6c-4293-b9bc-fe987f6e0d52})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactStore;{2c220b10-3a6c-4293-b9bc-fe987f6e0d52})"); } impl ::core::clone::Clone for ContactStore { fn clone(&self) -> Self { @@ -7361,7 +7361,7 @@ unsafe impl ::windows::core::Interface for ContactStore { impl ::windows::core::RuntimeName for ContactStore { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactStore"; } -::windows::core::interface_hierarchy!(ContactStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactStore {} unsafe impl ::core::marker::Sync for ContactStore {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7380,7 +7380,7 @@ impl ::core::fmt::Debug for ContactStoreNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for ContactStoreNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactStoreNotificationTriggerDetails;{abb298d6-878a-4f8b-a9ce-46bb7d1c84ce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactStoreNotificationTriggerDetails;{abb298d6-878a-4f8b-a9ce-46bb7d1c84ce})"); } impl ::core::clone::Clone for ContactStoreNotificationTriggerDetails { fn clone(&self) -> Self { @@ -7396,7 +7396,7 @@ unsafe impl ::windows::core::Interface for ContactStoreNotificationTriggerDetail impl ::windows::core::RuntimeName for ContactStoreNotificationTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactStoreNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(ContactStoreNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactStoreNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactStoreNotificationTriggerDetails {} unsafe impl ::core::marker::Sync for ContactStoreNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7406,8 +7406,8 @@ impl ContactWebsite { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -7460,7 +7460,7 @@ impl ::core::fmt::Debug for ContactWebsite { } } impl ::windows::core::RuntimeType for ContactWebsite { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactWebsite;{9f130176-dc1b-4055-ad66-652f39d990e8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactWebsite;{9f130176-dc1b-4055-ad66-652f39d990e8})"); } impl ::core::clone::Clone for ContactWebsite { fn clone(&self) -> Self { @@ -7476,7 +7476,7 @@ unsafe impl ::windows::core::Interface for ContactWebsite { impl ::windows::core::RuntimeName for ContactWebsite { const NAME: &'static str = "Windows.ApplicationModel.Contacts.ContactWebsite"; } -::windows::core::interface_hierarchy!(ContactWebsite, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactWebsite, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactWebsite {} unsafe impl ::core::marker::Sync for ContactWebsite {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7486,8 +7486,8 @@ impl FullContactCardOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -7518,7 +7518,7 @@ impl ::core::fmt::Debug for FullContactCardOptions { } } impl ::windows::core::RuntimeType for FullContactCardOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.FullContactCardOptions;{8744436c-5cf9-4683-bdca-a1fdebf8dbce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.FullContactCardOptions;{8744436c-5cf9-4683-bdca-a1fdebf8dbce})"); } impl ::core::clone::Clone for FullContactCardOptions { fn clone(&self) -> Self { @@ -7534,7 +7534,7 @@ unsafe impl ::windows::core::Interface for FullContactCardOptions { impl ::windows::core::RuntimeName for FullContactCardOptions { const NAME: &'static str = "Windows.ApplicationModel.Contacts.FullContactCardOptions"; } -::windows::core::interface_hierarchy!(FullContactCardOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FullContactCardOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FullContactCardOptions {} unsafe impl ::core::marker::Sync for FullContactCardOptions {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`, `\"deprecated\"`*"] @@ -7593,7 +7593,7 @@ impl KnownContactField { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IKnownContactFieldStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7627,7 +7627,7 @@ impl ::core::fmt::Debug for PinnedContactIdsQueryResult { } } impl ::windows::core::RuntimeType for PinnedContactIdsQueryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.PinnedContactIdsQueryResult;{7d9b2552-1579-4ddc-871f-a30a3aea9ba1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.PinnedContactIdsQueryResult;{7d9b2552-1579-4ddc-871f-a30a3aea9ba1})"); } impl ::core::clone::Clone for PinnedContactIdsQueryResult { fn clone(&self) -> Self { @@ -7643,7 +7643,7 @@ unsafe impl ::windows::core::Interface for PinnedContactIdsQueryResult { impl ::windows::core::RuntimeName for PinnedContactIdsQueryResult { const NAME: &'static str = "Windows.ApplicationModel.Contacts.PinnedContactIdsQueryResult"; } -::windows::core::interface_hierarchy!(PinnedContactIdsQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PinnedContactIdsQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PinnedContactIdsQueryResult {} unsafe impl ::core::marker::Sync for PinnedContactIdsQueryResult {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7739,7 +7739,7 @@ impl PinnedContactManager { } #[doc(hidden)] pub fn IPinnedContactManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7755,7 +7755,7 @@ impl ::core::fmt::Debug for PinnedContactManager { } } impl ::windows::core::RuntimeType for PinnedContactManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.PinnedContactManager;{fcbc740c-e1d6-45c3-b8b6-a35604e167a0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.PinnedContactManager;{fcbc740c-e1d6-45c3-b8b6-a35604e167a0})"); } impl ::core::clone::Clone for PinnedContactManager { fn clone(&self) -> Self { @@ -7771,7 +7771,7 @@ unsafe impl ::windows::core::Interface for PinnedContactManager { impl ::windows::core::RuntimeName for PinnedContactManager { const NAME: &'static str = "Windows.ApplicationModel.Contacts.PinnedContactManager"; } -::windows::core::interface_hierarchy!(PinnedContactManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PinnedContactManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PinnedContactManager {} unsafe impl ::core::marker::Sync for PinnedContactManager {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -7803,7 +7803,7 @@ impl ::core::fmt::Debug for ContactAddressKind { } } impl ::windows::core::RuntimeType for ContactAddressKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactAddressKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactAddressKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -7871,7 +7871,7 @@ impl ::core::ops::Not for ContactAnnotationOperations { } } impl ::windows::core::RuntimeType for ContactAnnotationOperations { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactAnnotationOperations;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactAnnotationOperations;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -7901,7 +7901,7 @@ impl ::core::fmt::Debug for ContactAnnotationStoreAccessType { } } impl ::windows::core::RuntimeType for ContactAnnotationStoreAccessType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactAnnotationStoreAccessType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactAnnotationStoreAccessType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -7932,7 +7932,7 @@ impl ::core::fmt::Debug for ContactBatchStatus { } } impl ::windows::core::RuntimeType for ContactBatchStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactBatchStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactBatchStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -7963,7 +7963,7 @@ impl ::core::fmt::Debug for ContactCardHeaderKind { } } impl ::windows::core::RuntimeType for ContactCardHeaderKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactCardHeaderKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactCardHeaderKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -7997,7 +7997,7 @@ impl ::core::fmt::Debug for ContactCardTabKind { } } impl ::windows::core::RuntimeType for ContactCardTabKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactCardTabKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactCardTabKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8029,7 +8029,7 @@ impl ::core::fmt::Debug for ContactChangeType { } } impl ::windows::core::RuntimeType for ContactChangeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactChangeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactChangeType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8060,7 +8060,7 @@ impl ::core::fmt::Debug for ContactDateKind { } } impl ::windows::core::RuntimeType for ContactDateKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactDateKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactDateKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8091,7 +8091,7 @@ impl ::core::fmt::Debug for ContactEmailKind { } } impl ::windows::core::RuntimeType for ContactEmailKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactEmailKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactEmailKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8124,7 +8124,7 @@ impl ::core::fmt::Debug for ContactFieldCategory { } } impl ::windows::core::RuntimeType for ContactFieldCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactFieldCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactFieldCategory;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8164,7 +8164,7 @@ impl ::core::fmt::Debug for ContactFieldType { } } impl ::windows::core::RuntimeType for ContactFieldType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactFieldType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactFieldType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8196,7 +8196,7 @@ impl ::core::fmt::Debug for ContactListOtherAppReadAccess { } } impl ::windows::core::RuntimeType for ContactListOtherAppReadAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactListOtherAppReadAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactListOtherAppReadAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8227,7 +8227,7 @@ impl ::core::fmt::Debug for ContactListOtherAppWriteAccess { } } impl ::windows::core::RuntimeType for ContactListOtherAppWriteAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactListOtherAppWriteAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactListOtherAppWriteAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8262,7 +8262,7 @@ impl ::core::fmt::Debug for ContactListSyncStatus { } } impl ::windows::core::RuntimeType for ContactListSyncStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactListSyncStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactListSyncStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8296,7 +8296,7 @@ impl ::core::fmt::Debug for ContactMatchReasonKind { } } impl ::windows::core::RuntimeType for ContactMatchReasonKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactMatchReasonKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactMatchReasonKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8326,7 +8326,7 @@ impl ::core::fmt::Debug for ContactNameOrder { } } impl ::windows::core::RuntimeType for ContactNameOrder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactNameOrder;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactNameOrder;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8364,7 +8364,7 @@ impl ::core::fmt::Debug for ContactPhoneKind { } } impl ::windows::core::RuntimeType for ContactPhoneKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactPhoneKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactPhoneKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8429,7 +8429,7 @@ impl ::core::ops::Not for ContactQueryDesiredFields { } } impl ::windows::core::RuntimeType for ContactQueryDesiredFields { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactQueryDesiredFields;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactQueryDesiredFields;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8495,7 +8495,7 @@ impl ::core::ops::Not for ContactQuerySearchFields { } } impl ::windows::core::RuntimeType for ContactQuerySearchFields { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactQuerySearchFields;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactQuerySearchFields;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8525,7 +8525,7 @@ impl ::core::fmt::Debug for ContactQuerySearchScope { } } impl ::windows::core::RuntimeType for ContactQuerySearchScope { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactQuerySearchScope;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactQuerySearchScope;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8559,7 +8559,7 @@ impl ::core::fmt::Debug for ContactRelationship { } } impl ::windows::core::RuntimeType for ContactRelationship { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactRelationship;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactRelationship;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8589,7 +8589,7 @@ impl ::core::fmt::Debug for ContactSelectionMode { } } impl ::windows::core::RuntimeType for ContactSelectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactSelectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactSelectionMode;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8620,7 +8620,7 @@ impl ::core::fmt::Debug for ContactStoreAccessType { } } impl ::windows::core::RuntimeType for ContactStoreAccessType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactStoreAccessType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.ContactStoreAccessType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] @@ -8650,7 +8650,7 @@ impl ::core::fmt::Debug for PinnedContactSurface { } } impl ::windows::core::RuntimeType for PinnedContactSurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.PinnedContactSurface;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Contacts.PinnedContactSurface;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs index c3b0f6e0d6..a5a1ea57aa 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs @@ -934,7 +934,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectionConfiguration { } } impl ::windows::core::RuntimeType for ActivationSignalDetectionConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfiguration;{40d8be16-5217-581c-9ab2-ce9b2f2e8e00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfiguration;{40d8be16-5217-581c-9ab2-ce9b2f2e8e00})"); } impl ::core::clone::Clone for ActivationSignalDetectionConfiguration { fn clone(&self) -> Self { @@ -950,7 +950,7 @@ unsafe impl ::windows::core::Interface for ActivationSignalDetectionConfiguratio impl ::windows::core::RuntimeName for ActivationSignalDetectionConfiguration { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfiguration"; } -::windows::core::interface_hierarchy!(ActivationSignalDetectionConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivationSignalDetectionConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1006,7 +1006,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectionConfigurationCreationResult } } impl ::windows::core::RuntimeType for ActivationSignalDetectionConfigurationCreationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationCreationResult;{4c89bc1b-8d12-5e48-a71c-7f6bc1cd66e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationCreationResult;{4c89bc1b-8d12-5e48-a71c-7f6bc1cd66e0})"); } impl ::core::clone::Clone for ActivationSignalDetectionConfigurationCreationResult { fn clone(&self) -> Self { @@ -1022,7 +1022,7 @@ unsafe impl ::windows::core::Interface for ActivationSignalDetectionConfiguratio impl ::windows::core::RuntimeName for ActivationSignalDetectionConfigurationCreationResult { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationCreationResult"; } -::windows::core::interface_hierarchy!(ActivationSignalDetectionConfigurationCreationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivationSignalDetectionConfigurationCreationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ActivationSignalDetectionConfigurationCreationResult {} unsafe impl ::core::marker::Sync for ActivationSignalDetectionConfigurationCreationResult {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -1225,7 +1225,7 @@ impl ::core::fmt::Debug for ActivationSignalDetector { } } impl ::windows::core::RuntimeType for ActivationSignalDetector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetector;{b5bf345f-a4d0-5b2b-8e65-b3c55ee756ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetector;{b5bf345f-a4d0-5b2b-8e65-b3c55ee756ff})"); } impl ::core::clone::Clone for ActivationSignalDetector { fn clone(&self) -> Self { @@ -1241,7 +1241,7 @@ unsafe impl ::windows::core::Interface for ActivationSignalDetector { impl ::windows::core::RuntimeName for ActivationSignalDetector { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetector"; } -::windows::core::interface_hierarchy!(ActivationSignalDetector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivationSignalDetector, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ActivationSignalDetector {} unsafe impl ::core::marker::Sync for ActivationSignalDetector {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -1308,7 +1308,7 @@ impl ConversationalAgentDetectorManager { } #[doc(hidden)] pub fn IConversationalAgentDetectorManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1324,7 +1324,7 @@ impl ::core::fmt::Debug for ConversationalAgentDetectorManager { } } impl ::windows::core::RuntimeType for ConversationalAgentDetectorManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentDetectorManager;{de94fbb0-597a-5df8-8cfb-9dbb583ba3ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentDetectorManager;{de94fbb0-597a-5df8-8cfb-9dbb583ba3ff})"); } impl ::core::clone::Clone for ConversationalAgentDetectorManager { fn clone(&self) -> Self { @@ -1340,7 +1340,7 @@ unsafe impl ::windows::core::Interface for ConversationalAgentDetectorManager { impl ::windows::core::RuntimeName for ConversationalAgentDetectorManager { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ConversationalAgentDetectorManager"; } -::windows::core::interface_hierarchy!(ConversationalAgentDetectorManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConversationalAgentDetectorManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConversationalAgentDetectorManager {} unsafe impl ::core::marker::Sync for ConversationalAgentDetectorManager {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -1681,7 +1681,7 @@ impl ConversationalAgentSession { } #[doc(hidden)] pub fn IConversationalAgentSessionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1697,7 +1697,7 @@ impl ::core::fmt::Debug for ConversationalAgentSession { } } impl ::windows::core::RuntimeType for ConversationalAgentSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSession;{daaae09a-b7ba-57e5-ad13-df520f9b6fa7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSession;{daaae09a-b7ba-57e5-ad13-df520f9b6fa7})"); } impl ::core::clone::Clone for ConversationalAgentSession { fn clone(&self) -> Self { @@ -1713,7 +1713,7 @@ unsafe impl ::windows::core::Interface for ConversationalAgentSession { impl ::windows::core::RuntimeName for ConversationalAgentSession { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSession"; } -::windows::core::interface_hierarchy!(ConversationalAgentSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConversationalAgentSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1754,7 +1754,7 @@ impl ::core::fmt::Debug for ConversationalAgentSessionInterruptedEventArgs { } } impl ::windows::core::RuntimeType for ConversationalAgentSessionInterruptedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSessionInterruptedEventArgs;{9766591f-f63d-5d3e-9bf2-bd0760552686})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSessionInterruptedEventArgs;{9766591f-f63d-5d3e-9bf2-bd0760552686})"); } impl ::core::clone::Clone for ConversationalAgentSessionInterruptedEventArgs { fn clone(&self) -> Self { @@ -1770,7 +1770,7 @@ unsafe impl ::windows::core::Interface for ConversationalAgentSessionInterrupted impl ::windows::core::RuntimeName for ConversationalAgentSessionInterruptedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSessionInterruptedEventArgs"; } -::windows::core::interface_hierarchy!(ConversationalAgentSessionInterruptedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConversationalAgentSessionInterruptedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConversationalAgentSessionInterruptedEventArgs {} unsafe impl ::core::marker::Sync for ConversationalAgentSessionInterruptedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -1881,7 +1881,7 @@ impl ::core::fmt::Debug for ConversationalAgentSignal { } } impl ::windows::core::RuntimeType for ConversationalAgentSignal { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSignal;{20ed25f7-b120-51f2-8603-265d6a47f232})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSignal;{20ed25f7-b120-51f2-8603-265d6a47f232})"); } impl ::core::clone::Clone for ConversationalAgentSignal { fn clone(&self) -> Self { @@ -1897,7 +1897,7 @@ unsafe impl ::windows::core::Interface for ConversationalAgentSignal { impl ::windows::core::RuntimeName for ConversationalAgentSignal { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSignal"; } -::windows::core::interface_hierarchy!(ConversationalAgentSignal, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConversationalAgentSignal, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConversationalAgentSignal {} unsafe impl ::core::marker::Sync for ConversationalAgentSignal {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -1916,7 +1916,7 @@ impl ::core::fmt::Debug for ConversationalAgentSignalDetectedEventArgs { } } impl ::windows::core::RuntimeType for ConversationalAgentSignalDetectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSignalDetectedEventArgs;{4d57eb8f-f88a-599b-91d3-d604876708bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSignalDetectedEventArgs;{4d57eb8f-f88a-599b-91d3-d604876708bc})"); } impl ::core::clone::Clone for ConversationalAgentSignalDetectedEventArgs { fn clone(&self) -> Self { @@ -1932,7 +1932,7 @@ unsafe impl ::windows::core::Interface for ConversationalAgentSignalDetectedEven impl ::windows::core::RuntimeName for ConversationalAgentSignalDetectedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSignalDetectedEventArgs"; } -::windows::core::interface_hierarchy!(ConversationalAgentSignalDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConversationalAgentSignalDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConversationalAgentSignalDetectedEventArgs {} unsafe impl ::core::marker::Sync for ConversationalAgentSignalDetectedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -1959,7 +1959,7 @@ impl ::core::fmt::Debug for ConversationalAgentSystemStateChangedEventArgs { } } impl ::windows::core::RuntimeType for ConversationalAgentSystemStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSystemStateChangedEventArgs;{1c2c6e3e-2785-59a7-8e71-38adeef79928})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSystemStateChangedEventArgs;{1c2c6e3e-2785-59a7-8e71-38adeef79928})"); } impl ::core::clone::Clone for ConversationalAgentSystemStateChangedEventArgs { fn clone(&self) -> Self { @@ -1975,7 +1975,7 @@ unsafe impl ::windows::core::Interface for ConversationalAgentSystemStateChanged impl ::windows::core::RuntimeName for ConversationalAgentSystemStateChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSystemStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(ConversationalAgentSystemStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConversationalAgentSystemStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConversationalAgentSystemStateChangedEventArgs {} unsafe impl ::core::marker::Sync for ConversationalAgentSystemStateChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -2002,7 +2002,7 @@ impl ::core::fmt::Debug for DetectionConfigurationAvailabilityChangedEventArgs { } } impl ::windows::core::RuntimeType for DetectionConfigurationAvailabilityChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityChangedEventArgs;{5129c9fb-4be8-5f14-af2b-88d62b1b4462})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityChangedEventArgs;{5129c9fb-4be8-5f14-af2b-88d62b1b4462})"); } impl ::core::clone::Clone for DetectionConfigurationAvailabilityChangedEventArgs { fn clone(&self) -> Self { @@ -2018,7 +2018,7 @@ unsafe impl ::windows::core::Interface for DetectionConfigurationAvailabilityCha impl ::windows::core::RuntimeName for DetectionConfigurationAvailabilityChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityChangedEventArgs"; } -::windows::core::interface_hierarchy!(DetectionConfigurationAvailabilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DetectionConfigurationAvailabilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DetectionConfigurationAvailabilityChangedEventArgs {} unsafe impl ::core::marker::Sync for DetectionConfigurationAvailabilityChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -2075,7 +2075,7 @@ impl ::core::fmt::Debug for DetectionConfigurationAvailabilityInfo { } } impl ::windows::core::RuntimeType for DetectionConfigurationAvailabilityInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityInfo;{b5affeb0-40f0-5398-b838-91979c2c6208})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityInfo;{b5affeb0-40f0-5398-b838-91979c2c6208})"); } impl ::core::clone::Clone for DetectionConfigurationAvailabilityInfo { fn clone(&self) -> Self { @@ -2091,7 +2091,7 @@ unsafe impl ::windows::core::Interface for DetectionConfigurationAvailabilityInf impl ::windows::core::RuntimeName for DetectionConfigurationAvailabilityInfo { const NAME: &'static str = "Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityInfo"; } -::windows::core::interface_hierarchy!(DetectionConfigurationAvailabilityInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DetectionConfigurationAvailabilityInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DetectionConfigurationAvailabilityInfo {} unsafe impl ::core::marker::Sync for DetectionConfigurationAvailabilityInfo {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] @@ -2128,7 +2128,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectionConfigurationCreationStatus } } impl ::windows::core::RuntimeType for ActivationSignalDetectionConfigurationCreationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationCreationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationCreationStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2160,7 +2160,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectionConfigurationRemovalResult } } impl ::windows::core::RuntimeType for ActivationSignalDetectionConfigurationRemovalResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationRemovalResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationRemovalResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2196,7 +2196,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectionConfigurationSetModelDataRe } } impl ::windows::core::RuntimeType for ActivationSignalDetectionConfigurationSetModelDataResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationSetModelDataResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationSetModelDataResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2227,7 +2227,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectionConfigurationStateChangeRes } } impl ::windows::core::RuntimeType for ActivationSignalDetectionConfigurationStateChangeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationStateChangeResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationStateChangeResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2266,7 +2266,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectionTrainingDataFormat { } } impl ::windows::core::RuntimeType for ActivationSignalDetectionTrainingDataFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionTrainingDataFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionTrainingDataFormat;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2297,7 +2297,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectorKind { } } impl ::windows::core::RuntimeType for ActivationSignalDetectorKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectorKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectorKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2328,7 +2328,7 @@ impl ::core::fmt::Debug for ActivationSignalDetectorPowerState { } } impl ::windows::core::RuntimeType for ActivationSignalDetectorPowerState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectorPowerState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectorPowerState;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2358,7 +2358,7 @@ impl ::core::fmt::Debug for ConversationalAgentActivationKind { } } impl ::windows::core::RuntimeType for ConversationalAgentActivationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentActivationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentActivationKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2390,7 +2390,7 @@ impl ::core::fmt::Debug for ConversationalAgentActivationResult { } } impl ::windows::core::RuntimeType for ConversationalAgentActivationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentActivationResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentActivationResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2420,7 +2420,7 @@ impl ::core::fmt::Debug for ConversationalAgentSessionUpdateResponse { } } impl ::windows::core::RuntimeType for ConversationalAgentSessionUpdateResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSessionUpdateResponse;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSessionUpdateResponse;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2454,7 +2454,7 @@ impl ::core::fmt::Debug for ConversationalAgentState { } } impl ::windows::core::RuntimeType for ConversationalAgentState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentState;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2486,7 +2486,7 @@ impl ::core::fmt::Debug for ConversationalAgentSystemStateChangeType { } } impl ::windows::core::RuntimeType for ConversationalAgentSystemStateChangeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSystemStateChangeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSystemStateChangeType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2520,7 +2520,7 @@ impl ::core::fmt::Debug for ConversationalAgentVoiceActivationPrerequisiteKind { } } impl ::windows::core::RuntimeType for ConversationalAgentVoiceActivationPrerequisiteKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentVoiceActivationPrerequisiteKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentVoiceActivationPrerequisiteKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2551,7 +2551,7 @@ impl ::core::fmt::Debug for DetectionConfigurationAvailabilityChangeKind { } } impl ::windows::core::RuntimeType for DetectionConfigurationAvailabilityChangeKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityChangeKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityChangeKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2589,7 +2589,7 @@ impl ::core::fmt::Debug for DetectionConfigurationTrainingStatus { } } impl ::windows::core::RuntimeType for DetectionConfigurationTrainingStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationTrainingStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationTrainingStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] @@ -2631,7 +2631,7 @@ impl ::core::fmt::Debug for SignalDetectorResourceKind { } } impl ::windows::core::RuntimeType for SignalDetectorResourceKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.SignalDetectorResourceKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ConversationalAgent.SignalDetectorResourceKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs index 7d46a6e896..4b040b589e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs @@ -250,7 +250,7 @@ impl ICoreApplicationUnhandledError { unsafe { (::windows::core::Vtable::vtable(this).RemoveUnhandledErrorDetected)(::windows::core::Vtable::as_raw(this), token).ok() } } } -::windows::core::interface_hierarchy!(ICoreApplicationUnhandledError, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreApplicationUnhandledError, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreApplicationUnhandledError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -263,7 +263,7 @@ impl ::core::fmt::Debug for ICoreApplicationUnhandledError { } } impl ::windows::core::RuntimeType for ICoreApplicationUnhandledError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f0e24ab0-dd09-42e1-b0bc-e0e131f78d7e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f0e24ab0-dd09-42e1-b0bc-e0e131f78d7e}"); } unsafe impl ::windows::core::Vtable for ICoreApplicationUnhandledError { type Vtable = ICoreApplicationUnhandledError_Vtbl; @@ -574,7 +574,7 @@ impl IFrameworkView { unsafe { (::windows::core::Vtable::vtable(this).Uninitialize)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IFrameworkView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFrameworkView, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IFrameworkView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -587,7 +587,7 @@ impl ::core::fmt::Debug for IFrameworkView { } } impl ::windows::core::RuntimeType for IFrameworkView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{faab5cd0-8924-45ac-ad0f-a08fae5d0324}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{faab5cd0-8924-45ac-ad0f-a08fae5d0324}"); } unsafe impl ::windows::core::Vtable for IFrameworkView { type Vtable = IFrameworkView_Vtbl; @@ -625,7 +625,7 @@ impl IFrameworkViewSource { } } } -::windows::core::interface_hierarchy!(IFrameworkViewSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFrameworkViewSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IFrameworkViewSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -638,7 +638,7 @@ impl ::core::fmt::Debug for IFrameworkViewSource { } } impl ::windows::core::RuntimeType for IFrameworkViewSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{cd770614-65c4-426c-9494-34fc43554862}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cd770614-65c4-426c-9494-34fc43554862}"); } unsafe impl ::windows::core::Vtable for IFrameworkViewSource { type Vtable = IFrameworkViewSource_Vtbl; @@ -777,7 +777,7 @@ impl ::core::fmt::Debug for AppListEntry { } } impl ::windows::core::RuntimeType for AppListEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.AppListEntry;{ef00f07f-2108-490a-877a-8a9f17c25fad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.AppListEntry;{ef00f07f-2108-490a-877a-8a9f17c25fad})"); } impl ::core::clone::Clone for AppListEntry { fn clone(&self) -> Self { @@ -793,7 +793,7 @@ unsafe impl ::windows::core::Interface for AppListEntry { impl ::windows::core::RuntimeName for AppListEntry { const NAME: &'static str = "Windows.ApplicationModel.Core.AppListEntry"; } -::windows::core::interface_hierarchy!(AppListEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppListEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppListEntry {} unsafe impl ::core::marker::Sync for AppListEntry {} #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] @@ -992,47 +992,47 @@ impl CoreApplication { } #[doc(hidden)] pub fn ICoreApplication ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreApplication2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreApplication3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreApplicationExit ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreApplicationUnhandledError ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreApplicationUseCount ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreImmersiveApplication ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreImmersiveApplication2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreImmersiveApplication3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1150,7 +1150,7 @@ impl ::core::fmt::Debug for CoreApplicationView { } } impl ::windows::core::RuntimeType for CoreApplicationView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.CoreApplicationView;{638bb2db-451d-4661-b099-414f34ffb9f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.CoreApplicationView;{638bb2db-451d-4661-b099-414f34ffb9f1})"); } impl ::core::clone::Clone for CoreApplicationView { fn clone(&self) -> Self { @@ -1166,7 +1166,7 @@ unsafe impl ::windows::core::Interface for CoreApplicationView { impl ::windows::core::RuntimeName for CoreApplicationView { const NAME: &'static str = "Windows.ApplicationModel.Core.CoreApplicationView"; } -::windows::core::interface_hierarchy!(CoreApplicationView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreApplicationView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] pub struct CoreApplicationViewTitleBar(::windows::core::IUnknown); @@ -1253,7 +1253,7 @@ impl ::core::fmt::Debug for CoreApplicationViewTitleBar { } } impl ::windows::core::RuntimeType for CoreApplicationViewTitleBar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.CoreApplicationViewTitleBar;{006d35e3-e1f1-431b-9508-29b96926ac53})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.CoreApplicationViewTitleBar;{006d35e3-e1f1-431b-9508-29b96926ac53})"); } impl ::core::clone::Clone for CoreApplicationViewTitleBar { fn clone(&self) -> Self { @@ -1269,7 +1269,7 @@ unsafe impl ::windows::core::Interface for CoreApplicationViewTitleBar { impl ::windows::core::RuntimeName for CoreApplicationViewTitleBar { const NAME: &'static str = "Windows.ApplicationModel.Core.CoreApplicationViewTitleBar"; } -::windows::core::interface_hierarchy!(CoreApplicationViewTitleBar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreApplicationViewTitleBar, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] pub struct HostedViewClosingEventArgs(::windows::core::IUnknown); @@ -1296,7 +1296,7 @@ impl ::core::fmt::Debug for HostedViewClosingEventArgs { } } impl ::windows::core::RuntimeType for HostedViewClosingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.HostedViewClosingEventArgs;{d238943c-b24e-4790-acb5-3e4243c4ff87})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.HostedViewClosingEventArgs;{d238943c-b24e-4790-acb5-3e4243c4ff87})"); } impl ::core::clone::Clone for HostedViewClosingEventArgs { fn clone(&self) -> Self { @@ -1312,7 +1312,7 @@ unsafe impl ::windows::core::Interface for HostedViewClosingEventArgs { impl ::windows::core::RuntimeName for HostedViewClosingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Core.HostedViewClosingEventArgs"; } -::windows::core::interface_hierarchy!(HostedViewClosingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HostedViewClosingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HostedViewClosingEventArgs {} unsafe impl ::core::marker::Sync for HostedViewClosingEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] @@ -1343,7 +1343,7 @@ impl ::core::fmt::Debug for UnhandledError { } } impl ::windows::core::RuntimeType for UnhandledError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.UnhandledError;{9459b726-53b5-4686-9eaf-fa8162dc3980})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.UnhandledError;{9459b726-53b5-4686-9eaf-fa8162dc3980})"); } impl ::core::clone::Clone for UnhandledError { fn clone(&self) -> Self { @@ -1359,7 +1359,7 @@ unsafe impl ::windows::core::Interface for UnhandledError { impl ::windows::core::RuntimeName for UnhandledError { const NAME: &'static str = "Windows.ApplicationModel.Core.UnhandledError"; } -::windows::core::interface_hierarchy!(UnhandledError, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UnhandledError, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UnhandledError {} unsafe impl ::core::marker::Sync for UnhandledError {} #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] @@ -1386,7 +1386,7 @@ impl ::core::fmt::Debug for UnhandledErrorDetectedEventArgs { } } impl ::windows::core::RuntimeType for UnhandledErrorDetectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs;{679ab78b-b336-4822-ac40-0d750f0b7a2b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs;{679ab78b-b336-4822-ac40-0d750f0b7a2b})"); } impl ::core::clone::Clone for UnhandledErrorDetectedEventArgs { fn clone(&self) -> Self { @@ -1402,7 +1402,7 @@ unsafe impl ::windows::core::Interface for UnhandledErrorDetectedEventArgs { impl ::windows::core::RuntimeName for UnhandledErrorDetectedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs"; } -::windows::core::interface_hierarchy!(UnhandledErrorDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UnhandledErrorDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UnhandledErrorDetectedEventArgs {} unsafe impl ::core::marker::Sync for UnhandledErrorDetectedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] @@ -1435,7 +1435,7 @@ impl ::core::fmt::Debug for AppRestartFailureReason { } } impl ::windows::core::RuntimeType for AppRestartFailureReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Core.AppRestartFailureReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Core.AppRestartFailureReason;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs index 5f2fcf5ab2..017d8e2fa0 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs @@ -225,7 +225,7 @@ impl ICoreDropOperationTarget { } } } -::windows::core::interface_hierarchy!(ICoreDropOperationTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreDropOperationTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreDropOperationTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -238,7 +238,7 @@ impl ::core::fmt::Debug for ICoreDropOperationTarget { } } impl ::windows::core::RuntimeType for ICoreDropOperationTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d9126196-4c5b-417d-bb37-76381def8db4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d9126196-4c5b-417d-bb37-76381def8db4}"); } unsafe impl ::windows::core::Vtable for ICoreDropOperationTarget { type Vtable = ICoreDropOperationTarget_Vtbl; @@ -330,7 +330,7 @@ impl CoreDragDropManager { } #[doc(hidden)] pub fn ICoreDragDropManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -346,7 +346,7 @@ impl ::core::fmt::Debug for CoreDragDropManager { } } impl ::windows::core::RuntimeType for CoreDragDropManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager;{7d56d344-8464-4faf-aa49-37ea6e2d7bd1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager;{7d56d344-8464-4faf-aa49-37ea6e2d7bd1})"); } impl ::core::clone::Clone for CoreDragDropManager { fn clone(&self) -> Self { @@ -362,7 +362,7 @@ unsafe impl ::windows::core::Interface for CoreDragDropManager { impl ::windows::core::RuntimeName for CoreDragDropManager { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager"; } -::windows::core::interface_hierarchy!(CoreDragDropManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreDragDropManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreDragDropManager {} unsafe impl ::core::marker::Sync for CoreDragDropManager {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] @@ -412,7 +412,7 @@ impl ::core::fmt::Debug for CoreDragInfo { } } impl ::windows::core::RuntimeType for CoreDragInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo;{48353a8b-cb50-464e-9575-cd4e3a7ab028})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo;{48353a8b-cb50-464e-9575-cd4e3a7ab028})"); } impl ::core::clone::Clone for CoreDragInfo { fn clone(&self) -> Self { @@ -428,7 +428,7 @@ unsafe impl ::windows::core::Interface for CoreDragInfo { impl ::windows::core::RuntimeName for CoreDragInfo { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo"; } -::windows::core::interface_hierarchy!(CoreDragInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreDragInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreDragInfo {} unsafe impl ::core::marker::Sync for CoreDragInfo {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] @@ -438,8 +438,8 @@ impl CoreDragOperation { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Data(&self) -> ::windows::core::Result { @@ -509,7 +509,7 @@ impl ::core::fmt::Debug for CoreDragOperation { } } impl ::windows::core::RuntimeType for CoreDragOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation;{cc06de4f-6db0-4e62-ab1b-a74a02dc6d85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation;{cc06de4f-6db0-4e62-ab1b-a74a02dc6d85})"); } impl ::core::clone::Clone for CoreDragOperation { fn clone(&self) -> Self { @@ -525,7 +525,7 @@ unsafe impl ::windows::core::Interface for CoreDragOperation { impl ::windows::core::RuntimeName for CoreDragOperation { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation"; } -::windows::core::interface_hierarchy!(CoreDragOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreDragOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreDragOperation {} unsafe impl ::core::marker::Sync for CoreDragOperation {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] @@ -605,7 +605,7 @@ impl ::core::fmt::Debug for CoreDragUIOverride { } } impl ::windows::core::RuntimeType for CoreDragUIOverride { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride;{89a85064-3389-4f4f-8897-7e8a3ffb3c93})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride;{89a85064-3389-4f4f-8897-7e8a3ffb3c93})"); } impl ::core::clone::Clone for CoreDragUIOverride { fn clone(&self) -> Self { @@ -621,7 +621,7 @@ unsafe impl ::windows::core::Interface for CoreDragUIOverride { impl ::windows::core::RuntimeName for CoreDragUIOverride { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride"; } -::windows::core::interface_hierarchy!(CoreDragUIOverride, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreDragUIOverride, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreDragUIOverride {} unsafe impl ::core::marker::Sync for CoreDragUIOverride {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] @@ -649,7 +649,7 @@ impl ::core::fmt::Debug for CoreDropOperationTargetRequestedEventArgs { } } impl ::windows::core::RuntimeType for CoreDropOperationTargetRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDropOperationTargetRequestedEventArgs;{2aca929a-5e28-4ea6-829e-29134e665d6d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDropOperationTargetRequestedEventArgs;{2aca929a-5e28-4ea6-829e-29134e665d6d})"); } impl ::core::clone::Clone for CoreDropOperationTargetRequestedEventArgs { fn clone(&self) -> Self { @@ -665,7 +665,7 @@ unsafe impl ::windows::core::Interface for CoreDropOperationTargetRequestedEvent impl ::windows::core::RuntimeName for CoreDropOperationTargetRequestedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDropOperationTargetRequestedEventArgs"; } -::windows::core::interface_hierarchy!(CoreDropOperationTargetRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreDropOperationTargetRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreDropOperationTargetRequestedEventArgs {} unsafe impl ::core::marker::Sync for CoreDropOperationTargetRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] @@ -729,7 +729,7 @@ impl ::core::ops::Not for CoreDragUIContentMode { } } impl ::windows::core::RuntimeType for CoreDragUIContentMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIContentMode;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIContentMode;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs index 88713697f7..6cf08722e8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/mod.rs @@ -66,7 +66,7 @@ impl ::core::ops::Not for DragDropModifiers { } } impl ::windows::core::RuntimeType for DragDropModifiers { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.DragDrop.DragDropModifiers;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.DragDrop.DragDropModifiers;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs index b9392817c1..43ba8a5eab 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs @@ -115,8 +115,8 @@ impl QuickLink { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -187,7 +187,7 @@ impl ::core::fmt::Debug for QuickLink { } } impl ::windows::core::RuntimeType for QuickLink { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink;{603e4308-f0be-4adc-acc9-8b27ab9cf556})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink;{603e4308-f0be-4adc-acc9-8b27ab9cf556})"); } impl ::core::clone::Clone for QuickLink { fn clone(&self) -> Self { @@ -203,7 +203,7 @@ unsafe impl ::windows::core::Interface for QuickLink { impl ::windows::core::RuntimeName for QuickLink { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink"; } -::windows::core::interface_hierarchy!(QuickLink, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(QuickLink, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`*"] #[repr(transparent)] pub struct ShareOperation(::windows::core::IUnknown); @@ -276,7 +276,7 @@ impl ::core::fmt::Debug for ShareOperation { } } impl ::windows::core::RuntimeType for ShareOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation;{2246bab8-d0f8-41c1-a82a-4137db6504fb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation;{2246bab8-d0f8-41c1-a82a-4137db6504fb})"); } impl ::core::clone::Clone for ShareOperation { fn clone(&self) -> Self { @@ -292,6 +292,6 @@ unsafe impl ::windows::core::Interface for ShareOperation { impl ::windows::core::RuntimeName for ShareOperation { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation"; } -::windows::core::interface_hierarchy!(ShareOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index 30cf548900..09ab689f41 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -1444,12 +1444,12 @@ impl Clipboard { } #[doc(hidden)] pub fn IClipboardStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IClipboardStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1463,8 +1463,8 @@ impl ClipboardContentOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsRoamable(&self) -> ::windows::core::Result { @@ -1520,7 +1520,7 @@ impl ::core::fmt::Debug for ClipboardContentOptions { } } impl ::windows::core::RuntimeType for ClipboardContentOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardContentOptions;{e888a98c-ad4b-5447-a056-ab3556276d2b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardContentOptions;{e888a98c-ad4b-5447-a056-ab3556276d2b})"); } impl ::core::clone::Clone for ClipboardContentOptions { fn clone(&self) -> Self { @@ -1536,7 +1536,7 @@ unsafe impl ::windows::core::Interface for ClipboardContentOptions { impl ::windows::core::RuntimeName for ClipboardContentOptions { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ClipboardContentOptions"; } -::windows::core::interface_hierarchy!(ClipboardContentOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClipboardContentOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClipboardContentOptions {} unsafe impl ::core::marker::Sync for ClipboardContentOptions {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -1555,7 +1555,7 @@ impl ::core::fmt::Debug for ClipboardHistoryChangedEventArgs { } } impl ::windows::core::RuntimeType for ClipboardHistoryChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryChangedEventArgs;{c0be453f-8ea2-53ce-9aba-8d2212573452})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryChangedEventArgs;{c0be453f-8ea2-53ce-9aba-8d2212573452})"); } impl ::core::clone::Clone for ClipboardHistoryChangedEventArgs { fn clone(&self) -> Self { @@ -1571,7 +1571,7 @@ unsafe impl ::windows::core::Interface for ClipboardHistoryChangedEventArgs { impl ::windows::core::RuntimeName for ClipboardHistoryChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ClipboardHistoryChangedEventArgs"; } -::windows::core::interface_hierarchy!(ClipboardHistoryChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClipboardHistoryChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClipboardHistoryChangedEventArgs {} unsafe impl ::core::marker::Sync for ClipboardHistoryChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -1614,7 +1614,7 @@ impl ::core::fmt::Debug for ClipboardHistoryItem { } } impl ::windows::core::RuntimeType for ClipboardHistoryItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem;{0173bd8a-afff-5c50-ab92-3d19f481ec58})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem;{0173bd8a-afff-5c50-ab92-3d19f481ec58})"); } impl ::core::clone::Clone for ClipboardHistoryItem { fn clone(&self) -> Self { @@ -1630,7 +1630,7 @@ unsafe impl ::windows::core::Interface for ClipboardHistoryItem { impl ::windows::core::RuntimeName for ClipboardHistoryItem { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem"; } -::windows::core::interface_hierarchy!(ClipboardHistoryItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClipboardHistoryItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClipboardHistoryItem {} unsafe impl ::core::marker::Sync for ClipboardHistoryItem {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -1666,7 +1666,7 @@ impl ::core::fmt::Debug for ClipboardHistoryItemsResult { } } impl ::windows::core::RuntimeType for ClipboardHistoryItemsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResult;{e6dfdee6-0ee2-52e3-852b-f295db65939a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResult;{e6dfdee6-0ee2-52e3-852b-f295db65939a})"); } impl ::core::clone::Clone for ClipboardHistoryItemsResult { fn clone(&self) -> Self { @@ -1682,7 +1682,7 @@ unsafe impl ::windows::core::Interface for ClipboardHistoryItemsResult { impl ::windows::core::RuntimeName for ClipboardHistoryItemsResult { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResult"; } -::windows::core::interface_hierarchy!(ClipboardHistoryItemsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClipboardHistoryItemsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClipboardHistoryItemsResult {} unsafe impl ::core::marker::Sync for ClipboardHistoryItemsResult {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -1692,8 +1692,8 @@ impl DataPackage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn GetView(&self) -> ::windows::core::Result { @@ -1870,7 +1870,7 @@ impl ::core::fmt::Debug for DataPackage { } } impl ::windows::core::RuntimeType for DataPackage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackage;{61ebf5c7-efea-4346-9554-981d7e198ffe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackage;{61ebf5c7-efea-4346-9554-981d7e198ffe})"); } impl ::core::clone::Clone for DataPackage { fn clone(&self) -> Self { @@ -1886,7 +1886,7 @@ unsafe impl ::windows::core::Interface for DataPackage { impl ::windows::core::RuntimeName for DataPackage { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DataPackage"; } -::windows::core::interface_hierarchy!(DataPackage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataPackage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataPackage {} unsafe impl ::core::marker::Sync for DataPackage {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -2148,7 +2148,7 @@ impl ::core::fmt::Debug for DataPackagePropertySet { } } impl ::windows::core::RuntimeType for DataPackagePropertySet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackagePropertySet;{cd1c93eb-4c4c-443a-a8d3-f5c241e91689})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackagePropertySet;{cd1c93eb-4c4c-443a-a8d3-f5c241e91689})"); } impl ::core::clone::Clone for DataPackagePropertySet { fn clone(&self) -> Self { @@ -2180,7 +2180,7 @@ impl ::core::iter::IntoIterator for &DataPackagePropertySet { self.First().unwrap() } } -::windows::core::interface_hierarchy!(DataPackagePropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataPackagePropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -2398,7 +2398,7 @@ impl ::core::fmt::Debug for DataPackagePropertySetView { } } impl ::windows::core::RuntimeType for DataPackagePropertySetView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView;{b94cec01-0c1a-4c57-be55-75d01289735d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView;{b94cec01-0c1a-4c57-be55-75d01289735d})"); } impl ::core::clone::Clone for DataPackagePropertySetView { fn clone(&self) -> Self { @@ -2430,7 +2430,7 @@ impl ::core::iter::IntoIterator for &DataPackagePropertySetView { self.First().unwrap() } } -::windows::core::interface_hierarchy!(DataPackagePropertySetView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataPackagePropertySetView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -2658,7 +2658,7 @@ impl ::core::fmt::Debug for DataPackageView { } } impl ::windows::core::RuntimeType for DataPackageView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackageView;{7b840471-5900-4d85-a90b-10cb85fe3552})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackageView;{7b840471-5900-4d85-a90b-10cb85fe3552})"); } impl ::core::clone::Clone for DataPackageView { fn clone(&self) -> Self { @@ -2674,7 +2674,7 @@ unsafe impl ::windows::core::Interface for DataPackageView { impl ::windows::core::RuntimeName for DataPackageView { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DataPackageView"; } -::windows::core::interface_hierarchy!(DataPackageView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataPackageView, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataPackageView {} unsafe impl ::core::marker::Sync for DataPackageView {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -2698,7 +2698,7 @@ impl ::core::fmt::Debug for DataProviderDeferral { } } impl ::windows::core::RuntimeType for DataProviderDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataProviderDeferral;{c2cf2373-2d26-43d9-b69d-dcb86d03f6da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataProviderDeferral;{c2cf2373-2d26-43d9-b69d-dcb86d03f6da})"); } impl ::core::clone::Clone for DataProviderDeferral { fn clone(&self) -> Self { @@ -2714,7 +2714,7 @@ unsafe impl ::windows::core::Interface for DataProviderDeferral { impl ::windows::core::RuntimeName for DataProviderDeferral { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DataProviderDeferral"; } -::windows::core::interface_hierarchy!(DataProviderDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataProviderDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataProviderDeferral {} unsafe impl ::core::marker::Sync for DataProviderDeferral {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -2764,7 +2764,7 @@ impl ::core::fmt::Debug for DataProviderRequest { } } impl ::windows::core::RuntimeType for DataProviderRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataProviderRequest;{ebbc7157-d3c8-47da-acde-f82388d5f716})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataProviderRequest;{ebbc7157-d3c8-47da-acde-f82388d5f716})"); } impl ::core::clone::Clone for DataProviderRequest { fn clone(&self) -> Self { @@ -2780,7 +2780,7 @@ unsafe impl ::windows::core::Interface for DataProviderRequest { impl ::windows::core::RuntimeName for DataProviderRequest { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DataProviderRequest"; } -::windows::core::interface_hierarchy!(DataProviderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataProviderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataProviderRequest {} unsafe impl ::core::marker::Sync for DataProviderRequest {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -2831,7 +2831,7 @@ impl ::core::fmt::Debug for DataRequest { } } impl ::windows::core::RuntimeType for DataRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequest;{4341ae3b-fc12-4e53-8c02-ac714c415a27})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequest;{4341ae3b-fc12-4e53-8c02-ac714c415a27})"); } impl ::core::clone::Clone for DataRequest { fn clone(&self) -> Self { @@ -2847,7 +2847,7 @@ unsafe impl ::windows::core::Interface for DataRequest { impl ::windows::core::RuntimeName for DataRequest { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DataRequest"; } -::windows::core::interface_hierarchy!(DataRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataRequest {} unsafe impl ::core::marker::Sync for DataRequest {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -2871,7 +2871,7 @@ impl ::core::fmt::Debug for DataRequestDeferral { } } impl ::windows::core::RuntimeType for DataRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequestDeferral;{6dc4b89f-0386-4263-87c1-ed7dce30890e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequestDeferral;{6dc4b89f-0386-4263-87c1-ed7dce30890e})"); } impl ::core::clone::Clone for DataRequestDeferral { fn clone(&self) -> Self { @@ -2887,7 +2887,7 @@ unsafe impl ::windows::core::Interface for DataRequestDeferral { impl ::windows::core::RuntimeName for DataRequestDeferral { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DataRequestDeferral"; } -::windows::core::interface_hierarchy!(DataRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataRequestDeferral {} unsafe impl ::core::marker::Sync for DataRequestDeferral {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -2914,7 +2914,7 @@ impl ::core::fmt::Debug for DataRequestedEventArgs { } } impl ::windows::core::RuntimeType for DataRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs;{cb8ba807-6ac5-43c9-8ac5-9ba232163182})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs;{cb8ba807-6ac5-43c9-8ac5-9ba232163182})"); } impl ::core::clone::Clone for DataRequestedEventArgs { fn clone(&self) -> Self { @@ -2930,7 +2930,7 @@ unsafe impl ::windows::core::Interface for DataRequestedEventArgs { impl ::windows::core::RuntimeName for DataRequestedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs"; } -::windows::core::interface_hierarchy!(DataRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataRequestedEventArgs {} unsafe impl ::core::marker::Sync for DataRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3002,17 +3002,17 @@ impl DataTransferManager { } #[doc(hidden)] pub fn IDataTransferManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDataTransferManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDataTransferManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3028,7 +3028,7 @@ impl ::core::fmt::Debug for DataTransferManager { } } impl ::windows::core::RuntimeType for DataTransferManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataTransferManager;{a5caee9b-8708-49d1-8d36-67d25a8da00c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataTransferManager;{a5caee9b-8708-49d1-8d36-67d25a8da00c})"); } impl ::core::clone::Clone for DataTransferManager { fn clone(&self) -> Self { @@ -3044,7 +3044,7 @@ unsafe impl ::windows::core::Interface for DataTransferManager { impl ::windows::core::RuntimeName for DataTransferManager { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.DataTransferManager"; } -::windows::core::interface_hierarchy!(DataTransferManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataTransferManager, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] pub struct HtmlFormatHelper; impl HtmlFormatHelper { @@ -3062,7 +3062,7 @@ impl HtmlFormatHelper { } #[doc(hidden)] pub fn IHtmlFormatHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3100,7 +3100,7 @@ impl ::core::fmt::Debug for OperationCompletedEventArgs { } } impl ::windows::core::RuntimeType for OperationCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.OperationCompletedEventArgs;{e7af329d-051d-4fab-b1a9-47fd77f70a41})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.OperationCompletedEventArgs;{e7af329d-051d-4fab-b1a9-47fd77f70a41})"); } impl ::core::clone::Clone for OperationCompletedEventArgs { fn clone(&self) -> Self { @@ -3116,7 +3116,7 @@ unsafe impl ::windows::core::Interface for OperationCompletedEventArgs { impl ::windows::core::RuntimeName for OperationCompletedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.OperationCompletedEventArgs"; } -::windows::core::interface_hierarchy!(OperationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OperationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OperationCompletedEventArgs {} unsafe impl ::core::marker::Sync for OperationCompletedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3143,7 +3143,7 @@ impl ::core::fmt::Debug for ShareCompletedEventArgs { } } impl ::windows::core::RuntimeType for ShareCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareCompletedEventArgs;{4574c442-f913-4f60-9df7-cc4060ab1916})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareCompletedEventArgs;{4574c442-f913-4f60-9df7-cc4060ab1916})"); } impl ::core::clone::Clone for ShareCompletedEventArgs { fn clone(&self) -> Self { @@ -3159,7 +3159,7 @@ unsafe impl ::windows::core::Interface for ShareCompletedEventArgs { impl ::windows::core::RuntimeName for ShareCompletedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ShareCompletedEventArgs"; } -::windows::core::interface_hierarchy!(ShareCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShareCompletedEventArgs {} unsafe impl ::core::marker::Sync for ShareCompletedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3215,7 +3215,7 @@ impl ShareProvider { } #[doc(hidden)] pub fn IShareProviderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3231,7 +3231,7 @@ impl ::core::fmt::Debug for ShareProvider { } } impl ::windows::core::RuntimeType for ShareProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProvider;{2fabe026-443e-4cda-af25-8d81070efd80})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProvider;{2fabe026-443e-4cda-af25-8d81070efd80})"); } impl ::core::clone::Clone for ShareProvider { fn clone(&self) -> Self { @@ -3247,7 +3247,7 @@ unsafe impl ::windows::core::Interface for ShareProvider { impl ::windows::core::RuntimeName for ShareProvider { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ShareProvider"; } -::windows::core::interface_hierarchy!(ShareProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShareProvider {} unsafe impl ::core::marker::Sync for ShareProvider {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3285,7 +3285,7 @@ impl ::core::fmt::Debug for ShareProviderOperation { } } impl ::windows::core::RuntimeType for ShareProviderOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProviderOperation;{19cef937-d435-4179-b6af-14e0492b69f6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProviderOperation;{19cef937-d435-4179-b6af-14e0492b69f6})"); } impl ::core::clone::Clone for ShareProviderOperation { fn clone(&self) -> Self { @@ -3301,7 +3301,7 @@ unsafe impl ::windows::core::Interface for ShareProviderOperation { impl ::windows::core::RuntimeName for ShareProviderOperation { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ShareProviderOperation"; } -::windows::core::interface_hierarchy!(ShareProviderOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareProviderOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShareProviderOperation {} unsafe impl ::core::marker::Sync for ShareProviderOperation {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3346,7 +3346,7 @@ impl ::core::fmt::Debug for ShareProvidersRequestedEventArgs { } } impl ::windows::core::RuntimeType for ShareProvidersRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProvidersRequestedEventArgs;{f888f356-a3f8-4fce-85e4-8826e63be799})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProvidersRequestedEventArgs;{f888f356-a3f8-4fce-85e4-8826e63be799})"); } impl ::core::clone::Clone for ShareProvidersRequestedEventArgs { fn clone(&self) -> Self { @@ -3362,7 +3362,7 @@ unsafe impl ::windows::core::Interface for ShareProvidersRequestedEventArgs { impl ::windows::core::RuntimeName for ShareProvidersRequestedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ShareProvidersRequestedEventArgs"; } -::windows::core::interface_hierarchy!(ShareProvidersRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareProvidersRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShareProvidersRequestedEventArgs {} unsafe impl ::core::marker::Sync for ShareProvidersRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3396,7 +3396,7 @@ impl ::core::fmt::Debug for ShareTargetInfo { } } impl ::windows::core::RuntimeType for ShareTargetInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTargetInfo;{385be607-c6e8-4114-b294-28f3bb6f9904})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTargetInfo;{385be607-c6e8-4114-b294-28f3bb6f9904})"); } impl ::core::clone::Clone for ShareTargetInfo { fn clone(&self) -> Self { @@ -3412,7 +3412,7 @@ unsafe impl ::windows::core::Interface for ShareTargetInfo { impl ::windows::core::RuntimeName for ShareTargetInfo { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ShareTargetInfo"; } -::windows::core::interface_hierarchy!(ShareTargetInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareTargetInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShareTargetInfo {} unsafe impl ::core::marker::Sync for ShareTargetInfo {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3422,8 +3422,8 @@ impl ShareUIOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Theme(&self) -> ::windows::core::Result { @@ -3469,7 +3469,7 @@ impl ::core::fmt::Debug for ShareUIOptions { } } impl ::windows::core::RuntimeType for ShareUIOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareUIOptions;{72fa8a80-342f-4d90-9551-2ae04e37680c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareUIOptions;{72fa8a80-342f-4d90-9551-2ae04e37680c})"); } impl ::core::clone::Clone for ShareUIOptions { fn clone(&self) -> Self { @@ -3485,7 +3485,7 @@ unsafe impl ::windows::core::Interface for ShareUIOptions { impl ::windows::core::RuntimeName for ShareUIOptions { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.ShareUIOptions"; } -::windows::core::interface_hierarchy!(ShareUIOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareUIOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShareUIOptions {} unsafe impl ::core::marker::Sync for ShareUIOptions {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3516,7 +3516,7 @@ impl SharedStorageAccessManager { } #[doc(hidden)] pub fn ISharedStorageAccessManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3584,17 +3584,17 @@ impl StandardDataFormats { } #[doc(hidden)] pub fn IStandardDataFormatsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStandardDataFormatsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStandardDataFormatsStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3625,7 +3625,7 @@ impl ::core::fmt::Debug for TargetApplicationChosenEventArgs { } } impl ::windows::core::RuntimeType for TargetApplicationChosenEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs;{ca6fb8ac-2987-4ee3-9c54-d8afbcb86c1d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs;{ca6fb8ac-2987-4ee3-9c54-d8afbcb86c1d})"); } impl ::core::clone::Clone for TargetApplicationChosenEventArgs { fn clone(&self) -> Self { @@ -3641,7 +3641,7 @@ unsafe impl ::windows::core::Interface for TargetApplicationChosenEventArgs { impl ::windows::core::RuntimeName for TargetApplicationChosenEventArgs { const NAME: &'static str = "Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs"; } -::windows::core::interface_hierarchy!(TargetApplicationChosenEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetApplicationChosenEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetApplicationChosenEventArgs {} unsafe impl ::core::marker::Sync for TargetApplicationChosenEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -3673,7 +3673,7 @@ impl ::core::fmt::Debug for ClipboardHistoryItemsResultStatus { } } impl ::windows::core::RuntimeType for ClipboardHistoryItemsResultStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResultStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResultStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] @@ -3738,7 +3738,7 @@ impl ::core::ops::Not for DataPackageOperation { } } impl ::windows::core::RuntimeType for DataPackageOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.DataPackageOperation;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.DataPackageOperation;u4)"); } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] @@ -3769,7 +3769,7 @@ impl ::core::fmt::Debug for SetHistoryItemAsContentStatus { } } impl ::windows::core::RuntimeType for SetHistoryItemAsContentStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.SetHistoryItemAsContentStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.SetHistoryItemAsContentStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] @@ -3800,15 +3800,15 @@ impl ::core::fmt::Debug for ShareUITheme { } } impl ::windows::core::RuntimeType for ShareUITheme { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.ShareUITheme;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.ShareUITheme;i4)"); } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] pub struct DataProviderHandler(pub ::windows::core::IUnknown); impl DataProviderHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = DataProviderHandlerBox:: { vtable: &DataProviderHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = DataProviderHandlerBox:: { vtable: &DataProviderHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, request: &DataProviderRequest) -> ::windows::core::Result<()> { let this = self; @@ -3819,7 +3819,7 @@ impl DataProviderHandler { struct DataProviderHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const DataProviderHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> DataProviderHandlerBox { const VTABLE: DataProviderHandler_Vtbl = DataProviderHandler_Vtbl { @@ -3828,7 +3828,7 @@ impl) -> ::windows::core:: }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3844,7 +3844,7 @@ impl) -> ::windows::core:: let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -3876,7 +3876,7 @@ unsafe impl ::windows::core::Interface for DataProviderHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe7ecd720_f2f4_4a2d_920e_170a2f482a27); } impl ::windows::core::RuntimeType for DataProviderHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e7ecd720-f2f4-4a2d-920e-170a2f482a27}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e7ecd720-f2f4-4a2d-920e-170a2f482a27}"); } #[repr(C)] #[doc(hidden)] @@ -3889,8 +3889,8 @@ pub struct DataProviderHandler_Vtbl { pub struct ShareProviderHandler(pub ::windows::core::IUnknown); impl ShareProviderHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = ShareProviderHandlerBox:: { vtable: &ShareProviderHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = ShareProviderHandlerBox:: { vtable: &ShareProviderHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, operation: &ShareProviderOperation) -> ::windows::core::Result<()> { let this = self; @@ -3901,7 +3901,7 @@ impl ShareProviderHandler { struct ShareProviderHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const ShareProviderHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> ShareProviderHandlerBox { const VTABLE: ShareProviderHandler_Vtbl = ShareProviderHandler_Vtbl { @@ -3910,7 +3910,7 @@ impl) -> ::windows::cor }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3926,7 +3926,7 @@ impl) -> ::windows::cor let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -3958,7 +3958,7 @@ unsafe impl ::windows::core::Interface for ShareProviderHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe7f9d9ba_e1ba_4e4d_bd65_d43845d3212f); } impl ::windows::core::RuntimeType for ShareProviderHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e7f9d9ba-e1ba-4e4d-bd65-d43845d3212f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e7f9d9ba-e1ba-4e4d-bd65-d43845d3212f}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs index 6c6e330099..179bb13148 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs @@ -1237,7 +1237,7 @@ impl ::core::fmt::Debug for EmailDataProviderConnection { } } impl ::windows::core::RuntimeType for EmailDataProviderConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailDataProviderConnection;{3b9c9dc7-37b2-4bf0-ae30-7b644a1c96e1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailDataProviderConnection;{3b9c9dc7-37b2-4bf0-ae30-7b644a1c96e1})"); } impl ::core::clone::Clone for EmailDataProviderConnection { fn clone(&self) -> Self { @@ -1253,7 +1253,7 @@ unsafe impl ::windows::core::Interface for EmailDataProviderConnection { impl ::windows::core::RuntimeName for EmailDataProviderConnection { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailDataProviderConnection"; } -::windows::core::interface_hierarchy!(EmailDataProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailDataProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailDataProviderConnection {} unsafe impl ::core::marker::Sync for EmailDataProviderConnection {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1280,7 +1280,7 @@ impl ::core::fmt::Debug for EmailDataProviderTriggerDetails { } } impl ::windows::core::RuntimeType for EmailDataProviderTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailDataProviderTriggerDetails;{8f3e4e50-341e-45f3-bba0-84a005e1319a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailDataProviderTriggerDetails;{8f3e4e50-341e-45f3-bba0-84a005e1319a})"); } impl ::core::clone::Clone for EmailDataProviderTriggerDetails { fn clone(&self) -> Self { @@ -1296,7 +1296,7 @@ unsafe impl ::windows::core::Interface for EmailDataProviderTriggerDetails { impl ::windows::core::RuntimeName for EmailDataProviderTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailDataProviderTriggerDetails"; } -::windows::core::interface_hierarchy!(EmailDataProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailDataProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailDataProviderTriggerDetails {} unsafe impl ::core::marker::Sync for EmailDataProviderTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1355,7 +1355,7 @@ impl ::core::fmt::Debug for EmailMailboxCreateFolderRequest { } } impl ::windows::core::RuntimeType for EmailMailboxCreateFolderRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxCreateFolderRequest;{184d3775-c921-4c39-a309-e16c9f22b04b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxCreateFolderRequest;{184d3775-c921-4c39-a309-e16c9f22b04b})"); } impl ::core::clone::Clone for EmailMailboxCreateFolderRequest { fn clone(&self) -> Self { @@ -1371,7 +1371,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxCreateFolderRequest { impl ::windows::core::RuntimeName for EmailMailboxCreateFolderRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxCreateFolderRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxCreateFolderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxCreateFolderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxCreateFolderRequest {} unsafe impl ::core::marker::Sync for EmailMailboxCreateFolderRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1407,7 +1407,7 @@ impl ::core::fmt::Debug for EmailMailboxCreateFolderRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxCreateFolderRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxCreateFolderRequestEventArgs;{03e4c02c-241c-4ea9-a68f-ff20bc5afc85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxCreateFolderRequestEventArgs;{03e4c02c-241c-4ea9-a68f-ff20bc5afc85})"); } impl ::core::clone::Clone for EmailMailboxCreateFolderRequestEventArgs { fn clone(&self) -> Self { @@ -1423,7 +1423,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxCreateFolderRequestEventA impl ::windows::core::RuntimeName for EmailMailboxCreateFolderRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxCreateFolderRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxCreateFolderRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxCreateFolderRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxCreateFolderRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxCreateFolderRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1475,7 +1475,7 @@ impl ::core::fmt::Debug for EmailMailboxDeleteFolderRequest { } } impl ::windows::core::RuntimeType for EmailMailboxDeleteFolderRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDeleteFolderRequest;{9469e88a-a931-4779-923d-09a3ea292e29})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDeleteFolderRequest;{9469e88a-a931-4779-923d-09a3ea292e29})"); } impl ::core::clone::Clone for EmailMailboxDeleteFolderRequest { fn clone(&self) -> Self { @@ -1491,7 +1491,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxDeleteFolderRequest { impl ::windows::core::RuntimeName for EmailMailboxDeleteFolderRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxDeleteFolderRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxDeleteFolderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxDeleteFolderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxDeleteFolderRequest {} unsafe impl ::core::marker::Sync for EmailMailboxDeleteFolderRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1527,7 +1527,7 @@ impl ::core::fmt::Debug for EmailMailboxDeleteFolderRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxDeleteFolderRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDeleteFolderRequestEventArgs;{b4d32d06-2332-4678-8378-28b579336846})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDeleteFolderRequestEventArgs;{b4d32d06-2332-4678-8378-28b579336846})"); } impl ::core::clone::Clone for EmailMailboxDeleteFolderRequestEventArgs { fn clone(&self) -> Self { @@ -1543,7 +1543,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxDeleteFolderRequestEventA impl ::windows::core::RuntimeName for EmailMailboxDeleteFolderRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxDeleteFolderRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxDeleteFolderRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxDeleteFolderRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxDeleteFolderRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxDeleteFolderRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1602,7 +1602,7 @@ impl ::core::fmt::Debug for EmailMailboxDownloadAttachmentRequest { } } impl ::windows::core::RuntimeType for EmailMailboxDownloadAttachmentRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadAttachmentRequest;{0b1dbbb4-750c-48e1-bce4-8d589684ffbc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadAttachmentRequest;{0b1dbbb4-750c-48e1-bce4-8d589684ffbc})"); } impl ::core::clone::Clone for EmailMailboxDownloadAttachmentRequest { fn clone(&self) -> Self { @@ -1618,7 +1618,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxDownloadAttachmentRequest impl ::windows::core::RuntimeName for EmailMailboxDownloadAttachmentRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadAttachmentRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxDownloadAttachmentRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxDownloadAttachmentRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxDownloadAttachmentRequest {} unsafe impl ::core::marker::Sync for EmailMailboxDownloadAttachmentRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1654,7 +1654,7 @@ impl ::core::fmt::Debug for EmailMailboxDownloadAttachmentRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxDownloadAttachmentRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadAttachmentRequestEventArgs;{ccddc46d-ffa8-4877-9f9d-fed7bcaf4104})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadAttachmentRequestEventArgs;{ccddc46d-ffa8-4877-9f9d-fed7bcaf4104})"); } impl ::core::clone::Clone for EmailMailboxDownloadAttachmentRequestEventArgs { fn clone(&self) -> Self { @@ -1670,7 +1670,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxDownloadAttachmentRequest impl ::windows::core::RuntimeName for EmailMailboxDownloadAttachmentRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadAttachmentRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxDownloadAttachmentRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxDownloadAttachmentRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxDownloadAttachmentRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxDownloadAttachmentRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1722,7 +1722,7 @@ impl ::core::fmt::Debug for EmailMailboxDownloadMessageRequest { } } impl ::windows::core::RuntimeType for EmailMailboxDownloadMessageRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadMessageRequest;{497b4187-5b4d-4b23-816c-f3842beb753e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadMessageRequest;{497b4187-5b4d-4b23-816c-f3842beb753e})"); } impl ::core::clone::Clone for EmailMailboxDownloadMessageRequest { fn clone(&self) -> Self { @@ -1738,7 +1738,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxDownloadMessageRequest { impl ::windows::core::RuntimeName for EmailMailboxDownloadMessageRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadMessageRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxDownloadMessageRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxDownloadMessageRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxDownloadMessageRequest {} unsafe impl ::core::marker::Sync for EmailMailboxDownloadMessageRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1774,7 +1774,7 @@ impl ::core::fmt::Debug for EmailMailboxDownloadMessageRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxDownloadMessageRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadMessageRequestEventArgs;{470409ad-d0a0-4a5b-bb2a-37621039c53e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadMessageRequestEventArgs;{470409ad-d0a0-4a5b-bb2a-37621039c53e})"); } impl ::core::clone::Clone for EmailMailboxDownloadMessageRequestEventArgs { fn clone(&self) -> Self { @@ -1790,7 +1790,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxDownloadMessageRequestEve impl ::windows::core::RuntimeName for EmailMailboxDownloadMessageRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadMessageRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxDownloadMessageRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxDownloadMessageRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxDownloadMessageRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxDownloadMessageRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1842,7 +1842,7 @@ impl ::core::fmt::Debug for EmailMailboxEmptyFolderRequest { } } impl ::windows::core::RuntimeType for EmailMailboxEmptyFolderRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxEmptyFolderRequest;{fe4b03ab-f86d-46d9-b4ce-bc8a6d9e9268})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxEmptyFolderRequest;{fe4b03ab-f86d-46d9-b4ce-bc8a6d9e9268})"); } impl ::core::clone::Clone for EmailMailboxEmptyFolderRequest { fn clone(&self) -> Self { @@ -1858,7 +1858,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxEmptyFolderRequest { impl ::windows::core::RuntimeName for EmailMailboxEmptyFolderRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxEmptyFolderRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxEmptyFolderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxEmptyFolderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxEmptyFolderRequest {} unsafe impl ::core::marker::Sync for EmailMailboxEmptyFolderRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1894,7 +1894,7 @@ impl ::core::fmt::Debug for EmailMailboxEmptyFolderRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxEmptyFolderRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxEmptyFolderRequestEventArgs;{7183f484-985a-4ac0-b33f-ee0e2627a3c0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxEmptyFolderRequestEventArgs;{7183f484-985a-4ac0-b33f-ee0e2627a3c0})"); } impl ::core::clone::Clone for EmailMailboxEmptyFolderRequestEventArgs { fn clone(&self) -> Self { @@ -1910,7 +1910,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxEmptyFolderRequestEventAr impl ::windows::core::RuntimeName for EmailMailboxEmptyFolderRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxEmptyFolderRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxEmptyFolderRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxEmptyFolderRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxEmptyFolderRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxEmptyFolderRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -1999,7 +1999,7 @@ impl ::core::fmt::Debug for EmailMailboxForwardMeetingRequest { } } impl ::windows::core::RuntimeType for EmailMailboxForwardMeetingRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxForwardMeetingRequest;{616d6af1-70d4-4832-b869-b80542ae9be8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxForwardMeetingRequest;{616d6af1-70d4-4832-b869-b80542ae9be8})"); } impl ::core::clone::Clone for EmailMailboxForwardMeetingRequest { fn clone(&self) -> Self { @@ -2015,7 +2015,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxForwardMeetingRequest { impl ::windows::core::RuntimeName for EmailMailboxForwardMeetingRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxForwardMeetingRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxForwardMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxForwardMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxForwardMeetingRequest {} unsafe impl ::core::marker::Sync for EmailMailboxForwardMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2051,7 +2051,7 @@ impl ::core::fmt::Debug for EmailMailboxForwardMeetingRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxForwardMeetingRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxForwardMeetingRequestEventArgs;{2bd8f33a-2974-4759-a5a5-58f44d3c0275})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxForwardMeetingRequestEventArgs;{2bd8f33a-2974-4759-a5a5-58f44d3c0275})"); } impl ::core::clone::Clone for EmailMailboxForwardMeetingRequestEventArgs { fn clone(&self) -> Self { @@ -2067,7 +2067,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxForwardMeetingRequestEven impl ::windows::core::RuntimeName for EmailMailboxForwardMeetingRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxForwardMeetingRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxForwardMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxForwardMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxForwardMeetingRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxForwardMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2119,7 +2119,7 @@ impl ::core::fmt::Debug for EmailMailboxGetAutoReplySettingsRequest { } } impl ::windows::core::RuntimeType for EmailMailboxGetAutoReplySettingsRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxGetAutoReplySettingsRequest;{9b380789-1e88-4e01-84cc-1386ad9a2c2f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxGetAutoReplySettingsRequest;{9b380789-1e88-4e01-84cc-1386ad9a2c2f})"); } impl ::core::clone::Clone for EmailMailboxGetAutoReplySettingsRequest { fn clone(&self) -> Self { @@ -2135,7 +2135,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxGetAutoReplySettingsReque impl ::windows::core::RuntimeName for EmailMailboxGetAutoReplySettingsRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxGetAutoReplySettingsRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxGetAutoReplySettingsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxGetAutoReplySettingsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxGetAutoReplySettingsRequest {} unsafe impl ::core::marker::Sync for EmailMailboxGetAutoReplySettingsRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2171,7 +2171,7 @@ impl ::core::fmt::Debug for EmailMailboxGetAutoReplySettingsRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxGetAutoReplySettingsRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxGetAutoReplySettingsRequestEventArgs;{d79f55c2-fd45-4004-8a91-9bacf38b7022})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxGetAutoReplySettingsRequestEventArgs;{d79f55c2-fd45-4004-8a91-9bacf38b7022})"); } impl ::core::clone::Clone for EmailMailboxGetAutoReplySettingsRequestEventArgs { fn clone(&self) -> Self { @@ -2187,7 +2187,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxGetAutoReplySettingsReque impl ::windows::core::RuntimeName for EmailMailboxGetAutoReplySettingsRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxGetAutoReplySettingsRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxGetAutoReplySettingsRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxGetAutoReplySettingsRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxGetAutoReplySettingsRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxGetAutoReplySettingsRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2253,7 +2253,7 @@ impl ::core::fmt::Debug for EmailMailboxMoveFolderRequest { } } impl ::windows::core::RuntimeType for EmailMailboxMoveFolderRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxMoveFolderRequest;{10ba2856-4a95-4068-91cc-67cc7acf454f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxMoveFolderRequest;{10ba2856-4a95-4068-91cc-67cc7acf454f})"); } impl ::core::clone::Clone for EmailMailboxMoveFolderRequest { fn clone(&self) -> Self { @@ -2269,7 +2269,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxMoveFolderRequest { impl ::windows::core::RuntimeName for EmailMailboxMoveFolderRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxMoveFolderRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxMoveFolderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxMoveFolderRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxMoveFolderRequest {} unsafe impl ::core::marker::Sync for EmailMailboxMoveFolderRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2305,7 +2305,7 @@ impl ::core::fmt::Debug for EmailMailboxMoveFolderRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxMoveFolderRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxMoveFolderRequestEventArgs;{38623020-14ba-4c88-8698-7239e3c8aaa7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxMoveFolderRequestEventArgs;{38623020-14ba-4c88-8698-7239e3c8aaa7})"); } impl ::core::clone::Clone for EmailMailboxMoveFolderRequestEventArgs { fn clone(&self) -> Self { @@ -2321,7 +2321,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxMoveFolderRequestEventArg impl ::windows::core::RuntimeName for EmailMailboxMoveFolderRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxMoveFolderRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxMoveFolderRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxMoveFolderRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxMoveFolderRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxMoveFolderRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2405,7 +2405,7 @@ impl ::core::fmt::Debug for EmailMailboxProposeNewTimeForMeetingRequest { } } impl ::windows::core::RuntimeType for EmailMailboxProposeNewTimeForMeetingRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxProposeNewTimeForMeetingRequest;{5aeff152-9799-4f9f-a399-ff07f3eef04e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxProposeNewTimeForMeetingRequest;{5aeff152-9799-4f9f-a399-ff07f3eef04e})"); } impl ::core::clone::Clone for EmailMailboxProposeNewTimeForMeetingRequest { fn clone(&self) -> Self { @@ -2421,7 +2421,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxProposeNewTimeForMeetingR impl ::windows::core::RuntimeName for EmailMailboxProposeNewTimeForMeetingRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxProposeNewTimeForMeetingRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxProposeNewTimeForMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxProposeNewTimeForMeetingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxProposeNewTimeForMeetingRequest {} unsafe impl ::core::marker::Sync for EmailMailboxProposeNewTimeForMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2457,7 +2457,7 @@ impl ::core::fmt::Debug for EmailMailboxProposeNewTimeForMeetingRequestEventArgs } } impl ::windows::core::RuntimeType for EmailMailboxProposeNewTimeForMeetingRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxProposeNewTimeForMeetingRequestEventArgs;{fb480b98-33ad-4a67-8251-0f9c249b6a20})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxProposeNewTimeForMeetingRequestEventArgs;{fb480b98-33ad-4a67-8251-0f9c249b6a20})"); } impl ::core::clone::Clone for EmailMailboxProposeNewTimeForMeetingRequestEventArgs { fn clone(&self) -> Self { @@ -2473,7 +2473,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxProposeNewTimeForMeetingR impl ::windows::core::RuntimeName for EmailMailboxProposeNewTimeForMeetingRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxProposeNewTimeForMeetingRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxProposeNewTimeForMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxProposeNewTimeForMeetingRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxProposeNewTimeForMeetingRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxProposeNewTimeForMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2531,7 +2531,7 @@ impl ::core::fmt::Debug for EmailMailboxResolveRecipientsRequest { } } impl ::windows::core::RuntimeType for EmailMailboxResolveRecipientsRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxResolveRecipientsRequest;{efa4cf70-7b39-4c9b-811e-41eaf43a332d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxResolveRecipientsRequest;{efa4cf70-7b39-4c9b-811e-41eaf43a332d})"); } impl ::core::clone::Clone for EmailMailboxResolveRecipientsRequest { fn clone(&self) -> Self { @@ -2547,7 +2547,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxResolveRecipientsRequest impl ::windows::core::RuntimeName for EmailMailboxResolveRecipientsRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxResolveRecipientsRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxResolveRecipientsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxResolveRecipientsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxResolveRecipientsRequest {} unsafe impl ::core::marker::Sync for EmailMailboxResolveRecipientsRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2583,7 +2583,7 @@ impl ::core::fmt::Debug for EmailMailboxResolveRecipientsRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxResolveRecipientsRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxResolveRecipientsRequestEventArgs;{260f9e02-b2cf-40f8-8c28-e3ed43b1e89a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxResolveRecipientsRequestEventArgs;{260f9e02-b2cf-40f8-8c28-e3ed43b1e89a})"); } impl ::core::clone::Clone for EmailMailboxResolveRecipientsRequestEventArgs { fn clone(&self) -> Self { @@ -2599,7 +2599,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxResolveRecipientsRequestE impl ::windows::core::RuntimeName for EmailMailboxResolveRecipientsRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxResolveRecipientsRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxResolveRecipientsRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxResolveRecipientsRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxResolveRecipientsRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxResolveRecipientsRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2681,7 +2681,7 @@ impl ::core::fmt::Debug for EmailMailboxServerSearchReadBatchRequest { } } impl ::windows::core::RuntimeType for EmailMailboxServerSearchReadBatchRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxServerSearchReadBatchRequest;{090eebdf-5a96-41d3-8ad8-34912f9aa60e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxServerSearchReadBatchRequest;{090eebdf-5a96-41d3-8ad8-34912f9aa60e})"); } impl ::core::clone::Clone for EmailMailboxServerSearchReadBatchRequest { fn clone(&self) -> Self { @@ -2697,7 +2697,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxServerSearchReadBatchRequ impl ::windows::core::RuntimeName for EmailMailboxServerSearchReadBatchRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxServerSearchReadBatchRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxServerSearchReadBatchRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxServerSearchReadBatchRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxServerSearchReadBatchRequest {} unsafe impl ::core::marker::Sync for EmailMailboxServerSearchReadBatchRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2733,7 +2733,7 @@ impl ::core::fmt::Debug for EmailMailboxServerSearchReadBatchRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxServerSearchReadBatchRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxServerSearchReadBatchRequestEventArgs;{14101b4e-ed9e-45d1-ad7a-cc9b7f643ae2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxServerSearchReadBatchRequestEventArgs;{14101b4e-ed9e-45d1-ad7a-cc9b7f643ae2})"); } impl ::core::clone::Clone for EmailMailboxServerSearchReadBatchRequestEventArgs { fn clone(&self) -> Self { @@ -2749,7 +2749,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxServerSearchReadBatchRequ impl ::windows::core::RuntimeName for EmailMailboxServerSearchReadBatchRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxServerSearchReadBatchRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxServerSearchReadBatchRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxServerSearchReadBatchRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxServerSearchReadBatchRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxServerSearchReadBatchRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2801,7 +2801,7 @@ impl ::core::fmt::Debug for EmailMailboxSetAutoReplySettingsRequest { } } impl ::windows::core::RuntimeType for EmailMailboxSetAutoReplySettingsRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSetAutoReplySettingsRequest;{75a422d0-a88e-4e54-8dc7-c243186b774e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSetAutoReplySettingsRequest;{75a422d0-a88e-4e54-8dc7-c243186b774e})"); } impl ::core::clone::Clone for EmailMailboxSetAutoReplySettingsRequest { fn clone(&self) -> Self { @@ -2817,7 +2817,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxSetAutoReplySettingsReque impl ::windows::core::RuntimeName for EmailMailboxSetAutoReplySettingsRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxSetAutoReplySettingsRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxSetAutoReplySettingsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxSetAutoReplySettingsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxSetAutoReplySettingsRequest {} unsafe impl ::core::marker::Sync for EmailMailboxSetAutoReplySettingsRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2853,7 +2853,7 @@ impl ::core::fmt::Debug for EmailMailboxSetAutoReplySettingsRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxSetAutoReplySettingsRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSetAutoReplySettingsRequestEventArgs;{09da11ad-d7ca-4087-ac86-53fa67f76246})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSetAutoReplySettingsRequestEventArgs;{09da11ad-d7ca-4087-ac86-53fa67f76246})"); } impl ::core::clone::Clone for EmailMailboxSetAutoReplySettingsRequestEventArgs { fn clone(&self) -> Self { @@ -2869,7 +2869,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxSetAutoReplySettingsReque impl ::windows::core::RuntimeName for EmailMailboxSetAutoReplySettingsRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxSetAutoReplySettingsRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxSetAutoReplySettingsRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxSetAutoReplySettingsRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxSetAutoReplySettingsRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxSetAutoReplySettingsRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2914,7 +2914,7 @@ impl ::core::fmt::Debug for EmailMailboxSyncManagerSyncRequest { } } impl ::windows::core::RuntimeType for EmailMailboxSyncManagerSyncRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSyncManagerSyncRequest;{4e10e8e4-7e67-405a-b673-dc60c91090fc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSyncManagerSyncRequest;{4e10e8e4-7e67-405a-b673-dc60c91090fc})"); } impl ::core::clone::Clone for EmailMailboxSyncManagerSyncRequest { fn clone(&self) -> Self { @@ -2930,7 +2930,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxSyncManagerSyncRequest { impl ::windows::core::RuntimeName for EmailMailboxSyncManagerSyncRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxSyncManagerSyncRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxSyncManagerSyncRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxSyncManagerSyncRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxSyncManagerSyncRequest {} unsafe impl ::core::marker::Sync for EmailMailboxSyncManagerSyncRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -2966,7 +2966,7 @@ impl ::core::fmt::Debug for EmailMailboxSyncManagerSyncRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxSyncManagerSyncRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSyncManagerSyncRequestEventArgs;{439a031a-8fcc-4ae5-b9b5-d434e0a65aa8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSyncManagerSyncRequestEventArgs;{439a031a-8fcc-4ae5-b9b5-d434e0a65aa8})"); } impl ::core::clone::Clone for EmailMailboxSyncManagerSyncRequestEventArgs { fn clone(&self) -> Self { @@ -2982,7 +2982,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxSyncManagerSyncRequestEve impl ::windows::core::RuntimeName for EmailMailboxSyncManagerSyncRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxSyncManagerSyncRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxSyncManagerSyncRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxSyncManagerSyncRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxSyncManagerSyncRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxSyncManagerSyncRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -3062,7 +3062,7 @@ impl ::core::fmt::Debug for EmailMailboxUpdateMeetingResponseRequest { } } impl ::windows::core::RuntimeType for EmailMailboxUpdateMeetingResponseRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxUpdateMeetingResponseRequest;{5b99ac93-b2cf-4888-ba4f-306b6b66df30})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxUpdateMeetingResponseRequest;{5b99ac93-b2cf-4888-ba4f-306b6b66df30})"); } impl ::core::clone::Clone for EmailMailboxUpdateMeetingResponseRequest { fn clone(&self) -> Self { @@ -3078,7 +3078,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxUpdateMeetingResponseRequ impl ::windows::core::RuntimeName for EmailMailboxUpdateMeetingResponseRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxUpdateMeetingResponseRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxUpdateMeetingResponseRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxUpdateMeetingResponseRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxUpdateMeetingResponseRequest {} unsafe impl ::core::marker::Sync for EmailMailboxUpdateMeetingResponseRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -3114,7 +3114,7 @@ impl ::core::fmt::Debug for EmailMailboxUpdateMeetingResponseRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxUpdateMeetingResponseRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxUpdateMeetingResponseRequestEventArgs;{6898d761-56c9-4f17-be31-66fda94ba159})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxUpdateMeetingResponseRequestEventArgs;{6898d761-56c9-4f17-be31-66fda94ba159})"); } impl ::core::clone::Clone for EmailMailboxUpdateMeetingResponseRequestEventArgs { fn clone(&self) -> Self { @@ -3130,7 +3130,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxUpdateMeetingResponseRequ impl ::windows::core::RuntimeName for EmailMailboxUpdateMeetingResponseRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxUpdateMeetingResponseRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxUpdateMeetingResponseRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxUpdateMeetingResponseRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxUpdateMeetingResponseRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxUpdateMeetingResponseRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -3188,7 +3188,7 @@ impl ::core::fmt::Debug for EmailMailboxValidateCertificatesRequest { } } impl ::windows::core::RuntimeType for EmailMailboxValidateCertificatesRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxValidateCertificatesRequest;{a94d3931-e11a-4f97-b81a-187a70a8f41a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxValidateCertificatesRequest;{a94d3931-e11a-4f97-b81a-187a70a8f41a})"); } impl ::core::clone::Clone for EmailMailboxValidateCertificatesRequest { fn clone(&self) -> Self { @@ -3204,7 +3204,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxValidateCertificatesReque impl ::windows::core::RuntimeName for EmailMailboxValidateCertificatesRequest { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxValidateCertificatesRequest"; } -::windows::core::interface_hierarchy!(EmailMailboxValidateCertificatesRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxValidateCertificatesRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxValidateCertificatesRequest {} unsafe impl ::core::marker::Sync for EmailMailboxValidateCertificatesRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] @@ -3240,7 +3240,7 @@ impl ::core::fmt::Debug for EmailMailboxValidateCertificatesRequestEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxValidateCertificatesRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxValidateCertificatesRequestEventArgs;{2583bf17-02ff-49fe-a73c-03f37566c691})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxValidateCertificatesRequestEventArgs;{2583bf17-02ff-49fe-a73c-03f37566c691})"); } impl ::core::clone::Clone for EmailMailboxValidateCertificatesRequestEventArgs { fn clone(&self) -> Self { @@ -3256,7 +3256,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxValidateCertificatesReque impl ::windows::core::RuntimeName for EmailMailboxValidateCertificatesRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.DataProvider.EmailMailboxValidateCertificatesRequestEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxValidateCertificatesRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxValidateCertificatesRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxValidateCertificatesRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxValidateCertificatesRequestEventArgs {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs index 370b493fa6..96f1e0300b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs @@ -1798,8 +1798,8 @@ impl EmailAttachment { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn FileName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1938,12 +1938,12 @@ impl EmailAttachment { } #[doc(hidden)] pub fn IEmailAttachmentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IEmailAttachmentFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1959,7 +1959,7 @@ impl ::core::fmt::Debug for EmailAttachment { } } impl ::windows::core::RuntimeType for EmailAttachment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailAttachment;{f353caf9-57c8-4adb-b992-60fceb584f54})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailAttachment;{f353caf9-57c8-4adb-b992-60fceb584f54})"); } impl ::core::clone::Clone for EmailAttachment { fn clone(&self) -> Self { @@ -1975,7 +1975,7 @@ unsafe impl ::windows::core::Interface for EmailAttachment { impl ::windows::core::RuntimeName for EmailAttachment { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailAttachment"; } -::windows::core::interface_hierarchy!(EmailAttachment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailAttachment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailAttachment {} unsafe impl ::core::marker::Sync for EmailAttachment {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -2106,7 +2106,7 @@ impl ::core::fmt::Debug for EmailConversation { } } impl ::windows::core::RuntimeType for EmailConversation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversation;{da18c248-a0bc-4349-902d-90f66389f51b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversation;{da18c248-a0bc-4349-902d-90f66389f51b})"); } impl ::core::clone::Clone for EmailConversation { fn clone(&self) -> Self { @@ -2122,7 +2122,7 @@ unsafe impl ::windows::core::Interface for EmailConversation { impl ::windows::core::RuntimeName for EmailConversation { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailConversation"; } -::windows::core::interface_hierarchy!(EmailConversation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailConversation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailConversation {} unsafe impl ::core::marker::Sync for EmailConversation {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -2158,7 +2158,7 @@ impl ::core::fmt::Debug for EmailConversationBatch { } } impl ::windows::core::RuntimeType for EmailConversationBatch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversationBatch;{b8c1ab81-01c5-432a-9df1-fe85d98a279a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversationBatch;{b8c1ab81-01c5-432a-9df1-fe85d98a279a})"); } impl ::core::clone::Clone for EmailConversationBatch { fn clone(&self) -> Self { @@ -2174,7 +2174,7 @@ unsafe impl ::windows::core::Interface for EmailConversationBatch { impl ::windows::core::RuntimeName for EmailConversationBatch { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailConversationBatch"; } -::windows::core::interface_hierarchy!(EmailConversationBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailConversationBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailConversationBatch {} unsafe impl ::core::marker::Sync for EmailConversationBatch {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -2203,7 +2203,7 @@ impl ::core::fmt::Debug for EmailConversationReader { } } impl ::windows::core::RuntimeType for EmailConversationReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversationReader;{b4630f82-2875-44c8-9b8c-85beb3a3c653})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversationReader;{b4630f82-2875-44c8-9b8c-85beb3a3c653})"); } impl ::core::clone::Clone for EmailConversationReader { fn clone(&self) -> Self { @@ -2219,7 +2219,7 @@ unsafe impl ::windows::core::Interface for EmailConversationReader { impl ::windows::core::RuntimeName for EmailConversationReader { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailConversationReader"; } -::windows::core::interface_hierarchy!(EmailConversationReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailConversationReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailConversationReader {} unsafe impl ::core::marker::Sync for EmailConversationReader {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -2424,7 +2424,7 @@ impl ::core::fmt::Debug for EmailFolder { } } impl ::windows::core::RuntimeType for EmailFolder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailFolder;{a24f7771-996c-4864-b1ba-ed1240e57d11})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailFolder;{a24f7771-996c-4864-b1ba-ed1240e57d11})"); } impl ::core::clone::Clone for EmailFolder { fn clone(&self) -> Self { @@ -2440,7 +2440,7 @@ unsafe impl ::windows::core::Interface for EmailFolder { impl ::windows::core::RuntimeName for EmailFolder { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailFolder"; } -::windows::core::interface_hierarchy!(EmailFolder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailFolder, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailFolder {} unsafe impl ::core::marker::Sync for EmailFolder {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -2450,8 +2450,8 @@ impl EmailIrmInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CanEdit(&self) -> ::windows::core::Result { @@ -2600,7 +2600,7 @@ impl EmailIrmInfo { } #[doc(hidden)] pub fn IEmailIrmInfoFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2616,7 +2616,7 @@ impl ::core::fmt::Debug for EmailIrmInfo { } } impl ::windows::core::RuntimeType for EmailIrmInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailIrmInfo;{90f52193-b1a0-4ebd-a6b6-ddca55606e0e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailIrmInfo;{90f52193-b1a0-4ebd-a6b6-ddca55606e0e})"); } impl ::core::clone::Clone for EmailIrmInfo { fn clone(&self) -> Self { @@ -2632,7 +2632,7 @@ unsafe impl ::windows::core::Interface for EmailIrmInfo { impl ::windows::core::RuntimeName for EmailIrmInfo { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailIrmInfo"; } -::windows::core::interface_hierarchy!(EmailIrmInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailIrmInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailIrmInfo {} unsafe impl ::core::marker::Sync for EmailIrmInfo {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -2642,8 +2642,8 @@ impl EmailIrmTemplate { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2687,7 +2687,7 @@ impl EmailIrmTemplate { } #[doc(hidden)] pub fn IEmailIrmTemplateFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2703,7 +2703,7 @@ impl ::core::fmt::Debug for EmailIrmTemplate { } } impl ::windows::core::RuntimeType for EmailIrmTemplate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailIrmTemplate;{f327758d-546d-4bea-a963-54a38b2cc016})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailIrmTemplate;{f327758d-546d-4bea-a963-54a38b2cc016})"); } impl ::core::clone::Clone for EmailIrmTemplate { fn clone(&self) -> Self { @@ -2719,7 +2719,7 @@ unsafe impl ::windows::core::Interface for EmailIrmTemplate { impl ::windows::core::RuntimeName for EmailIrmTemplate { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailIrmTemplate"; } -::windows::core::interface_hierarchy!(EmailIrmTemplate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailIrmTemplate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailIrmTemplate {} unsafe impl ::core::marker::Sync for EmailIrmTemplate {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -2767,7 +2767,7 @@ impl ::core::fmt::Debug for EmailItemCounts { } } impl ::windows::core::RuntimeType for EmailItemCounts { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailItemCounts;{5bd13321-fec8-4bab-83ba-0baf3c1f6cbd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailItemCounts;{5bd13321-fec8-4bab-83ba-0baf3c1f6cbd})"); } impl ::core::clone::Clone for EmailItemCounts { fn clone(&self) -> Self { @@ -2783,7 +2783,7 @@ unsafe impl ::windows::core::Interface for EmailItemCounts { impl ::windows::core::RuntimeName for EmailItemCounts { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailItemCounts"; } -::windows::core::interface_hierarchy!(EmailItemCounts, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailItemCounts, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailItemCounts {} unsafe impl ::core::marker::Sync for EmailItemCounts {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3290,7 +3290,7 @@ impl ::core::fmt::Debug for EmailMailbox { } } impl ::windows::core::RuntimeType for EmailMailbox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailbox;{a8790649-cf5b-411b-80b1-4a6a1484ce25})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailbox;{a8790649-cf5b-411b-80b1-4a6a1484ce25})"); } impl ::core::clone::Clone for EmailMailbox { fn clone(&self) -> Self { @@ -3306,7 +3306,7 @@ unsafe impl ::windows::core::Interface for EmailMailbox { impl ::windows::core::RuntimeName for EmailMailbox { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailbox"; } -::windows::core::interface_hierarchy!(EmailMailbox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailbox, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailbox {} unsafe impl ::core::marker::Sync for EmailMailbox {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3340,7 +3340,7 @@ impl ::core::fmt::Debug for EmailMailboxAction { } } impl ::windows::core::RuntimeType for EmailMailboxAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAction;{ac9889fa-21fa-4927-9210-d410582fdf3e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAction;{ac9889fa-21fa-4927-9210-d410582fdf3e})"); } impl ::core::clone::Clone for EmailMailboxAction { fn clone(&self) -> Self { @@ -3356,7 +3356,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxAction { impl ::windows::core::RuntimeName for EmailMailboxAction { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxAction"; } -::windows::core::interface_hierarchy!(EmailMailboxAction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxAction, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxAction {} unsafe impl ::core::marker::Sync for EmailMailboxAction {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3398,7 +3398,7 @@ impl ::core::fmt::Debug for EmailMailboxAutoReply { } } impl ::windows::core::RuntimeType for EmailMailboxAutoReply { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAutoReply;{e223254c-8ab4-485b-b31f-04d15476bd59})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAutoReply;{e223254c-8ab4-485b-b31f-04d15476bd59})"); } impl ::core::clone::Clone for EmailMailboxAutoReply { fn clone(&self) -> Self { @@ -3414,7 +3414,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxAutoReply { impl ::windows::core::RuntimeName for EmailMailboxAutoReply { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxAutoReply"; } -::windows::core::interface_hierarchy!(EmailMailboxAutoReply, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxAutoReply, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxAutoReply {} unsafe impl ::core::marker::Sync for EmailMailboxAutoReply {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3424,8 +3424,8 @@ impl EmailMailboxAutoReplySettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsEnabled(&self) -> ::windows::core::Result { @@ -3522,7 +3522,7 @@ impl ::core::fmt::Debug for EmailMailboxAutoReplySettings { } } impl ::windows::core::RuntimeType for EmailMailboxAutoReplySettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAutoReplySettings;{a87a9fa8-0ac6-4b77-ba77-a6b99e9a27b8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAutoReplySettings;{a87a9fa8-0ac6-4b77-ba77-a6b99e9a27b8})"); } impl ::core::clone::Clone for EmailMailboxAutoReplySettings { fn clone(&self) -> Self { @@ -3538,7 +3538,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxAutoReplySettings { impl ::windows::core::RuntimeName for EmailMailboxAutoReplySettings { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxAutoReplySettings"; } -::windows::core::interface_hierarchy!(EmailMailboxAutoReplySettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxAutoReplySettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxAutoReplySettings {} unsafe impl ::core::marker::Sync for EmailMailboxAutoReplySettings {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3712,7 +3712,7 @@ impl ::core::fmt::Debug for EmailMailboxCapabilities { } } impl ::windows::core::RuntimeType for EmailMailboxCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxCapabilities;{eedec3a6-89db-4305-82c4-439e0a33da11})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxCapabilities;{eedec3a6-89db-4305-82c4-439e0a33da11})"); } impl ::core::clone::Clone for EmailMailboxCapabilities { fn clone(&self) -> Self { @@ -3728,7 +3728,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxCapabilities { impl ::windows::core::RuntimeName for EmailMailboxCapabilities { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxCapabilities"; } -::windows::core::interface_hierarchy!(EmailMailboxCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxCapabilities {} unsafe impl ::core::marker::Sync for EmailMailboxCapabilities {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3778,7 +3778,7 @@ impl ::core::fmt::Debug for EmailMailboxChange { } } impl ::windows::core::RuntimeType for EmailMailboxChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChange;{61edf54b-11ef-400c-adde-8cde65c85e66})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChange;{61edf54b-11ef-400c-adde-8cde65c85e66})"); } impl ::core::clone::Clone for EmailMailboxChange { fn clone(&self) -> Self { @@ -3794,7 +3794,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxChange { impl ::windows::core::RuntimeName for EmailMailboxChange { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxChange"; } -::windows::core::interface_hierarchy!(EmailMailboxChange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxChange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxChange {} unsafe impl ::core::marker::Sync for EmailMailboxChange {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3831,7 +3831,7 @@ impl ::core::fmt::Debug for EmailMailboxChangeReader { } } impl ::windows::core::RuntimeType for EmailMailboxChangeReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangeReader;{bdbd0ebb-c53d-4331-97be-be75a2146a75})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangeReader;{bdbd0ebb-c53d-4331-97be-be75a2146a75})"); } impl ::core::clone::Clone for EmailMailboxChangeReader { fn clone(&self) -> Self { @@ -3847,7 +3847,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxChangeReader { impl ::windows::core::RuntimeName for EmailMailboxChangeReader { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxChangeReader"; } -::windows::core::interface_hierarchy!(EmailMailboxChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxChangeReader {} unsafe impl ::core::marker::Sync for EmailMailboxChangeReader {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3889,7 +3889,7 @@ impl ::core::fmt::Debug for EmailMailboxChangeTracker { } } impl ::windows::core::RuntimeType for EmailMailboxChangeTracker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangeTracker;{7ae48638-5166-42b7-8882-fd21c92bdd4b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangeTracker;{7ae48638-5166-42b7-8882-fd21c92bdd4b})"); } impl ::core::clone::Clone for EmailMailboxChangeTracker { fn clone(&self) -> Self { @@ -3905,7 +3905,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxChangeTracker { impl ::windows::core::RuntimeName for EmailMailboxChangeTracker { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxChangeTracker"; } -::windows::core::interface_hierarchy!(EmailMailboxChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxChangeTracker {} unsafe impl ::core::marker::Sync for EmailMailboxChangeTracker {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3929,7 +3929,7 @@ impl ::core::fmt::Debug for EmailMailboxChangedDeferral { } } impl ::windows::core::RuntimeType for EmailMailboxChangedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangedDeferral;{779a74c1-97c5-4b54-b30d-306232623e6d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangedDeferral;{779a74c1-97c5-4b54-b30d-306232623e6d})"); } impl ::core::clone::Clone for EmailMailboxChangedDeferral { fn clone(&self) -> Self { @@ -3945,7 +3945,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxChangedDeferral { impl ::windows::core::RuntimeName for EmailMailboxChangedDeferral { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxChangedDeferral"; } -::windows::core::interface_hierarchy!(EmailMailboxChangedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxChangedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxChangedDeferral {} unsafe impl ::core::marker::Sync for EmailMailboxChangedDeferral {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -3972,7 +3972,7 @@ impl ::core::fmt::Debug for EmailMailboxChangedEventArgs { } } impl ::windows::core::RuntimeType for EmailMailboxChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangedEventArgs;{3cfd5f6e-01d4-4e4a-a44c-b22dd42ec207})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangedEventArgs;{3cfd5f6e-01d4-4e4a-a44c-b22dd42ec207})"); } impl ::core::clone::Clone for EmailMailboxChangedEventArgs { fn clone(&self) -> Self { @@ -3988,7 +3988,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxChangedEventArgs { impl ::windows::core::RuntimeName for EmailMailboxChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxChangedEventArgs"; } -::windows::core::interface_hierarchy!(EmailMailboxChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxChangedEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -4022,7 +4022,7 @@ impl ::core::fmt::Debug for EmailMailboxCreateFolderResult { } } impl ::windows::core::RuntimeType for EmailMailboxCreateFolderResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxCreateFolderResult;{b228557f-2885-4998-b595-8a2d374ce950})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxCreateFolderResult;{b228557f-2885-4998-b595-8a2d374ce950})"); } impl ::core::clone::Clone for EmailMailboxCreateFolderResult { fn clone(&self) -> Self { @@ -4038,7 +4038,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxCreateFolderResult { impl ::windows::core::RuntimeName for EmailMailboxCreateFolderResult { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxCreateFolderResult"; } -::windows::core::interface_hierarchy!(EmailMailboxCreateFolderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxCreateFolderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxCreateFolderResult {} unsafe impl ::core::marker::Sync for EmailMailboxCreateFolderResult {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -4140,7 +4140,7 @@ impl ::core::fmt::Debug for EmailMailboxPolicies { } } impl ::windows::core::RuntimeType for EmailMailboxPolicies { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxPolicies;{1f3345c5-1c3b-4dc7-b410-6373783e545d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxPolicies;{1f3345c5-1c3b-4dc7-b410-6373783e545d})"); } impl ::core::clone::Clone for EmailMailboxPolicies { fn clone(&self) -> Self { @@ -4156,7 +4156,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxPolicies { impl ::windows::core::RuntimeName for EmailMailboxPolicies { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxPolicies"; } -::windows::core::interface_hierarchy!(EmailMailboxPolicies, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxPolicies, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxPolicies {} unsafe impl ::core::marker::Sync for EmailMailboxPolicies {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -4241,7 +4241,7 @@ impl ::core::fmt::Debug for EmailMailboxSyncManager { } } impl ::windows::core::RuntimeType for EmailMailboxSyncManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxSyncManager;{517ac55a-3591-4b5d-85bc-c71dde862263})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxSyncManager;{517ac55a-3591-4b5d-85bc-c71dde862263})"); } impl ::core::clone::Clone for EmailMailboxSyncManager { fn clone(&self) -> Self { @@ -4257,7 +4257,7 @@ unsafe impl ::windows::core::Interface for EmailMailboxSyncManager { impl ::windows::core::RuntimeName for EmailMailboxSyncManager { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMailboxSyncManager"; } -::windows::core::interface_hierarchy!(EmailMailboxSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMailboxSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMailboxSyncManager {} unsafe impl ::core::marker::Sync for EmailMailboxSyncManager {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -4289,17 +4289,17 @@ impl EmailManager { } #[doc(hidden)] pub fn IEmailManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IEmailManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IEmailManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4350,7 +4350,7 @@ impl ::core::fmt::Debug for EmailManagerForUser { } } impl ::windows::core::RuntimeType for EmailManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailManagerForUser;{f773de9f-3ca5-4b0f-90c1-156e40174ce5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailManagerForUser;{f773de9f-3ca5-4b0f-90c1-156e40174ce5})"); } impl ::core::clone::Clone for EmailManagerForUser { fn clone(&self) -> Self { @@ -4366,7 +4366,7 @@ unsafe impl ::windows::core::Interface for EmailManagerForUser { impl ::windows::core::RuntimeName for EmailManagerForUser { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailManagerForUser"; } -::windows::core::interface_hierarchy!(EmailManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailManagerForUser {} unsafe impl ::core::marker::Sync for EmailManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -4376,8 +4376,8 @@ impl EmailMeetingInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AllowNewTimeProposal(&self) -> ::windows::core::Result { @@ -4587,7 +4587,7 @@ impl ::core::fmt::Debug for EmailMeetingInfo { } } impl ::windows::core::RuntimeType for EmailMeetingInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMeetingInfo;{31c03fa9-7933-415f-a275-d165ba07026b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMeetingInfo;{31c03fa9-7933-415f-a275-d165ba07026b})"); } impl ::core::clone::Clone for EmailMeetingInfo { fn clone(&self) -> Self { @@ -4603,7 +4603,7 @@ unsafe impl ::windows::core::Interface for EmailMeetingInfo { impl ::windows::core::RuntimeName for EmailMeetingInfo { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMeetingInfo"; } -::windows::core::interface_hierarchy!(EmailMeetingInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMeetingInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMeetingInfo {} unsafe impl ::core::marker::Sync for EmailMeetingInfo {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -4613,8 +4613,8 @@ impl EmailMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -5018,7 +5018,7 @@ impl ::core::fmt::Debug for EmailMessage { } } impl ::windows::core::RuntimeType for EmailMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessage;{6c6d948d-80b5-48f8-b0b1-e04e430f44e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessage;{6c6d948d-80b5-48f8-b0b1-e04e430f44e5})"); } impl ::core::clone::Clone for EmailMessage { fn clone(&self) -> Self { @@ -5034,7 +5034,7 @@ unsafe impl ::windows::core::Interface for EmailMessage { impl ::windows::core::RuntimeName for EmailMessage { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMessage"; } -::windows::core::interface_hierarchy!(EmailMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMessage {} unsafe impl ::core::marker::Sync for EmailMessage {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5070,7 +5070,7 @@ impl ::core::fmt::Debug for EmailMessageBatch { } } impl ::windows::core::RuntimeType for EmailMessageBatch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessageBatch;{605cd08f-25d9-4f1b-9e51-0514c0149653})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessageBatch;{605cd08f-25d9-4f1b-9e51-0514c0149653})"); } impl ::core::clone::Clone for EmailMessageBatch { fn clone(&self) -> Self { @@ -5086,7 +5086,7 @@ unsafe impl ::windows::core::Interface for EmailMessageBatch { impl ::windows::core::RuntimeName for EmailMessageBatch { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMessageBatch"; } -::windows::core::interface_hierarchy!(EmailMessageBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMessageBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMessageBatch {} unsafe impl ::core::marker::Sync for EmailMessageBatch {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5115,7 +5115,7 @@ impl ::core::fmt::Debug for EmailMessageReader { } } impl ::windows::core::RuntimeType for EmailMessageReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessageReader;{2f4abe9f-6213-4a85-a3b0-f92d1a839d19})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessageReader;{2f4abe9f-6213-4a85-a3b0-f92d1a839d19})"); } impl ::core::clone::Clone for EmailMessageReader { fn clone(&self) -> Self { @@ -5131,7 +5131,7 @@ unsafe impl ::windows::core::Interface for EmailMessageReader { impl ::windows::core::RuntimeName for EmailMessageReader { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailMessageReader"; } -::windows::core::interface_hierarchy!(EmailMessageReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailMessageReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailMessageReader {} unsafe impl ::core::marker::Sync for EmailMessageReader {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5141,8 +5141,8 @@ impl EmailQueryOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TextSearch(&self) -> ::windows::core::Result { @@ -5208,7 +5208,7 @@ impl EmailQueryOptions { } #[doc(hidden)] pub fn IEmailQueryOptionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5224,7 +5224,7 @@ impl ::core::fmt::Debug for EmailQueryOptions { } } impl ::windows::core::RuntimeType for EmailQueryOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailQueryOptions;{45504b9b-3e7f-4d52-b6dd-d6fd4e1fbd9a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailQueryOptions;{45504b9b-3e7f-4d52-b6dd-d6fd4e1fbd9a})"); } impl ::core::clone::Clone for EmailQueryOptions { fn clone(&self) -> Self { @@ -5240,7 +5240,7 @@ unsafe impl ::windows::core::Interface for EmailQueryOptions { impl ::windows::core::RuntimeName for EmailQueryOptions { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailQueryOptions"; } -::windows::core::interface_hierarchy!(EmailQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailQueryOptions {} unsafe impl ::core::marker::Sync for EmailQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5293,7 +5293,7 @@ impl ::core::fmt::Debug for EmailQueryTextSearch { } } impl ::windows::core::RuntimeType for EmailQueryTextSearch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailQueryTextSearch;{9fa0a288-3c5d-46a5-a6e2-31d6fd17e540})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailQueryTextSearch;{9fa0a288-3c5d-46a5-a6e2-31d6fd17e540})"); } impl ::core::clone::Clone for EmailQueryTextSearch { fn clone(&self) -> Self { @@ -5309,7 +5309,7 @@ unsafe impl ::windows::core::Interface for EmailQueryTextSearch { impl ::windows::core::RuntimeName for EmailQueryTextSearch { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailQueryTextSearch"; } -::windows::core::interface_hierarchy!(EmailQueryTextSearch, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailQueryTextSearch, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailQueryTextSearch {} unsafe impl ::core::marker::Sync for EmailQueryTextSearch {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5319,8 +5319,8 @@ impl EmailRecipient { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -5359,7 +5359,7 @@ impl EmailRecipient { } #[doc(hidden)] pub fn IEmailRecipientFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5375,7 +5375,7 @@ impl ::core::fmt::Debug for EmailRecipient { } } impl ::windows::core::RuntimeType for EmailRecipient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailRecipient;{cae825b3-4478-4814-b900-c902b5e19b53})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailRecipient;{cae825b3-4478-4814-b900-c902b5e19b53})"); } impl ::core::clone::Clone for EmailRecipient { fn clone(&self) -> Self { @@ -5391,7 +5391,7 @@ unsafe impl ::windows::core::Interface for EmailRecipient { impl ::windows::core::RuntimeName for EmailRecipient { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailRecipient"; } -::windows::core::interface_hierarchy!(EmailRecipient, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailRecipient, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailRecipient {} unsafe impl ::core::marker::Sync for EmailRecipient {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5401,8 +5401,8 @@ impl EmailRecipientResolutionResult { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Status(&self) -> ::windows::core::Result { @@ -5448,7 +5448,7 @@ impl ::core::fmt::Debug for EmailRecipientResolutionResult { } } impl ::windows::core::RuntimeType for EmailRecipientResolutionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailRecipientResolutionResult;{918338fa-8d8d-4573-80d1-07172a34b98d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailRecipientResolutionResult;{918338fa-8d8d-4573-80d1-07172a34b98d})"); } impl ::core::clone::Clone for EmailRecipientResolutionResult { fn clone(&self) -> Self { @@ -5464,7 +5464,7 @@ unsafe impl ::windows::core::Interface for EmailRecipientResolutionResult { impl ::windows::core::RuntimeName for EmailRecipientResolutionResult { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailRecipientResolutionResult"; } -::windows::core::interface_hierarchy!(EmailRecipientResolutionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailRecipientResolutionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailRecipientResolutionResult {} unsafe impl ::core::marker::Sync for EmailRecipientResolutionResult {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5575,7 +5575,7 @@ impl ::core::fmt::Debug for EmailStore { } } impl ::windows::core::RuntimeType for EmailStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailStore;{f803226e-9137-4f8b-a470-279ac3058eb6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailStore;{f803226e-9137-4f8b-a470-279ac3058eb6})"); } impl ::core::clone::Clone for EmailStore { fn clone(&self) -> Self { @@ -5591,7 +5591,7 @@ unsafe impl ::windows::core::Interface for EmailStore { impl ::windows::core::RuntimeName for EmailStore { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailStore"; } -::windows::core::interface_hierarchy!(EmailStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailStore {} unsafe impl ::core::marker::Sync for EmailStore {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5610,7 +5610,7 @@ impl ::core::fmt::Debug for EmailStoreNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for EmailStoreNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailStoreNotificationTriggerDetails;{ce17563c-46e6-43c9-96f7-facf7dd710cb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailStoreNotificationTriggerDetails;{ce17563c-46e6-43c9-96f7-facf7dd710cb})"); } impl ::core::clone::Clone for EmailStoreNotificationTriggerDetails { fn clone(&self) -> Self { @@ -5626,7 +5626,7 @@ unsafe impl ::windows::core::Interface for EmailStoreNotificationTriggerDetails impl ::windows::core::RuntimeName for EmailStoreNotificationTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Email.EmailStoreNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(EmailStoreNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailStoreNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmailStoreNotificationTriggerDetails {} unsafe impl ::core::marker::Sync for EmailStoreNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] @@ -5659,7 +5659,7 @@ impl ::core::fmt::Debug for EmailAttachmentDownloadState { } } impl ::windows::core::RuntimeType for EmailAttachmentDownloadState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailAttachmentDownloadState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailAttachmentDownloadState;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5690,7 +5690,7 @@ impl ::core::fmt::Debug for EmailBatchStatus { } } impl ::windows::core::RuntimeType for EmailBatchStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailBatchStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailBatchStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5729,7 +5729,7 @@ impl ::core::fmt::Debug for EmailCertificateValidationStatus { } } impl ::windows::core::RuntimeType for EmailCertificateValidationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailCertificateValidationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailCertificateValidationStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5761,7 +5761,7 @@ impl ::core::fmt::Debug for EmailFlagState { } } impl ::windows::core::RuntimeType for EmailFlagState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailFlagState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailFlagState;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5792,7 +5792,7 @@ impl ::core::fmt::Debug for EmailImportance { } } impl ::windows::core::RuntimeType for EmailImportance { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailImportance;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailImportance;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5831,7 +5831,7 @@ impl ::core::fmt::Debug for EmailMailboxActionKind { } } impl ::windows::core::RuntimeType for EmailMailboxActionKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxActionKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxActionKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5862,7 +5862,7 @@ impl ::core::fmt::Debug for EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiati } } impl ::windows::core::RuntimeType for EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5892,7 +5892,7 @@ impl ::core::fmt::Debug for EmailMailboxAutoReplyMessageResponseKind { } } impl ::windows::core::RuntimeType for EmailMailboxAutoReplyMessageResponseKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxAutoReplyMessageResponseKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxAutoReplyMessageResponseKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5927,7 +5927,7 @@ impl ::core::fmt::Debug for EmailMailboxChangeType { } } impl ::windows::core::RuntimeType for EmailMailboxChangeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxChangeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxChangeType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5962,7 +5962,7 @@ impl ::core::fmt::Debug for EmailMailboxCreateFolderStatus { } } impl ::windows::core::RuntimeType for EmailMailboxCreateFolderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxCreateFolderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxCreateFolderStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -5996,7 +5996,7 @@ impl ::core::fmt::Debug for EmailMailboxDeleteFolderStatus { } } impl ::windows::core::RuntimeType for EmailMailboxDeleteFolderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxDeleteFolderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxDeleteFolderStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6030,7 +6030,7 @@ impl ::core::fmt::Debug for EmailMailboxEmptyFolderStatus { } } impl ::windows::core::RuntimeType for EmailMailboxEmptyFolderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxEmptyFolderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxEmptyFolderStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6061,7 +6061,7 @@ impl ::core::fmt::Debug for EmailMailboxOtherAppReadAccess { } } impl ::windows::core::RuntimeType for EmailMailboxOtherAppReadAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxOtherAppReadAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxOtherAppReadAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6091,7 +6091,7 @@ impl ::core::fmt::Debug for EmailMailboxOtherAppWriteAccess { } } impl ::windows::core::RuntimeType for EmailMailboxOtherAppWriteAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxOtherAppWriteAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxOtherAppWriteAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6125,7 +6125,7 @@ impl ::core::fmt::Debug for EmailMailboxSmimeEncryptionAlgorithm { } } impl ::windows::core::RuntimeType for EmailMailboxSmimeEncryptionAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxSmimeEncryptionAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxSmimeEncryptionAlgorithm;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6156,7 +6156,7 @@ impl ::core::fmt::Debug for EmailMailboxSmimeSigningAlgorithm { } } impl ::windows::core::RuntimeType for EmailMailboxSmimeSigningAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxSmimeSigningAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxSmimeSigningAlgorithm;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6191,7 +6191,7 @@ impl ::core::fmt::Debug for EmailMailboxSyncStatus { } } impl ::windows::core::RuntimeType for EmailMailboxSyncStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxSyncStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMailboxSyncStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6222,7 +6222,7 @@ impl ::core::fmt::Debug for EmailMeetingResponseType { } } impl ::windows::core::RuntimeType for EmailMeetingResponseType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMeetingResponseType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMeetingResponseType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6252,7 +6252,7 @@ impl ::core::fmt::Debug for EmailMessageBodyKind { } } impl ::windows::core::RuntimeType for EmailMessageBodyKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMessageBodyKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMessageBodyKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6284,7 +6284,7 @@ impl ::core::fmt::Debug for EmailMessageDownloadState { } } impl ::windows::core::RuntimeType for EmailMessageDownloadState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMessageDownloadState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMessageDownloadState;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6316,7 +6316,7 @@ impl ::core::fmt::Debug for EmailMessageResponseKind { } } impl ::windows::core::RuntimeType for EmailMessageResponseKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMessageResponseKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMessageResponseKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6348,7 +6348,7 @@ impl ::core::fmt::Debug for EmailMessageSmimeKind { } } impl ::windows::core::RuntimeType for EmailMessageSmimeKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMessageSmimeKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailMessageSmimeKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6382,7 +6382,7 @@ impl ::core::fmt::Debug for EmailQueryKind { } } impl ::windows::core::RuntimeType for EmailQueryKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQueryKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQueryKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6449,7 +6449,7 @@ impl ::core::ops::Not for EmailQuerySearchFields { } } impl ::windows::core::RuntimeType for EmailQuerySearchFields { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQuerySearchFields;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQuerySearchFields;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6479,7 +6479,7 @@ impl ::core::fmt::Debug for EmailQuerySearchScope { } } impl ::windows::core::RuntimeType for EmailQuerySearchScope { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQuerySearchScope;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQuerySearchScope;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6509,7 +6509,7 @@ impl ::core::fmt::Debug for EmailQuerySortDirection { } } impl ::windows::core::RuntimeType for EmailQuerySortDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQuerySortDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQuerySortDirection;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6538,7 +6538,7 @@ impl ::core::fmt::Debug for EmailQuerySortProperty { } } impl ::windows::core::RuntimeType for EmailQuerySortProperty { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQuerySortProperty;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailQuerySortProperty;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6574,7 +6574,7 @@ impl ::core::fmt::Debug for EmailRecipientResolutionStatus { } } impl ::windows::core::RuntimeType for EmailRecipientResolutionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailRecipientResolutionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailRecipientResolutionStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6609,7 +6609,7 @@ impl ::core::fmt::Debug for EmailSpecialFolderKind { } } impl ::windows::core::RuntimeType for EmailSpecialFolderKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailSpecialFolderKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailSpecialFolderKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] @@ -6639,7 +6639,7 @@ impl ::core::fmt::Debug for EmailStoreAccessType { } } impl ::windows::core::RuntimeType for EmailStoreAccessType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailStoreAccessType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Email.EmailStoreAccessType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs index a012d4e1ef..40f1d7168d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs @@ -77,7 +77,7 @@ impl ::core::fmt::Debug for ExtendedExecutionForegroundRevokedEventArgs { } } impl ::windows::core::RuntimeType for ExtendedExecutionForegroundRevokedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedEventArgs;{b07cd940-9557-aea4-2c99-bdd56d9be461})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedEventArgs;{b07cd940-9557-aea4-2c99-bdd56d9be461})"); } impl ::core::clone::Clone for ExtendedExecutionForegroundRevokedEventArgs { fn clone(&self) -> Self { @@ -93,7 +93,7 @@ unsafe impl ::windows::core::Interface for ExtendedExecutionForegroundRevokedEve impl ::windows::core::RuntimeName for ExtendedExecutionForegroundRevokedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedEventArgs"; } -::windows::core::interface_hierarchy!(ExtendedExecutionForegroundRevokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExtendedExecutionForegroundRevokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ExtendedExecutionForegroundRevokedEventArgs {} unsafe impl ::core::marker::Sync for ExtendedExecutionForegroundRevokedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"] @@ -103,8 +103,8 @@ impl ExtendedExecutionForegroundSession { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -172,7 +172,7 @@ impl ::core::fmt::Debug for ExtendedExecutionForegroundSession { } } impl ::windows::core::RuntimeType for ExtendedExecutionForegroundSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession;{fbf440e1-9d10-4201-b01e-c83275296f2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession;{fbf440e1-9d10-4201-b01e-c83275296f2e})"); } impl ::core::clone::Clone for ExtendedExecutionForegroundSession { fn clone(&self) -> Self { @@ -188,7 +188,7 @@ unsafe impl ::windows::core::Interface for ExtendedExecutionForegroundSession { impl ::windows::core::RuntimeName for ExtendedExecutionForegroundSession { const NAME: &'static str = "Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession"; } -::windows::core::interface_hierarchy!(ExtendedExecutionForegroundSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExtendedExecutionForegroundSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -243,7 +243,7 @@ impl ::core::fmt::Debug for ExtendedExecutionForegroundReason { } } impl ::windows::core::RuntimeType for ExtendedExecutionForegroundReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundReason;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"] #[repr(transparent)] @@ -273,7 +273,7 @@ impl ::core::fmt::Debug for ExtendedExecutionForegroundResult { } } impl ::windows::core::RuntimeType for ExtendedExecutionForegroundResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"] #[repr(transparent)] @@ -303,7 +303,7 @@ impl ::core::fmt::Debug for ExtendedExecutionForegroundRevokedReason { } } impl ::windows::core::RuntimeType for ExtendedExecutionForegroundRevokedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedReason;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs index 7a361c72ae..d5a4924a32 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs @@ -81,7 +81,7 @@ impl ::core::fmt::Debug for ExtendedExecutionRevokedEventArgs { } } impl ::windows::core::RuntimeType for ExtendedExecutionRevokedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedEventArgs;{bfbc9f16-63b5-4c0b-aad6-828af5373ec3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedEventArgs;{bfbc9f16-63b5-4c0b-aad6-828af5373ec3})"); } impl ::core::clone::Clone for ExtendedExecutionRevokedEventArgs { fn clone(&self) -> Self { @@ -97,7 +97,7 @@ unsafe impl ::windows::core::Interface for ExtendedExecutionRevokedEventArgs { impl ::windows::core::RuntimeName for ExtendedExecutionRevokedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedEventArgs"; } -::windows::core::interface_hierarchy!(ExtendedExecutionRevokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExtendedExecutionRevokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ExtendedExecutionRevokedEventArgs {} unsafe impl ::core::marker::Sync for ExtendedExecutionRevokedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"] @@ -107,8 +107,8 @@ impl ExtendedExecutionSession { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -187,7 +187,7 @@ impl ::core::fmt::Debug for ExtendedExecutionSession { } } impl ::windows::core::RuntimeType for ExtendedExecutionSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession;{af908a2d-118b-48f1-9308-0c4fc41e200f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession;{af908a2d-118b-48f1-9308-0c4fc41e200f})"); } impl ::core::clone::Clone for ExtendedExecutionSession { fn clone(&self) -> Self { @@ -203,7 +203,7 @@ unsafe impl ::windows::core::Interface for ExtendedExecutionSession { impl ::windows::core::RuntimeName for ExtendedExecutionSession { const NAME: &'static str = "Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession"; } -::windows::core::interface_hierarchy!(ExtendedExecutionSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExtendedExecutionSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -257,7 +257,7 @@ impl ::core::fmt::Debug for ExtendedExecutionReason { } } impl ::windows::core::RuntimeType for ExtendedExecutionReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionReason;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"] #[repr(transparent)] @@ -287,7 +287,7 @@ impl ::core::fmt::Debug for ExtendedExecutionResult { } } impl ::windows::core::RuntimeType for ExtendedExecutionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"] #[repr(transparent)] @@ -317,7 +317,7 @@ impl ::core::fmt::Debug for ExtendedExecutionRevokedReason { } } impl ::windows::core::RuntimeType for ExtendedExecutionRevokedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedReason;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs index 9c27206829..27ce60814c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs @@ -74,7 +74,7 @@ impl HolographicKeyboard { } #[doc(hidden)] pub fn IHolographicKeyboardStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -90,7 +90,7 @@ impl ::core::fmt::Debug for HolographicKeyboard { } } impl ::windows::core::RuntimeType for HolographicKeyboard { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Holographic.HolographicKeyboard;{07dd0893-aa21-5e6f-a91b-11b2b3fd7be3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Holographic.HolographicKeyboard;{07dd0893-aa21-5e6f-a91b-11b2b3fd7be3})"); } impl ::core::clone::Clone for HolographicKeyboard { fn clone(&self) -> Self { @@ -106,7 +106,7 @@ unsafe impl ::windows::core::Interface for HolographicKeyboard { impl ::windows::core::RuntimeName for HolographicKeyboard { const NAME: &'static str = "Windows.ApplicationModel.Holographic.HolographicKeyboard"; } -::windows::core::interface_hierarchy!(HolographicKeyboard, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicKeyboard, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicKeyboard {} unsafe impl ::core::marker::Sync for HolographicKeyboard {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs index d0b65c25cc..2613e303b4 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs @@ -221,7 +221,7 @@ impl LockApplicationHost { } #[doc(hidden)] pub fn ILockApplicationHostStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -237,7 +237,7 @@ impl ::core::fmt::Debug for LockApplicationHost { } } impl ::windows::core::RuntimeType for LockApplicationHost { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockApplicationHost;{38ee31ad-d94f-4e7c-81fa-4f4436506281})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockApplicationHost;{38ee31ad-d94f-4e7c-81fa-4f4436506281})"); } impl ::core::clone::Clone for LockApplicationHost { fn clone(&self) -> Self { @@ -253,7 +253,7 @@ unsafe impl ::windows::core::Interface for LockApplicationHost { impl ::windows::core::RuntimeName for LockApplicationHost { const NAME: &'static str = "Windows.ApplicationModel.LockScreen.LockApplicationHost"; } -::windows::core::interface_hierarchy!(LockApplicationHost, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockApplicationHost, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LockApplicationHost {} unsafe impl ::core::marker::Sync for LockApplicationHost {} #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] @@ -311,7 +311,7 @@ impl ::core::fmt::Debug for LockScreenBadge { } } impl ::windows::core::RuntimeType for LockScreenBadge { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenBadge;{e95105d9-2bff-4db0-9b4f-3824778b9c9a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenBadge;{e95105d9-2bff-4db0-9b4f-3824778b9c9a})"); } impl ::core::clone::Clone for LockScreenBadge { fn clone(&self) -> Self { @@ -327,7 +327,7 @@ unsafe impl ::windows::core::Interface for LockScreenBadge { impl ::windows::core::RuntimeName for LockScreenBadge { const NAME: &'static str = "Windows.ApplicationModel.LockScreen.LockScreenBadge"; } -::windows::core::interface_hierarchy!(LockScreenBadge, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenBadge, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LockScreenBadge {} unsafe impl ::core::marker::Sync for LockScreenBadge {} #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] @@ -443,7 +443,7 @@ impl ::core::fmt::Debug for LockScreenInfo { } } impl ::windows::core::RuntimeType for LockScreenInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenInfo;{f59aa65c-9711-4dc9-a630-95b6cb8cdad0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenInfo;{f59aa65c-9711-4dc9-a630-95b6cb8cdad0})"); } impl ::core::clone::Clone for LockScreenInfo { fn clone(&self) -> Self { @@ -459,7 +459,7 @@ unsafe impl ::windows::core::Interface for LockScreenInfo { impl ::windows::core::RuntimeName for LockScreenInfo { const NAME: &'static str = "Windows.ApplicationModel.LockScreen.LockScreenInfo"; } -::windows::core::interface_hierarchy!(LockScreenInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LockScreenInfo {} unsafe impl ::core::marker::Sync for LockScreenInfo {} #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] @@ -483,7 +483,7 @@ impl ::core::fmt::Debug for LockScreenUnlockingDeferral { } } impl ::windows::core::RuntimeType for LockScreenUnlockingDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenUnlockingDeferral;{7e7d1ad6-5203-43e7-9bd6-7c3947d1e3fe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenUnlockingDeferral;{7e7d1ad6-5203-43e7-9bd6-7c3947d1e3fe})"); } impl ::core::clone::Clone for LockScreenUnlockingDeferral { fn clone(&self) -> Self { @@ -499,7 +499,7 @@ unsafe impl ::windows::core::Interface for LockScreenUnlockingDeferral { impl ::windows::core::RuntimeName for LockScreenUnlockingDeferral { const NAME: &'static str = "Windows.ApplicationModel.LockScreen.LockScreenUnlockingDeferral"; } -::windows::core::interface_hierarchy!(LockScreenUnlockingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenUnlockingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LockScreenUnlockingDeferral {} unsafe impl ::core::marker::Sync for LockScreenUnlockingDeferral {} #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] @@ -535,7 +535,7 @@ impl ::core::fmt::Debug for LockScreenUnlockingEventArgs { } } impl ::windows::core::RuntimeType for LockScreenUnlockingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenUnlockingEventArgs;{44e6c007-75fb-4abb-9f8b-824748900c71})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenUnlockingEventArgs;{44e6c007-75fb-4abb-9f8b-824748900c71})"); } impl ::core::clone::Clone for LockScreenUnlockingEventArgs { fn clone(&self) -> Self { @@ -551,7 +551,7 @@ unsafe impl ::windows::core::Interface for LockScreenUnlockingEventArgs { impl ::windows::core::RuntimeName for LockScreenUnlockingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.LockScreen.LockScreenUnlockingEventArgs"; } -::windows::core::interface_hierarchy!(LockScreenUnlockingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LockScreenUnlockingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LockScreenUnlockingEventArgs {} unsafe impl ::core::marker::Sync for LockScreenUnlockingEventArgs {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs index 60a10ad2d3..eea5bf5be6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs @@ -176,7 +176,7 @@ impl ::core::fmt::Debug for PaymentAppCanMakePaymentTriggerDetails { } } impl ::windows::core::RuntimeType for PaymentAppCanMakePaymentTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails;{0ce201f0-8b93-4eb6-8c46-2e4a6c6a26f6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails;{0ce201f0-8b93-4eb6-8c46-2e4a6c6a26f6})"); } impl ::core::clone::Clone for PaymentAppCanMakePaymentTriggerDetails { fn clone(&self) -> Self { @@ -192,7 +192,7 @@ unsafe impl ::windows::core::Interface for PaymentAppCanMakePaymentTriggerDetail impl ::windows::core::RuntimeName for PaymentAppCanMakePaymentTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails"; } -::windows::core::interface_hierarchy!(PaymentAppCanMakePaymentTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentAppCanMakePaymentTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentAppCanMakePaymentTriggerDetails {} unsafe impl ::core::marker::Sync for PaymentAppCanMakePaymentTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Payments_Provider\"`*"] @@ -229,7 +229,7 @@ impl PaymentAppManager { } #[doc(hidden)] pub fn IPaymentAppManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -245,7 +245,7 @@ impl ::core::fmt::Debug for PaymentAppManager { } } impl ::windows::core::RuntimeType for PaymentAppManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentAppManager;{0e47aa53-8521-4969-a957-df2538a3a98f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentAppManager;{0e47aa53-8521-4969-a957-df2538a3a98f})"); } impl ::core::clone::Clone for PaymentAppManager { fn clone(&self) -> Self { @@ -261,7 +261,7 @@ unsafe impl ::windows::core::Interface for PaymentAppManager { impl ::windows::core::RuntimeName for PaymentAppManager { const NAME: &'static str = "Windows.ApplicationModel.Payments.Provider.PaymentAppManager"; } -::windows::core::interface_hierarchy!(PaymentAppManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentAppManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentAppManager {} unsafe impl ::core::marker::Sync for PaymentAppManager {} #[doc = "*Required features: `\"ApplicationModel_Payments_Provider\"`*"] @@ -349,7 +349,7 @@ impl PaymentTransaction { } #[doc(hidden)] pub fn IPaymentTransactionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -365,7 +365,7 @@ impl ::core::fmt::Debug for PaymentTransaction { } } impl ::windows::core::RuntimeType for PaymentTransaction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentTransaction;{62581da0-26a5-4e9b-a6eb-66606cf001d3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentTransaction;{62581da0-26a5-4e9b-a6eb-66606cf001d3})"); } impl ::core::clone::Clone for PaymentTransaction { fn clone(&self) -> Self { @@ -381,7 +381,7 @@ unsafe impl ::windows::core::Interface for PaymentTransaction { impl ::windows::core::RuntimeName for PaymentTransaction { const NAME: &'static str = "Windows.ApplicationModel.Payments.Provider.PaymentTransaction"; } -::windows::core::interface_hierarchy!(PaymentTransaction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentTransaction, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentTransaction {} unsafe impl ::core::marker::Sync for PaymentTransaction {} #[doc = "*Required features: `\"ApplicationModel_Payments_Provider\"`*"] @@ -408,7 +408,7 @@ impl ::core::fmt::Debug for PaymentTransactionAcceptResult { } } impl ::windows::core::RuntimeType for PaymentTransactionAcceptResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentTransactionAcceptResult;{060e3276-d30c-4817-95a2-df7ae9273b56})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentTransactionAcceptResult;{060e3276-d30c-4817-95a2-df7ae9273b56})"); } impl ::core::clone::Clone for PaymentTransactionAcceptResult { fn clone(&self) -> Self { @@ -424,7 +424,7 @@ unsafe impl ::windows::core::Interface for PaymentTransactionAcceptResult { impl ::windows::core::RuntimeName for PaymentTransactionAcceptResult { const NAME: &'static str = "Windows.ApplicationModel.Payments.Provider.PaymentTransactionAcceptResult"; } -::windows::core::interface_hierarchy!(PaymentTransactionAcceptResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentTransactionAcceptResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentTransactionAcceptResult {} unsafe impl ::core::marker::Sync for PaymentTransactionAcceptResult {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index 2b83605b61..123b93e517 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -809,8 +809,8 @@ impl PaymentAddress { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Country(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -964,7 +964,7 @@ impl ::core::fmt::Debug for PaymentAddress { } } impl ::windows::core::RuntimeType for PaymentAddress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentAddress;{5f2264e9-6f3a-4166-a018-0a0b06bb32b5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentAddress;{5f2264e9-6f3a-4166-a018-0a0b06bb32b5})"); } impl ::core::clone::Clone for PaymentAddress { fn clone(&self) -> Self { @@ -980,7 +980,7 @@ unsafe impl ::windows::core::Interface for PaymentAddress { impl ::windows::core::RuntimeName for PaymentAddress { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentAddress"; } -::windows::core::interface_hierarchy!(PaymentAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentAddress {} unsafe impl ::core::marker::Sync for PaymentAddress {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1002,7 +1002,7 @@ impl PaymentCanMakePaymentResult { } #[doc(hidden)] pub fn IPaymentCanMakePaymentResultFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1018,7 +1018,7 @@ impl ::core::fmt::Debug for PaymentCanMakePaymentResult { } } impl ::windows::core::RuntimeType for PaymentCanMakePaymentResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentCanMakePaymentResult;{7696fe55-d5d3-4d3d-b345-45591759c510})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentCanMakePaymentResult;{7696fe55-d5d3-4d3d-b345-45591759c510})"); } impl ::core::clone::Clone for PaymentCanMakePaymentResult { fn clone(&self) -> Self { @@ -1034,7 +1034,7 @@ unsafe impl ::windows::core::Interface for PaymentCanMakePaymentResult { impl ::windows::core::RuntimeName for PaymentCanMakePaymentResult { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentCanMakePaymentResult"; } -::windows::core::interface_hierarchy!(PaymentCanMakePaymentResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentCanMakePaymentResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentCanMakePaymentResult {} unsafe impl ::core::marker::Sync for PaymentCanMakePaymentResult {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1088,7 +1088,7 @@ impl PaymentCurrencyAmount { } #[doc(hidden)] pub fn IPaymentCurrencyAmountFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1104,7 +1104,7 @@ impl ::core::fmt::Debug for PaymentCurrencyAmount { } } impl ::windows::core::RuntimeType for PaymentCurrencyAmount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentCurrencyAmount;{e3a3e9e0-b41f-4987-bdcb-071331f2daa4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentCurrencyAmount;{e3a3e9e0-b41f-4987-bdcb-071331f2daa4})"); } impl ::core::clone::Clone for PaymentCurrencyAmount { fn clone(&self) -> Self { @@ -1120,7 +1120,7 @@ unsafe impl ::windows::core::Interface for PaymentCurrencyAmount { impl ::windows::core::RuntimeName for PaymentCurrencyAmount { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentCurrencyAmount"; } -::windows::core::interface_hierarchy!(PaymentCurrencyAmount, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentCurrencyAmount, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentCurrencyAmount {} unsafe impl ::core::marker::Sync for PaymentCurrencyAmount {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1130,8 +1130,8 @@ impl PaymentDetails { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Total(&self) -> ::windows::core::Result { @@ -1222,7 +1222,7 @@ impl PaymentDetails { } #[doc(hidden)] pub fn IPaymentDetailsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1238,7 +1238,7 @@ impl ::core::fmt::Debug for PaymentDetails { } } impl ::windows::core::RuntimeType for PaymentDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentDetails;{53bb2d7d-e0eb-4053-8eae-ce7c48e02945})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentDetails;{53bb2d7d-e0eb-4053-8eae-ce7c48e02945})"); } impl ::core::clone::Clone for PaymentDetails { fn clone(&self) -> Self { @@ -1254,7 +1254,7 @@ unsafe impl ::windows::core::Interface for PaymentDetails { impl ::windows::core::RuntimeName for PaymentDetails { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentDetails"; } -::windows::core::interface_hierarchy!(PaymentDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentDetails {} unsafe impl ::core::marker::Sync for PaymentDetails {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1335,7 +1335,7 @@ impl PaymentDetailsModifier { } #[doc(hidden)] pub fn IPaymentDetailsModifierFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1351,7 +1351,7 @@ impl ::core::fmt::Debug for PaymentDetailsModifier { } } impl ::windows::core::RuntimeType for PaymentDetailsModifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentDetailsModifier;{be1c7d65-4323-41d7-b305-dfcb765f69de})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentDetailsModifier;{be1c7d65-4323-41d7-b305-dfcb765f69de})"); } impl ::core::clone::Clone for PaymentDetailsModifier { fn clone(&self) -> Self { @@ -1367,7 +1367,7 @@ unsafe impl ::windows::core::Interface for PaymentDetailsModifier { impl ::windows::core::RuntimeName for PaymentDetailsModifier { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentDetailsModifier"; } -::windows::core::interface_hierarchy!(PaymentDetailsModifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentDetailsModifier, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentDetailsModifier {} unsafe impl ::core::marker::Sync for PaymentDetailsModifier {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1415,7 +1415,7 @@ impl PaymentItem { } #[doc(hidden)] pub fn IPaymentItemFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1431,7 +1431,7 @@ impl ::core::fmt::Debug for PaymentItem { } } impl ::windows::core::RuntimeType for PaymentItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentItem;{685ac88b-79b2-4b76-9e03-a876223dfe72})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentItem;{685ac88b-79b2-4b76-9e03-a876223dfe72})"); } impl ::core::clone::Clone for PaymentItem { fn clone(&self) -> Self { @@ -1447,7 +1447,7 @@ unsafe impl ::windows::core::Interface for PaymentItem { impl ::windows::core::RuntimeName for PaymentItem { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentItem"; } -::windows::core::interface_hierarchy!(PaymentItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentItem {} unsafe impl ::core::marker::Sync for PaymentItem {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1457,8 +1457,8 @@ impl PaymentMediator { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1510,7 +1510,7 @@ impl ::core::fmt::Debug for PaymentMediator { } } impl ::windows::core::RuntimeType for PaymentMediator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMediator;{fb0ee829-ec0c-449a-83da-7ae3073365a2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMediator;{fb0ee829-ec0c-449a-83da-7ae3073365a2})"); } impl ::core::clone::Clone for PaymentMediator { fn clone(&self) -> Self { @@ -1526,7 +1526,7 @@ unsafe impl ::windows::core::Interface for PaymentMediator { impl ::windows::core::RuntimeName for PaymentMediator { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentMediator"; } -::windows::core::interface_hierarchy!(PaymentMediator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentMediator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentMediator {} unsafe impl ::core::marker::Sync for PaymentMediator {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1536,8 +1536,8 @@ impl PaymentMerchantInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn PackageFullName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1566,7 +1566,7 @@ impl PaymentMerchantInfo { } #[doc(hidden)] pub fn IPaymentMerchantInfoFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1582,7 +1582,7 @@ impl ::core::fmt::Debug for PaymentMerchantInfo { } } impl ::windows::core::RuntimeType for PaymentMerchantInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMerchantInfo;{63445050-0e94-4ed6-aacb-e6012bd327a7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMerchantInfo;{63445050-0e94-4ed6-aacb-e6012bd327a7})"); } impl ::core::clone::Clone for PaymentMerchantInfo { fn clone(&self) -> Self { @@ -1598,7 +1598,7 @@ unsafe impl ::windows::core::Interface for PaymentMerchantInfo { impl ::windows::core::RuntimeName for PaymentMerchantInfo { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentMerchantInfo"; } -::windows::core::interface_hierarchy!(PaymentMerchantInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentMerchantInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentMerchantInfo {} unsafe impl ::core::marker::Sync for PaymentMerchantInfo {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1647,7 +1647,7 @@ impl PaymentMethodData { } #[doc(hidden)] pub fn IPaymentMethodDataFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1663,7 +1663,7 @@ impl ::core::fmt::Debug for PaymentMethodData { } } impl ::windows::core::RuntimeType for PaymentMethodData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMethodData;{d1d3caf4-de98-4129-b1b7-c3ad86237bf4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMethodData;{d1d3caf4-de98-4129-b1b7-c3ad86237bf4})"); } impl ::core::clone::Clone for PaymentMethodData { fn clone(&self) -> Self { @@ -1679,7 +1679,7 @@ unsafe impl ::windows::core::Interface for PaymentMethodData { impl ::windows::core::RuntimeName for PaymentMethodData { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentMethodData"; } -::windows::core::interface_hierarchy!(PaymentMethodData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentMethodData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentMethodData {} unsafe impl ::core::marker::Sync for PaymentMethodData {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1689,8 +1689,8 @@ impl PaymentOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn RequestPayerEmail(&self) -> ::windows::core::Result { @@ -1761,7 +1761,7 @@ impl ::core::fmt::Debug for PaymentOptions { } } impl ::windows::core::RuntimeType for PaymentOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentOptions;{aaa30854-1f2b-4365-8251-01b58915a5bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentOptions;{aaa30854-1f2b-4365-8251-01b58915a5bc})"); } impl ::core::clone::Clone for PaymentOptions { fn clone(&self) -> Self { @@ -1777,7 +1777,7 @@ unsafe impl ::windows::core::Interface for PaymentOptions { impl ::windows::core::RuntimeName for PaymentOptions { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentOptions"; } -::windows::core::interface_hierarchy!(PaymentOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentOptions {} unsafe impl ::core::marker::Sync for PaymentOptions {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1871,12 +1871,12 @@ impl PaymentRequest { } #[doc(hidden)] pub fn IPaymentRequestFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPaymentRequestFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1892,7 +1892,7 @@ impl ::core::fmt::Debug for PaymentRequest { } } impl ::windows::core::RuntimeType for PaymentRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequest;{b74942e1-ed7b-47eb-bc08-78cc5d6896b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequest;{b74942e1-ed7b-47eb-bc08-78cc5d6896b6})"); } impl ::core::clone::Clone for PaymentRequest { fn clone(&self) -> Self { @@ -1908,7 +1908,7 @@ unsafe impl ::windows::core::Interface for PaymentRequest { impl ::windows::core::RuntimeName for PaymentRequest { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentRequest"; } -::windows::core::interface_hierarchy!(PaymentRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentRequest {} unsafe impl ::core::marker::Sync for PaymentRequest {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -1953,7 +1953,7 @@ impl ::core::fmt::Debug for PaymentRequestChangedArgs { } } impl ::windows::core::RuntimeType for PaymentRequestChangedArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestChangedArgs;{c6145e44-cd8b-4be4-b555-27c99194c0c5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestChangedArgs;{c6145e44-cd8b-4be4-b555-27c99194c0c5})"); } impl ::core::clone::Clone for PaymentRequestChangedArgs { fn clone(&self) -> Self { @@ -1969,7 +1969,7 @@ unsafe impl ::windows::core::Interface for PaymentRequestChangedArgs { impl ::windows::core::RuntimeName for PaymentRequestChangedArgs { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentRequestChangedArgs"; } -::windows::core::interface_hierarchy!(PaymentRequestChangedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentRequestChangedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentRequestChangedArgs {} unsafe impl ::core::marker::Sync for PaymentRequestChangedArgs {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -2023,7 +2023,7 @@ impl PaymentRequestChangedResult { } #[doc(hidden)] pub fn IPaymentRequestChangedResultFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2039,7 +2039,7 @@ impl ::core::fmt::Debug for PaymentRequestChangedResult { } } impl ::windows::core::RuntimeType for PaymentRequestChangedResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestChangedResult;{df699e5c-16c4-47ad-9401-8440ec0757db})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestChangedResult;{df699e5c-16c4-47ad-9401-8440ec0757db})"); } impl ::core::clone::Clone for PaymentRequestChangedResult { fn clone(&self) -> Self { @@ -2055,7 +2055,7 @@ unsafe impl ::windows::core::Interface for PaymentRequestChangedResult { impl ::windows::core::RuntimeName for PaymentRequestChangedResult { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentRequestChangedResult"; } -::windows::core::interface_hierarchy!(PaymentRequestChangedResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentRequestChangedResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentRequestChangedResult {} unsafe impl ::core::marker::Sync for PaymentRequestChangedResult {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -2089,7 +2089,7 @@ impl ::core::fmt::Debug for PaymentRequestSubmitResult { } } impl ::windows::core::RuntimeType for PaymentRequestSubmitResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestSubmitResult;{7b9c3912-30f2-4e90-b249-8ce7d78ffe56})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestSubmitResult;{7b9c3912-30f2-4e90-b249-8ce7d78ffe56})"); } impl ::core::clone::Clone for PaymentRequestSubmitResult { fn clone(&self) -> Self { @@ -2105,7 +2105,7 @@ unsafe impl ::windows::core::Interface for PaymentRequestSubmitResult { impl ::windows::core::RuntimeName for PaymentRequestSubmitResult { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentRequestSubmitResult"; } -::windows::core::interface_hierarchy!(PaymentRequestSubmitResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentRequestSubmitResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentRequestSubmitResult {} unsafe impl ::core::marker::Sync for PaymentRequestSubmitResult {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -2176,7 +2176,7 @@ impl ::core::fmt::Debug for PaymentResponse { } } impl ::windows::core::RuntimeType for PaymentResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentResponse;{e1389457-8bd2-4888-9fa8-97985545108e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentResponse;{e1389457-8bd2-4888-9fa8-97985545108e})"); } impl ::core::clone::Clone for PaymentResponse { fn clone(&self) -> Self { @@ -2192,7 +2192,7 @@ unsafe impl ::windows::core::Interface for PaymentResponse { impl ::windows::core::RuntimeName for PaymentResponse { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentResponse"; } -::windows::core::interface_hierarchy!(PaymentResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentResponse {} unsafe impl ::core::marker::Sync for PaymentResponse {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -2263,7 +2263,7 @@ impl PaymentShippingOption { } #[doc(hidden)] pub fn IPaymentShippingOptionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2279,7 +2279,7 @@ impl ::core::fmt::Debug for PaymentShippingOption { } } impl ::windows::core::RuntimeType for PaymentShippingOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentShippingOption;{13372ada-9753-4574-8966-93145a76c7f9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentShippingOption;{13372ada-9753-4574-8966-93145a76c7f9})"); } impl ::core::clone::Clone for PaymentShippingOption { fn clone(&self) -> Self { @@ -2295,7 +2295,7 @@ unsafe impl ::windows::core::Interface for PaymentShippingOption { impl ::windows::core::RuntimeName for PaymentShippingOption { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentShippingOption"; } -::windows::core::interface_hierarchy!(PaymentShippingOption, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentShippingOption, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentShippingOption {} unsafe impl ::core::marker::Sync for PaymentShippingOption {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -2330,7 +2330,7 @@ impl PaymentToken { } #[doc(hidden)] pub fn IPaymentTokenFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2346,7 +2346,7 @@ impl ::core::fmt::Debug for PaymentToken { } } impl ::windows::core::RuntimeType for PaymentToken { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentToken;{bbcac013-ccd0-41f2-b2a1-0a2e4b5dce25})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentToken;{bbcac013-ccd0-41f2-b2a1-0a2e4b5dce25})"); } impl ::core::clone::Clone for PaymentToken { fn clone(&self) -> Self { @@ -2362,7 +2362,7 @@ unsafe impl ::windows::core::Interface for PaymentToken { impl ::windows::core::RuntimeName for PaymentToken { const NAME: &'static str = "Windows.ApplicationModel.Payments.PaymentToken"; } -::windows::core::interface_hierarchy!(PaymentToken, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PaymentToken, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PaymentToken {} unsafe impl ::core::marker::Sync for PaymentToken {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] @@ -2398,7 +2398,7 @@ impl ::core::fmt::Debug for PaymentCanMakePaymentResultStatus { } } impl ::windows::core::RuntimeType for PaymentCanMakePaymentResultStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentCanMakePaymentResultStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentCanMakePaymentResultStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] @@ -2429,7 +2429,7 @@ impl ::core::fmt::Debug for PaymentOptionPresence { } } impl ::windows::core::RuntimeType for PaymentOptionPresence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentOptionPresence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentOptionPresence;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] @@ -2459,7 +2459,7 @@ impl ::core::fmt::Debug for PaymentRequestChangeKind { } } impl ::windows::core::RuntimeType for PaymentRequestChangeKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentRequestChangeKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentRequestChangeKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] @@ -2490,7 +2490,7 @@ impl ::core::fmt::Debug for PaymentRequestCompletionStatus { } } impl ::windows::core::RuntimeType for PaymentRequestCompletionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentRequestCompletionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentRequestCompletionStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] @@ -2521,7 +2521,7 @@ impl ::core::fmt::Debug for PaymentRequestStatus { } } impl ::windows::core::RuntimeType for PaymentRequestStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentRequestStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentRequestStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] @@ -2552,15 +2552,15 @@ impl ::core::fmt::Debug for PaymentShippingType { } } impl ::windows::core::RuntimeType for PaymentShippingType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentShippingType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentShippingType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] pub struct PaymentRequestChangedHandler(pub ::windows::core::IUnknown); impl PaymentRequestChangedHandler { pub fn new, ::core::option::Option<&PaymentRequestChangedArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = PaymentRequestChangedHandlerBox:: { vtable: &PaymentRequestChangedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = PaymentRequestChangedHandlerBox:: { vtable: &PaymentRequestChangedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, paymentrequest: &PaymentRequest, args: &PaymentRequestChangedArgs) -> ::windows::core::Result<()> { let this = self; @@ -2571,7 +2571,7 @@ impl PaymentRequestChangedHandler { struct PaymentRequestChangedHandlerBox, ::core::option::Option<&PaymentRequestChangedArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const PaymentRequestChangedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&PaymentRequestChangedArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> PaymentRequestChangedHandlerBox { const VTABLE: PaymentRequestChangedHandler_Vtbl = PaymentRequestChangedHandler_Vtbl { @@ -2580,7 +2580,7 @@ impl, ::core::option::Option<&P }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -2596,7 +2596,7 @@ impl, ::core::option::Option<&P let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -2628,7 +2628,7 @@ unsafe impl ::windows::core::Interface for PaymentRequestChangedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5078b9e1_f398_4f2c_a27e_94d371cf6c7d); } impl ::windows::core::RuntimeType for PaymentRequestChangedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5078b9e1-f398-4f2c-a27e-94d371cf6c7d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5078b9e1-f398-4f2c-a27e-94d371cf6c7d}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs index 9663400679..44be2cfdf5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs @@ -109,7 +109,7 @@ impl HolographicApplicationPreview { } #[doc(hidden)] pub fn IHolographicApplicationPreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -151,7 +151,7 @@ impl HolographicKeyboardPlacementOverridePreview { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IHolographicKeyboardPlacementOverridePreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -171,7 +171,7 @@ impl ::core::fmt::Debug for HolographicKeyboardPlacementOverridePreview { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for HolographicKeyboardPlacementOverridePreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview;{c8a8ce3a-dfde-5a14-8d5f-182c526dd9c4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview;{c8a8ce3a-dfde-5a14-8d5f-182c526dd9c4})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for HolographicKeyboardPlacementOverridePreview { @@ -192,7 +192,7 @@ impl ::windows::core::RuntimeName for HolographicKeyboardPlacementOverridePrevie const NAME: &'static str = "Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(HolographicKeyboardPlacementOverridePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicKeyboardPlacementOverridePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for HolographicKeyboardPlacementOverridePreview {} #[cfg(feature = "deprecated")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs index a8bb330b10..a54809b811 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs @@ -62,7 +62,7 @@ impl InkWorkspaceHostedAppManager { } #[doc(hidden)] pub fn IInkWorkspaceHostedAppManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -78,7 +78,7 @@ impl ::core::fmt::Debug for InkWorkspaceHostedAppManager { } } impl ::windows::core::RuntimeType for InkWorkspaceHostedAppManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager;{fe0a7990-5e59-4bb7-8a63-7d218cd96300})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager;{fe0a7990-5e59-4bb7-8a63-7d218cd96300})"); } impl ::core::clone::Clone for InkWorkspaceHostedAppManager { fn clone(&self) -> Self { @@ -94,7 +94,7 @@ unsafe impl ::windows::core::Interface for InkWorkspaceHostedAppManager { impl ::windows::core::RuntimeName for InkWorkspaceHostedAppManager { const NAME: &'static str = "Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager"; } -::windows::core::interface_hierarchy!(InkWorkspaceHostedAppManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkWorkspaceHostedAppManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkWorkspaceHostedAppManager {} unsafe impl ::core::marker::Sync for InkWorkspaceHostedAppManager {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs index 582881338b..252c3fd346 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs @@ -197,7 +197,7 @@ impl ::core::fmt::Debug for NotePlacementChangedPreviewEventArgs { } } impl ::windows::core::RuntimeType for NotePlacementChangedPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs;{491d57b7-f780-4e7f-a939-9a4caf965214})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs;{491d57b7-f780-4e7f-a939-9a4caf965214})"); } impl ::core::clone::Clone for NotePlacementChangedPreviewEventArgs { fn clone(&self) -> Self { @@ -213,7 +213,7 @@ unsafe impl ::windows::core::Interface for NotePlacementChangedPreviewEventArgs impl ::windows::core::RuntimeName for NotePlacementChangedPreviewEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs"; } -::windows::core::interface_hierarchy!(NotePlacementChangedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NotePlacementChangedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NotePlacementChangedPreviewEventArgs {} unsafe impl ::core::marker::Sync for NotePlacementChangedPreviewEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Preview_Notes\"`*"] @@ -247,7 +247,7 @@ impl ::core::fmt::Debug for NoteVisibilityChangedPreviewEventArgs { } } impl ::windows::core::RuntimeType for NoteVisibilityChangedPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs;{0e34649e-3815-4ff6-83b3-a14d17120e24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs;{0e34649e-3815-4ff6-83b3-a14d17120e24})"); } impl ::core::clone::Clone for NoteVisibilityChangedPreviewEventArgs { fn clone(&self) -> Self { @@ -263,7 +263,7 @@ unsafe impl ::windows::core::Interface for NoteVisibilityChangedPreviewEventArgs impl ::windows::core::RuntimeName for NoteVisibilityChangedPreviewEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs"; } -::windows::core::interface_hierarchy!(NoteVisibilityChangedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NoteVisibilityChangedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NoteVisibilityChangedPreviewEventArgs {} unsafe impl ::core::marker::Sync for NoteVisibilityChangedPreviewEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Preview_Notes\"`*"] @@ -414,7 +414,7 @@ impl NotesWindowManagerPreview { } #[doc(hidden)] pub fn INotesWindowManagerPreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -430,7 +430,7 @@ impl ::core::fmt::Debug for NotesWindowManagerPreview { } } impl ::windows::core::RuntimeType for NotesWindowManagerPreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview;{dc2ac23e-4850-4f13-9cc7-ff487efdfcde})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview;{dc2ac23e-4850-4f13-9cc7-ff487efdfcde})"); } impl ::core::clone::Clone for NotesWindowManagerPreview { fn clone(&self) -> Self { @@ -446,7 +446,7 @@ unsafe impl ::windows::core::Interface for NotesWindowManagerPreview { impl ::windows::core::RuntimeName for NotesWindowManagerPreview { const NAME: &'static str = "Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview"; } -::windows::core::interface_hierarchy!(NotesWindowManagerPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NotesWindowManagerPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NotesWindowManagerPreview {} unsafe impl ::core::marker::Sync for NotesWindowManagerPreview {} #[doc = "*Required features: `\"ApplicationModel_Preview_Notes\"`*"] @@ -456,8 +456,8 @@ impl NotesWindowManagerPreviewShowNoteOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ShowWithFocus(&self) -> ::windows::core::Result { @@ -484,7 +484,7 @@ impl ::core::fmt::Debug for NotesWindowManagerPreviewShowNoteOptions { } } impl ::windows::core::RuntimeType for NotesWindowManagerPreviewShowNoteOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions;{886b09d6-a6ae-4007-a56d-1ca70c84c0d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions;{886b09d6-a6ae-4007-a56d-1ca70c84c0d2})"); } impl ::core::clone::Clone for NotesWindowManagerPreviewShowNoteOptions { fn clone(&self) -> Self { @@ -500,7 +500,7 @@ unsafe impl ::windows::core::Interface for NotesWindowManagerPreviewShowNoteOpti impl ::windows::core::RuntimeName for NotesWindowManagerPreviewShowNoteOptions { const NAME: &'static str = "Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions"; } -::windows::core::interface_hierarchy!(NotesWindowManagerPreviewShowNoteOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NotesWindowManagerPreviewShowNoteOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NotesWindowManagerPreviewShowNoteOptions {} unsafe impl ::core::marker::Sync for NotesWindowManagerPreviewShowNoteOptions {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs index 6f0aad06f3..7c970f77c4 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -442,7 +442,7 @@ impl ::core::fmt::Debug for NamedResource { } } impl ::windows::core::RuntimeType for NamedResource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.NamedResource;{1c98c219-0b13-4240-89a5-d495dc189a00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.NamedResource;{1c98c219-0b13-4240-89a5-d495dc189a00})"); } impl ::core::clone::Clone for NamedResource { fn clone(&self) -> Self { @@ -458,7 +458,7 @@ unsafe impl ::windows::core::Interface for NamedResource { impl ::windows::core::RuntimeName for NamedResource { const NAME: &'static str = "Windows.ApplicationModel.Resources.Core.NamedResource"; } -::windows::core::interface_hierarchy!(NamedResource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NamedResource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NamedResource {} unsafe impl ::core::marker::Sync for NamedResource {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] @@ -547,7 +547,7 @@ impl ::core::fmt::Debug for ResourceCandidate { } } impl ::windows::core::RuntimeType for ResourceCandidate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceCandidate;{af5207d9-c433-4764-b3fd-8fa6bfbcbadc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceCandidate;{af5207d9-c433-4764-b3fd-8fa6bfbcbadc})"); } impl ::core::clone::Clone for ResourceCandidate { fn clone(&self) -> Self { @@ -563,7 +563,7 @@ unsafe impl ::windows::core::Interface for ResourceCandidate { impl ::windows::core::RuntimeName for ResourceCandidate { const NAME: &'static str = "Windows.ApplicationModel.Resources.Core.ResourceCandidate"; } -::windows::core::interface_hierarchy!(ResourceCandidate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceCandidate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ResourceCandidate {} unsafe impl ::core::marker::Sync for ResourceCandidate {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] @@ -634,7 +634,7 @@ impl ::core::fmt::Debug for ResourceCandidateVectorView { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ResourceCandidateVectorView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.ApplicationModel.Resources.Core.ResourceCandidate;{af5207d9-c433-4764-b3fd-8fa6bfbcbadc})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.ApplicationModel.Resources.Core.ResourceCandidate;{af5207d9-c433-4764-b3fd-8fa6bfbcbadc})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ResourceCandidateVectorView { @@ -671,7 +671,7 @@ impl ::core::iter::IntoIterator for &ResourceCandidateVectorView { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ResourceCandidateVectorView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceCandidateVectorView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -727,8 +727,8 @@ impl ResourceContext { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -842,22 +842,22 @@ impl ResourceContext { } #[doc(hidden)] pub fn IResourceContextStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IResourceContextStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IResourceContextStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IResourceContextStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -873,7 +873,7 @@ impl ::core::fmt::Debug for ResourceContext { } } impl ::windows::core::RuntimeType for ResourceContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceContext;{2fa22f4b-707e-4b27-ad0d-d0d8cd468fd2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceContext;{2fa22f4b-707e-4b27-ad0d-d0d8cd468fd2})"); } impl ::core::clone::Clone for ResourceContext { fn clone(&self) -> Self { @@ -889,7 +889,7 @@ unsafe impl ::windows::core::Interface for ResourceContext { impl ::windows::core::RuntimeName for ResourceContext { const NAME: &'static str = "Windows.ApplicationModel.Resources.Core.ResourceContext"; } -::windows::core::interface_hierarchy!(ResourceContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ResourceContext {} unsafe impl ::core::marker::Sync for ResourceContext {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] @@ -960,7 +960,7 @@ impl ::core::fmt::Debug for ResourceContextLanguagesVectorView { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ResourceContextLanguagesVectorView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};string))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};string))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ResourceContextLanguagesVectorView { @@ -997,7 +997,7 @@ impl ::core::iter::IntoIterator for &ResourceContextLanguagesVectorView { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ResourceContextLanguagesVectorView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceContextLanguagesVectorView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable<::windows::core::HSTRING> { type Error = ::windows::core::Error; @@ -1125,7 +1125,7 @@ impl ResourceManager { } #[doc(hidden)] pub fn IResourceManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1141,7 +1141,7 @@ impl ::core::fmt::Debug for ResourceManager { } } impl ::windows::core::RuntimeType for ResourceManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceManager;{f744d97b-9988-44fb-abd6-5378844cfa8b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceManager;{f744d97b-9988-44fb-abd6-5378844cfa8b})"); } impl ::core::clone::Clone for ResourceManager { fn clone(&self) -> Self { @@ -1157,7 +1157,7 @@ unsafe impl ::windows::core::Interface for ResourceManager { impl ::windows::core::RuntimeName for ResourceManager { const NAME: &'static str = "Windows.ApplicationModel.Resources.Core.ResourceManager"; } -::windows::core::interface_hierarchy!(ResourceManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ResourceManager {} unsafe impl ::core::marker::Sync for ResourceManager {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] @@ -1249,7 +1249,7 @@ impl ::core::fmt::Debug for ResourceMap { } } impl ::windows::core::RuntimeType for ResourceMap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82})"); } impl ::core::clone::Clone for ResourceMap { fn clone(&self) -> Self { @@ -1281,7 +1281,7 @@ impl ::core::iter::IntoIterator for &ResourceMap { self.First().unwrap() } } -::windows::core::interface_hierarchy!(ResourceMap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceMap, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -1387,7 +1387,7 @@ impl ::core::fmt::Debug for ResourceMapIterator { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ResourceMapIterator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};pinterface({02b51929-c1c4-4a7e-8940-0312b5c18500};string;rc(Windows.ApplicationModel.Resources.Core.NamedResource;{1c98c219-0b13-4240-89a5-d495dc189a00}))))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};pinterface({02b51929-c1c4-4a7e-8940-0312b5c18500};string;rc(Windows.ApplicationModel.Resources.Core.NamedResource;{1c98c219-0b13-4240-89a5-d495dc189a00}))))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ResourceMapIterator { @@ -1408,7 +1408,7 @@ impl ::windows::core::RuntimeName for ResourceMapIterator { const NAME: &'static str = "Windows.ApplicationModel.Resources.Core.ResourceMapIterator"; } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ResourceMapIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceMapIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterator> { type Error = ::windows::core::Error; @@ -1500,7 +1500,7 @@ impl ::core::fmt::Debug for ResourceMapMapView { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ResourceMapMapView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapMapView;pinterface({e480ce40-a338-4ada-adcf-272272e48cb9};string;rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapMapView;pinterface({e480ce40-a338-4ada-adcf-272272e48cb9};string;rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ResourceMapMapView { @@ -1537,7 +1537,7 @@ impl ::core::iter::IntoIterator for &ResourceMapMapView { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ResourceMapMapView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceMapMapView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -1645,7 +1645,7 @@ impl ::core::fmt::Debug for ResourceMapMapViewIterator { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ResourceMapMapViewIterator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};pinterface({02b51929-c1c4-4a7e-8940-0312b5c18500};string;rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82}))))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};pinterface({02b51929-c1c4-4a7e-8940-0312b5c18500};string;rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82}))))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ResourceMapMapViewIterator { @@ -1666,7 +1666,7 @@ impl ::windows::core::RuntimeName for ResourceMapMapViewIterator { const NAME: &'static str = "Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator"; } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ResourceMapMapViewIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceMapMapViewIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterator> { type Error = ::windows::core::Error; @@ -1745,7 +1745,7 @@ impl ::core::fmt::Debug for ResourceQualifier { } } impl ::windows::core::RuntimeType for ResourceQualifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifier;{785da5b2-4afd-4376-a888-c5f9a6b7a05c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifier;{785da5b2-4afd-4376-a888-c5f9a6b7a05c})"); } impl ::core::clone::Clone for ResourceQualifier { fn clone(&self) -> Self { @@ -1761,7 +1761,7 @@ unsafe impl ::windows::core::Interface for ResourceQualifier { impl ::windows::core::RuntimeName for ResourceQualifier { const NAME: &'static str = "Windows.ApplicationModel.Resources.Core.ResourceQualifier"; } -::windows::core::interface_hierarchy!(ResourceQualifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceQualifier, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ResourceQualifier {} unsafe impl ::core::marker::Sync for ResourceQualifier {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] @@ -1829,7 +1829,7 @@ impl ::core::fmt::Debug for ResourceQualifierMapView { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ResourceQualifierMapView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView;pinterface({e480ce40-a338-4ada-adcf-272272e48cb9};string;string))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView;pinterface({e480ce40-a338-4ada-adcf-272272e48cb9};string;string))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ResourceQualifierMapView { @@ -1866,7 +1866,7 @@ impl ::core::iter::IntoIterator for &ResourceQualifierMapView { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ResourceQualifierMapView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceQualifierMapView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -2019,7 +2019,7 @@ impl ::core::fmt::Debug for ResourceQualifierObservableMap { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ResourceQualifierObservableMap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap;pinterface({65df2bf5-bf39-41b5-aebc-5a9d865e472b};string;string))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap;pinterface({65df2bf5-bf39-41b5-aebc-5a9d865e472b};string;string))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ResourceQualifierObservableMap { @@ -2056,7 +2056,7 @@ impl ::core::iter::IntoIterator for &ResourceQualifierObservableMap { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ResourceQualifierObservableMap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceQualifierObservableMap, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -2195,7 +2195,7 @@ impl ::core::fmt::Debug for ResourceQualifierVectorView { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ResourceQualifierVectorView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.ApplicationModel.Resources.Core.ResourceQualifier;{785da5b2-4afd-4376-a888-c5f9a6b7a05c})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.ApplicationModel.Resources.Core.ResourceQualifier;{785da5b2-4afd-4376-a888-c5f9a6b7a05c})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ResourceQualifierVectorView { @@ -2232,7 +2232,7 @@ impl ::core::iter::IntoIterator for &ResourceQualifierVectorView { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ResourceQualifierVectorView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceQualifierVectorView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -2310,7 +2310,7 @@ impl ::core::fmt::Debug for ResourceCandidateKind { } } impl ::windows::core::RuntimeType for ResourceCandidateKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Resources.Core.ResourceCandidateKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Resources.Core.ResourceCandidateKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] #[repr(transparent)] @@ -2340,7 +2340,7 @@ impl ::core::fmt::Debug for ResourceQualifierPersistence { } } impl ::windows::core::RuntimeType for ResourceQualifierPersistence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Resources.Core.ResourceQualifierPersistence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Resources.Core.ResourceQualifierPersistence;i4)"); } #[repr(C)] #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] @@ -2366,7 +2366,7 @@ impl ::windows::core::TypeKind for ResourceLayoutInfo { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for ResourceLayoutInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.ApplicationModel.Resources.Core.ResourceLayoutInfo;u4;u4;u4;u4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.ApplicationModel.Resources.Core.ResourceLayoutInfo;u4;u4;u4;u4;i4)"); } impl ::core::cmp::PartialEq for ResourceLayoutInfo { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs index 284e8998d8..5d9de54137 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -206,7 +206,7 @@ impl ::core::fmt::Debug for IndexedResourceCandidate { } } impl ::windows::core::RuntimeType for IndexedResourceCandidate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate;{0e619ef3-faec-4414-a9d7-54acd5953f29})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate;{0e619ef3-faec-4414-a9d7-54acd5953f29})"); } impl ::core::clone::Clone for IndexedResourceCandidate { fn clone(&self) -> Self { @@ -222,7 +222,7 @@ unsafe impl ::windows::core::Interface for IndexedResourceCandidate { impl ::windows::core::RuntimeName for IndexedResourceCandidate { const NAME: &'static str = "Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate"; } -::windows::core::interface_hierarchy!(IndexedResourceCandidate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IndexedResourceCandidate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IndexedResourceCandidate {} unsafe impl ::core::marker::Sync for IndexedResourceCandidate {} #[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`*"] @@ -256,7 +256,7 @@ impl ::core::fmt::Debug for IndexedResourceQualifier { } } impl ::windows::core::RuntimeType for IndexedResourceQualifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier;{dae3bb9b-d304-497f-a168-a340042c8adb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier;{dae3bb9b-d304-497f-a168-a340042c8adb})"); } impl ::core::clone::Clone for IndexedResourceQualifier { fn clone(&self) -> Self { @@ -272,7 +272,7 @@ unsafe impl ::windows::core::Interface for IndexedResourceQualifier { impl ::windows::core::RuntimeName for IndexedResourceQualifier { const NAME: &'static str = "Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier"; } -::windows::core::interface_hierarchy!(IndexedResourceQualifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IndexedResourceQualifier, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IndexedResourceQualifier {} unsafe impl ::core::marker::Sync for IndexedResourceQualifier {} #[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`, `\"deprecated\"`*"] @@ -318,13 +318,13 @@ impl ResourceIndexer { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IResourceIndexerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IResourceIndexerFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -344,7 +344,7 @@ impl ::core::fmt::Debug for ResourceIndexer { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for ResourceIndexer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.ResourceIndexer;{2d4cf9a5-e32f-4ab2-8748-96350a016da3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.ResourceIndexer;{2d4cf9a5-e32f-4ab2-8748-96350a016da3})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for ResourceIndexer { @@ -365,7 +365,7 @@ impl ::windows::core::RuntimeName for ResourceIndexer { const NAME: &'static str = "Windows.ApplicationModel.Resources.Management.ResourceIndexer"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(ResourceIndexer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceIndexer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for ResourceIndexer {} #[cfg(feature = "deprecated")] @@ -399,7 +399,7 @@ impl ::core::fmt::Debug for IndexedResourceType { } } impl ::windows::core::RuntimeType for IndexedResourceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Resources.Management.IndexedResourceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Resources.Management.IndexedResourceType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs index ec72d5769e..555e720540 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs @@ -161,8 +161,8 @@ impl ResourceLoader { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn GetString(&self, resource: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -235,27 +235,27 @@ impl ResourceLoader { } #[doc(hidden)] pub fn IResourceLoaderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IResourceLoaderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IResourceLoaderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IResourceLoaderStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IResourceLoaderStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -271,7 +271,7 @@ impl ::core::fmt::Debug for ResourceLoader { } } impl ::windows::core::RuntimeType for ResourceLoader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.ResourceLoader;{08524908-16ef-45ad-a602-293637d7e61a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.ResourceLoader;{08524908-16ef-45ad-a602-293637d7e61a})"); } impl ::core::clone::Clone for ResourceLoader { fn clone(&self) -> Self { @@ -287,7 +287,7 @@ unsafe impl ::windows::core::Interface for ResourceLoader { impl ::windows::core::RuntimeName for ResourceLoader { const NAME: &'static str = "Windows.ApplicationModel.Resources.ResourceLoader"; } -::windows::core::interface_hierarchy!(ResourceLoader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceLoader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ResourceLoader {} unsafe impl ::core::marker::Sync for ResourceLoader {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs index d15e45bc4b..acac045292 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs @@ -134,7 +134,7 @@ impl ::core::fmt::Debug for RequestingFocusOnKeyboardInputEventArgs { } } impl ::windows::core::RuntimeType for RequestingFocusOnKeyboardInputEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.RequestingFocusOnKeyboardInputEventArgs;{a1195f27-b1a7-41a2-879d-6a68687e5985})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.RequestingFocusOnKeyboardInputEventArgs;{a1195f27-b1a7-41a2-879d-6a68687e5985})"); } impl ::core::clone::Clone for RequestingFocusOnKeyboardInputEventArgs { fn clone(&self) -> Self { @@ -150,7 +150,7 @@ unsafe impl ::windows::core::Interface for RequestingFocusOnKeyboardInputEventAr impl ::windows::core::RuntimeName for RequestingFocusOnKeyboardInputEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Search.Core.RequestingFocusOnKeyboardInputEventArgs"; } -::windows::core::interface_hierarchy!(RequestingFocusOnKeyboardInputEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RequestingFocusOnKeyboardInputEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RequestingFocusOnKeyboardInputEventArgs {} unsafe impl ::core::marker::Sync for RequestingFocusOnKeyboardInputEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] @@ -214,7 +214,7 @@ impl ::core::fmt::Debug for SearchSuggestion { } } impl ::windows::core::RuntimeType for SearchSuggestion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestion;{5b5554b0-1527-437b-95c5-8d18d2b8af55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestion;{5b5554b0-1527-437b-95c5-8d18d2b8af55})"); } impl ::core::clone::Clone for SearchSuggestion { fn clone(&self) -> Self { @@ -230,7 +230,7 @@ unsafe impl ::windows::core::Interface for SearchSuggestion { impl ::windows::core::RuntimeName for SearchSuggestion { const NAME: &'static str = "Windows.ApplicationModel.Search.Core.SearchSuggestion"; } -::windows::core::interface_hierarchy!(SearchSuggestion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchSuggestion, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] #[repr(transparent)] pub struct SearchSuggestionManager(::windows::core::IUnknown); @@ -238,8 +238,8 @@ impl SearchSuggestionManager { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SearchHistoryEnabled(&self) -> ::windows::core::Result { @@ -344,7 +344,7 @@ impl ::core::fmt::Debug for SearchSuggestionManager { } } impl ::windows::core::RuntimeType for SearchSuggestionManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestionManager;{3f0c50a1-cb9d-497b-b500-3c04ac959ad2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestionManager;{3f0c50a1-cb9d-497b-b500-3c04ac959ad2})"); } impl ::core::clone::Clone for SearchSuggestionManager { fn clone(&self) -> Self { @@ -360,7 +360,7 @@ unsafe impl ::windows::core::Interface for SearchSuggestionManager { impl ::windows::core::RuntimeName for SearchSuggestionManager { const NAME: &'static str = "Windows.ApplicationModel.Search.Core.SearchSuggestionManager"; } -::windows::core::interface_hierarchy!(SearchSuggestionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchSuggestionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] #[repr(transparent)] pub struct SearchSuggestionsRequestedEventArgs(::windows::core::IUnknown); @@ -406,7 +406,7 @@ impl ::core::fmt::Debug for SearchSuggestionsRequestedEventArgs { } } impl ::windows::core::RuntimeType for SearchSuggestionsRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs;{6fd519e5-9e7e-4ab4-8be3-c76b1bd4344a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs;{6fd519e5-9e7e-4ab4-8be3-c76b1bd4344a})"); } impl ::core::clone::Clone for SearchSuggestionsRequestedEventArgs { fn clone(&self) -> Self { @@ -422,7 +422,7 @@ unsafe impl ::windows::core::Interface for SearchSuggestionsRequestedEventArgs { impl ::windows::core::RuntimeName for SearchSuggestionsRequestedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs"; } -::windows::core::interface_hierarchy!(SearchSuggestionsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchSuggestionsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SearchSuggestionsRequestedEventArgs {} unsafe impl ::core::marker::Sync for SearchSuggestionsRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] @@ -454,7 +454,7 @@ impl ::core::fmt::Debug for SearchSuggestionKind { } } impl ::windows::core::RuntimeType for SearchSuggestionKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Search.Core.SearchSuggestionKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Search.Core.SearchSuggestionKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index 37f2251407..6861656175 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -190,7 +190,7 @@ impl ISearchPaneQueryChangedEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(ISearchPaneQueryChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISearchPaneQueryChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for ISearchPaneQueryChangedEventArgs { fn eq(&self, other: &Self) -> bool { @@ -207,7 +207,7 @@ impl ::core::fmt::Debug for ISearchPaneQueryChangedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for ISearchPaneQueryChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3c064fe9-2351-4248-a529-7110f464a785}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3c064fe9-2351-4248-a529-7110f464a785}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for ISearchPaneQueryChangedEventArgs { @@ -657,8 +657,8 @@ impl LocalContentSuggestionSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetEnabled(&self, value: bool) -> ::windows::core::Result<()> { @@ -714,7 +714,7 @@ impl ::core::fmt::Debug for LocalContentSuggestionSettings { } } impl ::windows::core::RuntimeType for LocalContentSuggestionSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.LocalContentSuggestionSettings;{eeaeb062-743d-456e-84a3-23f06f2d15d7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.LocalContentSuggestionSettings;{eeaeb062-743d-456e-84a3-23f06f2d15d7})"); } impl ::core::clone::Clone for LocalContentSuggestionSettings { fn clone(&self) -> Self { @@ -730,7 +730,7 @@ unsafe impl ::windows::core::Interface for LocalContentSuggestionSettings { impl ::windows::core::RuntimeName for LocalContentSuggestionSettings { const NAME: &'static str = "Windows.ApplicationModel.Search.LocalContentSuggestionSettings"; } -::windows::core::interface_hierarchy!(LocalContentSuggestionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LocalContentSuggestionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -942,13 +942,13 @@ impl SearchPane { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn ISearchPaneStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn ISearchPaneStaticsWithHideThisApplication ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -968,7 +968,7 @@ impl ::core::fmt::Debug for SearchPane { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SearchPane { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPane;{fdacec38-3700-4d73-91a1-2f998674238a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPane;{fdacec38-3700-4d73-91a1-2f998674238a})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SearchPane { @@ -989,7 +989,7 @@ impl ::windows::core::RuntimeName for SearchPane { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPane"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SearchPane, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPane, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -1040,7 +1040,7 @@ impl ::core::fmt::Debug for SearchPaneQueryChangedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SearchPaneQueryChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs;{3c064fe9-2351-4248-a529-7110f464a785})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs;{3c064fe9-2351-4248-a529-7110f464a785})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SearchPaneQueryChangedEventArgs { @@ -1061,7 +1061,7 @@ impl ::windows::core::RuntimeName for SearchPaneQueryChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SearchPaneQueryChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPaneQueryChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for ISearchPaneQueryChangedEventArgs { type Error = ::windows::core::Error; @@ -1128,7 +1128,7 @@ impl ::core::fmt::Debug for SearchPaneQueryLinguisticDetails { } } impl ::windows::core::RuntimeType for SearchPaneQueryLinguisticDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails;{82fb460e-0940-4b6d-b8d0-642b30989e15})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails;{82fb460e-0940-4b6d-b8d0-642b30989e15})"); } impl ::core::clone::Clone for SearchPaneQueryLinguisticDetails { fn clone(&self) -> Self { @@ -1144,7 +1144,7 @@ unsafe impl ::windows::core::Interface for SearchPaneQueryLinguisticDetails { impl ::windows::core::RuntimeName for SearchPaneQueryLinguisticDetails { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails"; } -::windows::core::interface_hierarchy!(SearchPaneQueryLinguisticDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPaneQueryLinguisticDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SearchPaneQueryLinguisticDetails {} unsafe impl ::core::marker::Sync for SearchPaneQueryLinguisticDetails {} #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] @@ -1197,7 +1197,7 @@ impl ::core::fmt::Debug for SearchPaneQuerySubmittedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SearchPaneQuerySubmittedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs;{143ba4fc-e9c5-4736-91b2-e8eb9cb88356})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs;{143ba4fc-e9c5-4736-91b2-e8eb9cb88356})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SearchPaneQuerySubmittedEventArgs { @@ -1218,7 +1218,7 @@ impl ::windows::core::RuntimeName for SearchPaneQuerySubmittedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SearchPaneQuerySubmittedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPaneQuerySubmittedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for SearchPaneQuerySubmittedEventArgs {} #[cfg(feature = "deprecated")] @@ -1255,7 +1255,7 @@ impl ::core::fmt::Debug for SearchPaneResultSuggestionChosenEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SearchPaneResultSuggestionChosenEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneResultSuggestionChosenEventArgs;{c8316cc0-aed2-41e0-bce0-c26ca74f85ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneResultSuggestionChosenEventArgs;{c8316cc0-aed2-41e0-bce0-c26ca74f85ec})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SearchPaneResultSuggestionChosenEventArgs { @@ -1276,7 +1276,7 @@ impl ::windows::core::RuntimeName for SearchPaneResultSuggestionChosenEventArgs const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPaneResultSuggestionChosenEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SearchPaneResultSuggestionChosenEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPaneResultSuggestionChosenEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for SearchPaneResultSuggestionChosenEventArgs {} #[cfg(feature = "deprecated")] @@ -1331,7 +1331,7 @@ impl ::core::fmt::Debug for SearchPaneSuggestionsRequest { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SearchPaneSuggestionsRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest;{81b10b1c-e561-4093-9b4d-2ad482794a53})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest;{81b10b1c-e561-4093-9b4d-2ad482794a53})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SearchPaneSuggestionsRequest { @@ -1352,7 +1352,7 @@ impl ::windows::core::RuntimeName for SearchPaneSuggestionsRequest { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SearchPaneSuggestionsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPaneSuggestionsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for SearchPaneSuggestionsRequest {} #[cfg(feature = "deprecated")] @@ -1386,7 +1386,7 @@ impl ::core::fmt::Debug for SearchPaneSuggestionsRequestDeferral { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SearchPaneSuggestionsRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestDeferral;{a0d009f7-8748-4ee2-ad44-afa6be997c51})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestDeferral;{a0d009f7-8748-4ee2-ad44-afa6be997c51})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SearchPaneSuggestionsRequestDeferral { @@ -1407,7 +1407,7 @@ impl ::windows::core::RuntimeName for SearchPaneSuggestionsRequestDeferral { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestDeferral"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SearchPaneSuggestionsRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPaneSuggestionsRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for SearchPaneSuggestionsRequestDeferral {} #[cfg(feature = "deprecated")] @@ -1471,7 +1471,7 @@ impl ::core::fmt::Debug for SearchPaneSuggestionsRequestedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SearchPaneSuggestionsRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs;{c89b8a2f-ac56-4460-8d2f-80023bec4fc5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs;{c89b8a2f-ac56-4460-8d2f-80023bec4fc5})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SearchPaneSuggestionsRequestedEventArgs { @@ -1492,7 +1492,7 @@ impl ::windows::core::RuntimeName for SearchPaneSuggestionsRequestedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SearchPaneSuggestionsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPaneSuggestionsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for ISearchPaneQueryChangedEventArgs { type Error = ::windows::core::Error; @@ -1551,7 +1551,7 @@ impl ::core::fmt::Debug for SearchPaneVisibilityChangedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SearchPaneVisibilityChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneVisibilityChangedEventArgs;{3c4d3046-ac4b-49f2-97d6-020e6182cb9c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneVisibilityChangedEventArgs;{3c4d3046-ac4b-49f2-97d6-020e6182cb9c})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SearchPaneVisibilityChangedEventArgs { @@ -1572,7 +1572,7 @@ impl ::windows::core::RuntimeName for SearchPaneVisibilityChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchPaneVisibilityChangedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SearchPaneVisibilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchPaneVisibilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for SearchPaneVisibilityChangedEventArgs {} #[cfg(feature = "deprecated")] @@ -1618,7 +1618,7 @@ impl SearchQueryLinguisticDetails { } #[doc(hidden)] pub fn ISearchQueryLinguisticDetailsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1634,7 +1634,7 @@ impl ::core::fmt::Debug for SearchQueryLinguisticDetails { } } impl ::windows::core::RuntimeType for SearchQueryLinguisticDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchQueryLinguisticDetails;{46a1205b-69c9-4745-b72f-a8a4fc8f24ae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchQueryLinguisticDetails;{46a1205b-69c9-4745-b72f-a8a4fc8f24ae})"); } impl ::core::clone::Clone for SearchQueryLinguisticDetails { fn clone(&self) -> Self { @@ -1650,7 +1650,7 @@ unsafe impl ::windows::core::Interface for SearchQueryLinguisticDetails { impl ::windows::core::RuntimeName for SearchQueryLinguisticDetails { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchQueryLinguisticDetails"; } -::windows::core::interface_hierarchy!(SearchQueryLinguisticDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchQueryLinguisticDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SearchQueryLinguisticDetails {} unsafe impl ::core::marker::Sync for SearchQueryLinguisticDetails {} #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] @@ -1705,7 +1705,7 @@ impl ::core::fmt::Debug for SearchSuggestionCollection { } } impl ::windows::core::RuntimeType for SearchSuggestionCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionCollection;{323a8a4b-fbea-4446-abbc-3da7915fdd3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionCollection;{323a8a4b-fbea-4446-abbc-3da7915fdd3a})"); } impl ::core::clone::Clone for SearchSuggestionCollection { fn clone(&self) -> Self { @@ -1721,7 +1721,7 @@ unsafe impl ::windows::core::Interface for SearchSuggestionCollection { impl ::windows::core::RuntimeName for SearchSuggestionCollection { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchSuggestionCollection"; } -::windows::core::interface_hierarchy!(SearchSuggestionCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchSuggestionCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SearchSuggestionCollection {} unsafe impl ::core::marker::Sync for SearchSuggestionCollection {} #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] @@ -1762,7 +1762,7 @@ impl ::core::fmt::Debug for SearchSuggestionsRequest { } } impl ::windows::core::RuntimeType for SearchSuggestionsRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionsRequest;{4e4e26a7-44e5-4039-9099-6000ead1f0c6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionsRequest;{4e4e26a7-44e5-4039-9099-6000ead1f0c6})"); } impl ::core::clone::Clone for SearchSuggestionsRequest { fn clone(&self) -> Self { @@ -1778,7 +1778,7 @@ unsafe impl ::windows::core::Interface for SearchSuggestionsRequest { impl ::windows::core::RuntimeName for SearchSuggestionsRequest { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchSuggestionsRequest"; } -::windows::core::interface_hierarchy!(SearchSuggestionsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchSuggestionsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SearchSuggestionsRequest {} unsafe impl ::core::marker::Sync for SearchSuggestionsRequest {} #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] @@ -1802,7 +1802,7 @@ impl ::core::fmt::Debug for SearchSuggestionsRequestDeferral { } } impl ::windows::core::RuntimeType for SearchSuggestionsRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionsRequestDeferral;{b71598a9-c065-456d-a845-1eccec5dc28b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionsRequestDeferral;{b71598a9-c065-456d-a845-1eccec5dc28b})"); } impl ::core::clone::Clone for SearchSuggestionsRequestDeferral { fn clone(&self) -> Self { @@ -1818,7 +1818,7 @@ unsafe impl ::windows::core::Interface for SearchSuggestionsRequestDeferral { impl ::windows::core::RuntimeName for SearchSuggestionsRequestDeferral { const NAME: &'static str = "Windows.ApplicationModel.Search.SearchSuggestionsRequestDeferral"; } -::windows::core::interface_hierarchy!(SearchSuggestionsRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SearchSuggestionsRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SearchSuggestionsRequestDeferral {} unsafe impl ::core::marker::Sync for SearchSuggestionsRequestDeferral {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs index f2d61795fc..350c25e75e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs @@ -137,12 +137,12 @@ impl LicenseManager { } #[doc(hidden)] pub fn ILicenseManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILicenseManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -215,7 +215,7 @@ impl ::core::fmt::Debug for LicenseSatisfactionInfo { } } impl ::windows::core::RuntimeType for LicenseSatisfactionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo;{3ccbb08f-db31-48d5-8384-fa17c81474e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo;{3ccbb08f-db31-48d5-8384-fa17c81474e2})"); } impl ::core::clone::Clone for LicenseSatisfactionInfo { fn clone(&self) -> Self { @@ -231,7 +231,7 @@ unsafe impl ::windows::core::Interface for LicenseSatisfactionInfo { impl ::windows::core::RuntimeName for LicenseSatisfactionInfo { const NAME: &'static str = "Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo"; } -::windows::core::interface_hierarchy!(LicenseSatisfactionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LicenseSatisfactionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LicenseSatisfactionInfo {} unsafe impl ::core::marker::Sync for LicenseSatisfactionInfo {} #[doc = "*Required features: `\"ApplicationModel_Store_LicenseManagement\"`*"] @@ -267,7 +267,7 @@ impl ::core::fmt::Debug for LicenseSatisfactionResult { } } impl ::windows::core::RuntimeType for LicenseSatisfactionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult;{3c674f73-3c87-4ee1-8201-f428359bd3af})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult;{3c674f73-3c87-4ee1-8201-f428359bd3af})"); } impl ::core::clone::Clone for LicenseSatisfactionResult { fn clone(&self) -> Self { @@ -283,7 +283,7 @@ unsafe impl ::windows::core::Interface for LicenseSatisfactionResult { impl ::windows::core::RuntimeName for LicenseSatisfactionResult { const NAME: &'static str = "Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult"; } -::windows::core::interface_hierarchy!(LicenseSatisfactionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LicenseSatisfactionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LicenseSatisfactionResult {} unsafe impl ::core::marker::Sync for LicenseSatisfactionResult {} #[doc = "*Required features: `\"ApplicationModel_Store_LicenseManagement\"`*"] @@ -314,7 +314,7 @@ impl ::core::fmt::Debug for LicenseRefreshOption { } } impl ::windows::core::RuntimeType for LicenseRefreshOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.LicenseManagement.LicenseRefreshOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.LicenseManagement.LicenseRefreshOption;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs index cfbbefb51d..b042fd80fc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs @@ -840,7 +840,7 @@ impl ::core::fmt::Debug for AppInstallItem { } } impl ::windows::core::RuntimeType for AppInstallItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem;{49d3dfab-168a-4cbf-a93a-9e448c82737d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem;{49d3dfab-168a-4cbf-a93a-9e448c82737d})"); } impl ::core::clone::Clone for AppInstallItem { fn clone(&self) -> Self { @@ -856,7 +856,7 @@ unsafe impl ::windows::core::Interface for AppInstallItem { impl ::windows::core::RuntimeName for AppInstallItem { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem"; } -::windows::core::interface_hierarchy!(AppInstallItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInstallItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInstallItem {} unsafe impl ::core::marker::Sync for AppInstallItem {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] @@ -866,8 +866,8 @@ impl AppInstallManager { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1258,7 +1258,7 @@ impl ::core::fmt::Debug for AppInstallManager { } } impl ::windows::core::RuntimeType for AppInstallManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager;{9353e170-8441-4b45-bd72-7c2fa925beee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager;{9353e170-8441-4b45-bd72-7c2fa925beee})"); } impl ::core::clone::Clone for AppInstallManager { fn clone(&self) -> Self { @@ -1274,7 +1274,7 @@ unsafe impl ::windows::core::Interface for AppInstallManager { impl ::windows::core::RuntimeName for AppInstallManager { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager"; } -::windows::core::interface_hierarchy!(AppInstallManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInstallManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInstallManager {} unsafe impl ::core::marker::Sync for AppInstallManager {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] @@ -1301,7 +1301,7 @@ impl ::core::fmt::Debug for AppInstallManagerItemEventArgs { } } impl ::windows::core::RuntimeType for AppInstallManagerItemEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManagerItemEventArgs;{bc505743-4674-4dd1-957e-c25682086a14})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManagerItemEventArgs;{bc505743-4674-4dd1-957e-c25682086a14})"); } impl ::core::clone::Clone for AppInstallManagerItemEventArgs { fn clone(&self) -> Self { @@ -1317,7 +1317,7 @@ unsafe impl ::windows::core::Interface for AppInstallManagerItemEventArgs { impl ::windows::core::RuntimeName for AppInstallManagerItemEventArgs { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManagerItemEventArgs"; } -::windows::core::interface_hierarchy!(AppInstallManagerItemEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInstallManagerItemEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInstallManagerItemEventArgs {} unsafe impl ::core::marker::Sync for AppInstallManagerItemEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] @@ -1327,8 +1327,8 @@ impl AppInstallOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CatalogId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1513,7 +1513,7 @@ impl ::core::fmt::Debug for AppInstallOptions { } } impl ::windows::core::RuntimeType for AppInstallOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions;{c9808300-1cb8-4eb6-8c9f-6a30c64a5b51})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions;{c9808300-1cb8-4eb6-8c9f-6a30c64a5b51})"); } impl ::core::clone::Clone for AppInstallOptions { fn clone(&self) -> Self { @@ -1529,7 +1529,7 @@ unsafe impl ::windows::core::Interface for AppInstallOptions { impl ::windows::core::RuntimeName for AppInstallOptions { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions"; } -::windows::core::interface_hierarchy!(AppInstallOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInstallOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInstallOptions {} unsafe impl ::core::marker::Sync for AppInstallOptions {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] @@ -1607,7 +1607,7 @@ impl ::core::fmt::Debug for AppInstallStatus { } } impl ::windows::core::RuntimeType for AppInstallStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallStatus;{936dccfa-2450-4126-88b1-6127a644dd5c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallStatus;{936dccfa-2450-4126-88b1-6127a644dd5c})"); } impl ::core::clone::Clone for AppInstallStatus { fn clone(&self) -> Self { @@ -1623,7 +1623,7 @@ unsafe impl ::windows::core::Interface for AppInstallStatus { impl ::windows::core::RuntimeName for AppInstallStatus { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallStatus"; } -::windows::core::interface_hierarchy!(AppInstallStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInstallStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInstallStatus {} unsafe impl ::core::marker::Sync for AppInstallStatus {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] @@ -1633,8 +1633,8 @@ impl AppUpdateOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CatalogId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1683,7 +1683,7 @@ impl ::core::fmt::Debug for AppUpdateOptions { } } impl ::windows::core::RuntimeType for AppUpdateOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions;{26f0b02f-c2f3-4aea-af8c-6308dd9db85f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions;{26f0b02f-c2f3-4aea-af8c-6308dd9db85f})"); } impl ::core::clone::Clone for AppUpdateOptions { fn clone(&self) -> Self { @@ -1699,7 +1699,7 @@ unsafe impl ::windows::core::Interface for AppUpdateOptions { impl ::windows::core::RuntimeName for AppUpdateOptions { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions"; } -::windows::core::interface_hierarchy!(AppUpdateOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppUpdateOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppUpdateOptions {} unsafe impl ::core::marker::Sync for AppUpdateOptions {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] @@ -1726,7 +1726,7 @@ impl ::core::fmt::Debug for GetEntitlementResult { } } impl ::windows::core::RuntimeType for GetEntitlementResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult;{74fc843f-1a9e-4609-8e4d-819086d08a3d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult;{74fc843f-1a9e-4609-8e4d-819086d08a3d})"); } impl ::core::clone::Clone for GetEntitlementResult { fn clone(&self) -> Self { @@ -1742,7 +1742,7 @@ unsafe impl ::windows::core::Interface for GetEntitlementResult { impl ::windows::core::RuntimeName for GetEntitlementResult { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult"; } -::windows::core::interface_hierarchy!(GetEntitlementResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GetEntitlementResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GetEntitlementResult {} unsafe impl ::core::marker::Sync for GetEntitlementResult {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] @@ -1785,7 +1785,7 @@ impl ::core::fmt::Debug for AppInstallState { } } impl ::windows::core::RuntimeType for AppInstallState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallState;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] @@ -1816,7 +1816,7 @@ impl ::core::fmt::Debug for AppInstallType { } } impl ::windows::core::RuntimeType for AppInstallType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] @@ -1848,7 +1848,7 @@ impl ::core::fmt::Debug for AppInstallationToastNotificationMode { } } impl ::windows::core::RuntimeType for AppInstallationToastNotificationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallationToastNotificationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallationToastNotificationMode;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] @@ -1880,7 +1880,7 @@ impl ::core::fmt::Debug for AutoUpdateSetting { } } impl ::windows::core::RuntimeType for AutoUpdateSetting { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.AutoUpdateSetting;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.AutoUpdateSetting;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] @@ -1912,7 +1912,7 @@ impl ::core::fmt::Debug for GetEntitlementStatus { } } impl ::windows::core::RuntimeType for GetEntitlementStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs index 7e81734c13..efb86ce2e7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs @@ -387,7 +387,7 @@ impl DeliveryOptimizationSettings { } #[doc(hidden)] pub fn IDeliveryOptimizationSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -403,7 +403,7 @@ impl ::core::fmt::Debug for DeliveryOptimizationSettings { } } impl ::windows::core::RuntimeType for DeliveryOptimizationSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.DeliveryOptimizationSettings;{1810fda0-e853-565e-b874-7a8a7b9a0e0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.DeliveryOptimizationSettings;{1810fda0-e853-565e-b874-7a8a7b9a0e0f})"); } impl ::core::clone::Clone for DeliveryOptimizationSettings { fn clone(&self) -> Self { @@ -419,7 +419,7 @@ unsafe impl ::windows::core::Interface for DeliveryOptimizationSettings { impl ::windows::core::RuntimeName for DeliveryOptimizationSettings { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.DeliveryOptimizationSettings"; } -::windows::core::interface_hierarchy!(DeliveryOptimizationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeliveryOptimizationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeliveryOptimizationSettings {} unsafe impl ::core::marker::Sync for DeliveryOptimizationSettings {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] @@ -607,27 +607,27 @@ impl StoreConfiguration { } #[doc(hidden)] pub fn IStoreConfigurationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStoreConfigurationStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStoreConfigurationStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStoreConfigurationStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStoreConfigurationStatics5 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -679,7 +679,7 @@ impl ::core::fmt::Debug for StoreHardwareManufacturerInfo { } } impl ::windows::core::RuntimeType for StoreHardwareManufacturerInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StoreHardwareManufacturerInfo;{f292dc08-c654-43ac-a21f-34801c9d3388})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StoreHardwareManufacturerInfo;{f292dc08-c654-43ac-a21f-34801c9d3388})"); } impl ::core::clone::Clone for StoreHardwareManufacturerInfo { fn clone(&self) -> Self { @@ -695,7 +695,7 @@ unsafe impl ::windows::core::Interface for StoreHardwareManufacturerInfo { impl ::windows::core::RuntimeName for StoreHardwareManufacturerInfo { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.StoreHardwareManufacturerInfo"; } -::windows::core::interface_hierarchy!(StoreHardwareManufacturerInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreHardwareManufacturerInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreHardwareManufacturerInfo {} unsafe impl ::core::marker::Sync for StoreHardwareManufacturerInfo {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] @@ -719,7 +719,7 @@ impl StorePreview { } #[doc(hidden)] pub fn IStorePreview ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -780,7 +780,7 @@ impl ::core::fmt::Debug for StorePreviewProductInfo { } } impl ::windows::core::RuntimeType for StorePreviewProductInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewProductInfo;{1937dbb3-6c01-4c9d-85cd-5babaac2b351})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewProductInfo;{1937dbb3-6c01-4c9d-85cd-5babaac2b351})"); } impl ::core::clone::Clone for StorePreviewProductInfo { fn clone(&self) -> Self { @@ -796,7 +796,7 @@ unsafe impl ::windows::core::Interface for StorePreviewProductInfo { impl ::windows::core::RuntimeName for StorePreviewProductInfo { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.StorePreviewProductInfo"; } -::windows::core::interface_hierarchy!(StorePreviewProductInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePreviewProductInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePreviewProductInfo {} unsafe impl ::core::marker::Sync for StorePreviewProductInfo {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] @@ -823,7 +823,7 @@ impl ::core::fmt::Debug for StorePreviewPurchaseResults { } } impl ::windows::core::RuntimeType for StorePreviewPurchaseResults { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewPurchaseResults;{b0daaed1-d6c5-4e53-a043-fba0d8e61231})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewPurchaseResults;{b0daaed1-d6c5-4e53-a043-fba0d8e61231})"); } impl ::core::clone::Clone for StorePreviewPurchaseResults { fn clone(&self) -> Self { @@ -839,7 +839,7 @@ unsafe impl ::windows::core::Interface for StorePreviewPurchaseResults { impl ::windows::core::RuntimeName for StorePreviewPurchaseResults { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.StorePreviewPurchaseResults"; } -::windows::core::interface_hierarchy!(StorePreviewPurchaseResults, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePreviewPurchaseResults, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePreviewPurchaseResults {} unsafe impl ::core::marker::Sync for StorePreviewPurchaseResults {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] @@ -922,7 +922,7 @@ impl ::core::fmt::Debug for StorePreviewSkuInfo { } } impl ::windows::core::RuntimeType for StorePreviewSkuInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewSkuInfo;{81fd76e2-0b26-48d9-98ce-27461c669d6c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewSkuInfo;{81fd76e2-0b26-48d9-98ce-27461c669d6c})"); } impl ::core::clone::Clone for StorePreviewSkuInfo { fn clone(&self) -> Self { @@ -938,7 +938,7 @@ unsafe impl ::windows::core::Interface for StorePreviewSkuInfo { impl ::windows::core::RuntimeName for StorePreviewSkuInfo { const NAME: &'static str = "Windows.ApplicationModel.Store.Preview.StorePreviewSkuInfo"; } -::windows::core::interface_hierarchy!(StorePreviewSkuInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePreviewSkuInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePreviewSkuInfo {} unsafe impl ::core::marker::Sync for StorePreviewSkuInfo {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] @@ -968,7 +968,7 @@ impl WebAuthenticationCoreManagerHelper { } #[doc(hidden)] pub fn IWebAuthenticationCoreManagerHelper ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1007,7 +1007,7 @@ impl ::core::fmt::Debug for DeliveryOptimizationDownloadMode { } } impl ::windows::core::RuntimeType for DeliveryOptimizationDownloadMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.DeliveryOptimizationDownloadMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.DeliveryOptimizationDownloadMode;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] @@ -1037,7 +1037,7 @@ impl ::core::fmt::Debug for DeliveryOptimizationDownloadModeSource { } } impl ::windows::core::RuntimeType for DeliveryOptimizationDownloadModeSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.DeliveryOptimizationDownloadModeSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.DeliveryOptimizationDownloadModeSource;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] @@ -1100,7 +1100,7 @@ impl ::core::ops::Not for StoreLogOptions { } } impl ::windows::core::RuntimeType for StoreLogOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.StoreLogOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.StoreLogOptions;u4)"); } #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] @@ -1132,7 +1132,7 @@ impl ::core::fmt::Debug for StorePreviewProductPurchaseStatus { } } impl ::windows::core::RuntimeType for StorePreviewProductPurchaseStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.StorePreviewProductPurchaseStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.StorePreviewProductPurchaseStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] @@ -1195,7 +1195,7 @@ impl ::core::fmt::Debug for StoreSystemFeature { } } impl ::windows::core::RuntimeType for StoreSystemFeature { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.StoreSystemFeature;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.Preview.StoreSystemFeature;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs index f182a8c4bf..1736567d7e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs @@ -772,27 +772,27 @@ impl CurrentApp { } #[doc(hidden)] pub fn ICurrentApp ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrentApp2Statics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrentAppStaticsWithFiltering ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrentAppWithCampaignId ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrentAppWithConsumables ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -936,22 +936,22 @@ impl CurrentAppSimulator { } #[doc(hidden)] pub fn ICurrentAppSimulator ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrentAppSimulatorStaticsWithFiltering ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrentAppSimulatorWithCampaignId ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrentAppSimulatorWithConsumables ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1022,7 +1022,7 @@ impl ::core::fmt::Debug for LicenseInformation { } } impl ::windows::core::RuntimeType for LicenseInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseInformation;{8eb7dc30-f170-4ed5-8e21-1516da3fd367})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseInformation;{8eb7dc30-f170-4ed5-8e21-1516da3fd367})"); } impl ::core::clone::Clone for LicenseInformation { fn clone(&self) -> Self { @@ -1038,7 +1038,7 @@ unsafe impl ::windows::core::Interface for LicenseInformation { impl ::windows::core::RuntimeName for LicenseInformation { const NAME: &'static str = "Windows.ApplicationModel.Store.LicenseInformation"; } -::windows::core::interface_hierarchy!(LicenseInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LicenseInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LicenseInformation {} unsafe impl ::core::marker::Sync for LicenseInformation {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] @@ -1132,7 +1132,7 @@ impl ::core::fmt::Debug for ListingInformation { } } impl ::windows::core::RuntimeType for ListingInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ListingInformation;{588b4abf-bc74-4383-b78c-99606323dece})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ListingInformation;{588b4abf-bc74-4383-b78c-99606323dece})"); } impl ::core::clone::Clone for ListingInformation { fn clone(&self) -> Self { @@ -1148,7 +1148,7 @@ unsafe impl ::windows::core::Interface for ListingInformation { impl ::windows::core::RuntimeName for ListingInformation { const NAME: &'static str = "Windows.ApplicationModel.Store.ListingInformation"; } -::windows::core::interface_hierarchy!(ListingInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ListingInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ListingInformation {} unsafe impl ::core::marker::Sync for ListingInformation {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] @@ -1198,7 +1198,7 @@ impl ::core::fmt::Debug for ProductLicense { } } impl ::windows::core::RuntimeType for ProductLicense { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductLicense;{363308c7-2bcf-4c0e-8f2f-e808aaa8f99d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductLicense;{363308c7-2bcf-4c0e-8f2f-e808aaa8f99d})"); } impl ::core::clone::Clone for ProductLicense { fn clone(&self) -> Self { @@ -1214,7 +1214,7 @@ unsafe impl ::windows::core::Interface for ProductLicense { impl ::windows::core::RuntimeName for ProductLicense { const NAME: &'static str = "Windows.ApplicationModel.Store.ProductLicense"; } -::windows::core::interface_hierarchy!(ProductLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProductLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProductLicense {} unsafe impl ::core::marker::Sync for ProductLicense {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] @@ -1324,7 +1324,7 @@ impl ::core::fmt::Debug for ProductListing { } } impl ::windows::core::RuntimeType for ProductListing { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductListing;{45a7d6ad-c750-4d9c-947c-b00dcbf9e9c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductListing;{45a7d6ad-c750-4d9c-947c-b00dcbf9e9c2})"); } impl ::core::clone::Clone for ProductListing { fn clone(&self) -> Self { @@ -1340,7 +1340,7 @@ unsafe impl ::windows::core::Interface for ProductListing { impl ::windows::core::RuntimeName for ProductListing { const NAME: &'static str = "Windows.ApplicationModel.Store.ProductListing"; } -::windows::core::interface_hierarchy!(ProductListing, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProductListing, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProductListing {} unsafe impl ::core::marker::Sync for ProductListing {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] @@ -1350,8 +1350,8 @@ impl ProductPurchaseDisplayProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1399,7 +1399,7 @@ impl ProductPurchaseDisplayProperties { } #[doc(hidden)] pub fn IProductPurchaseDisplayPropertiesFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1415,7 +1415,7 @@ impl ::core::fmt::Debug for ProductPurchaseDisplayProperties { } } impl ::windows::core::RuntimeType for ProductPurchaseDisplayProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties;{d70b7420-bc92-401b-a809-c9b2e5dbbdaf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties;{d70b7420-bc92-401b-a809-c9b2e5dbbdaf})"); } impl ::core::clone::Clone for ProductPurchaseDisplayProperties { fn clone(&self) -> Self { @@ -1431,7 +1431,7 @@ unsafe impl ::windows::core::Interface for ProductPurchaseDisplayProperties { impl ::windows::core::RuntimeName for ProductPurchaseDisplayProperties { const NAME: &'static str = "Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties"; } -::windows::core::interface_hierarchy!(ProductPurchaseDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProductPurchaseDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProductPurchaseDisplayProperties {} unsafe impl ::core::marker::Sync for ProductPurchaseDisplayProperties {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] @@ -1479,7 +1479,7 @@ impl ::core::fmt::Debug for PurchaseResults { } } impl ::windows::core::RuntimeType for PurchaseResults { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.PurchaseResults;{ed50b37e-8656-4f65-b8c8-ac7e0cb1a1c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.PurchaseResults;{ed50b37e-8656-4f65-b8c8-ac7e0cb1a1c2})"); } impl ::core::clone::Clone for PurchaseResults { fn clone(&self) -> Self { @@ -1495,7 +1495,7 @@ unsafe impl ::windows::core::Interface for PurchaseResults { impl ::windows::core::RuntimeName for PurchaseResults { const NAME: &'static str = "Windows.ApplicationModel.Store.PurchaseResults"; } -::windows::core::interface_hierarchy!(PurchaseResults, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PurchaseResults, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PurchaseResults {} unsafe impl ::core::marker::Sync for PurchaseResults {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] @@ -1536,7 +1536,7 @@ impl ::core::fmt::Debug for UnfulfilledConsumable { } } impl ::windows::core::RuntimeType for UnfulfilledConsumable { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.UnfulfilledConsumable;{2df7fbbb-1cdd-4cb8-a014-7b9cf8986927})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.UnfulfilledConsumable;{2df7fbbb-1cdd-4cb8-a014-7b9cf8986927})"); } impl ::core::clone::Clone for UnfulfilledConsumable { fn clone(&self) -> Self { @@ -1552,7 +1552,7 @@ unsafe impl ::windows::core::Interface for UnfulfilledConsumable { impl ::windows::core::RuntimeName for UnfulfilledConsumable { const NAME: &'static str = "Windows.ApplicationModel.Store.UnfulfilledConsumable"; } -::windows::core::interface_hierarchy!(UnfulfilledConsumable, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UnfulfilledConsumable, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UnfulfilledConsumable {} unsafe impl ::core::marker::Sync for UnfulfilledConsumable {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] @@ -1586,7 +1586,7 @@ impl ::core::fmt::Debug for FulfillmentResult { } } impl ::windows::core::RuntimeType for FulfillmentResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.FulfillmentResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.FulfillmentResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] @@ -1618,7 +1618,7 @@ impl ::core::fmt::Debug for ProductPurchaseStatus { } } impl ::windows::core::RuntimeType for ProductPurchaseStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.ProductPurchaseStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.ProductPurchaseStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] @@ -1649,15 +1649,15 @@ impl ::core::fmt::Debug for ProductType { } } impl ::windows::core::RuntimeType for ProductType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.ProductType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.ProductType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] pub struct LicenseChangedEventHandler(pub ::windows::core::IUnknown); impl LicenseChangedEventHandler { pub fn new ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = LicenseChangedEventHandlerBox:: { vtable: &LicenseChangedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = LicenseChangedEventHandlerBox:: { vtable: &LicenseChangedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self) -> ::windows::core::Result<()> { let this = self; @@ -1668,7 +1668,7 @@ impl LicenseChangedEventHandler { struct LicenseChangedEventHandlerBox ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const LicenseChangedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl ::windows::core::Result<()> + ::core::marker::Send + 'static> LicenseChangedEventHandlerBox { const VTABLE: LicenseChangedEventHandler_Vtbl = LicenseChangedEventHandler_Vtbl { @@ -1677,7 +1677,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1693,7 +1693,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1725,7 +1725,7 @@ unsafe impl ::windows::core::Interface for LicenseChangedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd4a50255_1369_4c36_832f_6f2d88e3659b); } impl ::windows::core::RuntimeType for LicenseChangedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d4a50255-1369-4c36-832f-6f2d88e3659b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d4a50255-1369-4c36-832f-6f2d88e3659b}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs index 0c01ba4c09..9e86faa6d8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs @@ -41,7 +41,7 @@ impl CoreUserActivityManager { } #[doc(hidden)] pub fn ICoreUserActivityManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index 8970bc494d..009b1642a5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -287,7 +287,7 @@ impl IUserActivityContentInfo { } } } -::windows::core::interface_hierarchy!(IUserActivityContentInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUserActivityContentInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUserActivityContentInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -300,7 +300,7 @@ impl ::core::fmt::Debug for IUserActivityContentInfo { } } impl ::windows::core::RuntimeType for IUserActivityContentInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b399e5ad-137f-409d-822d-e1af27ce08dc}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b399e5ad-137f-409d-822d-e1af27ce08dc}"); } unsafe impl ::windows::core::Vtable for IUserActivityContentInfo { type Vtable = IUserActivityContentInfo_Vtbl; @@ -752,12 +752,12 @@ impl UserActivity { } #[doc(hidden)] pub fn IUserActivityFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IUserActivityStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -773,7 +773,7 @@ impl ::core::fmt::Debug for UserActivity { } } impl ::windows::core::RuntimeType for UserActivity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivity;{fc103e9e-2cab-4d36-aea2-b4bb556cef0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivity;{fc103e9e-2cab-4d36-aea2-b4bb556cef0f})"); } impl ::core::clone::Clone for UserActivity { fn clone(&self) -> Self { @@ -789,7 +789,7 @@ unsafe impl ::windows::core::Interface for UserActivity { impl ::windows::core::RuntimeName for UserActivity { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivity"; } -::windows::core::interface_hierarchy!(UserActivity, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivity, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserActivity {} unsafe impl ::core::marker::Sync for UserActivity {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] @@ -799,8 +799,8 @@ impl UserActivityAttribution { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -850,7 +850,7 @@ impl UserActivityAttribution { } #[doc(hidden)] pub fn IUserActivityAttributionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -866,7 +866,7 @@ impl ::core::fmt::Debug for UserActivityAttribution { } } impl ::windows::core::RuntimeType for UserActivityAttribution { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityAttribution;{34a5c8b5-86dd-4aec-a491-6a4faea5d22e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityAttribution;{34a5c8b5-86dd-4aec-a491-6a4faea5d22e})"); } impl ::core::clone::Clone for UserActivityAttribution { fn clone(&self) -> Self { @@ -882,7 +882,7 @@ unsafe impl ::windows::core::Interface for UserActivityAttribution { impl ::windows::core::RuntimeName for UserActivityAttribution { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivityAttribution"; } -::windows::core::interface_hierarchy!(UserActivityAttribution, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivityAttribution, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserActivityAttribution {} unsafe impl ::core::marker::Sync for UserActivityAttribution {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] @@ -961,17 +961,17 @@ impl UserActivityChannel { } #[doc(hidden)] pub fn IUserActivityChannelStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IUserActivityChannelStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IUserActivityChannelStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -987,7 +987,7 @@ impl ::core::fmt::Debug for UserActivityChannel { } } impl ::windows::core::RuntimeType for UserActivityChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityChannel;{bac0f8b8-a0e4-483b-b948-9cbabd06070c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityChannel;{bac0f8b8-a0e4-483b-b948-9cbabd06070c})"); } impl ::core::clone::Clone for UserActivityChannel { fn clone(&self) -> Self { @@ -1003,7 +1003,7 @@ unsafe impl ::windows::core::Interface for UserActivityChannel { impl ::windows::core::RuntimeName for UserActivityChannel { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivityChannel"; } -::windows::core::interface_hierarchy!(UserActivityChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivityChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserActivityChannel {} unsafe impl ::core::marker::Sync for UserActivityChannel {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] @@ -1025,7 +1025,7 @@ impl UserActivityContentInfo { } #[doc(hidden)] pub fn IUserActivityContentInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1041,7 +1041,7 @@ impl ::core::fmt::Debug for UserActivityContentInfo { } } impl ::windows::core::RuntimeType for UserActivityContentInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityContentInfo;{b399e5ad-137f-409d-822d-e1af27ce08dc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityContentInfo;{b399e5ad-137f-409d-822d-e1af27ce08dc})"); } impl ::core::clone::Clone for UserActivityContentInfo { fn clone(&self) -> Self { @@ -1057,7 +1057,7 @@ unsafe impl ::windows::core::Interface for UserActivityContentInfo { impl ::windows::core::RuntimeName for UserActivityContentInfo { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivityContentInfo"; } -::windows::core::interface_hierarchy!(UserActivityContentInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivityContentInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IUserActivityContentInfo { type Error = ::windows::core::Error; fn try_from(value: UserActivityContentInfo) -> ::windows::core::Result { @@ -1100,7 +1100,7 @@ impl ::core::fmt::Debug for UserActivityRequest { } } impl ::windows::core::RuntimeType for UserActivityRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequest;{a0ef6355-cf35-4ff0-8833-50cb4b72e06d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequest;{a0ef6355-cf35-4ff0-8833-50cb4b72e06d})"); } impl ::core::clone::Clone for UserActivityRequest { fn clone(&self) -> Self { @@ -1116,7 +1116,7 @@ unsafe impl ::windows::core::Interface for UserActivityRequest { impl ::windows::core::RuntimeName for UserActivityRequest { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivityRequest"; } -::windows::core::interface_hierarchy!(UserActivityRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivityRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserActivityRequest {} unsafe impl ::core::marker::Sync for UserActivityRequest {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] @@ -1146,7 +1146,7 @@ impl UserActivityRequestManager { } #[doc(hidden)] pub fn IUserActivityRequestManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1162,7 +1162,7 @@ impl ::core::fmt::Debug for UserActivityRequestManager { } } impl ::windows::core::RuntimeType for UserActivityRequestManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequestManager;{0c30be4e-903d-48d6-82d4-4043ed57791b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequestManager;{0c30be4e-903d-48d6-82d4-4043ed57791b})"); } impl ::core::clone::Clone for UserActivityRequestManager { fn clone(&self) -> Self { @@ -1178,7 +1178,7 @@ unsafe impl ::windows::core::Interface for UserActivityRequestManager { impl ::windows::core::RuntimeName for UserActivityRequestManager { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivityRequestManager"; } -::windows::core::interface_hierarchy!(UserActivityRequestManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivityRequestManager, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] pub struct UserActivityRequestedEventArgs(::windows::core::IUnknown); @@ -1212,7 +1212,7 @@ impl ::core::fmt::Debug for UserActivityRequestedEventArgs { } } impl ::windows::core::RuntimeType for UserActivityRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs;{a4cc7a4c-8229-4cfd-a3bc-c61d318575a4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs;{a4cc7a4c-8229-4cfd-a3bc-c61d318575a4})"); } impl ::core::clone::Clone for UserActivityRequestedEventArgs { fn clone(&self) -> Self { @@ -1228,7 +1228,7 @@ unsafe impl ::windows::core::Interface for UserActivityRequestedEventArgs { impl ::windows::core::RuntimeName for UserActivityRequestedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs"; } -::windows::core::interface_hierarchy!(UserActivityRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivityRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserActivityRequestedEventArgs {} unsafe impl ::core::marker::Sync for UserActivityRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] @@ -1261,7 +1261,7 @@ impl ::core::fmt::Debug for UserActivitySession { } } impl ::windows::core::RuntimeType for UserActivitySession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivitySession;{ae434d78-24fa-44a3-ad48-6eda61aa1924})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivitySession;{ae434d78-24fa-44a3-ad48-6eda61aa1924})"); } impl ::core::clone::Clone for UserActivitySession { fn clone(&self) -> Self { @@ -1277,7 +1277,7 @@ unsafe impl ::windows::core::Interface for UserActivitySession { impl ::windows::core::RuntimeName for UserActivitySession { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivitySession"; } -::windows::core::interface_hierarchy!(UserActivitySession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivitySession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1344,7 +1344,7 @@ impl ::core::fmt::Debug for UserActivitySessionHistoryItem { } } impl ::windows::core::RuntimeType for UserActivitySessionHistoryItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem;{e8d59bd3-3e5d-49fd-98d7-6da97521e255})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem;{e8d59bd3-3e5d-49fd-98d7-6da97521e255})"); } impl ::core::clone::Clone for UserActivitySessionHistoryItem { fn clone(&self) -> Self { @@ -1360,7 +1360,7 @@ unsafe impl ::windows::core::Interface for UserActivitySessionHistoryItem { impl ::windows::core::RuntimeName for UserActivitySessionHistoryItem { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem"; } -::windows::core::interface_hierarchy!(UserActivitySessionHistoryItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivitySessionHistoryItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserActivitySessionHistoryItem {} unsafe impl ::core::marker::Sync for UserActivitySessionHistoryItem {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] @@ -1458,7 +1458,7 @@ impl ::core::fmt::Debug for UserActivityVisualElements { } } impl ::windows::core::RuntimeType for UserActivityVisualElements { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityVisualElements;{94757513-262f-49ef-bbbf-9b75d2e85250})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityVisualElements;{94757513-262f-49ef-bbbf-9b75d2e85250})"); } impl ::core::clone::Clone for UserActivityVisualElements { fn clone(&self) -> Self { @@ -1474,7 +1474,7 @@ unsafe impl ::windows::core::Interface for UserActivityVisualElements { impl ::windows::core::RuntimeName for UserActivityVisualElements { const NAME: &'static str = "Windows.ApplicationModel.UserActivities.UserActivityVisualElements"; } -::windows::core::interface_hierarchy!(UserActivityVisualElements, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserActivityVisualElements, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserActivityVisualElements {} unsafe impl ::core::marker::Sync for UserActivityVisualElements {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] @@ -1505,7 +1505,7 @@ impl ::core::fmt::Debug for UserActivityState { } } impl ::windows::core::RuntimeType for UserActivityState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserActivities.UserActivityState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserActivities.UserActivityState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs index 5ce25c1b98..d39cda5f0e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs @@ -57,7 +57,7 @@ impl IUserDataAccountProviderOperation { } } } -::windows::core::interface_hierarchy!(IUserDataAccountProviderOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUserDataAccountProviderOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUserDataAccountProviderOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -70,7 +70,7 @@ impl ::core::fmt::Debug for IUserDataAccountProviderOperation { } } impl ::windows::core::RuntimeType for IUserDataAccountProviderOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a20aad63-888c-4a62-a3dd-34d07a802b2b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a20aad63-888c-4a62-a3dd-34d07a802b2b}"); } unsafe impl ::windows::core::Vtable for IUserDataAccountProviderOperation { type Vtable = IUserDataAccountProviderOperation_Vtbl; @@ -169,7 +169,7 @@ impl ::core::fmt::Debug for UserDataAccountPartnerAccountInfo { } } impl ::windows::core::RuntimeType for UserDataAccountPartnerAccountInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountPartnerAccountInfo;{5f200037-f6ef-4ec3-8630-012c59c1149f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountPartnerAccountInfo;{5f200037-f6ef-4ec3-8630-012c59c1149f})"); } impl ::core::clone::Clone for UserDataAccountPartnerAccountInfo { fn clone(&self) -> Self { @@ -185,7 +185,7 @@ unsafe impl ::windows::core::Interface for UserDataAccountPartnerAccountInfo { impl ::windows::core::RuntimeName for UserDataAccountPartnerAccountInfo { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountPartnerAccountInfo"; } -::windows::core::interface_hierarchy!(UserDataAccountPartnerAccountInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccountPartnerAccountInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataAccountPartnerAccountInfo {} unsafe impl ::core::marker::Sync for UserDataAccountPartnerAccountInfo {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] @@ -232,7 +232,7 @@ impl ::core::fmt::Debug for UserDataAccountProviderAddAccountOperation { } } impl ::windows::core::RuntimeType for UserDataAccountProviderAddAccountOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderAddAccountOperation;{b9c72530-3f84-4b5d-8eaa-45e97aa842ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderAddAccountOperation;{b9c72530-3f84-4b5d-8eaa-45e97aa842ed})"); } impl ::core::clone::Clone for UserDataAccountProviderAddAccountOperation { fn clone(&self) -> Self { @@ -248,7 +248,7 @@ unsafe impl ::windows::core::Interface for UserDataAccountProviderAddAccountOper impl ::windows::core::RuntimeName for UserDataAccountProviderAddAccountOperation { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderAddAccountOperation"; } -::windows::core::interface_hierarchy!(UserDataAccountProviderAddAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccountProviderAddAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IUserDataAccountProviderOperation { type Error = ::windows::core::Error; fn try_from(value: UserDataAccountProviderAddAccountOperation) -> ::windows::core::Result { @@ -305,7 +305,7 @@ impl ::core::fmt::Debug for UserDataAccountProviderResolveErrorsOperation { } } impl ::windows::core::RuntimeType for UserDataAccountProviderResolveErrorsOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderResolveErrorsOperation;{6235dc15-bfcb-41e1-9957-9759a28846cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderResolveErrorsOperation;{6235dc15-bfcb-41e1-9957-9759a28846cc})"); } impl ::core::clone::Clone for UserDataAccountProviderResolveErrorsOperation { fn clone(&self) -> Self { @@ -321,7 +321,7 @@ unsafe impl ::windows::core::Interface for UserDataAccountProviderResolveErrorsO impl ::windows::core::RuntimeName for UserDataAccountProviderResolveErrorsOperation { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderResolveErrorsOperation"; } -::windows::core::interface_hierarchy!(UserDataAccountProviderResolveErrorsOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccountProviderResolveErrorsOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IUserDataAccountProviderOperation { type Error = ::windows::core::Error; fn try_from(value: UserDataAccountProviderResolveErrorsOperation) -> ::windows::core::Result { @@ -378,7 +378,7 @@ impl ::core::fmt::Debug for UserDataAccountProviderSettingsOperation { } } impl ::windows::core::RuntimeType for UserDataAccountProviderSettingsOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderSettingsOperation;{92034db7-8648-4f30-acfa-3002658ca80d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderSettingsOperation;{92034db7-8648-4f30-acfa-3002658ca80d})"); } impl ::core::clone::Clone for UserDataAccountProviderSettingsOperation { fn clone(&self) -> Self { @@ -394,7 +394,7 @@ unsafe impl ::windows::core::Interface for UserDataAccountProviderSettingsOperat impl ::windows::core::RuntimeName for UserDataAccountProviderSettingsOperation { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderSettingsOperation"; } -::windows::core::interface_hierarchy!(UserDataAccountProviderSettingsOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccountProviderSettingsOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IUserDataAccountProviderOperation { type Error = ::windows::core::Error; fn try_from(value: UserDataAccountProviderSettingsOperation) -> ::windows::core::Result { @@ -445,7 +445,7 @@ impl ::core::fmt::Debug for UserDataAccountProviderOperationKind { } } impl ::windows::core::RuntimeType for UserDataAccountProviderOperationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderOperationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderOperationKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] #[repr(transparent)] @@ -475,7 +475,7 @@ impl ::core::fmt::Debug for UserDataAccountProviderPartnerAccountKind { } } impl ::windows::core::RuntimeType for UserDataAccountProviderPartnerAccountKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderPartnerAccountKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderPartnerAccountKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs index b0c9688366..cdf9920f78 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -213,8 +213,8 @@ impl DeviceAccountConfiguration { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AccountName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -733,7 +733,7 @@ impl ::core::fmt::Debug for DeviceAccountConfiguration { } } impl ::windows::core::RuntimeType for DeviceAccountConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountConfiguration;{ad0123a3-fbdc-4d1b-be43-5a27ea4a1b63})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountConfiguration;{ad0123a3-fbdc-4d1b-be43-5a27ea4a1b63})"); } impl ::core::clone::Clone for DeviceAccountConfiguration { fn clone(&self) -> Self { @@ -749,7 +749,7 @@ unsafe impl ::windows::core::Interface for DeviceAccountConfiguration { impl ::windows::core::RuntimeName for DeviceAccountConfiguration { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountConfiguration"; } -::windows::core::interface_hierarchy!(DeviceAccountConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceAccountConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceAccountConfiguration {} unsafe impl ::core::marker::Sync for DeviceAccountConfiguration {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] @@ -801,12 +801,12 @@ impl UserDataAccountSystemAccessManager { } #[doc(hidden)] pub fn IUserDataAccountSystemAccessManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IUserDataAccountSystemAccessManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -842,7 +842,7 @@ impl ::core::fmt::Debug for DeviceAccountAuthenticationType { } } impl ::windows::core::RuntimeType for DeviceAccountAuthenticationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountAuthenticationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountAuthenticationType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] #[repr(transparent)] @@ -874,7 +874,7 @@ impl ::core::fmt::Debug for DeviceAccountIconId { } } impl ::windows::core::RuntimeType for DeviceAccountIconId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountIconId;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountIconId;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] #[repr(transparent)] @@ -909,7 +909,7 @@ impl ::core::fmt::Debug for DeviceAccountMailAgeFilter { } } impl ::windows::core::RuntimeType for DeviceAccountMailAgeFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountMailAgeFilter;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountMailAgeFilter;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] #[repr(transparent)] @@ -940,7 +940,7 @@ impl ::core::fmt::Debug for DeviceAccountServerType { } } impl ::windows::core::RuntimeType for DeviceAccountServerType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountServerType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountServerType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] #[repr(transparent)] @@ -975,7 +975,7 @@ impl ::core::fmt::Debug for DeviceAccountSyncScheduleKind { } } impl ::windows::core::RuntimeType for DeviceAccountSyncScheduleKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountSyncScheduleKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountSyncScheduleKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs index facd49d631..d956981744 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs @@ -555,7 +555,7 @@ impl ::core::fmt::Debug for UserDataAccount { } } impl ::windows::core::RuntimeType for UserDataAccount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccount;{b9c4367e-b348-4910-be94-4ad4bba6dea7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccount;{b9c4367e-b348-4910-be94-4ad4bba6dea7})"); } impl ::core::clone::Clone for UserDataAccount { fn clone(&self) -> Self { @@ -571,7 +571,7 @@ unsafe impl ::windows::core::Interface for UserDataAccount { impl ::windows::core::RuntimeName for UserDataAccount { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.UserDataAccount"; } -::windows::core::interface_hierarchy!(UserDataAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataAccount {} unsafe impl ::core::marker::Sync for UserDataAccount {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] @@ -619,12 +619,12 @@ impl UserDataAccountManager { } #[doc(hidden)] pub fn IUserDataAccountManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IUserDataAccountManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -666,7 +666,7 @@ impl ::core::fmt::Debug for UserDataAccountManagerForUser { } } impl ::windows::core::RuntimeType for UserDataAccountManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountManagerForUser;{56a6e8db-db8f-41ab-a65f-8c5971aac982})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountManagerForUser;{56a6e8db-db8f-41ab-a65f-8c5971aac982})"); } impl ::core::clone::Clone for UserDataAccountManagerForUser { fn clone(&self) -> Self { @@ -682,7 +682,7 @@ unsafe impl ::windows::core::Interface for UserDataAccountManagerForUser { impl ::windows::core::RuntimeName for UserDataAccountManagerForUser { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.UserDataAccountManagerForUser"; } -::windows::core::interface_hierarchy!(UserDataAccountManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccountManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataAccountManagerForUser {} unsafe impl ::core::marker::Sync for UserDataAccountManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] @@ -762,7 +762,7 @@ impl ::core::fmt::Debug for UserDataAccountStore { } } impl ::windows::core::RuntimeType for UserDataAccountStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore;{2073b0ad-7d0a-4e76-bf45-2368f978a59a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore;{2073b0ad-7d0a-4e76-bf45-2368f978a59a})"); } impl ::core::clone::Clone for UserDataAccountStore { fn clone(&self) -> Self { @@ -778,7 +778,7 @@ unsafe impl ::windows::core::Interface for UserDataAccountStore { impl ::windows::core::RuntimeName for UserDataAccountStore { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore"; } -::windows::core::interface_hierarchy!(UserDataAccountStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccountStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataAccountStore {} unsafe impl ::core::marker::Sync for UserDataAccountStore {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] @@ -807,7 +807,7 @@ impl ::core::fmt::Debug for UserDataAccountStoreChangedEventArgs { } } impl ::windows::core::RuntimeType for UserDataAccountStoreChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreChangedEventArgs;{84e3e2e5-8820-4512-b1f6-2e035be1072c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreChangedEventArgs;{84e3e2e5-8820-4512-b1f6-2e035be1072c})"); } impl ::core::clone::Clone for UserDataAccountStoreChangedEventArgs { fn clone(&self) -> Self { @@ -823,7 +823,7 @@ unsafe impl ::windows::core::Interface for UserDataAccountStoreChangedEventArgs impl ::windows::core::RuntimeName for UserDataAccountStoreChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreChangedEventArgs"; } -::windows::core::interface_hierarchy!(UserDataAccountStoreChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAccountStoreChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataAccountStoreChangedEventArgs {} unsafe impl ::core::marker::Sync for UserDataAccountStoreChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] @@ -888,7 +888,7 @@ impl ::core::ops::Not for UserDataAccountContentKinds { } } impl ::windows::core::RuntimeType for UserDataAccountContentKinds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.UserDataAccountContentKinds;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.UserDataAccountContentKinds;u4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] #[repr(transparent)] @@ -919,7 +919,7 @@ impl ::core::fmt::Debug for UserDataAccountOtherAppReadAccess { } } impl ::windows::core::RuntimeType for UserDataAccountOtherAppReadAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.UserDataAccountOtherAppReadAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.UserDataAccountOtherAppReadAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] #[repr(transparent)] @@ -949,7 +949,7 @@ impl ::core::fmt::Debug for UserDataAccountStoreAccessType { } } impl ::windows::core::RuntimeType for UserDataAccountStoreAccessType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreAccessType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreAccessType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs index 3da906495a..80d1743eeb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs @@ -438,7 +438,7 @@ impl ::core::fmt::Debug for UserDataTaskDataProviderConnection { } } impl ::windows::core::RuntimeType for UserDataTaskDataProviderConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderConnection;{9ff39d1d-a447-428b-afe9-e5402bdeb041})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderConnection;{9ff39d1d-a447-428b-afe9-e5402bdeb041})"); } impl ::core::clone::Clone for UserDataTaskDataProviderConnection { fn clone(&self) -> Self { @@ -454,7 +454,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskDataProviderConnection { impl ::windows::core::RuntimeName for UserDataTaskDataProviderConnection { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderConnection"; } -::windows::core::interface_hierarchy!(UserDataTaskDataProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskDataProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskDataProviderConnection {} unsafe impl ::core::marker::Sync for UserDataTaskDataProviderConnection {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -481,7 +481,7 @@ impl ::core::fmt::Debug for UserDataTaskDataProviderTriggerDetails { } } impl ::windows::core::RuntimeType for UserDataTaskDataProviderTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderTriggerDetails;{ae273202-b1c9-453e-afc5-b30af3bd217d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderTriggerDetails;{ae273202-b1c9-453e-afc5-b30af3bd217d})"); } impl ::core::clone::Clone for UserDataTaskDataProviderTriggerDetails { fn clone(&self) -> Self { @@ -497,7 +497,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskDataProviderTriggerDetail impl ::windows::core::RuntimeName for UserDataTaskDataProviderTriggerDetails { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderTriggerDetails"; } -::windows::core::interface_hierarchy!(UserDataTaskDataProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskDataProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskDataProviderTriggerDetails {} unsafe impl ::core::marker::Sync for UserDataTaskDataProviderTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -549,7 +549,7 @@ impl ::core::fmt::Debug for UserDataTaskListCompleteTaskRequest { } } impl ::windows::core::RuntimeType for UserDataTaskListCompleteTaskRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequest;{f65e14a3-1a42-49da-8552-2873e52c55eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequest;{f65e14a3-1a42-49da-8552-2873e52c55eb})"); } impl ::core::clone::Clone for UserDataTaskListCompleteTaskRequest { fn clone(&self) -> Self { @@ -565,7 +565,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListCompleteTaskRequest { impl ::windows::core::RuntimeName for UserDataTaskListCompleteTaskRequest { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequest"; } -::windows::core::interface_hierarchy!(UserDataTaskListCompleteTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListCompleteTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListCompleteTaskRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListCompleteTaskRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -601,7 +601,7 @@ impl ::core::fmt::Debug for UserDataTaskListCompleteTaskRequestEventArgs { } } impl ::windows::core::RuntimeType for UserDataTaskListCompleteTaskRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequestEventArgs;{d77c393d-4cf2-48ad-87fd-963f0eaa7a95})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequestEventArgs;{d77c393d-4cf2-48ad-87fd-963f0eaa7a95})"); } impl ::core::clone::Clone for UserDataTaskListCompleteTaskRequestEventArgs { fn clone(&self) -> Self { @@ -617,7 +617,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListCompleteTaskRequestEv impl ::windows::core::RuntimeName for UserDataTaskListCompleteTaskRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequestEventArgs"; } -::windows::core::interface_hierarchy!(UserDataTaskListCompleteTaskRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListCompleteTaskRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListCompleteTaskRequestEventArgs {} unsafe impl ::core::marker::Sync for UserDataTaskListCompleteTaskRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -669,7 +669,7 @@ impl ::core::fmt::Debug for UserDataTaskListCreateOrUpdateTaskRequest { } } impl ::windows::core::RuntimeType for UserDataTaskListCreateOrUpdateTaskRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequest;{2133772c-55c2-4300-8279-04326e07cce4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequest;{2133772c-55c2-4300-8279-04326e07cce4})"); } impl ::core::clone::Clone for UserDataTaskListCreateOrUpdateTaskRequest { fn clone(&self) -> Self { @@ -685,7 +685,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListCreateOrUpdateTaskReq impl ::windows::core::RuntimeName for UserDataTaskListCreateOrUpdateTaskRequest { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequest"; } -::windows::core::interface_hierarchy!(UserDataTaskListCreateOrUpdateTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListCreateOrUpdateTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListCreateOrUpdateTaskRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListCreateOrUpdateTaskRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -721,7 +721,7 @@ impl ::core::fmt::Debug for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { } } impl ::windows::core::RuntimeType for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequestEventArgs;{12c55a52-e378-419b-ae38-a5e9e604476e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequestEventArgs;{12c55a52-e378-419b-ae38-a5e9e604476e})"); } impl ::core::clone::Clone for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { fn clone(&self) -> Self { @@ -737,7 +737,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListCreateOrUpdateTaskReq impl ::windows::core::RuntimeName for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequestEventArgs"; } -::windows::core::interface_hierarchy!(UserDataTaskListCreateOrUpdateTaskRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListCreateOrUpdateTaskRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListCreateOrUpdateTaskRequestEventArgs {} unsafe impl ::core::marker::Sync for UserDataTaskListCreateOrUpdateTaskRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -789,7 +789,7 @@ impl ::core::fmt::Debug for UserDataTaskListDeleteTaskRequest { } } impl ::windows::core::RuntimeType for UserDataTaskListDeleteTaskRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequest;{4b863c68-7657-4f3d-b074-d47ec8df07e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequest;{4b863c68-7657-4f3d-b074-d47ec8df07e7})"); } impl ::core::clone::Clone for UserDataTaskListDeleteTaskRequest { fn clone(&self) -> Self { @@ -805,7 +805,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListDeleteTaskRequest { impl ::windows::core::RuntimeName for UserDataTaskListDeleteTaskRequest { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequest"; } -::windows::core::interface_hierarchy!(UserDataTaskListDeleteTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListDeleteTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListDeleteTaskRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListDeleteTaskRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -841,7 +841,7 @@ impl ::core::fmt::Debug for UserDataTaskListDeleteTaskRequestEventArgs { } } impl ::windows::core::RuntimeType for UserDataTaskListDeleteTaskRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequestEventArgs;{6063dad9-f562-4145-8efe-d50078c92b7f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequestEventArgs;{6063dad9-f562-4145-8efe-d50078c92b7f})"); } impl ::core::clone::Clone for UserDataTaskListDeleteTaskRequestEventArgs { fn clone(&self) -> Self { @@ -857,7 +857,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListDeleteTaskRequestEven impl ::windows::core::RuntimeName for UserDataTaskListDeleteTaskRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequestEventArgs"; } -::windows::core::interface_hierarchy!(UserDataTaskListDeleteTaskRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListDeleteTaskRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListDeleteTaskRequestEventArgs {} unsafe impl ::core::marker::Sync for UserDataTaskListDeleteTaskRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -909,7 +909,7 @@ impl ::core::fmt::Debug for UserDataTaskListSkipOccurrenceRequest { } } impl ::windows::core::RuntimeType for UserDataTaskListSkipOccurrenceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequest;{ab87e34d-1cd3-431c-9f58-089aa4338d85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequest;{ab87e34d-1cd3-431c-9f58-089aa4338d85})"); } impl ::core::clone::Clone for UserDataTaskListSkipOccurrenceRequest { fn clone(&self) -> Self { @@ -925,7 +925,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListSkipOccurrenceRequest impl ::windows::core::RuntimeName for UserDataTaskListSkipOccurrenceRequest { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequest"; } -::windows::core::interface_hierarchy!(UserDataTaskListSkipOccurrenceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListSkipOccurrenceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListSkipOccurrenceRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListSkipOccurrenceRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -961,7 +961,7 @@ impl ::core::fmt::Debug for UserDataTaskListSkipOccurrenceRequestEventArgs { } } impl ::windows::core::RuntimeType for UserDataTaskListSkipOccurrenceRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequestEventArgs;{7a3b924a-cc2f-4e7b-aacd-a5b9d29cfa4e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequestEventArgs;{7a3b924a-cc2f-4e7b-aacd-a5b9d29cfa4e})"); } impl ::core::clone::Clone for UserDataTaskListSkipOccurrenceRequestEventArgs { fn clone(&self) -> Self { @@ -977,7 +977,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListSkipOccurrenceRequest impl ::windows::core::RuntimeName for UserDataTaskListSkipOccurrenceRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequestEventArgs"; } -::windows::core::interface_hierarchy!(UserDataTaskListSkipOccurrenceRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListSkipOccurrenceRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListSkipOccurrenceRequestEventArgs {} unsafe impl ::core::marker::Sync for UserDataTaskListSkipOccurrenceRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -1022,7 +1022,7 @@ impl ::core::fmt::Debug for UserDataTaskListSyncManagerSyncRequest { } } impl ::windows::core::RuntimeType for UserDataTaskListSyncManagerSyncRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequest;{40a73807-7590-4149-ae19-b211431a9f48})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequest;{40a73807-7590-4149-ae19-b211431a9f48})"); } impl ::core::clone::Clone for UserDataTaskListSyncManagerSyncRequest { fn clone(&self) -> Self { @@ -1038,7 +1038,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListSyncManagerSyncReques impl ::windows::core::RuntimeName for UserDataTaskListSyncManagerSyncRequest { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequest"; } -::windows::core::interface_hierarchy!(UserDataTaskListSyncManagerSyncRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListSyncManagerSyncRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListSyncManagerSyncRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListSyncManagerSyncRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] @@ -1074,7 +1074,7 @@ impl ::core::fmt::Debug for UserDataTaskListSyncManagerSyncRequestEventArgs { } } impl ::windows::core::RuntimeType for UserDataTaskListSyncManagerSyncRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequestEventArgs;{8ead1c12-768e-43bd-8385-5cdc351ffdea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequestEventArgs;{8ead1c12-768e-43bd-8385-5cdc351ffdea})"); } impl ::core::clone::Clone for UserDataTaskListSyncManagerSyncRequestEventArgs { fn clone(&self) -> Self { @@ -1090,7 +1090,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListSyncManagerSyncReques impl ::windows::core::RuntimeName for UserDataTaskListSyncManagerSyncRequestEventArgs { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequestEventArgs"; } -::windows::core::interface_hierarchy!(UserDataTaskListSyncManagerSyncRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListSyncManagerSyncRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListSyncManagerSyncRequestEventArgs {} unsafe impl ::core::marker::Sync for UserDataTaskListSyncManagerSyncRequestEventArgs {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs index 32ceb6ee86..3fbfac9083 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -482,8 +482,8 @@ impl UserDataTask { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -684,7 +684,7 @@ impl ::core::fmt::Debug for UserDataTask { } } impl ::windows::core::RuntimeType for UserDataTask { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTask;{7c6585d1-e0d4-4f99-aee2-bc2d5ddadf4c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTask;{7c6585d1-e0d4-4f99-aee2-bc2d5ddadf4c})"); } impl ::core::clone::Clone for UserDataTask { fn clone(&self) -> Self { @@ -700,7 +700,7 @@ unsafe impl ::windows::core::Interface for UserDataTask { impl ::windows::core::RuntimeName for UserDataTask { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTask"; } -::windows::core::interface_hierarchy!(UserDataTask, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTask, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTask {} unsafe impl ::core::marker::Sync for UserDataTask {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -729,7 +729,7 @@ impl ::core::fmt::Debug for UserDataTaskBatch { } } impl ::windows::core::RuntimeType for UserDataTaskBatch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskBatch;{382da5fe-20b5-431c-8f42-a5d292ec930c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskBatch;{382da5fe-20b5-431c-8f42-a5d292ec930c})"); } impl ::core::clone::Clone for UserDataTaskBatch { fn clone(&self) -> Self { @@ -745,7 +745,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskBatch { impl ::windows::core::RuntimeName for UserDataTaskBatch { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskBatch"; } -::windows::core::interface_hierarchy!(UserDataTaskBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskBatch {} unsafe impl ::core::marker::Sync for UserDataTaskBatch {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -901,7 +901,7 @@ impl ::core::fmt::Debug for UserDataTaskList { } } impl ::windows::core::RuntimeType for UserDataTaskList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskList;{49412e39-7c1d-4df1-bed3-314b7cbf5e4e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskList;{49412e39-7c1d-4df1-bed3-314b7cbf5e4e})"); } impl ::core::clone::Clone for UserDataTaskList { fn clone(&self) -> Self { @@ -917,7 +917,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskList { impl ::windows::core::RuntimeName for UserDataTaskList { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskList"; } -::windows::core::interface_hierarchy!(UserDataTaskList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskList, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskList {} unsafe impl ::core::marker::Sync for UserDataTaskList {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -973,7 +973,7 @@ impl ::core::fmt::Debug for UserDataTaskListLimitedWriteOperations { } } impl ::windows::core::RuntimeType for UserDataTaskListLimitedWriteOperations { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskListLimitedWriteOperations;{7aa267f2-6078-4183-919e-4f29f19cfae9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskListLimitedWriteOperations;{7aa267f2-6078-4183-919e-4f29f19cfae9})"); } impl ::core::clone::Clone for UserDataTaskListLimitedWriteOperations { fn clone(&self) -> Self { @@ -989,7 +989,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListLimitedWriteOperation impl ::windows::core::RuntimeName for UserDataTaskListLimitedWriteOperations { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskListLimitedWriteOperations"; } -::windows::core::interface_hierarchy!(UserDataTaskListLimitedWriteOperations, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListLimitedWriteOperations, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListLimitedWriteOperations {} unsafe impl ::core::marker::Sync for UserDataTaskListLimitedWriteOperations {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -1074,7 +1074,7 @@ impl ::core::fmt::Debug for UserDataTaskListSyncManager { } } impl ::windows::core::RuntimeType for UserDataTaskListSyncManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncManager;{8e591a95-1dcf-469f-93ec-ba48bb553c6b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncManager;{8e591a95-1dcf-469f-93ec-ba48bb553c6b})"); } impl ::core::clone::Clone for UserDataTaskListSyncManager { fn clone(&self) -> Self { @@ -1090,7 +1090,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskListSyncManager { impl ::windows::core::RuntimeName for UserDataTaskListSyncManager { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncManager"; } -::windows::core::interface_hierarchy!(UserDataTaskListSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskListSyncManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskListSyncManager {} unsafe impl ::core::marker::Sync for UserDataTaskListSyncManager {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -1131,7 +1131,7 @@ impl UserDataTaskManager { } #[doc(hidden)] pub fn IUserDataTaskManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1147,7 +1147,7 @@ impl ::core::fmt::Debug for UserDataTaskManager { } } impl ::windows::core::RuntimeType for UserDataTaskManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskManager;{8451c914-e60b-48a9-9211-7fb8a56cb84c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskManager;{8451c914-e60b-48a9-9211-7fb8a56cb84c})"); } impl ::core::clone::Clone for UserDataTaskManager { fn clone(&self) -> Self { @@ -1163,7 +1163,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskManager { impl ::windows::core::RuntimeName for UserDataTaskManager { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskManager"; } -::windows::core::interface_hierarchy!(UserDataTaskManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskManager {} unsafe impl ::core::marker::Sync for UserDataTaskManager {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -1173,8 +1173,8 @@ impl UserDataTaskQueryOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SortProperty(&self) -> ::windows::core::Result { @@ -1212,7 +1212,7 @@ impl ::core::fmt::Debug for UserDataTaskQueryOptions { } } impl ::windows::core::RuntimeType for UserDataTaskQueryOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryOptions;{959f27ed-909a-4d30-8c1b-331d8fe667e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryOptions;{959f27ed-909a-4d30-8c1b-331d8fe667e2})"); } impl ::core::clone::Clone for UserDataTaskQueryOptions { fn clone(&self) -> Self { @@ -1228,7 +1228,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskQueryOptions { impl ::windows::core::RuntimeName for UserDataTaskQueryOptions { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryOptions"; } -::windows::core::interface_hierarchy!(UserDataTaskQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskQueryOptions {} unsafe impl ::core::marker::Sync for UserDataTaskQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -1257,7 +1257,7 @@ impl ::core::fmt::Debug for UserDataTaskReader { } } impl ::windows::core::RuntimeType for UserDataTaskReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskReader;{03e688b1-4ccf-4500-883b-e76290cfed63})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskReader;{03e688b1-4ccf-4500-883b-e76290cfed63})"); } impl ::core::clone::Clone for UserDataTaskReader { fn clone(&self) -> Self { @@ -1273,7 +1273,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskReader { impl ::windows::core::RuntimeName for UserDataTaskReader { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskReader"; } -::windows::core::interface_hierarchy!(UserDataTaskReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskReader {} unsafe impl ::core::marker::Sync for UserDataTaskReader {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -1283,8 +1283,8 @@ impl UserDataTaskRecurrenceProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Unit(&self) -> ::windows::core::Result { @@ -1436,7 +1436,7 @@ impl ::core::fmt::Debug for UserDataTaskRecurrenceProperties { } } impl ::windows::core::RuntimeType for UserDataTaskRecurrenceProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceProperties;{73df80b0-27c6-40ce-b149-9cd41485a69e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceProperties;{73df80b0-27c6-40ce-b149-9cd41485a69e})"); } impl ::core::clone::Clone for UserDataTaskRecurrenceProperties { fn clone(&self) -> Self { @@ -1452,7 +1452,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskRecurrenceProperties { impl ::windows::core::RuntimeName for UserDataTaskRecurrenceProperties { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceProperties"; } -::windows::core::interface_hierarchy!(UserDataTaskRecurrenceProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskRecurrenceProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskRecurrenceProperties {} unsafe impl ::core::marker::Sync for UserDataTaskRecurrenceProperties {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -1462,8 +1462,8 @@ impl UserDataTaskRegenerationProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Unit(&self) -> ::windows::core::Result { @@ -1539,7 +1539,7 @@ impl ::core::fmt::Debug for UserDataTaskRegenerationProperties { } } impl ::windows::core::RuntimeType for UserDataTaskRegenerationProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationProperties;{92ab0007-090e-4704-bb5c-84fc0b0d9c31})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationProperties;{92ab0007-090e-4704-bb5c-84fc0b0d9c31})"); } impl ::core::clone::Clone for UserDataTaskRegenerationProperties { fn clone(&self) -> Self { @@ -1555,7 +1555,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskRegenerationProperties { impl ::windows::core::RuntimeName for UserDataTaskRegenerationProperties { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationProperties"; } -::windows::core::interface_hierarchy!(UserDataTaskRegenerationProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskRegenerationProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskRegenerationProperties {} unsafe impl ::core::marker::Sync for UserDataTaskRegenerationProperties {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -1611,7 +1611,7 @@ impl ::core::fmt::Debug for UserDataTaskStore { } } impl ::windows::core::RuntimeType for UserDataTaskStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskStore;{f06a9cb0-f1db-45ba-8a62-086004c0213d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskStore;{f06a9cb0-f1db-45ba-8a62-086004c0213d})"); } impl ::core::clone::Clone for UserDataTaskStore { fn clone(&self) -> Self { @@ -1627,7 +1627,7 @@ unsafe impl ::windows::core::Interface for UserDataTaskStore { impl ::windows::core::RuntimeName for UserDataTaskStore { const NAME: &'static str = "Windows.ApplicationModel.UserDataTasks.UserDataTaskStore"; } -::windows::core::interface_hierarchy!(UserDataTaskStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataTaskStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataTaskStore {} unsafe impl ::core::marker::Sync for UserDataTaskStore {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] @@ -1697,7 +1697,7 @@ impl ::core::ops::Not for UserDataTaskDaysOfWeek { } } impl ::windows::core::RuntimeType for UserDataTaskDaysOfWeek { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskDaysOfWeek;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskDaysOfWeek;u4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1727,7 +1727,7 @@ impl ::core::fmt::Debug for UserDataTaskDetailsKind { } } impl ::windows::core::RuntimeType for UserDataTaskDetailsKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskDetailsKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskDetailsKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1758,7 +1758,7 @@ impl ::core::fmt::Debug for UserDataTaskKind { } } impl ::windows::core::RuntimeType for UserDataTaskKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1789,7 +1789,7 @@ impl ::core::fmt::Debug for UserDataTaskListOtherAppReadAccess { } } impl ::windows::core::RuntimeType for UserDataTaskListOtherAppReadAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskListOtherAppReadAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskListOtherAppReadAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1819,7 +1819,7 @@ impl ::core::fmt::Debug for UserDataTaskListOtherAppWriteAccess { } } impl ::windows::core::RuntimeType for UserDataTaskListOtherAppWriteAccess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskListOtherAppWriteAccess;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskListOtherAppWriteAccess;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1853,7 +1853,7 @@ impl ::core::fmt::Debug for UserDataTaskListSyncStatus { } } impl ::windows::core::RuntimeType for UserDataTaskListSyncStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1884,7 +1884,7 @@ impl ::core::fmt::Debug for UserDataTaskPriority { } } impl ::windows::core::RuntimeType for UserDataTaskPriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskPriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskPriority;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1915,7 +1915,7 @@ impl ::core::fmt::Debug for UserDataTaskQueryKind { } } impl ::windows::core::RuntimeType for UserDataTaskQueryKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1944,7 +1944,7 @@ impl ::core::fmt::Debug for UserDataTaskQuerySortProperty { } } impl ::windows::core::RuntimeType for UserDataTaskQuerySortProperty { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskQuerySortProperty;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskQuerySortProperty;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -1978,7 +1978,7 @@ impl ::core::fmt::Debug for UserDataTaskRecurrenceUnit { } } impl ::windows::core::RuntimeType for UserDataTaskRecurrenceUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceUnit;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -2010,7 +2010,7 @@ impl ::core::fmt::Debug for UserDataTaskRegenerationUnit { } } impl ::windows::core::RuntimeType for UserDataTaskRegenerationUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationUnit;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -2040,7 +2040,7 @@ impl ::core::fmt::Debug for UserDataTaskSensitivity { } } impl ::windows::core::RuntimeType for UserDataTaskSensitivity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskSensitivity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskSensitivity;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -2070,7 +2070,7 @@ impl ::core::fmt::Debug for UserDataTaskStoreAccessType { } } impl ::windows::core::RuntimeType for UserDataTaskStoreAccessType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskStoreAccessType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskStoreAccessType;i4)"); } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] @@ -2103,7 +2103,7 @@ impl ::core::fmt::Debug for UserDataTaskWeekOfMonth { } } impl ::windows::core::RuntimeType for UserDataTaskWeekOfMonth { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskWeekOfMonth;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.UserDataTasks.UserDataTaskWeekOfMonth;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs index b98c9d50af..01fd1632e0 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -385,7 +385,7 @@ impl ::core::fmt::Debug for VoiceCommand { } } impl ::windows::core::RuntimeType for VoiceCommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommand;{936f5273-ec82-42a6-a55c-d2d79ec6f920})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommand;{936f5273-ec82-42a6-a55c-d2d79ec6f920})"); } impl ::core::clone::Clone for VoiceCommand { fn clone(&self) -> Self { @@ -401,7 +401,7 @@ unsafe impl ::windows::core::Interface for VoiceCommand { impl ::windows::core::RuntimeName for VoiceCommand { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommand"; } -::windows::core::interface_hierarchy!(VoiceCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommand {} unsafe impl ::core::marker::Sync for VoiceCommand {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -428,7 +428,7 @@ impl ::core::fmt::Debug for VoiceCommandCompletedEventArgs { } } impl ::windows::core::RuntimeType for VoiceCommandCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletedEventArgs;{c85e675d-fe42-432c-9907-09df9fcf64e8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletedEventArgs;{c85e675d-fe42-432c-9907-09df9fcf64e8})"); } impl ::core::clone::Clone for VoiceCommandCompletedEventArgs { fn clone(&self) -> Self { @@ -444,7 +444,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandCompletedEventArgs { impl ::windows::core::RuntimeName for VoiceCommandCompletedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletedEventArgs"; } -::windows::core::interface_hierarchy!(VoiceCommandCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandCompletedEventArgs {} unsafe impl ::core::marker::Sync for VoiceCommandCompletedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -471,7 +471,7 @@ impl ::core::fmt::Debug for VoiceCommandConfirmationResult { } } impl ::windows::core::RuntimeType for VoiceCommandConfirmationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandConfirmationResult;{a022593e-8221-4526-b083-840972262247})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandConfirmationResult;{a022593e-8221-4526-b083-840972262247})"); } impl ::core::clone::Clone for VoiceCommandConfirmationResult { fn clone(&self) -> Self { @@ -487,7 +487,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandConfirmationResult { impl ::windows::core::RuntimeName for VoiceCommandConfirmationResult { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommandConfirmationResult"; } -::windows::core::interface_hierarchy!(VoiceCommandConfirmationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandConfirmationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandConfirmationResult {} unsafe impl ::core::marker::Sync for VoiceCommandConfirmationResult {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -497,8 +497,8 @@ impl VoiceCommandContentTile { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -613,7 +613,7 @@ impl ::core::fmt::Debug for VoiceCommandContentTile { } } impl ::windows::core::RuntimeType for VoiceCommandContentTile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile;{3eefe9f0-b8c7-4c76-a0de-1607895ee327})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile;{3eefe9f0-b8c7-4c76-a0de-1607895ee327})"); } impl ::core::clone::Clone for VoiceCommandContentTile { fn clone(&self) -> Self { @@ -629,7 +629,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandContentTile { impl ::windows::core::RuntimeName for VoiceCommandContentTile { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile"; } -::windows::core::interface_hierarchy!(VoiceCommandContentTile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandContentTile, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandContentTile {} unsafe impl ::core::marker::Sync for VoiceCommandContentTile {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -676,7 +676,7 @@ impl ::core::fmt::Debug for VoiceCommandDefinition { } } impl ::windows::core::RuntimeType for VoiceCommandDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition;{7972aad0-0974-4979-984b-cb8959cd61ae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition;{7972aad0-0974-4979-984b-cb8959cd61ae})"); } impl ::core::clone::Clone for VoiceCommandDefinition { fn clone(&self) -> Self { @@ -692,7 +692,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandDefinition { impl ::windows::core::RuntimeName for VoiceCommandDefinition { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition"; } -::windows::core::interface_hierarchy!(VoiceCommandDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandDefinition {} unsafe impl ::core::marker::Sync for VoiceCommandDefinition {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -716,7 +716,7 @@ impl VoiceCommandDefinitionManager { } #[doc(hidden)] pub fn IVoiceCommandDefinitionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -747,7 +747,7 @@ impl ::core::fmt::Debug for VoiceCommandDisambiguationResult { } } impl ::windows::core::RuntimeType for VoiceCommandDisambiguationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandDisambiguationResult;{ecc68cfe-c9ac-45df-a8ea-feea08ef9c5e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandDisambiguationResult;{ecc68cfe-c9ac-45df-a8ea-feea08ef9c5e})"); } impl ::core::clone::Clone for VoiceCommandDisambiguationResult { fn clone(&self) -> Self { @@ -763,7 +763,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandDisambiguationResult { impl ::windows::core::RuntimeName for VoiceCommandDisambiguationResult { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommandDisambiguationResult"; } -::windows::core::interface_hierarchy!(VoiceCommandDisambiguationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandDisambiguationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandDisambiguationResult {} unsafe impl ::core::marker::Sync for VoiceCommandDisambiguationResult {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -856,7 +856,7 @@ impl VoiceCommandResponse { } #[doc(hidden)] pub fn IVoiceCommandResponseStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -872,7 +872,7 @@ impl ::core::fmt::Debug for VoiceCommandResponse { } } impl ::windows::core::RuntimeType for VoiceCommandResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse;{0284b30e-8a3b-4cc4-a6a1-cad5be2716b5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse;{0284b30e-8a3b-4cc4-a6a1-cad5be2716b5})"); } impl ::core::clone::Clone for VoiceCommandResponse { fn clone(&self) -> Self { @@ -888,7 +888,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandResponse { impl ::windows::core::RuntimeName for VoiceCommandResponse { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse"; } -::windows::core::interface_hierarchy!(VoiceCommandResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandResponse {} unsafe impl ::core::marker::Sync for VoiceCommandResponse {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -992,7 +992,7 @@ impl VoiceCommandServiceConnection { } #[doc(hidden)] pub fn IVoiceCommandServiceConnectionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1008,7 +1008,7 @@ impl ::core::fmt::Debug for VoiceCommandServiceConnection { } } impl ::windows::core::RuntimeType for VoiceCommandServiceConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection;{d894bb9f-21da-44a4-98a2-fb131920a9cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection;{d894bb9f-21da-44a4-98a2-fb131920a9cc})"); } impl ::core::clone::Clone for VoiceCommandServiceConnection { fn clone(&self) -> Self { @@ -1024,7 +1024,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandServiceConnection { impl ::windows::core::RuntimeName for VoiceCommandServiceConnection { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection"; } -::windows::core::interface_hierarchy!(VoiceCommandServiceConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandServiceConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandServiceConnection {} unsafe impl ::core::marker::Sync for VoiceCommandServiceConnection {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -1034,8 +1034,8 @@ impl VoiceCommandUserMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn DisplayMessage(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1073,7 +1073,7 @@ impl ::core::fmt::Debug for VoiceCommandUserMessage { } } impl ::windows::core::RuntimeType for VoiceCommandUserMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage;{674eb3c0-44f6-4f07-b979-4c723fc08597})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage;{674eb3c0-44f6-4f07-b979-4c723fc08597})"); } impl ::core::clone::Clone for VoiceCommandUserMessage { fn clone(&self) -> Self { @@ -1089,7 +1089,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandUserMessage { impl ::windows::core::RuntimeName for VoiceCommandUserMessage { const NAME: &'static str = "Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage"; } -::windows::core::interface_hierarchy!(VoiceCommandUserMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandUserMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandUserMessage {} unsafe impl ::core::marker::Sync for VoiceCommandUserMessage {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] @@ -1125,7 +1125,7 @@ impl ::core::fmt::Debug for VoiceCommandCompletionReason { } } impl ::windows::core::RuntimeType for VoiceCommandCompletionReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletionReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletionReason;i4)"); } #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] @@ -1161,7 +1161,7 @@ impl ::core::fmt::Debug for VoiceCommandContentTileType { } } impl ::windows::core::RuntimeType for VoiceCommandContentTileType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTileType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTileType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs index f6e21a1ee9..4e40822f03 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -189,7 +189,7 @@ impl ::core::fmt::Debug for WalletItemSystemStore { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletItemSystemStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.System.WalletItemSystemStore;{522e2bff-96a2-4a17-8d19-fe1d9f837561})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.System.WalletItemSystemStore;{522e2bff-96a2-4a17-8d19-fe1d9f837561})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletItemSystemStore { @@ -210,7 +210,7 @@ impl ::windows::core::RuntimeName for WalletItemSystemStore { const NAME: &'static str = "Windows.ApplicationModel.Wallet.System.WalletItemSystemStore"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletItemSystemStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletItemSystemStore, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for WalletItemSystemStore {} #[cfg(feature = "deprecated")] @@ -231,7 +231,7 @@ impl WalletManagerSystem { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IWalletManagerSystemStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -276,7 +276,7 @@ impl ::core::fmt::Debug for WalletItemAppAssociation { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletItemAppAssociation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.System.WalletItemAppAssociation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.System.WalletItemAppAssociation;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs index 508e614d77..c14424c017 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -772,7 +772,7 @@ impl WalletBarcode { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IWalletBarcodeFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -792,7 +792,7 @@ impl ::core::fmt::Debug for WalletBarcode { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletBarcode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletBarcode;{4f857b29-de80-4ea4-a1cd-81cd084dac27})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletBarcode;{4f857b29-de80-4ea4-a1cd-81cd084dac27})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletBarcode { @@ -813,7 +813,7 @@ impl ::windows::core::RuntimeName for WalletBarcode { const NAME: &'static str = "Windows.ApplicationModel.Wallet.WalletBarcode"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletBarcode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletBarcode, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for WalletBarcode {} #[cfg(feature = "deprecated")] @@ -1274,7 +1274,7 @@ impl WalletItem { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IWalletItemFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1294,7 +1294,7 @@ impl ::core::fmt::Debug for WalletItem { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItem;{20b54be8-118d-4ec4-996c-b963e7bd3e74})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItem;{20b54be8-118d-4ec4-996c-b963e7bd3e74})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletItem { @@ -1315,7 +1315,7 @@ impl ::windows::core::RuntimeName for WalletItem { const NAME: &'static str = "Windows.ApplicationModel.Wallet.WalletItem"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletItem, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for WalletItem {} #[cfg(feature = "deprecated")] @@ -1412,7 +1412,7 @@ impl WalletItemCustomProperty { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IWalletItemCustomPropertyFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1432,7 +1432,7 @@ impl ::core::fmt::Debug for WalletItemCustomProperty { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletItemCustomProperty { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItemCustomProperty;{b94b40f3-fa00-40fd-98dc-9de46697f1e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItemCustomProperty;{b94b40f3-fa00-40fd-98dc-9de46697f1e7})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletItemCustomProperty { @@ -1453,7 +1453,7 @@ impl ::windows::core::RuntimeName for WalletItemCustomProperty { const NAME: &'static str = "Windows.ApplicationModel.Wallet.WalletItemCustomProperty"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletItemCustomProperty, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletItemCustomProperty, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for WalletItemCustomProperty {} #[cfg(feature = "deprecated")] @@ -1575,7 +1575,7 @@ impl ::core::fmt::Debug for WalletItemStore { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletItemStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItemStore;{7160484b-6d49-48f8-91a9-40a1d0f13ef4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItemStore;{7160484b-6d49-48f8-91a9-40a1d0f13ef4})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletItemStore { @@ -1596,7 +1596,7 @@ impl ::windows::core::RuntimeName for WalletItemStore { const NAME: &'static str = "Windows.ApplicationModel.Wallet.WalletItemStore"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletItemStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletItemStore, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for WalletItemStore {} #[cfg(feature = "deprecated")] @@ -1617,7 +1617,7 @@ impl WalletManager { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IWalletManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1634,8 +1634,8 @@ impl WalletRelevantLocation { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Devices_Geolocation\"`, `\"deprecated\"`*"] @@ -1685,7 +1685,7 @@ impl ::core::fmt::Debug for WalletRelevantLocation { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletRelevantLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletRelevantLocation;{9fd8782a-e3f9-4de1-bab3-bb192e46b3f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletRelevantLocation;{9fd8782a-e3f9-4de1-bab3-bb192e46b3f3})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletRelevantLocation { @@ -1706,7 +1706,7 @@ impl ::windows::core::RuntimeName for WalletRelevantLocation { const NAME: &'static str = "Windows.ApplicationModel.Wallet.WalletRelevantLocation"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletRelevantLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletRelevantLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for WalletRelevantLocation {} #[cfg(feature = "deprecated")] @@ -1720,8 +1720,8 @@ impl WalletTransaction { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"deprecated\"`*"] @@ -1835,7 +1835,7 @@ impl ::core::fmt::Debug for WalletTransaction { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletTransaction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletTransaction;{40e1e940-2606-4519-81cb-bff1c60d1f79})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletTransaction;{40e1e940-2606-4519-81cb-bff1c60d1f79})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletTransaction { @@ -1856,7 +1856,7 @@ impl ::windows::core::RuntimeName for WalletTransaction { const NAME: &'static str = "Windows.ApplicationModel.Wallet.WalletTransaction"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletTransaction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletTransaction, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for WalletTransaction {} #[cfg(feature = "deprecated")] @@ -1893,7 +1893,7 @@ impl WalletVerb { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IWalletVerbFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1913,7 +1913,7 @@ impl ::core::fmt::Debug for WalletVerb { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletVerb { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletVerb;{17b826d6-e3c1-4c74-8a94-217aadbc4884})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletVerb;{17b826d6-e3c1-4c74-8a94-217aadbc4884})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for WalletVerb { @@ -1934,7 +1934,7 @@ impl ::windows::core::RuntimeName for WalletVerb { const NAME: &'static str = "Windows.ApplicationModel.Wallet.WalletVerb"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(WalletVerb, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WalletVerb, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for WalletVerb {} #[cfg(feature = "deprecated")] @@ -1978,7 +1978,7 @@ impl ::core::fmt::Debug for WalletActionKind { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletActionKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletActionKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletActionKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -2026,7 +2026,7 @@ impl ::core::fmt::Debug for WalletBarcodeSymbology { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletBarcodeSymbology { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletBarcodeSymbology;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletBarcodeSymbology;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -2077,7 +2077,7 @@ impl ::core::fmt::Debug for WalletDetailViewPosition { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletDetailViewPosition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletDetailViewPosition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletDetailViewPosition;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -2120,7 +2120,7 @@ impl ::core::fmt::Debug for WalletItemKind { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletItemKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletItemKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletItemKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -2159,7 +2159,7 @@ impl ::core::fmt::Debug for WalletSummaryViewPosition { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for WalletSummaryViewPosition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletSummaryViewPosition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Wallet.WalletSummaryViewPosition;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index 9f2b9eda5e..9105373944 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -384,7 +384,7 @@ impl IEnteredBackgroundEventArgs { } } } -::windows::core::interface_hierarchy!(IEnteredBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IEnteredBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IEnteredBackgroundEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -397,7 +397,7 @@ impl ::core::fmt::Debug for IEnteredBackgroundEventArgs { } } impl ::windows::core::RuntimeType for IEnteredBackgroundEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f722dcc2-9827-403d-aaed-ecca9ac17398}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f722dcc2-9827-403d-aaed-ecca9ac17398}"); } unsafe impl ::windows::core::Vtable for IEnteredBackgroundEventArgs { type Vtable = IEnteredBackgroundEventArgs_Vtbl; @@ -565,7 +565,7 @@ impl ILeavingBackgroundEventArgs { } } } -::windows::core::interface_hierarchy!(ILeavingBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILeavingBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ILeavingBackgroundEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -578,7 +578,7 @@ impl ::core::fmt::Debug for ILeavingBackgroundEventArgs { } } impl ::windows::core::RuntimeType for ILeavingBackgroundEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e}"); } unsafe impl ::windows::core::Vtable for ILeavingBackgroundEventArgs { type Vtable = ILeavingBackgroundEventArgs_Vtbl; @@ -1180,7 +1180,7 @@ impl IPackageCatalogStatics2 { } } } -::windows::core::interface_hierarchy!(IPackageCatalogStatics2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPackageCatalogStatics2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPackageCatalogStatics2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1193,7 +1193,7 @@ impl ::core::fmt::Debug for IPackageCatalogStatics2 { } } impl ::windows::core::RuntimeType for IPackageCatalogStatics2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4c11c159-9a28-598c-b185-55e1899b2be4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4c11c159-9a28-598c-b185-55e1899b2be4}"); } unsafe impl ::windows::core::Vtable for IPackageCatalogStatics2 { type Vtable = IPackageCatalogStatics2_Vtbl; @@ -1631,7 +1631,7 @@ impl ISuspendingDeferral { unsafe { (::windows::core::Vtable::vtable(this).Complete)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(ISuspendingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISuspendingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISuspendingDeferral { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1644,7 +1644,7 @@ impl ::core::fmt::Debug for ISuspendingDeferral { } } impl ::windows::core::RuntimeType for ISuspendingDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{59140509-8bc9-4eb4-b636-dabdc4f46f66}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{59140509-8bc9-4eb4-b636-dabdc4f46f66}"); } unsafe impl ::windows::core::Vtable for ISuspendingDeferral { type Vtable = ISuspendingDeferral_Vtbl; @@ -1675,7 +1675,7 @@ impl ISuspendingEventArgs { } } } -::windows::core::interface_hierarchy!(ISuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISuspendingEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1688,7 +1688,7 @@ impl ::core::fmt::Debug for ISuspendingEventArgs { } } impl ::windows::core::RuntimeType for ISuspendingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{96061c05-2dba-4d08-b0bd-2b30a131c6aa}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{96061c05-2dba-4d08-b0bd-2b30a131c6aa}"); } unsafe impl ::windows::core::Vtable for ISuspendingEventArgs { type Vtable = ISuspendingEventArgs_Vtbl; @@ -1728,7 +1728,7 @@ impl ISuspendingOperation { } } } -::windows::core::interface_hierarchy!(ISuspendingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISuspendingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISuspendingOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1741,7 +1741,7 @@ impl ::core::fmt::Debug for ISuspendingOperation { } } impl ::windows::core::RuntimeType for ISuspendingOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9da4ca41-20e1-4e9b-9f65-a9f435340c3a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9da4ca41-20e1-4e9b-9f65-a9f435340c3a}"); } unsafe impl ::windows::core::Vtable for ISuspendingOperation { type Vtable = ISuspendingOperation_Vtbl; @@ -1804,7 +1804,7 @@ impl ::core::fmt::Debug for AppDisplayInfo { } } impl ::windows::core::RuntimeType for AppDisplayInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppDisplayInfo;{1aeb1103-e4d4-41aa-a4f6-c4a276e79eac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppDisplayInfo;{1aeb1103-e4d4-41aa-a4f6-c4a276e79eac})"); } impl ::core::clone::Clone for AppDisplayInfo { fn clone(&self) -> Self { @@ -1820,7 +1820,7 @@ unsafe impl ::windows::core::Interface for AppDisplayInfo { impl ::windows::core::RuntimeName for AppDisplayInfo { const NAME: &'static str = "Windows.ApplicationModel.AppDisplayInfo"; } -::windows::core::interface_hierarchy!(AppDisplayInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppDisplayInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppDisplayInfo {} unsafe impl ::core::marker::Sync for AppDisplayInfo {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -1898,7 +1898,7 @@ impl AppInfo { } #[doc(hidden)] pub fn IAppInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1914,7 +1914,7 @@ impl ::core::fmt::Debug for AppInfo { } } impl ::windows::core::RuntimeType for AppInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInfo;{cf7f59b3-6a09-4de8-a6c0-5792d56880d1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInfo;{cf7f59b3-6a09-4de8-a6c0-5792d56880d1})"); } impl ::core::clone::Clone for AppInfo { fn clone(&self) -> Self { @@ -1930,7 +1930,7 @@ unsafe impl ::windows::core::Interface for AppInfo { impl ::windows::core::RuntimeName for AppInfo { const NAME: &'static str = "Windows.ApplicationModel.AppInfo"; } -::windows::core::interface_hierarchy!(AppInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInfo {} unsafe impl ::core::marker::Sync for AppInfo {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -2076,7 +2076,7 @@ impl ::core::fmt::Debug for AppInstallerInfo { } } impl ::windows::core::RuntimeType for AppInstallerInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInstallerInfo;{29ab2ac0-d4f6-42a3-adcd-d6583c659508})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInstallerInfo;{29ab2ac0-d4f6-42a3-adcd-d6583c659508})"); } impl ::core::clone::Clone for AppInstallerInfo { fn clone(&self) -> Self { @@ -2092,7 +2092,7 @@ unsafe impl ::windows::core::Interface for AppInstallerInfo { impl ::windows::core::RuntimeName for AppInstallerInfo { const NAME: &'static str = "Windows.ApplicationModel.AppInstallerInfo"; } -::windows::core::interface_hierarchy!(AppInstallerInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInstallerInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInstallerInfo {} unsafe impl ::core::marker::Sync for AppInstallerInfo {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -2150,7 +2150,7 @@ impl AppInstance { } #[doc(hidden)] pub fn IAppInstanceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2166,7 +2166,7 @@ impl ::core::fmt::Debug for AppInstance { } } impl ::windows::core::RuntimeType for AppInstance { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInstance;{675f2b47-f25f-4532-9fd6-3633e0634d01})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInstance;{675f2b47-f25f-4532-9fd6-3633e0634d01})"); } impl ::core::clone::Clone for AppInstance { fn clone(&self) -> Self { @@ -2182,7 +2182,7 @@ unsafe impl ::windows::core::Interface for AppInstance { impl ::windows::core::RuntimeName for AppInstance { const NAME: &'static str = "Windows.ApplicationModel.AppInstance"; } -::windows::core::interface_hierarchy!(AppInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInstance {} unsafe impl ::core::marker::Sync for AppInstance {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -2193,7 +2193,7 @@ impl CameraApplicationManager { } #[doc(hidden)] pub fn ICameraApplicationManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2217,12 +2217,12 @@ impl DesignMode { } #[doc(hidden)] pub fn IDesignModeStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDesignModeStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2255,7 +2255,7 @@ impl ::core::fmt::Debug for EnteredBackgroundEventArgs { } } impl ::windows::core::RuntimeType for EnteredBackgroundEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.EnteredBackgroundEventArgs;{f722dcc2-9827-403d-aaed-ecca9ac17398})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.EnteredBackgroundEventArgs;{f722dcc2-9827-403d-aaed-ecca9ac17398})"); } impl ::core::clone::Clone for EnteredBackgroundEventArgs { fn clone(&self) -> Self { @@ -2271,7 +2271,7 @@ unsafe impl ::windows::core::Interface for EnteredBackgroundEventArgs { impl ::windows::core::RuntimeName for EnteredBackgroundEventArgs { const NAME: &'static str = "Windows.ApplicationModel.EnteredBackgroundEventArgs"; } -::windows::core::interface_hierarchy!(EnteredBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EnteredBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IEnteredBackgroundEventArgs { type Error = ::windows::core::Error; fn try_from(value: EnteredBackgroundEventArgs) -> ::windows::core::Result { @@ -2360,7 +2360,7 @@ impl FindRelatedPackagesOptions { } #[doc(hidden)] pub fn IFindRelatedPackagesOptionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2376,7 +2376,7 @@ impl ::core::fmt::Debug for FindRelatedPackagesOptions { } } impl ::windows::core::RuntimeType for FindRelatedPackagesOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.FindRelatedPackagesOptions;{41dd7eea-b335-521f-b96c-5ea07f5b7329})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.FindRelatedPackagesOptions;{41dd7eea-b335-521f-b96c-5ea07f5b7329})"); } impl ::core::clone::Clone for FindRelatedPackagesOptions { fn clone(&self) -> Self { @@ -2392,7 +2392,7 @@ unsafe impl ::windows::core::Interface for FindRelatedPackagesOptions { impl ::windows::core::RuntimeName for FindRelatedPackagesOptions { const NAME: &'static str = "Windows.ApplicationModel.FindRelatedPackagesOptions"; } -::windows::core::interface_hierarchy!(FindRelatedPackagesOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FindRelatedPackagesOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FindRelatedPackagesOptions {} unsafe impl ::core::marker::Sync for FindRelatedPackagesOptions {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -2426,7 +2426,7 @@ impl ::core::fmt::Debug for FullTrustProcessLaunchResult { } } impl ::windows::core::RuntimeType for FullTrustProcessLaunchResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.FullTrustProcessLaunchResult;{8917d888-edfb-515f-8e22-5ebceb69dfd9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.FullTrustProcessLaunchResult;{8917d888-edfb-515f-8e22-5ebceb69dfd9})"); } impl ::core::clone::Clone for FullTrustProcessLaunchResult { fn clone(&self) -> Self { @@ -2442,7 +2442,7 @@ unsafe impl ::windows::core::Interface for FullTrustProcessLaunchResult { impl ::windows::core::RuntimeName for FullTrustProcessLaunchResult { const NAME: &'static str = "Windows.ApplicationModel.FullTrustProcessLaunchResult"; } -::windows::core::interface_hierarchy!(FullTrustProcessLaunchResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FullTrustProcessLaunchResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FullTrustProcessLaunchResult {} unsafe impl ::core::marker::Sync for FullTrustProcessLaunchResult {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -2498,12 +2498,12 @@ impl FullTrustProcessLauncher { } #[doc(hidden)] pub fn IFullTrustProcessLauncherStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IFullTrustProcessLauncherStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2536,7 +2536,7 @@ impl ::core::fmt::Debug for LeavingBackgroundEventArgs { } } impl ::windows::core::RuntimeType for LeavingBackgroundEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LeavingBackgroundEventArgs;{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LeavingBackgroundEventArgs;{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e})"); } impl ::core::clone::Clone for LeavingBackgroundEventArgs { fn clone(&self) -> Self { @@ -2552,7 +2552,7 @@ unsafe impl ::windows::core::Interface for LeavingBackgroundEventArgs { impl ::windows::core::RuntimeName for LeavingBackgroundEventArgs { const NAME: &'static str = "Windows.ApplicationModel.LeavingBackgroundEventArgs"; } -::windows::core::interface_hierarchy!(LeavingBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LeavingBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILeavingBackgroundEventArgs { type Error = ::windows::core::Error; fn try_from(value: LeavingBackgroundEventArgs) -> ::windows::core::Result { @@ -2614,7 +2614,7 @@ impl ::core::fmt::Debug for LimitedAccessFeatureRequestResult { } } impl ::windows::core::RuntimeType for LimitedAccessFeatureRequestResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LimitedAccessFeatureRequestResult;{d45156a6-1e24-5ddd-abb4-6188aba4d5bf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LimitedAccessFeatureRequestResult;{d45156a6-1e24-5ddd-abb4-6188aba4d5bf})"); } impl ::core::clone::Clone for LimitedAccessFeatureRequestResult { fn clone(&self) -> Self { @@ -2630,7 +2630,7 @@ unsafe impl ::windows::core::Interface for LimitedAccessFeatureRequestResult { impl ::windows::core::RuntimeName for LimitedAccessFeatureRequestResult { const NAME: &'static str = "Windows.ApplicationModel.LimitedAccessFeatureRequestResult"; } -::windows::core::interface_hierarchy!(LimitedAccessFeatureRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LimitedAccessFeatureRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LimitedAccessFeatureRequestResult {} unsafe impl ::core::marker::Sync for LimitedAccessFeatureRequestResult {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -2644,7 +2644,7 @@ impl LimitedAccessFeatures { } #[doc(hidden)] pub fn ILimitedAccessFeaturesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3013,7 +3013,7 @@ impl Package { } #[doc(hidden)] pub fn IPackageStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3029,7 +3029,7 @@ impl ::core::fmt::Debug for Package { } } impl ::windows::core::RuntimeType for Package { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Package;{163c792f-bd75-413c-bf23-b1fe7b95d825})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Package;{163c792f-bd75-413c-bf23-b1fe7b95d825})"); } impl ::core::clone::Clone for Package { fn clone(&self) -> Self { @@ -3045,7 +3045,7 @@ unsafe impl ::windows::core::Interface for Package { impl ::windows::core::RuntimeName for Package { const NAME: &'static str = "Windows.ApplicationModel.Package"; } -::windows::core::interface_hierarchy!(Package, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Package, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Package {} unsafe impl ::core::marker::Sync for Package {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -3206,12 +3206,12 @@ impl PackageCatalog { } #[doc(hidden)] pub fn IPackageCatalogStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPackageCatalogStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3227,7 +3227,7 @@ impl ::core::fmt::Debug for PackageCatalog { } } impl ::windows::core::RuntimeType for PackageCatalog { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalog;{230a3751-9de3-4445-be74-91fb325abefe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalog;{230a3751-9de3-4445-be74-91fb325abefe})"); } impl ::core::clone::Clone for PackageCatalog { fn clone(&self) -> Self { @@ -3243,7 +3243,7 @@ unsafe impl ::windows::core::Interface for PackageCatalog { impl ::windows::core::RuntimeName for PackageCatalog { const NAME: &'static str = "Windows.ApplicationModel.PackageCatalog"; } -::windows::core::interface_hierarchy!(PackageCatalog, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageCatalog, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] pub struct PackageCatalogAddOptionalPackageResult(::windows::core::IUnknown); @@ -3275,7 +3275,7 @@ impl ::core::fmt::Debug for PackageCatalogAddOptionalPackageResult { } } impl ::windows::core::RuntimeType for PackageCatalogAddOptionalPackageResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogAddOptionalPackageResult;{3bf10cd4-b4df-47b3-a963-e2fa832f7dd3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogAddOptionalPackageResult;{3bf10cd4-b4df-47b3-a963-e2fa832f7dd3})"); } impl ::core::clone::Clone for PackageCatalogAddOptionalPackageResult { fn clone(&self) -> Self { @@ -3291,7 +3291,7 @@ unsafe impl ::windows::core::Interface for PackageCatalogAddOptionalPackageResul impl ::windows::core::RuntimeName for PackageCatalogAddOptionalPackageResult { const NAME: &'static str = "Windows.ApplicationModel.PackageCatalogAddOptionalPackageResult"; } -::windows::core::interface_hierarchy!(PackageCatalogAddOptionalPackageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageCatalogAddOptionalPackageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] pub struct PackageCatalogAddResourcePackageResult(::windows::core::IUnknown); @@ -3330,7 +3330,7 @@ impl ::core::fmt::Debug for PackageCatalogAddResourcePackageResult { } } impl ::windows::core::RuntimeType for PackageCatalogAddResourcePackageResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogAddResourcePackageResult;{9636ce0d-3e17-493f-aa08-ccec6fdef699})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogAddResourcePackageResult;{9636ce0d-3e17-493f-aa08-ccec6fdef699})"); } impl ::core::clone::Clone for PackageCatalogAddResourcePackageResult { fn clone(&self) -> Self { @@ -3346,7 +3346,7 @@ unsafe impl ::windows::core::Interface for PackageCatalogAddResourcePackageResul impl ::windows::core::RuntimeName for PackageCatalogAddResourcePackageResult { const NAME: &'static str = "Windows.ApplicationModel.PackageCatalogAddResourcePackageResult"; } -::windows::core::interface_hierarchy!(PackageCatalogAddResourcePackageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageCatalogAddResourcePackageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageCatalogAddResourcePackageResult {} unsafe impl ::core::marker::Sync for PackageCatalogAddResourcePackageResult {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -3382,7 +3382,7 @@ impl ::core::fmt::Debug for PackageCatalogRemoveOptionalPackagesResult { } } impl ::windows::core::RuntimeType for PackageCatalogRemoveOptionalPackagesResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogRemoveOptionalPackagesResult;{29d2f97b-d974-4e64-9359-22cadfd79828})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogRemoveOptionalPackagesResult;{29d2f97b-d974-4e64-9359-22cadfd79828})"); } impl ::core::clone::Clone for PackageCatalogRemoveOptionalPackagesResult { fn clone(&self) -> Self { @@ -3398,7 +3398,7 @@ unsafe impl ::windows::core::Interface for PackageCatalogRemoveOptionalPackagesR impl ::windows::core::RuntimeName for PackageCatalogRemoveOptionalPackagesResult { const NAME: &'static str = "Windows.ApplicationModel.PackageCatalogRemoveOptionalPackagesResult"; } -::windows::core::interface_hierarchy!(PackageCatalogRemoveOptionalPackagesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageCatalogRemoveOptionalPackagesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] pub struct PackageCatalogRemoveResourcePackagesResult(::windows::core::IUnknown); @@ -3432,7 +3432,7 @@ impl ::core::fmt::Debug for PackageCatalogRemoveResourcePackagesResult { } } impl ::windows::core::RuntimeType for PackageCatalogRemoveResourcePackagesResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogRemoveResourcePackagesResult;{ae719709-1a52-4321-87b3-e5a1a17981a7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogRemoveResourcePackagesResult;{ae719709-1a52-4321-87b3-e5a1a17981a7})"); } impl ::core::clone::Clone for PackageCatalogRemoveResourcePackagesResult { fn clone(&self) -> Self { @@ -3448,7 +3448,7 @@ unsafe impl ::windows::core::Interface for PackageCatalogRemoveResourcePackagesR impl ::windows::core::RuntimeName for PackageCatalogRemoveResourcePackagesResult { const NAME: &'static str = "Windows.ApplicationModel.PackageCatalogRemoveResourcePackagesResult"; } -::windows::core::interface_hierarchy!(PackageCatalogRemoveResourcePackagesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageCatalogRemoveResourcePackagesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageCatalogRemoveResourcePackagesResult {} unsafe impl ::core::marker::Sync for PackageCatalogRemoveResourcePackagesResult {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -3491,7 +3491,7 @@ impl PackageContentGroup { } #[doc(hidden)] pub fn IPackageContentGroupStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3507,7 +3507,7 @@ impl ::core::fmt::Debug for PackageContentGroup { } } impl ::windows::core::RuntimeType for PackageContentGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageContentGroup;{8f62695d-120a-4798-b5e1-5800dda8f2e1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageContentGroup;{8f62695d-120a-4798-b5e1-5800dda8f2e1})"); } impl ::core::clone::Clone for PackageContentGroup { fn clone(&self) -> Self { @@ -3523,7 +3523,7 @@ unsafe impl ::windows::core::Interface for PackageContentGroup { impl ::windows::core::RuntimeName for PackageContentGroup { const NAME: &'static str = "Windows.ApplicationModel.PackageContentGroup"; } -::windows::core::interface_hierarchy!(PackageContentGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageContentGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageContentGroup {} unsafe impl ::core::marker::Sync for PackageContentGroup {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -3592,7 +3592,7 @@ impl ::core::fmt::Debug for PackageContentGroupStagingEventArgs { } } impl ::windows::core::RuntimeType for PackageContentGroupStagingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageContentGroupStagingEventArgs;{3d7bc27e-6f27-446c-986e-d4733d4d9113})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageContentGroupStagingEventArgs;{3d7bc27e-6f27-446c-986e-d4733d4d9113})"); } impl ::core::clone::Clone for PackageContentGroupStagingEventArgs { fn clone(&self) -> Self { @@ -3608,7 +3608,7 @@ unsafe impl ::windows::core::Interface for PackageContentGroupStagingEventArgs { impl ::windows::core::RuntimeName for PackageContentGroupStagingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.PackageContentGroupStagingEventArgs"; } -::windows::core::interface_hierarchy!(PackageContentGroupStagingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageContentGroupStagingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageContentGroupStagingEventArgs {} unsafe impl ::core::marker::Sync for PackageContentGroupStagingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -3700,7 +3700,7 @@ impl ::core::fmt::Debug for PackageId { } } impl ::windows::core::RuntimeType for PackageId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageId;{1adb665e-37c7-4790-9980-dd7ae74e8bb2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageId;{1adb665e-37c7-4790-9980-dd7ae74e8bb2})"); } impl ::core::clone::Clone for PackageId { fn clone(&self) -> Self { @@ -3716,7 +3716,7 @@ unsafe impl ::windows::core::Interface for PackageId { impl ::windows::core::RuntimeName for PackageId { const NAME: &'static str = "Windows.ApplicationModel.PackageId"; } -::windows::core::interface_hierarchy!(PackageId, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageId, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageId {} unsafe impl ::core::marker::Sync for PackageId {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -3771,7 +3771,7 @@ impl ::core::fmt::Debug for PackageInstallingEventArgs { } } impl ::windows::core::RuntimeType for PackageInstallingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageInstallingEventArgs;{97741eb7-ab7a-401a-8b61-eb0e7faff237})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageInstallingEventArgs;{97741eb7-ab7a-401a-8b61-eb0e7faff237})"); } impl ::core::clone::Clone for PackageInstallingEventArgs { fn clone(&self) -> Self { @@ -3787,7 +3787,7 @@ unsafe impl ::windows::core::Interface for PackageInstallingEventArgs { impl ::windows::core::RuntimeName for PackageInstallingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.PackageInstallingEventArgs"; } -::windows::core::interface_hierarchy!(PackageInstallingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageInstallingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageInstallingEventArgs {} unsafe impl ::core::marker::Sync for PackageInstallingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -3842,7 +3842,7 @@ impl ::core::fmt::Debug for PackageStagingEventArgs { } } impl ::windows::core::RuntimeType for PackageStagingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStagingEventArgs;{1041682d-54e2-4f51-b828-9ef7046c210f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStagingEventArgs;{1041682d-54e2-4f51-b828-9ef7046c210f})"); } impl ::core::clone::Clone for PackageStagingEventArgs { fn clone(&self) -> Self { @@ -3858,7 +3858,7 @@ unsafe impl ::windows::core::Interface for PackageStagingEventArgs { impl ::windows::core::RuntimeName for PackageStagingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.PackageStagingEventArgs"; } -::windows::core::interface_hierarchy!(PackageStagingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageStagingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageStagingEventArgs {} unsafe impl ::core::marker::Sync for PackageStagingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -3969,7 +3969,7 @@ impl ::core::fmt::Debug for PackageStatus { } } impl ::windows::core::RuntimeType for PackageStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStatus;{5fe74f71-a365-4c09-a02d-046d525ea1da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStatus;{5fe74f71-a365-4c09-a02d-046d525ea1da})"); } impl ::core::clone::Clone for PackageStatus { fn clone(&self) -> Self { @@ -3985,7 +3985,7 @@ unsafe impl ::windows::core::Interface for PackageStatus { impl ::windows::core::RuntimeName for PackageStatus { const NAME: &'static str = "Windows.ApplicationModel.PackageStatus"; } -::windows::core::interface_hierarchy!(PackageStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageStatus {} unsafe impl ::core::marker::Sync for PackageStatus {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -4012,7 +4012,7 @@ impl ::core::fmt::Debug for PackageStatusChangedEventArgs { } } impl ::windows::core::RuntimeType for PackageStatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStatusChangedEventArgs;{437d714d-bd80-4a70-bc50-f6e796509575})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStatusChangedEventArgs;{437d714d-bd80-4a70-bc50-f6e796509575})"); } impl ::core::clone::Clone for PackageStatusChangedEventArgs { fn clone(&self) -> Self { @@ -4028,7 +4028,7 @@ unsafe impl ::windows::core::Interface for PackageStatusChangedEventArgs { impl ::windows::core::RuntimeName for PackageStatusChangedEventArgs { const NAME: &'static str = "Windows.ApplicationModel.PackageStatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(PackageStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for PackageStatusChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -4083,7 +4083,7 @@ impl ::core::fmt::Debug for PackageUninstallingEventArgs { } } impl ::windows::core::RuntimeType for PackageUninstallingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUninstallingEventArgs;{4443aa52-ab22-44cd-82bb-4ec9b827367a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUninstallingEventArgs;{4443aa52-ab22-44cd-82bb-4ec9b827367a})"); } impl ::core::clone::Clone for PackageUninstallingEventArgs { fn clone(&self) -> Self { @@ -4099,7 +4099,7 @@ unsafe impl ::windows::core::Interface for PackageUninstallingEventArgs { impl ::windows::core::RuntimeName for PackageUninstallingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.PackageUninstallingEventArgs"; } -::windows::core::interface_hierarchy!(PackageUninstallingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageUninstallingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageUninstallingEventArgs {} unsafe impl ::core::marker::Sync for PackageUninstallingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -4133,7 +4133,7 @@ impl ::core::fmt::Debug for PackageUpdateAvailabilityResult { } } impl ::windows::core::RuntimeType for PackageUpdateAvailabilityResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUpdateAvailabilityResult;{114e5009-199a-48a1-a079-313c45634a71})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUpdateAvailabilityResult;{114e5009-199a-48a1-a079-313c45634a71})"); } impl ::core::clone::Clone for PackageUpdateAvailabilityResult { fn clone(&self) -> Self { @@ -4149,7 +4149,7 @@ unsafe impl ::windows::core::Interface for PackageUpdateAvailabilityResult { impl ::windows::core::RuntimeName for PackageUpdateAvailabilityResult { const NAME: &'static str = "Windows.ApplicationModel.PackageUpdateAvailabilityResult"; } -::windows::core::interface_hierarchy!(PackageUpdateAvailabilityResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageUpdateAvailabilityResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageUpdateAvailabilityResult {} unsafe impl ::core::marker::Sync for PackageUpdateAvailabilityResult {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -4211,7 +4211,7 @@ impl ::core::fmt::Debug for PackageUpdatingEventArgs { } } impl ::windows::core::RuntimeType for PackageUpdatingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUpdatingEventArgs;{cd7b4228-fd74-443e-b114-23e677b0e86f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUpdatingEventArgs;{cd7b4228-fd74-443e-b114-23e677b0e86f})"); } impl ::core::clone::Clone for PackageUpdatingEventArgs { fn clone(&self) -> Self { @@ -4227,7 +4227,7 @@ unsafe impl ::windows::core::Interface for PackageUpdatingEventArgs { impl ::windows::core::RuntimeName for PackageUpdatingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.PackageUpdatingEventArgs"; } -::windows::core::interface_hierarchy!(PackageUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageUpdatingEventArgs {} unsafe impl ::core::marker::Sync for PackageUpdatingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -4279,7 +4279,7 @@ impl StartupTask { } #[doc(hidden)] pub fn IStartupTaskStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4295,7 +4295,7 @@ impl ::core::fmt::Debug for StartupTask { } } impl ::windows::core::RuntimeType for StartupTask { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.StartupTask;{f75c23c8-b5f2-4f6c-88dd-36cb1d599d17})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.StartupTask;{f75c23c8-b5f2-4f6c-88dd-36cb1d599d17})"); } impl ::core::clone::Clone for StartupTask { fn clone(&self) -> Self { @@ -4311,7 +4311,7 @@ unsafe impl ::windows::core::Interface for StartupTask { impl ::windows::core::RuntimeName for StartupTask { const NAME: &'static str = "Windows.ApplicationModel.StartupTask"; } -::windows::core::interface_hierarchy!(StartupTask, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StartupTask, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StartupTask {} unsafe impl ::core::marker::Sync for StartupTask {} #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -4335,7 +4335,7 @@ impl ::core::fmt::Debug for SuspendingDeferral { } } impl ::windows::core::RuntimeType for SuspendingDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingDeferral;{59140509-8bc9-4eb4-b636-dabdc4f46f66})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingDeferral;{59140509-8bc9-4eb4-b636-dabdc4f46f66})"); } impl ::core::clone::Clone for SuspendingDeferral { fn clone(&self) -> Self { @@ -4351,7 +4351,7 @@ unsafe impl ::windows::core::Interface for SuspendingDeferral { impl ::windows::core::RuntimeName for SuspendingDeferral { const NAME: &'static str = "Windows.ApplicationModel.SuspendingDeferral"; } -::windows::core::interface_hierarchy!(SuspendingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SuspendingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISuspendingDeferral { type Error = ::windows::core::Error; fn try_from(value: SuspendingDeferral) -> ::windows::core::Result { @@ -4397,7 +4397,7 @@ impl ::core::fmt::Debug for SuspendingEventArgs { } } impl ::windows::core::RuntimeType for SuspendingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingEventArgs;{96061c05-2dba-4d08-b0bd-2b30a131c6aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingEventArgs;{96061c05-2dba-4d08-b0bd-2b30a131c6aa})"); } impl ::core::clone::Clone for SuspendingEventArgs { fn clone(&self) -> Self { @@ -4413,7 +4413,7 @@ unsafe impl ::windows::core::Interface for SuspendingEventArgs { impl ::windows::core::RuntimeName for SuspendingEventArgs { const NAME: &'static str = "Windows.ApplicationModel.SuspendingEventArgs"; } -::windows::core::interface_hierarchy!(SuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISuspendingEventArgs { type Error = ::windows::core::Error; fn try_from(value: SuspendingEventArgs) -> ::windows::core::Result { @@ -4468,7 +4468,7 @@ impl ::core::fmt::Debug for SuspendingOperation { } } impl ::windows::core::RuntimeType for SuspendingOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingOperation;{9da4ca41-20e1-4e9b-9f65-a9f435340c3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingOperation;{9da4ca41-20e1-4e9b-9f65-a9f435340c3a})"); } impl ::core::clone::Clone for SuspendingOperation { fn clone(&self) -> Self { @@ -4484,7 +4484,7 @@ unsafe impl ::windows::core::Interface for SuspendingOperation { impl ::windows::core::RuntimeName for SuspendingOperation { const NAME: &'static str = "Windows.ApplicationModel.SuspendingOperation"; } -::windows::core::interface_hierarchy!(SuspendingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SuspendingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISuspendingOperation { type Error = ::windows::core::Error; fn try_from(value: SuspendingOperation) -> ::windows::core::Result { @@ -4568,7 +4568,7 @@ impl ::core::ops::Not for AddResourcePackageOptions { } } impl ::windows::core::RuntimeType for AddResourcePackageOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AddResourcePackageOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AddResourcePackageOptions;u4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4599,7 +4599,7 @@ impl ::core::fmt::Debug for AppExecutionContext { } } impl ::windows::core::RuntimeType for AppExecutionContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppExecutionContext;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppExecutionContext;i4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4629,7 +4629,7 @@ impl ::core::fmt::Debug for AppInstallerPolicySource { } } impl ::windows::core::RuntimeType for AppInstallerPolicySource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppInstallerPolicySource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppInstallerPolicySource;i4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4661,7 +4661,7 @@ impl ::core::fmt::Debug for FullTrustLaunchResult { } } impl ::windows::core::RuntimeType for FullTrustLaunchResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.FullTrustLaunchResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.FullTrustLaunchResult;i4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4693,7 +4693,7 @@ impl ::core::fmt::Debug for LimitedAccessFeatureStatus { } } impl ::windows::core::RuntimeType for LimitedAccessFeatureStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.LimitedAccessFeatureStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.LimitedAccessFeatureStatus;i4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4725,7 +4725,7 @@ impl ::core::fmt::Debug for PackageContentGroupState { } } impl ::windows::core::RuntimeType for PackageContentGroupState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.PackageContentGroupState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.PackageContentGroupState;i4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4756,7 +4756,7 @@ impl ::core::fmt::Debug for PackageRelationship { } } impl ::windows::core::RuntimeType for PackageRelationship { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.PackageRelationship;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.PackageRelationship;i4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4789,7 +4789,7 @@ impl ::core::fmt::Debug for PackageSignatureKind { } } impl ::windows::core::RuntimeType for PackageSignatureKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.PackageSignatureKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.PackageSignatureKind;i4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4822,7 +4822,7 @@ impl ::core::fmt::Debug for PackageUpdateAvailability { } } impl ::windows::core::RuntimeType for PackageUpdateAvailability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.PackageUpdateAvailability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.PackageUpdateAvailability;i4)"); } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] @@ -4855,7 +4855,7 @@ impl ::core::fmt::Debug for StartupTaskState { } } impl ::windows::core::RuntimeType for StartupTaskState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.StartupTaskState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.StartupTaskState;i4)"); } #[repr(C)] #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -4877,7 +4877,7 @@ impl ::windows::core::TypeKind for PackageInstallProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for PackageInstallProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.ApplicationModel.PackageInstallProgress;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.ApplicationModel.PackageInstallProgress;u4)"); } impl ::core::cmp::PartialEq for PackageInstallProgress { fn eq(&self, other: &Self) -> bool { @@ -4913,7 +4913,7 @@ impl ::windows::core::TypeKind for PackageVersion { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for PackageVersion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.ApplicationModel.PackageVersion;u2;u2;u2;u2)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.ApplicationModel.PackageVersion;u2;u2;u2;u2)"); } impl ::core::cmp::PartialEq for PackageVersion { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Data/Html/mod.rs b/crates/libs/windows/src/Windows/Data/Html/mod.rs index 9cbdbc3373..435149967f 100644 --- a/crates/libs/windows/src/Windows/Data/Html/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Html/mod.rs @@ -29,7 +29,7 @@ impl HtmlUtilities { } #[doc(hidden)] pub fn IHtmlUtilities ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index 6b6cf9333e..bb1aab3ceb 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -189,7 +189,7 @@ impl IJsonValue { } } } -::windows::core::interface_hierarchy!(IJsonValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IJsonValue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IJsonValue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -202,7 +202,7 @@ impl ::core::fmt::Debug for IJsonValue { } } impl ::windows::core::RuntimeType for IJsonValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a3219ecb-f0b3-4dcd-beee-19d48cd3ed1e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a3219ecb-f0b3-4dcd-beee-19d48cd3ed1e}"); } unsafe impl ::windows::core::Vtable for IJsonValue { type Vtable = IJsonValue_Vtbl; @@ -278,8 +278,8 @@ impl JsonArray { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -501,7 +501,7 @@ impl JsonArray { } #[doc(hidden)] pub fn IJsonArrayStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -517,7 +517,7 @@ impl ::core::fmt::Debug for JsonArray { } } impl ::windows::core::RuntimeType for JsonArray { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonArray;{08c1ddb6-0cbd-4a9a-b5d3-2f852dc37e81})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonArray;{08c1ddb6-0cbd-4a9a-b5d3-2f852dc37e81})"); } impl ::core::clone::Clone for JsonArray { fn clone(&self) -> Self { @@ -549,7 +549,7 @@ impl ::core::iter::IntoIterator for &JsonArray { super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(JsonArray, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(JsonArray, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -648,7 +648,7 @@ impl JsonError { } #[doc(hidden)] pub fn IJsonErrorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -662,8 +662,8 @@ impl JsonObject { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -900,7 +900,7 @@ impl JsonObject { } #[doc(hidden)] pub fn IJsonObjectStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -916,7 +916,7 @@ impl ::core::fmt::Debug for JsonObject { } } impl ::windows::core::RuntimeType for JsonObject { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonObject;{064e24dd-29c2-4f83-9ac1-9ee11578beb3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonObject;{064e24dd-29c2-4f83-9ac1-9ee11578beb3})"); } impl ::core::clone::Clone for JsonObject { fn clone(&self) -> Self { @@ -948,7 +948,7 @@ impl ::core::iter::IntoIterator for &JsonObject { self.First().unwrap() } } -::windows::core::interface_hierarchy!(JsonObject, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(JsonObject, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -1136,12 +1136,12 @@ impl JsonValue { } #[doc(hidden)] pub fn IJsonValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IJsonValueStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1157,7 +1157,7 @@ impl ::core::fmt::Debug for JsonValue { } } impl ::windows::core::RuntimeType for JsonValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonValue;{a3219ecb-f0b3-4dcd-beee-19d48cd3ed1e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonValue;{a3219ecb-f0b3-4dcd-beee-19d48cd3ed1e})"); } impl ::core::clone::Clone for JsonValue { fn clone(&self) -> Self { @@ -1173,7 +1173,7 @@ unsafe impl ::windows::core::Interface for JsonValue { impl ::windows::core::RuntimeName for JsonValue { const NAME: &'static str = "Windows.Data.Json.JsonValue"; } -::windows::core::interface_hierarchy!(JsonValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(JsonValue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IJsonValue { type Error = ::windows::core::Error; fn try_from(value: JsonValue) -> ::windows::core::Result { @@ -1248,7 +1248,7 @@ impl ::core::fmt::Debug for JsonErrorStatus { } } impl ::windows::core::RuntimeType for JsonErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Data.Json.JsonErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Data.Json.JsonErrorStatus;i4)"); } #[doc = "*Required features: `\"Data_Json\"`*"] #[repr(transparent)] @@ -1282,7 +1282,7 @@ impl ::core::fmt::Debug for JsonValueType { } } impl ::windows::core::RuntimeType for JsonValueType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Data.Json.JsonValueType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Data.Json.JsonValueType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs index 04d46ccd1a..30083c81f6 100644 --- a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs @@ -251,7 +251,7 @@ impl PdfDocument { } #[doc(hidden)] pub fn IPdfDocumentStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -267,7 +267,7 @@ impl ::core::fmt::Debug for PdfDocument { } } impl ::windows::core::RuntimeType for PdfDocument { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfDocument;{ac7ebedd-80fa-4089-846e-81b77ff5a86c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfDocument;{ac7ebedd-80fa-4089-846e-81b77ff5a86c})"); } impl ::core::clone::Clone for PdfDocument { fn clone(&self) -> Self { @@ -283,7 +283,7 @@ unsafe impl ::windows::core::Interface for PdfDocument { impl ::windows::core::RuntimeName for PdfDocument { const NAME: &'static str = "Windows.Data.Pdf.PdfDocument"; } -::windows::core::interface_hierarchy!(PdfDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PdfDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PdfDocument {} unsafe impl ::core::marker::Sync for PdfDocument {} #[doc = "*Required features: `\"Data_Pdf\"`*"] @@ -381,7 +381,7 @@ impl ::core::fmt::Debug for PdfPage { } } impl ::windows::core::RuntimeType for PdfPage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPage;{9db4b0c8-5320-4cfc-ad76-493fdad0e594})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPage;{9db4b0c8-5320-4cfc-ad76-493fdad0e594})"); } impl ::core::clone::Clone for PdfPage { fn clone(&self) -> Self { @@ -397,7 +397,7 @@ unsafe impl ::windows::core::Interface for PdfPage { impl ::windows::core::RuntimeName for PdfPage { const NAME: &'static str = "Windows.Data.Pdf.PdfPage"; } -::windows::core::interface_hierarchy!(PdfPage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PdfPage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -484,7 +484,7 @@ impl ::core::fmt::Debug for PdfPageDimensions { } } impl ::windows::core::RuntimeType for PdfPageDimensions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPageDimensions;{22170471-313e-44e8-835d-63a3e7624a10})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPageDimensions;{22170471-313e-44e8-835d-63a3e7624a10})"); } impl ::core::clone::Clone for PdfPageDimensions { fn clone(&self) -> Self { @@ -500,7 +500,7 @@ unsafe impl ::windows::core::Interface for PdfPageDimensions { impl ::windows::core::RuntimeName for PdfPageDimensions { const NAME: &'static str = "Windows.Data.Pdf.PdfPageDimensions"; } -::windows::core::interface_hierarchy!(PdfPageDimensions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PdfPageDimensions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PdfPageDimensions {} unsafe impl ::core::marker::Sync for PdfPageDimensions {} #[doc = "*Required features: `\"Data_Pdf\"`*"] @@ -510,8 +510,8 @@ impl PdfPageRenderOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -601,7 +601,7 @@ impl ::core::fmt::Debug for PdfPageRenderOptions { } } impl ::windows::core::RuntimeType for PdfPageRenderOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPageRenderOptions;{3c98056f-b7cf-4c29-9a04-52d90267f425})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPageRenderOptions;{3c98056f-b7cf-4c29-9a04-52d90267f425})"); } impl ::core::clone::Clone for PdfPageRenderOptions { fn clone(&self) -> Self { @@ -617,7 +617,7 @@ unsafe impl ::windows::core::Interface for PdfPageRenderOptions { impl ::windows::core::RuntimeName for PdfPageRenderOptions { const NAME: &'static str = "Windows.Data.Pdf.PdfPageRenderOptions"; } -::windows::core::interface_hierarchy!(PdfPageRenderOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PdfPageRenderOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PdfPageRenderOptions {} unsafe impl ::core::marker::Sync for PdfPageRenderOptions {} #[doc = "*Required features: `\"Data_Pdf\"`*"] @@ -650,7 +650,7 @@ impl ::core::fmt::Debug for PdfPageRotation { } } impl ::windows::core::RuntimeType for PdfPageRotation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Data.Pdf.PdfPageRotation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Data.Pdf.PdfPageRotation;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Data/Text/mod.rs b/crates/libs/windows/src/Windows/Data/Text/mod.rs index 1c9cbe8261..4528c6fd0f 100644 --- a/crates/libs/windows/src/Windows/Data/Text/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Text/mod.rs @@ -508,7 +508,7 @@ impl ::core::fmt::Debug for AlternateWordForm { } } impl ::windows::core::RuntimeType for AlternateWordForm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.AlternateWordForm;{47396c1e-51b9-4207-9146-248e636a1d1d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.AlternateWordForm;{47396c1e-51b9-4207-9146-248e636a1d1d})"); } impl ::core::clone::Clone for AlternateWordForm { fn clone(&self) -> Self { @@ -524,7 +524,7 @@ unsafe impl ::windows::core::Interface for AlternateWordForm { impl ::windows::core::RuntimeName for AlternateWordForm { const NAME: &'static str = "Windows.Data.Text.AlternateWordForm"; } -::windows::core::interface_hierarchy!(AlternateWordForm, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AlternateWordForm, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AlternateWordForm {} unsafe impl ::core::marker::Sync for AlternateWordForm {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -558,7 +558,7 @@ impl ::core::fmt::Debug for SelectableWordSegment { } } impl ::windows::core::RuntimeType for SelectableWordSegment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SelectableWordSegment;{916a4cb7-8aa7-4c78-b374-5dedb752e60b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SelectableWordSegment;{916a4cb7-8aa7-4c78-b374-5dedb752e60b})"); } impl ::core::clone::Clone for SelectableWordSegment { fn clone(&self) -> Self { @@ -574,7 +574,7 @@ unsafe impl ::windows::core::Interface for SelectableWordSegment { impl ::windows::core::RuntimeName for SelectableWordSegment { const NAME: &'static str = "Windows.Data.Text.SelectableWordSegment"; } -::windows::core::interface_hierarchy!(SelectableWordSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SelectableWordSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SelectableWordSegment {} unsafe impl ::core::marker::Sync for SelectableWordSegment {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -618,7 +618,7 @@ impl SelectableWordsSegmenter { } #[doc(hidden)] pub fn ISelectableWordsSegmenterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -634,7 +634,7 @@ impl ::core::fmt::Debug for SelectableWordsSegmenter { } } impl ::windows::core::RuntimeType for SelectableWordsSegmenter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SelectableWordsSegmenter;{f6dc31e7-4b13-45c5-8897-7d71269e085d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SelectableWordsSegmenter;{f6dc31e7-4b13-45c5-8897-7d71269e085d})"); } impl ::core::clone::Clone for SelectableWordsSegmenter { fn clone(&self) -> Self { @@ -650,7 +650,7 @@ unsafe impl ::windows::core::Interface for SelectableWordsSegmenter { impl ::windows::core::RuntimeName for SelectableWordsSegmenter { const NAME: &'static str = "Windows.Data.Text.SelectableWordsSegmenter"; } -::windows::core::interface_hierarchy!(SelectableWordsSegmenter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SelectableWordsSegmenter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SelectableWordsSegmenter {} unsafe impl ::core::marker::Sync for SelectableWordsSegmenter {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -689,7 +689,7 @@ impl SemanticTextQuery { } #[doc(hidden)] pub fn ISemanticTextQueryFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -705,7 +705,7 @@ impl ::core::fmt::Debug for SemanticTextQuery { } } impl ::windows::core::RuntimeType for SemanticTextQuery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SemanticTextQuery;{6a1cab51-1fb2-4909-80b8-35731a2b3e7f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SemanticTextQuery;{6a1cab51-1fb2-4909-80b8-35731a2b3e7f})"); } impl ::core::clone::Clone for SemanticTextQuery { fn clone(&self) -> Self { @@ -721,7 +721,7 @@ unsafe impl ::windows::core::Interface for SemanticTextQuery { impl ::windows::core::RuntimeName for SemanticTextQuery { const NAME: &'static str = "Windows.Data.Text.SemanticTextQuery"; } -::windows::core::interface_hierarchy!(SemanticTextQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SemanticTextQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SemanticTextQuery {} unsafe impl ::core::marker::Sync for SemanticTextQuery {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -768,7 +768,7 @@ impl TextConversionGenerator { } #[doc(hidden)] pub fn ITextConversionGeneratorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -784,7 +784,7 @@ impl ::core::fmt::Debug for TextConversionGenerator { } } impl ::windows::core::RuntimeType for TextConversionGenerator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextConversionGenerator;{03606a5e-2aa9-4ab6-af8b-a562b63a8992})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextConversionGenerator;{03606a5e-2aa9-4ab6-af8b-a562b63a8992})"); } impl ::core::clone::Clone for TextConversionGenerator { fn clone(&self) -> Self { @@ -800,7 +800,7 @@ unsafe impl ::windows::core::Interface for TextConversionGenerator { impl ::windows::core::RuntimeName for TextConversionGenerator { const NAME: &'static str = "Windows.Data.Text.TextConversionGenerator"; } -::windows::core::interface_hierarchy!(TextConversionGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TextConversionGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TextConversionGenerator {} unsafe impl ::core::marker::Sync for TextConversionGenerator {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -834,7 +834,7 @@ impl ::core::fmt::Debug for TextPhoneme { } } impl ::windows::core::RuntimeType for TextPhoneme { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextPhoneme;{9362a40a-9b7a-4569-94cf-d84f2f38cf9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextPhoneme;{9362a40a-9b7a-4569-94cf-d84f2f38cf9b})"); } impl ::core::clone::Clone for TextPhoneme { fn clone(&self) -> Self { @@ -850,7 +850,7 @@ unsafe impl ::windows::core::Interface for TextPhoneme { impl ::windows::core::RuntimeName for TextPhoneme { const NAME: &'static str = "Windows.Data.Text.TextPhoneme"; } -::windows::core::interface_hierarchy!(TextPhoneme, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TextPhoneme, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TextPhoneme {} unsafe impl ::core::marker::Sync for TextPhoneme {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -938,7 +938,7 @@ impl TextPredictionGenerator { } #[doc(hidden)] pub fn ITextPredictionGeneratorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -954,7 +954,7 @@ impl ::core::fmt::Debug for TextPredictionGenerator { } } impl ::windows::core::RuntimeType for TextPredictionGenerator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextPredictionGenerator;{5eacab07-abf1-4cb6-9d9e-326f2b468756})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextPredictionGenerator;{5eacab07-abf1-4cb6-9d9e-326f2b468756})"); } impl ::core::clone::Clone for TextPredictionGenerator { fn clone(&self) -> Self { @@ -970,7 +970,7 @@ unsafe impl ::windows::core::Interface for TextPredictionGenerator { impl ::windows::core::RuntimeName for TextPredictionGenerator { const NAME: &'static str = "Windows.Data.Text.TextPredictionGenerator"; } -::windows::core::interface_hierarchy!(TextPredictionGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TextPredictionGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TextPredictionGenerator {} unsafe impl ::core::marker::Sync for TextPredictionGenerator {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -1017,7 +1017,7 @@ impl TextReverseConversionGenerator { } #[doc(hidden)] pub fn ITextReverseConversionGeneratorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1033,7 +1033,7 @@ impl ::core::fmt::Debug for TextReverseConversionGenerator { } } impl ::windows::core::RuntimeType for TextReverseConversionGenerator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextReverseConversionGenerator;{51e7f514-9c51-4d86-ae1b-b498fbad8313})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextReverseConversionGenerator;{51e7f514-9c51-4d86-ae1b-b498fbad8313})"); } impl ::core::clone::Clone for TextReverseConversionGenerator { fn clone(&self) -> Self { @@ -1049,7 +1049,7 @@ unsafe impl ::windows::core::Interface for TextReverseConversionGenerator { impl ::windows::core::RuntimeName for TextReverseConversionGenerator { const NAME: &'static str = "Windows.Data.Text.TextReverseConversionGenerator"; } -::windows::core::interface_hierarchy!(TextReverseConversionGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TextReverseConversionGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TextReverseConversionGenerator {} unsafe impl ::core::marker::Sync for TextReverseConversionGenerator {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -1156,7 +1156,7 @@ impl UnicodeCharacters { } #[doc(hidden)] pub fn IUnicodeCharactersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1203,7 +1203,7 @@ impl ::core::fmt::Debug for WordSegment { } } impl ::windows::core::RuntimeType for WordSegment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.WordSegment;{d2d4ba6d-987c-4cc0-b6bd-d49a11b38f9a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.WordSegment;{d2d4ba6d-987c-4cc0-b6bd-d49a11b38f9a})"); } impl ::core::clone::Clone for WordSegment { fn clone(&self) -> Self { @@ -1219,7 +1219,7 @@ unsafe impl ::windows::core::Interface for WordSegment { impl ::windows::core::RuntimeName for WordSegment { const NAME: &'static str = "Windows.Data.Text.WordSegment"; } -::windows::core::interface_hierarchy!(WordSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WordSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WordSegment {} unsafe impl ::core::marker::Sync for WordSegment {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -1263,7 +1263,7 @@ impl WordsSegmenter { } #[doc(hidden)] pub fn IWordsSegmenterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1279,7 +1279,7 @@ impl ::core::fmt::Debug for WordsSegmenter { } } impl ::windows::core::RuntimeType for WordsSegmenter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Text.WordsSegmenter;{86b4d4d1-b2fe-4e34-a81d-66640300454f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.WordsSegmenter;{86b4d4d1-b2fe-4e34-a81d-66640300454f})"); } impl ::core::clone::Clone for WordsSegmenter { fn clone(&self) -> Self { @@ -1295,7 +1295,7 @@ unsafe impl ::windows::core::Interface for WordsSegmenter { impl ::windows::core::RuntimeName for WordsSegmenter { const NAME: &'static str = "Windows.Data.Text.WordsSegmenter"; } -::windows::core::interface_hierarchy!(WordsSegmenter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WordsSegmenter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WordsSegmenter {} unsafe impl ::core::marker::Sync for WordsSegmenter {} #[doc = "*Required features: `\"Data_Text\"`*"] @@ -1329,7 +1329,7 @@ impl ::core::fmt::Debug for AlternateNormalizationFormat { } } impl ::windows::core::RuntimeType for AlternateNormalizationFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Data.Text.AlternateNormalizationFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Data.Text.AlternateNormalizationFormat;i4)"); } #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] @@ -1393,7 +1393,7 @@ impl ::core::ops::Not for TextPredictionOptions { } } impl ::windows::core::RuntimeType for TextPredictionOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Data.Text.TextPredictionOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Data.Text.TextPredictionOptions;u4)"); } #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] @@ -1451,7 +1451,7 @@ impl ::core::fmt::Debug for UnicodeGeneralCategory { } } impl ::windows::core::RuntimeType for UnicodeGeneralCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Data.Text.UnicodeGeneralCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Data.Text.UnicodeGeneralCategory;i4)"); } #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] @@ -1483,7 +1483,7 @@ impl ::core::fmt::Debug for UnicodeNumericType { } } impl ::windows::core::RuntimeType for UnicodeNumericType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Data.Text.UnicodeNumericType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Data.Text.UnicodeNumericType;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Data_Text\"`*"] @@ -1506,7 +1506,7 @@ impl ::windows::core::TypeKind for TextSegment { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for TextSegment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Data.Text.TextSegment;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Data.Text.TextSegment;u4;u4)"); } impl ::core::cmp::PartialEq for TextSegment { fn eq(&self, other: &Self) -> bool { @@ -1526,8 +1526,8 @@ pub struct SelectableWordSegmentsTokenizingHandler(pub ::windows::core::IUnknown #[cfg(feature = "Foundation_Collections")] impl SelectableWordSegmentsTokenizingHandler { pub fn new>, ::core::option::Option<&super::super::Foundation::Collections::IIterable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = SelectableWordSegmentsTokenizingHandlerBox:: { vtable: &SelectableWordSegmentsTokenizingHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = SelectableWordSegmentsTokenizingHandlerBox:: { vtable: &SelectableWordSegmentsTokenizingHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] @@ -1547,7 +1547,7 @@ impl SelectableWordSegmentsTokenizingHandler { struct SelectableWordSegmentsTokenizingHandlerBox>, ::core::option::Option<&super::super::Foundation::Collections::IIterable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const SelectableWordSegmentsTokenizingHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "Foundation_Collections")] impl>, ::core::option::Option<&super::super::Foundation::Collections::IIterable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> SelectableWordSegmentsTokenizingHandlerBox { @@ -1557,7 +1557,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1573,7 +1573,7 @@ impl>, ::core::option::Option<&super::super::Foundation::Collections::IIterable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = WordSegmentsTokenizingHandlerBox:: { vtable: &WordSegmentsTokenizingHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = WordSegmentsTokenizingHandlerBox:: { vtable: &WordSegmentsTokenizingHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] @@ -1652,7 +1652,7 @@ impl WordSegmentsTokenizingHandler { struct WordSegmentsTokenizingHandlerBox>, ::core::option::Option<&super::super::Foundation::Collections::IIterable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const WordSegmentsTokenizingHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "Foundation_Collections")] impl>, ::core::option::Option<&super::super::Foundation::Collections::IIterable>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> WordSegmentsTokenizingHandlerBox { @@ -1662,7 +1662,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1678,7 +1678,7 @@ impl for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: IXmlCharacterData) -> ::windows::core::Result { @@ -429,7 +429,7 @@ impl ::core::fmt::Debug for IXmlCharacterData { } } impl ::windows::core::RuntimeType for IXmlCharacterData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{132e42ab-4e36-4df6-b1c8-0ce62fd88b26}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{132e42ab-4e36-4df6-b1c8-0ce62fd88b26}"); } unsafe impl ::windows::core::Vtable for IXmlCharacterData { type Vtable = IXmlCharacterData_Vtbl; @@ -1000,7 +1000,7 @@ impl IXmlNode { unsafe { (::windows::core::Vtable::vtable(this).SetInnerText)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -::windows::core::interface_hierarchy!(IXmlNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IXmlNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNodeSelector { type Error = ::windows::core::Error; fn try_from(value: IXmlNode) -> ::windows::core::Result { @@ -1051,7 +1051,7 @@ impl ::core::fmt::Debug for IXmlNode { } } impl ::windows::core::RuntimeType for IXmlNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1c741d59-2122-47d5-a856-83f3d4214875}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1c741d59-2122-47d5-a856-83f3d4214875}"); } unsafe impl ::windows::core::Vtable for IXmlNode { type Vtable = IXmlNode_Vtbl; @@ -1152,7 +1152,7 @@ impl IXmlNodeSelector { } } } -::windows::core::interface_hierarchy!(IXmlNodeSelector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IXmlNodeSelector, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IXmlNodeSelector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1165,7 +1165,7 @@ impl ::core::fmt::Debug for IXmlNodeSelector { } } impl ::windows::core::RuntimeType for IXmlNodeSelector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{63dbba8b-d0db-4fe1-b745-f9433afdc25b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{63dbba8b-d0db-4fe1-b745-f9433afdc25b}"); } unsafe impl ::windows::core::Vtable for IXmlNodeSelector { type Vtable = IXmlNodeSelector_Vtbl; @@ -1210,7 +1210,7 @@ impl IXmlNodeSerializer { unsafe { (::windows::core::Vtable::vtable(this).SetInnerText)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -::windows::core::interface_hierarchy!(IXmlNodeSerializer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IXmlNodeSerializer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IXmlNodeSerializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1223,7 +1223,7 @@ impl ::core::fmt::Debug for IXmlNodeSerializer { } } impl ::windows::core::RuntimeType for IXmlNodeSerializer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5cc5b382-e6dd-4991-abef-06d8d2e7bd0c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5cc5b382-e6dd-4991-abef-06d8d2e7bd0c}"); } unsafe impl ::windows::core::Vtable for IXmlNodeSerializer { type Vtable = IXmlNodeSerializer_Vtbl; @@ -1549,7 +1549,7 @@ impl IXmlText { unsafe { (::windows::core::Vtable::vtable(this).SetInnerText)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -::windows::core::interface_hierarchy!(IXmlText, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IXmlText, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlCharacterData { type Error = ::windows::core::Error; fn try_from(value: IXmlText) -> ::windows::core::Result { @@ -1638,7 +1638,7 @@ impl ::core::fmt::Debug for IXmlText { } } impl ::windows::core::RuntimeType for IXmlText { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f931a4cb-308d-4760-a1d5-43b67450ac7e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f931a4cb-308d-4760-a1d5-43b67450ac7e}"); } unsafe impl ::windows::core::Vtable for IXmlText { type Vtable = IXmlText_Vtbl; @@ -1925,7 +1925,7 @@ impl ::core::fmt::Debug for DtdEntity { } } impl ::windows::core::RuntimeType for DtdEntity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.DtdEntity;{6a0b5ffc-63b4-480f-9e6a-8a92816aade4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.DtdEntity;{6a0b5ffc-63b4-480f-9e6a-8a92816aade4})"); } impl ::core::clone::Clone for DtdEntity { fn clone(&self) -> Self { @@ -1941,7 +1941,7 @@ unsafe impl ::windows::core::Interface for DtdEntity { impl ::windows::core::RuntimeName for DtdEntity { const NAME: &'static str = "Windows.Data.Xml.Dom.DtdEntity"; } -::windows::core::interface_hierarchy!(DtdEntity, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DtdEntity, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: DtdEntity) -> ::windows::core::Result { @@ -2262,7 +2262,7 @@ impl ::core::fmt::Debug for DtdNotation { } } impl ::windows::core::RuntimeType for DtdNotation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.DtdNotation;{8cb4e04d-6d46-4edb-ab73-df83c51ad397})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.DtdNotation;{8cb4e04d-6d46-4edb-ab73-df83c51ad397})"); } impl ::core::clone::Clone for DtdNotation { fn clone(&self) -> Self { @@ -2278,7 +2278,7 @@ unsafe impl ::windows::core::Interface for DtdNotation { impl ::windows::core::RuntimeName for DtdNotation { const NAME: &'static str = "Windows.Data.Xml.Dom.DtdNotation"; } -::windows::core::interface_hierarchy!(DtdNotation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DtdNotation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: DtdNotation) -> ::windows::core::Result { @@ -2610,7 +2610,7 @@ impl ::core::fmt::Debug for XmlAttribute { } } impl ::windows::core::RuntimeType for XmlAttribute { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlAttribute;{ac144aa4-b4f1-4db6-b206-8a22c308db0a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlAttribute;{ac144aa4-b4f1-4db6-b206-8a22c308db0a})"); } impl ::core::clone::Clone for XmlAttribute { fn clone(&self) -> Self { @@ -2626,7 +2626,7 @@ unsafe impl ::windows::core::Interface for XmlAttribute { impl ::windows::core::RuntimeName for XmlAttribute { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlAttribute"; } -::windows::core::interface_hierarchy!(XmlAttribute, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlAttribute, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: XmlAttribute) -> ::windows::core::Result { @@ -2981,7 +2981,7 @@ impl ::core::fmt::Debug for XmlCDataSection { } } impl ::windows::core::RuntimeType for XmlCDataSection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlCDataSection;{4d04b46f-c8bd-45b4-8899-0400d7c2c60f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlCDataSection;{4d04b46f-c8bd-45b4-8899-0400d7c2c60f})"); } impl ::core::clone::Clone for XmlCDataSection { fn clone(&self) -> Self { @@ -2997,7 +2997,7 @@ unsafe impl ::windows::core::Interface for XmlCDataSection { impl ::windows::core::RuntimeName for XmlCDataSection { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlCDataSection"; } -::windows::core::interface_hierarchy!(XmlCDataSection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlCDataSection, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlCharacterData { type Error = ::windows::core::Error; fn try_from(value: XmlCDataSection) -> ::windows::core::Result { @@ -3383,7 +3383,7 @@ impl ::core::fmt::Debug for XmlComment { } } impl ::windows::core::RuntimeType for XmlComment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlComment;{bca474d5-b61f-4611-9cac-2e92e3476d47})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlComment;{bca474d5-b61f-4611-9cac-2e92e3476d47})"); } impl ::core::clone::Clone for XmlComment { fn clone(&self) -> Self { @@ -3399,7 +3399,7 @@ unsafe impl ::windows::core::Interface for XmlComment { impl ::windows::core::RuntimeName for XmlComment { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlComment"; } -::windows::core::interface_hierarchy!(XmlComment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlComment, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlCharacterData { type Error = ::windows::core::Error; fn try_from(value: XmlComment) -> ::windows::core::Result { @@ -3485,8 +3485,8 @@ impl XmlDocument { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Doctype(&self) -> ::windows::core::Result { @@ -3931,7 +3931,7 @@ impl XmlDocument { } #[doc(hidden)] pub fn IXmlDocumentStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3947,7 +3947,7 @@ impl ::core::fmt::Debug for XmlDocument { } } impl ::windows::core::RuntimeType for XmlDocument { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocument;{f7f3a506-1e87-42d6-bcfb-b8c809fa5494})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocument;{f7f3a506-1e87-42d6-bcfb-b8c809fa5494})"); } impl ::core::clone::Clone for XmlDocument { fn clone(&self) -> Self { @@ -3963,7 +3963,7 @@ unsafe impl ::windows::core::Interface for XmlDocument { impl ::windows::core::RuntimeName for XmlDocument { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlDocument"; } -::windows::core::interface_hierarchy!(XmlDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: XmlDocument) -> ::windows::core::Result { @@ -4270,7 +4270,7 @@ impl ::core::fmt::Debug for XmlDocumentFragment { } } impl ::windows::core::RuntimeType for XmlDocumentFragment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocumentFragment;{e2ea6a96-0c21-44a5-8bc9-9e4a262708ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocumentFragment;{e2ea6a96-0c21-44a5-8bc9-9e4a262708ec})"); } impl ::core::clone::Clone for XmlDocumentFragment { fn clone(&self) -> Self { @@ -4286,7 +4286,7 @@ unsafe impl ::windows::core::Interface for XmlDocumentFragment { impl ::windows::core::RuntimeName for XmlDocumentFragment { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlDocumentFragment"; } -::windows::core::interface_hierarchy!(XmlDocumentFragment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlDocumentFragment, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: XmlDocumentFragment) -> ::windows::core::Result { @@ -4614,7 +4614,7 @@ impl ::core::fmt::Debug for XmlDocumentType { } } impl ::windows::core::RuntimeType for XmlDocumentType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocumentType;{f7342425-9781-4964-8e94-9b1c6dfc9bc7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocumentType;{f7342425-9781-4964-8e94-9b1c6dfc9bc7})"); } impl ::core::clone::Clone for XmlDocumentType { fn clone(&self) -> Self { @@ -4630,7 +4630,7 @@ unsafe impl ::windows::core::Interface for XmlDocumentType { impl ::windows::core::RuntimeName for XmlDocumentType { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlDocumentType"; } -::windows::core::interface_hierarchy!(XmlDocumentType, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlDocumentType, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: XmlDocumentType) -> ::windows::core::Result { @@ -4717,7 +4717,7 @@ impl ::core::fmt::Debug for XmlDomImplementation { } } impl ::windows::core::RuntimeType for XmlDomImplementation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDomImplementation;{6de58132-f11d-4fbb-8cc6-583cba93112f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDomImplementation;{6de58132-f11d-4fbb-8cc6-583cba93112f})"); } impl ::core::clone::Clone for XmlDomImplementation { fn clone(&self) -> Self { @@ -4733,7 +4733,7 @@ unsafe impl ::windows::core::Interface for XmlDomImplementation { impl ::windows::core::RuntimeName for XmlDomImplementation { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlDomImplementation"; } -::windows::core::interface_hierarchy!(XmlDomImplementation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlDomImplementation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XmlDomImplementation {} unsafe impl ::core::marker::Sync for XmlDomImplementation {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -5074,7 +5074,7 @@ impl ::core::fmt::Debug for XmlElement { } } impl ::windows::core::RuntimeType for XmlElement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlElement;{2dfb8a1f-6b10-4ef8-9f83-efcce8faec37})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlElement;{2dfb8a1f-6b10-4ef8-9f83-efcce8faec37})"); } impl ::core::clone::Clone for XmlElement { fn clone(&self) -> Self { @@ -5090,7 +5090,7 @@ unsafe impl ::windows::core::Interface for XmlElement { impl ::windows::core::RuntimeName for XmlElement { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlElement"; } -::windows::core::interface_hierarchy!(XmlElement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlElement, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: XmlElement) -> ::windows::core::Result { @@ -5397,7 +5397,7 @@ impl ::core::fmt::Debug for XmlEntityReference { } } impl ::windows::core::RuntimeType for XmlEntityReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlEntityReference;{2e2f47bc-c3d0-4ccf-bb86-0ab8c36a61cf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlEntityReference;{2e2f47bc-c3d0-4ccf-bb86-0ab8c36a61cf})"); } impl ::core::clone::Clone for XmlEntityReference { fn clone(&self) -> Self { @@ -5413,7 +5413,7 @@ unsafe impl ::windows::core::Interface for XmlEntityReference { impl ::windows::core::RuntimeName for XmlEntityReference { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlEntityReference"; } -::windows::core::interface_hierarchy!(XmlEntityReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlEntityReference, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: XmlEntityReference) -> ::windows::core::Result { @@ -5480,8 +5480,8 @@ impl XmlLoadSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MaxElementDepth(&self) -> ::windows::core::Result { @@ -5552,7 +5552,7 @@ impl ::core::fmt::Debug for XmlLoadSettings { } } impl ::windows::core::RuntimeType for XmlLoadSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlLoadSettings;{58aa07a8-fed6-46f7-b4c5-fb1ba72108d6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlLoadSettings;{58aa07a8-fed6-46f7-b4c5-fb1ba72108d6})"); } impl ::core::clone::Clone for XmlLoadSettings { fn clone(&self) -> Self { @@ -5568,7 +5568,7 @@ unsafe impl ::windows::core::Interface for XmlLoadSettings { impl ::windows::core::RuntimeName for XmlLoadSettings { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlLoadSettings"; } -::windows::core::interface_hierarchy!(XmlLoadSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlLoadSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XmlLoadSettings {} unsafe impl ::core::marker::Sync for XmlLoadSettings {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -5707,7 +5707,7 @@ impl ::core::fmt::Debug for XmlNamedNodeMap { } } impl ::windows::core::RuntimeType for XmlNamedNodeMap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlNamedNodeMap;{b3a69eb0-aab0-4b82-a6fa-b1453f7c021b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlNamedNodeMap;{b3a69eb0-aab0-4b82-a6fa-b1453f7c021b})"); } impl ::core::clone::Clone for XmlNamedNodeMap { fn clone(&self) -> Self { @@ -5739,7 +5739,7 @@ impl ::core::iter::IntoIterator for &XmlNamedNodeMap { super::super::super::Foundation::Collections::VectorViewIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(XmlNamedNodeMap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlNamedNodeMap, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -5866,7 +5866,7 @@ impl ::core::fmt::Debug for XmlNodeList { } } impl ::windows::core::RuntimeType for XmlNodeList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlNodeList;{8c60ad77-83a4-4ec1-9c54-7ba429e13da6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlNodeList;{8c60ad77-83a4-4ec1-9c54-7ba429e13da6})"); } impl ::core::clone::Clone for XmlNodeList { fn clone(&self) -> Self { @@ -5898,7 +5898,7 @@ impl ::core::iter::IntoIterator for &XmlNodeList { super::super::super::Foundation::Collections::VectorViewIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(XmlNodeList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlNodeList, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -6210,7 +6210,7 @@ impl ::core::fmt::Debug for XmlProcessingInstruction { } } impl ::windows::core::RuntimeType for XmlProcessingInstruction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlProcessingInstruction;{2707fd1e-1e92-4ece-b6f4-26f069078ddc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlProcessingInstruction;{2707fd1e-1e92-4ece-b6f4-26f069078ddc})"); } impl ::core::clone::Clone for XmlProcessingInstruction { fn clone(&self) -> Self { @@ -6226,7 +6226,7 @@ unsafe impl ::windows::core::Interface for XmlProcessingInstruction { impl ::windows::core::RuntimeName for XmlProcessingInstruction { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlProcessingInstruction"; } -::windows::core::interface_hierarchy!(XmlProcessingInstruction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlProcessingInstruction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlNode { type Error = ::windows::core::Error; fn try_from(value: XmlProcessingInstruction) -> ::windows::core::Result { @@ -6581,7 +6581,7 @@ impl ::core::fmt::Debug for XmlText { } } impl ::windows::core::RuntimeType for XmlText { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlText;{f931a4cb-308d-4760-a1d5-43b67450ac7e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlText;{f931a4cb-308d-4760-a1d5-43b67450ac7e})"); } impl ::core::clone::Clone for XmlText { fn clone(&self) -> Self { @@ -6597,7 +6597,7 @@ unsafe impl ::windows::core::Interface for XmlText { impl ::windows::core::RuntimeName for XmlText { const NAME: &'static str = "Windows.Data.Xml.Dom.XmlText"; } -::windows::core::interface_hierarchy!(XmlText, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XmlText, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IXmlCharacterData { type Error = ::windows::core::Error; fn try_from(value: XmlText) -> ::windows::core::Result { @@ -6734,7 +6734,7 @@ impl ::core::fmt::Debug for NodeType { } } impl ::windows::core::RuntimeType for NodeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Data.Xml.Dom.NodeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Data.Xml.Dom.NodeType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs index 536db5c27c..e60f7a99ba 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs @@ -107,7 +107,7 @@ impl XsltProcessor { } #[doc(hidden)] pub fn IXsltProcessorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -123,7 +123,7 @@ impl ::core::fmt::Debug for XsltProcessor { } } impl ::windows::core::RuntimeType for XsltProcessor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Xsl.XsltProcessor;{7b64703f-550c-48c6-a90f-93a5b964518f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Xsl.XsltProcessor;{7b64703f-550c-48c6-a90f-93a5b964518f})"); } impl ::core::clone::Clone for XsltProcessor { fn clone(&self) -> Self { @@ -139,7 +139,7 @@ unsafe impl ::windows::core::Interface for XsltProcessor { impl ::windows::core::RuntimeName for XsltProcessor { const NAME: &'static str = "Windows.Data.Xml.Xsl.XsltProcessor"; } -::windows::core::interface_hierarchy!(XsltProcessor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XsltProcessor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XsltProcessor {} unsafe impl ::core::marker::Sync for XsltProcessor {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs index 9d2906e76e..5c9fc6ac70 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs @@ -64,7 +64,7 @@ impl IAdcControllerProvider { } } } -::windows::core::interface_hierarchy!(IAdcControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAdcControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAdcControllerProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -77,7 +77,7 @@ impl ::core::fmt::Debug for IAdcControllerProvider { } } impl ::windows::core::RuntimeType for IAdcControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{be545828-816d-4de5-a048-aba06958aaa8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{be545828-816d-4de5-a048-aba06958aaa8}"); } unsafe impl ::windows::core::Vtable for IAdcControllerProvider { type Vtable = IAdcControllerProvider_Vtbl; @@ -119,7 +119,7 @@ impl IAdcProvider { } } } -::windows::core::interface_hierarchy!(IAdcProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAdcProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAdcProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -132,7 +132,7 @@ impl ::core::fmt::Debug for IAdcProvider { } } impl ::windows::core::RuntimeType for IAdcProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{28953668-9359-4c57-bc88-e275e81638c9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{28953668-9359-4c57-bc88-e275e81638c9}"); } unsafe impl ::windows::core::Vtable for IAdcProvider { type Vtable = IAdcProvider_Vtbl; @@ -182,7 +182,7 @@ impl ::core::fmt::Debug for ProviderAdcChannelMode { } } impl ::windows::core::RuntimeType for ProviderAdcChannelMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Adc.Provider.ProviderAdcChannelMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Adc.Provider.ProviderAdcChannelMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs index 1de9912a69..5a54d3e4fd 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs @@ -139,7 +139,7 @@ impl ::core::fmt::Debug for AdcChannel { } } impl ::windows::core::RuntimeType for AdcChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Adc.AdcChannel;{040bf414-2588-4a56-abef-73a260acc60a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Adc.AdcChannel;{040bf414-2588-4a56-abef-73a260acc60a})"); } impl ::core::clone::Clone for AdcChannel { fn clone(&self) -> Self { @@ -155,7 +155,7 @@ unsafe impl ::windows::core::Interface for AdcChannel { impl ::windows::core::RuntimeName for AdcChannel { const NAME: &'static str = "Windows.Devices.Adc.AdcChannel"; } -::windows::core::interface_hierarchy!(AdcChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdcChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -259,12 +259,12 @@ impl AdcController { } #[doc(hidden)] pub fn IAdcControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAdcControllerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -280,7 +280,7 @@ impl ::core::fmt::Debug for AdcController { } } impl ::windows::core::RuntimeType for AdcController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Adc.AdcController;{2a76e4b0-a896-4219-86b6-ea8cdce98f56})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Adc.AdcController;{2a76e4b0-a896-4219-86b6-ea8cdce98f56})"); } impl ::core::clone::Clone for AdcController { fn clone(&self) -> Self { @@ -296,7 +296,7 @@ unsafe impl ::windows::core::Interface for AdcController { impl ::windows::core::RuntimeName for AdcController { const NAME: &'static str = "Windows.Devices.Adc.AdcController"; } -::windows::core::interface_hierarchy!(AdcController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdcController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdcController {} unsafe impl ::core::marker::Sync for AdcController {} #[doc = "*Required features: `\"Devices_Adc\"`*"] @@ -327,7 +327,7 @@ impl ::core::fmt::Debug for AdcChannelMode { } } impl ::windows::core::RuntimeType for AdcChannelMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Adc.AdcChannelMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Adc.AdcChannelMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Background/mod.rs b/crates/libs/windows/src/Windows/Devices/Background/mod.rs index 89d5d49880..6d7dc9e069 100644 --- a/crates/libs/windows/src/Windows/Devices/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Background/mod.rs @@ -84,7 +84,7 @@ impl ::core::fmt::Debug for DeviceServicingDetails { } } impl ::windows::core::RuntimeType for DeviceServicingDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Background.DeviceServicingDetails;{4aabee29-2344-4ac4-8527-4a8ef6905645})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Background.DeviceServicingDetails;{4aabee29-2344-4ac4-8527-4a8ef6905645})"); } impl ::core::clone::Clone for DeviceServicingDetails { fn clone(&self) -> Self { @@ -100,7 +100,7 @@ unsafe impl ::windows::core::Interface for DeviceServicingDetails { impl ::windows::core::RuntimeName for DeviceServicingDetails { const NAME: &'static str = "Windows.Devices.Background.DeviceServicingDetails"; } -::windows::core::interface_hierarchy!(DeviceServicingDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceServicingDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceServicingDetails {} unsafe impl ::core::marker::Sync for DeviceServicingDetails {} #[doc = "*Required features: `\"Devices_Background\"`*"] @@ -134,7 +134,7 @@ impl ::core::fmt::Debug for DeviceUseDetails { } } impl ::windows::core::RuntimeType for DeviceUseDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Background.DeviceUseDetails;{7d565141-557e-4154-b994-e4f7a11fb323})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Background.DeviceUseDetails;{7d565141-557e-4154-b994-e4f7a11fb323})"); } impl ::core::clone::Clone for DeviceUseDetails { fn clone(&self) -> Self { @@ -150,7 +150,7 @@ unsafe impl ::windows::core::Interface for DeviceUseDetails { impl ::windows::core::RuntimeName for DeviceUseDetails { const NAME: &'static str = "Windows.Devices.Background.DeviceUseDetails"; } -::windows::core::interface_hierarchy!(DeviceUseDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceUseDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceUseDetails {} unsafe impl ::core::marker::Sync for DeviceUseDetails {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs index 39745cea82..a321294833 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs @@ -583,8 +583,8 @@ impl BluetoothLEAdvertisement { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -675,7 +675,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisement { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement;{066fb2b7-33d1-4e7d-8367-cf81d0f79653})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement;{066fb2b7-33d1-4e7d-8367-cf81d0f79653})"); } impl ::core::clone::Clone for BluetoothLEAdvertisement { fn clone(&self) -> Self { @@ -691,7 +691,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisement { impl ::windows::core::RuntimeName for BluetoothLEAdvertisement { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisement, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisement {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisement {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -701,8 +701,8 @@ impl BluetoothLEAdvertisementBytePattern { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn DataType(&self) -> ::windows::core::Result { @@ -760,7 +760,7 @@ impl BluetoothLEAdvertisementBytePattern { } #[doc(hidden)] pub fn IBluetoothLEAdvertisementBytePatternFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -776,7 +776,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementBytePattern { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementBytePattern { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementBytePattern;{fbfad7f2-b9c5-4a08-bc51-502f8ef68a79})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementBytePattern;{fbfad7f2-b9c5-4a08-bc51-502f8ef68a79})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementBytePattern { fn clone(&self) -> Self { @@ -792,7 +792,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementBytePattern { impl ::windows::core::RuntimeName for BluetoothLEAdvertisementBytePattern { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementBytePattern"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementBytePattern, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementBytePattern, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementBytePattern {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementBytePattern {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -802,8 +802,8 @@ impl BluetoothLEAdvertisementDataSection { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn DataType(&self) -> ::windows::core::Result { @@ -850,7 +850,7 @@ impl BluetoothLEAdvertisementDataSection { } #[doc(hidden)] pub fn IBluetoothLEAdvertisementDataSectionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -866,7 +866,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementDataSection { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementDataSection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementDataSection;{d7213314-3a43-40f9-b6f0-92bfefc34ae3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementDataSection;{d7213314-3a43-40f9-b6f0-92bfefc34ae3})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementDataSection { fn clone(&self) -> Self { @@ -882,7 +882,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementDataSection { impl ::windows::core::RuntimeName for BluetoothLEAdvertisementDataSection { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementDataSection"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementDataSection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementDataSection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementDataSection {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementDataSection {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -1022,7 +1022,7 @@ impl BluetoothLEAdvertisementDataTypes { } #[doc(hidden)] pub fn IBluetoothLEAdvertisementDataTypesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1036,8 +1036,8 @@ impl BluetoothLEAdvertisementFilter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Advertisement(&self) -> ::windows::core::Result { @@ -1073,7 +1073,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementFilter { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFilter;{131eb0d3-d04e-47b1-837e-49405bf6f80f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFilter;{131eb0d3-d04e-47b1-837e-49405bf6f80f})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementFilter { fn clone(&self) -> Self { @@ -1089,7 +1089,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementFilter { impl ::windows::core::RuntimeName for BluetoothLEAdvertisementFilter { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFilter"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementFilter {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementFilter {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -1099,8 +1099,8 @@ impl BluetoothLEAdvertisementPublisher { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Status(&self) -> ::windows::core::Result { @@ -1200,7 +1200,7 @@ impl BluetoothLEAdvertisementPublisher { } #[doc(hidden)] pub fn IBluetoothLEAdvertisementPublisherFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1216,7 +1216,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisher { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementPublisher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher;{cde820f9-d9fa-43d6-a264-ddd8b7da8b78})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher;{cde820f9-d9fa-43d6-a264-ddd8b7da8b78})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementPublisher { fn clone(&self) -> Self { @@ -1232,7 +1232,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementPublisher { impl ::windows::core::RuntimeName for BluetoothLEAdvertisementPublisher { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementPublisher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementPublisher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementPublisher {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementPublisher {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -1275,7 +1275,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisherStatusChangedEventA } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementPublisherStatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatusChangedEventArgs;{09c2bd9f-2dff-4b23-86ee-0d14fb94aeae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatusChangedEventArgs;{09c2bd9f-2dff-4b23-86ee-0d14fb94aeae})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherStatusChangedEventArgs { fn clone(&self) -> Self { @@ -1291,7 +1291,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementPublisherStat impl ::windows::core::RuntimeName for BluetoothLEAdvertisementPublisherStatusChangedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementPublisherStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementPublisherStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementPublisherStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementPublisherStatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -1399,7 +1399,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementReceivedEventArgs { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementReceivedEventArgs;{27987ddf-e596-41be-8d43-9e6731d4a913})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementReceivedEventArgs;{27987ddf-e596-41be-8d43-9e6731d4a913})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementReceivedEventArgs { fn clone(&self) -> Self { @@ -1415,7 +1415,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementReceivedEvent impl ::windows::core::RuntimeName for BluetoothLEAdvertisementReceivedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementReceivedEventArgs"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementReceivedEventArgs {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementReceivedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -1425,8 +1425,8 @@ impl BluetoothLEAdvertisementWatcher { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -1562,7 +1562,7 @@ impl BluetoothLEAdvertisementWatcher { } #[doc(hidden)] pub fn IBluetoothLEAdvertisementWatcherFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1578,7 +1578,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcher { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher;{a6ac336f-f3d3-4297-8d6c-c81ea6623f40})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher;{a6ac336f-f3d3-4297-8d6c-c81ea6623f40})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementWatcher { fn clone(&self) -> Self { @@ -1594,7 +1594,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementWatcher { impl ::windows::core::RuntimeName for BluetoothLEAdvertisementWatcher { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementWatcher {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcher {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -1621,7 +1621,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcherStoppedEventArgs { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementWatcherStoppedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStoppedEventArgs;{dd40f84d-e7b9-43e3-9c04-0685d085fd8c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStoppedEventArgs;{dd40f84d-e7b9-43e3-9c04-0685d085fd8c})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherStoppedEventArgs { fn clone(&self) -> Self { @@ -1637,7 +1637,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementWatcherStoppe impl ::windows::core::RuntimeName for BluetoothLEAdvertisementWatcherStoppedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStoppedEventArgs"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementWatcherStoppedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementWatcherStoppedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementWatcherStoppedEventArgs {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcherStoppedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -1647,8 +1647,8 @@ impl BluetoothLEManufacturerData { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CompanyId(&self) -> ::windows::core::Result { @@ -1695,7 +1695,7 @@ impl BluetoothLEManufacturerData { } #[doc(hidden)] pub fn IBluetoothLEManufacturerDataFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1711,7 +1711,7 @@ impl ::core::fmt::Debug for BluetoothLEManufacturerData { } } impl ::windows::core::RuntimeType for BluetoothLEManufacturerData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData;{912dba18-6963-4533-b061-4694dafb34e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData;{912dba18-6963-4533-b061-4694dafb34e5})"); } impl ::core::clone::Clone for BluetoothLEManufacturerData { fn clone(&self) -> Self { @@ -1727,7 +1727,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEManufacturerData { impl ::windows::core::RuntimeName for BluetoothLEManufacturerData { const NAME: &'static str = "Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData"; } -::windows::core::interface_hierarchy!(BluetoothLEManufacturerData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEManufacturerData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEManufacturerData {} unsafe impl ::core::marker::Sync for BluetoothLEManufacturerData {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -1795,7 +1795,7 @@ impl ::core::ops::Not for BluetoothLEAdvertisementFlags { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementFlags { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFlags;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFlags;u4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] @@ -1829,7 +1829,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisherStatus { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementPublisherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatus;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] @@ -1863,7 +1863,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementType { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementType;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] @@ -1896,7 +1896,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcherStatus { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStatus;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] @@ -1927,7 +1927,7 @@ impl ::core::fmt::Debug for BluetoothLEScanningMode { } } impl ::windows::core::RuntimeType for BluetoothLEScanningMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEScanningMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Advertisement.BluetoothLEScanningMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs index dc8c4e6d16..4ea98111ac 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs @@ -321,7 +321,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisherTriggerDetails { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementPublisherTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementPublisherTriggerDetails;{610eca86-3480-41c9-a918-7ddadf207e00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementPublisherTriggerDetails;{610eca86-3480-41c9-a918-7ddadf207e00})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherTriggerDetails { fn clone(&self) -> Self { @@ -337,7 +337,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementPublisherTrig impl ::windows::core::RuntimeName for BluetoothLEAdvertisementPublisherTriggerDetails { const NAME: &'static str = "Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementPublisherTriggerDetails"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementPublisherTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementPublisherTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementPublisherTriggerDetails {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementPublisherTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -380,7 +380,7 @@ impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcherTriggerDetails { } } impl ::windows::core::RuntimeType for BluetoothLEAdvertisementWatcherTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementWatcherTriggerDetails;{a7db5ad7-2257-4e69-9784-fee645c1dce0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementWatcherTriggerDetails;{a7db5ad7-2257-4e69-9784-fee645c1dce0})"); } impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherTriggerDetails { fn clone(&self) -> Self { @@ -396,7 +396,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAdvertisementWatcherTrigge impl ::windows::core::RuntimeName for BluetoothLEAdvertisementWatcherTriggerDetails { const NAME: &'static str = "Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementWatcherTriggerDetails"; } -::windows::core::interface_hierarchy!(BluetoothLEAdvertisementWatcherTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAdvertisementWatcherTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAdvertisementWatcherTriggerDetails {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcherTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -457,7 +457,7 @@ impl ::core::fmt::Debug for GattCharacteristicNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for GattCharacteristicNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattCharacteristicNotificationTriggerDetails;{9ba03b18-0fec-436a-93b1-f46c697532a2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattCharacteristicNotificationTriggerDetails;{9ba03b18-0fec-436a-93b1-f46c697532a2})"); } impl ::core::clone::Clone for GattCharacteristicNotificationTriggerDetails { fn clone(&self) -> Self { @@ -473,7 +473,7 @@ unsafe impl ::windows::core::Interface for GattCharacteristicNotificationTrigger impl ::windows::core::RuntimeName for GattCharacteristicNotificationTriggerDetails { const NAME: &'static str = "Windows.Devices.Bluetooth.Background.GattCharacteristicNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(GattCharacteristicNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattCharacteristicNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattCharacteristicNotificationTriggerDetails {} unsafe impl ::core::marker::Sync for GattCharacteristicNotificationTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -510,7 +510,7 @@ impl GattServiceProviderConnection { } #[doc(hidden)] pub fn IGattServiceProviderConnectionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -526,7 +526,7 @@ impl ::core::fmt::Debug for GattServiceProviderConnection { } } impl ::windows::core::RuntimeType for GattServiceProviderConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattServiceProviderConnection;{7fa1b9b9-2f13-40b5-9582-8eb78e98ef13})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattServiceProviderConnection;{7fa1b9b9-2f13-40b5-9582-8eb78e98ef13})"); } impl ::core::clone::Clone for GattServiceProviderConnection { fn clone(&self) -> Self { @@ -542,7 +542,7 @@ unsafe impl ::windows::core::Interface for GattServiceProviderConnection { impl ::windows::core::RuntimeName for GattServiceProviderConnection { const NAME: &'static str = "Windows.Devices.Bluetooth.Background.GattServiceProviderConnection"; } -::windows::core::interface_hierarchy!(GattServiceProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattServiceProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattServiceProviderConnection {} unsafe impl ::core::marker::Sync for GattServiceProviderConnection {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -569,7 +569,7 @@ impl ::core::fmt::Debug for GattServiceProviderTriggerDetails { } } impl ::windows::core::RuntimeType for GattServiceProviderTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattServiceProviderTriggerDetails;{ae8c0625-05ff-4afb-b16a-de95f3cf0158})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattServiceProviderTriggerDetails;{ae8c0625-05ff-4afb-b16a-de95f3cf0158})"); } impl ::core::clone::Clone for GattServiceProviderTriggerDetails { fn clone(&self) -> Self { @@ -585,7 +585,7 @@ unsafe impl ::windows::core::Interface for GattServiceProviderTriggerDetails { impl ::windows::core::RuntimeName for GattServiceProviderTriggerDetails { const NAME: &'static str = "Windows.Devices.Bluetooth.Background.GattServiceProviderTriggerDetails"; } -::windows::core::interface_hierarchy!(GattServiceProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattServiceProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattServiceProviderTriggerDetails {} unsafe impl ::core::marker::Sync for GattServiceProviderTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -628,7 +628,7 @@ impl ::core::fmt::Debug for RfcommConnectionTriggerDetails { } } impl ::windows::core::RuntimeType for RfcommConnectionTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommConnectionTriggerDetails;{f922734d-2e3c-4efc-ab59-fc5cf96f97e3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommConnectionTriggerDetails;{f922734d-2e3c-4efc-ab59-fc5cf96f97e3})"); } impl ::core::clone::Clone for RfcommConnectionTriggerDetails { fn clone(&self) -> Self { @@ -644,7 +644,7 @@ unsafe impl ::windows::core::Interface for RfcommConnectionTriggerDetails { impl ::windows::core::RuntimeName for RfcommConnectionTriggerDetails { const NAME: &'static str = "Windows.Devices.Bluetooth.Background.RfcommConnectionTriggerDetails"; } -::windows::core::interface_hierarchy!(RfcommConnectionTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RfcommConnectionTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RfcommConnectionTriggerDetails {} unsafe impl ::core::marker::Sync for RfcommConnectionTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -709,7 +709,7 @@ impl ::core::fmt::Debug for RfcommInboundConnectionInformation { } } impl ::windows::core::RuntimeType for RfcommInboundConnectionInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommInboundConnectionInformation;{6d3e75a8-5429-4059-92e3-1e8b65528707})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommInboundConnectionInformation;{6d3e75a8-5429-4059-92e3-1e8b65528707})"); } impl ::core::clone::Clone for RfcommInboundConnectionInformation { fn clone(&self) -> Self { @@ -725,7 +725,7 @@ unsafe impl ::windows::core::Interface for RfcommInboundConnectionInformation { impl ::windows::core::RuntimeName for RfcommInboundConnectionInformation { const NAME: &'static str = "Windows.Devices.Bluetooth.Background.RfcommInboundConnectionInformation"; } -::windows::core::interface_hierarchy!(RfcommInboundConnectionInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RfcommInboundConnectionInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RfcommInboundConnectionInformation {} unsafe impl ::core::marker::Sync for RfcommInboundConnectionInformation {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -760,7 +760,7 @@ impl ::core::fmt::Debug for RfcommOutboundConnectionInformation { } } impl ::windows::core::RuntimeType for RfcommOutboundConnectionInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommOutboundConnectionInformation;{b091227b-f434-4cb0-99b1-4ab8cedaedd7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommOutboundConnectionInformation;{b091227b-f434-4cb0-99b1-4ab8cedaedd7})"); } impl ::core::clone::Clone for RfcommOutboundConnectionInformation { fn clone(&self) -> Self { @@ -776,7 +776,7 @@ unsafe impl ::windows::core::Interface for RfcommOutboundConnectionInformation { impl ::windows::core::RuntimeName for RfcommOutboundConnectionInformation { const NAME: &'static str = "Windows.Devices.Bluetooth.Background.RfcommOutboundConnectionInformation"; } -::windows::core::interface_hierarchy!(RfcommOutboundConnectionInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RfcommOutboundConnectionInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RfcommOutboundConnectionInformation {} unsafe impl ::core::marker::Sync for RfcommOutboundConnectionInformation {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] @@ -808,7 +808,7 @@ impl ::core::fmt::Debug for BluetoothEventTriggeringMode { } } impl ::windows::core::RuntimeType for BluetoothEventTriggeringMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Background.BluetoothEventTriggeringMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.Background.BluetoothEventTriggeringMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs index 6e9f6e1f95..44e1c6e89d 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -2000,7 +2000,7 @@ impl GattCharacteristic { } #[doc(hidden)] pub fn IGattCharacteristicStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2016,7 +2016,7 @@ impl ::core::fmt::Debug for GattCharacteristic { } } impl ::windows::core::RuntimeType for GattCharacteristic { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic;{59cb50c1-5934-4f68-a198-eb864fa44e6b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic;{59cb50c1-5934-4f68-a198-eb864fa44e6b})"); } impl ::core::clone::Clone for GattCharacteristic { fn clone(&self) -> Self { @@ -2032,7 +2032,7 @@ unsafe impl ::windows::core::Interface for GattCharacteristic { impl ::windows::core::RuntimeName for GattCharacteristic { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic"; } -::windows::core::interface_hierarchy!(GattCharacteristic, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattCharacteristic, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattCharacteristic {} unsafe impl ::core::marker::Sync for GattCharacteristic {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -2526,12 +2526,12 @@ impl GattCharacteristicUuids { } #[doc(hidden)] pub fn IGattCharacteristicUuidsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGattCharacteristicUuidsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2580,7 +2580,7 @@ impl ::core::fmt::Debug for GattCharacteristicsResult { } } impl ::windows::core::RuntimeType for GattCharacteristicsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult;{1194945c-b257-4f3e-9db7-f68bc9a9aef2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult;{1194945c-b257-4f3e-9db7-f68bc9a9aef2})"); } impl ::core::clone::Clone for GattCharacteristicsResult { fn clone(&self) -> Self { @@ -2596,7 +2596,7 @@ unsafe impl ::windows::core::Interface for GattCharacteristicsResult { impl ::windows::core::RuntimeName for GattCharacteristicsResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult"; } -::windows::core::interface_hierarchy!(GattCharacteristicsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattCharacteristicsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattCharacteristicsResult {} unsafe impl ::core::marker::Sync for GattCharacteristicsResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -2646,7 +2646,7 @@ impl ::core::fmt::Debug for GattClientNotificationResult { } } impl ::windows::core::RuntimeType for GattClientNotificationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientNotificationResult;{506d5599-0112-419a-8e3b-ae21afabd2c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientNotificationResult;{506d5599-0112-419a-8e3b-ae21afabd2c2})"); } impl ::core::clone::Clone for GattClientNotificationResult { fn clone(&self) -> Self { @@ -2662,7 +2662,7 @@ unsafe impl ::windows::core::Interface for GattClientNotificationResult { impl ::windows::core::RuntimeName for GattClientNotificationResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientNotificationResult"; } -::windows::core::interface_hierarchy!(GattClientNotificationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattClientNotificationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattClientNotificationResult {} unsafe impl ::core::marker::Sync for GattClientNotificationResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -2748,7 +2748,7 @@ impl GattDescriptor { } #[doc(hidden)] pub fn IGattDescriptorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2764,7 +2764,7 @@ impl ::core::fmt::Debug for GattDescriptor { } } impl ::windows::core::RuntimeType for GattDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor;{92055f2b-8084-4344-b4c2-284de19a8506})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor;{92055f2b-8084-4344-b4c2-284de19a8506})"); } impl ::core::clone::Clone for GattDescriptor { fn clone(&self) -> Self { @@ -2780,7 +2780,7 @@ unsafe impl ::windows::core::Interface for GattDescriptor { impl ::windows::core::RuntimeName for GattDescriptor { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor"; } -::windows::core::interface_hierarchy!(GattDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattDescriptor {} unsafe impl ::core::marker::Sync for GattDescriptor {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -2824,7 +2824,7 @@ impl GattDescriptorUuids { } #[doc(hidden)] pub fn IGattDescriptorUuidsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2873,7 +2873,7 @@ impl ::core::fmt::Debug for GattDescriptorsResult { } } impl ::windows::core::RuntimeType for GattDescriptorsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptorsResult;{9bc091f3-95e7-4489-8d25-ff81955a57b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptorsResult;{9bc091f3-95e7-4489-8d25-ff81955a57b9})"); } impl ::core::clone::Clone for GattDescriptorsResult { fn clone(&self) -> Self { @@ -2889,7 +2889,7 @@ unsafe impl ::windows::core::Interface for GattDescriptorsResult { impl ::windows::core::RuntimeName for GattDescriptorsResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptorsResult"; } -::windows::core::interface_hierarchy!(GattDescriptorsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattDescriptorsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattDescriptorsResult {} unsafe impl ::core::marker::Sync for GattDescriptorsResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3154,12 +3154,12 @@ impl GattDeviceService { } #[doc(hidden)] pub fn IGattDeviceServiceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGattDeviceServiceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3175,7 +3175,7 @@ impl ::core::fmt::Debug for GattDeviceService { } } impl ::windows::core::RuntimeType for GattDeviceService { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService;{ac7b7c05-b33c-47cf-990f-6b8f5577df71})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService;{ac7b7c05-b33c-47cf-990f-6b8f5577df71})"); } impl ::core::clone::Clone for GattDeviceService { fn clone(&self) -> Self { @@ -3191,7 +3191,7 @@ unsafe impl ::windows::core::Interface for GattDeviceService { impl ::windows::core::RuntimeName for GattDeviceService { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService"; } -::windows::core::interface_hierarchy!(GattDeviceService, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattDeviceService, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3258,7 +3258,7 @@ impl ::core::fmt::Debug for GattDeviceServicesResult { } } impl ::windows::core::RuntimeType for GattDeviceServicesResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult;{171dd3ee-016d-419d-838a-576cf475a3d8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult;{171dd3ee-016d-419d-838a-576cf475a3d8})"); } impl ::core::clone::Clone for GattDeviceServicesResult { fn clone(&self) -> Self { @@ -3274,7 +3274,7 @@ unsafe impl ::windows::core::Interface for GattDeviceServicesResult { impl ::windows::core::RuntimeName for GattDeviceServicesResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult"; } -::windows::core::interface_hierarchy!(GattDeviceServicesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattDeviceServicesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattDeviceServicesResult {} unsafe impl ::core::marker::Sync for GattDeviceServicesResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3445,7 +3445,7 @@ impl ::core::fmt::Debug for GattLocalCharacteristic { } } impl ::windows::core::RuntimeType for GattLocalCharacteristic { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic;{aede376d-5412-4d74-92a8-8deb8526829c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic;{aede376d-5412-4d74-92a8-8deb8526829c})"); } impl ::core::clone::Clone for GattLocalCharacteristic { fn clone(&self) -> Self { @@ -3461,7 +3461,7 @@ unsafe impl ::windows::core::Interface for GattLocalCharacteristic { impl ::windows::core::RuntimeName for GattLocalCharacteristic { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic"; } -::windows::core::interface_hierarchy!(GattLocalCharacteristic, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattLocalCharacteristic, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattLocalCharacteristic {} unsafe impl ::core::marker::Sync for GattLocalCharacteristic {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3471,8 +3471,8 @@ impl GattLocalCharacteristicParameters { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -3560,7 +3560,7 @@ impl ::core::fmt::Debug for GattLocalCharacteristicParameters { } } impl ::windows::core::RuntimeType for GattLocalCharacteristicParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicParameters;{faf73db4-4cff-44c7-8445-040e6ead0063})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicParameters;{faf73db4-4cff-44c7-8445-040e6ead0063})"); } impl ::core::clone::Clone for GattLocalCharacteristicParameters { fn clone(&self) -> Self { @@ -3576,7 +3576,7 @@ unsafe impl ::windows::core::Interface for GattLocalCharacteristicParameters { impl ::windows::core::RuntimeName for GattLocalCharacteristicParameters { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicParameters"; } -::windows::core::interface_hierarchy!(GattLocalCharacteristicParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattLocalCharacteristicParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattLocalCharacteristicParameters {} unsafe impl ::core::marker::Sync for GattLocalCharacteristicParameters {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3610,7 +3610,7 @@ impl ::core::fmt::Debug for GattLocalCharacteristicResult { } } impl ::windows::core::RuntimeType for GattLocalCharacteristicResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicResult;{7975de9b-0170-4397-9666-92f863f12ee6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicResult;{7975de9b-0170-4397-9666-92f863f12ee6})"); } impl ::core::clone::Clone for GattLocalCharacteristicResult { fn clone(&self) -> Self { @@ -3626,7 +3626,7 @@ unsafe impl ::windows::core::Interface for GattLocalCharacteristicResult { impl ::windows::core::RuntimeName for GattLocalCharacteristicResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicResult"; } -::windows::core::interface_hierarchy!(GattLocalCharacteristicResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattLocalCharacteristicResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattLocalCharacteristicResult {} unsafe impl ::core::marker::Sync for GattLocalCharacteristicResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3706,7 +3706,7 @@ impl ::core::fmt::Debug for GattLocalDescriptor { } } impl ::windows::core::RuntimeType for GattLocalDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptor;{f48ebe06-789d-4a4b-8652-bd017b5d2fc6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptor;{f48ebe06-789d-4a4b-8652-bd017b5d2fc6})"); } impl ::core::clone::Clone for GattLocalDescriptor { fn clone(&self) -> Self { @@ -3722,7 +3722,7 @@ unsafe impl ::windows::core::Interface for GattLocalDescriptor { impl ::windows::core::RuntimeName for GattLocalDescriptor { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptor"; } -::windows::core::interface_hierarchy!(GattLocalDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattLocalDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattLocalDescriptor {} unsafe impl ::core::marker::Sync for GattLocalDescriptor {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3732,8 +3732,8 @@ impl GattLocalDescriptorParameters { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -3790,7 +3790,7 @@ impl ::core::fmt::Debug for GattLocalDescriptorParameters { } } impl ::windows::core::RuntimeType for GattLocalDescriptorParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorParameters;{5fdede6a-f3c1-4b66-8c4b-e3d2293b40e9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorParameters;{5fdede6a-f3c1-4b66-8c4b-e3d2293b40e9})"); } impl ::core::clone::Clone for GattLocalDescriptorParameters { fn clone(&self) -> Self { @@ -3806,7 +3806,7 @@ unsafe impl ::windows::core::Interface for GattLocalDescriptorParameters { impl ::windows::core::RuntimeName for GattLocalDescriptorParameters { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorParameters"; } -::windows::core::interface_hierarchy!(GattLocalDescriptorParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattLocalDescriptorParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattLocalDescriptorParameters {} unsafe impl ::core::marker::Sync for GattLocalDescriptorParameters {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3840,7 +3840,7 @@ impl ::core::fmt::Debug for GattLocalDescriptorResult { } } impl ::windows::core::RuntimeType for GattLocalDescriptorResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorResult;{375791be-321f-4366-bfc1-3bc6b82c79f8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorResult;{375791be-321f-4366-bfc1-3bc6b82c79f8})"); } impl ::core::clone::Clone for GattLocalDescriptorResult { fn clone(&self) -> Self { @@ -3856,7 +3856,7 @@ unsafe impl ::windows::core::Interface for GattLocalDescriptorResult { impl ::windows::core::RuntimeName for GattLocalDescriptorResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorResult"; } -::windows::core::interface_hierarchy!(GattLocalDescriptorResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattLocalDescriptorResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattLocalDescriptorResult {} unsafe impl ::core::marker::Sync for GattLocalDescriptorResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3901,7 +3901,7 @@ impl ::core::fmt::Debug for GattLocalService { } } impl ::windows::core::RuntimeType for GattLocalService { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService;{f513e258-f7f7-4902-b803-57fcc7d6fe83})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService;{f513e258-f7f7-4902-b803-57fcc7d6fe83})"); } impl ::core::clone::Clone for GattLocalService { fn clone(&self) -> Self { @@ -3917,7 +3917,7 @@ unsafe impl ::windows::core::Interface for GattLocalService { impl ::windows::core::RuntimeName for GattLocalService { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService"; } -::windows::core::interface_hierarchy!(GattLocalService, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattLocalService, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattLocalService {} unsafe impl ::core::marker::Sync for GattLocalService {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -3973,12 +3973,12 @@ impl GattPresentationFormat { } #[doc(hidden)] pub fn IGattPresentationFormatStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGattPresentationFormatStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3994,7 +3994,7 @@ impl ::core::fmt::Debug for GattPresentationFormat { } } impl ::windows::core::RuntimeType for GattPresentationFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattPresentationFormat;{196d0021-faad-45dc-ae5b-2ac3184e84db})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattPresentationFormat;{196d0021-faad-45dc-ae5b-2ac3184e84db})"); } impl ::core::clone::Clone for GattPresentationFormat { fn clone(&self) -> Self { @@ -4010,7 +4010,7 @@ unsafe impl ::windows::core::Interface for GattPresentationFormat { impl ::windows::core::RuntimeName for GattPresentationFormat { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattPresentationFormat"; } -::windows::core::interface_hierarchy!(GattPresentationFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattPresentationFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattPresentationFormat {} unsafe impl ::core::marker::Sync for GattPresentationFormat {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4180,7 +4180,7 @@ impl GattPresentationFormatTypes { } #[doc(hidden)] pub fn IGattPresentationFormatTypesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4294,7 +4294,7 @@ impl GattProtocolError { } #[doc(hidden)] pub fn IGattProtocolErrorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4341,7 +4341,7 @@ impl ::core::fmt::Debug for GattReadClientCharacteristicConfigurationDescriptorR } } impl ::windows::core::RuntimeType for GattReadClientCharacteristicConfigurationDescriptorResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadClientCharacteristicConfigurationDescriptorResult;{63a66f09-1aea-4c4c-a50f-97bae474b348})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadClientCharacteristicConfigurationDescriptorResult;{63a66f09-1aea-4c4c-a50f-97bae474b348})"); } impl ::core::clone::Clone for GattReadClientCharacteristicConfigurationDescriptorResult { fn clone(&self) -> Self { @@ -4357,7 +4357,7 @@ unsafe impl ::windows::core::Interface for GattReadClientCharacteristicConfigura impl ::windows::core::RuntimeName for GattReadClientCharacteristicConfigurationDescriptorResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadClientCharacteristicConfigurationDescriptorResult"; } -::windows::core::interface_hierarchy!(GattReadClientCharacteristicConfigurationDescriptorResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattReadClientCharacteristicConfigurationDescriptorResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattReadClientCharacteristicConfigurationDescriptorResult {} unsafe impl ::core::marker::Sync for GattReadClientCharacteristicConfigurationDescriptorResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4427,7 +4427,7 @@ impl ::core::fmt::Debug for GattReadRequest { } } impl ::windows::core::RuntimeType for GattReadRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequest;{f1dd6535-6acd-42a6-a4bb-d789dae0043e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequest;{f1dd6535-6acd-42a6-a4bb-d789dae0043e})"); } impl ::core::clone::Clone for GattReadRequest { fn clone(&self) -> Self { @@ -4443,7 +4443,7 @@ unsafe impl ::windows::core::Interface for GattReadRequest { impl ::windows::core::RuntimeName for GattReadRequest { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequest"; } -::windows::core::interface_hierarchy!(GattReadRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattReadRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattReadRequest {} unsafe impl ::core::marker::Sync for GattReadRequest {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4488,7 +4488,7 @@ impl ::core::fmt::Debug for GattReadRequestedEventArgs { } } impl ::windows::core::RuntimeType for GattReadRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequestedEventArgs;{93497243-f39c-484b-8ab6-996ba486cfa3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequestedEventArgs;{93497243-f39c-484b-8ab6-996ba486cfa3})"); } impl ::core::clone::Clone for GattReadRequestedEventArgs { fn clone(&self) -> Self { @@ -4504,7 +4504,7 @@ unsafe impl ::windows::core::Interface for GattReadRequestedEventArgs { impl ::windows::core::RuntimeName for GattReadRequestedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequestedEventArgs"; } -::windows::core::interface_hierarchy!(GattReadRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattReadRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattReadRequestedEventArgs {} unsafe impl ::core::marker::Sync for GattReadRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4549,7 +4549,7 @@ impl ::core::fmt::Debug for GattReadResult { } } impl ::windows::core::RuntimeType for GattReadResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadResult;{63a66f08-1aea-4c4c-a50f-97bae474b348})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadResult;{63a66f08-1aea-4c4c-a50f-97bae474b348})"); } impl ::core::clone::Clone for GattReadResult { fn clone(&self) -> Self { @@ -4565,7 +4565,7 @@ unsafe impl ::windows::core::Interface for GattReadResult { impl ::windows::core::RuntimeName for GattReadResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadResult"; } -::windows::core::interface_hierarchy!(GattReadResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattReadResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattReadResult {} unsafe impl ::core::marker::Sync for GattReadResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4575,8 +4575,8 @@ impl GattReliableWriteTransaction { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -4620,7 +4620,7 @@ impl ::core::fmt::Debug for GattReliableWriteTransaction { } } impl ::windows::core::RuntimeType for GattReliableWriteTransaction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReliableWriteTransaction;{63a66f07-1aea-4c4c-a50f-97bae474b348})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReliableWriteTransaction;{63a66f07-1aea-4c4c-a50f-97bae474b348})"); } impl ::core::clone::Clone for GattReliableWriteTransaction { fn clone(&self) -> Self { @@ -4636,7 +4636,7 @@ unsafe impl ::windows::core::Interface for GattReliableWriteTransaction { impl ::windows::core::RuntimeName for GattReliableWriteTransaction { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattReliableWriteTransaction"; } -::windows::core::interface_hierarchy!(GattReliableWriteTransaction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattReliableWriteTransaction, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattReliableWriteTransaction {} unsafe impl ::core::marker::Sync for GattReliableWriteTransaction {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4670,7 +4670,7 @@ impl ::core::fmt::Debug for GattRequestStateChangedEventArgs { } } impl ::windows::core::RuntimeType for GattRequestStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestStateChangedEventArgs;{e834d92c-27be-44b3-9d0d-4fc6e808dd3f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestStateChangedEventArgs;{e834d92c-27be-44b3-9d0d-4fc6e808dd3f})"); } impl ::core::clone::Clone for GattRequestStateChangedEventArgs { fn clone(&self) -> Self { @@ -4686,7 +4686,7 @@ unsafe impl ::windows::core::Interface for GattRequestStateChangedEventArgs { impl ::windows::core::RuntimeName for GattRequestStateChangedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(GattRequestStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattRequestStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattRequestStateChangedEventArgs {} unsafe impl ::core::marker::Sync for GattRequestStateChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4744,7 +4744,7 @@ impl GattServiceProvider { } #[doc(hidden)] pub fn IGattServiceProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4760,7 +4760,7 @@ impl ::core::fmt::Debug for GattServiceProvider { } } impl ::windows::core::RuntimeType for GattServiceProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider;{7822b3cd-2889-4f86-a051-3f0aed1c2760})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider;{7822b3cd-2889-4f86-a051-3f0aed1c2760})"); } impl ::core::clone::Clone for GattServiceProvider { fn clone(&self) -> Self { @@ -4776,7 +4776,7 @@ unsafe impl ::windows::core::Interface for GattServiceProvider { impl ::windows::core::RuntimeName for GattServiceProvider { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider"; } -::windows::core::interface_hierarchy!(GattServiceProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattServiceProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattServiceProvider {} unsafe impl ::core::marker::Sync for GattServiceProvider {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4810,7 +4810,7 @@ impl ::core::fmt::Debug for GattServiceProviderAdvertisementStatusChangedEventAr } } impl ::windows::core::RuntimeType for GattServiceProviderAdvertisementStatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatusChangedEventArgs;{59a5aa65-fa21-4ffc-b155-04d928012686})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatusChangedEventArgs;{59a5aa65-fa21-4ffc-b155-04d928012686})"); } impl ::core::clone::Clone for GattServiceProviderAdvertisementStatusChangedEventArgs { fn clone(&self) -> Self { @@ -4826,7 +4826,7 @@ unsafe impl ::windows::core::Interface for GattServiceProviderAdvertisementStatu impl ::windows::core::RuntimeName for GattServiceProviderAdvertisementStatusChangedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(GattServiceProviderAdvertisementStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattServiceProviderAdvertisementStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattServiceProviderAdvertisementStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for GattServiceProviderAdvertisementStatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4836,8 +4836,8 @@ impl GattServiceProviderAdvertisingParameters { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetIsConnectable(&self, value: bool) -> ::windows::core::Result<()> { @@ -4894,7 +4894,7 @@ impl ::core::fmt::Debug for GattServiceProviderAdvertisingParameters { } } impl ::windows::core::RuntimeType for GattServiceProviderAdvertisingParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters;{e2ce31ab-6315-4c22-9bd7-781dbc3d8d82})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters;{e2ce31ab-6315-4c22-9bd7-781dbc3d8d82})"); } impl ::core::clone::Clone for GattServiceProviderAdvertisingParameters { fn clone(&self) -> Self { @@ -4910,7 +4910,7 @@ unsafe impl ::windows::core::Interface for GattServiceProviderAdvertisingParamet impl ::windows::core::RuntimeName for GattServiceProviderAdvertisingParameters { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters"; } -::windows::core::interface_hierarchy!(GattServiceProviderAdvertisingParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattServiceProviderAdvertisingParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattServiceProviderAdvertisingParameters {} unsafe impl ::core::marker::Sync for GattServiceProviderAdvertisingParameters {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4944,7 +4944,7 @@ impl ::core::fmt::Debug for GattServiceProviderResult { } } impl ::windows::core::RuntimeType for GattServiceProviderResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderResult;{764696d8-c53e-428c-8a48-67afe02c3ae6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderResult;{764696d8-c53e-428c-8a48-67afe02c3ae6})"); } impl ::core::clone::Clone for GattServiceProviderResult { fn clone(&self) -> Self { @@ -4960,7 +4960,7 @@ unsafe impl ::windows::core::Interface for GattServiceProviderResult { impl ::windows::core::RuntimeName for GattServiceProviderResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderResult"; } -::windows::core::interface_hierarchy!(GattServiceProviderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattServiceProviderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattServiceProviderResult {} unsafe impl ::core::marker::Sync for GattServiceProviderResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -5100,12 +5100,12 @@ impl GattServiceUuids { } #[doc(hidden)] pub fn IGattServiceUuidsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGattServiceUuidsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5201,7 +5201,7 @@ impl GattSession { } #[doc(hidden)] pub fn IGattSessionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5217,7 +5217,7 @@ impl ::core::fmt::Debug for GattSession { } } impl ::windows::core::RuntimeType for GattSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession;{d23b5143-e04e-4c24-999c-9c256f9856b1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession;{d23b5143-e04e-4c24-999c-9c256f9856b1})"); } impl ::core::clone::Clone for GattSession { fn clone(&self) -> Self { @@ -5233,7 +5233,7 @@ unsafe impl ::windows::core::Interface for GattSession { impl ::windows::core::RuntimeName for GattSession { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession"; } -::windows::core::interface_hierarchy!(GattSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5289,7 +5289,7 @@ impl ::core::fmt::Debug for GattSessionStatusChangedEventArgs { } } impl ::windows::core::RuntimeType for GattSessionStatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatusChangedEventArgs;{7605b72e-837f-404c-ab34-3163f39ddf32})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatusChangedEventArgs;{7605b72e-837f-404c-ab34-3163f39ddf32})"); } impl ::core::clone::Clone for GattSessionStatusChangedEventArgs { fn clone(&self) -> Self { @@ -5305,7 +5305,7 @@ unsafe impl ::windows::core::Interface for GattSessionStatusChangedEventArgs { impl ::windows::core::RuntimeName for GattSessionStatusChangedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(GattSessionStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattSessionStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattSessionStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for GattSessionStatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -5354,7 +5354,7 @@ impl ::core::fmt::Debug for GattSubscribedClient { } } impl ::windows::core::RuntimeType for GattSubscribedClient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSubscribedClient;{736e9001-15a4-4ec2-9248-e3f20d463be9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSubscribedClient;{736e9001-15a4-4ec2-9248-e3f20d463be9})"); } impl ::core::clone::Clone for GattSubscribedClient { fn clone(&self) -> Self { @@ -5370,7 +5370,7 @@ unsafe impl ::windows::core::Interface for GattSubscribedClient { impl ::windows::core::RuntimeName for GattSubscribedClient { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattSubscribedClient"; } -::windows::core::interface_hierarchy!(GattSubscribedClient, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattSubscribedClient, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattSubscribedClient {} unsafe impl ::core::marker::Sync for GattSubscribedClient {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -5408,7 +5408,7 @@ impl ::core::fmt::Debug for GattValueChangedEventArgs { } } impl ::windows::core::RuntimeType for GattValueChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs;{d21bdb54-06e3-4ed8-a263-acfac8ba7313})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs;{d21bdb54-06e3-4ed8-a263-acfac8ba7313})"); } impl ::core::clone::Clone for GattValueChangedEventArgs { fn clone(&self) -> Self { @@ -5424,7 +5424,7 @@ unsafe impl ::windows::core::Interface for GattValueChangedEventArgs { impl ::windows::core::RuntimeName for GattValueChangedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs"; } -::windows::core::interface_hierarchy!(GattValueChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattValueChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattValueChangedEventArgs {} unsafe impl ::core::marker::Sync for GattValueChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -5497,7 +5497,7 @@ impl ::core::fmt::Debug for GattWriteRequest { } } impl ::windows::core::RuntimeType for GattWriteRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequest;{aeb6a9ed-de2f-4fc2-a9a8-94ea7844f13d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequest;{aeb6a9ed-de2f-4fc2-a9a8-94ea7844f13d})"); } impl ::core::clone::Clone for GattWriteRequest { fn clone(&self) -> Self { @@ -5513,7 +5513,7 @@ unsafe impl ::windows::core::Interface for GattWriteRequest { impl ::windows::core::RuntimeName for GattWriteRequest { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequest"; } -::windows::core::interface_hierarchy!(GattWriteRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattWriteRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattWriteRequest {} unsafe impl ::core::marker::Sync for GattWriteRequest {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -5558,7 +5558,7 @@ impl ::core::fmt::Debug for GattWriteRequestedEventArgs { } } impl ::windows::core::RuntimeType for GattWriteRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequestedEventArgs;{2dec8bbe-a73a-471a-94d5-037deadd0806})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequestedEventArgs;{2dec8bbe-a73a-471a-94d5-037deadd0806})"); } impl ::core::clone::Clone for GattWriteRequestedEventArgs { fn clone(&self) -> Self { @@ -5574,7 +5574,7 @@ unsafe impl ::windows::core::Interface for GattWriteRequestedEventArgs { impl ::windows::core::RuntimeName for GattWriteRequestedEventArgs { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequestedEventArgs"; } -::windows::core::interface_hierarchy!(GattWriteRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattWriteRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattWriteRequestedEventArgs {} unsafe impl ::core::marker::Sync for GattWriteRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -5610,7 +5610,7 @@ impl ::core::fmt::Debug for GattWriteResult { } } impl ::windows::core::RuntimeType for GattWriteResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteResult;{4991ddb1-cb2b-44f7-99fc-d29a2871dc9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteResult;{4991ddb1-cb2b-44f7-99fc-d29a2871dc9b})"); } impl ::core::clone::Clone for GattWriteResult { fn clone(&self) -> Self { @@ -5626,7 +5626,7 @@ unsafe impl ::windows::core::Interface for GattWriteResult { impl ::windows::core::RuntimeName for GattWriteResult { const NAME: &'static str = "Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteResult"; } -::windows::core::interface_hierarchy!(GattWriteResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GattWriteResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GattWriteResult {} unsafe impl ::core::marker::Sync for GattWriteResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -5699,7 +5699,7 @@ impl ::core::ops::Not for GattCharacteristicProperties { } } impl ::windows::core::RuntimeType for GattCharacteristicProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicProperties;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicProperties;u4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5730,7 +5730,7 @@ impl ::core::fmt::Debug for GattClientCharacteristicConfigurationDescriptorValue } } impl ::windows::core::RuntimeType for GattClientCharacteristicConfigurationDescriptorValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientCharacteristicConfigurationDescriptorValue;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientCharacteristicConfigurationDescriptorValue;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5762,7 +5762,7 @@ impl ::core::fmt::Debug for GattCommunicationStatus { } } impl ::windows::core::RuntimeType for GattCommunicationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCommunicationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCommunicationStatus;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5796,7 +5796,7 @@ impl ::core::fmt::Debug for GattOpenStatus { } } impl ::windows::core::RuntimeType for GattOpenStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattOpenStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattOpenStatus;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5828,7 +5828,7 @@ impl ::core::fmt::Debug for GattProtectionLevel { } } impl ::windows::core::RuntimeType for GattProtectionLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattProtectionLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattProtectionLevel;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5859,7 +5859,7 @@ impl ::core::fmt::Debug for GattRequestState { } } impl ::windows::core::RuntimeType for GattRequestState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestState;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5892,7 +5892,7 @@ impl ::core::fmt::Debug for GattServiceProviderAdvertisementStatus { } } impl ::windows::core::RuntimeType for GattServiceProviderAdvertisementStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatus;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5922,7 +5922,7 @@ impl ::core::fmt::Debug for GattSessionStatus { } } impl ::windows::core::RuntimeType for GattSessionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatus;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5954,7 +5954,7 @@ impl ::core::fmt::Debug for GattSharingMode { } } impl ::windows::core::RuntimeType for GattSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSharingMode;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] @@ -5984,7 +5984,7 @@ impl ::core::fmt::Debug for GattWriteOption { } } impl ::windows::core::RuntimeType for GattWriteOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteOption;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs index df8d6e59a8..44b6ce48e7 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs @@ -415,12 +415,12 @@ impl RfcommDeviceService { } #[doc(hidden)] pub fn IRfcommDeviceServiceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRfcommDeviceServiceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -436,7 +436,7 @@ impl ::core::fmt::Debug for RfcommDeviceService { } } impl ::windows::core::RuntimeType for RfcommDeviceService { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceService;{ae81ff1f-c5a1-4c40-8c28-f3efd69062f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceService;{ae81ff1f-c5a1-4c40-8c28-f3efd69062f3})"); } impl ::core::clone::Clone for RfcommDeviceService { fn clone(&self) -> Self { @@ -452,7 +452,7 @@ unsafe impl ::windows::core::Interface for RfcommDeviceService { impl ::windows::core::RuntimeName for RfcommDeviceService { const NAME: &'static str = "Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceService"; } -::windows::core::interface_hierarchy!(RfcommDeviceService, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RfcommDeviceService, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -510,7 +510,7 @@ impl ::core::fmt::Debug for RfcommDeviceServicesResult { } } impl ::windows::core::RuntimeType for RfcommDeviceServicesResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceServicesResult;{3b48388c-7ccf-488e-9625-d259a5732d55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceServicesResult;{3b48388c-7ccf-488e-9625-d259a5732d55})"); } impl ::core::clone::Clone for RfcommDeviceServicesResult { fn clone(&self) -> Self { @@ -526,7 +526,7 @@ unsafe impl ::windows::core::Interface for RfcommDeviceServicesResult { impl ::windows::core::RuntimeName for RfcommDeviceServicesResult { const NAME: &'static str = "Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceServicesResult"; } -::windows::core::interface_hierarchy!(RfcommDeviceServicesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RfcommDeviceServicesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RfcommDeviceServicesResult {} unsafe impl ::core::marker::Sync for RfcommDeviceServicesResult {} #[doc = "*Required features: `\"Devices_Bluetooth_Rfcomm\"`*"] @@ -604,7 +604,7 @@ impl RfcommServiceId { } #[doc(hidden)] pub fn IRfcommServiceIdStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -620,7 +620,7 @@ impl ::core::fmt::Debug for RfcommServiceId { } } impl ::windows::core::RuntimeType for RfcommServiceId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId;{22629204-7e02-4017-8136-da1b6a1b9bbf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId;{22629204-7e02-4017-8136-da1b6a1b9bbf})"); } impl ::core::clone::Clone for RfcommServiceId { fn clone(&self) -> Self { @@ -636,7 +636,7 @@ unsafe impl ::windows::core::Interface for RfcommServiceId { impl ::windows::core::RuntimeName for RfcommServiceId { const NAME: &'static str = "Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId"; } -::windows::core::interface_hierarchy!(RfcommServiceId, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RfcommServiceId, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RfcommServiceId {} unsafe impl ::core::marker::Sync for RfcommServiceId {} #[doc = "*Required features: `\"Devices_Bluetooth_Rfcomm\"`*"] @@ -685,7 +685,7 @@ impl RfcommServiceProvider { } #[doc(hidden)] pub fn IRfcommServiceProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -701,7 +701,7 @@ impl ::core::fmt::Debug for RfcommServiceProvider { } } impl ::windows::core::RuntimeType for RfcommServiceProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommServiceProvider;{eadbfdc4-b1f6-44ff-9f7c-e7a82ab86821})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommServiceProvider;{eadbfdc4-b1f6-44ff-9f7c-e7a82ab86821})"); } impl ::core::clone::Clone for RfcommServiceProvider { fn clone(&self) -> Self { @@ -717,7 +717,7 @@ unsafe impl ::windows::core::Interface for RfcommServiceProvider { impl ::windows::core::RuntimeName for RfcommServiceProvider { const NAME: &'static str = "Windows.Devices.Bluetooth.Rfcomm.RfcommServiceProvider"; } -::windows::core::interface_hierarchy!(RfcommServiceProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RfcommServiceProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RfcommServiceProvider {} unsafe impl ::core::marker::Sync for RfcommServiceProvider {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs index 40a0a30f09..8d36d35c6d 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs @@ -1122,7 +1122,7 @@ impl BluetoothAdapter { } #[doc(hidden)] pub fn IBluetoothAdapterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1138,7 +1138,7 @@ impl ::core::fmt::Debug for BluetoothAdapter { } } impl ::windows::core::RuntimeType for BluetoothAdapter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothAdapter;{7974f04c-5f7a-4a34-9225-a855f84b1a8b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothAdapter;{7974f04c-5f7a-4a34-9225-a855f84b1a8b})"); } impl ::core::clone::Clone for BluetoothAdapter { fn clone(&self) -> Self { @@ -1154,7 +1154,7 @@ unsafe impl ::windows::core::Interface for BluetoothAdapter { impl ::windows::core::RuntimeName for BluetoothAdapter { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothAdapter"; } -::windows::core::interface_hierarchy!(BluetoothAdapter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothAdapter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothAdapter {} unsafe impl ::core::marker::Sync for BluetoothAdapter {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -1203,7 +1203,7 @@ impl BluetoothClassOfDevice { } #[doc(hidden)] pub fn IBluetoothClassOfDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1219,7 +1219,7 @@ impl ::core::fmt::Debug for BluetoothClassOfDevice { } } impl ::windows::core::RuntimeType for BluetoothClassOfDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothClassOfDevice;{d640227e-d7d7-4661-9454-65039ca17a2b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothClassOfDevice;{d640227e-d7d7-4661-9454-65039ca17a2b})"); } impl ::core::clone::Clone for BluetoothClassOfDevice { fn clone(&self) -> Self { @@ -1235,7 +1235,7 @@ unsafe impl ::windows::core::Interface for BluetoothClassOfDevice { impl ::windows::core::RuntimeName for BluetoothClassOfDevice { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothClassOfDevice"; } -::windows::core::interface_hierarchy!(BluetoothClassOfDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothClassOfDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothClassOfDevice {} unsafe impl ::core::marker::Sync for BluetoothClassOfDevice {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -1494,12 +1494,12 @@ impl BluetoothDevice { } #[doc(hidden)] pub fn IBluetoothDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBluetoothDeviceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1515,7 +1515,7 @@ impl ::core::fmt::Debug for BluetoothDevice { } } impl ::windows::core::RuntimeType for BluetoothDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothDevice;{2335b156-90d2-4a04-aef5-0e20b9e6b707})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothDevice;{2335b156-90d2-4a04-aef5-0e20b9e6b707})"); } impl ::core::clone::Clone for BluetoothDevice { fn clone(&self) -> Self { @@ -1531,7 +1531,7 @@ unsafe impl ::windows::core::Interface for BluetoothDevice { impl ::windows::core::RuntimeName for BluetoothDevice { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothDevice"; } -::windows::core::interface_hierarchy!(BluetoothDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1589,7 +1589,7 @@ impl BluetoothDeviceId { } #[doc(hidden)] pub fn IBluetoothDeviceIdStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1605,7 +1605,7 @@ impl ::core::fmt::Debug for BluetoothDeviceId { } } impl ::windows::core::RuntimeType for BluetoothDeviceId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothDeviceId;{c17949af-57c1-4642-bcce-e6c06b20ae76})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothDeviceId;{c17949af-57c1-4642-bcce-e6c06b20ae76})"); } impl ::core::clone::Clone for BluetoothDeviceId { fn clone(&self) -> Self { @@ -1621,7 +1621,7 @@ unsafe impl ::windows::core::Interface for BluetoothDeviceId { impl ::windows::core::RuntimeName for BluetoothDeviceId { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothDeviceId"; } -::windows::core::interface_hierarchy!(BluetoothDeviceId, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothDeviceId, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothDeviceId {} unsafe impl ::core::marker::Sync for BluetoothDeviceId {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -1663,7 +1663,7 @@ impl BluetoothLEAppearance { } #[doc(hidden)] pub fn IBluetoothLEAppearanceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1679,7 +1679,7 @@ impl ::core::fmt::Debug for BluetoothLEAppearance { } } impl ::windows::core::RuntimeType for BluetoothLEAppearance { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEAppearance;{5d2079f2-66a8-4258-985e-02b4d9509f18})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEAppearance;{5d2079f2-66a8-4258-985e-02b4d9509f18})"); } impl ::core::clone::Clone for BluetoothLEAppearance { fn clone(&self) -> Self { @@ -1695,7 +1695,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEAppearance { impl ::windows::core::RuntimeName for BluetoothLEAppearance { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothLEAppearance"; } -::windows::core::interface_hierarchy!(BluetoothLEAppearance, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEAppearance, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEAppearance {} unsafe impl ::core::marker::Sync for BluetoothLEAppearance {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -1835,7 +1835,7 @@ impl BluetoothLEAppearanceCategories { } #[doc(hidden)] pub fn IBluetoothLEAppearanceCategoriesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2015,7 +2015,7 @@ impl BluetoothLEAppearanceSubcategories { } #[doc(hidden)] pub fn IBluetoothLEAppearanceSubcategoriesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2060,7 +2060,7 @@ impl ::core::fmt::Debug for BluetoothLEConnectionParameters { } } impl ::windows::core::RuntimeType for BluetoothLEConnectionParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionParameters;{33cb0771-8da9-508f-a366-1ca388c929ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionParameters;{33cb0771-8da9-508f-a366-1ca388c929ab})"); } impl ::core::clone::Clone for BluetoothLEConnectionParameters { fn clone(&self) -> Self { @@ -2076,7 +2076,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEConnectionParameters { impl ::windows::core::RuntimeName for BluetoothLEConnectionParameters { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothLEConnectionParameters"; } -::windows::core::interface_hierarchy!(BluetoothLEConnectionParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEConnectionParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEConnectionParameters {} unsafe impl ::core::marker::Sync for BluetoothLEConnectionParameters {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -2110,7 +2110,7 @@ impl ::core::fmt::Debug for BluetoothLEConnectionPhy { } } impl ::windows::core::RuntimeType for BluetoothLEConnectionPhy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionPhy;{781e5e48-621e-5a7e-8be6-1b9561ff63c9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionPhy;{781e5e48-621e-5a7e-8be6-1b9561ff63c9})"); } impl ::core::clone::Clone for BluetoothLEConnectionPhy { fn clone(&self) -> Self { @@ -2126,7 +2126,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEConnectionPhy { impl ::windows::core::RuntimeName for BluetoothLEConnectionPhy { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothLEConnectionPhy"; } -::windows::core::interface_hierarchy!(BluetoothLEConnectionPhy, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEConnectionPhy, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEConnectionPhy {} unsafe impl ::core::marker::Sync for BluetoothLEConnectionPhy {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -2167,7 +2167,7 @@ impl ::core::fmt::Debug for BluetoothLEConnectionPhyInfo { } } impl ::windows::core::RuntimeType for BluetoothLEConnectionPhyInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionPhyInfo;{9a100bdd-602e-5c27-a1ae-b230015a6394})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionPhyInfo;{9a100bdd-602e-5c27-a1ae-b230015a6394})"); } impl ::core::clone::Clone for BluetoothLEConnectionPhyInfo { fn clone(&self) -> Self { @@ -2183,7 +2183,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEConnectionPhyInfo { impl ::windows::core::RuntimeName for BluetoothLEConnectionPhyInfo { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothLEConnectionPhyInfo"; } -::windows::core::interface_hierarchy!(BluetoothLEConnectionPhyInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEConnectionPhyInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEConnectionPhyInfo {} unsafe impl ::core::marker::Sync for BluetoothLEConnectionPhyInfo {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -2497,12 +2497,12 @@ impl BluetoothLEDevice { } #[doc(hidden)] pub fn IBluetoothLEDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBluetoothLEDeviceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2518,7 +2518,7 @@ impl ::core::fmt::Debug for BluetoothLEDevice { } } impl ::windows::core::RuntimeType for BluetoothLEDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEDevice;{b5ee2f7b-4ad8-4642-ac48-80a0b500e887})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEDevice;{b5ee2f7b-4ad8-4642-ac48-80a0b500e887})"); } impl ::core::clone::Clone for BluetoothLEDevice { fn clone(&self) -> Self { @@ -2534,7 +2534,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEDevice { impl ::windows::core::RuntimeName for BluetoothLEDevice { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothLEDevice"; } -::windows::core::interface_hierarchy!(BluetoothLEDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2611,7 +2611,7 @@ impl BluetoothLEPreferredConnectionParameters { } #[doc(hidden)] pub fn IBluetoothLEPreferredConnectionParametersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2627,7 +2627,7 @@ impl ::core::fmt::Debug for BluetoothLEPreferredConnectionParameters { } } impl ::windows::core::RuntimeType for BluetoothLEPreferredConnectionParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParameters;{f2f44344-7372-5f7b-9b34-29c944f5a715})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParameters;{f2f44344-7372-5f7b-9b34-29c944f5a715})"); } impl ::core::clone::Clone for BluetoothLEPreferredConnectionParameters { fn clone(&self) -> Self { @@ -2643,7 +2643,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEPreferredConnectionParamet impl ::windows::core::RuntimeName for BluetoothLEPreferredConnectionParameters { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParameters"; } -::windows::core::interface_hierarchy!(BluetoothLEPreferredConnectionParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEPreferredConnectionParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothLEPreferredConnectionParameters {} unsafe impl ::core::marker::Sync for BluetoothLEPreferredConnectionParameters {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -2676,7 +2676,7 @@ impl ::core::fmt::Debug for BluetoothLEPreferredConnectionParametersRequest { } } impl ::windows::core::RuntimeType for BluetoothLEPreferredConnectionParametersRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParametersRequest;{8a375276-a528-5266-b661-cce6a5ff9739})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParametersRequest;{8a375276-a528-5266-b661-cce6a5ff9739})"); } impl ::core::clone::Clone for BluetoothLEPreferredConnectionParametersRequest { fn clone(&self) -> Self { @@ -2692,7 +2692,7 @@ unsafe impl ::windows::core::Interface for BluetoothLEPreferredConnectionParamet impl ::windows::core::RuntimeName for BluetoothLEPreferredConnectionParametersRequest { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParametersRequest"; } -::windows::core::interface_hierarchy!(BluetoothLEPreferredConnectionParametersRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothLEPreferredConnectionParametersRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2724,8 +2724,8 @@ impl BluetoothSignalStrengthFilter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2817,7 +2817,7 @@ impl ::core::fmt::Debug for BluetoothSignalStrengthFilter { } } impl ::windows::core::RuntimeType for BluetoothSignalStrengthFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothSignalStrengthFilter;{df7b7391-6bb5-4cfe-90b1-5d7324edcf7f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothSignalStrengthFilter;{df7b7391-6bb5-4cfe-90b1-5d7324edcf7f})"); } impl ::core::clone::Clone for BluetoothSignalStrengthFilter { fn clone(&self) -> Self { @@ -2833,7 +2833,7 @@ unsafe impl ::windows::core::Interface for BluetoothSignalStrengthFilter { impl ::windows::core::RuntimeName for BluetoothSignalStrengthFilter { const NAME: &'static str = "Windows.Devices.Bluetooth.BluetoothSignalStrengthFilter"; } -::windows::core::interface_hierarchy!(BluetoothSignalStrengthFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BluetoothSignalStrengthFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BluetoothSignalStrengthFilter {} unsafe impl ::core::marker::Sync for BluetoothSignalStrengthFilter {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] @@ -2855,7 +2855,7 @@ impl BluetoothUuidHelper { } #[doc(hidden)] pub fn IBluetoothUuidHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2891,7 +2891,7 @@ impl ::core::fmt::Debug for BluetoothAddressType { } } impl ::windows::core::RuntimeType for BluetoothAddressType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothAddressType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothAddressType;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] @@ -2921,7 +2921,7 @@ impl ::core::fmt::Debug for BluetoothCacheMode { } } impl ::windows::core::RuntimeType for BluetoothCacheMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothCacheMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothCacheMode;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] @@ -2951,7 +2951,7 @@ impl ::core::fmt::Debug for BluetoothConnectionStatus { } } impl ::windows::core::RuntimeType for BluetoothConnectionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothConnectionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothConnectionStatus;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] @@ -2989,7 +2989,7 @@ impl ::core::fmt::Debug for BluetoothError { } } impl ::windows::core::RuntimeType for BluetoothError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothError;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] @@ -3021,7 +3021,7 @@ impl ::core::fmt::Debug for BluetoothLEPreferredConnectionParametersRequestStatu } } impl ::windows::core::RuntimeType for BluetoothLEPreferredConnectionParametersRequestStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParametersRequestStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParametersRequestStatus;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] @@ -3059,7 +3059,7 @@ impl ::core::fmt::Debug for BluetoothMajorClass { } } impl ::windows::core::RuntimeType for BluetoothMajorClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothMajorClass;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothMajorClass;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] @@ -3158,7 +3158,7 @@ impl ::core::fmt::Debug for BluetoothMinorClass { } } impl ::windows::core::RuntimeType for BluetoothMinorClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothMinorClass;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothMinorClass;i4)"); } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] @@ -3229,7 +3229,7 @@ impl ::core::ops::Not for BluetoothServiceCapabilities { } } impl ::windows::core::RuntimeType for BluetoothServiceCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothServiceCapabilities;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Bluetooth.BluetoothServiceCapabilities;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs index dd78e7c2f3..b306ae8efa 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs @@ -97,7 +97,7 @@ impl IIOControlCode { } } } -::windows::core::interface_hierarchy!(IIOControlCode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IIOControlCode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IIOControlCode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -110,7 +110,7 @@ impl ::core::fmt::Debug for IIOControlCode { } } impl ::windows::core::RuntimeType for IIOControlCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0e9559e7-60c8-4375-a761-7f8808066c60}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0e9559e7-60c8-4375-a761-7f8808066c60}"); } unsafe impl ::windows::core::Vtable for IIOControlCode { type Vtable = IIOControlCode_Vtbl; @@ -245,7 +245,7 @@ impl CustomDevice { } #[doc(hidden)] pub fn ICustomDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -261,7 +261,7 @@ impl ::core::fmt::Debug for CustomDevice { } } impl ::windows::core::RuntimeType for CustomDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Custom.CustomDevice;{dd30251f-c48b-43bd-bcb1-dec88f15143e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Custom.CustomDevice;{dd30251f-c48b-43bd-bcb1-dec88f15143e})"); } impl ::core::clone::Clone for CustomDevice { fn clone(&self) -> Self { @@ -277,7 +277,7 @@ unsafe impl ::windows::core::Interface for CustomDevice { impl ::windows::core::RuntimeName for CustomDevice { const NAME: &'static str = "Windows.Devices.Custom.CustomDevice"; } -::windows::core::interface_hierarchy!(CustomDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CustomDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CustomDevice {} unsafe impl ::core::marker::Sync for CustomDevice {} #[doc = "*Required features: `\"Devices_Custom\"`*"] @@ -327,7 +327,7 @@ impl IOControlCode { } #[doc(hidden)] pub fn IIOControlCodeFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -343,7 +343,7 @@ impl ::core::fmt::Debug for IOControlCode { } } impl ::windows::core::RuntimeType for IOControlCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Custom.IOControlCode;{0e9559e7-60c8-4375-a761-7f8808066c60})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Custom.IOControlCode;{0e9559e7-60c8-4375-a761-7f8808066c60})"); } impl ::core::clone::Clone for IOControlCode { fn clone(&self) -> Self { @@ -359,7 +359,7 @@ unsafe impl ::windows::core::Interface for IOControlCode { impl ::windows::core::RuntimeName for IOControlCode { const NAME: &'static str = "Windows.Devices.Custom.IOControlCode"; } -::windows::core::interface_hierarchy!(IOControlCode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IOControlCode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IIOControlCode { type Error = ::windows::core::Error; fn try_from(value: IOControlCode) -> ::windows::core::Result { @@ -392,7 +392,7 @@ impl KnownDeviceTypes { } #[doc(hidden)] pub fn IKnownDeviceTypesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -428,7 +428,7 @@ impl ::core::fmt::Debug for DeviceAccessMode { } } impl ::windows::core::RuntimeType for DeviceAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Custom.DeviceAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Custom.DeviceAccessMode;i4)"); } #[doc = "*Required features: `\"Devices_Custom\"`*"] #[repr(transparent)] @@ -458,7 +458,7 @@ impl ::core::fmt::Debug for DeviceSharingMode { } } impl ::windows::core::RuntimeType for DeviceSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Custom.DeviceSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Custom.DeviceSharingMode;i4)"); } #[doc = "*Required features: `\"Devices_Custom\"`*"] #[repr(transparent)] @@ -490,7 +490,7 @@ impl ::core::fmt::Debug for IOControlAccessMode { } } impl ::windows::core::RuntimeType for IOControlAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Custom.IOControlAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Custom.IOControlAccessMode;i4)"); } #[doc = "*Required features: `\"Devices_Custom\"`*"] #[repr(transparent)] @@ -522,7 +522,7 @@ impl ::core::fmt::Debug for IOControlBufferingMethod { } } impl ::windows::core::RuntimeType for IOControlBufferingMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Custom.IOControlBufferingMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Custom.IOControlBufferingMethod;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs index 6e9787145a..d3beb8e440 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs @@ -1081,7 +1081,7 @@ impl DisplayAdapter { } #[doc(hidden)] pub fn IDisplayAdapterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1097,7 +1097,7 @@ impl ::core::fmt::Debug for DisplayAdapter { } } impl ::windows::core::RuntimeType for DisplayAdapter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayAdapter;{a56f5287-f000-5f2e-b5ac-3783a2b69af5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayAdapter;{a56f5287-f000-5f2e-b5ac-3783a2b69af5})"); } impl ::core::clone::Clone for DisplayAdapter { fn clone(&self) -> Self { @@ -1113,7 +1113,7 @@ unsafe impl ::windows::core::Interface for DisplayAdapter { impl ::windows::core::RuntimeName for DisplayAdapter { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayAdapter"; } -::windows::core::interface_hierarchy!(DisplayAdapter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayAdapter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayAdapter {} unsafe impl ::core::marker::Sync for DisplayAdapter {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -1194,7 +1194,7 @@ impl ::core::fmt::Debug for DisplayDevice { } } impl ::windows::core::RuntimeType for DisplayDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayDevice;{a4c9b62c-335f-5731-8cb4-c1ccd4731070})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayDevice;{a4c9b62c-335f-5731-8cb4-c1ccd4731070})"); } impl ::core::clone::Clone for DisplayDevice { fn clone(&self) -> Self { @@ -1210,7 +1210,7 @@ unsafe impl ::windows::core::Interface for DisplayDevice { impl ::windows::core::RuntimeName for DisplayDevice { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayDevice"; } -::windows::core::interface_hierarchy!(DisplayDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayDevice {} unsafe impl ::core::marker::Sync for DisplayDevice {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -1229,7 +1229,7 @@ impl ::core::fmt::Debug for DisplayFence { } } impl ::windows::core::RuntimeType for DisplayFence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayFence;{04dcf9ef-3406-5700-8fec-77eba4c5a74b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayFence;{04dcf9ef-3406-5700-8fec-77eba4c5a74b})"); } impl ::core::clone::Clone for DisplayFence { fn clone(&self) -> Self { @@ -1245,7 +1245,7 @@ unsafe impl ::windows::core::Interface for DisplayFence { impl ::windows::core::RuntimeName for DisplayFence { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayFence"; } -::windows::core::interface_hierarchy!(DisplayFence, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayFence, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayFence {} unsafe impl ::core::marker::Sync for DisplayFence {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -1416,7 +1416,7 @@ impl DisplayManager { } #[doc(hidden)] pub fn IDisplayManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1432,7 +1432,7 @@ impl ::core::fmt::Debug for DisplayManager { } } impl ::windows::core::RuntimeType for DisplayManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManager;{4ed9245b-15ec-56e2-9072-7fe5084a31a7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManager;{4ed9245b-15ec-56e2-9072-7fe5084a31a7})"); } impl ::core::clone::Clone for DisplayManager { fn clone(&self) -> Self { @@ -1448,7 +1448,7 @@ unsafe impl ::windows::core::Interface for DisplayManager { impl ::windows::core::RuntimeName for DisplayManager { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayManager"; } -::windows::core::interface_hierarchy!(DisplayManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayManager, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1510,7 +1510,7 @@ impl ::core::fmt::Debug for DisplayManagerChangedEventArgs { } } impl ::windows::core::RuntimeType for DisplayManagerChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerChangedEventArgs;{6abfa285-6cca-5731-bcdc-42e5d2f5c50f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerChangedEventArgs;{6abfa285-6cca-5731-bcdc-42e5d2f5c50f})"); } impl ::core::clone::Clone for DisplayManagerChangedEventArgs { fn clone(&self) -> Self { @@ -1526,7 +1526,7 @@ unsafe impl ::windows::core::Interface for DisplayManagerChangedEventArgs { impl ::windows::core::RuntimeName for DisplayManagerChangedEventArgs { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayManagerChangedEventArgs"; } -::windows::core::interface_hierarchy!(DisplayManagerChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayManagerChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayManagerChangedEventArgs {} unsafe impl ::core::marker::Sync for DisplayManagerChangedEventArgs {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -1566,7 +1566,7 @@ impl ::core::fmt::Debug for DisplayManagerDisabledEventArgs { } } impl ::windows::core::RuntimeType for DisplayManagerDisabledEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs;{8726dde4-6793-5973-a11f-5ffbc93fdb90})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs;{8726dde4-6793-5973-a11f-5ffbc93fdb90})"); } impl ::core::clone::Clone for DisplayManagerDisabledEventArgs { fn clone(&self) -> Self { @@ -1582,7 +1582,7 @@ unsafe impl ::windows::core::Interface for DisplayManagerDisabledEventArgs { impl ::windows::core::RuntimeName for DisplayManagerDisabledEventArgs { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs"; } -::windows::core::interface_hierarchy!(DisplayManagerDisabledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayManagerDisabledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayManagerDisabledEventArgs {} unsafe impl ::core::marker::Sync for DisplayManagerDisabledEventArgs {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -1622,7 +1622,7 @@ impl ::core::fmt::Debug for DisplayManagerEnabledEventArgs { } } impl ::windows::core::RuntimeType for DisplayManagerEnabledEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs;{f0cf3f6f-42fa-59a2-b297-26e1713de848})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs;{f0cf3f6f-42fa-59a2-b297-26e1713de848})"); } impl ::core::clone::Clone for DisplayManagerEnabledEventArgs { fn clone(&self) -> Self { @@ -1638,7 +1638,7 @@ unsafe impl ::windows::core::Interface for DisplayManagerEnabledEventArgs { impl ::windows::core::RuntimeName for DisplayManagerEnabledEventArgs { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs"; } -::windows::core::interface_hierarchy!(DisplayManagerEnabledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayManagerEnabledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayManagerEnabledEventArgs {} unsafe impl ::core::marker::Sync for DisplayManagerEnabledEventArgs {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -1678,7 +1678,7 @@ impl ::core::fmt::Debug for DisplayManagerPathsFailedOrInvalidatedEventArgs { } } impl ::windows::core::RuntimeType for DisplayManagerPathsFailedOrInvalidatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs;{03a65659-1dec-5c15-b2a2-8fe9129869fe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs;{03a65659-1dec-5c15-b2a2-8fe9129869fe})"); } impl ::core::clone::Clone for DisplayManagerPathsFailedOrInvalidatedEventArgs { fn clone(&self) -> Self { @@ -1694,7 +1694,7 @@ unsafe impl ::windows::core::Interface for DisplayManagerPathsFailedOrInvalidate impl ::windows::core::RuntimeName for DisplayManagerPathsFailedOrInvalidatedEventArgs { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs"; } -::windows::core::interface_hierarchy!(DisplayManagerPathsFailedOrInvalidatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayManagerPathsFailedOrInvalidatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayManagerPathsFailedOrInvalidatedEventArgs {} unsafe impl ::core::marker::Sync for DisplayManagerPathsFailedOrInvalidatedEventArgs {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -1735,7 +1735,7 @@ impl ::core::fmt::Debug for DisplayManagerResultWithState { } } impl ::windows::core::RuntimeType for DisplayManagerResultWithState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerResultWithState;{8e656aa6-6614-54be-bfef-4994547f7be1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerResultWithState;{8e656aa6-6614-54be-bfef-4994547f7be1})"); } impl ::core::clone::Clone for DisplayManagerResultWithState { fn clone(&self) -> Self { @@ -1751,7 +1751,7 @@ unsafe impl ::windows::core::Interface for DisplayManagerResultWithState { impl ::windows::core::RuntimeName for DisplayManagerResultWithState { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayManagerResultWithState"; } -::windows::core::interface_hierarchy!(DisplayManagerResultWithState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayManagerResultWithState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayManagerResultWithState {} unsafe impl ::core::marker::Sync for DisplayManagerResultWithState {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -1853,7 +1853,7 @@ impl ::core::fmt::Debug for DisplayModeInfo { } } impl ::windows::core::RuntimeType for DisplayModeInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayModeInfo;{48d513a0-f79b-5a74-a05e-da821f470868})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayModeInfo;{48d513a0-f79b-5a74-a05e-da821f470868})"); } impl ::core::clone::Clone for DisplayModeInfo { fn clone(&self) -> Self { @@ -1869,7 +1869,7 @@ unsafe impl ::windows::core::Interface for DisplayModeInfo { impl ::windows::core::RuntimeName for DisplayModeInfo { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayModeInfo"; } -::windows::core::interface_hierarchy!(DisplayModeInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayModeInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayModeInfo {} unsafe impl ::core::marker::Sync for DisplayModeInfo {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2086,7 +2086,7 @@ impl ::core::fmt::Debug for DisplayPath { } } impl ::windows::core::RuntimeType for DisplayPath { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayPath;{b3dfd64a-7460-5cde-811b-d5ae9f3d9f84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayPath;{b3dfd64a-7460-5cde-811b-d5ae9f3d9f84})"); } impl ::core::clone::Clone for DisplayPath { fn clone(&self) -> Self { @@ -2102,7 +2102,7 @@ unsafe impl ::windows::core::Interface for DisplayPath { impl ::windows::core::RuntimeName for DisplayPath { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayPath"; } -::windows::core::interface_hierarchy!(DisplayPath, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayPath, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayPath {} unsafe impl ::core::marker::Sync for DisplayPath {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2188,12 +2188,12 @@ impl DisplayPrimaryDescription { } #[doc(hidden)] pub fn IDisplayPrimaryDescriptionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDisplayPrimaryDescriptionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2209,7 +2209,7 @@ impl ::core::fmt::Debug for DisplayPrimaryDescription { } } impl ::windows::core::RuntimeType for DisplayPrimaryDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayPrimaryDescription;{872591d2-d533-50ff-a85e-06696194b77c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayPrimaryDescription;{872591d2-d533-50ff-a85e-06696194b77c})"); } impl ::core::clone::Clone for DisplayPrimaryDescription { fn clone(&self) -> Self { @@ -2225,7 +2225,7 @@ unsafe impl ::windows::core::Interface for DisplayPrimaryDescription { impl ::windows::core::RuntimeName for DisplayPrimaryDescription { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayPrimaryDescription"; } -::windows::core::interface_hierarchy!(DisplayPrimaryDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayPrimaryDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayPrimaryDescription {} unsafe impl ::core::marker::Sync for DisplayPrimaryDescription {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2244,7 +2244,7 @@ impl ::core::fmt::Debug for DisplayScanout { } } impl ::windows::core::RuntimeType for DisplayScanout { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayScanout;{e3051828-1ba5-50e7-8a39-bb1fd2f4f8b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayScanout;{e3051828-1ba5-50e7-8a39-bb1fd2f4f8b9})"); } impl ::core::clone::Clone for DisplayScanout { fn clone(&self) -> Self { @@ -2260,7 +2260,7 @@ unsafe impl ::windows::core::Interface for DisplayScanout { impl ::windows::core::RuntimeName for DisplayScanout { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayScanout"; } -::windows::core::interface_hierarchy!(DisplayScanout, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayScanout, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayScanout {} unsafe impl ::core::marker::Sync for DisplayScanout {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2327,7 +2327,7 @@ impl ::core::fmt::Debug for DisplaySource { } } impl ::windows::core::RuntimeType for DisplaySource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplaySource;{ecd15fc1-eadc-51bc-971d-3bc628db2dd4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplaySource;{ecd15fc1-eadc-51bc-971d-3bc628db2dd4})"); } impl ::core::clone::Clone for DisplaySource { fn clone(&self) -> Self { @@ -2343,7 +2343,7 @@ unsafe impl ::windows::core::Interface for DisplaySource { impl ::windows::core::RuntimeName for DisplaySource { const NAME: &'static str = "Windows.Devices.Display.Core.DisplaySource"; } -::windows::core::interface_hierarchy!(DisplaySource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplaySource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplaySource {} unsafe impl ::core::marker::Sync for DisplaySource {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2464,7 +2464,7 @@ impl ::core::fmt::Debug for DisplayState { } } impl ::windows::core::RuntimeType for DisplayState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayState;{08129321-11b5-5cb2-99f8-e90b479a8a1d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayState;{08129321-11b5-5cb2-99f8-e90b479a8a1d})"); } impl ::core::clone::Clone for DisplayState { fn clone(&self) -> Self { @@ -2480,7 +2480,7 @@ unsafe impl ::windows::core::Interface for DisplayState { impl ::windows::core::RuntimeName for DisplayState { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayState"; } -::windows::core::interface_hierarchy!(DisplayState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayState {} unsafe impl ::core::marker::Sync for DisplayState {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2514,7 +2514,7 @@ impl ::core::fmt::Debug for DisplayStateOperationResult { } } impl ::windows::core::RuntimeType for DisplayStateOperationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayStateOperationResult;{fcadbfdf-dc27-5638-b7f2-ebdfa4f7ea93})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayStateOperationResult;{fcadbfdf-dc27-5638-b7f2-ebdfa4f7ea93})"); } impl ::core::clone::Clone for DisplayStateOperationResult { fn clone(&self) -> Self { @@ -2530,7 +2530,7 @@ unsafe impl ::windows::core::Interface for DisplayStateOperationResult { impl ::windows::core::RuntimeName for DisplayStateOperationResult { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayStateOperationResult"; } -::windows::core::interface_hierarchy!(DisplayStateOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayStateOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayStateOperationResult {} unsafe impl ::core::marker::Sync for DisplayStateOperationResult {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2549,7 +2549,7 @@ impl ::core::fmt::Debug for DisplaySurface { } } impl ::windows::core::RuntimeType for DisplaySurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplaySurface;{594f6cc6-139a-56d6-a4b1-15fe2cb76adb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplaySurface;{594f6cc6-139a-56d6-a4b1-15fe2cb76adb})"); } impl ::core::clone::Clone for DisplaySurface { fn clone(&self) -> Self { @@ -2565,7 +2565,7 @@ unsafe impl ::windows::core::Interface for DisplaySurface { impl ::windows::core::RuntimeName for DisplaySurface { const NAME: &'static str = "Windows.Devices.Display.Core.DisplaySurface"; } -::windows::core::interface_hierarchy!(DisplaySurface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplaySurface, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplaySurface {} unsafe impl ::core::marker::Sync for DisplaySurface {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2685,7 +2685,7 @@ impl ::core::fmt::Debug for DisplayTarget { } } impl ::windows::core::RuntimeType for DisplayTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTarget;{aec57c6f-47b4-546b-987c-e73fa791fe3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTarget;{aec57c6f-47b4-546b-987c-e73fa791fe3a})"); } impl ::core::clone::Clone for DisplayTarget { fn clone(&self) -> Self { @@ -2701,7 +2701,7 @@ unsafe impl ::windows::core::Interface for DisplayTarget { impl ::windows::core::RuntimeName for DisplayTarget { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayTarget"; } -::windows::core::interface_hierarchy!(DisplayTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayTarget {} unsafe impl ::core::marker::Sync for DisplayTarget {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2733,7 +2733,7 @@ impl ::core::fmt::Debug for DisplayTask { } } impl ::windows::core::RuntimeType for DisplayTask { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTask;{5e087448-135b-5bb0-bf63-637f84227c7a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTask;{5e087448-135b-5bb0-bf63-637f84227c7a})"); } impl ::core::clone::Clone for DisplayTask { fn clone(&self) -> Self { @@ -2749,7 +2749,7 @@ unsafe impl ::windows::core::Interface for DisplayTask { impl ::windows::core::RuntimeName for DisplayTask { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayTask"; } -::windows::core::interface_hierarchy!(DisplayTask, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayTask, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayTask {} unsafe impl ::core::marker::Sync for DisplayTask {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2789,7 +2789,7 @@ impl ::core::fmt::Debug for DisplayTaskPool { } } impl ::windows::core::RuntimeType for DisplayTaskPool { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTaskPool;{c676253d-237d-5548-aafa-3e517fefef1c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTaskPool;{c676253d-237d-5548-aafa-3e517fefef1c})"); } impl ::core::clone::Clone for DisplayTaskPool { fn clone(&self) -> Self { @@ -2805,7 +2805,7 @@ unsafe impl ::windows::core::Interface for DisplayTaskPool { impl ::windows::core::RuntimeName for DisplayTaskPool { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayTaskPool"; } -::windows::core::interface_hierarchy!(DisplayTaskPool, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayTaskPool, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayTaskPool {} unsafe impl ::core::marker::Sync for DisplayTaskPool {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2846,7 +2846,7 @@ impl ::core::fmt::Debug for DisplayTaskResult { } } impl ::windows::core::RuntimeType for DisplayTaskResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTaskResult;{6fbc7d67-f9b1-55e0-9d88-d3a5197a3f59})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTaskResult;{6fbc7d67-f9b1-55e0-9d88-d3a5197a3f59})"); } impl ::core::clone::Clone for DisplayTaskResult { fn clone(&self) -> Self { @@ -2862,7 +2862,7 @@ unsafe impl ::windows::core::Interface for DisplayTaskResult { impl ::windows::core::RuntimeName for DisplayTaskResult { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayTaskResult"; } -::windows::core::interface_hierarchy!(DisplayTaskResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayTaskResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayTaskResult {} unsafe impl ::core::marker::Sync for DisplayTaskResult {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -2923,7 +2923,7 @@ impl ::core::fmt::Debug for DisplayView { } } impl ::windows::core::RuntimeType for DisplayView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayView;{b0c98ca1-b759-5b59-b1ad-f0786aa9e53d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayView;{b0c98ca1-b759-5b59-b1ad-f0786aa9e53d})"); } impl ::core::clone::Clone for DisplayView { fn clone(&self) -> Self { @@ -2939,7 +2939,7 @@ unsafe impl ::windows::core::Interface for DisplayView { impl ::windows::core::RuntimeName for DisplayView { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayView"; } -::windows::core::interface_hierarchy!(DisplayView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayView, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayView {} unsafe impl ::core::marker::Sync for DisplayView {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -3010,12 +3010,12 @@ impl DisplayWireFormat { } #[doc(hidden)] pub fn IDisplayWireFormatFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDisplayWireFormatStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3031,7 +3031,7 @@ impl ::core::fmt::Debug for DisplayWireFormat { } } impl ::windows::core::RuntimeType for DisplayWireFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayWireFormat;{1acc967d-872c-5a38-bbb9-1d4872b76255})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayWireFormat;{1acc967d-872c-5a38-bbb9-1d4872b76255})"); } impl ::core::clone::Clone for DisplayWireFormat { fn clone(&self) -> Self { @@ -3047,7 +3047,7 @@ unsafe impl ::windows::core::Interface for DisplayWireFormat { impl ::windows::core::RuntimeName for DisplayWireFormat { const NAME: &'static str = "Windows.Devices.Display.Core.DisplayWireFormat"; } -::windows::core::interface_hierarchy!(DisplayWireFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayWireFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayWireFormat {} unsafe impl ::core::marker::Sync for DisplayWireFormat {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] @@ -3116,7 +3116,7 @@ impl ::core::ops::Not for DisplayBitsPerChannel { } } impl ::windows::core::RuntimeType for DisplayBitsPerChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayBitsPerChannel;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayBitsPerChannel;u4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3145,7 +3145,7 @@ impl ::core::fmt::Debug for DisplayDeviceCapability { } } impl ::windows::core::RuntimeType for DisplayDeviceCapability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayDeviceCapability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayDeviceCapability;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3209,7 +3209,7 @@ impl ::core::ops::Not for DisplayManagerOptions { } } impl ::windows::core::RuntimeType for DisplayManagerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayManagerOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayManagerOptions;u4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3242,7 +3242,7 @@ impl ::core::fmt::Debug for DisplayManagerResult { } } impl ::windows::core::RuntimeType for DisplayManagerResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayManagerResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayManagerResult;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3305,7 +3305,7 @@ impl ::core::ops::Not for DisplayModeQueryOptions { } } impl ::windows::core::RuntimeType for DisplayModeQueryOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayModeQueryOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayModeQueryOptions;u4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3339,7 +3339,7 @@ impl ::core::fmt::Debug for DisplayPathScaling { } } impl ::windows::core::RuntimeType for DisplayPathScaling { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayPathScaling;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayPathScaling;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3373,7 +3373,7 @@ impl ::core::fmt::Debug for DisplayPathStatus { } } impl ::windows::core::RuntimeType for DisplayPathStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayPathStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayPathStatus;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3407,7 +3407,7 @@ impl ::core::fmt::Debug for DisplayPresentStatus { } } impl ::windows::core::RuntimeType for DisplayPresentStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayPresentStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayPresentStatus;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3439,7 +3439,7 @@ impl ::core::fmt::Debug for DisplayRotation { } } impl ::windows::core::RuntimeType for DisplayRotation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayRotation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayRotation;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3502,7 +3502,7 @@ impl ::core::ops::Not for DisplayScanoutOptions { } } impl ::windows::core::RuntimeType for DisplayScanoutOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayScanoutOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayScanoutOptions;u4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3535,7 +3535,7 @@ impl ::core::fmt::Debug for DisplaySourceStatus { } } impl ::windows::core::RuntimeType for DisplaySourceStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplaySourceStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplaySourceStatus;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3600,7 +3600,7 @@ impl ::core::ops::Not for DisplayStateApplyOptions { } } impl ::windows::core::RuntimeType for DisplayStateApplyOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayStateApplyOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayStateApplyOptions;u4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3664,7 +3664,7 @@ impl ::core::ops::Not for DisplayStateFunctionalizeOptions { } } impl ::windows::core::RuntimeType for DisplayStateFunctionalizeOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayStateFunctionalizeOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayStateFunctionalizeOptions;u4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3700,7 +3700,7 @@ impl ::core::fmt::Debug for DisplayStateOperationStatus { } } impl ::windows::core::RuntimeType for DisplayStateOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayStateOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayStateOperationStatus;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3732,7 +3732,7 @@ impl ::core::fmt::Debug for DisplayTargetPersistence { } } impl ::windows::core::RuntimeType for DisplayTargetPersistence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayTargetPersistence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayTargetPersistence;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3762,7 +3762,7 @@ impl ::core::fmt::Debug for DisplayTaskSignalKind { } } impl ::windows::core::RuntimeType for DisplayTaskSignalKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayTaskSignalKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayTaskSignalKind;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3793,7 +3793,7 @@ impl ::core::fmt::Debug for DisplayWireFormatColorSpace { } } impl ::windows::core::RuntimeType for DisplayWireFormatColorSpace { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayWireFormatColorSpace;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayWireFormatColorSpace;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3823,7 +3823,7 @@ impl ::core::fmt::Debug for DisplayWireFormatEotf { } } impl ::windows::core::RuntimeType for DisplayWireFormatEotf { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayWireFormatEotf;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayWireFormatEotf;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3855,7 +3855,7 @@ impl ::core::fmt::Debug for DisplayWireFormatHdrMetadata { } } impl ::windows::core::RuntimeType for DisplayWireFormatHdrMetadata { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayWireFormatHdrMetadata;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayWireFormatHdrMetadata;i4)"); } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] @@ -3888,7 +3888,7 @@ impl ::core::fmt::Debug for DisplayWireFormatPixelEncoding { } } impl ::windows::core::RuntimeType for DisplayWireFormatPixelEncoding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_Display_Core\"`, `\"Foundation_Numerics\"`*"] @@ -3917,7 +3917,7 @@ impl ::windows::core::TypeKind for DisplayPresentationRate { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for DisplayPresentationRate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.Display.Core.DisplayPresentationRate;struct(Windows.Foundation.Numerics.Rational;u4;u4);i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.Display.Core.DisplayPresentationRate;struct(Windows.Foundation.Numerics.Rational;u4;u4);i4)"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for DisplayPresentationRate { diff --git a/crates/libs/windows/src/Windows/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/mod.rs index 04e206948e..93a2a044a3 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/mod.rs @@ -297,7 +297,7 @@ impl DisplayMonitor { } #[doc(hidden)] pub fn IDisplayMonitorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -313,7 +313,7 @@ impl ::core::fmt::Debug for DisplayMonitor { } } impl ::windows::core::RuntimeType for DisplayMonitor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.DisplayMonitor;{1f6b15d4-1d01-4c51-87e2-6f954a772b59})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.DisplayMonitor;{1f6b15d4-1d01-4c51-87e2-6f954a772b59})"); } impl ::core::clone::Clone for DisplayMonitor { fn clone(&self) -> Self { @@ -329,7 +329,7 @@ unsafe impl ::windows::core::Interface for DisplayMonitor { impl ::windows::core::RuntimeName for DisplayMonitor { const NAME: &'static str = "Windows.Devices.Display.DisplayMonitor"; } -::windows::core::interface_hierarchy!(DisplayMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayMonitor {} unsafe impl ::core::marker::Sync for DisplayMonitor {} #[doc = "*Required features: `\"Devices_Display\"`*"] @@ -362,7 +362,7 @@ impl ::core::fmt::Debug for DisplayMonitorConnectionKind { } } impl ::windows::core::RuntimeType for DisplayMonitorConnectionKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.DisplayMonitorConnectionKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.DisplayMonitorConnectionKind;i4)"); } #[doc = "*Required features: `\"Devices_Display\"`*"] #[repr(transparent)] @@ -392,7 +392,7 @@ impl ::core::fmt::Debug for DisplayMonitorDescriptorKind { } } impl ::windows::core::RuntimeType for DisplayMonitorDescriptorKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.DisplayMonitorDescriptorKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.DisplayMonitorDescriptorKind;i4)"); } #[doc = "*Required features: `\"Devices_Display\"`*"] #[repr(transparent)] @@ -428,7 +428,7 @@ impl ::core::fmt::Debug for DisplayMonitorPhysicalConnectorKind { } } impl ::windows::core::RuntimeType for DisplayMonitorPhysicalConnectorKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.DisplayMonitorPhysicalConnectorKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.DisplayMonitorPhysicalConnectorKind;i4)"); } #[doc = "*Required features: `\"Devices_Display\"`*"] #[repr(transparent)] @@ -459,7 +459,7 @@ impl ::core::fmt::Debug for DisplayMonitorUsageKind { } } impl ::windows::core::RuntimeType for DisplayMonitorUsageKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.DisplayMonitorUsageKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Display.DisplayMonitorUsageKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs index 5fe5a256c1..f29b4916e6 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs @@ -243,7 +243,7 @@ impl PnpObject { } #[doc(hidden)] pub fn IPnpObjectStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -259,7 +259,7 @@ impl ::core::fmt::Debug for PnpObject { } } impl ::windows::core::RuntimeType for PnpObject { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObject;{95c66258-733b-4a8f-93a3-db078ac870c1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObject;{95c66258-733b-4a8f-93a3-db078ac870c1})"); } impl ::core::clone::Clone for PnpObject { fn clone(&self) -> Self { @@ -275,7 +275,7 @@ unsafe impl ::windows::core::Interface for PnpObject { impl ::windows::core::RuntimeName for PnpObject { const NAME: &'static str = "Windows.Devices.Enumeration.Pnp.PnpObject"; } -::windows::core::interface_hierarchy!(PnpObject, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PnpObject, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PnpObject {} unsafe impl ::core::marker::Sync for PnpObject {} #[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`, `\"Foundation_Collections\"`*"] @@ -346,7 +346,7 @@ impl ::core::fmt::Debug for PnpObjectCollection { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for PnpObjectCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Enumeration.Pnp.PnpObject;{95c66258-733b-4a8f-93a3-db078ac870c1})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Enumeration.Pnp.PnpObject;{95c66258-733b-4a8f-93a3-db078ac870c1})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for PnpObjectCollection { @@ -383,7 +383,7 @@ impl ::core::iter::IntoIterator for &PnpObjectCollection { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(PnpObjectCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PnpObjectCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -472,7 +472,7 @@ impl ::core::fmt::Debug for PnpObjectUpdate { } } impl ::windows::core::RuntimeType for PnpObjectUpdate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectUpdate;{6f59e812-001e-4844-bcc6-432886856a17})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectUpdate;{6f59e812-001e-4844-bcc6-432886856a17})"); } impl ::core::clone::Clone for PnpObjectUpdate { fn clone(&self) -> Self { @@ -488,7 +488,7 @@ unsafe impl ::windows::core::Interface for PnpObjectUpdate { impl ::windows::core::RuntimeName for PnpObjectUpdate { const NAME: &'static str = "Windows.Devices.Enumeration.Pnp.PnpObjectUpdate"; } -::windows::core::interface_hierarchy!(PnpObjectUpdate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PnpObjectUpdate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PnpObjectUpdate {} unsafe impl ::core::marker::Sync for PnpObjectUpdate {} #[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`*"] @@ -598,7 +598,7 @@ impl ::core::fmt::Debug for PnpObjectWatcher { } } impl ::windows::core::RuntimeType for PnpObjectWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectWatcher;{83c95ca8-4772-4a7a-aca8-e48c42a89c44})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectWatcher;{83c95ca8-4772-4a7a-aca8-e48c42a89c44})"); } impl ::core::clone::Clone for PnpObjectWatcher { fn clone(&self) -> Self { @@ -614,7 +614,7 @@ unsafe impl ::windows::core::Interface for PnpObjectWatcher { impl ::windows::core::RuntimeName for PnpObjectWatcher { const NAME: &'static str = "Windows.Devices.Enumeration.Pnp.PnpObjectWatcher"; } -::windows::core::interface_hierarchy!(PnpObjectWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PnpObjectWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PnpObjectWatcher {} unsafe impl ::core::marker::Sync for PnpObjectWatcher {} #[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`*"] @@ -652,7 +652,7 @@ impl ::core::fmt::Debug for PnpObjectType { } } impl ::windows::core::RuntimeType for PnpObjectType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.Pnp.PnpObjectType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.Pnp.PnpObjectType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index 81747b1d4a..3bc5bc2102 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -527,7 +527,7 @@ pub struct IDevicePairingResult_Vtbl { #[repr(transparent)] pub struct IDevicePairingSettings(::windows::core::IUnknown); impl IDevicePairingSettings {} -::windows::core::interface_hierarchy!(IDevicePairingSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDevicePairingSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IDevicePairingSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -540,7 +540,7 @@ impl ::core::fmt::Debug for IDevicePairingSettings { } } impl ::windows::core::RuntimeType for IDevicePairingSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{482cb27c-83bb-420e-be51-6602b222de54}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{482cb27c-83bb-420e-be51-6602b222de54}"); } unsafe impl ::windows::core::Vtable for IDevicePairingSettings { type Vtable = IDevicePairingSettings_Vtbl; @@ -964,7 +964,7 @@ impl ::core::fmt::Debug for DeviceAccessChangedEventArgs { } } impl ::windows::core::RuntimeType for DeviceAccessChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceAccessChangedEventArgs;{deda0bcc-4f9d-4f58-9dba-a9bc800408d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceAccessChangedEventArgs;{deda0bcc-4f9d-4f58-9dba-a9bc800408d5})"); } impl ::core::clone::Clone for DeviceAccessChangedEventArgs { fn clone(&self) -> Self { @@ -980,7 +980,7 @@ unsafe impl ::windows::core::Interface for DeviceAccessChangedEventArgs { impl ::windows::core::RuntimeName for DeviceAccessChangedEventArgs { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceAccessChangedEventArgs"; } -::windows::core::interface_hierarchy!(DeviceAccessChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceAccessChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceAccessChangedEventArgs {} unsafe impl ::core::marker::Sync for DeviceAccessChangedEventArgs {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1029,7 +1029,7 @@ impl DeviceAccessInformation { } #[doc(hidden)] pub fn IDeviceAccessInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1045,7 +1045,7 @@ impl ::core::fmt::Debug for DeviceAccessInformation { } } impl ::windows::core::RuntimeType for DeviceAccessInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceAccessInformation;{0baa9a73-6de5-4915-8ddd-9a0554a6f545})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceAccessInformation;{0baa9a73-6de5-4915-8ddd-9a0554a6f545})"); } impl ::core::clone::Clone for DeviceAccessInformation { fn clone(&self) -> Self { @@ -1061,7 +1061,7 @@ unsafe impl ::windows::core::Interface for DeviceAccessInformation { impl ::windows::core::RuntimeName for DeviceAccessInformation { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceAccessInformation"; } -::windows::core::interface_hierarchy!(DeviceAccessInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceAccessInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceAccessInformation {} unsafe impl ::core::marker::Sync for DeviceAccessInformation {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1088,7 +1088,7 @@ impl ::core::fmt::Debug for DeviceConnectionChangeTriggerDetails { } } impl ::windows::core::RuntimeType for DeviceConnectionChangeTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceConnectionChangeTriggerDetails;{b8578c0c-bbc1-484b-bffa-7b31dcc200b2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceConnectionChangeTriggerDetails;{b8578c0c-bbc1-484b-bffa-7b31dcc200b2})"); } impl ::core::clone::Clone for DeviceConnectionChangeTriggerDetails { fn clone(&self) -> Self { @@ -1104,7 +1104,7 @@ unsafe impl ::windows::core::Interface for DeviceConnectionChangeTriggerDetails impl ::windows::core::RuntimeName for DeviceConnectionChangeTriggerDetails { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceConnectionChangeTriggerDetails"; } -::windows::core::interface_hierarchy!(DeviceConnectionChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceConnectionChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceConnectionChangeTriggerDetails {} unsafe impl ::core::marker::Sync for DeviceConnectionChangeTriggerDetails {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1131,7 +1131,7 @@ impl ::core::fmt::Debug for DeviceDisconnectButtonClickedEventArgs { } } impl ::windows::core::RuntimeType for DeviceDisconnectButtonClickedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceDisconnectButtonClickedEventArgs;{8e44b56d-f902-4a00-b536-f37992e6a2a7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceDisconnectButtonClickedEventArgs;{8e44b56d-f902-4a00-b536-f37992e6a2a7})"); } impl ::core::clone::Clone for DeviceDisconnectButtonClickedEventArgs { fn clone(&self) -> Self { @@ -1147,7 +1147,7 @@ unsafe impl ::windows::core::Interface for DeviceDisconnectButtonClickedEventArg impl ::windows::core::RuntimeName for DeviceDisconnectButtonClickedEventArgs { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceDisconnectButtonClickedEventArgs"; } -::windows::core::interface_hierarchy!(DeviceDisconnectButtonClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceDisconnectButtonClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceDisconnectButtonClickedEventArgs {} unsafe impl ::core::marker::Sync for DeviceDisconnectButtonClickedEventArgs {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1364,12 +1364,12 @@ impl DeviceInformation { } #[doc(hidden)] pub fn IDeviceInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDeviceInformationStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1385,7 +1385,7 @@ impl ::core::fmt::Debug for DeviceInformation { } } impl ::windows::core::RuntimeType for DeviceInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformation;{aba0fb95-4398-489d-8e44-e6130927011f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformation;{aba0fb95-4398-489d-8e44-e6130927011f})"); } impl ::core::clone::Clone for DeviceInformation { fn clone(&self) -> Self { @@ -1401,7 +1401,7 @@ unsafe impl ::windows::core::Interface for DeviceInformation { impl ::windows::core::RuntimeName for DeviceInformation { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceInformation"; } -::windows::core::interface_hierarchy!(DeviceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceInformation {} unsafe impl ::core::marker::Sync for DeviceInformation {} #[doc = "*Required features: `\"Devices_Enumeration\"`, `\"Foundation_Collections\"`*"] @@ -1472,7 +1472,7 @@ impl ::core::fmt::Debug for DeviceInformationCollection { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for DeviceInformationCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Enumeration.DeviceInformation;{aba0fb95-4398-489d-8e44-e6130927011f})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Enumeration.DeviceInformation;{aba0fb95-4398-489d-8e44-e6130927011f})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for DeviceInformationCollection { @@ -1509,7 +1509,7 @@ impl ::core::iter::IntoIterator for &DeviceInformationCollection { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(DeviceInformationCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceInformationCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -1621,7 +1621,7 @@ impl ::core::fmt::Debug for DeviceInformationCustomPairing { } } impl ::windows::core::RuntimeType for DeviceInformationCustomPairing { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationCustomPairing;{85138c02-4ee6-4914-8370-107a39144c0e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationCustomPairing;{85138c02-4ee6-4914-8370-107a39144c0e})"); } impl ::core::clone::Clone for DeviceInformationCustomPairing { fn clone(&self) -> Self { @@ -1637,7 +1637,7 @@ unsafe impl ::windows::core::Interface for DeviceInformationCustomPairing { impl ::windows::core::RuntimeName for DeviceInformationCustomPairing { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceInformationCustomPairing"; } -::windows::core::interface_hierarchy!(DeviceInformationCustomPairing, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceInformationCustomPairing, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceInformationCustomPairing {} unsafe impl ::core::marker::Sync for DeviceInformationCustomPairing {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1726,12 +1726,12 @@ impl DeviceInformationPairing { } #[doc(hidden)] pub fn IDeviceInformationPairingStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDeviceInformationPairingStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1747,7 +1747,7 @@ impl ::core::fmt::Debug for DeviceInformationPairing { } } impl ::windows::core::RuntimeType for DeviceInformationPairing { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationPairing;{2c4769f5-f684-40d5-8469-e8dbaab70485})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationPairing;{2c4769f5-f684-40d5-8469-e8dbaab70485})"); } impl ::core::clone::Clone for DeviceInformationPairing { fn clone(&self) -> Self { @@ -1763,7 +1763,7 @@ unsafe impl ::windows::core::Interface for DeviceInformationPairing { impl ::windows::core::RuntimeName for DeviceInformationPairing { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceInformationPairing"; } -::windows::core::interface_hierarchy!(DeviceInformationPairing, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceInformationPairing, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceInformationPairing {} unsafe impl ::core::marker::Sync for DeviceInformationPairing {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1806,7 +1806,7 @@ impl ::core::fmt::Debug for DeviceInformationUpdate { } } impl ::windows::core::RuntimeType for DeviceInformationUpdate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationUpdate;{8f315305-d972-44b7-a37e-9e822c78213b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationUpdate;{8f315305-d972-44b7-a37e-9e822c78213b})"); } impl ::core::clone::Clone for DeviceInformationUpdate { fn clone(&self) -> Self { @@ -1822,7 +1822,7 @@ unsafe impl ::windows::core::Interface for DeviceInformationUpdate { impl ::windows::core::RuntimeName for DeviceInformationUpdate { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceInformationUpdate"; } -::windows::core::interface_hierarchy!(DeviceInformationUpdate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceInformationUpdate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceInformationUpdate {} unsafe impl ::core::marker::Sync for DeviceInformationUpdate {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1886,7 +1886,7 @@ impl ::core::fmt::Debug for DevicePairingRequestedEventArgs { } } impl ::windows::core::RuntimeType for DevicePairingRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePairingRequestedEventArgs;{f717fc56-de6b-487f-8376-0180aca69963})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePairingRequestedEventArgs;{f717fc56-de6b-487f-8376-0180aca69963})"); } impl ::core::clone::Clone for DevicePairingRequestedEventArgs { fn clone(&self) -> Self { @@ -1902,7 +1902,7 @@ unsafe impl ::windows::core::Interface for DevicePairingRequestedEventArgs { impl ::windows::core::RuntimeName for DevicePairingRequestedEventArgs { const NAME: &'static str = "Windows.Devices.Enumeration.DevicePairingRequestedEventArgs"; } -::windows::core::interface_hierarchy!(DevicePairingRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePairingRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DevicePairingRequestedEventArgs {} unsafe impl ::core::marker::Sync for DevicePairingRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1936,7 +1936,7 @@ impl ::core::fmt::Debug for DevicePairingResult { } } impl ::windows::core::RuntimeType for DevicePairingResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePairingResult;{072b02bf-dd95-4025-9b37-de51adba37b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePairingResult;{072b02bf-dd95-4025-9b37-de51adba37b7})"); } impl ::core::clone::Clone for DevicePairingResult { fn clone(&self) -> Self { @@ -1952,7 +1952,7 @@ unsafe impl ::windows::core::Interface for DevicePairingResult { impl ::windows::core::RuntimeName for DevicePairingResult { const NAME: &'static str = "Windows.Devices.Enumeration.DevicePairingResult"; } -::windows::core::interface_hierarchy!(DevicePairingResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePairingResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DevicePairingResult {} unsafe impl ::core::marker::Sync for DevicePairingResult {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1962,8 +1962,8 @@ impl DevicePicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Filter(&self) -> ::windows::core::Result { @@ -2085,7 +2085,7 @@ impl ::core::fmt::Debug for DevicePicker { } } impl ::windows::core::RuntimeType for DevicePicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePicker;{84997aa2-034a-4440-8813-7d0bd479bf5a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePicker;{84997aa2-034a-4440-8813-7d0bd479bf5a})"); } impl ::core::clone::Clone for DevicePicker { fn clone(&self) -> Self { @@ -2101,7 +2101,7 @@ unsafe impl ::windows::core::Interface for DevicePicker { impl ::windows::core::RuntimeName for DevicePicker { const NAME: &'static str = "Windows.Devices.Enumeration.DevicePicker"; } -::windows::core::interface_hierarchy!(DevicePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DevicePicker {} unsafe impl ::core::marker::Sync for DevicePicker {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2222,7 +2222,7 @@ impl ::core::fmt::Debug for DevicePickerAppearance { } } impl ::windows::core::RuntimeType for DevicePickerAppearance { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePickerAppearance;{e69a12c6-e627-4ed8-9b6c-460af445e56d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePickerAppearance;{e69a12c6-e627-4ed8-9b6c-460af445e56d})"); } impl ::core::clone::Clone for DevicePickerAppearance { fn clone(&self) -> Self { @@ -2238,7 +2238,7 @@ unsafe impl ::windows::core::Interface for DevicePickerAppearance { impl ::windows::core::RuntimeName for DevicePickerAppearance { const NAME: &'static str = "Windows.Devices.Enumeration.DevicePickerAppearance"; } -::windows::core::interface_hierarchy!(DevicePickerAppearance, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePickerAppearance, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DevicePickerAppearance {} unsafe impl ::core::marker::Sync for DevicePickerAppearance {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2276,7 +2276,7 @@ impl ::core::fmt::Debug for DevicePickerFilter { } } impl ::windows::core::RuntimeType for DevicePickerFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePickerFilter;{91db92a2-57cb-48f1-9b59-a59b7a1f02a2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePickerFilter;{91db92a2-57cb-48f1-9b59-a59b7a1f02a2})"); } impl ::core::clone::Clone for DevicePickerFilter { fn clone(&self) -> Self { @@ -2292,7 +2292,7 @@ unsafe impl ::windows::core::Interface for DevicePickerFilter { impl ::windows::core::RuntimeName for DevicePickerFilter { const NAME: &'static str = "Windows.Devices.Enumeration.DevicePickerFilter"; } -::windows::core::interface_hierarchy!(DevicePickerFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePickerFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DevicePickerFilter {} unsafe impl ::core::marker::Sync for DevicePickerFilter {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2319,7 +2319,7 @@ impl ::core::fmt::Debug for DeviceSelectedEventArgs { } } impl ::windows::core::RuntimeType for DeviceSelectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceSelectedEventArgs;{269edade-1d2f-4940-8402-4156b81d3c77})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceSelectedEventArgs;{269edade-1d2f-4940-8402-4156b81d3c77})"); } impl ::core::clone::Clone for DeviceSelectedEventArgs { fn clone(&self) -> Self { @@ -2335,7 +2335,7 @@ unsafe impl ::windows::core::Interface for DeviceSelectedEventArgs { impl ::windows::core::RuntimeName for DeviceSelectedEventArgs { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceSelectedEventArgs"; } -::windows::core::interface_hierarchy!(DeviceSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceSelectedEventArgs {} unsafe impl ::core::marker::Sync for DeviceSelectedEventArgs {} #[doc = "*Required features: `\"Devices_Enumeration\"`, `\"Storage_Streams\"`*"] @@ -2486,7 +2486,7 @@ impl ::core::fmt::Debug for DeviceThumbnail { } #[cfg(feature = "Storage_Streams")] impl ::windows::core::RuntimeType for DeviceThumbnail { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceThumbnail;{cc254827-4b3d-438f-9232-10c76bc7e038})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceThumbnail;{cc254827-4b3d-438f-9232-10c76bc7e038})"); } #[cfg(feature = "Storage_Streams")] impl ::core::clone::Clone for DeviceThumbnail { @@ -2507,7 +2507,7 @@ impl ::windows::core::RuntimeName for DeviceThumbnail { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceThumbnail"; } #[cfg(feature = "Storage_Streams")] -::windows::core::interface_hierarchy!(DeviceThumbnail, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceThumbnail, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2668,7 +2668,7 @@ impl ::core::fmt::Debug for DeviceUnpairingResult { } } impl ::windows::core::RuntimeType for DeviceUnpairingResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceUnpairingResult;{66f44ad3-79d9-444b-92cf-a92ef72571c7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceUnpairingResult;{66f44ad3-79d9-444b-92cf-a92ef72571c7})"); } impl ::core::clone::Clone for DeviceUnpairingResult { fn clone(&self) -> Self { @@ -2684,7 +2684,7 @@ unsafe impl ::windows::core::Interface for DeviceUnpairingResult { impl ::windows::core::RuntimeName for DeviceUnpairingResult { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceUnpairingResult"; } -::windows::core::interface_hierarchy!(DeviceUnpairingResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceUnpairingResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceUnpairingResult {} unsafe impl ::core::marker::Sync for DeviceUnpairingResult {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2807,7 +2807,7 @@ impl ::core::fmt::Debug for DeviceWatcher { } } impl ::windows::core::RuntimeType for DeviceWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcher;{c9eab97d-8f6b-4f96-a9f4-abc814e22271})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcher;{c9eab97d-8f6b-4f96-a9f4-abc814e22271})"); } impl ::core::clone::Clone for DeviceWatcher { fn clone(&self) -> Self { @@ -2823,7 +2823,7 @@ unsafe impl ::windows::core::Interface for DeviceWatcher { impl ::windows::core::RuntimeName for DeviceWatcher { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceWatcher"; } -::windows::core::interface_hierarchy!(DeviceWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceWatcher {} unsafe impl ::core::marker::Sync for DeviceWatcher {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2864,7 +2864,7 @@ impl ::core::fmt::Debug for DeviceWatcherEvent { } } impl ::windows::core::RuntimeType for DeviceWatcherEvent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcherEvent;{74aa9c0b-1dbd-47fd-b635-3cc556d0ff8b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcherEvent;{74aa9c0b-1dbd-47fd-b635-3cc556d0ff8b})"); } impl ::core::clone::Clone for DeviceWatcherEvent { fn clone(&self) -> Self { @@ -2880,7 +2880,7 @@ unsafe impl ::windows::core::Interface for DeviceWatcherEvent { impl ::windows::core::RuntimeName for DeviceWatcherEvent { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceWatcherEvent"; } -::windows::core::interface_hierarchy!(DeviceWatcherEvent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceWatcherEvent, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceWatcherEvent {} unsafe impl ::core::marker::Sync for DeviceWatcherEvent {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2909,7 +2909,7 @@ impl ::core::fmt::Debug for DeviceWatcherTriggerDetails { } } impl ::windows::core::RuntimeType for DeviceWatcherTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcherTriggerDetails;{38808119-4cb7-4e57-a56d-776d07cbfef9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcherTriggerDetails;{38808119-4cb7-4e57-a56d-776d07cbfef9})"); } impl ::core::clone::Clone for DeviceWatcherTriggerDetails { fn clone(&self) -> Self { @@ -2925,7 +2925,7 @@ unsafe impl ::windows::core::Interface for DeviceWatcherTriggerDetails { impl ::windows::core::RuntimeName for DeviceWatcherTriggerDetails { const NAME: &'static str = "Windows.Devices.Enumeration.DeviceWatcherTriggerDetails"; } -::windows::core::interface_hierarchy!(DeviceWatcherTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceWatcherTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceWatcherTriggerDetails {} unsafe impl ::core::marker::Sync for DeviceWatcherTriggerDetails {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2973,7 +2973,7 @@ impl ::core::fmt::Debug for EnclosureLocation { } } impl ::windows::core::RuntimeType for EnclosureLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.EnclosureLocation;{42340a27-5810-459c-aabb-c65e1f813ecf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.EnclosureLocation;{42340a27-5810-459c-aabb-c65e1f813ecf})"); } impl ::core::clone::Clone for EnclosureLocation { fn clone(&self) -> Self { @@ -2989,7 +2989,7 @@ unsafe impl ::windows::core::Interface for EnclosureLocation { impl ::windows::core::RuntimeName for EnclosureLocation { const NAME: &'static str = "Windows.Devices.Enumeration.EnclosureLocation"; } -::windows::core::interface_hierarchy!(EnclosureLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EnclosureLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EnclosureLocation {} unsafe impl ::core::marker::Sync for EnclosureLocation {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -3022,7 +3022,7 @@ impl ::core::fmt::Debug for DeviceAccessStatus { } } impl ::windows::core::RuntimeType for DeviceAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceAccessStatus;i4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3057,7 +3057,7 @@ impl ::core::fmt::Debug for DeviceClass { } } impl ::windows::core::RuntimeType for DeviceClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceClass;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceClass;i4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3094,7 +3094,7 @@ impl ::core::fmt::Debug for DeviceInformationKind { } } impl ::windows::core::RuntimeType for DeviceInformationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceInformationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceInformationKind;i4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3161,7 +3161,7 @@ impl ::core::ops::Not for DevicePairingKinds { } } impl ::windows::core::RuntimeType for DevicePairingKinds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DevicePairingKinds;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DevicePairingKinds;u4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3193,7 +3193,7 @@ impl ::core::fmt::Debug for DevicePairingProtectionLevel { } } impl ::windows::core::RuntimeType for DevicePairingProtectionLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DevicePairingProtectionLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DevicePairingProtectionLevel;i4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3241,7 +3241,7 @@ impl ::core::fmt::Debug for DevicePairingResultStatus { } } impl ::windows::core::RuntimeType for DevicePairingResultStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DevicePairingResultStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DevicePairingResultStatus;i4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3306,7 +3306,7 @@ impl ::core::ops::Not for DevicePickerDisplayStatusOptions { } } impl ::windows::core::RuntimeType for DevicePickerDisplayStatusOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DevicePickerDisplayStatusOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DevicePickerDisplayStatusOptions;u4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3339,7 +3339,7 @@ impl ::core::fmt::Debug for DeviceUnpairingResultStatus { } } impl ::windows::core::RuntimeType for DeviceUnpairingResultStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceUnpairingResultStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceUnpairingResultStatus;i4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3370,7 +3370,7 @@ impl ::core::fmt::Debug for DeviceWatcherEventKind { } } impl ::windows::core::RuntimeType for DeviceWatcherEventKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceWatcherEventKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceWatcherEventKind;i4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3404,7 +3404,7 @@ impl ::core::fmt::Debug for DeviceWatcherStatus { } } impl ::windows::core::RuntimeType for DeviceWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.DeviceWatcherStatus;i4)"); } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] @@ -3439,7 +3439,7 @@ impl ::core::fmt::Debug for Panel { } } impl ::windows::core::RuntimeType for Panel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.Panel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Enumeration.Panel;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs index fec623c782..f0ec34f6d4 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs @@ -255,7 +255,7 @@ impl Geofence { } #[doc(hidden)] pub fn IGeofenceFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -271,7 +271,7 @@ impl ::core::fmt::Debug for Geofence { } } impl ::windows::core::RuntimeType for Geofence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.Geofence;{9c090823-edb8-47e0-8245-5bf61d321f2d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.Geofence;{9c090823-edb8-47e0-8245-5bf61d321f2d})"); } impl ::core::clone::Clone for Geofence { fn clone(&self) -> Self { @@ -287,7 +287,7 @@ unsafe impl ::windows::core::Interface for Geofence { impl ::windows::core::RuntimeName for Geofence { const NAME: &'static str = "Windows.Devices.Geolocation.Geofencing.Geofence"; } -::windows::core::interface_hierarchy!(Geofence, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Geofence, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Geofence {} unsafe impl ::core::marker::Sync for Geofence {} #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] @@ -364,7 +364,7 @@ impl GeofenceMonitor { } #[doc(hidden)] pub fn IGeofenceMonitorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -380,7 +380,7 @@ impl ::core::fmt::Debug for GeofenceMonitor { } } impl ::windows::core::RuntimeType for GeofenceMonitor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.GeofenceMonitor;{4c0f5f78-1c1f-4621-bbbd-833b92247226})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.GeofenceMonitor;{4c0f5f78-1c1f-4621-bbbd-833b92247226})"); } impl ::core::clone::Clone for GeofenceMonitor { fn clone(&self) -> Self { @@ -396,7 +396,7 @@ unsafe impl ::windows::core::Interface for GeofenceMonitor { impl ::windows::core::RuntimeName for GeofenceMonitor { const NAME: &'static str = "Windows.Devices.Geolocation.Geofencing.GeofenceMonitor"; } -::windows::core::interface_hierarchy!(GeofenceMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeofenceMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GeofenceMonitor {} unsafe impl ::core::marker::Sync for GeofenceMonitor {} #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] @@ -444,7 +444,7 @@ impl ::core::fmt::Debug for GeofenceStateChangeReport { } } impl ::windows::core::RuntimeType for GeofenceStateChangeReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.GeofenceStateChangeReport;{9a243c18-2464-4c89-be05-b3ffff5babc5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.GeofenceStateChangeReport;{9a243c18-2464-4c89-be05-b3ffff5babc5})"); } impl ::core::clone::Clone for GeofenceStateChangeReport { fn clone(&self) -> Self { @@ -460,7 +460,7 @@ unsafe impl ::windows::core::Interface for GeofenceStateChangeReport { impl ::windows::core::RuntimeName for GeofenceStateChangeReport { const NAME: &'static str = "Windows.Devices.Geolocation.Geofencing.GeofenceStateChangeReport"; } -::windows::core::interface_hierarchy!(GeofenceStateChangeReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeofenceStateChangeReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GeofenceStateChangeReport {} unsafe impl ::core::marker::Sync for GeofenceStateChangeReport {} #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] @@ -495,7 +495,7 @@ impl ::core::fmt::Debug for GeofenceMonitorStatus { } } impl ::windows::core::RuntimeType for GeofenceMonitorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Geofencing.GeofenceMonitorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Geofencing.GeofenceMonitorStatus;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] #[repr(transparent)] @@ -525,7 +525,7 @@ impl ::core::fmt::Debug for GeofenceRemovalReason { } } impl ::windows::core::RuntimeType for GeofenceRemovalReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Geofencing.GeofenceRemovalReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Geofencing.GeofenceRemovalReason;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] #[repr(transparent)] @@ -590,7 +590,7 @@ impl ::core::ops::Not for GeofenceState { } } impl ::windows::core::RuntimeType for GeofenceState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Geofencing.GeofenceState;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Geofencing.GeofenceState;u4)"); } #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] #[repr(transparent)] @@ -655,7 +655,7 @@ impl ::core::ops::Not for MonitoredGeofenceStates { } } impl ::windows::core::RuntimeType for MonitoredGeofenceStates { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Geofencing.MonitoredGeofenceStates;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Geofencing.MonitoredGeofenceStates;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs index 16d3e47622..3b38e86c7f 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs @@ -35,8 +35,8 @@ impl GeolocationProvider { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsOverridden(&self) -> ::windows::core::Result { @@ -85,7 +85,7 @@ impl ::core::fmt::Debug for GeolocationProvider { } } impl ::windows::core::RuntimeType for GeolocationProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Provider.GeolocationProvider;{e4cf071d-3f64-509f-8dc2-0b74a059829d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Provider.GeolocationProvider;{e4cf071d-3f64-509f-8dc2-0b74a059829d})"); } impl ::core::clone::Clone for GeolocationProvider { fn clone(&self) -> Self { @@ -101,7 +101,7 @@ unsafe impl ::windows::core::Interface for GeolocationProvider { impl ::windows::core::RuntimeName for GeolocationProvider { const NAME: &'static str = "Windows.Devices.Geolocation.Provider.GeolocationProvider"; } -::windows::core::interface_hierarchy!(GeolocationProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeolocationProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GeolocationProvider {} unsafe impl ::core::marker::Sync for GeolocationProvider {} #[doc = "*Required features: `\"Devices_Geolocation_Provider\"`*"] @@ -134,7 +134,7 @@ impl ::core::fmt::Debug for LocationOverrideStatus { } } impl ::windows::core::RuntimeType for LocationOverrideStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Provider.LocationOverrideStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.Provider.LocationOverrideStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index daa2803c86..c7b235a42b 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -658,7 +658,7 @@ impl IGeoshape { } } } -::windows::core::interface_hierarchy!(IGeoshape, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGeoshape, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGeoshape { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -671,7 +671,7 @@ impl ::core::fmt::Debug for IGeoshape { } } impl ::windows::core::RuntimeType for IGeoshape { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c99ca2af-c729-43c1-8fab-d6dec914df7e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c99ca2af-c729-43c1-8fab-d6dec914df7e}"); } unsafe impl ::windows::core::Vtable for IGeoshape { type Vtable = IGeoshape_Vtbl; @@ -928,7 +928,7 @@ impl ::core::fmt::Debug for CivicAddress { } } impl ::windows::core::RuntimeType for CivicAddress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.CivicAddress;{a8567a1a-64f4-4d48-bcea-f6b008eca34c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.CivicAddress;{a8567a1a-64f4-4d48-bcea-f6b008eca34c})"); } impl ::core::clone::Clone for CivicAddress { fn clone(&self) -> Self { @@ -944,7 +944,7 @@ unsafe impl ::windows::core::Interface for CivicAddress { impl ::windows::core::RuntimeName for CivicAddress { const NAME: &'static str = "Windows.Devices.Geolocation.CivicAddress"; } -::windows::core::interface_hierarchy!(CivicAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CivicAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CivicAddress {} unsafe impl ::core::marker::Sync for CivicAddress {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1063,12 +1063,12 @@ impl GeoboundingBox { } #[doc(hidden)] pub fn IGeoboundingBoxFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGeoboundingBoxStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1084,7 +1084,7 @@ impl ::core::fmt::Debug for GeoboundingBox { } } impl ::windows::core::RuntimeType for GeoboundingBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeoboundingBox;{0896c80b-274f-43da-9a06-cbfcdaeb4ec2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeoboundingBox;{0896c80b-274f-43da-9a06-cbfcdaeb4ec2})"); } impl ::core::clone::Clone for GeoboundingBox { fn clone(&self) -> Self { @@ -1100,7 +1100,7 @@ unsafe impl ::windows::core::Interface for GeoboundingBox { impl ::windows::core::RuntimeName for GeoboundingBox { const NAME: &'static str = "Windows.Devices.Geolocation.GeoboundingBox"; } -::windows::core::interface_hierarchy!(GeoboundingBox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeoboundingBox, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGeoshape { type Error = ::windows::core::Error; fn try_from(value: GeoboundingBox) -> ::windows::core::Result { @@ -1181,7 +1181,7 @@ impl Geocircle { } #[doc(hidden)] pub fn IGeocircleFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1197,7 +1197,7 @@ impl ::core::fmt::Debug for Geocircle { } } impl ::windows::core::RuntimeType for Geocircle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geocircle;{39e45843-a7f9-4e63-92a7-ba0c28d124b1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geocircle;{39e45843-a7f9-4e63-92a7-ba0c28d124b1})"); } impl ::core::clone::Clone for Geocircle { fn clone(&self) -> Self { @@ -1213,7 +1213,7 @@ unsafe impl ::windows::core::Interface for Geocircle { impl ::windows::core::RuntimeName for Geocircle { const NAME: &'static str = "Windows.Devices.Geolocation.Geocircle"; } -::windows::core::interface_hierarchy!(Geocircle, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Geocircle, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGeoshape { type Error = ::windows::core::Error; fn try_from(value: Geocircle) -> ::windows::core::Result { @@ -1359,7 +1359,7 @@ impl ::core::fmt::Debug for Geocoordinate { } } impl ::windows::core::RuntimeType for Geocoordinate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geocoordinate;{ee21a3aa-976a-4c70-803d-083ea55bcbc4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geocoordinate;{ee21a3aa-976a-4c70-803d-083ea55bcbc4})"); } impl ::core::clone::Clone for Geocoordinate { fn clone(&self) -> Self { @@ -1375,7 +1375,7 @@ unsafe impl ::windows::core::Interface for Geocoordinate { impl ::windows::core::RuntimeName for Geocoordinate { const NAME: &'static str = "Windows.Devices.Geolocation.Geocoordinate"; } -::windows::core::interface_hierarchy!(Geocoordinate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Geocoordinate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Geocoordinate {} unsafe impl ::core::marker::Sync for Geocoordinate {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1440,7 +1440,7 @@ impl ::core::fmt::Debug for GeocoordinateSatelliteData { } } impl ::windows::core::RuntimeType for GeocoordinateSatelliteData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeocoordinateSatelliteData;{c32a74d9-2608-474c-912c-06dd490f4af7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeocoordinateSatelliteData;{c32a74d9-2608-474c-912c-06dd490f4af7})"); } impl ::core::clone::Clone for GeocoordinateSatelliteData { fn clone(&self) -> Self { @@ -1456,7 +1456,7 @@ unsafe impl ::windows::core::Interface for GeocoordinateSatelliteData { impl ::windows::core::RuntimeName for GeocoordinateSatelliteData { const NAME: &'static str = "Windows.Devices.Geolocation.GeocoordinateSatelliteData"; } -::windows::core::interface_hierarchy!(GeocoordinateSatelliteData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeocoordinateSatelliteData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GeocoordinateSatelliteData {} unsafe impl ::core::marker::Sync for GeocoordinateSatelliteData {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1466,8 +1466,8 @@ impl Geolocator { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn DesiredAccuracy(&self) -> ::windows::core::Result { @@ -1630,12 +1630,12 @@ impl Geolocator { } #[doc(hidden)] pub fn IGeolocatorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGeolocatorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1651,7 +1651,7 @@ impl ::core::fmt::Debug for Geolocator { } } impl ::windows::core::RuntimeType for Geolocator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geolocator;{a9c3bf62-4524-4989-8aa9-de019d2e551f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geolocator;{a9c3bf62-4524-4989-8aa9-de019d2e551f})"); } impl ::core::clone::Clone for Geolocator { fn clone(&self) -> Self { @@ -1667,7 +1667,7 @@ unsafe impl ::windows::core::Interface for Geolocator { impl ::windows::core::RuntimeName for Geolocator { const NAME: &'static str = "Windows.Devices.Geolocation.Geolocator"; } -::windows::core::interface_hierarchy!(Geolocator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Geolocator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Geolocator {} unsafe impl ::core::marker::Sync for Geolocator {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1742,7 +1742,7 @@ impl Geopath { } #[doc(hidden)] pub fn IGeopathFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1758,7 +1758,7 @@ impl ::core::fmt::Debug for Geopath { } } impl ::windows::core::RuntimeType for Geopath { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geopath;{e53fd7b9-2da4-4714-a652-de8593289898})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geopath;{e53fd7b9-2da4-4714-a652-de8593289898})"); } impl ::core::clone::Clone for Geopath { fn clone(&self) -> Self { @@ -1774,7 +1774,7 @@ unsafe impl ::windows::core::Interface for Geopath { impl ::windows::core::RuntimeName for Geopath { const NAME: &'static str = "Windows.Devices.Geolocation.Geopath"; } -::windows::core::interface_hierarchy!(Geopath, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Geopath, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGeoshape { type Error = ::windows::core::Error; fn try_from(value: Geopath) -> ::windows::core::Result { @@ -1848,7 +1848,7 @@ impl Geopoint { } #[doc(hidden)] pub fn IGeopointFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1864,7 +1864,7 @@ impl ::core::fmt::Debug for Geopoint { } } impl ::windows::core::RuntimeType for Geopoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geopoint;{6bfa00eb-e56e-49bb-9caf-cbaa78a8bcef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geopoint;{6bfa00eb-e56e-49bb-9caf-cbaa78a8bcef})"); } impl ::core::clone::Clone for Geopoint { fn clone(&self) -> Self { @@ -1880,7 +1880,7 @@ unsafe impl ::windows::core::Interface for Geopoint { impl ::windows::core::RuntimeName for Geopoint { const NAME: &'static str = "Windows.Devices.Geolocation.Geopoint"; } -::windows::core::interface_hierarchy!(Geopoint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Geopoint, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGeoshape { type Error = ::windows::core::Error; fn try_from(value: Geopoint) -> ::windows::core::Result { @@ -1940,7 +1940,7 @@ impl ::core::fmt::Debug for Geoposition { } } impl ::windows::core::RuntimeType for Geoposition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geoposition;{c18d0454-7d41-4ff7-a957-9dffb4ef7f5b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geoposition;{c18d0454-7d41-4ff7-a957-9dffb4ef7f5b})"); } impl ::core::clone::Clone for Geoposition { fn clone(&self) -> Self { @@ -1956,7 +1956,7 @@ unsafe impl ::windows::core::Interface for Geoposition { impl ::windows::core::RuntimeName for Geoposition { const NAME: &'static str = "Windows.Devices.Geolocation.Geoposition"; } -::windows::core::interface_hierarchy!(Geoposition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Geoposition, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Geoposition {} unsafe impl ::core::marker::Sync for Geoposition {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1999,7 +1999,7 @@ impl ::core::fmt::Debug for Geovisit { } } impl ::windows::core::RuntimeType for Geovisit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geovisit;{b1877a76-9ef6-41ab-a0dd-793ece76e2de})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geovisit;{b1877a76-9ef6-41ab-a0dd-793ece76e2de})"); } impl ::core::clone::Clone for Geovisit { fn clone(&self) -> Self { @@ -2015,7 +2015,7 @@ unsafe impl ::windows::core::Interface for Geovisit { impl ::windows::core::RuntimeName for Geovisit { const NAME: &'static str = "Windows.Devices.Geolocation.Geovisit"; } -::windows::core::interface_hierarchy!(Geovisit, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Geovisit, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Geovisit {} unsafe impl ::core::marker::Sync for Geovisit {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -2025,8 +2025,8 @@ impl GeovisitMonitor { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MonitoringScope(&self) -> ::windows::core::Result { @@ -2069,7 +2069,7 @@ impl GeovisitMonitor { } #[doc(hidden)] pub fn IGeovisitMonitorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2085,7 +2085,7 @@ impl ::core::fmt::Debug for GeovisitMonitor { } } impl ::windows::core::RuntimeType for GeovisitMonitor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitMonitor;{80118aaf-5944-4591-83c1-396647f54f2c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitMonitor;{80118aaf-5944-4591-83c1-396647f54f2c})"); } impl ::core::clone::Clone for GeovisitMonitor { fn clone(&self) -> Self { @@ -2101,7 +2101,7 @@ unsafe impl ::windows::core::Interface for GeovisitMonitor { impl ::windows::core::RuntimeName for GeovisitMonitor { const NAME: &'static str = "Windows.Devices.Geolocation.GeovisitMonitor"; } -::windows::core::interface_hierarchy!(GeovisitMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeovisitMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GeovisitMonitor {} unsafe impl ::core::marker::Sync for GeovisitMonitor {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -2128,7 +2128,7 @@ impl ::core::fmt::Debug for GeovisitStateChangedEventArgs { } } impl ::windows::core::RuntimeType for GeovisitStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitStateChangedEventArgs;{ceb4d1ff-8b53-4968-beed-4cecd029ce15})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitStateChangedEventArgs;{ceb4d1ff-8b53-4968-beed-4cecd029ce15})"); } impl ::core::clone::Clone for GeovisitStateChangedEventArgs { fn clone(&self) -> Self { @@ -2144,7 +2144,7 @@ unsafe impl ::windows::core::Interface for GeovisitStateChangedEventArgs { impl ::windows::core::RuntimeName for GeovisitStateChangedEventArgs { const NAME: &'static str = "Windows.Devices.Geolocation.GeovisitStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(GeovisitStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeovisitStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GeovisitStateChangedEventArgs {} unsafe impl ::core::marker::Sync for GeovisitStateChangedEventArgs {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -2173,7 +2173,7 @@ impl ::core::fmt::Debug for GeovisitTriggerDetails { } } impl ::windows::core::RuntimeType for GeovisitTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitTriggerDetails;{ea770d9e-d1c9-454b-99b7-b2f8cdd2482f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitTriggerDetails;{ea770d9e-d1c9-454b-99b7-b2f8cdd2482f})"); } impl ::core::clone::Clone for GeovisitTriggerDetails { fn clone(&self) -> Self { @@ -2189,7 +2189,7 @@ unsafe impl ::windows::core::Interface for GeovisitTriggerDetails { impl ::windows::core::RuntimeName for GeovisitTriggerDetails { const NAME: &'static str = "Windows.Devices.Geolocation.GeovisitTriggerDetails"; } -::windows::core::interface_hierarchy!(GeovisitTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeovisitTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GeovisitTriggerDetails {} unsafe impl ::core::marker::Sync for GeovisitTriggerDetails {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -2216,7 +2216,7 @@ impl ::core::fmt::Debug for PositionChangedEventArgs { } } impl ::windows::core::RuntimeType for PositionChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.PositionChangedEventArgs;{37859ce5-9d1e-46c5-bf3b-6ad8cac1a093})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.PositionChangedEventArgs;{37859ce5-9d1e-46c5-bf3b-6ad8cac1a093})"); } impl ::core::clone::Clone for PositionChangedEventArgs { fn clone(&self) -> Self { @@ -2232,7 +2232,7 @@ unsafe impl ::windows::core::Interface for PositionChangedEventArgs { impl ::windows::core::RuntimeName for PositionChangedEventArgs { const NAME: &'static str = "Windows.Devices.Geolocation.PositionChangedEventArgs"; } -::windows::core::interface_hierarchy!(PositionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PositionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PositionChangedEventArgs {} unsafe impl ::core::marker::Sync for PositionChangedEventArgs {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -2259,7 +2259,7 @@ impl ::core::fmt::Debug for StatusChangedEventArgs { } } impl ::windows::core::RuntimeType for StatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.StatusChangedEventArgs;{3453d2da-8c93-4111-a205-9aecfc9be5c0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.StatusChangedEventArgs;{3453d2da-8c93-4111-a205-9aecfc9be5c0})"); } impl ::core::clone::Clone for StatusChangedEventArgs { fn clone(&self) -> Self { @@ -2275,7 +2275,7 @@ unsafe impl ::windows::core::Interface for StatusChangedEventArgs { impl ::windows::core::RuntimeName for StatusChangedEventArgs { const NAME: &'static str = "Windows.Devices.Geolocation.StatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(StatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StatusChangedEventArgs {} unsafe impl ::core::marker::Sync for StatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -2309,7 +2309,7 @@ impl ::core::fmt::Debug for VenueData { } } impl ::windows::core::RuntimeType for VenueData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.VenueData;{66f39187-60e3-4b2f-b527-4f53f1c3c677})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.VenueData;{66f39187-60e3-4b2f-b527-4f53f1c3c677})"); } impl ::core::clone::Clone for VenueData { fn clone(&self) -> Self { @@ -2325,7 +2325,7 @@ unsafe impl ::windows::core::Interface for VenueData { impl ::windows::core::RuntimeName for VenueData { const NAME: &'static str = "Windows.Devices.Geolocation.VenueData"; } -::windows::core::interface_hierarchy!(VenueData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VenueData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VenueData {} unsafe impl ::core::marker::Sync for VenueData {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -2359,7 +2359,7 @@ impl ::core::fmt::Debug for AltitudeReferenceSystem { } } impl ::windows::core::RuntimeType for AltitudeReferenceSystem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.AltitudeReferenceSystem;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.AltitudeReferenceSystem;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] @@ -2390,7 +2390,7 @@ impl ::core::fmt::Debug for GeolocationAccessStatus { } } impl ::windows::core::RuntimeType for GeolocationAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.GeolocationAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.GeolocationAccessStatus;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] @@ -2422,7 +2422,7 @@ impl ::core::fmt::Debug for GeoshapeType { } } impl ::windows::core::RuntimeType for GeoshapeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.GeoshapeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.GeoshapeType;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] @@ -2452,7 +2452,7 @@ impl ::core::fmt::Debug for PositionAccuracy { } } impl ::windows::core::RuntimeType for PositionAccuracy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.PositionAccuracy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.PositionAccuracy;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] @@ -2487,7 +2487,7 @@ impl ::core::fmt::Debug for PositionSource { } } impl ::windows::core::RuntimeType for PositionSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.PositionSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.PositionSource;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] @@ -2521,7 +2521,7 @@ impl ::core::fmt::Debug for PositionStatus { } } impl ::windows::core::RuntimeType for PositionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.PositionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.PositionStatus;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] @@ -2551,7 +2551,7 @@ impl ::core::fmt::Debug for VisitMonitoringScope { } } impl ::windows::core::RuntimeType for VisitMonitoringScope { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.VisitMonitoringScope;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.VisitMonitoringScope;i4)"); } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] @@ -2583,7 +2583,7 @@ impl ::core::fmt::Debug for VisitStateChange { } } impl ::windows::core::RuntimeType for VisitStateChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.VisitStateChange;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Geolocation.VisitStateChange;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -2607,7 +2607,7 @@ impl ::windows::core::TypeKind for BasicGeoposition { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for BasicGeoposition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.Geolocation.BasicGeoposition;f8;f8;f8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.Geolocation.BasicGeoposition;f8;f8;f8)"); } impl ::core::cmp::PartialEq for BasicGeoposition { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs index e0829bce4c..ec629ccb06 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs @@ -17,7 +17,7 @@ impl IGpioControllerProvider { } } } -::windows::core::interface_hierarchy!(IGpioControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGpioControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGpioControllerProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30,7 +30,7 @@ impl ::core::fmt::Debug for IGpioControllerProvider { } } impl ::windows::core::RuntimeType for IGpioControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ad11cec7-19ea-4b21-874f-b91aed4a25db}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ad11cec7-19ea-4b21-874f-b91aed4a25db}"); } unsafe impl ::windows::core::Vtable for IGpioControllerProvider { type Vtable = IGpioControllerProvider_Vtbl; @@ -128,7 +128,7 @@ impl IGpioPinProvider { } } } -::windows::core::interface_hierarchy!(IGpioPinProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGpioPinProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGpioPinProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -141,7 +141,7 @@ impl ::core::fmt::Debug for IGpioPinProvider { } } impl ::windows::core::RuntimeType for IGpioPinProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{42344cb7-6abc-40ff-9ce7-73b85301b900}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{42344cb7-6abc-40ff-9ce7-73b85301b900}"); } unsafe impl ::windows::core::Vtable for IGpioPinProvider { type Vtable = IGpioPinProvider_Vtbl; @@ -236,7 +236,7 @@ impl IGpioProvider { } } } -::windows::core::interface_hierarchy!(IGpioProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGpioProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGpioProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -249,7 +249,7 @@ impl ::core::fmt::Debug for IGpioProvider { } } impl ::windows::core::RuntimeType for IGpioProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{44e82707-08ca-434a-afe0-d61580446f7e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{44e82707-08ca-434a-afe0-d61580446f7e}"); } unsafe impl ::windows::core::Vtable for IGpioProvider { type Vtable = IGpioProvider_Vtbl; @@ -290,7 +290,7 @@ impl GpioPinProviderValueChangedEventArgs { } #[doc(hidden)] pub fn IGpioPinProviderValueChangedEventArgsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -306,7 +306,7 @@ impl ::core::fmt::Debug for GpioPinProviderValueChangedEventArgs { } } impl ::windows::core::RuntimeType for GpioPinProviderValueChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.Provider.GpioPinProviderValueChangedEventArgs;{32a6d6f2-3d5b-44cd-8fbe-13a69f2edb24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.Provider.GpioPinProviderValueChangedEventArgs;{32a6d6f2-3d5b-44cd-8fbe-13a69f2edb24})"); } impl ::core::clone::Clone for GpioPinProviderValueChangedEventArgs { fn clone(&self) -> Self { @@ -322,7 +322,7 @@ unsafe impl ::windows::core::Interface for GpioPinProviderValueChangedEventArgs impl ::windows::core::RuntimeName for GpioPinProviderValueChangedEventArgs { const NAME: &'static str = "Windows.Devices.Gpio.Provider.GpioPinProviderValueChangedEventArgs"; } -::windows::core::interface_hierarchy!(GpioPinProviderValueChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GpioPinProviderValueChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GpioPinProviderValueChangedEventArgs {} unsafe impl ::core::marker::Sync for GpioPinProviderValueChangedEventArgs {} #[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"] @@ -359,7 +359,7 @@ impl ::core::fmt::Debug for ProviderGpioPinDriveMode { } } impl ::windows::core::RuntimeType for ProviderGpioPinDriveMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.Provider.ProviderGpioPinDriveMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.Provider.ProviderGpioPinDriveMode;i4)"); } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"] #[repr(transparent)] @@ -389,7 +389,7 @@ impl ::core::fmt::Debug for ProviderGpioPinEdge { } } impl ::windows::core::RuntimeType for ProviderGpioPinEdge { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.Provider.ProviderGpioPinEdge;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.Provider.ProviderGpioPinEdge;i4)"); } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"] #[repr(transparent)] @@ -419,7 +419,7 @@ impl ::core::fmt::Debug for ProviderGpioPinValue { } } impl ::windows::core::RuntimeType for ProviderGpioPinValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.Provider.ProviderGpioPinValue;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.Provider.ProviderGpioPinValue;i4)"); } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"] #[repr(transparent)] @@ -449,7 +449,7 @@ impl ::core::fmt::Debug for ProviderGpioSharingMode { } } impl ::windows::core::RuntimeType for ProviderGpioSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.Provider.ProviderGpioSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.Provider.ProviderGpioSharingMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs index 2af9d9fc74..9a1a8a99e8 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs @@ -312,7 +312,7 @@ impl GpioChangeCounter { } #[doc(hidden)] pub fn IGpioChangeCounterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -328,7 +328,7 @@ impl ::core::fmt::Debug for GpioChangeCounter { } } impl ::windows::core::RuntimeType for GpioChangeCounter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioChangeCounter;{cb5ec0de-6801-43ff-803d-4576628a8b26})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioChangeCounter;{cb5ec0de-6801-43ff-803d-4576628a8b26})"); } impl ::core::clone::Clone for GpioChangeCounter { fn clone(&self) -> Self { @@ -344,7 +344,7 @@ unsafe impl ::windows::core::Interface for GpioChangeCounter { impl ::windows::core::RuntimeName for GpioChangeCounter { const NAME: &'static str = "Windows.Devices.Gpio.GpioChangeCounter"; } -::windows::core::interface_hierarchy!(GpioChangeCounter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GpioChangeCounter, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -487,7 +487,7 @@ impl GpioChangeReader { } #[doc(hidden)] pub fn IGpioChangeReaderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -503,7 +503,7 @@ impl ::core::fmt::Debug for GpioChangeReader { } } impl ::windows::core::RuntimeType for GpioChangeReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioChangeReader;{0abc885f-e031-48e8-8590-70de78363c6d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioChangeReader;{0abc885f-e031-48e8-8590-70de78363c6d})"); } impl ::core::clone::Clone for GpioChangeReader { fn clone(&self) -> Self { @@ -519,7 +519,7 @@ unsafe impl ::windows::core::Interface for GpioChangeReader { impl ::windows::core::RuntimeName for GpioChangeReader { const NAME: &'static str = "Windows.Devices.Gpio.GpioChangeReader"; } -::windows::core::interface_hierarchy!(GpioChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GpioChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -604,12 +604,12 @@ impl GpioController { } #[doc(hidden)] pub fn IGpioControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGpioControllerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -625,7 +625,7 @@ impl ::core::fmt::Debug for GpioController { } } impl ::windows::core::RuntimeType for GpioController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioController;{284012e3-7461-469c-a8bc-61d69d08a53c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioController;{284012e3-7461-469c-a8bc-61d69d08a53c})"); } impl ::core::clone::Clone for GpioController { fn clone(&self) -> Self { @@ -641,7 +641,7 @@ unsafe impl ::windows::core::Interface for GpioController { impl ::windows::core::RuntimeName for GpioController { const NAME: &'static str = "Windows.Devices.Gpio.GpioController"; } -::windows::core::interface_hierarchy!(GpioController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GpioController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GpioController {} unsafe impl ::core::marker::Sync for GpioController {} #[doc = "*Required features: `\"Devices_Gpio\"`*"] @@ -740,7 +740,7 @@ impl ::core::fmt::Debug for GpioPin { } } impl ::windows::core::RuntimeType for GpioPin { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioPin;{11d9b087-afae-4790-9ee9-e0eac942d201})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioPin;{11d9b087-afae-4790-9ee9-e0eac942d201})"); } impl ::core::clone::Clone for GpioPin { fn clone(&self) -> Self { @@ -756,7 +756,7 @@ unsafe impl ::windows::core::Interface for GpioPin { impl ::windows::core::RuntimeName for GpioPin { const NAME: &'static str = "Windows.Devices.Gpio.GpioPin"; } -::windows::core::interface_hierarchy!(GpioPin, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GpioPin, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -805,7 +805,7 @@ impl ::core::fmt::Debug for GpioPinValueChangedEventArgs { } } impl ::windows::core::RuntimeType for GpioPinValueChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioPinValueChangedEventArgs;{3137aae1-703d-4059-bd24-b5b25dffb84e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioPinValueChangedEventArgs;{3137aae1-703d-4059-bd24-b5b25dffb84e})"); } impl ::core::clone::Clone for GpioPinValueChangedEventArgs { fn clone(&self) -> Self { @@ -821,7 +821,7 @@ unsafe impl ::windows::core::Interface for GpioPinValueChangedEventArgs { impl ::windows::core::RuntimeName for GpioPinValueChangedEventArgs { const NAME: &'static str = "Windows.Devices.Gpio.GpioPinValueChangedEventArgs"; } -::windows::core::interface_hierarchy!(GpioPinValueChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GpioPinValueChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GpioPinValueChangedEventArgs {} unsafe impl ::core::marker::Sync for GpioPinValueChangedEventArgs {} #[doc = "*Required features: `\"Devices_Gpio\"`*"] @@ -853,7 +853,7 @@ impl ::core::fmt::Debug for GpioChangePolarity { } } impl ::windows::core::RuntimeType for GpioChangePolarity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioChangePolarity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioChangePolarity;i4)"); } #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] @@ -886,7 +886,7 @@ impl ::core::fmt::Debug for GpioOpenStatus { } } impl ::windows::core::RuntimeType for GpioOpenStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioOpenStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioOpenStatus;i4)"); } #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] @@ -922,7 +922,7 @@ impl ::core::fmt::Debug for GpioPinDriveMode { } } impl ::windows::core::RuntimeType for GpioPinDriveMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioPinDriveMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioPinDriveMode;i4)"); } #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] @@ -952,7 +952,7 @@ impl ::core::fmt::Debug for GpioPinEdge { } } impl ::windows::core::RuntimeType for GpioPinEdge { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioPinEdge;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioPinEdge;i4)"); } #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] @@ -982,7 +982,7 @@ impl ::core::fmt::Debug for GpioPinValue { } } impl ::windows::core::RuntimeType for GpioPinValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioPinValue;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioPinValue;i4)"); } #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] @@ -1012,7 +1012,7 @@ impl ::core::fmt::Debug for GpioSharingMode { } } impl ::windows::core::RuntimeType for GpioSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Gpio.GpioSharingMode;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_Gpio\"`, `\"Foundation\"`*"] @@ -1041,7 +1041,7 @@ impl ::windows::core::TypeKind for GpioChangeCount { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for GpioChangeCount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.Gpio.GpioChangeCount;u8;struct(Windows.Foundation.TimeSpan;i8))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.Gpio.GpioChangeCount;u8;struct(Windows.Foundation.TimeSpan;i8))"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for GpioChangeCount { @@ -1084,7 +1084,7 @@ impl ::windows::core::TypeKind for GpioChangeRecord { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for GpioChangeRecord { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.Gpio.GpioChangeRecord;struct(Windows.Foundation.TimeSpan;i8);enum(Windows.Devices.Gpio.GpioPinEdge;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.Gpio.GpioChangeRecord;struct(Windows.Foundation.TimeSpan;i8);enum(Windows.Devices.Gpio.GpioPinEdge;i4))"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for GpioChangeRecord { diff --git a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs index e3b05eeca0..78fd4e766e 100644 --- a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs @@ -266,12 +266,12 @@ impl KnownSimpleHapticsControllerWaveforms { } #[doc(hidden)] pub fn IKnownSimpleHapticsControllerWaveformsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKnownSimpleHapticsControllerWaveformsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -363,7 +363,7 @@ impl ::core::fmt::Debug for SimpleHapticsController { } } impl ::windows::core::RuntimeType for SimpleHapticsController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.SimpleHapticsController;{3d577ef9-4cee-11e6-b535-001bdc06ab3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.SimpleHapticsController;{3d577ef9-4cee-11e6-b535-001bdc06ab3b})"); } impl ::core::clone::Clone for SimpleHapticsController { fn clone(&self) -> Self { @@ -379,7 +379,7 @@ unsafe impl ::windows::core::Interface for SimpleHapticsController { impl ::windows::core::RuntimeName for SimpleHapticsController { const NAME: &'static str = "Windows.Devices.Haptics.SimpleHapticsController"; } -::windows::core::interface_hierarchy!(SimpleHapticsController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SimpleHapticsController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SimpleHapticsController {} unsafe impl ::core::marker::Sync for SimpleHapticsController {} #[doc = "*Required features: `\"Devices_Haptics\"`*"] @@ -415,7 +415,7 @@ impl ::core::fmt::Debug for SimpleHapticsControllerFeedback { } } impl ::windows::core::RuntimeType for SimpleHapticsControllerFeedback { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.SimpleHapticsControllerFeedback;{3d577ef8-4cee-11e6-b535-001bdc06ab3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.SimpleHapticsControllerFeedback;{3d577ef8-4cee-11e6-b535-001bdc06ab3b})"); } impl ::core::clone::Clone for SimpleHapticsControllerFeedback { fn clone(&self) -> Self { @@ -431,7 +431,7 @@ unsafe impl ::windows::core::Interface for SimpleHapticsControllerFeedback { impl ::windows::core::RuntimeName for SimpleHapticsControllerFeedback { const NAME: &'static str = "Windows.Devices.Haptics.SimpleHapticsControllerFeedback"; } -::windows::core::interface_hierarchy!(SimpleHapticsControllerFeedback, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SimpleHapticsControllerFeedback, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SimpleHapticsControllerFeedback {} unsafe impl ::core::marker::Sync for SimpleHapticsControllerFeedback {} #[doc = "*Required features: `\"Devices_Haptics\"`*"] @@ -492,7 +492,7 @@ impl VibrationDevice { } #[doc(hidden)] pub fn IVibrationDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -508,7 +508,7 @@ impl ::core::fmt::Debug for VibrationDevice { } } impl ::windows::core::RuntimeType for VibrationDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.VibrationDevice;{40f21a3e-8844-47ff-b312-06185a3844da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.VibrationDevice;{40f21a3e-8844-47ff-b312-06185a3844da})"); } impl ::core::clone::Clone for VibrationDevice { fn clone(&self) -> Self { @@ -524,7 +524,7 @@ unsafe impl ::windows::core::Interface for VibrationDevice { impl ::windows::core::RuntimeName for VibrationDevice { const NAME: &'static str = "Windows.Devices.Haptics.VibrationDevice"; } -::windows::core::interface_hierarchy!(VibrationDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VibrationDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VibrationDevice {} unsafe impl ::core::marker::Sync for VibrationDevice {} #[doc = "*Required features: `\"Devices_Haptics\"`*"] @@ -557,7 +557,7 @@ impl ::core::fmt::Debug for VibrationAccessStatus { } } impl ::windows::core::RuntimeType for VibrationAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Haptics.VibrationAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Haptics.VibrationAccessStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs index 8174b54f76..90c44f3be2 100644 --- a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs @@ -429,7 +429,7 @@ impl ::core::fmt::Debug for HidBooleanControl { } } impl ::windows::core::RuntimeType for HidBooleanControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidBooleanControl;{524df48a-3695-408c-bba2-e2eb5abfbc20})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidBooleanControl;{524df48a-3695-408c-bba2-e2eb5abfbc20})"); } impl ::core::clone::Clone for HidBooleanControl { fn clone(&self) -> Self { @@ -445,7 +445,7 @@ unsafe impl ::windows::core::Interface for HidBooleanControl { impl ::windows::core::RuntimeName for HidBooleanControl { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidBooleanControl"; } -::windows::core::interface_hierarchy!(HidBooleanControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidBooleanControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidBooleanControl {} unsafe impl ::core::marker::Sync for HidBooleanControl {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -516,7 +516,7 @@ impl ::core::fmt::Debug for HidBooleanControlDescription { } } impl ::windows::core::RuntimeType for HidBooleanControlDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidBooleanControlDescription;{6196e543-29d8-4a2a-8683-849e207bbe31})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidBooleanControlDescription;{6196e543-29d8-4a2a-8683-849e207bbe31})"); } impl ::core::clone::Clone for HidBooleanControlDescription { fn clone(&self) -> Self { @@ -532,7 +532,7 @@ unsafe impl ::windows::core::Interface for HidBooleanControlDescription { impl ::windows::core::RuntimeName for HidBooleanControlDescription { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidBooleanControlDescription"; } -::windows::core::interface_hierarchy!(HidBooleanControlDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidBooleanControlDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidBooleanControlDescription {} unsafe impl ::core::marker::Sync for HidBooleanControlDescription {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -580,7 +580,7 @@ impl ::core::fmt::Debug for HidCollection { } } impl ::windows::core::RuntimeType for HidCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidCollection;{7189f5a3-32f1-46e3-befd-44d2663b7e6a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidCollection;{7189f5a3-32f1-46e3-befd-44d2663b7e6a})"); } impl ::core::clone::Clone for HidCollection { fn clone(&self) -> Self { @@ -596,7 +596,7 @@ unsafe impl ::windows::core::Interface for HidCollection { impl ::windows::core::RuntimeName for HidCollection { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidCollection"; } -::windows::core::interface_hierarchy!(HidCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidCollection {} unsafe impl ::core::marker::Sync for HidCollection {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -781,7 +781,7 @@ impl HidDevice { } #[doc(hidden)] pub fn IHidDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -797,7 +797,7 @@ impl ::core::fmt::Debug for HidDevice { } } impl ::windows::core::RuntimeType for HidDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidDevice;{5f8a14e7-2200-432e-95da-d09b87d574a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidDevice;{5f8a14e7-2200-432e-95da-d09b87d574a8})"); } impl ::core::clone::Clone for HidDevice { fn clone(&self) -> Self { @@ -813,7 +813,7 @@ unsafe impl ::windows::core::Interface for HidDevice { impl ::windows::core::RuntimeName for HidDevice { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidDevice"; } -::windows::core::interface_hierarchy!(HidDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -909,7 +909,7 @@ impl ::core::fmt::Debug for HidFeatureReport { } } impl ::windows::core::RuntimeType for HidFeatureReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidFeatureReport;{841d9b79-5ae5-46e3-82ef-1fec5c8942f4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidFeatureReport;{841d9b79-5ae5-46e3-82ef-1fec5c8942f4})"); } impl ::core::clone::Clone for HidFeatureReport { fn clone(&self) -> Self { @@ -925,7 +925,7 @@ unsafe impl ::windows::core::Interface for HidFeatureReport { impl ::windows::core::RuntimeName for HidFeatureReport { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidFeatureReport"; } -::windows::core::interface_hierarchy!(HidFeatureReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidFeatureReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidFeatureReport {} unsafe impl ::core::marker::Sync for HidFeatureReport {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -1007,7 +1007,7 @@ impl ::core::fmt::Debug for HidInputReport { } } impl ::windows::core::RuntimeType for HidInputReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidInputReport;{c35d0e50-f7e7-4e8d-b23e-cabbe56b90e9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidInputReport;{c35d0e50-f7e7-4e8d-b23e-cabbe56b90e9})"); } impl ::core::clone::Clone for HidInputReport { fn clone(&self) -> Self { @@ -1023,7 +1023,7 @@ unsafe impl ::windows::core::Interface for HidInputReport { impl ::windows::core::RuntimeName for HidInputReport { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidInputReport"; } -::windows::core::interface_hierarchy!(HidInputReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidInputReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidInputReport {} unsafe impl ::core::marker::Sync for HidInputReport {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -1050,7 +1050,7 @@ impl ::core::fmt::Debug for HidInputReportReceivedEventArgs { } } impl ::windows::core::RuntimeType for HidInputReportReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidInputReportReceivedEventArgs;{7059c5cb-59b2-4dc2-985c-0adc6136fa2d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidInputReportReceivedEventArgs;{7059c5cb-59b2-4dc2-985c-0adc6136fa2d})"); } impl ::core::clone::Clone for HidInputReportReceivedEventArgs { fn clone(&self) -> Self { @@ -1066,7 +1066,7 @@ unsafe impl ::windows::core::Interface for HidInputReportReceivedEventArgs { impl ::windows::core::RuntimeName for HidInputReportReceivedEventArgs { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidInputReportReceivedEventArgs"; } -::windows::core::interface_hierarchy!(HidInputReportReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidInputReportReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidInputReportReceivedEventArgs {} unsafe impl ::core::marker::Sync for HidInputReportReceivedEventArgs {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -1143,7 +1143,7 @@ impl ::core::fmt::Debug for HidNumericControl { } } impl ::windows::core::RuntimeType for HidNumericControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidNumericControl;{e38a12a5-35a7-4b75-89c8-fb1f28b10823})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidNumericControl;{e38a12a5-35a7-4b75-89c8-fb1f28b10823})"); } impl ::core::clone::Clone for HidNumericControl { fn clone(&self) -> Self { @@ -1159,7 +1159,7 @@ unsafe impl ::windows::core::Interface for HidNumericControl { impl ::windows::core::RuntimeName for HidNumericControl { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidNumericControl"; } -::windows::core::interface_hierarchy!(HidNumericControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidNumericControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidNumericControl {} unsafe impl ::core::marker::Sync for HidNumericControl {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -1293,7 +1293,7 @@ impl ::core::fmt::Debug for HidNumericControlDescription { } } impl ::windows::core::RuntimeType for HidNumericControlDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidNumericControlDescription;{638d5e86-1d97-4c75-927f-5ff58ba05e32})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidNumericControlDescription;{638d5e86-1d97-4c75-927f-5ff58ba05e32})"); } impl ::core::clone::Clone for HidNumericControlDescription { fn clone(&self) -> Self { @@ -1309,7 +1309,7 @@ unsafe impl ::windows::core::Interface for HidNumericControlDescription { impl ::windows::core::RuntimeName for HidNumericControlDescription { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidNumericControlDescription"; } -::windows::core::interface_hierarchy!(HidNumericControlDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidNumericControlDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidNumericControlDescription {} unsafe impl ::core::marker::Sync for HidNumericControlDescription {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -1383,7 +1383,7 @@ impl ::core::fmt::Debug for HidOutputReport { } } impl ::windows::core::RuntimeType for HidOutputReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidOutputReport;{62cb2544-c896-4463-93c1-df9db053c450})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidOutputReport;{62cb2544-c896-4463-93c1-df9db053c450})"); } impl ::core::clone::Clone for HidOutputReport { fn clone(&self) -> Self { @@ -1399,7 +1399,7 @@ unsafe impl ::windows::core::Interface for HidOutputReport { impl ::windows::core::RuntimeName for HidOutputReport { const NAME: &'static str = "Windows.Devices.HumanInterfaceDevice.HidOutputReport"; } -::windows::core::interface_hierarchy!(HidOutputReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidOutputReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HidOutputReport {} unsafe impl ::core::marker::Sync for HidOutputReport {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] @@ -1436,7 +1436,7 @@ impl ::core::fmt::Debug for HidCollectionType { } } impl ::windows::core::RuntimeType for HidCollectionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.HumanInterfaceDevice.HidCollectionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.HumanInterfaceDevice.HidCollectionType;i4)"); } #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] @@ -1467,7 +1467,7 @@ impl ::core::fmt::Debug for HidReportType { } } impl ::windows::core::RuntimeType for HidReportType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.HumanInterfaceDevice.HidReportType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.HumanInterfaceDevice.HidReportType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs index c3808019e9..7cd1cbdaaa 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs @@ -10,7 +10,7 @@ impl II2cControllerProvider { } } } -::windows::core::interface_hierarchy!(II2cControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(II2cControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for II2cControllerProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23,7 +23,7 @@ impl ::core::fmt::Debug for II2cControllerProvider { } } impl ::windows::core::RuntimeType for II2cControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{61c2bb82-4510-4163-a87c-4e15a9558980}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{61c2bb82-4510-4163-a87c-4e15a9558980}"); } unsafe impl ::windows::core::Vtable for II2cControllerProvider { type Vtable = II2cControllerProvider_Vtbl; @@ -93,7 +93,7 @@ impl II2cDeviceProvider { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(II2cDeviceProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(II2cDeviceProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -128,7 +128,7 @@ impl ::core::fmt::Debug for II2cDeviceProvider { } } impl ::windows::core::RuntimeType for II2cDeviceProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ad342654-57e8-453e-8329-d1e447d103a9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ad342654-57e8-453e-8329-d1e447d103a9}"); } unsafe impl ::windows::core::Vtable for II2cDeviceProvider { type Vtable = II2cDeviceProvider_Vtbl; @@ -167,7 +167,7 @@ impl II2cProvider { } } } -::windows::core::interface_hierarchy!(II2cProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(II2cProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for II2cProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -180,7 +180,7 @@ impl ::core::fmt::Debug for II2cProvider { } } impl ::windows::core::RuntimeType for II2cProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6f13083e-bf62-4fe2-a95a-f08999669818}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6f13083e-bf62-4fe2-a95a-f08999669818}"); } unsafe impl ::windows::core::Vtable for II2cProvider { type Vtable = II2cProvider_Vtbl; @@ -277,7 +277,7 @@ impl ::core::fmt::Debug for ProviderI2cConnectionSettings { } } impl ::windows::core::RuntimeType for ProviderI2cConnectionSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.Provider.ProviderI2cConnectionSettings;{e9db4e34-e510-44b7-809d-f2f85b555339})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.Provider.ProviderI2cConnectionSettings;{e9db4e34-e510-44b7-809d-f2f85b555339})"); } impl ::core::clone::Clone for ProviderI2cConnectionSettings { fn clone(&self) -> Self { @@ -293,7 +293,7 @@ unsafe impl ::windows::core::Interface for ProviderI2cConnectionSettings { impl ::windows::core::RuntimeName for ProviderI2cConnectionSettings { const NAME: &'static str = "Windows.Devices.I2c.Provider.ProviderI2cConnectionSettings"; } -::windows::core::interface_hierarchy!(ProviderI2cConnectionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProviderI2cConnectionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProviderI2cConnectionSettings {} unsafe impl ::core::marker::Sync for ProviderI2cConnectionSettings {} #[doc = "*Required features: `\"Devices_I2c_Provider\"`*"] @@ -324,7 +324,7 @@ impl ::core::fmt::Debug for ProviderI2cBusSpeed { } } impl ::windows::core::RuntimeType for ProviderI2cBusSpeed { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.Provider.ProviderI2cBusSpeed;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.Provider.ProviderI2cBusSpeed;i4)"); } #[doc = "*Required features: `\"Devices_I2c_Provider\"`*"] #[repr(transparent)] @@ -354,7 +354,7 @@ impl ::core::fmt::Debug for ProviderI2cSharingMode { } } impl ::windows::core::RuntimeType for ProviderI2cSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.Provider.ProviderI2cSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.Provider.ProviderI2cSharingMode;i4)"); } #[doc = "*Required features: `\"Devices_I2c_Provider\"`*"] #[repr(transparent)] @@ -385,7 +385,7 @@ impl ::core::fmt::Debug for ProviderI2cTransferStatus { } } impl ::windows::core::RuntimeType for ProviderI2cTransferStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.Provider.ProviderI2cTransferStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.Provider.ProviderI2cTransferStatus;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_I2c_Provider\"`*"] @@ -408,7 +408,7 @@ impl ::windows::core::TypeKind for ProviderI2cTransferResult { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for ProviderI2cTransferResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.I2c.Provider.ProviderI2cTransferResult;enum(Windows.Devices.I2c.Provider.ProviderI2cTransferStatus;i4);u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.I2c.Provider.ProviderI2cTransferResult;enum(Windows.Devices.I2c.Provider.ProviderI2cTransferStatus;i4);u4)"); } impl ::core::cmp::PartialEq for ProviderI2cTransferResult { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs index ddc4abed4d..b3b99958b9 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs @@ -147,7 +147,7 @@ impl II2cDeviceStatics { } } } -::windows::core::interface_hierarchy!(II2cDeviceStatics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(II2cDeviceStatics, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for II2cDeviceStatics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -160,7 +160,7 @@ impl ::core::fmt::Debug for II2cDeviceStatics { } } impl ::windows::core::RuntimeType for II2cDeviceStatics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{91a33be3-7334-4512-96bc-fbae9459f5f6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{91a33be3-7334-4512-96bc-fbae9459f5f6}"); } unsafe impl ::windows::core::Vtable for II2cDeviceStatics { type Vtable = II2cDeviceStatics_Vtbl; @@ -229,7 +229,7 @@ impl I2cConnectionSettings { } #[doc(hidden)] pub fn II2cConnectionSettingsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -245,7 +245,7 @@ impl ::core::fmt::Debug for I2cConnectionSettings { } } impl ::windows::core::RuntimeType for I2cConnectionSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cConnectionSettings;{f2db1307-ab6f-4639-a767-54536dc3460f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cConnectionSettings;{f2db1307-ab6f-4639-a767-54536dc3460f})"); } impl ::core::clone::Clone for I2cConnectionSettings { fn clone(&self) -> Self { @@ -261,7 +261,7 @@ unsafe impl ::windows::core::Interface for I2cConnectionSettings { impl ::windows::core::RuntimeName for I2cConnectionSettings { const NAME: &'static str = "Windows.Devices.I2c.I2cConnectionSettings"; } -::windows::core::interface_hierarchy!(I2cConnectionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(I2cConnectionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for I2cConnectionSettings {} unsafe impl ::core::marker::Sync for I2cConnectionSettings {} #[doc = "*Required features: `\"Devices_I2c\"`*"] @@ -297,7 +297,7 @@ impl I2cController { } #[doc(hidden)] pub fn II2cControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -313,7 +313,7 @@ impl ::core::fmt::Debug for I2cController { } } impl ::windows::core::RuntimeType for I2cController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cController;{c48ab1b2-87a0-4166-8e3e-b4b8f97cd729})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cController;{c48ab1b2-87a0-4166-8e3e-b4b8f97cd729})"); } impl ::core::clone::Clone for I2cController { fn clone(&self) -> Self { @@ -329,7 +329,7 @@ unsafe impl ::windows::core::Interface for I2cController { impl ::windows::core::RuntimeName for I2cController { const NAME: &'static str = "Windows.Devices.I2c.I2cController"; } -::windows::core::interface_hierarchy!(I2cController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(I2cController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for I2cController {} unsafe impl ::core::marker::Sync for I2cController {} #[doc = "*Required features: `\"Devices_I2c\"`*"] @@ -411,7 +411,7 @@ impl I2cDevice { } #[doc(hidden)] pub fn II2cDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -427,7 +427,7 @@ impl ::core::fmt::Debug for I2cDevice { } } impl ::windows::core::RuntimeType for I2cDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cDevice;{8636c136-b9c5-4f70-9449-cc46dc6f57eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cDevice;{8636c136-b9c5-4f70-9449-cc46dc6f57eb})"); } impl ::core::clone::Clone for I2cDevice { fn clone(&self) -> Self { @@ -443,7 +443,7 @@ unsafe impl ::windows::core::Interface for I2cDevice { impl ::windows::core::RuntimeName for I2cDevice { const NAME: &'static str = "Windows.Devices.I2c.I2cDevice"; } -::windows::core::interface_hierarchy!(I2cDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(I2cDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -496,7 +496,7 @@ impl ::core::fmt::Debug for I2cBusSpeed { } } impl ::windows::core::RuntimeType for I2cBusSpeed { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.I2cBusSpeed;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.I2cBusSpeed;i4)"); } #[doc = "*Required features: `\"Devices_I2c\"`*"] #[repr(transparent)] @@ -526,7 +526,7 @@ impl ::core::fmt::Debug for I2cSharingMode { } } impl ::windows::core::RuntimeType for I2cSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.I2cSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.I2cSharingMode;i4)"); } #[doc = "*Required features: `\"Devices_I2c\"`*"] #[repr(transparent)] @@ -559,7 +559,7 @@ impl ::core::fmt::Debug for I2cTransferStatus { } } impl ::windows::core::RuntimeType for I2cTransferStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.I2cTransferStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.I2c.I2cTransferStatus;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_I2c\"`*"] @@ -582,7 +582,7 @@ impl ::windows::core::TypeKind for I2cTransferResult { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for I2cTransferResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.I2c.I2cTransferResult;enum(Windows.Devices.I2c.I2cTransferStatus;i4);u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.I2c.I2cTransferResult;enum(Windows.Devices.I2c.I2cTransferStatus;i4);u4)"); } impl ::core::cmp::PartialEq for I2cTransferResult { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs index c7bdf1b723..847b454970 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs @@ -385,7 +385,7 @@ impl ::core::fmt::Debug for GazeDevicePreview { } } impl ::windows::core::RuntimeType for GazeDevicePreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDevicePreview;{e79e7ee9-b389-11e7-b201-c8d3ffb75721})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDevicePreview;{e79e7ee9-b389-11e7-b201-c8d3ffb75721})"); } impl ::core::clone::Clone for GazeDevicePreview { fn clone(&self) -> Self { @@ -401,7 +401,7 @@ unsafe impl ::windows::core::Interface for GazeDevicePreview { impl ::windows::core::RuntimeName for GazeDevicePreview { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeDevicePreview"; } -::windows::core::interface_hierarchy!(GazeDevicePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeDevicePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeDevicePreview {} unsafe impl ::core::marker::Sync for GazeDevicePreview {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -428,7 +428,7 @@ impl ::core::fmt::Debug for GazeDeviceWatcherAddedPreviewEventArgs { } } impl ::windows::core::RuntimeType for GazeDeviceWatcherAddedPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherAddedPreviewEventArgs;{e79e7eed-b389-11e7-b201-c8d3ffb75721})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherAddedPreviewEventArgs;{e79e7eed-b389-11e7-b201-c8d3ffb75721})"); } impl ::core::clone::Clone for GazeDeviceWatcherAddedPreviewEventArgs { fn clone(&self) -> Self { @@ -444,7 +444,7 @@ unsafe impl ::windows::core::Interface for GazeDeviceWatcherAddedPreviewEventArg impl ::windows::core::RuntimeName for GazeDeviceWatcherAddedPreviewEventArgs { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeDeviceWatcherAddedPreviewEventArgs"; } -::windows::core::interface_hierarchy!(GazeDeviceWatcherAddedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeDeviceWatcherAddedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeDeviceWatcherAddedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeDeviceWatcherAddedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -532,7 +532,7 @@ impl ::core::fmt::Debug for GazeDeviceWatcherPreview { } } impl ::windows::core::RuntimeType for GazeDeviceWatcherPreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherPreview;{e79e7ee7-b389-11e7-b201-c8d3ffb75721})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherPreview;{e79e7ee7-b389-11e7-b201-c8d3ffb75721})"); } impl ::core::clone::Clone for GazeDeviceWatcherPreview { fn clone(&self) -> Self { @@ -548,7 +548,7 @@ unsafe impl ::windows::core::Interface for GazeDeviceWatcherPreview { impl ::windows::core::RuntimeName for GazeDeviceWatcherPreview { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeDeviceWatcherPreview"; } -::windows::core::interface_hierarchy!(GazeDeviceWatcherPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeDeviceWatcherPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeDeviceWatcherPreview {} unsafe impl ::core::marker::Sync for GazeDeviceWatcherPreview {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -575,7 +575,7 @@ impl ::core::fmt::Debug for GazeDeviceWatcherRemovedPreviewEventArgs { } } impl ::windows::core::RuntimeType for GazeDeviceWatcherRemovedPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherRemovedPreviewEventArgs;{f2631f08-0e3f-431f-a606-50b35af94a1c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherRemovedPreviewEventArgs;{f2631f08-0e3f-431f-a606-50b35af94a1c})"); } impl ::core::clone::Clone for GazeDeviceWatcherRemovedPreviewEventArgs { fn clone(&self) -> Self { @@ -591,7 +591,7 @@ unsafe impl ::windows::core::Interface for GazeDeviceWatcherRemovedPreviewEventA impl ::windows::core::RuntimeName for GazeDeviceWatcherRemovedPreviewEventArgs { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeDeviceWatcherRemovedPreviewEventArgs"; } -::windows::core::interface_hierarchy!(GazeDeviceWatcherRemovedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeDeviceWatcherRemovedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeDeviceWatcherRemovedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeDeviceWatcherRemovedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -618,7 +618,7 @@ impl ::core::fmt::Debug for GazeDeviceWatcherUpdatedPreviewEventArgs { } } impl ::windows::core::RuntimeType for GazeDeviceWatcherUpdatedPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherUpdatedPreviewEventArgs;{7fe830ef-7f08-4737-88e1-4a83ae4e4885})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherUpdatedPreviewEventArgs;{7fe830ef-7f08-4737-88e1-4a83ae4e4885})"); } impl ::core::clone::Clone for GazeDeviceWatcherUpdatedPreviewEventArgs { fn clone(&self) -> Self { @@ -634,7 +634,7 @@ unsafe impl ::windows::core::Interface for GazeDeviceWatcherUpdatedPreviewEventA impl ::windows::core::RuntimeName for GazeDeviceWatcherUpdatedPreviewEventArgs { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeDeviceWatcherUpdatedPreviewEventArgs"; } -::windows::core::interface_hierarchy!(GazeDeviceWatcherUpdatedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeDeviceWatcherUpdatedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeDeviceWatcherUpdatedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeDeviceWatcherUpdatedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -672,7 +672,7 @@ impl ::core::fmt::Debug for GazeEnteredPreviewEventArgs { } } impl ::windows::core::RuntimeType for GazeEnteredPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeEnteredPreviewEventArgs;{2567bf43-1225-489f-9dd1-daa7c50fbf4b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeEnteredPreviewEventArgs;{2567bf43-1225-489f-9dd1-daa7c50fbf4b})"); } impl ::core::clone::Clone for GazeEnteredPreviewEventArgs { fn clone(&self) -> Self { @@ -688,7 +688,7 @@ unsafe impl ::windows::core::Interface for GazeEnteredPreviewEventArgs { impl ::windows::core::RuntimeName for GazeEnteredPreviewEventArgs { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeEnteredPreviewEventArgs"; } -::windows::core::interface_hierarchy!(GazeEnteredPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeEnteredPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeEnteredPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeEnteredPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -726,7 +726,7 @@ impl ::core::fmt::Debug for GazeExitedPreviewEventArgs { } } impl ::windows::core::RuntimeType for GazeExitedPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeExitedPreviewEventArgs;{5d0af07e-7d83-40ef-9f0a-fbc1bbdcc5ac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeExitedPreviewEventArgs;{5d0af07e-7d83-40ef-9f0a-fbc1bbdcc5ac})"); } impl ::core::clone::Clone for GazeExitedPreviewEventArgs { fn clone(&self) -> Self { @@ -742,7 +742,7 @@ unsafe impl ::windows::core::Interface for GazeExitedPreviewEventArgs { impl ::windows::core::RuntimeName for GazeExitedPreviewEventArgs { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeExitedPreviewEventArgs"; } -::windows::core::interface_hierarchy!(GazeExitedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeExitedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeExitedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeExitedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -808,7 +808,7 @@ impl GazeInputSourcePreview { } #[doc(hidden)] pub fn IGazeInputSourcePreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -824,7 +824,7 @@ impl ::core::fmt::Debug for GazeInputSourcePreview { } } impl ::windows::core::RuntimeType for GazeInputSourcePreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeInputSourcePreview;{e79e7ee8-b389-11e7-b201-c8d3ffb75721})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeInputSourcePreview;{e79e7ee8-b389-11e7-b201-c8d3ffb75721})"); } impl ::core::clone::Clone for GazeInputSourcePreview { fn clone(&self) -> Self { @@ -840,7 +840,7 @@ unsafe impl ::windows::core::Interface for GazeInputSourcePreview { impl ::windows::core::RuntimeName for GazeInputSourcePreview { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeInputSourcePreview"; } -::windows::core::interface_hierarchy!(GazeInputSourcePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeInputSourcePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeInputSourcePreview {} unsafe impl ::core::marker::Sync for GazeInputSourcePreview {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -887,7 +887,7 @@ impl ::core::fmt::Debug for GazeMovedPreviewEventArgs { } } impl ::windows::core::RuntimeType for GazeMovedPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeMovedPreviewEventArgs;{e79e7eeb-b389-11e7-b201-c8d3ffb75721})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeMovedPreviewEventArgs;{e79e7eeb-b389-11e7-b201-c8d3ffb75721})"); } impl ::core::clone::Clone for GazeMovedPreviewEventArgs { fn clone(&self) -> Self { @@ -903,7 +903,7 @@ unsafe impl ::windows::core::Interface for GazeMovedPreviewEventArgs { impl ::windows::core::RuntimeName for GazeMovedPreviewEventArgs { const NAME: &'static str = "Windows.Devices.Input.Preview.GazeMovedPreviewEventArgs"; } -::windows::core::interface_hierarchy!(GazeMovedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazeMovedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazeMovedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeMovedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -964,7 +964,7 @@ impl ::core::fmt::Debug for GazePointPreview { } } impl ::windows::core::RuntimeType for GazePointPreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazePointPreview;{e79e7eea-b389-11e7-b201-c8d3ffb75721})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazePointPreview;{e79e7eea-b389-11e7-b201-c8d3ffb75721})"); } impl ::core::clone::Clone for GazePointPreview { fn clone(&self) -> Self { @@ -980,7 +980,7 @@ unsafe impl ::windows::core::Interface for GazePointPreview { impl ::windows::core::RuntimeName for GazePointPreview { const NAME: &'static str = "Windows.Devices.Input.Preview.GazePointPreview"; } -::windows::core::interface_hierarchy!(GazePointPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GazePointPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GazePointPreview {} unsafe impl ::core::marker::Sync for GazePointPreview {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] @@ -1014,7 +1014,7 @@ impl ::core::fmt::Debug for GazeDeviceConfigurationStatePreview { } } impl ::windows::core::RuntimeType for GazeDeviceConfigurationStatePreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Input.Preview.GazeDeviceConfigurationStatePreview;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Input.Preview.GazeDeviceConfigurationStatePreview;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Input/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/mod.rs index fc078524eb..71896c20cf 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/mod.rs @@ -511,8 +511,8 @@ impl KeyboardCapabilities { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn KeyboardPresent(&self) -> ::windows::core::Result { @@ -535,7 +535,7 @@ impl ::core::fmt::Debug for KeyboardCapabilities { } } impl ::windows::core::RuntimeType for KeyboardCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.KeyboardCapabilities;{3a3f9b56-6798-4bbc-833e-0f34b17c65ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.KeyboardCapabilities;{3a3f9b56-6798-4bbc-833e-0f34b17c65ff})"); } impl ::core::clone::Clone for KeyboardCapabilities { fn clone(&self) -> Self { @@ -551,7 +551,7 @@ unsafe impl ::windows::core::Interface for KeyboardCapabilities { impl ::windows::core::RuntimeName for KeyboardCapabilities { const NAME: &'static str = "Windows.Devices.Input.KeyboardCapabilities"; } -::windows::core::interface_hierarchy!(KeyboardCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyboardCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeyboardCapabilities {} unsafe impl ::core::marker::Sync for KeyboardCapabilities {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -561,8 +561,8 @@ impl MouseCapabilities { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MousePresent(&self) -> ::windows::core::Result { @@ -613,7 +613,7 @@ impl ::core::fmt::Debug for MouseCapabilities { } } impl ::windows::core::RuntimeType for MouseCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseCapabilities;{bca5e023-7dd9-4b6b-9a92-55d43cb38f73})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseCapabilities;{bca5e023-7dd9-4b6b-9a92-55d43cb38f73})"); } impl ::core::clone::Clone for MouseCapabilities { fn clone(&self) -> Self { @@ -629,7 +629,7 @@ unsafe impl ::windows::core::Interface for MouseCapabilities { impl ::windows::core::RuntimeName for MouseCapabilities { const NAME: &'static str = "Windows.Devices.Input.MouseCapabilities"; } -::windows::core::interface_hierarchy!(MouseCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MouseCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MouseCapabilities {} unsafe impl ::core::marker::Sync for MouseCapabilities {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -659,7 +659,7 @@ impl MouseDevice { } #[doc(hidden)] pub fn IMouseDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -675,7 +675,7 @@ impl ::core::fmt::Debug for MouseDevice { } } impl ::windows::core::RuntimeType for MouseDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseDevice;{88edf458-f2c8-49f4-be1f-c256b388bc11})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseDevice;{88edf458-f2c8-49f4-be1f-c256b388bc11})"); } impl ::core::clone::Clone for MouseDevice { fn clone(&self) -> Self { @@ -691,7 +691,7 @@ unsafe impl ::windows::core::Interface for MouseDevice { impl ::windows::core::RuntimeName for MouseDevice { const NAME: &'static str = "Windows.Devices.Input.MouseDevice"; } -::windows::core::interface_hierarchy!(MouseDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MouseDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] pub struct MouseEventArgs(::windows::core::IUnknown); @@ -716,7 +716,7 @@ impl ::core::fmt::Debug for MouseEventArgs { } } impl ::windows::core::RuntimeType for MouseEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseEventArgs;{f625aa5d-2354-4cc7-9230-96941c969fde})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseEventArgs;{f625aa5d-2354-4cc7-9230-96941c969fde})"); } impl ::core::clone::Clone for MouseEventArgs { fn clone(&self) -> Self { @@ -732,7 +732,7 @@ unsafe impl ::windows::core::Interface for MouseEventArgs { impl ::windows::core::RuntimeName for MouseEventArgs { const NAME: &'static str = "Windows.Devices.Input.MouseEventArgs"; } -::windows::core::interface_hierarchy!(MouseEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MouseEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] pub struct PenButtonListener(::windows::core::IUnknown); @@ -812,7 +812,7 @@ impl PenButtonListener { } #[doc(hidden)] pub fn IPenButtonListenerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -828,7 +828,7 @@ impl ::core::fmt::Debug for PenButtonListener { } } impl ::windows::core::RuntimeType for PenButtonListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenButtonListener;{8245c376-1ee3-53f7-b1f7-8334a16f2815})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenButtonListener;{8245c376-1ee3-53f7-b1f7-8334a16f2815})"); } impl ::core::clone::Clone for PenButtonListener { fn clone(&self) -> Self { @@ -844,7 +844,7 @@ unsafe impl ::windows::core::Interface for PenButtonListener { impl ::windows::core::RuntimeName for PenButtonListener { const NAME: &'static str = "Windows.Devices.Input.PenButtonListener"; } -::windows::core::interface_hierarchy!(PenButtonListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenButtonListener, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenButtonListener {} unsafe impl ::core::marker::Sync for PenButtonListener {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -875,7 +875,7 @@ impl PenDevice { } #[doc(hidden)] pub fn IPenDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -891,7 +891,7 @@ impl ::core::fmt::Debug for PenDevice { } } impl ::windows::core::RuntimeType for PenDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDevice;{31856eba-a738-5a8c-b8f6-f97ef68d18ef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDevice;{31856eba-a738-5a8c-b8f6-f97ef68d18ef})"); } impl ::core::clone::Clone for PenDevice { fn clone(&self) -> Self { @@ -907,7 +907,7 @@ unsafe impl ::windows::core::Interface for PenDevice { impl ::windows::core::RuntimeName for PenDevice { const NAME: &'static str = "Windows.Devices.Input.PenDevice"; } -::windows::core::interface_hierarchy!(PenDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenDevice {} unsafe impl ::core::marker::Sync for PenDevice {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -974,7 +974,7 @@ impl PenDockListener { } #[doc(hidden)] pub fn IPenDockListenerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -990,7 +990,7 @@ impl ::core::fmt::Debug for PenDockListener { } } impl ::windows::core::RuntimeType for PenDockListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDockListener;{759f4d90-1dc0-55cb-ad18-b9101456f592})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDockListener;{759f4d90-1dc0-55cb-ad18-b9101456f592})"); } impl ::core::clone::Clone for PenDockListener { fn clone(&self) -> Self { @@ -1006,7 +1006,7 @@ unsafe impl ::windows::core::Interface for PenDockListener { impl ::windows::core::RuntimeName for PenDockListener { const NAME: &'static str = "Windows.Devices.Input.PenDockListener"; } -::windows::core::interface_hierarchy!(PenDockListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenDockListener, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenDockListener {} unsafe impl ::core::marker::Sync for PenDockListener {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -1025,7 +1025,7 @@ impl ::core::fmt::Debug for PenDockedEventArgs { } } impl ::windows::core::RuntimeType for PenDockedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDockedEventArgs;{fd4277c6-ca63-5d4e-9ed3-a28a54521c8c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDockedEventArgs;{fd4277c6-ca63-5d4e-9ed3-a28a54521c8c})"); } impl ::core::clone::Clone for PenDockedEventArgs { fn clone(&self) -> Self { @@ -1041,7 +1041,7 @@ unsafe impl ::windows::core::Interface for PenDockedEventArgs { impl ::windows::core::RuntimeName for PenDockedEventArgs { const NAME: &'static str = "Windows.Devices.Input.PenDockedEventArgs"; } -::windows::core::interface_hierarchy!(PenDockedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenDockedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenDockedEventArgs {} unsafe impl ::core::marker::Sync for PenDockedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -1060,7 +1060,7 @@ impl ::core::fmt::Debug for PenTailButtonClickedEventArgs { } } impl ::windows::core::RuntimeType for PenTailButtonClickedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonClickedEventArgs;{5d2fb7b6-6ad3-5d3e-ab29-05ea2410e390})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonClickedEventArgs;{5d2fb7b6-6ad3-5d3e-ab29-05ea2410e390})"); } impl ::core::clone::Clone for PenTailButtonClickedEventArgs { fn clone(&self) -> Self { @@ -1076,7 +1076,7 @@ unsafe impl ::windows::core::Interface for PenTailButtonClickedEventArgs { impl ::windows::core::RuntimeName for PenTailButtonClickedEventArgs { const NAME: &'static str = "Windows.Devices.Input.PenTailButtonClickedEventArgs"; } -::windows::core::interface_hierarchy!(PenTailButtonClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenTailButtonClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenTailButtonClickedEventArgs {} unsafe impl ::core::marker::Sync for PenTailButtonClickedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -1095,7 +1095,7 @@ impl ::core::fmt::Debug for PenTailButtonDoubleClickedEventArgs { } } impl ::windows::core::RuntimeType for PenTailButtonDoubleClickedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonDoubleClickedEventArgs;{846321a2-618a-5478-b04c-b358231da4a7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonDoubleClickedEventArgs;{846321a2-618a-5478-b04c-b358231da4a7})"); } impl ::core::clone::Clone for PenTailButtonDoubleClickedEventArgs { fn clone(&self) -> Self { @@ -1111,7 +1111,7 @@ unsafe impl ::windows::core::Interface for PenTailButtonDoubleClickedEventArgs { impl ::windows::core::RuntimeName for PenTailButtonDoubleClickedEventArgs { const NAME: &'static str = "Windows.Devices.Input.PenTailButtonDoubleClickedEventArgs"; } -::windows::core::interface_hierarchy!(PenTailButtonDoubleClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenTailButtonDoubleClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenTailButtonDoubleClickedEventArgs {} unsafe impl ::core::marker::Sync for PenTailButtonDoubleClickedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -1130,7 +1130,7 @@ impl ::core::fmt::Debug for PenTailButtonLongPressedEventArgs { } } impl ::windows::core::RuntimeType for PenTailButtonLongPressedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonLongPressedEventArgs;{f37c606e-c60a-5f42-b818-a53112406c13})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonLongPressedEventArgs;{f37c606e-c60a-5f42-b818-a53112406c13})"); } impl ::core::clone::Clone for PenTailButtonLongPressedEventArgs { fn clone(&self) -> Self { @@ -1146,7 +1146,7 @@ unsafe impl ::windows::core::Interface for PenTailButtonLongPressedEventArgs { impl ::windows::core::RuntimeName for PenTailButtonLongPressedEventArgs { const NAME: &'static str = "Windows.Devices.Input.PenTailButtonLongPressedEventArgs"; } -::windows::core::interface_hierarchy!(PenTailButtonLongPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenTailButtonLongPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenTailButtonLongPressedEventArgs {} unsafe impl ::core::marker::Sync for PenTailButtonLongPressedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -1165,7 +1165,7 @@ impl ::core::fmt::Debug for PenUndockedEventArgs { } } impl ::windows::core::RuntimeType for PenUndockedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenUndockedEventArgs;{ccd09150-261b-59e6-a5d4-c1964cd03feb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenUndockedEventArgs;{ccd09150-261b-59e6-a5d4-c1964cd03feb})"); } impl ::core::clone::Clone for PenUndockedEventArgs { fn clone(&self) -> Self { @@ -1181,7 +1181,7 @@ unsafe impl ::windows::core::Interface for PenUndockedEventArgs { impl ::windows::core::RuntimeName for PenUndockedEventArgs { const NAME: &'static str = "Windows.Devices.Input.PenUndockedEventArgs"; } -::windows::core::interface_hierarchy!(PenUndockedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenUndockedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenUndockedEventArgs {} unsafe impl ::core::marker::Sync for PenUndockedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -1259,7 +1259,7 @@ impl PointerDevice { } #[doc(hidden)] pub fn IPointerDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1275,7 +1275,7 @@ impl ::core::fmt::Debug for PointerDevice { } } impl ::windows::core::RuntimeType for PointerDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PointerDevice;{93c9bafc-ebcb-467e-82c6-276feae36b5a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PointerDevice;{93c9bafc-ebcb-467e-82c6-276feae36b5a})"); } impl ::core::clone::Clone for PointerDevice { fn clone(&self) -> Self { @@ -1291,7 +1291,7 @@ unsafe impl ::windows::core::Interface for PointerDevice { impl ::windows::core::RuntimeName for PointerDevice { const NAME: &'static str = "Windows.Devices.Input.PointerDevice"; } -::windows::core::interface_hierarchy!(PointerDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PointerDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] pub struct TouchCapabilities(::windows::core::IUnknown); @@ -1299,8 +1299,8 @@ impl TouchCapabilities { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TouchPresent(&self) -> ::windows::core::Result { @@ -1330,7 +1330,7 @@ impl ::core::fmt::Debug for TouchCapabilities { } } impl ::windows::core::RuntimeType for TouchCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.TouchCapabilities;{20dd55f9-13f1-46c8-9285-2c05fa3eda6f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.TouchCapabilities;{20dd55f9-13f1-46c8-9285-2c05fa3eda6f})"); } impl ::core::clone::Clone for TouchCapabilities { fn clone(&self) -> Self { @@ -1346,7 +1346,7 @@ unsafe impl ::windows::core::Interface for TouchCapabilities { impl ::windows::core::RuntimeName for TouchCapabilities { const NAME: &'static str = "Windows.Devices.Input.TouchCapabilities"; } -::windows::core::interface_hierarchy!(TouchCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TouchCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TouchCapabilities {} unsafe impl ::core::marker::Sync for TouchCapabilities {} #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -1378,7 +1378,7 @@ impl ::core::fmt::Debug for PointerDeviceType { } } impl ::windows::core::RuntimeType for PointerDeviceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Input.PointerDeviceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Input.PointerDeviceType;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -1401,7 +1401,7 @@ impl ::windows::core::TypeKind for MouseDelta { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for MouseDelta { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.Input.MouseDelta;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.Input.MouseDelta;i4;i4)"); } impl ::core::cmp::PartialEq for MouseDelta { fn eq(&self, other: &Self) -> bool { @@ -1441,7 +1441,7 @@ impl ::windows::core::TypeKind for PointerDeviceUsage { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for PointerDeviceUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.Input.PointerDeviceUsage;u4;u4;i4;i4;i4;i4;u4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.Input.PointerDeviceUsage;u4;u4;i4;i4;i4;i4;u4;f4)"); } impl ::core::cmp::PartialEq for PointerDeviceUsage { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs index aadd8fcde6..cea14b34a3 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs @@ -335,7 +335,7 @@ impl ILampArrayEffect { unsafe { (::windows::core::Vtable::vtable(this).SetZIndex)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(ILampArrayEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILampArrayEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ILampArrayEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -348,7 +348,7 @@ impl ::core::fmt::Debug for ILampArrayEffect { } } impl ::windows::core::RuntimeType for ILampArrayEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{11d45590-57fb-4546-b1ce-863107f740df}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{11d45590-57fb-4546-b1ce-863107f740df}"); } unsafe impl ::windows::core::Vtable for ILampArrayEffect { type Vtable = ILampArrayEffect_Vtbl; @@ -625,7 +625,7 @@ impl LampArrayBitmapEffect { } #[doc(hidden)] pub fn ILampArrayBitmapEffectFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -641,7 +641,7 @@ impl ::core::fmt::Debug for LampArrayBitmapEffect { } } impl ::windows::core::RuntimeType for LampArrayBitmapEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBitmapEffect;{3238e065-d877-4627-89e5-2a88f7052fa6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBitmapEffect;{3238e065-d877-4627-89e5-2a88f7052fa6})"); } impl ::core::clone::Clone for LampArrayBitmapEffect { fn clone(&self) -> Self { @@ -657,7 +657,7 @@ unsafe impl ::windows::core::Interface for LampArrayBitmapEffect { impl ::windows::core::RuntimeName for LampArrayBitmapEffect { const NAME: &'static str = "Windows.Devices.Lights.Effects.LampArrayBitmapEffect"; } -::windows::core::interface_hierarchy!(LampArrayBitmapEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArrayBitmapEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILampArrayEffect { type Error = ::windows::core::Error; fn try_from(value: LampArrayBitmapEffect) -> ::windows::core::Result { @@ -711,7 +711,7 @@ impl ::core::fmt::Debug for LampArrayBitmapRequestedEventArgs { } } impl ::windows::core::RuntimeType for LampArrayBitmapRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBitmapRequestedEventArgs;{c8b4af9e-fe63-4d51-babd-619defb454ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBitmapRequestedEventArgs;{c8b4af9e-fe63-4d51-babd-619defb454ba})"); } impl ::core::clone::Clone for LampArrayBitmapRequestedEventArgs { fn clone(&self) -> Self { @@ -727,7 +727,7 @@ unsafe impl ::windows::core::Interface for LampArrayBitmapRequestedEventArgs { impl ::windows::core::RuntimeName for LampArrayBitmapRequestedEventArgs { const NAME: &'static str = "Windows.Devices.Lights.Effects.LampArrayBitmapRequestedEventArgs"; } -::windows::core::interface_hierarchy!(LampArrayBitmapRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArrayBitmapRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LampArrayBitmapRequestedEventArgs {} unsafe impl ::core::marker::Sync for LampArrayBitmapRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] @@ -865,7 +865,7 @@ impl LampArrayBlinkEffect { } #[doc(hidden)] pub fn ILampArrayBlinkEffectFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -881,7 +881,7 @@ impl ::core::fmt::Debug for LampArrayBlinkEffect { } } impl ::windows::core::RuntimeType for LampArrayBlinkEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBlinkEffect;{ebbf35f6-2fc5-4bb3-b3c3-6221a7680d13})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBlinkEffect;{ebbf35f6-2fc5-4bb3-b3c3-6221a7680d13})"); } impl ::core::clone::Clone for LampArrayBlinkEffect { fn clone(&self) -> Self { @@ -897,7 +897,7 @@ unsafe impl ::windows::core::Interface for LampArrayBlinkEffect { impl ::windows::core::RuntimeName for LampArrayBlinkEffect { const NAME: &'static str = "Windows.Devices.Lights.Effects.LampArrayBlinkEffect"; } -::windows::core::interface_hierarchy!(LampArrayBlinkEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArrayBlinkEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILampArrayEffect { type Error = ::windows::core::Error; fn try_from(value: LampArrayBlinkEffect) -> ::windows::core::Result { @@ -998,7 +998,7 @@ impl LampArrayColorRampEffect { } #[doc(hidden)] pub fn ILampArrayColorRampEffectFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1014,7 +1014,7 @@ impl ::core::fmt::Debug for LampArrayColorRampEffect { } } impl ::windows::core::RuntimeType for LampArrayColorRampEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayColorRampEffect;{2b004437-40a7-432e-a0b9-0d570c2153ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayColorRampEffect;{2b004437-40a7-432e-a0b9-0d570c2153ff})"); } impl ::core::clone::Clone for LampArrayColorRampEffect { fn clone(&self) -> Self { @@ -1030,7 +1030,7 @@ unsafe impl ::windows::core::Interface for LampArrayColorRampEffect { impl ::windows::core::RuntimeName for LampArrayColorRampEffect { const NAME: &'static str = "Windows.Devices.Lights.Effects.LampArrayColorRampEffect"; } -::windows::core::interface_hierarchy!(LampArrayColorRampEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArrayColorRampEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILampArrayEffect { type Error = ::windows::core::Error; fn try_from(value: LampArrayColorRampEffect) -> ::windows::core::Result { @@ -1120,7 +1120,7 @@ impl LampArrayCustomEffect { } #[doc(hidden)] pub fn ILampArrayCustomEffectFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1136,7 +1136,7 @@ impl ::core::fmt::Debug for LampArrayCustomEffect { } } impl ::windows::core::RuntimeType for LampArrayCustomEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayCustomEffect;{ec579170-3c34-4876-818b-5765f78b0ee4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayCustomEffect;{ec579170-3c34-4876-818b-5765f78b0ee4})"); } impl ::core::clone::Clone for LampArrayCustomEffect { fn clone(&self) -> Self { @@ -1152,7 +1152,7 @@ unsafe impl ::windows::core::Interface for LampArrayCustomEffect { impl ::windows::core::RuntimeName for LampArrayCustomEffect { const NAME: &'static str = "Windows.Devices.Lights.Effects.LampArrayCustomEffect"; } -::windows::core::interface_hierarchy!(LampArrayCustomEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArrayCustomEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILampArrayEffect { type Error = ::windows::core::Error; fn try_from(value: LampArrayCustomEffect) -> ::windows::core::Result { @@ -1181,8 +1181,8 @@ impl LampArrayEffectPlaylist { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1320,7 +1320,7 @@ impl LampArrayEffectPlaylist { } #[doc(hidden)] pub fn ILampArrayEffectPlaylistStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1336,7 +1336,7 @@ impl ::core::fmt::Debug for LampArrayEffectPlaylist { } } impl ::windows::core::RuntimeType for LampArrayEffectPlaylist { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayEffectPlaylist;{7de58bfe-6f61-4103-98c7-d6632f7b9169})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayEffectPlaylist;{7de58bfe-6f61-4103-98c7-d6632f7b9169})"); } impl ::core::clone::Clone for LampArrayEffectPlaylist { fn clone(&self) -> Self { @@ -1368,7 +1368,7 @@ impl ::core::iter::IntoIterator for &LampArrayEffectPlaylist { super::super::super::Foundation::Collections::VectorViewIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(LampArrayEffectPlaylist, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArrayEffectPlaylist, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -1494,7 +1494,7 @@ impl LampArraySolidEffect { } #[doc(hidden)] pub fn ILampArraySolidEffectFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1510,7 +1510,7 @@ impl ::core::fmt::Debug for LampArraySolidEffect { } } impl ::windows::core::RuntimeType for LampArraySolidEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArraySolidEffect;{441f8213-43cc-4b33-80eb-c6ddde7dc8ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArraySolidEffect;{441f8213-43cc-4b33-80eb-c6ddde7dc8ed})"); } impl ::core::clone::Clone for LampArraySolidEffect { fn clone(&self) -> Self { @@ -1526,7 +1526,7 @@ unsafe impl ::windows::core::Interface for LampArraySolidEffect { impl ::windows::core::RuntimeName for LampArraySolidEffect { const NAME: &'static str = "Windows.Devices.Lights.Effects.LampArraySolidEffect"; } -::windows::core::interface_hierarchy!(LampArraySolidEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArraySolidEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILampArrayEffect { type Error = ::windows::core::Error; fn try_from(value: LampArraySolidEffect) -> ::windows::core::Result { @@ -1598,7 +1598,7 @@ impl ::core::fmt::Debug for LampArrayUpdateRequestedEventArgs { } } impl ::windows::core::RuntimeType for LampArrayUpdateRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayUpdateRequestedEventArgs;{73560d6a-576a-48af-8539-67ffa0ab3516})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayUpdateRequestedEventArgs;{73560d6a-576a-48af-8539-67ffa0ab3516})"); } impl ::core::clone::Clone for LampArrayUpdateRequestedEventArgs { fn clone(&self) -> Self { @@ -1614,7 +1614,7 @@ unsafe impl ::windows::core::Interface for LampArrayUpdateRequestedEventArgs { impl ::windows::core::RuntimeName for LampArrayUpdateRequestedEventArgs { const NAME: &'static str = "Windows.Devices.Lights.Effects.LampArrayUpdateRequestedEventArgs"; } -::windows::core::interface_hierarchy!(LampArrayUpdateRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArrayUpdateRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LampArrayUpdateRequestedEventArgs {} unsafe impl ::core::marker::Sync for LampArrayUpdateRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] @@ -1645,7 +1645,7 @@ impl ::core::fmt::Debug for LampArrayEffectCompletionBehavior { } } impl ::windows::core::RuntimeType for LampArrayEffectCompletionBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.Effects.LampArrayEffectCompletionBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.Effects.LampArrayEffectCompletionBehavior;i4)"); } #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] @@ -1675,7 +1675,7 @@ impl ::core::fmt::Debug for LampArrayEffectStartMode { } } impl ::windows::core::RuntimeType for LampArrayEffectStartMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.Effects.LampArrayEffectStartMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.Effects.LampArrayEffectStartMode;i4)"); } #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] @@ -1705,7 +1705,7 @@ impl ::core::fmt::Debug for LampArrayRepetitionMode { } } impl ::windows::core::RuntimeType for LampArrayRepetitionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.Effects.LampArrayRepetitionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.Effects.LampArrayRepetitionMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs index 8105bc05d4..5039f68283 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs @@ -335,7 +335,7 @@ impl Lamp { } #[doc(hidden)] pub fn ILampStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -351,7 +351,7 @@ impl ::core::fmt::Debug for Lamp { } } impl ::windows::core::RuntimeType for Lamp { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Lamp;{047d5b9a-ea45-4b2b-b1a2-14dff00bde7b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Lamp;{047d5b9a-ea45-4b2b-b1a2-14dff00bde7b})"); } impl ::core::clone::Clone for Lamp { fn clone(&self) -> Self { @@ -367,7 +367,7 @@ unsafe impl ::windows::core::Interface for Lamp { impl ::windows::core::RuntimeName for Lamp { const NAME: &'static str = "Windows.Devices.Lights.Lamp"; } -::windows::core::interface_hierarchy!(Lamp, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Lamp, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -595,7 +595,7 @@ impl LampArray { } #[doc(hidden)] pub fn ILampArrayStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -611,7 +611,7 @@ impl ::core::fmt::Debug for LampArray { } } impl ::windows::core::RuntimeType for LampArray { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampArray;{7ace9787-c8a0-4e95-a1e0-d58676538649})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampArray;{7ace9787-c8a0-4e95-a1e0-d58676538649})"); } impl ::core::clone::Clone for LampArray { fn clone(&self) -> Self { @@ -627,7 +627,7 @@ unsafe impl ::windows::core::Interface for LampArray { impl ::windows::core::RuntimeName for LampArray { const NAME: &'static str = "Windows.Devices.Lights.LampArray"; } -::windows::core::interface_hierarchy!(LampArray, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampArray, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LampArray {} unsafe impl ::core::marker::Sync for LampArray {} #[doc = "*Required features: `\"Devices_Lights\"`*"] @@ -654,7 +654,7 @@ impl ::core::fmt::Debug for LampAvailabilityChangedEventArgs { } } impl ::windows::core::RuntimeType for LampAvailabilityChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampAvailabilityChangedEventArgs;{4f6e3ded-07a2-499d-9260-67e304532ba4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampAvailabilityChangedEventArgs;{4f6e3ded-07a2-499d-9260-67e304532ba4})"); } impl ::core::clone::Clone for LampAvailabilityChangedEventArgs { fn clone(&self) -> Self { @@ -670,7 +670,7 @@ unsafe impl ::windows::core::Interface for LampAvailabilityChangedEventArgs { impl ::windows::core::RuntimeName for LampAvailabilityChangedEventArgs { const NAME: &'static str = "Windows.Devices.Lights.LampAvailabilityChangedEventArgs"; } -::windows::core::interface_hierarchy!(LampAvailabilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampAvailabilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LampAvailabilityChangedEventArgs {} unsafe impl ::core::marker::Sync for LampAvailabilityChangedEventArgs {} #[doc = "*Required features: `\"Devices_Lights\"`*"] @@ -768,7 +768,7 @@ impl ::core::fmt::Debug for LampInfo { } } impl ::windows::core::RuntimeType for LampInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampInfo;{30bb521c-0acf-49da-8c10-150b9cf62713})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampInfo;{30bb521c-0acf-49da-8c10-150b9cf62713})"); } impl ::core::clone::Clone for LampInfo { fn clone(&self) -> Self { @@ -784,7 +784,7 @@ unsafe impl ::windows::core::Interface for LampInfo { impl ::windows::core::RuntimeName for LampInfo { const NAME: &'static str = "Windows.Devices.Lights.LampInfo"; } -::windows::core::interface_hierarchy!(LampInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LampInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LampInfo {} unsafe impl ::core::marker::Sync for LampInfo {} #[doc = "*Required features: `\"Devices_Lights\"`*"] @@ -824,7 +824,7 @@ impl ::core::fmt::Debug for LampArrayKind { } } impl ::windows::core::RuntimeType for LampArrayKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.LampArrayKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.LampArrayKind;i4)"); } #[doc = "*Required features: `\"Devices_Lights\"`*"] #[repr(transparent)] @@ -892,7 +892,7 @@ impl ::core::ops::Not for LampPurposes { } } impl ::windows::core::RuntimeType for LampPurposes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.LampPurposes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Lights.LampPurposes;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index 22aceb1beb..a7cb5fe4a3 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -163,7 +163,7 @@ impl IMidiMessage { } } } -::windows::core::interface_hierarchy!(IMidiMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMidiMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMidiMessage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -176,7 +176,7 @@ impl ::core::fmt::Debug for IMidiMessage { } } impl ::windows::core::RuntimeType for IMidiMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{79767945-1094-4283-9be0-289fc0ee8334}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{79767945-1094-4283-9be0-289fc0ee8334}"); } unsafe impl ::windows::core::Vtable for IMidiMessage { type Vtable = IMidiMessage_Vtbl; @@ -343,7 +343,7 @@ impl IMidiOutPort { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IMidiOutPort, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMidiOutPort, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -378,7 +378,7 @@ impl ::core::fmt::Debug for IMidiOutPort { } } impl ::windows::core::RuntimeType for IMidiOutPort { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{931d6d9f-57a2-4a3a-adb8-4640886f6693}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{931d6d9f-57a2-4a3a-adb8-4640886f6693}"); } unsafe impl ::windows::core::Vtable for IMidiOutPort { type Vtable = IMidiOutPort_Vtbl; @@ -757,8 +757,8 @@ impl MidiActiveSensingMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -799,7 +799,7 @@ impl ::core::fmt::Debug for MidiActiveSensingMessage { } } impl ::windows::core::RuntimeType for MidiActiveSensingMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiActiveSensingMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiActiveSensingMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } impl ::core::clone::Clone for MidiActiveSensingMessage { fn clone(&self) -> Self { @@ -815,7 +815,7 @@ unsafe impl ::windows::core::Interface for MidiActiveSensingMessage { impl ::windows::core::RuntimeName for MidiActiveSensingMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiActiveSensingMessage"; } -::windows::core::interface_hierarchy!(MidiActiveSensingMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiActiveSensingMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiActiveSensingMessage) -> ::windows::core::Result { @@ -888,7 +888,7 @@ impl MidiChannelPressureMessage { } #[doc(hidden)] pub fn IMidiChannelPressureMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -904,7 +904,7 @@ impl ::core::fmt::Debug for MidiChannelPressureMessage { } } impl ::windows::core::RuntimeType for MidiChannelPressureMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiChannelPressureMessage;{be1fa860-62b4-4d52-a37e-92e54d35b909})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiChannelPressureMessage;{be1fa860-62b4-4d52-a37e-92e54d35b909})"); } impl ::core::clone::Clone for MidiChannelPressureMessage { fn clone(&self) -> Self { @@ -920,7 +920,7 @@ unsafe impl ::windows::core::Interface for MidiChannelPressureMessage { impl ::windows::core::RuntimeName for MidiChannelPressureMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiChannelPressureMessage"; } -::windows::core::interface_hierarchy!(MidiChannelPressureMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiChannelPressureMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiChannelPressureMessage) -> ::windows::core::Result { @@ -949,8 +949,8 @@ impl MidiContinueMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -991,7 +991,7 @@ impl ::core::fmt::Debug for MidiContinueMessage { } } impl ::windows::core::RuntimeType for MidiContinueMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiContinueMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiContinueMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } impl ::core::clone::Clone for MidiContinueMessage { fn clone(&self) -> Self { @@ -1007,7 +1007,7 @@ unsafe impl ::windows::core::Interface for MidiContinueMessage { impl ::windows::core::RuntimeName for MidiContinueMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiContinueMessage"; } -::windows::core::interface_hierarchy!(MidiContinueMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiContinueMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiContinueMessage) -> ::windows::core::Result { @@ -1087,7 +1087,7 @@ impl MidiControlChangeMessage { } #[doc(hidden)] pub fn IMidiControlChangeMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1103,7 +1103,7 @@ impl ::core::fmt::Debug for MidiControlChangeMessage { } } impl ::windows::core::RuntimeType for MidiControlChangeMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiControlChangeMessage;{b7e15f83-780d-405f-b781-3e1598c97f40})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiControlChangeMessage;{b7e15f83-780d-405f-b781-3e1598c97f40})"); } impl ::core::clone::Clone for MidiControlChangeMessage { fn clone(&self) -> Self { @@ -1119,7 +1119,7 @@ unsafe impl ::windows::core::Interface for MidiControlChangeMessage { impl ::windows::core::RuntimeName for MidiControlChangeMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiControlChangeMessage"; } -::windows::core::interface_hierarchy!(MidiControlChangeMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiControlChangeMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiControlChangeMessage) -> ::windows::core::Result { @@ -1189,7 +1189,7 @@ impl MidiInPort { } #[doc(hidden)] pub fn IMidiInPortStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1205,7 +1205,7 @@ impl ::core::fmt::Debug for MidiInPort { } } impl ::windows::core::RuntimeType for MidiInPort { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiInPort;{d5c1d9db-971a-4eaf-a23d-ea19fe607ff9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiInPort;{d5c1d9db-971a-4eaf-a23d-ea19fe607ff9})"); } impl ::core::clone::Clone for MidiInPort { fn clone(&self) -> Self { @@ -1221,7 +1221,7 @@ unsafe impl ::windows::core::Interface for MidiInPort { impl ::windows::core::RuntimeName for MidiInPort { const NAME: &'static str = "Windows.Devices.Midi.MidiInPort"; } -::windows::core::interface_hierarchy!(MidiInPort, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiInPort, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1270,7 +1270,7 @@ impl ::core::fmt::Debug for MidiMessageReceivedEventArgs { } } impl ::windows::core::RuntimeType for MidiMessageReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiMessageReceivedEventArgs;{76566e56-f328-4b51-907d-b3a8ce96bf80})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiMessageReceivedEventArgs;{76566e56-f328-4b51-907d-b3a8ce96bf80})"); } impl ::core::clone::Clone for MidiMessageReceivedEventArgs { fn clone(&self) -> Self { @@ -1286,7 +1286,7 @@ unsafe impl ::windows::core::Interface for MidiMessageReceivedEventArgs { impl ::windows::core::RuntimeName for MidiMessageReceivedEventArgs { const NAME: &'static str = "Windows.Devices.Midi.MidiMessageReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MidiMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MidiMessageReceivedEventArgs {} unsafe impl ::core::marker::Sync for MidiMessageReceivedEventArgs {} #[doc = "*Required features: `\"Devices_Midi\"`*"] @@ -1347,7 +1347,7 @@ impl MidiNoteOffMessage { } #[doc(hidden)] pub fn IMidiNoteOffMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1363,7 +1363,7 @@ impl ::core::fmt::Debug for MidiNoteOffMessage { } } impl ::windows::core::RuntimeType for MidiNoteOffMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiNoteOffMessage;{16fd8af4-198e-4d8f-a654-d305a293548f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiNoteOffMessage;{16fd8af4-198e-4d8f-a654-d305a293548f})"); } impl ::core::clone::Clone for MidiNoteOffMessage { fn clone(&self) -> Self { @@ -1379,7 +1379,7 @@ unsafe impl ::windows::core::Interface for MidiNoteOffMessage { impl ::windows::core::RuntimeName for MidiNoteOffMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiNoteOffMessage"; } -::windows::core::interface_hierarchy!(MidiNoteOffMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiNoteOffMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiNoteOffMessage) -> ::windows::core::Result { @@ -1459,7 +1459,7 @@ impl MidiNoteOnMessage { } #[doc(hidden)] pub fn IMidiNoteOnMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1475,7 +1475,7 @@ impl ::core::fmt::Debug for MidiNoteOnMessage { } } impl ::windows::core::RuntimeType for MidiNoteOnMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiNoteOnMessage;{e0224af5-6181-46dd-afa2-410004c057aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiNoteOnMessage;{e0224af5-6181-46dd-afa2-410004c057aa})"); } impl ::core::clone::Clone for MidiNoteOnMessage { fn clone(&self) -> Self { @@ -1491,7 +1491,7 @@ unsafe impl ::windows::core::Interface for MidiNoteOnMessage { impl ::windows::core::RuntimeName for MidiNoteOnMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiNoteOnMessage"; } -::windows::core::interface_hierarchy!(MidiNoteOnMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiNoteOnMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiNoteOnMessage) -> ::windows::core::Result { @@ -1564,7 +1564,7 @@ impl MidiOutPort { } #[doc(hidden)] pub fn IMidiOutPortStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1580,7 +1580,7 @@ impl ::core::fmt::Debug for MidiOutPort { } } impl ::windows::core::RuntimeType for MidiOutPort { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiOutPort;{931d6d9f-57a2-4a3a-adb8-4640886f6693})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiOutPort;{931d6d9f-57a2-4a3a-adb8-4640886f6693})"); } impl ::core::clone::Clone for MidiOutPort { fn clone(&self) -> Self { @@ -1596,7 +1596,7 @@ unsafe impl ::windows::core::Interface for MidiOutPort { impl ::windows::core::RuntimeName for MidiOutPort { const NAME: &'static str = "Windows.Devices.Midi.MidiOutPort"; } -::windows::core::interface_hierarchy!(MidiOutPort, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiOutPort, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1691,7 +1691,7 @@ impl MidiPitchBendChangeMessage { } #[doc(hidden)] pub fn IMidiPitchBendChangeMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1707,7 +1707,7 @@ impl ::core::fmt::Debug for MidiPitchBendChangeMessage { } } impl ::windows::core::RuntimeType for MidiPitchBendChangeMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiPitchBendChangeMessage;{29df4cb1-2e9f-4faf-8c2b-9cb82a9079ca})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiPitchBendChangeMessage;{29df4cb1-2e9f-4faf-8c2b-9cb82a9079ca})"); } impl ::core::clone::Clone for MidiPitchBendChangeMessage { fn clone(&self) -> Self { @@ -1723,7 +1723,7 @@ unsafe impl ::windows::core::Interface for MidiPitchBendChangeMessage { impl ::windows::core::RuntimeName for MidiPitchBendChangeMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiPitchBendChangeMessage"; } -::windows::core::interface_hierarchy!(MidiPitchBendChangeMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiPitchBendChangeMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiPitchBendChangeMessage) -> ::windows::core::Result { @@ -1803,7 +1803,7 @@ impl MidiPolyphonicKeyPressureMessage { } #[doc(hidden)] pub fn IMidiPolyphonicKeyPressureMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1819,7 +1819,7 @@ impl ::core::fmt::Debug for MidiPolyphonicKeyPressureMessage { } } impl ::windows::core::RuntimeType for MidiPolyphonicKeyPressureMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiPolyphonicKeyPressureMessage;{1f7337fe-ace8-48a0-868e-7cdbf20f04d6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiPolyphonicKeyPressureMessage;{1f7337fe-ace8-48a0-868e-7cdbf20f04d6})"); } impl ::core::clone::Clone for MidiPolyphonicKeyPressureMessage { fn clone(&self) -> Self { @@ -1835,7 +1835,7 @@ unsafe impl ::windows::core::Interface for MidiPolyphonicKeyPressureMessage { impl ::windows::core::RuntimeName for MidiPolyphonicKeyPressureMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiPolyphonicKeyPressureMessage"; } -::windows::core::interface_hierarchy!(MidiPolyphonicKeyPressureMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiPolyphonicKeyPressureMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiPolyphonicKeyPressureMessage) -> ::windows::core::Result { @@ -1908,7 +1908,7 @@ impl MidiProgramChangeMessage { } #[doc(hidden)] pub fn IMidiProgramChangeMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1924,7 +1924,7 @@ impl ::core::fmt::Debug for MidiProgramChangeMessage { } } impl ::windows::core::RuntimeType for MidiProgramChangeMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiProgramChangeMessage;{9cbb3c78-7a3e-4327-aa98-20b8e4485af8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiProgramChangeMessage;{9cbb3c78-7a3e-4327-aa98-20b8e4485af8})"); } impl ::core::clone::Clone for MidiProgramChangeMessage { fn clone(&self) -> Self { @@ -1940,7 +1940,7 @@ unsafe impl ::windows::core::Interface for MidiProgramChangeMessage { impl ::windows::core::RuntimeName for MidiProgramChangeMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiProgramChangeMessage"; } -::windows::core::interface_hierarchy!(MidiProgramChangeMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiProgramChangeMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiProgramChangeMessage) -> ::windows::core::Result { @@ -2006,7 +2006,7 @@ impl MidiSongPositionPointerMessage { } #[doc(hidden)] pub fn IMidiSongPositionPointerMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2022,7 +2022,7 @@ impl ::core::fmt::Debug for MidiSongPositionPointerMessage { } } impl ::windows::core::RuntimeType for MidiSongPositionPointerMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSongPositionPointerMessage;{4ca50c56-ec5e-4ae4-a115-88dc57cc2b79})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSongPositionPointerMessage;{4ca50c56-ec5e-4ae4-a115-88dc57cc2b79})"); } impl ::core::clone::Clone for MidiSongPositionPointerMessage { fn clone(&self) -> Self { @@ -2038,7 +2038,7 @@ unsafe impl ::windows::core::Interface for MidiSongPositionPointerMessage { impl ::windows::core::RuntimeName for MidiSongPositionPointerMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiSongPositionPointerMessage"; } -::windows::core::interface_hierarchy!(MidiSongPositionPointerMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiSongPositionPointerMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiSongPositionPointerMessage) -> ::windows::core::Result { @@ -2104,7 +2104,7 @@ impl MidiSongSelectMessage { } #[doc(hidden)] pub fn IMidiSongSelectMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2120,7 +2120,7 @@ impl ::core::fmt::Debug for MidiSongSelectMessage { } } impl ::windows::core::RuntimeType for MidiSongSelectMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSongSelectMessage;{49f0f27f-6d83-4741-a5bf-4629f6be974f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSongSelectMessage;{49f0f27f-6d83-4741-a5bf-4629f6be974f})"); } impl ::core::clone::Clone for MidiSongSelectMessage { fn clone(&self) -> Self { @@ -2136,7 +2136,7 @@ unsafe impl ::windows::core::Interface for MidiSongSelectMessage { impl ::windows::core::RuntimeName for MidiSongSelectMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiSongSelectMessage"; } -::windows::core::interface_hierarchy!(MidiSongSelectMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiSongSelectMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiSongSelectMessage) -> ::windows::core::Result { @@ -2165,8 +2165,8 @@ impl MidiStartMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2207,7 +2207,7 @@ impl ::core::fmt::Debug for MidiStartMessage { } } impl ::windows::core::RuntimeType for MidiStartMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiStartMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiStartMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } impl ::core::clone::Clone for MidiStartMessage { fn clone(&self) -> Self { @@ -2223,7 +2223,7 @@ unsafe impl ::windows::core::Interface for MidiStartMessage { impl ::windows::core::RuntimeName for MidiStartMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiStartMessage"; } -::windows::core::interface_hierarchy!(MidiStartMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiStartMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiStartMessage) -> ::windows::core::Result { @@ -2252,8 +2252,8 @@ impl MidiStopMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2294,7 +2294,7 @@ impl ::core::fmt::Debug for MidiStopMessage { } } impl ::windows::core::RuntimeType for MidiStopMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiStopMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiStopMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } impl ::core::clone::Clone for MidiStopMessage { fn clone(&self) -> Self { @@ -2310,7 +2310,7 @@ unsafe impl ::windows::core::Interface for MidiStopMessage { impl ::windows::core::RuntimeName for MidiStopMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiStopMessage"; } -::windows::core::interface_hierarchy!(MidiStopMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiStopMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiStopMessage) -> ::windows::core::Result { @@ -2413,7 +2413,7 @@ impl MidiSynthesizer { } #[doc(hidden)] pub fn IMidiSynthesizerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2429,7 +2429,7 @@ impl ::core::fmt::Debug for MidiSynthesizer { } } impl ::windows::core::RuntimeType for MidiSynthesizer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSynthesizer;{f0da155e-db90-405f-b8ae-21d2e17f2e45})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSynthesizer;{f0da155e-db90-405f-b8ae-21d2e17f2e45})"); } impl ::core::clone::Clone for MidiSynthesizer { fn clone(&self) -> Self { @@ -2445,7 +2445,7 @@ unsafe impl ::windows::core::Interface for MidiSynthesizer { impl ::windows::core::RuntimeName for MidiSynthesizer { const NAME: &'static str = "Windows.Devices.Midi.MidiSynthesizer"; } -::windows::core::interface_hierarchy!(MidiSynthesizer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiSynthesizer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2532,7 +2532,7 @@ impl MidiSystemExclusiveMessage { } #[doc(hidden)] pub fn IMidiSystemExclusiveMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2548,7 +2548,7 @@ impl ::core::fmt::Debug for MidiSystemExclusiveMessage { } } impl ::windows::core::RuntimeType for MidiSystemExclusiveMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSystemExclusiveMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSystemExclusiveMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } impl ::core::clone::Clone for MidiSystemExclusiveMessage { fn clone(&self) -> Self { @@ -2564,7 +2564,7 @@ unsafe impl ::windows::core::Interface for MidiSystemExclusiveMessage { impl ::windows::core::RuntimeName for MidiSystemExclusiveMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiSystemExclusiveMessage"; } -::windows::core::interface_hierarchy!(MidiSystemExclusiveMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiSystemExclusiveMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiSystemExclusiveMessage) -> ::windows::core::Result { @@ -2593,8 +2593,8 @@ impl MidiSystemResetMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2635,7 +2635,7 @@ impl ::core::fmt::Debug for MidiSystemResetMessage { } } impl ::windows::core::RuntimeType for MidiSystemResetMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSystemResetMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSystemResetMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } impl ::core::clone::Clone for MidiSystemResetMessage { fn clone(&self) -> Self { @@ -2651,7 +2651,7 @@ unsafe impl ::windows::core::Interface for MidiSystemResetMessage { impl ::windows::core::RuntimeName for MidiSystemResetMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiSystemResetMessage"; } -::windows::core::interface_hierarchy!(MidiSystemResetMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiSystemResetMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiSystemResetMessage) -> ::windows::core::Result { @@ -2724,7 +2724,7 @@ impl MidiTimeCodeMessage { } #[doc(hidden)] pub fn IMidiTimeCodeMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2740,7 +2740,7 @@ impl ::core::fmt::Debug for MidiTimeCodeMessage { } } impl ::windows::core::RuntimeType for MidiTimeCodeMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTimeCodeMessage;{0bf7087d-fa63-4a1c-8deb-c0e87796a6d7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTimeCodeMessage;{0bf7087d-fa63-4a1c-8deb-c0e87796a6d7})"); } impl ::core::clone::Clone for MidiTimeCodeMessage { fn clone(&self) -> Self { @@ -2756,7 +2756,7 @@ unsafe impl ::windows::core::Interface for MidiTimeCodeMessage { impl ::windows::core::RuntimeName for MidiTimeCodeMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiTimeCodeMessage"; } -::windows::core::interface_hierarchy!(MidiTimeCodeMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiTimeCodeMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiTimeCodeMessage) -> ::windows::core::Result { @@ -2785,8 +2785,8 @@ impl MidiTimingClockMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2827,7 +2827,7 @@ impl ::core::fmt::Debug for MidiTimingClockMessage { } } impl ::windows::core::RuntimeType for MidiTimingClockMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTimingClockMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTimingClockMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } impl ::core::clone::Clone for MidiTimingClockMessage { fn clone(&self) -> Self { @@ -2843,7 +2843,7 @@ unsafe impl ::windows::core::Interface for MidiTimingClockMessage { impl ::windows::core::RuntimeName for MidiTimingClockMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiTimingClockMessage"; } -::windows::core::interface_hierarchy!(MidiTimingClockMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiTimingClockMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiTimingClockMessage) -> ::windows::core::Result { @@ -2872,8 +2872,8 @@ impl MidiTuneRequestMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2914,7 +2914,7 @@ impl ::core::fmt::Debug for MidiTuneRequestMessage { } } impl ::windows::core::RuntimeType for MidiTuneRequestMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTuneRequestMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTuneRequestMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } impl ::core::clone::Clone for MidiTuneRequestMessage { fn clone(&self) -> Self { @@ -2930,7 +2930,7 @@ unsafe impl ::windows::core::Interface for MidiTuneRequestMessage { impl ::windows::core::RuntimeName for MidiTuneRequestMessage { const NAME: &'static str = "Windows.Devices.Midi.MidiTuneRequestMessage"; } -::windows::core::interface_hierarchy!(MidiTuneRequestMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MidiTuneRequestMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMidiMessage { type Error = ::windows::core::Error; fn try_from(value: MidiTuneRequestMessage) -> ::windows::core::Result { @@ -2998,7 +2998,7 @@ impl ::core::fmt::Debug for MidiMessageType { } } impl ::windows::core::RuntimeType for MidiMessageType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Midi.MidiMessageType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Midi.MidiMessageType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs index 3afa21fc07..91472720bd 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs @@ -963,7 +963,7 @@ impl ::core::fmt::Debug for BarcodeScannerDisableScannerRequest { } } impl ::windows::core::RuntimeType for BarcodeScannerDisableScannerRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequest;{88ecf7c0-37b9-4275-8e77-c8e52ae5a9c8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequest;{88ecf7c0-37b9-4275-8e77-c8e52ae5a9c8})"); } impl ::core::clone::Clone for BarcodeScannerDisableScannerRequest { fn clone(&self) -> Self { @@ -979,7 +979,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerDisableScannerRequest { impl ::windows::core::RuntimeName for BarcodeScannerDisableScannerRequest { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequest"; } -::windows::core::interface_hierarchy!(BarcodeScannerDisableScannerRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerDisableScannerRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerDisableScannerRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerDisableScannerRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1015,7 +1015,7 @@ impl ::core::fmt::Debug for BarcodeScannerDisableScannerRequestEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerDisableScannerRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequestEventArgs;{7006e142-e802-46f5-b604-352a15ce9232})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequestEventArgs;{7006e142-e802-46f5-b604-352a15ce9232})"); } impl ::core::clone::Clone for BarcodeScannerDisableScannerRequestEventArgs { fn clone(&self) -> Self { @@ -1031,7 +1031,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerDisableScannerRequestEv impl ::windows::core::RuntimeName for BarcodeScannerDisableScannerRequestEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequestEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerDisableScannerRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerDisableScannerRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerDisableScannerRequestEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerDisableScannerRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1087,7 +1087,7 @@ impl ::core::fmt::Debug for BarcodeScannerEnableScannerRequest { } } impl ::windows::core::RuntimeType for BarcodeScannerEnableScannerRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequest;{c0b3e9ba-816a-452b-bd77-b7e453ec446d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequest;{c0b3e9ba-816a-452b-bd77-b7e453ec446d})"); } impl ::core::clone::Clone for BarcodeScannerEnableScannerRequest { fn clone(&self) -> Self { @@ -1103,7 +1103,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerEnableScannerRequest { impl ::windows::core::RuntimeName for BarcodeScannerEnableScannerRequest { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequest"; } -::windows::core::interface_hierarchy!(BarcodeScannerEnableScannerRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerEnableScannerRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerEnableScannerRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerEnableScannerRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1139,7 +1139,7 @@ impl ::core::fmt::Debug for BarcodeScannerEnableScannerRequestEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerEnableScannerRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequestEventArgs;{956c9419-7b4e-4451-8c41-8e10cfbc5b41})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequestEventArgs;{956c9419-7b4e-4451-8c41-8e10cfbc5b41})"); } impl ::core::clone::Clone for BarcodeScannerEnableScannerRequestEventArgs { fn clone(&self) -> Self { @@ -1155,7 +1155,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerEnableScannerRequestEve impl ::windows::core::RuntimeName for BarcodeScannerEnableScannerRequestEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequestEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerEnableScannerRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerEnableScannerRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerEnableScannerRequestEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerEnableScannerRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1230,7 +1230,7 @@ impl ::core::fmt::Debug for BarcodeScannerFrameReader { } } impl ::windows::core::RuntimeType for BarcodeScannerFrameReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReader;{dbc72b07-64c3-482b-93c8-65fb33c22208})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReader;{dbc72b07-64c3-482b-93c8-65fb33c22208})"); } impl ::core::clone::Clone for BarcodeScannerFrameReader { fn clone(&self) -> Self { @@ -1246,7 +1246,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerFrameReader { impl ::windows::core::RuntimeName for BarcodeScannerFrameReader { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReader"; } -::windows::core::interface_hierarchy!(BarcodeScannerFrameReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerFrameReader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1297,7 +1297,7 @@ impl ::core::fmt::Debug for BarcodeScannerFrameReaderFrameArrivedEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerFrameReaderFrameArrivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReaderFrameArrivedEventArgs;{b0bbd604-54fd-436d-8629-712e787223dd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReaderFrameArrivedEventArgs;{b0bbd604-54fd-436d-8629-712e787223dd})"); } impl ::core::clone::Clone for BarcodeScannerFrameReaderFrameArrivedEventArgs { fn clone(&self) -> Self { @@ -1313,7 +1313,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerFrameReaderFrameArrived impl ::windows::core::RuntimeName for BarcodeScannerFrameReaderFrameArrivedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReaderFrameArrivedEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerFrameReaderFrameArrivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerFrameReaderFrameArrivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerFrameReaderFrameArrivedEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerFrameReaderFrameArrivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1376,7 +1376,7 @@ impl ::core::fmt::Debug for BarcodeScannerGetSymbologyAttributesRequest { } } impl ::windows::core::RuntimeType for BarcodeScannerGetSymbologyAttributesRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequest;{9774c46a-58e4-4c5f-b8e9-e41467632700})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequest;{9774c46a-58e4-4c5f-b8e9-e41467632700})"); } impl ::core::clone::Clone for BarcodeScannerGetSymbologyAttributesRequest { fn clone(&self) -> Self { @@ -1392,7 +1392,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerGetSymbologyAttributesR impl ::windows::core::RuntimeName for BarcodeScannerGetSymbologyAttributesRequest { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequest"; } -::windows::core::interface_hierarchy!(BarcodeScannerGetSymbologyAttributesRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerGetSymbologyAttributesRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerGetSymbologyAttributesRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerGetSymbologyAttributesRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1428,7 +1428,7 @@ impl ::core::fmt::Debug for BarcodeScannerGetSymbologyAttributesRequestEventArgs } } impl ::windows::core::RuntimeType for BarcodeScannerGetSymbologyAttributesRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequestEventArgs;{7f89de3e-fb5d-493c-b402-356b24d574a6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequestEventArgs;{7f89de3e-fb5d-493c-b402-356b24d574a6})"); } impl ::core::clone::Clone for BarcodeScannerGetSymbologyAttributesRequestEventArgs { fn clone(&self) -> Self { @@ -1444,7 +1444,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerGetSymbologyAttributesR impl ::windows::core::RuntimeName for BarcodeScannerGetSymbologyAttributesRequestEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequestEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerGetSymbologyAttributesRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerGetSymbologyAttributesRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerGetSymbologyAttributesRequestEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerGetSymbologyAttributesRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1500,7 +1500,7 @@ impl ::core::fmt::Debug for BarcodeScannerHideVideoPreviewRequest { } } impl ::windows::core::RuntimeType for BarcodeScannerHideVideoPreviewRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequest;{fa4ebe7f-6670-40e1-b90b-bb10d8d425fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequest;{fa4ebe7f-6670-40e1-b90b-bb10d8d425fa})"); } impl ::core::clone::Clone for BarcodeScannerHideVideoPreviewRequest { fn clone(&self) -> Self { @@ -1516,7 +1516,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerHideVideoPreviewRequest impl ::windows::core::RuntimeName for BarcodeScannerHideVideoPreviewRequest { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequest"; } -::windows::core::interface_hierarchy!(BarcodeScannerHideVideoPreviewRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerHideVideoPreviewRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerHideVideoPreviewRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerHideVideoPreviewRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1552,7 +1552,7 @@ impl ::core::fmt::Debug for BarcodeScannerHideVideoPreviewRequestEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerHideVideoPreviewRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequestEventArgs;{16a281fc-d6be-4bc7-9df1-33741f3eadea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequestEventArgs;{16a281fc-d6be-4bc7-9df1-33741f3eadea})"); } impl ::core::clone::Clone for BarcodeScannerHideVideoPreviewRequestEventArgs { fn clone(&self) -> Self { @@ -1568,7 +1568,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerHideVideoPreviewRequest impl ::windows::core::RuntimeName for BarcodeScannerHideVideoPreviewRequestEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequestEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerHideVideoPreviewRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerHideVideoPreviewRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerHideVideoPreviewRequestEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerHideVideoPreviewRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1837,7 +1837,7 @@ impl ::core::fmt::Debug for BarcodeScannerProviderConnection { } } impl ::windows::core::RuntimeType for BarcodeScannerProviderConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerProviderConnection;{b44acbed-0b3a-4fa3-86c5-491ea30780eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerProviderConnection;{b44acbed-0b3a-4fa3-86c5-491ea30780eb})"); } impl ::core::clone::Clone for BarcodeScannerProviderConnection { fn clone(&self) -> Self { @@ -1853,7 +1853,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerProviderConnection { impl ::windows::core::RuntimeName for BarcodeScannerProviderConnection { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerProviderConnection"; } -::windows::core::interface_hierarchy!(BarcodeScannerProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerProviderConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1902,7 +1902,7 @@ impl ::core::fmt::Debug for BarcodeScannerProviderTriggerDetails { } } impl ::windows::core::RuntimeType for BarcodeScannerProviderTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerProviderTriggerDetails;{50856d82-24e3-48ce-99c7-70aac1cbc9f7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerProviderTriggerDetails;{50856d82-24e3-48ce-99c7-70aac1cbc9f7})"); } impl ::core::clone::Clone for BarcodeScannerProviderTriggerDetails { fn clone(&self) -> Self { @@ -1918,7 +1918,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerProviderTriggerDetails impl ::windows::core::RuntimeName for BarcodeScannerProviderTriggerDetails { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerProviderTriggerDetails"; } -::windows::core::interface_hierarchy!(BarcodeScannerProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerProviderTriggerDetails {} unsafe impl ::core::marker::Sync for BarcodeScannerProviderTriggerDetails {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -1983,7 +1983,7 @@ impl ::core::fmt::Debug for BarcodeScannerSetActiveSymbologiesRequest { } } impl ::windows::core::RuntimeType for BarcodeScannerSetActiveSymbologiesRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequest;{db3f32b9-f7da-41a1-9f79-07bcd95f0bdf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequest;{db3f32b9-f7da-41a1-9f79-07bcd95f0bdf})"); } impl ::core::clone::Clone for BarcodeScannerSetActiveSymbologiesRequest { fn clone(&self) -> Self { @@ -1999,7 +1999,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerSetActiveSymbologiesReq impl ::windows::core::RuntimeName for BarcodeScannerSetActiveSymbologiesRequest { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequest"; } -::windows::core::interface_hierarchy!(BarcodeScannerSetActiveSymbologiesRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerSetActiveSymbologiesRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerSetActiveSymbologiesRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerSetActiveSymbologiesRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2035,7 +2035,7 @@ impl ::core::fmt::Debug for BarcodeScannerSetActiveSymbologiesRequestEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerSetActiveSymbologiesRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequestEventArgs;{06305afa-7bf6-4d52-801a-330272f60ae1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequestEventArgs;{06305afa-7bf6-4d52-801a-330272f60ae1})"); } impl ::core::clone::Clone for BarcodeScannerSetActiveSymbologiesRequestEventArgs { fn clone(&self) -> Self { @@ -2051,7 +2051,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerSetActiveSymbologiesReq impl ::windows::core::RuntimeName for BarcodeScannerSetActiveSymbologiesRequestEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequestEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerSetActiveSymbologiesRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerSetActiveSymbologiesRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerSetActiveSymbologiesRequestEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerSetActiveSymbologiesRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2121,7 +2121,7 @@ impl ::core::fmt::Debug for BarcodeScannerSetSymbologyAttributesRequest { } } impl ::windows::core::RuntimeType for BarcodeScannerSetSymbologyAttributesRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequest;{32fb814f-a37f-48b0-acea-dce1480f12ae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequest;{32fb814f-a37f-48b0-acea-dce1480f12ae})"); } impl ::core::clone::Clone for BarcodeScannerSetSymbologyAttributesRequest { fn clone(&self) -> Self { @@ -2137,7 +2137,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerSetSymbologyAttributesR impl ::windows::core::RuntimeName for BarcodeScannerSetSymbologyAttributesRequest { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequest"; } -::windows::core::interface_hierarchy!(BarcodeScannerSetSymbologyAttributesRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerSetSymbologyAttributesRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerSetSymbologyAttributesRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerSetSymbologyAttributesRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2173,7 +2173,7 @@ impl ::core::fmt::Debug for BarcodeScannerSetSymbologyAttributesRequestEventArgs } } impl ::windows::core::RuntimeType for BarcodeScannerSetSymbologyAttributesRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequestEventArgs;{b2b89809-9824-47d4-85bd-d0077baa7bd2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequestEventArgs;{b2b89809-9824-47d4-85bd-d0077baa7bd2})"); } impl ::core::clone::Clone for BarcodeScannerSetSymbologyAttributesRequestEventArgs { fn clone(&self) -> Self { @@ -2189,7 +2189,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerSetSymbologyAttributesR impl ::windows::core::RuntimeName for BarcodeScannerSetSymbologyAttributesRequestEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequestEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerSetSymbologyAttributesRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerSetSymbologyAttributesRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerSetSymbologyAttributesRequestEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerSetSymbologyAttributesRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2245,7 +2245,7 @@ impl ::core::fmt::Debug for BarcodeScannerStartSoftwareTriggerRequest { } } impl ::windows::core::RuntimeType for BarcodeScannerStartSoftwareTriggerRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequest;{e3fa7b27-ff62-4454-af4a-cb6144a3e3f7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequest;{e3fa7b27-ff62-4454-af4a-cb6144a3e3f7})"); } impl ::core::clone::Clone for BarcodeScannerStartSoftwareTriggerRequest { fn clone(&self) -> Self { @@ -2261,7 +2261,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerStartSoftwareTriggerReq impl ::windows::core::RuntimeName for BarcodeScannerStartSoftwareTriggerRequest { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequest"; } -::windows::core::interface_hierarchy!(BarcodeScannerStartSoftwareTriggerRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerStartSoftwareTriggerRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerStartSoftwareTriggerRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerStartSoftwareTriggerRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2297,7 +2297,7 @@ impl ::core::fmt::Debug for BarcodeScannerStartSoftwareTriggerRequestEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerStartSoftwareTriggerRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequestEventArgs;{2305d843-c88f-4f3b-8c3b-d3df071051ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequestEventArgs;{2305d843-c88f-4f3b-8c3b-d3df071051ec})"); } impl ::core::clone::Clone for BarcodeScannerStartSoftwareTriggerRequestEventArgs { fn clone(&self) -> Self { @@ -2313,7 +2313,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerStartSoftwareTriggerReq impl ::windows::core::RuntimeName for BarcodeScannerStartSoftwareTriggerRequestEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequestEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerStartSoftwareTriggerRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerStartSoftwareTriggerRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerStartSoftwareTriggerRequestEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerStartSoftwareTriggerRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2369,7 +2369,7 @@ impl ::core::fmt::Debug for BarcodeScannerStopSoftwareTriggerRequest { } } impl ::windows::core::RuntimeType for BarcodeScannerStopSoftwareTriggerRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequest;{6f9faf35-e287-4ca8-b70d-5a91d694f668})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequest;{6f9faf35-e287-4ca8-b70d-5a91d694f668})"); } impl ::core::clone::Clone for BarcodeScannerStopSoftwareTriggerRequest { fn clone(&self) -> Self { @@ -2385,7 +2385,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerStopSoftwareTriggerRequ impl ::windows::core::RuntimeName for BarcodeScannerStopSoftwareTriggerRequest { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequest"; } -::windows::core::interface_hierarchy!(BarcodeScannerStopSoftwareTriggerRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerStopSoftwareTriggerRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerStopSoftwareTriggerRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerStopSoftwareTriggerRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2421,7 +2421,7 @@ impl ::core::fmt::Debug for BarcodeScannerStopSoftwareTriggerRequestEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerStopSoftwareTriggerRequestEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequestEventArgs;{eac34450-4eb7-481a-9273-147a273b99b8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequestEventArgs;{eac34450-4eb7-481a-9273-147a273b99b8})"); } impl ::core::clone::Clone for BarcodeScannerStopSoftwareTriggerRequestEventArgs { fn clone(&self) -> Self { @@ -2437,7 +2437,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerStopSoftwareTriggerRequ impl ::windows::core::RuntimeName for BarcodeScannerStopSoftwareTriggerRequestEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequestEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerStopSoftwareTriggerRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerStopSoftwareTriggerRequestEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerStopSoftwareTriggerRequestEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerStopSoftwareTriggerRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2495,7 +2495,7 @@ impl ::core::fmt::Debug for BarcodeScannerVideoFrame { } } impl ::windows::core::RuntimeType for BarcodeScannerVideoFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerVideoFrame;{7e585248-9df7-4121-a175-801d8000112e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerVideoFrame;{7e585248-9df7-4121-a175-801d8000112e})"); } impl ::core::clone::Clone for BarcodeScannerVideoFrame { fn clone(&self) -> Self { @@ -2511,7 +2511,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerVideoFrame { impl ::windows::core::RuntimeName for BarcodeScannerVideoFrame { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeScannerVideoFrame"; } -::windows::core::interface_hierarchy!(BarcodeScannerVideoFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerVideoFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2543,8 +2543,8 @@ impl BarcodeSymbologyAttributesBuilder { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsCheckDigitValidationSupported(&self) -> ::windows::core::Result { @@ -2600,7 +2600,7 @@ impl ::core::fmt::Debug for BarcodeSymbologyAttributesBuilder { } } impl ::windows::core::RuntimeType for BarcodeSymbologyAttributesBuilder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeSymbologyAttributesBuilder;{c57b0cbf-e4f5-40b9-84cf-e63fbaea42b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeSymbologyAttributesBuilder;{c57b0cbf-e4f5-40b9-84cf-e63fbaea42b4})"); } impl ::core::clone::Clone for BarcodeSymbologyAttributesBuilder { fn clone(&self) -> Self { @@ -2616,7 +2616,7 @@ unsafe impl ::windows::core::Interface for BarcodeSymbologyAttributesBuilder { impl ::windows::core::RuntimeName for BarcodeSymbologyAttributesBuilder { const NAME: &'static str = "Windows.Devices.PointOfService.Provider.BarcodeSymbologyAttributesBuilder"; } -::windows::core::interface_hierarchy!(BarcodeSymbologyAttributesBuilder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeSymbologyAttributesBuilder, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeSymbologyAttributesBuilder {} unsafe impl ::core::marker::Sync for BarcodeSymbologyAttributesBuilder {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] @@ -2647,7 +2647,7 @@ impl ::core::fmt::Debug for BarcodeScannerTriggerState { } } impl ::windows::core::RuntimeType for BarcodeScannerTriggerState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.Provider.BarcodeScannerTriggerState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.Provider.BarcodeScannerTriggerState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index bddbac3491..51175a9dff 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -660,7 +660,7 @@ impl ICashDrawerEventSourceEventArgs { } } } -::windows::core::interface_hierarchy!(ICashDrawerEventSourceEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICashDrawerEventSourceEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICashDrawerEventSourceEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -673,7 +673,7 @@ impl ::core::fmt::Debug for ICashDrawerEventSourceEventArgs { } } impl ::windows::core::RuntimeType for ICashDrawerEventSourceEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{69cb3bc1-147f-421c-9c23-090123bb786c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{69cb3bc1-147f-421c-9c23-090123bb786c}"); } unsafe impl ::windows::core::Vtable for ICashDrawerEventSourceEventArgs { type Vtable = ICashDrawerEventSourceEventArgs_Vtbl; @@ -1769,7 +1769,7 @@ impl ICommonClaimedPosPrinterStation { } } } -::windows::core::interface_hierarchy!(ICommonClaimedPosPrinterStation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICommonClaimedPosPrinterStation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICommonClaimedPosPrinterStation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1782,7 +1782,7 @@ impl ::core::fmt::Debug for ICommonClaimedPosPrinterStation { } } impl ::windows::core::RuntimeType for ICommonClaimedPosPrinterStation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b7eb66a8-fe8a-4cfb-8b42-e35b280cb27c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b7eb66a8-fe8a-4cfb-8b42-e35b280cb27c}"); } unsafe impl ::windows::core::Vtable for ICommonClaimedPosPrinterStation { type Vtable = ICommonClaimedPosPrinterStation_Vtbl; @@ -1917,7 +1917,7 @@ impl ICommonPosPrintStationCapabilities { } } } -::windows::core::interface_hierarchy!(ICommonPosPrintStationCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICommonPosPrintStationCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICommonPosPrintStationCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1930,7 +1930,7 @@ impl ::core::fmt::Debug for ICommonPosPrintStationCapabilities { } } impl ::windows::core::RuntimeType for ICommonPosPrintStationCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{de5b52ca-e02e-40e9-9e5e-1b488e6aacfc}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{de5b52ca-e02e-40e9-9e5e-1b488e6aacfc}"); } unsafe impl ::windows::core::Vtable for ICommonPosPrintStationCapabilities { type Vtable = ICommonPosPrintStationCapabilities_Vtbl; @@ -2129,7 +2129,7 @@ impl ICommonReceiptSlipCapabilities { } } } -::windows::core::interface_hierarchy!(ICommonReceiptSlipCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICommonReceiptSlipCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICommonPosPrintStationCapabilities { type Error = ::windows::core::Error; fn try_from(value: ICommonReceiptSlipCapabilities) -> ::windows::core::Result { @@ -2161,7 +2161,7 @@ impl ::core::fmt::Debug for ICommonReceiptSlipCapabilities { } } impl ::windows::core::RuntimeType for ICommonReceiptSlipCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{09286b8b-9873-4d05-bfbe-4727a6038f69}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{09286b8b-9873-4d05-bfbe-4727a6038f69}"); } unsafe impl ::windows::core::Vtable for ICommonReceiptSlipCapabilities { type Vtable = ICommonReceiptSlipCapabilities_Vtbl; @@ -3297,7 +3297,7 @@ impl IPosPrinterJob { } } } -::windows::core::interface_hierarchy!(IPosPrinterJob, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPosPrinterJob, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPosPrinterJob { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3310,7 +3310,7 @@ impl ::core::fmt::Debug for IPosPrinterJob { } } impl ::windows::core::RuntimeType for IPosPrinterJob { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9a94005c-0615-4591-a58f-30f87edfe2e4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9a94005c-0615-4591-a58f-30f87edfe2e4}"); } unsafe impl ::windows::core::Vtable for IPosPrinterJob { type Vtable = IPosPrinterJob_Vtbl; @@ -3592,7 +3592,7 @@ impl IReceiptOrSlipJob { } } } -::windows::core::interface_hierarchy!(IReceiptOrSlipJob, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IReceiptOrSlipJob, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPosPrinterJob { type Error = ::windows::core::Error; fn try_from(value: IReceiptOrSlipJob) -> ::windows::core::Result { @@ -3624,7 +3624,7 @@ impl ::core::fmt::Debug for IReceiptOrSlipJob { } } impl ::windows::core::RuntimeType for IReceiptOrSlipJob { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{532199be-c8c3-4dc2-89e9-5c4a37b34ddc}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{532199be-c8c3-4dc2-89e9-5c4a37b34ddc}"); } unsafe impl ::windows::core::Vtable for IReceiptOrSlipJob { type Vtable = IReceiptOrSlipJob_Vtbl; @@ -4028,12 +4028,12 @@ impl BarcodeScanner { } #[doc(hidden)] pub fn IBarcodeScannerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBarcodeScannerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4049,7 +4049,7 @@ impl ::core::fmt::Debug for BarcodeScanner { } } impl ::windows::core::RuntimeType for BarcodeScanner { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScanner;{bea33e06-b264-4f03-a9c1-45b20f01134f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScanner;{bea33e06-b264-4f03-a9c1-45b20f01134f})"); } impl ::core::clone::Clone for BarcodeScanner { fn clone(&self) -> Self { @@ -4065,7 +4065,7 @@ unsafe impl ::windows::core::Interface for BarcodeScanner { impl ::windows::core::RuntimeName for BarcodeScanner { const NAME: &'static str = "Windows.Devices.PointOfService.BarcodeScanner"; } -::windows::core::interface_hierarchy!(BarcodeScanner, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScanner, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4149,7 +4149,7 @@ impl ::core::fmt::Debug for BarcodeScannerCapabilities { } } impl ::windows::core::RuntimeType for BarcodeScannerCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerCapabilities;{c60691e4-f2c8-4420-a307-b12ef6622857})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerCapabilities;{c60691e4-f2c8-4420-a307-b12ef6622857})"); } impl ::core::clone::Clone for BarcodeScannerCapabilities { fn clone(&self) -> Self { @@ -4165,7 +4165,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerCapabilities { impl ::windows::core::RuntimeName for BarcodeScannerCapabilities { const NAME: &'static str = "Windows.Devices.PointOfService.BarcodeScannerCapabilities"; } -::windows::core::interface_hierarchy!(BarcodeScannerCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerCapabilities {} unsafe impl ::core::marker::Sync for BarcodeScannerCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -4192,7 +4192,7 @@ impl ::core::fmt::Debug for BarcodeScannerDataReceivedEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerDataReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerDataReceivedEventArgs;{4234a7e2-ed97-467d-ad2b-01e44313a929})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerDataReceivedEventArgs;{4234a7e2-ed97-467d-ad2b-01e44313a929})"); } impl ::core::clone::Clone for BarcodeScannerDataReceivedEventArgs { fn clone(&self) -> Self { @@ -4208,7 +4208,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerDataReceivedEventArgs { impl ::windows::core::RuntimeName for BarcodeScannerDataReceivedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.BarcodeScannerDataReceivedEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerDataReceivedEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerDataReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -4249,7 +4249,7 @@ impl ::core::fmt::Debug for BarcodeScannerErrorOccurredEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerErrorOccurredEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerErrorOccurredEventArgs;{2cd2602f-cf3a-4002-a75a-c5ec468f0a20})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerErrorOccurredEventArgs;{2cd2602f-cf3a-4002-a75a-c5ec468f0a20})"); } impl ::core::clone::Clone for BarcodeScannerErrorOccurredEventArgs { fn clone(&self) -> Self { @@ -4265,7 +4265,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerErrorOccurredEventArgs impl ::windows::core::RuntimeName for BarcodeScannerErrorOccurredEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.BarcodeScannerErrorOccurredEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerErrorOccurredEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerErrorOccurredEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -4294,7 +4294,7 @@ impl ::core::fmt::Debug for BarcodeScannerImagePreviewReceivedEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerImagePreviewReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerImagePreviewReceivedEventArgs;{f3b7de85-6e8b-434e-9f58-06ef26bc4baf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerImagePreviewReceivedEventArgs;{f3b7de85-6e8b-434e-9f58-06ef26bc4baf})"); } impl ::core::clone::Clone for BarcodeScannerImagePreviewReceivedEventArgs { fn clone(&self) -> Self { @@ -4310,7 +4310,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerImagePreviewReceivedEve impl ::windows::core::RuntimeName for BarcodeScannerImagePreviewReceivedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.BarcodeScannerImagePreviewReceivedEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerImagePreviewReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerImagePreviewReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerImagePreviewReceivedEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerImagePreviewReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -4358,7 +4358,7 @@ impl BarcodeScannerReport { } #[doc(hidden)] pub fn IBarcodeScannerReportFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4374,7 +4374,7 @@ impl ::core::fmt::Debug for BarcodeScannerReport { } } impl ::windows::core::RuntimeType for BarcodeScannerReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerReport;{5ce4d8b0-a489-4b96-86c4-f0bf8a37753d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerReport;{5ce4d8b0-a489-4b96-86c4-f0bf8a37753d})"); } impl ::core::clone::Clone for BarcodeScannerReport { fn clone(&self) -> Self { @@ -4390,7 +4390,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerReport { impl ::windows::core::RuntimeName for BarcodeScannerReport { const NAME: &'static str = "Windows.Devices.PointOfService.BarcodeScannerReport"; } -::windows::core::interface_hierarchy!(BarcodeScannerReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerReport {} unsafe impl ::core::marker::Sync for BarcodeScannerReport {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -4424,7 +4424,7 @@ impl ::core::fmt::Debug for BarcodeScannerStatusUpdatedEventArgs { } } impl ::windows::core::RuntimeType for BarcodeScannerStatusUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerStatusUpdatedEventArgs;{355d8586-9c43-462b-a91a-816dc97f452c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerStatusUpdatedEventArgs;{355d8586-9c43-462b-a91a-816dc97f452c})"); } impl ::core::clone::Clone for BarcodeScannerStatusUpdatedEventArgs { fn clone(&self) -> Self { @@ -4440,7 +4440,7 @@ unsafe impl ::windows::core::Interface for BarcodeScannerStatusUpdatedEventArgs impl ::windows::core::RuntimeName for BarcodeScannerStatusUpdatedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.BarcodeScannerStatusUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(BarcodeScannerStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeScannerStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeScannerStatusUpdatedEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -5018,12 +5018,12 @@ impl BarcodeSymbologies { } #[doc(hidden)] pub fn IBarcodeSymbologiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBarcodeSymbologiesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5123,7 +5123,7 @@ impl ::core::fmt::Debug for BarcodeSymbologyAttributes { } } impl ::windows::core::RuntimeType for BarcodeSymbologyAttributes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeSymbologyAttributes;{66413a78-ab7a-4ada-8ece-936014b2ead7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeSymbologyAttributes;{66413a78-ab7a-4ada-8ece-936014b2ead7})"); } impl ::core::clone::Clone for BarcodeSymbologyAttributes { fn clone(&self) -> Self { @@ -5139,7 +5139,7 @@ unsafe impl ::windows::core::Interface for BarcodeSymbologyAttributes { impl ::windows::core::RuntimeName for BarcodeSymbologyAttributes { const NAME: &'static str = "Windows.Devices.PointOfService.BarcodeSymbologyAttributes"; } -::windows::core::interface_hierarchy!(BarcodeSymbologyAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarcodeSymbologyAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarcodeSymbologyAttributes {} unsafe impl ::core::marker::Sync for BarcodeSymbologyAttributes {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -5263,12 +5263,12 @@ impl CashDrawer { } #[doc(hidden)] pub fn ICashDrawerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICashDrawerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5284,7 +5284,7 @@ impl ::core::fmt::Debug for CashDrawer { } } impl ::windows::core::RuntimeType for CashDrawer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawer;{9f88f5c8-de54-4aee-a890-920bcbfe30fc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawer;{9f88f5c8-de54-4aee-a890-920bcbfe30fc})"); } impl ::core::clone::Clone for CashDrawer { fn clone(&self) -> Self { @@ -5300,7 +5300,7 @@ unsafe impl ::windows::core::Interface for CashDrawer { impl ::windows::core::RuntimeName for CashDrawer { const NAME: &'static str = "Windows.Devices.PointOfService.CashDrawer"; } -::windows::core::interface_hierarchy!(CashDrawer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CashDrawer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5384,7 +5384,7 @@ impl ::core::fmt::Debug for CashDrawerCapabilities { } } impl ::windows::core::RuntimeType for CashDrawerCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerCapabilities;{0bc6de0b-e8e7-4b1f-b1d1-3e501ad08247})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerCapabilities;{0bc6de0b-e8e7-4b1f-b1d1-3e501ad08247})"); } impl ::core::clone::Clone for CashDrawerCapabilities { fn clone(&self) -> Self { @@ -5400,7 +5400,7 @@ unsafe impl ::windows::core::Interface for CashDrawerCapabilities { impl ::windows::core::RuntimeName for CashDrawerCapabilities { const NAME: &'static str = "Windows.Devices.PointOfService.CashDrawerCapabilities"; } -::windows::core::interface_hierarchy!(CashDrawerCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CashDrawerCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CashDrawerCapabilities {} unsafe impl ::core::marker::Sync for CashDrawerCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -5500,7 +5500,7 @@ impl ::core::fmt::Debug for CashDrawerCloseAlarm { } } impl ::windows::core::RuntimeType for CashDrawerCloseAlarm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerCloseAlarm;{6bf88cc7-6f63-430e-ab3b-95d75ffbe87f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerCloseAlarm;{6bf88cc7-6f63-430e-ab3b-95d75ffbe87f})"); } impl ::core::clone::Clone for CashDrawerCloseAlarm { fn clone(&self) -> Self { @@ -5516,7 +5516,7 @@ unsafe impl ::windows::core::Interface for CashDrawerCloseAlarm { impl ::windows::core::RuntimeName for CashDrawerCloseAlarm { const NAME: &'static str = "Windows.Devices.PointOfService.CashDrawerCloseAlarm"; } -::windows::core::interface_hierarchy!(CashDrawerCloseAlarm, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CashDrawerCloseAlarm, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CashDrawerCloseAlarm {} unsafe impl ::core::marker::Sync for CashDrawerCloseAlarm {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -5543,7 +5543,7 @@ impl ::core::fmt::Debug for CashDrawerClosedEventArgs { } } impl ::windows::core::RuntimeType for CashDrawerClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerClosedEventArgs;{69cb3bc1-147f-421c-9c23-090123bb786c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerClosedEventArgs;{69cb3bc1-147f-421c-9c23-090123bb786c})"); } impl ::core::clone::Clone for CashDrawerClosedEventArgs { fn clone(&self) -> Self { @@ -5559,7 +5559,7 @@ unsafe impl ::windows::core::Interface for CashDrawerClosedEventArgs { impl ::windows::core::RuntimeName for CashDrawerClosedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.CashDrawerClosedEventArgs"; } -::windows::core::interface_hierarchy!(CashDrawerClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CashDrawerClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICashDrawerEventSourceEventArgs { type Error = ::windows::core::Error; fn try_from(value: CashDrawerClosedEventArgs) -> ::windows::core::Result { @@ -5628,7 +5628,7 @@ impl ::core::fmt::Debug for CashDrawerEventSource { } } impl ::windows::core::RuntimeType for CashDrawerEventSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerEventSource;{e006e46c-f2f9-442f-8dd6-06c10a4227ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerEventSource;{e006e46c-f2f9-442f-8dd6-06c10a4227ba})"); } impl ::core::clone::Clone for CashDrawerEventSource { fn clone(&self) -> Self { @@ -5644,7 +5644,7 @@ unsafe impl ::windows::core::Interface for CashDrawerEventSource { impl ::windows::core::RuntimeName for CashDrawerEventSource { const NAME: &'static str = "Windows.Devices.PointOfService.CashDrawerEventSource"; } -::windows::core::interface_hierarchy!(CashDrawerEventSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CashDrawerEventSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CashDrawerEventSource {} unsafe impl ::core::marker::Sync for CashDrawerEventSource {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -5671,7 +5671,7 @@ impl ::core::fmt::Debug for CashDrawerOpenedEventArgs { } } impl ::windows::core::RuntimeType for CashDrawerOpenedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerOpenedEventArgs;{69cb3bc1-147f-421c-9c23-090123bb786c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerOpenedEventArgs;{69cb3bc1-147f-421c-9c23-090123bb786c})"); } impl ::core::clone::Clone for CashDrawerOpenedEventArgs { fn clone(&self) -> Self { @@ -5687,7 +5687,7 @@ unsafe impl ::windows::core::Interface for CashDrawerOpenedEventArgs { impl ::windows::core::RuntimeName for CashDrawerOpenedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.CashDrawerOpenedEventArgs"; } -::windows::core::interface_hierarchy!(CashDrawerOpenedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CashDrawerOpenedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICashDrawerEventSourceEventArgs { type Error = ::windows::core::Error; fn try_from(value: CashDrawerOpenedEventArgs) -> ::windows::core::Result { @@ -5740,7 +5740,7 @@ impl ::core::fmt::Debug for CashDrawerStatus { } } impl ::windows::core::RuntimeType for CashDrawerStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerStatus;{6bbd78bf-dca1-4e06-99eb-5af6a5aec108})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerStatus;{6bbd78bf-dca1-4e06-99eb-5af6a5aec108})"); } impl ::core::clone::Clone for CashDrawerStatus { fn clone(&self) -> Self { @@ -5756,7 +5756,7 @@ unsafe impl ::windows::core::Interface for CashDrawerStatus { impl ::windows::core::RuntimeName for CashDrawerStatus { const NAME: &'static str = "Windows.Devices.PointOfService.CashDrawerStatus"; } -::windows::core::interface_hierarchy!(CashDrawerStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CashDrawerStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CashDrawerStatus {} unsafe impl ::core::marker::Sync for CashDrawerStatus {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -5783,7 +5783,7 @@ impl ::core::fmt::Debug for CashDrawerStatusUpdatedEventArgs { } } impl ::windows::core::RuntimeType for CashDrawerStatusUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerStatusUpdatedEventArgs;{30aae98a-0d70-459c-9553-87e124c52488})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerStatusUpdatedEventArgs;{30aae98a-0d70-459c-9553-87e124c52488})"); } impl ::core::clone::Clone for CashDrawerStatusUpdatedEventArgs { fn clone(&self) -> Self { @@ -5799,7 +5799,7 @@ unsafe impl ::windows::core::Interface for CashDrawerStatusUpdatedEventArgs { impl ::windows::core::RuntimeName for CashDrawerStatusUpdatedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.CashDrawerStatusUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(CashDrawerStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CashDrawerStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CashDrawerStatusUpdatedEventArgs {} unsafe impl ::core::marker::Sync for CashDrawerStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -6096,7 +6096,7 @@ impl ::core::fmt::Debug for ClaimedBarcodeScanner { } } impl ::windows::core::RuntimeType for ClaimedBarcodeScanner { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedBarcodeScanner;{4a63b49c-8fa4-4332-bb26-945d11d81e0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedBarcodeScanner;{4a63b49c-8fa4-4332-bb26-945d11d81e0f})"); } impl ::core::clone::Clone for ClaimedBarcodeScanner { fn clone(&self) -> Self { @@ -6112,7 +6112,7 @@ unsafe impl ::windows::core::Interface for ClaimedBarcodeScanner { impl ::windows::core::RuntimeName for ClaimedBarcodeScanner { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedBarcodeScanner"; } -::windows::core::interface_hierarchy!(ClaimedBarcodeScanner, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedBarcodeScanner, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6153,7 +6153,7 @@ impl ::core::fmt::Debug for ClaimedBarcodeScannerClosedEventArgs { } } impl ::windows::core::RuntimeType for ClaimedBarcodeScannerClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedBarcodeScannerClosedEventArgs;{cf7d5489-a22c-4c65-a901-88d77d833954})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedBarcodeScannerClosedEventArgs;{cf7d5489-a22c-4c65-a901-88d77d833954})"); } impl ::core::clone::Clone for ClaimedBarcodeScannerClosedEventArgs { fn clone(&self) -> Self { @@ -6169,7 +6169,7 @@ unsafe impl ::windows::core::Interface for ClaimedBarcodeScannerClosedEventArgs impl ::windows::core::RuntimeName for ClaimedBarcodeScannerClosedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedBarcodeScannerClosedEventArgs"; } -::windows::core::interface_hierarchy!(ClaimedBarcodeScannerClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedBarcodeScannerClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClaimedBarcodeScannerClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedBarcodeScannerClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -6315,7 +6315,7 @@ impl ::core::fmt::Debug for ClaimedCashDrawer { } } impl ::windows::core::RuntimeType for ClaimedCashDrawer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedCashDrawer;{ca3f99af-abb8-42c1-8a84-5c66512f5a75})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedCashDrawer;{ca3f99af-abb8-42c1-8a84-5c66512f5a75})"); } impl ::core::clone::Clone for ClaimedCashDrawer { fn clone(&self) -> Self { @@ -6331,7 +6331,7 @@ unsafe impl ::windows::core::Interface for ClaimedCashDrawer { impl ::windows::core::RuntimeName for ClaimedCashDrawer { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedCashDrawer"; } -::windows::core::interface_hierarchy!(ClaimedCashDrawer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedCashDrawer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6372,7 +6372,7 @@ impl ::core::fmt::Debug for ClaimedCashDrawerClosedEventArgs { } } impl ::windows::core::RuntimeType for ClaimedCashDrawerClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedCashDrawerClosedEventArgs;{cc573f33-3f34-4c5c-baae-deadf16cd7fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedCashDrawerClosedEventArgs;{cc573f33-3f34-4c5c-baae-deadf16cd7fa})"); } impl ::core::clone::Clone for ClaimedCashDrawerClosedEventArgs { fn clone(&self) -> Self { @@ -6388,7 +6388,7 @@ unsafe impl ::windows::core::Interface for ClaimedCashDrawerClosedEventArgs { impl ::windows::core::RuntimeName for ClaimedCashDrawerClosedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedCashDrawerClosedEventArgs"; } -::windows::core::interface_hierarchy!(ClaimedCashDrawerClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedCashDrawerClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClaimedCashDrawerClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedCashDrawerClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -6533,7 +6533,7 @@ impl ::core::fmt::Debug for ClaimedJournalPrinter { } } impl ::windows::core::RuntimeType for ClaimedJournalPrinter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedJournalPrinter;{67ea0630-517d-487f-9fdf-d2e0a0a264a5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedJournalPrinter;{67ea0630-517d-487f-9fdf-d2e0a0a264a5})"); } impl ::core::clone::Clone for ClaimedJournalPrinter { fn clone(&self) -> Self { @@ -6549,7 +6549,7 @@ unsafe impl ::windows::core::Interface for ClaimedJournalPrinter { impl ::windows::core::RuntimeName for ClaimedJournalPrinter { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedJournalPrinter"; } -::windows::core::interface_hierarchy!(ClaimedJournalPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedJournalPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICommonClaimedPosPrinterStation { type Error = ::windows::core::Error; fn try_from(value: ClaimedJournalPrinter) -> ::windows::core::Result { @@ -6843,7 +6843,7 @@ impl ClaimedLineDisplay { } #[doc(hidden)] pub fn IClaimedLineDisplayStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6859,7 +6859,7 @@ impl ::core::fmt::Debug for ClaimedLineDisplay { } } impl ::windows::core::RuntimeType for ClaimedLineDisplay { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedLineDisplay;{120ac970-9a75-4acf-aae7-09972bcf8794})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedLineDisplay;{120ac970-9a75-4acf-aae7-09972bcf8794})"); } impl ::core::clone::Clone for ClaimedLineDisplay { fn clone(&self) -> Self { @@ -6875,7 +6875,7 @@ unsafe impl ::windows::core::Interface for ClaimedLineDisplay { impl ::windows::core::RuntimeName for ClaimedLineDisplay { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedLineDisplay"; } -::windows::core::interface_hierarchy!(ClaimedLineDisplay, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedLineDisplay, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6916,7 +6916,7 @@ impl ::core::fmt::Debug for ClaimedLineDisplayClosedEventArgs { } } impl ::windows::core::RuntimeType for ClaimedLineDisplayClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedLineDisplayClosedEventArgs;{f915f364-d3d5-4f10-b511-90939edfacd8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedLineDisplayClosedEventArgs;{f915f364-d3d5-4f10-b511-90939edfacd8})"); } impl ::core::clone::Clone for ClaimedLineDisplayClosedEventArgs { fn clone(&self) -> Self { @@ -6932,7 +6932,7 @@ unsafe impl ::windows::core::Interface for ClaimedLineDisplayClosedEventArgs { impl ::windows::core::RuntimeName for ClaimedLineDisplayClosedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedLineDisplayClosedEventArgs"; } -::windows::core::interface_hierarchy!(ClaimedLineDisplayClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedLineDisplayClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClaimedLineDisplayClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedLineDisplayClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -7212,7 +7212,7 @@ impl ::core::fmt::Debug for ClaimedMagneticStripeReader { } } impl ::windows::core::RuntimeType for ClaimedMagneticStripeReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedMagneticStripeReader;{475ca8f3-9417-48bc-b9d7-4163a7844c02})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedMagneticStripeReader;{475ca8f3-9417-48bc-b9d7-4163a7844c02})"); } impl ::core::clone::Clone for ClaimedMagneticStripeReader { fn clone(&self) -> Self { @@ -7228,7 +7228,7 @@ unsafe impl ::windows::core::Interface for ClaimedMagneticStripeReader { impl ::windows::core::RuntimeName for ClaimedMagneticStripeReader { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedMagneticStripeReader"; } -::windows::core::interface_hierarchy!(ClaimedMagneticStripeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedMagneticStripeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -7269,7 +7269,7 @@ impl ::core::fmt::Debug for ClaimedMagneticStripeReaderClosedEventArgs { } } impl ::windows::core::RuntimeType for ClaimedMagneticStripeReaderClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedMagneticStripeReaderClosedEventArgs;{14ada93a-adcd-4c80-acda-c3eaed2647e1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedMagneticStripeReaderClosedEventArgs;{14ada93a-adcd-4c80-acda-c3eaed2647e1})"); } impl ::core::clone::Clone for ClaimedMagneticStripeReaderClosedEventArgs { fn clone(&self) -> Self { @@ -7285,7 +7285,7 @@ unsafe impl ::windows::core::Interface for ClaimedMagneticStripeReaderClosedEven impl ::windows::core::RuntimeName for ClaimedMagneticStripeReaderClosedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedMagneticStripeReaderClosedEventArgs"; } -::windows::core::interface_hierarchy!(ClaimedMagneticStripeReaderClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedMagneticStripeReaderClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClaimedMagneticStripeReaderClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedMagneticStripeReaderClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -7469,7 +7469,7 @@ impl ::core::fmt::Debug for ClaimedPosPrinter { } } impl ::windows::core::RuntimeType for ClaimedPosPrinter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedPosPrinter;{6d64ce0c-e03e-4b14-a38e-c28c34b86353})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedPosPrinter;{6d64ce0c-e03e-4b14-a38e-c28c34b86353})"); } impl ::core::clone::Clone for ClaimedPosPrinter { fn clone(&self) -> Self { @@ -7485,7 +7485,7 @@ unsafe impl ::windows::core::Interface for ClaimedPosPrinter { impl ::windows::core::RuntimeName for ClaimedPosPrinter { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedPosPrinter"; } -::windows::core::interface_hierarchy!(ClaimedPosPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedPosPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -7526,7 +7526,7 @@ impl ::core::fmt::Debug for ClaimedPosPrinterClosedEventArgs { } } impl ::windows::core::RuntimeType for ClaimedPosPrinterClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedPosPrinterClosedEventArgs;{e2b7a27b-4d40-471d-92ed-63375b18c788})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedPosPrinterClosedEventArgs;{e2b7a27b-4d40-471d-92ed-63375b18c788})"); } impl ::core::clone::Clone for ClaimedPosPrinterClosedEventArgs { fn clone(&self) -> Self { @@ -7542,7 +7542,7 @@ unsafe impl ::windows::core::Interface for ClaimedPosPrinterClosedEventArgs { impl ::windows::core::RuntimeName for ClaimedPosPrinterClosedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedPosPrinterClosedEventArgs"; } -::windows::core::interface_hierarchy!(ClaimedPosPrinterClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedPosPrinterClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ClaimedPosPrinterClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedPosPrinterClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -7726,7 +7726,7 @@ impl ::core::fmt::Debug for ClaimedReceiptPrinter { } } impl ::windows::core::RuntimeType for ClaimedReceiptPrinter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedReceiptPrinter;{9ad27a74-dd61-4ee2-9837-5b5d72d538b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedReceiptPrinter;{9ad27a74-dd61-4ee2-9837-5b5d72d538b9})"); } impl ::core::clone::Clone for ClaimedReceiptPrinter { fn clone(&self) -> Self { @@ -7742,7 +7742,7 @@ unsafe impl ::windows::core::Interface for ClaimedReceiptPrinter { impl ::windows::core::RuntimeName for ClaimedReceiptPrinter { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedReceiptPrinter"; } -::windows::core::interface_hierarchy!(ClaimedReceiptPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedReceiptPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICommonClaimedPosPrinterStation { type Error = ::windows::core::Error; fn try_from(value: ClaimedReceiptPrinter) -> ::windows::core::Result { @@ -7989,7 +7989,7 @@ impl ::core::fmt::Debug for ClaimedSlipPrinter { } } impl ::windows::core::RuntimeType for ClaimedSlipPrinter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedSlipPrinter;{bd5deff2-af90-4e8a-b77b-e3ae9ca63a7f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedSlipPrinter;{bd5deff2-af90-4e8a-b77b-e3ae9ca63a7f})"); } impl ::core::clone::Clone for ClaimedSlipPrinter { fn clone(&self) -> Self { @@ -8005,7 +8005,7 @@ unsafe impl ::windows::core::Interface for ClaimedSlipPrinter { impl ::windows::core::RuntimeName for ClaimedSlipPrinter { const NAME: &'static str = "Windows.Devices.PointOfService.ClaimedSlipPrinter"; } -::windows::core::interface_hierarchy!(ClaimedSlipPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClaimedSlipPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICommonClaimedPosPrinterStation { type Error = ::windows::core::Error; fn try_from(value: ClaimedSlipPrinter) -> ::windows::core::Result { @@ -8077,7 +8077,7 @@ impl ::core::fmt::Debug for JournalPrintJob { } } impl ::windows::core::RuntimeType for JournalPrintJob { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.JournalPrintJob;{9a94005c-0615-4591-a58f-30f87edfe2e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.JournalPrintJob;{9a94005c-0615-4591-a58f-30f87edfe2e4})"); } impl ::core::clone::Clone for JournalPrintJob { fn clone(&self) -> Self { @@ -8093,7 +8093,7 @@ unsafe impl ::windows::core::Interface for JournalPrintJob { impl ::windows::core::RuntimeName for JournalPrintJob { const NAME: &'static str = "Windows.Devices.PointOfService.JournalPrintJob"; } -::windows::core::interface_hierarchy!(JournalPrintJob, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(JournalPrintJob, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPosPrinterJob { type Error = ::windows::core::Error; fn try_from(value: JournalPrintJob) -> ::windows::core::Result { @@ -8267,7 +8267,7 @@ impl ::core::fmt::Debug for JournalPrinterCapabilities { } } impl ::windows::core::RuntimeType for JournalPrinterCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.JournalPrinterCapabilities;{3b5ccc43-e047-4463-bb58-17b5ba1d8056})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.JournalPrinterCapabilities;{3b5ccc43-e047-4463-bb58-17b5ba1d8056})"); } impl ::core::clone::Clone for JournalPrinterCapabilities { fn clone(&self) -> Self { @@ -8283,7 +8283,7 @@ unsafe impl ::windows::core::Interface for JournalPrinterCapabilities { impl ::windows::core::RuntimeName for JournalPrinterCapabilities { const NAME: &'static str = "Windows.Devices.PointOfService.JournalPrinterCapabilities"; } -::windows::core::interface_hierarchy!(JournalPrinterCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(JournalPrinterCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICommonPosPrintStationCapabilities { type Error = ::windows::core::Error; fn try_from(value: JournalPrinterCapabilities) -> ::windows::core::Result { @@ -8418,12 +8418,12 @@ impl LineDisplay { } #[doc(hidden)] pub fn ILineDisplayStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILineDisplayStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -8439,7 +8439,7 @@ impl ::core::fmt::Debug for LineDisplay { } } impl ::windows::core::RuntimeType for LineDisplay { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplay;{24f5df4e-3c99-44e2-b73f-e51be3637a8c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplay;{24f5df4e-3c99-44e2-b73f-e51be3637a8c})"); } impl ::core::clone::Clone for LineDisplay { fn clone(&self) -> Self { @@ -8455,7 +8455,7 @@ unsafe impl ::windows::core::Interface for LineDisplay { impl ::windows::core::RuntimeName for LineDisplay { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplay"; } -::windows::core::interface_hierarchy!(LineDisplay, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplay, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -8582,7 +8582,7 @@ impl ::core::fmt::Debug for LineDisplayAttributes { } } impl ::windows::core::RuntimeType for LineDisplayAttributes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayAttributes;{c17de99c-229a-4c14-a6f1-b4e4b1fead92})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayAttributes;{c17de99c-229a-4c14-a6f1-b4e4b1fead92})"); } impl ::core::clone::Clone for LineDisplayAttributes { fn clone(&self) -> Self { @@ -8598,7 +8598,7 @@ unsafe impl ::windows::core::Interface for LineDisplayAttributes { impl ::windows::core::RuntimeName for LineDisplayAttributes { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayAttributes"; } -::windows::core::interface_hierarchy!(LineDisplayAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayAttributes {} unsafe impl ::core::marker::Sync for LineDisplayAttributes {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -8744,7 +8744,7 @@ impl ::core::fmt::Debug for LineDisplayCapabilities { } } impl ::windows::core::RuntimeType for LineDisplayCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCapabilities;{5a15b5d1-8dc5-4b9c-9172-303e47b70c55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCapabilities;{5a15b5d1-8dc5-4b9c-9172-303e47b70c55})"); } impl ::core::clone::Clone for LineDisplayCapabilities { fn clone(&self) -> Self { @@ -8760,7 +8760,7 @@ unsafe impl ::windows::core::Interface for LineDisplayCapabilities { impl ::windows::core::RuntimeName for LineDisplayCapabilities { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayCapabilities"; } -::windows::core::interface_hierarchy!(LineDisplayCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayCapabilities {} unsafe impl ::core::marker::Sync for LineDisplayCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -8845,7 +8845,7 @@ impl ::core::fmt::Debug for LineDisplayCursor { } } impl ::windows::core::RuntimeType for LineDisplayCursor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCursor;{ecdffc45-754a-4e3b-ab2b-151181085605})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCursor;{ecdffc45-754a-4e3b-ab2b-151181085605})"); } impl ::core::clone::Clone for LineDisplayCursor { fn clone(&self) -> Self { @@ -8861,7 +8861,7 @@ unsafe impl ::windows::core::Interface for LineDisplayCursor { impl ::windows::core::RuntimeName for LineDisplayCursor { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayCursor"; } -::windows::core::interface_hierarchy!(LineDisplayCursor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayCursor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayCursor {} unsafe impl ::core::marker::Sync for LineDisplayCursor {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -8929,7 +8929,7 @@ impl ::core::fmt::Debug for LineDisplayCursorAttributes { } } impl ::windows::core::RuntimeType for LineDisplayCursorAttributes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCursorAttributes;{4e2d54fe-4ffd-4190-aae1-ce285f20c896})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCursorAttributes;{4e2d54fe-4ffd-4190-aae1-ce285f20c896})"); } impl ::core::clone::Clone for LineDisplayCursorAttributes { fn clone(&self) -> Self { @@ -8945,7 +8945,7 @@ unsafe impl ::windows::core::Interface for LineDisplayCursorAttributes { impl ::windows::core::RuntimeName for LineDisplayCursorAttributes { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayCursorAttributes"; } -::windows::core::interface_hierarchy!(LineDisplayCursorAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayCursorAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayCursorAttributes {} unsafe impl ::core::marker::Sync for LineDisplayCursorAttributes {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -8996,7 +8996,7 @@ impl ::core::fmt::Debug for LineDisplayCustomGlyphs { } } impl ::windows::core::RuntimeType for LineDisplayCustomGlyphs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCustomGlyphs;{2257f63c-f263-44f1-a1a0-e750a6a0ec54})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCustomGlyphs;{2257f63c-f263-44f1-a1a0-e750a6a0ec54})"); } impl ::core::clone::Clone for LineDisplayCustomGlyphs { fn clone(&self) -> Self { @@ -9012,7 +9012,7 @@ unsafe impl ::windows::core::Interface for LineDisplayCustomGlyphs { impl ::windows::core::RuntimeName for LineDisplayCustomGlyphs { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayCustomGlyphs"; } -::windows::core::interface_hierarchy!(LineDisplayCustomGlyphs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayCustomGlyphs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayCustomGlyphs {} unsafe impl ::core::marker::Sync for LineDisplayCustomGlyphs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -9091,7 +9091,7 @@ impl ::core::fmt::Debug for LineDisplayMarquee { } } impl ::windows::core::RuntimeType for LineDisplayMarquee { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayMarquee;{a3d33e3e-f46a-4b7a-bc21-53eb3b57f8b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayMarquee;{a3d33e3e-f46a-4b7a-bc21-53eb3b57f8b4})"); } impl ::core::clone::Clone for LineDisplayMarquee { fn clone(&self) -> Self { @@ -9107,7 +9107,7 @@ unsafe impl ::windows::core::Interface for LineDisplayMarquee { impl ::windows::core::RuntimeName for LineDisplayMarquee { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayMarquee"; } -::windows::core::interface_hierarchy!(LineDisplayMarquee, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayMarquee, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayMarquee {} unsafe impl ::core::marker::Sync for LineDisplayMarquee {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -9148,7 +9148,7 @@ impl ::core::fmt::Debug for LineDisplayStatisticsCategorySelector { } } impl ::windows::core::RuntimeType for LineDisplayStatisticsCategorySelector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStatisticsCategorySelector;{b521c46b-9274-4d24-94f3-b6017b832444})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStatisticsCategorySelector;{b521c46b-9274-4d24-94f3-b6017b832444})"); } impl ::core::clone::Clone for LineDisplayStatisticsCategorySelector { fn clone(&self) -> Self { @@ -9164,7 +9164,7 @@ unsafe impl ::windows::core::Interface for LineDisplayStatisticsCategorySelector impl ::windows::core::RuntimeName for LineDisplayStatisticsCategorySelector { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayStatisticsCategorySelector"; } -::windows::core::interface_hierarchy!(LineDisplayStatisticsCategorySelector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayStatisticsCategorySelector, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayStatisticsCategorySelector {} unsafe impl ::core::marker::Sync for LineDisplayStatisticsCategorySelector {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -9191,7 +9191,7 @@ impl ::core::fmt::Debug for LineDisplayStatusUpdatedEventArgs { } } impl ::windows::core::RuntimeType for LineDisplayStatusUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStatusUpdatedEventArgs;{ddd57c1a-86fb-4eba-93d1-6f5eda52b752})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStatusUpdatedEventArgs;{ddd57c1a-86fb-4eba-93d1-6f5eda52b752})"); } impl ::core::clone::Clone for LineDisplayStatusUpdatedEventArgs { fn clone(&self) -> Self { @@ -9207,7 +9207,7 @@ unsafe impl ::windows::core::Interface for LineDisplayStatusUpdatedEventArgs { impl ::windows::core::RuntimeName for LineDisplayStatusUpdatedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayStatusUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(LineDisplayStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayStatusUpdatedEventArgs {} unsafe impl ::core::marker::Sync for LineDisplayStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -9243,7 +9243,7 @@ impl ::core::fmt::Debug for LineDisplayStoredBitmap { } } impl ::windows::core::RuntimeType for LineDisplayStoredBitmap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStoredBitmap;{f621515b-d81e-43ba-bf1b-bcfa3c785ba0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStoredBitmap;{f621515b-d81e-43ba-bf1b-bcfa3c785ba0})"); } impl ::core::clone::Clone for LineDisplayStoredBitmap { fn clone(&self) -> Self { @@ -9259,7 +9259,7 @@ unsafe impl ::windows::core::Interface for LineDisplayStoredBitmap { impl ::windows::core::RuntimeName for LineDisplayStoredBitmap { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayStoredBitmap"; } -::windows::core::interface_hierarchy!(LineDisplayStoredBitmap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayStoredBitmap, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LineDisplayStoredBitmap {} unsafe impl ::core::marker::Sync for LineDisplayStoredBitmap {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -9440,7 +9440,7 @@ impl ::core::fmt::Debug for LineDisplayWindow { } } impl ::windows::core::RuntimeType for LineDisplayWindow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayWindow;{d21feef4-2364-4be5-bee1-851680af4964})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayWindow;{d21feef4-2364-4be5-bee1-851680af4964})"); } impl ::core::clone::Clone for LineDisplayWindow { fn clone(&self) -> Self { @@ -9456,7 +9456,7 @@ unsafe impl ::windows::core::Interface for LineDisplayWindow { impl ::windows::core::RuntimeName for LineDisplayWindow { const NAME: &'static str = "Windows.Devices.PointOfService.LineDisplayWindow"; } -::windows::core::interface_hierarchy!(LineDisplayWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LineDisplayWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -9602,12 +9602,12 @@ impl MagneticStripeReader { } #[doc(hidden)] pub fn IMagneticStripeReaderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMagneticStripeReaderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -9623,7 +9623,7 @@ impl ::core::fmt::Debug for MagneticStripeReader { } } impl ::windows::core::RuntimeType for MagneticStripeReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReader;{1a92b015-47c3-468a-9333-0c6517574883})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReader;{1a92b015-47c3-468a-9333-0c6517574883})"); } impl ::core::clone::Clone for MagneticStripeReader { fn clone(&self) -> Self { @@ -9639,7 +9639,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReader { impl ::windows::core::RuntimeName for MagneticStripeReader { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReader"; } -::windows::core::interface_hierarchy!(MagneticStripeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -9814,7 +9814,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderAamvaCardDataReceivedEventArgs { } } impl ::windows::core::RuntimeType for MagneticStripeReaderAamvaCardDataReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderAamvaCardDataReceivedEventArgs;{0a4bbd51-c316-4910-87f3-7a62ba862d31})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderAamvaCardDataReceivedEventArgs;{0a4bbd51-c316-4910-87f3-7a62ba862d31})"); } impl ::core::clone::Clone for MagneticStripeReaderAamvaCardDataReceivedEventArgs { fn clone(&self) -> Self { @@ -9830,7 +9830,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReaderAamvaCardDataRece impl ::windows::core::RuntimeName for MagneticStripeReaderAamvaCardDataReceivedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReaderAamvaCardDataReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MagneticStripeReaderAamvaCardDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReaderAamvaCardDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagneticStripeReaderAamvaCardDataReceivedEventArgs {} unsafe impl ::core::marker::Sync for MagneticStripeReaderAamvaCardDataReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -9913,7 +9913,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderBankCardDataReceivedEventArgs { } } impl ::windows::core::RuntimeType for MagneticStripeReaderBankCardDataReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderBankCardDataReceivedEventArgs;{2e958823-a31a-4763-882c-23725e39b08e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderBankCardDataReceivedEventArgs;{2e958823-a31a-4763-882c-23725e39b08e})"); } impl ::core::clone::Clone for MagneticStripeReaderBankCardDataReceivedEventArgs { fn clone(&self) -> Self { @@ -9929,7 +9929,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReaderBankCardDataRecei impl ::windows::core::RuntimeName for MagneticStripeReaderBankCardDataReceivedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReaderBankCardDataReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MagneticStripeReaderBankCardDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReaderBankCardDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagneticStripeReaderBankCardDataReceivedEventArgs {} unsafe impl ::core::marker::Sync for MagneticStripeReaderBankCardDataReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10026,7 +10026,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderCapabilities { } } impl ::windows::core::RuntimeType for MagneticStripeReaderCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderCapabilities;{7128809c-c440-44a2-a467-469175d02896})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderCapabilities;{7128809c-c440-44a2-a467-469175d02896})"); } impl ::core::clone::Clone for MagneticStripeReaderCapabilities { fn clone(&self) -> Self { @@ -10042,7 +10042,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReaderCapabilities { impl ::windows::core::RuntimeName for MagneticStripeReaderCapabilities { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReaderCapabilities"; } -::windows::core::interface_hierarchy!(MagneticStripeReaderCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReaderCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagneticStripeReaderCapabilities {} unsafe impl ::core::marker::Sync for MagneticStripeReaderCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10074,7 +10074,7 @@ impl MagneticStripeReaderCardTypes { } #[doc(hidden)] pub fn IMagneticStripeReaderCardTypesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -10104,7 +10104,7 @@ impl MagneticStripeReaderEncryptionAlgorithms { } #[doc(hidden)] pub fn IMagneticStripeReaderEncryptionAlgorithmsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -10170,7 +10170,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderErrorOccurredEventArgs { } } impl ::windows::core::RuntimeType for MagneticStripeReaderErrorOccurredEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderErrorOccurredEventArgs;{1fedf95d-2c84-41ad-b778-f2356a789ab1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderErrorOccurredEventArgs;{1fedf95d-2c84-41ad-b778-f2356a789ab1})"); } impl ::core::clone::Clone for MagneticStripeReaderErrorOccurredEventArgs { fn clone(&self) -> Self { @@ -10186,7 +10186,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReaderErrorOccurredEven impl ::windows::core::RuntimeName for MagneticStripeReaderErrorOccurredEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReaderErrorOccurredEventArgs"; } -::windows::core::interface_hierarchy!(MagneticStripeReaderErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReaderErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagneticStripeReaderErrorOccurredEventArgs {} unsafe impl ::core::marker::Sync for MagneticStripeReaderErrorOccurredEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10275,7 +10275,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderReport { } } impl ::windows::core::RuntimeType for MagneticStripeReaderReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderReport;{6a5b6047-99b0-4188-bef1-eddf79f78fe6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderReport;{6a5b6047-99b0-4188-bef1-eddf79f78fe6})"); } impl ::core::clone::Clone for MagneticStripeReaderReport { fn clone(&self) -> Self { @@ -10291,7 +10291,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReaderReport { impl ::windows::core::RuntimeName for MagneticStripeReaderReport { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReaderReport"; } -::windows::core::interface_hierarchy!(MagneticStripeReaderReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReaderReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagneticStripeReaderReport {} unsafe impl ::core::marker::Sync for MagneticStripeReaderReport {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10325,7 +10325,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderStatusUpdatedEventArgs { } } impl ::windows::core::RuntimeType for MagneticStripeReaderStatusUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderStatusUpdatedEventArgs;{09cc6bb0-3262-401d-9e8a-e80d6358906b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderStatusUpdatedEventArgs;{09cc6bb0-3262-401d-9e8a-e80d6358906b})"); } impl ::core::clone::Clone for MagneticStripeReaderStatusUpdatedEventArgs { fn clone(&self) -> Self { @@ -10341,7 +10341,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReaderStatusUpdatedEven impl ::windows::core::RuntimeName for MagneticStripeReaderStatusUpdatedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReaderStatusUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(MagneticStripeReaderStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReaderStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagneticStripeReaderStatusUpdatedEventArgs {} unsafe impl ::core::marker::Sync for MagneticStripeReaderStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10388,7 +10388,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderTrackData { } } impl ::windows::core::RuntimeType for MagneticStripeReaderTrackData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderTrackData;{104cf671-4a9d-446e-abc5-20402307ba36})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderTrackData;{104cf671-4a9d-446e-abc5-20402307ba36})"); } impl ::core::clone::Clone for MagneticStripeReaderTrackData { fn clone(&self) -> Self { @@ -10404,7 +10404,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReaderTrackData { impl ::windows::core::RuntimeName for MagneticStripeReaderTrackData { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReaderTrackData"; } -::windows::core::interface_hierarchy!(MagneticStripeReaderTrackData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReaderTrackData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagneticStripeReaderTrackData {} unsafe impl ::core::marker::Sync for MagneticStripeReaderTrackData {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10431,7 +10431,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderVendorSpecificCardDataReceivedEv } } impl ::windows::core::RuntimeType for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs;{af0a5514-59cc-4a60-99e8-99a53dace5aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs;{af0a5514-59cc-4a60-99e8-99a53dace5aa})"); } impl ::core::clone::Clone for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { fn clone(&self) -> Self { @@ -10447,7 +10447,7 @@ unsafe impl ::windows::core::Interface for MagneticStripeReaderVendorSpecificCar impl ::windows::core::RuntimeName for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs {} unsafe impl ::core::marker::Sync for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10591,12 +10591,12 @@ impl PosPrinter { } #[doc(hidden)] pub fn IPosPrinterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPosPrinterStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -10612,7 +10612,7 @@ impl ::core::fmt::Debug for PosPrinter { } } impl ::windows::core::RuntimeType for PosPrinter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinter;{2a03c10e-9a19-4a01-994f-12dfad6adcbf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinter;{2a03c10e-9a19-4a01-994f-12dfad6adcbf})"); } impl ::core::clone::Clone for PosPrinter { fn clone(&self) -> Self { @@ -10628,7 +10628,7 @@ unsafe impl ::windows::core::Interface for PosPrinter { impl ::windows::core::RuntimeName for PosPrinter { const NAME: &'static str = "Windows.Devices.PointOfService.PosPrinter"; } -::windows::core::interface_hierarchy!(PosPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PosPrinter, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -10740,7 +10740,7 @@ impl ::core::fmt::Debug for PosPrinterCapabilities { } } impl ::windows::core::RuntimeType for PosPrinterCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterCapabilities;{cde95721-4380-4985-adc5-39db30cd93bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterCapabilities;{cde95721-4380-4985-adc5-39db30cd93bc})"); } impl ::core::clone::Clone for PosPrinterCapabilities { fn clone(&self) -> Self { @@ -10756,7 +10756,7 @@ unsafe impl ::windows::core::Interface for PosPrinterCapabilities { impl ::windows::core::RuntimeName for PosPrinterCapabilities { const NAME: &'static str = "Windows.Devices.PointOfService.PosPrinterCapabilities"; } -::windows::core::interface_hierarchy!(PosPrinterCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PosPrinterCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PosPrinterCapabilities {} unsafe impl ::core::marker::Sync for PosPrinterCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10782,7 +10782,7 @@ impl PosPrinterCharacterSetIds { } #[doc(hidden)] pub fn IPosPrinterCharacterSetIdsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -10829,7 +10829,7 @@ impl ::core::fmt::Debug for PosPrinterFontProperty { } } impl ::windows::core::RuntimeType for PosPrinterFontProperty { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterFontProperty;{a7f4e93a-f8ac-5f04-84d2-29b16d8a633c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterFontProperty;{a7f4e93a-f8ac-5f04-84d2-29b16d8a633c})"); } impl ::core::clone::Clone for PosPrinterFontProperty { fn clone(&self) -> Self { @@ -10845,7 +10845,7 @@ unsafe impl ::windows::core::Interface for PosPrinterFontProperty { impl ::windows::core::RuntimeName for PosPrinterFontProperty { const NAME: &'static str = "Windows.Devices.PointOfService.PosPrinterFontProperty"; } -::windows::core::interface_hierarchy!(PosPrinterFontProperty, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PosPrinterFontProperty, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PosPrinterFontProperty {} unsafe impl ::core::marker::Sync for PosPrinterFontProperty {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -10855,8 +10855,8 @@ impl PosPrinterPrintOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TypeFace(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -11015,7 +11015,7 @@ impl ::core::fmt::Debug for PosPrinterPrintOptions { } } impl ::windows::core::RuntimeType for PosPrinterPrintOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterPrintOptions;{0a2e16fd-1d02-5a58-9d59-bfcde76fde86})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterPrintOptions;{0a2e16fd-1d02-5a58-9d59-bfcde76fde86})"); } impl ::core::clone::Clone for PosPrinterPrintOptions { fn clone(&self) -> Self { @@ -11031,7 +11031,7 @@ unsafe impl ::windows::core::Interface for PosPrinterPrintOptions { impl ::windows::core::RuntimeName for PosPrinterPrintOptions { const NAME: &'static str = "Windows.Devices.PointOfService.PosPrinterPrintOptions"; } -::windows::core::interface_hierarchy!(PosPrinterPrintOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PosPrinterPrintOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PosPrinterPrintOptions {} unsafe impl ::core::marker::Sync for PosPrinterPrintOptions {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -11050,7 +11050,7 @@ impl ::core::fmt::Debug for PosPrinterReleaseDeviceRequestedEventArgs { } } impl ::windows::core::RuntimeType for PosPrinterReleaseDeviceRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterReleaseDeviceRequestedEventArgs;{2bcba359-1cef-40b2-9ecb-f927f856ae3c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterReleaseDeviceRequestedEventArgs;{2bcba359-1cef-40b2-9ecb-f927f856ae3c})"); } impl ::core::clone::Clone for PosPrinterReleaseDeviceRequestedEventArgs { fn clone(&self) -> Self { @@ -11066,7 +11066,7 @@ unsafe impl ::windows::core::Interface for PosPrinterReleaseDeviceRequestedEvent impl ::windows::core::RuntimeName for PosPrinterReleaseDeviceRequestedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.PosPrinterReleaseDeviceRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PosPrinterReleaseDeviceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PosPrinterReleaseDeviceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PosPrinterReleaseDeviceRequestedEventArgs {} unsafe impl ::core::marker::Sync for PosPrinterReleaseDeviceRequestedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -11100,7 +11100,7 @@ impl ::core::fmt::Debug for PosPrinterStatus { } } impl ::windows::core::RuntimeType for PosPrinterStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterStatus;{d1f0c730-da40-4328-bf76-5156fa33b747})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterStatus;{d1f0c730-da40-4328-bf76-5156fa33b747})"); } impl ::core::clone::Clone for PosPrinterStatus { fn clone(&self) -> Self { @@ -11116,7 +11116,7 @@ unsafe impl ::windows::core::Interface for PosPrinterStatus { impl ::windows::core::RuntimeName for PosPrinterStatus { const NAME: &'static str = "Windows.Devices.PointOfService.PosPrinterStatus"; } -::windows::core::interface_hierarchy!(PosPrinterStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PosPrinterStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PosPrinterStatus {} unsafe impl ::core::marker::Sync for PosPrinterStatus {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -11143,7 +11143,7 @@ impl ::core::fmt::Debug for PosPrinterStatusUpdatedEventArgs { } } impl ::windows::core::RuntimeType for PosPrinterStatusUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterStatusUpdatedEventArgs;{2edb87df-13a6-428d-ba81-b0e7c3e5a3cd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterStatusUpdatedEventArgs;{2edb87df-13a6-428d-ba81-b0e7c3e5a3cd})"); } impl ::core::clone::Clone for PosPrinterStatusUpdatedEventArgs { fn clone(&self) -> Self { @@ -11159,7 +11159,7 @@ unsafe impl ::windows::core::Interface for PosPrinterStatusUpdatedEventArgs { impl ::windows::core::RuntimeName for PosPrinterStatusUpdatedEventArgs { const NAME: &'static str = "Windows.Devices.PointOfService.PosPrinterStatusUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(PosPrinterStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PosPrinterStatusUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PosPrinterStatusUpdatedEventArgs {} unsafe impl ::core::marker::Sync for PosPrinterStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -11306,7 +11306,7 @@ impl ::core::fmt::Debug for ReceiptPrintJob { } } impl ::windows::core::RuntimeType for ReceiptPrintJob { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ReceiptPrintJob;{aa96066e-acad-4b79-9d0f-c0cfc08dc77b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ReceiptPrintJob;{aa96066e-acad-4b79-9d0f-c0cfc08dc77b})"); } impl ::core::clone::Clone for ReceiptPrintJob { fn clone(&self) -> Self { @@ -11322,7 +11322,7 @@ unsafe impl ::windows::core::Interface for ReceiptPrintJob { impl ::windows::core::RuntimeName for ReceiptPrintJob { const NAME: &'static str = "Windows.Devices.PointOfService.ReceiptPrintJob"; } -::windows::core::interface_hierarchy!(ReceiptPrintJob, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ReceiptPrintJob, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPosPrinterJob { type Error = ::windows::core::Error; fn try_from(value: ReceiptPrintJob) -> ::windows::core::Result { @@ -11603,7 +11603,7 @@ impl ::core::fmt::Debug for ReceiptPrinterCapabilities { } } impl ::windows::core::RuntimeType for ReceiptPrinterCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ReceiptPrinterCapabilities;{b8f0b58f-51a8-43fc-9bd5-8de272a6415b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ReceiptPrinterCapabilities;{b8f0b58f-51a8-43fc-9bd5-8de272a6415b})"); } impl ::core::clone::Clone for ReceiptPrinterCapabilities { fn clone(&self) -> Self { @@ -11619,7 +11619,7 @@ unsafe impl ::windows::core::Interface for ReceiptPrinterCapabilities { impl ::windows::core::RuntimeName for ReceiptPrinterCapabilities { const NAME: &'static str = "Windows.Devices.PointOfService.ReceiptPrinterCapabilities"; } -::windows::core::interface_hierarchy!(ReceiptPrinterCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ReceiptPrinterCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICommonPosPrintStationCapabilities { type Error = ::windows::core::Error; fn try_from(value: ReceiptPrinterCapabilities) -> ::windows::core::Result { @@ -11788,7 +11788,7 @@ impl ::core::fmt::Debug for SlipPrintJob { } } impl ::windows::core::RuntimeType for SlipPrintJob { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.SlipPrintJob;{532199be-c8c3-4dc2-89e9-5c4a37b34ddc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.SlipPrintJob;{532199be-c8c3-4dc2-89e9-5c4a37b34ddc})"); } impl ::core::clone::Clone for SlipPrintJob { fn clone(&self) -> Self { @@ -11804,7 +11804,7 @@ unsafe impl ::windows::core::Interface for SlipPrintJob { impl ::windows::core::RuntimeName for SlipPrintJob { const NAME: &'static str = "Windows.Devices.PointOfService.SlipPrintJob"; } -::windows::core::interface_hierarchy!(SlipPrintJob, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SlipPrintJob, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPosPrinterJob { type Error = ::windows::core::Error; fn try_from(value: SlipPrintJob) -> ::windows::core::Result { @@ -12078,7 +12078,7 @@ impl ::core::fmt::Debug for SlipPrinterCapabilities { } } impl ::windows::core::RuntimeType for SlipPrinterCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.SlipPrinterCapabilities;{99b16399-488c-4157-8ac2-9f57f708d3db})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.SlipPrinterCapabilities;{99b16399-488c-4157-8ac2-9f57f708d3db})"); } impl ::core::clone::Clone for SlipPrinterCapabilities { fn clone(&self) -> Self { @@ -12094,7 +12094,7 @@ unsafe impl ::windows::core::Interface for SlipPrinterCapabilities { impl ::windows::core::RuntimeName for SlipPrinterCapabilities { const NAME: &'static str = "Windows.Devices.PointOfService.SlipPrinterCapabilities"; } -::windows::core::interface_hierarchy!(SlipPrinterCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SlipPrinterCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICommonPosPrintStationCapabilities { type Error = ::windows::core::Error; fn try_from(value: SlipPrinterCapabilities) -> ::windows::core::Result { @@ -12175,7 +12175,7 @@ impl UnifiedPosErrorData { } #[doc(hidden)] pub fn IUnifiedPosErrorDataFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -12191,7 +12191,7 @@ impl ::core::fmt::Debug for UnifiedPosErrorData { } } impl ::windows::core::RuntimeType for UnifiedPosErrorData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.UnifiedPosErrorData;{2b998c3a-555c-4889-8ed8-c599bb3a712a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.UnifiedPosErrorData;{2b998c3a-555c-4889-8ed8-c599bb3a712a})"); } impl ::core::clone::Clone for UnifiedPosErrorData { fn clone(&self) -> Self { @@ -12207,7 +12207,7 @@ unsafe impl ::windows::core::Interface for UnifiedPosErrorData { impl ::windows::core::RuntimeName for UnifiedPosErrorData { const NAME: &'static str = "Windows.Devices.PointOfService.UnifiedPosErrorData"; } -::windows::core::interface_hierarchy!(UnifiedPosErrorData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UnifiedPosErrorData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UnifiedPosErrorData {} unsafe impl ::core::marker::Sync for UnifiedPosErrorData {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -12241,7 +12241,7 @@ impl ::core::fmt::Debug for BarcodeScannerStatus { } } impl ::windows::core::RuntimeType for BarcodeScannerStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.BarcodeScannerStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.BarcodeScannerStatus;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12272,7 +12272,7 @@ impl ::core::fmt::Debug for BarcodeSymbologyDecodeLengthKind { } } impl ::windows::core::RuntimeType for BarcodeSymbologyDecodeLengthKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.BarcodeSymbologyDecodeLengthKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.BarcodeSymbologyDecodeLengthKind;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12305,7 +12305,7 @@ impl ::core::fmt::Debug for CashDrawerStatusKind { } } impl ::windows::core::RuntimeType for CashDrawerStatusKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.CashDrawerStatusKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.CashDrawerStatusKind;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12339,7 +12339,7 @@ impl ::core::fmt::Debug for LineDisplayCursorType { } } impl ::windows::core::RuntimeType for LineDisplayCursorType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayCursorType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayCursorType;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12370,7 +12370,7 @@ impl ::core::fmt::Debug for LineDisplayDescriptorState { } } impl ::windows::core::RuntimeType for LineDisplayDescriptorState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayDescriptorState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayDescriptorState;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12401,7 +12401,7 @@ impl ::core::fmt::Debug for LineDisplayHorizontalAlignment { } } impl ::windows::core::RuntimeType for LineDisplayHorizontalAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayHorizontalAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayHorizontalAlignment;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12432,7 +12432,7 @@ impl ::core::fmt::Debug for LineDisplayMarqueeFormat { } } impl ::windows::core::RuntimeType for LineDisplayMarqueeFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayMarqueeFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayMarqueeFormat;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12465,7 +12465,7 @@ impl ::core::fmt::Debug for LineDisplayPowerStatus { } } impl ::windows::core::RuntimeType for LineDisplayPowerStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayPowerStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayPowerStatus;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12497,7 +12497,7 @@ impl ::core::fmt::Debug for LineDisplayScrollDirection { } } impl ::windows::core::RuntimeType for LineDisplayScrollDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayScrollDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayScrollDirection;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12529,7 +12529,7 @@ impl ::core::fmt::Debug for LineDisplayTextAttribute { } } impl ::windows::core::RuntimeType for LineDisplayTextAttribute { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayTextAttribute;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayTextAttribute;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12560,7 +12560,7 @@ impl ::core::fmt::Debug for LineDisplayTextAttributeGranularity { } } impl ::windows::core::RuntimeType for LineDisplayTextAttributeGranularity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayTextAttributeGranularity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayTextAttributeGranularity;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12591,7 +12591,7 @@ impl ::core::fmt::Debug for LineDisplayVerticalAlignment { } } impl ::windows::core::RuntimeType for LineDisplayVerticalAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayVerticalAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.LineDisplayVerticalAlignment;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12622,7 +12622,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderAuthenticationLevel { } } impl ::windows::core::RuntimeType for MagneticStripeReaderAuthenticationLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderAuthenticationLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderAuthenticationLevel;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12652,7 +12652,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderAuthenticationProtocol { } } impl ::windows::core::RuntimeType for MagneticStripeReaderAuthenticationProtocol { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderAuthenticationProtocol;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderAuthenticationProtocol;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12682,7 +12682,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderErrorReportingType { } } impl ::windows::core::RuntimeType for MagneticStripeReaderErrorReportingType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderErrorReportingType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderErrorReportingType;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12713,7 +12713,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderStatus { } } impl ::windows::core::RuntimeType for MagneticStripeReaderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderStatus;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12747,7 +12747,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderTrackErrorType { } } impl ::windows::core::RuntimeType for MagneticStripeReaderTrackErrorType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderTrackErrorType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderTrackErrorType;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12780,7 +12780,7 @@ impl ::core::fmt::Debug for MagneticStripeReaderTrackIds { } } impl ::windows::core::RuntimeType for MagneticStripeReaderTrackIds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderTrackIds;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.MagneticStripeReaderTrackIds;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12845,7 +12845,7 @@ impl ::core::ops::Not for PosConnectionTypes { } } impl ::windows::core::RuntimeType for PosConnectionTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosConnectionTypes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosConnectionTypes;u4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12876,7 +12876,7 @@ impl ::core::fmt::Debug for PosPrinterAlignment { } } impl ::windows::core::RuntimeType for PosPrinterAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterAlignment;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12907,7 +12907,7 @@ impl ::core::fmt::Debug for PosPrinterBarcodeTextPosition { } } impl ::windows::core::RuntimeType for PosPrinterBarcodeTextPosition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterBarcodeTextPosition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterBarcodeTextPosition;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -12973,7 +12973,7 @@ impl ::core::ops::Not for PosPrinterCartridgeSensors { } } impl ::windows::core::RuntimeType for PosPrinterCartridgeSensors { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterCartridgeSensors;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterCartridgeSensors;u4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13046,7 +13046,7 @@ impl ::core::ops::Not for PosPrinterColorCapabilities { } } impl ::windows::core::RuntimeType for PosPrinterColorCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterColorCapabilities;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterColorCapabilities;u4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13085,7 +13085,7 @@ impl ::core::fmt::Debug for PosPrinterColorCartridge { } } impl ::windows::core::RuntimeType for PosPrinterColorCartridge { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterColorCartridge;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterColorCartridge;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13115,7 +13115,7 @@ impl ::core::fmt::Debug for PosPrinterLineDirection { } } impl ::windows::core::RuntimeType for PosPrinterLineDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterLineDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterLineDirection;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13147,7 +13147,7 @@ impl ::core::fmt::Debug for PosPrinterLineStyle { } } impl ::windows::core::RuntimeType for PosPrinterLineStyle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterLineStyle;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterLineStyle;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13179,7 +13179,7 @@ impl ::core::fmt::Debug for PosPrinterMapMode { } } impl ::windows::core::RuntimeType for PosPrinterMapMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterMapMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterMapMode;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13245,7 +13245,7 @@ impl ::core::ops::Not for PosPrinterMarkFeedCapabilities { } } impl ::windows::core::RuntimeType for PosPrinterMarkFeedCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterMarkFeedCapabilities;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterMarkFeedCapabilities;u4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13277,7 +13277,7 @@ impl ::core::fmt::Debug for PosPrinterMarkFeedKind { } } impl ::windows::core::RuntimeType for PosPrinterMarkFeedKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterMarkFeedKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterMarkFeedKind;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13308,7 +13308,7 @@ impl ::core::fmt::Debug for PosPrinterPrintSide { } } impl ::windows::core::RuntimeType for PosPrinterPrintSide { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterPrintSide;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterPrintSide;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13340,7 +13340,7 @@ impl ::core::fmt::Debug for PosPrinterRotation { } } impl ::windows::core::RuntimeType for PosPrinterRotation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterRotation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterRotation;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13404,7 +13404,7 @@ impl ::core::ops::Not for PosPrinterRuledLineCapabilities { } } impl ::windows::core::RuntimeType for PosPrinterRuledLineCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterRuledLineCapabilities;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterRuledLineCapabilities;u4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13437,7 +13437,7 @@ impl ::core::fmt::Debug for PosPrinterStatusKind { } } impl ::windows::core::RuntimeType for PosPrinterStatusKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterStatusKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.PosPrinterStatusKind;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13476,7 +13476,7 @@ impl ::core::fmt::Debug for UnifiedPosErrorReason { } } impl ::windows::core::RuntimeType for UnifiedPosErrorReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.UnifiedPosErrorReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.UnifiedPosErrorReason;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13510,7 +13510,7 @@ impl ::core::fmt::Debug for UnifiedPosErrorSeverity { } } impl ::windows::core::RuntimeType for UnifiedPosErrorSeverity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.UnifiedPosErrorSeverity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.UnifiedPosErrorSeverity;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13542,7 +13542,7 @@ impl ::core::fmt::Debug for UnifiedPosHealthCheckLevel { } } impl ::windows::core::RuntimeType for UnifiedPosHealthCheckLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.UnifiedPosHealthCheckLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.UnifiedPosHealthCheckLevel;i4)"); } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] @@ -13573,7 +13573,7 @@ impl ::core::fmt::Debug for UnifiedPosPowerReportingType { } } impl ::windows::core::RuntimeType for UnifiedPosPowerReportingType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.UnifiedPosPowerReportingType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.PointOfService.UnifiedPosPowerReportingType;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_PointOfService\"`*"] @@ -13596,7 +13596,7 @@ impl ::windows::core::TypeKind for SizeUInt32 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for SizeUInt32 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.PointOfService.SizeUInt32;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.PointOfService.SizeUInt32;u4;u4)"); } impl ::core::cmp::PartialEq for SizeUInt32 { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs index 6fcc68b11f..ff81336987 100644 --- a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs @@ -60,7 +60,7 @@ impl ServiceDevice { } #[doc(hidden)] pub fn IServiceDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -86,7 +86,7 @@ impl StorageDevice { } #[doc(hidden)] pub fn IStorageDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -126,7 +126,7 @@ impl ::core::fmt::Debug for ServiceDeviceType { } } impl ::windows::core::RuntimeType for ServiceDeviceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Portable.ServiceDeviceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Portable.ServiceDeviceType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Devices/Power/mod.rs index d071a68f88..ff81574588 100644 --- a/crates/libs/windows/src/Windows/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Power/mod.rs @@ -146,7 +146,7 @@ impl Battery { } #[doc(hidden)] pub fn IBatteryStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -162,7 +162,7 @@ impl ::core::fmt::Debug for Battery { } } impl ::windows::core::RuntimeType for Battery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Power.Battery;{bc894fc6-0072-47c8-8b5d-614aaa7a437e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Power.Battery;{bc894fc6-0072-47c8-8b5d-614aaa7a437e})"); } impl ::core::clone::Clone for Battery { fn clone(&self) -> Self { @@ -178,7 +178,7 @@ unsafe impl ::windows::core::Interface for Battery { impl ::windows::core::RuntimeName for Battery { const NAME: &'static str = "Windows.Devices.Power.Battery"; } -::windows::core::interface_hierarchy!(Battery, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Battery, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Battery {} unsafe impl ::core::marker::Sync for Battery {} #[doc = "*Required features: `\"Devices_Power\"`*"] @@ -243,7 +243,7 @@ impl ::core::fmt::Debug for BatteryReport { } } impl ::windows::core::RuntimeType for BatteryReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Power.BatteryReport;{c9858c3a-4e13-420a-a8d0-24f18f395401})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Power.BatteryReport;{c9858c3a-4e13-420a-a8d0-24f18f395401})"); } impl ::core::clone::Clone for BatteryReport { fn clone(&self) -> Self { @@ -259,7 +259,7 @@ unsafe impl ::windows::core::Interface for BatteryReport { impl ::windows::core::RuntimeName for BatteryReport { const NAME: &'static str = "Windows.Devices.Power.BatteryReport"; } -::windows::core::interface_hierarchy!(BatteryReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BatteryReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BatteryReport {} unsafe impl ::core::marker::Sync for BatteryReport {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs index ff538a4d23..5cbc7b2384 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs @@ -307,7 +307,7 @@ impl ::core::fmt::Debug for Print3DWorkflow { } } impl ::windows::core::RuntimeType for Print3DWorkflow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflow;{c56f74bd-3669-4a66-ab42-c8151930cd34})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflow;{c56f74bd-3669-4a66-ab42-c8151930cd34})"); } impl ::core::clone::Clone for Print3DWorkflow { fn clone(&self) -> Self { @@ -323,7 +323,7 @@ unsafe impl ::windows::core::Interface for Print3DWorkflow { impl ::windows::core::RuntimeName for Print3DWorkflow { const NAME: &'static str = "Windows.Devices.Printers.Extensions.Print3DWorkflow"; } -::windows::core::interface_hierarchy!(Print3DWorkflow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DWorkflow, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DWorkflow {} unsafe impl ::core::marker::Sync for Print3DWorkflow {} #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] @@ -365,7 +365,7 @@ impl ::core::fmt::Debug for Print3DWorkflowPrintRequestedEventArgs { } } impl ::windows::core::RuntimeType for Print3DWorkflowPrintRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflowPrintRequestedEventArgs;{19f8c858-5ac8-4b55-8a5f-e61567dafb4d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflowPrintRequestedEventArgs;{19f8c858-5ac8-4b55-8a5f-e61567dafb4d})"); } impl ::core::clone::Clone for Print3DWorkflowPrintRequestedEventArgs { fn clone(&self) -> Self { @@ -381,7 +381,7 @@ unsafe impl ::windows::core::Interface for Print3DWorkflowPrintRequestedEventArg impl ::windows::core::RuntimeName for Print3DWorkflowPrintRequestedEventArgs { const NAME: &'static str = "Windows.Devices.Printers.Extensions.Print3DWorkflowPrintRequestedEventArgs"; } -::windows::core::interface_hierarchy!(Print3DWorkflowPrintRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DWorkflowPrintRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DWorkflowPrintRequestedEventArgs {} unsafe impl ::core::marker::Sync for Print3DWorkflowPrintRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] @@ -408,7 +408,7 @@ impl ::core::fmt::Debug for Print3DWorkflowPrinterChangedEventArgs { } } impl ::windows::core::RuntimeType for Print3DWorkflowPrinterChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflowPrinterChangedEventArgs;{45226402-95fc-4847-93b3-134dbf5c60f7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflowPrinterChangedEventArgs;{45226402-95fc-4847-93b3-134dbf5c60f7})"); } impl ::core::clone::Clone for Print3DWorkflowPrinterChangedEventArgs { fn clone(&self) -> Self { @@ -424,7 +424,7 @@ unsafe impl ::windows::core::Interface for Print3DWorkflowPrinterChangedEventArg impl ::windows::core::RuntimeName for Print3DWorkflowPrinterChangedEventArgs { const NAME: &'static str = "Windows.Devices.Printers.Extensions.Print3DWorkflowPrinterChangedEventArgs"; } -::windows::core::interface_hierarchy!(Print3DWorkflowPrinterChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DWorkflowPrinterChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DWorkflowPrinterChangedEventArgs {} unsafe impl ::core::marker::Sync for Print3DWorkflowPrinterChangedEventArgs {} #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] @@ -438,7 +438,7 @@ impl PrintExtensionContext { } #[doc(hidden)] pub fn IPrintExtensionContextStatic ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -480,7 +480,7 @@ impl ::core::fmt::Debug for PrintNotificationEventDetails { } } impl ::windows::core::RuntimeType for PrintNotificationEventDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintNotificationEventDetails;{e00e4c8a-4828-4da1-8bb8-8672df8515e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintNotificationEventDetails;{e00e4c8a-4828-4da1-8bb8-8672df8515e7})"); } impl ::core::clone::Clone for PrintNotificationEventDetails { fn clone(&self) -> Self { @@ -496,7 +496,7 @@ unsafe impl ::windows::core::Interface for PrintNotificationEventDetails { impl ::windows::core::RuntimeName for PrintNotificationEventDetails { const NAME: &'static str = "Windows.Devices.Printers.Extensions.PrintNotificationEventDetails"; } -::windows::core::interface_hierarchy!(PrintNotificationEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintNotificationEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintNotificationEventDetails {} unsafe impl ::core::marker::Sync for PrintNotificationEventDetails {} #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] @@ -538,7 +538,7 @@ impl ::core::fmt::Debug for PrintTaskConfiguration { } } impl ::windows::core::RuntimeType for PrintTaskConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfiguration;{e3c22451-3aa4-4885-9240-311f5f8fbe9d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfiguration;{e3c22451-3aa4-4885-9240-311f5f8fbe9d})"); } impl ::core::clone::Clone for PrintTaskConfiguration { fn clone(&self) -> Self { @@ -554,7 +554,7 @@ unsafe impl ::windows::core::Interface for PrintTaskConfiguration { impl ::windows::core::RuntimeName for PrintTaskConfiguration { const NAME: &'static str = "Windows.Devices.Printers.Extensions.PrintTaskConfiguration"; } -::windows::core::interface_hierarchy!(PrintTaskConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] pub struct PrintTaskConfigurationSaveRequest(::windows::core::IUnknown); @@ -599,7 +599,7 @@ impl ::core::fmt::Debug for PrintTaskConfigurationSaveRequest { } } impl ::windows::core::RuntimeType for PrintTaskConfigurationSaveRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequest;{eeaf2fcb-621e-4b62-ac77-b281cce08d60})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequest;{eeaf2fcb-621e-4b62-ac77-b281cce08d60})"); } impl ::core::clone::Clone for PrintTaskConfigurationSaveRequest { fn clone(&self) -> Self { @@ -615,7 +615,7 @@ unsafe impl ::windows::core::Interface for PrintTaskConfigurationSaveRequest { impl ::windows::core::RuntimeName for PrintTaskConfigurationSaveRequest { const NAME: &'static str = "Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequest"; } -::windows::core::interface_hierarchy!(PrintTaskConfigurationSaveRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskConfigurationSaveRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] pub struct PrintTaskConfigurationSaveRequestedDeferral(::windows::core::IUnknown); @@ -637,7 +637,7 @@ impl ::core::fmt::Debug for PrintTaskConfigurationSaveRequestedDeferral { } } impl ::windows::core::RuntimeType for PrintTaskConfigurationSaveRequestedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedDeferral;{e959d568-f729-44a4-871d-bd0628696a33})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedDeferral;{e959d568-f729-44a4-871d-bd0628696a33})"); } impl ::core::clone::Clone for PrintTaskConfigurationSaveRequestedDeferral { fn clone(&self) -> Self { @@ -653,7 +653,7 @@ unsafe impl ::windows::core::Interface for PrintTaskConfigurationSaveRequestedDe impl ::windows::core::RuntimeName for PrintTaskConfigurationSaveRequestedDeferral { const NAME: &'static str = "Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedDeferral"; } -::windows::core::interface_hierarchy!(PrintTaskConfigurationSaveRequestedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskConfigurationSaveRequestedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] pub struct PrintTaskConfigurationSaveRequestedEventArgs(::windows::core::IUnknown); @@ -678,7 +678,7 @@ impl ::core::fmt::Debug for PrintTaskConfigurationSaveRequestedEventArgs { } } impl ::windows::core::RuntimeType for PrintTaskConfigurationSaveRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedEventArgs;{e06c2879-0d61-4938-91d0-96a45bee8479})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedEventArgs;{e06c2879-0d61-4938-91d0-96a45bee8479})"); } impl ::core::clone::Clone for PrintTaskConfigurationSaveRequestedEventArgs { fn clone(&self) -> Self { @@ -694,7 +694,7 @@ unsafe impl ::windows::core::Interface for PrintTaskConfigurationSaveRequestedEv impl ::windows::core::RuntimeName for PrintTaskConfigurationSaveRequestedEventArgs { const NAME: &'static str = "Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PrintTaskConfigurationSaveRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskConfigurationSaveRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -728,7 +728,7 @@ impl ::core::fmt::Debug for Print3DWorkflowDetail { } } impl ::windows::core::RuntimeType for Print3DWorkflowDetail { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.Extensions.Print3DWorkflowDetail;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.Extensions.Print3DWorkflowDetail;i4)"); } #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] @@ -761,7 +761,7 @@ impl ::core::fmt::Debug for Print3DWorkflowStatus { } } impl ::windows::core::RuntimeType for Print3DWorkflowStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.Extensions.Print3DWorkflowStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.Extensions.Print3DWorkflowStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs index 2268322e2a..35efb868ae 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs @@ -669,7 +669,7 @@ impl ::core::fmt::Debug for IppAttributeError { } } impl ::windows::core::RuntimeType for IppAttributeError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppAttributeError;{750feda1-9eef-5c39-93e4-46149bbcef27})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppAttributeError;{750feda1-9eef-5c39-93e4-46149bbcef27})"); } impl ::core::clone::Clone for IppAttributeError { fn clone(&self) -> Self { @@ -685,7 +685,7 @@ unsafe impl ::windows::core::Interface for IppAttributeError { impl ::windows::core::RuntimeName for IppAttributeError { const NAME: &'static str = "Windows.Devices.Printers.IppAttributeError"; } -::windows::core::interface_hierarchy!(IppAttributeError, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IppAttributeError, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IppAttributeError {} unsafe impl ::core::marker::Sync for IppAttributeError {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1221,7 +1221,7 @@ impl IppAttributeValue { } #[doc(hidden)] pub fn IIppAttributeValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1237,7 +1237,7 @@ impl ::core::fmt::Debug for IppAttributeValue { } } impl ::windows::core::RuntimeType for IppAttributeValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppAttributeValue;{99407fed-e2bb-59a3-988b-28a974052a26})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppAttributeValue;{99407fed-e2bb-59a3-988b-28a974052a26})"); } impl ::core::clone::Clone for IppAttributeValue { fn clone(&self) -> Self { @@ -1253,7 +1253,7 @@ unsafe impl ::windows::core::Interface for IppAttributeValue { impl ::windows::core::RuntimeName for IppAttributeValue { const NAME: &'static str = "Windows.Devices.Printers.IppAttributeValue"; } -::windows::core::interface_hierarchy!(IppAttributeValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IppAttributeValue, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IppAttributeValue {} unsafe impl ::core::marker::Sync for IppAttributeValue {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1282,7 +1282,7 @@ impl IppIntegerRange { } #[doc(hidden)] pub fn IIppIntegerRangeFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1298,7 +1298,7 @@ impl ::core::fmt::Debug for IppIntegerRange { } } impl ::windows::core::RuntimeType for IppIntegerRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppIntegerRange;{92907346-c3ea-5ed6-bdb1-3752c62c6f7f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppIntegerRange;{92907346-c3ea-5ed6-bdb1-3752c62c6f7f})"); } impl ::core::clone::Clone for IppIntegerRange { fn clone(&self) -> Self { @@ -1314,7 +1314,7 @@ unsafe impl ::windows::core::Interface for IppIntegerRange { impl ::windows::core::RuntimeName for IppIntegerRange { const NAME: &'static str = "Windows.Devices.Printers.IppIntegerRange"; } -::windows::core::interface_hierarchy!(IppIntegerRange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IppIntegerRange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IppIntegerRange {} unsafe impl ::core::marker::Sync for IppIntegerRange {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1443,7 +1443,7 @@ impl IppPrintDevice { } #[doc(hidden)] pub fn IIppPrintDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1459,7 +1459,7 @@ impl ::core::fmt::Debug for IppPrintDevice { } } impl ::windows::core::RuntimeType for IppPrintDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppPrintDevice;{d748ac56-76f3-5dc6-afd4-c2a8686b9359})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppPrintDevice;{d748ac56-76f3-5dc6-afd4-c2a8686b9359})"); } impl ::core::clone::Clone for IppPrintDevice { fn clone(&self) -> Self { @@ -1475,7 +1475,7 @@ unsafe impl ::windows::core::Interface for IppPrintDevice { impl ::windows::core::RuntimeName for IppPrintDevice { const NAME: &'static str = "Windows.Devices.Printers.IppPrintDevice"; } -::windows::core::interface_hierarchy!(IppPrintDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IppPrintDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IppPrintDevice {} unsafe impl ::core::marker::Sync for IppPrintDevice {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1511,7 +1511,7 @@ impl IppResolution { } #[doc(hidden)] pub fn IIppResolutionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1527,7 +1527,7 @@ impl ::core::fmt::Debug for IppResolution { } } impl ::windows::core::RuntimeType for IppResolution { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppResolution;{cb493f86-6bf3-56f5-86ce-263d08aead63})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppResolution;{cb493f86-6bf3-56f5-86ce-263d08aead63})"); } impl ::core::clone::Clone for IppResolution { fn clone(&self) -> Self { @@ -1543,7 +1543,7 @@ unsafe impl ::windows::core::Interface for IppResolution { impl ::windows::core::RuntimeName for IppResolution { const NAME: &'static str = "Windows.Devices.Printers.IppResolution"; } -::windows::core::interface_hierarchy!(IppResolution, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IppResolution, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IppResolution {} unsafe impl ::core::marker::Sync for IppResolution {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1579,7 +1579,7 @@ impl ::core::fmt::Debug for IppSetAttributesResult { } } impl ::windows::core::RuntimeType for IppSetAttributesResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppSetAttributesResult;{7d1c7f55-aa9d-58a3-90e9-17bdc5281f07})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppSetAttributesResult;{7d1c7f55-aa9d-58a3-90e9-17bdc5281f07})"); } impl ::core::clone::Clone for IppSetAttributesResult { fn clone(&self) -> Self { @@ -1595,7 +1595,7 @@ unsafe impl ::windows::core::Interface for IppSetAttributesResult { impl ::windows::core::RuntimeName for IppSetAttributesResult { const NAME: &'static str = "Windows.Devices.Printers.IppSetAttributesResult"; } -::windows::core::interface_hierarchy!(IppSetAttributesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IppSetAttributesResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IppSetAttributesResult {} unsafe impl ::core::marker::Sync for IppSetAttributesResult {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1624,7 +1624,7 @@ impl IppTextWithLanguage { } #[doc(hidden)] pub fn IIppTextWithLanguageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1640,7 +1640,7 @@ impl ::core::fmt::Debug for IppTextWithLanguage { } } impl ::windows::core::RuntimeType for IppTextWithLanguage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppTextWithLanguage;{326447a6-5149-5936-90e8-0c736036bf77})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppTextWithLanguage;{326447a6-5149-5936-90e8-0c736036bf77})"); } impl ::core::clone::Clone for IppTextWithLanguage { fn clone(&self) -> Self { @@ -1656,7 +1656,7 @@ unsafe impl ::windows::core::Interface for IppTextWithLanguage { impl ::windows::core::RuntimeName for IppTextWithLanguage { const NAME: &'static str = "Windows.Devices.Printers.IppTextWithLanguage"; } -::windows::core::interface_hierarchy!(IppTextWithLanguage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IppTextWithLanguage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IppTextWithLanguage {} unsafe impl ::core::marker::Sync for IppTextWithLanguage {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1666,8 +1666,8 @@ impl PageConfigurationSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn OrientationSource(&self) -> ::windows::core::Result { @@ -1705,7 +1705,7 @@ impl ::core::fmt::Debug for PageConfigurationSettings { } } impl ::windows::core::RuntimeType for PageConfigurationSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PageConfigurationSettings;{b6fc1e02-5331-54ff-95a0-1fcb76bb97a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PageConfigurationSettings;{b6fc1e02-5331-54ff-95a0-1fcb76bb97a9})"); } impl ::core::clone::Clone for PageConfigurationSettings { fn clone(&self) -> Self { @@ -1721,7 +1721,7 @@ unsafe impl ::windows::core::Interface for PageConfigurationSettings { impl ::windows::core::RuntimeName for PageConfigurationSettings { const NAME: &'static str = "Windows.Devices.Printers.PageConfigurationSettings"; } -::windows::core::interface_hierarchy!(PageConfigurationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PageConfigurationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PageConfigurationSettings {} unsafe impl ::core::marker::Sync for PageConfigurationSettings {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1772,7 +1772,7 @@ impl ::core::fmt::Debug for PdlPassthroughProvider { } } impl ::windows::core::RuntimeType for PdlPassthroughProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PdlPassthroughProvider;{23c71dd2-6117-553f-9378-180af5849a49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PdlPassthroughProvider;{23c71dd2-6117-553f-9378-180af5849a49})"); } impl ::core::clone::Clone for PdlPassthroughProvider { fn clone(&self) -> Self { @@ -1788,7 +1788,7 @@ unsafe impl ::windows::core::Interface for PdlPassthroughProvider { impl ::windows::core::RuntimeName for PdlPassthroughProvider { const NAME: &'static str = "Windows.Devices.Printers.PdlPassthroughProvider"; } -::windows::core::interface_hierarchy!(PdlPassthroughProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PdlPassthroughProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PdlPassthroughProvider {} unsafe impl ::core::marker::Sync for PdlPassthroughProvider {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1834,7 +1834,7 @@ impl ::core::fmt::Debug for PdlPassthroughTarget { } } impl ::windows::core::RuntimeType for PdlPassthroughTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PdlPassthroughTarget;{9840be79-67f8-5385-a5b9-e8c96e0fca76})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PdlPassthroughTarget;{9840be79-67f8-5385-a5b9-e8c96e0fca76})"); } impl ::core::clone::Clone for PdlPassthroughTarget { fn clone(&self) -> Self { @@ -1850,7 +1850,7 @@ unsafe impl ::windows::core::Interface for PdlPassthroughTarget { impl ::windows::core::RuntimeName for PdlPassthroughTarget { const NAME: &'static str = "Windows.Devices.Printers.PdlPassthroughTarget"; } -::windows::core::interface_hierarchy!(PdlPassthroughTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PdlPassthroughTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1902,7 +1902,7 @@ impl Print3DDevice { } #[doc(hidden)] pub fn IPrint3DDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1918,7 +1918,7 @@ impl ::core::fmt::Debug for Print3DDevice { } } impl ::windows::core::RuntimeType for Print3DDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Print3DDevice;{041c3d19-9713-42a2-9813-7dc3337428d3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Print3DDevice;{041c3d19-9713-42a2-9813-7dc3337428d3})"); } impl ::core::clone::Clone for Print3DDevice { fn clone(&self) -> Self { @@ -1934,7 +1934,7 @@ unsafe impl ::windows::core::Interface for Print3DDevice { impl ::windows::core::RuntimeName for Print3DDevice { const NAME: &'static str = "Windows.Devices.Printers.Print3DDevice"; } -::windows::core::interface_hierarchy!(Print3DDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DDevice {} unsafe impl ::core::marker::Sync for Print3DDevice {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -1989,7 +1989,7 @@ impl ::core::fmt::Debug for PrintSchema { } } impl ::windows::core::RuntimeType for PrintSchema { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PrintSchema;{c2b98316-26b8-4bfb-8138-9f962c22a35b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PrintSchema;{c2b98316-26b8-4bfb-8138-9f962c22a35b})"); } impl ::core::clone::Clone for PrintSchema { fn clone(&self) -> Self { @@ -2005,7 +2005,7 @@ unsafe impl ::windows::core::Interface for PrintSchema { impl ::windows::core::RuntimeName for PrintSchema { const NAME: &'static str = "Windows.Devices.Printers.PrintSchema"; } -::windows::core::interface_hierarchy!(PrintSchema, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSchema, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSchema {} unsafe impl ::core::marker::Sync for PrintSchema {} #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -2039,7 +2039,7 @@ impl ::core::fmt::Debug for IppAttributeErrorReason { } } impl ::windows::core::RuntimeType for IppAttributeErrorReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.IppAttributeErrorReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.IppAttributeErrorReason;i4)"); } #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] @@ -2088,7 +2088,7 @@ impl ::core::fmt::Debug for IppAttributeValueKind { } } impl ::windows::core::RuntimeType for IppAttributeValueKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.IppAttributeValueKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.IppAttributeValueKind;i4)"); } #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] @@ -2118,7 +2118,7 @@ impl ::core::fmt::Debug for IppResolutionUnit { } } impl ::windows::core::RuntimeType for IppResolutionUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.IppResolutionUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.IppResolutionUnit;i4)"); } #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] @@ -2148,7 +2148,7 @@ impl ::core::fmt::Debug for PageConfigurationSource { } } impl ::windows::core::RuntimeType for PageConfigurationSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.PageConfigurationSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Printers.PageConfigurationSource;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs index dc094ba5d1..d381e847d8 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs @@ -58,7 +58,7 @@ impl IPwmControllerProvider { unsafe { (::windows::core::Vtable::vtable(this).SetPulseParameters)(::windows::core::Vtable::as_raw(this), pin, dutycycle, invertpolarity).ok() } } } -::windows::core::interface_hierarchy!(IPwmControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPwmControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPwmControllerProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -71,7 +71,7 @@ impl ::core::fmt::Debug for IPwmControllerProvider { } } impl ::windows::core::RuntimeType for IPwmControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1300593b-e2e3-40a4-b7d9-48dff0377a52}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1300593b-e2e3-40a4-b7d9-48dff0377a52}"); } unsafe impl ::windows::core::Vtable for IPwmControllerProvider { type Vtable = IPwmControllerProvider_Vtbl; @@ -113,7 +113,7 @@ impl IPwmProvider { } } } -::windows::core::interface_hierarchy!(IPwmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPwmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPwmProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -126,7 +126,7 @@ impl ::core::fmt::Debug for IPwmProvider { } } impl ::windows::core::RuntimeType for IPwmProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a3301228-52f1-47b0-9349-66ba43d25902}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a3301228-52f1-47b0-9349-66ba43d25902}"); } unsafe impl ::windows::core::Vtable for IPwmProvider { type Vtable = IPwmProvider_Vtbl; diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs index 3d1854443b..138aaf5286 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs @@ -211,17 +211,17 @@ impl PwmController { } #[doc(hidden)] pub fn IPwmControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPwmControllerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPwmControllerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -237,7 +237,7 @@ impl ::core::fmt::Debug for PwmController { } } impl ::windows::core::RuntimeType for PwmController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Pwm.PwmController;{c45f5c85-d2e8-42cf-9bd6-cf5ed029e6a7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Pwm.PwmController;{c45f5c85-d2e8-42cf-9bd6-cf5ed029e6a7})"); } impl ::core::clone::Clone for PwmController { fn clone(&self) -> Self { @@ -253,7 +253,7 @@ unsafe impl ::windows::core::Interface for PwmController { impl ::windows::core::RuntimeName for PwmController { const NAME: &'static str = "Windows.Devices.Pwm.PwmController"; } -::windows::core::interface_hierarchy!(PwmController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PwmController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PwmController {} unsafe impl ::core::marker::Sync for PwmController {} #[doc = "*Required features: `\"Devices_Pwm\"`*"] @@ -323,7 +323,7 @@ impl ::core::fmt::Debug for PwmPin { } } impl ::windows::core::RuntimeType for PwmPin { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Pwm.PwmPin;{22972dc8-c6cf-4821-b7f9-c6454fb6af79})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Pwm.PwmPin;{22972dc8-c6cf-4821-b7f9-c6454fb6af79})"); } impl ::core::clone::Clone for PwmPin { fn clone(&self) -> Self { @@ -339,7 +339,7 @@ unsafe impl ::windows::core::Interface for PwmPin { impl ::windows::core::RuntimeName for PwmPin { const NAME: &'static str = "Windows.Devices.Pwm.PwmPin"; } -::windows::core::interface_hierarchy!(PwmPin, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PwmPin, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -392,7 +392,7 @@ impl ::core::fmt::Debug for PwmPulsePolarity { } } impl ::windows::core::RuntimeType for PwmPulsePolarity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Pwm.PwmPulsePolarity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Pwm.PwmPulsePolarity;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs index a31f7d84cf..f9fb7c603e 100644 --- a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs @@ -145,7 +145,7 @@ impl Radio { } #[doc(hidden)] pub fn IRadioStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -161,7 +161,7 @@ impl ::core::fmt::Debug for Radio { } } impl ::windows::core::RuntimeType for Radio { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Radios.Radio;{252118df-b33e-416a-875f-1cf38ae2d83e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Radios.Radio;{252118df-b33e-416a-875f-1cf38ae2d83e})"); } impl ::core::clone::Clone for Radio { fn clone(&self) -> Self { @@ -177,7 +177,7 @@ unsafe impl ::windows::core::Interface for Radio { impl ::windows::core::RuntimeName for Radio { const NAME: &'static str = "Windows.Devices.Radios.Radio"; } -::windows::core::interface_hierarchy!(Radio, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Radio, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Radio {} unsafe impl ::core::marker::Sync for Radio {} #[doc = "*Required features: `\"Devices_Radios\"`*"] @@ -210,7 +210,7 @@ impl ::core::fmt::Debug for RadioAccessStatus { } } impl ::windows::core::RuntimeType for RadioAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Radios.RadioAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Radios.RadioAccessStatus;i4)"); } #[doc = "*Required features: `\"Devices_Radios\"`*"] #[repr(transparent)] @@ -243,7 +243,7 @@ impl ::core::fmt::Debug for RadioKind { } } impl ::windows::core::RuntimeType for RadioKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Radios.RadioKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Radios.RadioKind;i4)"); } #[doc = "*Required features: `\"Devices_Radios\"`*"] #[repr(transparent)] @@ -275,7 +275,7 @@ impl ::core::fmt::Debug for RadioState { } } impl ::windows::core::RuntimeType for RadioState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Radios.RadioState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Radios.RadioState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs index f281e8cc51..f52d6e9c41 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs @@ -116,7 +116,7 @@ impl IImageScannerFormatConfiguration { } } } -::windows::core::interface_hierarchy!(IImageScannerFormatConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IImageScannerFormatConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IImageScannerFormatConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -129,7 +129,7 @@ impl ::core::fmt::Debug for IImageScannerFormatConfiguration { } } impl ::windows::core::RuntimeType for IImageScannerFormatConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ae275d11-dadf-4010-bf10-cca5c83dcbb0}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ae275d11-dadf-4010-bf10-cca5c83dcbb0}"); } unsafe impl ::windows::core::Vtable for IImageScannerFormatConfiguration { type Vtable = IImageScannerFormatConfiguration_Vtbl; @@ -418,7 +418,7 @@ impl IImageScannerSourceConfiguration { } } } -::windows::core::interface_hierarchy!(IImageScannerSourceConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IImageScannerSourceConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IImageScannerFormatConfiguration { type Error = ::windows::core::Error; fn try_from(value: IImageScannerSourceConfiguration) -> ::windows::core::Result { @@ -450,7 +450,7 @@ impl ::core::fmt::Debug for IImageScannerSourceConfiguration { } } impl ::windows::core::RuntimeType for IImageScannerSourceConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{bfb50055-0b44-4c82-9e89-205f9c234e59}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{bfb50055-0b44-4c82-9e89-205f9c234e59}"); } unsafe impl ::windows::core::Vtable for IImageScannerSourceConfiguration { type Vtable = IImageScannerSourceConfiguration_Vtbl; @@ -624,7 +624,7 @@ impl ImageScanner { } #[doc(hidden)] pub fn IImageScannerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -640,7 +640,7 @@ impl ::core::fmt::Debug for ImageScanner { } } impl ::windows::core::RuntimeType for ImageScanner { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScanner;{53a88f78-5298-48a0-8da3-8087519665e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScanner;{53a88f78-5298-48a0-8da3-8087519665e0})"); } impl ::core::clone::Clone for ImageScanner { fn clone(&self) -> Self { @@ -656,7 +656,7 @@ unsafe impl ::windows::core::Interface for ImageScanner { impl ::windows::core::RuntimeName for ImageScanner { const NAME: &'static str = "Windows.Devices.Scanners.ImageScanner"; } -::windows::core::interface_hierarchy!(ImageScanner, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageScanner, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ImageScanner {} unsafe impl ::core::marker::Sync for ImageScanner {} #[doc = "*Required features: `\"Devices_Scanners\"`*"] @@ -701,7 +701,7 @@ impl ::core::fmt::Debug for ImageScannerAutoConfiguration { } } impl ::windows::core::RuntimeType for ImageScannerAutoConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerAutoConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerAutoConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); } impl ::core::clone::Clone for ImageScannerAutoConfiguration { fn clone(&self) -> Self { @@ -717,7 +717,7 @@ unsafe impl ::windows::core::Interface for ImageScannerAutoConfiguration { impl ::windows::core::RuntimeName for ImageScannerAutoConfiguration { const NAME: &'static str = "Windows.Devices.Scanners.ImageScannerAutoConfiguration"; } -::windows::core::interface_hierarchy!(ImageScannerAutoConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageScannerAutoConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IImageScannerFormatConfiguration { type Error = ::windows::core::Error; fn try_from(value: ImageScannerAutoConfiguration) -> ::windows::core::Result { @@ -1087,7 +1087,7 @@ impl ::core::fmt::Debug for ImageScannerFeederConfiguration { } } impl ::windows::core::RuntimeType for ImageScannerFeederConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerFeederConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerFeederConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); } impl ::core::clone::Clone for ImageScannerFeederConfiguration { fn clone(&self) -> Self { @@ -1103,7 +1103,7 @@ unsafe impl ::windows::core::Interface for ImageScannerFeederConfiguration { impl ::windows::core::RuntimeName for ImageScannerFeederConfiguration { const NAME: &'static str = "Windows.Devices.Scanners.ImageScannerFeederConfiguration"; } -::windows::core::interface_hierarchy!(ImageScannerFeederConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageScannerFeederConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IImageScannerFormatConfiguration { type Error = ::windows::core::Error; fn try_from(value: ImageScannerFeederConfiguration) -> ::windows::core::Result { @@ -1379,7 +1379,7 @@ impl ::core::fmt::Debug for ImageScannerFlatbedConfiguration { } } impl ::windows::core::RuntimeType for ImageScannerFlatbedConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerFlatbedConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerFlatbedConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); } impl ::core::clone::Clone for ImageScannerFlatbedConfiguration { fn clone(&self) -> Self { @@ -1395,7 +1395,7 @@ unsafe impl ::windows::core::Interface for ImageScannerFlatbedConfiguration { impl ::windows::core::RuntimeName for ImageScannerFlatbedConfiguration { const NAME: &'static str = "Windows.Devices.Scanners.ImageScannerFlatbedConfiguration"; } -::windows::core::interface_hierarchy!(ImageScannerFlatbedConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageScannerFlatbedConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IImageScannerFormatConfiguration { type Error = ::windows::core::Error; fn try_from(value: ImageScannerFlatbedConfiguration) -> ::windows::core::Result { @@ -1467,7 +1467,7 @@ impl ::core::fmt::Debug for ImageScannerPreviewResult { } } impl ::windows::core::RuntimeType for ImageScannerPreviewResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerPreviewResult;{08b7fe8e-8891-441d-be9c-176fa109c8bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerPreviewResult;{08b7fe8e-8891-441d-be9c-176fa109c8bb})"); } impl ::core::clone::Clone for ImageScannerPreviewResult { fn clone(&self) -> Self { @@ -1483,7 +1483,7 @@ unsafe impl ::windows::core::Interface for ImageScannerPreviewResult { impl ::windows::core::RuntimeName for ImageScannerPreviewResult { const NAME: &'static str = "Windows.Devices.Scanners.ImageScannerPreviewResult"; } -::windows::core::interface_hierarchy!(ImageScannerPreviewResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageScannerPreviewResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ImageScannerPreviewResult {} unsafe impl ::core::marker::Sync for ImageScannerPreviewResult {} #[doc = "*Required features: `\"Devices_Scanners\"`*"] @@ -1512,7 +1512,7 @@ impl ::core::fmt::Debug for ImageScannerScanResult { } } impl ::windows::core::RuntimeType for ImageScannerScanResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerScanResult;{c91624cd-9037-4e48-84c1-ac0975076bc5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerScanResult;{c91624cd-9037-4e48-84c1-ac0975076bc5})"); } impl ::core::clone::Clone for ImageScannerScanResult { fn clone(&self) -> Self { @@ -1528,7 +1528,7 @@ unsafe impl ::windows::core::Interface for ImageScannerScanResult { impl ::windows::core::RuntimeName for ImageScannerScanResult { const NAME: &'static str = "Windows.Devices.Scanners.ImageScannerScanResult"; } -::windows::core::interface_hierarchy!(ImageScannerScanResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageScannerScanResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ImageScannerScanResult {} unsafe impl ::core::marker::Sync for ImageScannerScanResult {} #[doc = "*Required features: `\"Devices_Scanners\"`*"] @@ -1560,7 +1560,7 @@ impl ::core::fmt::Debug for ImageScannerAutoCroppingMode { } } impl ::windows::core::RuntimeType for ImageScannerAutoCroppingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Scanners.ImageScannerAutoCroppingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Scanners.ImageScannerAutoCroppingMode;i4)"); } #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] @@ -1592,7 +1592,7 @@ impl ::core::fmt::Debug for ImageScannerColorMode { } } impl ::windows::core::RuntimeType for ImageScannerColorMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Scanners.ImageScannerColorMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Scanners.ImageScannerColorMode;i4)"); } #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] @@ -1627,7 +1627,7 @@ impl ::core::fmt::Debug for ImageScannerFormat { } } impl ::windows::core::RuntimeType for ImageScannerFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Scanners.ImageScannerFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Scanners.ImageScannerFormat;i4)"); } #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] @@ -1659,7 +1659,7 @@ impl ::core::fmt::Debug for ImageScannerScanSource { } } impl ::windows::core::RuntimeType for ImageScannerScanSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Scanners.ImageScannerScanSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Scanners.ImageScannerScanSource;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_Scanners\"`*"] @@ -1682,7 +1682,7 @@ impl ::windows::core::TypeKind for ImageScannerResolution { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for ImageScannerResolution { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.Scanners.ImageScannerResolution;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.Scanners.ImageScannerResolution;f4;f4)"); } impl ::core::cmp::PartialEq for ImageScannerResolution { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs index 5f02eb1e09..014fb2ab59 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs @@ -231,7 +231,7 @@ impl CustomSensor { } #[doc(hidden)] pub fn ICustomSensorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -247,7 +247,7 @@ impl ::core::fmt::Debug for CustomSensor { } } impl ::windows::core::RuntimeType for CustomSensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensor;{a136f9ad-4034-4b4d-99dd-531aac649c09})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensor;{a136f9ad-4034-4b4d-99dd-531aac649c09})"); } impl ::core::clone::Clone for CustomSensor { fn clone(&self) -> Self { @@ -263,7 +263,7 @@ unsafe impl ::windows::core::Interface for CustomSensor { impl ::windows::core::RuntimeName for CustomSensor { const NAME: &'static str = "Windows.Devices.Sensors.Custom.CustomSensor"; } -::windows::core::interface_hierarchy!(CustomSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CustomSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CustomSensor {} unsafe impl ::core::marker::Sync for CustomSensor {} #[doc = "*Required features: `\"Devices_Sensors_Custom\"`*"] @@ -310,7 +310,7 @@ impl ::core::fmt::Debug for CustomSensorReading { } } impl ::windows::core::RuntimeType for CustomSensorReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensorReading;{64004f4d-446a-4366-a87a-5f963268ec53})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensorReading;{64004f4d-446a-4366-a87a-5f963268ec53})"); } impl ::core::clone::Clone for CustomSensorReading { fn clone(&self) -> Self { @@ -326,7 +326,7 @@ unsafe impl ::windows::core::Interface for CustomSensorReading { impl ::windows::core::RuntimeName for CustomSensorReading { const NAME: &'static str = "Windows.Devices.Sensors.Custom.CustomSensorReading"; } -::windows::core::interface_hierarchy!(CustomSensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CustomSensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CustomSensorReading {} unsafe impl ::core::marker::Sync for CustomSensorReading {} #[doc = "*Required features: `\"Devices_Sensors_Custom\"`*"] @@ -353,7 +353,7 @@ impl ::core::fmt::Debug for CustomSensorReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for CustomSensorReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensorReadingChangedEventArgs;{6b202023-cffd-4cc1-8ff0-e21823d76fcc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensorReadingChangedEventArgs;{6b202023-cffd-4cc1-8ff0-e21823d76fcc})"); } impl ::core::clone::Clone for CustomSensorReadingChangedEventArgs { fn clone(&self) -> Self { @@ -369,7 +369,7 @@ unsafe impl ::windows::core::Interface for CustomSensorReadingChangedEventArgs { impl ::windows::core::RuntimeName for CustomSensorReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.Custom.CustomSensorReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(CustomSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CustomSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CustomSensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for CustomSensorReadingChangedEventArgs {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index ded28a5219..f5a727d52b 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -3185,7 +3185,7 @@ pub struct IProximitySensorStatics2_Vtbl { #[repr(transparent)] pub struct ISensorDataThreshold(::windows::core::IUnknown); impl ISensorDataThreshold {} -::windows::core::interface_hierarchy!(ISensorDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISensorDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISensorDataThreshold { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3198,7 +3198,7 @@ impl ::core::fmt::Debug for ISensorDataThreshold { } } impl ::windows::core::RuntimeType for ISensorDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{54daec61-fe4b-4e07-b260-3a4cdfbe396e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{54daec61-fe4b-4e07-b260-3a4cdfbe396e}"); } unsafe impl ::windows::core::Vtable for ISensorDataThreshold { type Vtable = ISensorDataThreshold_Vtbl; @@ -3572,17 +3572,17 @@ impl Accelerometer { } #[doc(hidden)] pub fn IAccelerometerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAccelerometerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAccelerometerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3598,7 +3598,7 @@ impl ::core::fmt::Debug for Accelerometer { } } impl ::windows::core::RuntimeType for Accelerometer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Accelerometer;{df184548-2711-4da7-8098-4b82205d3c7d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Accelerometer;{df184548-2711-4da7-8098-4b82205d3c7d})"); } impl ::core::clone::Clone for Accelerometer { fn clone(&self) -> Self { @@ -3614,7 +3614,7 @@ unsafe impl ::windows::core::Interface for Accelerometer { impl ::windows::core::RuntimeName for Accelerometer { const NAME: &'static str = "Windows.Devices.Sensors.Accelerometer"; } -::windows::core::interface_hierarchy!(Accelerometer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Accelerometer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Accelerometer {} unsafe impl ::core::marker::Sync for Accelerometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -3667,7 +3667,7 @@ impl ::core::fmt::Debug for AccelerometerDataThreshold { } } impl ::windows::core::RuntimeType for AccelerometerDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerDataThreshold;{f92c1b68-6320-5577-879e-9942621c3dd9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerDataThreshold;{f92c1b68-6320-5577-879e-9942621c3dd9})"); } impl ::core::clone::Clone for AccelerometerDataThreshold { fn clone(&self) -> Self { @@ -3683,7 +3683,7 @@ unsafe impl ::windows::core::Interface for AccelerometerDataThreshold { impl ::windows::core::RuntimeName for AccelerometerDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.AccelerometerDataThreshold"; } -::windows::core::interface_hierarchy!(AccelerometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccelerometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AccelerometerDataThreshold {} unsafe impl ::core::marker::Sync for AccelerometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -3751,7 +3751,7 @@ impl ::core::fmt::Debug for AccelerometerReading { } } impl ::windows::core::RuntimeType for AccelerometerReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerReading;{b9fe7acb-d351-40af-8bb6-7aa9ae641fb7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerReading;{b9fe7acb-d351-40af-8bb6-7aa9ae641fb7})"); } impl ::core::clone::Clone for AccelerometerReading { fn clone(&self) -> Self { @@ -3767,7 +3767,7 @@ unsafe impl ::windows::core::Interface for AccelerometerReading { impl ::windows::core::RuntimeName for AccelerometerReading { const NAME: &'static str = "Windows.Devices.Sensors.AccelerometerReading"; } -::windows::core::interface_hierarchy!(AccelerometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccelerometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AccelerometerReading {} unsafe impl ::core::marker::Sync for AccelerometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -3794,7 +3794,7 @@ impl ::core::fmt::Debug for AccelerometerReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for AccelerometerReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerReadingChangedEventArgs;{0095c65b-b6ac-475a-9f44-8b32d35a3f25})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerReadingChangedEventArgs;{0095c65b-b6ac-475a-9f44-8b32d35a3f25})"); } impl ::core::clone::Clone for AccelerometerReadingChangedEventArgs { fn clone(&self) -> Self { @@ -3810,7 +3810,7 @@ unsafe impl ::windows::core::Interface for AccelerometerReadingChangedEventArgs impl ::windows::core::RuntimeName for AccelerometerReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.AccelerometerReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(AccelerometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccelerometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AccelerometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for AccelerometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -3839,7 +3839,7 @@ impl ::core::fmt::Debug for AccelerometerShakenEventArgs { } } impl ::windows::core::RuntimeType for AccelerometerShakenEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerShakenEventArgs;{95ff01d1-4a28-4f35-98e8-8178aae4084a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerShakenEventArgs;{95ff01d1-4a28-4f35-98e8-8178aae4084a})"); } impl ::core::clone::Clone for AccelerometerShakenEventArgs { fn clone(&self) -> Self { @@ -3855,7 +3855,7 @@ unsafe impl ::windows::core::Interface for AccelerometerShakenEventArgs { impl ::windows::core::RuntimeName for AccelerometerShakenEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.AccelerometerShakenEventArgs"; } -::windows::core::interface_hierarchy!(AccelerometerShakenEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccelerometerShakenEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AccelerometerShakenEventArgs {} unsafe impl ::core::marker::Sync for AccelerometerShakenEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -3965,7 +3965,7 @@ impl ActivitySensor { } #[doc(hidden)] pub fn IActivitySensorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3981,7 +3981,7 @@ impl ::core::fmt::Debug for ActivitySensor { } } impl ::windows::core::RuntimeType for ActivitySensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensor;{cd7a630c-fb5f-48eb-b09b-a2708d1c61ef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensor;{cd7a630c-fb5f-48eb-b09b-a2708d1c61ef})"); } impl ::core::clone::Clone for ActivitySensor { fn clone(&self) -> Self { @@ -3997,7 +3997,7 @@ unsafe impl ::windows::core::Interface for ActivitySensor { impl ::windows::core::RuntimeName for ActivitySensor { const NAME: &'static str = "Windows.Devices.Sensors.ActivitySensor"; } -::windows::core::interface_hierarchy!(ActivitySensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivitySensor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ActivitySensor {} unsafe impl ::core::marker::Sync for ActivitySensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4040,7 +4040,7 @@ impl ::core::fmt::Debug for ActivitySensorReading { } } impl ::windows::core::RuntimeType for ActivitySensorReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReading;{85125a96-1472-40a2-b2ae-e1ef29226c78})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReading;{85125a96-1472-40a2-b2ae-e1ef29226c78})"); } impl ::core::clone::Clone for ActivitySensorReading { fn clone(&self) -> Self { @@ -4056,7 +4056,7 @@ unsafe impl ::windows::core::Interface for ActivitySensorReading { impl ::windows::core::RuntimeName for ActivitySensorReading { const NAME: &'static str = "Windows.Devices.Sensors.ActivitySensorReading"; } -::windows::core::interface_hierarchy!(ActivitySensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivitySensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ActivitySensorReading {} unsafe impl ::core::marker::Sync for ActivitySensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4083,7 +4083,7 @@ impl ::core::fmt::Debug for ActivitySensorReadingChangeReport { } } impl ::windows::core::RuntimeType for ActivitySensorReadingChangeReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReadingChangeReport;{4f3c2915-d93b-47bd-960a-f20fb2f322b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReadingChangeReport;{4f3c2915-d93b-47bd-960a-f20fb2f322b9})"); } impl ::core::clone::Clone for ActivitySensorReadingChangeReport { fn clone(&self) -> Self { @@ -4099,7 +4099,7 @@ unsafe impl ::windows::core::Interface for ActivitySensorReadingChangeReport { impl ::windows::core::RuntimeName for ActivitySensorReadingChangeReport { const NAME: &'static str = "Windows.Devices.Sensors.ActivitySensorReadingChangeReport"; } -::windows::core::interface_hierarchy!(ActivitySensorReadingChangeReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivitySensorReadingChangeReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ActivitySensorReadingChangeReport {} unsafe impl ::core::marker::Sync for ActivitySensorReadingChangeReport {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4126,7 +4126,7 @@ impl ::core::fmt::Debug for ActivitySensorReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for ActivitySensorReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReadingChangedEventArgs;{de386717-aeb6-4ec7-946a-d9cc19b951ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReadingChangedEventArgs;{de386717-aeb6-4ec7-946a-d9cc19b951ec})"); } impl ::core::clone::Clone for ActivitySensorReadingChangedEventArgs { fn clone(&self) -> Self { @@ -4142,7 +4142,7 @@ unsafe impl ::windows::core::Interface for ActivitySensorReadingChangedEventArgs impl ::windows::core::RuntimeName for ActivitySensorReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.ActivitySensorReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(ActivitySensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivitySensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ActivitySensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for ActivitySensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4171,7 +4171,7 @@ impl ::core::fmt::Debug for ActivitySensorTriggerDetails { } } impl ::windows::core::RuntimeType for ActivitySensorTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorTriggerDetails;{2c9e6612-b9ca-4677-b263-243297f79d3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorTriggerDetails;{2c9e6612-b9ca-4677-b263-243297f79d3a})"); } impl ::core::clone::Clone for ActivitySensorTriggerDetails { fn clone(&self) -> Self { @@ -4187,7 +4187,7 @@ unsafe impl ::windows::core::Interface for ActivitySensorTriggerDetails { impl ::windows::core::RuntimeName for ActivitySensorTriggerDetails { const NAME: &'static str = "Windows.Devices.Sensors.ActivitySensorTriggerDetails"; } -::windows::core::interface_hierarchy!(ActivitySensorTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivitySensorTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ActivitySensorTriggerDetails {} unsafe impl ::core::marker::Sync for ActivitySensorTriggerDetails {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4267,7 +4267,7 @@ impl Altimeter { } #[doc(hidden)] pub fn IAltimeterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4283,7 +4283,7 @@ impl ::core::fmt::Debug for Altimeter { } } impl ::windows::core::RuntimeType for Altimeter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Altimeter;{72f057fd-8f04-49f1-b4a7-f4e363b701a2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Altimeter;{72f057fd-8f04-49f1-b4a7-f4e363b701a2})"); } impl ::core::clone::Clone for Altimeter { fn clone(&self) -> Self { @@ -4299,7 +4299,7 @@ unsafe impl ::windows::core::Interface for Altimeter { impl ::windows::core::RuntimeName for Altimeter { const NAME: &'static str = "Windows.Devices.Sensors.Altimeter"; } -::windows::core::interface_hierarchy!(Altimeter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Altimeter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Altimeter {} unsafe impl ::core::marker::Sync for Altimeter {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4353,7 +4353,7 @@ impl ::core::fmt::Debug for AltimeterReading { } } impl ::windows::core::RuntimeType for AltimeterReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AltimeterReading;{fbe8ef73-7f5e-48c8-aa1a-f1f3befc1144})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AltimeterReading;{fbe8ef73-7f5e-48c8-aa1a-f1f3befc1144})"); } impl ::core::clone::Clone for AltimeterReading { fn clone(&self) -> Self { @@ -4369,7 +4369,7 @@ unsafe impl ::windows::core::Interface for AltimeterReading { impl ::windows::core::RuntimeName for AltimeterReading { const NAME: &'static str = "Windows.Devices.Sensors.AltimeterReading"; } -::windows::core::interface_hierarchy!(AltimeterReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AltimeterReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AltimeterReading {} unsafe impl ::core::marker::Sync for AltimeterReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4396,7 +4396,7 @@ impl ::core::fmt::Debug for AltimeterReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for AltimeterReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AltimeterReadingChangedEventArgs;{7069d077-446d-47f7-998c-ebc23b45e4a2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AltimeterReadingChangedEventArgs;{7069d077-446d-47f7-998c-ebc23b45e4a2})"); } impl ::core::clone::Clone for AltimeterReadingChangedEventArgs { fn clone(&self) -> Self { @@ -4412,7 +4412,7 @@ unsafe impl ::windows::core::Interface for AltimeterReadingChangedEventArgs { impl ::windows::core::RuntimeName for AltimeterReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.AltimeterReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(AltimeterReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AltimeterReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AltimeterReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for AltimeterReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4513,12 +4513,12 @@ impl Barometer { } #[doc(hidden)] pub fn IBarometerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBarometerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4534,7 +4534,7 @@ impl ::core::fmt::Debug for Barometer { } } impl ::windows::core::RuntimeType for Barometer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Barometer;{934475a8-78bf-452f-b017-f0209ce6dab4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Barometer;{934475a8-78bf-452f-b017-f0209ce6dab4})"); } impl ::core::clone::Clone for Barometer { fn clone(&self) -> Self { @@ -4550,7 +4550,7 @@ unsafe impl ::windows::core::Interface for Barometer { impl ::windows::core::RuntimeName for Barometer { const NAME: &'static str = "Windows.Devices.Sensors.Barometer"; } -::windows::core::interface_hierarchy!(Barometer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Barometer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Barometer {} unsafe impl ::core::marker::Sync for Barometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4581,7 +4581,7 @@ impl ::core::fmt::Debug for BarometerDataThreshold { } } impl ::windows::core::RuntimeType for BarometerDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerDataThreshold;{076b952c-cb62-5a90-a0d1-f85e4a936394})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerDataThreshold;{076b952c-cb62-5a90-a0d1-f85e4a936394})"); } impl ::core::clone::Clone for BarometerDataThreshold { fn clone(&self) -> Self { @@ -4597,7 +4597,7 @@ unsafe impl ::windows::core::Interface for BarometerDataThreshold { impl ::windows::core::RuntimeName for BarometerDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.BarometerDataThreshold"; } -::windows::core::interface_hierarchy!(BarometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarometerDataThreshold {} unsafe impl ::core::marker::Sync for BarometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4651,7 +4651,7 @@ impl ::core::fmt::Debug for BarometerReading { } } impl ::windows::core::RuntimeType for BarometerReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerReading;{f5b9d2e6-1df6-4a1a-a7ad-321d4f5db247})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerReading;{f5b9d2e6-1df6-4a1a-a7ad-321d4f5db247})"); } impl ::core::clone::Clone for BarometerReading { fn clone(&self) -> Self { @@ -4667,7 +4667,7 @@ unsafe impl ::windows::core::Interface for BarometerReading { impl ::windows::core::RuntimeName for BarometerReading { const NAME: &'static str = "Windows.Devices.Sensors.BarometerReading"; } -::windows::core::interface_hierarchy!(BarometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarometerReading {} unsafe impl ::core::marker::Sync for BarometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4694,7 +4694,7 @@ impl ::core::fmt::Debug for BarometerReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for BarometerReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerReadingChangedEventArgs;{3d84945f-037b-404f-9bbb-6232d69543c3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerReadingChangedEventArgs;{3d84945f-037b-404f-9bbb-6232d69543c3})"); } impl ::core::clone::Clone for BarometerReadingChangedEventArgs { fn clone(&self) -> Self { @@ -4710,7 +4710,7 @@ unsafe impl ::windows::core::Interface for BarometerReadingChangedEventArgs { impl ::windows::core::RuntimeName for BarometerReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.BarometerReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(BarometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BarometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BarometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for BarometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4826,12 +4826,12 @@ impl Compass { } #[doc(hidden)] pub fn ICompassStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICompassStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4847,7 +4847,7 @@ impl ::core::fmt::Debug for Compass { } } impl ::windows::core::RuntimeType for Compass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Compass;{292ffa94-1b45-403c-ba06-b106dba69a64})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Compass;{292ffa94-1b45-403c-ba06-b106dba69a64})"); } impl ::core::clone::Clone for Compass { fn clone(&self) -> Self { @@ -4863,7 +4863,7 @@ unsafe impl ::windows::core::Interface for Compass { impl ::windows::core::RuntimeName for Compass { const NAME: &'static str = "Windows.Devices.Sensors.Compass"; } -::windows::core::interface_hierarchy!(Compass, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Compass, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Compass {} unsafe impl ::core::marker::Sync for Compass {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4894,7 +4894,7 @@ impl ::core::fmt::Debug for CompassDataThreshold { } } impl ::windows::core::RuntimeType for CompassDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassDataThreshold;{d15b52b3-d39d-5ec8-b2e4-f193e6ab34ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassDataThreshold;{d15b52b3-d39d-5ec8-b2e4-f193e6ab34ed})"); } impl ::core::clone::Clone for CompassDataThreshold { fn clone(&self) -> Self { @@ -4910,7 +4910,7 @@ unsafe impl ::windows::core::Interface for CompassDataThreshold { impl ::windows::core::RuntimeName for CompassDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.CompassDataThreshold"; } -::windows::core::interface_hierarchy!(CompassDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompassDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CompassDataThreshold {} unsafe impl ::core::marker::Sync for CompassDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -4980,7 +4980,7 @@ impl ::core::fmt::Debug for CompassReading { } } impl ::windows::core::RuntimeType for CompassReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassReading;{82911128-513d-4dc9-b781-5eedfbf02d0c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassReading;{82911128-513d-4dc9-b781-5eedfbf02d0c})"); } impl ::core::clone::Clone for CompassReading { fn clone(&self) -> Self { @@ -4996,7 +4996,7 @@ unsafe impl ::windows::core::Interface for CompassReading { impl ::windows::core::RuntimeName for CompassReading { const NAME: &'static str = "Windows.Devices.Sensors.CompassReading"; } -::windows::core::interface_hierarchy!(CompassReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompassReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CompassReading {} unsafe impl ::core::marker::Sync for CompassReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5023,7 +5023,7 @@ impl ::core::fmt::Debug for CompassReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for CompassReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassReadingChangedEventArgs;{8f1549b0-e8bc-4c7e-b009-4e41df137072})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassReadingChangedEventArgs;{8f1549b0-e8bc-4c7e-b009-4e41df137072})"); } impl ::core::clone::Clone for CompassReadingChangedEventArgs { fn clone(&self) -> Self { @@ -5039,7 +5039,7 @@ unsafe impl ::windows::core::Interface for CompassReadingChangedEventArgs { impl ::windows::core::RuntimeName for CompassReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.CompassReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(CompassReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompassReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CompassReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for CompassReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5155,12 +5155,12 @@ impl Gyrometer { } #[doc(hidden)] pub fn IGyrometerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGyrometerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5176,7 +5176,7 @@ impl ::core::fmt::Debug for Gyrometer { } } impl ::windows::core::RuntimeType for Gyrometer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Gyrometer;{fdb9a9c4-84b1-4ca2-9763-9b589506c70c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Gyrometer;{fdb9a9c4-84b1-4ca2-9763-9b589506c70c})"); } impl ::core::clone::Clone for Gyrometer { fn clone(&self) -> Self { @@ -5192,7 +5192,7 @@ unsafe impl ::windows::core::Interface for Gyrometer { impl ::windows::core::RuntimeName for Gyrometer { const NAME: &'static str = "Windows.Devices.Sensors.Gyrometer"; } -::windows::core::interface_hierarchy!(Gyrometer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Gyrometer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Gyrometer {} unsafe impl ::core::marker::Sync for Gyrometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5245,7 +5245,7 @@ impl ::core::fmt::Debug for GyrometerDataThreshold { } } impl ::windows::core::RuntimeType for GyrometerDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerDataThreshold;{8648b31e-6e52-5259-bbad-242a69dc38c8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerDataThreshold;{8648b31e-6e52-5259-bbad-242a69dc38c8})"); } impl ::core::clone::Clone for GyrometerDataThreshold { fn clone(&self) -> Self { @@ -5261,7 +5261,7 @@ unsafe impl ::windows::core::Interface for GyrometerDataThreshold { impl ::windows::core::RuntimeName for GyrometerDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.GyrometerDataThreshold"; } -::windows::core::interface_hierarchy!(GyrometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GyrometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GyrometerDataThreshold {} unsafe impl ::core::marker::Sync for GyrometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5329,7 +5329,7 @@ impl ::core::fmt::Debug for GyrometerReading { } } impl ::windows::core::RuntimeType for GyrometerReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerReading;{b3d6de5c-1ee4-456f-9de7-e2493b5c8e03})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerReading;{b3d6de5c-1ee4-456f-9de7-e2493b5c8e03})"); } impl ::core::clone::Clone for GyrometerReading { fn clone(&self) -> Self { @@ -5345,7 +5345,7 @@ unsafe impl ::windows::core::Interface for GyrometerReading { impl ::windows::core::RuntimeName for GyrometerReading { const NAME: &'static str = "Windows.Devices.Sensors.GyrometerReading"; } -::windows::core::interface_hierarchy!(GyrometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GyrometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GyrometerReading {} unsafe impl ::core::marker::Sync for GyrometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5372,7 +5372,7 @@ impl ::core::fmt::Debug for GyrometerReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for GyrometerReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerReadingChangedEventArgs;{0fdf1895-6f9e-42ce-8d58-388c0ab8356d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerReadingChangedEventArgs;{0fdf1895-6f9e-42ce-8d58-388c0ab8356d})"); } impl ::core::clone::Clone for GyrometerReadingChangedEventArgs { fn clone(&self) -> Self { @@ -5388,7 +5388,7 @@ unsafe impl ::windows::core::Interface for GyrometerReadingChangedEventArgs { impl ::windows::core::RuntimeName for GyrometerReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.GyrometerReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(GyrometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GyrometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GyrometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for GyrometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5433,7 +5433,7 @@ impl ::core::fmt::Debug for HingeAngleReading { } } impl ::windows::core::RuntimeType for HingeAngleReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleReading;{a3cd45b9-1bf1-4f65-a704-e2da04f182c0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleReading;{a3cd45b9-1bf1-4f65-a704-e2da04f182c0})"); } impl ::core::clone::Clone for HingeAngleReading { fn clone(&self) -> Self { @@ -5449,7 +5449,7 @@ unsafe impl ::windows::core::Interface for HingeAngleReading { impl ::windows::core::RuntimeName for HingeAngleReading { const NAME: &'static str = "Windows.Devices.Sensors.HingeAngleReading"; } -::windows::core::interface_hierarchy!(HingeAngleReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HingeAngleReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HingeAngleReading {} unsafe impl ::core::marker::Sync for HingeAngleReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5537,7 +5537,7 @@ impl HingeAngleSensor { } #[doc(hidden)] pub fn IHingeAngleSensorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5553,7 +5553,7 @@ impl ::core::fmt::Debug for HingeAngleSensor { } } impl ::windows::core::RuntimeType for HingeAngleSensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleSensor;{e9d3be02-bfdf-437f-8c29-88c77393d309})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleSensor;{e9d3be02-bfdf-437f-8c29-88c77393d309})"); } impl ::core::clone::Clone for HingeAngleSensor { fn clone(&self) -> Self { @@ -5569,7 +5569,7 @@ unsafe impl ::windows::core::Interface for HingeAngleSensor { impl ::windows::core::RuntimeName for HingeAngleSensor { const NAME: &'static str = "Windows.Devices.Sensors.HingeAngleSensor"; } -::windows::core::interface_hierarchy!(HingeAngleSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HingeAngleSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HingeAngleSensor {} unsafe impl ::core::marker::Sync for HingeAngleSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5596,7 +5596,7 @@ impl ::core::fmt::Debug for HingeAngleSensorReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for HingeAngleSensorReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleSensorReadingChangedEventArgs;{24d9558b-fad0-42b8-a854-78923049a1ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleSensorReadingChangedEventArgs;{24d9558b-fad0-42b8-a854-78923049a1ba})"); } impl ::core::clone::Clone for HingeAngleSensorReadingChangedEventArgs { fn clone(&self) -> Self { @@ -5612,7 +5612,7 @@ unsafe impl ::windows::core::Interface for HingeAngleSensorReadingChangedEventAr impl ::windows::core::RuntimeName for HingeAngleSensorReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.HingeAngleSensorReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(HingeAngleSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HingeAngleSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HingeAngleSensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for HingeAngleSensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5669,7 +5669,7 @@ impl ::core::fmt::Debug for HumanPresenceFeatures { } } impl ::windows::core::RuntimeType for HumanPresenceFeatures { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceFeatures;{bdb09fda-3244-557a-bd29-8b004f59f2cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceFeatures;{bdb09fda-3244-557a-bd29-8b004f59f2cc})"); } impl ::core::clone::Clone for HumanPresenceFeatures { fn clone(&self) -> Self { @@ -5685,7 +5685,7 @@ unsafe impl ::windows::core::Interface for HumanPresenceFeatures { impl ::windows::core::RuntimeName for HumanPresenceFeatures { const NAME: &'static str = "Windows.Devices.Sensors.HumanPresenceFeatures"; } -::windows::core::interface_hierarchy!(HumanPresenceFeatures, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HumanPresenceFeatures, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HumanPresenceFeatures {} unsafe impl ::core::marker::Sync for HumanPresenceFeatures {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5763,7 +5763,7 @@ impl HumanPresenceSensor { } #[doc(hidden)] pub fn IHumanPresenceSensorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5779,7 +5779,7 @@ impl ::core::fmt::Debug for HumanPresenceSensor { } } impl ::windows::core::RuntimeType for HumanPresenceSensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensor;{2116788b-e389-5cc3-9a97-cb17be1008bd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensor;{2116788b-e389-5cc3-9a97-cb17be1008bd})"); } impl ::core::clone::Clone for HumanPresenceSensor { fn clone(&self) -> Self { @@ -5795,7 +5795,7 @@ unsafe impl ::windows::core::Interface for HumanPresenceSensor { impl ::windows::core::RuntimeName for HumanPresenceSensor { const NAME: &'static str = "Windows.Devices.Sensors.HumanPresenceSensor"; } -::windows::core::interface_hierarchy!(HumanPresenceSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HumanPresenceSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HumanPresenceSensor {} unsafe impl ::core::marker::Sync for HumanPresenceSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5847,7 +5847,7 @@ impl ::core::fmt::Debug for HumanPresenceSensorReading { } } impl ::windows::core::RuntimeType for HumanPresenceSensorReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensorReading;{83533bf5-a85a-5d50-8be4-6072d745a3bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensorReading;{83533bf5-a85a-5d50-8be4-6072d745a3bb})"); } impl ::core::clone::Clone for HumanPresenceSensorReading { fn clone(&self) -> Self { @@ -5863,7 +5863,7 @@ unsafe impl ::windows::core::Interface for HumanPresenceSensorReading { impl ::windows::core::RuntimeName for HumanPresenceSensorReading { const NAME: &'static str = "Windows.Devices.Sensors.HumanPresenceSensorReading"; } -::windows::core::interface_hierarchy!(HumanPresenceSensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HumanPresenceSensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HumanPresenceSensorReading {} unsafe impl ::core::marker::Sync for HumanPresenceSensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -5890,7 +5890,7 @@ impl ::core::fmt::Debug for HumanPresenceSensorReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for HumanPresenceSensorReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensorReadingChangedEventArgs;{a9dc4583-fd69-5c5e-ab1f-942204eae2db})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensorReadingChangedEventArgs;{a9dc4583-fd69-5c5e-ab1f-942204eae2db})"); } impl ::core::clone::Clone for HumanPresenceSensorReadingChangedEventArgs { fn clone(&self) -> Self { @@ -5906,7 +5906,7 @@ unsafe impl ::windows::core::Interface for HumanPresenceSensorReadingChangedEven impl ::windows::core::RuntimeName for HumanPresenceSensorReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.HumanPresenceSensorReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(HumanPresenceSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HumanPresenceSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HumanPresenceSensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for HumanPresenceSensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6072,7 +6072,7 @@ impl HumanPresenceSettings { } #[doc(hidden)] pub fn IHumanPresenceSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6088,7 +6088,7 @@ impl ::core::fmt::Debug for HumanPresenceSettings { } } impl ::windows::core::RuntimeType for HumanPresenceSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSettings;{ef4daf5b-07b7-5eb6-86bb-b7ff49ce44fb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSettings;{ef4daf5b-07b7-5eb6-86bb-b7ff49ce44fb})"); } impl ::core::clone::Clone for HumanPresenceSettings { fn clone(&self) -> Self { @@ -6104,7 +6104,7 @@ unsafe impl ::windows::core::Interface for HumanPresenceSettings { impl ::windows::core::RuntimeName for HumanPresenceSettings { const NAME: &'static str = "Windows.Devices.Sensors.HumanPresenceSettings"; } -::windows::core::interface_hierarchy!(HumanPresenceSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HumanPresenceSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HumanPresenceSettings {} unsafe impl ::core::marker::Sync for HumanPresenceSettings {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6239,22 +6239,22 @@ impl Inclinometer { } #[doc(hidden)] pub fn IInclinometerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInclinometerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInclinometerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInclinometerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6270,7 +6270,7 @@ impl ::core::fmt::Debug for Inclinometer { } } impl ::windows::core::RuntimeType for Inclinometer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Inclinometer;{2648ca6f-2286-406f-9161-f0c4bd806ebf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Inclinometer;{2648ca6f-2286-406f-9161-f0c4bd806ebf})"); } impl ::core::clone::Clone for Inclinometer { fn clone(&self) -> Self { @@ -6286,7 +6286,7 @@ unsafe impl ::windows::core::Interface for Inclinometer { impl ::windows::core::RuntimeName for Inclinometer { const NAME: &'static str = "Windows.Devices.Sensors.Inclinometer"; } -::windows::core::interface_hierarchy!(Inclinometer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Inclinometer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Inclinometer {} unsafe impl ::core::marker::Sync for Inclinometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6339,7 +6339,7 @@ impl ::core::fmt::Debug for InclinometerDataThreshold { } } impl ::windows::core::RuntimeType for InclinometerDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerDataThreshold;{f80a4783-7bfe-545e-bb60-a0ebc47bd2fb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerDataThreshold;{f80a4783-7bfe-545e-bb60-a0ebc47bd2fb})"); } impl ::core::clone::Clone for InclinometerDataThreshold { fn clone(&self) -> Self { @@ -6355,7 +6355,7 @@ unsafe impl ::windows::core::Interface for InclinometerDataThreshold { impl ::windows::core::RuntimeName for InclinometerDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.InclinometerDataThreshold"; } -::windows::core::interface_hierarchy!(InclinometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InclinometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InclinometerDataThreshold {} unsafe impl ::core::marker::Sync for InclinometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6430,7 +6430,7 @@ impl ::core::fmt::Debug for InclinometerReading { } } impl ::windows::core::RuntimeType for InclinometerReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerReading;{9f44f055-b6f6-497f-b127-1a775e501458})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerReading;{9f44f055-b6f6-497f-b127-1a775e501458})"); } impl ::core::clone::Clone for InclinometerReading { fn clone(&self) -> Self { @@ -6446,7 +6446,7 @@ unsafe impl ::windows::core::Interface for InclinometerReading { impl ::windows::core::RuntimeName for InclinometerReading { const NAME: &'static str = "Windows.Devices.Sensors.InclinometerReading"; } -::windows::core::interface_hierarchy!(InclinometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InclinometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InclinometerReading {} unsafe impl ::core::marker::Sync for InclinometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6473,7 +6473,7 @@ impl ::core::fmt::Debug for InclinometerReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for InclinometerReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerReadingChangedEventArgs;{4ae91dc1-e7eb-4938-8511-ae0d6b440438})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerReadingChangedEventArgs;{4ae91dc1-e7eb-4938-8511-ae0d6b440438})"); } impl ::core::clone::Clone for InclinometerReadingChangedEventArgs { fn clone(&self) -> Self { @@ -6489,7 +6489,7 @@ unsafe impl ::windows::core::Interface for InclinometerReadingChangedEventArgs { impl ::windows::core::RuntimeName for InclinometerReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.InclinometerReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(InclinometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InclinometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InclinometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for InclinometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6590,12 +6590,12 @@ impl LightSensor { } #[doc(hidden)] pub fn ILightSensorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILightSensorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6611,7 +6611,7 @@ impl ::core::fmt::Debug for LightSensor { } } impl ::windows::core::RuntimeType for LightSensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensor;{f84c0718-0c54-47ae-922e-789f57fb03a0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensor;{f84c0718-0c54-47ae-922e-789f57fb03a0})"); } impl ::core::clone::Clone for LightSensor { fn clone(&self) -> Self { @@ -6627,7 +6627,7 @@ unsafe impl ::windows::core::Interface for LightSensor { impl ::windows::core::RuntimeName for LightSensor { const NAME: &'static str = "Windows.Devices.Sensors.LightSensor"; } -::windows::core::interface_hierarchy!(LightSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LightSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LightSensor {} unsafe impl ::core::marker::Sync for LightSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6669,7 +6669,7 @@ impl ::core::fmt::Debug for LightSensorDataThreshold { } } impl ::windows::core::RuntimeType for LightSensorDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorDataThreshold;{b160afd1-878f-5492-9f2c-33dc3ae584a3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorDataThreshold;{b160afd1-878f-5492-9f2c-33dc3ae584a3})"); } impl ::core::clone::Clone for LightSensorDataThreshold { fn clone(&self) -> Self { @@ -6685,7 +6685,7 @@ unsafe impl ::windows::core::Interface for LightSensorDataThreshold { impl ::windows::core::RuntimeName for LightSensorDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.LightSensorDataThreshold"; } -::windows::core::interface_hierarchy!(LightSensorDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LightSensorDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LightSensorDataThreshold {} unsafe impl ::core::marker::Sync for LightSensorDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6739,7 +6739,7 @@ impl ::core::fmt::Debug for LightSensorReading { } } impl ::windows::core::RuntimeType for LightSensorReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorReading;{ffdf6300-227c-4d2b-b302-fc0142485c68})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorReading;{ffdf6300-227c-4d2b-b302-fc0142485c68})"); } impl ::core::clone::Clone for LightSensorReading { fn clone(&self) -> Self { @@ -6755,7 +6755,7 @@ unsafe impl ::windows::core::Interface for LightSensorReading { impl ::windows::core::RuntimeName for LightSensorReading { const NAME: &'static str = "Windows.Devices.Sensors.LightSensorReading"; } -::windows::core::interface_hierarchy!(LightSensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LightSensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LightSensorReading {} unsafe impl ::core::marker::Sync for LightSensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6782,7 +6782,7 @@ impl ::core::fmt::Debug for LightSensorReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for LightSensorReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorReadingChangedEventArgs;{a3a2f4cf-258b-420c-b8ab-8edd601ecf50})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorReadingChangedEventArgs;{a3a2f4cf-258b-420c-b8ab-8edd601ecf50})"); } impl ::core::clone::Clone for LightSensorReadingChangedEventArgs { fn clone(&self) -> Self { @@ -6798,7 +6798,7 @@ unsafe impl ::windows::core::Interface for LightSensorReadingChangedEventArgs { impl ::windows::core::RuntimeName for LightSensorReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.LightSensorReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(LightSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LightSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LightSensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for LightSensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6914,12 +6914,12 @@ impl Magnetometer { } #[doc(hidden)] pub fn IMagnetometerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMagnetometerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6935,7 +6935,7 @@ impl ::core::fmt::Debug for Magnetometer { } } impl ::windows::core::RuntimeType for Magnetometer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Magnetometer;{484f626e-d3c9-4111-b3f6-2cf1faa418d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Magnetometer;{484f626e-d3c9-4111-b3f6-2cf1faa418d5})"); } impl ::core::clone::Clone for Magnetometer { fn clone(&self) -> Self { @@ -6951,7 +6951,7 @@ unsafe impl ::windows::core::Interface for Magnetometer { impl ::windows::core::RuntimeName for Magnetometer { const NAME: &'static str = "Windows.Devices.Sensors.Magnetometer"; } -::windows::core::interface_hierarchy!(Magnetometer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Magnetometer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Magnetometer {} unsafe impl ::core::marker::Sync for Magnetometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7004,7 +7004,7 @@ impl ::core::fmt::Debug for MagnetometerDataThreshold { } } impl ::windows::core::RuntimeType for MagnetometerDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerDataThreshold;{d177cb01-9063-5fa5-b596-b445e9dc3401})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerDataThreshold;{d177cb01-9063-5fa5-b596-b445e9dc3401})"); } impl ::core::clone::Clone for MagnetometerDataThreshold { fn clone(&self) -> Self { @@ -7020,7 +7020,7 @@ unsafe impl ::windows::core::Interface for MagnetometerDataThreshold { impl ::windows::core::RuntimeName for MagnetometerDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.MagnetometerDataThreshold"; } -::windows::core::interface_hierarchy!(MagnetometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagnetometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagnetometerDataThreshold {} unsafe impl ::core::marker::Sync for MagnetometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7095,7 +7095,7 @@ impl ::core::fmt::Debug for MagnetometerReading { } } impl ::windows::core::RuntimeType for MagnetometerReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerReading;{0c2cc40d-ebfd-4e5c-bb11-afc29b3cae61})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerReading;{0c2cc40d-ebfd-4e5c-bb11-afc29b3cae61})"); } impl ::core::clone::Clone for MagnetometerReading { fn clone(&self) -> Self { @@ -7111,7 +7111,7 @@ unsafe impl ::windows::core::Interface for MagnetometerReading { impl ::windows::core::RuntimeName for MagnetometerReading { const NAME: &'static str = "Windows.Devices.Sensors.MagnetometerReading"; } -::windows::core::interface_hierarchy!(MagnetometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagnetometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagnetometerReading {} unsafe impl ::core::marker::Sync for MagnetometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7138,7 +7138,7 @@ impl ::core::fmt::Debug for MagnetometerReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for MagnetometerReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerReadingChangedEventArgs;{17eae872-2eb9-4ee7-8ad0-3127537d949b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerReadingChangedEventArgs;{17eae872-2eb9-4ee7-8ad0-3127537d949b})"); } impl ::core::clone::Clone for MagnetometerReadingChangedEventArgs { fn clone(&self) -> Self { @@ -7154,7 +7154,7 @@ unsafe impl ::windows::core::Interface for MagnetometerReadingChangedEventArgs { impl ::windows::core::RuntimeName for MagnetometerReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.MagnetometerReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(MagnetometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MagnetometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MagnetometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for MagnetometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7294,22 +7294,22 @@ impl OrientationSensor { } #[doc(hidden)] pub fn IOrientationSensorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IOrientationSensorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IOrientationSensorStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IOrientationSensorStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7325,7 +7325,7 @@ impl ::core::fmt::Debug for OrientationSensor { } } impl ::windows::core::RuntimeType for OrientationSensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensor;{5e354635-cf6b-4c63-abd8-10252b0bf6ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensor;{5e354635-cf6b-4c63-abd8-10252b0bf6ec})"); } impl ::core::clone::Clone for OrientationSensor { fn clone(&self) -> Self { @@ -7341,7 +7341,7 @@ unsafe impl ::windows::core::Interface for OrientationSensor { impl ::windows::core::RuntimeName for OrientationSensor { const NAME: &'static str = "Windows.Devices.Sensors.OrientationSensor"; } -::windows::core::interface_hierarchy!(OrientationSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OrientationSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OrientationSensor {} unsafe impl ::core::marker::Sync for OrientationSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7409,7 +7409,7 @@ impl ::core::fmt::Debug for OrientationSensorReading { } } impl ::windows::core::RuntimeType for OrientationSensorReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensorReading;{4756c993-6595-4897-bcc6-d537ee757564})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensorReading;{4756c993-6595-4897-bcc6-d537ee757564})"); } impl ::core::clone::Clone for OrientationSensorReading { fn clone(&self) -> Self { @@ -7425,7 +7425,7 @@ unsafe impl ::windows::core::Interface for OrientationSensorReading { impl ::windows::core::RuntimeName for OrientationSensorReading { const NAME: &'static str = "Windows.Devices.Sensors.OrientationSensorReading"; } -::windows::core::interface_hierarchy!(OrientationSensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OrientationSensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OrientationSensorReading {} unsafe impl ::core::marker::Sync for OrientationSensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7452,7 +7452,7 @@ impl ::core::fmt::Debug for OrientationSensorReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for OrientationSensorReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensorReadingChangedEventArgs;{012c1186-c3ba-46bc-ae65-7a98996cbfb8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensorReadingChangedEventArgs;{012c1186-c3ba-46bc-ae65-7a98996cbfb8})"); } impl ::core::clone::Clone for OrientationSensorReadingChangedEventArgs { fn clone(&self) -> Self { @@ -7468,7 +7468,7 @@ unsafe impl ::windows::core::Interface for OrientationSensorReadingChangedEventA impl ::windows::core::RuntimeName for OrientationSensorReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.OrientationSensorReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(OrientationSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OrientationSensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OrientationSensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for OrientationSensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7579,12 +7579,12 @@ impl Pedometer { } #[doc(hidden)] pub fn IPedometerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPedometerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7600,7 +7600,7 @@ impl ::core::fmt::Debug for Pedometer { } } impl ::windows::core::RuntimeType for Pedometer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Pedometer;{9a1e013d-3d98-45f8-8920-8e4ecaca5f97})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Pedometer;{9a1e013d-3d98-45f8-8920-8e4ecaca5f97})"); } impl ::core::clone::Clone for Pedometer { fn clone(&self) -> Self { @@ -7616,7 +7616,7 @@ unsafe impl ::windows::core::Interface for Pedometer { impl ::windows::core::RuntimeName for Pedometer { const NAME: &'static str = "Windows.Devices.Sensors.Pedometer"; } -::windows::core::interface_hierarchy!(Pedometer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Pedometer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Pedometer {} unsafe impl ::core::marker::Sync for Pedometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7631,7 +7631,7 @@ impl PedometerDataThreshold { } #[doc(hidden)] pub fn IPedometerDataThresholdFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7647,7 +7647,7 @@ impl ::core::fmt::Debug for PedometerDataThreshold { } } impl ::windows::core::RuntimeType for PedometerDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerDataThreshold;{54daec61-fe4b-4e07-b260-3a4cdfbe396e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerDataThreshold;{54daec61-fe4b-4e07-b260-3a4cdfbe396e})"); } impl ::core::clone::Clone for PedometerDataThreshold { fn clone(&self) -> Self { @@ -7663,7 +7663,7 @@ unsafe impl ::windows::core::Interface for PedometerDataThreshold { impl ::windows::core::RuntimeName for PedometerDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.PedometerDataThreshold"; } -::windows::core::interface_hierarchy!(PedometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PedometerDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISensorDataThreshold { type Error = ::windows::core::Error; fn try_from(value: PedometerDataThreshold) -> ::windows::core::Result { @@ -7734,7 +7734,7 @@ impl ::core::fmt::Debug for PedometerReading { } } impl ::windows::core::RuntimeType for PedometerReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerReading;{2245dcf4-a8e1-432f-896a-be0dd9b02d24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerReading;{2245dcf4-a8e1-432f-896a-be0dd9b02d24})"); } impl ::core::clone::Clone for PedometerReading { fn clone(&self) -> Self { @@ -7750,7 +7750,7 @@ unsafe impl ::windows::core::Interface for PedometerReading { impl ::windows::core::RuntimeName for PedometerReading { const NAME: &'static str = "Windows.Devices.Sensors.PedometerReading"; } -::windows::core::interface_hierarchy!(PedometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PedometerReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PedometerReading {} unsafe impl ::core::marker::Sync for PedometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7777,7 +7777,7 @@ impl ::core::fmt::Debug for PedometerReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for PedometerReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerReadingChangedEventArgs;{f855e47e-abbc-4456-86a8-25cf2b333742})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerReadingChangedEventArgs;{f855e47e-abbc-4456-86a8-25cf2b333742})"); } impl ::core::clone::Clone for PedometerReadingChangedEventArgs { fn clone(&self) -> Self { @@ -7793,7 +7793,7 @@ unsafe impl ::windows::core::Interface for PedometerReadingChangedEventArgs { impl ::windows::core::RuntimeName for PedometerReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.PedometerReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(PedometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PedometerReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PedometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for PedometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7878,12 +7878,12 @@ impl ProximitySensor { } #[doc(hidden)] pub fn IProximitySensorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IProximitySensorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7899,7 +7899,7 @@ impl ::core::fmt::Debug for ProximitySensor { } } impl ::windows::core::RuntimeType for ProximitySensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensor;{54c076b8-ecfb-4944-b928-74fc504d47ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensor;{54c076b8-ecfb-4944-b928-74fc504d47ee})"); } impl ::core::clone::Clone for ProximitySensor { fn clone(&self) -> Self { @@ -7915,7 +7915,7 @@ unsafe impl ::windows::core::Interface for ProximitySensor { impl ::windows::core::RuntimeName for ProximitySensor { const NAME: &'static str = "Windows.Devices.Sensors.ProximitySensor"; } -::windows::core::interface_hierarchy!(ProximitySensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProximitySensor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProximitySensor {} unsafe impl ::core::marker::Sync for ProximitySensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -7930,7 +7930,7 @@ impl ProximitySensorDataThreshold { } #[doc(hidden)] pub fn IProximitySensorDataThresholdFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7946,7 +7946,7 @@ impl ::core::fmt::Debug for ProximitySensorDataThreshold { } } impl ::windows::core::RuntimeType for ProximitySensorDataThreshold { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorDataThreshold;{54daec61-fe4b-4e07-b260-3a4cdfbe396e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorDataThreshold;{54daec61-fe4b-4e07-b260-3a4cdfbe396e})"); } impl ::core::clone::Clone for ProximitySensorDataThreshold { fn clone(&self) -> Self { @@ -7962,7 +7962,7 @@ unsafe impl ::windows::core::Interface for ProximitySensorDataThreshold { impl ::windows::core::RuntimeName for ProximitySensorDataThreshold { const NAME: &'static str = "Windows.Devices.Sensors.ProximitySensorDataThreshold"; } -::windows::core::interface_hierarchy!(ProximitySensorDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProximitySensorDataThreshold, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISensorDataThreshold { type Error = ::windows::core::Error; fn try_from(value: ProximitySensorDataThreshold) -> ::windows::core::Result { @@ -8013,7 +8013,7 @@ impl ::core::fmt::Debug for ProximitySensorDisplayOnOffController { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for ProximitySensorDisplayOnOffController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorDisplayOnOffController;{30d5a829-7fa4-4026-83bb-d75bae4ea99e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorDisplayOnOffController;{30d5a829-7fa4-4026-83bb-d75bae4ea99e})"); } #[cfg(feature = "Foundation")] impl ::core::clone::Clone for ProximitySensorDisplayOnOffController { @@ -8034,7 +8034,7 @@ impl ::windows::core::RuntimeName for ProximitySensorDisplayOnOffController { const NAME: &'static str = "Windows.Devices.Sensors.ProximitySensorDisplayOnOffController"; } #[cfg(feature = "Foundation")] -::windows::core::interface_hierarchy!(ProximitySensorDisplayOnOffController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProximitySensorDisplayOnOffController, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -8103,7 +8103,7 @@ impl ::core::fmt::Debug for ProximitySensorReading { } } impl ::windows::core::RuntimeType for ProximitySensorReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorReading;{71228d59-132d-4d5f-8ff9-2f0db8751ced})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorReading;{71228d59-132d-4d5f-8ff9-2f0db8751ced})"); } impl ::core::clone::Clone for ProximitySensorReading { fn clone(&self) -> Self { @@ -8119,7 +8119,7 @@ unsafe impl ::windows::core::Interface for ProximitySensorReading { impl ::windows::core::RuntimeName for ProximitySensorReading { const NAME: &'static str = "Windows.Devices.Sensors.ProximitySensorReading"; } -::windows::core::interface_hierarchy!(ProximitySensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProximitySensorReading, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProximitySensorReading {} unsafe impl ::core::marker::Sync for ProximitySensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -8146,7 +8146,7 @@ impl ::core::fmt::Debug for ProximitySensorReadingChangedEventArgs { } } impl ::windows::core::RuntimeType for ProximitySensorReadingChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorReadingChangedEventArgs;{cfc2f366-c3e8-40fd-8cc3-67e289004938})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorReadingChangedEventArgs;{cfc2f366-c3e8-40fd-8cc3-67e289004938})"); } impl ::core::clone::Clone for ProximitySensorReadingChangedEventArgs { fn clone(&self) -> Self { @@ -8162,7 +8162,7 @@ unsafe impl ::windows::core::Interface for ProximitySensorReadingChangedEventArg impl ::windows::core::RuntimeName for ProximitySensorReadingChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.ProximitySensorReadingChangedEventArgs"; } -::windows::core::interface_hierarchy!(ProximitySensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProximitySensorReadingChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProximitySensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for ProximitySensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -8196,7 +8196,7 @@ impl ::core::fmt::Debug for SensorDataThresholdTriggerDetails { } } impl ::windows::core::RuntimeType for SensorDataThresholdTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorDataThresholdTriggerDetails;{9106f1b7-e88d-48b1-bc90-619c7b349391})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorDataThresholdTriggerDetails;{9106f1b7-e88d-48b1-bc90-619c7b349391})"); } impl ::core::clone::Clone for SensorDataThresholdTriggerDetails { fn clone(&self) -> Self { @@ -8212,7 +8212,7 @@ unsafe impl ::windows::core::Interface for SensorDataThresholdTriggerDetails { impl ::windows::core::RuntimeName for SensorDataThresholdTriggerDetails { const NAME: &'static str = "Windows.Devices.Sensors.SensorDataThresholdTriggerDetails"; } -::windows::core::interface_hierarchy!(SensorDataThresholdTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SensorDataThresholdTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SensorDataThresholdTriggerDetails {} unsafe impl ::core::marker::Sync for SensorDataThresholdTriggerDetails {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -8260,7 +8260,7 @@ impl ::core::fmt::Debug for SensorQuaternion { } } impl ::windows::core::RuntimeType for SensorQuaternion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorQuaternion;{c9c5c827-c71c-46e7-9da3-36a193b232bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorQuaternion;{c9c5c827-c71c-46e7-9da3-36a193b232bc})"); } impl ::core::clone::Clone for SensorQuaternion { fn clone(&self) -> Self { @@ -8276,7 +8276,7 @@ unsafe impl ::windows::core::Interface for SensorQuaternion { impl ::windows::core::RuntimeName for SensorQuaternion { const NAME: &'static str = "Windows.Devices.Sensors.SensorQuaternion"; } -::windows::core::interface_hierarchy!(SensorQuaternion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SensorQuaternion, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SensorQuaternion {} unsafe impl ::core::marker::Sync for SensorQuaternion {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -8359,7 +8359,7 @@ impl ::core::fmt::Debug for SensorRotationMatrix { } } impl ::windows::core::RuntimeType for SensorRotationMatrix { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorRotationMatrix;{0a3d5a67-22f4-4392-9538-65d0bd064aa6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorRotationMatrix;{0a3d5a67-22f4-4392-9538-65d0bd064aa6})"); } impl ::core::clone::Clone for SensorRotationMatrix { fn clone(&self) -> Self { @@ -8375,7 +8375,7 @@ unsafe impl ::windows::core::Interface for SensorRotationMatrix { impl ::windows::core::RuntimeName for SensorRotationMatrix { const NAME: &'static str = "Windows.Devices.Sensors.SensorRotationMatrix"; } -::windows::core::interface_hierarchy!(SensorRotationMatrix, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SensorRotationMatrix, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SensorRotationMatrix {} unsafe impl ::core::marker::Sync for SensorRotationMatrix {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -8448,12 +8448,12 @@ impl SimpleOrientationSensor { } #[doc(hidden)] pub fn ISimpleOrientationSensorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISimpleOrientationSensorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -8469,7 +8469,7 @@ impl ::core::fmt::Debug for SimpleOrientationSensor { } } impl ::windows::core::RuntimeType for SimpleOrientationSensor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SimpleOrientationSensor;{5ff53856-214a-4dee-a3f9-616f1ab06ffd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SimpleOrientationSensor;{5ff53856-214a-4dee-a3f9-616f1ab06ffd})"); } impl ::core::clone::Clone for SimpleOrientationSensor { fn clone(&self) -> Self { @@ -8485,7 +8485,7 @@ unsafe impl ::windows::core::Interface for SimpleOrientationSensor { impl ::windows::core::RuntimeName for SimpleOrientationSensor { const NAME: &'static str = "Windows.Devices.Sensors.SimpleOrientationSensor"; } -::windows::core::interface_hierarchy!(SimpleOrientationSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SimpleOrientationSensor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SimpleOrientationSensor {} unsafe impl ::core::marker::Sync for SimpleOrientationSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -8521,7 +8521,7 @@ impl ::core::fmt::Debug for SimpleOrientationSensorOrientationChangedEventArgs { } } impl ::windows::core::RuntimeType for SimpleOrientationSensorOrientationChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SimpleOrientationSensorOrientationChangedEventArgs;{bcd5c660-23d4-4b4c-a22e-ba81ade0c601})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SimpleOrientationSensorOrientationChangedEventArgs;{bcd5c660-23d4-4b4c-a22e-ba81ade0c601})"); } impl ::core::clone::Clone for SimpleOrientationSensorOrientationChangedEventArgs { fn clone(&self) -> Self { @@ -8537,7 +8537,7 @@ unsafe impl ::windows::core::Interface for SimpleOrientationSensorOrientationCha impl ::windows::core::RuntimeName for SimpleOrientationSensorOrientationChangedEventArgs { const NAME: &'static str = "Windows.Devices.Sensors.SimpleOrientationSensorOrientationChangedEventArgs"; } -::windows::core::interface_hierarchy!(SimpleOrientationSensorOrientationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SimpleOrientationSensorOrientationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SimpleOrientationSensorOrientationChangedEventArgs {} unsafe impl ::core::marker::Sync for SimpleOrientationSensorOrientationChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -8569,7 +8569,7 @@ impl ::core::fmt::Debug for AccelerometerReadingType { } } impl ::windows::core::RuntimeType for AccelerometerReadingType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.AccelerometerReadingType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.AccelerometerReadingType;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8599,7 +8599,7 @@ impl ::core::fmt::Debug for ActivitySensorReadingConfidence { } } impl ::windows::core::RuntimeType for ActivitySensorReadingConfidence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.ActivitySensorReadingConfidence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.ActivitySensorReadingConfidence;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8635,7 +8635,7 @@ impl ::core::fmt::Debug for ActivityType { } } impl ::windows::core::RuntimeType for ActivityType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.ActivityType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.ActivityType;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8666,7 +8666,7 @@ impl ::core::fmt::Debug for HumanEngagement { } } impl ::windows::core::RuntimeType for HumanEngagement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.HumanEngagement;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.HumanEngagement;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8697,7 +8697,7 @@ impl ::core::fmt::Debug for HumanPresence { } } impl ::windows::core::RuntimeType for HumanPresence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.HumanPresence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.HumanPresence;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8729,7 +8729,7 @@ impl ::core::fmt::Debug for MagnetometerAccuracy { } } impl ::windows::core::RuntimeType for MagnetometerAccuracy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.MagnetometerAccuracy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.MagnetometerAccuracy;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8760,7 +8760,7 @@ impl ::core::fmt::Debug for PedometerStepKind { } } impl ::windows::core::RuntimeType for PedometerStepKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.PedometerStepKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.PedometerStepKind;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8790,7 +8790,7 @@ impl ::core::fmt::Debug for SensorOptimizationGoal { } } impl ::windows::core::RuntimeType for SensorOptimizationGoal { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.SensorOptimizationGoal;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.SensorOptimizationGoal;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8820,7 +8820,7 @@ impl ::core::fmt::Debug for SensorReadingType { } } impl ::windows::core::RuntimeType for SensorReadingType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.SensorReadingType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.SensorReadingType;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8862,7 +8862,7 @@ impl ::core::fmt::Debug for SensorType { } } impl ::windows::core::RuntimeType for SensorType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.SensorType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.SensorType;i4)"); } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] @@ -8896,7 +8896,7 @@ impl ::core::fmt::Debug for SimpleOrientation { } } impl ::windows::core::RuntimeType for SimpleOrientation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.SimpleOrientation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sensors.SimpleOrientation;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs index 8994e34deb..bd75cd7c29 100644 --- a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs @@ -170,7 +170,7 @@ impl ::core::fmt::Debug for ErrorReceivedEventArgs { } } impl ::windows::core::RuntimeType for ErrorReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.ErrorReceivedEventArgs;{fcc6bf59-1283-4d8a-bfdf-566b33ddb28f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.ErrorReceivedEventArgs;{fcc6bf59-1283-4d8a-bfdf-566b33ddb28f})"); } impl ::core::clone::Clone for ErrorReceivedEventArgs { fn clone(&self) -> Self { @@ -186,7 +186,7 @@ unsafe impl ::windows::core::Interface for ErrorReceivedEventArgs { impl ::windows::core::RuntimeName for ErrorReceivedEventArgs { const NAME: &'static str = "Windows.Devices.SerialCommunication.ErrorReceivedEventArgs"; } -::windows::core::interface_hierarchy!(ErrorReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ErrorReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ErrorReceivedEventArgs {} unsafe impl ::core::marker::Sync for ErrorReceivedEventArgs {} #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] @@ -213,7 +213,7 @@ impl ::core::fmt::Debug for PinChangedEventArgs { } } impl ::windows::core::RuntimeType for PinChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.PinChangedEventArgs;{a2bf1db0-fc9c-4607-93d0-fa5e8343ee22})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.PinChangedEventArgs;{a2bf1db0-fc9c-4607-93d0-fa5e8343ee22})"); } impl ::core::clone::Clone for PinChangedEventArgs { fn clone(&self) -> Self { @@ -229,7 +229,7 @@ unsafe impl ::windows::core::Interface for PinChangedEventArgs { impl ::windows::core::RuntimeName for PinChangedEventArgs { const NAME: &'static str = "Windows.Devices.SerialCommunication.PinChangedEventArgs"; } -::windows::core::interface_hierarchy!(PinChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PinChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PinChangedEventArgs {} unsafe impl ::core::marker::Sync for PinChangedEventArgs {} #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] @@ -485,7 +485,7 @@ impl SerialDevice { } #[doc(hidden)] pub fn ISerialDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -501,7 +501,7 @@ impl ::core::fmt::Debug for SerialDevice { } } impl ::windows::core::RuntimeType for SerialDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.SerialDevice;{e187ccc6-2210-414f-b65a-f5553a03372a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.SerialDevice;{e187ccc6-2210-414f-b65a-f5553a03372a})"); } impl ::core::clone::Clone for SerialDevice { fn clone(&self) -> Self { @@ -517,7 +517,7 @@ unsafe impl ::windows::core::Interface for SerialDevice { impl ::windows::core::RuntimeName for SerialDevice { const NAME: &'static str = "Windows.Devices.SerialCommunication.SerialDevice"; } -::windows::core::interface_hierarchy!(SerialDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SerialDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -573,7 +573,7 @@ impl ::core::fmt::Debug for SerialError { } } impl ::windows::core::RuntimeType for SerialError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialError;i4)"); } #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] #[repr(transparent)] @@ -605,7 +605,7 @@ impl ::core::fmt::Debug for SerialHandshake { } } impl ::windows::core::RuntimeType for SerialHandshake { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialHandshake;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialHandshake;i4)"); } #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] #[repr(transparent)] @@ -638,7 +638,7 @@ impl ::core::fmt::Debug for SerialParity { } } impl ::windows::core::RuntimeType for SerialParity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialParity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialParity;i4)"); } #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] #[repr(transparent)] @@ -671,7 +671,7 @@ impl ::core::fmt::Debug for SerialPinChange { } } impl ::windows::core::RuntimeType for SerialPinChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialPinChange;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialPinChange;i4)"); } #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] #[repr(transparent)] @@ -702,7 +702,7 @@ impl ::core::fmt::Debug for SerialStopBitCount { } } impl ::windows::core::RuntimeType for SerialStopBitCount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialStopBitCount;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SerialCommunication.SerialStopBitCount;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs index 02cbf99a34..06f730e3e7 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -1540,7 +1540,7 @@ impl ::core::fmt::Debug for CardAddedEventArgs { } } impl ::windows::core::RuntimeType for CardAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.CardAddedEventArgs;{18bbef98-f18b-4dd3-b118-dfb2c8e23cc6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.CardAddedEventArgs;{18bbef98-f18b-4dd3-b118-dfb2c8e23cc6})"); } impl ::core::clone::Clone for CardAddedEventArgs { fn clone(&self) -> Self { @@ -1556,7 +1556,7 @@ unsafe impl ::windows::core::Interface for CardAddedEventArgs { impl ::windows::core::RuntimeName for CardAddedEventArgs { const NAME: &'static str = "Windows.Devices.SmartCards.CardAddedEventArgs"; } -::windows::core::interface_hierarchy!(CardAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CardAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CardAddedEventArgs {} unsafe impl ::core::marker::Sync for CardAddedEventArgs {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -1583,7 +1583,7 @@ impl ::core::fmt::Debug for CardRemovedEventArgs { } } impl ::windows::core::RuntimeType for CardRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.CardRemovedEventArgs;{15331aaf-22d7-4945-afc9-03b46f42a6cd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.CardRemovedEventArgs;{15331aaf-22d7-4945-afc9-03b46f42a6cd})"); } impl ::core::clone::Clone for CardRemovedEventArgs { fn clone(&self) -> Self { @@ -1599,7 +1599,7 @@ unsafe impl ::windows::core::Interface for CardRemovedEventArgs { impl ::windows::core::RuntimeName for CardRemovedEventArgs { const NAME: &'static str = "Windows.Devices.SmartCards.CardRemovedEventArgs"; } -::windows::core::interface_hierarchy!(CardRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CardRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CardRemovedEventArgs {} unsafe impl ::core::marker::Sync for CardRemovedEventArgs {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -1623,7 +1623,7 @@ impl KnownSmartCardAppletIds { } #[doc(hidden)] pub fn IKnownSmartCardAppletIds ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1681,7 +1681,7 @@ impl ::core::fmt::Debug for SmartCard { } } impl ::windows::core::RuntimeType for SmartCard { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCard;{1b718871-6434-43f4-b55a-6a29623870aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCard;{1b718871-6434-43f4-b55a-6a29623870aa})"); } impl ::core::clone::Clone for SmartCard { fn clone(&self) -> Self { @@ -1697,7 +1697,7 @@ unsafe impl ::windows::core::Interface for SmartCard { impl ::windows::core::RuntimeName for SmartCard { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCard"; } -::windows::core::interface_hierarchy!(SmartCard, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCard, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCard {} unsafe impl ::core::marker::Sync for SmartCard {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -1707,8 +1707,8 @@ impl SmartCardAppletIdGroup { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1834,12 +1834,12 @@ impl SmartCardAppletIdGroup { } #[doc(hidden)] pub fn ISmartCardAppletIdGroupFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISmartCardAppletIdGroupStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1855,7 +1855,7 @@ impl ::core::fmt::Debug for SmartCardAppletIdGroup { } } impl ::windows::core::RuntimeType for SmartCardAppletIdGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAppletIdGroup;{7db165e6-6264-56f4-5e03-c86385395eb1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAppletIdGroup;{7db165e6-6264-56f4-5e03-c86385395eb1})"); } impl ::core::clone::Clone for SmartCardAppletIdGroup { fn clone(&self) -> Self { @@ -1871,7 +1871,7 @@ unsafe impl ::windows::core::Interface for SmartCardAppletIdGroup { impl ::windows::core::RuntimeName for SmartCardAppletIdGroup { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardAppletIdGroup"; } -::windows::core::interface_hierarchy!(SmartCardAppletIdGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardAppletIdGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardAppletIdGroup {} unsafe impl ::core::marker::Sync for SmartCardAppletIdGroup {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -1950,7 +1950,7 @@ impl ::core::fmt::Debug for SmartCardAppletIdGroupRegistration { } } impl ::windows::core::RuntimeType for SmartCardAppletIdGroupRegistration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAppletIdGroupRegistration;{df1208d1-31bb-5596-43b1-6d69a0257b3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAppletIdGroupRegistration;{df1208d1-31bb-5596-43b1-6d69a0257b3a})"); } impl ::core::clone::Clone for SmartCardAppletIdGroupRegistration { fn clone(&self) -> Self { @@ -1966,7 +1966,7 @@ unsafe impl ::windows::core::Interface for SmartCardAppletIdGroupRegistration { impl ::windows::core::RuntimeName for SmartCardAppletIdGroupRegistration { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardAppletIdGroupRegistration"; } -::windows::core::interface_hierarchy!(SmartCardAppletIdGroupRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardAppletIdGroupRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardAppletIdGroupRegistration {} unsafe impl ::core::marker::Sync for SmartCardAppletIdGroupRegistration {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -2125,7 +2125,7 @@ impl SmartCardAutomaticResponseApdu { } #[doc(hidden)] pub fn ISmartCardAutomaticResponseApduFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2141,7 +2141,7 @@ impl ::core::fmt::Debug for SmartCardAutomaticResponseApdu { } } impl ::windows::core::RuntimeType for SmartCardAutomaticResponseApdu { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAutomaticResponseApdu;{52152bab-c63e-4531-a857-d756d99b986a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAutomaticResponseApdu;{52152bab-c63e-4531-a857-d756d99b986a})"); } impl ::core::clone::Clone for SmartCardAutomaticResponseApdu { fn clone(&self) -> Self { @@ -2157,7 +2157,7 @@ unsafe impl ::windows::core::Interface for SmartCardAutomaticResponseApdu { impl ::windows::core::RuntimeName for SmartCardAutomaticResponseApdu { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardAutomaticResponseApdu"; } -::windows::core::interface_hierarchy!(SmartCardAutomaticResponseApdu, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardAutomaticResponseApdu, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardAutomaticResponseApdu {} unsafe impl ::core::marker::Sync for SmartCardAutomaticResponseApdu {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -2246,7 +2246,7 @@ impl ::core::fmt::Debug for SmartCardChallengeContext { } } impl ::windows::core::RuntimeType for SmartCardChallengeContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardChallengeContext;{192a5319-c9c4-4947-81cc-44794a61ef91})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardChallengeContext;{192a5319-c9c4-4947-81cc-44794a61ef91})"); } impl ::core::clone::Clone for SmartCardChallengeContext { fn clone(&self) -> Self { @@ -2262,7 +2262,7 @@ unsafe impl ::windows::core::Interface for SmartCardChallengeContext { impl ::windows::core::RuntimeName for SmartCardChallengeContext { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardChallengeContext"; } -::windows::core::interface_hierarchy!(SmartCardChallengeContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardChallengeContext, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2323,7 +2323,7 @@ impl ::core::fmt::Debug for SmartCardConnection { } } impl ::windows::core::RuntimeType for SmartCardConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardConnection;{7edb991a-a81a-47bc-a649-156be6b7f231})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardConnection;{7edb991a-a81a-47bc-a649-156be6b7f231})"); } impl ::core::clone::Clone for SmartCardConnection { fn clone(&self) -> Self { @@ -2339,7 +2339,7 @@ unsafe impl ::windows::core::Interface for SmartCardConnection { impl ::windows::core::RuntimeName for SmartCardConnection { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardConnection"; } -::windows::core::interface_hierarchy!(SmartCardConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2551,12 +2551,12 @@ impl SmartCardCryptogramGenerator { } #[doc(hidden)] pub fn ISmartCardCryptogramGeneratorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISmartCardCryptogramGeneratorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2572,7 +2572,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramGenerator { } } impl ::windows::core::RuntimeType for SmartCardCryptogramGenerator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGenerator;{e39f587b-edd3-4e49-b594-0ff5e4d0c76f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGenerator;{e39f587b-edd3-4e49-b594-0ff5e4d0c76f})"); } impl ::core::clone::Clone for SmartCardCryptogramGenerator { fn clone(&self) -> Self { @@ -2588,7 +2588,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramGenerator { impl ::windows::core::RuntimeName for SmartCardCryptogramGenerator { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramGenerator"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramGenerator {} unsafe impl ::core::marker::Sync for SmartCardCryptogramGenerator {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -2598,8 +2598,8 @@ impl SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn OperationStatus(&self) -> ::windows::core::Result { @@ -2631,7 +2631,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramGetAllCryptogramMaterialCharacter } } impl ::windows::core::RuntimeType for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult;{2798e029-d687-4c92-86c6-399e9a0ecb09})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult;{2798e029-d687-4c92-86c6-399e9a0ecb09})"); } impl ::core::clone::Clone for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { fn clone(&self) -> Self { @@ -2647,7 +2647,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramGetAllCryptogramMa impl ::windows::core::RuntimeName for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult {} unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -2657,8 +2657,8 @@ impl SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn OperationStatus(&self) -> ::windows::core::Result { @@ -2690,7 +2690,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramGetAllCryptogramMaterialPackageCh } } impl ::windows::core::RuntimeType for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult;{4e6a8a5c-9773-46c4-a32f-b1e543159e04})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult;{4e6a8a5c-9773-46c4-a32f-b1e543159e04})"); } impl ::core::clone::Clone for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { fn clone(&self) -> Self { @@ -2706,7 +2706,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramGetAllCryptogramMa impl ::windows::core::RuntimeName for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult {} unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -2716,8 +2716,8 @@ impl SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn OperationStatus(&self) -> ::windows::core::Result { @@ -2749,7 +2749,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramGetAllCryptogramStorageKeyCharact } } impl ::windows::core::RuntimeType for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult;{8c7ce857-a7e7-489d-b9d6-368061515012})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult;{8c7ce857-a7e7-489d-b9d6-368061515012})"); } impl ::core::clone::Clone for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { fn clone(&self) -> Self { @@ -2765,7 +2765,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramGetAllCryptogramSt impl ::windows::core::RuntimeName for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult {} unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -2775,8 +2775,8 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MaterialName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2854,7 +2854,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramMaterialCharacteristics { } } impl ::windows::core::RuntimeType for SmartCardCryptogramMaterialCharacteristics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialCharacteristics;{fc9ac5cc-c1d7-4153-923b-a2d43c6c8d49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialCharacteristics;{fc9ac5cc-c1d7-4153-923b-a2d43c6c8d49})"); } impl ::core::clone::Clone for SmartCardCryptogramMaterialCharacteristics { fn clone(&self) -> Self { @@ -2870,7 +2870,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramMaterialCharacteri impl ::windows::core::RuntimeName for SmartCardCryptogramMaterialCharacteristics { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramMaterialCharacteristics"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramMaterialCharacteristics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramMaterialCharacteristics, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramMaterialCharacteristics {} unsafe impl ::core::marker::Sync for SmartCardCryptogramMaterialCharacteristics {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -2880,8 +2880,8 @@ impl SmartCardCryptogramMaterialPackageCharacteristics { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn PackageName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2927,7 +2927,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramMaterialPackageCharacteristics { } } impl ::windows::core::RuntimeType for SmartCardCryptogramMaterialPackageCharacteristics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageCharacteristics;{ffb58e1f-0692-4c47-93cf-34d91f9dcd00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageCharacteristics;{ffb58e1f-0692-4c47-93cf-34d91f9dcd00})"); } impl ::core::clone::Clone for SmartCardCryptogramMaterialPackageCharacteristics { fn clone(&self) -> Self { @@ -2943,7 +2943,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramMaterialPackageCha impl ::windows::core::RuntimeName for SmartCardCryptogramMaterialPackageCharacteristics { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageCharacteristics"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramMaterialPackageCharacteristics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramMaterialPackageCharacteristics, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramMaterialPackageCharacteristics {} unsafe impl ::core::marker::Sync for SmartCardCryptogramMaterialPackageCharacteristics {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -2979,7 +2979,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramMaterialPossessionProof { } } impl ::windows::core::RuntimeType for SmartCardCryptogramMaterialPossessionProof { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPossessionProof;{e5b9ab8c-a141-4135-9add-b0d2e3aa1fc9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPossessionProof;{e5b9ab8c-a141-4135-9add-b0d2e3aa1fc9})"); } impl ::core::clone::Clone for SmartCardCryptogramMaterialPossessionProof { fn clone(&self) -> Self { @@ -2995,7 +2995,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramMaterialPossession impl ::windows::core::RuntimeName for SmartCardCryptogramMaterialPossessionProof { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramMaterialPossessionProof"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramMaterialPossessionProof, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramMaterialPossessionProof, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramMaterialPossessionProof {} unsafe impl ::core::marker::Sync for SmartCardCryptogramMaterialPossessionProof {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3005,8 +3005,8 @@ impl SmartCardCryptogramPlacementStep { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Algorithm(&self) -> ::windows::core::Result { @@ -3129,7 +3129,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramPlacementStep { } } impl ::windows::core::RuntimeType for SmartCardCryptogramPlacementStep { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramPlacementStep;{947b03eb-8342-4792-a2e5-925636378a53})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramPlacementStep;{947b03eb-8342-4792-a2e5-925636378a53})"); } impl ::core::clone::Clone for SmartCardCryptogramPlacementStep { fn clone(&self) -> Self { @@ -3145,7 +3145,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramPlacementStep { impl ::windows::core::RuntimeName for SmartCardCryptogramPlacementStep { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramPlacementStep"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramPlacementStep, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramPlacementStep, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramPlacementStep {} unsafe impl ::core::marker::Sync for SmartCardCryptogramPlacementStep {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3155,8 +3155,8 @@ impl SmartCardCryptogramStorageKeyCharacteristics { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn StorageKeyName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3202,7 +3202,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramStorageKeyCharacteristics { } } impl ::windows::core::RuntimeType for SmartCardCryptogramStorageKeyCharacteristics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyCharacteristics;{8552546e-4457-4825-b464-635471a39f5c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyCharacteristics;{8552546e-4457-4825-b464-635471a39f5c})"); } impl ::core::clone::Clone for SmartCardCryptogramStorageKeyCharacteristics { fn clone(&self) -> Self { @@ -3218,7 +3218,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramStorageKeyCharacte impl ::windows::core::RuntimeName for SmartCardCryptogramStorageKeyCharacteristics { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyCharacteristics"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramStorageKeyCharacteristics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramStorageKeyCharacteristics, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramStorageKeyCharacteristics {} unsafe impl ::core::marker::Sync for SmartCardCryptogramStorageKeyCharacteristics {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3302,7 +3302,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramStorageKeyInfo { } } impl ::windows::core::RuntimeType for SmartCardCryptogramStorageKeyInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyInfo;{77b0f00d-b097-4f61-a26a-9561639c9c3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyInfo;{77b0f00d-b097-4f61-a26a-9561639c9c3a})"); } impl ::core::clone::Clone for SmartCardCryptogramStorageKeyInfo { fn clone(&self) -> Self { @@ -3318,7 +3318,7 @@ unsafe impl ::windows::core::Interface for SmartCardCryptogramStorageKeyInfo { impl ::windows::core::RuntimeName for SmartCardCryptogramStorageKeyInfo { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyInfo"; } -::windows::core::interface_hierarchy!(SmartCardCryptogramStorageKeyInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardCryptogramStorageKeyInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardCryptogramStorageKeyInfo {} unsafe impl ::core::marker::Sync for SmartCardCryptogramStorageKeyInfo {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3419,17 +3419,17 @@ impl SmartCardEmulator { } #[doc(hidden)] pub fn ISmartCardEmulatorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISmartCardEmulatorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISmartCardEmulatorStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3445,7 +3445,7 @@ impl ::core::fmt::Debug for SmartCardEmulator { } } impl ::windows::core::RuntimeType for SmartCardEmulator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulator;{dfb906b2-875e-47e5-8077-e8bff1b1c6fb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulator;{dfb906b2-875e-47e5-8077-e8bff1b1c6fb})"); } impl ::core::clone::Clone for SmartCardEmulator { fn clone(&self) -> Self { @@ -3461,7 +3461,7 @@ unsafe impl ::windows::core::Interface for SmartCardEmulator { impl ::windows::core::RuntimeName for SmartCardEmulator { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardEmulator"; } -::windows::core::interface_hierarchy!(SmartCardEmulator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardEmulator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardEmulator {} unsafe impl ::core::marker::Sync for SmartCardEmulator {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3571,7 +3571,7 @@ impl ::core::fmt::Debug for SmartCardEmulatorApduReceivedEventArgs { } } impl ::windows::core::RuntimeType for SmartCardEmulatorApduReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorApduReceivedEventArgs;{d55d1576-69d2-5333-5b5f-f8c0d6e9f09f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorApduReceivedEventArgs;{d55d1576-69d2-5333-5b5f-f8c0d6e9f09f})"); } impl ::core::clone::Clone for SmartCardEmulatorApduReceivedEventArgs { fn clone(&self) -> Self { @@ -3587,7 +3587,7 @@ unsafe impl ::windows::core::Interface for SmartCardEmulatorApduReceivedEventArg impl ::windows::core::RuntimeName for SmartCardEmulatorApduReceivedEventArgs { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardEmulatorApduReceivedEventArgs"; } -::windows::core::interface_hierarchy!(SmartCardEmulatorApduReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardEmulatorApduReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardEmulatorApduReceivedEventArgs {} unsafe impl ::core::marker::Sync for SmartCardEmulatorApduReceivedEventArgs {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3621,7 +3621,7 @@ impl ::core::fmt::Debug for SmartCardEmulatorConnectionDeactivatedEventArgs { } } impl ::windows::core::RuntimeType for SmartCardEmulatorConnectionDeactivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedEventArgs;{2186d8d3-c5eb-5262-43df-62a0a1b55557})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedEventArgs;{2186d8d3-c5eb-5262-43df-62a0a1b55557})"); } impl ::core::clone::Clone for SmartCardEmulatorConnectionDeactivatedEventArgs { fn clone(&self) -> Self { @@ -3637,7 +3637,7 @@ unsafe impl ::windows::core::Interface for SmartCardEmulatorConnectionDeactivate impl ::windows::core::RuntimeName for SmartCardEmulatorConnectionDeactivatedEventArgs { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedEventArgs"; } -::windows::core::interface_hierarchy!(SmartCardEmulatorConnectionDeactivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardEmulatorConnectionDeactivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardEmulatorConnectionDeactivatedEventArgs {} unsafe impl ::core::marker::Sync for SmartCardEmulatorConnectionDeactivatedEventArgs {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3671,7 +3671,7 @@ impl ::core::fmt::Debug for SmartCardEmulatorConnectionProperties { } } impl ::windows::core::RuntimeType for SmartCardEmulatorConnectionProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorConnectionProperties;{4e2ca5ee-f969-507d-6cf9-34e2d18df311})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorConnectionProperties;{4e2ca5ee-f969-507d-6cf9-34e2d18df311})"); } impl ::core::clone::Clone for SmartCardEmulatorConnectionProperties { fn clone(&self) -> Self { @@ -3687,7 +3687,7 @@ unsafe impl ::windows::core::Interface for SmartCardEmulatorConnectionProperties impl ::windows::core::RuntimeName for SmartCardEmulatorConnectionProperties { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardEmulatorConnectionProperties"; } -::windows::core::interface_hierarchy!(SmartCardEmulatorConnectionProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardEmulatorConnectionProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardEmulatorConnectionProperties {} unsafe impl ::core::marker::Sync for SmartCardEmulatorConnectionProperties {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3697,8 +3697,8 @@ impl SmartCardPinPolicy { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MinLength(&self) -> ::windows::core::Result { @@ -3780,7 +3780,7 @@ impl ::core::fmt::Debug for SmartCardPinPolicy { } } impl ::windows::core::RuntimeType for SmartCardPinPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinPolicy;{183ce184-4db6-4841-ac9e-2ac1f39b7304})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinPolicy;{183ce184-4db6-4841-ac9e-2ac1f39b7304})"); } impl ::core::clone::Clone for SmartCardPinPolicy { fn clone(&self) -> Self { @@ -3796,7 +3796,7 @@ unsafe impl ::windows::core::Interface for SmartCardPinPolicy { impl ::windows::core::RuntimeName for SmartCardPinPolicy { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardPinPolicy"; } -::windows::core::interface_hierarchy!(SmartCardPinPolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardPinPolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardPinPolicy {} unsafe impl ::core::marker::Sync for SmartCardPinPolicy {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3820,7 +3820,7 @@ impl ::core::fmt::Debug for SmartCardPinResetDeferral { } } impl ::windows::core::RuntimeType for SmartCardPinResetDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinResetDeferral;{18c94aac-7805-4004-85e4-bbefac8f6884})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinResetDeferral;{18c94aac-7805-4004-85e4-bbefac8f6884})"); } impl ::core::clone::Clone for SmartCardPinResetDeferral { fn clone(&self) -> Self { @@ -3836,7 +3836,7 @@ unsafe impl ::windows::core::Interface for SmartCardPinResetDeferral { impl ::windows::core::RuntimeName for SmartCardPinResetDeferral { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardPinResetDeferral"; } -::windows::core::interface_hierarchy!(SmartCardPinResetDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardPinResetDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardPinResetDeferral {} unsafe impl ::core::marker::Sync for SmartCardPinResetDeferral {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -3891,7 +3891,7 @@ impl ::core::fmt::Debug for SmartCardPinResetRequest { } } impl ::windows::core::RuntimeType for SmartCardPinResetRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinResetRequest;{12fe3c4d-5fb9-4e8e-9ff6-61f475124fef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinResetRequest;{12fe3c4d-5fb9-4e8e-9ff6-61f475124fef})"); } impl ::core::clone::Clone for SmartCardPinResetRequest { fn clone(&self) -> Self { @@ -3907,7 +3907,7 @@ unsafe impl ::windows::core::Interface for SmartCardPinResetRequest { impl ::windows::core::RuntimeName for SmartCardPinResetRequest { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardPinResetRequest"; } -::windows::core::interface_hierarchy!(SmartCardPinResetRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardPinResetRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardPinResetRequest {} unsafe impl ::core::marker::Sync for SmartCardPinResetRequest {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -4041,12 +4041,12 @@ impl SmartCardProvisioning { } #[doc(hidden)] pub fn ISmartCardProvisioningStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISmartCardProvisioningStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4062,7 +4062,7 @@ impl ::core::fmt::Debug for SmartCardProvisioning { } } impl ::windows::core::RuntimeType for SmartCardProvisioning { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardProvisioning;{19eeedbd-1fab-477c-b712-1a2c5af1fd6e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardProvisioning;{19eeedbd-1fab-477c-b712-1a2c5af1fd6e})"); } impl ::core::clone::Clone for SmartCardProvisioning { fn clone(&self) -> Self { @@ -4078,7 +4078,7 @@ unsafe impl ::windows::core::Interface for SmartCardProvisioning { impl ::windows::core::RuntimeName for SmartCardProvisioning { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardProvisioning"; } -::windows::core::interface_hierarchy!(SmartCardProvisioning, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardProvisioning, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardProvisioning {} unsafe impl ::core::marker::Sync for SmartCardProvisioning {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -4176,7 +4176,7 @@ impl SmartCardReader { } #[doc(hidden)] pub fn ISmartCardReaderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4192,7 +4192,7 @@ impl ::core::fmt::Debug for SmartCardReader { } } impl ::windows::core::RuntimeType for SmartCardReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardReader;{1074b4e0-54c2-4df0-817a-14c14378f06c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardReader;{1074b4e0-54c2-4df0-817a-14c14378f06c})"); } impl ::core::clone::Clone for SmartCardReader { fn clone(&self) -> Self { @@ -4208,7 +4208,7 @@ unsafe impl ::windows::core::Interface for SmartCardReader { impl ::windows::core::RuntimeName for SmartCardReader { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardReader"; } -::windows::core::interface_hierarchy!(SmartCardReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardReader {} unsafe impl ::core::marker::Sync for SmartCardReader {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -4285,7 +4285,7 @@ impl ::core::fmt::Debug for SmartCardTriggerDetails { } } impl ::windows::core::RuntimeType for SmartCardTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardTriggerDetails;{5f9bf11e-39ef-4f2b-b44f-0a9155b177bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardTriggerDetails;{5f9bf11e-39ef-4f2b-b44f-0a9155b177bc})"); } impl ::core::clone::Clone for SmartCardTriggerDetails { fn clone(&self) -> Self { @@ -4301,7 +4301,7 @@ unsafe impl ::windows::core::Interface for SmartCardTriggerDetails { impl ::windows::core::RuntimeName for SmartCardTriggerDetails { const NAME: &'static str = "Windows.Devices.SmartCards.SmartCardTriggerDetails"; } -::windows::core::interface_hierarchy!(SmartCardTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmartCardTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmartCardTriggerDetails {} unsafe impl ::core::marker::Sync for SmartCardTriggerDetails {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -4332,7 +4332,7 @@ impl ::core::fmt::Debug for SmartCardActivationPolicyChangeResult { } } impl ::windows::core::RuntimeType for SmartCardActivationPolicyChangeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardActivationPolicyChangeResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardActivationPolicyChangeResult;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4363,7 +4363,7 @@ impl ::core::fmt::Debug for SmartCardAppletIdGroupActivationPolicy { } } impl ::windows::core::RuntimeType for SmartCardAppletIdGroupActivationPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardAppletIdGroupActivationPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardAppletIdGroupActivationPolicy;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4394,7 +4394,7 @@ impl ::core::fmt::Debug for SmartCardAutomaticResponseStatus { } } impl ::windows::core::RuntimeType for SmartCardAutomaticResponseStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardAutomaticResponseStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardAutomaticResponseStatus;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4431,7 +4431,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramAlgorithm { } } impl ::windows::core::RuntimeType for SmartCardCryptogramAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramAlgorithm;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4473,7 +4473,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramGeneratorOperationStatus { } } impl ::windows::core::RuntimeType for SmartCardCryptogramGeneratorOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramGeneratorOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramGeneratorOperationStatus;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4503,7 +4503,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramMaterialPackageConfirmationRespon } } impl ::windows::core::RuntimeType for SmartCardCryptogramMaterialPackageConfirmationResponseFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageConfirmationResponseFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageConfirmationResponseFormat;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4533,7 +4533,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramMaterialPackageFormat { } } impl ::windows::core::RuntimeType for SmartCardCryptogramMaterialPackageFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageFormat;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4563,7 +4563,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramMaterialProtectionMethod { } } impl ::windows::core::RuntimeType for SmartCardCryptogramMaterialProtectionMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramMaterialProtectionMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramMaterialProtectionMethod;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4596,7 +4596,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramMaterialType { } } impl ::windows::core::RuntimeType for SmartCardCryptogramMaterialType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramMaterialType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramMaterialType;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4660,7 +4660,7 @@ impl ::core::ops::Not for SmartCardCryptogramPlacementOptions { } } impl ::windows::core::RuntimeType for SmartCardCryptogramPlacementOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramPlacementOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramPlacementOptions;u4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4690,7 +4690,7 @@ impl ::core::fmt::Debug for SmartCardCryptogramStorageKeyAlgorithm { } } impl ::windows::core::RuntimeType for SmartCardCryptogramStorageKeyAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyAlgorithm;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4754,7 +4754,7 @@ impl ::core::ops::Not for SmartCardCryptogramStorageKeyCapabilities { } } impl ::windows::core::RuntimeType for SmartCardCryptogramStorageKeyCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyCapabilities;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyCapabilities;u4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4790,7 +4790,7 @@ impl ::core::fmt::Debug for SmartCardCryptographicKeyAttestationStatus { } } impl ::windows::core::RuntimeType for SmartCardCryptographicKeyAttestationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptographicKeyAttestationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardCryptographicKeyAttestationStatus;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4820,7 +4820,7 @@ impl ::core::fmt::Debug for SmartCardEmulationCategory { } } impl ::windows::core::RuntimeType for SmartCardEmulationCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulationCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulationCategory;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4851,7 +4851,7 @@ impl ::core::fmt::Debug for SmartCardEmulationType { } } impl ::windows::core::RuntimeType for SmartCardEmulationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulationType;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4881,7 +4881,7 @@ impl ::core::fmt::Debug for SmartCardEmulatorConnectionDeactivatedReason { } } impl ::windows::core::RuntimeType for SmartCardEmulatorConnectionDeactivatedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedReason;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4911,7 +4911,7 @@ impl ::core::fmt::Debug for SmartCardEmulatorConnectionSource { } } impl ::windows::core::RuntimeType for SmartCardEmulatorConnectionSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulatorConnectionSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulatorConnectionSource;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4943,7 +4943,7 @@ impl ::core::fmt::Debug for SmartCardEmulatorEnablementPolicy { } } impl ::windows::core::RuntimeType for SmartCardEmulatorEnablementPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulatorEnablementPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardEmulatorEnablementPolicy;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -4973,7 +4973,7 @@ impl ::core::fmt::Debug for SmartCardLaunchBehavior { } } impl ::windows::core::RuntimeType for SmartCardLaunchBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardLaunchBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardLaunchBehavior;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -5004,7 +5004,7 @@ impl ::core::fmt::Debug for SmartCardPinCharacterPolicyOption { } } impl ::windows::core::RuntimeType for SmartCardPinCharacterPolicyOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardPinCharacterPolicyOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardPinCharacterPolicyOption;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -5038,7 +5038,7 @@ impl ::core::fmt::Debug for SmartCardReaderKind { } } impl ::windows::core::RuntimeType for SmartCardReaderKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardReaderKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardReaderKind;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -5069,7 +5069,7 @@ impl ::core::fmt::Debug for SmartCardReaderStatus { } } impl ::windows::core::RuntimeType for SmartCardReaderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardReaderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardReaderStatus;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -5102,7 +5102,7 @@ impl ::core::fmt::Debug for SmartCardStatus { } } impl ::windows::core::RuntimeType for SmartCardStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardStatus;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -5136,7 +5136,7 @@ impl ::core::fmt::Debug for SmartCardTriggerType { } } impl ::windows::core::RuntimeType for SmartCardTriggerType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardTriggerType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardTriggerType;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] @@ -5167,15 +5167,15 @@ impl ::core::fmt::Debug for SmartCardUnlockPromptingBehavior { } } impl ::windows::core::RuntimeType for SmartCardUnlockPromptingBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardUnlockPromptingBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardUnlockPromptingBehavior;i4)"); } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] pub struct SmartCardPinResetHandler(pub ::windows::core::IUnknown); impl SmartCardPinResetHandler { pub fn new, ::core::option::Option<&SmartCardPinResetRequest>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = SmartCardPinResetHandlerBox:: { vtable: &SmartCardPinResetHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = SmartCardPinResetHandlerBox:: { vtable: &SmartCardPinResetHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &SmartCardProvisioning, request: &SmartCardPinResetRequest) -> ::windows::core::Result<()> { let this = self; @@ -5186,7 +5186,7 @@ impl SmartCardPinResetHandler { struct SmartCardPinResetHandlerBox, ::core::option::Option<&SmartCardPinResetRequest>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const SmartCardPinResetHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&SmartCardPinResetRequest>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> SmartCardPinResetHandlerBox { const VTABLE: SmartCardPinResetHandler_Vtbl = SmartCardPinResetHandler_Vtbl { @@ -5195,7 +5195,7 @@ impl, ::core::option::Op }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -5211,7 +5211,7 @@ impl, ::core::option::Op let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -5243,7 +5243,7 @@ unsafe impl ::windows::core::Interface for SmartCardPinResetHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x138d5e40_f3bc_4a5c_b41d_4b4ef684e237); } impl ::windows::core::RuntimeType for SmartCardPinResetHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{138d5e40-f3bc-4a5c-b41d-4b4ef684e237}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{138d5e40-f3bc-4a5c-b41d-4b4ef684e237}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 6950d35fad..b0d7ad1dae 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -100,7 +100,7 @@ impl ISmsBinaryMessage { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(ISmsBinaryMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISmsBinaryMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for ISmsMessage { type Error = ::windows::core::Error; @@ -139,7 +139,7 @@ impl ::core::fmt::Debug for ISmsBinaryMessage { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for ISmsBinaryMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5bf4e813-3b53-4c6e-b61a-d86a63755650}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5bf4e813-3b53-4c6e-b61a-d86a63755650}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for ISmsBinaryMessage { @@ -305,7 +305,7 @@ impl ISmsDevice { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(ISmsDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISmsDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for ISmsDevice { fn eq(&self, other: &Self) -> bool { @@ -322,7 +322,7 @@ impl ::core::fmt::Debug for ISmsDevice { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for ISmsDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{091791ed-872b-4eec-9c72-ab11627b34ec}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{091791ed-872b-4eec-9c72-ab11627b34ec}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for ISmsDevice { @@ -703,7 +703,7 @@ impl ISmsMessage { } } } -::windows::core::interface_hierarchy!(ISmsMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISmsMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISmsMessage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -716,7 +716,7 @@ impl ::core::fmt::Debug for ISmsMessage { } } impl ::windows::core::RuntimeType for ISmsMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ed3c5e28-6984-4b07-811d-8d5906ed3cea}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ed3c5e28-6984-4b07-811d-8d5906ed3cea}"); } unsafe impl ::windows::core::Vtable for ISmsMessage { type Vtable = ISmsMessage_Vtbl; @@ -776,7 +776,7 @@ impl ISmsMessageBase { } } } -::windows::core::interface_hierarchy!(ISmsMessageBase, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISmsMessageBase, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISmsMessageBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -789,7 +789,7 @@ impl ::core::fmt::Debug for ISmsMessageBase { } } impl ::windows::core::RuntimeType for ISmsMessageBase { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2cf0fe30-fe50-4fc6-aa88-4ccfe27a29ea}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2cf0fe30-fe50-4fc6-aa88-4ccfe27a29ea}"); } unsafe impl ::windows::core::Vtable for ISmsMessageBase { type Vtable = ISmsMessageBase_Vtbl; @@ -1177,7 +1177,7 @@ impl ISmsTextMessage { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(ISmsTextMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISmsTextMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for ISmsMessage { type Error = ::windows::core::Error; @@ -1216,7 +1216,7 @@ impl ::core::fmt::Debug for ISmsTextMessage { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for ISmsTextMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d61c904c-a495-487f-9a6f-971548c5bc9f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d61c904c-a495-487f-9a6f-971548c5bc9f}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for ISmsTextMessage { @@ -1507,7 +1507,7 @@ impl ::core::fmt::Debug for DeleteSmsMessageOperation { } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows::core::RuntimeType for DeleteSmsMessageOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.DeleteSmsMessageOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.DeleteSmsMessageOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::clone::Clone for DeleteSmsMessageOperation { @@ -1531,7 +1531,7 @@ impl ::windows::core::RuntimeName for DeleteSmsMessageOperation { impl DeleteSmsMessageOperation { pub fn get(&self) -> ::windows::core::Result<()> { if self.Status()? == super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::Foundation::AsyncActionCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -1559,7 +1559,7 @@ impl ::std::future::Future for DeleteSmsMessageOperation { } } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(DeleteSmsMessageOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeleteSmsMessageOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncAction { type Error = ::windows::core::Error; @@ -1687,7 +1687,7 @@ impl ::core::fmt::Debug for DeleteSmsMessagesOperation { } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows::core::RuntimeType for DeleteSmsMessagesOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.DeleteSmsMessagesOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.DeleteSmsMessagesOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::clone::Clone for DeleteSmsMessagesOperation { @@ -1711,7 +1711,7 @@ impl ::windows::core::RuntimeName for DeleteSmsMessagesOperation { impl DeleteSmsMessagesOperation { pub fn get(&self) -> ::windows::core::Result<()> { if self.Status()? == super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::Foundation::AsyncActionCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -1739,7 +1739,7 @@ impl ::std::future::Future for DeleteSmsMessagesOperation { } } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(DeleteSmsMessagesOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeleteSmsMessagesOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncAction { type Error = ::windows::core::Error; @@ -1870,7 +1870,7 @@ impl ::core::fmt::Debug for GetSmsDeviceOperation { } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows::core::RuntimeType for GetSmsDeviceOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsDeviceOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Devices.Sms.SmsDevice;{091791ed-872b-4eec-9c72-ab11627b34ec})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsDeviceOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Devices.Sms.SmsDevice;{091791ed-872b-4eec-9c72-ab11627b34ec})))"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::clone::Clone for GetSmsDeviceOperation { @@ -1894,7 +1894,7 @@ impl ::windows::core::RuntimeName for GetSmsDeviceOperation { impl GetSmsDeviceOperation { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::Foundation::AsyncOperationCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -1922,7 +1922,7 @@ impl ::std::future::Future for GetSmsDeviceOperation { } } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(GetSmsDeviceOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GetSmsDeviceOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncInfo { type Error = ::windows::core::Error; @@ -2053,7 +2053,7 @@ impl ::core::fmt::Debug for GetSmsMessageOperation { } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows::core::RuntimeType for GetSmsMessageOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsMessageOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};{ed3c5e28-6984-4b07-811d-8d5906ed3cea}))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsMessageOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};{ed3c5e28-6984-4b07-811d-8d5906ed3cea}))"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::clone::Clone for GetSmsMessageOperation { @@ -2077,7 +2077,7 @@ impl ::windows::core::RuntimeName for GetSmsMessageOperation { impl GetSmsMessageOperation { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::Foundation::AsyncOperationCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -2105,7 +2105,7 @@ impl ::std::future::Future for GetSmsMessageOperation { } } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(GetSmsMessageOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GetSmsMessageOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncInfo { type Error = ::windows::core::Error; @@ -2251,7 +2251,7 @@ impl ::core::fmt::Debug for GetSmsMessagesOperation { } #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ::windows::core::RuntimeType for GetSmsMessagesOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsMessagesOperation;pinterface({b5d036d7-e297-498f-ba60-0289e76e23dd};pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};{ed3c5e28-6984-4b07-811d-8d5906ed3cea});i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsMessagesOperation;pinterface({b5d036d7-e297-498f-ba60-0289e76e23dd};pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};{ed3c5e28-6984-4b07-811d-8d5906ed3cea});i4))"); } #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ::core::clone::Clone for GetSmsMessagesOperation { @@ -2275,7 +2275,7 @@ impl ::windows::core::RuntimeName for GetSmsMessagesOperation { impl GetSmsMessagesOperation { pub fn get(&self) -> ::windows::core::Result> { if self.Status()? == super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::Foundation::AsyncOperationWithProgressCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -2303,7 +2303,7 @@ impl ::std::future::Future for GetSmsMessagesOperation { } } #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] -::windows::core::interface_hierarchy!(GetSmsMessagesOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GetSmsMessagesOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncInfo { type Error = ::windows::core::Error; @@ -2431,7 +2431,7 @@ impl ::core::fmt::Debug for SendSmsMessageOperation { } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows::core::RuntimeType for SendSmsMessageOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SendSmsMessageOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SendSmsMessageOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::clone::Clone for SendSmsMessageOperation { @@ -2455,7 +2455,7 @@ impl ::windows::core::RuntimeName for SendSmsMessageOperation { impl SendSmsMessageOperation { pub fn get(&self) -> ::windows::core::Result<()> { if self.Status()? == super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::Foundation::AsyncActionCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -2483,7 +2483,7 @@ impl ::std::future::Future for SendSmsMessageOperation { } } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(SendSmsMessageOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SendSmsMessageOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncAction { type Error = ::windows::core::Error; @@ -2535,8 +2535,8 @@ impl SmsAppMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2721,7 +2721,7 @@ impl ::core::fmt::Debug for SmsAppMessage { } } impl ::windows::core::RuntimeType for SmsAppMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsAppMessage;{e8bb8494-d3a0-4a0a-86d7-291033a8cf54})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsAppMessage;{e8bb8494-d3a0-4a0a-86d7-291033a8cf54})"); } impl ::core::clone::Clone for SmsAppMessage { fn clone(&self) -> Self { @@ -2737,7 +2737,7 @@ unsafe impl ::windows::core::Interface for SmsAppMessage { impl ::windows::core::RuntimeName for SmsAppMessage { const NAME: &'static str = "Windows.Devices.Sms.SmsAppMessage"; } -::windows::core::interface_hierarchy!(SmsAppMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsAppMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISmsMessageBase { type Error = ::windows::core::Error; fn try_from(value: SmsAppMessage) -> ::windows::core::Result { @@ -2768,8 +2768,8 @@ impl SmsBinaryMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"deprecated\"`*"] @@ -2833,7 +2833,7 @@ impl ::core::fmt::Debug for SmsBinaryMessage { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsBinaryMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsBinaryMessage;{5bf4e813-3b53-4c6e-b61a-d86a63755650})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsBinaryMessage;{5bf4e813-3b53-4c6e-b61a-d86a63755650})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SmsBinaryMessage { @@ -2854,7 +2854,7 @@ impl ::windows::core::RuntimeName for SmsBinaryMessage { const NAME: &'static str = "Windows.Devices.Sms.SmsBinaryMessage"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SmsBinaryMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsBinaryMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for ISmsBinaryMessage { type Error = ::windows::core::Error; @@ -3027,7 +3027,7 @@ impl ::core::fmt::Debug for SmsBroadcastMessage { } } impl ::windows::core::RuntimeType for SmsBroadcastMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsBroadcastMessage;{75aebbf1-e4b7-4874-a09c-2956e592f957})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsBroadcastMessage;{75aebbf1-e4b7-4874-a09c-2956e592f957})"); } impl ::core::clone::Clone for SmsBroadcastMessage { fn clone(&self) -> Self { @@ -3043,7 +3043,7 @@ unsafe impl ::windows::core::Interface for SmsBroadcastMessage { impl ::windows::core::RuntimeName for SmsBroadcastMessage { const NAME: &'static str = "Windows.Devices.Sms.SmsBroadcastMessage"; } -::windows::core::interface_hierarchy!(SmsBroadcastMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsBroadcastMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISmsMessageBase { type Error = ::windows::core::Error; fn try_from(value: SmsBroadcastMessage) -> ::windows::core::Result { @@ -3194,13 +3194,13 @@ impl SmsDevice { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn ISmsDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn ISmsDeviceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3220,7 +3220,7 @@ impl ::core::fmt::Debug for SmsDevice { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDevice;{091791ed-872b-4eec-9c72-ab11627b34ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDevice;{091791ed-872b-4eec-9c72-ab11627b34ec})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SmsDevice { @@ -3241,7 +3241,7 @@ impl ::windows::core::RuntimeName for SmsDevice { const NAME: &'static str = "Windows.Devices.Sms.SmsDevice"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SmsDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for ISmsDevice { type Error = ::windows::core::Error; @@ -3379,7 +3379,7 @@ impl SmsDevice2 { } #[doc(hidden)] pub fn ISmsDevice2Statics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3395,7 +3395,7 @@ impl ::core::fmt::Debug for SmsDevice2 { } } impl ::windows::core::RuntimeType for SmsDevice2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDevice2;{bd8a5c13-e522-46cb-b8d5-9ead30fb6c47})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDevice2;{bd8a5c13-e522-46cb-b8d5-9ead30fb6c47})"); } impl ::core::clone::Clone for SmsDevice2 { fn clone(&self) -> Self { @@ -3411,7 +3411,7 @@ unsafe impl ::windows::core::Interface for SmsDevice2 { impl ::windows::core::RuntimeName for SmsDevice2 { const NAME: &'static str = "Windows.Devices.Sms.SmsDevice2"; } -::windows::core::interface_hierarchy!(SmsDevice2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsDevice2, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -3480,7 +3480,7 @@ impl ::core::fmt::Debug for SmsDeviceMessageStore { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsDeviceMessageStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDeviceMessageStore;{9889f253-f188-4427-8d54-ce0c2423c5c1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDeviceMessageStore;{9889f253-f188-4427-8d54-ce0c2423c5c1})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SmsDeviceMessageStore { @@ -3501,7 +3501,7 @@ impl ::windows::core::RuntimeName for SmsDeviceMessageStore { const NAME: &'static str = "Windows.Devices.Sms.SmsDeviceMessageStore"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SmsDeviceMessageStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsDeviceMessageStore, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] pub struct SmsFilterRule(::windows::core::IUnknown); @@ -3631,7 +3631,7 @@ impl SmsFilterRule { } #[doc(hidden)] pub fn ISmsFilterRuleFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3647,7 +3647,7 @@ impl ::core::fmt::Debug for SmsFilterRule { } } impl ::windows::core::RuntimeType for SmsFilterRule { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsFilterRule;{40e32fae-b049-4fbc-afe9-e2a610eff55c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsFilterRule;{40e32fae-b049-4fbc-afe9-e2a610eff55c})"); } impl ::core::clone::Clone for SmsFilterRule { fn clone(&self) -> Self { @@ -3663,7 +3663,7 @@ unsafe impl ::windows::core::Interface for SmsFilterRule { impl ::windows::core::RuntimeName for SmsFilterRule { const NAME: &'static str = "Windows.Devices.Sms.SmsFilterRule"; } -::windows::core::interface_hierarchy!(SmsFilterRule, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsFilterRule, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmsFilterRule {} unsafe impl ::core::marker::Sync for SmsFilterRule {} #[doc = "*Required features: `\"Devices_Sms\"`*"] @@ -3694,7 +3694,7 @@ impl SmsFilterRules { } #[doc(hidden)] pub fn ISmsFilterRulesFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3710,7 +3710,7 @@ impl ::core::fmt::Debug for SmsFilterRules { } } impl ::windows::core::RuntimeType for SmsFilterRules { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsFilterRules;{4e47eafb-79cd-4881-9894-55a4135b23fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsFilterRules;{4e47eafb-79cd-4881-9894-55a4135b23fa})"); } impl ::core::clone::Clone for SmsFilterRules { fn clone(&self) -> Self { @@ -3726,7 +3726,7 @@ unsafe impl ::windows::core::Interface for SmsFilterRules { impl ::windows::core::RuntimeName for SmsFilterRules { const NAME: &'static str = "Windows.Devices.Sms.SmsFilterRules"; } -::windows::core::interface_hierarchy!(SmsFilterRules, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsFilterRules, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmsFilterRules {} unsafe impl ::core::marker::Sync for SmsFilterRules {} #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] @@ -3770,7 +3770,7 @@ impl ::core::fmt::Debug for SmsMessageReceivedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsMessageReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageReceivedEventArgs;{08e80a98-b8e5-41c1-a3d8-d3abfae22675})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageReceivedEventArgs;{08e80a98-b8e5-41c1-a3d8-d3abfae22675})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SmsMessageReceivedEventArgs { @@ -3791,7 +3791,7 @@ impl ::windows::core::RuntimeName for SmsMessageReceivedEventArgs { const NAME: &'static str = "Windows.Devices.Sms.SmsMessageReceivedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SmsMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] pub struct SmsMessageReceivedTriggerDetails(::windows::core::IUnknown); @@ -3866,7 +3866,7 @@ impl ::core::fmt::Debug for SmsMessageReceivedTriggerDetails { } } impl ::windows::core::RuntimeType for SmsMessageReceivedTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageReceivedTriggerDetails;{2bcfcbd4-2657-4128-ad5f-e3877132bdb1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageReceivedTriggerDetails;{2bcfcbd4-2657-4128-ad5f-e3877132bdb1})"); } impl ::core::clone::Clone for SmsMessageReceivedTriggerDetails { fn clone(&self) -> Self { @@ -3882,7 +3882,7 @@ unsafe impl ::windows::core::Interface for SmsMessageReceivedTriggerDetails { impl ::windows::core::RuntimeName for SmsMessageReceivedTriggerDetails { const NAME: &'static str = "Windows.Devices.Sms.SmsMessageReceivedTriggerDetails"; } -::windows::core::interface_hierarchy!(SmsMessageReceivedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsMessageReceivedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmsMessageReceivedTriggerDetails {} unsafe impl ::core::marker::Sync for SmsMessageReceivedTriggerDetails {} #[doc = "*Required features: `\"Devices_Sms\"`*"] @@ -3931,7 +3931,7 @@ impl SmsMessageRegistration { } #[doc(hidden)] pub fn ISmsMessageRegistrationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3947,7 +3947,7 @@ impl ::core::fmt::Debug for SmsMessageRegistration { } } impl ::windows::core::RuntimeType for SmsMessageRegistration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageRegistration;{1720503e-f34f-446b-83b3-0ff19923b409})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageRegistration;{1720503e-f34f-446b-83b3-0ff19923b409})"); } impl ::core::clone::Clone for SmsMessageRegistration { fn clone(&self) -> Self { @@ -3963,7 +3963,7 @@ unsafe impl ::windows::core::Interface for SmsMessageRegistration { impl ::windows::core::RuntimeName for SmsMessageRegistration { const NAME: &'static str = "Windows.Devices.Sms.SmsMessageRegistration"; } -::windows::core::interface_hierarchy!(SmsMessageRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsMessageRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -4023,7 +4023,7 @@ impl ::core::fmt::Debug for SmsReceivedEventDetails { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsReceivedEventDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsReceivedEventDetails;{5bb50f15-e46d-4c82-847d-5a0304c1d53d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsReceivedEventDetails;{5bb50f15-e46d-4c82-847d-5a0304c1d53d})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SmsReceivedEventDetails { @@ -4044,7 +4044,7 @@ impl ::windows::core::RuntimeName for SmsReceivedEventDetails { const NAME: &'static str = "Windows.Devices.Sms.SmsReceivedEventDetails"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SmsReceivedEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsReceivedEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for SmsReceivedEventDetails {} #[cfg(feature = "deprecated")] @@ -4117,7 +4117,7 @@ impl ::core::fmt::Debug for SmsSendMessageResult { } } impl ::windows::core::RuntimeType for SmsSendMessageResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsSendMessageResult;{db139af2-78c9-4feb-9622-452328088d62})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsSendMessageResult;{db139af2-78c9-4feb-9622-452328088d62})"); } impl ::core::clone::Clone for SmsSendMessageResult { fn clone(&self) -> Self { @@ -4133,7 +4133,7 @@ unsafe impl ::windows::core::Interface for SmsSendMessageResult { impl ::windows::core::RuntimeName for SmsSendMessageResult { const NAME: &'static str = "Windows.Devices.Sms.SmsSendMessageResult"; } -::windows::core::interface_hierarchy!(SmsSendMessageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsSendMessageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SmsSendMessageResult {} unsafe impl ::core::marker::Sync for SmsSendMessageResult {} #[doc = "*Required features: `\"Devices_Sms\"`*"] @@ -4241,7 +4241,7 @@ impl ::core::fmt::Debug for SmsStatusMessage { } } impl ::windows::core::RuntimeType for SmsStatusMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsStatusMessage;{e6d28342-b70b-4677-9379-c9783fdff8f4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsStatusMessage;{e6d28342-b70b-4677-9379-c9783fdff8f4})"); } impl ::core::clone::Clone for SmsStatusMessage { fn clone(&self) -> Self { @@ -4257,7 +4257,7 @@ unsafe impl ::windows::core::Interface for SmsStatusMessage { impl ::windows::core::RuntimeName for SmsStatusMessage { const NAME: &'static str = "Windows.Devices.Sms.SmsStatusMessage"; } -::windows::core::interface_hierarchy!(SmsStatusMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsStatusMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISmsMessageBase { type Error = ::windows::core::Error; fn try_from(value: SmsStatusMessage) -> ::windows::core::Result { @@ -4288,8 +4288,8 @@ impl SmsTextMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result { @@ -4430,7 +4430,7 @@ impl SmsTextMessage { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn ISmsTextMessageStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4450,7 +4450,7 @@ impl ::core::fmt::Debug for SmsTextMessage { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsTextMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsTextMessage;{d61c904c-a495-487f-9a6f-971548c5bc9f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsTextMessage;{d61c904c-a495-487f-9a6f-971548c5bc9f})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SmsTextMessage { @@ -4471,7 +4471,7 @@ impl ::windows::core::RuntimeName for SmsTextMessage { const NAME: &'static str = "Windows.Devices.Sms.SmsTextMessage"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SmsTextMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsTextMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for ISmsMessage { type Error = ::windows::core::Error; @@ -4527,8 +4527,8 @@ impl SmsTextMessage2 { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MessageType(&self) -> ::windows::core::Result { @@ -4675,7 +4675,7 @@ impl ::core::fmt::Debug for SmsTextMessage2 { } } impl ::windows::core::RuntimeType for SmsTextMessage2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsTextMessage2;{22a0d893-4555-4755-b5a1-e7fd84955f8d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsTextMessage2;{22a0d893-4555-4755-b5a1-e7fd84955f8d})"); } impl ::core::clone::Clone for SmsTextMessage2 { fn clone(&self) -> Self { @@ -4691,7 +4691,7 @@ unsafe impl ::windows::core::Interface for SmsTextMessage2 { impl ::windows::core::RuntimeName for SmsTextMessage2 { const NAME: &'static str = "Windows.Devices.Sms.SmsTextMessage2"; } -::windows::core::interface_hierarchy!(SmsTextMessage2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsTextMessage2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISmsMessageBase { type Error = ::windows::core::Error; fn try_from(value: SmsTextMessage2) -> ::windows::core::Result { @@ -4797,7 +4797,7 @@ impl ::core::fmt::Debug for SmsVoicemailMessage { } } impl ::windows::core::RuntimeType for SmsVoicemailMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsVoicemailMessage;{271aa0a6-95b1-44ff-bcb8-b8fdd7e08bc3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsVoicemailMessage;{271aa0a6-95b1-44ff-bcb8-b8fdd7e08bc3})"); } impl ::core::clone::Clone for SmsVoicemailMessage { fn clone(&self) -> Self { @@ -4813,7 +4813,7 @@ unsafe impl ::windows::core::Interface for SmsVoicemailMessage { impl ::windows::core::RuntimeName for SmsVoicemailMessage { const NAME: &'static str = "Windows.Devices.Sms.SmsVoicemailMessage"; } -::windows::core::interface_hierarchy!(SmsVoicemailMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsVoicemailMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISmsMessageBase { type Error = ::windows::core::Error; fn try_from(value: SmsVoicemailMessage) -> ::windows::core::Result { @@ -4942,7 +4942,7 @@ impl ::core::fmt::Debug for SmsWapMessage { } } impl ::windows::core::RuntimeType for SmsWapMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsWapMessage;{cd937743-7a55-4d3b-9021-f22e022d09c5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsWapMessage;{cd937743-7a55-4d3b-9021-f22e022d09c5})"); } impl ::core::clone::Clone for SmsWapMessage { fn clone(&self) -> Self { @@ -4958,7 +4958,7 @@ unsafe impl ::windows::core::Interface for SmsWapMessage { impl ::windows::core::RuntimeName for SmsWapMessage { const NAME: &'static str = "Windows.Devices.Sms.SmsWapMessage"; } -::windows::core::interface_hierarchy!(SmsWapMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SmsWapMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISmsMessageBase { type Error = ::windows::core::Error; fn try_from(value: SmsWapMessage) -> ::windows::core::Result { @@ -5009,7 +5009,7 @@ impl ::core::fmt::Debug for CellularClass { } } impl ::windows::core::RuntimeType for CellularClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.CellularClass;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.CellularClass;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5052,7 +5052,7 @@ impl ::core::fmt::Debug for SmsBroadcastType { } } impl ::windows::core::RuntimeType for SmsBroadcastType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsBroadcastType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsBroadcastType;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5085,7 +5085,7 @@ impl ::core::fmt::Debug for SmsDataFormat { } } impl ::windows::core::RuntimeType for SmsDataFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsDataFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsDataFormat;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5121,7 +5121,7 @@ impl ::core::fmt::Debug for SmsDeviceStatus { } } impl ::windows::core::RuntimeType for SmsDeviceStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsDeviceStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsDeviceStatus;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5160,7 +5160,7 @@ impl ::core::fmt::Debug for SmsEncoding { } } impl ::windows::core::RuntimeType for SmsEncoding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsEncoding;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsEncoding;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5192,7 +5192,7 @@ impl ::core::fmt::Debug for SmsFilterActionType { } } impl ::windows::core::RuntimeType for SmsFilterActionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsFilterActionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsFilterActionType;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5225,7 +5225,7 @@ impl ::core::fmt::Debug for SmsGeographicalScope { } } impl ::windows::core::RuntimeType for SmsGeographicalScope { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsGeographicalScope;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsGeographicalScope;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5258,7 +5258,7 @@ impl ::core::fmt::Debug for SmsMessageClass { } } impl ::windows::core::RuntimeType for SmsMessageClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsMessageClass;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsMessageClass;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -5299,7 +5299,7 @@ impl ::core::fmt::Debug for SmsMessageFilter { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsMessageFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsMessageFilter;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsMessageFilter;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5334,7 +5334,7 @@ impl ::core::fmt::Debug for SmsMessageType { } } impl ::windows::core::RuntimeType for SmsMessageType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsMessageType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsMessageType;i4)"); } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] @@ -5374,7 +5374,7 @@ impl ::core::fmt::Debug for SmsModemErrorCode { } } impl ::windows::core::RuntimeType for SmsModemErrorCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsModemErrorCode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Sms.SmsModemErrorCode;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Devices_Sms\"`*"] @@ -5400,7 +5400,7 @@ impl ::windows::core::TypeKind for SmsEncodedLength { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for SmsEncodedLength { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Devices.Sms.SmsEncodedLength;u4;u4;u4;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Devices.Sms.SmsEncodedLength;u4;u4;u4;u4;u4)"); } impl ::core::cmp::PartialEq for SmsEncodedLength { fn eq(&self, other: &Self) -> bool { @@ -5420,8 +5420,8 @@ pub struct SmsDeviceStatusChangedEventHandler(pub ::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl SmsDeviceStatusChangedEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = SmsDeviceStatusChangedEventHandlerBox:: { vtable: &SmsDeviceStatusChangedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = SmsDeviceStatusChangedEventHandlerBox:: { vtable: &SmsDeviceStatusChangedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -5435,7 +5435,7 @@ impl SmsDeviceStatusChangedEventHandler { struct SmsDeviceStatusChangedEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const SmsDeviceStatusChangedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "deprecated")] impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> SmsDeviceStatusChangedEventHandlerBox { @@ -5445,7 +5445,7 @@ impl) -> ::windows::core::Result<()> }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -5461,7 +5461,7 @@ impl) -> ::windows::core::Result<()> let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -5500,7 +5500,7 @@ unsafe impl ::windows::core::Interface for SmsDeviceStatusChangedEventHandler { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsDeviceStatusChangedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{982b1162-3dd7-4618-af89-0c272d5d06d8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{982b1162-3dd7-4618-af89-0c272d5d06d8}"); } #[cfg(feature = "deprecated")] #[repr(C)] @@ -5519,8 +5519,8 @@ pub struct SmsMessageReceivedEventHandler(pub ::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl SmsMessageReceivedEventHandler { pub fn new, ::core::option::Option<&SmsMessageReceivedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = SmsMessageReceivedEventHandlerBox:: { vtable: &SmsMessageReceivedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = SmsMessageReceivedEventHandlerBox:: { vtable: &SmsMessageReceivedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -5534,7 +5534,7 @@ impl SmsMessageReceivedEventHandler { struct SmsMessageReceivedEventHandlerBox, ::core::option::Option<&SmsMessageReceivedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const SmsMessageReceivedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "deprecated")] impl, ::core::option::Option<&SmsMessageReceivedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> SmsMessageReceivedEventHandlerBox { @@ -5544,7 +5544,7 @@ impl, ::core::option::Option<&SmsMes }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -5560,7 +5560,7 @@ impl, ::core::option::Option<&SmsMes let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -5599,7 +5599,7 @@ unsafe impl ::windows::core::Interface for SmsMessageReceivedEventHandler { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SmsMessageReceivedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0b7ad409-ec2d-47ce-a253-732beeebcacd}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0b7ad409-ec2d-47ce-a253-732beeebcacd}"); } #[cfg(feature = "deprecated")] #[repr(C)] diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs index d302642959..cb8cbd0f88 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs @@ -59,7 +59,7 @@ impl ISpiControllerProvider { } } } -::windows::core::interface_hierarchy!(ISpiControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISpiControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISpiControllerProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -72,7 +72,7 @@ impl ::core::fmt::Debug for ISpiControllerProvider { } } impl ::windows::core::RuntimeType for ISpiControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c1686504-02ce-4226-a385-4f11fb04b41b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c1686504-02ce-4226-a385-4f11fb04b41b}"); } unsafe impl ::windows::core::Vtable for ISpiControllerProvider { type Vtable = ISpiControllerProvider_Vtbl; @@ -132,7 +132,7 @@ impl ISpiDeviceProvider { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(ISpiDeviceProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISpiDeviceProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -167,7 +167,7 @@ impl ::core::fmt::Debug for ISpiDeviceProvider { } } impl ::windows::core::RuntimeType for ISpiDeviceProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0d1c3443-304b-405c-b4f7-f5ab1074461e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0d1c3443-304b-405c-b4f7-f5ab1074461e}"); } unsafe impl ::windows::core::Vtable for ISpiDeviceProvider { type Vtable = ISpiDeviceProvider_Vtbl; @@ -205,7 +205,7 @@ impl ISpiProvider { } } } -::windows::core::interface_hierarchy!(ISpiProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISpiProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISpiProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -218,7 +218,7 @@ impl ::core::fmt::Debug for ISpiProvider { } } impl ::windows::core::RuntimeType for ISpiProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{96b461e2-77d4-48ce-aaa0-75715a8362cf}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{96b461e2-77d4-48ce-aaa0-75715a8362cf}"); } unsafe impl ::windows::core::Vtable for ISpiProvider { type Vtable = ISpiProvider_Vtbl; @@ -307,7 +307,7 @@ impl ProviderSpiConnectionSettings { } #[doc(hidden)] pub fn IProviderSpiConnectionSettingsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -323,7 +323,7 @@ impl ::core::fmt::Debug for ProviderSpiConnectionSettings { } } impl ::windows::core::RuntimeType for ProviderSpiConnectionSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.Provider.ProviderSpiConnectionSettings;{f6034550-a542-4ec0-9601-a4dd68f8697b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.Provider.ProviderSpiConnectionSettings;{f6034550-a542-4ec0-9601-a4dd68f8697b})"); } impl ::core::clone::Clone for ProviderSpiConnectionSettings { fn clone(&self) -> Self { @@ -339,7 +339,7 @@ unsafe impl ::windows::core::Interface for ProviderSpiConnectionSettings { impl ::windows::core::RuntimeName for ProviderSpiConnectionSettings { const NAME: &'static str = "Windows.Devices.Spi.Provider.ProviderSpiConnectionSettings"; } -::windows::core::interface_hierarchy!(ProviderSpiConnectionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProviderSpiConnectionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProviderSpiConnectionSettings {} unsafe impl ::core::marker::Sync for ProviderSpiConnectionSettings {} #[doc = "*Required features: `\"Devices_Spi_Provider\"`*"] @@ -372,7 +372,7 @@ impl ::core::fmt::Debug for ProviderSpiMode { } } impl ::windows::core::RuntimeType for ProviderSpiMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Spi.Provider.ProviderSpiMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Spi.Provider.ProviderSpiMode;i4)"); } #[doc = "*Required features: `\"Devices_Spi_Provider\"`*"] #[repr(transparent)] @@ -402,7 +402,7 @@ impl ::core::fmt::Debug for ProviderSpiSharingMode { } } impl ::windows::core::RuntimeType for ProviderSpiSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Spi.Provider.ProviderSpiSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Spi.Provider.ProviderSpiSharingMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs index 448206e2b1..e8f0be5b8e 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs @@ -182,7 +182,7 @@ impl ISpiDeviceStatics { } } } -::windows::core::interface_hierarchy!(ISpiDeviceStatics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISpiDeviceStatics, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISpiDeviceStatics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -195,7 +195,7 @@ impl ::core::fmt::Debug for ISpiDeviceStatics { } } impl ::windows::core::RuntimeType for ISpiDeviceStatics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a278e559-5720-4d3f-bd93-56f5ff5a5879}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a278e559-5720-4d3f-bd93-56f5ff5a5879}"); } unsafe impl ::windows::core::Vtable for ISpiDeviceStatics { type Vtable = ISpiDeviceStatics_Vtbl; @@ -267,7 +267,7 @@ impl ::core::fmt::Debug for SpiBusInfo { } } impl ::windows::core::RuntimeType for SpiBusInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiBusInfo;{9929444a-54f2-48c6-b952-9c32fc02c669})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiBusInfo;{9929444a-54f2-48c6-b952-9c32fc02c669})"); } impl ::core::clone::Clone for SpiBusInfo { fn clone(&self) -> Self { @@ -283,7 +283,7 @@ unsafe impl ::windows::core::Interface for SpiBusInfo { impl ::windows::core::RuntimeName for SpiBusInfo { const NAME: &'static str = "Windows.Devices.Spi.SpiBusInfo"; } -::windows::core::interface_hierarchy!(SpiBusInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpiBusInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpiBusInfo {} unsafe impl ::core::marker::Sync for SpiBusInfo {} #[doc = "*Required features: `\"Devices_Spi\"`*"] @@ -353,7 +353,7 @@ impl SpiConnectionSettings { } #[doc(hidden)] pub fn ISpiConnectionSettingsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -369,7 +369,7 @@ impl ::core::fmt::Debug for SpiConnectionSettings { } } impl ::windows::core::RuntimeType for SpiConnectionSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiConnectionSettings;{5283a37f-f935-4b9f-a7a7-3a7890afa5ce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiConnectionSettings;{5283a37f-f935-4b9f-a7a7-3a7890afa5ce})"); } impl ::core::clone::Clone for SpiConnectionSettings { fn clone(&self) -> Self { @@ -385,7 +385,7 @@ unsafe impl ::windows::core::Interface for SpiConnectionSettings { impl ::windows::core::RuntimeName for SpiConnectionSettings { const NAME: &'static str = "Windows.Devices.Spi.SpiConnectionSettings"; } -::windows::core::interface_hierarchy!(SpiConnectionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpiConnectionSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpiConnectionSettings {} unsafe impl ::core::marker::Sync for SpiConnectionSettings {} #[doc = "*Required features: `\"Devices_Spi\"`*"] @@ -421,7 +421,7 @@ impl SpiController { } #[doc(hidden)] pub fn ISpiControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -437,7 +437,7 @@ impl ::core::fmt::Debug for SpiController { } } impl ::windows::core::RuntimeType for SpiController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27})"); } impl ::core::clone::Clone for SpiController { fn clone(&self) -> Self { @@ -453,7 +453,7 @@ unsafe impl ::windows::core::Interface for SpiController { impl ::windows::core::RuntimeName for SpiController { const NAME: &'static str = "Windows.Devices.Spi.SpiController"; } -::windows::core::interface_hierarchy!(SpiController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpiController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpiController {} unsafe impl ::core::marker::Sync for SpiController {} #[doc = "*Required features: `\"Devices_Spi\"`*"] @@ -524,7 +524,7 @@ impl SpiDevice { } #[doc(hidden)] pub fn ISpiDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -540,7 +540,7 @@ impl ::core::fmt::Debug for SpiDevice { } } impl ::windows::core::RuntimeType for SpiDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiDevice;{05d5356d-11b6-4d39-84d5-95dfb4c9f2ce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiDevice;{05d5356d-11b6-4d39-84d5-95dfb4c9f2ce})"); } impl ::core::clone::Clone for SpiDevice { fn clone(&self) -> Self { @@ -556,7 +556,7 @@ unsafe impl ::windows::core::Interface for SpiDevice { impl ::windows::core::RuntimeName for SpiDevice { const NAME: &'static str = "Windows.Devices.Spi.SpiDevice"; } -::windows::core::interface_hierarchy!(SpiDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpiDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -611,7 +611,7 @@ impl ::core::fmt::Debug for SpiMode { } } impl ::windows::core::RuntimeType for SpiMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Spi.SpiMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Spi.SpiMode;i4)"); } #[doc = "*Required features: `\"Devices_Spi\"`*"] #[repr(transparent)] @@ -641,7 +641,7 @@ impl ::core::fmt::Debug for SpiSharingMode { } } impl ::windows::core::RuntimeType for SpiSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Spi.SpiSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Spi.SpiSharingMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs index d3d9abcf06..c2afd048e3 100644 --- a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs @@ -810,7 +810,7 @@ impl ::core::fmt::Debug for UsbBulkInEndpointDescriptor { } } impl ::windows::core::RuntimeType for UsbBulkInEndpointDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkInEndpointDescriptor;{3c6e4846-06cf-42a9-9dc2-971c1b14b6e3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkInEndpointDescriptor;{3c6e4846-06cf-42a9-9dc2-971c1b14b6e3})"); } impl ::core::clone::Clone for UsbBulkInEndpointDescriptor { fn clone(&self) -> Self { @@ -826,7 +826,7 @@ unsafe impl ::windows::core::Interface for UsbBulkInEndpointDescriptor { impl ::windows::core::RuntimeName for UsbBulkInEndpointDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbBulkInEndpointDescriptor"; } -::windows::core::interface_hierarchy!(UsbBulkInEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbBulkInEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbBulkInEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbBulkInEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -893,7 +893,7 @@ impl ::core::fmt::Debug for UsbBulkInPipe { } } impl ::windows::core::RuntimeType for UsbBulkInPipe { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkInPipe;{f01d2d3b-4548-4d50-b326-d82cdabe1220})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkInPipe;{f01d2d3b-4548-4d50-b326-d82cdabe1220})"); } impl ::core::clone::Clone for UsbBulkInPipe { fn clone(&self) -> Self { @@ -909,7 +909,7 @@ unsafe impl ::windows::core::Interface for UsbBulkInPipe { impl ::windows::core::RuntimeName for UsbBulkInPipe { const NAME: &'static str = "Windows.Devices.Usb.UsbBulkInPipe"; } -::windows::core::interface_hierarchy!(UsbBulkInPipe, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbBulkInPipe, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbBulkInPipe {} unsafe impl ::core::marker::Sync for UsbBulkInPipe {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -950,7 +950,7 @@ impl ::core::fmt::Debug for UsbBulkOutEndpointDescriptor { } } impl ::windows::core::RuntimeType for UsbBulkOutEndpointDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkOutEndpointDescriptor;{2820847a-ffee-4f60-9be1-956cac3ecb65})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkOutEndpointDescriptor;{2820847a-ffee-4f60-9be1-956cac3ecb65})"); } impl ::core::clone::Clone for UsbBulkOutEndpointDescriptor { fn clone(&self) -> Self { @@ -966,7 +966,7 @@ unsafe impl ::windows::core::Interface for UsbBulkOutEndpointDescriptor { impl ::windows::core::RuntimeName for UsbBulkOutEndpointDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbBulkOutEndpointDescriptor"; } -::windows::core::interface_hierarchy!(UsbBulkOutEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbBulkOutEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbBulkOutEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbBulkOutEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1022,7 +1022,7 @@ impl ::core::fmt::Debug for UsbBulkOutPipe { } } impl ::windows::core::RuntimeType for UsbBulkOutPipe { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkOutPipe;{a8e9ee6e-0115-45aa-8b21-37b225bccee7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkOutPipe;{a8e9ee6e-0115-45aa-8b21-37b225bccee7})"); } impl ::core::clone::Clone for UsbBulkOutPipe { fn clone(&self) -> Self { @@ -1038,7 +1038,7 @@ unsafe impl ::windows::core::Interface for UsbBulkOutPipe { impl ::windows::core::RuntimeName for UsbBulkOutPipe { const NAME: &'static str = "Windows.Devices.Usb.UsbBulkOutPipe"; } -::windows::core::interface_hierarchy!(UsbBulkOutPipe, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbBulkOutPipe, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbBulkOutPipe {} unsafe impl ::core::marker::Sync for UsbBulkOutPipe {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1083,7 +1083,7 @@ impl ::core::fmt::Debug for UsbConfiguration { } } impl ::windows::core::RuntimeType for UsbConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbConfiguration;{68177429-36a9-46d7-b873-fc689251ec30})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbConfiguration;{68177429-36a9-46d7-b873-fc689251ec30})"); } impl ::core::clone::Clone for UsbConfiguration { fn clone(&self) -> Self { @@ -1099,7 +1099,7 @@ unsafe impl ::windows::core::Interface for UsbConfiguration { impl ::windows::core::RuntimeName for UsbConfiguration { const NAME: &'static str = "Windows.Devices.Usb.UsbConfiguration"; } -::windows::core::interface_hierarchy!(UsbConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbConfiguration {} unsafe impl ::core::marker::Sync for UsbConfiguration {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1148,7 +1148,7 @@ impl UsbConfigurationDescriptor { } #[doc(hidden)] pub fn IUsbConfigurationDescriptorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1164,7 +1164,7 @@ impl ::core::fmt::Debug for UsbConfigurationDescriptor { } } impl ::windows::core::RuntimeType for UsbConfigurationDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbConfigurationDescriptor;{f2176d92-b442-407a-8207-7d646c0385f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbConfigurationDescriptor;{f2176d92-b442-407a-8207-7d646c0385f3})"); } impl ::core::clone::Clone for UsbConfigurationDescriptor { fn clone(&self) -> Self { @@ -1180,7 +1180,7 @@ unsafe impl ::windows::core::Interface for UsbConfigurationDescriptor { impl ::windows::core::RuntimeName for UsbConfigurationDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbConfigurationDescriptor"; } -::windows::core::interface_hierarchy!(UsbConfigurationDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbConfigurationDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbConfigurationDescriptor {} unsafe impl ::core::marker::Sync for UsbConfigurationDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1190,8 +1190,8 @@ impl UsbControlRequestType { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Direction(&self) -> ::windows::core::Result { @@ -1251,7 +1251,7 @@ impl ::core::fmt::Debug for UsbControlRequestType { } } impl ::windows::core::RuntimeType for UsbControlRequestType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbControlRequestType;{8e9465a6-d73d-46de-94be-aae7f07c0f5c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbControlRequestType;{8e9465a6-d73d-46de-94be-aae7f07c0f5c})"); } impl ::core::clone::Clone for UsbControlRequestType { fn clone(&self) -> Self { @@ -1267,7 +1267,7 @@ unsafe impl ::windows::core::Interface for UsbControlRequestType { impl ::windows::core::RuntimeName for UsbControlRequestType { const NAME: &'static str = "Windows.Devices.Usb.UsbControlRequestType"; } -::windows::core::interface_hierarchy!(UsbControlRequestType, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbControlRequestType, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbControlRequestType {} unsafe impl ::core::marker::Sync for UsbControlRequestType {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1311,7 +1311,7 @@ impl ::core::fmt::Debug for UsbDescriptor { } } impl ::windows::core::RuntimeType for UsbDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDescriptor;{0a89f216-5f9d-4874-8904-da9ad3f5528f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDescriptor;{0a89f216-5f9d-4874-8904-da9ad3f5528f})"); } impl ::core::clone::Clone for UsbDescriptor { fn clone(&self) -> Self { @@ -1327,7 +1327,7 @@ unsafe impl ::windows::core::Interface for UsbDescriptor { impl ::windows::core::RuntimeName for UsbDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbDescriptor"; } -::windows::core::interface_hierarchy!(UsbDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbDescriptor {} unsafe impl ::core::marker::Sync for UsbDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1439,7 +1439,7 @@ impl UsbDevice { } #[doc(hidden)] pub fn IUsbDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1455,7 +1455,7 @@ impl ::core::fmt::Debug for UsbDevice { } } impl ::windows::core::RuntimeType for UsbDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDevice;{5249b992-c456-44d5-ad5e-24f5a089f63b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDevice;{5249b992-c456-44d5-ad5e-24f5a089f63b})"); } impl ::core::clone::Clone for UsbDevice { fn clone(&self) -> Self { @@ -1471,7 +1471,7 @@ unsafe impl ::windows::core::Interface for UsbDevice { impl ::windows::core::RuntimeName for UsbDevice { const NAME: &'static str = "Windows.Devices.Usb.UsbDevice"; } -::windows::core::interface_hierarchy!(UsbDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1503,8 +1503,8 @@ impl UsbDeviceClass { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ClassCode(&self) -> ::windows::core::Result { @@ -1569,7 +1569,7 @@ impl ::core::fmt::Debug for UsbDeviceClass { } } impl ::windows::core::RuntimeType for UsbDeviceClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceClass;{051942f9-845e-47eb-b12a-38f2f617afe7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceClass;{051942f9-845e-47eb-b12a-38f2f617afe7})"); } impl ::core::clone::Clone for UsbDeviceClass { fn clone(&self) -> Self { @@ -1585,7 +1585,7 @@ unsafe impl ::windows::core::Interface for UsbDeviceClass { impl ::windows::core::RuntimeName for UsbDeviceClass { const NAME: &'static str = "Windows.Devices.Usb.UsbDeviceClass"; } -::windows::core::interface_hierarchy!(UsbDeviceClass, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbDeviceClass, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbDeviceClass {} unsafe impl ::core::marker::Sync for UsbDeviceClass {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1648,7 +1648,7 @@ impl UsbDeviceClasses { } #[doc(hidden)] pub fn IUsbDeviceClassesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1664,7 +1664,7 @@ impl ::core::fmt::Debug for UsbDeviceClasses { } } impl ::windows::core::RuntimeType for UsbDeviceClasses { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceClasses;{686f955d-9b92-4b30-9781-c22c55ac35cb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceClasses;{686f955d-9b92-4b30-9781-c22c55ac35cb})"); } impl ::core::clone::Clone for UsbDeviceClasses { fn clone(&self) -> Self { @@ -1680,7 +1680,7 @@ unsafe impl ::windows::core::Interface for UsbDeviceClasses { impl ::windows::core::RuntimeName for UsbDeviceClasses { const NAME: &'static str = "Windows.Devices.Usb.UsbDeviceClasses"; } -::windows::core::interface_hierarchy!(UsbDeviceClasses, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbDeviceClasses, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbDeviceClasses {} unsafe impl ::core::marker::Sync for UsbDeviceClasses {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1742,7 +1742,7 @@ impl ::core::fmt::Debug for UsbDeviceDescriptor { } } impl ::windows::core::RuntimeType for UsbDeviceDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceDescriptor;{1f48d1f6-ba97-4322-b92c-b5b189216588})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceDescriptor;{1f48d1f6-ba97-4322-b92c-b5b189216588})"); } impl ::core::clone::Clone for UsbDeviceDescriptor { fn clone(&self) -> Self { @@ -1758,7 +1758,7 @@ unsafe impl ::windows::core::Interface for UsbDeviceDescriptor { impl ::windows::core::RuntimeName for UsbDeviceDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbDeviceDescriptor"; } -::windows::core::interface_hierarchy!(UsbDeviceDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbDeviceDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbDeviceDescriptor {} unsafe impl ::core::marker::Sync for UsbDeviceDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1828,7 +1828,7 @@ impl UsbEndpointDescriptor { } #[doc(hidden)] pub fn IUsbEndpointDescriptorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1844,7 +1844,7 @@ impl ::core::fmt::Debug for UsbEndpointDescriptor { } } impl ::windows::core::RuntimeType for UsbEndpointDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbEndpointDescriptor;{6b4862d9-8df7-4b40-ac83-578f139f0575})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbEndpointDescriptor;{6b4862d9-8df7-4b40-ac83-578f139f0575})"); } impl ::core::clone::Clone for UsbEndpointDescriptor { fn clone(&self) -> Self { @@ -1860,7 +1860,7 @@ unsafe impl ::windows::core::Interface for UsbEndpointDescriptor { impl ::windows::core::RuntimeName for UsbEndpointDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbEndpointDescriptor"; } -::windows::core::interface_hierarchy!(UsbEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -1941,7 +1941,7 @@ impl ::core::fmt::Debug for UsbInterface { } } impl ::windows::core::RuntimeType for UsbInterface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterface;{a0322b95-7f47-48ab-a727-678c25be2112})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterface;{a0322b95-7f47-48ab-a727-678c25be2112})"); } impl ::core::clone::Clone for UsbInterface { fn clone(&self) -> Self { @@ -1957,7 +1957,7 @@ unsafe impl ::windows::core::Interface for UsbInterface { impl ::windows::core::RuntimeName for UsbInterface { const NAME: &'static str = "Windows.Devices.Usb.UsbInterface"; } -::windows::core::interface_hierarchy!(UsbInterface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbInterface, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbInterface {} unsafe impl ::core::marker::Sync for UsbInterface {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2013,7 +2013,7 @@ impl UsbInterfaceDescriptor { } #[doc(hidden)] pub fn IUsbInterfaceDescriptorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2029,7 +2029,7 @@ impl ::core::fmt::Debug for UsbInterfaceDescriptor { } } impl ::windows::core::RuntimeType for UsbInterfaceDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterfaceDescriptor;{199670c7-b7ee-4f90-8cd5-94a2e257598a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterfaceDescriptor;{199670c7-b7ee-4f90-8cd5-94a2e257598a})"); } impl ::core::clone::Clone for UsbInterfaceDescriptor { fn clone(&self) -> Self { @@ -2045,7 +2045,7 @@ unsafe impl ::windows::core::Interface for UsbInterfaceDescriptor { impl ::windows::core::RuntimeName for UsbInterfaceDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbInterfaceDescriptor"; } -::windows::core::interface_hierarchy!(UsbInterfaceDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbInterfaceDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbInterfaceDescriptor {} unsafe impl ::core::marker::Sync for UsbInterfaceDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2133,7 +2133,7 @@ impl ::core::fmt::Debug for UsbInterfaceSetting { } } impl ::windows::core::RuntimeType for UsbInterfaceSetting { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterfaceSetting;{1827bba7-8da7-4af7-8f4c-7f3032e781f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterfaceSetting;{1827bba7-8da7-4af7-8f4c-7f3032e781f5})"); } impl ::core::clone::Clone for UsbInterfaceSetting { fn clone(&self) -> Self { @@ -2149,7 +2149,7 @@ unsafe impl ::windows::core::Interface for UsbInterfaceSetting { impl ::windows::core::RuntimeName for UsbInterfaceSetting { const NAME: &'static str = "Windows.Devices.Usb.UsbInterfaceSetting"; } -::windows::core::interface_hierarchy!(UsbInterfaceSetting, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbInterfaceSetting, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbInterfaceSetting {} unsafe impl ::core::marker::Sync for UsbInterfaceSetting {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2199,7 +2199,7 @@ impl ::core::fmt::Debug for UsbInterruptInEndpointDescriptor { } } impl ::windows::core::RuntimeType for UsbInterruptInEndpointDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInEndpointDescriptor;{c0528967-c911-4c3a-86b2-419c2da89039})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInEndpointDescriptor;{c0528967-c911-4c3a-86b2-419c2da89039})"); } impl ::core::clone::Clone for UsbInterruptInEndpointDescriptor { fn clone(&self) -> Self { @@ -2215,7 +2215,7 @@ unsafe impl ::windows::core::Interface for UsbInterruptInEndpointDescriptor { impl ::windows::core::RuntimeName for UsbInterruptInEndpointDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbInterruptInEndpointDescriptor"; } -::windows::core::interface_hierarchy!(UsbInterruptInEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbInterruptInEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbInterruptInEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbInterruptInEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2244,7 +2244,7 @@ impl ::core::fmt::Debug for UsbInterruptInEventArgs { } } impl ::windows::core::RuntimeType for UsbInterruptInEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInEventArgs;{b7b04092-1418-4936-8209-299cf5605583})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInEventArgs;{b7b04092-1418-4936-8209-299cf5605583})"); } impl ::core::clone::Clone for UsbInterruptInEventArgs { fn clone(&self) -> Self { @@ -2260,7 +2260,7 @@ unsafe impl ::windows::core::Interface for UsbInterruptInEventArgs { impl ::windows::core::RuntimeName for UsbInterruptInEventArgs { const NAME: &'static str = "Windows.Devices.Usb.UsbInterruptInEventArgs"; } -::windows::core::interface_hierarchy!(UsbInterruptInEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbInterruptInEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbInterruptInEventArgs {} unsafe impl ::core::marker::Sync for UsbInterruptInEventArgs {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2311,7 +2311,7 @@ impl ::core::fmt::Debug for UsbInterruptInPipe { } } impl ::windows::core::RuntimeType for UsbInterruptInPipe { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInPipe;{fa007116-84d7-48c7-8a3f-4c0b235f2ea6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInPipe;{fa007116-84d7-48c7-8a3f-4c0b235f2ea6})"); } impl ::core::clone::Clone for UsbInterruptInPipe { fn clone(&self) -> Self { @@ -2327,7 +2327,7 @@ unsafe impl ::windows::core::Interface for UsbInterruptInPipe { impl ::windows::core::RuntimeName for UsbInterruptInPipe { const NAME: &'static str = "Windows.Devices.Usb.UsbInterruptInPipe"; } -::windows::core::interface_hierarchy!(UsbInterruptInPipe, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbInterruptInPipe, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbInterruptInPipe {} unsafe impl ::core::marker::Sync for UsbInterruptInPipe {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2377,7 +2377,7 @@ impl ::core::fmt::Debug for UsbInterruptOutEndpointDescriptor { } } impl ::windows::core::RuntimeType for UsbInterruptOutEndpointDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptOutEndpointDescriptor;{cc9fed81-10ca-4533-952d-9e278341e80f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptOutEndpointDescriptor;{cc9fed81-10ca-4533-952d-9e278341e80f})"); } impl ::core::clone::Clone for UsbInterruptOutEndpointDescriptor { fn clone(&self) -> Self { @@ -2393,7 +2393,7 @@ unsafe impl ::windows::core::Interface for UsbInterruptOutEndpointDescriptor { impl ::windows::core::RuntimeName for UsbInterruptOutEndpointDescriptor { const NAME: &'static str = "Windows.Devices.Usb.UsbInterruptOutEndpointDescriptor"; } -::windows::core::interface_hierarchy!(UsbInterruptOutEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbInterruptOutEndpointDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbInterruptOutEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbInterruptOutEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2449,7 +2449,7 @@ impl ::core::fmt::Debug for UsbInterruptOutPipe { } } impl ::windows::core::RuntimeType for UsbInterruptOutPipe { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptOutPipe;{e984c8a9-aaf9-49d0-b96c-f661ab4a7f95})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptOutPipe;{e984c8a9-aaf9-49d0-b96c-f661ab4a7f95})"); } impl ::core::clone::Clone for UsbInterruptOutPipe { fn clone(&self) -> Self { @@ -2465,7 +2465,7 @@ unsafe impl ::windows::core::Interface for UsbInterruptOutPipe { impl ::windows::core::RuntimeName for UsbInterruptOutPipe { const NAME: &'static str = "Windows.Devices.Usb.UsbInterruptOutPipe"; } -::windows::core::interface_hierarchy!(UsbInterruptOutPipe, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbInterruptOutPipe, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbInterruptOutPipe {} unsafe impl ::core::marker::Sync for UsbInterruptOutPipe {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2475,8 +2475,8 @@ impl UsbSetupPacket { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn RequestType(&self) -> ::windows::core::Result { @@ -2548,7 +2548,7 @@ impl UsbSetupPacket { } #[doc(hidden)] pub fn IUsbSetupPacketFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2564,7 +2564,7 @@ impl ::core::fmt::Debug for UsbSetupPacket { } } impl ::windows::core::RuntimeType for UsbSetupPacket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbSetupPacket;{104ba132-c78f-4c51-b654-e49d02f2cb03})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbSetupPacket;{104ba132-c78f-4c51-b654-e49d02f2cb03})"); } impl ::core::clone::Clone for UsbSetupPacket { fn clone(&self) -> Self { @@ -2580,7 +2580,7 @@ unsafe impl ::windows::core::Interface for UsbSetupPacket { impl ::windows::core::RuntimeName for UsbSetupPacket { const NAME: &'static str = "Windows.Devices.Usb.UsbSetupPacket"; } -::windows::core::interface_hierarchy!(UsbSetupPacket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UsbSetupPacket, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UsbSetupPacket {} unsafe impl ::core::marker::Sync for UsbSetupPacket {} #[doc = "*Required features: `\"Devices_Usb\"`*"] @@ -2614,7 +2614,7 @@ impl ::core::fmt::Debug for UsbControlRecipient { } } impl ::windows::core::RuntimeType for UsbControlRecipient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbControlRecipient;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbControlRecipient;i4)"); } #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] @@ -2645,7 +2645,7 @@ impl ::core::fmt::Debug for UsbControlTransferType { } } impl ::windows::core::RuntimeType for UsbControlTransferType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbControlTransferType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbControlTransferType;i4)"); } #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] @@ -2677,7 +2677,7 @@ impl ::core::fmt::Debug for UsbEndpointType { } } impl ::windows::core::RuntimeType for UsbEndpointType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbEndpointType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbEndpointType;i4)"); } #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] @@ -2743,7 +2743,7 @@ impl ::core::ops::Not for UsbReadOptions { } } impl ::windows::core::RuntimeType for UsbReadOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbReadOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbReadOptions;u4)"); } #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] @@ -2773,7 +2773,7 @@ impl ::core::fmt::Debug for UsbTransferDirection { } } impl ::windows::core::RuntimeType for UsbTransferDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbTransferDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbTransferDirection;i4)"); } #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] @@ -2837,7 +2837,7 @@ impl ::core::ops::Not for UsbWriteOptions { } } impl ::windows::core::RuntimeType for UsbWriteOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbWriteOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.Usb.UsbWriteOptions;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs index 644b422b78..f892292251 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs @@ -480,7 +480,7 @@ impl WiFiAdapter { } #[doc(hidden)] pub fn IWiFiAdapterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -496,7 +496,7 @@ impl ::core::fmt::Debug for WiFiAdapter { } } impl ::windows::core::RuntimeType for WiFiAdapter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiAdapter;{a6c4e423-3d75-43a4-b9de-11e26b72d9b0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiAdapter;{a6c4e423-3d75-43a4-b9de-11e26b72d9b0})"); } impl ::core::clone::Clone for WiFiAdapter { fn clone(&self) -> Self { @@ -512,7 +512,7 @@ unsafe impl ::windows::core::Interface for WiFiAdapter { impl ::windows::core::RuntimeName for WiFiAdapter { const NAME: &'static str = "Windows.Devices.WiFi.WiFiAdapter"; } -::windows::core::interface_hierarchy!(WiFiAdapter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiAdapter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiAdapter {} unsafe impl ::core::marker::Sync for WiFiAdapter {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -615,7 +615,7 @@ impl ::core::fmt::Debug for WiFiAvailableNetwork { } } impl ::windows::core::RuntimeType for WiFiAvailableNetwork { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiAvailableNetwork;{26e96246-183e-4704-9826-71b4a2f0f668})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiAvailableNetwork;{26e96246-183e-4704-9826-71b4a2f0f668})"); } impl ::core::clone::Clone for WiFiAvailableNetwork { fn clone(&self) -> Self { @@ -631,7 +631,7 @@ unsafe impl ::windows::core::Interface for WiFiAvailableNetwork { impl ::windows::core::RuntimeName for WiFiAvailableNetwork { const NAME: &'static str = "Windows.Devices.WiFi.WiFiAvailableNetwork"; } -::windows::core::interface_hierarchy!(WiFiAvailableNetwork, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiAvailableNetwork, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiAvailableNetwork {} unsafe impl ::core::marker::Sync for WiFiAvailableNetwork {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -658,7 +658,7 @@ impl ::core::fmt::Debug for WiFiConnectionResult { } } impl ::windows::core::RuntimeType for WiFiConnectionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiConnectionResult;{143bdfd9-c37d-40be-a5c8-857bce85a931})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiConnectionResult;{143bdfd9-c37d-40be-a5c8-857bce85a931})"); } impl ::core::clone::Clone for WiFiConnectionResult { fn clone(&self) -> Self { @@ -674,7 +674,7 @@ unsafe impl ::windows::core::Interface for WiFiConnectionResult { impl ::windows::core::RuntimeName for WiFiConnectionResult { const NAME: &'static str = "Windows.Devices.WiFi.WiFiConnectionResult"; } -::windows::core::interface_hierarchy!(WiFiConnectionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiConnectionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiConnectionResult {} unsafe impl ::core::marker::Sync for WiFiConnectionResult {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -712,7 +712,7 @@ impl ::core::fmt::Debug for WiFiNetworkReport { } } impl ::windows::core::RuntimeType for WiFiNetworkReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiNetworkReport;{9524ded2-5911-445e-8194-be4f1a704895})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiNetworkReport;{9524ded2-5911-445e-8194-be4f1a704895})"); } impl ::core::clone::Clone for WiFiNetworkReport { fn clone(&self) -> Self { @@ -728,7 +728,7 @@ unsafe impl ::windows::core::Interface for WiFiNetworkReport { impl ::windows::core::RuntimeName for WiFiNetworkReport { const NAME: &'static str = "Windows.Devices.WiFi.WiFiNetworkReport"; } -::windows::core::interface_hierarchy!(WiFiNetworkReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiNetworkReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiNetworkReport {} unsafe impl ::core::marker::Sync for WiFiNetworkReport {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -775,7 +775,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotConnectTriggerDetails { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotConnectTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotConnectTriggerDetails;{a268eb58-68f5-59cf-8d38-35bf44b097ef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotConnectTriggerDetails;{a268eb58-68f5-59cf-8d38-35bf44b097ef})"); } impl ::core::clone::Clone for WiFiOnDemandHotspotConnectTriggerDetails { fn clone(&self) -> Self { @@ -791,7 +791,7 @@ unsafe impl ::windows::core::Interface for WiFiOnDemandHotspotConnectTriggerDeta impl ::windows::core::RuntimeName for WiFiOnDemandHotspotConnectTriggerDetails { const NAME: &'static str = "Windows.Devices.WiFi.WiFiOnDemandHotspotConnectTriggerDetails"; } -::windows::core::interface_hierarchy!(WiFiOnDemandHotspotConnectTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiOnDemandHotspotConnectTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiOnDemandHotspotConnectTriggerDetails {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotConnectTriggerDetails {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -818,7 +818,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotConnectionResult { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotConnectionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotConnectionResult;{911794a1-6c82-5de3-8a4a-f9ff22a4957a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotConnectionResult;{911794a1-6c82-5de3-8a4a-f9ff22a4957a})"); } impl ::core::clone::Clone for WiFiOnDemandHotspotConnectionResult { fn clone(&self) -> Self { @@ -834,7 +834,7 @@ unsafe impl ::windows::core::Interface for WiFiOnDemandHotspotConnectionResult { impl ::windows::core::RuntimeName for WiFiOnDemandHotspotConnectionResult { const NAME: &'static str = "Windows.Devices.WiFi.WiFiOnDemandHotspotConnectionResult"; } -::windows::core::interface_hierarchy!(WiFiOnDemandHotspotConnectionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiOnDemandHotspotConnectionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiOnDemandHotspotConnectionResult {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotConnectionResult {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -867,7 +867,7 @@ impl WiFiOnDemandHotspotNetwork { } #[doc(hidden)] pub fn IWiFiOnDemandHotspotNetworkStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -883,7 +883,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotNetwork { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotNetwork { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotNetwork;{18dc7115-a04e-507c-bbaf-b78369d29fa7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotNetwork;{18dc7115-a04e-507c-bbaf-b78369d29fa7})"); } impl ::core::clone::Clone for WiFiOnDemandHotspotNetwork { fn clone(&self) -> Self { @@ -899,7 +899,7 @@ unsafe impl ::windows::core::Interface for WiFiOnDemandHotspotNetwork { impl ::windows::core::RuntimeName for WiFiOnDemandHotspotNetwork { const NAME: &'static str = "Windows.Devices.WiFi.WiFiOnDemandHotspotNetwork"; } -::windows::core::interface_hierarchy!(WiFiOnDemandHotspotNetwork, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiOnDemandHotspotNetwork, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiOnDemandHotspotNetwork {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotNetwork {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -1016,7 +1016,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotNetworkProperties { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotNetworkProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotNetworkProperties;{c810a1f2-c81d-5852-be50-e4bd4d81e98d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotNetworkProperties;{c810a1f2-c81d-5852-be50-e4bd4d81e98d})"); } impl ::core::clone::Clone for WiFiOnDemandHotspotNetworkProperties { fn clone(&self) -> Self { @@ -1032,7 +1032,7 @@ unsafe impl ::windows::core::Interface for WiFiOnDemandHotspotNetworkProperties impl ::windows::core::RuntimeName for WiFiOnDemandHotspotNetworkProperties { const NAME: &'static str = "Windows.Devices.WiFi.WiFiOnDemandHotspotNetworkProperties"; } -::windows::core::interface_hierarchy!(WiFiOnDemandHotspotNetworkProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiOnDemandHotspotNetworkProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiOnDemandHotspotNetworkProperties {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotNetworkProperties {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -1068,7 +1068,7 @@ impl ::core::fmt::Debug for WiFiWpsConfigurationResult { } } impl ::windows::core::RuntimeType for WiFiWpsConfigurationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiWpsConfigurationResult;{67b49871-17ee-42d1-b14f-5a11f1226fb5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiWpsConfigurationResult;{67b49871-17ee-42d1-b14f-5a11f1226fb5})"); } impl ::core::clone::Clone for WiFiWpsConfigurationResult { fn clone(&self) -> Self { @@ -1084,7 +1084,7 @@ unsafe impl ::windows::core::Interface for WiFiWpsConfigurationResult { impl ::windows::core::RuntimeName for WiFiWpsConfigurationResult { const NAME: &'static str = "Windows.Devices.WiFi.WiFiWpsConfigurationResult"; } -::windows::core::interface_hierarchy!(WiFiWpsConfigurationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiWpsConfigurationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiWpsConfigurationResult {} unsafe impl ::core::marker::Sync for WiFiWpsConfigurationResult {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] @@ -1117,7 +1117,7 @@ impl ::core::fmt::Debug for WiFiAccessStatus { } } impl ::windows::core::RuntimeType for WiFiAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiAccessStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1148,7 +1148,7 @@ impl ::core::fmt::Debug for WiFiConnectionMethod { } } impl ::windows::core::RuntimeType for WiFiConnectionMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiConnectionMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiConnectionMethod;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1183,7 +1183,7 @@ impl ::core::fmt::Debug for WiFiConnectionStatus { } } impl ::windows::core::RuntimeType for WiFiConnectionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiConnectionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiConnectionStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1214,7 +1214,7 @@ impl ::core::fmt::Debug for WiFiNetworkKind { } } impl ::windows::core::RuntimeType for WiFiNetworkKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiNetworkKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiNetworkKind;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1244,7 +1244,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotAvailability { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotAvailability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiOnDemandHotspotAvailability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiOnDemandHotspotAvailability;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1278,7 +1278,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotCellularBars { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotCellularBars { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiOnDemandHotspotCellularBars;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiOnDemandHotspotCellularBars;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1325,7 +1325,7 @@ impl ::core::fmt::Debug for WiFiOnDemandHotspotConnectStatus { } } impl ::windows::core::RuntimeType for WiFiOnDemandHotspotConnectStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiOnDemandHotspotConnectStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiOnDemandHotspotConnectStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1365,7 +1365,7 @@ impl ::core::fmt::Debug for WiFiPhyKind { } } impl ::windows::core::RuntimeType for WiFiPhyKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiPhyKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiPhyKind;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1395,7 +1395,7 @@ impl ::core::fmt::Debug for WiFiReconnectionKind { } } impl ::windows::core::RuntimeType for WiFiReconnectionKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiReconnectionKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiReconnectionKind;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1426,7 +1426,7 @@ impl ::core::fmt::Debug for WiFiWpsConfigurationStatus { } } impl ::windows::core::RuntimeType for WiFiWpsConfigurationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiWpsConfigurationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiWpsConfigurationStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] @@ -1460,7 +1460,7 @@ impl ::core::fmt::Debug for WiFiWpsKind { } } impl ::windows::core::RuntimeType for WiFiWpsKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiWpsKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFi.WiFiWpsKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs index 81113cf9a9..f2f487c8a2 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs @@ -515,7 +515,7 @@ impl WiFiDirectService { } #[doc(hidden)] pub fn IWiFiDirectServiceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -531,7 +531,7 @@ impl ::core::fmt::Debug for WiFiDirectService { } } impl ::windows::core::RuntimeType for WiFiDirectService { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectService;{50aabbb8-5f71-45ec-84f1-a1e4fc7879a3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectService;{50aabbb8-5f71-45ec-84f1-a1e4fc7879a3})"); } impl ::core::clone::Clone for WiFiDirectService { fn clone(&self) -> Self { @@ -547,7 +547,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectService { impl ::windows::core::RuntimeName for WiFiDirectService { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectService"; } -::windows::core::interface_hierarchy!(WiFiDirectService, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectService, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectService {} unsafe impl ::core::marker::Sync for WiFiDirectService {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] @@ -754,7 +754,7 @@ impl WiFiDirectServiceAdvertiser { } #[doc(hidden)] pub fn IWiFiDirectServiceAdvertiserFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -770,7 +770,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceAdvertiser { } } impl ::windows::core::RuntimeType for WiFiDirectServiceAdvertiser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser;{a4aa1ee1-9d8f-4f4f-93ee-7ddea2e37f46})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser;{a4aa1ee1-9d8f-4f4f-93ee-7ddea2e37f46})"); } impl ::core::clone::Clone for WiFiDirectServiceAdvertiser { fn clone(&self) -> Self { @@ -786,7 +786,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectServiceAdvertiser { impl ::windows::core::RuntimeName for WiFiDirectServiceAdvertiser { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser"; } -::windows::core::interface_hierarchy!(WiFiDirectServiceAdvertiser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectServiceAdvertiser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectServiceAdvertiser {} unsafe impl ::core::marker::Sync for WiFiDirectServiceAdvertiser {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] @@ -822,7 +822,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs } } impl ::windows::core::RuntimeType for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAutoAcceptSessionConnectedEventArgs;{dcd9e01e-83df-43e5-8f43-cbe8479e84eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAutoAcceptSessionConnectedEventArgs;{dcd9e01e-83df-43e5-8f43-cbe8479e84eb})"); } impl ::core::clone::Clone for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { fn clone(&self) -> Self { @@ -838,7 +838,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectServiceAutoAcceptSessionCon impl ::windows::core::RuntimeName for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAutoAcceptSessionConnectedEventArgs"; } -::windows::core::interface_hierarchy!(WiFiDirectServiceAutoAcceptSessionConnectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectServiceAutoAcceptSessionConnectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs {} unsafe impl ::core::marker::Sync for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] @@ -872,7 +872,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceProvisioningInfo { } } impl ::windows::core::RuntimeType for WiFiDirectServiceProvisioningInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceProvisioningInfo;{8bdb7cfe-97d9-45a2-8e99-db50910fb6a6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceProvisioningInfo;{8bdb7cfe-97d9-45a2-8e99-db50910fb6a6})"); } impl ::core::clone::Clone for WiFiDirectServiceProvisioningInfo { fn clone(&self) -> Self { @@ -888,7 +888,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectServiceProvisioningInfo { impl ::windows::core::RuntimeName for WiFiDirectServiceProvisioningInfo { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectServiceProvisioningInfo"; } -::windows::core::interface_hierarchy!(WiFiDirectServiceProvisioningInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectServiceProvisioningInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectServiceProvisioningInfo {} unsafe impl ::core::marker::Sync for WiFiDirectServiceProvisioningInfo {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] @@ -924,7 +924,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceRemotePortAddedEventArgs { } } impl ::windows::core::RuntimeType for WiFiDirectServiceRemotePortAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceRemotePortAddedEventArgs;{d4cebac1-3fd3-4f0e-b7bd-782906f44411})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceRemotePortAddedEventArgs;{d4cebac1-3fd3-4f0e-b7bd-782906f44411})"); } impl ::core::clone::Clone for WiFiDirectServiceRemotePortAddedEventArgs { fn clone(&self) -> Self { @@ -940,7 +940,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectServiceRemotePortAddedEvent impl ::windows::core::RuntimeName for WiFiDirectServiceRemotePortAddedEventArgs { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectServiceRemotePortAddedEventArgs"; } -::windows::core::interface_hierarchy!(WiFiDirectServiceRemotePortAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectServiceRemotePortAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectServiceRemotePortAddedEventArgs {} unsafe impl ::core::marker::Sync for WiFiDirectServiceRemotePortAddedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] @@ -1072,7 +1072,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceSession { } } impl ::windows::core::RuntimeType for WiFiDirectServiceSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSession;{81142163-e426-47cb-8640-e1b3588bf26f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSession;{81142163-e426-47cb-8640-e1b3588bf26f})"); } impl ::core::clone::Clone for WiFiDirectServiceSession { fn clone(&self) -> Self { @@ -1088,7 +1088,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectServiceSession { impl ::windows::core::RuntimeName for WiFiDirectServiceSession { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSession"; } -::windows::core::interface_hierarchy!(WiFiDirectServiceSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectServiceSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1139,7 +1139,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceSessionDeferredEventArgs { } } impl ::windows::core::RuntimeType for WiFiDirectServiceSessionDeferredEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionDeferredEventArgs;{8dfc197f-1201-4f1f-b6f4-5df1b7b9fb2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionDeferredEventArgs;{8dfc197f-1201-4f1f-b6f4-5df1b7b9fb2e})"); } impl ::core::clone::Clone for WiFiDirectServiceSessionDeferredEventArgs { fn clone(&self) -> Self { @@ -1155,7 +1155,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectServiceSessionDeferredEvent impl ::windows::core::RuntimeName for WiFiDirectServiceSessionDeferredEventArgs { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionDeferredEventArgs"; } -::windows::core::interface_hierarchy!(WiFiDirectServiceSessionDeferredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectServiceSessionDeferredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectServiceSessionDeferredEventArgs {} unsafe impl ::core::marker::Sync for WiFiDirectServiceSessionDeferredEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] @@ -1206,7 +1206,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceSessionRequest { } } impl ::windows::core::RuntimeType for WiFiDirectServiceSessionRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequest;{a0e27c8b-50cb-4a58-9bcf-e472b99fba04})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequest;{a0e27c8b-50cb-4a58-9bcf-e472b99fba04})"); } impl ::core::clone::Clone for WiFiDirectServiceSessionRequest { fn clone(&self) -> Self { @@ -1222,7 +1222,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectServiceSessionRequest { impl ::windows::core::RuntimeName for WiFiDirectServiceSessionRequest { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequest"; } -::windows::core::interface_hierarchy!(WiFiDirectServiceSessionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectServiceSessionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1271,7 +1271,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceSessionRequestedEventArgs { } } impl ::windows::core::RuntimeType for WiFiDirectServiceSessionRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequestedEventArgs;{74bdcc11-53d6-4999-b4f8-6c8ecc1771e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequestedEventArgs;{74bdcc11-53d6-4999-b4f8-6c8ecc1771e7})"); } impl ::core::clone::Clone for WiFiDirectServiceSessionRequestedEventArgs { fn clone(&self) -> Self { @@ -1287,7 +1287,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectServiceSessionRequestedEven impl ::windows::core::RuntimeName for WiFiDirectServiceSessionRequestedEventArgs { const NAME: &'static str = "Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequestedEventArgs"; } -::windows::core::interface_hierarchy!(WiFiDirectServiceSessionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectServiceSessionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectServiceSessionRequestedEventArgs {} unsafe impl ::core::marker::Sync for WiFiDirectServiceSessionRequestedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] @@ -1320,7 +1320,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceAdvertisementStatus { } } impl ::windows::core::RuntimeType for WiFiDirectServiceAdvertisementStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertisementStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertisementStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] @@ -1351,7 +1351,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceConfigurationMethod { } } impl ::windows::core::RuntimeType for WiFiDirectServiceConfigurationMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceConfigurationMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceConfigurationMethod;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] @@ -1384,7 +1384,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceError { } } impl ::windows::core::RuntimeType for WiFiDirectServiceError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceError;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] @@ -1414,7 +1414,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceIPProtocol { } } impl ::windows::core::RuntimeType for WiFiDirectServiceIPProtocol { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceIPProtocol;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceIPProtocol;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] @@ -1448,7 +1448,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceSessionErrorStatus { } } impl ::windows::core::RuntimeType for WiFiDirectServiceSessionErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionErrorStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] @@ -1480,7 +1480,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceSessionStatus { } } impl ::windows::core::RuntimeType for WiFiDirectServiceSessionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] @@ -1511,7 +1511,7 @@ impl ::core::fmt::Debug for WiFiDirectServiceStatus { } } impl ::windows::core::RuntimeType for WiFiDirectServiceStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs index 1241358684..aac06e0e28 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs @@ -496,7 +496,7 @@ impl ::core::fmt::Debug for WiFiDirectAdvertisement { } } impl ::windows::core::RuntimeType for WiFiDirectAdvertisement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisement;{ab511a2d-2a06-49a1-a584-61435c7905a6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisement;{ab511a2d-2a06-49a1-a584-61435c7905a6})"); } impl ::core::clone::Clone for WiFiDirectAdvertisement { fn clone(&self) -> Self { @@ -512,7 +512,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectAdvertisement { impl ::windows::core::RuntimeName for WiFiDirectAdvertisement { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectAdvertisement"; } -::windows::core::interface_hierarchy!(WiFiDirectAdvertisement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectAdvertisement, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectAdvertisement {} unsafe impl ::core::marker::Sync for WiFiDirectAdvertisement {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] @@ -522,8 +522,8 @@ impl WiFiDirectAdvertisementPublisher { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Advertisement(&self) -> ::windows::core::Result { @@ -576,7 +576,7 @@ impl ::core::fmt::Debug for WiFiDirectAdvertisementPublisher { } } impl ::windows::core::RuntimeType for WiFiDirectAdvertisementPublisher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisher;{b35a2d1a-9b1f-45d9-925a-694d66df68ef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisher;{b35a2d1a-9b1f-45d9-925a-694d66df68ef})"); } impl ::core::clone::Clone for WiFiDirectAdvertisementPublisher { fn clone(&self) -> Self { @@ -592,7 +592,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectAdvertisementPublisher { impl ::windows::core::RuntimeName for WiFiDirectAdvertisementPublisher { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisher"; } -::windows::core::interface_hierarchy!(WiFiDirectAdvertisementPublisher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectAdvertisementPublisher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectAdvertisementPublisher {} unsafe impl ::core::marker::Sync for WiFiDirectAdvertisementPublisher {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] @@ -626,7 +626,7 @@ impl ::core::fmt::Debug for WiFiDirectAdvertisementPublisherStatusChangedEventAr } } impl ::windows::core::RuntimeType for WiFiDirectAdvertisementPublisherStatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatusChangedEventArgs;{aafde53c-5481-46e6-90dd-32116518f192})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatusChangedEventArgs;{aafde53c-5481-46e6-90dd-32116518f192})"); } impl ::core::clone::Clone for WiFiDirectAdvertisementPublisherStatusChangedEventArgs { fn clone(&self) -> Self { @@ -642,7 +642,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectAdvertisementPublisherStatu impl ::windows::core::RuntimeName for WiFiDirectAdvertisementPublisherStatusChangedEventArgs { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(WiFiDirectAdvertisementPublisherStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectAdvertisementPublisherStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectAdvertisementPublisherStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for WiFiDirectAdvertisementPublisherStatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] @@ -652,8 +652,8 @@ impl WiFiDirectConnectionListener { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -684,7 +684,7 @@ impl ::core::fmt::Debug for WiFiDirectConnectionListener { } } impl ::windows::core::RuntimeType for WiFiDirectConnectionListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionListener;{699c1b0d-8d13-4ee9-b9ec-9c72f8251f7d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionListener;{699c1b0d-8d13-4ee9-b9ec-9c72f8251f7d})"); } impl ::core::clone::Clone for WiFiDirectConnectionListener { fn clone(&self) -> Self { @@ -700,7 +700,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectConnectionListener { impl ::windows::core::RuntimeName for WiFiDirectConnectionListener { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectConnectionListener"; } -::windows::core::interface_hierarchy!(WiFiDirectConnectionListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectConnectionListener, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectConnectionListener {} unsafe impl ::core::marker::Sync for WiFiDirectConnectionListener {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] @@ -710,8 +710,8 @@ impl WiFiDirectConnectionParameters { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn GroupOwnerIntent(&self) -> ::windows::core::Result { @@ -755,7 +755,7 @@ impl WiFiDirectConnectionParameters { } #[doc(hidden)] pub fn IWiFiDirectConnectionParametersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -771,7 +771,7 @@ impl ::core::fmt::Debug for WiFiDirectConnectionParameters { } } impl ::windows::core::RuntimeType for WiFiDirectConnectionParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionParameters;{b2e55405-5702-4b16-a02c-bbcd21ef6098})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionParameters;{b2e55405-5702-4b16-a02c-bbcd21ef6098})"); } impl ::core::clone::Clone for WiFiDirectConnectionParameters { fn clone(&self) -> Self { @@ -787,7 +787,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectConnectionParameters { impl ::windows::core::RuntimeName for WiFiDirectConnectionParameters { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectConnectionParameters"; } -::windows::core::interface_hierarchy!(WiFiDirectConnectionParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectConnectionParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Devices_Enumeration")] impl ::core::convert::TryFrom for super::Enumeration::IDevicePairingSettings { type Error = ::windows::core::Error; @@ -844,7 +844,7 @@ impl ::core::fmt::Debug for WiFiDirectConnectionRequest { } } impl ::windows::core::RuntimeType for WiFiDirectConnectionRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionRequest;{8eb99605-914f-49c3-a614-d18dc5b19b43})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionRequest;{8eb99605-914f-49c3-a614-d18dc5b19b43})"); } impl ::core::clone::Clone for WiFiDirectConnectionRequest { fn clone(&self) -> Self { @@ -860,7 +860,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectConnectionRequest { impl ::windows::core::RuntimeName for WiFiDirectConnectionRequest { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectConnectionRequest"; } -::windows::core::interface_hierarchy!(WiFiDirectConnectionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectConnectionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -909,7 +909,7 @@ impl ::core::fmt::Debug for WiFiDirectConnectionRequestedEventArgs { } } impl ::windows::core::RuntimeType for WiFiDirectConnectionRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionRequestedEventArgs;{f99d20be-d38d-484f-8215-e7b65abf244c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionRequestedEventArgs;{f99d20be-d38d-484f-8215-e7b65abf244c})"); } impl ::core::clone::Clone for WiFiDirectConnectionRequestedEventArgs { fn clone(&self) -> Self { @@ -925,7 +925,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectConnectionRequestedEventArg impl ::windows::core::RuntimeName for WiFiDirectConnectionRequestedEventArgs { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectConnectionRequestedEventArgs"; } -::windows::core::interface_hierarchy!(WiFiDirectConnectionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectConnectionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectConnectionRequestedEventArgs {} unsafe impl ::core::marker::Sync for WiFiDirectConnectionRequestedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] @@ -1006,12 +1006,12 @@ impl WiFiDirectDevice { } #[doc(hidden)] pub fn IWiFiDirectDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWiFiDirectDeviceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1027,7 +1027,7 @@ impl ::core::fmt::Debug for WiFiDirectDevice { } } impl ::windows::core::RuntimeType for WiFiDirectDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectDevice;{72deaaa8-72eb-4dae-8a28-8513355d2777})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectDevice;{72deaaa8-72eb-4dae-8a28-8513355d2777})"); } impl ::core::clone::Clone for WiFiDirectDevice { fn clone(&self) -> Self { @@ -1043,7 +1043,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectDevice { impl ::windows::core::RuntimeName for WiFiDirectDevice { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectDevice"; } -::windows::core::interface_hierarchy!(WiFiDirectDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1075,8 +1075,8 @@ impl WiFiDirectInformationElement { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -1150,7 +1150,7 @@ impl WiFiDirectInformationElement { } #[doc(hidden)] pub fn IWiFiDirectInformationElementStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1166,7 +1166,7 @@ impl ::core::fmt::Debug for WiFiDirectInformationElement { } } impl ::windows::core::RuntimeType for WiFiDirectInformationElement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectInformationElement;{affb72d6-76bb-497e-ac8b-dc72838bc309})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectInformationElement;{affb72d6-76bb-497e-ac8b-dc72838bc309})"); } impl ::core::clone::Clone for WiFiDirectInformationElement { fn clone(&self) -> Self { @@ -1182,7 +1182,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectInformationElement { impl ::windows::core::RuntimeName for WiFiDirectInformationElement { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectInformationElement"; } -::windows::core::interface_hierarchy!(WiFiDirectInformationElement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectInformationElement, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectInformationElement {} unsafe impl ::core::marker::Sync for WiFiDirectInformationElement {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] @@ -1239,7 +1239,7 @@ impl ::core::fmt::Debug for WiFiDirectLegacySettings { } } impl ::windows::core::RuntimeType for WiFiDirectLegacySettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectLegacySettings;{a64fdbba-f2fd-4567-a91b-f5c2f5321057})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectLegacySettings;{a64fdbba-f2fd-4567-a91b-f5c2f5321057})"); } impl ::core::clone::Clone for WiFiDirectLegacySettings { fn clone(&self) -> Self { @@ -1255,7 +1255,7 @@ unsafe impl ::windows::core::Interface for WiFiDirectLegacySettings { impl ::windows::core::RuntimeName for WiFiDirectLegacySettings { const NAME: &'static str = "Windows.Devices.WiFiDirect.WiFiDirectLegacySettings"; } -::windows::core::interface_hierarchy!(WiFiDirectLegacySettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WiFiDirectLegacySettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WiFiDirectLegacySettings {} unsafe impl ::core::marker::Sync for WiFiDirectLegacySettings {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] @@ -1287,7 +1287,7 @@ impl ::core::fmt::Debug for WiFiDirectAdvertisementListenStateDiscoverability { } } impl ::windows::core::RuntimeType for WiFiDirectAdvertisementListenStateDiscoverability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementListenStateDiscoverability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementListenStateDiscoverability;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] @@ -1319,7 +1319,7 @@ impl ::core::fmt::Debug for WiFiDirectAdvertisementPublisherStatus { } } impl ::windows::core::RuntimeType for WiFiDirectAdvertisementPublisherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] @@ -1350,7 +1350,7 @@ impl ::core::fmt::Debug for WiFiDirectConfigurationMethod { } } impl ::windows::core::RuntimeType for WiFiDirectConfigurationMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectConfigurationMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectConfigurationMethod;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] @@ -1380,7 +1380,7 @@ impl ::core::fmt::Debug for WiFiDirectConnectionStatus { } } impl ::windows::core::RuntimeType for WiFiDirectConnectionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectConnectionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectConnectionStatus;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] @@ -1410,7 +1410,7 @@ impl ::core::fmt::Debug for WiFiDirectDeviceSelectorType { } } impl ::windows::core::RuntimeType for WiFiDirectDeviceSelectorType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectDeviceSelectorType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectDeviceSelectorType;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] @@ -1441,7 +1441,7 @@ impl ::core::fmt::Debug for WiFiDirectError { } } impl ::windows::core::RuntimeType for WiFiDirectError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectError;i4)"); } #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] @@ -1471,7 +1471,7 @@ impl ::core::fmt::Debug for WiFiDirectPairingProcedure { } } impl ::windows::core::RuntimeType for WiFiDirectPairingProcedure { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectPairingProcedure;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.WiFiDirect.WiFiDirectPairingProcedure;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Devices/mod.rs b/crates/libs/windows/src/Windows/Devices/mod.rs index 7ed1ba6454..d916427db4 100644 --- a/crates/libs/windows/src/Windows/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/mod.rs @@ -106,7 +106,7 @@ impl ILowLevelDevicesAggregateProvider { } } } -::windows::core::interface_hierarchy!(ILowLevelDevicesAggregateProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILowLevelDevicesAggregateProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ILowLevelDevicesAggregateProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -119,7 +119,7 @@ impl ::core::fmt::Debug for ILowLevelDevicesAggregateProvider { } } impl ::windows::core::RuntimeType for ILowLevelDevicesAggregateProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a73e561c-aac1-4ec7-a852-479f7060d01f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a73e561c-aac1-4ec7-a852-479f7060d01f}"); } unsafe impl ::windows::core::Vtable for ILowLevelDevicesAggregateProvider { type Vtable = ILowLevelDevicesAggregateProvider_Vtbl; @@ -291,7 +291,7 @@ impl LowLevelDevicesAggregateProvider { } #[doc(hidden)] pub fn ILowLevelDevicesAggregateProviderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -307,7 +307,7 @@ impl ::core::fmt::Debug for LowLevelDevicesAggregateProvider { } } impl ::windows::core::RuntimeType for LowLevelDevicesAggregateProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.LowLevelDevicesAggregateProvider;{a73e561c-aac1-4ec7-a852-479f7060d01f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.LowLevelDevicesAggregateProvider;{a73e561c-aac1-4ec7-a852-479f7060d01f})"); } impl ::core::clone::Clone for LowLevelDevicesAggregateProvider { fn clone(&self) -> Self { @@ -323,7 +323,7 @@ unsafe impl ::windows::core::Interface for LowLevelDevicesAggregateProvider { impl ::windows::core::RuntimeName for LowLevelDevicesAggregateProvider { const NAME: &'static str = "Windows.Devices.LowLevelDevicesAggregateProvider"; } -::windows::core::interface_hierarchy!(LowLevelDevicesAggregateProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LowLevelDevicesAggregateProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILowLevelDevicesAggregateProvider { type Error = ::windows::core::Error; fn try_from(value: LowLevelDevicesAggregateProvider) -> ::windows::core::Result { @@ -364,7 +364,7 @@ impl LowLevelDevicesController { } #[doc(hidden)] pub fn ILowLevelDevicesControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -380,7 +380,7 @@ impl ::core::fmt::Debug for LowLevelDevicesController { } } impl ::windows::core::RuntimeType for LowLevelDevicesController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Devices.LowLevelDevicesController;{2ec23dd4-179b-45de-9b39-3ae02527de52})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.LowLevelDevicesController;{2ec23dd4-179b-45de-9b39-3ae02527de52})"); } impl ::core::clone::Clone for LowLevelDevicesController { fn clone(&self) -> Self { @@ -396,7 +396,7 @@ unsafe impl ::windows::core::Interface for LowLevelDevicesController { impl ::windows::core::RuntimeName for LowLevelDevicesController { const NAME: &'static str = "Windows.Devices.LowLevelDevicesController"; } -::windows::core::interface_hierarchy!(LowLevelDevicesController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LowLevelDevicesController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LowLevelDevicesController {} unsafe impl ::core::marker::Sync for LowLevelDevicesController {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs index 45510189c0..d85ef06c04 100644 --- a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs +++ b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs @@ -80,7 +80,7 @@ impl DeviceLockdownProfile { } #[doc(hidden)] pub fn IDeviceLockdownProfileStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -111,7 +111,7 @@ impl ::core::fmt::Debug for DeviceLockdownProfileInformation { } } impl ::windows::core::RuntimeType for DeviceLockdownProfileInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Embedded.DeviceLockdown.DeviceLockdownProfileInformation;{7980e14e-45b1-4a96-92fc-62756b739678})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Embedded.DeviceLockdown.DeviceLockdownProfileInformation;{7980e14e-45b1-4a96-92fc-62756b739678})"); } impl ::core::clone::Clone for DeviceLockdownProfileInformation { fn clone(&self) -> Self { @@ -127,7 +127,7 @@ unsafe impl ::windows::core::Interface for DeviceLockdownProfileInformation { impl ::windows::core::RuntimeName for DeviceLockdownProfileInformation { const NAME: &'static str = "Windows.Embedded.DeviceLockdown.DeviceLockdownProfileInformation"; } -::windows::core::interface_hierarchy!(DeviceLockdownProfileInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeviceLockdownProfileInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeviceLockdownProfileInformation {} unsafe impl ::core::marker::Sync for DeviceLockdownProfileInformation {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs index b4dd95c155..2d0710515d 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs @@ -739,3 +739,93 @@ impl IVectorView_Vtbl { iid == & as ::windows::core::Interface>::IID } } +#[::windows::core::implement(IIterable)] +struct Iterable +where + T: ::windows::core::RuntimeType + 'static, + >::Default: ::std::clone::Clone, +{ + values: std::vec::Vec, +} + +impl IIterable_Impl for Iterable +where + T: ::windows::core::RuntimeType, + >::Default: ::std::clone::Clone, +{ + fn First(&self) -> ::windows::core::Result> { + unsafe { + // TODO: ideally we can do an AddRef rather than a QI here (via cast)... + // and then we can get rid of the unsafe as well. + Ok(Iterator { owner: self.cast()?, current: 0.into() }.into()) + } + } +} + +#[::windows::core::implement(IIterator)] +struct Iterator +where + T: ::windows::core::RuntimeType + 'static, + >::Default: ::std::clone::Clone, +{ + owner: IIterable, + current: ::std::sync::atomic::AtomicUsize, +} + +impl IIterator_Impl for Iterator +where + T: ::windows::core::RuntimeType, + >::Default: ::std::clone::Clone, +{ + fn Current(&self) -> ::windows::core::Result { + let owner = ::windows::core::AsImpl::as_impl(&self.owner); + let current = self.current.load(::std::sync::atomic::Ordering::Relaxed); + + if owner.values.len() > current { + T::from_default(&owner.values[current]) + } else { + Err(::windows::imp::E_BOUNDS.into()) + } + } + + fn HasCurrent(&self) -> ::windows::core::Result { + let owner = ::windows::core::AsImpl::as_impl(&self.owner); + let current = self.current.load(::std::sync::atomic::Ordering::Relaxed); + + Ok(owner.values.len() > current) + } + + fn MoveNext(&self) -> ::windows::core::Result { + let owner = ::windows::core::AsImpl::as_impl(&self.owner); + let current = self.current.load(::std::sync::atomic::Ordering::Relaxed); + + if current < owner.values.len() { + self.current.fetch_add(1, ::std::sync::atomic::Ordering::Relaxed); + } + + Ok(owner.values.len() > current + 1) + } + + fn GetMany(&self, values: &mut [T::Default]) -> ::windows::core::Result { + let owner = ::windows::core::AsImpl::as_impl(&self.owner); + let current = self.current.load(::std::sync::atomic::Ordering::Relaxed); + + let actual = std::cmp::min(owner.values.len() - current, values.len()); + let (values, _) = values.split_at_mut(actual); + values.clone_from_slice(&owner.values[current..current + actual]); + self.current.fetch_add(actual, ::std::sync::atomic::Ordering::Relaxed); + Ok(actual as _) + } +} + +impl ::core::convert::TryFrom<::std::vec::Vec> for IIterable +where + T: ::windows::core::RuntimeType, + >::Default: ::std::clone::Clone, +{ + type Error = ::windows::core::Error; + fn try_from(values: ::std::vec::Vec) -> ::windows::core::Result { + // TODO: should provide a fallible try_into or more explicit allocator + Ok(Iterable { values }.into()) + } +} diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index e504516cf8..3a7c43dd5e 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -54,7 +54,7 @@ impl ::core::fmt::Debug for IIterable } } impl ::windows::core::RuntimeType for IIterable { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{faa585ea-6214-4217-afda-7f46de5869b3}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } impl ::core::iter::IntoIterator for IIterable { type Item = T; @@ -168,7 +168,7 @@ impl ::core::fmt::Debug for IIterator } } impl ::windows::core::RuntimeType for IIterator { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{6a79e863-4300-459a-9966-cbb660963ee1}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } impl ::core::iter::Iterator for IIterator { type Item = T; @@ -268,7 +268,7 @@ impl ::windows::core::RuntimeType for IKeyValuePair { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } unsafe impl ::windows::core::Vtable for IKeyValuePair { type Vtable = IKeyValuePair_Vtbl; @@ -426,7 +426,7 @@ impl ::windows::core::RuntimeType for IMap { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } impl ::core::iter::IntoIterator for IMap { type Item = IKeyValuePair; @@ -534,7 +534,7 @@ impl ::core::fmt::Debug for IMapChang } } impl ::windows::core::RuntimeType for IMapChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9939f4df-050a-4c0f-aa60-77075f9c4777}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows::core::Vtable for IMapChangedEventArgs { type Vtable = IMapChangedEventArgs_Vtbl; @@ -665,7 +665,7 @@ impl ::windows::core::RuntimeType for IMapView { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } impl ::core::iter::IntoIterator for IMapView { type Item = IKeyValuePair; @@ -869,7 +869,7 @@ impl ::windows::core::RuntimeType for IObservableMap { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } impl ::core::iter::IntoIterator for IObservableMap { type Item = IKeyValuePair; @@ -1089,7 +1089,7 @@ impl ::core::fmt::Debug for IObservab } } impl ::windows::core::RuntimeType for IObservableVector { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{5917eb53-50b4-4a0d-b309-65862b3f1dbc}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } impl ::core::iter::IntoIterator for IObservableVector { type Item = T; @@ -1196,7 +1196,7 @@ impl IPropertySet { unsafe { (::windows::core::Vtable::vtable(this).RemoveMapChanged)(::windows::core::Vtable::as_raw(this), token).ok() } } } -::windows::core::interface_hierarchy!(IPropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IIterable> { type Error = ::windows::core::Error; fn try_from(value: IPropertySet) -> ::windows::core::Result { @@ -1266,7 +1266,7 @@ impl ::core::fmt::Debug for IPropertySet { } } impl ::windows::core::RuntimeType for IPropertySet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8a43ed9f-f4e6-4421-acf9-1dab2986820c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8a43ed9f-f4e6-4421-acf9-1dab2986820c}"); } impl ::core::iter::IntoIterator for IPropertySet { type Item = IKeyValuePair<::windows::core::HSTRING, ::windows::core::IInspectable>; @@ -1448,7 +1448,7 @@ impl ::core::fmt::Debug for IVector ::windows::core::RuntimeType for IVector { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{913337e9-11a1-4345-a3a2-4e7f956e222d}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } pub struct VectorIterator { vector: ::core::option::Option>, @@ -1533,7 +1533,7 @@ impl IVectorChangedEventArgs { } } } -::windows::core::interface_hierarchy!(IVectorChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVectorChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVectorChangedEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1546,7 +1546,7 @@ impl ::core::fmt::Debug for IVectorChangedEventArgs { } } impl ::windows::core::RuntimeType for IVectorChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{575933df-34fe-4480-af15-07691f3d5d9b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{575933df-34fe-4480-af15-07691f3d5d9b}"); } unsafe impl ::windows::core::Vtable for IVectorChangedEventArgs { type Vtable = IVectorChangedEventArgs_Vtbl; @@ -1672,7 +1672,7 @@ impl ::core::fmt::Debug for IVectorVi } } impl ::windows::core::RuntimeType for IVectorView { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{bbe1fa4c-b0e3-4583-baef-1f1b2e483e56}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } pub struct VectorViewIterator { vector: ::core::option::Option>, @@ -1737,8 +1737,8 @@ impl PropertySet { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn First(&self) -> ::windows::core::Result>> { @@ -1818,7 +1818,7 @@ impl ::core::fmt::Debug for PropertySet { } } impl ::windows::core::RuntimeType for PropertySet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.PropertySet;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.PropertySet;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } impl ::core::clone::Clone for PropertySet { fn clone(&self) -> Self { @@ -1848,7 +1848,7 @@ impl ::core::iter::IntoIterator for &PropertySet { self.First().unwrap() } } -::windows::core::interface_hierarchy!(PropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IIterable> { type Error = ::windows::core::Error; fn try_from(value: PropertySet) -> ::windows::core::Result { @@ -1934,8 +1934,8 @@ impl StringMap { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn First(&self) -> ::windows::core::Result>> { @@ -2012,7 +2012,7 @@ impl ::core::fmt::Debug for StringMap { } } impl ::windows::core::RuntimeType for StringMap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.StringMap;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;string))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.StringMap;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;string))"); } impl ::core::clone::Clone for StringMap { fn clone(&self) -> Self { @@ -2042,7 +2042,7 @@ impl ::core::iter::IntoIterator for &StringMap { self.First().unwrap() } } -::windows::core::interface_hierarchy!(StringMap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StringMap, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IIterable> { type Error = ::windows::core::Error; fn try_from(value: StringMap) -> ::windows::core::Result { @@ -2109,8 +2109,8 @@ impl ValueSet { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn First(&self) -> ::windows::core::Result>> { @@ -2190,7 +2190,7 @@ impl ::core::fmt::Debug for ValueSet { } } impl ::windows::core::RuntimeType for ValueSet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.ValueSet;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.ValueSet;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } impl ::core::clone::Clone for ValueSet { fn clone(&self) -> Self { @@ -2220,7 +2220,7 @@ impl ::core::iter::IntoIterator for &ValueSet { self.First().unwrap() } } -::windows::core::interface_hierarchy!(ValueSet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ValueSet, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IIterable> { type Error = ::windows::core::Error; fn try_from(value: ValueSet) -> ::windows::core::Result { @@ -2329,7 +2329,7 @@ impl ::core::fmt::Debug for CollectionChange { } } impl ::windows::core::RuntimeType for CollectionChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Collections.CollectionChange;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Collections.CollectionChange;i4)"); } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] @@ -2339,8 +2339,8 @@ where V: ::windows::core::RuntimeType + 'static; impl MapChangedEventHandler { pub fn new>, ::core::option::Option<&IMapChangedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = MapChangedEventHandlerBox:: { vtable: &MapChangedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = MapChangedEventHandlerBox:: { vtable: &MapChangedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: P0, event: P1) -> ::windows::core::Result<()> where @@ -2361,7 +2361,7 @@ where { vtable: *const MapChangedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl>, ::core::option::Option<&IMapChangedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> MapChangedEventHandlerBox { const VTABLE: MapChangedEventHandler_Vtbl = MapChangedEventHandler_Vtbl:: { @@ -2372,7 +2372,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -2388,7 +2388,7 @@ impl::SIGNATURE); } impl ::windows::core::RuntimeType for MapChangedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } #[repr(C)] #[doc(hidden)] @@ -2441,8 +2441,8 @@ where T: ::windows::core::RuntimeType + 'static; impl VectorChangedEventHandler { pub fn new>, ::core::option::Option<&IVectorChangedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = VectorChangedEventHandlerBox:: { vtable: &VectorChangedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = VectorChangedEventHandlerBox:: { vtable: &VectorChangedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: P0, event: P1) -> ::windows::core::Result<()> where @@ -2462,7 +2462,7 @@ where { vtable: *const VectorChangedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl>, ::core::option::Option<&IVectorChangedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> VectorChangedEventHandlerBox { const VTABLE: VectorChangedEventHandler_Vtbl = VectorChangedEventHandler_Vtbl:: { @@ -2472,7 +2472,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -2488,7 +2488,7 @@ impl ::windows::core::Interfac const IID: ::windows::core::GUID = ::windows::core::GUID::from_signature(::SIGNATURE); } impl ::windows::core::RuntimeType for VectorChangedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{0c051752-9fbf-4c70-aa0c-0e4c82d9a761}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index 33e9442c4d..ff1da3c521 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -82,7 +82,7 @@ impl IErrorReportingSettings { } } } -::windows::core::interface_hierarchy!(IErrorReportingSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IErrorReportingSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IErrorReportingSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -95,7 +95,7 @@ impl ::core::fmt::Debug for IErrorReportingSettings { } } impl ::windows::core::RuntimeType for IErrorReportingSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{16369792-b03e-4ba1-8bb8-d28f4ab4d2c0}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{16369792-b03e-4ba1-8bb8-d28f4ab4d2c0}"); } unsafe impl ::windows::core::Vtable for IErrorReportingSettings { type Vtable = IErrorReportingSettings_Vtbl; @@ -175,7 +175,7 @@ impl IFileLoggingSession { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IFileLoggingSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IFileLoggingSession, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IClosable { type Error = ::windows::core::Error; fn try_from(value: IFileLoggingSession) -> ::windows::core::Result { @@ -207,7 +207,7 @@ impl ::core::fmt::Debug for IFileLoggingSession { } } impl ::windows::core::RuntimeType for IFileLoggingSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{24c74216-fed2-404c-895f-1f9699cb02f7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{24c74216-fed2-404c-895f-1f9699cb02f7}"); } unsafe impl ::windows::core::Vtable for IFileLoggingSession { type Vtable = IFileLoggingSession_Vtbl; @@ -400,7 +400,7 @@ impl ILoggingChannel { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(ILoggingChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILoggingChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IClosable { type Error = ::windows::core::Error; fn try_from(value: ILoggingChannel) -> ::windows::core::Result { @@ -432,7 +432,7 @@ impl ::core::fmt::Debug for ILoggingChannel { } } impl ::windows::core::RuntimeType for ILoggingChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e9a50343-11d7-4f01-b5ca-cf495278c0a8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e9a50343-11d7-4f01-b5ca-cf495278c0a8}"); } unsafe impl ::windows::core::Vtable for ILoggingChannel { type Vtable = ILoggingChannel_Vtbl; @@ -802,7 +802,7 @@ impl ILoggingSession { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(ILoggingSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILoggingSession, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IClosable { type Error = ::windows::core::Error; fn try_from(value: ILoggingSession) -> ::windows::core::Result { @@ -834,7 +834,7 @@ impl ::core::fmt::Debug for ILoggingSession { } } impl ::windows::core::RuntimeType for ILoggingSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6221f306-9380-4ad7-baf5-41ea9310d768}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6221f306-9380-4ad7-baf5-41ea9310d768}"); } unsafe impl ::windows::core::Vtable for ILoggingSession { type Vtable = ILoggingSession_Vtbl; @@ -950,7 +950,7 @@ impl ILoggingTarget { } } } -::windows::core::interface_hierarchy!(ILoggingTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILoggingTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ILoggingTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -963,7 +963,7 @@ impl ::core::fmt::Debug for ILoggingTarget { } } impl ::windows::core::RuntimeType for ILoggingTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{65f16c35-e388-4e26-b17a-f51cd3a83916}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{65f16c35-e388-4e26-b17a-f51cd3a83916}"); } unsafe impl ::windows::core::Vtable for ILoggingTarget { type Vtable = ILoggingTarget_Vtbl; @@ -1042,7 +1042,7 @@ impl AsyncCausalityTracer { } #[doc(hidden)] pub fn IAsyncCausalityTracerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1082,7 +1082,7 @@ impl ErrorDetails { } #[doc(hidden)] pub fn IErrorDetailsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1098,7 +1098,7 @@ impl ::core::fmt::Debug for ErrorDetails { } } impl ::windows::core::RuntimeType for ErrorDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.ErrorDetails;{378cbb01-2cc9-428f-8c55-2c990d463e8f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.ErrorDetails;{378cbb01-2cc9-428f-8c55-2c990d463e8f})"); } impl ::core::clone::Clone for ErrorDetails { fn clone(&self) -> Self { @@ -1114,7 +1114,7 @@ unsafe impl ::windows::core::Interface for ErrorDetails { impl ::windows::core::RuntimeName for ErrorDetails { const NAME: &'static str = "Windows.Foundation.Diagnostics.ErrorDetails"; } -::windows::core::interface_hierarchy!(ErrorDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ErrorDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ErrorDetails {} unsafe impl ::core::marker::Sync for ErrorDetails {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] @@ -1184,7 +1184,7 @@ impl FileLoggingSession { } #[doc(hidden)] pub fn IFileLoggingSessionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1200,7 +1200,7 @@ impl ::core::fmt::Debug for FileLoggingSession { } } impl ::windows::core::RuntimeType for FileLoggingSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.FileLoggingSession;{24c74216-fed2-404c-895f-1f9699cb02f7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.FileLoggingSession;{24c74216-fed2-404c-895f-1f9699cb02f7})"); } impl ::core::clone::Clone for FileLoggingSession { fn clone(&self) -> Self { @@ -1216,7 +1216,7 @@ unsafe impl ::windows::core::Interface for FileLoggingSession { impl ::windows::core::RuntimeName for FileLoggingSession { const NAME: &'static str = "Windows.Foundation.Diagnostics.FileLoggingSession"; } -::windows::core::interface_hierarchy!(FileLoggingSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileLoggingSession, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IClosable { type Error = ::windows::core::Error; fn try_from(value: FileLoggingSession) -> ::windows::core::Result { @@ -1283,7 +1283,7 @@ impl ::core::fmt::Debug for LogFileGeneratedEventArgs { } } impl ::windows::core::RuntimeType for LogFileGeneratedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LogFileGeneratedEventArgs;{269e976f-0d38-4c1a-b53f-b395d881df84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LogFileGeneratedEventArgs;{269e976f-0d38-4c1a-b53f-b395d881df84})"); } impl ::core::clone::Clone for LogFileGeneratedEventArgs { fn clone(&self) -> Self { @@ -1299,7 +1299,7 @@ unsafe impl ::windows::core::Interface for LogFileGeneratedEventArgs { impl ::windows::core::RuntimeName for LogFileGeneratedEventArgs { const NAME: &'static str = "Windows.Foundation.Diagnostics.LogFileGeneratedEventArgs"; } -::windows::core::interface_hierarchy!(LogFileGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LogFileGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LogFileGeneratedEventArgs {} unsafe impl ::core::marker::Sync for LogFileGeneratedEventArgs {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] @@ -1430,7 +1430,7 @@ impl LoggingActivity { } #[doc(hidden)] pub fn ILoggingActivityFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1446,7 +1446,7 @@ impl ::core::fmt::Debug for LoggingActivity { } } impl ::windows::core::RuntimeType for LoggingActivity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingActivity;{bc032941-b766-4cb5-9848-97ac6ba6d60c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingActivity;{bc032941-b766-4cb5-9848-97ac6ba6d60c})"); } impl ::core::clone::Clone for LoggingActivity { fn clone(&self) -> Self { @@ -1462,7 +1462,7 @@ unsafe impl ::windows::core::Interface for LoggingActivity { impl ::windows::core::RuntimeName for LoggingActivity { const NAME: &'static str = "Windows.Foundation.Diagnostics.LoggingActivity"; } -::windows::core::interface_hierarchy!(LoggingActivity, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LoggingActivity, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IClosable { type Error = ::windows::core::Error; fn try_from(value: LoggingActivity) -> ::windows::core::Result { @@ -1653,12 +1653,12 @@ impl LoggingChannel { } #[doc(hidden)] pub fn ILoggingChannelFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILoggingChannelFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1674,7 +1674,7 @@ impl ::core::fmt::Debug for LoggingChannel { } } impl ::windows::core::RuntimeType for LoggingChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingChannel;{e9a50343-11d7-4f01-b5ca-cf495278c0a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingChannel;{e9a50343-11d7-4f01-b5ca-cf495278c0a8})"); } impl ::core::clone::Clone for LoggingChannel { fn clone(&self) -> Self { @@ -1690,7 +1690,7 @@ unsafe impl ::windows::core::Interface for LoggingChannel { impl ::windows::core::RuntimeName for LoggingChannel { const NAME: &'static str = "Windows.Foundation.Diagnostics.LoggingChannel"; } -::windows::core::interface_hierarchy!(LoggingChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LoggingChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IClosable { type Error = ::windows::core::Error; fn try_from(value: LoggingChannel) -> ::windows::core::Result { @@ -1757,8 +1757,8 @@ impl LoggingChannelOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Group(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -1780,7 +1780,7 @@ impl LoggingChannelOptions { } #[doc(hidden)] pub fn ILoggingChannelOptionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1796,7 +1796,7 @@ impl ::core::fmt::Debug for LoggingChannelOptions { } } impl ::windows::core::RuntimeType for LoggingChannelOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingChannelOptions;{c3e847ff-0ebb-4a53-8c54-dec24926cb2c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingChannelOptions;{c3e847ff-0ebb-4a53-8c54-dec24926cb2c})"); } impl ::core::clone::Clone for LoggingChannelOptions { fn clone(&self) -> Self { @@ -1812,7 +1812,7 @@ unsafe impl ::windows::core::Interface for LoggingChannelOptions { impl ::windows::core::RuntimeName for LoggingChannelOptions { const NAME: &'static str = "Windows.Foundation.Diagnostics.LoggingChannelOptions"; } -::windows::core::interface_hierarchy!(LoggingChannelOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LoggingChannelOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LoggingChannelOptions {} unsafe impl ::core::marker::Sync for LoggingChannelOptions {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] @@ -1822,8 +1822,8 @@ impl LoggingFields { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Clear(&self) -> ::windows::core::Result<()> { @@ -2299,7 +2299,7 @@ impl ::core::fmt::Debug for LoggingFields { } } impl ::windows::core::RuntimeType for LoggingFields { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingFields;{d7f6b7af-762d-4579-83bd-52c23bc333bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingFields;{d7f6b7af-762d-4579-83bd-52c23bc333bc})"); } impl ::core::clone::Clone for LoggingFields { fn clone(&self) -> Self { @@ -2315,7 +2315,7 @@ unsafe impl ::windows::core::Interface for LoggingFields { impl ::windows::core::RuntimeName for LoggingFields { const NAME: &'static str = "Windows.Foundation.Diagnostics.LoggingFields"; } -::windows::core::interface_hierarchy!(LoggingFields, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LoggingFields, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LoggingFields {} unsafe impl ::core::marker::Sync for LoggingFields {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] @@ -2325,8 +2325,8 @@ impl LoggingOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Keywords(&self) -> ::windows::core::Result { @@ -2403,7 +2403,7 @@ impl LoggingOptions { } #[doc(hidden)] pub fn ILoggingOptionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2419,7 +2419,7 @@ impl ::core::fmt::Debug for LoggingOptions { } } impl ::windows::core::RuntimeType for LoggingOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingOptions;{90bc7850-0192-4f5d-ac26-006adaca12d8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingOptions;{90bc7850-0192-4f5d-ac26-006adaca12d8})"); } impl ::core::clone::Clone for LoggingOptions { fn clone(&self) -> Self { @@ -2435,7 +2435,7 @@ unsafe impl ::windows::core::Interface for LoggingOptions { impl ::windows::core::RuntimeName for LoggingOptions { const NAME: &'static str = "Windows.Foundation.Diagnostics.LoggingOptions"; } -::windows::core::interface_hierarchy!(LoggingOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LoggingOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LoggingOptions {} unsafe impl ::core::marker::Sync for LoggingOptions {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] @@ -2498,7 +2498,7 @@ impl LoggingSession { } #[doc(hidden)] pub fn ILoggingSessionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2514,7 +2514,7 @@ impl ::core::fmt::Debug for LoggingSession { } } impl ::windows::core::RuntimeType for LoggingSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingSession;{6221f306-9380-4ad7-baf5-41ea9310d768})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingSession;{6221f306-9380-4ad7-baf5-41ea9310d768})"); } impl ::core::clone::Clone for LoggingSession { fn clone(&self) -> Self { @@ -2530,7 +2530,7 @@ unsafe impl ::windows::core::Interface for LoggingSession { impl ::windows::core::RuntimeName for LoggingSession { const NAME: &'static str = "Windows.Foundation.Diagnostics.LoggingSession"; } -::windows::core::interface_hierarchy!(LoggingSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LoggingSession, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IClosable { type Error = ::windows::core::Error; fn try_from(value: LoggingSession) -> ::windows::core::Result { @@ -2578,8 +2578,8 @@ impl RuntimeBrokerErrorSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetErrorOptions(&self, value: ErrorOptions) -> ::windows::core::Result<()> { @@ -2606,7 +2606,7 @@ impl ::core::fmt::Debug for RuntimeBrokerErrorSettings { } } impl ::windows::core::RuntimeType for RuntimeBrokerErrorSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.RuntimeBrokerErrorSettings;{16369792-b03e-4ba1-8bb8-d28f4ab4d2c0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.RuntimeBrokerErrorSettings;{16369792-b03e-4ba1-8bb8-d28f4ab4d2c0})"); } impl ::core::clone::Clone for RuntimeBrokerErrorSettings { fn clone(&self) -> Self { @@ -2622,7 +2622,7 @@ unsafe impl ::windows::core::Interface for RuntimeBrokerErrorSettings { impl ::windows::core::RuntimeName for RuntimeBrokerErrorSettings { const NAME: &'static str = "Windows.Foundation.Diagnostics.RuntimeBrokerErrorSettings"; } -::windows::core::interface_hierarchy!(RuntimeBrokerErrorSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RuntimeBrokerErrorSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IErrorReportingSettings { type Error = ::windows::core::Error; fn try_from(value: RuntimeBrokerErrorSettings) -> ::windows::core::Result { @@ -2675,7 +2675,7 @@ impl ::core::fmt::Debug for TracingStatusChangedEventArgs { } } impl ::windows::core::RuntimeType for TracingStatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.TracingStatusChangedEventArgs;{410b7711-ff3b-477f-9c9a-d2efda302dc3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.TracingStatusChangedEventArgs;{410b7711-ff3b-477f-9c9a-d2efda302dc3})"); } impl ::core::clone::Clone for TracingStatusChangedEventArgs { fn clone(&self) -> Self { @@ -2691,7 +2691,7 @@ unsafe impl ::windows::core::Interface for TracingStatusChangedEventArgs { impl ::windows::core::RuntimeName for TracingStatusChangedEventArgs { const NAME: &'static str = "Windows.Foundation.Diagnostics.TracingStatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(TracingStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TracingStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TracingStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for TracingStatusChangedEventArgs {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] @@ -2725,7 +2725,7 @@ impl ::core::fmt::Debug for CausalityRelation { } } impl ::windows::core::RuntimeType for CausalityRelation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.CausalityRelation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.CausalityRelation;i4)"); } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] @@ -2756,7 +2756,7 @@ impl ::core::fmt::Debug for CausalitySource { } } impl ::windows::core::RuntimeType for CausalitySource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.CausalitySource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.CausalitySource;i4)"); } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] @@ -2787,7 +2787,7 @@ impl ::core::fmt::Debug for CausalitySynchronousWork { } } impl ::windows::core::RuntimeType for CausalitySynchronousWork { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.CausalitySynchronousWork;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.CausalitySynchronousWork;i4)"); } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] @@ -2818,7 +2818,7 @@ impl ::core::fmt::Debug for CausalityTraceLevel { } } impl ::windows::core::RuntimeType for CausalityTraceLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.CausalityTraceLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.CausalityTraceLevel;i4)"); } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] @@ -2884,7 +2884,7 @@ impl ::core::ops::Not for ErrorOptions { } } impl ::windows::core::RuntimeType for ErrorOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.ErrorOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.ErrorOptions;u4)"); } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] @@ -2931,7 +2931,7 @@ impl ::core::fmt::Debug for LoggingFieldFormat { } } impl ::windows::core::RuntimeType for LoggingFieldFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.LoggingFieldFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.LoggingFieldFormat;i4)"); } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] @@ -2964,7 +2964,7 @@ impl ::core::fmt::Debug for LoggingLevel { } } impl ::windows::core::RuntimeType for LoggingLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.LoggingLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.LoggingLevel;i4)"); } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] @@ -2999,7 +2999,7 @@ impl ::core::fmt::Debug for LoggingOpcode { } } impl ::windows::core::RuntimeType for LoggingOpcode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.LoggingOpcode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Diagnostics.LoggingOpcode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs index b2370fbbbb..2e91b2589b 100644 --- a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs @@ -92,7 +92,7 @@ impl ApiInformation { } #[doc(hidden)] pub fn IApiInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -171,7 +171,7 @@ impl ::core::ops::Not for AttributeTargets { } } impl ::windows::core::RuntimeType for AttributeTargets { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.AttributeTargets;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.AttributeTargets;u4)"); } #[doc = "*Required features: `\"Foundation_Metadata\"`*"] #[repr(transparent)] @@ -201,7 +201,7 @@ impl ::core::fmt::Debug for CompositionType { } } impl ::windows::core::RuntimeType for CompositionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.CompositionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.CompositionType;i4)"); } #[doc = "*Required features: `\"Foundation_Metadata\"`*"] #[repr(transparent)] @@ -231,7 +231,7 @@ impl ::core::fmt::Debug for DeprecationType { } } impl ::windows::core::RuntimeType for DeprecationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.DeprecationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.DeprecationType;i4)"); } #[doc = "*Required features: `\"Foundation_Metadata\"`*"] #[repr(transparent)] @@ -263,7 +263,7 @@ impl ::core::fmt::Debug for FeatureStage { } } impl ::windows::core::RuntimeType for FeatureStage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.FeatureStage;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.FeatureStage;i4)"); } #[doc = "*Required features: `\"Foundation_Metadata\"`*"] #[repr(transparent)] @@ -294,7 +294,7 @@ impl ::core::fmt::Debug for GCPressureAmount { } } impl ::windows::core::RuntimeType for GCPressureAmount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.GCPressureAmount;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.GCPressureAmount;i4)"); } #[doc = "*Required features: `\"Foundation_Metadata\"`*"] #[repr(transparent)] @@ -326,7 +326,7 @@ impl ::core::fmt::Debug for MarshalingType { } } impl ::windows::core::RuntimeType for MarshalingType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.MarshalingType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.MarshalingType;i4)"); } #[doc = "*Required features: `\"Foundation_Metadata\"`*"] #[repr(transparent)] @@ -356,7 +356,7 @@ impl ::core::fmt::Debug for Platform { } } impl ::windows::core::RuntimeType for Platform { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.Platform;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.Platform;i4)"); } #[doc = "*Required features: `\"Foundation_Metadata\"`*"] #[repr(transparent)] @@ -388,7 +388,7 @@ impl ::core::fmt::Debug for ThreadingModel { } } impl ::windows::core::RuntimeType for ThreadingModel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.ThreadingModel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.Metadata.ThreadingModel;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Foundation/Numerics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Numerics/mod.rs index c6d47ea9f8..96c233914d 100644 --- a/crates/libs/windows/src/Windows/Foundation/Numerics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Numerics/mod.rs @@ -23,7 +23,7 @@ impl ::windows::core::TypeKind for Matrix3x2 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Matrix3x2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Matrix3x2;f4;f4;f4;f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Matrix3x2;f4;f4;f4;f4;f4;f4)"); } impl ::core::cmp::PartialEq for Matrix3x2 { fn eq(&self, other: &Self) -> bool { @@ -71,7 +71,7 @@ impl ::windows::core::TypeKind for Matrix4x4 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Matrix4x4 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Matrix4x4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Matrix4x4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4)"); } impl ::core::cmp::PartialEq for Matrix4x4 { fn eq(&self, other: &Self) -> bool { @@ -105,7 +105,7 @@ impl ::windows::core::TypeKind for Plane { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Plane { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4)"); } impl ::core::cmp::PartialEq for Plane { fn eq(&self, other: &Self) -> bool { @@ -141,7 +141,7 @@ impl ::windows::core::TypeKind for Quaternion { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Quaternion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Quaternion;f4;f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Quaternion;f4;f4;f4;f4)"); } impl ::core::cmp::PartialEq for Quaternion { fn eq(&self, other: &Self) -> bool { @@ -175,7 +175,7 @@ impl ::windows::core::TypeKind for Rational { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Rational { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Rational;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Rational;u4;u4)"); } impl ::core::cmp::PartialEq for Rational { fn eq(&self, other: &Self) -> bool { @@ -209,7 +209,7 @@ impl ::windows::core::TypeKind for Vector2 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Vector2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Vector2;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Vector2;f4;f4)"); } impl ::core::cmp::PartialEq for Vector2 { fn eq(&self, other: &Self) -> bool { @@ -244,7 +244,7 @@ impl ::windows::core::TypeKind for Vector3 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Vector3 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4)"); } impl ::core::cmp::PartialEq for Vector3 { fn eq(&self, other: &Self) -> bool { @@ -280,7 +280,7 @@ impl ::windows::core::TypeKind for Vector4 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Vector4 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Vector4;f4;f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Numerics.Vector4;f4;f4;f4;f4)"); } impl ::core::cmp::PartialEq for Vector4 { fn eq(&self, other: &Self) -> bool { @@ -306,7 +306,7 @@ impl Matrix3x2 { pub x: f32, pub y: f32, } - ::windows::core::link!("d2d1.dll" "system" fn D2D1MakeRotateMatrix(angle: f32, center: D2D_POINT_2F, matrix: *mut Matrix3x2) -> ()); + ::windows::imp::link!("d2d1.dll" "system" fn D2D1MakeRotateMatrix(angle: f32, center: D2D_POINT_2F, matrix: *mut Matrix3x2) -> ()); let mut matrix = Self::default(); unsafe { D2D1MakeRotateMatrix(angle, D2D_POINT_2F { x, y }, &mut matrix); @@ -454,7 +454,7 @@ impl Matrix4x4 { } } pub fn rotation_y(degree: f32) -> Self { - ::windows::core::link!("d2d1.dll" "system" fn D2D1SinCos(angle: f32, sin: *mut f32, cos: *mut f32) -> ()); + ::windows::imp::link!("d2d1.dll" "system" fn D2D1SinCos(angle: f32, sin: *mut f32, cos: *mut f32) -> ()); let angle = degree * (3.141592654 / 180.0); let mut sin = 0.0; let mut cos = 0.0; diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index 846d40a761..c165c0b95e 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -55,7 +55,7 @@ impl IAsyncAction { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IAsyncAction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAsyncAction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAsyncInfo { type Error = ::windows::core::Error; fn try_from(value: IAsyncAction) -> ::windows::core::Result { @@ -87,12 +87,12 @@ impl ::core::fmt::Debug for IAsyncAction { } } impl ::windows::core::RuntimeType for IAsyncAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5a648006-843a-4da9-865b-9d26e5dfad7b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5a648006-843a-4da9-865b-9d26e5dfad7b}"); } impl IAsyncAction { pub fn get(&self) -> ::windows::core::Result<()> { if self.Status()? == AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&AsyncActionCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -262,12 +262,12 @@ impl ::core::fmt::Debug for I } } impl ::windows::core::RuntimeType for IAsyncActionWithProgress { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{1f6db258-e803-48a1-9546-eb7353398884}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } impl IAsyncActionWithProgress { pub fn get(&self) -> ::windows::core::Result<()> { if self.Status()? == AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&AsyncActionWithProgressCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -354,7 +354,7 @@ impl IAsyncInfo { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IAsyncInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAsyncInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAsyncInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -367,7 +367,7 @@ impl ::core::fmt::Debug for IAsyncInfo { } } impl ::windows::core::RuntimeType for IAsyncInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{00000036-0000-0000-c000-000000000046}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{00000036-0000-0000-c000-000000000046}"); } unsafe impl ::windows::core::Vtable for IAsyncInfo { type Vtable = IAsyncInfo_Vtbl; @@ -505,12 +505,12 @@ impl ::core::fmt::Debug for IAs } } impl ::windows::core::RuntimeType for IAsyncOperation { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9fc2b0bb-e446-44e2-aa61-9cab8f636af2}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } impl IAsyncOperation { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&AsyncOperationCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -688,12 +688,12 @@ impl ::windows::core::RuntimeType for IAsyncOperationWithProgress { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } impl IAsyncOperationWithProgress { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&AsyncOperationWithProgressCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -757,7 +757,7 @@ impl IClosable { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IClosable, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IClosable, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IClosable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -770,7 +770,7 @@ impl ::core::fmt::Debug for IClosable { } } impl ::windows::core::RuntimeType for IClosable { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{30d5a829-7fa4-4026-83bb-d75bae4ea99e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{30d5a829-7fa4-4026-83bb-d75bae4ea99e}"); } unsafe impl ::windows::core::Vtable for IClosable { type Vtable = IClosable_Vtbl; @@ -841,7 +841,7 @@ impl IGetActivationFactory { } } } -::windows::core::interface_hierarchy!(IGetActivationFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGetActivationFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGetActivationFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -854,7 +854,7 @@ impl ::core::fmt::Debug for IGetActivationFactory { } } impl ::windows::core::RuntimeType for IGetActivationFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4edb8ee2-96dd-49a7-94f7-4607ddab8e3c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4edb8ee2-96dd-49a7-94f7-4607ddab8e3c}"); } unsafe impl ::windows::core::Vtable for IGetActivationFactory { type Vtable = IGetActivationFactory_Vtbl; @@ -911,7 +911,7 @@ impl IMemoryBuffer { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IMemoryBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMemoryBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IClosable { type Error = ::windows::core::Error; fn try_from(value: IMemoryBuffer) -> ::windows::core::Result { @@ -943,7 +943,7 @@ impl ::core::fmt::Debug for IMemoryBuffer { } } impl ::windows::core::RuntimeType for IMemoryBuffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fbc4dd2a-245b-11e4-af98-689423260cf8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fbc4dd2a-245b-11e4-af98-689423260cf8}"); } unsafe impl ::windows::core::Vtable for IMemoryBuffer { type Vtable = IMemoryBuffer_Vtbl; @@ -1009,7 +1009,7 @@ impl IMemoryBufferReference { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IMemoryBufferReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMemoryBufferReference, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IClosable { type Error = ::windows::core::Error; fn try_from(value: IMemoryBufferReference) -> ::windows::core::Result { @@ -1041,7 +1041,7 @@ impl ::core::fmt::Debug for IMemoryBufferReference { } } impl ::windows::core::RuntimeType for IMemoryBufferReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fbc4dd29-245b-11e4-af98-689423260cf8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fbc4dd29-245b-11e4-af98-689423260cf8}"); } unsafe impl ::windows::core::Vtable for IMemoryBufferReference { type Vtable = IMemoryBufferReference_Vtbl; @@ -1283,7 +1283,7 @@ impl IPropertyValue { unsafe { (::windows::core::Vtable::vtable(this).GetRectArray)(::windows::core::Vtable::as_raw(this), value.set_abi_len(), value as *mut _ as _).ok() } } } -::windows::core::interface_hierarchy!(IPropertyValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPropertyValue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPropertyValue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1296,7 +1296,7 @@ impl ::core::fmt::Debug for IPropertyValue { } } impl ::windows::core::RuntimeType for IPropertyValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4bd682dd-7554-40e9-9a9b-82654ede7e62}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4bd682dd-7554-40e9-9a9b-82654ede7e62}"); } unsafe impl ::windows::core::Vtable for IPropertyValue { type Vtable = IPropertyValue_Vtbl; @@ -1702,7 +1702,7 @@ impl ::core::fmt::Debug for IReferenc } } impl ::windows::core::RuntimeType for IReference { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows::core::Vtable for IReference { type Vtable = IReference_Vtbl; @@ -2016,7 +2016,7 @@ impl ::core::fmt::Debug for IReferenc } } impl ::windows::core::RuntimeType for IReferenceArray { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17707-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows::core::Vtable for IReferenceArray { type Vtable = IReferenceArray_Vtbl; @@ -2051,7 +2051,7 @@ impl IStringable { } } } -::windows::core::interface_hierarchy!(IStringable, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStringable, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStringable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2064,7 +2064,7 @@ impl ::core::fmt::Debug for IStringable { } } impl ::windows::core::RuntimeType for IStringable { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{96369f54-8eb6-48f0-abce-c1b211e627c3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{96369f54-8eb6-48f0-abce-c1b211e627c3}"); } unsafe impl ::windows::core::Vtable for IStringable { type Vtable = IStringable_Vtbl; @@ -2201,7 +2201,7 @@ impl IWwwFormUrlDecoderEntry { } } } -::windows::core::interface_hierarchy!(IWwwFormUrlDecoderEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWwwFormUrlDecoderEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWwwFormUrlDecoderEntry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2214,7 +2214,7 @@ impl ::core::fmt::Debug for IWwwFormUrlDecoderEntry { } } impl ::windows::core::RuntimeType for IWwwFormUrlDecoderEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{125e7431-f678-4e8e-b670-20a9b06c512d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{125e7431-f678-4e8e-b670-20a9b06c512d}"); } unsafe impl ::windows::core::Vtable for IWwwFormUrlDecoderEntry { type Vtable = IWwwFormUrlDecoderEntry_Vtbl; @@ -2294,7 +2294,7 @@ impl Deferral { } #[doc(hidden)] pub fn IDeferralFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2310,7 +2310,7 @@ impl ::core::fmt::Debug for Deferral { } } impl ::windows::core::RuntimeType for Deferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Deferral;{d6269732-3b7f-46a7-b40b-4fdca2a2c693})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Deferral;{d6269732-3b7f-46a7-b40b-4fdca2a2c693})"); } impl ::core::clone::Clone for Deferral { fn clone(&self) -> Self { @@ -2326,7 +2326,7 @@ unsafe impl ::windows::core::Interface for Deferral { impl ::windows::core::RuntimeName for Deferral { const NAME: &'static str = "Windows.Foundation.Deferral"; } -::windows::core::interface_hierarchy!(Deferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Deferral, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IClosable { type Error = ::windows::core::Error; fn try_from(value: Deferral) -> ::windows::core::Result { @@ -2371,7 +2371,7 @@ impl GuidHelper { } #[doc(hidden)] pub fn IGuidHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2401,7 +2401,7 @@ impl MemoryBuffer { } #[doc(hidden)] pub fn IMemoryBufferFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2417,7 +2417,7 @@ impl ::core::fmt::Debug for MemoryBuffer { } } impl ::windows::core::RuntimeType for MemoryBuffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.MemoryBuffer;{fbc4dd2a-245b-11e4-af98-689423260cf8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.MemoryBuffer;{fbc4dd2a-245b-11e4-af98-689423260cf8})"); } impl ::core::clone::Clone for MemoryBuffer { fn clone(&self) -> Self { @@ -2433,7 +2433,7 @@ unsafe impl ::windows::core::Interface for MemoryBuffer { impl ::windows::core::RuntimeName for MemoryBuffer { const NAME: &'static str = "Windows.Foundation.MemoryBuffer"; } -::windows::core::interface_hierarchy!(MemoryBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MemoryBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IClosable { type Error = ::windows::core::Error; fn try_from(value: MemoryBuffer) -> ::windows::core::Result { @@ -2716,7 +2716,7 @@ impl PropertyValue { } #[doc(hidden)] pub fn IPropertyValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2893,12 +2893,12 @@ impl Uri { } #[doc(hidden)] pub fn IUriEscapeStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IUriRuntimeClassFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2914,7 +2914,7 @@ impl ::core::fmt::Debug for Uri { } } impl ::windows::core::RuntimeType for Uri { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.Uri;{9e365e57-48b2-4160-956f-c7385120bbfc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Uri;{9e365e57-48b2-4160-956f-c7385120bbfc})"); } impl ::core::clone::Clone for Uri { fn clone(&self) -> Self { @@ -2930,7 +2930,7 @@ unsafe impl ::windows::core::Interface for Uri { impl ::windows::core::RuntimeName for Uri { const NAME: &'static str = "Windows.Foundation.Uri"; } -::windows::core::interface_hierarchy!(Uri, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Uri, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStringable { type Error = ::windows::core::Error; fn try_from(value: Uri) -> ::windows::core::Result { @@ -3020,7 +3020,7 @@ impl WwwFormUrlDecoder { } #[doc(hidden)] pub fn IWwwFormUrlDecoderRuntimeClassFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3036,7 +3036,7 @@ impl ::core::fmt::Debug for WwwFormUrlDecoder { } } impl ::windows::core::RuntimeType for WwwFormUrlDecoder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.WwwFormUrlDecoder;{d45a0451-f225-4542-9296-0e1df5d254df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.WwwFormUrlDecoder;{d45a0451-f225-4542-9296-0e1df5d254df})"); } impl ::core::clone::Clone for WwwFormUrlDecoder { fn clone(&self) -> Self { @@ -3068,7 +3068,7 @@ impl ::core::iter::IntoIterator for &WwwFormUrlDecoder { Collections::VectorViewIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(WwwFormUrlDecoder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WwwFormUrlDecoder, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for Collections::IIterable { type Error = ::windows::core::Error; @@ -3146,7 +3146,7 @@ impl ::core::fmt::Debug for WwwFormUrlDecoderEntry { } } impl ::windows::core::RuntimeType for WwwFormUrlDecoderEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Foundation.WwwFormUrlDecoderEntry;{125e7431-f678-4e8e-b670-20a9b06c512d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.WwwFormUrlDecoderEntry;{125e7431-f678-4e8e-b670-20a9b06c512d})"); } impl ::core::clone::Clone for WwwFormUrlDecoderEntry { fn clone(&self) -> Self { @@ -3162,7 +3162,7 @@ unsafe impl ::windows::core::Interface for WwwFormUrlDecoderEntry { impl ::windows::core::RuntimeName for WwwFormUrlDecoderEntry { const NAME: &'static str = "Windows.Foundation.WwwFormUrlDecoderEntry"; } -::windows::core::interface_hierarchy!(WwwFormUrlDecoderEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WwwFormUrlDecoderEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWwwFormUrlDecoderEntry { type Error = ::windows::core::Error; fn try_from(value: WwwFormUrlDecoderEntry) -> ::windows::core::Result { @@ -3214,7 +3214,7 @@ impl ::core::fmt::Debug for AsyncStatus { } } impl ::windows::core::RuntimeType for AsyncStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.AsyncStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.AsyncStatus;i4)"); } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] @@ -3283,7 +3283,7 @@ impl ::core::fmt::Debug for PropertyType { } } impl ::windows::core::RuntimeType for PropertyType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Foundation.PropertyType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Foundation.PropertyType;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Foundation\"`*"] @@ -3305,7 +3305,7 @@ impl ::windows::core::TypeKind for DateTime { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for DateTime { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.DateTime;i8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.DateTime;i8)"); } impl ::core::cmp::PartialEq for DateTime { fn eq(&self, other: &Self) -> bool { @@ -3338,7 +3338,7 @@ impl ::windows::core::TypeKind for EventRegistrationToken { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for EventRegistrationToken { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.EventRegistrationToken;i8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.EventRegistrationToken;i8)"); } impl ::core::cmp::PartialEq for EventRegistrationToken { fn eq(&self, other: &Self) -> bool { @@ -3372,7 +3372,7 @@ impl ::windows::core::TypeKind for Point { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Point { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Point;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Point;f4;f4)"); } impl ::core::cmp::PartialEq for Point { fn eq(&self, other: &Self) -> bool { @@ -3408,7 +3408,7 @@ impl ::windows::core::TypeKind for Rect { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Rect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Rect;f4;f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Rect;f4;f4;f4;f4)"); } impl ::core::cmp::PartialEq for Rect { fn eq(&self, other: &Self) -> bool { @@ -3442,7 +3442,7 @@ impl ::windows::core::TypeKind for Size { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Size { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.Size;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.Size;f4;f4)"); } impl ::core::cmp::PartialEq for Size { fn eq(&self, other: &Self) -> bool { @@ -3475,7 +3475,7 @@ impl ::windows::core::TypeKind for TimeSpan { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for TimeSpan { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Foundation.TimeSpan;i8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.TimeSpan;i8)"); } impl ::core::cmp::PartialEq for TimeSpan { fn eq(&self, other: &Self) -> bool { @@ -3493,8 +3493,8 @@ impl ::core::default::Default for TimeSpan { pub struct AsyncActionCompletedHandler(pub ::windows::core::IUnknown); impl AsyncActionCompletedHandler { pub fn new, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = AsyncActionCompletedHandlerBox:: { vtable: &AsyncActionCompletedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = AsyncActionCompletedHandlerBox:: { vtable: &AsyncActionCompletedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, asyncinfo: P0, asyncstatus: AsyncStatus) -> ::windows::core::Result<()> where @@ -3509,7 +3509,7 @@ impl AsyncActionCompletedHandler { struct AsyncActionCompletedHandlerBox, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const AsyncActionCompletedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> AsyncActionCompletedHandlerBox { const VTABLE: AsyncActionCompletedHandler_Vtbl = AsyncActionCompletedHandler_Vtbl { @@ -3518,7 +3518,7 @@ impl, AsyncStatus) -> ::windows:: }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3534,7 +3534,7 @@ impl, AsyncStatus) -> ::windows:: let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -3566,7 +3566,7 @@ unsafe impl ::windows::core::Interface for AsyncActionCompletedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa4ed5c81_76c9_40bd_8be6_b1d90fb20ae7); } impl ::windows::core::RuntimeType for AsyncActionCompletedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a4ed5c81-76c9-40bd-8be6-b1d90fb20ae7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a4ed5c81-76c9-40bd-8be6-b1d90fb20ae7}"); } #[repr(C)] #[doc(hidden)] @@ -3581,8 +3581,8 @@ where TProgress: ::windows::core::RuntimeType + 'static; impl AsyncActionProgressHandler { pub fn new>, &>::Default) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = AsyncActionProgressHandlerBox:: { vtable: &AsyncActionProgressHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = AsyncActionProgressHandlerBox:: { vtable: &AsyncActionProgressHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, asyncinfo: P0, progressinfo: P1) -> ::windows::core::Result<()> where @@ -3601,7 +3601,7 @@ where { vtable: *const AsyncActionProgressHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl>, &>::Default) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> AsyncActionProgressHandlerBox { const VTABLE: AsyncActionProgressHandler_Vtbl = AsyncActionProgressHandler_Vtbl:: { @@ -3611,7 +3611,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3627,7 +3627,7 @@ impl ::windows::core:: const IID: ::windows::core::GUID = ::windows::core::GUID::from_signature(::SIGNATURE); } impl ::windows::core::RuntimeType for AsyncActionProgressHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{6d844858-0cff-4590-ae89-95a5a5c8b4b8}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -3678,8 +3678,8 @@ where TProgress: ::windows::core::RuntimeType + 'static; impl AsyncActionWithProgressCompletedHandler { pub fn new>, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = AsyncActionWithProgressCompletedHandlerBox:: { vtable: &AsyncActionWithProgressCompletedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = AsyncActionWithProgressCompletedHandlerBox:: { vtable: &AsyncActionWithProgressCompletedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, asyncinfo: P0, asyncstatus: AsyncStatus) -> ::windows::core::Result<()> where @@ -3697,7 +3697,7 @@ where { vtable: *const AsyncActionWithProgressCompletedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl>, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> AsyncActionWithProgressCompletedHandlerBox { const VTABLE: AsyncActionWithProgressCompletedHandler_Vtbl = AsyncActionWithProgressCompletedHandler_Vtbl:: { @@ -3707,7 +3707,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3723,7 +3723,7 @@ impl ::windows::core:: const IID: ::windows::core::GUID = ::windows::core::GUID::from_signature(::SIGNATURE); } impl ::windows::core::RuntimeType for AsyncActionWithProgressCompletedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9c029f91-cc84-44fd-ac26-0a6c4e555281}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -3774,8 +3774,8 @@ where TResult: ::windows::core::RuntimeType + 'static; impl AsyncOperationCompletedHandler { pub fn new>, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = AsyncOperationCompletedHandlerBox:: { vtable: &AsyncOperationCompletedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = AsyncOperationCompletedHandlerBox:: { vtable: &AsyncOperationCompletedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, asyncinfo: P0, asyncstatus: AsyncStatus) -> ::windows::core::Result<()> where @@ -3793,7 +3793,7 @@ where { vtable: *const AsyncOperationCompletedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl>, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> AsyncOperationCompletedHandlerBox { const VTABLE: AsyncOperationCompletedHandler_Vtbl = AsyncOperationCompletedHandler_Vtbl:: { @@ -3803,7 +3803,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3819,7 +3819,7 @@ impl ::windows::core::In const IID: ::windows::core::GUID = ::windows::core::GUID::from_signature(::SIGNATURE); } impl ::windows::core::RuntimeType for AsyncOperationCompletedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{fcdcf02c-e5d8-4478-915a-4d90b74b83a5}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -3871,8 +3871,8 @@ where TProgress: ::windows::core::RuntimeType + 'static; impl AsyncOperationProgressHandler { pub fn new>, &>::Default) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = AsyncOperationProgressHandlerBox:: { vtable: &AsyncOperationProgressHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = AsyncOperationProgressHandlerBox:: { vtable: &AsyncOperationProgressHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, asyncinfo: P0, progressinfo: P1) -> ::windows::core::Result<()> where @@ -3892,7 +3892,7 @@ where { vtable: *const AsyncOperationProgressHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl>, &>::Default) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> AsyncOperationProgressHandlerBox { const VTABLE: AsyncOperationProgressHandler_Vtbl = AsyncOperationProgressHandler_Vtbl:: { @@ -3903,7 +3903,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3919,7 +3919,7 @@ impl::SIGNATURE); } impl ::windows::core::RuntimeType for AsyncOperationProgressHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } #[repr(C)] #[doc(hidden)] @@ -3973,8 +3973,8 @@ where TProgress: ::windows::core::RuntimeType + 'static; impl AsyncOperationWithProgressCompletedHandler { pub fn new>, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = AsyncOperationWithProgressCompletedHandlerBox:: { vtable: &AsyncOperationWithProgressCompletedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = AsyncOperationWithProgressCompletedHandlerBox:: { vtable: &AsyncOperationWithProgressCompletedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, asyncinfo: P0, asyncstatus: AsyncStatus) -> ::windows::core::Result<()> where @@ -3993,7 +3993,7 @@ where { vtable: *const AsyncOperationWithProgressCompletedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl>, AsyncStatus) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> AsyncOperationWithProgressCompletedHandlerBox { const VTABLE: AsyncOperationWithProgressCompletedHandler_Vtbl = AsyncOperationWithProgressCompletedHandler_Vtbl:: { @@ -4004,7 +4004,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -4020,7 +4020,7 @@ impl::SIGNATURE); } impl ::windows::core::RuntimeType for AsyncOperationWithProgressCompletedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } #[repr(C)] #[doc(hidden)] @@ -4071,8 +4071,8 @@ where pub struct DeferralCompletedHandler(pub ::windows::core::IUnknown); impl DeferralCompletedHandler { pub fn new ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = DeferralCompletedHandlerBox:: { vtable: &DeferralCompletedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = DeferralCompletedHandlerBox:: { vtable: &DeferralCompletedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self) -> ::windows::core::Result<()> { let this = self; @@ -4083,7 +4083,7 @@ impl DeferralCompletedHandler { struct DeferralCompletedHandlerBox ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const DeferralCompletedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl ::windows::core::Result<()> + ::core::marker::Send + 'static> DeferralCompletedHandlerBox { const VTABLE: DeferralCompletedHandler_Vtbl = DeferralCompletedHandler_Vtbl { @@ -4092,7 +4092,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -4108,7 +4108,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -4140,7 +4140,7 @@ unsafe impl ::windows::core::Interface for DeferralCompletedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xed32a372_f3c8_4faa_9cfb_470148da3888); } impl ::windows::core::RuntimeType for DeferralCompletedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ed32a372-f3c8-4faa-9cfb-470148da3888}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ed32a372-f3c8-4faa-9cfb-470148da3888}"); } #[repr(C)] #[doc(hidden)] @@ -4155,8 +4155,8 @@ where T: ::windows::core::RuntimeType + 'static; impl EventHandler { pub fn new, &>::Default) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = EventHandlerBox:: { vtable: &EventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = EventHandlerBox:: { vtable: &EventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: P0, args: P1) -> ::windows::core::Result<()> where @@ -4174,7 +4174,7 @@ where { vtable: *const EventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, &>::Default) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> EventHandlerBox { const VTABLE: EventHandler_Vtbl = EventHandler_Vtbl:: { @@ -4184,7 +4184,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -4200,7 +4200,7 @@ impl ::windows::core::Interfac const IID: ::windows::core::GUID = ::windows::core::GUID::from_signature(::SIGNATURE); } impl ::windows::core::RuntimeType for EventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9de1c535-6ae1-11e0-84e1-18a905bcc53f}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -4252,8 +4252,8 @@ where TResult: ::windows::core::RuntimeType + 'static; impl TypedEventHandler { pub fn new>::Default, &>::Default) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = TypedEventHandlerBox:: { vtable: &TypedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = TypedEventHandlerBox:: { vtable: &TypedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: P0, args: P1) -> ::windows::core::Result<()> where @@ -4272,7 +4272,7 @@ where { vtable: *const TypedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl>::Default, &>::Default) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> TypedEventHandlerBox { const VTABLE: TypedEventHandler_Vtbl = TypedEventHandler_Vtbl:: { @@ -4283,7 +4283,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == & as ::windows::core::Interface>::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -4299,7 +4299,7 @@ impl::SIGNATURE); } impl ::windows::core::RuntimeType for TypedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = { ::windows::core::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::imp::ConstBuffer = { ::windows::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")") }; } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs index 434e84963d..767224c3f5 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs @@ -30,7 +30,7 @@ impl ICustomGameControllerFactory { unsafe { (::windows::core::Vtable::vtable(this).OnGameControllerRemoved)(::windows::core::Vtable::as_raw(this), value.try_into().map_err(|e| e.into())?.abi()).ok() } } } -::windows::core::interface_hierarchy!(ICustomGameControllerFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICustomGameControllerFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICustomGameControllerFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43,7 +43,7 @@ impl ::core::fmt::Debug for ICustomGameControllerFactory { } } impl ::windows::core::RuntimeType for ICustomGameControllerFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{69a0ae5e-758e-4cbe-ace6-62155fe9126f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{69a0ae5e-758e-4cbe-ace6-62155fe9126f}"); } unsafe impl ::windows::core::Vtable for ICustomGameControllerFactory { type Vtable = ICustomGameControllerFactory_Vtbl; @@ -119,7 +119,7 @@ impl IGameControllerInputSink { unsafe { (::windows::core::Vtable::vtable(this).OnInputSuspended)(::windows::core::Vtable::as_raw(this), timestamp).ok() } } } -::windows::core::interface_hierarchy!(IGameControllerInputSink, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGameControllerInputSink, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGameControllerInputSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -132,7 +132,7 @@ impl ::core::fmt::Debug for IGameControllerInputSink { } } impl ::windows::core::RuntimeType for IGameControllerInputSink { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1ff6f922-c640-4c78-a820-9a715c558bcb}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1ff6f922-c640-4c78-a820-9a715c558bcb}"); } unsafe impl ::windows::core::Vtable for IGameControllerInputSink { type Vtable = IGameControllerInputSink_Vtbl; @@ -192,7 +192,7 @@ impl IGameControllerProvider { } } } -::windows::core::interface_hierarchy!(IGameControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGameControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGameControllerProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -205,7 +205,7 @@ impl ::core::fmt::Debug for IGameControllerProvider { } } impl ::windows::core::RuntimeType for IGameControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e6d73982-2996-4559-b16c-3e57d46e58d6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e6d73982-2996-4559-b16c-3e57d46e58d6}"); } unsafe impl ::windows::core::Vtable for IGameControllerProvider { type Vtable = IGameControllerProvider_Vtbl; @@ -271,7 +271,7 @@ impl IGipGameControllerInputSink { unsafe { (::windows::core::Vtable::vtable(this).OnInputSuspended)(::windows::core::Vtable::as_raw(this), timestamp).ok() } } } -::windows::core::interface_hierarchy!(IGipGameControllerInputSink, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGipGameControllerInputSink, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameControllerInputSink { type Error = ::windows::core::Error; fn try_from(value: IGipGameControllerInputSink) -> ::windows::core::Result { @@ -303,7 +303,7 @@ impl ::core::fmt::Debug for IGipGameControllerInputSink { } } impl ::windows::core::RuntimeType for IGipGameControllerInputSink { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a2108abf-09f1-43bc-a140-80f899ec36fb}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a2108abf-09f1-43bc-a140-80f899ec36fb}"); } unsafe impl ::windows::core::Vtable for IGipGameControllerInputSink { type Vtable = IGipGameControllerInputSink_Vtbl; @@ -365,7 +365,7 @@ impl IHidGameControllerInputSink { unsafe { (::windows::core::Vtable::vtable(this).OnInputSuspended)(::windows::core::Vtable::as_raw(this), timestamp).ok() } } } -::windows::core::interface_hierarchy!(IHidGameControllerInputSink, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IHidGameControllerInputSink, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameControllerInputSink { type Error = ::windows::core::Error; fn try_from(value: IHidGameControllerInputSink) -> ::windows::core::Result { @@ -397,7 +397,7 @@ impl ::core::fmt::Debug for IHidGameControllerInputSink { } } impl ::windows::core::RuntimeType for IHidGameControllerInputSink { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f754c322-182d-40e4-a126-fcee4ffa1e31}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f754c322-182d-40e4-a126-fcee4ffa1e31}"); } unsafe impl ::windows::core::Vtable for IHidGameControllerInputSink { type Vtable = IHidGameControllerInputSink_Vtbl; @@ -457,7 +457,7 @@ impl IXusbGameControllerInputSink { unsafe { (::windows::core::Vtable::vtable(this).OnInputSuspended)(::windows::core::Vtable::as_raw(this), timestamp).ok() } } } -::windows::core::interface_hierarchy!(IXusbGameControllerInputSink, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IXusbGameControllerInputSink, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameControllerInputSink { type Error = ::windows::core::Error; fn try_from(value: IXusbGameControllerInputSink) -> ::windows::core::Result { @@ -489,7 +489,7 @@ impl ::core::fmt::Debug for IXusbGameControllerInputSink { } } impl ::windows::core::RuntimeType for IXusbGameControllerInputSink { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b2ac1d95-6ecb-42b3-8aab-025401ca4712}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b2ac1d95-6ecb-42b3-8aab-025401ca4712}"); } unsafe impl ::windows::core::Vtable for IXusbGameControllerInputSink { type Vtable = IXusbGameControllerInputSink_Vtbl; @@ -566,12 +566,12 @@ impl GameControllerFactoryManager { } #[doc(hidden)] pub fn IGameControllerFactoryManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGameControllerFactoryManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -616,7 +616,7 @@ impl ::core::fmt::Debug for GipFirmwareUpdateResult { } } impl ::windows::core::RuntimeType for GipFirmwareUpdateResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.GipFirmwareUpdateResult;{6b794d32-8553-4292-8e03-e16651a2f8bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.GipFirmwareUpdateResult;{6b794d32-8553-4292-8e03-e16651a2f8bc})"); } impl ::core::clone::Clone for GipFirmwareUpdateResult { fn clone(&self) -> Self { @@ -632,7 +632,7 @@ unsafe impl ::windows::core::Interface for GipFirmwareUpdateResult { impl ::windows::core::RuntimeName for GipFirmwareUpdateResult { const NAME: &'static str = "Windows.Gaming.Input.Custom.GipFirmwareUpdateResult"; } -::windows::core::interface_hierarchy!(GipFirmwareUpdateResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GipFirmwareUpdateResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GipFirmwareUpdateResult {} unsafe impl ::core::marker::Sync for GipFirmwareUpdateResult {} #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] @@ -708,7 +708,7 @@ impl ::core::fmt::Debug for GipGameControllerProvider { } } impl ::windows::core::RuntimeType for GipGameControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.GipGameControllerProvider;{dbcf1e19-1af5-45a8-bf02-a0ee50c823fc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.GipGameControllerProvider;{dbcf1e19-1af5-45a8-bf02-a0ee50c823fc})"); } impl ::core::clone::Clone for GipGameControllerProvider { fn clone(&self) -> Self { @@ -724,7 +724,7 @@ unsafe impl ::windows::core::Interface for GipGameControllerProvider { impl ::windows::core::RuntimeName for GipGameControllerProvider { const NAME: &'static str = "Windows.Gaming.Input.Custom.GipGameControllerProvider"; } -::windows::core::interface_hierarchy!(GipGameControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GipGameControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameControllerProvider { type Error = ::windows::core::Error; fn try_from(value: GipGameControllerProvider) -> ::windows::core::Result { @@ -824,7 +824,7 @@ impl ::core::fmt::Debug for HidGameControllerProvider { } } impl ::windows::core::RuntimeType for HidGameControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.HidGameControllerProvider;{95ce3af4-abf0-4b68-a081-3b7de73ff0e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.HidGameControllerProvider;{95ce3af4-abf0-4b68-a081-3b7de73ff0e7})"); } impl ::core::clone::Clone for HidGameControllerProvider { fn clone(&self) -> Self { @@ -840,7 +840,7 @@ unsafe impl ::windows::core::Interface for HidGameControllerProvider { impl ::windows::core::RuntimeName for HidGameControllerProvider { const NAME: &'static str = "Windows.Gaming.Input.Custom.HidGameControllerProvider"; } -::windows::core::interface_hierarchy!(HidGameControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HidGameControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameControllerProvider { type Error = ::windows::core::Error; fn try_from(value: HidGameControllerProvider) -> ::windows::core::Result { @@ -918,7 +918,7 @@ impl ::core::fmt::Debug for XusbGameControllerProvider { } } impl ::windows::core::RuntimeType for XusbGameControllerProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.XusbGameControllerProvider;{6e2971eb-0efb-48b4-808b-837643b2f216})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.XusbGameControllerProvider;{6e2971eb-0efb-48b4-808b-837643b2f216})"); } impl ::core::clone::Clone for XusbGameControllerProvider { fn clone(&self) -> Self { @@ -934,7 +934,7 @@ unsafe impl ::windows::core::Interface for XusbGameControllerProvider { impl ::windows::core::RuntimeName for XusbGameControllerProvider { const NAME: &'static str = "Windows.Gaming.Input.Custom.XusbGameControllerProvider"; } -::windows::core::interface_hierarchy!(XusbGameControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XusbGameControllerProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameControllerProvider { type Error = ::windows::core::Error; fn try_from(value: XusbGameControllerProvider) -> ::windows::core::Result { @@ -985,7 +985,7 @@ impl ::core::fmt::Debug for GipFirmwareUpdateStatus { } } impl ::windows::core::RuntimeType for GipFirmwareUpdateStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.Custom.GipFirmwareUpdateStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.Custom.GipFirmwareUpdateStatus;i4)"); } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] @@ -1016,7 +1016,7 @@ impl ::core::fmt::Debug for GipMessageClass { } } impl ::windows::core::RuntimeType for GipMessageClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.Custom.GipMessageClass;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.Custom.GipMessageClass;i4)"); } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] @@ -1055,7 +1055,7 @@ impl ::core::fmt::Debug for XusbDeviceSubtype { } } impl ::windows::core::RuntimeType for XusbDeviceSubtype { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.Custom.XusbDeviceSubtype;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.Custom.XusbDeviceSubtype;i4)"); } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] @@ -1085,7 +1085,7 @@ impl ::core::fmt::Debug for XusbDeviceType { } } impl ::windows::core::RuntimeType for XusbDeviceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.Custom.XusbDeviceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.Custom.XusbDeviceType;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] @@ -1110,7 +1110,7 @@ impl ::windows::core::TypeKind for GameControllerVersionInfo { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for GameControllerVersionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.Custom.GameControllerVersionInfo;u2;u2;u2;u2)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.Custom.GameControllerVersionInfo;u2;u2;u2;u2)"); } impl ::core::cmp::PartialEq for GameControllerVersionInfo { fn eq(&self, other: &Self) -> bool { @@ -1144,7 +1144,7 @@ impl ::windows::core::TypeKind for GipFirmwareUpdateProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for GipFirmwareUpdateProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.Custom.GipFirmwareUpdateProgress;f8;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.Custom.GipFirmwareUpdateProgress;f8;u4)"); } impl ::core::cmp::PartialEq for GipFirmwareUpdateProgress { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs index 52beb6447e..5cf65fe3f5 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -100,7 +100,7 @@ impl IForceFeedbackEffect { unsafe { (::windows::core::Vtable::vtable(this).Stop)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IForceFeedbackEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IForceFeedbackEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IForceFeedbackEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -113,7 +113,7 @@ impl ::core::fmt::Debug for IForceFeedbackEffect { } } impl ::windows::core::RuntimeType for IForceFeedbackEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a17fba0c-2ae4-48c2-8063-eabd0777cb89}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a17fba0c-2ae4-48c2-8063-eabd0777cb89}"); } unsafe impl ::windows::core::Vtable for IForceFeedbackEffect { type Vtable = IForceFeedbackEffect_Vtbl; @@ -309,7 +309,7 @@ impl ConditionForceEffect { } #[doc(hidden)] pub fn IConditionForceEffectFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -325,7 +325,7 @@ impl ::core::fmt::Debug for ConditionForceEffect { } } impl ::windows::core::RuntimeType for ConditionForceEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ConditionForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ConditionForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); } impl ::core::clone::Clone for ConditionForceEffect { fn clone(&self) -> Self { @@ -341,7 +341,7 @@ unsafe impl ::windows::core::Interface for ConditionForceEffect { impl ::windows::core::RuntimeName for ConditionForceEffect { const NAME: &'static str = "Windows.Gaming.Input.ForceFeedback.ConditionForceEffect"; } -::windows::core::interface_hierarchy!(ConditionForceEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConditionForceEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IForceFeedbackEffect { type Error = ::windows::core::Error; fn try_from(value: ConditionForceEffect) -> ::windows::core::Result { @@ -370,8 +370,8 @@ impl ConstantForceEffect { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -425,7 +425,7 @@ impl ::core::fmt::Debug for ConstantForceEffect { } } impl ::windows::core::RuntimeType for ConstantForceEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ConstantForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ConstantForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); } impl ::core::clone::Clone for ConstantForceEffect { fn clone(&self) -> Self { @@ -441,7 +441,7 @@ unsafe impl ::windows::core::Interface for ConstantForceEffect { impl ::windows::core::RuntimeName for ConstantForceEffect { const NAME: &'static str = "Windows.Gaming.Input.ForceFeedback.ConstantForceEffect"; } -::windows::core::interface_hierarchy!(ConstantForceEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConstantForceEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IForceFeedbackEffect { type Error = ::windows::core::Error; fn try_from(value: ConstantForceEffect) -> ::windows::core::Result { @@ -577,7 +577,7 @@ impl ::core::fmt::Debug for ForceFeedbackMotor { } } impl ::windows::core::RuntimeType for ForceFeedbackMotor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ForceFeedbackMotor;{8d3d417c-a5ea-4516-8026-2b00f74ef6e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ForceFeedbackMotor;{8d3d417c-a5ea-4516-8026-2b00f74ef6e5})"); } impl ::core::clone::Clone for ForceFeedbackMotor { fn clone(&self) -> Self { @@ -593,7 +593,7 @@ unsafe impl ::windows::core::Interface for ForceFeedbackMotor { impl ::windows::core::RuntimeName for ForceFeedbackMotor { const NAME: &'static str = "Windows.Gaming.Input.ForceFeedback.ForceFeedbackMotor"; } -::windows::core::interface_hierarchy!(ForceFeedbackMotor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ForceFeedbackMotor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ForceFeedbackMotor {} unsafe impl ::core::marker::Sync for ForceFeedbackMotor {} #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] @@ -653,7 +653,7 @@ impl PeriodicForceEffect { } #[doc(hidden)] pub fn IPeriodicForceEffectFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -669,7 +669,7 @@ impl ::core::fmt::Debug for PeriodicForceEffect { } } impl ::windows::core::RuntimeType for PeriodicForceEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); } impl ::core::clone::Clone for PeriodicForceEffect { fn clone(&self) -> Self { @@ -685,7 +685,7 @@ unsafe impl ::windows::core::Interface for PeriodicForceEffect { impl ::windows::core::RuntimeName for PeriodicForceEffect { const NAME: &'static str = "Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect"; } -::windows::core::interface_hierarchy!(PeriodicForceEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PeriodicForceEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IForceFeedbackEffect { type Error = ::windows::core::Error; fn try_from(value: PeriodicForceEffect) -> ::windows::core::Result { @@ -714,8 +714,8 @@ impl RampForceEffect { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Gain(&self) -> ::windows::core::Result { @@ -769,7 +769,7 @@ impl ::core::fmt::Debug for RampForceEffect { } } impl ::windows::core::RuntimeType for RampForceEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.RampForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.RampForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); } impl ::core::clone::Clone for RampForceEffect { fn clone(&self) -> Self { @@ -785,7 +785,7 @@ unsafe impl ::windows::core::Interface for RampForceEffect { impl ::windows::core::RuntimeName for RampForceEffect { const NAME: &'static str = "Windows.Gaming.Input.ForceFeedback.RampForceEffect"; } -::windows::core::interface_hierarchy!(RampForceEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RampForceEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IForceFeedbackEffect { type Error = ::windows::core::Error; fn try_from(value: RampForceEffect) -> ::windows::core::Result { @@ -837,7 +837,7 @@ impl ::core::fmt::Debug for ConditionForceEffectKind { } } impl ::windows::core::RuntimeType for ConditionForceEffectKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.ConditionForceEffectKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.ConditionForceEffectKind;i4)"); } #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] @@ -902,7 +902,7 @@ impl ::core::ops::Not for ForceFeedbackEffectAxes { } } impl ::windows::core::RuntimeType for ForceFeedbackEffectAxes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.ForceFeedbackEffectAxes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.ForceFeedbackEffectAxes;u4)"); } #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] @@ -934,7 +934,7 @@ impl ::core::fmt::Debug for ForceFeedbackEffectState { } } impl ::windows::core::RuntimeType for ForceFeedbackEffectState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.ForceFeedbackEffectState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.ForceFeedbackEffectState;i4)"); } #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] @@ -965,7 +965,7 @@ impl ::core::fmt::Debug for ForceFeedbackLoadEffectResult { } } impl ::windows::core::RuntimeType for ForceFeedbackLoadEffectResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.ForceFeedbackLoadEffectResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.ForceFeedbackLoadEffectResult;i4)"); } #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] @@ -998,7 +998,7 @@ impl ::core::fmt::Debug for PeriodicForceEffectKind { } } impl ::windows::core::RuntimeType for PeriodicForceEffectKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.PeriodicForceEffectKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ForceFeedback.PeriodicForceEffectKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs index a044ad4682..d2b01b9b29 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs @@ -54,7 +54,7 @@ impl GameControllerProviderInfo { } #[doc(hidden)] pub fn IGameControllerProviderInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs index f3eeffd43c..04dbe0b9da 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs @@ -219,7 +219,7 @@ impl IGameController { } } } -::windows::core::interface_hierarchy!(IGameController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGameController, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGameController { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -232,7 +232,7 @@ impl ::core::fmt::Debug for IGameController { } } impl ::windows::core::RuntimeType for IGameController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1baf6522-5f64-42c5-8267-b9fe2215bfbd}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1baf6522-5f64-42c5-8267-b9fe2215bfbd}"); } unsafe impl ::windows::core::Vtable for IGameController { type Vtable = IGameController_Vtbl; @@ -294,7 +294,7 @@ impl IGameControllerBatteryInfo { } } } -::windows::core::interface_hierarchy!(IGameControllerBatteryInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGameControllerBatteryInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGameControllerBatteryInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -307,7 +307,7 @@ impl ::core::fmt::Debug for IGameControllerBatteryInfo { } } impl ::windows::core::RuntimeType for IGameControllerBatteryInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{dcecc681-3963-4da6-955d-553f3b6f6161}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{dcecc681-3963-4da6-955d-553f3b6f6161}"); } unsafe impl ::windows::core::Vtable for IGameControllerBatteryInfo { type Vtable = IGameControllerBatteryInfo_Vtbl; @@ -858,12 +858,12 @@ impl ArcadeStick { } #[doc(hidden)] pub fn IArcadeStickStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IArcadeStickStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -879,7 +879,7 @@ impl ::core::fmt::Debug for ArcadeStick { } } impl ::windows::core::RuntimeType for ArcadeStick { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ArcadeStick;{b14a539d-befb-4c81-8051-15ecf3b13036})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ArcadeStick;{b14a539d-befb-4c81-8051-15ecf3b13036})"); } impl ::core::clone::Clone for ArcadeStick { fn clone(&self) -> Self { @@ -895,7 +895,7 @@ unsafe impl ::windows::core::Interface for ArcadeStick { impl ::windows::core::RuntimeName for ArcadeStick { const NAME: &'static str = "Windows.Gaming.Input.ArcadeStick"; } -::windows::core::interface_hierarchy!(ArcadeStick, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ArcadeStick, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameController { type Error = ::windows::core::Error; fn try_from(value: ArcadeStick) -> ::windows::core::Result { @@ -1084,7 +1084,7 @@ impl FlightStick { } #[doc(hidden)] pub fn IFlightStickStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1100,7 +1100,7 @@ impl ::core::fmt::Debug for FlightStick { } } impl ::windows::core::RuntimeType for FlightStick { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.FlightStick;{b4a2c01c-b83b-4459-a1a9-97b03c33da7c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.FlightStick;{b4a2c01c-b83b-4459-a1a9-97b03c33da7c})"); } impl ::core::clone::Clone for FlightStick { fn clone(&self) -> Self { @@ -1116,7 +1116,7 @@ unsafe impl ::windows::core::Interface for FlightStick { impl ::windows::core::RuntimeName for FlightStick { const NAME: &'static str = "Windows.Gaming.Input.FlightStick"; } -::windows::core::interface_hierarchy!(FlightStick, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FlightStick, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameController { type Error = ::windows::core::Error; fn try_from(value: FlightStick) -> ::windows::core::Result { @@ -1309,12 +1309,12 @@ impl Gamepad { } #[doc(hidden)] pub fn IGamepadStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGamepadStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1330,7 +1330,7 @@ impl ::core::fmt::Debug for Gamepad { } } impl ::windows::core::RuntimeType for Gamepad { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Gamepad;{bc7bb43c-0a69-3903-9e9d-a50f86a45de5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Gamepad;{bc7bb43c-0a69-3903-9e9d-a50f86a45de5})"); } impl ::core::clone::Clone for Gamepad { fn clone(&self) -> Self { @@ -1346,7 +1346,7 @@ unsafe impl ::windows::core::Interface for Gamepad { impl ::windows::core::RuntimeName for Gamepad { const NAME: &'static str = "Windows.Gaming.Input.Gamepad"; } -::windows::core::interface_hierarchy!(Gamepad, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Gamepad, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameController { type Error = ::windows::core::Error; fn try_from(value: Gamepad) -> ::windows::core::Result { @@ -1427,7 +1427,7 @@ impl ::core::fmt::Debug for Headset { } } impl ::windows::core::RuntimeType for Headset { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Headset;{3fd156ef-6925-3fa8-9181-029c5223ae3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Headset;{3fd156ef-6925-3fa8-9181-029c5223ae3b})"); } impl ::core::clone::Clone for Headset { fn clone(&self) -> Self { @@ -1443,7 +1443,7 @@ unsafe impl ::windows::core::Interface for Headset { impl ::windows::core::RuntimeName for Headset { const NAME: &'static str = "Windows.Gaming.Input.Headset"; } -::windows::core::interface_hierarchy!(Headset, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Headset, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameControllerBatteryInfo { type Error = ::windows::core::Error; fn try_from(value: Headset) -> ::windows::core::Result { @@ -1650,12 +1650,12 @@ impl RacingWheel { } #[doc(hidden)] pub fn IRacingWheelStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRacingWheelStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1671,7 +1671,7 @@ impl ::core::fmt::Debug for RacingWheel { } } impl ::windows::core::RuntimeType for RacingWheel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.RacingWheel;{f546656f-e106-4c82-a90f-554012904b85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.RacingWheel;{f546656f-e106-4c82-a90f-554012904b85})"); } impl ::core::clone::Clone for RacingWheel { fn clone(&self) -> Self { @@ -1687,7 +1687,7 @@ unsafe impl ::windows::core::Interface for RacingWheel { impl ::windows::core::RuntimeName for RacingWheel { const NAME: &'static str = "Windows.Gaming.Input.RacingWheel"; } -::windows::core::interface_hierarchy!(RacingWheel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RacingWheel, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameController { type Error = ::windows::core::Error; fn try_from(value: RacingWheel) -> ::windows::core::Result { @@ -1943,7 +1943,7 @@ impl RawGameController { } #[doc(hidden)] pub fn IRawGameControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1959,7 +1959,7 @@ impl ::core::fmt::Debug for RawGameController { } } impl ::windows::core::RuntimeType for RawGameController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.RawGameController;{7cad6d91-a7e1-4f71-9a78-33e9c5dfea62})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.RawGameController;{7cad6d91-a7e1-4f71-9a78-33e9c5dfea62})"); } impl ::core::clone::Clone for RawGameController { fn clone(&self) -> Self { @@ -1975,7 +1975,7 @@ unsafe impl ::windows::core::Interface for RawGameController { impl ::windows::core::RuntimeName for RawGameController { const NAME: &'static str = "Windows.Gaming.Input.RawGameController"; } -::windows::core::interface_hierarchy!(RawGameController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RawGameController, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameController { type Error = ::windows::core::Error; fn try_from(value: RawGameController) -> ::windows::core::Result { @@ -2164,12 +2164,12 @@ impl UINavigationController { } #[doc(hidden)] pub fn IUINavigationControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IUINavigationControllerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2185,7 +2185,7 @@ impl ::core::fmt::Debug for UINavigationController { } } impl ::windows::core::RuntimeType for UINavigationController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.UINavigationController;{e5aeefdd-f50e-4a55-8cdc-d33229548175})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.UINavigationController;{e5aeefdd-f50e-4a55-8cdc-d33229548175})"); } impl ::core::clone::Clone for UINavigationController { fn clone(&self) -> Self { @@ -2201,7 +2201,7 @@ unsafe impl ::windows::core::Interface for UINavigationController { impl ::windows::core::RuntimeName for UINavigationController { const NAME: &'static str = "Windows.Gaming.Input.UINavigationController"; } -::windows::core::interface_hierarchy!(UINavigationController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UINavigationController, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameController { type Error = ::windows::core::Error; fn try_from(value: UINavigationController) -> ::windows::core::Result { @@ -2314,7 +2314,7 @@ impl ::core::ops::Not for ArcadeStickButtons { } } impl ::windows::core::RuntimeType for ArcadeStickButtons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ArcadeStickButtons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.ArcadeStickButtons;u4)"); } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] @@ -2378,7 +2378,7 @@ impl ::core::ops::Not for FlightStickButtons { } } impl ::windows::core::RuntimeType for FlightStickButtons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.FlightStickButtons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.FlightStickButtons;u4)"); } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] @@ -2475,7 +2475,7 @@ impl ::core::fmt::Debug for GameControllerButtonLabel { } } impl ::windows::core::RuntimeType for GameControllerButtonLabel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.GameControllerButtonLabel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.GameControllerButtonLabel;i4)"); } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] @@ -2506,7 +2506,7 @@ impl ::core::fmt::Debug for GameControllerSwitchKind { } } impl ::windows::core::RuntimeType for GameControllerSwitchKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.GameControllerSwitchKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.GameControllerSwitchKind;i4)"); } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] @@ -2543,7 +2543,7 @@ impl ::core::fmt::Debug for GameControllerSwitchPosition { } } impl ::windows::core::RuntimeType for GameControllerSwitchPosition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.GameControllerSwitchPosition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.GameControllerSwitchPosition;i4)"); } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] @@ -2623,7 +2623,7 @@ impl ::core::ops::Not for GamepadButtons { } } impl ::windows::core::RuntimeType for GamepadButtons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.GamepadButtons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.GamepadButtons;u4)"); } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] @@ -2697,7 +2697,7 @@ impl ::core::ops::Not for OptionalUINavigationButtons { } } impl ::windows::core::RuntimeType for OptionalUINavigationButtons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.OptionalUINavigationButtons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.OptionalUINavigationButtons;u4)"); } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] @@ -2781,7 +2781,7 @@ impl ::core::ops::Not for RacingWheelButtons { } } impl ::windows::core::RuntimeType for RacingWheelButtons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.RacingWheelButtons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.RacingWheelButtons;u4)"); } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] @@ -2851,7 +2851,7 @@ impl ::core::ops::Not for RequiredUINavigationButtons { } } impl ::windows::core::RuntimeType for RequiredUINavigationButtons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.RequiredUINavigationButtons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Input.RequiredUINavigationButtons;u4)"); } #[repr(C)] #[doc = "*Required features: `\"Gaming_Input\"`*"] @@ -2874,7 +2874,7 @@ impl ::windows::core::TypeKind for ArcadeStickReading { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for ArcadeStickReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.ArcadeStickReading;u8;enum(Windows.Gaming.Input.ArcadeStickButtons;u4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.ArcadeStickReading;u8;enum(Windows.Gaming.Input.ArcadeStickButtons;u4))"); } impl ::core::cmp::PartialEq for ArcadeStickReading { fn eq(&self, other: &Self) -> bool { @@ -2913,7 +2913,7 @@ impl ::windows::core::TypeKind for FlightStickReading { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for FlightStickReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.FlightStickReading;u8;enum(Windows.Gaming.Input.FlightStickButtons;u4);enum(Windows.Gaming.Input.GameControllerSwitchPosition;i4);f8;f8;f8;f8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.FlightStickReading;u8;enum(Windows.Gaming.Input.FlightStickButtons;u4);enum(Windows.Gaming.Input.GameControllerSwitchPosition;i4);f8;f8;f8;f8)"); } impl ::core::cmp::PartialEq for FlightStickReading { fn eq(&self, other: &Self) -> bool { @@ -2953,7 +2953,7 @@ impl ::windows::core::TypeKind for GamepadReading { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for GamepadReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.GamepadReading;u8;enum(Windows.Gaming.Input.GamepadButtons;u4);f8;f8;f8;f8;f8;f8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.GamepadReading;u8;enum(Windows.Gaming.Input.GamepadButtons;u4);f8;f8;f8;f8;f8;f8)"); } impl ::core::cmp::PartialEq for GamepadReading { fn eq(&self, other: &Self) -> bool { @@ -2989,7 +2989,7 @@ impl ::windows::core::TypeKind for GamepadVibration { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for GamepadVibration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.GamepadVibration;f8;f8;f8;f8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.GamepadVibration;f8;f8;f8;f8)"); } impl ::core::cmp::PartialEq for GamepadVibration { fn eq(&self, other: &Self) -> bool { @@ -3029,7 +3029,7 @@ impl ::windows::core::TypeKind for RacingWheelReading { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for RacingWheelReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.RacingWheelReading;u8;enum(Windows.Gaming.Input.RacingWheelButtons;u4);i4;f8;f8;f8;f8;f8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.RacingWheelReading;u8;enum(Windows.Gaming.Input.RacingWheelButtons;u4);i4;f8;f8;f8;f8;f8)"); } impl ::core::cmp::PartialEq for RacingWheelReading { fn eq(&self, other: &Self) -> bool { @@ -3064,7 +3064,7 @@ impl ::windows::core::TypeKind for UINavigationReading { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for UINavigationReading { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.UINavigationReading;u8;enum(Windows.Gaming.Input.RequiredUINavigationButtons;u4);enum(Windows.Gaming.Input.OptionalUINavigationButtons;u4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Gaming.Input.UINavigationReading;u8;enum(Windows.Gaming.Input.RequiredUINavigationButtons;u4);enum(Windows.Gaming.Input.OptionalUINavigationButtons;u4))"); } impl ::core::cmp::PartialEq for UINavigationReading { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs index 69d6d552a1..3cb673c17c 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -46,7 +46,7 @@ impl IGameListEntry { } } } -::windows::core::interface_hierarchy!(IGameListEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGameListEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGameListEntry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -59,7 +59,7 @@ impl ::core::fmt::Debug for IGameListEntry { } } impl ::windows::core::RuntimeType for IGameListEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{735924d3-811f-4494-b69c-c641a0c61543}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{735924d3-811f-4494-b69c-c641a0c61543}"); } unsafe impl ::windows::core::Vtable for IGameListEntry { type Vtable = IGameListEntry_Vtbl; @@ -413,12 +413,12 @@ impl GameList { } #[doc(hidden)] pub fn IGameListStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGameListStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -557,7 +557,7 @@ impl ::core::fmt::Debug for GameListEntry { } } impl ::windows::core::RuntimeType for GameListEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameListEntry;{735924d3-811f-4494-b69c-c641a0c61543})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameListEntry;{735924d3-811f-4494-b69c-c641a0c61543})"); } impl ::core::clone::Clone for GameListEntry { fn clone(&self) -> Self { @@ -573,7 +573,7 @@ unsafe impl ::windows::core::Interface for GameListEntry { impl ::windows::core::RuntimeName for GameListEntry { const NAME: &'static str = "Windows.Gaming.Preview.GamesEnumeration.GameListEntry"; } -::windows::core::interface_hierarchy!(GameListEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameListEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGameListEntry { type Error = ::windows::core::Error; fn try_from(value: GameListEntry) -> ::windows::core::Result { @@ -766,7 +766,7 @@ impl ::core::fmt::Debug for GameModeConfiguration { } } impl ::windows::core::RuntimeType for GameModeConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameModeConfiguration;{78e591af-b142-4ef0-8830-55bc2be4f5ea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameModeConfiguration;{78e591af-b142-4ef0-8830-55bc2be4f5ea})"); } impl ::core::clone::Clone for GameModeConfiguration { fn clone(&self) -> Self { @@ -782,7 +782,7 @@ unsafe impl ::windows::core::Interface for GameModeConfiguration { impl ::windows::core::RuntimeName for GameModeConfiguration { const NAME: &'static str = "Windows.Gaming.Preview.GamesEnumeration.GameModeConfiguration"; } -::windows::core::interface_hierarchy!(GameModeConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameModeConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameModeConfiguration {} unsafe impl ::core::marker::Sync for GameModeConfiguration {} #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] @@ -815,7 +815,7 @@ impl GameModeUserConfiguration { } #[doc(hidden)] pub fn IGameModeUserConfigurationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -831,7 +831,7 @@ impl ::core::fmt::Debug for GameModeUserConfiguration { } } impl ::windows::core::RuntimeType for GameModeUserConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameModeUserConfiguration;{72d34af4-756b-470f-a0c2-ba62a90795db})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameModeUserConfiguration;{72d34af4-756b-470f-a0c2-ba62a90795db})"); } impl ::core::clone::Clone for GameModeUserConfiguration { fn clone(&self) -> Self { @@ -847,7 +847,7 @@ unsafe impl ::windows::core::Interface for GameModeUserConfiguration { impl ::windows::core::RuntimeName for GameModeUserConfiguration { const NAME: &'static str = "Windows.Gaming.Preview.GamesEnumeration.GameModeUserConfiguration"; } -::windows::core::interface_hierarchy!(GameModeUserConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameModeUserConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameModeUserConfiguration {} unsafe impl ::core::marker::Sync for GameModeUserConfiguration {} #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] @@ -879,7 +879,7 @@ impl ::core::fmt::Debug for GameListCategory { } } impl ::windows::core::RuntimeType for GameListCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Preview.GamesEnumeration.GameListCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Preview.GamesEnumeration.GameListCategory;i4)"); } #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] #[repr(transparent)] @@ -911,15 +911,15 @@ impl ::core::fmt::Debug for GameListEntryLaunchableState { } } impl ::windows::core::RuntimeType for GameListEntryLaunchableState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.Preview.GamesEnumeration.GameListEntryLaunchableState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Preview.GamesEnumeration.GameListEntryLaunchableState;i4)"); } #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] #[repr(transparent)] pub struct GameListChangedEventHandler(pub ::windows::core::IUnknown); impl GameListChangedEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = GameListChangedEventHandlerBox:: { vtable: &GameListChangedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = GameListChangedEventHandlerBox:: { vtable: &GameListChangedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, game: &GameListEntry) -> ::windows::core::Result<()> { let this = self; @@ -930,7 +930,7 @@ impl GameListChangedEventHandler { struct GameListChangedEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const GameListChangedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> GameListChangedEventHandlerBox { const VTABLE: GameListChangedEventHandler_Vtbl = GameListChangedEventHandler_Vtbl { @@ -939,7 +939,7 @@ impl) -> ::windows::core::Result }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -955,7 +955,7 @@ impl) -> ::windows::core::Result let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -987,7 +987,7 @@ unsafe impl ::windows::core::Interface for GameListChangedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x25f6a421_d8f5_4d91_b40e_53d5e86fde64); } impl ::windows::core::RuntimeType for GameListChangedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{25f6a421-d8f5-4d91-b40e-53d5e86fde64}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{25f6a421-d8f5-4d91-b40e-53d5e86fde64}"); } #[repr(C)] #[doc(hidden)] @@ -1000,8 +1000,8 @@ pub struct GameListChangedEventHandler_Vtbl { pub struct GameListRemovedEventHandler(pub ::windows::core::IUnknown); impl GameListRemovedEventHandler { pub fn new ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = GameListRemovedEventHandlerBox:: { vtable: &GameListRemovedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = GameListRemovedEventHandlerBox:: { vtable: &GameListRemovedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, identifier: &::windows::core::HSTRING) -> ::windows::core::Result<()> { let this = self; @@ -1012,7 +1012,7 @@ impl GameListRemovedEventHandler { struct GameListRemovedEventHandlerBox ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const GameListRemovedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl ::windows::core::Result<()> + ::core::marker::Send + 'static> GameListRemovedEventHandlerBox { const VTABLE: GameListRemovedEventHandler_Vtbl = GameListRemovedEventHandler_Vtbl { @@ -1021,7 +1021,7 @@ impl ::windows::core::Result<()> + ::core }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1037,7 +1037,7 @@ impl ::windows::core::Result<()> + ::core let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1069,7 +1069,7 @@ unsafe impl ::windows::core::Interface for GameListRemovedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x10c5648f_6c8f_4712_9b38_474bc22e76d8); } impl ::windows::core::RuntimeType for GameListRemovedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{10c5648f-6c8f-4712-9b38-474bc22e76d8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{10c5648f-6c8f-4712-9b38-474bc22e76d8}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs index 7c830f9d9f..7806d50d55 100644 --- a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs @@ -202,7 +202,7 @@ impl GameBar { } #[doc(hidden)] pub fn IGameBarStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -261,7 +261,7 @@ impl ::core::fmt::Debug for GameChatMessageReceivedEventArgs { } } impl ::windows::core::RuntimeType for GameChatMessageReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatMessageReceivedEventArgs;{a28201f1-3fb9-4e42-a403-7afce2023b1e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatMessageReceivedEventArgs;{a28201f1-3fb9-4e42-a403-7afce2023b1e})"); } impl ::core::clone::Clone for GameChatMessageReceivedEventArgs { fn clone(&self) -> Self { @@ -277,7 +277,7 @@ unsafe impl ::windows::core::Interface for GameChatMessageReceivedEventArgs { impl ::windows::core::RuntimeName for GameChatMessageReceivedEventArgs { const NAME: &'static str = "Windows.Gaming.UI.GameChatMessageReceivedEventArgs"; } -::windows::core::interface_hierarchy!(GameChatMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameChatMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameChatMessageReceivedEventArgs {} unsafe impl ::core::marker::Sync for GameChatMessageReceivedEventArgs {} #[doc = "*Required features: `\"Gaming_UI\"`*"] @@ -307,7 +307,7 @@ impl GameChatOverlay { } #[doc(hidden)] pub fn IGameChatOverlayStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -323,7 +323,7 @@ impl ::core::fmt::Debug for GameChatOverlay { } } impl ::windows::core::RuntimeType for GameChatOverlay { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatOverlay;{fbc64865-f6fc-4a48-ae07-03ac6ed43704})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatOverlay;{fbc64865-f6fc-4a48-ae07-03ac6ed43704})"); } impl ::core::clone::Clone for GameChatOverlay { fn clone(&self) -> Self { @@ -339,7 +339,7 @@ unsafe impl ::windows::core::Interface for GameChatOverlay { impl ::windows::core::RuntimeName for GameChatOverlay { const NAME: &'static str = "Windows.Gaming.UI.GameChatOverlay"; } -::windows::core::interface_hierarchy!(GameChatOverlay, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameChatOverlay, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameChatOverlay {} unsafe impl ::core::marker::Sync for GameChatOverlay {} #[doc = "*Required features: `\"Gaming_UI\"`*"] @@ -349,8 +349,8 @@ impl GameChatOverlayMessageSource { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -387,7 +387,7 @@ impl ::core::fmt::Debug for GameChatOverlayMessageSource { } } impl ::windows::core::RuntimeType for GameChatOverlayMessageSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatOverlayMessageSource;{1e177397-59fb-4f4f-8e9a-80acf817743c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatOverlayMessageSource;{1e177397-59fb-4f4f-8e9a-80acf817743c})"); } impl ::core::clone::Clone for GameChatOverlayMessageSource { fn clone(&self) -> Self { @@ -403,7 +403,7 @@ unsafe impl ::windows::core::Interface for GameChatOverlayMessageSource { impl ::windows::core::RuntimeName for GameChatOverlayMessageSource { const NAME: &'static str = "Windows.Gaming.UI.GameChatOverlayMessageSource"; } -::windows::core::interface_hierarchy!(GameChatOverlayMessageSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameChatOverlayMessageSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameChatOverlayMessageSource {} unsafe impl ::core::marker::Sync for GameChatOverlayMessageSource {} #[doc = "*Required features: `\"Gaming_UI\"`*"] @@ -465,7 +465,7 @@ impl ::core::fmt::Debug for GameUIProviderActivatedEventArgs { } } impl ::windows::core::RuntimeType for GameUIProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameUIProviderActivatedEventArgs;{a7b3203e-caf7-4ded-bbd2-47de43bb6dd5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameUIProviderActivatedEventArgs;{a7b3203e-caf7-4ded-bbd2-47de43bb6dd5})"); } impl ::core::clone::Clone for GameUIProviderActivatedEventArgs { fn clone(&self) -> Self { @@ -481,7 +481,7 @@ unsafe impl ::windows::core::Interface for GameUIProviderActivatedEventArgs { impl ::windows::core::RuntimeName for GameUIProviderActivatedEventArgs { const NAME: &'static str = "Windows.Gaming.UI.GameUIProviderActivatedEventArgs"; } -::windows::core::interface_hierarchy!(GameUIProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameUIProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -534,7 +534,7 @@ impl ::core::fmt::Debug for GameChatMessageOrigin { } } impl ::windows::core::RuntimeType for GameChatMessageOrigin { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.UI.GameChatMessageOrigin;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.UI.GameChatMessageOrigin;i4)"); } #[doc = "*Required features: `\"Gaming_UI\"`*"] #[repr(transparent)] @@ -570,7 +570,7 @@ impl ::core::fmt::Debug for GameChatOverlayPosition { } } impl ::windows::core::RuntimeType for GameChatOverlayPosition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.UI.GameChatOverlayPosition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.UI.GameChatOverlayPosition;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs index eb4dded812..5ae0d3fd20 100644 --- a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs @@ -357,7 +357,7 @@ impl ::core::fmt::Debug for GameSaveBlobGetResult { } } impl ::windows::core::RuntimeType for GameSaveBlobGetResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobGetResult;{917281e0-7201-4953-aa2c-4008f03aef45})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobGetResult;{917281e0-7201-4953-aa2c-4008f03aef45})"); } impl ::core::clone::Clone for GameSaveBlobGetResult { fn clone(&self) -> Self { @@ -373,7 +373,7 @@ unsafe impl ::windows::core::Interface for GameSaveBlobGetResult { impl ::windows::core::RuntimeName for GameSaveBlobGetResult { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveBlobGetResult"; } -::windows::core::interface_hierarchy!(GameSaveBlobGetResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveBlobGetResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveBlobGetResult {} unsafe impl ::core::marker::Sync for GameSaveBlobGetResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -407,7 +407,7 @@ impl ::core::fmt::Debug for GameSaveBlobInfo { } } impl ::windows::core::RuntimeType for GameSaveBlobInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfo;{add38034-baf0-4645-b6d0-46edaffb3c2b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfo;{add38034-baf0-4645-b6d0-46edaffb3c2b})"); } impl ::core::clone::Clone for GameSaveBlobInfo { fn clone(&self) -> Self { @@ -423,7 +423,7 @@ unsafe impl ::windows::core::Interface for GameSaveBlobInfo { impl ::windows::core::RuntimeName for GameSaveBlobInfo { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveBlobInfo"; } -::windows::core::interface_hierarchy!(GameSaveBlobInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveBlobInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveBlobInfo {} unsafe impl ::core::marker::Sync for GameSaveBlobInfo {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -459,7 +459,7 @@ impl ::core::fmt::Debug for GameSaveBlobInfoGetResult { } } impl ::windows::core::RuntimeType for GameSaveBlobInfoGetResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoGetResult;{c7578582-3697-42bf-989c-665d923b5231})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoGetResult;{c7578582-3697-42bf-989c-665d923b5231})"); } impl ::core::clone::Clone for GameSaveBlobInfoGetResult { fn clone(&self) -> Self { @@ -475,7 +475,7 @@ unsafe impl ::windows::core::Interface for GameSaveBlobInfoGetResult { impl ::windows::core::RuntimeName for GameSaveBlobInfoGetResult { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoGetResult"; } -::windows::core::interface_hierarchy!(GameSaveBlobInfoGetResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveBlobInfoGetResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveBlobInfoGetResult {} unsafe impl ::core::marker::Sync for GameSaveBlobInfoGetResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -522,7 +522,7 @@ impl ::core::fmt::Debug for GameSaveBlobInfoQuery { } } impl ::windows::core::RuntimeType for GameSaveBlobInfoQuery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoQuery;{9fdd74b2-eeee-447b-a9d2-7f96c0f83208})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoQuery;{9fdd74b2-eeee-447b-a9d2-7f96c0f83208})"); } impl ::core::clone::Clone for GameSaveBlobInfoQuery { fn clone(&self) -> Self { @@ -538,7 +538,7 @@ unsafe impl ::windows::core::Interface for GameSaveBlobInfoQuery { impl ::windows::core::RuntimeName for GameSaveBlobInfoQuery { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoQuery"; } -::windows::core::interface_hierarchy!(GameSaveBlobInfoQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveBlobInfoQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveBlobInfoQuery {} unsafe impl ::core::marker::Sync for GameSaveBlobInfoQuery {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -635,7 +635,7 @@ impl ::core::fmt::Debug for GameSaveContainer { } } impl ::windows::core::RuntimeType for GameSaveContainer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainer;{c3c08f89-563f-4ecd-9c6f-33fd0e323d10})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainer;{c3c08f89-563f-4ecd-9c6f-33fd0e323d10})"); } impl ::core::clone::Clone for GameSaveContainer { fn clone(&self) -> Self { @@ -651,7 +651,7 @@ unsafe impl ::windows::core::Interface for GameSaveContainer { impl ::windows::core::RuntimeName for GameSaveContainer { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveContainer"; } -::windows::core::interface_hierarchy!(GameSaveContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveContainer {} unsafe impl ::core::marker::Sync for GameSaveContainer {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -708,7 +708,7 @@ impl ::core::fmt::Debug for GameSaveContainerInfo { } } impl ::windows::core::RuntimeType for GameSaveContainerInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfo;{b7e27300-155d-4bb4-b2ba-930306f391b5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfo;{b7e27300-155d-4bb4-b2ba-930306f391b5})"); } impl ::core::clone::Clone for GameSaveContainerInfo { fn clone(&self) -> Self { @@ -724,7 +724,7 @@ unsafe impl ::windows::core::Interface for GameSaveContainerInfo { impl ::windows::core::RuntimeName for GameSaveContainerInfo { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveContainerInfo"; } -::windows::core::interface_hierarchy!(GameSaveContainerInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveContainerInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveContainerInfo {} unsafe impl ::core::marker::Sync for GameSaveContainerInfo {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -760,7 +760,7 @@ impl ::core::fmt::Debug for GameSaveContainerInfoGetResult { } } impl ::windows::core::RuntimeType for GameSaveContainerInfoGetResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoGetResult;{ffc50d74-c581-4f9d-9e39-30a10c1e4c50})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoGetResult;{ffc50d74-c581-4f9d-9e39-30a10c1e4c50})"); } impl ::core::clone::Clone for GameSaveContainerInfoGetResult { fn clone(&self) -> Self { @@ -776,7 +776,7 @@ unsafe impl ::windows::core::Interface for GameSaveContainerInfoGetResult { impl ::windows::core::RuntimeName for GameSaveContainerInfoGetResult { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoGetResult"; } -::windows::core::interface_hierarchy!(GameSaveContainerInfoGetResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveContainerInfoGetResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveContainerInfoGetResult {} unsafe impl ::core::marker::Sync for GameSaveContainerInfoGetResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -823,7 +823,7 @@ impl ::core::fmt::Debug for GameSaveContainerInfoQuery { } } impl ::windows::core::RuntimeType for GameSaveContainerInfoQuery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoQuery;{3c94e863-6f80-4327-9327-ffc11afd42b3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoQuery;{3c94e863-6f80-4327-9327-ffc11afd42b3})"); } impl ::core::clone::Clone for GameSaveContainerInfoQuery { fn clone(&self) -> Self { @@ -839,7 +839,7 @@ unsafe impl ::windows::core::Interface for GameSaveContainerInfoQuery { impl ::windows::core::RuntimeName for GameSaveContainerInfoQuery { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoQuery"; } -::windows::core::interface_hierarchy!(GameSaveContainerInfoQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveContainerInfoQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveContainerInfoQuery {} unsafe impl ::core::marker::Sync for GameSaveContainerInfoQuery {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -866,7 +866,7 @@ impl ::core::fmt::Debug for GameSaveOperationResult { } } impl ::windows::core::RuntimeType for GameSaveOperationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveOperationResult;{cf0f1a05-24a0-4582-9a55-b1bbbb9388d8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveOperationResult;{cf0f1a05-24a0-4582-9a55-b1bbbb9388d8})"); } impl ::core::clone::Clone for GameSaveOperationResult { fn clone(&self) -> Self { @@ -882,7 +882,7 @@ unsafe impl ::windows::core::Interface for GameSaveOperationResult { impl ::windows::core::RuntimeName for GameSaveOperationResult { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveOperationResult"; } -::windows::core::interface_hierarchy!(GameSaveOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveOperationResult {} unsafe impl ::core::marker::Sync for GameSaveOperationResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -964,7 +964,7 @@ impl GameSaveProvider { } #[doc(hidden)] pub fn IGameSaveProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -980,7 +980,7 @@ impl ::core::fmt::Debug for GameSaveProvider { } } impl ::windows::core::RuntimeType for GameSaveProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveProvider;{90a60394-80fe-4211-97f8-a5de14dd95d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveProvider;{90a60394-80fe-4211-97f8-a5de14dd95d2})"); } impl ::core::clone::Clone for GameSaveProvider { fn clone(&self) -> Self { @@ -996,7 +996,7 @@ unsafe impl ::windows::core::Interface for GameSaveProvider { impl ::windows::core::RuntimeName for GameSaveProvider { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveProvider"; } -::windows::core::interface_hierarchy!(GameSaveProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveProvider {} unsafe impl ::core::marker::Sync for GameSaveProvider {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -1030,7 +1030,7 @@ impl ::core::fmt::Debug for GameSaveProviderGetResult { } } impl ::windows::core::RuntimeType for GameSaveProviderGetResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveProviderGetResult;{3ab90816-d393-4d65-ac16-41c3e67ab945})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveProviderGetResult;{3ab90816-d393-4d65-ac16-41c3e67ab945})"); } impl ::core::clone::Clone for GameSaveProviderGetResult { fn clone(&self) -> Self { @@ -1046,7 +1046,7 @@ unsafe impl ::windows::core::Interface for GameSaveProviderGetResult { impl ::windows::core::RuntimeName for GameSaveProviderGetResult { const NAME: &'static str = "Windows.Gaming.XboxLive.Storage.GameSaveProviderGetResult"; } -::windows::core::interface_hierarchy!(GameSaveProviderGetResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameSaveProviderGetResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameSaveProviderGetResult {} unsafe impl ::core::marker::Sync for GameSaveProviderGetResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] @@ -1090,7 +1090,7 @@ impl ::core::fmt::Debug for GameSaveErrorStatus { } } impl ::windows::core::RuntimeType for GameSaveErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Gaming.XboxLive.Storage.GameSaveErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.XboxLive.Storage.GameSaveErrorStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs index 628673b75e..027a53e0fa 100644 --- a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs @@ -90,7 +90,7 @@ impl ::core::fmt::Debug for CharacterGrouping { } } impl ::windows::core::RuntimeType for CharacterGrouping { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.Collation.CharacterGrouping;{fae761bb-805d-4bb0-95bb-c1f7c3e8eb8e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Collation.CharacterGrouping;{fae761bb-805d-4bb0-95bb-c1f7c3e8eb8e})"); } impl ::core::clone::Clone for CharacterGrouping { fn clone(&self) -> Self { @@ -106,7 +106,7 @@ unsafe impl ::windows::core::Interface for CharacterGrouping { impl ::windows::core::RuntimeName for CharacterGrouping { const NAME: &'static str = "Windows.Globalization.Collation.CharacterGrouping"; } -::windows::core::interface_hierarchy!(CharacterGrouping, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CharacterGrouping, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CharacterGrouping {} unsafe impl ::core::marker::Sync for CharacterGrouping {} #[doc = "*Required features: `\"Globalization_Collation\"`*"] @@ -116,8 +116,8 @@ impl CharacterGroupings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Lookup(&self, text: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -180,7 +180,7 @@ impl CharacterGroupings { } #[doc(hidden)] pub fn ICharacterGroupingsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -196,7 +196,7 @@ impl ::core::fmt::Debug for CharacterGroupings { } } impl ::windows::core::RuntimeType for CharacterGroupings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.Collation.CharacterGroupings;{b8d20a75-d4cf-4055-80e5-ce169c226496})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Collation.CharacterGroupings;{b8d20a75-d4cf-4055-80e5-ce169c226496})"); } impl ::core::clone::Clone for CharacterGroupings { fn clone(&self) -> Self { @@ -228,7 +228,7 @@ impl ::core::iter::IntoIterator for &CharacterGroupings { super::super::Foundation::Collections::VectorViewIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(CharacterGroupings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CharacterGroupings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; diff --git a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs index 9a41b67478..9f8c02a2c0 100644 --- a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs @@ -362,12 +362,12 @@ impl DateTimeFormatter { } #[doc(hidden)] pub fn IDateTimeFormatterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDateTimeFormatterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -383,7 +383,7 @@ impl ::core::fmt::Debug for DateTimeFormatter { } } impl ::windows::core::RuntimeType for DateTimeFormatter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.DateTimeFormatting.DateTimeFormatter;{95eeca10-73e0-4e4b-a183-3d6ad0ba35ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.DateTimeFormatting.DateTimeFormatter;{95eeca10-73e0-4e4b-a183-3d6ad0ba35ec})"); } impl ::core::clone::Clone for DateTimeFormatter { fn clone(&self) -> Self { @@ -399,7 +399,7 @@ unsafe impl ::windows::core::Interface for DateTimeFormatter { impl ::windows::core::RuntimeName for DateTimeFormatter { const NAME: &'static str = "Windows.Globalization.DateTimeFormatting.DateTimeFormatter"; } -::windows::core::interface_hierarchy!(DateTimeFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DateTimeFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DateTimeFormatter {} unsafe impl ::core::marker::Sync for DateTimeFormatter {} #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"] @@ -430,7 +430,7 @@ impl ::core::fmt::Debug for DayFormat { } } impl ::windows::core::RuntimeType for DayFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.DayFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.DayFormat;i4)"); } #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"] #[repr(transparent)] @@ -462,7 +462,7 @@ impl ::core::fmt::Debug for DayOfWeekFormat { } } impl ::windows::core::RuntimeType for DayOfWeekFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.DayOfWeekFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.DayOfWeekFormat;i4)"); } #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"] #[repr(transparent)] @@ -492,7 +492,7 @@ impl ::core::fmt::Debug for HourFormat { } } impl ::windows::core::RuntimeType for HourFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.HourFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.HourFormat;i4)"); } #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"] #[repr(transparent)] @@ -522,7 +522,7 @@ impl ::core::fmt::Debug for MinuteFormat { } } impl ::windows::core::RuntimeType for MinuteFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.MinuteFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.MinuteFormat;i4)"); } #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"] #[repr(transparent)] @@ -555,7 +555,7 @@ impl ::core::fmt::Debug for MonthFormat { } } impl ::windows::core::RuntimeType for MonthFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.MonthFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.MonthFormat;i4)"); } #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"] #[repr(transparent)] @@ -585,7 +585,7 @@ impl ::core::fmt::Debug for SecondFormat { } } impl ::windows::core::RuntimeType for SecondFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.SecondFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.SecondFormat;i4)"); } #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"] #[repr(transparent)] @@ -617,7 +617,7 @@ impl ::core::fmt::Debug for YearFormat { } } impl ::windows::core::RuntimeType for YearFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.YearFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DateTimeFormatting.YearFormat;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs index e4814a5eb3..d6693d308f 100644 --- a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs @@ -139,7 +139,7 @@ impl ::core::fmt::Debug for LanguageFont { } } impl ::windows::core::RuntimeType for LanguageFont { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.Fonts.LanguageFont;{b12e5c3a-b76d-459b-beeb-901151cd77d1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Fonts.LanguageFont;{b12e5c3a-b76d-459b-beeb-901151cd77d1})"); } impl ::core::clone::Clone for LanguageFont { fn clone(&self) -> Self { @@ -155,7 +155,7 @@ unsafe impl ::windows::core::Interface for LanguageFont { impl ::windows::core::RuntimeName for LanguageFont { const NAME: &'static str = "Windows.Globalization.Fonts.LanguageFont"; } -::windows::core::interface_hierarchy!(LanguageFont, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LanguageFont, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LanguageFont {} unsafe impl ::core::marker::Sync for LanguageFont {} #[doc = "*Required features: `\"Globalization_Fonts\"`*"] @@ -247,7 +247,7 @@ impl LanguageFontGroup { } #[doc(hidden)] pub fn ILanguageFontGroupFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -263,7 +263,7 @@ impl ::core::fmt::Debug for LanguageFontGroup { } } impl ::windows::core::RuntimeType for LanguageFontGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.Fonts.LanguageFontGroup;{f33a7fc3-3a5c-4aea-b9ff-b39fb242f7f6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Fonts.LanguageFontGroup;{f33a7fc3-3a5c-4aea-b9ff-b39fb242f7f6})"); } impl ::core::clone::Clone for LanguageFontGroup { fn clone(&self) -> Self { @@ -279,7 +279,7 @@ unsafe impl ::windows::core::Interface for LanguageFontGroup { impl ::windows::core::RuntimeName for LanguageFontGroup { const NAME: &'static str = "Windows.Globalization.Fonts.LanguageFontGroup"; } -::windows::core::interface_hierarchy!(LanguageFontGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LanguageFontGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LanguageFontGroup {} unsafe impl ::core::marker::Sync for LanguageFontGroup {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 2d0b4839d2..c083862687 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -140,7 +140,7 @@ impl INumberFormatter { } } } -::windows::core::interface_hierarchy!(INumberFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INumberFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for INumberFormatter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -153,7 +153,7 @@ impl ::core::fmt::Debug for INumberFormatter { } } impl ::windows::core::RuntimeType for INumberFormatter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a5007c49-7676-4db7-8631-1b6ff265caa9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a5007c49-7676-4db7-8631-1b6ff265caa9}"); } unsafe impl ::windows::core::Vtable for INumberFormatter { type Vtable = INumberFormatter_Vtbl; @@ -200,7 +200,7 @@ impl INumberFormatter2 { } } } -::windows::core::interface_hierarchy!(INumberFormatter2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INumberFormatter2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for INumberFormatter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -213,7 +213,7 @@ impl ::core::fmt::Debug for INumberFormatter2 { } } impl ::windows::core::RuntimeType for INumberFormatter2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d4a8c1f0-80d0-4b0d-a89e-882c1e8f8310}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d4a8c1f0-80d0-4b0d-a89e-882c1e8f8310}"); } unsafe impl ::windows::core::Vtable for INumberFormatter2 { type Vtable = INumberFormatter2_Vtbl; @@ -324,7 +324,7 @@ impl INumberFormatterOptions { } } } -::windows::core::interface_hierarchy!(INumberFormatterOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INumberFormatterOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for INumberFormatterOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -337,7 +337,7 @@ impl ::core::fmt::Debug for INumberFormatterOptions { } } impl ::windows::core::RuntimeType for INumberFormatterOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{80332d21-aee1-4a39-baa2-07ed8c96daf6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{80332d21-aee1-4a39-baa2-07ed8c96daf6}"); } unsafe impl ::windows::core::Vtable for INumberFormatterOptions { type Vtable = INumberFormatterOptions_Vtbl; @@ -404,7 +404,7 @@ impl INumberParser { } } } -::windows::core::interface_hierarchy!(INumberParser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INumberParser, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for INumberParser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -417,7 +417,7 @@ impl ::core::fmt::Debug for INumberParser { } } impl ::windows::core::RuntimeType for INumberParser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e6659412-4a13-4a53-83a1-392fbe4cff9f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e6659412-4a13-4a53-83a1-392fbe4cff9f}"); } unsafe impl ::windows::core::Vtable for INumberParser { type Vtable = INumberParser_Vtbl; @@ -494,7 +494,7 @@ impl INumberRounder { } } } -::windows::core::interface_hierarchy!(INumberRounder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INumberRounder, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for INumberRounder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -507,7 +507,7 @@ impl ::core::fmt::Debug for INumberRounder { } } impl ::windows::core::RuntimeType for INumberRounder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5473c375-38ed-4631-b80c-ef34fc48b7f5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5473c375-38ed-4631-b80c-ef34fc48b7f5}"); } unsafe impl ::windows::core::Vtable for INumberRounder { type Vtable = INumberRounder_Vtbl; @@ -551,7 +551,7 @@ impl INumberRounderOption { unsafe { (::windows::core::Vtable::vtable(this).SetNumberRounder)(::windows::core::Vtable::as_raw(this), value.try_into().map_err(|e| e.into())?.abi()).ok() } } } -::windows::core::interface_hierarchy!(INumberRounderOption, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INumberRounderOption, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for INumberRounderOption { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -564,7 +564,7 @@ impl ::core::fmt::Debug for INumberRounderOption { } } impl ::windows::core::RuntimeType for INumberRounderOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3b088433-646f-4efe-8d48-66eb2e49e736}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3b088433-646f-4efe-8d48-66eb2e49e736}"); } unsafe impl ::windows::core::Vtable for INumberRounderOption { type Vtable = INumberRounderOption_Vtbl; @@ -696,7 +696,7 @@ impl ISignedZeroOption { unsafe { (::windows::core::Vtable::vtable(this).SetIsZeroSigned)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(ISignedZeroOption, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISignedZeroOption, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISignedZeroOption { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -709,7 +709,7 @@ impl ::core::fmt::Debug for ISignedZeroOption { } } impl ::windows::core::RuntimeType for ISignedZeroOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fd1cdd31-0a3c-49c4-a642-96a1564f4f30}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fd1cdd31-0a3c-49c4-a642-96a1564f4f30}"); } unsafe impl ::windows::core::Vtable for ISignedZeroOption { type Vtable = ISignedZeroOption_Vtbl; @@ -768,7 +768,7 @@ impl ISignificantDigitsOption { unsafe { (::windows::core::Vtable::vtable(this).SetSignificantDigits)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(ISignificantDigitsOption, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISignificantDigitsOption, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISignificantDigitsOption { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -781,7 +781,7 @@ impl ::core::fmt::Debug for ISignificantDigitsOption { } } impl ::windows::core::RuntimeType for ISignificantDigitsOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1d4dfcdd-2d43-4ee8-bbf1-c1b26a711a58}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1d4dfcdd-2d43-4ee8-bbf1-c1b26a711a58}"); } unsafe impl ::windows::core::Vtable for ISignificantDigitsOption { type Vtable = ISignificantDigitsOption_Vtbl; @@ -1044,7 +1044,7 @@ impl CurrencyFormatter { } #[doc(hidden)] pub fn ICurrencyFormatterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1060,7 +1060,7 @@ impl ::core::fmt::Debug for CurrencyFormatter { } } impl ::windows::core::RuntimeType for CurrencyFormatter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.CurrencyFormatter;{11730ca5-4b00-41b2-b332-73b12a497d54})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.CurrencyFormatter;{11730ca5-4b00-41b2-b332-73b12a497d54})"); } impl ::core::clone::Clone for CurrencyFormatter { fn clone(&self) -> Self { @@ -1076,7 +1076,7 @@ unsafe impl ::windows::core::Interface for CurrencyFormatter { impl ::windows::core::RuntimeName for CurrencyFormatter { const NAME: &'static str = "Windows.Globalization.NumberFormatting.CurrencyFormatter"; } -::windows::core::interface_hierarchy!(CurrencyFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CurrencyFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for INumberFormatter { type Error = ::windows::core::Error; fn try_from(value: CurrencyFormatter) -> ::windows::core::Result { @@ -1219,8 +1219,8 @@ impl DecimalFormatter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1428,7 +1428,7 @@ impl DecimalFormatter { } #[doc(hidden)] pub fn IDecimalFormatterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1444,7 +1444,7 @@ impl ::core::fmt::Debug for DecimalFormatter { } } impl ::windows::core::RuntimeType for DecimalFormatter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.DecimalFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.DecimalFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); } impl ::core::clone::Clone for DecimalFormatter { fn clone(&self) -> Self { @@ -1460,7 +1460,7 @@ unsafe impl ::windows::core::Interface for DecimalFormatter { impl ::windows::core::RuntimeName for DecimalFormatter { const NAME: &'static str = "Windows.Globalization.NumberFormatting.DecimalFormatter"; } -::windows::core::interface_hierarchy!(DecimalFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DecimalFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for INumberFormatter { type Error = ::windows::core::Error; fn try_from(value: DecimalFormatter) -> ::windows::core::Result { @@ -1603,8 +1603,8 @@ impl IncrementNumberRounder { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn RoundingAlgorithm(&self) -> ::windows::core::Result { @@ -1684,7 +1684,7 @@ impl ::core::fmt::Debug for IncrementNumberRounder { } } impl ::windows::core::RuntimeType for IncrementNumberRounder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.IncrementNumberRounder;{5473c375-38ed-4631-b80c-ef34fc48b7f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.IncrementNumberRounder;{5473c375-38ed-4631-b80c-ef34fc48b7f5})"); } impl ::core::clone::Clone for IncrementNumberRounder { fn clone(&self) -> Self { @@ -1700,7 +1700,7 @@ unsafe impl ::windows::core::Interface for IncrementNumberRounder { impl ::windows::core::RuntimeName for IncrementNumberRounder { const NAME: &'static str = "Windows.Globalization.NumberFormatting.IncrementNumberRounder"; } -::windows::core::interface_hierarchy!(IncrementNumberRounder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IncrementNumberRounder, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for INumberRounder { type Error = ::windows::core::Error; fn try_from(value: IncrementNumberRounder) -> ::windows::core::Result { @@ -1729,8 +1729,8 @@ impl NumeralSystemTranslator { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1781,7 +1781,7 @@ impl NumeralSystemTranslator { } #[doc(hidden)] pub fn INumeralSystemTranslatorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1797,7 +1797,7 @@ impl ::core::fmt::Debug for NumeralSystemTranslator { } } impl ::windows::core::RuntimeType for NumeralSystemTranslator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.NumeralSystemTranslator;{28f5bc2c-8c23-4234-ad2e-fa5a3a426e9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.NumeralSystemTranslator;{28f5bc2c-8c23-4234-ad2e-fa5a3a426e9b})"); } impl ::core::clone::Clone for NumeralSystemTranslator { fn clone(&self) -> Self { @@ -1813,7 +1813,7 @@ unsafe impl ::windows::core::Interface for NumeralSystemTranslator { impl ::windows::core::RuntimeName for NumeralSystemTranslator { const NAME: &'static str = "Windows.Globalization.NumberFormatting.NumeralSystemTranslator"; } -::windows::core::interface_hierarchy!(NumeralSystemTranslator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NumeralSystemTranslator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NumeralSystemTranslator {} unsafe impl ::core::marker::Sync for NumeralSystemTranslator {} #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] @@ -1823,8 +1823,8 @@ impl PercentFormatter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn FormatInt(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2032,7 +2032,7 @@ impl PercentFormatter { } #[doc(hidden)] pub fn IPercentFormatterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2048,7 +2048,7 @@ impl ::core::fmt::Debug for PercentFormatter { } } impl ::windows::core::RuntimeType for PercentFormatter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.PercentFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.PercentFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); } impl ::core::clone::Clone for PercentFormatter { fn clone(&self) -> Self { @@ -2064,7 +2064,7 @@ unsafe impl ::windows::core::Interface for PercentFormatter { impl ::windows::core::RuntimeName for PercentFormatter { const NAME: &'static str = "Windows.Globalization.NumberFormatting.PercentFormatter"; } -::windows::core::interface_hierarchy!(PercentFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PercentFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for INumberFormatter { type Error = ::windows::core::Error; fn try_from(value: PercentFormatter) -> ::windows::core::Result { @@ -2207,8 +2207,8 @@ impl PermilleFormatter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn FormatInt(&self, value: i64) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2416,7 +2416,7 @@ impl PermilleFormatter { } #[doc(hidden)] pub fn IPermilleFormatterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2432,7 +2432,7 @@ impl ::core::fmt::Debug for PermilleFormatter { } } impl ::windows::core::RuntimeType for PermilleFormatter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.PermilleFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.PermilleFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); } impl ::core::clone::Clone for PermilleFormatter { fn clone(&self) -> Self { @@ -2448,7 +2448,7 @@ unsafe impl ::windows::core::Interface for PermilleFormatter { impl ::windows::core::RuntimeName for PermilleFormatter { const NAME: &'static str = "Windows.Globalization.NumberFormatting.PermilleFormatter"; } -::windows::core::interface_hierarchy!(PermilleFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PermilleFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for INumberFormatter { type Error = ::windows::core::Error; fn try_from(value: PermilleFormatter) -> ::windows::core::Result { @@ -2591,8 +2591,8 @@ impl SignificantDigitsNumberRounder { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn RoundInt32(&self, value: i32) -> ::windows::core::Result { @@ -2672,7 +2672,7 @@ impl ::core::fmt::Debug for SignificantDigitsNumberRounder { } } impl ::windows::core::RuntimeType for SignificantDigitsNumberRounder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.SignificantDigitsNumberRounder;{5473c375-38ed-4631-b80c-ef34fc48b7f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.SignificantDigitsNumberRounder;{5473c375-38ed-4631-b80c-ef34fc48b7f5})"); } impl ::core::clone::Clone for SignificantDigitsNumberRounder { fn clone(&self) -> Self { @@ -2688,7 +2688,7 @@ unsafe impl ::windows::core::Interface for SignificantDigitsNumberRounder { impl ::windows::core::RuntimeName for SignificantDigitsNumberRounder { const NAME: &'static str = "Windows.Globalization.NumberFormatting.SignificantDigitsNumberRounder"; } -::windows::core::interface_hierarchy!(SignificantDigitsNumberRounder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SignificantDigitsNumberRounder, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for INumberRounder { type Error = ::windows::core::Error; fn try_from(value: SignificantDigitsNumberRounder) -> ::windows::core::Result { @@ -2738,7 +2738,7 @@ impl ::core::fmt::Debug for CurrencyFormatterMode { } } impl ::windows::core::RuntimeType for CurrencyFormatterMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.NumberFormatting.CurrencyFormatterMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.NumberFormatting.CurrencyFormatterMode;i4)"); } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] @@ -2777,7 +2777,7 @@ impl ::core::fmt::Debug for RoundingAlgorithm { } } impl ::windows::core::RuntimeType for RoundingAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.NumberFormatting.RoundingAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.NumberFormatting.RoundingAlgorithm;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs index ea66d6e1dd..b188752c01 100644 --- a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs @@ -120,8 +120,8 @@ impl PhoneNumberFormatter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Format(&self, number: &PhoneNumberInfo) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -182,7 +182,7 @@ impl PhoneNumberFormatter { } #[doc(hidden)] pub fn IPhoneNumberFormatterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -198,7 +198,7 @@ impl ::core::fmt::Debug for PhoneNumberFormatter { } } impl ::windows::core::RuntimeType for PhoneNumberFormatter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter;{1556b49e-bad4-4b4a-900d-4407adb7c981})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter;{1556b49e-bad4-4b4a-900d-4407adb7c981})"); } impl ::core::clone::Clone for PhoneNumberFormatter { fn clone(&self) -> Self { @@ -214,7 +214,7 @@ unsafe impl ::windows::core::Interface for PhoneNumberFormatter { impl ::windows::core::RuntimeName for PhoneNumberFormatter { const NAME: &'static str = "Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter"; } -::windows::core::interface_hierarchy!(PhoneNumberFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneNumberFormatter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhoneNumberFormatter {} unsafe impl ::core::marker::Sync for PhoneNumberFormatter {} #[doc = "*Required features: `\"Globalization_PhoneNumberFormatting\"`*"] @@ -306,12 +306,12 @@ impl PhoneNumberInfo { } #[doc(hidden)] pub fn IPhoneNumberInfoFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPhoneNumberInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -327,7 +327,7 @@ impl ::core::fmt::Debug for PhoneNumberInfo { } } impl ::windows::core::RuntimeType for PhoneNumberInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo;{1c7ce4dd-c8b4-4ea3-9aef-b342e2c5b417})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo;{1c7ce4dd-c8b4-4ea3-9aef-b342e2c5b417})"); } impl ::core::clone::Clone for PhoneNumberInfo { fn clone(&self) -> Self { @@ -343,7 +343,7 @@ unsafe impl ::windows::core::Interface for PhoneNumberInfo { impl ::windows::core::RuntimeName for PhoneNumberInfo { const NAME: &'static str = "Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo"; } -::windows::core::interface_hierarchy!(PhoneNumberInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneNumberInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -398,7 +398,7 @@ impl ::core::fmt::Debug for PhoneNumberFormat { } } impl ::windows::core::RuntimeType for PhoneNumberFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormat;i4)"); } #[doc = "*Required features: `\"Globalization_PhoneNumberFormatting\"`*"] #[repr(transparent)] @@ -430,7 +430,7 @@ impl ::core::fmt::Debug for PhoneNumberMatchResult { } } impl ::windows::core::RuntimeType for PhoneNumberMatchResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.PhoneNumberFormatting.PhoneNumberMatchResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.PhoneNumberFormatting.PhoneNumberMatchResult;i4)"); } #[doc = "*Required features: `\"Globalization_PhoneNumberFormatting\"`*"] #[repr(transparent)] @@ -463,7 +463,7 @@ impl ::core::fmt::Debug for PhoneNumberParseResult { } } impl ::windows::core::RuntimeType for PhoneNumberParseResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.PhoneNumberFormatting.PhoneNumberParseResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.PhoneNumberFormatting.PhoneNumberParseResult;i4)"); } #[doc = "*Required features: `\"Globalization_PhoneNumberFormatting\"`*"] #[repr(transparent)] @@ -503,7 +503,7 @@ impl ::core::fmt::Debug for PredictedPhoneNumberKind { } } impl ::windows::core::RuntimeType for PredictedPhoneNumberKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.PhoneNumberFormatting.PredictedPhoneNumberKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.PhoneNumberFormatting.PredictedPhoneNumberKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Globalization/mod.rs b/crates/libs/windows/src/Windows/Globalization/mod.rs index d25106efa2..a1462c06ae 100644 --- a/crates/libs/windows/src/Windows/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/mod.rs @@ -1027,12 +1027,12 @@ impl ApplicationLanguages { } #[doc(hidden)] pub fn IApplicationLanguagesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IApplicationLanguagesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1046,8 +1046,8 @@ impl Calendar { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Clone(&self) -> ::windows::core::Result { @@ -1726,12 +1726,12 @@ impl Calendar { } #[doc(hidden)] pub fn ICalendarFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICalendarFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1747,7 +1747,7 @@ impl ::core::fmt::Debug for Calendar { } } impl ::windows::core::RuntimeType for Calendar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.Calendar;{ca30221d-86d9-40fb-a26b-d44eb7cf08ea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Calendar;{ca30221d-86d9-40fb-a26b-d44eb7cf08ea})"); } impl ::core::clone::Clone for Calendar { fn clone(&self) -> Self { @@ -1763,7 +1763,7 @@ unsafe impl ::windows::core::Interface for Calendar { impl ::windows::core::RuntimeName for Calendar { const NAME: &'static str = "Windows.Globalization.Calendar"; } -::windows::core::interface_hierarchy!(Calendar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Calendar, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Calendar {} unsafe impl ::core::marker::Sync for Calendar {} #[doc = "*Required features: `\"Globalization\"`*"] @@ -1861,17 +1861,17 @@ impl CalendarIdentifiers { } #[doc(hidden)] pub fn ICalendarIdentifiersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICalendarIdentifiersStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICalendarIdentifiersStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1895,7 +1895,7 @@ impl ClockIdentifiers { } #[doc(hidden)] pub fn IClockIdentifiersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1928,7 +1928,7 @@ impl CurrencyAmount { } #[doc(hidden)] pub fn ICurrencyAmountFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1944,7 +1944,7 @@ impl ::core::fmt::Debug for CurrencyAmount { } } impl ::windows::core::RuntimeType for CurrencyAmount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.CurrencyAmount;{74b49942-eb75-443a-95b3-7d723f56f93c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.CurrencyAmount;{74b49942-eb75-443a-95b3-7d723f56f93c})"); } impl ::core::clone::Clone for CurrencyAmount { fn clone(&self) -> Self { @@ -1960,7 +1960,7 @@ unsafe impl ::windows::core::Interface for CurrencyAmount { impl ::windows::core::RuntimeName for CurrencyAmount { const NAME: &'static str = "Windows.Globalization.CurrencyAmount"; } -::windows::core::interface_hierarchy!(CurrencyAmount, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CurrencyAmount, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CurrencyAmount {} unsafe impl ::core::marker::Sync for CurrencyAmount {} #[doc = "*Required features: `\"Globalization\"`*"] @@ -2940,17 +2940,17 @@ impl CurrencyIdentifiers { } #[doc(hidden)] pub fn ICurrencyIdentifiersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrencyIdentifiersStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICurrencyIdentifiersStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2964,8 +2964,8 @@ impl GeographicRegion { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Code(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3033,12 +3033,12 @@ impl GeographicRegion { } #[doc(hidden)] pub fn IGeographicRegionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGeographicRegionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3054,7 +3054,7 @@ impl ::core::fmt::Debug for GeographicRegion { } } impl ::windows::core::RuntimeType for GeographicRegion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.GeographicRegion;{01e9a621-4a64-4ed9-954f-9edeb07bd903})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.GeographicRegion;{01e9a621-4a64-4ed9-954f-9edeb07bd903})"); } impl ::core::clone::Clone for GeographicRegion { fn clone(&self) -> Self { @@ -3070,7 +3070,7 @@ unsafe impl ::windows::core::Interface for GeographicRegion { impl ::windows::core::RuntimeName for GeographicRegion { const NAME: &'static str = "Windows.Globalization.GeographicRegion"; } -::windows::core::interface_hierarchy!(GeographicRegion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GeographicRegion, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GeographicRegion {} unsafe impl ::core::marker::Sync for GeographicRegion {} #[doc = "*Required features: `\"Globalization\"`*"] @@ -3111,7 +3111,7 @@ impl ::core::fmt::Debug for JapanesePhoneme { } } impl ::windows::core::RuntimeType for JapanesePhoneme { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.JapanesePhoneme;{2f6a9300-e85b-43e6-897d-5d82f862df21})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.JapanesePhoneme;{2f6a9300-e85b-43e6-897d-5d82f862df21})"); } impl ::core::clone::Clone for JapanesePhoneme { fn clone(&self) -> Self { @@ -3127,7 +3127,7 @@ unsafe impl ::windows::core::Interface for JapanesePhoneme { impl ::windows::core::RuntimeName for JapanesePhoneme { const NAME: &'static str = "Windows.Globalization.JapanesePhoneme"; } -::windows::core::interface_hierarchy!(JapanesePhoneme, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(JapanesePhoneme, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Globalization\"`*"] pub struct JapanesePhoneticAnalyzer; impl JapanesePhoneticAnalyzer { @@ -3149,7 +3149,7 @@ impl JapanesePhoneticAnalyzer { } #[doc(hidden)] pub fn IJapanesePhoneticAnalyzerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3249,22 +3249,22 @@ impl Language { } #[doc(hidden)] pub fn ILanguageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILanguageStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILanguageStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILanguageStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3280,7 +3280,7 @@ impl ::core::fmt::Debug for Language { } } impl ::windows::core::RuntimeType for Language { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Globalization.Language;{ea79a752-f7c2-4265-b1bd-c4dec4e4f080})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Language;{ea79a752-f7c2-4265-b1bd-c4dec4e4f080})"); } impl ::core::clone::Clone for Language { fn clone(&self) -> Self { @@ -3296,7 +3296,7 @@ unsafe impl ::windows::core::Interface for Language { impl ::windows::core::RuntimeName for Language { const NAME: &'static str = "Windows.Globalization.Language"; } -::windows::core::interface_hierarchy!(Language, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Language, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Language {} unsafe impl ::core::marker::Sync for Language {} #[doc = "*Required features: `\"Globalization\"`*"] @@ -3592,12 +3592,12 @@ impl NumeralSystemIdentifiers { } #[doc(hidden)] pub fn INumeralSystemIdentifiersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn INumeralSystemIdentifiersStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3637,7 +3637,7 @@ impl ::core::fmt::Debug for DayOfWeek { } } impl ::windows::core::RuntimeType for DayOfWeek { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.DayOfWeek;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DayOfWeek;i4)"); } #[doc = "*Required features: `\"Globalization\"`*"] #[repr(transparent)] @@ -3669,7 +3669,7 @@ impl ::core::fmt::Debug for LanguageLayoutDirection { } } impl ::windows::core::RuntimeType for LanguageLayoutDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Globalization.LanguageLayoutDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.LanguageLayoutDirection;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index 199965a72c..6da0d50ace 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -361,7 +361,7 @@ impl ::core::fmt::Debug for Direct3D11CaptureFrame { } } impl ::windows::core::RuntimeType for Direct3D11CaptureFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.Direct3D11CaptureFrame;{fa50c623-38da-4b32-acf3-fa9734ad800e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.Direct3D11CaptureFrame;{fa50c623-38da-4b32-acf3-fa9734ad800e})"); } impl ::core::clone::Clone for Direct3D11CaptureFrame { fn clone(&self) -> Self { @@ -377,7 +377,7 @@ unsafe impl ::windows::core::Interface for Direct3D11CaptureFrame { impl ::windows::core::RuntimeName for Direct3D11CaptureFrame { const NAME: &'static str = "Windows.Graphics.Capture.Direct3D11CaptureFrame"; } -::windows::core::interface_hierarchy!(Direct3D11CaptureFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Direct3D11CaptureFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -486,12 +486,12 @@ impl Direct3D11CaptureFramePool { } #[doc(hidden)] pub fn IDirect3D11CaptureFramePoolStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDirect3D11CaptureFramePoolStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -507,7 +507,7 @@ impl ::core::fmt::Debug for Direct3D11CaptureFramePool { } } impl ::windows::core::RuntimeType for Direct3D11CaptureFramePool { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.Direct3D11CaptureFramePool;{24eb6d22-1975-422e-82e7-780dbd8ddf24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.Direct3D11CaptureFramePool;{24eb6d22-1975-422e-82e7-780dbd8ddf24})"); } impl ::core::clone::Clone for Direct3D11CaptureFramePool { fn clone(&self) -> Self { @@ -523,7 +523,7 @@ unsafe impl ::windows::core::Interface for Direct3D11CaptureFramePool { impl ::windows::core::RuntimeName for Direct3D11CaptureFramePool { const NAME: &'static str = "Windows.Graphics.Capture.Direct3D11CaptureFramePool"; } -::windows::core::interface_hierarchy!(Direct3D11CaptureFramePool, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Direct3D11CaptureFramePool, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -561,7 +561,7 @@ impl GraphicsCaptureAccess { } #[doc(hidden)] pub fn IGraphicsCaptureAccessStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -628,12 +628,12 @@ impl GraphicsCaptureItem { } #[doc(hidden)] pub fn IGraphicsCaptureItemStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGraphicsCaptureItemStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -649,7 +649,7 @@ impl ::core::fmt::Debug for GraphicsCaptureItem { } } impl ::windows::core::RuntimeType for GraphicsCaptureItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCaptureItem;{79c3f95b-31f7-4ec2-a464-632ef5d30760})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCaptureItem;{79c3f95b-31f7-4ec2-a464-632ef5d30760})"); } impl ::core::clone::Clone for GraphicsCaptureItem { fn clone(&self) -> Self { @@ -665,7 +665,7 @@ unsafe impl ::windows::core::Interface for GraphicsCaptureItem { impl ::windows::core::RuntimeName for GraphicsCaptureItem { const NAME: &'static str = "Windows.Graphics.Capture.GraphicsCaptureItem"; } -::windows::core::interface_hierarchy!(GraphicsCaptureItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GraphicsCaptureItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GraphicsCaptureItem {} unsafe impl ::core::marker::Sync for GraphicsCaptureItem {} #[doc = "*Required features: `\"Graphics_Capture\"`*"] @@ -675,8 +675,8 @@ impl GraphicsCapturePicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -701,7 +701,7 @@ impl ::core::fmt::Debug for GraphicsCapturePicker { } } impl ::windows::core::RuntimeType for GraphicsCapturePicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCapturePicker;{5a1711b3-ad79-4b4a-9336-1318fdde3539})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCapturePicker;{5a1711b3-ad79-4b4a-9336-1318fdde3539})"); } impl ::core::clone::Clone for GraphicsCapturePicker { fn clone(&self) -> Self { @@ -717,7 +717,7 @@ unsafe impl ::windows::core::Interface for GraphicsCapturePicker { impl ::windows::core::RuntimeName for GraphicsCapturePicker { const NAME: &'static str = "Windows.Graphics.Capture.GraphicsCapturePicker"; } -::windows::core::interface_hierarchy!(GraphicsCapturePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GraphicsCapturePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GraphicsCapturePicker {} unsafe impl ::core::marker::Sync for GraphicsCapturePicker {} #[doc = "*Required features: `\"Graphics_Capture\"`*"] @@ -764,7 +764,7 @@ impl GraphicsCaptureSession { } #[doc(hidden)] pub fn IGraphicsCaptureSessionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -780,7 +780,7 @@ impl ::core::fmt::Debug for GraphicsCaptureSession { } } impl ::windows::core::RuntimeType for GraphicsCaptureSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCaptureSession;{814e42a9-f70f-4ad7-939b-fddcc6eb880d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCaptureSession;{814e42a9-f70f-4ad7-939b-fddcc6eb880d})"); } impl ::core::clone::Clone for GraphicsCaptureSession { fn clone(&self) -> Self { @@ -796,7 +796,7 @@ unsafe impl ::windows::core::Interface for GraphicsCaptureSession { impl ::windows::core::RuntimeName for GraphicsCaptureSession { const NAME: &'static str = "Windows.Graphics.Capture.GraphicsCaptureSession"; } -::windows::core::interface_hierarchy!(GraphicsCaptureSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GraphicsCaptureSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -849,7 +849,7 @@ impl ::core::fmt::Debug for GraphicsCaptureAccessKind { } } impl ::windows::core::RuntimeType for GraphicsCaptureAccessKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Capture.GraphicsCaptureAccessKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Capture.GraphicsCaptureAccessKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs index af65ae91f7..dee27f6fdb 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs @@ -13,7 +13,7 @@ impl IDirect3DDevice { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IDirect3DDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDirect3DDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -48,7 +48,7 @@ impl ::core::fmt::Debug for IDirect3DDevice { } } impl ::windows::core::RuntimeType for IDirect3DDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a37624ab-8d5f-4650-9d3e-9eae3d9bc670}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a37624ab-8d5f-4650-9d3e-9eae3d9bc670}"); } unsafe impl ::windows::core::Vtable for IDirect3DDevice { type Vtable = IDirect3DDevice_Vtbl; @@ -85,7 +85,7 @@ impl IDirect3DSurface { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IDirect3DSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDirect3DSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -120,7 +120,7 @@ impl ::core::fmt::Debug for IDirect3DSurface { } } impl ::windows::core::RuntimeType for IDirect3DSurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0bf4a146-13c1-4694-bee3-7abf15eaf586}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0bf4a146-13c1-4694-bee3-7abf15eaf586}"); } unsafe impl ::windows::core::Vtable for IDirect3DSurface { type Vtable = IDirect3DSurface_Vtbl; @@ -208,7 +208,7 @@ impl ::core::ops::Not for Direct3DBindings { } } impl ::windows::core::RuntimeType for Direct3DBindings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.Direct3D11.Direct3DBindings;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.Direct3D11.Direct3DBindings;u4)"); } #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"] #[repr(transparent)] @@ -240,7 +240,7 @@ impl ::core::fmt::Debug for Direct3DUsage { } } impl ::windows::core::RuntimeType for Direct3DUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.Direct3D11.Direct3DUsage;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.Direct3D11.Direct3DUsage;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"] @@ -263,7 +263,7 @@ impl ::windows::core::TypeKind for Direct3DMultisampleDescription { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Direct3DMultisampleDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription;i4;i4)"); } impl ::core::cmp::PartialEq for Direct3DMultisampleDescription { fn eq(&self, other: &Self) -> bool { @@ -299,7 +299,7 @@ impl ::windows::core::TypeKind for Direct3DSurfaceDescription { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Direct3DSurfaceDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.DirectX.Direct3D11.Direct3DSurfaceDescription;i4;i4;enum(Windows.Graphics.DirectX.DirectXPixelFormat;i4);struct(Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription;i4;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.DirectX.Direct3D11.Direct3DSurfaceDescription;i4;i4;enum(Windows.Graphics.DirectX.DirectXPixelFormat;i4);struct(Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription;i4;i4))"); } impl ::core::cmp::PartialEq for Direct3DSurfaceDescription { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Graphics/DirectX/mod.rs b/crates/libs/windows/src/Windows/Graphics/DirectX/mod.rs index 44745a0ffa..84e5ad8508 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/mod.rs @@ -30,7 +30,7 @@ impl ::core::fmt::Debug for DirectXAlphaMode { } } impl ::windows::core::RuntimeType for DirectXAlphaMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.DirectXAlphaMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.DirectXAlphaMode;i4)"); } #[doc = "*Required features: `\"Graphics_DirectX\"`*"] #[repr(transparent)] @@ -83,7 +83,7 @@ impl ::core::fmt::Debug for DirectXColorSpace { } } impl ::windows::core::RuntimeType for DirectXColorSpace { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.DirectXColorSpace;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.DirectXColorSpace;i4)"); } #[doc = "*Required features: `\"Graphics_DirectX\"`*"] #[repr(transparent)] @@ -232,7 +232,7 @@ impl ::core::fmt::Debug for DirectXPixelFormat { } } impl ::windows::core::RuntimeType for DirectXPixelFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.DirectXPixelFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.DirectXPixelFormat;i4)"); } #[doc = "*Required features: `\"Graphics_DirectX\"`*"] #[repr(transparent)] @@ -266,7 +266,7 @@ impl ::core::fmt::Debug for DirectXPrimitiveTopology { } } impl ::windows::core::RuntimeType for DirectXPrimitiveTopology { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.DirectXPrimitiveTopology;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.DirectX.DirectXPrimitiveTopology;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs index ecf2291da2..1f292701fa 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs @@ -195,7 +195,7 @@ impl HdmiDisplayInformation { } #[doc(hidden)] pub fn IHdmiDisplayInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -211,7 +211,7 @@ impl ::core::fmt::Debug for HdmiDisplayInformation { } } impl ::windows::core::RuntimeType for HdmiDisplayInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.Core.HdmiDisplayInformation;{130b3c0a-f565-476e-abd5-ea05aee74c69})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.Core.HdmiDisplayInformation;{130b3c0a-f565-476e-abd5-ea05aee74c69})"); } impl ::core::clone::Clone for HdmiDisplayInformation { fn clone(&self) -> Self { @@ -227,7 +227,7 @@ unsafe impl ::windows::core::Interface for HdmiDisplayInformation { impl ::windows::core::RuntimeName for HdmiDisplayInformation { const NAME: &'static str = "Windows.Graphics.Display.Core.HdmiDisplayInformation"; } -::windows::core::interface_hierarchy!(HdmiDisplayInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HdmiDisplayInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HdmiDisplayInformation {} unsafe impl ::core::marker::Sync for HdmiDisplayInformation {} #[doc = "*Required features: `\"Graphics_Display_Core\"`*"] @@ -331,7 +331,7 @@ impl ::core::fmt::Debug for HdmiDisplayMode { } } impl ::windows::core::RuntimeType for HdmiDisplayMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.Core.HdmiDisplayMode;{0c06d5ad-1b90-4f51-9981-ef5a1c0ddf66})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.Core.HdmiDisplayMode;{0c06d5ad-1b90-4f51-9981-ef5a1c0ddf66})"); } impl ::core::clone::Clone for HdmiDisplayMode { fn clone(&self) -> Self { @@ -347,7 +347,7 @@ unsafe impl ::windows::core::Interface for HdmiDisplayMode { impl ::windows::core::RuntimeName for HdmiDisplayMode { const NAME: &'static str = "Windows.Graphics.Display.Core.HdmiDisplayMode"; } -::windows::core::interface_hierarchy!(HdmiDisplayMode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HdmiDisplayMode, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HdmiDisplayMode {} unsafe impl ::core::marker::Sync for HdmiDisplayMode {} #[doc = "*Required features: `\"Graphics_Display_Core\"`*"] @@ -380,7 +380,7 @@ impl ::core::fmt::Debug for HdmiDisplayColorSpace { } } impl ::windows::core::RuntimeType for HdmiDisplayColorSpace { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.Core.HdmiDisplayColorSpace;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.Core.HdmiDisplayColorSpace;i4)"); } #[doc = "*Required features: `\"Graphics_Display_Core\"`*"] #[repr(transparent)] @@ -412,7 +412,7 @@ impl ::core::fmt::Debug for HdmiDisplayHdrOption { } } impl ::windows::core::RuntimeType for HdmiDisplayHdrOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.Core.HdmiDisplayHdrOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.Core.HdmiDisplayHdrOption;i4)"); } #[doc = "*Required features: `\"Graphics_Display_Core\"`*"] #[repr(transparent)] @@ -444,7 +444,7 @@ impl ::core::fmt::Debug for HdmiDisplayPixelEncoding { } } impl ::windows::core::RuntimeType for HdmiDisplayPixelEncoding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.Core.HdmiDisplayPixelEncoding;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.Core.HdmiDisplayPixelEncoding;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Graphics_Display_Core\"`*"] @@ -490,7 +490,7 @@ impl ::windows::core::TypeKind for HdmiDisplayHdr2086Metadata { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for HdmiDisplayHdr2086Metadata { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Display.Core.HdmiDisplayHdr2086Metadata;u2;u2;u2;u2;u2;u2;u2;u2;u2;u2;u2;u2)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Display.Core.HdmiDisplayHdr2086Metadata;u2;u2;u2;u2;u2;u2;u2;u2;u2;u2;u2;u2)"); } impl ::core::cmp::PartialEq for HdmiDisplayHdr2086Metadata { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs index 02f633ed63..fd09b8ab96 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs @@ -739,7 +739,7 @@ impl ::core::fmt::Debug for AdvancedColorInfo { } } impl ::windows::core::RuntimeType for AdvancedColorInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.AdvancedColorInfo;{8797dcfb-b229-4081-ae9a-2cc85e34ad6a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.AdvancedColorInfo;{8797dcfb-b229-4081-ae9a-2cc85e34ad6a})"); } impl ::core::clone::Clone for AdvancedColorInfo { fn clone(&self) -> Self { @@ -755,7 +755,7 @@ unsafe impl ::windows::core::Interface for AdvancedColorInfo { impl ::windows::core::RuntimeName for AdvancedColorInfo { const NAME: &'static str = "Windows.Graphics.Display.AdvancedColorInfo"; } -::windows::core::interface_hierarchy!(AdvancedColorInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdvancedColorInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdvancedColorInfo {} unsafe impl ::core::marker::Sync for AdvancedColorInfo {} #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -873,7 +873,7 @@ impl BrightnessOverride { } #[doc(hidden)] pub fn IBrightnessOverrideStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -889,7 +889,7 @@ impl ::core::fmt::Debug for BrightnessOverride { } } impl ::windows::core::RuntimeType for BrightnessOverride { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.BrightnessOverride;{96c9621a-c143-4392-bedd-4a7e9574c8fd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.BrightnessOverride;{96c9621a-c143-4392-bedd-4a7e9574c8fd})"); } impl ::core::clone::Clone for BrightnessOverride { fn clone(&self) -> Self { @@ -905,7 +905,7 @@ unsafe impl ::windows::core::Interface for BrightnessOverride { impl ::windows::core::RuntimeName for BrightnessOverride { const NAME: &'static str = "Windows.Graphics.Display.BrightnessOverride"; } -::windows::core::interface_hierarchy!(BrightnessOverride, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BrightnessOverride, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BrightnessOverride {} unsafe impl ::core::marker::Sync for BrightnessOverride {} #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -946,7 +946,7 @@ impl BrightnessOverrideSettings { } #[doc(hidden)] pub fn IBrightnessOverrideSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -962,7 +962,7 @@ impl ::core::fmt::Debug for BrightnessOverrideSettings { } } impl ::windows::core::RuntimeType for BrightnessOverrideSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.BrightnessOverrideSettings;{d112ab2a-7604-4dba-bcf8-4b6f49502cb0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.BrightnessOverrideSettings;{d112ab2a-7604-4dba-bcf8-4b6f49502cb0})"); } impl ::core::clone::Clone for BrightnessOverrideSettings { fn clone(&self) -> Self { @@ -978,7 +978,7 @@ unsafe impl ::windows::core::Interface for BrightnessOverrideSettings { impl ::windows::core::RuntimeName for BrightnessOverrideSettings { const NAME: &'static str = "Windows.Graphics.Display.BrightnessOverrideSettings"; } -::windows::core::interface_hierarchy!(BrightnessOverrideSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BrightnessOverrideSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BrightnessOverrideSettings {} unsafe impl ::core::marker::Sync for BrightnessOverrideSettings {} #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -1000,7 +1000,7 @@ impl ColorOverrideSettings { } #[doc(hidden)] pub fn IColorOverrideSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1016,7 +1016,7 @@ impl ::core::fmt::Debug for ColorOverrideSettings { } } impl ::windows::core::RuntimeType for ColorOverrideSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.ColorOverrideSettings;{fbefa134-4a81-4c4d-a5b6-7d1b5c4bd00b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.ColorOverrideSettings;{fbefa134-4a81-4c4d-a5b6-7d1b5c4bd00b})"); } impl ::core::clone::Clone for ColorOverrideSettings { fn clone(&self) -> Self { @@ -1032,7 +1032,7 @@ unsafe impl ::windows::core::Interface for ColorOverrideSettings { impl ::windows::core::RuntimeName for ColorOverrideSettings { const NAME: &'static str = "Windows.Graphics.Display.ColorOverrideSettings"; } -::windows::core::interface_hierarchy!(ColorOverrideSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ColorOverrideSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ColorOverrideSettings {} unsafe impl ::core::marker::Sync for ColorOverrideSettings {} #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -1143,7 +1143,7 @@ impl DisplayEnhancementOverride { } #[doc(hidden)] pub fn IDisplayEnhancementOverrideStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1159,7 +1159,7 @@ impl ::core::fmt::Debug for DisplayEnhancementOverride { } } impl ::windows::core::RuntimeType for DisplayEnhancementOverride { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverride;{429594cf-d97a-4b02-a428-5c4292f7f522})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverride;{429594cf-d97a-4b02-a428-5c4292f7f522})"); } impl ::core::clone::Clone for DisplayEnhancementOverride { fn clone(&self) -> Self { @@ -1175,7 +1175,7 @@ unsafe impl ::windows::core::Interface for DisplayEnhancementOverride { impl ::windows::core::RuntimeName for DisplayEnhancementOverride { const NAME: &'static str = "Windows.Graphics.Display.DisplayEnhancementOverride"; } -::windows::core::interface_hierarchy!(DisplayEnhancementOverride, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayEnhancementOverride, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayEnhancementOverride {} unsafe impl ::core::marker::Sync for DisplayEnhancementOverride {} #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -1218,7 +1218,7 @@ impl ::core::fmt::Debug for DisplayEnhancementOverrideCapabilities { } } impl ::windows::core::RuntimeType for DisplayEnhancementOverrideCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverrideCapabilities;{457060de-ee5a-47b7-9918-1e51e812ccc8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverrideCapabilities;{457060de-ee5a-47b7-9918-1e51e812ccc8})"); } impl ::core::clone::Clone for DisplayEnhancementOverrideCapabilities { fn clone(&self) -> Self { @@ -1234,7 +1234,7 @@ unsafe impl ::windows::core::Interface for DisplayEnhancementOverrideCapabilitie impl ::windows::core::RuntimeName for DisplayEnhancementOverrideCapabilities { const NAME: &'static str = "Windows.Graphics.Display.DisplayEnhancementOverrideCapabilities"; } -::windows::core::interface_hierarchy!(DisplayEnhancementOverrideCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayEnhancementOverrideCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayEnhancementOverrideCapabilities {} unsafe impl ::core::marker::Sync for DisplayEnhancementOverrideCapabilities {} #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -1261,7 +1261,7 @@ impl ::core::fmt::Debug for DisplayEnhancementOverrideCapabilitiesChangedEventAr } } impl ::windows::core::RuntimeType for DisplayEnhancementOverrideCapabilitiesChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverrideCapabilitiesChangedEventArgs;{db61e664-15fa-49da-8b77-07dbd2af585d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverrideCapabilitiesChangedEventArgs;{db61e664-15fa-49da-8b77-07dbd2af585d})"); } impl ::core::clone::Clone for DisplayEnhancementOverrideCapabilitiesChangedEventArgs { fn clone(&self) -> Self { @@ -1277,7 +1277,7 @@ unsafe impl ::windows::core::Interface for DisplayEnhancementOverrideCapabilitie impl ::windows::core::RuntimeName for DisplayEnhancementOverrideCapabilitiesChangedEventArgs { const NAME: &'static str = "Windows.Graphics.Display.DisplayEnhancementOverrideCapabilitiesChangedEventArgs"; } -::windows::core::interface_hierarchy!(DisplayEnhancementOverrideCapabilitiesChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayEnhancementOverrideCapabilitiesChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayEnhancementOverrideCapabilitiesChangedEventArgs {} unsafe impl ::core::marker::Sync for DisplayEnhancementOverrideCapabilitiesChangedEventArgs {} #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -1484,7 +1484,7 @@ impl DisplayInformation { } #[doc(hidden)] pub fn IDisplayInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1500,7 +1500,7 @@ impl ::core::fmt::Debug for DisplayInformation { } } impl ::windows::core::RuntimeType for DisplayInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayInformation;{bed112ae-adc3-4dc9-ae65-851f4d7d4799})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayInformation;{bed112ae-adc3-4dc9-ae65-851f4d7d4799})"); } impl ::core::clone::Clone for DisplayInformation { fn clone(&self) -> Self { @@ -1516,7 +1516,7 @@ unsafe impl ::windows::core::Interface for DisplayInformation { impl ::windows::core::RuntimeName for DisplayInformation { const NAME: &'static str = "Windows.Graphics.Display.DisplayInformation"; } -::windows::core::interface_hierarchy!(DisplayInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayInformation {} unsafe impl ::core::marker::Sync for DisplayInformation {} #[doc = "*Required features: `\"Graphics_Display\"`, `\"deprecated\"`*"] @@ -1653,7 +1653,7 @@ impl DisplayProperties { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IDisplayPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1673,7 +1673,7 @@ impl DisplayServices { } #[doc(hidden)] pub fn IDisplayServicesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1689,7 +1689,7 @@ impl ::core::fmt::Debug for DisplayServices { } } impl ::windows::core::RuntimeType for DisplayServices { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayServices;{1b54f32b-890d-5747-bd26-fdbdeb0c8a71})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayServices;{1b54f32b-890d-5747-bd26-fdbdeb0c8a71})"); } impl ::core::clone::Clone for DisplayServices { fn clone(&self) -> Self { @@ -1705,7 +1705,7 @@ unsafe impl ::windows::core::Interface for DisplayServices { impl ::windows::core::RuntimeName for DisplayServices { const NAME: &'static str = "Windows.Graphics.Display.DisplayServices"; } -::windows::core::interface_hierarchy!(DisplayServices, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayServices, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayServices {} unsafe impl ::core::marker::Sync for DisplayServices {} #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -1737,7 +1737,7 @@ impl ::core::fmt::Debug for AdvancedColorKind { } } impl ::windows::core::RuntimeType for AdvancedColorKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.AdvancedColorKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.AdvancedColorKind;i4)"); } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] @@ -1800,7 +1800,7 @@ impl ::core::ops::Not for DisplayBrightnessOverrideOptions { } } impl ::windows::core::RuntimeType for DisplayBrightnessOverrideOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayBrightnessOverrideOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayBrightnessOverrideOptions;u4)"); } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] @@ -1831,7 +1831,7 @@ impl ::core::fmt::Debug for DisplayBrightnessOverrideScenario { } } impl ::windows::core::RuntimeType for DisplayBrightnessOverrideScenario { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayBrightnessOverrideScenario;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayBrightnessOverrideScenario;i4)"); } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] @@ -1863,7 +1863,7 @@ impl ::core::fmt::Debug for DisplayBrightnessScenario { } } impl ::windows::core::RuntimeType for DisplayBrightnessScenario { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayBrightnessScenario;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayBrightnessScenario;i4)"); } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] @@ -1892,7 +1892,7 @@ impl ::core::fmt::Debug for DisplayColorOverrideScenario { } } impl ::windows::core::RuntimeType for DisplayColorOverrideScenario { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayColorOverrideScenario;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayColorOverrideScenario;i4)"); } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] @@ -1958,7 +1958,7 @@ impl ::core::ops::Not for DisplayOrientations { } } impl ::windows::core::RuntimeType for DisplayOrientations { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayOrientations;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.DisplayOrientations;u4)"); } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] @@ -1988,7 +1988,7 @@ impl ::core::fmt::Debug for HdrMetadataFormat { } } impl ::windows::core::RuntimeType for HdrMetadataFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.HdrMetadataFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.HdrMetadataFormat;i4)"); } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] @@ -2033,7 +2033,7 @@ impl ::core::fmt::Debug for ResolutionScale { } } impl ::windows::core::RuntimeType for ResolutionScale { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.ResolutionScale;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Display.ResolutionScale;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Graphics_Display\"`*"] @@ -2057,7 +2057,7 @@ impl ::windows::core::TypeKind for NitRange { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for NitRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Display.NitRange;f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Display.NitRange;f4;f4;f4)"); } impl ::core::cmp::PartialEq for NitRange { fn eq(&self, other: &Self) -> bool { @@ -2077,8 +2077,8 @@ pub struct DisplayPropertiesEventHandler(pub ::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl DisplayPropertiesEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = DisplayPropertiesEventHandlerBox:: { vtable: &DisplayPropertiesEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = DisplayPropertiesEventHandlerBox:: { vtable: &DisplayPropertiesEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -2095,7 +2095,7 @@ impl DisplayPropertiesEventHandler { struct DisplayPropertiesEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const DisplayPropertiesEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "deprecated")] impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> DisplayPropertiesEventHandlerBox { @@ -2105,7 +2105,7 @@ impl) -> ::windo }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -2121,7 +2121,7 @@ impl) -> ::windo let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -2160,7 +2160,7 @@ unsafe impl ::windows::core::Interface for DisplayPropertiesEventHandler { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for DisplayPropertiesEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{dbdd8b01-f1a1-46d1-9ee3-543bcc995980}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{dbdd8b01-f1a1-46d1-9ee3-543bcc995980}"); } #[cfg(feature = "deprecated")] #[repr(C)] diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs index 700c4f6a4e..99c409284d 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs @@ -14,7 +14,7 @@ impl IGraphicsEffect { unsafe { (::windows::core::Vtable::vtable(this).SetName)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(name)).ok() } } } -::windows::core::interface_hierarchy!(IGraphicsEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGraphicsEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IGraphicsEffectSource { type Error = ::windows::core::Error; fn try_from(value: IGraphicsEffect) -> ::windows::core::Result { @@ -46,7 +46,7 @@ impl ::core::fmt::Debug for IGraphicsEffect { } } impl ::windows::core::RuntimeType for IGraphicsEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{cb51c0ce-8fe6-4636-b202-861faa07d8f3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cb51c0ce-8fe6-4636-b202-861faa07d8f3}"); } unsafe impl ::windows::core::Vtable for IGraphicsEffect { type Vtable = IGraphicsEffect_Vtbl; @@ -70,7 +70,7 @@ pub struct IGraphicsEffect_Vtbl { #[repr(transparent)] pub struct IGraphicsEffectSource(::windows::core::IUnknown); impl IGraphicsEffectSource {} -::windows::core::interface_hierarchy!(IGraphicsEffectSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGraphicsEffectSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGraphicsEffectSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -83,7 +83,7 @@ impl ::core::fmt::Debug for IGraphicsEffectSource { } } impl ::windows::core::RuntimeType for IGraphicsEffectSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2d8f9ddc-4339-4eb9-9216-f9deb75658a2}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2d8f9ddc-4339-4eb9-9216-f9deb75658a2}"); } unsafe impl ::windows::core::Vtable for IGraphicsEffectSource { type Vtable = IGraphicsEffectSource_Vtbl; diff --git a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs index c24e9f2363..62cf432423 100644 --- a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs @@ -1242,7 +1242,7 @@ impl ::core::fmt::Debug for HolographicCamera { } } impl ::windows::core::RuntimeType for HolographicCamera { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCamera;{e4e98445-9bed-4980-9ba0-e87680d1cb74})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCamera;{e4e98445-9bed-4980-9ba0-e87680d1cb74})"); } impl ::core::clone::Clone for HolographicCamera { fn clone(&self) -> Self { @@ -1258,7 +1258,7 @@ unsafe impl ::windows::core::Interface for HolographicCamera { impl ::windows::core::RuntimeName for HolographicCamera { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicCamera"; } -::windows::core::interface_hierarchy!(HolographicCamera, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicCamera, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicCamera {} unsafe impl ::core::marker::Sync for HolographicCamera {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -1362,7 +1362,7 @@ impl ::core::fmt::Debug for HolographicCameraPose { } } impl ::windows::core::RuntimeType for HolographicCameraPose { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraPose;{0d7d7e30-12de-45bd-912b-c7f6561599d1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraPose;{0d7d7e30-12de-45bd-912b-c7f6561599d1})"); } impl ::core::clone::Clone for HolographicCameraPose { fn clone(&self) -> Self { @@ -1378,7 +1378,7 @@ unsafe impl ::windows::core::Interface for HolographicCameraPose { impl ::windows::core::RuntimeName for HolographicCameraPose { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicCameraPose"; } -::windows::core::interface_hierarchy!(HolographicCameraPose, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicCameraPose, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicCameraPose {} unsafe impl ::core::marker::Sync for HolographicCameraPose {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -1477,7 +1477,7 @@ impl ::core::fmt::Debug for HolographicCameraRenderingParameters { } } impl ::windows::core::RuntimeType for HolographicCameraRenderingParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraRenderingParameters;{8eac2ed1-5bf4-4e16-8236-ae0800c11d0d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraRenderingParameters;{8eac2ed1-5bf4-4e16-8236-ae0800c11d0d})"); } impl ::core::clone::Clone for HolographicCameraRenderingParameters { fn clone(&self) -> Self { @@ -1493,7 +1493,7 @@ unsafe impl ::windows::core::Interface for HolographicCameraRenderingParameters impl ::windows::core::RuntimeName for HolographicCameraRenderingParameters { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicCameraRenderingParameters"; } -::windows::core::interface_hierarchy!(HolographicCameraRenderingParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicCameraRenderingParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicCameraRenderingParameters {} unsafe impl ::core::marker::Sync for HolographicCameraRenderingParameters {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -1531,7 +1531,7 @@ impl ::core::fmt::Debug for HolographicCameraViewportParameters { } } impl ::windows::core::RuntimeType for HolographicCameraViewportParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraViewportParameters;{80cdf3f7-842a-41e1-93ed-5692ab1fbb10})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraViewportParameters;{80cdf3f7-842a-41e1-93ed-5692ab1fbb10})"); } impl ::core::clone::Clone for HolographicCameraViewportParameters { fn clone(&self) -> Self { @@ -1547,7 +1547,7 @@ unsafe impl ::windows::core::Interface for HolographicCameraViewportParameters { impl ::windows::core::RuntimeName for HolographicCameraViewportParameters { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicCameraViewportParameters"; } -::windows::core::interface_hierarchy!(HolographicCameraViewportParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicCameraViewportParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicCameraViewportParameters {} unsafe impl ::core::marker::Sync for HolographicCameraViewportParameters {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -1622,7 +1622,7 @@ impl HolographicDisplay { } #[doc(hidden)] pub fn IHolographicDisplayStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1638,7 +1638,7 @@ impl ::core::fmt::Debug for HolographicDisplay { } } impl ::windows::core::RuntimeType for HolographicDisplay { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicDisplay;{9acea414-1d9f-4090-a388-90c06f6eae9c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicDisplay;{9acea414-1d9f-4090-a388-90c06f6eae9c})"); } impl ::core::clone::Clone for HolographicDisplay { fn clone(&self) -> Self { @@ -1654,7 +1654,7 @@ unsafe impl ::windows::core::Interface for HolographicDisplay { impl ::windows::core::RuntimeName for HolographicDisplay { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicDisplay"; } -::windows::core::interface_hierarchy!(HolographicDisplay, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicDisplay, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicDisplay {} unsafe impl ::core::marker::Sync for HolographicDisplay {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -1751,7 +1751,7 @@ impl ::core::fmt::Debug for HolographicFrame { } } impl ::windows::core::RuntimeType for HolographicFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrame;{c6988eb6-a8b9-3054-a6eb-d624b6536375})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrame;{c6988eb6-a8b9-3054-a6eb-d624b6536375})"); } impl ::core::clone::Clone for HolographicFrame { fn clone(&self) -> Self { @@ -1767,7 +1767,7 @@ unsafe impl ::windows::core::Interface for HolographicFrame { impl ::windows::core::RuntimeName for HolographicFrame { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicFrame"; } -::windows::core::interface_hierarchy!(HolographicFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicFrame {} unsafe impl ::core::marker::Sync for HolographicFrame {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -1805,7 +1805,7 @@ impl ::core::fmt::Debug for HolographicFramePrediction { } } impl ::windows::core::RuntimeType for HolographicFramePrediction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePrediction;{520f4de1-5c0a-4e79-a81e-6abe02bb2739})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePrediction;{520f4de1-5c0a-4e79-a81e-6abe02bb2739})"); } impl ::core::clone::Clone for HolographicFramePrediction { fn clone(&self) -> Self { @@ -1821,7 +1821,7 @@ unsafe impl ::windows::core::Interface for HolographicFramePrediction { impl ::windows::core::RuntimeName for HolographicFramePrediction { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicFramePrediction"; } -::windows::core::interface_hierarchy!(HolographicFramePrediction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicFramePrediction, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicFramePrediction {} unsafe impl ::core::marker::Sync for HolographicFramePrediction {} #[doc = "*Required features: `\"Graphics_Holographic\"`, `\"deprecated\"`*"] @@ -1862,7 +1862,7 @@ impl ::core::fmt::Debug for HolographicFramePresentationMonitor { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for HolographicFramePresentationMonitor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePresentationMonitor;{ca87256c-6fae-428e-bb83-25dfee51136b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePresentationMonitor;{ca87256c-6fae-428e-bb83-25dfee51136b})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for HolographicFramePresentationMonitor { @@ -1883,7 +1883,7 @@ impl ::windows::core::RuntimeName for HolographicFramePresentationMonitor { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicFramePresentationMonitor"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(HolographicFramePresentationMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicFramePresentationMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1978,7 +1978,7 @@ impl ::core::fmt::Debug for HolographicFramePresentationReport { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for HolographicFramePresentationReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePresentationReport;{80baf614-f2f4-4c8a-8de3-065c78f6d5de})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePresentationReport;{80baf614-f2f4-4c8a-8de3-065c78f6d5de})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for HolographicFramePresentationReport { @@ -1999,7 +1999,7 @@ impl ::windows::core::RuntimeName for HolographicFramePresentationReport { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicFramePresentationReport"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(HolographicFramePresentationReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicFramePresentationReport, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for HolographicFramePresentationReport {} #[cfg(feature = "deprecated")] @@ -2062,7 +2062,7 @@ impl ::core::fmt::Debug for HolographicFrameRenderingReport { } } impl ::windows::core::RuntimeType for HolographicFrameRenderingReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameRenderingReport;{05f32de4-e384-51b3-b934-f0d3a0f78606})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameRenderingReport;{05f32de4-e384-51b3-b934-f0d3a0f78606})"); } impl ::core::clone::Clone for HolographicFrameRenderingReport { fn clone(&self) -> Self { @@ -2078,7 +2078,7 @@ unsafe impl ::windows::core::Interface for HolographicFrameRenderingReport { impl ::windows::core::RuntimeName for HolographicFrameRenderingReport { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicFrameRenderingReport"; } -::windows::core::interface_hierarchy!(HolographicFrameRenderingReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicFrameRenderingReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicFrameRenderingReport {} unsafe impl ::core::marker::Sync for HolographicFrameRenderingReport {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -2113,7 +2113,7 @@ impl ::core::fmt::Debug for HolographicFrameScanoutMonitor { } } impl ::windows::core::RuntimeType for HolographicFrameScanoutMonitor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameScanoutMonitor;{7e83efa9-843c-5401-8095-9bc1b8b08638})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameScanoutMonitor;{7e83efa9-843c-5401-8095-9bc1b8b08638})"); } impl ::core::clone::Clone for HolographicFrameScanoutMonitor { fn clone(&self) -> Self { @@ -2129,7 +2129,7 @@ unsafe impl ::windows::core::Interface for HolographicFrameScanoutMonitor { impl ::windows::core::RuntimeName for HolographicFrameScanoutMonitor { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicFrameScanoutMonitor"; } -::windows::core::interface_hierarchy!(HolographicFrameScanoutMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicFrameScanoutMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2212,7 +2212,7 @@ impl ::core::fmt::Debug for HolographicFrameScanoutReport { } } impl ::windows::core::RuntimeType for HolographicFrameScanoutReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameScanoutReport;{0ebbe606-03a0-5ca0-b46e-bba068d7233f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameScanoutReport;{0ebbe606-03a0-5ca0-b46e-bba068d7233f})"); } impl ::core::clone::Clone for HolographicFrameScanoutReport { fn clone(&self) -> Self { @@ -2228,7 +2228,7 @@ unsafe impl ::windows::core::Interface for HolographicFrameScanoutReport { impl ::windows::core::RuntimeName for HolographicFrameScanoutReport { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicFrameScanoutReport"; } -::windows::core::interface_hierarchy!(HolographicFrameScanoutReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicFrameScanoutReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicFrameScanoutReport {} unsafe impl ::core::marker::Sync for HolographicFrameScanoutReport {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -2277,7 +2277,7 @@ impl HolographicQuadLayer { } #[doc(hidden)] pub fn IHolographicQuadLayerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2293,7 +2293,7 @@ impl ::core::fmt::Debug for HolographicQuadLayer { } } impl ::windows::core::RuntimeType for HolographicQuadLayer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicQuadLayer;{903460c9-c9d9-5d5c-41ac-a2d5ab0fd331})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicQuadLayer;{903460c9-c9d9-5d5c-41ac-a2d5ab0fd331})"); } impl ::core::clone::Clone for HolographicQuadLayer { fn clone(&self) -> Self { @@ -2309,7 +2309,7 @@ unsafe impl ::windows::core::Interface for HolographicQuadLayer { impl ::windows::core::RuntimeName for HolographicQuadLayer { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicQuadLayer"; } -::windows::core::interface_hierarchy!(HolographicQuadLayer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicQuadLayer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2404,7 +2404,7 @@ impl ::core::fmt::Debug for HolographicQuadLayerUpdateParameters { } } impl ::windows::core::RuntimeType for HolographicQuadLayerUpdateParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters;{2b0ea3b0-798d-5bca-55c2-2c0c762ebb08})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters;{2b0ea3b0-798d-5bca-55c2-2c0c762ebb08})"); } impl ::core::clone::Clone for HolographicQuadLayerUpdateParameters { fn clone(&self) -> Self { @@ -2420,7 +2420,7 @@ unsafe impl ::windows::core::Interface for HolographicQuadLayerUpdateParameters impl ::windows::core::RuntimeName for HolographicQuadLayerUpdateParameters { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters"; } -::windows::core::interface_hierarchy!(HolographicQuadLayerUpdateParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicQuadLayerUpdateParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicQuadLayerUpdateParameters {} unsafe impl ::core::marker::Sync for HolographicQuadLayerUpdateParameters {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -2570,17 +2570,17 @@ impl HolographicSpace { } #[doc(hidden)] pub fn IHolographicSpaceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHolographicSpaceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHolographicSpaceStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2596,7 +2596,7 @@ impl ::core::fmt::Debug for HolographicSpace { } } impl ::windows::core::RuntimeType for HolographicSpace { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpace;{4380dba6-5e78-434f-807c-3433d1efe8b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpace;{4380dba6-5e78-434f-807c-3433d1efe8b7})"); } impl ::core::clone::Clone for HolographicSpace { fn clone(&self) -> Self { @@ -2612,7 +2612,7 @@ unsafe impl ::windows::core::Interface for HolographicSpace { impl ::windows::core::RuntimeName for HolographicSpace { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicSpace"; } -::windows::core::interface_hierarchy!(HolographicSpace, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicSpace, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicSpace {} unsafe impl ::core::marker::Sync for HolographicSpace {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -2648,7 +2648,7 @@ impl ::core::fmt::Debug for HolographicSpaceCameraAddedEventArgs { } } impl ::windows::core::RuntimeType for HolographicSpaceCameraAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpaceCameraAddedEventArgs;{58f1da35-bbb3-3c8f-993d-6c80e7feb99f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpaceCameraAddedEventArgs;{58f1da35-bbb3-3c8f-993d-6c80e7feb99f})"); } impl ::core::clone::Clone for HolographicSpaceCameraAddedEventArgs { fn clone(&self) -> Self { @@ -2664,7 +2664,7 @@ unsafe impl ::windows::core::Interface for HolographicSpaceCameraAddedEventArgs impl ::windows::core::RuntimeName for HolographicSpaceCameraAddedEventArgs { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicSpaceCameraAddedEventArgs"; } -::windows::core::interface_hierarchy!(HolographicSpaceCameraAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicSpaceCameraAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicSpaceCameraAddedEventArgs {} unsafe impl ::core::marker::Sync for HolographicSpaceCameraAddedEventArgs {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -2691,7 +2691,7 @@ impl ::core::fmt::Debug for HolographicSpaceCameraRemovedEventArgs { } } impl ::windows::core::RuntimeType for HolographicSpaceCameraRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpaceCameraRemovedEventArgs;{805444a8-f2ae-322e-8da9-836a0a95a4c1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpaceCameraRemovedEventArgs;{805444a8-f2ae-322e-8da9-836a0a95a4c1})"); } impl ::core::clone::Clone for HolographicSpaceCameraRemovedEventArgs { fn clone(&self) -> Self { @@ -2707,7 +2707,7 @@ unsafe impl ::windows::core::Interface for HolographicSpaceCameraRemovedEventArg impl ::windows::core::RuntimeName for HolographicSpaceCameraRemovedEventArgs { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicSpaceCameraRemovedEventArgs"; } -::windows::core::interface_hierarchy!(HolographicSpaceCameraRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicSpaceCameraRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicSpaceCameraRemovedEventArgs {} unsafe impl ::core::marker::Sync for HolographicSpaceCameraRemovedEventArgs {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -2826,7 +2826,7 @@ impl ::core::fmt::Debug for HolographicViewConfiguration { } } impl ::windows::core::RuntimeType for HolographicViewConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicViewConfiguration;{5c1de6e6-67e9-5004-b02c-67a3a122b576})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicViewConfiguration;{5c1de6e6-67e9-5004-b02c-67a3a122b576})"); } impl ::core::clone::Clone for HolographicViewConfiguration { fn clone(&self) -> Self { @@ -2842,7 +2842,7 @@ unsafe impl ::windows::core::Interface for HolographicViewConfiguration { impl ::windows::core::RuntimeName for HolographicViewConfiguration { const NAME: &'static str = "Windows.Graphics.Holographic.HolographicViewConfiguration"; } -::windows::core::interface_hierarchy!(HolographicViewConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HolographicViewConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HolographicViewConfiguration {} unsafe impl ::core::marker::Sync for HolographicViewConfiguration {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -2873,7 +2873,7 @@ impl ::core::fmt::Debug for HolographicDepthReprojectionMethod { } } impl ::windows::core::RuntimeType for HolographicDepthReprojectionMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicDepthReprojectionMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicDepthReprojectionMethod;i4)"); } #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] @@ -2903,7 +2903,7 @@ impl ::core::fmt::Debug for HolographicFramePresentResult { } } impl ::windows::core::RuntimeType for HolographicFramePresentResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicFramePresentResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicFramePresentResult;i4)"); } #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] @@ -2933,7 +2933,7 @@ impl ::core::fmt::Debug for HolographicFramePresentWaitBehavior { } } impl ::windows::core::RuntimeType for HolographicFramePresentWaitBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicFramePresentWaitBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicFramePresentWaitBehavior;i4)"); } #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] @@ -2964,7 +2964,7 @@ impl ::core::fmt::Debug for HolographicReprojectionMode { } } impl ::windows::core::RuntimeType for HolographicReprojectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicReprojectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicReprojectionMode;i4)"); } #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] @@ -2995,7 +2995,7 @@ impl ::core::fmt::Debug for HolographicSpaceUserPresence { } } impl ::windows::core::RuntimeType for HolographicSpaceUserPresence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicSpaceUserPresence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicSpaceUserPresence;i4)"); } #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] @@ -3025,7 +3025,7 @@ impl ::core::fmt::Debug for HolographicViewConfigurationKind { } } impl ::windows::core::RuntimeType for HolographicViewConfigurationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicViewConfigurationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Holographic.HolographicViewConfigurationKind;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Graphics_Holographic\"`*"] @@ -3048,7 +3048,7 @@ impl ::windows::core::TypeKind for HolographicAdapterId { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for HolographicAdapterId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Holographic.HolographicAdapterId;u4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Holographic.HolographicAdapterId;u4;i4)"); } impl ::core::cmp::PartialEq for HolographicAdapterId { fn eq(&self, other: &Self) -> bool { @@ -3081,7 +3081,7 @@ impl ::windows::core::TypeKind for HolographicFrameId { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for HolographicFrameId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Holographic.HolographicFrameId;u8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Holographic.HolographicFrameId;u8)"); } impl ::core::cmp::PartialEq for HolographicFrameId { fn eq(&self, other: &Self) -> bool { @@ -3121,7 +3121,7 @@ impl ::windows::core::TypeKind for HolographicStereoTransform { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for HolographicStereoTransform { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Holographic.HolographicStereoTransform;struct(Windows.Foundation.Numerics.Matrix4x4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4);struct(Windows.Foundation.Numerics.Matrix4x4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Holographic.HolographicStereoTransform;struct(Windows.Foundation.Numerics.Matrix4x4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4);struct(Windows.Foundation.Numerics.Matrix4x4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4))"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for HolographicStereoTransform { diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index 152c2daedf..44083435ec 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -359,7 +359,7 @@ impl IBitmapFrame { } } } -::windows::core::interface_hierarchy!(IBitmapFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBitmapFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBitmapFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -372,7 +372,7 @@ impl ::core::fmt::Debug for IBitmapFrame { } } impl ::windows::core::RuntimeType for IBitmapFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{72a49a1c-8081-438d-91bc-94ecfc8185c6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{72a49a1c-8081-438d-91bc-94ecfc8185c6}"); } unsafe impl ::windows::core::Vtable for IBitmapFrame { type Vtable = IBitmapFrame_Vtbl; @@ -533,7 +533,7 @@ impl IBitmapFrameWithSoftwareBitmap { } } } -::windows::core::interface_hierarchy!(IBitmapFrameWithSoftwareBitmap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBitmapFrameWithSoftwareBitmap, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBitmapFrame { type Error = ::windows::core::Error; fn try_from(value: IBitmapFrameWithSoftwareBitmap) -> ::windows::core::Result { @@ -565,7 +565,7 @@ impl ::core::fmt::Debug for IBitmapFrameWithSoftwareBitmap { } } impl ::windows::core::RuntimeType for IBitmapFrameWithSoftwareBitmap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fe287c9a-420c-4963-87ad-691436e08383}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fe287c9a-420c-4963-87ad-691436e08383}"); } unsafe impl ::windows::core::Vtable for IBitmapFrameWithSoftwareBitmap { type Vtable = IBitmapFrameWithSoftwareBitmap_Vtbl; @@ -636,7 +636,7 @@ impl IBitmapPropertiesView { } } } -::windows::core::interface_hierarchy!(IBitmapPropertiesView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBitmapPropertiesView, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBitmapPropertiesView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -649,7 +649,7 @@ impl ::core::fmt::Debug for IBitmapPropertiesView { } } impl ::windows::core::RuntimeType for IBitmapPropertiesView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{7e0fe87a-3a70-48f8-9c55-196cf5a545f5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{7e0fe87a-3a70-48f8-9c55-196cf5a545f5}"); } unsafe impl ::windows::core::Vtable for IBitmapPropertiesView { type Vtable = IBitmapPropertiesView_Vtbl; @@ -913,7 +913,7 @@ impl ::core::fmt::Debug for BitmapBuffer { } } impl ::windows::core::RuntimeType for BitmapBuffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapBuffer;{a53e04c4-399c-438c-b28f-a63a6b83d1a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapBuffer;{a53e04c4-399c-438c-b28f-a63a6b83d1a1})"); } impl ::core::clone::Clone for BitmapBuffer { fn clone(&self) -> Self { @@ -929,7 +929,7 @@ unsafe impl ::windows::core::Interface for BitmapBuffer { impl ::windows::core::RuntimeName for BitmapBuffer { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapBuffer"; } -::windows::core::interface_hierarchy!(BitmapBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1025,7 +1025,7 @@ impl ::core::fmt::Debug for BitmapCodecInformation { } } impl ::windows::core::RuntimeType for BitmapCodecInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapCodecInformation;{400caaf2-c4b0-4392-a3b0-6f6f9ba95cb4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapCodecInformation;{400caaf2-c4b0-4392-a3b0-6f6f9ba95cb4})"); } impl ::core::clone::Clone for BitmapCodecInformation { fn clone(&self) -> Self { @@ -1041,7 +1041,7 @@ unsafe impl ::windows::core::Interface for BitmapCodecInformation { impl ::windows::core::RuntimeName for BitmapCodecInformation { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapCodecInformation"; } -::windows::core::interface_hierarchy!(BitmapCodecInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapCodecInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BitmapCodecInformation {} unsafe impl ::core::marker::Sync for BitmapCodecInformation {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -1292,12 +1292,12 @@ impl BitmapDecoder { } #[doc(hidden)] pub fn IBitmapDecoderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBitmapDecoderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1313,7 +1313,7 @@ impl ::core::fmt::Debug for BitmapDecoder { } } impl ::windows::core::RuntimeType for BitmapDecoder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapDecoder;{acef22ba-1d74-4c91-9dfc-9620745233e6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapDecoder;{acef22ba-1d74-4c91-9dfc-9620745233e6})"); } impl ::core::clone::Clone for BitmapDecoder { fn clone(&self) -> Self { @@ -1329,7 +1329,7 @@ unsafe impl ::windows::core::Interface for BitmapDecoder { impl ::windows::core::RuntimeName for BitmapDecoder { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapDecoder"; } -::windows::core::interface_hierarchy!(BitmapDecoder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapDecoder, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBitmapFrame { type Error = ::windows::core::Error; fn try_from(value: BitmapDecoder) -> ::windows::core::Result { @@ -1572,12 +1572,12 @@ impl BitmapEncoder { } #[doc(hidden)] pub fn IBitmapEncoderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBitmapEncoderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1593,7 +1593,7 @@ impl ::core::fmt::Debug for BitmapEncoder { } } impl ::windows::core::RuntimeType for BitmapEncoder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapEncoder;{2bc468e3-e1f8-4b54-95e8-32919551ce62})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapEncoder;{2bc468e3-e1f8-4b54-95e8-32919551ce62})"); } impl ::core::clone::Clone for BitmapEncoder { fn clone(&self) -> Self { @@ -1609,7 +1609,7 @@ unsafe impl ::windows::core::Interface for BitmapEncoder { impl ::windows::core::RuntimeName for BitmapEncoder { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapEncoder"; } -::windows::core::interface_hierarchy!(BitmapEncoder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapEncoder, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BitmapEncoder {} unsafe impl ::core::marker::Sync for BitmapEncoder {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -1746,7 +1746,7 @@ impl ::core::fmt::Debug for BitmapFrame { } } impl ::windows::core::RuntimeType for BitmapFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapFrame;{72a49a1c-8081-438d-91bc-94ecfc8185c6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapFrame;{72a49a1c-8081-438d-91bc-94ecfc8185c6})"); } impl ::core::clone::Clone for BitmapFrame { fn clone(&self) -> Self { @@ -1762,7 +1762,7 @@ unsafe impl ::windows::core::Interface for BitmapFrame { impl ::windows::core::RuntimeName for BitmapFrame { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapFrame"; } -::windows::core::interface_hierarchy!(BitmapFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBitmapFrame { type Error = ::windows::core::Error; fn try_from(value: BitmapFrame) -> ::windows::core::Result { @@ -1846,7 +1846,7 @@ impl ::core::fmt::Debug for BitmapProperties { } } impl ::windows::core::RuntimeType for BitmapProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapProperties;{ea9f4f1b-b505-4450-a4d1-e8ca94529d8d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapProperties;{ea9f4f1b-b505-4450-a4d1-e8ca94529d8d})"); } impl ::core::clone::Clone for BitmapProperties { fn clone(&self) -> Self { @@ -1862,7 +1862,7 @@ unsafe impl ::windows::core::Interface for BitmapProperties { impl ::windows::core::RuntimeName for BitmapProperties { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapProperties"; } -::windows::core::interface_hierarchy!(BitmapProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBitmapPropertiesView { type Error = ::windows::core::Error; fn try_from(value: BitmapProperties) -> ::windows::core::Result { @@ -1914,7 +1914,7 @@ impl ::core::fmt::Debug for BitmapPropertiesView { } } impl ::windows::core::RuntimeType for BitmapPropertiesView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapPropertiesView;{7e0fe87a-3a70-48f8-9c55-196cf5a545f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapPropertiesView;{7e0fe87a-3a70-48f8-9c55-196cf5a545f5})"); } impl ::core::clone::Clone for BitmapPropertiesView { fn clone(&self) -> Self { @@ -1930,7 +1930,7 @@ unsafe impl ::windows::core::Interface for BitmapPropertiesView { impl ::windows::core::RuntimeName for BitmapPropertiesView { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapPropertiesView"; } -::windows::core::interface_hierarchy!(BitmapPropertiesView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapPropertiesView, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBitmapPropertiesView { type Error = ::windows::core::Error; fn try_from(value: BitmapPropertiesView) -> ::windows::core::Result { @@ -1961,8 +1961,8 @@ impl BitmapPropertySet { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2048,7 +2048,7 @@ impl ::core::fmt::Debug for BitmapPropertySet { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for BitmapPropertySet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapPropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;rc(Windows.Graphics.Imaging.BitmapTypedValue;{cd8044a9-2443-4000-b0cd-79316c56f589})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapPropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;rc(Windows.Graphics.Imaging.BitmapTypedValue;{cd8044a9-2443-4000-b0cd-79316c56f589})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for BitmapPropertySet { @@ -2085,7 +2085,7 @@ impl ::core::iter::IntoIterator for &BitmapPropertySet { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(BitmapPropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapPropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -2141,8 +2141,8 @@ impl BitmapTransform { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ScaledWidth(&self) -> ::windows::core::Result { @@ -2224,7 +2224,7 @@ impl ::core::fmt::Debug for BitmapTransform { } } impl ::windows::core::RuntimeType for BitmapTransform { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapTransform;{ae755344-e268-4d35-adcf-e995d31a8d34})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapTransform;{ae755344-e268-4d35-adcf-e995d31a8d34})"); } impl ::core::clone::Clone for BitmapTransform { fn clone(&self) -> Self { @@ -2240,7 +2240,7 @@ unsafe impl ::windows::core::Interface for BitmapTransform { impl ::windows::core::RuntimeName for BitmapTransform { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapTransform"; } -::windows::core::interface_hierarchy!(BitmapTransform, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapTransform, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BitmapTransform {} unsafe impl ::core::marker::Sync for BitmapTransform {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -2276,7 +2276,7 @@ impl BitmapTypedValue { } #[doc(hidden)] pub fn IBitmapTypedValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2292,7 +2292,7 @@ impl ::core::fmt::Debug for BitmapTypedValue { } } impl ::windows::core::RuntimeType for BitmapTypedValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapTypedValue;{cd8044a9-2443-4000-b0cd-79316c56f589})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapTypedValue;{cd8044a9-2443-4000-b0cd-79316c56f589})"); } impl ::core::clone::Clone for BitmapTypedValue { fn clone(&self) -> Self { @@ -2308,7 +2308,7 @@ unsafe impl ::windows::core::Interface for BitmapTypedValue { impl ::windows::core::RuntimeName for BitmapTypedValue { const NAME: &'static str = "Windows.Graphics.Imaging.BitmapTypedValue"; } -::windows::core::interface_hierarchy!(BitmapTypedValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BitmapTypedValue, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BitmapTypedValue {} unsafe impl ::core::marker::Sync for BitmapTypedValue {} #[doc = "*Required features: `\"Graphics_Imaging\"`, `\"Storage_Streams\"`*"] @@ -2459,7 +2459,7 @@ impl ::core::fmt::Debug for ImageStream { } #[cfg(feature = "Storage_Streams")] impl ::windows::core::RuntimeType for ImageStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.ImageStream;{cc254827-4b3d-438f-9232-10c76bc7e038})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.ImageStream;{cc254827-4b3d-438f-9232-10c76bc7e038})"); } #[cfg(feature = "Storage_Streams")] impl ::core::clone::Clone for ImageStream { @@ -2480,7 +2480,7 @@ impl ::windows::core::RuntimeName for ImageStream { const NAME: &'static str = "Windows.Graphics.Imaging.ImageStream"; } #[cfg(feature = "Storage_Streams")] -::windows::core::interface_hierarchy!(ImageStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2641,7 +2641,7 @@ impl ::core::fmt::Debug for PixelDataProvider { } } impl ::windows::core::RuntimeType for PixelDataProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.PixelDataProvider;{dd831f25-185c-4595-9fb9-ccbe6ec18a6f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.PixelDataProvider;{dd831f25-185c-4595-9fb9-ccbe6ec18a6f})"); } impl ::core::clone::Clone for PixelDataProvider { fn clone(&self) -> Self { @@ -2657,7 +2657,7 @@ unsafe impl ::windows::core::Interface for PixelDataProvider { impl ::windows::core::RuntimeName for PixelDataProvider { const NAME: &'static str = "Windows.Graphics.Imaging.PixelDataProvider"; } -::windows::core::interface_hierarchy!(PixelDataProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PixelDataProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PixelDataProvider {} unsafe impl ::core::marker::Sync for PixelDataProvider {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -2845,12 +2845,12 @@ impl SoftwareBitmap { } #[doc(hidden)] pub fn ISoftwareBitmapFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISoftwareBitmapStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2866,7 +2866,7 @@ impl ::core::fmt::Debug for SoftwareBitmap { } } impl ::windows::core::RuntimeType for SoftwareBitmap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.SoftwareBitmap;{689e0708-7eef-483f-963f-da938818e073})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.SoftwareBitmap;{689e0708-7eef-483f-963f-da938818e073})"); } impl ::core::clone::Clone for SoftwareBitmap { fn clone(&self) -> Self { @@ -2882,7 +2882,7 @@ unsafe impl ::windows::core::Interface for SoftwareBitmap { impl ::windows::core::RuntimeName for SoftwareBitmap { const NAME: &'static str = "Windows.Graphics.Imaging.SoftwareBitmap"; } -::windows::core::interface_hierarchy!(SoftwareBitmap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SoftwareBitmap, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2936,7 +2936,7 @@ impl ::core::fmt::Debug for BitmapAlphaMode { } } impl ::windows::core::RuntimeType for BitmapAlphaMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapAlphaMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapAlphaMode;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -2967,7 +2967,7 @@ impl ::core::fmt::Debug for BitmapBufferAccessMode { } } impl ::windows::core::RuntimeType for BitmapBufferAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapBufferAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapBufferAccessMode;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -2998,7 +2998,7 @@ impl ::core::fmt::Debug for BitmapFlip { } } impl ::windows::core::RuntimeType for BitmapFlip { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapFlip;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapFlip;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -3030,7 +3030,7 @@ impl ::core::fmt::Debug for BitmapInterpolationMode { } } impl ::windows::core::RuntimeType for BitmapInterpolationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapInterpolationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapInterpolationMode;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -3067,7 +3067,7 @@ impl ::core::fmt::Debug for BitmapPixelFormat { } } impl ::windows::core::RuntimeType for BitmapPixelFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapPixelFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapPixelFormat;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -3099,7 +3099,7 @@ impl ::core::fmt::Debug for BitmapRotation { } } impl ::windows::core::RuntimeType for BitmapRotation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapRotation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.BitmapRotation;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -3129,7 +3129,7 @@ impl ::core::fmt::Debug for ColorManagementMode { } } impl ::windows::core::RuntimeType for ColorManagementMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.ColorManagementMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.ColorManagementMode;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -3159,7 +3159,7 @@ impl ::core::fmt::Debug for ExifOrientationMode { } } impl ::windows::core::RuntimeType for ExifOrientationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.ExifOrientationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.ExifOrientationMode;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -3191,7 +3191,7 @@ impl ::core::fmt::Debug for JpegSubsamplingMode { } } impl ::windows::core::RuntimeType for JpegSubsamplingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.JpegSubsamplingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.JpegSubsamplingMode;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -3226,7 +3226,7 @@ impl ::core::fmt::Debug for PngFilterMode { } } impl ::windows::core::RuntimeType for PngFilterMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.PngFilterMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.PngFilterMode;i4)"); } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] @@ -3262,7 +3262,7 @@ impl ::core::fmt::Debug for TiffCompressionMode { } } impl ::windows::core::RuntimeType for TiffCompressionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.TiffCompressionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Imaging.TiffCompressionMode;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -3287,7 +3287,7 @@ impl ::windows::core::TypeKind for BitmapBounds { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for BitmapBounds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Imaging.BitmapBounds;u4;u4;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Imaging.BitmapBounds;u4;u4;u4;u4)"); } impl ::core::cmp::PartialEq for BitmapBounds { fn eq(&self, other: &Self) -> bool { @@ -3323,7 +3323,7 @@ impl ::windows::core::TypeKind for BitmapPlaneDescription { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for BitmapPlaneDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Imaging.BitmapPlaneDescription;i4;i4;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Imaging.BitmapPlaneDescription;i4;i4;i4;i4)"); } impl ::core::cmp::PartialEq for BitmapPlaneDescription { fn eq(&self, other: &Self) -> bool { @@ -3357,7 +3357,7 @@ impl ::windows::core::TypeKind for BitmapSize { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for BitmapSize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Imaging.BitmapSize;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Imaging.BitmapSize;u4;u4)"); } impl ::core::cmp::PartialEq for BitmapSize { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs index 6d4fd11600..ed508a7781 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs @@ -270,7 +270,7 @@ impl IPrintCustomOptionDetails { } } } -::windows::core::interface_hierarchy!(IPrintCustomOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintCustomOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintOptionDetails { type Error = ::windows::core::Error; fn try_from(value: IPrintCustomOptionDetails) -> ::windows::core::Result { @@ -302,7 +302,7 @@ impl ::core::fmt::Debug for IPrintCustomOptionDetails { } } impl ::windows::core::RuntimeType for IPrintCustomOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e32bde1c-28af-4b90-95da-a3acf320b929}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e32bde1c-28af-4b90-95da-a3acf320b929}"); } unsafe impl ::windows::core::Vtable for IPrintCustomOptionDetails { type Vtable = IPrintCustomOptionDetails_Vtbl; @@ -502,7 +502,7 @@ impl IPrintItemListOptionDetails { } } } -::windows::core::interface_hierarchy!(IPrintItemListOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintItemListOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintOptionDetails { type Error = ::windows::core::Error; fn try_from(value: IPrintItemListOptionDetails) -> ::windows::core::Result { @@ -534,7 +534,7 @@ impl ::core::fmt::Debug for IPrintItemListOptionDetails { } } impl ::windows::core::RuntimeType for IPrintItemListOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9a2257bf-fe61-43d8-a24f-a3f6ab7320e7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9a2257bf-fe61-43d8-a24f-a3f6ab7320e7}"); } unsafe impl ::windows::core::Vtable for IPrintItemListOptionDetails { type Vtable = IPrintItemListOptionDetails_Vtbl; @@ -674,7 +674,7 @@ impl IPrintNumberOptionDetails { } } } -::windows::core::interface_hierarchy!(IPrintNumberOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintNumberOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintOptionDetails { type Error = ::windows::core::Error; fn try_from(value: IPrintNumberOptionDetails) -> ::windows::core::Result { @@ -706,7 +706,7 @@ impl ::core::fmt::Debug for IPrintNumberOptionDetails { } } impl ::windows::core::RuntimeType for IPrintNumberOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4d01bbaf-645c-4de9-965f-6fc6bbc47cab}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4d01bbaf-645c-4de9-965f-6fc6bbc47cab}"); } unsafe impl ::windows::core::Vtable for IPrintNumberOptionDetails { type Vtable = IPrintNumberOptionDetails_Vtbl; @@ -784,7 +784,7 @@ impl IPrintOptionDetails { } } } -::windows::core::interface_hierarchy!(IPrintOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPrintOptionDetails { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -797,7 +797,7 @@ impl ::core::fmt::Debug for IPrintOptionDetails { } } impl ::windows::core::RuntimeType for IPrintOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{390686cf-d682-495f-adfe-d7333f5c1808}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{390686cf-d682-495f-adfe-d7333f5c1808}"); } unsafe impl ::windows::core::Vtable for IPrintOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; @@ -1081,7 +1081,7 @@ impl IPrintTextOptionDetails { } } } -::windows::core::interface_hierarchy!(IPrintTextOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintTextOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintOptionDetails { type Error = ::windows::core::Error; fn try_from(value: IPrintTextOptionDetails) -> ::windows::core::Result { @@ -1113,7 +1113,7 @@ impl ::core::fmt::Debug for IPrintTextOptionDetails { } } impl ::windows::core::RuntimeType for IPrintTextOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ad75e563-5ce4-46bc-9918-ab9fad144c5b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ad75e563-5ce4-46bc-9918-ab9fad144c5b}"); } unsafe impl ::windows::core::Vtable for IPrintTextOptionDetails { type Vtable = IPrintTextOptionDetails_Vtbl; @@ -1233,7 +1233,7 @@ impl ::core::fmt::Debug for PrintBindingOptionDetails { } } impl ::windows::core::RuntimeType for PrintBindingOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintBindingOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintBindingOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintBindingOptionDetails { fn clone(&self) -> Self { @@ -1249,7 +1249,7 @@ unsafe impl ::windows::core::Interface for PrintBindingOptionDetails { impl ::windows::core::RuntimeName for PrintBindingOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintBindingOptionDetails"; } -::windows::core::interface_hierarchy!(PrintBindingOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintBindingOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintBindingOptionDetails) -> ::windows::core::Result { @@ -1391,7 +1391,7 @@ impl ::core::fmt::Debug for PrintBorderingOptionDetails { } } impl ::windows::core::RuntimeType for PrintBorderingOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintBorderingOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintBorderingOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintBorderingOptionDetails { fn clone(&self) -> Self { @@ -1407,7 +1407,7 @@ unsafe impl ::windows::core::Interface for PrintBorderingOptionDetails { impl ::windows::core::RuntimeName for PrintBorderingOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintBorderingOptionDetails"; } -::windows::core::interface_hierarchy!(PrintBorderingOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintBorderingOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintBorderingOptionDetails) -> ::windows::core::Result { @@ -1549,7 +1549,7 @@ impl ::core::fmt::Debug for PrintCollationOptionDetails { } } impl ::windows::core::RuntimeType for PrintCollationOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCollationOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCollationOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintCollationOptionDetails { fn clone(&self) -> Self { @@ -1565,7 +1565,7 @@ unsafe impl ::windows::core::Interface for PrintCollationOptionDetails { impl ::windows::core::RuntimeName for PrintCollationOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintCollationOptionDetails"; } -::windows::core::interface_hierarchy!(PrintCollationOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintCollationOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintCollationOptionDetails) -> ::windows::core::Result { @@ -1707,7 +1707,7 @@ impl ::core::fmt::Debug for PrintColorModeOptionDetails { } } impl ::windows::core::RuntimeType for PrintColorModeOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintColorModeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintColorModeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintColorModeOptionDetails { fn clone(&self) -> Self { @@ -1723,7 +1723,7 @@ unsafe impl ::windows::core::Interface for PrintColorModeOptionDetails { impl ::windows::core::RuntimeName for PrintColorModeOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintColorModeOptionDetails"; } -::windows::core::interface_hierarchy!(PrintColorModeOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintColorModeOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintColorModeOptionDetails) -> ::windows::core::Result { @@ -1870,7 +1870,7 @@ impl ::core::fmt::Debug for PrintCopiesOptionDetails { } } impl ::windows::core::RuntimeType for PrintCopiesOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCopiesOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCopiesOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintCopiesOptionDetails { fn clone(&self) -> Self { @@ -1886,7 +1886,7 @@ unsafe impl ::windows::core::Interface for PrintCopiesOptionDetails { impl ::windows::core::RuntimeName for PrintCopiesOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintCopiesOptionDetails"; } -::windows::core::interface_hierarchy!(PrintCopiesOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintCopiesOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintNumberOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintCopiesOptionDetails) -> ::windows::core::Result { @@ -1962,7 +1962,7 @@ impl ::core::fmt::Debug for PrintCustomItemDetails { } } impl ::windows::core::RuntimeType for PrintCustomItemDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomItemDetails;{5704b637-5c3a-449a-aa36-b3291b1192fd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomItemDetails;{5704b637-5c3a-449a-aa36-b3291b1192fd})"); } impl ::core::clone::Clone for PrintCustomItemDetails { fn clone(&self) -> Self { @@ -1978,7 +1978,7 @@ unsafe impl ::windows::core::Interface for PrintCustomItemDetails { impl ::windows::core::RuntimeName for PrintCustomItemDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintCustomItemDetails"; } -::windows::core::interface_hierarchy!(PrintCustomItemDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintCustomItemDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintCustomItemDetails {} unsafe impl ::core::marker::Sync for PrintCustomItemDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] @@ -2107,7 +2107,7 @@ impl ::core::fmt::Debug for PrintCustomItemListOptionDetails { } } impl ::windows::core::RuntimeType for PrintCustomItemListOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomItemListOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomItemListOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintCustomItemListOptionDetails { fn clone(&self) -> Self { @@ -2123,7 +2123,7 @@ unsafe impl ::windows::core::Interface for PrintCustomItemListOptionDetails { impl ::windows::core::RuntimeName for PrintCustomItemListOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintCustomItemListOptionDetails"; } -::windows::core::interface_hierarchy!(PrintCustomItemListOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintCustomItemListOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintCustomOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintCustomItemListOptionDetails) -> ::windows::core::Result { @@ -2297,7 +2297,7 @@ impl ::core::fmt::Debug for PrintCustomTextOptionDetails { } } impl ::windows::core::RuntimeType for PrintCustomTextOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomTextOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomTextOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintCustomTextOptionDetails { fn clone(&self) -> Self { @@ -2313,7 +2313,7 @@ unsafe impl ::windows::core::Interface for PrintCustomTextOptionDetails { impl ::windows::core::RuntimeName for PrintCustomTextOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintCustomTextOptionDetails"; } -::windows::core::interface_hierarchy!(PrintCustomTextOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintCustomTextOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintCustomOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintCustomTextOptionDetails) -> ::windows::core::Result { @@ -2457,7 +2457,7 @@ impl ::core::fmt::Debug for PrintCustomToggleOptionDetails { } } impl ::windows::core::RuntimeType for PrintCustomToggleOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomToggleOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomToggleOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintCustomToggleOptionDetails { fn clone(&self) -> Self { @@ -2473,7 +2473,7 @@ unsafe impl ::windows::core::Interface for PrintCustomToggleOptionDetails { impl ::windows::core::RuntimeName for PrintCustomToggleOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintCustomToggleOptionDetails"; } -::windows::core::interface_hierarchy!(PrintCustomToggleOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintCustomToggleOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintCustomOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintCustomToggleOptionDetails) -> ::windows::core::Result { @@ -2615,7 +2615,7 @@ impl ::core::fmt::Debug for PrintDuplexOptionDetails { } } impl ::windows::core::RuntimeType for PrintDuplexOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintDuplexOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintDuplexOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintDuplexOptionDetails { fn clone(&self) -> Self { @@ -2631,7 +2631,7 @@ unsafe impl ::windows::core::Interface for PrintDuplexOptionDetails { impl ::windows::core::RuntimeName for PrintDuplexOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintDuplexOptionDetails"; } -::windows::core::interface_hierarchy!(PrintDuplexOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintDuplexOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintDuplexOptionDetails) -> ::windows::core::Result { @@ -2773,7 +2773,7 @@ impl ::core::fmt::Debug for PrintHolePunchOptionDetails { } } impl ::windows::core::RuntimeType for PrintHolePunchOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintHolePunchOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintHolePunchOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintHolePunchOptionDetails { fn clone(&self) -> Self { @@ -2789,7 +2789,7 @@ unsafe impl ::windows::core::Interface for PrintHolePunchOptionDetails { impl ::windows::core::RuntimeName for PrintHolePunchOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintHolePunchOptionDetails"; } -::windows::core::interface_hierarchy!(PrintHolePunchOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintHolePunchOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintHolePunchOptionDetails) -> ::windows::core::Result { @@ -2931,7 +2931,7 @@ impl ::core::fmt::Debug for PrintMediaSizeOptionDetails { } } impl ::windows::core::RuntimeType for PrintMediaSizeOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintMediaSizeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintMediaSizeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintMediaSizeOptionDetails { fn clone(&self) -> Self { @@ -2947,7 +2947,7 @@ unsafe impl ::windows::core::Interface for PrintMediaSizeOptionDetails { impl ::windows::core::RuntimeName for PrintMediaSizeOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintMediaSizeOptionDetails"; } -::windows::core::interface_hierarchy!(PrintMediaSizeOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintMediaSizeOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintMediaSizeOptionDetails) -> ::windows::core::Result { @@ -3089,7 +3089,7 @@ impl ::core::fmt::Debug for PrintMediaTypeOptionDetails { } } impl ::windows::core::RuntimeType for PrintMediaTypeOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintMediaTypeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintMediaTypeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintMediaTypeOptionDetails { fn clone(&self) -> Self { @@ -3105,7 +3105,7 @@ unsafe impl ::windows::core::Interface for PrintMediaTypeOptionDetails { impl ::windows::core::RuntimeName for PrintMediaTypeOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintMediaTypeOptionDetails"; } -::windows::core::interface_hierarchy!(PrintMediaTypeOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintMediaTypeOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintMediaTypeOptionDetails) -> ::windows::core::Result { @@ -3247,7 +3247,7 @@ impl ::core::fmt::Debug for PrintOrientationOptionDetails { } } impl ::windows::core::RuntimeType for PrintOrientationOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintOrientationOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintOrientationOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintOrientationOptionDetails { fn clone(&self) -> Self { @@ -3263,7 +3263,7 @@ unsafe impl ::windows::core::Interface for PrintOrientationOptionDetails { impl ::windows::core::RuntimeName for PrintOrientationOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintOrientationOptionDetails"; } -::windows::core::interface_hierarchy!(PrintOrientationOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintOrientationOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintOrientationOptionDetails) -> ::windows::core::Result { @@ -3396,7 +3396,7 @@ impl ::core::fmt::Debug for PrintPageRangeOptionDetails { } } impl ::windows::core::RuntimeType for PrintPageRangeOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintPageRangeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintPageRangeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintPageRangeOptionDetails { fn clone(&self) -> Self { @@ -3412,7 +3412,7 @@ unsafe impl ::windows::core::Interface for PrintPageRangeOptionDetails { impl ::windows::core::RuntimeName for PrintPageRangeOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintPageRangeOptionDetails"; } -::windows::core::interface_hierarchy!(PrintPageRangeOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintPageRangeOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintPageRangeOptionDetails) -> ::windows::core::Result { @@ -3535,7 +3535,7 @@ impl ::core::fmt::Debug for PrintQualityOptionDetails { } } impl ::windows::core::RuntimeType for PrintQualityOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintQualityOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintQualityOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintQualityOptionDetails { fn clone(&self) -> Self { @@ -3551,7 +3551,7 @@ unsafe impl ::windows::core::Interface for PrintQualityOptionDetails { impl ::windows::core::RuntimeName for PrintQualityOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintQualityOptionDetails"; } -::windows::core::interface_hierarchy!(PrintQualityOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintQualityOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintQualityOptionDetails) -> ::windows::core::Result { @@ -3693,7 +3693,7 @@ impl ::core::fmt::Debug for PrintStapleOptionDetails { } } impl ::windows::core::RuntimeType for PrintStapleOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintStapleOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintStapleOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } impl ::core::clone::Clone for PrintStapleOptionDetails { fn clone(&self) -> Self { @@ -3709,7 +3709,7 @@ unsafe impl ::windows::core::Interface for PrintStapleOptionDetails { impl ::windows::core::RuntimeName for PrintStapleOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintStapleOptionDetails"; } -::windows::core::interface_hierarchy!(PrintStapleOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintStapleOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintItemListOptionDetails { type Error = ::windows::core::Error; fn try_from(value: PrintStapleOptionDetails) -> ::windows::core::Result { @@ -3774,7 +3774,7 @@ impl ::core::fmt::Debug for PrintTaskOptionChangedEventArgs { } } impl ::windows::core::RuntimeType for PrintTaskOptionChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintTaskOptionChangedEventArgs;{65197d05-a5ee-4307-9407-9acad147679c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintTaskOptionChangedEventArgs;{65197d05-a5ee-4307-9407-9acad147679c})"); } impl ::core::clone::Clone for PrintTaskOptionChangedEventArgs { fn clone(&self) -> Self { @@ -3790,7 +3790,7 @@ unsafe impl ::windows::core::Interface for PrintTaskOptionChangedEventArgs { impl ::windows::core::RuntimeName for PrintTaskOptionChangedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintTaskOptionChangedEventArgs"; } -::windows::core::interface_hierarchy!(PrintTaskOptionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskOptionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTaskOptionChangedEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskOptionChangedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] @@ -3883,7 +3883,7 @@ impl PrintTaskOptionDetails { } #[doc(hidden)] pub fn IPrintTaskOptionDetailsStatic ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3899,7 +3899,7 @@ impl ::core::fmt::Debug for PrintTaskOptionDetails { } } impl ::windows::core::RuntimeType for PrintTaskOptionDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintTaskOptionDetails;{f5720af1-a89e-42a6-81af-f8e010b38a68})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintTaskOptionDetails;{f5720af1-a89e-42a6-81af-f8e010b38a68})"); } impl ::core::clone::Clone for PrintTaskOptionDetails { fn clone(&self) -> Self { @@ -3915,7 +3915,7 @@ unsafe impl ::windows::core::Interface for PrintTaskOptionDetails { impl ::windows::core::RuntimeName for PrintTaskOptionDetails { const NAME: &'static str = "Windows.Graphics.Printing.OptionDetails.PrintTaskOptionDetails"; } -::windows::core::interface_hierarchy!(PrintTaskOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskOptionDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IPrintTaskOptionsCore { type Error = ::windows::core::Error; fn try_from(value: PrintTaskOptionDetails) -> ::windows::core::Result { @@ -4018,7 +4018,7 @@ impl ::core::ops::Not for PrintOptionStates { } } impl ::windows::core::RuntimeType for PrintOptionStates { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.OptionDetails.PrintOptionStates;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.OptionDetails.PrintOptionStates;u4)"); } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] @@ -4051,7 +4051,7 @@ impl ::core::fmt::Debug for PrintOptionType { } } impl ::windows::core::RuntimeType for PrintOptionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.OptionDetails.PrintOptionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.OptionDetails.PrintOptionType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs index 38f2ca978c..564879885a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs @@ -447,7 +447,7 @@ impl ::core::fmt::Debug for PrintSupportExtensionSession { } } impl ::windows::core::RuntimeType for PrintSupportExtensionSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionSession;{eea45f1a-f4c6-54b3-a0b8-a559839aa4c3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionSession;{eea45f1a-f4c6-54b3-a0b8-a559839aa4c3})"); } impl ::core::clone::Clone for PrintSupportExtensionSession { fn clone(&self) -> Self { @@ -463,7 +463,7 @@ unsafe impl ::windows::core::Interface for PrintSupportExtensionSession { impl ::windows::core::RuntimeName for PrintSupportExtensionSession { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionSession"; } -::windows::core::interface_hierarchy!(PrintSupportExtensionSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportExtensionSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportExtensionSession {} unsafe impl ::core::marker::Sync for PrintSupportExtensionSession {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -490,7 +490,7 @@ impl ::core::fmt::Debug for PrintSupportExtensionTriggerDetails { } } impl ::windows::core::RuntimeType for PrintSupportExtensionTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionTriggerDetails;{ae083711-9b09-55d1-a0ae-2a14c5f83d6a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionTriggerDetails;{ae083711-9b09-55d1-a0ae-2a14c5f83d6a})"); } impl ::core::clone::Clone for PrintSupportExtensionTriggerDetails { fn clone(&self) -> Self { @@ -506,7 +506,7 @@ unsafe impl ::windows::core::Interface for PrintSupportExtensionTriggerDetails { impl ::windows::core::RuntimeName for PrintSupportExtensionTriggerDetails { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionTriggerDetails"; } -::windows::core::interface_hierarchy!(PrintSupportExtensionTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportExtensionTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportExtensionTriggerDetails {} unsafe impl ::core::marker::Sync for PrintSupportExtensionTriggerDetails {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -586,7 +586,7 @@ impl ::core::fmt::Debug for PrintSupportPrintDeviceCapabilitiesChangedEventArgs } } impl ::windows::core::RuntimeType for PrintSupportPrintDeviceCapabilitiesChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesChangedEventArgs;{15969bf0-9028-5722-8a37-7d7c34b41dd6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesChangedEventArgs;{15969bf0-9028-5722-8a37-7d7c34b41dd6})"); } impl ::core::clone::Clone for PrintSupportPrintDeviceCapabilitiesChangedEventArgs { fn clone(&self) -> Self { @@ -602,7 +602,7 @@ unsafe impl ::windows::core::Interface for PrintSupportPrintDeviceCapabilitiesCh impl ::windows::core::RuntimeName for PrintSupportPrintDeviceCapabilitiesChangedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesChangedEventArgs"; } -::windows::core::interface_hierarchy!(PrintSupportPrintDeviceCapabilitiesChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportPrintDeviceCapabilitiesChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportPrintDeviceCapabilitiesChangedEventArgs {} unsafe impl ::core::marker::Sync for PrintSupportPrintDeviceCapabilitiesChangedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -625,7 +625,7 @@ impl PrintSupportPrintDeviceCapabilitiesUpdatePolicy { } #[doc(hidden)] pub fn IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -641,7 +641,7 @@ impl ::core::fmt::Debug for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { } } impl ::windows::core::RuntimeType for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesUpdatePolicy;{5f5fc025-8c35-5529-8038-8cdc3634bbcd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesUpdatePolicy;{5f5fc025-8c35-5529-8038-8cdc3634bbcd})"); } impl ::core::clone::Clone for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { fn clone(&self) -> Self { @@ -657,7 +657,7 @@ unsafe impl ::windows::core::Interface for PrintSupportPrintDeviceCapabilitiesUp impl ::windows::core::RuntimeName for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesUpdatePolicy"; } -::windows::core::interface_hierarchy!(PrintSupportPrintDeviceCapabilitiesUpdatePolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportPrintDeviceCapabilitiesUpdatePolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportPrintDeviceCapabilitiesUpdatePolicy {} unsafe impl ::core::marker::Sync for PrintSupportPrintDeviceCapabilitiesUpdatePolicy {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -667,8 +667,8 @@ impl PrintSupportPrintTicketElement { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn LocalName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -706,7 +706,7 @@ impl ::core::fmt::Debug for PrintSupportPrintTicketElement { } } impl ::windows::core::RuntimeType for PrintSupportPrintTicketElement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketElement;{4b2a4489-730d-5be7-80e6-8332941abf13})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketElement;{4b2a4489-730d-5be7-80e6-8332941abf13})"); } impl ::core::clone::Clone for PrintSupportPrintTicketElement { fn clone(&self) -> Self { @@ -722,7 +722,7 @@ unsafe impl ::windows::core::Interface for PrintSupportPrintTicketElement { impl ::windows::core::RuntimeName for PrintSupportPrintTicketElement { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketElement"; } -::windows::core::interface_hierarchy!(PrintSupportPrintTicketElement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportPrintTicketElement, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportPrintTicketElement {} unsafe impl ::core::marker::Sync for PrintSupportPrintTicketElement {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -764,7 +764,7 @@ impl ::core::fmt::Debug for PrintSupportPrintTicketValidationRequestedEventArgs } } impl ::windows::core::RuntimeType for PrintSupportPrintTicketValidationRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketValidationRequestedEventArgs;{338e4e69-db55-55c7-8338-ef64680a8f90})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketValidationRequestedEventArgs;{338e4e69-db55-55c7-8338-ef64680a8f90})"); } impl ::core::clone::Clone for PrintSupportPrintTicketValidationRequestedEventArgs { fn clone(&self) -> Self { @@ -780,7 +780,7 @@ unsafe impl ::windows::core::Interface for PrintSupportPrintTicketValidationRequ impl ::windows::core::RuntimeName for PrintSupportPrintTicketValidationRequestedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketValidationRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PrintSupportPrintTicketValidationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportPrintTicketValidationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportPrintTicketValidationRequestedEventArgs {} unsafe impl ::core::marker::Sync for PrintSupportPrintTicketValidationRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -870,7 +870,7 @@ impl ::core::fmt::Debug for PrintSupportPrinterSelectedEventArgs { } } impl ::windows::core::RuntimeType for PrintSupportPrinterSelectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrinterSelectedEventArgs;{7b1cb7d9-a8a4-5c09-adb2-66165f817977})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrinterSelectedEventArgs;{7b1cb7d9-a8a4-5c09-adb2-66165f817977})"); } impl ::core::clone::Clone for PrintSupportPrinterSelectedEventArgs { fn clone(&self) -> Self { @@ -886,7 +886,7 @@ unsafe impl ::windows::core::Interface for PrintSupportPrinterSelectedEventArgs impl ::windows::core::RuntimeName for PrintSupportPrinterSelectedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportPrinterSelectedEventArgs"; } -::windows::core::interface_hierarchy!(PrintSupportPrinterSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportPrinterSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportPrinterSelectedEventArgs {} unsafe impl ::core::marker::Sync for PrintSupportPrinterSelectedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -924,7 +924,7 @@ impl ::core::fmt::Debug for PrintSupportSessionInfo { } } impl ::windows::core::RuntimeType for PrintSupportSessionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSessionInfo;{852149af-777d-53e9-9ee9-45d3f4b5be9c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSessionInfo;{852149af-777d-53e9-9ee9-45d3f4b5be9c})"); } impl ::core::clone::Clone for PrintSupportSessionInfo { fn clone(&self) -> Self { @@ -940,7 +940,7 @@ unsafe impl ::windows::core::Interface for PrintSupportSessionInfo { impl ::windows::core::RuntimeName for PrintSupportSessionInfo { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportSessionInfo"; } -::windows::core::interface_hierarchy!(PrintSupportSessionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportSessionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportSessionInfo {} unsafe impl ::core::marker::Sync for PrintSupportSessionInfo {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -1012,7 +1012,7 @@ impl ::core::fmt::Debug for PrintSupportSettingsActivatedEventArgs { } } impl ::windows::core::RuntimeType for PrintSupportSettingsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsActivatedEventArgs;{1e1b565e-a013-55ea-9b8c-eea39d9fb6c1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsActivatedEventArgs;{1e1b565e-a013-55ea-9b8c-eea39d9fb6c1})"); } impl ::core::clone::Clone for PrintSupportSettingsActivatedEventArgs { fn clone(&self) -> Self { @@ -1028,7 +1028,7 @@ unsafe impl ::windows::core::Interface for PrintSupportSettingsActivatedEventArg impl ::windows::core::RuntimeName for PrintSupportSettingsActivatedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsActivatedEventArgs"; } -::windows::core::interface_hierarchy!(PrintSupportSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -1128,7 +1128,7 @@ impl ::core::fmt::Debug for PrintSupportSettingsUISession { } } impl ::windows::core::RuntimeType for PrintSupportSettingsUISession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsUISession;{c6da2251-83c3-55e4-a0f8-5de8b062adbf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsUISession;{c6da2251-83c3-55e4-a0f8-5de8b062adbf})"); } impl ::core::clone::Clone for PrintSupportSettingsUISession { fn clone(&self) -> Self { @@ -1144,7 +1144,7 @@ unsafe impl ::windows::core::Interface for PrintSupportSettingsUISession { impl ::windows::core::RuntimeName for PrintSupportSettingsUISession { const NAME: &'static str = "Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsUISession"; } -::windows::core::interface_hierarchy!(PrintSupportSettingsUISession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintSupportSettingsUISession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintSupportSettingsUISession {} unsafe impl ::core::marker::Sync for PrintSupportSettingsUISession {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] @@ -1175,7 +1175,7 @@ impl ::core::fmt::Debug for SettingsLaunchKind { } } impl ::windows::core::RuntimeType for SettingsLaunchKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintSupport.SettingsLaunchKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintSupport.SettingsLaunchKind;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] @@ -1206,7 +1206,7 @@ impl ::core::fmt::Debug for WorkflowPrintTicketValidationStatus { } } impl ::windows::core::RuntimeType for WorkflowPrintTicketValidationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintSupport.WorkflowPrintTicketValidationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintSupport.WorkflowPrintTicketValidationStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs index e35ebde1b0..ab1b0430eb 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs @@ -422,7 +422,7 @@ impl ::core::fmt::Debug for PrintTicketCapabilities { } } impl ::windows::core::RuntimeType for PrintTicketCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketCapabilities;{8c45508b-bbdc-4256-a142-2fd615ecb416})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketCapabilities;{8c45508b-bbdc-4256-a142-2fd615ecb416})"); } impl ::core::clone::Clone for PrintTicketCapabilities { fn clone(&self) -> Self { @@ -438,7 +438,7 @@ unsafe impl ::windows::core::Interface for PrintTicketCapabilities { impl ::windows::core::RuntimeName for PrintTicketCapabilities { const NAME: &'static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketCapabilities"; } -::windows::core::interface_hierarchy!(PrintTicketCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTicketCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTicketCapabilities {} unsafe impl ::core::marker::Sync for PrintTicketCapabilities {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -522,7 +522,7 @@ impl ::core::fmt::Debug for PrintTicketFeature { } } impl ::windows::core::RuntimeType for PrintTicketFeature { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketFeature;{e7607d6a-59f5-4103-8858-b97710963d39})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketFeature;{e7607d6a-59f5-4103-8858-b97710963d39})"); } impl ::core::clone::Clone for PrintTicketFeature { fn clone(&self) -> Self { @@ -538,7 +538,7 @@ unsafe impl ::windows::core::Interface for PrintTicketFeature { impl ::windows::core::RuntimeName for PrintTicketFeature { const NAME: &'static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketFeature"; } -::windows::core::interface_hierarchy!(PrintTicketFeature, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTicketFeature, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTicketFeature {} unsafe impl ::core::marker::Sync for PrintTicketFeature {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -620,7 +620,7 @@ impl ::core::fmt::Debug for PrintTicketOption { } } impl ::windows::core::RuntimeType for PrintTicketOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketOption;{b086cf90-b367-4e4b-bd48-9c78a0bb31ce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketOption;{b086cf90-b367-4e4b-bd48-9c78a0bb31ce})"); } impl ::core::clone::Clone for PrintTicketOption { fn clone(&self) -> Self { @@ -636,7 +636,7 @@ unsafe impl ::windows::core::Interface for PrintTicketOption { impl ::windows::core::RuntimeName for PrintTicketOption { const NAME: &'static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketOption"; } -::windows::core::interface_hierarchy!(PrintTicketOption, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTicketOption, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTicketOption {} unsafe impl ::core::marker::Sync for PrintTicketOption {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -707,7 +707,7 @@ impl ::core::fmt::Debug for PrintTicketParameterDefinition { } } impl ::windows::core::RuntimeType for PrintTicketParameterDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDefinition;{d6bab4e4-2962-4c01-b7f3-9a9294eb8335})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDefinition;{d6bab4e4-2962-4c01-b7f3-9a9294eb8335})"); } impl ::core::clone::Clone for PrintTicketParameterDefinition { fn clone(&self) -> Self { @@ -723,7 +723,7 @@ unsafe impl ::windows::core::Interface for PrintTicketParameterDefinition { impl ::windows::core::RuntimeName for PrintTicketParameterDefinition { const NAME: &'static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDefinition"; } -::windows::core::interface_hierarchy!(PrintTicketParameterDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTicketParameterDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTicketParameterDefinition {} unsafe impl ::core::marker::Sync for PrintTicketParameterDefinition {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -777,7 +777,7 @@ impl ::core::fmt::Debug for PrintTicketParameterInitializer { } } impl ::windows::core::RuntimeType for PrintTicketParameterInitializer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterInitializer;{5e3335bb-a0a5-48b1-9d5c-07116ddc597a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterInitializer;{5e3335bb-a0a5-48b1-9d5c-07116ddc597a})"); } impl ::core::clone::Clone for PrintTicketParameterInitializer { fn clone(&self) -> Self { @@ -793,7 +793,7 @@ unsafe impl ::windows::core::Interface for PrintTicketParameterInitializer { impl ::windows::core::RuntimeName for PrintTicketParameterInitializer { const NAME: &'static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketParameterInitializer"; } -::windows::core::interface_hierarchy!(PrintTicketParameterInitializer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTicketParameterInitializer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTicketParameterInitializer {} unsafe impl ::core::marker::Sync for PrintTicketParameterInitializer {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -834,7 +834,7 @@ impl ::core::fmt::Debug for PrintTicketValue { } } impl ::windows::core::RuntimeType for PrintTicketValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketValue;{66b30a32-244d-4e22-a98b-bb3cf1f2dd91})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketValue;{66b30a32-244d-4e22-a98b-bb3cf1f2dd91})"); } impl ::core::clone::Clone for PrintTicketValue { fn clone(&self) -> Self { @@ -850,7 +850,7 @@ unsafe impl ::windows::core::Interface for PrintTicketValue { impl ::windows::core::RuntimeName for PrintTicketValue { const NAME: &'static str = "Windows.Graphics.Printing.PrintTicket.PrintTicketValue"; } -::windows::core::interface_hierarchy!(PrintTicketValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTicketValue, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTicketValue {} unsafe impl ::core::marker::Sync for PrintTicketValue {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -1058,7 +1058,7 @@ impl ::core::fmt::Debug for WorkflowPrintTicket { } } impl ::windows::core::RuntimeType for WorkflowPrintTicket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicket;{41d52285-35e8-448e-a8c5-e4b6a2cf826c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicket;{41d52285-35e8-448e-a8c5-e4b6a2cf826c})"); } impl ::core::clone::Clone for WorkflowPrintTicket { fn clone(&self) -> Self { @@ -1074,7 +1074,7 @@ unsafe impl ::windows::core::Interface for WorkflowPrintTicket { impl ::windows::core::RuntimeName for WorkflowPrintTicket { const NAME: &'static str = "Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicket"; } -::windows::core::interface_hierarchy!(WorkflowPrintTicket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WorkflowPrintTicket, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WorkflowPrintTicket {} unsafe impl ::core::marker::Sync for WorkflowPrintTicket {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -1108,7 +1108,7 @@ impl ::core::fmt::Debug for WorkflowPrintTicketValidationResult { } } impl ::windows::core::RuntimeType for WorkflowPrintTicketValidationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicketValidationResult;{0ad1f392-da7b-4a36-bf36-6a99a62e2059})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicketValidationResult;{0ad1f392-da7b-4a36-bf36-6a99a62e2059})"); } impl ::core::clone::Clone for WorkflowPrintTicketValidationResult { fn clone(&self) -> Self { @@ -1124,7 +1124,7 @@ unsafe impl ::windows::core::Interface for WorkflowPrintTicketValidationResult { impl ::windows::core::RuntimeName for WorkflowPrintTicketValidationResult { const NAME: &'static str = "Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicketValidationResult"; } -::windows::core::interface_hierarchy!(WorkflowPrintTicketValidationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WorkflowPrintTicketValidationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WorkflowPrintTicketValidationResult {} unsafe impl ::core::marker::Sync for WorkflowPrintTicketValidationResult {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -1155,7 +1155,7 @@ impl ::core::fmt::Debug for PrintTicketFeatureSelectionType { } } impl ::windows::core::RuntimeType for PrintTicketFeatureSelectionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketFeatureSelectionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketFeatureSelectionType;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] @@ -1186,7 +1186,7 @@ impl ::core::fmt::Debug for PrintTicketParameterDataType { } } impl ::windows::core::RuntimeType for PrintTicketParameterDataType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDataType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDataType;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] @@ -1217,7 +1217,7 @@ impl ::core::fmt::Debug for PrintTicketValueType { } } impl ::windows::core::RuntimeType for PrintTicketValueType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketValueType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintTicket.PrintTicketValueType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs index 96de76f343..3882fef73a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs @@ -921,7 +921,7 @@ impl ::core::fmt::Debug for PrintWorkflowBackgroundSession { } } impl ::windows::core::RuntimeType for PrintWorkflowBackgroundSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSession;{5b7913ba-0c5e-528a-7458-86a46cbddc45})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSession;{5b7913ba-0c5e-528a-7458-86a46cbddc45})"); } impl ::core::clone::Clone for PrintWorkflowBackgroundSession { fn clone(&self) -> Self { @@ -937,7 +937,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowBackgroundSession { impl ::windows::core::RuntimeName for PrintWorkflowBackgroundSession { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSession"; } -::windows::core::interface_hierarchy!(PrintWorkflowBackgroundSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowBackgroundSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowBackgroundSession {} unsafe impl ::core::marker::Sync for PrintWorkflowBackgroundSession {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -986,7 +986,7 @@ impl ::core::fmt::Debug for PrintWorkflowBackgroundSetupRequestedEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowBackgroundSetupRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSetupRequestedEventArgs;{43e97342-1750-59c9-61fb-383748a20362})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSetupRequestedEventArgs;{43e97342-1750-59c9-61fb-383748a20362})"); } impl ::core::clone::Clone for PrintWorkflowBackgroundSetupRequestedEventArgs { fn clone(&self) -> Self { @@ -1002,7 +1002,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowBackgroundSetupRequested impl ::windows::core::RuntimeName for PrintWorkflowBackgroundSetupRequestedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSetupRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowBackgroundSetupRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowBackgroundSetupRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowBackgroundSetupRequestedEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowBackgroundSetupRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1047,7 +1047,7 @@ impl ::core::fmt::Debug for PrintWorkflowConfiguration { } } impl ::windows::core::RuntimeType for PrintWorkflowConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowConfiguration;{d0aac4ed-fd4b-5df5-4bb6-8d0d159ebe3f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowConfiguration;{d0aac4ed-fd4b-5df5-4bb6-8d0d159ebe3f})"); } impl ::core::clone::Clone for PrintWorkflowConfiguration { fn clone(&self) -> Self { @@ -1063,7 +1063,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowConfiguration { impl ::windows::core::RuntimeName for PrintWorkflowConfiguration { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowConfiguration"; } -::windows::core::interface_hierarchy!(PrintWorkflowConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowConfiguration {} unsafe impl ::core::marker::Sync for PrintWorkflowConfiguration {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1124,7 +1124,7 @@ impl ::core::fmt::Debug for PrintWorkflowForegroundSession { } } impl ::windows::core::RuntimeType for PrintWorkflowForegroundSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSession;{c79b63d0-f8ec-4ceb-953a-c8876157dd33})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSession;{c79b63d0-f8ec-4ceb-953a-c8876157dd33})"); } impl ::core::clone::Clone for PrintWorkflowForegroundSession { fn clone(&self) -> Self { @@ -1140,7 +1140,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowForegroundSession { impl ::windows::core::RuntimeName for PrintWorkflowForegroundSession { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSession"; } -::windows::core::interface_hierarchy!(PrintWorkflowForegroundSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowForegroundSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowForegroundSession {} unsafe impl ::core::marker::Sync for PrintWorkflowForegroundSession {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1185,7 +1185,7 @@ impl ::core::fmt::Debug for PrintWorkflowForegroundSetupRequestedEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowForegroundSetupRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSetupRequestedEventArgs;{bbe38247-9c1b-4dd3-9b2b-c80468d941b3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSetupRequestedEventArgs;{bbe38247-9c1b-4dd3-9b2b-c80468d941b3})"); } impl ::core::clone::Clone for PrintWorkflowForegroundSetupRequestedEventArgs { fn clone(&self) -> Self { @@ -1201,7 +1201,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowForegroundSetupRequested impl ::windows::core::RuntimeName for PrintWorkflowForegroundSetupRequestedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSetupRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowForegroundSetupRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowForegroundSetupRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowForegroundSetupRequestedEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowForegroundSetupRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1264,7 +1264,7 @@ impl ::core::fmt::Debug for PrintWorkflowJobActivatedEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowJobActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobActivatedEventArgs;{d4bd5e6d-034e-5e00-a616-f961a033dcc8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobActivatedEventArgs;{d4bd5e6d-034e-5e00-a616-f961a033dcc8})"); } impl ::core::clone::Clone for PrintWorkflowJobActivatedEventArgs { fn clone(&self) -> Self { @@ -1280,7 +1280,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowJobActivatedEventArgs { impl ::windows::core::RuntimeName for PrintWorkflowJobActivatedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobActivatedEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowJobActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowJobActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -1385,7 +1385,7 @@ impl ::core::fmt::Debug for PrintWorkflowJobBackgroundSession { } } impl ::windows::core::RuntimeType for PrintWorkflowJobBackgroundSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobBackgroundSession;{c5ec6ad8-20c9-5d51-8507-2734b46f96c5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobBackgroundSession;{c5ec6ad8-20c9-5d51-8507-2734b46f96c5})"); } impl ::core::clone::Clone for PrintWorkflowJobBackgroundSession { fn clone(&self) -> Self { @@ -1401,7 +1401,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowJobBackgroundSession { impl ::windows::core::RuntimeName for PrintWorkflowJobBackgroundSession { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobBackgroundSession"; } -::windows::core::interface_hierarchy!(PrintWorkflowJobBackgroundSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowJobBackgroundSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowJobBackgroundSession {} unsafe impl ::core::marker::Sync for PrintWorkflowJobBackgroundSession {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1444,7 +1444,7 @@ impl ::core::fmt::Debug for PrintWorkflowJobNotificationEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowJobNotificationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobNotificationEventArgs;{0ae16fba-5398-5eba-b472-978650186a9a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobNotificationEventArgs;{0ae16fba-5398-5eba-b472-978650186a9a})"); } impl ::core::clone::Clone for PrintWorkflowJobNotificationEventArgs { fn clone(&self) -> Self { @@ -1460,7 +1460,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowJobNotificationEventArgs impl ::windows::core::RuntimeName for PrintWorkflowJobNotificationEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobNotificationEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowJobNotificationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowJobNotificationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowJobNotificationEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowJobNotificationEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1509,7 +1509,7 @@ impl ::core::fmt::Debug for PrintWorkflowJobStartingEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowJobStartingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobStartingEventArgs;{e3d99ba8-31ad-5e09-b0d7-601b97f161ad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobStartingEventArgs;{e3d99ba8-31ad-5e09-b0d7-601b97f161ad})"); } impl ::core::clone::Clone for PrintWorkflowJobStartingEventArgs { fn clone(&self) -> Self { @@ -1525,7 +1525,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowJobStartingEventArgs { impl ::windows::core::RuntimeName for PrintWorkflowJobStartingEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobStartingEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowJobStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowJobStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowJobStartingEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowJobStartingEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1552,7 +1552,7 @@ impl ::core::fmt::Debug for PrintWorkflowJobTriggerDetails { } } impl ::windows::core::RuntimeType for PrintWorkflowJobTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobTriggerDetails;{ff296129-60e2-51db-ba8c-e2ccddb516b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobTriggerDetails;{ff296129-60e2-51db-ba8c-e2ccddb516b9})"); } impl ::core::clone::Clone for PrintWorkflowJobTriggerDetails { fn clone(&self) -> Self { @@ -1568,7 +1568,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowJobTriggerDetails { impl ::windows::core::RuntimeName for PrintWorkflowJobTriggerDetails { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobTriggerDetails"; } -::windows::core::interface_hierarchy!(PrintWorkflowJobTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowJobTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowJobTriggerDetails {} unsafe impl ::core::marker::Sync for PrintWorkflowJobTriggerDetails {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1629,7 +1629,7 @@ impl ::core::fmt::Debug for PrintWorkflowJobUISession { } } impl ::windows::core::RuntimeType for PrintWorkflowJobUISession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobUISession;{00c8736b-7637-5687-a302-0f664d2aac65})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobUISession;{00c8736b-7637-5687-a302-0f664d2aac65})"); } impl ::core::clone::Clone for PrintWorkflowJobUISession { fn clone(&self) -> Self { @@ -1645,7 +1645,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowJobUISession { impl ::windows::core::RuntimeName for PrintWorkflowJobUISession { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowJobUISession"; } -::windows::core::interface_hierarchy!(PrintWorkflowJobUISession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowJobUISession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowJobUISession {} unsafe impl ::core::marker::Sync for PrintWorkflowJobUISession {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1666,7 +1666,7 @@ impl PrintWorkflowObjectModelSourceFileContent { } #[doc(hidden)] pub fn IPrintWorkflowObjectModelSourceFileContentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1682,7 +1682,7 @@ impl ::core::fmt::Debug for PrintWorkflowObjectModelSourceFileContent { } } impl ::windows::core::RuntimeType for PrintWorkflowObjectModelSourceFileContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelSourceFileContent;{c36c8a6a-8a2a-419a-b3c3-2090e6bfab2f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelSourceFileContent;{c36c8a6a-8a2a-419a-b3c3-2090e6bfab2f})"); } impl ::core::clone::Clone for PrintWorkflowObjectModelSourceFileContent { fn clone(&self) -> Self { @@ -1698,7 +1698,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowObjectModelSourceFileCon impl ::windows::core::RuntimeName for PrintWorkflowObjectModelSourceFileContent { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelSourceFileContent"; } -::windows::core::interface_hierarchy!(PrintWorkflowObjectModelSourceFileContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowObjectModelSourceFileContent, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowObjectModelSourceFileContent {} unsafe impl ::core::marker::Sync for PrintWorkflowObjectModelSourceFileContent {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1717,7 +1717,7 @@ impl ::core::fmt::Debug for PrintWorkflowObjectModelTargetPackage { } } impl ::windows::core::RuntimeType for PrintWorkflowObjectModelTargetPackage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelTargetPackage;{7d96bc74-9b54-4ca1-ad3a-979c3d44ddac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelTargetPackage;{7d96bc74-9b54-4ca1-ad3a-979c3d44ddac})"); } impl ::core::clone::Clone for PrintWorkflowObjectModelTargetPackage { fn clone(&self) -> Self { @@ -1733,7 +1733,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowObjectModelTargetPackage impl ::windows::core::RuntimeName for PrintWorkflowObjectModelTargetPackage { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelTargetPackage"; } -::windows::core::interface_hierarchy!(PrintWorkflowObjectModelTargetPackage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowObjectModelTargetPackage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowObjectModelTargetPackage {} unsafe impl ::core::marker::Sync for PrintWorkflowObjectModelTargetPackage {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1783,7 +1783,7 @@ impl ::core::fmt::Debug for PrintWorkflowPdlConverter { } } impl ::windows::core::RuntimeType for PrintWorkflowPdlConverter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConverter;{40604b62-0ae4-51f1-818f-731dc0b005ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConverter;{40604b62-0ae4-51f1-818f-731dc0b005ab})"); } impl ::core::clone::Clone for PrintWorkflowPdlConverter { fn clone(&self) -> Self { @@ -1799,7 +1799,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowPdlConverter { impl ::windows::core::RuntimeName for PrintWorkflowPdlConverter { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConverter"; } -::windows::core::interface_hierarchy!(PrintWorkflowPdlConverter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowPdlConverter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowPdlConverter {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlConverter {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1849,7 +1849,7 @@ impl ::core::fmt::Debug for PrintWorkflowPdlDataAvailableEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowPdlDataAvailableEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlDataAvailableEventArgs;{d4ad6b50-1547-5991-a0ef-e2ee20211518})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlDataAvailableEventArgs;{d4ad6b50-1547-5991-a0ef-e2ee20211518})"); } impl ::core::clone::Clone for PrintWorkflowPdlDataAvailableEventArgs { fn clone(&self) -> Self { @@ -1865,7 +1865,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowPdlDataAvailableEventArg impl ::windows::core::RuntimeName for PrintWorkflowPdlDataAvailableEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlDataAvailableEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowPdlDataAvailableEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowPdlDataAvailableEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowPdlDataAvailableEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlDataAvailableEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -1992,7 +1992,7 @@ impl ::core::fmt::Debug for PrintWorkflowPdlModificationRequestedEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowPdlModificationRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlModificationRequestedEventArgs;{1a339a61-2e13-5edd-a707-ceec61d7333b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlModificationRequestedEventArgs;{1a339a61-2e13-5edd-a707-ceec61d7333b})"); } impl ::core::clone::Clone for PrintWorkflowPdlModificationRequestedEventArgs { fn clone(&self) -> Self { @@ -2008,7 +2008,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowPdlModificationRequested impl ::windows::core::RuntimeName for PrintWorkflowPdlModificationRequestedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlModificationRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowPdlModificationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowPdlModificationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowPdlModificationRequestedEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlModificationRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2053,7 +2053,7 @@ impl ::core::fmt::Debug for PrintWorkflowPdlSourceContent { } } impl ::windows::core::RuntimeType for PrintWorkflowPdlSourceContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlSourceContent;{92f7fc41-32b8-56ab-845e-b1e68b3aedd5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlSourceContent;{92f7fc41-32b8-56ab-845e-b1e68b3aedd5})"); } impl ::core::clone::Clone for PrintWorkflowPdlSourceContent { fn clone(&self) -> Self { @@ -2069,7 +2069,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowPdlSourceContent { impl ::windows::core::RuntimeName for PrintWorkflowPdlSourceContent { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlSourceContent"; } -::windows::core::interface_hierarchy!(PrintWorkflowPdlSourceContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowPdlSourceContent, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowPdlSourceContent {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlSourceContent {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2102,7 +2102,7 @@ impl ::core::fmt::Debug for PrintWorkflowPdlTargetStream { } } impl ::windows::core::RuntimeType for PrintWorkflowPdlTargetStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlTargetStream;{a742dfe5-1ee3-52a9-9f9f-2e2043180fd1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlTargetStream;{a742dfe5-1ee3-52a9-9f9f-2e2043180fd1})"); } impl ::core::clone::Clone for PrintWorkflowPdlTargetStream { fn clone(&self) -> Self { @@ -2118,7 +2118,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowPdlTargetStream { impl ::windows::core::RuntimeName for PrintWorkflowPdlTargetStream { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPdlTargetStream"; } -::windows::core::interface_hierarchy!(PrintWorkflowPdlTargetStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowPdlTargetStream, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowPdlTargetStream {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlTargetStream {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2222,7 +2222,7 @@ impl ::core::fmt::Debug for PrintWorkflowPrinterJob { } } impl ::windows::core::RuntimeType for PrintWorkflowPrinterJob { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJob;{12009f94-0d14-5443-bc09-250311ce570b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJob;{12009f94-0d14-5443-bc09-250311ce570b})"); } impl ::core::clone::Clone for PrintWorkflowPrinterJob { fn clone(&self) -> Self { @@ -2238,7 +2238,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowPrinterJob { impl ::windows::core::RuntimeName for PrintWorkflowPrinterJob { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJob"; } -::windows::core::interface_hierarchy!(PrintWorkflowPrinterJob, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowPrinterJob, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowPrinterJob {} unsafe impl ::core::marker::Sync for PrintWorkflowPrinterJob {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2281,7 +2281,7 @@ impl ::core::fmt::Debug for PrintWorkflowSourceContent { } } impl ::windows::core::RuntimeType for PrintWorkflowSourceContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSourceContent;{1a28c641-ceb1-4533-bb73-fbe63eefdb18})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSourceContent;{1a28c641-ceb1-4533-bb73-fbe63eefdb18})"); } impl ::core::clone::Clone for PrintWorkflowSourceContent { fn clone(&self) -> Self { @@ -2297,7 +2297,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowSourceContent { impl ::windows::core::RuntimeName for PrintWorkflowSourceContent { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowSourceContent"; } -::windows::core::interface_hierarchy!(PrintWorkflowSourceContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowSourceContent, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowSourceContent {} unsafe impl ::core::marker::Sync for PrintWorkflowSourceContent {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2326,7 +2326,7 @@ impl ::core::fmt::Debug for PrintWorkflowSpoolStreamContent { } } impl ::windows::core::RuntimeType for PrintWorkflowSpoolStreamContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSpoolStreamContent;{72e55ece-e406-4b74-84e1-3ff3fdcdaf70})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSpoolStreamContent;{72e55ece-e406-4b74-84e1-3ff3fdcdaf70})"); } impl ::core::clone::Clone for PrintWorkflowSpoolStreamContent { fn clone(&self) -> Self { @@ -2342,7 +2342,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowSpoolStreamContent { impl ::windows::core::RuntimeName for PrintWorkflowSpoolStreamContent { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowSpoolStreamContent"; } -::windows::core::interface_hierarchy!(PrintWorkflowSpoolStreamContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowSpoolStreamContent, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowSpoolStreamContent {} unsafe impl ::core::marker::Sync for PrintWorkflowSpoolStreamContent {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2371,7 +2371,7 @@ impl ::core::fmt::Debug for PrintWorkflowStreamTarget { } } impl ::windows::core::RuntimeType for PrintWorkflowStreamTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowStreamTarget;{b23bba84-8565-488b-9839-1c9e7c7aa916})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowStreamTarget;{b23bba84-8565-488b-9839-1c9e7c7aa916})"); } impl ::core::clone::Clone for PrintWorkflowStreamTarget { fn clone(&self) -> Self { @@ -2387,7 +2387,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowStreamTarget { impl ::windows::core::RuntimeName for PrintWorkflowStreamTarget { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowStreamTarget"; } -::windows::core::interface_hierarchy!(PrintWorkflowStreamTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowStreamTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowStreamTarget {} unsafe impl ::core::marker::Sync for PrintWorkflowStreamTarget {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2432,7 +2432,7 @@ impl ::core::fmt::Debug for PrintWorkflowSubmittedEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowSubmittedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedEventArgs;{3add0a41-3794-5569-5c87-40e8ff720f83})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedEventArgs;{3add0a41-3794-5569-5c87-40e8ff720f83})"); } impl ::core::clone::Clone for PrintWorkflowSubmittedEventArgs { fn clone(&self) -> Self { @@ -2448,7 +2448,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowSubmittedEventArgs { impl ::windows::core::RuntimeName for PrintWorkflowSubmittedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowSubmittedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowSubmittedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowSubmittedEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowSubmittedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2486,7 +2486,7 @@ impl ::core::fmt::Debug for PrintWorkflowSubmittedOperation { } } impl ::windows::core::RuntimeType for PrintWorkflowSubmittedOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedOperation;{2e4e6216-3be1-5f0f-5c81-a5a2bd4eab0e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedOperation;{2e4e6216-3be1-5f0f-5c81-a5a2bd4eab0e})"); } impl ::core::clone::Clone for PrintWorkflowSubmittedOperation { fn clone(&self) -> Self { @@ -2502,7 +2502,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowSubmittedOperation { impl ::windows::core::RuntimeName for PrintWorkflowSubmittedOperation { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedOperation"; } -::windows::core::interface_hierarchy!(PrintWorkflowSubmittedOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowSubmittedOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowSubmittedOperation {} unsafe impl ::core::marker::Sync for PrintWorkflowSubmittedOperation {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2536,7 +2536,7 @@ impl ::core::fmt::Debug for PrintWorkflowTarget { } } impl ::windows::core::RuntimeType for PrintWorkflowTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowTarget;{29da276c-0a73-5aed-4f3d-970d3251f057})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowTarget;{29da276c-0a73-5aed-4f3d-970d3251f057})"); } impl ::core::clone::Clone for PrintWorkflowTarget { fn clone(&self) -> Self { @@ -2552,7 +2552,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowTarget { impl ::windows::core::RuntimeName for PrintWorkflowTarget { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowTarget"; } -::windows::core::interface_hierarchy!(PrintWorkflowTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowTarget {} unsafe impl ::core::marker::Sync for PrintWorkflowTarget {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2579,7 +2579,7 @@ impl ::core::fmt::Debug for PrintWorkflowTriggerDetails { } } impl ::windows::core::RuntimeType for PrintWorkflowTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowTriggerDetails;{5739d868-9d86-4052-b0cb-f310becd59bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowTriggerDetails;{5739d868-9d86-4052-b0cb-f310becd59bb})"); } impl ::core::clone::Clone for PrintWorkflowTriggerDetails { fn clone(&self) -> Self { @@ -2595,7 +2595,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowTriggerDetails { impl ::windows::core::RuntimeName for PrintWorkflowTriggerDetails { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowTriggerDetails"; } -::windows::core::interface_hierarchy!(PrintWorkflowTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowTriggerDetails {} unsafe impl ::core::marker::Sync for PrintWorkflowTriggerDetails {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2658,7 +2658,7 @@ impl ::core::fmt::Debug for PrintWorkflowUIActivatedEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowUIActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowUIActivatedEventArgs;{bc8a844d-09eb-5746-72a6-8dc8b5edbe9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowUIActivatedEventArgs;{bc8a844d-09eb-5746-72a6-8dc8b5edbe9b})"); } impl ::core::clone::Clone for PrintWorkflowUIActivatedEventArgs { fn clone(&self) -> Self { @@ -2674,7 +2674,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowUIActivatedEventArgs { impl ::windows::core::RuntimeName for PrintWorkflowUIActivatedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowUIActivatedEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowUIActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowUIActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -2754,7 +2754,7 @@ impl ::core::fmt::Debug for PrintWorkflowUILauncher { } } impl ::windows::core::RuntimeType for PrintWorkflowUILauncher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowUILauncher;{64e9e22f-14cc-5828-96fb-39163fb6c378})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowUILauncher;{64e9e22f-14cc-5828-96fb-39163fb6c378})"); } impl ::core::clone::Clone for PrintWorkflowUILauncher { fn clone(&self) -> Self { @@ -2770,7 +2770,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowUILauncher { impl ::windows::core::RuntimeName for PrintWorkflowUILauncher { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowUILauncher"; } -::windows::core::interface_hierarchy!(PrintWorkflowUILauncher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowUILauncher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowUILauncher {} unsafe impl ::core::marker::Sync for PrintWorkflowUILauncher {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2806,7 +2806,7 @@ impl ::core::fmt::Debug for PrintWorkflowXpsDataAvailableEventArgs { } } impl ::windows::core::RuntimeType for PrintWorkflowXpsDataAvailableEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowXpsDataAvailableEventArgs;{4d11c331-54d1-434e-be0e-82c5fa58e5b2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowXpsDataAvailableEventArgs;{4d11c331-54d1-434e-be0e-82c5fa58e5b2})"); } impl ::core::clone::Clone for PrintWorkflowXpsDataAvailableEventArgs { fn clone(&self) -> Self { @@ -2822,7 +2822,7 @@ unsafe impl ::windows::core::Interface for PrintWorkflowXpsDataAvailableEventArg impl ::windows::core::RuntimeName for PrintWorkflowXpsDataAvailableEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.Workflow.PrintWorkflowXpsDataAvailableEventArgs"; } -::windows::core::interface_hierarchy!(PrintWorkflowXpsDataAvailableEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintWorkflowXpsDataAvailableEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintWorkflowXpsDataAvailableEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowXpsDataAvailableEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] @@ -2890,7 +2890,7 @@ impl ::core::ops::Not for PdlConversionHostBasedProcessingOperations { } } impl ::windows::core::RuntimeType for PdlConversionHostBasedProcessingOperations { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PdlConversionHostBasedProcessingOperations;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PdlConversionHostBasedProcessingOperations;u4)"); } #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] @@ -2921,7 +2921,7 @@ impl ::core::fmt::Debug for PrintWorkflowAttributesMergePolicy { } } impl ::windows::core::RuntimeType for PrintWorkflowAttributesMergePolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowAttributesMergePolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowAttributesMergePolicy;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] @@ -2951,7 +2951,7 @@ impl ::core::fmt::Debug for PrintWorkflowJobAbortReason { } } impl ::windows::core::RuntimeType for PrintWorkflowJobAbortReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowJobAbortReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowJobAbortReason;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] @@ -2982,7 +2982,7 @@ impl ::core::fmt::Debug for PrintWorkflowPdlConversionType { } } impl ::windows::core::RuntimeType for PrintWorkflowPdlConversionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConversionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConversionType;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] @@ -3014,7 +3014,7 @@ impl ::core::fmt::Debug for PrintWorkflowPrinterJobStatus { } } impl ::windows::core::RuntimeType for PrintWorkflowPrinterJobStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJobStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJobStatus;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] @@ -3047,7 +3047,7 @@ impl ::core::fmt::Debug for PrintWorkflowSessionStatus { } } impl ::windows::core::RuntimeType for PrintWorkflowSessionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowSessionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowSessionStatus;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] @@ -3078,7 +3078,7 @@ impl ::core::fmt::Debug for PrintWorkflowSubmittedStatus { } } impl ::windows::core::RuntimeType for PrintWorkflowSubmittedStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedStatus;i4)"); } #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] @@ -3110,7 +3110,7 @@ impl ::core::fmt::Debug for PrintWorkflowUICompletionStatus { } } impl ::windows::core::RuntimeType for PrintWorkflowUICompletionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowUICompletionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.Workflow.PrintWorkflowUICompletionStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index c44e826fe4..c83797d3f2 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -10,7 +10,7 @@ pub mod Workflow; #[repr(transparent)] pub struct IPrintDocumentSource(::windows::core::IUnknown); impl IPrintDocumentSource {} -::windows::core::interface_hierarchy!(IPrintDocumentSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintDocumentSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPrintDocumentSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23,7 +23,7 @@ impl ::core::fmt::Debug for IPrintDocumentSource { } } impl ::windows::core::RuntimeType for IPrintDocumentSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{dedc0c30-f1eb-47df-aae6-ed5427511f01}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{dedc0c30-f1eb-47df-aae6-ed5427511f01}"); } unsafe impl ::windows::core::Vtable for IPrintDocumentSource { type Vtable = IPrintDocumentSource_Vtbl; @@ -375,7 +375,7 @@ impl IPrintTaskOptionsCore { } } } -::windows::core::interface_hierarchy!(IPrintTaskOptionsCore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintTaskOptionsCore, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPrintTaskOptionsCore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -388,7 +388,7 @@ impl ::core::fmt::Debug for IPrintTaskOptionsCore { } } impl ::windows::core::RuntimeType for IPrintTaskOptionsCore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1bdbb474-4ed1-41eb-be3c-72d18ed67337}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1bdbb474-4ed1-41eb-be3c-72d18ed67337}"); } unsafe impl ::windows::core::Vtable for IPrintTaskOptionsCore { type Vtable = IPrintTaskOptionsCore_Vtbl; @@ -550,7 +550,7 @@ impl IPrintTaskOptionsCoreProperties { } } } -::windows::core::interface_hierarchy!(IPrintTaskOptionsCoreProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintTaskOptionsCoreProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPrintTaskOptionsCoreProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -563,7 +563,7 @@ impl ::core::fmt::Debug for IPrintTaskOptionsCoreProperties { } } impl ::windows::core::RuntimeType for IPrintTaskOptionsCoreProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c1b71832-9e93-4e55-814b-3326a59efce1}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c1b71832-9e93-4e55-814b-3326a59efce1}"); } unsafe impl ::windows::core::Vtable for IPrintTaskOptionsCoreProperties { type Vtable = IPrintTaskOptionsCoreProperties_Vtbl; @@ -619,7 +619,7 @@ impl IPrintTaskOptionsCoreUIConfiguration { } } } -::windows::core::interface_hierarchy!(IPrintTaskOptionsCoreUIConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintTaskOptionsCoreUIConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPrintTaskOptionsCoreUIConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -632,7 +632,7 @@ impl ::core::fmt::Debug for IPrintTaskOptionsCoreUIConfiguration { } } impl ::windows::core::RuntimeType for IPrintTaskOptionsCoreUIConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{62e69e23-9a1e-4336-b74f-3cc7f4cff709}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{62e69e23-9a1e-4336-b74f-3cc7f4cff709}"); } unsafe impl ::windows::core::Vtable for IPrintTaskOptionsCoreUIConfiguration { type Vtable = IPrintTaskOptionsCoreUIConfiguration_Vtbl; @@ -920,12 +920,12 @@ impl PrintManager { } #[doc(hidden)] pub fn IPrintManagerStatic ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPrintManagerStatic2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -941,7 +941,7 @@ impl ::core::fmt::Debug for PrintManager { } } impl ::windows::core::RuntimeType for PrintManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintManager;{ff2a9694-8c99-44fd-ae4a-19d9aa9a0f0a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintManager;{ff2a9694-8c99-44fd-ae4a-19d9aa9a0f0a})"); } impl ::core::clone::Clone for PrintManager { fn clone(&self) -> Self { @@ -957,7 +957,7 @@ unsafe impl ::windows::core::Interface for PrintManager { impl ::windows::core::RuntimeName for PrintManager { const NAME: &'static str = "Windows.Graphics.Printing.PrintManager"; } -::windows::core::interface_hierarchy!(PrintManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintManager {} unsafe impl ::core::marker::Sync for PrintManager {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -967,8 +967,8 @@ impl PrintPageInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetMediaSize(&self, value: PrintMediaSize) -> ::windows::core::Result<()> { @@ -1043,7 +1043,7 @@ impl ::core::fmt::Debug for PrintPageInfo { } } impl ::windows::core::RuntimeType for PrintPageInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageInfo;{dd4be9c9-a6a1-4ada-930e-da872a4f23d3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageInfo;{dd4be9c9-a6a1-4ada-930e-da872a4f23d3})"); } impl ::core::clone::Clone for PrintPageInfo { fn clone(&self) -> Self { @@ -1059,7 +1059,7 @@ unsafe impl ::windows::core::Interface for PrintPageInfo { impl ::windows::core::RuntimeName for PrintPageInfo { const NAME: &'static str = "Windows.Graphics.Printing.PrintPageInfo"; } -::windows::core::interface_hierarchy!(PrintPageInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintPageInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintPageInfo {} unsafe impl ::core::marker::Sync for PrintPageInfo {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1094,7 +1094,7 @@ impl PrintPageRange { } #[doc(hidden)] pub fn IPrintPageRangeFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1110,7 +1110,7 @@ impl ::core::fmt::Debug for PrintPageRange { } } impl ::windows::core::RuntimeType for PrintPageRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageRange;{f8a06c54-6e7c-51c5-57fd-0660c2d71513})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageRange;{f8a06c54-6e7c-51c5-57fd-0660c2d71513})"); } impl ::core::clone::Clone for PrintPageRange { fn clone(&self) -> Self { @@ -1126,7 +1126,7 @@ unsafe impl ::windows::core::Interface for PrintPageRange { impl ::windows::core::RuntimeName for PrintPageRange { const NAME: &'static str = "Windows.Graphics.Printing.PrintPageRange"; } -::windows::core::interface_hierarchy!(PrintPageRange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintPageRange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintPageRange {} unsafe impl ::core::marker::Sync for PrintPageRange {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1179,7 +1179,7 @@ impl ::core::fmt::Debug for PrintPageRangeOptions { } } impl ::windows::core::RuntimeType for PrintPageRangeOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageRangeOptions;{ce6db728-1357-46b2-a923-79f995f448fc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageRangeOptions;{ce6db728-1357-46b2-a923-79f995f448fc})"); } impl ::core::clone::Clone for PrintPageRangeOptions { fn clone(&self) -> Self { @@ -1195,7 +1195,7 @@ unsafe impl ::windows::core::Interface for PrintPageRangeOptions { impl ::windows::core::RuntimeName for PrintPageRangeOptions { const NAME: &'static str = "Windows.Graphics.Printing.PrintPageRangeOptions"; } -::windows::core::interface_hierarchy!(PrintPageRangeOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintPageRangeOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintPageRangeOptions {} unsafe impl ::core::marker::Sync for PrintPageRangeOptions {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1331,7 +1331,7 @@ impl ::core::fmt::Debug for PrintTask { } } impl ::windows::core::RuntimeType for PrintTask { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTask;{61d80247-6cf6-4fad-84e2-a5e82e2d4ceb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTask;{61d80247-6cf6-4fad-84e2-a5e82e2d4ceb})"); } impl ::core::clone::Clone for PrintTask { fn clone(&self) -> Self { @@ -1347,7 +1347,7 @@ unsafe impl ::windows::core::Interface for PrintTask { impl ::windows::core::RuntimeName for PrintTask { const NAME: &'static str = "Windows.Graphics.Printing.PrintTask"; } -::windows::core::interface_hierarchy!(PrintTask, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTask, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTask {} unsafe impl ::core::marker::Sync for PrintTask {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1374,7 +1374,7 @@ impl ::core::fmt::Debug for PrintTaskCompletedEventArgs { } } impl ::windows::core::RuntimeType for PrintTaskCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskCompletedEventArgs;{5bcd34af-24e9-4c10-8d07-14c346ba3fce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskCompletedEventArgs;{5bcd34af-24e9-4c10-8d07-14c346ba3fce})"); } impl ::core::clone::Clone for PrintTaskCompletedEventArgs { fn clone(&self) -> Self { @@ -1390,7 +1390,7 @@ unsafe impl ::windows::core::Interface for PrintTaskCompletedEventArgs { impl ::windows::core::RuntimeName for PrintTaskCompletedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.PrintTaskCompletedEventArgs"; } -::windows::core::interface_hierarchy!(PrintTaskCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTaskCompletedEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskCompletedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1599,7 +1599,7 @@ impl ::core::fmt::Debug for PrintTaskOptions { } } impl ::windows::core::RuntimeType for PrintTaskOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskOptions;{1bdbb474-4ed1-41eb-be3c-72d18ed67337})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskOptions;{1bdbb474-4ed1-41eb-be3c-72d18ed67337})"); } impl ::core::clone::Clone for PrintTaskOptions { fn clone(&self) -> Self { @@ -1615,7 +1615,7 @@ unsafe impl ::windows::core::Interface for PrintTaskOptions { impl ::windows::core::RuntimeName for PrintTaskOptions { const NAME: &'static str = "Windows.Graphics.Printing.PrintTaskOptions"; } -::windows::core::interface_hierarchy!(PrintTaskOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPrintTaskOptionsCore { type Error = ::windows::core::Error; fn try_from(value: PrintTaskOptions) -> ::windows::core::Result { @@ -1699,7 +1699,7 @@ impl ::core::fmt::Debug for PrintTaskProgressingEventArgs { } } impl ::windows::core::RuntimeType for PrintTaskProgressingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskProgressingEventArgs;{810cd3cb-b410-4282-a073-5ac378234174})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskProgressingEventArgs;{810cd3cb-b410-4282-a073-5ac378234174})"); } impl ::core::clone::Clone for PrintTaskProgressingEventArgs { fn clone(&self) -> Self { @@ -1715,7 +1715,7 @@ unsafe impl ::windows::core::Interface for PrintTaskProgressingEventArgs { impl ::windows::core::RuntimeName for PrintTaskProgressingEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.PrintTaskProgressingEventArgs"; } -::windows::core::interface_hierarchy!(PrintTaskProgressingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskProgressingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTaskProgressingEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskProgressingEventArgs {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1758,7 +1758,7 @@ impl ::core::fmt::Debug for PrintTaskRequest { } } impl ::windows::core::RuntimeType for PrintTaskRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequest;{6ff61e2e-2722-4240-a67c-f364849a17f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequest;{6ff61e2e-2722-4240-a67c-f364849a17f3})"); } impl ::core::clone::Clone for PrintTaskRequest { fn clone(&self) -> Self { @@ -1774,7 +1774,7 @@ unsafe impl ::windows::core::Interface for PrintTaskRequest { impl ::windows::core::RuntimeName for PrintTaskRequest { const NAME: &'static str = "Windows.Graphics.Printing.PrintTaskRequest"; } -::windows::core::interface_hierarchy!(PrintTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTaskRequest {} unsafe impl ::core::marker::Sync for PrintTaskRequest {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1798,7 +1798,7 @@ impl ::core::fmt::Debug for PrintTaskRequestedDeferral { } } impl ::windows::core::RuntimeType for PrintTaskRequestedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequestedDeferral;{cfefb3f0-ce3e-42c7-9496-64800c622c44})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequestedDeferral;{cfefb3f0-ce3e-42c7-9496-64800c622c44})"); } impl ::core::clone::Clone for PrintTaskRequestedDeferral { fn clone(&self) -> Self { @@ -1814,7 +1814,7 @@ unsafe impl ::windows::core::Interface for PrintTaskRequestedDeferral { impl ::windows::core::RuntimeName for PrintTaskRequestedDeferral { const NAME: &'static str = "Windows.Graphics.Printing.PrintTaskRequestedDeferral"; } -::windows::core::interface_hierarchy!(PrintTaskRequestedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskRequestedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTaskRequestedDeferral {} unsafe impl ::core::marker::Sync for PrintTaskRequestedDeferral {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1841,7 +1841,7 @@ impl ::core::fmt::Debug for PrintTaskRequestedEventArgs { } } impl ::windows::core::RuntimeType for PrintTaskRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequestedEventArgs;{d0aff924-a31b-454c-a7b6-5d0cc522fc16})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequestedEventArgs;{d0aff924-a31b-454c-a7b6-5d0cc522fc16})"); } impl ::core::clone::Clone for PrintTaskRequestedEventArgs { fn clone(&self) -> Self { @@ -1857,7 +1857,7 @@ unsafe impl ::windows::core::Interface for PrintTaskRequestedEventArgs { impl ::windows::core::RuntimeName for PrintTaskRequestedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing.PrintTaskRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PrintTaskRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTaskRequestedEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1901,7 +1901,7 @@ impl ::core::fmt::Debug for PrintTaskSourceRequestedArgs { } } impl ::windows::core::RuntimeType for PrintTaskSourceRequestedArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskSourceRequestedArgs;{f9f067be-f456-41f0-9c98-5ce73e851410})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskSourceRequestedArgs;{f9f067be-f456-41f0-9c98-5ce73e851410})"); } impl ::core::clone::Clone for PrintTaskSourceRequestedArgs { fn clone(&self) -> Self { @@ -1917,7 +1917,7 @@ unsafe impl ::windows::core::Interface for PrintTaskSourceRequestedArgs { impl ::windows::core::RuntimeName for PrintTaskSourceRequestedArgs { const NAME: &'static str = "Windows.Graphics.Printing.PrintTaskSourceRequestedArgs"; } -::windows::core::interface_hierarchy!(PrintTaskSourceRequestedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskSourceRequestedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTaskSourceRequestedArgs {} unsafe impl ::core::marker::Sync for PrintTaskSourceRequestedArgs {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -1941,7 +1941,7 @@ impl ::core::fmt::Debug for PrintTaskSourceRequestedDeferral { } } impl ::windows::core::RuntimeType for PrintTaskSourceRequestedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskSourceRequestedDeferral;{4a1560d1-6992-4d9d-8555-4ca4563fb166})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskSourceRequestedDeferral;{4a1560d1-6992-4d9d-8555-4ca4563fb166})"); } impl ::core::clone::Clone for PrintTaskSourceRequestedDeferral { fn clone(&self) -> Self { @@ -1957,7 +1957,7 @@ unsafe impl ::windows::core::Interface for PrintTaskSourceRequestedDeferral { impl ::windows::core::RuntimeName for PrintTaskSourceRequestedDeferral { const NAME: &'static str = "Windows.Graphics.Printing.PrintTaskSourceRequestedDeferral"; } -::windows::core::interface_hierarchy!(PrintTaskSourceRequestedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrintTaskSourceRequestedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrintTaskSourceRequestedDeferral {} unsafe impl ::core::marker::Sync for PrintTaskSourceRequestedDeferral {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] @@ -2055,17 +2055,17 @@ impl StandardPrintTaskOptions { } #[doc(hidden)] pub fn IStandardPrintTaskOptionsStatic ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStandardPrintTaskOptionsStatic2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStandardPrintTaskOptionsStatic3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2115,7 +2115,7 @@ impl ::core::fmt::Debug for PrintBinding { } } impl ::windows::core::RuntimeType for PrintBinding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintBinding;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintBinding;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2148,7 +2148,7 @@ impl ::core::fmt::Debug for PrintBordering { } } impl ::windows::core::RuntimeType for PrintBordering { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintBordering;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintBordering;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2181,7 +2181,7 @@ impl ::core::fmt::Debug for PrintCollation { } } impl ::windows::core::RuntimeType for PrintCollation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintCollation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintCollation;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2215,7 +2215,7 @@ impl ::core::fmt::Debug for PrintColorMode { } } impl ::windows::core::RuntimeType for PrintColorMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintColorMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintColorMode;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2249,7 +2249,7 @@ impl ::core::fmt::Debug for PrintDuplex { } } impl ::windows::core::RuntimeType for PrintDuplex { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintDuplex;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintDuplex;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2285,7 +2285,7 @@ impl ::core::fmt::Debug for PrintHolePunch { } } impl ::windows::core::RuntimeType for PrintHolePunch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintHolePunch;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintHolePunch;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2486,7 +2486,7 @@ impl ::core::fmt::Debug for PrintMediaSize { } } impl ::windows::core::RuntimeType for PrintMediaSize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintMediaSize;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintMediaSize;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2546,7 +2546,7 @@ impl ::core::fmt::Debug for PrintMediaType { } } impl ::windows::core::RuntimeType for PrintMediaType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintMediaType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintMediaType;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2581,7 +2581,7 @@ impl ::core::fmt::Debug for PrintOrientation { } } impl ::windows::core::RuntimeType for PrintOrientation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintOrientation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintOrientation;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2619,7 +2619,7 @@ impl ::core::fmt::Debug for PrintQuality { } } impl ::windows::core::RuntimeType for PrintQuality { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintQuality;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintQuality;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2660,7 +2660,7 @@ impl ::core::fmt::Debug for PrintStaple { } } impl ::windows::core::RuntimeType for PrintStaple { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintStaple;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintStaple;i4)"); } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] @@ -2692,7 +2692,7 @@ impl ::core::fmt::Debug for PrintTaskCompletion { } } impl ::windows::core::RuntimeType for PrintTaskCompletion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintTaskCompletion;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing.PrintTaskCompletion;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Graphics_Printing\"`, `\"Foundation\"`*"] @@ -2723,7 +2723,7 @@ impl ::windows::core::TypeKind for PrintPageDescription { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for PrintPageDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Printing.PrintPageDescription;struct(Windows.Foundation.Size;f4;f4);struct(Windows.Foundation.Rect;f4;f4;f4;f4);u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Printing.PrintPageDescription;struct(Windows.Foundation.Size;f4;f4);struct(Windows.Foundation.Rect;f4;f4;f4;f4);u4;u4)"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for PrintPageDescription { @@ -2744,8 +2744,8 @@ impl ::core::default::Default for PrintPageDescription { pub struct PrintTaskSourceRequestedHandler(pub ::windows::core::IUnknown); impl PrintTaskSourceRequestedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = PrintTaskSourceRequestedHandlerBox:: { vtable: &PrintTaskSourceRequestedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = PrintTaskSourceRequestedHandlerBox:: { vtable: &PrintTaskSourceRequestedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, args: &PrintTaskSourceRequestedArgs) -> ::windows::core::Result<()> { let this = self; @@ -2756,7 +2756,7 @@ impl PrintTaskSourceRequestedHandler { struct PrintTaskSourceRequestedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const PrintTaskSourceRequestedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> PrintTaskSourceRequestedHandlerBox { const VTABLE: PrintTaskSourceRequestedHandler_Vtbl = PrintTaskSourceRequestedHandler_Vtbl { @@ -2765,7 +2765,7 @@ impl) -> ::window }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -2781,7 +2781,7 @@ impl) -> ::window let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -2813,7 +2813,7 @@ unsafe impl ::windows::core::Interface for PrintTaskSourceRequestedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6c109fa8_5cb6_4b3a_8663_f39cb02dc9b4); } impl ::windows::core::RuntimeType for PrintTaskSourceRequestedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6c109fa8-5cb6-4b3a-8663-f39cb02dc9b4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6c109fa8-5cb6-4b3a-8663-f39cb02dc9b4}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs index 4543be4fda..7380dd9f6c 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs @@ -1125,7 +1125,7 @@ impl Print3DManager { } #[doc(hidden)] pub fn IPrint3DManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1141,7 +1141,7 @@ impl ::core::fmt::Debug for Print3DManager { } } impl ::windows::core::RuntimeType for Print3DManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DManager;{4d2fcb0a-7366-4971-8bd5-17c4e3e8c6c0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DManager;{4d2fcb0a-7366-4971-8bd5-17c4e3e8c6c0})"); } impl ::core::clone::Clone for Print3DManager { fn clone(&self) -> Self { @@ -1157,7 +1157,7 @@ unsafe impl ::windows::core::Interface for Print3DManager { impl ::windows::core::RuntimeName for Print3DManager { const NAME: &'static str = "Windows.Graphics.Printing3D.Print3DManager"; } -::windows::core::interface_hierarchy!(Print3DManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DManager {} unsafe impl ::core::marker::Sync for Print3DManager {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1229,7 +1229,7 @@ impl ::core::fmt::Debug for Print3DTask { } } impl ::windows::core::RuntimeType for Print3DTask { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTask;{8ce3d080-2118-4c28-80de-f426d70191ae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTask;{8ce3d080-2118-4c28-80de-f426d70191ae})"); } impl ::core::clone::Clone for Print3DTask { fn clone(&self) -> Self { @@ -1245,7 +1245,7 @@ unsafe impl ::windows::core::Interface for Print3DTask { impl ::windows::core::RuntimeName for Print3DTask { const NAME: &'static str = "Windows.Graphics.Printing3D.Print3DTask"; } -::windows::core::interface_hierarchy!(Print3DTask, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DTask, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DTask {} unsafe impl ::core::marker::Sync for Print3DTask {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1279,7 +1279,7 @@ impl ::core::fmt::Debug for Print3DTaskCompletedEventArgs { } } impl ::windows::core::RuntimeType for Print3DTaskCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskCompletedEventArgs;{cc1914af-2614-4f1d-accc-d6fc4fda5455})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskCompletedEventArgs;{cc1914af-2614-4f1d-accc-d6fc4fda5455})"); } impl ::core::clone::Clone for Print3DTaskCompletedEventArgs { fn clone(&self) -> Self { @@ -1295,7 +1295,7 @@ unsafe impl ::windows::core::Interface for Print3DTaskCompletedEventArgs { impl ::windows::core::RuntimeName for Print3DTaskCompletedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing3D.Print3DTaskCompletedEventArgs"; } -::windows::core::interface_hierarchy!(Print3DTaskCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DTaskCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DTaskCompletedEventArgs {} unsafe impl ::core::marker::Sync for Print3DTaskCompletedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1322,7 +1322,7 @@ impl ::core::fmt::Debug for Print3DTaskRequest { } } impl ::windows::core::RuntimeType for Print3DTaskRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskRequest;{2595c46f-2245-4c5a-8731-0d604dc6bc3c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskRequest;{2595c46f-2245-4c5a-8731-0d604dc6bc3c})"); } impl ::core::clone::Clone for Print3DTaskRequest { fn clone(&self) -> Self { @@ -1338,7 +1338,7 @@ unsafe impl ::windows::core::Interface for Print3DTaskRequest { impl ::windows::core::RuntimeName for Print3DTaskRequest { const NAME: &'static str = "Windows.Graphics.Printing3D.Print3DTaskRequest"; } -::windows::core::interface_hierarchy!(Print3DTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DTaskRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DTaskRequest {} unsafe impl ::core::marker::Sync for Print3DTaskRequest {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1365,7 +1365,7 @@ impl ::core::fmt::Debug for Print3DTaskRequestedEventArgs { } } impl ::windows::core::RuntimeType for Print3DTaskRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskRequestedEventArgs;{150cb77f-18c5-40d7-9f40-fab3096e05a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskRequestedEventArgs;{150cb77f-18c5-40d7-9f40-fab3096e05a9})"); } impl ::core::clone::Clone for Print3DTaskRequestedEventArgs { fn clone(&self) -> Self { @@ -1381,7 +1381,7 @@ unsafe impl ::windows::core::Interface for Print3DTaskRequestedEventArgs { impl ::windows::core::RuntimeName for Print3DTaskRequestedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing3D.Print3DTaskRequestedEventArgs"; } -::windows::core::interface_hierarchy!(Print3DTaskRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DTaskRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DTaskRequestedEventArgs {} unsafe impl ::core::marker::Sync for Print3DTaskRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1408,7 +1408,7 @@ impl ::core::fmt::Debug for Print3DTaskSourceChangedEventArgs { } } impl ::windows::core::RuntimeType for Print3DTaskSourceChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskSourceChangedEventArgs;{5bcd34af-24e9-4c10-8d07-14c346ba3fcf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskSourceChangedEventArgs;{5bcd34af-24e9-4c10-8d07-14c346ba3fcf})"); } impl ::core::clone::Clone for Print3DTaskSourceChangedEventArgs { fn clone(&self) -> Self { @@ -1424,7 +1424,7 @@ unsafe impl ::windows::core::Interface for Print3DTaskSourceChangedEventArgs { impl ::windows::core::RuntimeName for Print3DTaskSourceChangedEventArgs { const NAME: &'static str = "Windows.Graphics.Printing3D.Print3DTaskSourceChangedEventArgs"; } -::windows::core::interface_hierarchy!(Print3DTaskSourceChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DTaskSourceChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DTaskSourceChangedEventArgs {} unsafe impl ::core::marker::Sync for Print3DTaskSourceChangedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1448,7 +1448,7 @@ impl ::core::fmt::Debug for Print3DTaskSourceRequestedArgs { } } impl ::windows::core::RuntimeType for Print3DTaskSourceRequestedArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskSourceRequestedArgs;{c77c9aba-24af-424d-a3bf-92250c355602})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskSourceRequestedArgs;{c77c9aba-24af-424d-a3bf-92250c355602})"); } impl ::core::clone::Clone for Print3DTaskSourceRequestedArgs { fn clone(&self) -> Self { @@ -1464,7 +1464,7 @@ unsafe impl ::windows::core::Interface for Print3DTaskSourceRequestedArgs { impl ::windows::core::RuntimeName for Print3DTaskSourceRequestedArgs { const NAME: &'static str = "Windows.Graphics.Printing3D.Print3DTaskSourceRequestedArgs"; } -::windows::core::interface_hierarchy!(Print3DTaskSourceRequestedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Print3DTaskSourceRequestedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Print3DTaskSourceRequestedArgs {} unsafe impl ::core::marker::Sync for Print3DTaskSourceRequestedArgs {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1474,8 +1474,8 @@ impl Printing3D3MFPackage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -1592,7 +1592,7 @@ impl Printing3D3MFPackage { } #[doc(hidden)] pub fn IPrinting3D3MFPackageStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1608,7 +1608,7 @@ impl ::core::fmt::Debug for Printing3D3MFPackage { } } impl ::windows::core::RuntimeType for Printing3D3MFPackage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3D3MFPackage;{f64dd5c8-2ab7-45a9-a1b7-267e948d5b18})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3D3MFPackage;{f64dd5c8-2ab7-45a9-a1b7-267e948d5b18})"); } impl ::core::clone::Clone for Printing3D3MFPackage { fn clone(&self) -> Self { @@ -1624,7 +1624,7 @@ unsafe impl ::windows::core::Interface for Printing3D3MFPackage { impl ::windows::core::RuntimeName for Printing3D3MFPackage { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3D3MFPackage"; } -::windows::core::interface_hierarchy!(Printing3D3MFPackage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3D3MFPackage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3D3MFPackage {} unsafe impl ::core::marker::Sync for Printing3D3MFPackage {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1634,8 +1634,8 @@ impl Printing3DBaseMaterial { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1674,7 +1674,7 @@ impl Printing3DBaseMaterial { } #[doc(hidden)] pub fn IPrinting3DBaseMaterialStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1690,7 +1690,7 @@ impl ::core::fmt::Debug for Printing3DBaseMaterial { } } impl ::windows::core::RuntimeType for Printing3DBaseMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DBaseMaterial;{d0f0e743-c50c-4bcb-9d04-fc16adcea2c9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DBaseMaterial;{d0f0e743-c50c-4bcb-9d04-fc16adcea2c9})"); } impl ::core::clone::Clone for Printing3DBaseMaterial { fn clone(&self) -> Self { @@ -1706,7 +1706,7 @@ unsafe impl ::windows::core::Interface for Printing3DBaseMaterial { impl ::windows::core::RuntimeName for Printing3DBaseMaterial { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DBaseMaterial"; } -::windows::core::interface_hierarchy!(Printing3DBaseMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DBaseMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DBaseMaterial {} unsafe impl ::core::marker::Sync for Printing3DBaseMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1737,7 +1737,7 @@ impl Printing3DBaseMaterialGroup { } #[doc(hidden)] pub fn IPrinting3DBaseMaterialGroupFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1753,7 +1753,7 @@ impl ::core::fmt::Debug for Printing3DBaseMaterialGroup { } } impl ::windows::core::RuntimeType for Printing3DBaseMaterialGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DBaseMaterialGroup;{94f070b8-2515-4a8d-a1f0-d0fc13d06021})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DBaseMaterialGroup;{94f070b8-2515-4a8d-a1f0-d0fc13d06021})"); } impl ::core::clone::Clone for Printing3DBaseMaterialGroup { fn clone(&self) -> Self { @@ -1769,7 +1769,7 @@ unsafe impl ::windows::core::Interface for Printing3DBaseMaterialGroup { impl ::windows::core::RuntimeName for Printing3DBaseMaterialGroup { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DBaseMaterialGroup"; } -::windows::core::interface_hierarchy!(Printing3DBaseMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DBaseMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DBaseMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DBaseMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1779,8 +1779,8 @@ impl Printing3DColorMaterial { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Value(&self) -> ::windows::core::Result { @@ -1822,7 +1822,7 @@ impl ::core::fmt::Debug for Printing3DColorMaterial { } } impl ::windows::core::RuntimeType for Printing3DColorMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DColorMaterial;{e1899928-7ce7-4285-a35d-f145c9510c7b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DColorMaterial;{e1899928-7ce7-4285-a35d-f145c9510c7b})"); } impl ::core::clone::Clone for Printing3DColorMaterial { fn clone(&self) -> Self { @@ -1838,7 +1838,7 @@ unsafe impl ::windows::core::Interface for Printing3DColorMaterial { impl ::windows::core::RuntimeName for Printing3DColorMaterial { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DColorMaterial"; } -::windows::core::interface_hierarchy!(Printing3DColorMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DColorMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DColorMaterial {} unsafe impl ::core::marker::Sync for Printing3DColorMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1869,7 +1869,7 @@ impl Printing3DColorMaterialGroup { } #[doc(hidden)] pub fn IPrinting3DColorMaterialGroupFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1885,7 +1885,7 @@ impl ::core::fmt::Debug for Printing3DColorMaterialGroup { } } impl ::windows::core::RuntimeType for Printing3DColorMaterialGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DColorMaterialGroup;{001a6bd0-aadf-4226-afe9-f369a0b45004})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DColorMaterialGroup;{001a6bd0-aadf-4226-afe9-f369a0b45004})"); } impl ::core::clone::Clone for Printing3DColorMaterialGroup { fn clone(&self) -> Self { @@ -1901,7 +1901,7 @@ unsafe impl ::windows::core::Interface for Printing3DColorMaterialGroup { impl ::windows::core::RuntimeName for Printing3DColorMaterialGroup { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DColorMaterialGroup"; } -::windows::core::interface_hierarchy!(Printing3DColorMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DColorMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DColorMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DColorMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -1911,8 +1911,8 @@ impl Printing3DComponent { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Mesh(&self) -> ::windows::core::Result { @@ -1992,7 +1992,7 @@ impl ::core::fmt::Debug for Printing3DComponent { } } impl ::windows::core::RuntimeType for Printing3DComponent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DComponent;{7e287845-bf7f-4cdb-a27f-30a01437fede})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DComponent;{7e287845-bf7f-4cdb-a27f-30a01437fede})"); } impl ::core::clone::Clone for Printing3DComponent { fn clone(&self) -> Self { @@ -2008,7 +2008,7 @@ unsafe impl ::windows::core::Interface for Printing3DComponent { impl ::windows::core::RuntimeName for Printing3DComponent { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DComponent"; } -::windows::core::interface_hierarchy!(Printing3DComponent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DComponent, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DComponent {} unsafe impl ::core::marker::Sync for Printing3DComponent {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2018,8 +2018,8 @@ impl Printing3DComponentWithMatrix { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Component(&self) -> ::windows::core::Result { @@ -2061,7 +2061,7 @@ impl ::core::fmt::Debug for Printing3DComponentWithMatrix { } } impl ::windows::core::RuntimeType for Printing3DComponentWithMatrix { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DComponentWithMatrix;{3279f335-0ef0-456b-9a21-49bebe8b51c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DComponentWithMatrix;{3279f335-0ef0-456b-9a21-49bebe8b51c2})"); } impl ::core::clone::Clone for Printing3DComponentWithMatrix { fn clone(&self) -> Self { @@ -2077,7 +2077,7 @@ unsafe impl ::windows::core::Interface for Printing3DComponentWithMatrix { impl ::windows::core::RuntimeName for Printing3DComponentWithMatrix { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DComponentWithMatrix"; } -::windows::core::interface_hierarchy!(Printing3DComponentWithMatrix, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DComponentWithMatrix, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DComponentWithMatrix {} unsafe impl ::core::marker::Sync for Printing3DComponentWithMatrix {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2087,8 +2087,8 @@ impl Printing3DCompositeMaterial { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2113,7 +2113,7 @@ impl ::core::fmt::Debug for Printing3DCompositeMaterial { } } impl ::windows::core::RuntimeType for Printing3DCompositeMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DCompositeMaterial;{462238dd-562e-4f6c-882d-f4d841fd63c7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DCompositeMaterial;{462238dd-562e-4f6c-882d-f4d841fd63c7})"); } impl ::core::clone::Clone for Printing3DCompositeMaterial { fn clone(&self) -> Self { @@ -2129,7 +2129,7 @@ unsafe impl ::windows::core::Interface for Printing3DCompositeMaterial { impl ::windows::core::RuntimeName for Printing3DCompositeMaterial { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DCompositeMaterial"; } -::windows::core::interface_hierarchy!(Printing3DCompositeMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DCompositeMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DCompositeMaterial {} unsafe impl ::core::marker::Sync for Printing3DCompositeMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2180,7 +2180,7 @@ impl Printing3DCompositeMaterialGroup { } #[doc(hidden)] pub fn IPrinting3DCompositeMaterialGroupFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2196,7 +2196,7 @@ impl ::core::fmt::Debug for Printing3DCompositeMaterialGroup { } } impl ::windows::core::RuntimeType for Printing3DCompositeMaterialGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DCompositeMaterialGroup;{8d946a5b-40f1-496d-a5fb-340a5a678e30})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DCompositeMaterialGroup;{8d946a5b-40f1-496d-a5fb-340a5a678e30})"); } impl ::core::clone::Clone for Printing3DCompositeMaterialGroup { fn clone(&self) -> Self { @@ -2212,7 +2212,7 @@ unsafe impl ::windows::core::Interface for Printing3DCompositeMaterialGroup { impl ::windows::core::RuntimeName for Printing3DCompositeMaterialGroup { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DCompositeMaterialGroup"; } -::windows::core::interface_hierarchy!(Printing3DCompositeMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DCompositeMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DCompositeMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DCompositeMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2222,8 +2222,8 @@ impl Printing3DFaceReductionOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MaxReductionArea(&self) -> ::windows::core::Result { @@ -2272,7 +2272,7 @@ impl ::core::fmt::Debug for Printing3DFaceReductionOptions { } } impl ::windows::core::RuntimeType for Printing3DFaceReductionOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DFaceReductionOptions;{bbfed397-2d74-46f7-be85-99a67bbb6629})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DFaceReductionOptions;{bbfed397-2d74-46f7-be85-99a67bbb6629})"); } impl ::core::clone::Clone for Printing3DFaceReductionOptions { fn clone(&self) -> Self { @@ -2288,7 +2288,7 @@ unsafe impl ::windows::core::Interface for Printing3DFaceReductionOptions { impl ::windows::core::RuntimeName for Printing3DFaceReductionOptions { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DFaceReductionOptions"; } -::windows::core::interface_hierarchy!(Printing3DFaceReductionOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DFaceReductionOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DFaceReductionOptions {} unsafe impl ::core::marker::Sync for Printing3DFaceReductionOptions {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2298,8 +2298,8 @@ impl Printing3DMaterial { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2360,7 +2360,7 @@ impl ::core::fmt::Debug for Printing3DMaterial { } } impl ::windows::core::RuntimeType for Printing3DMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMaterial;{378db256-ed62-4952-b85b-03567d7c465e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMaterial;{378db256-ed62-4952-b85b-03567d7c465e})"); } impl ::core::clone::Clone for Printing3DMaterial { fn clone(&self) -> Self { @@ -2376,7 +2376,7 @@ unsafe impl ::windows::core::Interface for Printing3DMaterial { impl ::windows::core::RuntimeName for Printing3DMaterial { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DMaterial"; } -::windows::core::interface_hierarchy!(Printing3DMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DMaterial {} unsafe impl ::core::marker::Sync for Printing3DMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2386,8 +2386,8 @@ impl Printing3DMesh { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn VertexCount(&self) -> ::windows::core::Result { @@ -2548,7 +2548,7 @@ impl ::core::fmt::Debug for Printing3DMesh { } } impl ::windows::core::RuntimeType for Printing3DMesh { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMesh;{192e90dc-0228-2e01-bc20-c5290cbf32c4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMesh;{192e90dc-0228-2e01-bc20-c5290cbf32c4})"); } impl ::core::clone::Clone for Printing3DMesh { fn clone(&self) -> Self { @@ -2564,7 +2564,7 @@ unsafe impl ::windows::core::Interface for Printing3DMesh { impl ::windows::core::RuntimeName for Printing3DMesh { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DMesh"; } -::windows::core::interface_hierarchy!(Printing3DMesh, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DMesh, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DMesh {} unsafe impl ::core::marker::Sync for Printing3DMesh {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2609,7 +2609,7 @@ impl ::core::fmt::Debug for Printing3DMeshVerificationResult { } } impl ::windows::core::RuntimeType for Printing3DMeshVerificationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMeshVerificationResult;{195671ba-e93a-4e8a-a46f-dea8e852197e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMeshVerificationResult;{195671ba-e93a-4e8a-a46f-dea8e852197e})"); } impl ::core::clone::Clone for Printing3DMeshVerificationResult { fn clone(&self) -> Self { @@ -2625,7 +2625,7 @@ unsafe impl ::windows::core::Interface for Printing3DMeshVerificationResult { impl ::windows::core::RuntimeName for Printing3DMeshVerificationResult { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DMeshVerificationResult"; } -::windows::core::interface_hierarchy!(Printing3DMeshVerificationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DMeshVerificationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DMeshVerificationResult {} unsafe impl ::core::marker::Sync for Printing3DMeshVerificationResult {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2635,8 +2635,8 @@ impl Printing3DModel { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Unit(&self) -> ::windows::core::Result { @@ -2811,7 +2811,7 @@ impl ::core::fmt::Debug for Printing3DModel { } } impl ::windows::core::RuntimeType for Printing3DModel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DModel;{2d012ef0-52fb-919a-77b0-4b1a3b80324f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DModel;{2d012ef0-52fb-919a-77b0-4b1a3b80324f})"); } impl ::core::clone::Clone for Printing3DModel { fn clone(&self) -> Self { @@ -2827,7 +2827,7 @@ unsafe impl ::windows::core::Interface for Printing3DModel { impl ::windows::core::RuntimeName for Printing3DModel { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DModel"; } -::windows::core::interface_hierarchy!(Printing3DModel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DModel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DModel {} unsafe impl ::core::marker::Sync for Printing3DModel {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2837,8 +2837,8 @@ impl Printing3DModelTexture { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TextureResource(&self) -> ::windows::core::Result { @@ -2887,7 +2887,7 @@ impl ::core::fmt::Debug for Printing3DModelTexture { } } impl ::windows::core::RuntimeType for Printing3DModelTexture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DModelTexture;{5dafcf01-b59d-483c-97bb-a4d546d1c75c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DModelTexture;{5dafcf01-b59d-483c-97bb-a4d546d1c75c})"); } impl ::core::clone::Clone for Printing3DModelTexture { fn clone(&self) -> Self { @@ -2903,7 +2903,7 @@ unsafe impl ::windows::core::Interface for Printing3DModelTexture { impl ::windows::core::RuntimeName for Printing3DModelTexture { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DModelTexture"; } -::windows::core::interface_hierarchy!(Printing3DModelTexture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DModelTexture, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DModelTexture {} unsafe impl ::core::marker::Sync for Printing3DModelTexture {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2913,8 +2913,8 @@ impl Printing3DMultiplePropertyMaterial { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2939,7 +2939,7 @@ impl ::core::fmt::Debug for Printing3DMultiplePropertyMaterial { } } impl ::windows::core::RuntimeType for Printing3DMultiplePropertyMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterial;{25a6254b-c6e9-484d-a214-a25e5776ba62})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterial;{25a6254b-c6e9-484d-a214-a25e5776ba62})"); } impl ::core::clone::Clone for Printing3DMultiplePropertyMaterial { fn clone(&self) -> Self { @@ -2955,7 +2955,7 @@ unsafe impl ::windows::core::Interface for Printing3DMultiplePropertyMaterial { impl ::windows::core::RuntimeName for Printing3DMultiplePropertyMaterial { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterial"; } -::windows::core::interface_hierarchy!(Printing3DMultiplePropertyMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DMultiplePropertyMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DMultiplePropertyMaterial {} unsafe impl ::core::marker::Sync for Printing3DMultiplePropertyMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -2995,7 +2995,7 @@ impl Printing3DMultiplePropertyMaterialGroup { } #[doc(hidden)] pub fn IPrinting3DMultiplePropertyMaterialGroupFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3011,7 +3011,7 @@ impl ::core::fmt::Debug for Printing3DMultiplePropertyMaterialGroup { } } impl ::windows::core::RuntimeType for Printing3DMultiplePropertyMaterialGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterialGroup;{f0950519-aeb9-4515-a39b-a088fbbb277c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterialGroup;{f0950519-aeb9-4515-a39b-a088fbbb277c})"); } impl ::core::clone::Clone for Printing3DMultiplePropertyMaterialGroup { fn clone(&self) -> Self { @@ -3027,7 +3027,7 @@ unsafe impl ::windows::core::Interface for Printing3DMultiplePropertyMaterialGro impl ::windows::core::RuntimeName for Printing3DMultiplePropertyMaterialGroup { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterialGroup"; } -::windows::core::interface_hierarchy!(Printing3DMultiplePropertyMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DMultiplePropertyMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DMultiplePropertyMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DMultiplePropertyMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -3037,8 +3037,8 @@ impl Printing3DTexture2CoordMaterial { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Texture(&self) -> ::windows::core::Result { @@ -3087,7 +3087,7 @@ impl ::core::fmt::Debug for Printing3DTexture2CoordMaterial { } } impl ::windows::core::RuntimeType for Printing3DTexture2CoordMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterial;{8d844bfb-07e9-4986-9833-8dd3d48c6859})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterial;{8d844bfb-07e9-4986-9833-8dd3d48c6859})"); } impl ::core::clone::Clone for Printing3DTexture2CoordMaterial { fn clone(&self) -> Self { @@ -3103,7 +3103,7 @@ unsafe impl ::windows::core::Interface for Printing3DTexture2CoordMaterial { impl ::windows::core::RuntimeName for Printing3DTexture2CoordMaterial { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterial"; } -::windows::core::interface_hierarchy!(Printing3DTexture2CoordMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DTexture2CoordMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DTexture2CoordMaterial {} unsafe impl ::core::marker::Sync for Printing3DTexture2CoordMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -3145,7 +3145,7 @@ impl Printing3DTexture2CoordMaterialGroup { } #[doc(hidden)] pub fn IPrinting3DTexture2CoordMaterialGroupFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3161,7 +3161,7 @@ impl ::core::fmt::Debug for Printing3DTexture2CoordMaterialGroup { } } impl ::windows::core::RuntimeType for Printing3DTexture2CoordMaterialGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterialGroup;{627d7ca7-6d90-4fb9-9fc4-9feff3dfa892})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterialGroup;{627d7ca7-6d90-4fb9-9fc4-9feff3dfa892})"); } impl ::core::clone::Clone for Printing3DTexture2CoordMaterialGroup { fn clone(&self) -> Self { @@ -3177,7 +3177,7 @@ unsafe impl ::windows::core::Interface for Printing3DTexture2CoordMaterialGroup impl ::windows::core::RuntimeName for Printing3DTexture2CoordMaterialGroup { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterialGroup"; } -::windows::core::interface_hierarchy!(Printing3DTexture2CoordMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DTexture2CoordMaterialGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DTexture2CoordMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DTexture2CoordMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -3187,8 +3187,8 @@ impl Printing3DTextureResource { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -3234,7 +3234,7 @@ impl ::core::fmt::Debug for Printing3DTextureResource { } } impl ::windows::core::RuntimeType for Printing3DTextureResource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTextureResource;{a70df32d-6ab1-44ae-bc45-a27382c0d38c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTextureResource;{a70df32d-6ab1-44ae-bc45-a27382c0d38c})"); } impl ::core::clone::Clone for Printing3DTextureResource { fn clone(&self) -> Self { @@ -3250,7 +3250,7 @@ unsafe impl ::windows::core::Interface for Printing3DTextureResource { impl ::windows::core::RuntimeName for Printing3DTextureResource { const NAME: &'static str = "Windows.Graphics.Printing3D.Printing3DTextureResource"; } -::windows::core::interface_hierarchy!(Printing3DTextureResource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Printing3DTextureResource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Printing3DTextureResource {} unsafe impl ::core::marker::Sync for Printing3DTextureResource {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -3284,7 +3284,7 @@ impl ::core::fmt::Debug for Print3DTaskCompletion { } } impl ::windows::core::RuntimeType for Print3DTaskCompletion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Print3DTaskCompletion;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Print3DTaskCompletion;i4)"); } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] @@ -3319,7 +3319,7 @@ impl ::core::fmt::Debug for Print3DTaskDetail { } } impl ::windows::core::RuntimeType for Print3DTaskDetail { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Print3DTaskDetail;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Print3DTaskDetail;i4)"); } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] @@ -3354,7 +3354,7 @@ impl ::core::fmt::Debug for Printing3DBufferFormat { } } impl ::windows::core::RuntimeType for Printing3DBufferFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DBufferFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DBufferFormat;i4)"); } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] @@ -3384,7 +3384,7 @@ impl ::core::fmt::Debug for Printing3DMeshVerificationMode { } } impl ::windows::core::RuntimeType for Printing3DMeshVerificationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DMeshVerificationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DMeshVerificationMode;i4)"); } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] @@ -3418,7 +3418,7 @@ impl ::core::fmt::Debug for Printing3DModelUnit { } } impl ::windows::core::RuntimeType for Printing3DModelUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DModelUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DModelUnit;i4)"); } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] @@ -3449,7 +3449,7 @@ impl ::core::fmt::Debug for Printing3DObjectType { } } impl ::windows::core::RuntimeType for Printing3DObjectType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DObjectType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DObjectType;i4)"); } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] @@ -3480,7 +3480,7 @@ impl ::core::fmt::Debug for Printing3DPackageCompression { } } impl ::windows::core::RuntimeType for Printing3DPackageCompression { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DPackageCompression;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DPackageCompression;i4)"); } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] @@ -3512,7 +3512,7 @@ impl ::core::fmt::Debug for Printing3DTextureEdgeBehavior { } } impl ::windows::core::RuntimeType for Printing3DTextureEdgeBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DTextureEdgeBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Graphics.Printing3D.Printing3DTextureEdgeBehavior;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] @@ -3535,7 +3535,7 @@ impl ::windows::core::TypeKind for Printing3DBufferDescription { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Printing3DBufferDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.Printing3D.Printing3DBufferDescription;enum(Windows.Graphics.Printing3D.Printing3DBufferFormat;i4);u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.Printing3D.Printing3DBufferDescription;enum(Windows.Graphics.Printing3D.Printing3DBufferFormat;i4);u4)"); } impl ::core::cmp::PartialEq for Printing3DBufferDescription { fn eq(&self, other: &Self) -> bool { @@ -3553,8 +3553,8 @@ impl ::core::default::Default for Printing3DBufferDescription { pub struct Print3DTaskSourceRequestedHandler(pub ::windows::core::IUnknown); impl Print3DTaskSourceRequestedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = Print3DTaskSourceRequestedHandlerBox:: { vtable: &Print3DTaskSourceRequestedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = Print3DTaskSourceRequestedHandlerBox:: { vtable: &Print3DTaskSourceRequestedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, args: &Print3DTaskSourceRequestedArgs) -> ::windows::core::Result<()> { let this = self; @@ -3565,7 +3565,7 @@ impl Print3DTaskSourceRequestedHandler { struct Print3DTaskSourceRequestedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const Print3DTaskSourceRequestedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> Print3DTaskSourceRequestedHandlerBox { const VTABLE: Print3DTaskSourceRequestedHandler_Vtbl = Print3DTaskSourceRequestedHandler_Vtbl { @@ -3574,7 +3574,7 @@ impl) -> ::wind }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3590,7 +3590,7 @@ impl) -> ::wind let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -3622,7 +3622,7 @@ unsafe impl ::windows::core::Interface for Print3DTaskSourceRequestedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe9175e70_c917_46de_bb51_d9a94db3711f); } impl ::windows::core::RuntimeType for Print3DTaskSourceRequestedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e9175e70-c917-46de-bb51-d9a94db3711f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e9175e70-c917-46de-bb51-d9a94db3711f}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Graphics/mod.rs b/crates/libs/windows/src/Windows/Graphics/mod.rs index 43f4c0da08..e6df8ede5a 100644 --- a/crates/libs/windows/src/Windows/Graphics/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/mod.rs @@ -18,7 +18,7 @@ pub mod Printing3D; #[repr(transparent)] pub struct IGeometrySource2D(::windows::core::IUnknown); impl IGeometrySource2D {} -::windows::core::interface_hierarchy!(IGeometrySource2D, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IGeometrySource2D, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IGeometrySource2D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31,7 +31,7 @@ impl ::core::fmt::Debug for IGeometrySource2D { } } impl ::windows::core::RuntimeType for IGeometrySource2D { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{caff7902-670c-4181-a624-da977203b845}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{caff7902-670c-4181-a624-da977203b845}"); } unsafe impl ::windows::core::Vtable for IGeometrySource2D { type Vtable = IGeometrySource2D_Vtbl; @@ -70,7 +70,7 @@ impl ::windows::core::TypeKind for DisplayAdapterId { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for DisplayAdapterId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.DisplayAdapterId;u4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.DisplayAdapterId;u4;i4)"); } impl ::core::cmp::PartialEq for DisplayAdapterId { fn eq(&self, other: &Self) -> bool { @@ -103,7 +103,7 @@ impl ::windows::core::TypeKind for DisplayId { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for DisplayId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.DisplayId;u8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.DisplayId;u8)"); } impl ::core::cmp::PartialEq for DisplayId { fn eq(&self, other: &Self) -> bool { @@ -137,7 +137,7 @@ impl ::windows::core::TypeKind for PointInt32 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for PointInt32 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.PointInt32;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.PointInt32;i4;i4)"); } impl ::core::cmp::PartialEq for PointInt32 { fn eq(&self, other: &Self) -> bool { @@ -173,7 +173,7 @@ impl ::windows::core::TypeKind for RectInt32 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for RectInt32 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.RectInt32;i4;i4;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.RectInt32;i4;i4;i4;i4)"); } impl ::core::cmp::PartialEq for RectInt32 { fn eq(&self, other: &Self) -> bool { @@ -207,7 +207,7 @@ impl ::windows::core::TypeKind for SizeInt32 { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for SizeInt32 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Graphics.SizeInt32;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Graphics.SizeInt32;i4;i4)"); } impl ::core::cmp::PartialEq for SizeInt32 { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Management/Core/mod.rs b/crates/libs/windows/src/Windows/Management/Core/mod.rs index 0e6d79d418..b1d41778d8 100644 --- a/crates/libs/windows/src/Windows/Management/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Core/mod.rs @@ -54,7 +54,7 @@ impl ApplicationDataManager { } #[doc(hidden)] pub fn IApplicationDataManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -70,7 +70,7 @@ impl ::core::fmt::Debug for ApplicationDataManager { } } impl ::windows::core::RuntimeType for ApplicationDataManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Core.ApplicationDataManager;{74d10432-2e99-4000-9a3a-64307e858129})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Core.ApplicationDataManager;{74d10432-2e99-4000-9a3a-64307e858129})"); } impl ::core::clone::Clone for ApplicationDataManager { fn clone(&self) -> Self { @@ -86,7 +86,7 @@ unsafe impl ::windows::core::Interface for ApplicationDataManager { impl ::windows::core::RuntimeName for ApplicationDataManager { const NAME: &'static str = "Windows.Management.Core.ApplicationDataManager"; } -::windows::core::interface_hierarchy!(ApplicationDataManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationDataManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ApplicationDataManager {} unsafe impl ::core::marker::Sync for ApplicationDataManager {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs index 5c98c94d11..21015927ec 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs @@ -50,7 +50,7 @@ impl ClassicAppManager { } #[doc(hidden)] pub fn IClassicAppManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -88,7 +88,7 @@ impl ::core::fmt::Debug for InstalledClassicAppInfo { } } impl ::windows::core::RuntimeType for InstalledClassicAppInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.Preview.InstalledClassicAppInfo;{0a7d3da3-65d0-4086-80d6-0610d760207d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.Preview.InstalledClassicAppInfo;{0a7d3da3-65d0-4086-80d6-0610d760207d})"); } impl ::core::clone::Clone for InstalledClassicAppInfo { fn clone(&self) -> Self { @@ -104,7 +104,7 @@ unsafe impl ::windows::core::Interface for InstalledClassicAppInfo { impl ::windows::core::RuntimeName for InstalledClassicAppInfo { const NAME: &'static str = "Windows.Management.Deployment.Preview.InstalledClassicAppInfo"; } -::windows::core::interface_hierarchy!(InstalledClassicAppInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InstalledClassicAppInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InstalledClassicAppInfo {} unsafe impl ::core::marker::Sync for InstalledClassicAppInfo {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs index 105522e094..5750d779d8 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs @@ -1304,8 +1304,8 @@ impl AddPackageOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1524,7 +1524,7 @@ impl ::core::fmt::Debug for AddPackageOptions { } } impl ::windows::core::RuntimeType for AddPackageOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AddPackageOptions;{05cee018-f68f-422b-95a4-66679ec77fc0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AddPackageOptions;{05cee018-f68f-422b-95a4-66679ec77fc0})"); } impl ::core::clone::Clone for AddPackageOptions { fn clone(&self) -> Self { @@ -1540,7 +1540,7 @@ unsafe impl ::windows::core::Interface for AddPackageOptions { impl ::windows::core::RuntimeName for AddPackageOptions { const NAME: &'static str = "Windows.Management.Deployment.AddPackageOptions"; } -::windows::core::interface_hierarchy!(AddPackageOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AddPackageOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AddPackageOptions {} unsafe impl ::core::marker::Sync for AddPackageOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -1575,7 +1575,7 @@ impl AppInstallerManager { } #[doc(hidden)] pub fn IAppInstallerManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1591,7 +1591,7 @@ impl ::core::fmt::Debug for AppInstallerManager { } } impl ::windows::core::RuntimeType for AppInstallerManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AppInstallerManager;{e7ee21c3-2103-53ee-9b18-68afeab0033d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AppInstallerManager;{e7ee21c3-2103-53ee-9b18-68afeab0033d})"); } impl ::core::clone::Clone for AppInstallerManager { fn clone(&self) -> Self { @@ -1607,7 +1607,7 @@ unsafe impl ::windows::core::Interface for AppInstallerManager { impl ::windows::core::RuntimeName for AppInstallerManager { const NAME: &'static str = "Windows.Management.Deployment.AppInstallerManager"; } -::windows::core::interface_hierarchy!(AppInstallerManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppInstallerManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppInstallerManager {} unsafe impl ::core::marker::Sync for AppInstallerManager {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -1617,8 +1617,8 @@ impl AutoUpdateSettingsOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -1774,7 +1774,7 @@ impl AutoUpdateSettingsOptions { } #[doc(hidden)] pub fn IAutoUpdateSettingsOptionsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1790,7 +1790,7 @@ impl ::core::fmt::Debug for AutoUpdateSettingsOptions { } } impl ::windows::core::RuntimeType for AutoUpdateSettingsOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AutoUpdateSettingsOptions;{67491d87-35e1-512a-8968-1ae88d1be6d3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AutoUpdateSettingsOptions;{67491d87-35e1-512a-8968-1ae88d1be6d3})"); } impl ::core::clone::Clone for AutoUpdateSettingsOptions { fn clone(&self) -> Self { @@ -1806,7 +1806,7 @@ unsafe impl ::windows::core::Interface for AutoUpdateSettingsOptions { impl ::windows::core::RuntimeName for AutoUpdateSettingsOptions { const NAME: &'static str = "Windows.Management.Deployment.AutoUpdateSettingsOptions"; } -::windows::core::interface_hierarchy!(AutoUpdateSettingsOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AutoUpdateSettingsOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AutoUpdateSettingsOptions {} unsafe impl ::core::marker::Sync for AutoUpdateSettingsOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -1816,8 +1816,8 @@ impl CreateSharedPackageContainerOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1864,7 +1864,7 @@ impl ::core::fmt::Debug for CreateSharedPackageContainerOptions { } } impl ::windows::core::RuntimeType for CreateSharedPackageContainerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.CreateSharedPackageContainerOptions;{c2ab6ece-f664-5c8e-a4b3-2a33276d3dde})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.CreateSharedPackageContainerOptions;{c2ab6ece-f664-5c8e-a4b3-2a33276d3dde})"); } impl ::core::clone::Clone for CreateSharedPackageContainerOptions { fn clone(&self) -> Self { @@ -1880,7 +1880,7 @@ unsafe impl ::windows::core::Interface for CreateSharedPackageContainerOptions { impl ::windows::core::RuntimeName for CreateSharedPackageContainerOptions { const NAME: &'static str = "Windows.Management.Deployment.CreateSharedPackageContainerOptions"; } -::windows::core::interface_hierarchy!(CreateSharedPackageContainerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CreateSharedPackageContainerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CreateSharedPackageContainerOptions {} unsafe impl ::core::marker::Sync for CreateSharedPackageContainerOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -1921,7 +1921,7 @@ impl ::core::fmt::Debug for CreateSharedPackageContainerResult { } } impl ::windows::core::RuntimeType for CreateSharedPackageContainerResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.CreateSharedPackageContainerResult;{ce8810bf-151c-5707-b936-497e564afc7a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.CreateSharedPackageContainerResult;{ce8810bf-151c-5707-b936-497e564afc7a})"); } impl ::core::clone::Clone for CreateSharedPackageContainerResult { fn clone(&self) -> Self { @@ -1937,7 +1937,7 @@ unsafe impl ::windows::core::Interface for CreateSharedPackageContainerResult { impl ::windows::core::RuntimeName for CreateSharedPackageContainerResult { const NAME: &'static str = "Windows.Management.Deployment.CreateSharedPackageContainerResult"; } -::windows::core::interface_hierarchy!(CreateSharedPackageContainerResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CreateSharedPackageContainerResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CreateSharedPackageContainerResult {} unsafe impl ::core::marker::Sync for CreateSharedPackageContainerResult {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -1947,8 +1947,8 @@ impl DeleteSharedPackageContainerOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ForceAppShutdown(&self) -> ::windows::core::Result { @@ -1986,7 +1986,7 @@ impl ::core::fmt::Debug for DeleteSharedPackageContainerOptions { } } impl ::windows::core::RuntimeType for DeleteSharedPackageContainerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeleteSharedPackageContainerOptions;{9d81865f-986e-5138-8b5d-384d8e66ed6c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeleteSharedPackageContainerOptions;{9d81865f-986e-5138-8b5d-384d8e66ed6c})"); } impl ::core::clone::Clone for DeleteSharedPackageContainerOptions { fn clone(&self) -> Self { @@ -2002,7 +2002,7 @@ unsafe impl ::windows::core::Interface for DeleteSharedPackageContainerOptions { impl ::windows::core::RuntimeName for DeleteSharedPackageContainerOptions { const NAME: &'static str = "Windows.Management.Deployment.DeleteSharedPackageContainerOptions"; } -::windows::core::interface_hierarchy!(DeleteSharedPackageContainerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeleteSharedPackageContainerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeleteSharedPackageContainerOptions {} unsafe impl ::core::marker::Sync for DeleteSharedPackageContainerOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -2036,7 +2036,7 @@ impl ::core::fmt::Debug for DeleteSharedPackageContainerResult { } } impl ::windows::core::RuntimeType for DeleteSharedPackageContainerResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeleteSharedPackageContainerResult;{35398884-5736-517b-85bc-e598c81ab284})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeleteSharedPackageContainerResult;{35398884-5736-517b-85bc-e598c81ab284})"); } impl ::core::clone::Clone for DeleteSharedPackageContainerResult { fn clone(&self) -> Self { @@ -2052,7 +2052,7 @@ unsafe impl ::windows::core::Interface for DeleteSharedPackageContainerResult { impl ::windows::core::RuntimeName for DeleteSharedPackageContainerResult { const NAME: &'static str = "Windows.Management.Deployment.DeleteSharedPackageContainerResult"; } -::windows::core::interface_hierarchy!(DeleteSharedPackageContainerResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeleteSharedPackageContainerResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeleteSharedPackageContainerResult {} unsafe impl ::core::marker::Sync for DeleteSharedPackageContainerResult {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -2100,7 +2100,7 @@ impl ::core::fmt::Debug for DeploymentResult { } } impl ::windows::core::RuntimeType for DeploymentResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeploymentResult;{2563b9ae-b77d-4c1f-8a7b-20e6ad515ef3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeploymentResult;{2563b9ae-b77d-4c1f-8a7b-20e6ad515ef3})"); } impl ::core::clone::Clone for DeploymentResult { fn clone(&self) -> Self { @@ -2116,7 +2116,7 @@ unsafe impl ::windows::core::Interface for DeploymentResult { impl ::windows::core::RuntimeName for DeploymentResult { const NAME: &'static str = "Windows.Management.Deployment.DeploymentResult"; } -::windows::core::interface_hierarchy!(DeploymentResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DeploymentResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DeploymentResult {} unsafe impl ::core::marker::Sync for DeploymentResult {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -2126,8 +2126,8 @@ impl FindSharedPackageContainerOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2165,7 +2165,7 @@ impl ::core::fmt::Debug for FindSharedPackageContainerOptions { } } impl ::windows::core::RuntimeType for FindSharedPackageContainerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.FindSharedPackageContainerOptions;{b40fc8fe-8384-54cc-817d-ae09d3b6a606})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.FindSharedPackageContainerOptions;{b40fc8fe-8384-54cc-817d-ae09d3b6a606})"); } impl ::core::clone::Clone for FindSharedPackageContainerOptions { fn clone(&self) -> Self { @@ -2181,7 +2181,7 @@ unsafe impl ::windows::core::Interface for FindSharedPackageContainerOptions { impl ::windows::core::RuntimeName for FindSharedPackageContainerOptions { const NAME: &'static str = "Windows.Management.Deployment.FindSharedPackageContainerOptions"; } -::windows::core::interface_hierarchy!(FindSharedPackageContainerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FindSharedPackageContainerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FindSharedPackageContainerOptions {} unsafe impl ::core::marker::Sync for FindSharedPackageContainerOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -2191,8 +2191,8 @@ impl PackageAllUserProvisioningOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2226,7 +2226,7 @@ impl ::core::fmt::Debug for PackageAllUserProvisioningOptions { } } impl ::windows::core::RuntimeType for PackageAllUserProvisioningOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageAllUserProvisioningOptions;{da35aa22-1de0-5d3e-99ff-d24f3118bf5e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageAllUserProvisioningOptions;{da35aa22-1de0-5d3e-99ff-d24f3118bf5e})"); } impl ::core::clone::Clone for PackageAllUserProvisioningOptions { fn clone(&self) -> Self { @@ -2242,7 +2242,7 @@ unsafe impl ::windows::core::Interface for PackageAllUserProvisioningOptions { impl ::windows::core::RuntimeName for PackageAllUserProvisioningOptions { const NAME: &'static str = "Windows.Management.Deployment.PackageAllUserProvisioningOptions"; } -::windows::core::interface_hierarchy!(PackageAllUserProvisioningOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageAllUserProvisioningOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageAllUserProvisioningOptions {} unsafe impl ::core::marker::Sync for PackageAllUserProvisioningOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -2252,8 +2252,8 @@ impl PackageManager { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2894,7 +2894,7 @@ impl ::core::fmt::Debug for PackageManager { } } impl ::windows::core::RuntimeType for PackageManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageManager;{9a7d4b65-5e8f-4fc7-a2e5-7f6925cb8b53})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageManager;{9a7d4b65-5e8f-4fc7-a2e5-7f6925cb8b53})"); } impl ::core::clone::Clone for PackageManager { fn clone(&self) -> Self { @@ -2910,7 +2910,7 @@ unsafe impl ::windows::core::Interface for PackageManager { impl ::windows::core::RuntimeName for PackageManager { const NAME: &'static str = "Windows.Management.Deployment.PackageManager"; } -::windows::core::interface_hierarchy!(PackageManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageManager {} unsafe impl ::core::marker::Sync for PackageManager {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -2948,7 +2948,7 @@ impl ::core::fmt::Debug for PackageManagerDebugSettings { } } impl ::windows::core::RuntimeType for PackageManagerDebugSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageManagerDebugSettings;{1a611683-a988-4fcf-8f0f-ce175898e8eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageManagerDebugSettings;{1a611683-a988-4fcf-8f0f-ce175898e8eb})"); } impl ::core::clone::Clone for PackageManagerDebugSettings { fn clone(&self) -> Self { @@ -2964,7 +2964,7 @@ unsafe impl ::windows::core::Interface for PackageManagerDebugSettings { impl ::windows::core::RuntimeName for PackageManagerDebugSettings { const NAME: &'static str = "Windows.Management.Deployment.PackageManagerDebugSettings"; } -::windows::core::interface_hierarchy!(PackageManagerDebugSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageManagerDebugSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageManagerDebugSettings {} unsafe impl ::core::marker::Sync for PackageManagerDebugSettings {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -2998,7 +2998,7 @@ impl ::core::fmt::Debug for PackageUserInformation { } } impl ::windows::core::RuntimeType for PackageUserInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageUserInformation;{f6383423-fa09-4cbc-9055-15ca275e2e7e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageUserInformation;{f6383423-fa09-4cbc-9055-15ca275e2e7e})"); } impl ::core::clone::Clone for PackageUserInformation { fn clone(&self) -> Self { @@ -3014,7 +3014,7 @@ unsafe impl ::windows::core::Interface for PackageUserInformation { impl ::windows::core::RuntimeName for PackageUserInformation { const NAME: &'static str = "Windows.Management.Deployment.PackageUserInformation"; } -::windows::core::interface_hierarchy!(PackageUserInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageUserInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageUserInformation {} unsafe impl ::core::marker::Sync for PackageUserInformation {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -3225,7 +3225,7 @@ impl ::core::fmt::Debug for PackageVolume { } } impl ::windows::core::RuntimeType for PackageVolume { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageVolume;{cf2672c3-1a40-4450-9739-2ace2e898853})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageVolume;{cf2672c3-1a40-4450-9739-2ace2e898853})"); } impl ::core::clone::Clone for PackageVolume { fn clone(&self) -> Self { @@ -3241,7 +3241,7 @@ unsafe impl ::windows::core::Interface for PackageVolume { impl ::windows::core::RuntimeName for PackageVolume { const NAME: &'static str = "Windows.Management.Deployment.PackageVolume"; } -::windows::core::interface_hierarchy!(PackageVolume, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageVolume, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PackageVolume {} unsafe impl ::core::marker::Sync for PackageVolume {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -3251,8 +3251,8 @@ impl RegisterPackageOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3409,7 +3409,7 @@ impl ::core::fmt::Debug for RegisterPackageOptions { } } impl ::windows::core::RuntimeType for RegisterPackageOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.RegisterPackageOptions;{677112a7-50d4-496c-8415-0602b4c6d3bf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.RegisterPackageOptions;{677112a7-50d4-496c-8415-0602b4c6d3bf})"); } impl ::core::clone::Clone for RegisterPackageOptions { fn clone(&self) -> Self { @@ -3425,7 +3425,7 @@ unsafe impl ::windows::core::Interface for RegisterPackageOptions { impl ::windows::core::RuntimeName for RegisterPackageOptions { const NAME: &'static str = "Windows.Management.Deployment.RegisterPackageOptions"; } -::windows::core::interface_hierarchy!(RegisterPackageOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RegisterPackageOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RegisterPackageOptions {} unsafe impl ::core::marker::Sync for RegisterPackageOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -3482,7 +3482,7 @@ impl ::core::fmt::Debug for SharedPackageContainer { } } impl ::windows::core::RuntimeType for SharedPackageContainer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainer;{177f1aa9-151e-5ef7-b1d9-2fba0b4b0d17})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainer;{177f1aa9-151e-5ef7-b1d9-2fba0b4b0d17})"); } impl ::core::clone::Clone for SharedPackageContainer { fn clone(&self) -> Self { @@ -3498,7 +3498,7 @@ unsafe impl ::windows::core::Interface for SharedPackageContainer { impl ::windows::core::RuntimeName for SharedPackageContainer { const NAME: &'static str = "Windows.Management.Deployment.SharedPackageContainer"; } -::windows::core::interface_hierarchy!(SharedPackageContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SharedPackageContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SharedPackageContainer {} unsafe impl ::core::marker::Sync for SharedPackageContainer {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -3564,7 +3564,7 @@ impl SharedPackageContainerManager { } #[doc(hidden)] pub fn ISharedPackageContainerManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3580,7 +3580,7 @@ impl ::core::fmt::Debug for SharedPackageContainerManager { } } impl ::windows::core::RuntimeType for SharedPackageContainerManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainerManager;{be353068-1ef7-5ac8-ab3f-0b9f612f0274})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainerManager;{be353068-1ef7-5ac8-ab3f-0b9f612f0274})"); } impl ::core::clone::Clone for SharedPackageContainerManager { fn clone(&self) -> Self { @@ -3596,7 +3596,7 @@ unsafe impl ::windows::core::Interface for SharedPackageContainerManager { impl ::windows::core::RuntimeName for SharedPackageContainerManager { const NAME: &'static str = "Windows.Management.Deployment.SharedPackageContainerManager"; } -::windows::core::interface_hierarchy!(SharedPackageContainerManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SharedPackageContainerManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SharedPackageContainerManager {} unsafe impl ::core::marker::Sync for SharedPackageContainerManager {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -3618,7 +3618,7 @@ impl SharedPackageContainerMember { } #[doc(hidden)] pub fn ISharedPackageContainerMemberFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3634,7 +3634,7 @@ impl ::core::fmt::Debug for SharedPackageContainerMember { } } impl ::windows::core::RuntimeType for SharedPackageContainerMember { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainerMember;{fe0d0438-43c9-5426-b89c-f79bf85ddff4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainerMember;{fe0d0438-43c9-5426-b89c-f79bf85ddff4})"); } impl ::core::clone::Clone for SharedPackageContainerMember { fn clone(&self) -> Self { @@ -3650,7 +3650,7 @@ unsafe impl ::windows::core::Interface for SharedPackageContainerMember { impl ::windows::core::RuntimeName for SharedPackageContainerMember { const NAME: &'static str = "Windows.Management.Deployment.SharedPackageContainerMember"; } -::windows::core::interface_hierarchy!(SharedPackageContainerMember, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SharedPackageContainerMember, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SharedPackageContainerMember {} unsafe impl ::core::marker::Sync for SharedPackageContainerMember {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -3660,8 +3660,8 @@ impl StagePackageOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3825,7 +3825,7 @@ impl ::core::fmt::Debug for StagePackageOptions { } } impl ::windows::core::RuntimeType for StagePackageOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.StagePackageOptions;{0b110c9c-b95d-4c56-bd36-6d656800d06b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.StagePackageOptions;{0b110c9c-b95d-4c56-bd36-6d656800d06b})"); } impl ::core::clone::Clone for StagePackageOptions { fn clone(&self) -> Self { @@ -3841,7 +3841,7 @@ unsafe impl ::windows::core::Interface for StagePackageOptions { impl ::windows::core::RuntimeName for StagePackageOptions { const NAME: &'static str = "Windows.Management.Deployment.StagePackageOptions"; } -::windows::core::interface_hierarchy!(StagePackageOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StagePackageOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StagePackageOptions {} unsafe impl ::core::marker::Sync for StagePackageOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -3851,8 +3851,8 @@ impl UpdateSharedPackageContainerOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ForceAppShutdown(&self) -> ::windows::core::Result { @@ -3890,7 +3890,7 @@ impl ::core::fmt::Debug for UpdateSharedPackageContainerOptions { } } impl ::windows::core::RuntimeType for UpdateSharedPackageContainerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.UpdateSharedPackageContainerOptions;{80672e83-7194-59f9-b5b9-daa5375f130a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.UpdateSharedPackageContainerOptions;{80672e83-7194-59f9-b5b9-daa5375f130a})"); } impl ::core::clone::Clone for UpdateSharedPackageContainerOptions { fn clone(&self) -> Self { @@ -3906,7 +3906,7 @@ unsafe impl ::windows::core::Interface for UpdateSharedPackageContainerOptions { impl ::windows::core::RuntimeName for UpdateSharedPackageContainerOptions { const NAME: &'static str = "Windows.Management.Deployment.UpdateSharedPackageContainerOptions"; } -::windows::core::interface_hierarchy!(UpdateSharedPackageContainerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UpdateSharedPackageContainerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UpdateSharedPackageContainerOptions {} unsafe impl ::core::marker::Sync for UpdateSharedPackageContainerOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -3940,7 +3940,7 @@ impl ::core::fmt::Debug for UpdateSharedPackageContainerResult { } } impl ::windows::core::RuntimeType for UpdateSharedPackageContainerResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.UpdateSharedPackageContainerResult;{aa407df7-c72d-5458-aea3-4645b6a8ee99})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.UpdateSharedPackageContainerResult;{aa407df7-c72d-5458-aea3-4645b6a8ee99})"); } impl ::core::clone::Clone for UpdateSharedPackageContainerResult { fn clone(&self) -> Self { @@ -3956,7 +3956,7 @@ unsafe impl ::windows::core::Interface for UpdateSharedPackageContainerResult { impl ::windows::core::RuntimeName for UpdateSharedPackageContainerResult { const NAME: &'static str = "Windows.Management.Deployment.UpdateSharedPackageContainerResult"; } -::windows::core::interface_hierarchy!(UpdateSharedPackageContainerResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UpdateSharedPackageContainerResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UpdateSharedPackageContainerResult {} unsafe impl ::core::marker::Sync for UpdateSharedPackageContainerResult {} #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -4023,7 +4023,7 @@ impl ::core::ops::Not for AddPackageByAppInstallerOptions { } } impl ::windows::core::RuntimeType for AddPackageByAppInstallerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.AddPackageByAppInstallerOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.AddPackageByAppInstallerOptions;u4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4093,7 +4093,7 @@ impl ::core::ops::Not for DeploymentOptions { } } impl ::windows::core::RuntimeType for DeploymentOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.DeploymentOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.DeploymentOptions;u4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4123,7 +4123,7 @@ impl ::core::fmt::Debug for DeploymentProgressState { } } impl ::windows::core::RuntimeType for DeploymentProgressState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.DeploymentProgressState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.DeploymentProgressState;i4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4155,7 +4155,7 @@ impl ::core::fmt::Debug for PackageInstallState { } } impl ::windows::core::RuntimeType for PackageInstallState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageInstallState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageInstallState;i4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4187,7 +4187,7 @@ impl ::core::fmt::Debug for PackageState { } } impl ::windows::core::RuntimeType for PackageState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageState;i4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4253,7 +4253,7 @@ impl ::core::ops::Not for PackageStatus { } } impl ::windows::core::RuntimeType for PackageStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageStatus;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageStatus;u4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4283,7 +4283,7 @@ impl ::core::fmt::Debug for PackageStubPreference { } } impl ::windows::core::RuntimeType for PackageStubPreference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageStubPreference;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageStubPreference;i4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4352,7 +4352,7 @@ impl ::core::ops::Not for PackageTypes { } } impl ::windows::core::RuntimeType for PackageTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageTypes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.PackageTypes;u4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4417,7 +4417,7 @@ impl ::core::ops::Not for RemovalOptions { } } impl ::windows::core::RuntimeType for RemovalOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.RemovalOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.RemovalOptions;u4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4448,7 +4448,7 @@ impl ::core::fmt::Debug for SharedPackageContainerCreationCollisionOptions { } } impl ::windows::core::RuntimeType for SharedPackageContainerCreationCollisionOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.SharedPackageContainerCreationCollisionOptions;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.SharedPackageContainerCreationCollisionOptions;i4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4482,7 +4482,7 @@ impl ::core::fmt::Debug for SharedPackageContainerOperationStatus { } } impl ::windows::core::RuntimeType for SharedPackageContainerOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.SharedPackageContainerOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.SharedPackageContainerOperationStatus;i4)"); } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] @@ -4514,7 +4514,7 @@ impl ::core::fmt::Debug for StubPackageOption { } } impl ::windows::core::RuntimeType for StubPackageOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.StubPackageOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Deployment.StubPackageOption;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Management_Deployment\"`*"] @@ -4537,7 +4537,7 @@ impl ::windows::core::TypeKind for DeploymentProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for DeploymentProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Management.Deployment.DeploymentProgress;enum(Windows.Management.Deployment.DeploymentProgressState;i4);u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Management.Deployment.DeploymentProgress;enum(Windows.Management.Deployment.DeploymentProgressState;i4);u4)"); } impl ::core::cmp::PartialEq for DeploymentProgress { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Management/Policies/mod.rs b/crates/libs/windows/src/Windows/Management/Policies/mod.rs index 98aba7f8ff..f7ba5ba0ee 100644 --- a/crates/libs/windows/src/Windows/Management/Policies/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Policies/mod.rs @@ -85,7 +85,7 @@ impl NamedPolicy { } #[doc(hidden)] pub fn INamedPolicyStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -205,7 +205,7 @@ impl ::core::fmt::Debug for NamedPolicyData { } } impl ::windows::core::RuntimeType for NamedPolicyData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Policies.NamedPolicyData;{38dcb198-95ac-4077-a643-8078cae26400})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Policies.NamedPolicyData;{38dcb198-95ac-4077-a643-8078cae26400})"); } impl ::core::clone::Clone for NamedPolicyData { fn clone(&self) -> Self { @@ -221,7 +221,7 @@ unsafe impl ::windows::core::Interface for NamedPolicyData { impl ::windows::core::RuntimeName for NamedPolicyData { const NAME: &'static str = "Windows.Management.Policies.NamedPolicyData"; } -::windows::core::interface_hierarchy!(NamedPolicyData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NamedPolicyData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NamedPolicyData {} unsafe impl ::core::marker::Sync for NamedPolicyData {} #[doc = "*Required features: `\"Management_Policies\"`*"] @@ -256,7 +256,7 @@ impl ::core::fmt::Debug for NamedPolicyKind { } } impl ::windows::core::RuntimeType for NamedPolicyKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Policies.NamedPolicyKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Policies.NamedPolicyKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Management/Update/mod.rs b/crates/libs/windows/src/Windows/Management/Update/mod.rs index 9a2ae08938..1e9202f130 100644 --- a/crates/libs/windows/src/Windows/Management/Update/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Update/mod.rs @@ -661,7 +661,7 @@ impl PreviewBuildsManager { } #[doc(hidden)] pub fn IPreviewBuildsManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -677,7 +677,7 @@ impl ::core::fmt::Debug for PreviewBuildsManager { } } impl ::windows::core::RuntimeType for PreviewBuildsManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.PreviewBuildsManager;{fa07dd61-7e4f-59f7-7c9f-def9051c5f62})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.PreviewBuildsManager;{fa07dd61-7e4f-59f7-7c9f-def9051c5f62})"); } impl ::core::clone::Clone for PreviewBuildsManager { fn clone(&self) -> Self { @@ -693,7 +693,7 @@ unsafe impl ::windows::core::Interface for PreviewBuildsManager { impl ::windows::core::RuntimeName for PreviewBuildsManager { const NAME: &'static str = "Windows.Management.Update.PreviewBuildsManager"; } -::windows::core::interface_hierarchy!(PreviewBuildsManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PreviewBuildsManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PreviewBuildsManager {} unsafe impl ::core::marker::Sync for PreviewBuildsManager {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -722,7 +722,7 @@ impl ::core::fmt::Debug for PreviewBuildsState { } } impl ::windows::core::RuntimeType for PreviewBuildsState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.PreviewBuildsState;{a2f2903e-b223-5f63-7546-3e8eac070a2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.PreviewBuildsState;{a2f2903e-b223-5f63-7546-3e8eac070a2e})"); } impl ::core::clone::Clone for PreviewBuildsState { fn clone(&self) -> Self { @@ -738,7 +738,7 @@ unsafe impl ::windows::core::Interface for PreviewBuildsState { impl ::windows::core::RuntimeName for PreviewBuildsState { const NAME: &'static str = "Windows.Management.Update.PreviewBuildsState"; } -::windows::core::interface_hierarchy!(PreviewBuildsState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PreviewBuildsState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PreviewBuildsState {} unsafe impl ::core::marker::Sync for PreviewBuildsState {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -929,7 +929,7 @@ impl ::core::fmt::Debug for WindowsUpdate { } } impl ::windows::core::RuntimeType for WindowsUpdate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdate;{c3c88dd7-0ef3-52b2-a9ad-66bfc6bd9582})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdate;{c3c88dd7-0ef3-52b2-a9ad-66bfc6bd9582})"); } impl ::core::clone::Clone for WindowsUpdate { fn clone(&self) -> Self { @@ -945,7 +945,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdate { impl ::windows::core::RuntimeName for WindowsUpdate { const NAME: &'static str = "Windows.Management.Update.WindowsUpdate"; } -::windows::core::interface_hierarchy!(WindowsUpdate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdate {} unsafe impl ::core::marker::Sync for WindowsUpdate {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -993,7 +993,7 @@ impl ::core::fmt::Debug for WindowsUpdateActionCompletedEventArgs { } } impl ::windows::core::RuntimeType for WindowsUpdateActionCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionCompletedEventArgs;{2c44b950-a655-5321-aec1-aee762922131})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionCompletedEventArgs;{2c44b950-a655-5321-aec1-aee762922131})"); } impl ::core::clone::Clone for WindowsUpdateActionCompletedEventArgs { fn clone(&self) -> Self { @@ -1009,7 +1009,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateActionCompletedEventArgs impl ::windows::core::RuntimeName for WindowsUpdateActionCompletedEventArgs { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateActionCompletedEventArgs"; } -::windows::core::interface_hierarchy!(WindowsUpdateActionCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateActionCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateActionCompletedEventArgs {} unsafe impl ::core::marker::Sync for WindowsUpdateActionCompletedEventArgs {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1043,7 +1043,7 @@ impl ::core::fmt::Debug for WindowsUpdateActionProgress { } } impl ::windows::core::RuntimeType for WindowsUpdateActionProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionProgress;{83b22d8a-4bb0-549f-ba39-59724882d137})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionProgress;{83b22d8a-4bb0-549f-ba39-59724882d137})"); } impl ::core::clone::Clone for WindowsUpdateActionProgress { fn clone(&self) -> Self { @@ -1059,7 +1059,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateActionProgress { impl ::windows::core::RuntimeName for WindowsUpdateActionProgress { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateActionProgress"; } -::windows::core::interface_hierarchy!(WindowsUpdateActionProgress, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateActionProgress, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateActionProgress {} unsafe impl ::core::marker::Sync for WindowsUpdateActionProgress {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1109,7 +1109,7 @@ impl ::core::fmt::Debug for WindowsUpdateActionResult { } } impl ::windows::core::RuntimeType for WindowsUpdateActionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionResult;{e6692c62-f697-51b7-ab7f-e73e5e688f12})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionResult;{e6692c62-f697-51b7-ab7f-e73e5e688f12})"); } impl ::core::clone::Clone for WindowsUpdateActionResult { fn clone(&self) -> Self { @@ -1125,7 +1125,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateActionResult { impl ::windows::core::RuntimeName for WindowsUpdateActionResult { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateActionResult"; } -::windows::core::interface_hierarchy!(WindowsUpdateActionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateActionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateActionResult {} unsafe impl ::core::marker::Sync for WindowsUpdateActionResult {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1196,7 +1196,7 @@ impl WindowsUpdateAdministrator { } #[doc(hidden)] pub fn IWindowsUpdateAdministratorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1212,7 +1212,7 @@ impl ::core::fmt::Debug for WindowsUpdateAdministrator { } } impl ::windows::core::RuntimeType for WindowsUpdateAdministrator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAdministrator;{7a60181c-ba1e-5cf9-aa65-304120b73d72})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAdministrator;{7a60181c-ba1e-5cf9-aa65-304120b73d72})"); } impl ::core::clone::Clone for WindowsUpdateAdministrator { fn clone(&self) -> Self { @@ -1228,7 +1228,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateAdministrator { impl ::windows::core::RuntimeName for WindowsUpdateAdministrator { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateAdministrator"; } -::windows::core::interface_hierarchy!(WindowsUpdateAdministrator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateAdministrator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateAdministrator {} unsafe impl ::core::marker::Sync for WindowsUpdateAdministrator {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1238,8 +1238,8 @@ impl WindowsUpdateApprovalData { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -1350,7 +1350,7 @@ impl ::core::fmt::Debug for WindowsUpdateApprovalData { } } impl ::windows::core::RuntimeType for WindowsUpdateApprovalData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateApprovalData;{aadf5bfd-84db-59bc-85e2-ad4fc1f62f7c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateApprovalData;{aadf5bfd-84db-59bc-85e2-ad4fc1f62f7c})"); } impl ::core::clone::Clone for WindowsUpdateApprovalData { fn clone(&self) -> Self { @@ -1366,7 +1366,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateApprovalData { impl ::windows::core::RuntimeName for WindowsUpdateApprovalData { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateApprovalData"; } -::windows::core::interface_hierarchy!(WindowsUpdateApprovalData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateApprovalData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateApprovalData {} unsafe impl ::core::marker::Sync for WindowsUpdateApprovalData {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1402,7 +1402,7 @@ impl ::core::fmt::Debug for WindowsUpdateAttentionRequiredInfo { } } impl ::windows::core::RuntimeType for WindowsUpdateAttentionRequiredInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAttentionRequiredInfo;{44df2579-74d3-5ffa-b6ce-09e187e1e0ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAttentionRequiredInfo;{44df2579-74d3-5ffa-b6ce-09e187e1e0ed})"); } impl ::core::clone::Clone for WindowsUpdateAttentionRequiredInfo { fn clone(&self) -> Self { @@ -1418,7 +1418,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateAttentionRequiredInfo { impl ::windows::core::RuntimeName for WindowsUpdateAttentionRequiredInfo { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateAttentionRequiredInfo"; } -::windows::core::interface_hierarchy!(WindowsUpdateAttentionRequiredInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateAttentionRequiredInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateAttentionRequiredInfo {} unsafe impl ::core::marker::Sync for WindowsUpdateAttentionRequiredInfo {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1452,7 +1452,7 @@ impl ::core::fmt::Debug for WindowsUpdateAttentionRequiredReasonChangedEventArgs } } impl ::windows::core::RuntimeType for WindowsUpdateAttentionRequiredReasonChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAttentionRequiredReasonChangedEventArgs;{0627abca-dbb8-524a-b1d2-d9df004eeb31})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAttentionRequiredReasonChangedEventArgs;{0627abca-dbb8-524a-b1d2-d9df004eeb31})"); } impl ::core::clone::Clone for WindowsUpdateAttentionRequiredReasonChangedEventArgs { fn clone(&self) -> Self { @@ -1468,7 +1468,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateAttentionRequiredReasonC impl ::windows::core::RuntimeName for WindowsUpdateAttentionRequiredReasonChangedEventArgs { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateAttentionRequiredReasonChangedEventArgs"; } -::windows::core::interface_hierarchy!(WindowsUpdateAttentionRequiredReasonChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateAttentionRequiredReasonChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateAttentionRequiredReasonChangedEventArgs {} unsafe impl ::core::marker::Sync for WindowsUpdateAttentionRequiredReasonChangedEventArgs {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1502,7 +1502,7 @@ impl ::core::fmt::Debug for WindowsUpdateGetAdministratorResult { } } impl ::windows::core::RuntimeType for WindowsUpdateGetAdministratorResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateGetAdministratorResult;{bb39ffc4-2c42-5b1c-8995-343341c92c50})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateGetAdministratorResult;{bb39ffc4-2c42-5b1c-8995-343341c92c50})"); } impl ::core::clone::Clone for WindowsUpdateGetAdministratorResult { fn clone(&self) -> Self { @@ -1518,7 +1518,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateGetAdministratorResult { impl ::windows::core::RuntimeName for WindowsUpdateGetAdministratorResult { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateGetAdministratorResult"; } -::windows::core::interface_hierarchy!(WindowsUpdateGetAdministratorResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateGetAdministratorResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateGetAdministratorResult {} unsafe impl ::core::marker::Sync for WindowsUpdateGetAdministratorResult {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1598,7 +1598,7 @@ impl ::core::fmt::Debug for WindowsUpdateItem { } } impl ::windows::core::RuntimeType for WindowsUpdateItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateItem;{b222e44a-49b6-59bf-a033-ef617cd73a98})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateItem;{b222e44a-49b6-59bf-a033-ef617cd73a98})"); } impl ::core::clone::Clone for WindowsUpdateItem { fn clone(&self) -> Self { @@ -1614,7 +1614,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateItem { impl ::windows::core::RuntimeName for WindowsUpdateItem { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateItem"; } -::windows::core::interface_hierarchy!(WindowsUpdateItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateItem {} unsafe impl ::core::marker::Sync for WindowsUpdateItem {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1773,7 +1773,7 @@ impl WindowsUpdateManager { } #[doc(hidden)] pub fn IWindowsUpdateManagerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1789,7 +1789,7 @@ impl ::core::fmt::Debug for WindowsUpdateManager { } } impl ::windows::core::RuntimeType for WindowsUpdateManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateManager;{5dd966c0-a71a-5602-bbd0-09a70e4573fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateManager;{5dd966c0-a71a-5602-bbd0-09a70e4573fa})"); } impl ::core::clone::Clone for WindowsUpdateManager { fn clone(&self) -> Self { @@ -1805,7 +1805,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateManager { impl ::windows::core::RuntimeName for WindowsUpdateManager { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateManager"; } -::windows::core::interface_hierarchy!(WindowsUpdateManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateManager {} unsafe impl ::core::marker::Sync for WindowsUpdateManager {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1839,7 +1839,7 @@ impl ::core::fmt::Debug for WindowsUpdateProgressChangedEventArgs { } } impl ::windows::core::RuntimeType for WindowsUpdateProgressChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateProgressChangedEventArgs;{bbfbdeeb-94c8-5aa7-b0fb-66c67c233b0a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateProgressChangedEventArgs;{bbfbdeeb-94c8-5aa7-b0fb-66c67c233b0a})"); } impl ::core::clone::Clone for WindowsUpdateProgressChangedEventArgs { fn clone(&self) -> Self { @@ -1855,7 +1855,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateProgressChangedEventArgs impl ::windows::core::RuntimeName for WindowsUpdateProgressChangedEventArgs { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateProgressChangedEventArgs"; } -::windows::core::interface_hierarchy!(WindowsUpdateProgressChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateProgressChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateProgressChangedEventArgs {} unsafe impl ::core::marker::Sync for WindowsUpdateProgressChangedEventArgs {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -1865,8 +1865,8 @@ impl WindowsUpdateRestartRequestOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Title(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1960,7 +1960,7 @@ impl WindowsUpdateRestartRequestOptions { } #[doc(hidden)] pub fn IWindowsUpdateRestartRequestOptionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1976,7 +1976,7 @@ impl ::core::fmt::Debug for WindowsUpdateRestartRequestOptions { } } impl ::windows::core::RuntimeType for WindowsUpdateRestartRequestOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateRestartRequestOptions;{38cfb7d3-4188-5222-905c-6c4443c951ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateRestartRequestOptions;{38cfb7d3-4188-5222-905c-6c4443c951ee})"); } impl ::core::clone::Clone for WindowsUpdateRestartRequestOptions { fn clone(&self) -> Self { @@ -1992,7 +1992,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateRestartRequestOptions { impl ::windows::core::RuntimeName for WindowsUpdateRestartRequestOptions { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateRestartRequestOptions"; } -::windows::core::interface_hierarchy!(WindowsUpdateRestartRequestOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateRestartRequestOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateRestartRequestOptions {} unsafe impl ::core::marker::Sync for WindowsUpdateRestartRequestOptions {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -2042,7 +2042,7 @@ impl ::core::fmt::Debug for WindowsUpdateScanCompletedEventArgs { } } impl ::windows::core::RuntimeType for WindowsUpdateScanCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateScanCompletedEventArgs;{95b6953e-ba5c-5fe8-b115-12de184a6bb0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateScanCompletedEventArgs;{95b6953e-ba5c-5fe8-b115-12de184a6bb0})"); } impl ::core::clone::Clone for WindowsUpdateScanCompletedEventArgs { fn clone(&self) -> Self { @@ -2058,7 +2058,7 @@ unsafe impl ::windows::core::Interface for WindowsUpdateScanCompletedEventArgs { impl ::windows::core::RuntimeName for WindowsUpdateScanCompletedEventArgs { const NAME: &'static str = "Windows.Management.Update.WindowsUpdateScanCompletedEventArgs"; } -::windows::core::interface_hierarchy!(WindowsUpdateScanCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowsUpdateScanCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowsUpdateScanCompletedEventArgs {} unsafe impl ::core::marker::Sync for WindowsUpdateScanCompletedEventArgs {} #[doc = "*Required features: `\"Management_Update\"`*"] @@ -2124,7 +2124,7 @@ impl ::core::ops::Not for WindowsUpdateAdministratorOptions { } } impl ::windows::core::RuntimeType for WindowsUpdateAdministratorOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Update.WindowsUpdateAdministratorOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Update.WindowsUpdateAdministratorOptions;u4)"); } #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] @@ -2155,7 +2155,7 @@ impl ::core::fmt::Debug for WindowsUpdateAdministratorStatus { } } impl ::windows::core::RuntimeType for WindowsUpdateAdministratorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Update.WindowsUpdateAdministratorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Update.WindowsUpdateAdministratorStatus;i4)"); } #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] @@ -2216,7 +2216,7 @@ impl ::core::fmt::Debug for WindowsUpdateAttentionRequiredReason { } } impl ::windows::core::RuntimeType for WindowsUpdateAttentionRequiredReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Update.WindowsUpdateAttentionRequiredReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Update.WindowsUpdateAttentionRequiredReason;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs index 3d12f84ee0..c838ed9b70 100644 --- a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs @@ -96,12 +96,12 @@ impl MdmPolicy { } #[doc(hidden)] pub fn IMdmAllowPolicyStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMdmPolicyStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -119,7 +119,7 @@ impl WorkplaceSettings { } #[doc(hidden)] pub fn IWorkplaceSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -155,7 +155,7 @@ impl ::core::fmt::Debug for MessagingSyncPolicy { } } impl ::windows::core::RuntimeType for MessagingSyncPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.Workplace.MessagingSyncPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.Workplace.MessagingSyncPolicy;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Management/mod.rs b/crates/libs/windows/src/Windows/Management/mod.rs index ba7f725ae8..885a3301e8 100644 --- a/crates/libs/windows/src/Windows/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Management/mod.rs @@ -112,8 +112,8 @@ impl MdmAlert { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Data(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -202,7 +202,7 @@ impl ::core::fmt::Debug for MdmAlert { } } impl ::windows::core::RuntimeType for MdmAlert { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.MdmAlert;{b0fbc327-28c1-4b52-a548-c5807caf70b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.MdmAlert;{b0fbc327-28c1-4b52-a548-c5807caf70b6})"); } impl ::core::clone::Clone for MdmAlert { fn clone(&self) -> Self { @@ -218,7 +218,7 @@ unsafe impl ::windows::core::Interface for MdmAlert { impl ::windows::core::RuntimeName for MdmAlert { const NAME: &'static str = "Windows.Management.MdmAlert"; } -::windows::core::interface_hierarchy!(MdmAlert, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MdmAlert, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Management\"`*"] #[repr(transparent)] pub struct MdmSession(::windows::core::IUnknown); @@ -301,7 +301,7 @@ impl ::core::fmt::Debug for MdmSession { } } impl ::windows::core::RuntimeType for MdmSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Management.MdmSession;{fe89314c-8f64-4797-a9d7-9d88f86ae166})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Management.MdmSession;{fe89314c-8f64-4797-a9d7-9d88f86ae166})"); } impl ::core::clone::Clone for MdmSession { fn clone(&self) -> Self { @@ -317,7 +317,7 @@ unsafe impl ::windows::core::Interface for MdmSession { impl ::windows::core::RuntimeName for MdmSession { const NAME: &'static str = "Windows.Management.MdmSession"; } -::windows::core::interface_hierarchy!(MdmSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MdmSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Management\"`*"] pub struct MdmSessionManager; impl MdmSessionManager { @@ -346,7 +346,7 @@ impl MdmSessionManager { } #[doc(hidden)] pub fn IMdmSessionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -383,7 +383,7 @@ impl ::core::fmt::Debug for MdmAlertDataType { } } impl ::windows::core::RuntimeType for MdmAlertDataType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.MdmAlertDataType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.MdmAlertDataType;i4)"); } #[doc = "*Required features: `\"Management\"`*"] #[repr(transparent)] @@ -416,7 +416,7 @@ impl ::core::fmt::Debug for MdmAlertMark { } } impl ::windows::core::RuntimeType for MdmAlertMark { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.MdmAlertMark;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.MdmAlertMark;i4)"); } #[doc = "*Required features: `\"Management\"`*"] #[repr(transparent)] @@ -451,7 +451,7 @@ impl ::core::fmt::Debug for MdmSessionState { } } impl ::windows::core::RuntimeType for MdmSessionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Management.MdmSessionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Management.MdmSessionState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs index a2af7bc539..d927e24cb4 100644 --- a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs @@ -126,8 +126,8 @@ impl AppBroadcastingMonitor { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsCurrentAppBroadcasting(&self) -> ::windows::core::Result { @@ -165,7 +165,7 @@ impl ::core::fmt::Debug for AppBroadcastingMonitor { } } impl ::windows::core::RuntimeType for AppBroadcastingMonitor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingMonitor;{00f95a68-8907-48a0-b8ef-24d208137542})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingMonitor;{00f95a68-8907-48a0-b8ef-24d208137542})"); } impl ::core::clone::Clone for AppBroadcastingMonitor { fn clone(&self) -> Self { @@ -181,7 +181,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastingMonitor { impl ::windows::core::RuntimeName for AppBroadcastingMonitor { const NAME: &'static str = "Windows.Media.AppBroadcasting.AppBroadcastingMonitor"; } -::windows::core::interface_hierarchy!(AppBroadcastingMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastingMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastingMonitor {} unsafe impl ::core::marker::Sync for AppBroadcastingMonitor {} #[doc = "*Required features: `\"Media_AppBroadcasting\"`*"] @@ -215,7 +215,7 @@ impl ::core::fmt::Debug for AppBroadcastingStatus { } } impl ::windows::core::RuntimeType for AppBroadcastingStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingStatus;{1225e4df-03a1-42f8-8b80-c9228cd9cf2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingStatus;{1225e4df-03a1-42f8-8b80-c9228cd9cf2e})"); } impl ::core::clone::Clone for AppBroadcastingStatus { fn clone(&self) -> Self { @@ -231,7 +231,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastingStatus { impl ::windows::core::RuntimeName for AppBroadcastingStatus { const NAME: &'static str = "Windows.Media.AppBroadcasting.AppBroadcastingStatus"; } -::windows::core::interface_hierarchy!(AppBroadcastingStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastingStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastingStatus {} unsafe impl ::core::marker::Sync for AppBroadcastingStatus {} #[doc = "*Required features: `\"Media_AppBroadcasting\"`*"] @@ -307,7 +307,7 @@ impl ::core::fmt::Debug for AppBroadcastingStatusDetails { } } impl ::windows::core::RuntimeType for AppBroadcastingStatusDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingStatusDetails;{069dada4-b573-4e3c-8e19-1bafacd09713})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingStatusDetails;{069dada4-b573-4e3c-8e19-1bafacd09713})"); } impl ::core::clone::Clone for AppBroadcastingStatusDetails { fn clone(&self) -> Self { @@ -323,7 +323,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastingStatusDetails { impl ::windows::core::RuntimeName for AppBroadcastingStatusDetails { const NAME: &'static str = "Windows.Media.AppBroadcasting.AppBroadcastingStatusDetails"; } -::windows::core::interface_hierarchy!(AppBroadcastingStatusDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastingStatusDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastingStatusDetails {} unsafe impl ::core::marker::Sync for AppBroadcastingStatusDetails {} #[doc = "*Required features: `\"Media_AppBroadcasting\"`*"] @@ -357,7 +357,7 @@ impl AppBroadcastingUI { } #[doc(hidden)] pub fn IAppBroadcastingUIStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -373,7 +373,7 @@ impl ::core::fmt::Debug for AppBroadcastingUI { } } impl ::windows::core::RuntimeType for AppBroadcastingUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingUI;{e56f9f8f-ee99-4dca-a3c3-70af3db44f5f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingUI;{e56f9f8f-ee99-4dca-a3c3-70af3db44f5f})"); } impl ::core::clone::Clone for AppBroadcastingUI { fn clone(&self) -> Self { @@ -389,7 +389,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastingUI { impl ::windows::core::RuntimeName for AppBroadcastingUI { const NAME: &'static str = "Windows.Media.AppBroadcasting.AppBroadcastingUI"; } -::windows::core::interface_hierarchy!(AppBroadcastingUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastingUI, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastingUI {} unsafe impl ::core::marker::Sync for AppBroadcastingUI {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs index 2af85a4dda..5fea04ae8c 100644 --- a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs @@ -242,7 +242,7 @@ impl AppRecordingManager { } #[doc(hidden)] pub fn IAppRecordingManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -258,7 +258,7 @@ impl ::core::fmt::Debug for AppRecordingManager { } } impl ::windows::core::RuntimeType for AppRecordingManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingManager;{e7e26076-a044-48e2-a512-3094d574c7cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingManager;{e7e26076-a044-48e2-a512-3094d574c7cc})"); } impl ::core::clone::Clone for AppRecordingManager { fn clone(&self) -> Self { @@ -274,7 +274,7 @@ unsafe impl ::windows::core::Interface for AppRecordingManager { impl ::windows::core::RuntimeName for AppRecordingManager { const NAME: &'static str = "Windows.Media.AppRecording.AppRecordingManager"; } -::windows::core::interface_hierarchy!(AppRecordingManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppRecordingManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppRecordingManager {} unsafe impl ::core::marker::Sync for AppRecordingManager {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] @@ -324,7 +324,7 @@ impl ::core::fmt::Debug for AppRecordingResult { } } impl ::windows::core::RuntimeType for AppRecordingResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingResult;{3a900864-c66d-46f9-b2d9-5bc2dad070d7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingResult;{3a900864-c66d-46f9-b2d9-5bc2dad070d7})"); } impl ::core::clone::Clone for AppRecordingResult { fn clone(&self) -> Self { @@ -340,7 +340,7 @@ unsafe impl ::windows::core::Interface for AppRecordingResult { impl ::windows::core::RuntimeName for AppRecordingResult { const NAME: &'static str = "Windows.Media.AppRecording.AppRecordingResult"; } -::windows::core::interface_hierarchy!(AppRecordingResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppRecordingResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppRecordingResult {} unsafe impl ::core::marker::Sync for AppRecordingResult {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] @@ -383,7 +383,7 @@ impl ::core::fmt::Debug for AppRecordingSaveScreenshotResult { } } impl ::windows::core::RuntimeType for AppRecordingSaveScreenshotResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingSaveScreenshotResult;{9c5b8d0a-0abb-4457-aaee-24f9c12ec778})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingSaveScreenshotResult;{9c5b8d0a-0abb-4457-aaee-24f9c12ec778})"); } impl ::core::clone::Clone for AppRecordingSaveScreenshotResult { fn clone(&self) -> Self { @@ -399,7 +399,7 @@ unsafe impl ::windows::core::Interface for AppRecordingSaveScreenshotResult { impl ::windows::core::RuntimeName for AppRecordingSaveScreenshotResult { const NAME: &'static str = "Windows.Media.AppRecording.AppRecordingSaveScreenshotResult"; } -::windows::core::interface_hierarchy!(AppRecordingSaveScreenshotResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppRecordingSaveScreenshotResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppRecordingSaveScreenshotResult {} unsafe impl ::core::marker::Sync for AppRecordingSaveScreenshotResult {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] @@ -435,7 +435,7 @@ impl ::core::fmt::Debug for AppRecordingSavedScreenshotInfo { } } impl ::windows::core::RuntimeType for AppRecordingSavedScreenshotInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingSavedScreenshotInfo;{9b642d0a-189a-4d00-bf25-e1bb1249d594})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingSavedScreenshotInfo;{9b642d0a-189a-4d00-bf25-e1bb1249d594})"); } impl ::core::clone::Clone for AppRecordingSavedScreenshotInfo { fn clone(&self) -> Self { @@ -451,7 +451,7 @@ unsafe impl ::windows::core::Interface for AppRecordingSavedScreenshotInfo { impl ::windows::core::RuntimeName for AppRecordingSavedScreenshotInfo { const NAME: &'static str = "Windows.Media.AppRecording.AppRecordingSavedScreenshotInfo"; } -::windows::core::interface_hierarchy!(AppRecordingSavedScreenshotInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppRecordingSavedScreenshotInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppRecordingSavedScreenshotInfo {} unsafe impl ::core::marker::Sync for AppRecordingSavedScreenshotInfo {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] @@ -501,7 +501,7 @@ impl ::core::fmt::Debug for AppRecordingStatus { } } impl ::windows::core::RuntimeType for AppRecordingStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingStatus;{1d0cc82c-bc18-4b8a-a6ef-127efab3b5d9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingStatus;{1d0cc82c-bc18-4b8a-a6ef-127efab3b5d9})"); } impl ::core::clone::Clone for AppRecordingStatus { fn clone(&self) -> Self { @@ -517,7 +517,7 @@ unsafe impl ::windows::core::Interface for AppRecordingStatus { impl ::windows::core::RuntimeName for AppRecordingStatus { const NAME: &'static str = "Windows.Media.AppRecording.AppRecordingStatus"; } -::windows::core::interface_hierarchy!(AppRecordingStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppRecordingStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppRecordingStatus {} unsafe impl ::core::marker::Sync for AppRecordingStatus {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] @@ -600,7 +600,7 @@ impl ::core::fmt::Debug for AppRecordingStatusDetails { } } impl ::windows::core::RuntimeType for AppRecordingStatusDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingStatusDetails;{b538a9b0-14ed-4412-ac45-6d672c9c9949})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingStatusDetails;{b538a9b0-14ed-4412-ac45-6d672c9c9949})"); } impl ::core::clone::Clone for AppRecordingStatusDetails { fn clone(&self) -> Self { @@ -616,7 +616,7 @@ unsafe impl ::windows::core::Interface for AppRecordingStatusDetails { impl ::windows::core::RuntimeName for AppRecordingStatusDetails { const NAME: &'static str = "Windows.Media.AppRecording.AppRecordingStatusDetails"; } -::windows::core::interface_hierarchy!(AppRecordingStatusDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppRecordingStatusDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppRecordingStatusDetails {} unsafe impl ::core::marker::Sync for AppRecordingStatusDetails {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] @@ -647,7 +647,7 @@ impl ::core::fmt::Debug for AppRecordingSaveScreenshotOption { } } impl ::windows::core::RuntimeType for AppRecordingSaveScreenshotOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.AppRecording.AppRecordingSaveScreenshotOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.AppRecording.AppRecordingSaveScreenshotOption;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index 19d43d3acf..f088b792ca 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -665,7 +665,7 @@ impl IAudioInputNode { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IAudioInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAudioInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioNode { type Error = ::windows::core::Error; fn try_from(value: IAudioInputNode) -> ::windows::core::Result { @@ -719,7 +719,7 @@ impl ::core::fmt::Debug for IAudioInputNode { } } impl ::windows::core::RuntimeType for IAudioInputNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d148005c-8428-4784-b7fd-a99d468c5d20}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d148005c-8428-4784-b7fd-a99d468c5d20}"); } unsafe impl ::windows::core::Vtable for IAudioInputNode { type Vtable = IAudioInputNode_Vtbl; @@ -867,7 +867,7 @@ impl IAudioInputNode2 { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IAudioInputNode2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAudioInputNode2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioInputNode { type Error = ::windows::core::Error; fn try_from(value: IAudioInputNode2) -> ::windows::core::Result { @@ -940,7 +940,7 @@ impl ::core::fmt::Debug for IAudioInputNode2 { } } impl ::windows::core::RuntimeType for IAudioInputNode2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{905156b7-ca68-4c6d-a8bc-e3ee17fe3fd2}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{905156b7-ca68-4c6d-a8bc-e3ee17fe3fd2}"); } unsafe impl ::windows::core::Vtable for IAudioInputNode2 { type Vtable = IAudioInputNode2_Vtbl; @@ -1042,7 +1042,7 @@ impl IAudioNode { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IAudioNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAudioNode, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1077,7 +1077,7 @@ impl ::core::fmt::Debug for IAudioNode { } } impl ::windows::core::RuntimeType for IAudioNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{15389d7f-dbd8-4819-bf03-668e9357cd6d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{15389d7f-dbd8-4819-bf03-668e9357cd6d}"); } unsafe impl ::windows::core::Vtable for IAudioNode { type Vtable = IAudioNode_Vtbl; @@ -1479,7 +1479,7 @@ impl IAudioNodeWithListener { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IAudioNodeWithListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAudioNodeWithListener, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioNode { type Error = ::windows::core::Error; fn try_from(value: IAudioNodeWithListener) -> ::windows::core::Result { @@ -1533,7 +1533,7 @@ impl ::core::fmt::Debug for IAudioNodeWithListener { } } impl ::windows::core::RuntimeType for IAudioNodeWithListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0e0f907c-79ff-4544-9eeb-01257b15105a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0e0f907c-79ff-4544-9eeb-01257b15105a}"); } unsafe impl ::windows::core::Vtable for IAudioNodeWithListener { type Vtable = IAudioNodeWithListener_Vtbl; @@ -2597,7 +2597,7 @@ impl ::core::fmt::Debug for AudioDeviceInputNode { } } impl ::windows::core::RuntimeType for AudioDeviceInputNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioDeviceInputNode;{b01b6be1-6f4e-49e2-ac01-559d62beb3a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioDeviceInputNode;{b01b6be1-6f4e-49e2-ac01-559d62beb3a9})"); } impl ::core::clone::Clone for AudioDeviceInputNode { fn clone(&self) -> Self { @@ -2613,7 +2613,7 @@ unsafe impl ::windows::core::Interface for AudioDeviceInputNode { impl ::windows::core::RuntimeName for AudioDeviceInputNode { const NAME: &'static str = "Windows.Media.Audio.AudioDeviceInputNode"; } -::windows::core::interface_hierarchy!(AudioDeviceInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioDeviceInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioInputNode { type Error = ::windows::core::Error; fn try_from(value: AudioDeviceInputNode) -> ::windows::core::Result { @@ -2810,7 +2810,7 @@ impl ::core::fmt::Debug for AudioDeviceOutputNode { } } impl ::windows::core::RuntimeType for AudioDeviceOutputNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioDeviceOutputNode;{362edbff-ff1c-4434-9e0f-bd2ef522ac82})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioDeviceOutputNode;{362edbff-ff1c-4434-9e0f-bd2ef522ac82})"); } impl ::core::clone::Clone for AudioDeviceOutputNode { fn clone(&self) -> Self { @@ -2826,7 +2826,7 @@ unsafe impl ::windows::core::Interface for AudioDeviceOutputNode { impl ::windows::core::RuntimeName for AudioDeviceOutputNode { const NAME: &'static str = "Windows.Media.Audio.AudioDeviceOutputNode"; } -::windows::core::interface_hierarchy!(AudioDeviceOutputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioDeviceOutputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioNode { type Error = ::windows::core::Error; fn try_from(value: AudioDeviceOutputNode) -> ::windows::core::Result { @@ -3140,7 +3140,7 @@ impl ::core::fmt::Debug for AudioFileInputNode { } } impl ::windows::core::RuntimeType for AudioFileInputNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFileInputNode;{905b67c8-6f65-4cd4-8890-4694843c276d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFileInputNode;{905b67c8-6f65-4cd4-8890-4694843c276d})"); } impl ::core::clone::Clone for AudioFileInputNode { fn clone(&self) -> Self { @@ -3156,7 +3156,7 @@ unsafe impl ::windows::core::Interface for AudioFileInputNode { impl ::windows::core::RuntimeName for AudioFileInputNode { const NAME: &'static str = "Windows.Media.Audio.AudioFileInputNode"; } -::windows::core::interface_hierarchy!(AudioFileInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioFileInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioInputNode { type Error = ::windows::core::Error; fn try_from(value: AudioFileInputNode) -> ::windows::core::Result { @@ -3360,7 +3360,7 @@ impl ::core::fmt::Debug for AudioFileOutputNode { } } impl ::windows::core::RuntimeType for AudioFileOutputNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFileOutputNode;{50e01980-5166-4093-80f8-ada00089e9cf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFileOutputNode;{50e01980-5166-4093-80f8-ada00089e9cf})"); } impl ::core::clone::Clone for AudioFileOutputNode { fn clone(&self) -> Self { @@ -3376,7 +3376,7 @@ unsafe impl ::windows::core::Interface for AudioFileOutputNode { impl ::windows::core::RuntimeName for AudioFileOutputNode { const NAME: &'static str = "Windows.Media.Audio.AudioFileOutputNode"; } -::windows::core::interface_hierarchy!(AudioFileOutputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioFileOutputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioNode { type Error = ::windows::core::Error; fn try_from(value: AudioFileOutputNode) -> ::windows::core::Result { @@ -3444,7 +3444,7 @@ impl ::core::fmt::Debug for AudioFrameCompletedEventArgs { } } impl ::windows::core::RuntimeType for AudioFrameCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameCompletedEventArgs;{dc7c829e-0208-4504-a5a8-f0f268920a65})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameCompletedEventArgs;{dc7c829e-0208-4504-a5a8-f0f268920a65})"); } impl ::core::clone::Clone for AudioFrameCompletedEventArgs { fn clone(&self) -> Self { @@ -3460,7 +3460,7 @@ unsafe impl ::windows::core::Interface for AudioFrameCompletedEventArgs { impl ::windows::core::RuntimeName for AudioFrameCompletedEventArgs { const NAME: &'static str = "Windows.Media.Audio.AudioFrameCompletedEventArgs"; } -::windows::core::interface_hierarchy!(AudioFrameCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioFrameCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioFrameCompletedEventArgs {} unsafe impl ::core::marker::Sync for AudioFrameCompletedEventArgs {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -3654,7 +3654,7 @@ impl ::core::fmt::Debug for AudioFrameInputNode { } } impl ::windows::core::RuntimeType for AudioFrameInputNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameInputNode;{01b266c7-fd96-4ff5-a3c5-d27a9bf44237})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameInputNode;{01b266c7-fd96-4ff5-a3c5-d27a9bf44237})"); } impl ::core::clone::Clone for AudioFrameInputNode { fn clone(&self) -> Self { @@ -3670,7 +3670,7 @@ unsafe impl ::windows::core::Interface for AudioFrameInputNode { impl ::windows::core::RuntimeName for AudioFrameInputNode { const NAME: &'static str = "Windows.Media.Audio.AudioFrameInputNode"; } -::windows::core::interface_hierarchy!(AudioFrameInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioFrameInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioInputNode { type Error = ::windows::core::Error; fn try_from(value: AudioFrameInputNode) -> ::windows::core::Result { @@ -3854,7 +3854,7 @@ impl ::core::fmt::Debug for AudioFrameOutputNode { } } impl ::windows::core::RuntimeType for AudioFrameOutputNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameOutputNode;{b847371b-3299-45f5-88b3-c9d12a3f1cc8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameOutputNode;{b847371b-3299-45f5-88b3-c9d12a3f1cc8})"); } impl ::core::clone::Clone for AudioFrameOutputNode { fn clone(&self) -> Self { @@ -3870,7 +3870,7 @@ unsafe impl ::windows::core::Interface for AudioFrameOutputNode { impl ::windows::core::RuntimeName for AudioFrameOutputNode { const NAME: &'static str = "Windows.Media.Audio.AudioFrameOutputNode"; } -::windows::core::interface_hierarchy!(AudioFrameOutputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioFrameOutputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioNode { type Error = ::windows::core::Error; fn try_from(value: AudioFrameOutputNode) -> ::windows::core::Result { @@ -4227,7 +4227,7 @@ impl AudioGraph { } #[doc(hidden)] pub fn IAudioGraphStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4243,7 +4243,7 @@ impl ::core::fmt::Debug for AudioGraph { } } impl ::windows::core::RuntimeType for AudioGraph { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraph;{1ad46eed-e48c-4e14-9660-2c4f83e9cdd8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraph;{1ad46eed-e48c-4e14-9660-2c4f83e9cdd8})"); } impl ::core::clone::Clone for AudioGraph { fn clone(&self) -> Self { @@ -4259,7 +4259,7 @@ unsafe impl ::windows::core::Interface for AudioGraph { impl ::windows::core::RuntimeName for AudioGraph { const NAME: &'static str = "Windows.Media.Audio.AudioGraph"; } -::windows::core::interface_hierarchy!(AudioGraph, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioGraph, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4313,7 +4313,7 @@ impl ::core::fmt::Debug for AudioGraphBatchUpdater { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for AudioGraphBatchUpdater { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphBatchUpdater;{30d5a829-7fa4-4026-83bb-d75bae4ea99e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphBatchUpdater;{30d5a829-7fa4-4026-83bb-d75bae4ea99e})"); } #[cfg(feature = "Foundation")] impl ::core::clone::Clone for AudioGraphBatchUpdater { @@ -4334,7 +4334,7 @@ impl ::windows::core::RuntimeName for AudioGraphBatchUpdater { const NAME: &'static str = "Windows.Media.Audio.AudioGraphBatchUpdater"; } #[cfg(feature = "Foundation")] -::windows::core::interface_hierarchy!(AudioGraphBatchUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioGraphBatchUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4396,7 +4396,7 @@ impl ::core::fmt::Debug for AudioGraphConnection { } } impl ::windows::core::RuntimeType for AudioGraphConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphConnection;{763070ed-d04e-4fac-b233-600b42edd469})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphConnection;{763070ed-d04e-4fac-b233-600b42edd469})"); } impl ::core::clone::Clone for AudioGraphConnection { fn clone(&self) -> Self { @@ -4412,7 +4412,7 @@ unsafe impl ::windows::core::Interface for AudioGraphConnection { impl ::windows::core::RuntimeName for AudioGraphConnection { const NAME: &'static str = "Windows.Media.Audio.AudioGraphConnection"; } -::windows::core::interface_hierarchy!(AudioGraphConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioGraphConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioGraphConnection {} unsafe impl ::core::marker::Sync for AudioGraphConnection {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -4518,7 +4518,7 @@ impl AudioGraphSettings { } #[doc(hidden)] pub fn IAudioGraphSettingsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4534,7 +4534,7 @@ impl ::core::fmt::Debug for AudioGraphSettings { } } impl ::windows::core::RuntimeType for AudioGraphSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphSettings;{1d59647f-e6fe-4628-84f8-9d8bdba25785})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphSettings;{1d59647f-e6fe-4628-84f8-9d8bdba25785})"); } impl ::core::clone::Clone for AudioGraphSettings { fn clone(&self) -> Self { @@ -4550,7 +4550,7 @@ unsafe impl ::windows::core::Interface for AudioGraphSettings { impl ::windows::core::RuntimeName for AudioGraphSettings { const NAME: &'static str = "Windows.Media.Audio.AudioGraphSettings"; } -::windows::core::interface_hierarchy!(AudioGraphSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioGraphSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioGraphSettings {} unsafe impl ::core::marker::Sync for AudioGraphSettings {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -4577,7 +4577,7 @@ impl ::core::fmt::Debug for AudioGraphUnrecoverableErrorOccurredEventArgs { } } impl ::windows::core::RuntimeType for AudioGraphUnrecoverableErrorOccurredEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphUnrecoverableErrorOccurredEventArgs;{c3d9cbe0-3ff6-4fb3-b262-50d435c55423})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphUnrecoverableErrorOccurredEventArgs;{c3d9cbe0-3ff6-4fb3-b262-50d435c55423})"); } impl ::core::clone::Clone for AudioGraphUnrecoverableErrorOccurredEventArgs { fn clone(&self) -> Self { @@ -4593,7 +4593,7 @@ unsafe impl ::windows::core::Interface for AudioGraphUnrecoverableErrorOccurredE impl ::windows::core::RuntimeName for AudioGraphUnrecoverableErrorOccurredEventArgs { const NAME: &'static str = "Windows.Media.Audio.AudioGraphUnrecoverableErrorOccurredEventArgs"; } -::windows::core::interface_hierarchy!(AudioGraphUnrecoverableErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioGraphUnrecoverableErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioGraphUnrecoverableErrorOccurredEventArgs {} unsafe impl ::core::marker::Sync for AudioGraphUnrecoverableErrorOccurredEventArgs {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -4603,8 +4603,8 @@ impl AudioNodeEmitter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -4725,7 +4725,7 @@ impl AudioNodeEmitter { } #[doc(hidden)] pub fn IAudioNodeEmitterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4741,7 +4741,7 @@ impl ::core::fmt::Debug for AudioNodeEmitter { } } impl ::windows::core::RuntimeType for AudioNodeEmitter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitter;{3676971d-880a-47b8-adf7-1323a9d965be})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitter;{3676971d-880a-47b8-adf7-1323a9d965be})"); } impl ::core::clone::Clone for AudioNodeEmitter { fn clone(&self) -> Self { @@ -4757,7 +4757,7 @@ unsafe impl ::windows::core::Interface for AudioNodeEmitter { impl ::windows::core::RuntimeName for AudioNodeEmitter { const NAME: &'static str = "Windows.Media.Audio.AudioNodeEmitter"; } -::windows::core::interface_hierarchy!(AudioNodeEmitter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioNodeEmitter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioNodeEmitter {} unsafe impl ::core::marker::Sync for AudioNodeEmitter {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -4798,7 +4798,7 @@ impl ::core::fmt::Debug for AudioNodeEmitterConeProperties { } } impl ::windows::core::RuntimeType for AudioNodeEmitterConeProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterConeProperties;{e99b2cee-02ca-4375-9326-0c6ae4bcdfb5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterConeProperties;{e99b2cee-02ca-4375-9326-0c6ae4bcdfb5})"); } impl ::core::clone::Clone for AudioNodeEmitterConeProperties { fn clone(&self) -> Self { @@ -4814,7 +4814,7 @@ unsafe impl ::windows::core::Interface for AudioNodeEmitterConeProperties { impl ::windows::core::RuntimeName for AudioNodeEmitterConeProperties { const NAME: &'static str = "Windows.Media.Audio.AudioNodeEmitterConeProperties"; } -::windows::core::interface_hierarchy!(AudioNodeEmitterConeProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioNodeEmitterConeProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioNodeEmitterConeProperties {} unsafe impl ::core::marker::Sync for AudioNodeEmitterConeProperties {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -4863,7 +4863,7 @@ impl AudioNodeEmitterDecayModel { } #[doc(hidden)] pub fn IAudioNodeEmitterDecayModelStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4879,7 +4879,7 @@ impl ::core::fmt::Debug for AudioNodeEmitterDecayModel { } } impl ::windows::core::RuntimeType for AudioNodeEmitterDecayModel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterDecayModel;{1d1d5af7-0d53-4fa9-bd84-d5816a86f3ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterDecayModel;{1d1d5af7-0d53-4fa9-bd84-d5816a86f3ff})"); } impl ::core::clone::Clone for AudioNodeEmitterDecayModel { fn clone(&self) -> Self { @@ -4895,7 +4895,7 @@ unsafe impl ::windows::core::Interface for AudioNodeEmitterDecayModel { impl ::windows::core::RuntimeName for AudioNodeEmitterDecayModel { const NAME: &'static str = "Windows.Media.Audio.AudioNodeEmitterDecayModel"; } -::windows::core::interface_hierarchy!(AudioNodeEmitterDecayModel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioNodeEmitterDecayModel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioNodeEmitterDecayModel {} unsafe impl ::core::marker::Sync for AudioNodeEmitterDecayModel {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -4929,7 +4929,7 @@ impl ::core::fmt::Debug for AudioNodeEmitterNaturalDecayModelProperties { } } impl ::windows::core::RuntimeType for AudioNodeEmitterNaturalDecayModelProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterNaturalDecayModelProperties;{48934bcf-cf2c-4efc-9331-75bd22df1f0c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterNaturalDecayModelProperties;{48934bcf-cf2c-4efc-9331-75bd22df1f0c})"); } impl ::core::clone::Clone for AudioNodeEmitterNaturalDecayModelProperties { fn clone(&self) -> Self { @@ -4945,7 +4945,7 @@ unsafe impl ::windows::core::Interface for AudioNodeEmitterNaturalDecayModelProp impl ::windows::core::RuntimeName for AudioNodeEmitterNaturalDecayModelProperties { const NAME: &'static str = "Windows.Media.Audio.AudioNodeEmitterNaturalDecayModelProperties"; } -::windows::core::interface_hierarchy!(AudioNodeEmitterNaturalDecayModelProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioNodeEmitterNaturalDecayModelProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioNodeEmitterNaturalDecayModelProperties {} unsafe impl ::core::marker::Sync for AudioNodeEmitterNaturalDecayModelProperties {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -4980,7 +4980,7 @@ impl AudioNodeEmitterShape { } #[doc(hidden)] pub fn IAudioNodeEmitterShapeStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4996,7 +4996,7 @@ impl ::core::fmt::Debug for AudioNodeEmitterShape { } } impl ::windows::core::RuntimeType for AudioNodeEmitterShape { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterShape;{ea0311c5-e73d-44bc-859c-45553bbc4828})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterShape;{ea0311c5-e73d-44bc-859c-45553bbc4828})"); } impl ::core::clone::Clone for AudioNodeEmitterShape { fn clone(&self) -> Self { @@ -5012,7 +5012,7 @@ unsafe impl ::windows::core::Interface for AudioNodeEmitterShape { impl ::windows::core::RuntimeName for AudioNodeEmitterShape { const NAME: &'static str = "Windows.Media.Audio.AudioNodeEmitterShape"; } -::windows::core::interface_hierarchy!(AudioNodeEmitterShape, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioNodeEmitterShape, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioNodeEmitterShape {} unsafe impl ::core::marker::Sync for AudioNodeEmitterShape {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5022,8 +5022,8 @@ impl AudioNodeListener { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -5095,7 +5095,7 @@ impl ::core::fmt::Debug for AudioNodeListener { } } impl ::windows::core::RuntimeType for AudioNodeListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeListener;{d9722e16-0c0a-41da-b755-6c77835fb1eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeListener;{d9722e16-0c0a-41da-b755-6c77835fb1eb})"); } impl ::core::clone::Clone for AudioNodeListener { fn clone(&self) -> Self { @@ -5111,7 +5111,7 @@ unsafe impl ::windows::core::Interface for AudioNodeListener { impl ::windows::core::RuntimeName for AudioNodeListener { const NAME: &'static str = "Windows.Media.Audio.AudioNodeListener"; } -::windows::core::interface_hierarchy!(AudioNodeListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioNodeListener, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioNodeListener {} unsafe impl ::core::marker::Sync for AudioNodeListener {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5196,7 +5196,7 @@ impl AudioPlaybackConnection { } #[doc(hidden)] pub fn IAudioPlaybackConnectionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5212,7 +5212,7 @@ impl ::core::fmt::Debug for AudioPlaybackConnection { } } impl ::windows::core::RuntimeType for AudioPlaybackConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioPlaybackConnection;{1a4c1dea-cafc-50e7-8718-ea3f81cbfa51})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioPlaybackConnection;{1a4c1dea-cafc-50e7-8718-ea3f81cbfa51})"); } impl ::core::clone::Clone for AudioPlaybackConnection { fn clone(&self) -> Self { @@ -5228,7 +5228,7 @@ unsafe impl ::windows::core::Interface for AudioPlaybackConnection { impl ::windows::core::RuntimeName for AudioPlaybackConnection { const NAME: &'static str = "Windows.Media.Audio.AudioPlaybackConnection"; } -::windows::core::interface_hierarchy!(AudioPlaybackConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioPlaybackConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5284,7 +5284,7 @@ impl ::core::fmt::Debug for AudioPlaybackConnectionOpenResult { } } impl ::windows::core::RuntimeType for AudioPlaybackConnectionOpenResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioPlaybackConnectionOpenResult;{4e656aef-39f9-5fc9-a519-a5bbfd9fe921})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioPlaybackConnectionOpenResult;{4e656aef-39f9-5fc9-a519-a5bbfd9fe921})"); } impl ::core::clone::Clone for AudioPlaybackConnectionOpenResult { fn clone(&self) -> Self { @@ -5300,7 +5300,7 @@ unsafe impl ::windows::core::Interface for AudioPlaybackConnectionOpenResult { impl ::windows::core::RuntimeName for AudioPlaybackConnectionOpenResult { const NAME: &'static str = "Windows.Media.Audio.AudioPlaybackConnectionOpenResult"; } -::windows::core::interface_hierarchy!(AudioPlaybackConnectionOpenResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioPlaybackConnectionOpenResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioPlaybackConnectionOpenResult {} unsafe impl ::core::marker::Sync for AudioPlaybackConnectionOpenResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5391,7 +5391,7 @@ impl AudioStateMonitor { } #[doc(hidden)] pub fn IAudioStateMonitorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5407,7 +5407,7 @@ impl ::core::fmt::Debug for AudioStateMonitor { } } impl ::windows::core::RuntimeType for AudioStateMonitor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioStateMonitor;{1d13d136-0199-4cdc-b84e-e72c2b581ece})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioStateMonitor;{1d13d136-0199-4cdc-b84e-e72c2b581ece})"); } impl ::core::clone::Clone for AudioStateMonitor { fn clone(&self) -> Self { @@ -5423,7 +5423,7 @@ unsafe impl ::windows::core::Interface for AudioStateMonitor { impl ::windows::core::RuntimeName for AudioStateMonitor { const NAME: &'static str = "Windows.Media.Audio.AudioStateMonitor"; } -::windows::core::interface_hierarchy!(AudioStateMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioStateMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioStateMonitor {} unsafe impl ::core::marker::Sync for AudioStateMonitor {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5561,7 +5561,7 @@ impl ::core::fmt::Debug for AudioSubmixNode { } } impl ::windows::core::RuntimeType for AudioSubmixNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioSubmixNode;{d148005c-8428-4784-b7fd-a99d468c5d20})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioSubmixNode;{d148005c-8428-4784-b7fd-a99d468c5d20})"); } impl ::core::clone::Clone for AudioSubmixNode { fn clone(&self) -> Self { @@ -5577,7 +5577,7 @@ unsafe impl ::windows::core::Interface for AudioSubmixNode { impl ::windows::core::RuntimeName for AudioSubmixNode { const NAME: &'static str = "Windows.Media.Audio.AudioSubmixNode"; } -::windows::core::interface_hierarchy!(AudioSubmixNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioSubmixNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioInputNode { type Error = ::windows::core::Error; fn try_from(value: AudioSubmixNode) -> ::windows::core::Result { @@ -5697,7 +5697,7 @@ impl ::core::fmt::Debug for CreateAudioDeviceInputNodeResult { } } impl ::windows::core::RuntimeType for CreateAudioDeviceInputNodeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioDeviceInputNodeResult;{16eec7a8-1ca7-40ef-91a4-d346e0aa1bba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioDeviceInputNodeResult;{16eec7a8-1ca7-40ef-91a4-d346e0aa1bba})"); } impl ::core::clone::Clone for CreateAudioDeviceInputNodeResult { fn clone(&self) -> Self { @@ -5713,7 +5713,7 @@ unsafe impl ::windows::core::Interface for CreateAudioDeviceInputNodeResult { impl ::windows::core::RuntimeName for CreateAudioDeviceInputNodeResult { const NAME: &'static str = "Windows.Media.Audio.CreateAudioDeviceInputNodeResult"; } -::windows::core::interface_hierarchy!(CreateAudioDeviceInputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CreateAudioDeviceInputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CreateAudioDeviceInputNodeResult {} unsafe impl ::core::marker::Sync for CreateAudioDeviceInputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5754,7 +5754,7 @@ impl ::core::fmt::Debug for CreateAudioDeviceOutputNodeResult { } } impl ::windows::core::RuntimeType for CreateAudioDeviceOutputNodeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioDeviceOutputNodeResult;{f7776d27-1d9a-47f7-9cd4-2859cc1b7bff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioDeviceOutputNodeResult;{f7776d27-1d9a-47f7-9cd4-2859cc1b7bff})"); } impl ::core::clone::Clone for CreateAudioDeviceOutputNodeResult { fn clone(&self) -> Self { @@ -5770,7 +5770,7 @@ unsafe impl ::windows::core::Interface for CreateAudioDeviceOutputNodeResult { impl ::windows::core::RuntimeName for CreateAudioDeviceOutputNodeResult { const NAME: &'static str = "Windows.Media.Audio.CreateAudioDeviceOutputNodeResult"; } -::windows::core::interface_hierarchy!(CreateAudioDeviceOutputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CreateAudioDeviceOutputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CreateAudioDeviceOutputNodeResult {} unsafe impl ::core::marker::Sync for CreateAudioDeviceOutputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5811,7 +5811,7 @@ impl ::core::fmt::Debug for CreateAudioFileInputNodeResult { } } impl ::windows::core::RuntimeType for CreateAudioFileInputNodeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioFileInputNodeResult;{ce83d61c-e297-4c50-9ce7-1c7a69d6bd09})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioFileInputNodeResult;{ce83d61c-e297-4c50-9ce7-1c7a69d6bd09})"); } impl ::core::clone::Clone for CreateAudioFileInputNodeResult { fn clone(&self) -> Self { @@ -5827,7 +5827,7 @@ unsafe impl ::windows::core::Interface for CreateAudioFileInputNodeResult { impl ::windows::core::RuntimeName for CreateAudioFileInputNodeResult { const NAME: &'static str = "Windows.Media.Audio.CreateAudioFileInputNodeResult"; } -::windows::core::interface_hierarchy!(CreateAudioFileInputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CreateAudioFileInputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CreateAudioFileInputNodeResult {} unsafe impl ::core::marker::Sync for CreateAudioFileInputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5868,7 +5868,7 @@ impl ::core::fmt::Debug for CreateAudioFileOutputNodeResult { } } impl ::windows::core::RuntimeType for CreateAudioFileOutputNodeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioFileOutputNodeResult;{47d6ba7b-e909-453f-866e-5540cda734ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioFileOutputNodeResult;{47d6ba7b-e909-453f-866e-5540cda734ff})"); } impl ::core::clone::Clone for CreateAudioFileOutputNodeResult { fn clone(&self) -> Self { @@ -5884,7 +5884,7 @@ unsafe impl ::windows::core::Interface for CreateAudioFileOutputNodeResult { impl ::windows::core::RuntimeName for CreateAudioFileOutputNodeResult { const NAME: &'static str = "Windows.Media.Audio.CreateAudioFileOutputNodeResult"; } -::windows::core::interface_hierarchy!(CreateAudioFileOutputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CreateAudioFileOutputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CreateAudioFileOutputNodeResult {} unsafe impl ::core::marker::Sync for CreateAudioFileOutputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5925,7 +5925,7 @@ impl ::core::fmt::Debug for CreateAudioGraphResult { } } impl ::windows::core::RuntimeType for CreateAudioGraphResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioGraphResult;{5453ef7e-7bde-4b76-bb5d-48f79cfc8c0b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioGraphResult;{5453ef7e-7bde-4b76-bb5d-48f79cfc8c0b})"); } impl ::core::clone::Clone for CreateAudioGraphResult { fn clone(&self) -> Self { @@ -5941,7 +5941,7 @@ unsafe impl ::windows::core::Interface for CreateAudioGraphResult { impl ::windows::core::RuntimeName for CreateAudioGraphResult { const NAME: &'static str = "Windows.Media.Audio.CreateAudioGraphResult"; } -::windows::core::interface_hierarchy!(CreateAudioGraphResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CreateAudioGraphResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CreateAudioGraphResult {} unsafe impl ::core::marker::Sync for CreateAudioGraphResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -5982,7 +5982,7 @@ impl ::core::fmt::Debug for CreateMediaSourceAudioInputNodeResult { } } impl ::windows::core::RuntimeType for CreateMediaSourceAudioInputNodeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateMediaSourceAudioInputNodeResult;{46a658a3-53c0-4d59-9e51-cc1d1044a4c4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateMediaSourceAudioInputNodeResult;{46a658a3-53c0-4d59-9e51-cc1d1044a4c4})"); } impl ::core::clone::Clone for CreateMediaSourceAudioInputNodeResult { fn clone(&self) -> Self { @@ -5998,7 +5998,7 @@ unsafe impl ::windows::core::Interface for CreateMediaSourceAudioInputNodeResult impl ::windows::core::RuntimeName for CreateMediaSourceAudioInputNodeResult { const NAME: &'static str = "Windows.Media.Audio.CreateMediaSourceAudioInputNodeResult"; } -::windows::core::interface_hierarchy!(CreateMediaSourceAudioInputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CreateMediaSourceAudioInputNodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CreateMediaSourceAudioInputNodeResult {} unsafe impl ::core::marker::Sync for CreateMediaSourceAudioInputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -6064,7 +6064,7 @@ impl EchoEffectDefinition { } #[doc(hidden)] pub fn IEchoEffectDefinitionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6080,7 +6080,7 @@ impl ::core::fmt::Debug for EchoEffectDefinition { } } impl ::windows::core::RuntimeType for EchoEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EchoEffectDefinition;{0e4d3faa-36b8-4c91-b9da-11f44a8a6610})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EchoEffectDefinition;{0e4d3faa-36b8-4c91-b9da-11f44a8a6610})"); } impl ::core::clone::Clone for EchoEffectDefinition { fn clone(&self) -> Self { @@ -6096,7 +6096,7 @@ unsafe impl ::windows::core::Interface for EchoEffectDefinition { impl ::windows::core::RuntimeName for EchoEffectDefinition { const NAME: &'static str = "Windows.Media.Audio.EchoEffectDefinition"; } -::windows::core::interface_hierarchy!(EchoEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EchoEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Media_Effects")] impl ::core::convert::TryFrom for super::Effects::IAudioEffectDefinition { type Error = ::windows::core::Error; @@ -6171,7 +6171,7 @@ impl ::core::fmt::Debug for EqualizerBand { } } impl ::windows::core::RuntimeType for EqualizerBand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EqualizerBand;{c00a5a6a-262d-4b85-9bb7-43280b62ed0c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EqualizerBand;{c00a5a6a-262d-4b85-9bb7-43280b62ed0c})"); } impl ::core::clone::Clone for EqualizerBand { fn clone(&self) -> Self { @@ -6187,7 +6187,7 @@ unsafe impl ::windows::core::Interface for EqualizerBand { impl ::windows::core::RuntimeName for EqualizerBand { const NAME: &'static str = "Windows.Media.Audio.EqualizerBand"; } -::windows::core::interface_hierarchy!(EqualizerBand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EqualizerBand, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EqualizerBand {} unsafe impl ::core::marker::Sync for EqualizerBand {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -6229,7 +6229,7 @@ impl EqualizerEffectDefinition { } #[doc(hidden)] pub fn IEqualizerEffectDefinitionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6245,7 +6245,7 @@ impl ::core::fmt::Debug for EqualizerEffectDefinition { } } impl ::windows::core::RuntimeType for EqualizerEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EqualizerEffectDefinition;{023f6f1f-83fe-449a-a822-c696442d16b0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EqualizerEffectDefinition;{023f6f1f-83fe-449a-a822-c696442d16b0})"); } impl ::core::clone::Clone for EqualizerEffectDefinition { fn clone(&self) -> Self { @@ -6261,7 +6261,7 @@ unsafe impl ::windows::core::Interface for EqualizerEffectDefinition { impl ::windows::core::RuntimeName for EqualizerEffectDefinition { const NAME: &'static str = "Windows.Media.Audio.EqualizerEffectDefinition"; } -::windows::core::interface_hierarchy!(EqualizerEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EqualizerEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Media_Effects")] impl ::core::convert::TryFrom for super::Effects::IAudioEffectDefinition { type Error = ::windows::core::Error; @@ -6310,7 +6310,7 @@ impl ::core::fmt::Debug for FrameInputNodeQuantumStartedEventArgs { } } impl ::windows::core::RuntimeType for FrameInputNodeQuantumStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.FrameInputNodeQuantumStartedEventArgs;{3d9bd498-a306-4f06-bd9f-e9efc8226304})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.FrameInputNodeQuantumStartedEventArgs;{3d9bd498-a306-4f06-bd9f-e9efc8226304})"); } impl ::core::clone::Clone for FrameInputNodeQuantumStartedEventArgs { fn clone(&self) -> Self { @@ -6326,7 +6326,7 @@ unsafe impl ::windows::core::Interface for FrameInputNodeQuantumStartedEventArgs impl ::windows::core::RuntimeName for FrameInputNodeQuantumStartedEventArgs { const NAME: &'static str = "Windows.Media.Audio.FrameInputNodeQuantumStartedEventArgs"; } -::windows::core::interface_hierarchy!(FrameInputNodeQuantumStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameInputNodeQuantumStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FrameInputNodeQuantumStartedEventArgs {} unsafe impl ::core::marker::Sync for FrameInputNodeQuantumStartedEventArgs {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -6381,7 +6381,7 @@ impl LimiterEffectDefinition { } #[doc(hidden)] pub fn ILimiterEffectDefinitionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6397,7 +6397,7 @@ impl ::core::fmt::Debug for LimiterEffectDefinition { } } impl ::windows::core::RuntimeType for LimiterEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.LimiterEffectDefinition;{6b755d19-2603-47ba-bdeb-39055e3486dc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.LimiterEffectDefinition;{6b755d19-2603-47ba-bdeb-39055e3486dc})"); } impl ::core::clone::Clone for LimiterEffectDefinition { fn clone(&self) -> Self { @@ -6413,7 +6413,7 @@ unsafe impl ::windows::core::Interface for LimiterEffectDefinition { impl ::windows::core::RuntimeName for LimiterEffectDefinition { const NAME: &'static str = "Windows.Media.Audio.LimiterEffectDefinition"; } -::windows::core::interface_hierarchy!(LimiterEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LimiterEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Media_Effects")] impl ::core::convert::TryFrom for super::Effects::IAudioEffectDefinition { type Error = ::windows::core::Error; @@ -6689,7 +6689,7 @@ impl ::core::fmt::Debug for MediaSourceAudioInputNode { } } impl ::windows::core::RuntimeType for MediaSourceAudioInputNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.MediaSourceAudioInputNode;{99d8983b-a88a-4041-8e4f-ddbac0c91fd3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.MediaSourceAudioInputNode;{99d8983b-a88a-4041-8e4f-ddbac0c91fd3})"); } impl ::core::clone::Clone for MediaSourceAudioInputNode { fn clone(&self) -> Self { @@ -6705,7 +6705,7 @@ unsafe impl ::windows::core::Interface for MediaSourceAudioInputNode { impl ::windows::core::RuntimeName for MediaSourceAudioInputNode { const NAME: &'static str = "Windows.Media.Audio.MediaSourceAudioInputNode"; } -::windows::core::interface_hierarchy!(MediaSourceAudioInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaSourceAudioInputNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioInputNode { type Error = ::windows::core::Error; fn try_from(value: MediaSourceAudioInputNode) -> ::windows::core::Result { @@ -7070,7 +7070,7 @@ impl ReverbEffectDefinition { } #[doc(hidden)] pub fn IReverbEffectDefinitionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7086,7 +7086,7 @@ impl ::core::fmt::Debug for ReverbEffectDefinition { } } impl ::windows::core::RuntimeType for ReverbEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.ReverbEffectDefinition;{4606aa89-f563-4d0a-8f6e-f0cddff35d84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.ReverbEffectDefinition;{4606aa89-f563-4d0a-8f6e-f0cddff35d84})"); } impl ::core::clone::Clone for ReverbEffectDefinition { fn clone(&self) -> Self { @@ -7102,7 +7102,7 @@ unsafe impl ::windows::core::Interface for ReverbEffectDefinition { impl ::windows::core::RuntimeName for ReverbEffectDefinition { const NAME: &'static str = "Windows.Media.Audio.ReverbEffectDefinition"; } -::windows::core::interface_hierarchy!(ReverbEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ReverbEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Media_Effects")] impl ::core::convert::TryFrom for super::Effects::IAudioEffectDefinition { type Error = ::windows::core::Error; @@ -7151,7 +7151,7 @@ impl ::core::fmt::Debug for SetDefaultSpatialAudioFormatResult { } } impl ::windows::core::RuntimeType for SetDefaultSpatialAudioFormatResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SetDefaultSpatialAudioFormatResult;{1c2aa511-1400-5e70-9ea9-ae151241e8ea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SetDefaultSpatialAudioFormatResult;{1c2aa511-1400-5e70-9ea9-ae151241e8ea})"); } impl ::core::clone::Clone for SetDefaultSpatialAudioFormatResult { fn clone(&self) -> Self { @@ -7167,7 +7167,7 @@ unsafe impl ::windows::core::Interface for SetDefaultSpatialAudioFormatResult { impl ::windows::core::RuntimeName for SetDefaultSpatialAudioFormatResult { const NAME: &'static str = "Windows.Media.Audio.SetDefaultSpatialAudioFormatResult"; } -::windows::core::interface_hierarchy!(SetDefaultSpatialAudioFormatResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SetDefaultSpatialAudioFormatResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SetDefaultSpatialAudioFormatResult {} unsafe impl ::core::marker::Sync for SetDefaultSpatialAudioFormatResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -7241,7 +7241,7 @@ impl SpatialAudioDeviceConfiguration { } #[doc(hidden)] pub fn ISpatialAudioDeviceConfigurationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7257,7 +7257,7 @@ impl ::core::fmt::Debug for SpatialAudioDeviceConfiguration { } } impl ::windows::core::RuntimeType for SpatialAudioDeviceConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SpatialAudioDeviceConfiguration;{ee830034-61cf-5749-9da4-10f0fe028199})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SpatialAudioDeviceConfiguration;{ee830034-61cf-5749-9da4-10f0fe028199})"); } impl ::core::clone::Clone for SpatialAudioDeviceConfiguration { fn clone(&self) -> Self { @@ -7273,7 +7273,7 @@ unsafe impl ::windows::core::Interface for SpatialAudioDeviceConfiguration { impl ::windows::core::RuntimeName for SpatialAudioDeviceConfiguration { const NAME: &'static str = "Windows.Media.Audio.SpatialAudioDeviceConfiguration"; } -::windows::core::interface_hierarchy!(SpatialAudioDeviceConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialAudioDeviceConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialAudioDeviceConfiguration {} unsafe impl ::core::marker::Sync for SpatialAudioDeviceConfiguration {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -7317,7 +7317,7 @@ impl SpatialAudioFormatConfiguration { } #[doc(hidden)] pub fn ISpatialAudioFormatConfigurationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7333,7 +7333,7 @@ impl ::core::fmt::Debug for SpatialAudioFormatConfiguration { } } impl ::windows::core::RuntimeType for SpatialAudioFormatConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SpatialAudioFormatConfiguration;{32df09a8-50f0-5395-9923-7d44ca71ed6d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SpatialAudioFormatConfiguration;{32df09a8-50f0-5395-9923-7d44ca71ed6d})"); } impl ::core::clone::Clone for SpatialAudioFormatConfiguration { fn clone(&self) -> Self { @@ -7349,7 +7349,7 @@ unsafe impl ::windows::core::Interface for SpatialAudioFormatConfiguration { impl ::windows::core::RuntimeName for SpatialAudioFormatConfiguration { const NAME: &'static str = "Windows.Media.Audio.SpatialAudioFormatConfiguration"; } -::windows::core::interface_hierarchy!(SpatialAudioFormatConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialAudioFormatConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialAudioFormatConfiguration {} unsafe impl ::core::marker::Sync for SpatialAudioFormatConfiguration {} #[doc = "*Required features: `\"Media_Audio\"`*"] @@ -7399,12 +7399,12 @@ impl SpatialAudioFormatSubtype { } #[doc(hidden)] pub fn ISpatialAudioFormatSubtypeStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISpatialAudioFormatSubtypeStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7442,7 +7442,7 @@ impl ::core::fmt::Debug for AudioDeviceNodeCreationStatus { } } impl ::windows::core::RuntimeType for AudioDeviceNodeCreationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioDeviceNodeCreationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioDeviceNodeCreationStatus;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7475,7 +7475,7 @@ impl ::core::fmt::Debug for AudioFileNodeCreationStatus { } } impl ::windows::core::RuntimeType for AudioFileNodeCreationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioFileNodeCreationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioFileNodeCreationStatus;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7507,7 +7507,7 @@ impl ::core::fmt::Debug for AudioGraphCreationStatus { } } impl ::windows::core::RuntimeType for AudioGraphCreationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioGraphCreationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioGraphCreationStatus;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7539,7 +7539,7 @@ impl ::core::fmt::Debug for AudioGraphUnrecoverableError { } } impl ::windows::core::RuntimeType for AudioGraphUnrecoverableError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioGraphUnrecoverableError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioGraphUnrecoverableError;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7569,7 +7569,7 @@ impl ::core::fmt::Debug for AudioNodeEmitterDecayKind { } } impl ::windows::core::RuntimeType for AudioNodeEmitterDecayKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioNodeEmitterDecayKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioNodeEmitterDecayKind;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7632,7 +7632,7 @@ impl ::core::ops::Not for AudioNodeEmitterSettings { } } impl ::windows::core::RuntimeType for AudioNodeEmitterSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioNodeEmitterSettings;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioNodeEmitterSettings;u4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7662,7 +7662,7 @@ impl ::core::fmt::Debug for AudioNodeEmitterShapeKind { } } impl ::windows::core::RuntimeType for AudioNodeEmitterShapeKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioNodeEmitterShapeKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioNodeEmitterShapeKind;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7694,7 +7694,7 @@ impl ::core::fmt::Debug for AudioPlaybackConnectionOpenResultStatus { } } impl ::windows::core::RuntimeType for AudioPlaybackConnectionOpenResultStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioPlaybackConnectionOpenResultStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioPlaybackConnectionOpenResultStatus;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7724,7 +7724,7 @@ impl ::core::fmt::Debug for AudioPlaybackConnectionState { } } impl ::windows::core::RuntimeType for AudioPlaybackConnectionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioPlaybackConnectionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.AudioPlaybackConnectionState;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7756,7 +7756,7 @@ impl ::core::fmt::Debug for MediaSourceAudioInputNodeCreationStatus { } } impl ::windows::core::RuntimeType for MediaSourceAudioInputNodeCreationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.MediaSourceAudioInputNodeCreationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.MediaSourceAudioInputNodeCreationStatus;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7786,7 +7786,7 @@ impl ::core::fmt::Debug for MixedRealitySpatialAudioFormatPolicy { } } impl ::windows::core::RuntimeType for MixedRealitySpatialAudioFormatPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.MixedRealitySpatialAudioFormatPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.MixedRealitySpatialAudioFormatPolicy;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7817,7 +7817,7 @@ impl ::core::fmt::Debug for QuantumSizeSelectionMode { } } impl ::windows::core::RuntimeType for QuantumSizeSelectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.QuantumSizeSelectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.QuantumSizeSelectionMode;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7851,7 +7851,7 @@ impl ::core::fmt::Debug for SetDefaultSpatialAudioFormatStatus { } } impl ::windows::core::RuntimeType for SetDefaultSpatialAudioFormatStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.SetDefaultSpatialAudioFormatStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.SetDefaultSpatialAudioFormatStatus;i4)"); } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] @@ -7881,7 +7881,7 @@ impl ::core::fmt::Debug for SpatialAudioModel { } } impl ::windows::core::RuntimeType for SpatialAudioModel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.SpatialAudioModel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Audio.SpatialAudioModel;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs index b4340bc0bb..6969390db1 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs @@ -146,7 +146,7 @@ impl ::core::fmt::Debug for VariablePhotoCapturedEventArgs { } } impl ::windows::core::RuntimeType for VariablePhotoCapturedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Core.VariablePhotoCapturedEventArgs;{d1eb4c5c-1b53-4e4a-8b5c-db7887ac949b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Core.VariablePhotoCapturedEventArgs;{d1eb4c5c-1b53-4e4a-8b5c-db7887ac949b})"); } impl ::core::clone::Clone for VariablePhotoCapturedEventArgs { fn clone(&self) -> Self { @@ -162,7 +162,7 @@ unsafe impl ::windows::core::Interface for VariablePhotoCapturedEventArgs { impl ::windows::core::RuntimeName for VariablePhotoCapturedEventArgs { const NAME: &'static str = "Windows.Media.Capture.Core.VariablePhotoCapturedEventArgs"; } -::windows::core::interface_hierarchy!(VariablePhotoCapturedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VariablePhotoCapturedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VariablePhotoCapturedEventArgs {} unsafe impl ::core::marker::Sync for VariablePhotoCapturedEventArgs {} #[doc = "*Required features: `\"Media_Capture_Core\"`*"] @@ -248,7 +248,7 @@ impl ::core::fmt::Debug for VariablePhotoSequenceCapture { } } impl ::windows::core::RuntimeType for VariablePhotoSequenceCapture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Core.VariablePhotoSequenceCapture;{d0112d1d-031e-4041-a6d6-bd742476a8ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Core.VariablePhotoSequenceCapture;{d0112d1d-031e-4041-a6d6-bd742476a8ee})"); } impl ::core::clone::Clone for VariablePhotoSequenceCapture { fn clone(&self) -> Self { @@ -264,6 +264,6 @@ unsafe impl ::windows::core::Interface for VariablePhotoSequenceCapture { impl ::windows::core::RuntimeName for VariablePhotoSequenceCapture { const NAME: &'static str = "Windows.Media.Capture.Core.VariablePhotoSequenceCapture"; } -::windows::core::interface_hierarchy!(VariablePhotoSequenceCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VariablePhotoSequenceCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs index fe0f1a75f5..b05cbfac75 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs @@ -819,7 +819,7 @@ impl ::core::fmt::Debug for AudioMediaFrame { } } impl ::windows::core::RuntimeType for AudioMediaFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.AudioMediaFrame;{a3a9feff-8021-441b-9a46-e7f0137b7981})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.AudioMediaFrame;{a3a9feff-8021-441b-9a46-e7f0137b7981})"); } impl ::core::clone::Clone for AudioMediaFrame { fn clone(&self) -> Self { @@ -835,7 +835,7 @@ unsafe impl ::windows::core::Interface for AudioMediaFrame { impl ::windows::core::RuntimeName for AudioMediaFrame { const NAME: &'static str = "Windows.Media.Capture.Frames.AudioMediaFrame"; } -::windows::core::interface_hierarchy!(AudioMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioMediaFrame {} unsafe impl ::core::marker::Sync for AudioMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -871,7 +871,7 @@ impl ::core::fmt::Debug for BufferMediaFrame { } } impl ::windows::core::RuntimeType for BufferMediaFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.BufferMediaFrame;{b5b153c7-9b84-4062-b79c-a365b2596854})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.BufferMediaFrame;{b5b153c7-9b84-4062-b79c-a365b2596854})"); } impl ::core::clone::Clone for BufferMediaFrame { fn clone(&self) -> Self { @@ -887,7 +887,7 @@ unsafe impl ::windows::core::Interface for BufferMediaFrame { impl ::windows::core::RuntimeName for BufferMediaFrame { const NAME: &'static str = "Windows.Media.Capture.Frames.BufferMediaFrame"; } -::windows::core::interface_hierarchy!(BufferMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BufferMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BufferMediaFrame {} unsafe impl ::core::marker::Sync for BufferMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -951,7 +951,7 @@ impl ::core::fmt::Debug for DepthMediaFrame { } } impl ::windows::core::RuntimeType for DepthMediaFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.DepthMediaFrame;{47135e4f-8549-45c0-925b-80d35efdb10a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.DepthMediaFrame;{47135e4f-8549-45c0-925b-80d35efdb10a})"); } impl ::core::clone::Clone for DepthMediaFrame { fn clone(&self) -> Self { @@ -967,7 +967,7 @@ unsafe impl ::windows::core::Interface for DepthMediaFrame { impl ::windows::core::RuntimeName for DepthMediaFrame { const NAME: &'static str = "Windows.Media.Capture.Frames.DepthMediaFrame"; } -::windows::core::interface_hierarchy!(DepthMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DepthMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DepthMediaFrame {} unsafe impl ::core::marker::Sync for DepthMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1001,7 +1001,7 @@ impl ::core::fmt::Debug for DepthMediaFrameFormat { } } impl ::windows::core::RuntimeType for DepthMediaFrameFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.DepthMediaFrameFormat;{c312cf40-d729-453e-8780-2e04f140d28e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.DepthMediaFrameFormat;{c312cf40-d729-453e-8780-2e04f140d28e})"); } impl ::core::clone::Clone for DepthMediaFrameFormat { fn clone(&self) -> Self { @@ -1017,7 +1017,7 @@ unsafe impl ::windows::core::Interface for DepthMediaFrameFormat { impl ::windows::core::RuntimeName for DepthMediaFrameFormat { const NAME: &'static str = "Windows.Media.Capture.Frames.DepthMediaFrameFormat"; } -::windows::core::interface_hierarchy!(DepthMediaFrameFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DepthMediaFrameFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DepthMediaFrameFormat {} unsafe impl ::core::marker::Sync for DepthMediaFrameFormat {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1058,7 +1058,7 @@ impl ::core::fmt::Debug for InfraredMediaFrame { } } impl ::windows::core::RuntimeType for InfraredMediaFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.InfraredMediaFrame;{3fd13503-004b-4f0e-91ac-465299b41658})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.InfraredMediaFrame;{3fd13503-004b-4f0e-91ac-465299b41658})"); } impl ::core::clone::Clone for InfraredMediaFrame { fn clone(&self) -> Self { @@ -1074,7 +1074,7 @@ unsafe impl ::windows::core::Interface for InfraredMediaFrame { impl ::windows::core::RuntimeName for InfraredMediaFrame { const NAME: &'static str = "Windows.Media.Capture.Frames.InfraredMediaFrame"; } -::windows::core::interface_hierarchy!(InfraredMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InfraredMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InfraredMediaFrame {} unsafe impl ::core::marker::Sync for InfraredMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1093,7 +1093,7 @@ impl ::core::fmt::Debug for MediaFrameArrivedEventArgs { } } impl ::windows::core::RuntimeType for MediaFrameArrivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameArrivedEventArgs;{0b430add-a490-4435-ada1-9affd55239f7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameArrivedEventArgs;{0b430add-a490-4435-ada1-9affd55239f7})"); } impl ::core::clone::Clone for MediaFrameArrivedEventArgs { fn clone(&self) -> Self { @@ -1109,7 +1109,7 @@ unsafe impl ::windows::core::Interface for MediaFrameArrivedEventArgs { impl ::windows::core::RuntimeName for MediaFrameArrivedEventArgs { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameArrivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaFrameArrivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameArrivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaFrameArrivedEventArgs {} unsafe impl ::core::marker::Sync for MediaFrameArrivedEventArgs {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1177,7 +1177,7 @@ impl ::core::fmt::Debug for MediaFrameFormat { } } impl ::windows::core::RuntimeType for MediaFrameFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameFormat;{71902b4e-b279-4a97-a9db-bd5a2fb78f39})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameFormat;{71902b4e-b279-4a97-a9db-bd5a2fb78f39})"); } impl ::core::clone::Clone for MediaFrameFormat { fn clone(&self) -> Self { @@ -1193,7 +1193,7 @@ unsafe impl ::windows::core::Interface for MediaFrameFormat { impl ::windows::core::RuntimeName for MediaFrameFormat { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameFormat"; } -::windows::core::interface_hierarchy!(MediaFrameFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaFrameFormat {} unsafe impl ::core::marker::Sync for MediaFrameFormat {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1270,7 +1270,7 @@ impl ::core::fmt::Debug for MediaFrameReader { } } impl ::windows::core::RuntimeType for MediaFrameReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameReader;{e4c94395-2028-48ed-90b0-d1c1b162e24c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameReader;{e4c94395-2028-48ed-90b0-d1c1b162e24c})"); } impl ::core::clone::Clone for MediaFrameReader { fn clone(&self) -> Self { @@ -1286,7 +1286,7 @@ unsafe impl ::windows::core::Interface for MediaFrameReader { impl ::windows::core::RuntimeName for MediaFrameReader { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameReader"; } -::windows::core::interface_hierarchy!(MediaFrameReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameReader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1405,7 +1405,7 @@ impl ::core::fmt::Debug for MediaFrameReference { } } impl ::windows::core::RuntimeType for MediaFrameReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameReference;{f6b88641-f0dc-4044-8dc9-961cedd05bad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameReference;{f6b88641-f0dc-4044-8dc9-961cedd05bad})"); } impl ::core::clone::Clone for MediaFrameReference { fn clone(&self) -> Self { @@ -1421,7 +1421,7 @@ unsafe impl ::windows::core::Interface for MediaFrameReference { impl ::windows::core::RuntimeName for MediaFrameReference { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameReference"; } -::windows::core::interface_hierarchy!(MediaFrameReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameReference, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1526,7 +1526,7 @@ impl ::core::fmt::Debug for MediaFrameSource { } } impl ::windows::core::RuntimeType for MediaFrameSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSource;{d6782953-90db-46a8-8add-2aa884a8d253})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSource;{d6782953-90db-46a8-8add-2aa884a8d253})"); } impl ::core::clone::Clone for MediaFrameSource { fn clone(&self) -> Self { @@ -1542,7 +1542,7 @@ unsafe impl ::windows::core::Interface for MediaFrameSource { impl ::windows::core::RuntimeName for MediaFrameSource { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameSource"; } -::windows::core::interface_hierarchy!(MediaFrameSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaFrameSource {} unsafe impl ::core::marker::Sync for MediaFrameSource {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1623,7 +1623,7 @@ impl ::core::fmt::Debug for MediaFrameSourceController { } } impl ::windows::core::RuntimeType for MediaFrameSourceController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceController;{6d076635-316d-4b8f-b7b6-eeb04a8c6525})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceController;{6d076635-316d-4b8f-b7b6-eeb04a8c6525})"); } impl ::core::clone::Clone for MediaFrameSourceController { fn clone(&self) -> Self { @@ -1639,7 +1639,7 @@ unsafe impl ::windows::core::Interface for MediaFrameSourceController { impl ::windows::core::RuntimeName for MediaFrameSourceController { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameSourceController"; } -::windows::core::interface_hierarchy!(MediaFrameSourceController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameSourceController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaFrameSourceController {} unsafe impl ::core::marker::Sync for MediaFrameSourceController {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1673,7 +1673,7 @@ impl ::core::fmt::Debug for MediaFrameSourceGetPropertyResult { } } impl ::windows::core::RuntimeType for MediaFrameSourceGetPropertyResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyResult;{088616c2-3a64-4bd5-bd2b-e7c898d2f37a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyResult;{088616c2-3a64-4bd5-bd2b-e7c898d2f37a})"); } impl ::core::clone::Clone for MediaFrameSourceGetPropertyResult { fn clone(&self) -> Self { @@ -1689,7 +1689,7 @@ unsafe impl ::windows::core::Interface for MediaFrameSourceGetPropertyResult { impl ::windows::core::RuntimeName for MediaFrameSourceGetPropertyResult { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyResult"; } -::windows::core::interface_hierarchy!(MediaFrameSourceGetPropertyResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameSourceGetPropertyResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaFrameSourceGetPropertyResult {} unsafe impl ::core::marker::Sync for MediaFrameSourceGetPropertyResult {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1743,7 +1743,7 @@ impl MediaFrameSourceGroup { } #[doc(hidden)] pub fn IMediaFrameSourceGroupStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1759,7 +1759,7 @@ impl ::core::fmt::Debug for MediaFrameSourceGroup { } } impl ::windows::core::RuntimeType for MediaFrameSourceGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceGroup;{7f605b87-4832-4b5f-ae3d-412faab37d34})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceGroup;{7f605b87-4832-4b5f-ae3d-412faab37d34})"); } impl ::core::clone::Clone for MediaFrameSourceGroup { fn clone(&self) -> Self { @@ -1775,7 +1775,7 @@ unsafe impl ::windows::core::Interface for MediaFrameSourceGroup { impl ::windows::core::RuntimeName for MediaFrameSourceGroup { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameSourceGroup"; } -::windows::core::interface_hierarchy!(MediaFrameSourceGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameSourceGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaFrameSourceGroup {} unsafe impl ::core::marker::Sync for MediaFrameSourceGroup {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1882,7 +1882,7 @@ impl ::core::fmt::Debug for MediaFrameSourceInfo { } } impl ::windows::core::RuntimeType for MediaFrameSourceInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceInfo;{87bdc9cd-4601-408f-91cf-038318cd0af3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceInfo;{87bdc9cd-4601-408f-91cf-038318cd0af3})"); } impl ::core::clone::Clone for MediaFrameSourceInfo { fn clone(&self) -> Self { @@ -1898,7 +1898,7 @@ unsafe impl ::windows::core::Interface for MediaFrameSourceInfo { impl ::windows::core::RuntimeName for MediaFrameSourceInfo { const NAME: &'static str = "Windows.Media.Capture.Frames.MediaFrameSourceInfo"; } -::windows::core::interface_hierarchy!(MediaFrameSourceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaFrameSourceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaFrameSourceInfo {} unsafe impl ::core::marker::Sync for MediaFrameSourceInfo {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -1917,7 +1917,7 @@ impl ::core::fmt::Debug for MultiSourceMediaFrameArrivedEventArgs { } } impl ::windows::core::RuntimeType for MultiSourceMediaFrameArrivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameArrivedEventArgs;{63115e01-cf51-48fd-aab0-6d693eb48127})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameArrivedEventArgs;{63115e01-cf51-48fd-aab0-6d693eb48127})"); } impl ::core::clone::Clone for MultiSourceMediaFrameArrivedEventArgs { fn clone(&self) -> Self { @@ -1933,7 +1933,7 @@ unsafe impl ::windows::core::Interface for MultiSourceMediaFrameArrivedEventArgs impl ::windows::core::RuntimeName for MultiSourceMediaFrameArrivedEventArgs { const NAME: &'static str = "Windows.Media.Capture.Frames.MultiSourceMediaFrameArrivedEventArgs"; } -::windows::core::interface_hierarchy!(MultiSourceMediaFrameArrivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MultiSourceMediaFrameArrivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MultiSourceMediaFrameArrivedEventArgs {} unsafe impl ::core::marker::Sync for MultiSourceMediaFrameArrivedEventArgs {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -2010,7 +2010,7 @@ impl ::core::fmt::Debug for MultiSourceMediaFrameReader { } } impl ::windows::core::RuntimeType for MultiSourceMediaFrameReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameReader;{8d144402-f763-488d-98f2-b437bcf075e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameReader;{8d144402-f763-488d-98f2-b437bcf075e7})"); } impl ::core::clone::Clone for MultiSourceMediaFrameReader { fn clone(&self) -> Self { @@ -2026,7 +2026,7 @@ unsafe impl ::windows::core::Interface for MultiSourceMediaFrameReader { impl ::windows::core::RuntimeName for MultiSourceMediaFrameReader { const NAME: &'static str = "Windows.Media.Capture.Frames.MultiSourceMediaFrameReader"; } -::windows::core::interface_hierarchy!(MultiSourceMediaFrameReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MultiSourceMediaFrameReader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2081,7 +2081,7 @@ impl ::core::fmt::Debug for MultiSourceMediaFrameReference { } } impl ::windows::core::RuntimeType for MultiSourceMediaFrameReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameReference;{21964b1a-7fe2-44d6-92e5-298e6d2810e9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameReference;{21964b1a-7fe2-44d6-92e5-298e6d2810e9})"); } impl ::core::clone::Clone for MultiSourceMediaFrameReference { fn clone(&self) -> Self { @@ -2097,7 +2097,7 @@ unsafe impl ::windows::core::Interface for MultiSourceMediaFrameReference { impl ::windows::core::RuntimeName for MultiSourceMediaFrameReference { const NAME: &'static str = "Windows.Media.Capture.Frames.MultiSourceMediaFrameReference"; } -::windows::core::interface_hierarchy!(MultiSourceMediaFrameReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MultiSourceMediaFrameReference, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2201,7 +2201,7 @@ impl ::core::fmt::Debug for VideoMediaFrame { } } impl ::windows::core::RuntimeType for VideoMediaFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.VideoMediaFrame;{00dd4ccb-32bd-4fe1-a013-7cc13cf5dbcf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.VideoMediaFrame;{00dd4ccb-32bd-4fe1-a013-7cc13cf5dbcf})"); } impl ::core::clone::Clone for VideoMediaFrame { fn clone(&self) -> Self { @@ -2217,7 +2217,7 @@ unsafe impl ::windows::core::Interface for VideoMediaFrame { impl ::windows::core::RuntimeName for VideoMediaFrame { const NAME: &'static str = "Windows.Media.Capture.Frames.VideoMediaFrame"; } -::windows::core::interface_hierarchy!(VideoMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoMediaFrame {} unsafe impl ::core::marker::Sync for VideoMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -2265,7 +2265,7 @@ impl ::core::fmt::Debug for VideoMediaFrameFormat { } } impl ::windows::core::RuntimeType for VideoMediaFrameFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.VideoMediaFrameFormat;{46027fc0-d71b-45c7-8f14-6d9a0ae604e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.VideoMediaFrameFormat;{46027fc0-d71b-45c7-8f14-6d9a0ae604e4})"); } impl ::core::clone::Clone for VideoMediaFrameFormat { fn clone(&self) -> Self { @@ -2281,7 +2281,7 @@ unsafe impl ::windows::core::Interface for VideoMediaFrameFormat { impl ::windows::core::RuntimeName for VideoMediaFrameFormat { const NAME: &'static str = "Windows.Media.Capture.Frames.VideoMediaFrameFormat"; } -::windows::core::interface_hierarchy!(VideoMediaFrameFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoMediaFrameFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoMediaFrameFormat {} unsafe impl ::core::marker::Sync for VideoMediaFrameFormat {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] @@ -2312,7 +2312,7 @@ impl ::core::fmt::Debug for MediaFrameReaderAcquisitionMode { } } impl ::windows::core::RuntimeType for MediaFrameReaderAcquisitionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameReaderAcquisitionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameReaderAcquisitionMode;i4)"); } #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] @@ -2345,7 +2345,7 @@ impl ::core::fmt::Debug for MediaFrameReaderStartStatus { } } impl ::windows::core::RuntimeType for MediaFrameReaderStartStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameReaderStartStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameReaderStartStatus;i4)"); } #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] @@ -2379,7 +2379,7 @@ impl ::core::fmt::Debug for MediaFrameSourceGetPropertyStatus { } } impl ::windows::core::RuntimeType for MediaFrameSourceGetPropertyStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyStatus;i4)"); } #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] @@ -2414,7 +2414,7 @@ impl ::core::fmt::Debug for MediaFrameSourceKind { } } impl ::windows::core::RuntimeType for MediaFrameSourceKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameSourceKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameSourceKind;i4)"); } #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] @@ -2448,7 +2448,7 @@ impl ::core::fmt::Debug for MediaFrameSourceSetPropertyStatus { } } impl ::windows::core::RuntimeType for MediaFrameSourceSetPropertyStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameSourceSetPropertyStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MediaFrameSourceSetPropertyStatus;i4)"); } #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] @@ -2481,7 +2481,7 @@ impl ::core::fmt::Debug for MultiSourceMediaFrameReaderStartStatus { } } impl ::windows::core::RuntimeType for MultiSourceMediaFrameReaderStartStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MultiSourceMediaFrameReaderStartStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.Frames.MultiSourceMediaFrameReaderStartStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index 1a7b2c79d6..03d01e283e 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -3604,7 +3604,7 @@ impl ::core::fmt::Debug for AdvancedCapturedPhoto { } } impl ::windows::core::RuntimeType for AdvancedCapturedPhoto { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AdvancedCapturedPhoto;{f072728b-b292-4491-9d41-99807a550bbf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AdvancedCapturedPhoto;{f072728b-b292-4491-9d41-99807a550bbf})"); } impl ::core::clone::Clone for AdvancedCapturedPhoto { fn clone(&self) -> Self { @@ -3620,7 +3620,7 @@ unsafe impl ::windows::core::Interface for AdvancedCapturedPhoto { impl ::windows::core::RuntimeName for AdvancedCapturedPhoto { const NAME: &'static str = "Windows.Media.Capture.AdvancedCapturedPhoto"; } -::windows::core::interface_hierarchy!(AdvancedCapturedPhoto, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdvancedCapturedPhoto, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdvancedCapturedPhoto {} unsafe impl ::core::marker::Sync for AdvancedCapturedPhoto {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -3700,7 +3700,7 @@ impl ::core::fmt::Debug for AdvancedPhotoCapture { } } impl ::windows::core::RuntimeType for AdvancedPhotoCapture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AdvancedPhotoCapture;{83ffaafa-6667-44dc-973c-a6bce596aa0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AdvancedPhotoCapture;{83ffaafa-6667-44dc-973c-a6bce596aa0f})"); } impl ::core::clone::Clone for AdvancedPhotoCapture { fn clone(&self) -> Self { @@ -3716,7 +3716,7 @@ unsafe impl ::windows::core::Interface for AdvancedPhotoCapture { impl ::windows::core::RuntimeName for AdvancedPhotoCapture { const NAME: &'static str = "Windows.Media.Capture.AdvancedPhotoCapture"; } -::windows::core::interface_hierarchy!(AdvancedPhotoCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdvancedPhotoCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdvancedPhotoCapture {} unsafe impl ::core::marker::Sync for AdvancedPhotoCapture {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -3891,7 +3891,7 @@ impl ::core::fmt::Debug for AppBroadcastBackgroundService { } } impl ::windows::core::RuntimeType for AppBroadcastBackgroundService { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundService;{bad1e72a-fa94-46f9-95fc-d71511cda70b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundService;{bad1e72a-fa94-46f9-95fc-d71511cda70b})"); } impl ::core::clone::Clone for AppBroadcastBackgroundService { fn clone(&self) -> Self { @@ -3907,7 +3907,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastBackgroundService { impl ::windows::core::RuntimeName for AppBroadcastBackgroundService { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastBackgroundService"; } -::windows::core::interface_hierarchy!(AppBroadcastBackgroundService, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastBackgroundService, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastBackgroundServiceSignInInfo(::windows::core::IUnknown); @@ -4012,7 +4012,7 @@ impl ::core::fmt::Debug for AppBroadcastBackgroundServiceSignInInfo { } } impl ::windows::core::RuntimeType for AppBroadcastBackgroundServiceSignInInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundServiceSignInInfo;{5e735275-88c8-4eca-89ba-4825985db880})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundServiceSignInInfo;{5e735275-88c8-4eca-89ba-4825985db880})"); } impl ::core::clone::Clone for AppBroadcastBackgroundServiceSignInInfo { fn clone(&self) -> Self { @@ -4028,7 +4028,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastBackgroundServiceSignInIn impl ::windows::core::RuntimeName for AppBroadcastBackgroundServiceSignInInfo { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastBackgroundServiceSignInInfo"; } -::windows::core::interface_hierarchy!(AppBroadcastBackgroundServiceSignInInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastBackgroundServiceSignInInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastBackgroundServiceStreamInfo(::windows::core::IUnknown); @@ -4142,7 +4142,7 @@ impl ::core::fmt::Debug for AppBroadcastBackgroundServiceStreamInfo { } } impl ::windows::core::RuntimeType for AppBroadcastBackgroundServiceStreamInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundServiceStreamInfo;{31dc02bc-990a-4904-aa96-fe364381f136})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundServiceStreamInfo;{31dc02bc-990a-4904-aa96-fe364381f136})"); } impl ::core::clone::Clone for AppBroadcastBackgroundServiceStreamInfo { fn clone(&self) -> Self { @@ -4158,7 +4158,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastBackgroundServiceStreamIn impl ::windows::core::RuntimeName for AppBroadcastBackgroundServiceStreamInfo { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastBackgroundServiceStreamInfo"; } -::windows::core::interface_hierarchy!(AppBroadcastBackgroundServiceStreamInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastBackgroundServiceStreamInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastCameraCaptureStateChangedEventArgs(::windows::core::IUnknown); @@ -4190,7 +4190,7 @@ impl ::core::fmt::Debug for AppBroadcastCameraCaptureStateChangedEventArgs { } } impl ::windows::core::RuntimeType for AppBroadcastCameraCaptureStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastCameraCaptureStateChangedEventArgs;{1e334cd0-b882-4b88-8692-05999aceb70f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastCameraCaptureStateChangedEventArgs;{1e334cd0-b882-4b88-8692-05999aceb70f})"); } impl ::core::clone::Clone for AppBroadcastCameraCaptureStateChangedEventArgs { fn clone(&self) -> Self { @@ -4206,7 +4206,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastCameraCaptureStateChanged impl ::windows::core::RuntimeName for AppBroadcastCameraCaptureStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastCameraCaptureStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppBroadcastCameraCaptureStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastCameraCaptureStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastCameraCaptureStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppBroadcastCameraCaptureStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -4364,7 +4364,7 @@ impl ::core::fmt::Debug for AppBroadcastGlobalSettings { } } impl ::windows::core::RuntimeType for AppBroadcastGlobalSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastGlobalSettings;{b2cb27a5-70fc-4e17-80bd-6ba0fd3ff3a0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastGlobalSettings;{b2cb27a5-70fc-4e17-80bd-6ba0fd3ff3a0})"); } impl ::core::clone::Clone for AppBroadcastGlobalSettings { fn clone(&self) -> Self { @@ -4380,7 +4380,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastGlobalSettings { impl ::windows::core::RuntimeName for AppBroadcastGlobalSettings { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastGlobalSettings"; } -::windows::core::interface_hierarchy!(AppBroadcastGlobalSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastGlobalSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastHeartbeatRequestedEventArgs(::windows::core::IUnknown); @@ -4409,7 +4409,7 @@ impl ::core::fmt::Debug for AppBroadcastHeartbeatRequestedEventArgs { } } impl ::windows::core::RuntimeType for AppBroadcastHeartbeatRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastHeartbeatRequestedEventArgs;{cea54283-ee51-4dbf-9472-79a9ed4e2165})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastHeartbeatRequestedEventArgs;{cea54283-ee51-4dbf-9472-79a9ed4e2165})"); } impl ::core::clone::Clone for AppBroadcastHeartbeatRequestedEventArgs { fn clone(&self) -> Self { @@ -4425,7 +4425,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastHeartbeatRequestedEventAr impl ::windows::core::RuntimeName for AppBroadcastHeartbeatRequestedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastHeartbeatRequestedEventArgs"; } -::windows::core::interface_hierarchy!(AppBroadcastHeartbeatRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastHeartbeatRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] pub struct AppBroadcastManager; impl AppBroadcastManager { @@ -4449,7 +4449,7 @@ impl AppBroadcastManager { } #[doc(hidden)] pub fn IAppBroadcastManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4487,7 +4487,7 @@ impl ::core::fmt::Debug for AppBroadcastMicrophoneCaptureStateChangedEventArgs { } } impl ::windows::core::RuntimeType for AppBroadcastMicrophoneCaptureStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastMicrophoneCaptureStateChangedEventArgs;{a86ad5e9-9440-4908-9d09-65b7e315d795})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastMicrophoneCaptureStateChangedEventArgs;{a86ad5e9-9440-4908-9d09-65b7e315d795})"); } impl ::core::clone::Clone for AppBroadcastMicrophoneCaptureStateChangedEventArgs { fn clone(&self) -> Self { @@ -4503,7 +4503,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastMicrophoneCaptureStateCha impl ::windows::core::RuntimeName for AppBroadcastMicrophoneCaptureStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastMicrophoneCaptureStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppBroadcastMicrophoneCaptureStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastMicrophoneCaptureStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastMicrophoneCaptureStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppBroadcastMicrophoneCaptureStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -4553,7 +4553,7 @@ impl ::core::fmt::Debug for AppBroadcastPlugIn { } } impl ::windows::core::RuntimeType for AppBroadcastPlugIn { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugIn;{520c1e66-6513-4574-ac54-23b79729615b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugIn;{520c1e66-6513-4574-ac54-23b79729615b})"); } impl ::core::clone::Clone for AppBroadcastPlugIn { fn clone(&self) -> Self { @@ -4569,7 +4569,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastPlugIn { impl ::windows::core::RuntimeName for AppBroadcastPlugIn { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastPlugIn"; } -::windows::core::interface_hierarchy!(AppBroadcastPlugIn, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastPlugIn, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastPlugIn {} unsafe impl ::core::marker::Sync for AppBroadcastPlugIn {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -4619,7 +4619,7 @@ impl AppBroadcastPlugInManager { } #[doc(hidden)] pub fn IAppBroadcastPlugInManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4635,7 +4635,7 @@ impl ::core::fmt::Debug for AppBroadcastPlugInManager { } } impl ::windows::core::RuntimeType for AppBroadcastPlugInManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugInManager;{e550d979-27a1-49a7-bbf4-d7a9e9d07668})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugInManager;{e550d979-27a1-49a7-bbf4-d7a9e9d07668})"); } impl ::core::clone::Clone for AppBroadcastPlugInManager { fn clone(&self) -> Self { @@ -4651,7 +4651,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastPlugInManager { impl ::windows::core::RuntimeName for AppBroadcastPlugInManager { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastPlugInManager"; } -::windows::core::interface_hierarchy!(AppBroadcastPlugInManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastPlugInManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastPlugInManager {} unsafe impl ::core::marker::Sync for AppBroadcastPlugInManager {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -4678,7 +4678,7 @@ impl ::core::fmt::Debug for AppBroadcastPlugInStateChangedEventArgs { } } impl ::windows::core::RuntimeType for AppBroadcastPlugInStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugInStateChangedEventArgs;{4881d0f2-abc5-4fc6-84b0-89370bb47212})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugInStateChangedEventArgs;{4881d0f2-abc5-4fc6-84b0-89370bb47212})"); } impl ::core::clone::Clone for AppBroadcastPlugInStateChangedEventArgs { fn clone(&self) -> Self { @@ -4694,7 +4694,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastPlugInStateChangedEventAr impl ::windows::core::RuntimeName for AppBroadcastPlugInStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastPlugInStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppBroadcastPlugInStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastPlugInStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastPlugInStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppBroadcastPlugInStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -4756,7 +4756,7 @@ impl ::core::fmt::Debug for AppBroadcastPreview { } } impl ::windows::core::RuntimeType for AppBroadcastPreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreview;{14b60f5a-6e4a-4b80-a14f-67ee77d153e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreview;{14b60f5a-6e4a-4b80-a14f-67ee77d153e7})"); } impl ::core::clone::Clone for AppBroadcastPreview { fn clone(&self) -> Self { @@ -4772,7 +4772,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastPreview { impl ::windows::core::RuntimeName for AppBroadcastPreview { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastPreview"; } -::windows::core::interface_hierarchy!(AppBroadcastPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastPreview {} unsafe impl ::core::marker::Sync for AppBroadcastPreview {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -4806,7 +4806,7 @@ impl ::core::fmt::Debug for AppBroadcastPreviewStateChangedEventArgs { } } impl ::windows::core::RuntimeType for AppBroadcastPreviewStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStateChangedEventArgs;{5a57f2de-8dea-4e86-90ad-03fc26b9653c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStateChangedEventArgs;{5a57f2de-8dea-4e86-90ad-03fc26b9653c})"); } impl ::core::clone::Clone for AppBroadcastPreviewStateChangedEventArgs { fn clone(&self) -> Self { @@ -4822,7 +4822,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastPreviewStateChangedEventA impl ::windows::core::RuntimeName for AppBroadcastPreviewStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastPreviewStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppBroadcastPreviewStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastPreviewStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastPreviewStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppBroadcastPreviewStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -4903,7 +4903,7 @@ impl ::core::fmt::Debug for AppBroadcastPreviewStreamReader { } } impl ::windows::core::RuntimeType for AppBroadcastPreviewStreamReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamReader;{92228d50-db3f-40a8-8cd4-f4e371ddab37})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamReader;{92228d50-db3f-40a8-8cd4-f4e371ddab37})"); } impl ::core::clone::Clone for AppBroadcastPreviewStreamReader { fn clone(&self) -> Self { @@ -4919,7 +4919,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastPreviewStreamReader { impl ::windows::core::RuntimeName for AppBroadcastPreviewStreamReader { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastPreviewStreamReader"; } -::windows::core::interface_hierarchy!(AppBroadcastPreviewStreamReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastPreviewStreamReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastPreviewStreamReader {} unsafe impl ::core::marker::Sync for AppBroadcastPreviewStreamReader {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -4955,7 +4955,7 @@ impl ::core::fmt::Debug for AppBroadcastPreviewStreamVideoFrame { } } impl ::windows::core::RuntimeType for AppBroadcastPreviewStreamVideoFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamVideoFrame;{010fbea1-94fe-4499-b8c0-8d244279fb12})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamVideoFrame;{010fbea1-94fe-4499-b8c0-8d244279fb12})"); } impl ::core::clone::Clone for AppBroadcastPreviewStreamVideoFrame { fn clone(&self) -> Self { @@ -4971,7 +4971,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastPreviewStreamVideoFrame { impl ::windows::core::RuntimeName for AppBroadcastPreviewStreamVideoFrame { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastPreviewStreamVideoFrame"; } -::windows::core::interface_hierarchy!(AppBroadcastPreviewStreamVideoFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastPreviewStreamVideoFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastPreviewStreamVideoFrame {} unsafe impl ::core::marker::Sync for AppBroadcastPreviewStreamVideoFrame {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -5025,7 +5025,7 @@ impl ::core::fmt::Debug for AppBroadcastPreviewStreamVideoHeader { } } impl ::windows::core::RuntimeType for AppBroadcastPreviewStreamVideoHeader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamVideoHeader;{8bef6113-da84-4499-a7ab-87118cb4a157})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamVideoHeader;{8bef6113-da84-4499-a7ab-87118cb4a157})"); } impl ::core::clone::Clone for AppBroadcastPreviewStreamVideoHeader { fn clone(&self) -> Self { @@ -5041,7 +5041,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastPreviewStreamVideoHeader impl ::windows::core::RuntimeName for AppBroadcastPreviewStreamVideoHeader { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastPreviewStreamVideoHeader"; } -::windows::core::interface_hierarchy!(AppBroadcastPreviewStreamVideoHeader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastPreviewStreamVideoHeader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastPreviewStreamVideoHeader {} unsafe impl ::core::marker::Sync for AppBroadcastPreviewStreamVideoHeader {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -5138,7 +5138,7 @@ impl ::core::fmt::Debug for AppBroadcastProviderSettings { } } impl ::windows::core::RuntimeType for AppBroadcastProviderSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastProviderSettings;{c30bdf62-9948-458f-ad50-aa06ec03da08})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastProviderSettings;{c30bdf62-9948-458f-ad50-aa06ec03da08})"); } impl ::core::clone::Clone for AppBroadcastProviderSettings { fn clone(&self) -> Self { @@ -5154,7 +5154,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastProviderSettings { impl ::windows::core::RuntimeName for AppBroadcastProviderSettings { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastProviderSettings"; } -::windows::core::interface_hierarchy!(AppBroadcastProviderSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastProviderSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastServices(::windows::core::IUnknown); @@ -5260,7 +5260,7 @@ impl ::core::fmt::Debug for AppBroadcastServices { } } impl ::windows::core::RuntimeType for AppBroadcastServices { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastServices;{8660b4d6-969b-4e3c-ac3a-8b042ee4ee63})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastServices;{8660b4d6-969b-4e3c-ac3a-8b042ee4ee63})"); } impl ::core::clone::Clone for AppBroadcastServices { fn clone(&self) -> Self { @@ -5276,7 +5276,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastServices { impl ::windows::core::RuntimeName for AppBroadcastServices { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastServices"; } -::windows::core::interface_hierarchy!(AppBroadcastServices, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastServices, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastServices {} unsafe impl ::core::marker::Sync for AppBroadcastServices {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -5310,7 +5310,7 @@ impl ::core::fmt::Debug for AppBroadcastSignInStateChangedEventArgs { } } impl ::windows::core::RuntimeType for AppBroadcastSignInStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastSignInStateChangedEventArgs;{02b692a4-5919-4a9e-8d5e-c9bb0dd3377a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastSignInStateChangedEventArgs;{02b692a4-5919-4a9e-8d5e-c9bb0dd3377a})"); } impl ::core::clone::Clone for AppBroadcastSignInStateChangedEventArgs { fn clone(&self) -> Self { @@ -5326,7 +5326,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastSignInStateChangedEventAr impl ::windows::core::RuntimeName for AppBroadcastSignInStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastSignInStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppBroadcastSignInStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastSignInStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastState(::windows::core::IUnknown); @@ -5587,7 +5587,7 @@ impl ::core::fmt::Debug for AppBroadcastState { } } impl ::windows::core::RuntimeType for AppBroadcastState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastState;{ee08056d-8099-4ddd-922e-c56dac58abfb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastState;{ee08056d-8099-4ddd-922e-c56dac58abfb})"); } impl ::core::clone::Clone for AppBroadcastState { fn clone(&self) -> Self { @@ -5603,7 +5603,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastState { impl ::windows::core::RuntimeName for AppBroadcastState { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastState"; } -::windows::core::interface_hierarchy!(AppBroadcastState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastState {} unsafe impl ::core::marker::Sync for AppBroadcastState {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -5639,7 +5639,7 @@ impl ::core::fmt::Debug for AppBroadcastStreamAudioFrame { } } impl ::windows::core::RuntimeType for AppBroadcastStreamAudioFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamAudioFrame;{efab4ac8-21ba-453f-8bb7-5e938a2e9a74})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamAudioFrame;{efab4ac8-21ba-453f-8bb7-5e938a2e9a74})"); } impl ::core::clone::Clone for AppBroadcastStreamAudioFrame { fn clone(&self) -> Self { @@ -5655,7 +5655,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastStreamAudioFrame { impl ::windows::core::RuntimeName for AppBroadcastStreamAudioFrame { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastStreamAudioFrame"; } -::windows::core::interface_hierarchy!(AppBroadcastStreamAudioFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastStreamAudioFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastStreamAudioHeader(::windows::core::IUnknown); @@ -5714,7 +5714,7 @@ impl ::core::fmt::Debug for AppBroadcastStreamAudioHeader { } } impl ::windows::core::RuntimeType for AppBroadcastStreamAudioHeader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamAudioHeader;{bf21a570-6b78-4216-9f07-5aff5256f1b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamAudioHeader;{bf21a570-6b78-4216-9f07-5aff5256f1b7})"); } impl ::core::clone::Clone for AppBroadcastStreamAudioHeader { fn clone(&self) -> Self { @@ -5730,7 +5730,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastStreamAudioHeader { impl ::windows::core::RuntimeName for AppBroadcastStreamAudioHeader { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastStreamAudioHeader"; } -::windows::core::interface_hierarchy!(AppBroadcastStreamAudioHeader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastStreamAudioHeader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastStreamReader(::windows::core::IUnknown); @@ -5843,7 +5843,7 @@ impl ::core::fmt::Debug for AppBroadcastStreamReader { } } impl ::windows::core::RuntimeType for AppBroadcastStreamReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamReader;{b338bcf9-3364-4460-b5f1-3cc2796a8aa2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamReader;{b338bcf9-3364-4460-b5f1-3cc2796a8aa2})"); } impl ::core::clone::Clone for AppBroadcastStreamReader { fn clone(&self) -> Self { @@ -5859,7 +5859,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastStreamReader { impl ::windows::core::RuntimeName for AppBroadcastStreamReader { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastStreamReader"; } -::windows::core::interface_hierarchy!(AppBroadcastStreamReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastStreamReader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastStreamStateChangedEventArgs(::windows::core::IUnknown); @@ -5884,7 +5884,7 @@ impl ::core::fmt::Debug for AppBroadcastStreamStateChangedEventArgs { } } impl ::windows::core::RuntimeType for AppBroadcastStreamStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamStateChangedEventArgs;{5108a733-d008-4a89-93be-58aed961374e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamStateChangedEventArgs;{5108a733-d008-4a89-93be-58aed961374e})"); } impl ::core::clone::Clone for AppBroadcastStreamStateChangedEventArgs { fn clone(&self) -> Self { @@ -5900,7 +5900,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastStreamStateChangedEventAr impl ::windows::core::RuntimeName for AppBroadcastStreamStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastStreamStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppBroadcastStreamStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastStreamStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastStreamVideoFrame(::windows::core::IUnknown); @@ -5934,7 +5934,7 @@ impl ::core::fmt::Debug for AppBroadcastStreamVideoFrame { } } impl ::windows::core::RuntimeType for AppBroadcastStreamVideoFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamVideoFrame;{0f97cf2b-c9e4-4e88-8194-d814cbd585d8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamVideoFrame;{0f97cf2b-c9e4-4e88-8194-d814cbd585d8})"); } impl ::core::clone::Clone for AppBroadcastStreamVideoFrame { fn clone(&self) -> Self { @@ -5950,7 +5950,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastStreamVideoFrame { impl ::windows::core::RuntimeName for AppBroadcastStreamVideoFrame { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastStreamVideoFrame"; } -::windows::core::interface_hierarchy!(AppBroadcastStreamVideoFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastStreamVideoFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastStreamVideoHeader(::windows::core::IUnknown); @@ -6016,7 +6016,7 @@ impl ::core::fmt::Debug for AppBroadcastStreamVideoHeader { } } impl ::windows::core::RuntimeType for AppBroadcastStreamVideoHeader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamVideoHeader;{0b9ebece-7e32-432d-8ca2-36bf10b9f462})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamVideoHeader;{0b9ebece-7e32-432d-8ca2-36bf10b9f462})"); } impl ::core::clone::Clone for AppBroadcastStreamVideoHeader { fn clone(&self) -> Self { @@ -6032,7 +6032,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastStreamVideoHeader { impl ::windows::core::RuntimeName for AppBroadcastStreamVideoHeader { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastStreamVideoHeader"; } -::windows::core::interface_hierarchy!(AppBroadcastStreamVideoHeader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastStreamVideoHeader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastTriggerDetails(::windows::core::IUnknown); @@ -6057,7 +6057,7 @@ impl ::core::fmt::Debug for AppBroadcastTriggerDetails { } } impl ::windows::core::RuntimeType for AppBroadcastTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastTriggerDetails;{deebab35-ec5e-4d8f-b1c0-5da6e8c75638})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastTriggerDetails;{deebab35-ec5e-4d8f-b1c0-5da6e8c75638})"); } impl ::core::clone::Clone for AppBroadcastTriggerDetails { fn clone(&self) -> Self { @@ -6073,7 +6073,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastTriggerDetails { impl ::windows::core::RuntimeName for AppBroadcastTriggerDetails { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastTriggerDetails"; } -::windows::core::interface_hierarchy!(AppBroadcastTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppBroadcastViewerCountChangedEventArgs(::windows::core::IUnknown); @@ -6098,7 +6098,7 @@ impl ::core::fmt::Debug for AppBroadcastViewerCountChangedEventArgs { } } impl ::windows::core::RuntimeType for AppBroadcastViewerCountChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastViewerCountChangedEventArgs;{e6e11825-5401-4ade-8bd2-c14ecee6807d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastViewerCountChangedEventArgs;{e6e11825-5401-4ade-8bd2-c14ecee6807d})"); } impl ::core::clone::Clone for AppBroadcastViewerCountChangedEventArgs { fn clone(&self) -> Self { @@ -6114,7 +6114,7 @@ unsafe impl ::windows::core::Interface for AppBroadcastViewerCountChangedEventAr impl ::windows::core::RuntimeName for AppBroadcastViewerCountChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppBroadcastViewerCountChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppBroadcastViewerCountChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppBroadcastViewerCountChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppBroadcastViewerCountChangedEventArgs {} unsafe impl ::core::marker::Sync for AppBroadcastViewerCountChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -6166,12 +6166,12 @@ impl AppCapture { } #[doc(hidden)] pub fn IAppCaptureStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAppCaptureStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6187,7 +6187,7 @@ impl ::core::fmt::Debug for AppCapture { } } impl ::windows::core::RuntimeType for AppCapture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCapture;{9749d453-a29a-45ed-8f29-22d09942cff7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCapture;{9749d453-a29a-45ed-8f29-22d09942cff7})"); } impl ::core::clone::Clone for AppCapture { fn clone(&self) -> Self { @@ -6203,7 +6203,7 @@ unsafe impl ::windows::core::Interface for AppCapture { impl ::windows::core::RuntimeName for AppCapture { const NAME: &'static str = "Windows.Media.Capture.AppCapture"; } -::windows::core::interface_hierarchy!(AppCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppCaptureAlternateShortcutKeys(::windows::core::IUnknown); @@ -6461,7 +6461,7 @@ impl ::core::fmt::Debug for AppCaptureAlternateShortcutKeys { } } impl ::windows::core::RuntimeType for AppCaptureAlternateShortcutKeys { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureAlternateShortcutKeys;{19e8e0ef-236c-40f9-b38f-9b7dd65d1ccc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureAlternateShortcutKeys;{19e8e0ef-236c-40f9-b38f-9b7dd65d1ccc})"); } impl ::core::clone::Clone for AppCaptureAlternateShortcutKeys { fn clone(&self) -> Self { @@ -6477,7 +6477,7 @@ unsafe impl ::windows::core::Interface for AppCaptureAlternateShortcutKeys { impl ::windows::core::RuntimeName for AppCaptureAlternateShortcutKeys { const NAME: &'static str = "Windows.Media.Capture.AppCaptureAlternateShortcutKeys"; } -::windows::core::interface_hierarchy!(AppCaptureAlternateShortcutKeys, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureAlternateShortcutKeys, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppCaptureDurationGeneratedEventArgs(::windows::core::IUnknown); @@ -6504,7 +6504,7 @@ impl ::core::fmt::Debug for AppCaptureDurationGeneratedEventArgs { } } impl ::windows::core::RuntimeType for AppCaptureDurationGeneratedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureDurationGeneratedEventArgs;{c1f5563b-ffa1-44c9-975f-27fbeb553b35})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureDurationGeneratedEventArgs;{c1f5563b-ffa1-44c9-975f-27fbeb553b35})"); } impl ::core::clone::Clone for AppCaptureDurationGeneratedEventArgs { fn clone(&self) -> Self { @@ -6520,7 +6520,7 @@ unsafe impl ::windows::core::Interface for AppCaptureDurationGeneratedEventArgs impl ::windows::core::RuntimeName for AppCaptureDurationGeneratedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppCaptureDurationGeneratedEventArgs"; } -::windows::core::interface_hierarchy!(AppCaptureDurationGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureDurationGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCaptureDurationGeneratedEventArgs {} unsafe impl ::core::marker::Sync for AppCaptureDurationGeneratedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -6549,7 +6549,7 @@ impl ::core::fmt::Debug for AppCaptureFileGeneratedEventArgs { } } impl ::windows::core::RuntimeType for AppCaptureFileGeneratedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureFileGeneratedEventArgs;{4189fbf4-465e-45bf-907f-165b3fb23758})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureFileGeneratedEventArgs;{4189fbf4-465e-45bf-907f-165b3fb23758})"); } impl ::core::clone::Clone for AppCaptureFileGeneratedEventArgs { fn clone(&self) -> Self { @@ -6565,7 +6565,7 @@ unsafe impl ::windows::core::Interface for AppCaptureFileGeneratedEventArgs { impl ::windows::core::RuntimeName for AppCaptureFileGeneratedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppCaptureFileGeneratedEventArgs"; } -::windows::core::interface_hierarchy!(AppCaptureFileGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureFileGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCaptureFileGeneratedEventArgs {} unsafe impl ::core::marker::Sync for AppCaptureFileGeneratedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -6582,7 +6582,7 @@ impl AppCaptureManager { } #[doc(hidden)] pub fn IAppCaptureManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6596,8 +6596,8 @@ impl AppCaptureMetadataWriter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AddStringEvent(&self, name: &::windows::core::HSTRING, value: &::windows::core::HSTRING, priority: AppCaptureMetadataPriority) -> ::windows::core::Result<()> { @@ -6673,7 +6673,7 @@ impl ::core::fmt::Debug for AppCaptureMetadataWriter { } } impl ::windows::core::RuntimeType for AppCaptureMetadataWriter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureMetadataWriter;{e0ce4877-9aaf-46b4-ad31-6a60b441c780})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureMetadataWriter;{e0ce4877-9aaf-46b4-ad31-6a60b441c780})"); } impl ::core::clone::Clone for AppCaptureMetadataWriter { fn clone(&self) -> Self { @@ -6689,7 +6689,7 @@ unsafe impl ::windows::core::Interface for AppCaptureMetadataWriter { impl ::windows::core::RuntimeName for AppCaptureMetadataWriter { const NAME: &'static str = "Windows.Media.Capture.AppCaptureMetadataWriter"; } -::windows::core::interface_hierarchy!(AppCaptureMetadataWriter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureMetadataWriter, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6745,7 +6745,7 @@ impl ::core::fmt::Debug for AppCaptureMicrophoneCaptureStateChangedEventArgs { } } impl ::windows::core::RuntimeType for AppCaptureMicrophoneCaptureStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureMicrophoneCaptureStateChangedEventArgs;{324d249e-45bc-4c35-bc35-e469fc7a69e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureMicrophoneCaptureStateChangedEventArgs;{324d249e-45bc-4c35-bc35-e469fc7a69e0})"); } impl ::core::clone::Clone for AppCaptureMicrophoneCaptureStateChangedEventArgs { fn clone(&self) -> Self { @@ -6761,7 +6761,7 @@ unsafe impl ::windows::core::Interface for AppCaptureMicrophoneCaptureStateChang impl ::windows::core::RuntimeName for AppCaptureMicrophoneCaptureStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppCaptureMicrophoneCaptureStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppCaptureMicrophoneCaptureStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureMicrophoneCaptureStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCaptureMicrophoneCaptureStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppCaptureMicrophoneCaptureStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -6873,7 +6873,7 @@ impl ::core::fmt::Debug for AppCaptureRecordOperation { } } impl ::windows::core::RuntimeType for AppCaptureRecordOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureRecordOperation;{c66020a9-1538-495c-9bbb-2ba870ec5861})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureRecordOperation;{c66020a9-1538-495c-9bbb-2ba870ec5861})"); } impl ::core::clone::Clone for AppCaptureRecordOperation { fn clone(&self) -> Self { @@ -6889,7 +6889,7 @@ unsafe impl ::windows::core::Interface for AppCaptureRecordOperation { impl ::windows::core::RuntimeName for AppCaptureRecordOperation { const NAME: &'static str = "Windows.Media.Capture.AppCaptureRecordOperation"; } -::windows::core::interface_hierarchy!(AppCaptureRecordOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureRecordOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCaptureRecordOperation {} unsafe impl ::core::marker::Sync for AppCaptureRecordOperation {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -6923,7 +6923,7 @@ impl ::core::fmt::Debug for AppCaptureRecordingStateChangedEventArgs { } } impl ::windows::core::RuntimeType for AppCaptureRecordingStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureRecordingStateChangedEventArgs;{24fc8712-e305-490d-b415-6b1c9049736b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureRecordingStateChangedEventArgs;{24fc8712-e305-490d-b415-6b1c9049736b})"); } impl ::core::clone::Clone for AppCaptureRecordingStateChangedEventArgs { fn clone(&self) -> Self { @@ -6939,7 +6939,7 @@ unsafe impl ::windows::core::Interface for AppCaptureRecordingStateChangedEventA impl ::windows::core::RuntimeName for AppCaptureRecordingStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.AppCaptureRecordingStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppCaptureRecordingStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureRecordingStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCaptureRecordingStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppCaptureRecordingStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -6989,7 +6989,7 @@ impl ::core::fmt::Debug for AppCaptureServices { } } impl ::windows::core::RuntimeType for AppCaptureServices { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureServices;{44fec0b5-34f5-4f18-ae8c-b9123abbfc0d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureServices;{44fec0b5-34f5-4f18-ae8c-b9123abbfc0d})"); } impl ::core::clone::Clone for AppCaptureServices { fn clone(&self) -> Self { @@ -7005,7 +7005,7 @@ unsafe impl ::windows::core::Interface for AppCaptureServices { impl ::windows::core::RuntimeName for AppCaptureServices { const NAME: &'static str = "Windows.Media.Capture.AppCaptureServices"; } -::windows::core::interface_hierarchy!(AppCaptureServices, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureServices, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCaptureServices {} unsafe impl ::core::marker::Sync for AppCaptureServices {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -7332,7 +7332,7 @@ impl ::core::fmt::Debug for AppCaptureSettings { } } impl ::windows::core::RuntimeType for AppCaptureSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureSettings;{14683a86-8807-48d3-883a-970ee4532a39})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureSettings;{14683a86-8807-48d3-883a-970ee4532a39})"); } impl ::core::clone::Clone for AppCaptureSettings { fn clone(&self) -> Self { @@ -7348,7 +7348,7 @@ unsafe impl ::windows::core::Interface for AppCaptureSettings { impl ::windows::core::RuntimeName for AppCaptureSettings { const NAME: &'static str = "Windows.Media.Capture.AppCaptureSettings"; } -::windows::core::interface_hierarchy!(AppCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct AppCaptureState(::windows::core::IUnknown); @@ -7439,7 +7439,7 @@ impl ::core::fmt::Debug for AppCaptureState { } } impl ::windows::core::RuntimeType for AppCaptureState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureState;{73134372-d4eb-44ce-9538-465f506ac4ea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureState;{73134372-d4eb-44ce-9538-465f506ac4ea})"); } impl ::core::clone::Clone for AppCaptureState { fn clone(&self) -> Self { @@ -7455,7 +7455,7 @@ unsafe impl ::windows::core::Interface for AppCaptureState { impl ::windows::core::RuntimeName for AppCaptureState { const NAME: &'static str = "Windows.Media.Capture.AppCaptureState"; } -::windows::core::interface_hierarchy!(AppCaptureState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCaptureState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCaptureState {} unsafe impl ::core::marker::Sync for AppCaptureState {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -7465,8 +7465,8 @@ impl CameraCaptureUI { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn PhotoSettings(&self) -> ::windows::core::Result { @@ -7505,7 +7505,7 @@ impl ::core::fmt::Debug for CameraCaptureUI { } } impl ::windows::core::RuntimeType for CameraCaptureUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUI;{48587540-6f93-4bb4-b8f3-e89e48948c91})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUI;{48587540-6f93-4bb4-b8f3-e89e48948c91})"); } impl ::core::clone::Clone for CameraCaptureUI { fn clone(&self) -> Self { @@ -7521,7 +7521,7 @@ unsafe impl ::windows::core::Interface for CameraCaptureUI { impl ::windows::core::RuntimeName for CameraCaptureUI { const NAME: &'static str = "Windows.Media.Capture.CameraCaptureUI"; } -::windows::core::interface_hierarchy!(CameraCaptureUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraCaptureUI, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct CameraCaptureUIPhotoCaptureSettings(::windows::core::IUnknown); @@ -7602,7 +7602,7 @@ impl ::core::fmt::Debug for CameraCaptureUIPhotoCaptureSettings { } } impl ::windows::core::RuntimeType for CameraCaptureUIPhotoCaptureSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings;{b9f5be97-3472-46a8-8a9e-04ce42ccc97d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings;{b9f5be97-3472-46a8-8a9e-04ce42ccc97d})"); } impl ::core::clone::Clone for CameraCaptureUIPhotoCaptureSettings { fn clone(&self) -> Self { @@ -7618,7 +7618,7 @@ unsafe impl ::windows::core::Interface for CameraCaptureUIPhotoCaptureSettings { impl ::windows::core::RuntimeName for CameraCaptureUIPhotoCaptureSettings { const NAME: &'static str = "Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings"; } -::windows::core::interface_hierarchy!(CameraCaptureUIPhotoCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraCaptureUIPhotoCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CameraCaptureUIPhotoCaptureSettings {} unsafe impl ::core::marker::Sync for CameraCaptureUIPhotoCaptureSettings {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -7682,7 +7682,7 @@ impl ::core::fmt::Debug for CameraCaptureUIVideoCaptureSettings { } } impl ::windows::core::RuntimeType for CameraCaptureUIVideoCaptureSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings;{64e92d1f-a28d-425a-b84f-e568335ff24e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings;{64e92d1f-a28d-425a-b84f-e568335ff24e})"); } impl ::core::clone::Clone for CameraCaptureUIVideoCaptureSettings { fn clone(&self) -> Self { @@ -7698,7 +7698,7 @@ unsafe impl ::windows::core::Interface for CameraCaptureUIVideoCaptureSettings { impl ::windows::core::RuntimeName for CameraCaptureUIVideoCaptureSettings { const NAME: &'static str = "Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings"; } -::windows::core::interface_hierarchy!(CameraCaptureUIVideoCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraCaptureUIVideoCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CameraCaptureUIVideoCaptureSettings {} unsafe impl ::core::marker::Sync for CameraCaptureUIVideoCaptureSettings {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -7709,7 +7709,7 @@ impl CameraOptionsUI { } #[doc(hidden)] pub fn ICameraOptionsUIStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7897,7 +7897,7 @@ impl ::core::fmt::Debug for CapturedFrame { } } impl ::windows::core::RuntimeType for CapturedFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedFrame;{1dd2de1f-571b-44d8-8e80-a08a1578766e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedFrame;{1dd2de1f-571b-44d8-8e80-a08a1578766e})"); } impl ::core::clone::Clone for CapturedFrame { fn clone(&self) -> Self { @@ -7913,7 +7913,7 @@ unsafe impl ::windows::core::Interface for CapturedFrame { impl ::windows::core::RuntimeName for CapturedFrame { const NAME: &'static str = "Windows.Media.Capture.CapturedFrame"; } -::windows::core::interface_hierarchy!(CapturedFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CapturedFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -8191,7 +8191,7 @@ impl ::core::fmt::Debug for CapturedFrameControlValues { } } impl ::windows::core::RuntimeType for CapturedFrameControlValues { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedFrameControlValues;{90c65b7f-4e0d-4ca4-882d-7a144fed0a90})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedFrameControlValues;{90c65b7f-4e0d-4ca4-882d-7a144fed0a90})"); } impl ::core::clone::Clone for CapturedFrameControlValues { fn clone(&self) -> Self { @@ -8207,7 +8207,7 @@ unsafe impl ::windows::core::Interface for CapturedFrameControlValues { impl ::windows::core::RuntimeName for CapturedFrameControlValues { const NAME: &'static str = "Windows.Media.Capture.CapturedFrameControlValues"; } -::windows::core::interface_hierarchy!(CapturedFrameControlValues, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CapturedFrameControlValues, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CapturedFrameControlValues {} unsafe impl ::core::marker::Sync for CapturedFrameControlValues {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -8241,7 +8241,7 @@ impl ::core::fmt::Debug for CapturedPhoto { } } impl ::windows::core::RuntimeType for CapturedPhoto { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedPhoto;{b0ce7e5a-cfcc-4d6c-8ad1-0869208aca16})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedPhoto;{b0ce7e5a-cfcc-4d6c-8ad1-0869208aca16})"); } impl ::core::clone::Clone for CapturedPhoto { fn clone(&self) -> Self { @@ -8257,7 +8257,7 @@ unsafe impl ::windows::core::Interface for CapturedPhoto { impl ::windows::core::RuntimeName for CapturedPhoto { const NAME: &'static str = "Windows.Media.Capture.CapturedPhoto"; } -::windows::core::interface_hierarchy!(CapturedPhoto, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CapturedPhoto, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CapturedPhoto {} unsafe impl ::core::marker::Sync for CapturedPhoto {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -8335,7 +8335,7 @@ impl ::core::fmt::Debug for GameBarServices { } } impl ::windows::core::RuntimeType for GameBarServices { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServices;{2dbead57-50a6-499e-8c6c-d330a7311796})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServices;{2dbead57-50a6-499e-8c6c-d330a7311796})"); } impl ::core::clone::Clone for GameBarServices { fn clone(&self) -> Self { @@ -8351,7 +8351,7 @@ unsafe impl ::windows::core::Interface for GameBarServices { impl ::windows::core::RuntimeName for GameBarServices { const NAME: &'static str = "Windows.Media.Capture.GameBarServices"; } -::windows::core::interface_hierarchy!(GameBarServices, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameBarServices, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameBarServices {} unsafe impl ::core::marker::Sync for GameBarServices {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -8385,7 +8385,7 @@ impl ::core::fmt::Debug for GameBarServicesCommandEventArgs { } } impl ::windows::core::RuntimeType for GameBarServicesCommandEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesCommandEventArgs;{a74226b2-f176-4fcf-8fbb-cf698b2eb8e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesCommandEventArgs;{a74226b2-f176-4fcf-8fbb-cf698b2eb8e0})"); } impl ::core::clone::Clone for GameBarServicesCommandEventArgs { fn clone(&self) -> Self { @@ -8401,7 +8401,7 @@ unsafe impl ::windows::core::Interface for GameBarServicesCommandEventArgs { impl ::windows::core::RuntimeName for GameBarServicesCommandEventArgs { const NAME: &'static str = "Windows.Media.Capture.GameBarServicesCommandEventArgs"; } -::windows::core::interface_hierarchy!(GameBarServicesCommandEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameBarServicesCommandEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameBarServicesCommandEventArgs {} unsafe impl ::core::marker::Sync for GameBarServicesCommandEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -8431,7 +8431,7 @@ impl GameBarServicesManager { } #[doc(hidden)] pub fn IGameBarServicesManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -8447,7 +8447,7 @@ impl ::core::fmt::Debug for GameBarServicesManager { } } impl ::windows::core::RuntimeType for GameBarServicesManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesManager;{3a4b9cfa-7f8b-4c60-9dbb-0bcd262dffc6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesManager;{3a4b9cfa-7f8b-4c60-9dbb-0bcd262dffc6})"); } impl ::core::clone::Clone for GameBarServicesManager { fn clone(&self) -> Self { @@ -8463,7 +8463,7 @@ unsafe impl ::windows::core::Interface for GameBarServicesManager { impl ::windows::core::RuntimeName for GameBarServicesManager { const NAME: &'static str = "Windows.Media.Capture.GameBarServicesManager"; } -::windows::core::interface_hierarchy!(GameBarServicesManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameBarServicesManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameBarServicesManager {} unsafe impl ::core::marker::Sync for GameBarServicesManager {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -8490,7 +8490,7 @@ impl ::core::fmt::Debug for GameBarServicesManagerGameBarServicesCreatedEventArg } } impl ::windows::core::RuntimeType for GameBarServicesManagerGameBarServicesCreatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesManagerGameBarServicesCreatedEventArgs;{ededbd9c-143e-49a3-a5ea-0b1995c8d46e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesManagerGameBarServicesCreatedEventArgs;{ededbd9c-143e-49a3-a5ea-0b1995c8d46e})"); } impl ::core::clone::Clone for GameBarServicesManagerGameBarServicesCreatedEventArgs { fn clone(&self) -> Self { @@ -8506,7 +8506,7 @@ unsafe impl ::windows::core::Interface for GameBarServicesManagerGameBarServices impl ::windows::core::RuntimeName for GameBarServicesManagerGameBarServicesCreatedEventArgs { const NAME: &'static str = "Windows.Media.Capture.GameBarServicesManagerGameBarServicesCreatedEventArgs"; } -::windows::core::interface_hierarchy!(GameBarServicesManagerGameBarServicesCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameBarServicesManagerGameBarServicesCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameBarServicesManagerGameBarServicesCreatedEventArgs {} unsafe impl ::core::marker::Sync for GameBarServicesManagerGameBarServicesCreatedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -8554,7 +8554,7 @@ impl ::core::fmt::Debug for GameBarServicesTargetInfo { } } impl ::windows::core::RuntimeType for GameBarServicesTargetInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesTargetInfo;{b4202f92-1611-4e05-b6ef-dfd737ae33b0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesTargetInfo;{b4202f92-1611-4e05-b6ef-dfd737ae33b0})"); } impl ::core::clone::Clone for GameBarServicesTargetInfo { fn clone(&self) -> Self { @@ -8570,7 +8570,7 @@ unsafe impl ::windows::core::Interface for GameBarServicesTargetInfo { impl ::windows::core::RuntimeName for GameBarServicesTargetInfo { const NAME: &'static str = "Windows.Media.Capture.GameBarServicesTargetInfo"; } -::windows::core::interface_hierarchy!(GameBarServicesTargetInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameBarServicesTargetInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameBarServicesTargetInfo {} unsafe impl ::core::marker::Sync for GameBarServicesTargetInfo {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -8653,7 +8653,7 @@ impl ::core::fmt::Debug for LowLagMediaRecording { } } impl ::windows::core::RuntimeType for LowLagMediaRecording { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagMediaRecording;{41c8baf7-ff3f-49f0-a477-f195e3ce5108})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagMediaRecording;{41c8baf7-ff3f-49f0-a477-f195e3ce5108})"); } impl ::core::clone::Clone for LowLagMediaRecording { fn clone(&self) -> Self { @@ -8669,7 +8669,7 @@ unsafe impl ::windows::core::Interface for LowLagMediaRecording { impl ::windows::core::RuntimeName for LowLagMediaRecording { const NAME: &'static str = "Windows.Media.Capture.LowLagMediaRecording"; } -::windows::core::interface_hierarchy!(LowLagMediaRecording, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LowLagMediaRecording, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct LowLagPhotoCapture(::windows::core::IUnknown); @@ -8705,7 +8705,7 @@ impl ::core::fmt::Debug for LowLagPhotoCapture { } } impl ::windows::core::RuntimeType for LowLagPhotoCapture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagPhotoCapture;{a37251b7-6b44-473d-8f24-f703d6c0ec44})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagPhotoCapture;{a37251b7-6b44-473d-8f24-f703d6c0ec44})"); } impl ::core::clone::Clone for LowLagPhotoCapture { fn clone(&self) -> Self { @@ -8721,7 +8721,7 @@ unsafe impl ::windows::core::Interface for LowLagPhotoCapture { impl ::windows::core::RuntimeName for LowLagPhotoCapture { const NAME: &'static str = "Windows.Media.Capture.LowLagPhotoCapture"; } -::windows::core::interface_hierarchy!(LowLagPhotoCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LowLagPhotoCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct LowLagPhotoSequenceCapture(::windows::core::IUnknown); @@ -8781,7 +8781,7 @@ impl ::core::fmt::Debug for LowLagPhotoSequenceCapture { } } impl ::windows::core::RuntimeType for LowLagPhotoSequenceCapture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagPhotoSequenceCapture;{7cc346bb-b9a9-4c91-8ffa-287e9c668669})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagPhotoSequenceCapture;{7cc346bb-b9a9-4c91-8ffa-287e9c668669})"); } impl ::core::clone::Clone for LowLagPhotoSequenceCapture { fn clone(&self) -> Self { @@ -8797,7 +8797,7 @@ unsafe impl ::windows::core::Interface for LowLagPhotoSequenceCapture { impl ::windows::core::RuntimeName for LowLagPhotoSequenceCapture { const NAME: &'static str = "Windows.Media.Capture.LowLagPhotoSequenceCapture"; } -::windows::core::interface_hierarchy!(LowLagPhotoSequenceCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LowLagPhotoSequenceCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct MediaCapture(::windows::core::IUnknown); @@ -8805,8 +8805,8 @@ impl MediaCapture { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -9463,7 +9463,7 @@ impl MediaCapture { } #[doc(hidden)] pub fn IMediaCaptureStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -9479,7 +9479,7 @@ impl ::core::fmt::Debug for MediaCapture { } } impl ::windows::core::RuntimeType for MediaCapture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCapture;{c61afbb4-fb10-4a34-ac18-ca80d9c8e7ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCapture;{c61afbb4-fb10-4a34-ac18-ca80d9c8e7ee})"); } impl ::core::clone::Clone for MediaCapture { fn clone(&self) -> Self { @@ -9495,7 +9495,7 @@ unsafe impl ::windows::core::Interface for MediaCapture { impl ::windows::core::RuntimeName for MediaCapture { const NAME: &'static str = "Windows.Media.Capture.MediaCapture"; } -::windows::core::interface_hierarchy!(MediaCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -9549,7 +9549,7 @@ impl ::core::fmt::Debug for MediaCaptureDeviceExclusiveControlStatusChangedEvent } } impl ::windows::core::RuntimeType for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatusChangedEventArgs;{9d2f920d-a588-43c6-89d6-5ad322af006a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatusChangedEventArgs;{9d2f920d-a588-43c6-89d6-5ad322af006a})"); } impl ::core::clone::Clone for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { fn clone(&self) -> Self { @@ -9565,7 +9565,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureDeviceExclusiveControlSta impl ::windows::core::RuntimeName for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatusChangedEventArgs"; } -::windows::core::interface_hierarchy!(MediaCaptureDeviceExclusiveControlStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureDeviceExclusiveControlStatusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -9599,7 +9599,7 @@ impl ::core::fmt::Debug for MediaCaptureFailedEventArgs { } } impl ::windows::core::RuntimeType for MediaCaptureFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureFailedEventArgs;{80fde3f4-54c4-42c0-8d19-cea1a87ca18b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureFailedEventArgs;{80fde3f4-54c4-42c0-8d19-cea1a87ca18b})"); } impl ::core::clone::Clone for MediaCaptureFailedEventArgs { fn clone(&self) -> Self { @@ -9615,7 +9615,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureFailedEventArgs { impl ::windows::core::RuntimeName for MediaCaptureFailedEventArgs { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureFailedEventArgs"; } -::windows::core::interface_hierarchy!(MediaCaptureFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct MediaCaptureFocusChangedEventArgs(::windows::core::IUnknown); @@ -9642,7 +9642,7 @@ impl ::core::fmt::Debug for MediaCaptureFocusChangedEventArgs { } } impl ::windows::core::RuntimeType for MediaCaptureFocusChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureFocusChangedEventArgs;{81e1bc7f-2277-493e-abee-d3f44ff98c04})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureFocusChangedEventArgs;{81e1bc7f-2277-493e-abee-d3f44ff98c04})"); } impl ::core::clone::Clone for MediaCaptureFocusChangedEventArgs { fn clone(&self) -> Self { @@ -9658,7 +9658,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureFocusChangedEventArgs { impl ::windows::core::RuntimeName for MediaCaptureFocusChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureFocusChangedEventArgs"; } -::windows::core::interface_hierarchy!(MediaCaptureFocusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureFocusChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaCaptureFocusChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaCaptureFocusChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -9668,8 +9668,8 @@ impl MediaCaptureInitializationSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetAudioDeviceId(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -9911,7 +9911,7 @@ impl ::core::fmt::Debug for MediaCaptureInitializationSettings { } } impl ::windows::core::RuntimeType for MediaCaptureInitializationSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureInitializationSettings;{9782ba70-ea65-4900-9356-8ca887726884})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureInitializationSettings;{9782ba70-ea65-4900-9356-8ca887726884})"); } impl ::core::clone::Clone for MediaCaptureInitializationSettings { fn clone(&self) -> Self { @@ -9927,7 +9927,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureInitializationSettings { impl ::windows::core::RuntimeName for MediaCaptureInitializationSettings { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureInitializationSettings"; } -::windows::core::interface_hierarchy!(MediaCaptureInitializationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureInitializationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaCaptureInitializationSettings {} unsafe impl ::core::marker::Sync for MediaCaptureInitializationSettings {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -9969,7 +9969,7 @@ impl ::core::fmt::Debug for MediaCapturePauseResult { } } impl ::windows::core::RuntimeType for MediaCapturePauseResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCapturePauseResult;{aec47ca3-4477-4b04-a06f-2c1c5182fe9d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCapturePauseResult;{aec47ca3-4477-4b04-a06f-2c1c5182fe9d})"); } impl ::core::clone::Clone for MediaCapturePauseResult { fn clone(&self) -> Self { @@ -9985,7 +9985,7 @@ unsafe impl ::windows::core::Interface for MediaCapturePauseResult { impl ::windows::core::RuntimeName for MediaCapturePauseResult { const NAME: &'static str = "Windows.Media.Capture.MediaCapturePauseResult"; } -::windows::core::interface_hierarchy!(MediaCapturePauseResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCapturePauseResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -10063,7 +10063,7 @@ impl ::core::fmt::Debug for MediaCaptureRelativePanelWatcher { } } impl ::windows::core::RuntimeType for MediaCaptureRelativePanelWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureRelativePanelWatcher;{7d896566-04be-5b89-b30e-bd34a9f12db0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureRelativePanelWatcher;{7d896566-04be-5b89-b30e-bd34a9f12db0})"); } impl ::core::clone::Clone for MediaCaptureRelativePanelWatcher { fn clone(&self) -> Self { @@ -10079,7 +10079,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureRelativePanelWatcher { impl ::windows::core::RuntimeName for MediaCaptureRelativePanelWatcher { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureRelativePanelWatcher"; } -::windows::core::interface_hierarchy!(MediaCaptureRelativePanelWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureRelativePanelWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -10227,7 +10227,7 @@ impl ::core::fmt::Debug for MediaCaptureSettings { } } impl ::windows::core::RuntimeType for MediaCaptureSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureSettings;{1d83aafe-6d45-4477-8dc4-ac5bc01c4091})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureSettings;{1d83aafe-6d45-4477-8dc4-ac5bc01c4091})"); } impl ::core::clone::Clone for MediaCaptureSettings { fn clone(&self) -> Self { @@ -10243,7 +10243,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureSettings { impl ::windows::core::RuntimeName for MediaCaptureSettings { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureSettings"; } -::windows::core::interface_hierarchy!(MediaCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] pub struct MediaCaptureStopResult(::windows::core::IUnknown); @@ -10283,7 +10283,7 @@ impl ::core::fmt::Debug for MediaCaptureStopResult { } } impl ::windows::core::RuntimeType for MediaCaptureStopResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureStopResult;{f9db6a2a-a092-4ad1-97d4-f201f9d082db})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureStopResult;{f9db6a2a-a092-4ad1-97d4-f201f9d082db})"); } impl ::core::clone::Clone for MediaCaptureStopResult { fn clone(&self) -> Self { @@ -10299,7 +10299,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureStopResult { impl ::windows::core::RuntimeName for MediaCaptureStopResult { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureStopResult"; } -::windows::core::interface_hierarchy!(MediaCaptureStopResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureStopResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -10407,7 +10407,7 @@ impl ::core::fmt::Debug for MediaCaptureVideoProfile { } } impl ::windows::core::RuntimeType for MediaCaptureVideoProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureVideoProfile;{21a073bf-a3ee-4ecf-9ef6-50b0bc4e1305})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureVideoProfile;{21a073bf-a3ee-4ecf-9ef6-50b0bc4e1305})"); } impl ::core::clone::Clone for MediaCaptureVideoProfile { fn clone(&self) -> Self { @@ -10423,7 +10423,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureVideoProfile { impl ::windows::core::RuntimeName for MediaCaptureVideoProfile { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureVideoProfile"; } -::windows::core::interface_hierarchy!(MediaCaptureVideoProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureVideoProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaCaptureVideoProfile {} unsafe impl ::core::marker::Sync for MediaCaptureVideoProfile {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -10498,7 +10498,7 @@ impl ::core::fmt::Debug for MediaCaptureVideoProfileMediaDescription { } } impl ::windows::core::RuntimeType for MediaCaptureVideoProfileMediaDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureVideoProfileMediaDescription;{8012afef-b691-49ff-83f2-c1e76eaaea1b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureVideoProfileMediaDescription;{8012afef-b691-49ff-83f2-c1e76eaaea1b})"); } impl ::core::clone::Clone for MediaCaptureVideoProfileMediaDescription { fn clone(&self) -> Self { @@ -10514,7 +10514,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureVideoProfileMediaDescript impl ::windows::core::RuntimeName for MediaCaptureVideoProfileMediaDescription { const NAME: &'static str = "Windows.Media.Capture.MediaCaptureVideoProfileMediaDescription"; } -::windows::core::interface_hierarchy!(MediaCaptureVideoProfileMediaDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCaptureVideoProfileMediaDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaCaptureVideoProfileMediaDescription {} unsafe impl ::core::marker::Sync for MediaCaptureVideoProfileMediaDescription {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -10548,7 +10548,7 @@ impl ::core::fmt::Debug for OptionalReferencePhotoCapturedEventArgs { } } impl ::windows::core::RuntimeType for OptionalReferencePhotoCapturedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.OptionalReferencePhotoCapturedEventArgs;{470f88b3-1e6d-4051-9c8b-f1d85af047b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.OptionalReferencePhotoCapturedEventArgs;{470f88b3-1e6d-4051-9c8b-f1d85af047b7})"); } impl ::core::clone::Clone for OptionalReferencePhotoCapturedEventArgs { fn clone(&self) -> Self { @@ -10564,7 +10564,7 @@ unsafe impl ::windows::core::Interface for OptionalReferencePhotoCapturedEventAr impl ::windows::core::RuntimeName for OptionalReferencePhotoCapturedEventArgs { const NAME: &'static str = "Windows.Media.Capture.OptionalReferencePhotoCapturedEventArgs"; } -::windows::core::interface_hierarchy!(OptionalReferencePhotoCapturedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OptionalReferencePhotoCapturedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OptionalReferencePhotoCapturedEventArgs {} unsafe impl ::core::marker::Sync for OptionalReferencePhotoCapturedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -10607,7 +10607,7 @@ impl ::core::fmt::Debug for PhotoCapturedEventArgs { } } impl ::windows::core::RuntimeType for PhotoCapturedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.PhotoCapturedEventArgs;{373bfbc1-984e-4ff0-bf85-1c00aabc5a45})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.PhotoCapturedEventArgs;{373bfbc1-984e-4ff0-bf85-1c00aabc5a45})"); } impl ::core::clone::Clone for PhotoCapturedEventArgs { fn clone(&self) -> Self { @@ -10623,7 +10623,7 @@ unsafe impl ::windows::core::Interface for PhotoCapturedEventArgs { impl ::windows::core::RuntimeName for PhotoCapturedEventArgs { const NAME: &'static str = "Windows.Media.Capture.PhotoCapturedEventArgs"; } -::windows::core::interface_hierarchy!(PhotoCapturedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoCapturedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoCapturedEventArgs {} unsafe impl ::core::marker::Sync for PhotoCapturedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -10659,7 +10659,7 @@ impl ::core::fmt::Debug for PhotoConfirmationCapturedEventArgs { } } impl ::windows::core::RuntimeType for PhotoConfirmationCapturedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.PhotoConfirmationCapturedEventArgs;{ab473672-c28a-4827-8f8d-3636d3beb51e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.PhotoConfirmationCapturedEventArgs;{ab473672-c28a-4827-8f8d-3636d3beb51e})"); } impl ::core::clone::Clone for PhotoConfirmationCapturedEventArgs { fn clone(&self) -> Self { @@ -10675,7 +10675,7 @@ unsafe impl ::windows::core::Interface for PhotoConfirmationCapturedEventArgs { impl ::windows::core::RuntimeName for PhotoConfirmationCapturedEventArgs { const NAME: &'static str = "Windows.Media.Capture.PhotoConfirmationCapturedEventArgs"; } -::windows::core::interface_hierarchy!(PhotoConfirmationCapturedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoConfirmationCapturedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoConfirmationCapturedEventArgs {} unsafe impl ::core::marker::Sync for PhotoConfirmationCapturedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -10737,7 +10737,7 @@ impl ScreenCapture { } #[doc(hidden)] pub fn IScreenCaptureStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -10753,7 +10753,7 @@ impl ::core::fmt::Debug for ScreenCapture { } } impl ::windows::core::RuntimeType for ScreenCapture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.ScreenCapture;{89179ef7-cd12-4e0e-a6d4-5b3de98b2e9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.ScreenCapture;{89179ef7-cd12-4e0e-a6d4-5b3de98b2e9b})"); } impl ::core::clone::Clone for ScreenCapture { fn clone(&self) -> Self { @@ -10769,7 +10769,7 @@ unsafe impl ::windows::core::Interface for ScreenCapture { impl ::windows::core::RuntimeName for ScreenCapture { const NAME: &'static str = "Windows.Media.Capture.ScreenCapture"; } -::windows::core::interface_hierarchy!(ScreenCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScreenCapture, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ScreenCapture {} unsafe impl ::core::marker::Sync for ScreenCapture {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -10803,7 +10803,7 @@ impl ::core::fmt::Debug for SourceSuspensionChangedEventArgs { } } impl ::windows::core::RuntimeType for SourceSuspensionChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.SourceSuspensionChangedEventArgs;{2ece7b5e-d49b-4394-bc32-f97d6cedec1c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.SourceSuspensionChangedEventArgs;{2ece7b5e-d49b-4394-bc32-f97d6cedec1c})"); } impl ::core::clone::Clone for SourceSuspensionChangedEventArgs { fn clone(&self) -> Self { @@ -10819,7 +10819,7 @@ unsafe impl ::windows::core::Interface for SourceSuspensionChangedEventArgs { impl ::windows::core::RuntimeName for SourceSuspensionChangedEventArgs { const NAME: &'static str = "Windows.Media.Capture.SourceSuspensionChangedEventArgs"; } -::windows::core::interface_hierarchy!(SourceSuspensionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SourceSuspensionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SourceSuspensionChangedEventArgs {} unsafe impl ::core::marker::Sync for SourceSuspensionChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -10857,7 +10857,7 @@ impl ::core::fmt::Debug for VideoStreamConfiguration { } } impl ::windows::core::RuntimeType for VideoStreamConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.VideoStreamConfiguration;{d8770a6f-4390-4b5e-ad3e-0f8af0963490})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.VideoStreamConfiguration;{d8770a6f-4390-4b5e-ad3e-0f8af0963490})"); } impl ::core::clone::Clone for VideoStreamConfiguration { fn clone(&self) -> Self { @@ -10873,7 +10873,7 @@ unsafe impl ::windows::core::Interface for VideoStreamConfiguration { impl ::windows::core::RuntimeName for VideoStreamConfiguration { const NAME: &'static str = "Windows.Media.Capture.VideoStreamConfiguration"; } -::windows::core::interface_hierarchy!(VideoStreamConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoStreamConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoStreamConfiguration {} unsafe impl ::core::marker::Sync for VideoStreamConfiguration {} #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -10905,7 +10905,7 @@ impl ::core::fmt::Debug for AppBroadcastCameraCaptureState { } } impl ::windows::core::RuntimeType for AppBroadcastCameraCaptureState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastCameraCaptureState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastCameraCaptureState;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -10942,7 +10942,7 @@ impl ::core::fmt::Debug for AppBroadcastCameraOverlayLocation { } } impl ::windows::core::RuntimeType for AppBroadcastCameraOverlayLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastCameraOverlayLocation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastCameraOverlayLocation;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -10973,7 +10973,7 @@ impl ::core::fmt::Debug for AppBroadcastCameraOverlaySize { } } impl ::windows::core::RuntimeType for AppBroadcastCameraOverlaySize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastCameraOverlaySize;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastCameraOverlaySize;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11003,7 +11003,7 @@ impl ::core::fmt::Debug for AppBroadcastCaptureTargetType { } } impl ::windows::core::RuntimeType for AppBroadcastCaptureTargetType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastCaptureTargetType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastCaptureTargetType;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11035,7 +11035,7 @@ impl ::core::fmt::Debug for AppBroadcastExitBroadcastModeReason { } } impl ::windows::core::RuntimeType for AppBroadcastExitBroadcastModeReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastExitBroadcastModeReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastExitBroadcastModeReason;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11066,7 +11066,7 @@ impl ::core::fmt::Debug for AppBroadcastMicrophoneCaptureState { } } impl ::windows::core::RuntimeType for AppBroadcastMicrophoneCaptureState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastMicrophoneCaptureState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastMicrophoneCaptureState;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11101,7 +11101,7 @@ impl ::core::fmt::Debug for AppBroadcastPlugInState { } } impl ::windows::core::RuntimeType for AppBroadcastPlugInState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastPlugInState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastPlugInState;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11132,7 +11132,7 @@ impl ::core::fmt::Debug for AppBroadcastPreviewState { } } impl ::windows::core::RuntimeType for AppBroadcastPreviewState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastPreviewState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastPreviewState;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11165,7 +11165,7 @@ impl ::core::fmt::Debug for AppBroadcastSignInResult { } } impl ::windows::core::RuntimeType for AppBroadcastSignInResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastSignInResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastSignInResult;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11198,7 +11198,7 @@ impl ::core::fmt::Debug for AppBroadcastSignInState { } } impl ::windows::core::RuntimeType for AppBroadcastSignInState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastSignInState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastSignInState;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11231,7 +11231,7 @@ impl ::core::fmt::Debug for AppBroadcastStreamState { } } impl ::windows::core::RuntimeType for AppBroadcastStreamState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastStreamState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastStreamState;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11269,7 +11269,7 @@ impl ::core::fmt::Debug for AppBroadcastTerminationReason { } } impl ::windows::core::RuntimeType for AppBroadcastTerminationReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastTerminationReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastTerminationReason;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11299,7 +11299,7 @@ impl ::core::fmt::Debug for AppBroadcastVideoEncodingBitrateMode { } } impl ::windows::core::RuntimeType for AppBroadcastVideoEncodingBitrateMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastVideoEncodingBitrateMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastVideoEncodingBitrateMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11329,7 +11329,7 @@ impl ::core::fmt::Debug for AppBroadcastVideoEncodingResolutionMode { } } impl ::windows::core::RuntimeType for AppBroadcastVideoEncodingResolutionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastVideoEncodingResolutionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppBroadcastVideoEncodingResolutionMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11359,7 +11359,7 @@ impl ::core::fmt::Debug for AppCaptureHistoricalBufferLengthUnit { } } impl ::windows::core::RuntimeType for AppCaptureHistoricalBufferLengthUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureHistoricalBufferLengthUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureHistoricalBufferLengthUnit;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11389,7 +11389,7 @@ impl ::core::fmt::Debug for AppCaptureMetadataPriority { } } impl ::windows::core::RuntimeType for AppCaptureMetadataPriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureMetadataPriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureMetadataPriority;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11420,7 +11420,7 @@ impl ::core::fmt::Debug for AppCaptureMicrophoneCaptureState { } } impl ::windows::core::RuntimeType for AppCaptureMicrophoneCaptureState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureMicrophoneCaptureState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureMicrophoneCaptureState;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11451,7 +11451,7 @@ impl ::core::fmt::Debug for AppCaptureRecordingState { } } impl ::windows::core::RuntimeType for AppCaptureRecordingState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureRecordingState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureRecordingState;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11482,7 +11482,7 @@ impl ::core::fmt::Debug for AppCaptureVideoEncodingBitrateMode { } } impl ::windows::core::RuntimeType for AppCaptureVideoEncodingBitrateMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureVideoEncodingBitrateMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureVideoEncodingBitrateMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11512,7 +11512,7 @@ impl ::core::fmt::Debug for AppCaptureVideoEncodingFrameRateMode { } } impl ::windows::core::RuntimeType for AppCaptureVideoEncodingFrameRateMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureVideoEncodingFrameRateMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureVideoEncodingFrameRateMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11543,7 +11543,7 @@ impl ::core::fmt::Debug for AppCaptureVideoEncodingResolutionMode { } } impl ::windows::core::RuntimeType for AppCaptureVideoEncodingResolutionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureVideoEncodingResolutionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.AppCaptureVideoEncodingResolutionMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11577,7 +11577,7 @@ impl ::core::fmt::Debug for CameraCaptureUIMaxPhotoResolution { } } impl ::windows::core::RuntimeType for CameraCaptureUIMaxPhotoResolution { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11609,7 +11609,7 @@ impl ::core::fmt::Debug for CameraCaptureUIMaxVideoResolution { } } impl ::windows::core::RuntimeType for CameraCaptureUIMaxVideoResolution { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIMaxVideoResolution;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIMaxVideoResolution;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11640,7 +11640,7 @@ impl ::core::fmt::Debug for CameraCaptureUIMode { } } impl ::windows::core::RuntimeType for CameraCaptureUIMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11671,7 +11671,7 @@ impl ::core::fmt::Debug for CameraCaptureUIPhotoFormat { } } impl ::windows::core::RuntimeType for CameraCaptureUIPhotoFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIPhotoFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIPhotoFormat;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11701,7 +11701,7 @@ impl ::core::fmt::Debug for CameraCaptureUIVideoFormat { } } impl ::windows::core::RuntimeType for CameraCaptureUIVideoFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIVideoFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.CameraCaptureUIVideoFormat;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11731,7 +11731,7 @@ impl ::core::fmt::Debug for ForegroundActivationArgument { } } impl ::windows::core::RuntimeType for ForegroundActivationArgument { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.ForegroundActivationArgument;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.ForegroundActivationArgument;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11773,7 +11773,7 @@ impl ::core::fmt::Debug for GameBarCommand { } } impl ::windows::core::RuntimeType for GameBarCommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.GameBarCommand;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.GameBarCommand;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11804,7 +11804,7 @@ impl ::core::fmt::Debug for GameBarCommandOrigin { } } impl ::windows::core::RuntimeType for GameBarCommandOrigin { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.GameBarCommandOrigin;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.GameBarCommandOrigin;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11834,7 +11834,7 @@ impl ::core::fmt::Debug for GameBarServicesDisplayMode { } } impl ::windows::core::RuntimeType for GameBarServicesDisplayMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.GameBarServicesDisplayMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.GameBarServicesDisplayMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11867,7 +11867,7 @@ impl ::core::fmt::Debug for GameBarTargetCapturePolicy { } } impl ::windows::core::RuntimeType for GameBarTargetCapturePolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.GameBarTargetCapturePolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.GameBarTargetCapturePolicy;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11906,7 +11906,7 @@ impl ::core::fmt::Debug for KnownVideoProfile { } } impl ::windows::core::RuntimeType for KnownVideoProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.KnownVideoProfile;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.KnownVideoProfile;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11936,7 +11936,7 @@ impl ::core::fmt::Debug for MediaCaptureDeviceExclusiveControlReleaseMode { } } impl ::windows::core::RuntimeType for MediaCaptureDeviceExclusiveControlReleaseMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureDeviceExclusiveControlReleaseMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureDeviceExclusiveControlReleaseMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11966,7 +11966,7 @@ impl ::core::fmt::Debug for MediaCaptureDeviceExclusiveControlStatus { } } impl ::windows::core::RuntimeType for MediaCaptureDeviceExclusiveControlStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatus;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -11996,7 +11996,7 @@ impl ::core::fmt::Debug for MediaCaptureMemoryPreference { } } impl ::windows::core::RuntimeType for MediaCaptureMemoryPreference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureMemoryPreference;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureMemoryPreference;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12026,7 +12026,7 @@ impl ::core::fmt::Debug for MediaCaptureSharingMode { } } impl ::windows::core::RuntimeType for MediaCaptureSharingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureSharingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureSharingMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12056,7 +12056,7 @@ impl ::core::fmt::Debug for MediaCaptureThermalStatus { } } impl ::windows::core::RuntimeType for MediaCaptureThermalStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureThermalStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCaptureThermalStatus;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12092,7 +12092,7 @@ impl ::core::fmt::Debug for MediaCategory { } } impl ::windows::core::RuntimeType for MediaCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaCategory;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12125,7 +12125,7 @@ impl ::core::fmt::Debug for MediaStreamType { } } impl ::windows::core::RuntimeType for MediaStreamType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaStreamType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.MediaStreamType;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12156,7 +12156,7 @@ impl ::core::fmt::Debug for PhotoCaptureSource { } } impl ::windows::core::RuntimeType for PhotoCaptureSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.PhotoCaptureSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.PhotoCaptureSource;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12188,7 +12188,7 @@ impl ::core::fmt::Debug for PowerlineFrequency { } } impl ::windows::core::RuntimeType for PowerlineFrequency { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.PowerlineFrequency;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.PowerlineFrequency;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12219,7 +12219,7 @@ impl ::core::fmt::Debug for StreamingCaptureMode { } } impl ::windows::core::RuntimeType for StreamingCaptureMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.StreamingCaptureMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.StreamingCaptureMode;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12252,7 +12252,7 @@ impl ::core::fmt::Debug for VideoDeviceCharacteristic { } } impl ::windows::core::RuntimeType for VideoDeviceCharacteristic { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.VideoDeviceCharacteristic;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.VideoDeviceCharacteristic;i4)"); } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] @@ -12284,7 +12284,7 @@ impl ::core::fmt::Debug for VideoRotation { } } impl ::windows::core::RuntimeType for VideoRotation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.VideoRotation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Capture.VideoRotation;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Media_Capture\"`*"] @@ -12308,7 +12308,7 @@ impl ::windows::core::TypeKind for WhiteBalanceGain { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for WhiteBalanceGain { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Media.Capture.WhiteBalanceGain;f8;f8;f8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Media.Capture.WhiteBalanceGain;f8;f8;f8)"); } impl ::core::cmp::PartialEq for WhiteBalanceGain { fn eq(&self, other: &Self) -> bool { @@ -12326,8 +12326,8 @@ impl ::core::default::Default for WhiteBalanceGain { pub struct MediaCaptureFailedEventHandler(pub ::windows::core::IUnknown); impl MediaCaptureFailedEventHandler { pub fn new, ::core::option::Option<&MediaCaptureFailedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = MediaCaptureFailedEventHandlerBox:: { vtable: &MediaCaptureFailedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = MediaCaptureFailedEventHandlerBox:: { vtable: &MediaCaptureFailedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &MediaCapture, erroreventargs: &MediaCaptureFailedEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -12338,7 +12338,7 @@ impl MediaCaptureFailedEventHandler { struct MediaCaptureFailedEventHandlerBox, ::core::option::Option<&MediaCaptureFailedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const MediaCaptureFailedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&MediaCaptureFailedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> MediaCaptureFailedEventHandlerBox { const VTABLE: MediaCaptureFailedEventHandler_Vtbl = MediaCaptureFailedEventHandler_Vtbl { @@ -12347,7 +12347,7 @@ impl, ::core::option::Option<&Med }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -12363,7 +12363,7 @@ impl, ::core::option::Option<&Med let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -12395,7 +12395,7 @@ unsafe impl ::windows::core::Interface for MediaCaptureFailedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2014effb_5cd8_4f08_a314_0d360da59f14); } impl ::windows::core::RuntimeType for MediaCaptureFailedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2014effb-5cd8-4f08-a314-0d360da59f14}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2014effb-5cd8-4f08-a314-0d360da59f14}"); } #[repr(C)] #[doc(hidden)] @@ -12408,8 +12408,8 @@ pub struct MediaCaptureFailedEventHandler_Vtbl { pub struct RecordLimitationExceededEventHandler(pub ::windows::core::IUnknown); impl RecordLimitationExceededEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = RecordLimitationExceededEventHandlerBox:: { vtable: &RecordLimitationExceededEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = RecordLimitationExceededEventHandlerBox:: { vtable: &RecordLimitationExceededEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &MediaCapture) -> ::windows::core::Result<()> { let this = self; @@ -12420,7 +12420,7 @@ impl RecordLimitationExceededEventHandler { struct RecordLimitationExceededEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const RecordLimitationExceededEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> RecordLimitationExceededEventHandlerBox { const VTABLE: RecordLimitationExceededEventHandler_Vtbl = RecordLimitationExceededEventHandler_Vtbl { @@ -12429,7 +12429,7 @@ impl) -> ::windows::core::Result< }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -12445,7 +12445,7 @@ impl) -> ::windows::core::Result< let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -12477,7 +12477,7 @@ unsafe impl ::windows::core::Interface for RecordLimitationExceededEventHandler const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3fae8f2e_4fe1_4ffd_aaba_e1f1337d4e53); } impl ::windows::core::RuntimeType for RecordLimitationExceededEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3fae8f2e-4fe1-4ffd-aaba-e1f1337d4e53}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3fae8f2e-4fe1-4ffd-aaba-e1f1337d4e53}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Media/Casting/mod.rs b/crates/libs/windows/src/Windows/Media/Casting/mod.rs index 840a3f7781..6f8befc921 100644 --- a/crates/libs/windows/src/Windows/Media/Casting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Casting/mod.rs @@ -349,7 +349,7 @@ impl ::core::fmt::Debug for CastingConnection { } } impl ::windows::core::RuntimeType for CastingConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingConnection;{cd951653-c2f1-4498-8b78-5fb4cd3640dd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingConnection;{cd951653-c2f1-4498-8b78-5fb4cd3640dd})"); } impl ::core::clone::Clone for CastingConnection { fn clone(&self) -> Self { @@ -365,7 +365,7 @@ unsafe impl ::windows::core::Interface for CastingConnection { impl ::windows::core::RuntimeName for CastingConnection { const NAME: &'static str = "Windows.Media.Casting.CastingConnection"; } -::windows::core::interface_hierarchy!(CastingConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CastingConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -421,7 +421,7 @@ impl ::core::fmt::Debug for CastingConnectionErrorOccurredEventArgs { } } impl ::windows::core::RuntimeType for CastingConnectionErrorOccurredEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingConnectionErrorOccurredEventArgs;{a7fb3c69-8719-4f00-81fb-961863c79a32})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingConnectionErrorOccurredEventArgs;{a7fb3c69-8719-4f00-81fb-961863c79a32})"); } impl ::core::clone::Clone for CastingConnectionErrorOccurredEventArgs { fn clone(&self) -> Self { @@ -437,7 +437,7 @@ unsafe impl ::windows::core::Interface for CastingConnectionErrorOccurredEventAr impl ::windows::core::RuntimeName for CastingConnectionErrorOccurredEventArgs { const NAME: &'static str = "Windows.Media.Casting.CastingConnectionErrorOccurredEventArgs"; } -::windows::core::interface_hierarchy!(CastingConnectionErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CastingConnectionErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CastingConnectionErrorOccurredEventArgs {} unsafe impl ::core::marker::Sync for CastingConnectionErrorOccurredEventArgs {} #[doc = "*Required features: `\"Media_Casting\"`*"] @@ -515,7 +515,7 @@ impl CastingDevice { } #[doc(hidden)] pub fn ICastingDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -531,7 +531,7 @@ impl ::core::fmt::Debug for CastingDevice { } } impl ::windows::core::RuntimeType for CastingDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevice;{de721c83-4a43-4ad1-a6d2-2492a796c3f2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevice;{de721c83-4a43-4ad1-a6d2-2492a796c3f2})"); } impl ::core::clone::Clone for CastingDevice { fn clone(&self) -> Self { @@ -547,7 +547,7 @@ unsafe impl ::windows::core::Interface for CastingDevice { impl ::windows::core::RuntimeName for CastingDevice { const NAME: &'static str = "Windows.Media.Casting.CastingDevice"; } -::windows::core::interface_hierarchy!(CastingDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CastingDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CastingDevice {} unsafe impl ::core::marker::Sync for CastingDevice {} #[doc = "*Required features: `\"Media_Casting\"`*"] @@ -557,8 +557,8 @@ impl CastingDevicePicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Filter(&self) -> ::windows::core::Result { @@ -636,7 +636,7 @@ impl ::core::fmt::Debug for CastingDevicePicker { } } impl ::windows::core::RuntimeType for CastingDevicePicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevicePicker;{dcd39924-0591-49be-aacb-4b82ee756a95})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevicePicker;{dcd39924-0591-49be-aacb-4b82ee756a95})"); } impl ::core::clone::Clone for CastingDevicePicker { fn clone(&self) -> Self { @@ -652,7 +652,7 @@ unsafe impl ::windows::core::Interface for CastingDevicePicker { impl ::windows::core::RuntimeName for CastingDevicePicker { const NAME: &'static str = "Windows.Media.Casting.CastingDevicePicker"; } -::windows::core::interface_hierarchy!(CastingDevicePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CastingDevicePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CastingDevicePicker {} unsafe impl ::core::marker::Sync for CastingDevicePicker {} #[doc = "*Required features: `\"Media_Casting\"`*"] @@ -714,7 +714,7 @@ impl ::core::fmt::Debug for CastingDevicePickerFilter { } } impl ::windows::core::RuntimeType for CastingDevicePickerFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevicePickerFilter;{be8c619c-b563-4354-ae33-9fdaad8c6291})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevicePickerFilter;{be8c619c-b563-4354-ae33-9fdaad8c6291})"); } impl ::core::clone::Clone for CastingDevicePickerFilter { fn clone(&self) -> Self { @@ -730,7 +730,7 @@ unsafe impl ::windows::core::Interface for CastingDevicePickerFilter { impl ::windows::core::RuntimeName for CastingDevicePickerFilter { const NAME: &'static str = "Windows.Media.Casting.CastingDevicePickerFilter"; } -::windows::core::interface_hierarchy!(CastingDevicePickerFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CastingDevicePickerFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CastingDevicePickerFilter {} unsafe impl ::core::marker::Sync for CastingDevicePickerFilter {} #[doc = "*Required features: `\"Media_Casting\"`*"] @@ -757,7 +757,7 @@ impl ::core::fmt::Debug for CastingDeviceSelectedEventArgs { } } impl ::windows::core::RuntimeType for CastingDeviceSelectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDeviceSelectedEventArgs;{dc439e86-dd57-4d0d-9400-af45e4fb3663})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDeviceSelectedEventArgs;{dc439e86-dd57-4d0d-9400-af45e4fb3663})"); } impl ::core::clone::Clone for CastingDeviceSelectedEventArgs { fn clone(&self) -> Self { @@ -773,7 +773,7 @@ unsafe impl ::windows::core::Interface for CastingDeviceSelectedEventArgs { impl ::windows::core::RuntimeName for CastingDeviceSelectedEventArgs { const NAME: &'static str = "Windows.Media.Casting.CastingDeviceSelectedEventArgs"; } -::windows::core::interface_hierarchy!(CastingDeviceSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CastingDeviceSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CastingDeviceSelectedEventArgs {} unsafe impl ::core::marker::Sync for CastingDeviceSelectedEventArgs {} #[doc = "*Required features: `\"Media_Casting\"`*"] @@ -808,7 +808,7 @@ impl ::core::fmt::Debug for CastingSource { } } impl ::windows::core::RuntimeType for CastingSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingSource;{f429ea72-3467-47e6-a027-522923e9d727})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingSource;{f429ea72-3467-47e6-a027-522923e9d727})"); } impl ::core::clone::Clone for CastingSource { fn clone(&self) -> Self { @@ -824,7 +824,7 @@ unsafe impl ::windows::core::Interface for CastingSource { impl ::windows::core::RuntimeName for CastingSource { const NAME: &'static str = "Windows.Media.Casting.CastingSource"; } -::windows::core::interface_hierarchy!(CastingSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CastingSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CastingSource {} unsafe impl ::core::marker::Sync for CastingSource {} #[doc = "*Required features: `\"Media_Casting\"`*"] @@ -860,7 +860,7 @@ impl ::core::fmt::Debug for CastingConnectionErrorStatus { } } impl ::windows::core::RuntimeType for CastingConnectionErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Casting.CastingConnectionErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Casting.CastingConnectionErrorStatus;i4)"); } #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] @@ -893,7 +893,7 @@ impl ::core::fmt::Debug for CastingConnectionState { } } impl ::windows::core::RuntimeType for CastingConnectionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Casting.CastingConnectionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Casting.CastingConnectionState;i4)"); } #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] @@ -958,7 +958,7 @@ impl ::core::ops::Not for CastingPlaybackTypes { } } impl ::windows::core::RuntimeType for CastingPlaybackTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Casting.CastingPlaybackTypes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Casting.CastingPlaybackTypes;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs index 9243a557c4..24300b1b31 100644 --- a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs @@ -121,7 +121,7 @@ impl ClosedCaptionProperties { } #[doc(hidden)] pub fn IClosedCaptionPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -163,7 +163,7 @@ impl ::core::fmt::Debug for ClosedCaptionColor { } } impl ::windows::core::RuntimeType for ClosedCaptionColor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionColor;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionColor;i4)"); } #[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"] #[repr(transparent)] @@ -197,7 +197,7 @@ impl ::core::fmt::Debug for ClosedCaptionEdgeEffect { } } impl ::windows::core::RuntimeType for ClosedCaptionEdgeEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionEdgeEffect;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionEdgeEffect;i4)"); } #[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"] #[repr(transparent)] @@ -230,7 +230,7 @@ impl ::core::fmt::Debug for ClosedCaptionOpacity { } } impl ::windows::core::RuntimeType for ClosedCaptionOpacity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionOpacity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionOpacity;i4)"); } #[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"] #[repr(transparent)] @@ -263,7 +263,7 @@ impl ::core::fmt::Debug for ClosedCaptionSize { } } impl ::windows::core::RuntimeType for ClosedCaptionSize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionSize;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionSize;i4)"); } #[doc = "*Required features: `\"Media_ClosedCaptioning\"`*"] #[repr(transparent)] @@ -299,7 +299,7 @@ impl ::core::fmt::Debug for ClosedCaptionStyle { } } impl ::windows::core::RuntimeType for ClosedCaptionStyle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionStyle;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.ClosedCaptioning.ClosedCaptionStyle;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs index b4c12e5c70..0de5f43404 100644 --- a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs @@ -188,7 +188,7 @@ impl ::core::fmt::Debug for ContentRestrictionsBrowsePolicy { } } impl ::windows::core::RuntimeType for ContentRestrictionsBrowsePolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.ContentRestrictionsBrowsePolicy;{8c0133a4-442e-461a-8757-fad2f5bd37e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.ContentRestrictionsBrowsePolicy;{8c0133a4-442e-461a-8757-fad2f5bd37e4})"); } impl ::core::clone::Clone for ContentRestrictionsBrowsePolicy { fn clone(&self) -> Self { @@ -204,7 +204,7 @@ unsafe impl ::windows::core::Interface for ContentRestrictionsBrowsePolicy { impl ::windows::core::RuntimeName for ContentRestrictionsBrowsePolicy { const NAME: &'static str = "Windows.Media.ContentRestrictions.ContentRestrictionsBrowsePolicy"; } -::windows::core::interface_hierarchy!(ContentRestrictionsBrowsePolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContentRestrictionsBrowsePolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContentRestrictionsBrowsePolicy {} unsafe impl ::core::marker::Sync for ContentRestrictionsBrowsePolicy {} #[doc = "*Required features: `\"Media_ContentRestrictions\"`*"] @@ -290,7 +290,7 @@ impl RatedContentDescription { } #[doc(hidden)] pub fn IRatedContentDescriptionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -306,7 +306,7 @@ impl ::core::fmt::Debug for RatedContentDescription { } } impl ::windows::core::RuntimeType for RatedContentDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.RatedContentDescription;{694866df-66b2-4dc3-96b1-f090eedee255})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.RatedContentDescription;{694866df-66b2-4dc3-96b1-f090eedee255})"); } impl ::core::clone::Clone for RatedContentDescription { fn clone(&self) -> Self { @@ -322,7 +322,7 @@ unsafe impl ::windows::core::Interface for RatedContentDescription { impl ::windows::core::RuntimeName for RatedContentDescription { const NAME: &'static str = "Windows.Media.ContentRestrictions.RatedContentDescription"; } -::windows::core::interface_hierarchy!(RatedContentDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RatedContentDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RatedContentDescription {} unsafe impl ::core::marker::Sync for RatedContentDescription {} #[doc = "*Required features: `\"Media_ContentRestrictions\"`*"] @@ -332,8 +332,8 @@ impl RatedContentRestrictions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -386,7 +386,7 @@ impl RatedContentRestrictions { } #[doc(hidden)] pub fn IRatedContentRestrictionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -402,7 +402,7 @@ impl ::core::fmt::Debug for RatedContentRestrictions { } } impl ::windows::core::RuntimeType for RatedContentRestrictions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.RatedContentRestrictions;{3f7f23cb-ba07-4401-a49d-8b9222205723})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.RatedContentRestrictions;{3f7f23cb-ba07-4401-a49d-8b9222205723})"); } impl ::core::clone::Clone for RatedContentRestrictions { fn clone(&self) -> Self { @@ -418,7 +418,7 @@ unsafe impl ::windows::core::Interface for RatedContentRestrictions { impl ::windows::core::RuntimeName for RatedContentRestrictions { const NAME: &'static str = "Windows.Media.ContentRestrictions.RatedContentRestrictions"; } -::windows::core::interface_hierarchy!(RatedContentRestrictions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RatedContentRestrictions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RatedContentRestrictions {} unsafe impl ::core::marker::Sync for RatedContentRestrictions {} #[doc = "*Required features: `\"Media_ContentRestrictions\"`*"] @@ -451,7 +451,7 @@ impl ::core::fmt::Debug for ContentAccessRestrictionLevel { } } impl ::windows::core::RuntimeType for ContentAccessRestrictionLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.ContentRestrictions.ContentAccessRestrictionLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.ContentRestrictions.ContentAccessRestrictionLevel;i4)"); } #[doc = "*Required features: `\"Media_ContentRestrictions\"`*"] #[repr(transparent)] @@ -485,7 +485,7 @@ impl ::core::fmt::Debug for RatedContentCategory { } } impl ::windows::core::RuntimeType for RatedContentCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.ContentRestrictions.RatedContentCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.ContentRestrictions.RatedContentCategory;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Control/mod.rs b/crates/libs/windows/src/Windows/Media/Control/mod.rs index 52e08e82af..9800a1616b 100644 --- a/crates/libs/windows/src/Windows/Media/Control/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Control/mod.rs @@ -434,7 +434,7 @@ impl ::core::fmt::Debug for CurrentSessionChangedEventArgs { } } impl ::windows::core::RuntimeType for CurrentSessionChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.CurrentSessionChangedEventArgs;{6969cb39-0bfa-5fe0-8d73-09cc5e5408e1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.CurrentSessionChangedEventArgs;{6969cb39-0bfa-5fe0-8d73-09cc5e5408e1})"); } impl ::core::clone::Clone for CurrentSessionChangedEventArgs { fn clone(&self) -> Self { @@ -450,7 +450,7 @@ unsafe impl ::windows::core::Interface for CurrentSessionChangedEventArgs { impl ::windows::core::RuntimeName for CurrentSessionChangedEventArgs { const NAME: &'static str = "Windows.Media.Control.CurrentSessionChangedEventArgs"; } -::windows::core::interface_hierarchy!(CurrentSessionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CurrentSessionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CurrentSessionChangedEventArgs {} unsafe impl ::core::marker::Sync for CurrentSessionChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -680,7 +680,7 @@ impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSession { } } impl ::windows::core::RuntimeType for GlobalSystemMediaTransportControlsSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSession;{7148c835-9b14-5ae2-ab85-dc9b1c14e1a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSession;{7148c835-9b14-5ae2-ab85-dc9b1c14e1a8})"); } impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSession { fn clone(&self) -> Self { @@ -696,7 +696,7 @@ unsafe impl ::windows::core::Interface for GlobalSystemMediaTransportControlsSes impl ::windows::core::RuntimeName for GlobalSystemMediaTransportControlsSession { const NAME: &'static str = "Windows.Media.Control.GlobalSystemMediaTransportControlsSession"; } -::windows::core::interface_hierarchy!(GlobalSystemMediaTransportControlsSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GlobalSystemMediaTransportControlsSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSession {} unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSession {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -759,7 +759,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { } #[doc(hidden)] pub fn IGlobalSystemMediaTransportControlsSessionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -775,7 +775,7 @@ impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionManager { } } impl ::windows::core::RuntimeType for GlobalSystemMediaTransportControlsSessionManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionManager;{cace8eac-e86e-504a-ab31-5ff8ff1bce49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionManager;{cace8eac-e86e-504a-ab31-5ff8ff1bce49})"); } impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionManager { fn clone(&self) -> Self { @@ -791,7 +791,7 @@ unsafe impl ::windows::core::Interface for GlobalSystemMediaTransportControlsSes impl ::windows::core::RuntimeName for GlobalSystemMediaTransportControlsSessionManager { const NAME: &'static str = "Windows.Media.Control.GlobalSystemMediaTransportControlsSessionManager"; } -::windows::core::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionManager {} unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionManager {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -887,7 +887,7 @@ impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionMediaProper } } impl ::windows::core::RuntimeType for GlobalSystemMediaTransportControlsSessionMediaProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionMediaProperties;{68856cf6-adb4-54b2-ac16-05837907acb6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionMediaProperties;{68856cf6-adb4-54b2-ac16-05837907acb6})"); } impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionMediaProperties { fn clone(&self) -> Self { @@ -903,7 +903,7 @@ unsafe impl ::windows::core::Interface for GlobalSystemMediaTransportControlsSes impl ::windows::core::RuntimeName for GlobalSystemMediaTransportControlsSessionMediaProperties { const NAME: &'static str = "Windows.Media.Control.GlobalSystemMediaTransportControlsSessionMediaProperties"; } -::windows::core::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionMediaProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionMediaProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionMediaProperties {} unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionMediaProperties {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -1028,7 +1028,7 @@ impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionPlaybackCon } } impl ::windows::core::RuntimeType for GlobalSystemMediaTransportControlsSessionPlaybackControls { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackControls;{6501a3e6-bc7a-503a-bb1b-68f158f3fb03})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackControls;{6501a3e6-bc7a-503a-bb1b-68f158f3fb03})"); } impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionPlaybackControls { fn clone(&self) -> Self { @@ -1044,7 +1044,7 @@ unsafe impl ::windows::core::Interface for GlobalSystemMediaTransportControlsSes impl ::windows::core::RuntimeName for GlobalSystemMediaTransportControlsSessionPlaybackControls { const NAME: &'static str = "Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackControls"; } -::windows::core::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionPlaybackControls, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionPlaybackControls, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionPlaybackControls {} unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionPlaybackControls {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -1114,7 +1114,7 @@ impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionPlaybackInf } } impl ::windows::core::RuntimeType for GlobalSystemMediaTransportControlsSessionPlaybackInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackInfo;{94b4b6cf-e8ba-51ad-87a7-c10ade106127})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackInfo;{94b4b6cf-e8ba-51ad-87a7-c10ade106127})"); } impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionPlaybackInfo { fn clone(&self) -> Self { @@ -1130,7 +1130,7 @@ unsafe impl ::windows::core::Interface for GlobalSystemMediaTransportControlsSes impl ::windows::core::RuntimeName for GlobalSystemMediaTransportControlsSessionPlaybackInfo { const NAME: &'static str = "Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackInfo"; } -::windows::core::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionPlaybackInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionPlaybackInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionPlaybackInfo {} unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionPlaybackInfo {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -1204,7 +1204,7 @@ impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionTimelinePro } } impl ::windows::core::RuntimeType for GlobalSystemMediaTransportControlsSessionTimelineProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionTimelineProperties;{ede34136-6f25-588d-8ecf-ea5b6735aaa5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionTimelineProperties;{ede34136-6f25-588d-8ecf-ea5b6735aaa5})"); } impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionTimelineProperties { fn clone(&self) -> Self { @@ -1220,7 +1220,7 @@ unsafe impl ::windows::core::Interface for GlobalSystemMediaTransportControlsSes impl ::windows::core::RuntimeName for GlobalSystemMediaTransportControlsSessionTimelineProperties { const NAME: &'static str = "Windows.Media.Control.GlobalSystemMediaTransportControlsSessionTimelineProperties"; } -::windows::core::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionTimelineProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GlobalSystemMediaTransportControlsSessionTimelineProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionTimelineProperties {} unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionTimelineProperties {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -1239,7 +1239,7 @@ impl ::core::fmt::Debug for MediaPropertiesChangedEventArgs { } } impl ::windows::core::RuntimeType for MediaPropertiesChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.MediaPropertiesChangedEventArgs;{7d3741cb-adf0-5cef-91ba-cfabcdd77678})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.MediaPropertiesChangedEventArgs;{7d3741cb-adf0-5cef-91ba-cfabcdd77678})"); } impl ::core::clone::Clone for MediaPropertiesChangedEventArgs { fn clone(&self) -> Self { @@ -1255,7 +1255,7 @@ unsafe impl ::windows::core::Interface for MediaPropertiesChangedEventArgs { impl ::windows::core::RuntimeName for MediaPropertiesChangedEventArgs { const NAME: &'static str = "Windows.Media.Control.MediaPropertiesChangedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPropertiesChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPropertiesChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPropertiesChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaPropertiesChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -1274,7 +1274,7 @@ impl ::core::fmt::Debug for PlaybackInfoChangedEventArgs { } } impl ::windows::core::RuntimeType for PlaybackInfoChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.PlaybackInfoChangedEventArgs;{786756c2-bc0d-50a5-8807-054291fef139})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.PlaybackInfoChangedEventArgs;{786756c2-bc0d-50a5-8807-054291fef139})"); } impl ::core::clone::Clone for PlaybackInfoChangedEventArgs { fn clone(&self) -> Self { @@ -1290,7 +1290,7 @@ unsafe impl ::windows::core::Interface for PlaybackInfoChangedEventArgs { impl ::windows::core::RuntimeName for PlaybackInfoChangedEventArgs { const NAME: &'static str = "Windows.Media.Control.PlaybackInfoChangedEventArgs"; } -::windows::core::interface_hierarchy!(PlaybackInfoChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaybackInfoChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlaybackInfoChangedEventArgs {} unsafe impl ::core::marker::Sync for PlaybackInfoChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -1309,7 +1309,7 @@ impl ::core::fmt::Debug for SessionsChangedEventArgs { } } impl ::windows::core::RuntimeType for SessionsChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.SessionsChangedEventArgs;{bbf0cd32-42c4-5a58-b317-f34bbfbd26e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.SessionsChangedEventArgs;{bbf0cd32-42c4-5a58-b317-f34bbfbd26e0})"); } impl ::core::clone::Clone for SessionsChangedEventArgs { fn clone(&self) -> Self { @@ -1325,7 +1325,7 @@ unsafe impl ::windows::core::Interface for SessionsChangedEventArgs { impl ::windows::core::RuntimeName for SessionsChangedEventArgs { const NAME: &'static str = "Windows.Media.Control.SessionsChangedEventArgs"; } -::windows::core::interface_hierarchy!(SessionsChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SessionsChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SessionsChangedEventArgs {} unsafe impl ::core::marker::Sync for SessionsChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -1344,7 +1344,7 @@ impl ::core::fmt::Debug for TimelinePropertiesChangedEventArgs { } } impl ::windows::core::RuntimeType for TimelinePropertiesChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Control.TimelinePropertiesChangedEventArgs;{29033a2f-c923-5a77-bcaf-055ff415ad32})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.TimelinePropertiesChangedEventArgs;{29033a2f-c923-5a77-bcaf-055ff415ad32})"); } impl ::core::clone::Clone for TimelinePropertiesChangedEventArgs { fn clone(&self) -> Self { @@ -1360,7 +1360,7 @@ unsafe impl ::windows::core::Interface for TimelinePropertiesChangedEventArgs { impl ::windows::core::RuntimeName for TimelinePropertiesChangedEventArgs { const NAME: &'static str = "Windows.Media.Control.TimelinePropertiesChangedEventArgs"; } -::windows::core::interface_hierarchy!(TimelinePropertiesChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimelinePropertiesChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimelinePropertiesChangedEventArgs {} unsafe impl ::core::marker::Sync for TimelinePropertiesChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] @@ -1395,7 +1395,7 @@ impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionPlaybackSta } } impl ::windows::core::RuntimeType for GlobalSystemMediaTransportControlsSessionPlaybackStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs index 443bafa449..facdfe310a 100644 --- a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs @@ -50,7 +50,7 @@ impl SoundLevelBroker { } #[doc(hidden)] pub fn ISoundLevelBrokerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index 624aff4d33..636b927876 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -800,7 +800,7 @@ impl IMediaCue { } } } -::windows::core::interface_hierarchy!(IMediaCue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaCue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaCue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -813,7 +813,7 @@ impl ::core::fmt::Debug for IMediaCue { } } impl ::windows::core::RuntimeType for IMediaCue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c7d15e5d-59dc-431f-a0ee-27744323b36d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c7d15e5d-59dc-431f-a0ee-27744323b36d}"); } unsafe impl ::windows::core::Vtable for IMediaCue { type Vtable = IMediaCue_Vtbl; @@ -873,7 +873,7 @@ pub struct IMediaCueEventArgs_Vtbl { #[repr(transparent)] pub struct IMediaSource(::windows::core::IUnknown); impl IMediaSource {} -::windows::core::interface_hierarchy!(IMediaSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -886,7 +886,7 @@ impl ::core::fmt::Debug for IMediaSource { } } impl ::windows::core::RuntimeType for IMediaSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e7bfb599-a09d-4c21-bcdf-20af4f86b3d9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e7bfb599-a09d-4c21-bcdf-20af4f86b3d9}"); } unsafe impl ::windows::core::Vtable for IMediaSource { type Vtable = IMediaSource_Vtbl; @@ -1287,7 +1287,7 @@ impl IMediaStreamDescriptor { } } } -::windows::core::interface_hierarchy!(IMediaStreamDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaStreamDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaStreamDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1300,7 +1300,7 @@ impl ::core::fmt::Debug for IMediaStreamDescriptor { } } impl ::windows::core::RuntimeType for IMediaStreamDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{80f16e6e-92f7-451e-97d2-afd80742da70}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{80f16e6e-92f7-451e-97d2-afd80742da70}"); } unsafe impl ::windows::core::Vtable for IMediaStreamDescriptor { type Vtable = IMediaStreamDescriptor_Vtbl; @@ -1368,7 +1368,7 @@ impl IMediaStreamDescriptor2 { } } } -::windows::core::interface_hierarchy!(IMediaStreamDescriptor2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaStreamDescriptor2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaStreamDescriptor { type Error = ::windows::core::Error; fn try_from(value: IMediaStreamDescriptor2) -> ::windows::core::Result { @@ -1400,7 +1400,7 @@ impl ::core::fmt::Debug for IMediaStreamDescriptor2 { } } impl ::windows::core::RuntimeType for IMediaStreamDescriptor2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5073010f-e8b2-4071-b00b-ebf337a76b58}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5073010f-e8b2-4071-b00b-ebf337a76b58}"); } unsafe impl ::windows::core::Vtable for IMediaStreamDescriptor2 { type Vtable = IMediaStreamDescriptor2_Vtbl; @@ -2076,7 +2076,7 @@ impl IMediaTrack { } } } -::windows::core::interface_hierarchy!(IMediaTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaTrack { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2089,7 +2089,7 @@ impl ::core::fmt::Debug for IMediaTrack { } } impl ::windows::core::RuntimeType for IMediaTrack { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{03e1fafc-c931-491a-b46b-c10ee8c256b7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{03e1fafc-c931-491a-b46b-c10ee8c256b7}"); } unsafe impl ::windows::core::Vtable for IMediaTrack { type Vtable = IMediaTrack_Vtbl; @@ -2493,7 +2493,7 @@ impl ISingleSelectMediaTrackList { } } } -::windows::core::interface_hierarchy!(ISingleSelectMediaTrackList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISingleSelectMediaTrackList, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISingleSelectMediaTrackList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2506,7 +2506,7 @@ impl ::core::fmt::Debug for ISingleSelectMediaTrackList { } } impl ::windows::core::RuntimeType for ISingleSelectMediaTrackList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{77206f1f-c34f-494f-8077-2bad9ff4ecf1}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{77206f1f-c34f-494f-8077-2bad9ff4ecf1}"); } unsafe impl ::windows::core::Vtable for ISingleSelectMediaTrackList { type Vtable = ISingleSelectMediaTrackList_Vtbl; @@ -2772,7 +2772,7 @@ impl ITimedMetadataTrackProvider { } } } -::windows::core::interface_hierarchy!(ITimedMetadataTrackProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ITimedMetadataTrackProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ITimedMetadataTrackProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2785,7 +2785,7 @@ impl ::core::fmt::Debug for ITimedMetadataTrackProvider { } } impl ::windows::core::RuntimeType for ITimedMetadataTrackProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3b7f2024-f74e-4ade-93c5-219da05b6856}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3b7f2024-f74e-4ade-93c5-219da05b6856}"); } unsafe impl ::windows::core::Vtable for ITimedMetadataTrackProvider { type Vtable = ITimedMetadataTrackProvider_Vtbl; @@ -3530,7 +3530,7 @@ impl AudioStreamDescriptor { } #[doc(hidden)] pub fn IAudioStreamDescriptorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3546,7 +3546,7 @@ impl ::core::fmt::Debug for AudioStreamDescriptor { } } impl ::windows::core::RuntimeType for AudioStreamDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioStreamDescriptor;{1e3692e4-4027-4847-a70b-df1d9a2a7b04})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioStreamDescriptor;{1e3692e4-4027-4847-a70b-df1d9a2a7b04})"); } impl ::core::clone::Clone for AudioStreamDescriptor { fn clone(&self) -> Self { @@ -3562,7 +3562,7 @@ unsafe impl ::windows::core::Interface for AudioStreamDescriptor { impl ::windows::core::RuntimeName for AudioStreamDescriptor { const NAME: &'static str = "Windows.Media.Core.AudioStreamDescriptor"; } -::windows::core::interface_hierarchy!(AudioStreamDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioStreamDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaStreamDescriptor { type Error = ::windows::core::Error; fn try_from(value: AudioStreamDescriptor) -> ::windows::core::Result { @@ -3699,7 +3699,7 @@ impl ::core::fmt::Debug for AudioTrack { } } impl ::windows::core::RuntimeType for AudioTrack { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})"); } impl ::core::clone::Clone for AudioTrack { fn clone(&self) -> Self { @@ -3715,7 +3715,7 @@ unsafe impl ::windows::core::Interface for AudioTrack { impl ::windows::core::RuntimeName for AudioTrack { const NAME: &'static str = "Windows.Media.Core.AudioTrack"; } -::windows::core::interface_hierarchy!(AudioTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaTrack { type Error = ::windows::core::Error; fn try_from(value: AudioTrack) -> ::windows::core::Result { @@ -3761,7 +3761,7 @@ impl ::core::fmt::Debug for AudioTrackOpenFailedEventArgs { } } impl ::windows::core::RuntimeType for AudioTrackOpenFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrackOpenFailedEventArgs;{eeddb9b9-bb7c-4112-bf76-9384676f824b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrackOpenFailedEventArgs;{eeddb9b9-bb7c-4112-bf76-9384676f824b})"); } impl ::core::clone::Clone for AudioTrackOpenFailedEventArgs { fn clone(&self) -> Self { @@ -3777,7 +3777,7 @@ unsafe impl ::windows::core::Interface for AudioTrackOpenFailedEventArgs { impl ::windows::core::RuntimeName for AudioTrackOpenFailedEventArgs { const NAME: &'static str = "Windows.Media.Core.AudioTrackOpenFailedEventArgs"; } -::windows::core::interface_hierarchy!(AudioTrackOpenFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioTrackOpenFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioTrackOpenFailedEventArgs {} unsafe impl ::core::marker::Sync for AudioTrackOpenFailedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -3825,7 +3825,7 @@ impl ::core::fmt::Debug for AudioTrackSupportInfo { } } impl ::windows::core::RuntimeType for AudioTrackSupportInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrackSupportInfo;{178beff7-cc39-44a6-b951-4a5653f073fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrackSupportInfo;{178beff7-cc39-44a6-b951-4a5653f073fa})"); } impl ::core::clone::Clone for AudioTrackSupportInfo { fn clone(&self) -> Self { @@ -3841,7 +3841,7 @@ unsafe impl ::windows::core::Interface for AudioTrackSupportInfo { impl ::windows::core::RuntimeName for AudioTrackSupportInfo { const NAME: &'static str = "Windows.Media.Core.AudioTrackSupportInfo"; } -::windows::core::interface_hierarchy!(AudioTrackSupportInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioTrackSupportInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioTrackSupportInfo {} unsafe impl ::core::marker::Sync for AudioTrackSupportInfo {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -3851,8 +3851,8 @@ impl ChapterCue { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetTitle(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -3920,7 +3920,7 @@ impl ::core::fmt::Debug for ChapterCue { } } impl ::windows::core::RuntimeType for ChapterCue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.ChapterCue;{72a98001-d38a-4c0a-8fa6-75cddaf4664c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.ChapterCue;{72a98001-d38a-4c0a-8fa6-75cddaf4664c})"); } impl ::core::clone::Clone for ChapterCue { fn clone(&self) -> Self { @@ -3936,7 +3936,7 @@ unsafe impl ::windows::core::Interface for ChapterCue { impl ::windows::core::RuntimeName for ChapterCue { const NAME: &'static str = "Windows.Media.Core.ChapterCue"; } -::windows::core::interface_hierarchy!(ChapterCue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChapterCue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaCue { type Error = ::windows::core::Error; fn try_from(value: ChapterCue) -> ::windows::core::Result { @@ -4012,7 +4012,7 @@ impl ::core::fmt::Debug for CodecInfo { } } impl ::windows::core::RuntimeType for CodecInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.CodecInfo;{51e89f85-ea97-499c-86ac-4ce5e73f3a42})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.CodecInfo;{51e89f85-ea97-499c-86ac-4ce5e73f3a42})"); } impl ::core::clone::Clone for CodecInfo { fn clone(&self) -> Self { @@ -4028,7 +4028,7 @@ unsafe impl ::windows::core::Interface for CodecInfo { impl ::windows::core::RuntimeName for CodecInfo { const NAME: &'static str = "Windows.Media.Core.CodecInfo"; } -::windows::core::interface_hierarchy!(CodecInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CodecInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CodecInfo {} unsafe impl ::core::marker::Sync for CodecInfo {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -4038,8 +4038,8 @@ impl CodecQuery { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4064,7 +4064,7 @@ impl ::core::fmt::Debug for CodecQuery { } } impl ::windows::core::RuntimeType for CodecQuery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.CodecQuery;{222a953a-af61-4e04-808a-a4634e2f3ac4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.CodecQuery;{222a953a-af61-4e04-808a-a4634e2f3ac4})"); } impl ::core::clone::Clone for CodecQuery { fn clone(&self) -> Self { @@ -4080,7 +4080,7 @@ unsafe impl ::windows::core::Interface for CodecQuery { impl ::windows::core::RuntimeName for CodecQuery { const NAME: &'static str = "Windows.Media.Core.CodecQuery"; } -::windows::core::interface_hierarchy!(CodecQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CodecQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CodecQuery {} unsafe impl ::core::marker::Sync for CodecQuery {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -4394,7 +4394,7 @@ impl CodecSubtypes { } #[doc(hidden)] pub fn ICodecSubtypesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4408,8 +4408,8 @@ impl DataCue { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -4494,7 +4494,7 @@ impl ::core::fmt::Debug for DataCue { } } impl ::windows::core::RuntimeType for DataCue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.DataCue;{7c7f676d-1fbc-4e2d-9a87-ee38bd1dc637})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.DataCue;{7c7f676d-1fbc-4e2d-9a87-ee38bd1dc637})"); } impl ::core::clone::Clone for DataCue { fn clone(&self) -> Self { @@ -4510,7 +4510,7 @@ unsafe impl ::windows::core::Interface for DataCue { impl ::windows::core::RuntimeName for DataCue { const NAME: &'static str = "Windows.Media.Core.DataCue"; } -::windows::core::interface_hierarchy!(DataCue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataCue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaCue { type Error = ::windows::core::Error; fn try_from(value: DataCue) -> ::windows::core::Result { @@ -4556,7 +4556,7 @@ impl ::core::fmt::Debug for FaceDetectedEventArgs { } } impl ::windows::core::RuntimeType for FaceDetectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectedEventArgs;{19918426-c65b-46ba-85f8-13880576c90a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectedEventArgs;{19918426-c65b-46ba-85f8-13880576c90a})"); } impl ::core::clone::Clone for FaceDetectedEventArgs { fn clone(&self) -> Self { @@ -4572,7 +4572,7 @@ unsafe impl ::windows::core::Interface for FaceDetectedEventArgs { impl ::windows::core::RuntimeName for FaceDetectedEventArgs { const NAME: &'static str = "Windows.Media.Core.FaceDetectedEventArgs"; } -::windows::core::interface_hierarchy!(FaceDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FaceDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FaceDetectedEventArgs {} unsafe impl ::core::marker::Sync for FaceDetectedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -4643,7 +4643,7 @@ impl ::core::fmt::Debug for FaceDetectionEffect { } } impl ::windows::core::RuntimeType for FaceDetectionEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffect;{ae15ebd2-0542-42a9-bc90-f283a29f46c1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffect;{ae15ebd2-0542-42a9-bc90-f283a29f46c1})"); } impl ::core::clone::Clone for FaceDetectionEffect { fn clone(&self) -> Self { @@ -4659,7 +4659,7 @@ unsafe impl ::windows::core::Interface for FaceDetectionEffect { impl ::windows::core::RuntimeName for FaceDetectionEffect { const NAME: &'static str = "Windows.Media.Core.FaceDetectionEffect"; } -::windows::core::interface_hierarchy!(FaceDetectionEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FaceDetectionEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaExtension { type Error = ::windows::core::Error; fn try_from(value: FaceDetectionEffect) -> ::windows::core::Result { @@ -4690,8 +4690,8 @@ impl FaceDetectionEffectDefinition { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetDetectionMode(&self, value: FaceDetectionMode) -> ::windows::core::Result<()> { @@ -4751,7 +4751,7 @@ impl ::core::fmt::Debug for FaceDetectionEffectDefinition { } #[cfg(feature = "Media_Effects")] impl ::windows::core::RuntimeType for FaceDetectionEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } #[cfg(feature = "Media_Effects")] impl ::core::clone::Clone for FaceDetectionEffectDefinition { @@ -4772,7 +4772,7 @@ impl ::windows::core::RuntimeName for FaceDetectionEffectDefinition { const NAME: &'static str = "Windows.Media.Core.FaceDetectionEffectDefinition"; } #[cfg(feature = "Media_Effects")] -::windows::core::interface_hierarchy!(FaceDetectionEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FaceDetectionEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Media_Effects")] impl ::core::convert::TryFrom for super::Effects::IVideoEffectDefinition { type Error = ::windows::core::Error; @@ -4922,7 +4922,7 @@ impl ::core::fmt::Debug for FaceDetectionEffectFrame { } } impl ::windows::core::RuntimeType for FaceDetectionEffectFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffectFrame;{8ab08993-5dc8-447b-a247-5270bd802ece})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffectFrame;{8ab08993-5dc8-447b-a247-5270bd802ece})"); } impl ::core::clone::Clone for FaceDetectionEffectFrame { fn clone(&self) -> Self { @@ -4938,7 +4938,7 @@ unsafe impl ::windows::core::Interface for FaceDetectionEffectFrame { impl ::windows::core::RuntimeName for FaceDetectionEffectFrame { const NAME: &'static str = "Windows.Media.Core.FaceDetectionEffectFrame"; } -::windows::core::interface_hierarchy!(FaceDetectionEffectFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FaceDetectionEffectFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5010,7 +5010,7 @@ impl ::core::fmt::Debug for HighDynamicRangeControl { } } impl ::windows::core::RuntimeType for HighDynamicRangeControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.HighDynamicRangeControl;{55f1a7ae-d957-4dc9-9d1c-8553a82a7d99})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.HighDynamicRangeControl;{55f1a7ae-d957-4dc9-9d1c-8553a82a7d99})"); } impl ::core::clone::Clone for HighDynamicRangeControl { fn clone(&self) -> Self { @@ -5026,7 +5026,7 @@ unsafe impl ::windows::core::Interface for HighDynamicRangeControl { impl ::windows::core::RuntimeName for HighDynamicRangeControl { const NAME: &'static str = "Windows.Media.Core.HighDynamicRangeControl"; } -::windows::core::interface_hierarchy!(HighDynamicRangeControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HighDynamicRangeControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HighDynamicRangeControl {} unsafe impl ::core::marker::Sync for HighDynamicRangeControl {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -5062,7 +5062,7 @@ impl ::core::fmt::Debug for HighDynamicRangeOutput { } } impl ::windows::core::RuntimeType for HighDynamicRangeOutput { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.HighDynamicRangeOutput;{0f57806b-253b-4119-bb40-3a90e51384f7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.HighDynamicRangeOutput;{0f57806b-253b-4119-bb40-3a90e51384f7})"); } impl ::core::clone::Clone for HighDynamicRangeOutput { fn clone(&self) -> Self { @@ -5078,7 +5078,7 @@ unsafe impl ::windows::core::Interface for HighDynamicRangeOutput { impl ::windows::core::RuntimeName for HighDynamicRangeOutput { const NAME: &'static str = "Windows.Media.Core.HighDynamicRangeOutput"; } -::windows::core::interface_hierarchy!(HighDynamicRangeOutput, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HighDynamicRangeOutput, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HighDynamicRangeOutput {} unsafe impl ::core::marker::Sync for HighDynamicRangeOutput {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -5088,8 +5088,8 @@ impl ImageCue { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Position(&self) -> ::windows::core::Result { @@ -5183,7 +5183,7 @@ impl ::core::fmt::Debug for ImageCue { } } impl ::windows::core::RuntimeType for ImageCue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.ImageCue;{52828282-367b-440b-9116-3c84570dd270})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.ImageCue;{52828282-367b-440b-9116-3c84570dd270})"); } impl ::core::clone::Clone for ImageCue { fn clone(&self) -> Self { @@ -5199,7 +5199,7 @@ unsafe impl ::windows::core::Interface for ImageCue { impl ::windows::core::RuntimeName for ImageCue { const NAME: &'static str = "Windows.Media.Core.ImageCue"; } -::windows::core::interface_hierarchy!(ImageCue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageCue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaCue { type Error = ::windows::core::Error; fn try_from(value: ImageCue) -> ::windows::core::Result { @@ -5263,7 +5263,7 @@ impl ::core::fmt::Debug for InitializeMediaStreamSourceRequestedEventArgs { } } impl ::windows::core::RuntimeType for InitializeMediaStreamSourceRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.InitializeMediaStreamSourceRequestedEventArgs;{25bc45e1-9b08-4c2e-a855-4542f1a75deb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.InitializeMediaStreamSourceRequestedEventArgs;{25bc45e1-9b08-4c2e-a855-4542f1a75deb})"); } impl ::core::clone::Clone for InitializeMediaStreamSourceRequestedEventArgs { fn clone(&self) -> Self { @@ -5279,7 +5279,7 @@ unsafe impl ::windows::core::Interface for InitializeMediaStreamSourceRequestedE impl ::windows::core::RuntimeName for InitializeMediaStreamSourceRequestedEventArgs { const NAME: &'static str = "Windows.Media.Core.InitializeMediaStreamSourceRequestedEventArgs"; } -::windows::core::interface_hierarchy!(InitializeMediaStreamSourceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InitializeMediaStreamSourceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InitializeMediaStreamSourceRequestedEventArgs {} unsafe impl ::core::marker::Sync for InitializeMediaStreamSourceRequestedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -5313,7 +5313,7 @@ impl LowLightFusion { } #[doc(hidden)] pub fn ILowLightFusionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5352,7 +5352,7 @@ impl ::core::fmt::Debug for LowLightFusionResult { } } impl ::windows::core::RuntimeType for LowLightFusionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.LowLightFusionResult;{78edbe35-27a0-42e0-9cd3-738d2089de9c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.LowLightFusionResult;{78edbe35-27a0-42e0-9cd3-738d2089de9c})"); } impl ::core::clone::Clone for LowLightFusionResult { fn clone(&self) -> Self { @@ -5368,7 +5368,7 @@ unsafe impl ::windows::core::Interface for LowLightFusionResult { impl ::windows::core::RuntimeName for LowLightFusionResult { const NAME: &'static str = "Windows.Media.Core.LowLightFusionResult"; } -::windows::core::interface_hierarchy!(LowLightFusionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LowLightFusionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5400,8 +5400,8 @@ impl MediaBinder { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -5450,7 +5450,7 @@ impl ::core::fmt::Debug for MediaBinder { } } impl ::windows::core::RuntimeType for MediaBinder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaBinder;{2b7e40aa-de07-424f-83f1-f1de46c4fa2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaBinder;{2b7e40aa-de07-424f-83f1-f1de46c4fa2e})"); } impl ::core::clone::Clone for MediaBinder { fn clone(&self) -> Self { @@ -5466,7 +5466,7 @@ unsafe impl ::windows::core::Interface for MediaBinder { impl ::windows::core::RuntimeName for MediaBinder { const NAME: &'static str = "Windows.Media.Core.MediaBinder"; } -::windows::core::interface_hierarchy!(MediaBinder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBinder, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBinder {} unsafe impl ::core::marker::Sync for MediaBinder {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -5565,7 +5565,7 @@ impl ::core::fmt::Debug for MediaBindingEventArgs { } } impl ::windows::core::RuntimeType for MediaBindingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaBindingEventArgs;{b61cb25a-1b6d-4630-a86d-2f0837f712e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaBindingEventArgs;{b61cb25a-1b6d-4630-a86d-2f0837f712e5})"); } impl ::core::clone::Clone for MediaBindingEventArgs { fn clone(&self) -> Self { @@ -5581,7 +5581,7 @@ unsafe impl ::windows::core::Interface for MediaBindingEventArgs { impl ::windows::core::RuntimeName for MediaBindingEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaBindingEventArgs"; } -::windows::core::interface_hierarchy!(MediaBindingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBindingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBindingEventArgs {} unsafe impl ::core::marker::Sync for MediaBindingEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -5608,7 +5608,7 @@ impl ::core::fmt::Debug for MediaCueEventArgs { } } impl ::windows::core::RuntimeType for MediaCueEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaCueEventArgs;{d12f47f7-5fa4-4e68-9fe5-32160dcee57e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaCueEventArgs;{d12f47f7-5fa4-4e68-9fe5-32160dcee57e})"); } impl ::core::clone::Clone for MediaCueEventArgs { fn clone(&self) -> Self { @@ -5624,7 +5624,7 @@ unsafe impl ::windows::core::Interface for MediaCueEventArgs { impl ::windows::core::RuntimeName for MediaCueEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaCueEventArgs"; } -::windows::core::interface_hierarchy!(MediaCueEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaCueEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaCueEventArgs {} unsafe impl ::core::marker::Sync for MediaCueEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -5869,22 +5869,22 @@ impl MediaSource { } #[doc(hidden)] pub fn IMediaSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaSourceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaSourceStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaSourceStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5900,7 +5900,7 @@ impl ::core::fmt::Debug for MediaSource { } } impl ::windows::core::RuntimeType for MediaSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSource;{2eb61048-655f-4c37-b813-b4e45dfa0abe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSource;{2eb61048-655f-4c37-b813-b4e45dfa0abe})"); } impl ::core::clone::Clone for MediaSource { fn clone(&self) -> Self { @@ -5916,7 +5916,7 @@ unsafe impl ::windows::core::Interface for MediaSource { impl ::windows::core::RuntimeName for MediaSource { const NAME: &'static str = "Windows.Media.Core.MediaSource"; } -::windows::core::interface_hierarchy!(MediaSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaSource, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5996,7 +5996,7 @@ impl MediaSourceAppServiceConnection { } #[doc(hidden)] pub fn IMediaSourceAppServiceConnectionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6012,7 +6012,7 @@ impl ::core::fmt::Debug for MediaSourceAppServiceConnection { } } impl ::windows::core::RuntimeType for MediaSourceAppServiceConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceAppServiceConnection;{61e1ea97-1916-4810-b7f4-b642be829596})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceAppServiceConnection;{61e1ea97-1916-4810-b7f4-b642be829596})"); } impl ::core::clone::Clone for MediaSourceAppServiceConnection { fn clone(&self) -> Self { @@ -6028,7 +6028,7 @@ unsafe impl ::windows::core::Interface for MediaSourceAppServiceConnection { impl ::windows::core::RuntimeName for MediaSourceAppServiceConnection { const NAME: &'static str = "Windows.Media.Core.MediaSourceAppServiceConnection"; } -::windows::core::interface_hierarchy!(MediaSourceAppServiceConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaSourceAppServiceConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] pub struct MediaSourceError(::windows::core::IUnknown); @@ -6053,7 +6053,7 @@ impl ::core::fmt::Debug for MediaSourceError { } } impl ::windows::core::RuntimeType for MediaSourceError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceError;{5c0a8965-37c5-4e9d-8d21-1cdee90cecc6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceError;{5c0a8965-37c5-4e9d-8d21-1cdee90cecc6})"); } impl ::core::clone::Clone for MediaSourceError { fn clone(&self) -> Self { @@ -6069,7 +6069,7 @@ unsafe impl ::windows::core::Interface for MediaSourceError { impl ::windows::core::RuntimeName for MediaSourceError { const NAME: &'static str = "Windows.Media.Core.MediaSourceError"; } -::windows::core::interface_hierarchy!(MediaSourceError, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaSourceError, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaSourceError {} unsafe impl ::core::marker::Sync for MediaSourceError {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -6096,7 +6096,7 @@ impl ::core::fmt::Debug for MediaSourceOpenOperationCompletedEventArgs { } } impl ::windows::core::RuntimeType for MediaSourceOpenOperationCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceOpenOperationCompletedEventArgs;{fc682ceb-e281-477c-a8e0-1acd654114c8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceOpenOperationCompletedEventArgs;{fc682ceb-e281-477c-a8e0-1acd654114c8})"); } impl ::core::clone::Clone for MediaSourceOpenOperationCompletedEventArgs { fn clone(&self) -> Self { @@ -6112,7 +6112,7 @@ unsafe impl ::windows::core::Interface for MediaSourceOpenOperationCompletedEven impl ::windows::core::RuntimeName for MediaSourceOpenOperationCompletedEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaSourceOpenOperationCompletedEventArgs"; } -::windows::core::interface_hierarchy!(MediaSourceOpenOperationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaSourceOpenOperationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaSourceOpenOperationCompletedEventArgs {} unsafe impl ::core::marker::Sync for MediaSourceOpenOperationCompletedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -6146,7 +6146,7 @@ impl ::core::fmt::Debug for MediaSourceStateChangedEventArgs { } } impl ::windows::core::RuntimeType for MediaSourceStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceStateChangedEventArgs;{0a30af82-9071-4bac-bc39-ca2a93b717a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceStateChangedEventArgs;{0a30af82-9071-4bac-bc39-ca2a93b717a9})"); } impl ::core::clone::Clone for MediaSourceStateChangedEventArgs { fn clone(&self) -> Self { @@ -6162,7 +6162,7 @@ unsafe impl ::windows::core::Interface for MediaSourceStateChangedEventArgs { impl ::windows::core::RuntimeName for MediaSourceStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaSourceStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(MediaSourceStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaSourceStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaSourceStateChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaSourceStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -6317,12 +6317,12 @@ impl MediaStreamSample { } #[doc(hidden)] pub fn IMediaStreamSampleStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaStreamSampleStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6338,7 +6338,7 @@ impl ::core::fmt::Debug for MediaStreamSample { } } impl ::windows::core::RuntimeType for MediaStreamSample { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSample;{5c8db627-4b80-4361-9837-6cb7481ad9d6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSample;{5c8db627-4b80-4361-9837-6cb7481ad9d6})"); } impl ::core::clone::Clone for MediaStreamSample { fn clone(&self) -> Self { @@ -6354,7 +6354,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSample { impl ::windows::core::RuntimeName for MediaStreamSample { const NAME: &'static str = "Windows.Media.Core.MediaStreamSample"; } -::windows::core::interface_hierarchy!(MediaStreamSample, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSample, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSample {} unsafe impl ::core::marker::Sync for MediaStreamSample {} #[doc = "*Required features: `\"Media_Core\"`, `\"Foundation_Collections\"`*"] @@ -6449,7 +6449,7 @@ impl ::core::fmt::Debug for MediaStreamSamplePropertySet { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for MediaStreamSamplePropertySet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSamplePropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};g16;cinterface(IInspectable)))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSamplePropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};g16;cinterface(IInspectable)))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for MediaStreamSamplePropertySet { @@ -6486,7 +6486,7 @@ impl ::core::iter::IntoIterator for &MediaStreamSamplePropertySet { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(MediaStreamSamplePropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSamplePropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -6576,7 +6576,7 @@ impl ::core::fmt::Debug for MediaStreamSampleProtectionProperties { } } impl ::windows::core::RuntimeType for MediaStreamSampleProtectionProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSampleProtectionProperties;{4eb88292-ecdf-493e-841d-dd4add7caca2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSampleProtectionProperties;{4eb88292-ecdf-493e-841d-dd4add7caca2})"); } impl ::core::clone::Clone for MediaStreamSampleProtectionProperties { fn clone(&self) -> Self { @@ -6592,7 +6592,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSampleProtectionProperties impl ::windows::core::RuntimeName for MediaStreamSampleProtectionProperties { const NAME: &'static str = "Windows.Media.Core.MediaStreamSampleProtectionProperties"; } -::windows::core::interface_hierarchy!(MediaStreamSampleProtectionProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSampleProtectionProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSampleProtectionProperties {} unsafe impl ::core::marker::Sync for MediaStreamSampleProtectionProperties {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -6862,7 +6862,7 @@ impl MediaStreamSource { } #[doc(hidden)] pub fn IMediaStreamSourceFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6878,7 +6878,7 @@ impl ::core::fmt::Debug for MediaStreamSource { } } impl ::windows::core::RuntimeType for MediaStreamSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSource;{3712d543-45eb-4138-aa62-c01e26f3843f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSource;{3712d543-45eb-4138-aa62-c01e26f3843f})"); } impl ::core::clone::Clone for MediaStreamSource { fn clone(&self) -> Self { @@ -6894,7 +6894,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSource { impl ::windows::core::RuntimeName for MediaStreamSource { const NAME: &'static str = "Windows.Media.Core.MediaStreamSource"; } -::windows::core::interface_hierarchy!(MediaStreamSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaSource { type Error = ::windows::core::Error; fn try_from(value: MediaStreamSource) -> ::windows::core::Result { @@ -6940,7 +6940,7 @@ impl ::core::fmt::Debug for MediaStreamSourceClosedEventArgs { } } impl ::windows::core::RuntimeType for MediaStreamSourceClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceClosedEventArgs;{cd8c7eb2-4816-4e24-88f0-491ef7386406})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceClosedEventArgs;{cd8c7eb2-4816-4e24-88f0-491ef7386406})"); } impl ::core::clone::Clone for MediaStreamSourceClosedEventArgs { fn clone(&self) -> Self { @@ -6956,7 +6956,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceClosedEventArgs { impl ::windows::core::RuntimeName for MediaStreamSourceClosedEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceClosedEventArgs"; } -::windows::core::interface_hierarchy!(MediaStreamSourceClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceClosedEventArgs {} unsafe impl ::core::marker::Sync for MediaStreamSourceClosedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -6983,7 +6983,7 @@ impl ::core::fmt::Debug for MediaStreamSourceClosedRequest { } } impl ::windows::core::RuntimeType for MediaStreamSourceClosedRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceClosedRequest;{907c00e9-18a3-4951-887a-2c1eebd5c69e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceClosedRequest;{907c00e9-18a3-4951-887a-2c1eebd5c69e})"); } impl ::core::clone::Clone for MediaStreamSourceClosedRequest { fn clone(&self) -> Self { @@ -6999,7 +6999,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceClosedRequest { impl ::windows::core::RuntimeName for MediaStreamSourceClosedRequest { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceClosedRequest"; } -::windows::core::interface_hierarchy!(MediaStreamSourceClosedRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceClosedRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceClosedRequest {} unsafe impl ::core::marker::Sync for MediaStreamSourceClosedRequest {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7028,7 +7028,7 @@ impl ::core::fmt::Debug for MediaStreamSourceSampleRenderedEventArgs { } } impl ::windows::core::RuntimeType for MediaStreamSourceSampleRenderedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRenderedEventArgs;{9d697b05-d4f2-4c7a-9dfe-8d6cd0b3ee84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRenderedEventArgs;{9d697b05-d4f2-4c7a-9dfe-8d6cd0b3ee84})"); } impl ::core::clone::Clone for MediaStreamSourceSampleRenderedEventArgs { fn clone(&self) -> Self { @@ -7044,7 +7044,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceSampleRenderedEventA impl ::windows::core::RuntimeName for MediaStreamSourceSampleRenderedEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceSampleRenderedEventArgs"; } -::windows::core::interface_hierarchy!(MediaStreamSourceSampleRenderedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceSampleRenderedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceSampleRenderedEventArgs {} unsafe impl ::core::marker::Sync for MediaStreamSourceSampleRenderedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7093,7 +7093,7 @@ impl ::core::fmt::Debug for MediaStreamSourceSampleRequest { } } impl ::windows::core::RuntimeType for MediaStreamSourceSampleRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequest;{4db341a9-3501-4d9b-83f9-8f235c822532})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequest;{4db341a9-3501-4d9b-83f9-8f235c822532})"); } impl ::core::clone::Clone for MediaStreamSourceSampleRequest { fn clone(&self) -> Self { @@ -7109,7 +7109,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceSampleRequest { impl ::windows::core::RuntimeName for MediaStreamSourceSampleRequest { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceSampleRequest"; } -::windows::core::interface_hierarchy!(MediaStreamSourceSampleRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceSampleRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceSampleRequest {} unsafe impl ::core::marker::Sync for MediaStreamSourceSampleRequest {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7133,7 +7133,7 @@ impl ::core::fmt::Debug for MediaStreamSourceSampleRequestDeferral { } } impl ::windows::core::RuntimeType for MediaStreamSourceSampleRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequestDeferral;{7895cc02-f982-43c8-9d16-c62d999319be})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequestDeferral;{7895cc02-f982-43c8-9d16-c62d999319be})"); } impl ::core::clone::Clone for MediaStreamSourceSampleRequestDeferral { fn clone(&self) -> Self { @@ -7149,7 +7149,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceSampleRequestDeferra impl ::windows::core::RuntimeName for MediaStreamSourceSampleRequestDeferral { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceSampleRequestDeferral"; } -::windows::core::interface_hierarchy!(MediaStreamSourceSampleRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceSampleRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceSampleRequestDeferral {} unsafe impl ::core::marker::Sync for MediaStreamSourceSampleRequestDeferral {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7176,7 +7176,7 @@ impl ::core::fmt::Debug for MediaStreamSourceSampleRequestedEventArgs { } } impl ::windows::core::RuntimeType for MediaStreamSourceSampleRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequestedEventArgs;{10f9bb9e-71c5-492f-847f-0da1f35e81f8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequestedEventArgs;{10f9bb9e-71c5-492f-847f-0da1f35e81f8})"); } impl ::core::clone::Clone for MediaStreamSourceSampleRequestedEventArgs { fn clone(&self) -> Self { @@ -7192,7 +7192,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceSampleRequestedEvent impl ::windows::core::RuntimeName for MediaStreamSourceSampleRequestedEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceSampleRequestedEventArgs"; } -::windows::core::interface_hierarchy!(MediaStreamSourceSampleRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceSampleRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceSampleRequestedEventArgs {} unsafe impl ::core::marker::Sync for MediaStreamSourceSampleRequestedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7219,7 +7219,7 @@ impl ::core::fmt::Debug for MediaStreamSourceStartingEventArgs { } } impl ::windows::core::RuntimeType for MediaStreamSourceStartingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingEventArgs;{f41468f2-c274-4940-a5bb-28a572452fa7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingEventArgs;{f41468f2-c274-4940-a5bb-28a572452fa7})"); } impl ::core::clone::Clone for MediaStreamSourceStartingEventArgs { fn clone(&self) -> Self { @@ -7235,7 +7235,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceStartingEventArgs { impl ::windows::core::RuntimeName for MediaStreamSourceStartingEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceStartingEventArgs"; } -::windows::core::interface_hierarchy!(MediaStreamSourceStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceStartingEventArgs {} unsafe impl ::core::marker::Sync for MediaStreamSourceStartingEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7277,7 +7277,7 @@ impl ::core::fmt::Debug for MediaStreamSourceStartingRequest { } } impl ::windows::core::RuntimeType for MediaStreamSourceStartingRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingRequest;{2a9093e4-35c4-4b1b-a791-0d99db56dd1d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingRequest;{2a9093e4-35c4-4b1b-a791-0d99db56dd1d})"); } impl ::core::clone::Clone for MediaStreamSourceStartingRequest { fn clone(&self) -> Self { @@ -7293,7 +7293,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceStartingRequest { impl ::windows::core::RuntimeName for MediaStreamSourceStartingRequest { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceStartingRequest"; } -::windows::core::interface_hierarchy!(MediaStreamSourceStartingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceStartingRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceStartingRequest {} unsafe impl ::core::marker::Sync for MediaStreamSourceStartingRequest {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7317,7 +7317,7 @@ impl ::core::fmt::Debug for MediaStreamSourceStartingRequestDeferral { } } impl ::windows::core::RuntimeType for MediaStreamSourceStartingRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingRequestDeferral;{3f1356a5-6340-4dc4-9910-068ed9f598f8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingRequestDeferral;{3f1356a5-6340-4dc4-9910-068ed9f598f8})"); } impl ::core::clone::Clone for MediaStreamSourceStartingRequestDeferral { fn clone(&self) -> Self { @@ -7333,7 +7333,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceStartingRequestDefer impl ::windows::core::RuntimeName for MediaStreamSourceStartingRequestDeferral { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceStartingRequestDeferral"; } -::windows::core::interface_hierarchy!(MediaStreamSourceStartingRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceStartingRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceStartingRequestDeferral {} unsafe impl ::core::marker::Sync for MediaStreamSourceStartingRequestDeferral {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7374,7 +7374,7 @@ impl ::core::fmt::Debug for MediaStreamSourceSwitchStreamsRequest { } } impl ::windows::core::RuntimeType for MediaStreamSourceSwitchStreamsRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequest;{41b8808e-38a9-4ec3-9ba0-b69b85501e90})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequest;{41b8808e-38a9-4ec3-9ba0-b69b85501e90})"); } impl ::core::clone::Clone for MediaStreamSourceSwitchStreamsRequest { fn clone(&self) -> Self { @@ -7390,7 +7390,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceSwitchStreamsRequest impl ::windows::core::RuntimeName for MediaStreamSourceSwitchStreamsRequest { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceSwitchStreamsRequest"; } -::windows::core::interface_hierarchy!(MediaStreamSourceSwitchStreamsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceSwitchStreamsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceSwitchStreamsRequest {} unsafe impl ::core::marker::Sync for MediaStreamSourceSwitchStreamsRequest {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7414,7 +7414,7 @@ impl ::core::fmt::Debug for MediaStreamSourceSwitchStreamsRequestDeferral { } } impl ::windows::core::RuntimeType for MediaStreamSourceSwitchStreamsRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestDeferral;{bee3d835-a505-4f9a-b943-2b8cb1b4bbd9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestDeferral;{bee3d835-a505-4f9a-b943-2b8cb1b4bbd9})"); } impl ::core::clone::Clone for MediaStreamSourceSwitchStreamsRequestDeferral { fn clone(&self) -> Self { @@ -7430,7 +7430,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceSwitchStreamsRequest impl ::windows::core::RuntimeName for MediaStreamSourceSwitchStreamsRequestDeferral { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestDeferral"; } -::windows::core::interface_hierarchy!(MediaStreamSourceSwitchStreamsRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceSwitchStreamsRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceSwitchStreamsRequestDeferral {} unsafe impl ::core::marker::Sync for MediaStreamSourceSwitchStreamsRequestDeferral {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7457,7 +7457,7 @@ impl ::core::fmt::Debug for MediaStreamSourceSwitchStreamsRequestedEventArgs { } } impl ::windows::core::RuntimeType for MediaStreamSourceSwitchStreamsRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestedEventArgs;{42202b72-6ea1-4677-981e-350a0da412aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestedEventArgs;{42202b72-6ea1-4677-981e-350a0da412aa})"); } impl ::core::clone::Clone for MediaStreamSourceSwitchStreamsRequestedEventArgs { fn clone(&self) -> Self { @@ -7473,7 +7473,7 @@ unsafe impl ::windows::core::Interface for MediaStreamSourceSwitchStreamsRequest impl ::windows::core::RuntimeName for MediaStreamSourceSwitchStreamsRequestedEventArgs { const NAME: &'static str = "Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestedEventArgs"; } -::windows::core::interface_hierarchy!(MediaStreamSourceSwitchStreamsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaStreamSourceSwitchStreamsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaStreamSourceSwitchStreamsRequestedEventArgs {} unsafe impl ::core::marker::Sync for MediaStreamSourceSwitchStreamsRequestedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7688,7 +7688,7 @@ impl ::core::fmt::Debug for MseSourceBuffer { } } impl ::windows::core::RuntimeType for MseSourceBuffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseSourceBuffer;{0c1aa3e3-df8d-4079-a3fe-6849184b4e2f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseSourceBuffer;{0c1aa3e3-df8d-4079-a3fe-6849184b4e2f})"); } impl ::core::clone::Clone for MseSourceBuffer { fn clone(&self) -> Self { @@ -7704,7 +7704,7 @@ unsafe impl ::windows::core::Interface for MseSourceBuffer { impl ::windows::core::RuntimeName for MseSourceBuffer { const NAME: &'static str = "Windows.Media.Core.MseSourceBuffer"; } -::windows::core::interface_hierarchy!(MseSourceBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MseSourceBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MseSourceBuffer {} unsafe impl ::core::marker::Sync for MseSourceBuffer {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7763,7 +7763,7 @@ impl ::core::fmt::Debug for MseSourceBufferList { } } impl ::windows::core::RuntimeType for MseSourceBufferList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseSourceBufferList;{95fae8e7-a8e7-4ebf-8927-145e940ba511})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseSourceBufferList;{95fae8e7-a8e7-4ebf-8927-145e940ba511})"); } impl ::core::clone::Clone for MseSourceBufferList { fn clone(&self) -> Self { @@ -7779,7 +7779,7 @@ unsafe impl ::windows::core::Interface for MseSourceBufferList { impl ::windows::core::RuntimeName for MseSourceBufferList { const NAME: &'static str = "Windows.Media.Core.MseSourceBufferList"; } -::windows::core::interface_hierarchy!(MseSourceBufferList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MseSourceBufferList, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MseSourceBufferList {} unsafe impl ::core::marker::Sync for MseSourceBufferList {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7789,8 +7789,8 @@ impl MseStreamSource { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -7920,7 +7920,7 @@ impl MseStreamSource { } #[doc(hidden)] pub fn IMseStreamSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7936,7 +7936,7 @@ impl ::core::fmt::Debug for MseStreamSource { } } impl ::windows::core::RuntimeType for MseStreamSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseStreamSource;{b0b4198d-02f4-4923-88dd-81bc3f360ffa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseStreamSource;{b0b4198d-02f4-4923-88dd-81bc3f360ffa})"); } impl ::core::clone::Clone for MseStreamSource { fn clone(&self) -> Self { @@ -7952,7 +7952,7 @@ unsafe impl ::windows::core::Interface for MseStreamSource { impl ::windows::core::RuntimeName for MseStreamSource { const NAME: &'static str = "Windows.Media.Core.MseStreamSource"; } -::windows::core::interface_hierarchy!(MseStreamSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MseStreamSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaSource { type Error = ::windows::core::Error; fn try_from(value: MseStreamSource) -> ::windows::core::Result { @@ -8038,7 +8038,7 @@ impl ::core::fmt::Debug for SceneAnalysisEffect { } } impl ::windows::core::RuntimeType for SceneAnalysisEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffect;{c04ba319-ca41-4813-bffd-7b08b0ed2557})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffect;{c04ba319-ca41-4813-bffd-7b08b0ed2557})"); } impl ::core::clone::Clone for SceneAnalysisEffect { fn clone(&self) -> Self { @@ -8054,7 +8054,7 @@ unsafe impl ::windows::core::Interface for SceneAnalysisEffect { impl ::windows::core::RuntimeName for SceneAnalysisEffect { const NAME: &'static str = "Windows.Media.Core.SceneAnalysisEffect"; } -::windows::core::interface_hierarchy!(SceneAnalysisEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneAnalysisEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaExtension { type Error = ::windows::core::Error; fn try_from(value: SceneAnalysisEffect) -> ::windows::core::Result { @@ -8085,8 +8085,8 @@ impl SceneAnalysisEffectDefinition { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -8124,7 +8124,7 @@ impl ::core::fmt::Debug for SceneAnalysisEffectDefinition { } #[cfg(feature = "Media_Effects")] impl ::windows::core::RuntimeType for SceneAnalysisEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } #[cfg(feature = "Media_Effects")] impl ::core::clone::Clone for SceneAnalysisEffectDefinition { @@ -8145,7 +8145,7 @@ impl ::windows::core::RuntimeName for SceneAnalysisEffectDefinition { const NAME: &'static str = "Windows.Media.Core.SceneAnalysisEffectDefinition"; } #[cfg(feature = "Media_Effects")] -::windows::core::interface_hierarchy!(SceneAnalysisEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneAnalysisEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Media_Effects")] impl ::core::convert::TryFrom for super::Effects::IVideoEffectDefinition { type Error = ::windows::core::Error; @@ -8309,7 +8309,7 @@ impl ::core::fmt::Debug for SceneAnalysisEffectFrame { } } impl ::windows::core::RuntimeType for SceneAnalysisEffectFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffectFrame;{d8b10e4c-7fd9-42e1-85eb-6572c297c987})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffectFrame;{d8b10e4c-7fd9-42e1-85eb-6572c297c987})"); } impl ::core::clone::Clone for SceneAnalysisEffectFrame { fn clone(&self) -> Self { @@ -8325,7 +8325,7 @@ unsafe impl ::windows::core::Interface for SceneAnalysisEffectFrame { impl ::windows::core::RuntimeName for SceneAnalysisEffectFrame { const NAME: &'static str = "Windows.Media.Core.SceneAnalysisEffectFrame"; } -::windows::core::interface_hierarchy!(SceneAnalysisEffectFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneAnalysisEffectFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -8393,7 +8393,7 @@ impl ::core::fmt::Debug for SceneAnalyzedEventArgs { } } impl ::windows::core::RuntimeType for SceneAnalyzedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalyzedEventArgs;{146b9588-2851-45e4-ad55-44cf8df8db4d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalyzedEventArgs;{146b9588-2851-45e4-ad55-44cf8df8db4d})"); } impl ::core::clone::Clone for SceneAnalyzedEventArgs { fn clone(&self) -> Self { @@ -8409,7 +8409,7 @@ unsafe impl ::windows::core::Interface for SceneAnalyzedEventArgs { impl ::windows::core::RuntimeName for SceneAnalyzedEventArgs { const NAME: &'static str = "Windows.Media.Core.SceneAnalyzedEventArgs"; } -::windows::core::interface_hierarchy!(SceneAnalyzedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneAnalyzedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SceneAnalyzedEventArgs {} unsafe impl ::core::marker::Sync for SceneAnalyzedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -8419,8 +8419,8 @@ impl SpeechCue { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -8526,7 +8526,7 @@ impl ::core::fmt::Debug for SpeechCue { } } impl ::windows::core::RuntimeType for SpeechCue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SpeechCue;{aee254dc-1725-4bad-8043-a98499b017a2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SpeechCue;{aee254dc-1725-4bad-8043-a98499b017a2})"); } impl ::core::clone::Clone for SpeechCue { fn clone(&self) -> Self { @@ -8542,7 +8542,7 @@ unsafe impl ::windows::core::Interface for SpeechCue { impl ::windows::core::RuntimeName for SpeechCue { const NAME: &'static str = "Windows.Media.Core.SpeechCue"; } -::windows::core::interface_hierarchy!(SpeechCue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechCue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaCue { type Error = ::windows::core::Error; fn try_from(value: SpeechCue) -> ::windows::core::Result { @@ -8634,7 +8634,7 @@ impl TimedMetadataStreamDescriptor { } #[doc(hidden)] pub fn ITimedMetadataStreamDescriptorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -8650,7 +8650,7 @@ impl ::core::fmt::Debug for TimedMetadataStreamDescriptor { } } impl ::windows::core::RuntimeType for TimedMetadataStreamDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataStreamDescriptor;{80f16e6e-92f7-451e-97d2-afd80742da70})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataStreamDescriptor;{80f16e6e-92f7-451e-97d2-afd80742da70})"); } impl ::core::clone::Clone for TimedMetadataStreamDescriptor { fn clone(&self) -> Self { @@ -8666,7 +8666,7 @@ unsafe impl ::windows::core::Interface for TimedMetadataStreamDescriptor { impl ::windows::core::RuntimeName for TimedMetadataStreamDescriptor { const NAME: &'static str = "Windows.Media.Core.TimedMetadataStreamDescriptor"; } -::windows::core::interface_hierarchy!(TimedMetadataStreamDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedMetadataStreamDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaStreamDescriptor { type Error = ::windows::core::Error; fn try_from(value: TimedMetadataStreamDescriptor) -> ::windows::core::Result { @@ -8860,7 +8860,7 @@ impl TimedMetadataTrack { } #[doc(hidden)] pub fn ITimedMetadataTrackFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -8876,7 +8876,7 @@ impl ::core::fmt::Debug for TimedMetadataTrack { } } impl ::windows::core::RuntimeType for TimedMetadataTrack { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrack;{9e6aed9e-f67a-49a9-b330-cf03b0e9cf07})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrack;{9e6aed9e-f67a-49a9-b330-cf03b0e9cf07})"); } impl ::core::clone::Clone for TimedMetadataTrack { fn clone(&self) -> Self { @@ -8892,7 +8892,7 @@ unsafe impl ::windows::core::Interface for TimedMetadataTrack { impl ::windows::core::RuntimeName for TimedMetadataTrack { const NAME: &'static str = "Windows.Media.Core.TimedMetadataTrack"; } -::windows::core::interface_hierarchy!(TimedMetadataTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedMetadataTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaTrack { type Error = ::windows::core::Error; fn try_from(value: TimedMetadataTrack) -> ::windows::core::Result { @@ -8945,7 +8945,7 @@ impl ::core::fmt::Debug for TimedMetadataTrackError { } } impl ::windows::core::RuntimeType for TimedMetadataTrackError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrackError;{b3767915-4114-4819-b9d9-dd76089e72f8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrackError;{b3767915-4114-4819-b9d9-dd76089e72f8})"); } impl ::core::clone::Clone for TimedMetadataTrackError { fn clone(&self) -> Self { @@ -8961,7 +8961,7 @@ unsafe impl ::windows::core::Interface for TimedMetadataTrackError { impl ::windows::core::RuntimeName for TimedMetadataTrackError { const NAME: &'static str = "Windows.Media.Core.TimedMetadataTrackError"; } -::windows::core::interface_hierarchy!(TimedMetadataTrackError, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedMetadataTrackError, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedMetadataTrackError {} unsafe impl ::core::marker::Sync for TimedMetadataTrackError {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -8988,7 +8988,7 @@ impl ::core::fmt::Debug for TimedMetadataTrackFailedEventArgs { } } impl ::windows::core::RuntimeType for TimedMetadataTrackFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrackFailedEventArgs;{a57fc9d1-6789-4d4d-b07f-84b4f31acb70})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrackFailedEventArgs;{a57fc9d1-6789-4d4d-b07f-84b4f31acb70})"); } impl ::core::clone::Clone for TimedMetadataTrackFailedEventArgs { fn clone(&self) -> Self { @@ -9004,7 +9004,7 @@ unsafe impl ::windows::core::Interface for TimedMetadataTrackFailedEventArgs { impl ::windows::core::RuntimeName for TimedMetadataTrackFailedEventArgs { const NAME: &'static str = "Windows.Media.Core.TimedMetadataTrackFailedEventArgs"; } -::windows::core::interface_hierarchy!(TimedMetadataTrackFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedMetadataTrackFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedMetadataTrackFailedEventArgs {} unsafe impl ::core::marker::Sync for TimedMetadataTrackFailedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -9061,7 +9061,7 @@ impl ::core::fmt::Debug for TimedTextBouten { } } impl ::windows::core::RuntimeType for TimedTextBouten { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextBouten;{d9062783-5597-5092-820c-8f738e0f774a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextBouten;{d9062783-5597-5092-820c-8f738e0f774a})"); } impl ::core::clone::Clone for TimedTextBouten { fn clone(&self) -> Self { @@ -9077,7 +9077,7 @@ unsafe impl ::windows::core::Interface for TimedTextBouten { impl ::windows::core::RuntimeName for TimedTextBouten { const NAME: &'static str = "Windows.Media.Core.TimedTextBouten"; } -::windows::core::interface_hierarchy!(TimedTextBouten, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextBouten, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedTextBouten {} unsafe impl ::core::marker::Sync for TimedTextBouten {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -9087,8 +9087,8 @@ impl TimedTextCue { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -9176,7 +9176,7 @@ impl ::core::fmt::Debug for TimedTextCue { } } impl ::windows::core::RuntimeType for TimedTextCue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextCue;{51c79e51-3b86-494d-b359-bb2ea7aca9a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextCue;{51c79e51-3b86-494d-b359-bb2ea7aca9a9})"); } impl ::core::clone::Clone for TimedTextCue { fn clone(&self) -> Self { @@ -9192,7 +9192,7 @@ unsafe impl ::windows::core::Interface for TimedTextCue { impl ::windows::core::RuntimeName for TimedTextCue { const NAME: &'static str = "Windows.Media.Core.TimedTextCue"; } -::windows::core::interface_hierarchy!(TimedTextCue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextCue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaCue { type Error = ::windows::core::Error; fn try_from(value: TimedTextCue) -> ::windows::core::Result { @@ -9221,8 +9221,8 @@ impl TimedTextLine { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -9258,7 +9258,7 @@ impl ::core::fmt::Debug for TimedTextLine { } } impl ::windows::core::RuntimeType for TimedTextLine { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextLine;{978d7ce2-7308-4c66-be50-65777289f5df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextLine;{978d7ce2-7308-4c66-be50-65777289f5df})"); } impl ::core::clone::Clone for TimedTextLine { fn clone(&self) -> Self { @@ -9274,7 +9274,7 @@ unsafe impl ::windows::core::Interface for TimedTextLine { impl ::windows::core::RuntimeName for TimedTextLine { const NAME: &'static str = "Windows.Media.Core.TimedTextLine"; } -::windows::core::interface_hierarchy!(TimedTextLine, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextLine, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedTextLine {} unsafe impl ::core::marker::Sync for TimedTextLine {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -9284,8 +9284,8 @@ impl TimedTextRegion { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -9437,7 +9437,7 @@ impl ::core::fmt::Debug for TimedTextRegion { } } impl ::windows::core::RuntimeType for TimedTextRegion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextRegion;{1ed0881f-8a06-4222-9f59-b21bf40124b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextRegion;{1ed0881f-8a06-4222-9f59-b21bf40124b4})"); } impl ::core::clone::Clone for TimedTextRegion { fn clone(&self) -> Self { @@ -9453,7 +9453,7 @@ unsafe impl ::windows::core::Interface for TimedTextRegion { impl ::windows::core::RuntimeName for TimedTextRegion { const NAME: &'static str = "Windows.Media.Core.TimedTextRegion"; } -::windows::core::interface_hierarchy!(TimedTextRegion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextRegion, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedTextRegion {} unsafe impl ::core::marker::Sync for TimedTextRegion {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -9517,7 +9517,7 @@ impl ::core::fmt::Debug for TimedTextRuby { } } impl ::windows::core::RuntimeType for TimedTextRuby { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextRuby;{10335c29-5b3c-5693-9959-d05a0bd24628})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextRuby;{10335c29-5b3c-5693-9959-d05a0bd24628})"); } impl ::core::clone::Clone for TimedTextRuby { fn clone(&self) -> Self { @@ -9533,7 +9533,7 @@ unsafe impl ::windows::core::Interface for TimedTextRuby { impl ::windows::core::RuntimeName for TimedTextRuby { const NAME: &'static str = "Windows.Media.Core.TimedTextRuby"; } -::windows::core::interface_hierarchy!(TimedTextRuby, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextRuby, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedTextRuby {} unsafe impl ::core::marker::Sync for TimedTextRuby {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -9641,12 +9641,12 @@ impl TimedTextSource { } #[doc(hidden)] pub fn ITimedTextSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITimedTextSourceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -9662,7 +9662,7 @@ impl ::core::fmt::Debug for TimedTextSource { } } impl ::windows::core::RuntimeType for TimedTextSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSource;{c4ed9ba6-101f-404d-a949-82f33fcd93b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSource;{c4ed9ba6-101f-404d-a949-82f33fcd93b7})"); } impl ::core::clone::Clone for TimedTextSource { fn clone(&self) -> Self { @@ -9678,7 +9678,7 @@ unsafe impl ::windows::core::Interface for TimedTextSource { impl ::windows::core::RuntimeName for TimedTextSource { const NAME: &'static str = "Windows.Media.Core.TimedTextSource"; } -::windows::core::interface_hierarchy!(TimedTextSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedTextSource {} unsafe impl ::core::marker::Sync for TimedTextSource {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -9714,7 +9714,7 @@ impl ::core::fmt::Debug for TimedTextSourceResolveResultEventArgs { } } impl ::windows::core::RuntimeType for TimedTextSourceResolveResultEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSourceResolveResultEventArgs;{48907c9c-dcd8-4c33-9ad3-6cdce7b1c566})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSourceResolveResultEventArgs;{48907c9c-dcd8-4c33-9ad3-6cdce7b1c566})"); } impl ::core::clone::Clone for TimedTextSourceResolveResultEventArgs { fn clone(&self) -> Self { @@ -9730,7 +9730,7 @@ unsafe impl ::windows::core::Interface for TimedTextSourceResolveResultEventArgs impl ::windows::core::RuntimeName for TimedTextSourceResolveResultEventArgs { const NAME: &'static str = "Windows.Media.Core.TimedTextSourceResolveResultEventArgs"; } -::windows::core::interface_hierarchy!(TimedTextSourceResolveResultEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextSourceResolveResultEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedTextSourceResolveResultEventArgs {} unsafe impl ::core::marker::Sync for TimedTextSourceResolveResultEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -9740,8 +9740,8 @@ impl TimedTextStyle { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -9981,7 +9981,7 @@ impl ::core::fmt::Debug for TimedTextStyle { } } impl ::windows::core::RuntimeType for TimedTextStyle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextStyle;{1bb2384d-a825-40c2-a7f5-281eaedf3b55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextStyle;{1bb2384d-a825-40c2-a7f5-281eaedf3b55})"); } impl ::core::clone::Clone for TimedTextStyle { fn clone(&self) -> Self { @@ -9997,7 +9997,7 @@ unsafe impl ::windows::core::Interface for TimedTextStyle { impl ::windows::core::RuntimeName for TimedTextStyle { const NAME: &'static str = "Windows.Media.Core.TimedTextStyle"; } -::windows::core::interface_hierarchy!(TimedTextStyle, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextStyle, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedTextStyle {} unsafe impl ::core::marker::Sync for TimedTextStyle {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -10007,8 +10007,8 @@ impl TimedTextSubformat { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn StartIndex(&self) -> ::windows::core::Result { @@ -10057,7 +10057,7 @@ impl ::core::fmt::Debug for TimedTextSubformat { } } impl ::windows::core::RuntimeType for TimedTextSubformat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSubformat;{d713502f-3261-4722-a0c2-b937b2390f14})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSubformat;{d713502f-3261-4722-a0c2-b937b2390f14})"); } impl ::core::clone::Clone for TimedTextSubformat { fn clone(&self) -> Self { @@ -10073,7 +10073,7 @@ unsafe impl ::windows::core::Interface for TimedTextSubformat { impl ::windows::core::RuntimeName for TimedTextSubformat { const NAME: &'static str = "Windows.Media.Core.TimedTextSubformat"; } -::windows::core::interface_hierarchy!(TimedTextSubformat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedTextSubformat, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedTextSubformat {} unsafe impl ::core::marker::Sync for TimedTextSubformat {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -10138,7 +10138,7 @@ impl ::core::fmt::Debug for VideoStabilizationEffect { } } impl ::windows::core::RuntimeType for VideoStabilizationEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffect;{0808a650-9698-4e57-877b-bd7cb2ee0f8a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffect;{0808a650-9698-4e57-877b-bd7cb2ee0f8a})"); } impl ::core::clone::Clone for VideoStabilizationEffect { fn clone(&self) -> Self { @@ -10154,7 +10154,7 @@ unsafe impl ::windows::core::Interface for VideoStabilizationEffect { impl ::windows::core::RuntimeName for VideoStabilizationEffect { const NAME: &'static str = "Windows.Media.Core.VideoStabilizationEffect"; } -::windows::core::interface_hierarchy!(VideoStabilizationEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoStabilizationEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaExtension { type Error = ::windows::core::Error; fn try_from(value: VideoStabilizationEffect) -> ::windows::core::Result { @@ -10185,8 +10185,8 @@ impl VideoStabilizationEffectDefinition { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -10224,7 +10224,7 @@ impl ::core::fmt::Debug for VideoStabilizationEffectDefinition { } #[cfg(feature = "Media_Effects")] impl ::windows::core::RuntimeType for VideoStabilizationEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } #[cfg(feature = "Media_Effects")] impl ::core::clone::Clone for VideoStabilizationEffectDefinition { @@ -10245,7 +10245,7 @@ impl ::windows::core::RuntimeName for VideoStabilizationEffectDefinition { const NAME: &'static str = "Windows.Media.Core.VideoStabilizationEffectDefinition"; } #[cfg(feature = "Media_Effects")] -::windows::core::interface_hierarchy!(VideoStabilizationEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoStabilizationEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Media_Effects")] impl ::core::convert::TryFrom for super::Effects::IVideoEffectDefinition { type Error = ::windows::core::Error; @@ -10296,7 +10296,7 @@ impl ::core::fmt::Debug for VideoStabilizationEffectEnabledChangedEventArgs { } } impl ::windows::core::RuntimeType for VideoStabilizationEffectEnabledChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffectEnabledChangedEventArgs;{187eff28-67bb-4713-b900-4168da164529})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffectEnabledChangedEventArgs;{187eff28-67bb-4713-b900-4168da164529})"); } impl ::core::clone::Clone for VideoStabilizationEffectEnabledChangedEventArgs { fn clone(&self) -> Self { @@ -10312,7 +10312,7 @@ unsafe impl ::windows::core::Interface for VideoStabilizationEffectEnabledChange impl ::windows::core::RuntimeName for VideoStabilizationEffectEnabledChangedEventArgs { const NAME: &'static str = "Windows.Media.Core.VideoStabilizationEffectEnabledChangedEventArgs"; } -::windows::core::interface_hierarchy!(VideoStabilizationEffectEnabledChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoStabilizationEffectEnabledChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoStabilizationEffectEnabledChangedEventArgs {} unsafe impl ::core::marker::Sync for VideoStabilizationEffectEnabledChangedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -10385,7 +10385,7 @@ impl VideoStreamDescriptor { } #[doc(hidden)] pub fn IVideoStreamDescriptorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -10401,7 +10401,7 @@ impl ::core::fmt::Debug for VideoStreamDescriptor { } } impl ::windows::core::RuntimeType for VideoStreamDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStreamDescriptor;{12ee0d55-9c2b-4440-8057-2c7a90f0cbec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStreamDescriptor;{12ee0d55-9c2b-4440-8057-2c7a90f0cbec})"); } impl ::core::clone::Clone for VideoStreamDescriptor { fn clone(&self) -> Self { @@ -10417,7 +10417,7 @@ unsafe impl ::windows::core::Interface for VideoStreamDescriptor { impl ::windows::core::RuntimeName for VideoStreamDescriptor { const NAME: &'static str = "Windows.Media.Core.VideoStreamDescriptor"; } -::windows::core::interface_hierarchy!(VideoStreamDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoStreamDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaStreamDescriptor { type Error = ::windows::core::Error; fn try_from(value: VideoStreamDescriptor) -> ::windows::core::Result { @@ -10554,7 +10554,7 @@ impl ::core::fmt::Debug for VideoTrack { } } impl ::windows::core::RuntimeType for VideoTrack { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})"); } impl ::core::clone::Clone for VideoTrack { fn clone(&self) -> Self { @@ -10570,7 +10570,7 @@ unsafe impl ::windows::core::Interface for VideoTrack { impl ::windows::core::RuntimeName for VideoTrack { const NAME: &'static str = "Windows.Media.Core.VideoTrack"; } -::windows::core::interface_hierarchy!(VideoTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaTrack { type Error = ::windows::core::Error; fn try_from(value: VideoTrack) -> ::windows::core::Result { @@ -10616,7 +10616,7 @@ impl ::core::fmt::Debug for VideoTrackOpenFailedEventArgs { } } impl ::windows::core::RuntimeType for VideoTrackOpenFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrackOpenFailedEventArgs;{7679e231-04f9-4c82-a4ee-8602c8bb4754})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrackOpenFailedEventArgs;{7679e231-04f9-4c82-a4ee-8602c8bb4754})"); } impl ::core::clone::Clone for VideoTrackOpenFailedEventArgs { fn clone(&self) -> Self { @@ -10632,7 +10632,7 @@ unsafe impl ::windows::core::Interface for VideoTrackOpenFailedEventArgs { impl ::windows::core::RuntimeName for VideoTrackOpenFailedEventArgs { const NAME: &'static str = "Windows.Media.Core.VideoTrackOpenFailedEventArgs"; } -::windows::core::interface_hierarchy!(VideoTrackOpenFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoTrackOpenFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoTrackOpenFailedEventArgs {} unsafe impl ::core::marker::Sync for VideoTrackOpenFailedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -10666,7 +10666,7 @@ impl ::core::fmt::Debug for VideoTrackSupportInfo { } } impl ::windows::core::RuntimeType for VideoTrackSupportInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrackSupportInfo;{4bb534a0-fc5f-450d-8ff0-778d590486de})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrackSupportInfo;{4bb534a0-fc5f-450d-8ff0-778d590486de})"); } impl ::core::clone::Clone for VideoTrackSupportInfo { fn clone(&self) -> Self { @@ -10682,7 +10682,7 @@ unsafe impl ::windows::core::Interface for VideoTrackSupportInfo { impl ::windows::core::RuntimeName for VideoTrackSupportInfo { const NAME: &'static str = "Windows.Media.Core.VideoTrackSupportInfo"; } -::windows::core::interface_hierarchy!(VideoTrackSupportInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoTrackSupportInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoTrackSupportInfo {} unsafe impl ::core::marker::Sync for VideoTrackSupportInfo {} #[doc = "*Required features: `\"Media_Core\"`*"] @@ -10715,7 +10715,7 @@ impl ::core::fmt::Debug for AudioDecoderDegradation { } } impl ::windows::core::RuntimeType for AudioDecoderDegradation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.AudioDecoderDegradation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.AudioDecoderDegradation;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -10746,7 +10746,7 @@ impl ::core::fmt::Debug for AudioDecoderDegradationReason { } } impl ::windows::core::RuntimeType for AudioDecoderDegradationReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.AudioDecoderDegradationReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.AudioDecoderDegradationReason;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -10776,7 +10776,7 @@ impl ::core::fmt::Debug for CodecCategory { } } impl ::windows::core::RuntimeType for CodecCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.CodecCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.CodecCategory;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -10806,7 +10806,7 @@ impl ::core::fmt::Debug for CodecKind { } } impl ::windows::core::RuntimeType for CodecKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.CodecKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.CodecKind;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -10837,7 +10837,7 @@ impl ::core::fmt::Debug for FaceDetectionMode { } } impl ::windows::core::RuntimeType for FaceDetectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.FaceDetectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.FaceDetectionMode;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -10869,7 +10869,7 @@ impl ::core::fmt::Debug for MediaDecoderStatus { } } impl ::windows::core::RuntimeType for MediaDecoderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaDecoderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaDecoderStatus;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -10902,7 +10902,7 @@ impl ::core::fmt::Debug for MediaSourceState { } } impl ::windows::core::RuntimeType for MediaSourceState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaSourceState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaSourceState;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -10932,7 +10932,7 @@ impl ::core::fmt::Debug for MediaSourceStatus { } } impl ::windows::core::RuntimeType for MediaSourceStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaSourceStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaSourceStatus;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -10967,7 +10967,7 @@ impl ::core::fmt::Debug for MediaStreamSourceClosedReason { } } impl ::windows::core::RuntimeType for MediaStreamSourceClosedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaStreamSourceClosedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaStreamSourceClosedReason;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11003,7 +11003,7 @@ impl ::core::fmt::Debug for MediaStreamSourceErrorStatus { } } impl ::windows::core::RuntimeType for MediaStreamSourceErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaStreamSourceErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaStreamSourceErrorStatus;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11034,7 +11034,7 @@ impl ::core::fmt::Debug for MediaTrackKind { } } impl ::windows::core::RuntimeType for MediaTrackKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaTrackKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MediaTrackKind;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11064,7 +11064,7 @@ impl ::core::fmt::Debug for MseAppendMode { } } impl ::windows::core::RuntimeType for MseAppendMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MseAppendMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MseAppendMode;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11096,7 +11096,7 @@ impl ::core::fmt::Debug for MseEndOfStreamStatus { } } impl ::windows::core::RuntimeType for MseEndOfStreamStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MseEndOfStreamStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MseEndOfStreamStatus;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11127,7 +11127,7 @@ impl ::core::fmt::Debug for MseReadyState { } } impl ::windows::core::RuntimeType for MseReadyState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MseReadyState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.MseReadyState;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11158,7 +11158,7 @@ impl ::core::fmt::Debug for SceneAnalysisRecommendation { } } impl ::windows::core::RuntimeType for SceneAnalysisRecommendation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.SceneAnalysisRecommendation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.SceneAnalysisRecommendation;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11194,7 +11194,7 @@ impl ::core::fmt::Debug for TimedMetadataKind { } } impl ::windows::core::RuntimeType for TimedMetadataKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedMetadataKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedMetadataKind;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11226,7 +11226,7 @@ impl ::core::fmt::Debug for TimedMetadataTrackErrorCode { } } impl ::windows::core::RuntimeType for TimedMetadataTrackErrorCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedMetadataTrackErrorCode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedMetadataTrackErrorCode;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11257,7 +11257,7 @@ impl ::core::fmt::Debug for TimedTextBoutenPosition { } } impl ::windows::core::RuntimeType for TimedTextBoutenPosition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextBoutenPosition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextBoutenPosition;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11293,7 +11293,7 @@ impl ::core::fmt::Debug for TimedTextBoutenType { } } impl ::windows::core::RuntimeType for TimedTextBoutenType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextBoutenType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextBoutenType;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11324,7 +11324,7 @@ impl ::core::fmt::Debug for TimedTextDisplayAlignment { } } impl ::windows::core::RuntimeType for TimedTextDisplayAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextDisplayAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextDisplayAlignment;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11354,7 +11354,7 @@ impl ::core::fmt::Debug for TimedTextFlowDirection { } } impl ::windows::core::RuntimeType for TimedTextFlowDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextFlowDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextFlowDirection;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11385,7 +11385,7 @@ impl ::core::fmt::Debug for TimedTextFontStyle { } } impl ::windows::core::RuntimeType for TimedTextFontStyle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextFontStyle;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextFontStyle;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11416,7 +11416,7 @@ impl ::core::fmt::Debug for TimedTextLineAlignment { } } impl ::windows::core::RuntimeType for TimedTextLineAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextLineAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextLineAlignment;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11450,7 +11450,7 @@ impl ::core::fmt::Debug for TimedTextRubyAlign { } } impl ::windows::core::RuntimeType for TimedTextRubyAlign { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextRubyAlign;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextRubyAlign;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11481,7 +11481,7 @@ impl ::core::fmt::Debug for TimedTextRubyPosition { } } impl ::windows::core::RuntimeType for TimedTextRubyPosition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextRubyPosition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextRubyPosition;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11514,7 +11514,7 @@ impl ::core::fmt::Debug for TimedTextRubyReserve { } } impl ::windows::core::RuntimeType for TimedTextRubyReserve { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextRubyReserve;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextRubyReserve;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11544,7 +11544,7 @@ impl ::core::fmt::Debug for TimedTextScrollMode { } } impl ::windows::core::RuntimeType for TimedTextScrollMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextScrollMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextScrollMode;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11574,7 +11574,7 @@ impl ::core::fmt::Debug for TimedTextUnit { } } impl ::windows::core::RuntimeType for TimedTextUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextUnit;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11604,7 +11604,7 @@ impl ::core::fmt::Debug for TimedTextWeight { } } impl ::windows::core::RuntimeType for TimedTextWeight { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextWeight;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextWeight;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11634,7 +11634,7 @@ impl ::core::fmt::Debug for TimedTextWrapping { } } impl ::windows::core::RuntimeType for TimedTextWrapping { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextWrapping;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextWrapping;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11669,7 +11669,7 @@ impl ::core::fmt::Debug for TimedTextWritingMode { } } impl ::windows::core::RuntimeType for TimedTextWritingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextWritingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.TimedTextWritingMode;i4)"); } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] @@ -11700,7 +11700,7 @@ impl ::core::fmt::Debug for VideoStabilizationEffectEnabledChangedReason { } } impl ::windows::core::RuntimeType for VideoStabilizationEffectEnabledChangedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Core.VideoStabilizationEffectEnabledChangedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Core.VideoStabilizationEffectEnabledChangedReason;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Media_Core\"`, `\"Foundation\"`*"] @@ -11729,7 +11729,7 @@ impl ::windows::core::TypeKind for MseTimeRange { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for MseTimeRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Media.Core.MseTimeRange;struct(Windows.Foundation.TimeSpan;i8);struct(Windows.Foundation.TimeSpan;i8))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Media.Core.MseTimeRange;struct(Windows.Foundation.TimeSpan;i8);struct(Windows.Foundation.TimeSpan;i8))"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for MseTimeRange { @@ -11766,7 +11766,7 @@ impl ::windows::core::TypeKind for TimedTextDouble { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for TimedTextDouble { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Media.Core.TimedTextDouble;f8;enum(Windows.Media.Core.TimedTextUnit;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Media.Core.TimedTextDouble;f8;enum(Windows.Media.Core.TimedTextUnit;i4))"); } impl ::core::cmp::PartialEq for TimedTextDouble { fn eq(&self, other: &Self) -> bool { @@ -11803,7 +11803,7 @@ impl ::windows::core::TypeKind for TimedTextPadding { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for TimedTextPadding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Media.Core.TimedTextPadding;f8;f8;f8;f8;enum(Windows.Media.Core.TimedTextUnit;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Media.Core.TimedTextPadding;f8;f8;f8;f8;enum(Windows.Media.Core.TimedTextUnit;i4))"); } impl ::core::cmp::PartialEq for TimedTextPadding { fn eq(&self, other: &Self) -> bool { @@ -11838,7 +11838,7 @@ impl ::windows::core::TypeKind for TimedTextPoint { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for TimedTextPoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Media.Core.TimedTextPoint;f8;f8;enum(Windows.Media.Core.TimedTextUnit;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Media.Core.TimedTextPoint;f8;f8;enum(Windows.Media.Core.TimedTextUnit;i4))"); } impl ::core::cmp::PartialEq for TimedTextPoint { fn eq(&self, other: &Self) -> bool { @@ -11873,7 +11873,7 @@ impl ::windows::core::TypeKind for TimedTextSize { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for TimedTextSize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Media.Core.TimedTextSize;f8;f8;enum(Windows.Media.Core.TimedTextUnit;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Media.Core.TimedTextSize;f8;f8;enum(Windows.Media.Core.TimedTextUnit;i4))"); } impl ::core::cmp::PartialEq for TimedTextSize { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs index 68cd0700db..31a9efbc38 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs @@ -674,7 +674,7 @@ impl CameraIntrinsics { } #[doc(hidden)] pub fn ICameraIntrinsicsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -690,7 +690,7 @@ impl ::core::fmt::Debug for CameraIntrinsics { } } impl ::windows::core::RuntimeType for CameraIntrinsics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.CameraIntrinsics;{0aa6ed32-6589-49da-afde-594270ca0aac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.CameraIntrinsics;{0aa6ed32-6589-49da-afde-594270ca0aac})"); } impl ::core::clone::Clone for CameraIntrinsics { fn clone(&self) -> Self { @@ -706,7 +706,7 @@ unsafe impl ::windows::core::Interface for CameraIntrinsics { impl ::windows::core::RuntimeName for CameraIntrinsics { const NAME: &'static str = "Windows.Media.Devices.Core.CameraIntrinsics"; } -::windows::core::interface_hierarchy!(CameraIntrinsics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraIntrinsics, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CameraIntrinsics {} unsafe impl ::core::marker::Sync for CameraIntrinsics {} #[doc = "*Required features: `\"Media_Devices_Core\"`*"] @@ -762,7 +762,7 @@ impl ::core::fmt::Debug for DepthCorrelatedCoordinateMapper { } } impl ::windows::core::RuntimeType for DepthCorrelatedCoordinateMapper { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper;{f95d89fb-8af0-4cb0-926d-696866e5046a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper;{f95d89fb-8af0-4cb0-926d-696866e5046a})"); } impl ::core::clone::Clone for DepthCorrelatedCoordinateMapper { fn clone(&self) -> Self { @@ -778,7 +778,7 @@ unsafe impl ::windows::core::Interface for DepthCorrelatedCoordinateMapper { impl ::windows::core::RuntimeName for DepthCorrelatedCoordinateMapper { const NAME: &'static str = "Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper"; } -::windows::core::interface_hierarchy!(DepthCorrelatedCoordinateMapper, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DepthCorrelatedCoordinateMapper, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -862,7 +862,7 @@ impl ::core::fmt::Debug for FrameControlCapabilities { } } impl ::windows::core::RuntimeType for FrameControlCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameControlCapabilities;{a8ffae60-4e9e-4377-a789-e24c4ae7e544})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameControlCapabilities;{a8ffae60-4e9e-4377-a789-e24c4ae7e544})"); } impl ::core::clone::Clone for FrameControlCapabilities { fn clone(&self) -> Self { @@ -878,7 +878,7 @@ unsafe impl ::windows::core::Interface for FrameControlCapabilities { impl ::windows::core::RuntimeName for FrameControlCapabilities { const NAME: &'static str = "Windows.Media.Devices.Core.FrameControlCapabilities"; } -::windows::core::interface_hierarchy!(FrameControlCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameControlCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameController(::windows::core::IUnknown); @@ -886,8 +886,8 @@ impl FrameController { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ExposureControl(&self) -> ::windows::core::Result { @@ -957,7 +957,7 @@ impl ::core::fmt::Debug for FrameController { } } impl ::windows::core::RuntimeType for FrameController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameController;{c16459d9-baef-4052-9177-48aff2af7522})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameController;{c16459d9-baef-4052-9177-48aff2af7522})"); } impl ::core::clone::Clone for FrameController { fn clone(&self) -> Self { @@ -973,7 +973,7 @@ unsafe impl ::windows::core::Interface for FrameController { impl ::windows::core::RuntimeName for FrameController { const NAME: &'static str = "Windows.Media.Devices.Core.FrameController"; } -::windows::core::interface_hierarchy!(FrameController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FrameController {} unsafe impl ::core::marker::Sync for FrameController {} #[doc = "*Required features: `\"Media_Devices_Core\"`*"] @@ -1027,7 +1027,7 @@ impl ::core::fmt::Debug for FrameExposureCapabilities { } } impl ::windows::core::RuntimeType for FrameExposureCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCapabilities;{bdbe9ce3-3985-4e72-97c2-0590d61307a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCapabilities;{bdbe9ce3-3985-4e72-97c2-0590d61307a1})"); } impl ::core::clone::Clone for FrameExposureCapabilities { fn clone(&self) -> Self { @@ -1043,7 +1043,7 @@ unsafe impl ::windows::core::Interface for FrameExposureCapabilities { impl ::windows::core::RuntimeName for FrameExposureCapabilities { const NAME: &'static str = "Windows.Media.Devices.Core.FrameExposureCapabilities"; } -::windows::core::interface_hierarchy!(FrameExposureCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameExposureCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameExposureCompensationCapabilities(::windows::core::IUnknown); @@ -1089,7 +1089,7 @@ impl ::core::fmt::Debug for FrameExposureCompensationCapabilities { } } impl ::windows::core::RuntimeType for FrameExposureCompensationCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCompensationCapabilities;{b988a823-8065-41ee-b04f-722265954500})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCompensationCapabilities;{b988a823-8065-41ee-b04f-722265954500})"); } impl ::core::clone::Clone for FrameExposureCompensationCapabilities { fn clone(&self) -> Self { @@ -1105,7 +1105,7 @@ unsafe impl ::windows::core::Interface for FrameExposureCompensationCapabilities impl ::windows::core::RuntimeName for FrameExposureCompensationCapabilities { const NAME: &'static str = "Windows.Media.Devices.Core.FrameExposureCompensationCapabilities"; } -::windows::core::interface_hierarchy!(FrameExposureCompensationCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameExposureCompensationCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameExposureCompensationControl(::windows::core::IUnknown); @@ -1142,7 +1142,7 @@ impl ::core::fmt::Debug for FrameExposureCompensationControl { } } impl ::windows::core::RuntimeType for FrameExposureCompensationControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCompensationControl;{e95896c9-f7f9-48ca-8591-a26531cb1578})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCompensationControl;{e95896c9-f7f9-48ca-8591-a26531cb1578})"); } impl ::core::clone::Clone for FrameExposureCompensationControl { fn clone(&self) -> Self { @@ -1158,7 +1158,7 @@ unsafe impl ::windows::core::Interface for FrameExposureCompensationControl { impl ::windows::core::RuntimeName for FrameExposureCompensationControl { const NAME: &'static str = "Windows.Media.Devices.Core.FrameExposureCompensationControl"; } -::windows::core::interface_hierarchy!(FrameExposureCompensationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameExposureCompensationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameExposureControl(::windows::core::IUnknown); @@ -1206,7 +1206,7 @@ impl ::core::fmt::Debug for FrameExposureControl { } } impl ::windows::core::RuntimeType for FrameExposureControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureControl;{b1605a61-ffaf-4752-b621-f5b6f117f432})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureControl;{b1605a61-ffaf-4752-b621-f5b6f117f432})"); } impl ::core::clone::Clone for FrameExposureControl { fn clone(&self) -> Self { @@ -1222,7 +1222,7 @@ unsafe impl ::windows::core::Interface for FrameExposureControl { impl ::windows::core::RuntimeName for FrameExposureControl { const NAME: &'static str = "Windows.Media.Devices.Core.FrameExposureControl"; } -::windows::core::interface_hierarchy!(FrameExposureControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameExposureControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameFlashCapabilities(::windows::core::IUnknown); @@ -1261,7 +1261,7 @@ impl ::core::fmt::Debug for FrameFlashCapabilities { } } impl ::windows::core::RuntimeType for FrameFlashCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFlashCapabilities;{bb9341a2-5ebe-4f62-8223-0e2b05bfbbd0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFlashCapabilities;{bb9341a2-5ebe-4f62-8223-0e2b05bfbbd0})"); } impl ::core::clone::Clone for FrameFlashCapabilities { fn clone(&self) -> Self { @@ -1277,7 +1277,7 @@ unsafe impl ::windows::core::Interface for FrameFlashCapabilities { impl ::windows::core::RuntimeName for FrameFlashCapabilities { const NAME: &'static str = "Windows.Media.Devices.Core.FrameFlashCapabilities"; } -::windows::core::interface_hierarchy!(FrameFlashCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameFlashCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameFlashControl(::windows::core::IUnknown); @@ -1339,7 +1339,7 @@ impl ::core::fmt::Debug for FrameFlashControl { } } impl ::windows::core::RuntimeType for FrameFlashControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFlashControl;{75d5f6c7-bd45-4fab-9375-45ac04b332c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFlashControl;{75d5f6c7-bd45-4fab-9375-45ac04b332c2})"); } impl ::core::clone::Clone for FrameFlashControl { fn clone(&self) -> Self { @@ -1355,7 +1355,7 @@ unsafe impl ::windows::core::Interface for FrameFlashControl { impl ::windows::core::RuntimeName for FrameFlashControl { const NAME: &'static str = "Windows.Media.Devices.Core.FrameFlashControl"; } -::windows::core::interface_hierarchy!(FrameFlashControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameFlashControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameFocusCapabilities(::windows::core::IUnknown); @@ -1401,7 +1401,7 @@ impl ::core::fmt::Debug for FrameFocusCapabilities { } } impl ::windows::core::RuntimeType for FrameFocusCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFocusCapabilities;{7b25cd58-01c0-4065-9c40-c1a721425c1a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFocusCapabilities;{7b25cd58-01c0-4065-9c40-c1a721425c1a})"); } impl ::core::clone::Clone for FrameFocusCapabilities { fn clone(&self) -> Self { @@ -1417,7 +1417,7 @@ unsafe impl ::windows::core::Interface for FrameFocusCapabilities { impl ::windows::core::RuntimeName for FrameFocusCapabilities { const NAME: &'static str = "Windows.Media.Devices.Core.FrameFocusCapabilities"; } -::windows::core::interface_hierarchy!(FrameFocusCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameFocusCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameFocusControl(::windows::core::IUnknown); @@ -1454,7 +1454,7 @@ impl ::core::fmt::Debug for FrameFocusControl { } } impl ::windows::core::RuntimeType for FrameFocusControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFocusControl;{272df1d0-d912-4214-a67b-e38a8d48d8c6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFocusControl;{272df1d0-d912-4214-a67b-e38a8d48d8c6})"); } impl ::core::clone::Clone for FrameFocusControl { fn clone(&self) -> Self { @@ -1470,7 +1470,7 @@ unsafe impl ::windows::core::Interface for FrameFocusControl { impl ::windows::core::RuntimeName for FrameFocusControl { const NAME: &'static str = "Windows.Media.Devices.Core.FrameFocusControl"; } -::windows::core::interface_hierarchy!(FrameFocusControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameFocusControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameIsoSpeedCapabilities(::windows::core::IUnknown); @@ -1516,7 +1516,7 @@ impl ::core::fmt::Debug for FrameIsoSpeedCapabilities { } } impl ::windows::core::RuntimeType for FrameIsoSpeedCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameIsoSpeedCapabilities;{16bdff61-6df6-4ac9-b92a-9f6ecd1ad2fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameIsoSpeedCapabilities;{16bdff61-6df6-4ac9-b92a-9f6ecd1ad2fa})"); } impl ::core::clone::Clone for FrameIsoSpeedCapabilities { fn clone(&self) -> Self { @@ -1532,7 +1532,7 @@ unsafe impl ::windows::core::Interface for FrameIsoSpeedCapabilities { impl ::windows::core::RuntimeName for FrameIsoSpeedCapabilities { const NAME: &'static str = "Windows.Media.Devices.Core.FrameIsoSpeedCapabilities"; } -::windows::core::interface_hierarchy!(FrameIsoSpeedCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameIsoSpeedCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct FrameIsoSpeedControl(::windows::core::IUnknown); @@ -1580,7 +1580,7 @@ impl ::core::fmt::Debug for FrameIsoSpeedControl { } } impl ::windows::core::RuntimeType for FrameIsoSpeedControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameIsoSpeedControl;{1a03efed-786a-4c75-a557-7ab9a85f588c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameIsoSpeedControl;{1a03efed-786a-4c75-a557-7ab9a85f588c})"); } impl ::core::clone::Clone for FrameIsoSpeedControl { fn clone(&self) -> Self { @@ -1596,7 +1596,7 @@ unsafe impl ::windows::core::Interface for FrameIsoSpeedControl { impl ::windows::core::RuntimeName for FrameIsoSpeedControl { const NAME: &'static str = "Windows.Media.Devices.Core.FrameIsoSpeedControl"; } -::windows::core::interface_hierarchy!(FrameIsoSpeedControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FrameIsoSpeedControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] pub struct VariablePhotoSequenceController(::windows::core::IUnknown); @@ -1677,7 +1677,7 @@ impl ::core::fmt::Debug for VariablePhotoSequenceController { } } impl ::windows::core::RuntimeType for VariablePhotoSequenceController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.VariablePhotoSequenceController;{7fbff880-ed8c-43fd-a7c3-b35809e4229a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.VariablePhotoSequenceController;{7fbff880-ed8c-43fd-a7c3-b35809e4229a})"); } impl ::core::clone::Clone for VariablePhotoSequenceController { fn clone(&self) -> Self { @@ -1693,7 +1693,7 @@ unsafe impl ::windows::core::Interface for VariablePhotoSequenceController { impl ::windows::core::RuntimeName for VariablePhotoSequenceController { const NAME: &'static str = "Windows.Media.Devices.Core.VariablePhotoSequenceController"; } -::windows::core::interface_hierarchy!(VariablePhotoSequenceController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VariablePhotoSequenceController, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -1723,7 +1723,7 @@ impl ::core::fmt::Debug for FrameFlashMode { } } impl ::windows::core::RuntimeType for FrameFlashMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.Core.FrameFlashMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.Core.FrameFlashMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index 54ac7d87b1..fc1fdb4e45 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -615,7 +615,7 @@ impl IDefaultAudioDeviceChangedEventArgs { } } } -::windows::core::interface_hierarchy!(IDefaultAudioDeviceChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDefaultAudioDeviceChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IDefaultAudioDeviceChangedEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -628,7 +628,7 @@ impl ::core::fmt::Debug for IDefaultAudioDeviceChangedEventArgs { } } impl ::windows::core::RuntimeType for IDefaultAudioDeviceChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{110f882f-1c05-4657-a18e-47c9b69f07ab}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{110f882f-1c05-4657-a18e-47c9b69f07ab}"); } unsafe impl ::windows::core::Vtable for IDefaultAudioDeviceChangedEventArgs { type Vtable = IDefaultAudioDeviceChangedEventArgs_Vtbl; @@ -1344,7 +1344,7 @@ impl IMediaDeviceController { } } } -::windows::core::interface_hierarchy!(IMediaDeviceController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaDeviceController, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaDeviceController { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1357,7 +1357,7 @@ impl ::core::fmt::Debug for IMediaDeviceController { } } impl ::windows::core::RuntimeType for IMediaDeviceController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f6f8f5ce-209a-48fb-86fc-d44578f317e6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f6f8f5ce-209a-48fb-86fc-d44578f317e6}"); } unsafe impl ::windows::core::Vtable for IMediaDeviceController { type Vtable = IMediaDeviceController_Vtbl; @@ -1899,8 +1899,8 @@ impl AdvancedPhotoCaptureSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Mode(&self) -> ::windows::core::Result { @@ -1927,7 +1927,7 @@ impl ::core::fmt::Debug for AdvancedPhotoCaptureSettings { } } impl ::windows::core::RuntimeType for AdvancedPhotoCaptureSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AdvancedPhotoCaptureSettings;{08f3863a-0018-445b-93d2-646d1c5ed05c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AdvancedPhotoCaptureSettings;{08f3863a-0018-445b-93d2-646d1c5ed05c})"); } impl ::core::clone::Clone for AdvancedPhotoCaptureSettings { fn clone(&self) -> Self { @@ -1943,7 +1943,7 @@ unsafe impl ::windows::core::Interface for AdvancedPhotoCaptureSettings { impl ::windows::core::RuntimeName for AdvancedPhotoCaptureSettings { const NAME: &'static str = "Windows.Media.Devices.AdvancedPhotoCaptureSettings"; } -::windows::core::interface_hierarchy!(AdvancedPhotoCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdvancedPhotoCaptureSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdvancedPhotoCaptureSettings {} unsafe impl ::core::marker::Sync for AdvancedPhotoCaptureSettings {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -1990,7 +1990,7 @@ impl ::core::fmt::Debug for AdvancedPhotoControl { } } impl ::windows::core::RuntimeType for AdvancedPhotoControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AdvancedPhotoControl;{c5b15486-9001-4682-9309-68eae0080eec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AdvancedPhotoControl;{c5b15486-9001-4682-9309-68eae0080eec})"); } impl ::core::clone::Clone for AdvancedPhotoControl { fn clone(&self) -> Self { @@ -2006,7 +2006,7 @@ unsafe impl ::windows::core::Interface for AdvancedPhotoControl { impl ::windows::core::RuntimeName for AdvancedPhotoControl { const NAME: &'static str = "Windows.Media.Devices.AdvancedPhotoControl"; } -::windows::core::interface_hierarchy!(AdvancedPhotoControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdvancedPhotoControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdvancedPhotoControl {} unsafe impl ::core::marker::Sync for AdvancedPhotoControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2079,7 +2079,7 @@ impl ::core::fmt::Debug for AudioDeviceController { } } impl ::windows::core::RuntimeType for AudioDeviceController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceController;{edd4a388-79c7-4f7c-90e8-ef934b21580a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceController;{edd4a388-79c7-4f7c-90e8-ef934b21580a})"); } impl ::core::clone::Clone for AudioDeviceController { fn clone(&self) -> Self { @@ -2095,7 +2095,7 @@ unsafe impl ::windows::core::Interface for AudioDeviceController { impl ::windows::core::RuntimeName for AudioDeviceController { const NAME: &'static str = "Windows.Media.Devices.AudioDeviceController"; } -::windows::core::interface_hierarchy!(AudioDeviceController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioDeviceController, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaDeviceController { type Error = ::windows::core::Error; fn try_from(value: AudioDeviceController) -> ::windows::core::Result { @@ -2180,7 +2180,7 @@ impl ::core::fmt::Debug for AudioDeviceModule { } } impl ::windows::core::RuntimeType for AudioDeviceModule { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModule;{86cfac36-47c1-4b33-9852-8773ec4be123})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModule;{86cfac36-47c1-4b33-9852-8773ec4be123})"); } impl ::core::clone::Clone for AudioDeviceModule { fn clone(&self) -> Self { @@ -2196,7 +2196,7 @@ unsafe impl ::windows::core::Interface for AudioDeviceModule { impl ::windows::core::RuntimeName for AudioDeviceModule { const NAME: &'static str = "Windows.Media.Devices.AudioDeviceModule"; } -::windows::core::interface_hierarchy!(AudioDeviceModule, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioDeviceModule, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct AudioDeviceModuleNotificationEventArgs(::windows::core::IUnknown); @@ -2230,7 +2230,7 @@ impl ::core::fmt::Debug for AudioDeviceModuleNotificationEventArgs { } } impl ::windows::core::RuntimeType for AudioDeviceModuleNotificationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModuleNotificationEventArgs;{e3e3ccaf-224c-48be-956b-9a13134e96e8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModuleNotificationEventArgs;{e3e3ccaf-224c-48be-956b-9a13134e96e8})"); } impl ::core::clone::Clone for AudioDeviceModuleNotificationEventArgs { fn clone(&self) -> Self { @@ -2246,7 +2246,7 @@ unsafe impl ::windows::core::Interface for AudioDeviceModuleNotificationEventArg impl ::windows::core::RuntimeName for AudioDeviceModuleNotificationEventArgs { const NAME: &'static str = "Windows.Media.Devices.AudioDeviceModuleNotificationEventArgs"; } -::windows::core::interface_hierarchy!(AudioDeviceModuleNotificationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioDeviceModuleNotificationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioDeviceModuleNotificationEventArgs {} unsafe impl ::core::marker::Sync for AudioDeviceModuleNotificationEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2294,7 +2294,7 @@ impl AudioDeviceModulesManager { } #[doc(hidden)] pub fn IAudioDeviceModulesManagerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2310,7 +2310,7 @@ impl ::core::fmt::Debug for AudioDeviceModulesManager { } } impl ::windows::core::RuntimeType for AudioDeviceModulesManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModulesManager;{6aa40c4d-960a-4d1c-b318-0022604547ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModulesManager;{6aa40c4d-960a-4d1c-b318-0022604547ed})"); } impl ::core::clone::Clone for AudioDeviceModulesManager { fn clone(&self) -> Self { @@ -2326,7 +2326,7 @@ unsafe impl ::windows::core::Interface for AudioDeviceModulesManager { impl ::windows::core::RuntimeName for AudioDeviceModulesManager { const NAME: &'static str = "Windows.Media.Devices.AudioDeviceModulesManager"; } -::windows::core::interface_hierarchy!(AudioDeviceModulesManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioDeviceModulesManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioDeviceModulesManager {} unsafe impl ::core::marker::Sync for AudioDeviceModulesManager {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2466,7 +2466,7 @@ impl CallControl { } #[doc(hidden)] pub fn ICallControlStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2482,7 +2482,7 @@ impl ::core::fmt::Debug for CallControl { } } impl ::windows::core::RuntimeType for CallControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CallControl;{a520d0d6-ae8d-45db-8011-ca49d3b3e578})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CallControl;{a520d0d6-ae8d-45db-8011-ca49d3b3e578})"); } impl ::core::clone::Clone for CallControl { fn clone(&self) -> Self { @@ -2498,7 +2498,7 @@ unsafe impl ::windows::core::Interface for CallControl { impl ::windows::core::RuntimeName for CallControl { const NAME: &'static str = "Windows.Media.Devices.CallControl"; } -::windows::core::interface_hierarchy!(CallControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CallControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CallControl {} unsafe impl ::core::marker::Sync for CallControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2547,7 +2547,7 @@ impl ::core::fmt::Debug for CameraOcclusionInfo { } } impl ::windows::core::RuntimeType for CameraOcclusionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionInfo;{af6c4ad0-a84d-5db6-be58-a5da21cfe011})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionInfo;{af6c4ad0-a84d-5db6-be58-a5da21cfe011})"); } impl ::core::clone::Clone for CameraOcclusionInfo { fn clone(&self) -> Self { @@ -2563,7 +2563,7 @@ unsafe impl ::windows::core::Interface for CameraOcclusionInfo { impl ::windows::core::RuntimeName for CameraOcclusionInfo { const NAME: &'static str = "Windows.Media.Devices.CameraOcclusionInfo"; } -::windows::core::interface_hierarchy!(CameraOcclusionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraOcclusionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CameraOcclusionInfo {} unsafe impl ::core::marker::Sync for CameraOcclusionInfo {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2597,7 +2597,7 @@ impl ::core::fmt::Debug for CameraOcclusionState { } } impl ::windows::core::RuntimeType for CameraOcclusionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionState;{430adeb8-6842-5e55-9bde-04b4ef3a8a57})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionState;{430adeb8-6842-5e55-9bde-04b4ef3a8a57})"); } impl ::core::clone::Clone for CameraOcclusionState { fn clone(&self) -> Self { @@ -2613,7 +2613,7 @@ unsafe impl ::windows::core::Interface for CameraOcclusionState { impl ::windows::core::RuntimeName for CameraOcclusionState { const NAME: &'static str = "Windows.Media.Devices.CameraOcclusionState"; } -::windows::core::interface_hierarchy!(CameraOcclusionState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraOcclusionState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CameraOcclusionState {} unsafe impl ::core::marker::Sync for CameraOcclusionState {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2640,7 +2640,7 @@ impl ::core::fmt::Debug for CameraOcclusionStateChangedEventArgs { } } impl ::windows::core::RuntimeType for CameraOcclusionStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionStateChangedEventArgs;{8512d848-c0de-57ca-a1ca-fb2c3d23df55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionStateChangedEventArgs;{8512d848-c0de-57ca-a1ca-fb2c3d23df55})"); } impl ::core::clone::Clone for CameraOcclusionStateChangedEventArgs { fn clone(&self) -> Self { @@ -2656,7 +2656,7 @@ unsafe impl ::windows::core::Interface for CameraOcclusionStateChangedEventArgs impl ::windows::core::RuntimeName for CameraOcclusionStateChangedEventArgs { const NAME: &'static str = "Windows.Media.Devices.CameraOcclusionStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(CameraOcclusionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraOcclusionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CameraOcclusionStateChangedEventArgs {} unsafe impl ::core::marker::Sync for CameraOcclusionStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2690,7 +2690,7 @@ impl ::core::fmt::Debug for DefaultAudioCaptureDeviceChangedEventArgs { } } impl ::windows::core::RuntimeType for DefaultAudioCaptureDeviceChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs;{110f882f-1c05-4657-a18e-47c9b69f07ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs;{110f882f-1c05-4657-a18e-47c9b69f07ab})"); } impl ::core::clone::Clone for DefaultAudioCaptureDeviceChangedEventArgs { fn clone(&self) -> Self { @@ -2706,7 +2706,7 @@ unsafe impl ::windows::core::Interface for DefaultAudioCaptureDeviceChangedEvent impl ::windows::core::RuntimeName for DefaultAudioCaptureDeviceChangedEventArgs { const NAME: &'static str = "Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs"; } -::windows::core::interface_hierarchy!(DefaultAudioCaptureDeviceChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DefaultAudioCaptureDeviceChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IDefaultAudioDeviceChangedEventArgs { type Error = ::windows::core::Error; fn try_from(value: DefaultAudioCaptureDeviceChangedEventArgs) -> ::windows::core::Result { @@ -2759,7 +2759,7 @@ impl ::core::fmt::Debug for DefaultAudioRenderDeviceChangedEventArgs { } } impl ::windows::core::RuntimeType for DefaultAudioRenderDeviceChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs;{110f882f-1c05-4657-a18e-47c9b69f07ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs;{110f882f-1c05-4657-a18e-47c9b69f07ab})"); } impl ::core::clone::Clone for DefaultAudioRenderDeviceChangedEventArgs { fn clone(&self) -> Self { @@ -2775,7 +2775,7 @@ unsafe impl ::windows::core::Interface for DefaultAudioRenderDeviceChangedEventA impl ::windows::core::RuntimeName for DefaultAudioRenderDeviceChangedEventArgs { const NAME: &'static str = "Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs"; } -::windows::core::interface_hierarchy!(DefaultAudioRenderDeviceChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DefaultAudioRenderDeviceChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IDefaultAudioDeviceChangedEventArgs { type Error = ::windows::core::Error; fn try_from(value: DefaultAudioRenderDeviceChangedEventArgs) -> ::windows::core::Result { @@ -2825,7 +2825,7 @@ impl ::core::fmt::Debug for DialRequestedEventArgs { } } impl ::windows::core::RuntimeType for DialRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DialRequestedEventArgs;{037b929e-953c-4286-8866-4f0f376c855a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DialRequestedEventArgs;{037b929e-953c-4286-8866-4f0f376c855a})"); } impl ::core::clone::Clone for DialRequestedEventArgs { fn clone(&self) -> Self { @@ -2841,7 +2841,7 @@ unsafe impl ::windows::core::Interface for DialRequestedEventArgs { impl ::windows::core::RuntimeName for DialRequestedEventArgs { const NAME: &'static str = "Windows.Media.Devices.DialRequestedEventArgs"; } -::windows::core::interface_hierarchy!(DialRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialRequestedEventArgs {} unsafe impl ::core::marker::Sync for DialRequestedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2851,8 +2851,8 @@ impl DigitalWindowBounds { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn NormalizedOriginTop(&self) -> ::windows::core::Result { @@ -2901,7 +2901,7 @@ impl ::core::fmt::Debug for DigitalWindowBounds { } } impl ::windows::core::RuntimeType for DigitalWindowBounds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowBounds;{dd4f21dd-d173-5c6b-8c25-bdd26d5122b1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowBounds;{dd4f21dd-d173-5c6b-8c25-bdd26d5122b1})"); } impl ::core::clone::Clone for DigitalWindowBounds { fn clone(&self) -> Self { @@ -2917,7 +2917,7 @@ unsafe impl ::windows::core::Interface for DigitalWindowBounds { impl ::windows::core::RuntimeName for DigitalWindowBounds { const NAME: &'static str = "Windows.Media.Devices.DigitalWindowBounds"; } -::windows::core::interface_hierarchy!(DigitalWindowBounds, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DigitalWindowBounds, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DigitalWindowBounds {} unsafe impl ::core::marker::Sync for DigitalWindowBounds {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -2981,7 +2981,7 @@ impl ::core::fmt::Debug for DigitalWindowCapability { } } impl ::windows::core::RuntimeType for DigitalWindowCapability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowCapability;{d78bad2c-f721-5244-a196-b56ccbec606c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowCapability;{d78bad2c-f721-5244-a196-b56ccbec606c})"); } impl ::core::clone::Clone for DigitalWindowCapability { fn clone(&self) -> Self { @@ -2997,7 +2997,7 @@ unsafe impl ::windows::core::Interface for DigitalWindowCapability { impl ::windows::core::RuntimeName for DigitalWindowCapability { const NAME: &'static str = "Windows.Media.Devices.DigitalWindowCapability"; } -::windows::core::interface_hierarchy!(DigitalWindowCapability, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DigitalWindowCapability, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DigitalWindowCapability {} unsafe impl ::core::marker::Sync for DigitalWindowCapability {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -3069,7 +3069,7 @@ impl ::core::fmt::Debug for DigitalWindowControl { } } impl ::windows::core::RuntimeType for DigitalWindowControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowControl;{23b69eff-65d2-53ea-8780-de582b48b544})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowControl;{23b69eff-65d2-53ea-8780-de582b48b544})"); } impl ::core::clone::Clone for DigitalWindowControl { fn clone(&self) -> Self { @@ -3085,7 +3085,7 @@ unsafe impl ::windows::core::Interface for DigitalWindowControl { impl ::windows::core::RuntimeName for DigitalWindowControl { const NAME: &'static str = "Windows.Media.Devices.DigitalWindowControl"; } -::windows::core::interface_hierarchy!(DigitalWindowControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DigitalWindowControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DigitalWindowControl {} unsafe impl ::core::marker::Sync for DigitalWindowControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -3149,7 +3149,7 @@ impl ::core::fmt::Debug for ExposureCompensationControl { } } impl ::windows::core::RuntimeType for ExposureCompensationControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposureCompensationControl;{81c8e834-dcec-4011-a610-1f3847e64aca})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposureCompensationControl;{81c8e834-dcec-4011-a610-1f3847e64aca})"); } impl ::core::clone::Clone for ExposureCompensationControl { fn clone(&self) -> Self { @@ -3165,7 +3165,7 @@ unsafe impl ::windows::core::Interface for ExposureCompensationControl { impl ::windows::core::RuntimeName for ExposureCompensationControl { const NAME: &'static str = "Windows.Media.Devices.ExposureCompensationControl"; } -::windows::core::interface_hierarchy!(ExposureCompensationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExposureCompensationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct ExposureControl(::windows::core::IUnknown); @@ -3251,7 +3251,7 @@ impl ::core::fmt::Debug for ExposureControl { } } impl ::windows::core::RuntimeType for ExposureControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposureControl;{09e8cbe2-ad96-4f28-a0e0-96ed7e1b5fd2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposureControl;{09e8cbe2-ad96-4f28-a0e0-96ed7e1b5fd2})"); } impl ::core::clone::Clone for ExposureControl { fn clone(&self) -> Self { @@ -3267,7 +3267,7 @@ unsafe impl ::windows::core::Interface for ExposureControl { impl ::windows::core::RuntimeName for ExposureControl { const NAME: &'static str = "Windows.Media.Devices.ExposureControl"; } -::windows::core::interface_hierarchy!(ExposureControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExposureControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct ExposurePriorityVideoControl(::windows::core::IUnknown); @@ -3303,7 +3303,7 @@ impl ::core::fmt::Debug for ExposurePriorityVideoControl { } } impl ::windows::core::RuntimeType for ExposurePriorityVideoControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposurePriorityVideoControl;{2cb240a3-5168-4271-9ea5-47621a98a352})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposurePriorityVideoControl;{2cb240a3-5168-4271-9ea5-47621a98a352})"); } impl ::core::clone::Clone for ExposurePriorityVideoControl { fn clone(&self) -> Self { @@ -3319,7 +3319,7 @@ unsafe impl ::windows::core::Interface for ExposurePriorityVideoControl { impl ::windows::core::RuntimeName for ExposurePriorityVideoControl { const NAME: &'static str = "Windows.Media.Devices.ExposurePriorityVideoControl"; } -::windows::core::interface_hierarchy!(ExposurePriorityVideoControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExposurePriorityVideoControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ExposurePriorityVideoControl {} unsafe impl ::core::marker::Sync for ExposurePriorityVideoControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -3422,7 +3422,7 @@ impl ::core::fmt::Debug for FlashControl { } } impl ::windows::core::RuntimeType for FlashControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FlashControl;{def41dbe-7d68-45e3-8c0f-be7bb32837d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FlashControl;{def41dbe-7d68-45e3-8c0f-be7bb32837d0})"); } impl ::core::clone::Clone for FlashControl { fn clone(&self) -> Self { @@ -3438,7 +3438,7 @@ unsafe impl ::windows::core::Interface for FlashControl { impl ::windows::core::RuntimeName for FlashControl { const NAME: &'static str = "Windows.Media.Devices.FlashControl"; } -::windows::core::interface_hierarchy!(FlashControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FlashControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct FocusControl(::windows::core::IUnknown); @@ -3620,7 +3620,7 @@ impl ::core::fmt::Debug for FocusControl { } } impl ::windows::core::RuntimeType for FocusControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FocusControl;{c0d889f6-5228-4453-b153-85606592b238})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FocusControl;{c0d889f6-5228-4453-b153-85606592b238})"); } impl ::core::clone::Clone for FocusControl { fn clone(&self) -> Self { @@ -3636,7 +3636,7 @@ unsafe impl ::windows::core::Interface for FocusControl { impl ::windows::core::RuntimeName for FocusControl { const NAME: &'static str = "Windows.Media.Devices.FocusControl"; } -::windows::core::interface_hierarchy!(FocusControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FocusControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct FocusSettings(::windows::core::IUnknown); @@ -3644,8 +3644,8 @@ impl FocusSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Mode(&self) -> ::windows::core::Result { @@ -3743,7 +3743,7 @@ impl ::core::fmt::Debug for FocusSettings { } } impl ::windows::core::RuntimeType for FocusSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FocusSettings;{79958f6b-3263-4275-85d6-aeae891c96ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FocusSettings;{79958f6b-3263-4275-85d6-aeae891c96ee})"); } impl ::core::clone::Clone for FocusSettings { fn clone(&self) -> Self { @@ -3759,7 +3759,7 @@ unsafe impl ::windows::core::Interface for FocusSettings { impl ::windows::core::RuntimeName for FocusSettings { const NAME: &'static str = "Windows.Media.Devices.FocusSettings"; } -::windows::core::interface_hierarchy!(FocusSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FocusSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FocusSettings {} unsafe impl ::core::marker::Sync for FocusSettings {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -3806,7 +3806,7 @@ impl ::core::fmt::Debug for HdrVideoControl { } } impl ::windows::core::RuntimeType for HdrVideoControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.HdrVideoControl;{55d8e2d0-30c0-43bf-9b9a-9799d70ced94})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.HdrVideoControl;{55d8e2d0-30c0-43bf-9b9a-9799d70ced94})"); } impl ::core::clone::Clone for HdrVideoControl { fn clone(&self) -> Self { @@ -3822,7 +3822,7 @@ unsafe impl ::windows::core::Interface for HdrVideoControl { impl ::windows::core::RuntimeName for HdrVideoControl { const NAME: &'static str = "Windows.Media.Devices.HdrVideoControl"; } -::windows::core::interface_hierarchy!(HdrVideoControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HdrVideoControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HdrVideoControl {} unsafe impl ::core::marker::Sync for HdrVideoControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -3901,7 +3901,7 @@ impl ::core::fmt::Debug for InfraredTorchControl { } } impl ::windows::core::RuntimeType for InfraredTorchControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.InfraredTorchControl;{1cba2c83-6cb6-5a04-a6fc-3be7b33ff056})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.InfraredTorchControl;{1cba2c83-6cb6-5a04-a6fc-3be7b33ff056})"); } impl ::core::clone::Clone for InfraredTorchControl { fn clone(&self) -> Self { @@ -3917,7 +3917,7 @@ unsafe impl ::windows::core::Interface for InfraredTorchControl { impl ::windows::core::RuntimeName for InfraredTorchControl { const NAME: &'static str = "Windows.Media.Devices.InfraredTorchControl"; } -::windows::core::interface_hierarchy!(InfraredTorchControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InfraredTorchControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InfraredTorchControl {} unsafe impl ::core::marker::Sync for InfraredTorchControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -4024,7 +4024,7 @@ impl ::core::fmt::Debug for IsoSpeedControl { } } impl ::windows::core::RuntimeType for IsoSpeedControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.IsoSpeedControl;{27b6c322-25ad-4f1b-aaab-524ab376ca33})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.IsoSpeedControl;{27b6c322-25ad-4f1b-aaab-524ab376ca33})"); } impl ::core::clone::Clone for IsoSpeedControl { fn clone(&self) -> Self { @@ -4040,7 +4040,7 @@ unsafe impl ::windows::core::Interface for IsoSpeedControl { impl ::windows::core::RuntimeName for IsoSpeedControl { const NAME: &'static str = "Windows.Media.Devices.IsoSpeedControl"; } -::windows::core::interface_hierarchy!(IsoSpeedControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsoSpeedControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct KeypadPressedEventArgs(::windows::core::IUnknown); @@ -4065,7 +4065,7 @@ impl ::core::fmt::Debug for KeypadPressedEventArgs { } } impl ::windows::core::RuntimeType for KeypadPressedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.KeypadPressedEventArgs;{d3a43900-b4fa-49cd-9442-89af6568f601})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.KeypadPressedEventArgs;{d3a43900-b4fa-49cd-9442-89af6568f601})"); } impl ::core::clone::Clone for KeypadPressedEventArgs { fn clone(&self) -> Self { @@ -4081,7 +4081,7 @@ unsafe impl ::windows::core::Interface for KeypadPressedEventArgs { impl ::windows::core::RuntimeName for KeypadPressedEventArgs { const NAME: &'static str = "Windows.Media.Devices.KeypadPressedEventArgs"; } -::windows::core::interface_hierarchy!(KeypadPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeypadPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeypadPressedEventArgs {} unsafe impl ::core::marker::Sync for KeypadPressedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -4167,7 +4167,7 @@ impl ::core::fmt::Debug for LowLagPhotoControl { } } impl ::windows::core::RuntimeType for LowLagPhotoControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.LowLagPhotoControl;{6d5c4dd0-fadf-415d-aee6-3baa529300c9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.LowLagPhotoControl;{6d5c4dd0-fadf-415d-aee6-3baa529300c9})"); } impl ::core::clone::Clone for LowLagPhotoControl { fn clone(&self) -> Self { @@ -4183,7 +4183,7 @@ unsafe impl ::windows::core::Interface for LowLagPhotoControl { impl ::windows::core::RuntimeName for LowLagPhotoControl { const NAME: &'static str = "Windows.Media.Devices.LowLagPhotoControl"; } -::windows::core::interface_hierarchy!(LowLagPhotoControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LowLagPhotoControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct LowLagPhotoSequenceControl(::windows::core::IUnknown); @@ -4310,7 +4310,7 @@ impl ::core::fmt::Debug for LowLagPhotoSequenceControl { } } impl ::windows::core::RuntimeType for LowLagPhotoSequenceControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.LowLagPhotoSequenceControl;{3dcf909d-6d16-409c-bafe-b9a594c6fde6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.LowLagPhotoSequenceControl;{3dcf909d-6d16-409c-bafe-b9a594c6fde6})"); } impl ::core::clone::Clone for LowLagPhotoSequenceControl { fn clone(&self) -> Self { @@ -4326,7 +4326,7 @@ unsafe impl ::windows::core::Interface for LowLagPhotoSequenceControl { impl ::windows::core::RuntimeName for LowLagPhotoSequenceControl { const NAME: &'static str = "Windows.Media.Devices.LowLagPhotoSequenceControl"; } -::windows::core::interface_hierarchy!(LowLagPhotoSequenceControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LowLagPhotoSequenceControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] pub struct MediaDevice; impl MediaDevice { @@ -4388,7 +4388,7 @@ impl MediaDevice { } #[doc(hidden)] pub fn IMediaDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4447,7 +4447,7 @@ impl ::core::fmt::Debug for MediaDeviceControl { } } impl ::windows::core::RuntimeType for MediaDeviceControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.MediaDeviceControl;{efa8dfa9-6f75-4863-ba0b-583f3036b4de})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.MediaDeviceControl;{efa8dfa9-6f75-4863-ba0b-583f3036b4de})"); } impl ::core::clone::Clone for MediaDeviceControl { fn clone(&self) -> Self { @@ -4463,7 +4463,7 @@ unsafe impl ::windows::core::Interface for MediaDeviceControl { impl ::windows::core::RuntimeName for MediaDeviceControl { const NAME: &'static str = "Windows.Media.Devices.MediaDeviceControl"; } -::windows::core::interface_hierarchy!(MediaDeviceControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaDeviceControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct MediaDeviceControlCapabilities(::windows::core::IUnknown); @@ -4523,7 +4523,7 @@ impl ::core::fmt::Debug for MediaDeviceControlCapabilities { } } impl ::windows::core::RuntimeType for MediaDeviceControlCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.MediaDeviceControlCapabilities;{23005816-eb85-43e2-b92b-8240d5ee70ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.MediaDeviceControlCapabilities;{23005816-eb85-43e2-b92b-8240d5ee70ec})"); } impl ::core::clone::Clone for MediaDeviceControlCapabilities { fn clone(&self) -> Self { @@ -4539,7 +4539,7 @@ unsafe impl ::windows::core::Interface for MediaDeviceControlCapabilities { impl ::windows::core::RuntimeName for MediaDeviceControlCapabilities { const NAME: &'static str = "Windows.Media.Devices.MediaDeviceControlCapabilities"; } -::windows::core::interface_hierarchy!(MediaDeviceControlCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaDeviceControlCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct ModuleCommandResult(::windows::core::IUnknown); @@ -4573,7 +4573,7 @@ impl ::core::fmt::Debug for ModuleCommandResult { } } impl ::windows::core::RuntimeType for ModuleCommandResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ModuleCommandResult;{520d1eb4-1374-4c7d-b1e4-39dcdf3eae4e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ModuleCommandResult;{520d1eb4-1374-4c7d-b1e4-39dcdf3eae4e})"); } impl ::core::clone::Clone for ModuleCommandResult { fn clone(&self) -> Self { @@ -4589,7 +4589,7 @@ unsafe impl ::windows::core::Interface for ModuleCommandResult { impl ::windows::core::RuntimeName for ModuleCommandResult { const NAME: &'static str = "Windows.Media.Devices.ModuleCommandResult"; } -::windows::core::interface_hierarchy!(ModuleCommandResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ModuleCommandResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct OpticalImageStabilizationControl(::windows::core::IUnknown); @@ -4634,7 +4634,7 @@ impl ::core::fmt::Debug for OpticalImageStabilizationControl { } } impl ::windows::core::RuntimeType for OpticalImageStabilizationControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.OpticalImageStabilizationControl;{bfad9c1d-00bc-423b-8eb2-a0178ca94247})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.OpticalImageStabilizationControl;{bfad9c1d-00bc-423b-8eb2-a0178ca94247})"); } impl ::core::clone::Clone for OpticalImageStabilizationControl { fn clone(&self) -> Self { @@ -4650,7 +4650,7 @@ unsafe impl ::windows::core::Interface for OpticalImageStabilizationControl { impl ::windows::core::RuntimeName for OpticalImageStabilizationControl { const NAME: &'static str = "Windows.Media.Devices.OpticalImageStabilizationControl"; } -::windows::core::interface_hierarchy!(OpticalImageStabilizationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OpticalImageStabilizationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OpticalImageStabilizationControl {} unsafe impl ::core::marker::Sync for OpticalImageStabilizationControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -4692,7 +4692,7 @@ impl ::core::fmt::Debug for PanelBasedOptimizationControl { } } impl ::windows::core::RuntimeType for PanelBasedOptimizationControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.PanelBasedOptimizationControl;{33323223-6247-5419-a5a4-3d808645d917})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.PanelBasedOptimizationControl;{33323223-6247-5419-a5a4-3d808645d917})"); } impl ::core::clone::Clone for PanelBasedOptimizationControl { fn clone(&self) -> Self { @@ -4708,7 +4708,7 @@ unsafe impl ::windows::core::Interface for PanelBasedOptimizationControl { impl ::windows::core::RuntimeName for PanelBasedOptimizationControl { const NAME: &'static str = "Windows.Media.Devices.PanelBasedOptimizationControl"; } -::windows::core::interface_hierarchy!(PanelBasedOptimizationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PanelBasedOptimizationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PanelBasedOptimizationControl {} unsafe impl ::core::marker::Sync for PanelBasedOptimizationControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -4761,7 +4761,7 @@ impl ::core::fmt::Debug for PhotoConfirmationControl { } } impl ::windows::core::RuntimeType for PhotoConfirmationControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.PhotoConfirmationControl;{c8f3f363-ff5e-4582-a9a8-0550f85a4a76})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.PhotoConfirmationControl;{c8f3f363-ff5e-4582-a9a8-0550f85a4a76})"); } impl ::core::clone::Clone for PhotoConfirmationControl { fn clone(&self) -> Self { @@ -4777,7 +4777,7 @@ unsafe impl ::windows::core::Interface for PhotoConfirmationControl { impl ::windows::core::RuntimeName for PhotoConfirmationControl { const NAME: &'static str = "Windows.Media.Devices.PhotoConfirmationControl"; } -::windows::core::interface_hierarchy!(PhotoConfirmationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoConfirmationControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct RedialRequestedEventArgs(::windows::core::IUnknown); @@ -4799,7 +4799,7 @@ impl ::core::fmt::Debug for RedialRequestedEventArgs { } } impl ::windows::core::RuntimeType for RedialRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RedialRequestedEventArgs;{7eb55209-76ab-4c31-b40e-4b58379d580c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RedialRequestedEventArgs;{7eb55209-76ab-4c31-b40e-4b58379d580c})"); } impl ::core::clone::Clone for RedialRequestedEventArgs { fn clone(&self) -> Self { @@ -4815,7 +4815,7 @@ unsafe impl ::windows::core::Interface for RedialRequestedEventArgs { impl ::windows::core::RuntimeName for RedialRequestedEventArgs { const NAME: &'static str = "Windows.Media.Devices.RedialRequestedEventArgs"; } -::windows::core::interface_hierarchy!(RedialRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RedialRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RedialRequestedEventArgs {} unsafe impl ::core::marker::Sync for RedialRequestedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -4825,8 +4825,8 @@ impl RegionOfInterest { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AutoFocusEnabled(&self) -> ::windows::core::Result { @@ -4923,7 +4923,7 @@ impl ::core::fmt::Debug for RegionOfInterest { } } impl ::windows::core::RuntimeType for RegionOfInterest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RegionOfInterest;{e5ecc834-ce66-4e05-a78f-cf391a5ec2d1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RegionOfInterest;{e5ecc834-ce66-4e05-a78f-cf391a5ec2d1})"); } impl ::core::clone::Clone for RegionOfInterest { fn clone(&self) -> Self { @@ -4939,7 +4939,7 @@ unsafe impl ::windows::core::Interface for RegionOfInterest { impl ::windows::core::RuntimeName for RegionOfInterest { const NAME: &'static str = "Windows.Media.Devices.RegionOfInterest"; } -::windows::core::interface_hierarchy!(RegionOfInterest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RegionOfInterest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RegionOfInterest {} unsafe impl ::core::marker::Sync for RegionOfInterest {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -5022,7 +5022,7 @@ impl ::core::fmt::Debug for RegionsOfInterestControl { } } impl ::windows::core::RuntimeType for RegionsOfInterestControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RegionsOfInterestControl;{c323f527-ab0b-4558-8b5b-df5693db0378})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RegionsOfInterestControl;{c323f527-ab0b-4558-8b5b-df5693db0378})"); } impl ::core::clone::Clone for RegionsOfInterestControl { fn clone(&self) -> Self { @@ -5038,7 +5038,7 @@ unsafe impl ::windows::core::Interface for RegionsOfInterestControl { impl ::windows::core::RuntimeName for RegionsOfInterestControl { const NAME: &'static str = "Windows.Media.Devices.RegionsOfInterestControl"; } -::windows::core::interface_hierarchy!(RegionsOfInterestControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RegionsOfInterestControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct SceneModeControl(::windows::core::IUnknown); @@ -5081,7 +5081,7 @@ impl ::core::fmt::Debug for SceneModeControl { } } impl ::windows::core::RuntimeType for SceneModeControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.SceneModeControl;{d48e5af7-8d59-4854-8c62-12c70ba89b7c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.SceneModeControl;{d48e5af7-8d59-4854-8c62-12c70ba89b7c})"); } impl ::core::clone::Clone for SceneModeControl { fn clone(&self) -> Self { @@ -5097,7 +5097,7 @@ unsafe impl ::windows::core::Interface for SceneModeControl { impl ::windows::core::RuntimeName for SceneModeControl { const NAME: &'static str = "Windows.Media.Devices.SceneModeControl"; } -::windows::core::interface_hierarchy!(SceneModeControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneModeControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct TorchControl(::windows::core::IUnknown); @@ -5151,7 +5151,7 @@ impl ::core::fmt::Debug for TorchControl { } } impl ::windows::core::RuntimeType for TorchControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.TorchControl;{a6053665-8250-416c-919a-724296afa306})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.TorchControl;{a6053665-8250-416c-919a-724296afa306})"); } impl ::core::clone::Clone for TorchControl { fn clone(&self) -> Self { @@ -5167,7 +5167,7 @@ unsafe impl ::windows::core::Interface for TorchControl { impl ::windows::core::RuntimeName for TorchControl { const NAME: &'static str = "Windows.Media.Devices.TorchControl"; } -::windows::core::interface_hierarchy!(TorchControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TorchControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct VideoDeviceController(::windows::core::IUnknown); @@ -5569,7 +5569,7 @@ impl ::core::fmt::Debug for VideoDeviceController { } } impl ::windows::core::RuntimeType for VideoDeviceController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoDeviceController;{99555575-2e2e-40b8-b6c7-f82d10013210})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoDeviceController;{99555575-2e2e-40b8-b6c7-f82d10013210})"); } impl ::core::clone::Clone for VideoDeviceController { fn clone(&self) -> Self { @@ -5585,7 +5585,7 @@ unsafe impl ::windows::core::Interface for VideoDeviceController { impl ::windows::core::RuntimeName for VideoDeviceController { const NAME: &'static str = "Windows.Media.Devices.VideoDeviceController"; } -::windows::core::interface_hierarchy!(VideoDeviceController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoDeviceController, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaDeviceController { type Error = ::windows::core::Error; fn try_from(value: VideoDeviceController) -> ::windows::core::Result { @@ -5636,7 +5636,7 @@ impl ::core::fmt::Debug for VideoDeviceControllerGetDevicePropertyResult { } } impl ::windows::core::RuntimeType for VideoDeviceControllerGetDevicePropertyResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoDeviceControllerGetDevicePropertyResult;{c5d88395-6ed5-4790-8b5d-0ef13935d0f8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoDeviceControllerGetDevicePropertyResult;{c5d88395-6ed5-4790-8b5d-0ef13935d0f8})"); } impl ::core::clone::Clone for VideoDeviceControllerGetDevicePropertyResult { fn clone(&self) -> Self { @@ -5652,7 +5652,7 @@ unsafe impl ::windows::core::Interface for VideoDeviceControllerGetDevicePropert impl ::windows::core::RuntimeName for VideoDeviceControllerGetDevicePropertyResult { const NAME: &'static str = "Windows.Media.Devices.VideoDeviceControllerGetDevicePropertyResult"; } -::windows::core::interface_hierarchy!(VideoDeviceControllerGetDevicePropertyResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoDeviceControllerGetDevicePropertyResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoDeviceControllerGetDevicePropertyResult {} unsafe impl ::core::marker::Sync for VideoDeviceControllerGetDevicePropertyResult {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -5699,7 +5699,7 @@ impl ::core::fmt::Debug for VideoTemporalDenoisingControl { } } impl ::windows::core::RuntimeType for VideoTemporalDenoisingControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoTemporalDenoisingControl;{7ab34735-3e2a-4a32-baff-4358c4fbdd57})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoTemporalDenoisingControl;{7ab34735-3e2a-4a32-baff-4358c4fbdd57})"); } impl ::core::clone::Clone for VideoTemporalDenoisingControl { fn clone(&self) -> Self { @@ -5715,7 +5715,7 @@ unsafe impl ::windows::core::Interface for VideoTemporalDenoisingControl { impl ::windows::core::RuntimeName for VideoTemporalDenoisingControl { const NAME: &'static str = "Windows.Media.Devices.VideoTemporalDenoisingControl"; } -::windows::core::interface_hierarchy!(VideoTemporalDenoisingControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoTemporalDenoisingControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoTemporalDenoisingControl {} unsafe impl ::core::marker::Sync for VideoTemporalDenoisingControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -5795,7 +5795,7 @@ impl ::core::fmt::Debug for WhiteBalanceControl { } } impl ::windows::core::RuntimeType for WhiteBalanceControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.WhiteBalanceControl;{781f047e-7162-49c8-a8f9-9481c565363e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.WhiteBalanceControl;{781f047e-7162-49c8-a8f9-9481c565363e})"); } impl ::core::clone::Clone for WhiteBalanceControl { fn clone(&self) -> Self { @@ -5811,7 +5811,7 @@ unsafe impl ::windows::core::Interface for WhiteBalanceControl { impl ::windows::core::RuntimeName for WhiteBalanceControl { const NAME: &'static str = "Windows.Media.Devices.WhiteBalanceControl"; } -::windows::core::interface_hierarchy!(WhiteBalanceControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WhiteBalanceControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct ZoomControl(::windows::core::IUnknown); @@ -5888,7 +5888,7 @@ impl ::core::fmt::Debug for ZoomControl { } } impl ::windows::core::RuntimeType for ZoomControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ZoomControl;{3a1e0b12-32da-4c17-bfd7-8d0c73c8f5a5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ZoomControl;{3a1e0b12-32da-4c17-bfd7-8d0c73c8f5a5})"); } impl ::core::clone::Clone for ZoomControl { fn clone(&self) -> Self { @@ -5904,7 +5904,7 @@ unsafe impl ::windows::core::Interface for ZoomControl { impl ::windows::core::RuntimeName for ZoomControl { const NAME: &'static str = "Windows.Media.Devices.ZoomControl"; } -::windows::core::interface_hierarchy!(ZoomControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ZoomControl, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct ZoomSettings(::windows::core::IUnknown); @@ -5912,8 +5912,8 @@ impl ZoomSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Mode(&self) -> ::windows::core::Result { @@ -5951,7 +5951,7 @@ impl ::core::fmt::Debug for ZoomSettings { } } impl ::windows::core::RuntimeType for ZoomSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ZoomSettings;{6ad66b24-14b4-4bfd-b18f-88fe24463b52})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ZoomSettings;{6ad66b24-14b4-4bfd-b18f-88fe24463b52})"); } impl ::core::clone::Clone for ZoomSettings { fn clone(&self) -> Self { @@ -5967,7 +5967,7 @@ unsafe impl ::windows::core::Interface for ZoomSettings { impl ::windows::core::RuntimeName for ZoomSettings { const NAME: &'static str = "Windows.Media.Devices.ZoomSettings"; } -::windows::core::interface_hierarchy!(ZoomSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ZoomSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ZoomSettings {} unsafe impl ::core::marker::Sync for ZoomSettings {} #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -6000,7 +6000,7 @@ impl ::core::fmt::Debug for AdvancedPhotoMode { } } impl ::windows::core::RuntimeType for AdvancedPhotoMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.AdvancedPhotoMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.AdvancedPhotoMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6030,7 +6030,7 @@ impl ::core::fmt::Debug for AudioDeviceRole { } } impl ::windows::core::RuntimeType for AudioDeviceRole { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.AudioDeviceRole;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.AudioDeviceRole;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6061,7 +6061,7 @@ impl ::core::fmt::Debug for AutoFocusRange { } } impl ::windows::core::RuntimeType for AutoFocusRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.AutoFocusRange;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.AutoFocusRange;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6091,7 +6091,7 @@ impl ::core::fmt::Debug for CameraOcclusionKind { } } impl ::windows::core::RuntimeType for CameraOcclusionKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.CameraOcclusionKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.CameraOcclusionKind;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6123,7 +6123,7 @@ impl ::core::fmt::Debug for CameraStreamState { } } impl ::windows::core::RuntimeType for CameraStreamState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.CameraStreamState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.CameraStreamState;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6164,7 +6164,7 @@ impl ::core::fmt::Debug for CaptureSceneMode { } } impl ::windows::core::RuntimeType for CaptureSceneMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.CaptureSceneMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.CaptureSceneMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6195,7 +6195,7 @@ impl ::core::fmt::Debug for CaptureUse { } } impl ::windows::core::RuntimeType for CaptureUse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.CaptureUse;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.CaptureUse;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6231,7 +6231,7 @@ impl ::core::fmt::Debug for ColorTemperaturePreset { } } impl ::windows::core::RuntimeType for ColorTemperaturePreset { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.ColorTemperaturePreset;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.ColorTemperaturePreset;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6262,7 +6262,7 @@ impl ::core::fmt::Debug for DigitalWindowMode { } } impl ::windows::core::RuntimeType for DigitalWindowMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.DigitalWindowMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.DigitalWindowMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6294,7 +6294,7 @@ impl ::core::fmt::Debug for FocusMode { } } impl ::windows::core::RuntimeType for FocusMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.FocusMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.FocusMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6328,7 +6328,7 @@ impl ::core::fmt::Debug for FocusPreset { } } impl ::windows::core::RuntimeType for FocusPreset { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.FocusPreset;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.FocusPreset;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6359,7 +6359,7 @@ impl ::core::fmt::Debug for HdrVideoMode { } } impl ::windows::core::RuntimeType for HdrVideoMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.HdrVideoMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.HdrVideoMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6390,7 +6390,7 @@ impl ::core::fmt::Debug for InfraredTorchMode { } } impl ::windows::core::RuntimeType for InfraredTorchMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.InfraredTorchMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.InfraredTorchMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -6438,7 +6438,7 @@ impl ::core::fmt::Debug for IsoSpeedPreset { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for IsoSpeedPreset { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.IsoSpeedPreset;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.IsoSpeedPreset;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6469,7 +6469,7 @@ impl ::core::fmt::Debug for ManualFocusDistance { } } impl ::windows::core::RuntimeType for ManualFocusDistance { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.ManualFocusDistance;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.ManualFocusDistance;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6502,7 +6502,7 @@ impl ::core::fmt::Debug for MediaCaptureFocusState { } } impl ::windows::core::RuntimeType for MediaCaptureFocusState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.MediaCaptureFocusState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.MediaCaptureFocusState;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6537,7 +6537,7 @@ impl ::core::fmt::Debug for MediaCaptureOptimization { } } impl ::windows::core::RuntimeType for MediaCaptureOptimization { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.MediaCaptureOptimization;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.MediaCaptureOptimization;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6567,7 +6567,7 @@ impl ::core::fmt::Debug for MediaCapturePauseBehavior { } } impl ::windows::core::RuntimeType for MediaCapturePauseBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.MediaCapturePauseBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.MediaCapturePauseBehavior;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6598,7 +6598,7 @@ impl ::core::fmt::Debug for OpticalImageStabilizationMode { } } impl ::windows::core::RuntimeType for OpticalImageStabilizationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.OpticalImageStabilizationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.OpticalImageStabilizationMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6628,7 +6628,7 @@ impl ::core::fmt::Debug for RegionOfInterestType { } } impl ::windows::core::RuntimeType for RegionOfInterestType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.RegionOfInterestType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.RegionOfInterestType;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6658,7 +6658,7 @@ impl ::core::fmt::Debug for SendCommandStatus { } } impl ::windows::core::RuntimeType for SendCommandStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.SendCommandStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.SendCommandStatus;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6702,7 +6702,7 @@ impl ::core::fmt::Debug for TelephonyKey { } } impl ::windows::core::RuntimeType for TelephonyKey { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.TelephonyKey;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.TelephonyKey;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6737,7 +6737,7 @@ impl ::core::fmt::Debug for VideoDeviceControllerGetDevicePropertyStatus { } } impl ::windows::core::RuntimeType for VideoDeviceControllerGetDevicePropertyStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.VideoDeviceControllerGetDevicePropertyStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.VideoDeviceControllerGetDevicePropertyStatus;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6771,7 +6771,7 @@ impl ::core::fmt::Debug for VideoDeviceControllerSetDevicePropertyStatus { } } impl ::windows::core::RuntimeType for VideoDeviceControllerSetDevicePropertyStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.VideoDeviceControllerSetDevicePropertyStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.VideoDeviceControllerSetDevicePropertyStatus;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6802,7 +6802,7 @@ impl ::core::fmt::Debug for VideoTemporalDenoisingMode { } } impl ::windows::core::RuntimeType for VideoTemporalDenoisingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.VideoTemporalDenoisingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.VideoTemporalDenoisingMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] @@ -6833,15 +6833,15 @@ impl ::core::fmt::Debug for ZoomTransitionMode { } } impl ::windows::core::RuntimeType for ZoomTransitionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.ZoomTransitionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.ZoomTransitionMode;i4)"); } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] pub struct CallControlEventHandler(pub ::windows::core::IUnknown); impl CallControlEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = CallControlEventHandlerBox:: { vtable: &CallControlEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = CallControlEventHandlerBox:: { vtable: &CallControlEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &CallControl) -> ::windows::core::Result<()> { let this = self; @@ -6852,7 +6852,7 @@ impl CallControlEventHandler { struct CallControlEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const CallControlEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> CallControlEventHandlerBox { const VTABLE: CallControlEventHandler_Vtbl = CallControlEventHandler_Vtbl { @@ -6861,7 +6861,7 @@ impl) -> ::windows::core::Result<( }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -6877,7 +6877,7 @@ impl) -> ::windows::core::Result<( let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -6909,7 +6909,7 @@ unsafe impl ::windows::core::Interface for CallControlEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x596f759f_50df_4454_bc63_4d3d01b61958); } impl ::windows::core::RuntimeType for CallControlEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{596f759f-50df-4454-bc63-4d3d01b61958}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{596f759f-50df-4454-bc63-4d3d01b61958}"); } #[repr(C)] #[doc(hidden)] @@ -6922,8 +6922,8 @@ pub struct CallControlEventHandler_Vtbl { pub struct DialRequestedEventHandler(pub ::windows::core::IUnknown); impl DialRequestedEventHandler { pub fn new, ::core::option::Option<&DialRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = DialRequestedEventHandlerBox:: { vtable: &DialRequestedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = DialRequestedEventHandlerBox:: { vtable: &DialRequestedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &CallControl, e: &DialRequestedEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -6934,7 +6934,7 @@ impl DialRequestedEventHandler { struct DialRequestedEventHandlerBox, ::core::option::Option<&DialRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const DialRequestedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&DialRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> DialRequestedEventHandlerBox { const VTABLE: DialRequestedEventHandler_Vtbl = DialRequestedEventHandler_Vtbl { @@ -6943,7 +6943,7 @@ impl, ::core::option::Option<&Dial }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -6959,7 +6959,7 @@ impl, ::core::option::Option<&Dial let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -6991,7 +6991,7 @@ unsafe impl ::windows::core::Interface for DialRequestedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5abbffdb_c21f_4bc4_891b_257e28c1b1a4); } impl ::windows::core::RuntimeType for DialRequestedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5abbffdb-c21f-4bc4-891b-257e28c1b1a4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5abbffdb-c21f-4bc4-891b-257e28c1b1a4}"); } #[repr(C)] #[doc(hidden)] @@ -7004,8 +7004,8 @@ pub struct DialRequestedEventHandler_Vtbl { pub struct KeypadPressedEventHandler(pub ::windows::core::IUnknown); impl KeypadPressedEventHandler { pub fn new, ::core::option::Option<&KeypadPressedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = KeypadPressedEventHandlerBox:: { vtable: &KeypadPressedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = KeypadPressedEventHandlerBox:: { vtable: &KeypadPressedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &CallControl, e: &KeypadPressedEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -7016,7 +7016,7 @@ impl KeypadPressedEventHandler { struct KeypadPressedEventHandlerBox, ::core::option::Option<&KeypadPressedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const KeypadPressedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&KeypadPressedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> KeypadPressedEventHandlerBox { const VTABLE: KeypadPressedEventHandler_Vtbl = KeypadPressedEventHandler_Vtbl { @@ -7025,7 +7025,7 @@ impl, ::core::option::Option<&Keyp }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -7041,7 +7041,7 @@ impl, ::core::option::Option<&Keyp let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -7073,7 +7073,7 @@ unsafe impl ::windows::core::Interface for KeypadPressedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe637a454_c527_422c_8926_c9af83b559a0); } impl ::windows::core::RuntimeType for KeypadPressedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e637a454-c527-422c-8926-c9af83b559a0}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e637a454-c527-422c-8926-c9af83b559a0}"); } #[repr(C)] #[doc(hidden)] @@ -7086,8 +7086,8 @@ pub struct KeypadPressedEventHandler_Vtbl { pub struct RedialRequestedEventHandler(pub ::windows::core::IUnknown); impl RedialRequestedEventHandler { pub fn new, ::core::option::Option<&RedialRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = RedialRequestedEventHandlerBox:: { vtable: &RedialRequestedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = RedialRequestedEventHandlerBox:: { vtable: &RedialRequestedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &CallControl, e: &RedialRequestedEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -7098,7 +7098,7 @@ impl RedialRequestedEventHandler { struct RedialRequestedEventHandlerBox, ::core::option::Option<&RedialRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const RedialRequestedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&RedialRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> RedialRequestedEventHandlerBox { const VTABLE: RedialRequestedEventHandler_Vtbl = RedialRequestedEventHandler_Vtbl { @@ -7107,7 +7107,7 @@ impl, ::core::option::Option<&Redi }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -7123,7 +7123,7 @@ impl, ::core::option::Option<&Redi let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -7155,7 +7155,7 @@ unsafe impl ::windows::core::Interface for RedialRequestedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbaf257d1_4ebd_4b84_9f47_6ec43d75d8b1); } impl ::windows::core::RuntimeType for RedialRequestedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{baf257d1-4ebd-4b84-9f47-6ec43d75d8b1}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{baf257d1-4ebd-4b84-9f47-6ec43d75d8b1}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs index a0b21e6d9f..dc6bcec4b4 100644 --- a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs @@ -374,7 +374,7 @@ impl ::core::fmt::Debug for DialApp { } } impl ::windows::core::RuntimeType for DialApp { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialApp;{555ffbd3-45b7-49f3-bbd7-302db6084646})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialApp;{555ffbd3-45b7-49f3-bbd7-302db6084646})"); } impl ::core::clone::Clone for DialApp { fn clone(&self) -> Self { @@ -390,7 +390,7 @@ unsafe impl ::windows::core::Interface for DialApp { impl ::windows::core::RuntimeName for DialApp { const NAME: &'static str = "Windows.Media.DialProtocol.DialApp"; } -::windows::core::interface_hierarchy!(DialApp, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialApp, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialApp {} unsafe impl ::core::marker::Sync for DialApp {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] @@ -424,7 +424,7 @@ impl ::core::fmt::Debug for DialAppStateDetails { } } impl ::windows::core::RuntimeType for DialAppStateDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialAppStateDetails;{ddc4a4a1-f5de-400d-bea4-8c8466bb2961})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialAppStateDetails;{ddc4a4a1-f5de-400d-bea4-8c8466bb2961})"); } impl ::core::clone::Clone for DialAppStateDetails { fn clone(&self) -> Self { @@ -440,7 +440,7 @@ unsafe impl ::windows::core::Interface for DialAppStateDetails { impl ::windows::core::RuntimeName for DialAppStateDetails { const NAME: &'static str = "Windows.Media.DialProtocol.DialAppStateDetails"; } -::windows::core::interface_hierarchy!(DialAppStateDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialAppStateDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialAppStateDetails {} unsafe impl ::core::marker::Sync for DialAppStateDetails {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] @@ -501,7 +501,7 @@ impl DialDevice { } #[doc(hidden)] pub fn IDialDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -517,7 +517,7 @@ impl ::core::fmt::Debug for DialDevice { } } impl ::windows::core::RuntimeType for DialDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevice;{fff0edaf-759f-41d2-a20a-7f29ce0b3784})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevice;{fff0edaf-759f-41d2-a20a-7f29ce0b3784})"); } impl ::core::clone::Clone for DialDevice { fn clone(&self) -> Self { @@ -533,7 +533,7 @@ unsafe impl ::windows::core::Interface for DialDevice { impl ::windows::core::RuntimeName for DialDevice { const NAME: &'static str = "Windows.Media.DialProtocol.DialDevice"; } -::windows::core::interface_hierarchy!(DialDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialDevice {} unsafe impl ::core::marker::Sync for DialDevice {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] @@ -543,8 +543,8 @@ impl DialDevicePicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Filter(&self) -> ::windows::core::Result { @@ -659,7 +659,7 @@ impl ::core::fmt::Debug for DialDevicePicker { } } impl ::windows::core::RuntimeType for DialDevicePicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevicePicker;{ba7e520a-ff59-4f4b-bdac-d89f495ad6e1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevicePicker;{ba7e520a-ff59-4f4b-bdac-d89f495ad6e1})"); } impl ::core::clone::Clone for DialDevicePicker { fn clone(&self) -> Self { @@ -675,7 +675,7 @@ unsafe impl ::windows::core::Interface for DialDevicePicker { impl ::windows::core::RuntimeName for DialDevicePicker { const NAME: &'static str = "Windows.Media.DialProtocol.DialDevicePicker"; } -::windows::core::interface_hierarchy!(DialDevicePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialDevicePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialDevicePicker {} unsafe impl ::core::marker::Sync for DialDevicePicker {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] @@ -704,7 +704,7 @@ impl ::core::fmt::Debug for DialDevicePickerFilter { } } impl ::windows::core::RuntimeType for DialDevicePickerFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevicePickerFilter;{c17c93ba-86c0-485d-b8d6-0f9a8f641590})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevicePickerFilter;{c17c93ba-86c0-485d-b8d6-0f9a8f641590})"); } impl ::core::clone::Clone for DialDevicePickerFilter { fn clone(&self) -> Self { @@ -720,7 +720,7 @@ unsafe impl ::windows::core::Interface for DialDevicePickerFilter { impl ::windows::core::RuntimeName for DialDevicePickerFilter { const NAME: &'static str = "Windows.Media.DialProtocol.DialDevicePickerFilter"; } -::windows::core::interface_hierarchy!(DialDevicePickerFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialDevicePickerFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialDevicePickerFilter {} unsafe impl ::core::marker::Sync for DialDevicePickerFilter {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] @@ -747,7 +747,7 @@ impl ::core::fmt::Debug for DialDeviceSelectedEventArgs { } } impl ::windows::core::RuntimeType for DialDeviceSelectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDeviceSelectedEventArgs;{480b92ad-ac76-47eb-9c06-a19304da0247})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDeviceSelectedEventArgs;{480b92ad-ac76-47eb-9c06-a19304da0247})"); } impl ::core::clone::Clone for DialDeviceSelectedEventArgs { fn clone(&self) -> Self { @@ -763,7 +763,7 @@ unsafe impl ::windows::core::Interface for DialDeviceSelectedEventArgs { impl ::windows::core::RuntimeName for DialDeviceSelectedEventArgs { const NAME: &'static str = "Windows.Media.DialProtocol.DialDeviceSelectedEventArgs"; } -::windows::core::interface_hierarchy!(DialDeviceSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialDeviceSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialDeviceSelectedEventArgs {} unsafe impl ::core::marker::Sync for DialDeviceSelectedEventArgs {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] @@ -790,7 +790,7 @@ impl ::core::fmt::Debug for DialDisconnectButtonClickedEventArgs { } } impl ::windows::core::RuntimeType for DialDisconnectButtonClickedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDisconnectButtonClickedEventArgs;{52765152-9c81-4e55-adc2-0ebe99cde3b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDisconnectButtonClickedEventArgs;{52765152-9c81-4e55-adc2-0ebe99cde3b6})"); } impl ::core::clone::Clone for DialDisconnectButtonClickedEventArgs { fn clone(&self) -> Self { @@ -806,7 +806,7 @@ unsafe impl ::windows::core::Interface for DialDisconnectButtonClickedEventArgs impl ::windows::core::RuntimeName for DialDisconnectButtonClickedEventArgs { const NAME: &'static str = "Windows.Media.DialProtocol.DialDisconnectButtonClickedEventArgs"; } -::windows::core::interface_hierarchy!(DialDisconnectButtonClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialDisconnectButtonClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialDisconnectButtonClickedEventArgs {} unsafe impl ::core::marker::Sync for DialDisconnectButtonClickedEventArgs {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] @@ -852,7 +852,7 @@ impl DialReceiverApp { } #[doc(hidden)] pub fn IDialReceiverAppStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -868,7 +868,7 @@ impl ::core::fmt::Debug for DialReceiverApp { } } impl ::windows::core::RuntimeType for DialReceiverApp { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialReceiverApp;{fd3e7c57-5045-470e-b304-4dd9b13e7d11})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialReceiverApp;{fd3e7c57-5045-470e-b304-4dd9b13e7d11})"); } impl ::core::clone::Clone for DialReceiverApp { fn clone(&self) -> Self { @@ -884,7 +884,7 @@ unsafe impl ::windows::core::Interface for DialReceiverApp { impl ::windows::core::RuntimeName for DialReceiverApp { const NAME: &'static str = "Windows.Media.DialProtocol.DialReceiverApp"; } -::windows::core::interface_hierarchy!(DialReceiverApp, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DialReceiverApp, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DialReceiverApp {} unsafe impl ::core::marker::Sync for DialReceiverApp {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] @@ -917,7 +917,7 @@ impl ::core::fmt::Debug for DialAppLaunchResult { } } impl ::windows::core::RuntimeType for DialAppLaunchResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.DialProtocol.DialAppLaunchResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.DialProtocol.DialAppLaunchResult;i4)"); } #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] @@ -949,7 +949,7 @@ impl ::core::fmt::Debug for DialAppState { } } impl ::windows::core::RuntimeType for DialAppState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.DialProtocol.DialAppState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.DialProtocol.DialAppState;i4)"); } #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] @@ -981,7 +981,7 @@ impl ::core::fmt::Debug for DialAppStopResult { } } impl ::windows::core::RuntimeType for DialAppStopResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.DialProtocol.DialAppStopResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.DialProtocol.DialAppStopResult;i4)"); } #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] @@ -1015,7 +1015,7 @@ impl ::core::fmt::Debug for DialDeviceDisplayStatus { } } impl ::windows::core::RuntimeType for DialDeviceDisplayStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.DialProtocol.DialDeviceDisplayStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.DialProtocol.DialDeviceDisplayStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Editing/mod.rs b/crates/libs/windows/src/Windows/Media/Editing/mod.rs index 595755aba5..af1b1fa1eb 100644 --- a/crates/libs/windows/src/Windows/Media/Editing/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Editing/mod.rs @@ -611,7 +611,7 @@ impl BackgroundAudioTrack { } #[doc(hidden)] pub fn IBackgroundAudioTrackStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -627,7 +627,7 @@ impl ::core::fmt::Debug for BackgroundAudioTrack { } } impl ::windows::core::RuntimeType for BackgroundAudioTrack { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.BackgroundAudioTrack;{4b91b3bd-9e21-4266-a9c2-67dd011a2357})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.BackgroundAudioTrack;{4b91b3bd-9e21-4266-a9c2-67dd011a2357})"); } impl ::core::clone::Clone for BackgroundAudioTrack { fn clone(&self) -> Self { @@ -643,7 +643,7 @@ unsafe impl ::windows::core::Interface for BackgroundAudioTrack { impl ::windows::core::RuntimeName for BackgroundAudioTrack { const NAME: &'static str = "Windows.Media.Editing.BackgroundAudioTrack"; } -::windows::core::interface_hierarchy!(BackgroundAudioTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundAudioTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundAudioTrack {} unsafe impl ::core::marker::Sync for BackgroundAudioTrack {} #[doc = "*Required features: `\"Media_Editing\"`*"] @@ -672,7 +672,7 @@ impl ::core::fmt::Debug for EmbeddedAudioTrack { } } impl ::windows::core::RuntimeType for EmbeddedAudioTrack { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.EmbeddedAudioTrack;{55ee5a7a-2d30-3fba-a190-4f1a6454f88f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.EmbeddedAudioTrack;{55ee5a7a-2d30-3fba-a190-4f1a6454f88f})"); } impl ::core::clone::Clone for EmbeddedAudioTrack { fn clone(&self) -> Self { @@ -688,7 +688,7 @@ unsafe impl ::windows::core::Interface for EmbeddedAudioTrack { impl ::windows::core::RuntimeName for EmbeddedAudioTrack { const NAME: &'static str = "Windows.Media.Editing.EmbeddedAudioTrack"; } -::windows::core::interface_hierarchy!(EmbeddedAudioTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmbeddedAudioTrack, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EmbeddedAudioTrack {} unsafe impl ::core::marker::Sync for EmbeddedAudioTrack {} #[doc = "*Required features: `\"Media_Editing\"`*"] @@ -881,12 +881,12 @@ impl MediaClip { } #[doc(hidden)] pub fn IMediaClipStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaClipStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -902,7 +902,7 @@ impl ::core::fmt::Debug for MediaClip { } } impl ::windows::core::RuntimeType for MediaClip { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaClip;{53f25366-5fba-3ea4-8693-24761811140a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaClip;{53f25366-5fba-3ea4-8693-24761811140a})"); } impl ::core::clone::Clone for MediaClip { fn clone(&self) -> Self { @@ -918,7 +918,7 @@ unsafe impl ::windows::core::Interface for MediaClip { impl ::windows::core::RuntimeName for MediaClip { const NAME: &'static str = "Windows.Media.Editing.MediaClip"; } -::windows::core::interface_hierarchy!(MediaClip, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaClip, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaClip {} unsafe impl ::core::marker::Sync for MediaClip {} #[doc = "*Required features: `\"Media_Editing\"`*"] @@ -928,8 +928,8 @@ impl MediaComposition { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -1104,7 +1104,7 @@ impl MediaComposition { } #[doc(hidden)] pub fn IMediaCompositionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1120,7 +1120,7 @@ impl ::core::fmt::Debug for MediaComposition { } } impl ::windows::core::RuntimeType for MediaComposition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaComposition;{2e06e605-dc71-41d6-b837-2d2bc14a2947})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaComposition;{2e06e605-dc71-41d6-b837-2d2bc14a2947})"); } impl ::core::clone::Clone for MediaComposition { fn clone(&self) -> Self { @@ -1136,7 +1136,7 @@ unsafe impl ::windows::core::Interface for MediaComposition { impl ::windows::core::RuntimeName for MediaComposition { const NAME: &'static str = "Windows.Media.Editing.MediaComposition"; } -::windows::core::interface_hierarchy!(MediaComposition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaComposition, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaComposition {} unsafe impl ::core::marker::Sync for MediaComposition {} #[doc = "*Required features: `\"Media_Editing\"`*"] @@ -1225,7 +1225,7 @@ impl MediaOverlay { } #[doc(hidden)] pub fn IMediaOverlayFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1241,7 +1241,7 @@ impl ::core::fmt::Debug for MediaOverlay { } } impl ::windows::core::RuntimeType for MediaOverlay { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaOverlay;{a902ae5d-7869-4830-8ab1-94dc01c05fa4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaOverlay;{a902ae5d-7869-4830-8ab1-94dc01c05fa4})"); } impl ::core::clone::Clone for MediaOverlay { fn clone(&self) -> Self { @@ -1257,7 +1257,7 @@ unsafe impl ::windows::core::Interface for MediaOverlay { impl ::windows::core::RuntimeName for MediaOverlay { const NAME: &'static str = "Windows.Media.Editing.MediaOverlay"; } -::windows::core::interface_hierarchy!(MediaOverlay, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaOverlay, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaOverlay {} unsafe impl ::core::marker::Sync for MediaOverlay {} #[doc = "*Required features: `\"Media_Editing\"`*"] @@ -1267,8 +1267,8 @@ impl MediaOverlayLayer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Clone(&self) -> ::windows::core::Result { @@ -1310,7 +1310,7 @@ impl MediaOverlayLayer { } #[doc(hidden)] pub fn IMediaOverlayLayerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1326,7 +1326,7 @@ impl ::core::fmt::Debug for MediaOverlayLayer { } } impl ::windows::core::RuntimeType for MediaOverlayLayer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaOverlayLayer;{a6d9ba57-eeda-46c6-bbe5-e398c84168ac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaOverlayLayer;{a6d9ba57-eeda-46c6-bbe5-e398c84168ac})"); } impl ::core::clone::Clone for MediaOverlayLayer { fn clone(&self) -> Self { @@ -1342,7 +1342,7 @@ unsafe impl ::windows::core::Interface for MediaOverlayLayer { impl ::windows::core::RuntimeName for MediaOverlayLayer { const NAME: &'static str = "Windows.Media.Editing.MediaOverlayLayer"; } -::windows::core::interface_hierarchy!(MediaOverlayLayer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaOverlayLayer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaOverlayLayer {} unsafe impl ::core::marker::Sync for MediaOverlayLayer {} #[doc = "*Required features: `\"Media_Editing\"`*"] @@ -1373,7 +1373,7 @@ impl ::core::fmt::Debug for MediaTrimmingPreference { } } impl ::windows::core::RuntimeType for MediaTrimmingPreference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Editing.MediaTrimmingPreference;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Editing.MediaTrimmingPreference;i4)"); } #[doc = "*Required features: `\"Media_Editing\"`*"] #[repr(transparent)] @@ -1403,7 +1403,7 @@ impl ::core::fmt::Debug for VideoFramePrecision { } } impl ::windows::core::RuntimeType for VideoFramePrecision { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Editing.VideoFramePrecision;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Editing.VideoFramePrecision;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index b96e117ec8..95110bcb90 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -70,7 +70,7 @@ impl IAudioEffectDefinition { } } } -::windows::core::interface_hierarchy!(IAudioEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAudioEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAudioEffectDefinition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -83,7 +83,7 @@ impl ::core::fmt::Debug for IAudioEffectDefinition { } } impl ::windows::core::RuntimeType for IAudioEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e4d7f974-7d80-4f73-9089-e31c9db9c294}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e4d7f974-7d80-4f73-9089-e31c9db9c294}"); } unsafe impl ::windows::core::Vtable for IAudioEffectDefinition { type Vtable = IAudioEffectDefinition_Vtbl; @@ -281,7 +281,7 @@ impl IBasicAudioEffect { unsafe { (::windows::core::Vtable::vtable(this).SetProperties)(::windows::core::Vtable::as_raw(this), configuration.try_into().map_err(|e| e.into())?.abi()).ok() } } } -::windows::core::interface_hierarchy!(IBasicAudioEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBasicAudioEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaExtension { type Error = ::windows::core::Error; fn try_from(value: IBasicAudioEffect) -> ::windows::core::Result { @@ -313,7 +313,7 @@ impl ::core::fmt::Debug for IBasicAudioEffect { } } impl ::windows::core::RuntimeType for IBasicAudioEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8c062c53-6bc0-48b8-a99a-4b41550f1359}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8c062c53-6bc0-48b8-a99a-4b41550f1359}"); } unsafe impl ::windows::core::Vtable for IBasicAudioEffect { type Vtable = IBasicAudioEffect_Vtbl; @@ -410,7 +410,7 @@ impl IBasicVideoEffect { unsafe { (::windows::core::Vtable::vtable(this).SetProperties)(::windows::core::Vtable::as_raw(this), configuration.try_into().map_err(|e| e.into())?.abi()).ok() } } } -::windows::core::interface_hierarchy!(IBasicVideoEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBasicVideoEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaExtension { type Error = ::windows::core::Error; fn try_from(value: IBasicVideoEffect) -> ::windows::core::Result { @@ -442,7 +442,7 @@ impl ::core::fmt::Debug for IBasicVideoEffect { } } impl ::windows::core::RuntimeType for IBasicVideoEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8262c7ef-b360-40be-949b-2ff42ff35693}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8262c7ef-b360-40be-949b-2ff42ff35693}"); } unsafe impl ::windows::core::Vtable for IBasicVideoEffect { type Vtable = IBasicVideoEffect_Vtbl; @@ -610,7 +610,7 @@ impl IVideoCompositor { unsafe { (::windows::core::Vtable::vtable(this).SetProperties)(::windows::core::Vtable::as_raw(this), configuration.try_into().map_err(|e| e.into())?.abi()).ok() } } } -::windows::core::interface_hierarchy!(IVideoCompositor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVideoCompositor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaExtension { type Error = ::windows::core::Error; fn try_from(value: IVideoCompositor) -> ::windows::core::Result { @@ -642,7 +642,7 @@ impl ::core::fmt::Debug for IVideoCompositor { } } impl ::windows::core::RuntimeType for IVideoCompositor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8510b43e-420c-420f-96c7-7c98bba1fc55}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8510b43e-420c-420f-96c7-7c98bba1fc55}"); } unsafe impl ::windows::core::Vtable for IVideoCompositor { type Vtable = IVideoCompositor_Vtbl; @@ -689,7 +689,7 @@ impl IVideoCompositorDefinition { } } } -::windows::core::interface_hierarchy!(IVideoCompositorDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVideoCompositorDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVideoCompositorDefinition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -702,7 +702,7 @@ impl ::core::fmt::Debug for IVideoCompositorDefinition { } } impl ::windows::core::RuntimeType for IVideoCompositorDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{7946b8d0-2010-4ae3-9ab2-2cef42edd4d2}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{7946b8d0-2010-4ae3-9ab2-2cef42edd4d2}"); } unsafe impl ::windows::core::Vtable for IVideoCompositorDefinition { type Vtable = IVideoCompositorDefinition_Vtbl; @@ -770,7 +770,7 @@ impl IVideoEffectDefinition { } } } -::windows::core::interface_hierarchy!(IVideoEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVideoEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVideoEffectDefinition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -783,7 +783,7 @@ impl ::core::fmt::Debug for IVideoEffectDefinition { } } impl ::windows::core::RuntimeType for IVideoEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{39f38cf0-8d0f-4f3e-84fc-2d46a5297943}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{39f38cf0-8d0f-4f3e-84fc-2d46a5297943}"); } unsafe impl ::windows::core::Vtable for IVideoEffectDefinition { type Vtable = IVideoEffectDefinition_Vtbl; @@ -1005,7 +1005,7 @@ impl ::core::fmt::Debug for AudioCaptureEffectsManager { } } impl ::windows::core::RuntimeType for AudioCaptureEffectsManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioCaptureEffectsManager;{8f85c271-038d-4393-8298-540110608eef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioCaptureEffectsManager;{8f85c271-038d-4393-8298-540110608eef})"); } impl ::core::clone::Clone for AudioCaptureEffectsManager { fn clone(&self) -> Self { @@ -1021,7 +1021,7 @@ unsafe impl ::windows::core::Interface for AudioCaptureEffectsManager { impl ::windows::core::RuntimeName for AudioCaptureEffectsManager { const NAME: &'static str = "Windows.Media.Effects.AudioCaptureEffectsManager"; } -::windows::core::interface_hierarchy!(AudioCaptureEffectsManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioCaptureEffectsManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioCaptureEffectsManager {} unsafe impl ::core::marker::Sync for AudioCaptureEffectsManager {} #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -1048,7 +1048,7 @@ impl ::core::fmt::Debug for AudioEffect { } } impl ::windows::core::RuntimeType for AudioEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioEffect;{34aafa51-9207-4055-be93-6e5734a86ae4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioEffect;{34aafa51-9207-4055-be93-6e5734a86ae4})"); } impl ::core::clone::Clone for AudioEffect { fn clone(&self) -> Self { @@ -1064,7 +1064,7 @@ unsafe impl ::windows::core::Interface for AudioEffect { impl ::windows::core::RuntimeName for AudioEffect { const NAME: &'static str = "Windows.Media.Effects.AudioEffect"; } -::windows::core::interface_hierarchy!(AudioEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioEffect {} unsafe impl ::core::marker::Sync for AudioEffect {} #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -1107,7 +1107,7 @@ impl AudioEffectDefinition { } #[doc(hidden)] pub fn IAudioEffectDefinitionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1123,7 +1123,7 @@ impl ::core::fmt::Debug for AudioEffectDefinition { } } impl ::windows::core::RuntimeType for AudioEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioEffectDefinition;{e4d7f974-7d80-4f73-9089-e31c9db9c294})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioEffectDefinition;{e4d7f974-7d80-4f73-9089-e31c9db9c294})"); } impl ::core::clone::Clone for AudioEffectDefinition { fn clone(&self) -> Self { @@ -1139,7 +1139,7 @@ unsafe impl ::windows::core::Interface for AudioEffectDefinition { impl ::windows::core::RuntimeName for AudioEffectDefinition { const NAME: &'static str = "Windows.Media.Effects.AudioEffectDefinition"; } -::windows::core::interface_hierarchy!(AudioEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAudioEffectDefinition { type Error = ::windows::core::Error; fn try_from(value: AudioEffectDefinition) -> ::windows::core::Result { @@ -1198,7 +1198,7 @@ impl AudioEffectsManager { } #[doc(hidden)] pub fn IAudioEffectsManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1270,7 +1270,7 @@ impl ::core::fmt::Debug for AudioRenderEffectsManager { } } impl ::windows::core::RuntimeType for AudioRenderEffectsManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioRenderEffectsManager;{4dc98966-8751-42b2-bfcb-39ca7864bd47})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioRenderEffectsManager;{4dc98966-8751-42b2-bfcb-39ca7864bd47})"); } impl ::core::clone::Clone for AudioRenderEffectsManager { fn clone(&self) -> Self { @@ -1286,7 +1286,7 @@ unsafe impl ::windows::core::Interface for AudioRenderEffectsManager { impl ::windows::core::RuntimeName for AudioRenderEffectsManager { const NAME: &'static str = "Windows.Media.Effects.AudioRenderEffectsManager"; } -::windows::core::interface_hierarchy!(AudioRenderEffectsManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioRenderEffectsManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioRenderEffectsManager {} unsafe impl ::core::marker::Sync for AudioRenderEffectsManager {} #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -1342,7 +1342,7 @@ impl ::core::fmt::Debug for CompositeVideoFrameContext { } } impl ::windows::core::RuntimeType for CompositeVideoFrameContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.CompositeVideoFrameContext;{6c30024b-f514-4278-a5f7-b9188049d110})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.CompositeVideoFrameContext;{6c30024b-f514-4278-a5f7-b9188049d110})"); } impl ::core::clone::Clone for CompositeVideoFrameContext { fn clone(&self) -> Self { @@ -1358,7 +1358,7 @@ unsafe impl ::windows::core::Interface for CompositeVideoFrameContext { impl ::windows::core::RuntimeName for CompositeVideoFrameContext { const NAME: &'static str = "Windows.Media.Effects.CompositeVideoFrameContext"; } -::windows::core::interface_hierarchy!(CompositeVideoFrameContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositeVideoFrameContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CompositeVideoFrameContext {} unsafe impl ::core::marker::Sync for CompositeVideoFrameContext {} #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -1392,7 +1392,7 @@ impl ::core::fmt::Debug for ProcessAudioFrameContext { } } impl ::windows::core::RuntimeType for ProcessAudioFrameContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.ProcessAudioFrameContext;{4cd92946-1222-4a27-a586-fb3e20273255})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.ProcessAudioFrameContext;{4cd92946-1222-4a27-a586-fb3e20273255})"); } impl ::core::clone::Clone for ProcessAudioFrameContext { fn clone(&self) -> Self { @@ -1408,7 +1408,7 @@ unsafe impl ::windows::core::Interface for ProcessAudioFrameContext { impl ::windows::core::RuntimeName for ProcessAudioFrameContext { const NAME: &'static str = "Windows.Media.Effects.ProcessAudioFrameContext"; } -::windows::core::interface_hierarchy!(ProcessAudioFrameContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessAudioFrameContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessAudioFrameContext {} unsafe impl ::core::marker::Sync for ProcessAudioFrameContext {} #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -1442,7 +1442,7 @@ impl ::core::fmt::Debug for ProcessVideoFrameContext { } } impl ::windows::core::RuntimeType for ProcessVideoFrameContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.ProcessVideoFrameContext;{276f0e2b-6461-401e-ba78-0fdad6114eec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.ProcessVideoFrameContext;{276f0e2b-6461-401e-ba78-0fdad6114eec})"); } impl ::core::clone::Clone for ProcessVideoFrameContext { fn clone(&self) -> Self { @@ -1458,7 +1458,7 @@ unsafe impl ::windows::core::Interface for ProcessVideoFrameContext { impl ::windows::core::RuntimeName for ProcessVideoFrameContext { const NAME: &'static str = "Windows.Media.Effects.ProcessVideoFrameContext"; } -::windows::core::interface_hierarchy!(ProcessVideoFrameContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessVideoFrameContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessVideoFrameContext {} unsafe impl ::core::marker::Sync for ProcessVideoFrameContext {} #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -1468,8 +1468,8 @@ impl SlowMotionEffectDefinition { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TimeStretchRate(&self) -> ::windows::core::Result { @@ -1512,7 +1512,7 @@ impl ::core::fmt::Debug for SlowMotionEffectDefinition { } } impl ::windows::core::RuntimeType for SlowMotionEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.SlowMotionEffectDefinition;{35053cd0-176c-4763-82c4-1b02dbe31737})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.SlowMotionEffectDefinition;{35053cd0-176c-4763-82c4-1b02dbe31737})"); } impl ::core::clone::Clone for SlowMotionEffectDefinition { fn clone(&self) -> Self { @@ -1528,7 +1528,7 @@ unsafe impl ::windows::core::Interface for SlowMotionEffectDefinition { impl ::windows::core::RuntimeName for SlowMotionEffectDefinition { const NAME: &'static str = "Windows.Media.Effects.SlowMotionEffectDefinition"; } -::windows::core::interface_hierarchy!(SlowMotionEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SlowMotionEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVideoEffectDefinition { type Error = ::windows::core::Error; fn try_from(value: SlowMotionEffectDefinition) -> ::windows::core::Result { @@ -1590,7 +1590,7 @@ impl VideoCompositorDefinition { } #[doc(hidden)] pub fn IVideoCompositorDefinitionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1606,7 +1606,7 @@ impl ::core::fmt::Debug for VideoCompositorDefinition { } } impl ::windows::core::RuntimeType for VideoCompositorDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoCompositorDefinition;{7946b8d0-2010-4ae3-9ab2-2cef42edd4d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoCompositorDefinition;{7946b8d0-2010-4ae3-9ab2-2cef42edd4d2})"); } impl ::core::clone::Clone for VideoCompositorDefinition { fn clone(&self) -> Self { @@ -1622,7 +1622,7 @@ unsafe impl ::windows::core::Interface for VideoCompositorDefinition { impl ::windows::core::RuntimeName for VideoCompositorDefinition { const NAME: &'static str = "Windows.Media.Effects.VideoCompositorDefinition"; } -::windows::core::interface_hierarchy!(VideoCompositorDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoCompositorDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVideoCompositorDefinition { type Error = ::windows::core::Error; fn try_from(value: VideoCompositorDefinition) -> ::windows::core::Result { @@ -1684,7 +1684,7 @@ impl VideoEffectDefinition { } #[doc(hidden)] pub fn IVideoEffectDefinitionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1700,7 +1700,7 @@ impl ::core::fmt::Debug for VideoEffectDefinition { } } impl ::windows::core::RuntimeType for VideoEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } impl ::core::clone::Clone for VideoEffectDefinition { fn clone(&self) -> Self { @@ -1716,7 +1716,7 @@ unsafe impl ::windows::core::Interface for VideoEffectDefinition { impl ::windows::core::RuntimeName for VideoEffectDefinition { const NAME: &'static str = "Windows.Media.Effects.VideoEffectDefinition"; } -::windows::core::interface_hierarchy!(VideoEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVideoEffectDefinition { type Error = ::windows::core::Error; fn try_from(value: VideoEffectDefinition) -> ::windows::core::Result { @@ -1745,8 +1745,8 @@ impl VideoTransformEffectDefinition { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ActivatableClassId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1875,7 +1875,7 @@ impl ::core::fmt::Debug for VideoTransformEffectDefinition { } } impl ::windows::core::RuntimeType for VideoTransformEffectDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoTransformEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoTransformEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } impl ::core::clone::Clone for VideoTransformEffectDefinition { fn clone(&self) -> Self { @@ -1891,7 +1891,7 @@ unsafe impl ::windows::core::Interface for VideoTransformEffectDefinition { impl ::windows::core::RuntimeName for VideoTransformEffectDefinition { const NAME: &'static str = "Windows.Media.Effects.VideoTransformEffectDefinition"; } -::windows::core::interface_hierarchy!(VideoTransformEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoTransformEffectDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVideoEffectDefinition { type Error = ::windows::core::Error; fn try_from(value: VideoTransformEffectDefinition) -> ::windows::core::Result { @@ -1997,7 +1997,7 @@ impl ::core::fmt::Debug for VideoTransformSphericalProjection { } } impl ::windows::core::RuntimeType for VideoTransformSphericalProjection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoTransformSphericalProjection;{cf4401f0-9bf2-4c39-9f41-e022514a8468})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoTransformSphericalProjection;{cf4401f0-9bf2-4c39-9f41-e022514a8468})"); } impl ::core::clone::Clone for VideoTransformSphericalProjection { fn clone(&self) -> Self { @@ -2013,7 +2013,7 @@ unsafe impl ::windows::core::Interface for VideoTransformSphericalProjection { impl ::windows::core::RuntimeName for VideoTransformSphericalProjection { const NAME: &'static str = "Windows.Media.Effects.VideoTransformSphericalProjection"; } -::windows::core::interface_hierarchy!(VideoTransformSphericalProjection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoTransformSphericalProjection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoTransformSphericalProjection {} unsafe impl ::core::marker::Sync for VideoTransformSphericalProjection {} #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -2062,7 +2062,7 @@ impl ::core::fmt::Debug for AudioEffectType { } } impl ::windows::core::RuntimeType for AudioEffectType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Effects.AudioEffectType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Effects.AudioEffectType;i4)"); } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] @@ -2094,7 +2094,7 @@ impl ::core::fmt::Debug for MediaEffectClosedReason { } } impl ::windows::core::RuntimeType for MediaEffectClosedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Effects.MediaEffectClosedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Effects.MediaEffectClosedReason;i4)"); } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] @@ -2125,7 +2125,7 @@ impl ::core::fmt::Debug for MediaMemoryTypes { } } impl ::windows::core::RuntimeType for MediaMemoryTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Effects.MediaMemoryTypes;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Effects.MediaMemoryTypes;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs index 1144bb829d..4431070144 100644 --- a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs @@ -193,7 +193,7 @@ impl ::core::fmt::Debug for DetectedFace { } } impl ::windows::core::RuntimeType for DetectedFace { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.DetectedFace;{8200d454-66bc-34df-9410-e89400195414})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.DetectedFace;{8200d454-66bc-34df-9410-e89400195414})"); } impl ::core::clone::Clone for DetectedFace { fn clone(&self) -> Self { @@ -209,7 +209,7 @@ unsafe impl ::windows::core::Interface for DetectedFace { impl ::windows::core::RuntimeName for DetectedFace { const NAME: &'static str = "Windows.Media.FaceAnalysis.DetectedFace"; } -::windows::core::interface_hierarchy!(DetectedFace, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DetectedFace, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DetectedFace {} unsafe impl ::core::marker::Sync for DetectedFace {} #[doc = "*Required features: `\"Media_FaceAnalysis\"`*"] @@ -296,7 +296,7 @@ impl FaceDetector { } #[doc(hidden)] pub fn IFaceDetectorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -312,7 +312,7 @@ impl ::core::fmt::Debug for FaceDetector { } } impl ::windows::core::RuntimeType for FaceDetector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.FaceDetector;{16b672dc-fe6f-3117-8d95-c3f04d51630c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.FaceDetector;{16b672dc-fe6f-3117-8d95-c3f04d51630c})"); } impl ::core::clone::Clone for FaceDetector { fn clone(&self) -> Self { @@ -328,7 +328,7 @@ unsafe impl ::windows::core::Interface for FaceDetector { impl ::windows::core::RuntimeName for FaceDetector { const NAME: &'static str = "Windows.Media.FaceAnalysis.FaceDetector"; } -::windows::core::interface_hierarchy!(FaceDetector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FaceDetector, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FaceDetector {} unsafe impl ::core::marker::Sync for FaceDetector {} #[doc = "*Required features: `\"Media_FaceAnalysis\"`*"] @@ -406,7 +406,7 @@ impl FaceTracker { } #[doc(hidden)] pub fn IFaceTrackerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -422,7 +422,7 @@ impl ::core::fmt::Debug for FaceTracker { } } impl ::windows::core::RuntimeType for FaceTracker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.FaceTracker;{6ba67d8c-a841-4420-93e6-2420a1884fcf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.FaceTracker;{6ba67d8c-a841-4420-93e6-2420a1884fcf})"); } impl ::core::clone::Clone for FaceTracker { fn clone(&self) -> Self { @@ -438,7 +438,7 @@ unsafe impl ::windows::core::Interface for FaceTracker { impl ::windows::core::RuntimeName for FaceTracker { const NAME: &'static str = "Windows.Media.FaceAnalysis.FaceTracker"; } -::windows::core::interface_hierarchy!(FaceTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FaceTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FaceTracker {} unsafe impl ::core::marker::Sync for FaceTracker {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Media/Import/mod.rs b/crates/libs/windows/src/Windows/Media/Import/mod.rs index e962441d10..adf299dada 100644 --- a/crates/libs/windows/src/Windows/Media/Import/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Import/mod.rs @@ -674,7 +674,7 @@ impl ::core::fmt::Debug for PhotoImportDeleteImportedItemsFromSourceResult { } } impl ::windows::core::RuntimeType for PhotoImportDeleteImportedItemsFromSourceResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportDeleteImportedItemsFromSourceResult;{f4e112f8-843d-428a-a1a6-81510292b0ae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportDeleteImportedItemsFromSourceResult;{f4e112f8-843d-428a-a1a6-81510292b0ae})"); } impl ::core::clone::Clone for PhotoImportDeleteImportedItemsFromSourceResult { fn clone(&self) -> Self { @@ -690,7 +690,7 @@ unsafe impl ::windows::core::Interface for PhotoImportDeleteImportedItemsFromSou impl ::windows::core::RuntimeName for PhotoImportDeleteImportedItemsFromSourceResult { const NAME: &'static str = "Windows.Media.Import.PhotoImportDeleteImportedItemsFromSourceResult"; } -::windows::core::interface_hierarchy!(PhotoImportDeleteImportedItemsFromSourceResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportDeleteImportedItemsFromSourceResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportDeleteImportedItemsFromSourceResult {} unsafe impl ::core::marker::Sync for PhotoImportDeleteImportedItemsFromSourceResult {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -946,7 +946,7 @@ impl ::core::fmt::Debug for PhotoImportFindItemsResult { } } impl ::windows::core::RuntimeType for PhotoImportFindItemsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportFindItemsResult;{3915e647-6c78-492b-844e-8fe5e8f6bfb9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportFindItemsResult;{3915e647-6c78-492b-844e-8fe5e8f6bfb9})"); } impl ::core::clone::Clone for PhotoImportFindItemsResult { fn clone(&self) -> Self { @@ -962,7 +962,7 @@ unsafe impl ::windows::core::Interface for PhotoImportFindItemsResult { impl ::windows::core::RuntimeName for PhotoImportFindItemsResult { const NAME: &'static str = "Windows.Media.Import.PhotoImportFindItemsResult"; } -::windows::core::interface_hierarchy!(PhotoImportFindItemsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportFindItemsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportFindItemsResult {} unsafe impl ::core::marker::Sync for PhotoImportFindItemsResult {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -1084,7 +1084,7 @@ impl ::core::fmt::Debug for PhotoImportImportItemsResult { } } impl ::windows::core::RuntimeType for PhotoImportImportItemsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportImportItemsResult;{e4d4f478-d419-4443-a84e-f06a850c0b00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportImportItemsResult;{e4d4f478-d419-4443-a84e-f06a850c0b00})"); } impl ::core::clone::Clone for PhotoImportImportItemsResult { fn clone(&self) -> Self { @@ -1100,7 +1100,7 @@ unsafe impl ::windows::core::Interface for PhotoImportImportItemsResult { impl ::windows::core::RuntimeName for PhotoImportImportItemsResult { const NAME: &'static str = "Windows.Media.Import.PhotoImportImportItemsResult"; } -::windows::core::interface_hierarchy!(PhotoImportImportItemsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportImportItemsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportImportItemsResult {} unsafe impl ::core::marker::Sync for PhotoImportImportItemsResult {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -1227,7 +1227,7 @@ impl ::core::fmt::Debug for PhotoImportItem { } } impl ::windows::core::RuntimeType for PhotoImportItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportItem;{a9d07e76-9bfc-43b8-b356-633b6a988c9e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportItem;{a9d07e76-9bfc-43b8-b356-633b6a988c9e})"); } impl ::core::clone::Clone for PhotoImportItem { fn clone(&self) -> Self { @@ -1243,7 +1243,7 @@ unsafe impl ::windows::core::Interface for PhotoImportItem { impl ::windows::core::RuntimeName for PhotoImportItem { const NAME: &'static str = "Windows.Media.Import.PhotoImportItem"; } -::windows::core::interface_hierarchy!(PhotoImportItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportItem {} unsafe impl ::core::marker::Sync for PhotoImportItem {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -1270,7 +1270,7 @@ impl ::core::fmt::Debug for PhotoImportItemImportedEventArgs { } } impl ::windows::core::RuntimeType for PhotoImportItemImportedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportItemImportedEventArgs;{42cb2fdd-7d68-47b5-bc7c-ceb73e0c77dc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportItemImportedEventArgs;{42cb2fdd-7d68-47b5-bc7c-ceb73e0c77dc})"); } impl ::core::clone::Clone for PhotoImportItemImportedEventArgs { fn clone(&self) -> Self { @@ -1286,7 +1286,7 @@ unsafe impl ::windows::core::Interface for PhotoImportItemImportedEventArgs { impl ::windows::core::RuntimeName for PhotoImportItemImportedEventArgs { const NAME: &'static str = "Windows.Media.Import.PhotoImportItemImportedEventArgs"; } -::windows::core::interface_hierarchy!(PhotoImportItemImportedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportItemImportedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportItemImportedEventArgs {} unsafe impl ::core::marker::Sync for PhotoImportItemImportedEventArgs {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -1318,7 +1318,7 @@ impl PhotoImportManager { } #[doc(hidden)] pub fn IPhotoImportManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1383,7 +1383,7 @@ impl ::core::fmt::Debug for PhotoImportOperation { } } impl ::windows::core::RuntimeType for PhotoImportOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportOperation;{d9f797e4-a09a-4ee4-a4b1-20940277a5be})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportOperation;{d9f797e4-a09a-4ee4-a4b1-20940277a5be})"); } impl ::core::clone::Clone for PhotoImportOperation { fn clone(&self) -> Self { @@ -1399,7 +1399,7 @@ unsafe impl ::windows::core::Interface for PhotoImportOperation { impl ::windows::core::RuntimeName for PhotoImportOperation { const NAME: &'static str = "Windows.Media.Import.PhotoImportOperation"; } -::windows::core::interface_hierarchy!(PhotoImportOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportOperation {} unsafe impl ::core::marker::Sync for PhotoImportOperation {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -1426,7 +1426,7 @@ impl ::core::fmt::Debug for PhotoImportSelectionChangedEventArgs { } } impl ::windows::core::RuntimeType for PhotoImportSelectionChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSelectionChangedEventArgs;{10461782-fa9d-4c30-8bc9-4d64911572d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSelectionChangedEventArgs;{10461782-fa9d-4c30-8bc9-4d64911572d5})"); } impl ::core::clone::Clone for PhotoImportSelectionChangedEventArgs { fn clone(&self) -> Self { @@ -1442,7 +1442,7 @@ unsafe impl ::windows::core::Interface for PhotoImportSelectionChangedEventArgs impl ::windows::core::RuntimeName for PhotoImportSelectionChangedEventArgs { const NAME: &'static str = "Windows.Media.Import.PhotoImportSelectionChangedEventArgs"; } -::windows::core::interface_hierarchy!(PhotoImportSelectionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportSelectionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportSelectionChangedEventArgs {} unsafe impl ::core::marker::Sync for PhotoImportSelectionChangedEventArgs {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -1565,7 +1565,7 @@ impl ::core::fmt::Debug for PhotoImportSession { } } impl ::windows::core::RuntimeType for PhotoImportSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSession;{aa63916e-ecdb-4efe-94c6-5f5cafe34cfb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSession;{aa63916e-ecdb-4efe-94c6-5f5cafe34cfb})"); } impl ::core::clone::Clone for PhotoImportSession { fn clone(&self) -> Self { @@ -1581,7 +1581,7 @@ unsafe impl ::windows::core::Interface for PhotoImportSession { impl ::windows::core::RuntimeName for PhotoImportSession { const NAME: &'static str = "Windows.Media.Import.PhotoImportSession"; } -::windows::core::interface_hierarchy!(PhotoImportSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1646,7 +1646,7 @@ impl ::core::fmt::Debug for PhotoImportSidecar { } } impl ::windows::core::RuntimeType for PhotoImportSidecar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSidecar;{46d7d757-f802-44c7-9c98-7a71f4bc1486})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSidecar;{46d7d757-f802-44c7-9c98-7a71f4bc1486})"); } impl ::core::clone::Clone for PhotoImportSidecar { fn clone(&self) -> Self { @@ -1662,7 +1662,7 @@ unsafe impl ::windows::core::Interface for PhotoImportSidecar { impl ::windows::core::RuntimeName for PhotoImportSidecar { const NAME: &'static str = "Windows.Media.Import.PhotoImportSidecar"; } -::windows::core::interface_hierarchy!(PhotoImportSidecar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportSidecar, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportSidecar {} unsafe impl ::core::marker::Sync for PhotoImportSidecar {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -1820,7 +1820,7 @@ impl PhotoImportSource { } #[doc(hidden)] pub fn IPhotoImportSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1836,7 +1836,7 @@ impl ::core::fmt::Debug for PhotoImportSource { } } impl ::windows::core::RuntimeType for PhotoImportSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSource;{1f8ea35e-145b-4cd6-87f1-54965a982fef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSource;{1f8ea35e-145b-4cd6-87f1-54965a982fef})"); } impl ::core::clone::Clone for PhotoImportSource { fn clone(&self) -> Self { @@ -1852,7 +1852,7 @@ unsafe impl ::windows::core::Interface for PhotoImportSource { impl ::windows::core::RuntimeName for PhotoImportSource { const NAME: &'static str = "Windows.Media.Import.PhotoImportSource"; } -::windows::core::interface_hierarchy!(PhotoImportSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportSource {} unsafe impl ::core::marker::Sync for PhotoImportSource {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -1925,7 +1925,7 @@ impl ::core::fmt::Debug for PhotoImportStorageMedium { } } impl ::windows::core::RuntimeType for PhotoImportStorageMedium { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportStorageMedium;{f2b9b093-fc85-487f-87c2-58d675d05b07})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportStorageMedium;{f2b9b093-fc85-487f-87c2-58d675d05b07})"); } impl ::core::clone::Clone for PhotoImportStorageMedium { fn clone(&self) -> Self { @@ -1941,7 +1941,7 @@ unsafe impl ::windows::core::Interface for PhotoImportStorageMedium { impl ::windows::core::RuntimeName for PhotoImportStorageMedium { const NAME: &'static str = "Windows.Media.Import.PhotoImportStorageMedium"; } -::windows::core::interface_hierarchy!(PhotoImportStorageMedium, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportStorageMedium, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportStorageMedium {} unsafe impl ::core::marker::Sync for PhotoImportStorageMedium {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -2000,7 +2000,7 @@ impl ::core::fmt::Debug for PhotoImportVideoSegment { } } impl ::windows::core::RuntimeType for PhotoImportVideoSegment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportVideoSegment;{623c0289-321a-41d8-9166-8c62a333276c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportVideoSegment;{623c0289-321a-41d8-9166-8c62a333276c})"); } impl ::core::clone::Clone for PhotoImportVideoSegment { fn clone(&self) -> Self { @@ -2016,7 +2016,7 @@ unsafe impl ::windows::core::Interface for PhotoImportVideoSegment { impl ::windows::core::RuntimeName for PhotoImportVideoSegment { const NAME: &'static str = "Windows.Media.Import.PhotoImportVideoSegment"; } -::windows::core::interface_hierarchy!(PhotoImportVideoSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhotoImportVideoSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PhotoImportVideoSegment {} unsafe impl ::core::marker::Sync for PhotoImportVideoSegment {} #[doc = "*Required features: `\"Media_Import\"`*"] @@ -2048,7 +2048,7 @@ impl ::core::fmt::Debug for PhotoImportAccessMode { } } impl ::windows::core::RuntimeType for PhotoImportAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportAccessMode;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2080,7 +2080,7 @@ impl ::core::fmt::Debug for PhotoImportConnectionTransport { } } impl ::windows::core::RuntimeType for PhotoImportConnectionTransport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportConnectionTransport;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportConnectionTransport;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2111,7 +2111,7 @@ impl ::core::fmt::Debug for PhotoImportContentType { } } impl ::windows::core::RuntimeType for PhotoImportContentType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportContentType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportContentType;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2143,7 +2143,7 @@ impl ::core::fmt::Debug for PhotoImportContentTypeFilter { } } impl ::windows::core::RuntimeType for PhotoImportContentTypeFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportContentTypeFilter;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportContentTypeFilter;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2175,7 +2175,7 @@ impl ::core::fmt::Debug for PhotoImportImportMode { } } impl ::windows::core::RuntimeType for PhotoImportImportMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportImportMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportImportMode;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2206,7 +2206,7 @@ impl ::core::fmt::Debug for PhotoImportItemSelectionMode { } } impl ::windows::core::RuntimeType for PhotoImportItemSelectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportItemSelectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportItemSelectionMode;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2237,7 +2237,7 @@ impl ::core::fmt::Debug for PhotoImportPowerSource { } } impl ::windows::core::RuntimeType for PhotoImportPowerSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportPowerSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportPowerSource;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2272,7 +2272,7 @@ impl ::core::fmt::Debug for PhotoImportSourceType { } } impl ::windows::core::RuntimeType for PhotoImportSourceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportSourceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportSourceType;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2304,7 +2304,7 @@ impl ::core::fmt::Debug for PhotoImportStage { } } impl ::windows::core::RuntimeType for PhotoImportStage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportStage;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportStage;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2335,7 +2335,7 @@ impl ::core::fmt::Debug for PhotoImportStorageMediumType { } } impl ::windows::core::RuntimeType for PhotoImportStorageMediumType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportStorageMediumType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportStorageMediumType;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2367,7 +2367,7 @@ impl ::core::fmt::Debug for PhotoImportSubfolderCreationMode { } } impl ::windows::core::RuntimeType for PhotoImportSubfolderCreationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportSubfolderCreationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportSubfolderCreationMode;i4)"); } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] @@ -2398,7 +2398,7 @@ impl ::core::fmt::Debug for PhotoImportSubfolderDateFormat { } } impl ::windows::core::RuntimeType for PhotoImportSubfolderDateFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportSubfolderDateFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Import.PhotoImportSubfolderDateFormat;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Media_Import\"`*"] @@ -2424,7 +2424,7 @@ impl ::windows::core::TypeKind for PhotoImportProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for PhotoImportProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Media.Import.PhotoImportProgress;u4;u4;u8;u8;f8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Media.Import.PhotoImportProgress;u4;u4;u8;u8;f8)"); } impl ::core::cmp::PartialEq for PhotoImportProgress { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index e6d85168dd..c123b54eb8 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -499,7 +499,7 @@ impl IMediaEncodingProperties { } } } -::windows::core::interface_hierarchy!(IMediaEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaEncodingProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -512,7 +512,7 @@ impl ::core::fmt::Debug for IMediaEncodingProperties { } } impl ::windows::core::RuntimeType for IMediaEncodingProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b4002af6-acd4-4e5a-a24b-5d7498a8b8c4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b4002af6-acd4-4e5a-a24b-5d7498a8b8c4}"); } unsafe impl ::windows::core::Vtable for IMediaEncodingProperties { type Vtable = IMediaEncodingProperties_Vtbl; @@ -954,8 +954,8 @@ impl AudioEncodingProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetBitrate(&self, value: u32) -> ::windows::core::Result<()> { @@ -1095,12 +1095,12 @@ impl AudioEncodingProperties { } #[doc(hidden)] pub fn IAudioEncodingPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAudioEncodingPropertiesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1116,7 +1116,7 @@ impl ::core::fmt::Debug for AudioEncodingProperties { } } impl ::windows::core::RuntimeType for AudioEncodingProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.AudioEncodingProperties;{62bc7a16-005c-4b3b-8a0b-0a090e9687f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.AudioEncodingProperties;{62bc7a16-005c-4b3b-8a0b-0a090e9687f3})"); } impl ::core::clone::Clone for AudioEncodingProperties { fn clone(&self) -> Self { @@ -1132,7 +1132,7 @@ unsafe impl ::windows::core::Interface for AudioEncodingProperties { impl ::windows::core::RuntimeName for AudioEncodingProperties { const NAME: &'static str = "Windows.Media.MediaProperties.AudioEncodingProperties"; } -::windows::core::interface_hierarchy!(AudioEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaEncodingProperties { type Error = ::windows::core::Error; fn try_from(value: AudioEncodingProperties) -> ::windows::core::Result { @@ -1161,8 +1161,8 @@ impl ContainerEncodingProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Copy(&self) -> ::windows::core::Result { @@ -1212,7 +1212,7 @@ impl ::core::fmt::Debug for ContainerEncodingProperties { } } impl ::windows::core::RuntimeType for ContainerEncodingProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.ContainerEncodingProperties;{59ac2a57-b32a-479e-8a61-4b7f2e9e7ea0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.ContainerEncodingProperties;{59ac2a57-b32a-479e-8a61-4b7f2e9e7ea0})"); } impl ::core::clone::Clone for ContainerEncodingProperties { fn clone(&self) -> Self { @@ -1228,7 +1228,7 @@ unsafe impl ::windows::core::Interface for ContainerEncodingProperties { impl ::windows::core::RuntimeName for ContainerEncodingProperties { const NAME: &'static str = "Windows.Media.MediaProperties.ContainerEncodingProperties"; } -::windows::core::interface_hierarchy!(ContainerEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContainerEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaEncodingProperties { type Error = ::windows::core::Error; fn try_from(value: ContainerEncodingProperties) -> ::windows::core::Result { @@ -1315,7 +1315,7 @@ impl H264ProfileIds { } #[doc(hidden)] pub fn IH264ProfileIdsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1329,8 +1329,8 @@ impl ImageEncodingProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetWidth(&self, value: u32) -> ::windows::core::Result<()> { @@ -1427,17 +1427,17 @@ impl ImageEncodingProperties { } #[doc(hidden)] pub fn IImageEncodingPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IImageEncodingPropertiesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IImageEncodingPropertiesStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1453,7 +1453,7 @@ impl ::core::fmt::Debug for ImageEncodingProperties { } } impl ::windows::core::RuntimeType for ImageEncodingProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.ImageEncodingProperties;{78625635-f331-4189-b1c3-b48d5ae034f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.ImageEncodingProperties;{78625635-f331-4189-b1c3-b48d5ae034f1})"); } impl ::core::clone::Clone for ImageEncodingProperties { fn clone(&self) -> Self { @@ -1469,7 +1469,7 @@ unsafe impl ::windows::core::Interface for ImageEncodingProperties { impl ::windows::core::RuntimeName for ImageEncodingProperties { const NAME: &'static str = "Windows.Media.MediaProperties.ImageEncodingProperties"; } -::windows::core::interface_hierarchy!(ImageEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaEncodingProperties { type Error = ::windows::core::Error; fn try_from(value: ImageEncodingProperties) -> ::windows::core::Result { @@ -1498,8 +1498,8 @@ impl MediaEncodingProfile { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetAudio(&self, value: &AudioEncodingProperties) -> ::windows::core::Result<()> { @@ -1678,17 +1678,17 @@ impl MediaEncodingProfile { } #[doc(hidden)] pub fn IMediaEncodingProfileStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaEncodingProfileStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaEncodingProfileStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1704,7 +1704,7 @@ impl ::core::fmt::Debug for MediaEncodingProfile { } } impl ::windows::core::RuntimeType for MediaEncodingProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaEncodingProfile;{e7dbf5a8-1db9-4783-876b-3dfe12acfdb3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaEncodingProfile;{e7dbf5a8-1db9-4783-876b-3dfe12acfdb3})"); } impl ::core::clone::Clone for MediaEncodingProfile { fn clone(&self) -> Self { @@ -1720,7 +1720,7 @@ unsafe impl ::windows::core::Interface for MediaEncodingProfile { impl ::windows::core::RuntimeName for MediaEncodingProfile { const NAME: &'static str = "Windows.Media.MediaProperties.MediaEncodingProfile"; } -::windows::core::interface_hierarchy!(MediaEncodingProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaEncodingProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaEncodingProfile {} unsafe impl ::core::marker::Sync for MediaEncodingProfile {} #[doc = "*Required features: `\"Media_MediaProperties\"`*"] @@ -2040,32 +2040,32 @@ impl MediaEncodingSubtypes { } #[doc(hidden)] pub fn IMediaEncodingSubtypesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaEncodingSubtypesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaEncodingSubtypesStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaEncodingSubtypesStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaEncodingSubtypesStatics5 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaEncodingSubtypesStatics6 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2081,8 +2081,8 @@ impl MediaPropertySet { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2171,7 +2171,7 @@ impl ::core::fmt::Debug for MediaPropertySet { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for MediaPropertySet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaPropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};g16;cinterface(IInspectable)))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaPropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};g16;cinterface(IInspectable)))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for MediaPropertySet { @@ -2208,7 +2208,7 @@ impl ::core::iter::IntoIterator for &MediaPropertySet { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(MediaPropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -2296,7 +2296,7 @@ impl ::core::fmt::Debug for MediaRatio { } } impl ::windows::core::RuntimeType for MediaRatio { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaRatio;{d2d0fee5-8929-401d-ac78-7d357e378163})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaRatio;{d2d0fee5-8929-401d-ac78-7d357e378163})"); } impl ::core::clone::Clone for MediaRatio { fn clone(&self) -> Self { @@ -2312,7 +2312,7 @@ unsafe impl ::windows::core::Interface for MediaRatio { impl ::windows::core::RuntimeName for MediaRatio { const NAME: &'static str = "Windows.Media.MediaProperties.MediaRatio"; } -::windows::core::interface_hierarchy!(MediaRatio, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaRatio, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaRatio {} unsafe impl ::core::marker::Sync for MediaRatio {} #[doc = "*Required features: `\"Media_MediaProperties\"`*"] @@ -2350,7 +2350,7 @@ impl Mpeg2ProfileIds { } #[doc(hidden)] pub fn IMpeg2ProfileIdsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2364,8 +2364,8 @@ impl TimedMetadataEncodingProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2436,7 +2436,7 @@ impl TimedMetadataEncodingProperties { } #[doc(hidden)] pub fn ITimedMetadataEncodingPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2452,7 +2452,7 @@ impl ::core::fmt::Debug for TimedMetadataEncodingProperties { } } impl ::windows::core::RuntimeType for TimedMetadataEncodingProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.TimedMetadataEncodingProperties;{b4002af6-acd4-4e5a-a24b-5d7498a8b8c4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.TimedMetadataEncodingProperties;{b4002af6-acd4-4e5a-a24b-5d7498a8b8c4})"); } impl ::core::clone::Clone for TimedMetadataEncodingProperties { fn clone(&self) -> Self { @@ -2468,7 +2468,7 @@ unsafe impl ::windows::core::Interface for TimedMetadataEncodingProperties { impl ::windows::core::RuntimeName for TimedMetadataEncodingProperties { const NAME: &'static str = "Windows.Media.MediaProperties.TimedMetadataEncodingProperties"; } -::windows::core::interface_hierarchy!(TimedMetadataEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedMetadataEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaEncodingProperties { type Error = ::windows::core::Error; fn try_from(value: TimedMetadataEncodingProperties) -> ::windows::core::Result { @@ -2497,8 +2497,8 @@ impl VideoEncodingProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2641,12 +2641,12 @@ impl VideoEncodingProperties { } #[doc(hidden)] pub fn IVideoEncodingPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IVideoEncodingPropertiesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2662,7 +2662,7 @@ impl ::core::fmt::Debug for VideoEncodingProperties { } } impl ::windows::core::RuntimeType for VideoEncodingProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.VideoEncodingProperties;{76ee6c9a-37c2-4f2a-880a-1282bbb4373d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.VideoEncodingProperties;{76ee6c9a-37c2-4f2a-880a-1282bbb4373d})"); } impl ::core::clone::Clone for VideoEncodingProperties { fn clone(&self) -> Self { @@ -2678,7 +2678,7 @@ unsafe impl ::windows::core::Interface for VideoEncodingProperties { impl ::windows::core::RuntimeName for VideoEncodingProperties { const NAME: &'static str = "Windows.Media.MediaProperties.VideoEncodingProperties"; } -::windows::core::interface_hierarchy!(VideoEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoEncodingProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaEncodingProperties { type Error = ::windows::core::Error; fn try_from(value: VideoEncodingProperties) -> ::windows::core::Result { @@ -2730,7 +2730,7 @@ impl ::core::fmt::Debug for AudioEncodingQuality { } } impl ::windows::core::RuntimeType for AudioEncodingQuality { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.AudioEncodingQuality;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.AudioEncodingQuality;i4)"); } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] @@ -2794,7 +2794,7 @@ impl ::core::ops::Not for MediaMirroringOptions { } } impl ::windows::core::RuntimeType for MediaMirroringOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.MediaMirroringOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.MediaMirroringOptions;u4)"); } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] @@ -2825,7 +2825,7 @@ impl ::core::fmt::Debug for MediaPixelFormat { } } impl ::windows::core::RuntimeType for MediaPixelFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.MediaPixelFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.MediaPixelFormat;i4)"); } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] @@ -2857,7 +2857,7 @@ impl ::core::fmt::Debug for MediaRotation { } } impl ::windows::core::RuntimeType for MediaRotation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.MediaRotation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.MediaRotation;i4)"); } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] @@ -2887,7 +2887,7 @@ impl ::core::fmt::Debug for MediaThumbnailFormat { } } impl ::windows::core::RuntimeType for MediaThumbnailFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.MediaThumbnailFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.MediaThumbnailFormat;i4)"); } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] @@ -2918,7 +2918,7 @@ impl ::core::fmt::Debug for SphericalVideoFrameFormat { } } impl ::windows::core::RuntimeType for SphericalVideoFrameFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.SphericalVideoFrameFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.SphericalVideoFrameFormat;i4)"); } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] @@ -2949,7 +2949,7 @@ impl ::core::fmt::Debug for StereoscopicVideoPackingMode { } } impl ::windows::core::RuntimeType for StereoscopicVideoPackingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.StereoscopicVideoPackingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.StereoscopicVideoPackingMode;i4)"); } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] @@ -2987,7 +2987,7 @@ impl ::core::fmt::Debug for VideoEncodingQuality { } } impl ::windows::core::RuntimeType for VideoEncodingQuality { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.VideoEncodingQuality;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaProperties.VideoEncodingQuality;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs index 5c2809f1cf..d8853a1050 100644 --- a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs @@ -571,8 +571,8 @@ impl MiracastReceiver { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn GetDefaultSettings(&self) -> ::windows::core::Result { @@ -684,7 +684,7 @@ impl ::core::fmt::Debug for MiracastReceiver { } } impl ::windows::core::RuntimeType for MiracastReceiver { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiver;{7a315258-e444-51b4-aff7-b88daa1229e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiver;{7a315258-e444-51b4-aff7-b88daa1229e0})"); } impl ::core::clone::Clone for MiracastReceiver { fn clone(&self) -> Self { @@ -700,7 +700,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiver { impl ::windows::core::RuntimeName for MiracastReceiver { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiver"; } -::windows::core::interface_hierarchy!(MiracastReceiver, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiver, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiver {} unsafe impl ::core::marker::Sync for MiracastReceiver {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -734,7 +734,7 @@ impl ::core::fmt::Debug for MiracastReceiverApplySettingsResult { } } impl ::windows::core::RuntimeType for MiracastReceiverApplySettingsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverApplySettingsResult;{d0aa6272-09cd-58e1-a4f2-5d5143d312f9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverApplySettingsResult;{d0aa6272-09cd-58e1-a4f2-5d5143d312f9})"); } impl ::core::clone::Clone for MiracastReceiverApplySettingsResult { fn clone(&self) -> Self { @@ -750,7 +750,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverApplySettingsResult { impl ::windows::core::RuntimeName for MiracastReceiverApplySettingsResult { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverApplySettingsResult"; } -::windows::core::interface_hierarchy!(MiracastReceiverApplySettingsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverApplySettingsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverApplySettingsResult {} unsafe impl ::core::marker::Sync for MiracastReceiverApplySettingsResult {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -838,7 +838,7 @@ impl ::core::fmt::Debug for MiracastReceiverConnection { } } impl ::windows::core::RuntimeType for MiracastReceiverConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverConnection;{704b2f36-d2e5-551f-a854-f822b7917d28})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverConnection;{704b2f36-d2e5-551f-a854-f822b7917d28})"); } impl ::core::clone::Clone for MiracastReceiverConnection { fn clone(&self) -> Self { @@ -854,7 +854,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverConnection { impl ::windows::core::RuntimeName for MiracastReceiverConnection { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverConnection"; } -::windows::core::interface_hierarchy!(MiracastReceiverConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -919,7 +919,7 @@ impl ::core::fmt::Debug for MiracastReceiverConnectionCreatedEventArgs { } } impl ::windows::core::RuntimeType for MiracastReceiverConnectionCreatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverConnectionCreatedEventArgs;{7d8dfa39-307a-5c0f-94bd-d0c69d169982})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverConnectionCreatedEventArgs;{7d8dfa39-307a-5c0f-94bd-d0c69d169982})"); } impl ::core::clone::Clone for MiracastReceiverConnectionCreatedEventArgs { fn clone(&self) -> Self { @@ -935,7 +935,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverConnectionCreatedEven impl ::windows::core::RuntimeName for MiracastReceiverConnectionCreatedEventArgs { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverConnectionCreatedEventArgs"; } -::windows::core::interface_hierarchy!(MiracastReceiverConnectionCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverConnectionCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverConnectionCreatedEventArgs {} unsafe impl ::core::marker::Sync for MiracastReceiverConnectionCreatedEventArgs {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1019,7 +1019,7 @@ impl ::core::fmt::Debug for MiracastReceiverCursorImageChannel { } } impl ::windows::core::RuntimeType for MiracastReceiverCursorImageChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverCursorImageChannel;{d9ac332d-723a-5a9d-b90a-81153efa2a0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverCursorImageChannel;{d9ac332d-723a-5a9d-b90a-81153efa2a0f})"); } impl ::core::clone::Clone for MiracastReceiverCursorImageChannel { fn clone(&self) -> Self { @@ -1035,7 +1035,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverCursorImageChannel { impl ::windows::core::RuntimeName for MiracastReceiverCursorImageChannel { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverCursorImageChannel"; } -::windows::core::interface_hierarchy!(MiracastReceiverCursorImageChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverCursorImageChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverCursorImageChannel {} unsafe impl ::core::marker::Sync for MiracastReceiverCursorImageChannel {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1081,7 +1081,7 @@ impl ::core::fmt::Debug for MiracastReceiverCursorImageChannelSettings { } } impl ::windows::core::RuntimeType for MiracastReceiverCursorImageChannelSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverCursorImageChannelSettings;{ccdbedff-bd00-5b9c-8e4c-00cacf86b634})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverCursorImageChannelSettings;{ccdbedff-bd00-5b9c-8e4c-00cacf86b634})"); } impl ::core::clone::Clone for MiracastReceiverCursorImageChannelSettings { fn clone(&self) -> Self { @@ -1097,7 +1097,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverCursorImageChannelSet impl ::windows::core::RuntimeName for MiracastReceiverCursorImageChannelSettings { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverCursorImageChannelSettings"; } -::windows::core::interface_hierarchy!(MiracastReceiverCursorImageChannelSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverCursorImageChannelSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverCursorImageChannelSettings {} unsafe impl ::core::marker::Sync for MiracastReceiverCursorImageChannelSettings {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1124,7 +1124,7 @@ impl ::core::fmt::Debug for MiracastReceiverDisconnectedEventArgs { } } impl ::windows::core::RuntimeType for MiracastReceiverDisconnectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverDisconnectedEventArgs;{d9a15e5e-5fee-57e6-b4b0-04727db93229})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverDisconnectedEventArgs;{d9a15e5e-5fee-57e6-b4b0-04727db93229})"); } impl ::core::clone::Clone for MiracastReceiverDisconnectedEventArgs { fn clone(&self) -> Self { @@ -1140,7 +1140,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverDisconnectedEventArgs impl ::windows::core::RuntimeName for MiracastReceiverDisconnectedEventArgs { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverDisconnectedEventArgs"; } -::windows::core::interface_hierarchy!(MiracastReceiverDisconnectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverDisconnectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverDisconnectedEventArgs {} unsafe impl ::core::marker::Sync for MiracastReceiverDisconnectedEventArgs {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1211,7 +1211,7 @@ impl ::core::fmt::Debug for MiracastReceiverGameControllerDevice { } } impl ::windows::core::RuntimeType for MiracastReceiverGameControllerDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverGameControllerDevice;{2d7171e8-bed4-5118-a058-e2477eb5888d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverGameControllerDevice;{2d7171e8-bed4-5118-a058-e2477eb5888d})"); } impl ::core::clone::Clone for MiracastReceiverGameControllerDevice { fn clone(&self) -> Self { @@ -1227,7 +1227,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverGameControllerDevice impl ::windows::core::RuntimeName for MiracastReceiverGameControllerDevice { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverGameControllerDevice"; } -::windows::core::interface_hierarchy!(MiracastReceiverGameControllerDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverGameControllerDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverGameControllerDevice {} unsafe impl ::core::marker::Sync for MiracastReceiverGameControllerDevice {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1261,7 +1261,7 @@ impl ::core::fmt::Debug for MiracastReceiverInputDevices { } } impl ::windows::core::RuntimeType for MiracastReceiverInputDevices { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverInputDevices;{da35bb02-28aa-5ee8-96f5-a42901c66f00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverInputDevices;{da35bb02-28aa-5ee8-96f5-a42901c66f00})"); } impl ::core::clone::Clone for MiracastReceiverInputDevices { fn clone(&self) -> Self { @@ -1277,7 +1277,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverInputDevices { impl ::windows::core::RuntimeName for MiracastReceiverInputDevices { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverInputDevices"; } -::windows::core::interface_hierarchy!(MiracastReceiverInputDevices, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverInputDevices, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverInputDevices {} unsafe impl ::core::marker::Sync for MiracastReceiverInputDevices {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1337,7 +1337,7 @@ impl ::core::fmt::Debug for MiracastReceiverKeyboardDevice { } } impl ::windows::core::RuntimeType for MiracastReceiverKeyboardDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverKeyboardDevice;{beb67272-06c0-54ff-ac96-217464ff2501})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverKeyboardDevice;{beb67272-06c0-54ff-ac96-217464ff2501})"); } impl ::core::clone::Clone for MiracastReceiverKeyboardDevice { fn clone(&self) -> Self { @@ -1353,7 +1353,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverKeyboardDevice { impl ::windows::core::RuntimeName for MiracastReceiverKeyboardDevice { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverKeyboardDevice"; } -::windows::core::interface_hierarchy!(MiracastReceiverKeyboardDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverKeyboardDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverKeyboardDevice {} unsafe impl ::core::marker::Sync for MiracastReceiverKeyboardDevice {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1405,7 +1405,7 @@ impl ::core::fmt::Debug for MiracastReceiverMediaSourceCreatedEventArgs { } } impl ::windows::core::RuntimeType for MiracastReceiverMediaSourceCreatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverMediaSourceCreatedEventArgs;{17cf519e-1246-531d-945a-6b158e39c3aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverMediaSourceCreatedEventArgs;{17cf519e-1246-531d-945a-6b158e39c3aa})"); } impl ::core::clone::Clone for MiracastReceiverMediaSourceCreatedEventArgs { fn clone(&self) -> Self { @@ -1421,7 +1421,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverMediaSourceCreatedEve impl ::windows::core::RuntimeName for MiracastReceiverMediaSourceCreatedEventArgs { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverMediaSourceCreatedEventArgs"; } -::windows::core::interface_hierarchy!(MiracastReceiverMediaSourceCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverMediaSourceCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverMediaSourceCreatedEventArgs {} unsafe impl ::core::marker::Sync for MiracastReceiverMediaSourceCreatedEventArgs {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1530,7 +1530,7 @@ impl ::core::fmt::Debug for MiracastReceiverSession { } } impl ::windows::core::RuntimeType for MiracastReceiverSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSession;{1d2bcdb4-ef8b-5209-bfc9-c32116504803})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSession;{1d2bcdb4-ef8b-5209-bfc9-c32116504803})"); } impl ::core::clone::Clone for MiracastReceiverSession { fn clone(&self) -> Self { @@ -1546,7 +1546,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverSession { impl ::windows::core::RuntimeName for MiracastReceiverSession { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverSession"; } -::windows::core::interface_hierarchy!(MiracastReceiverSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1602,7 +1602,7 @@ impl ::core::fmt::Debug for MiracastReceiverSessionStartResult { } } impl ::windows::core::RuntimeType for MiracastReceiverSessionStartResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSessionStartResult;{b7c573ee-40ca-51ff-95f2-c9de34f2e90e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSessionStartResult;{b7c573ee-40ca-51ff-95f2-c9de34f2e90e})"); } impl ::core::clone::Clone for MiracastReceiverSessionStartResult { fn clone(&self) -> Self { @@ -1618,7 +1618,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverSessionStartResult { impl ::windows::core::RuntimeName for MiracastReceiverSessionStartResult { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverSessionStartResult"; } -::windows::core::interface_hierarchy!(MiracastReceiverSessionStartResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverSessionStartResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverSessionStartResult {} unsafe impl ::core::marker::Sync for MiracastReceiverSessionStartResult {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1693,7 +1693,7 @@ impl ::core::fmt::Debug for MiracastReceiverSettings { } } impl ::windows::core::RuntimeType for MiracastReceiverSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSettings;{57cd2f24-c55a-5fbe-9464-eb05307705dd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSettings;{57cd2f24-c55a-5fbe-9464-eb05307705dd})"); } impl ::core::clone::Clone for MiracastReceiverSettings { fn clone(&self) -> Self { @@ -1709,7 +1709,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverSettings { impl ::windows::core::RuntimeName for MiracastReceiverSettings { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverSettings"; } -::windows::core::interface_hierarchy!(MiracastReceiverSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverSettings {} unsafe impl ::core::marker::Sync for MiracastReceiverSettings {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1766,7 +1766,7 @@ impl ::core::fmt::Debug for MiracastReceiverStatus { } } impl ::windows::core::RuntimeType for MiracastReceiverStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverStatus;{c28a5591-23ab-519e-ad09-90bff6dcc87e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverStatus;{c28a5591-23ab-519e-ad09-90bff6dcc87e})"); } impl ::core::clone::Clone for MiracastReceiverStatus { fn clone(&self) -> Self { @@ -1782,7 +1782,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverStatus { impl ::windows::core::RuntimeName for MiracastReceiverStatus { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverStatus"; } -::windows::core::interface_hierarchy!(MiracastReceiverStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverStatus {} unsafe impl ::core::marker::Sync for MiracastReceiverStatus {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1842,7 +1842,7 @@ impl ::core::fmt::Debug for MiracastReceiverStreamControl { } } impl ::windows::core::RuntimeType for MiracastReceiverStreamControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverStreamControl;{38ea2d8b-2769-5ad7-8a8a-254b9df7ba82})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverStreamControl;{38ea2d8b-2769-5ad7-8a8a-254b9df7ba82})"); } impl ::core::clone::Clone for MiracastReceiverStreamControl { fn clone(&self) -> Self { @@ -1858,7 +1858,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverStreamControl { impl ::windows::core::RuntimeName for MiracastReceiverStreamControl { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverStreamControl"; } -::windows::core::interface_hierarchy!(MiracastReceiverStreamControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverStreamControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverStreamControl {} unsafe impl ::core::marker::Sync for MiracastReceiverStreamControl {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1904,7 +1904,7 @@ impl ::core::fmt::Debug for MiracastReceiverVideoStreamSettings { } } impl ::windows::core::RuntimeType for MiracastReceiverVideoStreamSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverVideoStreamSettings;{169b5e1b-149d-52d0-b126-6f89744e4f50})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverVideoStreamSettings;{169b5e1b-149d-52d0-b126-6f89744e4f50})"); } impl ::core::clone::Clone for MiracastReceiverVideoStreamSettings { fn clone(&self) -> Self { @@ -1920,7 +1920,7 @@ unsafe impl ::windows::core::Interface for MiracastReceiverVideoStreamSettings { impl ::windows::core::RuntimeName for MiracastReceiverVideoStreamSettings { const NAME: &'static str = "Windows.Media.Miracast.MiracastReceiverVideoStreamSettings"; } -::windows::core::interface_hierarchy!(MiracastReceiverVideoStreamSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastReceiverVideoStreamSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastReceiverVideoStreamSettings {} unsafe impl ::core::marker::Sync for MiracastReceiverVideoStreamSettings {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -1987,7 +1987,7 @@ impl ::core::fmt::Debug for MiracastTransmitter { } } impl ::windows::core::RuntimeType for MiracastTransmitter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastTransmitter;{342d79fd-2e64-5508-8a30-833d1eac70d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastTransmitter;{342d79fd-2e64-5508-8a30-833d1eac70d0})"); } impl ::core::clone::Clone for MiracastTransmitter { fn clone(&self) -> Self { @@ -2003,7 +2003,7 @@ unsafe impl ::windows::core::Interface for MiracastTransmitter { impl ::windows::core::RuntimeName for MiracastTransmitter { const NAME: &'static str = "Windows.Media.Miracast.MiracastTransmitter"; } -::windows::core::interface_hierarchy!(MiracastTransmitter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MiracastTransmitter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MiracastTransmitter {} unsafe impl ::core::marker::Sync for MiracastTransmitter {} #[doc = "*Required features: `\"Media_Miracast\"`*"] @@ -2040,7 +2040,7 @@ impl ::core::fmt::Debug for MiracastReceiverApplySettingsStatus { } } impl ::windows::core::RuntimeType for MiracastReceiverApplySettingsStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverApplySettingsStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverApplySettingsStatus;i4)"); } #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] @@ -2072,7 +2072,7 @@ impl ::core::fmt::Debug for MiracastReceiverAuthorizationMethod { } } impl ::windows::core::RuntimeType for MiracastReceiverAuthorizationMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverAuthorizationMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverAuthorizationMethod;i4)"); } #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] @@ -2108,7 +2108,7 @@ impl ::core::fmt::Debug for MiracastReceiverDisconnectReason { } } impl ::windows::core::RuntimeType for MiracastReceiverDisconnectReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverDisconnectReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverDisconnectReason;i4)"); } #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] @@ -2138,7 +2138,7 @@ impl ::core::fmt::Debug for MiracastReceiverGameControllerDeviceUsageMode { } } impl ::windows::core::RuntimeType for MiracastReceiverGameControllerDeviceUsageMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverGameControllerDeviceUsageMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverGameControllerDeviceUsageMode;i4)"); } #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] @@ -2172,7 +2172,7 @@ impl ::core::fmt::Debug for MiracastReceiverListeningStatus { } } impl ::windows::core::RuntimeType for MiracastReceiverListeningStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverListeningStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverListeningStatus;i4)"); } #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] @@ -2204,7 +2204,7 @@ impl ::core::fmt::Debug for MiracastReceiverSessionStartStatus { } } impl ::windows::core::RuntimeType for MiracastReceiverSessionStartStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverSessionStartStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverSessionStartStatus;i4)"); } #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] @@ -2236,7 +2236,7 @@ impl ::core::fmt::Debug for MiracastReceiverWiFiStatus { } } impl ::windows::core::RuntimeType for MiracastReceiverWiFiStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverWiFiStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastReceiverWiFiStatus;i4)"); } #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] @@ -2268,7 +2268,7 @@ impl ::core::fmt::Debug for MiracastTransmitterAuthorizationStatus { } } impl ::windows::core::RuntimeType for MiracastTransmitterAuthorizationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastTransmitterAuthorizationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Miracast.MiracastTransmitterAuthorizationStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs index 11f36056d1..54470976c5 100644 --- a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs @@ -194,7 +194,7 @@ impl OcrEngine { } #[doc(hidden)] pub fn IOcrEngineStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -210,7 +210,7 @@ impl ::core::fmt::Debug for OcrEngine { } } impl ::windows::core::RuntimeType for OcrEngine { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrEngine;{5a14bc41-5b76-3140-b680-8825562683ac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrEngine;{5a14bc41-5b76-3140-b680-8825562683ac})"); } impl ::core::clone::Clone for OcrEngine { fn clone(&self) -> Self { @@ -226,7 +226,7 @@ unsafe impl ::windows::core::Interface for OcrEngine { impl ::windows::core::RuntimeName for OcrEngine { const NAME: &'static str = "Windows.Media.Ocr.OcrEngine"; } -::windows::core::interface_hierarchy!(OcrEngine, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OcrEngine, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OcrEngine {} unsafe impl ::core::marker::Sync for OcrEngine {} #[doc = "*Required features: `\"Media_Ocr\"`*"] @@ -262,7 +262,7 @@ impl ::core::fmt::Debug for OcrLine { } } impl ::windows::core::RuntimeType for OcrLine { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrLine;{0043a16f-e31f-3a24-899c-d444bd088124})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrLine;{0043a16f-e31f-3a24-899c-d444bd088124})"); } impl ::core::clone::Clone for OcrLine { fn clone(&self) -> Self { @@ -278,7 +278,7 @@ unsafe impl ::windows::core::Interface for OcrLine { impl ::windows::core::RuntimeName for OcrLine { const NAME: &'static str = "Windows.Media.Ocr.OcrLine"; } -::windows::core::interface_hierarchy!(OcrLine, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OcrLine, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OcrLine {} unsafe impl ::core::marker::Sync for OcrLine {} #[doc = "*Required features: `\"Media_Ocr\"`*"] @@ -323,7 +323,7 @@ impl ::core::fmt::Debug for OcrResult { } } impl ::windows::core::RuntimeType for OcrResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrResult;{9bd235b2-175b-3d6a-92e2-388c206e2f63})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrResult;{9bd235b2-175b-3d6a-92e2-388c206e2f63})"); } impl ::core::clone::Clone for OcrResult { fn clone(&self) -> Self { @@ -339,7 +339,7 @@ unsafe impl ::windows::core::Interface for OcrResult { impl ::windows::core::RuntimeName for OcrResult { const NAME: &'static str = "Windows.Media.Ocr.OcrResult"; } -::windows::core::interface_hierarchy!(OcrResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OcrResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OcrResult {} unsafe impl ::core::marker::Sync for OcrResult {} #[doc = "*Required features: `\"Media_Ocr\"`*"] @@ -375,7 +375,7 @@ impl ::core::fmt::Debug for OcrWord { } } impl ::windows::core::RuntimeType for OcrWord { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrWord;{3c2a477a-5cd9-3525-ba2a-23d1e0a68a1d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrWord;{3c2a477a-5cd9-3525-ba2a-23d1e0a68a1d})"); } impl ::core::clone::Clone for OcrWord { fn clone(&self) -> Self { @@ -391,7 +391,7 @@ unsafe impl ::windows::core::Interface for OcrWord { impl ::windows::core::RuntimeName for OcrWord { const NAME: &'static str = "Windows.Media.Ocr.OcrWord"; } -::windows::core::interface_hierarchy!(OcrWord, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OcrWord, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OcrWord {} unsafe impl ::core::marker::Sync for OcrWord {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs index 815b03fe48..35dba001e5 100644 --- a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs +++ b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs @@ -720,7 +720,7 @@ impl ::core::fmt::Debug for CurrentTimeChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for CurrentTimeChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.CurrentTimeChangeRequestedEventArgs;{99711324-edc7-4bf5-91f6-3c8627db59e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.CurrentTimeChangeRequestedEventArgs;{99711324-edc7-4bf5-91f6-3c8627db59e5})"); } impl ::core::clone::Clone for CurrentTimeChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -736,7 +736,7 @@ unsafe impl ::windows::core::Interface for CurrentTimeChangeRequestedEventArgs { impl ::windows::core::RuntimeName for CurrentTimeChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.CurrentTimeChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(CurrentTimeChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CurrentTimeChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] pub struct MuteChangeRequestedEventArgs(::windows::core::IUnknown); @@ -761,7 +761,7 @@ impl ::core::fmt::Debug for MuteChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for MuteChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.MuteChangeRequestedEventArgs;{e4b4f5f6-af1f-4f1e-b437-7da32400e1d4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.MuteChangeRequestedEventArgs;{e4b4f5f6-af1f-4f1e-b437-7da32400e1d4})"); } impl ::core::clone::Clone for MuteChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -777,7 +777,7 @@ unsafe impl ::windows::core::Interface for MuteChangeRequestedEventArgs { impl ::windows::core::RuntimeName for MuteChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.MuteChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(MuteChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MuteChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -855,7 +855,7 @@ impl ::core::fmt::Debug for PlayToConnection { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnection;{112fbfc8-f235-4fde-8d41-9bf27c9e9a40})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnection;{112fbfc8-f235-4fde-8d41-9bf27c9e9a40})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToConnection { @@ -876,7 +876,7 @@ impl ::windows::core::RuntimeName for PlayToConnection { const NAME: &'static str = "Windows.Media.PlayTo.PlayToConnection"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToConnection {} #[cfg(feature = "deprecated")] @@ -922,7 +922,7 @@ impl ::core::fmt::Debug for PlayToConnectionErrorEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToConnectionErrorEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionErrorEventArgs;{bf5eada6-88e6-445f-9d40-d9b9f8939896})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionErrorEventArgs;{bf5eada6-88e6-445f-9d40-d9b9f8939896})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToConnectionErrorEventArgs { @@ -943,7 +943,7 @@ impl ::windows::core::RuntimeName for PlayToConnectionErrorEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.PlayToConnectionErrorEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToConnectionErrorEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToConnectionErrorEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToConnectionErrorEventArgs {} #[cfg(feature = "deprecated")] @@ -989,7 +989,7 @@ impl ::core::fmt::Debug for PlayToConnectionStateChangedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToConnectionStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionStateChangedEventArgs;{68c4b50f-0c20-4980-8602-58c62238d423})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionStateChangedEventArgs;{68c4b50f-0c20-4980-8602-58c62238d423})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToConnectionStateChangedEventArgs { @@ -1010,7 +1010,7 @@ impl ::windows::core::RuntimeName for PlayToConnectionStateChangedEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.PlayToConnectionStateChangedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToConnectionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToConnectionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToConnectionStateChangedEventArgs {} #[cfg(feature = "deprecated")] @@ -1056,7 +1056,7 @@ impl ::core::fmt::Debug for PlayToConnectionTransferredEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToConnectionTransferredEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionTransferredEventArgs;{fae3193a-0683-47d9-8df0-18cbb48984d8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionTransferredEventArgs;{fae3193a-0683-47d9-8df0-18cbb48984d8})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToConnectionTransferredEventArgs { @@ -1077,7 +1077,7 @@ impl ::windows::core::RuntimeName for PlayToConnectionTransferredEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.PlayToConnectionTransferredEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToConnectionTransferredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToConnectionTransferredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToConnectionTransferredEventArgs {} #[cfg(feature = "deprecated")] @@ -1149,7 +1149,7 @@ impl PlayToManager { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IPlayToManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1169,7 +1169,7 @@ impl ::core::fmt::Debug for PlayToManager { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToManager;{f56a206e-1b77-42ef-8f0d-b949f8d9b260})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToManager;{f56a206e-1b77-42ef-8f0d-b949f8d9b260})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToManager { @@ -1190,7 +1190,7 @@ impl ::windows::core::RuntimeName for PlayToManager { const NAME: &'static str = "Windows.Media.PlayTo.PlayToManager"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToManager, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToManager {} #[cfg(feature = "deprecated")] @@ -1202,8 +1202,8 @@ impl PlayToReceiver { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -1477,7 +1477,7 @@ impl ::core::fmt::Debug for PlayToReceiver { } } impl ::windows::core::RuntimeType for PlayToReceiver { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToReceiver;{ac15cf47-a162-4aa6-af1b-3aa35f3b9069})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToReceiver;{ac15cf47-a162-4aa6-af1b-3aa35f3b9069})"); } impl ::core::clone::Clone for PlayToReceiver { fn clone(&self) -> Self { @@ -1493,7 +1493,7 @@ unsafe impl ::windows::core::Interface for PlayToReceiver { impl ::windows::core::RuntimeName for PlayToReceiver { const NAME: &'static str = "Windows.Media.PlayTo.PlayToReceiver"; } -::windows::core::interface_hierarchy!(PlayToReceiver, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToReceiver, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -1562,7 +1562,7 @@ impl ::core::fmt::Debug for PlayToSource { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSource;{7f138a08-fbb7-4b09-8356-aa5f4e335c31})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSource;{7f138a08-fbb7-4b09-8356-aa5f4e335c31})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToSource { @@ -1583,7 +1583,7 @@ impl ::windows::core::RuntimeName for PlayToSource { const NAME: &'static str = "Windows.Media.PlayTo.PlayToSource"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToSource, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToSource {} #[cfg(feature = "deprecated")] @@ -1617,7 +1617,7 @@ impl ::core::fmt::Debug for PlayToSourceDeferral { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToSourceDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceDeferral;{4100891d-278e-4f29-859b-a9e501053e7d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceDeferral;{4100891d-278e-4f29-859b-a9e501053e7d})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToSourceDeferral { @@ -1638,7 +1638,7 @@ impl ::windows::core::RuntimeName for PlayToSourceDeferral { const NAME: &'static str = "Windows.Media.PlayTo.PlayToSourceDeferral"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToSourceDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToSourceDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToSourceDeferral {} #[cfg(feature = "deprecated")] @@ -1696,7 +1696,7 @@ impl ::core::fmt::Debug for PlayToSourceRequest { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToSourceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceRequest;{f8584665-64f4-44a0-ac0d-468d2b8fda83})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceRequest;{f8584665-64f4-44a0-ac0d-468d2b8fda83})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToSourceRequest { @@ -1717,7 +1717,7 @@ impl ::windows::core::RuntimeName for PlayToSourceRequest { const NAME: &'static str = "Windows.Media.PlayTo.PlayToSourceRequest"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToSourceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToSourceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToSourceRequest {} #[cfg(feature = "deprecated")] @@ -1754,7 +1754,7 @@ impl ::core::fmt::Debug for PlayToSourceRequestedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToSourceRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceRequestedEventArgs;{c5cdc330-29df-4ec6-9da9-9fbdfcfc1b3e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceRequestedEventArgs;{c5cdc330-29df-4ec6-9da9-9fbdfcfc1b3e})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToSourceRequestedEventArgs { @@ -1775,7 +1775,7 @@ impl ::windows::core::RuntimeName for PlayToSourceRequestedEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.PlayToSourceRequestedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToSourceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToSourceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToSourceRequestedEventArgs {} #[cfg(feature = "deprecated")] @@ -1848,7 +1848,7 @@ impl ::core::fmt::Debug for PlayToSourceSelectedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToSourceSelectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceSelectedEventArgs;{0c9d8511-5202-4dcb-8c67-abda12bb3c12})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceSelectedEventArgs;{0c9d8511-5202-4dcb-8c67-abda12bb3c12})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for PlayToSourceSelectedEventArgs { @@ -1869,7 +1869,7 @@ impl ::windows::core::RuntimeName for PlayToSourceSelectedEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.PlayToSourceSelectedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(PlayToSourceSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayToSourceSelectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for PlayToSourceSelectedEventArgs {} #[cfg(feature = "deprecated")] @@ -1898,7 +1898,7 @@ impl ::core::fmt::Debug for PlaybackRateChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for PlaybackRateChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlaybackRateChangeRequestedEventArgs;{0f5661ae-2c88-4cca-8540-d586095d13a5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlaybackRateChangeRequestedEventArgs;{0f5661ae-2c88-4cca-8540-d586095d13a5})"); } impl ::core::clone::Clone for PlaybackRateChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -1914,7 +1914,7 @@ unsafe impl ::windows::core::Interface for PlaybackRateChangeRequestedEventArgs impl ::windows::core::RuntimeName for PlaybackRateChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.PlaybackRateChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PlaybackRateChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaybackRateChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] pub struct SourceChangeRequestedEventArgs(::windows::core::IUnknown); @@ -2012,7 +2012,7 @@ impl ::core::fmt::Debug for SourceChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for SourceChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.SourceChangeRequestedEventArgs;{fb3f3a96-7aa6-4a8b-86e7-54f6c6d34f64})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.SourceChangeRequestedEventArgs;{fb3f3a96-7aa6-4a8b-86e7-54f6c6d34f64})"); } impl ::core::clone::Clone for SourceChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -2028,7 +2028,7 @@ unsafe impl ::windows::core::Interface for SourceChangeRequestedEventArgs { impl ::windows::core::RuntimeName for SourceChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.SourceChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(SourceChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SourceChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] pub struct VolumeChangeRequestedEventArgs(::windows::core::IUnknown); @@ -2053,7 +2053,7 @@ impl ::core::fmt::Debug for VolumeChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for VolumeChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.VolumeChangeRequestedEventArgs;{6f026d5c-cf75-4c2b-913e-6d7c6c329179})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.VolumeChangeRequestedEventArgs;{6f026d5c-cf75-4c2b-913e-6d7c6c329179})"); } impl ::core::clone::Clone for VolumeChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -2069,7 +2069,7 @@ unsafe impl ::windows::core::Interface for VolumeChangeRequestedEventArgs { impl ::windows::core::RuntimeName for VolumeChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.PlayTo.VolumeChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(VolumeChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VolumeChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -2109,7 +2109,7 @@ impl ::core::fmt::Debug for PlayToConnectionError { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToConnectionError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.PlayTo.PlayToConnectionError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.PlayTo.PlayToConnectionError;i4)"); } #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -2148,7 +2148,7 @@ impl ::core::fmt::Debug for PlayToConnectionState { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for PlayToConnectionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.PlayTo.PlayToConnectionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.PlayTo.PlayToConnectionState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index ed7d1ce7f1..4bbf759ac6 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -365,7 +365,7 @@ impl IMediaEnginePlaybackSource { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(IMediaEnginePlaybackSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaEnginePlaybackSource, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for IMediaEnginePlaybackSource { fn eq(&self, other: &Self) -> bool { @@ -382,7 +382,7 @@ impl ::core::fmt::Debug for IMediaEnginePlaybackSource { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for IMediaEnginePlaybackSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5c1d0ba7-3856-48b9-8dc6-244bf107bf8c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5c1d0ba7-3856-48b9-8dc6-244bf107bf8c}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for IMediaEnginePlaybackSource { @@ -1491,7 +1491,7 @@ pub struct IMediaPlaybackSessionOutputDegradationPolicyState_Vtbl { #[repr(transparent)] pub struct IMediaPlaybackSource(::windows::core::IUnknown); impl IMediaPlaybackSource {} -::windows::core::interface_hierarchy!(IMediaPlaybackSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaPlaybackSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaPlaybackSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1504,7 +1504,7 @@ impl ::core::fmt::Debug for IMediaPlaybackSource { } } impl ::windows::core::RuntimeType for IMediaPlaybackSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ef9dc2bc-9317-4696-b051-2bad643177b5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ef9dc2bc-9317-4696-b051-2bad643177b5}"); } unsafe impl ::windows::core::Vtable for IMediaPlaybackSource { type Vtable = IMediaPlaybackSource_Vtbl; @@ -2351,7 +2351,7 @@ impl BackgroundMediaPlayer { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IBackgroundMediaPlayerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2397,7 +2397,7 @@ impl ::core::fmt::Debug for CurrentMediaPlaybackItemChangedEventArgs { } } impl ::windows::core::RuntimeType for CurrentMediaPlaybackItemChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.CurrentMediaPlaybackItemChangedEventArgs;{1743a892-5c43-4a15-967a-572d2d0f26c6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.CurrentMediaPlaybackItemChangedEventArgs;{1743a892-5c43-4a15-967a-572d2d0f26c6})"); } impl ::core::clone::Clone for CurrentMediaPlaybackItemChangedEventArgs { fn clone(&self) -> Self { @@ -2413,7 +2413,7 @@ unsafe impl ::windows::core::Interface for CurrentMediaPlaybackItemChangedEventA impl ::windows::core::RuntimeName for CurrentMediaPlaybackItemChangedEventArgs { const NAME: &'static str = "Windows.Media.Playback.CurrentMediaPlaybackItemChangedEventArgs"; } -::windows::core::interface_hierarchy!(CurrentMediaPlaybackItemChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CurrentMediaPlaybackItemChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CurrentMediaPlaybackItemChangedEventArgs {} unsafe impl ::core::marker::Sync for CurrentMediaPlaybackItemChangedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -2479,7 +2479,7 @@ impl MediaBreak { } #[doc(hidden)] pub fn IMediaBreakFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2495,7 +2495,7 @@ impl ::core::fmt::Debug for MediaBreak { } } impl ::windows::core::RuntimeType for MediaBreak { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreak;{714be270-0def-4ebc-a489-6b34930e1558})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreak;{714be270-0def-4ebc-a489-6b34930e1558})"); } impl ::core::clone::Clone for MediaBreak { fn clone(&self) -> Self { @@ -2511,7 +2511,7 @@ unsafe impl ::windows::core::Interface for MediaBreak { impl ::windows::core::RuntimeName for MediaBreak { const NAME: &'static str = "Windows.Media.Playback.MediaBreak"; } -::windows::core::interface_hierarchy!(MediaBreak, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBreak, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBreak {} unsafe impl ::core::marker::Sync for MediaBreak {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -2538,7 +2538,7 @@ impl ::core::fmt::Debug for MediaBreakEndedEventArgs { } } impl ::windows::core::RuntimeType for MediaBreakEndedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakEndedEventArgs;{32b93276-1c5d-4fee-8732-236dc3a88580})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakEndedEventArgs;{32b93276-1c5d-4fee-8732-236dc3a88580})"); } impl ::core::clone::Clone for MediaBreakEndedEventArgs { fn clone(&self) -> Self { @@ -2554,7 +2554,7 @@ unsafe impl ::windows::core::Interface for MediaBreakEndedEventArgs { impl ::windows::core::RuntimeName for MediaBreakEndedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaBreakEndedEventArgs"; } -::windows::core::interface_hierarchy!(MediaBreakEndedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBreakEndedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBreakEndedEventArgs {} unsafe impl ::core::marker::Sync for MediaBreakEndedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -2656,7 +2656,7 @@ impl ::core::fmt::Debug for MediaBreakManager { } } impl ::windows::core::RuntimeType for MediaBreakManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakManager;{a854ddb1-feb4-4d9b-9d97-0fdbe58e5e39})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakManager;{a854ddb1-feb4-4d9b-9d97-0fdbe58e5e39})"); } impl ::core::clone::Clone for MediaBreakManager { fn clone(&self) -> Self { @@ -2672,7 +2672,7 @@ unsafe impl ::windows::core::Interface for MediaBreakManager { impl ::windows::core::RuntimeName for MediaBreakManager { const NAME: &'static str = "Windows.Media.Playback.MediaBreakManager"; } -::windows::core::interface_hierarchy!(MediaBreakManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBreakManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBreakManager {} unsafe impl ::core::marker::Sync for MediaBreakManager {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -2753,7 +2753,7 @@ impl ::core::fmt::Debug for MediaBreakSchedule { } } impl ::windows::core::RuntimeType for MediaBreakSchedule { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSchedule;{a19a5813-98b6-41d8-83da-f971d22b7bba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSchedule;{a19a5813-98b6-41d8-83da-f971d22b7bba})"); } impl ::core::clone::Clone for MediaBreakSchedule { fn clone(&self) -> Self { @@ -2769,7 +2769,7 @@ unsafe impl ::windows::core::Interface for MediaBreakSchedule { impl ::windows::core::RuntimeName for MediaBreakSchedule { const NAME: &'static str = "Windows.Media.Playback.MediaBreakSchedule"; } -::windows::core::interface_hierarchy!(MediaBreakSchedule, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBreakSchedule, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBreakSchedule {} unsafe impl ::core::marker::Sync for MediaBreakSchedule {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -2816,7 +2816,7 @@ impl ::core::fmt::Debug for MediaBreakSeekedOverEventArgs { } } impl ::windows::core::RuntimeType for MediaBreakSeekedOverEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSeekedOverEventArgs;{e5aa6746-0606-4492-b9d3-c3c8fde0a4ea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSeekedOverEventArgs;{e5aa6746-0606-4492-b9d3-c3c8fde0a4ea})"); } impl ::core::clone::Clone for MediaBreakSeekedOverEventArgs { fn clone(&self) -> Self { @@ -2832,7 +2832,7 @@ unsafe impl ::windows::core::Interface for MediaBreakSeekedOverEventArgs { impl ::windows::core::RuntimeName for MediaBreakSeekedOverEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaBreakSeekedOverEventArgs"; } -::windows::core::interface_hierarchy!(MediaBreakSeekedOverEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBreakSeekedOverEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBreakSeekedOverEventArgs {} unsafe impl ::core::marker::Sync for MediaBreakSeekedOverEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -2859,7 +2859,7 @@ impl ::core::fmt::Debug for MediaBreakSkippedEventArgs { } } impl ::windows::core::RuntimeType for MediaBreakSkippedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSkippedEventArgs;{6ee94c05-2f54-4a3e-a3ab-24c3b270b4a3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSkippedEventArgs;{6ee94c05-2f54-4a3e-a3ab-24c3b270b4a3})"); } impl ::core::clone::Clone for MediaBreakSkippedEventArgs { fn clone(&self) -> Self { @@ -2875,7 +2875,7 @@ unsafe impl ::windows::core::Interface for MediaBreakSkippedEventArgs { impl ::windows::core::RuntimeName for MediaBreakSkippedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaBreakSkippedEventArgs"; } -::windows::core::interface_hierarchy!(MediaBreakSkippedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBreakSkippedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBreakSkippedEventArgs {} unsafe impl ::core::marker::Sync for MediaBreakSkippedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -2902,7 +2902,7 @@ impl ::core::fmt::Debug for MediaBreakStartedEventArgs { } } impl ::windows::core::RuntimeType for MediaBreakStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakStartedEventArgs;{a87efe71-dfd4-454a-956e-0a4a648395f8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakStartedEventArgs;{a87efe71-dfd4-454a-956e-0a4a648395f8})"); } impl ::core::clone::Clone for MediaBreakStartedEventArgs { fn clone(&self) -> Self { @@ -2918,7 +2918,7 @@ unsafe impl ::windows::core::Interface for MediaBreakStartedEventArgs { impl ::windows::core::RuntimeName for MediaBreakStartedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaBreakStartedEventArgs"; } -::windows::core::interface_hierarchy!(MediaBreakStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaBreakStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaBreakStartedEventArgs {} unsafe impl ::core::marker::Sync for MediaBreakStartedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -2982,7 +2982,7 @@ impl ::core::fmt::Debug for MediaItemDisplayProperties { } } impl ::windows::core::RuntimeType for MediaItemDisplayProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaItemDisplayProperties;{1e3c1b48-7097-4384-a217-c1291dfa8c16})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaItemDisplayProperties;{1e3c1b48-7097-4384-a217-c1291dfa8c16})"); } impl ::core::clone::Clone for MediaItemDisplayProperties { fn clone(&self) -> Self { @@ -2998,7 +2998,7 @@ unsafe impl ::windows::core::Interface for MediaItemDisplayProperties { impl ::windows::core::RuntimeName for MediaItemDisplayProperties { const NAME: &'static str = "Windows.Media.Playback.MediaItemDisplayProperties"; } -::windows::core::interface_hierarchy!(MediaItemDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaItemDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaItemDisplayProperties {} unsafe impl ::core::marker::Sync for MediaItemDisplayProperties {} #[doc = "*Required features: `\"Media_Playback\"`, `\"Foundation_Collections\"`, `\"Media_Core\"`*"] @@ -3099,7 +3099,7 @@ impl ::core::fmt::Debug for MediaPlaybackAudioTrackList { } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::windows::core::RuntimeType for MediaPlaybackAudioTrackList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackAudioTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.AudioTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackAudioTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.AudioTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})))"); } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::core::clone::Clone for MediaPlaybackAudioTrackList { @@ -3136,7 +3136,7 @@ impl ::core::iter::IntoIterator for &MediaPlaybackAudioTrackList { } } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -::windows::core::interface_hierarchy!(MediaPlaybackAudioTrackList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackAudioTrackList, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -3462,7 +3462,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManager { } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManager;{5acee5a6-5cb6-4a5a-8521-cc86b1c1ed37})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManager;{5acee5a6-5cb6-4a5a-8521-cc86b1c1ed37})"); } impl ::core::clone::Clone for MediaPlaybackCommandManager { fn clone(&self) -> Self { @@ -3478,7 +3478,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManager { impl ::windows::core::RuntimeName for MediaPlaybackCommandManager { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManager"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManager {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManager {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -3525,7 +3525,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerAutoRepeatModeReceivedEve } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs;{3d6f4f23-5230-4411-a0e9-bad94c2a045c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs;{3d6f4f23-5230-4411-a0e9-bad94c2a045c})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { fn clone(&self) -> Self { @@ -3541,7 +3541,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerAutoRepeat impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -3601,7 +3601,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerCommandBehavior { } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerCommandBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerCommandBehavior;{786c1e78-ce78-4a10-afd6-843fcbb90c2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerCommandBehavior;{786c1e78-ce78-4a10-afd6-843fcbb90c2e})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerCommandBehavior { fn clone(&self) -> Self { @@ -3617,7 +3617,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerCommandBeh impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerCommandBehavior { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerCommandBehavior"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerCommandBehavior, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerCommandBehavior, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerCommandBehavior {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerCommandBehavior {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -3657,7 +3657,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerFastForwardReceivedEventA } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerFastForwardReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerFastForwardReceivedEventArgs;{30f064d9-b491-4d0a-bc21-3098bd1332e9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerFastForwardReceivedEventArgs;{30f064d9-b491-4d0a-bc21-3098bd1332e9})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerFastForwardReceivedEventArgs { fn clone(&self) -> Self { @@ -3673,7 +3673,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerFastForwar impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerFastForwardReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerFastForwardReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerFastForwardReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerFastForwardReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerFastForwardReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerFastForwardReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -3713,7 +3713,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerNextReceivedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerNextReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerNextReceivedEventArgs;{e1504433-a2b0-45d4-b9de-5f42ac14a839})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerNextReceivedEventArgs;{e1504433-a2b0-45d4-b9de-5f42ac14a839})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerNextReceivedEventArgs { fn clone(&self) -> Self { @@ -3729,7 +3729,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerNextReceiv impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerNextReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerNextReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerNextReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerNextReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerNextReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerNextReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -3769,7 +3769,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerPauseReceivedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerPauseReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPauseReceivedEventArgs;{5ceccd1c-c25c-4221-b16c-c3c98ce012d6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPauseReceivedEventArgs;{5ceccd1c-c25c-4221-b16c-c3c98ce012d6})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerPauseReceivedEventArgs { fn clone(&self) -> Self { @@ -3785,7 +3785,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerPauseRecei impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerPauseReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerPauseReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerPauseReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerPauseReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerPauseReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerPauseReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -3825,7 +3825,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerPlayReceivedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerPlayReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPlayReceivedEventArgs;{9af0004e-578b-4c56-a006-16159d888a48})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPlayReceivedEventArgs;{9af0004e-578b-4c56-a006-16159d888a48})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerPlayReceivedEventArgs { fn clone(&self) -> Self { @@ -3841,7 +3841,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerPlayReceiv impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerPlayReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerPlayReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerPlayReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerPlayReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerPlayReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerPlayReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -3890,7 +3890,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerPositionReceivedEventArgs } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerPositionReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPositionReceivedEventArgs;{5591a754-d627-4bdd-a90d-86a015b24902})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPositionReceivedEventArgs;{5591a754-d627-4bdd-a90d-86a015b24902})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerPositionReceivedEventArgs { fn clone(&self) -> Self { @@ -3906,7 +3906,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerPositionRe impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerPositionReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerPositionReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerPositionReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerPositionReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerPositionReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerPositionReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -3946,7 +3946,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerPreviousReceivedEventArgs } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerPreviousReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPreviousReceivedEventArgs;{525e3081-4632-4f76-99b1-d771623f6287})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPreviousReceivedEventArgs;{525e3081-4632-4f76-99b1-d771623f6287})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerPreviousReceivedEventArgs { fn clone(&self) -> Self { @@ -3962,7 +3962,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerPreviousRe impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerPreviousReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerPreviousReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerPreviousReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerPreviousReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerPreviousReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerPreviousReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -4009,7 +4009,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerRateReceivedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerRateReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerRateReceivedEventArgs;{18ea3939-4a16-4169-8b05-3eb9f5ff78eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerRateReceivedEventArgs;{18ea3939-4a16-4169-8b05-3eb9f5ff78eb})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerRateReceivedEventArgs { fn clone(&self) -> Self { @@ -4025,7 +4025,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerRateReceiv impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerRateReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerRateReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerRateReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerRateReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerRateReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerRateReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -4065,7 +4065,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerRewindReceivedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerRewindReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerRewindReceivedEventArgs;{9f085947-a3c0-425d-aaef-97ba7898b141})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerRewindReceivedEventArgs;{9f085947-a3c0-425d-aaef-97ba7898b141})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerRewindReceivedEventArgs { fn clone(&self) -> Self { @@ -4081,7 +4081,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerRewindRece impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerRewindReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerRewindReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerRewindReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerRewindReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerRewindReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerRewindReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -4128,7 +4128,7 @@ impl ::core::fmt::Debug for MediaPlaybackCommandManagerShuffleReceivedEventArgs } } impl ::windows::core::RuntimeType for MediaPlaybackCommandManagerShuffleReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerShuffleReceivedEventArgs;{50a05cef-63ee-4a96-b7b5-fee08b9ff90c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerShuffleReceivedEventArgs;{50a05cef-63ee-4a96-b7b5-fee08b9ff90c})"); } impl ::core::clone::Clone for MediaPlaybackCommandManagerShuffleReceivedEventArgs { fn clone(&self) -> Self { @@ -4144,7 +4144,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackCommandManagerShuffleRec impl ::windows::core::RuntimeName for MediaPlaybackCommandManagerShuffleReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackCommandManagerShuffleReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackCommandManagerShuffleReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackCommandManagerShuffleReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerShuffleReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerShuffleReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -4342,17 +4342,17 @@ impl MediaPlaybackItem { } #[doc(hidden)] pub fn IMediaPlaybackItemFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaPlaybackItemFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMediaPlaybackItemStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4368,7 +4368,7 @@ impl ::core::fmt::Debug for MediaPlaybackItem { } } impl ::windows::core::RuntimeType for MediaPlaybackItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItem;{047097d2-e4af-48ab-b283-6929e674ece2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItem;{047097d2-e4af-48ab-b283-6929e674ece2})"); } impl ::core::clone::Clone for MediaPlaybackItem { fn clone(&self) -> Self { @@ -4384,7 +4384,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackItem { impl ::windows::core::RuntimeName for MediaPlaybackItem { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackItem"; } -::windows::core::interface_hierarchy!(MediaPlaybackItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackItem, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaPlaybackSource { type Error = ::windows::core::Error; fn try_from(value: MediaPlaybackItem) -> ::windows::core::Result { @@ -4437,7 +4437,7 @@ impl ::core::fmt::Debug for MediaPlaybackItemError { } } impl ::windows::core::RuntimeType for MediaPlaybackItemError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemError;{69fbef2b-dcd6-4df9-a450-dbf4c6f1c2c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemError;{69fbef2b-dcd6-4df9-a450-dbf4c6f1c2c2})"); } impl ::core::clone::Clone for MediaPlaybackItemError { fn clone(&self) -> Self { @@ -4453,7 +4453,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackItemError { impl ::windows::core::RuntimeName for MediaPlaybackItemError { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackItemError"; } -::windows::core::interface_hierarchy!(MediaPlaybackItemError, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackItemError, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackItemError {} unsafe impl ::core::marker::Sync for MediaPlaybackItemError {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -4487,7 +4487,7 @@ impl ::core::fmt::Debug for MediaPlaybackItemFailedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlaybackItemFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemFailedEventArgs;{7703134a-e9a7-47c3-862c-c656d30683d4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemFailedEventArgs;{7703134a-e9a7-47c3-862c-c656d30683d4})"); } impl ::core::clone::Clone for MediaPlaybackItemFailedEventArgs { fn clone(&self) -> Self { @@ -4503,7 +4503,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackItemFailedEventArgs { impl ::windows::core::RuntimeName for MediaPlaybackItemFailedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackItemFailedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackItemFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackItemFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackItemFailedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackItemFailedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -4530,7 +4530,7 @@ impl ::core::fmt::Debug for MediaPlaybackItemOpenedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlaybackItemOpenedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemOpenedEventArgs;{cbd9bd82-3037-4fbe-ae8f-39fc39edf4ef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemOpenedEventArgs;{cbd9bd82-3037-4fbe-ae8f-39fc39edf4ef})"); } impl ::core::clone::Clone for MediaPlaybackItemOpenedEventArgs { fn clone(&self) -> Self { @@ -4546,7 +4546,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackItemOpenedEventArgs { impl ::windows::core::RuntimeName for MediaPlaybackItemOpenedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackItemOpenedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackItemOpenedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackItemOpenedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackItemOpenedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackItemOpenedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -4556,8 +4556,8 @@ impl MediaPlaybackList { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4752,7 +4752,7 @@ impl ::core::fmt::Debug for MediaPlaybackList { } } impl ::windows::core::RuntimeType for MediaPlaybackList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackList;{7f77ee9c-dc42-4e26-a98d-7850df8ec925})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackList;{7f77ee9c-dc42-4e26-a98d-7850df8ec925})"); } impl ::core::clone::Clone for MediaPlaybackList { fn clone(&self) -> Self { @@ -4768,7 +4768,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackList { impl ::windows::core::RuntimeName for MediaPlaybackList { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackList"; } -::windows::core::interface_hierarchy!(MediaPlaybackList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackList, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IMediaPlaybackSource { type Error = ::windows::core::Error; fn try_from(value: MediaPlaybackList) -> ::windows::core::Result { @@ -5219,7 +5219,7 @@ impl ::core::fmt::Debug for MediaPlaybackSession { } } impl ::windows::core::RuntimeType for MediaPlaybackSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSession;{c32b683d-0407-41ba-8946-8b345a5a5435})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSession;{c32b683d-0407-41ba-8946-8b345a5a5435})"); } impl ::core::clone::Clone for MediaPlaybackSession { fn clone(&self) -> Self { @@ -5235,7 +5235,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackSession { impl ::windows::core::RuntimeName for MediaPlaybackSession { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackSession"; } -::windows::core::interface_hierarchy!(MediaPlaybackSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackSession {} unsafe impl ::core::marker::Sync for MediaPlaybackSession {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -5262,7 +5262,7 @@ impl ::core::fmt::Debug for MediaPlaybackSessionBufferingStartedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlaybackSessionBufferingStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSessionBufferingStartedEventArgs;{cd6aafed-74e2-43b5-b115-76236c33791a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSessionBufferingStartedEventArgs;{cd6aafed-74e2-43b5-b115-76236c33791a})"); } impl ::core::clone::Clone for MediaPlaybackSessionBufferingStartedEventArgs { fn clone(&self) -> Self { @@ -5278,7 +5278,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackSessionBufferingStartedE impl ::windows::core::RuntimeName for MediaPlaybackSessionBufferingStartedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackSessionBufferingStartedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlaybackSessionBufferingStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackSessionBufferingStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackSessionBufferingStartedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackSessionBufferingStartedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -5305,7 +5305,7 @@ impl ::core::fmt::Debug for MediaPlaybackSessionOutputDegradationPolicyState { } } impl ::windows::core::RuntimeType for MediaPlaybackSessionOutputDegradationPolicyState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSessionOutputDegradationPolicyState;{558e727d-f633-49f9-965a-abaa1db709be})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSessionOutputDegradationPolicyState;{558e727d-f633-49f9-965a-abaa1db709be})"); } impl ::core::clone::Clone for MediaPlaybackSessionOutputDegradationPolicyState { fn clone(&self) -> Self { @@ -5321,7 +5321,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackSessionOutputDegradation impl ::windows::core::RuntimeName for MediaPlaybackSessionOutputDegradationPolicyState { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackSessionOutputDegradationPolicyState"; } -::windows::core::interface_hierarchy!(MediaPlaybackSessionOutputDegradationPolicyState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackSessionOutputDegradationPolicyState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackSessionOutputDegradationPolicyState {} unsafe impl ::core::marker::Sync for MediaPlaybackSessionOutputDegradationPolicyState {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -5404,7 +5404,7 @@ impl ::core::fmt::Debug for MediaPlaybackSphericalVideoProjection { } } impl ::windows::core::RuntimeType for MediaPlaybackSphericalVideoProjection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSphericalVideoProjection;{d405b37c-6f0e-4661-b8ee-d487ba9752d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSphericalVideoProjection;{d405b37c-6f0e-4661-b8ee-d487ba9752d5})"); } impl ::core::clone::Clone for MediaPlaybackSphericalVideoProjection { fn clone(&self) -> Self { @@ -5420,7 +5420,7 @@ unsafe impl ::windows::core::Interface for MediaPlaybackSphericalVideoProjection impl ::windows::core::RuntimeName for MediaPlaybackSphericalVideoProjection { const NAME: &'static str = "Windows.Media.Playback.MediaPlaybackSphericalVideoProjection"; } -::windows::core::interface_hierarchy!(MediaPlaybackSphericalVideoProjection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackSphericalVideoProjection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlaybackSphericalVideoProjection {} unsafe impl ::core::marker::Sync for MediaPlaybackSphericalVideoProjection {} #[doc = "*Required features: `\"Media_Playback\"`, `\"Foundation_Collections\"`, `\"Media_Core\"`*"] @@ -5517,7 +5517,7 @@ impl ::core::fmt::Debug for MediaPlaybackTimedMetadataTrackList { } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::windows::core::RuntimeType for MediaPlaybackTimedMetadataTrackList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackTimedMetadataTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.TimedMetadataTrack;{9e6aed9e-f67a-49a9-b330-cf03b0e9cf07})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackTimedMetadataTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.TimedMetadataTrack;{9e6aed9e-f67a-49a9-b330-cf03b0e9cf07})))"); } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::core::clone::Clone for MediaPlaybackTimedMetadataTrackList { @@ -5554,7 +5554,7 @@ impl ::core::iter::IntoIterator for &MediaPlaybackTimedMetadataTrackList { } } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -::windows::core::interface_hierarchy!(MediaPlaybackTimedMetadataTrackList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackTimedMetadataTrackList, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -5701,7 +5701,7 @@ impl ::core::fmt::Debug for MediaPlaybackVideoTrackList { } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::windows::core::RuntimeType for MediaPlaybackVideoTrackList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackVideoTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.VideoTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackVideoTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.VideoTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})))"); } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::core::clone::Clone for MediaPlaybackVideoTrackList { @@ -5738,7 +5738,7 @@ impl ::core::iter::IntoIterator for &MediaPlaybackVideoTrackList { } } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -::windows::core::interface_hierarchy!(MediaPlaybackVideoTrackList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlaybackVideoTrackList, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -5816,8 +5816,8 @@ impl MediaPlayer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -6518,7 +6518,7 @@ impl ::core::fmt::Debug for MediaPlayer { } } impl ::windows::core::RuntimeType for MediaPlayer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayer;{381a83cb-6fff-499b-8d64-2885dfc1249e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayer;{381a83cb-6fff-499b-8d64-2885dfc1249e})"); } impl ::core::clone::Clone for MediaPlayer { fn clone(&self) -> Self { @@ -6534,7 +6534,7 @@ unsafe impl ::windows::core::Interface for MediaPlayer { impl ::windows::core::RuntimeName for MediaPlayer { const NAME: &'static str = "Windows.Media.Playback.MediaPlayer"; } -::windows::core::interface_hierarchy!(MediaPlayer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlayer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6585,7 +6585,7 @@ impl ::core::fmt::Debug for MediaPlayerDataReceivedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlayerDataReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerDataReceivedEventArgs;{c75a9405-c801-412a-835b-83fc0e622a8e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerDataReceivedEventArgs;{c75a9405-c801-412a-835b-83fc0e622a8e})"); } impl ::core::clone::Clone for MediaPlayerDataReceivedEventArgs { fn clone(&self) -> Self { @@ -6601,7 +6601,7 @@ unsafe impl ::windows::core::Interface for MediaPlayerDataReceivedEventArgs { impl ::windows::core::RuntimeName for MediaPlayerDataReceivedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlayerDataReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlayerDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlayerDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlayerDataReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlayerDataReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -6642,7 +6642,7 @@ impl ::core::fmt::Debug for MediaPlayerFailedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlayerFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerFailedEventArgs;{2744e9b9-a7e3-4f16-bac4-7914ebc08301})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerFailedEventArgs;{2744e9b9-a7e3-4f16-bac4-7914ebc08301})"); } impl ::core::clone::Clone for MediaPlayerFailedEventArgs { fn clone(&self) -> Self { @@ -6658,7 +6658,7 @@ unsafe impl ::windows::core::Interface for MediaPlayerFailedEventArgs { impl ::windows::core::RuntimeName for MediaPlayerFailedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlayerFailedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlayerFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlayerFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlayerFailedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlayerFailedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -6685,7 +6685,7 @@ impl ::core::fmt::Debug for MediaPlayerRateChangedEventArgs { } } impl ::windows::core::RuntimeType for MediaPlayerRateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerRateChangedEventArgs;{40600d58-3b61-4bb2-989f-fc65608b6cab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerRateChangedEventArgs;{40600d58-3b61-4bb2-989f-fc65608b6cab})"); } impl ::core::clone::Clone for MediaPlayerRateChangedEventArgs { fn clone(&self) -> Self { @@ -6701,7 +6701,7 @@ unsafe impl ::windows::core::Interface for MediaPlayerRateChangedEventArgs { impl ::windows::core::RuntimeName for MediaPlayerRateChangedEventArgs { const NAME: &'static str = "Windows.Media.Playback.MediaPlayerRateChangedEventArgs"; } -::windows::core::interface_hierarchy!(MediaPlayerRateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlayerRateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaPlayerRateChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlayerRateChangedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -6752,7 +6752,7 @@ impl ::core::fmt::Debug for MediaPlayerSurface { } } impl ::windows::core::RuntimeType for MediaPlayerSurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerSurface;{0ed653bc-b736-49c3-830b-764a3845313a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerSurface;{0ed653bc-b736-49c3-830b-764a3845313a})"); } impl ::core::clone::Clone for MediaPlayerSurface { fn clone(&self) -> Self { @@ -6768,7 +6768,7 @@ unsafe impl ::windows::core::Interface for MediaPlayerSurface { impl ::windows::core::RuntimeName for MediaPlayerSurface { const NAME: &'static str = "Windows.Media.Playback.MediaPlayerSurface"; } -::windows::core::interface_hierarchy!(MediaPlayerSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaPlayerSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6838,7 +6838,7 @@ impl PlaybackMediaMarker { } #[doc(hidden)] pub fn IPlaybackMediaMarkerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6854,7 +6854,7 @@ impl ::core::fmt::Debug for PlaybackMediaMarker { } } impl ::windows::core::RuntimeType for PlaybackMediaMarker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarker;{c4d22f5c-3c1c-4444-b6b9-778b0422d41a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarker;{c4d22f5c-3c1c-4444-b6b9-778b0422d41a})"); } impl ::core::clone::Clone for PlaybackMediaMarker { fn clone(&self) -> Self { @@ -6870,7 +6870,7 @@ unsafe impl ::windows::core::Interface for PlaybackMediaMarker { impl ::windows::core::RuntimeName for PlaybackMediaMarker { const NAME: &'static str = "Windows.Media.Playback.PlaybackMediaMarker"; } -::windows::core::interface_hierarchy!(PlaybackMediaMarker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaybackMediaMarker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlaybackMediaMarker {} unsafe impl ::core::marker::Sync for PlaybackMediaMarker {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -6897,7 +6897,7 @@ impl ::core::fmt::Debug for PlaybackMediaMarkerReachedEventArgs { } } impl ::windows::core::RuntimeType for PlaybackMediaMarkerReachedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs;{578cd1b9-90e2-4e60-abc4-8740b01f6196})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs;{578cd1b9-90e2-4e60-abc4-8740b01f6196})"); } impl ::core::clone::Clone for PlaybackMediaMarkerReachedEventArgs { fn clone(&self) -> Self { @@ -6913,7 +6913,7 @@ unsafe impl ::windows::core::Interface for PlaybackMediaMarkerReachedEventArgs { impl ::windows::core::RuntimeName for PlaybackMediaMarkerReachedEventArgs { const NAME: &'static str = "Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs"; } -::windows::core::interface_hierarchy!(PlaybackMediaMarkerReachedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaybackMediaMarkerReachedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlaybackMediaMarkerReachedEventArgs {} unsafe impl ::core::marker::Sync for PlaybackMediaMarkerReachedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -6957,7 +6957,7 @@ impl ::core::fmt::Debug for PlaybackMediaMarkerSequence { } } impl ::windows::core::RuntimeType for PlaybackMediaMarkerSequence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarkerSequence;{f2810cee-638b-46cf-8817-1d111fe9d8c4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarkerSequence;{f2810cee-638b-46cf-8817-1d111fe9d8c4})"); } impl ::core::clone::Clone for PlaybackMediaMarkerSequence { fn clone(&self) -> Self { @@ -6989,7 +6989,7 @@ impl ::core::iter::IntoIterator for &PlaybackMediaMarkerSequence { self.First().unwrap() } } -::windows::core::interface_hierarchy!(PlaybackMediaMarkerSequence, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaybackMediaMarkerSequence, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -7054,7 +7054,7 @@ impl ::core::fmt::Debug for TimedMetadataPresentationModeChangedEventArgs { } } impl ::windows::core::RuntimeType for TimedMetadataPresentationModeChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.TimedMetadataPresentationModeChangedEventArgs;{d1636099-65df-45ae-8cef-dc0b53fdc2bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.TimedMetadataPresentationModeChangedEventArgs;{d1636099-65df-45ae-8cef-dc0b53fdc2bb})"); } impl ::core::clone::Clone for TimedMetadataPresentationModeChangedEventArgs { fn clone(&self) -> Self { @@ -7070,7 +7070,7 @@ unsafe impl ::windows::core::Interface for TimedMetadataPresentationModeChangedE impl ::windows::core::RuntimeName for TimedMetadataPresentationModeChangedEventArgs { const NAME: &'static str = "Windows.Media.Playback.TimedMetadataPresentationModeChangedEventArgs"; } -::windows::core::interface_hierarchy!(TimedMetadataPresentationModeChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TimedMetadataPresentationModeChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TimedMetadataPresentationModeChangedEventArgs {} unsafe impl ::core::marker::Sync for TimedMetadataPresentationModeChangedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] @@ -7103,7 +7103,7 @@ impl ::core::fmt::Debug for AutoLoadedDisplayPropertyKind { } } impl ::windows::core::RuntimeType for AutoLoadedDisplayPropertyKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.AutoLoadedDisplayPropertyKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.AutoLoadedDisplayPropertyKind;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7134,7 +7134,7 @@ impl ::core::fmt::Debug for FailedMediaStreamKind { } } impl ::windows::core::RuntimeType for FailedMediaStreamKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.FailedMediaStreamKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.FailedMediaStreamKind;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7164,7 +7164,7 @@ impl ::core::fmt::Debug for MediaBreakInsertionMethod { } } impl ::windows::core::RuntimeType for MediaBreakInsertionMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaBreakInsertionMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaBreakInsertionMethod;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7195,7 +7195,7 @@ impl ::core::fmt::Debug for MediaCommandEnablingRule { } } impl ::windows::core::RuntimeType for MediaCommandEnablingRule { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaCommandEnablingRule;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaCommandEnablingRule;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7227,7 +7227,7 @@ impl ::core::fmt::Debug for MediaPlaybackItemChangedReason { } } impl ::windows::core::RuntimeType for MediaPlaybackItemChangedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlaybackItemChangedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlaybackItemChangedReason;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7261,7 +7261,7 @@ impl ::core::fmt::Debug for MediaPlaybackItemErrorCode { } } impl ::windows::core::RuntimeType for MediaPlaybackItemErrorCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlaybackItemErrorCode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlaybackItemErrorCode;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7296,7 +7296,7 @@ impl ::core::fmt::Debug for MediaPlaybackSessionVideoConstrictionReason { } } impl ::windows::core::RuntimeType for MediaPlaybackSessionVideoConstrictionReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlaybackSessionVideoConstrictionReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlaybackSessionVideoConstrictionReason;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7329,7 +7329,7 @@ impl ::core::fmt::Debug for MediaPlaybackState { } } impl ::windows::core::RuntimeType for MediaPlaybackState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlaybackState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlaybackState;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7367,7 +7367,7 @@ impl ::core::fmt::Debug for MediaPlayerAudioCategory { } } impl ::windows::core::RuntimeType for MediaPlayerAudioCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlayerAudioCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlayerAudioCategory;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7398,7 +7398,7 @@ impl ::core::fmt::Debug for MediaPlayerAudioDeviceType { } } impl ::windows::core::RuntimeType for MediaPlayerAudioDeviceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlayerAudioDeviceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlayerAudioDeviceType;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7431,7 +7431,7 @@ impl ::core::fmt::Debug for MediaPlayerError { } } impl ::windows::core::RuntimeType for MediaPlayerError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlayerError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlayerError;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -7473,7 +7473,7 @@ impl ::core::fmt::Debug for MediaPlayerState { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for MediaPlayerState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlayerState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.MediaPlayerState;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7503,7 +7503,7 @@ impl ::core::fmt::Debug for SphericalVideoProjectionMode { } } impl ::windows::core::RuntimeType for SphericalVideoProjectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.SphericalVideoProjectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.SphericalVideoProjectionMode;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7533,7 +7533,7 @@ impl ::core::fmt::Debug for StereoscopicVideoRenderMode { } } impl ::windows::core::RuntimeType for StereoscopicVideoRenderMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.StereoscopicVideoRenderMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.StereoscopicVideoRenderMode;i4)"); } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] @@ -7565,7 +7565,7 @@ impl ::core::fmt::Debug for TimedMetadataTrackPresentationMode { } } impl ::windows::core::RuntimeType for TimedMetadataTrackPresentationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.TimedMetadataTrackPresentationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playback.TimedMetadataTrackPresentationMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs index b6768f0049..435bad3768 100644 --- a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs @@ -63,8 +63,8 @@ impl Playlist { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"] @@ -125,7 +125,7 @@ impl Playlist { } #[doc(hidden)] pub fn IPlaylistStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -141,7 +141,7 @@ impl ::core::fmt::Debug for Playlist { } } impl ::windows::core::RuntimeType for Playlist { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Playlists.Playlist;{803736f5-cf44-4d97-83b3-7a089e9ab663})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playlists.Playlist;{803736f5-cf44-4d97-83b3-7a089e9ab663})"); } impl ::core::clone::Clone for Playlist { fn clone(&self) -> Self { @@ -157,7 +157,7 @@ unsafe impl ::windows::core::Interface for Playlist { impl ::windows::core::RuntimeName for Playlist { const NAME: &'static str = "Windows.Media.Playlists.Playlist"; } -::windows::core::interface_hierarchy!(Playlist, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Playlist, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Playlists\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -187,7 +187,7 @@ impl ::core::fmt::Debug for PlaylistFormat { } } impl ::windows::core::RuntimeType for PlaylistFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Playlists.PlaylistFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Playlists.PlaylistFormat;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs index 5ed4583768..049f707b41 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -141,7 +141,7 @@ impl INDClosedCaptionDataReceivedEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDClosedCaptionDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDClosedCaptionDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDClosedCaptionDataReceivedEventArgs { fn eq(&self, other: &Self) -> bool { @@ -158,7 +158,7 @@ impl ::core::fmt::Debug for INDClosedCaptionDataReceivedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDClosedCaptionDataReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4738d29f-c345-4649-8468-b8c5fc357190}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4738d29f-c345-4649-8468-b8c5fc357190}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDClosedCaptionDataReceivedEventArgs { @@ -218,7 +218,7 @@ impl INDCustomData { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDCustomData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDCustomData, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDCustomData { fn eq(&self, other: &Self) -> bool { @@ -235,7 +235,7 @@ impl ::core::fmt::Debug for INDCustomData { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDCustomData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f5cb0fdc-2d09-4f19-b5e1-76a0b3ee9267}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f5cb0fdc-2d09-4f19-b5e1-76a0b3ee9267}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDCustomData { @@ -367,7 +367,7 @@ impl INDDownloadEngine { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDDownloadEngine, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDDownloadEngine, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDDownloadEngine { fn eq(&self, other: &Self) -> bool { @@ -384,7 +384,7 @@ impl ::core::fmt::Debug for INDDownloadEngine { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDDownloadEngine { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2d223d65-c4b6-4438-8d46-b96e6d0fb21f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2d223d65-c4b6-4438-8d46-b96e6d0fb21f}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDDownloadEngine { @@ -490,7 +490,7 @@ impl INDDownloadEngineNotifier { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDDownloadEngineNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDDownloadEngineNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDDownloadEngineNotifier { fn eq(&self, other: &Self) -> bool { @@ -507,7 +507,7 @@ impl ::core::fmt::Debug for INDDownloadEngineNotifier { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDDownloadEngineNotifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d720b4d4-f4b8-4530-a809-9193a571e7fc}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d720b4d4-f4b8-4530-a809-9193a571e7fc}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDDownloadEngineNotifier { @@ -570,7 +570,7 @@ impl INDLicenseFetchCompletedEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDLicenseFetchCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDLicenseFetchCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDLicenseFetchCompletedEventArgs { fn eq(&self, other: &Self) -> bool { @@ -587,7 +587,7 @@ impl ::core::fmt::Debug for INDLicenseFetchCompletedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDLicenseFetchCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1ee30a1a-11b2-4558-8865-e3a516922517}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1ee30a1a-11b2-4558-8865-e3a516922517}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDLicenseFetchCompletedEventArgs { @@ -658,7 +658,7 @@ impl INDLicenseFetchDescriptor { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDLicenseFetchDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDLicenseFetchDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDLicenseFetchDescriptor { fn eq(&self, other: &Self) -> bool { @@ -675,7 +675,7 @@ impl ::core::fmt::Debug for INDLicenseFetchDescriptor { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDLicenseFetchDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5498d33a-e686-4935-a567-7ca77ad20fa4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5498d33a-e686-4935-a567-7ca77ad20fa4}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDLicenseFetchDescriptor { @@ -758,7 +758,7 @@ impl INDLicenseFetchResult { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDLicenseFetchResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDLicenseFetchResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDLicenseFetchResult { fn eq(&self, other: &Self) -> bool { @@ -775,7 +775,7 @@ impl ::core::fmt::Debug for INDLicenseFetchResult { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDLicenseFetchResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{21d39698-aa62-45ff-a5ff-8037e5433825}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{21d39698-aa62-45ff-a5ff-8037e5433825}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDLicenseFetchResult { @@ -845,7 +845,7 @@ impl INDMessenger { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDMessenger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDMessenger, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDMessenger { fn eq(&self, other: &Self) -> bool { @@ -862,7 +862,7 @@ impl ::core::fmt::Debug for INDMessenger { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDMessenger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d42df95d-a75b-47bf-8249-bc83820da38a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d42df95d-a75b-47bf-8249-bc83820da38a}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDMessenger { @@ -917,7 +917,7 @@ impl INDProximityDetectionCompletedEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDProximityDetectionCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDProximityDetectionCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDProximityDetectionCompletedEventArgs { fn eq(&self, other: &Self) -> bool { @@ -934,7 +934,7 @@ impl ::core::fmt::Debug for INDProximityDetectionCompletedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDProximityDetectionCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2a706328-da25-4f8c-9eb7-5d0fc3658bca}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2a706328-da25-4f8c-9eb7-5d0fc3658bca}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDProximityDetectionCompletedEventArgs { @@ -1001,7 +1001,7 @@ impl INDRegistrationCompletedEventArgs { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDRegistrationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDRegistrationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDRegistrationCompletedEventArgs { fn eq(&self, other: &Self) -> bool { @@ -1018,7 +1018,7 @@ impl ::core::fmt::Debug for INDRegistrationCompletedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDRegistrationCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9e39b64d-ab5b-4905-acdc-787a77c6374d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9e39b64d-ab5b-4905-acdc-787a77c6374d}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDRegistrationCompletedEventArgs { @@ -1073,7 +1073,7 @@ impl INDSendResult { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDSendResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDSendResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDSendResult { fn eq(&self, other: &Self) -> bool { @@ -1090,7 +1090,7 @@ impl ::core::fmt::Debug for INDSendResult { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDSendResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e3685517-a584-479d-90b7-d689c7bf7c80}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e3685517-a584-479d-90b7-d689c7bf7c80}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDSendResult { @@ -1133,7 +1133,7 @@ impl INDStartResult { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDStartResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDStartResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDStartResult { fn eq(&self, other: &Self) -> bool { @@ -1150,7 +1150,7 @@ impl ::core::fmt::Debug for INDStartResult { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDStartResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{79f6e96e-f50f-4015-8ba4-c2bc344ebd4e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{79f6e96e-f50f-4015-8ba4-c2bc344ebd4e}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDStartResult { @@ -1197,7 +1197,7 @@ impl INDStorageFileHelper { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDStorageFileHelper, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDStorageFileHelper, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDStorageFileHelper { fn eq(&self, other: &Self) -> bool { @@ -1214,7 +1214,7 @@ impl ::core::fmt::Debug for INDStorageFileHelper { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDStorageFileHelper { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d8f0bef8-91d2-4d47-a3f9-eaff4edb729f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d8f0bef8-91d2-4d47-a3f9-eaff4edb729f}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDStorageFileHelper { @@ -1288,7 +1288,7 @@ impl INDStreamParser { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDStreamParser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDStreamParser, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDStreamParser { fn eq(&self, other: &Self) -> bool { @@ -1305,7 +1305,7 @@ impl ::core::fmt::Debug for INDStreamParser { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDStreamParser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e0baa198-9796-41c9-8695-59437e67e66a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e0baa198-9796-41c9-8695-59437e67e66a}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDStreamParser { @@ -1393,7 +1393,7 @@ impl INDStreamParserNotifier { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDStreamParserNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDStreamParserNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDStreamParserNotifier { fn eq(&self, other: &Self) -> bool { @@ -1410,7 +1410,7 @@ impl ::core::fmt::Debug for INDStreamParserNotifier { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDStreamParserNotifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c167acd0-2ce6-426c-ace5-5e9275fea715}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c167acd0-2ce6-426c-ace5-5e9275fea715}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDStreamParserNotifier { @@ -1583,7 +1583,7 @@ impl INDTransmitterProperties { } } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(INDTransmitterProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(INDTransmitterProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::cmp::PartialEq for INDTransmitterProperties { fn eq(&self, other: &Self) -> bool { @@ -1600,7 +1600,7 @@ impl ::core::fmt::Debug for INDTransmitterProperties { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for INDTransmitterProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e536af23-ac4f-4adc-8c66-4ff7c2702dd6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e536af23-ac4f-4adc-8c66-4ff7c2702dd6}"); } #[cfg(feature = "deprecated")] unsafe impl ::windows::core::Vtable for INDTransmitterProperties { @@ -1835,7 +1835,7 @@ impl IPlayReadyDomain { } } } -::windows::core::interface_hierarchy!(IPlayReadyDomain, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPlayReadyDomain, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPlayReadyDomain { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1848,7 +1848,7 @@ impl ::core::fmt::Debug for IPlayReadyDomain { } } impl ::windows::core::RuntimeType for IPlayReadyDomain { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}"); } unsafe impl ::windows::core::Vtable for IPlayReadyDomain { type Vtable = IPlayReadyDomain_Vtbl; @@ -2043,7 +2043,7 @@ impl IPlayReadyLicense { } } } -::windows::core::interface_hierarchy!(IPlayReadyLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPlayReadyLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPlayReadyLicense { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2056,7 +2056,7 @@ impl ::core::fmt::Debug for IPlayReadyLicense { } } impl ::windows::core::RuntimeType for IPlayReadyLicense { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}"); } unsafe impl ::windows::core::Vtable for IPlayReadyLicense { type Vtable = IPlayReadyLicense_Vtbl; @@ -2211,7 +2211,7 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { } } } -::windows::core::interface_hierarchy!(IPlayReadyLicenseAcquisitionServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPlayReadyLicenseAcquisitionServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: IPlayReadyLicenseAcquisitionServiceRequest) -> ::windows::core::Result { @@ -2262,7 +2262,7 @@ impl ::core::fmt::Debug for IPlayReadyLicenseAcquisitionServiceRequest { } } impl ::windows::core::RuntimeType for IPlayReadyLicenseAcquisitionServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5d85ff45-3e9f-4f48-93e1-9530c8d58c3e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5d85ff45-3e9f-4f48-93e1-9530c8d58c3e}"); } unsafe impl ::windows::core::Vtable for IPlayReadyLicenseAcquisitionServiceRequest { type Vtable = IPlayReadyLicenseAcquisitionServiceRequest_Vtbl; @@ -2389,7 +2389,7 @@ impl IPlayReadyLicenseSession { unsafe { (::windows::core::Vtable::vtable(this).ConfigureMediaProtectionManager)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(mpm)).ok() } } } -::windows::core::interface_hierarchy!(IPlayReadyLicenseSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPlayReadyLicenseSession, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPlayReadyLicenseSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2402,7 +2402,7 @@ impl ::core::fmt::Debug for IPlayReadyLicenseSession { } } impl ::windows::core::RuntimeType for IPlayReadyLicenseSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a1723a39-87fa-4fdd-abbb-a9720e845259}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a1723a39-87fa-4fdd-abbb-a9720e845259}"); } unsafe impl ::windows::core::Vtable for IPlayReadyLicenseSession { type Vtable = IPlayReadyLicenseSession_Vtbl; @@ -2447,7 +2447,7 @@ impl IPlayReadyLicenseSession2 { unsafe { (::windows::core::Vtable::vtable(this).ConfigureMediaProtectionManager)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(mpm)).ok() } } } -::windows::core::interface_hierarchy!(IPlayReadyLicenseSession2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPlayReadyLicenseSession2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPlayReadyLicenseSession { type Error = ::windows::core::Error; fn try_from(value: IPlayReadyLicenseSession2) -> ::windows::core::Result { @@ -2479,7 +2479,7 @@ impl ::core::fmt::Debug for IPlayReadyLicenseSession2 { } } impl ::windows::core::RuntimeType for IPlayReadyLicenseSession2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4909be3a-3aed-4656-8ad7-ee0fd7799510}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4909be3a-3aed-4656-8ad7-ee0fd7799510}"); } unsafe impl ::windows::core::Vtable for IPlayReadyLicenseSession2 { type Vtable = IPlayReadyLicenseSession2_Vtbl; @@ -2708,7 +2708,7 @@ impl IPlayReadySecureStopServiceRequest { } } } -::windows::core::interface_hierarchy!(IPlayReadySecureStopServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPlayReadySecureStopServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: IPlayReadySecureStopServiceRequest) -> ::windows::core::Result { @@ -2759,7 +2759,7 @@ impl ::core::fmt::Debug for IPlayReadySecureStopServiceRequest { } } impl ::windows::core::RuntimeType for IPlayReadySecureStopServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b5501ee5-01bf-4401-9677-05630a6a4cc8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b5501ee5-01bf-4401-9677-05630a6a4cc8}"); } unsafe impl ::windows::core::Vtable for IPlayReadySecureStopServiceRequest { type Vtable = IPlayReadySecureStopServiceRequest_Vtbl; @@ -2891,7 +2891,7 @@ impl IPlayReadyServiceRequest { } } } -::windows::core::interface_hierarchy!(IPlayReadyServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPlayReadyServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: IPlayReadyServiceRequest) -> ::windows::core::Result { @@ -2923,7 +2923,7 @@ impl ::core::fmt::Debug for IPlayReadyServiceRequest { } } impl ::windows::core::RuntimeType for IPlayReadyServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8bad2836-a703-45a6-a180-76f3565aa725}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8bad2836-a703-45a6-a180-76f3565aa725}"); } unsafe impl ::windows::core::Vtable for IPlayReadyServiceRequest { type Vtable = IPlayReadyServiceRequest_Vtbl; @@ -3251,7 +3251,7 @@ impl NDClient { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn INDClientFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3271,7 +3271,7 @@ impl ::core::fmt::Debug for NDClient { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDClient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDClient;{3bd6781b-61b8-46e2-99a5-8abcb6b9f7d6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDClient;{3bd6781b-61b8-46e2-99a5-8abcb6b9f7d6})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for NDClient { @@ -3292,7 +3292,7 @@ impl ::windows::core::RuntimeName for NDClient { const NAME: &'static str = "Windows.Media.Protection.PlayReady.NDClient"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(NDClient, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NDClient, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -3328,7 +3328,7 @@ impl NDCustomData { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn INDCustomDataFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3348,7 +3348,7 @@ impl ::core::fmt::Debug for NDCustomData { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDCustomData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDCustomData;{f5cb0fdc-2d09-4f19-b5e1-76a0b3ee9267})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDCustomData;{f5cb0fdc-2d09-4f19-b5e1-76a0b3ee9267})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for NDCustomData { @@ -3369,7 +3369,7 @@ impl ::windows::core::RuntimeName for NDCustomData { const NAME: &'static str = "Windows.Media.Protection.PlayReady.NDCustomData"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(NDCustomData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NDCustomData, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for INDCustomData { type Error = ::windows::core::Error; @@ -3401,8 +3401,8 @@ impl NDDownloadEngineNotifier { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"deprecated\"`*"] @@ -3462,7 +3462,7 @@ impl ::core::fmt::Debug for NDDownloadEngineNotifier { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDDownloadEngineNotifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDDownloadEngineNotifier;{d720b4d4-f4b8-4530-a809-9193a571e7fc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDDownloadEngineNotifier;{d720b4d4-f4b8-4530-a809-9193a571e7fc})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for NDDownloadEngineNotifier { @@ -3483,7 +3483,7 @@ impl ::windows::core::RuntimeName for NDDownloadEngineNotifier { const NAME: &'static str = "Windows.Media.Protection.PlayReady.NDDownloadEngineNotifier"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(NDDownloadEngineNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NDDownloadEngineNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for INDDownloadEngineNotifier { type Error = ::windows::core::Error; @@ -3564,7 +3564,7 @@ impl NDLicenseFetchDescriptor { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn INDLicenseFetchDescriptorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3584,7 +3584,7 @@ impl ::core::fmt::Debug for NDLicenseFetchDescriptor { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDLicenseFetchDescriptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor;{5498d33a-e686-4935-a567-7ca77ad20fa4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor;{5498d33a-e686-4935-a567-7ca77ad20fa4})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for NDLicenseFetchDescriptor { @@ -3605,7 +3605,7 @@ impl ::windows::core::RuntimeName for NDLicenseFetchDescriptor { const NAME: &'static str = "Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(NDLicenseFetchDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NDLicenseFetchDescriptor, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for INDLicenseFetchDescriptor { type Error = ::windows::core::Error; @@ -3637,8 +3637,8 @@ impl NDStorageFileHelper { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`*"] @@ -3671,7 +3671,7 @@ impl ::core::fmt::Debug for NDStorageFileHelper { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDStorageFileHelper { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDStorageFileHelper;{d8f0bef8-91d2-4d47-a3f9-eaff4edb729f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDStorageFileHelper;{d8f0bef8-91d2-4d47-a3f9-eaff4edb729f})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for NDStorageFileHelper { @@ -3692,7 +3692,7 @@ impl ::windows::core::RuntimeName for NDStorageFileHelper { const NAME: &'static str = "Windows.Media.Protection.PlayReady.NDStorageFileHelper"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(NDStorageFileHelper, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NDStorageFileHelper, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for INDStorageFileHelper { type Error = ::windows::core::Error; @@ -3724,8 +3724,8 @@ impl NDStreamParserNotifier { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"deprecated\"`*"] @@ -3783,7 +3783,7 @@ impl ::core::fmt::Debug for NDStreamParserNotifier { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDStreamParserNotifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDStreamParserNotifier;{c167acd0-2ce6-426c-ace5-5e9275fea715})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDStreamParserNotifier;{c167acd0-2ce6-426c-ace5-5e9275fea715})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for NDStreamParserNotifier { @@ -3804,7 +3804,7 @@ impl ::windows::core::RuntimeName for NDStreamParserNotifier { const NAME: &'static str = "Windows.Media.Protection.PlayReady.NDStreamParserNotifier"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(NDStreamParserNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NDStreamParserNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for INDStreamParserNotifier { type Error = ::windows::core::Error; @@ -3880,7 +3880,7 @@ impl NDTCPMessenger { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn INDTCPMessengerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3900,7 +3900,7 @@ impl ::core::fmt::Debug for NDTCPMessenger { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDTCPMessenger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDTCPMessenger;{d42df95d-a75b-47bf-8249-bc83820da38a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDTCPMessenger;{d42df95d-a75b-47bf-8249-bc83820da38a})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for NDTCPMessenger { @@ -3921,7 +3921,7 @@ impl ::windows::core::RuntimeName for NDTCPMessenger { const NAME: &'static str = "Windows.Media.Protection.PlayReady.NDTCPMessenger"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(NDTCPMessenger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NDTCPMessenger, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] impl ::core::convert::TryFrom for INDMessenger { type Error = ::windows::core::Error; @@ -4068,12 +4068,12 @@ impl PlayReadyContentHeader { } #[doc(hidden)] pub fn IPlayReadyContentHeaderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPlayReadyContentHeaderFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4089,7 +4089,7 @@ impl ::core::fmt::Debug for PlayReadyContentHeader { } } impl ::windows::core::RuntimeType for PlayReadyContentHeader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyContentHeader;{9a438a6a-7f4c-452e-88bd-0148c6387a2c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyContentHeader;{9a438a6a-7f4c-452e-88bd-0148c6387a2c})"); } impl ::core::clone::Clone for PlayReadyContentHeader { fn clone(&self) -> Self { @@ -4105,7 +4105,7 @@ unsafe impl ::windows::core::Interface for PlayReadyContentHeader { impl ::windows::core::RuntimeName for PlayReadyContentHeader { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyContentHeader"; } -::windows::core::interface_hierarchy!(PlayReadyContentHeader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyContentHeader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] pub struct PlayReadyContentResolver; impl PlayReadyContentResolver { @@ -4117,7 +4117,7 @@ impl PlayReadyContentResolver { } #[doc(hidden)] pub fn IPlayReadyContentResolver ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4178,7 +4178,7 @@ impl ::core::fmt::Debug for PlayReadyDomain { } } impl ::windows::core::RuntimeType for PlayReadyDomain { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomain;{adcc93ac-97e6-43ef-95e4-d7868f3b16a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomain;{adcc93ac-97e6-43ef-95e4-d7868f3b16a9})"); } impl ::core::clone::Clone for PlayReadyDomain { fn clone(&self) -> Self { @@ -4194,7 +4194,7 @@ unsafe impl ::windows::core::Interface for PlayReadyDomain { impl ::windows::core::RuntimeName for PlayReadyDomain { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyDomain"; } -::windows::core::interface_hierarchy!(PlayReadyDomain, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyDomain, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPlayReadyDomain { type Error = ::windows::core::Error; fn try_from(value: PlayReadyDomain) -> ::windows::core::Result { @@ -4239,7 +4239,7 @@ impl PlayReadyDomainIterable { } #[doc(hidden)] pub fn IPlayReadyDomainIterableFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4259,7 +4259,7 @@ impl ::core::fmt::Debug for PlayReadyDomainIterable { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for PlayReadyDomainIterable { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for PlayReadyDomainIterable { @@ -4296,7 +4296,7 @@ impl ::core::iter::IntoIterator for &PlayReadyDomainIterable { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(PlayReadyDomainIterable, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyDomainIterable, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -4378,7 +4378,7 @@ impl ::core::fmt::Debug for PlayReadyDomainIterator { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for PlayReadyDomainIterator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for PlayReadyDomainIterator { @@ -4399,7 +4399,7 @@ impl ::windows::core::RuntimeName for PlayReadyDomainIterator { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyDomainIterator"; } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(PlayReadyDomainIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyDomainIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterator { type Error = ::windows::core::Error; @@ -4429,8 +4429,8 @@ impl PlayReadyDomainJoinServiceRequest { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -4556,7 +4556,7 @@ impl ::core::fmt::Debug for PlayReadyDomainJoinServiceRequest { } } impl ::windows::core::RuntimeType for PlayReadyDomainJoinServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainJoinServiceRequest;{171b4a5a-405f-4739-b040-67b9f0c38758})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainJoinServiceRequest;{171b4a5a-405f-4739-b040-67b9f0c38758})"); } impl ::core::clone::Clone for PlayReadyDomainJoinServiceRequest { fn clone(&self) -> Self { @@ -4572,7 +4572,7 @@ unsafe impl ::windows::core::Interface for PlayReadyDomainJoinServiceRequest { impl ::windows::core::RuntimeName for PlayReadyDomainJoinServiceRequest { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyDomainJoinServiceRequest"; } -::windows::core::interface_hierarchy!(PlayReadyDomainJoinServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyDomainJoinServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: PlayReadyDomainJoinServiceRequest) -> ::windows::core::Result { @@ -4618,8 +4618,8 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -4734,7 +4734,7 @@ impl ::core::fmt::Debug for PlayReadyDomainLeaveServiceRequest { } } impl ::windows::core::RuntimeType for PlayReadyDomainLeaveServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainLeaveServiceRequest;{062d58be-97ad-4917-aa03-46d4c252d464})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainLeaveServiceRequest;{062d58be-97ad-4917-aa03-46d4c252d464})"); } impl ::core::clone::Clone for PlayReadyDomainLeaveServiceRequest { fn clone(&self) -> Self { @@ -4750,7 +4750,7 @@ unsafe impl ::windows::core::Interface for PlayReadyDomainLeaveServiceRequest { impl ::windows::core::RuntimeName for PlayReadyDomainLeaveServiceRequest { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyDomainLeaveServiceRequest"; } -::windows::core::interface_hierarchy!(PlayReadyDomainLeaveServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyDomainLeaveServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: PlayReadyDomainLeaveServiceRequest) -> ::windows::core::Result { @@ -4796,8 +4796,8 @@ impl PlayReadyITADataGenerator { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4826,7 +4826,7 @@ impl ::core::fmt::Debug for PlayReadyITADataGenerator { } } impl ::windows::core::RuntimeType for PlayReadyITADataGenerator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyITADataGenerator;{24446b8e-10b9-4530-b25b-901a8029a9b2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyITADataGenerator;{24446b8e-10b9-4530-b25b-901a8029a9b2})"); } impl ::core::clone::Clone for PlayReadyITADataGenerator { fn clone(&self) -> Self { @@ -4842,7 +4842,7 @@ unsafe impl ::windows::core::Interface for PlayReadyITADataGenerator { impl ::windows::core::RuntimeName for PlayReadyITADataGenerator { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyITADataGenerator"; } -::windows::core::interface_hierarchy!(PlayReadyITADataGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyITADataGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] pub struct PlayReadyIndividualizationServiceRequest(::windows::core::IUnknown); @@ -4850,8 +4850,8 @@ impl PlayReadyIndividualizationServiceRequest { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -4944,7 +4944,7 @@ impl ::core::fmt::Debug for PlayReadyIndividualizationServiceRequest { } } impl ::windows::core::RuntimeType for PlayReadyIndividualizationServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyIndividualizationServiceRequest;{21f5a86b-008c-4611-ab2f-aaa6c69f0e24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyIndividualizationServiceRequest;{21f5a86b-008c-4611-ab2f-aaa6c69f0e24})"); } impl ::core::clone::Clone for PlayReadyIndividualizationServiceRequest { fn clone(&self) -> Self { @@ -4960,7 +4960,7 @@ unsafe impl ::windows::core::Interface for PlayReadyIndividualizationServiceRequ impl ::windows::core::RuntimeName for PlayReadyIndividualizationServiceRequest { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyIndividualizationServiceRequest"; } -::windows::core::interface_hierarchy!(PlayReadyIndividualizationServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyIndividualizationServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: PlayReadyIndividualizationServiceRequest) -> ::windows::core::Result { @@ -5095,7 +5095,7 @@ impl ::core::fmt::Debug for PlayReadyLicense { } } impl ::windows::core::RuntimeType for PlayReadyLicense { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicense;{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicense;{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4})"); } impl ::core::clone::Clone for PlayReadyLicense { fn clone(&self) -> Self { @@ -5111,7 +5111,7 @@ unsafe impl ::windows::core::Interface for PlayReadyLicense { impl ::windows::core::RuntimeName for PlayReadyLicense { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyLicense"; } -::windows::core::interface_hierarchy!(PlayReadyLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPlayReadyLicense { type Error = ::windows::core::Error; fn try_from(value: PlayReadyLicense) -> ::windows::core::Result { @@ -5138,8 +5138,8 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -5270,7 +5270,7 @@ impl ::core::fmt::Debug for PlayReadyLicenseAcquisitionServiceRequest { } } impl ::windows::core::RuntimeType for PlayReadyLicenseAcquisitionServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseAcquisitionServiceRequest;{5d85ff45-3e9f-4f48-93e1-9530c8d58c3e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseAcquisitionServiceRequest;{5d85ff45-3e9f-4f48-93e1-9530c8d58c3e})"); } impl ::core::clone::Clone for PlayReadyLicenseAcquisitionServiceRequest { fn clone(&self) -> Self { @@ -5286,7 +5286,7 @@ unsafe impl ::windows::core::Interface for PlayReadyLicenseAcquisitionServiceReq impl ::windows::core::RuntimeName for PlayReadyLicenseAcquisitionServiceRequest { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyLicenseAcquisitionServiceRequest"; } -::windows::core::interface_hierarchy!(PlayReadyLicenseAcquisitionServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyLicenseAcquisitionServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: PlayReadyLicenseAcquisitionServiceRequest) -> ::windows::core::Result { @@ -5353,8 +5353,8 @@ impl PlayReadyLicenseIterable { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5376,7 +5376,7 @@ impl PlayReadyLicenseIterable { } #[doc(hidden)] pub fn IPlayReadyLicenseIterableFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5396,7 +5396,7 @@ impl ::core::fmt::Debug for PlayReadyLicenseIterable { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for PlayReadyLicenseIterable { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for PlayReadyLicenseIterable { @@ -5433,7 +5433,7 @@ impl ::core::iter::IntoIterator for &PlayReadyLicenseIterable { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(PlayReadyLicenseIterable, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyLicenseIterable, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -5515,7 +5515,7 @@ impl ::core::fmt::Debug for PlayReadyLicenseIterator { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for PlayReadyLicenseIterator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for PlayReadyLicenseIterator { @@ -5536,7 +5536,7 @@ impl ::windows::core::RuntimeName for PlayReadyLicenseIterator { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyLicenseIterator"; } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(PlayReadyLicenseIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyLicenseIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterator { type Error = ::windows::core::Error; @@ -5572,7 +5572,7 @@ impl PlayReadyLicenseManagement { } #[doc(hidden)] pub fn IPlayReadyLicenseManagement ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5617,7 +5617,7 @@ impl PlayReadyLicenseSession { } #[doc(hidden)] pub fn IPlayReadyLicenseSessionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5633,7 +5633,7 @@ impl ::core::fmt::Debug for PlayReadyLicenseSession { } } impl ::windows::core::RuntimeType for PlayReadyLicenseSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseSession;{a1723a39-87fa-4fdd-abbb-a9720e845259})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseSession;{a1723a39-87fa-4fdd-abbb-a9720e845259})"); } impl ::core::clone::Clone for PlayReadyLicenseSession { fn clone(&self) -> Self { @@ -5649,7 +5649,7 @@ unsafe impl ::windows::core::Interface for PlayReadyLicenseSession { impl ::windows::core::RuntimeName for PlayReadyLicenseSession { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyLicenseSession"; } -::windows::core::interface_hierarchy!(PlayReadyLicenseSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyLicenseSession, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPlayReadyLicenseSession { type Error = ::windows::core::Error; fn try_from(value: PlayReadyLicenseSession) -> ::windows::core::Result { @@ -5695,8 +5695,8 @@ impl PlayReadyMeteringReportServiceRequest { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -5800,7 +5800,7 @@ impl ::core::fmt::Debug for PlayReadyMeteringReportServiceRequest { } } impl ::windows::core::RuntimeType for PlayReadyMeteringReportServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyMeteringReportServiceRequest;{c12b231c-0ecd-4f11-a185-1e24a4a67fb7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyMeteringReportServiceRequest;{c12b231c-0ecd-4f11-a185-1e24a4a67fb7})"); } impl ::core::clone::Clone for PlayReadyMeteringReportServiceRequest { fn clone(&self) -> Self { @@ -5816,7 +5816,7 @@ unsafe impl ::windows::core::Interface for PlayReadyMeteringReportServiceRequest impl ::windows::core::RuntimeName for PlayReadyMeteringReportServiceRequest { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyMeteringReportServiceRequest"; } -::windows::core::interface_hierarchy!(PlayReadyMeteringReportServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyMeteringReportServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: PlayReadyMeteringReportServiceRequest) -> ::windows::core::Result { @@ -5862,8 +5862,8 @@ impl PlayReadyRevocationServiceRequest { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProtectionSystem(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -5956,7 +5956,7 @@ impl ::core::fmt::Debug for PlayReadyRevocationServiceRequest { } } impl ::windows::core::RuntimeType for PlayReadyRevocationServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyRevocationServiceRequest;{543d66ac-faf0-4560-84a5-0e4acec939e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyRevocationServiceRequest;{543d66ac-faf0-4560-84a5-0e4acec939e4})"); } impl ::core::clone::Clone for PlayReadyRevocationServiceRequest { fn clone(&self) -> Self { @@ -5972,7 +5972,7 @@ unsafe impl ::windows::core::Interface for PlayReadyRevocationServiceRequest { impl ::windows::core::RuntimeName for PlayReadyRevocationServiceRequest { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadyRevocationServiceRequest"; } -::windows::core::interface_hierarchy!(PlayReadyRevocationServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadyRevocationServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: PlayReadyRevocationServiceRequest) -> ::windows::core::Result { @@ -6036,7 +6036,7 @@ impl PlayReadySecureStopIterable { } #[doc(hidden)] pub fn IPlayReadySecureStopIterableFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6056,7 +6056,7 @@ impl ::core::fmt::Debug for PlayReadySecureStopIterable { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for PlayReadySecureStopIterable { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{b5501ee5-01bf-4401-9677-05630a6a4cc8}))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{b5501ee5-01bf-4401-9677-05630a6a4cc8}))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for PlayReadySecureStopIterable { @@ -6093,7 +6093,7 @@ impl ::core::iter::IntoIterator for &PlayReadySecureStopIterable { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(PlayReadySecureStopIterable, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadySecureStopIterable, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -6175,7 +6175,7 @@ impl ::core::fmt::Debug for PlayReadySecureStopIterator { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for PlayReadySecureStopIterator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{b5501ee5-01bf-4401-9677-05630a6a4cc8}))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{b5501ee5-01bf-4401-9677-05630a6a4cc8}))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for PlayReadySecureStopIterator { @@ -6196,7 +6196,7 @@ impl ::windows::core::RuntimeName for PlayReadySecureStopIterator { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadySecureStopIterator"; } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(PlayReadySecureStopIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadySecureStopIterator, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterator { type Error = ::windows::core::Error; @@ -6353,7 +6353,7 @@ impl PlayReadySecureStopServiceRequest { } #[doc(hidden)] pub fn IPlayReadySecureStopServiceRequestFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6369,7 +6369,7 @@ impl ::core::fmt::Debug for PlayReadySecureStopServiceRequest { } } impl ::windows::core::RuntimeType for PlayReadySecureStopServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopServiceRequest;{b5501ee5-01bf-4401-9677-05630a6a4cc8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopServiceRequest;{b5501ee5-01bf-4401-9677-05630a6a4cc8})"); } impl ::core::clone::Clone for PlayReadySecureStopServiceRequest { fn clone(&self) -> Self { @@ -6385,7 +6385,7 @@ unsafe impl ::windows::core::Interface for PlayReadySecureStopServiceRequest { impl ::windows::core::RuntimeName for PlayReadySecureStopServiceRequest { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadySecureStopServiceRequest"; } -::windows::core::interface_hierarchy!(PlayReadySecureStopServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadySecureStopServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IMediaProtectionServiceRequest { type Error = ::windows::core::Error; fn try_from(value: PlayReadySecureStopServiceRequest) -> ::windows::core::Result { @@ -6485,7 +6485,7 @@ impl ::core::fmt::Debug for PlayReadySoapMessage { } } impl ::windows::core::RuntimeType for PlayReadySoapMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySoapMessage;{b659fcb5-ce41-41ba-8a0d-61df5fffa139})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySoapMessage;{b659fcb5-ce41-41ba-8a0d-61df5fffa139})"); } impl ::core::clone::Clone for PlayReadySoapMessage { fn clone(&self) -> Self { @@ -6501,7 +6501,7 @@ unsafe impl ::windows::core::Interface for PlayReadySoapMessage { impl ::windows::core::RuntimeName for PlayReadySoapMessage { const NAME: &'static str = "Windows.Media.Protection.PlayReady.PlayReadySoapMessage"; } -::windows::core::interface_hierarchy!(PlayReadySoapMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlayReadySoapMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] pub struct PlayReadyStatics; impl PlayReadyStatics { @@ -6604,27 +6604,27 @@ impl PlayReadyStatics { } #[doc(hidden)] pub fn IPlayReadyStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPlayReadyStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPlayReadyStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPlayReadyStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPlayReadyStatics5 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6672,7 +6672,7 @@ impl ::core::fmt::Debug for NDCertificateFeature { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDCertificateFeature { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDCertificateFeature;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDCertificateFeature;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -6720,7 +6720,7 @@ impl ::core::fmt::Debug for NDCertificatePlatformID { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDCertificatePlatformID { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDCertificatePlatformID;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDCertificatePlatformID;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -6769,7 +6769,7 @@ impl ::core::fmt::Debug for NDCertificateType { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDCertificateType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDCertificateType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDCertificateType;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -6808,7 +6808,7 @@ impl ::core::fmt::Debug for NDClosedCaptionFormat { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDClosedCaptionFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDClosedCaptionFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDClosedCaptionFormat;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -6847,7 +6847,7 @@ impl ::core::fmt::Debug for NDContentIDType { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDContentIDType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDContentIDType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDContentIDType;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -6885,7 +6885,7 @@ impl ::core::fmt::Debug for NDMediaStreamType { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDMediaStreamType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDMediaStreamType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDMediaStreamType;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -6924,7 +6924,7 @@ impl ::core::fmt::Debug for NDProximityDetectionType { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDProximityDetectionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDProximityDetectionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDProximityDetectionType;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -6962,7 +6962,7 @@ impl ::core::fmt::Debug for NDStartAsyncOptions { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for NDStartAsyncOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDStartAsyncOptions;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.NDStartAsyncOptions;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] @@ -6992,7 +6992,7 @@ impl ::core::fmt::Debug for PlayReadyDecryptorSetup { } } impl ::windows::core::RuntimeType for PlayReadyDecryptorSetup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.PlayReadyDecryptorSetup;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.PlayReadyDecryptorSetup;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] @@ -7026,7 +7026,7 @@ impl ::core::fmt::Debug for PlayReadyEncryptionAlgorithm { } } impl ::windows::core::RuntimeType for PlayReadyEncryptionAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.PlayReadyEncryptionAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.PlayReadyEncryptionAlgorithm;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] @@ -7057,7 +7057,7 @@ impl ::core::fmt::Debug for PlayReadyHardwareDRMFeatures { } } impl ::windows::core::RuntimeType for PlayReadyHardwareDRMFeatures { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.PlayReadyHardwareDRMFeatures;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.PlayReadyHardwareDRMFeatures;i4)"); } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] @@ -7087,7 +7087,7 @@ impl ::core::fmt::Debug for PlayReadyITADataFormat { } } impl ::windows::core::RuntimeType for PlayReadyITADataFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.PlayReadyITADataFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.PlayReady.PlayReadyITADataFormat;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Protection/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/mod.rs index 5ec5549ce7..aac1ff0899 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -212,7 +212,7 @@ impl IMediaProtectionServiceRequest { } } } -::windows::core::interface_hierarchy!(IMediaProtectionServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaProtectionServiceRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaProtectionServiceRequest { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -225,7 +225,7 @@ impl ::core::fmt::Debug for IMediaProtectionServiceRequest { } } impl ::windows::core::RuntimeType for IMediaProtectionServiceRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b1de0ea6-2094-478d-87a4-8b95200f85c6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b1de0ea6-2094-478d-87a4-8b95200f85c6}"); } unsafe impl ::windows::core::Vtable for IMediaProtectionServiceRequest { type Vtable = IMediaProtectionServiceRequest_Vtbl; @@ -387,7 +387,7 @@ impl ::core::fmt::Debug for ComponentLoadFailedEventArgs { } } impl ::windows::core::RuntimeType for ComponentLoadFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ComponentLoadFailedEventArgs;{95972e93-7746-417e-8495-f031bbc5862c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ComponentLoadFailedEventArgs;{95972e93-7746-417e-8495-f031bbc5862c})"); } impl ::core::clone::Clone for ComponentLoadFailedEventArgs { fn clone(&self) -> Self { @@ -403,7 +403,7 @@ unsafe impl ::windows::core::Interface for ComponentLoadFailedEventArgs { impl ::windows::core::RuntimeName for ComponentLoadFailedEventArgs { const NAME: &'static str = "Windows.Media.Protection.ComponentLoadFailedEventArgs"; } -::windows::core::interface_hierarchy!(ComponentLoadFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ComponentLoadFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ComponentLoadFailedEventArgs {} unsafe impl ::core::marker::Sync for ComponentLoadFailedEventArgs {} #[doc = "*Required features: `\"Media_Protection\"`*"] @@ -419,7 +419,7 @@ impl ComponentRenewal { } #[doc(hidden)] pub fn IComponentRenewalStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -433,8 +433,8 @@ impl HdcpSession { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -496,7 +496,7 @@ impl ::core::fmt::Debug for HdcpSession { } } impl ::windows::core::RuntimeType for HdcpSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.HdcpSession;{718845e9-64d7-426d-809b-1be461941a2a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.HdcpSession;{718845e9-64d7-426d-809b-1be461941a2a})"); } impl ::core::clone::Clone for HdcpSession { fn clone(&self) -> Self { @@ -512,7 +512,7 @@ unsafe impl ::windows::core::Interface for HdcpSession { impl ::windows::core::RuntimeName for HdcpSession { const NAME: &'static str = "Windows.Media.Protection.HdcpSession"; } -::windows::core::interface_hierarchy!(HdcpSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HdcpSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -544,8 +544,8 @@ impl MediaProtectionManager { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -615,7 +615,7 @@ impl ::core::fmt::Debug for MediaProtectionManager { } } impl ::windows::core::RuntimeType for MediaProtectionManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionManager;{45694947-c741-434b-a79e-474c12d93d2f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionManager;{45694947-c741-434b-a79e-474c12d93d2f})"); } impl ::core::clone::Clone for MediaProtectionManager { fn clone(&self) -> Self { @@ -631,7 +631,7 @@ unsafe impl ::windows::core::Interface for MediaProtectionManager { impl ::windows::core::RuntimeName for MediaProtectionManager { const NAME: &'static str = "Windows.Media.Protection.MediaProtectionManager"; } -::windows::core::interface_hierarchy!(MediaProtectionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaProtectionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaProtectionManager {} unsafe impl ::core::marker::Sync for MediaProtectionManager {} #[doc = "*Required features: `\"Media_Protection\"`*"] @@ -661,7 +661,7 @@ impl MediaProtectionPMPServer { } #[doc(hidden)] pub fn IMediaProtectionPMPServerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -677,7 +677,7 @@ impl ::core::fmt::Debug for MediaProtectionPMPServer { } } impl ::windows::core::RuntimeType for MediaProtectionPMPServer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionPMPServer;{0c111226-7b26-4d31-95bb-9c1b08ef7fc0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionPMPServer;{0c111226-7b26-4d31-95bb-9c1b08ef7fc0})"); } impl ::core::clone::Clone for MediaProtectionPMPServer { fn clone(&self) -> Self { @@ -693,7 +693,7 @@ unsafe impl ::windows::core::Interface for MediaProtectionPMPServer { impl ::windows::core::RuntimeName for MediaProtectionPMPServer { const NAME: &'static str = "Windows.Media.Protection.MediaProtectionPMPServer"; } -::windows::core::interface_hierarchy!(MediaProtectionPMPServer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaProtectionPMPServer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaProtectionPMPServer {} unsafe impl ::core::marker::Sync for MediaProtectionPMPServer {} #[doc = "*Required features: `\"Media_Protection\"`*"] @@ -717,7 +717,7 @@ impl ::core::fmt::Debug for MediaProtectionServiceCompletion { } } impl ::windows::core::RuntimeType for MediaProtectionServiceCompletion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionServiceCompletion;{8b5cca18-cfd5-44ee-a2ed-df76010c14b5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionServiceCompletion;{8b5cca18-cfd5-44ee-a2ed-df76010c14b5})"); } impl ::core::clone::Clone for MediaProtectionServiceCompletion { fn clone(&self) -> Self { @@ -733,7 +733,7 @@ unsafe impl ::windows::core::Interface for MediaProtectionServiceCompletion { impl ::windows::core::RuntimeName for MediaProtectionServiceCompletion { const NAME: &'static str = "Windows.Media.Protection.MediaProtectionServiceCompletion"; } -::windows::core::interface_hierarchy!(MediaProtectionServiceCompletion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaProtectionServiceCompletion, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaProtectionServiceCompletion {} unsafe impl ::core::marker::Sync for MediaProtectionServiceCompletion {} #[doc = "*Required features: `\"Media_Protection\"`*"] @@ -743,8 +743,8 @@ impl ProtectionCapabilities { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsTypeSupported(&self, r#type: &::windows::core::HSTRING, keysystem: &::windows::core::HSTRING) -> ::windows::core::Result { @@ -767,7 +767,7 @@ impl ::core::fmt::Debug for ProtectionCapabilities { } } impl ::windows::core::RuntimeType for ProtectionCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ProtectionCapabilities;{c7ac5d7e-7480-4d29-a464-7bcd913dd8e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ProtectionCapabilities;{c7ac5d7e-7480-4d29-a464-7bcd913dd8e4})"); } impl ::core::clone::Clone for ProtectionCapabilities { fn clone(&self) -> Self { @@ -783,7 +783,7 @@ unsafe impl ::windows::core::Interface for ProtectionCapabilities { impl ::windows::core::RuntimeName for ProtectionCapabilities { const NAME: &'static str = "Windows.Media.Protection.ProtectionCapabilities"; } -::windows::core::interface_hierarchy!(ProtectionCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectionCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectionCapabilities {} unsafe impl ::core::marker::Sync for ProtectionCapabilities {} #[doc = "*Required features: `\"Media_Protection\"`*"] @@ -812,7 +812,7 @@ impl ::core::fmt::Debug for RevocationAndRenewalInformation { } } impl ::windows::core::RuntimeType for RevocationAndRenewalInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.RevocationAndRenewalInformation;{f3a1937b-2501-439e-a6e7-6fc95e175fcf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.RevocationAndRenewalInformation;{f3a1937b-2501-439e-a6e7-6fc95e175fcf})"); } impl ::core::clone::Clone for RevocationAndRenewalInformation { fn clone(&self) -> Self { @@ -828,7 +828,7 @@ unsafe impl ::windows::core::Interface for RevocationAndRenewalInformation { impl ::windows::core::RuntimeName for RevocationAndRenewalInformation { const NAME: &'static str = "Windows.Media.Protection.RevocationAndRenewalInformation"; } -::windows::core::interface_hierarchy!(RevocationAndRenewalInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RevocationAndRenewalInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RevocationAndRenewalInformation {} unsafe impl ::core::marker::Sync for RevocationAndRenewalInformation {} #[doc = "*Required features: `\"Media_Protection\"`*"] @@ -883,7 +883,7 @@ impl ::core::fmt::Debug for RevocationAndRenewalItem { } } impl ::windows::core::RuntimeType for RevocationAndRenewalItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.RevocationAndRenewalItem;{3099c20c-3cf0-49ea-902d-caf32d2dde2c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.RevocationAndRenewalItem;{3099c20c-3cf0-49ea-902d-caf32d2dde2c})"); } impl ::core::clone::Clone for RevocationAndRenewalItem { fn clone(&self) -> Self { @@ -899,7 +899,7 @@ unsafe impl ::windows::core::Interface for RevocationAndRenewalItem { impl ::windows::core::RuntimeName for RevocationAndRenewalItem { const NAME: &'static str = "Windows.Media.Protection.RevocationAndRenewalItem"; } -::windows::core::interface_hierarchy!(RevocationAndRenewalItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RevocationAndRenewalItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RevocationAndRenewalItem {} unsafe impl ::core::marker::Sync for RevocationAndRenewalItem {} #[doc = "*Required features: `\"Media_Protection\"`*"] @@ -942,7 +942,7 @@ impl ::core::fmt::Debug for ServiceRequestedEventArgs { } } impl ::windows::core::RuntimeType for ServiceRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ServiceRequestedEventArgs;{34283baf-abb4-4fc1-bd89-93f106573a49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ServiceRequestedEventArgs;{34283baf-abb4-4fc1-bd89-93f106573a49})"); } impl ::core::clone::Clone for ServiceRequestedEventArgs { fn clone(&self) -> Self { @@ -958,7 +958,7 @@ unsafe impl ::windows::core::Interface for ServiceRequestedEventArgs { impl ::windows::core::RuntimeName for ServiceRequestedEventArgs { const NAME: &'static str = "Windows.Media.Protection.ServiceRequestedEventArgs"; } -::windows::core::interface_hierarchy!(ServiceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ServiceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ServiceRequestedEventArgs {} unsafe impl ::core::marker::Sync for ServiceRequestedEventArgs {} #[doc = "*Required features: `\"Media_Protection\"`*"] @@ -993,7 +993,7 @@ impl ::core::fmt::Debug for GraphicsTrustStatus { } } impl ::windows::core::RuntimeType for GraphicsTrustStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.GraphicsTrustStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.GraphicsTrustStatus;i4)"); } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] @@ -1024,7 +1024,7 @@ impl ::core::fmt::Debug for HdcpProtection { } } impl ::windows::core::RuntimeType for HdcpProtection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.HdcpProtection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.HdcpProtection;i4)"); } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] @@ -1056,7 +1056,7 @@ impl ::core::fmt::Debug for HdcpSetProtectionResult { } } impl ::windows::core::RuntimeType for HdcpSetProtectionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.HdcpSetProtectionResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.HdcpSetProtectionResult;i4)"); } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] @@ -1087,7 +1087,7 @@ impl ::core::fmt::Debug for ProtectionCapabilityResult { } } impl ::windows::core::RuntimeType for ProtectionCapabilityResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.ProtectionCapabilityResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.ProtectionCapabilityResult;i4)"); } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] @@ -1120,7 +1120,7 @@ impl ::core::fmt::Debug for RenewalStatus { } } impl ::windows::core::RuntimeType for RenewalStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.RenewalStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.RenewalStatus;i4)"); } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] @@ -1196,15 +1196,15 @@ impl ::core::ops::Not for RevocationAndRenewalReasons { } } impl ::windows::core::RuntimeType for RevocationAndRenewalReasons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.RevocationAndRenewalReasons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.RevocationAndRenewalReasons;u4)"); } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] pub struct ComponentLoadFailedEventHandler(pub ::windows::core::IUnknown); impl ComponentLoadFailedEventHandler { pub fn new, ::core::option::Option<&ComponentLoadFailedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = ComponentLoadFailedEventHandlerBox:: { vtable: &ComponentLoadFailedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = ComponentLoadFailedEventHandlerBox:: { vtable: &ComponentLoadFailedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &MediaProtectionManager, e: &ComponentLoadFailedEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -1215,7 +1215,7 @@ impl ComponentLoadFailedEventHandler { struct ComponentLoadFailedEventHandlerBox, ::core::option::Option<&ComponentLoadFailedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const ComponentLoadFailedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&ComponentLoadFailedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> ComponentLoadFailedEventHandlerBox { const VTABLE: ComponentLoadFailedEventHandler_Vtbl = ComponentLoadFailedEventHandler_Vtbl { @@ -1224,7 +1224,7 @@ impl, ::core::option::O }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1240,7 +1240,7 @@ impl, ::core::option::O let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1272,7 +1272,7 @@ unsafe impl ::windows::core::Interface for ComponentLoadFailedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x95da643c_6db9_424b_86ca_091af432081c); } impl ::windows::core::RuntimeType for ComponentLoadFailedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{95da643c-6db9-424b-86ca-091af432081c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{95da643c-6db9-424b-86ca-091af432081c}"); } #[repr(C)] #[doc(hidden)] @@ -1285,8 +1285,8 @@ pub struct ComponentLoadFailedEventHandler_Vtbl { pub struct RebootNeededEventHandler(pub ::windows::core::IUnknown); impl RebootNeededEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = RebootNeededEventHandlerBox:: { vtable: &RebootNeededEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = RebootNeededEventHandlerBox:: { vtable: &RebootNeededEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &MediaProtectionManager) -> ::windows::core::Result<()> { let this = self; @@ -1297,7 +1297,7 @@ impl RebootNeededEventHandler { struct RebootNeededEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const RebootNeededEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> RebootNeededEventHandlerBox { const VTABLE: RebootNeededEventHandler_Vtbl = RebootNeededEventHandler_Vtbl { @@ -1306,7 +1306,7 @@ impl) -> ::windows::cor }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1322,7 +1322,7 @@ impl) -> ::windows::cor let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1354,7 +1354,7 @@ unsafe impl ::windows::core::Interface for RebootNeededEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x64e12a45_973b_4a3a_b260_91898a49a82c); } impl ::windows::core::RuntimeType for RebootNeededEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{64e12a45-973b-4a3a-b260-91898a49a82c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{64e12a45-973b-4a3a-b260-91898a49a82c}"); } #[repr(C)] #[doc(hidden)] @@ -1367,8 +1367,8 @@ pub struct RebootNeededEventHandler_Vtbl { pub struct ServiceRequestedEventHandler(pub ::windows::core::IUnknown); impl ServiceRequestedEventHandler { pub fn new, ::core::option::Option<&ServiceRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = ServiceRequestedEventHandlerBox:: { vtable: &ServiceRequestedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = ServiceRequestedEventHandlerBox:: { vtable: &ServiceRequestedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &MediaProtectionManager, e: &ServiceRequestedEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -1379,7 +1379,7 @@ impl ServiceRequestedEventHandler { struct ServiceRequestedEventHandlerBox, ::core::option::Option<&ServiceRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const ServiceRequestedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&ServiceRequestedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> ServiceRequestedEventHandlerBox { const VTABLE: ServiceRequestedEventHandler_Vtbl = ServiceRequestedEventHandler_Vtbl { @@ -1388,7 +1388,7 @@ impl, ::core::option::O }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1404,7 +1404,7 @@ impl, ::core::option::O let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1436,7 +1436,7 @@ unsafe impl ::windows::core::Interface for ServiceRequestedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd2d690ba_cac9_48e1_95c0_d38495a84055); } impl ::windows::core::RuntimeType for ServiceRequestedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d2d690ba-cac9-48e1-95c0-d38495a84055}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d2d690ba-cac9-48e1-95c0-d38495a84055}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Media/Render/mod.rs b/crates/libs/windows/src/Windows/Media/Render/mod.rs index 2c75b73e28..3821ca8112 100644 --- a/crates/libs/windows/src/Windows/Media/Render/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Render/mod.rs @@ -36,7 +36,7 @@ impl ::core::fmt::Debug for AudioRenderCategory { } } impl ::windows::core::RuntimeType for AudioRenderCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Render.AudioRenderCategory;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Render.AudioRenderCategory;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index 6dd038054e..a439d72014 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -167,7 +167,7 @@ impl ISpeechRecognitionConstraint { unsafe { (::windows::core::Vtable::vtable(this).SetProbability)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(ISpeechRecognitionConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISpeechRecognitionConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISpeechRecognitionConstraint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -180,7 +180,7 @@ impl ::core::fmt::Debug for ISpeechRecognitionConstraint { } } impl ::windows::core::RuntimeType for ISpeechRecognitionConstraint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{79ac1628-4d68-43c4-8911-40dc4101b55b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{79ac1628-4d68-43c4-8911-40dc4101b55b}"); } unsafe impl ::windows::core::Vtable for ISpeechRecognitionConstraint { type Vtable = ISpeechRecognitionConstraint_Vtbl; @@ -842,7 +842,7 @@ impl ::core::fmt::Debug for SpeechContinuousRecognitionCompletedEventArgs { } } impl ::windows::core::RuntimeType for SpeechContinuousRecognitionCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs;{e3d069bb-e30c-5e18-424b-7fbe81f8fbd0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs;{e3d069bb-e30c-5e18-424b-7fbe81f8fbd0})"); } impl ::core::clone::Clone for SpeechContinuousRecognitionCompletedEventArgs { fn clone(&self) -> Self { @@ -858,7 +858,7 @@ unsafe impl ::windows::core::Interface for SpeechContinuousRecognitionCompletedE impl ::windows::core::RuntimeName for SpeechContinuousRecognitionCompletedEventArgs { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs"; } -::windows::core::interface_hierarchy!(SpeechContinuousRecognitionCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechContinuousRecognitionCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechContinuousRecognitionCompletedEventArgs {} unsafe impl ::core::marker::Sync for SpeechContinuousRecognitionCompletedEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -885,7 +885,7 @@ impl ::core::fmt::Debug for SpeechContinuousRecognitionResultGeneratedEventArgs } } impl ::windows::core::RuntimeType for SpeechContinuousRecognitionResultGeneratedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs;{19091e1e-6e7e-5a46-40fb-76594f786504})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs;{19091e1e-6e7e-5a46-40fb-76594f786504})"); } impl ::core::clone::Clone for SpeechContinuousRecognitionResultGeneratedEventArgs { fn clone(&self) -> Self { @@ -901,7 +901,7 @@ unsafe impl ::windows::core::Interface for SpeechContinuousRecognitionResultGene impl ::windows::core::RuntimeName for SpeechContinuousRecognitionResultGeneratedEventArgs { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs"; } -::windows::core::interface_hierarchy!(SpeechContinuousRecognitionResultGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechContinuousRecognitionResultGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechContinuousRecognitionResultGeneratedEventArgs {} unsafe impl ::core::marker::Sync for SpeechContinuousRecognitionResultGeneratedEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -1015,7 +1015,7 @@ impl ::core::fmt::Debug for SpeechContinuousRecognitionSession { } } impl ::windows::core::RuntimeType for SpeechContinuousRecognitionSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession;{6a213c04-6614-49f8-99a2-b5e9b3a085c8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession;{6a213c04-6614-49f8-99a2-b5e9b3a085c8})"); } impl ::core::clone::Clone for SpeechContinuousRecognitionSession { fn clone(&self) -> Self { @@ -1031,7 +1031,7 @@ unsafe impl ::windows::core::Interface for SpeechContinuousRecognitionSession { impl ::windows::core::RuntimeName for SpeechContinuousRecognitionSession { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession"; } -::windows::core::interface_hierarchy!(SpeechContinuousRecognitionSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechContinuousRecognitionSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechContinuousRecognitionSession {} unsafe impl ::core::marker::Sync for SpeechContinuousRecognitionSession {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -1058,7 +1058,7 @@ impl ::core::fmt::Debug for SpeechRecognitionCompilationResult { } } impl ::windows::core::RuntimeType for SpeechRecognitionCompilationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult;{407e6c5d-6ac7-4da4-9cc1-2fce32cf7489})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult;{407e6c5d-6ac7-4da4-9cc1-2fce32cf7489})"); } impl ::core::clone::Clone for SpeechRecognitionCompilationResult { fn clone(&self) -> Self { @@ -1074,7 +1074,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionCompilationResult { impl ::windows::core::RuntimeName for SpeechRecognitionCompilationResult { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult"; } -::windows::core::interface_hierarchy!(SpeechRecognitionCompilationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionCompilationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognitionCompilationResult {} unsafe impl ::core::marker::Sync for SpeechRecognitionCompilationResult {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -1148,7 +1148,7 @@ impl SpeechRecognitionGrammarFileConstraint { } #[doc(hidden)] pub fn ISpeechRecognitionGrammarFileConstraintFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1164,7 +1164,7 @@ impl ::core::fmt::Debug for SpeechRecognitionGrammarFileConstraint { } } impl ::windows::core::RuntimeType for SpeechRecognitionGrammarFileConstraint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionGrammarFileConstraint;{b5031a8f-85ca-4fa4-b11a-474fc41b3835})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionGrammarFileConstraint;{b5031a8f-85ca-4fa4-b11a-474fc41b3835})"); } impl ::core::clone::Clone for SpeechRecognitionGrammarFileConstraint { fn clone(&self) -> Self { @@ -1180,7 +1180,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionGrammarFileConstrain impl ::windows::core::RuntimeName for SpeechRecognitionGrammarFileConstraint { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionGrammarFileConstraint"; } -::windows::core::interface_hierarchy!(SpeechRecognitionGrammarFileConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionGrammarFileConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISpeechRecognitionConstraint { type Error = ::windows::core::Error; fn try_from(value: SpeechRecognitionGrammarFileConstraint) -> ::windows::core::Result { @@ -1226,7 +1226,7 @@ impl ::core::fmt::Debug for SpeechRecognitionHypothesis { } } impl ::windows::core::RuntimeType for SpeechRecognitionHypothesis { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis;{7a7b25b0-99c5-4f7d-bf84-10aa1302b634})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis;{7a7b25b0-99c5-4f7d-bf84-10aa1302b634})"); } impl ::core::clone::Clone for SpeechRecognitionHypothesis { fn clone(&self) -> Self { @@ -1242,7 +1242,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionHypothesis { impl ::windows::core::RuntimeName for SpeechRecognitionHypothesis { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis"; } -::windows::core::interface_hierarchy!(SpeechRecognitionHypothesis, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionHypothesis, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognitionHypothesis {} unsafe impl ::core::marker::Sync for SpeechRecognitionHypothesis {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -1269,7 +1269,7 @@ impl ::core::fmt::Debug for SpeechRecognitionHypothesisGeneratedEventArgs { } } impl ::windows::core::RuntimeType for SpeechRecognitionHypothesisGeneratedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs;{55161a7a-8023-5866-411d-1213bb271476})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs;{55161a7a-8023-5866-411d-1213bb271476})"); } impl ::core::clone::Clone for SpeechRecognitionHypothesisGeneratedEventArgs { fn clone(&self) -> Self { @@ -1285,7 +1285,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionHypothesisGeneratedE impl ::windows::core::RuntimeName for SpeechRecognitionHypothesisGeneratedEventArgs { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs"; } -::windows::core::interface_hierarchy!(SpeechRecognitionHypothesisGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionHypothesisGeneratedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognitionHypothesisGeneratedEventArgs {} unsafe impl ::core::marker::Sync for SpeechRecognitionHypothesisGeneratedEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -1367,7 +1367,7 @@ impl SpeechRecognitionListConstraint { } #[doc(hidden)] pub fn ISpeechRecognitionListConstraintFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1383,7 +1383,7 @@ impl ::core::fmt::Debug for SpeechRecognitionListConstraint { } } impl ::windows::core::RuntimeType for SpeechRecognitionListConstraint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint;{09c487e9-e4ad-4526-81f2-4946fb481d98})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint;{09c487e9-e4ad-4526-81f2-4946fb481d98})"); } impl ::core::clone::Clone for SpeechRecognitionListConstraint { fn clone(&self) -> Self { @@ -1399,7 +1399,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionListConstraint { impl ::windows::core::RuntimeName for SpeechRecognitionListConstraint { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint"; } -::windows::core::interface_hierarchy!(SpeechRecognitionListConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionListConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISpeechRecognitionConstraint { type Error = ::windows::core::Error; fn try_from(value: SpeechRecognitionListConstraint) -> ::windows::core::Result { @@ -1445,7 +1445,7 @@ impl ::core::fmt::Debug for SpeechRecognitionQualityDegradingEventArgs { } } impl ::windows::core::RuntimeType for SpeechRecognitionQualityDegradingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs;{4fe24105-8c3a-4c7e-8d0a-5bd4f5b14ad8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs;{4fe24105-8c3a-4c7e-8d0a-5bd4f5b14ad8})"); } impl ::core::clone::Clone for SpeechRecognitionQualityDegradingEventArgs { fn clone(&self) -> Self { @@ -1461,7 +1461,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionQualityDegradingEven impl ::windows::core::RuntimeName for SpeechRecognitionQualityDegradingEventArgs { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs"; } -::windows::core::interface_hierarchy!(SpeechRecognitionQualityDegradingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionQualityDegradingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognitionQualityDegradingEventArgs {} unsafe impl ::core::marker::Sync for SpeechRecognitionQualityDegradingEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -1559,7 +1559,7 @@ impl ::core::fmt::Debug for SpeechRecognitionResult { } } impl ::windows::core::RuntimeType for SpeechRecognitionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionResult;{4e303157-034e-4652-857e-d0454cc4beec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionResult;{4e303157-034e-4652-857e-d0454cc4beec})"); } impl ::core::clone::Clone for SpeechRecognitionResult { fn clone(&self) -> Self { @@ -1575,7 +1575,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionResult { impl ::windows::core::RuntimeName for SpeechRecognitionResult { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionResult"; } -::windows::core::interface_hierarchy!(SpeechRecognitionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognitionResult {} unsafe impl ::core::marker::Sync for SpeechRecognitionResult {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -1604,7 +1604,7 @@ impl ::core::fmt::Debug for SpeechRecognitionSemanticInterpretation { } } impl ::windows::core::RuntimeType for SpeechRecognitionSemanticInterpretation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation;{aae1da9b-7e32-4c1f-89fe-0c65f486f52e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation;{aae1da9b-7e32-4c1f-89fe-0c65f486f52e})"); } impl ::core::clone::Clone for SpeechRecognitionSemanticInterpretation { fn clone(&self) -> Self { @@ -1620,7 +1620,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionSemanticInterpretati impl ::windows::core::RuntimeName for SpeechRecognitionSemanticInterpretation { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation"; } -::windows::core::interface_hierarchy!(SpeechRecognitionSemanticInterpretation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionSemanticInterpretation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognitionSemanticInterpretation {} unsafe impl ::core::marker::Sync for SpeechRecognitionSemanticInterpretation {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -1695,7 +1695,7 @@ impl SpeechRecognitionTopicConstraint { } #[doc(hidden)] pub fn ISpeechRecognitionTopicConstraintFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1711,7 +1711,7 @@ impl ::core::fmt::Debug for SpeechRecognitionTopicConstraint { } } impl ::windows::core::RuntimeType for SpeechRecognitionTopicConstraint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint;{bf6fdf19-825d-4e69-a681-36e48cf1c93e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint;{bf6fdf19-825d-4e69-a681-36e48cf1c93e})"); } impl ::core::clone::Clone for SpeechRecognitionTopicConstraint { fn clone(&self) -> Self { @@ -1727,7 +1727,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionTopicConstraint { impl ::windows::core::RuntimeName for SpeechRecognitionTopicConstraint { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint"; } -::windows::core::interface_hierarchy!(SpeechRecognitionTopicConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionTopicConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISpeechRecognitionConstraint { type Error = ::windows::core::Error; fn try_from(value: SpeechRecognitionTopicConstraint) -> ::windows::core::Result { @@ -1806,7 +1806,7 @@ impl ::core::fmt::Debug for SpeechRecognitionVoiceCommandDefinitionConstraint { } } impl ::windows::core::RuntimeType for SpeechRecognitionVoiceCommandDefinitionConstraint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionVoiceCommandDefinitionConstraint;{f2791c2b-1ef4-4ae7-9d77-b6ff10b8a3c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionVoiceCommandDefinitionConstraint;{f2791c2b-1ef4-4ae7-9d77-b6ff10b8a3c2})"); } impl ::core::clone::Clone for SpeechRecognitionVoiceCommandDefinitionConstraint { fn clone(&self) -> Self { @@ -1822,7 +1822,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognitionVoiceCommandDefiniti impl ::windows::core::RuntimeName for SpeechRecognitionVoiceCommandDefinitionConstraint { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognitionVoiceCommandDefinitionConstraint"; } -::windows::core::interface_hierarchy!(SpeechRecognitionVoiceCommandDefinitionConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognitionVoiceCommandDefinitionConstraint, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISpeechRecognitionConstraint { type Error = ::windows::core::Error; fn try_from(value: SpeechRecognitionVoiceCommandDefinitionConstraint) -> ::windows::core::Result { @@ -1851,8 +1851,8 @@ impl SpeechRecognizer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2030,17 +2030,17 @@ impl SpeechRecognizer { } #[doc(hidden)] pub fn ISpeechRecognizerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISpeechRecognizerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISpeechRecognizerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2056,7 +2056,7 @@ impl ::core::fmt::Debug for SpeechRecognizer { } } impl ::windows::core::RuntimeType for SpeechRecognizer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizer;{0bc3c9cb-c26a-40f2-aeb5-8096b2e48073})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizer;{0bc3c9cb-c26a-40f2-aeb5-8096b2e48073})"); } impl ::core::clone::Clone for SpeechRecognizer { fn clone(&self) -> Self { @@ -2072,7 +2072,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognizer { impl ::windows::core::RuntimeName for SpeechRecognizer { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognizer"; } -::windows::core::interface_hierarchy!(SpeechRecognizer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognizer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2121,7 +2121,7 @@ impl ::core::fmt::Debug for SpeechRecognizerStateChangedEventArgs { } } impl ::windows::core::RuntimeType for SpeechRecognizerStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs;{563d4f09-ba03-4bad-ad81-ddc6c4dab0c3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs;{563d4f09-ba03-4bad-ad81-ddc6c4dab0c3})"); } impl ::core::clone::Clone for SpeechRecognizerStateChangedEventArgs { fn clone(&self) -> Self { @@ -2137,7 +2137,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognizerStateChangedEventArgs impl ::windows::core::RuntimeName for SpeechRecognizerStateChangedEventArgs { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(SpeechRecognizerStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognizerStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognizerStateChangedEventArgs {} unsafe impl ::core::marker::Sync for SpeechRecognizerStateChangedEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -2202,7 +2202,7 @@ impl ::core::fmt::Debug for SpeechRecognizerTimeouts { } } impl ::windows::core::RuntimeType for SpeechRecognizerTimeouts { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts;{2ef76fca-6a3c-4dca-a153-df1bc88a79af})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts;{2ef76fca-6a3c-4dca-a153-df1bc88a79af})"); } impl ::core::clone::Clone for SpeechRecognizerTimeouts { fn clone(&self) -> Self { @@ -2218,7 +2218,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognizerTimeouts { impl ::windows::core::RuntimeName for SpeechRecognizerTimeouts { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts"; } -::windows::core::interface_hierarchy!(SpeechRecognizerTimeouts, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognizerTimeouts, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognizerTimeouts {} unsafe impl ::core::marker::Sync for SpeechRecognizerTimeouts {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -2282,7 +2282,7 @@ impl ::core::fmt::Debug for SpeechRecognizerUIOptions { } } impl ::windows::core::RuntimeType for SpeechRecognizerUIOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions;{7888d641-b92b-44ba-a25f-d1864630641f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions;{7888d641-b92b-44ba-a25f-d1864630641f})"); } impl ::core::clone::Clone for SpeechRecognizerUIOptions { fn clone(&self) -> Self { @@ -2298,7 +2298,7 @@ unsafe impl ::windows::core::Interface for SpeechRecognizerUIOptions { impl ::windows::core::RuntimeName for SpeechRecognizerUIOptions { const NAME: &'static str = "Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions"; } -::windows::core::interface_hierarchy!(SpeechRecognizerUIOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechRecognizerUIOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechRecognizerUIOptions {} unsafe impl ::core::marker::Sync for SpeechRecognizerUIOptions {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -2322,7 +2322,7 @@ impl VoiceCommandManager { } #[doc(hidden)] pub fn IVoiceCommandManager ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2373,7 +2373,7 @@ impl ::core::fmt::Debug for VoiceCommandSet { } } impl ::windows::core::RuntimeType for VoiceCommandSet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.VoiceCommandSet;{0bedda75-46e6-4b11-a088-5c68632899b5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.VoiceCommandSet;{0bedda75-46e6-4b11-a088-5c68632899b5})"); } impl ::core::clone::Clone for VoiceCommandSet { fn clone(&self) -> Self { @@ -2389,7 +2389,7 @@ unsafe impl ::windows::core::Interface for VoiceCommandSet { impl ::windows::core::RuntimeName for VoiceCommandSet { const NAME: &'static str = "Windows.Media.SpeechRecognition.VoiceCommandSet"; } -::windows::core::interface_hierarchy!(VoiceCommandSet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceCommandSet, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceCommandSet {} unsafe impl ::core::marker::Sync for VoiceCommandSet {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -2420,7 +2420,7 @@ impl ::core::fmt::Debug for SpeechContinuousRecognitionMode { } } impl ::windows::core::RuntimeType for SpeechContinuousRecognitionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionMode;i4)"); } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] @@ -2455,7 +2455,7 @@ impl ::core::fmt::Debug for SpeechRecognitionAudioProblem { } } impl ::windows::core::RuntimeType for SpeechRecognitionAudioProblem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionAudioProblem;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionAudioProblem;i4)"); } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] @@ -2487,7 +2487,7 @@ impl ::core::fmt::Debug for SpeechRecognitionConfidence { } } impl ::windows::core::RuntimeType for SpeechRecognitionConfidence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionConfidence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionConfidence;i4)"); } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] @@ -2518,7 +2518,7 @@ impl ::core::fmt::Debug for SpeechRecognitionConstraintProbability { } } impl ::windows::core::RuntimeType for SpeechRecognitionConstraintProbability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability;i4)"); } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] @@ -2550,7 +2550,7 @@ impl ::core::fmt::Debug for SpeechRecognitionConstraintType { } } impl ::windows::core::RuntimeType for SpeechRecognitionConstraintType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionConstraintType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionConstraintType;i4)"); } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] @@ -2589,7 +2589,7 @@ impl ::core::fmt::Debug for SpeechRecognitionResultStatus { } } impl ::windows::core::RuntimeType for SpeechRecognitionResultStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus;i4)"); } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] @@ -2620,7 +2620,7 @@ impl ::core::fmt::Debug for SpeechRecognitionScenario { } } impl ::windows::core::RuntimeType for SpeechRecognitionScenario { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionScenario;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognitionScenario;i4)"); } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] @@ -2655,7 +2655,7 @@ impl ::core::fmt::Debug for SpeechRecognizerState { } } impl ::windows::core::RuntimeType for SpeechRecognizerState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognizerState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechRecognition.SpeechRecognizerState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs index 0e32c27bd1..6cc7859cb0 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs @@ -372,7 +372,7 @@ impl ::core::fmt::Debug for SpeechSynthesisStream { } } impl ::windows::core::RuntimeType for SpeechSynthesisStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesisStream;{83e46e93-244c-4622-ba0b-6229c4d0d65d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesisStream;{83e46e93-244c-4622-ba0b-6229c4d0d65d})"); } impl ::core::clone::Clone for SpeechSynthesisStream { fn clone(&self) -> Self { @@ -388,7 +388,7 @@ unsafe impl ::windows::core::Interface for SpeechSynthesisStream { impl ::windows::core::RuntimeName for SpeechSynthesisStream { const NAME: &'static str = "Windows.Media.SpeechSynthesis.SpeechSynthesisStream"; } -::windows::core::interface_hierarchy!(SpeechSynthesisStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechSynthesisStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -552,8 +552,8 @@ impl SpeechSynthesizer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -622,12 +622,12 @@ impl SpeechSynthesizer { } #[doc(hidden)] pub fn IInstalledVoicesStatic ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInstalledVoicesStatic2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -643,7 +643,7 @@ impl ::core::fmt::Debug for SpeechSynthesizer { } } impl ::windows::core::RuntimeType for SpeechSynthesizer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesizer;{ce9f7c76-97f4-4ced-ad68-d51c458e45c6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesizer;{ce9f7c76-97f4-4ced-ad68-d51c458e45c6})"); } impl ::core::clone::Clone for SpeechSynthesizer { fn clone(&self) -> Self { @@ -659,7 +659,7 @@ unsafe impl ::windows::core::Interface for SpeechSynthesizer { impl ::windows::core::RuntimeName for SpeechSynthesizer { const NAME: &'static str = "Windows.Media.SpeechSynthesis.SpeechSynthesizer"; } -::windows::core::interface_hierarchy!(SpeechSynthesizer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechSynthesizer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -778,7 +778,7 @@ impl ::core::fmt::Debug for SpeechSynthesizerOptions { } } impl ::windows::core::RuntimeType for SpeechSynthesizerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesizerOptions;{a0e23871-cc3d-43c9-91b1-ee185324d83d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesizerOptions;{a0e23871-cc3d-43c9-91b1-ee185324d83d})"); } impl ::core::clone::Clone for SpeechSynthesizerOptions { fn clone(&self) -> Self { @@ -794,7 +794,7 @@ unsafe impl ::windows::core::Interface for SpeechSynthesizerOptions { impl ::windows::core::RuntimeName for SpeechSynthesizerOptions { const NAME: &'static str = "Windows.Media.SpeechSynthesis.SpeechSynthesizerOptions"; } -::windows::core::interface_hierarchy!(SpeechSynthesizerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeechSynthesizerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpeechSynthesizerOptions {} unsafe impl ::core::marker::Sync for SpeechSynthesizerOptions {} #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"] @@ -849,7 +849,7 @@ impl ::core::fmt::Debug for VoiceInformation { } } impl ::windows::core::RuntimeType for VoiceInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.VoiceInformation;{b127d6a4-1291-4604-aa9c-83134083352c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.VoiceInformation;{b127d6a4-1291-4604-aa9c-83134083352c})"); } impl ::core::clone::Clone for VoiceInformation { fn clone(&self) -> Self { @@ -865,7 +865,7 @@ unsafe impl ::windows::core::Interface for VoiceInformation { impl ::windows::core::RuntimeName for VoiceInformation { const NAME: &'static str = "Windows.Media.SpeechSynthesis.VoiceInformation"; } -::windows::core::interface_hierarchy!(VoiceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VoiceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VoiceInformation {} unsafe impl ::core::marker::Sync for VoiceInformation {} #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"] @@ -896,7 +896,7 @@ impl ::core::fmt::Debug for SpeechAppendedSilence { } } impl ::windows::core::RuntimeType for SpeechAppendedSilence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechSynthesis.SpeechAppendedSilence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechSynthesis.SpeechAppendedSilence;i4)"); } #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"] #[repr(transparent)] @@ -926,7 +926,7 @@ impl ::core::fmt::Debug for SpeechPunctuationSilence { } } impl ::windows::core::RuntimeType for SpeechPunctuationSilence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechSynthesis.SpeechPunctuationSilence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechSynthesis.SpeechPunctuationSilence;i4)"); } #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"] #[repr(transparent)] @@ -956,7 +956,7 @@ impl ::core::fmt::Debug for VoiceGender { } } impl ::windows::core::RuntimeType for VoiceGender { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechSynthesis.VoiceGender;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SpeechSynthesis.VoiceGender;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs index f73b727614..b0b513d70c 100644 --- a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs @@ -1193,7 +1193,7 @@ impl AdaptiveMediaSource { } #[doc(hidden)] pub fn IAdaptiveMediaSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1209,7 +1209,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSource { } } impl ::windows::core::RuntimeType for AdaptiveMediaSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSource;{4c7332ef-d39f-4396-b4d9-043957a7c964})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSource;{4c7332ef-d39f-4396-b4d9-043957a7c964})"); } impl ::core::clone::Clone for AdaptiveMediaSource { fn clone(&self) -> Self { @@ -1225,7 +1225,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSource { impl ::windows::core::RuntimeName for AdaptiveMediaSource { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSource"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSource, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1338,7 +1338,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceAdvancedSettings { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceAdvancedSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceAdvancedSettings;{55db1680-1aeb-47dc-aa08-9a11610ba45a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceAdvancedSettings;{55db1680-1aeb-47dc-aa08-9a11610ba45a})"); } impl ::core::clone::Clone for AdaptiveMediaSourceAdvancedSettings { fn clone(&self) -> Self { @@ -1354,7 +1354,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceAdvancedSettings { impl ::windows::core::RuntimeName for AdaptiveMediaSourceAdvancedSettings { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceAdvancedSettings"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceAdvancedSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceAdvancedSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceAdvancedSettings {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceAdvancedSettings {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -1401,7 +1401,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceCorrelatedTimes { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceCorrelatedTimes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCorrelatedTimes;{05108787-e032-48e1-ab8d-002b0b3051df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCorrelatedTimes;{05108787-e032-48e1-ab8d-002b0b3051df})"); } impl ::core::clone::Clone for AdaptiveMediaSourceCorrelatedTimes { fn clone(&self) -> Self { @@ -1417,7 +1417,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceCorrelatedTimes { impl ::windows::core::RuntimeName for AdaptiveMediaSourceCorrelatedTimes { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCorrelatedTimes"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceCorrelatedTimes, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceCorrelatedTimes, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceCorrelatedTimes {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceCorrelatedTimes {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -1467,7 +1467,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceCreationResult { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceCreationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationResult;{4686b6b2-800f-4e31-9093-76d4782013e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationResult;{4686b6b2-800f-4e31-9093-76d4782013e7})"); } impl ::core::clone::Clone for AdaptiveMediaSourceCreationResult { fn clone(&self) -> Self { @@ -1483,7 +1483,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceCreationResult { impl ::windows::core::RuntimeName for AdaptiveMediaSourceCreationResult { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationResult"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceCreationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceCreationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceCreationResult {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceCreationResult {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -1605,7 +1605,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDiagnosticAvailableEventArgs { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDiagnosticAvailableEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticAvailableEventArgs;{3af64f06-6d9c-494a-b7a9-b3a5dee6ad68})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticAvailableEventArgs;{3af64f06-6d9c-494a-b7a9-b3a5dee6ad68})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDiagnosticAvailableEventArgs { fn clone(&self) -> Self { @@ -1621,7 +1621,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDiagnosticAvailabl impl ::windows::core::RuntimeName for AdaptiveMediaSourceDiagnosticAvailableEventArgs { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticAvailableEventArgs"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDiagnosticAvailableEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDiagnosticAvailableEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDiagnosticAvailableEventArgs {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDiagnosticAvailableEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -1656,7 +1656,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDiagnostics { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDiagnostics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnostics;{9b24ee68-962e-448c-aebf-b29b56098e23})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnostics;{9b24ee68-962e-448c-aebf-b29b56098e23})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDiagnostics { fn clone(&self) -> Self { @@ -1672,7 +1672,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDiagnostics { impl ::windows::core::RuntimeName for AdaptiveMediaSourceDiagnostics { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnostics"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDiagnostics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDiagnostics, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDiagnostics {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDiagnostics {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -1713,7 +1713,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedEventArgs;{670c0a44-e04e-4eff-816a-17399f78f4ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedEventArgs;{670c0a44-e04e-4eff-816a-17399f78f4ba})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { fn clone(&self) -> Self { @@ -1729,7 +1729,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDownloadBitrateCha impl ::windows::core::RuntimeName for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDownloadBitrateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDownloadBitrateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadBitrateChangedEventArgs {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadBitrateChangedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -1831,7 +1831,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadCompletedEventArgs { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDownloadCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadCompletedEventArgs;{19240dc3-5b37-4a1a-8970-d621cb6ca83b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadCompletedEventArgs;{19240dc3-5b37-4a1a-8970-d621cb6ca83b})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDownloadCompletedEventArgs { fn clone(&self) -> Self { @@ -1847,7 +1847,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDownloadCompletedE impl ::windows::core::RuntimeName for AdaptiveMediaSourceDownloadCompletedEventArgs { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadCompletedEventArgs"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDownloadCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDownloadCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadCompletedEventArgs {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadCompletedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -1956,7 +1956,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadFailedEventArgs { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDownloadFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadFailedEventArgs;{37739048-f4ab-40a4-b135-c6dfd8bd7ff1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadFailedEventArgs;{37739048-f4ab-40a4-b135-c6dfd8bd7ff1})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDownloadFailedEventArgs { fn clone(&self) -> Self { @@ -1972,7 +1972,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDownloadFailedEven impl ::windows::core::RuntimeName for AdaptiveMediaSourceDownloadFailedEventArgs { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadFailedEventArgs"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDownloadFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDownloadFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadFailedEventArgs {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadFailedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -1996,7 +1996,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadRequestedDeferral { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDownloadRequestedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedDeferral;{05c68f64-fa20-4dbd-9821-4bf4c9bf77ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedDeferral;{05c68f64-fa20-4dbd-9821-4bf4c9bf77ab})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDownloadRequestedDeferral { fn clone(&self) -> Self { @@ -2012,7 +2012,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDownloadRequestedD impl ::windows::core::RuntimeName for AdaptiveMediaSourceDownloadRequestedDeferral { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedDeferral"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDownloadRequestedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDownloadRequestedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadRequestedDeferral {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadRequestedDeferral {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -2112,7 +2112,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadRequestedEventArgs { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDownloadRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedEventArgs;{c83fdffd-44a9-47a2-bf96-03398b4bfaaf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedEventArgs;{c83fdffd-44a9-47a2-bf96-03398b4bfaaf})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDownloadRequestedEventArgs { fn clone(&self) -> Self { @@ -2128,7 +2128,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDownloadRequestedE impl ::windows::core::RuntimeName for AdaptiveMediaSourceDownloadRequestedEventArgs { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedEventArgs"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDownloadRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDownloadRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadRequestedEventArgs {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadRequestedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -2261,7 +2261,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadResult { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDownloadResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadResult;{f4afdc73-bcee-4a6a-9f0a-fec41e2339b0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadResult;{f4afdc73-bcee-4a6a-9f0a-fec41e2339b0})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDownloadResult { fn clone(&self) -> Self { @@ -2277,7 +2277,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDownloadResult { impl ::windows::core::RuntimeName for AdaptiveMediaSourceDownloadResult { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadResult"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDownloadResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDownloadResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadResult {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadResult {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -2331,7 +2331,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadStatistics { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDownloadStatistics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadStatistics;{a306cefb-e96a-4dff-a9b8-1ae08c01ae98})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadStatistics;{a306cefb-e96a-4dff-a9b8-1ae08c01ae98})"); } impl ::core::clone::Clone for AdaptiveMediaSourceDownloadStatistics { fn clone(&self) -> Self { @@ -2347,7 +2347,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourceDownloadStatistics impl ::windows::core::RuntimeName for AdaptiveMediaSourceDownloadStatistics { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadStatistics"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourceDownloadStatistics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourceDownloadStatistics, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadStatistics {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadStatistics {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -2388,7 +2388,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourcePlaybackBitrateChangedEventArgs;{23a29f6d-7dda-4a51-87a9-6fa8c5b292be})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourcePlaybackBitrateChangedEventArgs;{23a29f6d-7dda-4a51-87a9-6fa8c5b292be})"); } impl ::core::clone::Clone for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { fn clone(&self) -> Self { @@ -2404,7 +2404,7 @@ unsafe impl ::windows::core::Interface for AdaptiveMediaSourcePlaybackBitrateCha impl ::windows::core::RuntimeName for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { const NAME: &'static str = "Windows.Media.Streaming.Adaptive.AdaptiveMediaSourcePlaybackBitrateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AdaptiveMediaSourcePlaybackBitrateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveMediaSourcePlaybackBitrateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] @@ -2440,7 +2440,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceCreationStatus { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceCreationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationStatus;i4)"); } #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] @@ -2477,7 +2477,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDiagnosticType { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDiagnosticType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticType;i4)"); } #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] @@ -2512,7 +2512,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadBitrateChangedReason { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceDownloadBitrateChangedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedReason;i4)"); } #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] @@ -2546,7 +2546,7 @@ impl ::core::fmt::Debug for AdaptiveMediaSourceResourceType { } } impl ::windows::core::RuntimeType for AdaptiveMediaSourceResourceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceResourceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceResourceType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs index ee679bdeb9..4d53856e15 100644 --- a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs @@ -113,8 +113,8 @@ impl MediaTranscoder { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -270,7 +270,7 @@ impl ::core::fmt::Debug for MediaTranscoder { } } impl ::windows::core::RuntimeType for MediaTranscoder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Transcoding.MediaTranscoder;{190c99d2-a0aa-4d34-86bc-eed1b12c2f5b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Transcoding.MediaTranscoder;{190c99d2-a0aa-4d34-86bc-eed1b12c2f5b})"); } impl ::core::clone::Clone for MediaTranscoder { fn clone(&self) -> Self { @@ -286,7 +286,7 @@ unsafe impl ::windows::core::Interface for MediaTranscoder { impl ::windows::core::RuntimeName for MediaTranscoder { const NAME: &'static str = "Windows.Media.Transcoding.MediaTranscoder"; } -::windows::core::interface_hierarchy!(MediaTranscoder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaTranscoder, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaTranscoder {} unsafe impl ::core::marker::Sync for MediaTranscoder {} #[doc = "*Required features: `\"Media_Transcoding\"`*"] @@ -329,7 +329,7 @@ impl ::core::fmt::Debug for PrepareTranscodeResult { } } impl ::windows::core::RuntimeType for PrepareTranscodeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.Transcoding.PrepareTranscodeResult;{05f25dce-994f-4a34-9d68-97ccce1730d6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Transcoding.PrepareTranscodeResult;{05f25dce-994f-4a34-9d68-97ccce1730d6})"); } impl ::core::clone::Clone for PrepareTranscodeResult { fn clone(&self) -> Self { @@ -345,7 +345,7 @@ unsafe impl ::windows::core::Interface for PrepareTranscodeResult { impl ::windows::core::RuntimeName for PrepareTranscodeResult { const NAME: &'static str = "Windows.Media.Transcoding.PrepareTranscodeResult"; } -::windows::core::interface_hierarchy!(PrepareTranscodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PrepareTranscodeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PrepareTranscodeResult {} unsafe impl ::core::marker::Sync for PrepareTranscodeResult {} #[doc = "*Required features: `\"Media_Transcoding\"`*"] @@ -376,7 +376,7 @@ impl ::core::fmt::Debug for MediaVideoProcessingAlgorithm { } } impl ::windows::core::RuntimeType for MediaVideoProcessingAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Transcoding.MediaVideoProcessingAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Transcoding.MediaVideoProcessingAlgorithm;i4)"); } #[doc = "*Required features: `\"Media_Transcoding\"`*"] #[repr(transparent)] @@ -408,7 +408,7 @@ impl ::core::fmt::Debug for TranscodeFailureReason { } } impl ::windows::core::RuntimeType for TranscodeFailureReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.Transcoding.TranscodeFailureReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Transcoding.TranscodeFailureReason;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 54ef06229f..30c7505931 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -328,7 +328,7 @@ impl IMediaExtension { unsafe { (::windows::core::Vtable::vtable(this).SetProperties)(::windows::core::Vtable::as_raw(this), configuration.try_into().map_err(|e| e.into())?.abi()).ok() } } } -::windows::core::interface_hierarchy!(IMediaExtension, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaExtension, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaExtension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -341,7 +341,7 @@ impl ::core::fmt::Debug for IMediaExtension { } } impl ::windows::core::RuntimeType for IMediaExtension { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{07915118-45df-442b-8a3f-f7826a6370ab}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{07915118-45df-442b-8a3f-f7826a6370ab}"); } unsafe impl ::windows::core::Vtable for IMediaExtension { type Vtable = IMediaExtension_Vtbl; @@ -537,7 +537,7 @@ impl IMediaFrame { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -572,7 +572,7 @@ impl ::core::fmt::Debug for IMediaFrame { } } impl ::windows::core::RuntimeType for IMediaFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{bfb52f8c-5943-47d8-8e10-05308aa5fbd0}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{bfb52f8c-5943-47d8-8e10-05308aa5fbd0}"); } unsafe impl ::windows::core::Vtable for IMediaFrame { type Vtable = IMediaFrame_Vtbl; @@ -650,7 +650,7 @@ impl IMediaMarker { } } } -::windows::core::interface_hierarchy!(IMediaMarker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaMarker, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaMarker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -663,7 +663,7 @@ impl ::core::fmt::Debug for IMediaMarker { } } impl ::windows::core::RuntimeType for IMediaMarker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1803def8-dca5-4b6f-9c20-e3d3c0643625}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1803def8-dca5-4b6f-9c20-e3d3c0643625}"); } unsafe impl ::windows::core::Vtable for IMediaMarker { type Vtable = IMediaMarker_Vtbl; @@ -721,7 +721,7 @@ impl IMediaMarkers { } } } -::windows::core::interface_hierarchy!(IMediaMarkers, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMediaMarkers, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMediaMarkers { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -734,7 +734,7 @@ impl ::core::fmt::Debug for IMediaMarkers { } } impl ::windows::core::RuntimeType for IMediaMarkers { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{afeab189-f8dd-466e-aa10-920b52353fdf}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{afeab189-f8dd-466e-aa10-920b52353fdf}"); } unsafe impl ::windows::core::Vtable for IMediaMarkers { type Vtable = IMediaMarkers_Vtbl; @@ -1539,7 +1539,7 @@ impl ::core::fmt::Debug for AudioBuffer { } } impl ::windows::core::RuntimeType for AudioBuffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AudioBuffer;{35175827-724b-4c6a-b130-f6537f9ae0d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AudioBuffer;{35175827-724b-4c6a-b130-f6537f9ae0d0})"); } impl ::core::clone::Clone for AudioBuffer { fn clone(&self) -> Self { @@ -1555,7 +1555,7 @@ unsafe impl ::windows::core::Interface for AudioBuffer { impl ::windows::core::RuntimeName for AudioBuffer { const NAME: &'static str = "Windows.Media.AudioBuffer"; } -::windows::core::interface_hierarchy!(AudioBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1718,7 +1718,7 @@ impl AudioFrame { } #[doc(hidden)] pub fn IAudioFrameFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1734,7 +1734,7 @@ impl ::core::fmt::Debug for AudioFrame { } } impl ::windows::core::RuntimeType for AudioFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AudioFrame;{e36ac304-aab2-4277-9ed0-43cedf8e29c6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AudioFrame;{e36ac304-aab2-4277-9ed0-43cedf8e29c6})"); } impl ::core::clone::Clone for AudioFrame { fn clone(&self) -> Self { @@ -1750,7 +1750,7 @@ unsafe impl ::windows::core::Interface for AudioFrame { impl ::windows::core::RuntimeName for AudioFrame { const NAME: &'static str = "Windows.Media.AudioFrame"; } -::windows::core::interface_hierarchy!(AudioFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1818,7 +1818,7 @@ impl ::core::fmt::Debug for AutoRepeatModeChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for AutoRepeatModeChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.AutoRepeatModeChangeRequestedEventArgs;{ea137efa-d852-438e-882b-c990109a78f4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AutoRepeatModeChangeRequestedEventArgs;{ea137efa-d852-438e-882b-c990109a78f4})"); } impl ::core::clone::Clone for AutoRepeatModeChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -1834,7 +1834,7 @@ unsafe impl ::windows::core::Interface for AutoRepeatModeChangeRequestedEventArg impl ::windows::core::RuntimeName for AutoRepeatModeChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.AutoRepeatModeChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(AutoRepeatModeChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AutoRepeatModeChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AutoRepeatModeChangeRequestedEventArgs {} unsafe impl ::core::marker::Sync for AutoRepeatModeChangeRequestedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] @@ -1876,7 +1876,7 @@ impl ::core::fmt::Debug for ImageDisplayProperties { } } impl ::windows::core::RuntimeType for ImageDisplayProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.ImageDisplayProperties;{cd0bc7ef-54e7-411f-9933-f0e98b0a96d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ImageDisplayProperties;{cd0bc7ef-54e7-411f-9933-f0e98b0a96d2})"); } impl ::core::clone::Clone for ImageDisplayProperties { fn clone(&self) -> Self { @@ -1892,7 +1892,7 @@ unsafe impl ::windows::core::Interface for ImageDisplayProperties { impl ::windows::core::RuntimeName for ImageDisplayProperties { const NAME: &'static str = "Windows.Media.ImageDisplayProperties"; } -::windows::core::interface_hierarchy!(ImageDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ImageDisplayProperties {} unsafe impl ::core::marker::Sync for ImageDisplayProperties {} #[doc = "*Required features: `\"Media\"`, `\"deprecated\"`*"] @@ -2119,7 +2119,7 @@ impl MediaControl { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IMediaControl ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2134,8 +2134,8 @@ impl MediaExtensionManager { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn RegisterSchemeHandler(&self, activatableclassid: &::windows::core::HSTRING, scheme: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -2245,7 +2245,7 @@ impl ::core::fmt::Debug for MediaExtensionManager { } } impl ::windows::core::RuntimeType for MediaExtensionManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaExtensionManager;{4a25eaf5-242d-4dfb-97f4-69b7c42576ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaExtensionManager;{4a25eaf5-242d-4dfb-97f4-69b7c42576ff})"); } impl ::core::clone::Clone for MediaExtensionManager { fn clone(&self) -> Self { @@ -2261,7 +2261,7 @@ unsafe impl ::windows::core::Interface for MediaExtensionManager { impl ::windows::core::RuntimeName for MediaExtensionManager { const NAME: &'static str = "Windows.Media.MediaExtensionManager"; } -::windows::core::interface_hierarchy!(MediaExtensionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaExtensionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaExtensionManager {} unsafe impl ::core::marker::Sync for MediaExtensionManager {} #[doc = "*Required features: `\"Media\"`*"] @@ -2275,7 +2275,7 @@ impl MediaMarkerTypes { } #[doc(hidden)] pub fn IMediaMarkerTypesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2308,7 +2308,7 @@ impl ::core::fmt::Debug for MediaProcessingTriggerDetails { } } impl ::windows::core::RuntimeType for MediaProcessingTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProcessingTriggerDetails;{eb8564ac-a351-4f4e-b4f0-9bf2408993db})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProcessingTriggerDetails;{eb8564ac-a351-4f4e-b4f0-9bf2408993db})"); } impl ::core::clone::Clone for MediaProcessingTriggerDetails { fn clone(&self) -> Self { @@ -2324,7 +2324,7 @@ unsafe impl ::windows::core::Interface for MediaProcessingTriggerDetails { impl ::windows::core::RuntimeName for MediaProcessingTriggerDetails { const NAME: &'static str = "Windows.Media.MediaProcessingTriggerDetails"; } -::windows::core::interface_hierarchy!(MediaProcessingTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaProcessingTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaProcessingTriggerDetails {} unsafe impl ::core::marker::Sync for MediaProcessingTriggerDetails {} #[doc = "*Required features: `\"Media\"`*"] @@ -2334,8 +2334,8 @@ impl MediaTimelineController { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Start(&self) -> ::windows::core::Result<()> { @@ -2486,7 +2486,7 @@ impl ::core::fmt::Debug for MediaTimelineController { } } impl ::windows::core::RuntimeType for MediaTimelineController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaTimelineController;{8ed361f3-0b78-4360-bf71-0c841999ea1b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaTimelineController;{8ed361f3-0b78-4360-bf71-0c841999ea1b})"); } impl ::core::clone::Clone for MediaTimelineController { fn clone(&self) -> Self { @@ -2502,7 +2502,7 @@ unsafe impl ::windows::core::Interface for MediaTimelineController { impl ::windows::core::RuntimeName for MediaTimelineController { const NAME: &'static str = "Windows.Media.MediaTimelineController"; } -::windows::core::interface_hierarchy!(MediaTimelineController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaTimelineController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaTimelineController {} unsafe impl ::core::marker::Sync for MediaTimelineController {} #[doc = "*Required features: `\"Media\"`*"] @@ -2529,7 +2529,7 @@ impl ::core::fmt::Debug for MediaTimelineControllerFailedEventArgs { } } impl ::windows::core::RuntimeType for MediaTimelineControllerFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MediaTimelineControllerFailedEventArgs;{8821f81d-3e77-43fb-be26-4fc87a044834})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaTimelineControllerFailedEventArgs;{8821f81d-3e77-43fb-be26-4fc87a044834})"); } impl ::core::clone::Clone for MediaTimelineControllerFailedEventArgs { fn clone(&self) -> Self { @@ -2545,7 +2545,7 @@ unsafe impl ::windows::core::Interface for MediaTimelineControllerFailedEventArg impl ::windows::core::RuntimeName for MediaTimelineControllerFailedEventArgs { const NAME: &'static str = "Windows.Media.MediaTimelineControllerFailedEventArgs"; } -::windows::core::interface_hierarchy!(MediaTimelineControllerFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaTimelineControllerFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MediaTimelineControllerFailedEventArgs {} unsafe impl ::core::marker::Sync for MediaTimelineControllerFailedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] @@ -2640,7 +2640,7 @@ impl ::core::fmt::Debug for MusicDisplayProperties { } } impl ::windows::core::RuntimeType for MusicDisplayProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.MusicDisplayProperties;{6bbf0c59-d0a0-4d26-92a0-f978e1d18e7b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MusicDisplayProperties;{6bbf0c59-d0a0-4d26-92a0-f978e1d18e7b})"); } impl ::core::clone::Clone for MusicDisplayProperties { fn clone(&self) -> Self { @@ -2656,7 +2656,7 @@ unsafe impl ::windows::core::Interface for MusicDisplayProperties { impl ::windows::core::RuntimeName for MusicDisplayProperties { const NAME: &'static str = "Windows.Media.MusicDisplayProperties"; } -::windows::core::interface_hierarchy!(MusicDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MusicDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MusicDisplayProperties {} unsafe impl ::core::marker::Sync for MusicDisplayProperties {} #[doc = "*Required features: `\"Media\"`*"] @@ -2685,7 +2685,7 @@ impl ::core::fmt::Debug for PlaybackPositionChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for PlaybackPositionChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlaybackPositionChangeRequestedEventArgs;{b4493f88-eb28-4961-9c14-335e44f3e125})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlaybackPositionChangeRequestedEventArgs;{b4493f88-eb28-4961-9c14-335e44f3e125})"); } impl ::core::clone::Clone for PlaybackPositionChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -2701,7 +2701,7 @@ unsafe impl ::windows::core::Interface for PlaybackPositionChangeRequestedEventA impl ::windows::core::RuntimeName for PlaybackPositionChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.PlaybackPositionChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PlaybackPositionChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaybackPositionChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlaybackPositionChangeRequestedEventArgs {} unsafe impl ::core::marker::Sync for PlaybackPositionChangeRequestedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] @@ -2728,7 +2728,7 @@ impl ::core::fmt::Debug for PlaybackRateChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for PlaybackRateChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.PlaybackRateChangeRequestedEventArgs;{2ce2c41f-3cd6-4f77-9ba7-eb27c26a2140})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlaybackRateChangeRequestedEventArgs;{2ce2c41f-3cd6-4f77-9ba7-eb27c26a2140})"); } impl ::core::clone::Clone for PlaybackRateChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -2744,7 +2744,7 @@ unsafe impl ::windows::core::Interface for PlaybackRateChangeRequestedEventArgs impl ::windows::core::RuntimeName for PlaybackRateChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.PlaybackRateChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(PlaybackRateChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaybackRateChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlaybackRateChangeRequestedEventArgs {} unsafe impl ::core::marker::Sync for PlaybackRateChangeRequestedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] @@ -2771,7 +2771,7 @@ impl ::core::fmt::Debug for ShuffleEnabledChangeRequestedEventArgs { } } impl ::windows::core::RuntimeType for ShuffleEnabledChangeRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.ShuffleEnabledChangeRequestedEventArgs;{49b593fe-4fd0-4666-a314-c0e01940d302})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ShuffleEnabledChangeRequestedEventArgs;{49b593fe-4fd0-4666-a314-c0e01940d302})"); } impl ::core::clone::Clone for ShuffleEnabledChangeRequestedEventArgs { fn clone(&self) -> Self { @@ -2787,7 +2787,7 @@ unsafe impl ::windows::core::Interface for ShuffleEnabledChangeRequestedEventArg impl ::windows::core::RuntimeName for ShuffleEnabledChangeRequestedEventArgs { const NAME: &'static str = "Windows.Media.ShuffleEnabledChangeRequestedEventArgs"; } -::windows::core::interface_hierarchy!(ShuffleEnabledChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShuffleEnabledChangeRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShuffleEnabledChangeRequestedEventArgs {} unsafe impl ::core::marker::Sync for ShuffleEnabledChangeRequestedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] @@ -3075,7 +3075,7 @@ impl SystemMediaTransportControls { } #[doc(hidden)] pub fn ISystemMediaTransportControlsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3091,7 +3091,7 @@ impl ::core::fmt::Debug for SystemMediaTransportControls { } } impl ::windows::core::RuntimeType for SystemMediaTransportControls { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControls;{99fa3ff4-1742-42a6-902e-087d41f965ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControls;{99fa3ff4-1742-42a6-902e-087d41f965ec})"); } impl ::core::clone::Clone for SystemMediaTransportControls { fn clone(&self) -> Self { @@ -3107,7 +3107,7 @@ unsafe impl ::windows::core::Interface for SystemMediaTransportControls { impl ::windows::core::RuntimeName for SystemMediaTransportControls { const NAME: &'static str = "Windows.Media.SystemMediaTransportControls"; } -::windows::core::interface_hierarchy!(SystemMediaTransportControls, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMediaTransportControls, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMediaTransportControls {} unsafe impl ::core::marker::Sync for SystemMediaTransportControls {} #[doc = "*Required features: `\"Media\"`*"] @@ -3134,7 +3134,7 @@ impl ::core::fmt::Debug for SystemMediaTransportControlsButtonPressedEventArgs { } } impl ::windows::core::RuntimeType for SystemMediaTransportControlsButtonPressedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsButtonPressedEventArgs;{b7f47116-a56f-4dc8-9e11-92031f4a87c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsButtonPressedEventArgs;{b7f47116-a56f-4dc8-9e11-92031f4a87c2})"); } impl ::core::clone::Clone for SystemMediaTransportControlsButtonPressedEventArgs { fn clone(&self) -> Self { @@ -3150,7 +3150,7 @@ unsafe impl ::windows::core::Interface for SystemMediaTransportControlsButtonPre impl ::windows::core::RuntimeName for SystemMediaTransportControlsButtonPressedEventArgs { const NAME: &'static str = "Windows.Media.SystemMediaTransportControlsButtonPressedEventArgs"; } -::windows::core::interface_hierarchy!(SystemMediaTransportControlsButtonPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMediaTransportControlsButtonPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMediaTransportControlsButtonPressedEventArgs {} unsafe impl ::core::marker::Sync for SystemMediaTransportControlsButtonPressedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] @@ -3245,7 +3245,7 @@ impl ::core::fmt::Debug for SystemMediaTransportControlsDisplayUpdater { } } impl ::windows::core::RuntimeType for SystemMediaTransportControlsDisplayUpdater { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsDisplayUpdater;{8abbc53e-fa55-4ecf-ad8e-c984e5dd1550})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsDisplayUpdater;{8abbc53e-fa55-4ecf-ad8e-c984e5dd1550})"); } impl ::core::clone::Clone for SystemMediaTransportControlsDisplayUpdater { fn clone(&self) -> Self { @@ -3261,7 +3261,7 @@ unsafe impl ::windows::core::Interface for SystemMediaTransportControlsDisplayUp impl ::windows::core::RuntimeName for SystemMediaTransportControlsDisplayUpdater { const NAME: &'static str = "Windows.Media.SystemMediaTransportControlsDisplayUpdater"; } -::windows::core::interface_hierarchy!(SystemMediaTransportControlsDisplayUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMediaTransportControlsDisplayUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMediaTransportControlsDisplayUpdater {} unsafe impl ::core::marker::Sync for SystemMediaTransportControlsDisplayUpdater {} #[doc = "*Required features: `\"Media\"`*"] @@ -3288,7 +3288,7 @@ impl ::core::fmt::Debug for SystemMediaTransportControlsPropertyChangedEventArgs } } impl ::windows::core::RuntimeType for SystemMediaTransportControlsPropertyChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsPropertyChangedEventArgs;{d0ca0936-339b-4cb3-8eeb-737607f56e08})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsPropertyChangedEventArgs;{d0ca0936-339b-4cb3-8eeb-737607f56e08})"); } impl ::core::clone::Clone for SystemMediaTransportControlsPropertyChangedEventArgs { fn clone(&self) -> Self { @@ -3304,7 +3304,7 @@ unsafe impl ::windows::core::Interface for SystemMediaTransportControlsPropertyC impl ::windows::core::RuntimeName for SystemMediaTransportControlsPropertyChangedEventArgs { const NAME: &'static str = "Windows.Media.SystemMediaTransportControlsPropertyChangedEventArgs"; } -::windows::core::interface_hierarchy!(SystemMediaTransportControlsPropertyChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMediaTransportControlsPropertyChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMediaTransportControlsPropertyChangedEventArgs {} unsafe impl ::core::marker::Sync for SystemMediaTransportControlsPropertyChangedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] @@ -3314,8 +3314,8 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -3406,7 +3406,7 @@ impl ::core::fmt::Debug for SystemMediaTransportControlsTimelineProperties { } } impl ::windows::core::RuntimeType for SystemMediaTransportControlsTimelineProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsTimelineProperties;{5125316a-c3a2-475b-8507-93534dc88f15})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsTimelineProperties;{5125316a-c3a2-475b-8507-93534dc88f15})"); } impl ::core::clone::Clone for SystemMediaTransportControlsTimelineProperties { fn clone(&self) -> Self { @@ -3422,7 +3422,7 @@ unsafe impl ::windows::core::Interface for SystemMediaTransportControlsTimelineP impl ::windows::core::RuntimeName for SystemMediaTransportControlsTimelineProperties { const NAME: &'static str = "Windows.Media.SystemMediaTransportControlsTimelineProperties"; } -::windows::core::interface_hierarchy!(SystemMediaTransportControlsTimelineProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMediaTransportControlsTimelineProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMediaTransportControlsTimelineProperties {} unsafe impl ::core::marker::Sync for SystemMediaTransportControlsTimelineProperties {} #[doc = "*Required features: `\"Media\"`*"] @@ -3473,7 +3473,7 @@ impl ::core::fmt::Debug for VideoDisplayProperties { } } impl ::windows::core::RuntimeType for VideoDisplayProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.VideoDisplayProperties;{5609fdb1-5d2d-4872-8170-45dee5bc2f5c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.VideoDisplayProperties;{5609fdb1-5d2d-4872-8170-45dee5bc2f5c})"); } impl ::core::clone::Clone for VideoDisplayProperties { fn clone(&self) -> Self { @@ -3489,7 +3489,7 @@ unsafe impl ::windows::core::Interface for VideoDisplayProperties { impl ::windows::core::RuntimeName for VideoDisplayProperties { const NAME: &'static str = "Windows.Media.VideoDisplayProperties"; } -::windows::core::interface_hierarchy!(VideoDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoDisplayProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VideoDisplayProperties {} unsafe impl ::core::marker::Sync for VideoDisplayProperties {} #[doc = "*Required features: `\"Media\"`*"] @@ -3503,7 +3503,7 @@ impl VideoEffects { } #[doc(hidden)] pub fn IVideoEffectsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3711,12 +3711,12 @@ impl VideoFrame { } #[doc(hidden)] pub fn IVideoFrameFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IVideoFrameStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3732,7 +3732,7 @@ impl ::core::fmt::Debug for VideoFrame { } } impl ::windows::core::RuntimeType for VideoFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Media.VideoFrame;{0cc06625-90fc-4c92-bd95-7ded21819d1c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Media.VideoFrame;{0cc06625-90fc-4c92-bd95-7ded21819d1c})"); } impl ::core::clone::Clone for VideoFrame { fn clone(&self) -> Self { @@ -3748,7 +3748,7 @@ unsafe impl ::windows::core::Interface for VideoFrame { impl ::windows::core::RuntimeName for VideoFrame { const NAME: &'static str = "Windows.Media.VideoFrame"; } -::windows::core::interface_hierarchy!(VideoFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3821,7 +3821,7 @@ impl ::core::fmt::Debug for AudioBufferAccessMode { } } impl ::windows::core::RuntimeType for AudioBufferAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.AudioBufferAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.AudioBufferAccessMode;i4)"); } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] @@ -3851,7 +3851,7 @@ impl ::core::fmt::Debug for AudioProcessing { } } impl ::windows::core::RuntimeType for AudioProcessing { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.AudioProcessing;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.AudioProcessing;i4)"); } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] @@ -3882,7 +3882,7 @@ impl ::core::fmt::Debug for MediaPlaybackAutoRepeatMode { } } impl ::windows::core::RuntimeType for MediaPlaybackAutoRepeatMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaPlaybackAutoRepeatMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaPlaybackAutoRepeatMode;i4)"); } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] @@ -3915,7 +3915,7 @@ impl ::core::fmt::Debug for MediaPlaybackStatus { } } impl ::windows::core::RuntimeType for MediaPlaybackStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaPlaybackStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaPlaybackStatus;i4)"); } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] @@ -3947,7 +3947,7 @@ impl ::core::fmt::Debug for MediaPlaybackType { } } impl ::windows::core::RuntimeType for MediaPlaybackType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaPlaybackType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaPlaybackType;i4)"); } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] @@ -3979,7 +3979,7 @@ impl ::core::fmt::Debug for MediaTimelineControllerState { } } impl ::windows::core::RuntimeType for MediaTimelineControllerState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.MediaTimelineControllerState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.MediaTimelineControllerState;i4)"); } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] @@ -4010,7 +4010,7 @@ impl ::core::fmt::Debug for SoundLevel { } } impl ::windows::core::RuntimeType for SoundLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SoundLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SoundLevel;i4)"); } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] @@ -4048,7 +4048,7 @@ impl ::core::fmt::Debug for SystemMediaTransportControlsButton { } } impl ::windows::core::RuntimeType for SystemMediaTransportControlsButton { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SystemMediaTransportControlsButton;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SystemMediaTransportControlsButton;i4)"); } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] @@ -4077,7 +4077,7 @@ impl ::core::fmt::Debug for SystemMediaTransportControlsProperty { } } impl ::windows::core::RuntimeType for SystemMediaTransportControlsProperty { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Media.SystemMediaTransportControlsProperty;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Media.SystemMediaTransportControlsProperty;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Media\"`, `\"Foundation\"`*"] @@ -4106,7 +4106,7 @@ impl ::windows::core::TypeKind for MediaTimeRange { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for MediaTimeRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Media.MediaTimeRange;struct(Windows.Foundation.TimeSpan;i8);struct(Windows.Foundation.TimeSpan;i8))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Media.MediaTimeRange;struct(Windows.Foundation.TimeSpan;i8);struct(Windows.Foundation.TimeSpan;i8))"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for MediaTimeRange { diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index 7bee9a4bda..84f923f65f 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -276,7 +276,7 @@ impl IBackgroundTransferBase { unsafe { (::windows::core::Vtable::vtable(this).SetCostPolicy)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(IBackgroundTransferBase, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTransferBase, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundTransferBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -289,7 +289,7 @@ impl ::core::fmt::Debug for IBackgroundTransferBase { } } impl ::windows::core::RuntimeType for IBackgroundTransferBase { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2a9da250-c769-458c-afe8-feb8d4d3b2ef}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2a9da250-c769-458c-afe8-feb8d4d3b2ef}"); } unsafe impl ::windows::core::Vtable for IBackgroundTransferBase { type Vtable = IBackgroundTransferBase_Vtbl; @@ -432,7 +432,7 @@ impl IBackgroundTransferContentPartFactory { } } } -::windows::core::interface_hierarchy!(IBackgroundTransferContentPartFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTransferContentPartFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundTransferContentPartFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -445,7 +445,7 @@ impl ::core::fmt::Debug for IBackgroundTransferContentPartFactory { } } impl ::windows::core::RuntimeType for IBackgroundTransferContentPartFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{90ef98a9-7a01-4a0b-9f80-a0b0bb370f8d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{90ef98a9-7a01-4a0b-9f80-a0b0bb370f8d}"); } unsafe impl ::windows::core::Vtable for IBackgroundTransferContentPartFactory { type Vtable = IBackgroundTransferContentPartFactory_Vtbl; @@ -594,7 +594,7 @@ impl IBackgroundTransferOperation { } } } -::windows::core::interface_hierarchy!(IBackgroundTransferOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTransferOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundTransferOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -607,7 +607,7 @@ impl ::core::fmt::Debug for IBackgroundTransferOperation { } } impl ::windows::core::RuntimeType for IBackgroundTransferOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ded06846-90ca-44fb-8fb1-124154c0d539}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ded06846-90ca-44fb-8fb1-124154c0d539}"); } unsafe impl ::windows::core::Vtable for IBackgroundTransferOperation { type Vtable = IBackgroundTransferOperation_Vtbl; @@ -658,7 +658,7 @@ impl IBackgroundTransferOperationPriority { unsafe { (::windows::core::Vtable::vtable(this).SetPriority)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(IBackgroundTransferOperationPriority, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBackgroundTransferOperationPriority, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBackgroundTransferOperationPriority { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -671,7 +671,7 @@ impl ::core::fmt::Debug for IBackgroundTransferOperationPriority { } } impl ::windows::core::RuntimeType for IBackgroundTransferOperationPriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{04854327-5254-4b3a-915e-0aa49275c0f9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{04854327-5254-4b3a-915e-0aa49275c0f9}"); } unsafe impl ::windows::core::Vtable for IBackgroundTransferOperationPriority { type Vtable = IBackgroundTransferOperationPriority_Vtbl; @@ -1284,8 +1284,8 @@ impl BackgroundDownloader { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`, `\"Storage\"`*"] @@ -1524,23 +1524,23 @@ impl BackgroundDownloader { } #[doc(hidden)] pub fn IBackgroundDownloaderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBackgroundDownloaderStaticMethods ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBackgroundDownloaderStaticMethods2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IBackgroundDownloaderUserConsent ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1556,7 +1556,7 @@ impl ::core::fmt::Debug for BackgroundDownloader { } } impl ::windows::core::RuntimeType for BackgroundDownloader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundDownloader;{c1c79333-6649-4b1d-a826-a4b3dd234d0b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundDownloader;{c1c79333-6649-4b1d-a826-a4b3dd234d0b})"); } impl ::core::clone::Clone for BackgroundDownloader { fn clone(&self) -> Self { @@ -1572,7 +1572,7 @@ unsafe impl ::windows::core::Interface for BackgroundDownloader { impl ::windows::core::RuntimeName for BackgroundDownloader { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.BackgroundDownloader"; } -::windows::core::interface_hierarchy!(BackgroundDownloader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundDownloader, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTransferBase { type Error = ::windows::core::Error; fn try_from(value: BackgroundDownloader) -> ::windows::core::Result { @@ -1601,8 +1601,8 @@ impl BackgroundTransferCompletionGroup { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -1638,7 +1638,7 @@ impl ::core::fmt::Debug for BackgroundTransferCompletionGroup { } } impl ::windows::core::RuntimeType for BackgroundTransferCompletionGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup;{2d930225-986b-574d-7950-0add47f5d706})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup;{2d930225-986b-574d-7950-0add47f5d706})"); } impl ::core::clone::Clone for BackgroundTransferCompletionGroup { fn clone(&self) -> Self { @@ -1654,7 +1654,7 @@ unsafe impl ::windows::core::Interface for BackgroundTransferCompletionGroup { impl ::windows::core::RuntimeName for BackgroundTransferCompletionGroup { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup"; } -::windows::core::interface_hierarchy!(BackgroundTransferCompletionGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTransferCompletionGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTransferCompletionGroup {} unsafe impl ::core::marker::Sync for BackgroundTransferCompletionGroup {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] @@ -1692,7 +1692,7 @@ impl ::core::fmt::Debug for BackgroundTransferCompletionGroupTriggerDetails { } } impl ::windows::core::RuntimeType for BackgroundTransferCompletionGroupTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroupTriggerDetails;{7b6be286-6e47-5136-7fcb-fa4389f46f5b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroupTriggerDetails;{7b6be286-6e47-5136-7fcb-fa4389f46f5b})"); } impl ::core::clone::Clone for BackgroundTransferCompletionGroupTriggerDetails { fn clone(&self) -> Self { @@ -1708,7 +1708,7 @@ unsafe impl ::windows::core::Interface for BackgroundTransferCompletionGroupTrig impl ::windows::core::RuntimeName for BackgroundTransferCompletionGroupTriggerDetails { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroupTriggerDetails"; } -::windows::core::interface_hierarchy!(BackgroundTransferCompletionGroupTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTransferCompletionGroupTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTransferCompletionGroupTriggerDetails {} unsafe impl ::core::marker::Sync for BackgroundTransferCompletionGroupTriggerDetails {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] @@ -1718,8 +1718,8 @@ impl BackgroundTransferContentPart { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetHeader(&self, headername: &::windows::core::HSTRING, headervalue: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -1754,7 +1754,7 @@ impl BackgroundTransferContentPart { } #[doc(hidden)] pub fn IBackgroundTransferContentPartFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1770,7 +1770,7 @@ impl ::core::fmt::Debug for BackgroundTransferContentPart { } } impl ::windows::core::RuntimeType for BackgroundTransferContentPart { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart;{e8e15657-d7d1-4ed8-838e-674ac217ace6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart;{e8e15657-d7d1-4ed8-838e-674ac217ace6})"); } impl ::core::clone::Clone for BackgroundTransferContentPart { fn clone(&self) -> Self { @@ -1786,7 +1786,7 @@ unsafe impl ::windows::core::Interface for BackgroundTransferContentPart { impl ::windows::core::RuntimeName for BackgroundTransferContentPart { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart"; } -::windows::core::interface_hierarchy!(BackgroundTransferContentPart, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTransferContentPart, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTransferContentPart {} unsafe impl ::core::marker::Sync for BackgroundTransferContentPart {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] @@ -1802,7 +1802,7 @@ impl BackgroundTransferError { } #[doc(hidden)] pub fn IBackgroundTransferErrorStaticMethods ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1839,7 +1839,7 @@ impl BackgroundTransferGroup { } #[doc(hidden)] pub fn IBackgroundTransferGroupStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1855,7 +1855,7 @@ impl ::core::fmt::Debug for BackgroundTransferGroup { } } impl ::windows::core::RuntimeType for BackgroundTransferGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferGroup;{d8c3e3e4-6459-4540-85eb-aaa1c8903677})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferGroup;{d8c3e3e4-6459-4540-85eb-aaa1c8903677})"); } impl ::core::clone::Clone for BackgroundTransferGroup { fn clone(&self) -> Self { @@ -1871,7 +1871,7 @@ unsafe impl ::windows::core::Interface for BackgroundTransferGroup { impl ::windows::core::RuntimeName for BackgroundTransferGroup { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.BackgroundTransferGroup"; } -::windows::core::interface_hierarchy!(BackgroundTransferGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTransferGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTransferGroup {} unsafe impl ::core::marker::Sync for BackgroundTransferGroup {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] @@ -1916,7 +1916,7 @@ impl ::core::fmt::Debug for BackgroundTransferRangesDownloadedEventArgs { } } impl ::windows::core::RuntimeType for BackgroundTransferRangesDownloadedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs;{3ebc7453-bf48-4a88-9248-b0c165184f5c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs;{3ebc7453-bf48-4a88-9248-b0c165184f5c})"); } impl ::core::clone::Clone for BackgroundTransferRangesDownloadedEventArgs { fn clone(&self) -> Self { @@ -1932,7 +1932,7 @@ unsafe impl ::windows::core::Interface for BackgroundTransferRangesDownloadedEve impl ::windows::core::RuntimeName for BackgroundTransferRangesDownloadedEventArgs { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs"; } -::windows::core::interface_hierarchy!(BackgroundTransferRangesDownloadedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundTransferRangesDownloadedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackgroundTransferRangesDownloadedEventArgs {} unsafe impl ::core::marker::Sync for BackgroundTransferRangesDownloadedEventArgs {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] @@ -1942,8 +1942,8 @@ impl BackgroundUploader { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetRequestHeader(&self, headername: &::windows::core::HSTRING, headervalue: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -2204,23 +2204,23 @@ impl BackgroundUploader { } #[doc(hidden)] pub fn IBackgroundUploaderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBackgroundUploaderStaticMethods ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBackgroundUploaderStaticMethods2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IBackgroundUploaderUserConsent ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2236,7 +2236,7 @@ impl ::core::fmt::Debug for BackgroundUploader { } } impl ::windows::core::RuntimeType for BackgroundUploader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundUploader;{c595c9ae-cead-465b-8801-c55ac90a01ce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundUploader;{c595c9ae-cead-465b-8801-c55ac90a01ce})"); } impl ::core::clone::Clone for BackgroundUploader { fn clone(&self) -> Self { @@ -2252,7 +2252,7 @@ unsafe impl ::windows::core::Interface for BackgroundUploader { impl ::windows::core::RuntimeName for BackgroundUploader { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.BackgroundUploader"; } -::windows::core::interface_hierarchy!(BackgroundUploader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundUploader, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTransferBase { type Error = ::windows::core::Error; fn try_from(value: BackgroundUploader) -> ::windows::core::Result { @@ -2308,12 +2308,12 @@ impl ContentPrefetcher { } #[doc(hidden)] pub fn IContentPrefetcher ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IContentPrefetcherTime ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2536,7 +2536,7 @@ impl ::core::fmt::Debug for DownloadOperation { } } impl ::windows::core::RuntimeType for DownloadOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.DownloadOperation;{bd87ebb0-5714-4e09-ba68-bef73903b0d7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.DownloadOperation;{bd87ebb0-5714-4e09-ba68-bef73903b0d7})"); } impl ::core::clone::Clone for DownloadOperation { fn clone(&self) -> Self { @@ -2552,7 +2552,7 @@ unsafe impl ::windows::core::Interface for DownloadOperation { impl ::windows::core::RuntimeName for DownloadOperation { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.DownloadOperation"; } -::windows::core::interface_hierarchy!(DownloadOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DownloadOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTransferOperation { type Error = ::windows::core::Error; fn try_from(value: DownloadOperation) -> ::windows::core::Result { @@ -2642,7 +2642,7 @@ impl ::core::fmt::Debug for ResponseInformation { } } impl ::windows::core::RuntimeType for ResponseInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.ResponseInformation;{f8bb9a12-f713-4792-8b68-d9d297f91d2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.ResponseInformation;{f8bb9a12-f713-4792-8b68-d9d297f91d2e})"); } impl ::core::clone::Clone for ResponseInformation { fn clone(&self) -> Self { @@ -2658,7 +2658,7 @@ unsafe impl ::windows::core::Interface for ResponseInformation { impl ::windows::core::RuntimeName for ResponseInformation { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.ResponseInformation"; } -::windows::core::interface_hierarchy!(ResponseInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResponseInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ResponseInformation {} unsafe impl ::core::marker::Sync for ResponseInformation {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`, `\"deprecated\"`*"] @@ -2693,7 +2693,7 @@ impl ::core::fmt::Debug for UnconstrainedTransferRequestResult { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for UnconstrainedTransferRequestResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.UnconstrainedTransferRequestResult;{4c24b81f-d944-4112-a98e-6a69522b7ebb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.UnconstrainedTransferRequestResult;{4c24b81f-d944-4112-a98e-6a69522b7ebb})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for UnconstrainedTransferRequestResult { @@ -2714,7 +2714,7 @@ impl ::windows::core::RuntimeName for UnconstrainedTransferRequestResult { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.UnconstrainedTransferRequestResult"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(UnconstrainedTransferRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UnconstrainedTransferRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for UnconstrainedTransferRequestResult {} #[cfg(feature = "deprecated")] @@ -2859,7 +2859,7 @@ impl ::core::fmt::Debug for UploadOperation { } } impl ::windows::core::RuntimeType for UploadOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.UploadOperation;{3e5624e0-7389-434c-8b35-427fd36bbdae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.UploadOperation;{3e5624e0-7389-434c-8b35-427fd36bbdae})"); } impl ::core::clone::Clone for UploadOperation { fn clone(&self) -> Self { @@ -2875,7 +2875,7 @@ unsafe impl ::windows::core::Interface for UploadOperation { impl ::windows::core::RuntimeName for UploadOperation { const NAME: &'static str = "Windows.Networking.BackgroundTransfer.UploadOperation"; } -::windows::core::interface_hierarchy!(UploadOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UploadOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBackgroundTransferOperation { type Error = ::windows::core::Error; fn try_from(value: UploadOperation) -> ::windows::core::Result { @@ -2944,7 +2944,7 @@ impl ::core::fmt::Debug for BackgroundTransferBehavior { } } impl ::windows::core::RuntimeType for BackgroundTransferBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.BackgroundTransfer.BackgroundTransferBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.BackgroundTransfer.BackgroundTransferBehavior;i4)"); } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] @@ -2975,7 +2975,7 @@ impl ::core::fmt::Debug for BackgroundTransferCostPolicy { } } impl ::windows::core::RuntimeType for BackgroundTransferCostPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy;i4)"); } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] @@ -3006,7 +3006,7 @@ impl ::core::fmt::Debug for BackgroundTransferPriority { } } impl ::windows::core::RuntimeType for BackgroundTransferPriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.BackgroundTransfer.BackgroundTransferPriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.BackgroundTransfer.BackgroundTransferPriority;i4)"); } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] @@ -3044,7 +3044,7 @@ impl ::core::fmt::Debug for BackgroundTransferStatus { } } impl ::windows::core::RuntimeType for BackgroundTransferStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.BackgroundTransfer.BackgroundTransferStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.BackgroundTransfer.BackgroundTransferStatus;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] @@ -3070,7 +3070,7 @@ impl ::windows::core::TypeKind for BackgroundDownloadProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for BackgroundDownloadProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Networking.BackgroundTransfer.BackgroundDownloadProgress;u8;u8;enum(Windows.Networking.BackgroundTransfer.BackgroundTransferStatus;i4);b1;b1)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Networking.BackgroundTransfer.BackgroundDownloadProgress;u8;u8;enum(Windows.Networking.BackgroundTransfer.BackgroundTransferStatus;i4);b1;b1)"); } impl ::core::cmp::PartialEq for BackgroundDownloadProgress { fn eq(&self, other: &Self) -> bool { @@ -3104,7 +3104,7 @@ impl ::windows::core::TypeKind for BackgroundTransferFileRange { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for BackgroundTransferFileRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Networking.BackgroundTransfer.BackgroundTransferFileRange;u8;u8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Networking.BackgroundTransfer.BackgroundTransferFileRange;u8;u8)"); } impl ::core::cmp::PartialEq for BackgroundTransferFileRange { fn eq(&self, other: &Self) -> bool { @@ -3143,7 +3143,7 @@ impl ::windows::core::TypeKind for BackgroundUploadProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for BackgroundUploadProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Networking.BackgroundTransfer.BackgroundUploadProgress;u8;u8;u8;u8;enum(Windows.Networking.BackgroundTransfer.BackgroundTransferStatus;i4);b1;b1)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Networking.BackgroundTransfer.BackgroundUploadProgress;u8;u8;u8;u8;enum(Windows.Networking.BackgroundTransfer.BackgroundTransferStatus;i4);b1;b1)"); } impl ::core::cmp::PartialEq for BackgroundUploadProgress { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index e971355fe4..bc3479885e 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -1055,7 +1055,7 @@ impl ::core::fmt::Debug for AttributedNetworkUsage { } } impl ::windows::core::RuntimeType for AttributedNetworkUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.AttributedNetworkUsage;{f769b039-eca2-45eb-ade1-b0368b756c49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.AttributedNetworkUsage;{f769b039-eca2-45eb-ade1-b0368b756c49})"); } impl ::core::clone::Clone for AttributedNetworkUsage { fn clone(&self) -> Self { @@ -1071,7 +1071,7 @@ unsafe impl ::windows::core::Interface for AttributedNetworkUsage { impl ::windows::core::RuntimeName for AttributedNetworkUsage { const NAME: &'static str = "Windows.Networking.Connectivity.AttributedNetworkUsage"; } -::windows::core::interface_hierarchy!(AttributedNetworkUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AttributedNetworkUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AttributedNetworkUsage {} unsafe impl ::core::marker::Sync for AttributedNetworkUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -1081,8 +1081,8 @@ impl CellularApnContext { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProviderId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1175,7 +1175,7 @@ impl ::core::fmt::Debug for CellularApnContext { } } impl ::windows::core::RuntimeType for CellularApnContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.CellularApnContext;{6fa529f4-effd-4542-9ab2-705bbf94943a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.CellularApnContext;{6fa529f4-effd-4542-9ab2-705bbf94943a})"); } impl ::core::clone::Clone for CellularApnContext { fn clone(&self) -> Self { @@ -1191,7 +1191,7 @@ unsafe impl ::windows::core::Interface for CellularApnContext { impl ::windows::core::RuntimeName for CellularApnContext { const NAME: &'static str = "Windows.Networking.Connectivity.CellularApnContext"; } -::windows::core::interface_hierarchy!(CellularApnContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CellularApnContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CellularApnContext {} unsafe impl ::core::marker::Sync for CellularApnContext {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -1246,7 +1246,7 @@ impl ::core::fmt::Debug for ConnectionCost { } } impl ::windows::core::RuntimeType for ConnectionCost { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionCost;{bad7d829-3416-4b10-a202-bac0b075bdae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionCost;{bad7d829-3416-4b10-a202-bac0b075bdae})"); } impl ::core::clone::Clone for ConnectionCost { fn clone(&self) -> Self { @@ -1262,7 +1262,7 @@ unsafe impl ::windows::core::Interface for ConnectionCost { impl ::windows::core::RuntimeName for ConnectionCost { const NAME: &'static str = "Windows.Networking.Connectivity.ConnectionCost"; } -::windows::core::interface_hierarchy!(ConnectionCost, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConnectionCost, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConnectionCost {} unsafe impl ::core::marker::Sync for ConnectionCost {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -1463,7 +1463,7 @@ impl ::core::fmt::Debug for ConnectionProfile { } } impl ::windows::core::RuntimeType for ConnectionProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionProfile;{71ba143c-598e-49d0-84eb-8febaedcc195})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionProfile;{71ba143c-598e-49d0-84eb-8febaedcc195})"); } impl ::core::clone::Clone for ConnectionProfile { fn clone(&self) -> Self { @@ -1479,7 +1479,7 @@ unsafe impl ::windows::core::Interface for ConnectionProfile { impl ::windows::core::RuntimeName for ConnectionProfile { const NAME: &'static str = "Windows.Networking.Connectivity.ConnectionProfile"; } -::windows::core::interface_hierarchy!(ConnectionProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConnectionProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConnectionProfile {} unsafe impl ::core::marker::Sync for ConnectionProfile {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -1489,8 +1489,8 @@ impl ConnectionProfileFilter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetIsConnected(&self, value: bool) -> ::windows::core::Result<()> { @@ -1654,7 +1654,7 @@ impl ::core::fmt::Debug for ConnectionProfileFilter { } } impl ::windows::core::RuntimeType for ConnectionProfileFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionProfileFilter;{204c7cc8-bd2d-4e8d-a4b3-455ec337388a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionProfileFilter;{204c7cc8-bd2d-4e8d-a4b3-455ec337388a})"); } impl ::core::clone::Clone for ConnectionProfileFilter { fn clone(&self) -> Self { @@ -1670,7 +1670,7 @@ unsafe impl ::windows::core::Interface for ConnectionProfileFilter { impl ::windows::core::RuntimeName for ConnectionProfileFilter { const NAME: &'static str = "Windows.Networking.Connectivity.ConnectionProfileFilter"; } -::windows::core::interface_hierarchy!(ConnectionProfileFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConnectionProfileFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConnectionProfileFilter {} unsafe impl ::core::marker::Sync for ConnectionProfileFilter {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -1703,7 +1703,7 @@ impl ::core::fmt::Debug for ConnectionSession { } } impl ::windows::core::RuntimeType for ConnectionSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionSession;{ff905d4c-f83b-41b0-8a0c-1462d9c56b73})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionSession;{ff905d4c-f83b-41b0-8a0c-1462d9c56b73})"); } impl ::core::clone::Clone for ConnectionSession { fn clone(&self) -> Self { @@ -1719,7 +1719,7 @@ unsafe impl ::windows::core::Interface for ConnectionSession { impl ::windows::core::RuntimeName for ConnectionSession { const NAME: &'static str = "Windows.Networking.Connectivity.ConnectionSession"; } -::windows::core::interface_hierarchy!(ConnectionSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConnectionSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1779,7 +1779,7 @@ impl ::core::fmt::Debug for ConnectivityInterval { } } impl ::windows::core::RuntimeType for ConnectivityInterval { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectivityInterval;{4faa3fff-6746-4824-a964-eed8e87f8709})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectivityInterval;{4faa3fff-6746-4824-a964-eed8e87f8709})"); } impl ::core::clone::Clone for ConnectivityInterval { fn clone(&self) -> Self { @@ -1795,7 +1795,7 @@ unsafe impl ::windows::core::Interface for ConnectivityInterval { impl ::windows::core::RuntimeName for ConnectivityInterval { const NAME: &'static str = "Windows.Networking.Connectivity.ConnectivityInterval"; } -::windows::core::interface_hierarchy!(ConnectivityInterval, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConnectivityInterval, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConnectivityInterval {} unsafe impl ::core::marker::Sync for ConnectivityInterval {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -1817,7 +1817,7 @@ impl ConnectivityManager { } #[doc(hidden)] pub fn IConnectivityManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1893,7 +1893,7 @@ impl ::core::fmt::Debug for DataPlanStatus { } } impl ::windows::core::RuntimeType for DataPlanStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataPlanStatus;{977a8b8c-3885-40f3-8851-42cd2bd568bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataPlanStatus;{977a8b8c-3885-40f3-8851-42cd2bd568bb})"); } impl ::core::clone::Clone for DataPlanStatus { fn clone(&self) -> Self { @@ -1909,7 +1909,7 @@ unsafe impl ::windows::core::Interface for DataPlanStatus { impl ::windows::core::RuntimeName for DataPlanStatus { const NAME: &'static str = "Windows.Networking.Connectivity.DataPlanStatus"; } -::windows::core::interface_hierarchy!(DataPlanStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataPlanStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataPlanStatus {} unsafe impl ::core::marker::Sync for DataPlanStatus {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -1945,7 +1945,7 @@ impl ::core::fmt::Debug for DataPlanUsage { } } impl ::windows::core::RuntimeType for DataPlanUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataPlanUsage;{b921492d-3b44-47ff-b361-be59e69ed1b0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataPlanUsage;{b921492d-3b44-47ff-b361-be59e69ed1b0})"); } impl ::core::clone::Clone for DataPlanUsage { fn clone(&self) -> Self { @@ -1961,7 +1961,7 @@ unsafe impl ::windows::core::Interface for DataPlanUsage { impl ::windows::core::RuntimeName for DataPlanUsage { const NAME: &'static str = "Windows.Networking.Connectivity.DataPlanUsage"; } -::windows::core::interface_hierarchy!(DataPlanUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataPlanUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataPlanUsage {} unsafe impl ::core::marker::Sync for DataPlanUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`, `\"deprecated\"`*"] @@ -2005,7 +2005,7 @@ impl ::core::fmt::Debug for DataUsage { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for DataUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataUsage;{c1431dd3-b146-4d39-b959-0c69b096c512})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataUsage;{c1431dd3-b146-4d39-b959-0c69b096c512})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for DataUsage { @@ -2026,7 +2026,7 @@ impl ::windows::core::RuntimeName for DataUsage { const NAME: &'static str = "Windows.Networking.Connectivity.DataUsage"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(DataUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "deprecated")] unsafe impl ::core::marker::Send for DataUsage {} #[cfg(feature = "deprecated")] @@ -2064,7 +2064,7 @@ impl ::core::fmt::Debug for IPInformation { } } impl ::windows::core::RuntimeType for IPInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.IPInformation;{d85145e0-138f-47d7-9b3a-36bb488cef33})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.IPInformation;{d85145e0-138f-47d7-9b3a-36bb488cef33})"); } impl ::core::clone::Clone for IPInformation { fn clone(&self) -> Self { @@ -2080,7 +2080,7 @@ unsafe impl ::windows::core::Interface for IPInformation { impl ::windows::core::RuntimeName for IPInformation { const NAME: &'static str = "Windows.Networking.Connectivity.IPInformation"; } -::windows::core::interface_hierarchy!(IPInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IPInformation {} unsafe impl ::core::marker::Sync for IPInformation {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2121,7 +2121,7 @@ impl ::core::fmt::Debug for LanIdentifier { } } impl ::windows::core::RuntimeType for LanIdentifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.LanIdentifier;{48aa53aa-1108-4546-a6cb-9a74da4b7ba0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.LanIdentifier;{48aa53aa-1108-4546-a6cb-9a74da4b7ba0})"); } impl ::core::clone::Clone for LanIdentifier { fn clone(&self) -> Self { @@ -2137,7 +2137,7 @@ unsafe impl ::windows::core::Interface for LanIdentifier { impl ::windows::core::RuntimeName for LanIdentifier { const NAME: &'static str = "Windows.Networking.Connectivity.LanIdentifier"; } -::windows::core::interface_hierarchy!(LanIdentifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LanIdentifier, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LanIdentifier {} unsafe impl ::core::marker::Sync for LanIdentifier {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2173,7 +2173,7 @@ impl ::core::fmt::Debug for LanIdentifierData { } } impl ::windows::core::RuntimeType for LanIdentifierData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.LanIdentifierData;{a74e83c3-d639-45be-a36a-c4e4aeaf6d9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.LanIdentifierData;{a74e83c3-d639-45be-a36a-c4e4aeaf6d9b})"); } impl ::core::clone::Clone for LanIdentifierData { fn clone(&self) -> Self { @@ -2189,7 +2189,7 @@ unsafe impl ::windows::core::Interface for LanIdentifierData { impl ::windows::core::RuntimeName for LanIdentifierData { const NAME: &'static str = "Windows.Networking.Connectivity.LanIdentifierData"; } -::windows::core::interface_hierarchy!(LanIdentifierData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LanIdentifierData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LanIdentifierData {} unsafe impl ::core::marker::Sync for LanIdentifierData {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2253,7 +2253,7 @@ impl ::core::fmt::Debug for NetworkAdapter { } } impl ::windows::core::RuntimeType for NetworkAdapter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkAdapter;{3b542e03-5388-496c-a8a3-affd39aec2e6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkAdapter;{3b542e03-5388-496c-a8a3-affd39aec2e6})"); } impl ::core::clone::Clone for NetworkAdapter { fn clone(&self) -> Self { @@ -2269,7 +2269,7 @@ unsafe impl ::windows::core::Interface for NetworkAdapter { impl ::windows::core::RuntimeName for NetworkAdapter { const NAME: &'static str = "Windows.Networking.Connectivity.NetworkAdapter"; } -::windows::core::interface_hierarchy!(NetworkAdapter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkAdapter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkAdapter {} unsafe impl ::core::marker::Sync for NetworkAdapter {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2348,12 +2348,12 @@ impl NetworkInformation { } #[doc(hidden)] pub fn INetworkInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn INetworkInformationStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2391,7 +2391,7 @@ impl ::core::fmt::Debug for NetworkItem { } } impl ::windows::core::RuntimeType for NetworkItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkItem;{01bc4d39-f5e0-4567-a28c-42080c831b2b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkItem;{01bc4d39-f5e0-4567-a28c-42080c831b2b})"); } impl ::core::clone::Clone for NetworkItem { fn clone(&self) -> Self { @@ -2407,7 +2407,7 @@ unsafe impl ::windows::core::Interface for NetworkItem { impl ::windows::core::RuntimeName for NetworkItem { const NAME: &'static str = "Windows.Networking.Connectivity.NetworkItem"; } -::windows::core::interface_hierarchy!(NetworkItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkItem {} unsafe impl ::core::marker::Sync for NetworkItem {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2441,7 +2441,7 @@ impl ::core::fmt::Debug for NetworkSecuritySettings { } } impl ::windows::core::RuntimeType for NetworkSecuritySettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkSecuritySettings;{7ca07e8d-917b-4b5f-b84d-28f7a5ac5402})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkSecuritySettings;{7ca07e8d-917b-4b5f-b84d-28f7a5ac5402})"); } impl ::core::clone::Clone for NetworkSecuritySettings { fn clone(&self) -> Self { @@ -2457,7 +2457,7 @@ unsafe impl ::windows::core::Interface for NetworkSecuritySettings { impl ::windows::core::RuntimeName for NetworkSecuritySettings { const NAME: &'static str = "Windows.Networking.Connectivity.NetworkSecuritySettings"; } -::windows::core::interface_hierarchy!(NetworkSecuritySettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkSecuritySettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkSecuritySettings {} unsafe impl ::core::marker::Sync for NetworkSecuritySettings {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2533,7 +2533,7 @@ impl ::core::fmt::Debug for NetworkStateChangeEventDetails { } } impl ::windows::core::RuntimeType for NetworkStateChangeEventDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkStateChangeEventDetails;{1f0cf333-d7a6-44dd-a4e9-687c476b903d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkStateChangeEventDetails;{1f0cf333-d7a6-44dd-a4e9-687c476b903d})"); } impl ::core::clone::Clone for NetworkStateChangeEventDetails { fn clone(&self) -> Self { @@ -2549,7 +2549,7 @@ unsafe impl ::windows::core::Interface for NetworkStateChangeEventDetails { impl ::windows::core::RuntimeName for NetworkStateChangeEventDetails { const NAME: &'static str = "Windows.Networking.Connectivity.NetworkStateChangeEventDetails"; } -::windows::core::interface_hierarchy!(NetworkStateChangeEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkStateChangeEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkStateChangeEventDetails {} unsafe impl ::core::marker::Sync for NetworkStateChangeEventDetails {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2592,7 +2592,7 @@ impl ::core::fmt::Debug for NetworkUsage { } } impl ::windows::core::RuntimeType for NetworkUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkUsage;{49da8fce-9985-4927-bf5b-072b5c65f8d9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkUsage;{49da8fce-9985-4927-bf5b-072b5c65f8d9})"); } impl ::core::clone::Clone for NetworkUsage { fn clone(&self) -> Self { @@ -2608,7 +2608,7 @@ unsafe impl ::windows::core::Interface for NetworkUsage { impl ::windows::core::RuntimeName for NetworkUsage { const NAME: &'static str = "Windows.Networking.Connectivity.NetworkUsage"; } -::windows::core::interface_hierarchy!(NetworkUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkUsage {} unsafe impl ::core::marker::Sync for NetworkUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2649,7 +2649,7 @@ impl ::core::fmt::Debug for ProviderNetworkUsage { } } impl ::windows::core::RuntimeType for ProviderNetworkUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ProviderNetworkUsage;{5ec69e04-7931-48c8-b8f3-46300fa42728})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ProviderNetworkUsage;{5ec69e04-7931-48c8-b8f3-46300fa42728})"); } impl ::core::clone::Clone for ProviderNetworkUsage { fn clone(&self) -> Self { @@ -2665,7 +2665,7 @@ unsafe impl ::windows::core::Interface for ProviderNetworkUsage { impl ::windows::core::RuntimeName for ProviderNetworkUsage { const NAME: &'static str = "Windows.Networking.Connectivity.ProviderNetworkUsage"; } -::windows::core::interface_hierarchy!(ProviderNetworkUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProviderNetworkUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProviderNetworkUsage {} unsafe impl ::core::marker::Sync for ProviderNetworkUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2701,7 +2701,7 @@ impl ::core::fmt::Debug for ProxyConfiguration { } } impl ::windows::core::RuntimeType for ProxyConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ProxyConfiguration;{ef3a60b4-9004-4dd6-b7d8-b3e502f4aad0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ProxyConfiguration;{ef3a60b4-9004-4dd6-b7d8-b3e502f4aad0})"); } impl ::core::clone::Clone for ProxyConfiguration { fn clone(&self) -> Self { @@ -2717,7 +2717,7 @@ unsafe impl ::windows::core::Interface for ProxyConfiguration { impl ::windows::core::RuntimeName for ProxyConfiguration { const NAME: &'static str = "Windows.Networking.Connectivity.ProxyConfiguration"; } -::windows::core::interface_hierarchy!(ProxyConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProxyConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProxyConfiguration {} unsafe impl ::core::marker::Sync for ProxyConfiguration {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2753,7 +2753,7 @@ impl RoutePolicy { } #[doc(hidden)] pub fn IRoutePolicyFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2769,7 +2769,7 @@ impl ::core::fmt::Debug for RoutePolicy { } } impl ::windows::core::RuntimeType for RoutePolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.RoutePolicy;{11abc4ac-0fc7-42e4-8742-569923b1ca11})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.RoutePolicy;{11abc4ac-0fc7-42e4-8742-569923b1ca11})"); } impl ::core::clone::Clone for RoutePolicy { fn clone(&self) -> Self { @@ -2785,7 +2785,7 @@ unsafe impl ::windows::core::Interface for RoutePolicy { impl ::windows::core::RuntimeName for RoutePolicy { const NAME: &'static str = "Windows.Networking.Connectivity.RoutePolicy"; } -::windows::core::interface_hierarchy!(RoutePolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RoutePolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RoutePolicy {} unsafe impl ::core::marker::Sync for RoutePolicy {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2812,7 +2812,7 @@ impl ::core::fmt::Debug for WlanConnectionProfileDetails { } } impl ::windows::core::RuntimeType for WlanConnectionProfileDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.WlanConnectionProfileDetails;{562098cb-b35a-4bf1-a884-b7557e88ff86})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.WlanConnectionProfileDetails;{562098cb-b35a-4bf1-a884-b7557e88ff86})"); } impl ::core::clone::Clone for WlanConnectionProfileDetails { fn clone(&self) -> Self { @@ -2828,7 +2828,7 @@ unsafe impl ::windows::core::Interface for WlanConnectionProfileDetails { impl ::windows::core::RuntimeName for WlanConnectionProfileDetails { const NAME: &'static str = "Windows.Networking.Connectivity.WlanConnectionProfileDetails"; } -::windows::core::interface_hierarchy!(WlanConnectionProfileDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WlanConnectionProfileDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WlanConnectionProfileDetails {} unsafe impl ::core::marker::Sync for WlanConnectionProfileDetails {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2892,7 +2892,7 @@ impl ::core::fmt::Debug for WwanConnectionProfileDetails { } } impl ::windows::core::RuntimeType for WwanConnectionProfileDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.WwanConnectionProfileDetails;{0e4da8fe-835f-4df3-82fd-df556ebc09ef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.WwanConnectionProfileDetails;{0e4da8fe-835f-4df3-82fd-df556ebc09ef})"); } impl ::core::clone::Clone for WwanConnectionProfileDetails { fn clone(&self) -> Self { @@ -2908,7 +2908,7 @@ unsafe impl ::windows::core::Interface for WwanConnectionProfileDetails { impl ::windows::core::RuntimeName for WwanConnectionProfileDetails { const NAME: &'static str = "Windows.Networking.Connectivity.WwanConnectionProfileDetails"; } -::windows::core::interface_hierarchy!(WwanConnectionProfileDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WwanConnectionProfileDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WwanConnectionProfileDetails {} unsafe impl ::core::marker::Sync for WwanConnectionProfileDetails {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -2941,7 +2941,7 @@ impl ::core::fmt::Debug for CellularApnAuthenticationType { } } impl ::windows::core::RuntimeType for CellularApnAuthenticationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.CellularApnAuthenticationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.CellularApnAuthenticationType;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -2973,7 +2973,7 @@ impl ::core::fmt::Debug for ConnectionProfileDeleteStatus { } } impl ::windows::core::RuntimeType for ConnectionProfileDeleteStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.ConnectionProfileDeleteStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.ConnectionProfileDeleteStatus;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3005,7 +3005,7 @@ impl ::core::fmt::Debug for DataUsageGranularity { } } impl ::windows::core::RuntimeType for DataUsageGranularity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.DataUsageGranularity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.DataUsageGranularity;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3036,7 +3036,7 @@ impl ::core::fmt::Debug for DomainAuthenticationKind { } } impl ::windows::core::RuntimeType for DomainAuthenticationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.DomainAuthenticationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.DomainAuthenticationKind;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3067,7 +3067,7 @@ impl ::core::fmt::Debug for DomainConnectivityLevel { } } impl ::windows::core::RuntimeType for DomainConnectivityLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.DomainConnectivityLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.DomainConnectivityLevel;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3110,7 +3110,7 @@ impl ::core::fmt::Debug for NetworkAuthenticationType { } } impl ::windows::core::RuntimeType for NetworkAuthenticationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkAuthenticationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkAuthenticationType;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3142,7 +3142,7 @@ impl ::core::fmt::Debug for NetworkConnectivityLevel { } } impl ::windows::core::RuntimeType for NetworkConnectivityLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkConnectivityLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkConnectivityLevel;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3174,7 +3174,7 @@ impl ::core::fmt::Debug for NetworkCostType { } } impl ::windows::core::RuntimeType for NetworkCostType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkCostType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkCostType;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3214,7 +3214,7 @@ impl ::core::fmt::Debug for NetworkEncryptionType { } } impl ::windows::core::RuntimeType for NetworkEncryptionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkEncryptionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkEncryptionType;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3278,7 +3278,7 @@ impl ::core::ops::Not for NetworkTypes { } } impl ::windows::core::RuntimeType for NetworkTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkTypes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.NetworkTypes;u4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3342,7 +3342,7 @@ impl ::core::ops::Not for RoamingStates { } } impl ::windows::core::RuntimeType for RoamingStates { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.RoamingStates;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.RoamingStates;u4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3373,7 +3373,7 @@ impl ::core::fmt::Debug for TriStates { } } impl ::windows::core::RuntimeType for TriStates { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.TriStates;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.TriStates;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3449,7 +3449,7 @@ impl ::core::ops::Not for WwanDataClass { } } impl ::windows::core::RuntimeType for WwanDataClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.WwanDataClass;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.WwanDataClass;u4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3482,7 +3482,7 @@ impl ::core::fmt::Debug for WwanNetworkIPKind { } } impl ::windows::core::RuntimeType for WwanNetworkIPKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.WwanNetworkIPKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.WwanNetworkIPKind;i4)"); } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] @@ -3517,7 +3517,7 @@ impl ::core::fmt::Debug for WwanNetworkRegistrationState { } } impl ::windows::core::RuntimeType for WwanNetworkRegistrationState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.WwanNetworkRegistrationState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Connectivity.WwanNetworkRegistrationState;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -3540,7 +3540,7 @@ impl ::windows::core::TypeKind for NetworkUsageStates { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for NetworkUsageStates { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Networking.Connectivity.NetworkUsageStates;enum(Windows.Networking.Connectivity.TriStates;i4);enum(Windows.Networking.Connectivity.TriStates;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Networking.Connectivity.NetworkUsageStates;enum(Windows.Networking.Connectivity.TriStates;i4);enum(Windows.Networking.Connectivity.TriStates;i4))"); } impl ::core::cmp::PartialEq for NetworkUsageStates { fn eq(&self, other: &Self) -> bool { @@ -3558,8 +3558,8 @@ impl ::core::default::Default for NetworkUsageStates { pub struct NetworkStatusChangedEventHandler(pub ::windows::core::IUnknown); impl NetworkStatusChangedEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = NetworkStatusChangedEventHandlerBox:: { vtable: &NetworkStatusChangedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = NetworkStatusChangedEventHandlerBox:: { vtable: &NetworkStatusChangedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: P0) -> ::windows::core::Result<()> where @@ -3573,7 +3573,7 @@ impl NetworkStatusChangedEventHandler { struct NetworkStatusChangedEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const NetworkStatusChangedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> NetworkStatusChangedEventHandlerBox { const VTABLE: NetworkStatusChangedEventHandler_Vtbl = NetworkStatusChangedEventHandler_Vtbl { @@ -3582,7 +3582,7 @@ impl) -> ::windo }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -3598,7 +3598,7 @@ impl) -> ::windo let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -3630,7 +3630,7 @@ unsafe impl ::windows::core::Interface for NetworkStatusChangedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x71ba143f_598e_49d0_84eb_8febaedcc195); } impl ::windows::core::RuntimeType for NetworkStatusChangedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{71ba143f-598e-49d0-84eb-8febaedcc195}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{71ba143f-598e-49d0-84eb-8febaedcc195}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs index 14fe4a3c0c..a535892349 100644 --- a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs @@ -3337,7 +3337,7 @@ impl ::core::fmt::Debug for ESim { } } impl ::windows::core::RuntimeType for ESim { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESim;{6f6e6e26-f123-437d-8ced-dc1d2bc0c3a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESim;{6f6e6e26-f123-437d-8ced-dc1d2bc0c3a9})"); } impl ::core::clone::Clone for ESim { fn clone(&self) -> Self { @@ -3353,7 +3353,7 @@ unsafe impl ::windows::core::Interface for ESim { impl ::windows::core::RuntimeName for ESim { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESim"; } -::windows::core::interface_hierarchy!(ESim, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESim, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESim {} unsafe impl ::core::marker::Sync for ESim {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3380,7 +3380,7 @@ impl ::core::fmt::Debug for ESimAddedEventArgs { } } impl ::windows::core::RuntimeType for ESimAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimAddedEventArgs;{38bd0a58-4d5a-4d08-8da7-e73eff369ddd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimAddedEventArgs;{38bd0a58-4d5a-4d08-8da7-e73eff369ddd})"); } impl ::core::clone::Clone for ESimAddedEventArgs { fn clone(&self) -> Self { @@ -3396,7 +3396,7 @@ unsafe impl ::windows::core::Interface for ESimAddedEventArgs { impl ::windows::core::RuntimeName for ESimAddedEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimAddedEventArgs"; } -::windows::core::interface_hierarchy!(ESimAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimAddedEventArgs {} unsafe impl ::core::marker::Sync for ESimAddedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3430,7 +3430,7 @@ impl ::core::fmt::Debug for ESimDiscoverEvent { } } impl ::windows::core::RuntimeType for ESimDiscoverEvent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDiscoverEvent;{e59ac3e3-39bc-5f6f-9321-0d4a182d261b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDiscoverEvent;{e59ac3e3-39bc-5f6f-9321-0d4a182d261b})"); } impl ::core::clone::Clone for ESimDiscoverEvent { fn clone(&self) -> Self { @@ -3446,7 +3446,7 @@ unsafe impl ::windows::core::Interface for ESimDiscoverEvent { impl ::windows::core::RuntimeName for ESimDiscoverEvent { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimDiscoverEvent"; } -::windows::core::interface_hierarchy!(ESimDiscoverEvent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimDiscoverEvent, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimDiscoverEvent {} unsafe impl ::core::marker::Sync for ESimDiscoverEvent {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3496,7 +3496,7 @@ impl ::core::fmt::Debug for ESimDiscoverResult { } } impl ::windows::core::RuntimeType for ESimDiscoverResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDiscoverResult;{56b4bb5e-ab2f-5ac6-b359-dd5a8e237926})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDiscoverResult;{56b4bb5e-ab2f-5ac6-b359-dd5a8e237926})"); } impl ::core::clone::Clone for ESimDiscoverResult { fn clone(&self) -> Self { @@ -3512,7 +3512,7 @@ unsafe impl ::windows::core::Interface for ESimDiscoverResult { impl ::windows::core::RuntimeName for ESimDiscoverResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimDiscoverResult"; } -::windows::core::interface_hierarchy!(ESimDiscoverResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimDiscoverResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimDiscoverResult {} unsafe impl ::core::marker::Sync for ESimDiscoverResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3546,7 +3546,7 @@ impl ::core::fmt::Debug for ESimDownloadProfileMetadataResult { } } impl ::windows::core::RuntimeType for ESimDownloadProfileMetadataResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDownloadProfileMetadataResult;{c4234d9e-5ad6-426d-8d00-4434f449afec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDownloadProfileMetadataResult;{c4234d9e-5ad6-426d-8d00-4434f449afec})"); } impl ::core::clone::Clone for ESimDownloadProfileMetadataResult { fn clone(&self) -> Self { @@ -3562,7 +3562,7 @@ unsafe impl ::windows::core::Interface for ESimDownloadProfileMetadataResult { impl ::windows::core::RuntimeName for ESimDownloadProfileMetadataResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimDownloadProfileMetadataResult"; } -::windows::core::interface_hierarchy!(ESimDownloadProfileMetadataResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimDownloadProfileMetadataResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimDownloadProfileMetadataResult {} unsafe impl ::core::marker::Sync for ESimDownloadProfileMetadataResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3595,7 +3595,7 @@ impl ESimManager { } #[doc(hidden)] pub fn IESimManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3626,7 +3626,7 @@ impl ::core::fmt::Debug for ESimOperationResult { } } impl ::windows::core::RuntimeType for ESimOperationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimOperationResult;{a67b63b1-309b-4e77-9e7e-cd93f1ddc7b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimOperationResult;{a67b63b1-309b-4e77-9e7e-cd93f1ddc7b9})"); } impl ::core::clone::Clone for ESimOperationResult { fn clone(&self) -> Self { @@ -3642,7 +3642,7 @@ unsafe impl ::windows::core::Interface for ESimOperationResult { impl ::windows::core::RuntimeName for ESimOperationResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimOperationResult"; } -::windows::core::interface_hierarchy!(ESimOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimOperationResult {} unsafe impl ::core::marker::Sync for ESimOperationResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3669,7 +3669,7 @@ impl ::core::fmt::Debug for ESimPolicy { } } impl ::windows::core::RuntimeType for ESimPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimPolicy;{41e1b99d-cf7e-4315-882b-6f1e74b0d38f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimPolicy;{41e1b99d-cf7e-4315-882b-6f1e74b0d38f})"); } impl ::core::clone::Clone for ESimPolicy { fn clone(&self) -> Self { @@ -3685,7 +3685,7 @@ unsafe impl ::windows::core::Interface for ESimPolicy { impl ::windows::core::RuntimeName for ESimPolicy { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimPolicy"; } -::windows::core::interface_hierarchy!(ESimPolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimPolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimPolicy {} unsafe impl ::core::marker::Sync for ESimPolicy {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3790,7 +3790,7 @@ impl ::core::fmt::Debug for ESimProfile { } } impl ::windows::core::RuntimeType for ESimProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfile;{ee1e7880-06a9-4027-b4f8-ddb23d7810e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfile;{ee1e7880-06a9-4027-b4f8-ddb23d7810e0})"); } impl ::core::clone::Clone for ESimProfile { fn clone(&self) -> Self { @@ -3806,7 +3806,7 @@ unsafe impl ::windows::core::Interface for ESimProfile { impl ::windows::core::RuntimeName for ESimProfile { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimProfile"; } -::windows::core::interface_hierarchy!(ESimProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimProfile {} unsafe impl ::core::marker::Sync for ESimProfile {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3928,7 +3928,7 @@ impl ::core::fmt::Debug for ESimProfileMetadata { } } impl ::windows::core::RuntimeType for ESimProfileMetadata { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfileMetadata;{ed25831f-90db-498d-a7b4-ebce807d3c23})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfileMetadata;{ed25831f-90db-498d-a7b4-ebce807d3c23})"); } impl ::core::clone::Clone for ESimProfileMetadata { fn clone(&self) -> Self { @@ -3944,7 +3944,7 @@ unsafe impl ::windows::core::Interface for ESimProfileMetadata { impl ::windows::core::RuntimeName for ESimProfileMetadata { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimProfileMetadata"; } -::windows::core::interface_hierarchy!(ESimProfileMetadata, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimProfileMetadata, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimProfileMetadata {} unsafe impl ::core::marker::Sync for ESimProfileMetadata {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -3985,7 +3985,7 @@ impl ::core::fmt::Debug for ESimProfilePolicy { } } impl ::windows::core::RuntimeType for ESimProfilePolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfilePolicy;{e6dd0f1d-9c5c-46c5-a289-a948999bf062})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfilePolicy;{e6dd0f1d-9c5c-46c5-a289-a948999bf062})"); } impl ::core::clone::Clone for ESimProfilePolicy { fn clone(&self) -> Self { @@ -4001,7 +4001,7 @@ unsafe impl ::windows::core::Interface for ESimProfilePolicy { impl ::windows::core::RuntimeName for ESimProfilePolicy { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimProfilePolicy"; } -::windows::core::interface_hierarchy!(ESimProfilePolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimProfilePolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimProfilePolicy {} unsafe impl ::core::marker::Sync for ESimProfilePolicy {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -4028,7 +4028,7 @@ impl ::core::fmt::Debug for ESimRemovedEventArgs { } } impl ::windows::core::RuntimeType for ESimRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimRemovedEventArgs;{dec5277b-2fd9-4ed9-8376-d9b5e41278a3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimRemovedEventArgs;{dec5277b-2fd9-4ed9-8376-d9b5e41278a3})"); } impl ::core::clone::Clone for ESimRemovedEventArgs { fn clone(&self) -> Self { @@ -4044,7 +4044,7 @@ unsafe impl ::windows::core::Interface for ESimRemovedEventArgs { impl ::windows::core::RuntimeName for ESimRemovedEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimRemovedEventArgs"; } -::windows::core::interface_hierarchy!(ESimRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimRemovedEventArgs {} unsafe impl ::core::marker::Sync for ESimRemovedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -4078,7 +4078,7 @@ impl ::core::fmt::Debug for ESimServiceInfo { } } impl ::windows::core::RuntimeType for ESimServiceInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimServiceInfo;{f16aabcf-7f59-4a51-8494-bd89d5ff50ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimServiceInfo;{f16aabcf-7f59-4a51-8494-bd89d5ff50ee})"); } impl ::core::clone::Clone for ESimServiceInfo { fn clone(&self) -> Self { @@ -4094,7 +4094,7 @@ unsafe impl ::windows::core::Interface for ESimServiceInfo { impl ::windows::core::RuntimeName for ESimServiceInfo { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimServiceInfo"; } -::windows::core::interface_hierarchy!(ESimServiceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimServiceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimServiceInfo {} unsafe impl ::core::marker::Sync for ESimServiceInfo {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -4121,7 +4121,7 @@ impl ::core::fmt::Debug for ESimUpdatedEventArgs { } } impl ::windows::core::RuntimeType for ESimUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimUpdatedEventArgs;{4c125cec-508d-4b88-83cb-68bef8168d12})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimUpdatedEventArgs;{4c125cec-508d-4b88-83cb-68bef8168d12})"); } impl ::core::clone::Clone for ESimUpdatedEventArgs { fn clone(&self) -> Self { @@ -4137,7 +4137,7 @@ unsafe impl ::windows::core::Interface for ESimUpdatedEventArgs { impl ::windows::core::RuntimeName for ESimUpdatedEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(ESimUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimUpdatedEventArgs {} unsafe impl ::core::marker::Sync for ESimUpdatedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -4247,7 +4247,7 @@ impl ::core::fmt::Debug for ESimWatcher { } } impl ::windows::core::RuntimeType for ESimWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimWatcher;{c1f84ceb-a28d-4fbf-9771-6e31b81ccf22})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimWatcher;{c1f84ceb-a28d-4fbf-9771-6e31b81ccf22})"); } impl ::core::clone::Clone for ESimWatcher { fn clone(&self) -> Self { @@ -4263,7 +4263,7 @@ unsafe impl ::windows::core::Interface for ESimWatcher { impl ::windows::core::RuntimeName for ESimWatcher { const NAME: &'static str = "Windows.Networking.NetworkOperators.ESimWatcher"; } -::windows::core::interface_hierarchy!(ESimWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ESimWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ESimWatcher {} unsafe impl ::core::marker::Sync for ESimWatcher {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -4279,7 +4279,7 @@ impl FdnAccessManager { } #[doc(hidden)] pub fn IFdnAccessManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4366,7 +4366,7 @@ impl HotspotAuthenticationContext { } #[doc(hidden)] pub fn IHotspotAuthenticationContextStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4382,7 +4382,7 @@ impl ::core::fmt::Debug for HotspotAuthenticationContext { } } impl ::windows::core::RuntimeType for HotspotAuthenticationContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotAuthenticationContext;{e756c791-1003-4de5-83c7-de61d88831d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotAuthenticationContext;{e756c791-1003-4de5-83c7-de61d88831d0})"); } impl ::core::clone::Clone for HotspotAuthenticationContext { fn clone(&self) -> Self { @@ -4398,7 +4398,7 @@ unsafe impl ::windows::core::Interface for HotspotAuthenticationContext { impl ::windows::core::RuntimeName for HotspotAuthenticationContext { const NAME: &'static str = "Windows.Networking.NetworkOperators.HotspotAuthenticationContext"; } -::windows::core::interface_hierarchy!(HotspotAuthenticationContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HotspotAuthenticationContext, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct HotspotAuthenticationEventDetails(::windows::core::IUnknown); @@ -4423,7 +4423,7 @@ impl ::core::fmt::Debug for HotspotAuthenticationEventDetails { } } impl ::windows::core::RuntimeType for HotspotAuthenticationEventDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotAuthenticationEventDetails;{e756c791-1001-4de5-83c7-de61d88831d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotAuthenticationEventDetails;{e756c791-1001-4de5-83c7-de61d88831d0})"); } impl ::core::clone::Clone for HotspotAuthenticationEventDetails { fn clone(&self) -> Self { @@ -4439,7 +4439,7 @@ unsafe impl ::windows::core::Interface for HotspotAuthenticationEventDetails { impl ::windows::core::RuntimeName for HotspotAuthenticationEventDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.HotspotAuthenticationEventDetails"; } -::windows::core::interface_hierarchy!(HotspotAuthenticationEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HotspotAuthenticationEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct HotspotCredentialsAuthenticationResult(::windows::core::IUnknown); @@ -4489,7 +4489,7 @@ impl ::core::fmt::Debug for HotspotCredentialsAuthenticationResult { } } impl ::windows::core::RuntimeType for HotspotCredentialsAuthenticationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotCredentialsAuthenticationResult;{e756c791-1005-4de5-83c7-de61d88831d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotCredentialsAuthenticationResult;{e756c791-1005-4de5-83c7-de61d88831d0})"); } impl ::core::clone::Clone for HotspotCredentialsAuthenticationResult { fn clone(&self) -> Self { @@ -4505,7 +4505,7 @@ unsafe impl ::windows::core::Interface for HotspotCredentialsAuthenticationResul impl ::windows::core::RuntimeName for HotspotCredentialsAuthenticationResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.HotspotCredentialsAuthenticationResult"; } -::windows::core::interface_hierarchy!(HotspotCredentialsAuthenticationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HotspotCredentialsAuthenticationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] pub struct KnownCSimFilePaths; impl KnownCSimFilePaths { @@ -4535,7 +4535,7 @@ impl KnownCSimFilePaths { } #[doc(hidden)] pub fn IKnownCSimFilePathsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4571,7 +4571,7 @@ impl KnownRuimFilePaths { } #[doc(hidden)] pub fn IKnownRuimFilePathsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4615,7 +4615,7 @@ impl KnownSimFilePaths { } #[doc(hidden)] pub fn IKnownSimFilePathsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4667,7 +4667,7 @@ impl KnownUSimFilePaths { } #[doc(hidden)] pub fn IKnownUSimFilePathsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4747,7 +4747,7 @@ impl MobileBroadbandAccount { } #[doc(hidden)] pub fn IMobileBroadbandAccountStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4763,7 +4763,7 @@ impl ::core::fmt::Debug for MobileBroadbandAccount { } } impl ::windows::core::RuntimeType for MobileBroadbandAccount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccount;{36c24ccd-cee2-43e0-a603-ee86a36d6570})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccount;{36c24ccd-cee2-43e0-a603-ee86a36d6570})"); } impl ::core::clone::Clone for MobileBroadbandAccount { fn clone(&self) -> Self { @@ -4779,7 +4779,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandAccount { impl ::windows::core::RuntimeName for MobileBroadbandAccount { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandAccount"; } -::windows::core::interface_hierarchy!(MobileBroadbandAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct MobileBroadbandAccountEventArgs(::windows::core::IUnknown); @@ -4804,7 +4804,7 @@ impl ::core::fmt::Debug for MobileBroadbandAccountEventArgs { } } impl ::windows::core::RuntimeType for MobileBroadbandAccountEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountEventArgs;{3853c880-77de-4c04-bead-a123b08c9f59})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountEventArgs;{3853c880-77de-4c04-bead-a123b08c9f59})"); } impl ::core::clone::Clone for MobileBroadbandAccountEventArgs { fn clone(&self) -> Self { @@ -4820,7 +4820,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandAccountEventArgs { impl ::windows::core::RuntimeName for MobileBroadbandAccountEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandAccountEventArgs"; } -::windows::core::interface_hierarchy!(MobileBroadbandAccountEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandAccountEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct MobileBroadbandAccountUpdatedEventArgs(::windows::core::IUnknown); @@ -4859,7 +4859,7 @@ impl ::core::fmt::Debug for MobileBroadbandAccountUpdatedEventArgs { } } impl ::windows::core::RuntimeType for MobileBroadbandAccountUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountUpdatedEventArgs;{7bc31d88-a6bd-49e1-80ab-6b91354a57d4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountUpdatedEventArgs;{7bc31d88-a6bd-49e1-80ab-6b91354a57d4})"); } impl ::core::clone::Clone for MobileBroadbandAccountUpdatedEventArgs { fn clone(&self) -> Self { @@ -4875,7 +4875,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandAccountUpdatedEventArg impl ::windows::core::RuntimeName for MobileBroadbandAccountUpdatedEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandAccountUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(MobileBroadbandAccountUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandAccountUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct MobileBroadbandAccountWatcher(::windows::core::IUnknown); @@ -4883,8 +4883,8 @@ impl MobileBroadbandAccountWatcher { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4990,7 +4990,7 @@ impl ::core::fmt::Debug for MobileBroadbandAccountWatcher { } } impl ::windows::core::RuntimeType for MobileBroadbandAccountWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcher;{6bf3335e-23b5-449f-928d-5e0d3e04471d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcher;{6bf3335e-23b5-449f-928d-5e0d3e04471d})"); } impl ::core::clone::Clone for MobileBroadbandAccountWatcher { fn clone(&self) -> Self { @@ -5006,7 +5006,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandAccountWatcher { impl ::windows::core::RuntimeName for MobileBroadbandAccountWatcher { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcher"; } -::windows::core::interface_hierarchy!(MobileBroadbandAccountWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandAccountWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct MobileBroadbandAntennaSar(::windows::core::IUnknown); @@ -5033,7 +5033,7 @@ impl MobileBroadbandAntennaSar { } #[doc(hidden)] pub fn IMobileBroadbandAntennaSarFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5049,7 +5049,7 @@ impl ::core::fmt::Debug for MobileBroadbandAntennaSar { } } impl ::windows::core::RuntimeType for MobileBroadbandAntennaSar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAntennaSar;{b9af4b7e-cbf9-4109-90be-5c06bfd513b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAntennaSar;{b9af4b7e-cbf9-4109-90be-5c06bfd513b6})"); } impl ::core::clone::Clone for MobileBroadbandAntennaSar { fn clone(&self) -> Self { @@ -5065,7 +5065,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandAntennaSar { impl ::windows::core::RuntimeName for MobileBroadbandAntennaSar { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandAntennaSar"; } -::windows::core::interface_hierarchy!(MobileBroadbandAntennaSar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandAntennaSar, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandAntennaSar {} unsafe impl ::core::marker::Sync for MobileBroadbandAntennaSar {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -5157,7 +5157,7 @@ impl ::core::fmt::Debug for MobileBroadbandCellCdma { } } impl ::windows::core::RuntimeType for MobileBroadbandCellCdma { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellCdma;{0601b3b4-411a-4f2e-8287-76f5650c60cd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellCdma;{0601b3b4-411a-4f2e-8287-76f5650c60cd})"); } impl ::core::clone::Clone for MobileBroadbandCellCdma { fn clone(&self) -> Self { @@ -5173,7 +5173,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandCellCdma { impl ::windows::core::RuntimeName for MobileBroadbandCellCdma { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandCellCdma"; } -::windows::core::interface_hierarchy!(MobileBroadbandCellCdma, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandCellCdma, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandCellCdma {} unsafe impl ::core::marker::Sync for MobileBroadbandCellCdma {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -5254,7 +5254,7 @@ impl ::core::fmt::Debug for MobileBroadbandCellGsm { } } impl ::windows::core::RuntimeType for MobileBroadbandCellGsm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellGsm;{cc917f06-7ee0-47b8-9e1f-c3b48df9df5b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellGsm;{cc917f06-7ee0-47b8-9e1f-c3b48df9df5b})"); } impl ::core::clone::Clone for MobileBroadbandCellGsm { fn clone(&self) -> Self { @@ -5270,7 +5270,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandCellGsm { impl ::windows::core::RuntimeName for MobileBroadbandCellGsm { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandCellGsm"; } -::windows::core::interface_hierarchy!(MobileBroadbandCellGsm, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandCellGsm, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandCellGsm {} unsafe impl ::core::marker::Sync for MobileBroadbandCellGsm {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -5360,7 +5360,7 @@ impl ::core::fmt::Debug for MobileBroadbandCellLte { } } impl ::windows::core::RuntimeType for MobileBroadbandCellLte { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellLte;{9197c87b-2b78-456d-8b53-aaa25d0af741})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellLte;{9197c87b-2b78-456d-8b53-aaa25d0af741})"); } impl ::core::clone::Clone for MobileBroadbandCellLte { fn clone(&self) -> Self { @@ -5376,7 +5376,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandCellLte { impl ::windows::core::RuntimeName for MobileBroadbandCellLte { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandCellLte"; } -::windows::core::interface_hierarchy!(MobileBroadbandCellLte, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandCellLte, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandCellLte {} unsafe impl ::core::marker::Sync for MobileBroadbandCellLte {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -5475,7 +5475,7 @@ impl ::core::fmt::Debug for MobileBroadbandCellNR { } } impl ::windows::core::RuntimeType for MobileBroadbandCellNR { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellNR;{a13f0deb-66fc-4b4b-83a9-a487a3a5a0a6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellNR;{a13f0deb-66fc-4b4b-83a9-a487a3a5a0a6})"); } impl ::core::clone::Clone for MobileBroadbandCellNR { fn clone(&self) -> Self { @@ -5491,7 +5491,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandCellNR { impl ::windows::core::RuntimeName for MobileBroadbandCellNR { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandCellNR"; } -::windows::core::interface_hierarchy!(MobileBroadbandCellNR, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandCellNR, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandCellNR {} unsafe impl ::core::marker::Sync for MobileBroadbandCellNR {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -5581,7 +5581,7 @@ impl ::core::fmt::Debug for MobileBroadbandCellTdscdma { } } impl ::windows::core::RuntimeType for MobileBroadbandCellTdscdma { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellTdscdma;{0eda1655-db0e-4182-8cda-cc419a7bde08})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellTdscdma;{0eda1655-db0e-4182-8cda-cc419a7bde08})"); } impl ::core::clone::Clone for MobileBroadbandCellTdscdma { fn clone(&self) -> Self { @@ -5597,7 +5597,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandCellTdscdma { impl ::windows::core::RuntimeName for MobileBroadbandCellTdscdma { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandCellTdscdma"; } -::windows::core::interface_hierarchy!(MobileBroadbandCellTdscdma, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandCellTdscdma, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandCellTdscdma {} unsafe impl ::core::marker::Sync for MobileBroadbandCellTdscdma {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -5687,7 +5687,7 @@ impl ::core::fmt::Debug for MobileBroadbandCellUmts { } } impl ::windows::core::RuntimeType for MobileBroadbandCellUmts { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellUmts;{77b4b5ae-49c8-4f15-b285-4c26a7f67215})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellUmts;{77b4b5ae-49c8-4f15-b285-4c26a7f67215})"); } impl ::core::clone::Clone for MobileBroadbandCellUmts { fn clone(&self) -> Self { @@ -5703,7 +5703,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandCellUmts { impl ::windows::core::RuntimeName for MobileBroadbandCellUmts { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandCellUmts"; } -::windows::core::interface_hierarchy!(MobileBroadbandCellUmts, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandCellUmts, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandCellUmts {} unsafe impl ::core::marker::Sync for MobileBroadbandCellUmts {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -5831,7 +5831,7 @@ impl ::core::fmt::Debug for MobileBroadbandCellsInfo { } } impl ::windows::core::RuntimeType for MobileBroadbandCellsInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellsInfo;{89a9562a-e472-4da5-929c-de61711dd261})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellsInfo;{89a9562a-e472-4da5-929c-de61711dd261})"); } impl ::core::clone::Clone for MobileBroadbandCellsInfo { fn clone(&self) -> Self { @@ -5847,7 +5847,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandCellsInfo { impl ::windows::core::RuntimeName for MobileBroadbandCellsInfo { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandCellsInfo"; } -::windows::core::interface_hierarchy!(MobileBroadbandCellsInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandCellsInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandCellsInfo {} unsafe impl ::core::marker::Sync for MobileBroadbandCellsInfo {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -5874,7 +5874,7 @@ impl ::core::fmt::Debug for MobileBroadbandCurrentSlotIndexChangedEventArgs { } } impl ::windows::core::RuntimeType for MobileBroadbandCurrentSlotIndexChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCurrentSlotIndexChangedEventArgs;{f718b184-c370-5fd4-a670-1846cb9bce47})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCurrentSlotIndexChangedEventArgs;{f718b184-c370-5fd4-a670-1846cb9bce47})"); } impl ::core::clone::Clone for MobileBroadbandCurrentSlotIndexChangedEventArgs { fn clone(&self) -> Self { @@ -5890,7 +5890,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandCurrentSlotIndexChange impl ::windows::core::RuntimeName for MobileBroadbandCurrentSlotIndexChangedEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandCurrentSlotIndexChangedEventArgs"; } -::windows::core::interface_hierarchy!(MobileBroadbandCurrentSlotIndexChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandCurrentSlotIndexChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandCurrentSlotIndexChangedEventArgs {} unsafe impl ::core::marker::Sync for MobileBroadbandCurrentSlotIndexChangedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6061,7 +6061,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceInformation { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceInformation;{e6d08168-e381-4c6e-9be8-fe156969a446})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceInformation;{e6d08168-e381-4c6e-9be8-fe156969a446})"); } impl ::core::clone::Clone for MobileBroadbandDeviceInformation { fn clone(&self) -> Self { @@ -6077,7 +6077,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceInformation { impl ::windows::core::RuntimeName for MobileBroadbandDeviceInformation { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandDeviceInformation"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct MobileBroadbandDeviceService(::windows::core::IUnknown); @@ -6125,7 +6125,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceService { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceService { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceService;{22be1a52-bd80-40ac-8e1f-2e07836a3dbd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceService;{22be1a52-bd80-40ac-8e1f-2e07836a3dbd})"); } impl ::core::clone::Clone for MobileBroadbandDeviceService { fn clone(&self) -> Self { @@ -6141,7 +6141,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceService { impl ::windows::core::RuntimeName for MobileBroadbandDeviceService { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandDeviceService"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceService, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceService, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandDeviceService {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceService {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6177,7 +6177,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceServiceCommandResult { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceServiceCommandResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandResult;{b0f46abb-94d6-44b9-a538-f0810b645389})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandResult;{b0f46abb-94d6-44b9-a538-f0810b645389})"); } impl ::core::clone::Clone for MobileBroadbandDeviceServiceCommandResult { fn clone(&self) -> Self { @@ -6193,7 +6193,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceServiceCommandRe impl ::windows::core::RuntimeName for MobileBroadbandDeviceServiceCommandResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandResult"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceServiceCommandResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceServiceCommandResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceCommandResult {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceCommandResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6243,7 +6243,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceServiceCommandSession { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceServiceCommandSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandSession;{fc098a45-913b-4914-b6c3-ae6304593e75})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandSession;{fc098a45-913b-4914-b6c3-ae6304593e75})"); } impl ::core::clone::Clone for MobileBroadbandDeviceServiceCommandSession { fn clone(&self) -> Self { @@ -6259,7 +6259,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceServiceCommandSe impl ::windows::core::RuntimeName for MobileBroadbandDeviceServiceCommandSession { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandSession"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceServiceCommandSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceServiceCommandSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceCommandSession {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceCommandSession {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6288,7 +6288,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceServiceDataReceivedEventArgs { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceServiceDataReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataReceivedEventArgs;{b6aa13de-1380-40e3-8618-73cbca48138c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataReceivedEventArgs;{b6aa13de-1380-40e3-8618-73cbca48138c})"); } impl ::core::clone::Clone for MobileBroadbandDeviceServiceDataReceivedEventArgs { fn clone(&self) -> Self { @@ -6304,7 +6304,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceServiceDataRecei impl ::windows::core::RuntimeName for MobileBroadbandDeviceServiceDataReceivedEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceServiceDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceServiceDataReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceDataReceivedEventArgs {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceDataReceivedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6356,7 +6356,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceServiceDataSession { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceServiceDataSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataSession;{dad62333-8bcf-4289-8a37-045c2169486a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataSession;{dad62333-8bcf-4289-8a37-045c2169486a})"); } impl ::core::clone::Clone for MobileBroadbandDeviceServiceDataSession { fn clone(&self) -> Self { @@ -6372,7 +6372,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceServiceDataSessi impl ::windows::core::RuntimeName for MobileBroadbandDeviceServiceDataSession { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataSession"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceServiceDataSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceServiceDataSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceDataSession {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceDataSession {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6413,7 +6413,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceServiceInformation { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceServiceInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceInformation;{53d69b5b-c4ed-45f0-803a-d9417a6d9846})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceInformation;{53d69b5b-c4ed-45f0-803a-d9417a6d9846})"); } impl ::core::clone::Clone for MobileBroadbandDeviceServiceInformation { fn clone(&self) -> Self { @@ -6429,7 +6429,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceServiceInformati impl ::windows::core::RuntimeName for MobileBroadbandDeviceServiceInformation { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceInformation"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceServiceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceServiceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceInformation {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceInformation {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6479,7 +6479,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceServiceTriggerDetails { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceServiceTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceTriggerDetails;{4a055b70-b9ae-4458-9241-a6a5fbf18a0c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceTriggerDetails;{4a055b70-b9ae-4458-9241-a6a5fbf18a0c})"); } impl ::core::clone::Clone for MobileBroadbandDeviceServiceTriggerDetails { fn clone(&self) -> Self { @@ -6495,7 +6495,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandDeviceServiceTriggerDe impl ::windows::core::RuntimeName for MobileBroadbandDeviceServiceTriggerDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceTriggerDetails"; } -::windows::core::interface_hierarchy!(MobileBroadbandDeviceServiceTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandDeviceServiceTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceTriggerDetails {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6679,7 +6679,7 @@ impl MobileBroadbandModem { } #[doc(hidden)] pub fn IMobileBroadbandModemStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6695,7 +6695,7 @@ impl ::core::fmt::Debug for MobileBroadbandModem { } } impl ::windows::core::RuntimeType for MobileBroadbandModem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModem;{d0356912-e9f9-4f67-a03d-43189a316bf1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModem;{d0356912-e9f9-4f67-a03d-43189a316bf1})"); } impl ::core::clone::Clone for MobileBroadbandModem { fn clone(&self) -> Self { @@ -6711,7 +6711,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandModem { impl ::windows::core::RuntimeName for MobileBroadbandModem { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandModem"; } -::windows::core::interface_hierarchy!(MobileBroadbandModem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandModem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandModem {} unsafe impl ::core::marker::Sync for MobileBroadbandModem {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6759,7 +6759,7 @@ impl ::core::fmt::Debug for MobileBroadbandModemConfiguration { } } impl ::windows::core::RuntimeType for MobileBroadbandModemConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModemConfiguration;{fce035a3-d6cd-4320-b982-be9d3ec7890f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModemConfiguration;{fce035a3-d6cd-4320-b982-be9d3ec7890f})"); } impl ::core::clone::Clone for MobileBroadbandModemConfiguration { fn clone(&self) -> Self { @@ -6775,7 +6775,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandModemConfiguration { impl ::windows::core::RuntimeName for MobileBroadbandModemConfiguration { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandModemConfiguration"; } -::windows::core::interface_hierarchy!(MobileBroadbandModemConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandModemConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct MobileBroadbandModemIsolation(::windows::core::IUnknown); @@ -6814,7 +6814,7 @@ impl MobileBroadbandModemIsolation { } #[doc(hidden)] pub fn IMobileBroadbandModemIsolationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6830,7 +6830,7 @@ impl ::core::fmt::Debug for MobileBroadbandModemIsolation { } } impl ::windows::core::RuntimeType for MobileBroadbandModemIsolation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModemIsolation;{b5618fec-e661-4330-9bb4-3480212ec354})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModemIsolation;{b5618fec-e661-4330-9bb4-3480212ec354})"); } impl ::core::clone::Clone for MobileBroadbandModemIsolation { fn clone(&self) -> Self { @@ -6846,7 +6846,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandModemIsolation { impl ::windows::core::RuntimeName for MobileBroadbandModemIsolation { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandModemIsolation"; } -::windows::core::interface_hierarchy!(MobileBroadbandModemIsolation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandModemIsolation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandModemIsolation {} unsafe impl ::core::marker::Sync for MobileBroadbandModemIsolation {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -6962,7 +6962,7 @@ impl ::core::fmt::Debug for MobileBroadbandNetwork { } } impl ::windows::core::RuntimeType for MobileBroadbandNetwork { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetwork;{cb63928c-0309-4cb6-a8c1-6a5a3c8e1ff6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetwork;{cb63928c-0309-4cb6-a8c1-6a5a3c8e1ff6})"); } impl ::core::clone::Clone for MobileBroadbandNetwork { fn clone(&self) -> Self { @@ -6978,7 +6978,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandNetwork { impl ::windows::core::RuntimeName for MobileBroadbandNetwork { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandNetwork"; } -::windows::core::interface_hierarchy!(MobileBroadbandNetwork, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandNetwork, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct MobileBroadbandNetworkRegistrationStateChange(::windows::core::IUnknown); @@ -7010,7 +7010,7 @@ impl ::core::fmt::Debug for MobileBroadbandNetworkRegistrationStateChange { } } impl ::windows::core::RuntimeType for MobileBroadbandNetworkRegistrationStateChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChange;{beaf94e1-960f-49b4-a08d-7d85e968c7ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChange;{beaf94e1-960f-49b4-a08d-7d85e968c7ec})"); } impl ::core::clone::Clone for MobileBroadbandNetworkRegistrationStateChange { fn clone(&self) -> Self { @@ -7026,7 +7026,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandNetworkRegistrationSta impl ::windows::core::RuntimeName for MobileBroadbandNetworkRegistrationStateChange { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChange"; } -::windows::core::interface_hierarchy!(MobileBroadbandNetworkRegistrationStateChange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandNetworkRegistrationStateChange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandNetworkRegistrationStateChange {} unsafe impl ::core::marker::Sync for MobileBroadbandNetworkRegistrationStateChange {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7055,7 +7055,7 @@ impl ::core::fmt::Debug for MobileBroadbandNetworkRegistrationStateChangeTrigger } } impl ::windows::core::RuntimeType for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChangeTriggerDetails;{89135cff-28b8-46aa-b137-1c4b0f21edfe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChangeTriggerDetails;{89135cff-28b8-46aa-b137-1c4b0f21edfe})"); } impl ::core::clone::Clone for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { fn clone(&self) -> Self { @@ -7071,7 +7071,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandNetworkRegistrationSta impl ::windows::core::RuntimeName for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChangeTriggerDetails"; } -::windows::core::interface_hierarchy!(MobileBroadbandNetworkRegistrationStateChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandNetworkRegistrationStateChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails {} unsafe impl ::core::marker::Sync for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7114,7 +7114,7 @@ impl ::core::fmt::Debug for MobileBroadbandPco { } } impl ::windows::core::RuntimeType for MobileBroadbandPco { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPco;{d4e4fcbe-e3a3-43c5-a87b-6c86d229d7fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPco;{d4e4fcbe-e3a3-43c5-a87b-6c86d229d7fa})"); } impl ::core::clone::Clone for MobileBroadbandPco { fn clone(&self) -> Self { @@ -7130,7 +7130,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPco { impl ::windows::core::RuntimeName for MobileBroadbandPco { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandPco"; } -::windows::core::interface_hierarchy!(MobileBroadbandPco, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPco, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandPco {} unsafe impl ::core::marker::Sync for MobileBroadbandPco {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7157,7 +7157,7 @@ impl ::core::fmt::Debug for MobileBroadbandPcoDataChangeTriggerDetails { } } impl ::windows::core::RuntimeType for MobileBroadbandPcoDataChangeTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPcoDataChangeTriggerDetails;{263f5114-64e0-4493-909b-2d14a01962b1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPcoDataChangeTriggerDetails;{263f5114-64e0-4493-909b-2d14a01962b1})"); } impl ::core::clone::Clone for MobileBroadbandPcoDataChangeTriggerDetails { fn clone(&self) -> Self { @@ -7173,7 +7173,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPcoDataChangeTriggerDe impl ::windows::core::RuntimeName for MobileBroadbandPcoDataChangeTriggerDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandPcoDataChangeTriggerDetails"; } -::windows::core::interface_hierarchy!(MobileBroadbandPcoDataChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPcoDataChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandPcoDataChangeTriggerDetails {} unsafe impl ::core::marker::Sync for MobileBroadbandPcoDataChangeTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7287,7 +7287,7 @@ impl ::core::fmt::Debug for MobileBroadbandPin { } } impl ::windows::core::RuntimeType for MobileBroadbandPin { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPin;{e661d709-e779-45bf-8281-75323df9e321})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPin;{e661d709-e779-45bf-8281-75323df9e321})"); } impl ::core::clone::Clone for MobileBroadbandPin { fn clone(&self) -> Self { @@ -7303,7 +7303,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPin { impl ::windows::core::RuntimeName for MobileBroadbandPin { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandPin"; } -::windows::core::interface_hierarchy!(MobileBroadbandPin, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPin, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandPin {} unsafe impl ::core::marker::Sync for MobileBroadbandPin {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7344,7 +7344,7 @@ impl ::core::fmt::Debug for MobileBroadbandPinLockStateChange { } } impl ::windows::core::RuntimeType for MobileBroadbandPinLockStateChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChange;{be16673e-1f04-4f95-8b90-e7f559dde7e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChange;{be16673e-1f04-4f95-8b90-e7f559dde7e5})"); } impl ::core::clone::Clone for MobileBroadbandPinLockStateChange { fn clone(&self) -> Self { @@ -7360,7 +7360,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPinLockStateChange { impl ::windows::core::RuntimeName for MobileBroadbandPinLockStateChange { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChange"; } -::windows::core::interface_hierarchy!(MobileBroadbandPinLockStateChange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPinLockStateChange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandPinLockStateChange {} unsafe impl ::core::marker::Sync for MobileBroadbandPinLockStateChange {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7389,7 +7389,7 @@ impl ::core::fmt::Debug for MobileBroadbandPinLockStateChangeTriggerDetails { } } impl ::windows::core::RuntimeType for MobileBroadbandPinLockStateChangeTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChangeTriggerDetails;{d338c091-3e91-4d38-9036-aee83a6e79ad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChangeTriggerDetails;{d338c091-3e91-4d38-9036-aee83a6e79ad})"); } impl ::core::clone::Clone for MobileBroadbandPinLockStateChangeTriggerDetails { fn clone(&self) -> Self { @@ -7405,7 +7405,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPinLockStateChangeTrig impl ::windows::core::RuntimeName for MobileBroadbandPinLockStateChangeTriggerDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChangeTriggerDetails"; } -::windows::core::interface_hierarchy!(MobileBroadbandPinLockStateChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPinLockStateChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandPinLockStateChangeTriggerDetails {} unsafe impl ::core::marker::Sync for MobileBroadbandPinLockStateChangeTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7441,7 +7441,7 @@ impl ::core::fmt::Debug for MobileBroadbandPinManager { } } impl ::windows::core::RuntimeType for MobileBroadbandPinManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinManager;{83567edd-6e1f-4b9b-a413-2b1f50cc36df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinManager;{83567edd-6e1f-4b9b-a413-2b1f50cc36df})"); } impl ::core::clone::Clone for MobileBroadbandPinManager { fn clone(&self) -> Self { @@ -7457,7 +7457,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPinManager { impl ::windows::core::RuntimeName for MobileBroadbandPinManager { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandPinManager"; } -::windows::core::interface_hierarchy!(MobileBroadbandPinManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPinManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandPinManager {} unsafe impl ::core::marker::Sync for MobileBroadbandPinManager {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7491,7 +7491,7 @@ impl ::core::fmt::Debug for MobileBroadbandPinOperationResult { } } impl ::windows::core::RuntimeType for MobileBroadbandPinOperationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinOperationResult;{11dddc32-31e7-49f5-b663-123d3bef0362})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinOperationResult;{11dddc32-31e7-49f5-b663-123d3bef0362})"); } impl ::core::clone::Clone for MobileBroadbandPinOperationResult { fn clone(&self) -> Self { @@ -7507,7 +7507,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandPinOperationResult { impl ::windows::core::RuntimeName for MobileBroadbandPinOperationResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandPinOperationResult"; } -::windows::core::interface_hierarchy!(MobileBroadbandPinOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandPinOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandPinOperationResult {} unsafe impl ::core::marker::Sync for MobileBroadbandPinOperationResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7541,7 +7541,7 @@ impl ::core::fmt::Debug for MobileBroadbandRadioStateChange { } } impl ::windows::core::RuntimeType for MobileBroadbandRadioStateChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChange;{b054a561-9833-4aed-9717-4348b21a24b3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChange;{b054a561-9833-4aed-9717-4348b21a24b3})"); } impl ::core::clone::Clone for MobileBroadbandRadioStateChange { fn clone(&self) -> Self { @@ -7557,7 +7557,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandRadioStateChange { impl ::windows::core::RuntimeName for MobileBroadbandRadioStateChange { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChange"; } -::windows::core::interface_hierarchy!(MobileBroadbandRadioStateChange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandRadioStateChange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandRadioStateChange {} unsafe impl ::core::marker::Sync for MobileBroadbandRadioStateChange {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7586,7 +7586,7 @@ impl ::core::fmt::Debug for MobileBroadbandRadioStateChangeTriggerDetails { } } impl ::windows::core::RuntimeType for MobileBroadbandRadioStateChangeTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChangeTriggerDetails;{71301ace-093c-42c6-b0db-ad1f75a65445})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChangeTriggerDetails;{71301ace-093c-42c6-b0db-ad1f75a65445})"); } impl ::core::clone::Clone for MobileBroadbandRadioStateChangeTriggerDetails { fn clone(&self) -> Self { @@ -7602,7 +7602,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandRadioStateChangeTrigge impl ::windows::core::RuntimeName for MobileBroadbandRadioStateChangeTriggerDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChangeTriggerDetails"; } -::windows::core::interface_hierarchy!(MobileBroadbandRadioStateChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandRadioStateChangeTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandRadioStateChangeTriggerDetails {} unsafe impl ::core::marker::Sync for MobileBroadbandRadioStateChangeTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7742,7 +7742,7 @@ impl ::core::fmt::Debug for MobileBroadbandSarManager { } } impl ::windows::core::RuntimeType for MobileBroadbandSarManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSarManager;{e5b26833-967e-40c9-a485-19c0dd209e22})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSarManager;{e5b26833-967e-40c9-a485-19c0dd209e22})"); } impl ::core::clone::Clone for MobileBroadbandSarManager { fn clone(&self) -> Self { @@ -7758,7 +7758,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandSarManager { impl ::windows::core::RuntimeName for MobileBroadbandSarManager { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandSarManager"; } -::windows::core::interface_hierarchy!(MobileBroadbandSarManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandSarManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandSarManager {} unsafe impl ::core::marker::Sync for MobileBroadbandSarManager {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7799,7 +7799,7 @@ impl ::core::fmt::Debug for MobileBroadbandSlotInfo { } } impl ::windows::core::RuntimeType for MobileBroadbandSlotInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotInfo;{bd350b32-882e-542a-b17d-0bb1b49bae9e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotInfo;{bd350b32-882e-542a-b17d-0bb1b49bae9e})"); } impl ::core::clone::Clone for MobileBroadbandSlotInfo { fn clone(&self) -> Self { @@ -7815,7 +7815,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandSlotInfo { impl ::windows::core::RuntimeName for MobileBroadbandSlotInfo { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandSlotInfo"; } -::windows::core::interface_hierarchy!(MobileBroadbandSlotInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandSlotInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandSlotInfo {} unsafe impl ::core::marker::Sync for MobileBroadbandSlotInfo {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7842,7 +7842,7 @@ impl ::core::fmt::Debug for MobileBroadbandSlotInfoChangedEventArgs { } } impl ::windows::core::RuntimeType for MobileBroadbandSlotInfoChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotInfoChangedEventArgs;{3158839f-950c-54ce-a48d-ba4529b48f0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotInfoChangedEventArgs;{3158839f-950c-54ce-a48d-ba4529b48f0f})"); } impl ::core::clone::Clone for MobileBroadbandSlotInfoChangedEventArgs { fn clone(&self) -> Self { @@ -7858,7 +7858,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandSlotInfoChangedEventAr impl ::windows::core::RuntimeName for MobileBroadbandSlotInfoChangedEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandSlotInfoChangedEventArgs"; } -::windows::core::interface_hierarchy!(MobileBroadbandSlotInfoChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandSlotInfoChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandSlotInfoChangedEventArgs {} unsafe impl ::core::marker::Sync for MobileBroadbandSlotInfoChangedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7940,7 +7940,7 @@ impl ::core::fmt::Debug for MobileBroadbandSlotManager { } } impl ::windows::core::RuntimeType for MobileBroadbandSlotManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotManager;{eba07cd6-2019-5f81-a294-cc364a11d0b2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotManager;{eba07cd6-2019-5f81-a294-cc364a11d0b2})"); } impl ::core::clone::Clone for MobileBroadbandSlotManager { fn clone(&self) -> Self { @@ -7956,7 +7956,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandSlotManager { impl ::windows::core::RuntimeName for MobileBroadbandSlotManager { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandSlotManager"; } -::windows::core::interface_hierarchy!(MobileBroadbandSlotManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandSlotManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandSlotManager {} unsafe impl ::core::marker::Sync for MobileBroadbandSlotManager {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -7983,7 +7983,7 @@ impl ::core::fmt::Debug for MobileBroadbandTransmissionStateChangedEventArgs { } } impl ::windows::core::RuntimeType for MobileBroadbandTransmissionStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandTransmissionStateChangedEventArgs;{612e3875-040a-4f99-a4f9-61d7c32da129})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandTransmissionStateChangedEventArgs;{612e3875-040a-4f99-a4f9-61d7c32da129})"); } impl ::core::clone::Clone for MobileBroadbandTransmissionStateChangedEventArgs { fn clone(&self) -> Self { @@ -7999,7 +7999,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandTransmissionStateChang impl ::windows::core::RuntimeName for MobileBroadbandTransmissionStateChangedEventArgs { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandTransmissionStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(MobileBroadbandTransmissionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandTransmissionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandTransmissionStateChangedEventArgs {} unsafe impl ::core::marker::Sync for MobileBroadbandTransmissionStateChangedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8035,7 +8035,7 @@ impl ::core::fmt::Debug for MobileBroadbandUicc { } } impl ::windows::core::RuntimeType for MobileBroadbandUicc { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUicc;{e634f691-525a-4ce2-8fce-aa4162579154})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUicc;{e634f691-525a-4ce2-8fce-aa4162579154})"); } impl ::core::clone::Clone for MobileBroadbandUicc { fn clone(&self) -> Self { @@ -8051,7 +8051,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandUicc { impl ::windows::core::RuntimeName for MobileBroadbandUicc { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandUicc"; } -::windows::core::interface_hierarchy!(MobileBroadbandUicc, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandUicc, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandUicc {} unsafe impl ::core::marker::Sync for MobileBroadbandUicc {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8113,7 +8113,7 @@ impl ::core::fmt::Debug for MobileBroadbandUiccApp { } } impl ::windows::core::RuntimeType for MobileBroadbandUiccApp { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccApp;{4d170556-98a1-43dd-b2ec-50c90cf248df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccApp;{4d170556-98a1-43dd-b2ec-50c90cf248df})"); } impl ::core::clone::Clone for MobileBroadbandUiccApp { fn clone(&self) -> Self { @@ -8129,7 +8129,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandUiccApp { impl ::windows::core::RuntimeName for MobileBroadbandUiccApp { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandUiccApp"; } -::windows::core::interface_hierarchy!(MobileBroadbandUiccApp, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandUiccApp, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandUiccApp {} unsafe impl ::core::marker::Sync for MobileBroadbandUiccApp {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8165,7 +8165,7 @@ impl ::core::fmt::Debug for MobileBroadbandUiccAppReadRecordResult { } } impl ::windows::core::RuntimeType for MobileBroadbandUiccAppReadRecordResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppReadRecordResult;{64c95285-358e-47c5-8249-695f383b2bdb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppReadRecordResult;{64c95285-358e-47c5-8249-695f383b2bdb})"); } impl ::core::clone::Clone for MobileBroadbandUiccAppReadRecordResult { fn clone(&self) -> Self { @@ -8181,7 +8181,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandUiccAppReadRecordResul impl ::windows::core::RuntimeName for MobileBroadbandUiccAppReadRecordResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandUiccAppReadRecordResult"; } -::windows::core::interface_hierarchy!(MobileBroadbandUiccAppReadRecordResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandUiccAppReadRecordResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandUiccAppReadRecordResult {} unsafe impl ::core::marker::Sync for MobileBroadbandUiccAppReadRecordResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8243,7 +8243,7 @@ impl ::core::fmt::Debug for MobileBroadbandUiccAppRecordDetailsResult { } } impl ::windows::core::RuntimeType for MobileBroadbandUiccAppRecordDetailsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppRecordDetailsResult;{d919682f-be14-4934-981d-2f57b9ed83e6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppRecordDetailsResult;{d919682f-be14-4934-981d-2f57b9ed83e6})"); } impl ::core::clone::Clone for MobileBroadbandUiccAppRecordDetailsResult { fn clone(&self) -> Self { @@ -8259,7 +8259,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandUiccAppRecordDetailsRe impl ::windows::core::RuntimeName for MobileBroadbandUiccAppRecordDetailsResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandUiccAppRecordDetailsResult"; } -::windows::core::interface_hierarchy!(MobileBroadbandUiccAppRecordDetailsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandUiccAppRecordDetailsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandUiccAppRecordDetailsResult {} unsafe impl ::core::marker::Sync for MobileBroadbandUiccAppRecordDetailsResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8295,7 +8295,7 @@ impl ::core::fmt::Debug for MobileBroadbandUiccAppsResult { } } impl ::windows::core::RuntimeType for MobileBroadbandUiccAppsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppsResult;{744930eb-8157-4a41-8494-6bf54c9b1d2b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppsResult;{744930eb-8157-4a41-8494-6bf54c9b1d2b})"); } impl ::core::clone::Clone for MobileBroadbandUiccAppsResult { fn clone(&self) -> Self { @@ -8311,7 +8311,7 @@ unsafe impl ::windows::core::Interface for MobileBroadbandUiccAppsResult { impl ::windows::core::RuntimeName for MobileBroadbandUiccAppsResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.MobileBroadbandUiccAppsResult"; } -::windows::core::interface_hierarchy!(MobileBroadbandUiccAppsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MobileBroadbandUiccAppsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MobileBroadbandUiccAppsResult {} unsafe impl ::core::marker::Sync for MobileBroadbandUiccAppsResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8338,7 +8338,7 @@ impl ::core::fmt::Debug for NetworkOperatorDataUsageTriggerDetails { } } impl ::windows::core::RuntimeType for NetworkOperatorDataUsageTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorDataUsageTriggerDetails;{50e3126d-a465-4eeb-9317-28a167630cea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorDataUsageTriggerDetails;{50e3126d-a465-4eeb-9317-28a167630cea})"); } impl ::core::clone::Clone for NetworkOperatorDataUsageTriggerDetails { fn clone(&self) -> Self { @@ -8354,7 +8354,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorDataUsageTriggerDetail impl ::windows::core::RuntimeName for NetworkOperatorDataUsageTriggerDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.NetworkOperatorDataUsageTriggerDetails"; } -::windows::core::interface_hierarchy!(NetworkOperatorDataUsageTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorDataUsageTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkOperatorDataUsageTriggerDetails {} unsafe impl ::core::marker::Sync for NetworkOperatorDataUsageTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8422,7 +8422,7 @@ impl ::core::fmt::Debug for NetworkOperatorNotificationEventDetails { } } impl ::windows::core::RuntimeType for NetworkOperatorNotificationEventDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorNotificationEventDetails;{bc68a9d1-82e1-4488-9f2c-1276c2468fac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorNotificationEventDetails;{bc68a9d1-82e1-4488-9f2c-1276c2468fac})"); } impl ::core::clone::Clone for NetworkOperatorNotificationEventDetails { fn clone(&self) -> Self { @@ -8438,7 +8438,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorNotificationEventDetai impl ::windows::core::RuntimeName for NetworkOperatorNotificationEventDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.NetworkOperatorNotificationEventDetails"; } -::windows::core::interface_hierarchy!(NetworkOperatorNotificationEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorNotificationEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkOperatorNotificationEventDetails {} unsafe impl ::core::marker::Sync for NetworkOperatorNotificationEventDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8448,8 +8448,8 @@ impl NetworkOperatorTetheringAccessPointConfiguration { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Ssid(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -8514,7 +8514,7 @@ impl ::core::fmt::Debug for NetworkOperatorTetheringAccessPointConfiguration { } } impl ::windows::core::RuntimeType for NetworkOperatorTetheringAccessPointConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringAccessPointConfiguration;{0bcc0284-412e-403d-acc6-b757e34774a4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringAccessPointConfiguration;{0bcc0284-412e-403d-acc6-b757e34774a4})"); } impl ::core::clone::Clone for NetworkOperatorTetheringAccessPointConfiguration { fn clone(&self) -> Self { @@ -8530,7 +8530,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorTetheringAccessPointCo impl ::windows::core::RuntimeName for NetworkOperatorTetheringAccessPointConfiguration { const NAME: &'static str = "Windows.Networking.NetworkOperators.NetworkOperatorTetheringAccessPointConfiguration"; } -::windows::core::interface_hierarchy!(NetworkOperatorTetheringAccessPointConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorTetheringAccessPointConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkOperatorTetheringAccessPointConfiguration {} unsafe impl ::core::marker::Sync for NetworkOperatorTetheringAccessPointConfiguration {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8566,7 +8566,7 @@ impl ::core::fmt::Debug for NetworkOperatorTetheringClient { } } impl ::windows::core::RuntimeType for NetworkOperatorTetheringClient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringClient;{709d254c-595f-4847-bb30-646935542918})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringClient;{709d254c-595f-4847-bb30-646935542918})"); } impl ::core::clone::Clone for NetworkOperatorTetheringClient { fn clone(&self) -> Self { @@ -8582,7 +8582,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorTetheringClient { impl ::windows::core::RuntimeName for NetworkOperatorTetheringClient { const NAME: &'static str = "Windows.Networking.NetworkOperators.NetworkOperatorTetheringClient"; } -::windows::core::interface_hierarchy!(NetworkOperatorTetheringClient, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorTetheringClient, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NetworkOperatorTetheringClient {} unsafe impl ::core::marker::Sync for NetworkOperatorTetheringClient {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -8719,22 +8719,22 @@ impl NetworkOperatorTetheringManager { } #[doc(hidden)] pub fn INetworkOperatorTetheringManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn INetworkOperatorTetheringManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn INetworkOperatorTetheringManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn INetworkOperatorTetheringManagerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -8750,7 +8750,7 @@ impl ::core::fmt::Debug for NetworkOperatorTetheringManager { } } impl ::windows::core::RuntimeType for NetworkOperatorTetheringManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager;{d45a8da0-0e86-4d98-8ba4-dd70d4b764d3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager;{d45a8da0-0e86-4d98-8ba4-dd70d4b764d3})"); } impl ::core::clone::Clone for NetworkOperatorTetheringManager { fn clone(&self) -> Self { @@ -8766,7 +8766,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorTetheringManager { impl ::windows::core::RuntimeName for NetworkOperatorTetheringManager { const NAME: &'static str = "Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager"; } -::windows::core::interface_hierarchy!(NetworkOperatorTetheringManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorTetheringManager, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct NetworkOperatorTetheringOperationResult(::windows::core::IUnknown); @@ -8798,7 +8798,7 @@ impl ::core::fmt::Debug for NetworkOperatorTetheringOperationResult { } } impl ::windows::core::RuntimeType for NetworkOperatorTetheringOperationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult;{ebd203a1-01ba-476d-b4b3-bf3d12c8f80c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult;{ebd203a1-01ba-476d-b4b3-bf3d12c8f80c})"); } impl ::core::clone::Clone for NetworkOperatorTetheringOperationResult { fn clone(&self) -> Self { @@ -8814,7 +8814,7 @@ unsafe impl ::windows::core::Interface for NetworkOperatorTetheringOperationResu impl ::windows::core::RuntimeName for NetworkOperatorTetheringOperationResult { const NAME: &'static str = "Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult"; } -::windows::core::interface_hierarchy!(NetworkOperatorTetheringOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NetworkOperatorTetheringOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct ProvisionFromXmlDocumentResults(::windows::core::IUnknown); @@ -8846,7 +8846,7 @@ impl ::core::fmt::Debug for ProvisionFromXmlDocumentResults { } } impl ::windows::core::RuntimeType for ProvisionFromXmlDocumentResults { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisionFromXmlDocumentResults;{217700e0-8203-11df-adb9-f4ce462d9137})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisionFromXmlDocumentResults;{217700e0-8203-11df-adb9-f4ce462d9137})"); } impl ::core::clone::Clone for ProvisionFromXmlDocumentResults { fn clone(&self) -> Self { @@ -8862,7 +8862,7 @@ unsafe impl ::windows::core::Interface for ProvisionFromXmlDocumentResults { impl ::windows::core::RuntimeName for ProvisionFromXmlDocumentResults { const NAME: &'static str = "Windows.Networking.NetworkOperators.ProvisionFromXmlDocumentResults"; } -::windows::core::interface_hierarchy!(ProvisionFromXmlDocumentResults, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProvisionFromXmlDocumentResults, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct ProvisionedProfile(::windows::core::IUnknown); @@ -8892,7 +8892,7 @@ impl ::core::fmt::Debug for ProvisionedProfile { } } impl ::windows::core::RuntimeType for ProvisionedProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisionedProfile;{217700e0-8202-11df-adb9-f4ce462d9137})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisionedProfile;{217700e0-8202-11df-adb9-f4ce462d9137})"); } impl ::core::clone::Clone for ProvisionedProfile { fn clone(&self) -> Self { @@ -8908,7 +8908,7 @@ unsafe impl ::windows::core::Interface for ProvisionedProfile { impl ::windows::core::RuntimeName for ProvisionedProfile { const NAME: &'static str = "Windows.Networking.NetworkOperators.ProvisionedProfile"; } -::windows::core::interface_hierarchy!(ProvisionedProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProvisionedProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct ProvisioningAgent(::windows::core::IUnknown); @@ -8916,8 +8916,8 @@ impl ProvisioningAgent { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -8944,7 +8944,7 @@ impl ProvisioningAgent { } #[doc(hidden)] pub fn IProvisioningAgentStaticMethods ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -8960,7 +8960,7 @@ impl ::core::fmt::Debug for ProvisioningAgent { } } impl ::windows::core::RuntimeType for ProvisioningAgent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisioningAgent;{217700e0-8201-11df-adb9-f4ce462d9137})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisioningAgent;{217700e0-8201-11df-adb9-f4ce462d9137})"); } impl ::core::clone::Clone for ProvisioningAgent { fn clone(&self) -> Self { @@ -8976,7 +8976,7 @@ unsafe impl ::windows::core::Interface for ProvisioningAgent { impl ::windows::core::RuntimeName for ProvisioningAgent { const NAME: &'static str = "Windows.Networking.NetworkOperators.ProvisioningAgent"; } -::windows::core::interface_hierarchy!(ProvisioningAgent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProvisioningAgent, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct TetheringEntitlementCheckTriggerDetails(::windows::core::IUnknown); @@ -9009,7 +9009,7 @@ impl ::core::fmt::Debug for TetheringEntitlementCheckTriggerDetails { } } impl ::windows::core::RuntimeType for TetheringEntitlementCheckTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.TetheringEntitlementCheckTriggerDetails;{03c65e9d-5926-41f3-a94e-b50926fc421b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.TetheringEntitlementCheckTriggerDetails;{03c65e9d-5926-41f3-a94e-b50926fc421b})"); } impl ::core::clone::Clone for TetheringEntitlementCheckTriggerDetails { fn clone(&self) -> Self { @@ -9025,7 +9025,7 @@ unsafe impl ::windows::core::Interface for TetheringEntitlementCheckTriggerDetai impl ::windows::core::RuntimeName for TetheringEntitlementCheckTriggerDetails { const NAME: &'static str = "Windows.Networking.NetworkOperators.TetheringEntitlementCheckTriggerDetails"; } -::windows::core::interface_hierarchy!(TetheringEntitlementCheckTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TetheringEntitlementCheckTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TetheringEntitlementCheckTriggerDetails {} unsafe impl ::core::marker::Sync for TetheringEntitlementCheckTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -9073,7 +9073,7 @@ impl UssdMessage { } #[doc(hidden)] pub fn IUssdMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -9089,7 +9089,7 @@ impl ::core::fmt::Debug for UssdMessage { } } impl ::windows::core::RuntimeType for UssdMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdMessage;{2f9acf82-2004-4d5d-bf81-2aba1b4be4a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdMessage;{2f9acf82-2004-4d5d-bf81-2aba1b4be4a8})"); } impl ::core::clone::Clone for UssdMessage { fn clone(&self) -> Self { @@ -9105,7 +9105,7 @@ unsafe impl ::windows::core::Interface for UssdMessage { impl ::windows::core::RuntimeName for UssdMessage { const NAME: &'static str = "Windows.Networking.NetworkOperators.UssdMessage"; } -::windows::core::interface_hierarchy!(UssdMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UssdMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UssdMessage {} unsafe impl ::core::marker::Sync for UssdMessage {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -9139,7 +9139,7 @@ impl ::core::fmt::Debug for UssdReply { } } impl ::windows::core::RuntimeType for UssdReply { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdReply;{2f9acf82-2005-4d5d-bf81-2aba1b4be4a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdReply;{2f9acf82-2005-4d5d-bf81-2aba1b4be4a8})"); } impl ::core::clone::Clone for UssdReply { fn clone(&self) -> Self { @@ -9155,7 +9155,7 @@ unsafe impl ::windows::core::Interface for UssdReply { impl ::windows::core::RuntimeName for UssdReply { const NAME: &'static str = "Windows.Networking.NetworkOperators.UssdReply"; } -::windows::core::interface_hierarchy!(UssdReply, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UssdReply, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] pub struct UssdSession(::windows::core::IUnknown); @@ -9187,7 +9187,7 @@ impl UssdSession { } #[doc(hidden)] pub fn IUssdSessionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -9203,7 +9203,7 @@ impl ::core::fmt::Debug for UssdSession { } } impl ::windows::core::RuntimeType for UssdSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdSession;{2f9acf82-2002-4d5d-bf81-2aba1b4be4a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdSession;{2f9acf82-2002-4d5d-bf81-2aba1b4be4a8})"); } impl ::core::clone::Clone for UssdSession { fn clone(&self) -> Self { @@ -9219,7 +9219,7 @@ unsafe impl ::windows::core::Interface for UssdSession { impl ::windows::core::RuntimeName for UssdSession { const NAME: &'static str = "Windows.Networking.NetworkOperators.UssdSession"; } -::windows::core::interface_hierarchy!(UssdSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UssdSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -9296,7 +9296,7 @@ impl ::core::ops::Not for DataClasses { } } impl ::windows::core::RuntimeType for DataClasses { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.DataClasses;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.DataClasses;u4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9327,7 +9327,7 @@ impl ::core::fmt::Debug for ESimAuthenticationPreference { } } impl ::windows::core::RuntimeType for ESimAuthenticationPreference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimAuthenticationPreference;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimAuthenticationPreference;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9358,7 +9358,7 @@ impl ::core::fmt::Debug for ESimDiscoverResultKind { } } impl ::windows::core::RuntimeType for ESimDiscoverResultKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimDiscoverResultKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimDiscoverResultKind;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9415,7 +9415,7 @@ impl ::core::fmt::Debug for ESimOperationStatus { } } impl ::windows::core::RuntimeType for ESimOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimOperationStatus;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9446,7 +9446,7 @@ impl ::core::fmt::Debug for ESimProfileClass { } } impl ::windows::core::RuntimeType for ESimProfileClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimProfileClass;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimProfileClass;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9482,7 +9482,7 @@ impl ::core::fmt::Debug for ESimProfileMetadataState { } } impl ::windows::core::RuntimeType for ESimProfileMetadataState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimProfileMetadataState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimProfileMetadataState;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9514,7 +9514,7 @@ impl ::core::fmt::Debug for ESimProfileState { } } impl ::windows::core::RuntimeType for ESimProfileState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimProfileState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimProfileState;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9546,7 +9546,7 @@ impl ::core::fmt::Debug for ESimState { } } impl ::windows::core::RuntimeType for ESimState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimState;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9579,7 +9579,7 @@ impl ::core::fmt::Debug for ESimWatcherStatus { } } impl ::windows::core::RuntimeType for ESimWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ESimWatcherStatus;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9614,7 +9614,7 @@ impl ::core::fmt::Debug for HotspotAuthenticationResponseCode { } } impl ::windows::core::RuntimeType for HotspotAuthenticationResponseCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.HotspotAuthenticationResponseCode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.HotspotAuthenticationResponseCode;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9647,7 +9647,7 @@ impl ::core::fmt::Debug for MobileBroadbandAccountWatcherStatus { } } impl ::windows::core::RuntimeType for MobileBroadbandAccountWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcherStatus;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9679,7 +9679,7 @@ impl ::core::fmt::Debug for MobileBroadbandDeviceType { } } impl ::windows::core::RuntimeType for MobileBroadbandDeviceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandDeviceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandDeviceType;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9711,7 +9711,7 @@ impl ::core::fmt::Debug for MobileBroadbandModemStatus { } } impl ::windows::core::RuntimeType for MobileBroadbandModemStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandModemStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandModemStatus;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9742,7 +9742,7 @@ impl ::core::fmt::Debug for MobileBroadbandPinFormat { } } impl ::windows::core::RuntimeType for MobileBroadbandPinFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandPinFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandPinFormat;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9774,7 +9774,7 @@ impl ::core::fmt::Debug for MobileBroadbandPinLockState { } } impl ::windows::core::RuntimeType for MobileBroadbandPinLockState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandPinLockState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandPinLockState;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9813,7 +9813,7 @@ impl ::core::fmt::Debug for MobileBroadbandPinType { } } impl ::windows::core::RuntimeType for MobileBroadbandPinType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandPinType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandPinType;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9843,7 +9843,7 @@ impl ::core::fmt::Debug for MobileBroadbandRadioState { } } impl ::windows::core::RuntimeType for MobileBroadbandRadioState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandRadioState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandRadioState;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9881,7 +9881,7 @@ impl ::core::fmt::Debug for MobileBroadbandSlotState { } } impl ::windows::core::RuntimeType for MobileBroadbandSlotState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandSlotState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandSlotState;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9913,7 +9913,7 @@ impl ::core::fmt::Debug for MobileBroadbandUiccAppOperationStatus { } } impl ::windows::core::RuntimeType for MobileBroadbandUiccAppOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppOperationStatus;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9949,7 +9949,7 @@ impl ::core::fmt::Debug for NetworkDeviceStatus { } } impl ::windows::core::RuntimeType for NetworkDeviceStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.NetworkDeviceStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.NetworkDeviceStatus;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -9978,7 +9978,7 @@ impl ::core::fmt::Debug for NetworkOperatorDataUsageNotificationKind { } } impl ::windows::core::RuntimeType for NetworkOperatorDataUsageNotificationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.NetworkOperatorDataUsageNotificationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.NetworkOperatorDataUsageNotificationKind;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10019,7 +10019,7 @@ impl ::core::fmt::Debug for NetworkOperatorEventMessageType { } } impl ::windows::core::RuntimeType for NetworkOperatorEventMessageType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.NetworkOperatorEventMessageType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.NetworkOperatorEventMessageType;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10054,7 +10054,7 @@ impl ::core::fmt::Debug for NetworkRegistrationState { } } impl ::windows::core::RuntimeType for NetworkRegistrationState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.NetworkRegistrationState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.NetworkRegistrationState;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10084,7 +10084,7 @@ impl ::core::fmt::Debug for ProfileMediaType { } } impl ::windows::core::RuntimeType for ProfileMediaType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ProfileMediaType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.ProfileMediaType;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10120,7 +10120,7 @@ impl ::core::fmt::Debug for TetheringCapability { } } impl ::windows::core::RuntimeType for TetheringCapability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.TetheringCapability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.TetheringCapability;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10157,7 +10157,7 @@ impl ::core::fmt::Debug for TetheringOperationStatus { } } impl ::windows::core::RuntimeType for TetheringOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.TetheringOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.TetheringOperationStatus;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10189,7 +10189,7 @@ impl ::core::fmt::Debug for TetheringOperationalState { } } impl ::windows::core::RuntimeType for TetheringOperationalState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.TetheringOperationalState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.TetheringOperationalState;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10220,7 +10220,7 @@ impl ::core::fmt::Debug for TetheringWiFiBand { } } impl ::windows::core::RuntimeType for TetheringWiFiBand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.TetheringWiFiBand;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.TetheringWiFiBand;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10256,7 +10256,7 @@ impl ::core::fmt::Debug for UiccAccessCondition { } } impl ::windows::core::RuntimeType for UiccAccessCondition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.UiccAccessCondition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.UiccAccessCondition;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10291,7 +10291,7 @@ impl ::core::fmt::Debug for UiccAppKind { } } impl ::windows::core::RuntimeType for UiccAppKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.UiccAppKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.UiccAppKind;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10322,7 +10322,7 @@ impl ::core::fmt::Debug for UiccAppRecordKind { } } impl ::windows::core::RuntimeType for UiccAppRecordKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.UiccAppRecordKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.UiccAppRecordKind;i4)"); } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] @@ -10356,7 +10356,7 @@ impl ::core::fmt::Debug for UssdResultCode { } } impl ::windows::core::RuntimeType for UssdResultCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.UssdResultCode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.NetworkOperators.UssdResultCode;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] @@ -10379,7 +10379,7 @@ impl ::windows::core::TypeKind for ESimProfileInstallProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for ESimProfileInstallProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Networking.NetworkOperators.ESimProfileInstallProgress;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Networking.NetworkOperators.ESimProfileInstallProgress;i4;i4)"); } impl ::core::cmp::PartialEq for ESimProfileInstallProgress { fn eq(&self, other: &Self) -> bool { @@ -10419,7 +10419,7 @@ impl ::windows::core::TypeKind for ProfileUsage { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for ProfileUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Networking.NetworkOperators.ProfileUsage;u4;struct(Windows.Foundation.DateTime;i8))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Networking.NetworkOperators.ProfileUsage;u4;struct(Windows.Foundation.DateTime;i8))"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for ProfileUsage { diff --git a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs index 7b4509b7e8..c95c236197 100644 --- a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs @@ -390,7 +390,7 @@ impl ::core::fmt::Debug for ConnectionRequestedEventArgs { } } impl ::windows::core::RuntimeType for ConnectionRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ConnectionRequestedEventArgs;{eb6891ae-4f1e-4c66-bd0d-46924a942e08})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ConnectionRequestedEventArgs;{eb6891ae-4f1e-4c66-bd0d-46924a942e08})"); } impl ::core::clone::Clone for ConnectionRequestedEventArgs { fn clone(&self) -> Self { @@ -406,7 +406,7 @@ unsafe impl ::windows::core::Interface for ConnectionRequestedEventArgs { impl ::windows::core::RuntimeName for ConnectionRequestedEventArgs { const NAME: &'static str = "Windows.Networking.Proximity.ConnectionRequestedEventArgs"; } -::windows::core::interface_hierarchy!(ConnectionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ConnectionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ConnectionRequestedEventArgs {} unsafe impl ::core::marker::Sync for ConnectionRequestedEventArgs {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] @@ -547,12 +547,12 @@ impl PeerFinder { } #[doc(hidden)] pub fn IPeerFinderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPeerFinderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -613,7 +613,7 @@ impl ::core::fmt::Debug for PeerInformation { } } impl ::windows::core::RuntimeType for PeerInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.PeerInformation;{20024f08-9fff-45f4-b6e9-408b2ebef373})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.PeerInformation;{20024f08-9fff-45f4-b6e9-408b2ebef373})"); } impl ::core::clone::Clone for PeerInformation { fn clone(&self) -> Self { @@ -629,7 +629,7 @@ unsafe impl ::windows::core::Interface for PeerInformation { impl ::windows::core::RuntimeName for PeerInformation { const NAME: &'static str = "Windows.Networking.Proximity.PeerInformation"; } -::windows::core::interface_hierarchy!(PeerInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PeerInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PeerInformation {} unsafe impl ::core::marker::Sync for PeerInformation {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] @@ -739,7 +739,7 @@ impl ::core::fmt::Debug for PeerWatcher { } } impl ::windows::core::RuntimeType for PeerWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.PeerWatcher;{3cee21f8-2fa6-4679-9691-03c94a420f34})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.PeerWatcher;{3cee21f8-2fa6-4679-9691-03c94a420f34})"); } impl ::core::clone::Clone for PeerWatcher { fn clone(&self) -> Self { @@ -755,7 +755,7 @@ unsafe impl ::windows::core::Interface for PeerWatcher { impl ::windows::core::RuntimeName for PeerWatcher { const NAME: &'static str = "Windows.Networking.Proximity.PeerWatcher"; } -::windows::core::interface_hierarchy!(PeerWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PeerWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PeerWatcher {} unsafe impl ::core::marker::Sync for PeerWatcher {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] @@ -906,7 +906,7 @@ impl ProximityDevice { } #[doc(hidden)] pub fn IProximityDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -922,7 +922,7 @@ impl ::core::fmt::Debug for ProximityDevice { } } impl ::windows::core::RuntimeType for ProximityDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ProximityDevice;{efa8a552-f6e1-4329-a0fc-ab6b0fd28262})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ProximityDevice;{efa8a552-f6e1-4329-a0fc-ab6b0fd28262})"); } impl ::core::clone::Clone for ProximityDevice { fn clone(&self) -> Self { @@ -938,7 +938,7 @@ unsafe impl ::windows::core::Interface for ProximityDevice { impl ::windows::core::RuntimeName for ProximityDevice { const NAME: &'static str = "Windows.Networking.Proximity.ProximityDevice"; } -::windows::core::interface_hierarchy!(ProximityDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProximityDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProximityDevice {} unsafe impl ::core::marker::Sync for ProximityDevice {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] @@ -988,7 +988,7 @@ impl ::core::fmt::Debug for ProximityMessage { } } impl ::windows::core::RuntimeType for ProximityMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ProximityMessage;{efab0782-f6e1-4675-a045-d8e320c24808})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ProximityMessage;{efab0782-f6e1-4675-a045-d8e320c24808})"); } impl ::core::clone::Clone for ProximityMessage { fn clone(&self) -> Self { @@ -1004,7 +1004,7 @@ unsafe impl ::windows::core::Interface for ProximityMessage { impl ::windows::core::RuntimeName for ProximityMessage { const NAME: &'static str = "Windows.Networking.Proximity.ProximityMessage"; } -::windows::core::interface_hierarchy!(ProximityMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProximityMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProximityMessage {} unsafe impl ::core::marker::Sync for ProximityMessage {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] @@ -1047,7 +1047,7 @@ impl ::core::fmt::Debug for TriggeredConnectionStateChangedEventArgs { } } impl ::windows::core::RuntimeType for TriggeredConnectionStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs;{c6a780ad-f6e1-4d54-96e2-33f620bca88a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs;{c6a780ad-f6e1-4d54-96e2-33f620bca88a})"); } impl ::core::clone::Clone for TriggeredConnectionStateChangedEventArgs { fn clone(&self) -> Self { @@ -1063,7 +1063,7 @@ unsafe impl ::windows::core::Interface for TriggeredConnectionStateChangedEventA impl ::windows::core::RuntimeName for TriggeredConnectionStateChangedEventArgs { const NAME: &'static str = "Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(TriggeredConnectionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TriggeredConnectionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TriggeredConnectionStateChangedEventArgs {} unsafe impl ::core::marker::Sync for TriggeredConnectionStateChangedEventArgs {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] @@ -1128,7 +1128,7 @@ impl ::core::ops::Not for PeerDiscoveryTypes { } } impl ::windows::core::RuntimeType for PeerDiscoveryTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.PeerDiscoveryTypes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.PeerDiscoveryTypes;u4)"); } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] @@ -1159,7 +1159,7 @@ impl ::core::fmt::Debug for PeerRole { } } impl ::windows::core::RuntimeType for PeerRole { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.PeerRole;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.PeerRole;i4)"); } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] @@ -1193,7 +1193,7 @@ impl ::core::fmt::Debug for PeerWatcherStatus { } } impl ::windows::core::RuntimeType for PeerWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.PeerWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.PeerWatcherStatus;i4)"); } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] @@ -1227,15 +1227,15 @@ impl ::core::fmt::Debug for TriggeredConnectState { } } impl ::windows::core::RuntimeType for TriggeredConnectState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.TriggeredConnectState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.TriggeredConnectState;i4)"); } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] pub struct DeviceArrivedEventHandler(pub ::windows::core::IUnknown); impl DeviceArrivedEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = DeviceArrivedEventHandlerBox:: { vtable: &DeviceArrivedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = DeviceArrivedEventHandlerBox:: { vtable: &DeviceArrivedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &ProximityDevice) -> ::windows::core::Result<()> { let this = self; @@ -1246,7 +1246,7 @@ impl DeviceArrivedEventHandler { struct DeviceArrivedEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const DeviceArrivedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> DeviceArrivedEventHandlerBox { const VTABLE: DeviceArrivedEventHandler_Vtbl = DeviceArrivedEventHandler_Vtbl { @@ -1255,7 +1255,7 @@ impl) -> ::windows::core::Resu }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1271,7 +1271,7 @@ impl) -> ::windows::core::Resu let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1303,7 +1303,7 @@ unsafe impl ::windows::core::Interface for DeviceArrivedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xefa9da69_f6e1_49c9_a49e_8e0fc58fb911); } impl ::windows::core::RuntimeType for DeviceArrivedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{efa9da69-f6e1-49c9-a49e-8e0fc58fb911}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{efa9da69-f6e1-49c9-a49e-8e0fc58fb911}"); } #[repr(C)] #[doc(hidden)] @@ -1316,8 +1316,8 @@ pub struct DeviceArrivedEventHandler_Vtbl { pub struct DeviceDepartedEventHandler(pub ::windows::core::IUnknown); impl DeviceDepartedEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = DeviceDepartedEventHandlerBox:: { vtable: &DeviceDepartedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = DeviceDepartedEventHandlerBox:: { vtable: &DeviceDepartedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &ProximityDevice) -> ::windows::core::Result<()> { let this = self; @@ -1328,7 +1328,7 @@ impl DeviceDepartedEventHandler { struct DeviceDepartedEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const DeviceDepartedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> DeviceDepartedEventHandlerBox { const VTABLE: DeviceDepartedEventHandler_Vtbl = DeviceDepartedEventHandler_Vtbl { @@ -1337,7 +1337,7 @@ impl) -> ::windows::core::Resu }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1353,7 +1353,7 @@ impl) -> ::windows::core::Resu let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1385,7 +1385,7 @@ unsafe impl ::windows::core::Interface for DeviceDepartedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xefa9da69_f6e2_49c9_a49e_8e0fc58fb911); } impl ::windows::core::RuntimeType for DeviceDepartedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{efa9da69-f6e2-49c9-a49e-8e0fc58fb911}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{efa9da69-f6e2-49c9-a49e-8e0fc58fb911}"); } #[repr(C)] #[doc(hidden)] @@ -1398,8 +1398,8 @@ pub struct DeviceDepartedEventHandler_Vtbl { pub struct MessageReceivedHandler(pub ::windows::core::IUnknown); impl MessageReceivedHandler { pub fn new, ::core::option::Option<&ProximityMessage>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = MessageReceivedHandlerBox:: { vtable: &MessageReceivedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = MessageReceivedHandlerBox:: { vtable: &MessageReceivedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &ProximityDevice, message: &ProximityMessage) -> ::windows::core::Result<()> { let this = self; @@ -1410,7 +1410,7 @@ impl MessageReceivedHandler { struct MessageReceivedHandlerBox, ::core::option::Option<&ProximityMessage>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const MessageReceivedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&ProximityMessage>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> MessageReceivedHandlerBox { const VTABLE: MessageReceivedHandler_Vtbl = MessageReceivedHandler_Vtbl { @@ -1419,7 +1419,7 @@ impl, ::core::option::Option<& }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1435,7 +1435,7 @@ impl, ::core::option::Option<& let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1467,7 +1467,7 @@ unsafe impl ::windows::core::Interface for MessageReceivedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xefab0782_f6e2_4675_a045_d8e320c24808); } impl ::windows::core::RuntimeType for MessageReceivedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{efab0782-f6e2-4675-a045-d8e320c24808}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{efab0782-f6e2-4675-a045-d8e320c24808}"); } #[repr(C)] #[doc(hidden)] @@ -1480,8 +1480,8 @@ pub struct MessageReceivedHandler_Vtbl { pub struct MessageTransmittedHandler(pub ::windows::core::IUnknown); impl MessageTransmittedHandler { pub fn new, i64) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = MessageTransmittedHandlerBox:: { vtable: &MessageTransmittedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = MessageTransmittedHandlerBox:: { vtable: &MessageTransmittedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: &ProximityDevice, messageid: i64) -> ::windows::core::Result<()> { let this = self; @@ -1492,7 +1492,7 @@ impl MessageTransmittedHandler { struct MessageTransmittedHandlerBox, i64) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const MessageTransmittedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, i64) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> MessageTransmittedHandlerBox { const VTABLE: MessageTransmittedHandler_Vtbl = MessageTransmittedHandler_Vtbl { @@ -1501,7 +1501,7 @@ impl, i64) -> ::windows::core: }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1517,7 +1517,7 @@ impl, i64) -> ::windows::core: let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1549,7 +1549,7 @@ unsafe impl ::windows::core::Interface for MessageTransmittedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xefaa0b4a_f6e2_4d7d_856c_78fc8efc021e); } impl ::windows::core::RuntimeType for MessageTransmittedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{efaa0b4a-f6e2-4d7d-856c-78fc8efc021e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{efaa0b4a-f6e2-4d7d-856c-78fc8efc021e}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs index 5f6c6bdf98..ae470a9643 100644 --- a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs @@ -367,7 +367,7 @@ impl ::core::fmt::Debug for PushNotificationChannel { } } impl ::windows::core::RuntimeType for PushNotificationChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannel;{2b28102e-ef0b-4f39-9b8a-a3c194de7081})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannel;{2b28102e-ef0b-4f39-9b8a-a3c194de7081})"); } impl ::core::clone::Clone for PushNotificationChannel { fn clone(&self) -> Self { @@ -383,7 +383,7 @@ unsafe impl ::windows::core::Interface for PushNotificationChannel { impl ::windows::core::RuntimeName for PushNotificationChannel { const NAME: &'static str = "Windows.Networking.PushNotifications.PushNotificationChannel"; } -::windows::core::interface_hierarchy!(PushNotificationChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PushNotificationChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PushNotificationChannel {} unsafe impl ::core::marker::Sync for PushNotificationChannel {} #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] @@ -442,22 +442,22 @@ impl PushNotificationChannelManager { } #[doc(hidden)] pub fn IPushNotificationChannelManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPushNotificationChannelManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPushNotificationChannelManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPushNotificationChannelManagerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -543,7 +543,7 @@ impl ::core::fmt::Debug for PushNotificationChannelManagerForUser { } } impl ::windows::core::RuntimeType for PushNotificationChannelManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser;{a4c45704-1182-42c7-8890-f563c4890dc4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser;{a4c45704-1182-42c7-8890-f563c4890dc4})"); } impl ::core::clone::Clone for PushNotificationChannelManagerForUser { fn clone(&self) -> Self { @@ -559,7 +559,7 @@ unsafe impl ::windows::core::Interface for PushNotificationChannelManagerForUser impl ::windows::core::RuntimeName for PushNotificationChannelManagerForUser { const NAME: &'static str = "Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser"; } -::windows::core::interface_hierarchy!(PushNotificationChannelManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PushNotificationChannelManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PushNotificationChannelManagerForUser {} unsafe impl ::core::marker::Sync for PushNotificationChannelManagerForUser {} #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] @@ -578,7 +578,7 @@ impl ::core::fmt::Debug for PushNotificationChannelsRevokedEventArgs { } } impl ::windows::core::RuntimeType for PushNotificationChannelsRevokedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannelsRevokedEventArgs;{20e1a24c-1a34-5beb-aae2-40c232c8c140})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannelsRevokedEventArgs;{20e1a24c-1a34-5beb-aae2-40c232c8c140})"); } impl ::core::clone::Clone for PushNotificationChannelsRevokedEventArgs { fn clone(&self) -> Self { @@ -594,7 +594,7 @@ unsafe impl ::windows::core::Interface for PushNotificationChannelsRevokedEventA impl ::windows::core::RuntimeName for PushNotificationChannelsRevokedEventArgs { const NAME: &'static str = "Windows.Networking.PushNotifications.PushNotificationChannelsRevokedEventArgs"; } -::windows::core::interface_hierarchy!(PushNotificationChannelsRevokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PushNotificationChannelsRevokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PushNotificationChannelsRevokedEventArgs {} unsafe impl ::core::marker::Sync for PushNotificationChannelsRevokedEventArgs {} #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] @@ -666,7 +666,7 @@ impl ::core::fmt::Debug for PushNotificationReceivedEventArgs { } } impl ::windows::core::RuntimeType for PushNotificationReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs;{d1065e0c-36cd-484c-b935-0a99b753cf00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs;{d1065e0c-36cd-484c-b935-0a99b753cf00})"); } impl ::core::clone::Clone for PushNotificationReceivedEventArgs { fn clone(&self) -> Self { @@ -682,7 +682,7 @@ unsafe impl ::windows::core::Interface for PushNotificationReceivedEventArgs { impl ::windows::core::RuntimeName for PushNotificationReceivedEventArgs { const NAME: &'static str = "Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs"; } -::windows::core::interface_hierarchy!(PushNotificationReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PushNotificationReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PushNotificationReceivedEventArgs {} unsafe impl ::core::marker::Sync for PushNotificationReceivedEventArgs {} #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] @@ -734,7 +734,7 @@ impl ::core::fmt::Debug for RawNotification { } } impl ::windows::core::RuntimeType for RawNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.RawNotification;{1a227281-3b79-42ac-9963-22ab00d4f0b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.RawNotification;{1a227281-3b79-42ac-9963-22ab00d4f0b7})"); } impl ::core::clone::Clone for RawNotification { fn clone(&self) -> Self { @@ -750,7 +750,7 @@ unsafe impl ::windows::core::Interface for RawNotification { impl ::windows::core::RuntimeName for RawNotification { const NAME: &'static str = "Windows.Networking.PushNotifications.RawNotification"; } -::windows::core::interface_hierarchy!(RawNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RawNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RawNotification {} unsafe impl ::core::marker::Sync for RawNotification {} #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] @@ -784,7 +784,7 @@ impl ::core::fmt::Debug for PushNotificationType { } } impl ::windows::core::RuntimeType for PushNotificationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.PushNotifications.PushNotificationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.PushNotifications.PushNotificationType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs index e6e2f2b023..f8835c908d 100644 --- a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs @@ -142,8 +142,8 @@ impl DnssdRegistrationResult { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Status(&self) -> ::windows::core::Result { @@ -189,7 +189,7 @@ impl ::core::fmt::Debug for DnssdRegistrationResult { } } impl ::windows::core::RuntimeType for DnssdRegistrationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationResult;{3d786ad2-e606-5350-73ea-7e97f066162f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationResult;{3d786ad2-e606-5350-73ea-7e97f066162f})"); } impl ::core::clone::Clone for DnssdRegistrationResult { fn clone(&self) -> Self { @@ -205,7 +205,7 @@ unsafe impl ::windows::core::Interface for DnssdRegistrationResult { impl ::windows::core::RuntimeName for DnssdRegistrationResult { const NAME: &'static str = "Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationResult"; } -::windows::core::interface_hierarchy!(DnssdRegistrationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DnssdRegistrationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -351,7 +351,7 @@ impl DnssdServiceInstance { } #[doc(hidden)] pub fn IDnssdServiceInstanceFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -367,7 +367,7 @@ impl ::core::fmt::Debug for DnssdServiceInstance { } } impl ::windows::core::RuntimeType for DnssdServiceInstance { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance;{e246db7e-98a5-4ca1-b9e4-c253d33c35ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance;{e246db7e-98a5-4ca1-b9e4-c253d33c35ff})"); } impl ::core::clone::Clone for DnssdServiceInstance { fn clone(&self) -> Self { @@ -383,7 +383,7 @@ unsafe impl ::windows::core::Interface for DnssdServiceInstance { impl ::windows::core::RuntimeName for DnssdServiceInstance { const NAME: &'static str = "Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance"; } -::windows::core::interface_hierarchy!(DnssdServiceInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DnssdServiceInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -476,7 +476,7 @@ impl ::core::fmt::Debug for DnssdServiceInstanceCollection { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for DnssdServiceInstanceCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstanceCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance;{e246db7e-98a5-4ca1-b9e4-c253d33c35ff})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstanceCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance;{e246db7e-98a5-4ca1-b9e4-c253d33c35ff})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for DnssdServiceInstanceCollection { @@ -513,7 +513,7 @@ impl ::core::iter::IntoIterator for &DnssdServiceInstanceCollection { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(DnssdServiceInstanceCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DnssdServiceInstanceCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -639,7 +639,7 @@ impl ::core::fmt::Debug for DnssdServiceWatcher { } } impl ::windows::core::RuntimeType for DnssdServiceWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcher;{cc34d9c1-db7d-4b69-983d-c6f83f205682})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcher;{cc34d9c1-db7d-4b69-983d-c6f83f205682})"); } impl ::core::clone::Clone for DnssdServiceWatcher { fn clone(&self) -> Self { @@ -655,7 +655,7 @@ unsafe impl ::windows::core::Interface for DnssdServiceWatcher { impl ::windows::core::RuntimeName for DnssdServiceWatcher { const NAME: &'static str = "Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcher"; } -::windows::core::interface_hierarchy!(DnssdServiceWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DnssdServiceWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DnssdServiceWatcher {} unsafe impl ::core::marker::Sync for DnssdServiceWatcher {} #[doc = "*Required features: `\"Networking_ServiceDiscovery_Dnssd\"`*"] @@ -688,7 +688,7 @@ impl ::core::fmt::Debug for DnssdRegistrationStatus { } } impl ::windows::core::RuntimeType for DnssdRegistrationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationStatus;i4)"); } #[doc = "*Required features: `\"Networking_ServiceDiscovery_Dnssd\"`*"] #[repr(transparent)] @@ -722,7 +722,7 @@ impl ::core::fmt::Debug for DnssdServiceWatcherStatus { } } impl ::windows::core::RuntimeType for DnssdServiceWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcherStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 2fc2f2895c..230fe7707f 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -66,7 +66,7 @@ impl IControlChannelTriggerEventDetails { } } } -::windows::core::interface_hierarchy!(IControlChannelTriggerEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IControlChannelTriggerEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IControlChannelTriggerEventDetails { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -79,7 +79,7 @@ impl ::core::fmt::Debug for IControlChannelTriggerEventDetails { } } impl ::windows::core::RuntimeType for IControlChannelTriggerEventDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1b36e047-89bb-4236-96ac-71d012bb4869}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1b36e047-89bb-4236-96ac-71d012bb4869}"); } unsafe impl ::windows::core::Vtable for IControlChannelTriggerEventDetails { type Vtable = IControlChannelTriggerEventDetails_Vtbl; @@ -145,7 +145,7 @@ impl IControlChannelTriggerResetEventDetails { } } } -::windows::core::interface_hierarchy!(IControlChannelTriggerResetEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IControlChannelTriggerResetEventDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IControlChannelTriggerResetEventDetails { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -158,7 +158,7 @@ impl ::core::fmt::Debug for IControlChannelTriggerResetEventDetails { } } impl ::windows::core::RuntimeType for IControlChannelTriggerResetEventDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6851038e-8ec4-42fe-9bb2-21e91b7bfcb1}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6851038e-8ec4-42fe-9bb2-21e91b7bfcb1}"); } unsafe impl ::windows::core::Vtable for IControlChannelTriggerResetEventDetails { type Vtable = IControlChannelTriggerResetEventDetails_Vtbl; @@ -1552,7 +1552,7 @@ impl IWebSocket { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1587,7 +1587,7 @@ impl ::core::fmt::Debug for IWebSocket { } } impl ::windows::core::RuntimeType for IWebSocket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{f877396f-99b1-4e18-bc08-850c9adf156e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{f877396f-99b1-4e18-bc08-850c9adf156e}"); } unsafe impl ::windows::core::Vtable for IWebSocket { type Vtable = IWebSocket_Vtbl; @@ -1699,7 +1699,7 @@ impl IWebSocketControl { } } } -::windows::core::interface_hierarchy!(IWebSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebSocketControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1712,7 +1712,7 @@ impl ::core::fmt::Debug for IWebSocketControl { } } impl ::windows::core::RuntimeType for IWebSocketControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2ec4bdc3-d9a5-455a-9811-de24d45337e9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2ec4bdc3-d9a5-455a-9811-de24d45337e9}"); } unsafe impl ::windows::core::Vtable for IWebSocketControl { type Vtable = IWebSocketControl_Vtbl; @@ -1816,7 +1816,7 @@ impl IWebSocketControl2 { } } } -::windows::core::interface_hierarchy!(IWebSocketControl2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebSocketControl2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebSocketControl { type Error = ::windows::core::Error; fn try_from(value: IWebSocketControl2) -> ::windows::core::Result { @@ -1848,7 +1848,7 @@ impl ::core::fmt::Debug for IWebSocketControl2 { } } impl ::windows::core::RuntimeType for IWebSocketControl2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{79c3be03-f2ca-461e-af4e-9665bc2d0620}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{79c3be03-f2ca-461e-af4e-9665bc2d0620}"); } unsafe impl ::windows::core::Vtable for IWebSocketControl2 { type Vtable = IWebSocketControl2_Vtbl; @@ -1919,7 +1919,7 @@ impl IWebSocketInformation { } } } -::windows::core::interface_hierarchy!(IWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebSocketInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1932,7 +1932,7 @@ impl ::core::fmt::Debug for IWebSocketInformation { } } impl ::windows::core::RuntimeType for IWebSocketInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5e01e316-c92a-47a5-b25f-07847639d181}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5e01e316-c92a-47a5-b25f-07847639d181}"); } unsafe impl ::windows::core::Vtable for IWebSocketInformation { type Vtable = IWebSocketInformation_Vtbl; @@ -2013,7 +2013,7 @@ impl IWebSocketInformation2 { } } } -::windows::core::interface_hierarchy!(IWebSocketInformation2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebSocketInformation2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebSocketInformation { type Error = ::windows::core::Error; fn try_from(value: IWebSocketInformation2) -> ::windows::core::Result { @@ -2045,7 +2045,7 @@ impl ::core::fmt::Debug for IWebSocketInformation2 { } } impl ::windows::core::RuntimeType for IWebSocketInformation2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ce1d39ce-a1b7-4d43-8269-8d5b981bd47a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ce1d39ce-a1b7-4d43-8269-8d5b981bd47a}"); } unsafe impl ::windows::core::Vtable for IWebSocketInformation2 { type Vtable = IWebSocketInformation2_Vtbl; @@ -2216,7 +2216,7 @@ impl ControlChannelTrigger { } #[doc(hidden)] pub fn IControlChannelTriggerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2232,7 +2232,7 @@ impl ::core::fmt::Debug for ControlChannelTrigger { } } impl ::windows::core::RuntimeType for ControlChannelTrigger { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ControlChannelTrigger;{7d1431a7-ee96-40e8-a199-8703cd969ec3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ControlChannelTrigger;{7d1431a7-ee96-40e8-a199-8703cd969ec3})"); } impl ::core::clone::Clone for ControlChannelTrigger { fn clone(&self) -> Self { @@ -2248,7 +2248,7 @@ unsafe impl ::windows::core::Interface for ControlChannelTrigger { impl ::windows::core::RuntimeName for ControlChannelTrigger { const NAME: &'static str = "Windows.Networking.Sockets.ControlChannelTrigger"; } -::windows::core::interface_hierarchy!(ControlChannelTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ControlChannelTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2280,8 +2280,8 @@ impl DatagramSocket { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2444,7 +2444,7 @@ impl DatagramSocket { } #[doc(hidden)] pub fn IDatagramSocketStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2460,7 +2460,7 @@ impl ::core::fmt::Debug for DatagramSocket { } } impl ::windows::core::RuntimeType for DatagramSocket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocket;{7fe25bbb-c3bc-4677-8446-ca28a465a3af})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocket;{7fe25bbb-c3bc-4677-8446-ca28a465a3af})"); } impl ::core::clone::Clone for DatagramSocket { fn clone(&self) -> Self { @@ -2476,7 +2476,7 @@ unsafe impl ::windows::core::Interface for DatagramSocket { impl ::windows::core::RuntimeName for DatagramSocket { const NAME: &'static str = "Windows.Networking.Sockets.DatagramSocket"; } -::windows::core::interface_hierarchy!(DatagramSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DatagramSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2573,7 +2573,7 @@ impl ::core::fmt::Debug for DatagramSocketControl { } } impl ::windows::core::RuntimeType for DatagramSocketControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketControl;{52ac3f2e-349a-4135-bb58-b79b2647d390})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketControl;{52ac3f2e-349a-4135-bb58-b79b2647d390})"); } impl ::core::clone::Clone for DatagramSocketControl { fn clone(&self) -> Self { @@ -2589,7 +2589,7 @@ unsafe impl ::windows::core::Interface for DatagramSocketControl { impl ::windows::core::RuntimeName for DatagramSocketControl { const NAME: &'static str = "Windows.Networking.Sockets.DatagramSocketControl"; } -::windows::core::interface_hierarchy!(DatagramSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DatagramSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DatagramSocketControl {} unsafe impl ::core::marker::Sync for DatagramSocketControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -2637,7 +2637,7 @@ impl ::core::fmt::Debug for DatagramSocketInformation { } } impl ::windows::core::RuntimeType for DatagramSocketInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketInformation;{5f1a569a-55fb-48cd-9706-7a974f7b1585})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketInformation;{5f1a569a-55fb-48cd-9706-7a974f7b1585})"); } impl ::core::clone::Clone for DatagramSocketInformation { fn clone(&self) -> Self { @@ -2653,7 +2653,7 @@ unsafe impl ::windows::core::Interface for DatagramSocketInformation { impl ::windows::core::RuntimeName for DatagramSocketInformation { const NAME: &'static str = "Windows.Networking.Sockets.DatagramSocketInformation"; } -::windows::core::interface_hierarchy!(DatagramSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DatagramSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DatagramSocketInformation {} unsafe impl ::core::marker::Sync for DatagramSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -2712,7 +2712,7 @@ impl ::core::fmt::Debug for DatagramSocketMessageReceivedEventArgs { } } impl ::windows::core::RuntimeType for DatagramSocketMessageReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs;{9e2ddca2-1712-4ce4-b179-8c652c6d107e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs;{9e2ddca2-1712-4ce4-b179-8c652c6d107e})"); } impl ::core::clone::Clone for DatagramSocketMessageReceivedEventArgs { fn clone(&self) -> Self { @@ -2728,7 +2728,7 @@ unsafe impl ::windows::core::Interface for DatagramSocketMessageReceivedEventArg impl ::windows::core::RuntimeName for DatagramSocketMessageReceivedEventArgs { const NAME: &'static str = "Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs"; } -::windows::core::interface_hierarchy!(DatagramSocketMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DatagramSocketMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DatagramSocketMessageReceivedEventArgs {} unsafe impl ::core::marker::Sync for DatagramSocketMessageReceivedEventArgs {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -2738,8 +2738,8 @@ impl MessageWebSocket { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2872,7 +2872,7 @@ impl ::core::fmt::Debug for MessageWebSocket { } } impl ::windows::core::RuntimeType for MessageWebSocket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocket;{33727d08-34d5-4746-ad7b-8dde5bc2ef88})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocket;{33727d08-34d5-4746-ad7b-8dde5bc2ef88})"); } impl ::core::clone::Clone for MessageWebSocket { fn clone(&self) -> Self { @@ -2888,7 +2888,7 @@ unsafe impl ::windows::core::Interface for MessageWebSocket { impl ::windows::core::RuntimeName for MessageWebSocket { const NAME: &'static str = "Windows.Networking.Sockets.MessageWebSocket"; } -::windows::core::interface_hierarchy!(MessageWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MessageWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3080,7 +3080,7 @@ impl ::core::fmt::Debug for MessageWebSocketControl { } } impl ::windows::core::RuntimeType for MessageWebSocketControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketControl;{8118388a-c629-4f0a-80fb-81fc05538862})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketControl;{8118388a-c629-4f0a-80fb-81fc05538862})"); } impl ::core::clone::Clone for MessageWebSocketControl { fn clone(&self) -> Self { @@ -3096,7 +3096,7 @@ unsafe impl ::windows::core::Interface for MessageWebSocketControl { impl ::windows::core::RuntimeName for MessageWebSocketControl { const NAME: &'static str = "Windows.Networking.Sockets.MessageWebSocketControl"; } -::windows::core::interface_hierarchy!(MessageWebSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MessageWebSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebSocketControl { type Error = ::windows::core::Error; fn try_from(value: MessageWebSocketControl) -> ::windows::core::Result { @@ -3209,7 +3209,7 @@ impl ::core::fmt::Debug for MessageWebSocketInformation { } } impl ::windows::core::RuntimeType for MessageWebSocketInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketInformation;{5e01e316-c92a-47a5-b25f-07847639d181})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketInformation;{5e01e316-c92a-47a5-b25f-07847639d181})"); } impl ::core::clone::Clone for MessageWebSocketInformation { fn clone(&self) -> Self { @@ -3225,7 +3225,7 @@ unsafe impl ::windows::core::Interface for MessageWebSocketInformation { impl ::windows::core::RuntimeName for MessageWebSocketInformation { const NAME: &'static str = "Windows.Networking.Sockets.MessageWebSocketInformation"; } -::windows::core::interface_hierarchy!(MessageWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MessageWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebSocketInformation { type Error = ::windows::core::Error; fn try_from(value: MessageWebSocketInformation) -> ::windows::core::Result { @@ -3315,7 +3315,7 @@ impl ::core::fmt::Debug for MessageWebSocketMessageReceivedEventArgs { } } impl ::windows::core::RuntimeType for MessageWebSocketMessageReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs;{478c22ac-4c4b-42ed-9ed7-1ef9f94fa3d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs;{478c22ac-4c4b-42ed-9ed7-1ef9f94fa3d5})"); } impl ::core::clone::Clone for MessageWebSocketMessageReceivedEventArgs { fn clone(&self) -> Self { @@ -3331,7 +3331,7 @@ unsafe impl ::windows::core::Interface for MessageWebSocketMessageReceivedEventA impl ::windows::core::RuntimeName for MessageWebSocketMessageReceivedEventArgs { const NAME: &'static str = "Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs"; } -::windows::core::interface_hierarchy!(MessageWebSocketMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MessageWebSocketMessageReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MessageWebSocketMessageReceivedEventArgs {} unsafe impl ::core::marker::Sync for MessageWebSocketMessageReceivedEventArgs {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -3414,7 +3414,7 @@ impl ::core::fmt::Debug for ServerMessageWebSocket { } } impl ::windows::core::RuntimeType for ServerMessageWebSocket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocket;{e3ac9240-813b-5efd-7e11-ae2305fc77f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocket;{e3ac9240-813b-5efd-7e11-ae2305fc77f1})"); } impl ::core::clone::Clone for ServerMessageWebSocket { fn clone(&self) -> Self { @@ -3430,7 +3430,7 @@ unsafe impl ::windows::core::Interface for ServerMessageWebSocket { impl ::windows::core::RuntimeName for ServerMessageWebSocket { const NAME: &'static str = "Windows.Networking.Sockets.ServerMessageWebSocket"; } -::windows::core::interface_hierarchy!(ServerMessageWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ServerMessageWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3483,7 +3483,7 @@ impl ::core::fmt::Debug for ServerMessageWebSocketControl { } } impl ::windows::core::RuntimeType for ServerMessageWebSocketControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocketControl;{69c2f051-1c1f-587a-4519-2181610192b7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocketControl;{69c2f051-1c1f-587a-4519-2181610192b7})"); } impl ::core::clone::Clone for ServerMessageWebSocketControl { fn clone(&self) -> Self { @@ -3499,7 +3499,7 @@ unsafe impl ::windows::core::Interface for ServerMessageWebSocketControl { impl ::windows::core::RuntimeName for ServerMessageWebSocketControl { const NAME: &'static str = "Windows.Networking.Sockets.ServerMessageWebSocketControl"; } -::windows::core::interface_hierarchy!(ServerMessageWebSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ServerMessageWebSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ServerMessageWebSocketControl {} unsafe impl ::core::marker::Sync for ServerMessageWebSocketControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -3540,7 +3540,7 @@ impl ::core::fmt::Debug for ServerMessageWebSocketInformation { } } impl ::windows::core::RuntimeType for ServerMessageWebSocketInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocketInformation;{fc32b45f-4448-5505-6cc9-09afa8915f5d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocketInformation;{fc32b45f-4448-5505-6cc9-09afa8915f5d})"); } impl ::core::clone::Clone for ServerMessageWebSocketInformation { fn clone(&self) -> Self { @@ -3556,7 +3556,7 @@ unsafe impl ::windows::core::Interface for ServerMessageWebSocketInformation { impl ::windows::core::RuntimeName for ServerMessageWebSocketInformation { const NAME: &'static str = "Windows.Networking.Sockets.ServerMessageWebSocketInformation"; } -::windows::core::interface_hierarchy!(ServerMessageWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ServerMessageWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ServerMessageWebSocketInformation {} unsafe impl ::core::marker::Sync for ServerMessageWebSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -3626,7 +3626,7 @@ impl ::core::fmt::Debug for ServerStreamWebSocket { } } impl ::windows::core::RuntimeType for ServerStreamWebSocket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerStreamWebSocket;{2ced5bbf-74f6-55e4-79df-9132680dfee8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerStreamWebSocket;{2ced5bbf-74f6-55e4-79df-9132680dfee8})"); } impl ::core::clone::Clone for ServerStreamWebSocket { fn clone(&self) -> Self { @@ -3642,7 +3642,7 @@ unsafe impl ::windows::core::Interface for ServerStreamWebSocket { impl ::windows::core::RuntimeName for ServerStreamWebSocket { const NAME: &'static str = "Windows.Networking.Sockets.ServerStreamWebSocket"; } -::windows::core::interface_hierarchy!(ServerStreamWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ServerStreamWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3705,7 +3705,7 @@ impl ::core::fmt::Debug for ServerStreamWebSocketInformation { } } impl ::windows::core::RuntimeType for ServerStreamWebSocketInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerStreamWebSocketInformation;{fc32b45f-4448-5505-6cc9-09aba8915f5d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerStreamWebSocketInformation;{fc32b45f-4448-5505-6cc9-09aba8915f5d})"); } impl ::core::clone::Clone for ServerStreamWebSocketInformation { fn clone(&self) -> Self { @@ -3721,7 +3721,7 @@ unsafe impl ::windows::core::Interface for ServerStreamWebSocketInformation { impl ::windows::core::RuntimeName for ServerStreamWebSocketInformation { const NAME: &'static str = "Windows.Networking.Sockets.ServerStreamWebSocketInformation"; } -::windows::core::interface_hierarchy!(ServerStreamWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ServerStreamWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ServerStreamWebSocketInformation {} unsafe impl ::core::marker::Sync for ServerStreamWebSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -3751,7 +3751,7 @@ impl SocketActivityContext { } #[doc(hidden)] pub fn ISocketActivityContextFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3767,7 +3767,7 @@ impl ::core::fmt::Debug for SocketActivityContext { } } impl ::windows::core::RuntimeType for SocketActivityContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityContext;{43b04d64-4c85-4396-a637-1d973f6ebd49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityContext;{43b04d64-4c85-4396-a637-1d973f6ebd49})"); } impl ::core::clone::Clone for SocketActivityContext { fn clone(&self) -> Self { @@ -3783,7 +3783,7 @@ unsafe impl ::windows::core::Interface for SocketActivityContext { impl ::windows::core::RuntimeName for SocketActivityContext { const NAME: &'static str = "Windows.Networking.Sockets.SocketActivityContext"; } -::windows::core::interface_hierarchy!(SocketActivityContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SocketActivityContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SocketActivityContext {} unsafe impl ::core::marker::Sync for SocketActivityContext {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -3849,7 +3849,7 @@ impl SocketActivityInformation { } #[doc(hidden)] pub fn ISocketActivityInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3865,7 +3865,7 @@ impl ::core::fmt::Debug for SocketActivityInformation { } } impl ::windows::core::RuntimeType for SocketActivityInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityInformation;{8d8a42e4-a87e-4b74-9968-185b2511defe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityInformation;{8d8a42e4-a87e-4b74-9968-185b2511defe})"); } impl ::core::clone::Clone for SocketActivityInformation { fn clone(&self) -> Self { @@ -3881,7 +3881,7 @@ unsafe impl ::windows::core::Interface for SocketActivityInformation { impl ::windows::core::RuntimeName for SocketActivityInformation { const NAME: &'static str = "Windows.Networking.Sockets.SocketActivityInformation"; } -::windows::core::interface_hierarchy!(SocketActivityInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SocketActivityInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SocketActivityInformation {} unsafe impl ::core::marker::Sync for SocketActivityInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -3915,7 +3915,7 @@ impl ::core::fmt::Debug for SocketActivityTriggerDetails { } } impl ::windows::core::RuntimeType for SocketActivityTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityTriggerDetails;{45f406a7-fc9f-4f81-acad-355fef51e67b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityTriggerDetails;{45f406a7-fc9f-4f81-acad-355fef51e67b})"); } impl ::core::clone::Clone for SocketActivityTriggerDetails { fn clone(&self) -> Self { @@ -3931,7 +3931,7 @@ unsafe impl ::windows::core::Interface for SocketActivityTriggerDetails { impl ::windows::core::RuntimeName for SocketActivityTriggerDetails { const NAME: &'static str = "Windows.Networking.Sockets.SocketActivityTriggerDetails"; } -::windows::core::interface_hierarchy!(SocketActivityTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SocketActivityTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SocketActivityTriggerDetails {} unsafe impl ::core::marker::Sync for SocketActivityTriggerDetails {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -3945,7 +3945,7 @@ impl SocketError { } #[doc(hidden)] pub fn ISocketErrorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3959,8 +3959,8 @@ impl StreamSocket { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4104,7 +4104,7 @@ impl StreamSocket { } #[doc(hidden)] pub fn IStreamSocketStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4120,7 +4120,7 @@ impl ::core::fmt::Debug for StreamSocket { } } impl ::windows::core::RuntimeType for StreamSocket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocket;{69a22cf3-fc7b-4857-af38-f6e7de6a5b49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocket;{69a22cf3-fc7b-4857-af38-f6e7de6a5b49})"); } impl ::core::clone::Clone for StreamSocket { fn clone(&self) -> Self { @@ -4136,7 +4136,7 @@ unsafe impl ::windows::core::Interface for StreamSocket { impl ::windows::core::RuntimeName for StreamSocket { const NAME: &'static str = "Windows.Networking.Sockets.StreamSocket"; } -::windows::core::interface_hierarchy!(StreamSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4279,7 +4279,7 @@ impl ::core::fmt::Debug for StreamSocketControl { } } impl ::windows::core::RuntimeType for StreamSocketControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketControl;{fe25adf1-92ab-4af3-9992-0f4c85e36cc4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketControl;{fe25adf1-92ab-4af3-9992-0f4c85e36cc4})"); } impl ::core::clone::Clone for StreamSocketControl { fn clone(&self) -> Self { @@ -4295,7 +4295,7 @@ unsafe impl ::windows::core::Interface for StreamSocketControl { impl ::windows::core::RuntimeName for StreamSocketControl { const NAME: &'static str = "Windows.Networking.Sockets.StreamSocketControl"; } -::windows::core::interface_hierarchy!(StreamSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StreamSocketControl {} unsafe impl ::core::marker::Sync for StreamSocketControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -4421,7 +4421,7 @@ impl ::core::fmt::Debug for StreamSocketInformation { } } impl ::windows::core::RuntimeType for StreamSocketInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketInformation;{3b80ae30-5e68-4205-88f0-dc85d2e25ded})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketInformation;{3b80ae30-5e68-4205-88f0-dc85d2e25ded})"); } impl ::core::clone::Clone for StreamSocketInformation { fn clone(&self) -> Self { @@ -4437,7 +4437,7 @@ unsafe impl ::windows::core::Interface for StreamSocketInformation { impl ::windows::core::RuntimeName for StreamSocketInformation { const NAME: &'static str = "Windows.Networking.Sockets.StreamSocketInformation"; } -::windows::core::interface_hierarchy!(StreamSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StreamSocketInformation {} unsafe impl ::core::marker::Sync for StreamSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -4447,8 +4447,8 @@ impl StreamSocketListener { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4560,7 +4560,7 @@ impl ::core::fmt::Debug for StreamSocketListener { } } impl ::windows::core::RuntimeType for StreamSocketListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListener;{ff513437-df9f-4df0-bf82-0ec5d7b35aae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListener;{ff513437-df9f-4df0-bf82-0ec5d7b35aae})"); } impl ::core::clone::Clone for StreamSocketListener { fn clone(&self) -> Self { @@ -4576,7 +4576,7 @@ unsafe impl ::windows::core::Interface for StreamSocketListener { impl ::windows::core::RuntimeName for StreamSocketListener { const NAME: &'static str = "Windows.Networking.Sockets.StreamSocketListener"; } -::windows::core::interface_hierarchy!(StreamSocketListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamSocketListener, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4625,7 +4625,7 @@ impl ::core::fmt::Debug for StreamSocketListenerConnectionReceivedEventArgs { } } impl ::windows::core::RuntimeType for StreamSocketListenerConnectionReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerConnectionReceivedEventArgs;{0c472ea9-373f-447b-85b1-ddd4548803ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerConnectionReceivedEventArgs;{0c472ea9-373f-447b-85b1-ddd4548803ba})"); } impl ::core::clone::Clone for StreamSocketListenerConnectionReceivedEventArgs { fn clone(&self) -> Self { @@ -4641,7 +4641,7 @@ unsafe impl ::windows::core::Interface for StreamSocketListenerConnectionReceive impl ::windows::core::RuntimeName for StreamSocketListenerConnectionReceivedEventArgs { const NAME: &'static str = "Windows.Networking.Sockets.StreamSocketListenerConnectionReceivedEventArgs"; } -::windows::core::interface_hierarchy!(StreamSocketListenerConnectionReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamSocketListenerConnectionReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StreamSocketListenerConnectionReceivedEventArgs {} unsafe impl ::core::marker::Sync for StreamSocketListenerConnectionReceivedEventArgs {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -4716,7 +4716,7 @@ impl ::core::fmt::Debug for StreamSocketListenerControl { } } impl ::windows::core::RuntimeType for StreamSocketListenerControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerControl;{20d8c576-8d8a-4dba-9722-a16c4d984980})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerControl;{20d8c576-8d8a-4dba-9722-a16c4d984980})"); } impl ::core::clone::Clone for StreamSocketListenerControl { fn clone(&self) -> Self { @@ -4732,7 +4732,7 @@ unsafe impl ::windows::core::Interface for StreamSocketListenerControl { impl ::windows::core::RuntimeName for StreamSocketListenerControl { const NAME: &'static str = "Windows.Networking.Sockets.StreamSocketListenerControl"; } -::windows::core::interface_hierarchy!(StreamSocketListenerControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamSocketListenerControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StreamSocketListenerControl {} unsafe impl ::core::marker::Sync for StreamSocketListenerControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -4759,7 +4759,7 @@ impl ::core::fmt::Debug for StreamSocketListenerInformation { } } impl ::windows::core::RuntimeType for StreamSocketListenerInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerInformation;{e62ba82f-a63a-430b-bf62-29e93e5633b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerInformation;{e62ba82f-a63a-430b-bf62-29e93e5633b4})"); } impl ::core::clone::Clone for StreamSocketListenerInformation { fn clone(&self) -> Self { @@ -4775,7 +4775,7 @@ unsafe impl ::windows::core::Interface for StreamSocketListenerInformation { impl ::windows::core::RuntimeName for StreamSocketListenerInformation { const NAME: &'static str = "Windows.Networking.Sockets.StreamSocketListenerInformation"; } -::windows::core::interface_hierarchy!(StreamSocketListenerInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamSocketListenerInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StreamSocketListenerInformation {} unsafe impl ::core::marker::Sync for StreamSocketListenerInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -4785,8 +4785,8 @@ impl StreamWebSocket { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4887,7 +4887,7 @@ impl ::core::fmt::Debug for StreamWebSocket { } } impl ::windows::core::RuntimeType for StreamWebSocket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocket;{bd4a49d8-b289-45bb-97eb-c7525205a843})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocket;{bd4a49d8-b289-45bb-97eb-c7525205a843})"); } impl ::core::clone::Clone for StreamWebSocket { fn clone(&self) -> Self { @@ -4903,7 +4903,7 @@ unsafe impl ::windows::core::Interface for StreamWebSocket { impl ::windows::core::RuntimeName for StreamWebSocket { const NAME: &'static str = "Windows.Networking.Sockets.StreamWebSocket"; } -::windows::core::interface_hierarchy!(StreamWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamWebSocket, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5073,7 +5073,7 @@ impl ::core::fmt::Debug for StreamWebSocketControl { } } impl ::windows::core::RuntimeType for StreamWebSocketControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocketControl;{b4f478b1-a45a-48db-953a-645b7d964c07})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocketControl;{b4f478b1-a45a-48db-953a-645b7d964c07})"); } impl ::core::clone::Clone for StreamWebSocketControl { fn clone(&self) -> Self { @@ -5089,7 +5089,7 @@ unsafe impl ::windows::core::Interface for StreamWebSocketControl { impl ::windows::core::RuntimeName for StreamWebSocketControl { const NAME: &'static str = "Windows.Networking.Sockets.StreamWebSocketControl"; } -::windows::core::interface_hierarchy!(StreamWebSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamWebSocketControl, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebSocketControl { type Error = ::windows::core::Error; fn try_from(value: StreamWebSocketControl) -> ::windows::core::Result { @@ -5202,7 +5202,7 @@ impl ::core::fmt::Debug for StreamWebSocketInformation { } } impl ::windows::core::RuntimeType for StreamWebSocketInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocketInformation;{5e01e316-c92a-47a5-b25f-07847639d181})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocketInformation;{5e01e316-c92a-47a5-b25f-07847639d181})"); } impl ::core::clone::Clone for StreamWebSocketInformation { fn clone(&self) -> Self { @@ -5218,7 +5218,7 @@ unsafe impl ::windows::core::Interface for StreamWebSocketInformation { impl ::windows::core::RuntimeName for StreamWebSocketInformation { const NAME: &'static str = "Windows.Networking.Sockets.StreamWebSocketInformation"; } -::windows::core::interface_hierarchy!(StreamWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamWebSocketInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebSocketInformation { type Error = ::windows::core::Error; fn try_from(value: StreamWebSocketInformation) -> ::windows::core::Result { @@ -5290,7 +5290,7 @@ impl ::core::fmt::Debug for WebSocketClosedEventArgs { } } impl ::windows::core::RuntimeType for WebSocketClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketClosedEventArgs;{ceb78d07-d0a8-4703-a091-c8c2c0915bc3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketClosedEventArgs;{ceb78d07-d0a8-4703-a091-c8c2c0915bc3})"); } impl ::core::clone::Clone for WebSocketClosedEventArgs { fn clone(&self) -> Self { @@ -5306,7 +5306,7 @@ unsafe impl ::windows::core::Interface for WebSocketClosedEventArgs { impl ::windows::core::RuntimeName for WebSocketClosedEventArgs { const NAME: &'static str = "Windows.Networking.Sockets.WebSocketClosedEventArgs"; } -::windows::core::interface_hierarchy!(WebSocketClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebSocketClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebSocketClosedEventArgs {} unsafe impl ::core::marker::Sync for WebSocketClosedEventArgs {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -5322,7 +5322,7 @@ impl WebSocketError { } #[doc(hidden)] pub fn IWebSocketErrorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5338,8 +5338,8 @@ impl WebSocketKeepAlive { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -5369,7 +5369,7 @@ impl ::core::fmt::Debug for WebSocketKeepAlive { } #[cfg(feature = "ApplicationModel_Background")] impl ::windows::core::RuntimeType for WebSocketKeepAlive { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketKeepAlive;{7d13d534-fd12-43ce-8c22-ea1ff13c06df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketKeepAlive;{7d13d534-fd12-43ce-8c22-ea1ff13c06df})"); } #[cfg(feature = "ApplicationModel_Background")] impl ::core::clone::Clone for WebSocketKeepAlive { @@ -5390,7 +5390,7 @@ impl ::windows::core::RuntimeName for WebSocketKeepAlive { const NAME: &'static str = "Windows.Networking.Sockets.WebSocketKeepAlive"; } #[cfg(feature = "ApplicationModel_Background")] -::windows::core::interface_hierarchy!(WebSocketKeepAlive, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebSocketKeepAlive, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Background")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Background::IBackgroundTask { type Error = ::windows::core::Error; @@ -5481,7 +5481,7 @@ impl ::core::fmt::Debug for WebSocketServerCustomValidationRequestedEventArgs { } } impl ::windows::core::RuntimeType for WebSocketServerCustomValidationRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs;{ffeffe48-022a-4ab7-8b36-e10af4640e6b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs;{ffeffe48-022a-4ab7-8b36-e10af4640e6b})"); } impl ::core::clone::Clone for WebSocketServerCustomValidationRequestedEventArgs { fn clone(&self) -> Self { @@ -5497,7 +5497,7 @@ unsafe impl ::windows::core::Interface for WebSocketServerCustomValidationReques impl ::windows::core::RuntimeName for WebSocketServerCustomValidationRequestedEventArgs { const NAME: &'static str = "Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs"; } -::windows::core::interface_hierarchy!(WebSocketServerCustomValidationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebSocketServerCustomValidationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebSocketServerCustomValidationRequestedEventArgs {} unsafe impl ::core::marker::Sync for WebSocketServerCustomValidationRequestedEventArgs {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -5530,7 +5530,7 @@ impl ::core::fmt::Debug for ControlChannelTriggerResetReason { } } impl ::windows::core::RuntimeType for ControlChannelTriggerResetReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.ControlChannelTriggerResetReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.ControlChannelTriggerResetReason;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5560,7 +5560,7 @@ impl ::core::fmt::Debug for ControlChannelTriggerResourceType { } } impl ::windows::core::RuntimeType for ControlChannelTriggerResourceType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.ControlChannelTriggerResourceType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.ControlChannelTriggerResourceType;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5595,7 +5595,7 @@ impl ::core::fmt::Debug for ControlChannelTriggerStatus { } } impl ::windows::core::RuntimeType for ControlChannelTriggerStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.ControlChannelTriggerStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.ControlChannelTriggerStatus;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5625,7 +5625,7 @@ impl ::core::fmt::Debug for MessageWebSocketReceiveMode { } } impl ::windows::core::RuntimeType for MessageWebSocketReceiveMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.MessageWebSocketReceiveMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.MessageWebSocketReceiveMode;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5655,7 +5655,7 @@ impl ::core::fmt::Debug for SocketActivityConnectedStandbyAction { } } impl ::windows::core::RuntimeType for SocketActivityConnectedStandbyAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketActivityConnectedStandbyAction;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketActivityConnectedStandbyAction;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5687,7 +5687,7 @@ impl ::core::fmt::Debug for SocketActivityKind { } } impl ::windows::core::RuntimeType for SocketActivityKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketActivityKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketActivityKind;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5720,7 +5720,7 @@ impl ::core::fmt::Debug for SocketActivityTriggerReason { } } impl ::windows::core::RuntimeType for SocketActivityTriggerReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketActivityTriggerReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketActivityTriggerReason;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5779,7 +5779,7 @@ impl ::core::fmt::Debug for SocketErrorStatus { } } impl ::windows::core::RuntimeType for SocketErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketErrorStatus;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5809,7 +5809,7 @@ impl ::core::fmt::Debug for SocketMessageType { } } impl ::windows::core::RuntimeType for SocketMessageType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketMessageType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketMessageType;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5847,7 +5847,7 @@ impl ::core::fmt::Debug for SocketProtectionLevel { } } impl ::windows::core::RuntimeType for SocketProtectionLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketProtectionLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketProtectionLevel;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5877,7 +5877,7 @@ impl ::core::fmt::Debug for SocketQualityOfService { } } impl ::windows::core::RuntimeType for SocketQualityOfService { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketQualityOfService;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketQualityOfService;i4)"); } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] @@ -5908,7 +5908,7 @@ impl ::core::fmt::Debug for SocketSslErrorSeverity { } } impl ::windows::core::RuntimeType for SocketSslErrorSeverity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketSslErrorSeverity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Sockets.SocketSslErrorSeverity;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -5935,7 +5935,7 @@ impl ::windows::core::TypeKind for BandwidthStatistics { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for BandwidthStatistics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Networking.Sockets.BandwidthStatistics;u8;u8;u8;u8;b1;b1)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Networking.Sockets.BandwidthStatistics;u8;u8;u8;u8;b1;b1)"); } impl ::core::cmp::PartialEq for BandwidthStatistics { fn eq(&self, other: &Self) -> bool { @@ -5971,7 +5971,7 @@ impl ::windows::core::TypeKind for RoundTripTimeStatistics { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for RoundTripTimeStatistics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Networking.Sockets.RoundTripTimeStatistics;u4;u4;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Networking.Sockets.RoundTripTimeStatistics;u4;u4;u4;u4)"); } impl ::core::cmp::PartialEq for RoundTripTimeStatistics { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index c95b4d059c..11fc3d3a2c 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -327,7 +327,7 @@ impl IVpnChannelStatics { unsafe { (::windows::core::Vtable::vtable(this).ProcessEventAsync)(::windows::core::Vtable::as_raw(this), thirdpartyplugin.into().abi(), event.into().abi()).ok() } } } -::windows::core::interface_hierarchy!(IVpnChannelStatics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnChannelStatics, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnChannelStatics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -340,7 +340,7 @@ impl ::core::fmt::Debug for IVpnChannelStatics { } } impl ::windows::core::RuntimeType for IVpnChannelStatics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{88eb062d-e818-4ffd-98a6-363e3736c95d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{88eb062d-e818-4ffd-98a6-363e3736c95d}"); } unsafe impl ::windows::core::Vtable for IVpnChannelStatics { type Vtable = IVpnChannelStatics_Vtbl; @@ -398,7 +398,7 @@ impl IVpnCredential { } } } -::windows::core::interface_hierarchy!(IVpnCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnCredential { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -411,7 +411,7 @@ impl ::core::fmt::Debug for IVpnCredential { } } impl ::windows::core::RuntimeType for IVpnCredential { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b7e78af3-a46d-404b-8729-1832522853ac}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b7e78af3-a46d-404b-8729-1832522853ac}"); } unsafe impl ::windows::core::Vtable for IVpnCredential { type Vtable = IVpnCredential_Vtbl; @@ -573,7 +573,7 @@ impl IVpnCustomPrompt { } } } -::windows::core::interface_hierarchy!(IVpnCustomPrompt, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnCustomPrompt, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnCustomPrompt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -586,7 +586,7 @@ impl ::core::fmt::Debug for IVpnCustomPrompt { } } impl ::windows::core::RuntimeType for IVpnCustomPrompt { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9b2ebe7b-87d5-433c-b4f6-eee6aa68a244}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9b2ebe7b-87d5-433c-b4f6-eee6aa68a244}"); } unsafe impl ::windows::core::Vtable for IVpnCustomPrompt { type Vtable = IVpnCustomPrompt_Vtbl; @@ -670,7 +670,7 @@ impl IVpnCustomPromptElement { } } } -::windows::core::interface_hierarchy!(IVpnCustomPromptElement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnCustomPromptElement, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnCustomPromptElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -683,7 +683,7 @@ impl ::core::fmt::Debug for IVpnCustomPromptElement { } } impl ::windows::core::RuntimeType for IVpnCustomPromptElement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{73bd5638-6f04-404d-93dd-50a44924a38b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{73bd5638-6f04-404d-93dd-50a44924a38b}"); } unsafe impl ::windows::core::Vtable for IVpnCustomPromptElement { type Vtable = IVpnCustomPromptElement_Vtbl; @@ -902,7 +902,7 @@ impl IVpnDomainNameInfoFactory { } } } -::windows::core::interface_hierarchy!(IVpnDomainNameInfoFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnDomainNameInfoFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnDomainNameInfoFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -915,7 +915,7 @@ impl ::core::fmt::Debug for IVpnDomainNameInfoFactory { } } impl ::windows::core::RuntimeType for IVpnDomainNameInfoFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2507bb75-028f-4688-8d3a-c4531df37da8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2507bb75-028f-4688-8d3a-c4531df37da8}"); } unsafe impl ::windows::core::Vtable for IVpnDomainNameInfoFactory { type Vtable = IVpnDomainNameInfoFactory_Vtbl; @@ -1017,7 +1017,7 @@ impl IVpnInterfaceIdFactory { } } } -::windows::core::interface_hierarchy!(IVpnInterfaceIdFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnInterfaceIdFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnInterfaceIdFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1030,7 +1030,7 @@ impl ::core::fmt::Debug for IVpnInterfaceIdFactory { } } impl ::windows::core::RuntimeType for IVpnInterfaceIdFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9e2ddca2-1712-4ce4-b179-8c652c6d1000}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9e2ddca2-1712-4ce4-b179-8c652c6d1000}"); } unsafe impl ::windows::core::Vtable for IVpnInterfaceIdFactory { type Vtable = IVpnInterfaceIdFactory_Vtbl; @@ -1196,7 +1196,7 @@ impl IVpnNamespaceInfoFactory { } } } -::windows::core::interface_hierarchy!(IVpnNamespaceInfoFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnNamespaceInfoFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnNamespaceInfoFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1209,7 +1209,7 @@ impl ::core::fmt::Debug for IVpnNamespaceInfoFactory { } } impl ::windows::core::RuntimeType for IVpnNamespaceInfoFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{cb3e951a-b0ce-442b-acbb-5f99b202c31c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cb3e951a-b0ce-442b-acbb-5f99b202c31c}"); } unsafe impl ::windows::core::Vtable for IVpnNamespaceInfoFactory { type Vtable = IVpnNamespaceInfoFactory_Vtbl; @@ -1366,7 +1366,7 @@ impl IVpnPacketBufferFactory { } } } -::windows::core::interface_hierarchy!(IVpnPacketBufferFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnPacketBufferFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnPacketBufferFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1379,7 +1379,7 @@ impl ::core::fmt::Debug for IVpnPacketBufferFactory { } } impl ::windows::core::RuntimeType for IVpnPacketBufferFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9e2ddca2-1712-4ce4-b179-8c652c6d9999}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9e2ddca2-1712-4ce4-b179-8c652c6d9999}"); } unsafe impl ::windows::core::Vtable for IVpnPacketBufferFactory { type Vtable = IVpnPacketBufferFactory_Vtbl; @@ -1501,7 +1501,7 @@ impl IVpnPlugIn { unsafe { (::windows::core::Vtable::vtable(this).Decapsulate)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(channel), ::core::mem::transmute_copy(encapbuffer), ::core::mem::transmute_copy(decapsulatedpackets), ::core::mem::transmute_copy(controlpacketstosend)).ok() } } } -::windows::core::interface_hierarchy!(IVpnPlugIn, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnPlugIn, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnPlugIn { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1514,7 +1514,7 @@ impl ::core::fmt::Debug for IVpnPlugIn { } } impl ::windows::core::RuntimeType for IVpnPlugIn { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ceb78d07-d0a8-4703-a091-c8c2c0915bc4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ceb78d07-d0a8-4703-a091-c8c2c0915bc4}"); } unsafe impl ::windows::core::Vtable for IVpnPlugIn { type Vtable = IVpnPlugIn_Vtbl; @@ -1660,7 +1660,7 @@ impl IVpnProfile { unsafe { (::windows::core::Vtable::vtable(this).SetAlwaysOn)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(IVpnProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1673,7 +1673,7 @@ impl ::core::fmt::Debug for IVpnProfile { } } impl ::windows::core::RuntimeType for IVpnProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{7875b751-b0d7-43db-8a93-d3fe2479e56a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{7875b751-b0d7-43db-8a93-d3fe2479e56a}"); } unsafe impl ::windows::core::Vtable for IVpnProfile { type Vtable = IVpnProfile_Vtbl; @@ -1801,7 +1801,7 @@ impl IVpnRouteFactory { } } } -::windows::core::interface_hierarchy!(IVpnRouteFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVpnRouteFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVpnRouteFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1814,7 +1814,7 @@ impl ::core::fmt::Debug for IVpnRouteFactory { } } impl ::windows::core::RuntimeType for IVpnRouteFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{bdeab5ff-45cf-4b99-83fb-db3bc2672b02}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{bdeab5ff-45cf-4b99-83fb-db3bc2672b02}"); } unsafe impl ::windows::core::Vtable for IVpnRouteFactory { type Vtable = IVpnRouteFactory_Vtbl; @@ -1982,7 +1982,7 @@ impl VpnAppId { } #[doc(hidden)] pub fn IVpnAppIdFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1998,7 +1998,7 @@ impl ::core::fmt::Debug for VpnAppId { } } impl ::windows::core::RuntimeType for VpnAppId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnAppId;{7b06a635-5c58-41d9-94a7-bfbcf1d8ca54})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnAppId;{7b06a635-5c58-41d9-94a7-bfbcf1d8ca54})"); } impl ::core::clone::Clone for VpnAppId { fn clone(&self) -> Self { @@ -2014,7 +2014,7 @@ unsafe impl ::windows::core::Interface for VpnAppId { impl ::windows::core::RuntimeName for VpnAppId { const NAME: &'static str = "Windows.Networking.Vpn.VpnAppId"; } -::windows::core::interface_hierarchy!(VpnAppId, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnAppId, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnAppId {} unsafe impl ::core::marker::Sync for VpnAppId {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -2338,7 +2338,7 @@ impl VpnChannel { } #[doc(hidden)] pub fn IVpnChannelStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2354,7 +2354,7 @@ impl ::core::fmt::Debug for VpnChannel { } } impl ::windows::core::RuntimeType for VpnChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannel;{4ac78d07-d1a8-4303-a091-c8d2e0915bc3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannel;{4ac78d07-d1a8-4303-a091-c8d2e0915bc3})"); } impl ::core::clone::Clone for VpnChannel { fn clone(&self) -> Self { @@ -2370,7 +2370,7 @@ unsafe impl ::windows::core::Interface for VpnChannel { impl ::windows::core::RuntimeName for VpnChannel { const NAME: &'static str = "Windows.Networking.Vpn.VpnChannel"; } -::windows::core::interface_hierarchy!(VpnChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnChannel {} unsafe impl ::core::marker::Sync for VpnChannel {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -2397,7 +2397,7 @@ impl ::core::fmt::Debug for VpnChannelActivityEventArgs { } } impl ::windows::core::RuntimeType for VpnChannelActivityEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelActivityEventArgs;{a36c88f2-afdc-4775-855d-d4ac0a35fc55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelActivityEventArgs;{a36c88f2-afdc-4775-855d-d4ac0a35fc55})"); } impl ::core::clone::Clone for VpnChannelActivityEventArgs { fn clone(&self) -> Self { @@ -2413,7 +2413,7 @@ unsafe impl ::windows::core::Interface for VpnChannelActivityEventArgs { impl ::windows::core::RuntimeName for VpnChannelActivityEventArgs { const NAME: &'static str = "Windows.Networking.Vpn.VpnChannelActivityEventArgs"; } -::windows::core::interface_hierarchy!(VpnChannelActivityEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnChannelActivityEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnChannelActivityEventArgs {} unsafe impl ::core::marker::Sync for VpnChannelActivityEventArgs {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -2440,7 +2440,7 @@ impl ::core::fmt::Debug for VpnChannelActivityStateChangedArgs { } } impl ::windows::core::RuntimeType for VpnChannelActivityStateChangedArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelActivityStateChangedArgs;{3d750565-fdc0-4bbe-a23b-45fffc6d97a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelActivityStateChangedArgs;{3d750565-fdc0-4bbe-a23b-45fffc6d97a1})"); } impl ::core::clone::Clone for VpnChannelActivityStateChangedArgs { fn clone(&self) -> Self { @@ -2456,7 +2456,7 @@ unsafe impl ::windows::core::Interface for VpnChannelActivityStateChangedArgs { impl ::windows::core::RuntimeName for VpnChannelActivityStateChangedArgs { const NAME: &'static str = "Windows.Networking.Vpn.VpnChannelActivityStateChangedArgs"; } -::windows::core::interface_hierarchy!(VpnChannelActivityStateChangedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnChannelActivityStateChangedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnChannelActivityStateChangedArgs {} unsafe impl ::core::marker::Sync for VpnChannelActivityStateChangedArgs {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -2508,7 +2508,7 @@ impl ::core::fmt::Debug for VpnChannelConfiguration { } } impl ::windows::core::RuntimeType for VpnChannelConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelConfiguration;{0e2ddca2-2012-4fe4-b179-8c652c6d107e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelConfiguration;{0e2ddca2-2012-4fe4-b179-8c652c6d107e})"); } impl ::core::clone::Clone for VpnChannelConfiguration { fn clone(&self) -> Self { @@ -2524,7 +2524,7 @@ unsafe impl ::windows::core::Interface for VpnChannelConfiguration { impl ::windows::core::RuntimeName for VpnChannelConfiguration { const NAME: &'static str = "Windows.Networking.Vpn.VpnChannelConfiguration"; } -::windows::core::interface_hierarchy!(VpnChannelConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnChannelConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnChannelConfiguration {} unsafe impl ::core::marker::Sync for VpnChannelConfiguration {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -2578,7 +2578,7 @@ impl ::core::fmt::Debug for VpnCredential { } } impl ::windows::core::RuntimeType for VpnCredential { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCredential;{b7e78af3-a46d-404b-8729-1832522853ac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCredential;{b7e78af3-a46d-404b-8729-1832522853ac})"); } impl ::core::clone::Clone for VpnCredential { fn clone(&self) -> Self { @@ -2594,7 +2594,7 @@ unsafe impl ::windows::core::Interface for VpnCredential { impl ::windows::core::RuntimeName for VpnCredential { const NAME: &'static str = "Windows.Networking.Vpn.VpnCredential"; } -::windows::core::interface_hierarchy!(VpnCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCredential { type Error = ::windows::core::Error; fn try_from(value: VpnCredential) -> ::windows::core::Result { @@ -2623,8 +2623,8 @@ impl VpnCustomCheckBox { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetInitialCheckState(&self, value: bool) -> ::windows::core::Result<()> { @@ -2691,7 +2691,7 @@ impl ::core::fmt::Debug for VpnCustomCheckBox { } } impl ::windows::core::RuntimeType for VpnCustomCheckBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomCheckBox;{43878753-03c5-4e61-93d7-a957714c4282})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomCheckBox;{43878753-03c5-4e61-93d7-a957714c4282})"); } impl ::core::clone::Clone for VpnCustomCheckBox { fn clone(&self) -> Self { @@ -2707,7 +2707,7 @@ unsafe impl ::windows::core::Interface for VpnCustomCheckBox { impl ::windows::core::RuntimeName for VpnCustomCheckBox { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomCheckBox"; } -::windows::core::interface_hierarchy!(VpnCustomCheckBox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomCheckBox, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPrompt { type Error = ::windows::core::Error; fn try_from(value: VpnCustomCheckBox) -> ::windows::core::Result { @@ -2736,8 +2736,8 @@ impl VpnCustomComboBox { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2812,7 +2812,7 @@ impl ::core::fmt::Debug for VpnCustomComboBox { } } impl ::windows::core::RuntimeType for VpnCustomComboBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomComboBox;{9a24158e-dba1-4c6f-8270-dcf3c9761c4c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomComboBox;{9a24158e-dba1-4c6f-8270-dcf3c9761c4c})"); } impl ::core::clone::Clone for VpnCustomComboBox { fn clone(&self) -> Self { @@ -2828,7 +2828,7 @@ unsafe impl ::windows::core::Interface for VpnCustomComboBox { impl ::windows::core::RuntimeName for VpnCustomComboBox { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomComboBox"; } -::windows::core::interface_hierarchy!(VpnCustomComboBox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomComboBox, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPrompt { type Error = ::windows::core::Error; fn try_from(value: VpnCustomComboBox) -> ::windows::core::Result { @@ -2857,8 +2857,8 @@ impl VpnCustomEditBox { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetDefaultText(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -2936,7 +2936,7 @@ impl ::core::fmt::Debug for VpnCustomEditBox { } } impl ::windows::core::RuntimeType for VpnCustomEditBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomEditBox;{3002d9a0-cfbf-4c0b-8f3c-66f503c20b39})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomEditBox;{3002d9a0-cfbf-4c0b-8f3c-66f503c20b39})"); } impl ::core::clone::Clone for VpnCustomEditBox { fn clone(&self) -> Self { @@ -2952,7 +2952,7 @@ unsafe impl ::windows::core::Interface for VpnCustomEditBox { impl ::windows::core::RuntimeName for VpnCustomEditBox { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomEditBox"; } -::windows::core::interface_hierarchy!(VpnCustomEditBox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomEditBox, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPrompt { type Error = ::windows::core::Error; fn try_from(value: VpnCustomEditBox) -> ::windows::core::Result { @@ -2981,8 +2981,8 @@ impl VpnCustomErrorBox { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetLabel(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -3031,7 +3031,7 @@ impl ::core::fmt::Debug for VpnCustomErrorBox { } } impl ::windows::core::RuntimeType for VpnCustomErrorBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomErrorBox;{9ec4efb2-c942-42af-b223-588b48328721})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomErrorBox;{9ec4efb2-c942-42af-b223-588b48328721})"); } impl ::core::clone::Clone for VpnCustomErrorBox { fn clone(&self) -> Self { @@ -3047,7 +3047,7 @@ unsafe impl ::windows::core::Interface for VpnCustomErrorBox { impl ::windows::core::RuntimeName for VpnCustomErrorBox { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomErrorBox"; } -::windows::core::interface_hierarchy!(VpnCustomErrorBox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomErrorBox, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPrompt { type Error = ::windows::core::Error; fn try_from(value: VpnCustomErrorBox) -> ::windows::core::Result { @@ -3076,8 +3076,8 @@ impl VpnCustomPromptBooleanInput { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetInitialValue(&self, value: bool) -> ::windows::core::Result<()> { @@ -3144,7 +3144,7 @@ impl ::core::fmt::Debug for VpnCustomPromptBooleanInput { } } impl ::windows::core::RuntimeType for VpnCustomPromptBooleanInput { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptBooleanInput;{c4c9a69e-ff47-4527-9f27-a49292019979})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptBooleanInput;{c4c9a69e-ff47-4527-9f27-a49292019979})"); } impl ::core::clone::Clone for VpnCustomPromptBooleanInput { fn clone(&self) -> Self { @@ -3160,7 +3160,7 @@ unsafe impl ::windows::core::Interface for VpnCustomPromptBooleanInput { impl ::windows::core::RuntimeName for VpnCustomPromptBooleanInput { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomPromptBooleanInput"; } -::windows::core::interface_hierarchy!(VpnCustomPromptBooleanInput, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomPromptBooleanInput, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPromptElement { type Error = ::windows::core::Error; fn try_from(value: VpnCustomPromptBooleanInput) -> ::windows::core::Result { @@ -3189,8 +3189,8 @@ impl VpnCustomPromptOptionSelector { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetDisplayName(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -3255,7 +3255,7 @@ impl ::core::fmt::Debug for VpnCustomPromptOptionSelector { } } impl ::windows::core::RuntimeType for VpnCustomPromptOptionSelector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptOptionSelector;{3b8f34d9-8ec1-4e95-9a4e-7ba64d38f330})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptOptionSelector;{3b8f34d9-8ec1-4e95-9a4e-7ba64d38f330})"); } impl ::core::clone::Clone for VpnCustomPromptOptionSelector { fn clone(&self) -> Self { @@ -3271,7 +3271,7 @@ unsafe impl ::windows::core::Interface for VpnCustomPromptOptionSelector { impl ::windows::core::RuntimeName for VpnCustomPromptOptionSelector { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomPromptOptionSelector"; } -::windows::core::interface_hierarchy!(VpnCustomPromptOptionSelector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomPromptOptionSelector, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPromptElement { type Error = ::windows::core::Error; fn try_from(value: VpnCustomPromptOptionSelector) -> ::windows::core::Result { @@ -3300,8 +3300,8 @@ impl VpnCustomPromptText { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetDisplayName(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -3361,7 +3361,7 @@ impl ::core::fmt::Debug for VpnCustomPromptText { } } impl ::windows::core::RuntimeType for VpnCustomPromptText { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptText;{3bc8bdee-3a42-49a3-abdd-07b2edea752d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptText;{3bc8bdee-3a42-49a3-abdd-07b2edea752d})"); } impl ::core::clone::Clone for VpnCustomPromptText { fn clone(&self) -> Self { @@ -3377,7 +3377,7 @@ unsafe impl ::windows::core::Interface for VpnCustomPromptText { impl ::windows::core::RuntimeName for VpnCustomPromptText { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomPromptText"; } -::windows::core::interface_hierarchy!(VpnCustomPromptText, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomPromptText, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPromptElement { type Error = ::windows::core::Error; fn try_from(value: VpnCustomPromptText) -> ::windows::core::Result { @@ -3406,8 +3406,8 @@ impl VpnCustomPromptTextInput { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetDisplayName(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -3485,7 +3485,7 @@ impl ::core::fmt::Debug for VpnCustomPromptTextInput { } } impl ::windows::core::RuntimeType for VpnCustomPromptTextInput { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptTextInput;{c9da9c75-913c-47d5-88ba-48fc48930235})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptTextInput;{c9da9c75-913c-47d5-88ba-48fc48930235})"); } impl ::core::clone::Clone for VpnCustomPromptTextInput { fn clone(&self) -> Self { @@ -3501,7 +3501,7 @@ unsafe impl ::windows::core::Interface for VpnCustomPromptTextInput { impl ::windows::core::RuntimeName for VpnCustomPromptTextInput { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomPromptTextInput"; } -::windows::core::interface_hierarchy!(VpnCustomPromptTextInput, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomPromptTextInput, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPromptElement { type Error = ::windows::core::Error; fn try_from(value: VpnCustomPromptTextInput) -> ::windows::core::Result { @@ -3530,8 +3530,8 @@ impl VpnCustomTextBox { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetLabel(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -3591,7 +3591,7 @@ impl ::core::fmt::Debug for VpnCustomTextBox { } } impl ::windows::core::RuntimeType for VpnCustomTextBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomTextBox;{daa4c3ca-8f23-4d36-91f1-76d937827942})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomTextBox;{daa4c3ca-8f23-4d36-91f1-76d937827942})"); } impl ::core::clone::Clone for VpnCustomTextBox { fn clone(&self) -> Self { @@ -3607,7 +3607,7 @@ unsafe impl ::windows::core::Interface for VpnCustomTextBox { impl ::windows::core::RuntimeName for VpnCustomTextBox { const NAME: &'static str = "Windows.Networking.Vpn.VpnCustomTextBox"; } -::windows::core::interface_hierarchy!(VpnCustomTextBox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnCustomTextBox, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnCustomPrompt { type Error = ::windows::core::Error; fn try_from(value: VpnCustomTextBox) -> ::windows::core::Result { @@ -3636,8 +3636,8 @@ impl VpnDomainNameAssignment { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3677,7 +3677,7 @@ impl ::core::fmt::Debug for VpnDomainNameAssignment { } } impl ::windows::core::RuntimeType for VpnDomainNameAssignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnDomainNameAssignment;{4135b141-ccdb-49b5-9401-039a8ae767e9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnDomainNameAssignment;{4135b141-ccdb-49b5-9401-039a8ae767e9})"); } impl ::core::clone::Clone for VpnDomainNameAssignment { fn clone(&self) -> Self { @@ -3693,7 +3693,7 @@ unsafe impl ::windows::core::Interface for VpnDomainNameAssignment { impl ::windows::core::RuntimeName for VpnDomainNameAssignment { const NAME: &'static str = "Windows.Networking.Vpn.VpnDomainNameAssignment"; } -::windows::core::interface_hierarchy!(VpnDomainNameAssignment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnDomainNameAssignment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnDomainNameAssignment {} unsafe impl ::core::marker::Sync for VpnDomainNameAssignment {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -3765,7 +3765,7 @@ impl VpnDomainNameInfo { } #[doc(hidden)] pub fn IVpnDomainNameInfoFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3781,7 +3781,7 @@ impl ::core::fmt::Debug for VpnDomainNameInfo { } } impl ::windows::core::RuntimeType for VpnDomainNameInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnDomainNameInfo;{ad2eb82f-ea8e-4f7a-843e-1a87e32e1b9a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnDomainNameInfo;{ad2eb82f-ea8e-4f7a-843e-1a87e32e1b9a})"); } impl ::core::clone::Clone for VpnDomainNameInfo { fn clone(&self) -> Self { @@ -3797,7 +3797,7 @@ unsafe impl ::windows::core::Interface for VpnDomainNameInfo { impl ::windows::core::RuntimeName for VpnDomainNameInfo { const NAME: &'static str = "Windows.Networking.Vpn.VpnDomainNameInfo"; } -::windows::core::interface_hierarchy!(VpnDomainNameInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnDomainNameInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnDomainNameInfo {} unsafe impl ::core::marker::Sync for VpnDomainNameInfo {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -3876,7 +3876,7 @@ impl ::core::fmt::Debug for VpnForegroundActivatedEventArgs { } } impl ::windows::core::RuntimeType for VpnForegroundActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnForegroundActivatedEventArgs;{85b465b0-cadb-4d70-ac92-543a24dc9ebc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnForegroundActivatedEventArgs;{85b465b0-cadb-4d70-ac92-543a24dc9ebc})"); } impl ::core::clone::Clone for VpnForegroundActivatedEventArgs { fn clone(&self) -> Self { @@ -3892,7 +3892,7 @@ unsafe impl ::windows::core::Interface for VpnForegroundActivatedEventArgs { impl ::windows::core::RuntimeName for VpnForegroundActivatedEventArgs { const NAME: &'static str = "Windows.Networking.Vpn.VpnForegroundActivatedEventArgs"; } -::windows::core::interface_hierarchy!(VpnForegroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnForegroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3962,7 +3962,7 @@ impl ::core::fmt::Debug for VpnForegroundActivationOperation { } } impl ::windows::core::RuntimeType for VpnForegroundActivationOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnForegroundActivationOperation;{9e010d57-f17a-4bd5-9b6d-f984f1297d3c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnForegroundActivationOperation;{9e010d57-f17a-4bd5-9b6d-f984f1297d3c})"); } impl ::core::clone::Clone for VpnForegroundActivationOperation { fn clone(&self) -> Self { @@ -3978,7 +3978,7 @@ unsafe impl ::windows::core::Interface for VpnForegroundActivationOperation { impl ::windows::core::RuntimeName for VpnForegroundActivationOperation { const NAME: &'static str = "Windows.Networking.Vpn.VpnForegroundActivationOperation"; } -::windows::core::interface_hierarchy!(VpnForegroundActivationOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnForegroundActivationOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnForegroundActivationOperation {} unsafe impl ::core::marker::Sync for VpnForegroundActivationOperation {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -3997,7 +3997,7 @@ impl VpnInterfaceId { } #[doc(hidden)] pub fn IVpnInterfaceIdFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4013,7 +4013,7 @@ impl ::core::fmt::Debug for VpnInterfaceId { } } impl ::windows::core::RuntimeType for VpnInterfaceId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnInterfaceId;{9e2ddca2-1712-4ce4-b179-8c652c6d1011})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnInterfaceId;{9e2ddca2-1712-4ce4-b179-8c652c6d1011})"); } impl ::core::clone::Clone for VpnInterfaceId { fn clone(&self) -> Self { @@ -4029,7 +4029,7 @@ unsafe impl ::windows::core::Interface for VpnInterfaceId { impl ::windows::core::RuntimeName for VpnInterfaceId { const NAME: &'static str = "Windows.Networking.Vpn.VpnInterfaceId"; } -::windows::core::interface_hierarchy!(VpnInterfaceId, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnInterfaceId, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnInterfaceId {} unsafe impl ::core::marker::Sync for VpnInterfaceId {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -4039,8 +4039,8 @@ impl VpnManagementAgent { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4161,7 +4161,7 @@ impl ::core::fmt::Debug for VpnManagementAgent { } } impl ::windows::core::RuntimeType for VpnManagementAgent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnManagementAgent;{193696cd-a5c4-4abe-852b-785be4cb3e34})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnManagementAgent;{193696cd-a5c4-4abe-852b-785be4cb3e34})"); } impl ::core::clone::Clone for VpnManagementAgent { fn clone(&self) -> Self { @@ -4177,7 +4177,7 @@ unsafe impl ::windows::core::Interface for VpnManagementAgent { impl ::windows::core::RuntimeName for VpnManagementAgent { const NAME: &'static str = "Windows.Networking.Vpn.VpnManagementAgent"; } -::windows::core::interface_hierarchy!(VpnManagementAgent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnManagementAgent, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnManagementAgent {} unsafe impl ::core::marker::Sync for VpnManagementAgent {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -4187,8 +4187,8 @@ impl VpnNamespaceAssignment { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4238,7 +4238,7 @@ impl ::core::fmt::Debug for VpnNamespaceAssignment { } } impl ::windows::core::RuntimeType for VpnNamespaceAssignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNamespaceAssignment;{d7f7db18-307d-4c0e-bd62-8fa270bbadd6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNamespaceAssignment;{d7f7db18-307d-4c0e-bd62-8fa270bbadd6})"); } impl ::core::clone::Clone for VpnNamespaceAssignment { fn clone(&self) -> Self { @@ -4254,7 +4254,7 @@ unsafe impl ::windows::core::Interface for VpnNamespaceAssignment { impl ::windows::core::RuntimeName for VpnNamespaceAssignment { const NAME: &'static str = "Windows.Networking.Vpn.VpnNamespaceAssignment"; } -::windows::core::interface_hierarchy!(VpnNamespaceAssignment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnNamespaceAssignment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnNamespaceAssignment {} unsafe impl ::core::marker::Sync for VpnNamespaceAssignment {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -4326,7 +4326,7 @@ impl VpnNamespaceInfo { } #[doc(hidden)] pub fn IVpnNamespaceInfoFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4342,7 +4342,7 @@ impl ::core::fmt::Debug for VpnNamespaceInfo { } } impl ::windows::core::RuntimeType for VpnNamespaceInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNamespaceInfo;{30edfb43-444f-44c5-8167-a35a91f1af94})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNamespaceInfo;{30edfb43-444f-44c5-8167-a35a91f1af94})"); } impl ::core::clone::Clone for VpnNamespaceInfo { fn clone(&self) -> Self { @@ -4358,7 +4358,7 @@ unsafe impl ::windows::core::Interface for VpnNamespaceInfo { impl ::windows::core::RuntimeName for VpnNamespaceInfo { const NAME: &'static str = "Windows.Networking.Vpn.VpnNamespaceInfo"; } -::windows::core::interface_hierarchy!(VpnNamespaceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnNamespaceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnNamespaceInfo {} unsafe impl ::core::marker::Sync for VpnNamespaceInfo {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -4368,8 +4368,8 @@ impl VpnNativeProfile { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4536,7 +4536,7 @@ impl ::core::fmt::Debug for VpnNativeProfile { } } impl ::windows::core::RuntimeType for VpnNativeProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNativeProfile;{a4aee29e-6417-4333-9842-f0a66db69802})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNativeProfile;{a4aee29e-6417-4333-9842-f0a66db69802})"); } impl ::core::clone::Clone for VpnNativeProfile { fn clone(&self) -> Self { @@ -4552,7 +4552,7 @@ unsafe impl ::windows::core::Interface for VpnNativeProfile { impl ::windows::core::RuntimeName for VpnNativeProfile { const NAME: &'static str = "Windows.Networking.Vpn.VpnNativeProfile"; } -::windows::core::interface_hierarchy!(VpnNativeProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnNativeProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnProfile { type Error = ::windows::core::Error; fn try_from(value: VpnNativeProfile) -> ::windows::core::Result { @@ -4638,7 +4638,7 @@ impl VpnPacketBuffer { } #[doc(hidden)] pub fn IVpnPacketBufferFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4654,7 +4654,7 @@ impl ::core::fmt::Debug for VpnPacketBuffer { } } impl ::windows::core::RuntimeType for VpnPacketBuffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPacketBuffer;{c2f891fc-4d5c-4a63-b70d-4e307eacce55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPacketBuffer;{c2f891fc-4d5c-4a63-b70d-4e307eacce55})"); } impl ::core::clone::Clone for VpnPacketBuffer { fn clone(&self) -> Self { @@ -4670,7 +4670,7 @@ unsafe impl ::windows::core::Interface for VpnPacketBuffer { impl ::windows::core::RuntimeName for VpnPacketBuffer { const NAME: &'static str = "Windows.Networking.Vpn.VpnPacketBuffer"; } -::windows::core::interface_hierarchy!(VpnPacketBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnPacketBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnPacketBuffer {} unsafe impl ::core::marker::Sync for VpnPacketBuffer {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -4743,7 +4743,7 @@ impl ::core::fmt::Debug for VpnPacketBufferList { } } impl ::windows::core::RuntimeType for VpnPacketBufferList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPacketBufferList;{c2f891fc-4d5c-4a63-b70d-4e307eacce77})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPacketBufferList;{c2f891fc-4d5c-4a63-b70d-4e307eacce77})"); } impl ::core::clone::Clone for VpnPacketBufferList { fn clone(&self) -> Self { @@ -4775,7 +4775,7 @@ impl ::core::iter::IntoIterator for &VpnPacketBufferList { self.First().unwrap() } } -::windows::core::interface_hierarchy!(VpnPacketBufferList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnPacketBufferList, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -4842,7 +4842,7 @@ impl ::core::fmt::Debug for VpnPickedCredential { } } impl ::windows::core::RuntimeType for VpnPickedCredential { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPickedCredential;{9a793ac7-8854-4e52-ad97-24dd9a842bce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPickedCredential;{9a793ac7-8854-4e52-ad97-24dd9a842bce})"); } impl ::core::clone::Clone for VpnPickedCredential { fn clone(&self) -> Self { @@ -4858,7 +4858,7 @@ unsafe impl ::windows::core::Interface for VpnPickedCredential { impl ::windows::core::RuntimeName for VpnPickedCredential { const NAME: &'static str = "Windows.Networking.Vpn.VpnPickedCredential"; } -::windows::core::interface_hierarchy!(VpnPickedCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnPickedCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnPickedCredential {} unsafe impl ::core::marker::Sync for VpnPickedCredential {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -4868,8 +4868,8 @@ impl VpnPlugInProfile { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5003,7 +5003,7 @@ impl ::core::fmt::Debug for VpnPlugInProfile { } } impl ::windows::core::RuntimeType for VpnPlugInProfile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPlugInProfile;{0edf0da4-4f00-4589-8d7b-4bf988f6542c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPlugInProfile;{0edf0da4-4f00-4589-8d7b-4bf988f6542c})"); } impl ::core::clone::Clone for VpnPlugInProfile { fn clone(&self) -> Self { @@ -5019,7 +5019,7 @@ unsafe impl ::windows::core::Interface for VpnPlugInProfile { impl ::windows::core::RuntimeName for VpnPlugInProfile { const NAME: &'static str = "Windows.Networking.Vpn.VpnPlugInProfile"; } -::windows::core::interface_hierarchy!(VpnPlugInProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnPlugInProfile, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IVpnProfile { type Error = ::windows::core::Error; fn try_from(value: VpnPlugInProfile) -> ::windows::core::Result { @@ -5075,7 +5075,7 @@ impl VpnRoute { } #[doc(hidden)] pub fn IVpnRouteFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5091,7 +5091,7 @@ impl ::core::fmt::Debug for VpnRoute { } } impl ::windows::core::RuntimeType for VpnRoute { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnRoute;{b5731b83-0969-4699-938e-7776db29cfb3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnRoute;{b5731b83-0969-4699-938e-7776db29cfb3})"); } impl ::core::clone::Clone for VpnRoute { fn clone(&self) -> Self { @@ -5107,7 +5107,7 @@ unsafe impl ::windows::core::Interface for VpnRoute { impl ::windows::core::RuntimeName for VpnRoute { const NAME: &'static str = "Windows.Networking.Vpn.VpnRoute"; } -::windows::core::interface_hierarchy!(VpnRoute, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnRoute, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnRoute {} unsafe impl ::core::marker::Sync for VpnRoute {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -5117,8 +5117,8 @@ impl VpnRouteAssignment { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5221,7 +5221,7 @@ impl ::core::fmt::Debug for VpnRouteAssignment { } } impl ::windows::core::RuntimeType for VpnRouteAssignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnRouteAssignment;{db64de22-ce39-4a76-9550-f61039f80e48})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnRouteAssignment;{db64de22-ce39-4a76-9550-f61039f80e48})"); } impl ::core::clone::Clone for VpnRouteAssignment { fn clone(&self) -> Self { @@ -5237,7 +5237,7 @@ unsafe impl ::windows::core::Interface for VpnRouteAssignment { impl ::windows::core::RuntimeName for VpnRouteAssignment { const NAME: &'static str = "Windows.Networking.Vpn.VpnRouteAssignment"; } -::windows::core::interface_hierarchy!(VpnRouteAssignment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnRouteAssignment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnRouteAssignment {} unsafe impl ::core::marker::Sync for VpnRouteAssignment {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -5266,7 +5266,7 @@ impl ::core::fmt::Debug for VpnSystemHealth { } } impl ::windows::core::RuntimeType for VpnSystemHealth { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnSystemHealth;{99a8f8af-c0ee-4e75-817a-f231aee5123d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnSystemHealth;{99a8f8af-c0ee-4e75-817a-f231aee5123d})"); } impl ::core::clone::Clone for VpnSystemHealth { fn clone(&self) -> Self { @@ -5282,7 +5282,7 @@ unsafe impl ::windows::core::Interface for VpnSystemHealth { impl ::windows::core::RuntimeName for VpnSystemHealth { const NAME: &'static str = "Windows.Networking.Vpn.VpnSystemHealth"; } -::windows::core::interface_hierarchy!(VpnSystemHealth, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnSystemHealth, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnSystemHealth {} unsafe impl ::core::marker::Sync for VpnSystemHealth {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -5375,7 +5375,7 @@ impl VpnTrafficFilter { } #[doc(hidden)] pub fn IVpnTrafficFilterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5391,7 +5391,7 @@ impl ::core::fmt::Debug for VpnTrafficFilter { } } impl ::windows::core::RuntimeType for VpnTrafficFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnTrafficFilter;{2f691b60-6c9f-47f5-ac36-bb1b042e2c50})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnTrafficFilter;{2f691b60-6c9f-47f5-ac36-bb1b042e2c50})"); } impl ::core::clone::Clone for VpnTrafficFilter { fn clone(&self) -> Self { @@ -5407,7 +5407,7 @@ unsafe impl ::windows::core::Interface for VpnTrafficFilter { impl ::windows::core::RuntimeName for VpnTrafficFilter { const NAME: &'static str = "Windows.Networking.Vpn.VpnTrafficFilter"; } -::windows::core::interface_hierarchy!(VpnTrafficFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnTrafficFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnTrafficFilter {} unsafe impl ::core::marker::Sync for VpnTrafficFilter {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -5417,8 +5417,8 @@ impl VpnTrafficFilterAssignment { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5465,7 +5465,7 @@ impl ::core::fmt::Debug for VpnTrafficFilterAssignment { } } impl ::windows::core::RuntimeType for VpnTrafficFilterAssignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnTrafficFilterAssignment;{56ccd45c-e664-471e-89cd-601603b9e0f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnTrafficFilterAssignment;{56ccd45c-e664-471e-89cd-601603b9e0f3})"); } impl ::core::clone::Clone for VpnTrafficFilterAssignment { fn clone(&self) -> Self { @@ -5481,7 +5481,7 @@ unsafe impl ::windows::core::Interface for VpnTrafficFilterAssignment { impl ::windows::core::RuntimeName for VpnTrafficFilterAssignment { const NAME: &'static str = "Windows.Networking.Vpn.VpnTrafficFilterAssignment"; } -::windows::core::interface_hierarchy!(VpnTrafficFilterAssignment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VpnTrafficFilterAssignment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VpnTrafficFilterAssignment {} unsafe impl ::core::marker::Sync for VpnTrafficFilterAssignment {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] @@ -5513,7 +5513,7 @@ impl ::core::fmt::Debug for VpnAppIdType { } } impl ::windows::core::RuntimeType for VpnAppIdType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnAppIdType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnAppIdType;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5545,7 +5545,7 @@ impl ::core::fmt::Debug for VpnAuthenticationMethod { } } impl ::windows::core::RuntimeType for VpnAuthenticationMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnAuthenticationMethod;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnAuthenticationMethod;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5575,7 +5575,7 @@ impl ::core::fmt::Debug for VpnChannelActivityEventType { } } impl ::windows::core::RuntimeType for VpnChannelActivityEventType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnChannelActivityEventType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnChannelActivityEventType;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5639,7 +5639,7 @@ impl ::core::ops::Not for VpnChannelRequestCredentialsOptions { } } impl ::windows::core::RuntimeType for VpnChannelRequestCredentialsOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnChannelRequestCredentialsOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnChannelRequestCredentialsOptions;u4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5674,7 +5674,7 @@ impl ::core::fmt::Debug for VpnCredentialType { } } impl ::windows::core::RuntimeType for VpnCredentialType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnCredentialType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnCredentialType;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5704,7 +5704,7 @@ impl ::core::fmt::Debug for VpnDataPathType { } } impl ::windows::core::RuntimeType for VpnDataPathType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnDataPathType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnDataPathType;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5735,7 +5735,7 @@ impl ::core::fmt::Debug for VpnDomainNameType { } } impl ::windows::core::RuntimeType for VpnDomainNameType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnDomainNameType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnDomainNameType;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5770,7 +5770,7 @@ impl ::core::fmt::Debug for VpnIPProtocol { } } impl ::windows::core::RuntimeType for VpnIPProtocol { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnIPProtocol;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnIPProtocol;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5802,7 +5802,7 @@ impl ::core::fmt::Debug for VpnManagementConnectionStatus { } } impl ::windows::core::RuntimeType for VpnManagementConnectionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnManagementConnectionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnManagementConnectionStatus;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5849,7 +5849,7 @@ impl ::core::fmt::Debug for VpnManagementErrorStatus { } } impl ::windows::core::RuntimeType for VpnManagementErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnManagementErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnManagementErrorStatus;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5880,7 +5880,7 @@ impl ::core::fmt::Debug for VpnNativeProtocolType { } } impl ::windows::core::RuntimeType for VpnNativeProtocolType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnNativeProtocolType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnNativeProtocolType;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5910,7 +5910,7 @@ impl ::core::fmt::Debug for VpnPacketBufferStatus { } } impl ::windows::core::RuntimeType for VpnPacketBufferStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnPacketBufferStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnPacketBufferStatus;i4)"); } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] @@ -5940,7 +5940,7 @@ impl ::core::fmt::Debug for VpnRoutingPolicyType { } } impl ::windows::core::RuntimeType for VpnRoutingPolicyType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnRoutingPolicyType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Vpn.VpnRoutingPolicyType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs index 3d5ea0431f..214afb4532 100644 --- a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs @@ -509,7 +509,7 @@ impl XboxLiveDeviceAddress { } #[doc(hidden)] pub fn IXboxLiveDeviceAddressStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -525,7 +525,7 @@ impl ::core::fmt::Debug for XboxLiveDeviceAddress { } } impl ::windows::core::RuntimeType for XboxLiveDeviceAddress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveDeviceAddress;{f5bbd279-3c86-4b57-a31a-b9462408fd01})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveDeviceAddress;{f5bbd279-3c86-4b57-a31a-b9462408fd01})"); } impl ::core::clone::Clone for XboxLiveDeviceAddress { fn clone(&self) -> Self { @@ -541,7 +541,7 @@ unsafe impl ::windows::core::Interface for XboxLiveDeviceAddress { impl ::windows::core::RuntimeName for XboxLiveDeviceAddress { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveDeviceAddress"; } -::windows::core::interface_hierarchy!(XboxLiveDeviceAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveDeviceAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveDeviceAddress {} unsafe impl ::core::marker::Sync for XboxLiveDeviceAddress {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -643,7 +643,7 @@ impl XboxLiveEndpointPair { } #[doc(hidden)] pub fn IXboxLiveEndpointPairStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -659,7 +659,7 @@ impl ::core::fmt::Debug for XboxLiveEndpointPair { } } impl ::windows::core::RuntimeType for XboxLiveEndpointPair { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPair;{1e9a839b-813e-44e0-b87f-c87a093475e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPair;{1e9a839b-813e-44e0-b87f-c87a093475e4})"); } impl ::core::clone::Clone for XboxLiveEndpointPair { fn clone(&self) -> Self { @@ -675,7 +675,7 @@ unsafe impl ::windows::core::Interface for XboxLiveEndpointPair { impl ::windows::core::RuntimeName for XboxLiveEndpointPair { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveEndpointPair"; } -::windows::core::interface_hierarchy!(XboxLiveEndpointPair, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveEndpointPair, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveEndpointPair {} unsafe impl ::core::marker::Sync for XboxLiveEndpointPair {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -723,7 +723,7 @@ impl ::core::fmt::Debug for XboxLiveEndpointPairCreationResult { } } impl ::windows::core::RuntimeType for XboxLiveEndpointPairCreationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult;{d9a8bb95-2aab-4d1e-9794-33ecc0dcf0fe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult;{d9a8bb95-2aab-4d1e-9794-33ecc0dcf0fe})"); } impl ::core::clone::Clone for XboxLiveEndpointPairCreationResult { fn clone(&self) -> Self { @@ -739,7 +739,7 @@ unsafe impl ::windows::core::Interface for XboxLiveEndpointPairCreationResult { impl ::windows::core::RuntimeName for XboxLiveEndpointPairCreationResult { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult"; } -::windows::core::interface_hierarchy!(XboxLiveEndpointPairCreationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveEndpointPairCreationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveEndpointPairCreationResult {} unsafe impl ::core::marker::Sync for XboxLiveEndpointPairCreationResult {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -773,7 +773,7 @@ impl ::core::fmt::Debug for XboxLiveEndpointPairStateChangedEventArgs { } } impl ::windows::core::RuntimeType for XboxLiveEndpointPairStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairStateChangedEventArgs;{592e3b55-de08-44e7-ac3b-b9b9a169583a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairStateChangedEventArgs;{592e3b55-de08-44e7-ac3b-b9b9a169583a})"); } impl ::core::clone::Clone for XboxLiveEndpointPairStateChangedEventArgs { fn clone(&self) -> Self { @@ -789,7 +789,7 @@ unsafe impl ::windows::core::Interface for XboxLiveEndpointPairStateChangedEvent impl ::windows::core::RuntimeName for XboxLiveEndpointPairStateChangedEventArgs { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveEndpointPairStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(XboxLiveEndpointPairStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveEndpointPairStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveEndpointPairStateChangedEventArgs {} unsafe impl ::core::marker::Sync for XboxLiveEndpointPairStateChangedEventArgs {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -914,7 +914,7 @@ impl XboxLiveEndpointPairTemplate { } #[doc(hidden)] pub fn IXboxLiveEndpointPairTemplateStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -930,7 +930,7 @@ impl ::core::fmt::Debug for XboxLiveEndpointPairTemplate { } } impl ::windows::core::RuntimeType for XboxLiveEndpointPairTemplate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate;{6b286ecf-3457-40ce-b9a1-c0cfe0213ea7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate;{6b286ecf-3457-40ce-b9a1-c0cfe0213ea7})"); } impl ::core::clone::Clone for XboxLiveEndpointPairTemplate { fn clone(&self) -> Self { @@ -946,7 +946,7 @@ unsafe impl ::windows::core::Interface for XboxLiveEndpointPairTemplate { impl ::windows::core::RuntimeName for XboxLiveEndpointPairTemplate { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate"; } -::windows::core::interface_hierarchy!(XboxLiveEndpointPairTemplate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveEndpointPairTemplate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveEndpointPairTemplate {} unsafe impl ::core::marker::Sync for XboxLiveEndpointPairTemplate {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -973,7 +973,7 @@ impl ::core::fmt::Debug for XboxLiveInboundEndpointPairCreatedEventArgs { } } impl ::windows::core::RuntimeType for XboxLiveInboundEndpointPairCreatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveInboundEndpointPairCreatedEventArgs;{dc183b62-22ba-48d2-80de-c23968bd198b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveInboundEndpointPairCreatedEventArgs;{dc183b62-22ba-48d2-80de-c23968bd198b})"); } impl ::core::clone::Clone for XboxLiveInboundEndpointPairCreatedEventArgs { fn clone(&self) -> Self { @@ -989,7 +989,7 @@ unsafe impl ::windows::core::Interface for XboxLiveInboundEndpointPairCreatedEve impl ::windows::core::RuntimeName for XboxLiveInboundEndpointPairCreatedEventArgs { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveInboundEndpointPairCreatedEventArgs"; } -::windows::core::interface_hierarchy!(XboxLiveInboundEndpointPairCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveInboundEndpointPairCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveInboundEndpointPairCreatedEventArgs {} unsafe impl ::core::marker::Sync for XboxLiveInboundEndpointPairCreatedEventArgs {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -999,8 +999,8 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -1178,7 +1178,7 @@ impl XboxLiveQualityOfServiceMeasurement { } #[doc(hidden)] pub fn IXboxLiveQualityOfServiceMeasurementStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1194,7 +1194,7 @@ impl ::core::fmt::Debug for XboxLiveQualityOfServiceMeasurement { } } impl ::windows::core::RuntimeType for XboxLiveQualityOfServiceMeasurement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement;{4d682bce-a5d6-47e6-a236-cfde5fbdf2ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement;{4d682bce-a5d6-47e6-a236-cfde5fbdf2ed})"); } impl ::core::clone::Clone for XboxLiveQualityOfServiceMeasurement { fn clone(&self) -> Self { @@ -1210,7 +1210,7 @@ unsafe impl ::windows::core::Interface for XboxLiveQualityOfServiceMeasurement { impl ::windows::core::RuntimeName for XboxLiveQualityOfServiceMeasurement { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement"; } -::windows::core::interface_hierarchy!(XboxLiveQualityOfServiceMeasurement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveQualityOfServiceMeasurement, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveQualityOfServiceMeasurement {} unsafe impl ::core::marker::Sync for XboxLiveQualityOfServiceMeasurement {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -1258,7 +1258,7 @@ impl ::core::fmt::Debug for XboxLiveQualityOfServiceMetricResult { } } impl ::windows::core::RuntimeType for XboxLiveQualityOfServiceMetricResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult;{aeec53d1-3561-4782-b0cf-d3ae29d9fa87})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult;{aeec53d1-3561-4782-b0cf-d3ae29d9fa87})"); } impl ::core::clone::Clone for XboxLiveQualityOfServiceMetricResult { fn clone(&self) -> Self { @@ -1274,7 +1274,7 @@ unsafe impl ::windows::core::Interface for XboxLiveQualityOfServiceMetricResult impl ::windows::core::RuntimeName for XboxLiveQualityOfServiceMetricResult { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult"; } -::windows::core::interface_hierarchy!(XboxLiveQualityOfServiceMetricResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveQualityOfServiceMetricResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveQualityOfServiceMetricResult {} unsafe impl ::core::marker::Sync for XboxLiveQualityOfServiceMetricResult {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -1317,7 +1317,7 @@ impl ::core::fmt::Debug for XboxLiveQualityOfServicePrivatePayloadResult { } } impl ::windows::core::RuntimeType for XboxLiveQualityOfServicePrivatePayloadResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult;{5a6302ae-6f38-41c0-9fcc-ea6cb978cafc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult;{5a6302ae-6f38-41c0-9fcc-ea6cb978cafc})"); } impl ::core::clone::Clone for XboxLiveQualityOfServicePrivatePayloadResult { fn clone(&self) -> Self { @@ -1333,7 +1333,7 @@ unsafe impl ::windows::core::Interface for XboxLiveQualityOfServicePrivatePayloa impl ::windows::core::RuntimeName for XboxLiveQualityOfServicePrivatePayloadResult { const NAME: &'static str = "Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult"; } -::windows::core::interface_hierarchy!(XboxLiveQualityOfServicePrivatePayloadResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(XboxLiveQualityOfServicePrivatePayloadResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for XboxLiveQualityOfServicePrivatePayloadResult {} unsafe impl ::core::marker::Sync for XboxLiveQualityOfServicePrivatePayloadResult {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] @@ -1397,7 +1397,7 @@ impl ::core::ops::Not for XboxLiveEndpointPairCreationBehaviors { } } impl ::windows::core::RuntimeType for XboxLiveEndpointPairCreationBehaviors { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveEndpointPairCreationBehaviors;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveEndpointPairCreationBehaviors;u4)"); } #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] @@ -1434,7 +1434,7 @@ impl ::core::fmt::Debug for XboxLiveEndpointPairCreationStatus { } } impl ::windows::core::RuntimeType for XboxLiveEndpointPairCreationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveEndpointPairCreationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveEndpointPairCreationStatus;i4)"); } #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] @@ -1469,7 +1469,7 @@ impl ::core::fmt::Debug for XboxLiveEndpointPairState { } } impl ::windows::core::RuntimeType for XboxLiveEndpointPairState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveEndpointPairState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveEndpointPairState;i4)"); } #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] @@ -1500,7 +1500,7 @@ impl ::core::fmt::Debug for XboxLiveNetworkAccessKind { } } impl ::windows::core::RuntimeType for XboxLiveNetworkAccessKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveNetworkAccessKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveNetworkAccessKind;i4)"); } #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] @@ -1540,7 +1540,7 @@ impl ::core::fmt::Debug for XboxLiveQualityOfServiceMeasurementStatus { } } impl ::windows::core::RuntimeType for XboxLiveQualityOfServiceMeasurementStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurementStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurementStatus;i4)"); } #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] @@ -1577,7 +1577,7 @@ impl ::core::fmt::Debug for XboxLiveQualityOfServiceMetric { } } impl ::windows::core::RuntimeType for XboxLiveQualityOfServiceMetric { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetric;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetric;i4)"); } #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] @@ -1608,7 +1608,7 @@ impl ::core::fmt::Debug for XboxLiveSocketKind { } } impl ::windows::core::RuntimeType for XboxLiveSocketKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveSocketKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.XboxLive.XboxLiveSocketKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Networking/mod.rs b/crates/libs/windows/src/Windows/Networking/mod.rs index ae07eb6e5c..3b3dbde2e8 100644 --- a/crates/libs/windows/src/Windows/Networking/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/mod.rs @@ -187,7 +187,7 @@ impl EndpointPair { } #[doc(hidden)] pub fn IEndpointPairFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -203,7 +203,7 @@ impl ::core::fmt::Debug for EndpointPair { } } impl ::windows::core::RuntimeType for EndpointPair { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.EndpointPair;{33a0aa36-f8fa-4b30-b856-76517c3bd06d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.EndpointPair;{33a0aa36-f8fa-4b30-b856-76517c3bd06d})"); } impl ::core::clone::Clone for EndpointPair { fn clone(&self) -> Self { @@ -219,7 +219,7 @@ unsafe impl ::windows::core::Interface for EndpointPair { impl ::windows::core::RuntimeName for EndpointPair { const NAME: &'static str = "Windows.Networking.EndpointPair"; } -::windows::core::interface_hierarchy!(EndpointPair, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EndpointPair, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EndpointPair {} unsafe impl ::core::marker::Sync for EndpointPair {} #[doc = "*Required features: `\"Networking\"`*"] @@ -293,12 +293,12 @@ impl HostName { } #[doc(hidden)] pub fn IHostNameFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHostNameStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -314,7 +314,7 @@ impl ::core::fmt::Debug for HostName { } } impl ::windows::core::RuntimeType for HostName { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Networking.HostName;{bf8ecaad-ed96-49a7-9084-d416cae88dcb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.HostName;{bf8ecaad-ed96-49a7-9084-d416cae88dcb})"); } impl ::core::clone::Clone for HostName { fn clone(&self) -> Self { @@ -330,7 +330,7 @@ unsafe impl ::windows::core::Interface for HostName { impl ::windows::core::RuntimeName for HostName { const NAME: &'static str = "Windows.Networking.HostName"; } -::windows::core::interface_hierarchy!(HostName, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HostName, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -383,7 +383,7 @@ impl ::core::fmt::Debug for DomainNameType { } } impl ::windows::core::RuntimeType for DomainNameType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.DomainNameType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.DomainNameType;i4)"); } #[doc = "*Required features: `\"Networking\"`*"] #[repr(transparent)] @@ -446,7 +446,7 @@ impl ::core::ops::Not for HostNameSortOptions { } } impl ::windows::core::RuntimeType for HostNameSortOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.HostNameSortOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.HostNameSortOptions;u4)"); } #[doc = "*Required features: `\"Networking\"`*"] #[repr(transparent)] @@ -478,7 +478,7 @@ impl ::core::fmt::Debug for HostNameType { } } impl ::windows::core::RuntimeType for HostNameType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Networking.HostNameType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.HostNameType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs b/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs index 4616b61e0d..7abb215533 100644 --- a/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs @@ -35,7 +35,7 @@ impl CorePerceptionAutomation { } #[doc(hidden)] pub fn ICorePerceptionAutomationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Perception/People/mod.rs b/crates/libs/windows/src/Windows/Perception/People/mod.rs index e110b098ea..cf6b61afe3 100644 --- a/crates/libs/windows/src/Windows/Perception/People/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/People/mod.rs @@ -214,7 +214,7 @@ impl EyesPose { } #[doc(hidden)] pub fn IEyesPoseStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -230,7 +230,7 @@ impl ::core::fmt::Debug for EyesPose { } } impl ::windows::core::RuntimeType for EyesPose { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.People.EyesPose;{682a9b23-8a1e-5b86-a060-906ffacb62a4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.EyesPose;{682a9b23-8a1e-5b86-a060-906ffacb62a4})"); } impl ::core::clone::Clone for EyesPose { fn clone(&self) -> Self { @@ -246,7 +246,7 @@ unsafe impl ::windows::core::Interface for EyesPose { impl ::windows::core::RuntimeName for EyesPose { const NAME: &'static str = "Windows.Perception.People.EyesPose"; } -::windows::core::interface_hierarchy!(EyesPose, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EyesPose, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EyesPose {} unsafe impl ::core::marker::Sync for EyesPose {} #[doc = "*Required features: `\"Perception_People\"`*"] @@ -321,7 +321,7 @@ impl ::core::fmt::Debug for HandMeshObserver { } } impl ::windows::core::RuntimeType for HandMeshObserver { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandMeshObserver;{85ae30cb-6fc3-55c4-a7b4-29e33896ca69})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandMeshObserver;{85ae30cb-6fc3-55c4-a7b4-29e33896ca69})"); } impl ::core::clone::Clone for HandMeshObserver { fn clone(&self) -> Self { @@ -337,7 +337,7 @@ unsafe impl ::windows::core::Interface for HandMeshObserver { impl ::windows::core::RuntimeName for HandMeshObserver { const NAME: &'static str = "Windows.Perception.People.HandMeshObserver"; } -::windows::core::interface_hierarchy!(HandMeshObserver, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HandMeshObserver, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HandMeshObserver {} unsafe impl ::core::marker::Sync for HandMeshObserver {} #[doc = "*Required features: `\"Perception_People\"`*"] @@ -379,7 +379,7 @@ impl ::core::fmt::Debug for HandMeshVertexState { } } impl ::windows::core::RuntimeType for HandMeshVertexState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandMeshVertexState;{046c5fef-1d8b-55de-ab2c-1cd424886d8f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandMeshVertexState;{046c5fef-1d8b-55de-ab2c-1cd424886d8f})"); } impl ::core::clone::Clone for HandMeshVertexState { fn clone(&self) -> Self { @@ -395,7 +395,7 @@ unsafe impl ::windows::core::Interface for HandMeshVertexState { impl ::windows::core::RuntimeName for HandMeshVertexState { const NAME: &'static str = "Windows.Perception.People.HandMeshVertexState"; } -::windows::core::interface_hierarchy!(HandMeshVertexState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HandMeshVertexState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HandMeshVertexState {} unsafe impl ::core::marker::Sync for HandMeshVertexState {} #[doc = "*Required features: `\"Perception_People\"`*"] @@ -448,7 +448,7 @@ impl ::core::fmt::Debug for HandPose { } } impl ::windows::core::RuntimeType for HandPose { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandPose;{4d98e79a-bb08-5d09-91de-df0dd3fae46c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandPose;{4d98e79a-bb08-5d09-91de-df0dd3fae46c})"); } impl ::core::clone::Clone for HandPose { fn clone(&self) -> Self { @@ -464,7 +464,7 @@ unsafe impl ::windows::core::Interface for HandPose { impl ::windows::core::RuntimeName for HandPose { const NAME: &'static str = "Windows.Perception.People.HandPose"; } -::windows::core::interface_hierarchy!(HandPose, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HandPose, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HandPose {} unsafe impl ::core::marker::Sync for HandPose {} #[doc = "*Required features: `\"Perception_People\"`*"] @@ -511,7 +511,7 @@ impl ::core::fmt::Debug for HeadPose { } } impl ::windows::core::RuntimeType for HeadPose { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HeadPose;{7f5ac5a5-49db-379f-9429-32a2faf34fa6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HeadPose;{7f5ac5a5-49db-379f-9429-32a2faf34fa6})"); } impl ::core::clone::Clone for HeadPose { fn clone(&self) -> Self { @@ -527,7 +527,7 @@ unsafe impl ::windows::core::Interface for HeadPose { impl ::windows::core::RuntimeName for HeadPose { const NAME: &'static str = "Windows.Perception.People.HeadPose"; } -::windows::core::interface_hierarchy!(HeadPose, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HeadPose, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HeadPose {} unsafe impl ::core::marker::Sync for HeadPose {} #[doc = "*Required features: `\"Perception_People\"`*"] @@ -582,7 +582,7 @@ impl ::core::fmt::Debug for HandJointKind { } } impl ::windows::core::RuntimeType for HandJointKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Perception.People.HandJointKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Perception.People.HandJointKind;i4)"); } #[doc = "*Required features: `\"Perception_People\"`*"] #[repr(transparent)] @@ -612,7 +612,7 @@ impl ::core::fmt::Debug for JointPoseAccuracy { } } impl ::windows::core::RuntimeType for JointPoseAccuracy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Perception.People.JointPoseAccuracy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Perception.People.JointPoseAccuracy;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Perception_People\"`, `\"Foundation_Numerics\"`*"] @@ -641,7 +641,7 @@ impl ::windows::core::TypeKind for HandMeshVertex { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for HandMeshVertex { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Perception.People.HandMeshVertex;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Perception.People.HandMeshVertex;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4))"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for HandMeshVertex { @@ -686,7 +686,7 @@ impl ::windows::core::TypeKind for JointPose { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for JointPose { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Perception.People.JointPose;struct(Windows.Foundation.Numerics.Quaternion;f4;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4;enum(Windows.Perception.People.JointPoseAccuracy;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Perception.People.JointPose;struct(Windows.Foundation.Numerics.Quaternion;f4;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4;enum(Windows.Perception.People.JointPoseAccuracy;i4))"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for JointPose { diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs index ba0f9acbed..43e00d7edf 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs @@ -120,7 +120,7 @@ impl ::core::fmt::Debug for SpatialGraphInteropFrameOfReferencePreview { } } impl ::windows::core::RuntimeType for SpatialGraphInteropFrameOfReferencePreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview;{a8271b23-735f-5729-a98e-e64ed189abc5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview;{a8271b23-735f-5729-a98e-e64ed189abc5})"); } impl ::core::clone::Clone for SpatialGraphInteropFrameOfReferencePreview { fn clone(&self) -> Self { @@ -136,7 +136,7 @@ unsafe impl ::windows::core::Interface for SpatialGraphInteropFrameOfReferencePr impl ::windows::core::RuntimeName for SpatialGraphInteropFrameOfReferencePreview { const NAME: &'static str = "Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview"; } -::windows::core::interface_hierarchy!(SpatialGraphInteropFrameOfReferencePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialGraphInteropFrameOfReferencePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialGraphInteropFrameOfReferencePreview {} unsafe impl ::core::marker::Sync for SpatialGraphInteropFrameOfReferencePreview {} #[doc = "*Required features: `\"Perception_Spatial_Preview\"`*"] @@ -194,12 +194,12 @@ impl SpatialGraphInteropPreview { } #[doc(hidden)] pub fn ISpatialGraphInteropPreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISpatialGraphInteropPreviewStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs index 2eaa7cc2fe..263dd28c5e 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -306,7 +306,7 @@ impl ::core::fmt::Debug for SpatialSurfaceInfo { } } impl ::windows::core::RuntimeType for SpatialSurfaceInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo;{f8e9ebe7-39b7-3962-bb03-57f56e1fb0a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo;{f8e9ebe7-39b7-3962-bb03-57f56e1fb0a1})"); } impl ::core::clone::Clone for SpatialSurfaceInfo { fn clone(&self) -> Self { @@ -322,7 +322,7 @@ unsafe impl ::windows::core::Interface for SpatialSurfaceInfo { impl ::windows::core::RuntimeName for SpatialSurfaceInfo { const NAME: &'static str = "Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo"; } -::windows::core::interface_hierarchy!(SpatialSurfaceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialSurfaceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialSurfaceInfo {} unsafe impl ::core::marker::Sync for SpatialSurfaceInfo {} #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] @@ -386,7 +386,7 @@ impl ::core::fmt::Debug for SpatialSurfaceMesh { } } impl ::windows::core::RuntimeType for SpatialSurfaceMesh { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh;{108f57d9-df0d-3950-a0fd-f972c77c27b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh;{108f57d9-df0d-3950-a0fd-f972c77c27b4})"); } impl ::core::clone::Clone for SpatialSurfaceMesh { fn clone(&self) -> Self { @@ -402,7 +402,7 @@ unsafe impl ::windows::core::Interface for SpatialSurfaceMesh { impl ::windows::core::RuntimeName for SpatialSurfaceMesh { const NAME: &'static str = "Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh"; } -::windows::core::interface_hierarchy!(SpatialSurfaceMesh, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialSurfaceMesh, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialSurfaceMesh {} unsafe impl ::core::marker::Sync for SpatialSurfaceMesh {} #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] @@ -454,7 +454,7 @@ impl ::core::fmt::Debug for SpatialSurfaceMeshBuffer { } } impl ::windows::core::RuntimeType for SpatialSurfaceMeshBuffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer;{93cf59e0-871f-33f8-98b2-03d101458f6f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer;{93cf59e0-871f-33f8-98b2-03d101458f6f})"); } impl ::core::clone::Clone for SpatialSurfaceMeshBuffer { fn clone(&self) -> Self { @@ -470,7 +470,7 @@ unsafe impl ::windows::core::Interface for SpatialSurfaceMeshBuffer { impl ::windows::core::RuntimeName for SpatialSurfaceMeshBuffer { const NAME: &'static str = "Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer"; } -::windows::core::interface_hierarchy!(SpatialSurfaceMeshBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialSurfaceMeshBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialSurfaceMeshBuffer {} unsafe impl ::core::marker::Sync for SpatialSurfaceMeshBuffer {} #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] @@ -480,8 +480,8 @@ impl SpatialSurfaceMeshOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Graphics_DirectX\"`*"] @@ -566,7 +566,7 @@ impl SpatialSurfaceMeshOptions { } #[doc(hidden)] pub fn ISpatialSurfaceMeshOptionsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -582,7 +582,7 @@ impl ::core::fmt::Debug for SpatialSurfaceMeshOptions { } } impl ::windows::core::RuntimeType for SpatialSurfaceMeshOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions;{d2759f89-3572-3d2d-a10d-5fee9394aa37})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions;{d2759f89-3572-3d2d-a10d-5fee9394aa37})"); } impl ::core::clone::Clone for SpatialSurfaceMeshOptions { fn clone(&self) -> Self { @@ -598,7 +598,7 @@ unsafe impl ::windows::core::Interface for SpatialSurfaceMeshOptions { impl ::windows::core::RuntimeName for SpatialSurfaceMeshOptions { const NAME: &'static str = "Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions"; } -::windows::core::interface_hierarchy!(SpatialSurfaceMeshOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialSurfaceMeshOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialSurfaceMeshOptions {} unsafe impl ::core::marker::Sync for SpatialSurfaceMeshOptions {} #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] @@ -608,8 +608,8 @@ impl SpatialSurfaceObserver { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -666,12 +666,12 @@ impl SpatialSurfaceObserver { } #[doc(hidden)] pub fn ISpatialSurfaceObserverStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISpatialSurfaceObserverStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -687,7 +687,7 @@ impl ::core::fmt::Debug for SpatialSurfaceObserver { } } impl ::windows::core::RuntimeType for SpatialSurfaceObserver { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver;{10b69819-ddca-3483-ac3a-748fe8c86df5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver;{10b69819-ddca-3483-ac3a-748fe8c86df5})"); } impl ::core::clone::Clone for SpatialSurfaceObserver { fn clone(&self) -> Self { @@ -703,7 +703,7 @@ unsafe impl ::windows::core::Interface for SpatialSurfaceObserver { impl ::windows::core::RuntimeName for SpatialSurfaceObserver { const NAME: &'static str = "Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver"; } -::windows::core::interface_hierarchy!(SpatialSurfaceObserver, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialSurfaceObserver, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialSurfaceObserver {} unsafe impl ::core::marker::Sync for SpatialSurfaceObserver {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs index 5809b7abe2..fdf823ef8c 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs @@ -910,7 +910,7 @@ impl SpatialAnchor { } #[doc(hidden)] pub fn ISpatialAnchorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -926,7 +926,7 @@ impl ::core::fmt::Debug for SpatialAnchor { } } impl ::windows::core::RuntimeType for SpatialAnchor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchor;{0529e5ce-1d34-3702-bcec-eabff578a869})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchor;{0529e5ce-1d34-3702-bcec-eabff578a869})"); } impl ::core::clone::Clone for SpatialAnchor { fn clone(&self) -> Self { @@ -942,7 +942,7 @@ unsafe impl ::windows::core::Interface for SpatialAnchor { impl ::windows::core::RuntimeName for SpatialAnchor { const NAME: &'static str = "Windows.Perception.Spatial.SpatialAnchor"; } -::windows::core::interface_hierarchy!(SpatialAnchor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialAnchor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialAnchor {} unsafe impl ::core::marker::Sync for SpatialAnchor {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -983,7 +983,7 @@ impl ::core::fmt::Debug for SpatialAnchorExportSufficiency { } } impl ::windows::core::RuntimeType for SpatialAnchorExportSufficiency { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorExportSufficiency;{77c25b2b-3409-4088-b91b-fdfd05d1648f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorExportSufficiency;{77c25b2b-3409-4088-b91b-fdfd05d1648f})"); } impl ::core::clone::Clone for SpatialAnchorExportSufficiency { fn clone(&self) -> Self { @@ -999,7 +999,7 @@ unsafe impl ::windows::core::Interface for SpatialAnchorExportSufficiency { impl ::windows::core::RuntimeName for SpatialAnchorExportSufficiency { const NAME: &'static str = "Windows.Perception.Spatial.SpatialAnchorExportSufficiency"; } -::windows::core::interface_hierarchy!(SpatialAnchorExportSufficiency, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialAnchorExportSufficiency, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialAnchorExportSufficiency {} unsafe impl ::core::marker::Sync for SpatialAnchorExportSufficiency {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1044,7 +1044,7 @@ impl SpatialAnchorExporter { } #[doc(hidden)] pub fn ISpatialAnchorExporterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1060,7 +1060,7 @@ impl ::core::fmt::Debug for SpatialAnchorExporter { } } impl ::windows::core::RuntimeType for SpatialAnchorExporter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorExporter;{9a2a4338-24fb-4269-89c5-88304aeef20f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorExporter;{9a2a4338-24fb-4269-89c5-88304aeef20f})"); } impl ::core::clone::Clone for SpatialAnchorExporter { fn clone(&self) -> Self { @@ -1076,7 +1076,7 @@ unsafe impl ::windows::core::Interface for SpatialAnchorExporter { impl ::windows::core::RuntimeName for SpatialAnchorExporter { const NAME: &'static str = "Windows.Perception.Spatial.SpatialAnchorExporter"; } -::windows::core::interface_hierarchy!(SpatialAnchorExporter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialAnchorExporter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialAnchorExporter {} unsafe impl ::core::marker::Sync for SpatialAnchorExporter {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1092,7 +1092,7 @@ impl SpatialAnchorManager { } #[doc(hidden)] pub fn ISpatialAnchorManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1125,7 +1125,7 @@ impl ::core::fmt::Debug for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { } } impl ::windows::core::RuntimeType for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorRawCoordinateSystemAdjustedEventArgs;{a1e81eb8-56c7-3117-a2e4-81e0fcf28e00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorRawCoordinateSystemAdjustedEventArgs;{a1e81eb8-56c7-3117-a2e4-81e0fcf28e00})"); } impl ::core::clone::Clone for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { fn clone(&self) -> Self { @@ -1141,7 +1141,7 @@ unsafe impl ::windows::core::Interface for SpatialAnchorRawCoordinateSystemAdjus impl ::windows::core::RuntimeName for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { const NAME: &'static str = "Windows.Perception.Spatial.SpatialAnchorRawCoordinateSystemAdjustedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialAnchorRawCoordinateSystemAdjustedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialAnchorRawCoordinateSystemAdjustedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialAnchorRawCoordinateSystemAdjustedEventArgs {} unsafe impl ::core::marker::Sync for SpatialAnchorRawCoordinateSystemAdjustedEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1185,7 +1185,7 @@ impl ::core::fmt::Debug for SpatialAnchorStore { } } impl ::windows::core::RuntimeType for SpatialAnchorStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorStore;{b0bc3636-486a-3cb0-9e6f-1245165c4db6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorStore;{b0bc3636-486a-3cb0-9e6f-1245165c4db6})"); } impl ::core::clone::Clone for SpatialAnchorStore { fn clone(&self) -> Self { @@ -1201,7 +1201,7 @@ unsafe impl ::windows::core::Interface for SpatialAnchorStore { impl ::windows::core::RuntimeName for SpatialAnchorStore { const NAME: &'static str = "Windows.Perception.Spatial.SpatialAnchorStore"; } -::windows::core::interface_hierarchy!(SpatialAnchorStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialAnchorStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialAnchorStore {} unsafe impl ::core::marker::Sync for SpatialAnchorStore {} #[doc = "*Required features: `\"Perception_Spatial\"`, `\"deprecated\"`*"] @@ -1246,7 +1246,7 @@ impl SpatialAnchorTransferManager { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn ISpatialAnchorTransferManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1292,7 +1292,7 @@ impl SpatialBoundingVolume { } #[doc(hidden)] pub fn ISpatialBoundingVolumeStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1308,7 +1308,7 @@ impl ::core::fmt::Debug for SpatialBoundingVolume { } } impl ::windows::core::RuntimeType for SpatialBoundingVolume { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialBoundingVolume;{fb2065da-68c3-33df-b7af-4c787207999c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialBoundingVolume;{fb2065da-68c3-33df-b7af-4c787207999c})"); } impl ::core::clone::Clone for SpatialBoundingVolume { fn clone(&self) -> Self { @@ -1324,7 +1324,7 @@ unsafe impl ::windows::core::Interface for SpatialBoundingVolume { impl ::windows::core::RuntimeName for SpatialBoundingVolume { const NAME: &'static str = "Windows.Perception.Spatial.SpatialBoundingVolume"; } -::windows::core::interface_hierarchy!(SpatialBoundingVolume, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialBoundingVolume, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialBoundingVolume {} unsafe impl ::core::marker::Sync for SpatialBoundingVolume {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1353,7 +1353,7 @@ impl ::core::fmt::Debug for SpatialCoordinateSystem { } } impl ::windows::core::RuntimeType for SpatialCoordinateSystem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialCoordinateSystem;{69ebca4b-60a3-3586-a653-59a7bd676d07})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialCoordinateSystem;{69ebca4b-60a3-3586-a653-59a7bd676d07})"); } impl ::core::clone::Clone for SpatialCoordinateSystem { fn clone(&self) -> Self { @@ -1369,7 +1369,7 @@ unsafe impl ::windows::core::Interface for SpatialCoordinateSystem { impl ::windows::core::RuntimeName for SpatialCoordinateSystem { const NAME: &'static str = "Windows.Perception.Spatial.SpatialCoordinateSystem"; } -::windows::core::interface_hierarchy!(SpatialCoordinateSystem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialCoordinateSystem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialCoordinateSystem {} unsafe impl ::core::marker::Sync for SpatialCoordinateSystem {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1415,7 +1415,7 @@ impl SpatialEntity { } #[doc(hidden)] pub fn ISpatialEntityFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1431,7 +1431,7 @@ impl ::core::fmt::Debug for SpatialEntity { } } impl ::windows::core::RuntimeType for SpatialEntity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntity;{166de955-e1eb-454c-ba08-e6c0668ddc65})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntity;{166de955-e1eb-454c-ba08-e6c0668ddc65})"); } impl ::core::clone::Clone for SpatialEntity { fn clone(&self) -> Self { @@ -1447,7 +1447,7 @@ unsafe impl ::windows::core::Interface for SpatialEntity { impl ::windows::core::RuntimeName for SpatialEntity { const NAME: &'static str = "Windows.Perception.Spatial.SpatialEntity"; } -::windows::core::interface_hierarchy!(SpatialEntity, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialEntity, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialEntity {} unsafe impl ::core::marker::Sync for SpatialEntity {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1474,7 +1474,7 @@ impl ::core::fmt::Debug for SpatialEntityAddedEventArgs { } } impl ::windows::core::RuntimeType for SpatialEntityAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityAddedEventArgs;{a397f49b-156a-4707-ac2c-d31d570ed399})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityAddedEventArgs;{a397f49b-156a-4707-ac2c-d31d570ed399})"); } impl ::core::clone::Clone for SpatialEntityAddedEventArgs { fn clone(&self) -> Self { @@ -1490,7 +1490,7 @@ unsafe impl ::windows::core::Interface for SpatialEntityAddedEventArgs { impl ::windows::core::RuntimeName for SpatialEntityAddedEventArgs { const NAME: &'static str = "Windows.Perception.Spatial.SpatialEntityAddedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialEntityAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialEntityAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialEntityAddedEventArgs {} unsafe impl ::core::marker::Sync for SpatialEntityAddedEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1517,7 +1517,7 @@ impl ::core::fmt::Debug for SpatialEntityRemovedEventArgs { } } impl ::windows::core::RuntimeType for SpatialEntityRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityRemovedEventArgs;{91741800-536d-4e9f-abf6-415b5444d651})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityRemovedEventArgs;{91741800-536d-4e9f-abf6-415b5444d651})"); } impl ::core::clone::Clone for SpatialEntityRemovedEventArgs { fn clone(&self) -> Self { @@ -1533,7 +1533,7 @@ unsafe impl ::windows::core::Interface for SpatialEntityRemovedEventArgs { impl ::windows::core::RuntimeName for SpatialEntityRemovedEventArgs { const NAME: &'static str = "Windows.Perception.Spatial.SpatialEntityRemovedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialEntityRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialEntityRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialEntityRemovedEventArgs {} unsafe impl ::core::marker::Sync for SpatialEntityRemovedEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1581,7 +1581,7 @@ impl SpatialEntityStore { } #[doc(hidden)] pub fn ISpatialEntityStoreStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1597,7 +1597,7 @@ impl ::core::fmt::Debug for SpatialEntityStore { } } impl ::windows::core::RuntimeType for SpatialEntityStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityStore;{329788ba-e513-4f06-889d-1be30ecf43e6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityStore;{329788ba-e513-4f06-889d-1be30ecf43e6})"); } impl ::core::clone::Clone for SpatialEntityStore { fn clone(&self) -> Self { @@ -1613,7 +1613,7 @@ unsafe impl ::windows::core::Interface for SpatialEntityStore { impl ::windows::core::RuntimeName for SpatialEntityStore { const NAME: &'static str = "Windows.Perception.Spatial.SpatialEntityStore"; } -::windows::core::interface_hierarchy!(SpatialEntityStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialEntityStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialEntityStore {} unsafe impl ::core::marker::Sync for SpatialEntityStore {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1640,7 +1640,7 @@ impl ::core::fmt::Debug for SpatialEntityUpdatedEventArgs { } } impl ::windows::core::RuntimeType for SpatialEntityUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityUpdatedEventArgs;{e5671766-627b-43cb-a49f-b3be6d47deed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityUpdatedEventArgs;{e5671766-627b-43cb-a49f-b3be6d47deed})"); } impl ::core::clone::Clone for SpatialEntityUpdatedEventArgs { fn clone(&self) -> Self { @@ -1656,7 +1656,7 @@ unsafe impl ::windows::core::Interface for SpatialEntityUpdatedEventArgs { impl ::windows::core::RuntimeName for SpatialEntityUpdatedEventArgs { const NAME: &'static str = "Windows.Perception.Spatial.SpatialEntityUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialEntityUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialEntityUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialEntityUpdatedEventArgs {} unsafe impl ::core::marker::Sync for SpatialEntityUpdatedEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1751,7 +1751,7 @@ impl ::core::fmt::Debug for SpatialEntityWatcher { } } impl ::windows::core::RuntimeType for SpatialEntityWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityWatcher;{b3b85fa0-6d5e-4bbc-805d-5fe5b9ba1959})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityWatcher;{b3b85fa0-6d5e-4bbc-805d-5fe5b9ba1959})"); } impl ::core::clone::Clone for SpatialEntityWatcher { fn clone(&self) -> Self { @@ -1767,7 +1767,7 @@ unsafe impl ::windows::core::Interface for SpatialEntityWatcher { impl ::windows::core::RuntimeName for SpatialEntityWatcher { const NAME: &'static str = "Windows.Perception.Spatial.SpatialEntityWatcher"; } -::windows::core::interface_hierarchy!(SpatialEntityWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialEntityWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialEntityWatcher {} unsafe impl ::core::marker::Sync for SpatialEntityWatcher {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -1859,7 +1859,7 @@ impl ::core::fmt::Debug for SpatialLocation { } } impl ::windows::core::RuntimeType for SpatialLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocation;{1d81d29d-24a1-37d5-8fa1-39b4f9ad67e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocation;{1d81d29d-24a1-37d5-8fa1-39b4f9ad67e2})"); } impl ::core::clone::Clone for SpatialLocation { fn clone(&self) -> Self { @@ -1875,7 +1875,7 @@ unsafe impl ::windows::core::Interface for SpatialLocation { impl ::windows::core::RuntimeName for SpatialLocation { const NAME: &'static str = "Windows.Perception.Spatial.SpatialLocation"; } -::windows::core::interface_hierarchy!(SpatialLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialLocation {} unsafe impl ::core::marker::Sync for SpatialLocation {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -2002,7 +2002,7 @@ impl SpatialLocator { } #[doc(hidden)] pub fn ISpatialLocatorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2018,7 +2018,7 @@ impl ::core::fmt::Debug for SpatialLocator { } } impl ::windows::core::RuntimeType for SpatialLocator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocator;{f6478925-9e0c-3bb6-997e-b64ecca24cf4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocator;{f6478925-9e0c-3bb6-997e-b64ecca24cf4})"); } impl ::core::clone::Clone for SpatialLocator { fn clone(&self) -> Self { @@ -2034,7 +2034,7 @@ unsafe impl ::windows::core::Interface for SpatialLocator { impl ::windows::core::RuntimeName for SpatialLocator { const NAME: &'static str = "Windows.Perception.Spatial.SpatialLocator"; } -::windows::core::interface_hierarchy!(SpatialLocator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialLocator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialLocator {} unsafe impl ::core::marker::Sync for SpatialLocator {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -2104,7 +2104,7 @@ impl ::core::fmt::Debug for SpatialLocatorAttachedFrameOfReference { } } impl ::windows::core::RuntimeType for SpatialLocatorAttachedFrameOfReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference;{e1774ef6-1f4f-499c-9625-ef5e6ed7a048})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference;{e1774ef6-1f4f-499c-9625-ef5e6ed7a048})"); } impl ::core::clone::Clone for SpatialLocatorAttachedFrameOfReference { fn clone(&self) -> Self { @@ -2120,7 +2120,7 @@ unsafe impl ::windows::core::Interface for SpatialLocatorAttachedFrameOfReferenc impl ::windows::core::RuntimeName for SpatialLocatorAttachedFrameOfReference { const NAME: &'static str = "Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference"; } -::windows::core::interface_hierarchy!(SpatialLocatorAttachedFrameOfReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialLocatorAttachedFrameOfReference, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialLocatorAttachedFrameOfReference {} unsafe impl ::core::marker::Sync for SpatialLocatorAttachedFrameOfReference {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -2151,7 +2151,7 @@ impl ::core::fmt::Debug for SpatialLocatorPositionalTrackingDeactivatingEventArg } } impl ::windows::core::RuntimeType for SpatialLocatorPositionalTrackingDeactivatingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs;{b8a84063-e3f4-368b-9061-9ea9d1d6cc16})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs;{b8a84063-e3f4-368b-9061-9ea9d1d6cc16})"); } impl ::core::clone::Clone for SpatialLocatorPositionalTrackingDeactivatingEventArgs { fn clone(&self) -> Self { @@ -2167,7 +2167,7 @@ unsafe impl ::windows::core::Interface for SpatialLocatorPositionalTrackingDeact impl ::windows::core::RuntimeName for SpatialLocatorPositionalTrackingDeactivatingEventArgs { const NAME: &'static str = "Windows.Perception.Spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs"; } -::windows::core::interface_hierarchy!(SpatialLocatorPositionalTrackingDeactivatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialLocatorPositionalTrackingDeactivatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialLocatorPositionalTrackingDeactivatingEventArgs {} unsafe impl ::core::marker::Sync for SpatialLocatorPositionalTrackingDeactivatingEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -2240,7 +2240,7 @@ impl SpatialStageFrameOfReference { } #[doc(hidden)] pub fn ISpatialStageFrameOfReferenceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2256,7 +2256,7 @@ impl ::core::fmt::Debug for SpatialStageFrameOfReference { } } impl ::windows::core::RuntimeType for SpatialStageFrameOfReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialStageFrameOfReference;{7a8a3464-ad0d-4590-ab86-33062b674926})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialStageFrameOfReference;{7a8a3464-ad0d-4590-ab86-33062b674926})"); } impl ::core::clone::Clone for SpatialStageFrameOfReference { fn clone(&self) -> Self { @@ -2272,7 +2272,7 @@ unsafe impl ::windows::core::Interface for SpatialStageFrameOfReference { impl ::windows::core::RuntimeName for SpatialStageFrameOfReference { const NAME: &'static str = "Windows.Perception.Spatial.SpatialStageFrameOfReference"; } -::windows::core::interface_hierarchy!(SpatialStageFrameOfReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialStageFrameOfReference, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialStageFrameOfReference {} unsafe impl ::core::marker::Sync for SpatialStageFrameOfReference {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -2299,7 +2299,7 @@ impl ::core::fmt::Debug for SpatialStationaryFrameOfReference { } } impl ::windows::core::RuntimeType for SpatialStationaryFrameOfReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialStationaryFrameOfReference;{09dbccb9-bcf8-3e7f-be7e-7edccbb178a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialStationaryFrameOfReference;{09dbccb9-bcf8-3e7f-be7e-7edccbb178a8})"); } impl ::core::clone::Clone for SpatialStationaryFrameOfReference { fn clone(&self) -> Self { @@ -2315,7 +2315,7 @@ unsafe impl ::windows::core::Interface for SpatialStationaryFrameOfReference { impl ::windows::core::RuntimeName for SpatialStationaryFrameOfReference { const NAME: &'static str = "Windows.Perception.Spatial.SpatialStationaryFrameOfReference"; } -::windows::core::interface_hierarchy!(SpatialStationaryFrameOfReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialStationaryFrameOfReference, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialStationaryFrameOfReference {} unsafe impl ::core::marker::Sync for SpatialStationaryFrameOfReference {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -2346,7 +2346,7 @@ impl ::core::fmt::Debug for SpatialAnchorExportPurpose { } } impl ::windows::core::RuntimeType for SpatialAnchorExportPurpose { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialAnchorExportPurpose;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialAnchorExportPurpose;i4)"); } #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] @@ -2380,7 +2380,7 @@ impl ::core::fmt::Debug for SpatialEntityWatcherStatus { } } impl ::windows::core::RuntimeType for SpatialEntityWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialEntityWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialEntityWatcherStatus;i4)"); } #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] @@ -2413,7 +2413,7 @@ impl ::core::fmt::Debug for SpatialLocatability { } } impl ::windows::core::RuntimeType for SpatialLocatability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialLocatability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialLocatability;i4)"); } #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] @@ -2443,7 +2443,7 @@ impl ::core::fmt::Debug for SpatialLookDirectionRange { } } impl ::windows::core::RuntimeType for SpatialLookDirectionRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialLookDirectionRange;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialLookDirectionRange;i4)"); } #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] @@ -2473,7 +2473,7 @@ impl ::core::fmt::Debug for SpatialMovementRange { } } impl ::windows::core::RuntimeType for SpatialMovementRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialMovementRange;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialMovementRange;i4)"); } #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] @@ -2505,7 +2505,7 @@ impl ::core::fmt::Debug for SpatialPerceptionAccessStatus { } } impl ::windows::core::RuntimeType for SpatialPerceptionAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialPerceptionAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Perception.Spatial.SpatialPerceptionAccessStatus;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Perception_Spatial\"`, `\"Foundation_Numerics\"`*"] @@ -2534,7 +2534,7 @@ impl ::windows::core::TypeKind for SpatialBoundingBox { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for SpatialBoundingBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialBoundingBox;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialBoundingBox;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4))"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for SpatialBoundingBox { @@ -2581,7 +2581,7 @@ impl ::windows::core::TypeKind for SpatialBoundingFrustum { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for SpatialBoundingFrustum { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialBoundingFrustum;struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialBoundingFrustum;struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4);struct(Windows.Foundation.Numerics.Plane;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4))"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for SpatialBoundingFrustum { @@ -2625,7 +2625,7 @@ impl ::windows::core::TypeKind for SpatialBoundingOrientedBox { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for SpatialBoundingOrientedBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialBoundingOrientedBox;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Quaternion;f4;f4;f4;f4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialBoundingOrientedBox;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Quaternion;f4;f4;f4;f4))"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for SpatialBoundingOrientedBox { @@ -2668,7 +2668,7 @@ impl ::windows::core::TypeKind for SpatialBoundingSphere { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for SpatialBoundingSphere { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialBoundingSphere;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialBoundingSphere;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);f4)"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for SpatialBoundingSphere { @@ -2711,7 +2711,7 @@ impl ::windows::core::TypeKind for SpatialRay { } #[cfg(feature = "Foundation_Numerics")] impl ::windows::core::RuntimeType for SpatialRay { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialRay;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Perception.Spatial.SpatialRay;struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4);struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4))"); } #[cfg(feature = "Foundation_Numerics")] impl ::core::cmp::PartialEq for SpatialRay { diff --git a/crates/libs/windows/src/Windows/Perception/mod.rs b/crates/libs/windows/src/Windows/Perception/mod.rs index e1639d6430..354a952d0c 100644 --- a/crates/libs/windows/src/Windows/Perception/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/mod.rs @@ -144,7 +144,7 @@ impl ::core::fmt::Debug for PerceptionTimestamp { } } impl ::windows::core::RuntimeType for PerceptionTimestamp { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Perception.PerceptionTimestamp;{87c24804-a22e-4adb-ba26-d78ef639bcf4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.PerceptionTimestamp;{87c24804-a22e-4adb-ba26-d78ef639bcf4})"); } impl ::core::clone::Clone for PerceptionTimestamp { fn clone(&self) -> Self { @@ -160,7 +160,7 @@ unsafe impl ::windows::core::Interface for PerceptionTimestamp { impl ::windows::core::RuntimeName for PerceptionTimestamp { const NAME: &'static str = "Windows.Perception.PerceptionTimestamp"; } -::windows::core::interface_hierarchy!(PerceptionTimestamp, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PerceptionTimestamp, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PerceptionTimestamp {} unsafe impl ::core::marker::Sync for PerceptionTimestamp {} #[doc = "*Required features: `\"Perception\"`*"] @@ -184,12 +184,12 @@ impl PerceptionTimestampHelper { } #[doc(hidden)] pub fn IPerceptionTimestampHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPerceptionTimestampHelperStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs index c782b499e5..b9d9bbdd41 100644 --- a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs @@ -29,7 +29,7 @@ impl ApplicationProfile { } #[doc(hidden)] pub fn IApplicationProfileStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -97,7 +97,7 @@ impl ::core::ops::Not for ApplicationProfileModes { } } impl ::windows::core::RuntimeType for ApplicationProfileModes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.ApplicationModel.ApplicationProfileModes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.ApplicationModel.ApplicationProfileModes;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs index 97b9895f3c..41785a0550 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs @@ -64,7 +64,7 @@ impl VibrationDevice { } #[doc(hidden)] pub fn IVibrationDeviceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -80,7 +80,7 @@ impl ::core::fmt::Debug for VibrationDevice { } } impl ::windows::core::RuntimeType for VibrationDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Devices.Notification.VibrationDevice;{1b4a6595-cfcd-4e08-92fb-c1906d04498c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Devices.Notification.VibrationDevice;{1b4a6595-cfcd-4e08-92fb-c1906d04498c})"); } impl ::core::clone::Clone for VibrationDevice { fn clone(&self) -> Self { @@ -96,7 +96,7 @@ unsafe impl ::windows::core::Interface for VibrationDevice { impl ::windows::core::RuntimeName for VibrationDevice { const NAME: &'static str = "Windows.Phone.Devices.Notification.VibrationDevice"; } -::windows::core::interface_hierarchy!(VibrationDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VibrationDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VibrationDevice {} unsafe impl ::core::marker::Sync for VibrationDevice {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs index 298faf1eba..4210ab8ff1 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs @@ -93,7 +93,7 @@ impl Battery { } #[doc(hidden)] pub fn IBatteryStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -109,7 +109,7 @@ impl ::core::fmt::Debug for Battery { } } impl ::windows::core::RuntimeType for Battery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Devices.Power.Battery;{972adbdd-6720-4702-a476-b9d38a0070e3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Devices.Power.Battery;{972adbdd-6720-4702-a476-b9d38a0070e3})"); } impl ::core::clone::Clone for Battery { fn clone(&self) -> Self { @@ -125,7 +125,7 @@ unsafe impl ::windows::core::Interface for Battery { impl ::windows::core::RuntimeName for Battery { const NAME: &'static str = "Windows.Phone.Devices.Power.Battery"; } -::windows::core::interface_hierarchy!(Battery, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Battery, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Battery {} unsafe impl ::core::marker::Sync for Battery {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs index ed7ca8ded5..a30734a841 100644 --- a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs @@ -263,7 +263,7 @@ impl ::core::fmt::Debug for Enterprise { } } impl ::windows::core::RuntimeType for Enterprise { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.Enterprise;{96592f8d-856c-4426-a947-b06307718078})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.Enterprise;{96592f8d-856c-4426-a947-b06307718078})"); } impl ::core::clone::Clone for Enterprise { fn clone(&self) -> Self { @@ -279,7 +279,7 @@ unsafe impl ::windows::core::Interface for Enterprise { impl ::windows::core::RuntimeName for Enterprise { const NAME: &'static str = "Windows.Phone.Management.Deployment.Enterprise"; } -::windows::core::interface_hierarchy!(Enterprise, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Enterprise, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Enterprise {} unsafe impl ::core::marker::Sync for Enterprise {} #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] @@ -325,7 +325,7 @@ impl EnterpriseEnrollmentManager { } #[doc(hidden)] pub fn IEnterpriseEnrollmentManager ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -363,7 +363,7 @@ impl ::core::fmt::Debug for EnterpriseEnrollmentResult { } } impl ::windows::core::RuntimeType for EnterpriseEnrollmentResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.EnterpriseEnrollmentResult;{9ff71ce6-90db-4342-b326-1729aa91301c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.EnterpriseEnrollmentResult;{9ff71ce6-90db-4342-b326-1729aa91301c})"); } impl ::core::clone::Clone for EnterpriseEnrollmentResult { fn clone(&self) -> Self { @@ -379,7 +379,7 @@ unsafe impl ::windows::core::Interface for EnterpriseEnrollmentResult { impl ::windows::core::RuntimeName for EnterpriseEnrollmentResult { const NAME: &'static str = "Windows.Phone.Management.Deployment.EnterpriseEnrollmentResult"; } -::windows::core::interface_hierarchy!(EnterpriseEnrollmentResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EnterpriseEnrollmentResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] pub struct InstallationManager; impl InstallationManager { @@ -453,12 +453,12 @@ impl InstallationManager { } #[doc(hidden)] pub fn IInstallationManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInstallationManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -505,7 +505,7 @@ impl ::core::fmt::Debug for PackageInstallResult { } } impl ::windows::core::RuntimeType for PackageInstallResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.PackageInstallResult;{33e8eed5-0f7e-4473-967c-7d6e1c0e7de1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.PackageInstallResult;{33e8eed5-0f7e-4473-967c-7d6e1c0e7de1})"); } impl ::core::clone::Clone for PackageInstallResult { fn clone(&self) -> Self { @@ -521,7 +521,7 @@ unsafe impl ::windows::core::Interface for PackageInstallResult { impl ::windows::core::RuntimeName for PackageInstallResult { const NAME: &'static str = "Windows.Phone.Management.Deployment.PackageInstallResult"; } -::windows::core::interface_hierarchy!(PackageInstallResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PackageInstallResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -551,7 +551,7 @@ impl ::core::fmt::Debug for EnterpriseEnrollmentStatus { } } impl ::windows::core::RuntimeType for EnterpriseEnrollmentStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Management.Deployment.EnterpriseEnrollmentStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Management.Deployment.EnterpriseEnrollmentStatus;i4)"); } #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] #[repr(transparent)] @@ -583,7 +583,7 @@ impl ::core::fmt::Debug for EnterpriseStatus { } } impl ::windows::core::RuntimeType for EnterpriseStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Management.Deployment.EnterpriseStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Management.Deployment.EnterpriseStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs index 20fcf89521..a42acf26b3 100644 --- a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs @@ -93,7 +93,7 @@ impl AudioRoutingManager { } #[doc(hidden)] pub fn IAudioRoutingManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -109,7 +109,7 @@ impl ::core::fmt::Debug for AudioRoutingManager { } } impl ::windows::core::RuntimeType for AudioRoutingManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Media.Devices.AudioRoutingManager;{79340d20-71cc-4526-9f29-fc8d2486418b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Media.Devices.AudioRoutingManager;{79340d20-71cc-4526-9f29-fc8d2486418b})"); } impl ::core::clone::Clone for AudioRoutingManager { fn clone(&self) -> Self { @@ -125,7 +125,7 @@ unsafe impl ::windows::core::Interface for AudioRoutingManager { impl ::windows::core::RuntimeName for AudioRoutingManager { const NAME: &'static str = "Windows.Phone.Media.Devices.AudioRoutingManager"; } -::windows::core::interface_hierarchy!(AudioRoutingManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AudioRoutingManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AudioRoutingManager {} unsafe impl ::core::marker::Sync for AudioRoutingManager {} #[doc = "*Required features: `\"Phone_Media_Devices\"`*"] @@ -162,7 +162,7 @@ impl ::core::fmt::Debug for AudioRoutingEndpoint { } } impl ::windows::core::RuntimeType for AudioRoutingEndpoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Media.Devices.AudioRoutingEndpoint;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Media.Devices.AudioRoutingEndpoint;i4)"); } #[doc = "*Required features: `\"Phone_Media_Devices\"`*"] #[repr(transparent)] @@ -227,7 +227,7 @@ impl ::core::ops::Not for AvailableAudioRoutingEndpoints { } } impl ::windows::core::RuntimeType for AvailableAudioRoutingEndpoints { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Media.Devices.AvailableAudioRoutingEndpoints;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Media.Devices.AvailableAudioRoutingEndpoints;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs index 579ccf5b50..567de3afba 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs @@ -191,7 +191,7 @@ impl IAccessoryNotificationTriggerDetails { unsafe { (::windows::core::Vtable::vtable(this).SetStartedProcessing)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(IAccessoryNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAccessoryNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAccessoryNotificationTriggerDetails { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -204,7 +204,7 @@ impl ::core::fmt::Debug for IAccessoryNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for IAccessoryNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6968a7d4-e3ca-49cb-8c87-2c11cdff9646}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6968a7d4-e3ca-49cb-8c87-2c11cdff9646}"); } unsafe impl ::windows::core::Vtable for IAccessoryNotificationTriggerDetails { type Vtable = IAccessoryNotificationTriggerDetails_Vtbl; @@ -1094,17 +1094,17 @@ impl AccessoryManager { } #[doc(hidden)] pub fn IAccessoryManager ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAccessoryManager2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAccessoryManager3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1206,7 +1206,7 @@ impl ::core::fmt::Debug for AlarmNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for AlarmNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.AlarmNotificationTriggerDetails;{38f5fa30-c738-4da2-908c-775d83c36abb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.AlarmNotificationTriggerDetails;{38f5fa30-c738-4da2-908c-775d83c36abb})"); } impl ::core::clone::Clone for AlarmNotificationTriggerDetails { fn clone(&self) -> Self { @@ -1222,7 +1222,7 @@ unsafe impl ::windows::core::Interface for AlarmNotificationTriggerDetails { impl ::windows::core::RuntimeName for AlarmNotificationTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.AlarmNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(AlarmNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AlarmNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: AlarmNotificationTriggerDetails) -> ::windows::core::Result { @@ -1273,7 +1273,7 @@ impl ::core::fmt::Debug for AppNotificationInfo { } } impl ::windows::core::RuntimeType for AppNotificationInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.AppNotificationInfo;{2157bea5-e286-45d3-9bea-f790fc216e0e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.AppNotificationInfo;{2157bea5-e286-45d3-9bea-f790fc216e0e})"); } impl ::core::clone::Clone for AppNotificationInfo { fn clone(&self) -> Self { @@ -1289,7 +1289,7 @@ unsafe impl ::windows::core::Interface for AppNotificationInfo { impl ::windows::core::RuntimeName for AppNotificationInfo { const NAME: &'static str = "Windows.Phone.Notification.Management.AppNotificationInfo"; } -::windows::core::interface_hierarchy!(AppNotificationInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppNotificationInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct BinaryId(::windows::core::IUnknown); @@ -1321,7 +1321,7 @@ impl ::core::fmt::Debug for BinaryId { } } impl ::windows::core::RuntimeType for BinaryId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.BinaryId;{4f0da531-5595-44b4-9181-ce4efa3fc168})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.BinaryId;{4f0da531-5595-44b4-9181-ce4efa3fc168})"); } impl ::core::clone::Clone for BinaryId { fn clone(&self) -> Self { @@ -1337,7 +1337,7 @@ unsafe impl ::windows::core::Interface for BinaryId { impl ::windows::core::RuntimeName for BinaryId { const NAME: &'static str = "Windows.Phone.Notification.Management.BinaryId"; } -::windows::core::interface_hierarchy!(BinaryId, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BinaryId, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct CalendarChangedNotificationTriggerDetails(::windows::core::IUnknown); @@ -1410,7 +1410,7 @@ impl ::core::fmt::Debug for CalendarChangedNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for CalendarChangedNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.CalendarChangedNotificationTriggerDetails;{4b8a3bfc-279d-42ab-9c68-3e87977bf216})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.CalendarChangedNotificationTriggerDetails;{4b8a3bfc-279d-42ab-9c68-3e87977bf216})"); } impl ::core::clone::Clone for CalendarChangedNotificationTriggerDetails { fn clone(&self) -> Self { @@ -1426,7 +1426,7 @@ unsafe impl ::windows::core::Interface for CalendarChangedNotificationTriggerDet impl ::windows::core::RuntimeName for CalendarChangedNotificationTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.CalendarChangedNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(CalendarChangedNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CalendarChangedNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: CalendarChangedNotificationTriggerDetails) -> ::windows::core::Result { @@ -1574,7 +1574,7 @@ impl ::core::fmt::Debug for CortanaTileNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for CortanaTileNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.CortanaTileNotificationTriggerDetails;{dc0f01d5-1489-46bb-b73b-7f90067ecf27})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.CortanaTileNotificationTriggerDetails;{dc0f01d5-1489-46bb-b73b-7f90067ecf27})"); } impl ::core::clone::Clone for CortanaTileNotificationTriggerDetails { fn clone(&self) -> Self { @@ -1590,7 +1590,7 @@ unsafe impl ::windows::core::Interface for CortanaTileNotificationTriggerDetails impl ::windows::core::RuntimeName for CortanaTileNotificationTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.CortanaTileNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(CortanaTileNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CortanaTileNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: CortanaTileNotificationTriggerDetails) -> ::windows::core::Result { @@ -1641,7 +1641,7 @@ impl ::core::fmt::Debug for EmailAccountInfo { } } impl ::windows::core::RuntimeType for EmailAccountInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailAccountInfo;{dfbc02ab-bda0-4568-927e-b2ede35818a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailAccountInfo;{dfbc02ab-bda0-4568-927e-b2ede35818a1})"); } impl ::core::clone::Clone for EmailAccountInfo { fn clone(&self) -> Self { @@ -1657,7 +1657,7 @@ unsafe impl ::windows::core::Interface for EmailAccountInfo { impl ::windows::core::RuntimeName for EmailAccountInfo { const NAME: &'static str = "Windows.Phone.Notification.Management.EmailAccountInfo"; } -::windows::core::interface_hierarchy!(EmailAccountInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailAccountInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct EmailFolderInfo(::windows::core::IUnknown); @@ -1689,7 +1689,7 @@ impl ::core::fmt::Debug for EmailFolderInfo { } } impl ::windows::core::RuntimeType for EmailFolderInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailFolderInfo;{c207150e-e237-46d6-90e6-4f529eeac1e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailFolderInfo;{c207150e-e237-46d6-90e6-4f529eeac1e2})"); } impl ::core::clone::Clone for EmailFolderInfo { fn clone(&self) -> Self { @@ -1705,7 +1705,7 @@ unsafe impl ::windows::core::Interface for EmailFolderInfo { impl ::windows::core::RuntimeName for EmailFolderInfo { const NAME: &'static str = "Windows.Phone.Notification.Management.EmailFolderInfo"; } -::windows::core::interface_hierarchy!(EmailFolderInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailFolderInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct EmailNotificationTriggerDetails(::windows::core::IUnknown); @@ -1817,7 +1817,7 @@ impl ::core::fmt::Debug for EmailNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for EmailNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailNotificationTriggerDetails;{f3b82612-46cf-4e70-8e0d-7b2e04ab492b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailNotificationTriggerDetails;{f3b82612-46cf-4e70-8e0d-7b2e04ab492b})"); } impl ::core::clone::Clone for EmailNotificationTriggerDetails { fn clone(&self) -> Self { @@ -1833,7 +1833,7 @@ unsafe impl ::windows::core::Interface for EmailNotificationTriggerDetails { impl ::windows::core::RuntimeName for EmailNotificationTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.EmailNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(EmailNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: EmailNotificationTriggerDetails) -> ::windows::core::Result { @@ -1939,7 +1939,7 @@ impl ::core::fmt::Debug for EmailReadNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for EmailReadNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailReadNotificationTriggerDetails;{f5b7a087-06f3-4e3e-8c42-325e67010413})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailReadNotificationTriggerDetails;{f5b7a087-06f3-4e3e-8c42-325e67010413})"); } impl ::core::clone::Clone for EmailReadNotificationTriggerDetails { fn clone(&self) -> Self { @@ -1955,7 +1955,7 @@ unsafe impl ::windows::core::Interface for EmailReadNotificationTriggerDetails { impl ::windows::core::RuntimeName for EmailReadNotificationTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.EmailReadNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(EmailReadNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EmailReadNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: EmailReadNotificationTriggerDetails) -> ::windows::core::Result { @@ -2047,7 +2047,7 @@ impl ::core::fmt::Debug for MediaControlsTriggerDetails { } } impl ::windows::core::RuntimeType for MediaControlsTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.MediaControlsTriggerDetails;{fab4648b-ae45-4548-91ca-4ab0548e33b5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.MediaControlsTriggerDetails;{fab4648b-ae45-4548-91ca-4ab0548e33b5})"); } impl ::core::clone::Clone for MediaControlsTriggerDetails { fn clone(&self) -> Self { @@ -2063,7 +2063,7 @@ unsafe impl ::windows::core::Interface for MediaControlsTriggerDetails { impl ::windows::core::RuntimeName for MediaControlsTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.MediaControlsTriggerDetails"; } -::windows::core::interface_hierarchy!(MediaControlsTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaControlsTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: MediaControlsTriggerDetails) -> ::windows::core::Result { @@ -2153,7 +2153,7 @@ impl ::core::fmt::Debug for MediaMetadata { } } impl ::windows::core::RuntimeType for MediaMetadata { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.MediaMetadata;{9b50ddf7-bb6c-4330-b3cd-0704a54cdb80})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.MediaMetadata;{9b50ddf7-bb6c-4330-b3cd-0704a54cdb80})"); } impl ::core::clone::Clone for MediaMetadata { fn clone(&self) -> Self { @@ -2169,7 +2169,7 @@ unsafe impl ::windows::core::Interface for MediaMetadata { impl ::windows::core::RuntimeName for MediaMetadata { const NAME: &'static str = "Windows.Phone.Notification.Management.MediaMetadata"; } -::windows::core::interface_hierarchy!(MediaMetadata, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MediaMetadata, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct PhoneCallDetails(::windows::core::IUnknown); @@ -2277,7 +2277,7 @@ impl ::core::fmt::Debug for PhoneCallDetails { } } impl ::windows::core::RuntimeType for PhoneCallDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneCallDetails;{0c1b6f53-f071-483e-bf33-ebd44b724447})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneCallDetails;{0c1b6f53-f071-483e-bf33-ebd44b724447})"); } impl ::core::clone::Clone for PhoneCallDetails { fn clone(&self) -> Self { @@ -2293,7 +2293,7 @@ unsafe impl ::windows::core::Interface for PhoneCallDetails { impl ::windows::core::RuntimeName for PhoneCallDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.PhoneCallDetails"; } -::windows::core::interface_hierarchy!(PhoneCallDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneCallDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct PhoneLineDetails(::windows::core::IUnknown); @@ -2360,7 +2360,7 @@ impl ::core::fmt::Debug for PhoneLineDetails { } } impl ::windows::core::RuntimeType for PhoneLineDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneLineDetails;{47eb32dc-33ed-49b9-995c-a296bac82b77})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneLineDetails;{47eb32dc-33ed-49b9-995c-a296bac82b77})"); } impl ::core::clone::Clone for PhoneLineDetails { fn clone(&self) -> Self { @@ -2376,7 +2376,7 @@ unsafe impl ::windows::core::Interface for PhoneLineDetails { impl ::windows::core::RuntimeName for PhoneLineDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.PhoneLineDetails"; } -::windows::core::interface_hierarchy!(PhoneLineDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneLineDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct PhoneNotificationTriggerDetails(::windows::core::IUnknown); @@ -2456,7 +2456,7 @@ impl ::core::fmt::Debug for PhoneNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for PhoneNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneNotificationTriggerDetails;{ccc2fdf7-09c3-4118-91bc-ca6323a8d383})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneNotificationTriggerDetails;{ccc2fdf7-09c3-4118-91bc-ca6323a8d383})"); } impl ::core::clone::Clone for PhoneNotificationTriggerDetails { fn clone(&self) -> Self { @@ -2472,7 +2472,7 @@ unsafe impl ::windows::core::Interface for PhoneNotificationTriggerDetails { impl ::windows::core::RuntimeName for PhoneNotificationTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.PhoneNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(PhoneNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PhoneNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: PhoneNotificationTriggerDetails) -> ::windows::core::Result { @@ -2610,7 +2610,7 @@ impl ::core::fmt::Debug for ReminderNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for ReminderNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.ReminderNotificationTriggerDetails;{5bddaa5d-9f61-4bf0-9feb-10502bc0b0c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.ReminderNotificationTriggerDetails;{5bddaa5d-9f61-4bf0-9feb-10502bc0b0c2})"); } impl ::core::clone::Clone for ReminderNotificationTriggerDetails { fn clone(&self) -> Self { @@ -2626,7 +2626,7 @@ unsafe impl ::windows::core::Interface for ReminderNotificationTriggerDetails { impl ::windows::core::RuntimeName for ReminderNotificationTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.ReminderNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(ReminderNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ReminderNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: ReminderNotificationTriggerDetails) -> ::windows::core::Result { @@ -2684,7 +2684,7 @@ impl ::core::fmt::Debug for SpeedDialEntry { } } impl ::windows::core::RuntimeType for SpeedDialEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.SpeedDialEntry;{9240b6db-872c-46dc-b62a-be4541b166f8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.SpeedDialEntry;{9240b6db-872c-46dc-b62a-be4541b166f8})"); } impl ::core::clone::Clone for SpeedDialEntry { fn clone(&self) -> Self { @@ -2700,7 +2700,7 @@ unsafe impl ::windows::core::Interface for SpeedDialEntry { impl ::windows::core::RuntimeName for SpeedDialEntry { const NAME: &'static str = "Windows.Phone.Notification.Management.SpeedDialEntry"; } -::windows::core::interface_hierarchy!(SpeedDialEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpeedDialEntry, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct TextResponse(::windows::core::IUnknown); @@ -2732,7 +2732,7 @@ impl ::core::fmt::Debug for TextResponse { } } impl ::windows::core::RuntimeType for TextResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.TextResponse;{e9cb74c3-2457-4cdb-8110-72f5e8e883e8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.TextResponse;{e9cb74c3-2457-4cdb-8110-72f5e8e883e8})"); } impl ::core::clone::Clone for TextResponse { fn clone(&self) -> Self { @@ -2748,7 +2748,7 @@ unsafe impl ::windows::core::Interface for TextResponse { impl ::windows::core::RuntimeName for TextResponse { const NAME: &'static str = "Windows.Phone.Notification.Management.TextResponse"; } -::windows::core::interface_hierarchy!(TextResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TextResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] pub struct ToastNotificationTriggerDetails(::windows::core::IUnknown); @@ -2849,7 +2849,7 @@ impl ::core::fmt::Debug for ToastNotificationTriggerDetails { } } impl ::windows::core::RuntimeType for ToastNotificationTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.ToastNotificationTriggerDetails;{c9314895-4e6d-4e9d-afec-9e921b875ae8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.ToastNotificationTriggerDetails;{c9314895-4e6d-4e9d-afec-9e921b875ae8})"); } impl ::core::clone::Clone for ToastNotificationTriggerDetails { fn clone(&self) -> Self { @@ -2865,7 +2865,7 @@ unsafe impl ::windows::core::Interface for ToastNotificationTriggerDetails { impl ::windows::core::RuntimeName for ToastNotificationTriggerDetails { const NAME: &'static str = "Windows.Phone.Notification.Management.ToastNotificationTriggerDetails"; } -::windows::core::interface_hierarchy!(ToastNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotificationTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAccessoryNotificationTriggerDetails { type Error = ::windows::core::Error; fn try_from(value: ToastNotificationTriggerDetails) -> ::windows::core::Result { @@ -2937,7 +2937,7 @@ impl ::core::fmt::Debug for VolumeInfo { } } impl ::windows::core::RuntimeType for VolumeInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.VolumeInfo;{944dd118-7704-4481-b92e-d3ed3ece6322})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.VolumeInfo;{944dd118-7704-4481-b92e-d3ed3ece6322})"); } impl ::core::clone::Clone for VolumeInfo { fn clone(&self) -> Self { @@ -2953,7 +2953,7 @@ unsafe impl ::windows::core::Interface for VolumeInfo { impl ::windows::core::RuntimeName for VolumeInfo { const NAME: &'static str = "Windows.Phone.Notification.Management.VolumeInfo"; } -::windows::core::interface_hierarchy!(VolumeInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VolumeInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -3029,7 +3029,7 @@ impl ::core::ops::Not for AccessoryNotificationType { } } impl ::windows::core::RuntimeType for AccessoryNotificationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.AccessoryNotificationType;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.AccessoryNotificationType;u4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3064,7 +3064,7 @@ impl ::core::fmt::Debug for CalendarChangedEvent { } } impl ::windows::core::RuntimeType for CalendarChangedEvent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.CalendarChangedEvent;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.CalendarChangedEvent;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3095,7 +3095,7 @@ impl ::core::fmt::Debug for PhoneCallAudioEndpoint { } } impl ::windows::core::RuntimeType for PhoneCallAudioEndpoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneCallAudioEndpoint;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneCallAudioEndpoint;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3125,7 +3125,7 @@ impl ::core::fmt::Debug for PhoneCallDirection { } } impl ::windows::core::RuntimeType for PhoneCallDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneCallDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneCallDirection;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3158,7 +3158,7 @@ impl ::core::fmt::Debug for PhoneCallState { } } impl ::windows::core::RuntimeType for PhoneCallState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneCallState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneCallState;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3188,7 +3188,7 @@ impl ::core::fmt::Debug for PhoneCallTransport { } } impl ::windows::core::RuntimeType for PhoneCallTransport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneCallTransport;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneCallTransport;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3219,7 +3219,7 @@ impl ::core::fmt::Debug for PhoneLineRegistrationState { } } impl ::windows::core::RuntimeType for PhoneLineRegistrationState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneLineRegistrationState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneLineRegistrationState;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3249,7 +3249,7 @@ impl ::core::fmt::Debug for PhoneMediaType { } } impl ::windows::core::RuntimeType for PhoneMediaType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneMediaType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneMediaType;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3282,7 +3282,7 @@ impl ::core::fmt::Debug for PhoneNotificationType { } } impl ::windows::core::RuntimeType for PhoneNotificationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneNotificationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PhoneNotificationType;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3354,7 +3354,7 @@ impl ::core::ops::Not for PlaybackCapability { } } impl ::windows::core::RuntimeType for PlaybackCapability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PlaybackCapability;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PlaybackCapability;u4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3392,7 +3392,7 @@ impl ::core::fmt::Debug for PlaybackCommand { } } impl ::windows::core::RuntimeType for PlaybackCommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PlaybackCommand;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PlaybackCommand;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3425,7 +3425,7 @@ impl ::core::fmt::Debug for PlaybackStatus { } } impl ::windows::core::RuntimeType for PlaybackStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PlaybackStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.PlaybackStatus;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3456,7 +3456,7 @@ impl ::core::fmt::Debug for ReminderState { } } impl ::windows::core::RuntimeType for ReminderState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.ReminderState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.ReminderState;i4)"); } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] @@ -3488,7 +3488,7 @@ impl ::core::fmt::Debug for VibrateState { } } impl ::windows::core::RuntimeType for VibrateState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.VibrateState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Notification.Management.VibrateState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs index e758343de5..982556298e 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs @@ -108,12 +108,12 @@ impl ContactPartnerProvisioningManager { } #[doc(hidden)] pub fn IContactPartnerProvisioningManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IContactPartnerProvisioningManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -151,7 +151,7 @@ impl MessagePartnerProvisioningManager { } #[doc(hidden)] pub fn IMessagePartnerProvisioningManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index fb8129bf2d..120fa2ac06 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -170,7 +170,7 @@ impl IContactInformation { } } } -::windows::core::interface_hierarchy!(IContactInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContactInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -183,7 +183,7 @@ impl ::core::fmt::Debug for IContactInformation { } } impl ::windows::core::RuntimeType for IContactInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e2b51ffc-e792-4ab7-b15b-f2e078664dea}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e2b51ffc-e792-4ab7-b15b-f2e078664dea}"); } unsafe impl ::windows::core::Vtable for IContactInformation { type Vtable = IContactInformation_Vtbl; @@ -255,7 +255,7 @@ impl IContactInformation2 { unsafe { (::windows::core::Vtable::vtable(this).SetDisplayPictureDate)(::windows::core::Vtable::as_raw(this), returnvalue).ok() } } } -::windows::core::interface_hierarchy!(IContactInformation2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContactInformation2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContactInformation2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -268,7 +268,7 @@ impl ::core::fmt::Debug for IContactInformation2 { } } impl ::windows::core::RuntimeType for IContactInformation2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3198b20c-621e-4668-ac38-d667b87d06d5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3198b20c-621e-4668-ac38-d667b87d06d5}"); } unsafe impl ::windows::core::Vtable for IContactInformation2 { type Vtable = IContactInformation2_Vtbl; @@ -591,8 +591,8 @@ impl ContactAddress { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Country(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -663,7 +663,7 @@ impl ::core::fmt::Debug for ContactAddress { } } impl ::windows::core::RuntimeType for ContactAddress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactAddress;{5f24f927-94a9-44a2-a155-2d0b37d1dccd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactAddress;{5f24f927-94a9-44a2-a155-2d0b37d1dccd})"); } impl ::core::clone::Clone for ContactAddress { fn clone(&self) -> Self { @@ -679,7 +679,7 @@ unsafe impl ::windows::core::Interface for ContactAddress { impl ::windows::core::RuntimeName for ContactAddress { const NAME: &'static str = "Windows.Phone.PersonalInformation.ContactAddress"; } -::windows::core::interface_hierarchy!(ContactAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactAddress {} unsafe impl ::core::marker::Sync for ContactAddress {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] @@ -727,7 +727,7 @@ impl ::core::fmt::Debug for ContactChangeRecord { } } impl ::windows::core::RuntimeType for ContactChangeRecord { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactChangeRecord;{b9d3f78f-513b-4742-be00-cc5c5c236b04})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactChangeRecord;{b9d3f78f-513b-4742-be00-cc5c5c236b04})"); } impl ::core::clone::Clone for ContactChangeRecord { fn clone(&self) -> Self { @@ -743,7 +743,7 @@ unsafe impl ::windows::core::Interface for ContactChangeRecord { impl ::windows::core::RuntimeName for ContactChangeRecord { const NAME: &'static str = "Windows.Phone.PersonalInformation.ContactChangeRecord"; } -::windows::core::interface_hierarchy!(ContactChangeRecord, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactChangeRecord, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactChangeRecord {} unsafe impl ::core::marker::Sync for ContactChangeRecord {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] @@ -753,8 +753,8 @@ impl ContactInformation { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn DisplayName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -884,7 +884,7 @@ impl ContactInformation { } #[doc(hidden)] pub fn IContactInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -900,7 +900,7 @@ impl ::core::fmt::Debug for ContactInformation { } } impl ::windows::core::RuntimeType for ContactInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactInformation;{e2b51ffc-e792-4ab7-b15b-f2e078664dea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactInformation;{e2b51ffc-e792-4ab7-b15b-f2e078664dea})"); } impl ::core::clone::Clone for ContactInformation { fn clone(&self) -> Self { @@ -916,7 +916,7 @@ unsafe impl ::windows::core::Interface for ContactInformation { impl ::windows::core::RuntimeName for ContactInformation { const NAME: &'static str = "Windows.Phone.PersonalInformation.ContactInformation"; } -::windows::core::interface_hierarchy!(ContactInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IContactInformation { type Error = ::windows::core::Error; fn try_from(value: ContactInformation) -> ::windows::core::Result { @@ -945,8 +945,8 @@ impl ContactQueryOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -982,7 +982,7 @@ impl ::core::fmt::Debug for ContactQueryOptions { } } impl ::windows::core::RuntimeType for ContactQueryOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactQueryOptions;{580cab76-3f31-46c1-9a50-424a53dacae3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactQueryOptions;{580cab76-3f31-46c1-9a50-424a53dacae3})"); } impl ::core::clone::Clone for ContactQueryOptions { fn clone(&self) -> Self { @@ -998,7 +998,7 @@ unsafe impl ::windows::core::Interface for ContactQueryOptions { impl ::windows::core::RuntimeName for ContactQueryOptions { const NAME: &'static str = "Windows.Phone.PersonalInformation.ContactQueryOptions"; } -::windows::core::interface_hierarchy!(ContactQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactQueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactQueryOptions {} unsafe impl ::core::marker::Sync for ContactQueryOptions {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] @@ -1052,7 +1052,7 @@ impl ::core::fmt::Debug for ContactQueryResult { } } impl ::windows::core::RuntimeType for ContactQueryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactQueryResult;{c03db722-ecdb-4700-857e-3e786426b04b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactQueryResult;{c03db722-ecdb-4700-857e-3e786426b04b})"); } impl ::core::clone::Clone for ContactQueryResult { fn clone(&self) -> Self { @@ -1068,7 +1068,7 @@ unsafe impl ::windows::core::Interface for ContactQueryResult { impl ::windows::core::RuntimeName for ContactQueryResult { const NAME: &'static str = "Windows.Phone.PersonalInformation.ContactQueryResult"; } -::windows::core::interface_hierarchy!(ContactQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactQueryResult {} unsafe impl ::core::marker::Sync for ContactQueryResult {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] @@ -1190,7 +1190,7 @@ impl ContactStore { } #[doc(hidden)] pub fn IContactStoreStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1206,7 +1206,7 @@ impl ::core::fmt::Debug for ContactStore { } } impl ::windows::core::RuntimeType for ContactStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactStore;{b2cd6fef-2bfd-4fad-8552-4e698097e8eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactStore;{b2cd6fef-2bfd-4fad-8552-4e698097e8eb})"); } impl ::core::clone::Clone for ContactStore { fn clone(&self) -> Self { @@ -1222,7 +1222,7 @@ unsafe impl ::windows::core::Interface for ContactStore { impl ::windows::core::RuntimeName for ContactStore { const NAME: &'static str = "Windows.Phone.PersonalInformation.ContactStore"; } -::windows::core::interface_hierarchy!(ContactStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContactStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContactStore {} unsafe impl ::core::marker::Sync for ContactStore {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] @@ -1440,7 +1440,7 @@ impl KnownContactProperties { } #[doc(hidden)] pub fn IKnownContactPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1645,7 +1645,7 @@ impl StoredContact { } #[doc(hidden)] pub fn IStoredContactFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1661,7 +1661,7 @@ impl ::core::fmt::Debug for StoredContact { } } impl ::windows::core::RuntimeType for StoredContact { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.StoredContact;{b070b7b1-263d-4e71-abe7-591d2466570e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.StoredContact;{b070b7b1-263d-4e71-abe7-591d2466570e})"); } impl ::core::clone::Clone for StoredContact { fn clone(&self) -> Self { @@ -1677,7 +1677,7 @@ unsafe impl ::windows::core::Interface for StoredContact { impl ::windows::core::RuntimeName for StoredContact { const NAME: &'static str = "Windows.Phone.PersonalInformation.StoredContact"; } -::windows::core::interface_hierarchy!(StoredContact, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoredContact, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IContactInformation { type Error = ::windows::core::Error; fn try_from(value: StoredContact) -> ::windows::core::Result { @@ -1747,7 +1747,7 @@ impl ::core::fmt::Debug for ContactChangeType { } } impl ::windows::core::RuntimeType for ContactChangeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.ContactChangeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.ContactChangeType;i4)"); } #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] @@ -1778,7 +1778,7 @@ impl ::core::fmt::Debug for ContactQueryResultOrdering { } } impl ::windows::core::RuntimeType for ContactQueryResultOrdering { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.ContactQueryResultOrdering;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.ContactQueryResultOrdering;i4)"); } #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] @@ -1808,7 +1808,7 @@ impl ::core::fmt::Debug for ContactStoreApplicationAccessMode { } } impl ::windows::core::RuntimeType for ContactStoreApplicationAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.ContactStoreApplicationAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.ContactStoreApplicationAccessMode;i4)"); } #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] @@ -1838,7 +1838,7 @@ impl ::core::fmt::Debug for ContactStoreSystemAccessMode { } } impl ::windows::core::RuntimeType for ContactStoreSystemAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.ContactStoreSystemAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.ContactStoreSystemAccessMode;i4)"); } #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] @@ -1868,7 +1868,7 @@ impl ::core::fmt::Debug for VCardFormat { } } impl ::windows::core::RuntimeType for VCardFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.VCardFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.PersonalInformation.VCardFormat;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/Speech/Recognition/mod.rs b/crates/libs/windows/src/Windows/Phone/Speech/Recognition/mod.rs index c49918ba05..f5faf238c9 100644 --- a/crates/libs/windows/src/Windows/Phone/Speech/Recognition/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Speech/Recognition/mod.rs @@ -29,7 +29,7 @@ impl ::core::fmt::Debug for SpeechRecognitionUIStatus { } } impl ::windows::core::RuntimeType for SpeechRecognitionUIStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.Speech.Recognition.SpeechRecognitionUIStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.Speech.Recognition.SpeechRecognitionUIStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs index 4aef4c2a45..0e42a16e96 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs @@ -94,7 +94,7 @@ impl IToastNotificationManagerStatics3 { } } } -::windows::core::interface_hierarchy!(IToastNotificationManagerStatics3, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IToastNotificationManagerStatics3, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IToastNotificationManagerStatics3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -107,7 +107,7 @@ impl ::core::fmt::Debug for IToastNotificationManagerStatics3 { } } impl ::windows::core::RuntimeType for IToastNotificationManagerStatics3 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2717f54b-50df-4455-8e6e-41e0fc8e13ce}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2717f54b-50df-4455-8e6e-41e0fc8e13ce}"); } unsafe impl ::windows::core::Vtable for IToastNotificationManagerStatics3 { type Vtable = IToastNotificationManagerStatics3_Vtbl; @@ -136,8 +136,8 @@ impl DualSimTile { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetDisplayName(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -249,7 +249,7 @@ impl DualSimTile { } #[doc(hidden)] pub fn IDualSimTileStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -265,7 +265,7 @@ impl ::core::fmt::Debug for DualSimTile { } } impl ::windows::core::RuntimeType for DualSimTile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.StartScreen.DualSimTile;{143ab213-d05f-4041-a18c-3e3fcb75b41e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.StartScreen.DualSimTile;{143ab213-d05f-4041-a18c-3e3fcb75b41e})"); } impl ::core::clone::Clone for DualSimTile { fn clone(&self) -> Self { @@ -281,6 +281,6 @@ unsafe impl ::windows::core::Interface for DualSimTile { impl ::windows::core::RuntimeName for DualSimTile { const NAME: &'static str = "Windows.Phone.StartScreen.DualSimTile"; } -::windows::core::interface_hierarchy!(DualSimTile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DualSimTile, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs index 46f95e2ffc..74f0e1fded 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs @@ -76,12 +76,12 @@ impl PowerManager { } #[doc(hidden)] pub fn IPowerManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPowerManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -116,7 +116,7 @@ impl ::core::fmt::Debug for PowerSavingMode { } } impl ::windows::core::RuntimeType for PowerSavingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.System.Power.PowerSavingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.System.Power.PowerSavingMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs index ddd5c7ca07..48561e7ef9 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs @@ -42,7 +42,7 @@ impl RetailMode { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IRetailModeStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs b/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs index 08b3afd75d..77c11df175 100644 --- a/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs @@ -161,12 +161,12 @@ impl GameService { } #[doc(hidden)] pub fn IGameService ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGameService2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -199,7 +199,7 @@ impl ::core::fmt::Debug for GameServicePropertyCollection { } } impl ::windows::core::RuntimeType for GameServicePropertyCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.System.UserProfile.GameServices.Core.GameServicePropertyCollection;{07e57fc8-debb-4609-9cc8-529d16bc2bd9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.System.UserProfile.GameServices.Core.GameServicePropertyCollection;{07e57fc8-debb-4609-9cc8-529d16bc2bd9})"); } impl ::core::clone::Clone for GameServicePropertyCollection { fn clone(&self) -> Self { @@ -215,7 +215,7 @@ unsafe impl ::windows::core::Interface for GameServicePropertyCollection { impl ::windows::core::RuntimeName for GameServicePropertyCollection { const NAME: &'static str = "Windows.Phone.System.UserProfile.GameServices.Core.GameServicePropertyCollection"; } -::windows::core::interface_hierarchy!(GameServicePropertyCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GameServicePropertyCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GameServicePropertyCollection {} unsafe impl ::core::marker::Sync for GameServicePropertyCollection {} #[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"] @@ -248,7 +248,7 @@ impl ::core::fmt::Debug for GameServiceGameOutcome { } } impl ::windows::core::RuntimeType for GameServiceGameOutcome { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.System.UserProfile.GameServices.Core.GameServiceGameOutcome;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.System.UserProfile.GameServices.Core.GameServiceGameOutcome;i4)"); } #[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"] #[repr(transparent)] @@ -278,7 +278,7 @@ impl ::core::fmt::Debug for GameServiceScoreKind { } } impl ::windows::core::RuntimeType for GameServiceScoreKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Phone.System.UserProfile.GameServices.Core.GameServiceScoreKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Phone.System.UserProfile.GameServices.Core.GameServiceScoreKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Phone/System/mod.rs b/crates/libs/windows/src/Windows/Phone/System/mod.rs index eb2569937e..0d66848ef5 100644 --- a/crates/libs/windows/src/Windows/Phone/System/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/mod.rs @@ -58,12 +58,12 @@ impl SystemProtection { } #[doc(hidden)] pub fn ISystemProtectionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISystemProtectionUnlockStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs index a842b641bb..8adfc23a3e 100644 --- a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs @@ -136,7 +136,7 @@ impl ::core::fmt::Debug for BackPressedEventArgs { } } impl ::windows::core::RuntimeType for BackPressedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.UI.Input.BackPressedEventArgs;{f6f555ff-64ec-42a2-b93b-2fbc0c36a121})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.UI.Input.BackPressedEventArgs;{f6f555ff-64ec-42a2-b93b-2fbc0c36a121})"); } impl ::core::clone::Clone for BackPressedEventArgs { fn clone(&self) -> Self { @@ -152,7 +152,7 @@ unsafe impl ::windows::core::Interface for BackPressedEventArgs { impl ::windows::core::RuntimeName for BackPressedEventArgs { const NAME: &'static str = "Windows.Phone.UI.Input.BackPressedEventArgs"; } -::windows::core::interface_hierarchy!(BackPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackPressedEventArgs {} unsafe impl ::core::marker::Sync for BackPressedEventArgs {} #[doc = "*Required features: `\"Phone_UI_Input\"`*"] @@ -171,7 +171,7 @@ impl ::core::fmt::Debug for CameraEventArgs { } } impl ::windows::core::RuntimeType for CameraEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Phone.UI.Input.CameraEventArgs;{b4063bda-201f-473d-bc69-e9e4ac57c9d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.UI.Input.CameraEventArgs;{b4063bda-201f-473d-bc69-e9e4ac57c9d0})"); } impl ::core::clone::Clone for CameraEventArgs { fn clone(&self) -> Self { @@ -187,7 +187,7 @@ unsafe impl ::windows::core::Interface for CameraEventArgs { impl ::windows::core::RuntimeName for CameraEventArgs { const NAME: &'static str = "Windows.Phone.UI.Input.CameraEventArgs"; } -::windows::core::interface_hierarchy!(CameraEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CameraEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CameraEventArgs {} unsafe impl ::core::marker::Sync for CameraEventArgs {} #[doc = "*Required features: `\"Phone_UI_Input\"`*"] @@ -247,12 +247,12 @@ impl HardwareButtons { } #[doc(hidden)] pub fn IHardwareButtonsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHardwareButtonsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs index 0f13614871..ed8e619bdd 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs @@ -300,7 +300,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { } #[doc(hidden)] pub fn IMicrosoftAccountMultiFactorAuthenticatorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -316,7 +316,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorAuthenticationManager { } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorAuthenticationManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager;{0fd340a5-f574-4320-a08e-0a19a82322aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager;{0fd340a5-f574-4320-a08e-0a19a82322aa})"); } impl ::core::clone::Clone for MicrosoftAccountMultiFactorAuthenticationManager { fn clone(&self) -> Self { @@ -332,7 +332,7 @@ unsafe impl ::windows::core::Interface for MicrosoftAccountMultiFactorAuthentica impl ::windows::core::RuntimeName for MicrosoftAccountMultiFactorAuthenticationManager { const NAME: &'static str = "Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager"; } -::windows::core::interface_hierarchy!(MicrosoftAccountMultiFactorAuthenticationManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MicrosoftAccountMultiFactorAuthenticationManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorAuthenticationManager {} unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorAuthenticationManager {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] @@ -368,7 +368,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorGetSessionsResult { } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorGetSessionsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorGetSessionsResult;{4e23a9a0-e9fa-497a-95de-6d5747bf974c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorGetSessionsResult;{4e23a9a0-e9fa-497a-95de-6d5747bf974c})"); } impl ::core::clone::Clone for MicrosoftAccountMultiFactorGetSessionsResult { fn clone(&self) -> Self { @@ -384,7 +384,7 @@ unsafe impl ::windows::core::Interface for MicrosoftAccountMultiFactorGetSession impl ::windows::core::RuntimeName for MicrosoftAccountMultiFactorGetSessionsResult { const NAME: &'static str = "Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorGetSessionsResult"; } -::windows::core::interface_hierarchy!(MicrosoftAccountMultiFactorGetSessionsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MicrosoftAccountMultiFactorGetSessionsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorGetSessionsResult {} unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorGetSessionsResult {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] @@ -436,7 +436,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorOneTimeCodedInfo { } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorOneTimeCodedInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo;{82ba264b-d87c-4668-a976-40cfae547d08})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo;{82ba264b-d87c-4668-a976-40cfae547d08})"); } impl ::core::clone::Clone for MicrosoftAccountMultiFactorOneTimeCodedInfo { fn clone(&self) -> Self { @@ -452,7 +452,7 @@ unsafe impl ::windows::core::Interface for MicrosoftAccountMultiFactorOneTimeCod impl ::windows::core::RuntimeName for MicrosoftAccountMultiFactorOneTimeCodedInfo { const NAME: &'static str = "Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo"; } -::windows::core::interface_hierarchy!(MicrosoftAccountMultiFactorOneTimeCodedInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MicrosoftAccountMultiFactorOneTimeCodedInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorOneTimeCodedInfo {} unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorOneTimeCodedInfo {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] @@ -525,7 +525,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorSessionInfo { } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorSessionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo;{5f7eabb4-a278-4635-b765-b494eb260af4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo;{5f7eabb4-a278-4635-b765-b494eb260af4})"); } impl ::core::clone::Clone for MicrosoftAccountMultiFactorSessionInfo { fn clone(&self) -> Self { @@ -541,7 +541,7 @@ unsafe impl ::windows::core::Interface for MicrosoftAccountMultiFactorSessionInf impl ::windows::core::RuntimeName for MicrosoftAccountMultiFactorSessionInfo { const NAME: &'static str = "Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo"; } -::windows::core::interface_hierarchy!(MicrosoftAccountMultiFactorSessionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MicrosoftAccountMultiFactorSessionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorSessionInfo {} unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorSessionInfo {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] @@ -586,7 +586,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorUnregisteredAccountsAndSe } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo;{aa7ec5fb-da3f-4088-a20d-5618afadb2e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo;{aa7ec5fb-da3f-4088-a20d-5618afadb2e5})"); } impl ::core::clone::Clone for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { fn clone(&self) -> Self { @@ -602,7 +602,7 @@ unsafe impl ::windows::core::Interface for MicrosoftAccountMultiFactorUnregister impl ::windows::core::RuntimeName for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { const NAME: &'static str = "Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo"; } -::windows::core::interface_hierarchy!(MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo {} unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] @@ -633,7 +633,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorAuthenticationType { } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorAuthenticationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationType;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] #[repr(transparent)] @@ -683,7 +683,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorServiceResponse { } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorServiceResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] #[repr(transparent)] @@ -714,7 +714,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorSessionApprovalStatus { } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorSessionApprovalStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionApprovalStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionApprovalStatus;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] #[repr(transparent)] @@ -744,7 +744,7 @@ impl ::core::fmt::Debug for MicrosoftAccountMultiFactorSessionAuthenticationStat } } impl ::windows::core::RuntimeType for MicrosoftAccountMultiFactorSessionAuthenticationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionAuthenticationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionAuthenticationStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs index a7917c7729..3788111c82 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs @@ -119,7 +119,7 @@ impl ::core::fmt::Debug for EnterpriseKeyCredentialRegistrationInfo { } } impl ::windows::core::RuntimeType for EnterpriseKeyCredentialRegistrationInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo;{38321acc-672b-4823-b603-6b3c753daf97})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo;{38321acc-672b-4823-b603-6b3c753daf97})"); } impl ::core::clone::Clone for EnterpriseKeyCredentialRegistrationInfo { fn clone(&self) -> Self { @@ -135,7 +135,7 @@ unsafe impl ::windows::core::Interface for EnterpriseKeyCredentialRegistrationIn impl ::windows::core::RuntimeName for EnterpriseKeyCredentialRegistrationInfo { const NAME: &'static str = "Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo"; } -::windows::core::interface_hierarchy!(EnterpriseKeyCredentialRegistrationInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EnterpriseKeyCredentialRegistrationInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EnterpriseKeyCredentialRegistrationInfo {} unsafe impl ::core::marker::Sync for EnterpriseKeyCredentialRegistrationInfo {} #[doc = "*Required features: `\"Security_Authentication_Identity\"`*"] @@ -159,7 +159,7 @@ impl EnterpriseKeyCredentialRegistrationManager { } #[doc(hidden)] pub fn IEnterpriseKeyCredentialRegistrationManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -175,7 +175,7 @@ impl ::core::fmt::Debug for EnterpriseKeyCredentialRegistrationManager { } } impl ::windows::core::RuntimeType for EnterpriseKeyCredentialRegistrationManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager;{83f3be3f-a25f-4cba-bb8e-bdc32d03c297})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager;{83f3be3f-a25f-4cba-bb8e-bdc32d03c297})"); } impl ::core::clone::Clone for EnterpriseKeyCredentialRegistrationManager { fn clone(&self) -> Self { @@ -191,7 +191,7 @@ unsafe impl ::windows::core::Interface for EnterpriseKeyCredentialRegistrationMa impl ::windows::core::RuntimeName for EnterpriseKeyCredentialRegistrationManager { const NAME: &'static str = "Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager"; } -::windows::core::interface_hierarchy!(EnterpriseKeyCredentialRegistrationManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EnterpriseKeyCredentialRegistrationManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EnterpriseKeyCredentialRegistrationManager {} unsafe impl ::core::marker::Sync for EnterpriseKeyCredentialRegistrationManager {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs index bf7a42f3a0..b685fb023a 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -230,8 +230,8 @@ impl OnlineIdAuthenticator { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -303,7 +303,7 @@ impl ::core::fmt::Debug for OnlineIdAuthenticator { } } impl ::windows::core::RuntimeType for OnlineIdAuthenticator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator;{a003f58a-29ab-4817-b884-d7516dad18b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator;{a003f58a-29ab-4817-b884-d7516dad18b9})"); } impl ::core::clone::Clone for OnlineIdAuthenticator { fn clone(&self) -> Self { @@ -319,7 +319,7 @@ unsafe impl ::windows::core::Interface for OnlineIdAuthenticator { impl ::windows::core::RuntimeName for OnlineIdAuthenticator { const NAME: &'static str = "Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator"; } -::windows::core::interface_hierarchy!(OnlineIdAuthenticator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OnlineIdAuthenticator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OnlineIdAuthenticator {} unsafe impl ::core::marker::Sync for OnlineIdAuthenticator {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] @@ -360,7 +360,7 @@ impl ::core::fmt::Debug for OnlineIdServiceTicket { } } impl ::windows::core::RuntimeType for OnlineIdServiceTicket { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdServiceTicket;{c95c547f-d781-4a94-acb8-c59874238c26})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdServiceTicket;{c95c547f-d781-4a94-acb8-c59874238c26})"); } impl ::core::clone::Clone for OnlineIdServiceTicket { fn clone(&self) -> Self { @@ -376,7 +376,7 @@ unsafe impl ::windows::core::Interface for OnlineIdServiceTicket { impl ::windows::core::RuntimeName for OnlineIdServiceTicket { const NAME: &'static str = "Windows.Security.Authentication.OnlineId.OnlineIdServiceTicket"; } -::windows::core::interface_hierarchy!(OnlineIdServiceTicket, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OnlineIdServiceTicket, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OnlineIdServiceTicket {} unsafe impl ::core::marker::Sync for OnlineIdServiceTicket {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] @@ -411,7 +411,7 @@ impl OnlineIdServiceTicketRequest { } #[doc(hidden)] pub fn IOnlineIdServiceTicketRequestFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -427,7 +427,7 @@ impl ::core::fmt::Debug for OnlineIdServiceTicketRequest { } } impl ::windows::core::RuntimeType for OnlineIdServiceTicketRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest;{297445d3-fb63-4135-8909-4e354c061466})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest;{297445d3-fb63-4135-8909-4e354c061466})"); } impl ::core::clone::Clone for OnlineIdServiceTicketRequest { fn clone(&self) -> Self { @@ -443,7 +443,7 @@ unsafe impl ::windows::core::Interface for OnlineIdServiceTicketRequest { impl ::windows::core::RuntimeName for OnlineIdServiceTicketRequest { const NAME: &'static str = "Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest"; } -::windows::core::interface_hierarchy!(OnlineIdServiceTicketRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OnlineIdServiceTicketRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OnlineIdServiceTicketRequest {} unsafe impl ::core::marker::Sync for OnlineIdServiceTicketRequest {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] @@ -465,7 +465,7 @@ impl OnlineIdSystemAuthenticator { } #[doc(hidden)] pub fn IOnlineIdSystemAuthenticatorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -518,7 +518,7 @@ impl ::core::fmt::Debug for OnlineIdSystemAuthenticatorForUser { } } impl ::windows::core::RuntimeType for OnlineIdSystemAuthenticatorForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemAuthenticatorForUser;{5798befb-1de4-4186-a2e6-b563f86aaf44})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemAuthenticatorForUser;{5798befb-1de4-4186-a2e6-b563f86aaf44})"); } impl ::core::clone::Clone for OnlineIdSystemAuthenticatorForUser { fn clone(&self) -> Self { @@ -534,7 +534,7 @@ unsafe impl ::windows::core::Interface for OnlineIdSystemAuthenticatorForUser { impl ::windows::core::RuntimeName for OnlineIdSystemAuthenticatorForUser { const NAME: &'static str = "Windows.Security.Authentication.OnlineId.OnlineIdSystemAuthenticatorForUser"; } -::windows::core::interface_hierarchy!(OnlineIdSystemAuthenticatorForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OnlineIdSystemAuthenticatorForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OnlineIdSystemAuthenticatorForUser {} unsafe impl ::core::marker::Sync for OnlineIdSystemAuthenticatorForUser {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] @@ -568,7 +568,7 @@ impl ::core::fmt::Debug for OnlineIdSystemIdentity { } } impl ::windows::core::RuntimeType for OnlineIdSystemIdentity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemIdentity;{743cd20d-b6ca-434d-8124-53ea12685307})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemIdentity;{743cd20d-b6ca-434d-8124-53ea12685307})"); } impl ::core::clone::Clone for OnlineIdSystemIdentity { fn clone(&self) -> Self { @@ -584,7 +584,7 @@ unsafe impl ::windows::core::Interface for OnlineIdSystemIdentity { impl ::windows::core::RuntimeName for OnlineIdSystemIdentity { const NAME: &'static str = "Windows.Security.Authentication.OnlineId.OnlineIdSystemIdentity"; } -::windows::core::interface_hierarchy!(OnlineIdSystemIdentity, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OnlineIdSystemIdentity, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OnlineIdSystemIdentity {} unsafe impl ::core::marker::Sync for OnlineIdSystemIdentity {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] @@ -625,7 +625,7 @@ impl ::core::fmt::Debug for OnlineIdSystemTicketResult { } } impl ::windows::core::RuntimeType for OnlineIdSystemTicketResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketResult;{db0a5ff8-b098-4acd-9d13-9e640652b5b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketResult;{db0a5ff8-b098-4acd-9d13-9e640652b5b6})"); } impl ::core::clone::Clone for OnlineIdSystemTicketResult { fn clone(&self) -> Self { @@ -641,7 +641,7 @@ unsafe impl ::windows::core::Interface for OnlineIdSystemTicketResult { impl ::windows::core::RuntimeName for OnlineIdSystemTicketResult { const NAME: &'static str = "Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketResult"; } -::windows::core::interface_hierarchy!(OnlineIdSystemTicketResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OnlineIdSystemTicketResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OnlineIdSystemTicketResult {} unsafe impl ::core::marker::Sync for OnlineIdSystemTicketResult {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`, `\"Foundation\"`*"] @@ -727,7 +727,7 @@ impl ::core::fmt::Debug for SignOutUserOperation { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for SignOutUserOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.SignOutUserOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.SignOutUserOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); } #[cfg(feature = "Foundation")] impl ::core::clone::Clone for SignOutUserOperation { @@ -751,7 +751,7 @@ impl ::windows::core::RuntimeName for SignOutUserOperation { impl SignOutUserOperation { pub fn get(&self) -> ::windows::core::Result<()> { if self.Status()? == super::super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::super::Foundation::AsyncActionCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -779,7 +779,7 @@ impl ::std::future::Future for SignOutUserOperation { } } #[cfg(feature = "Foundation")] -::windows::core::interface_hierarchy!(SignOutUserOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SignOutUserOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IAsyncAction { type Error = ::windows::core::Error; @@ -914,7 +914,7 @@ impl ::core::fmt::Debug for UserAuthenticationOperation { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for UserAuthenticationOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.UserAuthenticationOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Security.Authentication.OnlineId.UserIdentity;{2146d9cd-0742-4be3-8a1c-7c7ae679aa88})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.UserAuthenticationOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Security.Authentication.OnlineId.UserIdentity;{2146d9cd-0742-4be3-8a1c-7c7ae679aa88})))"); } #[cfg(feature = "Foundation")] impl ::core::clone::Clone for UserAuthenticationOperation { @@ -938,7 +938,7 @@ impl ::windows::core::RuntimeName for UserAuthenticationOperation { impl UserAuthenticationOperation { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == super::super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::super::Foundation::AsyncOperationCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -966,7 +966,7 @@ impl ::std::future::Future for UserAuthenticationOperation { } } #[cfg(feature = "Foundation")] -::windows::core::interface_hierarchy!(UserAuthenticationOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserAuthenticationOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IAsyncInfo { type Error = ::windows::core::Error; @@ -1090,7 +1090,7 @@ impl ::core::fmt::Debug for UserIdentity { } } impl ::windows::core::RuntimeType for UserIdentity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.UserIdentity;{2146d9cd-0742-4be3-8a1c-7c7ae679aa88})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.UserIdentity;{2146d9cd-0742-4be3-8a1c-7c7ae679aa88})"); } impl ::core::clone::Clone for UserIdentity { fn clone(&self) -> Self { @@ -1106,7 +1106,7 @@ unsafe impl ::windows::core::Interface for UserIdentity { impl ::windows::core::RuntimeName for UserIdentity { const NAME: &'static str = "Windows.Security.Authentication.OnlineId.UserIdentity"; } -::windows::core::interface_hierarchy!(UserIdentity, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserIdentity, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserIdentity {} unsafe impl ::core::marker::Sync for UserIdentity {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] @@ -1138,7 +1138,7 @@ impl ::core::fmt::Debug for CredentialPromptType { } } impl ::windows::core::RuntimeType for CredentialPromptType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.OnlineId.CredentialPromptType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.OnlineId.CredentialPromptType;i4)"); } #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] #[repr(transparent)] @@ -1169,7 +1169,7 @@ impl ::core::fmt::Debug for OnlineIdSystemTicketStatus { } } impl ::windows::core::RuntimeType for OnlineIdSystemTicketStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs index da6c2a4ad6..4429156844 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs @@ -528,7 +528,7 @@ impl ::core::fmt::Debug for FindAllAccountsResult { } } impl ::windows::core::RuntimeType for FindAllAccountsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.FindAllAccountsResult;{a5812b5d-b72e-420c-86ab-aac0d7b7261f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.FindAllAccountsResult;{a5812b5d-b72e-420c-86ab-aac0d7b7261f})"); } impl ::core::clone::Clone for FindAllAccountsResult { fn clone(&self) -> Self { @@ -544,7 +544,7 @@ unsafe impl ::windows::core::Interface for FindAllAccountsResult { impl ::windows::core::RuntimeName for FindAllAccountsResult { const NAME: &'static str = "Windows.Security.Authentication.Web.Core.FindAllAccountsResult"; } -::windows::core::interface_hierarchy!(FindAllAccountsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FindAllAccountsResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FindAllAccountsResult {} unsafe impl ::core::marker::Sync for FindAllAccountsResult {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -573,7 +573,7 @@ impl ::core::fmt::Debug for WebAccountEventArgs { } } impl ::windows::core::RuntimeType for WebAccountEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebAccountEventArgs;{6fb7037d-424e-44ec-977c-ef2415462a5a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebAccountEventArgs;{6fb7037d-424e-44ec-977c-ef2415462a5a})"); } impl ::core::clone::Clone for WebAccountEventArgs { fn clone(&self) -> Self { @@ -589,7 +589,7 @@ unsafe impl ::windows::core::Interface for WebAccountEventArgs { impl ::windows::core::RuntimeName for WebAccountEventArgs { const NAME: &'static str = "Windows.Security.Authentication.Web.Core.WebAccountEventArgs"; } -::windows::core::interface_hierarchy!(WebAccountEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebAccountEventArgs {} unsafe impl ::core::marker::Sync for WebAccountEventArgs {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -669,7 +669,7 @@ impl ::core::fmt::Debug for WebAccountMonitor { } } impl ::windows::core::RuntimeType for WebAccountMonitor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebAccountMonitor;{7445f5fd-aa9d-4619-8d5d-c138a4ede3e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebAccountMonitor;{7445f5fd-aa9d-4619-8d5d-c138a4ede3e5})"); } impl ::core::clone::Clone for WebAccountMonitor { fn clone(&self) -> Self { @@ -685,7 +685,7 @@ unsafe impl ::windows::core::Interface for WebAccountMonitor { impl ::windows::core::RuntimeName for WebAccountMonitor { const NAME: &'static str = "Windows.Security.Authentication.Web.Core.WebAccountMonitor"; } -::windows::core::interface_hierarchy!(WebAccountMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountMonitor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebAccountMonitor {} unsafe impl ::core::marker::Sync for WebAccountMonitor {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -809,22 +809,22 @@ impl WebAuthenticationCoreManager { } #[doc(hidden)] pub fn IWebAuthenticationCoreManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAuthenticationCoreManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAuthenticationCoreManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAuthenticationCoreManagerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -866,7 +866,7 @@ impl WebProviderError { } #[doc(hidden)] pub fn IWebProviderErrorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -882,7 +882,7 @@ impl ::core::fmt::Debug for WebProviderError { } } impl ::windows::core::RuntimeType for WebProviderError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebProviderError;{db191bb1-50c5-4809-8dca-09c99410245c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebProviderError;{db191bb1-50c5-4809-8dca-09c99410245c})"); } impl ::core::clone::Clone for WebProviderError { fn clone(&self) -> Self { @@ -898,7 +898,7 @@ unsafe impl ::windows::core::Interface for WebProviderError { impl ::windows::core::RuntimeName for WebProviderError { const NAME: &'static str = "Windows.Security.Authentication.Web.Core.WebProviderError"; } -::windows::core::interface_hierarchy!(WebProviderError, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebProviderError, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebProviderError {} unsafe impl ::core::marker::Sync for WebProviderError {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -998,7 +998,7 @@ impl WebTokenRequest { } #[doc(hidden)] pub fn IWebTokenRequestFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1014,7 +1014,7 @@ impl ::core::fmt::Debug for WebTokenRequest { } } impl ::windows::core::RuntimeType for WebTokenRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenRequest;{b77b4d68-adcb-4673-b364-0cf7b35caf97})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenRequest;{b77b4d68-adcb-4673-b364-0cf7b35caf97})"); } impl ::core::clone::Clone for WebTokenRequest { fn clone(&self) -> Self { @@ -1030,7 +1030,7 @@ unsafe impl ::windows::core::Interface for WebTokenRequest { impl ::windows::core::RuntimeName for WebTokenRequest { const NAME: &'static str = "Windows.Security.Authentication.Web.Core.WebTokenRequest"; } -::windows::core::interface_hierarchy!(WebTokenRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebTokenRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebTokenRequest {} unsafe impl ::core::marker::Sync for WebTokenRequest {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -1082,7 +1082,7 @@ impl ::core::fmt::Debug for WebTokenRequestResult { } } impl ::windows::core::RuntimeType for WebTokenRequestResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenRequestResult;{c12a8305-d1f8-4483-8d54-38fe292784ff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenRequestResult;{c12a8305-d1f8-4483-8d54-38fe292784ff})"); } impl ::core::clone::Clone for WebTokenRequestResult { fn clone(&self) -> Self { @@ -1098,7 +1098,7 @@ unsafe impl ::windows::core::Interface for WebTokenRequestResult { impl ::windows::core::RuntimeName for WebTokenRequestResult { const NAME: &'static str = "Windows.Security.Authentication.Web.Core.WebTokenRequestResult"; } -::windows::core::interface_hierarchy!(WebTokenRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebTokenRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebTokenRequestResult {} unsafe impl ::core::marker::Sync for WebTokenRequestResult {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -1108,8 +1108,8 @@ impl WebTokenResponse { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Token(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1168,7 +1168,7 @@ impl WebTokenResponse { } #[doc(hidden)] pub fn IWebTokenResponseFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1184,7 +1184,7 @@ impl ::core::fmt::Debug for WebTokenResponse { } } impl ::windows::core::RuntimeType for WebTokenResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenResponse;{67a7c5ca-83f6-44c6-a3b1-0eb69e41fa8a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenResponse;{67a7c5ca-83f6-44c6-a3b1-0eb69e41fa8a})"); } impl ::core::clone::Clone for WebTokenResponse { fn clone(&self) -> Self { @@ -1200,7 +1200,7 @@ unsafe impl ::windows::core::Interface for WebTokenResponse { impl ::windows::core::RuntimeName for WebTokenResponse { const NAME: &'static str = "Windows.Security.Authentication.Web.Core.WebTokenResponse"; } -::windows::core::interface_hierarchy!(WebTokenResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebTokenResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebTokenResponse {} unsafe impl ::core::marker::Sync for WebTokenResponse {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -1233,7 +1233,7 @@ impl ::core::fmt::Debug for FindAllWebAccountsStatus { } } impl ::windows::core::RuntimeType for FindAllWebAccountsStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Core.FindAllWebAccountsStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Core.FindAllWebAccountsStatus;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] @@ -1263,7 +1263,7 @@ impl ::core::fmt::Debug for WebTokenRequestPromptType { } } impl ::windows::core::RuntimeType for WebTokenRequestPromptType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Core.WebTokenRequestPromptType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Core.WebTokenRequestPromptType;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] @@ -1297,7 +1297,7 @@ impl ::core::fmt::Debug for WebTokenRequestStatus { } } impl ::windows::core::RuntimeType for WebTokenRequestStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Core.WebTokenRequestStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Core.WebTokenRequestStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs index 182d6d7428..b40644f1a5 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs @@ -264,7 +264,7 @@ impl IWebAccountProviderBaseReportOperation { unsafe { (::windows::core::Vtable::vtable(this).ReportError)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -::windows::core::interface_hierarchy!(IWebAccountProviderBaseReportOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccountProviderBaseReportOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebAccountProviderBaseReportOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -277,7 +277,7 @@ impl ::core::fmt::Debug for IWebAccountProviderBaseReportOperation { } } impl ::windows::core::RuntimeType for IWebAccountProviderBaseReportOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{bba4acbb-993b-4d57-bbe4-1421e3668b4c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{bba4acbb-993b-4d57-bbe4-1421e3668b4c}"); } unsafe impl ::windows::core::Vtable for IWebAccountProviderBaseReportOperation { type Vtable = IWebAccountProviderBaseReportOperation_Vtbl; @@ -359,7 +359,7 @@ impl IWebAccountProviderOperation { } } } -::windows::core::interface_hierarchy!(IWebAccountProviderOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccountProviderOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebAccountProviderOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -372,7 +372,7 @@ impl ::core::fmt::Debug for IWebAccountProviderOperation { } } impl ::windows::core::RuntimeType for IWebAccountProviderOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6d5d2426-10b1-419a-a44e-f9c5161574e6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6d5d2426-10b1-419a-a44e-f9c5161574e6}"); } unsafe impl ::windows::core::Vtable for IWebAccountProviderOperation { type Vtable = IWebAccountProviderOperation_Vtbl; @@ -483,7 +483,7 @@ impl IWebAccountProviderSilentReportOperation { unsafe { (::windows::core::Vtable::vtable(this).ReportError)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -::windows::core::interface_hierarchy!(IWebAccountProviderSilentReportOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccountProviderSilentReportOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderBaseReportOperation { type Error = ::windows::core::Error; fn try_from(value: IWebAccountProviderSilentReportOperation) -> ::windows::core::Result { @@ -515,7 +515,7 @@ impl ::core::fmt::Debug for IWebAccountProviderSilentReportOperation { } } impl ::windows::core::RuntimeType for IWebAccountProviderSilentReportOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e0b545f8-3b0f-44da-924c-7b18baaa62a9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e0b545f8-3b0f-44da-924c-7b18baaa62a9}"); } unsafe impl ::windows::core::Vtable for IWebAccountProviderSilentReportOperation { type Vtable = IWebAccountProviderSilentReportOperation_Vtbl; @@ -550,7 +550,7 @@ impl IWebAccountProviderTokenObjects { } } } -::windows::core::interface_hierarchy!(IWebAccountProviderTokenObjects, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccountProviderTokenObjects, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebAccountProviderTokenObjects { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -563,7 +563,7 @@ impl ::core::fmt::Debug for IWebAccountProviderTokenObjects { } } impl ::windows::core::RuntimeType for IWebAccountProviderTokenObjects { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{408f284b-1328-42db-89a4-0bce7a717d8e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{408f284b-1328-42db-89a4-0bce7a717d8e}"); } unsafe impl ::windows::core::Vtable for IWebAccountProviderTokenObjects { type Vtable = IWebAccountProviderTokenObjects_Vtbl; @@ -603,7 +603,7 @@ impl IWebAccountProviderTokenObjects2 { } } } -::windows::core::interface_hierarchy!(IWebAccountProviderTokenObjects2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccountProviderTokenObjects2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderTokenObjects { type Error = ::windows::core::Error; fn try_from(value: IWebAccountProviderTokenObjects2) -> ::windows::core::Result { @@ -635,7 +635,7 @@ impl ::core::fmt::Debug for IWebAccountProviderTokenObjects2 { } } impl ::windows::core::RuntimeType for IWebAccountProviderTokenObjects2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1020b893-5ca5-4fff-95fb-b820273fc395}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1020b893-5ca5-4fff-95fb-b820273fc395}"); } unsafe impl ::windows::core::Vtable for IWebAccountProviderTokenObjects2 { type Vtable = IWebAccountProviderTokenObjects2_Vtbl; @@ -700,7 +700,7 @@ impl IWebAccountProviderTokenOperation { } } } -::windows::core::interface_hierarchy!(IWebAccountProviderTokenOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccountProviderTokenOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderOperation { type Error = ::windows::core::Error; fn try_from(value: IWebAccountProviderTokenOperation) -> ::windows::core::Result { @@ -732,7 +732,7 @@ impl ::core::fmt::Debug for IWebAccountProviderTokenOperation { } } impl ::windows::core::RuntimeType for IWebAccountProviderTokenOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{95c613be-2034-4c38-9434-d26c14b2b4b2}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{95c613be-2034-4c38-9434-d26c14b2b4b2}"); } unsafe impl ::windows::core::Vtable for IWebAccountProviderTokenOperation { type Vtable = IWebAccountProviderTokenOperation_Vtbl; @@ -782,7 +782,7 @@ impl IWebAccountProviderUIReportOperation { unsafe { (::windows::core::Vtable::vtable(this).ReportError)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -::windows::core::interface_hierarchy!(IWebAccountProviderUIReportOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccountProviderUIReportOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderBaseReportOperation { type Error = ::windows::core::Error; fn try_from(value: IWebAccountProviderUIReportOperation) -> ::windows::core::Result { @@ -814,7 +814,7 @@ impl ::core::fmt::Debug for IWebAccountProviderUIReportOperation { } } impl ::windows::core::RuntimeType for IWebAccountProviderUIReportOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{28ff92d3-8f80-42fb-944f-b2107bbd42e6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{28ff92d3-8f80-42fb-944f-b2107bbd42e6}"); } unsafe impl ::windows::core::Vtable for IWebAccountProviderUIReportOperation { type Vtable = IWebAccountProviderUIReportOperation_Vtbl; @@ -1039,7 +1039,7 @@ impl WebAccountClientView { } #[doc(hidden)] pub fn IWebAccountClientViewFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1055,7 +1055,7 @@ impl ::core::fmt::Debug for WebAccountClientView { } } impl ::windows::core::RuntimeType for WebAccountClientView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountClientView;{e7bd66ba-0bc7-4c66-bfd4-65d3082cbca8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountClientView;{e7bd66ba-0bc7-4c66-bfd4-65d3082cbca8})"); } impl ::core::clone::Clone for WebAccountClientView { fn clone(&self) -> Self { @@ -1071,7 +1071,7 @@ unsafe impl ::windows::core::Interface for WebAccountClientView { impl ::windows::core::RuntimeName for WebAccountClientView { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountClientView"; } -::windows::core::interface_hierarchy!(WebAccountClientView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountClientView, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebAccountClientView {} unsafe impl ::core::marker::Sync for WebAccountClientView {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] @@ -1307,32 +1307,32 @@ impl WebAccountManager { } #[doc(hidden)] pub fn IWebAccountManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAccountManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAccountManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAccountManagerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAccountMapManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAccountScopeManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1367,7 +1367,7 @@ impl ::core::fmt::Debug for WebAccountProviderAddAccountOperation { } } impl ::windows::core::RuntimeType for WebAccountProviderAddAccountOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderAddAccountOperation;{73ebdccf-4378-4c79-9335-a5d7ab81594e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderAddAccountOperation;{73ebdccf-4378-4c79-9335-a5d7ab81594e})"); } impl ::core::clone::Clone for WebAccountProviderAddAccountOperation { fn clone(&self) -> Self { @@ -1383,7 +1383,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderAddAccountOperation impl ::windows::core::RuntimeName for WebAccountProviderAddAccountOperation { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountProviderAddAccountOperation"; } -::windows::core::interface_hierarchy!(WebAccountProviderAddAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderAddAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderOperation { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderAddAccountOperation) -> ::windows::core::Result { @@ -1448,7 +1448,7 @@ impl ::core::fmt::Debug for WebAccountProviderDeleteAccountOperation { } } impl ::windows::core::RuntimeType for WebAccountProviderDeleteAccountOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation;{0abb48b8-9e01-49c9-a355-7d48caf7d6ca})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation;{0abb48b8-9e01-49c9-a355-7d48caf7d6ca})"); } impl ::core::clone::Clone for WebAccountProviderDeleteAccountOperation { fn clone(&self) -> Self { @@ -1464,7 +1464,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderDeleteAccountOperat impl ::windows::core::RuntimeName for WebAccountProviderDeleteAccountOperation { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation"; } -::windows::core::interface_hierarchy!(WebAccountProviderDeleteAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderDeleteAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderBaseReportOperation { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderDeleteAccountOperation) -> ::windows::core::Result { @@ -1580,7 +1580,7 @@ impl ::core::fmt::Debug for WebAccountProviderGetTokenSilentOperation { } } impl ::windows::core::RuntimeType for WebAccountProviderGetTokenSilentOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation;{95c613be-2034-4c38-9434-d26c14b2b4b2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation;{95c613be-2034-4c38-9434-d26c14b2b4b2})"); } impl ::core::clone::Clone for WebAccountProviderGetTokenSilentOperation { fn clone(&self) -> Self { @@ -1596,7 +1596,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderGetTokenSilentOpera impl ::windows::core::RuntimeName for WebAccountProviderGetTokenSilentOperation { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation"; } -::windows::core::interface_hierarchy!(WebAccountProviderGetTokenSilentOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderGetTokenSilentOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderBaseReportOperation { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderGetTokenSilentOperation) -> ::windows::core::Result { @@ -1712,7 +1712,7 @@ impl ::core::fmt::Debug for WebAccountProviderManageAccountOperation { } } impl ::windows::core::RuntimeType for WebAccountProviderManageAccountOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderManageAccountOperation;{ed20dc5c-d21b-463e-a9b7-c1fd0edae978})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderManageAccountOperation;{ed20dc5c-d21b-463e-a9b7-c1fd0edae978})"); } impl ::core::clone::Clone for WebAccountProviderManageAccountOperation { fn clone(&self) -> Self { @@ -1728,7 +1728,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderManageAccountOperat impl ::windows::core::RuntimeName for WebAccountProviderManageAccountOperation { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountProviderManageAccountOperation"; } -::windows::core::interface_hierarchy!(WebAccountProviderManageAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderManageAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderOperation { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderManageAccountOperation) -> ::windows::core::Result { @@ -1819,7 +1819,7 @@ impl ::core::fmt::Debug for WebAccountProviderRequestTokenOperation { } } impl ::windows::core::RuntimeType for WebAccountProviderRequestTokenOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation;{95c613be-2034-4c38-9434-d26c14b2b4b2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation;{95c613be-2034-4c38-9434-d26c14b2b4b2})"); } impl ::core::clone::Clone for WebAccountProviderRequestTokenOperation { fn clone(&self) -> Self { @@ -1835,7 +1835,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderRequestTokenOperati impl ::windows::core::RuntimeName for WebAccountProviderRequestTokenOperation { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation"; } -::windows::core::interface_hierarchy!(WebAccountProviderRequestTokenOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderRequestTokenOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderBaseReportOperation { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderRequestTokenOperation) -> ::windows::core::Result { @@ -1990,7 +1990,7 @@ impl ::core::fmt::Debug for WebAccountProviderRetrieveCookiesOperation { } } impl ::windows::core::RuntimeType for WebAccountProviderRetrieveCookiesOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation;{5a040441-0fa3-4ab1-a01c-20b110358594})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation;{5a040441-0fa3-4ab1-a01c-20b110358594})"); } impl ::core::clone::Clone for WebAccountProviderRetrieveCookiesOperation { fn clone(&self) -> Self { @@ -2006,7 +2006,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderRetrieveCookiesOper impl ::windows::core::RuntimeName for WebAccountProviderRetrieveCookiesOperation { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation"; } -::windows::core::interface_hierarchy!(WebAccountProviderRetrieveCookiesOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderRetrieveCookiesOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderBaseReportOperation { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderRetrieveCookiesOperation) -> ::windows::core::Result { @@ -2106,7 +2106,7 @@ impl ::core::fmt::Debug for WebAccountProviderSignOutAccountOperation { } } impl ::windows::core::RuntimeType for WebAccountProviderSignOutAccountOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation;{b890e21d-0c55-47bc-8c72-04a6fc7cac07})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation;{b890e21d-0c55-47bc-8c72-04a6fc7cac07})"); } impl ::core::clone::Clone for WebAccountProviderSignOutAccountOperation { fn clone(&self) -> Self { @@ -2122,7 +2122,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderSignOutAccountOpera impl ::windows::core::RuntimeName for WebAccountProviderSignOutAccountOperation { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation"; } -::windows::core::interface_hierarchy!(WebAccountProviderSignOutAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderSignOutAccountOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderBaseReportOperation { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderSignOutAccountOperation) -> ::windows::core::Result { @@ -2196,7 +2196,7 @@ impl ::core::fmt::Debug for WebAccountProviderTriggerDetails { } } impl ::windows::core::RuntimeType for WebAccountProviderTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderTriggerDetails;{408f284b-1328-42db-89a4-0bce7a717d8e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderTriggerDetails;{408f284b-1328-42db-89a4-0bce7a717d8e})"); } impl ::core::clone::Clone for WebAccountProviderTriggerDetails { fn clone(&self) -> Self { @@ -2212,7 +2212,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderTriggerDetails { impl ::windows::core::RuntimeName for WebAccountProviderTriggerDetails { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebAccountProviderTriggerDetails"; } -::windows::core::interface_hierarchy!(WebAccountProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccountProviderTokenObjects { type Error = ::windows::core::Error; fn try_from(value: WebAccountProviderTriggerDetails) -> ::windows::core::Result { @@ -2345,7 +2345,7 @@ impl ::core::fmt::Debug for WebProviderTokenRequest { } } impl ::windows::core::RuntimeType for WebProviderTokenRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest;{1e18778b-8805-454b-9f11-468d2af1095a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest;{1e18778b-8805-454b-9f11-468d2af1095a})"); } impl ::core::clone::Clone for WebProviderTokenRequest { fn clone(&self) -> Self { @@ -2361,7 +2361,7 @@ unsafe impl ::windows::core::Interface for WebProviderTokenRequest { impl ::windows::core::RuntimeName for WebProviderTokenRequest { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest"; } -::windows::core::interface_hierarchy!(WebProviderTokenRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebProviderTokenRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebProviderTokenRequest {} unsafe impl ::core::marker::Sync for WebProviderTokenRequest {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] @@ -2387,7 +2387,7 @@ impl WebProviderTokenResponse { } #[doc(hidden)] pub fn IWebProviderTokenResponseFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2403,7 +2403,7 @@ impl ::core::fmt::Debug for WebProviderTokenResponse { } } impl ::windows::core::RuntimeType for WebProviderTokenResponse { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse;{ef213793-ef55-4186-b7ce-8cb2e7f9849e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse;{ef213793-ef55-4186-b7ce-8cb2e7f9849e})"); } impl ::core::clone::Clone for WebProviderTokenResponse { fn clone(&self) -> Self { @@ -2419,7 +2419,7 @@ unsafe impl ::windows::core::Interface for WebProviderTokenResponse { impl ::windows::core::RuntimeName for WebProviderTokenResponse { const NAME: &'static str = "Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse"; } -::windows::core::interface_hierarchy!(WebProviderTokenResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebProviderTokenResponse, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebProviderTokenResponse {} unsafe impl ::core::marker::Sync for WebProviderTokenResponse {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] @@ -2450,7 +2450,7 @@ impl ::core::fmt::Debug for WebAccountClientViewType { } } impl ::windows::core::RuntimeType for WebAccountClientViewType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Provider.WebAccountClientViewType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Provider.WebAccountClientViewType;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] @@ -2485,7 +2485,7 @@ impl ::core::fmt::Debug for WebAccountProviderOperationKind { } } impl ::windows::core::RuntimeType for WebAccountProviderOperationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] @@ -2515,7 +2515,7 @@ impl ::core::fmt::Debug for WebAccountScope { } } impl ::windows::core::RuntimeType for WebAccountScope { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Provider.WebAccountScope;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Provider.WebAccountScope;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] @@ -2578,7 +2578,7 @@ impl ::core::ops::Not for WebAccountSelectionOptions { } } impl ::windows::core::RuntimeType for WebAccountSelectionOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Provider.WebAccountSelectionOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.Provider.WebAccountSelectionOptions;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs index 19faabf150..a04fc9e24f 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs @@ -154,12 +154,12 @@ impl WebAuthenticationBroker { } #[doc(hidden)] pub fn IWebAuthenticationBrokerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebAuthenticationBrokerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -204,7 +204,7 @@ impl ::core::fmt::Debug for WebAuthenticationResult { } } impl ::windows::core::RuntimeType for WebAuthenticationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.WebAuthenticationResult;{64002b4b-ede9-470a-a5cd-0323faf6e262})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.WebAuthenticationResult;{64002b4b-ede9-470a-a5cd-0323faf6e262})"); } impl ::core::clone::Clone for WebAuthenticationResult { fn clone(&self) -> Self { @@ -220,7 +220,7 @@ unsafe impl ::windows::core::Interface for WebAuthenticationResult { impl ::windows::core::RuntimeName for WebAuthenticationResult { const NAME: &'static str = "Windows.Security.Authentication.Web.WebAuthenticationResult"; } -::windows::core::interface_hierarchy!(WebAuthenticationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAuthenticationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Security_Authentication_Web\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -250,7 +250,7 @@ impl ::core::fmt::Debug for TokenBindingKeyType { } } impl ::windows::core::RuntimeType for TokenBindingKeyType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.TokenBindingKeyType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.TokenBindingKeyType;i4)"); } #[doc = "*Required features: `\"Security_Authentication_Web\"`*"] #[repr(transparent)] @@ -316,7 +316,7 @@ impl ::core::ops::Not for WebAuthenticationOptions { } } impl ::windows::core::RuntimeType for WebAuthenticationOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.WebAuthenticationOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.WebAuthenticationOptions;u4)"); } #[doc = "*Required features: `\"Security_Authentication_Web\"`*"] #[repr(transparent)] @@ -347,7 +347,7 @@ impl ::core::fmt::Debug for WebAuthenticationStatus { } } impl ::windows::core::RuntimeType for WebAuthenticationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.WebAuthenticationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authentication.Web.WebAuthenticationStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs index bcedfb67c4..95ba556e99 100644 --- a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs @@ -209,7 +209,7 @@ impl AppCapability { } #[doc(hidden)] pub fn IAppCapabilityStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -225,7 +225,7 @@ impl ::core::fmt::Debug for AppCapability { } } impl ::windows::core::RuntimeType for AppCapability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authorization.AppCapabilityAccess.AppCapability;{4c49d915-8a2a-4295-9437-2df7c396aff4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authorization.AppCapabilityAccess.AppCapability;{4c49d915-8a2a-4295-9437-2df7c396aff4})"); } impl ::core::clone::Clone for AppCapability { fn clone(&self) -> Self { @@ -241,7 +241,7 @@ unsafe impl ::windows::core::Interface for AppCapability { impl ::windows::core::RuntimeName for AppCapability { const NAME: &'static str = "Windows.Security.Authorization.AppCapabilityAccess.AppCapability"; } -::windows::core::interface_hierarchy!(AppCapability, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCapability, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCapability {} unsafe impl ::core::marker::Sync for AppCapability {} #[doc = "*Required features: `\"Security_Authorization_AppCapabilityAccess\"`*"] @@ -260,7 +260,7 @@ impl ::core::fmt::Debug for AppCapabilityAccessChangedEventArgs { } } impl ::windows::core::RuntimeType for AppCapabilityAccessChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessChangedEventArgs;{0a578d15-bdd7-457e-8cca-6f53bd2e5944})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessChangedEventArgs;{0a578d15-bdd7-457e-8cca-6f53bd2e5944})"); } impl ::core::clone::Clone for AppCapabilityAccessChangedEventArgs { fn clone(&self) -> Self { @@ -276,7 +276,7 @@ unsafe impl ::windows::core::Interface for AppCapabilityAccessChangedEventArgs { impl ::windows::core::RuntimeName for AppCapabilityAccessChangedEventArgs { const NAME: &'static str = "Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppCapabilityAccessChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppCapabilityAccessChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppCapabilityAccessChangedEventArgs {} unsafe impl ::core::marker::Sync for AppCapabilityAccessChangedEventArgs {} #[doc = "*Required features: `\"Security_Authorization_AppCapabilityAccess\"`*"] @@ -310,7 +310,7 @@ impl ::core::fmt::Debug for AppCapabilityAccessStatus { } } impl ::windows::core::RuntimeType for AppCapabilityAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs index 661cb19177..d973804e5c 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs @@ -159,7 +159,7 @@ impl CredentialPicker { } #[doc(hidden)] pub fn ICredentialPickerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -173,8 +173,8 @@ impl CredentialPickerOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetCaption(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -308,7 +308,7 @@ impl ::core::fmt::Debug for CredentialPickerOptions { } } impl ::windows::core::RuntimeType for CredentialPickerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.UI.CredentialPickerOptions;{965a0b4c-95fa-467f-992b-0b22e5859bf6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.UI.CredentialPickerOptions;{965a0b4c-95fa-467f-992b-0b22e5859bf6})"); } impl ::core::clone::Clone for CredentialPickerOptions { fn clone(&self) -> Self { @@ -324,7 +324,7 @@ unsafe impl ::windows::core::Interface for CredentialPickerOptions { impl ::windows::core::RuntimeName for CredentialPickerOptions { const NAME: &'static str = "Windows.Security.Credentials.UI.CredentialPickerOptions"; } -::windows::core::interface_hierarchy!(CredentialPickerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CredentialPickerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] #[repr(transparent)] pub struct CredentialPickerResults(::windows::core::IUnknown); @@ -393,7 +393,7 @@ impl ::core::fmt::Debug for CredentialPickerResults { } } impl ::windows::core::RuntimeType for CredentialPickerResults { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.UI.CredentialPickerResults;{1948f99a-cc30-410c-9c38-cc0884c5b3d7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.UI.CredentialPickerResults;{1948f99a-cc30-410c-9c38-cc0884c5b3d7})"); } impl ::core::clone::Clone for CredentialPickerResults { fn clone(&self) -> Self { @@ -409,7 +409,7 @@ unsafe impl ::windows::core::Interface for CredentialPickerResults { impl ::windows::core::RuntimeName for CredentialPickerResults { const NAME: &'static str = "Windows.Security.Credentials.UI.CredentialPickerResults"; } -::windows::core::interface_hierarchy!(CredentialPickerResults, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CredentialPickerResults, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] pub struct UserConsentVerifier; impl UserConsentVerifier { @@ -431,7 +431,7 @@ impl UserConsentVerifier { } #[doc(hidden)] pub fn IUserConsentVerifierStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -471,7 +471,7 @@ impl ::core::fmt::Debug for AuthenticationProtocol { } } impl ::windows::core::RuntimeType for AuthenticationProtocol { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.UI.AuthenticationProtocol;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.UI.AuthenticationProtocol;i4)"); } #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] #[repr(transparent)] @@ -502,7 +502,7 @@ impl ::core::fmt::Debug for CredentialSaveOption { } } impl ::windows::core::RuntimeType for CredentialSaveOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.UI.CredentialSaveOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.UI.CredentialSaveOption;i4)"); } #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] #[repr(transparent)] @@ -537,7 +537,7 @@ impl ::core::fmt::Debug for UserConsentVerificationResult { } } impl ::windows::core::RuntimeType for UserConsentVerificationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.UI.UserConsentVerificationResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.UI.UserConsentVerificationResult;i4)"); } #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] #[repr(transparent)] @@ -570,7 +570,7 @@ impl ::core::fmt::Debug for UserConsentVerifierAvailability { } } impl ::windows::core::RuntimeType for UserConsentVerifierAvailability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.UI.UserConsentVerifierAvailability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.UI.UserConsentVerifierAvailability;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index 006b52e03f..0e59a5f49c 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -258,7 +258,7 @@ impl IWebAccount { } } } -::windows::core::interface_hierarchy!(IWebAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebAccount { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -271,7 +271,7 @@ impl ::core::fmt::Debug for IWebAccount { } } impl ::windows::core::RuntimeType for IWebAccount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{69473eb2-8031-49be-80bb-96cb46d99aba}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{69473eb2-8031-49be-80bb-96cb46d99aba}"); } unsafe impl ::windows::core::Vtable for IWebAccount { type Vtable = IWebAccount_Vtbl; @@ -524,7 +524,7 @@ impl ::core::fmt::Debug for KeyCredential { } } impl ::windows::core::RuntimeType for KeyCredential { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredential;{9585ef8d-457b-4847-b11a-fa960bbdb138})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredential;{9585ef8d-457b-4847-b11a-fa960bbdb138})"); } impl ::core::clone::Clone for KeyCredential { fn clone(&self) -> Self { @@ -540,7 +540,7 @@ unsafe impl ::windows::core::Interface for KeyCredential { impl ::windows::core::RuntimeName for KeyCredential { const NAME: &'static str = "Windows.Security.Credentials.KeyCredential"; } -::windows::core::interface_hierarchy!(KeyCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeyCredential {} unsafe impl ::core::marker::Sync for KeyCredential {} #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -585,7 +585,7 @@ impl ::core::fmt::Debug for KeyCredentialAttestationResult { } } impl ::windows::core::RuntimeType for KeyCredentialAttestationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialAttestationResult;{78aab3a1-a3c1-4103-b6cc-472c44171cbb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialAttestationResult;{78aab3a1-a3c1-4103-b6cc-472c44171cbb})"); } impl ::core::clone::Clone for KeyCredentialAttestationResult { fn clone(&self) -> Self { @@ -601,7 +601,7 @@ unsafe impl ::windows::core::Interface for KeyCredentialAttestationResult { impl ::windows::core::RuntimeName for KeyCredentialAttestationResult { const NAME: &'static str = "Windows.Security.Credentials.KeyCredentialAttestationResult"; } -::windows::core::interface_hierarchy!(KeyCredentialAttestationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyCredentialAttestationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeyCredentialAttestationResult {} unsafe impl ::core::marker::Sync for KeyCredentialAttestationResult {} #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -649,7 +649,7 @@ impl KeyCredentialManager { } #[doc(hidden)] pub fn IKeyCredentialManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -689,7 +689,7 @@ impl ::core::fmt::Debug for KeyCredentialOperationResult { } } impl ::windows::core::RuntimeType for KeyCredentialOperationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialOperationResult;{f53786c1-5261-4cdd-976d-cc909ac71620})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialOperationResult;{f53786c1-5261-4cdd-976d-cc909ac71620})"); } impl ::core::clone::Clone for KeyCredentialOperationResult { fn clone(&self) -> Self { @@ -705,7 +705,7 @@ unsafe impl ::windows::core::Interface for KeyCredentialOperationResult { impl ::windows::core::RuntimeName for KeyCredentialOperationResult { const NAME: &'static str = "Windows.Security.Credentials.KeyCredentialOperationResult"; } -::windows::core::interface_hierarchy!(KeyCredentialOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyCredentialOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeyCredentialOperationResult {} unsafe impl ::core::marker::Sync for KeyCredentialOperationResult {} #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -739,7 +739,7 @@ impl ::core::fmt::Debug for KeyCredentialRetrievalResult { } } impl ::windows::core::RuntimeType for KeyCredentialRetrievalResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialRetrievalResult;{58cd7703-8d87-4249-9b58-f6598cc9644e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialRetrievalResult;{58cd7703-8d87-4249-9b58-f6598cc9644e})"); } impl ::core::clone::Clone for KeyCredentialRetrievalResult { fn clone(&self) -> Self { @@ -755,7 +755,7 @@ unsafe impl ::windows::core::Interface for KeyCredentialRetrievalResult { impl ::windows::core::RuntimeName for KeyCredentialRetrievalResult { const NAME: &'static str = "Windows.Security.Credentials.KeyCredentialRetrievalResult"; } -::windows::core::interface_hierarchy!(KeyCredentialRetrievalResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyCredentialRetrievalResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeyCredentialRetrievalResult {} unsafe impl ::core::marker::Sync for KeyCredentialRetrievalResult {} #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -765,8 +765,8 @@ impl PasswordCredential { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CreatePasswordCredential(resource: &::windows::core::HSTRING, username: &::windows::core::HSTRING, password: &::windows::core::HSTRING) -> ::windows::core::Result { @@ -823,7 +823,7 @@ impl PasswordCredential { } #[doc(hidden)] pub fn ICredentialFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -839,7 +839,7 @@ impl ::core::fmt::Debug for PasswordCredential { } } impl ::windows::core::RuntimeType for PasswordCredential { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordCredential;{6ab18989-c720-41a7-a6c1-feadb36329a0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordCredential;{6ab18989-c720-41a7-a6c1-feadb36329a0})"); } impl ::core::clone::Clone for PasswordCredential { fn clone(&self) -> Self { @@ -855,7 +855,7 @@ unsafe impl ::windows::core::Interface for PasswordCredential { impl ::windows::core::RuntimeName for PasswordCredential { const NAME: &'static str = "Windows.Security.Credentials.PasswordCredential"; } -::windows::core::interface_hierarchy!(PasswordCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PasswordCredential, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PasswordCredential {} unsafe impl ::core::marker::Sync for PasswordCredential {} #[doc = "*Required features: `\"Security_Credentials\"`, `\"Foundation_Collections\"`*"] @@ -867,8 +867,8 @@ impl PasswordCredentialPropertyStore { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -972,7 +972,7 @@ impl ::core::fmt::Debug for PasswordCredentialPropertyStore { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for PasswordCredentialPropertyStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordCredentialPropertyStore;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordCredentialPropertyStore;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for PasswordCredentialPropertyStore { @@ -1009,7 +1009,7 @@ impl ::core::iter::IntoIterator for &PasswordCredentialPropertyStore { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(PasswordCredentialPropertyStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PasswordCredentialPropertyStore, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -1109,8 +1109,8 @@ impl PasswordVault { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Add(&self, credential: &PasswordCredential) -> ::windows::core::Result<()> { @@ -1168,7 +1168,7 @@ impl ::core::fmt::Debug for PasswordVault { } } impl ::windows::core::RuntimeType for PasswordVault { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordVault;{61fd2c0b-c8d4-48c1-a54f-bc5a64205af2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordVault;{61fd2c0b-c8d4-48c1-a54f-bc5a64205af2})"); } impl ::core::clone::Clone for PasswordVault { fn clone(&self) -> Self { @@ -1184,7 +1184,7 @@ unsafe impl ::windows::core::Interface for PasswordVault { impl ::windows::core::RuntimeName for PasswordVault { const NAME: &'static str = "Windows.Security.Credentials.PasswordVault"; } -::windows::core::interface_hierarchy!(PasswordVault, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PasswordVault, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PasswordVault {} unsafe impl ::core::marker::Sync for PasswordVault {} #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -1263,7 +1263,7 @@ impl WebAccount { } #[doc(hidden)] pub fn IWebAccountFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1279,7 +1279,7 @@ impl ::core::fmt::Debug for WebAccount { } } impl ::windows::core::RuntimeType for WebAccount { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.WebAccount;{69473eb2-8031-49be-80bb-96cb46d99aba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.WebAccount;{69473eb2-8031-49be-80bb-96cb46d99aba})"); } impl ::core::clone::Clone for WebAccount { fn clone(&self) -> Self { @@ -1295,7 +1295,7 @@ unsafe impl ::windows::core::Interface for WebAccount { impl ::windows::core::RuntimeName for WebAccount { const NAME: &'static str = "Windows.Security.Credentials.WebAccount"; } -::windows::core::interface_hierarchy!(WebAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccount, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebAccount { type Error = ::windows::core::Error; fn try_from(value: WebAccount) -> ::windows::core::Result { @@ -1384,7 +1384,7 @@ impl WebAccountProvider { } #[doc(hidden)] pub fn IWebAccountProviderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1400,7 +1400,7 @@ impl ::core::fmt::Debug for WebAccountProvider { } } impl ::windows::core::RuntimeType for WebAccountProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.WebAccountProvider;{29dcc8c3-7ab9-4a7c-a336-b942f9dbf7c7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.WebAccountProvider;{29dcc8c3-7ab9-4a7c-a336-b942f9dbf7c7})"); } impl ::core::clone::Clone for WebAccountProvider { fn clone(&self) -> Self { @@ -1416,7 +1416,7 @@ unsafe impl ::windows::core::Interface for WebAccountProvider { impl ::windows::core::RuntimeName for WebAccountProvider { const NAME: &'static str = "Windows.Security.Credentials.WebAccountProvider"; } -::windows::core::interface_hierarchy!(WebAccountProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebAccountProvider {} unsafe impl ::core::marker::Sync for WebAccountProvider {} #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -1449,7 +1449,7 @@ impl ::core::fmt::Debug for KeyCredentialAttestationStatus { } } impl ::windows::core::RuntimeType for KeyCredentialAttestationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.KeyCredentialAttestationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.KeyCredentialAttestationStatus;i4)"); } #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] @@ -1479,7 +1479,7 @@ impl ::core::fmt::Debug for KeyCredentialCreationOption { } } impl ::windows::core::RuntimeType for KeyCredentialCreationOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.KeyCredentialCreationOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.KeyCredentialCreationOption;i4)"); } #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] @@ -1514,7 +1514,7 @@ impl ::core::fmt::Debug for KeyCredentialStatus { } } impl ::windows::core::RuntimeType for KeyCredentialStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.KeyCredentialStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.KeyCredentialStatus;i4)"); } #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] @@ -1546,7 +1546,7 @@ impl ::core::fmt::Debug for WebAccountPictureSize { } } impl ::windows::core::RuntimeType for WebAccountPictureSize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.WebAccountPictureSize;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.WebAccountPictureSize;i4)"); } #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] @@ -1577,7 +1577,7 @@ impl ::core::fmt::Debug for WebAccountState { } } impl ::windows::core::RuntimeType for WebAccountState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.WebAccountState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Credentials.WebAccountState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs index ee8d7f96ac..b52d31bf81 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs @@ -1394,7 +1394,7 @@ impl Certificate { } #[doc(hidden)] pub fn ICertificateFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1410,7 +1410,7 @@ impl ::core::fmt::Debug for Certificate { } } impl ::windows::core::RuntimeType for Certificate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.Certificate;{333f740c-04d8-43b3-b278-8c5fcc9be5a0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.Certificate;{333f740c-04d8-43b3-b278-8c5fcc9be5a0})"); } impl ::core::clone::Clone for Certificate { fn clone(&self) -> Self { @@ -1426,7 +1426,7 @@ unsafe impl ::windows::core::Interface for Certificate { impl ::windows::core::RuntimeName for Certificate { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.Certificate"; } -::windows::core::interface_hierarchy!(Certificate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Certificate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Certificate {} unsafe impl ::core::marker::Sync for Certificate {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -1469,7 +1469,7 @@ impl ::core::fmt::Debug for CertificateChain { } } impl ::windows::core::RuntimeType for CertificateChain { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateChain;{20bf5385-3691-4501-a62c-fd97278b31ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateChain;{20bf5385-3691-4501-a62c-fd97278b31ee})"); } impl ::core::clone::Clone for CertificateChain { fn clone(&self) -> Self { @@ -1485,7 +1485,7 @@ unsafe impl ::windows::core::Interface for CertificateChain { impl ::windows::core::RuntimeName for CertificateChain { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CertificateChain"; } -::windows::core::interface_hierarchy!(CertificateChain, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CertificateChain, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CertificateChain {} unsafe impl ::core::marker::Sync for CertificateChain {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -1539,17 +1539,17 @@ impl CertificateEnrollmentManager { } #[doc(hidden)] pub fn ICertificateEnrollmentManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICertificateEnrollmentManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICertificateEnrollmentManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1563,8 +1563,8 @@ impl CertificateExtension { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ObjectId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1617,7 +1617,7 @@ impl ::core::fmt::Debug for CertificateExtension { } } impl ::windows::core::RuntimeType for CertificateExtension { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateExtension;{84cf0656-a9e6-454d-8e45-2ea7c4bcd53b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateExtension;{84cf0656-a9e6-454d-8e45-2ea7c4bcd53b})"); } impl ::core::clone::Clone for CertificateExtension { fn clone(&self) -> Self { @@ -1633,7 +1633,7 @@ unsafe impl ::windows::core::Interface for CertificateExtension { impl ::windows::core::RuntimeName for CertificateExtension { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CertificateExtension"; } -::windows::core::interface_hierarchy!(CertificateExtension, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CertificateExtension, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CertificateExtension {} unsafe impl ::core::marker::Sync for CertificateExtension {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -1643,8 +1643,8 @@ impl CertificateKeyUsages { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn EncipherOnly(&self) -> ::windows::core::Result { @@ -1748,7 +1748,7 @@ impl ::core::fmt::Debug for CertificateKeyUsages { } } impl ::windows::core::RuntimeType for CertificateKeyUsages { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateKeyUsages;{6ac6206f-e1cf-486a-b485-a69c83e46fd1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateKeyUsages;{6ac6206f-e1cf-486a-b485-a69c83e46fd1})"); } impl ::core::clone::Clone for CertificateKeyUsages { fn clone(&self) -> Self { @@ -1764,7 +1764,7 @@ unsafe impl ::windows::core::Interface for CertificateKeyUsages { impl ::windows::core::RuntimeName for CertificateKeyUsages { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CertificateKeyUsages"; } -::windows::core::interface_hierarchy!(CertificateKeyUsages, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CertificateKeyUsages, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CertificateKeyUsages {} unsafe impl ::core::marker::Sync for CertificateKeyUsages {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -1774,8 +1774,8 @@ impl CertificateQuery { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1877,7 +1877,7 @@ impl ::core::fmt::Debug for CertificateQuery { } } impl ::windows::core::RuntimeType for CertificateQuery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateQuery;{5b082a31-a728-4916-b5ee-ffcb8acf2417})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateQuery;{5b082a31-a728-4916-b5ee-ffcb8acf2417})"); } impl ::core::clone::Clone for CertificateQuery { fn clone(&self) -> Self { @@ -1893,7 +1893,7 @@ unsafe impl ::windows::core::Interface for CertificateQuery { impl ::windows::core::RuntimeName for CertificateQuery { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CertificateQuery"; } -::windows::core::interface_hierarchy!(CertificateQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CertificateQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CertificateQuery {} unsafe impl ::core::marker::Sync for CertificateQuery {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -1903,8 +1903,8 @@ impl CertificateRequestProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Subject(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2132,7 +2132,7 @@ impl ::core::fmt::Debug for CertificateRequestProperties { } } impl ::windows::core::RuntimeType for CertificateRequestProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateRequestProperties;{487e84f6-94e2-4dce-8833-1a700a37a29a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateRequestProperties;{487e84f6-94e2-4dce-8833-1a700a37a29a})"); } impl ::core::clone::Clone for CertificateRequestProperties { fn clone(&self) -> Self { @@ -2148,7 +2148,7 @@ unsafe impl ::windows::core::Interface for CertificateRequestProperties { impl ::windows::core::RuntimeName for CertificateRequestProperties { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CertificateRequestProperties"; } -::windows::core::interface_hierarchy!(CertificateRequestProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CertificateRequestProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CertificateRequestProperties {} unsafe impl ::core::marker::Sync for CertificateRequestProperties {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -2183,7 +2183,7 @@ impl ::core::fmt::Debug for CertificateStore { } } impl ::windows::core::RuntimeType for CertificateStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateStore;{b0bff720-344e-4331-af14-a7f7a7ebc93a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateStore;{b0bff720-344e-4331-af14-a7f7a7ebc93a})"); } impl ::core::clone::Clone for CertificateStore { fn clone(&self) -> Self { @@ -2199,7 +2199,7 @@ unsafe impl ::windows::core::Interface for CertificateStore { impl ::windows::core::RuntimeName for CertificateStore { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CertificateStore"; } -::windows::core::interface_hierarchy!(CertificateStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CertificateStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CertificateStore {} unsafe impl ::core::marker::Sync for CertificateStore {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -2247,12 +2247,12 @@ impl CertificateStores { } #[doc(hidden)] pub fn ICertificateStoresStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICertificateStoresStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2266,8 +2266,8 @@ impl ChainBuildingParameters { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2360,7 +2360,7 @@ impl ::core::fmt::Debug for ChainBuildingParameters { } } impl ::windows::core::RuntimeType for ChainBuildingParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.ChainBuildingParameters;{422ba922-7c8d-47b7-b59b-b12703733ac3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.ChainBuildingParameters;{422ba922-7c8d-47b7-b59b-b12703733ac3})"); } impl ::core::clone::Clone for ChainBuildingParameters { fn clone(&self) -> Self { @@ -2376,7 +2376,7 @@ unsafe impl ::windows::core::Interface for ChainBuildingParameters { impl ::windows::core::RuntimeName for ChainBuildingParameters { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.ChainBuildingParameters"; } -::windows::core::interface_hierarchy!(ChainBuildingParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChainBuildingParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChainBuildingParameters {} unsafe impl ::core::marker::Sync for ChainBuildingParameters {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -2386,8 +2386,8 @@ impl ChainValidationParameters { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CertificateChainPolicy(&self) -> ::windows::core::Result { @@ -2429,7 +2429,7 @@ impl ::core::fmt::Debug for ChainValidationParameters { } } impl ::windows::core::RuntimeType for ChainValidationParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.ChainValidationParameters;{c4743b4a-7eb0-4b56-a040-b9c8e655ddf3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.ChainValidationParameters;{c4743b4a-7eb0-4b56-a040-b9c8e655ddf3})"); } impl ::core::clone::Clone for ChainValidationParameters { fn clone(&self) -> Self { @@ -2445,7 +2445,7 @@ unsafe impl ::windows::core::Interface for ChainValidationParameters { impl ::windows::core::RuntimeName for ChainValidationParameters { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.ChainValidationParameters"; } -::windows::core::interface_hierarchy!(ChainValidationParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ChainValidationParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ChainValidationParameters {} unsafe impl ::core::marker::Sync for ChainValidationParameters {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -2514,12 +2514,12 @@ impl CmsAttachedSignature { } #[doc(hidden)] pub fn ICmsAttachedSignatureFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICmsAttachedSignatureStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2535,7 +2535,7 @@ impl ::core::fmt::Debug for CmsAttachedSignature { } } impl ::windows::core::RuntimeType for CmsAttachedSignature { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsAttachedSignature;{61899d9d-3757-4ecb-bddc-0ca357d7a936})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsAttachedSignature;{61899d9d-3757-4ecb-bddc-0ca357d7a936})"); } impl ::core::clone::Clone for CmsAttachedSignature { fn clone(&self) -> Self { @@ -2551,7 +2551,7 @@ unsafe impl ::windows::core::Interface for CmsAttachedSignature { impl ::windows::core::RuntimeName for CmsAttachedSignature { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CmsAttachedSignature"; } -::windows::core::interface_hierarchy!(CmsAttachedSignature, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CmsAttachedSignature, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CmsAttachedSignature {} unsafe impl ::core::marker::Sync for CmsAttachedSignature {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -2619,12 +2619,12 @@ impl CmsDetachedSignature { } #[doc(hidden)] pub fn ICmsDetachedSignatureFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICmsDetachedSignatureStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2640,7 +2640,7 @@ impl ::core::fmt::Debug for CmsDetachedSignature { } } impl ::windows::core::RuntimeType for CmsDetachedSignature { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsDetachedSignature;{0f1ef154-f65e-4536-8339-5944081db2ca})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsDetachedSignature;{0f1ef154-f65e-4536-8339-5944081db2ca})"); } impl ::core::clone::Clone for CmsDetachedSignature { fn clone(&self) -> Self { @@ -2656,7 +2656,7 @@ unsafe impl ::windows::core::Interface for CmsDetachedSignature { impl ::windows::core::RuntimeName for CmsDetachedSignature { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CmsDetachedSignature"; } -::windows::core::interface_hierarchy!(CmsDetachedSignature, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CmsDetachedSignature, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CmsDetachedSignature {} unsafe impl ::core::marker::Sync for CmsDetachedSignature {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -2666,8 +2666,8 @@ impl CmsSignerInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Certificate(&self) -> ::windows::core::Result { @@ -2712,7 +2712,7 @@ impl ::core::fmt::Debug for CmsSignerInfo { } } impl ::windows::core::RuntimeType for CmsSignerInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsSignerInfo;{50d020db-1d2f-4c1a-b5c5-d0188ff91f47})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsSignerInfo;{50d020db-1d2f-4c1a-b5c5-d0188ff91f47})"); } impl ::core::clone::Clone for CmsSignerInfo { fn clone(&self) -> Self { @@ -2728,7 +2728,7 @@ unsafe impl ::windows::core::Interface for CmsSignerInfo { impl ::windows::core::RuntimeName for CmsSignerInfo { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CmsSignerInfo"; } -::windows::core::interface_hierarchy!(CmsSignerInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CmsSignerInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CmsSignerInfo {} unsafe impl ::core::marker::Sync for CmsSignerInfo {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -2773,7 +2773,7 @@ impl ::core::fmt::Debug for CmsTimestampInfo { } } impl ::windows::core::RuntimeType for CmsTimestampInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsTimestampInfo;{2f5f00f2-2c18-4f88-8435-c534086076f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsTimestampInfo;{2f5f00f2-2c18-4f88-8435-c534086076f5})"); } impl ::core::clone::Clone for CmsTimestampInfo { fn clone(&self) -> Self { @@ -2789,7 +2789,7 @@ unsafe impl ::windows::core::Interface for CmsTimestampInfo { impl ::windows::core::RuntimeName for CmsTimestampInfo { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.CmsTimestampInfo"; } -::windows::core::interface_hierarchy!(CmsTimestampInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CmsTimestampInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CmsTimestampInfo {} unsafe impl ::core::marker::Sync for CmsTimestampInfo {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -2857,12 +2857,12 @@ impl KeyAlgorithmNames { } #[doc(hidden)] pub fn IKeyAlgorithmNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKeyAlgorithmNamesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2896,12 +2896,12 @@ impl KeyAttestationHelper { } #[doc(hidden)] pub fn IKeyAttestationHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKeyAttestationHelperStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2937,12 +2937,12 @@ impl KeyStorageProviderNames { } #[doc(hidden)] pub fn IKeyStorageProviderNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKeyStorageProviderNamesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2956,8 +2956,8 @@ impl PfxImportParameters { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Exportable(&self) -> ::windows::core::Result { @@ -3050,7 +3050,7 @@ impl ::core::fmt::Debug for PfxImportParameters { } } impl ::windows::core::RuntimeType for PfxImportParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.PfxImportParameters;{680d3511-9a08-47c8-864a-2edd4d8eb46c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.PfxImportParameters;{680d3511-9a08-47c8-864a-2edd4d8eb46c})"); } impl ::core::clone::Clone for PfxImportParameters { fn clone(&self) -> Self { @@ -3066,7 +3066,7 @@ unsafe impl ::windows::core::Interface for PfxImportParameters { impl ::windows::core::RuntimeName for PfxImportParameters { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.PfxImportParameters"; } -::windows::core::interface_hierarchy!(PfxImportParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PfxImportParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PfxImportParameters {} unsafe impl ::core::marker::Sync for PfxImportParameters {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -3092,7 +3092,7 @@ impl StandardCertificateStoreNames { } #[doc(hidden)] pub fn IStandardCertificateStoreNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3106,8 +3106,8 @@ impl SubjectAlternativeNameInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3238,7 +3238,7 @@ impl ::core::fmt::Debug for SubjectAlternativeNameInfo { } } impl ::windows::core::RuntimeType for SubjectAlternativeNameInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.SubjectAlternativeNameInfo;{582859f1-569d-4c20-be7b-4e1c9a0bc52b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.SubjectAlternativeNameInfo;{582859f1-569d-4c20-be7b-4e1c9a0bc52b})"); } impl ::core::clone::Clone for SubjectAlternativeNameInfo { fn clone(&self) -> Self { @@ -3254,7 +3254,7 @@ unsafe impl ::windows::core::Interface for SubjectAlternativeNameInfo { impl ::windows::core::RuntimeName for SubjectAlternativeNameInfo { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.SubjectAlternativeNameInfo"; } -::windows::core::interface_hierarchy!(SubjectAlternativeNameInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SubjectAlternativeNameInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SubjectAlternativeNameInfo {} unsafe impl ::core::marker::Sync for SubjectAlternativeNameInfo {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -3319,7 +3319,7 @@ impl ::core::fmt::Debug for UserCertificateEnrollmentManager { } } impl ::windows::core::RuntimeType for UserCertificateEnrollmentManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.UserCertificateEnrollmentManager;{96313718-22e1-4819-b20b-ab46a6eca06e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.UserCertificateEnrollmentManager;{96313718-22e1-4819-b20b-ab46a6eca06e})"); } impl ::core::clone::Clone for UserCertificateEnrollmentManager { fn clone(&self) -> Self { @@ -3335,7 +3335,7 @@ unsafe impl ::windows::core::Interface for UserCertificateEnrollmentManager { impl ::windows::core::RuntimeName for UserCertificateEnrollmentManager { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.UserCertificateEnrollmentManager"; } -::windows::core::interface_hierarchy!(UserCertificateEnrollmentManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserCertificateEnrollmentManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserCertificateEnrollmentManager {} unsafe impl ::core::marker::Sync for UserCertificateEnrollmentManager {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -3380,7 +3380,7 @@ impl ::core::fmt::Debug for UserCertificateStore { } } impl ::windows::core::RuntimeType for UserCertificateStore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.UserCertificateStore;{c9fb1d83-789f-4b4e-9180-045a757aac6d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.UserCertificateStore;{c9fb1d83-789f-4b4e-9180-045a757aac6d})"); } impl ::core::clone::Clone for UserCertificateStore { fn clone(&self) -> Self { @@ -3396,7 +3396,7 @@ unsafe impl ::windows::core::Interface for UserCertificateStore { impl ::windows::core::RuntimeName for UserCertificateStore { const NAME: &'static str = "Windows.Security.Cryptography.Certificates.UserCertificateStore"; } -::windows::core::interface_hierarchy!(UserCertificateStore, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserCertificateStore, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserCertificateStore {} unsafe impl ::core::marker::Sync for UserCertificateStore {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -3429,7 +3429,7 @@ impl ::core::fmt::Debug for CertificateChainPolicy { } } impl ::windows::core::RuntimeType for CertificateChainPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.CertificateChainPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.CertificateChainPolicy;i4)"); } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] @@ -3471,7 +3471,7 @@ impl ::core::fmt::Debug for ChainValidationResult { } } impl ::windows::core::RuntimeType for ChainValidationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.ChainValidationResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.ChainValidationResult;i4)"); } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] @@ -3537,7 +3537,7 @@ impl ::core::ops::Not for EnrollKeyUsages { } } impl ::windows::core::RuntimeType for EnrollKeyUsages { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.EnrollKeyUsages;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.EnrollKeyUsages;u4)"); } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] @@ -3567,7 +3567,7 @@ impl ::core::fmt::Debug for ExportOption { } } impl ::windows::core::RuntimeType for ExportOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.ExportOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.ExportOption;i4)"); } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] @@ -3630,7 +3630,7 @@ impl ::core::ops::Not for InstallOptions { } } impl ::windows::core::RuntimeType for InstallOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.InstallOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.InstallOptions;u4)"); } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] @@ -3662,7 +3662,7 @@ impl ::core::fmt::Debug for KeyProtectionLevel { } } impl ::windows::core::RuntimeType for KeyProtectionLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.KeyProtectionLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.KeyProtectionLevel;i4)"); } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] @@ -3693,7 +3693,7 @@ impl ::core::fmt::Debug for KeySize { } } impl ::windows::core::RuntimeType for KeySize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.KeySize;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.KeySize;i4)"); } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] @@ -3726,7 +3726,7 @@ impl ::core::fmt::Debug for SignatureValidationResult { } } impl ::windows::core::RuntimeType for SignatureValidationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.SignatureValidationResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Certificates.SignatureValidationResult;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs index 7e04faf261..41d68e7fb4 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs @@ -985,12 +985,12 @@ impl AsymmetricAlgorithmNames { } #[doc(hidden)] pub fn IAsymmetricAlgorithmNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAsymmetricAlgorithmNamesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1089,7 +1089,7 @@ impl AsymmetricKeyAlgorithmProvider { } #[doc(hidden)] pub fn IAsymmetricKeyAlgorithmProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1105,7 +1105,7 @@ impl ::core::fmt::Debug for AsymmetricKeyAlgorithmProvider { } } impl ::windows::core::RuntimeType for AsymmetricKeyAlgorithmProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider;{e8d2ff37-6259-4e88-b7e0-94191fde699e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider;{e8d2ff37-6259-4e88-b7e0-94191fde699e})"); } impl ::core::clone::Clone for AsymmetricKeyAlgorithmProvider { fn clone(&self) -> Self { @@ -1121,7 +1121,7 @@ unsafe impl ::windows::core::Interface for AsymmetricKeyAlgorithmProvider { impl ::windows::core::RuntimeName for AsymmetricKeyAlgorithmProvider { const NAME: &'static str = "Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider"; } -::windows::core::interface_hierarchy!(AsymmetricKeyAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AsymmetricKeyAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AsymmetricKeyAlgorithmProvider {} unsafe impl ::core::marker::Sync for AsymmetricKeyAlgorithmProvider {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -1289,12 +1289,12 @@ impl CryptographicEngine { } #[doc(hidden)] pub fn ICryptographicEngineStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICryptographicEngineStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1337,7 +1337,7 @@ impl ::core::fmt::Debug for CryptographicHash { } } impl ::windows::core::RuntimeType for CryptographicHash { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.CryptographicHash;{5904d1b6-ad31-4603-a3a4-b1bda98e2562})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.CryptographicHash;{5904d1b6-ad31-4603-a3a4-b1bda98e2562})"); } impl ::core::clone::Clone for CryptographicHash { fn clone(&self) -> Self { @@ -1353,7 +1353,7 @@ unsafe impl ::windows::core::Interface for CryptographicHash { impl ::windows::core::RuntimeName for CryptographicHash { const NAME: &'static str = "Windows.Security.Cryptography.Core.CryptographicHash"; } -::windows::core::interface_hierarchy!(CryptographicHash, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CryptographicHash, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CryptographicHash {} unsafe impl ::core::marker::Sync for CryptographicHash {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -1416,7 +1416,7 @@ impl ::core::fmt::Debug for CryptographicKey { } } impl ::windows::core::RuntimeType for CryptographicKey { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.CryptographicKey;{ed2a3b70-8e7b-4009-8401-ffd1a62eeb27})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.CryptographicKey;{ed2a3b70-8e7b-4009-8401-ffd1a62eeb27})"); } impl ::core::clone::Clone for CryptographicKey { fn clone(&self) -> Self { @@ -1432,7 +1432,7 @@ unsafe impl ::windows::core::Interface for CryptographicKey { impl ::windows::core::RuntimeName for CryptographicKey { const NAME: &'static str = "Windows.Security.Cryptography.Core.CryptographicKey"; } -::windows::core::interface_hierarchy!(CryptographicKey, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CryptographicKey, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CryptographicKey {} unsafe impl ::core::marker::Sync for CryptographicKey {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -1718,7 +1718,7 @@ impl EccCurveNames { } #[doc(hidden)] pub fn IEccCurveNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1760,7 +1760,7 @@ impl ::core::fmt::Debug for EncryptedAndAuthenticatedData { } } impl ::windows::core::RuntimeType for EncryptedAndAuthenticatedData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData;{6fa42fe7-1ecb-4b00-bea5-60b83f862f17})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData;{6fa42fe7-1ecb-4b00-bea5-60b83f862f17})"); } impl ::core::clone::Clone for EncryptedAndAuthenticatedData { fn clone(&self) -> Self { @@ -1776,7 +1776,7 @@ unsafe impl ::windows::core::Interface for EncryptedAndAuthenticatedData { impl ::windows::core::RuntimeName for EncryptedAndAuthenticatedData { const NAME: &'static str = "Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData"; } -::windows::core::interface_hierarchy!(EncryptedAndAuthenticatedData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EncryptedAndAuthenticatedData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EncryptedAndAuthenticatedData {} unsafe impl ::core::marker::Sync for EncryptedAndAuthenticatedData {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -1814,7 +1814,7 @@ impl HashAlgorithmNames { } #[doc(hidden)] pub fn IHashAlgorithmNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1867,7 +1867,7 @@ impl HashAlgorithmProvider { } #[doc(hidden)] pub fn IHashAlgorithmProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1883,7 +1883,7 @@ impl ::core::fmt::Debug for HashAlgorithmProvider { } } impl ::windows::core::RuntimeType for HashAlgorithmProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.HashAlgorithmProvider;{be9b3080-b2c3-422b-bce1-ec90efb5d7b5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.HashAlgorithmProvider;{be9b3080-b2c3-422b-bce1-ec90efb5d7b5})"); } impl ::core::clone::Clone for HashAlgorithmProvider { fn clone(&self) -> Self { @@ -1899,7 +1899,7 @@ unsafe impl ::windows::core::Interface for HashAlgorithmProvider { impl ::windows::core::RuntimeName for HashAlgorithmProvider { const NAME: &'static str = "Windows.Security.Cryptography.Core.HashAlgorithmProvider"; } -::windows::core::interface_hierarchy!(HashAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HashAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HashAlgorithmProvider {} unsafe impl ::core::marker::Sync for HashAlgorithmProvider {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -2027,12 +2027,12 @@ impl KeyDerivationAlgorithmNames { } #[doc(hidden)] pub fn IKeyDerivationAlgorithmNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKeyDerivationAlgorithmNamesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2071,7 +2071,7 @@ impl KeyDerivationAlgorithmProvider { } #[doc(hidden)] pub fn IKeyDerivationAlgorithmProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2087,7 +2087,7 @@ impl ::core::fmt::Debug for KeyDerivationAlgorithmProvider { } } impl ::windows::core::RuntimeType for KeyDerivationAlgorithmProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider;{e1fba83b-4671-43b7-9158-763aaa98b6bf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider;{e1fba83b-4671-43b7-9158-763aaa98b6bf})"); } impl ::core::clone::Clone for KeyDerivationAlgorithmProvider { fn clone(&self) -> Self { @@ -2103,7 +2103,7 @@ unsafe impl ::windows::core::Interface for KeyDerivationAlgorithmProvider { impl ::windows::core::RuntimeName for KeyDerivationAlgorithmProvider { const NAME: &'static str = "Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider"; } -::windows::core::interface_hierarchy!(KeyDerivationAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyDerivationAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeyDerivationAlgorithmProvider {} unsafe impl ::core::marker::Sync for KeyDerivationAlgorithmProvider {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -2201,12 +2201,12 @@ impl KeyDerivationParameters { } #[doc(hidden)] pub fn IKeyDerivationParametersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKeyDerivationParametersStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2222,7 +2222,7 @@ impl ::core::fmt::Debug for KeyDerivationParameters { } } impl ::windows::core::RuntimeType for KeyDerivationParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.KeyDerivationParameters;{7bf05967-047b-4a8c-964a-469ffd5522e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.KeyDerivationParameters;{7bf05967-047b-4a8c-964a-469ffd5522e2})"); } impl ::core::clone::Clone for KeyDerivationParameters { fn clone(&self) -> Self { @@ -2238,7 +2238,7 @@ unsafe impl ::windows::core::Interface for KeyDerivationParameters { impl ::windows::core::RuntimeName for KeyDerivationParameters { const NAME: &'static str = "Windows.Security.Cryptography.Core.KeyDerivationParameters"; } -::windows::core::interface_hierarchy!(KeyDerivationParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyDerivationParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeyDerivationParameters {} unsafe impl ::core::marker::Sync for KeyDerivationParameters {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -2282,7 +2282,7 @@ impl MacAlgorithmNames { } #[doc(hidden)] pub fn IMacAlgorithmNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2341,7 +2341,7 @@ impl MacAlgorithmProvider { } #[doc(hidden)] pub fn IMacAlgorithmProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2357,7 +2357,7 @@ impl ::core::fmt::Debug for MacAlgorithmProvider { } } impl ::windows::core::RuntimeType for MacAlgorithmProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.MacAlgorithmProvider;{4a3fc5c3-1cbd-41ce-a092-aa0bc5d2d2f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.MacAlgorithmProvider;{4a3fc5c3-1cbd-41ce-a092-aa0bc5d2d2f5})"); } impl ::core::clone::Clone for MacAlgorithmProvider { fn clone(&self) -> Self { @@ -2373,7 +2373,7 @@ unsafe impl ::windows::core::Interface for MacAlgorithmProvider { impl ::windows::core::RuntimeName for MacAlgorithmProvider { const NAME: &'static str = "Windows.Security.Cryptography.Core.MacAlgorithmProvider"; } -::windows::core::interface_hierarchy!(MacAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MacAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MacAlgorithmProvider {} unsafe impl ::core::marker::Sync for MacAlgorithmProvider {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -2397,7 +2397,7 @@ impl PersistedKeyProvider { } #[doc(hidden)] pub fn IPersistedKeyProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2523,7 +2523,7 @@ impl SymmetricAlgorithmNames { } #[doc(hidden)] pub fn ISymmetricAlgorithmNamesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2569,7 +2569,7 @@ impl SymmetricKeyAlgorithmProvider { } #[doc(hidden)] pub fn ISymmetricKeyAlgorithmProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2585,7 +2585,7 @@ impl ::core::fmt::Debug for SymmetricKeyAlgorithmProvider { } } impl ::windows::core::RuntimeType for SymmetricKeyAlgorithmProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider;{3d7e4a33-3bd0-4902-8ac8-470d50d21376})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider;{3d7e4a33-3bd0-4902-8ac8-470d50d21376})"); } impl ::core::clone::Clone for SymmetricKeyAlgorithmProvider { fn clone(&self) -> Self { @@ -2601,7 +2601,7 @@ unsafe impl ::windows::core::Interface for SymmetricKeyAlgorithmProvider { impl ::windows::core::RuntimeName for SymmetricKeyAlgorithmProvider { const NAME: &'static str = "Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider"; } -::windows::core::interface_hierarchy!(SymmetricKeyAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SymmetricKeyAlgorithmProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SymmetricKeyAlgorithmProvider {} unsafe impl ::core::marker::Sync for SymmetricKeyAlgorithmProvider {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] @@ -2632,7 +2632,7 @@ impl ::core::fmt::Debug for Capi1KdfTargetAlgorithm { } } impl ::windows::core::RuntimeType for Capi1KdfTargetAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Core.Capi1KdfTargetAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Core.Capi1KdfTargetAlgorithm;i4)"); } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] @@ -2664,7 +2664,7 @@ impl ::core::fmt::Debug for CryptographicPadding { } } impl ::windows::core::RuntimeType for CryptographicPadding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Core.CryptographicPadding;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Core.CryptographicPadding;i4)"); } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] @@ -2697,7 +2697,7 @@ impl ::core::fmt::Debug for CryptographicPrivateKeyBlobType { } } impl ::windows::core::RuntimeType for CryptographicPrivateKeyBlobType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType;i4)"); } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] @@ -2730,7 +2730,7 @@ impl ::core::fmt::Debug for CryptographicPublicKeyBlobType { } } impl ::windows::core::RuntimeType for CryptographicPublicKeyBlobType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs index 3e8cf2a8e8..17812e8801 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs @@ -60,8 +60,8 @@ impl DataProtectionProvider { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -128,7 +128,7 @@ impl DataProtectionProvider { } #[doc(hidden)] pub fn IDataProtectionProviderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -144,7 +144,7 @@ impl ::core::fmt::Debug for DataProtectionProvider { } } impl ::windows::core::RuntimeType for DataProtectionProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.DataProtection.DataProtectionProvider;{09639948-ed22-4270-bd1c-6d72c00f8787})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.DataProtection.DataProtectionProvider;{09639948-ed22-4270-bd1c-6d72c00f8787})"); } impl ::core::clone::Clone for DataProtectionProvider { fn clone(&self) -> Self { @@ -160,7 +160,7 @@ unsafe impl ::windows::core::Interface for DataProtectionProvider { impl ::windows::core::RuntimeName for DataProtectionProvider { const NAME: &'static str = "Windows.Security.Cryptography.DataProtection.DataProtectionProvider"; } -::windows::core::interface_hierarchy!(DataProtectionProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataProtectionProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataProtectionProvider {} unsafe impl ::core::marker::Sync for DataProtectionProvider {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs index ed2ca66c1a..a689d79ade 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs @@ -174,7 +174,7 @@ impl CryptographicBuffer { } #[doc(hidden)] pub fn ICryptographicBufferStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -210,7 +210,7 @@ impl ::core::fmt::Debug for BinaryStringEncoding { } } impl ::windows::core::RuntimeType for BinaryStringEncoding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.BinaryStringEncoding;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Cryptography.BinaryStringEncoding;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs index 198872ba81..4698aa86b4 100644 --- a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs @@ -159,7 +159,7 @@ impl ::core::fmt::Debug for UserDataAvailabilityStateChangedEventArgs { } } impl ::windows::core::RuntimeType for UserDataAvailabilityStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataAvailabilityStateChangedEventArgs;{a76582c9-06a2-4273-a803-834c9f87fbeb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataAvailabilityStateChangedEventArgs;{a76582c9-06a2-4273-a803-834c9f87fbeb})"); } impl ::core::clone::Clone for UserDataAvailabilityStateChangedEventArgs { fn clone(&self) -> Self { @@ -175,7 +175,7 @@ unsafe impl ::windows::core::Interface for UserDataAvailabilityStateChangedEvent impl ::windows::core::RuntimeName for UserDataAvailabilityStateChangedEventArgs { const NAME: &'static str = "Windows.Security.DataProtection.UserDataAvailabilityStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(UserDataAvailabilityStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataAvailabilityStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataAvailabilityStateChangedEventArgs {} unsafe impl ::core::marker::Sync for UserDataAvailabilityStateChangedEventArgs {} #[doc = "*Required features: `\"Security_DataProtection\"`*"] @@ -211,7 +211,7 @@ impl ::core::fmt::Debug for UserDataBufferUnprotectResult { } } impl ::windows::core::RuntimeType for UserDataBufferUnprotectResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataBufferUnprotectResult;{8efd0e90-fa9a-46a4-a377-01cebf1e74d8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataBufferUnprotectResult;{8efd0e90-fa9a-46a4-a377-01cebf1e74d8})"); } impl ::core::clone::Clone for UserDataBufferUnprotectResult { fn clone(&self) -> Self { @@ -227,7 +227,7 @@ unsafe impl ::windows::core::Interface for UserDataBufferUnprotectResult { impl ::windows::core::RuntimeName for UserDataBufferUnprotectResult { const NAME: &'static str = "Windows.Security.DataProtection.UserDataBufferUnprotectResult"; } -::windows::core::interface_hierarchy!(UserDataBufferUnprotectResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataBufferUnprotectResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataBufferUnprotectResult {} unsafe impl ::core::marker::Sync for UserDataBufferUnprotectResult {} #[doc = "*Required features: `\"Security_DataProtection\"`*"] @@ -324,7 +324,7 @@ impl UserDataProtectionManager { } #[doc(hidden)] pub fn IUserDataProtectionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -340,7 +340,7 @@ impl ::core::fmt::Debug for UserDataProtectionManager { } } impl ::windows::core::RuntimeType for UserDataProtectionManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataProtectionManager;{1f13237d-b42e-4a88-9480-0f240924c876})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataProtectionManager;{1f13237d-b42e-4a88-9480-0f240924c876})"); } impl ::core::clone::Clone for UserDataProtectionManager { fn clone(&self) -> Self { @@ -356,7 +356,7 @@ unsafe impl ::windows::core::Interface for UserDataProtectionManager { impl ::windows::core::RuntimeName for UserDataProtectionManager { const NAME: &'static str = "Windows.Security.DataProtection.UserDataProtectionManager"; } -::windows::core::interface_hierarchy!(UserDataProtectionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataProtectionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataProtectionManager {} unsafe impl ::core::marker::Sync for UserDataProtectionManager {} #[doc = "*Required features: `\"Security_DataProtection\"`*"] @@ -383,7 +383,7 @@ impl ::core::fmt::Debug for UserDataStorageItemProtectionInfo { } } impl ::windows::core::RuntimeType for UserDataStorageItemProtectionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataStorageItemProtectionInfo;{5b6680f6-e87f-40a1-b19d-a6187a0c662f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataStorageItemProtectionInfo;{5b6680f6-e87f-40a1-b19d-a6187a0c662f})"); } impl ::core::clone::Clone for UserDataStorageItemProtectionInfo { fn clone(&self) -> Self { @@ -399,7 +399,7 @@ unsafe impl ::windows::core::Interface for UserDataStorageItemProtectionInfo { impl ::windows::core::RuntimeName for UserDataStorageItemProtectionInfo { const NAME: &'static str = "Windows.Security.DataProtection.UserDataStorageItemProtectionInfo"; } -::windows::core::interface_hierarchy!(UserDataStorageItemProtectionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataStorageItemProtectionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataStorageItemProtectionInfo {} unsafe impl ::core::marker::Sync for UserDataStorageItemProtectionInfo {} #[doc = "*Required features: `\"Security_DataProtection\"`*"] @@ -431,7 +431,7 @@ impl ::core::fmt::Debug for UserDataAvailability { } } impl ::windows::core::RuntimeType for UserDataAvailability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.DataProtection.UserDataAvailability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.DataProtection.UserDataAvailability;i4)"); } #[doc = "*Required features: `\"Security_DataProtection\"`*"] #[repr(transparent)] @@ -461,7 +461,7 @@ impl ::core::fmt::Debug for UserDataBufferUnprotectStatus { } } impl ::windows::core::RuntimeType for UserDataBufferUnprotectStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.DataProtection.UserDataBufferUnprotectStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.DataProtection.UserDataBufferUnprotectStatus;i4)"); } #[doc = "*Required features: `\"Security_DataProtection\"`*"] #[repr(transparent)] @@ -492,7 +492,7 @@ impl ::core::fmt::Debug for UserDataStorageItemProtectionStatus { } } impl ::windows::core::RuntimeType for UserDataStorageItemProtectionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.DataProtection.UserDataStorageItemProtectionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.DataProtection.UserDataStorageItemProtectionStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs index 2759731db5..7347b412c8 100644 --- a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs @@ -797,7 +797,7 @@ impl ::core::fmt::Debug for BufferProtectUnprotectResult { } } impl ::windows::core::RuntimeType for BufferProtectUnprotectResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.BufferProtectUnprotectResult;{47995edc-6cec-4e3a-b251-9e7485d79e7a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.BufferProtectUnprotectResult;{47995edc-6cec-4e3a-b251-9e7485d79e7a})"); } impl ::core::clone::Clone for BufferProtectUnprotectResult { fn clone(&self) -> Self { @@ -813,7 +813,7 @@ unsafe impl ::windows::core::Interface for BufferProtectUnprotectResult { impl ::windows::core::RuntimeName for BufferProtectUnprotectResult { const NAME: &'static str = "Windows.Security.EnterpriseData.BufferProtectUnprotectResult"; } -::windows::core::interface_hierarchy!(BufferProtectUnprotectResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BufferProtectUnprotectResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BufferProtectUnprotectResult {} unsafe impl ::core::marker::Sync for BufferProtectUnprotectResult {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -847,7 +847,7 @@ impl ::core::fmt::Debug for DataProtectionInfo { } } impl ::windows::core::RuntimeType for DataProtectionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.DataProtectionInfo;{8420b0c1-5e31-4405-9540-3f943af0cb26})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.DataProtectionInfo;{8420b0c1-5e31-4405-9540-3f943af0cb26})"); } impl ::core::clone::Clone for DataProtectionInfo { fn clone(&self) -> Self { @@ -863,7 +863,7 @@ unsafe impl ::windows::core::Interface for DataProtectionInfo { impl ::windows::core::RuntimeName for DataProtectionInfo { const NAME: &'static str = "Windows.Security.EnterpriseData.DataProtectionInfo"; } -::windows::core::interface_hierarchy!(DataProtectionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataProtectionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DataProtectionInfo {} unsafe impl ::core::marker::Sync for DataProtectionInfo {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -947,7 +947,7 @@ impl DataProtectionManager { } #[doc(hidden)] pub fn IDataProtectionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -999,7 +999,7 @@ impl ::core::fmt::Debug for FileProtectionInfo { } } impl ::windows::core::RuntimeType for FileProtectionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.FileProtectionInfo;{4ee96486-147e-4dd0-8faf-5253ed91ad0c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.FileProtectionInfo;{4ee96486-147e-4dd0-8faf-5253ed91ad0c})"); } impl ::core::clone::Clone for FileProtectionInfo { fn clone(&self) -> Self { @@ -1015,7 +1015,7 @@ unsafe impl ::windows::core::Interface for FileProtectionInfo { impl ::windows::core::RuntimeName for FileProtectionInfo { const NAME: &'static str = "Windows.Security.EnterpriseData.FileProtectionInfo"; } -::windows::core::interface_hierarchy!(FileProtectionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileProtectionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FileProtectionInfo {} unsafe impl ::core::marker::Sync for FileProtectionInfo {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -1175,17 +1175,17 @@ impl FileProtectionManager { } #[doc(hidden)] pub fn IFileProtectionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IFileProtectionManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IFileProtectionManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1243,7 +1243,7 @@ impl FileRevocationManager { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IFileRevocationManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1274,7 +1274,7 @@ impl FileUnprotectOptions { } #[doc(hidden)] pub fn IFileUnprotectOptionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1290,7 +1290,7 @@ impl ::core::fmt::Debug for FileUnprotectOptions { } } impl ::windows::core::RuntimeType for FileUnprotectOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.FileUnprotectOptions;{7d1312f1-3b0d-4dd8-a1f8-1ec53822e2f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.FileUnprotectOptions;{7d1312f1-3b0d-4dd8-a1f8-1ec53822e2f3})"); } impl ::core::clone::Clone for FileUnprotectOptions { fn clone(&self) -> Self { @@ -1306,7 +1306,7 @@ unsafe impl ::windows::core::Interface for FileUnprotectOptions { impl ::windows::core::RuntimeName for FileUnprotectOptions { const NAME: &'static str = "Windows.Security.EnterpriseData.FileUnprotectOptions"; } -::windows::core::interface_hierarchy!(FileUnprotectOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileUnprotectOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FileUnprotectOptions {} unsafe impl ::core::marker::Sync for FileUnprotectOptions {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -1335,7 +1335,7 @@ impl ::core::fmt::Debug for ProtectedAccessResumedEventArgs { } } impl ::windows::core::RuntimeType for ProtectedAccessResumedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedAccessResumedEventArgs;{ac4dca59-5d80-4e95-8c5f-8539450eebe0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedAccessResumedEventArgs;{ac4dca59-5d80-4e95-8c5f-8539450eebe0})"); } impl ::core::clone::Clone for ProtectedAccessResumedEventArgs { fn clone(&self) -> Self { @@ -1351,7 +1351,7 @@ unsafe impl ::windows::core::Interface for ProtectedAccessResumedEventArgs { impl ::windows::core::RuntimeName for ProtectedAccessResumedEventArgs { const NAME: &'static str = "Windows.Security.EnterpriseData.ProtectedAccessResumedEventArgs"; } -::windows::core::interface_hierarchy!(ProtectedAccessResumedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectedAccessResumedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectedAccessResumedEventArgs {} unsafe impl ::core::marker::Sync for ProtectedAccessResumedEventArgs {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -1398,7 +1398,7 @@ impl ::core::fmt::Debug for ProtectedAccessSuspendingEventArgs { } } impl ::windows::core::RuntimeType for ProtectedAccessSuspendingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedAccessSuspendingEventArgs;{75a193e0-a344-429f-b975-04fc1f88c185})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedAccessSuspendingEventArgs;{75a193e0-a344-429f-b975-04fc1f88c185})"); } impl ::core::clone::Clone for ProtectedAccessSuspendingEventArgs { fn clone(&self) -> Self { @@ -1414,7 +1414,7 @@ unsafe impl ::windows::core::Interface for ProtectedAccessSuspendingEventArgs { impl ::windows::core::RuntimeName for ProtectedAccessSuspendingEventArgs { const NAME: &'static str = "Windows.Security.EnterpriseData.ProtectedAccessSuspendingEventArgs"; } -::windows::core::interface_hierarchy!(ProtectedAccessSuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectedAccessSuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectedAccessSuspendingEventArgs {} unsafe impl ::core::marker::Sync for ProtectedAccessSuspendingEventArgs {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -1450,7 +1450,7 @@ impl ::core::fmt::Debug for ProtectedContainerExportResult { } } impl ::windows::core::RuntimeType for ProtectedContainerExportResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContainerExportResult;{3948ef95-f7fb-4b42-afb0-df70b41543c1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContainerExportResult;{3948ef95-f7fb-4b42-afb0-df70b41543c1})"); } impl ::core::clone::Clone for ProtectedContainerExportResult { fn clone(&self) -> Self { @@ -1466,7 +1466,7 @@ unsafe impl ::windows::core::Interface for ProtectedContainerExportResult { impl ::windows::core::RuntimeName for ProtectedContainerExportResult { const NAME: &'static str = "Windows.Security.EnterpriseData.ProtectedContainerExportResult"; } -::windows::core::interface_hierarchy!(ProtectedContainerExportResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectedContainerExportResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectedContainerExportResult {} unsafe impl ::core::marker::Sync for ProtectedContainerExportResult {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -1502,7 +1502,7 @@ impl ::core::fmt::Debug for ProtectedContainerImportResult { } } impl ::windows::core::RuntimeType for ProtectedContainerImportResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContainerImportResult;{cdb780d1-e7bb-4d1a-9339-34dc41149f9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContainerImportResult;{cdb780d1-e7bb-4d1a-9339-34dc41149f9b})"); } impl ::core::clone::Clone for ProtectedContainerImportResult { fn clone(&self) -> Self { @@ -1518,7 +1518,7 @@ unsafe impl ::windows::core::Interface for ProtectedContainerImportResult { impl ::windows::core::RuntimeName for ProtectedContainerImportResult { const NAME: &'static str = "Windows.Security.EnterpriseData.ProtectedContainerImportResult"; } -::windows::core::interface_hierarchy!(ProtectedContainerImportResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectedContainerImportResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectedContainerImportResult {} unsafe impl ::core::marker::Sync for ProtectedContainerImportResult {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -1547,7 +1547,7 @@ impl ::core::fmt::Debug for ProtectedContentRevokedEventArgs { } } impl ::windows::core::RuntimeType for ProtectedContentRevokedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContentRevokedEventArgs;{63686821-58b9-47ee-93d9-f0f741cf43f0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContentRevokedEventArgs;{63686821-58b9-47ee-93d9-f0f741cf43f0})"); } impl ::core::clone::Clone for ProtectedContentRevokedEventArgs { fn clone(&self) -> Self { @@ -1563,7 +1563,7 @@ unsafe impl ::windows::core::Interface for ProtectedContentRevokedEventArgs { impl ::windows::core::RuntimeName for ProtectedContentRevokedEventArgs { const NAME: &'static str = "Windows.Security.EnterpriseData.ProtectedContentRevokedEventArgs"; } -::windows::core::interface_hierarchy!(ProtectedContentRevokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectedContentRevokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectedContentRevokedEventArgs {} unsafe impl ::core::marker::Sync for ProtectedContentRevokedEventArgs {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -1608,7 +1608,7 @@ impl ::core::fmt::Debug for ProtectedFileCreateResult { } } impl ::windows::core::RuntimeType for ProtectedFileCreateResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedFileCreateResult;{28e3ed6a-e9e7-4a03-9f53-bdb16172699b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedFileCreateResult;{28e3ed6a-e9e7-4a03-9f53-bdb16172699b})"); } impl ::core::clone::Clone for ProtectedFileCreateResult { fn clone(&self) -> Self { @@ -1624,7 +1624,7 @@ unsafe impl ::windows::core::Interface for ProtectedFileCreateResult { impl ::windows::core::RuntimeName for ProtectedFileCreateResult { const NAME: &'static str = "Windows.Security.EnterpriseData.ProtectedFileCreateResult"; } -::windows::core::interface_hierarchy!(ProtectedFileCreateResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectedFileCreateResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectedFileCreateResult {} unsafe impl ::core::marker::Sync for ProtectedFileCreateResult {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -1689,7 +1689,7 @@ impl ProtectionPolicyAuditInfo { } #[doc(hidden)] pub fn IProtectionPolicyAuditInfoFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1705,7 +1705,7 @@ impl ::core::fmt::Debug for ProtectionPolicyAuditInfo { } } impl ::windows::core::RuntimeType for ProtectionPolicyAuditInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectionPolicyAuditInfo;{425ab7e4-feb7-44fc-b3bb-c3c4d7ecbebb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectionPolicyAuditInfo;{425ab7e4-feb7-44fc-b3bb-c3c4d7ecbebb})"); } impl ::core::clone::Clone for ProtectionPolicyAuditInfo { fn clone(&self) -> Self { @@ -1721,7 +1721,7 @@ unsafe impl ::windows::core::Interface for ProtectionPolicyAuditInfo { impl ::windows::core::RuntimeName for ProtectionPolicyAuditInfo { const NAME: &'static str = "Windows.Security.EnterpriseData.ProtectionPolicyAuditInfo"; } -::windows::core::interface_hierarchy!(ProtectionPolicyAuditInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectionPolicyAuditInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectionPolicyAuditInfo {} unsafe impl ::core::marker::Sync for ProtectionPolicyAuditInfo {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -2043,22 +2043,22 @@ impl ProtectionPolicyManager { } #[doc(hidden)] pub fn IProtectionPolicyManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IProtectionPolicyManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IProtectionPolicyManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IProtectionPolicyManagerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2074,7 +2074,7 @@ impl ::core::fmt::Debug for ProtectionPolicyManager { } } impl ::windows::core::RuntimeType for ProtectionPolicyManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectionPolicyManager;{d5703e18-a08d-47e6-a240-9934d7165eb5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectionPolicyManager;{d5703e18-a08d-47e6-a240-9934d7165eb5})"); } impl ::core::clone::Clone for ProtectionPolicyManager { fn clone(&self) -> Self { @@ -2090,7 +2090,7 @@ unsafe impl ::windows::core::Interface for ProtectionPolicyManager { impl ::windows::core::RuntimeName for ProtectionPolicyManager { const NAME: &'static str = "Windows.Security.EnterpriseData.ProtectionPolicyManager"; } -::windows::core::interface_hierarchy!(ProtectionPolicyManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtectionPolicyManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtectionPolicyManager {} unsafe impl ::core::marker::Sync for ProtectionPolicyManager {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] @@ -2116,7 +2116,7 @@ impl ::core::fmt::Debug for ThreadNetworkContext { } } impl ::windows::core::RuntimeType for ThreadNetworkContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ThreadNetworkContext;{fa4ea8e9-ef13-405a-b12c-d7348c6f41fc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ThreadNetworkContext;{fa4ea8e9-ef13-405a-b12c-d7348c6f41fc})"); } impl ::core::clone::Clone for ThreadNetworkContext { fn clone(&self) -> Self { @@ -2132,7 +2132,7 @@ unsafe impl ::windows::core::Interface for ThreadNetworkContext { impl ::windows::core::RuntimeName for ThreadNetworkContext { const NAME: &'static str = "Windows.Security.EnterpriseData.ThreadNetworkContext"; } -::windows::core::interface_hierarchy!(ThreadNetworkContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ThreadNetworkContext, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2189,7 +2189,7 @@ impl ::core::fmt::Debug for DataProtectionStatus { } } impl ::windows::core::RuntimeType for DataProtectionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.DataProtectionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.DataProtectionStatus;i4)"); } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] @@ -2221,7 +2221,7 @@ impl ::core::fmt::Debug for EnforcementLevel { } } impl ::windows::core::RuntimeType for EnforcementLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.EnforcementLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.EnforcementLevel;i4)"); } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] @@ -2261,7 +2261,7 @@ impl ::core::fmt::Debug for FileProtectionStatus { } } impl ::windows::core::RuntimeType for FileProtectionStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.FileProtectionStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.FileProtectionStatus;i4)"); } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] @@ -2297,7 +2297,7 @@ impl ::core::fmt::Debug for ProtectedImportExportStatus { } } impl ::windows::core::RuntimeType for ProtectedImportExportStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.ProtectedImportExportStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.ProtectedImportExportStatus;i4)"); } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] @@ -2329,7 +2329,7 @@ impl ::core::fmt::Debug for ProtectionPolicyAuditAction { } } impl ::windows::core::RuntimeType for ProtectionPolicyAuditAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.ProtectionPolicyAuditAction;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.ProtectionPolicyAuditAction;i4)"); } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] @@ -2360,7 +2360,7 @@ impl ::core::fmt::Debug for ProtectionPolicyEvaluationResult { } } impl ::windows::core::RuntimeType for ProtectionPolicyEvaluationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.ProtectionPolicyEvaluationResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.ProtectionPolicyEvaluationResult;i4)"); } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] @@ -2390,7 +2390,7 @@ impl ::core::fmt::Debug for ProtectionPolicyRequestAccessBehavior { } } impl ::windows::core::RuntimeType for ProtectionPolicyRequestAccessBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.ProtectionPolicyRequestAccessBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.EnterpriseData.ProtectionPolicyRequestAccessBehavior;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs index 3f64383d9c..eced518bdb 100644 --- a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs @@ -151,8 +151,8 @@ impl EasClientDeviceInformation { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -224,7 +224,7 @@ impl ::core::fmt::Debug for EasClientDeviceInformation { } } impl ::windows::core::RuntimeType for EasClientDeviceInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation;{54dfd981-1968-4ca3-b958-e595d16505eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation;{54dfd981-1968-4ca3-b958-e595d16505eb})"); } impl ::core::clone::Clone for EasClientDeviceInformation { fn clone(&self) -> Self { @@ -240,7 +240,7 @@ unsafe impl ::windows::core::Interface for EasClientDeviceInformation { impl ::windows::core::RuntimeName for EasClientDeviceInformation { const NAME: &'static str = "Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation"; } -::windows::core::interface_hierarchy!(EasClientDeviceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EasClientDeviceInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] pub struct EasClientSecurityPolicy(::windows::core::IUnknown); @@ -248,8 +248,8 @@ impl EasClientSecurityPolicy { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn RequireEncryption(&self) -> ::windows::core::Result { @@ -377,7 +377,7 @@ impl ::core::fmt::Debug for EasClientSecurityPolicy { } } impl ::windows::core::RuntimeType for EasClientSecurityPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy;{45b72362-dfba-4a9b-aced-6fe2adcb6420})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy;{45b72362-dfba-4a9b-aced-6fe2adcb6420})"); } impl ::core::clone::Clone for EasClientSecurityPolicy { fn clone(&self) -> Self { @@ -393,7 +393,7 @@ unsafe impl ::windows::core::Interface for EasClientSecurityPolicy { impl ::windows::core::RuntimeName for EasClientSecurityPolicy { const NAME: &'static str = "Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy"; } -::windows::core::interface_hierarchy!(EasClientSecurityPolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EasClientSecurityPolicy, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] pub struct EasComplianceResults(::windows::core::IUnknown); @@ -481,7 +481,7 @@ impl ::core::fmt::Debug for EasComplianceResults { } } impl ::windows::core::RuntimeType for EasComplianceResults { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults;{463c299c-7f19-4c66-b403-cb45dd57a2b3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults;{463c299c-7f19-4c66-b403-cb45dd57a2b3})"); } impl ::core::clone::Clone for EasComplianceResults { fn clone(&self) -> Self { @@ -497,7 +497,7 @@ unsafe impl ::windows::core::Interface for EasComplianceResults { impl ::windows::core::RuntimeName for EasComplianceResults { const NAME: &'static str = "Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults"; } -::windows::core::interface_hierarchy!(EasComplianceResults, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EasComplianceResults, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -528,7 +528,7 @@ impl ::core::fmt::Debug for EasDisallowConvenienceLogonResult { } } impl ::windows::core::RuntimeType for EasDisallowConvenienceLogonResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasDisallowConvenienceLogonResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasDisallowConvenienceLogonResult;i4)"); } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] @@ -559,7 +559,7 @@ impl ::core::fmt::Debug for EasEncryptionProviderType { } } impl ::windows::core::RuntimeType for EasEncryptionProviderType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasEncryptionProviderType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasEncryptionProviderType;i4)"); } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] @@ -592,7 +592,7 @@ impl ::core::fmt::Debug for EasMaxInactivityTimeLockResult { } } impl ::windows::core::RuntimeType for EasMaxInactivityTimeLockResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasMaxInactivityTimeLockResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasMaxInactivityTimeLockResult;i4)"); } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] @@ -625,7 +625,7 @@ impl ::core::fmt::Debug for EasMaxPasswordFailedAttemptsResult { } } impl ::windows::core::RuntimeType for EasMaxPasswordFailedAttemptsResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasMaxPasswordFailedAttemptsResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasMaxPasswordFailedAttemptsResult;i4)"); } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] @@ -668,7 +668,7 @@ impl ::core::fmt::Debug for EasMinPasswordComplexCharactersResult { } } impl ::windows::core::RuntimeType for EasMinPasswordComplexCharactersResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasMinPasswordComplexCharactersResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasMinPasswordComplexCharactersResult;i4)"); } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] @@ -711,7 +711,7 @@ impl ::core::fmt::Debug for EasMinPasswordLengthResult { } } impl ::windows::core::RuntimeType for EasMinPasswordLengthResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasMinPasswordLengthResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasMinPasswordLengthResult;i4)"); } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] @@ -748,7 +748,7 @@ impl ::core::fmt::Debug for EasPasswordExpirationResult { } } impl ::windows::core::RuntimeType for EasPasswordExpirationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordExpirationResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordExpirationResult;i4)"); } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] @@ -781,7 +781,7 @@ impl ::core::fmt::Debug for EasPasswordHistoryResult { } } impl ::windows::core::RuntimeType for EasPasswordHistoryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordHistoryResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordHistoryResult;i4)"); } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] @@ -828,7 +828,7 @@ impl ::core::fmt::Debug for EasRequireEncryptionResult { } } impl ::windows::core::RuntimeType for EasRequireEncryptionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasRequireEncryptionResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.ExchangeActiveSyncProvisioning.EasRequireEncryptionResult;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index 521902c789..29793eb35d 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -904,7 +904,7 @@ impl IsolatedWindowsEnvironment { } #[doc(hidden)] pub fn IIsolatedWindowsEnvironmentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -920,7 +920,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironment { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironment;{41d24597-c328-4467-b37f-4dfc6f60b6bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironment;{41d24597-c328-4467-b37f-4dfc6f60b6bc})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironment { fn clone(&self) -> Self { @@ -936,7 +936,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironment { impl ::windows::core::RuntimeName for IsolatedWindowsEnvironment { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironment"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironment {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironment {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -981,7 +981,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentCreateResult { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentCreateResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateResult;{ef9a5e58-dcd7-45c2-9c85-ab642a715e8e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateResult;{ef9a5e58-dcd7-45c2-9c85-ab642a715e8e})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentCreateResult { fn clone(&self) -> Self { @@ -997,7 +997,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentCreateResul impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentCreateResult { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateResult"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentCreateResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentCreateResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentCreateResult {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentCreateResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1049,7 +1049,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentFile { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentFile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentFile;{4d5ae1ef-029f-4101-8c35-fe91bf9cd5f0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentFile;{4d5ae1ef-029f-4101-8c35-fe91bf9cd5f0})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentFile { fn clone(&self) -> Self { @@ -1065,7 +1065,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentFile { impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentFile { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentFile"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentFile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentFile, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentFile {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentFile {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1087,7 +1087,7 @@ impl IsolatedWindowsEnvironmentHost { } #[doc(hidden)] pub fn IIsolatedWindowsEnvironmentHostStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1132,7 +1132,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentLaunchFileResult { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentLaunchFileResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentLaunchFileResult;{685d4176-f6e0-4569-b1aa-215c0ff5b257})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentLaunchFileResult;{685d4176-f6e0-4569-b1aa-215c0ff5b257})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentLaunchFileResult { fn clone(&self) -> Self { @@ -1148,7 +1148,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentLaunchFileR impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentLaunchFileResult { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentLaunchFileResult"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentLaunchFileResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentLaunchFileResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentLaunchFileResult {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentLaunchFileResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1158,8 +1158,8 @@ impl IsolatedWindowsEnvironmentOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn EnvironmentOwnerId(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1314,7 +1314,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentOptions { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOptions;{b71d98f7-61f0-4008-b207-0bf9eb2d76f2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOptions;{b71d98f7-61f0-4008-b207-0bf9eb2d76f2})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentOptions { fn clone(&self) -> Self { @@ -1330,7 +1330,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentOptions { impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentOptions { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentOptions"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentOptions {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentOptions {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1347,7 +1347,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistration { } #[doc(hidden)] pub fn IIsolatedWindowsEnvironmentOwnerRegistrationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1361,8 +1361,8 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1414,7 +1414,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentOwnerRegistrationData { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentOwnerRegistrationData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationData;{f888ec22-e8cf-56c0-b1df-90af4ad80e84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationData;{f888ec22-e8cf-56c0-b1df-90af4ad80e84})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentOwnerRegistrationData { fn clone(&self) -> Self { @@ -1430,7 +1430,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentOwnerRegist impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentOwnerRegistrationData { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationData"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentOwnerRegistrationData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentOwnerRegistrationData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentOwnerRegistrationData {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentOwnerRegistrationData {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1464,7 +1464,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentOwnerRegistrationResult { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentOwnerRegistrationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationResult;{6dab9451-6169-55df-8f51-790e99d7277d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationResult;{6dab9451-6169-55df-8f51-790e99d7277d})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentOwnerRegistrationResult { fn clone(&self) -> Self { @@ -1480,7 +1480,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentOwnerRegist impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentOwnerRegistrationResult { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationResult"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentOwnerRegistrationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentOwnerRegistrationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentOwnerRegistrationResult {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentOwnerRegistrationResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1514,7 +1514,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentPostMessageResult { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentPostMessageResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageResult;{0dfa28fa-2ef0-4d8f-b341-3171b2df93b1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageResult;{0dfa28fa-2ef0-4d8f-b341-3171b2df93b1})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentPostMessageResult { fn clone(&self) -> Self { @@ -1530,7 +1530,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentPostMessage impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentPostMessageResult { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageResult"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentPostMessageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentPostMessageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentPostMessageResult {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentPostMessageResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1581,7 +1581,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentProcess { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentProcess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentProcess;{a858c3ef-8172-4f10-af93-cbe60af88d09})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentProcess;{a858c3ef-8172-4f10-af93-cbe60af88d09})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentProcess { fn clone(&self) -> Self { @@ -1597,7 +1597,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentProcess { impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentProcess { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentProcess"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentProcess, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentProcess, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentProcess {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentProcess {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1607,8 +1607,8 @@ impl IsolatedWindowsEnvironmentShareFileRequestOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AllowWrite(&self) -> ::windows::core::Result { @@ -1635,7 +1635,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFileRequestOptions { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentShareFileRequestOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileRequestOptions;{c9190ed8-0fd0-4946-bb88-117a60737b61})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileRequestOptions;{c9190ed8-0fd0-4946-bb88-117a60737b61})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFileRequestOptions { fn clone(&self) -> Self { @@ -1651,7 +1651,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentShareFileRe impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentShareFileRequestOptions { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileRequestOptions"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentShareFileRequestOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentShareFileRequestOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentShareFileRequestOptions {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentShareFileRequestOptions {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1692,7 +1692,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFileResult { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentShareFileResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileResult;{aec7caa7-9ac6-4bf5-8b91-5c1adf0d7d00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileResult;{aec7caa7-9ac6-4bf5-8b91-5c1adf0d7d00})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFileResult { fn clone(&self) -> Self { @@ -1708,7 +1708,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentShareFileRe impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentShareFileResult { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileResult"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentShareFileResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentShareFileResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentShareFileResult {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentShareFileResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1718,8 +1718,8 @@ impl IsolatedWindowsEnvironmentShareFolderRequestOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AllowWrite(&self) -> ::windows::core::Result { @@ -1746,7 +1746,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFolderRequestOptions } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentShareFolderRequestOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderRequestOptions;{c405eb7d-7053-4f6a-9b87-746846ed19b2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderRequestOptions;{c405eb7d-7053-4f6a-9b87-746846ed19b2})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFolderRequestOptions { fn clone(&self) -> Self { @@ -1762,7 +1762,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentShareFolder impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentShareFolderRequestOptions { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderRequestOptions"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentShareFolderRequestOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentShareFolderRequestOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentShareFolderRequestOptions {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentShareFolderRequestOptions {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1796,7 +1796,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFolderResult { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentShareFolderResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderResult;{556ba72e-ca9d-4211-b143-1cedc86eb2fe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderResult;{556ba72e-ca9d-4211-b143-1cedc86eb2fe})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFolderResult { fn clone(&self) -> Self { @@ -1812,7 +1812,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentShareFolder impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentShareFolderResult { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderResult"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentShareFolderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentShareFolderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentShareFolderResult {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentShareFolderResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1853,7 +1853,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentStartProcessResult { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentStartProcessResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessResult;{8fa1dc2f-57da-4bb5-9c06-fa072d2032e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessResult;{8fa1dc2f-57da-4bb5-9c06-fa072d2032e2})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentStartProcessResult { fn clone(&self) -> Self { @@ -1869,7 +1869,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentStartProces impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentStartProcessResult { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessResult"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentStartProcessResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentStartProcessResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentStartProcessResult {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentStartProcessResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1879,8 +1879,8 @@ impl IsolatedWindowsEnvironmentTelemetryParameters { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CorrelationId(&self) -> ::windows::core::Result<::windows::core::GUID> { @@ -1907,7 +1907,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentTelemetryParameters { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentTelemetryParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentTelemetryParameters;{ebdb3cab-7a3a-4524-a0f4-f96e284d33cd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentTelemetryParameters;{ebdb3cab-7a3a-4524-a0f4-f96e284d33cd})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentTelemetryParameters { fn clone(&self) -> Self { @@ -1923,7 +1923,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentTelemetryPa impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentTelemetryParameters { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentTelemetryParameters"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentTelemetryParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentTelemetryParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentTelemetryParameters {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentTelemetryParameters {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -1975,7 +1975,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentUserInfo { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentUserInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentUserInfo;{8a9c75ae-69ba-4001-96fc-19a02703b340})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentUserInfo;{8a9c75ae-69ba-4001-96fc-19a02703b340})"); } impl ::core::clone::Clone for IsolatedWindowsEnvironmentUserInfo { fn clone(&self) -> Self { @@ -1991,7 +1991,7 @@ unsafe impl ::windows::core::Interface for IsolatedWindowsEnvironmentUserInfo { impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentUserInfo { const NAME: &'static str = "Windows.Security.Isolation.IsolatedWindowsEnvironmentUserInfo"; } -::windows::core::interface_hierarchy!(IsolatedWindowsEnvironmentUserInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IsolatedWindowsEnvironmentUserInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentUserInfo {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentUserInfo {} #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -2022,12 +2022,12 @@ impl IsolatedWindowsHostMessenger { } #[doc(hidden)] pub fn IIsolatedWindowsHostMessengerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IIsolatedWindowsHostMessengerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2062,7 +2062,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentActivator { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentActivator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentActivator;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentActivator;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2127,7 +2127,7 @@ impl ::core::ops::Not for IsolatedWindowsEnvironmentAllowedClipboardFormats { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentAllowedClipboardFormats { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentAllowedClipboardFormats;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentAllowedClipboardFormats;u4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2193,7 +2193,7 @@ impl ::core::ops::Not for IsolatedWindowsEnvironmentAvailablePrinters { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentAvailablePrinters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentAvailablePrinters;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentAvailablePrinters;u4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2257,7 +2257,7 @@ impl ::core::ops::Not for IsolatedWindowsEnvironmentClipboardCopyPasteDirections } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentClipboardCopyPasteDirections { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentClipboardCopyPasteDirections;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentClipboardCopyPasteDirections;u4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2288,7 +2288,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentCreateStatus { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentCreateStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateStatus;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2318,7 +2318,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentCreationPriority { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentCreationPriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreationPriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreationPriority;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2351,7 +2351,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentHostError { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentHostError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentHostError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentHostError;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2385,7 +2385,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentLaunchFileStatus { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentLaunchFileStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentLaunchFileStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentLaunchFileStatus;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2418,7 +2418,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentOwnerRegistrationStatus { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentOwnerRegistrationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationStatus;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2449,7 +2449,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentPostMessageStatus { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentPostMessageStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageStatus;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2480,7 +2480,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentProcessState { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentProcessState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentProcessState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentProcessState;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2515,7 +2515,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentProgressState { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentProgressState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentProgressState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentProgressState;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2549,7 +2549,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFileStatus { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentShareFileStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileStatus;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2582,7 +2582,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFolderStatus { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentShareFolderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderStatus;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2616,7 +2616,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentSignInProgress { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentSignInProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentSignInProgress;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentSignInProgress;i4)"); } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] @@ -2649,7 +2649,7 @@ impl ::core::fmt::Debug for IsolatedWindowsEnvironmentStartProcessStatus { } } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentStartProcessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessStatus;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Security_Isolation\"`*"] @@ -2672,7 +2672,7 @@ impl ::windows::core::TypeKind for IsolatedWindowsEnvironmentCreateProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentCreateProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateProgress;enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentProgressState;i4);u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateProgress;enum(Windows.Security.Isolation.IsolatedWindowsEnvironmentProgressState;i4);u4)"); } impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentCreateProgress { fn eq(&self, other: &Self) -> bool { @@ -2692,8 +2692,8 @@ pub struct HostMessageReceivedCallback(pub ::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl HostMessageReceivedCallback { pub fn new>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = HostMessageReceivedCallbackBox:: { vtable: &HostMessageReceivedCallbackBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = HostMessageReceivedCallbackBox:: { vtable: &HostMessageReceivedCallbackBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] @@ -2711,7 +2711,7 @@ impl HostMessageReceivedCallback { struct HostMessageReceivedCallbackBox>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const HostMessageReceivedCallback_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "Foundation_Collections")] impl>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> HostMessageReceivedCallbackBox { @@ -2721,7 +2721,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -2737,7 +2737,7 @@ impl>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = MessageReceivedCallbackBox:: { vtable: &MessageReceivedCallbackBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = MessageReceivedCallbackBox:: { vtable: &MessageReceivedCallbackBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] @@ -2814,7 +2814,7 @@ impl MessageReceivedCallback { struct MessageReceivedCallbackBox>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const MessageReceivedCallback_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "Foundation_Collections")] impl>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> MessageReceivedCallbackBox { @@ -2824,7 +2824,7 @@ impl ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -2840,7 +2840,7 @@ impl Self { @@ -582,7 +582,7 @@ unsafe impl ::windows::core::Interface for GuidanceAudioNotificationRequestedEve impl ::windows::core::RuntimeName for GuidanceAudioNotificationRequestedEventArgs { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceAudioNotificationRequestedEventArgs"; } -::windows::core::interface_hierarchy!(GuidanceAudioNotificationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceAudioNotificationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceAudioNotificationRequestedEventArgs {} unsafe impl ::core::marker::Sync for GuidanceAudioNotificationRequestedEventArgs {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -616,7 +616,7 @@ impl ::core::fmt::Debug for GuidanceLaneInfo { } } impl ::windows::core::RuntimeType for GuidanceLaneInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceLaneInfo;{8404d114-6581-43b7-ac15-c9079bf90df1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceLaneInfo;{8404d114-6581-43b7-ac15-c9079bf90df1})"); } impl ::core::clone::Clone for GuidanceLaneInfo { fn clone(&self) -> Self { @@ -632,7 +632,7 @@ unsafe impl ::windows::core::Interface for GuidanceLaneInfo { impl ::windows::core::RuntimeName for GuidanceLaneInfo { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceLaneInfo"; } -::windows::core::interface_hierarchy!(GuidanceLaneInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceLaneInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceLaneInfo {} unsafe impl ::core::marker::Sync for GuidanceLaneInfo {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -738,7 +738,7 @@ impl ::core::fmt::Debug for GuidanceManeuver { } } impl ::windows::core::RuntimeType for GuidanceManeuver { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceManeuver;{fc09326c-ecc9-4928-a2a1-7232b99b94a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceManeuver;{fc09326c-ecc9-4928-a2a1-7232b99b94a1})"); } impl ::core::clone::Clone for GuidanceManeuver { fn clone(&self) -> Self { @@ -754,7 +754,7 @@ unsafe impl ::windows::core::Interface for GuidanceManeuver { impl ::windows::core::RuntimeName for GuidanceManeuver { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceManeuver"; } -::windows::core::interface_hierarchy!(GuidanceManeuver, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceManeuver, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceManeuver {} unsafe impl ::core::marker::Sync for GuidanceManeuver {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -811,7 +811,7 @@ impl ::core::fmt::Debug for GuidanceMapMatchedCoordinate { } } impl ::windows::core::RuntimeType for GuidanceMapMatchedCoordinate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceMapMatchedCoordinate;{b7acb168-2912-4a99-aff1-798609b981fe})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceMapMatchedCoordinate;{b7acb168-2912-4a99-aff1-798609b981fe})"); } impl ::core::clone::Clone for GuidanceMapMatchedCoordinate { fn clone(&self) -> Self { @@ -827,7 +827,7 @@ unsafe impl ::windows::core::Interface for GuidanceMapMatchedCoordinate { impl ::windows::core::RuntimeName for GuidanceMapMatchedCoordinate { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceMapMatchedCoordinate"; } -::windows::core::interface_hierarchy!(GuidanceMapMatchedCoordinate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceMapMatchedCoordinate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceMapMatchedCoordinate {} unsafe impl ::core::marker::Sync for GuidanceMapMatchedCoordinate {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -1045,12 +1045,12 @@ impl GuidanceNavigator { } #[doc(hidden)] pub fn IGuidanceNavigatorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGuidanceNavigatorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1066,7 +1066,7 @@ impl ::core::fmt::Debug for GuidanceNavigator { } } impl ::windows::core::RuntimeType for GuidanceNavigator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceNavigator;{08f17ef7-8e3f-4d9a-be8a-108f9a012c67})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceNavigator;{08f17ef7-8e3f-4d9a-be8a-108f9a012c67})"); } impl ::core::clone::Clone for GuidanceNavigator { fn clone(&self) -> Self { @@ -1082,7 +1082,7 @@ unsafe impl ::windows::core::Interface for GuidanceNavigator { impl ::windows::core::RuntimeName for GuidanceNavigator { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceNavigator"; } -::windows::core::interface_hierarchy!(GuidanceNavigator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceNavigator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceNavigator {} unsafe impl ::core::marker::Sync for GuidanceNavigator {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -1109,7 +1109,7 @@ impl ::core::fmt::Debug for GuidanceReroutedEventArgs { } } impl ::windows::core::RuntimeType for GuidanceReroutedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceReroutedEventArgs;{115d4008-d528-454e-bb94-a50341d2c9f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceReroutedEventArgs;{115d4008-d528-454e-bb94-a50341d2c9f1})"); } impl ::core::clone::Clone for GuidanceReroutedEventArgs { fn clone(&self) -> Self { @@ -1125,7 +1125,7 @@ unsafe impl ::windows::core::Interface for GuidanceReroutedEventArgs { impl ::windows::core::RuntimeName for GuidanceReroutedEventArgs { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceReroutedEventArgs"; } -::windows::core::interface_hierarchy!(GuidanceReroutedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceReroutedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceReroutedEventArgs {} unsafe impl ::core::marker::Sync for GuidanceReroutedEventArgs {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -1219,7 +1219,7 @@ impl ::core::fmt::Debug for GuidanceRoadSegment { } } impl ::windows::core::RuntimeType for GuidanceRoadSegment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoadSegment;{b32758a6-be78-4c63-afe7-6c2957479b3e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoadSegment;{b32758a6-be78-4c63-afe7-6c2957479b3e})"); } impl ::core::clone::Clone for GuidanceRoadSegment { fn clone(&self) -> Self { @@ -1235,7 +1235,7 @@ unsafe impl ::windows::core::Interface for GuidanceRoadSegment { impl ::windows::core::RuntimeName for GuidanceRoadSegment { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceRoadSegment"; } -::windows::core::interface_hierarchy!(GuidanceRoadSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceRoadSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceRoadSegment {} unsafe impl ::core::marker::Sync for GuidanceRoadSegment {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -1296,7 +1296,7 @@ impl ::core::fmt::Debug for GuidanceRoadSignpost { } } impl ::windows::core::RuntimeType for GuidanceRoadSignpost { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoadSignpost;{f1a728b6-f77a-4742-8312-53300f9845f0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoadSignpost;{f1a728b6-f77a-4742-8312-53300f9845f0})"); } impl ::core::clone::Clone for GuidanceRoadSignpost { fn clone(&self) -> Self { @@ -1312,7 +1312,7 @@ unsafe impl ::windows::core::Interface for GuidanceRoadSignpost { impl ::windows::core::RuntimeName for GuidanceRoadSignpost { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceRoadSignpost"; } -::windows::core::interface_hierarchy!(GuidanceRoadSignpost, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceRoadSignpost, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceRoadSignpost {} unsafe impl ::core::marker::Sync for GuidanceRoadSignpost {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -1392,7 +1392,7 @@ impl GuidanceRoute { } #[doc(hidden)] pub fn IGuidanceRouteStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1408,7 +1408,7 @@ impl ::core::fmt::Debug for GuidanceRoute { } } impl ::windows::core::RuntimeType for GuidanceRoute { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoute;{3a14545d-801a-40bd-a286-afb2010cce6c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoute;{3a14545d-801a-40bd-a286-afb2010cce6c})"); } impl ::core::clone::Clone for GuidanceRoute { fn clone(&self) -> Self { @@ -1424,7 +1424,7 @@ unsafe impl ::windows::core::Interface for GuidanceRoute { impl ::windows::core::RuntimeName for GuidanceRoute { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceRoute"; } -::windows::core::interface_hierarchy!(GuidanceRoute, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceRoute, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceRoute {} unsafe impl ::core::marker::Sync for GuidanceRoute {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -1476,7 +1476,7 @@ impl GuidanceTelemetryCollector { } #[doc(hidden)] pub fn IGuidanceTelemetryCollectorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1492,7 +1492,7 @@ impl ::core::fmt::Debug for GuidanceTelemetryCollector { } } impl ::windows::core::RuntimeType for GuidanceTelemetryCollector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceTelemetryCollector;{db1f8da5-b878-4d92-98dd-347d23d38262})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceTelemetryCollector;{db1f8da5-b878-4d92-98dd-347d23d38262})"); } impl ::core::clone::Clone for GuidanceTelemetryCollector { fn clone(&self) -> Self { @@ -1508,7 +1508,7 @@ unsafe impl ::windows::core::Interface for GuidanceTelemetryCollector { impl ::windows::core::RuntimeName for GuidanceTelemetryCollector { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceTelemetryCollector"; } -::windows::core::interface_hierarchy!(GuidanceTelemetryCollector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceTelemetryCollector, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceTelemetryCollector {} unsafe impl ::core::marker::Sync for GuidanceTelemetryCollector {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -1632,7 +1632,7 @@ impl ::core::fmt::Debug for GuidanceUpdatedEventArgs { } } impl ::windows::core::RuntimeType for GuidanceUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceUpdatedEventArgs;{fdac160b-9e8d-4de3-a9fa-b06321d18db9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceUpdatedEventArgs;{fdac160b-9e8d-4de3-a9fa-b06321d18db9})"); } impl ::core::clone::Clone for GuidanceUpdatedEventArgs { fn clone(&self) -> Self { @@ -1648,7 +1648,7 @@ unsafe impl ::windows::core::Interface for GuidanceUpdatedEventArgs { impl ::windows::core::RuntimeName for GuidanceUpdatedEventArgs { const NAME: &'static str = "Windows.Services.Maps.Guidance.GuidanceUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(GuidanceUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GuidanceUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GuidanceUpdatedEventArgs {} unsafe impl ::core::marker::Sync for GuidanceUpdatedEventArgs {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] @@ -1680,7 +1680,7 @@ impl ::core::fmt::Debug for GuidanceAudioMeasurementSystem { } } impl ::windows::core::RuntimeType for GuidanceAudioMeasurementSystem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceAudioMeasurementSystem;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceAudioMeasurementSystem;i4)"); } #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] @@ -1714,7 +1714,7 @@ impl ::core::fmt::Debug for GuidanceAudioNotificationKind { } } impl ::windows::core::RuntimeType for GuidanceAudioNotificationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceAudioNotificationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceAudioNotificationKind;i4)"); } #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] @@ -1782,7 +1782,7 @@ impl ::core::ops::Not for GuidanceAudioNotifications { } } impl ::windows::core::RuntimeType for GuidanceAudioNotifications { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceAudioNotifications;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceAudioNotifications;u4)"); } #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] @@ -1854,7 +1854,7 @@ impl ::core::ops::Not for GuidanceLaneMarkers { } } impl ::windows::core::RuntimeType for GuidanceLaneMarkers { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceLaneMarkers;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceLaneMarkers;u4)"); } #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] @@ -1930,7 +1930,7 @@ impl ::core::fmt::Debug for GuidanceManeuverKind { } } impl ::windows::core::RuntimeType for GuidanceManeuverKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceManeuverKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceManeuverKind;i4)"); } #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] @@ -1962,7 +1962,7 @@ impl ::core::fmt::Debug for GuidanceMode { } } impl ::windows::core::RuntimeType for GuidanceMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.Guidance.GuidanceMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs index b09a4c6fb3..37513f0275 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs @@ -258,7 +258,7 @@ impl LocalCategories { } #[doc(hidden)] pub fn ILocalCategoriesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -356,7 +356,7 @@ impl ::core::fmt::Debug for LocalLocation { } } impl ::windows::core::RuntimeType for LocalLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocation;{bb0fe9ab-4502-4f2c-94a9-0d60de0e2163})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocation;{bb0fe9ab-4502-4f2c-94a9-0d60de0e2163})"); } impl ::core::clone::Clone for LocalLocation { fn clone(&self) -> Self { @@ -372,7 +372,7 @@ unsafe impl ::windows::core::Interface for LocalLocation { impl ::windows::core::RuntimeName for LocalLocation { const NAME: &'static str = "Windows.Services.Maps.LocalSearch.LocalLocation"; } -::windows::core::interface_hierarchy!(LocalLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LocalLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LocalLocation {} unsafe impl ::core::marker::Sync for LocalLocation {} #[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] @@ -388,7 +388,7 @@ impl LocalLocationFinder { } #[doc(hidden)] pub fn ILocalLocationFinderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -428,7 +428,7 @@ impl ::core::fmt::Debug for LocalLocationFinderResult { } } impl ::windows::core::RuntimeType for LocalLocationFinderResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationFinderResult;{d09b6cc6-f338-4191-9fd8-5440b9a68f52})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationFinderResult;{d09b6cc6-f338-4191-9fd8-5440b9a68f52})"); } impl ::core::clone::Clone for LocalLocationFinderResult { fn clone(&self) -> Self { @@ -444,7 +444,7 @@ unsafe impl ::windows::core::Interface for LocalLocationFinderResult { impl ::windows::core::RuntimeName for LocalLocationFinderResult { const NAME: &'static str = "Windows.Services.Maps.LocalSearch.LocalLocationFinderResult"; } -::windows::core::interface_hierarchy!(LocalLocationFinderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LocalLocationFinderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LocalLocationFinderResult {} unsafe impl ::core::marker::Sync for LocalLocationFinderResult {} #[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] @@ -491,7 +491,7 @@ impl ::core::fmt::Debug for LocalLocationHoursOfOperationItem { } } impl ::windows::core::RuntimeType for LocalLocationHoursOfOperationItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem;{23548c72-a1c7-43f1-a4f0-1091c39ec640})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem;{23548c72-a1c7-43f1-a4f0-1091c39ec640})"); } impl ::core::clone::Clone for LocalLocationHoursOfOperationItem { fn clone(&self) -> Self { @@ -507,7 +507,7 @@ unsafe impl ::windows::core::Interface for LocalLocationHoursOfOperationItem { impl ::windows::core::RuntimeName for LocalLocationHoursOfOperationItem { const NAME: &'static str = "Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem"; } -::windows::core::interface_hierarchy!(LocalLocationHoursOfOperationItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LocalLocationHoursOfOperationItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LocalLocationHoursOfOperationItem {} unsafe impl ::core::marker::Sync for LocalLocationHoursOfOperationItem {} #[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] @@ -552,7 +552,7 @@ impl ::core::fmt::Debug for LocalLocationRatingInfo { } } impl ::windows::core::RuntimeType for LocalLocationRatingInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo;{cb1dab56-3354-4311-8bc0-a2d4d5eb806e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo;{cb1dab56-3354-4311-8bc0-a2d4d5eb806e})"); } impl ::core::clone::Clone for LocalLocationRatingInfo { fn clone(&self) -> Self { @@ -568,7 +568,7 @@ unsafe impl ::windows::core::Interface for LocalLocationRatingInfo { impl ::windows::core::RuntimeName for LocalLocationRatingInfo { const NAME: &'static str = "Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo"; } -::windows::core::interface_hierarchy!(LocalLocationRatingInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LocalLocationRatingInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LocalLocationRatingInfo {} unsafe impl ::core::marker::Sync for LocalLocationRatingInfo {} #[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] @@ -582,7 +582,7 @@ impl PlaceInfoHelper { } #[doc(hidden)] pub fn IPlaceInfoHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -623,7 +623,7 @@ impl ::core::fmt::Debug for LocalLocationFinderStatus { } } impl ::windows::core::RuntimeType for LocalLocationFinderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.LocalSearch.LocalLocationFinderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.LocalSearch.LocalLocationFinderStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs index 1e237ca156..0c2b04c019 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs @@ -190,7 +190,7 @@ impl OfflineMapPackage { } #[doc(hidden)] pub fn IOfflineMapPackageStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -206,7 +206,7 @@ impl ::core::fmt::Debug for OfflineMapPackage { } } impl ::windows::core::RuntimeType for OfflineMapPackage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackage;{a797673b-a5b5-4144-b525-e68c8862664b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackage;{a797673b-a5b5-4144-b525-e68c8862664b})"); } impl ::core::clone::Clone for OfflineMapPackage { fn clone(&self) -> Self { @@ -222,7 +222,7 @@ unsafe impl ::windows::core::Interface for OfflineMapPackage { impl ::windows::core::RuntimeName for OfflineMapPackage { const NAME: &'static str = "Windows.Services.Maps.OfflineMaps.OfflineMapPackage"; } -::windows::core::interface_hierarchy!(OfflineMapPackage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OfflineMapPackage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OfflineMapPackage {} unsafe impl ::core::marker::Sync for OfflineMapPackage {} #[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] @@ -258,7 +258,7 @@ impl ::core::fmt::Debug for OfflineMapPackageQueryResult { } } impl ::windows::core::RuntimeType for OfflineMapPackageQueryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackageQueryResult;{55585411-39e1-4e41-a4e1-5f4872bee199})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackageQueryResult;{55585411-39e1-4e41-a4e1-5f4872bee199})"); } impl ::core::clone::Clone for OfflineMapPackageQueryResult { fn clone(&self) -> Self { @@ -274,7 +274,7 @@ unsafe impl ::windows::core::Interface for OfflineMapPackageQueryResult { impl ::windows::core::RuntimeName for OfflineMapPackageQueryResult { const NAME: &'static str = "Windows.Services.Maps.OfflineMaps.OfflineMapPackageQueryResult"; } -::windows::core::interface_hierarchy!(OfflineMapPackageQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OfflineMapPackageQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OfflineMapPackageQueryResult {} unsafe impl ::core::marker::Sync for OfflineMapPackageQueryResult {} #[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] @@ -301,7 +301,7 @@ impl ::core::fmt::Debug for OfflineMapPackageStartDownloadResult { } } impl ::windows::core::RuntimeType for OfflineMapPackageStartDownloadResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackageStartDownloadResult;{d965b918-d4d6-4afe-9378-3ec71ef11c3d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackageStartDownloadResult;{d965b918-d4d6-4afe-9378-3ec71ef11c3d})"); } impl ::core::clone::Clone for OfflineMapPackageStartDownloadResult { fn clone(&self) -> Self { @@ -317,7 +317,7 @@ unsafe impl ::windows::core::Interface for OfflineMapPackageStartDownloadResult impl ::windows::core::RuntimeName for OfflineMapPackageStartDownloadResult { const NAME: &'static str = "Windows.Services.Maps.OfflineMaps.OfflineMapPackageStartDownloadResult"; } -::windows::core::interface_hierarchy!(OfflineMapPackageStartDownloadResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OfflineMapPackageStartDownloadResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OfflineMapPackageStartDownloadResult {} unsafe impl ::core::marker::Sync for OfflineMapPackageStartDownloadResult {} #[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] @@ -350,7 +350,7 @@ impl ::core::fmt::Debug for OfflineMapPackageQueryStatus { } } impl ::windows::core::RuntimeType for OfflineMapPackageQueryStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.OfflineMaps.OfflineMapPackageQueryStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.OfflineMaps.OfflineMapPackageQueryStatus;i4)"); } #[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] #[repr(transparent)] @@ -382,7 +382,7 @@ impl ::core::fmt::Debug for OfflineMapPackageStartDownloadStatus { } } impl ::windows::core::RuntimeType for OfflineMapPackageStartDownloadStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.OfflineMaps.OfflineMapPackageStartDownloadStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.OfflineMaps.OfflineMapPackageStartDownloadStatus;i4)"); } #[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] #[repr(transparent)] @@ -414,7 +414,7 @@ impl ::core::fmt::Debug for OfflineMapPackageStatus { } } impl ::windows::core::RuntimeType for OfflineMapPackageStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.OfflineMaps.OfflineMapPackageStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.OfflineMaps.OfflineMapPackageStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Services/Maps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/mod.rs index 851f7b8cf4..ffd2cb06fb 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/mod.rs @@ -923,7 +923,7 @@ impl EnhancedWaypoint { } #[doc(hidden)] pub fn IEnhancedWaypointFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -939,7 +939,7 @@ impl ::core::fmt::Debug for EnhancedWaypoint { } } impl ::windows::core::RuntimeType for EnhancedWaypoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.EnhancedWaypoint;{ed268c74-5913-11e6-8b77-86f30ca893d3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.EnhancedWaypoint;{ed268c74-5913-11e6-8b77-86f30ca893d3})"); } impl ::core::clone::Clone for EnhancedWaypoint { fn clone(&self) -> Self { @@ -955,7 +955,7 @@ unsafe impl ::windows::core::Interface for EnhancedWaypoint { impl ::windows::core::RuntimeName for EnhancedWaypoint { const NAME: &'static str = "Windows.Services.Maps.EnhancedWaypoint"; } -::windows::core::interface_hierarchy!(EnhancedWaypoint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EnhancedWaypoint, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for EnhancedWaypoint {} unsafe impl ::core::marker::Sync for EnhancedWaypoint {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -989,7 +989,7 @@ impl ::core::fmt::Debug for ManeuverWarning { } } impl ::windows::core::RuntimeType for ManeuverWarning { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.ManeuverWarning;{c1a36d8a-2630-4378-9e4a-6e44253dceba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.ManeuverWarning;{c1a36d8a-2630-4378-9e4a-6e44253dceba})"); } impl ::core::clone::Clone for ManeuverWarning { fn clone(&self) -> Self { @@ -1005,7 +1005,7 @@ unsafe impl ::windows::core::Interface for ManeuverWarning { impl ::windows::core::RuntimeName for ManeuverWarning { const NAME: &'static str = "Windows.Services.Maps.ManeuverWarning"; } -::windows::core::interface_hierarchy!(ManeuverWarning, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ManeuverWarning, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ManeuverWarning {} unsafe impl ::core::marker::Sync for ManeuverWarning {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -1137,7 +1137,7 @@ impl ::core::fmt::Debug for MapAddress { } } impl ::windows::core::RuntimeType for MapAddress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapAddress;{cfa7a973-a3b4-4494-b3ff-cba94db69699})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapAddress;{cfa7a973-a3b4-4494-b3ff-cba94db69699})"); } impl ::core::clone::Clone for MapAddress { fn clone(&self) -> Self { @@ -1153,7 +1153,7 @@ unsafe impl ::windows::core::Interface for MapAddress { impl ::windows::core::RuntimeName for MapAddress { const NAME: &'static str = "Windows.Services.Maps.MapAddress"; } -::windows::core::interface_hierarchy!(MapAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapAddress, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MapAddress {} unsafe impl ::core::marker::Sync for MapAddress {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -1203,7 +1203,7 @@ impl ::core::fmt::Debug for MapLocation { } } impl ::windows::core::RuntimeType for MapLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapLocation;{3c073f57-0da4-42e8-9ee2-a96fcf2371dc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapLocation;{3c073f57-0da4-42e8-9ee2-a96fcf2371dc})"); } impl ::core::clone::Clone for MapLocation { fn clone(&self) -> Self { @@ -1219,7 +1219,7 @@ unsafe impl ::windows::core::Interface for MapLocation { impl ::windows::core::RuntimeName for MapLocation { const NAME: &'static str = "Windows.Services.Maps.MapLocation"; } -::windows::core::interface_hierarchy!(MapLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MapLocation {} unsafe impl ::core::marker::Sync for MapLocation {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -1259,12 +1259,12 @@ impl MapLocationFinder { } #[doc(hidden)] pub fn IMapLocationFinderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMapLocationFinderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1304,7 +1304,7 @@ impl ::core::fmt::Debug for MapLocationFinderResult { } } impl ::windows::core::RuntimeType for MapLocationFinderResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapLocationFinderResult;{43f1f179-e8cc-45f6-bed2-54ccbf965d9a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapLocationFinderResult;{43f1f179-e8cc-45f6-bed2-54ccbf965d9a})"); } impl ::core::clone::Clone for MapLocationFinderResult { fn clone(&self) -> Self { @@ -1320,7 +1320,7 @@ unsafe impl ::windows::core::Interface for MapLocationFinderResult { impl ::windows::core::RuntimeName for MapLocationFinderResult { const NAME: &'static str = "Windows.Services.Maps.MapLocationFinderResult"; } -::windows::core::interface_hierarchy!(MapLocationFinderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapLocationFinderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MapLocationFinderResult {} unsafe impl ::core::marker::Sync for MapLocationFinderResult {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -1334,7 +1334,7 @@ impl MapManager { } #[doc(hidden)] pub fn IMapManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1445,7 +1445,7 @@ impl ::core::fmt::Debug for MapRoute { } } impl ::windows::core::RuntimeType for MapRoute { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRoute;{fb07b732-584d-4583-9c60-641fea274349})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRoute;{fb07b732-584d-4583-9c60-641fea274349})"); } impl ::core::clone::Clone for MapRoute { fn clone(&self) -> Self { @@ -1461,7 +1461,7 @@ unsafe impl ::windows::core::Interface for MapRoute { impl ::windows::core::RuntimeName for MapRoute { const NAME: &'static str = "Windows.Services.Maps.MapRoute"; } -::windows::core::interface_hierarchy!(MapRoute, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapRoute, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MapRoute {} unsafe impl ::core::marker::Sync for MapRoute {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -1471,8 +1471,8 @@ impl MapRouteDrivingOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MaxAlternateRouteCount(&self) -> ::windows::core::Result { @@ -1559,7 +1559,7 @@ impl ::core::fmt::Debug for MapRouteDrivingOptions { } } impl ::windows::core::RuntimeType for MapRouteDrivingOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteDrivingOptions;{6815364d-c6dc-4697-a452-b18f8f0b67a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteDrivingOptions;{6815364d-c6dc-4697-a452-b18f8f0b67a1})"); } impl ::core::clone::Clone for MapRouteDrivingOptions { fn clone(&self) -> Self { @@ -1575,7 +1575,7 @@ unsafe impl ::windows::core::Interface for MapRouteDrivingOptions { impl ::windows::core::RuntimeName for MapRouteDrivingOptions { const NAME: &'static str = "Windows.Services.Maps.MapRouteDrivingOptions"; } -::windows::core::interface_hierarchy!(MapRouteDrivingOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapRouteDrivingOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MapRouteDrivingOptions {} unsafe impl ::core::marker::Sync for MapRouteDrivingOptions {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -1715,17 +1715,17 @@ impl MapRouteFinder { } #[doc(hidden)] pub fn IMapRouteFinderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMapRouteFinderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMapRouteFinderStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1772,7 +1772,7 @@ impl ::core::fmt::Debug for MapRouteFinderResult { } } impl ::windows::core::RuntimeType for MapRouteFinderResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteFinderResult;{a868a31a-9422-46ac-8ca1-b1614d4bfbe2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteFinderResult;{a868a31a-9422-46ac-8ca1-b1614d4bfbe2})"); } impl ::core::clone::Clone for MapRouteFinderResult { fn clone(&self) -> Self { @@ -1788,7 +1788,7 @@ unsafe impl ::windows::core::Interface for MapRouteFinderResult { impl ::windows::core::RuntimeName for MapRouteFinderResult { const NAME: &'static str = "Windows.Services.Maps.MapRouteFinderResult"; } -::windows::core::interface_hierarchy!(MapRouteFinderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapRouteFinderResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MapRouteFinderResult {} unsafe impl ::core::marker::Sync for MapRouteFinderResult {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -1867,7 +1867,7 @@ impl ::core::fmt::Debug for MapRouteLeg { } } impl ::windows::core::RuntimeType for MapRouteLeg { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteLeg;{96f8b2f6-5bba-4d17-9db6-1a263fec7471})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteLeg;{96f8b2f6-5bba-4d17-9db6-1a263fec7471})"); } impl ::core::clone::Clone for MapRouteLeg { fn clone(&self) -> Self { @@ -1883,7 +1883,7 @@ unsafe impl ::windows::core::Interface for MapRouteLeg { impl ::windows::core::RuntimeName for MapRouteLeg { const NAME: &'static str = "Windows.Services.Maps.MapRouteLeg"; } -::windows::core::interface_hierarchy!(MapRouteLeg, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapRouteLeg, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MapRouteLeg {} unsafe impl ::core::marker::Sync for MapRouteLeg {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -1977,7 +1977,7 @@ impl ::core::fmt::Debug for MapRouteManeuver { } } impl ::windows::core::RuntimeType for MapRouteManeuver { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteManeuver;{ed5c17f0-a6ab-4d65-a086-fa8a7e340df2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteManeuver;{ed5c17f0-a6ab-4d65-a086-fa8a7e340df2})"); } impl ::core::clone::Clone for MapRouteManeuver { fn clone(&self) -> Self { @@ -1993,7 +1993,7 @@ unsafe impl ::windows::core::Interface for MapRouteManeuver { impl ::windows::core::RuntimeName for MapRouteManeuver { const NAME: &'static str = "Windows.Services.Maps.MapRouteManeuver"; } -::windows::core::interface_hierarchy!(MapRouteManeuver, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MapRouteManeuver, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for MapRouteManeuver {} unsafe impl ::core::marker::Sync for MapRouteManeuver {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -2031,22 +2031,22 @@ impl MapService { } #[doc(hidden)] pub fn IMapServiceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMapServiceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMapServiceStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMapServiceStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2155,12 +2155,12 @@ impl PlaceInfo { } #[doc(hidden)] pub fn IPlaceInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IPlaceInfoStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2176,7 +2176,7 @@ impl ::core::fmt::Debug for PlaceInfo { } } impl ::windows::core::RuntimeType for PlaceInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.PlaceInfo;{9a0810b6-31c8-4f6a-9f18-950b4c38951a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.PlaceInfo;{9a0810b6-31c8-4f6a-9f18-950b4c38951a})"); } impl ::core::clone::Clone for PlaceInfo { fn clone(&self) -> Self { @@ -2192,7 +2192,7 @@ unsafe impl ::windows::core::Interface for PlaceInfo { impl ::windows::core::RuntimeName for PlaceInfo { const NAME: &'static str = "Windows.Services.Maps.PlaceInfo"; } -::windows::core::interface_hierarchy!(PlaceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlaceInfo {} unsafe impl ::core::marker::Sync for PlaceInfo {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -2202,8 +2202,8 @@ impl PlaceInfoCreateOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetDisplayName(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -2241,7 +2241,7 @@ impl ::core::fmt::Debug for PlaceInfoCreateOptions { } } impl ::windows::core::RuntimeType for PlaceInfoCreateOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.PlaceInfoCreateOptions;{cd33c125-67f1-4bb3-9907-ecce939b0399})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.PlaceInfoCreateOptions;{cd33c125-67f1-4bb3-9907-ecce939b0399})"); } impl ::core::clone::Clone for PlaceInfoCreateOptions { fn clone(&self) -> Self { @@ -2257,7 +2257,7 @@ unsafe impl ::windows::core::Interface for PlaceInfoCreateOptions { impl ::windows::core::RuntimeName for PlaceInfoCreateOptions { const NAME: &'static str = "Windows.Services.Maps.PlaceInfoCreateOptions"; } -::windows::core::interface_hierarchy!(PlaceInfoCreateOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlaceInfoCreateOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlaceInfoCreateOptions {} unsafe impl ::core::marker::Sync for PlaceInfoCreateOptions {} #[doc = "*Required features: `\"Services_Maps\"`*"] @@ -2322,7 +2322,7 @@ impl ::core::fmt::Debug for ManeuverWarningKind { } } impl ::windows::core::RuntimeType for ManeuverWarningKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.ManeuverWarningKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.ManeuverWarningKind;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2355,7 +2355,7 @@ impl ::core::fmt::Debug for ManeuverWarningSeverity { } } impl ::windows::core::RuntimeType for ManeuverWarningSeverity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.ManeuverWarningSeverity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.ManeuverWarningSeverity;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2385,7 +2385,7 @@ impl ::core::fmt::Debug for MapLocationDesiredAccuracy { } } impl ::windows::core::RuntimeType for MapLocationDesiredAccuracy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapLocationDesiredAccuracy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapLocationDesiredAccuracy;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2420,7 +2420,7 @@ impl ::core::fmt::Debug for MapLocationFinderStatus { } } impl ::windows::core::RuntimeType for MapLocationFinderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapLocationFinderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapLocationFinderStatus;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2484,7 +2484,7 @@ impl ::core::ops::Not for MapManeuverNotices { } } impl ::windows::core::RuntimeType for MapManeuverNotices { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapManeuverNotices;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapManeuverNotices;u4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2522,7 +2522,7 @@ impl ::core::fmt::Debug for MapRouteFinderStatus { } } impl ::windows::core::RuntimeType for MapRouteFinderStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapRouteFinderStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapRouteFinderStatus;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2575,7 +2575,7 @@ impl ::core::fmt::Debug for MapRouteManeuverKind { } } impl ::windows::core::RuntimeType for MapRouteManeuverKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapRouteManeuverKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapRouteManeuverKind;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2607,7 +2607,7 @@ impl ::core::fmt::Debug for MapRouteOptimization { } } impl ::windows::core::RuntimeType for MapRouteOptimization { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapRouteOptimization;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapRouteOptimization;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2675,7 +2675,7 @@ impl ::core::ops::Not for MapRouteRestrictions { } } impl ::windows::core::RuntimeType for MapRouteRestrictions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapRouteRestrictions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapRouteRestrictions;u4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2705,7 +2705,7 @@ impl ::core::fmt::Debug for MapServiceDataUsagePreference { } } impl ::windows::core::RuntimeType for MapServiceDataUsagePreference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapServiceDataUsagePreference;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.MapServiceDataUsagePreference;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2738,7 +2738,7 @@ impl ::core::fmt::Debug for TrafficCongestion { } } impl ::windows::core::RuntimeType for TrafficCongestion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.TrafficCongestion;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.TrafficCongestion;i4)"); } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] @@ -2768,7 +2768,7 @@ impl ::core::fmt::Debug for WaypointKind { } } impl ::windows::core::RuntimeType for WaypointKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.WaypointKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Maps.WaypointKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Services/Store/mod.rs b/crates/libs/windows/src/Windows/Services/Store/mod.rs index b70394596f..76fb948814 100644 --- a/crates/libs/windows/src/Windows/Services/Store/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Store/mod.rs @@ -1238,7 +1238,7 @@ impl ::core::fmt::Debug for StoreAcquireLicenseResult { } } impl ::windows::core::RuntimeType for StoreAcquireLicenseResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAcquireLicenseResult;{fbd7946d-f040-4cb3-9a39-29bcecdbe22d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAcquireLicenseResult;{fbd7946d-f040-4cb3-9a39-29bcecdbe22d})"); } impl ::core::clone::Clone for StoreAcquireLicenseResult { fn clone(&self) -> Self { @@ -1254,7 +1254,7 @@ unsafe impl ::windows::core::Interface for StoreAcquireLicenseResult { impl ::windows::core::RuntimeName for StoreAcquireLicenseResult { const NAME: &'static str = "Windows.Services.Store.StoreAcquireLicenseResult"; } -::windows::core::interface_hierarchy!(StoreAcquireLicenseResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreAcquireLicenseResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreAcquireLicenseResult {} unsafe impl ::core::marker::Sync for StoreAcquireLicenseResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -1350,7 +1350,7 @@ impl ::core::fmt::Debug for StoreAppLicense { } } impl ::windows::core::RuntimeType for StoreAppLicense { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAppLicense;{f389f9de-73c0-45ce-9bab-b2fe3e5eafd3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAppLicense;{f389f9de-73c0-45ce-9bab-b2fe3e5eafd3})"); } impl ::core::clone::Clone for StoreAppLicense { fn clone(&self) -> Self { @@ -1366,7 +1366,7 @@ unsafe impl ::windows::core::Interface for StoreAppLicense { impl ::windows::core::RuntimeName for StoreAppLicense { const NAME: &'static str = "Windows.Services.Store.StoreAppLicense"; } -::windows::core::interface_hierarchy!(StoreAppLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreAppLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreAppLicense {} unsafe impl ::core::marker::Sync for StoreAppLicense {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -1434,7 +1434,7 @@ impl ::core::fmt::Debug for StoreAvailability { } } impl ::windows::core::RuntimeType for StoreAvailability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAvailability;{fa060325-0ffd-4493-ad43-f1f9918f69fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAvailability;{fa060325-0ffd-4493-ad43-f1f9918f69fa})"); } impl ::core::clone::Clone for StoreAvailability { fn clone(&self) -> Self { @@ -1450,7 +1450,7 @@ unsafe impl ::windows::core::Interface for StoreAvailability { impl ::windows::core::RuntimeName for StoreAvailability { const NAME: &'static str = "Windows.Services.Store.StoreAvailability"; } -::windows::core::interface_hierarchy!(StoreAvailability, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreAvailability, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreAvailability {} unsafe impl ::core::marker::Sync for StoreAvailability {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -1491,7 +1491,7 @@ impl ::core::fmt::Debug for StoreCanAcquireLicenseResult { } } impl ::windows::core::RuntimeType for StoreCanAcquireLicenseResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreCanAcquireLicenseResult;{3a693db3-0088-482f-86d5-bd46522663ad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreCanAcquireLicenseResult;{3a693db3-0088-482f-86d5-bd46522663ad})"); } impl ::core::clone::Clone for StoreCanAcquireLicenseResult { fn clone(&self) -> Self { @@ -1507,7 +1507,7 @@ unsafe impl ::windows::core::Interface for StoreCanAcquireLicenseResult { impl ::windows::core::RuntimeName for StoreCanAcquireLicenseResult { const NAME: &'static str = "Windows.Services.Store.StoreCanAcquireLicenseResult"; } -::windows::core::interface_hierarchy!(StoreCanAcquireLicenseResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreCanAcquireLicenseResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreCanAcquireLicenseResult {} unsafe impl ::core::marker::Sync for StoreCanAcquireLicenseResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -1591,7 +1591,7 @@ impl ::core::fmt::Debug for StoreCollectionData { } } impl ::windows::core::RuntimeType for StoreCollectionData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreCollectionData;{8aa4c3b3-5bb3-441a-2ab4-4dab73d5ce67})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreCollectionData;{8aa4c3b3-5bb3-441a-2ab4-4dab73d5ce67})"); } impl ::core::clone::Clone for StoreCollectionData { fn clone(&self) -> Self { @@ -1607,7 +1607,7 @@ unsafe impl ::windows::core::Interface for StoreCollectionData { impl ::windows::core::RuntimeName for StoreCollectionData { const NAME: &'static str = "Windows.Services.Store.StoreCollectionData"; } -::windows::core::interface_hierarchy!(StoreCollectionData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreCollectionData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreCollectionData {} unsafe impl ::core::marker::Sync for StoreCollectionData {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -1655,7 +1655,7 @@ impl ::core::fmt::Debug for StoreConsumableResult { } } impl ::windows::core::RuntimeType for StoreConsumableResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreConsumableResult;{ea5dab72-6a00-4052-be5b-bfdab4433352})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreConsumableResult;{ea5dab72-6a00-4052-be5b-bfdab4433352})"); } impl ::core::clone::Clone for StoreConsumableResult { fn clone(&self) -> Self { @@ -1671,7 +1671,7 @@ unsafe impl ::windows::core::Interface for StoreConsumableResult { impl ::windows::core::RuntimeName for StoreConsumableResult { const NAME: &'static str = "Windows.Services.Store.StoreConsumableResult"; } -::windows::core::interface_hierarchy!(StoreConsumableResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreConsumableResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreConsumableResult {} unsafe impl ::core::marker::Sync for StoreConsumableResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2099,7 +2099,7 @@ impl StoreContext { } #[doc(hidden)] pub fn IStoreContextStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2115,7 +2115,7 @@ impl ::core::fmt::Debug for StoreContext { } } impl ::windows::core::RuntimeType for StoreContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreContext;{ac98b6be-f4fd-4912-babd-5035e5e8bcab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreContext;{ac98b6be-f4fd-4912-babd-5035e5e8bcab})"); } impl ::core::clone::Clone for StoreContext { fn clone(&self) -> Self { @@ -2131,7 +2131,7 @@ unsafe impl ::windows::core::Interface for StoreContext { impl ::windows::core::RuntimeName for StoreContext { const NAME: &'static str = "Windows.Services.Store.StoreContext"; } -::windows::core::interface_hierarchy!(StoreContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreContext {} unsafe impl ::core::marker::Sync for StoreContext {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2188,7 +2188,7 @@ impl ::core::fmt::Debug for StoreImage { } } impl ::windows::core::RuntimeType for StoreImage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreImage;{081fd248-adb4-4b64-a993-784789926ed5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreImage;{081fd248-adb4-4b64-a993-784789926ed5})"); } impl ::core::clone::Clone for StoreImage { fn clone(&self) -> Self { @@ -2204,7 +2204,7 @@ unsafe impl ::windows::core::Interface for StoreImage { impl ::windows::core::RuntimeName for StoreImage { const NAME: &'static str = "Windows.Services.Store.StoreImage"; } -::windows::core::interface_hierarchy!(StoreImage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreImage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreImage {} unsafe impl ::core::marker::Sync for StoreImage {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2261,7 +2261,7 @@ impl ::core::fmt::Debug for StoreLicense { } } impl ::windows::core::RuntimeType for StoreLicense { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreLicense;{26dc9579-4c4f-4f30-bc89-649f60e36055})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreLicense;{26dc9579-4c4f-4f30-bc89-649f60e36055})"); } impl ::core::clone::Clone for StoreLicense { fn clone(&self) -> Self { @@ -2277,7 +2277,7 @@ unsafe impl ::windows::core::Interface for StoreLicense { impl ::windows::core::RuntimeName for StoreLicense { const NAME: &'static str = "Windows.Services.Store.StoreLicense"; } -::windows::core::interface_hierarchy!(StoreLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreLicense {} unsafe impl ::core::marker::Sync for StoreLicense {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2287,8 +2287,8 @@ impl StorePackageInstallOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AllowForcedAppRestart(&self) -> ::windows::core::Result { @@ -2315,7 +2315,7 @@ impl ::core::fmt::Debug for StorePackageInstallOptions { } } impl ::windows::core::RuntimeType for StorePackageInstallOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageInstallOptions;{1d3d630c-0ccd-44dd-8c59-80810a729973})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageInstallOptions;{1d3d630c-0ccd-44dd-8c59-80810a729973})"); } impl ::core::clone::Clone for StorePackageInstallOptions { fn clone(&self) -> Self { @@ -2331,7 +2331,7 @@ unsafe impl ::windows::core::Interface for StorePackageInstallOptions { impl ::windows::core::RuntimeName for StorePackageInstallOptions { const NAME: &'static str = "Windows.Services.Store.StorePackageInstallOptions"; } -::windows::core::interface_hierarchy!(StorePackageInstallOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePackageInstallOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePackageInstallOptions {} unsafe impl ::core::marker::Sync for StorePackageInstallOptions {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2392,7 +2392,7 @@ impl ::core::fmt::Debug for StorePackageLicense { } } impl ::windows::core::RuntimeType for StorePackageLicense { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageLicense;{0c465714-14e1-4973-bd14-f77724271e99})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageLicense;{0c465714-14e1-4973-bd14-f77724271e99})"); } impl ::core::clone::Clone for StorePackageLicense { fn clone(&self) -> Self { @@ -2408,7 +2408,7 @@ unsafe impl ::windows::core::Interface for StorePackageLicense { impl ::windows::core::RuntimeName for StorePackageLicense { const NAME: &'static str = "Windows.Services.Store.StorePackageLicense"; } -::windows::core::interface_hierarchy!(StorePackageLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePackageLicense, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2466,7 +2466,7 @@ impl ::core::fmt::Debug for StorePackageUpdate { } } impl ::windows::core::RuntimeType for StorePackageUpdate { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageUpdate;{140fa150-3cbf-4a35-b91f-48271c31b072})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageUpdate;{140fa150-3cbf-4a35-b91f-48271c31b072})"); } impl ::core::clone::Clone for StorePackageUpdate { fn clone(&self) -> Self { @@ -2482,7 +2482,7 @@ unsafe impl ::windows::core::Interface for StorePackageUpdate { impl ::windows::core::RuntimeName for StorePackageUpdate { const NAME: &'static str = "Windows.Services.Store.StorePackageUpdate"; } -::windows::core::interface_hierarchy!(StorePackageUpdate, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePackageUpdate, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePackageUpdate {} unsafe impl ::core::marker::Sync for StorePackageUpdate {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2527,7 +2527,7 @@ impl ::core::fmt::Debug for StorePackageUpdateResult { } } impl ::windows::core::RuntimeType for StorePackageUpdateResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageUpdateResult;{e79142ed-61f9-4893-b4fe-cf191603af7b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageUpdateResult;{e79142ed-61f9-4893-b4fe-cf191603af7b})"); } impl ::core::clone::Clone for StorePackageUpdateResult { fn clone(&self) -> Self { @@ -2543,7 +2543,7 @@ unsafe impl ::windows::core::Interface for StorePackageUpdateResult { impl ::windows::core::RuntimeName for StorePackageUpdateResult { const NAME: &'static str = "Windows.Services.Store.StorePackageUpdateResult"; } -::windows::core::interface_hierarchy!(StorePackageUpdateResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePackageUpdateResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePackageUpdateResult {} unsafe impl ::core::marker::Sync for StorePackageUpdateResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2607,7 +2607,7 @@ impl ::core::fmt::Debug for StorePrice { } } impl ::windows::core::RuntimeType for StorePrice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePrice;{55ba94c4-15f1-407c-8f06-006380f4df0b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePrice;{55ba94c4-15f1-407c-8f06-006380f4df0b})"); } impl ::core::clone::Clone for StorePrice { fn clone(&self) -> Self { @@ -2623,7 +2623,7 @@ unsafe impl ::windows::core::Interface for StorePrice { impl ::windows::core::RuntimeName for StorePrice { const NAME: &'static str = "Windows.Services.Store.StorePrice"; } -::windows::core::interface_hierarchy!(StorePrice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePrice, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePrice {} unsafe impl ::core::marker::Sync for StorePrice {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2785,7 +2785,7 @@ impl ::core::fmt::Debug for StoreProduct { } } impl ::windows::core::RuntimeType for StoreProduct { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProduct;{320e2c52-d760-450a-a42b-67d1e901ac90})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProduct;{320e2c52-d760-450a-a42b-67d1e901ac90})"); } impl ::core::clone::Clone for StoreProduct { fn clone(&self) -> Self { @@ -2801,7 +2801,7 @@ unsafe impl ::windows::core::Interface for StoreProduct { impl ::windows::core::RuntimeName for StoreProduct { const NAME: &'static str = "Windows.Services.Store.StoreProduct"; } -::windows::core::interface_hierarchy!(StoreProduct, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreProduct, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreProduct {} unsafe impl ::core::marker::Sync for StoreProduct {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2811,8 +2811,8 @@ impl StoreProductOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2837,7 +2837,7 @@ impl ::core::fmt::Debug for StoreProductOptions { } } impl ::windows::core::RuntimeType for StoreProductOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductOptions;{5b34a0f9-a113-4811-8326-16199c927f31})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductOptions;{5b34a0f9-a113-4811-8326-16199c927f31})"); } impl ::core::clone::Clone for StoreProductOptions { fn clone(&self) -> Self { @@ -2853,7 +2853,7 @@ unsafe impl ::windows::core::Interface for StoreProductOptions { impl ::windows::core::RuntimeName for StoreProductOptions { const NAME: &'static str = "Windows.Services.Store.StoreProductOptions"; } -::windows::core::interface_hierarchy!(StoreProductOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreProductOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreProductOptions {} unsafe impl ::core::marker::Sync for StoreProductOptions {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2905,7 +2905,7 @@ impl ::core::fmt::Debug for StoreProductPagedQueryResult { } } impl ::windows::core::RuntimeType for StoreProductPagedQueryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductPagedQueryResult;{c92718c5-4dd5-4869-a462-ecc6872e43c5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductPagedQueryResult;{c92718c5-4dd5-4869-a462-ecc6872e43c5})"); } impl ::core::clone::Clone for StoreProductPagedQueryResult { fn clone(&self) -> Self { @@ -2921,7 +2921,7 @@ unsafe impl ::windows::core::Interface for StoreProductPagedQueryResult { impl ::windows::core::RuntimeName for StoreProductPagedQueryResult { const NAME: &'static str = "Windows.Services.Store.StoreProductPagedQueryResult"; } -::windows::core::interface_hierarchy!(StoreProductPagedQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreProductPagedQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreProductPagedQueryResult {} unsafe impl ::core::marker::Sync for StoreProductPagedQueryResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -2957,7 +2957,7 @@ impl ::core::fmt::Debug for StoreProductQueryResult { } } impl ::windows::core::RuntimeType for StoreProductQueryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductQueryResult;{d805e6c5-d456-4ff6-8049-9076d5165f73})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductQueryResult;{d805e6c5-d456-4ff6-8049-9076d5165f73})"); } impl ::core::clone::Clone for StoreProductQueryResult { fn clone(&self) -> Self { @@ -2973,7 +2973,7 @@ unsafe impl ::windows::core::Interface for StoreProductQueryResult { impl ::windows::core::RuntimeName for StoreProductQueryResult { const NAME: &'static str = "Windows.Services.Store.StoreProductQueryResult"; } -::windows::core::interface_hierarchy!(StoreProductQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreProductQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreProductQueryResult {} unsafe impl ::core::marker::Sync for StoreProductQueryResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3007,7 +3007,7 @@ impl ::core::fmt::Debug for StoreProductResult { } } impl ::windows::core::RuntimeType for StoreProductResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductResult;{b7674f73-3c87-4ee1-8201-f428359bd3af})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductResult;{b7674f73-3c87-4ee1-8201-f428359bd3af})"); } impl ::core::clone::Clone for StoreProductResult { fn clone(&self) -> Self { @@ -3023,7 +3023,7 @@ unsafe impl ::windows::core::Interface for StoreProductResult { impl ::windows::core::RuntimeName for StoreProductResult { const NAME: &'static str = "Windows.Services.Store.StoreProductResult"; } -::windows::core::interface_hierarchy!(StoreProductResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreProductResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreProductResult {} unsafe impl ::core::marker::Sync for StoreProductResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3033,8 +3033,8 @@ impl StorePurchaseProperties { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3067,7 +3067,7 @@ impl StorePurchaseProperties { } #[doc(hidden)] pub fn IStorePurchasePropertiesFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3083,7 +3083,7 @@ impl ::core::fmt::Debug for StorePurchaseProperties { } } impl ::windows::core::RuntimeType for StorePurchaseProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePurchaseProperties;{836278f3-ff87-4364-a5b4-fd2153ebe43b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePurchaseProperties;{836278f3-ff87-4364-a5b4-fd2153ebe43b})"); } impl ::core::clone::Clone for StorePurchaseProperties { fn clone(&self) -> Self { @@ -3099,7 +3099,7 @@ unsafe impl ::windows::core::Interface for StorePurchaseProperties { impl ::windows::core::RuntimeName for StorePurchaseProperties { const NAME: &'static str = "Windows.Services.Store.StorePurchaseProperties"; } -::windows::core::interface_hierarchy!(StorePurchaseProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePurchaseProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePurchaseProperties {} unsafe impl ::core::marker::Sync for StorePurchaseProperties {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3133,7 +3133,7 @@ impl ::core::fmt::Debug for StorePurchaseResult { } } impl ::windows::core::RuntimeType for StorePurchaseResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePurchaseResult;{add28552-f96a-463d-a7bb-c20b4fca6952})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePurchaseResult;{add28552-f96a-463d-a7bb-c20b4fca6952})"); } impl ::core::clone::Clone for StorePurchaseResult { fn clone(&self) -> Self { @@ -3149,7 +3149,7 @@ unsafe impl ::windows::core::Interface for StorePurchaseResult { impl ::windows::core::RuntimeName for StorePurchaseResult { const NAME: &'static str = "Windows.Services.Store.StorePurchaseResult"; } -::windows::core::interface_hierarchy!(StorePurchaseResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorePurchaseResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorePurchaseResult {} unsafe impl ::core::marker::Sync for StorePurchaseResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3254,7 +3254,7 @@ impl ::core::fmt::Debug for StoreQueueItem { } } impl ::windows::core::RuntimeType for StoreQueueItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItem;{56d5c32b-f830-4293-9188-cad2dcde7357})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItem;{56d5c32b-f830-4293-9188-cad2dcde7357})"); } impl ::core::clone::Clone for StoreQueueItem { fn clone(&self) -> Self { @@ -3270,7 +3270,7 @@ unsafe impl ::windows::core::Interface for StoreQueueItem { impl ::windows::core::RuntimeName for StoreQueueItem { const NAME: &'static str = "Windows.Services.Store.StoreQueueItem"; } -::windows::core::interface_hierarchy!(StoreQueueItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreQueueItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreQueueItem {} unsafe impl ::core::marker::Sync for StoreQueueItem {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3297,7 +3297,7 @@ impl ::core::fmt::Debug for StoreQueueItemCompletedEventArgs { } } impl ::windows::core::RuntimeType for StoreQueueItemCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItemCompletedEventArgs;{1247df6c-b44a-439b-bb07-1d3003d005c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItemCompletedEventArgs;{1247df6c-b44a-439b-bb07-1d3003d005c2})"); } impl ::core::clone::Clone for StoreQueueItemCompletedEventArgs { fn clone(&self) -> Self { @@ -3313,7 +3313,7 @@ unsafe impl ::windows::core::Interface for StoreQueueItemCompletedEventArgs { impl ::windows::core::RuntimeName for StoreQueueItemCompletedEventArgs { const NAME: &'static str = "Windows.Services.Store.StoreQueueItemCompletedEventArgs"; } -::windows::core::interface_hierarchy!(StoreQueueItemCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreQueueItemCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreQueueItemCompletedEventArgs {} unsafe impl ::core::marker::Sync for StoreQueueItemCompletedEventArgs {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3361,7 +3361,7 @@ impl ::core::fmt::Debug for StoreQueueItemStatus { } } impl ::windows::core::RuntimeType for StoreQueueItemStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItemStatus;{9bd6796f-9cc3-4ec3-b2ef-7be433b30174})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItemStatus;{9bd6796f-9cc3-4ec3-b2ef-7be433b30174})"); } impl ::core::clone::Clone for StoreQueueItemStatus { fn clone(&self) -> Self { @@ -3377,7 +3377,7 @@ unsafe impl ::windows::core::Interface for StoreQueueItemStatus { impl ::windows::core::RuntimeName for StoreQueueItemStatus { const NAME: &'static str = "Windows.Services.Store.StoreQueueItemStatus"; } -::windows::core::interface_hierarchy!(StoreQueueItemStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreQueueItemStatus, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreQueueItemStatus {} unsafe impl ::core::marker::Sync for StoreQueueItemStatus {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3425,7 +3425,7 @@ impl ::core::fmt::Debug for StoreRateAndReviewResult { } } impl ::windows::core::RuntimeType for StoreRateAndReviewResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreRateAndReviewResult;{9d209d56-a6b5-4121-9b61-ee6d0fbdbdbb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreRateAndReviewResult;{9d209d56-a6b5-4121-9b61-ee6d0fbdbdbb})"); } impl ::core::clone::Clone for StoreRateAndReviewResult { fn clone(&self) -> Self { @@ -3441,7 +3441,7 @@ unsafe impl ::windows::core::Interface for StoreRateAndReviewResult { impl ::windows::core::RuntimeName for StoreRateAndReviewResult { const NAME: &'static str = "Windows.Services.Store.StoreRateAndReviewResult"; } -::windows::core::interface_hierarchy!(StoreRateAndReviewResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreRateAndReviewResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreRateAndReviewResult {} unsafe impl ::core::marker::Sync for StoreRateAndReviewResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3457,7 +3457,7 @@ impl StoreRequestHelper { } #[doc(hidden)] pub fn IStoreRequestHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3504,7 +3504,7 @@ impl ::core::fmt::Debug for StoreSendRequestResult { } } impl ::windows::core::RuntimeType for StoreSendRequestResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSendRequestResult;{c73abe60-8272-4502-8a69-6e75153a4299})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSendRequestResult;{c73abe60-8272-4502-8a69-6e75153a4299})"); } impl ::core::clone::Clone for StoreSendRequestResult { fn clone(&self) -> Self { @@ -3520,7 +3520,7 @@ unsafe impl ::windows::core::Interface for StoreSendRequestResult { impl ::windows::core::RuntimeName for StoreSendRequestResult { const NAME: &'static str = "Windows.Services.Store.StoreSendRequestResult"; } -::windows::core::interface_hierarchy!(StoreSendRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreSendRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreSendRequestResult {} unsafe impl ::core::marker::Sync for StoreSendRequestResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3687,7 +3687,7 @@ impl ::core::fmt::Debug for StoreSku { } } impl ::windows::core::RuntimeType for StoreSku { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSku;{397e6f55-4440-4f03-863c-91f3fec83d79})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSku;{397e6f55-4440-4f03-863c-91f3fec83d79})"); } impl ::core::clone::Clone for StoreSku { fn clone(&self) -> Self { @@ -3703,7 +3703,7 @@ unsafe impl ::windows::core::Interface for StoreSku { impl ::windows::core::RuntimeName for StoreSku { const NAME: &'static str = "Windows.Services.Store.StoreSku"; } -::windows::core::interface_hierarchy!(StoreSku, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreSku, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreSku {} unsafe impl ::core::marker::Sync for StoreSku {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3758,7 +3758,7 @@ impl ::core::fmt::Debug for StoreSubscriptionInfo { } } impl ::windows::core::RuntimeType for StoreSubscriptionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSubscriptionInfo;{4189776a-0559-43ac-a9c6-3ab0011fb8eb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSubscriptionInfo;{4189776a-0559-43ac-a9c6-3ab0011fb8eb})"); } impl ::core::clone::Clone for StoreSubscriptionInfo { fn clone(&self) -> Self { @@ -3774,7 +3774,7 @@ unsafe impl ::windows::core::Interface for StoreSubscriptionInfo { impl ::windows::core::RuntimeName for StoreSubscriptionInfo { const NAME: &'static str = "Windows.Services.Store.StoreSubscriptionInfo"; } -::windows::core::interface_hierarchy!(StoreSubscriptionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreSubscriptionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreSubscriptionInfo {} unsafe impl ::core::marker::Sync for StoreSubscriptionInfo {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3808,7 +3808,7 @@ impl ::core::fmt::Debug for StoreUninstallStorePackageResult { } } impl ::windows::core::RuntimeType for StoreUninstallStorePackageResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreUninstallStorePackageResult;{9fca39fd-126f-4cda-b801-1346b8d0a260})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreUninstallStorePackageResult;{9fca39fd-126f-4cda-b801-1346b8d0a260})"); } impl ::core::clone::Clone for StoreUninstallStorePackageResult { fn clone(&self) -> Self { @@ -3824,7 +3824,7 @@ unsafe impl ::windows::core::Interface for StoreUninstallStorePackageResult { impl ::windows::core::RuntimeName for StoreUninstallStorePackageResult { const NAME: &'static str = "Windows.Services.Store.StoreUninstallStorePackageResult"; } -::windows::core::interface_hierarchy!(StoreUninstallStorePackageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreUninstallStorePackageResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreUninstallStorePackageResult {} unsafe impl ::core::marker::Sync for StoreUninstallStorePackageResult {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3888,7 +3888,7 @@ impl ::core::fmt::Debug for StoreVideo { } } impl ::windows::core::RuntimeType for StoreVideo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreVideo;{f26cb184-6f5e-4dc2-886c-3c63083c2f94})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreVideo;{f26cb184-6f5e-4dc2-886c-3c63083c2f94})"); } impl ::core::clone::Clone for StoreVideo { fn clone(&self) -> Self { @@ -3904,7 +3904,7 @@ unsafe impl ::windows::core::Interface for StoreVideo { impl ::windows::core::RuntimeName for StoreVideo { const NAME: &'static str = "Windows.Services.Store.StoreVideo"; } -::windows::core::interface_hierarchy!(StoreVideo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StoreVideo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StoreVideo {} unsafe impl ::core::marker::Sync for StoreVideo {} #[doc = "*Required features: `\"Services_Store\"`*"] @@ -3938,7 +3938,7 @@ impl ::core::fmt::Debug for StoreCanLicenseStatus { } } impl ::windows::core::RuntimeType for StoreCanLicenseStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreCanLicenseStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreCanLicenseStatus;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -3970,7 +3970,7 @@ impl ::core::fmt::Debug for StoreConsumableStatus { } } impl ::windows::core::RuntimeType for StoreConsumableStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreConsumableStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreConsumableStatus;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -4004,7 +4004,7 @@ impl ::core::fmt::Debug for StoreDurationUnit { } } impl ::windows::core::RuntimeType for StoreDurationUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreDurationUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreDurationUnit;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -4041,7 +4041,7 @@ impl ::core::fmt::Debug for StorePackageUpdateState { } } impl ::windows::core::RuntimeType for StorePackageUpdateState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StorePackageUpdateState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StorePackageUpdateState;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -4074,7 +4074,7 @@ impl ::core::fmt::Debug for StorePurchaseStatus { } } impl ::windows::core::RuntimeType for StorePurchaseStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StorePurchaseStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StorePurchaseStatus;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -4117,7 +4117,7 @@ impl ::core::fmt::Debug for StoreQueueItemExtendedState { } } impl ::windows::core::RuntimeType for StoreQueueItemExtendedState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreQueueItemExtendedState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreQueueItemExtendedState;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -4148,7 +4148,7 @@ impl ::core::fmt::Debug for StoreQueueItemKind { } } impl ::windows::core::RuntimeType for StoreQueueItemKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreQueueItemKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreQueueItemKind;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -4181,7 +4181,7 @@ impl ::core::fmt::Debug for StoreQueueItemState { } } impl ::windows::core::RuntimeType for StoreQueueItemState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreQueueItemState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreQueueItemState;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -4213,7 +4213,7 @@ impl ::core::fmt::Debug for StoreRateAndReviewStatus { } } impl ::windows::core::RuntimeType for StoreRateAndReviewStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreRateAndReviewStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreRateAndReviewStatus;i4)"); } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] @@ -4246,7 +4246,7 @@ impl ::core::fmt::Debug for StoreUninstallStorePackageStatus { } } impl ::windows::core::RuntimeType for StoreUninstallStorePackageStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreUninstallStorePackageStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.Store.StoreUninstallStorePackageStatus;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Services_Store\"`*"] @@ -4279,7 +4279,7 @@ impl ::windows::core::TypeKind for StorePackageUpdateStatus { type TypeKind = ::windows::core::ValueType; } impl ::windows::core::RuntimeType for StorePackageUpdateStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Services.Store.StorePackageUpdateStatus;string;u8;u8;f8;f8;enum(Windows.Services.Store.StorePackageUpdateState;i4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Services.Store.StorePackageUpdateStatus;string;u8;u8;f8;f8;enum(Windows.Services.Store.StorePackageUpdateState;i4))"); } impl ::core::cmp::PartialEq for StorePackageUpdateStatus { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs index ad4fda44c5..eae3a095d7 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -463,7 +463,7 @@ impl ::core::fmt::Debug for TargetedContentAction { } } impl ::windows::core::RuntimeType for TargetedContentAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentAction;{d75b691e-6cd6-4ca0-9d8f-4728b0b7e6b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentAction;{d75b691e-6cd6-4ca0-9d8f-4728b0b7e6b6})"); } impl ::core::clone::Clone for TargetedContentAction { fn clone(&self) -> Self { @@ -479,7 +479,7 @@ unsafe impl ::windows::core::Interface for TargetedContentAction { impl ::windows::core::RuntimeName for TargetedContentAction { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentAction"; } -::windows::core::interface_hierarchy!(TargetedContentAction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentAction, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentAction {} unsafe impl ::core::marker::Sync for TargetedContentAction {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -508,7 +508,7 @@ impl ::core::fmt::Debug for TargetedContentAvailabilityChangedEventArgs { } } impl ::windows::core::RuntimeType for TargetedContentAvailabilityChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentAvailabilityChangedEventArgs;{e0f59d26-5927-4450-965c-1ceb7becde65})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentAvailabilityChangedEventArgs;{e0f59d26-5927-4450-965c-1ceb7becde65})"); } impl ::core::clone::Clone for TargetedContentAvailabilityChangedEventArgs { fn clone(&self) -> Self { @@ -524,7 +524,7 @@ unsafe impl ::windows::core::Interface for TargetedContentAvailabilityChangedEve impl ::windows::core::RuntimeName for TargetedContentAvailabilityChangedEventArgs { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentAvailabilityChangedEventArgs"; } -::windows::core::interface_hierarchy!(TargetedContentAvailabilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentAvailabilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentAvailabilityChangedEventArgs {} unsafe impl ::core::marker::Sync for TargetedContentAvailabilityChangedEventArgs {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -560,7 +560,7 @@ impl ::core::fmt::Debug for TargetedContentChangedEventArgs { } } impl ::windows::core::RuntimeType for TargetedContentChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentChangedEventArgs;{99d488c9-587e-4586-8ef7-b54ca9453a16})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentChangedEventArgs;{99d488c9-587e-4586-8ef7-b54ca9453a16})"); } impl ::core::clone::Clone for TargetedContentChangedEventArgs { fn clone(&self) -> Self { @@ -576,7 +576,7 @@ unsafe impl ::windows::core::Interface for TargetedContentChangedEventArgs { impl ::windows::core::RuntimeName for TargetedContentChangedEventArgs { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentChangedEventArgs"; } -::windows::core::interface_hierarchy!(TargetedContentChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentChangedEventArgs {} unsafe impl ::core::marker::Sync for TargetedContentChangedEventArgs {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -645,7 +645,7 @@ impl ::core::fmt::Debug for TargetedContentCollection { } } impl ::windows::core::RuntimeType for TargetedContentCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentCollection;{2d4b66c5-f163-44ba-9f6e-e1a4c2bb559d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentCollection;{2d4b66c5-f163-44ba-9f6e-e1a4c2bb559d})"); } impl ::core::clone::Clone for TargetedContentCollection { fn clone(&self) -> Self { @@ -661,7 +661,7 @@ unsafe impl ::windows::core::Interface for TargetedContentCollection { impl ::windows::core::RuntimeName for TargetedContentCollection { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentCollection"; } -::windows::core::interface_hierarchy!(TargetedContentCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentCollection {} unsafe impl ::core::marker::Sync for TargetedContentCollection {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -715,7 +715,7 @@ impl TargetedContentContainer { } #[doc(hidden)] pub fn ITargetedContentContainerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -731,7 +731,7 @@ impl ::core::fmt::Debug for TargetedContentContainer { } } impl ::windows::core::RuntimeType for TargetedContentContainer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentContainer;{bc2494c9-8837-47c2-850f-d79d64595926})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentContainer;{bc2494c9-8837-47c2-850f-d79d64595926})"); } impl ::core::clone::Clone for TargetedContentContainer { fn clone(&self) -> Self { @@ -747,7 +747,7 @@ unsafe impl ::windows::core::Interface for TargetedContentContainer { impl ::windows::core::RuntimeName for TargetedContentContainer { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentContainer"; } -::windows::core::interface_hierarchy!(TargetedContentContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentContainer {} unsafe impl ::core::marker::Sync for TargetedContentContainer {} #[doc = "*Required features: `\"Services_TargetedContent\"`, `\"Storage_Streams\"`*"] @@ -782,7 +782,7 @@ impl ::core::fmt::Debug for TargetedContentFile { } #[cfg(feature = "Storage_Streams")] impl ::windows::core::RuntimeType for TargetedContentFile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentFile;{33ee3134-1dd6-4e3a-8067-d1c162e8642b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentFile;{33ee3134-1dd6-4e3a-8067-d1c162e8642b})"); } #[cfg(feature = "Storage_Streams")] impl ::core::clone::Clone for TargetedContentFile { @@ -803,7 +803,7 @@ impl ::windows::core::RuntimeName for TargetedContentFile { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentFile"; } #[cfg(feature = "Storage_Streams")] -::windows::core::interface_hierarchy!(TargetedContentFile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentFile, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Storage_Streams")] impl ::core::convert::TryFrom for super::super::Storage::Streams::IRandomAccessStreamReference { type Error = ::windows::core::Error; @@ -870,7 +870,7 @@ impl ::core::fmt::Debug for TargetedContentImage { } } impl ::windows::core::RuntimeType for TargetedContentImage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentImage;{a7a585d9-779f-4b1e-bbb1-8eaf53fbeab2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentImage;{a7a585d9-779f-4b1e-bbb1-8eaf53fbeab2})"); } impl ::core::clone::Clone for TargetedContentImage { fn clone(&self) -> Self { @@ -886,7 +886,7 @@ unsafe impl ::windows::core::Interface for TargetedContentImage { impl ::windows::core::RuntimeName for TargetedContentImage { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentImage"; } -::windows::core::interface_hierarchy!(TargetedContentImage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentImage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Storage_Streams")] impl ::core::convert::TryFrom for super::super::Storage::Streams::IRandomAccessStreamReference { type Error = ::windows::core::Error; @@ -968,7 +968,7 @@ impl ::core::fmt::Debug for TargetedContentItem { } } impl ::windows::core::RuntimeType for TargetedContentItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentItem;{38168dc4-276c-4c32-96ba-565c6e406e74})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentItem;{38168dc4-276c-4c32-96ba-565c6e406e74})"); } impl ::core::clone::Clone for TargetedContentItem { fn clone(&self) -> Self { @@ -984,7 +984,7 @@ unsafe impl ::windows::core::Interface for TargetedContentItem { impl ::windows::core::RuntimeName for TargetedContentItem { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentItem"; } -::windows::core::interface_hierarchy!(TargetedContentItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentItem {} unsafe impl ::core::marker::Sync for TargetedContentItem {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -1018,7 +1018,7 @@ impl ::core::fmt::Debug for TargetedContentItemState { } } impl ::windows::core::RuntimeType for TargetedContentItemState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentItemState;{73935454-4c65-4b47-a441-472de53c79b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentItemState;{73935454-4c65-4b47-a441-472de53c79b6})"); } impl ::core::clone::Clone for TargetedContentItemState { fn clone(&self) -> Self { @@ -1034,7 +1034,7 @@ unsafe impl ::windows::core::Interface for TargetedContentItemState { impl ::windows::core::RuntimeName for TargetedContentItemState { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentItemState"; } -::windows::core::interface_hierarchy!(TargetedContentItemState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentItemState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentItemState {} unsafe impl ::core::marker::Sync for TargetedContentItemState {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -1082,7 +1082,7 @@ impl ::core::fmt::Debug for TargetedContentObject { } } impl ::windows::core::RuntimeType for TargetedContentObject { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentObject;{041d7969-2212-42d1-9dfa-88a8e3033aa3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentObject;{041d7969-2212-42d1-9dfa-88a8e3033aa3})"); } impl ::core::clone::Clone for TargetedContentObject { fn clone(&self) -> Self { @@ -1098,7 +1098,7 @@ unsafe impl ::windows::core::Interface for TargetedContentObject { impl ::windows::core::RuntimeName for TargetedContentObject { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentObject"; } -::windows::core::interface_hierarchy!(TargetedContentObject, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentObject, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentObject {} unsafe impl ::core::marker::Sync for TargetedContentObject {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -1127,7 +1127,7 @@ impl ::core::fmt::Debug for TargetedContentStateChangedEventArgs { } } impl ::windows::core::RuntimeType for TargetedContentStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentStateChangedEventArgs;{9a1cef3d-8073-4416-8df2-546835a6414f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentStateChangedEventArgs;{9a1cef3d-8073-4416-8df2-546835a6414f})"); } impl ::core::clone::Clone for TargetedContentStateChangedEventArgs { fn clone(&self) -> Self { @@ -1143,7 +1143,7 @@ unsafe impl ::windows::core::Interface for TargetedContentStateChangedEventArgs impl ::windows::core::RuntimeName for TargetedContentStateChangedEventArgs { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(TargetedContentStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentStateChangedEventArgs {} unsafe impl ::core::marker::Sync for TargetedContentStateChangedEventArgs {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -1227,7 +1227,7 @@ impl TargetedContentSubscription { } #[doc(hidden)] pub fn ITargetedContentSubscriptionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1243,7 +1243,7 @@ impl ::core::fmt::Debug for TargetedContentSubscription { } } impl ::windows::core::RuntimeType for TargetedContentSubscription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentSubscription;{882c2c49-c652-4c7a-acad-1f7fa2986c73})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentSubscription;{882c2c49-c652-4c7a-acad-1f7fa2986c73})"); } impl ::core::clone::Clone for TargetedContentSubscription { fn clone(&self) -> Self { @@ -1259,7 +1259,7 @@ unsafe impl ::windows::core::Interface for TargetedContentSubscription { impl ::windows::core::RuntimeName for TargetedContentSubscription { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentSubscription"; } -::windows::core::interface_hierarchy!(TargetedContentSubscription, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentSubscription, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentSubscription {} unsafe impl ::core::marker::Sync for TargetedContentSubscription {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -1319,7 +1319,7 @@ impl ::core::fmt::Debug for TargetedContentSubscriptionOptions { } } impl ::windows::core::RuntimeType for TargetedContentSubscriptionOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentSubscriptionOptions;{61ee6ad0-2c83-421b-8467-413eaf1aeb97})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentSubscriptionOptions;{61ee6ad0-2c83-421b-8467-413eaf1aeb97})"); } impl ::core::clone::Clone for TargetedContentSubscriptionOptions { fn clone(&self) -> Self { @@ -1335,7 +1335,7 @@ unsafe impl ::windows::core::Interface for TargetedContentSubscriptionOptions { impl ::windows::core::RuntimeName for TargetedContentSubscriptionOptions { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentSubscriptionOptions"; } -::windows::core::interface_hierarchy!(TargetedContentSubscriptionOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentSubscriptionOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentSubscriptionOptions {} unsafe impl ::core::marker::Sync for TargetedContentSubscriptionOptions {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -1485,7 +1485,7 @@ impl ::core::fmt::Debug for TargetedContentValue { } } impl ::windows::core::RuntimeType for TargetedContentValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentValue;{aafde4b3-4215-4bf8-867f-43f04865f9bf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentValue;{aafde4b3-4215-4bf8-867f-43f04865f9bf})"); } impl ::core::clone::Clone for TargetedContentValue { fn clone(&self) -> Self { @@ -1501,7 +1501,7 @@ unsafe impl ::windows::core::Interface for TargetedContentValue { impl ::windows::core::RuntimeName for TargetedContentValue { const NAME: &'static str = "Windows.Services.TargetedContent.TargetedContentValue"; } -::windows::core::interface_hierarchy!(TargetedContentValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetedContentValue, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TargetedContentValue {} unsafe impl ::core::marker::Sync for TargetedContentValue {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] @@ -1533,7 +1533,7 @@ impl ::core::fmt::Debug for TargetedContentAppInstallationState { } } impl ::windows::core::RuntimeType for TargetedContentAppInstallationState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentAppInstallationState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentAppInstallationState;i4)"); } #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] @@ -1564,7 +1564,7 @@ impl ::core::fmt::Debug for TargetedContentAvailability { } } impl ::windows::core::RuntimeType for TargetedContentAvailability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentAvailability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentAvailability;i4)"); } #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] @@ -1605,7 +1605,7 @@ impl ::core::fmt::Debug for TargetedContentInteraction { } } impl ::windows::core::RuntimeType for TargetedContentInteraction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentInteraction;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentInteraction;i4)"); } #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] @@ -1636,7 +1636,7 @@ impl ::core::fmt::Debug for TargetedContentObjectKind { } } impl ::windows::core::RuntimeType for TargetedContentObjectKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentObjectKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentObjectKind;i4)"); } #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] @@ -1678,7 +1678,7 @@ impl ::core::fmt::Debug for TargetedContentValueKind { } } impl ::windows::core::RuntimeType for TargetedContentValueKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentValueKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Services.TargetedContent.TargetedContentValueKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs index 85c433b126..8e88fe1a07 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs @@ -205,7 +205,7 @@ impl IStorageItemAccessList { } } } -::windows::core::interface_hierarchy!(IStorageItemAccessList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageItemAccessList, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageItemAccessList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -218,7 +218,7 @@ impl ::core::fmt::Debug for IStorageItemAccessList { } } impl ::windows::core::RuntimeType for IStorageItemAccessList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2caff6ad-de90-47f5-b2c3-dd36c9fdd453}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2caff6ad-de90-47f5-b2c3-dd36c9fdd453}"); } unsafe impl ::windows::core::Vtable for IStorageItemAccessList { type Vtable = IStorageItemAccessList_Vtbl; @@ -392,7 +392,7 @@ impl ::core::fmt::Debug for AccessListEntryView { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for AccessListEntryView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.AccessListEntryView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};struct(Windows.Storage.AccessCache.AccessListEntry;string;string)))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.AccessListEntryView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};struct(Windows.Storage.AccessCache.AccessListEntry;string;string)))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for AccessListEntryView { @@ -429,7 +429,7 @@ impl ::core::iter::IntoIterator for &AccessListEntryView { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(AccessListEntryView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccessListEntryView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -498,7 +498,7 @@ impl ::core::fmt::Debug for ItemRemovedEventArgs { } } impl ::windows::core::RuntimeType for ItemRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.ItemRemovedEventArgs;{59677e5c-55be-4c66-ba66-5eaea79d2631})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.ItemRemovedEventArgs;{59677e5c-55be-4c66-ba66-5eaea79d2631})"); } impl ::core::clone::Clone for ItemRemovedEventArgs { fn clone(&self) -> Self { @@ -514,7 +514,7 @@ unsafe impl ::windows::core::Interface for ItemRemovedEventArgs { impl ::windows::core::RuntimeName for ItemRemovedEventArgs { const NAME: &'static str = "Windows.Storage.AccessCache.ItemRemovedEventArgs"; } -::windows::core::interface_hierarchy!(ItemRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ItemRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_AccessCache\"`*"] pub struct StorageApplicationPermissions; impl StorageApplicationPermissions { @@ -548,12 +548,12 @@ impl StorageApplicationPermissions { } #[doc(hidden)] pub fn IStorageApplicationPermissionsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStorageApplicationPermissionsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -711,7 +711,7 @@ impl ::core::fmt::Debug for StorageItemAccessList { } } impl ::windows::core::RuntimeType for StorageItemAccessList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.StorageItemAccessList;{2caff6ad-de90-47f5-b2c3-dd36c9fdd453})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.StorageItemAccessList;{2caff6ad-de90-47f5-b2c3-dd36c9fdd453})"); } impl ::core::clone::Clone for StorageItemAccessList { fn clone(&self) -> Self { @@ -727,7 +727,7 @@ unsafe impl ::windows::core::Interface for StorageItemAccessList { impl ::windows::core::RuntimeName for StorageItemAccessList { const NAME: &'static str = "Windows.Storage.AccessCache.StorageItemAccessList"; } -::windows::core::interface_hierarchy!(StorageItemAccessList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageItemAccessList, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemAccessList { type Error = ::windows::core::Error; fn try_from(value: StorageItemAccessList) -> ::windows::core::Result { @@ -932,7 +932,7 @@ impl ::core::fmt::Debug for StorageItemMostRecentlyUsedList { } } impl ::windows::core::RuntimeType for StorageItemMostRecentlyUsedList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList;{016239d5-510d-411e-8cf1-c3d1effa4c33})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList;{016239d5-510d-411e-8cf1-c3d1effa4c33})"); } impl ::core::clone::Clone for StorageItemMostRecentlyUsedList { fn clone(&self) -> Self { @@ -948,7 +948,7 @@ unsafe impl ::windows::core::Interface for StorageItemMostRecentlyUsedList { impl ::windows::core::RuntimeName for StorageItemMostRecentlyUsedList { const NAME: &'static str = "Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList"; } -::windows::core::interface_hierarchy!(StorageItemMostRecentlyUsedList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageItemMostRecentlyUsedList, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemAccessList { type Error = ::windows::core::Error; fn try_from(value: StorageItemMostRecentlyUsedList) -> ::windows::core::Result { @@ -1032,7 +1032,7 @@ impl ::core::ops::Not for AccessCacheOptions { } } impl ::windows::core::RuntimeType for AccessCacheOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.AccessCache.AccessCacheOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.AccessCache.AccessCacheOptions;u4)"); } #[doc = "*Required features: `\"Storage_AccessCache\"`*"] #[repr(transparent)] @@ -1062,7 +1062,7 @@ impl ::core::fmt::Debug for RecentStorageItemVisibility { } } impl ::windows::core::RuntimeType for RecentStorageItemVisibility { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.AccessCache.RecentStorageItemVisibility;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.AccessCache.RecentStorageItemVisibility;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Storage_AccessCache\"`*"] @@ -1084,7 +1084,7 @@ impl ::windows::core::TypeKind for AccessListEntry { type TypeKind = ::windows::core::ValueType; } impl ::windows::core::RuntimeType for AccessListEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Storage.AccessCache.AccessListEntry;string;string)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Storage.AccessCache.AccessListEntry;string;string)"); } impl ::core::cmp::PartialEq for AccessListEntry { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index bd07932cfb..40623c2f19 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -168,7 +168,7 @@ impl IStorageItemInformation { unsafe { (::windows::core::Vtable::vtable(this).RemovePropertiesUpdated)(::windows::core::Vtable::as_raw(this), eventcookie).ok() } } } -::windows::core::interface_hierarchy!(IStorageItemInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageItemInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageItemInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -181,7 +181,7 @@ impl ::core::fmt::Debug for IStorageItemInformation { } } impl ::windows::core::RuntimeType for IStorageItemInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{87a5cb8b-8972-4f40-8de0-d86fb179d8fa}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{87a5cb8b-8972-4f40-8de0-d86fb179d8fa}"); } unsafe impl ::windows::core::Vtable for IStorageItemInformation { type Vtable = IStorageItemInformation_Vtbl; @@ -685,7 +685,7 @@ impl ::core::fmt::Debug for FileInformation { } } impl ::windows::core::RuntimeType for FileInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FileInformation;{87a5cb8b-8972-4f40-8de0-d86fb179d8fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FileInformation;{87a5cb8b-8972-4f40-8de0-d86fb179d8fa})"); } impl ::core::clone::Clone for FileInformation { fn clone(&self) -> Self { @@ -701,7 +701,7 @@ unsafe impl ::windows::core::Interface for FileInformation { impl ::windows::core::RuntimeName for FileInformation { const NAME: &'static str = "Windows.Storage.BulkAccess.FileInformation"; } -::windows::core::interface_hierarchy!(FileInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Storage_Streams")] impl ::core::convert::TryFrom for super::Streams::IInputStreamReference { type Error = ::windows::core::Error; @@ -1027,7 +1027,7 @@ impl FileInformationFactory { } #[doc(hidden)] pub fn IFileInformationFactoryFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1043,7 +1043,7 @@ impl ::core::fmt::Debug for FileInformationFactory { } } impl ::windows::core::RuntimeType for FileInformationFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FileInformationFactory;{401d88be-960f-4d6d-a7d0-1a3861e76c83})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FileInformationFactory;{401d88be-960f-4d6d-a7d0-1a3861e76c83})"); } impl ::core::clone::Clone for FileInformationFactory { fn clone(&self) -> Self { @@ -1059,7 +1059,7 @@ unsafe impl ::windows::core::Interface for FileInformationFactory { impl ::windows::core::RuntimeName for FileInformationFactory { const NAME: &'static str = "Windows.Storage.BulkAccess.FileInformationFactory"; } -::windows::core::interface_hierarchy!(FileInformationFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileInformationFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FileInformationFactory {} unsafe impl ::core::marker::Sync for FileInformationFactory {} #[doc = "*Required features: `\"Storage_BulkAccess\"`*"] @@ -1581,7 +1581,7 @@ impl ::core::fmt::Debug for FolderInformation { } } impl ::windows::core::RuntimeType for FolderInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FolderInformation;{87a5cb8b-8972-4f40-8de0-d86fb179d8fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FolderInformation;{87a5cb8b-8972-4f40-8de0-d86fb179d8fa})"); } impl ::core::clone::Clone for FolderInformation { fn clone(&self) -> Self { @@ -1597,7 +1597,7 @@ unsafe impl ::windows::core::Interface for FolderInformation { impl ::windows::core::RuntimeName for FolderInformation { const NAME: &'static str = "Windows.Storage.BulkAccess.FolderInformation"; } -::windows::core::interface_hierarchy!(FolderInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FolderInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IStorageFolder { type Error = ::windows::core::Error; fn try_from(value: FolderInformation) -> ::windows::core::Result { diff --git a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs index e0cca63bb7..f70c5a7703 100644 --- a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs @@ -174,7 +174,7 @@ impl Compressor { } #[doc(hidden)] pub fn ICompressorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -190,7 +190,7 @@ impl ::core::fmt::Debug for Compressor { } } impl ::windows::core::RuntimeType for Compressor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Compression.Compressor;{0ac3645a-57ac-4ee1-b702-84d39d5424e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Compression.Compressor;{0ac3645a-57ac-4ee1-b702-84d39d5424e0})"); } impl ::core::clone::Clone for Compressor { fn clone(&self) -> Self { @@ -206,7 +206,7 @@ unsafe impl ::windows::core::Interface for Compressor { impl ::windows::core::RuntimeName for Compressor { const NAME: &'static str = "Windows.Storage.Compression.Compressor"; } -::windows::core::interface_hierarchy!(Compressor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Compressor, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -299,7 +299,7 @@ impl Decompressor { } #[doc(hidden)] pub fn IDecompressorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -315,7 +315,7 @@ impl ::core::fmt::Debug for Decompressor { } } impl ::windows::core::RuntimeType for Decompressor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Compression.Decompressor;{b883fe46-d68a-4c8b-ada0-4ee813fc5283})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Compression.Decompressor;{b883fe46-d68a-4c8b-ada0-4ee813fc5283})"); } impl ::core::clone::Clone for Decompressor { fn clone(&self) -> Self { @@ -331,7 +331,7 @@ unsafe impl ::windows::core::Interface for Decompressor { impl ::windows::core::RuntimeName for Decompressor { const NAME: &'static str = "Windows.Storage.Compression.Decompressor"; } -::windows::core::interface_hierarchy!(Decompressor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Decompressor, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -410,7 +410,7 @@ impl ::core::fmt::Debug for CompressAlgorithm { } } impl ::windows::core::RuntimeType for CompressAlgorithm { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Compression.CompressAlgorithm;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Compression.CompressAlgorithm;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index 60ededc4d4..3fe7dff468 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -279,7 +279,7 @@ impl IStorageItemExtraProperties { } } } -::windows::core::interface_hierarchy!(IStorageItemExtraProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageItemExtraProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageItemExtraProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -292,7 +292,7 @@ impl ::core::fmt::Debug for IStorageItemExtraProperties { } } impl ::windows::core::RuntimeType for IStorageItemExtraProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c54361b2-54cd-432b-bdbc-4b19c4b470d7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c54361b2-54cd-432b-bdbc-4b19c4b470d7}"); } unsafe impl ::windows::core::Vtable for IStorageItemExtraProperties { type Vtable = IStorageItemExtraProperties_Vtbl; @@ -483,7 +483,7 @@ impl ::core::fmt::Debug for BasicProperties { } } impl ::windows::core::RuntimeType for BasicProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.BasicProperties;{d05d55db-785e-4a66-be02-9beec58aea81})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.BasicProperties;{d05d55db-785e-4a66-be02-9beec58aea81})"); } impl ::core::clone::Clone for BasicProperties { fn clone(&self) -> Self { @@ -499,7 +499,7 @@ unsafe impl ::windows::core::Interface for BasicProperties { impl ::windows::core::RuntimeName for BasicProperties { const NAME: &'static str = "Windows.Storage.FileProperties.BasicProperties"; } -::windows::core::interface_hierarchy!(BasicProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BasicProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemExtraProperties { type Error = ::windows::core::Error; fn try_from(value: BasicProperties) -> ::windows::core::Result { @@ -611,7 +611,7 @@ impl ::core::fmt::Debug for DocumentProperties { } } impl ::windows::core::RuntimeType for DocumentProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.DocumentProperties;{7eab19bc-1821-4923-b4a9-0aea404d0070})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.DocumentProperties;{7eab19bc-1821-4923-b4a9-0aea404d0070})"); } impl ::core::clone::Clone for DocumentProperties { fn clone(&self) -> Self { @@ -627,7 +627,7 @@ unsafe impl ::windows::core::Interface for DocumentProperties { impl ::windows::core::RuntimeName for DocumentProperties { const NAME: &'static str = "Windows.Storage.FileProperties.DocumentProperties"; } -::windows::core::interface_hierarchy!(DocumentProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DocumentProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemExtraProperties { type Error = ::windows::core::Error; fn try_from(value: DocumentProperties) -> ::windows::core::Result { @@ -688,7 +688,7 @@ impl GeotagHelper { } #[doc(hidden)] pub fn IGeotagHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -863,7 +863,7 @@ impl ::core::fmt::Debug for ImageProperties { } } impl ::windows::core::RuntimeType for ImageProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.ImageProperties;{523c9424-fcff-4275-afee-ecdb9ab47973})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.ImageProperties;{523c9424-fcff-4275-afee-ecdb9ab47973})"); } impl ::core::clone::Clone for ImageProperties { fn clone(&self) -> Self { @@ -879,7 +879,7 @@ unsafe impl ::windows::core::Interface for ImageProperties { impl ::windows::core::RuntimeName for ImageProperties { const NAME: &'static str = "Windows.Storage.FileProperties.ImageProperties"; } -::windows::core::interface_hierarchy!(ImageProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImageProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemExtraProperties { type Error = ::windows::core::Error; fn try_from(value: ImageProperties) -> ::windows::core::Result { @@ -1111,7 +1111,7 @@ impl ::core::fmt::Debug for MusicProperties { } } impl ::windows::core::RuntimeType for MusicProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.MusicProperties;{bc8aab62-66ec-419a-bc5d-ca65a4cb46da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.MusicProperties;{bc8aab62-66ec-419a-bc5d-ca65a4cb46da})"); } impl ::core::clone::Clone for MusicProperties { fn clone(&self) -> Self { @@ -1127,7 +1127,7 @@ unsafe impl ::windows::core::Interface for MusicProperties { impl ::windows::core::RuntimeName for MusicProperties { const NAME: &'static str = "Windows.Storage.FileProperties.MusicProperties"; } -::windows::core::interface_hierarchy!(MusicProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MusicProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemExtraProperties { type Error = ::windows::core::Error; fn try_from(value: MusicProperties) -> ::windows::core::Result { @@ -1235,7 +1235,7 @@ impl ::core::fmt::Debug for StorageItemContentProperties { } } impl ::windows::core::RuntimeType for StorageItemContentProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.StorageItemContentProperties;{05294bad-bc38-48bf-85d7-770e0e2ae0ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.StorageItemContentProperties;{05294bad-bc38-48bf-85d7-770e0e2ae0ba})"); } impl ::core::clone::Clone for StorageItemContentProperties { fn clone(&self) -> Self { @@ -1251,7 +1251,7 @@ unsafe impl ::windows::core::Interface for StorageItemContentProperties { impl ::windows::core::RuntimeName for StorageItemContentProperties { const NAME: &'static str = "Windows.Storage.FileProperties.StorageItemContentProperties"; } -::windows::core::interface_hierarchy!(StorageItemContentProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageItemContentProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemExtraProperties { type Error = ::windows::core::Error; fn try_from(value: StorageItemContentProperties) -> ::windows::core::Result { @@ -1447,7 +1447,7 @@ impl ::core::fmt::Debug for StorageItemThumbnail { } #[cfg(feature = "Storage_Streams")] impl ::windows::core::RuntimeType for StorageItemThumbnail { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.StorageItemThumbnail;{cc254827-4b3d-438f-9232-10c76bc7e038})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.StorageItemThumbnail;{cc254827-4b3d-438f-9232-10c76bc7e038})"); } #[cfg(feature = "Storage_Streams")] impl ::core::clone::Clone for StorageItemThumbnail { @@ -1468,7 +1468,7 @@ impl ::windows::core::RuntimeName for StorageItemThumbnail { const NAME: &'static str = "Windows.Storage.FileProperties.StorageItemThumbnail"; } #[cfg(feature = "Storage_Streams")] -::windows::core::interface_hierarchy!(StorageItemThumbnail, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageItemThumbnail, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1799,7 +1799,7 @@ impl ::core::fmt::Debug for VideoProperties { } } impl ::windows::core::RuntimeType for VideoProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.VideoProperties;{719ae507-68de-4db8-97de-49998c059f2f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.VideoProperties;{719ae507-68de-4db8-97de-49998c059f2f})"); } impl ::core::clone::Clone for VideoProperties { fn clone(&self) -> Self { @@ -1815,7 +1815,7 @@ unsafe impl ::windows::core::Interface for VideoProperties { impl ::windows::core::RuntimeName for VideoProperties { const NAME: &'static str = "Windows.Storage.FileProperties.VideoProperties"; } -::windows::core::interface_hierarchy!(VideoProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VideoProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemExtraProperties { type Error = ::windows::core::Error; fn try_from(value: VideoProperties) -> ::windows::core::Result { @@ -1870,7 +1870,7 @@ impl ::core::fmt::Debug for PhotoOrientation { } } impl ::windows::core::RuntimeType for PhotoOrientation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.PhotoOrientation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.PhotoOrientation;i4)"); } #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] @@ -1937,7 +1937,7 @@ impl ::core::ops::Not for PropertyPrefetchOptions { } } impl ::windows::core::RuntimeType for PropertyPrefetchOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.PropertyPrefetchOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.PropertyPrefetchOptions;u4)"); } #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] @@ -1971,7 +1971,7 @@ impl ::core::fmt::Debug for ThumbnailMode { } } impl ::windows::core::RuntimeType for ThumbnailMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.ThumbnailMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.ThumbnailMode;i4)"); } #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] @@ -2036,7 +2036,7 @@ impl ::core::ops::Not for ThumbnailOptions { } } impl ::windows::core::RuntimeType for ThumbnailOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.ThumbnailOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.ThumbnailOptions;u4)"); } #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] @@ -2066,7 +2066,7 @@ impl ::core::fmt::Debug for ThumbnailType { } } impl ::windows::core::RuntimeType for ThumbnailType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.ThumbnailType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.ThumbnailType;i4)"); } #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] @@ -2098,7 +2098,7 @@ impl ::core::fmt::Debug for VideoOrientation { } } impl ::windows::core::RuntimeType for VideoOrientation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.VideoOrientation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.FileProperties.VideoOrientation;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs index a6270dc172..8b0d220853 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs @@ -358,7 +358,7 @@ impl ::core::fmt::Debug for FileOpenPickerUI { } } impl ::windows::core::RuntimeType for FileOpenPickerUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileOpenPickerUI;{dda45a10-f9d4-40c4-8af5-c5b6b5a61d1d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileOpenPickerUI;{dda45a10-f9d4-40c4-8af5-c5b6b5a61d1d})"); } impl ::core::clone::Clone for FileOpenPickerUI { fn clone(&self) -> Self { @@ -374,7 +374,7 @@ unsafe impl ::windows::core::Interface for FileOpenPickerUI { impl ::windows::core::RuntimeName for FileOpenPickerUI { const NAME: &'static str = "Windows.Storage.Pickers.Provider.FileOpenPickerUI"; } -::windows::core::interface_hierarchy!(FileOpenPickerUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileOpenPickerUI, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -407,7 +407,7 @@ impl ::core::fmt::Debug for FileRemovedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for FileRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileRemovedEventArgs;{13043da7-7fca-4c2b-9eca-6890f9f00185})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileRemovedEventArgs;{13043da7-7fca-4c2b-9eca-6890f9f00185})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for FileRemovedEventArgs { @@ -428,7 +428,7 @@ impl ::windows::core::RuntimeName for FileRemovedEventArgs { const NAME: &'static str = "Windows.Storage.Pickers.Provider.FileRemovedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(FileRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] pub struct FileSavePickerUI(::windows::core::IUnknown); @@ -517,7 +517,7 @@ impl ::core::fmt::Debug for FileSavePickerUI { } } impl ::windows::core::RuntimeType for FileSavePickerUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileSavePickerUI;{9656c1e7-3e56-43cc-8a39-33c73d9d542b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileSavePickerUI;{9656c1e7-3e56-43cc-8a39-33c73d9d542b})"); } impl ::core::clone::Clone for FileSavePickerUI { fn clone(&self) -> Self { @@ -533,7 +533,7 @@ unsafe impl ::windows::core::Interface for FileSavePickerUI { impl ::windows::core::RuntimeName for FileSavePickerUI { const NAME: &'static str = "Windows.Storage.Pickers.Provider.FileSavePickerUI"; } -::windows::core::interface_hierarchy!(FileSavePickerUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileSavePickerUI, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] pub struct PickerClosingDeferral(::windows::core::IUnknown); @@ -555,7 +555,7 @@ impl ::core::fmt::Debug for PickerClosingDeferral { } } impl ::windows::core::RuntimeType for PickerClosingDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingDeferral;{7af7f71e-1a67-4a31-ae80-e907708a619b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingDeferral;{7af7f71e-1a67-4a31-ae80-e907708a619b})"); } impl ::core::clone::Clone for PickerClosingDeferral { fn clone(&self) -> Self { @@ -571,7 +571,7 @@ unsafe impl ::windows::core::Interface for PickerClosingDeferral { impl ::windows::core::RuntimeName for PickerClosingDeferral { const NAME: &'static str = "Windows.Storage.Pickers.Provider.PickerClosingDeferral"; } -::windows::core::interface_hierarchy!(PickerClosingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PickerClosingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] pub struct PickerClosingEventArgs(::windows::core::IUnknown); @@ -603,7 +603,7 @@ impl ::core::fmt::Debug for PickerClosingEventArgs { } } impl ::windows::core::RuntimeType for PickerClosingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingEventArgs;{7e59f224-b332-4f12-8b9f-a8c2f06b32cd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingEventArgs;{7e59f224-b332-4f12-8b9f-a8c2f06b32cd})"); } impl ::core::clone::Clone for PickerClosingEventArgs { fn clone(&self) -> Self { @@ -619,7 +619,7 @@ unsafe impl ::windows::core::Interface for PickerClosingEventArgs { impl ::windows::core::RuntimeName for PickerClosingEventArgs { const NAME: &'static str = "Windows.Storage.Pickers.Provider.PickerClosingEventArgs"; } -::windows::core::interface_hierarchy!(PickerClosingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PickerClosingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] pub struct PickerClosingOperation(::windows::core::IUnknown); @@ -653,7 +653,7 @@ impl ::core::fmt::Debug for PickerClosingOperation { } } impl ::windows::core::RuntimeType for PickerClosingOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingOperation;{4ce9fb84-beee-4e39-a773-fc5f0eae328d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingOperation;{4ce9fb84-beee-4e39-a773-fc5f0eae328d})"); } impl ::core::clone::Clone for PickerClosingOperation { fn clone(&self) -> Self { @@ -669,7 +669,7 @@ unsafe impl ::windows::core::Interface for PickerClosingOperation { impl ::windows::core::RuntimeName for PickerClosingOperation { const NAME: &'static str = "Windows.Storage.Pickers.Provider.PickerClosingOperation"; } -::windows::core::interface_hierarchy!(PickerClosingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PickerClosingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] pub struct TargetFileRequest(::windows::core::IUnknown); @@ -709,7 +709,7 @@ impl ::core::fmt::Debug for TargetFileRequest { } } impl ::windows::core::RuntimeType for TargetFileRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequest;{42bd3355-7f88-478b-8e81-690b20340678})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequest;{42bd3355-7f88-478b-8e81-690b20340678})"); } impl ::core::clone::Clone for TargetFileRequest { fn clone(&self) -> Self { @@ -725,7 +725,7 @@ unsafe impl ::windows::core::Interface for TargetFileRequest { impl ::windows::core::RuntimeName for TargetFileRequest { const NAME: &'static str = "Windows.Storage.Pickers.Provider.TargetFileRequest"; } -::windows::core::interface_hierarchy!(TargetFileRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetFileRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] pub struct TargetFileRequestDeferral(::windows::core::IUnknown); @@ -747,7 +747,7 @@ impl ::core::fmt::Debug for TargetFileRequestDeferral { } } impl ::windows::core::RuntimeType for TargetFileRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequestDeferral;{4aee9d91-bf15-4da9-95f6-f6b7d558225b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequestDeferral;{4aee9d91-bf15-4da9-95f6-f6b7d558225b})"); } impl ::core::clone::Clone for TargetFileRequestDeferral { fn clone(&self) -> Self { @@ -763,7 +763,7 @@ unsafe impl ::windows::core::Interface for TargetFileRequestDeferral { impl ::windows::core::RuntimeName for TargetFileRequestDeferral { const NAME: &'static str = "Windows.Storage.Pickers.Provider.TargetFileRequestDeferral"; } -::windows::core::interface_hierarchy!(TargetFileRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetFileRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] pub struct TargetFileRequestedEventArgs(::windows::core::IUnknown); @@ -788,7 +788,7 @@ impl ::core::fmt::Debug for TargetFileRequestedEventArgs { } } impl ::windows::core::RuntimeType for TargetFileRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequestedEventArgs;{b163dbc1-1b51-4c89-a591-0fd40b3c57c9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequestedEventArgs;{b163dbc1-1b51-4c89-a591-0fd40b3c57c9})"); } impl ::core::clone::Clone for TargetFileRequestedEventArgs { fn clone(&self) -> Self { @@ -804,7 +804,7 @@ unsafe impl ::windows::core::Interface for TargetFileRequestedEventArgs { impl ::windows::core::RuntimeName for TargetFileRequestedEventArgs { const NAME: &'static str = "Windows.Storage.Pickers.Provider.TargetFileRequestedEventArgs"; } -::windows::core::interface_hierarchy!(TargetFileRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TargetFileRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -835,7 +835,7 @@ impl ::core::fmt::Debug for AddFileResult { } } impl ::windows::core::RuntimeType for AddFileResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.Provider.AddFileResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.Provider.AddFileResult;i4)"); } #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] @@ -865,7 +865,7 @@ impl ::core::fmt::Debug for FileSelectionMode { } } impl ::windows::core::RuntimeType for FileSelectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.Provider.FileSelectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.Provider.FileSelectionMode;i4)"); } #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] @@ -896,7 +896,7 @@ impl ::core::fmt::Debug for SetFileNameResult { } } impl ::windows::core::RuntimeType for SetFileNameResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.Provider.SetFileNameResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.Provider.SetFileNameResult;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index f00db06f58..de3d3c8292 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -522,7 +522,7 @@ impl ::core::fmt::Debug for FileExtensionVector { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for FileExtensionVector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileExtensionVector;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};string))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileExtensionVector;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};string))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for FileExtensionVector { @@ -559,7 +559,7 @@ impl ::core::iter::IntoIterator for &FileExtensionVector { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(FileExtensionVector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileExtensionVector, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable<::windows::core::HSTRING> { type Error = ::windows::core::Error; @@ -615,8 +615,8 @@ impl FileOpenPicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ViewMode(&self) -> ::windows::core::Result { @@ -747,12 +747,12 @@ impl FileOpenPicker { } #[doc(hidden)] pub fn IFileOpenPickerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IFileOpenPickerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -768,7 +768,7 @@ impl ::core::fmt::Debug for FileOpenPicker { } } impl ::windows::core::RuntimeType for FileOpenPicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileOpenPicker;{2ca8278a-12c5-4c5f-8977-94547793c241})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileOpenPicker;{2ca8278a-12c5-4c5f-8977-94547793c241})"); } impl ::core::clone::Clone for FileOpenPicker { fn clone(&self) -> Self { @@ -784,7 +784,7 @@ unsafe impl ::windows::core::Interface for FileOpenPicker { impl ::windows::core::RuntimeName for FileOpenPicker { const NAME: &'static str = "Windows.Storage.Pickers.FileOpenPicker"; } -::windows::core::interface_hierarchy!(FileOpenPicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileOpenPicker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FileOpenPicker {} unsafe impl ::core::marker::Sync for FileOpenPicker {} #[doc = "*Required features: `\"Storage_Pickers\"`, `\"Foundation_Collections\"`*"] @@ -880,7 +880,7 @@ impl ::core::fmt::Debug for FilePickerFileTypesOrderedMap { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for FilePickerFileTypesOrderedMap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FilePickerFileTypesOrderedMap;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};string)))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FilePickerFileTypesOrderedMap;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};string)))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for FilePickerFileTypesOrderedMap { @@ -917,7 +917,7 @@ impl ::core::iter::IntoIterator for &FilePickerFileTypesOrderedMap { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(FilePickerFileTypesOrderedMap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FilePickerFileTypesOrderedMap, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable>> { type Error = ::windows::core::Error; @@ -1034,7 +1034,7 @@ impl ::core::fmt::Debug for FilePickerSelectedFilesArray { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for FilePickerSelectedFilesArray { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FilePickerSelectedFilesArray;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FilePickerSelectedFilesArray;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for FilePickerSelectedFilesArray { @@ -1071,7 +1071,7 @@ impl ::core::iter::IntoIterator for &FilePickerSelectedFilesArray { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(FilePickerSelectedFilesArray, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FilePickerSelectedFilesArray, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -1127,8 +1127,8 @@ impl FileSavePicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SettingsIdentifier(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1260,7 +1260,7 @@ impl FileSavePicker { } #[doc(hidden)] pub fn IFileSavePickerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1276,7 +1276,7 @@ impl ::core::fmt::Debug for FileSavePicker { } } impl ::windows::core::RuntimeType for FileSavePicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileSavePicker;{3286ffcb-617f-4cc5-af6a-b3fdf29ad145})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileSavePicker;{3286ffcb-617f-4cc5-af6a-b3fdf29ad145})"); } impl ::core::clone::Clone for FileSavePicker { fn clone(&self) -> Self { @@ -1292,7 +1292,7 @@ unsafe impl ::windows::core::Interface for FileSavePicker { impl ::windows::core::RuntimeName for FileSavePicker { const NAME: &'static str = "Windows.Storage.Pickers.FileSavePicker"; } -::windows::core::interface_hierarchy!(FileSavePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileSavePicker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FileSavePicker {} unsafe impl ::core::marker::Sync for FileSavePicker {} #[doc = "*Required features: `\"Storage_Pickers\"`*"] @@ -1302,8 +1302,8 @@ impl FolderPicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ViewMode(&self) -> ::windows::core::Result { @@ -1402,7 +1402,7 @@ impl FolderPicker { } #[doc(hidden)] pub fn IFolderPickerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1418,7 +1418,7 @@ impl ::core::fmt::Debug for FolderPicker { } } impl ::windows::core::RuntimeType for FolderPicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FolderPicker;{084f7799-f3fb-400a-99b1-7b4a772fd60d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FolderPicker;{084f7799-f3fb-400a-99b1-7b4a772fd60d})"); } impl ::core::clone::Clone for FolderPicker { fn clone(&self) -> Self { @@ -1434,7 +1434,7 @@ unsafe impl ::windows::core::Interface for FolderPicker { impl ::windows::core::RuntimeName for FolderPicker { const NAME: &'static str = "Windows.Storage.Pickers.FolderPicker"; } -::windows::core::interface_hierarchy!(FolderPicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FolderPicker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FolderPicker {} unsafe impl ::core::marker::Sync for FolderPicker {} #[doc = "*Required features: `\"Storage_Pickers\"`*"] @@ -1473,7 +1473,7 @@ impl ::core::fmt::Debug for PickerLocationId { } } impl ::windows::core::RuntimeType for PickerLocationId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.PickerLocationId;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.PickerLocationId;i4)"); } #[doc = "*Required features: `\"Storage_Pickers\"`*"] #[repr(transparent)] @@ -1503,7 +1503,7 @@ impl ::core::fmt::Debug for PickerViewMode { } } impl ::windows::core::RuntimeType for PickerViewMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.PickerViewMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Pickers.PickerViewMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index 121ef5e4b0..9d681897f4 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -338,7 +338,7 @@ impl IStorageProviderItemPropertySource { } } } -::windows::core::interface_hierarchy!(IStorageProviderItemPropertySource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageProviderItemPropertySource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageProviderItemPropertySource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -351,7 +351,7 @@ impl ::core::fmt::Debug for IStorageProviderItemPropertySource { } } impl ::windows::core::RuntimeType for IStorageProviderItemPropertySource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8f6f9c3e-f632-4a9b-8d99-d2d7a11df56a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8f6f9c3e-f632-4a9b-8d99-d2d7a11df56a}"); } unsafe impl ::windows::core::Vtable for IStorageProviderItemPropertySource { type Vtable = IStorageProviderItemPropertySource_Vtbl; @@ -408,7 +408,7 @@ impl IStorageProviderPropertyCapabilities { } } } -::windows::core::interface_hierarchy!(IStorageProviderPropertyCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageProviderPropertyCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageProviderPropertyCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -421,7 +421,7 @@ impl ::core::fmt::Debug for IStorageProviderPropertyCapabilities { } } impl ::windows::core::RuntimeType for IStorageProviderPropertyCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{658d2f0e-63b7-4567-acf9-51abe301dda5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{658d2f0e-63b7-4567-acf9-51abe301dda5}"); } unsafe impl ::windows::core::Vtable for IStorageProviderPropertyCapabilities { type Vtable = IStorageProviderPropertyCapabilities_Vtbl; @@ -547,7 +547,7 @@ impl IStorageProviderStatusUISource { unsafe { (::windows::core::Vtable::vtable(this).RemoveStatusUIChanged)(::windows::core::Vtable::as_raw(this), token).ok() } } } -::windows::core::interface_hierarchy!(IStorageProviderStatusUISource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageProviderStatusUISource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageProviderStatusUISource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -560,7 +560,7 @@ impl ::core::fmt::Debug for IStorageProviderStatusUISource { } } impl ::windows::core::RuntimeType for IStorageProviderStatusUISource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a306c249-3d66-5e70-9007-e43df96051ff}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a306c249-3d66-5e70-9007-e43df96051ff}"); } unsafe impl ::windows::core::Vtable for IStorageProviderStatusUISource { type Vtable = IStorageProviderStatusUISource_Vtbl; @@ -599,7 +599,7 @@ impl IStorageProviderStatusUISourceFactory { } } } -::windows::core::interface_hierarchy!(IStorageProviderStatusUISourceFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageProviderStatusUISourceFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageProviderStatusUISourceFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -612,7 +612,7 @@ impl ::core::fmt::Debug for IStorageProviderStatusUISourceFactory { } } impl ::windows::core::RuntimeType for IStorageProviderStatusUISourceFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{12e46b74-4e5a-58d1-a62f-0376e8ee7dd8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{12e46b74-4e5a-58d1-a62f-0376e8ee7dd8}"); } unsafe impl ::windows::core::Vtable for IStorageProviderStatusUISourceFactory { type Vtable = IStorageProviderStatusUISourceFactory_Vtbl; @@ -826,7 +826,7 @@ impl IStorageProviderUICommand { unsafe { (::windows::core::Vtable::vtable(this).Invoke)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IStorageProviderUICommand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageProviderUICommand, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageProviderUICommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -839,7 +839,7 @@ impl ::core::fmt::Debug for IStorageProviderUICommand { } } impl ::windows::core::RuntimeType for IStorageProviderUICommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0c3e0760-d846-568f-9484-105cc57b502b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0c3e0760-d846-568f-9484-105cc57b502b}"); } unsafe impl ::windows::core::Vtable for IStorageProviderUICommand { type Vtable = IStorageProviderUICommand_Vtbl; @@ -878,7 +878,7 @@ impl IStorageProviderUriSource { unsafe { (::windows::core::Vtable::vtable(this).GetContentInfoForPath)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(path), ::core::mem::transmute_copy(result)).ok() } } } -::windows::core::interface_hierarchy!(IStorageProviderUriSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageProviderUriSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageProviderUriSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -891,7 +891,7 @@ impl ::core::fmt::Debug for IStorageProviderUriSource { } } impl ::windows::core::RuntimeType for IStorageProviderUriSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b29806d1-8be0-4962-8bb6-0d4c2e14d47a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b29806d1-8be0-4962-8bb6-0d4c2e14d47a}"); } unsafe impl ::windows::core::Vtable for IStorageProviderUriSource { type Vtable = IStorageProviderUriSource_Vtbl; @@ -923,7 +923,7 @@ impl CachedFileUpdater { } #[doc(hidden)] pub fn ICachedFileUpdaterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1016,7 +1016,7 @@ impl ::core::fmt::Debug for CachedFileUpdaterUI { } } impl ::windows::core::RuntimeType for CachedFileUpdaterUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.CachedFileUpdaterUI;{9e6f41e6-baf2-4a97-b600-9333f5df80fd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.CachedFileUpdaterUI;{9e6f41e6-baf2-4a97-b600-9333f5df80fd})"); } impl ::core::clone::Clone for CachedFileUpdaterUI { fn clone(&self) -> Self { @@ -1032,7 +1032,7 @@ unsafe impl ::windows::core::Interface for CachedFileUpdaterUI { impl ::windows::core::RuntimeName for CachedFileUpdaterUI { const NAME: &'static str = "Windows.Storage.Provider.CachedFileUpdaterUI"; } -::windows::core::interface_hierarchy!(CachedFileUpdaterUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CachedFileUpdaterUI, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] pub struct FileUpdateRequest(::windows::core::IUnknown); @@ -1101,7 +1101,7 @@ impl ::core::fmt::Debug for FileUpdateRequest { } } impl ::windows::core::RuntimeType for FileUpdateRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequest;{40c82536-c1fe-4d93-a792-1e736bc70837})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequest;{40c82536-c1fe-4d93-a792-1e736bc70837})"); } impl ::core::clone::Clone for FileUpdateRequest { fn clone(&self) -> Self { @@ -1117,7 +1117,7 @@ unsafe impl ::windows::core::Interface for FileUpdateRequest { impl ::windows::core::RuntimeName for FileUpdateRequest { const NAME: &'static str = "Windows.Storage.Provider.FileUpdateRequest"; } -::windows::core::interface_hierarchy!(FileUpdateRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileUpdateRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] pub struct FileUpdateRequestDeferral(::windows::core::IUnknown); @@ -1139,7 +1139,7 @@ impl ::core::fmt::Debug for FileUpdateRequestDeferral { } } impl ::windows::core::RuntimeType for FileUpdateRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequestDeferral;{ffcedb2b-8ade-44a5-bb00-164c4e72f13a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequestDeferral;{ffcedb2b-8ade-44a5-bb00-164c4e72f13a})"); } impl ::core::clone::Clone for FileUpdateRequestDeferral { fn clone(&self) -> Self { @@ -1155,7 +1155,7 @@ unsafe impl ::windows::core::Interface for FileUpdateRequestDeferral { impl ::windows::core::RuntimeName for FileUpdateRequestDeferral { const NAME: &'static str = "Windows.Storage.Provider.FileUpdateRequestDeferral"; } -::windows::core::interface_hierarchy!(FileUpdateRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileUpdateRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] pub struct FileUpdateRequestedEventArgs(::windows::core::IUnknown); @@ -1180,7 +1180,7 @@ impl ::core::fmt::Debug for FileUpdateRequestedEventArgs { } } impl ::windows::core::RuntimeType for FileUpdateRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequestedEventArgs;{7b0a9342-3905-438d-aaef-78ae265f8dd2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequestedEventArgs;{7b0a9342-3905-438d-aaef-78ae265f8dd2})"); } impl ::core::clone::Clone for FileUpdateRequestedEventArgs { fn clone(&self) -> Self { @@ -1196,7 +1196,7 @@ unsafe impl ::windows::core::Interface for FileUpdateRequestedEventArgs { impl ::windows::core::RuntimeName for FileUpdateRequestedEventArgs { const NAME: &'static str = "Windows.Storage.Provider.FileUpdateRequestedEventArgs"; } -::windows::core::interface_hierarchy!(FileUpdateRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileUpdateRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] pub struct StorageProviderFileTypeInfo(::windows::core::IUnknown); @@ -1223,7 +1223,7 @@ impl StorageProviderFileTypeInfo { } #[doc(hidden)] pub fn IStorageProviderFileTypeInfoFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1239,7 +1239,7 @@ impl ::core::fmt::Debug for StorageProviderFileTypeInfo { } } impl ::windows::core::RuntimeType for StorageProviderFileTypeInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderFileTypeInfo;{1955b9c1-0184-5a88-87df-4544f464365d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderFileTypeInfo;{1955b9c1-0184-5a88-87df-4544f464365d})"); } impl ::core::clone::Clone for StorageProviderFileTypeInfo { fn clone(&self) -> Self { @@ -1255,7 +1255,7 @@ unsafe impl ::windows::core::Interface for StorageProviderFileTypeInfo { impl ::windows::core::RuntimeName for StorageProviderFileTypeInfo { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderFileTypeInfo"; } -::windows::core::interface_hierarchy!(StorageProviderFileTypeInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderFileTypeInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderFileTypeInfo {} unsafe impl ::core::marker::Sync for StorageProviderFileTypeInfo {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -1265,8 +1265,8 @@ impl StorageProviderGetContentInfoForPathResult { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Status(&self) -> ::windows::core::Result { @@ -1315,7 +1315,7 @@ impl ::core::fmt::Debug for StorageProviderGetContentInfoForPathResult { } } impl ::windows::core::RuntimeType for StorageProviderGetContentInfoForPathResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderGetContentInfoForPathResult;{2564711d-aa89-4d12-82e3-f72a92e33966})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderGetContentInfoForPathResult;{2564711d-aa89-4d12-82e3-f72a92e33966})"); } impl ::core::clone::Clone for StorageProviderGetContentInfoForPathResult { fn clone(&self) -> Self { @@ -1331,7 +1331,7 @@ unsafe impl ::windows::core::Interface for StorageProviderGetContentInfoForPathR impl ::windows::core::RuntimeName for StorageProviderGetContentInfoForPathResult { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderGetContentInfoForPathResult"; } -::windows::core::interface_hierarchy!(StorageProviderGetContentInfoForPathResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderGetContentInfoForPathResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderGetContentInfoForPathResult {} unsafe impl ::core::marker::Sync for StorageProviderGetContentInfoForPathResult {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -1341,8 +1341,8 @@ impl StorageProviderGetPathForContentUriResult { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Status(&self) -> ::windows::core::Result { @@ -1380,7 +1380,7 @@ impl ::core::fmt::Debug for StorageProviderGetPathForContentUriResult { } } impl ::windows::core::RuntimeType for StorageProviderGetPathForContentUriResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderGetPathForContentUriResult;{63711a9d-4118-45a6-acb6-22c49d019f40})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderGetPathForContentUriResult;{63711a9d-4118-45a6-acb6-22c49d019f40})"); } impl ::core::clone::Clone for StorageProviderGetPathForContentUriResult { fn clone(&self) -> Self { @@ -1396,7 +1396,7 @@ unsafe impl ::windows::core::Interface for StorageProviderGetPathForContentUriRe impl ::windows::core::RuntimeName for StorageProviderGetPathForContentUriResult { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderGetPathForContentUriResult"; } -::windows::core::interface_hierarchy!(StorageProviderGetPathForContentUriResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderGetPathForContentUriResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderGetPathForContentUriResult {} unsafe impl ::core::marker::Sync for StorageProviderGetPathForContentUriResult {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -1418,7 +1418,7 @@ impl StorageProviderItemProperties { } #[doc(hidden)] pub fn IStorageProviderItemPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1432,8 +1432,8 @@ impl StorageProviderItemProperty { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetId(&self, value: i32) -> ::windows::core::Result<()> { @@ -1482,7 +1482,7 @@ impl ::core::fmt::Debug for StorageProviderItemProperty { } } impl ::windows::core::RuntimeType for StorageProviderItemProperty { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderItemProperty;{476cb558-730b-4188-b7b5-63b716ed476d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderItemProperty;{476cb558-730b-4188-b7b5-63b716ed476d})"); } impl ::core::clone::Clone for StorageProviderItemProperty { fn clone(&self) -> Self { @@ -1498,7 +1498,7 @@ unsafe impl ::windows::core::Interface for StorageProviderItemProperty { impl ::windows::core::RuntimeName for StorageProviderItemProperty { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderItemProperty"; } -::windows::core::interface_hierarchy!(StorageProviderItemProperty, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderItemProperty, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderItemProperty {} unsafe impl ::core::marker::Sync for StorageProviderItemProperty {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -1508,8 +1508,8 @@ impl StorageProviderItemPropertyDefinition { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result { @@ -1547,7 +1547,7 @@ impl ::core::fmt::Debug for StorageProviderItemPropertyDefinition { } } impl ::windows::core::RuntimeType for StorageProviderItemPropertyDefinition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderItemPropertyDefinition;{c5b383bb-ff1f-4298-831e-ff1c08089690})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderItemPropertyDefinition;{c5b383bb-ff1f-4298-831e-ff1c08089690})"); } impl ::core::clone::Clone for StorageProviderItemPropertyDefinition { fn clone(&self) -> Self { @@ -1563,7 +1563,7 @@ unsafe impl ::windows::core::Interface for StorageProviderItemPropertyDefinition impl ::windows::core::RuntimeName for StorageProviderItemPropertyDefinition { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderItemPropertyDefinition"; } -::windows::core::interface_hierarchy!(StorageProviderItemPropertyDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderItemPropertyDefinition, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderItemPropertyDefinition {} unsafe impl ::core::marker::Sync for StorageProviderItemPropertyDefinition {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -1573,8 +1573,8 @@ impl StorageProviderMoreInfoUI { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Message(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1616,7 +1616,7 @@ impl ::core::fmt::Debug for StorageProviderMoreInfoUI { } } impl ::windows::core::RuntimeType for StorageProviderMoreInfoUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderMoreInfoUI;{ef38e591-a7cb-5e7d-9b5e-22749842697c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderMoreInfoUI;{ef38e591-a7cb-5e7d-9b5e-22749842697c})"); } impl ::core::clone::Clone for StorageProviderMoreInfoUI { fn clone(&self) -> Self { @@ -1632,7 +1632,7 @@ unsafe impl ::windows::core::Interface for StorageProviderMoreInfoUI { impl ::windows::core::RuntimeName for StorageProviderMoreInfoUI { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderMoreInfoUI"; } -::windows::core::interface_hierarchy!(StorageProviderMoreInfoUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderMoreInfoUI, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderMoreInfoUI {} unsafe impl ::core::marker::Sync for StorageProviderMoreInfoUI {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -1642,8 +1642,8 @@ impl StorageProviderQuotaUI { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn QuotaTotalInBytes(&self) -> ::windows::core::Result { @@ -1711,7 +1711,7 @@ impl ::core::fmt::Debug for StorageProviderQuotaUI { } } impl ::windows::core::RuntimeType for StorageProviderQuotaUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderQuotaUI;{ba6295c3-312e-544f-9fd5-1f81b21f3649})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderQuotaUI;{ba6295c3-312e-544f-9fd5-1f81b21f3649})"); } impl ::core::clone::Clone for StorageProviderQuotaUI { fn clone(&self) -> Self { @@ -1727,7 +1727,7 @@ unsafe impl ::windows::core::Interface for StorageProviderQuotaUI { impl ::windows::core::RuntimeName for StorageProviderQuotaUI { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderQuotaUI"; } -::windows::core::interface_hierarchy!(StorageProviderQuotaUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderQuotaUI, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderQuotaUI {} unsafe impl ::core::marker::Sync for StorageProviderQuotaUI {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -1737,8 +1737,8 @@ impl StorageProviderStatusUI { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProviderState(&self) -> ::windows::core::Result { @@ -1862,7 +1862,7 @@ impl ::core::fmt::Debug for StorageProviderStatusUI { } } impl ::windows::core::RuntimeType for StorageProviderStatusUI { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderStatusUI;{d6b6a758-198d-5b80-977f-5ff73da33118})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderStatusUI;{d6b6a758-198d-5b80-977f-5ff73da33118})"); } impl ::core::clone::Clone for StorageProviderStatusUI { fn clone(&self) -> Self { @@ -1878,7 +1878,7 @@ unsafe impl ::windows::core::Interface for StorageProviderStatusUI { impl ::windows::core::RuntimeName for StorageProviderStatusUI { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderStatusUI"; } -::windows::core::interface_hierarchy!(StorageProviderStatusUI, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderStatusUI, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderStatusUI {} unsafe impl ::core::marker::Sync for StorageProviderStatusUI {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -1888,8 +1888,8 @@ impl StorageProviderSyncRootInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2115,7 +2115,7 @@ impl ::core::fmt::Debug for StorageProviderSyncRootInfo { } } impl ::windows::core::RuntimeType for StorageProviderSyncRootInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderSyncRootInfo;{7c1305c4-99f9-41ac-8904-ab055d654926})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderSyncRootInfo;{7c1305c4-99f9-41ac-8904-ab055d654926})"); } impl ::core::clone::Clone for StorageProviderSyncRootInfo { fn clone(&self) -> Self { @@ -2131,7 +2131,7 @@ unsafe impl ::windows::core::Interface for StorageProviderSyncRootInfo { impl ::windows::core::RuntimeName for StorageProviderSyncRootInfo { const NAME: &'static str = "Windows.Storage.Provider.StorageProviderSyncRootInfo"; } -::windows::core::interface_hierarchy!(StorageProviderSyncRootInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProviderSyncRootInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageProviderSyncRootInfo {} unsafe impl ::core::marker::Sync for StorageProviderSyncRootInfo {} #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -2175,12 +2175,12 @@ impl StorageProviderSyncRootManager { } #[doc(hidden)] pub fn IStorageProviderSyncRootManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStorageProviderSyncRootManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2250,7 +2250,7 @@ impl ::core::ops::Not for CachedFileOptions { } } impl ::windows::core::RuntimeType for CachedFileOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.CachedFileOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.CachedFileOptions;u4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2280,7 +2280,7 @@ impl ::core::fmt::Debug for CachedFileTarget { } } impl ::windows::core::RuntimeType for CachedFileTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.CachedFileTarget;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.CachedFileTarget;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2314,7 +2314,7 @@ impl ::core::fmt::Debug for FileUpdateStatus { } } impl ::windows::core::RuntimeType for FileUpdateStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.FileUpdateStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.FileUpdateStatus;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2344,7 +2344,7 @@ impl ::core::fmt::Debug for ReadActivationMode { } } impl ::windows::core::RuntimeType for ReadActivationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.ReadActivationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.ReadActivationMode;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2407,7 +2407,7 @@ impl ::core::ops::Not for StorageProviderHardlinkPolicy { } } impl ::windows::core::RuntimeType for StorageProviderHardlinkPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderHardlinkPolicy;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderHardlinkPolicy;u4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2439,7 +2439,7 @@ impl ::core::fmt::Debug for StorageProviderHydrationPolicy { } } impl ::windows::core::RuntimeType for StorageProviderHydrationPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderHydrationPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderHydrationPolicy;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2505,7 +2505,7 @@ impl ::core::ops::Not for StorageProviderHydrationPolicyModifier { } } impl ::windows::core::RuntimeType for StorageProviderHydrationPolicyModifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderHydrationPolicyModifier;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderHydrationPolicyModifier;u4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2578,7 +2578,7 @@ impl ::core::ops::Not for StorageProviderInSyncPolicy { } } impl ::windows::core::RuntimeType for StorageProviderInSyncPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderInSyncPolicy;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderInSyncPolicy;u4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2608,7 +2608,7 @@ impl ::core::fmt::Debug for StorageProviderPopulationPolicy { } } impl ::windows::core::RuntimeType for StorageProviderPopulationPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderPopulationPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderPopulationPolicy;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2638,7 +2638,7 @@ impl ::core::fmt::Debug for StorageProviderProtectionMode { } } impl ::windows::core::RuntimeType for StorageProviderProtectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderProtectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderProtectionMode;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2672,7 +2672,7 @@ impl ::core::fmt::Debug for StorageProviderState { } } impl ::windows::core::RuntimeType for StorageProviderState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderState;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2703,7 +2703,7 @@ impl ::core::fmt::Debug for StorageProviderUICommandState { } } impl ::windows::core::RuntimeType for StorageProviderUICommandState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderUICommandState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderUICommandState;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2734,7 +2734,7 @@ impl ::core::fmt::Debug for StorageProviderUriSourceStatus { } } impl ::windows::core::RuntimeType for StorageProviderUriSourceStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderUriSourceStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.StorageProviderUriSourceStatus;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2766,7 +2766,7 @@ impl ::core::fmt::Debug for UIStatus { } } impl ::windows::core::RuntimeType for UIStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.UIStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.UIStatus;i4)"); } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] @@ -2797,7 +2797,7 @@ impl ::core::fmt::Debug for WriteActivationMode { } } impl ::windows::core::RuntimeType for WriteActivationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.WriteActivationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.WriteActivationMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index 739af9ef6e..8e983fe18e 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -189,7 +189,7 @@ impl IIndexableContent { unsafe { (::windows::core::Vtable::vtable(this).SetStreamContentType)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -::windows::core::interface_hierarchy!(IIndexableContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IIndexableContent, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IIndexableContent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -202,7 +202,7 @@ impl ::core::fmt::Debug for IIndexableContent { } } impl ::windows::core::RuntimeType for IIndexableContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ccf1a05f-d4b5-483a-b06e-e0db1ec420e4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ccf1a05f-d4b5-483a-b06e-e0db1ec420e4}"); } unsafe impl ::windows::core::Vtable for IIndexableContent { type Vtable = IIndexableContent_Vtbl; @@ -518,7 +518,7 @@ impl IStorageFolderQueryOperations { } } } -::windows::core::interface_hierarchy!(IStorageFolderQueryOperations, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageFolderQueryOperations, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageFolderQueryOperations { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -531,7 +531,7 @@ impl ::core::fmt::Debug for IStorageFolderQueryOperations { } } impl ::windows::core::RuntimeType for IStorageFolderQueryOperations { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{cb43ccc9-446b-4a4f-be97-757771be5203}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cb43ccc9-446b-4a4f-be97-757771be5203}"); } unsafe impl ::windows::core::Vtable for IStorageFolderQueryOperations { type Vtable = IStorageFolderQueryOperations_Vtbl; @@ -757,7 +757,7 @@ impl IStorageQueryResultBase { unsafe { (::windows::core::Vtable::vtable(this).ApplyNewQueryOptions)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(newqueryoptions)).ok() } } } -::windows::core::interface_hierarchy!(IStorageQueryResultBase, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageQueryResultBase, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageQueryResultBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -770,7 +770,7 @@ impl ::core::fmt::Debug for IStorageQueryResultBase { } } impl ::windows::core::RuntimeType for IStorageQueryResultBase { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c297d70d-7353-47ab-ba58-8c61425dc54b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c297d70d-7353-47ab-ba58-8c61425dc54b}"); } unsafe impl ::windows::core::Vtable for IStorageQueryResultBase { type Vtable = IStorageQueryResultBase_Vtbl; @@ -976,7 +976,7 @@ impl ContentIndexer { } #[doc(hidden)] pub fn IContentIndexerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -992,7 +992,7 @@ impl ::core::fmt::Debug for ContentIndexer { } } impl ::windows::core::RuntimeType for ContentIndexer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ContentIndexer;{b1767f8d-f698-4982-b05f-3a6e8cab01a2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ContentIndexer;{b1767f8d-f698-4982-b05f-3a6e8cab01a2})"); } impl ::core::clone::Clone for ContentIndexer { fn clone(&self) -> Self { @@ -1008,7 +1008,7 @@ unsafe impl ::windows::core::Interface for ContentIndexer { impl ::windows::core::RuntimeName for ContentIndexer { const NAME: &'static str = "Windows.Storage.Search.ContentIndexer"; } -::windows::core::interface_hierarchy!(ContentIndexer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContentIndexer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContentIndexer {} unsafe impl ::core::marker::Sync for ContentIndexer {} #[doc = "*Required features: `\"Storage_Search\"`*"] @@ -1080,7 +1080,7 @@ impl ::core::fmt::Debug for ContentIndexerQuery { } } impl ::windows::core::RuntimeType for ContentIndexerQuery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ContentIndexerQuery;{70e3b0f8-4bfc-428a-8889-cc51da9a7b9d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ContentIndexerQuery;{70e3b0f8-4bfc-428a-8889-cc51da9a7b9d})"); } impl ::core::clone::Clone for ContentIndexerQuery { fn clone(&self) -> Self { @@ -1096,7 +1096,7 @@ unsafe impl ::windows::core::Interface for ContentIndexerQuery { impl ::windows::core::RuntimeName for ContentIndexerQuery { const NAME: &'static str = "Windows.Storage.Search.ContentIndexerQuery"; } -::windows::core::interface_hierarchy!(ContentIndexerQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContentIndexerQuery, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContentIndexerQuery {} unsafe impl ::core::marker::Sync for ContentIndexerQuery {} #[doc = "*Required features: `\"Storage_Search\"`*"] @@ -1106,8 +1106,8 @@ impl IndexableContent { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1173,7 +1173,7 @@ impl ::core::fmt::Debug for IndexableContent { } } impl ::windows::core::RuntimeType for IndexableContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.IndexableContent;{ccf1a05f-d4b5-483a-b06e-e0db1ec420e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.IndexableContent;{ccf1a05f-d4b5-483a-b06e-e0db1ec420e4})"); } impl ::core::clone::Clone for IndexableContent { fn clone(&self) -> Self { @@ -1189,7 +1189,7 @@ unsafe impl ::windows::core::Interface for IndexableContent { impl ::windows::core::RuntimeName for IndexableContent { const NAME: &'static str = "Windows.Storage.Search.IndexableContent"; } -::windows::core::interface_hierarchy!(IndexableContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IndexableContent, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IIndexableContent { type Error = ::windows::core::Error; fn try_from(value: IndexableContent) -> ::windows::core::Result { @@ -1218,8 +1218,8 @@ impl QueryOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1365,7 +1365,7 @@ impl QueryOptions { } #[doc(hidden)] pub fn IQueryOptionsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1381,7 +1381,7 @@ impl ::core::fmt::Debug for QueryOptions { } } impl ::windows::core::RuntimeType for QueryOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.QueryOptions;{1e5e46ee-0f45-4838-a8e9-d0479d446c30})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.QueryOptions;{1e5e46ee-0f45-4838-a8e9-d0479d446c30})"); } impl ::core::clone::Clone for QueryOptions { fn clone(&self) -> Self { @@ -1397,7 +1397,7 @@ unsafe impl ::windows::core::Interface for QueryOptions { impl ::windows::core::RuntimeName for QueryOptions { const NAME: &'static str = "Windows.Storage.Search.QueryOptions"; } -::windows::core::interface_hierarchy!(QueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(QueryOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for QueryOptions {} unsafe impl ::core::marker::Sync for QueryOptions {} #[doc = "*Required features: `\"Storage_Search\"`, `\"Foundation_Collections\"`*"] @@ -1531,7 +1531,7 @@ impl ::core::fmt::Debug for SortEntryVector { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for SortEntryVector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.SortEntryVector;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};struct(Windows.Storage.Search.SortEntry;string;b1)))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.SortEntryVector;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};struct(Windows.Storage.Search.SortEntry;string;b1)))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for SortEntryVector { @@ -1568,7 +1568,7 @@ impl ::core::iter::IntoIterator for &SortEntryVector { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(SortEntryVector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SortEntryVector, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -1726,7 +1726,7 @@ impl ::core::fmt::Debug for StorageFileQueryResult { } } impl ::windows::core::RuntimeType for StorageFileQueryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageFileQueryResult;{52fda447-2baa-412c-b29f-d4b1778efa1e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageFileQueryResult;{52fda447-2baa-412c-b29f-d4b1778efa1e})"); } impl ::core::clone::Clone for StorageFileQueryResult { fn clone(&self) -> Self { @@ -1742,7 +1742,7 @@ unsafe impl ::windows::core::Interface for StorageFileQueryResult { impl ::windows::core::RuntimeName for StorageFileQueryResult { const NAME: &'static str = "Windows.Storage.Search.StorageFileQueryResult"; } -::windows::core::interface_hierarchy!(StorageFileQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageFileQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageQueryResultBase { type Error = ::windows::core::Error; fn try_from(value: StorageFileQueryResult) -> ::windows::core::Result { @@ -1866,7 +1866,7 @@ impl ::core::fmt::Debug for StorageFolderQueryResult { } } impl ::windows::core::RuntimeType for StorageFolderQueryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageFolderQueryResult;{6654c911-7d66-46fa-aecf-e4a4baa93ab8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageFolderQueryResult;{6654c911-7d66-46fa-aecf-e4a4baa93ab8})"); } impl ::core::clone::Clone for StorageFolderQueryResult { fn clone(&self) -> Self { @@ -1882,7 +1882,7 @@ unsafe impl ::windows::core::Interface for StorageFolderQueryResult { impl ::windows::core::RuntimeName for StorageFolderQueryResult { const NAME: &'static str = "Windows.Storage.Search.StorageFolderQueryResult"; } -::windows::core::interface_hierarchy!(StorageFolderQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageFolderQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageQueryResultBase { type Error = ::windows::core::Error; fn try_from(value: StorageFolderQueryResult) -> ::windows::core::Result { @@ -2006,7 +2006,7 @@ impl ::core::fmt::Debug for StorageItemQueryResult { } } impl ::windows::core::RuntimeType for StorageItemQueryResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageItemQueryResult;{e8948079-9d58-47b8-b2b2-41b07f4795f9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageItemQueryResult;{e8948079-9d58-47b8-b2b2-41b07f4795f9})"); } impl ::core::clone::Clone for StorageItemQueryResult { fn clone(&self) -> Self { @@ -2022,7 +2022,7 @@ unsafe impl ::windows::core::Interface for StorageItemQueryResult { impl ::windows::core::RuntimeName for StorageItemQueryResult { const NAME: &'static str = "Windows.Storage.Search.StorageItemQueryResult"; } -::windows::core::interface_hierarchy!(StorageItemQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageItemQueryResult, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageQueryResultBase { type Error = ::windows::core::Error; fn try_from(value: StorageItemQueryResult) -> ::windows::core::Result { @@ -2073,7 +2073,7 @@ impl ::core::fmt::Debug for StorageLibraryChangeTrackerTriggerDetails { } } impl ::windows::core::RuntimeType for StorageLibraryChangeTrackerTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageLibraryChangeTrackerTriggerDetails;{1dc7a369-b7a3-4df2-9d61-eba85a0343d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageLibraryChangeTrackerTriggerDetails;{1dc7a369-b7a3-4df2-9d61-eba85a0343d2})"); } impl ::core::clone::Clone for StorageLibraryChangeTrackerTriggerDetails { fn clone(&self) -> Self { @@ -2089,7 +2089,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryChangeTrackerTriggerDet impl ::windows::core::RuntimeName for StorageLibraryChangeTrackerTriggerDetails { const NAME: &'static str = "Windows.Storage.Search.StorageLibraryChangeTrackerTriggerDetails"; } -::windows::core::interface_hierarchy!(StorageLibraryChangeTrackerTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryChangeTrackerTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] pub struct StorageLibraryContentChangedTriggerDetails(::windows::core::IUnknown); @@ -2123,7 +2123,7 @@ impl ::core::fmt::Debug for StorageLibraryContentChangedTriggerDetails { } } impl ::windows::core::RuntimeType for StorageLibraryContentChangedTriggerDetails { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageLibraryContentChangedTriggerDetails;{2a371977-abbf-4e1d-8aa5-6385d8884799})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageLibraryContentChangedTriggerDetails;{2a371977-abbf-4e1d-8aa5-6385d8884799})"); } impl ::core::clone::Clone for StorageLibraryContentChangedTriggerDetails { fn clone(&self) -> Self { @@ -2139,7 +2139,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryContentChangedTriggerDe impl ::windows::core::RuntimeName for StorageLibraryContentChangedTriggerDetails { const NAME: &'static str = "Windows.Storage.Search.StorageLibraryContentChangedTriggerDetails"; } -::windows::core::interface_hierarchy!(StorageLibraryContentChangedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryContentChangedTriggerDetails, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] pub struct ValueAndLanguage(::windows::core::IUnknown); @@ -2147,8 +2147,8 @@ impl ValueAndLanguage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Language(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2189,7 +2189,7 @@ impl ::core::fmt::Debug for ValueAndLanguage { } } impl ::windows::core::RuntimeType for ValueAndLanguage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ValueAndLanguage;{b9914881-a1ee-4bc4-92a5-466968e30436})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ValueAndLanguage;{b9914881-a1ee-4bc4-92a5-466968e30436})"); } impl ::core::clone::Clone for ValueAndLanguage { fn clone(&self) -> Self { @@ -2205,7 +2205,7 @@ unsafe impl ::windows::core::Interface for ValueAndLanguage { impl ::windows::core::RuntimeName for ValueAndLanguage { const NAME: &'static str = "Windows.Storage.Search.ValueAndLanguage"; } -::windows::core::interface_hierarchy!(ValueAndLanguage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ValueAndLanguage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ValueAndLanguage {} unsafe impl ::core::marker::Sync for ValueAndLanguage {} #[doc = "*Required features: `\"Storage_Search\"`*"] @@ -2240,7 +2240,7 @@ impl ::core::fmt::Debug for CommonFileQuery { } } impl ::windows::core::RuntimeType for CommonFileQuery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.CommonFileQuery;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.CommonFileQuery;i4)"); } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] @@ -2281,7 +2281,7 @@ impl ::core::fmt::Debug for CommonFolderQuery { } } impl ::windows::core::RuntimeType for CommonFolderQuery { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.CommonFolderQuery;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.CommonFolderQuery;i4)"); } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] @@ -2312,7 +2312,7 @@ impl ::core::fmt::Debug for DateStackOption { } } impl ::windows::core::RuntimeType for DateStackOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.DateStackOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.DateStackOption;i4)"); } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] @@ -2342,7 +2342,7 @@ impl ::core::fmt::Debug for FolderDepth { } } impl ::windows::core::RuntimeType for FolderDepth { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.FolderDepth;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.FolderDepth;i4)"); } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] @@ -2374,7 +2374,7 @@ impl ::core::fmt::Debug for IndexedState { } } impl ::windows::core::RuntimeType for IndexedState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.IndexedState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.IndexedState;i4)"); } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] @@ -2406,7 +2406,7 @@ impl ::core::fmt::Debug for IndexerOption { } } impl ::windows::core::RuntimeType for IndexerOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.IndexerOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Search.IndexerOption;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Storage_Search\"`*"] @@ -2428,7 +2428,7 @@ impl ::windows::core::TypeKind for SortEntry { type TypeKind = ::windows::core::ValueType; } impl ::windows::core::RuntimeType for SortEntry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Storage.Search.SortEntry;string;b1)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Storage.Search.SortEntry;string;b1)"); } impl ::core::cmp::PartialEq for SortEntry { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index 264a8c86a3..931394d09b 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -21,7 +21,7 @@ impl IBuffer { unsafe { (::windows::core::Vtable::vtable(this).SetLength)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(IBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IBuffer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -34,7 +34,7 @@ impl ::core::fmt::Debug for IBuffer { } } impl ::windows::core::RuntimeType for IBuffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{905a0fe0-bc53-11df-8c49-001e4fc686da}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{905a0fe0-bc53-11df-8c49-001e4fc686da}"); } unsafe impl ::windows::core::Vtable for IBuffer { type Vtable = IBuffer_Vtbl; @@ -114,7 +114,7 @@ impl IContentTypeProvider { } } } -::windows::core::interface_hierarchy!(IContentTypeProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContentTypeProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContentTypeProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -127,7 +127,7 @@ impl ::core::fmt::Debug for IContentTypeProvider { } } impl ::windows::core::RuntimeType for IContentTypeProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{97d098a5-3b99-4de9-88a5-e11d2f50c795}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{97d098a5-3b99-4de9-88a5-e11d2f50c795}"); } unsafe impl ::windows::core::Vtable for IContentTypeProvider { type Vtable = IContentTypeProvider_Vtbl; @@ -327,7 +327,7 @@ impl IDataReader { } } } -::windows::core::interface_hierarchy!(IDataReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDataReader, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IDataReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -340,7 +340,7 @@ impl ::core::fmt::Debug for IDataReader { } } impl ::windows::core::RuntimeType for IDataReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e2b50029-b4c1-4314-a4b8-fb813a2f275e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e2b50029-b4c1-4314-a4b8-fb813a2f275e}"); } unsafe impl ::windows::core::Vtable for IDataReader { type Vtable = IDataReader_Vtbl; @@ -589,7 +589,7 @@ impl IDataWriter { } } } -::windows::core::interface_hierarchy!(IDataWriter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDataWriter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IDataWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -602,7 +602,7 @@ impl ::core::fmt::Debug for IDataWriter { } } impl ::windows::core::RuntimeType for IDataWriter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{64b89265-d341-4922-b38a-dd4af8808c4e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{64b89265-d341-4922-b38a-dd4af8808c4e}"); } unsafe impl ::windows::core::Vtable for IDataWriter { type Vtable = IDataWriter_Vtbl; @@ -754,7 +754,7 @@ impl IInputStream { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IInputStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInputStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -789,7 +789,7 @@ impl ::core::fmt::Debug for IInputStream { } } impl ::windows::core::RuntimeType for IInputStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{905a0fe2-bc53-11df-8c49-001e4fc686da}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{905a0fe2-bc53-11df-8c49-001e4fc686da}"); } unsafe impl ::windows::core::Vtable for IInputStream { type Vtable = IInputStream_Vtbl; @@ -825,7 +825,7 @@ impl IInputStreamReference { } } } -::windows::core::interface_hierarchy!(IInputStreamReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInputStreamReference, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInputStreamReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -838,7 +838,7 @@ impl ::core::fmt::Debug for IInputStreamReference { } } impl ::windows::core::RuntimeType for IInputStreamReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{43929d18-5ec9-4b5a-919c-4205b0c804b6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{43929d18-5ec9-4b5a-919c-4205b0c804b6}"); } unsafe impl ::windows::core::Vtable for IInputStreamReference { type Vtable = IInputStreamReference_Vtbl; @@ -893,7 +893,7 @@ impl IOutputStream { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IOutputStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IOutputStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -928,7 +928,7 @@ impl ::core::fmt::Debug for IOutputStream { } } impl ::windows::core::RuntimeType for IOutputStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{905a0fe6-bc53-11df-8c49-001e4fc686da}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{905a0fe6-bc53-11df-8c49-001e4fc686da}"); } unsafe impl ::windows::core::Vtable for IOutputStream { type Vtable = IOutputStream_Vtbl; @@ -984,7 +984,7 @@ impl IPropertySetSerializer { unsafe { (::windows::core::Vtable::vtable(this).Deserialize)(::windows::core::Vtable::as_raw(this), propertyset.try_into().map_err(|e| e.into())?.abi(), buffer.try_into().map_err(|e| e.into())?.abi()).ok() } } } -::windows::core::interface_hierarchy!(IPropertySetSerializer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPropertySetSerializer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPropertySetSerializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -997,7 +997,7 @@ impl ::core::fmt::Debug for IPropertySetSerializer { } } impl ::windows::core::RuntimeType for IPropertySetSerializer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6e8ebf1c-ef3d-4376-b20e-5be638aeac77}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6e8ebf1c-ef3d-4376-b20e-5be638aeac77}"); } unsafe impl ::windows::core::Vtable for IPropertySetSerializer { type Vtable = IPropertySetSerializer_Vtbl; @@ -1126,7 +1126,7 @@ impl IRandomAccessStream { } } } -::windows::core::interface_hierarchy!(IRandomAccessStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IRandomAccessStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1199,7 +1199,7 @@ impl ::core::fmt::Debug for IRandomAccessStream { } } impl ::windows::core::RuntimeType for IRandomAccessStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{905a0fe1-bc53-11df-8c49-001e4fc686da}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{905a0fe1-bc53-11df-8c49-001e4fc686da}"); } unsafe impl ::windows::core::Vtable for IRandomAccessStream { type Vtable = IRandomAccessStream_Vtbl; @@ -1240,7 +1240,7 @@ impl IRandomAccessStreamReference { } } } -::windows::core::interface_hierarchy!(IRandomAccessStreamReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IRandomAccessStreamReference, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IRandomAccessStreamReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1253,7 +1253,7 @@ impl ::core::fmt::Debug for IRandomAccessStreamReference { } } impl ::windows::core::RuntimeType for IRandomAccessStreamReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{33ee3134-1dd6-4e3a-8067-d1c162e8642b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{33ee3134-1dd6-4e3a-8067-d1c162e8642b}"); } unsafe impl ::windows::core::Vtable for IRandomAccessStreamReference { type Vtable = IRandomAccessStreamReference_Vtbl; @@ -1441,7 +1441,7 @@ impl IRandomAccessStreamWithContentType { } } } -::windows::core::interface_hierarchy!(IRandomAccessStreamWithContentType, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IRandomAccessStreamWithContentType, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1552,7 +1552,7 @@ impl ::core::fmt::Debug for IRandomAccessStreamWithContentType { } } impl ::windows::core::RuntimeType for IRandomAccessStreamWithContentType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{cc254827-4b3d-438f-9232-10c76bc7e038}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cc254827-4b3d-438f-9232-10c76bc7e038}"); } unsafe impl ::windows::core::Vtable for IRandomAccessStreamWithContentType { type Vtable = IRandomAccessStreamWithContentType_Vtbl; @@ -1624,12 +1624,12 @@ impl Buffer { } #[doc(hidden)] pub fn IBufferFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBufferStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1645,7 +1645,7 @@ impl ::core::fmt::Debug for Buffer { } } impl ::windows::core::RuntimeType for Buffer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.Buffer;{905a0fe0-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.Buffer;{905a0fe0-bc53-11df-8c49-001e4fc686da})"); } impl ::core::clone::Clone for Buffer { fn clone(&self) -> Self { @@ -1661,7 +1661,7 @@ unsafe impl ::windows::core::Interface for Buffer { impl ::windows::core::RuntimeName for Buffer { const NAME: &'static str = "Windows.Storage.Streams.Buffer"; } -::windows::core::interface_hierarchy!(Buffer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Buffer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IBuffer { type Error = ::windows::core::Error; fn try_from(value: Buffer) -> ::windows::core::Result { @@ -1891,12 +1891,12 @@ impl DataReader { } #[doc(hidden)] pub fn IDataReaderFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDataReaderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1912,7 +1912,7 @@ impl ::core::fmt::Debug for DataReader { } } impl ::windows::core::RuntimeType for DataReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataReader;{e2b50029-b4c1-4314-a4b8-fb813a2f275e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataReader;{e2b50029-b4c1-4314-a4b8-fb813a2f275e})"); } impl ::core::clone::Clone for DataReader { fn clone(&self) -> Self { @@ -1928,7 +1928,7 @@ unsafe impl ::windows::core::Interface for DataReader { impl ::windows::core::RuntimeName for DataReader { const NAME: &'static str = "Windows.Storage.Streams.DataReader"; } -::windows::core::interface_hierarchy!(DataReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataReader, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2058,7 +2058,7 @@ impl ::core::fmt::Debug for DataReaderLoadOperation { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for DataReaderLoadOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataReaderLoadOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};u4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataReaderLoadOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};u4))"); } #[cfg(feature = "Foundation")] impl ::core::clone::Clone for DataReaderLoadOperation { @@ -2082,7 +2082,7 @@ impl ::windows::core::RuntimeName for DataReaderLoadOperation { impl DataReaderLoadOperation { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::Foundation::AsyncOperationCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -2110,7 +2110,7 @@ impl ::std::future::Future for DataReaderLoadOperation { } } #[cfg(feature = "Foundation")] -::windows::core::interface_hierarchy!(DataReaderLoadOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataReaderLoadOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncInfo { type Error = ::windows::core::Error; @@ -2166,8 +2166,8 @@ impl DataWriter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2339,7 +2339,7 @@ impl DataWriter { } #[doc(hidden)] pub fn IDataWriterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2355,7 +2355,7 @@ impl ::core::fmt::Debug for DataWriter { } } impl ::windows::core::RuntimeType for DataWriter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataWriter;{64b89265-d341-4922-b38a-dd4af8808c4e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataWriter;{64b89265-d341-4922-b38a-dd4af8808c4e})"); } impl ::core::clone::Clone for DataWriter { fn clone(&self) -> Self { @@ -2371,7 +2371,7 @@ unsafe impl ::windows::core::Interface for DataWriter { impl ::windows::core::RuntimeName for DataWriter { const NAME: &'static str = "Windows.Storage.Streams.DataWriter"; } -::windows::core::interface_hierarchy!(DataWriter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataWriter, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2501,7 +2501,7 @@ impl ::core::fmt::Debug for DataWriterStoreOperation { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for DataWriterStoreOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataWriterStoreOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};u4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataWriterStoreOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};u4))"); } #[cfg(feature = "Foundation")] impl ::core::clone::Clone for DataWriterStoreOperation { @@ -2525,7 +2525,7 @@ impl ::windows::core::RuntimeName for DataWriterStoreOperation { impl DataWriterStoreOperation { pub fn get(&self) -> ::windows::core::Result { if self.Status()? == super::super::Foundation::AsyncStatus::Started { - let (_waiter, signaler) = ::windows::core::Waiter::new()?; + let (_waiter, signaler) = ::windows::imp::Waiter::new()?; self.SetCompleted(&super::super::Foundation::AsyncOperationCompletedHandler::new(move |_sender, _args| { unsafe { signaler.signal(); @@ -2553,7 +2553,7 @@ impl ::std::future::Future for DataWriterStoreOperation { } } #[cfg(feature = "Foundation")] -::windows::core::interface_hierarchy!(DataWriterStoreOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DataWriterStoreOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IAsyncInfo { type Error = ::windows::core::Error; @@ -2638,7 +2638,7 @@ impl ::core::fmt::Debug for FileInputStream { } } impl ::windows::core::RuntimeType for FileInputStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileInputStream;{905a0fe2-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileInputStream;{905a0fe2-bc53-11df-8c49-001e4fc686da})"); } impl ::core::clone::Clone for FileInputStream { fn clone(&self) -> Self { @@ -2654,7 +2654,7 @@ unsafe impl ::windows::core::Interface for FileInputStream { impl ::windows::core::RuntimeName for FileInputStream { const NAME: &'static str = "Windows.Storage.Streams.FileInputStream"; } -::windows::core::interface_hierarchy!(FileInputStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileInputStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2743,7 +2743,7 @@ impl ::core::fmt::Debug for FileOutputStream { } } impl ::windows::core::RuntimeType for FileOutputStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileOutputStream;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileOutputStream;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); } impl ::core::clone::Clone for FileOutputStream { fn clone(&self) -> Self { @@ -2759,7 +2759,7 @@ unsafe impl ::windows::core::Interface for FileOutputStream { impl ::windows::core::RuntimeName for FileOutputStream { const NAME: &'static str = "Windows.Storage.Streams.FileOutputStream"; } -::windows::core::interface_hierarchy!(FileOutputStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileOutputStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2971,7 +2971,7 @@ impl FileRandomAccessStream { } #[doc(hidden)] pub fn IFileRandomAccessStreamStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2987,7 +2987,7 @@ impl ::core::fmt::Debug for FileRandomAccessStream { } } impl ::windows::core::RuntimeType for FileRandomAccessStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileRandomAccessStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileRandomAccessStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); } impl ::core::clone::Clone for FileRandomAccessStream { fn clone(&self) -> Self { @@ -3003,7 +3003,7 @@ unsafe impl ::windows::core::Interface for FileRandomAccessStream { impl ::windows::core::RuntimeName for FileRandomAccessStream { const NAME: &'static str = "Windows.Storage.Streams.FileRandomAccessStream"; } -::windows::core::interface_hierarchy!(FileRandomAccessStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FileRandomAccessStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3092,8 +3092,8 @@ impl InMemoryRandomAccessStream { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -3207,7 +3207,7 @@ impl ::core::fmt::Debug for InMemoryRandomAccessStream { } } impl ::windows::core::RuntimeType for InMemoryRandomAccessStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.InMemoryRandomAccessStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.InMemoryRandomAccessStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); } impl ::core::clone::Clone for InMemoryRandomAccessStream { fn clone(&self) -> Self { @@ -3223,7 +3223,7 @@ unsafe impl ::windows::core::Interface for InMemoryRandomAccessStream { impl ::windows::core::RuntimeName for InMemoryRandomAccessStream { const NAME: &'static str = "Windows.Storage.Streams.InMemoryRandomAccessStream"; } -::windows::core::interface_hierarchy!(InMemoryRandomAccessStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InMemoryRandomAccessStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3341,7 +3341,7 @@ impl ::core::fmt::Debug for InputStreamOverStream { } } impl ::windows::core::RuntimeType for InputStreamOverStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.InputStreamOverStream;{905a0fe2-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.InputStreamOverStream;{905a0fe2-bc53-11df-8c49-001e4fc686da})"); } impl ::core::clone::Clone for InputStreamOverStream { fn clone(&self) -> Self { @@ -3357,7 +3357,7 @@ unsafe impl ::windows::core::Interface for InputStreamOverStream { impl ::windows::core::RuntimeName for InputStreamOverStream { const NAME: &'static str = "Windows.Storage.Streams.InputStreamOverStream"; } -::windows::core::interface_hierarchy!(InputStreamOverStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InputStreamOverStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3446,7 +3446,7 @@ impl ::core::fmt::Debug for OutputStreamOverStream { } } impl ::windows::core::RuntimeType for OutputStreamOverStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.OutputStreamOverStream;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.OutputStreamOverStream;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); } impl ::core::clone::Clone for OutputStreamOverStream { fn clone(&self) -> Self { @@ -3462,7 +3462,7 @@ unsafe impl ::windows::core::Interface for OutputStreamOverStream { impl ::windows::core::RuntimeName for OutputStreamOverStream { const NAME: &'static str = "Windows.Storage.Streams.OutputStreamOverStream"; } -::windows::core::interface_hierarchy!(OutputStreamOverStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OutputStreamOverStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3553,7 +3553,7 @@ impl RandomAccessStream { } #[doc(hidden)] pub fn IRandomAccessStreamStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3675,7 +3675,7 @@ impl ::core::fmt::Debug for RandomAccessStreamOverStream { } } impl ::windows::core::RuntimeType for RandomAccessStreamOverStream { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.RandomAccessStreamOverStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.RandomAccessStreamOverStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); } impl ::core::clone::Clone for RandomAccessStreamOverStream { fn clone(&self) -> Self { @@ -3691,7 +3691,7 @@ unsafe impl ::windows::core::Interface for RandomAccessStreamOverStream { impl ::windows::core::RuntimeName for RandomAccessStreamOverStream { const NAME: &'static str = "Windows.Storage.Streams.RandomAccessStreamOverStream"; } -::windows::core::interface_hierarchy!(RandomAccessStreamOverStream, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RandomAccessStreamOverStream, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3816,7 +3816,7 @@ impl RandomAccessStreamReference { } #[doc(hidden)] pub fn IRandomAccessStreamReferenceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3832,7 +3832,7 @@ impl ::core::fmt::Debug for RandomAccessStreamReference { } } impl ::windows::core::RuntimeType for RandomAccessStreamReference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.RandomAccessStreamReference;{33ee3134-1dd6-4e3a-8067-d1c162e8642b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.RandomAccessStreamReference;{33ee3134-1dd6-4e3a-8067-d1c162e8642b})"); } impl ::core::clone::Clone for RandomAccessStreamReference { fn clone(&self) -> Self { @@ -3848,7 +3848,7 @@ unsafe impl ::windows::core::Interface for RandomAccessStreamReference { impl ::windows::core::RuntimeName for RandomAccessStreamReference { const NAME: &'static str = "Windows.Storage.Streams.RandomAccessStreamReference"; } -::windows::core::interface_hierarchy!(RandomAccessStreamReference, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RandomAccessStreamReference, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IRandomAccessStreamReference { type Error = ::windows::core::Error; fn try_from(value: RandomAccessStreamReference) -> ::windows::core::Result { @@ -3898,7 +3898,7 @@ impl ::core::fmt::Debug for ByteOrder { } } impl ::windows::core::RuntimeType for ByteOrder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Streams.ByteOrder;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Streams.ByteOrder;i4)"); } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] @@ -3931,7 +3931,7 @@ impl ::core::fmt::Debug for FileOpenDisposition { } } impl ::windows::core::RuntimeType for FileOpenDisposition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Streams.FileOpenDisposition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Streams.FileOpenDisposition;i4)"); } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] @@ -3995,7 +3995,7 @@ impl ::core::ops::Not for InputStreamOptions { } } impl ::windows::core::RuntimeType for InputStreamOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Streams.InputStreamOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Streams.InputStreamOptions;u4)"); } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] @@ -4026,7 +4026,7 @@ impl ::core::fmt::Debug for UnicodeEncoding { } } impl ::windows::core::RuntimeType for UnicodeEncoding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.Streams.UnicodeEncoding;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Streams.UnicodeEncoding;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index d8ec495418..207160482d 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -929,7 +929,7 @@ impl IStorageFile { } } } -::windows::core::interface_hierarchy!(IStorageFile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageFile, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Storage_Streams")] impl ::core::convert::TryFrom for Streams::IInputStreamReference { type Error = ::windows::core::Error; @@ -1005,7 +1005,7 @@ impl ::core::fmt::Debug for IStorageFile { } } impl ::windows::core::RuntimeType for IStorageFile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fa3f6186-4214-428c-a64c-14c9ac7315ea}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fa3f6186-4214-428c-a64c-14c9ac7315ea}"); } unsafe impl ::windows::core::Vtable for IStorageFile { type Vtable = IStorageFile_Vtbl; @@ -1088,7 +1088,7 @@ impl IStorageFile2 { } } } -::windows::core::interface_hierarchy!(IStorageFile2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageFile2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageFile2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1101,7 +1101,7 @@ impl ::core::fmt::Debug for IStorageFile2 { } } impl ::windows::core::RuntimeType for IStorageFile2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{954e4bcf-0a77-42fb-b777-c2ed58a52e44}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{954e4bcf-0a77-42fb-b777-c2ed58a52e44}"); } unsafe impl ::windows::core::Vtable for IStorageFile2 { type Vtable = IStorageFile2_Vtbl; @@ -1139,7 +1139,7 @@ impl IStorageFilePropertiesWithAvailability { } } } -::windows::core::interface_hierarchy!(IStorageFilePropertiesWithAvailability, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageFilePropertiesWithAvailability, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageFilePropertiesWithAvailability { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1152,7 +1152,7 @@ impl ::core::fmt::Debug for IStorageFilePropertiesWithAvailability { } } impl ::windows::core::RuntimeType for IStorageFilePropertiesWithAvailability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{afcbbe9b-582b-4133-9648-e44ca46ee491}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{afcbbe9b-582b-4133-9648-e44ca46ee491}"); } unsafe impl ::windows::core::Vtable for IStorageFilePropertiesWithAvailability { type Vtable = IStorageFilePropertiesWithAvailability_Vtbl; @@ -1414,7 +1414,7 @@ impl IStorageFolder { } } } -::windows::core::interface_hierarchy!(IStorageFolder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageFolder, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItem { type Error = ::windows::core::Error; fn try_from(value: IStorageFolder) -> ::windows::core::Result { @@ -1446,7 +1446,7 @@ impl ::core::fmt::Debug for IStorageFolder { } } impl ::windows::core::RuntimeType for IStorageFolder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{72d1cb78-b3ef-4f75-a80b-6fd9dae2944b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{72d1cb78-b3ef-4f75-a80b-6fd9dae2944b}"); } unsafe impl ::windows::core::Vtable for IStorageFolder { type Vtable = IStorageFolder_Vtbl; @@ -1518,7 +1518,7 @@ impl IStorageFolder2 { } } } -::windows::core::interface_hierarchy!(IStorageFolder2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageFolder2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageFolder2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1531,7 +1531,7 @@ impl ::core::fmt::Debug for IStorageFolder2 { } } impl ::windows::core::RuntimeType for IStorageFolder2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e827e8b9-08d9-4a8e-a0ac-fe5ed3cbbbd3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e827e8b9-08d9-4a8e-a0ac-fe5ed3cbbbd3}"); } unsafe impl ::windows::core::Vtable for IStorageFolder2 { type Vtable = IStorageFolder2_Vtbl; @@ -1706,7 +1706,7 @@ impl IStorageItem { } } } -::windows::core::interface_hierarchy!(IStorageItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageItem, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1719,7 +1719,7 @@ impl ::core::fmt::Debug for IStorageItem { } } impl ::windows::core::RuntimeType for IStorageItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4207a996-ca2f-42f7-bde8-8b10457a7f30}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4207a996-ca2f-42f7-bde8-8b10457a7f30}"); } unsafe impl ::windows::core::Vtable for IStorageItem { type Vtable = IStorageItem_Vtbl; @@ -1872,7 +1872,7 @@ impl IStorageItem2 { } } } -::windows::core::interface_hierarchy!(IStorageItem2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageItem2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItem { type Error = ::windows::core::Error; fn try_from(value: IStorageItem2) -> ::windows::core::Result { @@ -1904,7 +1904,7 @@ impl ::core::fmt::Debug for IStorageItem2 { } } impl ::windows::core::RuntimeType for IStorageItem2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{53f926d2-083c-4283-b45b-81c007237e44}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{53f926d2-083c-4283-b45b-81c007237e44}"); } unsafe impl ::windows::core::Vtable for IStorageItem2 { type Vtable = IStorageItem2_Vtbl; @@ -1989,7 +1989,7 @@ impl IStorageItemProperties { } } } -::windows::core::interface_hierarchy!(IStorageItemProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageItemProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStorageItemProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2002,7 +2002,7 @@ impl ::core::fmt::Debug for IStorageItemProperties { } } impl ::windows::core::RuntimeType for IStorageItemProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{86664478-8029-46fe-a789-1c2f3e2ffb5c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{86664478-8029-46fe-a789-1c2f3e2ffb5c}"); } unsafe impl ::windows::core::Vtable for IStorageItemProperties { type Vtable = IStorageItemProperties_Vtbl; @@ -2128,7 +2128,7 @@ impl IStorageItemProperties2 { } } } -::windows::core::interface_hierarchy!(IStorageItemProperties2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageItemProperties2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemProperties { type Error = ::windows::core::Error; fn try_from(value: IStorageItemProperties2) -> ::windows::core::Result { @@ -2160,7 +2160,7 @@ impl ::core::fmt::Debug for IStorageItemProperties2 { } } impl ::windows::core::RuntimeType for IStorageItemProperties2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8e86a951-04b9-4bd2-929d-fef3f71621d0}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8e86a951-04b9-4bd2-929d-fef3f71621d0}"); } unsafe impl ::windows::core::Vtable for IStorageItemProperties2 { type Vtable = IStorageItemProperties2_Vtbl; @@ -2259,7 +2259,7 @@ impl IStorageItemPropertiesWithProvider { } } } -::windows::core::interface_hierarchy!(IStorageItemPropertiesWithProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStorageItemPropertiesWithProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageItemProperties { type Error = ::windows::core::Error; fn try_from(value: IStorageItemPropertiesWithProvider) -> ::windows::core::Result { @@ -2291,7 +2291,7 @@ impl ::core::fmt::Debug for IStorageItemPropertiesWithProvider { } } impl ::windows::core::RuntimeType for IStorageItemPropertiesWithProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{861bf39b-6368-4dee-b40e-74684a5ce714}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{861bf39b-6368-4dee-b40e-74684a5ce714}"); } unsafe impl ::windows::core::Vtable for IStorageItemPropertiesWithProvider { type Vtable = IStorageItemPropertiesWithProvider_Vtbl; @@ -2696,7 +2696,7 @@ impl IStreamedFileDataRequest { unsafe { (::windows::core::Vtable::vtable(this).FailAndClose)(::windows::core::Vtable::as_raw(this), failuremode).ok() } } } -::windows::core::interface_hierarchy!(IStreamedFileDataRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IStreamedFileDataRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IStreamedFileDataRequest { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2709,7 +2709,7 @@ impl ::core::fmt::Debug for IStreamedFileDataRequest { } } impl ::windows::core::RuntimeType for IStreamedFileDataRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1673fcce-dabd-4d50-beee-180b8a8191b6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1673fcce-dabd-4d50-beee-180b8a8191b6}"); } unsafe impl ::windows::core::Vtable for IStreamedFileDataRequest { type Vtable = IStreamedFileDataRequest_Vtbl; @@ -3122,7 +3122,7 @@ impl AppDataPaths { } #[doc(hidden)] pub fn IAppDataPathsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3138,7 +3138,7 @@ impl ::core::fmt::Debug for AppDataPaths { } } impl ::windows::core::RuntimeType for AppDataPaths { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.AppDataPaths;{7301d60a-79a2-48c9-9ec0-3fda092f79e1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AppDataPaths;{7301d60a-79a2-48c9-9ec0-3fda092f79e1})"); } impl ::core::clone::Clone for AppDataPaths { fn clone(&self) -> Self { @@ -3154,7 +3154,7 @@ unsafe impl ::windows::core::Interface for AppDataPaths { impl ::windows::core::RuntimeName for AppDataPaths { const NAME: &'static str = "Windows.Storage.AppDataPaths"; } -::windows::core::interface_hierarchy!(AppDataPaths, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppDataPaths, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppDataPaths {} unsafe impl ::core::marker::Sync for AppDataPaths {} #[doc = "*Required features: `\"Storage\"`*"] @@ -3308,12 +3308,12 @@ impl ApplicationData { } #[doc(hidden)] pub fn IApplicationDataStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IApplicationDataStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3329,7 +3329,7 @@ impl ::core::fmt::Debug for ApplicationData { } } impl ::windows::core::RuntimeType for ApplicationData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationData;{c3da6fb7-b744-4b45-b0b8-223a0938d0dc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationData;{c3da6fb7-b744-4b45-b0b8-223a0938d0dc})"); } impl ::core::clone::Clone for ApplicationData { fn clone(&self) -> Self { @@ -3345,7 +3345,7 @@ unsafe impl ::windows::core::Interface for ApplicationData { impl ::windows::core::RuntimeName for ApplicationData { const NAME: &'static str = "Windows.Storage.ApplicationData"; } -::windows::core::interface_hierarchy!(ApplicationData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationData, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3379,8 +3379,8 @@ impl ApplicationDataCompositeValue { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3484,7 +3484,7 @@ impl ::core::fmt::Debug for ApplicationDataCompositeValue { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ApplicationDataCompositeValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataCompositeValue;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataCompositeValue;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ApplicationDataCompositeValue { @@ -3521,7 +3521,7 @@ impl ::core::iter::IntoIterator for &ApplicationDataCompositeValue { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ApplicationDataCompositeValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationDataCompositeValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -3680,7 +3680,7 @@ impl ::core::fmt::Debug for ApplicationDataContainer { } } impl ::windows::core::RuntimeType for ApplicationDataContainer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataContainer;{c5aefd1e-f467-40ba-8566-ab640a441e1d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataContainer;{c5aefd1e-f467-40ba-8566-ab640a441e1d})"); } impl ::core::clone::Clone for ApplicationDataContainer { fn clone(&self) -> Self { @@ -3696,7 +3696,7 @@ unsafe impl ::windows::core::Interface for ApplicationDataContainer { impl ::windows::core::RuntimeName for ApplicationDataContainer { const NAME: &'static str = "Windows.Storage.ApplicationDataContainer"; } -::windows::core::interface_hierarchy!(ApplicationDataContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationDataContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3828,7 +3828,7 @@ impl ::core::fmt::Debug for ApplicationDataContainerSettings { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for ApplicationDataContainerSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataContainerSettings;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataContainerSettings;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for ApplicationDataContainerSettings { @@ -3865,7 +3865,7 @@ impl ::core::iter::IntoIterator for &ApplicationDataContainerSettings { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(ApplicationDataContainerSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationDataContainerSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -3982,7 +3982,7 @@ impl CachedFileManager { } #[doc(hidden)] pub fn ICachedFileManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4058,12 +4058,12 @@ impl DownloadsFolder { } #[doc(hidden)] pub fn IDownloadsFolderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IDownloadsFolderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4265,7 +4265,7 @@ impl FileIO { } #[doc(hidden)] pub fn IFileIOStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4387,37 +4387,37 @@ impl KnownFolders { } #[doc(hidden)] pub fn IKnownFoldersCameraRollStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKnownFoldersPlaylistsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKnownFoldersSavedPicturesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKnownFoldersStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKnownFoldersStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKnownFoldersStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKnownFoldersStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4569,7 +4569,7 @@ impl PathIO { } #[doc(hidden)] pub fn IPathIOStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4597,7 +4597,7 @@ impl ::core::fmt::Debug for SetVersionDeferral { } } impl ::windows::core::RuntimeType for SetVersionDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SetVersionDeferral;{033508a2-781a-437a-b078-3f32badcfe47})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SetVersionDeferral;{033508a2-781a-437a-b078-3f32badcfe47})"); } impl ::core::clone::Clone for SetVersionDeferral { fn clone(&self) -> Self { @@ -4613,7 +4613,7 @@ unsafe impl ::windows::core::Interface for SetVersionDeferral { impl ::windows::core::RuntimeName for SetVersionDeferral { const NAME: &'static str = "Windows.Storage.SetVersionDeferral"; } -::windows::core::interface_hierarchy!(SetVersionDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SetVersionDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SetVersionDeferral {} unsafe impl ::core::marker::Sync for SetVersionDeferral {} #[doc = "*Required features: `\"Storage\"`*"] @@ -4654,7 +4654,7 @@ impl ::core::fmt::Debug for SetVersionRequest { } } impl ::windows::core::RuntimeType for SetVersionRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SetVersionRequest;{b9c76b9b-1056-4e69-8330-162619956f9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SetVersionRequest;{b9c76b9b-1056-4e69-8330-162619956f9b})"); } impl ::core::clone::Clone for SetVersionRequest { fn clone(&self) -> Self { @@ -4670,7 +4670,7 @@ unsafe impl ::windows::core::Interface for SetVersionRequest { impl ::windows::core::RuntimeName for SetVersionRequest { const NAME: &'static str = "Windows.Storage.SetVersionRequest"; } -::windows::core::interface_hierarchy!(SetVersionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SetVersionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SetVersionRequest {} unsafe impl ::core::marker::Sync for SetVersionRequest {} #[doc = "*Required features: `\"Storage\"`*"] @@ -5127,12 +5127,12 @@ impl StorageFile { } #[doc(hidden)] pub fn IStorageFileStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStorageFileStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5148,7 +5148,7 @@ impl ::core::fmt::Debug for StorageFile { } } impl ::windows::core::RuntimeType for StorageFile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea})"); } impl ::core::clone::Clone for StorageFile { fn clone(&self) -> Self { @@ -5164,7 +5164,7 @@ unsafe impl ::windows::core::Interface for StorageFile { impl ::windows::core::RuntimeName for StorageFile { const NAME: &'static str = "Windows.Storage.StorageFile"; } -::windows::core::interface_hierarchy!(StorageFile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageFile, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Storage_Streams")] impl ::core::convert::TryFrom for Streams::IInputStreamReference { type Error = ::windows::core::Error; @@ -5835,12 +5835,12 @@ impl StorageFolder { } #[doc(hidden)] pub fn IStorageFolderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStorageFolderStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5856,7 +5856,7 @@ impl ::core::fmt::Debug for StorageFolder { } } impl ::windows::core::RuntimeType for StorageFolder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageFolder;{72d1cb78-b3ef-4f75-a80b-6fd9dae2944b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageFolder;{72d1cb78-b3ef-4f75-a80b-6fd9dae2944b})"); } impl ::core::clone::Clone for StorageFolder { fn clone(&self) -> Self { @@ -5872,7 +5872,7 @@ unsafe impl ::windows::core::Interface for StorageFolder { impl ::windows::core::RuntimeName for StorageFolder { const NAME: &'static str = "Windows.Storage.StorageFolder"; } -::windows::core::interface_hierarchy!(StorageFolder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageFolder, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IStorageFolder { type Error = ::windows::core::Error; fn try_from(value: StorageFolder) -> ::windows::core::Result { @@ -6115,12 +6115,12 @@ impl StorageLibrary { } #[doc(hidden)] pub fn IStorageLibraryStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IStorageLibraryStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6136,7 +6136,7 @@ impl ::core::fmt::Debug for StorageLibrary { } } impl ::windows::core::RuntimeType for StorageLibrary { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibrary;{1edd7103-0e5e-4d6c-b5e8-9318983d6a03})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibrary;{1edd7103-0e5e-4d6c-b5e8-9318983d6a03})"); } impl ::core::clone::Clone for StorageLibrary { fn clone(&self) -> Self { @@ -6152,7 +6152,7 @@ unsafe impl ::windows::core::Interface for StorageLibrary { impl ::windows::core::RuntimeName for StorageLibrary { const NAME: &'static str = "Windows.Storage.StorageLibrary"; } -::windows::core::interface_hierarchy!(StorageLibrary, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibrary, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] pub struct StorageLibraryChange(::windows::core::IUnknown); @@ -6207,7 +6207,7 @@ impl ::core::fmt::Debug for StorageLibraryChange { } } impl ::windows::core::RuntimeType for StorageLibraryChange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChange;{00980b23-2be2-4909-aa48-159f5203a51e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChange;{00980b23-2be2-4909-aa48-159f5203a51e})"); } impl ::core::clone::Clone for StorageLibraryChange { fn clone(&self) -> Self { @@ -6223,7 +6223,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryChange { impl ::windows::core::RuntimeName for StorageLibraryChange { const NAME: &'static str = "Windows.Storage.StorageLibraryChange"; } -::windows::core::interface_hierarchy!(StorageLibraryChange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryChange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageLibraryChange {} unsafe impl ::core::marker::Sync for StorageLibraryChange {} #[doc = "*Required features: `\"Storage\"`*"] @@ -6268,7 +6268,7 @@ impl ::core::fmt::Debug for StorageLibraryChangeReader { } } impl ::windows::core::RuntimeType for StorageLibraryChangeReader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeReader;{f205bc83-fca2-41f9-8954-ee2e991eb96f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeReader;{f205bc83-fca2-41f9-8954-ee2e991eb96f})"); } impl ::core::clone::Clone for StorageLibraryChangeReader { fn clone(&self) -> Self { @@ -6284,7 +6284,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryChangeReader { impl ::windows::core::RuntimeName for StorageLibraryChangeReader { const NAME: &'static str = "Windows.Storage.StorageLibraryChangeReader"; } -::windows::core::interface_hierarchy!(StorageLibraryChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryChangeReader, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageLibraryChangeReader {} unsafe impl ::core::marker::Sync for StorageLibraryChangeReader {} #[doc = "*Required features: `\"Storage\"`*"] @@ -6327,7 +6327,7 @@ impl ::core::fmt::Debug for StorageLibraryChangeTracker { } } impl ::windows::core::RuntimeType for StorageLibraryChangeTracker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeTracker;{9e157316-6073-44f6-9681-7492d1286c90})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeTracker;{9e157316-6073-44f6-9681-7492d1286c90})"); } impl ::core::clone::Clone for StorageLibraryChangeTracker { fn clone(&self) -> Self { @@ -6343,7 +6343,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryChangeTracker { impl ::windows::core::RuntimeName for StorageLibraryChangeTracker { const NAME: &'static str = "Windows.Storage.StorageLibraryChangeTracker"; } -::windows::core::interface_hierarchy!(StorageLibraryChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryChangeTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageLibraryChangeTracker {} unsafe impl ::core::marker::Sync for StorageLibraryChangeTracker {} #[doc = "*Required features: `\"Storage\"`*"] @@ -6353,8 +6353,8 @@ impl StorageLibraryChangeTrackerOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TrackChangeDetails(&self) -> ::windows::core::Result { @@ -6381,7 +6381,7 @@ impl ::core::fmt::Debug for StorageLibraryChangeTrackerOptions { } } impl ::windows::core::RuntimeType for StorageLibraryChangeTrackerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeTrackerOptions;{bb52bcd4-1a6d-59c0-ad2a-823a20532483})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeTrackerOptions;{bb52bcd4-1a6d-59c0-ad2a-823a20532483})"); } impl ::core::clone::Clone for StorageLibraryChangeTrackerOptions { fn clone(&self) -> Self { @@ -6397,7 +6397,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryChangeTrackerOptions { impl ::windows::core::RuntimeName for StorageLibraryChangeTrackerOptions { const NAME: &'static str = "Windows.Storage.StorageLibraryChangeTrackerOptions"; } -::windows::core::interface_hierarchy!(StorageLibraryChangeTrackerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryChangeTrackerOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageLibraryChangeTrackerOptions {} unsafe impl ::core::marker::Sync for StorageLibraryChangeTrackerOptions {} #[doc = "*Required features: `\"Storage\"`*"] @@ -6412,7 +6412,7 @@ impl StorageLibraryLastChangeId { } #[doc(hidden)] pub fn IStorageLibraryLastChangeIdStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6428,7 +6428,7 @@ impl ::core::fmt::Debug for StorageLibraryLastChangeId { } } impl ::windows::core::RuntimeType for StorageLibraryLastChangeId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryLastChangeId;{5281826a-bbe1-53bc-82ca-81cc7f039329})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryLastChangeId;{5281826a-bbe1-53bc-82ca-81cc7f039329})"); } impl ::core::clone::Clone for StorageLibraryLastChangeId { fn clone(&self) -> Self { @@ -6444,7 +6444,7 @@ unsafe impl ::windows::core::Interface for StorageLibraryLastChangeId { impl ::windows::core::RuntimeName for StorageLibraryLastChangeId { const NAME: &'static str = "Windows.Storage.StorageLibraryLastChangeId"; } -::windows::core::interface_hierarchy!(StorageLibraryLastChangeId, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageLibraryLastChangeId, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StorageLibraryLastChangeId {} unsafe impl ::core::marker::Sync for StorageLibraryLastChangeId {} #[doc = "*Required features: `\"Storage\"`*"] @@ -6487,7 +6487,7 @@ impl ::core::fmt::Debug for StorageProvider { } } impl ::windows::core::RuntimeType for StorageProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageProvider;{e705eed4-d478-47d6-ba46-1a8ebe114a20})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageProvider;{e705eed4-d478-47d6-ba46-1a8ebe114a20})"); } impl ::core::clone::Clone for StorageProvider { fn clone(&self) -> Self { @@ -6503,7 +6503,7 @@ unsafe impl ::windows::core::Interface for StorageProvider { impl ::windows::core::RuntimeName for StorageProvider { const NAME: &'static str = "Windows.Storage.StorageProvider"; } -::windows::core::interface_hierarchy!(StorageProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] pub struct StorageStreamTransaction(::windows::core::IUnknown); @@ -6545,7 +6545,7 @@ impl ::core::fmt::Debug for StorageStreamTransaction { } } impl ::windows::core::RuntimeType for StorageStreamTransaction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageStreamTransaction;{f67cf363-a53d-4d94-ae2c-67232d93acdd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageStreamTransaction;{f67cf363-a53d-4d94-ae2c-67232d93acdd})"); } impl ::core::clone::Clone for StorageStreamTransaction { fn clone(&self) -> Self { @@ -6561,7 +6561,7 @@ unsafe impl ::windows::core::Interface for StorageStreamTransaction { impl ::windows::core::RuntimeName for StorageStreamTransaction { const NAME: &'static str = "Windows.Storage.StorageStreamTransaction"; } -::windows::core::interface_hierarchy!(StorageStreamTransaction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StorageStreamTransaction, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6639,7 +6639,7 @@ impl ::core::fmt::Debug for StreamedFileDataRequest { } #[cfg(feature = "Storage_Streams")] impl ::windows::core::RuntimeType for StreamedFileDataRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.StreamedFileDataRequest;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StreamedFileDataRequest;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); } #[cfg(feature = "Storage_Streams")] impl ::core::clone::Clone for StreamedFileDataRequest { @@ -6660,7 +6660,7 @@ impl ::windows::core::RuntimeName for StreamedFileDataRequest { const NAME: &'static str = "Windows.Storage.StreamedFileDataRequest"; } #[cfg(feature = "Storage_Streams")] -::windows::core::interface_hierarchy!(StreamedFileDataRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StreamedFileDataRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation", feature = "Storage_Streams"))] impl ::core::convert::TryFrom for super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -6751,7 +6751,7 @@ impl ::core::fmt::Debug for SystemAudioProperties { } } impl ::windows::core::RuntimeType for SystemAudioProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemAudioProperties;{3f8f38b7-308c-47e1-924d-8645348e5db7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemAudioProperties;{3f8f38b7-308c-47e1-924d-8645348e5db7})"); } impl ::core::clone::Clone for SystemAudioProperties { fn clone(&self) -> Self { @@ -6767,7 +6767,7 @@ unsafe impl ::windows::core::Interface for SystemAudioProperties { impl ::windows::core::RuntimeName for SystemAudioProperties { const NAME: &'static str = "Windows.Storage.SystemAudioProperties"; } -::windows::core::interface_hierarchy!(SystemAudioProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemAudioProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemAudioProperties {} unsafe impl ::core::marker::Sync for SystemAudioProperties {} #[doc = "*Required features: `\"Storage\"`*"] @@ -6894,7 +6894,7 @@ impl SystemDataPaths { } #[doc(hidden)] pub fn ISystemDataPathsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6910,7 +6910,7 @@ impl ::core::fmt::Debug for SystemDataPaths { } } impl ::windows::core::RuntimeType for SystemDataPaths { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemDataPaths;{e32abf70-d8fa-45ec-a942-d2e26fb60ba5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemDataPaths;{e32abf70-d8fa-45ec-a942-d2e26fb60ba5})"); } impl ::core::clone::Clone for SystemDataPaths { fn clone(&self) -> Self { @@ -6926,7 +6926,7 @@ unsafe impl ::windows::core::Interface for SystemDataPaths { impl ::windows::core::RuntimeName for SystemDataPaths { const NAME: &'static str = "Windows.Storage.SystemDataPaths"; } -::windows::core::interface_hierarchy!(SystemDataPaths, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemDataPaths, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemDataPaths {} unsafe impl ::core::marker::Sync for SystemDataPaths {} #[doc = "*Required features: `\"Storage\"`*"] @@ -6960,7 +6960,7 @@ impl ::core::fmt::Debug for SystemGPSProperties { } } impl ::windows::core::RuntimeType for SystemGPSProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemGPSProperties;{c0f46eb4-c174-481a-bc25-921986f6a6f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemGPSProperties;{c0f46eb4-c174-481a-bc25-921986f6a6f3})"); } impl ::core::clone::Clone for SystemGPSProperties { fn clone(&self) -> Self { @@ -6976,7 +6976,7 @@ unsafe impl ::windows::core::Interface for SystemGPSProperties { impl ::windows::core::RuntimeName for SystemGPSProperties { const NAME: &'static str = "Windows.Storage.SystemGPSProperties"; } -::windows::core::interface_hierarchy!(SystemGPSProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemGPSProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemGPSProperties {} unsafe impl ::core::marker::Sync for SystemGPSProperties {} #[doc = "*Required features: `\"Storage\"`*"] @@ -7010,7 +7010,7 @@ impl ::core::fmt::Debug for SystemImageProperties { } } impl ::windows::core::RuntimeType for SystemImageProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemImageProperties;{011b2e30-8b39-4308-bea1-e8aa61e47826})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemImageProperties;{011b2e30-8b39-4308-bea1-e8aa61e47826})"); } impl ::core::clone::Clone for SystemImageProperties { fn clone(&self) -> Self { @@ -7026,7 +7026,7 @@ unsafe impl ::windows::core::Interface for SystemImageProperties { impl ::windows::core::RuntimeName for SystemImageProperties { const NAME: &'static str = "Windows.Storage.SystemImageProperties"; } -::windows::core::interface_hierarchy!(SystemImageProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemImageProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemImageProperties {} unsafe impl ::core::marker::Sync for SystemImageProperties {} #[doc = "*Required features: `\"Storage\"`*"] @@ -7088,7 +7088,7 @@ impl ::core::fmt::Debug for SystemMediaProperties { } } impl ::windows::core::RuntimeType for SystemMediaProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemMediaProperties;{a42b3316-8415-40dc-8c44-98361d235430})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemMediaProperties;{a42b3316-8415-40dc-8c44-98361d235430})"); } impl ::core::clone::Clone for SystemMediaProperties { fn clone(&self) -> Self { @@ -7104,7 +7104,7 @@ unsafe impl ::windows::core::Interface for SystemMediaProperties { impl ::windows::core::RuntimeName for SystemMediaProperties { const NAME: &'static str = "Windows.Storage.SystemMediaProperties"; } -::windows::core::interface_hierarchy!(SystemMediaProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMediaProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMediaProperties {} unsafe impl ::core::marker::Sync for SystemMediaProperties {} #[doc = "*Required features: `\"Storage\"`*"] @@ -7180,7 +7180,7 @@ impl ::core::fmt::Debug for SystemMusicProperties { } } impl ::windows::core::RuntimeType for SystemMusicProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemMusicProperties;{b47988d5-67af-4bc3-8d39-5b89022026a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemMusicProperties;{b47988d5-67af-4bc3-8d39-5b89022026a1})"); } impl ::core::clone::Clone for SystemMusicProperties { fn clone(&self) -> Self { @@ -7196,7 +7196,7 @@ unsafe impl ::windows::core::Interface for SystemMusicProperties { impl ::windows::core::RuntimeName for SystemMusicProperties { const NAME: &'static str = "Windows.Storage.SystemMusicProperties"; } -::windows::core::interface_hierarchy!(SystemMusicProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMusicProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMusicProperties {} unsafe impl ::core::marker::Sync for SystemMusicProperties {} #[doc = "*Required features: `\"Storage\"`*"] @@ -7251,7 +7251,7 @@ impl ::core::fmt::Debug for SystemPhotoProperties { } } impl ::windows::core::RuntimeType for SystemPhotoProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemPhotoProperties;{4734fc3d-ab21-4424-b735-f4353a56c8fc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemPhotoProperties;{4734fc3d-ab21-4424-b735-f4353a56c8fc})"); } impl ::core::clone::Clone for SystemPhotoProperties { fn clone(&self) -> Self { @@ -7267,7 +7267,7 @@ unsafe impl ::windows::core::Interface for SystemPhotoProperties { impl ::windows::core::RuntimeName for SystemPhotoProperties { const NAME: &'static str = "Windows.Storage.SystemPhotoProperties"; } -::windows::core::interface_hierarchy!(SystemPhotoProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemPhotoProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemPhotoProperties {} unsafe impl ::core::marker::Sync for SystemPhotoProperties {} #[doc = "*Required features: `\"Storage\"`*"] @@ -7353,7 +7353,7 @@ impl SystemProperties { } #[doc(hidden)] pub fn ISystemProperties ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7412,7 +7412,7 @@ impl ::core::fmt::Debug for SystemVideoProperties { } } impl ::windows::core::RuntimeType for SystemVideoProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemVideoProperties;{2040f715-67f8-4322-9b80-4fa9fefb83e8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemVideoProperties;{2040f715-67f8-4322-9b80-4fa9fefb83e8})"); } impl ::core::clone::Clone for SystemVideoProperties { fn clone(&self) -> Self { @@ -7428,7 +7428,7 @@ unsafe impl ::windows::core::Interface for SystemVideoProperties { impl ::windows::core::RuntimeName for SystemVideoProperties { const NAME: &'static str = "Windows.Storage.SystemVideoProperties"; } -::windows::core::interface_hierarchy!(SystemVideoProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemVideoProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemVideoProperties {} unsafe impl ::core::marker::Sync for SystemVideoProperties {} #[doc = "*Required features: `\"Storage\"`*"] @@ -7584,7 +7584,7 @@ impl UserDataPaths { } #[doc(hidden)] pub fn IUserDataPathsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7600,7 +7600,7 @@ impl ::core::fmt::Debug for UserDataPaths { } } impl ::windows::core::RuntimeType for UserDataPaths { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Storage.UserDataPaths;{f9c53912-abc4-46ff-8a2b-dc9d7fa6e52f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.UserDataPaths;{f9c53912-abc4-46ff-8a2b-dc9d7fa6e52f})"); } impl ::core::clone::Clone for UserDataPaths { fn clone(&self) -> Self { @@ -7616,7 +7616,7 @@ unsafe impl ::windows::core::Interface for UserDataPaths { impl ::windows::core::RuntimeName for UserDataPaths { const NAME: &'static str = "Windows.Storage.UserDataPaths"; } -::windows::core::interface_hierarchy!(UserDataPaths, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDataPaths, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDataPaths {} unsafe impl ::core::marker::Sync for UserDataPaths {} #[doc = "*Required features: `\"Storage\"`*"] @@ -7647,7 +7647,7 @@ impl ::core::fmt::Debug for ApplicationDataCreateDisposition { } } impl ::windows::core::RuntimeType for ApplicationDataCreateDisposition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.ApplicationDataCreateDisposition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.ApplicationDataCreateDisposition;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7680,7 +7680,7 @@ impl ::core::fmt::Debug for ApplicationDataLocality { } } impl ::windows::core::RuntimeType for ApplicationDataLocality { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.ApplicationDataLocality;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.ApplicationDataLocality;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7712,7 +7712,7 @@ impl ::core::fmt::Debug for CreationCollisionOption { } } impl ::windows::core::RuntimeType for CreationCollisionOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.CreationCollisionOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.CreationCollisionOption;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7742,7 +7742,7 @@ impl ::core::fmt::Debug for FileAccessMode { } } impl ::windows::core::RuntimeType for FileAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.FileAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.FileAccessMode;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7809,7 +7809,7 @@ impl ::core::ops::Not for FileAttributes { } } impl ::windows::core::RuntimeType for FileAttributes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.FileAttributes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.FileAttributes;u4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7854,7 +7854,7 @@ impl ::core::fmt::Debug for KnownFolderId { } } impl ::windows::core::RuntimeType for KnownFolderId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.KnownFolderId;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.KnownFolderId;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7888,7 +7888,7 @@ impl ::core::fmt::Debug for KnownFoldersAccessStatus { } } impl ::windows::core::RuntimeType for KnownFoldersAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.KnownFoldersAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.KnownFoldersAccessStatus;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7920,7 +7920,7 @@ impl ::core::fmt::Debug for KnownLibraryId { } } impl ::windows::core::RuntimeType for KnownLibraryId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.KnownLibraryId;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.KnownLibraryId;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7951,7 +7951,7 @@ impl ::core::fmt::Debug for NameCollisionOption { } } impl ::windows::core::RuntimeType for NameCollisionOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.NameCollisionOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.NameCollisionOption;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -7981,7 +7981,7 @@ impl ::core::fmt::Debug for StorageDeleteOption { } } impl ::windows::core::RuntimeType for StorageDeleteOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.StorageDeleteOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.StorageDeleteOption;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -8045,7 +8045,7 @@ impl ::core::ops::Not for StorageItemTypes { } } impl ::windows::core::RuntimeType for StorageItemTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.StorageItemTypes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.StorageItemTypes;u4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -8083,7 +8083,7 @@ impl ::core::fmt::Debug for StorageLibraryChangeType { } } impl ::windows::core::RuntimeType for StorageLibraryChangeType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.StorageLibraryChangeType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.StorageLibraryChangeType;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -8147,7 +8147,7 @@ impl ::core::ops::Not for StorageOpenOptions { } } impl ::windows::core::RuntimeType for StorageOpenOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.StorageOpenOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.StorageOpenOptions;u4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] @@ -8178,15 +8178,15 @@ impl ::core::fmt::Debug for StreamedFileFailureMode { } } impl ::windows::core::RuntimeType for StreamedFileFailureMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Storage.StreamedFileFailureMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.StreamedFileFailureMode;i4)"); } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] pub struct ApplicationDataSetVersionHandler(pub ::windows::core::IUnknown); impl ApplicationDataSetVersionHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = ApplicationDataSetVersionHandlerBox:: { vtable: &ApplicationDataSetVersionHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = ApplicationDataSetVersionHandlerBox:: { vtable: &ApplicationDataSetVersionHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, setversionrequest: &SetVersionRequest) -> ::windows::core::Result<()> { let this = self; @@ -8197,7 +8197,7 @@ impl ApplicationDataSetVersionHandler { struct ApplicationDataSetVersionHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const ApplicationDataSetVersionHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> ApplicationDataSetVersionHandlerBox { const VTABLE: ApplicationDataSetVersionHandler_Vtbl = ApplicationDataSetVersionHandler_Vtbl { @@ -8206,7 +8206,7 @@ impl) -> ::windows::core::Re }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -8222,7 +8222,7 @@ impl) -> ::windows::core::Re let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -8254,7 +8254,7 @@ unsafe impl ::windows::core::Interface for ApplicationDataSetVersionHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa05791e6_cc9f_4687_acab_a364fd785463); } impl ::windows::core::RuntimeType for ApplicationDataSetVersionHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a05791e6-cc9f-4687-acab-a364fd785463}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a05791e6-cc9f-4687-acab-a364fd785463}"); } #[repr(C)] #[doc(hidden)] @@ -8269,8 +8269,8 @@ pub struct StreamedFileDataRequestedHandler(pub ::windows::core::IUnknown); #[cfg(feature = "Storage_Streams")] impl StreamedFileDataRequestedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = StreamedFileDataRequestedHandlerBox:: { vtable: &StreamedFileDataRequestedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = StreamedFileDataRequestedHandlerBox:: { vtable: &StreamedFileDataRequestedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[cfg(feature = "Storage_Streams")] @@ -8284,7 +8284,7 @@ impl StreamedFileDataRequestedHandler { struct StreamedFileDataRequestedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const StreamedFileDataRequestedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "Storage_Streams")] impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> StreamedFileDataRequestedHandlerBox { @@ -8294,7 +8294,7 @@ impl) -> ::windows::co }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -8310,7 +8310,7 @@ impl) -> ::windows::co let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -8349,7 +8349,7 @@ unsafe impl ::windows::core::Interface for StreamedFileDataRequestedHandler { } #[cfg(feature = "Storage_Streams")] impl ::windows::core::RuntimeType for StreamedFileDataRequestedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{fef6a824-2fe1-4d07-a35b-b77c50b5f4cc}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{fef6a824-2fe1-4d07-a35b-b77c50b5f4cc}"); } #[cfg(feature = "Storage_Streams")] #[repr(C)] diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs index 9cf3358280..970f19d6bc 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs @@ -259,7 +259,7 @@ impl DevicePortalConnection { } #[doc(hidden)] pub fn IDevicePortalConnectionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -275,7 +275,7 @@ impl ::core::fmt::Debug for DevicePortalConnection { } } impl ::windows::core::RuntimeType for DevicePortalConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnection;{0f447f51-1198-4da1-8d54-bdef393e09b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnection;{0f447f51-1198-4da1-8d54-bdef393e09b6})"); } impl ::core::clone::Clone for DevicePortalConnection { fn clone(&self) -> Self { @@ -291,7 +291,7 @@ unsafe impl ::windows::core::Interface for DevicePortalConnection { impl ::windows::core::RuntimeName for DevicePortalConnection { const NAME: &'static str = "Windows.System.Diagnostics.DevicePortal.DevicePortalConnection"; } -::windows::core::interface_hierarchy!(DevicePortalConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePortalConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DevicePortalConnection {} unsafe impl ::core::marker::Sync for DevicePortalConnection {} #[doc = "*Required features: `\"System_Diagnostics_DevicePortal\"`*"] @@ -318,7 +318,7 @@ impl ::core::fmt::Debug for DevicePortalConnectionClosedEventArgs { } } impl ::windows::core::RuntimeType for DevicePortalConnectionClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs;{fcf70e38-7032-428c-9f50-945c15a9f0cb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs;{fcf70e38-7032-428c-9f50-945c15a9f0cb})"); } impl ::core::clone::Clone for DevicePortalConnectionClosedEventArgs { fn clone(&self) -> Self { @@ -334,7 +334,7 @@ unsafe impl ::windows::core::Interface for DevicePortalConnectionClosedEventArgs impl ::windows::core::RuntimeName for DevicePortalConnectionClosedEventArgs { const NAME: &'static str = "Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs"; } -::windows::core::interface_hierarchy!(DevicePortalConnectionClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePortalConnectionClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DevicePortalConnectionClosedEventArgs {} unsafe impl ::core::marker::Sync for DevicePortalConnectionClosedEventArgs {} #[doc = "*Required features: `\"System_Diagnostics_DevicePortal\"`*"] @@ -397,7 +397,7 @@ impl ::core::fmt::Debug for DevicePortalConnectionRequestReceivedEventArgs { } } impl ::windows::core::RuntimeType for DevicePortalConnectionRequestReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs;{64dae045-6fda-4459-9ebd-ecce22e38559})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs;{64dae045-6fda-4459-9ebd-ecce22e38559})"); } impl ::core::clone::Clone for DevicePortalConnectionRequestReceivedEventArgs { fn clone(&self) -> Self { @@ -413,7 +413,7 @@ unsafe impl ::windows::core::Interface for DevicePortalConnectionRequestReceived impl ::windows::core::RuntimeName for DevicePortalConnectionRequestReceivedEventArgs { const NAME: &'static str = "Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs"; } -::windows::core::interface_hierarchy!(DevicePortalConnectionRequestReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DevicePortalConnectionRequestReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DevicePortalConnectionRequestReceivedEventArgs {} unsafe impl ::core::marker::Sync for DevicePortalConnectionRequestReceivedEventArgs {} #[doc = "*Required features: `\"System_Diagnostics_DevicePortal\"`*"] @@ -448,7 +448,7 @@ impl ::core::fmt::Debug for DevicePortalConnectionClosedReason { } } impl ::windows::core::RuntimeType for DevicePortalConnectionClosedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedReason;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs index ae95efac1a..7c96ef448e 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs @@ -79,7 +79,7 @@ impl PlatformTelemetryClient { } #[doc(hidden)] pub fn IPlatformTelemetryClientStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -110,7 +110,7 @@ impl ::core::fmt::Debug for PlatformTelemetryRegistrationResult { } } impl ::windows::core::RuntimeType for PlatformTelemetryRegistrationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationResult;{4d8518ab-2292-49bd-a15a-3d71d2145112})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationResult;{4d8518ab-2292-49bd-a15a-3d71d2145112})"); } impl ::core::clone::Clone for PlatformTelemetryRegistrationResult { fn clone(&self) -> Self { @@ -126,7 +126,7 @@ unsafe impl ::windows::core::Interface for PlatformTelemetryRegistrationResult { impl ::windows::core::RuntimeName for PlatformTelemetryRegistrationResult { const NAME: &'static str = "Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationResult"; } -::windows::core::interface_hierarchy!(PlatformTelemetryRegistrationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlatformTelemetryRegistrationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlatformTelemetryRegistrationResult {} unsafe impl ::core::marker::Sync for PlatformTelemetryRegistrationResult {} #[doc = "*Required features: `\"System_Diagnostics_Telemetry\"`*"] @@ -136,8 +136,8 @@ impl PlatformTelemetryRegistrationSettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn StorageSize(&self) -> ::windows::core::Result { @@ -175,7 +175,7 @@ impl ::core::fmt::Debug for PlatformTelemetryRegistrationSettings { } } impl ::windows::core::RuntimeType for PlatformTelemetryRegistrationSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings;{819a8582-ca19-415e-bb79-9c224bfa3a73})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings;{819a8582-ca19-415e-bb79-9c224bfa3a73})"); } impl ::core::clone::Clone for PlatformTelemetryRegistrationSettings { fn clone(&self) -> Self { @@ -191,7 +191,7 @@ unsafe impl ::windows::core::Interface for PlatformTelemetryRegistrationSettings impl ::windows::core::RuntimeName for PlatformTelemetryRegistrationSettings { const NAME: &'static str = "Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings"; } -::windows::core::interface_hierarchy!(PlatformTelemetryRegistrationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlatformTelemetryRegistrationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlatformTelemetryRegistrationSettings {} unsafe impl ::core::marker::Sync for PlatformTelemetryRegistrationSettings {} #[doc = "*Required features: `\"System_Diagnostics_Telemetry\"`*"] @@ -223,7 +223,7 @@ impl ::core::fmt::Debug for PlatformTelemetryRegistrationStatus { } } impl ::windows::core::RuntimeType for PlatformTelemetryRegistrationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs index c6fff256ac..0e6e5562f4 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs @@ -143,7 +143,7 @@ impl PlatformDiagnosticActions { } #[doc(hidden)] pub fn IPlatformDiagnosticActionsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -209,7 +209,7 @@ impl ::core::fmt::Debug for PlatformDiagnosticTraceInfo { } } impl ::windows::core::RuntimeType for PlatformDiagnosticTraceInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo;{f870ed97-d597-4bf7-88dc-cf5c7dc2a1d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo;{f870ed97-d597-4bf7-88dc-cf5c7dc2a1d2})"); } impl ::core::clone::Clone for PlatformDiagnosticTraceInfo { fn clone(&self) -> Self { @@ -225,7 +225,7 @@ unsafe impl ::windows::core::Interface for PlatformDiagnosticTraceInfo { impl ::windows::core::RuntimeName for PlatformDiagnosticTraceInfo { const NAME: &'static str = "Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo"; } -::windows::core::interface_hierarchy!(PlatformDiagnosticTraceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlatformDiagnosticTraceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlatformDiagnosticTraceInfo {} unsafe impl ::core::marker::Sync for PlatformDiagnosticTraceInfo {} #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] @@ -259,7 +259,7 @@ impl ::core::fmt::Debug for PlatformDiagnosticTraceRuntimeInfo { } } impl ::windows::core::RuntimeType for PlatformDiagnosticTraceRuntimeInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceRuntimeInfo;{3d4d5e2d-01d8-4768-8554-1eb1ca610986})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceRuntimeInfo;{3d4d5e2d-01d8-4768-8554-1eb1ca610986})"); } impl ::core::clone::Clone for PlatformDiagnosticTraceRuntimeInfo { fn clone(&self) -> Self { @@ -275,7 +275,7 @@ unsafe impl ::windows::core::Interface for PlatformDiagnosticTraceRuntimeInfo { impl ::windows::core::RuntimeName for PlatformDiagnosticTraceRuntimeInfo { const NAME: &'static str = "Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceRuntimeInfo"; } -::windows::core::interface_hierarchy!(PlatformDiagnosticTraceRuntimeInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PlatformDiagnosticTraceRuntimeInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PlatformDiagnosticTraceRuntimeInfo {} unsafe impl ::core::marker::Sync for PlatformDiagnosticTraceRuntimeInfo {} #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] @@ -307,7 +307,7 @@ impl ::core::fmt::Debug for PlatformDiagnosticActionState { } } impl ::windows::core::RuntimeType for PlatformDiagnosticActionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActionState;i4)"); } #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] #[repr(transparent)] @@ -337,7 +337,7 @@ impl ::core::fmt::Debug for PlatformDiagnosticEscalationType { } } impl ::windows::core::RuntimeType for PlatformDiagnosticEscalationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticEscalationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticEscalationType;i4)"); } #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] #[repr(transparent)] @@ -401,7 +401,7 @@ impl ::core::ops::Not for PlatformDiagnosticEventBufferLatencies { } } impl ::windows::core::RuntimeType for PlatformDiagnosticEventBufferLatencies { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticEventBufferLatencies;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticEventBufferLatencies;u4)"); } #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] #[repr(transparent)] @@ -431,7 +431,7 @@ impl ::core::fmt::Debug for PlatformDiagnosticTracePriority { } } impl ::windows::core::RuntimeType for PlatformDiagnosticTracePriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTracePriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTracePriority;i4)"); } #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] #[repr(transparent)] @@ -462,7 +462,7 @@ impl ::core::fmt::Debug for PlatformDiagnosticTraceSlotState { } } impl ::windows::core::RuntimeType for PlatformDiagnosticTraceSlotState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotState;i4)"); } #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] #[repr(transparent)] @@ -493,7 +493,7 @@ impl ::core::fmt::Debug for PlatformDiagnosticTraceSlotType { } } impl ::windows::core::RuntimeType for PlatformDiagnosticTraceSlotType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs index 9190d2a5db..a55ceb0b1b 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs @@ -524,7 +524,7 @@ impl ::core::fmt::Debug for DiagnosticActionResult { } } impl ::windows::core::RuntimeType for DiagnosticActionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DiagnosticActionResult;{c265a296-e73b-4097-b28f-3442f03dd831})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DiagnosticActionResult;{c265a296-e73b-4097-b28f-3442f03dd831})"); } impl ::core::clone::Clone for DiagnosticActionResult { fn clone(&self) -> Self { @@ -540,7 +540,7 @@ unsafe impl ::windows::core::Interface for DiagnosticActionResult { impl ::windows::core::RuntimeName for DiagnosticActionResult { const NAME: &'static str = "Windows.System.Diagnostics.DiagnosticActionResult"; } -::windows::core::interface_hierarchy!(DiagnosticActionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DiagnosticActionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DiagnosticActionResult {} unsafe impl ::core::marker::Sync for DiagnosticActionResult {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -585,7 +585,7 @@ impl DiagnosticInvoker { } #[doc(hidden)] pub fn IDiagnosticInvokerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -601,7 +601,7 @@ impl ::core::fmt::Debug for DiagnosticInvoker { } } impl ::windows::core::RuntimeType for DiagnosticInvoker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DiagnosticInvoker;{187b270a-02e3-4f86-84fc-fdd892b5940f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DiagnosticInvoker;{187b270a-02e3-4f86-84fc-fdd892b5940f})"); } impl ::core::clone::Clone for DiagnosticInvoker { fn clone(&self) -> Self { @@ -617,7 +617,7 @@ unsafe impl ::windows::core::Interface for DiagnosticInvoker { impl ::windows::core::RuntimeName for DiagnosticInvoker { const NAME: &'static str = "Windows.System.Diagnostics.DiagnosticInvoker"; } -::windows::core::interface_hierarchy!(DiagnosticInvoker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DiagnosticInvoker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DiagnosticInvoker {} unsafe impl ::core::marker::Sync for DiagnosticInvoker {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -644,7 +644,7 @@ impl ::core::fmt::Debug for ProcessCpuUsage { } } impl ::windows::core::RuntimeType for ProcessCpuUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessCpuUsage;{0bbb2472-c8bf-423a-a810-b559ae4354e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessCpuUsage;{0bbb2472-c8bf-423a-a810-b559ae4354e2})"); } impl ::core::clone::Clone for ProcessCpuUsage { fn clone(&self) -> Self { @@ -660,7 +660,7 @@ unsafe impl ::windows::core::Interface for ProcessCpuUsage { impl ::windows::core::RuntimeName for ProcessCpuUsage { const NAME: &'static str = "Windows.System.Diagnostics.ProcessCpuUsage"; } -::windows::core::interface_hierarchy!(ProcessCpuUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessCpuUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessCpuUsage {} unsafe impl ::core::marker::Sync for ProcessCpuUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -698,7 +698,7 @@ impl ::core::fmt::Debug for ProcessCpuUsageReport { } } impl ::windows::core::RuntimeType for ProcessCpuUsageReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessCpuUsageReport;{8a6d9cac-3987-4e2f-a119-6b5fa214f1b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessCpuUsageReport;{8a6d9cac-3987-4e2f-a119-6b5fa214f1b4})"); } impl ::core::clone::Clone for ProcessCpuUsageReport { fn clone(&self) -> Self { @@ -714,7 +714,7 @@ unsafe impl ::windows::core::Interface for ProcessCpuUsageReport { impl ::windows::core::RuntimeName for ProcessCpuUsageReport { const NAME: &'static str = "Windows.System.Diagnostics.ProcessCpuUsageReport"; } -::windows::core::interface_hierarchy!(ProcessCpuUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessCpuUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessCpuUsageReport {} unsafe impl ::core::marker::Sync for ProcessCpuUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -810,12 +810,12 @@ impl ProcessDiagnosticInfo { } #[doc(hidden)] pub fn IProcessDiagnosticInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IProcessDiagnosticInfoStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -831,7 +831,7 @@ impl ::core::fmt::Debug for ProcessDiagnosticInfo { } } impl ::windows::core::RuntimeType for ProcessDiagnosticInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiagnosticInfo;{e830b04b-300e-4ee6-a0ab-5b5f5231b434})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiagnosticInfo;{e830b04b-300e-4ee6-a0ab-5b5f5231b434})"); } impl ::core::clone::Clone for ProcessDiagnosticInfo { fn clone(&self) -> Self { @@ -847,7 +847,7 @@ unsafe impl ::windows::core::Interface for ProcessDiagnosticInfo { impl ::windows::core::RuntimeName for ProcessDiagnosticInfo { const NAME: &'static str = "Windows.System.Diagnostics.ProcessDiagnosticInfo"; } -::windows::core::interface_hierarchy!(ProcessDiagnosticInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessDiagnosticInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessDiagnosticInfo {} unsafe impl ::core::marker::Sync for ProcessDiagnosticInfo {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -874,7 +874,7 @@ impl ::core::fmt::Debug for ProcessDiskUsage { } } impl ::windows::core::RuntimeType for ProcessDiskUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiskUsage;{5ad78bfd-7e51-4e53-bfaa-5a6ee1aabbf8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiskUsage;{5ad78bfd-7e51-4e53-bfaa-5a6ee1aabbf8})"); } impl ::core::clone::Clone for ProcessDiskUsage { fn clone(&self) -> Self { @@ -890,7 +890,7 @@ unsafe impl ::windows::core::Interface for ProcessDiskUsage { impl ::windows::core::RuntimeName for ProcessDiskUsage { const NAME: &'static str = "Windows.System.Diagnostics.ProcessDiskUsage"; } -::windows::core::interface_hierarchy!(ProcessDiskUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessDiskUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessDiskUsage {} unsafe impl ::core::marker::Sync for ProcessDiskUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -952,7 +952,7 @@ impl ::core::fmt::Debug for ProcessDiskUsageReport { } } impl ::windows::core::RuntimeType for ProcessDiskUsageReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiskUsageReport;{401627fd-535d-4c1f-81b8-da54e1be635e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiskUsageReport;{401627fd-535d-4c1f-81b8-da54e1be635e})"); } impl ::core::clone::Clone for ProcessDiskUsageReport { fn clone(&self) -> Self { @@ -968,7 +968,7 @@ unsafe impl ::windows::core::Interface for ProcessDiskUsageReport { impl ::windows::core::RuntimeName for ProcessDiskUsageReport { const NAME: &'static str = "Windows.System.Diagnostics.ProcessDiskUsageReport"; } -::windows::core::interface_hierarchy!(ProcessDiskUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessDiskUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessDiskUsageReport {} unsafe impl ::core::marker::Sync for ProcessDiskUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -995,7 +995,7 @@ impl ::core::fmt::Debug for ProcessMemoryUsage { } } impl ::windows::core::RuntimeType for ProcessMemoryUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessMemoryUsage;{f50b229b-827c-42b7-b07c-0e32627e6b3e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessMemoryUsage;{f50b229b-827c-42b7-b07c-0e32627e6b3e})"); } impl ::core::clone::Clone for ProcessMemoryUsage { fn clone(&self) -> Self { @@ -1011,7 +1011,7 @@ unsafe impl ::windows::core::Interface for ProcessMemoryUsage { impl ::windows::core::RuntimeName for ProcessMemoryUsage { const NAME: &'static str = "Windows.System.Diagnostics.ProcessMemoryUsage"; } -::windows::core::interface_hierarchy!(ProcessMemoryUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessMemoryUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessMemoryUsage {} unsafe impl ::core::marker::Sync for ProcessMemoryUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -1115,7 +1115,7 @@ impl ::core::fmt::Debug for ProcessMemoryUsageReport { } } impl ::windows::core::RuntimeType for ProcessMemoryUsageReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessMemoryUsageReport;{c2c77cba-1951-4685-8532-7e749ecf8eeb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessMemoryUsageReport;{c2c77cba-1951-4685-8532-7e749ecf8eeb})"); } impl ::core::clone::Clone for ProcessMemoryUsageReport { fn clone(&self) -> Self { @@ -1131,7 +1131,7 @@ unsafe impl ::windows::core::Interface for ProcessMemoryUsageReport { impl ::windows::core::RuntimeName for ProcessMemoryUsageReport { const NAME: &'static str = "Windows.System.Diagnostics.ProcessMemoryUsageReport"; } -::windows::core::interface_hierarchy!(ProcessMemoryUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessMemoryUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessMemoryUsageReport {} unsafe impl ::core::marker::Sync for ProcessMemoryUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -1158,7 +1158,7 @@ impl ::core::fmt::Debug for SystemCpuUsage { } } impl ::windows::core::RuntimeType for SystemCpuUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemCpuUsage;{6037b3ac-02d6-4234-8362-7fe3adc81f5f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemCpuUsage;{6037b3ac-02d6-4234-8362-7fe3adc81f5f})"); } impl ::core::clone::Clone for SystemCpuUsage { fn clone(&self) -> Self { @@ -1174,7 +1174,7 @@ unsafe impl ::windows::core::Interface for SystemCpuUsage { impl ::windows::core::RuntimeName for SystemCpuUsage { const NAME: &'static str = "Windows.System.Diagnostics.SystemCpuUsage"; } -::windows::core::interface_hierarchy!(SystemCpuUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemCpuUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemCpuUsage {} unsafe impl ::core::marker::Sync for SystemCpuUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -1221,7 +1221,7 @@ impl ::core::fmt::Debug for SystemCpuUsageReport { } } impl ::windows::core::RuntimeType for SystemCpuUsageReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemCpuUsageReport;{2c26d0b2-9483-4f62-ab57-82b29d9719b8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemCpuUsageReport;{2c26d0b2-9483-4f62-ab57-82b29d9719b8})"); } impl ::core::clone::Clone for SystemCpuUsageReport { fn clone(&self) -> Self { @@ -1237,7 +1237,7 @@ unsafe impl ::windows::core::Interface for SystemCpuUsageReport { impl ::windows::core::RuntimeName for SystemCpuUsageReport { const NAME: &'static str = "Windows.System.Diagnostics.SystemCpuUsageReport"; } -::windows::core::interface_hierarchy!(SystemCpuUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemCpuUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemCpuUsageReport {} unsafe impl ::core::marker::Sync for SystemCpuUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -1278,12 +1278,12 @@ impl SystemDiagnosticInfo { } #[doc(hidden)] pub fn ISystemDiagnosticInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISystemDiagnosticInfoStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1299,7 +1299,7 @@ impl ::core::fmt::Debug for SystemDiagnosticInfo { } } impl ::windows::core::RuntimeType for SystemDiagnosticInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemDiagnosticInfo;{a290fe05-dff3-407f-9a1b-0b2b317ca800})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemDiagnosticInfo;{a290fe05-dff3-407f-9a1b-0b2b317ca800})"); } impl ::core::clone::Clone for SystemDiagnosticInfo { fn clone(&self) -> Self { @@ -1315,7 +1315,7 @@ unsafe impl ::windows::core::Interface for SystemDiagnosticInfo { impl ::windows::core::RuntimeName for SystemDiagnosticInfo { const NAME: &'static str = "Windows.System.Diagnostics.SystemDiagnosticInfo"; } -::windows::core::interface_hierarchy!(SystemDiagnosticInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemDiagnosticInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemDiagnosticInfo {} unsafe impl ::core::marker::Sync for SystemDiagnosticInfo {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -1342,7 +1342,7 @@ impl ::core::fmt::Debug for SystemMemoryUsage { } } impl ::windows::core::RuntimeType for SystemMemoryUsage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemMemoryUsage;{17ffc595-1702-49cf-aa27-2f0a32591404})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemMemoryUsage;{17ffc595-1702-49cf-aa27-2f0a32591404})"); } impl ::core::clone::Clone for SystemMemoryUsage { fn clone(&self) -> Self { @@ -1358,7 +1358,7 @@ unsafe impl ::windows::core::Interface for SystemMemoryUsage { impl ::windows::core::RuntimeName for SystemMemoryUsage { const NAME: &'static str = "Windows.System.Diagnostics.SystemMemoryUsage"; } -::windows::core::interface_hierarchy!(SystemMemoryUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMemoryUsage, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMemoryUsage {} unsafe impl ::core::marker::Sync for SystemMemoryUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -1399,7 +1399,7 @@ impl ::core::fmt::Debug for SystemMemoryUsageReport { } } impl ::windows::core::RuntimeType for SystemMemoryUsageReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemMemoryUsageReport;{38663c87-2a9f-403a-bd19-2cf3e8169500})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemMemoryUsageReport;{38663c87-2a9f-403a-bd19-2cf3e8169500})"); } impl ::core::clone::Clone for SystemMemoryUsageReport { fn clone(&self) -> Self { @@ -1415,7 +1415,7 @@ unsafe impl ::windows::core::Interface for SystemMemoryUsageReport { impl ::windows::core::RuntimeName for SystemMemoryUsageReport { const NAME: &'static str = "Windows.System.Diagnostics.SystemMemoryUsageReport"; } -::windows::core::interface_hierarchy!(SystemMemoryUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemMemoryUsageReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemMemoryUsageReport {} unsafe impl ::core::marker::Sync for SystemMemoryUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] @@ -1451,7 +1451,7 @@ impl ::core::fmt::Debug for DiagnosticActionState { } } impl ::windows::core::RuntimeType for DiagnosticActionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.DiagnosticActionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Diagnostics.DiagnosticActionState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/Display/mod.rs b/crates/libs/windows/src/Windows/System/Display/mod.rs index 76b135acec..f26dd2c5c7 100644 --- a/crates/libs/windows/src/Windows/System/Display/mod.rs +++ b/crates/libs/windows/src/Windows/System/Display/mod.rs @@ -26,8 +26,8 @@ impl DisplayRequest { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn RequestActive(&self) -> ::windows::core::Result<()> { @@ -51,7 +51,7 @@ impl ::core::fmt::Debug for DisplayRequest { } } impl ::windows::core::RuntimeType for DisplayRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Display.DisplayRequest;{e5732044-f49f-4b60-8dd4-5e7e3a632ac0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Display.DisplayRequest;{e5732044-f49f-4b60-8dd4-5e7e3a632ac0})"); } impl ::core::clone::Clone for DisplayRequest { fn clone(&self) -> Self { @@ -67,6 +67,6 @@ unsafe impl ::windows::core::Interface for DisplayRequest { impl ::windows::core::RuntimeName for DisplayRequest { const NAME: &'static str = "Windows.System.Display.DisplayRequest"; } -::windows::core::interface_hierarchy!(DisplayRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs index e95c69ca3b..4d9cac7dd2 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs @@ -58,7 +58,7 @@ impl ISysStorageProviderEventSource { unsafe { (::windows::core::Vtable::vtable(this).RemoveEventReceived)(::windows::core::Vtable::as_raw(this), token).ok() } } } -::windows::core::interface_hierarchy!(ISysStorageProviderEventSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISysStorageProviderEventSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISysStorageProviderEventSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -71,7 +71,7 @@ impl ::core::fmt::Debug for ISysStorageProviderEventSource { } } impl ::windows::core::RuntimeType for ISysStorageProviderEventSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1f36c476-9546-536a-8381-2f9a2c08cedd}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1f36c476-9546-536a-8381-2f9a2c08cedd}"); } unsafe impl ::windows::core::Vtable for ISysStorageProviderEventSource { type Vtable = ISysStorageProviderEventSource_Vtbl; @@ -116,7 +116,7 @@ impl ISysStorageProviderHandlerFactory { } } } -::windows::core::interface_hierarchy!(ISysStorageProviderHandlerFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISysStorageProviderHandlerFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISysStorageProviderHandlerFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -129,7 +129,7 @@ impl ::core::fmt::Debug for ISysStorageProviderHandlerFactory { } } impl ::windows::core::RuntimeType for ISysStorageProviderHandlerFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ee798431-8213-5e89-a623-14d8c72b8a61}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ee798431-8213-5e89-a623-14d8c72b8a61}"); } unsafe impl ::windows::core::Vtable for ISysStorageProviderHandlerFactory { type Vtable = ISysStorageProviderHandlerFactory_Vtbl; @@ -163,7 +163,7 @@ impl ISysStorageProviderHttpRequestProvider { } } } -::windows::core::interface_hierarchy!(ISysStorageProviderHttpRequestProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISysStorageProviderHttpRequestProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISysStorageProviderHttpRequestProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -176,7 +176,7 @@ impl ::core::fmt::Debug for ISysStorageProviderHttpRequestProvider { } } impl ::windows::core::RuntimeType for ISysStorageProviderHttpRequestProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{cb6fefb6-e76a-5c25-a33e-3e78a6e0e0ce}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{cb6fefb6-e76a-5c25-a33e-3e78a6e0e0ce}"); } unsafe impl ::windows::core::Vtable for ISysStorageProviderHttpRequestProvider { type Vtable = ISysStorageProviderHttpRequestProvider_Vtbl; @@ -217,7 +217,7 @@ impl SysStorageProviderEventReceivedEventArgs { } #[doc(hidden)] pub fn ISysStorageProviderEventReceivedEventArgsFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -233,7 +233,7 @@ impl ::core::fmt::Debug for SysStorageProviderEventReceivedEventArgs { } } impl ::windows::core::RuntimeType for SysStorageProviderEventReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Implementation.FileExplorer.SysStorageProviderEventReceivedEventArgs;{e132d1b9-7b9d-5820-9728-4262b5289142})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Implementation.FileExplorer.SysStorageProviderEventReceivedEventArgs;{e132d1b9-7b9d-5820-9728-4262b5289142})"); } impl ::core::clone::Clone for SysStorageProviderEventReceivedEventArgs { fn clone(&self) -> Self { @@ -249,7 +249,7 @@ unsafe impl ::windows::core::Interface for SysStorageProviderEventReceivedEventA impl ::windows::core::RuntimeName for SysStorageProviderEventReceivedEventArgs { const NAME: &'static str = "Windows.System.Implementation.FileExplorer.SysStorageProviderEventReceivedEventArgs"; } -::windows::core::interface_hierarchy!(SysStorageProviderEventReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SysStorageProviderEventReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SysStorageProviderEventReceivedEventArgs {} unsafe impl ::core::marker::Sync for SysStorageProviderEventReceivedEventArgs {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/System/Inventory/mod.rs b/crates/libs/windows/src/Windows/System/Inventory/mod.rs index e6f9f16105..36dec007b6 100644 --- a/crates/libs/windows/src/Windows/System/Inventory/mod.rs +++ b/crates/libs/windows/src/Windows/System/Inventory/mod.rs @@ -95,7 +95,7 @@ impl InstalledDesktopApp { } #[doc(hidden)] pub fn IInstalledDesktopAppStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -111,7 +111,7 @@ impl ::core::fmt::Debug for InstalledDesktopApp { } } impl ::windows::core::RuntimeType for InstalledDesktopApp { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Inventory.InstalledDesktopApp;{75eab8ed-c0bc-5364-4c28-166e0545167a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Inventory.InstalledDesktopApp;{75eab8ed-c0bc-5364-4c28-166e0545167a})"); } impl ::core::clone::Clone for InstalledDesktopApp { fn clone(&self) -> Self { @@ -127,7 +127,7 @@ unsafe impl ::windows::core::Interface for InstalledDesktopApp { impl ::windows::core::RuntimeName for InstalledDesktopApp { const NAME: &'static str = "Windows.System.Inventory.InstalledDesktopApp"; } -::windows::core::interface_hierarchy!(InstalledDesktopApp, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InstalledDesktopApp, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IStringable { type Error = ::windows::core::Error; diff --git a/crates/libs/windows/src/Windows/System/Power/mod.rs b/crates/libs/windows/src/Windows/System/Power/mod.rs index da63ebadd7..baaef30046 100644 --- a/crates/libs/windows/src/Windows/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/System/Power/mod.rs @@ -299,7 +299,7 @@ impl BackgroundEnergyManager { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IBackgroundEnergyManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -389,7 +389,7 @@ impl ForegroundEnergyManager { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IForegroundEnergyManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -499,7 +499,7 @@ impl PowerManager { } #[doc(hidden)] pub fn IPowerManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -536,7 +536,7 @@ impl ::core::fmt::Debug for BatteryStatus { } } impl ::windows::core::RuntimeType for BatteryStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Power.BatteryStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Power.BatteryStatus;i4)"); } #[doc = "*Required features: `\"System_Power\"`*"] #[repr(transparent)] @@ -567,7 +567,7 @@ impl ::core::fmt::Debug for EnergySaverStatus { } } impl ::windows::core::RuntimeType for EnergySaverStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Power.EnergySaverStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Power.EnergySaverStatus;i4)"); } #[doc = "*Required features: `\"System_Power\"`*"] #[repr(transparent)] @@ -598,7 +598,7 @@ impl ::core::fmt::Debug for PowerSupplyStatus { } } impl ::windows::core::RuntimeType for PowerSupplyStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Power.PowerSupplyStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Power.PowerSupplyStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs index 8f585ee364..0b0f3994e5 100644 --- a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs @@ -155,7 +155,7 @@ impl ::core::fmt::Debug for OemSupportInfo { } } impl ::windows::core::RuntimeType for OemSupportInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemManufacturers.OemSupportInfo;{8d2eae55-87ef-4266-86d0-c4afbeb29bb9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemManufacturers.OemSupportInfo;{8d2eae55-87ef-4266-86d0-c4afbeb29bb9})"); } impl ::core::clone::Clone for OemSupportInfo { fn clone(&self) -> Self { @@ -171,7 +171,7 @@ unsafe impl ::windows::core::Interface for OemSupportInfo { impl ::windows::core::RuntimeName for OemSupportInfo { const NAME: &'static str = "Windows.System.Profile.SystemManufacturers.OemSupportInfo"; } -::windows::core::interface_hierarchy!(OemSupportInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OemSupportInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for OemSupportInfo {} unsafe impl ::core::marker::Sync for OemSupportInfo {} #[doc = "*Required features: `\"System_Profile_SystemManufacturers\"`*"] @@ -185,7 +185,7 @@ impl SmbiosInformation { } #[doc(hidden)] pub fn ISmbiosInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -258,7 +258,7 @@ impl ::core::fmt::Debug for SystemSupportDeviceInfo { } } impl ::windows::core::RuntimeType for SystemSupportDeviceInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo;{05880b99-8247-441b-a996-a1784bab79a8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo;{05880b99-8247-441b-a996-a1784bab79a8})"); } impl ::core::clone::Clone for SystemSupportDeviceInfo { fn clone(&self) -> Self { @@ -274,7 +274,7 @@ unsafe impl ::windows::core::Interface for SystemSupportDeviceInfo { impl ::windows::core::RuntimeName for SystemSupportDeviceInfo { const NAME: &'static str = "Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo"; } -::windows::core::interface_hierarchy!(SystemSupportDeviceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemSupportDeviceInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemSupportDeviceInfo {} unsafe impl ::core::marker::Sync for SystemSupportDeviceInfo {} #[doc = "*Required features: `\"System_Profile_SystemManufacturers\"`*"] @@ -300,12 +300,12 @@ impl SystemSupportInfo { } #[doc(hidden)] pub fn ISystemSupportInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISystemSupportInfoStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/System/Profile/mod.rs b/crates/libs/windows/src/Windows/System/Profile/mod.rs index 8b75f7cacd..02f120eccc 100644 --- a/crates/libs/windows/src/Windows/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/mod.rs @@ -498,12 +498,12 @@ impl AnalyticsInfo { } #[doc(hidden)] pub fn IAnalyticsInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAnalyticsInfoStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -548,7 +548,7 @@ impl ::core::fmt::Debug for AnalyticsVersionInfo { } } impl ::windows::core::RuntimeType for AnalyticsVersionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Profile.AnalyticsVersionInfo;{926130b8-9955-4c74-bdc1-7cd0decf9b03})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.AnalyticsVersionInfo;{926130b8-9955-4c74-bdc1-7cd0decf9b03})"); } impl ::core::clone::Clone for AnalyticsVersionInfo { fn clone(&self) -> Self { @@ -564,7 +564,7 @@ unsafe impl ::windows::core::Interface for AnalyticsVersionInfo { impl ::windows::core::RuntimeName for AnalyticsVersionInfo { const NAME: &'static str = "Windows.System.Profile.AnalyticsVersionInfo"; } -::windows::core::interface_hierarchy!(AnalyticsVersionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AnalyticsVersionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AnalyticsVersionInfo {} unsafe impl ::core::marker::Sync for AnalyticsVersionInfo {} #[doc = "*Required features: `\"System_Profile\"`*"] @@ -584,7 +584,7 @@ impl AppApplicability { } #[doc(hidden)] pub fn IAppApplicabilityStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -602,7 +602,7 @@ impl EducationSettings { } #[doc(hidden)] pub fn IEducationSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -626,7 +626,7 @@ impl HardwareIdentification { } #[doc(hidden)] pub fn IHardwareIdentificationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -677,7 +677,7 @@ impl ::core::fmt::Debug for HardwareToken { } } impl ::windows::core::RuntimeType for HardwareToken { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Profile.HardwareToken;{28f6d4c0-fb12-40a4-8167-7f4e03d2724c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.HardwareToken;{28f6d4c0-fb12-40a4-8167-7f4e03d2724c})"); } impl ::core::clone::Clone for HardwareToken { fn clone(&self) -> Self { @@ -693,7 +693,7 @@ unsafe impl ::windows::core::Interface for HardwareToken { impl ::windows::core::RuntimeName for HardwareToken { const NAME: &'static str = "Windows.System.Profile.HardwareToken"; } -::windows::core::interface_hierarchy!(HardwareToken, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HardwareToken, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HardwareToken {} unsafe impl ::core::marker::Sync for HardwareToken {} #[doc = "*Required features: `\"System_Profile\"`*"] @@ -833,7 +833,7 @@ impl KnownRetailInfoProperties { } #[doc(hidden)] pub fn IKnownRetailInfoPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -870,7 +870,7 @@ impl PlatformDiagnosticsAndUsageDataSettings { } #[doc(hidden)] pub fn IPlatformDiagnosticsAndUsageDataSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -896,7 +896,7 @@ impl RetailInfo { } #[doc(hidden)] pub fn IRetailInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -920,12 +920,12 @@ impl SharedModeSettings { } #[doc(hidden)] pub fn ISharedModeSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISharedModeSettingsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -956,7 +956,7 @@ impl SmartAppControlPolicy { } #[doc(hidden)] pub fn ISmartAppControlPolicyStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -980,7 +980,7 @@ impl SystemIdentification { } #[doc(hidden)] pub fn ISystemIdentificationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1020,7 +1020,7 @@ impl ::core::fmt::Debug for SystemIdentificationInfo { } } impl ::windows::core::RuntimeType for SystemIdentificationInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemIdentificationInfo;{0c659e7d-c3c2-4d33-a2df-21bc41916eb3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemIdentificationInfo;{0c659e7d-c3c2-4d33-a2df-21bc41916eb3})"); } impl ::core::clone::Clone for SystemIdentificationInfo { fn clone(&self) -> Self { @@ -1036,7 +1036,7 @@ unsafe impl ::windows::core::Interface for SystemIdentificationInfo { impl ::windows::core::RuntimeName for SystemIdentificationInfo { const NAME: &'static str = "Windows.System.Profile.SystemIdentificationInfo"; } -::windows::core::interface_hierarchy!(SystemIdentificationInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemIdentificationInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemIdentificationInfo {} unsafe impl ::core::marker::Sync for SystemIdentificationInfo {} #[doc = "*Required features: `\"System_Profile\"`*"] @@ -1063,7 +1063,7 @@ impl SystemSetupInfo { } #[doc(hidden)] pub fn ISystemSetupInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1101,7 +1101,7 @@ impl ::core::fmt::Debug for UnsupportedAppRequirement { } } impl ::windows::core::RuntimeType for UnsupportedAppRequirement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Profile.UnsupportedAppRequirement;{6182445c-894b-5cbc-8976-a98e0a9b998d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.UnsupportedAppRequirement;{6182445c-894b-5cbc-8976-a98e0a9b998d})"); } impl ::core::clone::Clone for UnsupportedAppRequirement { fn clone(&self) -> Self { @@ -1117,7 +1117,7 @@ unsafe impl ::windows::core::Interface for UnsupportedAppRequirement { impl ::windows::core::RuntimeName for UnsupportedAppRequirement { const NAME: &'static str = "Windows.System.Profile.UnsupportedAppRequirement"; } -::windows::core::interface_hierarchy!(UnsupportedAppRequirement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UnsupportedAppRequirement, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UnsupportedAppRequirement {} unsafe impl ::core::marker::Sync for UnsupportedAppRequirement {} #[doc = "*Required features: `\"System_Profile\"`*"] @@ -1162,7 +1162,7 @@ impl WindowsIntegrityPolicy { } #[doc(hidden)] pub fn IWindowsIntegrityPolicyStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1199,7 +1199,7 @@ impl ::core::fmt::Debug for PlatformDataCollectionLevel { } } impl ::windows::core::RuntimeType for PlatformDataCollectionLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Profile.PlatformDataCollectionLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Profile.PlatformDataCollectionLevel;i4)"); } #[doc = "*Required features: `\"System_Profile\"`*"] #[repr(transparent)] @@ -1231,7 +1231,7 @@ impl ::core::fmt::Debug for SystemIdentificationSource { } } impl ::windows::core::RuntimeType for SystemIdentificationSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Profile.SystemIdentificationSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Profile.SystemIdentificationSource;i4)"); } #[doc = "*Required features: `\"System_Profile\"`*"] #[repr(transparent)] @@ -1262,7 +1262,7 @@ impl ::core::fmt::Debug for SystemOutOfBoxExperienceState { } } impl ::windows::core::RuntimeType for SystemOutOfBoxExperienceState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Profile.SystemOutOfBoxExperienceState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Profile.SystemOutOfBoxExperienceState;i4)"); } #[doc = "*Required features: `\"System_Profile\"`*"] #[repr(transparent)] @@ -1325,7 +1325,7 @@ impl ::core::ops::Not for UnsupportedAppRequirementReasons { } } impl ::windows::core::RuntimeType for UnsupportedAppRequirementReasons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Profile.UnsupportedAppRequirementReasons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Profile.UnsupportedAppRequirementReasons;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs index 6753e2b3e2..de3f335291 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs @@ -83,7 +83,7 @@ impl RemoteTextConnection { } #[doc(hidden)] pub fn IRemoteTextConnectionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -99,7 +99,7 @@ impl ::core::fmt::Debug for RemoteTextConnection { } } impl ::windows::core::RuntimeType for RemoteTextConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteDesktop.Input.RemoteTextConnection;{4e7bb02a-183e-5e66-b5e4-3e6e5c570cf1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteDesktop.Input.RemoteTextConnection;{4e7bb02a-183e-5e66-b5e4-3e6e5c570cf1})"); } impl ::core::clone::Clone for RemoteTextConnection { fn clone(&self) -> Self { @@ -115,7 +115,7 @@ unsafe impl ::windows::core::Interface for RemoteTextConnection { impl ::windows::core::RuntimeName for RemoteTextConnection { const NAME: &'static str = "Windows.System.RemoteDesktop.Input.RemoteTextConnection"; } -::windows::core::interface_hierarchy!(RemoteTextConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteTextConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -145,8 +145,8 @@ unsafe impl ::core::marker::Sync for RemoteTextConnection {} pub struct RemoteTextConnectionDataHandler(pub ::windows::core::IUnknown); impl RemoteTextConnectionDataHandler { pub fn new ::windows::core::Result + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = RemoteTextConnectionDataHandlerBox:: { vtable: &RemoteTextConnectionDataHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = RemoteTextConnectionDataHandlerBox:: { vtable: &RemoteTextConnectionDataHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, pdudata: &[u8]) -> ::windows::core::Result { let this = self; @@ -160,7 +160,7 @@ impl RemoteTextConnectionDataHandler { struct RemoteTextConnectionDataHandlerBox ::windows::core::Result + ::core::marker::Send + 'static> { vtable: *const RemoteTextConnectionDataHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl ::windows::core::Result + ::core::marker::Send + 'static> RemoteTextConnectionDataHandlerBox { const VTABLE: RemoteTextConnectionDataHandler_Vtbl = RemoteTextConnectionDataHandler_Vtbl { @@ -169,7 +169,7 @@ impl ::windows::core::Result + ::core::marker::Send + ' }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -185,7 +185,7 @@ impl ::windows::core::Result + ::core::marker::Send + ' let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -224,7 +224,7 @@ unsafe impl ::windows::core::Interface for RemoteTextConnectionDataHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x099ffbc8_8bcb_41b5_b056_57e77021bf1b); } impl ::windows::core::RuntimeType for RemoteTextConnectionDataHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{099ffbc8-8bcb-41b5-b056-57e77021bf1b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{099ffbc8-8bcb-41b5-b056-57e77021bf1b}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs index df4373f2b5..f6e563e344 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs @@ -31,7 +31,7 @@ impl InteractiveSession { } #[doc(hidden)] pub fn IInteractiveSessionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index 5a70b9727d..8bb007c44b 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -537,7 +537,7 @@ pub struct IRemoteSystemEnumerationCompletedEventArgs_Vtbl { #[repr(transparent)] pub struct IRemoteSystemFilter(::windows::core::IUnknown); impl IRemoteSystemFilter {} -::windows::core::interface_hierarchy!(IRemoteSystemFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IRemoteSystemFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IRemoteSystemFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -550,7 +550,7 @@ impl ::core::fmt::Debug for IRemoteSystemFilter { } } impl ::windows::core::RuntimeType for IRemoteSystemFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4a3ba9e4-99eb-45eb-ba16-0367728ff374}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4a3ba9e4-99eb-45eb-ba16-0367728ff374}"); } unsafe impl ::windows::core::Vtable for IRemoteSystemFilter { type Vtable = IRemoteSystemFilter_Vtbl; @@ -1644,7 +1644,7 @@ impl KnownRemoteSystemCapabilities { } #[doc(hidden)] pub fn IKnownRemoteSystemCapabilitiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1803,17 +1803,17 @@ impl RemoteSystem { } #[doc(hidden)] pub fn IRemoteSystemStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRemoteSystemStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRemoteSystemStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1829,7 +1829,7 @@ impl ::core::fmt::Debug for RemoteSystem { } } impl ::windows::core::RuntimeType for RemoteSystem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystem;{ed5838cd-1e10-4a8c-b4a6-4e5fd6f97721})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystem;{ed5838cd-1e10-4a8c-b4a6-4e5fd6f97721})"); } impl ::core::clone::Clone for RemoteSystem { fn clone(&self) -> Self { @@ -1845,7 +1845,7 @@ unsafe impl ::windows::core::Interface for RemoteSystem { impl ::windows::core::RuntimeName for RemoteSystem { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystem"; } -::windows::core::interface_hierarchy!(RemoteSystem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystem {} unsafe impl ::core::marker::Sync for RemoteSystem {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -1872,7 +1872,7 @@ impl ::core::fmt::Debug for RemoteSystemAddedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAddedEventArgs;{8f39560f-e534-4697-8836-7abea151516e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAddedEventArgs;{8f39560f-e534-4697-8836-7abea151516e})"); } impl ::core::clone::Clone for RemoteSystemAddedEventArgs { fn clone(&self) -> Self { @@ -1888,7 +1888,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemAddedEventArgs { impl ::windows::core::RuntimeName for RemoteSystemAddedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemAddedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemAddedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemAddedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -1959,7 +1959,7 @@ impl ::core::fmt::Debug for RemoteSystemApp { } } impl ::windows::core::RuntimeType for RemoteSystemApp { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemApp;{80e5bcbd-d54d-41b1-9b16-6810a871ed4f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemApp;{80e5bcbd-d54d-41b1-9b16-6810a871ed4f})"); } impl ::core::clone::Clone for RemoteSystemApp { fn clone(&self) -> Self { @@ -1975,7 +1975,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemApp { impl ::windows::core::RuntimeName for RemoteSystemApp { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemApp"; } -::windows::core::interface_hierarchy!(RemoteSystemApp, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemApp, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemApp {} unsafe impl ::core::marker::Sync for RemoteSystemApp {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2021,7 +2021,7 @@ impl RemoteSystemAppRegistration { } #[doc(hidden)] pub fn IRemoteSystemAppRegistrationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2037,7 +2037,7 @@ impl ::core::fmt::Debug for RemoteSystemAppRegistration { } } impl ::windows::core::RuntimeType for RemoteSystemAppRegistration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAppRegistration;{b47947b5-7035-4a5a-b8df-962d8f8431f4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAppRegistration;{b47947b5-7035-4a5a-b8df-962d8f8431f4})"); } impl ::core::clone::Clone for RemoteSystemAppRegistration { fn clone(&self) -> Self { @@ -2053,7 +2053,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemAppRegistration { impl ::windows::core::RuntimeName for RemoteSystemAppRegistration { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemAppRegistration"; } -::windows::core::interface_hierarchy!(RemoteSystemAppRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemAppRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemAppRegistration {} unsafe impl ::core::marker::Sync for RemoteSystemAppRegistration {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2075,7 +2075,7 @@ impl RemoteSystemAuthorizationKindFilter { } #[doc(hidden)] pub fn IRemoteSystemAuthorizationKindFilterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2091,7 +2091,7 @@ impl ::core::fmt::Debug for RemoteSystemAuthorizationKindFilter { } } impl ::windows::core::RuntimeType for RemoteSystemAuthorizationKindFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAuthorizationKindFilter;{6b0dde8e-04d0-40f4-a27f-c2acbbd6b734})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAuthorizationKindFilter;{6b0dde8e-04d0-40f4-a27f-c2acbbd6b734})"); } impl ::core::clone::Clone for RemoteSystemAuthorizationKindFilter { fn clone(&self) -> Self { @@ -2107,7 +2107,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemAuthorizationKindFilter { impl ::windows::core::RuntimeName for RemoteSystemAuthorizationKindFilter { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemAuthorizationKindFilter"; } -::windows::core::interface_hierarchy!(RemoteSystemAuthorizationKindFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemAuthorizationKindFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IRemoteSystemFilter { type Error = ::windows::core::Error; fn try_from(value: RemoteSystemAuthorizationKindFilter) -> ::windows::core::Result { @@ -2150,7 +2150,7 @@ impl RemoteSystemConnectionInfo { } #[doc(hidden)] pub fn IRemoteSystemConnectionInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2166,7 +2166,7 @@ impl ::core::fmt::Debug for RemoteSystemConnectionInfo { } } impl ::windows::core::RuntimeType for RemoteSystemConnectionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemConnectionInfo;{23278bc3-0d09-52cb-9c6a-eed2940bee43})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemConnectionInfo;{23278bc3-0d09-52cb-9c6a-eed2940bee43})"); } impl ::core::clone::Clone for RemoteSystemConnectionInfo { fn clone(&self) -> Self { @@ -2182,7 +2182,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemConnectionInfo { impl ::windows::core::RuntimeName for RemoteSystemConnectionInfo { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemConnectionInfo"; } -::windows::core::interface_hierarchy!(RemoteSystemConnectionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemConnectionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemConnectionInfo {} unsafe impl ::core::marker::Sync for RemoteSystemConnectionInfo {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2236,17 +2236,17 @@ impl RemoteSystemConnectionRequest { } #[doc(hidden)] pub fn IRemoteSystemConnectionRequestFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRemoteSystemConnectionRequestStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRemoteSystemConnectionRequestStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2262,7 +2262,7 @@ impl ::core::fmt::Debug for RemoteSystemConnectionRequest { } } impl ::windows::core::RuntimeType for RemoteSystemConnectionRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemConnectionRequest;{84ed4104-8d5e-4d72-8238-7621576c7a67})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemConnectionRequest;{84ed4104-8d5e-4d72-8238-7621576c7a67})"); } impl ::core::clone::Clone for RemoteSystemConnectionRequest { fn clone(&self) -> Self { @@ -2278,7 +2278,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemConnectionRequest { impl ::windows::core::RuntimeName for RemoteSystemConnectionRequest { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemConnectionRequest"; } -::windows::core::interface_hierarchy!(RemoteSystemConnectionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemConnectionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemConnectionRequest {} unsafe impl ::core::marker::Sync for RemoteSystemConnectionRequest {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2300,7 +2300,7 @@ impl RemoteSystemDiscoveryTypeFilter { } #[doc(hidden)] pub fn IRemoteSystemDiscoveryTypeFilterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2316,7 +2316,7 @@ impl ::core::fmt::Debug for RemoteSystemDiscoveryTypeFilter { } } impl ::windows::core::RuntimeType for RemoteSystemDiscoveryTypeFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemDiscoveryTypeFilter;{42d9041f-ee5a-43da-ac6a-6fee25460741})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemDiscoveryTypeFilter;{42d9041f-ee5a-43da-ac6a-6fee25460741})"); } impl ::core::clone::Clone for RemoteSystemDiscoveryTypeFilter { fn clone(&self) -> Self { @@ -2332,7 +2332,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemDiscoveryTypeFilter { impl ::windows::core::RuntimeName for RemoteSystemDiscoveryTypeFilter { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemDiscoveryTypeFilter"; } -::windows::core::interface_hierarchy!(RemoteSystemDiscoveryTypeFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemDiscoveryTypeFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IRemoteSystemFilter { type Error = ::windows::core::Error; fn try_from(value: RemoteSystemDiscoveryTypeFilter) -> ::windows::core::Result { @@ -2370,7 +2370,7 @@ impl ::core::fmt::Debug for RemoteSystemEnumerationCompletedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemEnumerationCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemEnumerationCompletedEventArgs;{c6e83d5f-4030-4354-a060-14f1b22c545d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemEnumerationCompletedEventArgs;{c6e83d5f-4030-4354-a060-14f1b22c545d})"); } impl ::core::clone::Clone for RemoteSystemEnumerationCompletedEventArgs { fn clone(&self) -> Self { @@ -2386,7 +2386,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemEnumerationCompletedEvent impl ::windows::core::RuntimeName for RemoteSystemEnumerationCompletedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemEnumerationCompletedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemEnumerationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemEnumerationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemEnumerationCompletedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemEnumerationCompletedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2416,7 +2416,7 @@ impl RemoteSystemKindFilter { } #[doc(hidden)] pub fn IRemoteSystemKindFilterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2432,7 +2432,7 @@ impl ::core::fmt::Debug for RemoteSystemKindFilter { } } impl ::windows::core::RuntimeType for RemoteSystemKindFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemKindFilter;{38e1c9ec-22c3-4ef6-901a-bbb1c7aad4ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemKindFilter;{38e1c9ec-22c3-4ef6-901a-bbb1c7aad4ed})"); } impl ::core::clone::Clone for RemoteSystemKindFilter { fn clone(&self) -> Self { @@ -2448,7 +2448,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemKindFilter { impl ::windows::core::RuntimeName for RemoteSystemKindFilter { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemKindFilter"; } -::windows::core::interface_hierarchy!(RemoteSystemKindFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemKindFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IRemoteSystemFilter { type Error = ::windows::core::Error; fn try_from(value: RemoteSystemKindFilter) -> ::windows::core::Result { @@ -2523,12 +2523,12 @@ impl RemoteSystemKinds { } #[doc(hidden)] pub fn IRemoteSystemKindStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRemoteSystemKindStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2559,7 +2559,7 @@ impl ::core::fmt::Debug for RemoteSystemRemovedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemRemovedEventArgs;{8b3d16bb-7306-49ea-b7df-67d5714cb013})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemRemovedEventArgs;{8b3d16bb-7306-49ea-b7df-67d5714cb013})"); } impl ::core::clone::Clone for RemoteSystemRemovedEventArgs { fn clone(&self) -> Self { @@ -2575,7 +2575,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemRemovedEventArgs { impl ::windows::core::RuntimeName for RemoteSystemRemovedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemRemovedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemRemovedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemRemovedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2648,7 +2648,7 @@ impl RemoteSystemSession { } #[doc(hidden)] pub fn IRemoteSystemSessionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2664,7 +2664,7 @@ impl ::core::fmt::Debug for RemoteSystemSession { } } impl ::windows::core::RuntimeType for RemoteSystemSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSession;{69476a01-9ada-490f-9549-d31cb14c9e95})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSession;{69476a01-9ada-490f-9549-d31cb14c9e95})"); } impl ::core::clone::Clone for RemoteSystemSession { fn clone(&self) -> Self { @@ -2680,7 +2680,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSession { impl ::windows::core::RuntimeName for RemoteSystemSession { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSession"; } -::windows::core::interface_hierarchy!(RemoteSystemSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSession, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2729,7 +2729,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionAddedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionAddedEventArgs;{d585d754-bc97-4c39-99b4-beca76e04c3f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionAddedEventArgs;{d585d754-bc97-4c39-99b4-beca76e04c3f})"); } impl ::core::clone::Clone for RemoteSystemSessionAddedEventArgs { fn clone(&self) -> Self { @@ -2745,7 +2745,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionAddedEventArgs { impl ::windows::core::RuntimeName for RemoteSystemSessionAddedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionAddedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionAddedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionAddedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2799,7 +2799,7 @@ impl RemoteSystemSessionController { } #[doc(hidden)] pub fn IRemoteSystemSessionControllerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2815,7 +2815,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionController { } } impl ::windows::core::RuntimeType for RemoteSystemSessionController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionController;{e48b2dd2-6820-4867-b425-d89c0a3ef7ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionController;{e48b2dd2-6820-4867-b425-d89c0a3ef7ba})"); } impl ::core::clone::Clone for RemoteSystemSessionController { fn clone(&self) -> Self { @@ -2831,7 +2831,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionController { impl ::windows::core::RuntimeName for RemoteSystemSessionController { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionController"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionController {} unsafe impl ::core::marker::Sync for RemoteSystemSessionController {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2865,7 +2865,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionCreationResult { } } impl ::windows::core::RuntimeType for RemoteSystemSessionCreationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionCreationResult;{a79812c2-37de-448c-8b83-a30aa3c4ead6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionCreationResult;{a79812c2-37de-448c-8b83-a30aa3c4ead6})"); } impl ::core::clone::Clone for RemoteSystemSessionCreationResult { fn clone(&self) -> Self { @@ -2881,7 +2881,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionCreationResult { impl ::windows::core::RuntimeName for RemoteSystemSessionCreationResult { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionCreationResult"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionCreationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionCreationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionCreationResult {} unsafe impl ::core::marker::Sync for RemoteSystemSessionCreationResult {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2908,7 +2908,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionDisconnectedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionDisconnectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionDisconnectedEventArgs;{de0bc69b-77c5-461c-8209-7c6c5d3111ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionDisconnectedEventArgs;{de0bc69b-77c5-461c-8209-7c6c5d3111ab})"); } impl ::core::clone::Clone for RemoteSystemSessionDisconnectedEventArgs { fn clone(&self) -> Self { @@ -2924,7 +2924,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionDisconnectedEventA impl ::windows::core::RuntimeName for RemoteSystemSessionDisconnectedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionDisconnectedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionDisconnectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionDisconnectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionDisconnectedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionDisconnectedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -2967,7 +2967,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionInfo { } } impl ::windows::core::RuntimeType for RemoteSystemSessionInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInfo;{ff4df648-8b0a-4e9a-9905-69e4b841c588})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInfo;{ff4df648-8b0a-4e9a-9905-69e4b841c588})"); } impl ::core::clone::Clone for RemoteSystemSessionInfo { fn clone(&self) -> Self { @@ -2983,7 +2983,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionInfo { impl ::windows::core::RuntimeName for RemoteSystemSessionInfo { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionInfo"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionInfo {} unsafe impl ::core::marker::Sync for RemoteSystemSessionInfo {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3017,7 +3017,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionInvitation { } } impl ::windows::core::RuntimeType for RemoteSystemSessionInvitation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitation;{3e32cc91-51d7-4766-a121-25516c3b8294})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitation;{3e32cc91-51d7-4766-a121-25516c3b8294})"); } impl ::core::clone::Clone for RemoteSystemSessionInvitation { fn clone(&self) -> Self { @@ -3033,7 +3033,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionInvitation { impl ::windows::core::RuntimeName for RemoteSystemSessionInvitation { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionInvitation"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionInvitation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionInvitation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionInvitation {} unsafe impl ::core::marker::Sync for RemoteSystemSessionInvitation {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3043,8 +3043,8 @@ impl RemoteSystemSessionInvitationListener { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -3075,7 +3075,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionInvitationListener { } } impl ::windows::core::RuntimeType for RemoteSystemSessionInvitationListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitationListener;{08f4003f-bc71-49e1-874a-31ddff9a27b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitationListener;{08f4003f-bc71-49e1-874a-31ddff9a27b9})"); } impl ::core::clone::Clone for RemoteSystemSessionInvitationListener { fn clone(&self) -> Self { @@ -3091,7 +3091,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionInvitationListener impl ::windows::core::RuntimeName for RemoteSystemSessionInvitationListener { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionInvitationListener"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionInvitationListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionInvitationListener, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionInvitationListener {} unsafe impl ::core::marker::Sync for RemoteSystemSessionInvitationListener {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3118,7 +3118,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionInvitationReceivedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionInvitationReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitationReceivedEventArgs;{5e964a2d-a10d-4edb-8dea-54d20ac19543})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitationReceivedEventArgs;{5e964a2d-a10d-4edb-8dea-54d20ac19543})"); } impl ::core::clone::Clone for RemoteSystemSessionInvitationReceivedEventArgs { fn clone(&self) -> Self { @@ -3134,7 +3134,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionInvitationReceived impl ::windows::core::RuntimeName for RemoteSystemSessionInvitationReceivedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionInvitationReceivedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionInvitationReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionInvitationReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionInvitationReceivedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionInvitationReceivedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3165,7 +3165,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionJoinRequest { } } impl ::windows::core::RuntimeType for RemoteSystemSessionJoinRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinRequest;{20600068-7994-4331-86d1-d89d882585ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinRequest;{20600068-7994-4331-86d1-d89d882585ee})"); } impl ::core::clone::Clone for RemoteSystemSessionJoinRequest { fn clone(&self) -> Self { @@ -3181,7 +3181,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionJoinRequest { impl ::windows::core::RuntimeName for RemoteSystemSessionJoinRequest { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionJoinRequest"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionJoinRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionJoinRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionJoinRequest {} unsafe impl ::core::marker::Sync for RemoteSystemSessionJoinRequest {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3217,7 +3217,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionJoinRequestedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionJoinRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinRequestedEventArgs;{dbca4fc3-82b9-4816-9c24-e40e61774bd8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinRequestedEventArgs;{dbca4fc3-82b9-4816-9c24-e40e61774bd8})"); } impl ::core::clone::Clone for RemoteSystemSessionJoinRequestedEventArgs { fn clone(&self) -> Self { @@ -3233,7 +3233,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionJoinRequestedEvent impl ::windows::core::RuntimeName for RemoteSystemSessionJoinRequestedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionJoinRequestedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionJoinRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionJoinRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionJoinRequestedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionJoinRequestedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3267,7 +3267,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionJoinResult { } } impl ::windows::core::RuntimeType for RemoteSystemSessionJoinResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinResult;{ce7b1f04-a03e-41a4-900b-1e79328c1267})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinResult;{ce7b1f04-a03e-41a4-900b-1e79328c1267})"); } impl ::core::clone::Clone for RemoteSystemSessionJoinResult { fn clone(&self) -> Self { @@ -3283,7 +3283,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionJoinResult { impl ::windows::core::RuntimeName for RemoteSystemSessionJoinResult { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionJoinResult"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionJoinResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionJoinResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionJoinResult {} unsafe impl ::core::marker::Sync for RemoteSystemSessionJoinResult {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3357,7 +3357,7 @@ impl RemoteSystemSessionMessageChannel { } #[doc(hidden)] pub fn IRemoteSystemSessionMessageChannelFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3373,7 +3373,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionMessageChannel { } } impl ::windows::core::RuntimeType for RemoteSystemSessionMessageChannel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionMessageChannel;{9524d12a-73d9-4c10-b751-c26784437127})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionMessageChannel;{9524d12a-73d9-4c10-b751-c26784437127})"); } impl ::core::clone::Clone for RemoteSystemSessionMessageChannel { fn clone(&self) -> Self { @@ -3389,7 +3389,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionMessageChannel { impl ::windows::core::RuntimeName for RemoteSystemSessionMessageChannel { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionMessageChannel"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionMessageChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionMessageChannel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionMessageChannel {} unsafe impl ::core::marker::Sync for RemoteSystemSessionMessageChannel {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3399,8 +3399,8 @@ impl RemoteSystemSessionOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsInviteOnly(&self) -> ::windows::core::Result { @@ -3427,7 +3427,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionOptions { } } impl ::windows::core::RuntimeType for RemoteSystemSessionOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionOptions;{740ed755-8418-4f01-9353-e21c9ecc6cfc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionOptions;{740ed755-8418-4f01-9353-e21c9ecc6cfc})"); } impl ::core::clone::Clone for RemoteSystemSessionOptions { fn clone(&self) -> Self { @@ -3443,7 +3443,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionOptions { impl ::windows::core::RuntimeName for RemoteSystemSessionOptions { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionOptions"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionOptions {} unsafe impl ::core::marker::Sync for RemoteSystemSessionOptions {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3479,7 +3479,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionParticipant { } } impl ::windows::core::RuntimeType for RemoteSystemSessionParticipant { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipant;{7e90058c-acf9-4729-8a17-44e7baed5dcc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipant;{7e90058c-acf9-4729-8a17-44e7baed5dcc})"); } impl ::core::clone::Clone for RemoteSystemSessionParticipant { fn clone(&self) -> Self { @@ -3495,7 +3495,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionParticipant { impl ::windows::core::RuntimeName for RemoteSystemSessionParticipant { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionParticipant"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionParticipant, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionParticipant, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionParticipant {} unsafe impl ::core::marker::Sync for RemoteSystemSessionParticipant {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3522,7 +3522,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionParticipantAddedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionParticipantAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantAddedEventArgs;{d35a57d8-c9a1-4bb7-b6b0-79bb91adf93d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantAddedEventArgs;{d35a57d8-c9a1-4bb7-b6b0-79bb91adf93d})"); } impl ::core::clone::Clone for RemoteSystemSessionParticipantAddedEventArgs { fn clone(&self) -> Self { @@ -3538,7 +3538,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionParticipantAddedEv impl ::windows::core::RuntimeName for RemoteSystemSessionParticipantAddedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionParticipantAddedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionParticipantAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionParticipantAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionParticipantAddedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionParticipantAddedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3565,7 +3565,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionParticipantRemovedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionParticipantRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantRemovedEventArgs;{866ef088-de68-4abf-88a1-f90d16274192})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantRemovedEventArgs;{866ef088-de68-4abf-88a1-f90d16274192})"); } impl ::core::clone::Clone for RemoteSystemSessionParticipantRemovedEventArgs { fn clone(&self) -> Self { @@ -3581,7 +3581,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionParticipantRemoved impl ::windows::core::RuntimeName for RemoteSystemSessionParticipantRemovedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionParticipantRemovedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionParticipantRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionParticipantRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionParticipantRemovedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionParticipantRemovedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3661,7 +3661,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionParticipantWatcher { } } impl ::windows::core::RuntimeType for RemoteSystemSessionParticipantWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantWatcher;{dcdd02cc-aa87-4d79-b6cc-4459b3e92075})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantWatcher;{dcdd02cc-aa87-4d79-b6cc-4459b3e92075})"); } impl ::core::clone::Clone for RemoteSystemSessionParticipantWatcher { fn clone(&self) -> Self { @@ -3677,7 +3677,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionParticipantWatcher impl ::windows::core::RuntimeName for RemoteSystemSessionParticipantWatcher { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionParticipantWatcher"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionParticipantWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionParticipantWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionParticipantWatcher {} unsafe impl ::core::marker::Sync for RemoteSystemSessionParticipantWatcher {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3704,7 +3704,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionRemovedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionRemovedEventArgs;{af82914e-39a1-4dea-9d63-43798d5bbbd0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionRemovedEventArgs;{af82914e-39a1-4dea-9d63-43798d5bbbd0})"); } impl ::core::clone::Clone for RemoteSystemSessionRemovedEventArgs { fn clone(&self) -> Self { @@ -3720,7 +3720,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionRemovedEventArgs { impl ::windows::core::RuntimeName for RemoteSystemSessionRemovedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionRemovedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionRemovedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionRemovedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3747,7 +3747,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionUpdatedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionUpdatedEventArgs;{16875069-231e-4c91-8ec8-b3a39d9e55a3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionUpdatedEventArgs;{16875069-231e-4c91-8ec8-b3a39d9e55a3})"); } impl ::core::clone::Clone for RemoteSystemSessionUpdatedEventArgs { fn clone(&self) -> Self { @@ -3763,7 +3763,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionUpdatedEventArgs { impl ::windows::core::RuntimeName for RemoteSystemSessionUpdatedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionUpdatedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionUpdatedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3799,7 +3799,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionValueSetReceivedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemSessionValueSetReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionValueSetReceivedEventArgs;{06f31785-2da5-4e58-a78f-9e8d0784ee25})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionValueSetReceivedEventArgs;{06f31785-2da5-4e58-a78f-9e8d0784ee25})"); } impl ::core::clone::Clone for RemoteSystemSessionValueSetReceivedEventArgs { fn clone(&self) -> Self { @@ -3815,7 +3815,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionValueSetReceivedEv impl ::windows::core::RuntimeName for RemoteSystemSessionValueSetReceivedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionValueSetReceivedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionValueSetReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionValueSetReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionValueSetReceivedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionValueSetReceivedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3895,7 +3895,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionWatcher { } } impl ::windows::core::RuntimeType for RemoteSystemSessionWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionWatcher;{8003e340-0c41-4a62-b6d7-bdbe2b19be2d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionWatcher;{8003e340-0c41-4a62-b6d7-bdbe2b19be2d})"); } impl ::core::clone::Clone for RemoteSystemSessionWatcher { fn clone(&self) -> Self { @@ -3911,7 +3911,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemSessionWatcher { impl ::windows::core::RuntimeName for RemoteSystemSessionWatcher { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemSessionWatcher"; } -::windows::core::interface_hierarchy!(RemoteSystemSessionWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemSessionWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemSessionWatcher {} unsafe impl ::core::marker::Sync for RemoteSystemSessionWatcher {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -3933,7 +3933,7 @@ impl RemoteSystemStatusTypeFilter { } #[doc(hidden)] pub fn IRemoteSystemStatusTypeFilterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3949,7 +3949,7 @@ impl ::core::fmt::Debug for RemoteSystemStatusTypeFilter { } } impl ::windows::core::RuntimeType for RemoteSystemStatusTypeFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemStatusTypeFilter;{0c39514e-cbb6-4777-8534-2e0c521affa2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemStatusTypeFilter;{0c39514e-cbb6-4777-8534-2e0c521affa2})"); } impl ::core::clone::Clone for RemoteSystemStatusTypeFilter { fn clone(&self) -> Self { @@ -3965,7 +3965,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemStatusTypeFilter { impl ::windows::core::RuntimeName for RemoteSystemStatusTypeFilter { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemStatusTypeFilter"; } -::windows::core::interface_hierarchy!(RemoteSystemStatusTypeFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemStatusTypeFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IRemoteSystemFilter { type Error = ::windows::core::Error; fn try_from(value: RemoteSystemStatusTypeFilter) -> ::windows::core::Result { @@ -4011,7 +4011,7 @@ impl ::core::fmt::Debug for RemoteSystemUpdatedEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemUpdatedEventArgs;{7502ff0e-dbcb-4155-b4ca-b30a04f27627})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemUpdatedEventArgs;{7502ff0e-dbcb-4155-b4ca-b30a04f27627})"); } impl ::core::clone::Clone for RemoteSystemUpdatedEventArgs { fn clone(&self) -> Self { @@ -4027,7 +4027,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemUpdatedEventArgs { impl ::windows::core::RuntimeName for RemoteSystemUpdatedEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemUpdatedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemUpdatedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -4137,7 +4137,7 @@ impl ::core::fmt::Debug for RemoteSystemWatcher { } } impl ::windows::core::RuntimeType for RemoteSystemWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWatcher;{5d600c7e-2c07-48c5-889c-455d2b099771})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWatcher;{5d600c7e-2c07-48c5-889c-455d2b099771})"); } impl ::core::clone::Clone for RemoteSystemWatcher { fn clone(&self) -> Self { @@ -4153,7 +4153,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemWatcher { impl ::windows::core::RuntimeName for RemoteSystemWatcher { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemWatcher"; } -::windows::core::interface_hierarchy!(RemoteSystemWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemWatcher {} unsafe impl ::core::marker::Sync for RemoteSystemWatcher {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -4180,7 +4180,7 @@ impl ::core::fmt::Debug for RemoteSystemWatcherErrorOccurredEventArgs { } } impl ::windows::core::RuntimeType for RemoteSystemWatcherErrorOccurredEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWatcherErrorOccurredEventArgs;{74c5c6af-5114-4426-9216-20d81f8519ae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWatcherErrorOccurredEventArgs;{74c5c6af-5114-4426-9216-20d81f8519ae})"); } impl ::core::clone::Clone for RemoteSystemWatcherErrorOccurredEventArgs { fn clone(&self) -> Self { @@ -4196,7 +4196,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemWatcherErrorOccurredEvent impl ::windows::core::RuntimeName for RemoteSystemWatcherErrorOccurredEventArgs { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemWatcherErrorOccurredEventArgs"; } -::windows::core::interface_hierarchy!(RemoteSystemWatcherErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemWatcherErrorOccurredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteSystemWatcherErrorOccurredEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemWatcherErrorOccurredEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] @@ -4222,7 +4222,7 @@ impl RemoteSystemWebAccountFilter { } #[doc(hidden)] pub fn IRemoteSystemWebAccountFilterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4238,7 +4238,7 @@ impl ::core::fmt::Debug for RemoteSystemWebAccountFilter { } } impl ::windows::core::RuntimeType for RemoteSystemWebAccountFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWebAccountFilter;{3fb75873-87c8-5d8f-977e-f69f96d67238})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWebAccountFilter;{3fb75873-87c8-5d8f-977e-f69f96d67238})"); } impl ::core::clone::Clone for RemoteSystemWebAccountFilter { fn clone(&self) -> Self { @@ -4254,7 +4254,7 @@ unsafe impl ::windows::core::Interface for RemoteSystemWebAccountFilter { impl ::windows::core::RuntimeName for RemoteSystemWebAccountFilter { const NAME: &'static str = "Windows.System.RemoteSystems.RemoteSystemWebAccountFilter"; } -::windows::core::interface_hierarchy!(RemoteSystemWebAccountFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteSystemWebAccountFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IRemoteSystemFilter { type Error = ::windows::core::Error; fn try_from(value: RemoteSystemWebAccountFilter) -> ::windows::core::Result { @@ -4306,7 +4306,7 @@ impl ::core::fmt::Debug for RemoteSystemAccessStatus { } } impl ::windows::core::RuntimeType for RemoteSystemAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemAccessStatus;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4336,7 +4336,7 @@ impl ::core::fmt::Debug for RemoteSystemAuthorizationKind { } } impl ::windows::core::RuntimeType for RemoteSystemAuthorizationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemAuthorizationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemAuthorizationKind;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4368,7 +4368,7 @@ impl ::core::fmt::Debug for RemoteSystemDiscoveryType { } } impl ::windows::core::RuntimeType for RemoteSystemDiscoveryType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemDiscoveryType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemDiscoveryType;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4401,7 +4401,7 @@ impl ::core::fmt::Debug for RemoteSystemPlatform { } } impl ::windows::core::RuntimeType for RemoteSystemPlatform { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemPlatform;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemPlatform;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4432,7 +4432,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionCreationStatus { } } impl ::windows::core::RuntimeType for RemoteSystemSessionCreationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionCreationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionCreationStatus;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4463,7 +4463,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionDisconnectedReason { } } impl ::windows::core::RuntimeType for RemoteSystemSessionDisconnectedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionDisconnectedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionDisconnectedReason;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4496,7 +4496,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionJoinStatus { } } impl ::windows::core::RuntimeType for RemoteSystemSessionJoinStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionJoinStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionJoinStatus;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4526,7 +4526,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionMessageChannelReliability { } } impl ::windows::core::RuntimeType for RemoteSystemSessionMessageChannelReliability { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionMessageChannelReliability;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionMessageChannelReliability;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4560,7 +4560,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionParticipantWatcherStatus { } } impl ::windows::core::RuntimeType for RemoteSystemSessionParticipantWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionParticipantWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionParticipantWatcherStatus;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4594,7 +4594,7 @@ impl ::core::fmt::Debug for RemoteSystemSessionWatcherStatus { } } impl ::windows::core::RuntimeType for RemoteSystemSessionWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemSessionWatcherStatus;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4626,7 +4626,7 @@ impl ::core::fmt::Debug for RemoteSystemStatus { } } impl ::windows::core::RuntimeType for RemoteSystemStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemStatus;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4656,7 +4656,7 @@ impl ::core::fmt::Debug for RemoteSystemStatusType { } } impl ::windows::core::RuntimeType for RemoteSystemStatusType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemStatusType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemStatusType;i4)"); } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] @@ -4687,7 +4687,7 @@ impl ::core::fmt::Debug for RemoteSystemWatcherError { } } impl ::windows::core::RuntimeType for RemoteSystemWatcherError { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemWatcherError;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteSystems.RemoteSystemWatcherError;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs index 19e352caaa..7e633b6984 100644 --- a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs @@ -141,7 +141,7 @@ impl PreallocatedWorkItem { } #[doc(hidden)] pub fn IPreallocatedWorkItemFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -157,7 +157,7 @@ impl ::core::fmt::Debug for PreallocatedWorkItem { } } impl ::windows::core::RuntimeType for PreallocatedWorkItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Threading.Core.PreallocatedWorkItem;{b6daa9fc-bc5b-401a-a8b2-6e754d14daa6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Threading.Core.PreallocatedWorkItem;{b6daa9fc-bc5b-401a-a8b2-6e754d14daa6})"); } impl ::core::clone::Clone for PreallocatedWorkItem { fn clone(&self) -> Self { @@ -173,7 +173,7 @@ unsafe impl ::windows::core::Interface for PreallocatedWorkItem { impl ::windows::core::RuntimeName for PreallocatedWorkItem { const NAME: &'static str = "Windows.System.Threading.Core.PreallocatedWorkItem"; } -::windows::core::interface_hierarchy!(PreallocatedWorkItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PreallocatedWorkItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PreallocatedWorkItem {} unsafe impl ::core::marker::Sync for PreallocatedWorkItem {} #[doc = "*Required features: `\"System_Threading_Core\"`*"] @@ -218,7 +218,7 @@ impl SignalNotifier { } #[doc(hidden)] pub fn ISignalNotifierStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -234,7 +234,7 @@ impl ::core::fmt::Debug for SignalNotifier { } } impl ::windows::core::RuntimeType for SignalNotifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Threading.Core.SignalNotifier;{14285e06-63a7-4713-b6d9-62f64b56fb8b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Threading.Core.SignalNotifier;{14285e06-63a7-4713-b6d9-62f64b56fb8b})"); } impl ::core::clone::Clone for SignalNotifier { fn clone(&self) -> Self { @@ -250,7 +250,7 @@ unsafe impl ::windows::core::Interface for SignalNotifier { impl ::windows::core::RuntimeName for SignalNotifier { const NAME: &'static str = "Windows.System.Threading.Core.SignalNotifier"; } -::windows::core::interface_hierarchy!(SignalNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SignalNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SignalNotifier {} unsafe impl ::core::marker::Sync for SignalNotifier {} #[doc = "*Required features: `\"System_Threading_Core\"`*"] @@ -258,8 +258,8 @@ unsafe impl ::core::marker::Sync for SignalNotifier {} pub struct SignalHandler(pub ::windows::core::IUnknown); impl SignalHandler { pub fn new, bool) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = SignalHandlerBox:: { vtable: &SignalHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = SignalHandlerBox:: { vtable: &SignalHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, signalnotifier: &SignalNotifier, timedout: bool) -> ::windows::core::Result<()> { let this = self; @@ -270,7 +270,7 @@ impl SignalHandler { struct SignalHandlerBox, bool) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const SignalHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, bool) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> SignalHandlerBox { const VTABLE: SignalHandler_Vtbl = SignalHandler_Vtbl { @@ -279,7 +279,7 @@ impl, bool) -> ::windows::core: }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -295,7 +295,7 @@ impl, bool) -> ::windows::core: let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -327,7 +327,7 @@ unsafe impl ::windows::core::Interface for SignalHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x923c402e_4721_440e_9dda_55b6f2e07710); } impl ::windows::core::RuntimeType for SignalHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{923c402e-4721-440e-9dda-55b6f2e07710}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{923c402e-4721-440e-9dda-55b6f2e07710}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/System/Threading/mod.rs b/crates/libs/windows/src/Windows/System/Threading/mod.rs index d3fb2d28d4..61abe22811 100644 --- a/crates/libs/windows/src/Windows/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/mod.rs @@ -123,7 +123,7 @@ impl ThreadPool { } #[doc(hidden)] pub fn IThreadPoolStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -190,7 +190,7 @@ impl ThreadPoolTimer { } #[doc(hidden)] pub fn IThreadPoolTimerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -206,7 +206,7 @@ impl ::core::fmt::Debug for ThreadPoolTimer { } } impl ::windows::core::RuntimeType for ThreadPoolTimer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Threading.ThreadPoolTimer;{594ebe78-55ea-4a88-a50d-3402ae1f9cf2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Threading.ThreadPoolTimer;{594ebe78-55ea-4a88-a50d-3402ae1f9cf2})"); } impl ::core::clone::Clone for ThreadPoolTimer { fn clone(&self) -> Self { @@ -222,7 +222,7 @@ unsafe impl ::windows::core::Interface for ThreadPoolTimer { impl ::windows::core::RuntimeName for ThreadPoolTimer { const NAME: &'static str = "Windows.System.Threading.ThreadPoolTimer"; } -::windows::core::interface_hierarchy!(ThreadPoolTimer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ThreadPoolTimer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ThreadPoolTimer {} unsafe impl ::core::marker::Sync for ThreadPoolTimer {} #[doc = "*Required features: `\"System_Threading\"`*"] @@ -286,7 +286,7 @@ impl ::core::ops::Not for WorkItemOptions { } } impl ::windows::core::RuntimeType for WorkItemOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Threading.WorkItemOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Threading.WorkItemOptions;u4)"); } #[doc = "*Required features: `\"System_Threading\"`*"] #[repr(transparent)] @@ -317,15 +317,15 @@ impl ::core::fmt::Debug for WorkItemPriority { } } impl ::windows::core::RuntimeType for WorkItemPriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Threading.WorkItemPriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Threading.WorkItemPriority;i4)"); } #[doc = "*Required features: `\"System_Threading\"`*"] #[repr(transparent)] pub struct TimerDestroyedHandler(pub ::windows::core::IUnknown); impl TimerDestroyedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = TimerDestroyedHandlerBox:: { vtable: &TimerDestroyedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = TimerDestroyedHandlerBox:: { vtable: &TimerDestroyedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, timer: &ThreadPoolTimer) -> ::windows::core::Result<()> { let this = self; @@ -336,7 +336,7 @@ impl TimerDestroyedHandler { struct TimerDestroyedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const TimerDestroyedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> TimerDestroyedHandlerBox { const VTABLE: TimerDestroyedHandler_Vtbl = TimerDestroyedHandler_Vtbl { @@ -345,7 +345,7 @@ impl) -> ::windows::core::Resu }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -361,7 +361,7 @@ impl) -> ::windows::core::Resu let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -393,7 +393,7 @@ unsafe impl ::windows::core::Interface for TimerDestroyedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x34ed19fa_8384_4eb9_8209_fb5094eeec35); } impl ::windows::core::RuntimeType for TimerDestroyedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{34ed19fa-8384-4eb9-8209-fb5094eeec35}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{34ed19fa-8384-4eb9-8209-fb5094eeec35}"); } #[repr(C)] #[doc(hidden)] @@ -406,8 +406,8 @@ pub struct TimerDestroyedHandler_Vtbl { pub struct TimerElapsedHandler(pub ::windows::core::IUnknown); impl TimerElapsedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = TimerElapsedHandlerBox:: { vtable: &TimerElapsedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = TimerElapsedHandlerBox:: { vtable: &TimerElapsedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, timer: &ThreadPoolTimer) -> ::windows::core::Result<()> { let this = self; @@ -418,7 +418,7 @@ impl TimerElapsedHandler { struct TimerElapsedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const TimerElapsedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> TimerElapsedHandlerBox { const VTABLE: TimerElapsedHandler_Vtbl = TimerElapsedHandler_Vtbl { @@ -427,7 +427,7 @@ impl) -> ::windows::core::Resu }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -443,7 +443,7 @@ impl) -> ::windows::core::Resu let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -475,7 +475,7 @@ unsafe impl ::windows::core::Interface for TimerElapsedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xfaaea667_fbeb_49cb_adb2_71184c556e43); } impl ::windows::core::RuntimeType for TimerElapsedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{faaea667-fbeb-49cb-adb2-71184c556e43}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{faaea667-fbeb-49cb-adb2-71184c556e43}"); } #[repr(C)] #[doc(hidden)] @@ -490,8 +490,8 @@ pub struct WorkItemHandler(pub ::windows::core::IUnknown); #[cfg(feature = "Foundation")] impl WorkItemHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = WorkItemHandlerBox:: { vtable: &WorkItemHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = WorkItemHandlerBox:: { vtable: &WorkItemHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"Foundation\"`*"] #[cfg(feature = "Foundation")] @@ -509,7 +509,7 @@ impl WorkItemHandler { struct WorkItemHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const WorkItemHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "Foundation")] impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> WorkItemHandlerBox { @@ -519,7 +519,7 @@ impl) - }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -535,7 +535,7 @@ impl) - let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -574,7 +574,7 @@ unsafe impl ::windows::core::Interface for WorkItemHandler { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for WorkItemHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1d1a8b8b-fa66-414f-9cbd-b65fc99d17fa}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1d1a8b8b-fa66-414f-9cbd-b65fc99d17fa}"); } #[cfg(feature = "Foundation")] #[repr(C)] diff --git a/crates/libs/windows/src/Windows/System/Update/mod.rs b/crates/libs/windows/src/Windows/System/Update/mod.rs index 9e1ba3d7ab..5d24066184 100644 --- a/crates/libs/windows/src/Windows/System/Update/mod.rs +++ b/crates/libs/windows/src/Windows/System/Update/mod.rs @@ -196,7 +196,7 @@ impl ::core::fmt::Debug for SystemUpdateItem { } } impl ::windows::core::RuntimeType for SystemUpdateItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Update.SystemUpdateItem;{779740eb-5624-519e-a8e2-09e9173b3fb7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Update.SystemUpdateItem;{779740eb-5624-519e-a8e2-09e9173b3fb7})"); } impl ::core::clone::Clone for SystemUpdateItem { fn clone(&self) -> Self { @@ -212,7 +212,7 @@ unsafe impl ::windows::core::Interface for SystemUpdateItem { impl ::windows::core::RuntimeName for SystemUpdateItem { const NAME: &'static str = "Windows.System.Update.SystemUpdateItem"; } -::windows::core::interface_hierarchy!(SystemUpdateItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemUpdateItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemUpdateItem {} unsafe impl ::core::marker::Sync for SystemUpdateItem {} #[doc = "*Required features: `\"System_Update\"`*"] @@ -253,7 +253,7 @@ impl ::core::fmt::Debug for SystemUpdateLastErrorInfo { } } impl ::windows::core::RuntimeType for SystemUpdateLastErrorInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.Update.SystemUpdateLastErrorInfo;{7ee887f7-8a44-5b6e-bd07-7aece4116ea9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.Update.SystemUpdateLastErrorInfo;{7ee887f7-8a44-5b6e-bd07-7aece4116ea9})"); } impl ::core::clone::Clone for SystemUpdateLastErrorInfo { fn clone(&self) -> Self { @@ -269,7 +269,7 @@ unsafe impl ::windows::core::Interface for SystemUpdateLastErrorInfo { impl ::windows::core::RuntimeName for SystemUpdateLastErrorInfo { const NAME: &'static str = "Windows.System.Update.SystemUpdateLastErrorInfo"; } -::windows::core::interface_hierarchy!(SystemUpdateLastErrorInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemUpdateLastErrorInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemUpdateLastErrorInfo {} unsafe impl ::core::marker::Sync for SystemUpdateLastErrorInfo {} #[doc = "*Required features: `\"System_Update\"`*"] @@ -431,7 +431,7 @@ impl SystemUpdateManager { } #[doc(hidden)] pub fn ISystemUpdateManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -469,7 +469,7 @@ impl ::core::fmt::Debug for SystemUpdateAttentionRequiredReason { } } impl ::windows::core::RuntimeType for SystemUpdateAttentionRequiredReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Update.SystemUpdateAttentionRequiredReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Update.SystemUpdateAttentionRequiredReason;i4)"); } #[doc = "*Required features: `\"System_Update\"`*"] #[repr(transparent)] @@ -506,7 +506,7 @@ impl ::core::fmt::Debug for SystemUpdateItemState { } } impl ::windows::core::RuntimeType for SystemUpdateItemState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Update.SystemUpdateItemState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Update.SystemUpdateItemState;i4)"); } #[doc = "*Required features: `\"System_Update\"`*"] #[repr(transparent)] @@ -546,7 +546,7 @@ impl ::core::fmt::Debug for SystemUpdateManagerState { } } impl ::windows::core::RuntimeType for SystemUpdateManagerState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Update.SystemUpdateManagerState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Update.SystemUpdateManagerState;i4)"); } #[doc = "*Required features: `\"System_Update\"`*"] #[repr(transparent)] @@ -576,7 +576,7 @@ impl ::core::fmt::Debug for SystemUpdateStartInstallAction { } } impl ::windows::core::RuntimeType for SystemUpdateStartInstallAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.Update.SystemUpdateStartInstallAction;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.Update.SystemUpdateStartInstallAction;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs index 88faa4d6f1..29d175ae79 100644 --- a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs +++ b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs @@ -516,12 +516,12 @@ impl AdvertisingManager { } #[doc(hidden)] pub fn IAdvertisingManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAdvertisingManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -559,7 +559,7 @@ impl ::core::fmt::Debug for AdvertisingManagerForUser { } } impl ::windows::core::RuntimeType for AdvertisingManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.AdvertisingManagerForUser;{928bf3d0-cf7c-4ab0-a7dc-6dc5bcd44252})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.AdvertisingManagerForUser;{928bf3d0-cf7c-4ab0-a7dc-6dc5bcd44252})"); } impl ::core::clone::Clone for AdvertisingManagerForUser { fn clone(&self) -> Self { @@ -575,7 +575,7 @@ unsafe impl ::windows::core::Interface for AdvertisingManagerForUser { impl ::windows::core::RuntimeName for AdvertisingManagerForUser { const NAME: &'static str = "Windows.System.UserProfile.AdvertisingManagerForUser"; } -::windows::core::interface_hierarchy!(AdvertisingManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdvertisingManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AdvertisingManagerForUser {} unsafe impl ::core::marker::Sync for AdvertisingManagerForUser {} #[doc = "*Required features: `\"System_UserProfile\"`*"] @@ -617,7 +617,7 @@ impl AssignedAccessSettings { } #[doc(hidden)] pub fn IAssignedAccessSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -633,7 +633,7 @@ impl ::core::fmt::Debug for AssignedAccessSettings { } } impl ::windows::core::RuntimeType for AssignedAccessSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.AssignedAccessSettings;{1bc57f1c-e971-5757-b8e0-512f8b8c46d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.AssignedAccessSettings;{1bc57f1c-e971-5757-b8e0-512f8b8c46d2})"); } impl ::core::clone::Clone for AssignedAccessSettings { fn clone(&self) -> Self { @@ -649,7 +649,7 @@ unsafe impl ::windows::core::Interface for AssignedAccessSettings { impl ::windows::core::RuntimeName for AssignedAccessSettings { const NAME: &'static str = "Windows.System.UserProfile.AssignedAccessSettings"; } -::windows::core::interface_hierarchy!(AssignedAccessSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AssignedAccessSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AssignedAccessSettings {} unsafe impl ::core::marker::Sync for AssignedAccessSettings {} #[doc = "*Required features: `\"System_UserProfile\"`*"] @@ -684,7 +684,7 @@ impl DiagnosticsSettings { } #[doc(hidden)] pub fn IDiagnosticsSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -700,7 +700,7 @@ impl ::core::fmt::Debug for DiagnosticsSettings { } } impl ::windows::core::RuntimeType for DiagnosticsSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.DiagnosticsSettings;{e5e9eccd-2711-44e0-973c-491d78048d24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.DiagnosticsSettings;{e5e9eccd-2711-44e0-973c-491d78048d24})"); } impl ::core::clone::Clone for DiagnosticsSettings { fn clone(&self) -> Self { @@ -716,7 +716,7 @@ unsafe impl ::windows::core::Interface for DiagnosticsSettings { impl ::windows::core::RuntimeName for DiagnosticsSettings { const NAME: &'static str = "Windows.System.UserProfile.DiagnosticsSettings"; } -::windows::core::interface_hierarchy!(DiagnosticsSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DiagnosticsSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DiagnosticsSettings {} unsafe impl ::core::marker::Sync for DiagnosticsSettings {} #[doc = "*Required features: `\"System_UserProfile\"`*"] @@ -773,7 +773,7 @@ impl FirstSignInSettings { } #[doc(hidden)] pub fn IFirstSignInSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -789,7 +789,7 @@ impl ::core::fmt::Debug for FirstSignInSettings { } } impl ::windows::core::RuntimeType for FirstSignInSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.FirstSignInSettings;{3e945153-3a5e-452e-a601-f5baad2a4870})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.FirstSignInSettings;{3e945153-3a5e-452e-a601-f5baad2a4870})"); } impl ::core::clone::Clone for FirstSignInSettings { fn clone(&self) -> Self { @@ -821,7 +821,7 @@ impl ::core::iter::IntoIterator for &FirstSignInSettings { self.First().unwrap() } } -::windows::core::interface_hierarchy!(FirstSignInSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FirstSignInSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -943,17 +943,17 @@ impl GlobalizationPreferences { } #[doc(hidden)] pub fn IGlobalizationPreferencesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGlobalizationPreferencesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IGlobalizationPreferencesStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1036,7 +1036,7 @@ impl ::core::fmt::Debug for GlobalizationPreferencesForUser { } } impl ::windows::core::RuntimeType for GlobalizationPreferencesForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.GlobalizationPreferencesForUser;{150f0795-4f6e-40ba-a010-e27d81bda7f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.GlobalizationPreferencesForUser;{150f0795-4f6e-40ba-a010-e27d81bda7f5})"); } impl ::core::clone::Clone for GlobalizationPreferencesForUser { fn clone(&self) -> Self { @@ -1052,7 +1052,7 @@ unsafe impl ::windows::core::Interface for GlobalizationPreferencesForUser { impl ::windows::core::RuntimeName for GlobalizationPreferencesForUser { const NAME: &'static str = "Windows.System.UserProfile.GlobalizationPreferencesForUser"; } -::windows::core::interface_hierarchy!(GlobalizationPreferencesForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GlobalizationPreferencesForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for GlobalizationPreferencesForUser {} unsafe impl ::core::marker::Sync for GlobalizationPreferencesForUser {} #[doc = "*Required features: `\"System_UserProfile\"`*"] @@ -1114,12 +1114,12 @@ impl LockScreen { } #[doc(hidden)] pub fn ILockScreenImageFeedStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILockScreenStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1275,7 +1275,7 @@ impl UserInformation { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IUserInformationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1319,7 +1319,7 @@ impl UserProfilePersonalizationSettings { } #[doc(hidden)] pub fn IUserProfilePersonalizationSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1335,7 +1335,7 @@ impl ::core::fmt::Debug for UserProfilePersonalizationSettings { } } impl ::windows::core::RuntimeType for UserProfilePersonalizationSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.UserProfilePersonalizationSettings;{8ceddab4-7998-46d5-8dd3-184f1c5f9ab9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.UserProfilePersonalizationSettings;{8ceddab4-7998-46d5-8dd3-184f1c5f9ab9})"); } impl ::core::clone::Clone for UserProfilePersonalizationSettings { fn clone(&self) -> Self { @@ -1351,7 +1351,7 @@ unsafe impl ::windows::core::Interface for UserProfilePersonalizationSettings { impl ::windows::core::RuntimeName for UserProfilePersonalizationSettings { const NAME: &'static str = "Windows.System.UserProfile.UserProfilePersonalizationSettings"; } -::windows::core::interface_hierarchy!(UserProfilePersonalizationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserProfilePersonalizationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserProfilePersonalizationSettings {} unsafe impl ::core::marker::Sync for UserProfilePersonalizationSettings {} #[doc = "*Required features: `\"System_UserProfile\"`, `\"deprecated\"`*"] @@ -1391,7 +1391,7 @@ impl ::core::fmt::Debug for AccountPictureKind { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for AccountPictureKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.AccountPictureKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.AccountPictureKind;i4)"); } #[doc = "*Required features: `\"System_UserProfile\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -1433,7 +1433,7 @@ impl ::core::fmt::Debug for SetAccountPictureResult { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SetAccountPictureResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.SetAccountPictureResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.SetAccountPictureResult;i4)"); } #[doc = "*Required features: `\"System_UserProfile\"`*"] #[repr(transparent)] @@ -1464,7 +1464,7 @@ impl ::core::fmt::Debug for SetImageFeedResult { } } impl ::windows::core::RuntimeType for SetImageFeedResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.SetImageFeedResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserProfile.SetImageFeedResult;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index a69e7d973e..818e158cd4 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -1451,7 +1451,7 @@ impl ILauncherViewOptions { unsafe { (::windows::core::Vtable::vtable(this).SetDesiredRemainingView)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(ILauncherViewOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ILauncherViewOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ILauncherViewOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1464,7 +1464,7 @@ impl ::core::fmt::Debug for ILauncherViewOptions { } } impl ::windows::core::RuntimeType for ILauncherViewOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8a9b29f1-7ca7-49de-9bd3-3c5b7184f616}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8a9b29f1-7ca7-49de-9bd3-3c5b7184f616}"); } unsafe impl ::windows::core::Vtable for ILauncherViewOptions { type Vtable = ILauncherViewOptions_Vtbl; @@ -2295,7 +2295,7 @@ impl ::core::fmt::Debug for AppActivationResult { } } impl ::windows::core::RuntimeType for AppActivationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppActivationResult;{6b528900-f46e-4eb0-aa6c-38af557cf9ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppActivationResult;{6b528900-f46e-4eb0-aa6c-38af557cf9ed})"); } impl ::core::clone::Clone for AppActivationResult { fn clone(&self) -> Self { @@ -2311,7 +2311,7 @@ unsafe impl ::windows::core::Interface for AppActivationResult { impl ::windows::core::RuntimeName for AppActivationResult { const NAME: &'static str = "Windows.System.AppActivationResult"; } -::windows::core::interface_hierarchy!(AppActivationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppActivationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppActivationResult {} unsafe impl ::core::marker::Sync for AppActivationResult {} #[doc = "*Required features: `\"System\"`*"] @@ -2400,12 +2400,12 @@ impl AppDiagnosticInfo { } #[doc(hidden)] pub fn IAppDiagnosticInfoStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAppDiagnosticInfoStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2421,7 +2421,7 @@ impl ::core::fmt::Debug for AppDiagnosticInfo { } } impl ::windows::core::RuntimeType for AppDiagnosticInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfo;{e348a69a-8889-4ca3-be07-d5ffff5f0804})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfo;{e348a69a-8889-4ca3-be07-d5ffff5f0804})"); } impl ::core::clone::Clone for AppDiagnosticInfo { fn clone(&self) -> Self { @@ -2437,7 +2437,7 @@ unsafe impl ::windows::core::Interface for AppDiagnosticInfo { impl ::windows::core::RuntimeName for AppDiagnosticInfo { const NAME: &'static str = "Windows.System.AppDiagnosticInfo"; } -::windows::core::interface_hierarchy!(AppDiagnosticInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppDiagnosticInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppDiagnosticInfo {} unsafe impl ::core::marker::Sync for AppDiagnosticInfo {} #[doc = "*Required features: `\"System\"`*"] @@ -2532,7 +2532,7 @@ impl ::core::fmt::Debug for AppDiagnosticInfoWatcher { } } impl ::windows::core::RuntimeType for AppDiagnosticInfoWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfoWatcher;{75575070-01d3-489a-9325-52f9cc6ede0a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfoWatcher;{75575070-01d3-489a-9325-52f9cc6ede0a})"); } impl ::core::clone::Clone for AppDiagnosticInfoWatcher { fn clone(&self) -> Self { @@ -2548,7 +2548,7 @@ unsafe impl ::windows::core::Interface for AppDiagnosticInfoWatcher { impl ::windows::core::RuntimeName for AppDiagnosticInfoWatcher { const NAME: &'static str = "Windows.System.AppDiagnosticInfoWatcher"; } -::windows::core::interface_hierarchy!(AppDiagnosticInfoWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppDiagnosticInfoWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppDiagnosticInfoWatcher {} unsafe impl ::core::marker::Sync for AppDiagnosticInfoWatcher {} #[doc = "*Required features: `\"System\"`*"] @@ -2575,7 +2575,7 @@ impl ::core::fmt::Debug for AppDiagnosticInfoWatcherEventArgs { } } impl ::windows::core::RuntimeType for AppDiagnosticInfoWatcherEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfoWatcherEventArgs;{7017c716-e1da-4c65-99df-046dff5be71a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfoWatcherEventArgs;{7017c716-e1da-4c65-99df-046dff5be71a})"); } impl ::core::clone::Clone for AppDiagnosticInfoWatcherEventArgs { fn clone(&self) -> Self { @@ -2591,7 +2591,7 @@ unsafe impl ::windows::core::Interface for AppDiagnosticInfoWatcherEventArgs { impl ::windows::core::RuntimeName for AppDiagnosticInfoWatcherEventArgs { const NAME: &'static str = "Windows.System.AppDiagnosticInfoWatcherEventArgs"; } -::windows::core::interface_hierarchy!(AppDiagnosticInfoWatcherEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppDiagnosticInfoWatcherEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppDiagnosticInfoWatcherEventArgs {} unsafe impl ::core::marker::Sync for AppDiagnosticInfoWatcherEventArgs {} #[doc = "*Required features: `\"System\"`*"] @@ -2618,7 +2618,7 @@ impl ::core::fmt::Debug for AppExecutionStateChangeResult { } } impl ::windows::core::RuntimeType for AppExecutionStateChangeResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppExecutionStateChangeResult;{6f039bf0-f91b-4df8-ae77-3033ccb69114})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppExecutionStateChangeResult;{6f039bf0-f91b-4df8-ae77-3033ccb69114})"); } impl ::core::clone::Clone for AppExecutionStateChangeResult { fn clone(&self) -> Self { @@ -2634,7 +2634,7 @@ unsafe impl ::windows::core::Interface for AppExecutionStateChangeResult { impl ::windows::core::RuntimeName for AppExecutionStateChangeResult { const NAME: &'static str = "Windows.System.AppExecutionStateChangeResult"; } -::windows::core::interface_hierarchy!(AppExecutionStateChangeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppExecutionStateChangeResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppExecutionStateChangeResult {} unsafe impl ::core::marker::Sync for AppExecutionStateChangeResult {} #[doc = "*Required features: `\"System\"`*"] @@ -2689,7 +2689,7 @@ impl ::core::fmt::Debug for AppMemoryReport { } } impl ::windows::core::RuntimeType for AppMemoryReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppMemoryReport;{6d65339b-4d6f-45bc-9c5e-e49b3ff2758d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppMemoryReport;{6d65339b-4d6f-45bc-9c5e-e49b3ff2758d})"); } impl ::core::clone::Clone for AppMemoryReport { fn clone(&self) -> Self { @@ -2705,7 +2705,7 @@ unsafe impl ::windows::core::Interface for AppMemoryReport { impl ::windows::core::RuntimeName for AppMemoryReport { const NAME: &'static str = "Windows.System.AppMemoryReport"; } -::windows::core::interface_hierarchy!(AppMemoryReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppMemoryReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppMemoryReport {} unsafe impl ::core::marker::Sync for AppMemoryReport {} #[doc = "*Required features: `\"System\"`*"] @@ -2739,7 +2739,7 @@ impl ::core::fmt::Debug for AppMemoryUsageLimitChangingEventArgs { } } impl ::windows::core::RuntimeType for AppMemoryUsageLimitChangingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppMemoryUsageLimitChangingEventArgs;{79f86664-feca-4da5-9e40-2bc63efdc979})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppMemoryUsageLimitChangingEventArgs;{79f86664-feca-4da5-9e40-2bc63efdc979})"); } impl ::core::clone::Clone for AppMemoryUsageLimitChangingEventArgs { fn clone(&self) -> Self { @@ -2755,7 +2755,7 @@ unsafe impl ::windows::core::Interface for AppMemoryUsageLimitChangingEventArgs impl ::windows::core::RuntimeName for AppMemoryUsageLimitChangingEventArgs { const NAME: &'static str = "Windows.System.AppMemoryUsageLimitChangingEventArgs"; } -::windows::core::interface_hierarchy!(AppMemoryUsageLimitChangingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppMemoryUsageLimitChangingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppMemoryUsageLimitChangingEventArgs {} unsafe impl ::core::marker::Sync for AppMemoryUsageLimitChangingEventArgs {} #[doc = "*Required features: `\"System\"`*"] @@ -2803,7 +2803,7 @@ impl ::core::fmt::Debug for AppResourceGroupBackgroundTaskReport { } } impl ::windows::core::RuntimeType for AppResourceGroupBackgroundTaskReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupBackgroundTaskReport;{2566e74e-b05d-40c2-9dc1-1a4f039ea120})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupBackgroundTaskReport;{2566e74e-b05d-40c2-9dc1-1a4f039ea120})"); } impl ::core::clone::Clone for AppResourceGroupBackgroundTaskReport { fn clone(&self) -> Self { @@ -2819,7 +2819,7 @@ unsafe impl ::windows::core::Interface for AppResourceGroupBackgroundTaskReport impl ::windows::core::RuntimeName for AppResourceGroupBackgroundTaskReport { const NAME: &'static str = "Windows.System.AppResourceGroupBackgroundTaskReport"; } -::windows::core::interface_hierarchy!(AppResourceGroupBackgroundTaskReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppResourceGroupBackgroundTaskReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppResourceGroupBackgroundTaskReport {} unsafe impl ::core::marker::Sync for AppResourceGroupBackgroundTaskReport {} #[doc = "*Required features: `\"System\"`*"] @@ -2912,7 +2912,7 @@ impl ::core::fmt::Debug for AppResourceGroupInfo { } } impl ::windows::core::RuntimeType for AppResourceGroupInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfo;{b913f77a-e807-49f4-845e-7b8bdcfe8ee7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfo;{b913f77a-e807-49f4-845e-7b8bdcfe8ee7})"); } impl ::core::clone::Clone for AppResourceGroupInfo { fn clone(&self) -> Self { @@ -2928,7 +2928,7 @@ unsafe impl ::windows::core::Interface for AppResourceGroupInfo { impl ::windows::core::RuntimeName for AppResourceGroupInfo { const NAME: &'static str = "Windows.System.AppResourceGroupInfo"; } -::windows::core::interface_hierarchy!(AppResourceGroupInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppResourceGroupInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppResourceGroupInfo {} unsafe impl ::core::marker::Sync for AppResourceGroupInfo {} #[doc = "*Required features: `\"System\"`*"] @@ -3038,7 +3038,7 @@ impl ::core::fmt::Debug for AppResourceGroupInfoWatcher { } } impl ::windows::core::RuntimeType for AppResourceGroupInfoWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcher;{d9b0a0fd-6e5a-4c72-8b17-09fec4a212bd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcher;{d9b0a0fd-6e5a-4c72-8b17-09fec4a212bd})"); } impl ::core::clone::Clone for AppResourceGroupInfoWatcher { fn clone(&self) -> Self { @@ -3054,7 +3054,7 @@ unsafe impl ::windows::core::Interface for AppResourceGroupInfoWatcher { impl ::windows::core::RuntimeName for AppResourceGroupInfoWatcher { const NAME: &'static str = "Windows.System.AppResourceGroupInfoWatcher"; } -::windows::core::interface_hierarchy!(AppResourceGroupInfoWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppResourceGroupInfoWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppResourceGroupInfoWatcher {} unsafe impl ::core::marker::Sync for AppResourceGroupInfoWatcher {} #[doc = "*Required features: `\"System\"`*"] @@ -3090,7 +3090,7 @@ impl ::core::fmt::Debug for AppResourceGroupInfoWatcherEventArgs { } } impl ::windows::core::RuntimeType for AppResourceGroupInfoWatcherEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcherEventArgs;{7a787637-6302-4d2f-bf89-1c12d0b2a6b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcherEventArgs;{7a787637-6302-4d2f-bf89-1c12d0b2a6b9})"); } impl ::core::clone::Clone for AppResourceGroupInfoWatcherEventArgs { fn clone(&self) -> Self { @@ -3106,7 +3106,7 @@ unsafe impl ::windows::core::Interface for AppResourceGroupInfoWatcherEventArgs impl ::windows::core::RuntimeName for AppResourceGroupInfoWatcherEventArgs { const NAME: &'static str = "Windows.System.AppResourceGroupInfoWatcherEventArgs"; } -::windows::core::interface_hierarchy!(AppResourceGroupInfoWatcherEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppResourceGroupInfoWatcherEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppResourceGroupInfoWatcherEventArgs {} unsafe impl ::core::marker::Sync for AppResourceGroupInfoWatcherEventArgs {} #[doc = "*Required features: `\"System\"`*"] @@ -3142,7 +3142,7 @@ impl ::core::fmt::Debug for AppResourceGroupInfoWatcherExecutionStateChangedEven } } impl ::windows::core::RuntimeType for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcherExecutionStateChangedEventArgs;{1bdbedd7-fee6-4fd4-98dd-e92a2cc299f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcherExecutionStateChangedEventArgs;{1bdbedd7-fee6-4fd4-98dd-e92a2cc299f3})"); } impl ::core::clone::Clone for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { fn clone(&self) -> Self { @@ -3158,7 +3158,7 @@ unsafe impl ::windows::core::Interface for AppResourceGroupInfoWatcherExecutionS impl ::windows::core::RuntimeName for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { const NAME: &'static str = "Windows.System.AppResourceGroupInfoWatcherExecutionStateChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppResourceGroupInfoWatcherExecutionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppResourceGroupInfoWatcherExecutionStateChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs {} #[doc = "*Required features: `\"System\"`*"] @@ -3206,7 +3206,7 @@ impl ::core::fmt::Debug for AppResourceGroupMemoryReport { } } impl ::windows::core::RuntimeType for AppResourceGroupMemoryReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupMemoryReport;{2c8c06b1-7db1-4c51-a225-7fae2d49e431})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupMemoryReport;{2c8c06b1-7db1-4c51-a225-7fae2d49e431})"); } impl ::core::clone::Clone for AppResourceGroupMemoryReport { fn clone(&self) -> Self { @@ -3222,7 +3222,7 @@ unsafe impl ::windows::core::Interface for AppResourceGroupMemoryReport { impl ::windows::core::RuntimeName for AppResourceGroupMemoryReport { const NAME: &'static str = "Windows.System.AppResourceGroupMemoryReport"; } -::windows::core::interface_hierarchy!(AppResourceGroupMemoryReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppResourceGroupMemoryReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppResourceGroupMemoryReport {} unsafe impl ::core::marker::Sync for AppResourceGroupMemoryReport {} #[doc = "*Required features: `\"System\"`*"] @@ -3256,7 +3256,7 @@ impl ::core::fmt::Debug for AppResourceGroupStateReport { } } impl ::windows::core::RuntimeType for AppResourceGroupStateReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupStateReport;{52849f18-2f70-4236-ab40-d04db0c7b931})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupStateReport;{52849f18-2f70-4236-ab40-d04db0c7b931})"); } impl ::core::clone::Clone for AppResourceGroupStateReport { fn clone(&self) -> Self { @@ -3272,7 +3272,7 @@ unsafe impl ::windows::core::Interface for AppResourceGroupStateReport { impl ::windows::core::RuntimeName for AppResourceGroupStateReport { const NAME: &'static str = "Windows.System.AppResourceGroupStateReport"; } -::windows::core::interface_hierarchy!(AppResourceGroupStateReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppResourceGroupStateReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppResourceGroupStateReport {} unsafe impl ::core::marker::Sync for AppResourceGroupStateReport {} #[doc = "*Required features: `\"System\"`*"] @@ -3282,8 +3282,8 @@ impl AppUriHandlerHost { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3316,7 +3316,7 @@ impl AppUriHandlerHost { } #[doc(hidden)] pub fn IAppUriHandlerHostFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3332,7 +3332,7 @@ impl ::core::fmt::Debug for AppUriHandlerHost { } } impl ::windows::core::RuntimeType for AppUriHandlerHost { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerHost;{5d50cac5-92d2-5409-b56f-7f73e10ea4c3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerHost;{5d50cac5-92d2-5409-b56f-7f73e10ea4c3})"); } impl ::core::clone::Clone for AppUriHandlerHost { fn clone(&self) -> Self { @@ -3348,7 +3348,7 @@ unsafe impl ::windows::core::Interface for AppUriHandlerHost { impl ::windows::core::RuntimeName for AppUriHandlerHost { const NAME: &'static str = "Windows.System.AppUriHandlerHost"; } -::windows::core::interface_hierarchy!(AppUriHandlerHost, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppUriHandlerHost, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppUriHandlerHost {} unsafe impl ::core::marker::Sync for AppUriHandlerHost {} #[doc = "*Required features: `\"System\"`*"] @@ -3430,7 +3430,7 @@ impl ::core::fmt::Debug for AppUriHandlerRegistration { } } impl ::windows::core::RuntimeType for AppUriHandlerRegistration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerRegistration;{6f73aeb1-4569-5c3f-9ba0-99123eea32c3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerRegistration;{6f73aeb1-4569-5c3f-9ba0-99123eea32c3})"); } impl ::core::clone::Clone for AppUriHandlerRegistration { fn clone(&self) -> Self { @@ -3446,7 +3446,7 @@ unsafe impl ::windows::core::Interface for AppUriHandlerRegistration { impl ::windows::core::RuntimeName for AppUriHandlerRegistration { const NAME: &'static str = "Windows.System.AppUriHandlerRegistration"; } -::windows::core::interface_hierarchy!(AppUriHandlerRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppUriHandlerRegistration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppUriHandlerRegistration {} unsafe impl ::core::marker::Sync for AppUriHandlerRegistration {} #[doc = "*Required features: `\"System\"`*"] @@ -3500,12 +3500,12 @@ impl AppUriHandlerRegistrationManager { } #[doc(hidden)] pub fn IAppUriHandlerRegistrationManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAppUriHandlerRegistrationManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3521,7 +3521,7 @@ impl ::core::fmt::Debug for AppUriHandlerRegistrationManager { } } impl ::windows::core::RuntimeType for AppUriHandlerRegistrationManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerRegistrationManager;{e62c9a52-ac94-5750-ac1b-6cfb6f250263})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerRegistrationManager;{e62c9a52-ac94-5750-ac1b-6cfb6f250263})"); } impl ::core::clone::Clone for AppUriHandlerRegistrationManager { fn clone(&self) -> Self { @@ -3537,7 +3537,7 @@ unsafe impl ::windows::core::Interface for AppUriHandlerRegistrationManager { impl ::windows::core::RuntimeName for AppUriHandlerRegistrationManager { const NAME: &'static str = "Windows.System.AppUriHandlerRegistrationManager"; } -::windows::core::interface_hierarchy!(AppUriHandlerRegistrationManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppUriHandlerRegistrationManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppUriHandlerRegistrationManager {} unsafe impl ::core::marker::Sync for AppUriHandlerRegistrationManager {} #[doc = "*Required features: `\"System\"`*"] @@ -3550,7 +3550,7 @@ impl DateTimeSettings { } #[doc(hidden)] pub fn IDateTimeSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3627,7 +3627,7 @@ impl DispatcherQueue { } #[doc(hidden)] pub fn IDispatcherQueueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3643,7 +3643,7 @@ impl ::core::fmt::Debug for DispatcherQueue { } } impl ::windows::core::RuntimeType for DispatcherQueue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueue;{603e88e4-a338-4ffe-a457-a5cfb9ceb899})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueue;{603e88e4-a338-4ffe-a457-a5cfb9ceb899})"); } impl ::core::clone::Clone for DispatcherQueue { fn clone(&self) -> Self { @@ -3659,7 +3659,7 @@ unsafe impl ::windows::core::Interface for DispatcherQueue { impl ::windows::core::RuntimeName for DispatcherQueue { const NAME: &'static str = "Windows.System.DispatcherQueue"; } -::windows::core::interface_hierarchy!(DispatcherQueue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DispatcherQueue, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DispatcherQueue {} unsafe impl ::core::marker::Sync for DispatcherQueue {} #[doc = "*Required features: `\"System\"`*"] @@ -3690,7 +3690,7 @@ impl DispatcherQueueController { } #[doc(hidden)] pub fn IDispatcherQueueControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3706,7 +3706,7 @@ impl ::core::fmt::Debug for DispatcherQueueController { } } impl ::windows::core::RuntimeType for DispatcherQueueController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueController;{22f34e66-50db-4e36-a98d-61c01b384d20})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueController;{22f34e66-50db-4e36-a98d-61c01b384d20})"); } impl ::core::clone::Clone for DispatcherQueueController { fn clone(&self) -> Self { @@ -3722,7 +3722,7 @@ unsafe impl ::windows::core::Interface for DispatcherQueueController { impl ::windows::core::RuntimeName for DispatcherQueueController { const NAME: &'static str = "Windows.System.DispatcherQueueController"; } -::windows::core::interface_hierarchy!(DispatcherQueueController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DispatcherQueueController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DispatcherQueueController {} unsafe impl ::core::marker::Sync for DispatcherQueueController {} #[doc = "*Required features: `\"System\"`*"] @@ -3751,7 +3751,7 @@ impl ::core::fmt::Debug for DispatcherQueueShutdownStartingEventArgs { } } impl ::windows::core::RuntimeType for DispatcherQueueShutdownStartingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueShutdownStartingEventArgs;{c4724c4c-ff97-40c0-a226-cc0aaa545e89})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueShutdownStartingEventArgs;{c4724c4c-ff97-40c0-a226-cc0aaa545e89})"); } impl ::core::clone::Clone for DispatcherQueueShutdownStartingEventArgs { fn clone(&self) -> Self { @@ -3767,7 +3767,7 @@ unsafe impl ::windows::core::Interface for DispatcherQueueShutdownStartingEventA impl ::windows::core::RuntimeName for DispatcherQueueShutdownStartingEventArgs { const NAME: &'static str = "Windows.System.DispatcherQueueShutdownStartingEventArgs"; } -::windows::core::interface_hierarchy!(DispatcherQueueShutdownStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DispatcherQueueShutdownStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DispatcherQueueShutdownStartingEventArgs {} unsafe impl ::core::marker::Sync for DispatcherQueueShutdownStartingEventArgs {} #[doc = "*Required features: `\"System\"`*"] @@ -3843,7 +3843,7 @@ impl ::core::fmt::Debug for DispatcherQueueTimer { } } impl ::windows::core::RuntimeType for DispatcherQueueTimer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueTimer;{5feabb1d-a31c-4727-b1ac-37454649d56a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueTimer;{5feabb1d-a31c-4727-b1ac-37454649d56a})"); } impl ::core::clone::Clone for DispatcherQueueTimer { fn clone(&self) -> Self { @@ -3859,7 +3859,7 @@ unsafe impl ::windows::core::Interface for DispatcherQueueTimer { impl ::windows::core::RuntimeName for DispatcherQueueTimer { const NAME: &'static str = "Windows.System.DispatcherQueueTimer"; } -::windows::core::interface_hierarchy!(DispatcherQueueTimer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DispatcherQueueTimer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DispatcherQueueTimer {} unsafe impl ::core::marker::Sync for DispatcherQueueTimer {} #[doc = "*Required features: `\"System\"`*"] @@ -3869,8 +3869,8 @@ impl FolderLauncherOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"] @@ -3910,7 +3910,7 @@ impl ::core::fmt::Debug for FolderLauncherOptions { } } impl ::windows::core::RuntimeType for FolderLauncherOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.FolderLauncherOptions;{bb91c27d-6b87-432a-bd04-776c6f5fb2ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.FolderLauncherOptions;{bb91c27d-6b87-432a-bd04-776c6f5fb2ab})"); } impl ::core::clone::Clone for FolderLauncherOptions { fn clone(&self) -> Self { @@ -3926,7 +3926,7 @@ unsafe impl ::windows::core::Interface for FolderLauncherOptions { impl ::windows::core::RuntimeName for FolderLauncherOptions { const NAME: &'static str = "Windows.System.FolderLauncherOptions"; } -::windows::core::interface_hierarchy!(FolderLauncherOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FolderLauncherOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILauncherViewOptions { type Error = ::windows::core::Error; fn try_from(value: FolderLauncherOptions) -> ::windows::core::Result { @@ -4013,12 +4013,12 @@ impl KnownUserProperties { } #[doc(hidden)] pub fn IKnownUserPropertiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IKnownUserPropertiesStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4058,7 +4058,7 @@ impl ::core::fmt::Debug for LaunchUriResult { } } impl ::windows::core::RuntimeType for LaunchUriResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.LaunchUriResult;{ec27a8df-f6d5-45ca-913a-70a40c5c8221})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.LaunchUriResult;{ec27a8df-f6d5-45ca-913a-70a40c5c8221})"); } impl ::core::clone::Clone for LaunchUriResult { fn clone(&self) -> Self { @@ -4074,7 +4074,7 @@ unsafe impl ::windows::core::Interface for LaunchUriResult { impl ::windows::core::RuntimeName for LaunchUriResult { const NAME: &'static str = "Windows.System.LaunchUriResult"; } -::windows::core::interface_hierarchy!(LaunchUriResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LaunchUriResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LaunchUriResult {} unsafe impl ::core::marker::Sync for LaunchUriResult {} #[doc = "*Required features: `\"System\"`*"] @@ -4322,27 +4322,27 @@ impl Launcher { } #[doc(hidden)] pub fn ILauncherStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILauncherStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILauncherStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILauncherStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ILauncherStatics5 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4356,8 +4356,8 @@ impl LauncherOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn TreatAsUntrusted(&self) -> ::windows::core::Result { @@ -4513,7 +4513,7 @@ impl ::core::fmt::Debug for LauncherOptions { } } impl ::windows::core::RuntimeType for LauncherOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.LauncherOptions;{bafa21d8-b071-4cd8-853e-341203e557d3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.LauncherOptions;{bafa21d8-b071-4cd8-853e-341203e557d3})"); } impl ::core::clone::Clone for LauncherOptions { fn clone(&self) -> Self { @@ -4529,7 +4529,7 @@ unsafe impl ::windows::core::Interface for LauncherOptions { impl ::windows::core::RuntimeName for LauncherOptions { const NAME: &'static str = "Windows.System.LauncherOptions"; } -::windows::core::interface_hierarchy!(LauncherOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LauncherOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ILauncherViewOptions { type Error = ::windows::core::Error; fn try_from(value: LauncherOptions) -> ::windows::core::Result { @@ -4621,7 +4621,7 @@ impl ::core::fmt::Debug for LauncherUIOptions { } } impl ::windows::core::RuntimeType for LauncherUIOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.LauncherUIOptions;{1b25da6e-8aa6-41e9-8251-4165f5985f49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.LauncherUIOptions;{1b25da6e-8aa6-41e9-8251-4165f5985f49})"); } impl ::core::clone::Clone for LauncherUIOptions { fn clone(&self) -> Self { @@ -4637,7 +4637,7 @@ unsafe impl ::windows::core::Interface for LauncherUIOptions { impl ::windows::core::RuntimeName for LauncherUIOptions { const NAME: &'static str = "Windows.System.LauncherUIOptions"; } -::windows::core::interface_hierarchy!(LauncherUIOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LauncherUIOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for LauncherUIOptions {} unsafe impl ::core::marker::Sync for LauncherUIOptions {} #[doc = "*Required features: `\"System\"`*"] @@ -4726,22 +4726,22 @@ impl MemoryManager { } #[doc(hidden)] pub fn IMemoryManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMemoryManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMemoryManagerStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IMemoryManagerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4769,7 +4769,7 @@ impl ProcessLauncher { } #[doc(hidden)] pub fn IProcessLauncherStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4783,8 +4783,8 @@ impl ProcessLauncherOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -4868,7 +4868,7 @@ impl ::core::fmt::Debug for ProcessLauncherOptions { } } impl ::windows::core::RuntimeType for ProcessLauncherOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.ProcessLauncherOptions;{3080b9cf-f444-4a83-beaf-a549a0f3229c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.ProcessLauncherOptions;{3080b9cf-f444-4a83-beaf-a549a0f3229c})"); } impl ::core::clone::Clone for ProcessLauncherOptions { fn clone(&self) -> Self { @@ -4884,7 +4884,7 @@ unsafe impl ::windows::core::Interface for ProcessLauncherOptions { impl ::windows::core::RuntimeName for ProcessLauncherOptions { const NAME: &'static str = "Windows.System.ProcessLauncherOptions"; } -::windows::core::interface_hierarchy!(ProcessLauncherOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessLauncherOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessLauncherOptions {} unsafe impl ::core::marker::Sync for ProcessLauncherOptions {} #[doc = "*Required features: `\"System\"`*"] @@ -4911,7 +4911,7 @@ impl ::core::fmt::Debug for ProcessLauncherResult { } } impl ::windows::core::RuntimeType for ProcessLauncherResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.ProcessLauncherResult;{544c8934-86d8-4991-8e75-ece8a43b6b6d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.ProcessLauncherResult;{544c8934-86d8-4991-8e75-ece8a43b6b6d})"); } impl ::core::clone::Clone for ProcessLauncherResult { fn clone(&self) -> Self { @@ -4927,7 +4927,7 @@ unsafe impl ::windows::core::Interface for ProcessLauncherResult { impl ::windows::core::RuntimeName for ProcessLauncherResult { const NAME: &'static str = "Windows.System.ProcessLauncherResult"; } -::windows::core::interface_hierarchy!(ProcessLauncherResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessLauncherResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessLauncherResult {} unsafe impl ::core::marker::Sync for ProcessLauncherResult {} #[doc = "*Required features: `\"System\"`*"] @@ -4961,7 +4961,7 @@ impl ::core::fmt::Debug for ProcessMemoryReport { } } impl ::windows::core::RuntimeType for ProcessMemoryReport { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.ProcessMemoryReport;{087305a8-9b70-4782-8741-3a982b6ce5e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.ProcessMemoryReport;{087305a8-9b70-4782-8741-3a982b6ce5e4})"); } impl ::core::clone::Clone for ProcessMemoryReport { fn clone(&self) -> Self { @@ -4977,7 +4977,7 @@ unsafe impl ::windows::core::Interface for ProcessMemoryReport { impl ::windows::core::RuntimeName for ProcessMemoryReport { const NAME: &'static str = "Windows.System.ProcessMemoryReport"; } -::windows::core::interface_hierarchy!(ProcessMemoryReport, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProcessMemoryReport, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProcessMemoryReport {} unsafe impl ::core::marker::Sync for ProcessMemoryReport {} #[doc = "*Required features: `\"System\"`*"] @@ -5003,7 +5003,7 @@ impl ::core::fmt::Debug for ProtocolForResultsOperation { } } impl ::windows::core::RuntimeType for ProtocolForResultsOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.ProtocolForResultsOperation;{d581293a-6de9-4d28-9378-f86782e182bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.ProtocolForResultsOperation;{d581293a-6de9-4d28-9378-f86782e182bb})"); } impl ::core::clone::Clone for ProtocolForResultsOperation { fn clone(&self) -> Self { @@ -5019,7 +5019,7 @@ unsafe impl ::windows::core::Interface for ProtocolForResultsOperation { impl ::windows::core::RuntimeName for ProtocolForResultsOperation { const NAME: &'static str = "Windows.System.ProtocolForResultsOperation"; } -::windows::core::interface_hierarchy!(ProtocolForResultsOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ProtocolForResultsOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ProtocolForResultsOperation {} unsafe impl ::core::marker::Sync for ProtocolForResultsOperation {} #[doc = "*Required features: `\"System\"`*"] @@ -5051,7 +5051,7 @@ impl RemoteLauncher { } #[doc(hidden)] pub fn IRemoteLauncherStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5065,8 +5065,8 @@ impl RemoteLauncherOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -5106,7 +5106,7 @@ impl ::core::fmt::Debug for RemoteLauncherOptions { } } impl ::windows::core::RuntimeType for RemoteLauncherOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.RemoteLauncherOptions;{9e3a2788-2891-4cdf-a2d6-9dff7d02e693})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteLauncherOptions;{9e3a2788-2891-4cdf-a2d6-9dff7d02e693})"); } impl ::core::clone::Clone for RemoteLauncherOptions { fn clone(&self) -> Self { @@ -5122,7 +5122,7 @@ unsafe impl ::windows::core::Interface for RemoteLauncherOptions { impl ::windows::core::RuntimeName for RemoteLauncherOptions { const NAME: &'static str = "Windows.System.RemoteLauncherOptions"; } -::windows::core::interface_hierarchy!(RemoteLauncherOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteLauncherOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteLauncherOptions {} unsafe impl ::core::marker::Sync for RemoteLauncherOptions {} #[doc = "*Required features: `\"System\"`*"] @@ -5152,12 +5152,12 @@ impl ShutdownManager { } #[doc(hidden)] pub fn IShutdownManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IShutdownManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5200,12 +5200,12 @@ impl TimeZoneSettings { } #[doc(hidden)] pub fn ITimeZoneSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITimeZoneSettingsStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5321,12 +5321,12 @@ impl User { } #[doc(hidden)] pub fn IUserStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IUserStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5342,7 +5342,7 @@ impl ::core::fmt::Debug for User { } } impl ::windows::core::RuntimeType for User { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.User;{df9a26c6-e746-4bcd-b5d4-120103c4209b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.User;{df9a26c6-e746-4bcd-b5d4-120103c4209b})"); } impl ::core::clone::Clone for User { fn clone(&self) -> Self { @@ -5358,7 +5358,7 @@ unsafe impl ::windows::core::Interface for User { impl ::windows::core::RuntimeName for User { const NAME: &'static str = "Windows.System.User"; } -::windows::core::interface_hierarchy!(User, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(User, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for User {} unsafe impl ::core::marker::Sync for User {} #[doc = "*Required features: `\"System\"`*"] @@ -5382,7 +5382,7 @@ impl ::core::fmt::Debug for UserAuthenticationStatusChangeDeferral { } } impl ::windows::core::RuntimeType for UserAuthenticationStatusChangeDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserAuthenticationStatusChangeDeferral;{88b59568-bb30-42fb-a270-e9902e40efa7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserAuthenticationStatusChangeDeferral;{88b59568-bb30-42fb-a270-e9902e40efa7})"); } impl ::core::clone::Clone for UserAuthenticationStatusChangeDeferral { fn clone(&self) -> Self { @@ -5398,7 +5398,7 @@ unsafe impl ::windows::core::Interface for UserAuthenticationStatusChangeDeferra impl ::windows::core::RuntimeName for UserAuthenticationStatusChangeDeferral { const NAME: &'static str = "Windows.System.UserAuthenticationStatusChangeDeferral"; } -::windows::core::interface_hierarchy!(UserAuthenticationStatusChangeDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserAuthenticationStatusChangeDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserAuthenticationStatusChangeDeferral {} unsafe impl ::core::marker::Sync for UserAuthenticationStatusChangeDeferral {} #[doc = "*Required features: `\"System\"`*"] @@ -5446,7 +5446,7 @@ impl ::core::fmt::Debug for UserAuthenticationStatusChangingEventArgs { } } impl ::windows::core::RuntimeType for UserAuthenticationStatusChangingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserAuthenticationStatusChangingEventArgs;{8c030f28-a711-4c1e-ab48-04179c15938f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserAuthenticationStatusChangingEventArgs;{8c030f28-a711-4c1e-ab48-04179c15938f})"); } impl ::core::clone::Clone for UserAuthenticationStatusChangingEventArgs { fn clone(&self) -> Self { @@ -5462,7 +5462,7 @@ unsafe impl ::windows::core::Interface for UserAuthenticationStatusChangingEvent impl ::windows::core::RuntimeName for UserAuthenticationStatusChangingEventArgs { const NAME: &'static str = "Windows.System.UserAuthenticationStatusChangingEventArgs"; } -::windows::core::interface_hierarchy!(UserAuthenticationStatusChangingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserAuthenticationStatusChangingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserAuthenticationStatusChangingEventArgs {} unsafe impl ::core::marker::Sync for UserAuthenticationStatusChangingEventArgs {} #[doc = "*Required features: `\"System\"`*"] @@ -5498,7 +5498,7 @@ impl ::core::fmt::Debug for UserChangedEventArgs { } } impl ::windows::core::RuntimeType for UserChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserChangedEventArgs;{086459dc-18c6-48db-bc99-724fb9203ccc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserChangedEventArgs;{086459dc-18c6-48db-bc99-724fb9203ccc})"); } impl ::core::clone::Clone for UserChangedEventArgs { fn clone(&self) -> Self { @@ -5514,7 +5514,7 @@ unsafe impl ::windows::core::Interface for UserChangedEventArgs { impl ::windows::core::RuntimeName for UserChangedEventArgs { const NAME: &'static str = "Windows.System.UserChangedEventArgs"; } -::windows::core::interface_hierarchy!(UserChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserChangedEventArgs {} unsafe impl ::core::marker::Sync for UserChangedEventArgs {} #[doc = "*Required features: `\"System\"`*"] @@ -5541,7 +5541,7 @@ impl UserDeviceAssociation { } #[doc(hidden)] pub fn IUserDeviceAssociationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5586,7 +5586,7 @@ impl ::core::fmt::Debug for UserDeviceAssociationChangedEventArgs { } } impl ::windows::core::RuntimeType for UserDeviceAssociationChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserDeviceAssociationChangedEventArgs;{bd1f6f6c-bb5d-4d7b-a5f0-c8cd11a38d42})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserDeviceAssociationChangedEventArgs;{bd1f6f6c-bb5d-4d7b-a5f0-c8cd11a38d42})"); } impl ::core::clone::Clone for UserDeviceAssociationChangedEventArgs { fn clone(&self) -> Self { @@ -5602,7 +5602,7 @@ unsafe impl ::windows::core::Interface for UserDeviceAssociationChangedEventArgs impl ::windows::core::RuntimeName for UserDeviceAssociationChangedEventArgs { const NAME: &'static str = "Windows.System.UserDeviceAssociationChangedEventArgs"; } -::windows::core::interface_hierarchy!(UserDeviceAssociationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserDeviceAssociationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserDeviceAssociationChangedEventArgs {} unsafe impl ::core::marker::Sync for UserDeviceAssociationChangedEventArgs {} #[doc = "*Required features: `\"System\"`*"] @@ -5612,8 +5612,8 @@ impl UserPicker { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AllowGuestAccounts(&self) -> ::windows::core::Result { @@ -5655,7 +5655,7 @@ impl UserPicker { } #[doc(hidden)] pub fn IUserPickerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5671,7 +5671,7 @@ impl ::core::fmt::Debug for UserPicker { } } impl ::windows::core::RuntimeType for UserPicker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserPicker;{7d548008-f1e3-4a6c-8ddc-a9bb0f488aed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserPicker;{7d548008-f1e3-4a6c-8ddc-a9bb0f488aed})"); } impl ::core::clone::Clone for UserPicker { fn clone(&self) -> Self { @@ -5687,7 +5687,7 @@ unsafe impl ::windows::core::Interface for UserPicker { impl ::windows::core::RuntimeName for UserPicker { const NAME: &'static str = "Windows.System.UserPicker"; } -::windows::core::interface_hierarchy!(UserPicker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserPicker, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserPicker {} unsafe impl ::core::marker::Sync for UserPicker {} #[doc = "*Required features: `\"System\"`*"] @@ -5827,7 +5827,7 @@ impl ::core::fmt::Debug for UserWatcher { } } impl ::windows::core::RuntimeType for UserWatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.System.UserWatcher;{155eb23b-242a-45e0-a2e9-3171fc6a7fbb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserWatcher;{155eb23b-242a-45e0-a2e9-3171fc6a7fbb})"); } impl ::core::clone::Clone for UserWatcher { fn clone(&self) -> Self { @@ -5843,7 +5843,7 @@ unsafe impl ::windows::core::Interface for UserWatcher { impl ::windows::core::RuntimeName for UserWatcher { const NAME: &'static str = "Windows.System.UserWatcher"; } -::windows::core::interface_hierarchy!(UserWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserWatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserWatcher {} unsafe impl ::core::marker::Sync for UserWatcher {} #[doc = "*Required features: `\"System\"`*"] @@ -5878,7 +5878,7 @@ impl ::core::fmt::Debug for AppDiagnosticInfoWatcherStatus { } } impl ::windows::core::RuntimeType for AppDiagnosticInfoWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.AppDiagnosticInfoWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.AppDiagnosticInfoWatcherStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -5910,7 +5910,7 @@ impl ::core::fmt::Debug for AppMemoryUsageLevel { } } impl ::windows::core::RuntimeType for AppMemoryUsageLevel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.AppMemoryUsageLevel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.AppMemoryUsageLevel;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -5941,7 +5941,7 @@ impl ::core::fmt::Debug for AppResourceGroupEnergyQuotaState { } } impl ::windows::core::RuntimeType for AppResourceGroupEnergyQuotaState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.AppResourceGroupEnergyQuotaState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.AppResourceGroupEnergyQuotaState;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -5974,7 +5974,7 @@ impl ::core::fmt::Debug for AppResourceGroupExecutionState { } } impl ::windows::core::RuntimeType for AppResourceGroupExecutionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.AppResourceGroupExecutionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.AppResourceGroupExecutionState;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6008,7 +6008,7 @@ impl ::core::fmt::Debug for AppResourceGroupInfoWatcherStatus { } } impl ::windows::core::RuntimeType for AppResourceGroupInfoWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.AppResourceGroupInfoWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.AppResourceGroupInfoWatcherStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6039,7 +6039,7 @@ impl ::core::fmt::Debug for AutoUpdateTimeZoneStatus { } } impl ::windows::core::RuntimeType for AutoUpdateTimeZoneStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.AutoUpdateTimeZoneStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.AutoUpdateTimeZoneStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6071,7 +6071,7 @@ impl ::core::fmt::Debug for DiagnosticAccessStatus { } } impl ::windows::core::RuntimeType for DiagnosticAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.DiagnosticAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.DiagnosticAccessStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6102,7 +6102,7 @@ impl ::core::fmt::Debug for DispatcherQueuePriority { } } impl ::windows::core::RuntimeType for DispatcherQueuePriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.DispatcherQueuePriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.DispatcherQueuePriority;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6135,7 +6135,7 @@ impl ::core::fmt::Debug for LaunchFileStatus { } } impl ::windows::core::RuntimeType for LaunchFileStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.LaunchFileStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.LaunchFileStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6168,7 +6168,7 @@ impl ::core::fmt::Debug for LaunchQuerySupportStatus { } } impl ::windows::core::RuntimeType for LaunchQuerySupportStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.LaunchQuerySupportStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.LaunchQuerySupportStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6198,7 +6198,7 @@ impl ::core::fmt::Debug for LaunchQuerySupportType { } } impl ::windows::core::RuntimeType for LaunchQuerySupportType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.LaunchQuerySupportType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.LaunchQuerySupportType;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6230,7 +6230,7 @@ impl ::core::fmt::Debug for LaunchUriStatus { } } impl ::windows::core::RuntimeType for LaunchUriStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.LaunchUriStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.LaunchUriStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6260,7 +6260,7 @@ impl ::core::fmt::Debug for PowerState { } } impl ::windows::core::RuntimeType for PowerState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.PowerState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.PowerState;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6295,7 +6295,7 @@ impl ::core::fmt::Debug for ProcessorArchitecture { } } impl ::windows::core::RuntimeType for ProcessorArchitecture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.ProcessorArchitecture;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.ProcessorArchitecture;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6331,7 +6331,7 @@ impl ::core::fmt::Debug for RemoteLaunchUriStatus { } } impl ::windows::core::RuntimeType for RemoteLaunchUriStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.RemoteLaunchUriStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.RemoteLaunchUriStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6361,7 +6361,7 @@ impl ::core::fmt::Debug for ShutdownKind { } } impl ::windows::core::RuntimeType for ShutdownKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.ShutdownKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.ShutdownKind;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6392,7 +6392,7 @@ impl ::core::fmt::Debug for UserAgeConsentGroup { } } impl ::windows::core::RuntimeType for UserAgeConsentGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserAgeConsentGroup;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserAgeConsentGroup;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6425,7 +6425,7 @@ impl ::core::fmt::Debug for UserAgeConsentResult { } } impl ::windows::core::RuntimeType for UserAgeConsentResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserAgeConsentResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserAgeConsentResult;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6456,7 +6456,7 @@ impl ::core::fmt::Debug for UserAuthenticationStatus { } } impl ::windows::core::RuntimeType for UserAuthenticationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserAuthenticationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserAuthenticationStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6488,7 +6488,7 @@ impl ::core::fmt::Debug for UserPictureSize { } } impl ::windows::core::RuntimeType for UserPictureSize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserPictureSize;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserPictureSize;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6521,7 +6521,7 @@ impl ::core::fmt::Debug for UserType { } } impl ::windows::core::RuntimeType for UserType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserType;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6555,7 +6555,7 @@ impl ::core::fmt::Debug for UserWatcherStatus { } } impl ::windows::core::RuntimeType for UserWatcherStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserWatcherStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserWatcherStatus;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6585,7 +6585,7 @@ impl ::core::fmt::Debug for UserWatcherUpdateKind { } } impl ::windows::core::RuntimeType for UserWatcherUpdateKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.UserWatcherUpdateKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.UserWatcherUpdateKind;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6785,7 +6785,7 @@ impl ::core::fmt::Debug for VirtualKey { } } impl ::windows::core::RuntimeType for VirtualKey { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.VirtualKey;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.VirtualKey;i4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] @@ -6851,15 +6851,15 @@ impl ::core::ops::Not for VirtualKeyModifiers { } } impl ::windows::core::RuntimeType for VirtualKeyModifiers { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.System.VirtualKeyModifiers;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.System.VirtualKeyModifiers;u4)"); } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] pub struct DispatcherQueueHandler(pub ::windows::core::IUnknown); impl DispatcherQueueHandler { pub fn new ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = DispatcherQueueHandlerBox:: { vtable: &DispatcherQueueHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = DispatcherQueueHandlerBox:: { vtable: &DispatcherQueueHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self) -> ::windows::core::Result<()> { let this = self; @@ -6870,7 +6870,7 @@ impl DispatcherQueueHandler { struct DispatcherQueueHandlerBox ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const DispatcherQueueHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl ::windows::core::Result<()> + ::core::marker::Send + 'static> DispatcherQueueHandlerBox { const VTABLE: DispatcherQueueHandler_Vtbl = DispatcherQueueHandler_Vtbl { @@ -6879,7 +6879,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -6895,7 +6895,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -6927,7 +6927,7 @@ unsafe impl ::windows::core::Interface for DispatcherQueueHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xdfa2dc9c_1a2d_4917_98f2_939af1d6e0c8); } impl ::windows::core::RuntimeType for DispatcherQueueHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{dfa2dc9c-1a2d-4917-98f2-939af1d6e0c8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{dfa2dc9c-1a2d-4917-98f2-939af1d6e0c8}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs index e2b76a9795..8a41de19ea 100644 --- a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs @@ -83,7 +83,7 @@ impl ::core::fmt::Debug for ScreenReaderPositionChangedEventArgs { } } impl ::windows::core::RuntimeType for ScreenReaderPositionChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Accessibility.ScreenReaderPositionChangedEventArgs;{557eb5e5-54d0-5ccd-9fc5-ed33357f8a9f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Accessibility.ScreenReaderPositionChangedEventArgs;{557eb5e5-54d0-5ccd-9fc5-ed33357f8a9f})"); } impl ::core::clone::Clone for ScreenReaderPositionChangedEventArgs { fn clone(&self) -> Self { @@ -99,7 +99,7 @@ unsafe impl ::windows::core::Interface for ScreenReaderPositionChangedEventArgs impl ::windows::core::RuntimeName for ScreenReaderPositionChangedEventArgs { const NAME: &'static str = "Windows.UI.Accessibility.ScreenReaderPositionChangedEventArgs"; } -::windows::core::interface_hierarchy!(ScreenReaderPositionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScreenReaderPositionChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ScreenReaderPositionChangedEventArgs {} unsafe impl ::core::marker::Sync for ScreenReaderPositionChangedEventArgs {} #[doc = "*Required features: `\"UI_Accessibility\"`*"] @@ -109,8 +109,8 @@ impl ScreenReaderService { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn CurrentScreenReaderPosition(&self) -> ::windows::core::Result { @@ -148,7 +148,7 @@ impl ::core::fmt::Debug for ScreenReaderService { } } impl ::windows::core::RuntimeType for ScreenReaderService { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Accessibility.ScreenReaderService;{19475427-eac0-50d3-bdd9-9b487a226256})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Accessibility.ScreenReaderService;{19475427-eac0-50d3-bdd9-9b487a226256})"); } impl ::core::clone::Clone for ScreenReaderService { fn clone(&self) -> Self { @@ -164,7 +164,7 @@ unsafe impl ::windows::core::Interface for ScreenReaderService { impl ::windows::core::RuntimeName for ScreenReaderService { const NAME: &'static str = "Windows.UI.Accessibility.ScreenReaderService"; } -::windows::core::interface_hierarchy!(ScreenReaderService, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScreenReaderService, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ScreenReaderService {} unsafe impl ::core::marker::Sync for ScreenReaderService {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index d08af34e19..180b420503 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -579,17 +579,17 @@ impl AccountsSettingsPane { } #[doc(hidden)] pub fn IAccountsSettingsPaneStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAccountsSettingsPaneStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IAccountsSettingsPaneStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -605,7 +605,7 @@ impl ::core::fmt::Debug for AccountsSettingsPane { } } impl ::windows::core::RuntimeType for AccountsSettingsPane { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPane;{81ea942c-4f09-4406-a538-838d9b14b7e6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPane;{81ea942c-4f09-4406-a538-838d9b14b7e6})"); } impl ::core::clone::Clone for AccountsSettingsPane { fn clone(&self) -> Self { @@ -621,7 +621,7 @@ unsafe impl ::windows::core::Interface for AccountsSettingsPane { impl ::windows::core::RuntimeName for AccountsSettingsPane { const NAME: &'static str = "Windows.UI.ApplicationSettings.AccountsSettingsPane"; } -::windows::core::interface_hierarchy!(AccountsSettingsPane, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccountsSettingsPane, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] pub struct AccountsSettingsPaneCommandsRequestedEventArgs(::windows::core::IUnknown); @@ -702,7 +702,7 @@ impl ::core::fmt::Debug for AccountsSettingsPaneCommandsRequestedEventArgs { } } impl ::windows::core::RuntimeType for AccountsSettingsPaneCommandsRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs;{3b68c099-db19-45d0-9abf-95d3773c9330})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs;{3b68c099-db19-45d0-9abf-95d3773c9330})"); } impl ::core::clone::Clone for AccountsSettingsPaneCommandsRequestedEventArgs { fn clone(&self) -> Self { @@ -718,7 +718,7 @@ unsafe impl ::windows::core::Interface for AccountsSettingsPaneCommandsRequested impl ::windows::core::RuntimeName for AccountsSettingsPaneCommandsRequestedEventArgs { const NAME: &'static str = "Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs"; } -::windows::core::interface_hierarchy!(AccountsSettingsPaneCommandsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccountsSettingsPaneCommandsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] pub struct AccountsSettingsPaneEventDeferral(::windows::core::IUnknown); @@ -740,7 +740,7 @@ impl ::core::fmt::Debug for AccountsSettingsPaneEventDeferral { } } impl ::windows::core::RuntimeType for AccountsSettingsPaneEventDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPaneEventDeferral;{cbf25d3f-e5ba-40ef-93da-65e096e5fb04})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPaneEventDeferral;{cbf25d3f-e5ba-40ef-93da-65e096e5fb04})"); } impl ::core::clone::Clone for AccountsSettingsPaneEventDeferral { fn clone(&self) -> Self { @@ -756,7 +756,7 @@ unsafe impl ::windows::core::Interface for AccountsSettingsPaneEventDeferral { impl ::windows::core::RuntimeName for AccountsSettingsPaneEventDeferral { const NAME: &'static str = "Windows.UI.ApplicationSettings.AccountsSettingsPaneEventDeferral"; } -::windows::core::interface_hierarchy!(AccountsSettingsPaneEventDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccountsSettingsPaneEventDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] pub struct CredentialCommand(::windows::core::IUnknown); @@ -795,7 +795,7 @@ impl CredentialCommand { } #[doc(hidden)] pub fn ICredentialCommandFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -811,7 +811,7 @@ impl ::core::fmt::Debug for CredentialCommand { } } impl ::windows::core::RuntimeType for CredentialCommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.CredentialCommand;{a5f665e6-6143-4a7a-a971-b017ba978ce2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.CredentialCommand;{a5f665e6-6143-4a7a-a971-b017ba978ce2})"); } impl ::core::clone::Clone for CredentialCommand { fn clone(&self) -> Self { @@ -827,7 +827,7 @@ unsafe impl ::windows::core::Interface for CredentialCommand { impl ::windows::core::RuntimeName for CredentialCommand { const NAME: &'static str = "Windows.UI.ApplicationSettings.CredentialCommand"; } -::windows::core::interface_hierarchy!(CredentialCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CredentialCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`, `\"UI_Popups\"`*"] #[cfg(feature = "UI_Popups")] #[repr(transparent)] @@ -903,12 +903,12 @@ impl SettingsCommand { } #[doc(hidden)] pub fn ISettingsCommandFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISettingsCommandStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -928,7 +928,7 @@ impl ::core::fmt::Debug for SettingsCommand { } #[cfg(feature = "UI_Popups")] impl ::windows::core::RuntimeType for SettingsCommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsCommand;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsCommand;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); } #[cfg(feature = "UI_Popups")] impl ::core::clone::Clone for SettingsCommand { @@ -949,7 +949,7 @@ impl ::windows::core::RuntimeName for SettingsCommand { const NAME: &'static str = "Windows.UI.ApplicationSettings.SettingsCommand"; } #[cfg(feature = "UI_Popups")] -::windows::core::interface_hierarchy!(SettingsCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SettingsCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "UI_Popups")] impl ::core::convert::TryFrom for super::Popups::IUICommand { type Error = ::windows::core::Error; @@ -1017,7 +1017,7 @@ impl SettingsPane { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn ISettingsPaneStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1037,7 +1037,7 @@ impl ::core::fmt::Debug for SettingsPane { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SettingsPane { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPane;{b1cd0932-4570-4c69-8d38-89446561ace0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPane;{b1cd0932-4570-4c69-8d38-89446561ace0})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SettingsPane { @@ -1058,7 +1058,7 @@ impl ::windows::core::RuntimeName for SettingsPane { const NAME: &'static str = "Windows.UI.ApplicationSettings.SettingsPane"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SettingsPane, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SettingsPane, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -1091,7 +1091,7 @@ impl ::core::fmt::Debug for SettingsPaneCommandsRequest { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SettingsPaneCommandsRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest;{44df23ae-5d6e-4068-a168-f47643182114})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest;{44df23ae-5d6e-4068-a168-f47643182114})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SettingsPaneCommandsRequest { @@ -1112,7 +1112,7 @@ impl ::windows::core::RuntimeName for SettingsPaneCommandsRequest { const NAME: &'static str = "Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SettingsPaneCommandsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SettingsPaneCommandsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -1145,7 +1145,7 @@ impl ::core::fmt::Debug for SettingsPaneCommandsRequestedEventArgs { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SettingsPaneCommandsRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs;{205f5d24-1b48-4629-a6ca-2fdfedafb75d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs;{205f5d24-1b48-4629-a6ca-2fdfedafb75d})"); } #[cfg(feature = "deprecated")] impl ::core::clone::Clone for SettingsPaneCommandsRequestedEventArgs { @@ -1166,7 +1166,7 @@ impl ::windows::core::RuntimeName for SettingsPaneCommandsRequestedEventArgs { const NAME: &'static str = "Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs"; } #[cfg(feature = "deprecated")] -::windows::core::interface_hierarchy!(SettingsPaneCommandsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SettingsPaneCommandsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] pub struct WebAccountCommand(::windows::core::IUnknown); @@ -1204,7 +1204,7 @@ impl WebAccountCommand { } #[doc(hidden)] pub fn IWebAccountCommandFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1220,7 +1220,7 @@ impl ::core::fmt::Debug for WebAccountCommand { } } impl ::windows::core::RuntimeType for WebAccountCommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountCommand;{caa39398-9cfa-4246-b0c4-a913a3896541})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountCommand;{caa39398-9cfa-4246-b0c4-a913a3896541})"); } impl ::core::clone::Clone for WebAccountCommand { fn clone(&self) -> Self { @@ -1236,7 +1236,7 @@ unsafe impl ::windows::core::Interface for WebAccountCommand { impl ::windows::core::RuntimeName for WebAccountCommand { const NAME: &'static str = "Windows.UI.ApplicationSettings.WebAccountCommand"; } -::windows::core::interface_hierarchy!(WebAccountCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] pub struct WebAccountInvokedArgs(::windows::core::IUnknown); @@ -1261,7 +1261,7 @@ impl ::core::fmt::Debug for WebAccountInvokedArgs { } } impl ::windows::core::RuntimeType for WebAccountInvokedArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountInvokedArgs;{e7abcc40-a1d8-4c5d-9a7f-1d34b2f90ad2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountInvokedArgs;{e7abcc40-a1d8-4c5d-9a7f-1d34b2f90ad2})"); } impl ::core::clone::Clone for WebAccountInvokedArgs { fn clone(&self) -> Self { @@ -1277,7 +1277,7 @@ unsafe impl ::windows::core::Interface for WebAccountInvokedArgs { impl ::windows::core::RuntimeName for WebAccountInvokedArgs { const NAME: &'static str = "Windows.UI.ApplicationSettings.WebAccountInvokedArgs"; } -::windows::core::interface_hierarchy!(WebAccountInvokedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountInvokedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] pub struct WebAccountProviderCommand(::windows::core::IUnknown); @@ -1308,7 +1308,7 @@ impl WebAccountProviderCommand { } #[doc(hidden)] pub fn IWebAccountProviderCommandFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1324,7 +1324,7 @@ impl ::core::fmt::Debug for WebAccountProviderCommand { } } impl ::windows::core::RuntimeType for WebAccountProviderCommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountProviderCommand;{d69bdd9a-a0a6-4e9b-88dc-c71e757a3501})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountProviderCommand;{d69bdd9a-a0a6-4e9b-88dc-c71e757a3501})"); } impl ::core::clone::Clone for WebAccountProviderCommand { fn clone(&self) -> Self { @@ -1340,7 +1340,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderCommand { impl ::windows::core::RuntimeName for WebAccountProviderCommand { const NAME: &'static str = "Windows.UI.ApplicationSettings.WebAccountProviderCommand"; } -::windows::core::interface_hierarchy!(WebAccountProviderCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebAccountProviderCommand, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] @@ -1377,7 +1377,7 @@ impl ::core::fmt::Debug for SettingsEdgeLocation { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for SettingsEdgeLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ApplicationSettings.SettingsEdgeLocation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ApplicationSettings.SettingsEdgeLocation;i4)"); } #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] @@ -1444,7 +1444,7 @@ impl ::core::ops::Not for SupportedWebAccountActions { } } impl ::windows::core::RuntimeType for SupportedWebAccountActions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ApplicationSettings.SupportedWebAccountActions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ApplicationSettings.SupportedWebAccountActions;u4)"); } #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] @@ -1477,15 +1477,15 @@ impl ::core::fmt::Debug for WebAccountAction { } } impl ::windows::core::RuntimeType for WebAccountAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ApplicationSettings.WebAccountAction;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ApplicationSettings.WebAccountAction;i4)"); } #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] pub struct CredentialCommandCredentialDeletedHandler(pub ::windows::core::IUnknown); impl CredentialCommandCredentialDeletedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = CredentialCommandCredentialDeletedHandlerBox:: { vtable: &CredentialCommandCredentialDeletedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = CredentialCommandCredentialDeletedHandlerBox:: { vtable: &CredentialCommandCredentialDeletedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, command: &CredentialCommand) -> ::windows::core::Result<()> { let this = self; @@ -1496,7 +1496,7 @@ impl CredentialCommandCredentialDeletedHandler { struct CredentialCommandCredentialDeletedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const CredentialCommandCredentialDeletedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> CredentialCommandCredentialDeletedHandlerBox { const VTABLE: CredentialCommandCredentialDeletedHandler_Vtbl = CredentialCommandCredentialDeletedHandler_Vtbl { @@ -1505,7 +1505,7 @@ impl) -> ::windows::core::Re }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1521,7 +1521,7 @@ impl) -> ::windows::core::Re let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1553,7 +1553,7 @@ unsafe impl ::windows::core::Interface for CredentialCommandCredentialDeletedHan const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x61c0e185_0977_4678_b4e2_98727afbeed9); } impl ::windows::core::RuntimeType for CredentialCommandCredentialDeletedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{61c0e185-0977-4678-b4e2-98727afbeed9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{61c0e185-0977-4678-b4e2-98727afbeed9}"); } #[repr(C)] #[doc(hidden)] @@ -1566,8 +1566,8 @@ pub struct CredentialCommandCredentialDeletedHandler_Vtbl { pub struct WebAccountCommandInvokedHandler(pub ::windows::core::IUnknown); impl WebAccountCommandInvokedHandler { pub fn new, ::core::option::Option<&WebAccountInvokedArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = WebAccountCommandInvokedHandlerBox:: { vtable: &WebAccountCommandInvokedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = WebAccountCommandInvokedHandlerBox:: { vtable: &WebAccountCommandInvokedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, command: &WebAccountCommand, args: &WebAccountInvokedArgs) -> ::windows::core::Result<()> { let this = self; @@ -1578,7 +1578,7 @@ impl WebAccountCommandInvokedHandler { struct WebAccountCommandInvokedHandlerBox, ::core::option::Option<&WebAccountInvokedArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const WebAccountCommandInvokedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&WebAccountInvokedArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> WebAccountCommandInvokedHandlerBox { const VTABLE: WebAccountCommandInvokedHandler_Vtbl = WebAccountCommandInvokedHandler_Vtbl { @@ -1587,7 +1587,7 @@ impl, ::core::option::Option }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1603,7 +1603,7 @@ impl, ::core::option::Option let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1635,7 +1635,7 @@ unsafe impl ::windows::core::Interface for WebAccountCommandInvokedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1ee6e459_1705_4a9a_b599_a0c3d6921973); } impl ::windows::core::RuntimeType for WebAccountCommandInvokedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1ee6e459-1705-4a9a-b599-a0c3d6921973}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1ee6e459-1705-4a9a-b599-a0c3d6921973}"); } #[repr(C)] #[doc(hidden)] @@ -1648,8 +1648,8 @@ pub struct WebAccountCommandInvokedHandler_Vtbl { pub struct WebAccountProviderCommandInvokedHandler(pub ::windows::core::IUnknown); impl WebAccountProviderCommandInvokedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = WebAccountProviderCommandInvokedHandlerBox:: { vtable: &WebAccountProviderCommandInvokedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = WebAccountProviderCommandInvokedHandlerBox:: { vtable: &WebAccountProviderCommandInvokedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, command: &WebAccountProviderCommand) -> ::windows::core::Result<()> { let this = self; @@ -1660,7 +1660,7 @@ impl WebAccountProviderCommandInvokedHandler { struct WebAccountProviderCommandInvokedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const WebAccountProviderCommandInvokedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> WebAccountProviderCommandInvokedHandlerBox { const VTABLE: WebAccountProviderCommandInvokedHandler_Vtbl = WebAccountProviderCommandInvokedHandler_Vtbl { @@ -1669,7 +1669,7 @@ impl) -> ::windows:: }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1685,7 +1685,7 @@ impl) -> ::windows:: let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1717,7 +1717,7 @@ unsafe impl ::windows::core::Interface for WebAccountProviderCommandInvokedHandl const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb7de5527_4c8f_42dd_84da_5ec493abdb9a); } impl ::windows::core::RuntimeType for WebAccountProviderCommandInvokedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b7de5527-4c8f-42dd-84da-5ec493abdb9a}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b7de5527-4c8f-42dd-84da-5ec493abdb9a}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs index 41e3fba8fb..94447b6eac 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs @@ -38,8 +38,8 @@ impl CompositorController { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -96,7 +96,7 @@ impl ::core::fmt::Debug for CompositorController { } } impl ::windows::core::RuntimeType for CompositorController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Core.CompositorController;{2d75f35a-70a7-4395-ba2d-cef0b18399f9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Core.CompositorController;{2d75f35a-70a7-4395-ba2d-cef0b18399f9})"); } impl ::core::clone::Clone for CompositorController { fn clone(&self) -> Self { @@ -112,7 +112,7 @@ unsafe impl ::windows::core::Interface for CompositorController { impl ::windows::core::RuntimeName for CompositorController { const NAME: &'static str = "Windows.UI.Composition.Core.CompositorController"; } -::windows::core::interface_hierarchy!(CompositorController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositorController, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; diff --git a/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs index eac4e556ad..a34e55e091 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs @@ -161,7 +161,7 @@ impl ::core::fmt::Debug for DesktopWindowTarget { } } impl ::windows::core::RuntimeType for DesktopWindowTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Desktop.DesktopWindowTarget;{6329d6ca-3366-490e-9db3-25312929ac51})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Desktop.DesktopWindowTarget;{6329d6ca-3366-490e-9db3-25312929ac51})"); } impl ::core::clone::Clone for DesktopWindowTarget { fn clone(&self) -> Self { @@ -177,7 +177,7 @@ unsafe impl ::windows::core::Interface for DesktopWindowTarget { impl ::windows::core::RuntimeName for DesktopWindowTarget { const NAME: &'static str = "Windows.UI.Composition.Desktop.DesktopWindowTarget"; } -::windows::core::interface_hierarchy!(DesktopWindowTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DesktopWindowTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: DesktopWindowTarget) -> ::windows::core::Result { diff --git a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs index 8c217b4a67..f73577c892 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs @@ -106,7 +106,7 @@ impl ::core::fmt::Debug for CompositionDebugHeatMaps { } } impl ::windows::core::RuntimeType for CompositionDebugHeatMaps { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Diagnostics.CompositionDebugHeatMaps;{e49c90ac-2ff3-5805-718c-b725ee07650f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Diagnostics.CompositionDebugHeatMaps;{e49c90ac-2ff3-5805-718c-b725ee07650f})"); } impl ::core::clone::Clone for CompositionDebugHeatMaps { fn clone(&self) -> Self { @@ -122,7 +122,7 @@ unsafe impl ::windows::core::Interface for CompositionDebugHeatMaps { impl ::windows::core::RuntimeName for CompositionDebugHeatMaps { const NAME: &'static str = "Windows.UI.Composition.Diagnostics.CompositionDebugHeatMaps"; } -::windows::core::interface_hierarchy!(CompositionDebugHeatMaps, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionDebugHeatMaps, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CompositionDebugHeatMaps {} unsafe impl ::core::marker::Sync for CompositionDebugHeatMaps {} #[doc = "*Required features: `\"UI_Composition_Diagnostics\"`*"] @@ -144,7 +144,7 @@ impl CompositionDebugSettings { } #[doc(hidden)] pub fn ICompositionDebugSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -160,7 +160,7 @@ impl ::core::fmt::Debug for CompositionDebugSettings { } } impl ::windows::core::RuntimeType for CompositionDebugSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Diagnostics.CompositionDebugSettings;{2831987e-1d82-4d38-b7b7-efd11c7bc3d1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Diagnostics.CompositionDebugSettings;{2831987e-1d82-4d38-b7b7-efd11c7bc3d1})"); } impl ::core::clone::Clone for CompositionDebugSettings { fn clone(&self) -> Self { @@ -176,7 +176,7 @@ unsafe impl ::windows::core::Interface for CompositionDebugSettings { impl ::windows::core::RuntimeName for CompositionDebugSettings { const NAME: &'static str = "Windows.UI.Composition.Diagnostics.CompositionDebugSettings"; } -::windows::core::interface_hierarchy!(CompositionDebugSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionDebugSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CompositionDebugSettings {} unsafe impl ::core::marker::Sync for CompositionDebugSettings {} #[doc = "*Required features: `\"UI_Composition_Diagnostics\"`*"] @@ -247,7 +247,7 @@ impl ::core::ops::Not for CompositionDebugOverdrawContentKinds { } } impl ::windows::core::RuntimeType for CompositionDebugOverdrawContentKinds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Diagnostics.CompositionDebugOverdrawContentKinds;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Diagnostics.CompositionDebugOverdrawContentKinds;u4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs index 8ac7d8d3a8..457b3e0817 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs @@ -61,8 +61,8 @@ impl SceneLightingEffect { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Graphics_Effects\"`*"] @@ -167,7 +167,7 @@ impl ::core::fmt::Debug for SceneLightingEffect { } } impl ::windows::core::RuntimeType for SceneLightingEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Effects.SceneLightingEffect;{91bb5e52-95d1-4f8b-9a5a-6408b24b8c6a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Effects.SceneLightingEffect;{91bb5e52-95d1-4f8b-9a5a-6408b24b8c6a})"); } impl ::core::clone::Clone for SceneLightingEffect { fn clone(&self) -> Self { @@ -183,7 +183,7 @@ unsafe impl ::windows::core::Interface for SceneLightingEffect { impl ::windows::core::RuntimeName for SceneLightingEffect { const NAME: &'static str = "Windows.UI.Composition.Effects.SceneLightingEffect"; } -::windows::core::interface_hierarchy!(SceneLightingEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneLightingEffect, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Graphics_Effects")] impl ::core::convert::TryFrom for super::super::super::Graphics::Effects::IGraphicsEffect { type Error = ::windows::core::Error; @@ -258,7 +258,7 @@ impl ::core::fmt::Debug for SceneLightingEffectReflectanceModel { } } impl ::windows::core::RuntimeType for SceneLightingEffectReflectanceModel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Effects.SceneLightingEffectReflectanceModel;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Effects.SceneLightingEffectReflectanceModel;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs index fb517bb9c0..f5fd13ad72 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -45,7 +45,7 @@ pub struct ICompositionConditionalValueStatics_Vtbl { #[repr(transparent)] pub struct ICompositionInteractionSource(::windows::core::IUnknown); impl ICompositionInteractionSource {} -::windows::core::interface_hierarchy!(ICompositionInteractionSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICompositionInteractionSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICompositionInteractionSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -58,7 +58,7 @@ impl ::core::fmt::Debug for ICompositionInteractionSource { } } impl ::windows::core::RuntimeType for ICompositionInteractionSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{043b2431-06e3-495a-ba54-409f0017fac0}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{043b2431-06e3-495a-ba54-409f0017fac0}"); } unsafe impl ::windows::core::Vtable for ICompositionInteractionSource { type Vtable = ICompositionInteractionSource_Vtbl; @@ -731,7 +731,7 @@ impl IInteractionTrackerOwner { unsafe { (::windows::core::Vtable::vtable(this).ValuesChanged)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(sender), ::core::mem::transmute_copy(args)).ok() } } } -::windows::core::interface_hierarchy!(IInteractionTrackerOwner, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInteractionTrackerOwner, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInteractionTrackerOwner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -744,7 +744,7 @@ impl ::core::fmt::Debug for IInteractionTrackerOwner { } } impl ::windows::core::RuntimeType for IInteractionTrackerOwner { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{db2e8af3-4deb-4e53-b29c-b06c9f96d651}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{db2e8af3-4deb-4e53-b29c-b06c9f96d651}"); } unsafe impl ::windows::core::Vtable for IInteractionTrackerOwner { type Vtable = IInteractionTrackerOwner_Vtbl; @@ -1250,7 +1250,7 @@ impl CompositionConditionalValue { } #[doc(hidden)] pub fn ICompositionConditionalValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1266,7 +1266,7 @@ impl ::core::fmt::Debug for CompositionConditionalValue { } } impl ::windows::core::RuntimeType for CompositionConditionalValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.CompositionConditionalValue;{43250538-eb73-4561-a71d-1a43eaeb7a9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.CompositionConditionalValue;{43250538-eb73-4561-a71d-1a43eaeb7a9b})"); } impl ::core::clone::Clone for CompositionConditionalValue { fn clone(&self) -> Self { @@ -1282,7 +1282,7 @@ unsafe impl ::windows::core::Interface for CompositionConditionalValue { impl ::windows::core::RuntimeName for CompositionConditionalValue { const NAME: &'static str = "Windows.UI.Composition.Interactions.CompositionConditionalValue"; } -::windows::core::interface_hierarchy!(CompositionConditionalValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionConditionalValue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionConditionalValue) -> ::windows::core::Result { @@ -1499,7 +1499,7 @@ impl ::core::fmt::Debug for CompositionInteractionSourceCollection { } } impl ::windows::core::RuntimeType for CompositionInteractionSourceCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.CompositionInteractionSourceCollection;{1b468e4b-a5bf-47d8-a547-3894155a158c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.CompositionInteractionSourceCollection;{1b468e4b-a5bf-47d8-a547-3894155a158c})"); } impl ::core::clone::Clone for CompositionInteractionSourceCollection { fn clone(&self) -> Self { @@ -1531,7 +1531,7 @@ impl ::core::iter::IntoIterator for &CompositionInteractionSourceCollection { self.First().unwrap() } } -::windows::core::interface_hierarchy!(CompositionInteractionSourceCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionInteractionSourceCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionInteractionSourceCollection) -> ::windows::core::Result { @@ -1767,7 +1767,7 @@ impl ::core::fmt::Debug for InteractionSourceConfiguration { } } impl ::windows::core::RuntimeType for InteractionSourceConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionSourceConfiguration;{a78347e5-a9d1-4d02-985e-b930cd0b9da4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionSourceConfiguration;{a78347e5-a9d1-4d02-985e-b930cd0b9da4})"); } impl ::core::clone::Clone for InteractionSourceConfiguration { fn clone(&self) -> Self { @@ -1783,7 +1783,7 @@ unsafe impl ::windows::core::Interface for InteractionSourceConfiguration { impl ::windows::core::RuntimeName for InteractionSourceConfiguration { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionSourceConfiguration"; } -::windows::core::interface_hierarchy!(InteractionSourceConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionSourceConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InteractionSourceConfiguration) -> ::windows::core::Result { @@ -2306,12 +2306,12 @@ impl InteractionTracker { } #[doc(hidden)] pub fn IInteractionTrackerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInteractionTrackerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2327,7 +2327,7 @@ impl ::core::fmt::Debug for InteractionTracker { } } impl ::windows::core::RuntimeType for InteractionTracker { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTracker;{2a8e8cb1-1000-4416-8363-cc27fb877308})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTracker;{2a8e8cb1-1000-4416-8363-cc27fb877308})"); } impl ::core::clone::Clone for InteractionTracker { fn clone(&self) -> Self { @@ -2343,7 +2343,7 @@ unsafe impl ::windows::core::Interface for InteractionTracker { impl ::windows::core::RuntimeName for InteractionTracker { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTracker"; } -::windows::core::interface_hierarchy!(InteractionTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTracker, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InteractionTracker) -> ::windows::core::Result { @@ -2433,7 +2433,7 @@ impl ::core::fmt::Debug for InteractionTrackerCustomAnimationStateEnteredArgs { } } impl ::windows::core::RuntimeType for InteractionTrackerCustomAnimationStateEnteredArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerCustomAnimationStateEnteredArgs;{8d1c8cf1-d7b0-434c-a5d2-2d7611864834})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerCustomAnimationStateEnteredArgs;{8d1c8cf1-d7b0-434c-a5d2-2d7611864834})"); } impl ::core::clone::Clone for InteractionTrackerCustomAnimationStateEnteredArgs { fn clone(&self) -> Self { @@ -2449,7 +2449,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerCustomAnimationStat impl ::windows::core::RuntimeName for InteractionTrackerCustomAnimationStateEnteredArgs { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerCustomAnimationStateEnteredArgs"; } -::windows::core::interface_hierarchy!(InteractionTrackerCustomAnimationStateEnteredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerCustomAnimationStateEnteredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InteractionTrackerCustomAnimationStateEnteredArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerCustomAnimationStateEnteredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] @@ -2483,7 +2483,7 @@ impl ::core::fmt::Debug for InteractionTrackerIdleStateEnteredArgs { } } impl ::windows::core::RuntimeType for InteractionTrackerIdleStateEnteredArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerIdleStateEnteredArgs;{50012faa-1510-4142-a1a5-019b09f8857b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerIdleStateEnteredArgs;{50012faa-1510-4142-a1a5-019b09f8857b})"); } impl ::core::clone::Clone for InteractionTrackerIdleStateEnteredArgs { fn clone(&self) -> Self { @@ -2499,7 +2499,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerIdleStateEnteredArg impl ::windows::core::RuntimeName for InteractionTrackerIdleStateEnteredArgs { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerIdleStateEnteredArgs"; } -::windows::core::interface_hierarchy!(InteractionTrackerIdleStateEnteredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerIdleStateEnteredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InteractionTrackerIdleStateEnteredArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerIdleStateEnteredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] @@ -2624,7 +2624,7 @@ impl ::core::fmt::Debug for InteractionTrackerInertiaModifier { } } impl ::windows::core::RuntimeType for InteractionTrackerInertiaModifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaModifier;{a0e2c920-26b4-4da2-8b61-5e683979bbe2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaModifier;{a0e2c920-26b4-4da2-8b61-5e683979bbe2})"); } impl ::core::clone::Clone for InteractionTrackerInertiaModifier { fn clone(&self) -> Self { @@ -2640,7 +2640,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerInertiaModifier { impl ::windows::core::RuntimeName for InteractionTrackerInertiaModifier { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerInertiaModifier"; } -::windows::core::interface_hierarchy!(InteractionTrackerInertiaModifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerInertiaModifier, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InteractionTrackerInertiaModifier) -> ::windows::core::Result { @@ -2838,7 +2838,7 @@ impl InteractionTrackerInertiaMotion { } #[doc(hidden)] pub fn IInteractionTrackerInertiaMotionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2854,7 +2854,7 @@ impl ::core::fmt::Debug for InteractionTrackerInertiaMotion { } } impl ::windows::core::RuntimeType for InteractionTrackerInertiaMotion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaMotion;{04922fdc-f154-4cb8-bf33-cc1ba611e6db})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaMotion;{04922fdc-f154-4cb8-bf33-cc1ba611e6db})"); } impl ::core::clone::Clone for InteractionTrackerInertiaMotion { fn clone(&self) -> Self { @@ -2870,7 +2870,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerInertiaMotion { impl ::windows::core::RuntimeName for InteractionTrackerInertiaMotion { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerInertiaMotion"; } -::windows::core::interface_hierarchy!(InteractionTrackerInertiaMotion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerInertiaMotion, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InteractionTrackerInertiaMotion) -> ::windows::core::Result { @@ -3086,7 +3086,7 @@ impl InteractionTrackerInertiaNaturalMotion { } #[doc(hidden)] pub fn IInteractionTrackerInertiaNaturalMotionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3102,7 +3102,7 @@ impl ::core::fmt::Debug for InteractionTrackerInertiaNaturalMotion { } } impl ::windows::core::RuntimeType for InteractionTrackerInertiaNaturalMotion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaNaturalMotion;{70acdaae-27dc-48ed-a3c3-6d61c9a029d2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaNaturalMotion;{70acdaae-27dc-48ed-a3c3-6d61c9a029d2})"); } impl ::core::clone::Clone for InteractionTrackerInertiaNaturalMotion { fn clone(&self) -> Self { @@ -3118,7 +3118,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerInertiaNaturalMotio impl ::windows::core::RuntimeName for InteractionTrackerInertiaNaturalMotion { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerInertiaNaturalMotion"; } -::windows::core::interface_hierarchy!(InteractionTrackerInertiaNaturalMotion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerInertiaNaturalMotion, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InteractionTrackerInertiaNaturalMotion) -> ::windows::core::Result { @@ -3331,7 +3331,7 @@ impl InteractionTrackerInertiaRestingValue { } #[doc(hidden)] pub fn IInteractionTrackerInertiaRestingValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3347,7 +3347,7 @@ impl ::core::fmt::Debug for InteractionTrackerInertiaRestingValue { } } impl ::windows::core::RuntimeType for InteractionTrackerInertiaRestingValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaRestingValue;{86f7ec09-5096-4170-9cc8-df2fe101bb93})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaRestingValue;{86f7ec09-5096-4170-9cc8-df2fe101bb93})"); } impl ::core::clone::Clone for InteractionTrackerInertiaRestingValue { fn clone(&self) -> Self { @@ -3363,7 +3363,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerInertiaRestingValue impl ::windows::core::RuntimeName for InteractionTrackerInertiaRestingValue { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerInertiaRestingValue"; } -::windows::core::interface_hierarchy!(InteractionTrackerInertiaRestingValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerInertiaRestingValue, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InteractionTrackerInertiaRestingValue) -> ::windows::core::Result { @@ -3525,7 +3525,7 @@ impl ::core::fmt::Debug for InteractionTrackerInertiaStateEnteredArgs { } } impl ::windows::core::RuntimeType for InteractionTrackerInertiaStateEnteredArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaStateEnteredArgs;{87108cf2-e7ff-4f7d-9ffd-d72f1e409b63})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaStateEnteredArgs;{87108cf2-e7ff-4f7d-9ffd-d72f1e409b63})"); } impl ::core::clone::Clone for InteractionTrackerInertiaStateEnteredArgs { fn clone(&self) -> Self { @@ -3541,7 +3541,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerInertiaStateEntered impl ::windows::core::RuntimeName for InteractionTrackerInertiaStateEnteredArgs { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerInertiaStateEnteredArgs"; } -::windows::core::interface_hierarchy!(InteractionTrackerInertiaStateEnteredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerInertiaStateEnteredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InteractionTrackerInertiaStateEnteredArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerInertiaStateEnteredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] @@ -3575,7 +3575,7 @@ impl ::core::fmt::Debug for InteractionTrackerInteractingStateEnteredArgs { } } impl ::windows::core::RuntimeType for InteractionTrackerInteractingStateEnteredArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInteractingStateEnteredArgs;{a7263939-a17b-4011-99fd-b5c24f143748})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInteractingStateEnteredArgs;{a7263939-a17b-4011-99fd-b5c24f143748})"); } impl ::core::clone::Clone for InteractionTrackerInteractingStateEnteredArgs { fn clone(&self) -> Self { @@ -3591,7 +3591,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerInteractingStateEnt impl ::windows::core::RuntimeName for InteractionTrackerInteractingStateEnteredArgs { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerInteractingStateEnteredArgs"; } -::windows::core::interface_hierarchy!(InteractionTrackerInteractingStateEnteredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerInteractingStateEnteredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InteractionTrackerInteractingStateEnteredArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerInteractingStateEnteredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] @@ -3618,7 +3618,7 @@ impl ::core::fmt::Debug for InteractionTrackerRequestIgnoredArgs { } } impl ::windows::core::RuntimeType for InteractionTrackerRequestIgnoredArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerRequestIgnoredArgs;{80dd82f1-ce25-488f-91dd-cb6455ccff2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerRequestIgnoredArgs;{80dd82f1-ce25-488f-91dd-cb6455ccff2e})"); } impl ::core::clone::Clone for InteractionTrackerRequestIgnoredArgs { fn clone(&self) -> Self { @@ -3634,7 +3634,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerRequestIgnoredArgs impl ::windows::core::RuntimeName for InteractionTrackerRequestIgnoredArgs { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerRequestIgnoredArgs"; } -::windows::core::interface_hierarchy!(InteractionTrackerRequestIgnoredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerRequestIgnoredArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InteractionTrackerRequestIgnoredArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerRequestIgnoredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] @@ -3677,7 +3677,7 @@ impl ::core::fmt::Debug for InteractionTrackerValuesChangedArgs { } } impl ::windows::core::RuntimeType for InteractionTrackerValuesChangedArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerValuesChangedArgs;{cf1578ef-d3df-4501-b9e6-f02fb22f73d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerValuesChangedArgs;{cf1578ef-d3df-4501-b9e6-f02fb22f73d0})"); } impl ::core::clone::Clone for InteractionTrackerValuesChangedArgs { fn clone(&self) -> Self { @@ -3693,7 +3693,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerValuesChangedArgs { impl ::windows::core::RuntimeName for InteractionTrackerValuesChangedArgs { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerValuesChangedArgs"; } -::windows::core::interface_hierarchy!(InteractionTrackerValuesChangedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerValuesChangedArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InteractionTrackerValuesChangedArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerValuesChangedArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] @@ -3818,7 +3818,7 @@ impl ::core::fmt::Debug for InteractionTrackerVector2InertiaModifier { } } impl ::windows::core::RuntimeType for InteractionTrackerVector2InertiaModifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerVector2InertiaModifier;{87e08ab0-3086-4853-a4b7-77882ad5d7e3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerVector2InertiaModifier;{87e08ab0-3086-4853-a4b7-77882ad5d7e3})"); } impl ::core::clone::Clone for InteractionTrackerVector2InertiaModifier { fn clone(&self) -> Self { @@ -3834,7 +3834,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerVector2InertiaModif impl ::windows::core::RuntimeName for InteractionTrackerVector2InertiaModifier { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerVector2InertiaModifier"; } -::windows::core::interface_hierarchy!(InteractionTrackerVector2InertiaModifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerVector2InertiaModifier, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InteractionTrackerVector2InertiaModifier) -> ::windows::core::Result { @@ -4035,7 +4035,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { } #[doc(hidden)] pub fn IInteractionTrackerVector2InertiaNaturalMotionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4051,7 +4051,7 @@ impl ::core::fmt::Debug for InteractionTrackerVector2InertiaNaturalMotion { } } impl ::windows::core::RuntimeType for InteractionTrackerVector2InertiaNaturalMotion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerVector2InertiaNaturalMotion;{5f17695c-162d-4c07-9400-c282b28276ca})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerVector2InertiaNaturalMotion;{5f17695c-162d-4c07-9400-c282b28276ca})"); } impl ::core::clone::Clone for InteractionTrackerVector2InertiaNaturalMotion { fn clone(&self) -> Self { @@ -4067,7 +4067,7 @@ unsafe impl ::windows::core::Interface for InteractionTrackerVector2InertiaNatur impl ::windows::core::RuntimeName for InteractionTrackerVector2InertiaNaturalMotion { const NAME: &'static str = "Windows.UI.Composition.Interactions.InteractionTrackerVector2InertiaNaturalMotion"; } -::windows::core::interface_hierarchy!(InteractionTrackerVector2InertiaNaturalMotion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InteractionTrackerVector2InertiaNaturalMotion, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InteractionTrackerVector2InertiaNaturalMotion) -> ::windows::core::Result { @@ -4488,12 +4488,12 @@ impl VisualInteractionSource { } #[doc(hidden)] pub fn IVisualInteractionSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IVisualInteractionSourceStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4509,7 +4509,7 @@ impl ::core::fmt::Debug for VisualInteractionSource { } } impl ::windows::core::RuntimeType for VisualInteractionSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.VisualInteractionSource;{ca0e8a86-d8d6-4111-b088-70347bd2b0ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.VisualInteractionSource;{ca0e8a86-d8d6-4111-b088-70347bd2b0ed})"); } impl ::core::clone::Clone for VisualInteractionSource { fn clone(&self) -> Self { @@ -4525,7 +4525,7 @@ unsafe impl ::windows::core::Interface for VisualInteractionSource { impl ::windows::core::RuntimeName for VisualInteractionSource { const NAME: &'static str = "Windows.UI.Composition.Interactions.VisualInteractionSource"; } -::windows::core::interface_hierarchy!(VisualInteractionSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VisualInteractionSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: VisualInteractionSource) -> ::windows::core::Result { @@ -4666,7 +4666,7 @@ impl ::core::ops::Not for InteractionBindingAxisModes { } } impl ::windows::core::RuntimeType for InteractionBindingAxisModes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionBindingAxisModes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionBindingAxisModes;u4)"); } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] @@ -4697,7 +4697,7 @@ impl ::core::fmt::Debug for InteractionChainingMode { } } impl ::windows::core::RuntimeType for InteractionChainingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionChainingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionChainingMode;i4)"); } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] @@ -4728,7 +4728,7 @@ impl ::core::fmt::Debug for InteractionSourceMode { } } impl ::windows::core::RuntimeType for InteractionSourceMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionSourceMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionSourceMode;i4)"); } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] @@ -4758,7 +4758,7 @@ impl ::core::fmt::Debug for InteractionSourceRedirectionMode { } } impl ::windows::core::RuntimeType for InteractionSourceRedirectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionSourceRedirectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionSourceRedirectionMode;i4)"); } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] @@ -4788,7 +4788,7 @@ impl ::core::fmt::Debug for InteractionTrackerClampingOption { } } impl ::windows::core::RuntimeType for InteractionTrackerClampingOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionTrackerClampingOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionTrackerClampingOption;i4)"); } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] @@ -4818,7 +4818,7 @@ impl ::core::fmt::Debug for InteractionTrackerPositionUpdateOption { } } impl ::windows::core::RuntimeType for InteractionTrackerPositionUpdateOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionTrackerPositionUpdateOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.InteractionTrackerPositionUpdateOption;i4)"); } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] @@ -4850,7 +4850,7 @@ impl ::core::fmt::Debug for VisualInteractionSourceRedirectionMode { } } impl ::windows::core::RuntimeType for VisualInteractionSourceRedirectionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.VisualInteractionSourceRedirectionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Interactions.VisualInteractionSourceRedirectionMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs index 759271d272..495c51d3cc 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -858,7 +858,7 @@ impl ::core::fmt::Debug for SceneBoundingBox { } } impl ::windows::core::RuntimeType for SceneBoundingBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneBoundingBox;{5d8ffc70-c618-4083-8251-9962593114aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneBoundingBox;{5d8ffc70-c618-4083-8251-9962593114aa})"); } impl ::core::clone::Clone for SceneBoundingBox { fn clone(&self) -> Self { @@ -874,7 +874,7 @@ unsafe impl ::windows::core::Interface for SceneBoundingBox { impl ::windows::core::RuntimeName for SceneBoundingBox { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneBoundingBox"; } -::windows::core::interface_hierarchy!(SceneBoundingBox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneBoundingBox, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneBoundingBox) -> ::windows::core::Result { @@ -1077,7 +1077,7 @@ impl ::core::fmt::Debug for SceneComponent { } } impl ::windows::core::RuntimeType for SceneComponent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneComponent;{ae20fc96-226c-44bd-95cb-dd5ed9ebe9a5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneComponent;{ae20fc96-226c-44bd-95cb-dd5ed9ebe9a5})"); } impl ::core::clone::Clone for SceneComponent { fn clone(&self) -> Self { @@ -1093,7 +1093,7 @@ unsafe impl ::windows::core::Interface for SceneComponent { impl ::windows::core::RuntimeName for SceneComponent { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneComponent"; } -::windows::core::interface_hierarchy!(SceneComponent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneComponent, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneComponent) -> ::windows::core::Result { @@ -1403,7 +1403,7 @@ impl ::core::fmt::Debug for SceneComponentCollection { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for SceneComponentCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneComponentCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.Scenes.SceneComponent;{ae20fc96-226c-44bd-95cb-dd5ed9ebe9a5})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneComponentCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.Scenes.SceneComponent;{ae20fc96-226c-44bd-95cb-dd5ed9ebe9a5})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for SceneComponentCollection { @@ -1440,7 +1440,7 @@ impl ::core::iter::IntoIterator for &SceneComponentCollection { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(SceneComponentCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneComponentCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; @@ -1691,7 +1691,7 @@ impl ::core::fmt::Debug for SceneMaterial { } } impl ::windows::core::RuntimeType for SceneMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMaterial;{8ca74b7c-30df-4e07-9490-37875af1a123})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMaterial;{8ca74b7c-30df-4e07-9490-37875af1a123})"); } impl ::core::clone::Clone for SceneMaterial { fn clone(&self) -> Self { @@ -1707,7 +1707,7 @@ unsafe impl ::windows::core::Interface for SceneMaterial { impl ::windows::core::RuntimeName for SceneMaterial { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneMaterial"; } -::windows::core::interface_hierarchy!(SceneMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneMaterial) -> ::windows::core::Result { @@ -1903,7 +1903,7 @@ impl ::core::fmt::Debug for SceneMaterialInput { } } impl ::windows::core::RuntimeType for SceneMaterialInput { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMaterialInput;{422a1642-1ef1-485c-97e9-ae6f95ad812f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMaterialInput;{422a1642-1ef1-485c-97e9-ae6f95ad812f})"); } impl ::core::clone::Clone for SceneMaterialInput { fn clone(&self) -> Self { @@ -1919,7 +1919,7 @@ unsafe impl ::windows::core::Interface for SceneMaterialInput { impl ::windows::core::RuntimeName for SceneMaterialInput { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneMaterialInput"; } -::windows::core::interface_hierarchy!(SceneMaterialInput, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneMaterialInput, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneMaterialInput) -> ::windows::core::Result { @@ -2138,7 +2138,7 @@ impl SceneMesh { } #[doc(hidden)] pub fn ISceneMeshStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2154,7 +2154,7 @@ impl ::core::fmt::Debug for SceneMesh { } } impl ::windows::core::RuntimeType for SceneMesh { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMesh;{ee9a1530-1155-4c0c-92bd-40020cf78347})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMesh;{ee9a1530-1155-4c0c-92bd-40020cf78347})"); } impl ::core::clone::Clone for SceneMesh { fn clone(&self) -> Self { @@ -2170,7 +2170,7 @@ unsafe impl ::windows::core::Interface for SceneMesh { impl ::windows::core::RuntimeName for SceneMesh { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneMesh"; } -::windows::core::interface_hierarchy!(SceneMesh, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneMesh, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneMesh) -> ::windows::core::Result { @@ -2432,7 +2432,7 @@ impl ::core::fmt::Debug for SceneMeshMaterialAttributeMap { } } impl ::windows::core::RuntimeType for SceneMeshMaterialAttributeMap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMeshMaterialAttributeMap;{ce843171-3d43-4855-aa69-31ff988d049d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMeshMaterialAttributeMap;{ce843171-3d43-4855-aa69-31ff988d049d})"); } impl ::core::clone::Clone for SceneMeshMaterialAttributeMap { fn clone(&self) -> Self { @@ -2464,7 +2464,7 @@ impl ::core::iter::IntoIterator for &SceneMeshMaterialAttributeMap { self.First().unwrap() } } -::windows::core::interface_hierarchy!(SceneMeshMaterialAttributeMap, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneMeshMaterialAttributeMap, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneMeshMaterialAttributeMap) -> ::windows::core::Result { @@ -2738,7 +2738,7 @@ impl SceneMeshRendererComponent { } #[doc(hidden)] pub fn ISceneMeshRendererComponentStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2754,7 +2754,7 @@ impl ::core::fmt::Debug for SceneMeshRendererComponent { } } impl ::windows::core::RuntimeType for SceneMeshRendererComponent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMeshRendererComponent;{9929f7e3-6364-477e-98fe-74ed9fd4c2de})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMeshRendererComponent;{9929f7e3-6364-477e-98fe-74ed9fd4c2de})"); } impl ::core::clone::Clone for SceneMeshRendererComponent { fn clone(&self) -> Self { @@ -2770,7 +2770,7 @@ unsafe impl ::windows::core::Interface for SceneMeshRendererComponent { impl ::windows::core::RuntimeName for SceneMeshRendererComponent { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneMeshRendererComponent"; } -::windows::core::interface_hierarchy!(SceneMeshRendererComponent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneMeshRendererComponent, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneMeshRendererComponent) -> ::windows::core::Result { @@ -3168,7 +3168,7 @@ impl SceneMetallicRoughnessMaterial { } #[doc(hidden)] pub fn ISceneMetallicRoughnessMaterialStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3184,7 +3184,7 @@ impl ::core::fmt::Debug for SceneMetallicRoughnessMaterial { } } impl ::windows::core::RuntimeType for SceneMetallicRoughnessMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMetallicRoughnessMaterial;{c1d91446-799c-429e-a4e4-5da645f18e61})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMetallicRoughnessMaterial;{c1d91446-799c-429e-a4e4-5da645f18e61})"); } impl ::core::clone::Clone for SceneMetallicRoughnessMaterial { fn clone(&self) -> Self { @@ -3200,7 +3200,7 @@ unsafe impl ::windows::core::Interface for SceneMetallicRoughnessMaterial { impl ::windows::core::RuntimeName for SceneMetallicRoughnessMaterial { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneMetallicRoughnessMaterial"; } -::windows::core::interface_hierarchy!(SceneMetallicRoughnessMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneMetallicRoughnessMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneMetallicRoughnessMaterial) -> ::windows::core::Result { @@ -3508,7 +3508,7 @@ impl ::core::fmt::Debug for SceneModelTransform { } } impl ::windows::core::RuntimeType for SceneModelTransform { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneModelTransform;{c05576c2-32b1-4269-980d-b98537100ae4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneModelTransform;{c05576c2-32b1-4269-980d-b98537100ae4})"); } impl ::core::clone::Clone for SceneModelTransform { fn clone(&self) -> Self { @@ -3524,7 +3524,7 @@ unsafe impl ::windows::core::Interface for SceneModelTransform { impl ::windows::core::RuntimeName for SceneModelTransform { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneModelTransform"; } -::windows::core::interface_hierarchy!(SceneModelTransform, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneModelTransform, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneModelTransform) -> ::windows::core::Result { @@ -3754,7 +3754,7 @@ impl SceneNode { } #[doc(hidden)] pub fn ISceneNodeStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3770,7 +3770,7 @@ impl ::core::fmt::Debug for SceneNode { } } impl ::windows::core::RuntimeType for SceneNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneNode;{acf2c247-f307-4581-9c41-af2e29c3b016})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneNode;{acf2c247-f307-4581-9c41-af2e29c3b016})"); } impl ::core::clone::Clone for SceneNode { fn clone(&self) -> Self { @@ -3786,7 +3786,7 @@ unsafe impl ::windows::core::Interface for SceneNode { impl ::windows::core::RuntimeName for SceneNode { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneNode"; } -::windows::core::interface_hierarchy!(SceneNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneNode) -> ::windows::core::Result { @@ -4084,7 +4084,7 @@ impl ::core::fmt::Debug for SceneNodeCollection { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for SceneNodeCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneNodeCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.Scenes.SceneNode;{acf2c247-f307-4581-9c41-af2e29c3b016})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneNodeCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.Scenes.SceneNode;{acf2c247-f307-4581-9c41-af2e29c3b016})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for SceneNodeCollection { @@ -4121,7 +4121,7 @@ impl ::core::iter::IntoIterator for &SceneNodeCollection { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(SceneNodeCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneNodeCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; @@ -4372,7 +4372,7 @@ impl ::core::fmt::Debug for SceneObject { } } impl ::windows::core::RuntimeType for SceneObject { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneObject;{1e94249b-0f1b-49eb-a819-877d8450005b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneObject;{1e94249b-0f1b-49eb-a819-877d8450005b})"); } impl ::core::clone::Clone for SceneObject { fn clone(&self) -> Self { @@ -4388,7 +4388,7 @@ unsafe impl ::windows::core::Interface for SceneObject { impl ::windows::core::RuntimeName for SceneObject { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneObject"; } -::windows::core::interface_hierarchy!(SceneObject, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneObject, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneObject) -> ::windows::core::Result { @@ -4681,7 +4681,7 @@ impl ::core::fmt::Debug for ScenePbrMaterial { } } impl ::windows::core::RuntimeType for ScenePbrMaterial { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.ScenePbrMaterial;{aab6ebbe-d680-46df-8294-b6800a9f95e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.ScenePbrMaterial;{aab6ebbe-d680-46df-8294-b6800a9f95e7})"); } impl ::core::clone::Clone for ScenePbrMaterial { fn clone(&self) -> Self { @@ -4697,7 +4697,7 @@ unsafe impl ::windows::core::Interface for ScenePbrMaterial { impl ::windows::core::RuntimeName for ScenePbrMaterial { const NAME: &'static str = "Windows.UI.Composition.Scenes.ScenePbrMaterial"; } -::windows::core::interface_hierarchy!(ScenePbrMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScenePbrMaterial, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ScenePbrMaterial) -> ::windows::core::Result { @@ -4915,7 +4915,7 @@ impl ::core::fmt::Debug for SceneRendererComponent { } } impl ::windows::core::RuntimeType for SceneRendererComponent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneRendererComponent;{f1acb857-cf4f-4025-9b25-a2d1944cf507})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneRendererComponent;{f1acb857-cf4f-4025-9b25-a2d1944cf507})"); } impl ::core::clone::Clone for SceneRendererComponent { fn clone(&self) -> Self { @@ -4931,7 +4931,7 @@ unsafe impl ::windows::core::Interface for SceneRendererComponent { impl ::windows::core::RuntimeName for SceneRendererComponent { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneRendererComponent"; } -::windows::core::interface_hierarchy!(SceneRendererComponent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneRendererComponent, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneRendererComponent) -> ::windows::core::Result { @@ -5185,7 +5185,7 @@ impl SceneSurfaceMaterialInput { } #[doc(hidden)] pub fn ISceneSurfaceMaterialInputStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5201,7 +5201,7 @@ impl ::core::fmt::Debug for SceneSurfaceMaterialInput { } } impl ::windows::core::RuntimeType for SceneSurfaceMaterialInput { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneSurfaceMaterialInput;{9937da5c-a9ca-4cfc-b3aa-088356518742})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneSurfaceMaterialInput;{9937da5c-a9ca-4cfc-b3aa-088356518742})"); } impl ::core::clone::Clone for SceneSurfaceMaterialInput { fn clone(&self) -> Self { @@ -5217,7 +5217,7 @@ unsafe impl ::windows::core::Interface for SceneSurfaceMaterialInput { impl ::windows::core::RuntimeName for SceneSurfaceMaterialInput { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneSurfaceMaterialInput"; } -::windows::core::interface_hierarchy!(SceneSurfaceMaterialInput, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneSurfaceMaterialInput, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneSurfaceMaterialInput) -> ::windows::core::Result { @@ -5725,7 +5725,7 @@ impl SceneVisual { } #[doc(hidden)] pub fn ISceneVisualStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5741,7 +5741,7 @@ impl ::core::fmt::Debug for SceneVisual { } } impl ::windows::core::RuntimeType for SceneVisual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneVisual;{8e672c1e-d734-47b1-be14-3d694ffa4301})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneVisual;{8e672c1e-d734-47b1-be14-3d694ffa4301})"); } impl ::core::clone::Clone for SceneVisual { fn clone(&self) -> Self { @@ -5757,7 +5757,7 @@ unsafe impl ::windows::core::Interface for SceneVisual { impl ::windows::core::RuntimeName for SceneVisual { const NAME: &'static str = "Windows.UI.Composition.Scenes.SceneVisual"; } -::windows::core::interface_hierarchy!(SceneVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SceneVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SceneVisual) -> ::windows::core::Result { @@ -5875,7 +5875,7 @@ impl ::core::fmt::Debug for SceneAlphaMode { } } impl ::windows::core::RuntimeType for SceneAlphaMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Scenes.SceneAlphaMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Scenes.SceneAlphaMode;i4)"); } #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] @@ -5910,7 +5910,7 @@ impl ::core::fmt::Debug for SceneAttributeSemantic { } } impl ::windows::core::RuntimeType for SceneAttributeSemantic { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Scenes.SceneAttributeSemantic;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Scenes.SceneAttributeSemantic;i4)"); } #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] @@ -5939,7 +5939,7 @@ impl ::core::fmt::Debug for SceneComponentType { } } impl ::windows::core::RuntimeType for SceneComponentType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Scenes.SceneComponentType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Scenes.SceneComponentType;i4)"); } #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] @@ -5970,7 +5970,7 @@ impl ::core::fmt::Debug for SceneWrappingMode { } } impl ::windows::core::RuntimeType for SceneWrappingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Scenes.SceneWrappingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.Scenes.SceneWrappingMode;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index 32825371f9..62f4ac0010 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -109,7 +109,7 @@ impl IAnimationObject { unsafe { (::windows::core::Vtable::vtable(this).PopulatePropertyInfo)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(propertyname), ::core::mem::transmute_copy(propertyinfo)).ok() } } } -::windows::core::interface_hierarchy!(IAnimationObject, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAnimationObject, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAnimationObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -122,7 +122,7 @@ impl ::core::fmt::Debug for IAnimationObject { } } impl ::windows::core::RuntimeType for IAnimationObject { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e7141e0a-04b8-4fc5-a4dc-195392e57807}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e7141e0a-04b8-4fc5-a4dc-195392e57807}"); } unsafe impl ::windows::core::Vtable for IAnimationObject { type Vtable = IAnimationObject_Vtbl; @@ -475,7 +475,7 @@ pub struct ICompositionAnimation4_Vtbl { #[repr(transparent)] pub struct ICompositionAnimationBase(::windows::core::IUnknown); impl ICompositionAnimationBase {} -::windows::core::interface_hierarchy!(ICompositionAnimationBase, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICompositionAnimationBase, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICompositionAnimationBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -488,7 +488,7 @@ impl ::core::fmt::Debug for ICompositionAnimationBase { } } impl ::windows::core::RuntimeType for ICompositionAnimationBase { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1c2c2999-e818-48d3-a6dd-d78c82f8ace9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1c2c2999-e818-48d3-a6dd-d78c82f8ace9}"); } unsafe impl ::windows::core::Vtable for ICompositionAnimationBase { type Vtable = ICompositionAnimationBase_Vtbl; @@ -2481,7 +2481,7 @@ impl ICompositionSupportsSystemBackdrop { unsafe { (::windows::core::Vtable::vtable(this).SetSystemBackdrop)(::windows::core::Vtable::as_raw(this), value.into().abi()).ok() } } } -::windows::core::interface_hierarchy!(ICompositionSupportsSystemBackdrop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICompositionSupportsSystemBackdrop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICompositionSupportsSystemBackdrop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2494,7 +2494,7 @@ impl ::core::fmt::Debug for ICompositionSupportsSystemBackdrop { } } impl ::windows::core::RuntimeType for ICompositionSupportsSystemBackdrop { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{397dafe4-b6c2-5bb9-951d-f5707de8b7bc}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{397dafe4-b6c2-5bb9-951d-f5707de8b7bc}"); } unsafe impl ::windows::core::Vtable for ICompositionSupportsSystemBackdrop { type Vtable = ICompositionSupportsSystemBackdrop_Vtbl; @@ -2518,7 +2518,7 @@ pub struct ICompositionSupportsSystemBackdrop_Vtbl { #[repr(transparent)] pub struct ICompositionSurface(::windows::core::IUnknown); impl ICompositionSurface {} -::windows::core::interface_hierarchy!(ICompositionSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICompositionSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICompositionSurface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2531,7 +2531,7 @@ impl ::core::fmt::Debug for ICompositionSurface { } } impl ::windows::core::RuntimeType for ICompositionSurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{1527540d-42c7-47a6-a408-668f79a90dfb}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{1527540d-42c7-47a6-a408-668f79a90dfb}"); } unsafe impl ::windows::core::Vtable for ICompositionSurface { type Vtable = ICompositionSurface_Vtbl; @@ -2674,7 +2674,7 @@ impl ICompositionSurfaceFacade { } } } -::windows::core::interface_hierarchy!(ICompositionSurfaceFacade, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICompositionSurfaceFacade, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICompositionSurfaceFacade { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2687,7 +2687,7 @@ impl ::core::fmt::Debug for ICompositionSurfaceFacade { } } impl ::windows::core::RuntimeType for ICompositionSurfaceFacade { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{e01622c8-2332-55c7-8868-a7312c5c229d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{e01622c8-2332-55c7-8868-a7312c5c229d}"); } unsafe impl ::windows::core::Vtable for ICompositionSurfaceFacade { type Vtable = ICompositionSurfaceFacade_Vtbl; @@ -4847,7 +4847,7 @@ pub struct IVisualCollection_Vtbl { #[repr(transparent)] pub struct IVisualElement(::windows::core::IUnknown); impl IVisualElement {} -::windows::core::interface_hierarchy!(IVisualElement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVisualElement, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVisualElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4860,7 +4860,7 @@ impl ::core::fmt::Debug for IVisualElement { } } impl ::windows::core::RuntimeType for IVisualElement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{01e64612-1d82-42f4-8e3f-a722ded33fc7}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{01e64612-1d82-42f4-8e3f-a722ded33fc7}"); } unsafe impl ::windows::core::Vtable for IVisualElement { type Vtable = IVisualElement_Vtbl; @@ -4890,7 +4890,7 @@ impl IVisualElement2 { } } } -::windows::core::interface_hierarchy!(IVisualElement2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVisualElement2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVisualElement2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4903,7 +4903,7 @@ impl ::core::fmt::Debug for IVisualElement2 { } } impl ::windows::core::RuntimeType for IVisualElement2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{993ae8a0-6057-5e40-918c-e06e0b7e7c64}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{993ae8a0-6057-5e40-918c-e06e0b7e7c64}"); } unsafe impl ::windows::core::Vtable for IVisualElement2 { type Vtable = IVisualElement2_Vtbl; @@ -5133,7 +5133,7 @@ impl ::core::fmt::Debug for AmbientLight { } } impl ::windows::core::RuntimeType for AmbientLight { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AmbientLight;{a48130a1-b7c4-46f7-b9bf-daf43a44e6ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AmbientLight;{a48130a1-b7c4-46f7-b9bf-daf43a44e6ee})"); } impl ::core::clone::Clone for AmbientLight { fn clone(&self) -> Self { @@ -5149,7 +5149,7 @@ unsafe impl ::windows::core::Interface for AmbientLight { impl ::windows::core::RuntimeName for AmbientLight { const NAME: &'static str = "Windows.UI.Composition.AmbientLight"; } -::windows::core::interface_hierarchy!(AmbientLight, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AmbientLight, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: AmbientLight) -> ::windows::core::Result { @@ -5387,7 +5387,7 @@ impl AnimationController { } #[doc(hidden)] pub fn IAnimationControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5403,7 +5403,7 @@ impl ::core::fmt::Debug for AnimationController { } } impl ::windows::core::RuntimeType for AnimationController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AnimationController;{c934efd2-0722-4f5f-a4e2-9510f3d43bf7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AnimationController;{c934efd2-0722-4f5f-a4e2-9510f3d43bf7})"); } impl ::core::clone::Clone for AnimationController { fn clone(&self) -> Self { @@ -5419,7 +5419,7 @@ unsafe impl ::windows::core::Interface for AnimationController { impl ::windows::core::RuntimeName for AnimationController { const NAME: &'static str = "Windows.UI.Composition.AnimationController"; } -::windows::core::interface_hierarchy!(AnimationController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AnimationController, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: AnimationController) -> ::windows::core::Result { @@ -5625,7 +5625,7 @@ impl ::core::fmt::Debug for AnimationPropertyInfo { } } impl ::windows::core::RuntimeType for AnimationPropertyInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AnimationPropertyInfo;{f4716f05-ed77-4e3c-b328-5c3985b3738f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AnimationPropertyInfo;{f4716f05-ed77-4e3c-b328-5c3985b3738f})"); } impl ::core::clone::Clone for AnimationPropertyInfo { fn clone(&self) -> Self { @@ -5641,7 +5641,7 @@ unsafe impl ::windows::core::Interface for AnimationPropertyInfo { impl ::windows::core::RuntimeName for AnimationPropertyInfo { const NAME: &'static str = "Windows.UI.Composition.AnimationPropertyInfo"; } -::windows::core::interface_hierarchy!(AnimationPropertyInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AnimationPropertyInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: AnimationPropertyInfo) -> ::windows::core::Result { @@ -5836,7 +5836,7 @@ impl ::core::fmt::Debug for BackEasingFunction { } } impl ::windows::core::RuntimeType for BackEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BackEasingFunction;{b8560da4-5e3c-545d-b263-7987a2bd27cb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BackEasingFunction;{b8560da4-5e3c-545d-b263-7987a2bd27cb})"); } impl ::core::clone::Clone for BackEasingFunction { fn clone(&self) -> Self { @@ -5852,7 +5852,7 @@ unsafe impl ::windows::core::Interface for BackEasingFunction { impl ::windows::core::RuntimeName for BackEasingFunction { const NAME: &'static str = "Windows.UI.Composition.BackEasingFunction"; } -::windows::core::interface_hierarchy!(BackEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: BackEasingFunction) -> ::windows::core::Result { @@ -6246,7 +6246,7 @@ impl ::core::fmt::Debug for BooleanKeyFrameAnimation { } } impl ::windows::core::RuntimeType for BooleanKeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BooleanKeyFrameAnimation;{95e23a08-d1f4-4972-9770-3efe68d82e14})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BooleanKeyFrameAnimation;{95e23a08-d1f4-4972-9770-3efe68d82e14})"); } impl ::core::clone::Clone for BooleanKeyFrameAnimation { fn clone(&self) -> Self { @@ -6262,7 +6262,7 @@ unsafe impl ::windows::core::Interface for BooleanKeyFrameAnimation { impl ::windows::core::RuntimeName for BooleanKeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.BooleanKeyFrameAnimation"; } -::windows::core::interface_hierarchy!(BooleanKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BooleanKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: BooleanKeyFrameAnimation) -> ::windows::core::Result { @@ -6513,7 +6513,7 @@ impl ::core::fmt::Debug for BounceEasingFunction { } } impl ::windows::core::RuntimeType for BounceEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceEasingFunction;{e7fdb44b-aad5-5174-9421-eef8b75a6a43})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceEasingFunction;{e7fdb44b-aad5-5174-9421-eef8b75a6a43})"); } impl ::core::clone::Clone for BounceEasingFunction { fn clone(&self) -> Self { @@ -6529,7 +6529,7 @@ unsafe impl ::windows::core::Interface for BounceEasingFunction { impl ::windows::core::RuntimeName for BounceEasingFunction { const NAME: &'static str = "Windows.UI.Composition.BounceEasingFunction"; } -::windows::core::interface_hierarchy!(BounceEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BounceEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: BounceEasingFunction) -> ::windows::core::Result { @@ -6924,7 +6924,7 @@ impl ::core::fmt::Debug for BounceScalarNaturalMotionAnimation { } } impl ::windows::core::RuntimeType for BounceScalarNaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceScalarNaturalMotionAnimation;{baa30dcc-a633-4618-9b06-7f7c72c87cff})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceScalarNaturalMotionAnimation;{baa30dcc-a633-4618-9b06-7f7c72c87cff})"); } impl ::core::clone::Clone for BounceScalarNaturalMotionAnimation { fn clone(&self) -> Self { @@ -6940,7 +6940,7 @@ unsafe impl ::windows::core::Interface for BounceScalarNaturalMotionAnimation { impl ::windows::core::RuntimeName for BounceScalarNaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.BounceScalarNaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(BounceScalarNaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BounceScalarNaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: BounceScalarNaturalMotionAnimation) -> ::windows::core::Result { @@ -7388,7 +7388,7 @@ impl ::core::fmt::Debug for BounceVector2NaturalMotionAnimation { } } impl ::windows::core::RuntimeType for BounceVector2NaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceVector2NaturalMotionAnimation;{da344196-2154-4b3c-88aa-47361204eccd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceVector2NaturalMotionAnimation;{da344196-2154-4b3c-88aa-47361204eccd})"); } impl ::core::clone::Clone for BounceVector2NaturalMotionAnimation { fn clone(&self) -> Self { @@ -7404,7 +7404,7 @@ unsafe impl ::windows::core::Interface for BounceVector2NaturalMotionAnimation { impl ::windows::core::RuntimeName for BounceVector2NaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.BounceVector2NaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(BounceVector2NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BounceVector2NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: BounceVector2NaturalMotionAnimation) -> ::windows::core::Result { @@ -7852,7 +7852,7 @@ impl ::core::fmt::Debug for BounceVector3NaturalMotionAnimation { } } impl ::windows::core::RuntimeType for BounceVector3NaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceVector3NaturalMotionAnimation;{47dabc31-10d3-4518-86f1-09caf742d113})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceVector3NaturalMotionAnimation;{47dabc31-10d3-4518-86f1-09caf742d113})"); } impl ::core::clone::Clone for BounceVector3NaturalMotionAnimation { fn clone(&self) -> Self { @@ -7868,7 +7868,7 @@ unsafe impl ::windows::core::Interface for BounceVector3NaturalMotionAnimation { impl ::windows::core::RuntimeName for BounceVector3NaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.BounceVector3NaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(BounceVector3NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BounceVector3NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: BounceVector3NaturalMotionAnimation) -> ::windows::core::Result { @@ -8120,7 +8120,7 @@ impl ::core::fmt::Debug for CircleEasingFunction { } } impl ::windows::core::RuntimeType for CircleEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CircleEasingFunction;{1e07222a-6f82-5a28-8748-2e92fc46ee2b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CircleEasingFunction;{1e07222a-6f82-5a28-8748-2e92fc46ee2b})"); } impl ::core::clone::Clone for CircleEasingFunction { fn clone(&self) -> Self { @@ -8136,7 +8136,7 @@ unsafe impl ::windows::core::Interface for CircleEasingFunction { impl ::windows::core::RuntimeName for CircleEasingFunction { const NAME: &'static str = "Windows.UI.Composition.CircleEasingFunction"; } -::windows::core::interface_hierarchy!(CircleEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CircleEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CircleEasingFunction) -> ::windows::core::Result { @@ -8548,7 +8548,7 @@ impl ::core::fmt::Debug for ColorKeyFrameAnimation { } } impl ::windows::core::RuntimeType for ColorKeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ColorKeyFrameAnimation;{93adb5e9-8e05-4593-84a3-dca152781e56})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ColorKeyFrameAnimation;{93adb5e9-8e05-4593-84a3-dca152781e56})"); } impl ::core::clone::Clone for ColorKeyFrameAnimation { fn clone(&self) -> Self { @@ -8564,7 +8564,7 @@ unsafe impl ::windows::core::Interface for ColorKeyFrameAnimation { impl ::windows::core::RuntimeName for ColorKeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.ColorKeyFrameAnimation"; } -::windows::core::interface_hierarchy!(ColorKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ColorKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ColorKeyFrameAnimation) -> ::windows::core::Result { @@ -8885,7 +8885,7 @@ impl ::core::fmt::Debug for CompositionAnimation { } } impl ::windows::core::RuntimeType for CompositionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionAnimation;{464c4c2c-1caa-4061-9b40-e13fde1503ca})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionAnimation;{464c4c2c-1caa-4061-9b40-e13fde1503ca})"); } impl ::core::clone::Clone for CompositionAnimation { fn clone(&self) -> Self { @@ -8901,7 +8901,7 @@ unsafe impl ::windows::core::Interface for CompositionAnimation { impl ::windows::core::RuntimeName for CompositionAnimation { const NAME: &'static str = "Windows.UI.Composition.CompositionAnimation"; } -::windows::core::interface_hierarchy!(CompositionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionAnimation) -> ::windows::core::Result { @@ -9135,7 +9135,7 @@ impl ::core::fmt::Debug for CompositionAnimationGroup { } } impl ::windows::core::RuntimeType for CompositionAnimationGroup { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionAnimationGroup;{5e7cc90c-cd14-4e07-8a55-c72527aabdac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionAnimationGroup;{5e7cc90c-cd14-4e07-8a55-c72527aabdac})"); } impl ::core::clone::Clone for CompositionAnimationGroup { fn clone(&self) -> Self { @@ -9167,7 +9167,7 @@ impl ::core::iter::IntoIterator for &CompositionAnimationGroup { self.First().unwrap() } } -::windows::core::interface_hierarchy!(CompositionAnimationGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionAnimationGroup, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionAnimationGroup) -> ::windows::core::Result { @@ -9389,7 +9389,7 @@ impl ::core::fmt::Debug for CompositionBackdropBrush { } } impl ::windows::core::RuntimeType for CompositionBackdropBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBackdropBrush;{c5acae58-3898-499e-8d7f-224e91286a5d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBackdropBrush;{c5acae58-3898-499e-8d7f-224e91286a5d})"); } impl ::core::clone::Clone for CompositionBackdropBrush { fn clone(&self) -> Self { @@ -9405,7 +9405,7 @@ unsafe impl ::windows::core::Interface for CompositionBackdropBrush { impl ::windows::core::RuntimeName for CompositionBackdropBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionBackdropBrush"; } -::windows::core::interface_hierarchy!(CompositionBackdropBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionBackdropBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionBackdropBrush) -> ::windows::core::Result { @@ -9601,7 +9601,7 @@ impl ::core::fmt::Debug for CompositionBatchCompletedEventArgs { } } impl ::windows::core::RuntimeType for CompositionBatchCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBatchCompletedEventArgs;{0d00dad0-9464-450a-a562-2e2698b0a812})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBatchCompletedEventArgs;{0d00dad0-9464-450a-a562-2e2698b0a812})"); } impl ::core::clone::Clone for CompositionBatchCompletedEventArgs { fn clone(&self) -> Self { @@ -9617,7 +9617,7 @@ unsafe impl ::windows::core::Interface for CompositionBatchCompletedEventArgs { impl ::windows::core::RuntimeName for CompositionBatchCompletedEventArgs { const NAME: &'static str = "Windows.UI.Composition.CompositionBatchCompletedEventArgs"; } -::windows::core::interface_hierarchy!(CompositionBatchCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionBatchCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionBatchCompletedEventArgs) -> ::windows::core::Result { @@ -9798,7 +9798,7 @@ impl ::core::fmt::Debug for CompositionBrush { } } impl ::windows::core::RuntimeType for CompositionBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBrush;{ab0d7608-30c0-40e9-b568-b60a6bd1fb46})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBrush;{ab0d7608-30c0-40e9-b568-b60a6bd1fb46})"); } impl ::core::clone::Clone for CompositionBrush { fn clone(&self) -> Self { @@ -9814,7 +9814,7 @@ unsafe impl ::windows::core::Interface for CompositionBrush { impl ::windows::core::RuntimeName for CompositionBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionBrush"; } -::windows::core::interface_hierarchy!(CompositionBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionBrush) -> ::windows::core::Result { @@ -9914,7 +9914,7 @@ impl CompositionCapabilities { } #[doc(hidden)] pub fn ICompositionCapabilitiesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -9930,7 +9930,7 @@ impl ::core::fmt::Debug for CompositionCapabilities { } } impl ::windows::core::RuntimeType for CompositionCapabilities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionCapabilities;{8253353e-b517-48bc-b1e8-4b3561a2e181})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionCapabilities;{8253353e-b517-48bc-b1e8-4b3561a2e181})"); } impl ::core::clone::Clone for CompositionCapabilities { fn clone(&self) -> Self { @@ -9946,7 +9946,7 @@ unsafe impl ::windows::core::Interface for CompositionCapabilities { impl ::windows::core::RuntimeName for CompositionCapabilities { const NAME: &'static str = "Windows.UI.Composition.CompositionCapabilities"; } -::windows::core::interface_hierarchy!(CompositionCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionCapabilities, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CompositionCapabilities {} unsafe impl ::core::marker::Sync for CompositionCapabilities {} #[doc = "*Required features: `\"UI_Composition\"`*"] @@ -10168,7 +10168,7 @@ impl ::core::fmt::Debug for CompositionClip { } } impl ::windows::core::RuntimeType for CompositionClip { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionClip;{1ccd2a52-cfc7-4ace-9983-146bb8eb6a3c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionClip;{1ccd2a52-cfc7-4ace-9983-146bb8eb6a3c})"); } impl ::core::clone::Clone for CompositionClip { fn clone(&self) -> Self { @@ -10184,7 +10184,7 @@ unsafe impl ::windows::core::Interface for CompositionClip { impl ::windows::core::RuntimeName for CompositionClip { const NAME: &'static str = "Windows.UI.Composition.CompositionClip"; } -::windows::core::interface_hierarchy!(CompositionClip, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionClip, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionClip) -> ::windows::core::Result { @@ -10376,7 +10376,7 @@ impl ::core::fmt::Debug for CompositionColorBrush { } } impl ::windows::core::RuntimeType for CompositionColorBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorBrush;{2b264c5e-bf35-4831-8642-cf70c20fff2f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorBrush;{2b264c5e-bf35-4831-8642-cf70c20fff2f})"); } impl ::core::clone::Clone for CompositionColorBrush { fn clone(&self) -> Self { @@ -10392,7 +10392,7 @@ unsafe impl ::windows::core::Interface for CompositionColorBrush { impl ::windows::core::RuntimeName for CompositionColorBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionColorBrush"; } -::windows::core::interface_hierarchy!(CompositionColorBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionColorBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionColorBrush) -> ::windows::core::Result { @@ -10610,7 +10610,7 @@ impl ::core::fmt::Debug for CompositionColorGradientStop { } } impl ::windows::core::RuntimeType for CompositionColorGradientStop { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorGradientStop;{6f00ca92-c801-4e41-9a8f-a53e20f57778})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorGradientStop;{6f00ca92-c801-4e41-9a8f-a53e20f57778})"); } impl ::core::clone::Clone for CompositionColorGradientStop { fn clone(&self) -> Self { @@ -10626,7 +10626,7 @@ unsafe impl ::windows::core::Interface for CompositionColorGradientStop { impl ::windows::core::RuntimeName for CompositionColorGradientStop { const NAME: &'static str = "Windows.UI.Composition.CompositionColorGradientStop"; } -::windows::core::interface_hierarchy!(CompositionColorGradientStop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionColorGradientStop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionColorGradientStop) -> ::windows::core::Result { @@ -10798,7 +10798,7 @@ impl ::core::fmt::Debug for CompositionColorGradientStopCollection { } } impl ::windows::core::RuntimeType for CompositionColorGradientStopCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorGradientStopCollection;{9f1d20ec-7b04-4b1d-90bc-9fa32c0cfd26})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorGradientStopCollection;{9f1d20ec-7b04-4b1d-90bc-9fa32c0cfd26})"); } impl ::core::clone::Clone for CompositionColorGradientStopCollection { fn clone(&self) -> Self { @@ -10830,7 +10830,7 @@ impl ::core::iter::IntoIterator for &CompositionColorGradientStopCollection { super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(CompositionColorGradientStopCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionColorGradientStopCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -11028,7 +11028,7 @@ impl ::core::fmt::Debug for CompositionCommitBatch { } } impl ::windows::core::RuntimeType for CompositionCommitBatch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionCommitBatch;{0d00dad0-ca07-4400-8c8e-cb5db08559cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionCommitBatch;{0d00dad0-ca07-4400-8c8e-cb5db08559cc})"); } impl ::core::clone::Clone for CompositionCommitBatch { fn clone(&self) -> Self { @@ -11044,7 +11044,7 @@ unsafe impl ::windows::core::Interface for CompositionCommitBatch { impl ::windows::core::RuntimeName for CompositionCommitBatch { const NAME: &'static str = "Windows.UI.Composition.CompositionCommitBatch"; } -::windows::core::interface_hierarchy!(CompositionCommitBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionCommitBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionCommitBatch) -> ::windows::core::Result { @@ -11316,7 +11316,7 @@ impl ::core::fmt::Debug for CompositionContainerShape { } } impl ::windows::core::RuntimeType for CompositionContainerShape { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionContainerShape;{4f5e859b-2e5b-44a8-982c-aa0f69c16059})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionContainerShape;{4f5e859b-2e5b-44a8-982c-aa0f69c16059})"); } impl ::core::clone::Clone for CompositionContainerShape { fn clone(&self) -> Self { @@ -11332,7 +11332,7 @@ unsafe impl ::windows::core::Interface for CompositionContainerShape { impl ::windows::core::RuntimeName for CompositionContainerShape { const NAME: &'static str = "Windows.UI.Composition.CompositionContainerShape"; } -::windows::core::interface_hierarchy!(CompositionContainerShape, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionContainerShape, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionContainerShape) -> ::windows::core::Result { @@ -11594,7 +11594,7 @@ impl ::core::fmt::Debug for CompositionDrawingSurface { } } impl ::windows::core::RuntimeType for CompositionDrawingSurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionDrawingSurface;{a166c300-fad0-4d11-9e67-e433162ff49e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionDrawingSurface;{a166c300-fad0-4d11-9e67-e433162ff49e})"); } impl ::core::clone::Clone for CompositionDrawingSurface { fn clone(&self) -> Self { @@ -11610,7 +11610,7 @@ unsafe impl ::windows::core::Interface for CompositionDrawingSurface { impl ::windows::core::RuntimeName for CompositionDrawingSurface { const NAME: &'static str = "Windows.UI.Composition.CompositionDrawingSurface"; } -::windows::core::interface_hierarchy!(CompositionDrawingSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionDrawingSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionDrawingSurface) -> ::windows::core::Result { @@ -11867,7 +11867,7 @@ impl CompositionEasingFunction { } #[doc(hidden)] pub fn ICompositionEasingFunctionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -11883,7 +11883,7 @@ impl ::core::fmt::Debug for CompositionEasingFunction { } } impl ::windows::core::RuntimeType for CompositionEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEasingFunction;{5145e356-bf79-4ea8-8cc2-6b5b472e6c9a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEasingFunction;{5145e356-bf79-4ea8-8cc2-6b5b472e6c9a})"); } impl ::core::clone::Clone for CompositionEasingFunction { fn clone(&self) -> Self { @@ -11899,7 +11899,7 @@ unsafe impl ::windows::core::Interface for CompositionEasingFunction { impl ::windows::core::RuntimeName for CompositionEasingFunction { const NAME: &'static str = "Windows.UI.Composition.CompositionEasingFunction"; } -::windows::core::interface_hierarchy!(CompositionEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionEasingFunction) -> ::windows::core::Result { @@ -12094,7 +12094,7 @@ impl ::core::fmt::Debug for CompositionEffectBrush { } } impl ::windows::core::RuntimeType for CompositionEffectBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectBrush;{bf7f795e-83cc-44bf-a447-3e3c071789ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectBrush;{bf7f795e-83cc-44bf-a447-3e3c071789ec})"); } impl ::core::clone::Clone for CompositionEffectBrush { fn clone(&self) -> Self { @@ -12110,7 +12110,7 @@ unsafe impl ::windows::core::Interface for CompositionEffectBrush { impl ::windows::core::RuntimeName for CompositionEffectBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionEffectBrush"; } -::windows::core::interface_hierarchy!(CompositionEffectBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionEffectBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionEffectBrush) -> ::windows::core::Result { @@ -12327,7 +12327,7 @@ impl ::core::fmt::Debug for CompositionEffectFactory { } } impl ::windows::core::RuntimeType for CompositionEffectFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectFactory;{be5624af-ba7e-4510-9850-41c0b4ff74df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectFactory;{be5624af-ba7e-4510-9850-41c0b4ff74df})"); } impl ::core::clone::Clone for CompositionEffectFactory { fn clone(&self) -> Self { @@ -12343,7 +12343,7 @@ unsafe impl ::windows::core::Interface for CompositionEffectFactory { impl ::windows::core::RuntimeName for CompositionEffectFactory { const NAME: &'static str = "Windows.UI.Composition.CompositionEffectFactory"; } -::windows::core::interface_hierarchy!(CompositionEffectFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionEffectFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionEffectFactory) -> ::windows::core::Result { @@ -12421,7 +12421,7 @@ impl CompositionEffectSourceParameter { } #[doc(hidden)] pub fn ICompositionEffectSourceParameterFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -12437,7 +12437,7 @@ impl ::core::fmt::Debug for CompositionEffectSourceParameter { } } impl ::windows::core::RuntimeType for CompositionEffectSourceParameter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectSourceParameter;{858ab13a-3292-4e4e-b3bb-2b6c6544a6ee})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectSourceParameter;{858ab13a-3292-4e4e-b3bb-2b6c6544a6ee})"); } impl ::core::clone::Clone for CompositionEffectSourceParameter { fn clone(&self) -> Self { @@ -12453,7 +12453,7 @@ unsafe impl ::windows::core::Interface for CompositionEffectSourceParameter { impl ::windows::core::RuntimeName for CompositionEffectSourceParameter { const NAME: &'static str = "Windows.UI.Composition.CompositionEffectSourceParameter"; } -::windows::core::interface_hierarchy!(CompositionEffectSourceParameter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionEffectSourceParameter, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Graphics_Effects")] impl ::core::convert::TryFrom for super::super::Graphics::Effects::IGraphicsEffectSource { type Error = ::windows::core::Error; @@ -12663,7 +12663,7 @@ impl ::core::fmt::Debug for CompositionEllipseGeometry { } } impl ::windows::core::RuntimeType for CompositionEllipseGeometry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEllipseGeometry;{4801f884-f6ad-4b93-afa9-897b64e57b1f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEllipseGeometry;{4801f884-f6ad-4b93-afa9-897b64e57b1f})"); } impl ::core::clone::Clone for CompositionEllipseGeometry { fn clone(&self) -> Self { @@ -12679,7 +12679,7 @@ unsafe impl ::windows::core::Interface for CompositionEllipseGeometry { impl ::windows::core::RuntimeName for CompositionEllipseGeometry { const NAME: &'static str = "Windows.UI.Composition.CompositionEllipseGeometry"; } -::windows::core::interface_hierarchy!(CompositionEllipseGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionEllipseGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionEllipseGeometry) -> ::windows::core::Result { @@ -12997,7 +12997,7 @@ impl ::core::fmt::Debug for CompositionGeometricClip { } } impl ::windows::core::RuntimeType for CompositionGeometricClip { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGeometricClip;{c840b581-81c9-4444-a2c1-ccaece3a50e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGeometricClip;{c840b581-81c9-4444-a2c1-ccaece3a50e5})"); } impl ::core::clone::Clone for CompositionGeometricClip { fn clone(&self) -> Self { @@ -13013,7 +13013,7 @@ unsafe impl ::windows::core::Interface for CompositionGeometricClip { impl ::windows::core::RuntimeName for CompositionGeometricClip { const NAME: &'static str = "Windows.UI.Composition.CompositionGeometricClip"; } -::windows::core::interface_hierarchy!(CompositionGeometricClip, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionGeometricClip, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionGeometricClip) -> ::windows::core::Result { @@ -13242,7 +13242,7 @@ impl ::core::fmt::Debug for CompositionGeometry { } } impl ::windows::core::RuntimeType for CompositionGeometry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGeometry;{e985217c-6a17-4207-abd8-5fd3dd612a9d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGeometry;{e985217c-6a17-4207-abd8-5fd3dd612a9d})"); } impl ::core::clone::Clone for CompositionGeometry { fn clone(&self) -> Self { @@ -13258,7 +13258,7 @@ unsafe impl ::windows::core::Interface for CompositionGeometry { impl ::windows::core::RuntimeName for CompositionGeometry { const NAME: &'static str = "Windows.UI.Composition.CompositionGeometry"; } -::windows::core::interface_hierarchy!(CompositionGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionGeometry) -> ::windows::core::Result { @@ -13576,7 +13576,7 @@ impl ::core::fmt::Debug for CompositionGradientBrush { } } impl ::windows::core::RuntimeType for CompositionGradientBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGradientBrush;{1d9709e0-ffc6-4c0e-a9ab-34144d4c9098})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGradientBrush;{1d9709e0-ffc6-4c0e-a9ab-34144d4c9098})"); } impl ::core::clone::Clone for CompositionGradientBrush { fn clone(&self) -> Self { @@ -13592,7 +13592,7 @@ unsafe impl ::windows::core::Interface for CompositionGradientBrush { impl ::windows::core::RuntimeName for CompositionGradientBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionGradientBrush"; } -::windows::core::interface_hierarchy!(CompositionGradientBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionGradientBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionGradientBrush) -> ::windows::core::Result { @@ -13855,7 +13855,7 @@ impl ::core::fmt::Debug for CompositionGraphicsDevice { } } impl ::windows::core::RuntimeType for CompositionGraphicsDevice { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGraphicsDevice;{fb22c6e1-80a2-4667-9936-dbeaf6eefe95})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGraphicsDevice;{fb22c6e1-80a2-4667-9936-dbeaf6eefe95})"); } impl ::core::clone::Clone for CompositionGraphicsDevice { fn clone(&self) -> Self { @@ -13871,7 +13871,7 @@ unsafe impl ::windows::core::Interface for CompositionGraphicsDevice { impl ::windows::core::RuntimeName for CompositionGraphicsDevice { const NAME: &'static str = "Windows.UI.Composition.CompositionGraphicsDevice"; } -::windows::core::interface_hierarchy!(CompositionGraphicsDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionGraphicsDevice, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionGraphicsDevice) -> ::windows::core::Result { @@ -14077,7 +14077,7 @@ impl ::core::fmt::Debug for CompositionLight { } } impl ::windows::core::RuntimeType for CompositionLight { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLight;{41a6d7c2-2e5d-4bc1-b09e-8f0a03e3d8d3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLight;{41a6d7c2-2e5d-4bc1-b09e-8f0a03e3d8d3})"); } impl ::core::clone::Clone for CompositionLight { fn clone(&self) -> Self { @@ -14093,7 +14093,7 @@ unsafe impl ::windows::core::Interface for CompositionLight { impl ::windows::core::RuntimeName for CompositionLight { const NAME: &'static str = "Windows.UI.Composition.CompositionLight"; } -::windows::core::interface_hierarchy!(CompositionLight, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionLight, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionLight) -> ::windows::core::Result { @@ -14337,7 +14337,7 @@ impl ::core::fmt::Debug for CompositionLineGeometry { } } impl ::windows::core::RuntimeType for CompositionLineGeometry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLineGeometry;{dd7615a4-0c9a-4b67-8dce-440a5bf9cdec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLineGeometry;{dd7615a4-0c9a-4b67-8dce-440a5bf9cdec})"); } impl ::core::clone::Clone for CompositionLineGeometry { fn clone(&self) -> Self { @@ -14353,7 +14353,7 @@ unsafe impl ::windows::core::Interface for CompositionLineGeometry { impl ::windows::core::RuntimeName for CompositionLineGeometry { const NAME: &'static str = "Windows.UI.Composition.CompositionLineGeometry"; } -::windows::core::interface_hierarchy!(CompositionLineGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionLineGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionLineGeometry) -> ::windows::core::Result { @@ -14716,7 +14716,7 @@ impl ::core::fmt::Debug for CompositionLinearGradientBrush { } } impl ::windows::core::RuntimeType for CompositionLinearGradientBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLinearGradientBrush;{983bc519-a9db-413c-a2d8-2a9056fc525e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLinearGradientBrush;{983bc519-a9db-413c-a2d8-2a9056fc525e})"); } impl ::core::clone::Clone for CompositionLinearGradientBrush { fn clone(&self) -> Self { @@ -14732,7 +14732,7 @@ unsafe impl ::windows::core::Interface for CompositionLinearGradientBrush { impl ::windows::core::RuntimeName for CompositionLinearGradientBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionLinearGradientBrush"; } -::windows::core::interface_hierarchy!(CompositionLinearGradientBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionLinearGradientBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionLinearGradientBrush) -> ::windows::core::Result { @@ -14971,7 +14971,7 @@ impl ::core::fmt::Debug for CompositionMaskBrush { } } impl ::windows::core::RuntimeType for CompositionMaskBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionMaskBrush;{522cf09e-be6b-4f41-be49-f9226d471b4a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionMaskBrush;{522cf09e-be6b-4f41-be49-f9226d471b4a})"); } impl ::core::clone::Clone for CompositionMaskBrush { fn clone(&self) -> Self { @@ -14987,7 +14987,7 @@ unsafe impl ::windows::core::Interface for CompositionMaskBrush { impl ::windows::core::RuntimeName for CompositionMaskBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionMaskBrush"; } -::windows::core::interface_hierarchy!(CompositionMaskBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionMaskBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionMaskBrush) -> ::windows::core::Result { @@ -15224,7 +15224,7 @@ impl ::core::fmt::Debug for CompositionMipmapSurface { } } impl ::windows::core::RuntimeType for CompositionMipmapSurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionMipmapSurface;{4863675c-cf4a-4b1c-9ece-c5ec0c2b2fe6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionMipmapSurface;{4863675c-cf4a-4b1c-9ece-c5ec0c2b2fe6})"); } impl ::core::clone::Clone for CompositionMipmapSurface { fn clone(&self) -> Self { @@ -15240,7 +15240,7 @@ unsafe impl ::windows::core::Interface for CompositionMipmapSurface { impl ::windows::core::RuntimeName for CompositionMipmapSurface { const NAME: &'static str = "Windows.UI.Composition.CompositionMipmapSurface"; } -::windows::core::interface_hierarchy!(CompositionMipmapSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionMipmapSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionMipmapSurface) -> ::windows::core::Result { @@ -15569,7 +15569,7 @@ impl ::core::fmt::Debug for CompositionNineGridBrush { } } impl ::windows::core::RuntimeType for CompositionNineGridBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionNineGridBrush;{f25154e4-bc8c-4be7-b80f-8685b83c0186})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionNineGridBrush;{f25154e4-bc8c-4be7-b80f-8685b83c0186})"); } impl ::core::clone::Clone for CompositionNineGridBrush { fn clone(&self) -> Self { @@ -15585,7 +15585,7 @@ unsafe impl ::windows::core::Interface for CompositionNineGridBrush { impl ::windows::core::RuntimeName for CompositionNineGridBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionNineGridBrush"; } -::windows::core::interface_hierarchy!(CompositionNineGridBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionNineGridBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionNineGridBrush) -> ::windows::core::Result { @@ -15787,7 +15787,7 @@ impl CompositionObject { } #[doc(hidden)] pub fn ICompositionObjectStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -15803,7 +15803,7 @@ impl ::core::fmt::Debug for CompositionObject { } } impl ::windows::core::RuntimeType for CompositionObject { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionObject;{bcb4ad45-7609-4550-934f-16002a68fded})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionObject;{bcb4ad45-7609-4550-934f-16002a68fded})"); } impl ::core::clone::Clone for CompositionObject { fn clone(&self) -> Self { @@ -15819,7 +15819,7 @@ unsafe impl ::windows::core::Interface for CompositionObject { impl ::windows::core::RuntimeName for CompositionObject { const NAME: &'static str = "Windows.UI.Composition.CompositionObject"; } -::windows::core::interface_hierarchy!(CompositionObject, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionObject, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionObject) -> ::windows::core::Result { @@ -15881,7 +15881,7 @@ impl CompositionPath { } #[doc(hidden)] pub fn ICompositionPathFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -15897,7 +15897,7 @@ impl ::core::fmt::Debug for CompositionPath { } } impl ::windows::core::RuntimeType for CompositionPath { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPath;{66da1d5f-2e10-4f22-8a06-0a8151919e60})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPath;{66da1d5f-2e10-4f22-8a06-0a8151919e60})"); } impl ::core::clone::Clone for CompositionPath { fn clone(&self) -> Self { @@ -15913,7 +15913,7 @@ unsafe impl ::windows::core::Interface for CompositionPath { impl ::windows::core::RuntimeName for CompositionPath { const NAME: &'static str = "Windows.UI.Composition.CompositionPath"; } -::windows::core::interface_hierarchy!(CompositionPath, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionPath, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Graphics")] impl ::core::convert::TryFrom for super::super::Graphics::IGeometrySource2D { type Error = ::windows::core::Error; @@ -16104,7 +16104,7 @@ impl ::core::fmt::Debug for CompositionPathGeometry { } } impl ::windows::core::RuntimeType for CompositionPathGeometry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPathGeometry;{0b6a417e-2c77-4c23-af5e-6304c147bb61})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPathGeometry;{0b6a417e-2c77-4c23-af5e-6304c147bb61})"); } impl ::core::clone::Clone for CompositionPathGeometry { fn clone(&self) -> Self { @@ -16120,7 +16120,7 @@ unsafe impl ::windows::core::Interface for CompositionPathGeometry { impl ::windows::core::RuntimeName for CompositionPathGeometry { const NAME: &'static str = "Windows.UI.Composition.CompositionPathGeometry"; } -::windows::core::interface_hierarchy!(CompositionPathGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionPathGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionPathGeometry) -> ::windows::core::Result { @@ -16377,7 +16377,7 @@ impl ::core::fmt::Debug for CompositionProjectedShadow { } } impl ::windows::core::RuntimeType for CompositionProjectedShadow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadow;{285b8e72-4328-523f-bcf2-5557c52c3b25})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadow;{285b8e72-4328-523f-bcf2-5557c52c3b25})"); } impl ::core::clone::Clone for CompositionProjectedShadow { fn clone(&self) -> Self { @@ -16393,7 +16393,7 @@ unsafe impl ::windows::core::Interface for CompositionProjectedShadow { impl ::windows::core::RuntimeName for CompositionProjectedShadow { const NAME: &'static str = "Windows.UI.Composition.CompositionProjectedShadow"; } -::windows::core::interface_hierarchy!(CompositionProjectedShadow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionProjectedShadow, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionProjectedShadow) -> ::windows::core::Result { @@ -16602,7 +16602,7 @@ impl ::core::fmt::Debug for CompositionProjectedShadowCaster { } } impl ::windows::core::RuntimeType for CompositionProjectedShadowCaster { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowCaster;{b1d7d426-1e36-5a62-be56-a16112fdd148})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowCaster;{b1d7d426-1e36-5a62-be56-a16112fdd148})"); } impl ::core::clone::Clone for CompositionProjectedShadowCaster { fn clone(&self) -> Self { @@ -16618,7 +16618,7 @@ unsafe impl ::windows::core::Interface for CompositionProjectedShadowCaster { impl ::windows::core::RuntimeName for CompositionProjectedShadowCaster { const NAME: &'static str = "Windows.UI.Composition.CompositionProjectedShadowCaster"; } -::windows::core::interface_hierarchy!(CompositionProjectedShadowCaster, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionProjectedShadowCaster, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionProjectedShadowCaster) -> ::windows::core::Result { @@ -16834,7 +16834,7 @@ impl CompositionProjectedShadowCasterCollection { } #[doc(hidden)] pub fn ICompositionProjectedShadowCasterCollectionStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -16850,7 +16850,7 @@ impl ::core::fmt::Debug for CompositionProjectedShadowCasterCollection { } } impl ::windows::core::RuntimeType for CompositionProjectedShadowCasterCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowCasterCollection;{d2525c0c-e07f-58a3-ac91-37f73ee91740})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowCasterCollection;{d2525c0c-e07f-58a3-ac91-37f73ee91740})"); } impl ::core::clone::Clone for CompositionProjectedShadowCasterCollection { fn clone(&self) -> Self { @@ -16882,7 +16882,7 @@ impl ::core::iter::IntoIterator for &CompositionProjectedShadowCasterCollection self.First().unwrap() } } -::windows::core::interface_hierarchy!(CompositionProjectedShadowCasterCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionProjectedShadowCasterCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionProjectedShadowCasterCollection) -> ::windows::core::Result { @@ -17099,7 +17099,7 @@ impl ::core::fmt::Debug for CompositionProjectedShadowReceiver { } } impl ::windows::core::RuntimeType for CompositionProjectedShadowReceiver { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowReceiver;{1377985a-6a49-536a-9be4-a96a8e5298a9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowReceiver;{1377985a-6a49-536a-9be4-a96a8e5298a9})"); } impl ::core::clone::Clone for CompositionProjectedShadowReceiver { fn clone(&self) -> Self { @@ -17115,7 +17115,7 @@ unsafe impl ::windows::core::Interface for CompositionProjectedShadowReceiver { impl ::windows::core::RuntimeName for CompositionProjectedShadowReceiver { const NAME: &'static str = "Windows.UI.Composition.CompositionProjectedShadowReceiver"; } -::windows::core::interface_hierarchy!(CompositionProjectedShadowReceiver, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionProjectedShadowReceiver, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionProjectedShadowReceiver) -> ::windows::core::Result { @@ -17324,7 +17324,7 @@ impl ::core::fmt::Debug for CompositionProjectedShadowReceiverUnorderedCollectio } } impl ::windows::core::RuntimeType for CompositionProjectedShadowReceiverUnorderedCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowReceiverUnorderedCollection;{02b3e3b7-27d2-599f-ac4b-ab787cdde6fd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowReceiverUnorderedCollection;{02b3e3b7-27d2-599f-ac4b-ab787cdde6fd})"); } impl ::core::clone::Clone for CompositionProjectedShadowReceiverUnorderedCollection { fn clone(&self) -> Self { @@ -17356,7 +17356,7 @@ impl ::core::iter::IntoIterator for &CompositionProjectedShadowReceiverUnordered self.First().unwrap() } } -::windows::core::interface_hierarchy!(CompositionProjectedShadowReceiverUnorderedCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionProjectedShadowReceiverUnorderedCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionProjectedShadowReceiverUnorderedCollection) -> ::windows::core::Result { @@ -17682,7 +17682,7 @@ impl ::core::fmt::Debug for CompositionPropertySet { } } impl ::windows::core::RuntimeType for CompositionPropertySet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPropertySet;{c9d6d202-5f67-4453-9117-9eadd430d3c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPropertySet;{c9d6d202-5f67-4453-9117-9eadd430d3c2})"); } impl ::core::clone::Clone for CompositionPropertySet { fn clone(&self) -> Self { @@ -17698,7 +17698,7 @@ unsafe impl ::windows::core::Interface for CompositionPropertySet { impl ::windows::core::RuntimeName for CompositionPropertySet { const NAME: &'static str = "Windows.UI.Composition.CompositionPropertySet"; } -::windows::core::interface_hierarchy!(CompositionPropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionPropertySet, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionPropertySet) -> ::windows::core::Result { @@ -18061,7 +18061,7 @@ impl ::core::fmt::Debug for CompositionRadialGradientBrush { } } impl ::windows::core::RuntimeType for CompositionRadialGradientBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRadialGradientBrush;{3d3b50c5-e3fa-4ce2-b9fc-3ee12561788f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRadialGradientBrush;{3d3b50c5-e3fa-4ce2-b9fc-3ee12561788f})"); } impl ::core::clone::Clone for CompositionRadialGradientBrush { fn clone(&self) -> Self { @@ -18077,7 +18077,7 @@ unsafe impl ::windows::core::Interface for CompositionRadialGradientBrush { impl ::windows::core::RuntimeName for CompositionRadialGradientBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionRadialGradientBrush"; } -::windows::core::interface_hierarchy!(CompositionRadialGradientBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionRadialGradientBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionRadialGradientBrush) -> ::windows::core::Result { @@ -18351,7 +18351,7 @@ impl ::core::fmt::Debug for CompositionRectangleGeometry { } } impl ::windows::core::RuntimeType for CompositionRectangleGeometry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRectangleGeometry;{0cd51428-5356-4246-aecf-7a0b76975400})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRectangleGeometry;{0cd51428-5356-4246-aecf-7a0b76975400})"); } impl ::core::clone::Clone for CompositionRectangleGeometry { fn clone(&self) -> Self { @@ -18367,7 +18367,7 @@ unsafe impl ::windows::core::Interface for CompositionRectangleGeometry { impl ::windows::core::RuntimeName for CompositionRectangleGeometry { const NAME: &'static str = "Windows.UI.Composition.CompositionRectangleGeometry"; } -::windows::core::interface_hierarchy!(CompositionRectangleGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionRectangleGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionRectangleGeometry) -> ::windows::core::Result { @@ -18641,7 +18641,7 @@ impl ::core::fmt::Debug for CompositionRoundedRectangleGeometry { } } impl ::windows::core::RuntimeType for CompositionRoundedRectangleGeometry { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRoundedRectangleGeometry;{8770c822-1d50-4b8b-b013-7c9a0e46935f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRoundedRectangleGeometry;{8770c822-1d50-4b8b-b013-7c9a0e46935f})"); } impl ::core::clone::Clone for CompositionRoundedRectangleGeometry { fn clone(&self) -> Self { @@ -18657,7 +18657,7 @@ unsafe impl ::windows::core::Interface for CompositionRoundedRectangleGeometry { impl ::windows::core::RuntimeName for CompositionRoundedRectangleGeometry { const NAME: &'static str = "Windows.UI.Composition.CompositionRoundedRectangleGeometry"; } -::windows::core::interface_hierarchy!(CompositionRoundedRectangleGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionRoundedRectangleGeometry, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionRoundedRectangleGeometry) -> ::windows::core::Result { @@ -18894,7 +18894,7 @@ impl ::core::fmt::Debug for CompositionScopedBatch { } } impl ::windows::core::RuntimeType for CompositionScopedBatch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionScopedBatch;{0d00dad0-fb07-46fd-8c72-6280d1a3d1dd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionScopedBatch;{0d00dad0-fb07-46fd-8c72-6280d1a3d1dd})"); } impl ::core::clone::Clone for CompositionScopedBatch { fn clone(&self) -> Self { @@ -18910,7 +18910,7 @@ unsafe impl ::windows::core::Interface for CompositionScopedBatch { impl ::windows::core::RuntimeName for CompositionScopedBatch { const NAME: &'static str = "Windows.UI.Composition.CompositionScopedBatch"; } -::windows::core::interface_hierarchy!(CompositionScopedBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionScopedBatch, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionScopedBatch) -> ::windows::core::Result { @@ -19091,7 +19091,7 @@ impl ::core::fmt::Debug for CompositionShadow { } } impl ::windows::core::RuntimeType for CompositionShadow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShadow;{329e52e2-4335-49cc-b14a-37782d10f0c4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShadow;{329e52e2-4335-49cc-b14a-37782d10f0c4})"); } impl ::core::clone::Clone for CompositionShadow { fn clone(&self) -> Self { @@ -19107,7 +19107,7 @@ unsafe impl ::windows::core::Interface for CompositionShadow { impl ::windows::core::RuntimeName for CompositionShadow { const NAME: &'static str = "Windows.UI.Composition.CompositionShadow"; } -::windows::core::interface_hierarchy!(CompositionShadow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionShadow, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionShadow) -> ::windows::core::Result { @@ -19370,7 +19370,7 @@ impl ::core::fmt::Debug for CompositionShape { } } impl ::windows::core::RuntimeType for CompositionShape { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShape;{b47ce2f7-9a88-42c4-9e87-2e500ca8688c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShape;{b47ce2f7-9a88-42c4-9e87-2e500ca8688c})"); } impl ::core::clone::Clone for CompositionShape { fn clone(&self) -> Self { @@ -19386,7 +19386,7 @@ unsafe impl ::windows::core::Interface for CompositionShape { impl ::windows::core::RuntimeName for CompositionShape { const NAME: &'static str = "Windows.UI.Composition.CompositionShape"; } -::windows::core::interface_hierarchy!(CompositionShape, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionShape, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionShape) -> ::windows::core::Result { @@ -19681,7 +19681,7 @@ impl ::core::fmt::Debug for CompositionShapeCollection { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for CompositionShapeCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShapeCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.CompositionShape;{b47ce2f7-9a88-42c4-9e87-2e500ca8688c})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShapeCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.CompositionShape;{b47ce2f7-9a88-42c4-9e87-2e500ca8688c})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for CompositionShapeCollection { @@ -19718,7 +19718,7 @@ impl ::core::iter::IntoIterator for &CompositionShapeCollection { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(CompositionShapeCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionShapeCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; @@ -20172,7 +20172,7 @@ impl ::core::fmt::Debug for CompositionSpriteShape { } } impl ::windows::core::RuntimeType for CompositionSpriteShape { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionSpriteShape;{401b61bb-0007-4363-b1f3-6bcc003fb83e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionSpriteShape;{401b61bb-0007-4363-b1f3-6bcc003fb83e})"); } impl ::core::clone::Clone for CompositionSpriteShape { fn clone(&self) -> Self { @@ -20188,7 +20188,7 @@ unsafe impl ::windows::core::Interface for CompositionSpriteShape { impl ::windows::core::RuntimeName for CompositionSpriteShape { const NAME: &'static str = "Windows.UI.Composition.CompositionSpriteShape"; } -::windows::core::interface_hierarchy!(CompositionSpriteShape, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionSpriteShape, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionSpriteShape) -> ::windows::core::Result { @@ -20486,7 +20486,7 @@ impl ::core::fmt::Debug for CompositionStrokeDashArray { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for CompositionStrokeDashArray { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionStrokeDashArray;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};f4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionStrokeDashArray;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};f4))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for CompositionStrokeDashArray { @@ -20523,7 +20523,7 @@ impl ::core::iter::IntoIterator for &CompositionStrokeDashArray { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(CompositionStrokeDashArray, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionStrokeDashArray, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; @@ -20923,7 +20923,7 @@ impl ::core::fmt::Debug for CompositionSurfaceBrush { } } impl ::windows::core::RuntimeType for CompositionSurfaceBrush { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionSurfaceBrush;{ad016d79-1e4c-4c0d-9c29-83338c87c162})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionSurfaceBrush;{ad016d79-1e4c-4c0d-9c29-83338c87c162})"); } impl ::core::clone::Clone for CompositionSurfaceBrush { fn clone(&self) -> Self { @@ -20939,7 +20939,7 @@ unsafe impl ::windows::core::Interface for CompositionSurfaceBrush { impl ::windows::core::RuntimeName for CompositionSurfaceBrush { const NAME: &'static str = "Windows.UI.Composition.CompositionSurfaceBrush"; } -::windows::core::interface_hierarchy!(CompositionSurfaceBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionSurfaceBrush, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionSurfaceBrush) -> ::windows::core::Result { @@ -21149,7 +21149,7 @@ impl ::core::fmt::Debug for CompositionTarget { } } impl ::windows::core::RuntimeType for CompositionTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionTarget;{a1bea8ba-d726-4663-8129-6b5e7927ffa6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionTarget;{a1bea8ba-d726-4663-8129-6b5e7927ffa6})"); } impl ::core::clone::Clone for CompositionTarget { fn clone(&self) -> Self { @@ -21165,7 +21165,7 @@ unsafe impl ::windows::core::Interface for CompositionTarget { impl ::windows::core::RuntimeName for CompositionTarget { const NAME: &'static str = "Windows.UI.Composition.CompositionTarget"; } -::windows::core::interface_hierarchy!(CompositionTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionTarget, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionTarget) -> ::windows::core::Result { @@ -21346,7 +21346,7 @@ impl ::core::fmt::Debug for CompositionTransform { } } impl ::windows::core::RuntimeType for CompositionTransform { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionTransform;{7cd54529-fbed-4112-abc5-185906dd927c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionTransform;{7cd54529-fbed-4112-abc5-185906dd927c})"); } impl ::core::clone::Clone for CompositionTransform { fn clone(&self) -> Self { @@ -21362,7 +21362,7 @@ unsafe impl ::windows::core::Interface for CompositionTransform { impl ::windows::core::RuntimeName for CompositionTransform { const NAME: &'static str = "Windows.UI.Composition.CompositionTransform"; } -::windows::core::interface_hierarchy!(CompositionTransform, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionTransform, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionTransform) -> ::windows::core::Result { @@ -21606,7 +21606,7 @@ impl ::core::fmt::Debug for CompositionViewBox { } } impl ::windows::core::RuntimeType for CompositionViewBox { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionViewBox;{b440bf07-068f-4537-84c6-4ecbe019e1f4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionViewBox;{b440bf07-068f-4537-84c6-4ecbe019e1f4})"); } impl ::core::clone::Clone for CompositionViewBox { fn clone(&self) -> Self { @@ -21622,7 +21622,7 @@ unsafe impl ::windows::core::Interface for CompositionViewBox { impl ::windows::core::RuntimeName for CompositionViewBox { const NAME: &'static str = "Windows.UI.Composition.CompositionViewBox"; } -::windows::core::interface_hierarchy!(CompositionViewBox, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionViewBox, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionViewBox) -> ::windows::core::Result { @@ -21875,7 +21875,7 @@ impl ::core::fmt::Debug for CompositionVirtualDrawingSurface { } } impl ::windows::core::RuntimeType for CompositionVirtualDrawingSurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionVirtualDrawingSurface;{a9c384db-8740-4f94-8b9d-b68521e7863d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionVirtualDrawingSurface;{a9c384db-8740-4f94-8b9d-b68521e7863d})"); } impl ::core::clone::Clone for CompositionVirtualDrawingSurface { fn clone(&self) -> Self { @@ -21891,7 +21891,7 @@ unsafe impl ::windows::core::Interface for CompositionVirtualDrawingSurface { impl ::windows::core::RuntimeName for CompositionVirtualDrawingSurface { const NAME: &'static str = "Windows.UI.Composition.CompositionVirtualDrawingSurface"; } -::windows::core::interface_hierarchy!(CompositionVirtualDrawingSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionVirtualDrawingSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionVirtualDrawingSurface) -> ::windows::core::Result { @@ -22150,7 +22150,7 @@ impl ::core::fmt::Debug for CompositionVisualSurface { } } impl ::windows::core::RuntimeType for CompositionVisualSurface { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionVisualSurface;{b224d803-4f6e-4a3f-8cae-3dc1cda74fc6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionVisualSurface;{b224d803-4f6e-4a3f-8cae-3dc1cda74fc6})"); } impl ::core::clone::Clone for CompositionVisualSurface { fn clone(&self) -> Self { @@ -22166,7 +22166,7 @@ unsafe impl ::windows::core::Interface for CompositionVisualSurface { impl ::windows::core::RuntimeName for CompositionVisualSurface { const NAME: &'static str = "Windows.UI.Composition.CompositionVisualSurface"; } -::windows::core::interface_hierarchy!(CompositionVisualSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompositionVisualSurface, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CompositionVisualSurface) -> ::windows::core::Result { @@ -22251,8 +22251,8 @@ impl Compositor { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -22871,7 +22871,7 @@ impl Compositor { } #[doc(hidden)] pub fn ICompositorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -22887,7 +22887,7 @@ impl ::core::fmt::Debug for Compositor { } } impl ::windows::core::RuntimeType for Compositor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Compositor;{b403ca50-7f8c-4e83-985f-cc45060036d8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Compositor;{b403ca50-7f8c-4e83-985f-cc45060036d8})"); } impl ::core::clone::Clone for Compositor { fn clone(&self) -> Self { @@ -22903,7 +22903,7 @@ unsafe impl ::windows::core::Interface for Compositor { impl ::windows::core::RuntimeName for Compositor { const NAME: &'static str = "Windows.UI.Composition.Compositor"; } -::windows::core::interface_hierarchy!(Compositor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Compositor, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -23341,7 +23341,7 @@ impl ::core::fmt::Debug for ContainerVisual { } } impl ::windows::core::RuntimeType for ContainerVisual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ContainerVisual;{02f6bc74-ed20-4773-afe6-d49b4a93db32})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ContainerVisual;{02f6bc74-ed20-4773-afe6-d49b4a93db32})"); } impl ::core::clone::Clone for ContainerVisual { fn clone(&self) -> Self { @@ -23357,7 +23357,7 @@ unsafe impl ::windows::core::Interface for ContainerVisual { impl ::windows::core::RuntimeName for ContainerVisual { const NAME: &'static str = "Windows.UI.Composition.ContainerVisual"; } -::windows::core::interface_hierarchy!(ContainerVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContainerVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ContainerVisual) -> ::windows::core::Result { @@ -23571,7 +23571,7 @@ impl ::core::fmt::Debug for CubicBezierEasingFunction { } } impl ::windows::core::RuntimeType for CubicBezierEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CubicBezierEasingFunction;{32350666-c1e8-44f9-96b8-c98acf0ae698})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CubicBezierEasingFunction;{32350666-c1e8-44f9-96b8-c98acf0ae698})"); } impl ::core::clone::Clone for CubicBezierEasingFunction { fn clone(&self) -> Self { @@ -23587,7 +23587,7 @@ unsafe impl ::windows::core::Interface for CubicBezierEasingFunction { impl ::windows::core::RuntimeName for CubicBezierEasingFunction { const NAME: &'static str = "Windows.UI.Composition.CubicBezierEasingFunction"; } -::windows::core::interface_hierarchy!(CubicBezierEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CubicBezierEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: CubicBezierEasingFunction) -> ::windows::core::Result { @@ -24098,7 +24098,7 @@ impl DelegatedInkTrailVisual { } #[doc(hidden)] pub fn IDelegatedInkTrailVisualStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -24114,7 +24114,7 @@ impl ::core::fmt::Debug for DelegatedInkTrailVisual { } } impl ::windows::core::RuntimeType for DelegatedInkTrailVisual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DelegatedInkTrailVisual;{856e60b1-e1ab-5b23-8e3d-d513f221c998})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DelegatedInkTrailVisual;{856e60b1-e1ab-5b23-8e3d-d513f221c998})"); } impl ::core::clone::Clone for DelegatedInkTrailVisual { fn clone(&self) -> Self { @@ -24130,7 +24130,7 @@ unsafe impl ::windows::core::Interface for DelegatedInkTrailVisual { impl ::windows::core::RuntimeName for DelegatedInkTrailVisual { const NAME: &'static str = "Windows.UI.Composition.DelegatedInkTrailVisual"; } -::windows::core::interface_hierarchy!(DelegatedInkTrailVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DelegatedInkTrailVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: DelegatedInkTrailVisual) -> ::windows::core::Result { @@ -24402,7 +24402,7 @@ impl ::core::fmt::Debug for DistantLight { } } impl ::windows::core::RuntimeType for DistantLight { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DistantLight;{318cfafc-5ce3-4b55-ab5d-07a00353ac99})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DistantLight;{318cfafc-5ce3-4b55-ab5d-07a00353ac99})"); } impl ::core::clone::Clone for DistantLight { fn clone(&self) -> Self { @@ -24418,7 +24418,7 @@ unsafe impl ::windows::core::Interface for DistantLight { impl ::windows::core::RuntimeName for DistantLight { const NAME: &'static str = "Windows.UI.Composition.DistantLight"; } -::windows::core::interface_hierarchy!(DistantLight, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DistantLight, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: DistantLight) -> ::windows::core::Result { @@ -24687,7 +24687,7 @@ impl ::core::fmt::Debug for DropShadow { } } impl ::windows::core::RuntimeType for DropShadow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DropShadow;{cb977c07-a154-4851-85e7-a8924c84fad8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DropShadow;{cb977c07-a154-4851-85e7-a8924c84fad8})"); } impl ::core::clone::Clone for DropShadow { fn clone(&self) -> Self { @@ -24703,7 +24703,7 @@ unsafe impl ::windows::core::Interface for DropShadow { impl ::windows::core::RuntimeName for DropShadow { const NAME: &'static str = "Windows.UI.Composition.DropShadow"; } -::windows::core::interface_hierarchy!(DropShadow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DropShadow, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: DropShadow) -> ::windows::core::Result { @@ -24920,7 +24920,7 @@ impl ::core::fmt::Debug for ElasticEasingFunction { } } impl ::windows::core::RuntimeType for ElasticEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ElasticEasingFunction;{66de6285-054e-5594-8475-c22cb51f1bd5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ElasticEasingFunction;{66de6285-054e-5594-8475-c22cb51f1bd5})"); } impl ::core::clone::Clone for ElasticEasingFunction { fn clone(&self) -> Self { @@ -24936,7 +24936,7 @@ unsafe impl ::windows::core::Interface for ElasticEasingFunction { impl ::windows::core::RuntimeName for ElasticEasingFunction { const NAME: &'static str = "Windows.UI.Composition.ElasticEasingFunction"; } -::windows::core::interface_hierarchy!(ElasticEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ElasticEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ElasticEasingFunction) -> ::windows::core::Result { @@ -25146,7 +25146,7 @@ impl ::core::fmt::Debug for ExponentialEasingFunction { } } impl ::windows::core::RuntimeType for ExponentialEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ExponentialEasingFunction;{6f7d1a51-98d2-5638-a34a-00486554c750})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ExponentialEasingFunction;{6f7d1a51-98d2-5638-a34a-00486554c750})"); } impl ::core::clone::Clone for ExponentialEasingFunction { fn clone(&self) -> Self { @@ -25162,7 +25162,7 @@ unsafe impl ::windows::core::Interface for ExponentialEasingFunction { impl ::windows::core::RuntimeName for ExponentialEasingFunction { const NAME: &'static str = "Windows.UI.Composition.ExponentialEasingFunction"; } -::windows::core::interface_hierarchy!(ExponentialEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExponentialEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ExponentialEasingFunction) -> ::windows::core::Result { @@ -25460,7 +25460,7 @@ impl ::core::fmt::Debug for ExpressionAnimation { } } impl ::windows::core::RuntimeType for ExpressionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ExpressionAnimation;{6acc5431-7d3d-4bf3-abb6-f44bdc4888c1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ExpressionAnimation;{6acc5431-7d3d-4bf3-abb6-f44bdc4888c1})"); } impl ::core::clone::Clone for ExpressionAnimation { fn clone(&self) -> Self { @@ -25476,7 +25476,7 @@ unsafe impl ::windows::core::Interface for ExpressionAnimation { impl ::windows::core::RuntimeName for ExpressionAnimation { const NAME: &'static str = "Windows.UI.Composition.ExpressionAnimation"; } -::windows::core::interface_hierarchy!(ExpressionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ExpressionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ExpressionAnimation) -> ::windows::core::Result { @@ -25761,7 +25761,7 @@ impl ::core::fmt::Debug for ImplicitAnimationCollection { } } impl ::windows::core::RuntimeType for ImplicitAnimationCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ImplicitAnimationCollection;{0598a3ff-0a92-4c9d-a427-b25519250dbf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ImplicitAnimationCollection;{0598a3ff-0a92-4c9d-a427-b25519250dbf})"); } impl ::core::clone::Clone for ImplicitAnimationCollection { fn clone(&self) -> Self { @@ -25793,7 +25793,7 @@ impl ::core::iter::IntoIterator for &ImplicitAnimationCollection { self.First().unwrap() } } -::windows::core::interface_hierarchy!(ImplicitAnimationCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ImplicitAnimationCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ImplicitAnimationCollection) -> ::windows::core::Result { @@ -26090,7 +26090,7 @@ impl ::core::fmt::Debug for InitialValueExpressionCollection { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for InitialValueExpressionCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.InitialValueExpressionCollection;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;string))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.InitialValueExpressionCollection;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;string))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for InitialValueExpressionCollection { @@ -26127,7 +26127,7 @@ impl ::core::iter::IntoIterator for &InitialValueExpressionCollection { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(InitialValueExpressionCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InitialValueExpressionCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; @@ -26501,7 +26501,7 @@ impl ::core::fmt::Debug for InsetClip { } } impl ::windows::core::RuntimeType for InsetClip { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.InsetClip;{1e73e647-84c7-477a-b474-5880e0442e15})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.InsetClip;{1e73e647-84c7-477a-b474-5880e0442e15})"); } impl ::core::clone::Clone for InsetClip { fn clone(&self) -> Self { @@ -26517,7 +26517,7 @@ unsafe impl ::windows::core::Interface for InsetClip { impl ::windows::core::RuntimeName for InsetClip { const NAME: &'static str = "Windows.UI.Composition.InsetClip"; } -::windows::core::interface_hierarchy!(InsetClip, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InsetClip, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: InsetClip) -> ::windows::core::Result { @@ -26907,7 +26907,7 @@ impl ::core::fmt::Debug for KeyFrameAnimation { } } impl ::windows::core::RuntimeType for KeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.KeyFrameAnimation;{126e7f22-3ae9-4540-9a8a-deae8a4a4a84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.KeyFrameAnimation;{126e7f22-3ae9-4540-9a8a-deae8a4a4a84})"); } impl ::core::clone::Clone for KeyFrameAnimation { fn clone(&self) -> Self { @@ -26923,7 +26923,7 @@ unsafe impl ::windows::core::Interface for KeyFrameAnimation { impl ::windows::core::RuntimeName for KeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.KeyFrameAnimation"; } -::windows::core::interface_hierarchy!(KeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: KeyFrameAnimation) -> ::windows::core::Result { @@ -27454,7 +27454,7 @@ impl ::core::fmt::Debug for LayerVisual { } } impl ::windows::core::RuntimeType for LayerVisual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.LayerVisual;{af843985-0444-4887-8e83-b40b253f822c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.LayerVisual;{af843985-0444-4887-8e83-b40b253f822c})"); } impl ::core::clone::Clone for LayerVisual { fn clone(&self) -> Self { @@ -27470,7 +27470,7 @@ unsafe impl ::windows::core::Interface for LayerVisual { impl ::windows::core::RuntimeName for LayerVisual { const NAME: &'static str = "Windows.UI.Composition.LayerVisual"; } -::windows::core::interface_hierarchy!(LayerVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LayerVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: LayerVisual) -> ::windows::core::Result { @@ -27681,7 +27681,7 @@ impl ::core::fmt::Debug for LinearEasingFunction { } } impl ::windows::core::RuntimeType for LinearEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.LinearEasingFunction;{9400975a-c7a6-46b3-acf7-1a268a0a117d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.LinearEasingFunction;{9400975a-c7a6-46b3-acf7-1a268a0a117d})"); } impl ::core::clone::Clone for LinearEasingFunction { fn clone(&self) -> Self { @@ -27697,7 +27697,7 @@ unsafe impl ::windows::core::Interface for LinearEasingFunction { impl ::windows::core::RuntimeName for LinearEasingFunction { const NAME: &'static str = "Windows.UI.Composition.LinearEasingFunction"; } -::windows::core::interface_hierarchy!(LinearEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LinearEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: LinearEasingFunction) -> ::windows::core::Result { @@ -28021,7 +28021,7 @@ impl ::core::fmt::Debug for NaturalMotionAnimation { } } impl ::windows::core::RuntimeType for NaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.NaturalMotionAnimation;{438de12d-769b-4821-a949-284a6547e873})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.NaturalMotionAnimation;{438de12d-769b-4821-a949-284a6547e873})"); } impl ::core::clone::Clone for NaturalMotionAnimation { fn clone(&self) -> Self { @@ -28037,7 +28037,7 @@ unsafe impl ::windows::core::Interface for NaturalMotionAnimation { impl ::windows::core::RuntimeName for NaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.NaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: NaturalMotionAnimation) -> ::windows::core::Result { @@ -28457,7 +28457,7 @@ impl ::core::fmt::Debug for PathKeyFrameAnimation { } } impl ::windows::core::RuntimeType for PathKeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PathKeyFrameAnimation;{9d0d18c9-1576-4b3f-be60-1d5031f5e71b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PathKeyFrameAnimation;{9d0d18c9-1576-4b3f-be60-1d5031f5e71b})"); } impl ::core::clone::Clone for PathKeyFrameAnimation { fn clone(&self) -> Self { @@ -28473,7 +28473,7 @@ unsafe impl ::windows::core::Interface for PathKeyFrameAnimation { impl ::windows::core::RuntimeName for PathKeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.PathKeyFrameAnimation"; } -::windows::core::interface_hierarchy!(PathKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PathKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: PathKeyFrameAnimation) -> ::windows::core::Result { @@ -28834,7 +28834,7 @@ impl ::core::fmt::Debug for PointLight { } } impl ::windows::core::RuntimeType for PointLight { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PointLight;{b18545b3-0c5a-4ab0-bedc-4f3546948272})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PointLight;{b18545b3-0c5a-4ab0-bedc-4f3546948272})"); } impl ::core::clone::Clone for PointLight { fn clone(&self) -> Self { @@ -28850,7 +28850,7 @@ unsafe impl ::windows::core::Interface for PointLight { impl ::windows::core::RuntimeName for PointLight { const NAME: &'static str = "Windows.UI.Composition.PointLight"; } -::windows::core::interface_hierarchy!(PointLight, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PointLight, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: PointLight) -> ::windows::core::Result { @@ -29060,7 +29060,7 @@ impl ::core::fmt::Debug for PowerEasingFunction { } } impl ::windows::core::RuntimeType for PowerEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PowerEasingFunction;{c3ff53d6-138b-5815-891a-b7f615ccc563})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PowerEasingFunction;{c3ff53d6-138b-5815-891a-b7f615ccc563})"); } impl ::core::clone::Clone for PowerEasingFunction { fn clone(&self) -> Self { @@ -29076,7 +29076,7 @@ unsafe impl ::windows::core::Interface for PowerEasingFunction { impl ::windows::core::RuntimeName for PowerEasingFunction { const NAME: &'static str = "Windows.UI.Composition.PowerEasingFunction"; } -::windows::core::interface_hierarchy!(PowerEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PowerEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: PowerEasingFunction) -> ::windows::core::Result { @@ -29481,7 +29481,7 @@ impl ::core::fmt::Debug for QuaternionKeyFrameAnimation { } } impl ::windows::core::RuntimeType for QuaternionKeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.QuaternionKeyFrameAnimation;{404e5835-ecf6-4240-8520-671279cf36bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.QuaternionKeyFrameAnimation;{404e5835-ecf6-4240-8520-671279cf36bc})"); } impl ::core::clone::Clone for QuaternionKeyFrameAnimation { fn clone(&self) -> Self { @@ -29497,7 +29497,7 @@ unsafe impl ::windows::core::Interface for QuaternionKeyFrameAnimation { impl ::windows::core::RuntimeName for QuaternionKeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.QuaternionKeyFrameAnimation"; } -::windows::core::interface_hierarchy!(QuaternionKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(QuaternionKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: QuaternionKeyFrameAnimation) -> ::windows::core::Result { @@ -29928,7 +29928,7 @@ impl ::core::fmt::Debug for RectangleClip { } } impl ::windows::core::RuntimeType for RectangleClip { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RectangleClip;{b3e7549e-00b4-5b53-8be8-353f6c433101})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RectangleClip;{b3e7549e-00b4-5b53-8be8-353f6c433101})"); } impl ::core::clone::Clone for RectangleClip { fn clone(&self) -> Self { @@ -29944,7 +29944,7 @@ unsafe impl ::windows::core::Interface for RectangleClip { impl ::windows::core::RuntimeName for RectangleClip { const NAME: &'static str = "Windows.UI.Composition.RectangleClip"; } -::windows::core::interface_hierarchy!(RectangleClip, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RectangleClip, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: RectangleClip) -> ::windows::core::Result { @@ -30445,7 +30445,7 @@ impl ::core::fmt::Debug for RedirectVisual { } } impl ::windows::core::RuntimeType for RedirectVisual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RedirectVisual;{8cc6e340-8b75-5422-b06f-09ffe9f8617e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RedirectVisual;{8cc6e340-8b75-5422-b06f-09ffe9f8617e})"); } impl ::core::clone::Clone for RedirectVisual { fn clone(&self) -> Self { @@ -30461,7 +30461,7 @@ unsafe impl ::windows::core::Interface for RedirectVisual { impl ::windows::core::RuntimeName for RedirectVisual { const NAME: &'static str = "Windows.UI.Composition.RedirectVisual"; } -::windows::core::interface_hierarchy!(RedirectVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RedirectVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: RedirectVisual) -> ::windows::core::Result { @@ -30679,7 +30679,7 @@ impl ::core::fmt::Debug for RenderingDeviceReplacedEventArgs { } } impl ::windows::core::RuntimeType for RenderingDeviceReplacedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RenderingDeviceReplacedEventArgs;{3a31ac7d-28bf-4e7a-8524-71679d480f38})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RenderingDeviceReplacedEventArgs;{3a31ac7d-28bf-4e7a-8524-71679d480f38})"); } impl ::core::clone::Clone for RenderingDeviceReplacedEventArgs { fn clone(&self) -> Self { @@ -30695,7 +30695,7 @@ unsafe impl ::windows::core::Interface for RenderingDeviceReplacedEventArgs { impl ::windows::core::RuntimeName for RenderingDeviceReplacedEventArgs { const NAME: &'static str = "Windows.UI.Composition.RenderingDeviceReplacedEventArgs"; } -::windows::core::interface_hierarchy!(RenderingDeviceReplacedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RenderingDeviceReplacedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: RenderingDeviceReplacedEventArgs) -> ::windows::core::Result { @@ -31081,7 +31081,7 @@ impl ::core::fmt::Debug for ScalarKeyFrameAnimation { } } impl ::windows::core::RuntimeType for ScalarKeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ScalarKeyFrameAnimation;{ae288fa9-252c-4b95-a725-bf85e38000a1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ScalarKeyFrameAnimation;{ae288fa9-252c-4b95-a725-bf85e38000a1})"); } impl ::core::clone::Clone for ScalarKeyFrameAnimation { fn clone(&self) -> Self { @@ -31097,7 +31097,7 @@ unsafe impl ::windows::core::Interface for ScalarKeyFrameAnimation { impl ::windows::core::RuntimeName for ScalarKeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.ScalarKeyFrameAnimation"; } -::windows::core::interface_hierarchy!(ScalarKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScalarKeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ScalarKeyFrameAnimation) -> ::windows::core::Result { @@ -31504,7 +31504,7 @@ impl ::core::fmt::Debug for ScalarNaturalMotionAnimation { } } impl ::windows::core::RuntimeType for ScalarNaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ScalarNaturalMotionAnimation;{94a94581-bf92-495b-b5bd-d2c659430737})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ScalarNaturalMotionAnimation;{94a94581-bf92-495b-b5bd-d2c659430737})"); } impl ::core::clone::Clone for ScalarNaturalMotionAnimation { fn clone(&self) -> Self { @@ -31520,7 +31520,7 @@ unsafe impl ::windows::core::Interface for ScalarNaturalMotionAnimation { impl ::windows::core::RuntimeName for ScalarNaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.ScalarNaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(ScalarNaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScalarNaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ScalarNaturalMotionAnimation) -> ::windows::core::Result { @@ -32061,7 +32061,7 @@ impl ::core::fmt::Debug for ShapeVisual { } } impl ::windows::core::RuntimeType for ShapeVisual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ShapeVisual;{f2bd13c3-ba7e-4b0f-9126-ffb7536b8176})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ShapeVisual;{f2bd13c3-ba7e-4b0f-9126-ffb7536b8176})"); } impl ::core::clone::Clone for ShapeVisual { fn clone(&self) -> Self { @@ -32077,7 +32077,7 @@ unsafe impl ::windows::core::Interface for ShapeVisual { impl ::windows::core::RuntimeName for ShapeVisual { const NAME: &'static str = "Windows.UI.Composition.ShapeVisual"; } -::windows::core::interface_hierarchy!(ShapeVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShapeVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: ShapeVisual) -> ::windows::core::Result { @@ -32295,7 +32295,7 @@ impl ::core::fmt::Debug for SineEasingFunction { } } impl ::windows::core::RuntimeType for SineEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SineEasingFunction;{f1b518bf-9563-5474-bd13-44b2df4b1d58})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SineEasingFunction;{f1b518bf-9563-5474-bd13-44b2df4b1d58})"); } impl ::core::clone::Clone for SineEasingFunction { fn clone(&self) -> Self { @@ -32311,7 +32311,7 @@ unsafe impl ::windows::core::Interface for SineEasingFunction { impl ::windows::core::RuntimeName for SineEasingFunction { const NAME: &'static str = "Windows.UI.Composition.SineEasingFunction"; } -::windows::core::interface_hierarchy!(SineEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SineEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SineEasingFunction) -> ::windows::core::Result { @@ -32719,7 +32719,7 @@ impl ::core::fmt::Debug for SpotLight { } } impl ::windows::core::RuntimeType for SpotLight { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpotLight;{5a9fe273-44a1-4f95-a422-8fa5116bdb44})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpotLight;{5a9fe273-44a1-4f95-a422-8fa5116bdb44})"); } impl ::core::clone::Clone for SpotLight { fn clone(&self) -> Self { @@ -32735,7 +32735,7 @@ unsafe impl ::windows::core::Interface for SpotLight { impl ::windows::core::RuntimeName for SpotLight { const NAME: &'static str = "Windows.UI.Composition.SpotLight"; } -::windows::core::interface_hierarchy!(SpotLight, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpotLight, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SpotLight) -> ::windows::core::Result { @@ -33134,7 +33134,7 @@ impl ::core::fmt::Debug for SpringScalarNaturalMotionAnimation { } } impl ::windows::core::RuntimeType for SpringScalarNaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringScalarNaturalMotionAnimation;{0572a95f-37f9-4fbe-b87b-5cd03a89501c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringScalarNaturalMotionAnimation;{0572a95f-37f9-4fbe-b87b-5cd03a89501c})"); } impl ::core::clone::Clone for SpringScalarNaturalMotionAnimation { fn clone(&self) -> Self { @@ -33150,7 +33150,7 @@ unsafe impl ::windows::core::Interface for SpringScalarNaturalMotionAnimation { impl ::windows::core::RuntimeName for SpringScalarNaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.SpringScalarNaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(SpringScalarNaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpringScalarNaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SpringScalarNaturalMotionAnimation) -> ::windows::core::Result { @@ -33602,7 +33602,7 @@ impl ::core::fmt::Debug for SpringVector2NaturalMotionAnimation { } } impl ::windows::core::RuntimeType for SpringVector2NaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringVector2NaturalMotionAnimation;{23f494b5-ee73-4f0f-a423-402b946df4b3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringVector2NaturalMotionAnimation;{23f494b5-ee73-4f0f-a423-402b946df4b3})"); } impl ::core::clone::Clone for SpringVector2NaturalMotionAnimation { fn clone(&self) -> Self { @@ -33618,7 +33618,7 @@ unsafe impl ::windows::core::Interface for SpringVector2NaturalMotionAnimation { impl ::windows::core::RuntimeName for SpringVector2NaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.SpringVector2NaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(SpringVector2NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpringVector2NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SpringVector2NaturalMotionAnimation) -> ::windows::core::Result { @@ -34070,7 +34070,7 @@ impl ::core::fmt::Debug for SpringVector3NaturalMotionAnimation { } } impl ::windows::core::RuntimeType for SpringVector3NaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringVector3NaturalMotionAnimation;{6c8749df-d57b-4794-8e2d-cecb11e194e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringVector3NaturalMotionAnimation;{6c8749df-d57b-4794-8e2d-cecb11e194e5})"); } impl ::core::clone::Clone for SpringVector3NaturalMotionAnimation { fn clone(&self) -> Self { @@ -34086,7 +34086,7 @@ unsafe impl ::windows::core::Interface for SpringVector3NaturalMotionAnimation { impl ::windows::core::RuntimeName for SpringVector3NaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.SpringVector3NaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(SpringVector3NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpringVector3NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SpringVector3NaturalMotionAnimation) -> ::windows::core::Result { @@ -34650,7 +34650,7 @@ impl ::core::fmt::Debug for SpriteVisual { } } impl ::windows::core::RuntimeType for SpriteVisual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpriteVisual;{08e05581-1ad1-4f97-9757-402d76e4233b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpriteVisual;{08e05581-1ad1-4f97-9757-402d76e4233b})"); } impl ::core::clone::Clone for SpriteVisual { fn clone(&self) -> Self { @@ -34666,7 +34666,7 @@ unsafe impl ::windows::core::Interface for SpriteVisual { impl ::windows::core::RuntimeName for SpriteVisual { const NAME: &'static str = "Windows.UI.Composition.SpriteVisual"; } -::windows::core::interface_hierarchy!(SpriteVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpriteVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: SpriteVisual) -> ::windows::core::Result { @@ -34932,7 +34932,7 @@ impl ::core::fmt::Debug for StepEasingFunction { } } impl ::windows::core::RuntimeType for StepEasingFunction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.StepEasingFunction;{d0caa74b-560c-4a0b-a5f6-206ca8c3ecd6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.StepEasingFunction;{d0caa74b-560c-4a0b-a5f6-206ca8c3ecd6})"); } impl ::core::clone::Clone for StepEasingFunction { fn clone(&self) -> Self { @@ -34948,7 +34948,7 @@ unsafe impl ::windows::core::Interface for StepEasingFunction { impl ::windows::core::RuntimeName for StepEasingFunction { const NAME: &'static str = "Windows.UI.Composition.StepEasingFunction"; } -::windows::core::interface_hierarchy!(StepEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StepEasingFunction, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: StepEasingFunction) -> ::windows::core::Result { @@ -35353,7 +35353,7 @@ impl ::core::fmt::Debug for Vector2KeyFrameAnimation { } } impl ::windows::core::RuntimeType for Vector2KeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector2KeyFrameAnimation;{df414515-4e29-4f11-b55e-bf2a6eb36294})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector2KeyFrameAnimation;{df414515-4e29-4f11-b55e-bf2a6eb36294})"); } impl ::core::clone::Clone for Vector2KeyFrameAnimation { fn clone(&self) -> Self { @@ -35369,7 +35369,7 @@ unsafe impl ::windows::core::Interface for Vector2KeyFrameAnimation { impl ::windows::core::RuntimeName for Vector2KeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.Vector2KeyFrameAnimation"; } -::windows::core::interface_hierarchy!(Vector2KeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Vector2KeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: Vector2KeyFrameAnimation) -> ::windows::core::Result { @@ -35780,7 +35780,7 @@ impl ::core::fmt::Debug for Vector2NaturalMotionAnimation { } } impl ::windows::core::RuntimeType for Vector2NaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector2NaturalMotionAnimation;{0f3e0b7d-e512-479d-a00c-77c93a30a395})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector2NaturalMotionAnimation;{0f3e0b7d-e512-479d-a00c-77c93a30a395})"); } impl ::core::clone::Clone for Vector2NaturalMotionAnimation { fn clone(&self) -> Self { @@ -35796,7 +35796,7 @@ unsafe impl ::windows::core::Interface for Vector2NaturalMotionAnimation { impl ::windows::core::RuntimeName for Vector2NaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.Vector2NaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(Vector2NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Vector2NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: Vector2NaturalMotionAnimation) -> ::windows::core::Result { @@ -36235,7 +36235,7 @@ impl ::core::fmt::Debug for Vector3KeyFrameAnimation { } } impl ::windows::core::RuntimeType for Vector3KeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector3KeyFrameAnimation;{c8039daa-a281-43c2-a73d-b68e3c533c40})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector3KeyFrameAnimation;{c8039daa-a281-43c2-a73d-b68e3c533c40})"); } impl ::core::clone::Clone for Vector3KeyFrameAnimation { fn clone(&self) -> Self { @@ -36251,7 +36251,7 @@ unsafe impl ::windows::core::Interface for Vector3KeyFrameAnimation { impl ::windows::core::RuntimeName for Vector3KeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.Vector3KeyFrameAnimation"; } -::windows::core::interface_hierarchy!(Vector3KeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Vector3KeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: Vector3KeyFrameAnimation) -> ::windows::core::Result { @@ -36662,7 +36662,7 @@ impl ::core::fmt::Debug for Vector3NaturalMotionAnimation { } } impl ::windows::core::RuntimeType for Vector3NaturalMotionAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector3NaturalMotionAnimation;{9c17042c-e2ca-45ad-969e-4e78b7b9ad41})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector3NaturalMotionAnimation;{9c17042c-e2ca-45ad-969e-4e78b7b9ad41})"); } impl ::core::clone::Clone for Vector3NaturalMotionAnimation { fn clone(&self) -> Self { @@ -36678,7 +36678,7 @@ unsafe impl ::windows::core::Interface for Vector3NaturalMotionAnimation { impl ::windows::core::RuntimeName for Vector3NaturalMotionAnimation { const NAME: &'static str = "Windows.UI.Composition.Vector3NaturalMotionAnimation"; } -::windows::core::interface_hierarchy!(Vector3NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Vector3NaturalMotionAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: Vector3NaturalMotionAnimation) -> ::windows::core::Result { @@ -37117,7 +37117,7 @@ impl ::core::fmt::Debug for Vector4KeyFrameAnimation { } } impl ::windows::core::RuntimeType for Vector4KeyFrameAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector4KeyFrameAnimation;{2457945b-addd-4385-9606-b6a3d5e4e1b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector4KeyFrameAnimation;{2457945b-addd-4385-9606-b6a3d5e4e1b9})"); } impl ::core::clone::Clone for Vector4KeyFrameAnimation { fn clone(&self) -> Self { @@ -37133,7 +37133,7 @@ unsafe impl ::windows::core::Interface for Vector4KeyFrameAnimation { impl ::windows::core::RuntimeName for Vector4KeyFrameAnimation { const NAME: &'static str = "Windows.UI.Composition.Vector4KeyFrameAnimation"; } -::windows::core::interface_hierarchy!(Vector4KeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Vector4KeyFrameAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: Vector4KeyFrameAnimation) -> ::windows::core::Result { @@ -37647,7 +37647,7 @@ impl ::core::fmt::Debug for Visual { } } impl ::windows::core::RuntimeType for Visual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Visual;{117e202d-a859-4c89-873b-c2aa566788e3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Visual;{117e202d-a859-4c89-873b-c2aa566788e3})"); } impl ::core::clone::Clone for Visual { fn clone(&self) -> Self { @@ -37663,7 +37663,7 @@ unsafe impl ::windows::core::Interface for Visual { impl ::windows::core::RuntimeName for Visual { const NAME: &'static str = "Windows.UI.Composition.Visual"; } -::windows::core::interface_hierarchy!(Visual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Visual, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: Visual) -> ::windows::core::Result { @@ -37901,7 +37901,7 @@ impl ::core::fmt::Debug for VisualCollection { } } impl ::windows::core::RuntimeType for VisualCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.VisualCollection;{8b745505-fd3e-4a98-84a8-e949468c6bcb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.VisualCollection;{8b745505-fd3e-4a98-84a8-e949468c6bcb})"); } impl ::core::clone::Clone for VisualCollection { fn clone(&self) -> Self { @@ -37933,7 +37933,7 @@ impl ::core::iter::IntoIterator for &VisualCollection { self.First().unwrap() } } -::windows::core::interface_hierarchy!(VisualCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VisualCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: VisualCollection) -> ::windows::core::Result { @@ -38170,7 +38170,7 @@ impl ::core::fmt::Debug for VisualUnorderedCollection { } } impl ::windows::core::RuntimeType for VisualUnorderedCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.VisualUnorderedCollection;{338faa70-54c8-40a7-8029-c9ceeb0aa250})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.VisualUnorderedCollection;{338faa70-54c8-40a7-8029-c9ceeb0aa250})"); } impl ::core::clone::Clone for VisualUnorderedCollection { fn clone(&self) -> Self { @@ -38202,7 +38202,7 @@ impl ::core::iter::IntoIterator for &VisualUnorderedCollection { self.First().unwrap() } } -::windows::core::interface_hierarchy!(VisualUnorderedCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VisualUnorderedCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAnimationObject { type Error = ::windows::core::Error; fn try_from(value: VisualUnorderedCollection) -> ::windows::core::Result { @@ -38311,7 +38311,7 @@ impl ::core::fmt::Debug for AnimationControllerProgressBehavior { } } impl ::windows::core::RuntimeType for AnimationControllerProgressBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationControllerProgressBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationControllerProgressBehavior;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38341,7 +38341,7 @@ impl ::core::fmt::Debug for AnimationDelayBehavior { } } impl ::windows::core::RuntimeType for AnimationDelayBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationDelayBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationDelayBehavior;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38373,7 +38373,7 @@ impl ::core::fmt::Debug for AnimationDirection { } } impl ::windows::core::RuntimeType for AnimationDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationDirection;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38403,7 +38403,7 @@ impl ::core::fmt::Debug for AnimationIterationBehavior { } } impl ::windows::core::RuntimeType for AnimationIterationBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationIterationBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationIterationBehavior;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38435,7 +38435,7 @@ impl ::core::fmt::Debug for AnimationPropertyAccessMode { } } impl ::windows::core::RuntimeType for AnimationPropertyAccessMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationPropertyAccessMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationPropertyAccessMode;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38466,7 +38466,7 @@ impl ::core::fmt::Debug for AnimationStopBehavior { } } impl ::windows::core::RuntimeType for AnimationStopBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationStopBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.AnimationStopBehavior;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38497,7 +38497,7 @@ impl ::core::fmt::Debug for CompositionBackfaceVisibility { } } impl ::windows::core::RuntimeType for CompositionBackfaceVisibility { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionBackfaceVisibility;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionBackfaceVisibility;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38563,7 +38563,7 @@ impl ::core::ops::Not for CompositionBatchTypes { } } impl ::windows::core::RuntimeType for CompositionBatchTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionBatchTypes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionBatchTypes;u4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38601,7 +38601,7 @@ impl ::core::fmt::Debug for CompositionBitmapInterpolationMode { } } impl ::windows::core::RuntimeType for CompositionBitmapInterpolationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionBitmapInterpolationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionBitmapInterpolationMode;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38632,7 +38632,7 @@ impl ::core::fmt::Debug for CompositionBorderMode { } } impl ::windows::core::RuntimeType for CompositionBorderMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionBorderMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionBorderMode;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38665,7 +38665,7 @@ impl ::core::fmt::Debug for CompositionColorSpace { } } impl ::windows::core::RuntimeType for CompositionColorSpace { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionColorSpace;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionColorSpace;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38697,7 +38697,7 @@ impl ::core::fmt::Debug for CompositionCompositeMode { } } impl ::windows::core::RuntimeType for CompositionCompositeMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionCompositeMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionCompositeMode;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38727,7 +38727,7 @@ impl ::core::fmt::Debug for CompositionDropShadowSourcePolicy { } } impl ::windows::core::RuntimeType for CompositionDropShadowSourcePolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionDropShadowSourcePolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionDropShadowSourcePolicy;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38758,7 +38758,7 @@ impl ::core::fmt::Debug for CompositionEasingFunctionMode { } } impl ::windows::core::RuntimeType for CompositionEasingFunctionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionEasingFunctionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionEasingFunctionMode;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38790,7 +38790,7 @@ impl ::core::fmt::Debug for CompositionEffectFactoryLoadStatus { } } impl ::windows::core::RuntimeType for CompositionEffectFactoryLoadStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionEffectFactoryLoadStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionEffectFactoryLoadStatus;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38821,7 +38821,7 @@ impl ::core::fmt::Debug for CompositionGetValueStatus { } } impl ::windows::core::RuntimeType for CompositionGetValueStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionGetValueStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionGetValueStatus;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38852,7 +38852,7 @@ impl ::core::fmt::Debug for CompositionGradientExtendMode { } } impl ::windows::core::RuntimeType for CompositionGradientExtendMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionGradientExtendMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionGradientExtendMode;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38882,7 +38882,7 @@ impl ::core::fmt::Debug for CompositionMappingMode { } } impl ::windows::core::RuntimeType for CompositionMappingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionMappingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionMappingMode;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38914,7 +38914,7 @@ impl ::core::fmt::Debug for CompositionStretch { } } impl ::windows::core::RuntimeType for CompositionStretch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionStretch;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionStretch;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38946,7 +38946,7 @@ impl ::core::fmt::Debug for CompositionStrokeCap { } } impl ::windows::core::RuntimeType for CompositionStrokeCap { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionStrokeCap;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionStrokeCap;i4)"); } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] @@ -38978,7 +38978,7 @@ impl ::core::fmt::Debug for CompositionStrokeLineJoin { } } impl ::windows::core::RuntimeType for CompositionStrokeLineJoin { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionStrokeLineJoin;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Composition.CompositionStrokeLineJoin;i4)"); } #[repr(C)] #[doc = "*Required features: `\"UI_Composition\"`, `\"Foundation\"`*"] @@ -39007,7 +39007,7 @@ impl ::windows::core::TypeKind for InkTrailPoint { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for InkTrailPoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Composition.InkTrailPoint;struct(Windows.Foundation.Point;f4;f4);f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Composition.InkTrailPoint;struct(Windows.Foundation.Point;f4;f4);f4)"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for InkTrailPoint { diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs index 7e5f581284..2a3a6eeac9 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs @@ -123,7 +123,7 @@ impl IPropertyAnimation { } } } -::windows::core::interface_hierarchy!(IPropertyAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPropertyAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPropertyAnimation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -136,7 +136,7 @@ impl ::core::fmt::Debug for IPropertyAnimation { } } impl ::windows::core::RuntimeType for IPropertyAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3a01b4da-4d8c-411e-b615-1ade683a9903}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3a01b4da-4d8c-411e-b615-1ade683a9903}"); } unsafe impl ::windows::core::Vtable for IPropertyAnimation { type Vtable = IPropertyAnimation_Vtbl; @@ -257,7 +257,7 @@ impl AnimationDescription { } #[doc(hidden)] pub fn IAnimationDescriptionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -273,7 +273,7 @@ impl ::core::fmt::Debug for AnimationDescription { } } impl ::windows::core::RuntimeType for AnimationDescription { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.AnimationDescription;{7d11a549-be3d-41de-b081-05c149962f9b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.AnimationDescription;{7d11a549-be3d-41de-b081-05c149962f9b})"); } impl ::core::clone::Clone for AnimationDescription { fn clone(&self) -> Self { @@ -289,7 +289,7 @@ unsafe impl ::windows::core::Interface for AnimationDescription { impl ::windows::core::RuntimeName for AnimationDescription { const NAME: &'static str = "Windows.UI.Core.AnimationMetrics.AnimationDescription"; } -::windows::core::interface_hierarchy!(AnimationDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AnimationDescription, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AnimationDescription {} unsafe impl ::core::marker::Sync for AnimationDescription {} #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] @@ -368,7 +368,7 @@ impl ::core::fmt::Debug for OpacityAnimation { } } impl ::windows::core::RuntimeType for OpacityAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.OpacityAnimation;{803aabe5-ee7e-455f-84e9-2506afb8d2b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.OpacityAnimation;{803aabe5-ee7e-455f-84e9-2506afb8d2b4})"); } impl ::core::clone::Clone for OpacityAnimation { fn clone(&self) -> Self { @@ -384,7 +384,7 @@ unsafe impl ::windows::core::Interface for OpacityAnimation { impl ::windows::core::RuntimeName for OpacityAnimation { const NAME: &'static str = "Windows.UI.Core.AnimationMetrics.OpacityAnimation"; } -::windows::core::interface_hierarchy!(OpacityAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(OpacityAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPropertyAnimation { type Error = ::windows::core::Error; fn try_from(value: OpacityAnimation) -> ::windows::core::Result { @@ -466,7 +466,7 @@ impl ::core::fmt::Debug for PropertyAnimation { } } impl ::windows::core::RuntimeType for PropertyAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.PropertyAnimation;{3a01b4da-4d8c-411e-b615-1ade683a9903})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.PropertyAnimation;{3a01b4da-4d8c-411e-b615-1ade683a9903})"); } impl ::core::clone::Clone for PropertyAnimation { fn clone(&self) -> Self { @@ -482,7 +482,7 @@ unsafe impl ::windows::core::Interface for PropertyAnimation { impl ::windows::core::RuntimeName for PropertyAnimation { const NAME: &'static str = "Windows.UI.Core.AnimationMetrics.PropertyAnimation"; } -::windows::core::interface_hierarchy!(PropertyAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PropertyAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPropertyAnimation { type Error = ::windows::core::Error; fn try_from(value: PropertyAnimation) -> ::windows::core::Result { @@ -605,7 +605,7 @@ impl ::core::fmt::Debug for ScaleAnimation { } } impl ::windows::core::RuntimeType for ScaleAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.ScaleAnimation;{023552c7-71ab-428c-9c9f-d31780964995})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.ScaleAnimation;{023552c7-71ab-428c-9c9f-d31780964995})"); } impl ::core::clone::Clone for ScaleAnimation { fn clone(&self) -> Self { @@ -621,7 +621,7 @@ unsafe impl ::windows::core::Interface for ScaleAnimation { impl ::windows::core::RuntimeName for ScaleAnimation { const NAME: &'static str = "Windows.UI.Core.AnimationMetrics.ScaleAnimation"; } -::windows::core::interface_hierarchy!(ScaleAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScaleAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPropertyAnimation { type Error = ::windows::core::Error; fn try_from(value: ScaleAnimation) -> ::windows::core::Result { @@ -703,7 +703,7 @@ impl ::core::fmt::Debug for TranslationAnimation { } } impl ::windows::core::RuntimeType for TranslationAnimation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.TranslationAnimation;{3a01b4da-4d8c-411e-b615-1ade683a9903})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.TranslationAnimation;{3a01b4da-4d8c-411e-b615-1ade683a9903})"); } impl ::core::clone::Clone for TranslationAnimation { fn clone(&self) -> Self { @@ -719,7 +719,7 @@ unsafe impl ::windows::core::Interface for TranslationAnimation { impl ::windows::core::RuntimeName for TranslationAnimation { const NAME: &'static str = "Windows.UI.Core.AnimationMetrics.TranslationAnimation"; } -::windows::core::interface_hierarchy!(TranslationAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TranslationAnimation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IPropertyAnimation { type Error = ::windows::core::Error; fn try_from(value: TranslationAnimation) -> ::windows::core::Result { @@ -803,7 +803,7 @@ impl ::core::fmt::Debug for AnimationEffect { } } impl ::windows::core::RuntimeType for AnimationEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.AnimationMetrics.AnimationEffect;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.AnimationMetrics.AnimationEffect;i4)"); } #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] #[repr(transparent)] @@ -851,7 +851,7 @@ impl ::core::fmt::Debug for AnimationEffectTarget { } } impl ::windows::core::RuntimeType for AnimationEffectTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.AnimationMetrics.AnimationEffectTarget;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.AnimationMetrics.AnimationEffectTarget;i4)"); } #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] #[repr(transparent)] @@ -882,7 +882,7 @@ impl ::core::fmt::Debug for PropertyAnimationType { } } impl ::windows::core::RuntimeType for PropertyAnimationType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.AnimationMetrics.PropertyAnimationType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.AnimationMetrics.PropertyAnimationType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs index eec6d424b8..805640cdd3 100644 --- a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs @@ -126,7 +126,7 @@ impl CoreAppWindowPreview { } #[doc(hidden)] pub fn ICoreAppWindowPreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -142,7 +142,7 @@ impl ::core::fmt::Debug for CoreAppWindowPreview { } } impl ::windows::core::RuntimeType for CoreAppWindowPreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.CoreAppWindowPreview;{a4f6e665-365e-5fde-87a5-9543c3a15aa8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.CoreAppWindowPreview;{a4f6e665-365e-5fde-87a5-9543c3a15aa8})"); } impl ::core::clone::Clone for CoreAppWindowPreview { fn clone(&self) -> Self { @@ -158,7 +158,7 @@ unsafe impl ::windows::core::Interface for CoreAppWindowPreview { impl ::windows::core::RuntimeName for CoreAppWindowPreview { const NAME: &'static str = "Windows.UI.Core.Preview.CoreAppWindowPreview"; } -::windows::core::interface_hierarchy!(CoreAppWindowPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreAppWindowPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreAppWindowPreview {} unsafe impl ::core::marker::Sync for CoreAppWindowPreview {} #[doc = "*Required features: `\"UI_Core_Preview\"`*"] @@ -198,7 +198,7 @@ impl ::core::fmt::Debug for SystemNavigationCloseRequestedPreviewEventArgs { } } impl ::windows::core::RuntimeType for SystemNavigationCloseRequestedPreviewEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.SystemNavigationCloseRequestedPreviewEventArgs;{83d00de1-cbe5-4f31-8414-361da046518f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.SystemNavigationCloseRequestedPreviewEventArgs;{83d00de1-cbe5-4f31-8414-361da046518f})"); } impl ::core::clone::Clone for SystemNavigationCloseRequestedPreviewEventArgs { fn clone(&self) -> Self { @@ -214,7 +214,7 @@ unsafe impl ::windows::core::Interface for SystemNavigationCloseRequestedPreview impl ::windows::core::RuntimeName for SystemNavigationCloseRequestedPreviewEventArgs { const NAME: &'static str = "Windows.UI.Core.Preview.SystemNavigationCloseRequestedPreviewEventArgs"; } -::windows::core::interface_hierarchy!(SystemNavigationCloseRequestedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemNavigationCloseRequestedPreviewEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemNavigationCloseRequestedPreviewEventArgs {} unsafe impl ::core::marker::Sync for SystemNavigationCloseRequestedPreviewEventArgs {} #[doc = "*Required features: `\"UI_Core_Preview\"`*"] @@ -244,7 +244,7 @@ impl SystemNavigationManagerPreview { } #[doc(hidden)] pub fn ISystemNavigationManagerPreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -260,7 +260,7 @@ impl ::core::fmt::Debug for SystemNavigationManagerPreview { } } impl ::windows::core::RuntimeType for SystemNavigationManagerPreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.SystemNavigationManagerPreview;{ec5f0488-6425-4777-a536-cb5634427f0d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.SystemNavigationManagerPreview;{ec5f0488-6425-4777-a536-cb5634427f0d})"); } impl ::core::clone::Clone for SystemNavigationManagerPreview { fn clone(&self) -> Self { @@ -276,7 +276,7 @@ unsafe impl ::windows::core::Interface for SystemNavigationManagerPreview { impl ::windows::core::RuntimeName for SystemNavigationManagerPreview { const NAME: &'static str = "Windows.UI.Core.Preview.SystemNavigationManagerPreview"; } -::windows::core::interface_hierarchy!(SystemNavigationManagerPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemNavigationManagerPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemNavigationManagerPreview {} unsafe impl ::core::marker::Sync for SystemNavigationManagerPreview {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index e2ad9d0e30..370d786dc7 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -165,7 +165,7 @@ impl ICoreAcceleratorKeys { unsafe { (::windows::core::Vtable::vtable(this).RemoveAcceleratorKeyActivated)(::windows::core::Vtable::as_raw(this), cookie).ok() } } } -::windows::core::interface_hierarchy!(ICoreAcceleratorKeys, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreAcceleratorKeys, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreAcceleratorKeys { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -178,7 +178,7 @@ impl ::core::fmt::Debug for ICoreAcceleratorKeys { } } impl ::windows::core::RuntimeType for ICoreAcceleratorKeys { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9ffdf7f5-b8c9-4ef0-b7d2-1de626561fc8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9ffdf7f5-b8c9-4ef0-b7d2-1de626561fc8}"); } unsafe impl ::windows::core::Vtable for ICoreAcceleratorKeys { type Vtable = ICoreAcceleratorKeys_Vtbl; @@ -479,7 +479,7 @@ impl ICoreInputSourceBase { unsafe { (::windows::core::Vtable::vtable(this).RemoveInputEnabled)(::windows::core::Vtable::as_raw(this), cookie).ok() } } } -::windows::core::interface_hierarchy!(ICoreInputSourceBase, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreInputSourceBase, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreInputSourceBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -492,7 +492,7 @@ impl ::core::fmt::Debug for ICoreInputSourceBase { } } impl ::windows::core::RuntimeType for ICoreInputSourceBase { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9f488807-4580-4be8-be68-92a9311713bb}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9f488807-4580-4be8-be68-92a9311713bb}"); } unsafe impl ::windows::core::Vtable for ICoreInputSourceBase { type Vtable = ICoreInputSourceBase_Vtbl; @@ -733,7 +733,7 @@ impl ICorePointerInputSource { unsafe { (::windows::core::Vtable::vtable(this).RemovePointerWheelChanged)(::windows::core::Vtable::as_raw(this), cookie).ok() } } } -::windows::core::interface_hierarchy!(ICorePointerInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICorePointerInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICorePointerInputSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -746,7 +746,7 @@ impl ::core::fmt::Debug for ICorePointerInputSource { } } impl ::windows::core::RuntimeType for ICorePointerInputSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{bbf1bb18-e47a-48eb-8807-f8f8d3ea4551}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{bbf1bb18-e47a-48eb-8807-f8f8d3ea4551}"); } unsafe impl ::windows::core::Vtable for ICorePointerInputSource { type Vtable = ICorePointerInputSource_Vtbl; @@ -983,7 +983,7 @@ impl ICorePointerInputSource2 { unsafe { (::windows::core::Vtable::vtable(this).RemovePointerWheelChanged)(::windows::core::Vtable::as_raw(this), cookie).ok() } } } -::windows::core::interface_hierarchy!(ICorePointerInputSource2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICorePointerInputSource2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICorePointerInputSource { type Error = ::windows::core::Error; fn try_from(value: ICorePointerInputSource2) -> ::windows::core::Result { @@ -1015,7 +1015,7 @@ impl ::core::fmt::Debug for ICorePointerInputSource2 { } } impl ::windows::core::RuntimeType for ICorePointerInputSource2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d703708a-4516-4786-b1e5-2751d563f997}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d703708a-4516-4786-b1e5-2751d563f997}"); } unsafe impl ::windows::core::Vtable for ICorePointerInputSource2 { type Vtable = ICorePointerInputSource2_Vtbl; @@ -1087,7 +1087,7 @@ impl ICorePointerRedirector { unsafe { (::windows::core::Vtable::vtable(this).RemovePointerRoutedReleased)(::windows::core::Vtable::as_raw(this), cookie).ok() } } } -::windows::core::interface_hierarchy!(ICorePointerRedirector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICorePointerRedirector, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICorePointerRedirector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1100,7 +1100,7 @@ impl ::core::fmt::Debug for ICorePointerRedirector { } } impl ::windows::core::RuntimeType for ICorePointerRedirector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{8f9d0c94-5688-4b0c-a9f1-f931f7fa3dc3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{8f9d0c94-5688-4b0c-a9f1-f931f7fa3dc3}"); } unsafe impl ::windows::core::Vtable for ICorePointerRedirector { type Vtable = ICorePointerRedirector_Vtbl; @@ -1544,7 +1544,7 @@ impl ICoreWindow { unsafe { (::windows::core::Vtable::vtable(this).RemoveVisibilityChanged)(::windows::core::Vtable::as_raw(this), cookie).ok() } } } -::windows::core::interface_hierarchy!(ICoreWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreWindow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1557,7 +1557,7 @@ impl ::core::fmt::Debug for ICoreWindow { } } impl ::windows::core::RuntimeType for ICoreWindow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{79b9d5f2-879e-4b89-b798-79e47598030c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{79b9d5f2-879e-4b89-b798-79e47598030c}"); } unsafe impl ::windows::core::Vtable for ICoreWindow { type Vtable = ICoreWindow_Vtbl; @@ -1949,7 +1949,7 @@ impl ICoreWindowEventArgs { unsafe { (::windows::core::Vtable::vtable(this).SetHandled)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(ICoreWindowEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreWindowEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreWindowEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1962,7 +1962,7 @@ impl ::core::fmt::Debug for ICoreWindowEventArgs { } } impl ::windows::core::RuntimeType for ICoreWindowEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{272b1ef3-c633-4da5-a26c-c6d0f56b29da}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{272b1ef3-c633-4da5-a26c-c6d0f56b29da}"); } unsafe impl ::windows::core::Vtable for ICoreWindowEventArgs { type Vtable = ICoreWindowEventArgs_Vtbl; @@ -2219,7 +2219,7 @@ impl IInitializeWithCoreWindow { unsafe { (::windows::core::Vtable::vtable(this).Initialize)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(window)).ok() } } } -::windows::core::interface_hierarchy!(IInitializeWithCoreWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInitializeWithCoreWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInitializeWithCoreWindow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2232,7 +2232,7 @@ impl ::core::fmt::Debug for IInitializeWithCoreWindow { } } impl ::windows::core::RuntimeType for IInitializeWithCoreWindow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{188f20d6-9873-464a-ace5-57e010f465e6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{188f20d6-9873-464a-ace5-57e010f465e6}"); } unsafe impl ::windows::core::Vtable for IInitializeWithCoreWindow { type Vtable = IInitializeWithCoreWindow_Vtbl; @@ -2578,7 +2578,7 @@ impl ::core::fmt::Debug for AcceleratorKeyEventArgs { } } impl ::windows::core::RuntimeType for AcceleratorKeyEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AcceleratorKeyEventArgs;{ff1c4c4a-9287-470b-836e-9086e3126ade})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AcceleratorKeyEventArgs;{ff1c4c4a-9287-470b-836e-9086e3126ade})"); } impl ::core::clone::Clone for AcceleratorKeyEventArgs { fn clone(&self) -> Self { @@ -2594,7 +2594,7 @@ unsafe impl ::windows::core::Interface for AcceleratorKeyEventArgs { impl ::windows::core::RuntimeName for AcceleratorKeyEventArgs { const NAME: &'static str = "Windows.UI.Core.AcceleratorKeyEventArgs"; } -::windows::core::interface_hierarchy!(AcceleratorKeyEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AcceleratorKeyEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: AcceleratorKeyEventArgs) -> ::windows::core::Result { @@ -2658,7 +2658,7 @@ impl ::core::fmt::Debug for AutomationProviderRequestedEventArgs { } } impl ::windows::core::RuntimeType for AutomationProviderRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AutomationProviderRequestedEventArgs;{961ff258-21bf-4b42-a298-fa479d4c52e2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AutomationProviderRequestedEventArgs;{961ff258-21bf-4b42-a298-fa479d4c52e2})"); } impl ::core::clone::Clone for AutomationProviderRequestedEventArgs { fn clone(&self) -> Self { @@ -2674,7 +2674,7 @@ unsafe impl ::windows::core::Interface for AutomationProviderRequestedEventArgs impl ::windows::core::RuntimeName for AutomationProviderRequestedEventArgs { const NAME: &'static str = "Windows.UI.Core.AutomationProviderRequestedEventArgs"; } -::windows::core::interface_hierarchy!(AutomationProviderRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AutomationProviderRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: AutomationProviderRequestedEventArgs) -> ::windows::core::Result { @@ -2722,7 +2722,7 @@ impl ::core::fmt::Debug for BackRequestedEventArgs { } } impl ::windows::core::RuntimeType for BackRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.BackRequestedEventArgs;{d603d28a-e411-4a4e-ba41-6a327a8675bc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.BackRequestedEventArgs;{d603d28a-e411-4a4e-ba41-6a327a8675bc})"); } impl ::core::clone::Clone for BackRequestedEventArgs { fn clone(&self) -> Self { @@ -2738,7 +2738,7 @@ unsafe impl ::windows::core::Interface for BackRequestedEventArgs { impl ::windows::core::RuntimeName for BackRequestedEventArgs { const NAME: &'static str = "Windows.UI.Core.BackRequestedEventArgs"; } -::windows::core::interface_hierarchy!(BackRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BackRequestedEventArgs {} unsafe impl ::core::marker::Sync for BackRequestedEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] @@ -2783,7 +2783,7 @@ impl ::core::fmt::Debug for CharacterReceivedEventArgs { } } impl ::windows::core::RuntimeType for CharacterReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CharacterReceivedEventArgs;{c584659f-99b2-4bcc-bd33-04e63f42902e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CharacterReceivedEventArgs;{c584659f-99b2-4bcc-bd33-04e63f42902e})"); } impl ::core::clone::Clone for CharacterReceivedEventArgs { fn clone(&self) -> Self { @@ -2799,7 +2799,7 @@ unsafe impl ::windows::core::Interface for CharacterReceivedEventArgs { impl ::windows::core::RuntimeName for CharacterReceivedEventArgs { const NAME: &'static str = "Windows.UI.Core.CharacterReceivedEventArgs"; } -::windows::core::interface_hierarchy!(CharacterReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CharacterReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: CharacterReceivedEventArgs) -> ::windows::core::Result { @@ -2869,7 +2869,7 @@ impl ::core::fmt::Debug for ClosestInteractiveBoundsRequestedEventArgs { } } impl ::windows::core::RuntimeType for ClosestInteractiveBoundsRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.ClosestInteractiveBoundsRequestedEventArgs;{347c11d7-f6f8-40e3-b29f-ae50d3e86486})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.ClosestInteractiveBoundsRequestedEventArgs;{347c11d7-f6f8-40e3-b29f-ae50d3e86486})"); } impl ::core::clone::Clone for ClosestInteractiveBoundsRequestedEventArgs { fn clone(&self) -> Self { @@ -2885,7 +2885,7 @@ unsafe impl ::windows::core::Interface for ClosestInteractiveBoundsRequestedEven impl ::windows::core::RuntimeName for ClosestInteractiveBoundsRequestedEventArgs { const NAME: &'static str = "Windows.UI.Core.ClosestInteractiveBoundsRequestedEventArgs"; } -::windows::core::interface_hierarchy!(ClosestInteractiveBoundsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ClosestInteractiveBoundsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] pub struct CoreAcceleratorKeys(::windows::core::IUnknown); @@ -2918,7 +2918,7 @@ impl ::core::fmt::Debug for CoreAcceleratorKeys { } } impl ::windows::core::RuntimeType for CoreAcceleratorKeys { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreAcceleratorKeys;{9ffdf7f5-b8c9-4ef0-b7d2-1de626561fc8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreAcceleratorKeys;{9ffdf7f5-b8c9-4ef0-b7d2-1de626561fc8})"); } impl ::core::clone::Clone for CoreAcceleratorKeys { fn clone(&self) -> Self { @@ -2934,7 +2934,7 @@ unsafe impl ::windows::core::Interface for CoreAcceleratorKeys { impl ::windows::core::RuntimeName for CoreAcceleratorKeys { const NAME: &'static str = "Windows.UI.Core.CoreAcceleratorKeys"; } -::windows::core::interface_hierarchy!(CoreAcceleratorKeys, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreAcceleratorKeys, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreAcceleratorKeys { type Error = ::windows::core::Error; fn try_from(value: CoreAcceleratorKeys) -> ::windows::core::Result { @@ -3283,7 +3283,7 @@ impl ::core::fmt::Debug for CoreComponentInputSource { } } impl ::windows::core::RuntimeType for CoreComponentInputSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreComponentInputSource;{9f488807-4580-4be8-be68-92a9311713bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreComponentInputSource;{9f488807-4580-4be8-be68-92a9311713bb})"); } impl ::core::clone::Clone for CoreComponentInputSource { fn clone(&self) -> Self { @@ -3299,7 +3299,7 @@ unsafe impl ::windows::core::Interface for CoreComponentInputSource { impl ::windows::core::RuntimeName for CoreComponentInputSource { const NAME: &'static str = "Windows.UI.Core.CoreComponentInputSource"; } -::windows::core::interface_hierarchy!(CoreComponentInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreComponentInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreInputSourceBase { type Error = ::windows::core::Error; fn try_from(value: CoreComponentInputSource) -> ::windows::core::Result { @@ -3385,7 +3385,7 @@ impl CoreCursor { } #[doc(hidden)] pub fn ICoreCursorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3401,7 +3401,7 @@ impl ::core::fmt::Debug for CoreCursor { } } impl ::windows::core::RuntimeType for CoreCursor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreCursor;{96893acf-111d-442c-8a77-b87992f8e2d6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreCursor;{96893acf-111d-442c-8a77-b87992f8e2d6})"); } impl ::core::clone::Clone for CoreCursor { fn clone(&self) -> Self { @@ -3417,7 +3417,7 @@ unsafe impl ::windows::core::Interface for CoreCursor { impl ::windows::core::RuntimeName for CoreCursor { const NAME: &'static str = "Windows.UI.Core.CoreCursor"; } -::windows::core::interface_hierarchy!(CoreCursor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreCursor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreCursor {} unsafe impl ::core::marker::Sync for CoreCursor {} #[doc = "*Required features: `\"UI_Core\"`*"] @@ -3528,7 +3528,7 @@ impl ::core::fmt::Debug for CoreDispatcher { } } impl ::windows::core::RuntimeType for CoreDispatcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreDispatcher;{60db2fa8-b705-4fde-a7d6-ebbb1891d39e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreDispatcher;{60db2fa8-b705-4fde-a7d6-ebbb1891d39e})"); } impl ::core::clone::Clone for CoreDispatcher { fn clone(&self) -> Self { @@ -3544,7 +3544,7 @@ unsafe impl ::windows::core::Interface for CoreDispatcher { impl ::windows::core::RuntimeName for CoreDispatcher { const NAME: &'static str = "Windows.UI.Core.CoreDispatcher"; } -::windows::core::interface_hierarchy!(CoreDispatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreDispatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreAcceleratorKeys { type Error = ::windows::core::Error; fn try_from(value: CoreDispatcher) -> ::windows::core::Result { @@ -3810,7 +3810,7 @@ impl ::core::fmt::Debug for CoreIndependentInputSource { } } impl ::windows::core::RuntimeType for CoreIndependentInputSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreIndependentInputSource;{9f488807-4580-4be8-be68-92a9311713bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreIndependentInputSource;{9f488807-4580-4be8-be68-92a9311713bb})"); } impl ::core::clone::Clone for CoreIndependentInputSource { fn clone(&self) -> Self { @@ -3826,7 +3826,7 @@ unsafe impl ::windows::core::Interface for CoreIndependentInputSource { impl ::windows::core::RuntimeName for CoreIndependentInputSource { const NAME: &'static str = "Windows.UI.Core.CoreIndependentInputSource"; } -::windows::core::interface_hierarchy!(CoreIndependentInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreIndependentInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreInputSourceBase { type Error = ::windows::core::Error; fn try_from(value: CoreIndependentInputSource) -> ::windows::core::Result { @@ -3977,7 +3977,7 @@ impl CoreIndependentInputSourceController { } #[doc(hidden)] pub fn ICoreIndependentInputSourceControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3993,7 +3993,7 @@ impl ::core::fmt::Debug for CoreIndependentInputSourceController { } } impl ::windows::core::RuntimeType for CoreIndependentInputSourceController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreIndependentInputSourceController;{0963261c-84fe-578a-83ca-6425309ccde4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreIndependentInputSourceController;{0963261c-84fe-578a-83ca-6425309ccde4})"); } impl ::core::clone::Clone for CoreIndependentInputSourceController { fn clone(&self) -> Self { @@ -4009,7 +4009,7 @@ unsafe impl ::windows::core::Interface for CoreIndependentInputSourceController impl ::windows::core::RuntimeName for CoreIndependentInputSourceController { const NAME: &'static str = "Windows.UI.Core.CoreIndependentInputSourceController"; } -::windows::core::interface_hierarchy!(CoreIndependentInputSourceController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreIndependentInputSourceController, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4542,7 +4542,7 @@ impl CoreWindow { } #[doc(hidden)] pub fn ICoreWindowStatic ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4558,7 +4558,7 @@ impl ::core::fmt::Debug for CoreWindow { } } impl ::windows::core::RuntimeType for CoreWindow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindow;{79b9d5f2-879e-4b89-b798-79e47598030c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindow;{79b9d5f2-879e-4b89-b798-79e47598030c})"); } impl ::core::clone::Clone for CoreWindow { fn clone(&self) -> Self { @@ -4574,7 +4574,7 @@ unsafe impl ::windows::core::Interface for CoreWindow { impl ::windows::core::RuntimeName for CoreWindow { const NAME: &'static str = "Windows.UI.Core.CoreWindow"; } -::windows::core::interface_hierarchy!(CoreWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICorePointerRedirector { type Error = ::windows::core::Error; fn try_from(value: CoreWindow) -> ::windows::core::Result { @@ -4620,8 +4620,8 @@ impl CoreWindowDialog { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -4742,7 +4742,7 @@ impl CoreWindowDialog { } #[doc(hidden)] pub fn ICoreWindowDialogFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4758,7 +4758,7 @@ impl ::core::fmt::Debug for CoreWindowDialog { } } impl ::windows::core::RuntimeType for CoreWindowDialog { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowDialog;{e7392ce0-c78d-427e-8b2c-01ff420c69d5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowDialog;{e7392ce0-c78d-427e-8b2c-01ff420c69d5})"); } impl ::core::clone::Clone for CoreWindowDialog { fn clone(&self) -> Self { @@ -4774,7 +4774,7 @@ unsafe impl ::windows::core::Interface for CoreWindowDialog { impl ::windows::core::RuntimeName for CoreWindowDialog { const NAME: &'static str = "Windows.UI.Core.CoreWindowDialog"; } -::windows::core::interface_hierarchy!(CoreWindowDialog, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreWindowDialog, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] pub struct CoreWindowEventArgs(::windows::core::IUnknown); @@ -4803,7 +4803,7 @@ impl ::core::fmt::Debug for CoreWindowEventArgs { } } impl ::windows::core::RuntimeType for CoreWindowEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowEventArgs;{272b1ef3-c633-4da5-a26c-c6d0f56b29da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowEventArgs;{272b1ef3-c633-4da5-a26c-c6d0f56b29da})"); } impl ::core::clone::Clone for CoreWindowEventArgs { fn clone(&self) -> Self { @@ -4819,7 +4819,7 @@ unsafe impl ::windows::core::Interface for CoreWindowEventArgs { impl ::windows::core::RuntimeName for CoreWindowEventArgs { const NAME: &'static str = "Windows.UI.Core.CoreWindowEventArgs"; } -::windows::core::interface_hierarchy!(CoreWindowEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreWindowEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: CoreWindowEventArgs) -> ::windows::core::Result { @@ -4960,7 +4960,7 @@ impl CoreWindowFlyout { } #[doc(hidden)] pub fn ICoreWindowFlyoutFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4976,7 +4976,7 @@ impl ::core::fmt::Debug for CoreWindowFlyout { } } impl ::windows::core::RuntimeType for CoreWindowFlyout { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowFlyout;{e89d854d-2050-40bb-b344-f6f355eeb314})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowFlyout;{e89d854d-2050-40bb-b344-f6f355eeb314})"); } impl ::core::clone::Clone for CoreWindowFlyout { fn clone(&self) -> Self { @@ -4992,7 +4992,7 @@ unsafe impl ::windows::core::Interface for CoreWindowFlyout { impl ::windows::core::RuntimeName for CoreWindowFlyout { const NAME: &'static str = "Windows.UI.Core.CoreWindowFlyout"; } -::windows::core::interface_hierarchy!(CoreWindowFlyout, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreWindowFlyout, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] pub struct CoreWindowPopupShowingEventArgs(::windows::core::IUnknown); @@ -5016,7 +5016,7 @@ impl ::core::fmt::Debug for CoreWindowPopupShowingEventArgs { } } impl ::windows::core::RuntimeType for CoreWindowPopupShowingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowPopupShowingEventArgs;{26155fa2-5ba5-4ea4-a3b4-2dc7d63c8e26})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowPopupShowingEventArgs;{26155fa2-5ba5-4ea4-a3b4-2dc7d63c8e26})"); } impl ::core::clone::Clone for CoreWindowPopupShowingEventArgs { fn clone(&self) -> Self { @@ -5032,7 +5032,7 @@ unsafe impl ::windows::core::Interface for CoreWindowPopupShowingEventArgs { impl ::windows::core::RuntimeName for CoreWindowPopupShowingEventArgs { const NAME: &'static str = "Windows.UI.Core.CoreWindowPopupShowingEventArgs"; } -::windows::core::interface_hierarchy!(CoreWindowPopupShowingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreWindowPopupShowingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] pub struct CoreWindowResizeManager(::windows::core::IUnknown); @@ -5060,7 +5060,7 @@ impl CoreWindowResizeManager { } #[doc(hidden)] pub fn ICoreWindowResizeManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5076,7 +5076,7 @@ impl ::core::fmt::Debug for CoreWindowResizeManager { } } impl ::windows::core::RuntimeType for CoreWindowResizeManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowResizeManager;{b8f0b925-b350-48b3-a198-5c1a84700243})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowResizeManager;{b8f0b925-b350-48b3-a198-5c1a84700243})"); } impl ::core::clone::Clone for CoreWindowResizeManager { fn clone(&self) -> Self { @@ -5092,7 +5092,7 @@ unsafe impl ::windows::core::Interface for CoreWindowResizeManager { impl ::windows::core::RuntimeName for CoreWindowResizeManager { const NAME: &'static str = "Windows.UI.Core.CoreWindowResizeManager"; } -::windows::core::interface_hierarchy!(CoreWindowResizeManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreWindowResizeManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreWindowResizeManager {} unsafe impl ::core::marker::Sync for CoreWindowResizeManager {} #[doc = "*Required features: `\"UI_Core\"`*"] @@ -5119,7 +5119,7 @@ impl ::core::fmt::Debug for IdleDispatchedHandlerArgs { } } impl ::windows::core::RuntimeType for IdleDispatchedHandlerArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.IdleDispatchedHandlerArgs;{98bb6a24-dc1c-43cb-b4ed-d1c0eb2391f3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.IdleDispatchedHandlerArgs;{98bb6a24-dc1c-43cb-b4ed-d1c0eb2391f3})"); } impl ::core::clone::Clone for IdleDispatchedHandlerArgs { fn clone(&self) -> Self { @@ -5135,7 +5135,7 @@ unsafe impl ::windows::core::Interface for IdleDispatchedHandlerArgs { impl ::windows::core::RuntimeName for IdleDispatchedHandlerArgs { const NAME: &'static str = "Windows.UI.Core.IdleDispatchedHandlerArgs"; } -::windows::core::interface_hierarchy!(IdleDispatchedHandlerArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IdleDispatchedHandlerArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] pub struct InputEnabledEventArgs(::windows::core::IUnknown); @@ -5171,7 +5171,7 @@ impl ::core::fmt::Debug for InputEnabledEventArgs { } } impl ::windows::core::RuntimeType for InputEnabledEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.InputEnabledEventArgs;{80371d4f-2fd8-4c24-aa86-3163a87b4e5a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.InputEnabledEventArgs;{80371d4f-2fd8-4c24-aa86-3163a87b4e5a})"); } impl ::core::clone::Clone for InputEnabledEventArgs { fn clone(&self) -> Self { @@ -5187,7 +5187,7 @@ unsafe impl ::windows::core::Interface for InputEnabledEventArgs { impl ::windows::core::RuntimeName for InputEnabledEventArgs { const NAME: &'static str = "Windows.UI.Core.InputEnabledEventArgs"; } -::windows::core::interface_hierarchy!(InputEnabledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InputEnabledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: InputEnabledEventArgs) -> ::windows::core::Result { @@ -5258,7 +5258,7 @@ impl ::core::fmt::Debug for KeyEventArgs { } } impl ::windows::core::RuntimeType for KeyEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.KeyEventArgs;{5ff5e930-2544-4a17-bd78-1f2fdebb106b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.KeyEventArgs;{5ff5e930-2544-4a17-bd78-1f2fdebb106b})"); } impl ::core::clone::Clone for KeyEventArgs { fn clone(&self) -> Self { @@ -5274,7 +5274,7 @@ unsafe impl ::windows::core::Interface for KeyEventArgs { impl ::windows::core::RuntimeName for KeyEventArgs { const NAME: &'static str = "Windows.UI.Core.KeyEventArgs"; } -::windows::core::interface_hierarchy!(KeyEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: KeyEventArgs) -> ::windows::core::Result { @@ -5349,7 +5349,7 @@ impl ::core::fmt::Debug for PointerEventArgs { } } impl ::windows::core::RuntimeType for PointerEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.PointerEventArgs;{920d9cb1-a5fc-4a21-8c09-49dfe6ffe25f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.PointerEventArgs;{920d9cb1-a5fc-4a21-8c09-49dfe6ffe25f})"); } impl ::core::clone::Clone for PointerEventArgs { fn clone(&self) -> Self { @@ -5365,7 +5365,7 @@ unsafe impl ::windows::core::Interface for PointerEventArgs { impl ::windows::core::RuntimeName for PointerEventArgs { const NAME: &'static str = "Windows.UI.Core.PointerEventArgs"; } -::windows::core::interface_hierarchy!(PointerEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PointerEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: PointerEventArgs) -> ::windows::core::Result { @@ -5423,7 +5423,7 @@ impl SystemNavigationManager { } #[doc(hidden)] pub fn ISystemNavigationManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5439,7 +5439,7 @@ impl ::core::fmt::Debug for SystemNavigationManager { } } impl ::windows::core::RuntimeType for SystemNavigationManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.SystemNavigationManager;{93023118-cf50-42a6-9706-69107fa122e1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.SystemNavigationManager;{93023118-cf50-42a6-9706-69107fa122e1})"); } impl ::core::clone::Clone for SystemNavigationManager { fn clone(&self) -> Self { @@ -5455,7 +5455,7 @@ unsafe impl ::windows::core::Interface for SystemNavigationManager { impl ::windows::core::RuntimeName for SystemNavigationManager { const NAME: &'static str = "Windows.UI.Core.SystemNavigationManager"; } -::windows::core::interface_hierarchy!(SystemNavigationManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemNavigationManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemNavigationManager {} unsafe impl ::core::marker::Sync for SystemNavigationManager {} #[doc = "*Required features: `\"UI_Core\"`*"] @@ -5537,7 +5537,7 @@ impl ::core::fmt::Debug for TouchHitTestingEventArgs { } } impl ::windows::core::RuntimeType for TouchHitTestingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.TouchHitTestingEventArgs;{22f3b823-0b7c-424e-9df7-33d4f962931b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.TouchHitTestingEventArgs;{22f3b823-0b7c-424e-9df7-33d4f962931b})"); } impl ::core::clone::Clone for TouchHitTestingEventArgs { fn clone(&self) -> Self { @@ -5553,7 +5553,7 @@ unsafe impl ::windows::core::Interface for TouchHitTestingEventArgs { impl ::windows::core::RuntimeName for TouchHitTestingEventArgs { const NAME: &'static str = "Windows.UI.Core.TouchHitTestingEventArgs"; } -::windows::core::interface_hierarchy!(TouchHitTestingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TouchHitTestingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: TouchHitTestingEventArgs) -> ::windows::core::Result { @@ -5608,7 +5608,7 @@ impl ::core::fmt::Debug for VisibilityChangedEventArgs { } } impl ::windows::core::RuntimeType for VisibilityChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.VisibilityChangedEventArgs;{bf9918ea-d801-4564-a495-b1e84f8ad085})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.VisibilityChangedEventArgs;{bf9918ea-d801-4564-a495-b1e84f8ad085})"); } impl ::core::clone::Clone for VisibilityChangedEventArgs { fn clone(&self) -> Self { @@ -5624,7 +5624,7 @@ unsafe impl ::windows::core::Interface for VisibilityChangedEventArgs { impl ::windows::core::RuntimeName for VisibilityChangedEventArgs { const NAME: &'static str = "Windows.UI.Core.VisibilityChangedEventArgs"; } -::windows::core::interface_hierarchy!(VisibilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VisibilityChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: VisibilityChangedEventArgs) -> ::windows::core::Result { @@ -5679,7 +5679,7 @@ impl ::core::fmt::Debug for WindowActivatedEventArgs { } } impl ::windows::core::RuntimeType for WindowActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.WindowActivatedEventArgs;{179d65e7-4658-4cb6-aa13-41d094ea255e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.WindowActivatedEventArgs;{179d65e7-4658-4cb6-aa13-41d094ea255e})"); } impl ::core::clone::Clone for WindowActivatedEventArgs { fn clone(&self) -> Self { @@ -5695,7 +5695,7 @@ unsafe impl ::windows::core::Interface for WindowActivatedEventArgs { impl ::windows::core::RuntimeName for WindowActivatedEventArgs { const NAME: &'static str = "Windows.UI.Core.WindowActivatedEventArgs"; } -::windows::core::interface_hierarchy!(WindowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: WindowActivatedEventArgs) -> ::windows::core::Result { @@ -5752,7 +5752,7 @@ impl ::core::fmt::Debug for WindowSizeChangedEventArgs { } } impl ::windows::core::RuntimeType for WindowSizeChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Core.WindowSizeChangedEventArgs;{5a200ec7-0426-47dc-b86c-6f475915e451})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.WindowSizeChangedEventArgs;{5a200ec7-0426-47dc-b86c-6f475915e451})"); } impl ::core::clone::Clone for WindowSizeChangedEventArgs { fn clone(&self) -> Self { @@ -5768,7 +5768,7 @@ unsafe impl ::windows::core::Interface for WindowSizeChangedEventArgs { impl ::windows::core::RuntimeName for WindowSizeChangedEventArgs { const NAME: &'static str = "Windows.UI.Core.WindowSizeChangedEventArgs"; } -::windows::core::interface_hierarchy!(WindowSizeChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowSizeChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ICoreWindowEventArgs { type Error = ::windows::core::Error; fn try_from(value: WindowSizeChangedEventArgs) -> ::windows::core::Result { @@ -5817,7 +5817,7 @@ impl ::core::fmt::Debug for AppViewBackButtonVisibility { } } impl ::windows::core::RuntimeType for AppViewBackButtonVisibility { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.AppViewBackButtonVisibility;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.AppViewBackButtonVisibility;i4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -5854,7 +5854,7 @@ impl ::core::fmt::Debug for CoreAcceleratorKeyEventType { } } impl ::windows::core::RuntimeType for CoreAcceleratorKeyEventType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreAcceleratorKeyEventType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreAcceleratorKeyEventType;i4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -5898,7 +5898,7 @@ impl ::core::fmt::Debug for CoreCursorType { } } impl ::windows::core::RuntimeType for CoreCursorType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreCursorType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreCursorType;i4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -5930,7 +5930,7 @@ impl ::core::fmt::Debug for CoreDispatcherPriority { } } impl ::windows::core::RuntimeType for CoreDispatcherPriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreDispatcherPriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreDispatcherPriority;i4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -5997,7 +5997,7 @@ impl ::core::ops::Not for CoreIndependentInputFilters { } } impl ::windows::core::RuntimeType for CoreIndependentInputFilters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreIndependentInputFilters;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreIndependentInputFilters;u4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -6062,7 +6062,7 @@ impl ::core::ops::Not for CoreInputDeviceTypes { } } impl ::windows::core::RuntimeType for CoreInputDeviceTypes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreInputDeviceTypes;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreInputDeviceTypes;u4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -6094,7 +6094,7 @@ impl ::core::fmt::Debug for CoreProcessEventsOption { } } impl ::windows::core::RuntimeType for CoreProcessEventsOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreProcessEventsOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreProcessEventsOption;i4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -6124,7 +6124,7 @@ impl ::core::fmt::Debug for CoreProximityEvaluationScore { } } impl ::windows::core::RuntimeType for CoreProximityEvaluationScore { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreProximityEvaluationScore;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreProximityEvaluationScore;i4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -6188,7 +6188,7 @@ impl ::core::ops::Not for CoreVirtualKeyStates { } } impl ::windows::core::RuntimeType for CoreVirtualKeyStates { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreVirtualKeyStates;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreVirtualKeyStates;u4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -6220,7 +6220,7 @@ impl ::core::fmt::Debug for CoreWindowActivationMode { } } impl ::windows::core::RuntimeType for CoreWindowActivationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreWindowActivationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreWindowActivationMode;i4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -6251,7 +6251,7 @@ impl ::core::fmt::Debug for CoreWindowActivationState { } } impl ::windows::core::RuntimeType for CoreWindowActivationState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreWindowActivationState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreWindowActivationState;i4)"); } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] @@ -6281,7 +6281,7 @@ impl ::core::fmt::Debug for CoreWindowFlowDirection { } } impl ::windows::core::RuntimeType for CoreWindowFlowDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreWindowFlowDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Core.CoreWindowFlowDirection;i4)"); } #[repr(C)] #[doc = "*Required features: `\"UI_Core\"`*"] @@ -6308,7 +6308,7 @@ impl ::windows::core::TypeKind for CorePhysicalKeyStatus { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for CorePhysicalKeyStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Core.CorePhysicalKeyStatus;u4;u4;b1;b1;b1;b1)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Core.CorePhysicalKeyStatus;u4;u4;b1;b1;b1;b1)"); } impl ::core::cmp::PartialEq for CorePhysicalKeyStatus { fn eq(&self, other: &Self) -> bool { @@ -6348,7 +6348,7 @@ impl ::windows::core::TypeKind for CoreProximityEvaluation { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for CoreProximityEvaluation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Core.CoreProximityEvaluation;i4;struct(Windows.Foundation.Point;f4;f4))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Core.CoreProximityEvaluation;i4;struct(Windows.Foundation.Point;f4;f4))"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for CoreProximityEvaluation { @@ -6369,8 +6369,8 @@ impl ::core::default::Default for CoreProximityEvaluation { pub struct DispatchedHandler(pub ::windows::core::IUnknown); impl DispatchedHandler { pub fn new ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = DispatchedHandlerBox:: { vtable: &DispatchedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = DispatchedHandlerBox:: { vtable: &DispatchedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self) -> ::windows::core::Result<()> { let this = self; @@ -6381,7 +6381,7 @@ impl DispatchedHandler { struct DispatchedHandlerBox ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const DispatchedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl ::windows::core::Result<()> + ::core::marker::Send + 'static> DispatchedHandlerBox { const VTABLE: DispatchedHandler_Vtbl = DispatchedHandler_Vtbl { @@ -6390,7 +6390,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -6406,7 +6406,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -6438,7 +6438,7 @@ unsafe impl ::windows::core::Interface for DispatchedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd1f276c4_98d8_4636_bf49_eb79507548e9); } impl ::windows::core::RuntimeType for DispatchedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d1f276c4-98d8-4636-bf49-eb79507548e9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d1f276c4-98d8-4636-bf49-eb79507548e9}"); } #[repr(C)] #[doc(hidden)] @@ -6451,8 +6451,8 @@ pub struct DispatchedHandler_Vtbl { pub struct IdleDispatchedHandler(pub ::windows::core::IUnknown); impl IdleDispatchedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = IdleDispatchedHandlerBox:: { vtable: &IdleDispatchedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = IdleDispatchedHandlerBox:: { vtable: &IdleDispatchedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, e: &IdleDispatchedHandlerArgs) -> ::windows::core::Result<()> { let this = self; @@ -6463,7 +6463,7 @@ impl IdleDispatchedHandler { struct IdleDispatchedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const IdleDispatchedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> IdleDispatchedHandlerBox { const VTABLE: IdleDispatchedHandler_Vtbl = IdleDispatchedHandler_Vtbl { @@ -6472,7 +6472,7 @@ impl) -> ::windows:: }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -6488,7 +6488,7 @@ impl) -> ::windows:: let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -6520,7 +6520,7 @@ unsafe impl ::windows::core::Interface for IdleDispatchedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa42b0c24_7f21_4abc_99c1_8f01007f0880); } impl ::windows::core::RuntimeType for IdleDispatchedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a42b0c24-7f21-4abc-99c1-8f01007f0880}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a42b0c24-7f21-4abc-99c1-8f01007f0880}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs index 775dc93ec4..7b13f0a32a 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs @@ -107,7 +107,7 @@ impl RadialControllerIndependentInputSource { } #[doc(hidden)] pub fn IRadialControllerIndependentInputSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -123,7 +123,7 @@ impl ::core::fmt::Debug for RadialControllerIndependentInputSource { } } impl ::windows::core::RuntimeType for RadialControllerIndependentInputSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Core.RadialControllerIndependentInputSource;{3d577ef6-4cee-11e6-b535-001bdc06ab3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Core.RadialControllerIndependentInputSource;{3d577ef6-4cee-11e6-b535-001bdc06ab3b})"); } impl ::core::clone::Clone for RadialControllerIndependentInputSource { fn clone(&self) -> Self { @@ -139,7 +139,7 @@ unsafe impl ::windows::core::Interface for RadialControllerIndependentInputSourc impl ::windows::core::RuntimeName for RadialControllerIndependentInputSource { const NAME: &'static str = "Windows.UI.Input.Core.RadialControllerIndependentInputSource"; } -::windows::core::interface_hierarchy!(RadialControllerIndependentInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerIndependentInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerIndependentInputSource {} unsafe impl ::core::marker::Sync for RadialControllerIndependentInputSource {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs index fcb0e7625d..8c6c7a5d85 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs @@ -173,7 +173,7 @@ impl IInkAnalysisNode { } } } -::windows::core::interface_hierarchy!(IInkAnalysisNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInkAnalysisNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInkAnalysisNode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -186,7 +186,7 @@ impl ::core::fmt::Debug for IInkAnalysisNode { } } impl ::windows::core::RuntimeType for IInkAnalysisNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{30831f05-5f64-4a2c-ba37-4f4887879574}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{30831f05-5f64-4a2c-ba37-4f4887879574}"); } unsafe impl ::windows::core::Vtable for IInkAnalysisNode { type Vtable = IInkAnalysisNode_Vtbl; @@ -357,7 +357,7 @@ impl IInkAnalyzerFactory { } } } -::windows::core::interface_hierarchy!(IInkAnalyzerFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInkAnalyzerFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInkAnalyzerFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -370,7 +370,7 @@ impl ::core::fmt::Debug for IInkAnalyzerFactory { } } impl ::windows::core::RuntimeType for IInkAnalyzerFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{29138686-1963-49d8-9589-e14384c769e3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{29138686-1963-49d8-9589-e14384c769e3}"); } unsafe impl ::windows::core::Vtable for IInkAnalyzerFactory { type Vtable = IInkAnalyzerFactory_Vtbl; @@ -470,7 +470,7 @@ impl ::core::fmt::Debug for InkAnalysisInkBullet { } } impl ::windows::core::RuntimeType for InkAnalysisInkBullet { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet;{ee049368-6110-4136-95f9-ee809fc20030})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet;{ee049368-6110-4136-95f9-ee809fc20030})"); } impl ::core::clone::Clone for InkAnalysisInkBullet { fn clone(&self) -> Self { @@ -486,7 +486,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisInkBullet { impl ::windows::core::RuntimeName for InkAnalysisInkBullet { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet"; } -::windows::core::interface_hierarchy!(InkAnalysisInkBullet, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisInkBullet, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisInkBullet) -> ::windows::core::Result { @@ -607,7 +607,7 @@ impl ::core::fmt::Debug for InkAnalysisInkDrawing { } } impl ::windows::core::RuntimeType for InkAnalysisInkDrawing { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing;{6a85ed1f-1fe4-4e15-898c-8e112377e021})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing;{6a85ed1f-1fe4-4e15-898c-8e112377e021})"); } impl ::core::clone::Clone for InkAnalysisInkDrawing { fn clone(&self) -> Self { @@ -623,7 +623,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisInkDrawing { impl ::windows::core::RuntimeName for InkAnalysisInkDrawing { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing"; } -::windows::core::interface_hierarchy!(InkAnalysisInkDrawing, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisInkDrawing, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisInkDrawing) -> ::windows::core::Result { @@ -735,7 +735,7 @@ impl ::core::fmt::Debug for InkAnalysisInkWord { } } impl ::windows::core::RuntimeType for InkAnalysisInkWord { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord;{4bd228ad-83af-4034-8f3b-f8687dfff436})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord;{4bd228ad-83af-4034-8f3b-f8687dfff436})"); } impl ::core::clone::Clone for InkAnalysisInkWord { fn clone(&self) -> Self { @@ -751,7 +751,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisInkWord { impl ::windows::core::RuntimeName for InkAnalysisInkWord { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord"; } -::windows::core::interface_hierarchy!(InkAnalysisInkWord, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisInkWord, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisInkWord) -> ::windows::core::Result { @@ -861,7 +861,7 @@ impl ::core::fmt::Debug for InkAnalysisLine { } } impl ::windows::core::RuntimeType for InkAnalysisLine { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisLine;{a06d048d-2b8d-4754-ad5a-d0871193a956})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisLine;{a06d048d-2b8d-4754-ad5a-d0871193a956})"); } impl ::core::clone::Clone for InkAnalysisLine { fn clone(&self) -> Self { @@ -877,7 +877,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisLine { impl ::windows::core::RuntimeName for InkAnalysisLine { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisLine"; } -::windows::core::interface_hierarchy!(InkAnalysisLine, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisLine, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisLine) -> ::windows::core::Result { @@ -980,7 +980,7 @@ impl ::core::fmt::Debug for InkAnalysisListItem { } } impl ::windows::core::RuntimeType for InkAnalysisListItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisListItem;{b4e3c23f-c4c3-4c3a-a1a6-9d85547ee586})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisListItem;{b4e3c23f-c4c3-4c3a-a1a6-9d85547ee586})"); } impl ::core::clone::Clone for InkAnalysisListItem { fn clone(&self) -> Self { @@ -996,7 +996,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisListItem { impl ::windows::core::RuntimeName for InkAnalysisListItem { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisListItem"; } -::windows::core::interface_hierarchy!(InkAnalysisListItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisListItem, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisListItem) -> ::windows::core::Result { @@ -1092,7 +1092,7 @@ impl ::core::fmt::Debug for InkAnalysisNode { } } impl ::windows::core::RuntimeType for InkAnalysisNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisNode;{30831f05-5f64-4a2c-ba37-4f4887879574})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisNode;{30831f05-5f64-4a2c-ba37-4f4887879574})"); } impl ::core::clone::Clone for InkAnalysisNode { fn clone(&self) -> Self { @@ -1108,7 +1108,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisNode { impl ::windows::core::RuntimeName for InkAnalysisNode { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisNode"; } -::windows::core::interface_hierarchy!(InkAnalysisNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisNode) -> ::windows::core::Result { @@ -1211,7 +1211,7 @@ impl ::core::fmt::Debug for InkAnalysisParagraph { } } impl ::windows::core::RuntimeType for InkAnalysisParagraph { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph;{d9ad045c-0cd1-4dd4-a68b-eb1f12b3d727})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph;{d9ad045c-0cd1-4dd4-a68b-eb1f12b3d727})"); } impl ::core::clone::Clone for InkAnalysisParagraph { fn clone(&self) -> Self { @@ -1227,7 +1227,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisParagraph { impl ::windows::core::RuntimeName for InkAnalysisParagraph { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph"; } -::windows::core::interface_hierarchy!(InkAnalysisParagraph, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisParagraph, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisParagraph) -> ::windows::core::Result { @@ -1273,7 +1273,7 @@ impl ::core::fmt::Debug for InkAnalysisResult { } } impl ::windows::core::RuntimeType for InkAnalysisResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisResult;{8948ba79-a243-4aa3-a294-1f98bd0ff580})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisResult;{8948ba79-a243-4aa3-a294-1f98bd0ff580})"); } impl ::core::clone::Clone for InkAnalysisResult { fn clone(&self) -> Self { @@ -1289,7 +1289,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisResult { impl ::windows::core::RuntimeName for InkAnalysisResult { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisResult"; } -::windows::core::interface_hierarchy!(InkAnalysisResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkAnalysisResult {} unsafe impl ::core::marker::Sync for InkAnalysisResult {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] @@ -1382,7 +1382,7 @@ impl ::core::fmt::Debug for InkAnalysisRoot { } } impl ::windows::core::RuntimeType for InkAnalysisRoot { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisRoot;{3fb6a3c4-2fde-4061-8502-a90f32545b84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisRoot;{3fb6a3c4-2fde-4061-8502-a90f32545b84})"); } impl ::core::clone::Clone for InkAnalysisRoot { fn clone(&self) -> Self { @@ -1398,7 +1398,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisRoot { impl ::windows::core::RuntimeName for InkAnalysisRoot { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisRoot"; } -::windows::core::interface_hierarchy!(InkAnalysisRoot, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisRoot, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisRoot) -> ::windows::core::Result { @@ -1501,7 +1501,7 @@ impl ::core::fmt::Debug for InkAnalysisWritingRegion { } } impl ::windows::core::RuntimeType for InkAnalysisWritingRegion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion;{dd6d6231-bd16-4663-b5ae-941d3043ef5b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion;{dd6d6231-bd16-4663-b5ae-941d3043ef5b})"); } impl ::core::clone::Clone for InkAnalysisWritingRegion { fn clone(&self) -> Self { @@ -1517,7 +1517,7 @@ unsafe impl ::windows::core::Interface for InkAnalysisWritingRegion { impl ::windows::core::RuntimeName for InkAnalysisWritingRegion { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion"; } -::windows::core::interface_hierarchy!(InkAnalysisWritingRegion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalysisWritingRegion, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkAnalysisNode { type Error = ::windows::core::Error; fn try_from(value: InkAnalysisWritingRegion) -> ::windows::core::Result { @@ -1546,8 +1546,8 @@ impl InkAnalyzer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn AnalysisRoot(&self) -> ::windows::core::Result { @@ -1626,7 +1626,7 @@ impl ::core::fmt::Debug for InkAnalyzer { } } impl ::windows::core::RuntimeType for InkAnalyzer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalyzer;{f12b8f95-0866-4dc5-8c77-f88614dfe38c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalyzer;{f12b8f95-0866-4dc5-8c77-f88614dfe38c})"); } impl ::core::clone::Clone for InkAnalyzer { fn clone(&self) -> Self { @@ -1642,7 +1642,7 @@ unsafe impl ::windows::core::Interface for InkAnalyzer { impl ::windows::core::RuntimeName for InkAnalyzer { const NAME: &'static str = "Windows.UI.Input.Inking.Analysis.InkAnalyzer"; } -::windows::core::interface_hierarchy!(InkAnalyzer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkAnalyzer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkAnalyzer {} unsafe impl ::core::marker::Sync for InkAnalyzer {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] @@ -1686,7 +1686,7 @@ impl ::core::fmt::Debug for InkAnalysisDrawingKind { } } impl ::windows::core::RuntimeType for InkAnalysisDrawingKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Analysis.InkAnalysisDrawingKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Analysis.InkAnalysisDrawingKind;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] @@ -1723,7 +1723,7 @@ impl ::core::fmt::Debug for InkAnalysisNodeKind { } } impl ::windows::core::RuntimeType for InkAnalysisNodeKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Analysis.InkAnalysisNodeKind;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] @@ -1753,7 +1753,7 @@ impl ::core::fmt::Debug for InkAnalysisStatus { } } impl ::windows::core::RuntimeType for InkAnalysisStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Analysis.InkAnalysisStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Analysis.InkAnalysisStatus;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] @@ -1784,7 +1784,7 @@ impl ::core::fmt::Debug for InkAnalysisStrokeKind { } } impl ::windows::core::RuntimeType for InkAnalysisStrokeKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Analysis.InkAnalysisStrokeKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Analysis.InkAnalysisStrokeKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs index 16e5f078b3..4be029c066 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs @@ -370,7 +370,7 @@ impl CoreIncrementalInkStroke { } #[doc(hidden)] pub fn ICoreIncrementalInkStrokeFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -386,7 +386,7 @@ impl ::core::fmt::Debug for CoreIncrementalInkStroke { } } impl ::windows::core::RuntimeType for CoreIncrementalInkStroke { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke;{fda015d3-9d66-4f7d-a57f-cc70b9cfaa76})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke;{fda015d3-9d66-4f7d-a57f-cc70b9cfaa76})"); } impl ::core::clone::Clone for CoreIncrementalInkStroke { fn clone(&self) -> Self { @@ -402,7 +402,7 @@ unsafe impl ::windows::core::Interface for CoreIncrementalInkStroke { impl ::windows::core::RuntimeName for CoreIncrementalInkStroke { const NAME: &'static str = "Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke"; } -::windows::core::interface_hierarchy!(CoreIncrementalInkStroke, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreIncrementalInkStroke, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreIncrementalInkStroke {} unsafe impl ::core::marker::Sync for CoreIncrementalInkStroke {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] @@ -544,7 +544,7 @@ impl CoreInkIndependentInputSource { } #[doc(hidden)] pub fn ICoreInkIndependentInputSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -560,7 +560,7 @@ impl ::core::fmt::Debug for CoreInkIndependentInputSource { } } impl ::windows::core::RuntimeType for CoreInkIndependentInputSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource;{39b38da9-7639-4499-a5b5-191d00e35b16})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource;{39b38da9-7639-4499-a5b5-191d00e35b16})"); } impl ::core::clone::Clone for CoreInkIndependentInputSource { fn clone(&self) -> Self { @@ -576,7 +576,7 @@ unsafe impl ::windows::core::Interface for CoreInkIndependentInputSource { impl ::windows::core::RuntimeName for CoreInkIndependentInputSource { const NAME: &'static str = "Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource"; } -::windows::core::interface_hierarchy!(CoreInkIndependentInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInkIndependentInputSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInkIndependentInputSource {} unsafe impl ::core::marker::Sync for CoreInkIndependentInputSource {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] @@ -586,8 +586,8 @@ impl CoreInkPresenterHost { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn InkPresenter(&self) -> ::windows::core::Result { @@ -628,7 +628,7 @@ impl ::core::fmt::Debug for CoreInkPresenterHost { } } impl ::windows::core::RuntimeType for CoreInkPresenterHost { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreInkPresenterHost;{396e89e6-7d55-4617-9e58-68c70c9169b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreInkPresenterHost;{396e89e6-7d55-4617-9e58-68c70c9169b9})"); } impl ::core::clone::Clone for CoreInkPresenterHost { fn clone(&self) -> Self { @@ -644,7 +644,7 @@ unsafe impl ::windows::core::Interface for CoreInkPresenterHost { impl ::windows::core::RuntimeName for CoreInkPresenterHost { const NAME: &'static str = "Windows.UI.Input.Inking.Core.CoreInkPresenterHost"; } -::windows::core::interface_hierarchy!(CoreInkPresenterHost, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInkPresenterHost, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInkPresenterHost {} unsafe impl ::core::marker::Sync for CoreInkPresenterHost {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] @@ -691,7 +691,7 @@ impl ::core::fmt::Debug for CoreWetStrokeUpdateEventArgs { } } impl ::windows::core::RuntimeType for CoreWetStrokeUpdateEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateEventArgs;{fb07d14c-3380-457a-a987-991357896c1b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateEventArgs;{fb07d14c-3380-457a-a987-991357896c1b})"); } impl ::core::clone::Clone for CoreWetStrokeUpdateEventArgs { fn clone(&self) -> Self { @@ -707,7 +707,7 @@ unsafe impl ::windows::core::Interface for CoreWetStrokeUpdateEventArgs { impl ::windows::core::RuntimeName for CoreWetStrokeUpdateEventArgs { const NAME: &'static str = "Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateEventArgs"; } -::windows::core::interface_hierarchy!(CoreWetStrokeUpdateEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreWetStrokeUpdateEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreWetStrokeUpdateEventArgs {} unsafe impl ::core::marker::Sync for CoreWetStrokeUpdateEventArgs {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] @@ -804,7 +804,7 @@ impl CoreWetStrokeUpdateSource { } #[doc(hidden)] pub fn ICoreWetStrokeUpdateSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -820,7 +820,7 @@ impl ::core::fmt::Debug for CoreWetStrokeUpdateSource { } } impl ::windows::core::RuntimeType for CoreWetStrokeUpdateSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource;{1f718e22-ee52-4e00-8209-4c3e5b21a3cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource;{1f718e22-ee52-4e00-8209-4c3e5b21a3cc})"); } impl ::core::clone::Clone for CoreWetStrokeUpdateSource { fn clone(&self) -> Self { @@ -836,7 +836,7 @@ unsafe impl ::windows::core::Interface for CoreWetStrokeUpdateSource { impl ::windows::core::RuntimeName for CoreWetStrokeUpdateSource { const NAME: &'static str = "Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource"; } -::windows::core::interface_hierarchy!(CoreWetStrokeUpdateSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreWetStrokeUpdateSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreWetStrokeUpdateSource {} unsafe impl ::core::marker::Sync for CoreWetStrokeUpdateSource {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] @@ -868,7 +868,7 @@ impl ::core::fmt::Debug for CoreWetStrokeDisposition { } } impl ::windows::core::RuntimeType for CoreWetStrokeDisposition { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Core.CoreWetStrokeDisposition;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.Core.CoreWetStrokeDisposition;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs index 85c092ca96..5add7dc6d1 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs @@ -79,7 +79,7 @@ impl PalmRejectionDelayZonePreview { } #[doc(hidden)] pub fn IPalmRejectionDelayZonePreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -95,7 +95,7 @@ impl ::core::fmt::Debug for PalmRejectionDelayZonePreview { } } impl ::windows::core::RuntimeType for PalmRejectionDelayZonePreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Preview.PalmRejectionDelayZonePreview;{62b496cb-539d-5343-a65f-41f5300ec70c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Preview.PalmRejectionDelayZonePreview;{62b496cb-539d-5343-a65f-41f5300ec70c})"); } impl ::core::clone::Clone for PalmRejectionDelayZonePreview { fn clone(&self) -> Self { @@ -111,7 +111,7 @@ unsafe impl ::windows::core::Interface for PalmRejectionDelayZonePreview { impl ::windows::core::RuntimeName for PalmRejectionDelayZonePreview { const NAME: &'static str = "Windows.UI.Input.Inking.Preview.PalmRejectionDelayZonePreview"; } -::windows::core::interface_hierarchy!(PalmRejectionDelayZonePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PalmRejectionDelayZonePreview, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs index 8573e4c976..5bf1c86520 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -380,7 +380,7 @@ impl IInkPointFactory { } } } -::windows::core::interface_hierarchy!(IInkPointFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInkPointFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInkPointFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -393,7 +393,7 @@ impl ::core::fmt::Debug for IInkPointFactory { } } impl ::windows::core::RuntimeType for IInkPointFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{29e5d51c-c98f-405d-9f3b-e53e31068d4d}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{29e5d51c-c98f-405d-9f3b-e53e31068d4d}"); } unsafe impl ::windows::core::Vtable for IInkPointFactory { type Vtable = IInkPointFactory_Vtbl; @@ -644,7 +644,7 @@ impl IInkPresenterRulerFactory { } } } -::windows::core::interface_hierarchy!(IInkPresenterRulerFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInkPresenterRulerFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInkPresenterRulerFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -657,7 +657,7 @@ impl ::core::fmt::Debug for IInkPresenterRulerFactory { } } impl ::windows::core::RuntimeType for IInkPresenterRulerFactory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{34361beb-9001-4a4b-a690-69dbaf63e501}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{34361beb-9001-4a4b-a690-69dbaf63e501}"); } unsafe impl ::windows::core::Vtable for IInkPresenterRulerFactory { type Vtable = IInkPresenterRulerFactory_Vtbl; @@ -736,7 +736,7 @@ impl IInkPresenterStencil { unsafe { (::windows::core::Vtable::vtable(this).SetTransform)(::windows::core::Vtable::as_raw(this), value).ok() } } } -::windows::core::interface_hierarchy!(IInkPresenterStencil, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInkPresenterStencil, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInkPresenterStencil { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -749,7 +749,7 @@ impl ::core::fmt::Debug for IInkPresenterStencil { } } impl ::windows::core::RuntimeType for IInkPresenterStencil { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{30d12d6d-3e06-4d02-b116-277fb5d8addc}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{30d12d6d-3e06-4d02-b116-277fb5d8addc}"); } unsafe impl ::windows::core::Vtable for IInkPresenterStencil { type Vtable = IInkPresenterStencil_Vtbl; @@ -860,7 +860,7 @@ impl IInkRecognizerContainer { } } } -::windows::core::interface_hierarchy!(IInkRecognizerContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInkRecognizerContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInkRecognizerContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -873,7 +873,7 @@ impl ::core::fmt::Debug for IInkRecognizerContainer { } } impl ::windows::core::RuntimeType for IInkRecognizerContainer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a74d9a31-8047-4698-a912-f82a5085012f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a74d9a31-8047-4698-a912-f82a5085012f}"); } unsafe impl ::windows::core::Vtable for IInkRecognizerContainer { type Vtable = IInkRecognizerContainer_Vtbl; @@ -1225,7 +1225,7 @@ impl IInkStrokeContainer { } } } -::windows::core::interface_hierarchy!(IInkStrokeContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInkStrokeContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInkStrokeContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1238,7 +1238,7 @@ impl ::core::fmt::Debug for IInkStrokeContainer { } } impl ::windows::core::RuntimeType for IInkStrokeContainer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{22accbc6-faa9-4f14-b68c-f6cee670ae16}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{22accbc6-faa9-4f14-b68c-f6cee670ae16}"); } unsafe impl ::windows::core::Vtable for IInkStrokeContainer { type Vtable = IInkStrokeContainer_Vtbl; @@ -1656,8 +1656,8 @@ impl InkDrawingAttributes { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Color(&self) -> ::windows::core::Result { @@ -1785,7 +1785,7 @@ impl InkDrawingAttributes { } #[doc(hidden)] pub fn IInkDrawingAttributesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1801,7 +1801,7 @@ impl ::core::fmt::Debug for InkDrawingAttributes { } } impl ::windows::core::RuntimeType for InkDrawingAttributes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkDrawingAttributes;{97a2176c-6774-48ad-84f0-48f5a9be74f9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkDrawingAttributes;{97a2176c-6774-48ad-84f0-48f5a9be74f9})"); } impl ::core::clone::Clone for InkDrawingAttributes { fn clone(&self) -> Self { @@ -1817,7 +1817,7 @@ unsafe impl ::windows::core::Interface for InkDrawingAttributes { impl ::windows::core::RuntimeName for InkDrawingAttributes { const NAME: &'static str = "Windows.UI.Input.Inking.InkDrawingAttributes"; } -::windows::core::interface_hierarchy!(InkDrawingAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkDrawingAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkDrawingAttributes {} unsafe impl ::core::marker::Sync for InkDrawingAttributes {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -1848,7 +1848,7 @@ impl ::core::fmt::Debug for InkDrawingAttributesPencilProperties { } } impl ::windows::core::RuntimeType for InkDrawingAttributesPencilProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties;{4f2534cb-2d86-41bb-b0e8-e4c2a0253c52})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties;{4f2534cb-2d86-41bb-b0e8-e4c2a0253c52})"); } impl ::core::clone::Clone for InkDrawingAttributesPencilProperties { fn clone(&self) -> Self { @@ -1864,7 +1864,7 @@ unsafe impl ::windows::core::Interface for InkDrawingAttributesPencilProperties impl ::windows::core::RuntimeName for InkDrawingAttributesPencilProperties { const NAME: &'static str = "Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties"; } -::windows::core::interface_hierarchy!(InkDrawingAttributesPencilProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkDrawingAttributesPencilProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkDrawingAttributesPencilProperties {} unsafe impl ::core::marker::Sync for InkDrawingAttributesPencilProperties {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -1917,7 +1917,7 @@ impl ::core::fmt::Debug for InkInputConfiguration { } } impl ::windows::core::RuntimeType for InkInputConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkInputConfiguration;{93a68dc4-0b7b-49d7-b34f-9901e524dcf2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkInputConfiguration;{93a68dc4-0b7b-49d7-b34f-9901e524dcf2})"); } impl ::core::clone::Clone for InkInputConfiguration { fn clone(&self) -> Self { @@ -1933,7 +1933,7 @@ unsafe impl ::windows::core::Interface for InkInputConfiguration { impl ::windows::core::RuntimeName for InkInputConfiguration { const NAME: &'static str = "Windows.UI.Input.Inking.InkInputConfiguration"; } -::windows::core::interface_hierarchy!(InkInputConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkInputConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkInputConfiguration {} unsafe impl ::core::marker::Sync for InkInputConfiguration {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -1975,7 +1975,7 @@ impl ::core::fmt::Debug for InkInputProcessingConfiguration { } } impl ::windows::core::RuntimeType for InkInputProcessingConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkInputProcessingConfiguration;{2778d85e-33ca-4b06-a6d3-ac3945116d37})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkInputProcessingConfiguration;{2778d85e-33ca-4b06-a6d3-ac3945116d37})"); } impl ::core::clone::Clone for InkInputProcessingConfiguration { fn clone(&self) -> Self { @@ -1991,7 +1991,7 @@ unsafe impl ::windows::core::Interface for InkInputProcessingConfiguration { impl ::windows::core::RuntimeName for InkInputProcessingConfiguration { const NAME: &'static str = "Windows.UI.Input.Inking.InkInputProcessingConfiguration"; } -::windows::core::interface_hierarchy!(InkInputProcessingConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkInputProcessingConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkInputProcessingConfiguration {} unsafe impl ::core::marker::Sync for InkInputProcessingConfiguration {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -2001,8 +2001,8 @@ impl InkManager { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Mode(&self) -> ::windows::core::Result { @@ -2211,7 +2211,7 @@ impl ::core::fmt::Debug for InkManager { } } impl ::windows::core::RuntimeType for InkManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkManager;{4744737d-671b-4163-9c95-4e8d7a035fe1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkManager;{4744737d-671b-4163-9c95-4e8d7a035fe1})"); } impl ::core::clone::Clone for InkManager { fn clone(&self) -> Self { @@ -2227,7 +2227,7 @@ unsafe impl ::windows::core::Interface for InkManager { impl ::windows::core::RuntimeName for InkManager { const NAME: &'static str = "Windows.UI.Input.Inking.InkManager"; } -::windows::core::interface_hierarchy!(InkManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkManager, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkRecognizerContainer { type Error = ::windows::core::Error; fn try_from(value: InkManager) -> ::windows::core::Result { @@ -2320,7 +2320,7 @@ impl ::core::fmt::Debug for InkModelerAttributes { } } impl ::windows::core::RuntimeType for InkModelerAttributes { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkModelerAttributes;{bad31f27-0cd9-4bfd-b6f3-9e03ba8d7454})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkModelerAttributes;{bad31f27-0cd9-4bfd-b6f3-9e03ba8d7454})"); } impl ::core::clone::Clone for InkModelerAttributes { fn clone(&self) -> Self { @@ -2336,7 +2336,7 @@ unsafe impl ::windows::core::Interface for InkModelerAttributes { impl ::windows::core::RuntimeName for InkModelerAttributes { const NAME: &'static str = "Windows.UI.Input.Inking.InkModelerAttributes"; } -::windows::core::interface_hierarchy!(InkModelerAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkModelerAttributes, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkModelerAttributes {} unsafe impl ::core::marker::Sync for InkModelerAttributes {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -2398,12 +2398,12 @@ impl InkPoint { } #[doc(hidden)] pub fn IInkPointFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInkPointFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2419,7 +2419,7 @@ impl ::core::fmt::Debug for InkPoint { } } impl ::windows::core::RuntimeType for InkPoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPoint;{9f87272b-858c-46a5-9b41-d195970459fd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPoint;{9f87272b-858c-46a5-9b41-d195970459fd})"); } impl ::core::clone::Clone for InkPoint { fn clone(&self) -> Self { @@ -2435,7 +2435,7 @@ unsafe impl ::windows::core::Interface for InkPoint { impl ::windows::core::RuntimeName for InkPoint { const NAME: &'static str = "Windows.UI.Input.Inking.InkPoint"; } -::windows::core::interface_hierarchy!(InkPoint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkPoint, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkPoint {} unsafe impl ::core::marker::Sync for InkPoint {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -2583,7 +2583,7 @@ impl ::core::fmt::Debug for InkPresenter { } } impl ::windows::core::RuntimeType for InkPresenter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenter;{a69b70e2-887b-458f-b173-4fe4438930a3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenter;{a69b70e2-887b-458f-b173-4fe4438930a3})"); } impl ::core::clone::Clone for InkPresenter { fn clone(&self) -> Self { @@ -2599,7 +2599,7 @@ unsafe impl ::windows::core::Interface for InkPresenter { impl ::windows::core::RuntimeName for InkPresenter { const NAME: &'static str = "Windows.UI.Input.Inking.InkPresenter"; } -::windows::core::interface_hierarchy!(InkPresenter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkPresenter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkPresenter {} unsafe impl ::core::marker::Sync for InkPresenter {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -2746,7 +2746,7 @@ impl InkPresenterProtractor { } #[doc(hidden)] pub fn IInkPresenterProtractorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2762,7 +2762,7 @@ impl ::core::fmt::Debug for InkPresenterProtractor { } } impl ::windows::core::RuntimeType for InkPresenterProtractor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenterProtractor;{7de3f2aa-ef6c-4e91-a73b-5b70d56fbd17})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenterProtractor;{7de3f2aa-ef6c-4e91-a73b-5b70d56fbd17})"); } impl ::core::clone::Clone for InkPresenterProtractor { fn clone(&self) -> Self { @@ -2778,7 +2778,7 @@ unsafe impl ::windows::core::Interface for InkPresenterProtractor { impl ::windows::core::RuntimeName for InkPresenterProtractor { const NAME: &'static str = "Windows.UI.Input.Inking.InkPresenterProtractor"; } -::windows::core::interface_hierarchy!(InkPresenterProtractor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkPresenterProtractor, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkPresenterStencil { type Error = ::windows::core::Error; fn try_from(value: InkPresenterProtractor) -> ::windows::core::Result { @@ -2911,7 +2911,7 @@ impl InkPresenterRuler { } #[doc(hidden)] pub fn IInkPresenterRulerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2927,7 +2927,7 @@ impl ::core::fmt::Debug for InkPresenterRuler { } } impl ::windows::core::RuntimeType for InkPresenterRuler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenterRuler;{6cda7d5a-dec7-4dd7-877a-2133f183d48a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenterRuler;{6cda7d5a-dec7-4dd7-877a-2133f183d48a})"); } impl ::core::clone::Clone for InkPresenterRuler { fn clone(&self) -> Self { @@ -2943,7 +2943,7 @@ unsafe impl ::windows::core::Interface for InkPresenterRuler { impl ::windows::core::RuntimeName for InkPresenterRuler { const NAME: &'static str = "Windows.UI.Input.Inking.InkPresenterRuler"; } -::windows::core::interface_hierarchy!(InkPresenterRuler, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkPresenterRuler, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkPresenterStencil { type Error = ::windows::core::Error; fn try_from(value: InkPresenterRuler) -> ::windows::core::Result { @@ -3009,7 +3009,7 @@ impl ::core::fmt::Debug for InkRecognitionResult { } } impl ::windows::core::RuntimeType for InkRecognitionResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognitionResult;{36461a94-5068-40ef-8a05-2c2fb60908a2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognitionResult;{36461a94-5068-40ef-8a05-2c2fb60908a2})"); } impl ::core::clone::Clone for InkRecognitionResult { fn clone(&self) -> Self { @@ -3025,7 +3025,7 @@ unsafe impl ::windows::core::Interface for InkRecognitionResult { impl ::windows::core::RuntimeName for InkRecognitionResult { const NAME: &'static str = "Windows.UI.Input.Inking.InkRecognitionResult"; } -::windows::core::interface_hierarchy!(InkRecognitionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkRecognitionResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkRecognitionResult {} unsafe impl ::core::marker::Sync for InkRecognitionResult {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -3052,7 +3052,7 @@ impl ::core::fmt::Debug for InkRecognizer { } } impl ::windows::core::RuntimeType for InkRecognizer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognizer;{077ccea3-904d-442a-b151-aaca3631c43b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognizer;{077ccea3-904d-442a-b151-aaca3631c43b})"); } impl ::core::clone::Clone for InkRecognizer { fn clone(&self) -> Self { @@ -3068,7 +3068,7 @@ unsafe impl ::windows::core::Interface for InkRecognizer { impl ::windows::core::RuntimeName for InkRecognizer { const NAME: &'static str = "Windows.UI.Input.Inking.InkRecognizer"; } -::windows::core::interface_hierarchy!(InkRecognizer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkRecognizer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] pub struct InkRecognizerContainer(::windows::core::IUnknown); @@ -3076,8 +3076,8 @@ impl InkRecognizerContainer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetDefaultRecognizer(&self, recognizer: &InkRecognizer) -> ::windows::core::Result<()> { @@ -3115,7 +3115,7 @@ impl ::core::fmt::Debug for InkRecognizerContainer { } } impl ::windows::core::RuntimeType for InkRecognizerContainer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognizerContainer;{a74d9a31-8047-4698-a912-f82a5085012f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognizerContainer;{a74d9a31-8047-4698-a912-f82a5085012f})"); } impl ::core::clone::Clone for InkRecognizerContainer { fn clone(&self) -> Self { @@ -3131,7 +3131,7 @@ unsafe impl ::windows::core::Interface for InkRecognizerContainer { impl ::windows::core::RuntimeName for InkRecognizerContainer { const NAME: &'static str = "Windows.UI.Input.Inking.InkRecognizerContainer"; } -::windows::core::interface_hierarchy!(InkRecognizerContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkRecognizerContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkRecognizerContainer { type Error = ::windows::core::Error; fn try_from(value: InkRecognizerContainer) -> ::windows::core::Result { @@ -3298,7 +3298,7 @@ impl ::core::fmt::Debug for InkStroke { } } impl ::windows::core::RuntimeType for InkStroke { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStroke;{15144d60-cce3-4fcf-9d52-11518ab6afd4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStroke;{15144d60-cce3-4fcf-9d52-11518ab6afd4})"); } impl ::core::clone::Clone for InkStroke { fn clone(&self) -> Self { @@ -3314,7 +3314,7 @@ unsafe impl ::windows::core::Interface for InkStroke { impl ::windows::core::RuntimeName for InkStroke { const NAME: &'static str = "Windows.UI.Input.Inking.InkStroke"; } -::windows::core::interface_hierarchy!(InkStroke, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkStroke, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkStroke {} unsafe impl ::core::marker::Sync for InkStroke {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -3324,8 +3324,8 @@ impl InkStrokeBuilder { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn BeginStroke(&self, pointerpoint: &super::PointerPoint) -> ::windows::core::Result<()> { @@ -3406,7 +3406,7 @@ impl ::core::fmt::Debug for InkStrokeBuilder { } } impl ::windows::core::RuntimeType for InkStrokeBuilder { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeBuilder;{82bbd1dc-1c63-41dc-9e07-4b4a70ced801})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeBuilder;{82bbd1dc-1c63-41dc-9e07-4b4a70ced801})"); } impl ::core::clone::Clone for InkStrokeBuilder { fn clone(&self) -> Self { @@ -3422,7 +3422,7 @@ unsafe impl ::windows::core::Interface for InkStrokeBuilder { impl ::windows::core::RuntimeName for InkStrokeBuilder { const NAME: &'static str = "Windows.UI.Input.Inking.InkStrokeBuilder"; } -::windows::core::interface_hierarchy!(InkStrokeBuilder, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkStrokeBuilder, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] pub struct InkStrokeContainer(::windows::core::IUnknown); @@ -3430,8 +3430,8 @@ impl InkStrokeContainer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -3608,7 +3608,7 @@ impl ::core::fmt::Debug for InkStrokeContainer { } } impl ::windows::core::RuntimeType for InkStrokeContainer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeContainer;{22accbc6-faa9-4f14-b68c-f6cee670ae16})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeContainer;{22accbc6-faa9-4f14-b68c-f6cee670ae16})"); } impl ::core::clone::Clone for InkStrokeContainer { fn clone(&self) -> Self { @@ -3624,7 +3624,7 @@ unsafe impl ::windows::core::Interface for InkStrokeContainer { impl ::windows::core::RuntimeName for InkStrokeContainer { const NAME: &'static str = "Windows.UI.Input.Inking.InkStrokeContainer"; } -::windows::core::interface_hierarchy!(InkStrokeContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkStrokeContainer, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IInkStrokeContainer { type Error = ::windows::core::Error; fn try_from(value: InkStrokeContainer) -> ::windows::core::Result { @@ -3728,7 +3728,7 @@ impl ::core::fmt::Debug for InkStrokeInput { } } impl ::windows::core::RuntimeType for InkStrokeInput { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeInput;{cf2ffe7b-5e10-43c6-a080-88f26e1dc67d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeInput;{cf2ffe7b-5e10-43c6-a080-88f26e1dc67d})"); } impl ::core::clone::Clone for InkStrokeInput { fn clone(&self) -> Self { @@ -3744,7 +3744,7 @@ unsafe impl ::windows::core::Interface for InkStrokeInput { impl ::windows::core::RuntimeName for InkStrokeInput { const NAME: &'static str = "Windows.UI.Input.Inking.InkStrokeInput"; } -::windows::core::interface_hierarchy!(InkStrokeInput, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkStrokeInput, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkStrokeInput {} unsafe impl ::core::marker::Sync for InkStrokeInput {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -3819,7 +3819,7 @@ impl ::core::fmt::Debug for InkStrokeRenderingSegment { } } impl ::windows::core::RuntimeType for InkStrokeRenderingSegment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeRenderingSegment;{68510f1f-88e3-477a-a2fa-569f5f1f9bd5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeRenderingSegment;{68510f1f-88e3-477a-a2fa-569f5f1f9bd5})"); } impl ::core::clone::Clone for InkStrokeRenderingSegment { fn clone(&self) -> Self { @@ -3835,7 +3835,7 @@ unsafe impl ::windows::core::Interface for InkStrokeRenderingSegment { impl ::windows::core::RuntimeName for InkStrokeRenderingSegment { const NAME: &'static str = "Windows.UI.Input.Inking.InkStrokeRenderingSegment"; } -::windows::core::interface_hierarchy!(InkStrokeRenderingSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkStrokeRenderingSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkStrokeRenderingSegment {} unsafe impl ::core::marker::Sync for InkStrokeRenderingSegment {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -3864,7 +3864,7 @@ impl ::core::fmt::Debug for InkStrokesCollectedEventArgs { } } impl ::windows::core::RuntimeType for InkStrokesCollectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokesCollectedEventArgs;{c4f3f229-1938-495c-b4d9-6de4b08d4811})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokesCollectedEventArgs;{c4f3f229-1938-495c-b4d9-6de4b08d4811})"); } impl ::core::clone::Clone for InkStrokesCollectedEventArgs { fn clone(&self) -> Self { @@ -3880,7 +3880,7 @@ unsafe impl ::windows::core::Interface for InkStrokesCollectedEventArgs { impl ::windows::core::RuntimeName for InkStrokesCollectedEventArgs { const NAME: &'static str = "Windows.UI.Input.Inking.InkStrokesCollectedEventArgs"; } -::windows::core::interface_hierarchy!(InkStrokesCollectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkStrokesCollectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] pub struct InkStrokesErasedEventArgs(::windows::core::IUnknown); @@ -3907,7 +3907,7 @@ impl ::core::fmt::Debug for InkStrokesErasedEventArgs { } } impl ::windows::core::RuntimeType for InkStrokesErasedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokesErasedEventArgs;{a4216a22-1503-4ebf-8ff5-2de84584a8aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokesErasedEventArgs;{a4216a22-1503-4ebf-8ff5-2de84584a8aa})"); } impl ::core::clone::Clone for InkStrokesErasedEventArgs { fn clone(&self) -> Self { @@ -3923,7 +3923,7 @@ unsafe impl ::windows::core::Interface for InkStrokesErasedEventArgs { impl ::windows::core::RuntimeName for InkStrokesErasedEventArgs { const NAME: &'static str = "Windows.UI.Input.Inking.InkStrokesErasedEventArgs"; } -::windows::core::interface_hierarchy!(InkStrokesErasedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkStrokesErasedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] pub struct InkSynchronizer(::windows::core::IUnknown); @@ -3954,7 +3954,7 @@ impl ::core::fmt::Debug for InkSynchronizer { } } impl ::windows::core::RuntimeType for InkSynchronizer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkSynchronizer;{9b9ea160-ae9b-45f9-8407-4b493b163661})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkSynchronizer;{9b9ea160-ae9b-45f9-8407-4b493b163661})"); } impl ::core::clone::Clone for InkSynchronizer { fn clone(&self) -> Self { @@ -3970,7 +3970,7 @@ unsafe impl ::windows::core::Interface for InkSynchronizer { impl ::windows::core::RuntimeName for InkSynchronizer { const NAME: &'static str = "Windows.UI.Input.Inking.InkSynchronizer"; } -::windows::core::interface_hierarchy!(InkSynchronizer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkSynchronizer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] pub struct InkUnprocessedInput(::windows::core::IUnknown); @@ -4100,7 +4100,7 @@ impl ::core::fmt::Debug for InkUnprocessedInput { } } impl ::windows::core::RuntimeType for InkUnprocessedInput { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkUnprocessedInput;{db4445e0-8398-4921-ac3b-ab978c5ba256})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkUnprocessedInput;{db4445e0-8398-4921-ac3b-ab978c5ba256})"); } impl ::core::clone::Clone for InkUnprocessedInput { fn clone(&self) -> Self { @@ -4116,7 +4116,7 @@ unsafe impl ::windows::core::Interface for InkUnprocessedInput { impl ::windows::core::RuntimeName for InkUnprocessedInput { const NAME: &'static str = "Windows.UI.Input.Inking.InkUnprocessedInput"; } -::windows::core::interface_hierarchy!(InkUnprocessedInput, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InkUnprocessedInput, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InkUnprocessedInput {} unsafe impl ::core::marker::Sync for InkUnprocessedInput {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -4177,7 +4177,7 @@ impl PenAndInkSettings { } #[doc(hidden)] pub fn IPenAndInkSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4193,7 +4193,7 @@ impl ::core::fmt::Debug for PenAndInkSettings { } } impl ::windows::core::RuntimeType for PenAndInkSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.PenAndInkSettings;{bc2ceb8f-0066-44a8-bb7a-b839b3deb8f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.PenAndInkSettings;{bc2ceb8f-0066-44a8-bb7a-b839b3deb8f5})"); } impl ::core::clone::Clone for PenAndInkSettings { fn clone(&self) -> Self { @@ -4209,7 +4209,7 @@ unsafe impl ::windows::core::Interface for PenAndInkSettings { impl ::windows::core::RuntimeName for PenAndInkSettings { const NAME: &'static str = "Windows.UI.Input.Inking.PenAndInkSettings"; } -::windows::core::interface_hierarchy!(PenAndInkSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PenAndInkSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PenAndInkSettings {} unsafe impl ::core::marker::Sync for PenAndInkSettings {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] @@ -4241,7 +4241,7 @@ impl ::core::fmt::Debug for HandwritingLineHeight { } } impl ::windows::core::RuntimeType for HandwritingLineHeight { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.HandwritingLineHeight;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.HandwritingLineHeight;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4271,7 +4271,7 @@ impl ::core::fmt::Debug for InkDrawingAttributesKind { } } impl ::windows::core::RuntimeType for InkDrawingAttributesKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkDrawingAttributesKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkDrawingAttributesKind;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4302,7 +4302,7 @@ impl ::core::fmt::Debug for InkHighContrastAdjustment { } } impl ::windows::core::RuntimeType for InkHighContrastAdjustment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkHighContrastAdjustment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkHighContrastAdjustment;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4333,7 +4333,7 @@ impl ::core::fmt::Debug for InkInputProcessingMode { } } impl ::windows::core::RuntimeType for InkInputProcessingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkInputProcessingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkInputProcessingMode;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4363,7 +4363,7 @@ impl ::core::fmt::Debug for InkInputRightDragAction { } } impl ::windows::core::RuntimeType for InkInputRightDragAction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkInputRightDragAction;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkInputRightDragAction;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4394,7 +4394,7 @@ impl ::core::fmt::Debug for InkManipulationMode { } } impl ::windows::core::RuntimeType for InkManipulationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkManipulationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkManipulationMode;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4424,7 +4424,7 @@ impl ::core::fmt::Debug for InkPersistenceFormat { } } impl ::windows::core::RuntimeType for InkPersistenceFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkPersistenceFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkPersistenceFormat;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4454,7 +4454,7 @@ impl ::core::fmt::Debug for InkPresenterPredefinedConfiguration { } } impl ::windows::core::RuntimeType for InkPresenterPredefinedConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkPresenterPredefinedConfiguration;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkPresenterPredefinedConfiguration;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4485,7 +4485,7 @@ impl ::core::fmt::Debug for InkPresenterStencilKind { } } impl ::windows::core::RuntimeType for InkPresenterStencilKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkPresenterStencilKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkPresenterStencilKind;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4516,7 +4516,7 @@ impl ::core::fmt::Debug for InkRecognitionTarget { } } impl ::windows::core::RuntimeType for InkRecognitionTarget { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkRecognitionTarget;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.InkRecognitionTarget;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4546,7 +4546,7 @@ impl ::core::fmt::Debug for PenHandedness { } } impl ::windows::core::RuntimeType for PenHandedness { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.PenHandedness;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.PenHandedness;i4)"); } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] @@ -4576,7 +4576,7 @@ impl ::core::fmt::Debug for PenTipShape { } } impl ::windows::core::RuntimeType for PenTipShape { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.PenTipShape;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Inking.PenTipShape;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs index ef3d9810f3..ed97997cb1 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs @@ -282,8 +282,8 @@ impl InjectedInputGamepadInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Gaming_Input\"`*"] @@ -377,7 +377,7 @@ impl InjectedInputGamepadInfo { } #[doc(hidden)] pub fn IInjectedInputGamepadInfoFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -393,7 +393,7 @@ impl ::core::fmt::Debug for InjectedInputGamepadInfo { } } impl ::windows::core::RuntimeType for InjectedInputGamepadInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo;{20ae9a3f-df11-4572-a9ab-d75b8a5e48ad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo;{20ae9a3f-df11-4572-a9ab-d75b8a5e48ad})"); } impl ::core::clone::Clone for InjectedInputGamepadInfo { fn clone(&self) -> Self { @@ -409,7 +409,7 @@ unsafe impl ::windows::core::Interface for InjectedInputGamepadInfo { impl ::windows::core::RuntimeName for InjectedInputGamepadInfo { const NAME: &'static str = "Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo"; } -::windows::core::interface_hierarchy!(InjectedInputGamepadInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InjectedInputGamepadInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] pub struct InjectedInputKeyboardInfo(::windows::core::IUnknown); @@ -417,8 +417,8 @@ impl InjectedInputKeyboardInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn KeyOptions(&self) -> ::windows::core::Result { @@ -467,7 +467,7 @@ impl ::core::fmt::Debug for InjectedInputKeyboardInfo { } } impl ::windows::core::RuntimeType for InjectedInputKeyboardInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo;{4b46d140-2b6a-5ffa-7eae-bd077b052acd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo;{4b46d140-2b6a-5ffa-7eae-bd077b052acd})"); } impl ::core::clone::Clone for InjectedInputKeyboardInfo { fn clone(&self) -> Self { @@ -483,7 +483,7 @@ unsafe impl ::windows::core::Interface for InjectedInputKeyboardInfo { impl ::windows::core::RuntimeName for InjectedInputKeyboardInfo { const NAME: &'static str = "Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo"; } -::windows::core::interface_hierarchy!(InjectedInputKeyboardInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InjectedInputKeyboardInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] pub struct InjectedInputMouseInfo(::windows::core::IUnknown); @@ -491,8 +491,8 @@ impl InjectedInputMouseInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn MouseOptions(&self) -> ::windows::core::Result { @@ -563,7 +563,7 @@ impl ::core::fmt::Debug for InjectedInputMouseInfo { } } impl ::windows::core::RuntimeType for InjectedInputMouseInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo;{96f56e6b-e47a-5cf4-418d-8a5fb9670c7d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo;{96f56e6b-e47a-5cf4-418d-8a5fb9670c7d})"); } impl ::core::clone::Clone for InjectedInputMouseInfo { fn clone(&self) -> Self { @@ -579,7 +579,7 @@ unsafe impl ::windows::core::Interface for InjectedInputMouseInfo { impl ::windows::core::RuntimeName for InjectedInputMouseInfo { const NAME: &'static str = "Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo"; } -::windows::core::interface_hierarchy!(InjectedInputMouseInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InjectedInputMouseInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] pub struct InjectedInputPenInfo(::windows::core::IUnknown); @@ -587,8 +587,8 @@ impl InjectedInputPenInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn PointerInfo(&self) -> ::windows::core::Result { @@ -681,7 +681,7 @@ impl ::core::fmt::Debug for InjectedInputPenInfo { } } impl ::windows::core::RuntimeType for InjectedInputPenInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputPenInfo;{6b40ad03-ca1e-5527-7e02-2828540bb1d4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputPenInfo;{6b40ad03-ca1e-5527-7e02-2828540bb1d4})"); } impl ::core::clone::Clone for InjectedInputPenInfo { fn clone(&self) -> Self { @@ -697,7 +697,7 @@ unsafe impl ::windows::core::Interface for InjectedInputPenInfo { impl ::windows::core::RuntimeName for InjectedInputPenInfo { const NAME: &'static str = "Windows.UI.Input.Preview.Injection.InjectedInputPenInfo"; } -::windows::core::interface_hierarchy!(InjectedInputPenInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InjectedInputPenInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] pub struct InjectedInputTouchInfo(::windows::core::IUnknown); @@ -705,8 +705,8 @@ impl InjectedInputTouchInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Contact(&self) -> ::windows::core::Result { @@ -777,7 +777,7 @@ impl ::core::fmt::Debug for InjectedInputTouchInfo { } } impl ::windows::core::RuntimeType for InjectedInputTouchInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo;{224fd1df-43e8-5ef5-510a-69ca8c9b4c28})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo;{224fd1df-43e8-5ef5-510a-69ca8c9b4c28})"); } impl ::core::clone::Clone for InjectedInputTouchInfo { fn clone(&self) -> Self { @@ -793,7 +793,7 @@ unsafe impl ::windows::core::Interface for InjectedInputTouchInfo { impl ::windows::core::RuntimeName for InjectedInputTouchInfo { const NAME: &'static str = "Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo"; } -::windows::core::interface_hierarchy!(InjectedInputTouchInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InjectedInputTouchInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] pub struct InputInjector(::windows::core::IUnknown); @@ -878,12 +878,12 @@ impl InputInjector { } #[doc(hidden)] pub fn IInputInjectorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInputInjectorStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -899,7 +899,7 @@ impl ::core::fmt::Debug for InputInjector { } } impl ::windows::core::RuntimeType for InputInjector { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InputInjector;{8ec26f84-0b02-4bd2-ad7a-3d4658be3e18})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InputInjector;{8ec26f84-0b02-4bd2-ad7a-3d4658be3e18})"); } impl ::core::clone::Clone for InputInjector { fn clone(&self) -> Self { @@ -915,7 +915,7 @@ unsafe impl ::windows::core::Interface for InputInjector { impl ::windows::core::RuntimeName for InputInjector { const NAME: &'static str = "Windows.UI.Input.Preview.Injection.InputInjector"; } -::windows::core::interface_hierarchy!(InputInjector, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InputInjector, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -953,7 +953,7 @@ impl ::core::fmt::Debug for InjectedInputButtonChangeKind { } } impl ::windows::core::RuntimeType for InjectedInputButtonChangeKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputButtonChangeKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputButtonChangeKind;i4)"); } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] @@ -1019,7 +1019,7 @@ impl ::core::ops::Not for InjectedInputKeyOptions { } } impl ::windows::core::RuntimeType for InjectedInputKeyOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputKeyOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputKeyOptions;u4)"); } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] @@ -1095,7 +1095,7 @@ impl ::core::ops::Not for InjectedInputMouseOptions { } } impl ::windows::core::RuntimeType for InjectedInputMouseOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputMouseOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputMouseOptions;u4)"); } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] @@ -1160,7 +1160,7 @@ impl ::core::ops::Not for InjectedInputPenButtons { } } impl ::windows::core::RuntimeType for InjectedInputPenButtons { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputPenButtons;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputPenButtons;u4)"); } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] @@ -1226,7 +1226,7 @@ impl ::core::ops::Not for InjectedInputPenParameters { } } impl ::windows::core::RuntimeType for InjectedInputPenParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputPenParameters;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputPenParameters;u4)"); } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] @@ -1300,7 +1300,7 @@ impl ::core::ops::Not for InjectedInputPointerOptions { } } impl ::windows::core::RuntimeType for InjectedInputPointerOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputPointerOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputPointerOptions;u4)"); } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] @@ -1331,7 +1331,7 @@ impl ::core::fmt::Debug for InjectedInputShortcut { } } impl ::windows::core::RuntimeType for InjectedInputShortcut { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputShortcut;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputShortcut;i4)"); } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] @@ -1396,7 +1396,7 @@ impl ::core::ops::Not for InjectedInputTouchParameters { } } impl ::windows::core::RuntimeType for InjectedInputTouchParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputTouchParameters;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputTouchParameters;u4)"); } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] @@ -1427,7 +1427,7 @@ impl ::core::fmt::Debug for InjectedInputVisualizationMode { } } impl ::windows::core::RuntimeType for InjectedInputVisualizationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputVisualizationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Preview.Injection.InjectedInputVisualizationMode;i4)"); } #[repr(C)] #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] @@ -1450,7 +1450,7 @@ impl ::windows::core::TypeKind for InjectedInputPoint { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for InjectedInputPoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Input.Preview.Injection.InjectedInputPoint;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Input.Preview.Injection.InjectedInputPoint;i4;i4)"); } impl ::core::cmp::PartialEq for InjectedInputPoint { fn eq(&self, other: &Self) -> bool { @@ -1487,7 +1487,7 @@ impl ::windows::core::TypeKind for InjectedInputPointerInfo { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for InjectedInputPointerInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Input.Preview.Injection.InjectedInputPointerInfo;u4;enum(Windows.UI.Input.Preview.Injection.InjectedInputPointerOptions;u4);struct(Windows.UI.Input.Preview.Injection.InjectedInputPoint;i4;i4);u4;u8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Input.Preview.Injection.InjectedInputPointerInfo;u4;enum(Windows.UI.Input.Preview.Injection.InjectedInputPointerOptions;u4);struct(Windows.UI.Input.Preview.Injection.InjectedInputPoint;i4;i4);u4;u8)"); } impl ::core::cmp::PartialEq for InjectedInputPointerInfo { fn eq(&self, other: &Self) -> bool { @@ -1523,7 +1523,7 @@ impl ::windows::core::TypeKind for InjectedInputRectangle { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for InjectedInputRectangle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Input.Preview.Injection.InjectedInputRectangle;i4;i4;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Input.Preview.Injection.InjectedInputRectangle;i4;i4;i4;i4)"); } impl ::core::cmp::PartialEq for InjectedInputRectangle { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs index 76c0b6f92e..b3b67c3387 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs @@ -36,7 +36,7 @@ impl InputActivationListenerPreview { } #[doc(hidden)] pub fn IInputActivationListenerPreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } diff --git a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs index a39d146e63..6c70b8cc4e 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs @@ -1481,7 +1481,7 @@ impl SpatialGestureRecognizer { } #[doc(hidden)] pub fn ISpatialGestureRecognizerFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1497,7 +1497,7 @@ impl ::core::fmt::Debug for SpatialGestureRecognizer { } } impl ::windows::core::RuntimeType for SpatialGestureRecognizer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialGestureRecognizer;{71605bcc-0c35-4673-adbd-cc04caa6ef45})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialGestureRecognizer;{71605bcc-0c35-4673-adbd-cc04caa6ef45})"); } impl ::core::clone::Clone for SpatialGestureRecognizer { fn clone(&self) -> Self { @@ -1513,7 +1513,7 @@ unsafe impl ::windows::core::Interface for SpatialGestureRecognizer { impl ::windows::core::RuntimeName for SpatialGestureRecognizer { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialGestureRecognizer"; } -::windows::core::interface_hierarchy!(SpatialGestureRecognizer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialGestureRecognizer, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialGestureRecognizer {} unsafe impl ::core::marker::Sync for SpatialGestureRecognizer {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -1540,7 +1540,7 @@ impl ::core::fmt::Debug for SpatialHoldCanceledEventArgs { } } impl ::windows::core::RuntimeType for SpatialHoldCanceledEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldCanceledEventArgs;{5dfcb667-4caa-4093-8c35-b601a839f31b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldCanceledEventArgs;{5dfcb667-4caa-4093-8c35-b601a839f31b})"); } impl ::core::clone::Clone for SpatialHoldCanceledEventArgs { fn clone(&self) -> Self { @@ -1556,7 +1556,7 @@ unsafe impl ::windows::core::Interface for SpatialHoldCanceledEventArgs { impl ::windows::core::RuntimeName for SpatialHoldCanceledEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialHoldCanceledEventArgs"; } -::windows::core::interface_hierarchy!(SpatialHoldCanceledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialHoldCanceledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialHoldCanceledEventArgs {} unsafe impl ::core::marker::Sync for SpatialHoldCanceledEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -1583,7 +1583,7 @@ impl ::core::fmt::Debug for SpatialHoldCompletedEventArgs { } } impl ::windows::core::RuntimeType for SpatialHoldCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs;{3f64470b-4cfd-43da-8dc4-e64552173971})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs;{3f64470b-4cfd-43da-8dc4-e64552173971})"); } impl ::core::clone::Clone for SpatialHoldCompletedEventArgs { fn clone(&self) -> Self { @@ -1599,7 +1599,7 @@ unsafe impl ::windows::core::Interface for SpatialHoldCompletedEventArgs { impl ::windows::core::RuntimeName for SpatialHoldCompletedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialHoldCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialHoldCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialHoldCompletedEventArgs {} unsafe impl ::core::marker::Sync for SpatialHoldCompletedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -1635,7 +1635,7 @@ impl ::core::fmt::Debug for SpatialHoldStartedEventArgs { } } impl ::windows::core::RuntimeType for SpatialHoldStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs;{8e343d79-acb6-4144-8615-2cfba8a3cb3f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs;{8e343d79-acb6-4144-8615-2cfba8a3cb3f})"); } impl ::core::clone::Clone for SpatialHoldStartedEventArgs { fn clone(&self) -> Self { @@ -1651,7 +1651,7 @@ unsafe impl ::windows::core::Interface for SpatialHoldStartedEventArgs { impl ::windows::core::RuntimeName for SpatialHoldStartedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialHoldStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialHoldStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialHoldStartedEventArgs {} unsafe impl ::core::marker::Sync for SpatialHoldStartedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -1678,7 +1678,7 @@ impl ::core::fmt::Debug for SpatialInteraction { } } impl ::windows::core::RuntimeType for SpatialInteraction { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteraction;{fc967639-88e6-4646-9112-4344aaec9dfa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteraction;{fc967639-88e6-4646-9112-4344aaec9dfa})"); } impl ::core::clone::Clone for SpatialInteraction { fn clone(&self) -> Self { @@ -1694,7 +1694,7 @@ unsafe impl ::windows::core::Interface for SpatialInteraction { impl ::windows::core::RuntimeName for SpatialInteraction { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteraction"; } -::windows::core::interface_hierarchy!(SpatialInteraction, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteraction, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteraction {} unsafe impl ::core::marker::Sync for SpatialInteraction {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -1776,7 +1776,7 @@ impl ::core::fmt::Debug for SpatialInteractionController { } } impl ::windows::core::RuntimeType for SpatialInteractionController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionController;{5f0e5ba3-0954-4e97-86c5-e7f30b114dfd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionController;{5f0e5ba3-0954-4e97-86c5-e7f30b114dfd})"); } impl ::core::clone::Clone for SpatialInteractionController { fn clone(&self) -> Self { @@ -1792,7 +1792,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionController { impl ::windows::core::RuntimeName for SpatialInteractionController { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionController"; } -::windows::core::interface_hierarchy!(SpatialInteractionController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionController {} unsafe impl ::core::marker::Sync for SpatialInteractionController {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -1861,7 +1861,7 @@ impl ::core::fmt::Debug for SpatialInteractionControllerProperties { } } impl ::windows::core::RuntimeType for SpatialInteractionControllerProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionControllerProperties;{61056fb1-7ba9-4e35-b93f-9272cba9b28b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionControllerProperties;{61056fb1-7ba9-4e35-b93f-9272cba9b28b})"); } impl ::core::clone::Clone for SpatialInteractionControllerProperties { fn clone(&self) -> Self { @@ -1877,7 +1877,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionControllerPropertie impl ::windows::core::RuntimeName for SpatialInteractionControllerProperties { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionControllerProperties"; } -::windows::core::interface_hierarchy!(SpatialInteractionControllerProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionControllerProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionControllerProperties {} unsafe impl ::core::marker::Sync for SpatialInteractionControllerProperties {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -1927,7 +1927,7 @@ impl ::core::fmt::Debug for SpatialInteractionDetectedEventArgs { } } impl ::windows::core::RuntimeType for SpatialInteractionDetectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs;{075878e4-5961-3b41-9dfb-cea5d89cc38a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs;{075878e4-5961-3b41-9dfb-cea5d89cc38a})"); } impl ::core::clone::Clone for SpatialInteractionDetectedEventArgs { fn clone(&self) -> Self { @@ -1943,7 +1943,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionDetectedEventArgs { impl ::windows::core::RuntimeName for SpatialInteractionDetectedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialInteractionDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionDetectedEventArgs {} unsafe impl ::core::marker::Sync for SpatialInteractionDetectedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2063,12 +2063,12 @@ impl SpatialInteractionManager { } #[doc(hidden)] pub fn ISpatialInteractionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISpatialInteractionManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2084,7 +2084,7 @@ impl ::core::fmt::Debug for SpatialInteractionManager { } } impl ::windows::core::RuntimeType for SpatialInteractionManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionManager;{32a64ea8-a15a-3995-b8bd-80513cb5adef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionManager;{32a64ea8-a15a-3995-b8bd-80513cb5adef})"); } impl ::core::clone::Clone for SpatialInteractionManager { fn clone(&self) -> Self { @@ -2100,7 +2100,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionManager { impl ::windows::core::RuntimeName for SpatialInteractionManager { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionManager"; } -::windows::core::interface_hierarchy!(SpatialInteractionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionManager {} unsafe impl ::core::marker::Sync for SpatialInteractionManager {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2196,7 +2196,7 @@ impl ::core::fmt::Debug for SpatialInteractionSource { } } impl ::windows::core::RuntimeType for SpatialInteractionSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSource;{fb5433ba-b0b3-3148-9f3b-e9f5de568f5d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSource;{fb5433ba-b0b3-3148-9f3b-e9f5de568f5d})"); } impl ::core::clone::Clone for SpatialInteractionSource { fn clone(&self) -> Self { @@ -2212,7 +2212,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionSource { impl ::windows::core::RuntimeName for SpatialInteractionSource { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionSource"; } -::windows::core::interface_hierarchy!(SpatialInteractionSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionSource {} unsafe impl ::core::marker::Sync for SpatialInteractionSource {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2246,7 +2246,7 @@ impl ::core::fmt::Debug for SpatialInteractionSourceEventArgs { } } impl ::windows::core::RuntimeType for SpatialInteractionSourceEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs;{23b786cf-ec23-3979-b27c-eb0e12feb7c7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs;{23b786cf-ec23-3979-b27c-eb0e12feb7c7})"); } impl ::core::clone::Clone for SpatialInteractionSourceEventArgs { fn clone(&self) -> Self { @@ -2262,7 +2262,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionSourceEventArgs { impl ::windows::core::RuntimeName for SpatialInteractionSourceEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs"; } -::windows::core::interface_hierarchy!(SpatialInteractionSourceEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionSourceEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionSourceEventArgs {} unsafe impl ::core::marker::Sync for SpatialInteractionSourceEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2332,7 +2332,7 @@ impl ::core::fmt::Debug for SpatialInteractionSourceLocation { } } impl ::windows::core::RuntimeType for SpatialInteractionSourceLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceLocation;{ea4696c4-7e8b-30ca-bcc5-c77189cea30a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceLocation;{ea4696c4-7e8b-30ca-bcc5-c77189cea30a})"); } impl ::core::clone::Clone for SpatialInteractionSourceLocation { fn clone(&self) -> Self { @@ -2348,7 +2348,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionSourceLocation { impl ::windows::core::RuntimeName for SpatialInteractionSourceLocation { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionSourceLocation"; } -::windows::core::interface_hierarchy!(SpatialInteractionSourceLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionSourceLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionSourceLocation {} unsafe impl ::core::marker::Sync for SpatialInteractionSourceLocation {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2393,7 +2393,7 @@ impl ::core::fmt::Debug for SpatialInteractionSourceProperties { } } impl ::windows::core::RuntimeType for SpatialInteractionSourceProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceProperties;{05604542-3ef7-3222-9f53-63c9cb7e3bc7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceProperties;{05604542-3ef7-3222-9f53-63c9cb7e3bc7})"); } impl ::core::clone::Clone for SpatialInteractionSourceProperties { fn clone(&self) -> Self { @@ -2409,7 +2409,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionSourceProperties { impl ::windows::core::RuntimeName for SpatialInteractionSourceProperties { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionSourceProperties"; } -::windows::core::interface_hierarchy!(SpatialInteractionSourceProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionSourceProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionSourceProperties {} unsafe impl ::core::marker::Sync for SpatialInteractionSourceProperties {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2512,7 +2512,7 @@ impl ::core::fmt::Debug for SpatialInteractionSourceState { } } impl ::windows::core::RuntimeType for SpatialInteractionSourceState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceState;{d5c475ef-4b63-37ec-98b9-9fc652b9d2f2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceState;{d5c475ef-4b63-37ec-98b9-9fc652b9d2f2})"); } impl ::core::clone::Clone for SpatialInteractionSourceState { fn clone(&self) -> Self { @@ -2528,7 +2528,7 @@ unsafe impl ::windows::core::Interface for SpatialInteractionSourceState { impl ::windows::core::RuntimeName for SpatialInteractionSourceState { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialInteractionSourceState"; } -::windows::core::interface_hierarchy!(SpatialInteractionSourceState, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialInteractionSourceState, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialInteractionSourceState {} unsafe impl ::core::marker::Sync for SpatialInteractionSourceState {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2555,7 +2555,7 @@ impl ::core::fmt::Debug for SpatialManipulationCanceledEventArgs { } } impl ::windows::core::RuntimeType for SpatialManipulationCanceledEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationCanceledEventArgs;{2d40d1cb-e7da-4220-b0bf-819301674780})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationCanceledEventArgs;{2d40d1cb-e7da-4220-b0bf-819301674780})"); } impl ::core::clone::Clone for SpatialManipulationCanceledEventArgs { fn clone(&self) -> Self { @@ -2571,7 +2571,7 @@ unsafe impl ::windows::core::Interface for SpatialManipulationCanceledEventArgs impl ::windows::core::RuntimeName for SpatialManipulationCanceledEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialManipulationCanceledEventArgs"; } -::windows::core::interface_hierarchy!(SpatialManipulationCanceledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialManipulationCanceledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialManipulationCanceledEventArgs {} unsafe impl ::core::marker::Sync for SpatialManipulationCanceledEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2607,7 +2607,7 @@ impl ::core::fmt::Debug for SpatialManipulationCompletedEventArgs { } } impl ::windows::core::RuntimeType for SpatialManipulationCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs;{05086802-f301-4343-9250-2fbaa5f87a37})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs;{05086802-f301-4343-9250-2fbaa5f87a37})"); } impl ::core::clone::Clone for SpatialManipulationCompletedEventArgs { fn clone(&self) -> Self { @@ -2623,7 +2623,7 @@ unsafe impl ::windows::core::Interface for SpatialManipulationCompletedEventArgs impl ::windows::core::RuntimeName for SpatialManipulationCompletedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialManipulationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialManipulationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialManipulationCompletedEventArgs {} unsafe impl ::core::marker::Sync for SpatialManipulationCompletedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2652,7 +2652,7 @@ impl ::core::fmt::Debug for SpatialManipulationDelta { } } impl ::windows::core::RuntimeType for SpatialManipulationDelta { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationDelta;{a7ec967a-d123-3a81-a15b-992923dcbe91})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationDelta;{a7ec967a-d123-3a81-a15b-992923dcbe91})"); } impl ::core::clone::Clone for SpatialManipulationDelta { fn clone(&self) -> Self { @@ -2668,7 +2668,7 @@ unsafe impl ::windows::core::Interface for SpatialManipulationDelta { impl ::windows::core::RuntimeName for SpatialManipulationDelta { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialManipulationDelta"; } -::windows::core::interface_hierarchy!(SpatialManipulationDelta, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialManipulationDelta, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialManipulationDelta {} unsafe impl ::core::marker::Sync for SpatialManipulationDelta {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2704,7 +2704,7 @@ impl ::core::fmt::Debug for SpatialManipulationStartedEventArgs { } } impl ::windows::core::RuntimeType for SpatialManipulationStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs;{a1d6bbce-42a5-377b-ada6-d28e3d384737})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs;{a1d6bbce-42a5-377b-ada6-d28e3d384737})"); } impl ::core::clone::Clone for SpatialManipulationStartedEventArgs { fn clone(&self) -> Self { @@ -2720,7 +2720,7 @@ unsafe impl ::windows::core::Interface for SpatialManipulationStartedEventArgs { impl ::windows::core::RuntimeName for SpatialManipulationStartedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialManipulationStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialManipulationStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialManipulationStartedEventArgs {} unsafe impl ::core::marker::Sync for SpatialManipulationStartedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2756,7 +2756,7 @@ impl ::core::fmt::Debug for SpatialManipulationUpdatedEventArgs { } } impl ::windows::core::RuntimeType for SpatialManipulationUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs;{5f230b9b-60c6-4dc6-bdc9-9f4a6f15fe49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs;{5f230b9b-60c6-4dc6-bdc9-9f4a6f15fe49})"); } impl ::core::clone::Clone for SpatialManipulationUpdatedEventArgs { fn clone(&self) -> Self { @@ -2772,7 +2772,7 @@ unsafe impl ::windows::core::Interface for SpatialManipulationUpdatedEventArgs { impl ::windows::core::RuntimeName for SpatialManipulationUpdatedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialManipulationUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialManipulationUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialManipulationUpdatedEventArgs {} unsafe impl ::core::marker::Sync for SpatialManipulationUpdatedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2799,7 +2799,7 @@ impl ::core::fmt::Debug for SpatialNavigationCanceledEventArgs { } } impl ::windows::core::RuntimeType for SpatialNavigationCanceledEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationCanceledEventArgs;{ce503edc-e8a5-46f0-92d4-3c122b35112a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationCanceledEventArgs;{ce503edc-e8a5-46f0-92d4-3c122b35112a})"); } impl ::core::clone::Clone for SpatialNavigationCanceledEventArgs { fn clone(&self) -> Self { @@ -2815,7 +2815,7 @@ unsafe impl ::windows::core::Interface for SpatialNavigationCanceledEventArgs { impl ::windows::core::RuntimeName for SpatialNavigationCanceledEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialNavigationCanceledEventArgs"; } -::windows::core::interface_hierarchy!(SpatialNavigationCanceledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialNavigationCanceledEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialNavigationCanceledEventArgs {} unsafe impl ::core::marker::Sync for SpatialNavigationCanceledEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2851,7 +2851,7 @@ impl ::core::fmt::Debug for SpatialNavigationCompletedEventArgs { } } impl ::windows::core::RuntimeType for SpatialNavigationCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs;{012e80b7-af3b-42c2-9e41-baaa0e721f3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs;{012e80b7-af3b-42c2-9e41-baaa0e721f3a})"); } impl ::core::clone::Clone for SpatialNavigationCompletedEventArgs { fn clone(&self) -> Self { @@ -2867,7 +2867,7 @@ unsafe impl ::windows::core::Interface for SpatialNavigationCompletedEventArgs { impl ::windows::core::RuntimeName for SpatialNavigationCompletedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialNavigationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialNavigationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialNavigationCompletedEventArgs {} unsafe impl ::core::marker::Sync for SpatialNavigationCompletedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2924,7 +2924,7 @@ impl ::core::fmt::Debug for SpatialNavigationStartedEventArgs { } } impl ::windows::core::RuntimeType for SpatialNavigationStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs;{754a348a-fb64-4656-8ebd-9deecaafe475})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs;{754a348a-fb64-4656-8ebd-9deecaafe475})"); } impl ::core::clone::Clone for SpatialNavigationStartedEventArgs { fn clone(&self) -> Self { @@ -2940,7 +2940,7 @@ unsafe impl ::windows::core::Interface for SpatialNavigationStartedEventArgs { impl ::windows::core::RuntimeName for SpatialNavigationStartedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialNavigationStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialNavigationStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialNavigationStartedEventArgs {} unsafe impl ::core::marker::Sync for SpatialNavigationStartedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -2976,7 +2976,7 @@ impl ::core::fmt::Debug for SpatialNavigationUpdatedEventArgs { } } impl ::windows::core::RuntimeType for SpatialNavigationUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs;{9b713fd7-839d-4a74-8732-45466fc044b5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs;{9b713fd7-839d-4a74-8732-45466fc044b5})"); } impl ::core::clone::Clone for SpatialNavigationUpdatedEventArgs { fn clone(&self) -> Self { @@ -2992,7 +2992,7 @@ unsafe impl ::windows::core::Interface for SpatialNavigationUpdatedEventArgs { impl ::windows::core::RuntimeName for SpatialNavigationUpdatedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialNavigationUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialNavigationUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialNavigationUpdatedEventArgs {} unsafe impl ::core::marker::Sync for SpatialNavigationUpdatedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -3055,7 +3055,7 @@ impl ::core::fmt::Debug for SpatialPointerInteractionSourcePose { } } impl ::windows::core::RuntimeType for SpatialPointerInteractionSourcePose { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose;{a7104307-2c2b-4d3a-92a7-80ced7c4a0d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose;{a7104307-2c2b-4d3a-92a7-80ced7c4a0d0})"); } impl ::core::clone::Clone for SpatialPointerInteractionSourcePose { fn clone(&self) -> Self { @@ -3071,7 +3071,7 @@ unsafe impl ::windows::core::Interface for SpatialPointerInteractionSourcePose { impl ::windows::core::RuntimeName for SpatialPointerInteractionSourcePose { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose"; } -::windows::core::interface_hierarchy!(SpatialPointerInteractionSourcePose, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialPointerInteractionSourcePose, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialPointerInteractionSourcePose {} unsafe impl ::core::marker::Sync for SpatialPointerInteractionSourcePose {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -3129,7 +3129,7 @@ impl SpatialPointerPose { } #[doc(hidden)] pub fn ISpatialPointerPoseStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3145,7 +3145,7 @@ impl ::core::fmt::Debug for SpatialPointerPose { } } impl ::windows::core::RuntimeType for SpatialPointerPose { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialPointerPose;{6953a42e-c17e-357d-97a1-7269d0ed2d10})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialPointerPose;{6953a42e-c17e-357d-97a1-7269d0ed2d10})"); } impl ::core::clone::Clone for SpatialPointerPose { fn clone(&self) -> Self { @@ -3161,7 +3161,7 @@ unsafe impl ::windows::core::Interface for SpatialPointerPose { impl ::windows::core::RuntimeName for SpatialPointerPose { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialPointerPose"; } -::windows::core::interface_hierarchy!(SpatialPointerPose, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialPointerPose, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialPointerPose {} unsafe impl ::core::marker::Sync for SpatialPointerPose {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -3188,7 +3188,7 @@ impl ::core::fmt::Debug for SpatialRecognitionEndedEventArgs { } } impl ::windows::core::RuntimeType for SpatialRecognitionEndedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialRecognitionEndedEventArgs;{0e35f5cb-3f75-43f3-ac81-d1dc2df9b1fb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialRecognitionEndedEventArgs;{0e35f5cb-3f75-43f3-ac81-d1dc2df9b1fb})"); } impl ::core::clone::Clone for SpatialRecognitionEndedEventArgs { fn clone(&self) -> Self { @@ -3204,7 +3204,7 @@ unsafe impl ::windows::core::Interface for SpatialRecognitionEndedEventArgs { impl ::windows::core::RuntimeName for SpatialRecognitionEndedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialRecognitionEndedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialRecognitionEndedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialRecognitionEndedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialRecognitionEndedEventArgs {} unsafe impl ::core::marker::Sync for SpatialRecognitionEndedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -3247,7 +3247,7 @@ impl ::core::fmt::Debug for SpatialRecognitionStartedEventArgs { } } impl ::windows::core::RuntimeType for SpatialRecognitionStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs;{24da128f-0008-4a6d-aa50-2a76f9cfb264})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs;{24da128f-0008-4a6d-aa50-2a76f9cfb264})"); } impl ::core::clone::Clone for SpatialRecognitionStartedEventArgs { fn clone(&self) -> Self { @@ -3263,7 +3263,7 @@ unsafe impl ::windows::core::Interface for SpatialRecognitionStartedEventArgs { impl ::windows::core::RuntimeName for SpatialRecognitionStartedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialRecognitionStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialRecognitionStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialRecognitionStartedEventArgs {} unsafe impl ::core::marker::Sync for SpatialRecognitionStartedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -3306,7 +3306,7 @@ impl ::core::fmt::Debug for SpatialTappedEventArgs { } } impl ::windows::core::RuntimeType for SpatialTappedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialTappedEventArgs;{296d83de-f444-4aa1-b2bf-9dc88d567da6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialTappedEventArgs;{296d83de-f444-4aa1-b2bf-9dc88d567da6})"); } impl ::core::clone::Clone for SpatialTappedEventArgs { fn clone(&self) -> Self { @@ -3322,7 +3322,7 @@ unsafe impl ::windows::core::Interface for SpatialTappedEventArgs { impl ::windows::core::RuntimeName for SpatialTappedEventArgs { const NAME: &'static str = "Windows.UI.Input.Spatial.SpatialTappedEventArgs"; } -::windows::core::interface_hierarchy!(SpatialTappedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SpatialTappedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SpatialTappedEventArgs {} unsafe impl ::core::marker::Sync for SpatialTappedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -3395,7 +3395,7 @@ impl ::core::ops::Not for SpatialGestureSettings { } } impl ::windows::core::RuntimeType for SpatialGestureSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialGestureSettings;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialGestureSettings;u4)"); } #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] @@ -3429,7 +3429,7 @@ impl ::core::fmt::Debug for SpatialInteractionPressKind { } } impl ::windows::core::RuntimeType for SpatialInteractionPressKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialInteractionPressKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialInteractionPressKind;i4)"); } #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] @@ -3460,7 +3460,7 @@ impl ::core::fmt::Debug for SpatialInteractionSourceHandedness { } } impl ::windows::core::RuntimeType for SpatialInteractionSourceHandedness { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness;i4)"); } #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] @@ -3492,7 +3492,7 @@ impl ::core::fmt::Debug for SpatialInteractionSourceKind { } } impl ::windows::core::RuntimeType for SpatialInteractionSourceKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialInteractionSourceKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialInteractionSourceKind;i4)"); } #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] @@ -3522,7 +3522,7 @@ impl ::core::fmt::Debug for SpatialInteractionSourcePositionAccuracy { } } impl ::windows::core::RuntimeType for SpatialInteractionSourcePositionAccuracy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialInteractionSourcePositionAccuracy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.Spatial.SpatialInteractionSourcePositionAccuracy;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Input/mod.rs index 967dd6731d..e8814dcb37 100644 --- a/crates/libs/windows/src/Windows/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/mod.rs @@ -990,7 +990,7 @@ impl IPointerPointTransform { } } } -::windows::core::interface_hierarchy!(IPointerPointTransform, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPointerPointTransform, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPointerPointTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1003,7 +1003,7 @@ impl ::core::fmt::Debug for IPointerPointTransform { } } impl ::windows::core::RuntimeType for IPointerPointTransform { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4d5fe14f-b87c-4028-bc9c-59e9947fb056}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4d5fe14f-b87c-4028-bc9c-59e9947fb056}"); } unsafe impl ::windows::core::Vtable for IPointerPointTransform { type Vtable = IPointerPointTransform_Vtbl; @@ -2017,7 +2017,7 @@ impl ::core::fmt::Debug for AttachableInputObject { } } impl ::windows::core::RuntimeType for AttachableInputObject { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.AttachableInputObject;{9b822734-a3c1-542a-b2f4-0e32b773fb07})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.AttachableInputObject;{9b822734-a3c1-542a-b2f4-0e32b773fb07})"); } impl ::core::clone::Clone for AttachableInputObject { fn clone(&self) -> Self { @@ -2033,7 +2033,7 @@ unsafe impl ::windows::core::Interface for AttachableInputObject { impl ::windows::core::RuntimeName for AttachableInputObject { const NAME: &'static str = "Windows.UI.Input.AttachableInputObject"; } -::windows::core::interface_hierarchy!(AttachableInputObject, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AttachableInputObject, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2107,7 +2107,7 @@ impl ::core::fmt::Debug for CrossSlidingEventArgs { } } impl ::windows::core::RuntimeType for CrossSlidingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.CrossSlidingEventArgs;{e9374738-6f88-41d9-8720-78e08e398349})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.CrossSlidingEventArgs;{e9374738-6f88-41d9-8720-78e08e398349})"); } impl ::core::clone::Clone for CrossSlidingEventArgs { fn clone(&self) -> Self { @@ -2123,7 +2123,7 @@ unsafe impl ::windows::core::Interface for CrossSlidingEventArgs { impl ::windows::core::RuntimeName for CrossSlidingEventArgs { const NAME: &'static str = "Windows.UI.Input.CrossSlidingEventArgs"; } -::windows::core::interface_hierarchy!(CrossSlidingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CrossSlidingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct DraggingEventArgs(::windows::core::IUnknown); @@ -2173,7 +2173,7 @@ impl ::core::fmt::Debug for DraggingEventArgs { } } impl ::windows::core::RuntimeType for DraggingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.DraggingEventArgs;{1c905384-083c-4bd3-b559-179cddeb33ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.DraggingEventArgs;{1c905384-083c-4bd3-b559-179cddeb33ec})"); } impl ::core::clone::Clone for DraggingEventArgs { fn clone(&self) -> Self { @@ -2189,7 +2189,7 @@ unsafe impl ::windows::core::Interface for DraggingEventArgs { impl ::windows::core::RuntimeName for DraggingEventArgs { const NAME: &'static str = "Windows.UI.Input.DraggingEventArgs"; } -::windows::core::interface_hierarchy!(DraggingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DraggingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct EdgeGesture(::windows::core::IUnknown); @@ -2247,7 +2247,7 @@ impl EdgeGesture { } #[doc(hidden)] pub fn IEdgeGestureStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2263,7 +2263,7 @@ impl ::core::fmt::Debug for EdgeGesture { } } impl ::windows::core::RuntimeType for EdgeGesture { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.EdgeGesture;{580d5292-2ab1-49aa-a7f0-33bd3f8df9f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.EdgeGesture;{580d5292-2ab1-49aa-a7f0-33bd3f8df9f1})"); } impl ::core::clone::Clone for EdgeGesture { fn clone(&self) -> Self { @@ -2279,7 +2279,7 @@ unsafe impl ::windows::core::Interface for EdgeGesture { impl ::windows::core::RuntimeName for EdgeGesture { const NAME: &'static str = "Windows.UI.Input.EdgeGesture"; } -::windows::core::interface_hierarchy!(EdgeGesture, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EdgeGesture, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct EdgeGestureEventArgs(::windows::core::IUnknown); @@ -2304,7 +2304,7 @@ impl ::core::fmt::Debug for EdgeGestureEventArgs { } } impl ::windows::core::RuntimeType for EdgeGestureEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.EdgeGestureEventArgs;{44fa4a24-2d09-42e1-8b5e-368208796a4c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.EdgeGestureEventArgs;{44fa4a24-2d09-42e1-8b5e-368208796a4c})"); } impl ::core::clone::Clone for EdgeGestureEventArgs { fn clone(&self) -> Self { @@ -2320,7 +2320,7 @@ unsafe impl ::windows::core::Interface for EdgeGestureEventArgs { impl ::windows::core::RuntimeName for EdgeGestureEventArgs { const NAME: &'static str = "Windows.UI.Input.EdgeGestureEventArgs"; } -::windows::core::interface_hierarchy!(EdgeGestureEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EdgeGestureEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct GestureRecognizer(::windows::core::IUnknown); @@ -2328,8 +2328,8 @@ impl GestureRecognizer { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn GestureSettings(&self) -> ::windows::core::Result { @@ -2799,7 +2799,7 @@ impl ::core::fmt::Debug for GestureRecognizer { } } impl ::windows::core::RuntimeType for GestureRecognizer { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.GestureRecognizer;{b47a37bf-3d6b-4f88-83e8-6dcb4012ffb0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.GestureRecognizer;{b47a37bf-3d6b-4f88-83e8-6dcb4012ffb0})"); } impl ::core::clone::Clone for GestureRecognizer { fn clone(&self) -> Self { @@ -2815,7 +2815,7 @@ unsafe impl ::windows::core::Interface for GestureRecognizer { impl ::windows::core::RuntimeName for GestureRecognizer { const NAME: &'static str = "Windows.UI.Input.GestureRecognizer"; } -::windows::core::interface_hierarchy!(GestureRecognizer, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(GestureRecognizer, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct HoldingEventArgs(::windows::core::IUnknown); @@ -2872,7 +2872,7 @@ impl ::core::fmt::Debug for HoldingEventArgs { } } impl ::windows::core::RuntimeType for HoldingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.HoldingEventArgs;{2bf755c5-e799-41b4-bb40-242f40959b71})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.HoldingEventArgs;{2bf755c5-e799-41b4-bb40-242f40959b71})"); } impl ::core::clone::Clone for HoldingEventArgs { fn clone(&self) -> Self { @@ -2888,7 +2888,7 @@ unsafe impl ::windows::core::Interface for HoldingEventArgs { impl ::windows::core::RuntimeName for HoldingEventArgs { const NAME: &'static str = "Windows.UI.Input.HoldingEventArgs"; } -::windows::core::interface_hierarchy!(HoldingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HoldingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct InputActivationListener(::windows::core::IUnknown); @@ -2934,7 +2934,7 @@ impl ::core::fmt::Debug for InputActivationListener { } } impl ::windows::core::RuntimeType for InputActivationListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.InputActivationListener;{5d6d4ed2-28c7-5ae3-aa74-c918a9f243ca})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.InputActivationListener;{5d6d4ed2-28c7-5ae3-aa74-c918a9f243ca})"); } impl ::core::clone::Clone for InputActivationListener { fn clone(&self) -> Self { @@ -2950,7 +2950,7 @@ unsafe impl ::windows::core::Interface for InputActivationListener { impl ::windows::core::RuntimeName for InputActivationListener { const NAME: &'static str = "Windows.UI.Input.InputActivationListener"; } -::windows::core::interface_hierarchy!(InputActivationListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InputActivationListener, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3014,7 +3014,7 @@ impl ::core::fmt::Debug for InputActivationListenerActivationChangedEventArgs { } } impl ::windows::core::RuntimeType for InputActivationListenerActivationChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.InputActivationListenerActivationChangedEventArgs;{7699b465-1dcf-5791-b4b9-6cafbeed2056})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.InputActivationListenerActivationChangedEventArgs;{7699b465-1dcf-5791-b4b9-6cafbeed2056})"); } impl ::core::clone::Clone for InputActivationListenerActivationChangedEventArgs { fn clone(&self) -> Self { @@ -3030,7 +3030,7 @@ unsafe impl ::windows::core::Interface for InputActivationListenerActivationChan impl ::windows::core::RuntimeName for InputActivationListenerActivationChangedEventArgs { const NAME: &'static str = "Windows.UI.Input.InputActivationListenerActivationChangedEventArgs"; } -::windows::core::interface_hierarchy!(InputActivationListenerActivationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InputActivationListenerActivationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for InputActivationListenerActivationChangedEventArgs {} unsafe impl ::core::marker::Sync for InputActivationListenerActivationChangedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -3086,7 +3086,7 @@ impl KeyboardDeliveryInterceptor { } #[doc(hidden)] pub fn IKeyboardDeliveryInterceptorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3102,7 +3102,7 @@ impl ::core::fmt::Debug for KeyboardDeliveryInterceptor { } } impl ::windows::core::RuntimeType for KeyboardDeliveryInterceptor { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.KeyboardDeliveryInterceptor;{b4baf068-8f49-446c-8db5-8c0ffe85cc9e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.KeyboardDeliveryInterceptor;{b4baf068-8f49-446c-8db5-8c0ffe85cc9e})"); } impl ::core::clone::Clone for KeyboardDeliveryInterceptor { fn clone(&self) -> Self { @@ -3118,7 +3118,7 @@ unsafe impl ::windows::core::Interface for KeyboardDeliveryInterceptor { impl ::windows::core::RuntimeName for KeyboardDeliveryInterceptor { const NAME: &'static str = "Windows.UI.Input.KeyboardDeliveryInterceptor"; } -::windows::core::interface_hierarchy!(KeyboardDeliveryInterceptor, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(KeyboardDeliveryInterceptor, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for KeyboardDeliveryInterceptor {} unsafe impl ::core::marker::Sync for KeyboardDeliveryInterceptor {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -3188,7 +3188,7 @@ impl ::core::fmt::Debug for ManipulationCompletedEventArgs { } } impl ::windows::core::RuntimeType for ManipulationCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationCompletedEventArgs;{b34ab22b-d19b-46ff-9f38-dec7754bb9e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationCompletedEventArgs;{b34ab22b-d19b-46ff-9f38-dec7754bb9e7})"); } impl ::core::clone::Clone for ManipulationCompletedEventArgs { fn clone(&self) -> Self { @@ -3204,7 +3204,7 @@ unsafe impl ::windows::core::Interface for ManipulationCompletedEventArgs { impl ::windows::core::RuntimeName for ManipulationCompletedEventArgs { const NAME: &'static str = "Windows.UI.Input.ManipulationCompletedEventArgs"; } -::windows::core::interface_hierarchy!(ManipulationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ManipulationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct ManipulationInertiaStartingEventArgs(::windows::core::IUnknown); @@ -3274,7 +3274,7 @@ impl ::core::fmt::Debug for ManipulationInertiaStartingEventArgs { } } impl ::windows::core::RuntimeType for ManipulationInertiaStartingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationInertiaStartingEventArgs;{dd37a898-26bf-467a-9ce5-ccf3fb11371e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationInertiaStartingEventArgs;{dd37a898-26bf-467a-9ce5-ccf3fb11371e})"); } impl ::core::clone::Clone for ManipulationInertiaStartingEventArgs { fn clone(&self) -> Self { @@ -3290,7 +3290,7 @@ unsafe impl ::windows::core::Interface for ManipulationInertiaStartingEventArgs impl ::windows::core::RuntimeName for ManipulationInertiaStartingEventArgs { const NAME: &'static str = "Windows.UI.Input.ManipulationInertiaStartingEventArgs"; } -::windows::core::interface_hierarchy!(ManipulationInertiaStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ManipulationInertiaStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct ManipulationStartedEventArgs(::windows::core::IUnknown); @@ -3342,7 +3342,7 @@ impl ::core::fmt::Debug for ManipulationStartedEventArgs { } } impl ::windows::core::RuntimeType for ManipulationStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationStartedEventArgs;{ddec873e-cfce-4932-8c1d-3c3d011a34c0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationStartedEventArgs;{ddec873e-cfce-4932-8c1d-3c3d011a34c0})"); } impl ::core::clone::Clone for ManipulationStartedEventArgs { fn clone(&self) -> Self { @@ -3358,7 +3358,7 @@ unsafe impl ::windows::core::Interface for ManipulationStartedEventArgs { impl ::windows::core::RuntimeName for ManipulationStartedEventArgs { const NAME: &'static str = "Windows.UI.Input.ManipulationStartedEventArgs"; } -::windows::core::interface_hierarchy!(ManipulationStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ManipulationStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct ManipulationUpdatedEventArgs(::windows::core::IUnknown); @@ -3435,7 +3435,7 @@ impl ::core::fmt::Debug for ManipulationUpdatedEventArgs { } } impl ::windows::core::RuntimeType for ManipulationUpdatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationUpdatedEventArgs;{cb354ce5-abb8-4f9f-b3ce-8181aa61ad82})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationUpdatedEventArgs;{cb354ce5-abb8-4f9f-b3ce-8181aa61ad82})"); } impl ::core::clone::Clone for ManipulationUpdatedEventArgs { fn clone(&self) -> Self { @@ -3451,7 +3451,7 @@ unsafe impl ::windows::core::Interface for ManipulationUpdatedEventArgs { impl ::windows::core::RuntimeName for ManipulationUpdatedEventArgs { const NAME: &'static str = "Windows.UI.Input.ManipulationUpdatedEventArgs"; } -::windows::core::interface_hierarchy!(ManipulationUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ManipulationUpdatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct MouseWheelParameters(::windows::core::IUnknown); @@ -3521,7 +3521,7 @@ impl ::core::fmt::Debug for MouseWheelParameters { } } impl ::windows::core::RuntimeType for MouseWheelParameters { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.MouseWheelParameters;{ead0ca44-9ded-4037-8149-5e4cc2564468})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.MouseWheelParameters;{ead0ca44-9ded-4037-8149-5e4cc2564468})"); } impl ::core::clone::Clone for MouseWheelParameters { fn clone(&self) -> Self { @@ -3537,7 +3537,7 @@ unsafe impl ::windows::core::Interface for MouseWheelParameters { impl ::windows::core::RuntimeName for MouseWheelParameters { const NAME: &'static str = "Windows.UI.Input.MouseWheelParameters"; } -::windows::core::interface_hierarchy!(MouseWheelParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MouseWheelParameters, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct PointerPoint(::windows::core::IUnknown); @@ -3642,7 +3642,7 @@ impl PointerPoint { } #[doc(hidden)] pub fn IPointerPointStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3658,7 +3658,7 @@ impl ::core::fmt::Debug for PointerPoint { } } impl ::windows::core::RuntimeType for PointerPoint { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerPoint;{e995317d-7296-42d9-8233-c5be73b74a4a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerPoint;{e995317d-7296-42d9-8233-c5be73b74a4a})"); } impl ::core::clone::Clone for PointerPoint { fn clone(&self) -> Self { @@ -3674,7 +3674,7 @@ unsafe impl ::windows::core::Interface for PointerPoint { impl ::windows::core::RuntimeName for PointerPoint { const NAME: &'static str = "Windows.UI.Input.PointerPoint"; } -::windows::core::interface_hierarchy!(PointerPoint, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PointerPoint, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct PointerPointProperties(::windows::core::IUnknown); @@ -3873,7 +3873,7 @@ impl ::core::fmt::Debug for PointerPointProperties { } } impl ::windows::core::RuntimeType for PointerPointProperties { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerPointProperties;{c79d8a4b-c163-4ee7-803f-67ce79f9972d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerPointProperties;{c79d8a4b-c163-4ee7-803f-67ce79f9972d})"); } impl ::core::clone::Clone for PointerPointProperties { fn clone(&self) -> Self { @@ -3889,7 +3889,7 @@ unsafe impl ::windows::core::Interface for PointerPointProperties { impl ::windows::core::RuntimeName for PointerPointProperties { const NAME: &'static str = "Windows.UI.Input.PointerPointProperties"; } -::windows::core::interface_hierarchy!(PointerPointProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PointerPointProperties, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct PointerVisualizationSettings(::windows::core::IUnknown); @@ -3924,7 +3924,7 @@ impl PointerVisualizationSettings { } #[doc(hidden)] pub fn IPointerVisualizationSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3940,7 +3940,7 @@ impl ::core::fmt::Debug for PointerVisualizationSettings { } } impl ::windows::core::RuntimeType for PointerVisualizationSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerVisualizationSettings;{4d1e6461-84f7-499d-bd91-2a36e2b7aaa2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerVisualizationSettings;{4d1e6461-84f7-499d-bd91-2a36e2b7aaa2})"); } impl ::core::clone::Clone for PointerVisualizationSettings { fn clone(&self) -> Self { @@ -3956,7 +3956,7 @@ unsafe impl ::windows::core::Interface for PointerVisualizationSettings { impl ::windows::core::RuntimeName for PointerVisualizationSettings { const NAME: &'static str = "Windows.UI.Input.PointerVisualizationSettings"; } -::windows::core::interface_hierarchy!(PointerVisualizationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PointerVisualizationSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for PointerVisualizationSettings {} unsafe impl ::core::marker::Sync for PointerVisualizationSettings {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4156,7 +4156,7 @@ impl RadialController { } #[doc(hidden)] pub fn IRadialControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4172,7 +4172,7 @@ impl ::core::fmt::Debug for RadialController { } } impl ::windows::core::RuntimeType for RadialController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialController;{3055d1c8-df51-43d4-b23b-0e1037467a09})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialController;{3055d1c8-df51-43d4-b23b-0e1037467a09})"); } impl ::core::clone::Clone for RadialController { fn clone(&self) -> Self { @@ -4188,7 +4188,7 @@ unsafe impl ::windows::core::Interface for RadialController { impl ::windows::core::RuntimeName for RadialController { const NAME: &'static str = "Windows.UI.Input.RadialController"; } -::windows::core::interface_hierarchy!(RadialController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialController {} unsafe impl ::core::marker::Sync for RadialController {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4224,7 +4224,7 @@ impl ::core::fmt::Debug for RadialControllerButtonClickedEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerButtonClickedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonClickedEventArgs;{206aa438-e651-11e5-bf62-2c27d7404e85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonClickedEventArgs;{206aa438-e651-11e5-bf62-2c27d7404e85})"); } impl ::core::clone::Clone for RadialControllerButtonClickedEventArgs { fn clone(&self) -> Self { @@ -4240,7 +4240,7 @@ unsafe impl ::windows::core::Interface for RadialControllerButtonClickedEventArg impl ::windows::core::RuntimeName for RadialControllerButtonClickedEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerButtonClickedEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerButtonClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerButtonClickedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerButtonClickedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerButtonClickedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4276,7 +4276,7 @@ impl ::core::fmt::Debug for RadialControllerButtonHoldingEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerButtonHoldingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonHoldingEventArgs;{3d577eee-3cee-11e6-b535-001bdc06ab3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonHoldingEventArgs;{3d577eee-3cee-11e6-b535-001bdc06ab3b})"); } impl ::core::clone::Clone for RadialControllerButtonHoldingEventArgs { fn clone(&self) -> Self { @@ -4292,7 +4292,7 @@ unsafe impl ::windows::core::Interface for RadialControllerButtonHoldingEventArg impl ::windows::core::RuntimeName for RadialControllerButtonHoldingEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerButtonHoldingEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerButtonHoldingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerButtonHoldingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerButtonHoldingEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerButtonHoldingEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4328,7 +4328,7 @@ impl ::core::fmt::Debug for RadialControllerButtonPressedEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerButtonPressedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonPressedEventArgs;{3d577eed-4cee-11e6-b535-001bdc06ab3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonPressedEventArgs;{3d577eed-4cee-11e6-b535-001bdc06ab3b})"); } impl ::core::clone::Clone for RadialControllerButtonPressedEventArgs { fn clone(&self) -> Self { @@ -4344,7 +4344,7 @@ unsafe impl ::windows::core::Interface for RadialControllerButtonPressedEventArg impl ::windows::core::RuntimeName for RadialControllerButtonPressedEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerButtonPressedEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerButtonPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerButtonPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerButtonPressedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerButtonPressedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4380,7 +4380,7 @@ impl ::core::fmt::Debug for RadialControllerButtonReleasedEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerButtonReleasedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonReleasedEventArgs;{3d577eef-3cee-11e6-b535-001bdc06ab3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonReleasedEventArgs;{3d577eef-3cee-11e6-b535-001bdc06ab3b})"); } impl ::core::clone::Clone for RadialControllerButtonReleasedEventArgs { fn clone(&self) -> Self { @@ -4396,7 +4396,7 @@ unsafe impl ::windows::core::Interface for RadialControllerButtonReleasedEventAr impl ::windows::core::RuntimeName for RadialControllerButtonReleasedEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerButtonReleasedEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerButtonReleasedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerButtonReleasedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerButtonReleasedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerButtonReleasedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4472,12 +4472,12 @@ impl RadialControllerConfiguration { } #[doc(hidden)] pub fn IRadialControllerConfigurationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRadialControllerConfigurationStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4493,7 +4493,7 @@ impl ::core::fmt::Debug for RadialControllerConfiguration { } } impl ::windows::core::RuntimeType for RadialControllerConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerConfiguration;{a6b79ecb-6a52-4430-910c-56370a9d6b42})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerConfiguration;{a6b79ecb-6a52-4430-910c-56370a9d6b42})"); } impl ::core::clone::Clone for RadialControllerConfiguration { fn clone(&self) -> Self { @@ -4509,7 +4509,7 @@ unsafe impl ::windows::core::Interface for RadialControllerConfiguration { impl ::windows::core::RuntimeName for RadialControllerConfiguration { const NAME: &'static str = "Windows.UI.Input.RadialControllerConfiguration"; } -::windows::core::interface_hierarchy!(RadialControllerConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerConfiguration {} unsafe impl ::core::marker::Sync for RadialControllerConfiguration {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4552,7 +4552,7 @@ impl ::core::fmt::Debug for RadialControllerControlAcquiredEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerControlAcquiredEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerControlAcquiredEventArgs;{206aa439-e651-11e5-bf62-2c27d7404e85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerControlAcquiredEventArgs;{206aa439-e651-11e5-bf62-2c27d7404e85})"); } impl ::core::clone::Clone for RadialControllerControlAcquiredEventArgs { fn clone(&self) -> Self { @@ -4568,7 +4568,7 @@ unsafe impl ::windows::core::Interface for RadialControllerControlAcquiredEventA impl ::windows::core::RuntimeName for RadialControllerControlAcquiredEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerControlAcquiredEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerControlAcquiredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerControlAcquiredEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerControlAcquiredEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerControlAcquiredEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4626,7 +4626,7 @@ impl ::core::fmt::Debug for RadialControllerMenu { } } impl ::windows::core::RuntimeType for RadialControllerMenu { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerMenu;{8506b35d-f640-4412-aba0-bad077e5ea8a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerMenu;{8506b35d-f640-4412-aba0-bad077e5ea8a})"); } impl ::core::clone::Clone for RadialControllerMenu { fn clone(&self) -> Self { @@ -4642,7 +4642,7 @@ unsafe impl ::windows::core::Interface for RadialControllerMenu { impl ::windows::core::RuntimeName for RadialControllerMenu { const NAME: &'static str = "Windows.UI.Input.RadialControllerMenu"; } -::windows::core::interface_hierarchy!(RadialControllerMenu, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerMenu, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerMenu {} unsafe impl ::core::marker::Sync for RadialControllerMenu {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4715,12 +4715,12 @@ impl RadialControllerMenuItem { } #[doc(hidden)] pub fn IRadialControllerMenuItemStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IRadialControllerMenuItemStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4736,7 +4736,7 @@ impl ::core::fmt::Debug for RadialControllerMenuItem { } } impl ::windows::core::RuntimeType for RadialControllerMenuItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerMenuItem;{c80fc98d-ad0b-4c9c-8f2f-136a2373a6ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerMenuItem;{c80fc98d-ad0b-4c9c-8f2f-136a2373a6ba})"); } impl ::core::clone::Clone for RadialControllerMenuItem { fn clone(&self) -> Self { @@ -4752,7 +4752,7 @@ unsafe impl ::windows::core::Interface for RadialControllerMenuItem { impl ::windows::core::RuntimeName for RadialControllerMenuItem { const NAME: &'static str = "Windows.UI.Input.RadialControllerMenuItem"; } -::windows::core::interface_hierarchy!(RadialControllerMenuItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerMenuItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerMenuItem {} unsafe impl ::core::marker::Sync for RadialControllerMenuItem {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4802,7 +4802,7 @@ impl ::core::fmt::Debug for RadialControllerRotationChangedEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerRotationChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerRotationChangedEventArgs;{206aa435-e651-11e5-bf62-2c27d7404e85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerRotationChangedEventArgs;{206aa435-e651-11e5-bf62-2c27d7404e85})"); } impl ::core::clone::Clone for RadialControllerRotationChangedEventArgs { fn clone(&self) -> Self { @@ -4818,7 +4818,7 @@ unsafe impl ::windows::core::Interface for RadialControllerRotationChangedEventA impl ::windows::core::RuntimeName for RadialControllerRotationChangedEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerRotationChangedEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerRotationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerRotationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerRotationChangedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerRotationChangedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4856,7 +4856,7 @@ impl ::core::fmt::Debug for RadialControllerScreenContact { } } impl ::windows::core::RuntimeType for RadialControllerScreenContact { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContact;{206aa434-e651-11e5-bf62-2c27d7404e85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContact;{206aa434-e651-11e5-bf62-2c27d7404e85})"); } impl ::core::clone::Clone for RadialControllerScreenContact { fn clone(&self) -> Self { @@ -4872,7 +4872,7 @@ unsafe impl ::windows::core::Interface for RadialControllerScreenContact { impl ::windows::core::RuntimeName for RadialControllerScreenContact { const NAME: &'static str = "Windows.UI.Input.RadialControllerScreenContact"; } -::windows::core::interface_hierarchy!(RadialControllerScreenContact, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerScreenContact, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerScreenContact {} unsafe impl ::core::marker::Sync for RadialControllerScreenContact {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4915,7 +4915,7 @@ impl ::core::fmt::Debug for RadialControllerScreenContactContinuedEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerScreenContactContinuedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactContinuedEventArgs;{206aa437-e651-11e5-bf62-2c27d7404e85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactContinuedEventArgs;{206aa437-e651-11e5-bf62-2c27d7404e85})"); } impl ::core::clone::Clone for RadialControllerScreenContactContinuedEventArgs { fn clone(&self) -> Self { @@ -4931,7 +4931,7 @@ unsafe impl ::windows::core::Interface for RadialControllerScreenContactContinue impl ::windows::core::RuntimeName for RadialControllerScreenContactContinuedEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerScreenContactContinuedEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerScreenContactContinuedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerScreenContactContinuedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerScreenContactContinuedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerScreenContactContinuedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -4967,7 +4967,7 @@ impl ::core::fmt::Debug for RadialControllerScreenContactEndedEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerScreenContactEndedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactEndedEventArgs;{3d577ef2-3cee-11e6-b535-001bdc06ab3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactEndedEventArgs;{3d577ef2-3cee-11e6-b535-001bdc06ab3b})"); } impl ::core::clone::Clone for RadialControllerScreenContactEndedEventArgs { fn clone(&self) -> Self { @@ -4983,7 +4983,7 @@ unsafe impl ::windows::core::Interface for RadialControllerScreenContactEndedEve impl ::windows::core::RuntimeName for RadialControllerScreenContactEndedEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerScreenContactEndedEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerScreenContactEndedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerScreenContactEndedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerScreenContactEndedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerScreenContactEndedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -5026,7 +5026,7 @@ impl ::core::fmt::Debug for RadialControllerScreenContactStartedEventArgs { } } impl ::windows::core::RuntimeType for RadialControllerScreenContactStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactStartedEventArgs;{206aa436-e651-11e5-bf62-2c27d7404e85})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactStartedEventArgs;{206aa436-e651-11e5-bf62-2c27d7404e85})"); } impl ::core::clone::Clone for RadialControllerScreenContactStartedEventArgs { fn clone(&self) -> Self { @@ -5042,7 +5042,7 @@ unsafe impl ::windows::core::Interface for RadialControllerScreenContactStartedE impl ::windows::core::RuntimeName for RadialControllerScreenContactStartedEventArgs { const NAME: &'static str = "Windows.UI.Input.RadialControllerScreenContactStartedEventArgs"; } -::windows::core::interface_hierarchy!(RadialControllerScreenContactStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RadialControllerScreenContactStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RadialControllerScreenContactStartedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerScreenContactStartedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -5087,7 +5087,7 @@ impl ::core::fmt::Debug for RightTappedEventArgs { } } impl ::windows::core::RuntimeType for RightTappedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RightTappedEventArgs;{4cbf40bd-af7a-4a36-9476-b1dce141709a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RightTappedEventArgs;{4cbf40bd-af7a-4a36-9476-b1dce141709a})"); } impl ::core::clone::Clone for RightTappedEventArgs { fn clone(&self) -> Self { @@ -5103,7 +5103,7 @@ unsafe impl ::windows::core::Interface for RightTappedEventArgs { impl ::windows::core::RuntimeName for RightTappedEventArgs { const NAME: &'static str = "Windows.UI.Input.RightTappedEventArgs"; } -::windows::core::interface_hierarchy!(RightTappedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RightTappedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] pub struct SystemButtonEventController(::windows::core::IUnknown); @@ -5184,7 +5184,7 @@ impl SystemButtonEventController { } #[doc(hidden)] pub fn ISystemButtonEventControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5200,7 +5200,7 @@ impl ::core::fmt::Debug for SystemButtonEventController { } } impl ::windows::core::RuntimeType for SystemButtonEventController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemButtonEventController;{59b893a9-73bc-52b5-ba41-82511b2cb46c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemButtonEventController;{59b893a9-73bc-52b5-ba41-82511b2cb46c})"); } impl ::core::clone::Clone for SystemButtonEventController { fn clone(&self) -> Self { @@ -5216,7 +5216,7 @@ unsafe impl ::windows::core::Interface for SystemButtonEventController { impl ::windows::core::RuntimeName for SystemButtonEventController { const NAME: &'static str = "Windows.UI.Input.SystemButtonEventController"; } -::windows::core::interface_hierarchy!(SystemButtonEventController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemButtonEventController, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -5291,7 +5291,7 @@ impl ::core::fmt::Debug for SystemFunctionButtonEventArgs { } } impl ::windows::core::RuntimeType for SystemFunctionButtonEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionButtonEventArgs;{4833896f-80d1-5dd6-92a7-62a508ffef5a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionButtonEventArgs;{4833896f-80d1-5dd6-92a7-62a508ffef5a})"); } impl ::core::clone::Clone for SystemFunctionButtonEventArgs { fn clone(&self) -> Self { @@ -5307,7 +5307,7 @@ unsafe impl ::windows::core::Interface for SystemFunctionButtonEventArgs { impl ::windows::core::RuntimeName for SystemFunctionButtonEventArgs { const NAME: &'static str = "Windows.UI.Input.SystemFunctionButtonEventArgs"; } -::windows::core::interface_hierarchy!(SystemFunctionButtonEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemFunctionButtonEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemFunctionButtonEventArgs {} unsafe impl ::core::marker::Sync for SystemFunctionButtonEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -5352,7 +5352,7 @@ impl ::core::fmt::Debug for SystemFunctionLockChangedEventArgs { } } impl ::windows::core::RuntimeType for SystemFunctionLockChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionLockChangedEventArgs;{cd040608-fcf9-585c-beab-f1d2eaf364ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionLockChangedEventArgs;{cd040608-fcf9-585c-beab-f1d2eaf364ab})"); } impl ::core::clone::Clone for SystemFunctionLockChangedEventArgs { fn clone(&self) -> Self { @@ -5368,7 +5368,7 @@ unsafe impl ::windows::core::Interface for SystemFunctionLockChangedEventArgs { impl ::windows::core::RuntimeName for SystemFunctionLockChangedEventArgs { const NAME: &'static str = "Windows.UI.Input.SystemFunctionLockChangedEventArgs"; } -::windows::core::interface_hierarchy!(SystemFunctionLockChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemFunctionLockChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemFunctionLockChangedEventArgs {} unsafe impl ::core::marker::Sync for SystemFunctionLockChangedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -5413,7 +5413,7 @@ impl ::core::fmt::Debug for SystemFunctionLockIndicatorChangedEventArgs { } } impl ::windows::core::RuntimeType for SystemFunctionLockIndicatorChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionLockIndicatorChangedEventArgs;{b212b94e-7a6f-58ae-b304-bae61d0371b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionLockIndicatorChangedEventArgs;{b212b94e-7a6f-58ae-b304-bae61d0371b9})"); } impl ::core::clone::Clone for SystemFunctionLockIndicatorChangedEventArgs { fn clone(&self) -> Self { @@ -5429,7 +5429,7 @@ unsafe impl ::windows::core::Interface for SystemFunctionLockIndicatorChangedEve impl ::windows::core::RuntimeName for SystemFunctionLockIndicatorChangedEventArgs { const NAME: &'static str = "Windows.UI.Input.SystemFunctionLockIndicatorChangedEventArgs"; } -::windows::core::interface_hierarchy!(SystemFunctionLockIndicatorChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SystemFunctionLockIndicatorChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SystemFunctionLockIndicatorChangedEventArgs {} unsafe impl ::core::marker::Sync for SystemFunctionLockIndicatorChangedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] @@ -5481,7 +5481,7 @@ impl ::core::fmt::Debug for TappedEventArgs { } } impl ::windows::core::RuntimeType for TappedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Input.TappedEventArgs;{cfa126e4-253a-4c3c-953b-395c37aed309})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.TappedEventArgs;{cfa126e4-253a-4c3c-953b-395c37aed309})"); } impl ::core::clone::Clone for TappedEventArgs { fn clone(&self) -> Self { @@ -5497,7 +5497,7 @@ unsafe impl ::windows::core::Interface for TappedEventArgs { impl ::windows::core::RuntimeName for TappedEventArgs { const NAME: &'static str = "Windows.UI.Input.TappedEventArgs"; } -::windows::core::interface_hierarchy!(TappedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TappedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -5531,7 +5531,7 @@ impl ::core::fmt::Debug for CrossSlidingState { } } impl ::windows::core::RuntimeType for CrossSlidingState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.CrossSlidingState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.CrossSlidingState;i4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5562,7 +5562,7 @@ impl ::core::fmt::Debug for DraggingState { } } impl ::windows::core::RuntimeType for DraggingState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.DraggingState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.DraggingState;i4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5593,7 +5593,7 @@ impl ::core::fmt::Debug for EdgeGestureKind { } } impl ::windows::core::RuntimeType for EdgeGestureKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.EdgeGestureKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.EdgeGestureKind;i4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5625,7 +5625,7 @@ impl ::core::fmt::Debug for GazeInputAccessStatus { } } impl ::windows::core::RuntimeType for GazeInputAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.GazeInputAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.GazeInputAccessStatus;i4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5704,7 +5704,7 @@ impl ::core::ops::Not for GestureSettings { } } impl ::windows::core::RuntimeType for GestureSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.GestureSettings;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.GestureSettings;u4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5735,7 +5735,7 @@ impl ::core::fmt::Debug for HoldingState { } } impl ::windows::core::RuntimeType for HoldingState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.HoldingState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.HoldingState;i4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5767,7 +5767,7 @@ impl ::core::fmt::Debug for InputActivationState { } } impl ::windows::core::RuntimeType for InputActivationState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.InputActivationState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.InputActivationState;i4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5806,7 +5806,7 @@ impl ::core::fmt::Debug for PointerUpdateKind { } } impl ::windows::core::RuntimeType for PointerUpdateKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.PointerUpdateKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.PointerUpdateKind;i4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5843,7 +5843,7 @@ impl ::core::fmt::Debug for RadialControllerMenuKnownIcon { } } impl ::windows::core::RuntimeType for RadialControllerMenuKnownIcon { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.RadialControllerMenuKnownIcon;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.RadialControllerMenuKnownIcon;i4)"); } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] @@ -5876,7 +5876,7 @@ impl ::core::fmt::Debug for RadialControllerSystemMenuItemKind { } } impl ::windows::core::RuntimeType for RadialControllerSystemMenuItemKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Input.RadialControllerSystemMenuItemKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Input.RadialControllerSystemMenuItemKind;i4)"); } #[repr(C)] #[doc = "*Required features: `\"UI_Input\"`*"] @@ -5901,7 +5901,7 @@ impl ::windows::core::TypeKind for CrossSlideThresholds { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for CrossSlideThresholds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Input.CrossSlideThresholds;f4;f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Input.CrossSlideThresholds;f4;f4;f4;f4)"); } impl ::core::cmp::PartialEq for CrossSlideThresholds { fn eq(&self, other: &Self) -> bool { @@ -5943,7 +5943,7 @@ impl ::windows::core::TypeKind for ManipulationDelta { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for ManipulationDelta { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Input.ManipulationDelta;struct(Windows.Foundation.Point;f4;f4);f4;f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Input.ManipulationDelta;struct(Windows.Foundation.Point;f4;f4);f4;f4;f4)"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for ManipulationDelta { @@ -5987,7 +5987,7 @@ impl ::windows::core::TypeKind for ManipulationVelocities { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for ManipulationVelocities { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Input.ManipulationVelocities;struct(Windows.Foundation.Point;f4;f4);f4;f4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Input.ManipulationVelocities;struct(Windows.Foundation.Point;f4;f4);f4;f4)"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for ManipulationVelocities { diff --git a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs index e6528023ec..00816094d0 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs @@ -124,7 +124,7 @@ impl UserNotificationListener { } #[doc(hidden)] pub fn IUserNotificationListenerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -140,7 +140,7 @@ impl ::core::fmt::Debug for UserNotificationListener { } } impl ::windows::core::RuntimeType for UserNotificationListener { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.Management.UserNotificationListener;{62553e41-8a06-4cef-8215-6033a5be4b03})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.Management.UserNotificationListener;{62553e41-8a06-4cef-8215-6033a5be4b03})"); } impl ::core::clone::Clone for UserNotificationListener { fn clone(&self) -> Self { @@ -156,7 +156,7 @@ unsafe impl ::windows::core::Interface for UserNotificationListener { impl ::windows::core::RuntimeName for UserNotificationListener { const NAME: &'static str = "Windows.UI.Notifications.Management.UserNotificationListener"; } -::windows::core::interface_hierarchy!(UserNotificationListener, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserNotificationListener, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserNotificationListener {} unsafe impl ::core::marker::Sync for UserNotificationListener {} #[doc = "*Required features: `\"UI_Notifications_Management\"`*"] @@ -188,7 +188,7 @@ impl ::core::fmt::Debug for UserNotificationListenerAccessStatus { } } impl ::windows::core::RuntimeType for UserNotificationListenerAccessStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.Management.UserNotificationListenerAccessStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.Management.UserNotificationListenerAccessStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs index 5298c33904..6966c3f157 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -21,7 +21,7 @@ impl IAdaptiveNotificationContent { } } } -::windows::core::interface_hierarchy!(IAdaptiveNotificationContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAdaptiveNotificationContent, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAdaptiveNotificationContent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -34,7 +34,7 @@ impl ::core::fmt::Debug for IAdaptiveNotificationContent { } } impl ::windows::core::RuntimeType for IAdaptiveNotificationContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{eb0dbe66-7448-448d-9db8-d78acd2abba9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{eb0dbe66-7448-448d-9db8-d78acd2abba9}"); } unsafe impl ::windows::core::Vtable for IAdaptiveNotificationContent { type Vtable = IAdaptiveNotificationContent_Vtbl; @@ -1788,8 +1788,8 @@ impl AdaptiveNotificationText { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Kind(&self) -> ::windows::core::Result { @@ -1843,7 +1843,7 @@ impl ::core::fmt::Debug for AdaptiveNotificationText { } } impl ::windows::core::RuntimeType for AdaptiveNotificationText { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.AdaptiveNotificationText;{46d4a3be-609a-4326-a40b-bfde872034a3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.AdaptiveNotificationText;{46d4a3be-609a-4326-a40b-bfde872034a3})"); } impl ::core::clone::Clone for AdaptiveNotificationText { fn clone(&self) -> Self { @@ -1859,7 +1859,7 @@ unsafe impl ::windows::core::Interface for AdaptiveNotificationText { impl ::windows::core::RuntimeName for AdaptiveNotificationText { const NAME: &'static str = "Windows.UI.Notifications.AdaptiveNotificationText"; } -::windows::core::interface_hierarchy!(AdaptiveNotificationText, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AdaptiveNotificationText, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IAdaptiveNotificationContent { type Error = ::windows::core::Error; fn try_from(value: AdaptiveNotificationText) -> ::windows::core::Result { @@ -1923,7 +1923,7 @@ impl BadgeNotification { } #[doc(hidden)] pub fn IBadgeNotificationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1939,7 +1939,7 @@ impl ::core::fmt::Debug for BadgeNotification { } } impl ::windows::core::RuntimeType for BadgeNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeNotification;{075cb4ca-d08a-4e2f-9233-7e289c1f7722})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeNotification;{075cb4ca-d08a-4e2f-9233-7e289c1f7722})"); } impl ::core::clone::Clone for BadgeNotification { fn clone(&self) -> Self { @@ -1955,7 +1955,7 @@ unsafe impl ::windows::core::Interface for BadgeNotification { impl ::windows::core::RuntimeName for BadgeNotification { const NAME: &'static str = "Windows.UI.Notifications.BadgeNotification"; } -::windows::core::interface_hierarchy!(BadgeNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BadgeNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BadgeNotification {} unsafe impl ::core::marker::Sync for BadgeNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -1997,12 +1997,12 @@ impl BadgeUpdateManager { } #[doc(hidden)] pub fn IBadgeUpdateManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IBadgeUpdateManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2056,7 +2056,7 @@ impl ::core::fmt::Debug for BadgeUpdateManagerForUser { } } impl ::windows::core::RuntimeType for BadgeUpdateManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeUpdateManagerForUser;{996b21bc-0386-44e5-ba8d-0c1077a62e92})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeUpdateManagerForUser;{996b21bc-0386-44e5-ba8d-0c1077a62e92})"); } impl ::core::clone::Clone for BadgeUpdateManagerForUser { fn clone(&self) -> Self { @@ -2072,7 +2072,7 @@ unsafe impl ::windows::core::Interface for BadgeUpdateManagerForUser { impl ::windows::core::RuntimeName for BadgeUpdateManagerForUser { const NAME: &'static str = "Windows.UI.Notifications.BadgeUpdateManagerForUser"; } -::windows::core::interface_hierarchy!(BadgeUpdateManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BadgeUpdateManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BadgeUpdateManagerForUser {} unsafe impl ::core::marker::Sync for BadgeUpdateManagerForUser {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -2116,7 +2116,7 @@ impl ::core::fmt::Debug for BadgeUpdater { } } impl ::windows::core::RuntimeType for BadgeUpdater { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeUpdater;{b5fa1fd4-7562-4f6c-bfa3-1b6ed2e57f2f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeUpdater;{b5fa1fd4-7562-4f6c-bfa3-1b6ed2e57f2f})"); } impl ::core::clone::Clone for BadgeUpdater { fn clone(&self) -> Self { @@ -2132,7 +2132,7 @@ unsafe impl ::windows::core::Interface for BadgeUpdater { impl ::windows::core::RuntimeName for BadgeUpdater { const NAME: &'static str = "Windows.UI.Notifications.BadgeUpdater"; } -::windows::core::interface_hierarchy!(BadgeUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BadgeUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for BadgeUpdater {} unsafe impl ::core::marker::Sync for BadgeUpdater {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -2176,7 +2176,7 @@ impl KnownAdaptiveNotificationHints { } #[doc(hidden)] pub fn IKnownAdaptiveNotificationHintsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2302,7 +2302,7 @@ impl KnownAdaptiveNotificationTextStyles { } #[doc(hidden)] pub fn IKnownAdaptiveNotificationTextStylesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2320,7 +2320,7 @@ impl KnownNotificationBindings { } #[doc(hidden)] pub fn IKnownNotificationBindingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2334,8 +2334,8 @@ impl Notification { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2381,7 +2381,7 @@ impl ::core::fmt::Debug for Notification { } } impl ::windows::core::RuntimeType for Notification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.Notification;{108037fe-eb76-4f82-97bc-da07530a2e20})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.Notification;{108037fe-eb76-4f82-97bc-da07530a2e20})"); } impl ::core::clone::Clone for Notification { fn clone(&self) -> Self { @@ -2397,7 +2397,7 @@ unsafe impl ::windows::core::Interface for Notification { impl ::windows::core::RuntimeName for Notification { const NAME: &'static str = "Windows.UI.Notifications.Notification"; } -::windows::core::interface_hierarchy!(Notification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Notification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Notification {} unsafe impl ::core::marker::Sync for Notification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -2457,7 +2457,7 @@ impl ::core::fmt::Debug for NotificationBinding { } } impl ::windows::core::RuntimeType for NotificationBinding { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationBinding;{f29e4b85-0370-4ad3-b4ea-da9e35e7eabf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationBinding;{f29e4b85-0370-4ad3-b4ea-da9e35e7eabf})"); } impl ::core::clone::Clone for NotificationBinding { fn clone(&self) -> Self { @@ -2473,7 +2473,7 @@ unsafe impl ::windows::core::Interface for NotificationBinding { impl ::windows::core::RuntimeName for NotificationBinding { const NAME: &'static str = "Windows.UI.Notifications.NotificationBinding"; } -::windows::core::interface_hierarchy!(NotificationBinding, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NotificationBinding, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NotificationBinding {} unsafe impl ::core::marker::Sync for NotificationBinding {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -2483,8 +2483,8 @@ impl NotificationData { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2533,7 +2533,7 @@ impl NotificationData { } #[doc(hidden)] pub fn INotificationDataFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2549,7 +2549,7 @@ impl ::core::fmt::Debug for NotificationData { } } impl ::windows::core::RuntimeType for NotificationData { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationData;{9ffd2312-9d6a-4aaf-b6ac-ff17f0c1f280})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationData;{9ffd2312-9d6a-4aaf-b6ac-ff17f0c1f280})"); } impl ::core::clone::Clone for NotificationData { fn clone(&self) -> Self { @@ -2565,7 +2565,7 @@ unsafe impl ::windows::core::Interface for NotificationData { impl ::windows::core::RuntimeName for NotificationData { const NAME: &'static str = "Windows.UI.Notifications.NotificationData"; } -::windows::core::interface_hierarchy!(NotificationData, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NotificationData, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NotificationData {} unsafe impl ::core::marker::Sync for NotificationData {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -2612,7 +2612,7 @@ impl ::core::fmt::Debug for NotificationVisual { } } impl ::windows::core::RuntimeType for NotificationVisual { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationVisual;{68835b8e-aa56-4e11-86d3-5f9a6957bc5b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationVisual;{68835b8e-aa56-4e11-86d3-5f9a6957bc5b})"); } impl ::core::clone::Clone for NotificationVisual { fn clone(&self) -> Self { @@ -2628,7 +2628,7 @@ unsafe impl ::windows::core::Interface for NotificationVisual { impl ::windows::core::RuntimeName for NotificationVisual { const NAME: &'static str = "Windows.UI.Notifications.NotificationVisual"; } -::windows::core::interface_hierarchy!(NotificationVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NotificationVisual, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for NotificationVisual {} unsafe impl ::core::marker::Sync for NotificationVisual {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -2704,7 +2704,7 @@ impl ScheduledTileNotification { } #[doc(hidden)] pub fn IScheduledTileNotificationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2720,7 +2720,7 @@ impl ::core::fmt::Debug for ScheduledTileNotification { } } impl ::windows::core::RuntimeType for ScheduledTileNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledTileNotification;{0abca6d5-99dc-4c78-a11c-c9e7f86d7ef7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledTileNotification;{0abca6d5-99dc-4c78-a11c-c9e7f86d7ef7})"); } impl ::core::clone::Clone for ScheduledTileNotification { fn clone(&self) -> Self { @@ -2736,7 +2736,7 @@ unsafe impl ::windows::core::Interface for ScheduledTileNotification { impl ::windows::core::RuntimeName for ScheduledTileNotification { const NAME: &'static str = "Windows.UI.Notifications.ScheduledTileNotification"; } -::windows::core::interface_hierarchy!(ScheduledTileNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScheduledTileNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ScheduledTileNotification {} unsafe impl ::core::marker::Sync for ScheduledTileNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -2880,7 +2880,7 @@ impl ScheduledToastNotification { } #[doc(hidden)] pub fn IScheduledToastNotificationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2896,7 +2896,7 @@ impl ::core::fmt::Debug for ScheduledToastNotification { } } impl ::windows::core::RuntimeType for ScheduledToastNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledToastNotification;{79f577f8-0de7-48cd-9740-9b370490c838})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledToastNotification;{79f577f8-0de7-48cd-9740-9b370490c838})"); } impl ::core::clone::Clone for ScheduledToastNotification { fn clone(&self) -> Self { @@ -2912,7 +2912,7 @@ unsafe impl ::windows::core::Interface for ScheduledToastNotification { impl ::windows::core::RuntimeName for ScheduledToastNotification { const NAME: &'static str = "Windows.UI.Notifications.ScheduledToastNotification"; } -::windows::core::interface_hierarchy!(ScheduledToastNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScheduledToastNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ScheduledToastNotification {} unsafe impl ::core::marker::Sync for ScheduledToastNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -2959,7 +2959,7 @@ impl ::core::fmt::Debug for ScheduledToastNotificationShowingEventArgs { } } impl ::windows::core::RuntimeType for ScheduledToastNotificationShowingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledToastNotificationShowingEventArgs;{6173f6b4-412a-5e2c-a6ed-a0209aef9a09})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledToastNotificationShowingEventArgs;{6173f6b4-412a-5e2c-a6ed-a0209aef9a09})"); } impl ::core::clone::Clone for ScheduledToastNotificationShowingEventArgs { fn clone(&self) -> Self { @@ -2975,7 +2975,7 @@ unsafe impl ::windows::core::Interface for ScheduledToastNotificationShowingEven impl ::windows::core::RuntimeName for ScheduledToastNotificationShowingEventArgs { const NAME: &'static str = "Windows.UI.Notifications.ScheduledToastNotificationShowingEventArgs"; } -::windows::core::interface_hierarchy!(ScheduledToastNotificationShowingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ScheduledToastNotificationShowingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ScheduledToastNotificationShowingEventArgs {} unsafe impl ::core::marker::Sync for ScheduledToastNotificationShowingEventArgs {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3002,7 +3002,7 @@ impl ::core::fmt::Debug for ShownTileNotification { } } impl ::windows::core::RuntimeType for ShownTileNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ShownTileNotification;{342d8988-5af2-481a-a6a3-f2fdc78de88e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ShownTileNotification;{342d8988-5af2-481a-a6a3-f2fdc78de88e})"); } impl ::core::clone::Clone for ShownTileNotification { fn clone(&self) -> Self { @@ -3018,7 +3018,7 @@ unsafe impl ::windows::core::Interface for ShownTileNotification { impl ::windows::core::RuntimeName for ShownTileNotification { const NAME: &'static str = "Windows.UI.Notifications.ShownTileNotification"; } -::windows::core::interface_hierarchy!(ShownTileNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShownTileNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShownTileNotification {} unsafe impl ::core::marker::Sync for ShownTileNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3063,7 +3063,7 @@ impl TileFlyoutNotification { } #[doc(hidden)] pub fn ITileFlyoutNotificationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3079,7 +3079,7 @@ impl ::core::fmt::Debug for TileFlyoutNotification { } } impl ::windows::core::RuntimeType for TileFlyoutNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileFlyoutNotification;{9a53b261-c70c-42be-b2f3-f42aa97d34e5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileFlyoutNotification;{9a53b261-c70c-42be-b2f3-f42aa97d34e5})"); } impl ::core::clone::Clone for TileFlyoutNotification { fn clone(&self) -> Self { @@ -3095,7 +3095,7 @@ unsafe impl ::windows::core::Interface for TileFlyoutNotification { impl ::windows::core::RuntimeName for TileFlyoutNotification { const NAME: &'static str = "Windows.UI.Notifications.TileFlyoutNotification"; } -::windows::core::interface_hierarchy!(TileFlyoutNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TileFlyoutNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TileFlyoutNotification {} unsafe impl ::core::marker::Sync for TileFlyoutNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3129,7 +3129,7 @@ impl TileFlyoutUpdateManager { } #[doc(hidden)] pub fn ITileFlyoutUpdateManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3184,7 +3184,7 @@ impl ::core::fmt::Debug for TileFlyoutUpdater { } } impl ::windows::core::RuntimeType for TileFlyoutUpdater { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileFlyoutUpdater;{8d40c76a-c465-4052-a740-5c2654c1a089})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileFlyoutUpdater;{8d40c76a-c465-4052-a740-5c2654c1a089})"); } impl ::core::clone::Clone for TileFlyoutUpdater { fn clone(&self) -> Self { @@ -3200,7 +3200,7 @@ unsafe impl ::windows::core::Interface for TileFlyoutUpdater { impl ::windows::core::RuntimeName for TileFlyoutUpdater { const NAME: &'static str = "Windows.UI.Notifications.TileFlyoutUpdater"; } -::windows::core::interface_hierarchy!(TileFlyoutUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TileFlyoutUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] pub struct TileNotification(::windows::core::IUnknown); @@ -3254,7 +3254,7 @@ impl TileNotification { } #[doc(hidden)] pub fn ITileNotificationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3270,7 +3270,7 @@ impl ::core::fmt::Debug for TileNotification { } } impl ::windows::core::RuntimeType for TileNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileNotification;{ebaec8fa-50ec-4c18-b4d0-3af02e5540ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileNotification;{ebaec8fa-50ec-4c18-b4d0-3af02e5540ab})"); } impl ::core::clone::Clone for TileNotification { fn clone(&self) -> Self { @@ -3286,7 +3286,7 @@ unsafe impl ::windows::core::Interface for TileNotification { impl ::windows::core::RuntimeName for TileNotification { const NAME: &'static str = "Windows.UI.Notifications.TileNotification"; } -::windows::core::interface_hierarchy!(TileNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TileNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TileNotification {} unsafe impl ::core::marker::Sync for TileNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3328,12 +3328,12 @@ impl TileUpdateManager { } #[doc(hidden)] pub fn ITileUpdateManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ITileUpdateManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3387,7 +3387,7 @@ impl ::core::fmt::Debug for TileUpdateManagerForUser { } } impl ::windows::core::RuntimeType for TileUpdateManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileUpdateManagerForUser;{55141348-2ee2-4e2d-9cc1-216a20decc9f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileUpdateManagerForUser;{55141348-2ee2-4e2d-9cc1-216a20decc9f})"); } impl ::core::clone::Clone for TileUpdateManagerForUser { fn clone(&self) -> Self { @@ -3403,7 +3403,7 @@ unsafe impl ::windows::core::Interface for TileUpdateManagerForUser { impl ::windows::core::RuntimeName for TileUpdateManagerForUser { const NAME: &'static str = "Windows.UI.Notifications.TileUpdateManagerForUser"; } -::windows::core::interface_hierarchy!(TileUpdateManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TileUpdateManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TileUpdateManagerForUser {} unsafe impl ::core::marker::Sync for TileUpdateManagerForUser {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3507,7 +3507,7 @@ impl ::core::fmt::Debug for TileUpdater { } } impl ::windows::core::RuntimeType for TileUpdater { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileUpdater;{0942a48b-1d91-44ec-9243-c1e821c29a20})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileUpdater;{0942a48b-1d91-44ec-9243-c1e821c29a20})"); } impl ::core::clone::Clone for TileUpdater { fn clone(&self) -> Self { @@ -3523,7 +3523,7 @@ unsafe impl ::windows::core::Interface for TileUpdater { impl ::windows::core::RuntimeName for TileUpdater { const NAME: &'static str = "Windows.UI.Notifications.TileUpdater"; } -::windows::core::interface_hierarchy!(TileUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TileUpdater, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TileUpdater {} unsafe impl ::core::marker::Sync for TileUpdater {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3559,7 +3559,7 @@ impl ::core::fmt::Debug for ToastActivatedEventArgs { } } impl ::windows::core::RuntimeType for ToastActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastActivatedEventArgs;{e3bf92f3-c197-436f-8265-0625824f8dac})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastActivatedEventArgs;{e3bf92f3-c197-436f-8265-0625824f8dac})"); } impl ::core::clone::Clone for ToastActivatedEventArgs { fn clone(&self) -> Self { @@ -3575,7 +3575,7 @@ unsafe impl ::windows::core::Interface for ToastActivatedEventArgs { impl ::windows::core::RuntimeName for ToastActivatedEventArgs { const NAME: &'static str = "Windows.UI.Notifications.ToastActivatedEventArgs"; } -::windows::core::interface_hierarchy!(ToastActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] pub struct ToastCollection(::windows::core::IUnknown); @@ -3634,7 +3634,7 @@ impl ToastCollection { } #[doc(hidden)] pub fn IToastCollectionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3650,7 +3650,7 @@ impl ::core::fmt::Debug for ToastCollection { } } impl ::windows::core::RuntimeType for ToastCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastCollection;{0a8bc3b0-e0be-4858-bc2a-89dfe0b32863})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastCollection;{0a8bc3b0-e0be-4858-bc2a-89dfe0b32863})"); } impl ::core::clone::Clone for ToastCollection { fn clone(&self) -> Self { @@ -3666,7 +3666,7 @@ unsafe impl ::windows::core::Interface for ToastCollection { impl ::windows::core::RuntimeName for ToastCollection { const NAME: &'static str = "Windows.UI.Notifications.ToastCollection"; } -::windows::core::interface_hierarchy!(ToastCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ToastCollection {} unsafe impl ::core::marker::Sync for ToastCollection {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3747,7 +3747,7 @@ impl ::core::fmt::Debug for ToastCollectionManager { } } impl ::windows::core::RuntimeType for ToastCollectionManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastCollectionManager;{2a1821fe-179d-49bc-b79d-a527920d3665})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastCollectionManager;{2a1821fe-179d-49bc-b79d-a527920d3665})"); } impl ::core::clone::Clone for ToastCollectionManager { fn clone(&self) -> Self { @@ -3763,7 +3763,7 @@ unsafe impl ::windows::core::Interface for ToastCollectionManager { impl ::windows::core::RuntimeName for ToastCollectionManager { const NAME: &'static str = "Windows.UI.Notifications.ToastCollectionManager"; } -::windows::core::interface_hierarchy!(ToastCollectionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastCollectionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ToastCollectionManager {} unsafe impl ::core::marker::Sync for ToastCollectionManager {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3790,7 +3790,7 @@ impl ::core::fmt::Debug for ToastDismissedEventArgs { } } impl ::windows::core::RuntimeType for ToastDismissedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastDismissedEventArgs;{3f89d935-d9cb-4538-a0f0-ffe7659938f8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastDismissedEventArgs;{3f89d935-d9cb-4538-a0f0-ffe7659938f8})"); } impl ::core::clone::Clone for ToastDismissedEventArgs { fn clone(&self) -> Self { @@ -3806,7 +3806,7 @@ unsafe impl ::windows::core::Interface for ToastDismissedEventArgs { impl ::windows::core::RuntimeName for ToastDismissedEventArgs { const NAME: &'static str = "Windows.UI.Notifications.ToastDismissedEventArgs"; } -::windows::core::interface_hierarchy!(ToastDismissedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastDismissedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ToastDismissedEventArgs {} unsafe impl ::core::marker::Sync for ToastDismissedEventArgs {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -3833,7 +3833,7 @@ impl ::core::fmt::Debug for ToastFailedEventArgs { } } impl ::windows::core::RuntimeType for ToastFailedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastFailedEventArgs;{35176862-cfd4-44f8-ad64-f500fd896c3b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastFailedEventArgs;{35176862-cfd4-44f8-ad64-f500fd896c3b})"); } impl ::core::clone::Clone for ToastFailedEventArgs { fn clone(&self) -> Self { @@ -3849,7 +3849,7 @@ unsafe impl ::windows::core::Interface for ToastFailedEventArgs { impl ::windows::core::RuntimeName for ToastFailedEventArgs { const NAME: &'static str = "Windows.UI.Notifications.ToastFailedEventArgs"; } -::windows::core::interface_hierarchy!(ToastFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastFailedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ToastFailedEventArgs {} unsafe impl ::core::marker::Sync for ToastFailedEventArgs {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -4027,7 +4027,7 @@ impl ToastNotification { } #[doc(hidden)] pub fn IToastNotificationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4043,7 +4043,7 @@ impl ::core::fmt::Debug for ToastNotification { } } impl ::windows::core::RuntimeType for ToastNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotification;{997e2675-059e-4e60-8b06-1760917c8b80})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotification;{997e2675-059e-4e60-8b06-1760917c8b80})"); } impl ::core::clone::Clone for ToastNotification { fn clone(&self) -> Self { @@ -4059,7 +4059,7 @@ unsafe impl ::windows::core::Interface for ToastNotification { impl ::windows::core::RuntimeName for ToastNotification { const NAME: &'static str = "Windows.UI.Notifications.ToastNotification"; } -::windows::core::interface_hierarchy!(ToastNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ToastNotification {} unsafe impl ::core::marker::Sync for ToastNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -4095,7 +4095,7 @@ impl ::core::fmt::Debug for ToastNotificationActionTriggerDetail { } } impl ::windows::core::RuntimeType for ToastNotificationActionTriggerDetail { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationActionTriggerDetail;{9445135a-38f3-42f6-96aa-7955b0f03da2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationActionTriggerDetail;{9445135a-38f3-42f6-96aa-7955b0f03da2})"); } impl ::core::clone::Clone for ToastNotificationActionTriggerDetail { fn clone(&self) -> Self { @@ -4111,7 +4111,7 @@ unsafe impl ::windows::core::Interface for ToastNotificationActionTriggerDetail impl ::windows::core::RuntimeName for ToastNotificationActionTriggerDetail { const NAME: &'static str = "Windows.UI.Notifications.ToastNotificationActionTriggerDetail"; } -::windows::core::interface_hierarchy!(ToastNotificationActionTriggerDetail, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotificationActionTriggerDetail, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] pub struct ToastNotificationHistory(::windows::core::IUnknown); @@ -4175,7 +4175,7 @@ impl ::core::fmt::Debug for ToastNotificationHistory { } } impl ::windows::core::RuntimeType for ToastNotificationHistory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationHistory;{5caddc63-01d3-4c97-986f-0533483fee14})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationHistory;{5caddc63-01d3-4c97-986f-0533483fee14})"); } impl ::core::clone::Clone for ToastNotificationHistory { fn clone(&self) -> Self { @@ -4191,7 +4191,7 @@ unsafe impl ::windows::core::Interface for ToastNotificationHistory { impl ::windows::core::RuntimeName for ToastNotificationHistory { const NAME: &'static str = "Windows.UI.Notifications.ToastNotificationHistory"; } -::windows::core::interface_hierarchy!(ToastNotificationHistory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotificationHistory, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] pub struct ToastNotificationHistoryChangedTriggerDetail(::windows::core::IUnknown); @@ -4223,7 +4223,7 @@ impl ::core::fmt::Debug for ToastNotificationHistoryChangedTriggerDetail { } } impl ::windows::core::RuntimeType for ToastNotificationHistoryChangedTriggerDetail { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationHistoryChangedTriggerDetail;{db037ffa-0068-412c-9c83-267c37f65670})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationHistoryChangedTriggerDetail;{db037ffa-0068-412c-9c83-267c37f65670})"); } impl ::core::clone::Clone for ToastNotificationHistoryChangedTriggerDetail { fn clone(&self) -> Self { @@ -4239,7 +4239,7 @@ unsafe impl ::windows::core::Interface for ToastNotificationHistoryChangedTrigge impl ::windows::core::RuntimeName for ToastNotificationHistoryChangedTriggerDetail { const NAME: &'static str = "Windows.UI.Notifications.ToastNotificationHistoryChangedTriggerDetail"; } -::windows::core::interface_hierarchy!(ToastNotificationHistoryChangedTriggerDetail, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotificationHistoryChangedTriggerDetail, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] pub struct ToastNotificationManager; impl ToastNotificationManager { @@ -4288,22 +4288,22 @@ impl ToastNotificationManager { } #[doc(hidden)] pub fn IToastNotificationManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IToastNotificationManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IToastNotificationManagerStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IToastNotificationManagerStatics5 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4411,7 +4411,7 @@ impl ::core::fmt::Debug for ToastNotificationManagerForUser { } } impl ::windows::core::RuntimeType for ToastNotificationManagerForUser { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationManagerForUser;{79ab57f6-43fe-487b-8a7f-99567200ae94})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationManagerForUser;{79ab57f6-43fe-487b-8a7f-99567200ae94})"); } impl ::core::clone::Clone for ToastNotificationManagerForUser { fn clone(&self) -> Self { @@ -4427,7 +4427,7 @@ unsafe impl ::windows::core::Interface for ToastNotificationManagerForUser { impl ::windows::core::RuntimeName for ToastNotificationManagerForUser { const NAME: &'static str = "Windows.UI.Notifications.ToastNotificationManagerForUser"; } -::windows::core::interface_hierarchy!(ToastNotificationManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotificationManagerForUser, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ToastNotificationManagerForUser {} unsafe impl ::core::marker::Sync for ToastNotificationManagerForUser {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -4508,7 +4508,7 @@ impl ::core::fmt::Debug for ToastNotifier { } } impl ::windows::core::RuntimeType for ToastNotifier { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotifier;{75927b93-03f3-41ec-91d3-6e5bac1b38e7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotifier;{75927b93-03f3-41ec-91d3-6e5bac1b38e7})"); } impl ::core::clone::Clone for ToastNotifier { fn clone(&self) -> Self { @@ -4524,7 +4524,7 @@ unsafe impl ::windows::core::Interface for ToastNotifier { impl ::windows::core::RuntimeName for ToastNotifier { const NAME: &'static str = "Windows.UI.Notifications.ToastNotifier"; } -::windows::core::interface_hierarchy!(ToastNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ToastNotifier, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ToastNotifier {} unsafe impl ::core::marker::Sync for ToastNotifier {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -4576,7 +4576,7 @@ impl ::core::fmt::Debug for UserNotification { } } impl ::windows::core::RuntimeType for UserNotification { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.UserNotification;{adf7e52f-4e53-42d5-9c33-eb5ea515b23e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.UserNotification;{adf7e52f-4e53-42d5-9c33-eb5ea515b23e})"); } impl ::core::clone::Clone for UserNotification { fn clone(&self) -> Self { @@ -4592,7 +4592,7 @@ unsafe impl ::windows::core::Interface for UserNotification { impl ::windows::core::RuntimeName for UserNotification { const NAME: &'static str = "Windows.UI.Notifications.UserNotification"; } -::windows::core::interface_hierarchy!(UserNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserNotification, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserNotification {} unsafe impl ::core::marker::Sync for UserNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -4626,7 +4626,7 @@ impl ::core::fmt::Debug for UserNotificationChangedEventArgs { } } impl ::windows::core::RuntimeType for UserNotificationChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.UserNotificationChangedEventArgs;{b6bd6839-79cf-4b25-82c0-0ce1eef81f8c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.UserNotificationChangedEventArgs;{b6bd6839-79cf-4b25-82c0-0ce1eef81f8c})"); } impl ::core::clone::Clone for UserNotificationChangedEventArgs { fn clone(&self) -> Self { @@ -4642,7 +4642,7 @@ unsafe impl ::windows::core::Interface for UserNotificationChangedEventArgs { impl ::windows::core::RuntimeName for UserNotificationChangedEventArgs { const NAME: &'static str = "Windows.UI.Notifications.UserNotificationChangedEventArgs"; } -::windows::core::interface_hierarchy!(UserNotificationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UserNotificationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UserNotificationChangedEventArgs {} unsafe impl ::core::marker::Sync for UserNotificationChangedEventArgs {} #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -4672,7 +4672,7 @@ impl ::core::fmt::Debug for AdaptiveNotificationContentKind { } } impl ::windows::core::RuntimeType for AdaptiveNotificationContentKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.AdaptiveNotificationContentKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.AdaptiveNotificationContentKind;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -4702,7 +4702,7 @@ impl ::core::fmt::Debug for BadgeTemplateType { } } impl ::windows::core::RuntimeType for BadgeTemplateType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.BadgeTemplateType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.BadgeTemplateType;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -4765,7 +4765,7 @@ impl ::core::ops::Not for NotificationKinds { } } impl ::windows::core::RuntimeType for NotificationKinds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.NotificationKinds;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.NotificationKinds;u4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -4795,7 +4795,7 @@ impl ::core::fmt::Debug for NotificationMirroring { } } impl ::windows::core::RuntimeType for NotificationMirroring { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.NotificationMirroring;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.NotificationMirroring;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -4828,7 +4828,7 @@ impl ::core::fmt::Debug for NotificationSetting { } } impl ::windows::core::RuntimeType for NotificationSetting { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.NotificationSetting;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.NotificationSetting;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -4859,7 +4859,7 @@ impl ::core::fmt::Debug for NotificationUpdateResult { } } impl ::windows::core::RuntimeType for NotificationUpdateResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.NotificationUpdateResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.NotificationUpdateResult;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -4892,7 +4892,7 @@ impl ::core::fmt::Debug for PeriodicUpdateRecurrence { } } impl ::windows::core::RuntimeType for PeriodicUpdateRecurrence { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.PeriodicUpdateRecurrence;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.PeriodicUpdateRecurrence;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -4921,7 +4921,7 @@ impl ::core::fmt::Debug for TileFlyoutTemplateType { } } impl ::windows::core::RuntimeType for TileFlyoutTemplateType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.TileFlyoutTemplateType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.TileFlyoutTemplateType;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -5075,7 +5075,7 @@ impl ::core::fmt::Debug for TileTemplateType { } } impl ::windows::core::RuntimeType for TileTemplateType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.TileTemplateType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.TileTemplateType;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -5106,7 +5106,7 @@ impl ::core::fmt::Debug for ToastDismissalReason { } } impl ::windows::core::RuntimeType for ToastDismissalReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastDismissalReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastDismissalReason;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -5138,7 +5138,7 @@ impl ::core::fmt::Debug for ToastHistoryChangedType { } } impl ::windows::core::RuntimeType for ToastHistoryChangedType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastHistoryChangedType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastHistoryChangedType;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -5169,7 +5169,7 @@ impl ::core::fmt::Debug for ToastNotificationMode { } } impl ::windows::core::RuntimeType for ToastNotificationMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastNotificationMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastNotificationMode;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -5199,7 +5199,7 @@ impl ::core::fmt::Debug for ToastNotificationPriority { } } impl ::windows::core::RuntimeType for ToastNotificationPriority { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastNotificationPriority;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastNotificationPriority;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -5235,7 +5235,7 @@ impl ::core::fmt::Debug for ToastTemplateType { } } impl ::windows::core::RuntimeType for ToastTemplateType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastTemplateType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.ToastTemplateType;i4)"); } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] @@ -5265,7 +5265,7 @@ impl ::core::fmt::Debug for UserNotificationChangedKind { } } impl ::windows::core::RuntimeType for UserNotificationChangedKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.UserNotificationChangedKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Notifications.UserNotificationChangedKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index 15d5656eda..5cd59b71f4 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -132,7 +132,7 @@ impl IUICommand { unsafe { (::windows::core::Vtable::vtable(this).SetId)(::windows::core::Vtable::as_raw(this), value.into().abi()).ok() } } } -::windows::core::interface_hierarchy!(IUICommand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUICommand, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUICommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -145,7 +145,7 @@ impl ::core::fmt::Debug for IUICommand { } } impl ::windows::core::RuntimeType for IUICommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f}"); } unsafe impl ::windows::core::Vtable for IUICommand { type Vtable = IUICommand_Vtbl; @@ -282,7 +282,7 @@ impl MessageDialog { } #[doc(hidden)] pub fn IMessageDialogFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -298,7 +298,7 @@ impl ::core::fmt::Debug for MessageDialog { } } impl ::windows::core::RuntimeType for MessageDialog { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.MessageDialog;{33f59b01-5325-43ab-9ab3-bdae440e4121})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.MessageDialog;{33f59b01-5325-43ab-9ab3-bdae440e4121})"); } impl ::core::clone::Clone for MessageDialog { fn clone(&self) -> Self { @@ -314,7 +314,7 @@ unsafe impl ::windows::core::Interface for MessageDialog { impl ::windows::core::RuntimeName for MessageDialog { const NAME: &'static str = "Windows.UI.Popups.MessageDialog"; } -::windows::core::interface_hierarchy!(MessageDialog, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(MessageDialog, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] pub struct PopupMenu(::windows::core::IUnknown); @@ -322,8 +322,8 @@ impl PopupMenu { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -375,7 +375,7 @@ impl ::core::fmt::Debug for PopupMenu { } } impl ::windows::core::RuntimeType for PopupMenu { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.PopupMenu;{4e9bc6dc-880d-47fc-a0a1-72b639e62559})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.PopupMenu;{4e9bc6dc-880d-47fc-a0a1-72b639e62559})"); } impl ::core::clone::Clone for PopupMenu { fn clone(&self) -> Self { @@ -391,7 +391,7 @@ unsafe impl ::windows::core::Interface for PopupMenu { impl ::windows::core::RuntimeName for PopupMenu { const NAME: &'static str = "Windows.UI.Popups.PopupMenu"; } -::windows::core::interface_hierarchy!(PopupMenu, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(PopupMenu, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] pub struct UICommand(::windows::core::IUnknown); @@ -399,8 +399,8 @@ impl UICommand { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -462,7 +462,7 @@ impl UICommand { } #[doc(hidden)] pub fn IUICommandFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -478,7 +478,7 @@ impl ::core::fmt::Debug for UICommand { } } impl ::windows::core::RuntimeType for UICommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.UICommand;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.UICommand;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); } impl ::core::clone::Clone for UICommand { fn clone(&self) -> Self { @@ -494,7 +494,7 @@ unsafe impl ::windows::core::Interface for UICommand { impl ::windows::core::RuntimeName for UICommand { const NAME: &'static str = "Windows.UI.Popups.UICommand"; } -::windows::core::interface_hierarchy!(UICommand, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UICommand, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IUICommand { type Error = ::windows::core::Error; fn try_from(value: UICommand) -> ::windows::core::Result { @@ -523,8 +523,8 @@ impl UICommandSeparator { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -576,7 +576,7 @@ impl ::core::fmt::Debug for UICommandSeparator { } } impl ::windows::core::RuntimeType for UICommandSeparator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.UICommandSeparator;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.UICommandSeparator;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); } impl ::core::clone::Clone for UICommandSeparator { fn clone(&self) -> Self { @@ -592,7 +592,7 @@ unsafe impl ::windows::core::Interface for UICommandSeparator { impl ::windows::core::RuntimeName for UICommandSeparator { const NAME: &'static str = "Windows.UI.Popups.UICommandSeparator"; } -::windows::core::interface_hierarchy!(UICommandSeparator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UICommandSeparator, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IUICommand { type Error = ::windows::core::Error; fn try_from(value: UICommandSeparator) -> ::windows::core::Result { @@ -675,7 +675,7 @@ impl ::core::ops::Not for MessageDialogOptions { } } impl ::windows::core::RuntimeType for MessageDialogOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Popups.MessageDialogOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Popups.MessageDialogOptions;u4)"); } #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] @@ -708,15 +708,15 @@ impl ::core::fmt::Debug for Placement { } } impl ::windows::core::RuntimeType for Placement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Popups.Placement;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Popups.Placement;i4)"); } #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] pub struct UICommandInvokedHandler(pub ::windows::core::IUnknown); impl UICommandInvokedHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = UICommandInvokedHandlerBox:: { vtable: &UICommandInvokedHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = UICommandInvokedHandlerBox:: { vtable: &UICommandInvokedHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, command: P0) -> ::windows::core::Result<()> where @@ -731,7 +731,7 @@ impl UICommandInvokedHandler { struct UICommandInvokedHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const UICommandInvokedHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> UICommandInvokedHandlerBox { const VTABLE: UICommandInvokedHandler_Vtbl = UICommandInvokedHandler_Vtbl { @@ -740,7 +740,7 @@ impl) -> ::windows::core::Result<() }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -756,7 +756,7 @@ impl) -> ::windows::core::Result<() let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -788,7 +788,7 @@ unsafe impl ::windows::core::Interface for UICommandInvokedHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xdaf77a4f_c27a_4298_9ac6_2922c45e7da6); } impl ::windows::core::RuntimeType for UICommandInvokedHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{daf77a4f-c27a-4298-9ac6-2922c45e7da6}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{daf77a4f-c27a-4298-9ac6-2922c45e7da6}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index 4e1fa2251c..0b866a73e0 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -10,7 +10,7 @@ impl IAdaptiveCard { } } } -::windows::core::interface_hierarchy!(IAdaptiveCard, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAdaptiveCard, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAdaptiveCard { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23,7 +23,7 @@ impl ::core::fmt::Debug for IAdaptiveCard { } } impl ::windows::core::RuntimeType for IAdaptiveCard { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{72d0568c-a274-41cd-82a8-989d40b9b05e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{72d0568c-a274-41cd-82a8-989d40b9b05e}"); } unsafe impl ::windows::core::Vtable for IAdaptiveCard { type Vtable = IAdaptiveCard_Vtbl; @@ -54,7 +54,7 @@ impl IAdaptiveCardBuilderStatics { } } } -::windows::core::interface_hierarchy!(IAdaptiveCardBuilderStatics, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAdaptiveCardBuilderStatics, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAdaptiveCardBuilderStatics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -67,7 +67,7 @@ impl ::core::fmt::Debug for IAdaptiveCardBuilderStatics { } } impl ::windows::core::RuntimeType for IAdaptiveCardBuilderStatics { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{766d8f08-d3fe-4347-a0bc-b9ea9a6dc28e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{766d8f08-d3fe-4347-a0bc-b9ea9a6dc28e}"); } unsafe impl ::windows::core::Vtable for IAdaptiveCardBuilderStatics { type Vtable = IAdaptiveCardBuilderStatics_Vtbl; @@ -370,7 +370,7 @@ impl AdaptiveCardBuilder { } #[doc(hidden)] pub fn IAdaptiveCardBuilderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -405,7 +405,7 @@ impl ::core::fmt::Debug for FocusSession { } } impl ::windows::core::RuntimeType for FocusSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.FocusSession;{069fbab8-0e84-5f2f-8614-9b6544326277})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.FocusSession;{069fbab8-0e84-5f2f-8614-9b6544326277})"); } impl ::core::clone::Clone for FocusSession { fn clone(&self) -> Self { @@ -421,7 +421,7 @@ unsafe impl ::windows::core::Interface for FocusSession { impl ::windows::core::RuntimeName for FocusSession { const NAME: &'static str = "Windows.UI.Shell.FocusSession"; } -::windows::core::interface_hierarchy!(FocusSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FocusSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FocusSession {} unsafe impl ::core::marker::Sync for FocusSession {} #[doc = "*Required features: `\"UI_Shell\"`*"] @@ -491,7 +491,7 @@ impl FocusSessionManager { } #[doc(hidden)] pub fn IFocusSessionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -507,7 +507,7 @@ impl ::core::fmt::Debug for FocusSessionManager { } } impl ::windows::core::RuntimeType for FocusSessionManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.FocusSessionManager;{e7ffbaa9-d8be-5dbf-bac6-49364842e37e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.FocusSessionManager;{e7ffbaa9-d8be-5dbf-bac6-49364842e37e})"); } impl ::core::clone::Clone for FocusSessionManager { fn clone(&self) -> Self { @@ -523,7 +523,7 @@ unsafe impl ::windows::core::Interface for FocusSessionManager { impl ::windows::core::RuntimeName for FocusSessionManager { const NAME: &'static str = "Windows.UI.Shell.FocusSessionManager"; } -::windows::core::interface_hierarchy!(FocusSessionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FocusSessionManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FocusSessionManager {} unsafe impl ::core::marker::Sync for FocusSessionManager {} #[doc = "*Required features: `\"UI_Shell\"`*"] @@ -533,8 +533,8 @@ impl SecurityAppManager { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -569,7 +569,7 @@ impl ::core::fmt::Debug for SecurityAppManager { } } impl ::windows::core::RuntimeType for SecurityAppManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.SecurityAppManager;{96ac500c-aed4-561d-bde8-953520343a2d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.SecurityAppManager;{96ac500c-aed4-561d-bde8-953520343a2d})"); } impl ::core::clone::Clone for SecurityAppManager { fn clone(&self) -> Self { @@ -585,7 +585,7 @@ unsafe impl ::windows::core::Interface for SecurityAppManager { impl ::windows::core::RuntimeName for SecurityAppManager { const NAME: &'static str = "Windows.UI.Shell.SecurityAppManager"; } -::windows::core::interface_hierarchy!(SecurityAppManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SecurityAppManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SecurityAppManager {} unsafe impl ::core::marker::Sync for SecurityAppManager {} #[doc = "*Required features: `\"UI_Shell\"`*"] @@ -623,7 +623,7 @@ impl ::core::fmt::Debug for ShareWindowCommandEventArgs { } } impl ::windows::core::RuntimeType for ShareWindowCommandEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.ShareWindowCommandEventArgs;{4578dc09-a523-5756-a995-e4feb991fff0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.ShareWindowCommandEventArgs;{4578dc09-a523-5756-a995-e4feb991fff0})"); } impl ::core::clone::Clone for ShareWindowCommandEventArgs { fn clone(&self) -> Self { @@ -639,7 +639,7 @@ unsafe impl ::windows::core::Interface for ShareWindowCommandEventArgs { impl ::windows::core::RuntimeName for ShareWindowCommandEventArgs { const NAME: &'static str = "Windows.UI.Shell.ShareWindowCommandEventArgs"; } -::windows::core::interface_hierarchy!(ShareWindowCommandEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareWindowCommandEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShareWindowCommandEventArgs {} unsafe impl ::core::marker::Sync for ShareWindowCommandEventArgs {} #[doc = "*Required features: `\"UI_Shell\"`*"] @@ -696,7 +696,7 @@ impl ShareWindowCommandSource { } #[doc(hidden)] pub fn IShareWindowCommandSourceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -712,7 +712,7 @@ impl ::core::fmt::Debug for ShareWindowCommandSource { } } impl ::windows::core::RuntimeType for ShareWindowCommandSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.ShareWindowCommandSource;{cb3b7ae3-6b9c-561e-bccc-61e68e0abfef})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.ShareWindowCommandSource;{cb3b7ae3-6b9c-561e-bccc-61e68e0abfef})"); } impl ::core::clone::Clone for ShareWindowCommandSource { fn clone(&self) -> Self { @@ -728,7 +728,7 @@ unsafe impl ::windows::core::Interface for ShareWindowCommandSource { impl ::windows::core::RuntimeName for ShareWindowCommandSource { const NAME: &'static str = "Windows.UI.Shell.ShareWindowCommandSource"; } -::windows::core::interface_hierarchy!(ShareWindowCommandSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ShareWindowCommandSource, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ShareWindowCommandSource {} unsafe impl ::core::marker::Sync for ShareWindowCommandSource {} #[doc = "*Required features: `\"UI_Shell\"`*"] @@ -820,7 +820,7 @@ impl TaskbarManager { } #[doc(hidden)] pub fn ITaskbarManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -836,7 +836,7 @@ impl ::core::fmt::Debug for TaskbarManager { } } impl ::windows::core::RuntimeType for TaskbarManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.TaskbarManager;{87490a19-1ad9-49f4-b2e8-86738dc5ac40})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.TaskbarManager;{87490a19-1ad9-49f4-b2e8-86738dc5ac40})"); } impl ::core::clone::Clone for TaskbarManager { fn clone(&self) -> Self { @@ -852,7 +852,7 @@ unsafe impl ::windows::core::Interface for TaskbarManager { impl ::windows::core::RuntimeName for TaskbarManager { const NAME: &'static str = "Windows.UI.Shell.TaskbarManager"; } -::windows::core::interface_hierarchy!(TaskbarManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TaskbarManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TaskbarManager {} unsafe impl ::core::marker::Sync for TaskbarManager {} #[doc = "*Required features: `\"UI_Shell\"`*"] @@ -882,7 +882,7 @@ impl ::core::fmt::Debug for SecurityAppKind { } } impl ::windows::core::RuntimeType for SecurityAppKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Shell.SecurityAppKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Shell.SecurityAppKind;i4)"); } #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] @@ -912,7 +912,7 @@ impl ::core::fmt::Debug for SecurityAppState { } } impl ::windows::core::RuntimeType for SecurityAppState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Shell.SecurityAppState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Shell.SecurityAppState;i4)"); } #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] @@ -944,7 +944,7 @@ impl ::core::fmt::Debug for SecurityAppSubstatus { } } impl ::windows::core::RuntimeType for SecurityAppSubstatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Shell.SecurityAppSubstatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Shell.SecurityAppSubstatus;i4)"); } #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] @@ -975,7 +975,7 @@ impl ::core::fmt::Debug for ShareWindowCommand { } } impl ::windows::core::RuntimeType for ShareWindowCommand { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Shell.ShareWindowCommand;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Shell.ShareWindowCommand;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs index effe2b906c..127da149f0 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -753,7 +753,7 @@ impl JumpList { } #[doc(hidden)] pub fn IJumpListStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -769,7 +769,7 @@ impl ::core::fmt::Debug for JumpList { } } impl ::windows::core::RuntimeType for JumpList { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.JumpList;{b0234c3e-cd6f-4cb6-a611-61fd505f3ed1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.JumpList;{b0234c3e-cd6f-4cb6-a611-61fd505f3ed1})"); } impl ::core::clone::Clone for JumpList { fn clone(&self) -> Self { @@ -785,7 +785,7 @@ unsafe impl ::windows::core::Interface for JumpList { impl ::windows::core::RuntimeName for JumpList { const NAME: &'static str = "Windows.UI.StartScreen.JumpList"; } -::windows::core::interface_hierarchy!(JumpList, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(JumpList, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for JumpList {} unsafe impl ::core::marker::Sync for JumpList {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -875,7 +875,7 @@ impl JumpListItem { } #[doc(hidden)] pub fn IJumpListItemStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -891,7 +891,7 @@ impl ::core::fmt::Debug for JumpListItem { } } impl ::windows::core::RuntimeType for JumpListItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.JumpListItem;{7adb6717-8b5d-4820-995b-9b418dbe48b0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.JumpListItem;{7adb6717-8b5d-4820-995b-9b418dbe48b0})"); } impl ::core::clone::Clone for JumpListItem { fn clone(&self) -> Self { @@ -907,7 +907,7 @@ unsafe impl ::windows::core::Interface for JumpListItem { impl ::windows::core::RuntimeName for JumpListItem { const NAME: &'static str = "Windows.UI.StartScreen.JumpListItem"; } -::windows::core::interface_hierarchy!(JumpListItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(JumpListItem, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for JumpListItem {} unsafe impl ::core::marker::Sync for JumpListItem {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -917,8 +917,8 @@ impl SecondaryTile { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetTileId(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -1272,17 +1272,17 @@ impl SecondaryTile { } #[doc(hidden)] pub fn ISecondaryTileFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISecondaryTileFactory2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ISecondaryTileStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1298,7 +1298,7 @@ impl ::core::fmt::Debug for SecondaryTile { } } impl ::windows::core::RuntimeType for SecondaryTile { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.SecondaryTile;{9e9e51e0-2bb5-4bc0-bb8d-42b23abcc88d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.SecondaryTile;{9e9e51e0-2bb5-4bc0-bb8d-42b23abcc88d})"); } impl ::core::clone::Clone for SecondaryTile { fn clone(&self) -> Self { @@ -1314,7 +1314,7 @@ unsafe impl ::windows::core::Interface for SecondaryTile { impl ::windows::core::RuntimeName for SecondaryTile { const NAME: &'static str = "Windows.UI.StartScreen.SecondaryTile"; } -::windows::core::interface_hierarchy!(SecondaryTile, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SecondaryTile, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SecondaryTile {} unsafe impl ::core::marker::Sync for SecondaryTile {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -1501,7 +1501,7 @@ impl ::core::fmt::Debug for SecondaryTileVisualElements { } } impl ::windows::core::RuntimeType for SecondaryTileVisualElements { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.SecondaryTileVisualElements;{1d8df333-815e-413f-9f50-a81da70a96b2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.SecondaryTileVisualElements;{1d8df333-815e-413f-9f50-a81da70a96b2})"); } impl ::core::clone::Clone for SecondaryTileVisualElements { fn clone(&self) -> Self { @@ -1517,7 +1517,7 @@ unsafe impl ::windows::core::Interface for SecondaryTileVisualElements { impl ::windows::core::RuntimeName for SecondaryTileVisualElements { const NAME: &'static str = "Windows.UI.StartScreen.SecondaryTileVisualElements"; } -::windows::core::interface_hierarchy!(SecondaryTileVisualElements, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SecondaryTileVisualElements, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SecondaryTileVisualElements {} unsafe impl ::core::marker::Sync for SecondaryTileVisualElements {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -1594,7 +1594,7 @@ impl StartScreenManager { } #[doc(hidden)] pub fn IStartScreenManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1610,7 +1610,7 @@ impl ::core::fmt::Debug for StartScreenManager { } } impl ::windows::core::RuntimeType for StartScreenManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.StartScreenManager;{4a1dcbcb-26e9-4eb4-8933-859eb6ecdb29})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.StartScreenManager;{4a1dcbcb-26e9-4eb4-8933-859eb6ecdb29})"); } impl ::core::clone::Clone for StartScreenManager { fn clone(&self) -> Self { @@ -1626,7 +1626,7 @@ unsafe impl ::windows::core::Interface for StartScreenManager { impl ::windows::core::RuntimeName for StartScreenManager { const NAME: &'static str = "Windows.UI.StartScreen.StartScreenManager"; } -::windows::core::interface_hierarchy!(StartScreenManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StartScreenManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StartScreenManager {} unsafe impl ::core::marker::Sync for StartScreenManager {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -1691,7 +1691,7 @@ impl ::core::fmt::Debug for TileMixedRealityModel { } } impl ::windows::core::RuntimeType for TileMixedRealityModel { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.TileMixedRealityModel;{b0764e5b-887d-4242-9a19-3d0a4ea78031})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.TileMixedRealityModel;{b0764e5b-887d-4242-9a19-3d0a4ea78031})"); } impl ::core::clone::Clone for TileMixedRealityModel { fn clone(&self) -> Self { @@ -1707,7 +1707,7 @@ unsafe impl ::windows::core::Interface for TileMixedRealityModel { impl ::windows::core::RuntimeName for TileMixedRealityModel { const NAME: &'static str = "Windows.UI.StartScreen.TileMixedRealityModel"; } -::windows::core::interface_hierarchy!(TileMixedRealityModel, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(TileMixedRealityModel, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for TileMixedRealityModel {} unsafe impl ::core::marker::Sync for TileMixedRealityModel {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -1759,7 +1759,7 @@ impl ::core::fmt::Debug for VisualElementsRequest { } } impl ::windows::core::RuntimeType for VisualElementsRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequest;{c138333a-9308-4072-88cc-d068db347c68})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequest;{c138333a-9308-4072-88cc-d068db347c68})"); } impl ::core::clone::Clone for VisualElementsRequest { fn clone(&self) -> Self { @@ -1775,7 +1775,7 @@ unsafe impl ::windows::core::Interface for VisualElementsRequest { impl ::windows::core::RuntimeName for VisualElementsRequest { const NAME: &'static str = "Windows.UI.StartScreen.VisualElementsRequest"; } -::windows::core::interface_hierarchy!(VisualElementsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VisualElementsRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VisualElementsRequest {} unsafe impl ::core::marker::Sync for VisualElementsRequest {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -1799,7 +1799,7 @@ impl ::core::fmt::Debug for VisualElementsRequestDeferral { } } impl ::windows::core::RuntimeType for VisualElementsRequestDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequestDeferral;{a1656eb0-0126-4357-8204-bd82bb2a046d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequestDeferral;{a1656eb0-0126-4357-8204-bd82bb2a046d})"); } impl ::core::clone::Clone for VisualElementsRequestDeferral { fn clone(&self) -> Self { @@ -1815,7 +1815,7 @@ unsafe impl ::windows::core::Interface for VisualElementsRequestDeferral { impl ::windows::core::RuntimeName for VisualElementsRequestDeferral { const NAME: &'static str = "Windows.UI.StartScreen.VisualElementsRequestDeferral"; } -::windows::core::interface_hierarchy!(VisualElementsRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VisualElementsRequestDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VisualElementsRequestDeferral {} unsafe impl ::core::marker::Sync for VisualElementsRequestDeferral {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -1842,7 +1842,7 @@ impl ::core::fmt::Debug for VisualElementsRequestedEventArgs { } } impl ::windows::core::RuntimeType for VisualElementsRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequestedEventArgs;{7b6fc982-3a0d-4ece-af96-cd17e1b00b2d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequestedEventArgs;{7b6fc982-3a0d-4ece-af96-cd17e1b00b2d})"); } impl ::core::clone::Clone for VisualElementsRequestedEventArgs { fn clone(&self) -> Self { @@ -1858,7 +1858,7 @@ unsafe impl ::windows::core::Interface for VisualElementsRequestedEventArgs { impl ::windows::core::RuntimeName for VisualElementsRequestedEventArgs { const NAME: &'static str = "Windows.UI.StartScreen.VisualElementsRequestedEventArgs"; } -::windows::core::interface_hierarchy!(VisualElementsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(VisualElementsRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for VisualElementsRequestedEventArgs {} unsafe impl ::core::marker::Sync for VisualElementsRequestedEventArgs {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] @@ -1889,7 +1889,7 @@ impl ::core::fmt::Debug for ForegroundText { } } impl ::windows::core::RuntimeType for ForegroundText { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.ForegroundText;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.ForegroundText;i4)"); } #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] @@ -1919,7 +1919,7 @@ impl ::core::fmt::Debug for JumpListItemKind { } } impl ::windows::core::RuntimeType for JumpListItemKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.JumpListItemKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.JumpListItemKind;i4)"); } #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] @@ -1950,7 +1950,7 @@ impl ::core::fmt::Debug for JumpListSystemGroupKind { } } impl ::windows::core::RuntimeType for JumpListSystemGroupKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.JumpListSystemGroupKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.JumpListSystemGroupKind;i4)"); } #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] @@ -1980,7 +1980,7 @@ impl ::core::fmt::Debug for TileMixedRealityModelActivationBehavior { } } impl ::windows::core::RuntimeType for TileMixedRealityModelActivationBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.TileMixedRealityModelActivationBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.TileMixedRealityModelActivationBehavior;i4)"); } #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] @@ -2045,7 +2045,7 @@ impl ::core::ops::Not for TileOptions { } } impl ::windows::core::RuntimeType for TileOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.TileOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.TileOptions;u4)"); } #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] @@ -2081,7 +2081,7 @@ impl ::core::fmt::Debug for TileSize { } } impl ::windows::core::RuntimeType for TileSize { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.TileSize;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.StartScreen.TileSize;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs index be586dab1a..14beb40f9c 100644 --- a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs @@ -614,7 +614,7 @@ impl ::core::fmt::Debug for CoreTextCompositionCompletedEventArgs { } } impl ::windows::core::RuntimeType for CoreTextCompositionCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs;{1f34ebb6-b79f-4121-a5e7-fda9b8616e30})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs;{1f34ebb6-b79f-4121-a5e7-fda9b8616e30})"); } impl ::core::clone::Clone for CoreTextCompositionCompletedEventArgs { fn clone(&self) -> Self { @@ -630,7 +630,7 @@ unsafe impl ::windows::core::Interface for CoreTextCompositionCompletedEventArgs impl ::windows::core::RuntimeName for CoreTextCompositionCompletedEventArgs { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs"; } -::windows::core::interface_hierarchy!(CoreTextCompositionCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextCompositionCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextCompositionCompletedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextCompositionCompletedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -664,7 +664,7 @@ impl ::core::fmt::Debug for CoreTextCompositionSegment { } } impl ::windows::core::RuntimeType for CoreTextCompositionSegment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionSegment;{776c6bd9-4ead-4da7-8f47-3a88b523cc34})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionSegment;{776c6bd9-4ead-4da7-8f47-3a88b523cc34})"); } impl ::core::clone::Clone for CoreTextCompositionSegment { fn clone(&self) -> Self { @@ -680,7 +680,7 @@ unsafe impl ::windows::core::Interface for CoreTextCompositionSegment { impl ::windows::core::RuntimeName for CoreTextCompositionSegment { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextCompositionSegment"; } -::windows::core::interface_hierarchy!(CoreTextCompositionSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextCompositionSegment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextCompositionSegment {} unsafe impl ::core::marker::Sync for CoreTextCompositionSegment {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -716,7 +716,7 @@ impl ::core::fmt::Debug for CoreTextCompositionStartedEventArgs { } } impl ::windows::core::RuntimeType for CoreTextCompositionStartedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs;{276b16a9-64e7-4ab0-bc4b-a02d73835bfb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs;{276b16a9-64e7-4ab0-bc4b-a02d73835bfb})"); } impl ::core::clone::Clone for CoreTextCompositionStartedEventArgs { fn clone(&self) -> Self { @@ -732,7 +732,7 @@ unsafe impl ::windows::core::Interface for CoreTextCompositionStartedEventArgs { impl ::windows::core::RuntimeName for CoreTextCompositionStartedEventArgs { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs"; } -::windows::core::interface_hierarchy!(CoreTextCompositionStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextCompositionStartedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextCompositionStartedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextCompositionStartedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -966,7 +966,7 @@ impl ::core::fmt::Debug for CoreTextEditContext { } } impl ::windows::core::RuntimeType for CoreTextEditContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextEditContext;{bf6608af-4041-47c3-b263-a918eb5eaef2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextEditContext;{bf6608af-4041-47c3-b263-a918eb5eaef2})"); } impl ::core::clone::Clone for CoreTextEditContext { fn clone(&self) -> Self { @@ -982,7 +982,7 @@ unsafe impl ::windows::core::Interface for CoreTextEditContext { impl ::windows::core::RuntimeName for CoreTextEditContext { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextEditContext"; } -::windows::core::interface_hierarchy!(CoreTextEditContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextEditContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextEditContext {} unsafe impl ::core::marker::Sync for CoreTextEditContext {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1079,7 +1079,7 @@ impl ::core::fmt::Debug for CoreTextFormatUpdatingEventArgs { } } impl ::windows::core::RuntimeType for CoreTextFormatUpdatingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs;{7310bd33-b4a8-43b1-b37b-0724d4aca7ab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs;{7310bd33-b4a8-43b1-b37b-0724d4aca7ab})"); } impl ::core::clone::Clone for CoreTextFormatUpdatingEventArgs { fn clone(&self) -> Self { @@ -1095,7 +1095,7 @@ unsafe impl ::windows::core::Interface for CoreTextFormatUpdatingEventArgs { impl ::windows::core::RuntimeName for CoreTextFormatUpdatingEventArgs { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs"; } -::windows::core::interface_hierarchy!(CoreTextFormatUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextFormatUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextFormatUpdatingEventArgs {} unsafe impl ::core::marker::Sync for CoreTextFormatUpdatingEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1145,7 +1145,7 @@ impl ::core::fmt::Debug for CoreTextLayoutBounds { } } impl ::windows::core::RuntimeType for CoreTextLayoutBounds { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutBounds;{e972c974-4436-4917-80d0-a525e4ca6780})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutBounds;{e972c974-4436-4917-80d0-a525e4ca6780})"); } impl ::core::clone::Clone for CoreTextLayoutBounds { fn clone(&self) -> Self { @@ -1161,7 +1161,7 @@ unsafe impl ::windows::core::Interface for CoreTextLayoutBounds { impl ::windows::core::RuntimeName for CoreTextLayoutBounds { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextLayoutBounds"; } -::windows::core::interface_hierarchy!(CoreTextLayoutBounds, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextLayoutBounds, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextLayoutBounds {} unsafe impl ::core::marker::Sync for CoreTextLayoutBounds {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1218,7 +1218,7 @@ impl ::core::fmt::Debug for CoreTextLayoutRequest { } } impl ::windows::core::RuntimeType for CoreTextLayoutRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutRequest;{2555a8cc-51fd-4f03-98bf-ac78174d68e0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutRequest;{2555a8cc-51fd-4f03-98bf-ac78174d68e0})"); } impl ::core::clone::Clone for CoreTextLayoutRequest { fn clone(&self) -> Self { @@ -1234,7 +1234,7 @@ unsafe impl ::windows::core::Interface for CoreTextLayoutRequest { impl ::windows::core::RuntimeName for CoreTextLayoutRequest { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextLayoutRequest"; } -::windows::core::interface_hierarchy!(CoreTextLayoutRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextLayoutRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextLayoutRequest {} unsafe impl ::core::marker::Sync for CoreTextLayoutRequest {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1261,7 +1261,7 @@ impl ::core::fmt::Debug for CoreTextLayoutRequestedEventArgs { } } impl ::windows::core::RuntimeType for CoreTextLayoutRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs;{b1dc6ae0-9a7b-4e9e-a566-4a6b5f8ad676})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs;{b1dc6ae0-9a7b-4e9e-a566-4a6b5f8ad676})"); } impl ::core::clone::Clone for CoreTextLayoutRequestedEventArgs { fn clone(&self) -> Self { @@ -1277,7 +1277,7 @@ unsafe impl ::windows::core::Interface for CoreTextLayoutRequestedEventArgs { impl ::windows::core::RuntimeName for CoreTextLayoutRequestedEventArgs { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs"; } -::windows::core::interface_hierarchy!(CoreTextLayoutRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextLayoutRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextLayoutRequestedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextLayoutRequestedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1324,7 +1324,7 @@ impl ::core::fmt::Debug for CoreTextSelectionRequest { } } impl ::windows::core::RuntimeType for CoreTextSelectionRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionRequest;{f0a70403-208b-4301-883c-74ca7485fd8d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionRequest;{f0a70403-208b-4301-883c-74ca7485fd8d})"); } impl ::core::clone::Clone for CoreTextSelectionRequest { fn clone(&self) -> Self { @@ -1340,7 +1340,7 @@ unsafe impl ::windows::core::Interface for CoreTextSelectionRequest { impl ::windows::core::RuntimeName for CoreTextSelectionRequest { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextSelectionRequest"; } -::windows::core::interface_hierarchy!(CoreTextSelectionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextSelectionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextSelectionRequest {} unsafe impl ::core::marker::Sync for CoreTextSelectionRequest {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1367,7 +1367,7 @@ impl ::core::fmt::Debug for CoreTextSelectionRequestedEventArgs { } } impl ::windows::core::RuntimeType for CoreTextSelectionRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs;{13c6682b-f614-421a-8f4b-9ec8a5a37fcd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs;{13c6682b-f614-421a-8f4b-9ec8a5a37fcd})"); } impl ::core::clone::Clone for CoreTextSelectionRequestedEventArgs { fn clone(&self) -> Self { @@ -1383,7 +1383,7 @@ unsafe impl ::windows::core::Interface for CoreTextSelectionRequestedEventArgs { impl ::windows::core::RuntimeName for CoreTextSelectionRequestedEventArgs { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs"; } -::windows::core::interface_hierarchy!(CoreTextSelectionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextSelectionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextSelectionRequestedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextSelectionRequestedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1437,7 +1437,7 @@ impl ::core::fmt::Debug for CoreTextSelectionUpdatingEventArgs { } } impl ::windows::core::RuntimeType for CoreTextSelectionUpdatingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs;{d445839f-fe7f-4bd5-8a26-0922c1b3e639})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs;{d445839f-fe7f-4bd5-8a26-0922c1b3e639})"); } impl ::core::clone::Clone for CoreTextSelectionUpdatingEventArgs { fn clone(&self) -> Self { @@ -1453,7 +1453,7 @@ unsafe impl ::windows::core::Interface for CoreTextSelectionUpdatingEventArgs { impl ::windows::core::RuntimeName for CoreTextSelectionUpdatingEventArgs { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs"; } -::windows::core::interface_hierarchy!(CoreTextSelectionUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextSelectionUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextSelectionUpdatingEventArgs {} unsafe impl ::core::marker::Sync for CoreTextSelectionUpdatingEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1467,7 +1467,7 @@ impl CoreTextServicesConstants { } #[doc(hidden)] pub fn ICoreTextServicesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1517,7 +1517,7 @@ impl CoreTextServicesManager { } #[doc(hidden)] pub fn ICoreTextServicesManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1533,7 +1533,7 @@ impl ::core::fmt::Debug for CoreTextServicesManager { } } impl ::windows::core::RuntimeType for CoreTextServicesManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextServicesManager;{c2507d83-6e0a-4a8a-bdf8-1948874854ba})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextServicesManager;{c2507d83-6e0a-4a8a-bdf8-1948874854ba})"); } impl ::core::clone::Clone for CoreTextServicesManager { fn clone(&self) -> Self { @@ -1549,7 +1549,7 @@ unsafe impl ::windows::core::Interface for CoreTextServicesManager { impl ::windows::core::RuntimeName for CoreTextServicesManager { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextServicesManager"; } -::windows::core::interface_hierarchy!(CoreTextServicesManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextServicesManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextServicesManager {} unsafe impl ::core::marker::Sync for CoreTextServicesManager {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1603,7 +1603,7 @@ impl ::core::fmt::Debug for CoreTextTextRequest { } } impl ::windows::core::RuntimeType for CoreTextTextRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextRequest;{50d950a9-f51e-4cc1-8ca1-e6346d1a61be})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextRequest;{50d950a9-f51e-4cc1-8ca1-e6346d1a61be})"); } impl ::core::clone::Clone for CoreTextTextRequest { fn clone(&self) -> Self { @@ -1619,7 +1619,7 @@ unsafe impl ::windows::core::Interface for CoreTextTextRequest { impl ::windows::core::RuntimeName for CoreTextTextRequest { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextTextRequest"; } -::windows::core::interface_hierarchy!(CoreTextTextRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextTextRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextTextRequest {} unsafe impl ::core::marker::Sync for CoreTextTextRequest {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1646,7 +1646,7 @@ impl ::core::fmt::Debug for CoreTextTextRequestedEventArgs { } } impl ::windows::core::RuntimeType for CoreTextTextRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextRequestedEventArgs;{f096a2d0-41c6-4c02-8b1a-d953b00cabb3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextRequestedEventArgs;{f096a2d0-41c6-4c02-8b1a-d953b00cabb3})"); } impl ::core::clone::Clone for CoreTextTextRequestedEventArgs { fn clone(&self) -> Self { @@ -1662,7 +1662,7 @@ unsafe impl ::windows::core::Interface for CoreTextTextRequestedEventArgs { impl ::windows::core::RuntimeName for CoreTextTextRequestedEventArgs { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextTextRequestedEventArgs"; } -::windows::core::interface_hierarchy!(CoreTextTextRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextTextRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextTextRequestedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextTextRequestedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1739,7 +1739,7 @@ impl ::core::fmt::Debug for CoreTextTextUpdatingEventArgs { } } impl ::windows::core::RuntimeType for CoreTextTextUpdatingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs;{eea7918d-cc2b-4f03-8ff6-02fd217db450})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs;{eea7918d-cc2b-4f03-8ff6-02fd217db450})"); } impl ::core::clone::Clone for CoreTextTextUpdatingEventArgs { fn clone(&self) -> Self { @@ -1755,7 +1755,7 @@ unsafe impl ::windows::core::Interface for CoreTextTextUpdatingEventArgs { impl ::windows::core::RuntimeName for CoreTextTextUpdatingEventArgs { const NAME: &'static str = "Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs"; } -::windows::core::interface_hierarchy!(CoreTextTextUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreTextTextUpdatingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreTextTextUpdatingEventArgs {} unsafe impl ::core::marker::Sync for CoreTextTextUpdatingEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -1789,7 +1789,7 @@ impl ::core::fmt::Debug for CoreTextFormatUpdatingReason { } } impl ::windows::core::RuntimeType for CoreTextFormatUpdatingReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextFormatUpdatingReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextFormatUpdatingReason;i4)"); } #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] @@ -1819,7 +1819,7 @@ impl ::core::fmt::Debug for CoreTextFormatUpdatingResult { } } impl ::windows::core::RuntimeType for CoreTextFormatUpdatingResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextFormatUpdatingResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextFormatUpdatingResult;i4)"); } #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] @@ -1849,7 +1849,7 @@ impl ::core::fmt::Debug for CoreTextInputPaneDisplayPolicy { } } impl ::windows::core::RuntimeType for CoreTextInputPaneDisplayPolicy { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextInputPaneDisplayPolicy;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextInputPaneDisplayPolicy;i4)"); } #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] @@ -1944,7 +1944,7 @@ impl ::core::fmt::Debug for CoreTextInputScope { } } impl ::windows::core::RuntimeType for CoreTextInputScope { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextInputScope;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextInputScope;i4)"); } #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] @@ -1974,7 +1974,7 @@ impl ::core::fmt::Debug for CoreTextSelectionUpdatingResult { } } impl ::windows::core::RuntimeType for CoreTextSelectionUpdatingResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextSelectionUpdatingResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextSelectionUpdatingResult;i4)"); } #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] @@ -2004,7 +2004,7 @@ impl ::core::fmt::Debug for CoreTextTextUpdatingResult { } } impl ::windows::core::RuntimeType for CoreTextTextUpdatingResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextTextUpdatingResult;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.Core.CoreTextTextUpdatingResult;i4)"); } #[repr(C)] #[doc = "*Required features: `\"UI_Text_Core\"`*"] @@ -2027,7 +2027,7 @@ impl ::windows::core::TypeKind for CoreTextRange { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for CoreTextRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Text.Core.CoreTextRange;i4;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Text.Core.CoreTextRange;i4;i4)"); } impl ::core::cmp::PartialEq for CoreTextRange { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index 05424d8aad..104bed519c 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -396,7 +396,7 @@ impl ITextCharacterFormat { } } } -::windows::core::interface_hierarchy!(ITextCharacterFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ITextCharacterFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ITextCharacterFormat { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -409,7 +409,7 @@ impl ::core::fmt::Debug for ITextCharacterFormat { } } impl ::windows::core::RuntimeType for ITextCharacterFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5adef3db-05fb-442d-8065-642afea02ced}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5adef3db-05fb-442d-8065-642afea02ced}"); } unsafe impl ::windows::core::Vtable for ITextCharacterFormat { type Vtable = ITextCharacterFormat_Vtbl; @@ -681,7 +681,7 @@ impl ITextDocument { unsafe { (::windows::core::Vtable::vtable(this).Undo)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(ITextDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ITextDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ITextDocument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -694,7 +694,7 @@ impl ::core::fmt::Debug for ITextDocument { } } impl ::windows::core::RuntimeType for ITextDocument { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{beee4ddb-90b2-408c-a2f6-0a0ac31e33e4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{beee4ddb-90b2-408c-a2f6-0a0ac31e33e4}"); } unsafe impl ::windows::core::Vtable for ITextDocument { type Vtable = ITextDocument_Vtbl; @@ -1090,7 +1090,7 @@ impl ITextParagraphFormat { unsafe { (::windows::core::Vtable::vtable(this).SetLineSpacing)(::windows::core::Vtable::as_raw(this), rule, spacing).ok() } } } -::windows::core::interface_hierarchy!(ITextParagraphFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ITextParagraphFormat, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ITextParagraphFormat { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1103,7 +1103,7 @@ impl ::core::fmt::Debug for ITextParagraphFormat { } } impl ::windows::core::RuntimeType for ITextParagraphFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2cf8cfa6-4676-498a-93f5-bbdbfc0bd883}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2cf8cfa6-4676-498a-93f5-bbdbfc0bd883}"); } unsafe impl ::windows::core::Vtable for ITextParagraphFormat { type Vtable = ITextParagraphFormat_Vtbl; @@ -1505,7 +1505,7 @@ impl ITextRange { } } } -::windows::core::interface_hierarchy!(ITextRange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ITextRange, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ITextRange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1518,7 +1518,7 @@ impl ::core::fmt::Debug for ITextRange { } } impl ::windows::core::RuntimeType for ITextRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{5b9e4e57-c072-42a0-8945-af503ee54768}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{5b9e4e57-c072-42a0-8945-af503ee54768}"); } unsafe impl ::windows::core::Vtable for ITextRange { type Vtable = ITextRange_Vtbl; @@ -2006,7 +2006,7 @@ impl ITextSelection { } } } -::windows::core::interface_hierarchy!(ITextSelection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ITextSelection, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ITextRange { type Error = ::windows::core::Error; fn try_from(value: ITextSelection) -> ::windows::core::Result { @@ -2038,7 +2038,7 @@ impl ::core::fmt::Debug for ITextSelection { } } impl ::windows::core::RuntimeType for ITextSelection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a6d36724-f28f-430a-b2cf-c343671ec0e9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a6d36724-f28f-430a-b2cf-c343671ec0e9}"); } unsafe impl ::windows::core::Vtable for ITextSelection { type Vtable = ITextSelection_Vtbl; @@ -2073,8 +2073,8 @@ impl ContentLinkInfo { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Id(&self) -> ::windows::core::Result { @@ -2149,7 +2149,7 @@ impl ::core::fmt::Debug for ContentLinkInfo { } } impl ::windows::core::RuntimeType for ContentLinkInfo { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.ContentLinkInfo;{1ed52525-1c5f-48cb-b335-78b50a2ee642})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.ContentLinkInfo;{1ed52525-1c5f-48cb-b335-78b50a2ee642})"); } impl ::core::clone::Clone for ContentLinkInfo { fn clone(&self) -> Self { @@ -2165,7 +2165,7 @@ unsafe impl ::windows::core::Interface for ContentLinkInfo { impl ::windows::core::RuntimeName for ContentLinkInfo { const NAME: &'static str = "Windows.UI.Text.ContentLinkInfo"; } -::windows::core::interface_hierarchy!(ContentLinkInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ContentLinkInfo, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ContentLinkInfo {} unsafe impl ::core::marker::Sync for ContentLinkInfo {} #[doc = "*Required features: `\"UI_Text\"`*"] @@ -2240,7 +2240,7 @@ impl FontWeights { } #[doc(hidden)] pub fn IFontWeightsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2256,7 +2256,7 @@ impl ::core::fmt::Debug for FontWeights { } } impl ::windows::core::RuntimeType for FontWeights { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.FontWeights;{7880a444-01ab-4997-8517-df822a0c45f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.FontWeights;{7880a444-01ab-4997-8517-df822a0c45f1})"); } impl ::core::clone::Clone for FontWeights { fn clone(&self) -> Self { @@ -2272,7 +2272,7 @@ unsafe impl ::windows::core::Interface for FontWeights { impl ::windows::core::RuntimeName for FontWeights { const NAME: &'static str = "Windows.UI.Text.FontWeights"; } -::windows::core::interface_hierarchy!(FontWeights, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FontWeights, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for FontWeights {} unsafe impl ::core::marker::Sync for FontWeights {} #[doc = "*Required features: `\"UI_Text\"`*"] @@ -2502,7 +2502,7 @@ impl ::core::fmt::Debug for RichEditTextDocument { } } impl ::windows::core::RuntimeType for RichEditTextDocument { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.RichEditTextDocument;{beee4ddb-90b2-408c-a2f6-0a0ac31e33e4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.RichEditTextDocument;{beee4ddb-90b2-408c-a2f6-0a0ac31e33e4})"); } impl ::core::clone::Clone for RichEditTextDocument { fn clone(&self) -> Self { @@ -2518,7 +2518,7 @@ unsafe impl ::windows::core::Interface for RichEditTextDocument { impl ::windows::core::RuntimeName for RichEditTextDocument { const NAME: &'static str = "Windows.UI.Text.RichEditTextDocument"; } -::windows::core::interface_hierarchy!(RichEditTextDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RichEditTextDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ITextDocument { type Error = ::windows::core::Error; fn try_from(value: RichEditTextDocument) -> ::windows::core::Result { @@ -2899,7 +2899,7 @@ impl ::core::fmt::Debug for RichEditTextRange { } } impl ::windows::core::RuntimeType for RichEditTextRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Text.RichEditTextRange;{5b9e4e57-c072-42a0-8945-af503ee54768})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.RichEditTextRange;{5b9e4e57-c072-42a0-8945-af503ee54768})"); } impl ::core::clone::Clone for RichEditTextRange { fn clone(&self) -> Self { @@ -2915,7 +2915,7 @@ unsafe impl ::windows::core::Interface for RichEditTextRange { impl ::windows::core::RuntimeName for RichEditTextRange { const NAME: &'static str = "Windows.UI.Text.RichEditTextRange"; } -::windows::core::interface_hierarchy!(RichEditTextRange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RichEditTextRange, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ITextRange { type Error = ::windows::core::Error; fn try_from(value: RichEditTextRange) -> ::windows::core::Result { @@ -2990,7 +2990,7 @@ impl TextConstants { } #[doc(hidden)] pub fn ITextConstantsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3025,7 +3025,7 @@ impl ::core::fmt::Debug for CaretType { } } impl ::windows::core::RuntimeType for CaretType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.CaretType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.CaretType;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3089,7 +3089,7 @@ impl ::core::ops::Not for FindOptions { } } impl ::windows::core::RuntimeType for FindOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.FindOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.FindOptions;u4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3127,7 +3127,7 @@ impl ::core::fmt::Debug for FontStretch { } } impl ::windows::core::RuntimeType for FontStretch { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.FontStretch;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.FontStretch;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3158,7 +3158,7 @@ impl ::core::fmt::Debug for FontStyle { } } impl ::windows::core::RuntimeType for FontStyle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.FontStyle;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.FontStyle;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3190,7 +3190,7 @@ impl ::core::fmt::Debug for FormatEffect { } } impl ::windows::core::RuntimeType for FormatEffect { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.FormatEffect;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.FormatEffect;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3221,7 +3221,7 @@ impl ::core::fmt::Debug for HorizontalCharacterAlignment { } } impl ::windows::core::RuntimeType for HorizontalCharacterAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.HorizontalCharacterAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.HorizontalCharacterAlignment;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3251,7 +3251,7 @@ impl ::core::fmt::Debug for LetterCase { } } impl ::windows::core::RuntimeType for LetterCase { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.LetterCase;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.LetterCase;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3287,7 +3287,7 @@ impl ::core::fmt::Debug for LineSpacingRule { } } impl ::windows::core::RuntimeType for LineSpacingRule { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.LineSpacingRule;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.LineSpacingRule;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3324,7 +3324,7 @@ impl ::core::fmt::Debug for LinkType { } } impl ::windows::core::RuntimeType for LinkType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.LinkType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.LinkType;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3356,7 +3356,7 @@ impl ::core::fmt::Debug for MarkerAlignment { } } impl ::windows::core::RuntimeType for MarkerAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.MarkerAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.MarkerAlignment;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3391,7 +3391,7 @@ impl ::core::fmt::Debug for MarkerStyle { } } impl ::windows::core::RuntimeType for MarkerStyle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.MarkerStyle;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.MarkerStyle;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3444,7 +3444,7 @@ impl ::core::fmt::Debug for MarkerType { } } impl ::windows::core::RuntimeType for MarkerType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.MarkerType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.MarkerType;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3477,7 +3477,7 @@ impl ::core::fmt::Debug for ParagraphAlignment { } } impl ::windows::core::RuntimeType for ParagraphAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.ParagraphAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.ParagraphAlignment;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3517,7 +3517,7 @@ impl ::core::fmt::Debug for ParagraphStyle { } } impl ::windows::core::RuntimeType for ParagraphStyle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.ParagraphStyle;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.ParagraphStyle;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3586,7 +3586,7 @@ impl ::core::ops::Not for PointOptions { } } impl ::windows::core::RuntimeType for PointOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.PointOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.PointOptions;u4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3619,7 +3619,7 @@ impl ::core::fmt::Debug for RangeGravity { } } impl ::windows::core::RuntimeType for RangeGravity { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.RangeGravity;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.RangeGravity;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3649,7 +3649,7 @@ impl ::core::fmt::Debug for RichEditMathMode { } } impl ::windows::core::RuntimeType for RichEditMathMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.RichEditMathMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.RichEditMathMode;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3715,7 +3715,7 @@ impl ::core::ops::Not for SelectionOptions { } } impl ::windows::core::RuntimeType for SelectionOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.SelectionOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.SelectionOptions;u4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3748,7 +3748,7 @@ impl ::core::fmt::Debug for SelectionType { } } impl ::windows::core::RuntimeType for SelectionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.SelectionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.SelectionType;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3781,7 +3781,7 @@ impl ::core::fmt::Debug for TabAlignment { } } impl ::windows::core::RuntimeType for TabAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TabAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TabAlignment;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3815,7 +3815,7 @@ impl ::core::fmt::Debug for TabLeader { } } impl ::windows::core::RuntimeType for TabLeader { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TabLeader;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TabLeader;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3879,7 +3879,7 @@ impl ::core::ops::Not for TextDecorations { } } impl ::windows::core::RuntimeType for TextDecorations { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextDecorations;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextDecorations;u4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -3949,7 +3949,7 @@ impl ::core::ops::Not for TextGetOptions { } } impl ::windows::core::RuntimeType for TextGetOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextGetOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextGetOptions;u4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -4010,7 +4010,7 @@ impl ::core::fmt::Debug for TextRangeUnit { } } impl ::windows::core::RuntimeType for TextRangeUnit { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextRangeUnit;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextRangeUnit;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -4102,7 +4102,7 @@ impl ::core::fmt::Debug for TextScript { } } impl ::windows::core::RuntimeType for TextScript { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextScript;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextScript;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -4170,7 +4170,7 @@ impl ::core::ops::Not for TextSetOptions { } } impl ::windows::core::RuntimeType for TextSetOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextSetOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.TextSetOptions;u4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -4218,7 +4218,7 @@ impl ::core::fmt::Debug for UnderlineType { } } impl ::windows::core::RuntimeType for UnderlineType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.UnderlineType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.UnderlineType;i4)"); } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] @@ -4249,7 +4249,7 @@ impl ::core::fmt::Debug for VerticalCharacterAlignment { } } impl ::windows::core::RuntimeType for VerticalCharacterAlignment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.Text.VerticalCharacterAlignment;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Text.VerticalCharacterAlignment;i4)"); } #[repr(C)] #[doc = "*Required features: `\"UI_Text\"`*"] @@ -4271,7 +4271,7 @@ impl ::windows::core::TypeKind for FontWeight { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for FontWeight { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Text.FontWeight;u2)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Text.FontWeight;u2)"); } impl ::core::cmp::PartialEq for FontWeight { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs index c6382e9138..7f0cb1b688 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs @@ -34,7 +34,7 @@ impl ICoreAutomationConnectionBoundObjectProvider { } } } -::windows::core::interface_hierarchy!(ICoreAutomationConnectionBoundObjectProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreAutomationConnectionBoundObjectProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreAutomationConnectionBoundObjectProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47,7 +47,7 @@ impl ::core::fmt::Debug for ICoreAutomationConnectionBoundObjectProvider { } } impl ::windows::core::RuntimeType for ICoreAutomationConnectionBoundObjectProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{0620bb64-9616-5593-be3a-eb8e6daeb3fa}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{0620bb64-9616-5593-be3a-eb8e6daeb3fa}"); } unsafe impl ::windows::core::Vtable for ICoreAutomationConnectionBoundObjectProvider { type Vtable = ICoreAutomationConnectionBoundObjectProvider_Vtbl; @@ -169,7 +169,7 @@ impl ICoreAutomationRemoteOperationExtensionProvider { } } } -::windows::core::interface_hierarchy!(ICoreAutomationRemoteOperationExtensionProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreAutomationRemoteOperationExtensionProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreAutomationRemoteOperationExtensionProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -182,7 +182,7 @@ impl ::core::fmt::Debug for ICoreAutomationRemoteOperationExtensionProvider { } } impl ::windows::core::RuntimeType for ICoreAutomationRemoteOperationExtensionProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{88f53e67-dc69-553b-a0aa-70477e724da8}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{88f53e67-dc69-553b-a0aa-70477e724da8}"); } unsafe impl ::windows::core::Vtable for ICoreAutomationRemoteOperationExtensionProvider { type Vtable = ICoreAutomationRemoteOperationExtensionProvider_Vtbl; @@ -402,7 +402,7 @@ impl ::core::fmt::Debug for AutomationRemoteOperationResult { } } impl ::windows::core::RuntimeType for AutomationRemoteOperationResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.AutomationRemoteOperationResult;{e0f80c42-4a67-5534-bf5a-09e8a99b36b1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.AutomationRemoteOperationResult;{e0f80c42-4a67-5534-bf5a-09e8a99b36b1})"); } impl ::core::clone::Clone for AutomationRemoteOperationResult { fn clone(&self) -> Self { @@ -418,7 +418,7 @@ unsafe impl ::windows::core::Interface for AutomationRemoteOperationResult { impl ::windows::core::RuntimeName for AutomationRemoteOperationResult { const NAME: &'static str = "Windows.UI.UIAutomation.Core.AutomationRemoteOperationResult"; } -::windows::core::interface_hierarchy!(AutomationRemoteOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AutomationRemoteOperationResult, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AutomationRemoteOperationResult {} unsafe impl ::core::marker::Sync for AutomationRemoteOperationResult {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] @@ -435,7 +435,7 @@ impl CoreAutomationRegistrar { } #[doc(hidden)] pub fn ICoreAutomationRegistrarStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -449,8 +449,8 @@ impl CoreAutomationRemoteOperation { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn IsOpcodeSupported(&self, opcode: u32) -> ::windows::core::Result { @@ -496,7 +496,7 @@ impl ::core::fmt::Debug for CoreAutomationRemoteOperation { } } impl ::windows::core::RuntimeType for CoreAutomationRemoteOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.CoreAutomationRemoteOperation;{3ac656f4-e2bc-5c6e-b8e7-b224fb74b060})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.CoreAutomationRemoteOperation;{3ac656f4-e2bc-5c6e-b8e7-b224fb74b060})"); } impl ::core::clone::Clone for CoreAutomationRemoteOperation { fn clone(&self) -> Self { @@ -512,7 +512,7 @@ unsafe impl ::windows::core::Interface for CoreAutomationRemoteOperation { impl ::windows::core::RuntimeName for CoreAutomationRemoteOperation { const NAME: &'static str = "Windows.UI.UIAutomation.Core.CoreAutomationRemoteOperation"; } -::windows::core::interface_hierarchy!(CoreAutomationRemoteOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreAutomationRemoteOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreAutomationRemoteOperation {} unsafe impl ::core::marker::Sync for CoreAutomationRemoteOperation {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] @@ -553,7 +553,7 @@ impl ::core::fmt::Debug for CoreAutomationRemoteOperationContext { } } impl ::windows::core::RuntimeType for CoreAutomationRemoteOperationContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.CoreAutomationRemoteOperationContext;{b9af9cbb-3d3e-5918-a16b-7861626a3aeb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.CoreAutomationRemoteOperationContext;{b9af9cbb-3d3e-5918-a16b-7861626a3aeb})"); } impl ::core::clone::Clone for CoreAutomationRemoteOperationContext { fn clone(&self) -> Self { @@ -569,7 +569,7 @@ unsafe impl ::windows::core::Interface for CoreAutomationRemoteOperationContext impl ::windows::core::RuntimeName for CoreAutomationRemoteOperationContext { const NAME: &'static str = "Windows.UI.UIAutomation.Core.CoreAutomationRemoteOperationContext"; } -::windows::core::interface_hierarchy!(CoreAutomationRemoteOperationContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreAutomationRemoteOperationContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreAutomationRemoteOperationContext {} unsafe impl ::core::marker::Sync for CoreAutomationRemoteOperationContext {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] @@ -647,7 +647,7 @@ impl RemoteAutomationClientSession { } #[doc(hidden)] pub fn IRemoteAutomationClientSessionFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -663,7 +663,7 @@ impl ::core::fmt::Debug for RemoteAutomationClientSession { } } impl ::windows::core::RuntimeType for RemoteAutomationClientSession { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationClientSession;{5c8a091d-94cc-5b33-afdb-678cded2bd54})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationClientSession;{5c8a091d-94cc-5b33-afdb-678cded2bd54})"); } impl ::core::clone::Clone for RemoteAutomationClientSession { fn clone(&self) -> Self { @@ -679,7 +679,7 @@ unsafe impl ::windows::core::Interface for RemoteAutomationClientSession { impl ::windows::core::RuntimeName for RemoteAutomationClientSession { const NAME: &'static str = "Windows.UI.UIAutomation.Core.RemoteAutomationClientSession"; } -::windows::core::interface_hierarchy!(RemoteAutomationClientSession, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteAutomationClientSession, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteAutomationClientSession {} unsafe impl ::core::marker::Sync for RemoteAutomationClientSession {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] @@ -713,7 +713,7 @@ impl ::core::fmt::Debug for RemoteAutomationConnectionRequestedEventArgs { } } impl ::windows::core::RuntimeType for RemoteAutomationConnectionRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationConnectionRequestedEventArgs;{ea3319a8-e3a8-5dc6-adf8-044e46b14af5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationConnectionRequestedEventArgs;{ea3319a8-e3a8-5dc6-adf8-044e46b14af5})"); } impl ::core::clone::Clone for RemoteAutomationConnectionRequestedEventArgs { fn clone(&self) -> Self { @@ -729,7 +729,7 @@ unsafe impl ::windows::core::Interface for RemoteAutomationConnectionRequestedEv impl ::windows::core::RuntimeName for RemoteAutomationConnectionRequestedEventArgs { const NAME: &'static str = "Windows.UI.UIAutomation.Core.RemoteAutomationConnectionRequestedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteAutomationConnectionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteAutomationConnectionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteAutomationConnectionRequestedEventArgs {} unsafe impl ::core::marker::Sync for RemoteAutomationConnectionRequestedEventArgs {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] @@ -756,7 +756,7 @@ impl ::core::fmt::Debug for RemoteAutomationDisconnectedEventArgs { } } impl ::windows::core::RuntimeType for RemoteAutomationDisconnectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationDisconnectedEventArgs;{bbb33a3d-5d90-5c38-9eb2-dd9dcc1b2e3f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationDisconnectedEventArgs;{bbb33a3d-5d90-5c38-9eb2-dd9dcc1b2e3f})"); } impl ::core::clone::Clone for RemoteAutomationDisconnectedEventArgs { fn clone(&self) -> Self { @@ -772,7 +772,7 @@ unsafe impl ::windows::core::Interface for RemoteAutomationDisconnectedEventArgs impl ::windows::core::RuntimeName for RemoteAutomationDisconnectedEventArgs { const NAME: &'static str = "Windows.UI.UIAutomation.Core.RemoteAutomationDisconnectedEventArgs"; } -::windows::core::interface_hierarchy!(RemoteAutomationDisconnectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteAutomationDisconnectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteAutomationDisconnectedEventArgs {} unsafe impl ::core::marker::Sync for RemoteAutomationDisconnectedEventArgs {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] @@ -783,7 +783,7 @@ impl RemoteAutomationServer { } #[doc(hidden)] pub fn IRemoteAutomationServerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -823,7 +823,7 @@ impl ::core::fmt::Debug for RemoteAutomationWindow { } } impl ::windows::core::RuntimeType for RemoteAutomationWindow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationWindow;{7c607689-496d-512a-9bd5-c050cfaf1428})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationWindow;{7c607689-496d-512a-9bd5-c050cfaf1428})"); } impl ::core::clone::Clone for RemoteAutomationWindow { fn clone(&self) -> Self { @@ -839,7 +839,7 @@ unsafe impl ::windows::core::Interface for RemoteAutomationWindow { impl ::windows::core::RuntimeName for RemoteAutomationWindow { const NAME: &'static str = "Windows.UI.UIAutomation.Core.RemoteAutomationWindow"; } -::windows::core::interface_hierarchy!(RemoteAutomationWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(RemoteAutomationWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for RemoteAutomationWindow {} unsafe impl ::core::marker::Sync for RemoteAutomationWindow {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] @@ -873,7 +873,7 @@ impl ::core::fmt::Debug for AutomationRemoteOperationStatus { } } impl ::windows::core::RuntimeType for AutomationRemoteOperationStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.UIAutomation.Core.AutomationRemoteOperationStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.UIAutomation.Core.AutomationRemoteOperationStatus;i4)"); } #[repr(C)] #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] @@ -895,7 +895,7 @@ impl ::windows::core::TypeKind for AutomationAnnotationTypeRegistration { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for AutomationAnnotationTypeRegistration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.UIAutomation.Core.AutomationAnnotationTypeRegistration;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.UIAutomation.Core.AutomationAnnotationTypeRegistration;i4)"); } impl ::core::cmp::PartialEq for AutomationAnnotationTypeRegistration { fn eq(&self, other: &Self) -> bool { @@ -928,7 +928,7 @@ impl ::windows::core::TypeKind for AutomationRemoteOperationOperandId { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for AutomationRemoteOperationOperandId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.UIAutomation.Core.AutomationRemoteOperationOperandId;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.UIAutomation.Core.AutomationRemoteOperationOperandId;i4)"); } impl ::core::cmp::PartialEq for AutomationRemoteOperationOperandId { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs index 8a9e25735f..ca6ee8721e 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs @@ -121,7 +121,7 @@ impl ::core::fmt::Debug for AutomationConnection { } } impl ::windows::core::RuntimeType for AutomationConnection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationConnection;{aad262ed-0ef4-5d43-97be-a834e27b65b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationConnection;{aad262ed-0ef4-5d43-97be-a834e27b65b9})"); } impl ::core::clone::Clone for AutomationConnection { fn clone(&self) -> Self { @@ -137,7 +137,7 @@ unsafe impl ::windows::core::Interface for AutomationConnection { impl ::windows::core::RuntimeName for AutomationConnection { const NAME: &'static str = "Windows.UI.UIAutomation.AutomationConnection"; } -::windows::core::interface_hierarchy!(AutomationConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AutomationConnection, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AutomationConnection {} unsafe impl ::core::marker::Sync for AutomationConnection {} #[doc = "*Required features: `\"UI_UIAutomation\"`*"] @@ -164,7 +164,7 @@ impl ::core::fmt::Debug for AutomationConnectionBoundObject { } } impl ::windows::core::RuntimeType for AutomationConnectionBoundObject { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationConnectionBoundObject;{5e8558fb-ca52-5b65-9830-dd2905816093})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationConnectionBoundObject;{5e8558fb-ca52-5b65-9830-dd2905816093})"); } impl ::core::clone::Clone for AutomationConnectionBoundObject { fn clone(&self) -> Self { @@ -180,7 +180,7 @@ unsafe impl ::windows::core::Interface for AutomationConnectionBoundObject { impl ::windows::core::RuntimeName for AutomationConnectionBoundObject { const NAME: &'static str = "Windows.UI.UIAutomation.AutomationConnectionBoundObject"; } -::windows::core::interface_hierarchy!(AutomationConnectionBoundObject, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AutomationConnectionBoundObject, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AutomationConnectionBoundObject {} unsafe impl ::core::marker::Sync for AutomationConnectionBoundObject {} #[doc = "*Required features: `\"UI_UIAutomation\"`*"] @@ -221,7 +221,7 @@ impl ::core::fmt::Debug for AutomationElement { } } impl ::windows::core::RuntimeType for AutomationElement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationElement;{a1898370-2c07-56fd-993f-61a72a08058c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationElement;{a1898370-2c07-56fd-993f-61a72a08058c})"); } impl ::core::clone::Clone for AutomationElement { fn clone(&self) -> Self { @@ -237,7 +237,7 @@ unsafe impl ::windows::core::Interface for AutomationElement { impl ::windows::core::RuntimeName for AutomationElement { const NAME: &'static str = "Windows.UI.UIAutomation.AutomationElement"; } -::windows::core::interface_hierarchy!(AutomationElement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AutomationElement, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AutomationElement {} unsafe impl ::core::marker::Sync for AutomationElement {} #[doc = "*Required features: `\"UI_UIAutomation\"`*"] @@ -256,7 +256,7 @@ impl ::core::fmt::Debug for AutomationTextRange { } } impl ::windows::core::RuntimeType for AutomationTextRange { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationTextRange;{7e101b65-40d3-5994-85a9-0a0cb9a4ec98})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationTextRange;{7e101b65-40d3-5994-85a9-0a0cb9a4ec98})"); } impl ::core::clone::Clone for AutomationTextRange { fn clone(&self) -> Self { @@ -272,7 +272,7 @@ unsafe impl ::windows::core::Interface for AutomationTextRange { impl ::windows::core::RuntimeName for AutomationTextRange { const NAME: &'static str = "Windows.UI.UIAutomation.AutomationTextRange"; } -::windows::core::interface_hierarchy!(AutomationTextRange, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AutomationTextRange, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AutomationTextRange {} unsafe impl ::core::marker::Sync for AutomationTextRange {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs index b0089d26ee..76ddb30ded 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs @@ -552,7 +552,7 @@ impl CoreFrameworkInputView { } #[doc(hidden)] pub fn ICoreFrameworkInputViewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -568,7 +568,7 @@ impl ::core::fmt::Debug for CoreFrameworkInputView { } } impl ::windows::core::RuntimeType for CoreFrameworkInputView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputView;{d77c94ae-46b8-5d4a-9489-8ddec3d639a6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputView;{d77c94ae-46b8-5d4a-9489-8ddec3d639a6})"); } impl ::core::clone::Clone for CoreFrameworkInputView { fn clone(&self) -> Self { @@ -584,7 +584,7 @@ unsafe impl ::windows::core::Interface for CoreFrameworkInputView { impl ::windows::core::RuntimeName for CoreFrameworkInputView { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreFrameworkInputView"; } -::windows::core::interface_hierarchy!(CoreFrameworkInputView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreFrameworkInputView, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreFrameworkInputView {} unsafe impl ::core::marker::Sync for CoreFrameworkInputView {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -629,7 +629,7 @@ impl ::core::fmt::Debug for CoreFrameworkInputViewAnimationStartingEventArgs { } } impl ::windows::core::RuntimeType for CoreFrameworkInputViewAnimationStartingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputViewAnimationStartingEventArgs;{c0ec901c-bba4-501b-ae8b-65c9e756a719})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputViewAnimationStartingEventArgs;{c0ec901c-bba4-501b-ae8b-65c9e756a719})"); } impl ::core::clone::Clone for CoreFrameworkInputViewAnimationStartingEventArgs { fn clone(&self) -> Self { @@ -645,7 +645,7 @@ unsafe impl ::windows::core::Interface for CoreFrameworkInputViewAnimationStarti impl ::windows::core::RuntimeName for CoreFrameworkInputViewAnimationStartingEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreFrameworkInputViewAnimationStartingEventArgs"; } -::windows::core::interface_hierarchy!(CoreFrameworkInputViewAnimationStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreFrameworkInputViewAnimationStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreFrameworkInputViewAnimationStartingEventArgs {} unsafe impl ::core::marker::Sync for CoreFrameworkInputViewAnimationStartingEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -681,7 +681,7 @@ impl ::core::fmt::Debug for CoreFrameworkInputViewOcclusionsChangedEventArgs { } } impl ::windows::core::RuntimeType for CoreFrameworkInputViewOcclusionsChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputViewOcclusionsChangedEventArgs;{f36f4949-c82c-53d1-a75d-2b2baf0d9b0d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputViewOcclusionsChangedEventArgs;{f36f4949-c82c-53d1-a75d-2b2baf0d9b0d})"); } impl ::core::clone::Clone for CoreFrameworkInputViewOcclusionsChangedEventArgs { fn clone(&self) -> Self { @@ -697,7 +697,7 @@ unsafe impl ::windows::core::Interface for CoreFrameworkInputViewOcclusionsChang impl ::windows::core::RuntimeName for CoreFrameworkInputViewOcclusionsChangedEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreFrameworkInputViewOcclusionsChangedEventArgs"; } -::windows::core::interface_hierarchy!(CoreFrameworkInputViewOcclusionsChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreFrameworkInputViewOcclusionsChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreFrameworkInputViewOcclusionsChangedEventArgs {} unsafe impl ::core::marker::Sync for CoreFrameworkInputViewOcclusionsChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -883,12 +883,12 @@ impl CoreInputView { } #[doc(hidden)] pub fn ICoreInputViewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn ICoreInputViewStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -904,7 +904,7 @@ impl ::core::fmt::Debug for CoreInputView { } } impl ::windows::core::RuntimeType for CoreInputView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputView;{c770cd7a-7001-4c32-bf94-25c1f554cbf1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputView;{c770cd7a-7001-4c32-bf94-25c1f554cbf1})"); } impl ::core::clone::Clone for CoreInputView { fn clone(&self) -> Self { @@ -920,7 +920,7 @@ unsafe impl ::windows::core::Interface for CoreInputView { impl ::windows::core::RuntimeName for CoreInputView { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreInputView"; } -::windows::core::interface_hierarchy!(CoreInputView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInputView, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInputView {} unsafe impl ::core::marker::Sync for CoreInputView {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -969,7 +969,7 @@ impl ::core::fmt::Debug for CoreInputViewAnimationStartingEventArgs { } } impl ::windows::core::RuntimeType for CoreInputViewAnimationStartingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewAnimationStartingEventArgs;{a9144af2-b55c-5ea1-b8ab-5340f3e94897})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewAnimationStartingEventArgs;{a9144af2-b55c-5ea1-b8ab-5340f3e94897})"); } impl ::core::clone::Clone for CoreInputViewAnimationStartingEventArgs { fn clone(&self) -> Self { @@ -985,7 +985,7 @@ unsafe impl ::windows::core::Interface for CoreInputViewAnimationStartingEventAr impl ::windows::core::RuntimeName for CoreInputViewAnimationStartingEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreInputViewAnimationStartingEventArgs"; } -::windows::core::interface_hierarchy!(CoreInputViewAnimationStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInputViewAnimationStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInputViewAnimationStartingEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewAnimationStartingEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -1012,7 +1012,7 @@ impl ::core::fmt::Debug for CoreInputViewHidingEventArgs { } } impl ::windows::core::RuntimeType for CoreInputViewHidingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewHidingEventArgs;{eada47bd-bac5-5336-848d-41083584daad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewHidingEventArgs;{eada47bd-bac5-5336-848d-41083584daad})"); } impl ::core::clone::Clone for CoreInputViewHidingEventArgs { fn clone(&self) -> Self { @@ -1028,7 +1028,7 @@ unsafe impl ::windows::core::Interface for CoreInputViewHidingEventArgs { impl ::windows::core::RuntimeName for CoreInputViewHidingEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreInputViewHidingEventArgs"; } -::windows::core::interface_hierarchy!(CoreInputViewHidingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInputViewHidingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInputViewHidingEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewHidingEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -1064,7 +1064,7 @@ impl ::core::fmt::Debug for CoreInputViewOcclusion { } } impl ::windows::core::RuntimeType for CoreInputViewOcclusion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewOcclusion;{cc36ce06-3865-4177-b5f5-8b65e0b9ce84})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewOcclusion;{cc36ce06-3865-4177-b5f5-8b65e0b9ce84})"); } impl ::core::clone::Clone for CoreInputViewOcclusion { fn clone(&self) -> Self { @@ -1080,7 +1080,7 @@ unsafe impl ::windows::core::Interface for CoreInputViewOcclusion { impl ::windows::core::RuntimeName for CoreInputViewOcclusion { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreInputViewOcclusion"; } -::windows::core::interface_hierarchy!(CoreInputViewOcclusion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInputViewOcclusion, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInputViewOcclusion {} unsafe impl ::core::marker::Sync for CoreInputViewOcclusion {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -1120,7 +1120,7 @@ impl ::core::fmt::Debug for CoreInputViewOcclusionsChangedEventArgs { } } impl ::windows::core::RuntimeType for CoreInputViewOcclusionsChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewOcclusionsChangedEventArgs;{be1027e8-b3ee-4df7-9554-89cdc66082c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewOcclusionsChangedEventArgs;{be1027e8-b3ee-4df7-9554-89cdc66082c2})"); } impl ::core::clone::Clone for CoreInputViewOcclusionsChangedEventArgs { fn clone(&self) -> Self { @@ -1136,7 +1136,7 @@ unsafe impl ::windows::core::Interface for CoreInputViewOcclusionsChangedEventAr impl ::windows::core::RuntimeName for CoreInputViewOcclusionsChangedEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreInputViewOcclusionsChangedEventArgs"; } -::windows::core::interface_hierarchy!(CoreInputViewOcclusionsChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInputViewOcclusionsChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInputViewOcclusionsChangedEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewOcclusionsChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -1163,7 +1163,7 @@ impl ::core::fmt::Debug for CoreInputViewShowingEventArgs { } } impl ::windows::core::RuntimeType for CoreInputViewShowingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewShowingEventArgs;{ca52261b-fb9e-5daf-a98c-262b8b76af50})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewShowingEventArgs;{ca52261b-fb9e-5daf-a98c-262b8b76af50})"); } impl ::core::clone::Clone for CoreInputViewShowingEventArgs { fn clone(&self) -> Self { @@ -1179,7 +1179,7 @@ unsafe impl ::windows::core::Interface for CoreInputViewShowingEventArgs { impl ::windows::core::RuntimeName for CoreInputViewShowingEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreInputViewShowingEventArgs"; } -::windows::core::interface_hierarchy!(CoreInputViewShowingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInputViewShowingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInputViewShowingEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewShowingEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -1237,7 +1237,7 @@ impl ::core::fmt::Debug for CoreInputViewTransferringXYFocusEventArgs { } } impl ::windows::core::RuntimeType for CoreInputViewTransferringXYFocusEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewTransferringXYFocusEventArgs;{04de169f-ba02-4850-8b55-d82d03ba6d7f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewTransferringXYFocusEventArgs;{04de169f-ba02-4850-8b55-d82d03ba6d7f})"); } impl ::core::clone::Clone for CoreInputViewTransferringXYFocusEventArgs { fn clone(&self) -> Self { @@ -1253,7 +1253,7 @@ unsafe impl ::windows::core::Interface for CoreInputViewTransferringXYFocusEvent impl ::windows::core::RuntimeName for CoreInputViewTransferringXYFocusEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.Core.CoreInputViewTransferringXYFocusEventArgs"; } -::windows::core::interface_hierarchy!(CoreInputViewTransferringXYFocusEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CoreInputViewTransferringXYFocusEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for CoreInputViewTransferringXYFocusEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewTransferringXYFocusEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -1290,7 +1290,7 @@ impl UISettingsController { } #[doc(hidden)] pub fn IUISettingsControllerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1306,7 +1306,7 @@ impl ::core::fmt::Debug for UISettingsController { } } impl ::windows::core::RuntimeType for UISettingsController { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.UISettingsController;{78a51ac4-15c0-5a1b-a75b-acbf9cb8bb9e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.UISettingsController;{78a51ac4-15c0-5a1b-a75b-acbf9cb8bb9e})"); } impl ::core::clone::Clone for UISettingsController { fn clone(&self) -> Self { @@ -1322,7 +1322,7 @@ unsafe impl ::windows::core::Interface for UISettingsController { impl ::windows::core::RuntimeName for UISettingsController { const NAME: &'static str = "Windows.UI.ViewManagement.Core.UISettingsController"; } -::windows::core::interface_hierarchy!(UISettingsController, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UISettingsController, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UISettingsController {} unsafe impl ::core::marker::Sync for UISettingsController {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] @@ -1358,7 +1358,7 @@ impl ::core::fmt::Debug for CoreInputViewKind { } } impl ::windows::core::RuntimeType for CoreInputViewKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.Core.CoreInputViewKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.Core.CoreInputViewKind;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] @@ -1389,7 +1389,7 @@ impl ::core::fmt::Debug for CoreInputViewOcclusionKind { } } impl ::windows::core::RuntimeType for CoreInputViewOcclusionKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.Core.CoreInputViewOcclusionKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.Core.CoreInputViewOcclusionKind;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] @@ -1421,7 +1421,7 @@ impl ::core::fmt::Debug for CoreInputViewXYFocusTransferDirection { } } impl ::windows::core::RuntimeType for CoreInputViewXYFocusTransferDirection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.Core.CoreInputViewXYFocusTransferDirection;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.Core.CoreInputViewXYFocusTransferDirection;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs index f6f7dc6412..ae8b04424b 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs @@ -1444,8 +1444,8 @@ impl AccessibilitySettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn HighContrast(&self) -> ::windows::core::Result { @@ -1490,7 +1490,7 @@ impl ::core::fmt::Debug for AccessibilitySettings { } } impl ::windows::core::RuntimeType for AccessibilitySettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.AccessibilitySettings;{fe0e8147-c4c0-4562-b962-1327b52ad5b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.AccessibilitySettings;{fe0e8147-c4c0-4562-b962-1327b52ad5b9})"); } impl ::core::clone::Clone for AccessibilitySettings { fn clone(&self) -> Self { @@ -1506,7 +1506,7 @@ unsafe impl ::windows::core::Interface for AccessibilitySettings { impl ::windows::core::RuntimeName for AccessibilitySettings { const NAME: &'static str = "Windows.UI.ViewManagement.AccessibilitySettings"; } -::windows::core::interface_hierarchy!(AccessibilitySettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AccessibilitySettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AccessibilitySettings {} unsafe impl ::core::marker::Sync for AccessibilitySettings {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -1551,7 +1551,7 @@ impl ::core::fmt::Debug for ActivationViewSwitcher { } } impl ::windows::core::RuntimeType for ActivationViewSwitcher { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ActivationViewSwitcher;{dca71bb6-7350-492b-aac7-c8a13d7224ad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ActivationViewSwitcher;{dca71bb6-7350-492b-aac7-c8a13d7224ad})"); } impl ::core::clone::Clone for ActivationViewSwitcher { fn clone(&self) -> Self { @@ -1567,7 +1567,7 @@ unsafe impl ::windows::core::Interface for ActivationViewSwitcher { impl ::windows::core::RuntimeName for ActivationViewSwitcher { const NAME: &'static str = "Windows.UI.ViewManagement.ActivationViewSwitcher"; } -::windows::core::interface_hierarchy!(ActivationViewSwitcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivationViewSwitcher, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ActivationViewSwitcher {} unsafe impl ::core::marker::Sync for ActivationViewSwitcher {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -1922,33 +1922,33 @@ impl ApplicationView { #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IApplicationViewFullscreenStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IApplicationViewInteropStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] #[cfg(feature = "deprecated")] pub fn IApplicationViewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IApplicationViewStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IApplicationViewStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IApplicationViewStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1964,7 +1964,7 @@ impl ::core::fmt::Debug for ApplicationView { } } impl ::windows::core::RuntimeType for ApplicationView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationView;{d222d519-4361-451e-96c4-60f4f9742db0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationView;{d222d519-4361-451e-96c4-60f4f9742db0})"); } impl ::core::clone::Clone for ApplicationView { fn clone(&self) -> Self { @@ -1980,7 +1980,7 @@ unsafe impl ::windows::core::Interface for ApplicationView { impl ::windows::core::RuntimeName for ApplicationView { const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationView"; } -::windows::core::interface_hierarchy!(ApplicationView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationView, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ApplicationView {} unsafe impl ::core::marker::Sync for ApplicationView {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -2014,7 +2014,7 @@ impl ::core::fmt::Debug for ApplicationViewConsolidatedEventArgs { } } impl ::windows::core::RuntimeType for ApplicationViewConsolidatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs;{514449ec-7ea2-4de7-a6a6-7dfbaaebb6fb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs;{514449ec-7ea2-4de7-a6a6-7dfbaaebb6fb})"); } impl ::core::clone::Clone for ApplicationViewConsolidatedEventArgs { fn clone(&self) -> Self { @@ -2030,7 +2030,7 @@ unsafe impl ::windows::core::Interface for ApplicationViewConsolidatedEventArgs impl ::windows::core::RuntimeName for ApplicationViewConsolidatedEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs"; } -::windows::core::interface_hierarchy!(ApplicationViewConsolidatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationViewConsolidatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ApplicationViewConsolidatedEventArgs {} unsafe impl ::core::marker::Sync for ApplicationViewConsolidatedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -2051,7 +2051,7 @@ impl ApplicationViewScaling { } #[doc(hidden)] pub fn IApplicationViewScalingStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2067,7 +2067,7 @@ impl ::core::fmt::Debug for ApplicationViewScaling { } } impl ::windows::core::RuntimeType for ApplicationViewScaling { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewScaling;{1d0ddc23-23f3-4b2d-84fe-74bf37b48b66})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewScaling;{1d0ddc23-23f3-4b2d-84fe-74bf37b48b66})"); } impl ::core::clone::Clone for ApplicationViewScaling { fn clone(&self) -> Self { @@ -2083,7 +2083,7 @@ unsafe impl ::windows::core::Interface for ApplicationViewScaling { impl ::windows::core::RuntimeName for ApplicationViewScaling { const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewScaling"; } -::windows::core::interface_hierarchy!(ApplicationViewScaling, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationViewScaling, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ViewManagement\"`*"] pub struct ApplicationViewSwitcher; impl ApplicationViewSwitcher { @@ -2167,17 +2167,17 @@ impl ApplicationViewSwitcher { } #[doc(hidden)] pub fn IApplicationViewSwitcherStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IApplicationViewSwitcherStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IApplicationViewSwitcherStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2429,7 +2429,7 @@ impl ::core::fmt::Debug for ApplicationViewTitleBar { } } impl ::windows::core::RuntimeType for ApplicationViewTitleBar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewTitleBar;{00924ac0-932b-4a6b-9c4b-dc38c82478ce})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewTitleBar;{00924ac0-932b-4a6b-9c4b-dc38c82478ce})"); } impl ::core::clone::Clone for ApplicationViewTitleBar { fn clone(&self) -> Self { @@ -2445,7 +2445,7 @@ unsafe impl ::windows::core::Interface for ApplicationViewTitleBar { impl ::windows::core::RuntimeName for ApplicationViewTitleBar { const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewTitleBar"; } -::windows::core::interface_hierarchy!(ApplicationViewTitleBar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationViewTitleBar, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ApplicationViewTitleBar {} unsafe impl ::core::marker::Sync for ApplicationViewTitleBar {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -2455,8 +2455,8 @@ impl ApplicationViewTransferContext { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ViewId(&self) -> ::windows::core::Result { @@ -2478,7 +2478,7 @@ impl ApplicationViewTransferContext { } #[doc(hidden)] pub fn IApplicationViewTransferContextStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2494,7 +2494,7 @@ impl ::core::fmt::Debug for ApplicationViewTransferContext { } } impl ::windows::core::RuntimeType for ApplicationViewTransferContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewTransferContext;{8574bc63-3c17-408e-9408-8a1a9ea81bfa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewTransferContext;{8574bc63-3c17-408e-9408-8a1a9ea81bfa})"); } impl ::core::clone::Clone for ApplicationViewTransferContext { fn clone(&self) -> Self { @@ -2510,7 +2510,7 @@ unsafe impl ::windows::core::Interface for ApplicationViewTransferContext { impl ::windows::core::RuntimeName for ApplicationViewTransferContext { const NAME: &'static str = "Windows.UI.ViewManagement.ApplicationViewTransferContext"; } -::windows::core::interface_hierarchy!(ApplicationViewTransferContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ApplicationViewTransferContext, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] pub struct InputPane(::windows::core::IUnknown); @@ -2593,12 +2593,12 @@ impl InputPane { } #[doc(hidden)] pub fn IInputPaneStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IInputPaneStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2614,7 +2614,7 @@ impl ::core::fmt::Debug for InputPane { } } impl ::windows::core::RuntimeType for InputPane { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.InputPane;{640ada70-06f3-4c87-a678-9829c9127c28})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.InputPane;{640ada70-06f3-4c87-a678-9829c9127c28})"); } impl ::core::clone::Clone for InputPane { fn clone(&self) -> Self { @@ -2630,7 +2630,7 @@ unsafe impl ::windows::core::Interface for InputPane { impl ::windows::core::RuntimeName for InputPane { const NAME: &'static str = "Windows.UI.ViewManagement.InputPane"; } -::windows::core::interface_hierarchy!(InputPane, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InputPane, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] pub struct InputPaneVisibilityEventArgs(::windows::core::IUnknown); @@ -2668,7 +2668,7 @@ impl ::core::fmt::Debug for InputPaneVisibilityEventArgs { } } impl ::windows::core::RuntimeType for InputPaneVisibilityEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.InputPaneVisibilityEventArgs;{d243e016-d907-4fcc-bb8d-f77baa5028f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.InputPaneVisibilityEventArgs;{d243e016-d907-4fcc-bb8d-f77baa5028f1})"); } impl ::core::clone::Clone for InputPaneVisibilityEventArgs { fn clone(&self) -> Self { @@ -2684,7 +2684,7 @@ unsafe impl ::windows::core::Interface for InputPaneVisibilityEventArgs { impl ::windows::core::RuntimeName for InputPaneVisibilityEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.InputPaneVisibilityEventArgs"; } -::windows::core::interface_hierarchy!(InputPaneVisibilityEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(InputPaneVisibilityEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ViewManagement\"`*"] pub struct ProjectionManager; impl ProjectionManager { @@ -2763,12 +2763,12 @@ impl ProjectionManager { } #[doc(hidden)] pub fn IProjectionManagerStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IProjectionManagerStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2900,7 +2900,7 @@ impl StatusBar { } #[doc(hidden)] pub fn IStatusBarStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2916,7 +2916,7 @@ impl ::core::fmt::Debug for StatusBar { } } impl ::windows::core::RuntimeType for StatusBar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.StatusBar;{0ffcc5bf-98d0-4864-b1e8-b3f4020be8b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.StatusBar;{0ffcc5bf-98d0-4864-b1e8-b3f4020be8b4})"); } impl ::core::clone::Clone for StatusBar { fn clone(&self) -> Self { @@ -2932,7 +2932,7 @@ unsafe impl ::windows::core::Interface for StatusBar { impl ::windows::core::RuntimeName for StatusBar { const NAME: &'static str = "Windows.UI.ViewManagement.StatusBar"; } -::windows::core::interface_hierarchy!(StatusBar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StatusBar, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StatusBar {} unsafe impl ::core::marker::Sync for StatusBar {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -3000,7 +3000,7 @@ impl ::core::fmt::Debug for StatusBarProgressIndicator { } } impl ::windows::core::RuntimeType for StatusBarProgressIndicator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.StatusBarProgressIndicator;{76cb2670-a3d7-49cf-8200-4f3eedca27bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.StatusBarProgressIndicator;{76cb2670-a3d7-49cf-8200-4f3eedca27bb})"); } impl ::core::clone::Clone for StatusBarProgressIndicator { fn clone(&self) -> Self { @@ -3016,7 +3016,7 @@ unsafe impl ::windows::core::Interface for StatusBarProgressIndicator { impl ::windows::core::RuntimeName for StatusBarProgressIndicator { const NAME: &'static str = "Windows.UI.ViewManagement.StatusBarProgressIndicator"; } -::windows::core::interface_hierarchy!(StatusBarProgressIndicator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(StatusBarProgressIndicator, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for StatusBarProgressIndicator {} unsafe impl ::core::marker::Sync for StatusBarProgressIndicator {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -3026,8 +3026,8 @@ impl UISettings { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn HandPreference(&self) -> ::windows::core::Result { @@ -3260,7 +3260,7 @@ impl ::core::fmt::Debug for UISettings { } } impl ::windows::core::RuntimeType for UISettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettings;{85361600-1c63-4627-bcb1-3a89e0bc9c55})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettings;{85361600-1c63-4627-bcb1-3a89e0bc9c55})"); } impl ::core::clone::Clone for UISettings { fn clone(&self) -> Self { @@ -3276,7 +3276,7 @@ unsafe impl ::windows::core::Interface for UISettings { impl ::windows::core::RuntimeName for UISettings { const NAME: &'static str = "Windows.UI.ViewManagement.UISettings"; } -::windows::core::interface_hierarchy!(UISettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UISettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UISettings {} unsafe impl ::core::marker::Sync for UISettings {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -3295,7 +3295,7 @@ impl ::core::fmt::Debug for UISettingsAnimationsEnabledChangedEventArgs { } } impl ::windows::core::RuntimeType for UISettingsAnimationsEnabledChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs;{0c7b4b3d-2ea1-533e-894d-415bc5243c29})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs;{0c7b4b3d-2ea1-533e-894d-415bc5243c29})"); } impl ::core::clone::Clone for UISettingsAnimationsEnabledChangedEventArgs { fn clone(&self) -> Self { @@ -3311,7 +3311,7 @@ unsafe impl ::windows::core::Interface for UISettingsAnimationsEnabledChangedEve impl ::windows::core::RuntimeName for UISettingsAnimationsEnabledChangedEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs"; } -::windows::core::interface_hierarchy!(UISettingsAnimationsEnabledChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UISettingsAnimationsEnabledChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UISettingsAnimationsEnabledChangedEventArgs {} unsafe impl ::core::marker::Sync for UISettingsAnimationsEnabledChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -3330,7 +3330,7 @@ impl ::core::fmt::Debug for UISettingsAutoHideScrollBarsChangedEventArgs { } } impl ::windows::core::RuntimeType for UISettingsAutoHideScrollBarsChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs;{87afd4b2-9146-5f02-8f6b-06d454174c0f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs;{87afd4b2-9146-5f02-8f6b-06d454174c0f})"); } impl ::core::clone::Clone for UISettingsAutoHideScrollBarsChangedEventArgs { fn clone(&self) -> Self { @@ -3346,7 +3346,7 @@ unsafe impl ::windows::core::Interface for UISettingsAutoHideScrollBarsChangedEv impl ::windows::core::RuntimeName for UISettingsAutoHideScrollBarsChangedEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs"; } -::windows::core::interface_hierarchy!(UISettingsAutoHideScrollBarsChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UISettingsAutoHideScrollBarsChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UISettingsAutoHideScrollBarsChangedEventArgs {} unsafe impl ::core::marker::Sync for UISettingsAutoHideScrollBarsChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -3365,7 +3365,7 @@ impl ::core::fmt::Debug for UISettingsMessageDurationChangedEventArgs { } } impl ::windows::core::RuntimeType for UISettingsMessageDurationChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs;{338aad52-4a5d-5b59-8002-d930f608fd6e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs;{338aad52-4a5d-5b59-8002-d930f608fd6e})"); } impl ::core::clone::Clone for UISettingsMessageDurationChangedEventArgs { fn clone(&self) -> Self { @@ -3381,7 +3381,7 @@ unsafe impl ::windows::core::Interface for UISettingsMessageDurationChangedEvent impl ::windows::core::RuntimeName for UISettingsMessageDurationChangedEventArgs { const NAME: &'static str = "Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs"; } -::windows::core::interface_hierarchy!(UISettingsMessageDurationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UISettingsMessageDurationChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UISettingsMessageDurationChangedEventArgs {} unsafe impl ::core::marker::Sync for UISettingsMessageDurationChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -3403,7 +3403,7 @@ impl UIViewSettings { } #[doc(hidden)] pub fn IUIViewSettingsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3419,7 +3419,7 @@ impl ::core::fmt::Debug for UIViewSettings { } } impl ::windows::core::RuntimeType for UIViewSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UIViewSettings;{c63657f6-8850-470d-88f8-455e16ea2c26})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UIViewSettings;{c63657f6-8850-470d-88f8-455e16ea2c26})"); } impl ::core::clone::Clone for UIViewSettings { fn clone(&self) -> Self { @@ -3435,7 +3435,7 @@ unsafe impl ::windows::core::Interface for UIViewSettings { impl ::windows::core::RuntimeName for UIViewSettings { const NAME: &'static str = "Windows.UI.ViewManagement.UIViewSettings"; } -::windows::core::interface_hierarchy!(UIViewSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UIViewSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UIViewSettings {} unsafe impl ::core::marker::Sync for UIViewSettings {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -3476,7 +3476,7 @@ impl ViewModePreferences { } #[doc(hidden)] pub fn IViewModePreferencesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3492,7 +3492,7 @@ impl ::core::fmt::Debug for ViewModePreferences { } } impl ::windows::core::RuntimeType for ViewModePreferences { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ViewModePreferences;{878fcd3a-0b99-42c9-84d0-d3f1d403554b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ViewModePreferences;{878fcd3a-0b99-42c9-84d0-d3f1d403554b})"); } impl ::core::clone::Clone for ViewModePreferences { fn clone(&self) -> Self { @@ -3508,7 +3508,7 @@ unsafe impl ::windows::core::Interface for ViewModePreferences { impl ::windows::core::RuntimeName for ViewModePreferences { const NAME: &'static str = "Windows.UI.ViewManagement.ViewModePreferences"; } -::windows::core::interface_hierarchy!(ViewModePreferences, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ViewModePreferences, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -3537,7 +3537,7 @@ impl ::core::fmt::Debug for ApplicationViewBoundsMode { } } impl ::windows::core::RuntimeType for ApplicationViewBoundsMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewBoundsMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewBoundsMode;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3567,7 +3567,7 @@ impl ::core::fmt::Debug for ApplicationViewMode { } } impl ::windows::core::RuntimeType for ApplicationViewMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewMode;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3597,7 +3597,7 @@ impl ::core::fmt::Debug for ApplicationViewOrientation { } } impl ::windows::core::RuntimeType for ApplicationViewOrientation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewOrientation;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewOrientation;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] @@ -3637,7 +3637,7 @@ impl ::core::fmt::Debug for ApplicationViewState { } #[cfg(feature = "deprecated")] impl ::windows::core::RuntimeType for ApplicationViewState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewState;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3701,7 +3701,7 @@ impl ::core::ops::Not for ApplicationViewSwitchingOptions { } } impl ::windows::core::RuntimeType for ApplicationViewSwitchingOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewSwitchingOptions;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewSwitchingOptions;u4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3734,7 +3734,7 @@ impl ::core::fmt::Debug for ApplicationViewWindowingMode { } } impl ::windows::core::RuntimeType for ApplicationViewWindowingMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewWindowingMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ApplicationViewWindowingMode;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3764,7 +3764,7 @@ impl ::core::fmt::Debug for FullScreenSystemOverlayMode { } } impl ::windows::core::RuntimeType for FullScreenSystemOverlayMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.FullScreenSystemOverlayMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.FullScreenSystemOverlayMode;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3794,7 +3794,7 @@ impl ::core::fmt::Debug for HandPreference { } } impl ::windows::core::RuntimeType for HandPreference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.HandPreference;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.HandPreference;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3824,7 +3824,7 @@ impl ::core::fmt::Debug for ScreenCaptureDisabledBehavior { } } impl ::windows::core::RuntimeType for ScreenCaptureDisabledBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ScreenCaptureDisabledBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ScreenCaptureDisabledBehavior;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3862,7 +3862,7 @@ impl ::core::fmt::Debug for UIColorType { } } impl ::windows::core::RuntimeType for UIColorType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UIColorType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UIColorType;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3916,7 +3916,7 @@ impl ::core::fmt::Debug for UIElementType { } } impl ::windows::core::RuntimeType for UIElementType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UIElementType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UIElementType;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3946,7 +3946,7 @@ impl ::core::fmt::Debug for UserInteractionMode { } } impl ::windows::core::RuntimeType for UserInteractionMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UserInteractionMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.UserInteractionMode;i4)"); } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] @@ -3981,7 +3981,7 @@ impl ::core::fmt::Debug for ViewSizePreference { } } impl ::windows::core::RuntimeType for ViewSizePreference { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ViewSizePreference;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ViewManagement.ViewSizePreference;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs index 7df2e3002c..e7ce823f3e 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -148,7 +148,7 @@ pub struct IWebUICommandBarConfirmationButton_Vtbl { #[repr(transparent)] pub struct IWebUICommandBarElement(::windows::core::IUnknown); impl IWebUICommandBarElement {} -::windows::core::interface_hierarchy!(IWebUICommandBarElement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebUICommandBarElement, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebUICommandBarElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -161,7 +161,7 @@ impl ::core::fmt::Debug for IWebUICommandBarElement { } } impl ::windows::core::RuntimeType for IWebUICommandBarElement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{c9069ec2-284a-4633-8aad-637a27e282c3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{c9069ec2-284a-4633-8aad-637a27e282c3}"); } unsafe impl ::windows::core::Vtable for IWebUICommandBarElement { type Vtable = IWebUICommandBarElement_Vtbl; @@ -183,7 +183,7 @@ pub struct IWebUICommandBarElement_Vtbl { #[repr(transparent)] pub struct IWebUICommandBarIcon(::windows::core::IUnknown); impl IWebUICommandBarIcon {} -::windows::core::interface_hierarchy!(IWebUICommandBarIcon, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebUICommandBarIcon, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebUICommandBarIcon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -196,7 +196,7 @@ impl ::core::fmt::Debug for IWebUICommandBarIcon { } } impl ::windows::core::RuntimeType for IWebUICommandBarIcon { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d587655d-2014-42be-969a-7d14ca6c8a49}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d587655d-2014-42be-969a-7d14ca6c8a49}"); } unsafe impl ::windows::core::Vtable for IWebUICommandBarIcon { type Vtable = IWebUICommandBarIcon_Vtbl; @@ -505,7 +505,7 @@ impl WebUICommandBar { } #[doc(hidden)] pub fn IWebUICommandBarStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -521,7 +521,7 @@ impl ::core::fmt::Debug for WebUICommandBar { } } impl ::windows::core::RuntimeType for WebUICommandBar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBar;{a4fc0016-dbe5-41ad-8d7b-14698bd6911d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBar;{a4fc0016-dbe5-41ad-8d7b-14698bd6911d})"); } impl ::core::clone::Clone for WebUICommandBar { fn clone(&self) -> Self { @@ -537,7 +537,7 @@ unsafe impl ::windows::core::Interface for WebUICommandBar { impl ::windows::core::RuntimeName for WebUICommandBar { const NAME: &'static str = "Windows.UI.WebUI.Core.WebUICommandBar"; } -::windows::core::interface_hierarchy!(WebUICommandBar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICommandBar, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebUICommandBar {} unsafe impl ::core::marker::Sync for WebUICommandBar {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] @@ -547,8 +547,8 @@ impl WebUICommandBarBitmapIcon { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -576,7 +576,7 @@ impl WebUICommandBarBitmapIcon { } #[doc(hidden)] pub fn IWebUICommandBarBitmapIconFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -592,7 +592,7 @@ impl ::core::fmt::Debug for WebUICommandBarBitmapIcon { } } impl ::windows::core::RuntimeType for WebUICommandBarBitmapIcon { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarBitmapIcon;{858f4f45-08d8-4a46-81ec-00015b0b1c6c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarBitmapIcon;{858f4f45-08d8-4a46-81ec-00015b0b1c6c})"); } impl ::core::clone::Clone for WebUICommandBarBitmapIcon { fn clone(&self) -> Self { @@ -608,7 +608,7 @@ unsafe impl ::windows::core::Interface for WebUICommandBarBitmapIcon { impl ::windows::core::RuntimeName for WebUICommandBarBitmapIcon { const NAME: &'static str = "Windows.UI.WebUI.Core.WebUICommandBarBitmapIcon"; } -::windows::core::interface_hierarchy!(WebUICommandBarBitmapIcon, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICommandBarBitmapIcon, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebUICommandBarIcon { type Error = ::windows::core::Error; fn try_from(value: WebUICommandBarBitmapIcon) -> ::windows::core::Result { @@ -637,8 +637,8 @@ impl WebUICommandBarConfirmationButton { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -680,7 +680,7 @@ impl ::core::fmt::Debug for WebUICommandBarConfirmationButton { } } impl ::windows::core::RuntimeType for WebUICommandBarConfirmationButton { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarConfirmationButton;{86e7824a-e3d5-4eb6-b2ff-8f018a172105})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarConfirmationButton;{86e7824a-e3d5-4eb6-b2ff-8f018a172105})"); } impl ::core::clone::Clone for WebUICommandBarConfirmationButton { fn clone(&self) -> Self { @@ -696,7 +696,7 @@ unsafe impl ::windows::core::Interface for WebUICommandBarConfirmationButton { impl ::windows::core::RuntimeName for WebUICommandBarConfirmationButton { const NAME: &'static str = "Windows.UI.WebUI.Core.WebUICommandBarConfirmationButton"; } -::windows::core::interface_hierarchy!(WebUICommandBarConfirmationButton, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICommandBarConfirmationButton, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebUICommandBarElement { type Error = ::windows::core::Error; fn try_from(value: WebUICommandBarConfirmationButton) -> ::windows::core::Result { @@ -725,8 +725,8 @@ impl WebUICommandBarIconButton { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Enabled(&self) -> ::windows::core::Result { @@ -816,7 +816,7 @@ impl ::core::fmt::Debug for WebUICommandBarIconButton { } } impl ::windows::core::RuntimeType for WebUICommandBarIconButton { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarIconButton;{8f1bc93a-3a7c-4842-a0cf-aff6ea308586})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarIconButton;{8f1bc93a-3a7c-4842-a0cf-aff6ea308586})"); } impl ::core::clone::Clone for WebUICommandBarIconButton { fn clone(&self) -> Self { @@ -832,7 +832,7 @@ unsafe impl ::windows::core::Interface for WebUICommandBarIconButton { impl ::windows::core::RuntimeName for WebUICommandBarIconButton { const NAME: &'static str = "Windows.UI.WebUI.Core.WebUICommandBarIconButton"; } -::windows::core::interface_hierarchy!(WebUICommandBarIconButton, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICommandBarIconButton, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebUICommandBarElement { type Error = ::windows::core::Error; fn try_from(value: WebUICommandBarIconButton) -> ::windows::core::Result { @@ -878,7 +878,7 @@ impl ::core::fmt::Debug for WebUICommandBarItemInvokedEventArgs { } } impl ::windows::core::RuntimeType for WebUICommandBarItemInvokedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarItemInvokedEventArgs;{304edbdd-e741-41ef-bdc4-a45cea2a4f70})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarItemInvokedEventArgs;{304edbdd-e741-41ef-bdc4-a45cea2a4f70})"); } impl ::core::clone::Clone for WebUICommandBarItemInvokedEventArgs { fn clone(&self) -> Self { @@ -894,7 +894,7 @@ unsafe impl ::windows::core::Interface for WebUICommandBarItemInvokedEventArgs { impl ::windows::core::RuntimeName for WebUICommandBarItemInvokedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.Core.WebUICommandBarItemInvokedEventArgs"; } -::windows::core::interface_hierarchy!(WebUICommandBarItemInvokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICommandBarItemInvokedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebUICommandBarItemInvokedEventArgs {} unsafe impl ::core::marker::Sync for WebUICommandBarItemInvokedEventArgs {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] @@ -923,7 +923,7 @@ impl ::core::fmt::Debug for WebUICommandBarSizeChangedEventArgs { } } impl ::windows::core::RuntimeType for WebUICommandBarSizeChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarSizeChangedEventArgs;{fbf1e2f6-3029-4719-8378-92f82b87af1e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarSizeChangedEventArgs;{fbf1e2f6-3029-4719-8378-92f82b87af1e})"); } impl ::core::clone::Clone for WebUICommandBarSizeChangedEventArgs { fn clone(&self) -> Self { @@ -939,7 +939,7 @@ unsafe impl ::windows::core::Interface for WebUICommandBarSizeChangedEventArgs { impl ::windows::core::RuntimeName for WebUICommandBarSizeChangedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.Core.WebUICommandBarSizeChangedEventArgs"; } -::windows::core::interface_hierarchy!(WebUICommandBarSizeChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICommandBarSizeChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WebUICommandBarSizeChangedEventArgs {} unsafe impl ::core::marker::Sync for WebUICommandBarSizeChangedEventArgs {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] @@ -949,8 +949,8 @@ impl WebUICommandBarSymbolIcon { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Symbol(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -972,7 +972,7 @@ impl WebUICommandBarSymbolIcon { } #[doc(hidden)] pub fn IWebUICommandBarSymbolIconFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -988,7 +988,7 @@ impl ::core::fmt::Debug for WebUICommandBarSymbolIcon { } } impl ::windows::core::RuntimeType for WebUICommandBarSymbolIcon { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarSymbolIcon;{d4935477-fd26-46ed-8658-1a3f4400e7b3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarSymbolIcon;{d4935477-fd26-46ed-8658-1a3f4400e7b3})"); } impl ::core::clone::Clone for WebUICommandBarSymbolIcon { fn clone(&self) -> Self { @@ -1004,7 +1004,7 @@ unsafe impl ::windows::core::Interface for WebUICommandBarSymbolIcon { impl ::windows::core::RuntimeName for WebUICommandBarSymbolIcon { const NAME: &'static str = "Windows.UI.WebUI.Core.WebUICommandBarSymbolIcon"; } -::windows::core::interface_hierarchy!(WebUICommandBarSymbolIcon, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICommandBarSymbolIcon, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebUICommandBarIcon { type Error = ::windows::core::Error; fn try_from(value: WebUICommandBarSymbolIcon) -> ::windows::core::Result { @@ -1055,15 +1055,15 @@ impl ::core::fmt::Debug for WebUICommandBarClosedDisplayMode { } } impl ::windows::core::RuntimeType for WebUICommandBarClosedDisplayMode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.WebUI.Core.WebUICommandBarClosedDisplayMode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WebUI.Core.WebUICommandBarClosedDisplayMode;i4)"); } #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] pub struct MenuClosedEventHandler(pub ::windows::core::IUnknown); impl MenuClosedEventHandler { pub fn new ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = MenuClosedEventHandlerBox:: { vtable: &MenuClosedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = MenuClosedEventHandlerBox:: { vtable: &MenuClosedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self) -> ::windows::core::Result<()> { let this = self; @@ -1074,7 +1074,7 @@ impl MenuClosedEventHandler { struct MenuClosedEventHandlerBox ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const MenuClosedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl ::windows::core::Result<()> + ::core::marker::Send + 'static> MenuClosedEventHandlerBox { const VTABLE: MenuClosedEventHandler_Vtbl = MenuClosedEventHandler_Vtbl { @@ -1083,7 +1083,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1099,7 +1099,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1131,7 +1131,7 @@ unsafe impl ::windows::core::Interface for MenuClosedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x435387c8_4dd0_4c52_9489_d390ce7721d2); } impl ::windows::core::RuntimeType for MenuClosedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{435387c8-4dd0-4c52-9489-d390ce7721d2}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{435387c8-4dd0-4c52-9489-d390ce7721d2}"); } #[repr(C)] #[doc(hidden)] @@ -1144,8 +1144,8 @@ pub struct MenuClosedEventHandler_Vtbl { pub struct MenuOpenedEventHandler(pub ::windows::core::IUnknown); impl MenuOpenedEventHandler { pub fn new ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = MenuOpenedEventHandlerBox:: { vtable: &MenuOpenedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = MenuOpenedEventHandlerBox:: { vtable: &MenuOpenedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self) -> ::windows::core::Result<()> { let this = self; @@ -1156,7 +1156,7 @@ impl MenuOpenedEventHandler { struct MenuOpenedEventHandlerBox ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const MenuOpenedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl ::windows::core::Result<()> + ::core::marker::Send + 'static> MenuOpenedEventHandlerBox { const VTABLE: MenuOpenedEventHandler_Vtbl = MenuOpenedEventHandler_Vtbl { @@ -1165,7 +1165,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1181,7 +1181,7 @@ impl ::windows::core::Result<()> + ::core::marker::Send + 'static> let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1213,7 +1213,7 @@ unsafe impl ::windows::core::Interface for MenuOpenedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x18dc0ad3_678f_4c19_8963_cc1c49a5ef9e); } impl ::windows::core::RuntimeType for MenuOpenedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{18dc0ad3-678f-4c19-8963-cc1c49a5ef9e}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{18dc0ad3-678f-4c19-8963-cc1c49a5ef9e}"); } #[repr(C)] #[doc(hidden)] @@ -1226,8 +1226,8 @@ pub struct MenuOpenedEventHandler_Vtbl { pub struct SizeChangedEventHandler(pub ::windows::core::IUnknown); impl SizeChangedEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = SizeChangedEventHandlerBox:: { vtable: &SizeChangedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = SizeChangedEventHandlerBox:: { vtable: &SizeChangedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, eventargs: &WebUICommandBarSizeChangedEventArgs) -> ::windows::core::Result<()> { let this = self; @@ -1238,7 +1238,7 @@ impl SizeChangedEventHandler { struct SizeChangedEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const SizeChangedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> SizeChangedEventHandlerBox { const VTABLE: SizeChangedEventHandler_Vtbl = SizeChangedEventHandler_Vtbl { @@ -1247,7 +1247,7 @@ impl) -> : }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -1263,7 +1263,7 @@ impl) -> : let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -1295,7 +1295,7 @@ unsafe impl ::windows::core::Interface for SizeChangedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd49cfe3c_dd2e_4c28_b627_303a7f911af5); } impl ::windows::core::RuntimeType for SizeChangedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{d49cfe3c-dd2e-4c28-b627-303a7f911af5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{d49cfe3c-dd2e-4c28-b627-303a7f911af5}"); } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index 08757bc305..ba3eeb00b8 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -32,7 +32,7 @@ impl IActivatedEventArgsDeferral { } } } -::windows::core::interface_hierarchy!(IActivatedEventArgsDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IActivatedEventArgsDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IActivatedEventArgsDeferral { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45,7 +45,7 @@ impl ::core::fmt::Debug for IActivatedEventArgsDeferral { } } impl ::windows::core::RuntimeType for IActivatedEventArgsDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b}"); } unsafe impl ::windows::core::Vtable for IActivatedEventArgsDeferral { type Vtable = IActivatedEventArgsDeferral_Vtbl; @@ -315,7 +315,7 @@ impl IWebUIBackgroundTaskInstance { unsafe { (::windows::core::Vtable::vtable(this).SetSucceeded)(::windows::core::Vtable::as_raw(this), succeeded).ok() } } } -::windows::core::interface_hierarchy!(IWebUIBackgroundTaskInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebUIBackgroundTaskInstance, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebUIBackgroundTaskInstance { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -328,7 +328,7 @@ impl ::core::fmt::Debug for IWebUIBackgroundTaskInstance { } } impl ::windows::core::RuntimeType for IWebUIBackgroundTaskInstance { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{23f12c25-e2f7-4741-bc9c-394595de24dc}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{23f12c25-e2f7-4741-bc9c-394595de24dc}"); } unsafe impl ::windows::core::Vtable for IWebUIBackgroundTaskInstance { type Vtable = IWebUIBackgroundTaskInstance_Vtbl; @@ -400,7 +400,7 @@ impl IWebUINavigatedEventArgs { } } } -::windows::core::interface_hierarchy!(IWebUINavigatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebUINavigatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebUINavigatedEventArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -413,7 +413,7 @@ impl ::core::fmt::Debug for IWebUINavigatedEventArgs { } } impl ::windows::core::RuntimeType for IWebUINavigatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a75841b8-2499-4030-a69d-15d2d9cfe524}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a75841b8-2499-4030-a69d-15d2d9cfe524}"); } unsafe impl ::windows::core::Vtable for IWebUINavigatedEventArgs { type Vtable = IWebUINavigatedEventArgs_Vtbl; @@ -538,7 +538,7 @@ impl ::core::fmt::Debug for ActivatedDeferral { } } impl ::windows::core::RuntimeType for ActivatedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.ActivatedDeferral;{c3bd1978-a431-49d8-a76a-395a4e03dcf3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.ActivatedDeferral;{c3bd1978-a431-49d8-a76a-395a4e03dcf3})"); } impl ::core::clone::Clone for ActivatedDeferral { fn clone(&self) -> Self { @@ -554,7 +554,7 @@ unsafe impl ::windows::core::Interface for ActivatedDeferral { impl ::windows::core::RuntimeName for ActivatedDeferral { const NAME: &'static str = "Windows.UI.WebUI.ActivatedDeferral"; } -::windows::core::interface_hierarchy!(ActivatedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivatedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] pub struct ActivatedOperation(::windows::core::IUnknown); @@ -579,7 +579,7 @@ impl ::core::fmt::Debug for ActivatedOperation { } } impl ::windows::core::RuntimeType for ActivatedOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.ActivatedOperation;{b6a0b4bc-c6ca-42fd-9818-71904e45fed7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.ActivatedOperation;{b6a0b4bc-c6ca-42fd-9818-71904e45fed7})"); } impl ::core::clone::Clone for ActivatedOperation { fn clone(&self) -> Self { @@ -595,7 +595,7 @@ unsafe impl ::windows::core::Interface for ActivatedOperation { impl ::windows::core::RuntimeName for ActivatedOperation { const NAME: &'static str = "Windows.UI.WebUI.ActivatedOperation"; } -::windows::core::interface_hierarchy!(ActivatedOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ActivatedOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] @@ -628,7 +628,7 @@ impl ::core::fmt::Debug for BackgroundActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for BackgroundActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for BackgroundActivatedEventArgs { @@ -649,7 +649,7 @@ impl ::windows::core::RuntimeName for BackgroundActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.BackgroundActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(BackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(BackgroundActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs { type Error = ::windows::core::Error; @@ -708,7 +708,7 @@ impl ::core::fmt::Debug for EnteredBackgroundEventArgs { } #[cfg(feature = "ApplicationModel")] impl ::windows::core::RuntimeType for EnteredBackgroundEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.EnteredBackgroundEventArgs;{f722dcc2-9827-403d-aaed-ecca9ac17398})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.EnteredBackgroundEventArgs;{f722dcc2-9827-403d-aaed-ecca9ac17398})"); } #[cfg(feature = "ApplicationModel")] impl ::core::clone::Clone for EnteredBackgroundEventArgs { @@ -729,7 +729,7 @@ impl ::windows::core::RuntimeName for EnteredBackgroundEventArgs { const NAME: &'static str = "Windows.UI.WebUI.EnteredBackgroundEventArgs"; } #[cfg(feature = "ApplicationModel")] -::windows::core::interface_hierarchy!(EnteredBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(EnteredBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel")] impl ::core::convert::TryFrom for super::super::ApplicationModel::IEnteredBackgroundEventArgs { type Error = ::windows::core::Error; @@ -881,7 +881,7 @@ impl ::core::fmt::Debug for HtmlPrintDocumentSource { } } impl ::windows::core::RuntimeType for HtmlPrintDocumentSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.HtmlPrintDocumentSource;{cea6469a-0e05-467a-abc9-36ec1d4cdcb6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.HtmlPrintDocumentSource;{cea6469a-0e05-467a-abc9-36ec1d4cdcb6})"); } impl ::core::clone::Clone for HtmlPrintDocumentSource { fn clone(&self) -> Self { @@ -897,7 +897,7 @@ unsafe impl ::windows::core::Interface for HtmlPrintDocumentSource { impl ::windows::core::RuntimeName for HtmlPrintDocumentSource { const NAME: &'static str = "Windows.UI.WebUI.HtmlPrintDocumentSource"; } -::windows::core::interface_hierarchy!(HtmlPrintDocumentSource, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HtmlPrintDocumentSource, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -976,7 +976,7 @@ impl ::core::fmt::Debug for LeavingBackgroundEventArgs { } #[cfg(feature = "ApplicationModel")] impl ::windows::core::RuntimeType for LeavingBackgroundEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.LeavingBackgroundEventArgs;{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.LeavingBackgroundEventArgs;{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e})"); } #[cfg(feature = "ApplicationModel")] impl ::core::clone::Clone for LeavingBackgroundEventArgs { @@ -997,7 +997,7 @@ impl ::windows::core::RuntimeName for LeavingBackgroundEventArgs { const NAME: &'static str = "Windows.UI.WebUI.LeavingBackgroundEventArgs"; } #[cfg(feature = "ApplicationModel")] -::windows::core::interface_hierarchy!(LeavingBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(LeavingBackgroundEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel")] impl ::core::convert::TryFrom for super::super::ApplicationModel::ILeavingBackgroundEventArgs { type Error = ::windows::core::Error; @@ -1073,7 +1073,7 @@ impl ::core::fmt::Debug for NewWebUIViewCreatedEventArgs { } } impl ::windows::core::RuntimeType for NewWebUIViewCreatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.NewWebUIViewCreatedEventArgs;{e8e1b216-be2b-4c9e-85e7-083143ec4be7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.NewWebUIViewCreatedEventArgs;{e8e1b216-be2b-4c9e-85e7-083143ec4be7})"); } impl ::core::clone::Clone for NewWebUIViewCreatedEventArgs { fn clone(&self) -> Self { @@ -1089,7 +1089,7 @@ unsafe impl ::windows::core::Interface for NewWebUIViewCreatedEventArgs { impl ::windows::core::RuntimeName for NewWebUIViewCreatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.NewWebUIViewCreatedEventArgs"; } -::windows::core::interface_hierarchy!(NewWebUIViewCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(NewWebUIViewCreatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] #[repr(transparent)] @@ -1119,7 +1119,7 @@ impl ::core::fmt::Debug for SuspendingDeferral { } #[cfg(feature = "ApplicationModel")] impl ::windows::core::RuntimeType for SuspendingDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingDeferral;{59140509-8bc9-4eb4-b636-dabdc4f46f66})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingDeferral;{59140509-8bc9-4eb4-b636-dabdc4f46f66})"); } #[cfg(feature = "ApplicationModel")] impl ::core::clone::Clone for SuspendingDeferral { @@ -1140,7 +1140,7 @@ impl ::windows::core::RuntimeName for SuspendingDeferral { const NAME: &'static str = "Windows.UI.WebUI.SuspendingDeferral"; } #[cfg(feature = "ApplicationModel")] -::windows::core::interface_hierarchy!(SuspendingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SuspendingDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel")] impl ::core::convert::TryFrom for super::super::ApplicationModel::ISuspendingDeferral { type Error = ::windows::core::Error; @@ -1195,7 +1195,7 @@ impl ::core::fmt::Debug for SuspendingEventArgs { } #[cfg(feature = "ApplicationModel")] impl ::windows::core::RuntimeType for SuspendingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingEventArgs;{96061c05-2dba-4d08-b0bd-2b30a131c6aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingEventArgs;{96061c05-2dba-4d08-b0bd-2b30a131c6aa})"); } #[cfg(feature = "ApplicationModel")] impl ::core::clone::Clone for SuspendingEventArgs { @@ -1216,7 +1216,7 @@ impl ::windows::core::RuntimeName for SuspendingEventArgs { const NAME: &'static str = "Windows.UI.WebUI.SuspendingEventArgs"; } #[cfg(feature = "ApplicationModel")] -::windows::core::interface_hierarchy!(SuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SuspendingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel")] impl ::core::convert::TryFrom for super::super::ApplicationModel::ISuspendingEventArgs { type Error = ::windows::core::Error; @@ -1280,7 +1280,7 @@ impl ::core::fmt::Debug for SuspendingOperation { } #[cfg(feature = "ApplicationModel")] impl ::windows::core::RuntimeType for SuspendingOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingOperation;{9da4ca41-20e1-4e9b-9f65-a9f435340c3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingOperation;{9da4ca41-20e1-4e9b-9f65-a9f435340c3a})"); } #[cfg(feature = "ApplicationModel")] impl ::core::clone::Clone for SuspendingOperation { @@ -1301,7 +1301,7 @@ impl ::windows::core::RuntimeName for SuspendingOperation { const NAME: &'static str = "Windows.UI.WebUI.SuspendingOperation"; } #[cfg(feature = "ApplicationModel")] -::windows::core::interface_hierarchy!(SuspendingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SuspendingOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel")] impl ::core::convert::TryFrom for super::super::ApplicationModel::ISuspendingOperation { type Error = ::windows::core::Error; @@ -1452,22 +1452,22 @@ impl WebUIApplication { } #[doc(hidden)] pub fn IWebUIActivationStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebUIActivationStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebUIActivationStatics3 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IWebUIActivationStatics4 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1558,7 +1558,7 @@ impl ::core::fmt::Debug for WebUIAppointmentsProviderAddAppointmentActivatedEven } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { @@ -1579,7 +1579,7 @@ impl ::windows::core::RuntimeName for WebUIAppointmentsProviderAddAppointmentAct const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderAddAppointmentActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIAppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderAddAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -1774,7 +1774,7 @@ impl ::core::fmt::Debug for WebUIAppointmentsProviderRemoveAppointmentActivatedE } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { @@ -1795,7 +1795,7 @@ impl ::windows::core::RuntimeName for WebUIAppointmentsProviderRemoveAppointment const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -1990,7 +1990,7 @@ impl ::core::fmt::Debug for WebUIAppointmentsProviderReplaceAppointmentActivated } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { @@ -2011,7 +2011,7 @@ impl ::windows::core::RuntimeName for WebUIAppointmentsProviderReplaceAppointmen const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -2224,7 +2224,7 @@ impl ::core::fmt::Debug for WebUIAppointmentsProviderShowAppointmentDetailsActiv } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { @@ -2245,7 +2245,7 @@ impl ::windows::core::RuntimeName for WebUIAppointmentsProviderShowAppointmentDe const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -2449,7 +2449,7 @@ impl ::core::fmt::Debug for WebUIAppointmentsProviderShowTimeFrameActivatedEvent } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { @@ -2470,7 +2470,7 @@ impl ::windows::core::RuntimeName for WebUIAppointmentsProviderShowTimeFrameActi const NAME: &'static str = "Windows.UI.WebUI.WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -2592,7 +2592,7 @@ impl WebUIBackgroundTaskInstance { } #[doc(hidden)] pub fn IWebUIBackgroundTaskInstanceStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2702,7 +2702,7 @@ impl ::core::fmt::Debug for WebUIBackgroundTaskInstanceRuntimeClass { } } impl ::windows::core::RuntimeType for WebUIBackgroundTaskInstanceRuntimeClass { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIBackgroundTaskInstanceRuntimeClass;{23f12c25-e2f7-4741-bc9c-394595de24dc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIBackgroundTaskInstanceRuntimeClass;{23f12c25-e2f7-4741-bc9c-394595de24dc})"); } impl ::core::clone::Clone for WebUIBackgroundTaskInstanceRuntimeClass { fn clone(&self) -> Self { @@ -2718,7 +2718,7 @@ unsafe impl ::windows::core::Interface for WebUIBackgroundTaskInstanceRuntimeCla impl ::windows::core::RuntimeName for WebUIBackgroundTaskInstanceRuntimeClass { const NAME: &'static str = "Windows.UI.WebUI.WebUIBackgroundTaskInstanceRuntimeClass"; } -::windows::core::interface_hierarchy!(WebUIBackgroundTaskInstanceRuntimeClass, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIBackgroundTaskInstanceRuntimeClass, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Background")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Background::IBackgroundTaskInstance { type Error = ::windows::core::Error; @@ -2835,7 +2835,7 @@ impl ::core::fmt::Debug for WebUIBarcodeScannerPreviewActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIBarcodeScannerPreviewActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIBarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIBarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIBarcodeScannerPreviewActivatedEventArgs { @@ -2856,7 +2856,7 @@ impl ::windows::core::RuntimeName for WebUIBarcodeScannerPreviewActivatedEventAr const NAME: &'static str = "Windows.UI.WebUI.WebUIBarcodeScannerPreviewActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIBarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIBarcodeScannerPreviewActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3024,7 +3024,7 @@ impl ::core::fmt::Debug for WebUICachedFileUpdaterActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUICachedFileUpdaterActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUICachedFileUpdaterActivatedEventArgs { @@ -3045,7 +3045,7 @@ impl ::windows::core::RuntimeName for WebUICachedFileUpdaterActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUICachedFileUpdaterActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3209,7 +3209,7 @@ impl ::core::fmt::Debug for WebUICameraSettingsActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUICameraSettingsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUICameraSettingsActivatedEventArgs { @@ -3230,7 +3230,7 @@ impl ::windows::core::RuntimeName for WebUICameraSettingsActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUICameraSettingsActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUICameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICameraSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3372,7 +3372,7 @@ impl ::core::fmt::Debug for WebUICommandLineActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUICommandLineActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUICommandLineActivatedEventArgs { @@ -3393,7 +3393,7 @@ impl ::windows::core::RuntimeName for WebUICommandLineActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUICommandLineActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUICommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUICommandLineActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3579,7 +3579,7 @@ impl ::core::fmt::Debug for WebUIContactCallActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIContactCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIContactCallActivatedEventArgs { @@ -3600,7 +3600,7 @@ impl ::windows::core::RuntimeName for WebUIContactCallActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIContactCallActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIContactCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3773,7 +3773,7 @@ impl ::core::fmt::Debug for WebUIContactMapActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIContactMapActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIContactMapActivatedEventArgs { @@ -3794,7 +3794,7 @@ impl ::windows::core::RuntimeName for WebUIContactMapActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIContactMapActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIContactMapActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -3976,7 +3976,7 @@ impl ::core::fmt::Debug for WebUIContactMessageActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIContactMessageActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIContactMessageActivatedEventArgs { @@ -3997,7 +3997,7 @@ impl ::windows::core::RuntimeName for WebUIContactMessageActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIContactMessageActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIContactMessageActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -4170,7 +4170,7 @@ impl ::core::fmt::Debug for WebUIContactPanelActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIContactPanelActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIContactPanelActivatedEventArgs { @@ -4191,7 +4191,7 @@ impl ::windows::core::RuntimeName for WebUIContactPanelActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIContactPanelActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIContactPanelActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -4350,7 +4350,7 @@ impl ::core::fmt::Debug for WebUIContactPickerActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIContactPickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIContactPickerActivatedEventArgs { @@ -4371,7 +4371,7 @@ impl ::windows::core::RuntimeName for WebUIContactPickerActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIContactPickerActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIContactPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -4531,7 +4531,7 @@ impl ::core::fmt::Debug for WebUIContactPostActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIContactPostActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIContactPostActivatedEventArgs { @@ -4552,7 +4552,7 @@ impl ::windows::core::RuntimeName for WebUIContactPostActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIContactPostActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIContactPostActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -4734,7 +4734,7 @@ impl ::core::fmt::Debug for WebUIContactVideoCallActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIContactVideoCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIContactVideoCallActivatedEventArgs { @@ -4755,7 +4755,7 @@ impl ::windows::core::RuntimeName for WebUIContactVideoCallActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIContactVideoCallActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIContactVideoCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -4937,7 +4937,7 @@ impl ::core::fmt::Debug for WebUIDeviceActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIDeviceActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIDeviceActivatedEventArgs { @@ -4958,7 +4958,7 @@ impl ::windows::core::RuntimeName for WebUIDeviceActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIDeviceActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIDeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIDeviceActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -5144,7 +5144,7 @@ impl ::core::fmt::Debug for WebUIDevicePairingActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIDevicePairingActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIDevicePairingActivatedEventArgs { @@ -5165,7 +5165,7 @@ impl ::windows::core::RuntimeName for WebUIDevicePairingActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIDevicePairingActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIDevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIDevicePairingActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -5356,7 +5356,7 @@ impl ::core::fmt::Debug for WebUIDialReceiverActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIDialReceiverActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIDialReceiverActivatedEventArgs { @@ -5377,7 +5377,7 @@ impl ::windows::core::RuntimeName for WebUIDialReceiverActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIDialReceiverActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIDialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIDialReceiverActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -5612,7 +5612,7 @@ impl ::core::fmt::Debug for WebUIFileActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIFileActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIFileActivatedEventArgs { @@ -5633,7 +5633,7 @@ impl ::windows::core::RuntimeName for WebUIFileActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIFileActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIFileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIFileActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -5850,7 +5850,7 @@ impl ::core::fmt::Debug for WebUIFileOpenPickerActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIFileOpenPickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIFileOpenPickerActivatedEventArgs { @@ -5871,7 +5871,7 @@ impl ::windows::core::RuntimeName for WebUIFileOpenPickerActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIFileOpenPickerActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -6066,7 +6066,7 @@ impl ::core::fmt::Debug for WebUIFileOpenPickerContinuationEventArgs { } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::windows::core::RuntimeType for WebUIFileOpenPickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})"); } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::core::clone::Clone for WebUIFileOpenPickerContinuationEventArgs { @@ -6087,7 +6087,7 @@ impl ::windows::core::RuntimeName for WebUIFileOpenPickerContinuationEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIFileOpenPickerContinuationEventArgs"; } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(WebUIFileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIFileOpenPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -6291,7 +6291,7 @@ impl ::core::fmt::Debug for WebUIFileSavePickerActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIFileSavePickerActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIFileSavePickerActivatedEventArgs { @@ -6312,7 +6312,7 @@ impl ::windows::core::RuntimeName for WebUIFileSavePickerActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIFileSavePickerActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIFileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIFileSavePickerActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -6507,7 +6507,7 @@ impl ::core::fmt::Debug for WebUIFileSavePickerContinuationEventArgs { } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::windows::core::RuntimeType for WebUIFileSavePickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})"); } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::core::clone::Clone for WebUIFileSavePickerContinuationEventArgs { @@ -6528,7 +6528,7 @@ impl ::windows::core::RuntimeName for WebUIFileSavePickerContinuationEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIFileSavePickerContinuationEventArgs"; } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(WebUIFileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIFileSavePickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -6723,7 +6723,7 @@ impl ::core::fmt::Debug for WebUIFolderPickerContinuationEventArgs { } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::windows::core::RuntimeType for WebUIFolderPickerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})"); } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::core::clone::Clone for WebUIFolderPickerContinuationEventArgs { @@ -6744,7 +6744,7 @@ impl ::windows::core::RuntimeName for WebUIFolderPickerContinuationEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIFolderPickerContinuationEventArgs"; } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(WebUIFolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIFolderPickerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -6966,7 +6966,7 @@ impl ::core::fmt::Debug for WebUILaunchActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUILaunchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUILaunchActivatedEventArgs { @@ -6987,7 +6987,7 @@ impl ::windows::core::RuntimeName for WebUILaunchActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUILaunchActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUILaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUILaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -7226,7 +7226,7 @@ impl ::core::fmt::Debug for WebUILockScreenActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUILockScreenActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUILockScreenActivatedEventArgs { @@ -7247,7 +7247,7 @@ impl ::windows::core::RuntimeName for WebUILockScreenActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUILockScreenActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUILockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUILockScreenActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -7451,7 +7451,7 @@ impl ::core::fmt::Debug for WebUILockScreenCallActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUILockScreenCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUILockScreenCallActivatedEventArgs { @@ -7472,7 +7472,7 @@ impl ::windows::core::RuntimeName for WebUILockScreenCallActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUILockScreenCallActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUILockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUILockScreenCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -7640,7 +7640,7 @@ impl ::core::fmt::Debug for WebUILockScreenComponentActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUILockScreenComponentActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUILockScreenComponentActivatedEventArgs { @@ -7661,7 +7661,7 @@ impl ::windows::core::RuntimeName for WebUILockScreenComponentActivatedEventArgs const NAME: &'static str = "Windows.UI.WebUI.WebUILockScreenComponentActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUILockScreenComponentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUILockScreenComponentActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -7727,7 +7727,7 @@ impl ::core::fmt::Debug for WebUINavigatedDeferral { } } impl ::windows::core::RuntimeType for WebUINavigatedDeferral { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedDeferral;{d804204d-831f-46e2-b432-3afce211f962})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedDeferral;{d804204d-831f-46e2-b432-3afce211f962})"); } impl ::core::clone::Clone for WebUINavigatedDeferral { fn clone(&self) -> Self { @@ -7743,7 +7743,7 @@ unsafe impl ::windows::core::Interface for WebUINavigatedDeferral { impl ::windows::core::RuntimeName for WebUINavigatedDeferral { const NAME: &'static str = "Windows.UI.WebUI.WebUINavigatedDeferral"; } -::windows::core::interface_hierarchy!(WebUINavigatedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUINavigatedDeferral, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] pub struct WebUINavigatedEventArgs(::windows::core::IUnknown); @@ -7768,7 +7768,7 @@ impl ::core::fmt::Debug for WebUINavigatedEventArgs { } } impl ::windows::core::RuntimeType for WebUINavigatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedEventArgs;{a75841b8-2499-4030-a69d-15d2d9cfe524})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedEventArgs;{a75841b8-2499-4030-a69d-15d2d9cfe524})"); } impl ::core::clone::Clone for WebUINavigatedEventArgs { fn clone(&self) -> Self { @@ -7784,7 +7784,7 @@ unsafe impl ::windows::core::Interface for WebUINavigatedEventArgs { impl ::windows::core::RuntimeName for WebUINavigatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUINavigatedEventArgs"; } -::windows::core::interface_hierarchy!(WebUINavigatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUINavigatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for IWebUINavigatedEventArgs { type Error = ::windows::core::Error; fn try_from(value: WebUINavigatedEventArgs) -> ::windows::core::Result { @@ -7828,7 +7828,7 @@ impl ::core::fmt::Debug for WebUINavigatedOperation { } } impl ::windows::core::RuntimeType for WebUINavigatedOperation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedOperation;{7a965f08-8182-4a89-ab67-8492e8750d4b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedOperation;{7a965f08-8182-4a89-ab67-8492e8750d4b})"); } impl ::core::clone::Clone for WebUINavigatedOperation { fn clone(&self) -> Self { @@ -7844,7 +7844,7 @@ unsafe impl ::windows::core::Interface for WebUINavigatedOperation { impl ::windows::core::RuntimeName for WebUINavigatedOperation { const NAME: &'static str = "Windows.UI.WebUI.WebUINavigatedOperation"; } -::windows::core::interface_hierarchy!(WebUINavigatedOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUINavigatedOperation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] @@ -7920,7 +7920,7 @@ impl ::core::fmt::Debug for WebUIPhoneCallActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIPhoneCallActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIPhoneCallActivatedEventArgs { @@ -7941,7 +7941,7 @@ impl ::windows::core::RuntimeName for WebUIPhoneCallActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIPhoneCallActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIPhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIPhoneCallActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -8100,7 +8100,7 @@ impl ::core::fmt::Debug for WebUIPrint3DWorkflowActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIPrint3DWorkflowActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrint3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrint3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIPrint3DWorkflowActivatedEventArgs { @@ -8121,7 +8121,7 @@ impl ::windows::core::RuntimeName for WebUIPrint3DWorkflowActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIPrint3DWorkflowActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -8254,7 +8254,7 @@ impl ::core::fmt::Debug for WebUIPrintTaskSettingsActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIPrintTaskSettingsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIPrintTaskSettingsActivatedEventArgs { @@ -8275,7 +8275,7 @@ impl ::windows::core::RuntimeName for WebUIPrintTaskSettingsActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIPrintTaskSettingsActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -8399,7 +8399,7 @@ impl ::core::fmt::Debug for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrintWorkflowForegroundTaskActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrintWorkflowForegroundTaskActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { @@ -8420,7 +8420,7 @@ impl ::windows::core::RuntimeName for WebUIPrintWorkflowForegroundTaskActivatedE const NAME: &'static str = "Windows.UI.WebUI.WebUIPrintWorkflowForegroundTaskActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIPrintWorkflowForegroundTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIPrintWorkflowForegroundTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -8567,7 +8567,7 @@ impl ::core::fmt::Debug for WebUIProtocolActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIProtocolActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIProtocolActivatedEventArgs { @@ -8588,7 +8588,7 @@ impl ::windows::core::RuntimeName for WebUIProtocolActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIProtocolActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIProtocolActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -8832,7 +8832,7 @@ impl ::core::fmt::Debug for WebUIProtocolForResultsActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIProtocolForResultsActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIProtocolForResultsActivatedEventArgs { @@ -8853,7 +8853,7 @@ impl ::windows::core::RuntimeName for WebUIProtocolForResultsActivatedEventArgs const NAME: &'static str = "Windows.UI.WebUI.WebUIProtocolForResultsActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIProtocolForResultsActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -9083,7 +9083,7 @@ impl ::core::fmt::Debug for WebUIRestrictedLaunchActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIRestrictedLaunchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIRestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIRestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIRestrictedLaunchActivatedEventArgs { @@ -9104,7 +9104,7 @@ impl ::windows::core::RuntimeName for WebUIRestrictedLaunchActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIRestrictedLaunchActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -9286,7 +9286,7 @@ impl ::core::fmt::Debug for WebUISearchActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUISearchActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUISearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUISearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUISearchActivatedEventArgs { @@ -9307,7 +9307,7 @@ impl ::windows::core::RuntimeName for WebUISearchActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUISearchActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUISearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUISearchActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -9493,7 +9493,7 @@ impl ::core::fmt::Debug for WebUIShareTargetActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIShareTargetActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIShareTargetActivatedEventArgs { @@ -9514,7 +9514,7 @@ impl ::windows::core::RuntimeName for WebUIShareTargetActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIShareTargetActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIShareTargetActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -9678,7 +9678,7 @@ impl ::core::fmt::Debug for WebUIStartupTaskActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIStartupTaskActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIStartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIStartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIStartupTaskActivatedEventArgs { @@ -9699,7 +9699,7 @@ impl ::windows::core::RuntimeName for WebUIStartupTaskActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIStartupTaskActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIStartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIStartupTaskActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -9876,7 +9876,7 @@ impl ::core::fmt::Debug for WebUIToastNotificationActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIToastNotificationActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIToastNotificationActivatedEventArgs { @@ -9897,7 +9897,7 @@ impl ::windows::core::RuntimeName for WebUIToastNotificationActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIToastNotificationActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIToastNotificationActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -10052,7 +10052,7 @@ impl ::core::fmt::Debug for WebUIUserDataAccountProviderActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIUserDataAccountProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIUserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIUserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIUserDataAccountProviderActivatedEventArgs { @@ -10073,7 +10073,7 @@ impl ::windows::core::RuntimeName for WebUIUserDataAccountProviderActivatedEvent const NAME: &'static str = "Windows.UI.WebUI.WebUIUserDataAccountProviderActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIUserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIUserDataAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -10657,7 +10657,7 @@ impl WebUIView { } #[doc(hidden)] pub fn IWebUIViewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -10673,7 +10673,7 @@ impl ::core::fmt::Debug for WebUIView { } } impl ::windows::core::RuntimeType for WebUIView { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIView;{6783f64f-52da-4fd7-be69-8ef6284b423c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIView;{6783f64f-52da-4fd7-be69-8ef6284b423c})"); } impl ::core::clone::Clone for WebUIView { fn clone(&self) -> Self { @@ -10689,7 +10689,7 @@ unsafe impl ::windows::core::Interface for WebUIView { impl ::windows::core::RuntimeName for WebUIView { const NAME: &'static str = "Windows.UI.WebUI.WebUIView"; } -::windows::core::interface_hierarchy!(WebUIView, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIView, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Web_UI")] impl ::core::convert::TryFrom for super::super::Web::UI::IWebViewControl { type Error = ::windows::core::Error; @@ -10809,7 +10809,7 @@ impl ::core::fmt::Debug for WebUIVoiceCommandActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIVoiceCommandActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIVoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIVoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIVoiceCommandActivatedEventArgs { @@ -10830,7 +10830,7 @@ impl ::windows::core::RuntimeName for WebUIVoiceCommandActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIVoiceCommandActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIVoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIVoiceCommandActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -11003,7 +11003,7 @@ impl ::core::fmt::Debug for WebUIWalletActionActivatedEventArgs { } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::windows::core::RuntimeType for WebUIWalletActionActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})"); } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::core::clone::Clone for WebUIWalletActionActivatedEventArgs { @@ -11024,7 +11024,7 @@ impl ::windows::core::RuntimeName for WebUIWalletActionActivatedEventArgs { const NAME: &'static str = "Windows.UI.WebUI.WebUIWalletActionActivatedEventArgs"; } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -::windows::core::interface_hierarchy!(WebUIWalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIWalletActionActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -11166,7 +11166,7 @@ impl ::core::fmt::Debug for WebUIWebAccountProviderActivatedEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIWebAccountProviderActivatedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIWebAccountProviderActivatedEventArgs { @@ -11187,7 +11187,7 @@ impl ::windows::core::RuntimeName for WebUIWebAccountProviderActivatedEventArgs const NAME: &'static str = "Windows.UI.WebUI.WebUIWebAccountProviderActivatedEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIWebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIWebAccountProviderActivatedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -11351,7 +11351,7 @@ impl ::core::fmt::Debug for WebUIWebAuthenticationBrokerContinuationEventArgs { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for WebUIWebAuthenticationBrokerContinuationEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})"); } #[cfg(feature = "ApplicationModel_Activation")] impl ::core::clone::Clone for WebUIWebAuthenticationBrokerContinuationEventArgs { @@ -11372,7 +11372,7 @@ impl ::windows::core::RuntimeName for WebUIWebAuthenticationBrokerContinuationEv const NAME: &'static str = "Windows.UI.WebUI.WebUIWebAuthenticationBrokerContinuationEventArgs"; } #[cfg(feature = "ApplicationModel_Activation")] -::windows::core::interface_hierarchy!(WebUIWebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebUIWebAuthenticationBrokerContinuationEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "ApplicationModel_Activation")] impl ::core::convert::TryFrom for super::super::ApplicationModel::Activation::IActivatedEventArgs { type Error = ::windows::core::Error; @@ -11491,7 +11491,7 @@ impl ::core::fmt::Debug for PrintContent { } } impl ::windows::core::RuntimeType for PrintContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.WebUI.PrintContent;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WebUI.PrintContent;i4)"); } #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] @@ -11500,8 +11500,8 @@ pub struct ActivatedEventHandler(pub ::windows::core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl ActivatedEventHandler { pub fn new, ::core::option::Option<&super::super::ApplicationModel::Activation::IActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = ActivatedEventHandlerBox:: { vtable: &ActivatedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = ActivatedEventHandlerBox:: { vtable: &ActivatedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] @@ -11520,7 +11520,7 @@ impl ActivatedEventHandler { struct ActivatedEventHandlerBox, ::core::option::Option<&super::super::ApplicationModel::Activation::IActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const ActivatedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "ApplicationModel_Activation")] impl, ::core::option::Option<&super::super::ApplicationModel::Activation::IActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> ActivatedEventHandlerBox { @@ -11530,7 +11530,7 @@ impl, ::core::op }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -11546,7 +11546,7 @@ impl, ::core::op let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -11585,7 +11585,7 @@ unsafe impl ::windows::core::Interface for ActivatedEventHandler { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for ActivatedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{50f1e730-c5d1-4b6b-9adb-8a11756be29c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{50f1e730-c5d1-4b6b-9adb-8a11756be29c}"); } #[cfg(feature = "ApplicationModel_Activation")] #[repr(C)] @@ -11604,8 +11604,8 @@ pub struct BackgroundActivatedEventHandler(pub ::windows::core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl BackgroundActivatedEventHandler { pub fn new, ::core::option::Option<&super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = BackgroundActivatedEventHandlerBox:: { vtable: &BackgroundActivatedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = BackgroundActivatedEventHandlerBox:: { vtable: &BackgroundActivatedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] @@ -11624,7 +11624,7 @@ impl BackgroundActivatedEventHandler { struct BackgroundActivatedEventHandlerBox, ::core::option::Option<&super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const BackgroundActivatedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "ApplicationModel_Activation")] impl, ::core::option::Option<&super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> BackgroundActivatedEventHandlerBox { @@ -11634,7 +11634,7 @@ impl, ::core::op }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -11650,7 +11650,7 @@ impl, ::core::op let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -11689,7 +11689,7 @@ unsafe impl ::windows::core::Interface for BackgroundActivatedEventHandler { } #[cfg(feature = "ApplicationModel_Activation")] impl ::windows::core::RuntimeType for BackgroundActivatedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{edb19fbb-0761-47cc-9a77-24d7072965ca}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{edb19fbb-0761-47cc-9a77-24d7072965ca}"); } #[cfg(feature = "ApplicationModel_Activation")] #[repr(C)] @@ -11708,8 +11708,8 @@ pub struct EnteredBackgroundEventHandler(pub ::windows::core::IUnknown); #[cfg(feature = "ApplicationModel")] impl EnteredBackgroundEventHandler { pub fn new, ::core::option::Option<&super::super::ApplicationModel::IEnteredBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = EnteredBackgroundEventHandlerBox:: { vtable: &EnteredBackgroundEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = EnteredBackgroundEventHandlerBox:: { vtable: &EnteredBackgroundEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] @@ -11728,7 +11728,7 @@ impl EnteredBackgroundEventHandler { struct EnteredBackgroundEventHandlerBox, ::core::option::Option<&super::super::ApplicationModel::IEnteredBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const EnteredBackgroundEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "ApplicationModel")] impl, ::core::option::Option<&super::super::ApplicationModel::IEnteredBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> EnteredBackgroundEventHandlerBox { @@ -11738,7 +11738,7 @@ impl, ::core::op }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -11754,7 +11754,7 @@ impl, ::core::op let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -11793,7 +11793,7 @@ unsafe impl ::windows::core::Interface for EnteredBackgroundEventHandler { } #[cfg(feature = "ApplicationModel")] impl ::windows::core::RuntimeType for EnteredBackgroundEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{2b09a173-b68e-4def-88c1-8de84e5aab2f}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{2b09a173-b68e-4def-88c1-8de84e5aab2f}"); } #[cfg(feature = "ApplicationModel")] #[repr(C)] @@ -11812,8 +11812,8 @@ pub struct LeavingBackgroundEventHandler(pub ::windows::core::IUnknown); #[cfg(feature = "ApplicationModel")] impl LeavingBackgroundEventHandler { pub fn new, ::core::option::Option<&super::super::ApplicationModel::ILeavingBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = LeavingBackgroundEventHandlerBox:: { vtable: &LeavingBackgroundEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = LeavingBackgroundEventHandlerBox:: { vtable: &LeavingBackgroundEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] @@ -11832,7 +11832,7 @@ impl LeavingBackgroundEventHandler { struct LeavingBackgroundEventHandlerBox, ::core::option::Option<&super::super::ApplicationModel::ILeavingBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const LeavingBackgroundEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "ApplicationModel")] impl, ::core::option::Option<&super::super::ApplicationModel::ILeavingBackgroundEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> LeavingBackgroundEventHandlerBox { @@ -11842,7 +11842,7 @@ impl, ::core::op }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -11858,7 +11858,7 @@ impl, ::core::op let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -11897,7 +11897,7 @@ unsafe impl ::windows::core::Interface for LeavingBackgroundEventHandler { } #[cfg(feature = "ApplicationModel")] impl ::windows::core::RuntimeType for LeavingBackgroundEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{00b4ccd9-7a9c-4b6b-9ac4-13474f268bc4}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{00b4ccd9-7a9c-4b6b-9ac4-13474f268bc4}"); } #[cfg(feature = "ApplicationModel")] #[repr(C)] @@ -11914,8 +11914,8 @@ pub struct LeavingBackgroundEventHandler_Vtbl { pub struct NavigatedEventHandler(pub ::windows::core::IUnknown); impl NavigatedEventHandler { pub fn new, ::core::option::Option<&IWebUINavigatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = NavigatedEventHandlerBox:: { vtable: &NavigatedEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = NavigatedEventHandlerBox:: { vtable: &NavigatedEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: P0, e: P1) -> ::windows::core::Result<()> where @@ -11931,7 +11931,7 @@ impl NavigatedEventHandler { struct NavigatedEventHandlerBox, ::core::option::Option<&IWebUINavigatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const NavigatedEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl, ::core::option::Option<&IWebUINavigatedEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> NavigatedEventHandlerBox { const VTABLE: NavigatedEventHandler_Vtbl = NavigatedEventHandler_Vtbl { @@ -11940,7 +11940,7 @@ impl, ::core::op }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -11956,7 +11956,7 @@ impl, ::core::op let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -11988,7 +11988,7 @@ unsafe impl ::windows::core::Interface for NavigatedEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7af46fe6_40ca_4e49_a7d6_dbdb330cd1a3); } impl ::windows::core::RuntimeType for NavigatedEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{7af46fe6-40ca-4e49-a7d6-dbdb330cd1a3}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{7af46fe6-40ca-4e49-a7d6-dbdb330cd1a3}"); } #[repr(C)] #[doc(hidden)] @@ -12001,8 +12001,8 @@ pub struct NavigatedEventHandler_Vtbl { pub struct ResumingEventHandler(pub ::windows::core::IUnknown); impl ResumingEventHandler { pub fn new) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = ResumingEventHandlerBox:: { vtable: &ResumingEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = ResumingEventHandlerBox:: { vtable: &ResumingEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } pub fn Invoke(&self, sender: P0) -> ::windows::core::Result<()> where @@ -12016,7 +12016,7 @@ impl ResumingEventHandler { struct ResumingEventHandlerBox) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const ResumingEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } impl) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> ResumingEventHandlerBox { const VTABLE: ResumingEventHandler_Vtbl = ResumingEventHandler_Vtbl { @@ -12025,7 +12025,7 @@ impl) -> ::windo }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -12041,7 +12041,7 @@ impl) -> ::windo let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -12073,7 +12073,7 @@ unsafe impl ::windows::core::Interface for ResumingEventHandler { const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x26599ba9_a22d_4806_a728_acadc1d075fa); } impl ::windows::core::RuntimeType for ResumingEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{26599ba9-a22d-4806-a728-acadc1d075fa}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{26599ba9-a22d-4806-a728-acadc1d075fa}"); } #[repr(C)] #[doc(hidden)] @@ -12088,8 +12088,8 @@ pub struct SuspendingEventHandler(pub ::windows::core::IUnknown); #[cfg(feature = "ApplicationModel")] impl SuspendingEventHandler { pub fn new, ::core::option::Option<&super::super::ApplicationModel::ISuspendingEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { - let com = SuspendingEventHandlerBox:: { vtable: &SuspendingEventHandlerBox::::VTABLE, count: ::windows::core::RefCount::new(1), invoke }; - unsafe { ::core::mem::transmute(::windows::core::alloc::boxed::Box::new(com)) } + let com = SuspendingEventHandlerBox:: { vtable: &SuspendingEventHandlerBox::::VTABLE, count: ::windows::imp::RefCount::new(1), invoke }; + unsafe { ::core::mem::transmute(::std::boxed::Box::new(com)) } } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] @@ -12108,7 +12108,7 @@ impl SuspendingEventHandler { struct SuspendingEventHandlerBox, ::core::option::Option<&super::super::ApplicationModel::ISuspendingEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> { vtable: *const SuspendingEventHandler_Vtbl, invoke: F, - count: ::windows::core::RefCount, + count: ::windows::imp::RefCount, } #[cfg(feature = "ApplicationModel")] impl, ::core::option::Option<&super::super::ApplicationModel::ISuspendingEventArgs>) -> ::windows::core::Result<()> + ::core::marker::Send + 'static> SuspendingEventHandlerBox { @@ -12118,7 +12118,7 @@ impl, ::core::op }; unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::core::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if iid == &::IID || iid == &<::windows::core::IUnknown as ::windows::core::Interface>::IID || iid == &<::windows::imp::IAgileObject as ::windows::core::Interface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows::core::HRESULT(-2147467262) } else { @@ -12134,7 +12134,7 @@ impl, ::core::op let this = this as *mut *mut ::core::ffi::c_void as *mut Self; let remaining = (*this).count.release(); if remaining == 0 { - let _ = ::windows::core::alloc::boxed::Box::from_raw(this); + let _ = ::std::boxed::Box::from_raw(this); } remaining } @@ -12173,7 +12173,7 @@ unsafe impl ::windows::core::Interface for SuspendingEventHandler { } #[cfg(feature = "ApplicationModel")] impl ::windows::core::RuntimeType for SuspendingEventHandler { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{509c429c-78e2-4883-abc8-8960dcde1b5c}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{509c429c-78e2-4883-abc8-8960dcde1b5c}"); } #[cfg(feature = "ApplicationModel")] #[repr(C)] diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs index d283ae1770..326d43bbcc 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs @@ -51,7 +51,7 @@ impl WindowManagementPreview { } #[doc(hidden)] pub fn IWindowManagementPreviewStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -67,7 +67,7 @@ impl ::core::fmt::Debug for WindowManagementPreview { } } impl ::windows::core::RuntimeType for WindowManagementPreview { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.Preview.WindowManagementPreview;{4ef55b0d-561d-513c-a67c-2c02b69cef41})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.Preview.WindowManagementPreview;{4ef55b0d-561d-513c-a67c-2c02b69cef41})"); } impl ::core::clone::Clone for WindowManagementPreview { fn clone(&self) -> Self { @@ -83,7 +83,7 @@ unsafe impl ::windows::core::Interface for WindowManagementPreview { impl ::windows::core::RuntimeName for WindowManagementPreview { const NAME: &'static str = "Windows.UI.WindowManagement.Preview.WindowManagementPreview"; } -::windows::core::interface_hierarchy!(WindowManagementPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowManagementPreview, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowManagementPreview {} unsafe impl ::core::marker::Sync for WindowManagementPreview {} #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs index f5064d4a79..e675a7903f 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs @@ -941,7 +941,7 @@ impl AppWindow { } #[doc(hidden)] pub fn IAppWindowStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -957,7 +957,7 @@ impl ::core::fmt::Debug for AppWindow { } } impl ::windows::core::RuntimeType for AppWindow { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindow;{663014a6-b75e-5dbd-995c-f0117fa3fb61})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindow;{663014a6-b75e-5dbd-995c-f0117fa3fb61})"); } impl ::core::clone::Clone for AppWindow { fn clone(&self) -> Self { @@ -973,7 +973,7 @@ unsafe impl ::windows::core::Interface for AppWindow { impl ::windows::core::RuntimeName for AppWindow { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindow"; } -::windows::core::interface_hierarchy!(AppWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindow, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindow {} unsafe impl ::core::marker::Sync for AppWindow {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1049,7 +1049,7 @@ impl ::core::fmt::Debug for AppWindowChangedEventArgs { } } impl ::windows::core::RuntimeType for AppWindowChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowChangedEventArgs;{1de1f3be-a655-55ad-b2b6-eb240f880356})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowChangedEventArgs;{1de1f3be-a655-55ad-b2b6-eb240f880356})"); } impl ::core::clone::Clone for AppWindowChangedEventArgs { fn clone(&self) -> Self { @@ -1065,7 +1065,7 @@ unsafe impl ::windows::core::Interface for AppWindowChangedEventArgs { impl ::windows::core::RuntimeName for AppWindowChangedEventArgs { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowChangedEventArgs"; } -::windows::core::interface_hierarchy!(AppWindowChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowChangedEventArgs {} unsafe impl ::core::marker::Sync for AppWindowChangedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1105,7 +1105,7 @@ impl ::core::fmt::Debug for AppWindowCloseRequestedEventArgs { } } impl ::windows::core::RuntimeType for AppWindowCloseRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs;{e9ff01da-e7a2-57a8-8b5e-39c4003afdbb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs;{e9ff01da-e7a2-57a8-8b5e-39c4003afdbb})"); } impl ::core::clone::Clone for AppWindowCloseRequestedEventArgs { fn clone(&self) -> Self { @@ -1121,7 +1121,7 @@ unsafe impl ::windows::core::Interface for AppWindowCloseRequestedEventArgs { impl ::windows::core::RuntimeName for AppWindowCloseRequestedEventArgs { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs"; } -::windows::core::interface_hierarchy!(AppWindowCloseRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowCloseRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowCloseRequestedEventArgs {} unsafe impl ::core::marker::Sync for AppWindowCloseRequestedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1148,7 +1148,7 @@ impl ::core::fmt::Debug for AppWindowClosedEventArgs { } } impl ::windows::core::RuntimeType for AppWindowClosedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowClosedEventArgs;{cc7df816-9520-5a06-821e-456ad8b358aa})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowClosedEventArgs;{cc7df816-9520-5a06-821e-456ad8b358aa})"); } impl ::core::clone::Clone for AppWindowClosedEventArgs { fn clone(&self) -> Self { @@ -1164,7 +1164,7 @@ unsafe impl ::windows::core::Interface for AppWindowClosedEventArgs { impl ::windows::core::RuntimeName for AppWindowClosedEventArgs { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowClosedEventArgs"; } -::windows::core::interface_hierarchy!(AppWindowClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowClosedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowClosedEventArgs {} unsafe impl ::core::marker::Sync for AppWindowClosedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1204,7 +1204,7 @@ impl ::core::fmt::Debug for AppWindowFrame { } } impl ::windows::core::RuntimeType for AppWindowFrame { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowFrame;{9ee22601-7e5d-52af-846b-01dc6c296567})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowFrame;{9ee22601-7e5d-52af-846b-01dc6c296567})"); } impl ::core::clone::Clone for AppWindowFrame { fn clone(&self) -> Self { @@ -1220,7 +1220,7 @@ unsafe impl ::windows::core::Interface for AppWindowFrame { impl ::windows::core::RuntimeName for AppWindowFrame { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowFrame"; } -::windows::core::interface_hierarchy!(AppWindowFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowFrame, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowFrame {} unsafe impl ::core::marker::Sync for AppWindowFrame {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1265,7 +1265,7 @@ impl ::core::fmt::Debug for AppWindowPlacement { } } impl ::windows::core::RuntimeType for AppWindowPlacement { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPlacement;{03dc815e-e7a9-5857-9c03-7d670594410e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPlacement;{03dc815e-e7a9-5857-9c03-7d670594410e})"); } impl ::core::clone::Clone for AppWindowPlacement { fn clone(&self) -> Self { @@ -1281,7 +1281,7 @@ unsafe impl ::windows::core::Interface for AppWindowPlacement { impl ::windows::core::RuntimeName for AppWindowPlacement { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowPlacement"; } -::windows::core::interface_hierarchy!(AppWindowPlacement, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowPlacement, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowPlacement {} unsafe impl ::core::marker::Sync for AppWindowPlacement {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1308,7 +1308,7 @@ impl ::core::fmt::Debug for AppWindowPresentationConfiguration { } } impl ::windows::core::RuntimeType for AppWindowPresentationConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPresentationConfiguration;{b5a43ee3-df33-5e67-bd31-1072457300df})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPresentationConfiguration;{b5a43ee3-df33-5e67-bd31-1072457300df})"); } impl ::core::clone::Clone for AppWindowPresentationConfiguration { fn clone(&self) -> Self { @@ -1324,7 +1324,7 @@ unsafe impl ::windows::core::Interface for AppWindowPresentationConfiguration { impl ::windows::core::RuntimeName for AppWindowPresentationConfiguration { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowPresentationConfiguration"; } -::windows::core::interface_hierarchy!(AppWindowPresentationConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowPresentationConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowPresentationConfiguration {} unsafe impl ::core::marker::Sync for AppWindowPresentationConfiguration {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1375,7 +1375,7 @@ impl ::core::fmt::Debug for AppWindowPresenter { } } impl ::windows::core::RuntimeType for AppWindowPresenter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPresenter;{5ae9ed73-e1fd-5317-ad78-5a3ed271bbde})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPresenter;{5ae9ed73-e1fd-5317-ad78-5a3ed271bbde})"); } impl ::core::clone::Clone for AppWindowPresenter { fn clone(&self) -> Self { @@ -1391,7 +1391,7 @@ unsafe impl ::windows::core::Interface for AppWindowPresenter { impl ::windows::core::RuntimeName for AppWindowPresenter { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowPresenter"; } -::windows::core::interface_hierarchy!(AppWindowPresenter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowPresenter, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowPresenter {} unsafe impl ::core::marker::Sync for AppWindowPresenter {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1677,7 +1677,7 @@ impl ::core::fmt::Debug for AppWindowTitleBar { } } impl ::windows::core::RuntimeType for AppWindowTitleBar { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowTitleBar;{6e932c84-f644-541d-a2d7-0c262437842d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowTitleBar;{6e932c84-f644-541d-a2d7-0c262437842d})"); } impl ::core::clone::Clone for AppWindowTitleBar { fn clone(&self) -> Self { @@ -1693,7 +1693,7 @@ unsafe impl ::windows::core::Interface for AppWindowTitleBar { impl ::windows::core::RuntimeName for AppWindowTitleBar { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowTitleBar"; } -::windows::core::interface_hierarchy!(AppWindowTitleBar, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowTitleBar, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowTitleBar {} unsafe impl ::core::marker::Sync for AppWindowTitleBar {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1722,7 +1722,7 @@ impl ::core::fmt::Debug for AppWindowTitleBarOcclusion { } } impl ::windows::core::RuntimeType for AppWindowTitleBarOcclusion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowTitleBarOcclusion;{fea3cffd-2ccf-5fc3-aeae-f843876bf37e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowTitleBarOcclusion;{fea3cffd-2ccf-5fc3-aeae-f843876bf37e})"); } impl ::core::clone::Clone for AppWindowTitleBarOcclusion { fn clone(&self) -> Self { @@ -1738,7 +1738,7 @@ unsafe impl ::windows::core::Interface for AppWindowTitleBarOcclusion { impl ::windows::core::RuntimeName for AppWindowTitleBarOcclusion { const NAME: &'static str = "Windows.UI.WindowManagement.AppWindowTitleBarOcclusion"; } -::windows::core::interface_hierarchy!(AppWindowTitleBarOcclusion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AppWindowTitleBarOcclusion, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for AppWindowTitleBarOcclusion {} unsafe impl ::core::marker::Sync for AppWindowTitleBarOcclusion {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1748,8 +1748,8 @@ impl CompactOverlayPresentationConfiguration { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Kind(&self) -> ::windows::core::Result { @@ -1772,7 +1772,7 @@ impl ::core::fmt::Debug for CompactOverlayPresentationConfiguration { } } impl ::windows::core::RuntimeType for CompactOverlayPresentationConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.CompactOverlayPresentationConfiguration;{a7e5750f-5730-56c6-8e1f-d63ff4d7980d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.CompactOverlayPresentationConfiguration;{a7e5750f-5730-56c6-8e1f-d63ff4d7980d})"); } impl ::core::clone::Clone for CompactOverlayPresentationConfiguration { fn clone(&self) -> Self { @@ -1788,7 +1788,7 @@ unsafe impl ::windows::core::Interface for CompactOverlayPresentationConfigurati impl ::windows::core::RuntimeName for CompactOverlayPresentationConfiguration { const NAME: &'static str = "Windows.UI.WindowManagement.CompactOverlayPresentationConfiguration"; } -::windows::core::interface_hierarchy!(CompactOverlayPresentationConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(CompactOverlayPresentationConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::From for AppWindowPresentationConfiguration { fn from(value: CompactOverlayPresentationConfiguration) -> Self { ::core::convert::From::from(&value) @@ -1813,8 +1813,8 @@ impl DefaultPresentationConfiguration { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Kind(&self) -> ::windows::core::Result { @@ -1837,7 +1837,7 @@ impl ::core::fmt::Debug for DefaultPresentationConfiguration { } } impl ::windows::core::RuntimeType for DefaultPresentationConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.DefaultPresentationConfiguration;{d8c2b53b-2168-5703-a853-d525589fe2b9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.DefaultPresentationConfiguration;{d8c2b53b-2168-5703-a853-d525589fe2b9})"); } impl ::core::clone::Clone for DefaultPresentationConfiguration { fn clone(&self) -> Self { @@ -1853,7 +1853,7 @@ unsafe impl ::windows::core::Interface for DefaultPresentationConfiguration { impl ::windows::core::RuntimeName for DefaultPresentationConfiguration { const NAME: &'static str = "Windows.UI.WindowManagement.DefaultPresentationConfiguration"; } -::windows::core::interface_hierarchy!(DefaultPresentationConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DefaultPresentationConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::From for AppWindowPresentationConfiguration { fn from(value: DefaultPresentationConfiguration) -> Self { ::core::convert::From::from(&value) @@ -1942,7 +1942,7 @@ impl ::core::fmt::Debug for DisplayRegion { } } impl ::windows::core::RuntimeType for DisplayRegion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.DisplayRegion;{db50c3a2-4094-5f47-8cb1-ea01ddafaa94})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.DisplayRegion;{db50c3a2-4094-5f47-8cb1-ea01ddafaa94})"); } impl ::core::clone::Clone for DisplayRegion { fn clone(&self) -> Self { @@ -1958,7 +1958,7 @@ unsafe impl ::windows::core::Interface for DisplayRegion { impl ::windows::core::RuntimeName for DisplayRegion { const NAME: &'static str = "Windows.UI.WindowManagement.DisplayRegion"; } -::windows::core::interface_hierarchy!(DisplayRegion, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(DisplayRegion, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for DisplayRegion {} unsafe impl ::core::marker::Sync for DisplayRegion {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -1968,8 +1968,8 @@ impl FullScreenPresentationConfiguration { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Kind(&self) -> ::windows::core::Result { @@ -2003,7 +2003,7 @@ impl ::core::fmt::Debug for FullScreenPresentationConfiguration { } } impl ::windows::core::RuntimeType for FullScreenPresentationConfiguration { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.FullScreenPresentationConfiguration;{43d3dcd8-d2a8-503d-a626-15533d6d5f62})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.FullScreenPresentationConfiguration;{43d3dcd8-d2a8-503d-a626-15533d6d5f62})"); } impl ::core::clone::Clone for FullScreenPresentationConfiguration { fn clone(&self) -> Self { @@ -2019,7 +2019,7 @@ unsafe impl ::windows::core::Interface for FullScreenPresentationConfiguration { impl ::windows::core::RuntimeName for FullScreenPresentationConfiguration { const NAME: &'static str = "Windows.UI.WindowManagement.FullScreenPresentationConfiguration"; } -::windows::core::interface_hierarchy!(FullScreenPresentationConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(FullScreenPresentationConfiguration, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::From for AppWindowPresentationConfiguration { fn from(value: FullScreenPresentationConfiguration) -> Self { ::core::convert::From::from(&value) @@ -2050,7 +2050,7 @@ impl WindowServices { } #[doc(hidden)] pub fn IWindowServicesStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2117,7 +2117,7 @@ impl WindowingEnvironment { } #[doc(hidden)] pub fn IWindowingEnvironmentStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2133,7 +2133,7 @@ impl ::core::fmt::Debug for WindowingEnvironment { } } impl ::windows::core::RuntimeType for WindowingEnvironment { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironment;{264363c0-2a49-5417-b3ae-48a71c63a3bd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironment;{264363c0-2a49-5417-b3ae-48a71c63a3bd})"); } impl ::core::clone::Clone for WindowingEnvironment { fn clone(&self) -> Self { @@ -2149,7 +2149,7 @@ unsafe impl ::windows::core::Interface for WindowingEnvironment { impl ::windows::core::RuntimeName for WindowingEnvironment { const NAME: &'static str = "Windows.UI.WindowManagement.WindowingEnvironment"; } -::windows::core::interface_hierarchy!(WindowingEnvironment, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowingEnvironment, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowingEnvironment {} unsafe impl ::core::marker::Sync for WindowingEnvironment {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -2176,7 +2176,7 @@ impl ::core::fmt::Debug for WindowingEnvironmentAddedEventArgs { } } impl ::windows::core::RuntimeType for WindowingEnvironmentAddedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs;{ff2a5b7f-f183-5c66-99b2-429082069299})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs;{ff2a5b7f-f183-5c66-99b2-429082069299})"); } impl ::core::clone::Clone for WindowingEnvironmentAddedEventArgs { fn clone(&self) -> Self { @@ -2192,7 +2192,7 @@ unsafe impl ::windows::core::Interface for WindowingEnvironmentAddedEventArgs { impl ::windows::core::RuntimeName for WindowingEnvironmentAddedEventArgs { const NAME: &'static str = "Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs"; } -::windows::core::interface_hierarchy!(WindowingEnvironmentAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowingEnvironmentAddedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowingEnvironmentAddedEventArgs {} unsafe impl ::core::marker::Sync for WindowingEnvironmentAddedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -2211,7 +2211,7 @@ impl ::core::fmt::Debug for WindowingEnvironmentChangedEventArgs { } } impl ::windows::core::RuntimeType for WindowingEnvironmentChangedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs;{4160cfc6-023d-5e9a-b431-350e67dc978a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs;{4160cfc6-023d-5e9a-b431-350e67dc978a})"); } impl ::core::clone::Clone for WindowingEnvironmentChangedEventArgs { fn clone(&self) -> Self { @@ -2227,7 +2227,7 @@ unsafe impl ::windows::core::Interface for WindowingEnvironmentChangedEventArgs impl ::windows::core::RuntimeName for WindowingEnvironmentChangedEventArgs { const NAME: &'static str = "Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs"; } -::windows::core::interface_hierarchy!(WindowingEnvironmentChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowingEnvironmentChangedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowingEnvironmentChangedEventArgs {} unsafe impl ::core::marker::Sync for WindowingEnvironmentChangedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -2254,7 +2254,7 @@ impl ::core::fmt::Debug for WindowingEnvironmentRemovedEventArgs { } } impl ::windows::core::RuntimeType for WindowingEnvironmentRemovedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentRemovedEventArgs;{2e5b5473-beff-5e53-9316-7e775fe568b3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentRemovedEventArgs;{2e5b5473-beff-5e53-9316-7e775fe568b3})"); } impl ::core::clone::Clone for WindowingEnvironmentRemovedEventArgs { fn clone(&self) -> Self { @@ -2270,7 +2270,7 @@ unsafe impl ::windows::core::Interface for WindowingEnvironmentRemovedEventArgs impl ::windows::core::RuntimeName for WindowingEnvironmentRemovedEventArgs { const NAME: &'static str = "Windows.UI.WindowManagement.WindowingEnvironmentRemovedEventArgs"; } -::windows::core::interface_hierarchy!(WindowingEnvironmentRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WindowingEnvironmentRemovedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for WindowingEnvironmentRemovedEventArgs {} unsafe impl ::core::marker::Sync for WindowingEnvironmentRemovedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -2302,7 +2302,7 @@ impl ::core::fmt::Debug for AppWindowClosedReason { } } impl ::windows::core::RuntimeType for AppWindowClosedReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.AppWindowClosedReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.AppWindowClosedReason;i4)"); } #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] @@ -2332,7 +2332,7 @@ impl ::core::fmt::Debug for AppWindowFrameStyle { } } impl ::windows::core::RuntimeType for AppWindowFrameStyle { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.AppWindowFrameStyle;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.AppWindowFrameStyle;i4)"); } #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] @@ -2363,7 +2363,7 @@ impl ::core::fmt::Debug for AppWindowPresentationKind { } } impl ::windows::core::RuntimeType for AppWindowPresentationKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.AppWindowPresentationKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.AppWindowPresentationKind;i4)"); } #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] @@ -2393,7 +2393,7 @@ impl ::core::fmt::Debug for AppWindowTitleBarVisibility { } } impl ::windows::core::RuntimeType for AppWindowTitleBarVisibility { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.AppWindowTitleBarVisibility;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.AppWindowTitleBarVisibility;i4)"); } #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] @@ -2424,7 +2424,7 @@ impl ::core::fmt::Debug for WindowingEnvironmentKind { } } impl ::windows::core::RuntimeType for WindowingEnvironmentKind { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.WindowingEnvironmentKind;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WindowManagement.WindowingEnvironmentKind;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/UI/mod.rs b/crates/libs/windows/src/Windows/UI/mod.rs index 2770449b12..5044dc3de5 100644 --- a/crates/libs/windows/src/Windows/UI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/mod.rs @@ -321,12 +321,12 @@ impl ColorHelper { } #[doc(hidden)] pub fn IColorHelperStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IColorHelperStatics2 ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -342,7 +342,7 @@ impl ::core::fmt::Debug for ColorHelper { } } impl ::windows::core::RuntimeType for ColorHelper { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.ColorHelper;{193cfbe7-65c7-4540-ad08-6283ba76879a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ColorHelper;{193cfbe7-65c7-4540-ad08-6283ba76879a})"); } impl ::core::clone::Clone for ColorHelper { fn clone(&self) -> Self { @@ -358,7 +358,7 @@ unsafe impl ::windows::core::Interface for ColorHelper { impl ::windows::core::RuntimeName for ColorHelper { const NAME: &'static str = "Windows.UI.ColorHelper"; } -::windows::core::interface_hierarchy!(ColorHelper, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ColorHelper, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for ColorHelper {} unsafe impl ::core::marker::Sync for ColorHelper {} #[doc = "*Required features: `\"UI\"`*"] @@ -1213,7 +1213,7 @@ impl Colors { } #[doc(hidden)] pub fn IColorsStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1229,7 +1229,7 @@ impl ::core::fmt::Debug for Colors { } } impl ::windows::core::RuntimeType for Colors { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.Colors;{9b8c9326-4ca6-4ce5-8994-9eff65cabdcc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Colors;{9b8c9326-4ca6-4ce5-8994-9eff65cabdcc})"); } impl ::core::clone::Clone for Colors { fn clone(&self) -> Self { @@ -1245,7 +1245,7 @@ unsafe impl ::windows::core::Interface for Colors { impl ::windows::core::RuntimeName for Colors { const NAME: &'static str = "Windows.UI.Colors"; } -::windows::core::interface_hierarchy!(Colors, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Colors, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Colors {} unsafe impl ::core::marker::Sync for Colors {} #[doc = "*Required features: `\"UI\"`*"] @@ -1272,7 +1272,7 @@ impl ::core::fmt::Debug for UIContentRoot { } } impl ::windows::core::RuntimeType for UIContentRoot { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIContentRoot;{1dfcbac6-b36b-5cb9-9bc5-2b7a0eddc378})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIContentRoot;{1dfcbac6-b36b-5cb9-9bc5-2b7a0eddc378})"); } impl ::core::clone::Clone for UIContentRoot { fn clone(&self) -> Self { @@ -1288,7 +1288,7 @@ unsafe impl ::windows::core::Interface for UIContentRoot { impl ::windows::core::RuntimeName for UIContentRoot { const NAME: &'static str = "Windows.UI.UIContentRoot"; } -::windows::core::interface_hierarchy!(UIContentRoot, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UIContentRoot, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UIContentRoot {} unsafe impl ::core::marker::Sync for UIContentRoot {} #[doc = "*Required features: `\"UI\"`*"] @@ -1307,7 +1307,7 @@ impl ::core::fmt::Debug for UIContext { } } impl ::windows::core::RuntimeType for UIContext { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.UI.UIContext;{bb5cfacd-5bd8-59d0-a59e-1c17a4d6d243})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIContext;{bb5cfacd-5bd8-59d0-a59e-1c17a4d6d243})"); } impl ::core::clone::Clone for UIContext { fn clone(&self) -> Self { @@ -1323,7 +1323,7 @@ unsafe impl ::windows::core::Interface for UIContext { impl ::windows::core::RuntimeName for UIContext { const NAME: &'static str = "Windows.UI.UIContext"; } -::windows::core::interface_hierarchy!(UIContext, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(UIContext, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for UIContext {} unsafe impl ::core::marker::Sync for UIContext {} #[repr(C)] @@ -1349,7 +1349,7 @@ impl ::windows::core::TypeKind for Color { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for Color { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.Color;u1;u1;u1;u1)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.Color;u1;u1;u1;u1)"); } impl ::core::cmp::PartialEq for Color { fn eq(&self, other: &Self) -> bool { @@ -1382,7 +1382,7 @@ impl ::windows::core::TypeKind for WindowId { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for WindowId { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.UI.WindowId;u8)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.UI.WindowId;u8)"); } impl ::core::cmp::PartialEq for WindowId { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs index a04ba75277..07956db05f 100644 --- a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs +++ b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs @@ -173,8 +173,8 @@ impl AtomPubClient { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`, `\"Web_Syndication\"`*"] @@ -379,7 +379,7 @@ impl AtomPubClient { } #[doc(hidden)] pub fn IAtomPubClientFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -395,7 +395,7 @@ impl ::core::fmt::Debug for AtomPubClient { } } impl ::windows::core::RuntimeType for AtomPubClient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.AtomPubClient;{35392c38-cded-4d4c-9637-05f15c1c9406})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.AtomPubClient;{35392c38-cded-4d4c-9637-05f15c1c9406})"); } impl ::core::clone::Clone for AtomPubClient { fn clone(&self) -> Self { @@ -411,7 +411,7 @@ unsafe impl ::windows::core::Interface for AtomPubClient { impl ::windows::core::RuntimeName for AtomPubClient { const NAME: &'static str = "Windows.Web.AtomPub.AtomPubClient"; } -::windows::core::interface_hierarchy!(AtomPubClient, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(AtomPubClient, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Web_Syndication")] impl ::core::convert::TryFrom for super::Syndication::ISyndicationClient { type Error = ::windows::core::Error; @@ -591,7 +591,7 @@ impl ::core::fmt::Debug for ResourceCollection { } } impl ::windows::core::RuntimeType for ResourceCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.ResourceCollection;{7f5fd609-bc88-41d4-88fa-3de6704d428e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.ResourceCollection;{7f5fd609-bc88-41d4-88fa-3de6704d428e})"); } impl ::core::clone::Clone for ResourceCollection { fn clone(&self) -> Self { @@ -607,7 +607,7 @@ unsafe impl ::windows::core::Interface for ResourceCollection { impl ::windows::core::RuntimeName for ResourceCollection { const NAME: &'static str = "Windows.Web.AtomPub.ResourceCollection"; } -::windows::core::interface_hierarchy!(ResourceCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ResourceCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Web_Syndication")] impl ::core::convert::TryFrom for super::Syndication::ISyndicationNode { type Error = ::windows::core::Error; @@ -760,7 +760,7 @@ impl ::core::fmt::Debug for ServiceDocument { } } impl ::windows::core::RuntimeType for ServiceDocument { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.ServiceDocument;{8b7ec771-2ab3-4dbe-8bcc-778f92b75e51})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.ServiceDocument;{8b7ec771-2ab3-4dbe-8bcc-778f92b75e51})"); } impl ::core::clone::Clone for ServiceDocument { fn clone(&self) -> Self { @@ -776,7 +776,7 @@ unsafe impl ::windows::core::Interface for ServiceDocument { impl ::windows::core::RuntimeName for ServiceDocument { const NAME: &'static str = "Windows.Web.AtomPub.ServiceDocument"; } -::windows::core::interface_hierarchy!(ServiceDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ServiceDocument, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Web_Syndication")] impl ::core::convert::TryFrom for super::Syndication::ISyndicationNode { type Error = ::windows::core::Error; @@ -938,7 +938,7 @@ impl ::core::fmt::Debug for Workspace { } } impl ::windows::core::RuntimeType for Workspace { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.Workspace;{b41da63b-a4b8-4036-89c5-83c31266ba49})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.Workspace;{b41da63b-a4b8-4036-89c5-83c31266ba49})"); } impl ::core::clone::Clone for Workspace { fn clone(&self) -> Self { @@ -954,7 +954,7 @@ unsafe impl ::windows::core::Interface for Workspace { impl ::windows::core::RuntimeName for Workspace { const NAME: &'static str = "Windows.Web.AtomPub.Workspace"; } -::windows::core::interface_hierarchy!(Workspace, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Workspace, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Web_Syndication")] impl ::core::convert::TryFrom for super::Syndication::ISyndicationNode { type Error = ::windows::core::Error; diff --git a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs index d5420a9b9d..ee4fe35c94 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs @@ -302,7 +302,7 @@ impl HttpDiagnosticProvider { } #[doc(hidden)] pub fn IHttpDiagnosticProviderStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -318,7 +318,7 @@ impl ::core::fmt::Debug for HttpDiagnosticProvider { } } impl ::windows::core::RuntimeType for HttpDiagnosticProvider { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProvider;{bd811501-a056-4d39-b174-833b7b03b02c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProvider;{bd811501-a056-4d39-b174-833b7b03b02c})"); } impl ::core::clone::Clone for HttpDiagnosticProvider { fn clone(&self) -> Self { @@ -334,7 +334,7 @@ unsafe impl ::windows::core::Interface for HttpDiagnosticProvider { impl ::windows::core::RuntimeName for HttpDiagnosticProvider { const NAME: &'static str = "Windows.Web.Http.Diagnostics.HttpDiagnosticProvider"; } -::windows::core::interface_hierarchy!(HttpDiagnosticProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpDiagnosticProvider, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpDiagnosticProvider {} unsafe impl ::core::marker::Sync for HttpDiagnosticProvider {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] @@ -407,7 +407,7 @@ impl ::core::fmt::Debug for HttpDiagnosticProviderRequestResponseCompletedEventA } } impl ::windows::core::RuntimeType for HttpDiagnosticProviderRequestResponseCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs;{735f98ee-94f6-4532-b26e-61e1b1e4efd4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs;{735f98ee-94f6-4532-b26e-61e1b1e4efd4})"); } impl ::core::clone::Clone for HttpDiagnosticProviderRequestResponseCompletedEventArgs { fn clone(&self) -> Self { @@ -423,7 +423,7 @@ unsafe impl ::windows::core::Interface for HttpDiagnosticProviderRequestResponse impl ::windows::core::RuntimeName for HttpDiagnosticProviderRequestResponseCompletedEventArgs { const NAME: &'static str = "Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs"; } -::windows::core::interface_hierarchy!(HttpDiagnosticProviderRequestResponseCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpDiagnosticProviderRequestResponseCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpDiagnosticProviderRequestResponseCompletedEventArgs {} unsafe impl ::core::marker::Sync for HttpDiagnosticProviderRequestResponseCompletedEventArgs {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] @@ -524,7 +524,7 @@ impl ::core::fmt::Debug for HttpDiagnosticProviderRequestResponseTimestamps { } } impl ::windows::core::RuntimeType for HttpDiagnosticProviderRequestResponseTimestamps { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps;{e0afde10-55cf-4c01-91d4-a20557d849f0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps;{e0afde10-55cf-4c01-91d4-a20557d849f0})"); } impl ::core::clone::Clone for HttpDiagnosticProviderRequestResponseTimestamps { fn clone(&self) -> Self { @@ -540,7 +540,7 @@ unsafe impl ::windows::core::Interface for HttpDiagnosticProviderRequestResponse impl ::windows::core::RuntimeName for HttpDiagnosticProviderRequestResponseTimestamps { const NAME: &'static str = "Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps"; } -::windows::core::interface_hierarchy!(HttpDiagnosticProviderRequestResponseTimestamps, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpDiagnosticProviderRequestResponseTimestamps, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpDiagnosticProviderRequestResponseTimestamps {} unsafe impl ::core::marker::Sync for HttpDiagnosticProviderRequestResponseTimestamps {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] @@ -613,7 +613,7 @@ impl ::core::fmt::Debug for HttpDiagnosticProviderRequestSentEventArgs { } } impl ::windows::core::RuntimeType for HttpDiagnosticProviderRequestSentEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs;{3f5196d0-4c1f-4ebe-a57a-06930771c50d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs;{3f5196d0-4c1f-4ebe-a57a-06930771c50d})"); } impl ::core::clone::Clone for HttpDiagnosticProviderRequestSentEventArgs { fn clone(&self) -> Self { @@ -629,7 +629,7 @@ unsafe impl ::windows::core::Interface for HttpDiagnosticProviderRequestSentEven impl ::windows::core::RuntimeName for HttpDiagnosticProviderRequestSentEventArgs { const NAME: &'static str = "Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs"; } -::windows::core::interface_hierarchy!(HttpDiagnosticProviderRequestSentEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpDiagnosticProviderRequestSentEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpDiagnosticProviderRequestSentEventArgs {} unsafe impl ::core::marker::Sync for HttpDiagnosticProviderRequestSentEventArgs {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] @@ -672,7 +672,7 @@ impl ::core::fmt::Debug for HttpDiagnosticProviderResponseReceivedEventArgs { } } impl ::windows::core::RuntimeType for HttpDiagnosticProviderResponseReceivedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs;{a0a2566c-ab5f-4d66-bb2d-084cf41635d0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs;{a0a2566c-ab5f-4d66-bb2d-084cf41635d0})"); } impl ::core::clone::Clone for HttpDiagnosticProviderResponseReceivedEventArgs { fn clone(&self) -> Self { @@ -688,7 +688,7 @@ unsafe impl ::windows::core::Interface for HttpDiagnosticProviderResponseReceive impl ::windows::core::RuntimeName for HttpDiagnosticProviderResponseReceivedEventArgs { const NAME: &'static str = "Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs"; } -::windows::core::interface_hierarchy!(HttpDiagnosticProviderResponseReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpDiagnosticProviderResponseReceivedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpDiagnosticProviderResponseReceivedEventArgs {} unsafe impl ::core::marker::Sync for HttpDiagnosticProviderResponseReceivedEventArgs {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] @@ -731,7 +731,7 @@ impl ::core::fmt::Debug for HttpDiagnosticSourceLocation { } } impl ::windows::core::RuntimeType for HttpDiagnosticSourceLocation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation;{54a9d260-8860-423f-b6fa-d77716f647a7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation;{54a9d260-8860-423f-b6fa-d77716f647a7})"); } impl ::core::clone::Clone for HttpDiagnosticSourceLocation { fn clone(&self) -> Self { @@ -747,7 +747,7 @@ unsafe impl ::windows::core::Interface for HttpDiagnosticSourceLocation { impl ::windows::core::RuntimeName for HttpDiagnosticSourceLocation { const NAME: &'static str = "Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation"; } -::windows::core::interface_hierarchy!(HttpDiagnosticSourceLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpDiagnosticSourceLocation, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpDiagnosticSourceLocation {} unsafe impl ::core::marker::Sync for HttpDiagnosticSourceLocation {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] @@ -789,7 +789,7 @@ impl ::core::fmt::Debug for HttpDiagnosticRequestInitiator { } } impl ::windows::core::RuntimeType for HttpDiagnosticRequestInitiator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.Diagnostics.HttpDiagnosticRequestInitiator;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.Diagnostics.HttpDiagnosticRequestInitiator;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs index b8bfbaa7ae..3433482b35 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs @@ -216,7 +216,7 @@ impl IHttpFilter { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IHttpFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IHttpFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -251,7 +251,7 @@ impl ::core::fmt::Debug for IHttpFilter { } } impl ::windows::core::RuntimeType for IHttpFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{a4cb6dd5-0902-439e-bfd7-e12552b165ce}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{a4cb6dd5-0902-439e-bfd7-e12552b165ce}"); } unsafe impl ::windows::core::Vtable for IHttpFilter { type Vtable = IHttpFilter_Vtbl; @@ -321,8 +321,8 @@ impl HttpBaseProtocolFilter { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -523,7 +523,7 @@ impl HttpBaseProtocolFilter { } #[doc(hidden)] pub fn IHttpBaseProtocolFilterStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -539,7 +539,7 @@ impl ::core::fmt::Debug for HttpBaseProtocolFilter { } } impl ::windows::core::RuntimeType for HttpBaseProtocolFilter { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpBaseProtocolFilter;{71c89b09-e131-4b54-a53c-eb43ff37e9bb})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpBaseProtocolFilter;{71c89b09-e131-4b54-a53c-eb43ff37e9bb})"); } impl ::core::clone::Clone for HttpBaseProtocolFilter { fn clone(&self) -> Self { @@ -555,7 +555,7 @@ unsafe impl ::windows::core::Interface for HttpBaseProtocolFilter { impl ::windows::core::RuntimeName for HttpBaseProtocolFilter { const NAME: &'static str = "Windows.Web.Http.Filters.HttpBaseProtocolFilter"; } -::windows::core::interface_hierarchy!(HttpBaseProtocolFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpBaseProtocolFilter, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -638,7 +638,7 @@ impl ::core::fmt::Debug for HttpCacheControl { } } impl ::windows::core::RuntimeType for HttpCacheControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpCacheControl;{c77e1cb4-3cea-4eb5-ac85-04e186e63ab7})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpCacheControl;{c77e1cb4-3cea-4eb5-ac85-04e186e63ab7})"); } impl ::core::clone::Clone for HttpCacheControl { fn clone(&self) -> Self { @@ -654,7 +654,7 @@ unsafe impl ::windows::core::Interface for HttpCacheControl { impl ::windows::core::RuntimeName for HttpCacheControl { const NAME: &'static str = "Windows.Web.Http.Filters.HttpCacheControl"; } -::windows::core::interface_hierarchy!(HttpCacheControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpCacheControl, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpCacheControl {} unsafe impl ::core::marker::Sync for HttpCacheControl {} #[doc = "*Required features: `\"Web_Http_Filters\"`*"] @@ -730,7 +730,7 @@ impl ::core::fmt::Debug for HttpServerCustomValidationRequestedEventArgs { } } impl ::windows::core::RuntimeType for HttpServerCustomValidationRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs;{3165fe32-e7dd-48b7-a361-939c750e63cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs;{3165fe32-e7dd-48b7-a361-939c750e63cc})"); } impl ::core::clone::Clone for HttpServerCustomValidationRequestedEventArgs { fn clone(&self) -> Self { @@ -746,7 +746,7 @@ unsafe impl ::windows::core::Interface for HttpServerCustomValidationRequestedEv impl ::windows::core::RuntimeName for HttpServerCustomValidationRequestedEventArgs { const NAME: &'static str = "Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs"; } -::windows::core::interface_hierarchy!(HttpServerCustomValidationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpServerCustomValidationRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpServerCustomValidationRequestedEventArgs {} unsafe impl ::core::marker::Sync for HttpServerCustomValidationRequestedEventArgs {} #[doc = "*Required features: `\"Web_Http_Filters\"`*"] @@ -779,7 +779,7 @@ impl ::core::fmt::Debug for HttpCacheReadBehavior { } } impl ::windows::core::RuntimeType for HttpCacheReadBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.Filters.HttpCacheReadBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.Filters.HttpCacheReadBehavior;i4)"); } #[doc = "*Required features: `\"Web_Http_Filters\"`*"] #[repr(transparent)] @@ -809,7 +809,7 @@ impl ::core::fmt::Debug for HttpCacheWriteBehavior { } } impl ::windows::core::RuntimeType for HttpCacheWriteBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.Filters.HttpCacheWriteBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.Filters.HttpCacheWriteBehavior;i4)"); } #[doc = "*Required features: `\"Web_Http_Filters\"`*"] #[repr(transparent)] @@ -839,7 +839,7 @@ impl ::core::fmt::Debug for HttpCookieUsageBehavior { } } impl ::windows::core::RuntimeType for HttpCookieUsageBehavior { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.Filters.HttpCookieUsageBehavior;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.Filters.HttpCookieUsageBehavior;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs index 46478006ed..e18e353fb4 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs @@ -1842,7 +1842,7 @@ impl ::core::fmt::Debug for HttpCacheDirectiveHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpCacheDirectiveHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCacheDirectiveHeaderValueCollection;{9a586b89-d5d0-4fbe-bd9d-b5b3636811b4})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCacheDirectiveHeaderValueCollection;{9a586b89-d5d0-4fbe-bd9d-b5b3636811b4})"); } impl ::core::clone::Clone for HttpCacheDirectiveHeaderValueCollection { fn clone(&self) -> Self { @@ -1874,7 +1874,7 @@ impl ::core::iter::IntoIterator for &HttpCacheDirectiveHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpCacheDirectiveHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpCacheDirectiveHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -2005,12 +2005,12 @@ impl HttpChallengeHeaderValue { } #[doc(hidden)] pub fn IHttpChallengeHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpChallengeHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2026,7 +2026,7 @@ impl ::core::fmt::Debug for HttpChallengeHeaderValue { } } impl ::windows::core::RuntimeType for HttpChallengeHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpChallengeHeaderValue;{393361af-0f7d-4820-9fdd-a2b956eeaeab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpChallengeHeaderValue;{393361af-0f7d-4820-9fdd-a2b956eeaeab})"); } impl ::core::clone::Clone for HttpChallengeHeaderValue { fn clone(&self) -> Self { @@ -2042,7 +2042,7 @@ unsafe impl ::windows::core::Interface for HttpChallengeHeaderValue { impl ::windows::core::RuntimeName for HttpChallengeHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpChallengeHeaderValue"; } -::windows::core::interface_hierarchy!(HttpChallengeHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpChallengeHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -2200,7 +2200,7 @@ impl ::core::fmt::Debug for HttpChallengeHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpChallengeHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpChallengeHeaderValueCollection;{ca9e5f81-aee0-4353-a10b-e625babd64c2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpChallengeHeaderValueCollection;{ca9e5f81-aee0-4353-a10b-e625babd64c2})"); } impl ::core::clone::Clone for HttpChallengeHeaderValueCollection { fn clone(&self) -> Self { @@ -2232,7 +2232,7 @@ impl ::core::iter::IntoIterator for &HttpChallengeHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpChallengeHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpChallengeHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -2341,12 +2341,12 @@ impl HttpConnectionOptionHeaderValue { } #[doc(hidden)] pub fn IHttpConnectionOptionHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpConnectionOptionHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2362,7 +2362,7 @@ impl ::core::fmt::Debug for HttpConnectionOptionHeaderValue { } } impl ::windows::core::RuntimeType for HttpConnectionOptionHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpConnectionOptionHeaderValue;{cb4af27a-4e90-45eb-8dcd-fd1408f4c44f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpConnectionOptionHeaderValue;{cb4af27a-4e90-45eb-8dcd-fd1408f4c44f})"); } impl ::core::clone::Clone for HttpConnectionOptionHeaderValue { fn clone(&self) -> Self { @@ -2378,7 +2378,7 @@ unsafe impl ::windows::core::Interface for HttpConnectionOptionHeaderValue { impl ::windows::core::RuntimeName for HttpConnectionOptionHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpConnectionOptionHeaderValue"; } -::windows::core::interface_hierarchy!(HttpConnectionOptionHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpConnectionOptionHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -2536,7 +2536,7 @@ impl ::core::fmt::Debug for HttpConnectionOptionHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpConnectionOptionHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpConnectionOptionHeaderValueCollection;{e4f56c1d-5142-4e00-8e0f-019509337629})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpConnectionOptionHeaderValueCollection;{e4f56c1d-5142-4e00-8e0f-019509337629})"); } impl ::core::clone::Clone for HttpConnectionOptionHeaderValueCollection { fn clone(&self) -> Self { @@ -2568,7 +2568,7 @@ impl ::core::iter::IntoIterator for &HttpConnectionOptionHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpConnectionOptionHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpConnectionOptionHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -2677,12 +2677,12 @@ impl HttpContentCodingHeaderValue { } #[doc(hidden)] pub fn IHttpContentCodingHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpContentCodingHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2698,7 +2698,7 @@ impl ::core::fmt::Debug for HttpContentCodingHeaderValue { } } impl ::windows::core::RuntimeType for HttpContentCodingHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingHeaderValue;{bcf7f92a-9376-4d85-bccc-9f4f9acab434})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingHeaderValue;{bcf7f92a-9376-4d85-bccc-9f4f9acab434})"); } impl ::core::clone::Clone for HttpContentCodingHeaderValue { fn clone(&self) -> Self { @@ -2714,7 +2714,7 @@ unsafe impl ::windows::core::Interface for HttpContentCodingHeaderValue { impl ::windows::core::RuntimeName for HttpContentCodingHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpContentCodingHeaderValue"; } -::windows::core::interface_hierarchy!(HttpContentCodingHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpContentCodingHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -2872,7 +2872,7 @@ impl ::core::fmt::Debug for HttpContentCodingHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpContentCodingHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingHeaderValueCollection;{7d221721-a6db-436e-8e83-91596192819c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingHeaderValueCollection;{7d221721-a6db-436e-8e83-91596192819c})"); } impl ::core::clone::Clone for HttpContentCodingHeaderValueCollection { fn clone(&self) -> Self { @@ -2904,7 +2904,7 @@ impl ::core::iter::IntoIterator for &HttpContentCodingHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpContentCodingHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpContentCodingHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -3028,12 +3028,12 @@ impl HttpContentCodingWithQualityHeaderValue { } #[doc(hidden)] pub fn IHttpContentCodingWithQualityHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpContentCodingWithQualityHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3049,7 +3049,7 @@ impl ::core::fmt::Debug for HttpContentCodingWithQualityHeaderValue { } } impl ::windows::core::RuntimeType for HttpContentCodingWithQualityHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingWithQualityHeaderValue;{94531cd5-8b13-4d73-8651-f76b38f88495})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingWithQualityHeaderValue;{94531cd5-8b13-4d73-8651-f76b38f88495})"); } impl ::core::clone::Clone for HttpContentCodingWithQualityHeaderValue { fn clone(&self) -> Self { @@ -3065,7 +3065,7 @@ unsafe impl ::windows::core::Interface for HttpContentCodingWithQualityHeaderVal impl ::windows::core::RuntimeName for HttpContentCodingWithQualityHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpContentCodingWithQualityHeaderValue"; } -::windows::core::interface_hierarchy!(HttpContentCodingWithQualityHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpContentCodingWithQualityHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -3223,7 +3223,7 @@ impl ::core::fmt::Debug for HttpContentCodingWithQualityHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpContentCodingWithQualityHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingWithQualityHeaderValueCollection;{7c0d753e-e899-4378-b5c8-412d820711cc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingWithQualityHeaderValueCollection;{7c0d753e-e899-4378-b5c8-412d820711cc})"); } impl ::core::clone::Clone for HttpContentCodingWithQualityHeaderValueCollection { fn clone(&self) -> Self { @@ -3255,7 +3255,7 @@ impl ::core::iter::IntoIterator for &HttpContentCodingWithQualityHeaderValueColl super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpContentCodingWithQualityHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpContentCodingWithQualityHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -3429,12 +3429,12 @@ impl HttpContentDispositionHeaderValue { } #[doc(hidden)] pub fn IHttpContentDispositionHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpContentDispositionHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3450,7 +3450,7 @@ impl ::core::fmt::Debug for HttpContentDispositionHeaderValue { } } impl ::windows::core::RuntimeType for HttpContentDispositionHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentDispositionHeaderValue;{f2a2eedc-2629-4b49-9908-96a168e9365e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentDispositionHeaderValue;{f2a2eedc-2629-4b49-9908-96a168e9365e})"); } impl ::core::clone::Clone for HttpContentDispositionHeaderValue { fn clone(&self) -> Self { @@ -3466,7 +3466,7 @@ unsafe impl ::windows::core::Interface for HttpContentDispositionHeaderValue { impl ::windows::core::RuntimeName for HttpContentDispositionHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpContentDispositionHeaderValue"; } -::windows::core::interface_hierarchy!(HttpContentDispositionHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpContentDispositionHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -3498,8 +3498,8 @@ impl HttpContentHeaderCollection { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ContentDisposition(&self) -> ::windows::core::Result { @@ -3739,7 +3739,7 @@ impl ::core::fmt::Debug for HttpContentHeaderCollection { } } impl ::windows::core::RuntimeType for HttpContentHeaderCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentHeaderCollection;{40612a44-47ae-4b7e-9124-69628b64aa18})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentHeaderCollection;{40612a44-47ae-4b7e-9124-69628b64aa18})"); } impl ::core::clone::Clone for HttpContentHeaderCollection { fn clone(&self) -> Self { @@ -3771,7 +3771,7 @@ impl ::core::iter::IntoIterator for &HttpContentHeaderCollection { self.First().unwrap() } } -::windows::core::interface_hierarchy!(HttpContentHeaderCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpContentHeaderCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -3923,12 +3923,12 @@ impl HttpContentRangeHeaderValue { } #[doc(hidden)] pub fn IHttpContentRangeHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpContentRangeHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3944,7 +3944,7 @@ impl ::core::fmt::Debug for HttpContentRangeHeaderValue { } } impl ::windows::core::RuntimeType for HttpContentRangeHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentRangeHeaderValue;{04d967d3-a4f6-495c-9530-8579fcba8aa9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentRangeHeaderValue;{04d967d3-a4f6-495c-9530-8579fcba8aa9})"); } impl ::core::clone::Clone for HttpContentRangeHeaderValue { fn clone(&self) -> Self { @@ -3960,7 +3960,7 @@ unsafe impl ::windows::core::Interface for HttpContentRangeHeaderValue { impl ::windows::core::RuntimeName for HttpContentRangeHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpContentRangeHeaderValue"; } -::windows::core::interface_hierarchy!(HttpContentRangeHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpContentRangeHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -4042,12 +4042,12 @@ impl HttpCookiePairHeaderValue { } #[doc(hidden)] pub fn IHttpCookiePairHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpCookiePairHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4063,7 +4063,7 @@ impl ::core::fmt::Debug for HttpCookiePairHeaderValue { } } impl ::windows::core::RuntimeType for HttpCookiePairHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCookiePairHeaderValue;{cbd46217-4b29-412b-bd90-b3d814ab8e1b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCookiePairHeaderValue;{cbd46217-4b29-412b-bd90-b3d814ab8e1b})"); } impl ::core::clone::Clone for HttpCookiePairHeaderValue { fn clone(&self) -> Self { @@ -4079,7 +4079,7 @@ unsafe impl ::windows::core::Interface for HttpCookiePairHeaderValue { impl ::windows::core::RuntimeName for HttpCookiePairHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpCookiePairHeaderValue"; } -::windows::core::interface_hierarchy!(HttpCookiePairHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpCookiePairHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -4237,7 +4237,7 @@ impl ::core::fmt::Debug for HttpCookiePairHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpCookiePairHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCookiePairHeaderValueCollection;{f3f44350-581e-4ecc-9f59-e507d04f06e6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCookiePairHeaderValueCollection;{f3f44350-581e-4ecc-9f59-e507d04f06e6})"); } impl ::core::clone::Clone for HttpCookiePairHeaderValueCollection { fn clone(&self) -> Self { @@ -4269,7 +4269,7 @@ impl ::core::iter::IntoIterator for &HttpCookiePairHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpCookiePairHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpCookiePairHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -4400,12 +4400,12 @@ impl HttpCredentialsHeaderValue { } #[doc(hidden)] pub fn IHttpCredentialsHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpCredentialsHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4421,7 +4421,7 @@ impl ::core::fmt::Debug for HttpCredentialsHeaderValue { } } impl ::windows::core::RuntimeType for HttpCredentialsHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCredentialsHeaderValue;{c34cc3cb-542e-4177-a6c7-b674ce193fbf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCredentialsHeaderValue;{c34cc3cb-542e-4177-a6c7-b674ce193fbf})"); } impl ::core::clone::Clone for HttpCredentialsHeaderValue { fn clone(&self) -> Self { @@ -4437,7 +4437,7 @@ unsafe impl ::windows::core::Interface for HttpCredentialsHeaderValue { impl ::windows::core::RuntimeName for HttpCredentialsHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpCredentialsHeaderValue"; } -::windows::core::interface_hierarchy!(HttpCredentialsHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpCredentialsHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -4507,7 +4507,7 @@ impl HttpDateOrDeltaHeaderValue { } #[doc(hidden)] pub fn IHttpDateOrDeltaHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4523,7 +4523,7 @@ impl ::core::fmt::Debug for HttpDateOrDeltaHeaderValue { } } impl ::windows::core::RuntimeType for HttpDateOrDeltaHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpDateOrDeltaHeaderValue;{eafcaa6a-c4dc-49e2-a27d-043adf5867a3})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpDateOrDeltaHeaderValue;{eafcaa6a-c4dc-49e2-a27d-043adf5867a3})"); } impl ::core::clone::Clone for HttpDateOrDeltaHeaderValue { fn clone(&self) -> Self { @@ -4539,7 +4539,7 @@ unsafe impl ::windows::core::Interface for HttpDateOrDeltaHeaderValue { impl ::windows::core::RuntimeName for HttpDateOrDeltaHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpDateOrDeltaHeaderValue"; } -::windows::core::interface_hierarchy!(HttpDateOrDeltaHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpDateOrDeltaHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -4630,12 +4630,12 @@ impl HttpExpectationHeaderValue { } #[doc(hidden)] pub fn IHttpExpectationHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpExpectationHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -4651,7 +4651,7 @@ impl ::core::fmt::Debug for HttpExpectationHeaderValue { } } impl ::windows::core::RuntimeType for HttpExpectationHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpExpectationHeaderValue;{4ce585cd-3a99-43af-a2e6-ec232fea9658})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpExpectationHeaderValue;{4ce585cd-3a99-43af-a2e6-ec232fea9658})"); } impl ::core::clone::Clone for HttpExpectationHeaderValue { fn clone(&self) -> Self { @@ -4667,7 +4667,7 @@ unsafe impl ::windows::core::Interface for HttpExpectationHeaderValue { impl ::windows::core::RuntimeName for HttpExpectationHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpExpectationHeaderValue"; } -::windows::core::interface_hierarchy!(HttpExpectationHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpExpectationHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -4825,7 +4825,7 @@ impl ::core::fmt::Debug for HttpExpectationHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpExpectationHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpExpectationHeaderValueCollection;{e78521b3-a0e2-4ac4-9e66-79706cb9fd58})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpExpectationHeaderValueCollection;{e78521b3-a0e2-4ac4-9e66-79706cb9fd58})"); } impl ::core::clone::Clone for HttpExpectationHeaderValueCollection { fn clone(&self) -> Self { @@ -4857,7 +4857,7 @@ impl ::core::iter::IntoIterator for &HttpExpectationHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpExpectationHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpExpectationHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -5059,7 +5059,7 @@ impl ::core::fmt::Debug for HttpLanguageHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpLanguageHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageHeaderValueCollection;{9ebd7ca3-8219-44f6-9902-8c56dfd3340c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageHeaderValueCollection;{9ebd7ca3-8219-44f6-9902-8c56dfd3340c})"); } impl ::core::clone::Clone for HttpLanguageHeaderValueCollection { fn clone(&self) -> Self { @@ -5091,7 +5091,7 @@ impl ::core::iter::IntoIterator for &HttpLanguageHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpLanguageHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpLanguageHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(all(feature = "Foundation_Collections", feature = "Globalization"))] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -5215,12 +5215,12 @@ impl HttpLanguageRangeWithQualityHeaderValue { } #[doc(hidden)] pub fn IHttpLanguageRangeWithQualityHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpLanguageRangeWithQualityHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5236,7 +5236,7 @@ impl ::core::fmt::Debug for HttpLanguageRangeWithQualityHeaderValue { } } impl ::windows::core::RuntimeType for HttpLanguageRangeWithQualityHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageRangeWithQualityHeaderValue;{7256e102-0080-4db4-a083-7de7b2e5ba4c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageRangeWithQualityHeaderValue;{7256e102-0080-4db4-a083-7de7b2e5ba4c})"); } impl ::core::clone::Clone for HttpLanguageRangeWithQualityHeaderValue { fn clone(&self) -> Self { @@ -5252,7 +5252,7 @@ unsafe impl ::windows::core::Interface for HttpLanguageRangeWithQualityHeaderVal impl ::windows::core::RuntimeName for HttpLanguageRangeWithQualityHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpLanguageRangeWithQualityHeaderValue"; } -::windows::core::interface_hierarchy!(HttpLanguageRangeWithQualityHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpLanguageRangeWithQualityHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -5410,7 +5410,7 @@ impl ::core::fmt::Debug for HttpLanguageRangeWithQualityHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpLanguageRangeWithQualityHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageRangeWithQualityHeaderValueCollection;{885d5abd-4b4f-480a-89ce-8aedcee6e3a0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageRangeWithQualityHeaderValueCollection;{885d5abd-4b4f-480a-89ce-8aedcee6e3a0})"); } impl ::core::clone::Clone for HttpLanguageRangeWithQualityHeaderValueCollection { fn clone(&self) -> Self { @@ -5442,7 +5442,7 @@ impl ::core::iter::IntoIterator for &HttpLanguageRangeWithQualityHeaderValueColl super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpLanguageRangeWithQualityHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpLanguageRangeWithQualityHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -5575,12 +5575,12 @@ impl HttpMediaTypeHeaderValue { } #[doc(hidden)] pub fn IHttpMediaTypeHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpMediaTypeHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5596,7 +5596,7 @@ impl ::core::fmt::Debug for HttpMediaTypeHeaderValue { } } impl ::windows::core::RuntimeType for HttpMediaTypeHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeHeaderValue;{16b28533-e728-4fcb-bdb0-08a431a14844})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeHeaderValue;{16b28533-e728-4fcb-bdb0-08a431a14844})"); } impl ::core::clone::Clone for HttpMediaTypeHeaderValue { fn clone(&self) -> Self { @@ -5612,7 +5612,7 @@ unsafe impl ::windows::core::Interface for HttpMediaTypeHeaderValue { impl ::windows::core::RuntimeName for HttpMediaTypeHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpMediaTypeHeaderValue"; } -::windows::core::interface_hierarchy!(HttpMediaTypeHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpMediaTypeHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -5726,12 +5726,12 @@ impl HttpMediaTypeWithQualityHeaderValue { } #[doc(hidden)] pub fn IHttpMediaTypeWithQualityHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpMediaTypeWithQualityHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -5747,7 +5747,7 @@ impl ::core::fmt::Debug for HttpMediaTypeWithQualityHeaderValue { } } impl ::windows::core::RuntimeType for HttpMediaTypeWithQualityHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeWithQualityHeaderValue;{188d5e32-76be-44a0-b1cd-2074bded2dde})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeWithQualityHeaderValue;{188d5e32-76be-44a0-b1cd-2074bded2dde})"); } impl ::core::clone::Clone for HttpMediaTypeWithQualityHeaderValue { fn clone(&self) -> Self { @@ -5763,7 +5763,7 @@ unsafe impl ::windows::core::Interface for HttpMediaTypeWithQualityHeaderValue { impl ::windows::core::RuntimeName for HttpMediaTypeWithQualityHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpMediaTypeWithQualityHeaderValue"; } -::windows::core::interface_hierarchy!(HttpMediaTypeWithQualityHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpMediaTypeWithQualityHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -5921,7 +5921,7 @@ impl ::core::fmt::Debug for HttpMediaTypeWithQualityHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpMediaTypeWithQualityHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeWithQualityHeaderValueCollection;{3c0c6b73-1342-4587-a056-18d02ff67165})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeWithQualityHeaderValueCollection;{3c0c6b73-1342-4587-a056-18d02ff67165})"); } impl ::core::clone::Clone for HttpMediaTypeWithQualityHeaderValueCollection { fn clone(&self) -> Self { @@ -5953,7 +5953,7 @@ impl ::core::iter::IntoIterator for &HttpMediaTypeWithQualityHeaderValueCollecti super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpMediaTypeWithQualityHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpMediaTypeWithQualityHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -6155,7 +6155,7 @@ impl ::core::fmt::Debug for HttpMethodHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpMethodHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMethodHeaderValueCollection;{43bc3ff4-6119-4adf-938c-34bfffcf92ed})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMethodHeaderValueCollection;{43bc3ff4-6119-4adf-938c-34bfffcf92ed})"); } impl ::core::clone::Clone for HttpMethodHeaderValueCollection { fn clone(&self) -> Self { @@ -6187,7 +6187,7 @@ impl ::core::iter::IntoIterator for &HttpMethodHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpMethodHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpMethodHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -6313,12 +6313,12 @@ impl HttpNameValueHeaderValue { } #[doc(hidden)] pub fn IHttpNameValueHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpNameValueHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6334,7 +6334,7 @@ impl ::core::fmt::Debug for HttpNameValueHeaderValue { } } impl ::windows::core::RuntimeType for HttpNameValueHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpNameValueHeaderValue;{d8ba7463-5b9a-4d1b-93f9-aa5b44ecfddf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpNameValueHeaderValue;{d8ba7463-5b9a-4d1b-93f9-aa5b44ecfddf})"); } impl ::core::clone::Clone for HttpNameValueHeaderValue { fn clone(&self) -> Self { @@ -6350,7 +6350,7 @@ unsafe impl ::windows::core::Interface for HttpNameValueHeaderValue { impl ::windows::core::RuntimeName for HttpNameValueHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpNameValueHeaderValue"; } -::windows::core::interface_hierarchy!(HttpNameValueHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpNameValueHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -6428,12 +6428,12 @@ impl HttpProductHeaderValue { } #[doc(hidden)] pub fn IHttpProductHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpProductHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6449,7 +6449,7 @@ impl ::core::fmt::Debug for HttpProductHeaderValue { } } impl ::windows::core::RuntimeType for HttpProductHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductHeaderValue;{f4feee03-ebd4-4160-b9ff-807c5183b6e6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductHeaderValue;{f4feee03-ebd4-4160-b9ff-807c5183b6e6})"); } impl ::core::clone::Clone for HttpProductHeaderValue { fn clone(&self) -> Self { @@ -6465,7 +6465,7 @@ unsafe impl ::windows::core::Interface for HttpProductHeaderValue { impl ::windows::core::RuntimeName for HttpProductHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpProductHeaderValue"; } -::windows::core::interface_hierarchy!(HttpProductHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpProductHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -6543,12 +6543,12 @@ impl HttpProductInfoHeaderValue { } #[doc(hidden)] pub fn IHttpProductInfoHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpProductInfoHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -6564,7 +6564,7 @@ impl ::core::fmt::Debug for HttpProductInfoHeaderValue { } } impl ::windows::core::RuntimeType for HttpProductInfoHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductInfoHeaderValue;{1b1a8732-4c35-486a-966f-646489198e4d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductInfoHeaderValue;{1b1a8732-4c35-486a-966f-646489198e4d})"); } impl ::core::clone::Clone for HttpProductInfoHeaderValue { fn clone(&self) -> Self { @@ -6580,7 +6580,7 @@ unsafe impl ::windows::core::Interface for HttpProductInfoHeaderValue { impl ::windows::core::RuntimeName for HttpProductInfoHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpProductInfoHeaderValue"; } -::windows::core::interface_hierarchy!(HttpProductInfoHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpProductInfoHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -6738,7 +6738,7 @@ impl ::core::fmt::Debug for HttpProductInfoHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpProductInfoHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductInfoHeaderValueCollection;{877df74a-d69b-44f8-ad4f-453af9c42ed0})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductInfoHeaderValueCollection;{877df74a-d69b-44f8-ad4f-453af9c42ed0})"); } impl ::core::clone::Clone for HttpProductInfoHeaderValueCollection { fn clone(&self) -> Self { @@ -6770,7 +6770,7 @@ impl ::core::iter::IntoIterator for &HttpProductInfoHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpProductInfoHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpProductInfoHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -7144,7 +7144,7 @@ impl ::core::fmt::Debug for HttpRequestHeaderCollection { } } impl ::windows::core::RuntimeType for HttpRequestHeaderCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpRequestHeaderCollection;{af40329b-b544-469b-86b9-ac3d466fea36})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpRequestHeaderCollection;{af40329b-b544-469b-86b9-ac3d466fea36})"); } impl ::core::clone::Clone for HttpRequestHeaderCollection { fn clone(&self) -> Self { @@ -7176,7 +7176,7 @@ impl ::core::iter::IntoIterator for &HttpRequestHeaderCollection { self.First().unwrap() } } -::windows::core::interface_hierarchy!(HttpRequestHeaderCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpRequestHeaderCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -7454,7 +7454,7 @@ impl ::core::fmt::Debug for HttpResponseHeaderCollection { } } impl ::windows::core::RuntimeType for HttpResponseHeaderCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpResponseHeaderCollection;{7a990969-fa3f-41ed-aac6-bf957975c16b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpResponseHeaderCollection;{7a990969-fa3f-41ed-aac6-bf957975c16b})"); } impl ::core::clone::Clone for HttpResponseHeaderCollection { fn clone(&self) -> Self { @@ -7486,7 +7486,7 @@ impl ::core::iter::IntoIterator for &HttpResponseHeaderCollection { self.First().unwrap() } } -::windows::core::interface_hierarchy!(HttpResponseHeaderCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpResponseHeaderCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable> { type Error = ::windows::core::Error; @@ -7604,12 +7604,12 @@ impl HttpTransferCodingHeaderValue { } #[doc(hidden)] pub fn IHttpTransferCodingHeaderValueFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpTransferCodingHeaderValueStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -7625,7 +7625,7 @@ impl ::core::fmt::Debug for HttpTransferCodingHeaderValue { } } impl ::windows::core::RuntimeType for HttpTransferCodingHeaderValue { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpTransferCodingHeaderValue;{436f32f9-3ded-42bd-b38a-5496a2511ce6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpTransferCodingHeaderValue;{436f32f9-3ded-42bd-b38a-5496a2511ce6})"); } impl ::core::clone::Clone for HttpTransferCodingHeaderValue { fn clone(&self) -> Self { @@ -7641,7 +7641,7 @@ unsafe impl ::windows::core::Interface for HttpTransferCodingHeaderValue { impl ::windows::core::RuntimeName for HttpTransferCodingHeaderValue { const NAME: &'static str = "Windows.Web.Http.Headers.HttpTransferCodingHeaderValue"; } -::windows::core::interface_hierarchy!(HttpTransferCodingHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpTransferCodingHeaderValue, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -7799,7 +7799,7 @@ impl ::core::fmt::Debug for HttpTransferCodingHeaderValueCollection { } } impl ::windows::core::RuntimeType for HttpTransferCodingHeaderValueCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpTransferCodingHeaderValueCollection;{202c8c34-2c03-49b8-9665-73e27cb2fc79})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpTransferCodingHeaderValueCollection;{202c8c34-2c03-49b8-9665-73e27cb2fc79})"); } impl ::core::clone::Clone for HttpTransferCodingHeaderValueCollection { fn clone(&self) -> Self { @@ -7831,7 +7831,7 @@ impl ::core::iter::IntoIterator for &HttpTransferCodingHeaderValueCollection { super::super::super::Foundation::Collections::VectorIterator::new(::core::convert::TryInto::try_into(self).ok()) } } -::windows::core::interface_hierarchy!(HttpTransferCodingHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpTransferCodingHeaderValueCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index b7e2b42c4b..dbb8e5fe1a 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -273,7 +273,7 @@ impl IHttpContent { unsafe { (::windows::core::Vtable::vtable(this).Close)(::windows::core::Vtable::as_raw(this)).ok() } } } -::windows::core::interface_hierarchy!(IHttpContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IHttpContent, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -308,7 +308,7 @@ impl ::core::fmt::Debug for IHttpContent { } } impl ::windows::core::RuntimeType for IHttpContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{6b14a441-fba7-4bd2-af0a-839de7c295da}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{6b14a441-fba7-4bd2-af0a-839de7c295da}"); } unsafe impl ::windows::core::Vtable for IHttpContent { type Vtable = IHttpContent_Vtbl; @@ -1043,7 +1043,7 @@ impl HttpBufferContent { } #[doc(hidden)] pub fn IHttpBufferContentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1059,7 +1059,7 @@ impl ::core::fmt::Debug for HttpBufferContent { } } impl ::windows::core::RuntimeType for HttpBufferContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpBufferContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpBufferContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } impl ::core::clone::Clone for HttpBufferContent { fn clone(&self) -> Self { @@ -1075,7 +1075,7 @@ unsafe impl ::windows::core::Interface for HttpBufferContent { impl ::windows::core::RuntimeName for HttpBufferContent { const NAME: &'static str = "Windows.Web.Http.HttpBufferContent"; } -::windows::core::interface_hierarchy!(HttpBufferContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpBufferContent, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1148,8 +1148,8 @@ impl HttpClient { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -1397,7 +1397,7 @@ impl HttpClient { } #[doc(hidden)] pub fn IHttpClientFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1413,7 +1413,7 @@ impl ::core::fmt::Debug for HttpClient { } } impl ::windows::core::RuntimeType for HttpClient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpClient;{7fda1151-3574-4880-a8ba-e6b1e0061f3d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpClient;{7fda1151-3574-4880-a8ba-e6b1e0061f3d})"); } impl ::core::clone::Clone for HttpClient { fn clone(&self) -> Self { @@ -1429,7 +1429,7 @@ unsafe impl ::windows::core::Interface for HttpClient { impl ::windows::core::RuntimeName for HttpClient { const NAME: &'static str = "Windows.Web.Http.HttpClient"; } -::windows::core::interface_hierarchy!(HttpClient, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpClient, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -1570,7 +1570,7 @@ impl HttpCookie { } #[doc(hidden)] pub fn IHttpCookieFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1586,7 +1586,7 @@ impl ::core::fmt::Debug for HttpCookie { } } impl ::windows::core::RuntimeType for HttpCookie { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookie;{1f5488e2-cc2d-4779-86a7-88f10687d249})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookie;{1f5488e2-cc2d-4779-86a7-88f10687d249})"); } impl ::core::clone::Clone for HttpCookie { fn clone(&self) -> Self { @@ -1602,7 +1602,7 @@ unsafe impl ::windows::core::Interface for HttpCookie { impl ::windows::core::RuntimeName for HttpCookie { const NAME: &'static str = "Windows.Web.Http.HttpCookie"; } -::windows::core::interface_hierarchy!(HttpCookie, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpCookie, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -1695,7 +1695,7 @@ impl ::core::fmt::Debug for HttpCookieCollection { } #[cfg(feature = "Foundation_Collections")] impl ::windows::core::RuntimeType for HttpCookieCollection { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookieCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Web.Http.HttpCookie;{1f5488e2-cc2d-4779-86a7-88f10687d249})))"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookieCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Web.Http.HttpCookie;{1f5488e2-cc2d-4779-86a7-88f10687d249})))"); } #[cfg(feature = "Foundation_Collections")] impl ::core::clone::Clone for HttpCookieCollection { @@ -1732,7 +1732,7 @@ impl ::core::iter::IntoIterator for &HttpCookieCollection { } } #[cfg(feature = "Foundation_Collections")] -::windows::core::interface_hierarchy!(HttpCookieCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpCookieCollection, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation_Collections")] impl ::core::convert::TryFrom for super::super::Foundation::Collections::IIterable { type Error = ::windows::core::Error; @@ -1825,7 +1825,7 @@ impl ::core::fmt::Debug for HttpCookieManager { } } impl ::windows::core::RuntimeType for HttpCookieManager { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookieManager;{7a431780-cd4f-4e57-a84a-5b0a53d6bb96})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookieManager;{7a431780-cd4f-4e57-a84a-5b0a53d6bb96})"); } impl ::core::clone::Clone for HttpCookieManager { fn clone(&self) -> Self { @@ -1841,7 +1841,7 @@ unsafe impl ::windows::core::Interface for HttpCookieManager { impl ::windows::core::RuntimeName for HttpCookieManager { const NAME: &'static str = "Windows.Web.Http.HttpCookieManager"; } -::windows::core::interface_hierarchy!(HttpCookieManager, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpCookieManager, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for HttpCookieManager {} unsafe impl ::core::marker::Sync for HttpCookieManager {} #[doc = "*Required features: `\"Web_Http\"`*"] @@ -1942,7 +1942,7 @@ impl HttpFormUrlEncodedContent { } #[doc(hidden)] pub fn IHttpFormUrlEncodedContentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1958,7 +1958,7 @@ impl ::core::fmt::Debug for HttpFormUrlEncodedContent { } } impl ::windows::core::RuntimeType for HttpFormUrlEncodedContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpFormUrlEncodedContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpFormUrlEncodedContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } impl ::core::clone::Clone for HttpFormUrlEncodedContent { fn clone(&self) -> Self { @@ -1974,7 +1974,7 @@ unsafe impl ::windows::core::Interface for HttpFormUrlEncodedContent { impl ::windows::core::RuntimeName for HttpFormUrlEncodedContent { const NAME: &'static str = "Windows.Web.Http.HttpFormUrlEncodedContent"; } -::windows::core::interface_hierarchy!(HttpFormUrlEncodedContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpFormUrlEncodedContent, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2109,7 +2109,7 @@ impl ::core::fmt::Debug for HttpGetBufferResult { } } impl ::windows::core::RuntimeType for HttpGetBufferResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetBufferResult;{53d08e7c-e209-404e-9a49-742d8236fd3a})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetBufferResult;{53d08e7c-e209-404e-9a49-742d8236fd3a})"); } impl ::core::clone::Clone for HttpGetBufferResult { fn clone(&self) -> Self { @@ -2125,7 +2125,7 @@ unsafe impl ::windows::core::Interface for HttpGetBufferResult { impl ::windows::core::RuntimeName for HttpGetBufferResult { const NAME: &'static str = "Windows.Web.Http.HttpGetBufferResult"; } -::windows::core::interface_hierarchy!(HttpGetBufferResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpGetBufferResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2241,7 +2241,7 @@ impl ::core::fmt::Debug for HttpGetInputStreamResult { } } impl ::windows::core::RuntimeType for HttpGetInputStreamResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetInputStreamResult;{d5d63463-13aa-4ee0-be95-a0c39fe91203})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetInputStreamResult;{d5d63463-13aa-4ee0-be95-a0c39fe91203})"); } impl ::core::clone::Clone for HttpGetInputStreamResult { fn clone(&self) -> Self { @@ -2257,7 +2257,7 @@ unsafe impl ::windows::core::Interface for HttpGetInputStreamResult { impl ::windows::core::RuntimeName for HttpGetInputStreamResult { const NAME: &'static str = "Windows.Web.Http.HttpGetInputStreamResult"; } -::windows::core::interface_hierarchy!(HttpGetInputStreamResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpGetInputStreamResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2371,7 +2371,7 @@ impl ::core::fmt::Debug for HttpGetStringResult { } } impl ::windows::core::RuntimeType for HttpGetStringResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetStringResult;{9bac466d-8509-4775-b16d-8953f47a7f5f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetStringResult;{9bac466d-8509-4775-b16d-8953f47a7f5f})"); } impl ::core::clone::Clone for HttpGetStringResult { fn clone(&self) -> Self { @@ -2387,7 +2387,7 @@ unsafe impl ::windows::core::Interface for HttpGetStringResult { impl ::windows::core::RuntimeName for HttpGetStringResult { const NAME: &'static str = "Windows.Web.Http.HttpGetStringResult"; } -::windows::core::interface_hierarchy!(HttpGetStringResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpGetStringResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2504,12 +2504,12 @@ impl HttpMethod { } #[doc(hidden)] pub fn IHttpMethodFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc(hidden)] pub fn IHttpMethodStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2525,7 +2525,7 @@ impl ::core::fmt::Debug for HttpMethod { } } impl ::windows::core::RuntimeType for HttpMethod { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMethod;{728d4022-700d-4fe0-afa5-40299c58dbfd})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMethod;{728d4022-700d-4fe0-afa5-40299c58dbfd})"); } impl ::core::clone::Clone for HttpMethod { fn clone(&self) -> Self { @@ -2541,7 +2541,7 @@ unsafe impl ::windows::core::Interface for HttpMethod { impl ::windows::core::RuntimeName for HttpMethod { const NAME: &'static str = "Windows.Web.Http.HttpMethod"; } -::windows::core::interface_hierarchy!(HttpMethod, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpMethod, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -2573,8 +2573,8 @@ impl HttpMultipartContent { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2688,7 +2688,7 @@ impl HttpMultipartContent { } #[doc(hidden)] pub fn IHttpMultipartContentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2704,7 +2704,7 @@ impl ::core::fmt::Debug for HttpMultipartContent { } } impl ::windows::core::RuntimeType for HttpMultipartContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMultipartContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMultipartContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } impl ::core::clone::Clone for HttpMultipartContent { fn clone(&self) -> Self { @@ -2736,7 +2736,7 @@ impl ::core::iter::IntoIterator for &HttpMultipartContent { self.First().unwrap() } } -::windows::core::interface_hierarchy!(HttpMultipartContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpMultipartContent, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -2831,8 +2831,8 @@ impl HttpMultipartFormDataContent { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -2956,7 +2956,7 @@ impl HttpMultipartFormDataContent { } #[doc(hidden)] pub fn IHttpMultipartFormDataContentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2972,7 +2972,7 @@ impl ::core::fmt::Debug for HttpMultipartFormDataContent { } } impl ::windows::core::RuntimeType for HttpMultipartFormDataContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMultipartFormDataContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMultipartFormDataContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } impl ::core::clone::Clone for HttpMultipartFormDataContent { fn clone(&self) -> Self { @@ -3004,7 +3004,7 @@ impl ::core::iter::IntoIterator for &HttpMultipartFormDataContent { self.First().unwrap() } } -::windows::core::interface_hierarchy!(HttpMultipartFormDataContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpMultipartFormDataContent, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3099,8 +3099,8 @@ impl HttpRequestMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -3205,7 +3205,7 @@ impl HttpRequestMessage { } #[doc(hidden)] pub fn IHttpRequestMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3221,7 +3221,7 @@ impl ::core::fmt::Debug for HttpRequestMessage { } } impl ::windows::core::RuntimeType for HttpRequestMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpRequestMessage;{f5762b3c-74d4-4811-b5dc-9f8b4e2f9abf})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpRequestMessage;{f5762b3c-74d4-4811-b5dc-9f8b4e2f9abf})"); } impl ::core::clone::Clone for HttpRequestMessage { fn clone(&self) -> Self { @@ -3237,7 +3237,7 @@ unsafe impl ::windows::core::Interface for HttpRequestMessage { impl ::windows::core::RuntimeName for HttpRequestMessage { const NAME: &'static str = "Windows.Web.Http.HttpRequestMessage"; } -::windows::core::interface_hierarchy!(HttpRequestMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpRequestMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3344,7 +3344,7 @@ impl ::core::fmt::Debug for HttpRequestResult { } } impl ::windows::core::RuntimeType for HttpRequestResult { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpRequestResult;{6acf4da8-b5eb-4a35-a902-4217fbe820c5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpRequestResult;{6acf4da8-b5eb-4a35-a902-4217fbe820c5})"); } impl ::core::clone::Clone for HttpRequestResult { fn clone(&self) -> Self { @@ -3360,7 +3360,7 @@ unsafe impl ::windows::core::Interface for HttpRequestResult { impl ::windows::core::RuntimeName for HttpRequestResult { const NAME: &'static str = "Windows.Web.Http.HttpRequestResult"; } -::windows::core::interface_hierarchy!(HttpRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpRequestResult, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3414,8 +3414,8 @@ impl HttpResponseMessage { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -3534,7 +3534,7 @@ impl HttpResponseMessage { } #[doc(hidden)] pub fn IHttpResponseMessageFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3550,7 +3550,7 @@ impl ::core::fmt::Debug for HttpResponseMessage { } } impl ::windows::core::RuntimeType for HttpResponseMessage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpResponseMessage;{fee200fb-8664-44e0-95d9-42696199bffc})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpResponseMessage;{fee200fb-8664-44e0-95d9-42696199bffc})"); } impl ::core::clone::Clone for HttpResponseMessage { fn clone(&self) -> Self { @@ -3566,7 +3566,7 @@ unsafe impl ::windows::core::Interface for HttpResponseMessage { impl ::windows::core::RuntimeName for HttpResponseMessage { const NAME: &'static str = "Windows.Web.Http.HttpResponseMessage"; } -::windows::core::interface_hierarchy!(HttpResponseMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpResponseMessage, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3711,7 +3711,7 @@ impl HttpStreamContent { } #[doc(hidden)] pub fn IHttpStreamContentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3727,7 +3727,7 @@ impl ::core::fmt::Debug for HttpStreamContent { } } impl ::windows::core::RuntimeType for HttpStreamContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpStreamContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpStreamContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } impl ::core::clone::Clone for HttpStreamContent { fn clone(&self) -> Self { @@ -3743,7 +3743,7 @@ unsafe impl ::windows::core::Interface for HttpStreamContent { impl ::windows::core::RuntimeName for HttpStreamContent { const NAME: &'static str = "Windows.Web.Http.HttpStreamContent"; } -::windows::core::interface_hierarchy!(HttpStreamContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpStreamContent, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -3917,7 +3917,7 @@ impl HttpStringContent { } #[doc(hidden)] pub fn IHttpStringContentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3933,7 +3933,7 @@ impl ::core::fmt::Debug for HttpStringContent { } } impl ::windows::core::RuntimeType for HttpStringContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpStringContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpStringContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } impl ::core::clone::Clone for HttpStringContent { fn clone(&self) -> Self { @@ -3949,7 +3949,7 @@ unsafe impl ::windows::core::Interface for HttpStringContent { impl ::windows::core::RuntimeName for HttpStringContent { const NAME: &'static str = "Windows.Web.Http.HttpStringContent"; } -::windows::core::interface_hierarchy!(HttpStringContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpStringContent, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IClosable { type Error = ::windows::core::Error; @@ -4077,7 +4077,7 @@ impl ::core::fmt::Debug for HttpTransportInformation { } } impl ::windows::core::RuntimeType for HttpTransportInformation { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpTransportInformation;{70127198-c6a7-4ed0-833a-83fd8b8f178d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpTransportInformation;{70127198-c6a7-4ed0-833a-83fd8b8f178d})"); } impl ::core::clone::Clone for HttpTransportInformation { fn clone(&self) -> Self { @@ -4093,7 +4093,7 @@ unsafe impl ::windows::core::Interface for HttpTransportInformation { impl ::windows::core::RuntimeName for HttpTransportInformation { const NAME: &'static str = "Windows.Web.Http.HttpTransportInformation"; } -::windows::core::interface_hierarchy!(HttpTransportInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(HttpTransportInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); #[cfg(feature = "Foundation")] impl ::core::convert::TryFrom for super::super::Foundation::IStringable { type Error = ::windows::core::Error; @@ -4146,7 +4146,7 @@ impl ::core::fmt::Debug for HttpCompletionOption { } } impl ::windows::core::RuntimeType for HttpCompletionOption { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpCompletionOption;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpCompletionOption;i4)"); } #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] @@ -4184,7 +4184,7 @@ impl ::core::fmt::Debug for HttpProgressStage { } } impl ::windows::core::RuntimeType for HttpProgressStage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpProgressStage;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpProgressStage;i4)"); } #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] @@ -4215,7 +4215,7 @@ impl ::core::fmt::Debug for HttpResponseMessageSource { } } impl ::windows::core::RuntimeType for HttpResponseMessageSource { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpResponseMessageSource;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpResponseMessageSource;i4)"); } #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] @@ -4301,7 +4301,7 @@ impl ::core::fmt::Debug for HttpStatusCode { } } impl ::windows::core::RuntimeType for HttpStatusCode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpStatusCode;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpStatusCode;i4)"); } #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] @@ -4333,7 +4333,7 @@ impl ::core::fmt::Debug for HttpVersion { } } impl ::windows::core::RuntimeType for HttpVersion { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpVersion;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Http.HttpVersion;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Web_Http\"`, `\"Foundation\"`*"] @@ -4371,7 +4371,7 @@ impl ::windows::core::TypeKind for HttpProgress { } #[cfg(feature = "Foundation")] impl ::windows::core::RuntimeType for HttpProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Web.Http.HttpProgress;enum(Windows.Web.Http.HttpProgressStage;i4);u8;pinterface({61c17706-2d65-11e0-9ae8-d48564015472};u8);u8;pinterface({61c17706-2d65-11e0-9ae8-d48564015472};u8);u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Web.Http.HttpProgress;enum(Windows.Web.Http.HttpProgressStage;i4);u8;pinterface({61c17706-2d65-11e0-9ae8-d48564015472};u8);u8;pinterface({61c17706-2d65-11e0-9ae8-d48564015472};u8);u4)"); } #[cfg(feature = "Foundation")] impl ::core::cmp::PartialEq for HttpProgress { diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index 453ed7edcb..29b1593cd6 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -170,7 +170,7 @@ impl ISyndicationClient { } } } -::windows::core::interface_hierarchy!(ISyndicationClient, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISyndicationClient, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISyndicationClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -183,7 +183,7 @@ impl ::core::fmt::Debug for ISyndicationClient { } } impl ::windows::core::RuntimeType for ISyndicationClient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{9e18a9b7-7249-4b45-b229-7df895a5a1f5}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{9e18a9b7-7249-4b45-b229-7df895a5a1f5}"); } unsafe impl ::windows::core::Vtable for ISyndicationClient { type Vtable = ISyndicationClient_Vtbl; @@ -758,7 +758,7 @@ impl ISyndicationNode { } } } -::windows::core::interface_hierarchy!(ISyndicationNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISyndicationNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISyndicationNode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -771,7 +771,7 @@ impl ::core::fmt::Debug for ISyndicationNode { } } impl ::windows::core::RuntimeType for ISyndicationNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{753cef78-51f8-45c0-a9f5-f1719dec3fb2}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{753cef78-51f8-45c0-a9f5-f1719dec3fb2}"); } unsafe impl ::windows::core::Vtable for ISyndicationNode { type Vtable = ISyndicationNode_Vtbl; @@ -1020,7 +1020,7 @@ impl ISyndicationText { } } } -::windows::core::interface_hierarchy!(ISyndicationText, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISyndicationText, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: ISyndicationText) -> ::windows::core::Result { @@ -1052,7 +1052,7 @@ impl ::core::fmt::Debug for ISyndicationText { } } impl ::windows::core::RuntimeType for ISyndicationText { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b9cc5e80-313a-4091-a2a6-243e0ee923f9}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b9cc5e80-313a-4091-a2a6-243e0ee923f9}"); } unsafe impl ::windows::core::Vtable for ISyndicationText { type Vtable = ISyndicationText_Vtbl; @@ -1110,8 +1110,8 @@ impl SyndicationAttribute { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Name(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1155,7 +1155,7 @@ impl SyndicationAttribute { } #[doc(hidden)] pub fn ISyndicationAttributeFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1171,7 +1171,7 @@ impl ::core::fmt::Debug for SyndicationAttribute { } } impl ::windows::core::RuntimeType for SyndicationAttribute { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationAttribute;{71e8f969-526e-4001-9a91-e84f83161ab1})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationAttribute;{71e8f969-526e-4001-9a91-e84f83161ab1})"); } impl ::core::clone::Clone for SyndicationAttribute { fn clone(&self) -> Self { @@ -1187,7 +1187,7 @@ unsafe impl ::windows::core::Interface for SyndicationAttribute { impl ::windows::core::RuntimeName for SyndicationAttribute { const NAME: &'static str = "Windows.Web.Syndication.SyndicationAttribute"; } -::windows::core::interface_hierarchy!(SyndicationAttribute, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationAttribute, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for SyndicationAttribute {} unsafe impl ::core::marker::Sync for SyndicationAttribute {} #[doc = "*Required features: `\"Web_Syndication\"`*"] @@ -1197,8 +1197,8 @@ impl SyndicationCategory { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Label(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -1334,7 +1334,7 @@ impl SyndicationCategory { } #[doc(hidden)] pub fn ISyndicationCategoryFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1350,7 +1350,7 @@ impl ::core::fmt::Debug for SyndicationCategory { } } impl ::windows::core::RuntimeType for SyndicationCategory { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationCategory;{8715626f-0cba-4a7f-89ff-ecb5281423b6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationCategory;{8715626f-0cba-4a7f-89ff-ecb5281423b6})"); } impl ::core::clone::Clone for SyndicationCategory { fn clone(&self) -> Self { @@ -1366,7 +1366,7 @@ unsafe impl ::windows::core::Interface for SyndicationCategory { impl ::windows::core::RuntimeName for SyndicationCategory { const NAME: &'static str = "Windows.Web.Syndication.SyndicationCategory"; } -::windows::core::interface_hierarchy!(SyndicationCategory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationCategory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationCategory) -> ::windows::core::Result { @@ -1395,8 +1395,8 @@ impl SyndicationClient { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -1485,7 +1485,7 @@ impl SyndicationClient { } #[doc(hidden)] pub fn ISyndicationClientFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1501,7 +1501,7 @@ impl ::core::fmt::Debug for SyndicationClient { } } impl ::windows::core::RuntimeType for SyndicationClient { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationClient;{9e18a9b7-7249-4b45-b229-7df895a5a1f5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationClient;{9e18a9b7-7249-4b45-b229-7df895a5a1f5})"); } impl ::core::clone::Clone for SyndicationClient { fn clone(&self) -> Self { @@ -1517,7 +1517,7 @@ unsafe impl ::windows::core::Interface for SyndicationClient { impl ::windows::core::RuntimeName for SyndicationClient { const NAME: &'static str = "Windows.Web.Syndication.SyndicationClient"; } -::windows::core::interface_hierarchy!(SyndicationClient, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationClient, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationClient { type Error = ::windows::core::Error; fn try_from(value: SyndicationClient) -> ::windows::core::Result { @@ -1546,8 +1546,8 @@ impl SyndicationContent { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation\"`*"] @@ -1704,7 +1704,7 @@ impl SyndicationContent { } #[doc(hidden)] pub fn ISyndicationContentFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1720,7 +1720,7 @@ impl ::core::fmt::Debug for SyndicationContent { } } impl ::windows::core::RuntimeType for SyndicationContent { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationContent;{4641fefe-0e55-40d0-b8d0-6a2ccba9fc7c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationContent;{4641fefe-0e55-40d0-b8d0-6a2ccba9fc7c})"); } impl ::core::clone::Clone for SyndicationContent { fn clone(&self) -> Self { @@ -1736,7 +1736,7 @@ unsafe impl ::windows::core::Interface for SyndicationContent { impl ::windows::core::RuntimeName for SyndicationContent { const NAME: &'static str = "Windows.Web.Syndication.SyndicationContent"; } -::windows::core::interface_hierarchy!(SyndicationContent, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationContent, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationContent) -> ::windows::core::Result { @@ -1788,7 +1788,7 @@ impl SyndicationError { } #[doc(hidden)] pub fn ISyndicationErrorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1802,8 +1802,8 @@ impl SyndicationFeed { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2112,7 +2112,7 @@ impl SyndicationFeed { } #[doc(hidden)] pub fn ISyndicationFeedFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2128,7 +2128,7 @@ impl ::core::fmt::Debug for SyndicationFeed { } } impl ::windows::core::RuntimeType for SyndicationFeed { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationFeed;{7ffe3cd2-5b66-4d62-8403-1bc10d910d6b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationFeed;{7ffe3cd2-5b66-4d62-8403-1bc10d910d6b})"); } impl ::core::clone::Clone for SyndicationFeed { fn clone(&self) -> Self { @@ -2144,7 +2144,7 @@ unsafe impl ::windows::core::Interface for SyndicationFeed { impl ::windows::core::RuntimeName for SyndicationFeed { const NAME: &'static str = "Windows.Web.Syndication.SyndicationFeed"; } -::windows::core::interface_hierarchy!(SyndicationFeed, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationFeed, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationFeed) -> ::windows::core::Result { @@ -2173,8 +2173,8 @@ impl SyndicationGenerator { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Text(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -2308,7 +2308,7 @@ impl SyndicationGenerator { } #[doc(hidden)] pub fn ISyndicationGeneratorFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2324,7 +2324,7 @@ impl ::core::fmt::Debug for SyndicationGenerator { } } impl ::windows::core::RuntimeType for SyndicationGenerator { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationGenerator;{9768b379-fb2b-4f6d-b41c-088a5868825c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationGenerator;{9768b379-fb2b-4f6d-b41c-088a5868825c})"); } impl ::core::clone::Clone for SyndicationGenerator { fn clone(&self) -> Self { @@ -2340,7 +2340,7 @@ unsafe impl ::windows::core::Interface for SyndicationGenerator { impl ::windows::core::RuntimeName for SyndicationGenerator { const NAME: &'static str = "Windows.Web.Syndication.SyndicationGenerator"; } -::windows::core::interface_hierarchy!(SyndicationGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationGenerator, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationGenerator) -> ::windows::core::Result { @@ -2369,8 +2369,8 @@ impl SyndicationItem { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2672,7 +2672,7 @@ impl SyndicationItem { } #[doc(hidden)] pub fn ISyndicationItemFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2688,7 +2688,7 @@ impl ::core::fmt::Debug for SyndicationItem { } } impl ::windows::core::RuntimeType for SyndicationItem { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationItem;{548db883-c384-45c1-8ae8-a378c4ec486c})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationItem;{548db883-c384-45c1-8ae8-a378c4ec486c})"); } impl ::core::clone::Clone for SyndicationItem { fn clone(&self) -> Self { @@ -2704,7 +2704,7 @@ unsafe impl ::windows::core::Interface for SyndicationItem { impl ::windows::core::RuntimeName for SyndicationItem { const NAME: &'static str = "Windows.Web.Syndication.SyndicationItem"; } -::windows::core::interface_hierarchy!(SyndicationItem, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationItem, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationItem) -> ::windows::core::Result { @@ -2733,8 +2733,8 @@ impl SyndicationLink { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Length(&self) -> ::windows::core::Result { @@ -2911,7 +2911,7 @@ impl SyndicationLink { } #[doc(hidden)] pub fn ISyndicationLinkFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -2927,7 +2927,7 @@ impl ::core::fmt::Debug for SyndicationLink { } } impl ::windows::core::RuntimeType for SyndicationLink { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationLink;{27553abd-a10e-41b5-86bd-9759086eb0c5})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationLink;{27553abd-a10e-41b5-86bd-9759086eb0c5})"); } impl ::core::clone::Clone for SyndicationLink { fn clone(&self) -> Self { @@ -2943,7 +2943,7 @@ unsafe impl ::windows::core::Interface for SyndicationLink { impl ::windows::core::RuntimeName for SyndicationLink { const NAME: &'static str = "Windows.Web.Syndication.SyndicationLink"; } -::windows::core::interface_hierarchy!(SyndicationLink, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationLink, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationLink) -> ::windows::core::Result { @@ -2972,8 +2972,8 @@ impl SyndicationNode { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3070,7 +3070,7 @@ impl SyndicationNode { } #[doc(hidden)] pub fn ISyndicationNodeFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3086,7 +3086,7 @@ impl ::core::fmt::Debug for SyndicationNode { } } impl ::windows::core::RuntimeType for SyndicationNode { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationNode;{753cef78-51f8-45c0-a9f5-f1719dec3fb2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationNode;{753cef78-51f8-45c0-a9f5-f1719dec3fb2})"); } impl ::core::clone::Clone for SyndicationNode { fn clone(&self) -> Self { @@ -3102,7 +3102,7 @@ unsafe impl ::windows::core::Interface for SyndicationNode { impl ::windows::core::RuntimeName for SyndicationNode { const NAME: &'static str = "Windows.Web.Syndication.SyndicationNode"; } -::windows::core::interface_hierarchy!(SyndicationNode, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationNode, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationNode) -> ::windows::core::Result { @@ -3131,8 +3131,8 @@ impl SyndicationPerson { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3274,7 +3274,7 @@ impl SyndicationPerson { } #[doc(hidden)] pub fn ISyndicationPersonFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3290,7 +3290,7 @@ impl ::core::fmt::Debug for SyndicationPerson { } } impl ::windows::core::RuntimeType for SyndicationPerson { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationPerson;{fa1ee5da-a7c6-4517-a096-0143faf29327})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationPerson;{fa1ee5da-a7c6-4517-a096-0143faf29327})"); } impl ::core::clone::Clone for SyndicationPerson { fn clone(&self) -> Self { @@ -3306,7 +3306,7 @@ unsafe impl ::windows::core::Interface for SyndicationPerson { impl ::windows::core::RuntimeName for SyndicationPerson { const NAME: &'static str = "Windows.Web.Syndication.SyndicationPerson"; } -::windows::core::interface_hierarchy!(SyndicationPerson, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationPerson, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationPerson) -> ::windows::core::Result { @@ -3335,8 +3335,8 @@ impl SyndicationText { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn NodeName(&self) -> ::windows::core::Result<::windows::core::HSTRING> { @@ -3476,7 +3476,7 @@ impl SyndicationText { } #[doc(hidden)] pub fn ISyndicationTextFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -3492,7 +3492,7 @@ impl ::core::fmt::Debug for SyndicationText { } } impl ::windows::core::RuntimeType for SyndicationText { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationText;{b9cc5e80-313a-4091-a2a6-243e0ee923f9})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationText;{b9cc5e80-313a-4091-a2a6-243e0ee923f9})"); } impl ::core::clone::Clone for SyndicationText { fn clone(&self) -> Self { @@ -3508,7 +3508,7 @@ unsafe impl ::windows::core::Interface for SyndicationText { impl ::windows::core::RuntimeName for SyndicationText { const NAME: &'static str = "Windows.Web.Syndication.SyndicationText"; } -::windows::core::interface_hierarchy!(SyndicationText, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(SyndicationText, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for ISyndicationNode { type Error = ::windows::core::Error; fn try_from(value: SyndicationText) -> ::windows::core::Result { @@ -3581,7 +3581,7 @@ impl ::core::fmt::Debug for SyndicationErrorStatus { } } impl ::windows::core::RuntimeType for SyndicationErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Syndication.SyndicationErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Syndication.SyndicationErrorStatus;i4)"); } #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] @@ -3615,7 +3615,7 @@ impl ::core::fmt::Debug for SyndicationFormat { } } impl ::windows::core::RuntimeType for SyndicationFormat { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Syndication.SyndicationFormat;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Syndication.SyndicationFormat;i4)"); } #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] @@ -3646,7 +3646,7 @@ impl ::core::fmt::Debug for SyndicationTextType { } } impl ::windows::core::RuntimeType for SyndicationTextType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.Syndication.SyndicationTextType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.Syndication.SyndicationTextType;i4)"); } #[repr(C)] #[doc = "*Required features: `\"Web_Syndication\"`*"] @@ -3669,7 +3669,7 @@ impl ::windows::core::TypeKind for RetrievalProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for RetrievalProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Web.Syndication.RetrievalProgress;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Web.Syndication.RetrievalProgress;u4;u4)"); } impl ::core::cmp::PartialEq for RetrievalProgress { fn eq(&self, other: &Self) -> bool { @@ -3705,7 +3705,7 @@ impl ::windows::core::TypeKind for TransferProgress { type TypeKind = ::windows::core::CopyType; } impl ::windows::core::RuntimeType for TransferProgress { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"struct(Windows.Web.Syndication.TransferProgress;u4;u4;u4;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"struct(Windows.Web.Syndication.TransferProgress;u4;u4;u4;u4)"); } impl ::core::cmp::PartialEq for TransferProgress { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs index 7ebaab0ca7..562d1ef56a 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -771,7 +771,7 @@ impl ::core::fmt::Debug for WebViewControl { } } impl ::windows::core::RuntimeType for WebViewControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControl;{3f921316-bc70-4bda-9136-c94370899fab})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControl;{3f921316-bc70-4bda-9136-c94370899fab})"); } impl ::core::clone::Clone for WebViewControl { fn clone(&self) -> Self { @@ -787,7 +787,7 @@ unsafe impl ::windows::core::Interface for WebViewControl { impl ::windows::core::RuntimeName for WebViewControl { const NAME: &'static str = "Windows.Web.UI.Interop.WebViewControl"; } -::windows::core::interface_hierarchy!(WebViewControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControl, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::convert::TryFrom for super::IWebViewControl { type Error = ::windows::core::Error; fn try_from(value: WebViewControl) -> ::windows::core::Result { @@ -888,7 +888,7 @@ impl ::core::fmt::Debug for WebViewControlAcceleratorKeyPressedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlAcceleratorKeyPressedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlAcceleratorKeyPressedEventArgs;{77a2a53e-7c74-437d-a290-3ac0d8cd5655})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlAcceleratorKeyPressedEventArgs;{77a2a53e-7c74-437d-a290-3ac0d8cd5655})"); } impl ::core::clone::Clone for WebViewControlAcceleratorKeyPressedEventArgs { fn clone(&self) -> Self { @@ -904,7 +904,7 @@ unsafe impl ::windows::core::Interface for WebViewControlAcceleratorKeyPressedEv impl ::windows::core::RuntimeName for WebViewControlAcceleratorKeyPressedEventArgs { const NAME: &'static str = "Windows.Web.UI.Interop.WebViewControlAcceleratorKeyPressedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlAcceleratorKeyPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlAcceleratorKeyPressedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] pub struct WebViewControlMoveFocusRequestedEventArgs(::windows::core::IUnknown); @@ -929,7 +929,7 @@ impl ::core::fmt::Debug for WebViewControlMoveFocusRequestedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlMoveFocusRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlMoveFocusRequestedEventArgs;{6b2a340d-4bd0-405e-b7c1-1e72a492f446})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlMoveFocusRequestedEventArgs;{6b2a340d-4bd0-405e-b7c1-1e72a492f446})"); } impl ::core::clone::Clone for WebViewControlMoveFocusRequestedEventArgs { fn clone(&self) -> Self { @@ -945,7 +945,7 @@ unsafe impl ::windows::core::Interface for WebViewControlMoveFocusRequestedEvent impl ::windows::core::RuntimeName for WebViewControlMoveFocusRequestedEventArgs { const NAME: &'static str = "Windows.Web.UI.Interop.WebViewControlMoveFocusRequestedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlMoveFocusRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlMoveFocusRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] pub struct WebViewControlProcess(::windows::core::IUnknown); @@ -953,8 +953,8 @@ impl WebViewControlProcess { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn ProcessId(&self) -> ::windows::core::Result { @@ -1023,7 +1023,7 @@ impl WebViewControlProcess { } #[doc(hidden)] pub fn IWebViewControlProcessFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -1039,7 +1039,7 @@ impl ::core::fmt::Debug for WebViewControlProcess { } } impl ::windows::core::RuntimeType for WebViewControlProcess { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlProcess;{02c723ec-98d6-424a-b63e-c6136c36a0f2})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlProcess;{02c723ec-98d6-424a-b63e-c6136c36a0f2})"); } impl ::core::clone::Clone for WebViewControlProcess { fn clone(&self) -> Self { @@ -1055,7 +1055,7 @@ unsafe impl ::windows::core::Interface for WebViewControlProcess { impl ::windows::core::RuntimeName for WebViewControlProcess { const NAME: &'static str = "Windows.Web.UI.Interop.WebViewControlProcess"; } -::windows::core::interface_hierarchy!(WebViewControlProcess, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlProcess, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] pub struct WebViewControlProcessOptions(::windows::core::IUnknown); @@ -1063,8 +1063,8 @@ impl WebViewControlProcessOptions { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn SetEnterpriseId(&self, value: &::windows::core::HSTRING) -> ::windows::core::Result<()> { @@ -1102,7 +1102,7 @@ impl ::core::fmt::Debug for WebViewControlProcessOptions { } } impl ::windows::core::RuntimeType for WebViewControlProcessOptions { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlProcessOptions;{1cca72a7-3bd6-4826-8261-6c8189505d89})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlProcessOptions;{1cca72a7-3bd6-4826-8261-6c8189505d89})"); } impl ::core::clone::Clone for WebViewControlProcessOptions { fn clone(&self) -> Self { @@ -1118,7 +1118,7 @@ unsafe impl ::windows::core::Interface for WebViewControlProcessOptions { impl ::windows::core::RuntimeName for WebViewControlProcessOptions { const NAME: &'static str = "Windows.Web.UI.Interop.WebViewControlProcessOptions"; } -::windows::core::interface_hierarchy!(WebViewControlProcessOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlProcessOptions, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -1147,7 +1147,7 @@ impl ::core::fmt::Debug for WebViewControlAcceleratorKeyRoutingStage { } } impl ::windows::core::RuntimeType for WebViewControlAcceleratorKeyRoutingStage { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.UI.Interop.WebViewControlAcceleratorKeyRoutingStage;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.UI.Interop.WebViewControlAcceleratorKeyRoutingStage;i4)"); } #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] @@ -1178,7 +1178,7 @@ impl ::core::fmt::Debug for WebViewControlMoveFocusReason { } } impl ::windows::core::RuntimeType for WebViewControlMoveFocusReason { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.UI.Interop.WebViewControlMoveFocusReason;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.UI.Interop.WebViewControlMoveFocusReason;i4)"); } #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] @@ -1209,7 +1209,7 @@ impl ::core::fmt::Debug for WebViewControlProcessCapabilityState { } } impl ::windows::core::RuntimeType for WebViewControlProcessCapabilityState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.UI.Interop.WebViewControlProcessCapabilityState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.UI.Interop.WebViewControlProcessCapabilityState;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Web/UI/mod.rs b/crates/libs/windows/src/Windows/Web/UI/mod.rs index c742e1755b..1e020f78f1 100644 --- a/crates/libs/windows/src/Windows/Web/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/mod.rs @@ -424,7 +424,7 @@ impl IWebViewControl { unsafe { (::windows::core::Vtable::vtable(this).RemoveWebResourceRequested)(::windows::core::Vtable::as_raw(this), token).ok() } } } -::windows::core::interface_hierarchy!(IWebViewControl, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebViewControl, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebViewControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -437,7 +437,7 @@ impl ::core::fmt::Debug for IWebViewControl { } } impl ::windows::core::RuntimeType for IWebViewControl { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{3f921316-bc70-4bda-9136-c94370899fab}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{3f921316-bc70-4bda-9136-c94370899fab}"); } unsafe impl ::windows::core::Vtable for IWebViewControl { type Vtable = IWebViewControl_Vtbl; @@ -659,7 +659,7 @@ impl IWebViewControl2 { unsafe { (::windows::core::Vtable::vtable(this).AddInitializeScript)(::windows::core::Vtable::as_raw(this), ::core::mem::transmute_copy(script)).ok() } } } -::windows::core::interface_hierarchy!(IWebViewControl2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebViewControl2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebViewControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -672,7 +672,7 @@ impl ::core::fmt::Debug for IWebViewControl2 { } } impl ::windows::core::RuntimeType for IWebViewControl2 { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{4d3c06f9-c8df-41cc-8bd5-2a947b204503}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{4d3c06f9-c8df-41cc-8bd5-2a947b204503}"); } unsafe impl ::windows::core::Vtable for IWebViewControl2 { type Vtable = IWebViewControl2_Vtbl; @@ -1105,7 +1105,7 @@ impl ::core::fmt::Debug for WebViewControlContentLoadingEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlContentLoadingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlContentLoadingEventArgs;{9a3fccb2-b9bb-404b-a22b-66dccd1250c6})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlContentLoadingEventArgs;{9a3fccb2-b9bb-404b-a22b-66dccd1250c6})"); } impl ::core::clone::Clone for WebViewControlContentLoadingEventArgs { fn clone(&self) -> Self { @@ -1121,7 +1121,7 @@ unsafe impl ::windows::core::Interface for WebViewControlContentLoadingEventArgs impl ::windows::core::RuntimeName for WebViewControlContentLoadingEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlContentLoadingEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlContentLoadingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlContentLoadingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlDOMContentLoadedEventArgs(::windows::core::IUnknown); @@ -1148,7 +1148,7 @@ impl ::core::fmt::Debug for WebViewControlDOMContentLoadedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlDOMContentLoadedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlDOMContentLoadedEventArgs;{be8bc008-9541-4545-9ff2-2df585b29f7d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlDOMContentLoadedEventArgs;{be8bc008-9541-4545-9ff2-2df585b29f7d})"); } impl ::core::clone::Clone for WebViewControlDOMContentLoadedEventArgs { fn clone(&self) -> Self { @@ -1164,7 +1164,7 @@ unsafe impl ::windows::core::Interface for WebViewControlDOMContentLoadedEventAr impl ::windows::core::RuntimeName for WebViewControlDOMContentLoadedEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlDOMContentLoadedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlDOMContentLoadedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlDOMContentLoadedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlDeferredPermissionRequest(::windows::core::IUnknown); @@ -1213,7 +1213,7 @@ impl ::core::fmt::Debug for WebViewControlDeferredPermissionRequest { } } impl ::windows::core::RuntimeType for WebViewControlDeferredPermissionRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlDeferredPermissionRequest;{2ce349e0-d759-445c-9926-8995298f152b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlDeferredPermissionRequest;{2ce349e0-d759-445c-9926-8995298f152b})"); } impl ::core::clone::Clone for WebViewControlDeferredPermissionRequest { fn clone(&self) -> Self { @@ -1229,7 +1229,7 @@ unsafe impl ::windows::core::Interface for WebViewControlDeferredPermissionReque impl ::windows::core::RuntimeName for WebViewControlDeferredPermissionRequest { const NAME: &'static str = "Windows.Web.UI.WebViewControlDeferredPermissionRequest"; } -::windows::core::interface_hierarchy!(WebViewControlDeferredPermissionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlDeferredPermissionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlLongRunningScriptDetectedEventArgs(::windows::core::IUnknown); @@ -1267,7 +1267,7 @@ impl ::core::fmt::Debug for WebViewControlLongRunningScriptDetectedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlLongRunningScriptDetectedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs;{2a6e5bba-98b4-45bc-bbeb-0f69ce49c599})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs;{2a6e5bba-98b4-45bc-bbeb-0f69ce49c599})"); } impl ::core::clone::Clone for WebViewControlLongRunningScriptDetectedEventArgs { fn clone(&self) -> Self { @@ -1283,7 +1283,7 @@ unsafe impl ::windows::core::Interface for WebViewControlLongRunningScriptDetect impl ::windows::core::RuntimeName for WebViewControlLongRunningScriptDetectedEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlLongRunningScriptDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlLongRunningScriptDetectedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlNavigationCompletedEventArgs(::windows::core::IUnknown); @@ -1324,7 +1324,7 @@ impl ::core::fmt::Debug for WebViewControlNavigationCompletedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlNavigationCompletedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNavigationCompletedEventArgs;{20409918-4a15-4c46-a55d-f79edb0bde8b})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNavigationCompletedEventArgs;{20409918-4a15-4c46-a55d-f79edb0bde8b})"); } impl ::core::clone::Clone for WebViewControlNavigationCompletedEventArgs { fn clone(&self) -> Self { @@ -1340,7 +1340,7 @@ unsafe impl ::windows::core::Interface for WebViewControlNavigationCompletedEven impl ::windows::core::RuntimeName for WebViewControlNavigationCompletedEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlNavigationCompletedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlNavigationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlNavigationCompletedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlNavigationStartingEventArgs(::windows::core::IUnknown); @@ -1378,7 +1378,7 @@ impl ::core::fmt::Debug for WebViewControlNavigationStartingEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlNavigationStartingEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNavigationStartingEventArgs;{0c9057c5-0a08-41c7-863b-71e3a9549137})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNavigationStartingEventArgs;{0c9057c5-0a08-41c7-863b-71e3a9549137})"); } impl ::core::clone::Clone for WebViewControlNavigationStartingEventArgs { fn clone(&self) -> Self { @@ -1394,7 +1394,7 @@ unsafe impl ::windows::core::Interface for WebViewControlNavigationStartingEvent impl ::windows::core::RuntimeName for WebViewControlNavigationStartingEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlNavigationStartingEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlNavigationStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlNavigationStartingEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlNewWindowRequestedEventArgs(::windows::core::IUnknown); @@ -1465,7 +1465,7 @@ impl ::core::fmt::Debug for WebViewControlNewWindowRequestedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlNewWindowRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs;{3df44bbb-a124-46d5-a083-d02cacdff5ad})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs;{3df44bbb-a124-46d5-a083-d02cacdff5ad})"); } impl ::core::clone::Clone for WebViewControlNewWindowRequestedEventArgs { fn clone(&self) -> Self { @@ -1481,7 +1481,7 @@ unsafe impl ::windows::core::Interface for WebViewControlNewWindowRequestedEvent impl ::windows::core::RuntimeName for WebViewControlNewWindowRequestedEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlNewWindowRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlNewWindowRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlPermissionRequest(::windows::core::IUnknown); @@ -1541,7 +1541,7 @@ impl ::core::fmt::Debug for WebViewControlPermissionRequest { } } impl ::windows::core::RuntimeType for WebViewControlPermissionRequest { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlPermissionRequest;{e5bc836c-f22f-40e2-95b2-7729f840eb7f})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlPermissionRequest;{e5bc836c-f22f-40e2-95b2-7729f840eb7f})"); } impl ::core::clone::Clone for WebViewControlPermissionRequest { fn clone(&self) -> Self { @@ -1557,7 +1557,7 @@ unsafe impl ::windows::core::Interface for WebViewControlPermissionRequest { impl ::windows::core::RuntimeName for WebViewControlPermissionRequest { const NAME: &'static str = "Windows.Web.UI.WebViewControlPermissionRequest"; } -::windows::core::interface_hierarchy!(WebViewControlPermissionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlPermissionRequest, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlPermissionRequestedEventArgs(::windows::core::IUnknown); @@ -1582,7 +1582,7 @@ impl ::core::fmt::Debug for WebViewControlPermissionRequestedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlPermissionRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlPermissionRequestedEventArgs;{27204d51-2488-4cc5-968e-0a771e59c147})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlPermissionRequestedEventArgs;{27204d51-2488-4cc5-968e-0a771e59c147})"); } impl ::core::clone::Clone for WebViewControlPermissionRequestedEventArgs { fn clone(&self) -> Self { @@ -1598,7 +1598,7 @@ unsafe impl ::windows::core::Interface for WebViewControlPermissionRequestedEven impl ::windows::core::RuntimeName for WebViewControlPermissionRequestedEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlPermissionRequestedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlPermissionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlPermissionRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlScriptNotifyEventArgs(::windows::core::IUnknown); @@ -1632,7 +1632,7 @@ impl ::core::fmt::Debug for WebViewControlScriptNotifyEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlScriptNotifyEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlScriptNotifyEventArgs;{491de57b-6f49-41bb-b591-51b85b817037})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlScriptNotifyEventArgs;{491de57b-6f49-41bb-b591-51b85b817037})"); } impl ::core::clone::Clone for WebViewControlScriptNotifyEventArgs { fn clone(&self) -> Self { @@ -1648,7 +1648,7 @@ unsafe impl ::windows::core::Interface for WebViewControlScriptNotifyEventArgs { impl ::windows::core::RuntimeName for WebViewControlScriptNotifyEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlScriptNotifyEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlScriptNotifyEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlScriptNotifyEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlSettings(::windows::core::IUnknown); @@ -1699,7 +1699,7 @@ impl ::core::fmt::Debug for WebViewControlSettings { } } impl ::windows::core::RuntimeType for WebViewControlSettings { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlSettings;{c9967fbf-5e98-4cfd-8cce-27b0911e3de8})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlSettings;{c9967fbf-5e98-4cfd-8cce-27b0911e3de8})"); } impl ::core::clone::Clone for WebViewControlSettings { fn clone(&self) -> Self { @@ -1715,7 +1715,7 @@ unsafe impl ::windows::core::Interface for WebViewControlSettings { impl ::windows::core::RuntimeName for WebViewControlSettings { const NAME: &'static str = "Windows.Web.UI.WebViewControlSettings"; } -::windows::core::interface_hierarchy!(WebViewControlSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlSettings, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlUnsupportedUriSchemeIdentifiedEventArgs(::windows::core::IUnknown); @@ -1753,7 +1753,7 @@ impl ::core::fmt::Debug for WebViewControlUnsupportedUriSchemeIdentifiedEventArg } } impl ::windows::core::RuntimeType for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs;{e3b81944-e4fc-43dc-94ca-f980f30bc51d})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs;{e3b81944-e4fc-43dc-94ca-f980f30bc51d})"); } impl ::core::clone::Clone for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { fn clone(&self) -> Self { @@ -1769,7 +1769,7 @@ unsafe impl ::windows::core::Interface for WebViewControlUnsupportedUriSchemeIde impl ::windows::core::RuntimeName for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlUnsupportedUriSchemeIdentifiedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlUnsupportedUriSchemeIdentifiedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlUnviewableContentIdentifiedEventArgs(::windows::core::IUnknown); @@ -1812,7 +1812,7 @@ impl ::core::fmt::Debug for WebViewControlUnviewableContentIdentifiedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlUnviewableContentIdentifiedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs;{4a9680db-88f2-4e20-b693-b4e2df4aa581})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs;{4a9680db-88f2-4e20-b693-b4e2df4aa581})"); } impl ::core::clone::Clone for WebViewControlUnviewableContentIdentifiedEventArgs { fn clone(&self) -> Self { @@ -1828,7 +1828,7 @@ unsafe impl ::windows::core::Interface for WebViewControlUnviewableContentIdenti impl ::windows::core::RuntimeName for WebViewControlUnviewableContentIdentifiedEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlUnviewableContentIdentifiedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlUnviewableContentIdentifiedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] pub struct WebViewControlWebResourceRequestedEventArgs(::windows::core::IUnknown); @@ -1879,7 +1879,7 @@ impl ::core::fmt::Debug for WebViewControlWebResourceRequestedEventArgs { } } impl ::windows::core::RuntimeType for WebViewControlWebResourceRequestedEventArgs { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs;{44d6524d-55a4-4d8b-891c-931d8e25d42e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs;{44d6524d-55a4-4d8b-891c-931d8e25d42e})"); } impl ::core::clone::Clone for WebViewControlWebResourceRequestedEventArgs { fn clone(&self) -> Self { @@ -1895,7 +1895,7 @@ unsafe impl ::windows::core::Interface for WebViewControlWebResourceRequestedEve impl ::windows::core::RuntimeName for WebViewControlWebResourceRequestedEventArgs { const NAME: &'static str = "Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs"; } -::windows::core::interface_hierarchy!(WebViewControlWebResourceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(WebViewControlWebResourceRequestedEventArgs, ::windows::core::IUnknown, ::windows::core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -1926,7 +1926,7 @@ impl ::core::fmt::Debug for WebViewControlPermissionState { } } impl ::windows::core::RuntimeType for WebViewControlPermissionState { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.UI.WebViewControlPermissionState;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.UI.WebViewControlPermissionState;i4)"); } #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] @@ -1961,7 +1961,7 @@ impl ::core::fmt::Debug for WebViewControlPermissionType { } } impl ::windows::core::RuntimeType for WebViewControlPermissionType { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.UI.WebViewControlPermissionType;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.UI.WebViewControlPermissionType;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Web/mod.rs b/crates/libs/windows/src/Windows/Web/mod.rs index d811b99a0e..98e9177783 100644 --- a/crates/libs/windows/src/Windows/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Web/mod.rs @@ -20,7 +20,7 @@ impl IUriToStreamResolver { } } } -::windows::core::interface_hierarchy!(IUriToStreamResolver, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUriToStreamResolver, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUriToStreamResolver { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -33,7 +33,7 @@ impl ::core::fmt::Debug for IUriToStreamResolver { } } impl ::windows::core::RuntimeType for IUriToStreamResolver { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"{b0aba86a-9aeb-4d3a-9590-003e3ca7e290}"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"{b0aba86a-9aeb-4d3a-9590-003e3ca7e290}"); } unsafe impl ::windows::core::Vtable for IUriToStreamResolver { type Vtable = IUriToStreamResolver_Vtbl; @@ -86,7 +86,7 @@ impl WebError { } #[doc(hidden)] pub fn IWebErrorStatics ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } } @@ -174,7 +174,7 @@ impl ::core::fmt::Debug for WebErrorStatus { } } impl ::windows::core::RuntimeType for WebErrorStatus { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(Windows.Web.WebErrorStatus;i4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(Windows.Web.WebErrorStatus;i4)"); } #[cfg(feature = "implement")] ::core::include!("impl.rs"); 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 c4d46ceb03..afc3edcde4 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 @@ -6,7 +6,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), flags, &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), flags, minimumfeaturelevel, &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] @@ -67,7 +67,7 @@ impl IDMLBindingTable { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(desc.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IDMLBindingTable, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild); +::windows::imp::interface_hierarchy!(IDMLBindingTable, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild); impl ::core::cmp::PartialEq for IDMLBindingTable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -143,7 +143,7 @@ impl IDMLCommandRecorder { (::windows::core::Vtable::vtable(self).RecordDispatch)(::windows::core::Vtable::as_raw(self), commandlist.into().abi(), dispatchable.into().abi(), bindings.into().abi()) } } -::windows::core::interface_hierarchy!(IDMLCommandRecorder, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild); +::windows::imp::interface_hierarchy!(IDMLCommandRecorder, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild); impl ::core::cmp::PartialEq for IDMLCommandRecorder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -210,7 +210,7 @@ impl IDMLCompiledOperator { result__ } } -::windows::core::interface_hierarchy!(IDMLCompiledOperator, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); +::windows::imp::interface_hierarchy!(IDMLCompiledOperator, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); impl ::core::cmp::PartialEq for IDMLCompiledOperator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -251,7 +251,7 @@ impl IDMLDebugDevice { (::windows::core::Vtable::vtable(self).SetMuteDebugOutput)(::windows::core::Vtable::as_raw(self), mute.into()) } } -::windows::core::interface_hierarchy!(IDMLDebugDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDMLDebugDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDMLDebugDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -361,7 +361,7 @@ impl IDMLDevice { (::windows::core::Vtable::vtable(self).GetParentDevice)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDMLDevice, ::windows::core::IUnknown, IDMLObject); +::windows::imp::interface_hierarchy!(IDMLDevice, ::windows::core::IUnknown, IDMLObject); impl ::core::cmp::PartialEq for IDMLDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -486,7 +486,7 @@ impl IDMLDevice1 { (::windows::core::Vtable::vtable(self).CompileGraph)(::windows::core::Vtable::as_raw(self), desc, flags, &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(IDMLDevice1, ::windows::core::IUnknown, IDMLObject, IDMLDevice); +::windows::imp::interface_hierarchy!(IDMLDevice1, ::windows::core::IUnknown, IDMLObject, IDMLDevice); impl ::core::cmp::PartialEq for IDMLDevice1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -545,7 +545,7 @@ impl IDMLDeviceChild { (::windows::core::Vtable::vtable(self).GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDMLDeviceChild, ::windows::core::IUnknown, IDMLObject); +::windows::imp::interface_hierarchy!(IDMLDeviceChild, ::windows::core::IUnknown, IDMLObject); impl ::core::cmp::PartialEq for IDMLDeviceChild { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -609,7 +609,7 @@ impl IDMLDispatchable { result__ } } -::windows::core::interface_hierarchy!(IDMLDispatchable, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable); +::windows::imp::interface_hierarchy!(IDMLDispatchable, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable); impl ::core::cmp::PartialEq for IDMLDispatchable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -661,7 +661,7 @@ impl IDMLObject { (::windows::core::Vtable::vtable(self).SetName)(::windows::core::Vtable::as_raw(self), name.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDMLObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDMLObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDMLObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -723,7 +723,7 @@ impl IDMLOperator { (::windows::core::Vtable::vtable(self).base__.GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDMLOperator, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild); +::windows::imp::interface_hierarchy!(IDMLOperator, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild); impl ::core::cmp::PartialEq for IDMLOperator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -789,7 +789,7 @@ impl IDMLOperatorInitializer { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self), operators.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(operators.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } } -::windows::core::interface_hierarchy!(IDMLOperatorInitializer, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); +::windows::imp::interface_hierarchy!(IDMLOperatorInitializer, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); impl ::core::cmp::PartialEq for IDMLOperatorInitializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -848,7 +848,7 @@ impl IDMLPageable { (::windows::core::Vtable::vtable(self).base__.GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDMLPageable, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild); +::windows::imp::interface_hierarchy!(IDMLPageable, ::windows::core::IUnknown, IDMLObject, IDMLDeviceChild); impl ::core::cmp::PartialEq for IDMLPageable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs index cf518b3522..a6e397b853 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs @@ -1,14 +1,14 @@ #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[inline] pub unsafe fn MLCreateOperatorRegistry() -> ::windows::core::Result { - ::windows::core::link ! ( "windows.ai.machinelearning.dll""system" fn MLCreateOperatorRegistry ( registry : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.ai.machinelearning.dll""system" fn MLCreateOperatorRegistry ( registry : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MLCreateOperatorRegistry(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[inline] pub unsafe fn WinMLCreateRuntime() -> ::windows::core::Result { - ::windows::core::link ! ( "winml.dll""system" fn WinMLCreateRuntime ( runtime : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winml.dll""system" fn WinMLCreateRuntime ( runtime : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WinMLCreateRuntime(&mut result__).from_abi(result__) } @@ -43,7 +43,7 @@ impl IMLOperatorAttributes { (::windows::core::Vtable::vtable(self).GetStringAttributeElement)(::windows::core::Vtable::as_raw(self), name.into().abi(), elementindex, attributeelement.len() as _, ::core::mem::transmute(attributeelement.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IMLOperatorAttributes, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorAttributes, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorAttributes { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -86,7 +86,7 @@ impl IMLOperatorKernel { (::windows::core::Vtable::vtable(self).Compute)(::windows::core::Vtable::as_raw(self), context.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMLOperatorKernel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorKernel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorKernel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -141,7 +141,7 @@ impl IMLOperatorKernelContext { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(IMLOperatorKernelContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorKernelContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorKernelContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -237,7 +237,7 @@ impl IMLOperatorKernelCreationContext { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(IMLOperatorKernelCreationContext, ::windows::core::IUnknown, IMLOperatorAttributes); +::windows::imp::interface_hierarchy!(IMLOperatorKernelCreationContext, ::windows::core::IUnknown, IMLOperatorAttributes); impl ::core::cmp::PartialEq for IMLOperatorKernelCreationContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -286,7 +286,7 @@ impl IMLOperatorKernelFactory { (::windows::core::Vtable::vtable(self).CreateKernel)(::windows::core::Vtable::as_raw(self), context.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMLOperatorKernelFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorKernelFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorKernelFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -334,7 +334,7 @@ impl IMLOperatorRegistry { (::windows::core::Vtable::vtable(self).RegisterOperatorKernel)(::windows::core::Vtable::as_raw(self), operatorkernel, operatorkernelfactory.into().abi(), shapeinferrer.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMLOperatorRegistry, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorRegistry, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorRegistry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -421,7 +421,7 @@ impl IMLOperatorShapeInferenceContext { (::windows::core::Vtable::vtable(self).SetOutputTensorShape)(::windows::core::Vtable::as_raw(self), outputindex, dimensioncount, dimensions).ok() } } -::windows::core::interface_hierarchy!(IMLOperatorShapeInferenceContext, ::windows::core::IUnknown, IMLOperatorAttributes); +::windows::imp::interface_hierarchy!(IMLOperatorShapeInferenceContext, ::windows::core::IUnknown, IMLOperatorAttributes); impl ::core::cmp::PartialEq for IMLOperatorShapeInferenceContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -468,7 +468,7 @@ impl IMLOperatorShapeInferrer { (::windows::core::Vtable::vtable(self).InferOutputShapes)(::windows::core::Vtable::as_raw(self), context.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMLOperatorShapeInferrer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorShapeInferrer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorShapeInferrer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -525,7 +525,7 @@ impl IMLOperatorTensor { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(IMLOperatorTensor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorTensor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorTensor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -582,7 +582,7 @@ impl IMLOperatorTensorShapeDescription { (::windows::core::Vtable::vtable(self).GetOutputTensorShape)(::windows::core::Vtable::as_raw(self), outputindex, dimensions.len() as _, ::core::mem::transmute(dimensions.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IMLOperatorTensorShapeDescription, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorTensorShapeDescription, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorTensorShapeDescription { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -665,7 +665,7 @@ impl IMLOperatorTypeInferenceContext { (::windows::core::Vtable::vtable(self).SetOutputEdgeDescription)(::windows::core::Vtable::as_raw(self), outputindex, edgedescription).ok() } } -::windows::core::interface_hierarchy!(IMLOperatorTypeInferenceContext, ::windows::core::IUnknown, IMLOperatorAttributes); +::windows::imp::interface_hierarchy!(IMLOperatorTypeInferenceContext, ::windows::core::IUnknown, IMLOperatorAttributes); impl ::core::cmp::PartialEq for IMLOperatorTypeInferenceContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -710,7 +710,7 @@ impl IMLOperatorTypeInferrer { (::windows::core::Vtable::vtable(self).InferOutputTypes)(::windows::core::Vtable::as_raw(self), context.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMLOperatorTypeInferrer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLOperatorTypeInferrer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLOperatorTypeInferrer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -761,7 +761,7 @@ impl IWinMLEvaluationContext { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWinMLEvaluationContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinMLEvaluationContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinMLEvaluationContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -822,7 +822,7 @@ impl IWinMLModel { (::windows::core::Vtable::vtable(self).EnumerateModelOutputs)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWinMLModel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinMLModel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinMLModel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -887,7 +887,7 @@ impl IWinMLRuntime { (::windows::core::Vtable::vtable(self).EvaluateModel)(::windows::core::Vtable::as_raw(self), pcontext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWinMLRuntime, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinMLRuntime, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinMLRuntime { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -930,7 +930,7 @@ impl IWinMLRuntimeFactory { (::windows::core::Vtable::vtable(self).CreateRuntime)(::windows::core::Vtable::as_raw(self), runtimetype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWinMLRuntimeFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinMLRuntimeFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinMLRuntimeFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs index c14e7420fa..d334df4e33 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "htmlhelp.dll""system" fn HtmlHelpA ( hwndcaller : super::super::Foundation:: HWND , pszfile : :: windows::core::PCSTR , ucommand : HTML_HELP_COMMAND , dwdata : usize ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "htmlhelp.dll""system" fn HtmlHelpA ( hwndcaller : super::super::Foundation:: HWND , pszfile : :: windows::core::PCSTR , ucommand : HTML_HELP_COMMAND , dwdata : usize ) -> super::super::Foundation:: HWND ); HtmlHelpA(hwndcaller.into(), pszfile.into().abi(), ucommand, dwdata) } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "htmlhelp.dll""system" fn HtmlHelpW ( hwndcaller : super::super::Foundation:: HWND , pszfile : :: windows::core::PCWSTR , ucommand : HTML_HELP_COMMAND , dwdata : usize ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "htmlhelp.dll""system" fn HtmlHelpW ( hwndcaller : super::super::Foundation:: HWND , pszfile : :: windows::core::PCWSTR , ucommand : HTML_HELP_COMMAND , dwdata : usize ) -> super::super::Foundation:: HWND ); HtmlHelpW(hwndcaller.into(), pszfile.into().abi(), ucommand, dwdata) } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`*"] @@ -50,7 +50,7 @@ impl IITDatabase { (::windows::core::Vtable::vtable(self).GetObjectPersistence)(::windows::core::Vtable::as_raw(self), lpwszobject.into().abi(), dwobjinstance, ppvpersistence, fstream.into()).ok() } } -::windows::core::interface_hierarchy!(IITDatabase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IITDatabase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IITDatabase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -213,7 +213,7 @@ impl IITPropList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IITPropList, ::windows::core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStreamInit); +::windows::imp::interface_hierarchy!(IITPropList, ::windows::core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStreamInit); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IITPropList { fn eq(&self, other: &Self) -> bool { @@ -401,7 +401,7 @@ impl IITResultSet { (::windows::core::Vtable::vtable(self).GetColumnStatus)(::windows::core::Vtable::as_raw(self), lpcolstatus).ok() } } -::windows::core::interface_hierarchy!(IITResultSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IITResultSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IITResultSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -527,7 +527,7 @@ impl IITWordWheel { (::windows::core::Vtable::vtable(self).GetDataColumns)(::windows::core::Vtable::as_raw(self), prs.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IITWordWheel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IITWordWheel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IITWordWheel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -588,7 +588,7 @@ impl IStemSink { (::windows::core::Vtable::vtable(self).PutWord)(::windows::core::Vtable::as_raw(self), pwcinbuf.into().abi(), cwc).ok() } } -::windows::core::interface_hierarchy!(IStemSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStemSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStemSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -643,7 +643,7 @@ impl IStemmerConfig { (::windows::core::Vtable::vtable(self).LoadExternalStemmerData)(::windows::core::Vtable::as_raw(self), pstream.into().abi(), dwextdatatype).ok() } } -::windows::core::interface_hierarchy!(IStemmerConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStemmerConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStemmerConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -724,7 +724,7 @@ impl IWordBreakerConfig { (::windows::core::Vtable::vtable(self).GetWordStemmer)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWordBreakerConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWordBreakerConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWordBreakerConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Data/RightsManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/RightsManagement/mod.rs index b030049732..eb5a9a8288 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/RightsManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/RightsManagement/mod.rs @@ -5,7 +5,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMAcquireAdvisories ( hlicensestorage : u32 , wszlicense : :: windows::core::PCWSTR , wszurl : :: windows::core::PCWSTR , pvcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMAcquireAdvisories ( hlicensestorage : u32 , wszlicense : :: windows::core::PCWSTR , wszurl : :: windows::core::PCWSTR , pvcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DRMAcquireAdvisories(hlicensestorage, wszlicense.into().abi(), wszurl.into().abi(), pvcontext).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -14,7 +14,7 @@ pub unsafe fn DRMAcquireIssuanceLicenseTemplate(hclient: u32, uflags: u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMAcquireIssuanceLicenseTemplate ( hclient : u32 , uflags : u32 , pvreserved : *mut ::core::ffi::c_void , ctemplates : u32 , pwsztemplateids : *const :: windows::core::PCWSTR , wszurl : :: windows::core::PCWSTR , pvcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMAcquireIssuanceLicenseTemplate ( hclient : u32 , uflags : u32 , pvreserved : *mut ::core::ffi::c_void , ctemplates : u32 , pwsztemplateids : *const :: windows::core::PCWSTR , wszurl : :: windows::core::PCWSTR , pvcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DRMAcquireIssuanceLicenseTemplate(hclient, uflags, pvreserved, pwsztemplateids.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pwsztemplateids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), wszurl.into().abi(), pvcontext).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -26,7 +26,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMAcquireLicense ( hsession : u32 , uflags : u32 , wszgroupidentitycredential : :: windows::core::PCWSTR , wszrequestedrights : :: windows::core::PCWSTR , wszcustomdata : :: windows::core::PCWSTR , wszurl : :: windows::core::PCWSTR , pvcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMAcquireLicense ( hsession : u32 , uflags : u32 , wszgroupidentitycredential : :: windows::core::PCWSTR , wszrequestedrights : :: windows::core::PCWSTR , wszcustomdata : :: windows::core::PCWSTR , wszurl : :: windows::core::PCWSTR , pvcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DRMAcquireLicense(hsession, uflags, wszgroupidentitycredential.into().abi(), wszrequestedrights.into().abi(), wszcustomdata.into().abi(), wszurl.into().abi(), pvcontext).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn DRMActivate(hclient: u32, uflags: u32, ulangid: u32, pactservi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMActivate ( hclient : u32 , uflags : u32 , ulangid : u32 , pactservinfo : *mut DRM_ACTSERV_INFO , pvcontext : *mut ::core::ffi::c_void , hparentwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMActivate ( hclient : u32 , uflags : u32 , ulangid : u32 , pactservinfo : *mut DRM_ACTSERV_INFO , pvcontext : *mut ::core::ffi::c_void , hparentwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); DRMActivate(hclient, uflags, ulangid, pactservinfo, pvcontext, hparentwnd.into()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -45,13 +45,13 @@ pub unsafe fn DRMAddLicense(hlicensestorage: u32, uflags: u32, wszlicense: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMAddLicense ( hlicensestorage : u32 , uflags : u32 , wszlicense : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMAddLicense ( hlicensestorage : u32 , uflags : u32 , wszlicense : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DRMAddLicense(hlicensestorage, uflags, wszlicense.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMAddRightWithUser(hissuancelicense: u32, hright: u32, huser: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMAddRightWithUser ( hissuancelicense : u32 , hright : u32 , huser : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMAddRightWithUser ( hissuancelicense : u32 , hright : u32 , huser : u32 ) -> :: windows::core::HRESULT ); DRMAddRightWithUser(hissuancelicense, hright, huser).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -60,55 +60,55 @@ pub unsafe fn DRMAttest(henablingprincipal: u32, wszdata: P0, etype: DRMATTE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMAttest ( henablingprincipal : u32 , wszdata : :: windows::core::PCWSTR , etype : DRMATTESTTYPE , pcattestedblob : *mut u32 , wszattestedblob : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMAttest ( henablingprincipal : u32 , wszdata : :: windows::core::PCWSTR , etype : DRMATTESTTYPE , pcattestedblob : *mut u32 , wszattestedblob : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMAttest(henablingprincipal, wszdata.into().abi(), etype, pcattestedblob, ::core::mem::transmute(wszattestedblob)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMCheckSecurity(henv: u32, clevel: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCheckSecurity ( henv : u32 , clevel : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCheckSecurity ( henv : u32 , clevel : u32 ) -> :: windows::core::HRESULT ); DRMCheckSecurity(henv, clevel).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMClearAllRights(hissuancelicense: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMClearAllRights ( hissuancelicense : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMClearAllRights ( hissuancelicense : u32 ) -> :: windows::core::HRESULT ); DRMClearAllRights(hissuancelicense).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMCloseEnvironmentHandle(henv: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCloseEnvironmentHandle ( henv : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCloseEnvironmentHandle ( henv : u32 ) -> :: windows::core::HRESULT ); DRMCloseEnvironmentHandle(henv).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMCloseHandle(handle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCloseHandle ( handle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCloseHandle ( handle : u32 ) -> :: windows::core::HRESULT ); DRMCloseHandle(handle).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMClosePubHandle(hpub: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMClosePubHandle ( hpub : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMClosePubHandle ( hpub : u32 ) -> :: windows::core::HRESULT ); DRMClosePubHandle(hpub).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMCloseQueryHandle(hquery: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCloseQueryHandle ( hquery : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCloseQueryHandle ( hquery : u32 ) -> :: windows::core::HRESULT ); DRMCloseQueryHandle(hquery).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMCloseSession(hsession: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCloseSession ( hsession : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCloseSession ( hsession : u32 ) -> :: windows::core::HRESULT ); DRMCloseSession(hsession).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMConstructCertificateChain(rgwszcertificates: &[::windows::core::PCWSTR], pcchain: *mut u32, wszchain: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMConstructCertificateChain ( ccertificates : u32 , rgwszcertificates : *const :: windows::core::PCWSTR , pcchain : *mut u32 , wszchain : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMConstructCertificateChain ( ccertificates : u32 , rgwszcertificates : *const :: windows::core::PCWSTR , pcchain : *mut u32 , wszchain : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMConstructCertificateChain(rgwszcertificates.len() as _, ::core::mem::transmute(rgwszcertificates.as_ptr()), pcchain, ::core::mem::transmute(wszchain)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn DRMCreateBoundLicense(henv: u32, pparams: *mut DRMBOUNDLICENSE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateBoundLicense ( henv : u32 , pparams : *mut DRMBOUNDLICENSEPARAMS , wszlicensechain : :: windows::core::PCWSTR , phboundlicense : *mut u32 , pherrorlog : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateBoundLicense ( henv : u32 , pparams : *mut DRMBOUNDLICENSEPARAMS , wszlicensechain : :: windows::core::PCWSTR , phboundlicense : *mut u32 , pherrorlog : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateBoundLicense(henv, pparams, wszlicensechain.into().abi(), phboundlicense, pherrorlog).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -127,7 +127,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateClientSession ( pfncallback : DRMCALLBACK , ucallbackversion : u32 , wszgroupidprovidertype : :: windows::core::PCWSTR , wszgroupid : :: windows::core::PCWSTR , phclient : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateClientSession ( pfncallback : DRMCALLBACK , ucallbackversion : u32 , wszgroupidprovidertype : :: windows::core::PCWSTR , wszgroupid : :: windows::core::PCWSTR , phclient : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateClientSession(pfncallback, ucallbackversion, wszgroupidprovidertype.into().abi(), wszgroupid.into().abi(), phclient).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -137,7 +137,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateEnablingBitsDecryptor ( hboundlicense : u32 , wszright : :: windows::core::PCWSTR , hauxlib : u32 , wszauxplug : :: windows::core::PCWSTR , phdecryptor : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateEnablingBitsDecryptor ( hboundlicense : u32 , wszright : :: windows::core::PCWSTR , hauxlib : u32 , wszauxplug : :: windows::core::PCWSTR , phdecryptor : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateEnablingBitsDecryptor(hboundlicense, wszright.into().abi(), hauxlib, wszauxplug.into().abi(), phdecryptor).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -147,7 +147,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateEnablingBitsEncryptor ( hboundlicense : u32 , wszright : :: windows::core::PCWSTR , hauxlib : u32 , wszauxplug : :: windows::core::PCWSTR , phencryptor : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateEnablingBitsEncryptor ( hboundlicense : u32 , wszright : :: windows::core::PCWSTR , hauxlib : u32 , wszauxplug : :: windows::core::PCWSTR , phencryptor : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateEnablingBitsEncryptor(hboundlicense, wszright.into().abi(), hauxlib, wszauxplug.into().abi(), phencryptor).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -157,7 +157,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateEnablingPrincipal ( henv : u32 , hlibrary : u32 , wszobject : :: windows::core::PCWSTR , pidprincipal : *mut DRMID , wszcredentials : :: windows::core::PCWSTR , phenablingprincipal : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateEnablingPrincipal ( henv : u32 , hlibrary : u32 , wszobject : :: windows::core::PCWSTR , pidprincipal : *mut DRMID , wszcredentials : :: windows::core::PCWSTR , phenablingprincipal : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateEnablingPrincipal(henv, hlibrary, wszobject.into().abi(), pidprincipal, wszcredentials.into().abi(), phenablingprincipal).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -169,7 +169,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateIssuanceLicense ( psttimefrom : *mut super::super::Foundation:: SYSTEMTIME , psttimeuntil : *mut super::super::Foundation:: SYSTEMTIME , wszreferralinfoname : :: windows::core::PCWSTR , wszreferralinfourl : :: windows::core::PCWSTR , howner : u32 , wszissuancelicense : :: windows::core::PCWSTR , hboundlicense : u32 , phissuancelicense : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateIssuanceLicense ( psttimefrom : *mut super::super::Foundation:: SYSTEMTIME , psttimeuntil : *mut super::super::Foundation:: SYSTEMTIME , wszreferralinfoname : :: windows::core::PCWSTR , wszreferralinfourl : :: windows::core::PCWSTR , howner : u32 , wszissuancelicense : :: windows::core::PCWSTR , hboundlicense : u32 , phissuancelicense : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateIssuanceLicense(psttimefrom, psttimeuntil, wszreferralinfoname.into().abi(), wszreferralinfourl.into().abi(), howner, wszissuancelicense.into().abi(), hboundlicense, phissuancelicense).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -178,7 +178,7 @@ pub unsafe fn DRMCreateLicenseStorageSession(henv: u32, hdefaultlibrary: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateLicenseStorageSession ( henv : u32 , hdefaultlibrary : u32 , hclient : u32 , uflags : u32 , wszissuancelicense : :: windows::core::PCWSTR , phlicensestorage : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateLicenseStorageSession ( henv : u32 , hdefaultlibrary : u32 , hclient : u32 , uflags : u32 , wszissuancelicense : :: windows::core::PCWSTR , phlicensestorage : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateLicenseStorageSession(henv, hdefaultlibrary, hclient, uflags, wszissuancelicense.into().abi(), phlicensestorage).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -188,7 +188,7 @@ pub unsafe fn DRMCreateRight(wszrightname: P0, pstfrom: *mut super::super::F where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateRight ( wszrightname : :: windows::core::PCWSTR , pstfrom : *mut super::super::Foundation:: SYSTEMTIME , pstuntil : *mut super::super::Foundation:: SYSTEMTIME , cextendedinfo : u32 , pwszextendedinfoname : *const :: windows::core::PCWSTR , pwszextendedinfovalue : *const :: windows::core::PCWSTR , phright : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateRight ( wszrightname : :: windows::core::PCWSTR , pstfrom : *mut super::super::Foundation:: SYSTEMTIME , pstuntil : *mut super::super::Foundation:: SYSTEMTIME , cextendedinfo : u32 , pwszextendedinfoname : *const :: windows::core::PCWSTR , pwszextendedinfovalue : *const :: windows::core::PCWSTR , phright : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateRight(wszrightname.into().abi(), pstfrom, pstuntil, cextendedinfo, ::core::mem::transmute(pwszextendedinfoname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pwszextendedinfovalue.unwrap_or(::std::ptr::null())), phright).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -199,7 +199,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMCreateUser ( wszusername : :: windows::core::PCWSTR , wszuserid : :: windows::core::PCWSTR , wszuseridtype : :: windows::core::PCWSTR , phuser : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMCreateUser ( wszusername : :: windows::core::PCWSTR , wszuserid : :: windows::core::PCWSTR , wszuseridtype : :: windows::core::PCWSTR , phuser : *mut u32 ) -> :: windows::core::HRESULT ); DRMCreateUser(wszusername.into().abi(), wszuserid.into().abi(), wszuseridtype.into().abi(), phuser).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -209,7 +209,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMDecode ( wszalgid : :: windows::core::PCWSTR , wszencodedstring : :: windows::core::PCWSTR , pudecodeddatalen : *mut u32 , pbdecodeddata : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMDecode ( wszalgid : :: windows::core::PCWSTR , wszencodedstring : :: windows::core::PCWSTR , pudecodeddatalen : *mut u32 , pbdecodeddata : *mut u8 ) -> :: windows::core::HRESULT ); DRMDecode(wszalgid.into().abi(), wszencodedstring.into().abi(), pudecodeddatalen, pbdecodeddata).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -218,13 +218,13 @@ pub unsafe fn DRMDeconstructCertificateChain(wszchain: P0, iwhich: u32, pcce where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMDeconstructCertificateChain ( wszchain : :: windows::core::PCWSTR , iwhich : u32 , pccert : *mut u32 , wszcert : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMDeconstructCertificateChain ( wszchain : :: windows::core::PCWSTR , iwhich : u32 , pccert : *mut u32 , wszcert : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMDeconstructCertificateChain(wszchain.into().abi(), iwhich, pccert, ::core::mem::transmute(wszcert)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMDecrypt(hcryptoprovider: u32, iposition: u32, cnuminbytes: u32, pbindata: *mut u8, pcnumoutbytes: *mut u32, pboutdata: *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMDecrypt ( hcryptoprovider : u32 , iposition : u32 , cnuminbytes : u32 , pbindata : *mut u8 , pcnumoutbytes : *mut u32 , pboutdata : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMDecrypt ( hcryptoprovider : u32 , iposition : u32 , cnuminbytes : u32 , pbindata : *mut u8 , pcnumoutbytes : *mut u32 , pboutdata : *mut u8 ) -> :: windows::core::HRESULT ); DRMDecrypt(hcryptoprovider, iposition, cnuminbytes, pbindata, pcnumoutbytes, pboutdata).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -233,31 +233,31 @@ pub unsafe fn DRMDeleteLicense(hsession: u32, wszlicenseid: P0) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMDeleteLicense ( hsession : u32 , wszlicenseid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMDeleteLicense ( hsession : u32 , wszlicenseid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DRMDeleteLicense(hsession, wszlicenseid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMDuplicateEnvironmentHandle(htocopy: u32, phcopy: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMDuplicateEnvironmentHandle ( htocopy : u32 , phcopy : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMDuplicateEnvironmentHandle ( htocopy : u32 , phcopy : *mut u32 ) -> :: windows::core::HRESULT ); DRMDuplicateEnvironmentHandle(htocopy, phcopy).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMDuplicateHandle(htocopy: u32, phcopy: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMDuplicateHandle ( htocopy : u32 , phcopy : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMDuplicateHandle ( htocopy : u32 , phcopy : *mut u32 ) -> :: windows::core::HRESULT ); DRMDuplicateHandle(htocopy, phcopy).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMDuplicatePubHandle(hpubin: u32, phpubout: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMDuplicatePubHandle ( hpubin : u32 , phpubout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMDuplicatePubHandle ( hpubin : u32 , phpubout : *mut u32 ) -> :: windows::core::HRESULT ); DRMDuplicatePubHandle(hpubin, phpubout).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMDuplicateSession(hsessionin: u32, phsessionout: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMDuplicateSession ( hsessionin : u32 , phsessionout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMDuplicateSession ( hsessionin : u32 , phsessionout : *mut u32 ) -> :: windows::core::HRESULT ); DRMDuplicateSession(hsessionin, phsessionout).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -266,26 +266,26 @@ pub unsafe fn DRMEncode(wszalgid: P0, udatalen: u32, pbdecodeddata: *mut u8, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMEncode ( wszalgid : :: windows::core::PCWSTR , udatalen : u32 , pbdecodeddata : *mut u8 , puencodedstringlen : *mut u32 , wszencodedstring : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMEncode ( wszalgid : :: windows::core::PCWSTR , udatalen : u32 , pbdecodeddata : *mut u8 , puencodedstringlen : *mut u32 , wszencodedstring : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMEncode(wszalgid.into().abi(), udatalen, pbdecodeddata, puencodedstringlen, ::core::mem::transmute(wszencodedstring)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMEncrypt(hcryptoprovider: u32, iposition: u32, cnuminbytes: u32, pbindata: *mut u8, pcnumoutbytes: *mut u32, pboutdata: *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMEncrypt ( hcryptoprovider : u32 , iposition : u32 , cnuminbytes : u32 , pbindata : *mut u8 , pcnumoutbytes : *mut u32 , pboutdata : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMEncrypt ( hcryptoprovider : u32 , iposition : u32 , cnuminbytes : u32 , pbindata : *mut u8 , pcnumoutbytes : *mut u32 , pboutdata : *mut u8 ) -> :: windows::core::HRESULT ); DRMEncrypt(hcryptoprovider, iposition, cnuminbytes, pbindata, pcnumoutbytes, pboutdata).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DRMEnumerateLicense(hsession: u32, uflags: u32, uindex: u32, pfsharedflag: *mut super::super::Foundation::BOOL, pucertificatedatalen: *mut u32, wszcertificatedata: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMEnumerateLicense ( hsession : u32 , uflags : u32 , uindex : u32 , pfsharedflag : *mut super::super::Foundation:: BOOL , pucertificatedatalen : *mut u32 , wszcertificatedata : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMEnumerateLicense ( hsession : u32 , uflags : u32 , uindex : u32 , pfsharedflag : *mut super::super::Foundation:: BOOL , pucertificatedatalen : *mut u32 , wszcertificatedata : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMEnumerateLicense(hsession, uflags, uindex, pfsharedflag, pucertificatedatalen, ::core::mem::transmute(wszcertificatedata)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetApplicationSpecificData(hissuancelicense: u32, uindex: u32, punamelength: *mut u32, wszname: ::windows::core::PWSTR, puvaluelength: *mut u32, wszvalue: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetApplicationSpecificData ( hissuancelicense : u32 , uindex : u32 , punamelength : *mut u32 , wszname : :: windows::core::PWSTR , puvaluelength : *mut u32 , wszvalue : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetApplicationSpecificData ( hissuancelicense : u32 , uindex : u32 , punamelength : *mut u32 , wszname : :: windows::core::PWSTR , puvaluelength : *mut u32 , wszvalue : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetApplicationSpecificData(hissuancelicense, uindex, punamelength, ::core::mem::transmute(wszname), puvaluelength, ::core::mem::transmute(wszvalue)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -294,7 +294,7 @@ pub unsafe fn DRMGetBoundLicenseAttribute(hqueryroot: u32, wszattribute: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetBoundLicenseAttribute ( hqueryroot : u32 , wszattribute : :: windows::core::PCWSTR , iwhich : u32 , peencoding : *mut DRMENCODINGTYPE , pcbuffer : *mut u32 , pbbuffer : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetBoundLicenseAttribute ( hqueryroot : u32 , wszattribute : :: windows::core::PCWSTR , iwhich : u32 , peencoding : *mut DRMENCODINGTYPE , pcbuffer : *mut u32 , pbbuffer : *mut u8 ) -> :: windows::core::HRESULT ); DRMGetBoundLicenseAttribute(hqueryroot, wszattribute.into().abi(), iwhich, peencoding, pcbuffer, pbbuffer).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -303,7 +303,7 @@ pub unsafe fn DRMGetBoundLicenseAttributeCount(hqueryroot: u32, wszattribute where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetBoundLicenseAttributeCount ( hqueryroot : u32 , wszattribute : :: windows::core::PCWSTR , pcattributes : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetBoundLicenseAttributeCount ( hqueryroot : u32 , wszattribute : :: windows::core::PCWSTR , pcattributes : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetBoundLicenseAttributeCount(hqueryroot, wszattribute.into().abi(), pcattributes).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -312,7 +312,7 @@ pub unsafe fn DRMGetBoundLicenseObject(hqueryroot: u32, wszsubobjecttype: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetBoundLicenseObject ( hqueryroot : u32 , wszsubobjecttype : :: windows::core::PCWSTR , iwhich : u32 , phsubobject : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetBoundLicenseObject ( hqueryroot : u32 , wszsubobjecttype : :: windows::core::PCWSTR , iwhich : u32 , phsubobject : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetBoundLicenseObject(hqueryroot, wszsubobjecttype.into().abi(), iwhich, phsubobject).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -321,7 +321,7 @@ pub unsafe fn DRMGetBoundLicenseObjectCount(hqueryroot: u32, wszsubobjecttyp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetBoundLicenseObjectCount ( hqueryroot : u32 , wszsubobjecttype : :: windows::core::PCWSTR , pcsubobjects : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetBoundLicenseObjectCount ( hqueryroot : u32 , wszsubobjecttype : :: windows::core::PCWSTR , pcsubobjects : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetBoundLicenseObjectCount(hqueryroot, wszsubobjecttype.into().abi(), pcsubobjects).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -330,13 +330,13 @@ pub unsafe fn DRMGetCertificateChainCount(wszchain: P0, pccertcount: *mut u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetCertificateChainCount ( wszchain : :: windows::core::PCWSTR , pccertcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetCertificateChainCount ( wszchain : :: windows::core::PCWSTR , pccertcount : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetCertificateChainCount(wszchain.into().abi(), pccertcount).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetClientVersion(pdrmclientversioninfo: *mut DRM_CLIENT_VERSION_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetClientVersion ( pdrmclientversioninfo : *mut DRM_CLIENT_VERSION_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetClientVersion ( pdrmclientversioninfo : *mut DRM_CLIENT_VERSION_INFO ) -> :: windows::core::HRESULT ); DRMGetClientVersion(pdrmclientversioninfo).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -345,7 +345,7 @@ pub unsafe fn DRMGetEnvironmentInfo(handle: u32, wszattribute: P0, peencodin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetEnvironmentInfo ( handle : u32 , wszattribute : :: windows::core::PCWSTR , peencoding : *mut DRMENCODINGTYPE , pcbuffer : *mut u32 , pbbuffer : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetEnvironmentInfo ( handle : u32 , wszattribute : :: windows::core::PCWSTR , peencoding : *mut DRMENCODINGTYPE , pcbuffer : *mut u32 , pbbuffer : *mut u8 ) -> :: windows::core::HRESULT ); DRMGetEnvironmentInfo(handle, wszattribute.into().abi(), peencoding, pcbuffer, pbbuffer).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -354,44 +354,44 @@ pub unsafe fn DRMGetInfo(handle: u32, wszattribute: P0, peencoding: *const D where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetInfo ( handle : u32 , wszattribute : :: windows::core::PCWSTR , peencoding : *const DRMENCODINGTYPE , pcbuffer : *mut u32 , pbbuffer : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetInfo ( handle : u32 , wszattribute : :: windows::core::PCWSTR , peencoding : *const DRMENCODINGTYPE , pcbuffer : *mut u32 , pbbuffer : *mut u8 ) -> :: windows::core::HRESULT ); DRMGetInfo(handle, wszattribute.into().abi(), peencoding, pcbuffer, pbbuffer).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetIntervalTime(hissuancelicense: u32, pcdays: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetIntervalTime ( hissuancelicense : u32 , pcdays : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetIntervalTime ( hissuancelicense : u32 , pcdays : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetIntervalTime(hissuancelicense, pcdays).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DRMGetIssuanceLicenseInfo(hissuancelicense: u32, psttimefrom: *mut super::super::Foundation::SYSTEMTIME, psttimeuntil: *mut super::super::Foundation::SYSTEMTIME, uflags: u32, pudistributionpointnamelength: *mut u32, wszdistributionpointname: ::windows::core::PWSTR, pudistributionpointurllength: *mut u32, wszdistributionpointurl: ::windows::core::PWSTR, phowner: *mut u32, pfofficial: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetIssuanceLicenseInfo ( hissuancelicense : u32 , psttimefrom : *mut super::super::Foundation:: SYSTEMTIME , psttimeuntil : *mut super::super::Foundation:: SYSTEMTIME , uflags : u32 , pudistributionpointnamelength : *mut u32 , wszdistributionpointname : :: windows::core::PWSTR , pudistributionpointurllength : *mut u32 , wszdistributionpointurl : :: windows::core::PWSTR , phowner : *mut u32 , pfofficial : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetIssuanceLicenseInfo ( hissuancelicense : u32 , psttimefrom : *mut super::super::Foundation:: SYSTEMTIME , psttimeuntil : *mut super::super::Foundation:: SYSTEMTIME , uflags : u32 , pudistributionpointnamelength : *mut u32 , wszdistributionpointname : :: windows::core::PWSTR , pudistributionpointurllength : *mut u32 , wszdistributionpointurl : :: windows::core::PWSTR , phowner : *mut u32 , pfofficial : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DRMGetIssuanceLicenseInfo(hissuancelicense, psttimefrom, psttimeuntil, uflags, pudistributionpointnamelength, ::core::mem::transmute(wszdistributionpointname), pudistributionpointurllength, ::core::mem::transmute(wszdistributionpointurl), phowner, pfofficial).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetIssuanceLicenseTemplate(hissuancelicense: u32, puissuancelicensetemplatelength: *mut u32, wszissuancelicensetemplate: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetIssuanceLicenseTemplate ( hissuancelicense : u32 , puissuancelicensetemplatelength : *mut u32 , wszissuancelicensetemplate : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetIssuanceLicenseTemplate ( hissuancelicense : u32 , puissuancelicensetemplatelength : *mut u32 , wszissuancelicensetemplate : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetIssuanceLicenseTemplate(hissuancelicense, puissuancelicensetemplatelength, ::core::mem::transmute(wszissuancelicensetemplate)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetMetaData(hissuancelicense: u32, pucontentidlength: *mut u32, wszcontentid: ::windows::core::PWSTR, pucontentidtypelength: *mut u32, wszcontentidtype: ::windows::core::PWSTR, puskuidlength: *mut u32, wszskuid: ::windows::core::PWSTR, puskuidtypelength: *mut u32, wszskuidtype: ::windows::core::PWSTR, pucontenttypelength: *mut u32, wszcontenttype: ::windows::core::PWSTR, pucontentnamelength: *mut u32, wszcontentname: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetMetaData ( hissuancelicense : u32 , pucontentidlength : *mut u32 , wszcontentid : :: windows::core::PWSTR , pucontentidtypelength : *mut u32 , wszcontentidtype : :: windows::core::PWSTR , puskuidlength : *mut u32 , wszskuid : :: windows::core::PWSTR , puskuidtypelength : *mut u32 , wszskuidtype : :: windows::core::PWSTR , pucontenttypelength : *mut u32 , wszcontenttype : :: windows::core::PWSTR , pucontentnamelength : *mut u32 , wszcontentname : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetMetaData ( hissuancelicense : u32 , pucontentidlength : *mut u32 , wszcontentid : :: windows::core::PWSTR , pucontentidtypelength : *mut u32 , wszcontentidtype : :: windows::core::PWSTR , puskuidlength : *mut u32 , wszskuid : :: windows::core::PWSTR , puskuidtypelength : *mut u32 , wszskuidtype : :: windows::core::PWSTR , pucontenttypelength : *mut u32 , wszcontenttype : :: windows::core::PWSTR , pucontentnamelength : *mut u32 , wszcontentname : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetMetaData(hissuancelicense, pucontentidlength, ::core::mem::transmute(wszcontentid), pucontentidtypelength, ::core::mem::transmute(wszcontentidtype), puskuidlength, ::core::mem::transmute(wszskuid), puskuidtypelength, ::core::mem::transmute(wszskuidtype), pucontenttypelength, ::core::mem::transmute(wszcontenttype), pucontentnamelength, ::core::mem::transmute(wszcontentname)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetNameAndDescription(hissuancelicense: u32, uindex: u32, pulcid: *mut u32, punamelength: *mut u32, wszname: ::windows::core::PWSTR, pudescriptionlength: *mut u32, wszdescription: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetNameAndDescription ( hissuancelicense : u32 , uindex : u32 , pulcid : *mut u32 , punamelength : *mut u32 , wszname : :: windows::core::PWSTR , pudescriptionlength : *mut u32 , wszdescription : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetNameAndDescription ( hissuancelicense : u32 , uindex : u32 , pulcid : *mut u32 , punamelength : *mut u32 , wszname : :: windows::core::PWSTR , pudescriptionlength : *mut u32 , wszdescription : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetNameAndDescription(hissuancelicense, uindex, pulcid, punamelength, ::core::mem::transmute(wszname), pudescriptionlength, ::core::mem::transmute(wszdescription)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetOwnerLicense(hissuancelicense: u32, puownerlicenselength: *mut u32, wszownerlicense: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetOwnerLicense ( hissuancelicense : u32 , puownerlicenselength : *mut u32 , wszownerlicense : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetOwnerLicense ( hissuancelicense : u32 , puownerlicenselength : *mut u32 , wszownerlicense : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetOwnerLicense(hissuancelicense, puownerlicenselength, ::core::mem::transmute(wszownerlicense)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -401,33 +401,33 @@ pub unsafe fn DRMGetProcAddress(hlibrary: u32, wszprocname: P0, ppfnprocaddr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetProcAddress ( hlibrary : u32 , wszprocname : :: windows::core::PCWSTR , ppfnprocaddress : *mut super::super::Foundation:: FARPROC ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetProcAddress ( hlibrary : u32 , wszprocname : :: windows::core::PCWSTR , ppfnprocaddress : *mut super::super::Foundation:: FARPROC ) -> :: windows::core::HRESULT ); DRMGetProcAddress(hlibrary, wszprocname.into().abi(), ppfnprocaddress).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DRMGetRevocationPoint(hissuancelicense: u32, puidlength: *mut u32, wszid: ::windows::core::PWSTR, puidtypelength: *mut u32, wszidtype: ::windows::core::PWSTR, puurllength: *mut u32, wszrl: ::windows::core::PWSTR, pstfrequency: *mut super::super::Foundation::SYSTEMTIME, punamelength: *mut u32, wszname: ::windows::core::PWSTR, pupublickeylength: *mut u32, wszpublickey: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetRevocationPoint ( hissuancelicense : u32 , puidlength : *mut u32 , wszid : :: windows::core::PWSTR , puidtypelength : *mut u32 , wszidtype : :: windows::core::PWSTR , puurllength : *mut u32 , wszrl : :: windows::core::PWSTR , pstfrequency : *mut super::super::Foundation:: SYSTEMTIME , punamelength : *mut u32 , wszname : :: windows::core::PWSTR , pupublickeylength : *mut u32 , wszpublickey : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetRevocationPoint ( hissuancelicense : u32 , puidlength : *mut u32 , wszid : :: windows::core::PWSTR , puidtypelength : *mut u32 , wszidtype : :: windows::core::PWSTR , puurllength : *mut u32 , wszrl : :: windows::core::PWSTR , pstfrequency : *mut super::super::Foundation:: SYSTEMTIME , punamelength : *mut u32 , wszname : :: windows::core::PWSTR , pupublickeylength : *mut u32 , wszpublickey : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetRevocationPoint(hissuancelicense, puidlength, ::core::mem::transmute(wszid), puidtypelength, ::core::mem::transmute(wszidtype), puurllength, ::core::mem::transmute(wszrl), pstfrequency, punamelength, ::core::mem::transmute(wszname), pupublickeylength, ::core::mem::transmute(wszpublickey)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetRightExtendedInfo(hright: u32, uindex: u32, puextendedinfonamelength: *mut u32, wszextendedinfoname: ::windows::core::PWSTR, puextendedinfovaluelength: *mut u32, wszextendedinfovalue: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetRightExtendedInfo ( hright : u32 , uindex : u32 , puextendedinfonamelength : *mut u32 , wszextendedinfoname : :: windows::core::PWSTR , puextendedinfovaluelength : *mut u32 , wszextendedinfovalue : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetRightExtendedInfo ( hright : u32 , uindex : u32 , puextendedinfonamelength : *mut u32 , wszextendedinfoname : :: windows::core::PWSTR , puextendedinfovaluelength : *mut u32 , wszextendedinfovalue : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetRightExtendedInfo(hright, uindex, puextendedinfonamelength, ::core::mem::transmute(wszextendedinfoname), puextendedinfovaluelength, ::core::mem::transmute(wszextendedinfovalue)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DRMGetRightInfo(hright: u32, purightnamelength: *mut u32, wszrightname: ::windows::core::PWSTR, pstfrom: *mut super::super::Foundation::SYSTEMTIME, pstuntil: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetRightInfo ( hright : u32 , purightnamelength : *mut u32 , wszrightname : :: windows::core::PWSTR , pstfrom : *mut super::super::Foundation:: SYSTEMTIME , pstuntil : *mut super::super::Foundation:: SYSTEMTIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetRightInfo ( hright : u32 , purightnamelength : *mut u32 , wszrightname : :: windows::core::PWSTR , pstfrom : *mut super::super::Foundation:: SYSTEMTIME , pstuntil : *mut super::super::Foundation:: SYSTEMTIME ) -> :: windows::core::HRESULT ); DRMGetRightInfo(hright, purightnamelength, ::core::mem::transmute(wszrightname), pstfrom, pstuntil).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetSecurityProvider(uflags: u32, putypelen: *mut u32, wsztype: ::windows::core::PWSTR, pupathlen: *mut u32, wszpath: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetSecurityProvider ( uflags : u32 , putypelen : *mut u32 , wsztype : :: windows::core::PWSTR , pupathlen : *mut u32 , wszpath : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetSecurityProvider ( uflags : u32 , putypelen : *mut u32 , wsztype : :: windows::core::PWSTR , pupathlen : *mut u32 , wszpath : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetSecurityProvider(uflags, putypelen, ::core::mem::transmute(wsztype), pupathlen, ::core::mem::transmute(wszpath)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -436,7 +436,7 @@ pub unsafe fn DRMGetServiceLocation(hclient: u32, uservicetype: u32, uservic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetServiceLocation ( hclient : u32 , uservicetype : u32 , uservicelocation : u32 , wszissuancelicense : :: windows::core::PCWSTR , puserviceurllength : *mut u32 , wszserviceurl : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetServiceLocation ( hclient : u32 , uservicetype : u32 , uservicelocation : u32 , wszissuancelicense : :: windows::core::PCWSTR , puserviceurllength : *mut u32 , wszserviceurl : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetServiceLocation(hclient, uservicetype, uservicelocation, wszissuancelicense.into().abi(), puserviceurllength, ::core::mem::transmute(wszserviceurl)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -447,7 +447,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetSignedIssuanceLicense ( henv : u32 , hissuancelicense : u32 , uflags : u32 , pbsymkey : *mut u8 , cbsymkey : u32 , wszsymkeytype : :: windows::core::PCWSTR , wszclientlicensorcertificate : :: windows::core::PCWSTR , pfncallback : DRMCALLBACK , wszurl : :: windows::core::PCWSTR , pvcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetSignedIssuanceLicense ( henv : u32 , hissuancelicense : u32 , uflags : u32 , pbsymkey : *mut u8 , cbsymkey : u32 , wszsymkeytype : :: windows::core::PCWSTR , wszclientlicensorcertificate : :: windows::core::PCWSTR , pfncallback : DRMCALLBACK , wszurl : :: windows::core::PCWSTR , pvcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DRMGetSignedIssuanceLicense(henv, hissuancelicense, uflags, pbsymkey, cbsymkey, wszsymkeytype.into().abi(), wszclientlicensorcertificate.into().abi(), pfncallback, wszurl.into().abi(), pvcontext).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -456,14 +456,14 @@ pub unsafe fn DRMGetSignedIssuanceLicenseEx(henv: u32, hissuancelicense: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetSignedIssuanceLicenseEx ( henv : u32 , hissuancelicense : u32 , uflags : u32 , pbsymkey : *const u8 , cbsymkey : u32 , wszsymkeytype : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void , henablingprincipal : u32 , hboundlicenseclc : u32 , pfncallback : DRMCALLBACK , pvcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetSignedIssuanceLicenseEx ( henv : u32 , hissuancelicense : u32 , uflags : u32 , pbsymkey : *const u8 , cbsymkey : u32 , wszsymkeytype : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void , henablingprincipal : u32 , hboundlicenseclc : u32 , pfncallback : DRMCALLBACK , pvcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DRMGetSignedIssuanceLicenseEx(henv, hissuancelicense, uflags, ::core::mem::transmute(pbsymkey.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsymkey.as_deref().map_or(0, |slice| slice.len() as _), wszsymkeytype.into().abi(), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), henablingprincipal, hboundlicenseclc, pfncallback, pvcontext).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DRMGetTime(henv: u32, etimeridtype: DRMTIMETYPE, potimeobject: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetTime ( henv : u32 , etimeridtype : DRMTIMETYPE , potimeobject : *mut super::super::Foundation:: SYSTEMTIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetTime ( henv : u32 , etimeridtype : DRMTIMETYPE , potimeobject : *mut super::super::Foundation:: SYSTEMTIME ) -> :: windows::core::HRESULT ); DRMGetTime(henv, etimeridtype, potimeobject).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -472,7 +472,7 @@ pub unsafe fn DRMGetUnboundLicenseAttribute(hqueryroot: u32, wszattributetyp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetUnboundLicenseAttribute ( hqueryroot : u32 , wszattributetype : :: windows::core::PCWSTR , iwhich : u32 , peencoding : *mut DRMENCODINGTYPE , pcbuffer : *mut u32 , pbbuffer : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetUnboundLicenseAttribute ( hqueryroot : u32 , wszattributetype : :: windows::core::PCWSTR , iwhich : u32 , peencoding : *mut DRMENCODINGTYPE , pcbuffer : *mut u32 , pbbuffer : *mut u8 ) -> :: windows::core::HRESULT ); DRMGetUnboundLicenseAttribute(hqueryroot, wszattributetype.into().abi(), iwhich, peencoding, pcbuffer, pbbuffer).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -481,7 +481,7 @@ pub unsafe fn DRMGetUnboundLicenseAttributeCount(hqueryroot: u32, wszattribu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetUnboundLicenseAttributeCount ( hqueryroot : u32 , wszattributetype : :: windows::core::PCWSTR , pcattributes : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetUnboundLicenseAttributeCount ( hqueryroot : u32 , wszattributetype : :: windows::core::PCWSTR , pcattributes : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetUnboundLicenseAttributeCount(hqueryroot, wszattributetype.into().abi(), pcattributes).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -490,7 +490,7 @@ pub unsafe fn DRMGetUnboundLicenseObject(hqueryroot: u32, wszsubobjecttype: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetUnboundLicenseObject ( hqueryroot : u32 , wszsubobjecttype : :: windows::core::PCWSTR , iindex : u32 , phsubquery : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetUnboundLicenseObject ( hqueryroot : u32 , wszsubobjecttype : :: windows::core::PCWSTR , iindex : u32 , phsubquery : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetUnboundLicenseObject(hqueryroot, wszsubobjecttype.into().abi(), iindex, phsubquery).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -499,32 +499,32 @@ pub unsafe fn DRMGetUnboundLicenseObjectCount(hqueryroot: u32, wszsubobjectt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetUnboundLicenseObjectCount ( hqueryroot : u32 , wszsubobjecttype : :: windows::core::PCWSTR , pcsubobjects : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetUnboundLicenseObjectCount ( hqueryroot : u32 , wszsubobjecttype : :: windows::core::PCWSTR , pcsubobjects : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetUnboundLicenseObjectCount(hqueryroot, wszsubobjecttype.into().abi(), pcsubobjects).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DRMGetUsagePolicy(hissuancelicense: u32, uindex: u32, peusagepolicytype: *mut DRM_USAGEPOLICY_TYPE, pfexclusion: *mut super::super::Foundation::BOOL, punamelength: *mut u32, wszname: ::windows::core::PWSTR, puminversionlength: *mut u32, wszminversion: ::windows::core::PWSTR, pumaxversionlength: *mut u32, wszmaxversion: ::windows::core::PWSTR, pupublickeylength: *mut u32, wszpublickey: ::windows::core::PWSTR, pudigestalgorithmlength: *mut u32, wszdigestalgorithm: ::windows::core::PWSTR, pcbdigest: *mut u32, pbdigest: *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetUsagePolicy ( hissuancelicense : u32 , uindex : u32 , peusagepolicytype : *mut DRM_USAGEPOLICY_TYPE , pfexclusion : *mut super::super::Foundation:: BOOL , punamelength : *mut u32 , wszname : :: windows::core::PWSTR , puminversionlength : *mut u32 , wszminversion : :: windows::core::PWSTR , pumaxversionlength : *mut u32 , wszmaxversion : :: windows::core::PWSTR , pupublickeylength : *mut u32 , wszpublickey : :: windows::core::PWSTR , pudigestalgorithmlength : *mut u32 , wszdigestalgorithm : :: windows::core::PWSTR , pcbdigest : *mut u32 , pbdigest : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetUsagePolicy ( hissuancelicense : u32 , uindex : u32 , peusagepolicytype : *mut DRM_USAGEPOLICY_TYPE , pfexclusion : *mut super::super::Foundation:: BOOL , punamelength : *mut u32 , wszname : :: windows::core::PWSTR , puminversionlength : *mut u32 , wszminversion : :: windows::core::PWSTR , pumaxversionlength : *mut u32 , wszmaxversion : :: windows::core::PWSTR , pupublickeylength : *mut u32 , wszpublickey : :: windows::core::PWSTR , pudigestalgorithmlength : *mut u32 , wszdigestalgorithm : :: windows::core::PWSTR , pcbdigest : *mut u32 , pbdigest : *mut u8 ) -> :: windows::core::HRESULT ); DRMGetUsagePolicy(hissuancelicense, uindex, peusagepolicytype, pfexclusion, punamelength, ::core::mem::transmute(wszname), puminversionlength, ::core::mem::transmute(wszminversion), pumaxversionlength, ::core::mem::transmute(wszmaxversion), pupublickeylength, ::core::mem::transmute(wszpublickey), pudigestalgorithmlength, ::core::mem::transmute(wszdigestalgorithm), pcbdigest, pbdigest).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetUserInfo(huser: u32, puusernamelength: *mut u32, wszusername: ::windows::core::PWSTR, puuseridlength: *mut u32, wszuserid: ::windows::core::PWSTR, puuseridtypelength: *mut u32, wszuseridtype: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetUserInfo ( huser : u32 , puusernamelength : *mut u32 , wszusername : :: windows::core::PWSTR , puuseridlength : *mut u32 , wszuserid : :: windows::core::PWSTR , puuseridtypelength : *mut u32 , wszuseridtype : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetUserInfo ( huser : u32 , puusernamelength : *mut u32 , wszusername : :: windows::core::PWSTR , puuseridlength : *mut u32 , wszuserid : :: windows::core::PWSTR , puuseridtypelength : *mut u32 , wszuseridtype : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMGetUserInfo(huser, puusernamelength, ::core::mem::transmute(wszusername), puuseridlength, ::core::mem::transmute(wszuserid), puuseridtypelength, ::core::mem::transmute(wszuseridtype)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetUserRights(hissuancelicense: u32, huser: u32, uindex: u32, phright: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetUserRights ( hissuancelicense : u32 , huser : u32 , uindex : u32 , phright : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetUserRights ( hissuancelicense : u32 , huser : u32 , uindex : u32 , phright : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetUserRights(hissuancelicense, huser, uindex, phright).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMGetUsers(hissuancelicense: u32, uindex: u32, phuser: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMGetUsers ( hissuancelicense : u32 , uindex : u32 , phuser : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMGetUsers ( hissuancelicense : u32 , uindex : u32 , phuser : *mut u32 ) -> :: windows::core::HRESULT ); DRMGetUsers(hissuancelicense, uindex, phuser).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -535,13 +535,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMInitEnvironment ( esecurityprovidertype : DRMSECURITYPROVIDERTYPE , especification : DRMSPECTYPE , wszsecurityprovider : :: windows::core::PCWSTR , wszmanifestcredentials : :: windows::core::PCWSTR , wszmachinecredentials : :: windows::core::PCWSTR , phenv : *mut u32 , phdefaultlibrary : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMInitEnvironment ( esecurityprovidertype : DRMSECURITYPROVIDERTYPE , especification : DRMSPECTYPE , wszsecurityprovider : :: windows::core::PCWSTR , wszmanifestcredentials : :: windows::core::PCWSTR , wszmachinecredentials : :: windows::core::PCWSTR , phenv : *mut u32 , phdefaultlibrary : *mut u32 ) -> :: windows::core::HRESULT ); DRMInitEnvironment(esecurityprovidertype, especification, wszsecurityprovider.into().abi(), wszmanifestcredentials.into().abi(), wszmachinecredentials.into().abi(), phenv, phdefaultlibrary).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMIsActivated(hclient: u32, uflags: u32, pactservinfo: *mut DRM_ACTSERV_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMIsActivated ( hclient : u32 , uflags : u32 , pactservinfo : *mut DRM_ACTSERV_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMIsActivated ( hclient : u32 , uflags : u32 , pactservinfo : *mut DRM_ACTSERV_INFO ) -> :: windows::core::HRESULT ); DRMIsActivated(hclient, uflags, pactservinfo).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -551,7 +551,7 @@ pub unsafe fn DRMIsWindowProtected(hwnd: P0, pfprotected: *mut super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMIsWindowProtected ( hwnd : super::super::Foundation:: HWND , pfprotected : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMIsWindowProtected ( hwnd : super::super::Foundation:: HWND , pfprotected : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DRMIsWindowProtected(hwnd.into(), pfprotected).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -561,7 +561,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMLoadLibrary ( henv : u32 , especification : DRMSPECTYPE , wszlibraryprovider : :: windows::core::PCWSTR , wszcredentials : :: windows::core::PCWSTR , phlibrary : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMLoadLibrary ( henv : u32 , especification : DRMSPECTYPE , wszlibraryprovider : :: windows::core::PCWSTR , wszcredentials : :: windows::core::PCWSTR , phlibrary : *mut u32 ) -> :: windows::core::HRESULT ); DRMLoadLibrary(henv, especification, wszlibraryprovider.into().abi(), wszcredentials.into().abi(), phlibrary).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -570,7 +570,7 @@ pub unsafe fn DRMParseUnboundLicense(wszcertificate: P0, phqueryroot: *mut u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMParseUnboundLicense ( wszcertificate : :: windows::core::PCWSTR , phqueryroot : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMParseUnboundLicense ( wszcertificate : :: windows::core::PCWSTR , phqueryroot : *mut u32 ) -> :: windows::core::HRESULT ); DRMParseUnboundLicense(wszcertificate.into().abi(), phqueryroot).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -580,7 +580,7 @@ pub unsafe fn DRMRegisterContent(fregister: P0) -> ::windows::core::Result<( where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMRegisterContent ( fregister : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMRegisterContent ( fregister : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DRMRegisterContent(fregister.into()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -590,7 +590,7 @@ pub unsafe fn DRMRegisterProtectedWindow(henv: u32, hwnd: P0) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMRegisterProtectedWindow ( henv : u32 , hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMRegisterProtectedWindow ( henv : u32 , hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); DRMRegisterProtectedWindow(henv, hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -599,13 +599,13 @@ pub unsafe fn DRMRegisterRevocationList(henv: u32, wszrevocationlist: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMRegisterRevocationList ( henv : u32 , wszrevocationlist : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMRegisterRevocationList ( henv : u32 , wszrevocationlist : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DRMRegisterRevocationList(henv, wszrevocationlist.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMRepair() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMRepair ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMRepair ( ) -> :: windows::core::HRESULT ); DRMRepair().ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -617,19 +617,19 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMSetApplicationSpecificData ( hissuancelicense : u32 , fdelete : super::super::Foundation:: BOOL , wszname : :: windows::core::PCWSTR , wszvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMSetApplicationSpecificData ( hissuancelicense : u32 , fdelete : super::super::Foundation:: BOOL , wszname : :: windows::core::PCWSTR , wszvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DRMSetApplicationSpecificData(hissuancelicense, fdelete.into(), wszname.into().abi(), wszvalue.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMSetGlobalOptions(eglobaloptions: DRMGLOBALOPTIONS, pvdata: *mut ::core::ffi::c_void, dwlen: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMSetGlobalOptions ( eglobaloptions : DRMGLOBALOPTIONS , pvdata : *mut ::core::ffi::c_void , dwlen : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMSetGlobalOptions ( eglobaloptions : DRMGLOBALOPTIONS , pvdata : *mut ::core::ffi::c_void , dwlen : u32 ) -> :: windows::core::HRESULT ); DRMSetGlobalOptions(eglobaloptions, pvdata, dwlen).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] #[inline] pub unsafe fn DRMSetIntervalTime(hissuancelicense: u32, cdays: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMSetIntervalTime ( hissuancelicense : u32 , cdays : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMSetIntervalTime ( hissuancelicense : u32 , cdays : u32 ) -> :: windows::core::HRESULT ); DRMSetIntervalTime(hissuancelicense, cdays).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -643,7 +643,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMSetMetaData ( hissuancelicense : u32 , wszcontentid : :: windows::core::PCWSTR , wszcontentidtype : :: windows::core::PCWSTR , wszskuid : :: windows::core::PCWSTR , wszskuidtype : :: windows::core::PCWSTR , wszcontenttype : :: windows::core::PCWSTR , wszcontentname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMSetMetaData ( hissuancelicense : u32 , wszcontentid : :: windows::core::PCWSTR , wszcontentidtype : :: windows::core::PCWSTR , wszskuid : :: windows::core::PCWSTR , wszskuidtype : :: windows::core::PCWSTR , wszcontenttype : :: windows::core::PCWSTR , wszcontentname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DRMSetMetaData(hissuancelicense, wszcontentid.into().abi(), wszcontentidtype.into().abi(), wszskuid.into().abi(), wszskuidtype.into().abi(), wszcontenttype.into().abi(), wszcontentname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -655,7 +655,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMSetNameAndDescription ( hissuancelicense : u32 , fdelete : super::super::Foundation:: BOOL , lcid : u32 , wszname : :: windows::core::PCWSTR , wszdescription : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMSetNameAndDescription ( hissuancelicense : u32 , fdelete : super::super::Foundation:: BOOL , lcid : u32 , wszname : :: windows::core::PCWSTR , wszdescription : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DRMSetNameAndDescription(hissuancelicense, fdelete.into(), lcid, wszname.into().abi(), wszdescription.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -670,7 +670,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMSetRevocationPoint ( hissuancelicense : u32 , fdelete : super::super::Foundation:: BOOL , wszid : :: windows::core::PCWSTR , wszidtype : :: windows::core::PCWSTR , wszurl : :: windows::core::PCWSTR , pstfrequency : *mut super::super::Foundation:: SYSTEMTIME , wszname : :: windows::core::PCWSTR , wszpublickey : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMSetRevocationPoint ( hissuancelicense : u32 , fdelete : super::super::Foundation:: BOOL , wszid : :: windows::core::PCWSTR , wszidtype : :: windows::core::PCWSTR , wszurl : :: windows::core::PCWSTR , pstfrequency : *mut super::super::Foundation:: SYSTEMTIME , wszname : :: windows::core::PCWSTR , wszpublickey : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DRMSetRevocationPoint(hissuancelicense, fdelete.into(), wszid.into().abi(), wszidtype.into().abi(), wszurl.into().abi(), pstfrequency, wszname.into().abi(), wszpublickey.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`, `\"Win32_Foundation\"`*"] @@ -686,7 +686,7 @@ where P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMSetUsagePolicy ( hissuancelicense : u32 , eusagepolicytype : DRM_USAGEPOLICY_TYPE , fdelete : super::super::Foundation:: BOOL , fexclusion : super::super::Foundation:: BOOL , wszname : :: windows::core::PCWSTR , wszminversion : :: windows::core::PCWSTR , wszmaxversion : :: windows::core::PCWSTR , wszpublickey : :: windows::core::PCWSTR , wszdigestalgorithm : :: windows::core::PCWSTR , pbdigest : *mut u8 , cbdigest : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMSetUsagePolicy ( hissuancelicense : u32 , eusagepolicytype : DRM_USAGEPOLICY_TYPE , fdelete : super::super::Foundation:: BOOL , fexclusion : super::super::Foundation:: BOOL , wszname : :: windows::core::PCWSTR , wszminversion : :: windows::core::PCWSTR , wszmaxversion : :: windows::core::PCWSTR , wszpublickey : :: windows::core::PCWSTR , wszdigestalgorithm : :: windows::core::PCWSTR , pbdigest : *mut u8 , cbdigest : u32 ) -> :: windows::core::HRESULT ); DRMSetUsagePolicy(hissuancelicense, eusagepolicytype, fdelete.into(), fexclusion.into(), wszname.into().abi(), wszminversion.into().abi(), wszmaxversion.into().abi(), wszpublickey.into().abi(), wszdigestalgorithm.into().abi(), pbdigest, cbdigest).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] @@ -695,7 +695,7 @@ pub unsafe fn DRMVerify(wszdata: P0, pcattesteddata: *mut u32, wszattestedda where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdrm.dll""system" fn DRMVerify ( wszdata : :: windows::core::PCWSTR , pcattesteddata : *mut u32 , wszattesteddata : :: windows::core::PWSTR , petype : *mut DRMATTESTTYPE , pcprincipal : *mut u32 , wszprincipal : :: windows::core::PWSTR , pcmanifest : *mut u32 , wszmanifest : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdrm.dll""system" fn DRMVerify ( wszdata : :: windows::core::PCWSTR , pcattesteddata : *mut u32 , wszattesteddata : :: windows::core::PWSTR , petype : *mut DRMATTESTTYPE , pcprincipal : *mut u32 , wszprincipal : :: windows::core::PWSTR , pcmanifest : *mut u32 , wszmanifest : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DRMVerify(wszdata.into().abi(), pcattesteddata, ::core::mem::transmute(wszattesteddata), petype, pcprincipal, ::core::mem::transmute(wszprincipal), pcmanifest, ::core::mem::transmute(wszmanifest)).ok() } #[doc = "*Required features: `\"Win32_Data_RightsManagement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs index 6468d3cb1e..c23d0f0506 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs @@ -43,7 +43,7 @@ impl IMXAttributes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMXAttributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMXAttributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMXAttributes { fn eq(&self, other: &Self) -> bool { @@ -157,7 +157,7 @@ impl IMXNamespaceManager { (::windows::core::Vtable::vtable(self).getURI)(::windows::core::Vtable::as_raw(self), pwchprefix.into().abi(), pcontextnode.into().abi(), ::core::mem::transmute(pwchuri), pcchuri).ok() } } -::windows::core::interface_hierarchy!(IMXNamespaceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMXNamespaceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMXNamespaceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -227,7 +227,7 @@ impl IMXNamespacePrefixes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMXNamespacePrefixes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMXNamespacePrefixes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMXNamespacePrefixes { fn eq(&self, other: &Self) -> bool { @@ -282,7 +282,7 @@ impl IMXReaderControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMXReaderControl, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMXReaderControl, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMXReaderControl { fn eq(&self, other: &Self) -> bool { @@ -336,7 +336,7 @@ impl IMXSchemaDeclHandler { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMXSchemaDeclHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMXSchemaDeclHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMXSchemaDeclHandler { fn eq(&self, other: &Self) -> bool { @@ -481,7 +481,7 @@ impl IMXWriter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMXWriter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMXWriter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMXWriter { fn eq(&self, other: &Self) -> bool { @@ -642,7 +642,7 @@ impl IMXXMLFilter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMXXMLFilter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMXXMLFilter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMXXMLFilter { fn eq(&self, other: &Self) -> bool { @@ -769,7 +769,7 @@ impl ISAXAttributes { (::windows::core::Vtable::vtable(self).getValueFromQName)(::windows::core::Vtable::as_raw(self), pwchqname.into().abi(), cchqname, ppwchvalue, pcchvalue).ok() } } -::windows::core::interface_hierarchy!(ISAXAttributes, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXAttributes, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXAttributes { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -882,7 +882,7 @@ impl ISAXContentHandler { (::windows::core::Vtable::vtable(self).skippedEntity)(::windows::core::Vtable::as_raw(self), pwchname.into().abi(), cchname).ok() } } -::windows::core::interface_hierarchy!(ISAXContentHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXContentHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXContentHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -943,7 +943,7 @@ impl ISAXDTDHandler { (::windows::core::Vtable::vtable(self).unparsedEntityDecl)(::windows::core::Vtable::as_raw(self), pwchname.into().abi(), cchname, pwchpublicid.into().abi(), cchpublicid, pwchsystemid.into().abi(), cchsystemid, pwchnotationname.into().abi(), cchnotationname).ok() } } -::windows::core::interface_hierarchy!(ISAXDTDHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXDTDHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXDTDHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1010,7 +1010,7 @@ impl ISAXDeclHandler { (::windows::core::Vtable::vtable(self).externalEntityDecl)(::windows::core::Vtable::as_raw(self), pwchname.into().abi(), cchname, pwchpublicid.into().abi(), cchpublicid, pwchsystemid.into().abi(), cchsystemid).ok() } } -::windows::core::interface_hierarchy!(ISAXDeclHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXDeclHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXDeclHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1057,7 +1057,7 @@ impl ISAXEntityResolver { (::windows::core::Vtable::vtable(self).resolveEntity)(::windows::core::Vtable::as_raw(self), pwchpublicid.into().abi(), pwchsystemid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISAXEntityResolver, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXEntityResolver, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXEntityResolver { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1115,7 +1115,7 @@ impl ISAXErrorHandler { (::windows::core::Vtable::vtable(self).ignorableWarning)(::windows::core::Vtable::as_raw(self), plocator.into().abi(), pwcherrormessage.into().abi(), hrerrorcode).ok() } } -::windows::core::interface_hierarchy!(ISAXErrorHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXErrorHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXErrorHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1186,7 +1186,7 @@ impl ISAXLexicalHandler { (::windows::core::Vtable::vtable(self).comment)(::windows::core::Vtable::as_raw(self), pwchchars.into().abi(), cchchars).ok() } } -::windows::core::interface_hierarchy!(ISAXLexicalHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXLexicalHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXLexicalHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1242,7 +1242,7 @@ impl ISAXLocator { (::windows::core::Vtable::vtable(self).getSystemId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISAXLocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXLocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXLocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1395,7 +1395,7 @@ impl ISAXXMLFilter { (::windows::core::Vtable::vtable(self).putParent)(::windows::core::Vtable::as_raw(self), preader.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISAXXMLFilter, ::windows::core::IUnknown, ISAXXMLReader); +::windows::imp::interface_hierarchy!(ISAXXMLFilter, ::windows::core::IUnknown, ISAXXMLReader); impl ::core::cmp::PartialEq for ISAXXMLFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1536,7 +1536,7 @@ impl ISAXXMLReader { (::windows::core::Vtable::vtable(self).parseURL)(::windows::core::Vtable::as_raw(self), pwchurl.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISAXXMLReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISAXXMLReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISAXXMLReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1692,7 +1692,7 @@ impl ISchema { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchema, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); +::windows::imp::interface_hierarchy!(ISchema, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchema { fn eq(&self, other: &Self) -> bool { @@ -1824,7 +1824,7 @@ impl ISchemaAny { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaAny, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); +::windows::imp::interface_hierarchy!(ISchemaAny, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaAny { fn eq(&self, other: &Self) -> bool { @@ -1939,7 +1939,7 @@ impl ISchemaAttribute { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); +::windows::imp::interface_hierarchy!(ISchemaAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaAttribute { fn eq(&self, other: &Self) -> bool { @@ -2046,7 +2046,7 @@ impl ISchemaAttributeGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaAttributeGroup, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); +::windows::imp::interface_hierarchy!(ISchemaAttributeGroup, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaAttributeGroup { fn eq(&self, other: &Self) -> bool { @@ -2252,7 +2252,7 @@ impl ISchemaComplexType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaComplexType, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaType); +::windows::imp::interface_hierarchy!(ISchemaComplexType, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaType); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaComplexType { fn eq(&self, other: &Self) -> bool { @@ -2420,7 +2420,7 @@ impl ISchemaElement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaElement, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); +::windows::imp::interface_hierarchy!(ISchemaElement, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaElement { fn eq(&self, other: &Self) -> bool { @@ -2548,7 +2548,7 @@ impl ISchemaIdentityConstraint { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaIdentityConstraint, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); +::windows::imp::interface_hierarchy!(ISchemaIdentityConstraint, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaIdentityConstraint { fn eq(&self, other: &Self) -> bool { @@ -2637,7 +2637,7 @@ impl ISchemaItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaItem, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISchemaItem, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaItem { fn eq(&self, other: &Self) -> bool { @@ -2722,7 +2722,7 @@ impl ISchemaItemCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaItemCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISchemaItemCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaItemCollection { fn eq(&self, other: &Self) -> bool { @@ -2834,7 +2834,7 @@ impl ISchemaModelGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaModelGroup, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); +::windows::imp::interface_hierarchy!(ISchemaModelGroup, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaModelGroup { fn eq(&self, other: &Self) -> bool { @@ -2926,7 +2926,7 @@ impl ISchemaNotation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaNotation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); +::windows::imp::interface_hierarchy!(ISchemaNotation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaNotation { fn eq(&self, other: &Self) -> bool { @@ -3020,7 +3020,7 @@ impl ISchemaParticle { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaParticle, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); +::windows::imp::interface_hierarchy!(ISchemaParticle, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaParticle { fn eq(&self, other: &Self) -> bool { @@ -3083,7 +3083,7 @@ impl ISchemaStringCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaStringCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISchemaStringCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaStringCollection { fn eq(&self, other: &Self) -> bool { @@ -3252,7 +3252,7 @@ impl ISchemaType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchemaType, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); +::windows::imp::interface_hierarchy!(ISchemaType, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchemaType { fn eq(&self, other: &Self) -> bool { @@ -3425,7 +3425,7 @@ impl IServerXMLHTTPRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IServerXMLHTTPRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest); +::windows::imp::interface_hierarchy!(IServerXMLHTTPRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IServerXMLHTTPRequest { fn eq(&self, other: &Self) -> bool { @@ -3575,7 +3575,7 @@ impl IServerXMLHTTPRequest2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IServerXMLHTTPRequest2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest, IServerXMLHTTPRequest); +::windows::imp::interface_hierarchy!(IServerXMLHTTPRequest2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest, IServerXMLHTTPRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IServerXMLHTTPRequest2 { fn eq(&self, other: &Self) -> bool { @@ -3685,7 +3685,7 @@ impl IVBMXNamespaceManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBMXNamespaceManager, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBMXNamespaceManager, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBMXNamespaceManager { fn eq(&self, other: &Self) -> bool { @@ -3808,7 +3808,7 @@ impl IVBSAXAttributes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXAttributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXAttributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXAttributes { fn eq(&self, other: &Self) -> bool { @@ -3906,7 +3906,7 @@ impl IVBSAXContentHandler { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXContentHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXContentHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXContentHandler { fn eq(&self, other: &Self) -> bool { @@ -3972,7 +3972,7 @@ impl IVBSAXDTDHandler { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXDTDHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXDTDHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXDTDHandler { fn eq(&self, other: &Self) -> bool { @@ -4029,7 +4029,7 @@ impl IVBSAXDeclHandler { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXDeclHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXDeclHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXDeclHandler { fn eq(&self, other: &Self) -> bool { @@ -4081,7 +4081,7 @@ impl IVBSAXEntityResolver { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXEntityResolver, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXEntityResolver, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXEntityResolver { fn eq(&self, other: &Self) -> bool { @@ -4152,7 +4152,7 @@ impl IVBSAXErrorHandler { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXErrorHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXErrorHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXErrorHandler { fn eq(&self, other: &Self) -> bool { @@ -4228,7 +4228,7 @@ impl IVBSAXLexicalHandler { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXLexicalHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXLexicalHandler, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXLexicalHandler { fn eq(&self, other: &Self) -> bool { @@ -4294,7 +4294,7 @@ impl IVBSAXLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXLocator, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXLocator, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXLocator { fn eq(&self, other: &Self) -> bool { @@ -4355,7 +4355,7 @@ impl IVBSAXXMLFilter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXXMLFilter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXXMLFilter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXXMLFilter { fn eq(&self, other: &Self) -> bool { @@ -4509,7 +4509,7 @@ impl IVBSAXXMLReader { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVBSAXXMLReader, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVBSAXXMLReader, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVBSAXXMLReader { fn eq(&self, other: &Self) -> bool { @@ -4617,7 +4617,7 @@ impl IXMLAttribute { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLAttribute { fn eq(&self, other: &Self) -> bool { @@ -4873,7 +4873,7 @@ impl IXMLDOMAttribute { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMAttribute { fn eq(&self, other: &Self) -> bool { @@ -5153,7 +5153,7 @@ impl IXMLDOMCDATASection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMCDATASection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData, IXMLDOMText); +::windows::imp::interface_hierarchy!(IXMLDOMCDATASection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData, IXMLDOMText); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMCDATASection { fn eq(&self, other: &Self) -> bool { @@ -5418,7 +5418,7 @@ impl IXMLDOMCharacterData { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMCharacterData, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMCharacterData, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMCharacterData { fn eq(&self, other: &Self) -> bool { @@ -5691,7 +5691,7 @@ impl IXMLDOMComment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMComment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData); +::windows::imp::interface_hierarchy!(IXMLDOMComment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMComment { fn eq(&self, other: &Self) -> bool { @@ -6121,7 +6121,7 @@ impl IXMLDOMDocument { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMDocument, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMDocument, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMDocument { fn eq(&self, other: &Self) -> bool { @@ -6708,7 +6708,7 @@ impl IXMLDOMDocument2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMDocument2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMDocument); +::windows::imp::interface_hierarchy!(IXMLDOMDocument2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMDocument); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMDocument2 { fn eq(&self, other: &Self) -> bool { @@ -7215,7 +7215,7 @@ impl IXMLDOMDocument3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMDocument3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMDocument, IXMLDOMDocument2); +::windows::imp::interface_hierarchy!(IXMLDOMDocument3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMDocument, IXMLDOMDocument2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMDocument3 { fn eq(&self, other: &Self) -> bool { @@ -7464,7 +7464,7 @@ impl IXMLDOMDocumentFragment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMDocumentFragment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMDocumentFragment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMDocumentFragment { fn eq(&self, other: &Self) -> bool { @@ -7720,7 +7720,7 @@ impl IXMLDOMDocumentType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMDocumentType, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMDocumentType, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMDocumentType { fn eq(&self, other: &Self) -> bool { @@ -8019,7 +8019,7 @@ impl IXMLDOMElement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMElement, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMElement, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMElement { fn eq(&self, other: &Self) -> bool { @@ -8300,7 +8300,7 @@ impl IXMLDOMEntity { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMEntity, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMEntity, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMEntity { fn eq(&self, other: &Self) -> bool { @@ -8550,7 +8550,7 @@ impl IXMLDOMEntityReference { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMEntityReference, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMEntityReference, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMEntityReference { fn eq(&self, other: &Self) -> bool { @@ -8598,7 +8598,7 @@ impl IXMLDOMImplementation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMImplementation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDOMImplementation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMImplementation { fn eq(&self, other: &Self) -> bool { @@ -8700,7 +8700,7 @@ impl IXMLDOMNamedNodeMap { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMNamedNodeMap, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDOMNamedNodeMap, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMNamedNodeMap { fn eq(&self, other: &Self) -> bool { @@ -8972,7 +8972,7 @@ impl IXMLDOMNode { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMNode, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDOMNode, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMNode { fn eq(&self, other: &Self) -> bool { @@ -9151,7 +9151,7 @@ impl IXMLDOMNodeList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMNodeList, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDOMNodeList, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMNodeList { fn eq(&self, other: &Self) -> bool { @@ -9413,7 +9413,7 @@ impl IXMLDOMNotation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMNotation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMNotation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMNotation { fn eq(&self, other: &Self) -> bool { @@ -9485,7 +9485,7 @@ impl IXMLDOMParseError { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMParseError, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDOMParseError, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMParseError { fn eq(&self, other: &Self) -> bool { @@ -9574,7 +9574,7 @@ impl IXMLDOMParseError2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMParseError2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMParseError); +::windows::imp::interface_hierarchy!(IXMLDOMParseError2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMParseError); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMParseError2 { fn eq(&self, other: &Self) -> bool { @@ -9647,7 +9647,7 @@ impl IXMLDOMParseErrorCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMParseErrorCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDOMParseErrorCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMParseErrorCollection { fn eq(&self, other: &Self) -> bool { @@ -9908,7 +9908,7 @@ impl IXMLDOMProcessingInstruction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMProcessingInstruction, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXMLDOMProcessingInstruction, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMProcessingInstruction { fn eq(&self, other: &Self) -> bool { @@ -9988,7 +9988,7 @@ impl IXMLDOMSchemaCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMSchemaCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDOMSchemaCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMSchemaCollection { fn eq(&self, other: &Self) -> bool { @@ -10113,7 +10113,7 @@ impl IXMLDOMSchemaCollection2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMSchemaCollection2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMSchemaCollection); +::windows::imp::interface_hierarchy!(IXMLDOMSchemaCollection2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMSchemaCollection); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMSchemaCollection2 { fn eq(&self, other: &Self) -> bool { @@ -10257,7 +10257,7 @@ impl IXMLDOMSelection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMSelection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNodeList); +::windows::imp::interface_hierarchy!(IXMLDOMSelection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNodeList); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMSelection { fn eq(&self, other: &Self) -> bool { @@ -10563,7 +10563,7 @@ impl IXMLDOMText { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDOMText, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData); +::windows::imp::interface_hierarchy!(IXMLDOMText, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDOMText { fn eq(&self, other: &Self) -> bool { @@ -10640,7 +10640,7 @@ impl IXMLDSOControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDSOControl, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDSOControl, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDSOControl { fn eq(&self, other: &Self) -> bool { @@ -10758,7 +10758,7 @@ impl IXMLDocument { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDocument, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDocument, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDocument { fn eq(&self, other: &Self) -> bool { @@ -10893,7 +10893,7 @@ impl IXMLDocument2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLDocument2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLDocument2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLDocument2 { fn eq(&self, other: &Self) -> bool { @@ -11024,7 +11024,7 @@ impl IXMLElement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLElement, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLElement, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLElement { fn eq(&self, other: &Self) -> bool { @@ -11163,7 +11163,7 @@ impl IXMLElement2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLElement2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLElement2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLElement2 { fn eq(&self, other: &Self) -> bool { @@ -11257,7 +11257,7 @@ impl IXMLElementCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLElementCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLElementCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLElementCollection { fn eq(&self, other: &Self) -> bool { @@ -11307,7 +11307,7 @@ impl IXMLError { (::windows::core::Vtable::vtable(self).GetErrorInfo)(::windows::core::Vtable::as_raw(self), perrorreturn).ok() } } -::windows::core::interface_hierarchy!(IXMLError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXMLError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXMLError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11410,7 +11410,7 @@ impl IXMLHTTPRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLHTTPRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLHTTPRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLHTTPRequest { fn eq(&self, other: &Self) -> bool { @@ -11549,7 +11549,7 @@ impl IXMLHTTPRequest2 { (::windows::core::Vtable::vtable(self).GetResponseHeader)(::windows::core::Vtable::as_raw(self), pwszheader.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXMLHTTPRequest2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXMLHTTPRequest2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXMLHTTPRequest2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11642,7 +11642,7 @@ impl IXMLHTTPRequest2Callback { (::windows::core::Vtable::vtable(self).OnError)(::windows::core::Vtable::as_raw(self), pxhr.into().abi(), hrerror).ok() } } -::windows::core::interface_hierarchy!(IXMLHTTPRequest2Callback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXMLHTTPRequest2Callback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXMLHTTPRequest2Callback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11759,7 +11759,7 @@ impl IXMLHTTPRequest3 { (::windows::core::Vtable::vtable(self).SetClientCertificate)(::windows::core::Vtable::as_raw(self), pbclientcertificatehash.len() as _, ::core::mem::transmute(pbclientcertificatehash.as_ptr()), pwszpin.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXMLHTTPRequest3, ::windows::core::IUnknown, IXMLHTTPRequest2); +::windows::imp::interface_hierarchy!(IXMLHTTPRequest3, ::windows::core::IUnknown, IXMLHTTPRequest2); impl ::core::cmp::PartialEq for IXMLHTTPRequest3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11843,7 +11843,7 @@ impl IXMLHTTPRequest3Callback { (::windows::core::Vtable::vtable(self).OnClientCertificateRequested)(::windows::core::Vtable::as_raw(self), pxhr.into().abi(), rgpwszissuerlist.len() as _, ::core::mem::transmute(rgpwszissuerlist.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IXMLHTTPRequest3Callback, ::windows::core::IUnknown, IXMLHTTPRequest2Callback); +::windows::imp::interface_hierarchy!(IXMLHTTPRequest3Callback, ::windows::core::IUnknown, IXMLHTTPRequest2Callback); impl ::core::cmp::PartialEq for IXMLHTTPRequest3Callback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11947,7 +11947,7 @@ impl IXMLHttpRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXMLHttpRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXMLHttpRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXMLHttpRequest { fn eq(&self, other: &Self) -> bool { @@ -12093,7 +12093,7 @@ impl IXSLProcessor { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXSLProcessor, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXSLProcessor, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXSLProcessor { fn eq(&self, other: &Self) -> bool { @@ -12197,7 +12197,7 @@ impl IXSLTemplate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXSLTemplate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXSLTemplate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXSLTemplate { fn eq(&self, other: &Self) -> bool { @@ -12506,7 +12506,7 @@ impl IXTLRuntime { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXTLRuntime, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +::windows::imp::interface_hierarchy!(IXTLRuntime, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXTLRuntime { fn eq(&self, other: &Self) -> bool { @@ -12578,7 +12578,7 @@ pub struct XMLDOMDocumentEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl XMLDOMDocumentEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(XMLDOMDocumentEvents, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(XMLDOMDocumentEvents, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for XMLDOMDocumentEvents { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs index 807d6af286..267dd2c92f 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn CreateXmlReader(riid: *const ::windows::core::GUID, ppvobject: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "xmllite.dll""system" fn CreateXmlReader ( riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xmllite.dll""system" fn CreateXmlReader ( riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateXmlReader(riid, ppvobject, pmalloc.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -18,7 +18,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "xmllite.dll""system" fn CreateXmlReaderInputWithEncodingCodePage ( pinputstream : * mut::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void , nencodingcodepage : u32 , fencodinghint : super::super::super::Foundation:: BOOL , pwszbaseuri : :: windows::core::PCWSTR , ppinput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xmllite.dll""system" fn CreateXmlReaderInputWithEncodingCodePage ( pinputstream : * mut::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void , nencodingcodepage : u32 , fencodinghint : super::super::super::Foundation:: BOOL , pwszbaseuri : :: windows::core::PCWSTR , ppinput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CreateXmlReaderInputWithEncodingCodePage(pinputstream.into().abi(), pmalloc.into().abi(), nencodingcodepage, fencodinghint.into(), pwszbaseuri.into().abi(), &mut result__).from_abi(result__) } @@ -33,7 +33,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "xmllite.dll""system" fn CreateXmlReaderInputWithEncodingName ( pinputstream : * mut::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void , pwszencodingname : :: windows::core::PCWSTR , fencodinghint : super::super::super::Foundation:: BOOL , pwszbaseuri : :: windows::core::PCWSTR , ppinput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xmllite.dll""system" fn CreateXmlReaderInputWithEncodingName ( pinputstream : * mut::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void , pwszencodingname : :: windows::core::PCWSTR , fencodinghint : super::super::super::Foundation:: BOOL , pwszbaseuri : :: windows::core::PCWSTR , ppinput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CreateXmlReaderInputWithEncodingName(pinputstream.into().abi(), pmalloc.into().abi(), pwszencodingname.into().abi(), fencodinghint.into(), pwszbaseuri.into().abi(), &mut result__).from_abi(result__) } @@ -44,7 +44,7 @@ pub unsafe fn CreateXmlWriter(riid: *const ::windows::core::GUID, ppvobject: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "xmllite.dll""system" fn CreateXmlWriter ( riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xmllite.dll""system" fn CreateXmlWriter ( riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateXmlWriter(riid, ppvobject, pmalloc.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_System_Com\"`*"] @@ -55,7 +55,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "xmllite.dll""system" fn CreateXmlWriterOutputWithEncodingCodePage ( poutputstream : * mut::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void , nencodingcodepage : u32 , ppoutput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xmllite.dll""system" fn CreateXmlWriterOutputWithEncodingCodePage ( poutputstream : * mut::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void , nencodingcodepage : u32 , ppoutput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CreateXmlWriterOutputWithEncodingCodePage(poutputstream.into().abi(), pmalloc.into().abi(), nencodingcodepage, &mut result__).from_abi(result__) } @@ -68,7 +68,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "xmllite.dll""system" fn CreateXmlWriterOutputWithEncodingName ( poutputstream : * mut::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void , pwszencodingname : :: windows::core::PCWSTR , ppoutput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xmllite.dll""system" fn CreateXmlWriterOutputWithEncodingName ( poutputstream : * mut::core::ffi::c_void , pmalloc : * mut::core::ffi::c_void , pwszencodingname : :: windows::core::PCWSTR , ppoutput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CreateXmlWriterOutputWithEncodingName(poutputstream.into().abi(), pmalloc.into().abi(), pwszencodingname.into().abi(), &mut result__).from_abi(result__) } @@ -165,7 +165,7 @@ impl IXmlReader { (::windows::core::Vtable::vtable(self).IsEOF)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IXmlReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXmlReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXmlReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -239,7 +239,7 @@ impl IXmlResolver { (::windows::core::Vtable::vtable(self).ResolveUri)(::windows::core::Vtable::as_raw(self), pwszbaseuri.into().abi(), pwszpublicidentifier.into().abi(), pwszsystemidentifier.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXmlResolver, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXmlResolver, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXmlResolver { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -437,7 +437,7 @@ impl IXmlWriter { (::windows::core::Vtable::vtable(self).Flush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IXmlWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXmlWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXmlWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -651,7 +651,7 @@ impl IXmlWriterLite { (::windows::core::Vtable::vtable(self).Flush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IXmlWriterLite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXmlWriterLite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXmlWriterLite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs index d90c87bbc8..2c0679b1eb 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn AllJoynAcceptBusConnection ( serverbushandle : super::super::Foundation:: HANDLE , abortevent : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn AllJoynAcceptBusConnection ( serverbushandle : super::super::Foundation:: HANDLE , abortevent : super::super::Foundation:: HANDLE ) -> u32 ); AllJoynAcceptBusConnection(serverbushandle.into(), abortevent.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] @@ -16,7 +16,7 @@ pub unsafe fn AllJoynCloseBusHandle(bushandle: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn AllJoynCloseBusHandle ( bushandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msajapi.dll""system" fn AllJoynCloseBusHandle ( bushandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); AllJoynCloseBusHandle(bushandle.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] @@ -26,15 +26,15 @@ pub unsafe fn AllJoynConnectToBus(connectionspec: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn AllJoynConnectToBus ( connectionspec : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "msajapi.dll""system" fn AllJoynConnectToBus ( connectionspec : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = AllJoynConnectToBus(connectionspec.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn AllJoynCreateBus(outbuffersize: u32, inbuffersize: u32, lpsecurityattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "msajapi.dll""system" fn AllJoynCreateBus ( outbuffersize : u32 , inbuffersize : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "msajapi.dll""system" fn AllJoynCreateBus ( outbuffersize : u32 , inbuffersize : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); AllJoynCreateBus(outbuffersize, inbuffersize, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] @@ -45,7 +45,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn AllJoynEnumEvents ( connectedbushandle : super::super::Foundation:: HANDLE , eventtoreset : super::super::Foundation:: HANDLE , eventtypes : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msajapi.dll""system" fn AllJoynEnumEvents ( connectedbushandle : super::super::Foundation:: HANDLE , eventtoreset : super::super::Foundation:: HANDLE , eventtypes : *mut u32 ) -> super::super::Foundation:: BOOL ); AllJoynEnumEvents(connectedbushandle.into(), eventtoreset.into(), eventtypes) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] @@ -56,7 +56,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn AllJoynEventSelect ( connectedbushandle : super::super::Foundation:: HANDLE , eventhandle : super::super::Foundation:: HANDLE , eventtypes : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msajapi.dll""system" fn AllJoynEventSelect ( connectedbushandle : super::super::Foundation:: HANDLE , eventhandle : super::super::Foundation:: HANDLE , eventtypes : u32 ) -> super::super::Foundation:: BOOL ); AllJoynEventSelect(connectedbushandle.into(), eventhandle.into(), eventtypes) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] @@ -66,7 +66,7 @@ pub unsafe fn AllJoynReceiveFromBus(connectedbushandle: P0, buffer: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn AllJoynReceiveFromBus ( connectedbushandle : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bytestoread : u32 , bytestransferred : *mut u32 , reserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msajapi.dll""system" fn AllJoynReceiveFromBus ( connectedbushandle : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bytestoread : u32 , bytestransferred : *mut u32 , reserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); AllJoynReceiveFromBus(connectedbushandle.into(), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), bytestoread, ::core::mem::transmute(bytestransferred.unwrap_or(::std::ptr::null_mut())), reserved) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`, `\"Win32_Foundation\"`*"] @@ -76,13 +76,13 @@ pub unsafe fn AllJoynSendToBus(connectedbushandle: P0, buffer: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn AllJoynSendToBus ( connectedbushandle : super::super::Foundation:: HANDLE , buffer : *const ::core::ffi::c_void , bytestowrite : u32 , bytestransferred : *mut u32 , reserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msajapi.dll""system" fn AllJoynSendToBus ( connectedbushandle : super::super::Foundation:: HANDLE , buffer : *const ::core::ffi::c_void , bytestowrite : u32 , bytestransferred : *mut u32 , reserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); AllJoynSendToBus(connectedbushandle.into(), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), bytestowrite, ::core::mem::transmute(bytestransferred.unwrap_or(::std::ptr::null_mut())), reserved) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn QCC_StatusText(status: QStatus) -> ::windows::core::PSTR { - ::windows::core::link ! ( "msajapi.dll""system" fn QCC_StatusText ( status : QStatus ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn QCC_StatusText ( status : QStatus ) -> :: windows::core::PSTR ); QCC_StatusText(status) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -91,13 +91,13 @@ pub unsafe fn alljoyn_aboutdata_create(defaultlanguage: P0) -> alljoyn_about where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_create ( defaultlanguage : :: windows::core::PCSTR ) -> alljoyn_aboutdata ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_create ( defaultlanguage : :: windows::core::PCSTR ) -> alljoyn_aboutdata ); alljoyn_aboutdata_create(defaultlanguage.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_aboutdata_create_empty() -> alljoyn_aboutdata { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_create_empty ( ) -> alljoyn_aboutdata ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_create_empty ( ) -> alljoyn_aboutdata ); alljoyn_aboutdata_create_empty() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -107,7 +107,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_create_full ( arg : alljoyn_msgarg , language : :: windows::core::PCSTR ) -> alljoyn_aboutdata ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_create_full ( arg : alljoyn_msgarg , language : :: windows::core::PCSTR ) -> alljoyn_aboutdata ); alljoyn_aboutdata_create_full(arg.into(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -118,7 +118,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_createfrommsgarg ( data : alljoyn_aboutdata , arg : alljoyn_msgarg , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_createfrommsgarg ( data : alljoyn_aboutdata , arg : alljoyn_msgarg , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_createfrommsgarg(data.into(), arg.into(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -128,7 +128,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_createfromxml ( data : alljoyn_aboutdata , aboutdataxml : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_createfromxml ( data : alljoyn_aboutdata , aboutdataxml : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_createfromxml(data.into(), aboutdataxml.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -137,7 +137,7 @@ pub unsafe fn alljoyn_aboutdata_destroy(data: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_destroy ( data : alljoyn_aboutdata ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_destroy ( data : alljoyn_aboutdata ) -> ( ) ); alljoyn_aboutdata_destroy(data.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -148,7 +148,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getaboutdata ( data : alljoyn_aboutdata , msgarg : alljoyn_msgarg , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getaboutdata ( data : alljoyn_aboutdata , msgarg : alljoyn_msgarg , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_getaboutdata(data.into(), msgarg.into(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -157,7 +157,7 @@ pub unsafe fn alljoyn_aboutdata_getajsoftwareversion(data: P0, ajsoftwarever where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getajsoftwareversion ( data : alljoyn_aboutdata , ajsoftwareversion : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getajsoftwareversion ( data : alljoyn_aboutdata , ajsoftwareversion : *mut *mut i8 ) -> QStatus ); alljoyn_aboutdata_getajsoftwareversion(data.into(), ajsoftwareversion) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -167,7 +167,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getannouncedaboutdata ( data : alljoyn_aboutdata , msgarg : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getannouncedaboutdata ( data : alljoyn_aboutdata , msgarg : alljoyn_msgarg ) -> QStatus ); alljoyn_aboutdata_getannouncedaboutdata(data.into(), msgarg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -176,7 +176,7 @@ pub unsafe fn alljoyn_aboutdata_getappid(data: P0, appid: *mut *mut u8, num: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getappid ( data : alljoyn_aboutdata , appid : *mut *mut u8 , num : *mut usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getappid ( data : alljoyn_aboutdata , appid : *mut *mut u8 , num : *mut usize ) -> QStatus ); alljoyn_aboutdata_getappid(data.into(), appid, num) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -186,7 +186,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getappname ( data : alljoyn_aboutdata , appname : *mut *mut i8 , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getappname ( data : alljoyn_aboutdata , appname : *mut *mut i8 , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_getappname(data.into(), appname, language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -195,7 +195,7 @@ pub unsafe fn alljoyn_aboutdata_getdateofmanufacture(data: P0, dateofmanufac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdateofmanufacture ( data : alljoyn_aboutdata , dateofmanufacture : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdateofmanufacture ( data : alljoyn_aboutdata , dateofmanufacture : *mut *mut i8 ) -> QStatus ); alljoyn_aboutdata_getdateofmanufacture(data.into(), dateofmanufacture) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -204,7 +204,7 @@ pub unsafe fn alljoyn_aboutdata_getdefaultlanguage(data: P0, defaultlanguage where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdefaultlanguage ( data : alljoyn_aboutdata , defaultlanguage : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdefaultlanguage ( data : alljoyn_aboutdata , defaultlanguage : *mut *mut i8 ) -> QStatus ); alljoyn_aboutdata_getdefaultlanguage(data.into(), defaultlanguage) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -214,7 +214,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdescription ( data : alljoyn_aboutdata , description : *mut *mut i8 , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdescription ( data : alljoyn_aboutdata , description : *mut *mut i8 , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_getdescription(data.into(), description, language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -223,7 +223,7 @@ pub unsafe fn alljoyn_aboutdata_getdeviceid(data: P0, deviceid: *mut *mut i8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdeviceid ( data : alljoyn_aboutdata , deviceid : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdeviceid ( data : alljoyn_aboutdata , deviceid : *mut *mut i8 ) -> QStatus ); alljoyn_aboutdata_getdeviceid(data.into(), deviceid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -233,7 +233,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdevicename ( data : alljoyn_aboutdata , devicename : *mut *mut i8 , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getdevicename ( data : alljoyn_aboutdata , devicename : *mut *mut i8 , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_getdevicename(data.into(), devicename, language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -244,7 +244,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getfield ( data : alljoyn_aboutdata , name : :: windows::core::PCSTR , value : *mut alljoyn_msgarg , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getfield ( data : alljoyn_aboutdata , name : :: windows::core::PCSTR , value : *mut alljoyn_msgarg , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_getfield(data.into(), name.into().abi(), value, language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -253,7 +253,7 @@ pub unsafe fn alljoyn_aboutdata_getfields(data: P0, fields: *const *const i8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getfields ( data : alljoyn_aboutdata , fields : *const *const i8 , num_fields : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getfields ( data : alljoyn_aboutdata , fields : *const *const i8 , num_fields : usize ) -> usize ); alljoyn_aboutdata_getfields(data.into(), fields, num_fields) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -263,7 +263,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getfieldsignature ( data : alljoyn_aboutdata , fieldname : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getfieldsignature ( data : alljoyn_aboutdata , fieldname : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); alljoyn_aboutdata_getfieldsignature(data.into(), fieldname.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -272,7 +272,7 @@ pub unsafe fn alljoyn_aboutdata_gethardwareversion(data: P0, hardwareversion where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_gethardwareversion ( data : alljoyn_aboutdata , hardwareversion : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_gethardwareversion ( data : alljoyn_aboutdata , hardwareversion : *mut *mut i8 ) -> QStatus ); alljoyn_aboutdata_gethardwareversion(data.into(), hardwareversion) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -282,7 +282,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getmanufacturer ( data : alljoyn_aboutdata , manufacturer : *mut *mut i8 , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getmanufacturer ( data : alljoyn_aboutdata , manufacturer : *mut *mut i8 , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_getmanufacturer(data.into(), manufacturer, language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -291,7 +291,7 @@ pub unsafe fn alljoyn_aboutdata_getmodelnumber(data: P0, modelnumber: *mut * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getmodelnumber ( data : alljoyn_aboutdata , modelnumber : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getmodelnumber ( data : alljoyn_aboutdata , modelnumber : *mut *mut i8 ) -> QStatus ); alljoyn_aboutdata_getmodelnumber(data.into(), modelnumber) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -300,7 +300,7 @@ pub unsafe fn alljoyn_aboutdata_getsoftwareversion(data: P0, softwareversion where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getsoftwareversion ( data : alljoyn_aboutdata , softwareversion : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getsoftwareversion ( data : alljoyn_aboutdata , softwareversion : *mut *mut i8 ) -> QStatus ); alljoyn_aboutdata_getsoftwareversion(data.into(), softwareversion) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -309,7 +309,7 @@ pub unsafe fn alljoyn_aboutdata_getsupportedlanguages(data: P0, languagetags where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getsupportedlanguages ( data : alljoyn_aboutdata , languagetags : *const *const i8 , num : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getsupportedlanguages ( data : alljoyn_aboutdata , languagetags : *const *const i8 , num : usize ) -> usize ); alljoyn_aboutdata_getsupportedlanguages(data.into(), languagetags, num) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -318,7 +318,7 @@ pub unsafe fn alljoyn_aboutdata_getsupporturl(data: P0, supporturl: *mut *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getsupporturl ( data : alljoyn_aboutdata , supporturl : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_getsupporturl ( data : alljoyn_aboutdata , supporturl : *mut *mut i8 ) -> QStatus ); alljoyn_aboutdata_getsupporturl(data.into(), supporturl) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -328,7 +328,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_isfieldannounced ( data : alljoyn_aboutdata , fieldname : :: windows::core::PCSTR ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_isfieldannounced ( data : alljoyn_aboutdata , fieldname : :: windows::core::PCSTR ) -> u8 ); alljoyn_aboutdata_isfieldannounced(data.into(), fieldname.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -338,7 +338,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_isfieldlocalized ( data : alljoyn_aboutdata , fieldname : :: windows::core::PCSTR ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_isfieldlocalized ( data : alljoyn_aboutdata , fieldname : :: windows::core::PCSTR ) -> u8 ); alljoyn_aboutdata_isfieldlocalized(data.into(), fieldname.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -348,7 +348,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_isfieldrequired ( data : alljoyn_aboutdata , fieldname : :: windows::core::PCSTR ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_isfieldrequired ( data : alljoyn_aboutdata , fieldname : :: windows::core::PCSTR ) -> u8 ); alljoyn_aboutdata_isfieldrequired(data.into(), fieldname.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -358,7 +358,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_isvalid ( data : alljoyn_aboutdata , language : :: windows::core::PCSTR ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_isvalid ( data : alljoyn_aboutdata , language : :: windows::core::PCSTR ) -> u8 ); alljoyn_aboutdata_isvalid(data.into(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -367,7 +367,7 @@ pub unsafe fn alljoyn_aboutdata_setappid(data: P0, appid: *const u8, num: us where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setappid ( data : alljoyn_aboutdata , appid : *const u8 , num : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setappid ( data : alljoyn_aboutdata , appid : *const u8 , num : usize ) -> QStatus ); alljoyn_aboutdata_setappid(data.into(), appid, num) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -377,7 +377,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setappid_fromstring ( data : alljoyn_aboutdata , appid : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setappid_fromstring ( data : alljoyn_aboutdata , appid : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setappid_fromstring(data.into(), appid.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -388,7 +388,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setappname ( data : alljoyn_aboutdata , appname : :: windows::core::PCSTR , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setappname ( data : alljoyn_aboutdata , appname : :: windows::core::PCSTR , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setappname(data.into(), appname.into().abi(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -398,7 +398,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdateofmanufacture ( data : alljoyn_aboutdata , dateofmanufacture : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdateofmanufacture ( data : alljoyn_aboutdata , dateofmanufacture : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setdateofmanufacture(data.into(), dateofmanufacture.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -408,7 +408,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdefaultlanguage ( data : alljoyn_aboutdata , defaultlanguage : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdefaultlanguage ( data : alljoyn_aboutdata , defaultlanguage : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setdefaultlanguage(data.into(), defaultlanguage.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -419,7 +419,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdescription ( data : alljoyn_aboutdata , description : :: windows::core::PCSTR , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdescription ( data : alljoyn_aboutdata , description : :: windows::core::PCSTR , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setdescription(data.into(), description.into().abi(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -429,7 +429,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdeviceid ( data : alljoyn_aboutdata , deviceid : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdeviceid ( data : alljoyn_aboutdata , deviceid : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setdeviceid(data.into(), deviceid.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -440,7 +440,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdevicename ( data : alljoyn_aboutdata , devicename : :: windows::core::PCSTR , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setdevicename ( data : alljoyn_aboutdata , devicename : :: windows::core::PCSTR , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setdevicename(data.into(), devicename.into().abi(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -452,7 +452,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setfield ( data : alljoyn_aboutdata , name : :: windows::core::PCSTR , value : alljoyn_msgarg , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setfield ( data : alljoyn_aboutdata , name : :: windows::core::PCSTR , value : alljoyn_msgarg , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setfield(data.into(), name.into().abi(), value.into(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -462,7 +462,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_sethardwareversion ( data : alljoyn_aboutdata , hardwareversion : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_sethardwareversion ( data : alljoyn_aboutdata , hardwareversion : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_sethardwareversion(data.into(), hardwareversion.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -473,7 +473,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setmanufacturer ( data : alljoyn_aboutdata , manufacturer : :: windows::core::PCSTR , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setmanufacturer ( data : alljoyn_aboutdata , manufacturer : :: windows::core::PCSTR , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setmanufacturer(data.into(), manufacturer.into().abi(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -483,7 +483,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setmodelnumber ( data : alljoyn_aboutdata , modelnumber : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setmodelnumber ( data : alljoyn_aboutdata , modelnumber : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setmodelnumber(data.into(), modelnumber.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -493,7 +493,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setsoftwareversion ( data : alljoyn_aboutdata , softwareversion : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setsoftwareversion ( data : alljoyn_aboutdata , softwareversion : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setsoftwareversion(data.into(), softwareversion.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -503,7 +503,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setsupportedlanguage ( data : alljoyn_aboutdata , language : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setsupportedlanguage ( data : alljoyn_aboutdata , language : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setsupportedlanguage(data.into(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -513,13 +513,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setsupporturl ( data : alljoyn_aboutdata , supporturl : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdata_setsupporturl ( data : alljoyn_aboutdata , supporturl : :: windows::core::PCSTR ) -> QStatus ); alljoyn_aboutdata_setsupporturl(data.into(), supporturl.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_aboutdatalistener_create(callbacks: *const alljoyn_aboutdatalistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_aboutdatalistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdatalistener_create ( callbacks : *const alljoyn_aboutdatalistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_aboutdatalistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdatalistener_create ( callbacks : *const alljoyn_aboutdatalistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_aboutdatalistener ); alljoyn_aboutdatalistener_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -528,37 +528,37 @@ pub unsafe fn alljoyn_aboutdatalistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutdatalistener_destroy ( listener : alljoyn_aboutdatalistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutdatalistener_destroy ( listener : alljoyn_aboutdatalistener ) -> ( ) ); alljoyn_aboutdatalistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticon_clear(icon: *mut _alljoyn_abouticon_handle) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_clear ( icon : *mut _alljoyn_abouticon_handle ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_clear ( icon : *mut _alljoyn_abouticon_handle ) -> ( ) ); alljoyn_abouticon_clear(icon) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticon_create() -> *mut _alljoyn_abouticon_handle { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_create ( ) -> *mut _alljoyn_abouticon_handle ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_create ( ) -> *mut _alljoyn_abouticon_handle ); alljoyn_abouticon_create() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticon_destroy(icon: *mut _alljoyn_abouticon_handle) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_destroy ( icon : *mut _alljoyn_abouticon_handle ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_destroy ( icon : *mut _alljoyn_abouticon_handle ) -> ( ) ); alljoyn_abouticon_destroy(icon) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticon_getcontent(icon: *mut _alljoyn_abouticon_handle, data: *const *const u8, size: *mut usize) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_getcontent ( icon : *mut _alljoyn_abouticon_handle , data : *const *const u8 , size : *mut usize ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_getcontent ( icon : *mut _alljoyn_abouticon_handle , data : *const *const u8 , size : *mut usize ) -> ( ) ); alljoyn_abouticon_getcontent(icon, data, size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticon_geturl(icon: *mut _alljoyn_abouticon_handle, r#type: *const *const i8, url: *const *const i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_geturl ( icon : *mut _alljoyn_abouticon_handle , r#type : *const *const i8 , url : *const *const i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_geturl ( icon : *mut _alljoyn_abouticon_handle , r#type : *const *const i8 , url : *const *const i8 ) -> ( ) ); alljoyn_abouticon_geturl(icon, r#type, url) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -567,7 +567,7 @@ pub unsafe fn alljoyn_abouticon_setcontent(icon: *mut _alljoyn_abouticon_han where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_setcontent ( icon : *mut _alljoyn_abouticon_handle , r#type : :: windows::core::PCSTR , data : *mut u8 , csize : usize , ownsdata : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_setcontent ( icon : *mut _alljoyn_abouticon_handle , r#type : :: windows::core::PCSTR , data : *mut u8 , csize : usize , ownsdata : u8 ) -> QStatus ); alljoyn_abouticon_setcontent(icon, r#type.into().abi(), data, csize, ownsdata) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -576,7 +576,7 @@ pub unsafe fn alljoyn_abouticon_setcontent_frommsgarg(icon: *mut _alljoyn_ab where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_setcontent_frommsgarg ( icon : *mut _alljoyn_abouticon_handle , arg : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_setcontent_frommsgarg ( icon : *mut _alljoyn_abouticon_handle , arg : alljoyn_msgarg ) -> QStatus ); alljoyn_abouticon_setcontent_frommsgarg(icon, arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -586,7 +586,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_seturl ( icon : *mut _alljoyn_abouticon_handle , r#type : :: windows::core::PCSTR , url : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticon_seturl ( icon : *mut _alljoyn_abouticon_handle , r#type : :: windows::core::PCSTR , url : :: windows::core::PCSTR ) -> QStatus ); alljoyn_abouticon_seturl(icon, r#type.into().abi(), url.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -595,13 +595,13 @@ pub unsafe fn alljoyn_abouticonobj_create(bus: P0, icon: *mut _alljoyn_about where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticonobj_create ( bus : alljoyn_busattachment , icon : *mut _alljoyn_abouticon_handle ) -> *mut _alljoyn_abouticonobj_handle ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticonobj_create ( bus : alljoyn_busattachment , icon : *mut _alljoyn_abouticon_handle ) -> *mut _alljoyn_abouticonobj_handle ); alljoyn_abouticonobj_create(bus.into(), icon) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticonobj_destroy(icon: *mut _alljoyn_abouticonobj_handle) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticonobj_destroy ( icon : *mut _alljoyn_abouticonobj_handle ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticonobj_destroy ( icon : *mut _alljoyn_abouticonobj_handle ) -> ( ) ); alljoyn_abouticonobj_destroy(icon) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -611,31 +611,31 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticonproxy_create ( bus : alljoyn_busattachment , busname : :: windows::core::PCSTR , sessionid : u32 ) -> *mut _alljoyn_abouticonproxy_handle ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticonproxy_create ( bus : alljoyn_busattachment , busname : :: windows::core::PCSTR , sessionid : u32 ) -> *mut _alljoyn_abouticonproxy_handle ); alljoyn_abouticonproxy_create(bus.into(), busname.into().abi(), sessionid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticonproxy_destroy(proxy: *mut _alljoyn_abouticonproxy_handle) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticonproxy_destroy ( proxy : *mut _alljoyn_abouticonproxy_handle ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticonproxy_destroy ( proxy : *mut _alljoyn_abouticonproxy_handle ) -> ( ) ); alljoyn_abouticonproxy_destroy(proxy) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticonproxy_geticon(proxy: *mut _alljoyn_abouticonproxy_handle, icon: *mut _alljoyn_abouticon_handle) -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticonproxy_geticon ( proxy : *mut _alljoyn_abouticonproxy_handle , icon : *mut _alljoyn_abouticon_handle ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticonproxy_geticon ( proxy : *mut _alljoyn_abouticonproxy_handle , icon : *mut _alljoyn_abouticon_handle ) -> QStatus ); alljoyn_abouticonproxy_geticon(proxy, icon) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_abouticonproxy_getversion(proxy: *mut _alljoyn_abouticonproxy_handle, version: *mut u16) -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_abouticonproxy_getversion ( proxy : *mut _alljoyn_abouticonproxy_handle , version : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_abouticonproxy_getversion ( proxy : *mut _alljoyn_abouticonproxy_handle , version : *mut u16 ) -> QStatus ); alljoyn_abouticonproxy_getversion(proxy, version) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_aboutlistener_create(callback: *const alljoyn_aboutlistener_callback, context: *const ::core::ffi::c_void) -> alljoyn_aboutlistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutlistener_create ( callback : *const alljoyn_aboutlistener_callback , context : *const ::core::ffi::c_void ) -> alljoyn_aboutlistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutlistener_create ( callback : *const alljoyn_aboutlistener_callback , context : *const ::core::ffi::c_void ) -> alljoyn_aboutlistener ); alljoyn_aboutlistener_create(callback, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -644,7 +644,7 @@ pub unsafe fn alljoyn_aboutlistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutlistener_destroy ( listener : alljoyn_aboutlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutlistener_destroy ( listener : alljoyn_aboutlistener ) -> ( ) ); alljoyn_aboutlistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -654,7 +654,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_announce ( obj : alljoyn_aboutobj , sessionport : u16 , aboutdata : alljoyn_aboutdata ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_announce ( obj : alljoyn_aboutobj , sessionport : u16 , aboutdata : alljoyn_aboutdata ) -> QStatus ); alljoyn_aboutobj_announce(obj.into(), sessionport, aboutdata.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -664,7 +664,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_announce_using_datalistener ( obj : alljoyn_aboutobj , sessionport : u16 , aboutlistener : alljoyn_aboutdatalistener ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_announce_using_datalistener ( obj : alljoyn_aboutobj , sessionport : u16 , aboutlistener : alljoyn_aboutdatalistener ) -> QStatus ); alljoyn_aboutobj_announce_using_datalistener(obj.into(), sessionport, aboutlistener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -673,7 +673,7 @@ pub unsafe fn alljoyn_aboutobj_create(bus: P0, isannounced: alljoyn_about_an where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_create ( bus : alljoyn_busattachment , isannounced : alljoyn_about_announceflag ) -> alljoyn_aboutobj ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_create ( bus : alljoyn_busattachment , isannounced : alljoyn_about_announceflag ) -> alljoyn_aboutobj ); alljoyn_aboutobj_create(bus.into(), isannounced) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -682,7 +682,7 @@ pub unsafe fn alljoyn_aboutobj_destroy(obj: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_destroy ( obj : alljoyn_aboutobj ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_destroy ( obj : alljoyn_aboutobj ) -> ( ) ); alljoyn_aboutobj_destroy(obj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -691,7 +691,7 @@ pub unsafe fn alljoyn_aboutobj_unannounce(obj: P0) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_unannounce ( obj : alljoyn_aboutobj ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobj_unannounce ( obj : alljoyn_aboutobj ) -> QStatus ); alljoyn_aboutobj_unannounce(obj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -700,13 +700,13 @@ pub unsafe fn alljoyn_aboutobjectdescription_clear(description: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_clear ( description : alljoyn_aboutobjectdescription ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_clear ( description : alljoyn_aboutobjectdescription ) -> ( ) ); alljoyn_aboutobjectdescription_clear(description.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_aboutobjectdescription_create() -> alljoyn_aboutobjectdescription { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_create ( ) -> alljoyn_aboutobjectdescription ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_create ( ) -> alljoyn_aboutobjectdescription ); alljoyn_aboutobjectdescription_create() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -715,7 +715,7 @@ pub unsafe fn alljoyn_aboutobjectdescription_create_full(arg: P0) -> alljoyn where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_create_full ( arg : alljoyn_msgarg ) -> alljoyn_aboutobjectdescription ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_create_full ( arg : alljoyn_msgarg ) -> alljoyn_aboutobjectdescription ); alljoyn_aboutobjectdescription_create_full(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -725,7 +725,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_createfrommsgarg ( description : alljoyn_aboutobjectdescription , arg : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_createfrommsgarg ( description : alljoyn_aboutobjectdescription , arg : alljoyn_msgarg ) -> QStatus ); alljoyn_aboutobjectdescription_createfrommsgarg(description.into(), arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -734,7 +734,7 @@ pub unsafe fn alljoyn_aboutobjectdescription_destroy(description: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_destroy ( description : alljoyn_aboutobjectdescription ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_destroy ( description : alljoyn_aboutobjectdescription ) -> ( ) ); alljoyn_aboutobjectdescription_destroy(description.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -744,7 +744,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_getinterfacepaths ( description : alljoyn_aboutobjectdescription , interfacename : :: windows::core::PCSTR , paths : *const *const i8 , numpaths : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_getinterfacepaths ( description : alljoyn_aboutobjectdescription , interfacename : :: windows::core::PCSTR , paths : *const *const i8 , numpaths : usize ) -> usize ); alljoyn_aboutobjectdescription_getinterfacepaths(description.into(), interfacename.into().abi(), paths, numpaths) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -754,7 +754,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_getinterfaces ( description : alljoyn_aboutobjectdescription , path : :: windows::core::PCSTR , interfaces : *const *const i8 , numinterfaces : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_getinterfaces ( description : alljoyn_aboutobjectdescription , path : :: windows::core::PCSTR , interfaces : *const *const i8 , numinterfaces : usize ) -> usize ); alljoyn_aboutobjectdescription_getinterfaces(description.into(), path.into().abi(), interfaces, numinterfaces) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -764,7 +764,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_getmsgarg ( description : alljoyn_aboutobjectdescription , msgarg : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_getmsgarg ( description : alljoyn_aboutobjectdescription , msgarg : alljoyn_msgarg ) -> QStatus ); alljoyn_aboutobjectdescription_getmsgarg(description.into(), msgarg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -773,7 +773,7 @@ pub unsafe fn alljoyn_aboutobjectdescription_getpaths(description: P0, paths where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_getpaths ( description : alljoyn_aboutobjectdescription , paths : *const *const i8 , numpaths : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_getpaths ( description : alljoyn_aboutobjectdescription , paths : *const *const i8 , numpaths : usize ) -> usize ); alljoyn_aboutobjectdescription_getpaths(description.into(), paths, numpaths) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -783,7 +783,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_hasinterface ( description : alljoyn_aboutobjectdescription , interfacename : :: windows::core::PCSTR ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_hasinterface ( description : alljoyn_aboutobjectdescription , interfacename : :: windows::core::PCSTR ) -> u8 ); alljoyn_aboutobjectdescription_hasinterface(description.into(), interfacename.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -794,7 +794,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_hasinterfaceatpath ( description : alljoyn_aboutobjectdescription , path : :: windows::core::PCSTR , interfacename : :: windows::core::PCSTR ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_hasinterfaceatpath ( description : alljoyn_aboutobjectdescription , path : :: windows::core::PCSTR , interfacename : :: windows::core::PCSTR ) -> u8 ); alljoyn_aboutobjectdescription_hasinterfaceatpath(description.into(), path.into().abi(), interfacename.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -804,7 +804,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_haspath ( description : alljoyn_aboutobjectdescription , path : :: windows::core::PCSTR ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutobjectdescription_haspath ( description : alljoyn_aboutobjectdescription , path : :: windows::core::PCSTR ) -> u8 ); alljoyn_aboutobjectdescription_haspath(description.into(), path.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -814,7 +814,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_create ( bus : alljoyn_busattachment , busname : :: windows::core::PCSTR , sessionid : u32 ) -> alljoyn_aboutproxy ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_create ( bus : alljoyn_busattachment , busname : :: windows::core::PCSTR , sessionid : u32 ) -> alljoyn_aboutproxy ); alljoyn_aboutproxy_create(bus.into(), busname.into().abi(), sessionid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -823,7 +823,7 @@ pub unsafe fn alljoyn_aboutproxy_destroy(proxy: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_destroy ( proxy : alljoyn_aboutproxy ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_destroy ( proxy : alljoyn_aboutproxy ) -> ( ) ); alljoyn_aboutproxy_destroy(proxy.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -834,7 +834,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_getaboutdata ( proxy : alljoyn_aboutproxy , language : :: windows::core::PCSTR , data : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_getaboutdata ( proxy : alljoyn_aboutproxy , language : :: windows::core::PCSTR , data : alljoyn_msgarg ) -> QStatus ); alljoyn_aboutproxy_getaboutdata(proxy.into(), language.into().abi(), data.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -844,7 +844,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_getobjectdescription ( proxy : alljoyn_aboutproxy , objectdesc : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_getobjectdescription ( proxy : alljoyn_aboutproxy , objectdesc : alljoyn_msgarg ) -> QStatus ); alljoyn_aboutproxy_getobjectdescription(proxy.into(), objectdesc.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -853,13 +853,13 @@ pub unsafe fn alljoyn_aboutproxy_getversion(proxy: P0, version: *mut u16) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_getversion ( proxy : alljoyn_aboutproxy , version : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_aboutproxy_getversion ( proxy : alljoyn_aboutproxy , version : *mut u16 ) -> QStatus ); alljoyn_aboutproxy_getversion(proxy.into(), version) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_applicationstatelistener_create(callbacks: *const alljoyn_applicationstatelistener_callbacks, context: *mut ::core::ffi::c_void) -> alljoyn_applicationstatelistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_applicationstatelistener_create ( callbacks : *const alljoyn_applicationstatelistener_callbacks , context : *mut ::core::ffi::c_void ) -> alljoyn_applicationstatelistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_applicationstatelistener_create ( callbacks : *const alljoyn_applicationstatelistener_callbacks , context : *mut ::core::ffi::c_void ) -> alljoyn_applicationstatelistener ); alljoyn_applicationstatelistener_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -868,13 +868,13 @@ pub unsafe fn alljoyn_applicationstatelistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_applicationstatelistener_destroy ( listener : alljoyn_applicationstatelistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_applicationstatelistener_destroy ( listener : alljoyn_applicationstatelistener ) -> ( ) ); alljoyn_applicationstatelistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_authlistener_create(callbacks: *const alljoyn_authlistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_authlistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_create ( callbacks : *const alljoyn_authlistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_authlistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_create ( callbacks : *const alljoyn_authlistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_authlistener ); alljoyn_authlistener_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -883,7 +883,7 @@ pub unsafe fn alljoyn_authlistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_destroy ( listener : alljoyn_authlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_destroy ( listener : alljoyn_authlistener ) -> ( ) ); alljoyn_authlistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -893,7 +893,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_requestcredentialsresponse ( listener : alljoyn_authlistener , authcontext : *mut ::core::ffi::c_void , accept : i32 , credentials : alljoyn_credentials ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_requestcredentialsresponse ( listener : alljoyn_authlistener , authcontext : *mut ::core::ffi::c_void , accept : i32 , credentials : alljoyn_credentials ) -> QStatus ); alljoyn_authlistener_requestcredentialsresponse(listener.into(), authcontext, accept, credentials.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -902,7 +902,7 @@ pub unsafe fn alljoyn_authlistener_setsharedsecret(listener: P0, sharedsecre where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_setsharedsecret ( listener : alljoyn_authlistener , sharedsecret : *const u8 , sharedsecretsize : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_setsharedsecret ( listener : alljoyn_authlistener , sharedsecret : *const u8 , sharedsecretsize : usize ) -> QStatus ); alljoyn_authlistener_setsharedsecret(listener.into(), sharedsecret, sharedsecretsize) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -911,13 +911,13 @@ pub unsafe fn alljoyn_authlistener_verifycredentialsresponse(listener: P0, a where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_verifycredentialsresponse ( listener : alljoyn_authlistener , authcontext : *mut ::core::ffi::c_void , accept : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_authlistener_verifycredentialsresponse ( listener : alljoyn_authlistener , authcontext : *mut ::core::ffi::c_void , accept : i32 ) -> QStatus ); alljoyn_authlistener_verifycredentialsresponse(listener.into(), authcontext, accept) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_authlistenerasync_create(callbacks: *const alljoyn_authlistenerasync_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_authlistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_authlistenerasync_create ( callbacks : *const alljoyn_authlistenerasync_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_authlistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_authlistenerasync_create ( callbacks : *const alljoyn_authlistenerasync_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_authlistener ); alljoyn_authlistenerasync_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -926,7 +926,7 @@ pub unsafe fn alljoyn_authlistenerasync_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_authlistenerasync_destroy ( listener : alljoyn_authlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_authlistenerasync_destroy ( listener : alljoyn_authlistener ) -> ( ) ); alljoyn_authlistenerasync_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -937,7 +937,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_adddestination ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR , destination : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_adddestination ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR , destination : :: windows::core::PCSTR ) -> QStatus ); alljoyn_autopinger_adddestination(autopinger.into(), group.into().abi(), destination.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -948,7 +948,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_addpinggroup ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR , listener : alljoyn_pinglistener , pinginterval : u32 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_addpinggroup ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR , listener : alljoyn_pinglistener , pinginterval : u32 ) -> ( ) ); alljoyn_autopinger_addpinggroup(autopinger.into(), group.into().abi(), listener.into(), pinginterval) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -957,7 +957,7 @@ pub unsafe fn alljoyn_autopinger_create(bus: P0) -> alljoyn_autopinger where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_create ( bus : alljoyn_busattachment ) -> alljoyn_autopinger ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_create ( bus : alljoyn_busattachment ) -> alljoyn_autopinger ); alljoyn_autopinger_create(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -966,7 +966,7 @@ pub unsafe fn alljoyn_autopinger_destroy(autopinger: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_destroy ( autopinger : alljoyn_autopinger ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_destroy ( autopinger : alljoyn_autopinger ) -> ( ) ); alljoyn_autopinger_destroy(autopinger.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -975,7 +975,7 @@ pub unsafe fn alljoyn_autopinger_pause(autopinger: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_pause ( autopinger : alljoyn_autopinger ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_pause ( autopinger : alljoyn_autopinger ) -> ( ) ); alljoyn_autopinger_pause(autopinger.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -986,7 +986,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_removedestination ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR , destination : :: windows::core::PCSTR , removeall : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_removedestination ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR , destination : :: windows::core::PCSTR , removeall : i32 ) -> QStatus ); alljoyn_autopinger_removedestination(autopinger.into(), group.into().abi(), destination.into().abi(), removeall) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -996,7 +996,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_removepinggroup ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_removepinggroup ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR ) -> ( ) ); alljoyn_autopinger_removepinggroup(autopinger.into(), group.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1005,7 +1005,7 @@ pub unsafe fn alljoyn_autopinger_resume(autopinger: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_resume ( autopinger : alljoyn_autopinger ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_resume ( autopinger : alljoyn_autopinger ) -> ( ) ); alljoyn_autopinger_resume(autopinger.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1015,7 +1015,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_setpinginterval ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR , pinginterval : u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_autopinger_setpinginterval ( autopinger : alljoyn_autopinger , group : :: windows::core::PCSTR , pinginterval : u32 ) -> QStatus ); alljoyn_autopinger_setpinginterval(autopinger.into(), group.into().abi(), pinginterval) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1027,7 +1027,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_addlogonentry ( bus : alljoyn_busattachment , authmechanism : :: windows::core::PCSTR , username : :: windows::core::PCSTR , password : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_addlogonentry ( bus : alljoyn_busattachment , authmechanism : :: windows::core::PCSTR , username : :: windows::core::PCSTR , password : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_addlogonentry(bus.into(), authmechanism.into().abi(), username.into().abi(), password.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1037,7 +1037,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_addmatch ( bus : alljoyn_busattachment , rule : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_addmatch ( bus : alljoyn_busattachment , rule : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_addmatch(bus.into(), rule.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1047,7 +1047,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_advertisename ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , transports : u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_advertisename ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , transports : u16 ) -> QStatus ); alljoyn_busattachment_advertisename(bus.into(), name.into().abi(), transports) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1058,7 +1058,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_bindsessionport ( bus : alljoyn_busattachment , sessionport : *mut u16 , opts : alljoyn_sessionopts , listener : alljoyn_sessionportlistener ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_bindsessionport ( bus : alljoyn_busattachment , sessionport : *mut u16 , opts : alljoyn_sessionopts , listener : alljoyn_sessionportlistener ) -> QStatus ); alljoyn_busattachment_bindsessionport(bus.into(), sessionport, opts.into(), listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1068,7 +1068,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_canceladvertisename ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , transports : u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_canceladvertisename ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , transports : u16 ) -> QStatus ); alljoyn_busattachment_canceladvertisename(bus.into(), name.into().abi(), transports) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1078,7 +1078,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_cancelfindadvertisedname ( bus : alljoyn_busattachment , nameprefix : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_cancelfindadvertisedname ( bus : alljoyn_busattachment , nameprefix : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_cancelfindadvertisedname(bus.into(), nameprefix.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1088,7 +1088,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_cancelfindadvertisednamebytransport ( bus : alljoyn_busattachment , nameprefix : :: windows::core::PCSTR , transports : u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_cancelfindadvertisednamebytransport ( bus : alljoyn_busattachment , nameprefix : :: windows::core::PCSTR , transports : u16 ) -> QStatus ); alljoyn_busattachment_cancelfindadvertisednamebytransport(bus.into(), nameprefix.into().abi(), transports) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1098,7 +1098,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_cancelwhoimplements_interface ( bus : alljoyn_busattachment , implementsinterface : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_cancelwhoimplements_interface ( bus : alljoyn_busattachment , implementsinterface : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_cancelwhoimplements_interface(bus.into(), implementsinterface.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1107,7 +1107,7 @@ pub unsafe fn alljoyn_busattachment_cancelwhoimplements_interfaces(bus: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_cancelwhoimplements_interfaces ( bus : alljoyn_busattachment , implementsinterfaces : *const *const i8 , numberinterfaces : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_cancelwhoimplements_interfaces ( bus : alljoyn_busattachment , implementsinterfaces : *const *const i8 , numberinterfaces : usize ) -> QStatus ); alljoyn_busattachment_cancelwhoimplements_interfaces(bus.into(), implementsinterfaces, numberinterfaces) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1117,7 +1117,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_clearkeys ( bus : alljoyn_busattachment , guid : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_clearkeys ( bus : alljoyn_busattachment , guid : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_clearkeys(bus.into(), guid.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1126,7 +1126,7 @@ pub unsafe fn alljoyn_busattachment_clearkeystore(bus: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_clearkeystore ( bus : alljoyn_busattachment ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_clearkeystore ( bus : alljoyn_busattachment ) -> ( ) ); alljoyn_busattachment_clearkeystore(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1136,7 +1136,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_connect ( bus : alljoyn_busattachment , connectspec : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_connect ( bus : alljoyn_busattachment , connectspec : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_connect(bus.into(), connectspec.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1145,7 +1145,7 @@ pub unsafe fn alljoyn_busattachment_create(applicationname: P0, allowremotem where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_create ( applicationname : :: windows::core::PCSTR , allowremotemessages : i32 ) -> alljoyn_busattachment ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_create ( applicationname : :: windows::core::PCSTR , allowremotemessages : i32 ) -> alljoyn_busattachment ); alljoyn_busattachment_create(applicationname.into().abi(), allowremotemessages) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1154,7 +1154,7 @@ pub unsafe fn alljoyn_busattachment_create_concurrency(applicationname: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_create_concurrency ( applicationname : :: windows::core::PCSTR , allowremotemessages : i32 , concurrency : u32 ) -> alljoyn_busattachment ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_create_concurrency ( applicationname : :: windows::core::PCSTR , allowremotemessages : i32 , concurrency : u32 ) -> alljoyn_busattachment ); alljoyn_busattachment_create_concurrency(applicationname.into().abi(), allowremotemessages, concurrency) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1164,7 +1164,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_createinterface ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , iface : *mut alljoyn_interfacedescription ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_createinterface ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , iface : *mut alljoyn_interfacedescription ) -> QStatus ); alljoyn_busattachment_createinterface(bus.into(), name.into().abi(), iface) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1174,7 +1174,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_createinterface_secure ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , iface : *mut alljoyn_interfacedescription , secpolicy : alljoyn_interfacedescription_securitypolicy ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_createinterface_secure ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , iface : *mut alljoyn_interfacedescription , secpolicy : alljoyn_interfacedescription_securitypolicy ) -> QStatus ); alljoyn_busattachment_createinterface_secure(bus.into(), name.into().abi(), iface, secpolicy) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1184,7 +1184,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_createinterfacesfromxml ( bus : alljoyn_busattachment , xml : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_createinterfacesfromxml ( bus : alljoyn_busattachment , xml : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_createinterfacesfromxml(bus.into(), xml.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1193,7 +1193,7 @@ pub unsafe fn alljoyn_busattachment_deletedefaultkeystore(applicationname: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_deletedefaultkeystore ( applicationname : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_deletedefaultkeystore ( applicationname : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_deletedefaultkeystore(applicationname.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1203,7 +1203,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_deleteinterface ( bus : alljoyn_busattachment , iface : alljoyn_interfacedescription ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_deleteinterface ( bus : alljoyn_busattachment , iface : alljoyn_interfacedescription ) -> QStatus ); alljoyn_busattachment_deleteinterface(bus.into(), iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1212,7 +1212,7 @@ pub unsafe fn alljoyn_busattachment_destroy(bus: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_destroy ( bus : alljoyn_busattachment ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_destroy ( bus : alljoyn_busattachment ) -> ( ) ); alljoyn_busattachment_destroy(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1222,7 +1222,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_disconnect ( bus : alljoyn_busattachment , unused : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_disconnect ( bus : alljoyn_busattachment , unused : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_disconnect(bus.into(), unused.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1231,7 +1231,7 @@ pub unsafe fn alljoyn_busattachment_enableconcurrentcallbacks(bus: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_enableconcurrentcallbacks ( bus : alljoyn_busattachment ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_enableconcurrentcallbacks ( bus : alljoyn_busattachment ) -> ( ) ); alljoyn_busattachment_enableconcurrentcallbacks(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1243,7 +1243,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_enablepeersecurity ( bus : alljoyn_busattachment , authmechanisms : :: windows::core::PCSTR , listener : alljoyn_authlistener , keystorefilename : :: windows::core::PCSTR , isshared : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_enablepeersecurity ( bus : alljoyn_busattachment , authmechanisms : :: windows::core::PCSTR , listener : alljoyn_authlistener , keystorefilename : :: windows::core::PCSTR , isshared : i32 ) -> QStatus ); alljoyn_busattachment_enablepeersecurity(bus.into(), authmechanisms.into().abi(), listener.into(), keystorefilename.into().abi(), isshared) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1256,7 +1256,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_enablepeersecuritywithpermissionconfigurationlistener ( bus : alljoyn_busattachment , authmechanisms : :: windows::core::PCSTR , authlistener : alljoyn_authlistener , keystorefilename : :: windows::core::PCSTR , isshared : i32 , permissionconfigurationlistener : alljoyn_permissionconfigurationlistener ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_enablepeersecuritywithpermissionconfigurationlistener ( bus : alljoyn_busattachment , authmechanisms : :: windows::core::PCSTR , authlistener : alljoyn_authlistener , keystorefilename : :: windows::core::PCSTR , isshared : i32 , permissionconfigurationlistener : alljoyn_permissionconfigurationlistener ) -> QStatus ); alljoyn_busattachment_enablepeersecuritywithpermissionconfigurationlistener(bus.into(), authmechanisms.into().abi(), authlistener.into(), keystorefilename.into().abi(), isshared, permissionconfigurationlistener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1266,7 +1266,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_findadvertisedname ( bus : alljoyn_busattachment , nameprefix : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_findadvertisedname ( bus : alljoyn_busattachment , nameprefix : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_findadvertisedname(bus.into(), nameprefix.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1276,7 +1276,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_findadvertisednamebytransport ( bus : alljoyn_busattachment , nameprefix : :: windows::core::PCSTR , transports : u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_findadvertisednamebytransport ( bus : alljoyn_busattachment , nameprefix : :: windows::core::PCSTR , transports : u16 ) -> QStatus ); alljoyn_busattachment_findadvertisednamebytransport(bus.into(), nameprefix.into().abi(), transports) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1285,7 +1285,7 @@ pub unsafe fn alljoyn_busattachment_getalljoyndebugobj(bus: P0) -> alljoyn_p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getalljoyndebugobj ( bus : alljoyn_busattachment ) -> alljoyn_proxybusobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getalljoyndebugobj ( bus : alljoyn_busattachment ) -> alljoyn_proxybusobject ); alljoyn_busattachment_getalljoyndebugobj(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1294,7 +1294,7 @@ pub unsafe fn alljoyn_busattachment_getalljoynproxyobj(bus: P0) -> alljoyn_p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getalljoynproxyobj ( bus : alljoyn_busattachment ) -> alljoyn_proxybusobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getalljoynproxyobj ( bus : alljoyn_busattachment ) -> alljoyn_proxybusobject ); alljoyn_busattachment_getalljoynproxyobj(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1303,7 +1303,7 @@ pub unsafe fn alljoyn_busattachment_getconcurrency(bus: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getconcurrency ( bus : alljoyn_busattachment ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getconcurrency ( bus : alljoyn_busattachment ) -> u32 ); alljoyn_busattachment_getconcurrency(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1312,7 +1312,7 @@ pub unsafe fn alljoyn_busattachment_getconnectspec(bus: P0) -> ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getconnectspec ( bus : alljoyn_busattachment ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getconnectspec ( bus : alljoyn_busattachment ) -> :: windows::core::PSTR ); alljoyn_busattachment_getconnectspec(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1321,7 +1321,7 @@ pub unsafe fn alljoyn_busattachment_getdbusproxyobj(bus: P0) -> alljoyn_prox where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getdbusproxyobj ( bus : alljoyn_busattachment ) -> alljoyn_proxybusobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getdbusproxyobj ( bus : alljoyn_busattachment ) -> alljoyn_proxybusobject ); alljoyn_busattachment_getdbusproxyobj(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1330,7 +1330,7 @@ pub unsafe fn alljoyn_busattachment_getglobalguidstring(bus: P0) -> ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getglobalguidstring ( bus : alljoyn_busattachment ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getglobalguidstring ( bus : alljoyn_busattachment ) -> :: windows::core::PSTR ); alljoyn_busattachment_getglobalguidstring(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1340,7 +1340,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getinterface ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR ) -> alljoyn_interfacedescription ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getinterface ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR ) -> alljoyn_interfacedescription ); alljoyn_busattachment_getinterface(bus.into(), name.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1349,7 +1349,7 @@ pub unsafe fn alljoyn_busattachment_getinterfaces(bus: P0, ifaces: *const al where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getinterfaces ( bus : alljoyn_busattachment , ifaces : *const alljoyn_interfacedescription , numifaces : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getinterfaces ( bus : alljoyn_busattachment , ifaces : *const alljoyn_interfacedescription , numifaces : usize ) -> usize ); alljoyn_busattachment_getinterfaces(bus.into(), ifaces, numifaces) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1359,7 +1359,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getkeyexpiration ( bus : alljoyn_busattachment , guid : :: windows::core::PCSTR , timeout : *mut u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getkeyexpiration ( bus : alljoyn_busattachment , guid : :: windows::core::PCSTR , timeout : *mut u32 ) -> QStatus ); alljoyn_busattachment_getkeyexpiration(bus.into(), guid.into().abi(), timeout) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1370,7 +1370,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getpeerguid ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , guid : :: windows::core::PCSTR , guidsz : *mut usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getpeerguid ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , guid : :: windows::core::PCSTR , guidsz : *mut usize ) -> QStatus ); alljoyn_busattachment_getpeerguid(bus.into(), name.into().abi(), guid.into().abi(), guidsz) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1379,13 +1379,13 @@ pub unsafe fn alljoyn_busattachment_getpermissionconfigurator(bus: P0) -> al where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getpermissionconfigurator ( bus : alljoyn_busattachment ) -> alljoyn_permissionconfigurator ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getpermissionconfigurator ( bus : alljoyn_busattachment ) -> alljoyn_permissionconfigurator ); alljoyn_busattachment_getpermissionconfigurator(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_busattachment_gettimestamp() -> u32 { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_gettimestamp ( ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_gettimestamp ( ) -> u32 ); alljoyn_busattachment_gettimestamp() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1394,7 +1394,7 @@ pub unsafe fn alljoyn_busattachment_getuniquename(bus: P0) -> ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getuniquename ( bus : alljoyn_busattachment ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_getuniquename ( bus : alljoyn_busattachment ) -> :: windows::core::PSTR ); alljoyn_busattachment_getuniquename(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1403,7 +1403,7 @@ pub unsafe fn alljoyn_busattachment_isconnected(bus: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_isconnected ( bus : alljoyn_busattachment ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_isconnected ( bus : alljoyn_busattachment ) -> i32 ); alljoyn_busattachment_isconnected(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1412,7 +1412,7 @@ pub unsafe fn alljoyn_busattachment_ispeersecurityenabled(bus: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_ispeersecurityenabled ( bus : alljoyn_busattachment ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_ispeersecurityenabled ( bus : alljoyn_busattachment ) -> i32 ); alljoyn_busattachment_ispeersecurityenabled(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1421,7 +1421,7 @@ pub unsafe fn alljoyn_busattachment_isstarted(bus: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_isstarted ( bus : alljoyn_busattachment ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_isstarted ( bus : alljoyn_busattachment ) -> i32 ); alljoyn_busattachment_isstarted(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1430,7 +1430,7 @@ pub unsafe fn alljoyn_busattachment_isstopping(bus: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_isstopping ( bus : alljoyn_busattachment ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_isstopping ( bus : alljoyn_busattachment ) -> i32 ); alljoyn_busattachment_isstopping(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1439,7 +1439,7 @@ pub unsafe fn alljoyn_busattachment_join(bus: P0) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_join ( bus : alljoyn_busattachment ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_join ( bus : alljoyn_busattachment ) -> QStatus ); alljoyn_busattachment_join(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1451,7 +1451,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_joinsession ( bus : alljoyn_busattachment , sessionhost : :: windows::core::PCSTR , sessionport : u16 , listener : alljoyn_sessionlistener , sessionid : *mut u32 , opts : alljoyn_sessionopts ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_joinsession ( bus : alljoyn_busattachment , sessionhost : :: windows::core::PCSTR , sessionport : u16 , listener : alljoyn_sessionlistener , sessionid : *mut u32 , opts : alljoyn_sessionopts ) -> QStatus ); alljoyn_busattachment_joinsession(bus.into(), sessionhost.into().abi(), sessionport, listener.into(), sessionid, opts.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1463,7 +1463,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_joinsessionasync ( bus : alljoyn_busattachment , sessionhost : :: windows::core::PCSTR , sessionport : u16 , listener : alljoyn_sessionlistener , opts : alljoyn_sessionopts , callback : alljoyn_busattachment_joinsessioncb_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_joinsessionasync ( bus : alljoyn_busattachment , sessionhost : :: windows::core::PCSTR , sessionport : u16 , listener : alljoyn_sessionlistener , opts : alljoyn_sessionopts , callback : alljoyn_busattachment_joinsessioncb_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); alljoyn_busattachment_joinsessionasync(bus.into(), sessionhost.into().abi(), sessionport, listener.into(), opts.into(), callback, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1472,7 +1472,7 @@ pub unsafe fn alljoyn_busattachment_leavesession(bus: P0, sessionid: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_leavesession ( bus : alljoyn_busattachment , sessionid : u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_leavesession ( bus : alljoyn_busattachment , sessionid : u32 ) -> QStatus ); alljoyn_busattachment_leavesession(bus.into(), sessionid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1482,7 +1482,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_namehasowner ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , hasowner : *mut i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_namehasowner ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , hasowner : *mut i32 ) -> QStatus ); alljoyn_busattachment_namehasowner(bus.into(), name.into().abi(), hasowner) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1492,7 +1492,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_ping ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , timeout : u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_ping ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , timeout : u32 ) -> QStatus ); alljoyn_busattachment_ping(bus.into(), name.into().abi(), timeout) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1502,7 +1502,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registeraboutlistener ( bus : alljoyn_busattachment , aboutlistener : alljoyn_aboutlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registeraboutlistener ( bus : alljoyn_busattachment , aboutlistener : alljoyn_aboutlistener ) -> ( ) ); alljoyn_busattachment_registeraboutlistener(bus.into(), aboutlistener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1512,7 +1512,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerapplicationstatelistener ( bus : alljoyn_busattachment , listener : alljoyn_applicationstatelistener ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerapplicationstatelistener ( bus : alljoyn_busattachment , listener : alljoyn_applicationstatelistener ) -> QStatus ); alljoyn_busattachment_registerapplicationstatelistener(bus.into(), listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1522,7 +1522,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerbuslistener ( bus : alljoyn_busattachment , listener : alljoyn_buslistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerbuslistener ( bus : alljoyn_busattachment , listener : alljoyn_buslistener ) -> ( ) ); alljoyn_busattachment_registerbuslistener(bus.into(), listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1532,7 +1532,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerbusobject ( bus : alljoyn_busattachment , obj : alljoyn_busobject ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerbusobject ( bus : alljoyn_busattachment , obj : alljoyn_busobject ) -> QStatus ); alljoyn_busattachment_registerbusobject(bus.into(), obj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1542,7 +1542,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerbusobject_secure ( bus : alljoyn_busattachment , obj : alljoyn_busobject ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerbusobject_secure ( bus : alljoyn_busattachment , obj : alljoyn_busobject ) -> QStatus ); alljoyn_busattachment_registerbusobject_secure(bus.into(), obj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1552,7 +1552,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerkeystorelistener ( bus : alljoyn_busattachment , listener : alljoyn_keystorelistener ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registerkeystorelistener ( bus : alljoyn_busattachment , listener : alljoyn_keystorelistener ) -> QStatus ); alljoyn_busattachment_registerkeystorelistener(bus.into(), listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1562,7 +1562,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registersignalhandler ( bus : alljoyn_busattachment , signal_handler : alljoyn_messagereceiver_signalhandler_ptr , member : alljoyn_interfacedescription_member , srcpath : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registersignalhandler ( bus : alljoyn_busattachment , signal_handler : alljoyn_messagereceiver_signalhandler_ptr , member : alljoyn_interfacedescription_member , srcpath : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_registersignalhandler(bus.into(), signal_handler, ::core::mem::transmute(member), srcpath.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1572,7 +1572,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registersignalhandlerwithrule ( bus : alljoyn_busattachment , signal_handler : alljoyn_messagereceiver_signalhandler_ptr , member : alljoyn_interfacedescription_member , matchrule : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_registersignalhandlerwithrule ( bus : alljoyn_busattachment , signal_handler : alljoyn_messagereceiver_signalhandler_ptr , member : alljoyn_interfacedescription_member , matchrule : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_registersignalhandlerwithrule(bus.into(), signal_handler, ::core::mem::transmute(member), matchrule.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1582,7 +1582,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_releasename ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_releasename ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_releasename(bus.into(), name.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1591,7 +1591,7 @@ pub unsafe fn alljoyn_busattachment_reloadkeystore(bus: P0) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_reloadkeystore ( bus : alljoyn_busattachment ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_reloadkeystore ( bus : alljoyn_busattachment ) -> QStatus ); alljoyn_busattachment_reloadkeystore(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1601,7 +1601,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_removematch ( bus : alljoyn_busattachment , rule : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_removematch ( bus : alljoyn_busattachment , rule : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_removematch(bus.into(), rule.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1611,7 +1611,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_removesessionmember ( bus : alljoyn_busattachment , sessionid : u32 , membername : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_removesessionmember ( bus : alljoyn_busattachment , sessionid : u32 , membername : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_removesessionmember(bus.into(), sessionid, membername.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1621,7 +1621,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_requestname ( bus : alljoyn_busattachment , requestedname : :: windows::core::PCSTR , flags : u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_requestname ( bus : alljoyn_busattachment , requestedname : :: windows::core::PCSTR , flags : u32 ) -> QStatus ); alljoyn_busattachment_requestname(bus.into(), requestedname.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1631,7 +1631,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_secureconnection ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , forceauth : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_secureconnection ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , forceauth : i32 ) -> QStatus ); alljoyn_busattachment_secureconnection(bus.into(), name.into().abi(), forceauth) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1641,7 +1641,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_secureconnectionasync ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , forceauth : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_secureconnectionasync ( bus : alljoyn_busattachment , name : :: windows::core::PCSTR , forceauth : i32 ) -> QStatus ); alljoyn_busattachment_secureconnectionasync(bus.into(), name.into().abi(), forceauth) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1651,7 +1651,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setdaemondebug ( bus : alljoyn_busattachment , module : :: windows::core::PCSTR , level : u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setdaemondebug ( bus : alljoyn_busattachment , module : :: windows::core::PCSTR , level : u32 ) -> QStatus ); alljoyn_busattachment_setdaemondebug(bus.into(), module.into().abi(), level) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1661,7 +1661,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setkeyexpiration ( bus : alljoyn_busattachment , guid : :: windows::core::PCSTR , timeout : u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setkeyexpiration ( bus : alljoyn_busattachment , guid : :: windows::core::PCSTR , timeout : u32 ) -> QStatus ); alljoyn_busattachment_setkeyexpiration(bus.into(), guid.into().abi(), timeout) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1670,7 +1670,7 @@ pub unsafe fn alljoyn_busattachment_setlinktimeout(bus: P0, sessionid: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setlinktimeout ( bus : alljoyn_busattachment , sessionid : u32 , linktimeout : *mut u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setlinktimeout ( bus : alljoyn_busattachment , sessionid : u32 , linktimeout : *mut u32 ) -> QStatus ); alljoyn_busattachment_setlinktimeout(bus.into(), sessionid, linktimeout) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1679,7 +1679,7 @@ pub unsafe fn alljoyn_busattachment_setlinktimeoutasync(bus: P0, sessionid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setlinktimeoutasync ( bus : alljoyn_busattachment , sessionid : u32 , linktimeout : u32 , callback : alljoyn_busattachment_setlinktimeoutcb_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setlinktimeoutasync ( bus : alljoyn_busattachment , sessionid : u32 , linktimeout : u32 , callback : alljoyn_busattachment_setlinktimeoutcb_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); alljoyn_busattachment_setlinktimeoutasync(bus.into(), sessionid, linktimeout, callback, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1689,7 +1689,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setsessionlistener ( bus : alljoyn_busattachment , sessionid : u32 , listener : alljoyn_sessionlistener ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_setsessionlistener ( bus : alljoyn_busattachment , sessionid : u32 , listener : alljoyn_sessionlistener ) -> QStatus ); alljoyn_busattachment_setsessionlistener(bus.into(), sessionid, listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1698,7 +1698,7 @@ pub unsafe fn alljoyn_busattachment_start(bus: P0) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_start ( bus : alljoyn_busattachment ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_start ( bus : alljoyn_busattachment ) -> QStatus ); alljoyn_busattachment_start(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1707,7 +1707,7 @@ pub unsafe fn alljoyn_busattachment_stop(bus: P0) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_stop ( bus : alljoyn_busattachment ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_stop ( bus : alljoyn_busattachment ) -> QStatus ); alljoyn_busattachment_stop(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1716,7 +1716,7 @@ pub unsafe fn alljoyn_busattachment_unbindsessionport(bus: P0, sessionport: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unbindsessionport ( bus : alljoyn_busattachment , sessionport : u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unbindsessionport ( bus : alljoyn_busattachment , sessionport : u16 ) -> QStatus ); alljoyn_busattachment_unbindsessionport(bus.into(), sessionport) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1726,7 +1726,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisteraboutlistener ( bus : alljoyn_busattachment , aboutlistener : alljoyn_aboutlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisteraboutlistener ( bus : alljoyn_busattachment , aboutlistener : alljoyn_aboutlistener ) -> ( ) ); alljoyn_busattachment_unregisteraboutlistener(bus.into(), aboutlistener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1735,7 +1735,7 @@ pub unsafe fn alljoyn_busattachment_unregisterallaboutlisteners(bus: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterallaboutlisteners ( bus : alljoyn_busattachment ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterallaboutlisteners ( bus : alljoyn_busattachment ) -> ( ) ); alljoyn_busattachment_unregisterallaboutlisteners(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1744,7 +1744,7 @@ pub unsafe fn alljoyn_busattachment_unregisterallhandlers(bus: P0) -> QStatu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterallhandlers ( bus : alljoyn_busattachment ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterallhandlers ( bus : alljoyn_busattachment ) -> QStatus ); alljoyn_busattachment_unregisterallhandlers(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1754,7 +1754,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterapplicationstatelistener ( bus : alljoyn_busattachment , listener : alljoyn_applicationstatelistener ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterapplicationstatelistener ( bus : alljoyn_busattachment , listener : alljoyn_applicationstatelistener ) -> QStatus ); alljoyn_busattachment_unregisterapplicationstatelistener(bus.into(), listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1764,7 +1764,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterbuslistener ( bus : alljoyn_busattachment , listener : alljoyn_buslistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterbuslistener ( bus : alljoyn_busattachment , listener : alljoyn_buslistener ) -> ( ) ); alljoyn_busattachment_unregisterbuslistener(bus.into(), listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1774,7 +1774,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterbusobject ( bus : alljoyn_busattachment , object : alljoyn_busobject ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregisterbusobject ( bus : alljoyn_busattachment , object : alljoyn_busobject ) -> ( ) ); alljoyn_busattachment_unregisterbusobject(bus.into(), object.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1784,7 +1784,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregistersignalhandler ( bus : alljoyn_busattachment , signal_handler : alljoyn_messagereceiver_signalhandler_ptr , member : alljoyn_interfacedescription_member , srcpath : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregistersignalhandler ( bus : alljoyn_busattachment , signal_handler : alljoyn_messagereceiver_signalhandler_ptr , member : alljoyn_interfacedescription_member , srcpath : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_unregistersignalhandler(bus.into(), signal_handler, ::core::mem::transmute(member), srcpath.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1794,7 +1794,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregistersignalhandlerwithrule ( bus : alljoyn_busattachment , signal_handler : alljoyn_messagereceiver_signalhandler_ptr , member : alljoyn_interfacedescription_member , matchrule : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_unregistersignalhandlerwithrule ( bus : alljoyn_busattachment , signal_handler : alljoyn_messagereceiver_signalhandler_ptr , member : alljoyn_interfacedescription_member , matchrule : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_unregistersignalhandlerwithrule(bus.into(), signal_handler, ::core::mem::transmute(member), matchrule.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1804,7 +1804,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_whoimplements_interface ( bus : alljoyn_busattachment , implementsinterface : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_whoimplements_interface ( bus : alljoyn_busattachment , implementsinterface : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busattachment_whoimplements_interface(bus.into(), implementsinterface.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1813,13 +1813,13 @@ pub unsafe fn alljoyn_busattachment_whoimplements_interfaces(bus: P0, implem where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_whoimplements_interfaces ( bus : alljoyn_busattachment , implementsinterfaces : *const *const i8 , numberinterfaces : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busattachment_whoimplements_interfaces ( bus : alljoyn_busattachment , implementsinterfaces : *const *const i8 , numberinterfaces : usize ) -> QStatus ); alljoyn_busattachment_whoimplements_interfaces(bus.into(), implementsinterfaces, numberinterfaces) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_buslistener_create(callbacks: *const alljoyn_buslistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_buslistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_buslistener_create ( callbacks : *const alljoyn_buslistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_buslistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_buslistener_create ( callbacks : *const alljoyn_buslistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_buslistener ); alljoyn_buslistener_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1828,7 +1828,7 @@ pub unsafe fn alljoyn_buslistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_buslistener_destroy ( listener : alljoyn_buslistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_buslistener_destroy ( listener : alljoyn_buslistener ) -> ( ) ); alljoyn_buslistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1838,7 +1838,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_addinterface ( bus : alljoyn_busobject , iface : alljoyn_interfacedescription ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_addinterface ( bus : alljoyn_busobject , iface : alljoyn_interfacedescription ) -> QStatus ); alljoyn_busobject_addinterface(bus.into(), iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1848,7 +1848,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_addinterface_announced ( bus : alljoyn_busobject , iface : alljoyn_interfacedescription ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_addinterface_announced ( bus : alljoyn_busobject , iface : alljoyn_interfacedescription ) -> QStatus ); alljoyn_busobject_addinterface_announced(bus.into(), iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1857,7 +1857,7 @@ pub unsafe fn alljoyn_busobject_addmethodhandler(bus: P0, member: alljoyn_in where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_addmethodhandler ( bus : alljoyn_busobject , member : alljoyn_interfacedescription_member , handler : alljoyn_messagereceiver_methodhandler_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_addmethodhandler ( bus : alljoyn_busobject , member : alljoyn_interfacedescription_member , handler : alljoyn_messagereceiver_methodhandler_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); alljoyn_busobject_addmethodhandler(bus.into(), ::core::mem::transmute(member), handler, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1866,7 +1866,7 @@ pub unsafe fn alljoyn_busobject_addmethodhandlers(bus: P0, entries: *const a where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_addmethodhandlers ( bus : alljoyn_busobject , entries : *const alljoyn_busobject_methodentry , numentries : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_addmethodhandlers ( bus : alljoyn_busobject , entries : *const alljoyn_busobject_methodentry , numentries : usize ) -> QStatus ); alljoyn_busobject_addmethodhandlers(bus.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1876,7 +1876,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_cancelsessionlessmessage ( bus : alljoyn_busobject , msg : alljoyn_message ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_cancelsessionlessmessage ( bus : alljoyn_busobject , msg : alljoyn_message ) -> QStatus ); alljoyn_busobject_cancelsessionlessmessage(bus.into(), msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1885,7 +1885,7 @@ pub unsafe fn alljoyn_busobject_cancelsessionlessmessage_serial(bus: P0, ser where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_cancelsessionlessmessage_serial ( bus : alljoyn_busobject , serialnumber : u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_cancelsessionlessmessage_serial ( bus : alljoyn_busobject , serialnumber : u32 ) -> QStatus ); alljoyn_busobject_cancelsessionlessmessage_serial(bus.into(), serialnumber) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1894,7 +1894,7 @@ pub unsafe fn alljoyn_busobject_create(path: P0, isplaceholder: i32, callbac where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_create ( path : :: windows::core::PCSTR , isplaceholder : i32 , callbacks_in : *const alljoyn_busobject_callbacks , context_in : *const ::core::ffi::c_void ) -> alljoyn_busobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_create ( path : :: windows::core::PCSTR , isplaceholder : i32 , callbacks_in : *const alljoyn_busobject_callbacks , context_in : *const ::core::ffi::c_void ) -> alljoyn_busobject ); alljoyn_busobject_create(path.into().abi(), isplaceholder, callbacks_in, context_in) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1903,7 +1903,7 @@ pub unsafe fn alljoyn_busobject_destroy(bus: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_destroy ( bus : alljoyn_busobject ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_destroy ( bus : alljoyn_busobject ) -> ( ) ); alljoyn_busobject_destroy(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1913,7 +1913,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_emitpropertieschanged ( bus : alljoyn_busobject , ifcname : :: windows::core::PCSTR , propnames : *const *const i8 , numprops : usize , id : u32 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_emitpropertieschanged ( bus : alljoyn_busobject , ifcname : :: windows::core::PCSTR , propnames : *const *const i8 , numprops : usize , id : u32 ) -> ( ) ); alljoyn_busobject_emitpropertieschanged(bus.into(), ifcname.into().abi(), propnames, numprops, id) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1925,7 +1925,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_emitpropertychanged ( bus : alljoyn_busobject , ifcname : :: windows::core::PCSTR , propname : :: windows::core::PCSTR , val : alljoyn_msgarg , id : u32 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_emitpropertychanged ( bus : alljoyn_busobject , ifcname : :: windows::core::PCSTR , propname : :: windows::core::PCSTR , val : alljoyn_msgarg , id : u32 ) -> ( ) ); alljoyn_busobject_emitpropertychanged(bus.into(), ifcname.into().abi(), propname.into().abi(), val.into(), id) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1934,7 +1934,7 @@ pub unsafe fn alljoyn_busobject_getannouncedinterfacenames(bus: P0, interfac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_getannouncedinterfacenames ( bus : alljoyn_busobject , interfaces : *const *const i8 , numinterfaces : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_getannouncedinterfacenames ( bus : alljoyn_busobject , interfaces : *const *const i8 , numinterfaces : usize ) -> usize ); alljoyn_busobject_getannouncedinterfacenames(bus.into(), interfaces, numinterfaces) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1943,7 +1943,7 @@ pub unsafe fn alljoyn_busobject_getbusattachment(bus: P0) -> alljoyn_busatta where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_getbusattachment ( bus : alljoyn_busobject ) -> alljoyn_busattachment ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_getbusattachment ( bus : alljoyn_busobject ) -> alljoyn_busattachment ); alljoyn_busobject_getbusattachment(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1953,7 +1953,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_getname ( bus : alljoyn_busobject , buffer : :: windows::core::PCSTR , buffersz : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_getname ( bus : alljoyn_busobject , buffer : :: windows::core::PCSTR , buffersz : usize ) -> usize ); alljoyn_busobject_getname(bus.into(), buffer.into().abi(), buffersz) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1962,7 +1962,7 @@ pub unsafe fn alljoyn_busobject_getpath(bus: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_getpath ( bus : alljoyn_busobject ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_getpath ( bus : alljoyn_busobject ) -> :: windows::core::PSTR ); alljoyn_busobject_getpath(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1971,7 +1971,7 @@ pub unsafe fn alljoyn_busobject_issecure(bus: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_issecure ( bus : alljoyn_busobject ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_issecure ( bus : alljoyn_busobject ) -> i32 ); alljoyn_busobject_issecure(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1982,7 +1982,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_methodreply_args ( bus : alljoyn_busobject , msg : alljoyn_message , args : alljoyn_msgarg , numargs : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_methodreply_args ( bus : alljoyn_busobject , msg : alljoyn_message , args : alljoyn_msgarg , numargs : usize ) -> QStatus ); alljoyn_busobject_methodreply_args(bus.into(), msg.into(), args.into(), numargs) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -1994,7 +1994,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_methodreply_err ( bus : alljoyn_busobject , msg : alljoyn_message , error : :: windows::core::PCSTR , errormessage : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_methodreply_err ( bus : alljoyn_busobject , msg : alljoyn_message , error : :: windows::core::PCSTR , errormessage : :: windows::core::PCSTR ) -> QStatus ); alljoyn_busobject_methodreply_err(bus.into(), msg.into(), error.into().abi(), errormessage.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2004,7 +2004,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_methodreply_status ( bus : alljoyn_busobject , msg : alljoyn_message , status : QStatus ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_methodreply_status ( bus : alljoyn_busobject , msg : alljoyn_message , status : QStatus ) -> QStatus ); alljoyn_busobject_methodreply_status(bus.into(), msg.into(), status) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2014,7 +2014,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_setannounceflag ( bus : alljoyn_busobject , iface : alljoyn_interfacedescription , isannounced : alljoyn_about_announceflag ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_setannounceflag ( bus : alljoyn_busobject , iface : alljoyn_interfacedescription , isannounced : alljoyn_about_announceflag ) -> QStatus ); alljoyn_busobject_setannounceflag(bus.into(), iface.into(), isannounced) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2026,7 +2026,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_busobject_signal ( bus : alljoyn_busobject , destination : :: windows::core::PCSTR , sessionid : u32 , signal : alljoyn_interfacedescription_member , args : alljoyn_msgarg , numargs : usize , timetolive : u16 , flags : u8 , msg : alljoyn_message ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_busobject_signal ( bus : alljoyn_busobject , destination : :: windows::core::PCSTR , sessionid : u32 , signal : alljoyn_interfacedescription_member , args : alljoyn_msgarg , numargs : usize , timetolive : u16 , flags : u8 , msg : alljoyn_message ) -> QStatus ); alljoyn_busobject_signal(bus.into(), destination.into().abi(), sessionid, ::core::mem::transmute(signal), args.into(), numargs, timetolive, flags, msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2035,13 +2035,13 @@ pub unsafe fn alljoyn_credentials_clear(cred: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_clear ( cred : alljoyn_credentials ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_clear ( cred : alljoyn_credentials ) -> ( ) ); alljoyn_credentials_clear(cred.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_credentials_create() -> alljoyn_credentials { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_create ( ) -> alljoyn_credentials ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_create ( ) -> alljoyn_credentials ); alljoyn_credentials_create() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2050,7 +2050,7 @@ pub unsafe fn alljoyn_credentials_destroy(cred: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_destroy ( cred : alljoyn_credentials ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_destroy ( cred : alljoyn_credentials ) -> ( ) ); alljoyn_credentials_destroy(cred.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2059,7 +2059,7 @@ pub unsafe fn alljoyn_credentials_getcertchain(cred: P0) -> ::windows::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getcertchain ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getcertchain ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); alljoyn_credentials_getcertchain(cred.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2068,7 +2068,7 @@ pub unsafe fn alljoyn_credentials_getexpiration(cred: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getexpiration ( cred : alljoyn_credentials ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getexpiration ( cred : alljoyn_credentials ) -> u32 ); alljoyn_credentials_getexpiration(cred.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2077,7 +2077,7 @@ pub unsafe fn alljoyn_credentials_getlogonentry(cred: P0) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getlogonentry ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getlogonentry ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); alljoyn_credentials_getlogonentry(cred.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2086,7 +2086,7 @@ pub unsafe fn alljoyn_credentials_getpassword(cred: P0) -> ::windows::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getpassword ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getpassword ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); alljoyn_credentials_getpassword(cred.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2095,7 +2095,7 @@ pub unsafe fn alljoyn_credentials_getprivateKey(cred: P0) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getprivateKey ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getprivateKey ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); alljoyn_credentials_getprivateKey(cred.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2104,7 +2104,7 @@ pub unsafe fn alljoyn_credentials_getusername(cred: P0) -> ::windows::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getusername ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_getusername ( cred : alljoyn_credentials ) -> :: windows::core::PSTR ); alljoyn_credentials_getusername(cred.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2113,7 +2113,7 @@ pub unsafe fn alljoyn_credentials_isset(cred: P0, creds: u16) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_isset ( cred : alljoyn_credentials , creds : u16 ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_isset ( cred : alljoyn_credentials , creds : u16 ) -> i32 ); alljoyn_credentials_isset(cred.into(), creds) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2123,7 +2123,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setcertchain ( cred : alljoyn_credentials , certchain : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setcertchain ( cred : alljoyn_credentials , certchain : :: windows::core::PCSTR ) -> ( ) ); alljoyn_credentials_setcertchain(cred.into(), certchain.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2132,7 +2132,7 @@ pub unsafe fn alljoyn_credentials_setexpiration(cred: P0, expiration: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setexpiration ( cred : alljoyn_credentials , expiration : u32 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setexpiration ( cred : alljoyn_credentials , expiration : u32 ) -> ( ) ); alljoyn_credentials_setexpiration(cred.into(), expiration) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2142,7 +2142,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setlogonentry ( cred : alljoyn_credentials , logonentry : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setlogonentry ( cred : alljoyn_credentials , logonentry : :: windows::core::PCSTR ) -> ( ) ); alljoyn_credentials_setlogonentry(cred.into(), logonentry.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2152,7 +2152,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setpassword ( cred : alljoyn_credentials , pwd : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setpassword ( cred : alljoyn_credentials , pwd : :: windows::core::PCSTR ) -> ( ) ); alljoyn_credentials_setpassword(cred.into(), pwd.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2162,7 +2162,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setprivatekey ( cred : alljoyn_credentials , pk : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setprivatekey ( cred : alljoyn_credentials , pk : :: windows::core::PCSTR ) -> ( ) ); alljoyn_credentials_setprivatekey(cred.into(), pk.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2172,31 +2172,31 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setusername ( cred : alljoyn_credentials , username : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_credentials_setusername ( cred : alljoyn_credentials , username : :: windows::core::PCSTR ) -> ( ) ); alljoyn_credentials_setusername(cred.into(), username.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_getbuildinfo() -> ::windows::core::PSTR { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_getbuildinfo ( ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_getbuildinfo ( ) -> :: windows::core::PSTR ); alljoyn_getbuildinfo() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_getnumericversion() -> u32 { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_getnumericversion ( ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_getnumericversion ( ) -> u32 ); alljoyn_getnumericversion() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_getversion() -> ::windows::core::PSTR { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_getversion ( ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_getversion ( ) -> :: windows::core::PSTR ); alljoyn_getversion() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_init() -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_init ( ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_init ( ) -> QStatus ); alljoyn_init() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2205,7 +2205,7 @@ pub unsafe fn alljoyn_interfacedescription_activate(iface: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_activate ( iface : alljoyn_interfacedescription ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_activate ( iface : alljoyn_interfacedescription ) -> ( ) ); alljoyn_interfacedescription_activate(iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2216,7 +2216,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addannotation ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addannotation ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_addannotation(iface.into(), name.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2229,7 +2229,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addargannotation ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , argname : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addargannotation ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , argname : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_addargannotation(iface.into(), member.into().abi(), argname.into().abi(), name.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2242,7 +2242,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addmember ( iface : alljoyn_interfacedescription , r#type : alljoyn_messagetype , name : :: windows::core::PCSTR , inputsig : :: windows::core::PCSTR , outsig : :: windows::core::PCSTR , argnames : :: windows::core::PCSTR , annotation : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addmember ( iface : alljoyn_interfacedescription , r#type : alljoyn_messagetype , name : :: windows::core::PCSTR , inputsig : :: windows::core::PCSTR , outsig : :: windows::core::PCSTR , argnames : :: windows::core::PCSTR , annotation : u8 ) -> QStatus ); alljoyn_interfacedescription_addmember(iface.into(), r#type, name.into().abi(), inputsig.into().abi(), outsig.into().abi(), argnames.into().abi(), annotation) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2254,7 +2254,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addmemberannotation ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addmemberannotation ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_addmemberannotation(iface.into(), member.into().abi(), name.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2268,7 +2268,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addmethod ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , inputsig : :: windows::core::PCSTR , outsig : :: windows::core::PCSTR , argnames : :: windows::core::PCSTR , annotation : u8 , accessperms : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addmethod ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , inputsig : :: windows::core::PCSTR , outsig : :: windows::core::PCSTR , argnames : :: windows::core::PCSTR , annotation : u8 , accessperms : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_addmethod(iface.into(), name.into().abi(), inputsig.into().abi(), outsig.into().abi(), argnames.into().abi(), annotation, accessperms.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2279,7 +2279,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addproperty ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , signature : :: windows::core::PCSTR , access : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addproperty ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , signature : :: windows::core::PCSTR , access : u8 ) -> QStatus ); alljoyn_interfacedescription_addproperty(iface.into(), name.into().abi(), signature.into().abi(), access) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2291,7 +2291,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addpropertyannotation ( iface : alljoyn_interfacedescription , property : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addpropertyannotation ( iface : alljoyn_interfacedescription , property : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_addpropertyannotation(iface.into(), property.into().abi(), name.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2304,7 +2304,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addsignal ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , sig : :: windows::core::PCSTR , argnames : :: windows::core::PCSTR , annotation : u8 , accessperms : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_addsignal ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , sig : :: windows::core::PCSTR , argnames : :: windows::core::PCSTR , annotation : u8 , accessperms : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_addsignal(iface.into(), name.into().abi(), sig.into().abi(), argnames.into().abi(), annotation, accessperms.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2314,7 +2314,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_eql ( one : alljoyn_interfacedescription , other : alljoyn_interfacedescription ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_eql ( one : alljoyn_interfacedescription , other : alljoyn_interfacedescription ) -> i32 ); alljoyn_interfacedescription_eql(one.into(), other.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2325,7 +2325,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getannotation ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getannotation ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); alljoyn_interfacedescription_getannotation(iface.into(), name.into().abi(), value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2336,7 +2336,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getannotationatindex ( iface : alljoyn_interfacedescription , index : usize , name : :: windows::core::PCSTR , name_size : *mut usize , value : :: windows::core::PCSTR , value_size : *mut usize ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getannotationatindex ( iface : alljoyn_interfacedescription , index : usize , name : :: windows::core::PCSTR , name_size : *mut usize , value : :: windows::core::PCSTR , value_size : *mut usize ) -> ( ) ); alljoyn_interfacedescription_getannotationatindex(iface.into(), index, name.into().abi(), name_size, value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2345,7 +2345,7 @@ pub unsafe fn alljoyn_interfacedescription_getannotationscount(iface: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getannotationscount ( iface : alljoyn_interfacedescription ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getannotationscount ( iface : alljoyn_interfacedescription ) -> usize ); alljoyn_interfacedescription_getannotationscount(iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2358,7 +2358,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getargdescriptionforlanguage ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , arg : :: windows::core::PCSTR , description : :: windows::core::PCSTR , maxlanguagelength : usize , languagetag : :: windows::core::PCSTR ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getargdescriptionforlanguage ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , arg : :: windows::core::PCSTR , description : :: windows::core::PCSTR , maxlanguagelength : usize , languagetag : :: windows::core::PCSTR ) -> usize ); alljoyn_interfacedescription_getargdescriptionforlanguage(iface.into(), member.into().abi(), arg.into().abi(), description.into().abi(), maxlanguagelength, languagetag.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2369,7 +2369,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getdescriptionforlanguage ( iface : alljoyn_interfacedescription , description : :: windows::core::PCSTR , maxlanguagelength : usize , languagetag : :: windows::core::PCSTR ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getdescriptionforlanguage ( iface : alljoyn_interfacedescription , description : :: windows::core::PCSTR , maxlanguagelength : usize , languagetag : :: windows::core::PCSTR ) -> usize ); alljoyn_interfacedescription_getdescriptionforlanguage(iface.into(), description.into().abi(), maxlanguagelength, languagetag.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2378,7 +2378,7 @@ pub unsafe fn alljoyn_interfacedescription_getdescriptionlanguages(iface: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getdescriptionlanguages ( iface : alljoyn_interfacedescription , languages : *const *const i8 , size : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getdescriptionlanguages ( iface : alljoyn_interfacedescription , languages : *const *const i8 , size : usize ) -> usize ); alljoyn_interfacedescription_getdescriptionlanguages(iface.into(), languages, size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2388,7 +2388,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getdescriptionlanguages2 ( iface : alljoyn_interfacedescription , languages : :: windows::core::PCSTR , languagessize : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getdescriptionlanguages2 ( iface : alljoyn_interfacedescription , languages : :: windows::core::PCSTR , languagessize : usize ) -> usize ); alljoyn_interfacedescription_getdescriptionlanguages2(iface.into(), languages.into().abi(), languagessize) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2397,7 +2397,7 @@ pub unsafe fn alljoyn_interfacedescription_getdescriptiontranslationcallback where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getdescriptiontranslationcallback ( iface : alljoyn_interfacedescription ) -> alljoyn_interfacedescription_translation_callback_ptr ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getdescriptiontranslationcallback ( iface : alljoyn_interfacedescription ) -> alljoyn_interfacedescription_translation_callback_ptr ); alljoyn_interfacedescription_getdescriptiontranslationcallback(iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2407,7 +2407,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmember ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , member : *mut alljoyn_interfacedescription_member ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmember ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , member : *mut alljoyn_interfacedescription_member ) -> i32 ); alljoyn_interfacedescription_getmember(iface.into(), name.into().abi(), member) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2419,7 +2419,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmemberannotation ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmemberannotation ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); alljoyn_interfacedescription_getmemberannotation(iface.into(), member.into().abi(), name.into().abi(), value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2432,7 +2432,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmemberargannotation ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , argname : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmemberargannotation ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , argname : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); alljoyn_interfacedescription_getmemberargannotation(iface.into(), member.into().abi(), argname.into().abi(), name.into().abi(), value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2444,7 +2444,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmemberdescriptionforlanguage ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , description : :: windows::core::PCSTR , maxlanguagelength : usize , languagetag : :: windows::core::PCSTR ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmemberdescriptionforlanguage ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , description : :: windows::core::PCSTR , maxlanguagelength : usize , languagetag : :: windows::core::PCSTR ) -> usize ); alljoyn_interfacedescription_getmemberdescriptionforlanguage(iface.into(), member.into().abi(), description.into().abi(), maxlanguagelength, languagetag.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2453,7 +2453,7 @@ pub unsafe fn alljoyn_interfacedescription_getmembers(iface: P0, members: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmembers ( iface : alljoyn_interfacedescription , members : *mut alljoyn_interfacedescription_member , nummembers : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmembers ( iface : alljoyn_interfacedescription , members : *mut alljoyn_interfacedescription_member , nummembers : usize ) -> usize ); alljoyn_interfacedescription_getmembers(iface.into(), members, nummembers) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2463,7 +2463,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmethod ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , member : *mut alljoyn_interfacedescription_member ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getmethod ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , member : *mut alljoyn_interfacedescription_member ) -> i32 ); alljoyn_interfacedescription_getmethod(iface.into(), name.into().abi(), member) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2472,7 +2472,7 @@ pub unsafe fn alljoyn_interfacedescription_getname(iface: P0) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getname ( iface : alljoyn_interfacedescription ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getname ( iface : alljoyn_interfacedescription ) -> :: windows::core::PSTR ); alljoyn_interfacedescription_getname(iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2481,7 +2481,7 @@ pub unsafe fn alljoyn_interfacedescription_getproperties(iface: P0, props: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getproperties ( iface : alljoyn_interfacedescription , props : *mut alljoyn_interfacedescription_property , numprops : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getproperties ( iface : alljoyn_interfacedescription , props : *mut alljoyn_interfacedescription_property , numprops : usize ) -> usize ); alljoyn_interfacedescription_getproperties(iface.into(), props, numprops) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2491,7 +2491,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getproperty ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , property : *mut alljoyn_interfacedescription_property ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getproperty ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , property : *mut alljoyn_interfacedescription_property ) -> i32 ); alljoyn_interfacedescription_getproperty(iface.into(), name.into().abi(), property) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2503,7 +2503,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getpropertyannotation ( iface : alljoyn_interfacedescription , property : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , str_size : *mut usize ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getpropertyannotation ( iface : alljoyn_interfacedescription , property : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , str_size : *mut usize ) -> i32 ); alljoyn_interfacedescription_getpropertyannotation(iface.into(), property.into().abi(), name.into().abi(), value.into().abi(), str_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2515,7 +2515,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getpropertydescriptionforlanguage ( iface : alljoyn_interfacedescription , property : :: windows::core::PCSTR , description : :: windows::core::PCSTR , maxlanguagelength : usize , languagetag : :: windows::core::PCSTR ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getpropertydescriptionforlanguage ( iface : alljoyn_interfacedescription , property : :: windows::core::PCSTR , description : :: windows::core::PCSTR , maxlanguagelength : usize , languagetag : :: windows::core::PCSTR ) -> usize ); alljoyn_interfacedescription_getpropertydescriptionforlanguage(iface.into(), property.into().abi(), description.into().abi(), maxlanguagelength, languagetag.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2524,7 +2524,7 @@ pub unsafe fn alljoyn_interfacedescription_getsecuritypolicy(iface: P0) -> a where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getsecuritypolicy ( iface : alljoyn_interfacedescription ) -> alljoyn_interfacedescription_securitypolicy ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getsecuritypolicy ( iface : alljoyn_interfacedescription ) -> alljoyn_interfacedescription_securitypolicy ); alljoyn_interfacedescription_getsecuritypolicy(iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2534,7 +2534,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getsignal ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , member : *mut alljoyn_interfacedescription_member ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_getsignal ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , member : *mut alljoyn_interfacedescription_member ) -> i32 ); alljoyn_interfacedescription_getsignal(iface.into(), name.into().abi(), member) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2543,7 +2543,7 @@ pub unsafe fn alljoyn_interfacedescription_hasdescription(iface: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_hasdescription ( iface : alljoyn_interfacedescription ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_hasdescription ( iface : alljoyn_interfacedescription ) -> i32 ); alljoyn_interfacedescription_hasdescription(iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2555,7 +2555,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_hasmember ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , insig : :: windows::core::PCSTR , outsig : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_hasmember ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , insig : :: windows::core::PCSTR , outsig : :: windows::core::PCSTR ) -> i32 ); alljoyn_interfacedescription_hasmember(iface.into(), name.into().abi(), insig.into().abi(), outsig.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2564,7 +2564,7 @@ pub unsafe fn alljoyn_interfacedescription_hasproperties(iface: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_hasproperties ( iface : alljoyn_interfacedescription ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_hasproperties ( iface : alljoyn_interfacedescription ) -> i32 ); alljoyn_interfacedescription_hasproperties(iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2574,7 +2574,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_hasproperty ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_hasproperty ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR ) -> i32 ); alljoyn_interfacedescription_hasproperty(iface.into(), name.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2584,7 +2584,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_introspect ( iface : alljoyn_interfacedescription , str : :: windows::core::PCSTR , buf : usize , indent : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_introspect ( iface : alljoyn_interfacedescription , str : :: windows::core::PCSTR , buf : usize , indent : usize ) -> usize ); alljoyn_interfacedescription_introspect(iface.into(), str.into().abi(), buf, indent) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2593,13 +2593,13 @@ pub unsafe fn alljoyn_interfacedescription_issecure(iface: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_issecure ( iface : alljoyn_interfacedescription ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_issecure ( iface : alljoyn_interfacedescription ) -> i32 ); alljoyn_interfacedescription_issecure(iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_interfacedescription_member_eql(one: alljoyn_interfacedescription_member, other: alljoyn_interfacedescription_member) -> i32 { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_eql ( one : alljoyn_interfacedescription_member , other : alljoyn_interfacedescription_member ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_eql ( one : alljoyn_interfacedescription_member , other : alljoyn_interfacedescription_member ) -> i32 ); alljoyn_interfacedescription_member_eql(::core::mem::transmute(one), ::core::mem::transmute(other)) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2609,7 +2609,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getannotation ( member : alljoyn_interfacedescription_member , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getannotation ( member : alljoyn_interfacedescription_member , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); alljoyn_interfacedescription_member_getannotation(::core::mem::transmute(member), name.into().abi(), value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2619,13 +2619,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getannotationatindex ( member : alljoyn_interfacedescription_member , index : usize , name : :: windows::core::PCSTR , name_size : *mut usize , value : :: windows::core::PCSTR , value_size : *mut usize ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getannotationatindex ( member : alljoyn_interfacedescription_member , index : usize , name : :: windows::core::PCSTR , name_size : *mut usize , value : :: windows::core::PCSTR , value_size : *mut usize ) -> ( ) ); alljoyn_interfacedescription_member_getannotationatindex(::core::mem::transmute(member), index, name.into().abi(), name_size, value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_interfacedescription_member_getannotationscount(member: alljoyn_interfacedescription_member) -> usize { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getannotationscount ( member : alljoyn_interfacedescription_member ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getannotationscount ( member : alljoyn_interfacedescription_member ) -> usize ); alljoyn_interfacedescription_member_getannotationscount(::core::mem::transmute(member)) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2636,7 +2636,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getargannotation ( member : alljoyn_interfacedescription_member , argname : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getargannotation ( member : alljoyn_interfacedescription_member , argname : :: windows::core::PCSTR , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); alljoyn_interfacedescription_member_getargannotation(::core::mem::transmute(member), argname.into().abi(), name.into().abi(), value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2647,7 +2647,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getargannotationatindex ( member : alljoyn_interfacedescription_member , argname : :: windows::core::PCSTR , index : usize , name : :: windows::core::PCSTR , name_size : *mut usize , value : :: windows::core::PCSTR , value_size : *mut usize ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getargannotationatindex ( member : alljoyn_interfacedescription_member , argname : :: windows::core::PCSTR , index : usize , name : :: windows::core::PCSTR , name_size : *mut usize , value : :: windows::core::PCSTR , value_size : *mut usize ) -> ( ) ); alljoyn_interfacedescription_member_getargannotationatindex(::core::mem::transmute(member), argname.into().abi(), index, name.into().abi(), name_size, value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2656,13 +2656,13 @@ pub unsafe fn alljoyn_interfacedescription_member_getargannotationscount(mem where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getargannotationscount ( member : alljoyn_interfacedescription_member , argname : :: windows::core::PCSTR ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_member_getargannotationscount ( member : alljoyn_interfacedescription_member , argname : :: windows::core::PCSTR ) -> usize ); alljoyn_interfacedescription_member_getargannotationscount(::core::mem::transmute(member), argname.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_interfacedescription_property_eql(one: alljoyn_interfacedescription_property, other: alljoyn_interfacedescription_property) -> i32 { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_property_eql ( one : alljoyn_interfacedescription_property , other : alljoyn_interfacedescription_property ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_property_eql ( one : alljoyn_interfacedescription_property , other : alljoyn_interfacedescription_property ) -> i32 ); alljoyn_interfacedescription_property_eql(::core::mem::transmute(one), ::core::mem::transmute(other)) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2672,7 +2672,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_property_getannotation ( property : alljoyn_interfacedescription_property , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_property_getannotation ( property : alljoyn_interfacedescription_property , name : :: windows::core::PCSTR , value : :: windows::core::PCSTR , value_size : *mut usize ) -> i32 ); alljoyn_interfacedescription_property_getannotation(::core::mem::transmute(property), name.into().abi(), value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2682,13 +2682,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_property_getannotationatindex ( property : alljoyn_interfacedescription_property , index : usize , name : :: windows::core::PCSTR , name_size : *mut usize , value : :: windows::core::PCSTR , value_size : *mut usize ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_property_getannotationatindex ( property : alljoyn_interfacedescription_property , index : usize , name : :: windows::core::PCSTR , name_size : *mut usize , value : :: windows::core::PCSTR , value_size : *mut usize ) -> ( ) ); alljoyn_interfacedescription_property_getannotationatindex(::core::mem::transmute(property), index, name.into().abi(), name_size, value.into().abi(), value_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_interfacedescription_property_getannotationscount(property: alljoyn_interfacedescription_property) -> usize { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_property_getannotationscount ( property : alljoyn_interfacedescription_property ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_property_getannotationscount ( property : alljoyn_interfacedescription_property ) -> usize ); alljoyn_interfacedescription_property_getannotationscount(::core::mem::transmute(property)) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2700,7 +2700,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setargdescription ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , argname : :: windows::core::PCSTR , description : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setargdescription ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , argname : :: windows::core::PCSTR , description : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_setargdescription(iface.into(), member.into().abi(), argname.into().abi(), description.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2713,7 +2713,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setargdescriptionforlanguage ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , arg : :: windows::core::PCSTR , description : :: windows::core::PCSTR , languagetag : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setargdescriptionforlanguage ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , arg : :: windows::core::PCSTR , description : :: windows::core::PCSTR , languagetag : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_setargdescriptionforlanguage(iface.into(), member.into().abi(), arg.into().abi(), description.into().abi(), languagetag.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2723,7 +2723,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setdescription ( iface : alljoyn_interfacedescription , description : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setdescription ( iface : alljoyn_interfacedescription , description : :: windows::core::PCSTR ) -> ( ) ); alljoyn_interfacedescription_setdescription(iface.into(), description.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2734,7 +2734,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setdescriptionforlanguage ( iface : alljoyn_interfacedescription , description : :: windows::core::PCSTR , languagetag : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setdescriptionforlanguage ( iface : alljoyn_interfacedescription , description : :: windows::core::PCSTR , languagetag : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_setdescriptionforlanguage(iface.into(), description.into().abi(), languagetag.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2744,7 +2744,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setdescriptionlanguage ( iface : alljoyn_interfacedescription , language : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setdescriptionlanguage ( iface : alljoyn_interfacedescription , language : :: windows::core::PCSTR ) -> ( ) ); alljoyn_interfacedescription_setdescriptionlanguage(iface.into(), language.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2753,7 +2753,7 @@ pub unsafe fn alljoyn_interfacedescription_setdescriptiontranslationcallback where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setdescriptiontranslationcallback ( iface : alljoyn_interfacedescription , translationcallback : alljoyn_interfacedescription_translation_callback_ptr ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setdescriptiontranslationcallback ( iface : alljoyn_interfacedescription , translationcallback : alljoyn_interfacedescription_translation_callback_ptr ) -> ( ) ); alljoyn_interfacedescription_setdescriptiontranslationcallback(iface.into(), translationcallback) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2764,7 +2764,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setmemberdescription ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , description : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setmemberdescription ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , description : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_setmemberdescription(iface.into(), member.into().abi(), description.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2776,7 +2776,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setmemberdescriptionforlanguage ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , description : :: windows::core::PCSTR , languagetag : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setmemberdescriptionforlanguage ( iface : alljoyn_interfacedescription , member : :: windows::core::PCSTR , description : :: windows::core::PCSTR , languagetag : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_setmemberdescriptionforlanguage(iface.into(), member.into().abi(), description.into().abi(), languagetag.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2787,7 +2787,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setpropertydescription ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , description : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setpropertydescription ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , description : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_setpropertydescription(iface.into(), name.into().abi(), description.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2799,13 +2799,13 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setpropertydescriptionforlanguage ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , description : :: windows::core::PCSTR , languagetag : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_interfacedescription_setpropertydescriptionforlanguage ( iface : alljoyn_interfacedescription , name : :: windows::core::PCSTR , description : :: windows::core::PCSTR , languagetag : :: windows::core::PCSTR ) -> QStatus ); alljoyn_interfacedescription_setpropertydescriptionforlanguage(iface.into(), name.into().abi(), description.into().abi(), languagetag.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_keystorelistener_create(callbacks: *const alljoyn_keystorelistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_keystorelistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_create ( callbacks : *const alljoyn_keystorelistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_keystorelistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_create ( callbacks : *const alljoyn_keystorelistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_keystorelistener ); alljoyn_keystorelistener_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2814,7 +2814,7 @@ pub unsafe fn alljoyn_keystorelistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_destroy ( listener : alljoyn_keystorelistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_destroy ( listener : alljoyn_keystorelistener ) -> ( ) ); alljoyn_keystorelistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2825,7 +2825,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_getkeys ( listener : alljoyn_keystorelistener , keystore : alljoyn_keystore , sink : :: windows::core::PCSTR , sink_sz : *mut usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_getkeys ( listener : alljoyn_keystorelistener , keystore : alljoyn_keystore , sink : :: windows::core::PCSTR , sink_sz : *mut usize ) -> QStatus ); alljoyn_keystorelistener_getkeys(listener.into(), keystore.into(), sink.into().abi(), sink_sz) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2837,13 +2837,13 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_putkeys ( listener : alljoyn_keystorelistener , keystore : alljoyn_keystore , source : :: windows::core::PCSTR , password : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_putkeys ( listener : alljoyn_keystorelistener , keystore : alljoyn_keystore , source : :: windows::core::PCSTR , password : :: windows::core::PCSTR ) -> QStatus ); alljoyn_keystorelistener_putkeys(listener.into(), keystore.into(), source.into().abi(), password.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_keystorelistener_with_synchronization_create(callbacks: *const alljoyn_keystorelistener_with_synchronization_callbacks, context: *mut ::core::ffi::c_void) -> alljoyn_keystorelistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_with_synchronization_create ( callbacks : *const alljoyn_keystorelistener_with_synchronization_callbacks , context : *mut ::core::ffi::c_void ) -> alljoyn_keystorelistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_keystorelistener_with_synchronization_create ( callbacks : *const alljoyn_keystorelistener_with_synchronization_callbacks , context : *mut ::core::ffi::c_void ) -> alljoyn_keystorelistener ); alljoyn_keystorelistener_with_synchronization_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2852,7 +2852,7 @@ pub unsafe fn alljoyn_message_create(bus: P0) -> alljoyn_message where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_create ( bus : alljoyn_busattachment ) -> alljoyn_message ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_create ( bus : alljoyn_busattachment ) -> alljoyn_message ); alljoyn_message_create(bus.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2862,7 +2862,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_description ( msg : alljoyn_message , str : :: windows::core::PCSTR , buf : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_description ( msg : alljoyn_message , str : :: windows::core::PCSTR , buf : usize ) -> usize ); alljoyn_message_description(msg.into(), str.into().abi(), buf) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2871,7 +2871,7 @@ pub unsafe fn alljoyn_message_destroy(msg: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_destroy ( msg : alljoyn_message ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_destroy ( msg : alljoyn_message ) -> ( ) ); alljoyn_message_destroy(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2881,7 +2881,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_eql ( one : alljoyn_message , other : alljoyn_message ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_eql ( one : alljoyn_message , other : alljoyn_message ) -> i32 ); alljoyn_message_eql(one.into(), other.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2890,7 +2890,7 @@ pub unsafe fn alljoyn_message_getarg(msg: P0, argn: usize) -> alljoyn_msgarg where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getarg ( msg : alljoyn_message , argn : usize ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getarg ( msg : alljoyn_message , argn : usize ) -> alljoyn_msgarg ); alljoyn_message_getarg(msg.into(), argn) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2899,7 +2899,7 @@ pub unsafe fn alljoyn_message_getargs(msg: P0, numargs: *mut usize, args: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getargs ( msg : alljoyn_message , numargs : *mut usize , args : *mut alljoyn_msgarg ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getargs ( msg : alljoyn_message , numargs : *mut usize , args : *mut alljoyn_msgarg ) -> ( ) ); alljoyn_message_getargs(msg.into(), numargs, args) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2908,7 +2908,7 @@ pub unsafe fn alljoyn_message_getauthmechanism(msg: P0) -> ::windows::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getauthmechanism ( msg : alljoyn_message ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getauthmechanism ( msg : alljoyn_message ) -> :: windows::core::PSTR ); alljoyn_message_getauthmechanism(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2917,7 +2917,7 @@ pub unsafe fn alljoyn_message_getcallserial(msg: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getcallserial ( msg : alljoyn_message ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getcallserial ( msg : alljoyn_message ) -> u32 ); alljoyn_message_getcallserial(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2926,7 +2926,7 @@ pub unsafe fn alljoyn_message_getcompressiontoken(msg: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getcompressiontoken ( msg : alljoyn_message ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getcompressiontoken ( msg : alljoyn_message ) -> u32 ); alljoyn_message_getcompressiontoken(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2935,7 +2935,7 @@ pub unsafe fn alljoyn_message_getdestination(msg: P0) -> ::windows::core::PS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getdestination ( msg : alljoyn_message ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getdestination ( msg : alljoyn_message ) -> :: windows::core::PSTR ); alljoyn_message_getdestination(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2945,7 +2945,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_geterrorname ( msg : alljoyn_message , errormessage : :: windows::core::PCSTR , errormessage_size : *mut usize ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_geterrorname ( msg : alljoyn_message , errormessage : :: windows::core::PCSTR , errormessage_size : *mut usize ) -> :: windows::core::PSTR ); alljoyn_message_geterrorname(msg.into(), errormessage.into().abi(), errormessage_size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2954,7 +2954,7 @@ pub unsafe fn alljoyn_message_getflags(msg: P0) -> u8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getflags ( msg : alljoyn_message ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getflags ( msg : alljoyn_message ) -> u8 ); alljoyn_message_getflags(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2963,7 +2963,7 @@ pub unsafe fn alljoyn_message_getinterface(msg: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getinterface ( msg : alljoyn_message ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getinterface ( msg : alljoyn_message ) -> :: windows::core::PSTR ); alljoyn_message_getinterface(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2972,7 +2972,7 @@ pub unsafe fn alljoyn_message_getmembername(msg: P0) -> ::windows::core::PST where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getmembername ( msg : alljoyn_message ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getmembername ( msg : alljoyn_message ) -> :: windows::core::PSTR ); alljoyn_message_getmembername(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2981,7 +2981,7 @@ pub unsafe fn alljoyn_message_getobjectpath(msg: P0) -> ::windows::core::PST where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getobjectpath ( msg : alljoyn_message ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getobjectpath ( msg : alljoyn_message ) -> :: windows::core::PSTR ); alljoyn_message_getobjectpath(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2990,7 +2990,7 @@ pub unsafe fn alljoyn_message_getreceiveendpointname(msg: P0) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getreceiveendpointname ( msg : alljoyn_message ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getreceiveendpointname ( msg : alljoyn_message ) -> :: windows::core::PSTR ); alljoyn_message_getreceiveendpointname(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -2999,7 +2999,7 @@ pub unsafe fn alljoyn_message_getreplyserial(msg: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getreplyserial ( msg : alljoyn_message ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getreplyserial ( msg : alljoyn_message ) -> u32 ); alljoyn_message_getreplyserial(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3008,7 +3008,7 @@ pub unsafe fn alljoyn_message_getsender(msg: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getsender ( msg : alljoyn_message ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getsender ( msg : alljoyn_message ) -> :: windows::core::PSTR ); alljoyn_message_getsender(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3017,7 +3017,7 @@ pub unsafe fn alljoyn_message_getsessionid(msg: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getsessionid ( msg : alljoyn_message ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getsessionid ( msg : alljoyn_message ) -> u32 ); alljoyn_message_getsessionid(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3026,7 +3026,7 @@ pub unsafe fn alljoyn_message_getsignature(msg: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_getsignature ( msg : alljoyn_message ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_getsignature ( msg : alljoyn_message ) -> :: windows::core::PSTR ); alljoyn_message_getsignature(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3035,7 +3035,7 @@ pub unsafe fn alljoyn_message_gettimestamp(msg: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_gettimestamp ( msg : alljoyn_message ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_gettimestamp ( msg : alljoyn_message ) -> u32 ); alljoyn_message_gettimestamp(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3044,7 +3044,7 @@ pub unsafe fn alljoyn_message_gettype(msg: P0) -> alljoyn_messagetype where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_gettype ( msg : alljoyn_message ) -> alljoyn_messagetype ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_gettype ( msg : alljoyn_message ) -> alljoyn_messagetype ); alljoyn_message_gettype(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3053,7 +3053,7 @@ pub unsafe fn alljoyn_message_isbroadcastsignal(msg: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_isbroadcastsignal ( msg : alljoyn_message ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_isbroadcastsignal ( msg : alljoyn_message ) -> i32 ); alljoyn_message_isbroadcastsignal(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3062,7 +3062,7 @@ pub unsafe fn alljoyn_message_isencrypted(msg: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_isencrypted ( msg : alljoyn_message ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_isencrypted ( msg : alljoyn_message ) -> i32 ); alljoyn_message_isencrypted(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3071,7 +3071,7 @@ pub unsafe fn alljoyn_message_isexpired(msg: P0, tillexpirems: *mut u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_isexpired ( msg : alljoyn_message , tillexpirems : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_isexpired ( msg : alljoyn_message , tillexpirems : *mut u32 ) -> i32 ); alljoyn_message_isexpired(msg.into(), tillexpirems) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3080,7 +3080,7 @@ pub unsafe fn alljoyn_message_isglobalbroadcast(msg: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_isglobalbroadcast ( msg : alljoyn_message ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_isglobalbroadcast ( msg : alljoyn_message ) -> i32 ); alljoyn_message_isglobalbroadcast(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3089,7 +3089,7 @@ pub unsafe fn alljoyn_message_issessionless(msg: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_issessionless ( msg : alljoyn_message ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_issessionless ( msg : alljoyn_message ) -> i32 ); alljoyn_message_issessionless(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3098,7 +3098,7 @@ pub unsafe fn alljoyn_message_isunreliable(msg: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_isunreliable ( msg : alljoyn_message ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_isunreliable ( msg : alljoyn_message ) -> i32 ); alljoyn_message_isunreliable(msg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3108,13 +3108,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_message_parseargs ( msg : alljoyn_message , signature : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_message_parseargs ( msg : alljoyn_message , signature : :: windows::core::PCSTR ) -> QStatus ); alljoyn_message_parseargs(msg.into(), signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_message_setendianess(endian: i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_setendianess ( endian : i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_setendianess ( endian : i8 ) -> ( ) ); alljoyn_message_setendianess(endian) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3124,13 +3124,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_message_tostring ( msg : alljoyn_message , str : :: windows::core::PCSTR , buf : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_message_tostring ( msg : alljoyn_message , str : :: windows::core::PCSTR , buf : usize ) -> usize ); alljoyn_message_tostring(msg.into(), str.into().abi(), buf) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_msgarg_array_create(size: usize) -> alljoyn_msgarg { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_array_create ( size : usize ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_array_create ( size : usize ) -> alljoyn_msgarg ); alljoyn_msgarg_array_create(size) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3139,7 +3139,7 @@ pub unsafe fn alljoyn_msgarg_array_element(arg: P0, index: usize) -> alljoyn where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_array_element ( arg : alljoyn_msgarg , index : usize ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_array_element ( arg : alljoyn_msgarg , index : usize ) -> alljoyn_msgarg ); alljoyn_msgarg_array_element(arg.into(), index) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3149,7 +3149,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_array_get ( args : alljoyn_msgarg , numargs : usize , signature : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_array_get ( args : alljoyn_msgarg , numargs : usize , signature : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_array_get(args.into(), numargs, signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3159,7 +3159,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_array_set ( args : alljoyn_msgarg , numargs : *mut usize , signature : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_array_set ( args : alljoyn_msgarg , numargs : *mut usize , signature : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_array_set(args.into(), numargs, signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3169,7 +3169,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_array_set_offset ( args : alljoyn_msgarg , argoffset : usize , numargs : *mut usize , signature : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_array_set_offset ( args : alljoyn_msgarg , argoffset : usize , numargs : *mut usize , signature : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_array_set_offset(args.into(), argoffset, numargs, signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3179,7 +3179,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_array_signature ( values : alljoyn_msgarg , numvalues : usize , str : :: windows::core::PCSTR , buf : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_array_signature ( values : alljoyn_msgarg , numvalues : usize , str : :: windows::core::PCSTR , buf : usize ) -> usize ); alljoyn_msgarg_array_signature(values.into(), numvalues, str.into().abi(), buf) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3189,7 +3189,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_array_tostring ( args : alljoyn_msgarg , numargs : usize , str : :: windows::core::PCSTR , buf : usize , indent : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_array_tostring ( args : alljoyn_msgarg , numargs : usize , str : :: windows::core::PCSTR , buf : usize , indent : usize ) -> usize ); alljoyn_msgarg_array_tostring(args.into(), numargs, str.into().abi(), buf, indent) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3198,7 +3198,7 @@ pub unsafe fn alljoyn_msgarg_clear(arg: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_clear ( arg : alljoyn_msgarg ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_clear ( arg : alljoyn_msgarg ) -> ( ) ); alljoyn_msgarg_clear(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3208,7 +3208,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_clone ( destination : alljoyn_msgarg , source : alljoyn_msgarg ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_clone ( destination : alljoyn_msgarg , source : alljoyn_msgarg ) -> ( ) ); alljoyn_msgarg_clone(destination.into(), source.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3217,13 +3217,13 @@ pub unsafe fn alljoyn_msgarg_copy(source: P0) -> alljoyn_msgarg where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_copy ( source : alljoyn_msgarg ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_copy ( source : alljoyn_msgarg ) -> alljoyn_msgarg ); alljoyn_msgarg_copy(source.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_msgarg_create() -> alljoyn_msgarg { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_create ( ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_create ( ) -> alljoyn_msgarg ); alljoyn_msgarg_create() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3232,7 +3232,7 @@ pub unsafe fn alljoyn_msgarg_create_and_set(signature: P0) -> alljoyn_msgarg where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_create_and_set ( signature : :: windows::core::PCSTR ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_create_and_set ( signature : :: windows::core::PCSTR ) -> alljoyn_msgarg ); alljoyn_msgarg_create_and_set(signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3241,7 +3241,7 @@ pub unsafe fn alljoyn_msgarg_destroy(arg: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_destroy ( arg : alljoyn_msgarg ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_destroy ( arg : alljoyn_msgarg ) -> ( ) ); alljoyn_msgarg_destroy(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3251,7 +3251,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_equal ( lhv : alljoyn_msgarg , rhv : alljoyn_msgarg ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_equal ( lhv : alljoyn_msgarg , rhv : alljoyn_msgarg ) -> i32 ); alljoyn_msgarg_equal(lhv.into(), rhv.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3261,7 +3261,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_get ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_get ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_get(arg.into(), signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3270,7 +3270,7 @@ pub unsafe fn alljoyn_msgarg_get_array_element(arg: P0, index: usize, elemen where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_array_element ( arg : alljoyn_msgarg , index : usize , element : *mut alljoyn_msgarg ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_array_element ( arg : alljoyn_msgarg , index : usize , element : *mut alljoyn_msgarg ) -> ( ) ); alljoyn_msgarg_get_array_element(arg.into(), index, element) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3279,7 +3279,7 @@ pub unsafe fn alljoyn_msgarg_get_array_elementsignature(arg: P0, index: usiz where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_array_elementsignature ( arg : alljoyn_msgarg , index : usize ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_array_elementsignature ( arg : alljoyn_msgarg , index : usize ) -> :: windows::core::PSTR ); alljoyn_msgarg_get_array_elementsignature(arg.into(), index) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3288,7 +3288,7 @@ pub unsafe fn alljoyn_msgarg_get_array_numberofelements(arg: P0) -> usize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_array_numberofelements ( arg : alljoyn_msgarg ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_array_numberofelements ( arg : alljoyn_msgarg ) -> usize ); alljoyn_msgarg_get_array_numberofelements(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3297,7 +3297,7 @@ pub unsafe fn alljoyn_msgarg_get_bool(arg: P0, b: *mut i32) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_bool ( arg : alljoyn_msgarg , b : *mut i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_bool ( arg : alljoyn_msgarg , b : *mut i32 ) -> QStatus ); alljoyn_msgarg_get_bool(arg.into(), b) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3306,7 +3306,7 @@ pub unsafe fn alljoyn_msgarg_get_bool_array(arg: P0, length: *mut usize, ab: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_bool_array ( arg : alljoyn_msgarg , length : *mut usize , ab : *mut i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_bool_array ( arg : alljoyn_msgarg , length : *mut usize , ab : *mut i32 ) -> QStatus ); alljoyn_msgarg_get_bool_array(arg.into(), length, ab) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3315,7 +3315,7 @@ pub unsafe fn alljoyn_msgarg_get_double(arg: P0, d: *mut f64) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_double ( arg : alljoyn_msgarg , d : *mut f64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_double ( arg : alljoyn_msgarg , d : *mut f64 ) -> QStatus ); alljoyn_msgarg_get_double(arg.into(), d) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3324,7 +3324,7 @@ pub unsafe fn alljoyn_msgarg_get_double_array(arg: P0, length: *mut usize, a where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_double_array ( arg : alljoyn_msgarg , length : *mut usize , ad : *mut f64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_double_array ( arg : alljoyn_msgarg , length : *mut usize , ad : *mut f64 ) -> QStatus ); alljoyn_msgarg_get_double_array(arg.into(), length, ad) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3333,7 +3333,7 @@ pub unsafe fn alljoyn_msgarg_get_int16(arg: P0, n: *mut i16) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int16 ( arg : alljoyn_msgarg , n : *mut i16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int16 ( arg : alljoyn_msgarg , n : *mut i16 ) -> QStatus ); alljoyn_msgarg_get_int16(arg.into(), n) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3342,7 +3342,7 @@ pub unsafe fn alljoyn_msgarg_get_int16_array(arg: P0, length: *mut usize, an where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int16_array ( arg : alljoyn_msgarg , length : *mut usize , an : *mut i16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int16_array ( arg : alljoyn_msgarg , length : *mut usize , an : *mut i16 ) -> QStatus ); alljoyn_msgarg_get_int16_array(arg.into(), length, an) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3351,7 +3351,7 @@ pub unsafe fn alljoyn_msgarg_get_int32(arg: P0, i: *mut i32) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int32 ( arg : alljoyn_msgarg , i : *mut i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int32 ( arg : alljoyn_msgarg , i : *mut i32 ) -> QStatus ); alljoyn_msgarg_get_int32(arg.into(), i) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3360,7 +3360,7 @@ pub unsafe fn alljoyn_msgarg_get_int32_array(arg: P0, length: *mut usize, ai where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int32_array ( arg : alljoyn_msgarg , length : *mut usize , ai : *mut i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int32_array ( arg : alljoyn_msgarg , length : *mut usize , ai : *mut i32 ) -> QStatus ); alljoyn_msgarg_get_int32_array(arg.into(), length, ai) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3369,7 +3369,7 @@ pub unsafe fn alljoyn_msgarg_get_int64(arg: P0, x: *mut i64) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int64 ( arg : alljoyn_msgarg , x : *mut i64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int64 ( arg : alljoyn_msgarg , x : *mut i64 ) -> QStatus ); alljoyn_msgarg_get_int64(arg.into(), x) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3378,7 +3378,7 @@ pub unsafe fn alljoyn_msgarg_get_int64_array(arg: P0, length: *mut usize, ax where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int64_array ( arg : alljoyn_msgarg , length : *mut usize , ax : *mut i64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_int64_array ( arg : alljoyn_msgarg , length : *mut usize , ax : *mut i64 ) -> QStatus ); alljoyn_msgarg_get_int64_array(arg.into(), length, ax) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3387,7 +3387,7 @@ pub unsafe fn alljoyn_msgarg_get_objectpath(arg: P0, o: *mut *mut i8) -> QSt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_objectpath ( arg : alljoyn_msgarg , o : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_objectpath ( arg : alljoyn_msgarg , o : *mut *mut i8 ) -> QStatus ); alljoyn_msgarg_get_objectpath(arg.into(), o) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3396,7 +3396,7 @@ pub unsafe fn alljoyn_msgarg_get_signature(arg: P0, g: *mut *mut i8) -> QSta where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_signature ( arg : alljoyn_msgarg , g : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_signature ( arg : alljoyn_msgarg , g : *mut *mut i8 ) -> QStatus ); alljoyn_msgarg_get_signature(arg.into(), g) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3405,7 +3405,7 @@ pub unsafe fn alljoyn_msgarg_get_string(arg: P0, s: *mut *mut i8) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_string ( arg : alljoyn_msgarg , s : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_string ( arg : alljoyn_msgarg , s : *mut *mut i8 ) -> QStatus ); alljoyn_msgarg_get_string(arg.into(), s) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3414,7 +3414,7 @@ pub unsafe fn alljoyn_msgarg_get_uint16(arg: P0, q: *mut u16) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint16 ( arg : alljoyn_msgarg , q : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint16 ( arg : alljoyn_msgarg , q : *mut u16 ) -> QStatus ); alljoyn_msgarg_get_uint16(arg.into(), q) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3423,7 +3423,7 @@ pub unsafe fn alljoyn_msgarg_get_uint16_array(arg: P0, length: *mut usize, a where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint16_array ( arg : alljoyn_msgarg , length : *mut usize , aq : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint16_array ( arg : alljoyn_msgarg , length : *mut usize , aq : *mut u16 ) -> QStatus ); alljoyn_msgarg_get_uint16_array(arg.into(), length, aq) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3432,7 +3432,7 @@ pub unsafe fn alljoyn_msgarg_get_uint32(arg: P0, u: *mut u32) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint32 ( arg : alljoyn_msgarg , u : *mut u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint32 ( arg : alljoyn_msgarg , u : *mut u32 ) -> QStatus ); alljoyn_msgarg_get_uint32(arg.into(), u) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3441,7 +3441,7 @@ pub unsafe fn alljoyn_msgarg_get_uint32_array(arg: P0, length: *mut usize, a where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint32_array ( arg : alljoyn_msgarg , length : *mut usize , au : *mut u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint32_array ( arg : alljoyn_msgarg , length : *mut usize , au : *mut u32 ) -> QStatus ); alljoyn_msgarg_get_uint32_array(arg.into(), length, au) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3450,7 +3450,7 @@ pub unsafe fn alljoyn_msgarg_get_uint64(arg: P0, t: *mut u64) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint64 ( arg : alljoyn_msgarg , t : *mut u64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint64 ( arg : alljoyn_msgarg , t : *mut u64 ) -> QStatus ); alljoyn_msgarg_get_uint64(arg.into(), t) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3459,7 +3459,7 @@ pub unsafe fn alljoyn_msgarg_get_uint64_array(arg: P0, length: *mut usize, a where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint64_array ( arg : alljoyn_msgarg , length : *mut usize , at : *mut u64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint64_array ( arg : alljoyn_msgarg , length : *mut usize , at : *mut u64 ) -> QStatus ); alljoyn_msgarg_get_uint64_array(arg.into(), length, at) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3468,7 +3468,7 @@ pub unsafe fn alljoyn_msgarg_get_uint8(arg: P0, y: *mut u8) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint8 ( arg : alljoyn_msgarg , y : *mut u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint8 ( arg : alljoyn_msgarg , y : *mut u8 ) -> QStatus ); alljoyn_msgarg_get_uint8(arg.into(), y) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3477,7 +3477,7 @@ pub unsafe fn alljoyn_msgarg_get_uint8_array(arg: P0, length: *mut usize, ay where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint8_array ( arg : alljoyn_msgarg , length : *mut usize , ay : *mut u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_uint8_array ( arg : alljoyn_msgarg , length : *mut usize , ay : *mut u8 ) -> QStatus ); alljoyn_msgarg_get_uint8_array(arg.into(), length, ay) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3487,7 +3487,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_variant ( arg : alljoyn_msgarg , v : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_variant ( arg : alljoyn_msgarg , v : alljoyn_msgarg ) -> QStatus ); alljoyn_msgarg_get_variant(arg.into(), v.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3497,7 +3497,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_variant_array ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR , length : *mut usize , av : *mut alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_get_variant_array ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR , length : *mut usize , av : *mut alljoyn_msgarg ) -> QStatus ); alljoyn_msgarg_get_variant_array(arg.into(), signature.into().abi(), length, av) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3507,7 +3507,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_getdictelement ( arg : alljoyn_msgarg , elemsig : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_getdictelement ( arg : alljoyn_msgarg , elemsig : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_getdictelement(arg.into(), elemsig.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3516,7 +3516,7 @@ pub unsafe fn alljoyn_msgarg_getkey(arg: P0) -> alljoyn_msgarg where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_getkey ( arg : alljoyn_msgarg ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_getkey ( arg : alljoyn_msgarg ) -> alljoyn_msgarg ); alljoyn_msgarg_getkey(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3525,7 +3525,7 @@ pub unsafe fn alljoyn_msgarg_getmember(arg: P0, index: usize) -> alljoyn_msg where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_getmember ( arg : alljoyn_msgarg , index : usize ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_getmember ( arg : alljoyn_msgarg , index : usize ) -> alljoyn_msgarg ); alljoyn_msgarg_getmember(arg.into(), index) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3534,7 +3534,7 @@ pub unsafe fn alljoyn_msgarg_getnummembers(arg: P0) -> usize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_getnummembers ( arg : alljoyn_msgarg ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_getnummembers ( arg : alljoyn_msgarg ) -> usize ); alljoyn_msgarg_getnummembers(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3543,7 +3543,7 @@ pub unsafe fn alljoyn_msgarg_gettype(arg: P0) -> alljoyn_typeid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_gettype ( arg : alljoyn_msgarg ) -> alljoyn_typeid ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_gettype ( arg : alljoyn_msgarg ) -> alljoyn_typeid ); alljoyn_msgarg_gettype(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3552,7 +3552,7 @@ pub unsafe fn alljoyn_msgarg_getvalue(arg: P0) -> alljoyn_msgarg where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_getvalue ( arg : alljoyn_msgarg ) -> alljoyn_msgarg ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_getvalue ( arg : alljoyn_msgarg ) -> alljoyn_msgarg ); alljoyn_msgarg_getvalue(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3562,7 +3562,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_hassignature ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_hassignature ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR ) -> i32 ); alljoyn_msgarg_hassignature(arg.into(), signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3572,7 +3572,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_set ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_set ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_set(arg.into(), signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3582,7 +3582,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_set_and_stabilize ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""cdecl" fn alljoyn_msgarg_set_and_stabilize ( arg : alljoyn_msgarg , signature : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_set_and_stabilize(arg.into(), signature.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3591,7 +3591,7 @@ pub unsafe fn alljoyn_msgarg_set_bool(arg: P0, b: i32) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_bool ( arg : alljoyn_msgarg , b : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_bool ( arg : alljoyn_msgarg , b : i32 ) -> QStatus ); alljoyn_msgarg_set_bool(arg.into(), b) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3600,7 +3600,7 @@ pub unsafe fn alljoyn_msgarg_set_bool_array(arg: P0, length: usize, ab: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_bool_array ( arg : alljoyn_msgarg , length : usize , ab : *mut i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_bool_array ( arg : alljoyn_msgarg , length : usize , ab : *mut i32 ) -> QStatus ); alljoyn_msgarg_set_bool_array(arg.into(), length, ab) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3609,7 +3609,7 @@ pub unsafe fn alljoyn_msgarg_set_double(arg: P0, d: f64) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_double ( arg : alljoyn_msgarg , d : f64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_double ( arg : alljoyn_msgarg , d : f64 ) -> QStatus ); alljoyn_msgarg_set_double(arg.into(), d) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3618,7 +3618,7 @@ pub unsafe fn alljoyn_msgarg_set_double_array(arg: P0, length: usize, ad: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_double_array ( arg : alljoyn_msgarg , length : usize , ad : *mut f64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_double_array ( arg : alljoyn_msgarg , length : usize , ad : *mut f64 ) -> QStatus ); alljoyn_msgarg_set_double_array(arg.into(), length, ad) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3627,7 +3627,7 @@ pub unsafe fn alljoyn_msgarg_set_int16(arg: P0, n: i16) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int16 ( arg : alljoyn_msgarg , n : i16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int16 ( arg : alljoyn_msgarg , n : i16 ) -> QStatus ); alljoyn_msgarg_set_int16(arg.into(), n) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3636,7 +3636,7 @@ pub unsafe fn alljoyn_msgarg_set_int16_array(arg: P0, length: usize, an: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int16_array ( arg : alljoyn_msgarg , length : usize , an : *mut i16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int16_array ( arg : alljoyn_msgarg , length : usize , an : *mut i16 ) -> QStatus ); alljoyn_msgarg_set_int16_array(arg.into(), length, an) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3645,7 +3645,7 @@ pub unsafe fn alljoyn_msgarg_set_int32(arg: P0, i: i32) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int32 ( arg : alljoyn_msgarg , i : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int32 ( arg : alljoyn_msgarg , i : i32 ) -> QStatus ); alljoyn_msgarg_set_int32(arg.into(), i) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3654,7 +3654,7 @@ pub unsafe fn alljoyn_msgarg_set_int32_array(arg: P0, length: usize, ai: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int32_array ( arg : alljoyn_msgarg , length : usize , ai : *mut i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int32_array ( arg : alljoyn_msgarg , length : usize , ai : *mut i32 ) -> QStatus ); alljoyn_msgarg_set_int32_array(arg.into(), length, ai) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3663,7 +3663,7 @@ pub unsafe fn alljoyn_msgarg_set_int64(arg: P0, x: i64) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int64 ( arg : alljoyn_msgarg , x : i64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int64 ( arg : alljoyn_msgarg , x : i64 ) -> QStatus ); alljoyn_msgarg_set_int64(arg.into(), x) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3672,7 +3672,7 @@ pub unsafe fn alljoyn_msgarg_set_int64_array(arg: P0, length: usize, ax: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int64_array ( arg : alljoyn_msgarg , length : usize , ax : *mut i64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_int64_array ( arg : alljoyn_msgarg , length : usize , ax : *mut i64 ) -> QStatus ); alljoyn_msgarg_set_int64_array(arg.into(), length, ax) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3682,7 +3682,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_objectpath ( arg : alljoyn_msgarg , o : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_objectpath ( arg : alljoyn_msgarg , o : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_set_objectpath(arg.into(), o.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3691,7 +3691,7 @@ pub unsafe fn alljoyn_msgarg_set_objectpath_array(arg: P0, length: usize, ao where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_objectpath_array ( arg : alljoyn_msgarg , length : usize , ao : *const *const i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_objectpath_array ( arg : alljoyn_msgarg , length : usize , ao : *const *const i8 ) -> QStatus ); alljoyn_msgarg_set_objectpath_array(arg.into(), length, ao) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3701,7 +3701,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_signature ( arg : alljoyn_msgarg , g : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_signature ( arg : alljoyn_msgarg , g : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_set_signature(arg.into(), g.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3710,7 +3710,7 @@ pub unsafe fn alljoyn_msgarg_set_signature_array(arg: P0, length: usize, ag: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_signature_array ( arg : alljoyn_msgarg , length : usize , ag : *const *const i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_signature_array ( arg : alljoyn_msgarg , length : usize , ag : *const *const i8 ) -> QStatus ); alljoyn_msgarg_set_signature_array(arg.into(), length, ag) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3720,7 +3720,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_string ( arg : alljoyn_msgarg , s : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_string ( arg : alljoyn_msgarg , s : :: windows::core::PCSTR ) -> QStatus ); alljoyn_msgarg_set_string(arg.into(), s.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3729,7 +3729,7 @@ pub unsafe fn alljoyn_msgarg_set_string_array(arg: P0, length: usize, r#as: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_string_array ( arg : alljoyn_msgarg , length : usize , r#as : *const *const i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_string_array ( arg : alljoyn_msgarg , length : usize , r#as : *const *const i8 ) -> QStatus ); alljoyn_msgarg_set_string_array(arg.into(), length, r#as) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3738,7 +3738,7 @@ pub unsafe fn alljoyn_msgarg_set_uint16(arg: P0, q: u16) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint16 ( arg : alljoyn_msgarg , q : u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint16 ( arg : alljoyn_msgarg , q : u16 ) -> QStatus ); alljoyn_msgarg_set_uint16(arg.into(), q) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3747,7 +3747,7 @@ pub unsafe fn alljoyn_msgarg_set_uint16_array(arg: P0, length: usize, aq: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint16_array ( arg : alljoyn_msgarg , length : usize , aq : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint16_array ( arg : alljoyn_msgarg , length : usize , aq : *mut u16 ) -> QStatus ); alljoyn_msgarg_set_uint16_array(arg.into(), length, aq) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3756,7 +3756,7 @@ pub unsafe fn alljoyn_msgarg_set_uint32(arg: P0, u: u32) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint32 ( arg : alljoyn_msgarg , u : u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint32 ( arg : alljoyn_msgarg , u : u32 ) -> QStatus ); alljoyn_msgarg_set_uint32(arg.into(), u) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3765,7 +3765,7 @@ pub unsafe fn alljoyn_msgarg_set_uint32_array(arg: P0, length: usize, au: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint32_array ( arg : alljoyn_msgarg , length : usize , au : *mut u32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint32_array ( arg : alljoyn_msgarg , length : usize , au : *mut u32 ) -> QStatus ); alljoyn_msgarg_set_uint32_array(arg.into(), length, au) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3774,7 +3774,7 @@ pub unsafe fn alljoyn_msgarg_set_uint64(arg: P0, t: u64) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint64 ( arg : alljoyn_msgarg , t : u64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint64 ( arg : alljoyn_msgarg , t : u64 ) -> QStatus ); alljoyn_msgarg_set_uint64(arg.into(), t) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3783,7 +3783,7 @@ pub unsafe fn alljoyn_msgarg_set_uint64_array(arg: P0, length: usize, at: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint64_array ( arg : alljoyn_msgarg , length : usize , at : *mut u64 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint64_array ( arg : alljoyn_msgarg , length : usize , at : *mut u64 ) -> QStatus ); alljoyn_msgarg_set_uint64_array(arg.into(), length, at) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3792,7 +3792,7 @@ pub unsafe fn alljoyn_msgarg_set_uint8(arg: P0, y: u8) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint8 ( arg : alljoyn_msgarg , y : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint8 ( arg : alljoyn_msgarg , y : u8 ) -> QStatus ); alljoyn_msgarg_set_uint8(arg.into(), y) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3801,7 +3801,7 @@ pub unsafe fn alljoyn_msgarg_set_uint8_array(arg: P0, length: usize, ay: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint8_array ( arg : alljoyn_msgarg , length : usize , ay : *mut u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_set_uint8_array ( arg : alljoyn_msgarg , length : usize , ay : *mut u8 ) -> QStatus ); alljoyn_msgarg_set_uint8_array(arg.into(), length, ay) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3812,7 +3812,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_setdictentry ( arg : alljoyn_msgarg , key : alljoyn_msgarg , value : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_setdictentry ( arg : alljoyn_msgarg , key : alljoyn_msgarg , value : alljoyn_msgarg ) -> QStatus ); alljoyn_msgarg_setdictentry(arg.into(), key.into(), value.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3822,7 +3822,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_setstruct ( arg : alljoyn_msgarg , struct_members : alljoyn_msgarg , num_members : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_setstruct ( arg : alljoyn_msgarg , struct_members : alljoyn_msgarg , num_members : usize ) -> QStatus ); alljoyn_msgarg_setstruct(arg.into(), struct_members.into(), num_members) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3832,7 +3832,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_signature ( arg : alljoyn_msgarg , str : :: windows::core::PCSTR , buf : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_signature ( arg : alljoyn_msgarg , str : :: windows::core::PCSTR , buf : usize ) -> usize ); alljoyn_msgarg_signature(arg.into(), str.into().abi(), buf) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3841,7 +3841,7 @@ pub unsafe fn alljoyn_msgarg_stabilize(arg: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_stabilize ( arg : alljoyn_msgarg ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_stabilize ( arg : alljoyn_msgarg ) -> ( ) ); alljoyn_msgarg_stabilize(arg.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3851,7 +3851,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_tostring ( arg : alljoyn_msgarg , str : :: windows::core::PCSTR , buf : usize , indent : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_msgarg_tostring ( arg : alljoyn_msgarg , str : :: windows::core::PCSTR , buf : usize , indent : usize ) -> usize ); alljoyn_msgarg_tostring(arg.into(), str.into().abi(), buf, indent) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3860,7 +3860,7 @@ pub unsafe fn alljoyn_observer_create(bus: P0, mandatoryinterfaces: *const * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observer_create ( bus : alljoyn_busattachment , mandatoryinterfaces : *const *const i8 , nummandatoryinterfaces : usize ) -> alljoyn_observer ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observer_create ( bus : alljoyn_busattachment , mandatoryinterfaces : *const *const i8 , nummandatoryinterfaces : usize ) -> alljoyn_observer ); alljoyn_observer_create(bus.into(), mandatoryinterfaces, nummandatoryinterfaces) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3869,7 +3869,7 @@ pub unsafe fn alljoyn_observer_destroy(observer: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observer_destroy ( observer : alljoyn_observer ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observer_destroy ( observer : alljoyn_observer ) -> ( ) ); alljoyn_observer_destroy(observer.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3880,7 +3880,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observer_get ( observer : alljoyn_observer , uniquebusname : :: windows::core::PCSTR , objectpath : :: windows::core::PCSTR ) -> alljoyn_proxybusobject_ref ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observer_get ( observer : alljoyn_observer , uniquebusname : :: windows::core::PCSTR , objectpath : :: windows::core::PCSTR ) -> alljoyn_proxybusobject_ref ); alljoyn_observer_get(observer.into(), uniquebusname.into().abi(), objectpath.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3889,7 +3889,7 @@ pub unsafe fn alljoyn_observer_getfirst(observer: P0) -> alljoyn_proxybusobj where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observer_getfirst ( observer : alljoyn_observer ) -> alljoyn_proxybusobject_ref ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observer_getfirst ( observer : alljoyn_observer ) -> alljoyn_proxybusobject_ref ); alljoyn_observer_getfirst(observer.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3899,7 +3899,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observer_getnext ( observer : alljoyn_observer , proxyref : alljoyn_proxybusobject_ref ) -> alljoyn_proxybusobject_ref ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observer_getnext ( observer : alljoyn_observer , proxyref : alljoyn_proxybusobject_ref ) -> alljoyn_proxybusobject_ref ); alljoyn_observer_getnext(observer.into(), proxyref.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3909,7 +3909,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observer_registerlistener ( observer : alljoyn_observer , listener : alljoyn_observerlistener , triggeronexisting : i32 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observer_registerlistener ( observer : alljoyn_observer , listener : alljoyn_observerlistener , triggeronexisting : i32 ) -> ( ) ); alljoyn_observer_registerlistener(observer.into(), listener.into(), triggeronexisting) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3918,7 +3918,7 @@ pub unsafe fn alljoyn_observer_unregisteralllisteners(observer: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observer_unregisteralllisteners ( observer : alljoyn_observer ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observer_unregisteralllisteners ( observer : alljoyn_observer ) -> ( ) ); alljoyn_observer_unregisteralllisteners(observer.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3928,13 +3928,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observer_unregisterlistener ( observer : alljoyn_observer , listener : alljoyn_observerlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observer_unregisterlistener ( observer : alljoyn_observer , listener : alljoyn_observerlistener ) -> ( ) ); alljoyn_observer_unregisterlistener(observer.into(), listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_observerlistener_create(callback: *const alljoyn_observerlistener_callback, context: *const ::core::ffi::c_void) -> alljoyn_observerlistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observerlistener_create ( callback : *const alljoyn_observerlistener_callback , context : *const ::core::ffi::c_void ) -> alljoyn_observerlistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observerlistener_create ( callback : *const alljoyn_observerlistener_callback , context : *const ::core::ffi::c_void ) -> alljoyn_observerlistener ); alljoyn_observerlistener_create(callback, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3943,7 +3943,7 @@ pub unsafe fn alljoyn_observerlistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_observerlistener_destroy ( listener : alljoyn_observerlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_observerlistener_destroy ( listener : alljoyn_observerlistener ) -> ( ) ); alljoyn_observerlistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3953,13 +3953,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_passwordmanager_setcredentials ( authmechanism : :: windows::core::PCSTR , password : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_passwordmanager_setcredentials ( authmechanism : :: windows::core::PCSTR , password : :: windows::core::PCSTR ) -> QStatus ); alljoyn_passwordmanager_setcredentials(authmechanism.into().abi(), password.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurationlistener_create(callbacks: *const alljoyn_permissionconfigurationlistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_permissionconfigurationlistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurationlistener_create ( callbacks : *const alljoyn_permissionconfigurationlistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_permissionconfigurationlistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurationlistener_create ( callbacks : *const alljoyn_permissionconfigurationlistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_permissionconfigurationlistener ); alljoyn_permissionconfigurationlistener_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3968,25 +3968,25 @@ pub unsafe fn alljoyn_permissionconfigurationlistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurationlistener_destroy ( listener : alljoyn_permissionconfigurationlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurationlistener_destroy ( listener : alljoyn_permissionconfigurationlistener ) -> ( ) ); alljoyn_permissionconfigurationlistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurator_certificatechain_destroy(certificatechain: *mut i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_certificatechain_destroy ( certificatechain : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_certificatechain_destroy ( certificatechain : *mut i8 ) -> ( ) ); alljoyn_permissionconfigurator_certificatechain_destroy(certificatechain) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurator_certificateid_cleanup(certificateid: *mut alljoyn_certificateid) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_certificateid_cleanup ( certificateid : *mut alljoyn_certificateid ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_certificateid_cleanup ( certificateid : *mut alljoyn_certificateid ) -> ( ) ); alljoyn_permissionconfigurator_certificateid_cleanup(certificateid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurator_certificateidarray_cleanup(certificateidarray: *mut alljoyn_certificateidarray) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_certificateidarray_cleanup ( certificateidarray : *mut alljoyn_certificateidarray ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_certificateidarray_cleanup ( certificateidarray : *mut alljoyn_certificateidarray ) -> ( ) ); alljoyn_permissionconfigurator_certificateidarray_cleanup(certificateidarray) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -3995,7 +3995,7 @@ pub unsafe fn alljoyn_permissionconfigurator_claim(configurator: P0, cakey: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_claim ( configurator : alljoyn_permissionconfigurator , cakey : *mut i8 , identitycertificatechain : *mut i8 , groupid : *const u8 , groupsize : usize , groupauthority : *mut i8 , manifestsxmls : *mut *mut i8 , manifestscount : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_claim ( configurator : alljoyn_permissionconfigurator , cakey : *mut i8 , identitycertificatechain : *mut i8 , groupid : *const u8 , groupsize : usize , groupauthority : *mut i8 , manifestsxmls : *mut *mut i8 , manifestscount : usize ) -> QStatus ); alljoyn_permissionconfigurator_claim(configurator.into(), cakey, identitycertificatechain, groupid, groupsize, groupauthority, manifestsxmls, manifestscount) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4004,7 +4004,7 @@ pub unsafe fn alljoyn_permissionconfigurator_endmanagement(configurator: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_endmanagement ( configurator : alljoyn_permissionconfigurator ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_endmanagement ( configurator : alljoyn_permissionconfigurator ) -> QStatus ); alljoyn_permissionconfigurator_endmanagement(configurator.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4013,7 +4013,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getapplicationstate(configurato where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getapplicationstate ( configurator : alljoyn_permissionconfigurator , state : *mut alljoyn_applicationstate ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getapplicationstate ( configurator : alljoyn_permissionconfigurator , state : *mut alljoyn_applicationstate ) -> QStatus ); alljoyn_permissionconfigurator_getapplicationstate(configurator.into(), state) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4022,7 +4022,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getclaimcapabilities(configurat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getclaimcapabilities ( configurator : alljoyn_permissionconfigurator , claimcapabilities : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getclaimcapabilities ( configurator : alljoyn_permissionconfigurator , claimcapabilities : *mut u16 ) -> QStatus ); alljoyn_permissionconfigurator_getclaimcapabilities(configurator.into(), claimcapabilities) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4031,13 +4031,13 @@ pub unsafe fn alljoyn_permissionconfigurator_getclaimcapabilitiesadditionalinfo< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getclaimcapabilitiesadditionalinfo ( configurator : alljoyn_permissionconfigurator , additionalinfo : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getclaimcapabilitiesadditionalinfo ( configurator : alljoyn_permissionconfigurator , additionalinfo : *mut u16 ) -> QStatus ); alljoyn_permissionconfigurator_getclaimcapabilitiesadditionalinfo(configurator.into(), additionalinfo) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurator_getdefaultclaimcapabilities() -> u16 { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getdefaultclaimcapabilities ( ) -> u16 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getdefaultclaimcapabilities ( ) -> u16 ); alljoyn_permissionconfigurator_getdefaultclaimcapabilities() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4046,7 +4046,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getdefaultpolicy(configurator: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getdefaultpolicy ( configurator : alljoyn_permissionconfigurator , policyxml : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getdefaultpolicy ( configurator : alljoyn_permissionconfigurator , policyxml : *mut *mut i8 ) -> QStatus ); alljoyn_permissionconfigurator_getdefaultpolicy(configurator.into(), policyxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4055,7 +4055,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getidentity(configurator: P0, i where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getidentity ( configurator : alljoyn_permissionconfigurator , identitycertificatechain : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getidentity ( configurator : alljoyn_permissionconfigurator , identitycertificatechain : *mut *mut i8 ) -> QStatus ); alljoyn_permissionconfigurator_getidentity(configurator.into(), identitycertificatechain) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4064,7 +4064,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getidentitycertificateid(config where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getidentitycertificateid ( configurator : alljoyn_permissionconfigurator , certificateid : *mut alljoyn_certificateid ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getidentitycertificateid ( configurator : alljoyn_permissionconfigurator , certificateid : *mut alljoyn_certificateid ) -> QStatus ); alljoyn_permissionconfigurator_getidentitycertificateid(configurator.into(), certificateid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4073,7 +4073,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getmanifests(configurator: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getmanifests ( configurator : alljoyn_permissionconfigurator , manifestarray : *mut alljoyn_manifestarray ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getmanifests ( configurator : alljoyn_permissionconfigurator , manifestarray : *mut alljoyn_manifestarray ) -> QStatus ); alljoyn_permissionconfigurator_getmanifests(configurator.into(), manifestarray) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4082,7 +4082,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getmanifesttemplate(configurato where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getmanifesttemplate ( configurator : alljoyn_permissionconfigurator , manifesttemplatexml : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getmanifesttemplate ( configurator : alljoyn_permissionconfigurator , manifesttemplatexml : *mut *mut i8 ) -> QStatus ); alljoyn_permissionconfigurator_getmanifesttemplate(configurator.into(), manifesttemplatexml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4091,7 +4091,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getmembershipsummaries(configur where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getmembershipsummaries ( configurator : alljoyn_permissionconfigurator , certificateids : *mut alljoyn_certificateidarray ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getmembershipsummaries ( configurator : alljoyn_permissionconfigurator , certificateids : *mut alljoyn_certificateidarray ) -> QStatus ); alljoyn_permissionconfigurator_getmembershipsummaries(configurator.into(), certificateids) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4100,7 +4100,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getpolicy(configurator: P0, pol where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getpolicy ( configurator : alljoyn_permissionconfigurator , policyxml : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getpolicy ( configurator : alljoyn_permissionconfigurator , policyxml : *mut *mut i8 ) -> QStatus ); alljoyn_permissionconfigurator_getpolicy(configurator.into(), policyxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4109,7 +4109,7 @@ pub unsafe fn alljoyn_permissionconfigurator_getpublickey(configurator: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getpublickey ( configurator : alljoyn_permissionconfigurator , publickey : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_getpublickey ( configurator : alljoyn_permissionconfigurator , publickey : *mut *mut i8 ) -> QStatus ); alljoyn_permissionconfigurator_getpublickey(configurator.into(), publickey) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4118,7 +4118,7 @@ pub unsafe fn alljoyn_permissionconfigurator_installmanifests(configurator: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_installmanifests ( configurator : alljoyn_permissionconfigurator , manifestsxmls : *mut *mut i8 , manifestscount : usize , append : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_installmanifests ( configurator : alljoyn_permissionconfigurator , manifestsxmls : *mut *mut i8 , manifestscount : usize , append : i32 ) -> QStatus ); alljoyn_permissionconfigurator_installmanifests(configurator.into(), manifestsxmls, manifestscount, append) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4127,31 +4127,31 @@ pub unsafe fn alljoyn_permissionconfigurator_installmembership(configurator: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_installmembership ( configurator : alljoyn_permissionconfigurator , membershipcertificatechain : *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_installmembership ( configurator : alljoyn_permissionconfigurator , membershipcertificatechain : *mut i8 ) -> QStatus ); alljoyn_permissionconfigurator_installmembership(configurator.into(), membershipcertificatechain) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurator_manifestarray_cleanup(manifestarray: *mut alljoyn_manifestarray) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_manifestarray_cleanup ( manifestarray : *mut alljoyn_manifestarray ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_manifestarray_cleanup ( manifestarray : *mut alljoyn_manifestarray ) -> ( ) ); alljoyn_permissionconfigurator_manifestarray_cleanup(manifestarray) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurator_manifesttemplate_destroy(manifesttemplatexml: *mut i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_manifesttemplate_destroy ( manifesttemplatexml : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_manifesttemplate_destroy ( manifesttemplatexml : *mut i8 ) -> ( ) ); alljoyn_permissionconfigurator_manifesttemplate_destroy(manifesttemplatexml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurator_policy_destroy(policyxml: *mut i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_policy_destroy ( policyxml : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_policy_destroy ( policyxml : *mut i8 ) -> ( ) ); alljoyn_permissionconfigurator_policy_destroy(policyxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_permissionconfigurator_publickey_destroy(publickey: *mut i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_publickey_destroy ( publickey : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_publickey_destroy ( publickey : *mut i8 ) -> ( ) ); alljoyn_permissionconfigurator_publickey_destroy(publickey) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4160,7 +4160,7 @@ pub unsafe fn alljoyn_permissionconfigurator_removemembership(configurator: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_removemembership ( configurator : alljoyn_permissionconfigurator , serial : *const u8 , seriallen : usize , issuerpublickey : *mut i8 , issueraki : *const u8 , issuerakilen : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_removemembership ( configurator : alljoyn_permissionconfigurator , serial : *const u8 , seriallen : usize , issuerpublickey : *mut i8 , issueraki : *const u8 , issuerakilen : usize ) -> QStatus ); alljoyn_permissionconfigurator_removemembership(configurator.into(), serial, seriallen, issuerpublickey, issueraki, issuerakilen) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4169,7 +4169,7 @@ pub unsafe fn alljoyn_permissionconfigurator_reset(configurator: P0) -> QSta where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_reset ( configurator : alljoyn_permissionconfigurator ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_reset ( configurator : alljoyn_permissionconfigurator ) -> QStatus ); alljoyn_permissionconfigurator_reset(configurator.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4178,7 +4178,7 @@ pub unsafe fn alljoyn_permissionconfigurator_resetpolicy(configurator: P0) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_resetpolicy ( configurator : alljoyn_permissionconfigurator ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_resetpolicy ( configurator : alljoyn_permissionconfigurator ) -> QStatus ); alljoyn_permissionconfigurator_resetpolicy(configurator.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4187,7 +4187,7 @@ pub unsafe fn alljoyn_permissionconfigurator_setapplicationstate(configurato where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_setapplicationstate ( configurator : alljoyn_permissionconfigurator , state : alljoyn_applicationstate ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_setapplicationstate ( configurator : alljoyn_permissionconfigurator , state : alljoyn_applicationstate ) -> QStatus ); alljoyn_permissionconfigurator_setapplicationstate(configurator.into(), state) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4196,7 +4196,7 @@ pub unsafe fn alljoyn_permissionconfigurator_setclaimcapabilities(configurat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_setclaimcapabilities ( configurator : alljoyn_permissionconfigurator , claimcapabilities : u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_setclaimcapabilities ( configurator : alljoyn_permissionconfigurator , claimcapabilities : u16 ) -> QStatus ); alljoyn_permissionconfigurator_setclaimcapabilities(configurator.into(), claimcapabilities) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4205,7 +4205,7 @@ pub unsafe fn alljoyn_permissionconfigurator_setclaimcapabilitiesadditionalinfo< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_setclaimcapabilitiesadditionalinfo ( configurator : alljoyn_permissionconfigurator , additionalinfo : u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_setclaimcapabilitiesadditionalinfo ( configurator : alljoyn_permissionconfigurator , additionalinfo : u16 ) -> QStatus ); alljoyn_permissionconfigurator_setclaimcapabilitiesadditionalinfo(configurator.into(), additionalinfo) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4214,7 +4214,7 @@ pub unsafe fn alljoyn_permissionconfigurator_setmanifesttemplatefromxml(conf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_setmanifesttemplatefromxml ( configurator : alljoyn_permissionconfigurator , manifesttemplatexml : *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_setmanifesttemplatefromxml ( configurator : alljoyn_permissionconfigurator , manifesttemplatexml : *mut i8 ) -> QStatus ); alljoyn_permissionconfigurator_setmanifesttemplatefromxml(configurator.into(), manifesttemplatexml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4223,7 +4223,7 @@ pub unsafe fn alljoyn_permissionconfigurator_startmanagement(configurator: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_startmanagement ( configurator : alljoyn_permissionconfigurator ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_startmanagement ( configurator : alljoyn_permissionconfigurator ) -> QStatus ); alljoyn_permissionconfigurator_startmanagement(configurator.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4232,7 +4232,7 @@ pub unsafe fn alljoyn_permissionconfigurator_updateidentity(configurator: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_updateidentity ( configurator : alljoyn_permissionconfigurator , identitycertificatechain : *mut i8 , manifestsxmls : *mut *mut i8 , manifestscount : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_updateidentity ( configurator : alljoyn_permissionconfigurator , identitycertificatechain : *mut i8 , manifestsxmls : *mut *mut i8 , manifestscount : usize ) -> QStatus ); alljoyn_permissionconfigurator_updateidentity(configurator.into(), identitycertificatechain, manifestsxmls, manifestscount) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4241,13 +4241,13 @@ pub unsafe fn alljoyn_permissionconfigurator_updatepolicy(configurator: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_updatepolicy ( configurator : alljoyn_permissionconfigurator , policyxml : *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_permissionconfigurator_updatepolicy ( configurator : alljoyn_permissionconfigurator , policyxml : *mut i8 ) -> QStatus ); alljoyn_permissionconfigurator_updatepolicy(configurator.into(), policyxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_pinglistener_create(callback: *const alljoyn_pinglistener_callback, context: *const ::core::ffi::c_void) -> alljoyn_pinglistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_pinglistener_create ( callback : *const alljoyn_pinglistener_callback , context : *const ::core::ffi::c_void ) -> alljoyn_pinglistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_pinglistener_create ( callback : *const alljoyn_pinglistener_callback , context : *const ::core::ffi::c_void ) -> alljoyn_pinglistener ); alljoyn_pinglistener_create(callback, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4256,7 +4256,7 @@ pub unsafe fn alljoyn_pinglistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_pinglistener_destroy ( listener : alljoyn_pinglistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_pinglistener_destroy ( listener : alljoyn_pinglistener ) -> ( ) ); alljoyn_pinglistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4266,7 +4266,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_addchild ( proxyobj : alljoyn_proxybusobject , child : alljoyn_proxybusobject ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_addchild ( proxyobj : alljoyn_proxybusobject , child : alljoyn_proxybusobject ) -> QStatus ); alljoyn_proxybusobject_addchild(proxyobj.into(), child.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4276,7 +4276,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_addinterface ( proxyobj : alljoyn_proxybusobject , iface : alljoyn_interfacedescription ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_addinterface ( proxyobj : alljoyn_proxybusobject , iface : alljoyn_interfacedescription ) -> QStatus ); alljoyn_proxybusobject_addinterface(proxyobj.into(), iface.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4286,7 +4286,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_addinterface_by_name ( proxyobj : alljoyn_proxybusobject , name : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_addinterface_by_name ( proxyobj : alljoyn_proxybusobject , name : :: windows::core::PCSTR ) -> QStatus ); alljoyn_proxybusobject_addinterface_by_name(proxyobj.into(), name.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4295,7 +4295,7 @@ pub unsafe fn alljoyn_proxybusobject_copy(source: P0) -> alljoyn_proxybusobj where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_copy ( source : alljoyn_proxybusobject ) -> alljoyn_proxybusobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_copy ( source : alljoyn_proxybusobject ) -> alljoyn_proxybusobject ); alljoyn_proxybusobject_copy(source.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4306,7 +4306,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_create ( bus : alljoyn_busattachment , service : :: windows::core::PCSTR , path : :: windows::core::PCSTR , sessionid : u32 ) -> alljoyn_proxybusobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_create ( bus : alljoyn_busattachment , service : :: windows::core::PCSTR , path : :: windows::core::PCSTR , sessionid : u32 ) -> alljoyn_proxybusobject ); alljoyn_proxybusobject_create(bus.into(), service.into().abi(), path.into().abi(), sessionid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4317,7 +4317,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_create_secure ( bus : alljoyn_busattachment , service : :: windows::core::PCSTR , path : :: windows::core::PCSTR , sessionid : u32 ) -> alljoyn_proxybusobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_create_secure ( bus : alljoyn_busattachment , service : :: windows::core::PCSTR , path : :: windows::core::PCSTR , sessionid : u32 ) -> alljoyn_proxybusobject ); alljoyn_proxybusobject_create_secure(bus.into(), service.into().abi(), path.into().abi(), sessionid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4326,7 +4326,7 @@ pub unsafe fn alljoyn_proxybusobject_destroy(proxyobj: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_destroy ( proxyobj : alljoyn_proxybusobject ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_destroy ( proxyobj : alljoyn_proxybusobject ) -> ( ) ); alljoyn_proxybusobject_destroy(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4335,7 +4335,7 @@ pub unsafe fn alljoyn_proxybusobject_enablepropertycaching(proxyobj: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_enablepropertycaching ( proxyobj : alljoyn_proxybusobject ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_enablepropertycaching ( proxyobj : alljoyn_proxybusobject ) -> ( ) ); alljoyn_proxybusobject_enablepropertycaching(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4346,7 +4346,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getallproperties ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , values : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getallproperties ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , values : alljoyn_msgarg ) -> QStatus ); alljoyn_proxybusobject_getallproperties(proxyobj.into(), iface.into().abi(), values.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4356,7 +4356,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getallpropertiesasync ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , callback : alljoyn_proxybusobject_listener_getallpropertiescb_ptr , timeout : u32 , context : *mut ::core::ffi::c_void ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getallpropertiesasync ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , callback : alljoyn_proxybusobject_listener_getallpropertiescb_ptr , timeout : u32 , context : *mut ::core::ffi::c_void ) -> QStatus ); alljoyn_proxybusobject_getallpropertiesasync(proxyobj.into(), iface.into().abi(), callback, timeout, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4366,7 +4366,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getchild ( proxyobj : alljoyn_proxybusobject , path : :: windows::core::PCSTR ) -> alljoyn_proxybusobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getchild ( proxyobj : alljoyn_proxybusobject , path : :: windows::core::PCSTR ) -> alljoyn_proxybusobject ); alljoyn_proxybusobject_getchild(proxyobj.into(), path.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4375,7 +4375,7 @@ pub unsafe fn alljoyn_proxybusobject_getchildren(proxyobj: P0, children: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getchildren ( proxyobj : alljoyn_proxybusobject , children : *mut alljoyn_proxybusobject , numchildren : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getchildren ( proxyobj : alljoyn_proxybusobject , children : *mut alljoyn_proxybusobject , numchildren : usize ) -> usize ); alljoyn_proxybusobject_getchildren(proxyobj.into(), children, numchildren) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4385,7 +4385,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getinterface ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR ) -> alljoyn_interfacedescription ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getinterface ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR ) -> alljoyn_interfacedescription ); alljoyn_proxybusobject_getinterface(proxyobj.into(), iface.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4394,7 +4394,7 @@ pub unsafe fn alljoyn_proxybusobject_getinterfaces(proxyobj: P0, ifaces: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getinterfaces ( proxyobj : alljoyn_proxybusobject , ifaces : *const alljoyn_interfacedescription , numifaces : usize ) -> usize ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getinterfaces ( proxyobj : alljoyn_proxybusobject , ifaces : *const alljoyn_interfacedescription , numifaces : usize ) -> usize ); alljoyn_proxybusobject_getinterfaces(proxyobj.into(), ifaces, numifaces) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4403,7 +4403,7 @@ pub unsafe fn alljoyn_proxybusobject_getpath(proxyobj: P0) -> ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getpath ( proxyobj : alljoyn_proxybusobject ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getpath ( proxyobj : alljoyn_proxybusobject ) -> :: windows::core::PSTR ); alljoyn_proxybusobject_getpath(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4415,7 +4415,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getproperty ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , property : :: windows::core::PCSTR , value : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getproperty ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , property : :: windows::core::PCSTR , value : alljoyn_msgarg ) -> QStatus ); alljoyn_proxybusobject_getproperty(proxyobj.into(), iface.into().abi(), property.into().abi(), value.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4426,7 +4426,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getpropertyasync ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , property : :: windows::core::PCSTR , callback : alljoyn_proxybusobject_listener_getpropertycb_ptr , timeout : u32 , context : *mut ::core::ffi::c_void ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getpropertyasync ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , property : :: windows::core::PCSTR , callback : alljoyn_proxybusobject_listener_getpropertycb_ptr , timeout : u32 , context : *mut ::core::ffi::c_void ) -> QStatus ); alljoyn_proxybusobject_getpropertyasync(proxyobj.into(), iface.into().abi(), property.into().abi(), callback, timeout, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4435,7 +4435,7 @@ pub unsafe fn alljoyn_proxybusobject_getservicename(proxyobj: P0) -> ::windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getservicename ( proxyobj : alljoyn_proxybusobject ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getservicename ( proxyobj : alljoyn_proxybusobject ) -> :: windows::core::PSTR ); alljoyn_proxybusobject_getservicename(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4444,7 +4444,7 @@ pub unsafe fn alljoyn_proxybusobject_getsessionid(proxyobj: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getsessionid ( proxyobj : alljoyn_proxybusobject ) -> u32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getsessionid ( proxyobj : alljoyn_proxybusobject ) -> u32 ); alljoyn_proxybusobject_getsessionid(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4453,7 +4453,7 @@ pub unsafe fn alljoyn_proxybusobject_getuniquename(proxyobj: P0) -> ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getuniquename ( proxyobj : alljoyn_proxybusobject ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_getuniquename ( proxyobj : alljoyn_proxybusobject ) -> :: windows::core::PSTR ); alljoyn_proxybusobject_getuniquename(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4463,7 +4463,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_implementsinterface ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_implementsinterface ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR ) -> i32 ); alljoyn_proxybusobject_implementsinterface(proxyobj.into(), iface.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4472,7 +4472,7 @@ pub unsafe fn alljoyn_proxybusobject_introspectremoteobject(proxyobj: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_introspectremoteobject ( proxyobj : alljoyn_proxybusobject ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_introspectremoteobject ( proxyobj : alljoyn_proxybusobject ) -> QStatus ); alljoyn_proxybusobject_introspectremoteobject(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4481,7 +4481,7 @@ pub unsafe fn alljoyn_proxybusobject_introspectremoteobjectasync(proxyobj: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_introspectremoteobjectasync ( proxyobj : alljoyn_proxybusobject , callback : alljoyn_proxybusobject_listener_introspectcb_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_introspectremoteobjectasync ( proxyobj : alljoyn_proxybusobject , callback : alljoyn_proxybusobject_listener_introspectcb_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); alljoyn_proxybusobject_introspectremoteobjectasync(proxyobj.into(), callback, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4490,7 +4490,7 @@ pub unsafe fn alljoyn_proxybusobject_issecure(proxyobj: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_issecure ( proxyobj : alljoyn_proxybusobject ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_issecure ( proxyobj : alljoyn_proxybusobject ) -> i32 ); alljoyn_proxybusobject_issecure(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4499,7 +4499,7 @@ pub unsafe fn alljoyn_proxybusobject_isvalid(proxyobj: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_isvalid ( proxyobj : alljoyn_proxybusobject ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_isvalid ( proxyobj : alljoyn_proxybusobject ) -> i32 ); alljoyn_proxybusobject_isvalid(proxyobj.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4512,7 +4512,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcall ( proxyobj : alljoyn_proxybusobject , ifacename : :: windows::core::PCSTR , methodname : :: windows::core::PCSTR , args : alljoyn_msgarg , numargs : usize , replymsg : alljoyn_message , timeout : u32 , flags : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcall ( proxyobj : alljoyn_proxybusobject , ifacename : :: windows::core::PCSTR , methodname : :: windows::core::PCSTR , args : alljoyn_msgarg , numargs : usize , replymsg : alljoyn_message , timeout : u32 , flags : u8 ) -> QStatus ); alljoyn_proxybusobject_methodcall(proxyobj.into(), ifacename.into().abi(), methodname.into().abi(), args.into(), numargs, replymsg.into(), timeout, flags) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4523,7 +4523,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcall_member ( proxyobj : alljoyn_proxybusobject , method : alljoyn_interfacedescription_member , args : alljoyn_msgarg , numargs : usize , replymsg : alljoyn_message , timeout : u32 , flags : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcall_member ( proxyobj : alljoyn_proxybusobject , method : alljoyn_interfacedescription_member , args : alljoyn_msgarg , numargs : usize , replymsg : alljoyn_message , timeout : u32 , flags : u8 ) -> QStatus ); alljoyn_proxybusobject_methodcall_member(proxyobj.into(), ::core::mem::transmute(method), args.into(), numargs, replymsg.into(), timeout, flags) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4533,7 +4533,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcall_member_noreply ( proxyobj : alljoyn_proxybusobject , method : alljoyn_interfacedescription_member , args : alljoyn_msgarg , numargs : usize , flags : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcall_member_noreply ( proxyobj : alljoyn_proxybusobject , method : alljoyn_interfacedescription_member , args : alljoyn_msgarg , numargs : usize , flags : u8 ) -> QStatus ); alljoyn_proxybusobject_methodcall_member_noreply(proxyobj.into(), ::core::mem::transmute(method), args.into(), numargs, flags) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4545,7 +4545,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcall_noreply ( proxyobj : alljoyn_proxybusobject , ifacename : :: windows::core::PCSTR , methodname : :: windows::core::PCSTR , args : alljoyn_msgarg , numargs : usize , flags : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcall_noreply ( proxyobj : alljoyn_proxybusobject , ifacename : :: windows::core::PCSTR , methodname : :: windows::core::PCSTR , args : alljoyn_msgarg , numargs : usize , flags : u8 ) -> QStatus ); alljoyn_proxybusobject_methodcall_noreply(proxyobj.into(), ifacename.into().abi(), methodname.into().abi(), args.into(), numargs, flags) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4557,7 +4557,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcallasync ( proxyobj : alljoyn_proxybusobject , ifacename : :: windows::core::PCSTR , methodname : :: windows::core::PCSTR , replyfunc : alljoyn_messagereceiver_replyhandler_ptr , args : alljoyn_msgarg , numargs : usize , context : *mut ::core::ffi::c_void , timeout : u32 , flags : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcallasync ( proxyobj : alljoyn_proxybusobject , ifacename : :: windows::core::PCSTR , methodname : :: windows::core::PCSTR , replyfunc : alljoyn_messagereceiver_replyhandler_ptr , args : alljoyn_msgarg , numargs : usize , context : *mut ::core::ffi::c_void , timeout : u32 , flags : u8 ) -> QStatus ); alljoyn_proxybusobject_methodcallasync(proxyobj.into(), ifacename.into().abi(), methodname.into().abi(), replyfunc, args.into(), numargs, context, timeout, flags) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4567,7 +4567,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcallasync_member ( proxyobj : alljoyn_proxybusobject , method : alljoyn_interfacedescription_member , replyfunc : alljoyn_messagereceiver_replyhandler_ptr , args : alljoyn_msgarg , numargs : usize , context : *mut ::core::ffi::c_void , timeout : u32 , flags : u8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_methodcallasync_member ( proxyobj : alljoyn_proxybusobject , method : alljoyn_interfacedescription_member , replyfunc : alljoyn_messagereceiver_replyhandler_ptr , args : alljoyn_msgarg , numargs : usize , context : *mut ::core::ffi::c_void , timeout : u32 , flags : u8 ) -> QStatus ); alljoyn_proxybusobject_methodcallasync_member(proxyobj.into(), ::core::mem::transmute(method), replyfunc, args.into(), numargs, context, timeout, flags) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4578,7 +4578,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_parsexml ( proxyobj : alljoyn_proxybusobject , xml : :: windows::core::PCSTR , identifier : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_parsexml ( proxyobj : alljoyn_proxybusobject , xml : :: windows::core::PCSTR , identifier : :: windows::core::PCSTR ) -> QStatus ); alljoyn_proxybusobject_parsexml(proxyobj.into(), xml.into().abi(), identifier.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4587,7 +4587,7 @@ pub unsafe fn alljoyn_proxybusobject_ref_create(proxy: P0) -> alljoyn_proxyb where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_ref_create ( proxy : alljoyn_proxybusobject ) -> alljoyn_proxybusobject_ref ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_ref_create ( proxy : alljoyn_proxybusobject ) -> alljoyn_proxybusobject_ref ); alljoyn_proxybusobject_ref_create(proxy.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4596,7 +4596,7 @@ pub unsafe fn alljoyn_proxybusobject_ref_decref(r#ref: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_ref_decref ( r#ref : alljoyn_proxybusobject_ref ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_ref_decref ( r#ref : alljoyn_proxybusobject_ref ) -> ( ) ); alljoyn_proxybusobject_ref_decref(r#ref.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4605,7 +4605,7 @@ pub unsafe fn alljoyn_proxybusobject_ref_get(r#ref: P0) -> alljoyn_proxybuso where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_ref_get ( r#ref : alljoyn_proxybusobject_ref ) -> alljoyn_proxybusobject ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_ref_get ( r#ref : alljoyn_proxybusobject_ref ) -> alljoyn_proxybusobject ); alljoyn_proxybusobject_ref_get(r#ref.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4614,7 +4614,7 @@ pub unsafe fn alljoyn_proxybusobject_ref_incref(r#ref: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_ref_incref ( r#ref : alljoyn_proxybusobject_ref ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_ref_incref ( r#ref : alljoyn_proxybusobject_ref ) -> ( ) ); alljoyn_proxybusobject_ref_incref(r#ref.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4624,7 +4624,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_registerpropertieschangedlistener ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , properties : *const *const i8 , numproperties : usize , callback : alljoyn_proxybusobject_listener_propertieschanged_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_registerpropertieschangedlistener ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , properties : *const *const i8 , numproperties : usize , callback : alljoyn_proxybusobject_listener_propertieschanged_ptr , context : *mut ::core::ffi::c_void ) -> QStatus ); alljoyn_proxybusobject_registerpropertieschangedlistener(proxyobj.into(), iface.into().abi(), properties, numproperties, callback, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4634,7 +4634,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_removechild ( proxyobj : alljoyn_proxybusobject , path : :: windows::core::PCSTR ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_removechild ( proxyobj : alljoyn_proxybusobject , path : :: windows::core::PCSTR ) -> QStatus ); alljoyn_proxybusobject_removechild(proxyobj.into(), path.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4643,7 +4643,7 @@ pub unsafe fn alljoyn_proxybusobject_secureconnection(proxyobj: P0, forceaut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_secureconnection ( proxyobj : alljoyn_proxybusobject , forceauth : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_secureconnection ( proxyobj : alljoyn_proxybusobject , forceauth : i32 ) -> QStatus ); alljoyn_proxybusobject_secureconnection(proxyobj.into(), forceauth) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4652,7 +4652,7 @@ pub unsafe fn alljoyn_proxybusobject_secureconnectionasync(proxyobj: P0, for where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_secureconnectionasync ( proxyobj : alljoyn_proxybusobject , forceauth : i32 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_secureconnectionasync ( proxyobj : alljoyn_proxybusobject , forceauth : i32 ) -> QStatus ); alljoyn_proxybusobject_secureconnectionasync(proxyobj.into(), forceauth) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4664,7 +4664,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_setproperty ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , property : :: windows::core::PCSTR , value : alljoyn_msgarg ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_setproperty ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , property : :: windows::core::PCSTR , value : alljoyn_msgarg ) -> QStatus ); alljoyn_proxybusobject_setproperty(proxyobj.into(), iface.into().abi(), property.into().abi(), value.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4676,7 +4676,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_setpropertyasync ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , property : :: windows::core::PCSTR , value : alljoyn_msgarg , callback : alljoyn_proxybusobject_listener_setpropertycb_ptr , timeout : u32 , context : *mut ::core::ffi::c_void ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_setpropertyasync ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , property : :: windows::core::PCSTR , value : alljoyn_msgarg , callback : alljoyn_proxybusobject_listener_setpropertycb_ptr , timeout : u32 , context : *mut ::core::ffi::c_void ) -> QStatus ); alljoyn_proxybusobject_setpropertyasync(proxyobj.into(), iface.into().abi(), property.into().abi(), value.into(), callback, timeout, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4686,25 +4686,25 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_unregisterpropertieschangedlistener ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , callback : alljoyn_proxybusobject_listener_propertieschanged_ptr ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_proxybusobject_unregisterpropertieschangedlistener ( proxyobj : alljoyn_proxybusobject , iface : :: windows::core::PCSTR , callback : alljoyn_proxybusobject_listener_propertieschanged_ptr ) -> QStatus ); alljoyn_proxybusobject_unregisterpropertieschangedlistener(proxyobj.into(), iface.into().abi(), callback) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_routerinit() -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_routerinit ( ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_routerinit ( ) -> QStatus ); alljoyn_routerinit() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_routerinitwithconfig(configxml: *mut i8) -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_routerinitwithconfig ( configxml : *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_routerinitwithconfig ( configxml : *mut i8 ) -> QStatus ); alljoyn_routerinitwithconfig(configxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_routershutdown() -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_routershutdown ( ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_routershutdown ( ) -> QStatus ); alljoyn_routershutdown() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4713,13 +4713,13 @@ pub unsafe fn alljoyn_securityapplicationproxy_claim(proxy: P0, cakey: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_claim ( proxy : alljoyn_securityapplicationproxy , cakey : *mut i8 , identitycertificatechain : *mut i8 , groupid : *const u8 , groupsize : usize , groupauthority : *mut i8 , manifestsxmls : *mut *mut i8 , manifestscount : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_claim ( proxy : alljoyn_securityapplicationproxy , cakey : *mut i8 , identitycertificatechain : *mut i8 , groupid : *const u8 , groupsize : usize , groupauthority : *mut i8 , manifestsxmls : *mut *mut i8 , manifestscount : usize ) -> QStatus ); alljoyn_securityapplicationproxy_claim(proxy.into(), cakey, identitycertificatechain, groupid, groupsize, groupauthority, manifestsxmls, manifestscount) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_computemanifestdigest(unsignedmanifestxml: *mut i8, identitycertificatepem: *mut i8, digest: *mut *mut u8, digestsize: *mut usize) -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_computemanifestdigest ( unsignedmanifestxml : *mut i8 , identitycertificatepem : *mut i8 , digest : *mut *mut u8 , digestsize : *mut usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_computemanifestdigest ( unsignedmanifestxml : *mut i8 , identitycertificatepem : *mut i8 , digest : *mut *mut u8 , digestsize : *mut usize ) -> QStatus ); alljoyn_securityapplicationproxy_computemanifestdigest(unsignedmanifestxml, identitycertificatepem, digest, digestsize) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4728,7 +4728,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_create(bus: P0, appbusname: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_create ( bus : alljoyn_busattachment , appbusname : *mut i8 , sessionid : u32 ) -> alljoyn_securityapplicationproxy ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_create ( bus : alljoyn_busattachment , appbusname : *mut i8 , sessionid : u32 ) -> alljoyn_securityapplicationproxy ); alljoyn_securityapplicationproxy_create(bus.into(), appbusname, sessionid) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4737,19 +4737,19 @@ pub unsafe fn alljoyn_securityapplicationproxy_destroy(proxy: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_destroy ( proxy : alljoyn_securityapplicationproxy ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_destroy ( proxy : alljoyn_securityapplicationproxy ) -> ( ) ); alljoyn_securityapplicationproxy_destroy(proxy.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_digest_destroy(digest: *mut u8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_digest_destroy ( digest : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_digest_destroy ( digest : *mut u8 ) -> ( ) ); alljoyn_securityapplicationproxy_digest_destroy(digest) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_eccpublickey_destroy(eccpublickey: *mut i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_eccpublickey_destroy ( eccpublickey : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_eccpublickey_destroy ( eccpublickey : *mut i8 ) -> ( ) ); alljoyn_securityapplicationproxy_eccpublickey_destroy(eccpublickey) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4758,7 +4758,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_endmanagement(proxy: P0) -> Q where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_endmanagement ( proxy : alljoyn_securityapplicationproxy ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_endmanagement ( proxy : alljoyn_securityapplicationproxy ) -> QStatus ); alljoyn_securityapplicationproxy_endmanagement(proxy.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4767,7 +4767,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_getapplicationstate(proxy: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getapplicationstate ( proxy : alljoyn_securityapplicationproxy , applicationstate : *mut alljoyn_applicationstate ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getapplicationstate ( proxy : alljoyn_securityapplicationproxy , applicationstate : *mut alljoyn_applicationstate ) -> QStatus ); alljoyn_securityapplicationproxy_getapplicationstate(proxy.into(), applicationstate) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4776,7 +4776,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_getclaimcapabilities(proxy: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getclaimcapabilities ( proxy : alljoyn_securityapplicationproxy , capabilities : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getclaimcapabilities ( proxy : alljoyn_securityapplicationproxy , capabilities : *mut u16 ) -> QStatus ); alljoyn_securityapplicationproxy_getclaimcapabilities(proxy.into(), capabilities) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4785,7 +4785,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_getclaimcapabilitiesadditionalinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getclaimcapabilitiesadditionalinfo ( proxy : alljoyn_securityapplicationproxy , additionalinfo : *mut u16 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getclaimcapabilitiesadditionalinfo ( proxy : alljoyn_securityapplicationproxy , additionalinfo : *mut u16 ) -> QStatus ); alljoyn_securityapplicationproxy_getclaimcapabilitiesadditionalinfo(proxy.into(), additionalinfo) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4794,7 +4794,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_getdefaultpolicy(proxy: P0, p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getdefaultpolicy ( proxy : alljoyn_securityapplicationproxy , policyxml : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getdefaultpolicy ( proxy : alljoyn_securityapplicationproxy , policyxml : *mut *mut i8 ) -> QStatus ); alljoyn_securityapplicationproxy_getdefaultpolicy(proxy.into(), policyxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4803,7 +4803,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_geteccpublickey(proxy: P0, ec where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_geteccpublickey ( proxy : alljoyn_securityapplicationproxy , eccpublickey : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_geteccpublickey ( proxy : alljoyn_securityapplicationproxy , eccpublickey : *mut *mut i8 ) -> QStatus ); alljoyn_securityapplicationproxy_geteccpublickey(proxy.into(), eccpublickey) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4812,13 +4812,13 @@ pub unsafe fn alljoyn_securityapplicationproxy_getmanifesttemplate(proxy: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getmanifesttemplate ( proxy : alljoyn_securityapplicationproxy , manifesttemplatexml : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getmanifesttemplate ( proxy : alljoyn_securityapplicationproxy , manifesttemplatexml : *mut *mut i8 ) -> QStatus ); alljoyn_securityapplicationproxy_getmanifesttemplate(proxy.into(), manifesttemplatexml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_getpermissionmanagementsessionport() -> u16 { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getpermissionmanagementsessionport ( ) -> u16 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getpermissionmanagementsessionport ( ) -> u16 ); alljoyn_securityapplicationproxy_getpermissionmanagementsessionport() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4827,7 +4827,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_getpolicy(proxy: P0, policyxm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getpolicy ( proxy : alljoyn_securityapplicationproxy , policyxml : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_getpolicy ( proxy : alljoyn_securityapplicationproxy , policyxml : *mut *mut i8 ) -> QStatus ); alljoyn_securityapplicationproxy_getpolicy(proxy.into(), policyxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4836,25 +4836,25 @@ pub unsafe fn alljoyn_securityapplicationproxy_installmembership(proxy: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_installmembership ( proxy : alljoyn_securityapplicationproxy , membershipcertificatechain : *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_installmembership ( proxy : alljoyn_securityapplicationproxy , membershipcertificatechain : *mut i8 ) -> QStatus ); alljoyn_securityapplicationproxy_installmembership(proxy.into(), membershipcertificatechain) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_manifest_destroy(signedmanifestxml: *mut i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_manifest_destroy ( signedmanifestxml : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_manifest_destroy ( signedmanifestxml : *mut i8 ) -> ( ) ); alljoyn_securityapplicationproxy_manifest_destroy(signedmanifestxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_manifesttemplate_destroy(manifesttemplatexml: *mut i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_manifesttemplate_destroy ( manifesttemplatexml : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_manifesttemplate_destroy ( manifesttemplatexml : *mut i8 ) -> ( ) ); alljoyn_securityapplicationproxy_manifesttemplate_destroy(manifesttemplatexml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_policy_destroy(policyxml: *mut i8) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_policy_destroy ( policyxml : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_policy_destroy ( policyxml : *mut i8 ) -> ( ) ); alljoyn_securityapplicationproxy_policy_destroy(policyxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4863,7 +4863,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_reset(proxy: P0) -> QStatus where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_reset ( proxy : alljoyn_securityapplicationproxy ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_reset ( proxy : alljoyn_securityapplicationproxy ) -> QStatus ); alljoyn_securityapplicationproxy_reset(proxy.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4872,19 +4872,19 @@ pub unsafe fn alljoyn_securityapplicationproxy_resetpolicy(proxy: P0) -> QSt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_resetpolicy ( proxy : alljoyn_securityapplicationproxy ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_resetpolicy ( proxy : alljoyn_securityapplicationproxy ) -> QStatus ); alljoyn_securityapplicationproxy_resetpolicy(proxy.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_setmanifestsignature(unsignedmanifestxml: *mut i8, identitycertificatepem: *mut i8, signature: *const u8, signaturesize: usize, signedmanifestxml: *mut *mut i8) -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_setmanifestsignature ( unsignedmanifestxml : *mut i8 , identitycertificatepem : *mut i8 , signature : *const u8 , signaturesize : usize , signedmanifestxml : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_setmanifestsignature ( unsignedmanifestxml : *mut i8 , identitycertificatepem : *mut i8 , signature : *const u8 , signaturesize : usize , signedmanifestxml : *mut *mut i8 ) -> QStatus ); alljoyn_securityapplicationproxy_setmanifestsignature(unsignedmanifestxml, identitycertificatepem, signature, signaturesize, signedmanifestxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_securityapplicationproxy_signmanifest(unsignedmanifestxml: *mut i8, identitycertificatepem: *mut i8, signingprivatekeypem: *mut i8, signedmanifestxml: *mut *mut i8) -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_signmanifest ( unsignedmanifestxml : *mut i8 , identitycertificatepem : *mut i8 , signingprivatekeypem : *mut i8 , signedmanifestxml : *mut *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_signmanifest ( unsignedmanifestxml : *mut i8 , identitycertificatepem : *mut i8 , signingprivatekeypem : *mut i8 , signedmanifestxml : *mut *mut i8 ) -> QStatus ); alljoyn_securityapplicationproxy_signmanifest(unsignedmanifestxml, identitycertificatepem, signingprivatekeypem, signedmanifestxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4893,7 +4893,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_startmanagement(proxy: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_startmanagement ( proxy : alljoyn_securityapplicationproxy ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_startmanagement ( proxy : alljoyn_securityapplicationproxy ) -> QStatus ); alljoyn_securityapplicationproxy_startmanagement(proxy.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4902,7 +4902,7 @@ pub unsafe fn alljoyn_securityapplicationproxy_updateidentity(proxy: P0, ide where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_updateidentity ( proxy : alljoyn_securityapplicationproxy , identitycertificatechain : *mut i8 , manifestsxmls : *mut *mut i8 , manifestscount : usize ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_updateidentity ( proxy : alljoyn_securityapplicationproxy , identitycertificatechain : *mut i8 , manifestsxmls : *mut *mut i8 , manifestscount : usize ) -> QStatus ); alljoyn_securityapplicationproxy_updateidentity(proxy.into(), identitycertificatechain, manifestsxmls, manifestscount) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4911,13 +4911,13 @@ pub unsafe fn alljoyn_securityapplicationproxy_updatepolicy(proxy: P0, polic where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_updatepolicy ( proxy : alljoyn_securityapplicationproxy , policyxml : *mut i8 ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_securityapplicationproxy_updatepolicy ( proxy : alljoyn_securityapplicationproxy , policyxml : *mut i8 ) -> QStatus ); alljoyn_securityapplicationproxy_updatepolicy(proxy.into(), policyxml) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_sessionlistener_create(callbacks: *const alljoyn_sessionlistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_sessionlistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionlistener_create ( callbacks : *const alljoyn_sessionlistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_sessionlistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionlistener_create ( callbacks : *const alljoyn_sessionlistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_sessionlistener ); alljoyn_sessionlistener_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4926,7 +4926,7 @@ pub unsafe fn alljoyn_sessionlistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionlistener_destroy ( listener : alljoyn_sessionlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionlistener_destroy ( listener : alljoyn_sessionlistener ) -> ( ) ); alljoyn_sessionlistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4936,13 +4936,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_cmp ( one : alljoyn_sessionopts , other : alljoyn_sessionopts ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_cmp ( one : alljoyn_sessionopts , other : alljoyn_sessionopts ) -> i32 ); alljoyn_sessionopts_cmp(one.into(), other.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_sessionopts_create(traffic: u8, ismultipoint: i32, proximity: u8, transports: u16) -> alljoyn_sessionopts { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_create ( traffic : u8 , ismultipoint : i32 , proximity : u8 , transports : u16 ) -> alljoyn_sessionopts ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_create ( traffic : u8 , ismultipoint : i32 , proximity : u8 , transports : u16 ) -> alljoyn_sessionopts ); alljoyn_sessionopts_create(traffic, ismultipoint, proximity, transports) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4951,7 +4951,7 @@ pub unsafe fn alljoyn_sessionopts_destroy(opts: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_destroy ( opts : alljoyn_sessionopts ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_destroy ( opts : alljoyn_sessionopts ) -> ( ) ); alljoyn_sessionopts_destroy(opts.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4960,7 +4960,7 @@ pub unsafe fn alljoyn_sessionopts_get_multipoint(opts: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_get_multipoint ( opts : alljoyn_sessionopts ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_get_multipoint ( opts : alljoyn_sessionopts ) -> i32 ); alljoyn_sessionopts_get_multipoint(opts.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4969,7 +4969,7 @@ pub unsafe fn alljoyn_sessionopts_get_proximity(opts: P0) -> u8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_get_proximity ( opts : alljoyn_sessionopts ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_get_proximity ( opts : alljoyn_sessionopts ) -> u8 ); alljoyn_sessionopts_get_proximity(opts.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4978,7 +4978,7 @@ pub unsafe fn alljoyn_sessionopts_get_traffic(opts: P0) -> u8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_get_traffic ( opts : alljoyn_sessionopts ) -> u8 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_get_traffic ( opts : alljoyn_sessionopts ) -> u8 ); alljoyn_sessionopts_get_traffic(opts.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4987,7 +4987,7 @@ pub unsafe fn alljoyn_sessionopts_get_transports(opts: P0) -> u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_get_transports ( opts : alljoyn_sessionopts ) -> u16 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_get_transports ( opts : alljoyn_sessionopts ) -> u16 ); alljoyn_sessionopts_get_transports(opts.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -4997,7 +4997,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_iscompatible ( one : alljoyn_sessionopts , other : alljoyn_sessionopts ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_iscompatible ( one : alljoyn_sessionopts , other : alljoyn_sessionopts ) -> i32 ); alljoyn_sessionopts_iscompatible(one.into(), other.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -5006,7 +5006,7 @@ pub unsafe fn alljoyn_sessionopts_set_multipoint(opts: P0, ismultipoint: i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_set_multipoint ( opts : alljoyn_sessionopts , ismultipoint : i32 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_set_multipoint ( opts : alljoyn_sessionopts , ismultipoint : i32 ) -> ( ) ); alljoyn_sessionopts_set_multipoint(opts.into(), ismultipoint) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -5015,7 +5015,7 @@ pub unsafe fn alljoyn_sessionopts_set_proximity(opts: P0, proximity: u8) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_set_proximity ( opts : alljoyn_sessionopts , proximity : u8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_set_proximity ( opts : alljoyn_sessionopts , proximity : u8 ) -> ( ) ); alljoyn_sessionopts_set_proximity(opts.into(), proximity) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -5024,7 +5024,7 @@ pub unsafe fn alljoyn_sessionopts_set_traffic(opts: P0, traffic: u8) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_set_traffic ( opts : alljoyn_sessionopts , traffic : u8 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_set_traffic ( opts : alljoyn_sessionopts , traffic : u8 ) -> ( ) ); alljoyn_sessionopts_set_traffic(opts.into(), traffic) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -5033,13 +5033,13 @@ pub unsafe fn alljoyn_sessionopts_set_transports(opts: P0, transports: u16) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_set_transports ( opts : alljoyn_sessionopts , transports : u16 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionopts_set_transports ( opts : alljoyn_sessionopts , transports : u16 ) -> ( ) ); alljoyn_sessionopts_set_transports(opts.into(), transports) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_sessionportlistener_create(callbacks: *const alljoyn_sessionportlistener_callbacks, context: *const ::core::ffi::c_void) -> alljoyn_sessionportlistener { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionportlistener_create ( callbacks : *const alljoyn_sessionportlistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_sessionportlistener ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionportlistener_create ( callbacks : *const alljoyn_sessionportlistener_callbacks , context : *const ::core::ffi::c_void ) -> alljoyn_sessionportlistener ); alljoyn_sessionportlistener_create(callbacks, context) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] @@ -5048,25 +5048,25 @@ pub unsafe fn alljoyn_sessionportlistener_destroy(listener: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_sessionportlistener_destroy ( listener : alljoyn_sessionportlistener ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_sessionportlistener_destroy ( listener : alljoyn_sessionportlistener ) -> ( ) ); alljoyn_sessionportlistener_destroy(listener.into()) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_shutdown() -> QStatus { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_shutdown ( ) -> QStatus ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_shutdown ( ) -> QStatus ); alljoyn_shutdown() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_unity_deferred_callbacks_process() -> i32 { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_unity_deferred_callbacks_process ( ) -> i32 ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_unity_deferred_callbacks_process ( ) -> i32 ); alljoyn_unity_deferred_callbacks_process() } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] #[inline] pub unsafe fn alljoyn_unity_set_deferred_callback_mainthread_only(mainthread_only: i32) { - ::windows::core::link ! ( "msajapi.dll""system" fn alljoyn_unity_set_deferred_callback_mainthread_only ( mainthread_only : i32 ) -> ( ) ); + ::windows::imp::link ! ( "msajapi.dll""system" fn alljoyn_unity_set_deferred_callback_mainthread_only ( mainthread_only : i32 ) -> ( ) ); alljoyn_unity_set_deferred_callback_mainthread_only(mainthread_only) } #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs index f5df6a335b..400001a7fd 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs @@ -1,31 +1,31 @@ #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioAcquireFocus() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioAcquireFocus ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioAcquireFocus ( ) -> :: windows::core::HRESULT ); WinBioAcquireFocus().ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioAsyncEnumBiometricUnits(frameworkhandle: u32, factor: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioAsyncEnumBiometricUnits ( frameworkhandle : u32 , factor : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioAsyncEnumBiometricUnits ( frameworkhandle : u32 , factor : u32 ) -> :: windows::core::HRESULT ); WinBioAsyncEnumBiometricUnits(frameworkhandle, factor).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioAsyncEnumDatabases(frameworkhandle: u32, factor: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioAsyncEnumDatabases ( frameworkhandle : u32 , factor : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioAsyncEnumDatabases ( frameworkhandle : u32 , factor : u32 ) -> :: windows::core::HRESULT ); WinBioAsyncEnumDatabases(frameworkhandle, factor).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioAsyncEnumServiceProviders(frameworkhandle: u32, factor: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioAsyncEnumServiceProviders ( frameworkhandle : u32 , factor : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioAsyncEnumServiceProviders ( frameworkhandle : u32 , factor : u32 ) -> :: windows::core::HRESULT ); WinBioAsyncEnumServiceProviders(frameworkhandle, factor).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioAsyncMonitorFrameworkChanges(frameworkhandle: u32, changetypes: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioAsyncMonitorFrameworkChanges ( frameworkhandle : u32 , changetypes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioAsyncMonitorFrameworkChanges ( frameworkhandle : u32 , changetypes : u32 ) -> :: windows::core::HRESULT ); WinBioAsyncMonitorFrameworkChanges(frameworkhandle, changetypes).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`, `\"Win32_Foundation\"`*"] @@ -36,7 +36,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioAsyncOpenFramework ( notificationmethod : WINBIO_ASYNC_NOTIFICATION_METHOD , targetwindow : super::super::Foundation:: HWND , messagecode : u32 , callbackroutine : PWINBIO_ASYNC_COMPLETION_CALLBACK , userdata : *const ::core::ffi::c_void , asynchronousopen : super::super::Foundation:: BOOL , frameworkhandle : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioAsyncOpenFramework ( notificationmethod : WINBIO_ASYNC_NOTIFICATION_METHOD , targetwindow : super::super::Foundation:: HWND , messagecode : u32 , callbackroutine : PWINBIO_ASYNC_COMPLETION_CALLBACK , userdata : *const ::core::ffi::c_void , asynchronousopen : super::super::Foundation:: BOOL , frameworkhandle : *mut u32 ) -> :: windows::core::HRESULT ); WinBioAsyncOpenFramework(notificationmethod, targetwindow.into(), messagecode, callbackroutine, ::core::mem::transmute(userdata.unwrap_or(::std::ptr::null())), asynchronousopen.into(), ::core::mem::transmute(frameworkhandle.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`, `\"Win32_Foundation\"`*"] @@ -47,293 +47,293 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioAsyncOpenSession ( factor : u32 , pooltype : WINBIO_POOL , flags : u32 , unitarray : *const u32 , unitcount : usize , databaseid : *const :: windows::core::GUID , notificationmethod : WINBIO_ASYNC_NOTIFICATION_METHOD , targetwindow : super::super::Foundation:: HWND , messagecode : u32 , callbackroutine : PWINBIO_ASYNC_COMPLETION_CALLBACK , userdata : *const ::core::ffi::c_void , asynchronousopen : super::super::Foundation:: BOOL , sessionhandle : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioAsyncOpenSession ( factor : u32 , pooltype : WINBIO_POOL , flags : u32 , unitarray : *const u32 , unitcount : usize , databaseid : *const :: windows::core::GUID , notificationmethod : WINBIO_ASYNC_NOTIFICATION_METHOD , targetwindow : super::super::Foundation:: HWND , messagecode : u32 , callbackroutine : PWINBIO_ASYNC_COMPLETION_CALLBACK , userdata : *const ::core::ffi::c_void , asynchronousopen : super::super::Foundation:: BOOL , sessionhandle : *mut u32 ) -> :: windows::core::HRESULT ); WinBioAsyncOpenSession(factor, pooltype, flags, ::core::mem::transmute(unitarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), unitarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(databaseid.unwrap_or(::std::ptr::null())), notificationmethod, targetwindow.into(), messagecode, callbackroutine, ::core::mem::transmute(userdata.unwrap_or(::std::ptr::null())), asynchronousopen.into(), ::core::mem::transmute(sessionhandle.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioCancel(sessionhandle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioCancel ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioCancel ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); WinBioCancel(sessionhandle).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioCaptureSample(sessionhandle: u32, purpose: u8, flags: u8, unitid: ::core::option::Option<*mut u32>, sample: *mut *mut WINBIO_BIR, samplesize: ::core::option::Option<*mut usize>, rejectdetail: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioCaptureSample ( sessionhandle : u32 , purpose : u8 , flags : u8 , unitid : *mut u32 , sample : *mut *mut WINBIO_BIR , samplesize : *mut usize , rejectdetail : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioCaptureSample ( sessionhandle : u32 , purpose : u8 , flags : u8 , unitid : *mut u32 , sample : *mut *mut WINBIO_BIR , samplesize : *mut usize , rejectdetail : *mut u32 ) -> :: windows::core::HRESULT ); WinBioCaptureSample(sessionhandle, purpose, flags, ::core::mem::transmute(unitid.unwrap_or(::std::ptr::null_mut())), sample, ::core::mem::transmute(samplesize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(rejectdetail.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioCaptureSampleWithCallback(sessionhandle: u32, purpose: u8, flags: u8, capturecallback: PWINBIO_CAPTURE_CALLBACK, capturecallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioCaptureSampleWithCallback ( sessionhandle : u32 , purpose : u8 , flags : u8 , capturecallback : PWINBIO_CAPTURE_CALLBACK , capturecallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioCaptureSampleWithCallback ( sessionhandle : u32 , purpose : u8 , flags : u8 , capturecallback : PWINBIO_CAPTURE_CALLBACK , capturecallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WinBioCaptureSampleWithCallback(sessionhandle, purpose, flags, capturecallback, ::core::mem::transmute(capturecallbackcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioCloseFramework(frameworkhandle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioCloseFramework ( frameworkhandle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioCloseFramework ( frameworkhandle : u32 ) -> :: windows::core::HRESULT ); WinBioCloseFramework(frameworkhandle).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioCloseSession(sessionhandle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioCloseSession ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioCloseSession ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); WinBioCloseSession(sessionhandle).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioControlUnit(sessionhandle: u32, unitid: u32, component: WINBIO_COMPONENT, controlcode: u32, sendbuffer: &[u8], receivebuffer: &mut [u8], receivedatasize: *mut usize, operationstatus: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioControlUnit ( sessionhandle : u32 , unitid : u32 , component : WINBIO_COMPONENT , controlcode : u32 , sendbuffer : *const u8 , sendbuffersize : usize , receivebuffer : *mut u8 , receivebuffersize : usize , receivedatasize : *mut usize , operationstatus : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioControlUnit ( sessionhandle : u32 , unitid : u32 , component : WINBIO_COMPONENT , controlcode : u32 , sendbuffer : *const u8 , sendbuffersize : usize , receivebuffer : *mut u8 , receivebuffersize : usize , receivedatasize : *mut usize , operationstatus : *mut u32 ) -> :: windows::core::HRESULT ); WinBioControlUnit(sessionhandle, unitid, component, controlcode, ::core::mem::transmute(sendbuffer.as_ptr()), sendbuffer.len() as _, ::core::mem::transmute(receivebuffer.as_ptr()), receivebuffer.len() as _, receivedatasize, ::core::mem::transmute(operationstatus.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioControlUnitPrivileged(sessionhandle: u32, unitid: u32, component: WINBIO_COMPONENT, controlcode: u32, sendbuffer: &[u8], receivebuffer: &mut [u8], receivedatasize: *mut usize, operationstatus: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioControlUnitPrivileged ( sessionhandle : u32 , unitid : u32 , component : WINBIO_COMPONENT , controlcode : u32 , sendbuffer : *const u8 , sendbuffersize : usize , receivebuffer : *mut u8 , receivebuffersize : usize , receivedatasize : *mut usize , operationstatus : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioControlUnitPrivileged ( sessionhandle : u32 , unitid : u32 , component : WINBIO_COMPONENT , controlcode : u32 , sendbuffer : *const u8 , sendbuffersize : usize , receivebuffer : *mut u8 , receivebuffersize : usize , receivedatasize : *mut usize , operationstatus : *mut u32 ) -> :: windows::core::HRESULT ); WinBioControlUnitPrivileged(sessionhandle, unitid, component, controlcode, ::core::mem::transmute(sendbuffer.as_ptr()), sendbuffer.len() as _, ::core::mem::transmute(receivebuffer.as_ptr()), receivebuffer.len() as _, receivedatasize, ::core::mem::transmute(operationstatus.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioDeleteTemplate(sessionhandle: u32, unitid: u32, identity: *const WINBIO_IDENTITY, subfactor: u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioDeleteTemplate ( sessionhandle : u32 , unitid : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioDeleteTemplate ( sessionhandle : u32 , unitid : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 ) -> :: windows::core::HRESULT ); WinBioDeleteTemplate(sessionhandle, unitid, identity, subfactor).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnrollBegin(sessionhandle: u32, subfactor: u8, unitid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnrollBegin ( sessionhandle : u32 , subfactor : u8 , unitid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnrollBegin ( sessionhandle : u32 , subfactor : u8 , unitid : u32 ) -> :: windows::core::HRESULT ); WinBioEnrollBegin(sessionhandle, subfactor, unitid).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnrollCapture(sessionhandle: u32, rejectdetail: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnrollCapture ( sessionhandle : u32 , rejectdetail : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnrollCapture ( sessionhandle : u32 , rejectdetail : *mut u32 ) -> :: windows::core::HRESULT ); WinBioEnrollCapture(sessionhandle, ::core::mem::transmute(rejectdetail.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnrollCaptureWithCallback(sessionhandle: u32, enrollcallback: PWINBIO_ENROLL_CAPTURE_CALLBACK, enrollcallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnrollCaptureWithCallback ( sessionhandle : u32 , enrollcallback : PWINBIO_ENROLL_CAPTURE_CALLBACK , enrollcallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnrollCaptureWithCallback ( sessionhandle : u32 , enrollcallback : PWINBIO_ENROLL_CAPTURE_CALLBACK , enrollcallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WinBioEnrollCaptureWithCallback(sessionhandle, enrollcallback, ::core::mem::transmute(enrollcallbackcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnrollCommit(sessionhandle: u32, identity: ::core::option::Option<*mut WINBIO_IDENTITY>, isnewtemplate: ::core::option::Option<*mut u8>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnrollCommit ( sessionhandle : u32 , identity : *mut WINBIO_IDENTITY , isnewtemplate : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnrollCommit ( sessionhandle : u32 , identity : *mut WINBIO_IDENTITY , isnewtemplate : *mut u8 ) -> :: windows::core::HRESULT ); WinBioEnrollCommit(sessionhandle, ::core::mem::transmute(identity.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(isnewtemplate.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnrollDiscard(sessionhandle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnrollDiscard ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnrollDiscard ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); WinBioEnrollDiscard(sessionhandle).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnrollSelect(sessionhandle: u32, selectorvalue: u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnrollSelect ( sessionhandle : u32 , selectorvalue : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnrollSelect ( sessionhandle : u32 , selectorvalue : u64 ) -> :: windows::core::HRESULT ); WinBioEnrollSelect(sessionhandle, selectorvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnumBiometricUnits(factor: u32, unitschemaarray: *mut *mut WINBIO_UNIT_SCHEMA, unitcount: *mut usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnumBiometricUnits ( factor : u32 , unitschemaarray : *mut *mut WINBIO_UNIT_SCHEMA , unitcount : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnumBiometricUnits ( factor : u32 , unitschemaarray : *mut *mut WINBIO_UNIT_SCHEMA , unitcount : *mut usize ) -> :: windows::core::HRESULT ); WinBioEnumBiometricUnits(factor, unitschemaarray, unitcount).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnumDatabases(factor: u32, storageschemaarray: *mut *mut WINBIO_STORAGE_SCHEMA, storagecount: *mut usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnumDatabases ( factor : u32 , storageschemaarray : *mut *mut WINBIO_STORAGE_SCHEMA , storagecount : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnumDatabases ( factor : u32 , storageschemaarray : *mut *mut WINBIO_STORAGE_SCHEMA , storagecount : *mut usize ) -> :: windows::core::HRESULT ); WinBioEnumDatabases(factor, storageschemaarray, storagecount).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnumEnrollments(sessionhandle: u32, unitid: u32, identity: *const WINBIO_IDENTITY, subfactorarray: *mut *mut u8, subfactorcount: ::core::option::Option<*mut usize>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnumEnrollments ( sessionhandle : u32 , unitid : u32 , identity : *const WINBIO_IDENTITY , subfactorarray : *mut *mut u8 , subfactorcount : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnumEnrollments ( sessionhandle : u32 , unitid : u32 , identity : *const WINBIO_IDENTITY , subfactorarray : *mut *mut u8 , subfactorcount : *mut usize ) -> :: windows::core::HRESULT ); WinBioEnumEnrollments(sessionhandle, unitid, identity, subfactorarray, ::core::mem::transmute(subfactorcount.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioEnumServiceProviders(factor: u32, bspschemaarray: *mut *mut WINBIO_BSP_SCHEMA, bspcount: *mut usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioEnumServiceProviders ( factor : u32 , bspschemaarray : *mut *mut WINBIO_BSP_SCHEMA , bspcount : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioEnumServiceProviders ( factor : u32 , bspschemaarray : *mut *mut WINBIO_BSP_SCHEMA , bspcount : *mut usize ) -> :: windows::core::HRESULT ); WinBioEnumServiceProviders(factor, bspschemaarray, bspcount).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioFree(address: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioFree ( address : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioFree ( address : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WinBioFree(address).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioGetCredentialState(identity: WINBIO_IDENTITY, r#type: WINBIO_CREDENTIAL_TYPE) -> ::windows::core::Result { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioGetCredentialState ( identity : WINBIO_IDENTITY , r#type : WINBIO_CREDENTIAL_TYPE , credentialstate : *mut WINBIO_CREDENTIAL_STATE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioGetCredentialState ( identity : WINBIO_IDENTITY , r#type : WINBIO_CREDENTIAL_TYPE , credentialstate : *mut WINBIO_CREDENTIAL_STATE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WinBioGetCredentialState(::core::mem::transmute(identity), r#type, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioGetDomainLogonSetting(value: *mut u8, source: *mut WINBIO_SETTING_SOURCE) { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioGetDomainLogonSetting ( value : *mut u8 , source : *mut WINBIO_SETTING_SOURCE ) -> ( ) ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioGetDomainLogonSetting ( value : *mut u8 , source : *mut WINBIO_SETTING_SOURCE ) -> ( ) ); WinBioGetDomainLogonSetting(value, source) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioGetEnabledSetting(value: *mut u8, source: *mut WINBIO_SETTING_SOURCE) { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioGetEnabledSetting ( value : *mut u8 , source : *mut WINBIO_SETTING_SOURCE ) -> ( ) ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioGetEnabledSetting ( value : *mut u8 , source : *mut WINBIO_SETTING_SOURCE ) -> ( ) ); WinBioGetEnabledSetting(value, source) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioGetEnrolledFactors(accountowner: *const WINBIO_IDENTITY) -> ::windows::core::Result { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioGetEnrolledFactors ( accountowner : *const WINBIO_IDENTITY , enrolledfactors : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioGetEnrolledFactors ( accountowner : *const WINBIO_IDENTITY , enrolledfactors : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WinBioGetEnrolledFactors(accountowner, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioGetLogonSetting(value: *mut u8, source: *mut WINBIO_SETTING_SOURCE) { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioGetLogonSetting ( value : *mut u8 , source : *mut WINBIO_SETTING_SOURCE ) -> ( ) ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioGetLogonSetting ( value : *mut u8 , source : *mut WINBIO_SETTING_SOURCE ) -> ( ) ); WinBioGetLogonSetting(value, source) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioGetProperty(sessionhandle: u32, propertytype: u32, propertyid: u32, unitid: u32, identity: ::core::option::Option<*const WINBIO_IDENTITY>, subfactor: u8, propertybuffer: *mut *mut ::core::ffi::c_void, propertybuffersize: ::core::option::Option<*mut usize>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioGetProperty ( sessionhandle : u32 , propertytype : u32 , propertyid : u32 , unitid : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 , propertybuffer : *mut *mut ::core::ffi::c_void , propertybuffersize : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioGetProperty ( sessionhandle : u32 , propertytype : u32 , propertyid : u32 , unitid : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 , propertybuffer : *mut *mut ::core::ffi::c_void , propertybuffersize : *mut usize ) -> :: windows::core::HRESULT ); WinBioGetProperty(sessionhandle, propertytype, propertyid, unitid, ::core::mem::transmute(identity.unwrap_or(::std::ptr::null())), subfactor, propertybuffer, ::core::mem::transmute(propertybuffersize.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioIdentify(sessionhandle: u32, unitid: ::core::option::Option<*mut u32>, identity: ::core::option::Option<*mut WINBIO_IDENTITY>, subfactor: ::core::option::Option<*mut u8>, rejectdetail: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioIdentify ( sessionhandle : u32 , unitid : *mut u32 , identity : *mut WINBIO_IDENTITY , subfactor : *mut u8 , rejectdetail : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioIdentify ( sessionhandle : u32 , unitid : *mut u32 , identity : *mut WINBIO_IDENTITY , subfactor : *mut u8 , rejectdetail : *mut u32 ) -> :: windows::core::HRESULT ); WinBioIdentify(sessionhandle, ::core::mem::transmute(unitid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(identity.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(subfactor.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(rejectdetail.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioIdentifyWithCallback(sessionhandle: u32, identifycallback: PWINBIO_IDENTIFY_CALLBACK, identifycallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioIdentifyWithCallback ( sessionhandle : u32 , identifycallback : PWINBIO_IDENTIFY_CALLBACK , identifycallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioIdentifyWithCallback ( sessionhandle : u32 , identifycallback : PWINBIO_IDENTIFY_CALLBACK , identifycallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WinBioIdentifyWithCallback(sessionhandle, identifycallback, ::core::mem::transmute(identifycallbackcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioImproveBegin(sessionhandle: u32, unitid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioImproveBegin ( sessionhandle : u32 , unitid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioImproveBegin ( sessionhandle : u32 , unitid : u32 ) -> :: windows::core::HRESULT ); WinBioImproveBegin(sessionhandle, unitid).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioImproveEnd(sessionhandle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioImproveEnd ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioImproveEnd ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); WinBioImproveEnd(sessionhandle).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioLocateSensor(sessionhandle: u32, unitid: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioLocateSensor ( sessionhandle : u32 , unitid : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioLocateSensor ( sessionhandle : u32 , unitid : *mut u32 ) -> :: windows::core::HRESULT ); WinBioLocateSensor(sessionhandle, ::core::mem::transmute(unitid.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioLocateSensorWithCallback(sessionhandle: u32, locatecallback: PWINBIO_LOCATE_SENSOR_CALLBACK, locatecallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioLocateSensorWithCallback ( sessionhandle : u32 , locatecallback : PWINBIO_LOCATE_SENSOR_CALLBACK , locatecallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioLocateSensorWithCallback ( sessionhandle : u32 , locatecallback : PWINBIO_LOCATE_SENSOR_CALLBACK , locatecallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WinBioLocateSensorWithCallback(sessionhandle, locatecallback, ::core::mem::transmute(locatecallbackcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioLockUnit(sessionhandle: u32, unitid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioLockUnit ( sessionhandle : u32 , unitid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioLockUnit ( sessionhandle : u32 , unitid : u32 ) -> :: windows::core::HRESULT ); WinBioLockUnit(sessionhandle, unitid).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioLogonIdentifiedUser(sessionhandle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioLogonIdentifiedUser ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioLogonIdentifiedUser ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); WinBioLogonIdentifiedUser(sessionhandle).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioMonitorPresence(sessionhandle: u32, unitid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioMonitorPresence ( sessionhandle : u32 , unitid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioMonitorPresence ( sessionhandle : u32 , unitid : u32 ) -> :: windows::core::HRESULT ); WinBioMonitorPresence(sessionhandle, unitid).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioOpenSession(factor: u32, pooltype: WINBIO_POOL, flags: u32, unitarray: ::core::option::Option<&[u32]>, databaseid: ::core::option::Option<*const ::windows::core::GUID>) -> ::windows::core::Result { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioOpenSession ( factor : u32 , pooltype : WINBIO_POOL , flags : u32 , unitarray : *const u32 , unitcount : usize , databaseid : *const :: windows::core::GUID , sessionhandle : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioOpenSession ( factor : u32 , pooltype : WINBIO_POOL , flags : u32 , unitarray : *const u32 , unitcount : usize , databaseid : *const :: windows::core::GUID , sessionhandle : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WinBioOpenSession(factor, pooltype, flags, ::core::mem::transmute(unitarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), unitarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(databaseid.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioRegisterEventMonitor(sessionhandle: u32, eventmask: u32, eventcallback: PWINBIO_EVENT_CALLBACK, eventcallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioRegisterEventMonitor ( sessionhandle : u32 , eventmask : u32 , eventcallback : PWINBIO_EVENT_CALLBACK , eventcallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioRegisterEventMonitor ( sessionhandle : u32 , eventmask : u32 , eventcallback : PWINBIO_EVENT_CALLBACK , eventcallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WinBioRegisterEventMonitor(sessionhandle, eventmask, eventcallback, ::core::mem::transmute(eventcallbackcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioReleaseFocus() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioReleaseFocus ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioReleaseFocus ( ) -> :: windows::core::HRESULT ); WinBioReleaseFocus().ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioRemoveAllCredentials() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioRemoveAllCredentials ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioRemoveAllCredentials ( ) -> :: windows::core::HRESULT ); WinBioRemoveAllCredentials().ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioRemoveAllDomainCredentials() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioRemoveAllDomainCredentials ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioRemoveAllDomainCredentials ( ) -> :: windows::core::HRESULT ); WinBioRemoveAllDomainCredentials().ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioRemoveCredential(identity: WINBIO_IDENTITY, r#type: WINBIO_CREDENTIAL_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioRemoveCredential ( identity : WINBIO_IDENTITY , r#type : WINBIO_CREDENTIAL_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioRemoveCredential ( identity : WINBIO_IDENTITY , r#type : WINBIO_CREDENTIAL_TYPE ) -> :: windows::core::HRESULT ); WinBioRemoveCredential(::core::mem::transmute(identity), r#type).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioSetCredential(r#type: WINBIO_CREDENTIAL_TYPE, credential: &[u8], format: WINBIO_CREDENTIAL_FORMAT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioSetCredential ( r#type : WINBIO_CREDENTIAL_TYPE , credential : *const u8 , credentialsize : usize , format : WINBIO_CREDENTIAL_FORMAT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioSetCredential ( r#type : WINBIO_CREDENTIAL_TYPE , credential : *const u8 , credentialsize : usize , format : WINBIO_CREDENTIAL_FORMAT ) -> :: windows::core::HRESULT ); WinBioSetCredential(r#type, ::core::mem::transmute(credential.as_ptr()), credential.len() as _, format).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioSetProperty(sessionhandle: u32, propertytype: u32, propertyid: u32, unitid: u32, identity: ::core::option::Option<*const WINBIO_IDENTITY>, subfactor: u8, propertybuffer: *const ::core::ffi::c_void, propertybuffersize: usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioSetProperty ( sessionhandle : u32 , propertytype : u32 , propertyid : u32 , unitid : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 , propertybuffer : *const ::core::ffi::c_void , propertybuffersize : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioSetProperty ( sessionhandle : u32 , propertytype : u32 , propertyid : u32 , unitid : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 , propertybuffer : *const ::core::ffi::c_void , propertybuffersize : usize ) -> :: windows::core::HRESULT ); WinBioSetProperty(sessionhandle, propertytype, propertyid, unitid, ::core::mem::transmute(identity.unwrap_or(::std::ptr::null())), subfactor, propertybuffer, propertybuffersize).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioUnlockUnit(sessionhandle: u32, unitid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioUnlockUnit ( sessionhandle : u32 , unitid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioUnlockUnit ( sessionhandle : u32 , unitid : u32 ) -> :: windows::core::HRESULT ); WinBioUnlockUnit(sessionhandle, unitid).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioUnregisterEventMonitor(sessionhandle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioUnregisterEventMonitor ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioUnregisterEventMonitor ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); WinBioUnregisterEventMonitor(sessionhandle).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioVerify(sessionhandle: u32, identity: *const WINBIO_IDENTITY, subfactor: u8, unitid: ::core::option::Option<*mut u32>, r#match: ::core::option::Option<*mut u8>, rejectdetail: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioVerify ( sessionhandle : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 , unitid : *mut u32 , r#match : *mut u8 , rejectdetail : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioVerify ( sessionhandle : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 , unitid : *mut u32 , r#match : *mut u8 , rejectdetail : *mut u32 ) -> :: windows::core::HRESULT ); WinBioVerify(sessionhandle, identity, subfactor, ::core::mem::transmute(unitid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(r#match.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(rejectdetail.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinBioVerifyWithCallback(sessionhandle: u32, identity: *const WINBIO_IDENTITY, subfactor: u8, verifycallback: PWINBIO_VERIFY_CALLBACK, verifycallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioVerifyWithCallback ( sessionhandle : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 , verifycallback : PWINBIO_VERIFY_CALLBACK , verifycallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioVerifyWithCallback ( sessionhandle : u32 , identity : *const WINBIO_IDENTITY , subfactor : u8 , verifycallback : PWINBIO_VERIFY_CALLBACK , verifycallbackcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WinBioVerifyWithCallback(sessionhandle, identity, subfactor, verifycallback, ::core::mem::transmute(verifycallbackcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] #[inline] pub unsafe fn WinBioWait(sessionhandle: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winbio.dll""system" fn WinBioWait ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winbio.dll""system" fn WinBioWait ( sessionhandle : u32 ) -> :: windows::core::HRESULT ); WinBioWait(sessionhandle).ok() } #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs index 927c5003c7..c79f96e382 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "bthprops.cpl""system" fn BluetoothAuthenticateDevice ( hwndparent : super::super::Foundation:: HWND , hradio : super::super::Foundation:: HANDLE , pbtbi : *mut BLUETOOTH_DEVICE_INFO , pszpasskey : :: windows::core::PCWSTR , ulpasskeylength : u32 ) -> u32 ); + ::windows::imp::link ! ( "bthprops.cpl""system" fn BluetoothAuthenticateDevice ( hwndparent : super::super::Foundation:: HWND , hradio : super::super::Foundation:: HANDLE , pbtbi : *mut BLUETOOTH_DEVICE_INFO , pszpasskey : :: windows::core::PCWSTR , ulpasskeylength : u32 ) -> u32 ); BluetoothAuthenticateDevice(hwndparent.into(), hradio.into(), pbtbi, ::core::mem::transmute(pszpasskey.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszpasskey.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "bthprops.cpl""system" fn BluetoothAuthenticateDeviceEx ( hwndparentin : super::super::Foundation:: HWND , hradioin : super::super::Foundation:: HANDLE , pbtdiinout : *mut BLUETOOTH_DEVICE_INFO , pbtoobdata : *const BLUETOOTH_OOB_DATA_INFO , authenticationrequirement : AUTHENTICATION_REQUIREMENTS ) -> u32 ); + ::windows::imp::link ! ( "bthprops.cpl""system" fn BluetoothAuthenticateDeviceEx ( hwndparentin : super::super::Foundation:: HWND , hradioin : super::super::Foundation:: HANDLE , pbtdiinout : *mut BLUETOOTH_DEVICE_INFO , pbtoobdata : *const BLUETOOTH_OOB_DATA_INFO , authenticationrequirement : AUTHENTICATION_REQUIREMENTS ) -> u32 ); BluetoothAuthenticateDeviceEx(hwndparentin.into(), hradioin.into(), pbtdiinout, ::core::mem::transmute(pbtoobdata.unwrap_or(::std::ptr::null())), authenticationrequirement) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -28,7 +28,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "bthprops.cpl""system" fn BluetoothAuthenticateMultipleDevices ( hwndparent : super::super::Foundation:: HWND , hradio : super::super::Foundation:: HANDLE , cdevices : u32 , rgbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> u32 ); + ::windows::imp::link ! ( "bthprops.cpl""system" fn BluetoothAuthenticateMultipleDevices ( hwndparent : super::super::Foundation:: HWND , hradio : super::super::Foundation:: HANDLE , cdevices : u32 , rgbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> u32 ); BluetoothAuthenticateMultipleDevices(hwndparent.into(), hradio.into(), rgbtdi.len() as _, ::core::mem::transmute(rgbtdi.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -38,7 +38,7 @@ pub unsafe fn BluetoothDisplayDeviceProperties(hwndparent: P0, pbtdi: *mut B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bthprops.cpl""system" fn BluetoothDisplayDeviceProperties ( hwndparent : super::super::Foundation:: HWND , pbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bthprops.cpl""system" fn BluetoothDisplayDeviceProperties ( hwndparent : super::super::Foundation:: HWND , pbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> super::super::Foundation:: BOOL ); BluetoothDisplayDeviceProperties(hwndparent.into(), pbtdi) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -49,7 +49,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothEnableDiscovery ( hradio : super::super::Foundation:: HANDLE , fenabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothEnableDiscovery ( hradio : super::super::Foundation:: HANDLE , fenabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); BluetoothEnableDiscovery(hradio.into(), fenabled.into()) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -60,7 +60,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothEnableIncomingConnections ( hradio : super::super::Foundation:: HANDLE , fenabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothEnableIncomingConnections ( hradio : super::super::Foundation:: HANDLE , fenabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); BluetoothEnableIncomingConnections(hradio.into(), fenabled.into()) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -70,49 +70,49 @@ pub unsafe fn BluetoothEnumerateInstalledServices(hradio: P0, pbtdi: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothEnumerateInstalledServices ( hradio : super::super::Foundation:: HANDLE , pbtdi : *const BLUETOOTH_DEVICE_INFO , pcserviceinout : *mut u32 , pguidservices : *mut :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothEnumerateInstalledServices ( hradio : super::super::Foundation:: HANDLE , pbtdi : *const BLUETOOTH_DEVICE_INFO , pcserviceinout : *mut u32 , pguidservices : *mut :: windows::core::GUID ) -> u32 ); BluetoothEnumerateInstalledServices(hradio.into(), pbtdi, pcserviceinout, ::core::mem::transmute(pguidservices.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothFindDeviceClose(hfind: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothFindDeviceClose ( hfind : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothFindDeviceClose ( hfind : isize ) -> super::super::Foundation:: BOOL ); BluetoothFindDeviceClose(hfind) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothFindFirstDevice(pbtsp: *const BLUETOOTH_DEVICE_SEARCH_PARAMS, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> isize { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothFindFirstDevice ( pbtsp : *const BLUETOOTH_DEVICE_SEARCH_PARAMS , pbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> isize ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothFindFirstDevice ( pbtsp : *const BLUETOOTH_DEVICE_SEARCH_PARAMS , pbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> isize ); BluetoothFindFirstDevice(pbtsp, pbtdi) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothFindFirstRadio(pbtfrp: *const BLUETOOTH_FIND_RADIO_PARAMS, phradio: *mut super::super::Foundation::HANDLE) -> isize { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothFindFirstRadio ( pbtfrp : *const BLUETOOTH_FIND_RADIO_PARAMS , phradio : *mut super::super::Foundation:: HANDLE ) -> isize ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothFindFirstRadio ( pbtfrp : *const BLUETOOTH_FIND_RADIO_PARAMS , phradio : *mut super::super::Foundation:: HANDLE ) -> isize ); BluetoothFindFirstRadio(pbtfrp, phradio) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothFindNextDevice(hfind: isize, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothFindNextDevice ( hfind : isize , pbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothFindNextDevice ( hfind : isize , pbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> super::super::Foundation:: BOOL ); BluetoothFindNextDevice(hfind, pbtdi) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothFindNextRadio(hfind: isize, phradio: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothFindNextRadio ( hfind : isize , phradio : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothFindNextRadio ( hfind : isize , phradio : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); BluetoothFindNextRadio(hfind, phradio) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothFindRadioClose(hfind: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothFindRadioClose ( hfind : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothFindRadioClose ( hfind : isize ) -> super::super::Foundation:: BOOL ); BluetoothFindRadioClose(hfind) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -122,7 +122,7 @@ pub unsafe fn BluetoothGATTAbortReliableWrite(hdevice: P0, reliablewritecont where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTAbortReliableWrite ( hdevice : super::super::Foundation:: HANDLE , reliablewritecontext : u64 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTAbortReliableWrite ( hdevice : super::super::Foundation:: HANDLE , reliablewritecontext : u64 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTAbortReliableWrite(hdevice.into(), reliablewritecontext, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -132,7 +132,7 @@ pub unsafe fn BluetoothGATTBeginReliableWrite(hdevice: P0, reliablewritecont where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTBeginReliableWrite ( hdevice : super::super::Foundation:: HANDLE , reliablewritecontext : *mut u64 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTBeginReliableWrite ( hdevice : super::super::Foundation:: HANDLE , reliablewritecontext : *mut u64 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTBeginReliableWrite(hdevice.into(), reliablewritecontext, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -142,7 +142,7 @@ pub unsafe fn BluetoothGATTEndReliableWrite(hdevice: P0, reliablewritecontex where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTEndReliableWrite ( hdevice : super::super::Foundation:: HANDLE , reliablewritecontext : u64 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTEndReliableWrite ( hdevice : super::super::Foundation:: HANDLE , reliablewritecontext : u64 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTEndReliableWrite(hdevice.into(), reliablewritecontext, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -152,7 +152,7 @@ pub unsafe fn BluetoothGATTGetCharacteristicValue(hdevice: P0, characteristi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetCharacteristicValue ( hdevice : super::super::Foundation:: HANDLE , characteristic : *const BTH_LE_GATT_CHARACTERISTIC , characteristicvaluedatasize : u32 , characteristicvalue : *mut BTH_LE_GATT_CHARACTERISTIC_VALUE , characteristicvaluesizerequired : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetCharacteristicValue ( hdevice : super::super::Foundation:: HANDLE , characteristic : *const BTH_LE_GATT_CHARACTERISTIC , characteristicvaluedatasize : u32 , characteristicvalue : *mut BTH_LE_GATT_CHARACTERISTIC_VALUE , characteristicvaluesizerequired : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTGetCharacteristicValue(hdevice.into(), characteristic, characteristicvaluedatasize, ::core::mem::transmute(characteristicvalue.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(characteristicvaluesizerequired.unwrap_or(::std::ptr::null_mut())), flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -162,7 +162,7 @@ pub unsafe fn BluetoothGATTGetCharacteristics(hdevice: P0, service: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetCharacteristics ( hdevice : super::super::Foundation:: HANDLE , service : *const BTH_LE_GATT_SERVICE , characteristicsbuffercount : u16 , characteristicsbuffer : *mut BTH_LE_GATT_CHARACTERISTIC , characteristicsbufferactual : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetCharacteristics ( hdevice : super::super::Foundation:: HANDLE , service : *const BTH_LE_GATT_SERVICE , characteristicsbuffercount : u16 , characteristicsbuffer : *mut BTH_LE_GATT_CHARACTERISTIC , characteristicsbufferactual : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTGetCharacteristics(hdevice.into(), ::core::mem::transmute(service.unwrap_or(::std::ptr::null())), characteristicsbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(characteristicsbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), characteristicsbufferactual, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -172,7 +172,7 @@ pub unsafe fn BluetoothGATTGetDescriptorValue(hdevice: P0, descriptor: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetDescriptorValue ( hdevice : super::super::Foundation:: HANDLE , descriptor : *const BTH_LE_GATT_DESCRIPTOR , descriptorvaluedatasize : u32 , descriptorvalue : *mut BTH_LE_GATT_DESCRIPTOR_VALUE , descriptorvaluesizerequired : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetDescriptorValue ( hdevice : super::super::Foundation:: HANDLE , descriptor : *const BTH_LE_GATT_DESCRIPTOR , descriptorvaluedatasize : u32 , descriptorvalue : *mut BTH_LE_GATT_DESCRIPTOR_VALUE , descriptorvaluesizerequired : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTGetDescriptorValue(hdevice.into(), descriptor, descriptorvaluedatasize, ::core::mem::transmute(descriptorvalue.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(descriptorvaluesizerequired.unwrap_or(::std::ptr::null_mut())), flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -182,7 +182,7 @@ pub unsafe fn BluetoothGATTGetDescriptors(hdevice: P0, characteristic: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetDescriptors ( hdevice : super::super::Foundation:: HANDLE , characteristic : *const BTH_LE_GATT_CHARACTERISTIC , descriptorsbuffercount : u16 , descriptorsbuffer : *mut BTH_LE_GATT_DESCRIPTOR , descriptorsbufferactual : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetDescriptors ( hdevice : super::super::Foundation:: HANDLE , characteristic : *const BTH_LE_GATT_CHARACTERISTIC , descriptorsbuffercount : u16 , descriptorsbuffer : *mut BTH_LE_GATT_DESCRIPTOR , descriptorsbufferactual : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTGetDescriptors(hdevice.into(), characteristic, descriptorsbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(descriptorsbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), descriptorsbufferactual, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -192,7 +192,7 @@ pub unsafe fn BluetoothGATTGetIncludedServices(hdevice: P0, parentservice: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetIncludedServices ( hdevice : super::super::Foundation:: HANDLE , parentservice : *const BTH_LE_GATT_SERVICE , includedservicesbuffercount : u16 , includedservicesbuffer : *mut BTH_LE_GATT_SERVICE , includedservicesbufferactual : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetIncludedServices ( hdevice : super::super::Foundation:: HANDLE , parentservice : *const BTH_LE_GATT_SERVICE , includedservicesbuffercount : u16 , includedservicesbuffer : *mut BTH_LE_GATT_SERVICE , includedservicesbufferactual : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTGetIncludedServices(hdevice.into(), ::core::mem::transmute(parentservice.unwrap_or(::std::ptr::null())), includedservicesbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(includedservicesbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), includedservicesbufferactual, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -202,7 +202,7 @@ pub unsafe fn BluetoothGATTGetServices(hdevice: P0, servicesbuffer: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetServices ( hdevice : super::super::Foundation:: HANDLE , servicesbuffercount : u16 , servicesbuffer : *mut BTH_LE_GATT_SERVICE , servicesbufferactual : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTGetServices ( hdevice : super::super::Foundation:: HANDLE , servicesbuffercount : u16 , servicesbuffer : *mut BTH_LE_GATT_SERVICE , servicesbufferactual : *mut u16 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTGetServices(hdevice.into(), servicesbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(servicesbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), servicesbufferactual, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -212,7 +212,7 @@ pub unsafe fn BluetoothGATTRegisterEvent(hservice: P0, eventtype: BTH_LE_GAT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTRegisterEvent ( hservice : super::super::Foundation:: HANDLE , eventtype : BTH_LE_GATT_EVENT_TYPE , eventparameterin : *const ::core::ffi::c_void , callback : PFNBLUETOOTH_GATT_EVENT_CALLBACK , callbackcontext : *const ::core::ffi::c_void , peventhandle : *mut isize , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTRegisterEvent ( hservice : super::super::Foundation:: HANDLE , eventtype : BTH_LE_GATT_EVENT_TYPE , eventparameterin : *const ::core::ffi::c_void , callback : PFNBLUETOOTH_GATT_EVENT_CALLBACK , callbackcontext : *const ::core::ffi::c_void , peventhandle : *mut isize , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTRegisterEvent(hservice.into(), eventtype, eventparameterin, callback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), peventhandle, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -222,7 +222,7 @@ pub unsafe fn BluetoothGATTSetCharacteristicValue(hdevice: P0, characteristi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTSetCharacteristicValue ( hdevice : super::super::Foundation:: HANDLE , characteristic : *const BTH_LE_GATT_CHARACTERISTIC , characteristicvalue : *const BTH_LE_GATT_CHARACTERISTIC_VALUE , reliablewritecontext : u64 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTSetCharacteristicValue ( hdevice : super::super::Foundation:: HANDLE , characteristic : *const BTH_LE_GATT_CHARACTERISTIC , characteristicvalue : *const BTH_LE_GATT_CHARACTERISTIC_VALUE , reliablewritecontext : u64 , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTSetCharacteristicValue(hdevice.into(), characteristic, characteristicvalue, reliablewritecontext, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -232,13 +232,13 @@ pub unsafe fn BluetoothGATTSetDescriptorValue(hdevice: P0, descriptor: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTSetDescriptorValue ( hdevice : super::super::Foundation:: HANDLE , descriptor : *const BTH_LE_GATT_DESCRIPTOR , descriptorvalue : *const BTH_LE_GATT_DESCRIPTOR_VALUE , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTSetDescriptorValue ( hdevice : super::super::Foundation:: HANDLE , descriptor : *const BTH_LE_GATT_DESCRIPTOR , descriptorvalue : *const BTH_LE_GATT_DESCRIPTOR_VALUE , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTSetDescriptorValue(hdevice.into(), descriptor, descriptorvalue, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"] #[inline] pub unsafe fn BluetoothGATTUnregisterEvent(eventhandle: isize, flags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTUnregisterEvent ( eventhandle : isize , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGATTUnregisterEvent ( eventhandle : isize , flags : u32 ) -> :: windows::core::HRESULT ); BluetoothGATTUnregisterEvent(eventhandle, flags).ok() } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -248,7 +248,7 @@ pub unsafe fn BluetoothGetDeviceInfo(hradio: P0, pbtdi: *mut BLUETOOTH_DEVIC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGetDeviceInfo ( hradio : super::super::Foundation:: HANDLE , pbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGetDeviceInfo ( hradio : super::super::Foundation:: HANDLE , pbtdi : *mut BLUETOOTH_DEVICE_INFO ) -> u32 ); BluetoothGetDeviceInfo(hradio.into(), pbtdi) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -258,7 +258,7 @@ pub unsafe fn BluetoothGetRadioInfo(hradio: P0, pradioinfo: *mut BLUETOOTH_R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothGetRadioInfo ( hradio : super::super::Foundation:: HANDLE , pradioinfo : *mut BLUETOOTH_RADIO_INFO ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothGetRadioInfo ( hradio : super::super::Foundation:: HANDLE , pradioinfo : *mut BLUETOOTH_RADIO_INFO ) -> u32 ); BluetoothGetRadioInfo(hradio.into(), pradioinfo) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -268,7 +268,7 @@ pub unsafe fn BluetoothIsConnectable(hradio: P0) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothIsConnectable ( hradio : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothIsConnectable ( hradio : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); BluetoothIsConnectable(hradio.into()) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -278,82 +278,82 @@ pub unsafe fn BluetoothIsDiscoverable(hradio: P0) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothIsDiscoverable ( hradio : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothIsDiscoverable ( hradio : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); BluetoothIsDiscoverable(hradio.into()) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothIsVersionAvailable(majorversion: u8, minorversion: u8) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothIsVersionAvailable ( majorversion : u8 , minorversion : u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothIsVersionAvailable ( majorversion : u8 , minorversion : u8 ) -> super::super::Foundation:: BOOL ); BluetoothIsVersionAvailable(majorversion, minorversion) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothRegisterForAuthentication(pbtdi: ::core::option::Option<*const BLUETOOTH_DEVICE_INFO>, phreghandle: *mut isize, pfncallback: PFN_AUTHENTICATION_CALLBACK, pvparam: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothRegisterForAuthentication ( pbtdi : *const BLUETOOTH_DEVICE_INFO , phreghandle : *mut isize , pfncallback : PFN_AUTHENTICATION_CALLBACK , pvparam : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothRegisterForAuthentication ( pbtdi : *const BLUETOOTH_DEVICE_INFO , phreghandle : *mut isize , pfncallback : PFN_AUTHENTICATION_CALLBACK , pvparam : *const ::core::ffi::c_void ) -> u32 ); BluetoothRegisterForAuthentication(::core::mem::transmute(pbtdi.unwrap_or(::std::ptr::null())), phreghandle, pfncallback, ::core::mem::transmute(pvparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothRegisterForAuthenticationEx(pbtdiin: ::core::option::Option<*const BLUETOOTH_DEVICE_INFO>, phreghandleout: *mut isize, pfncallbackin: PFN_AUTHENTICATION_CALLBACK_EX, pvparam: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothRegisterForAuthenticationEx ( pbtdiin : *const BLUETOOTH_DEVICE_INFO , phreghandleout : *mut isize , pfncallbackin : PFN_AUTHENTICATION_CALLBACK_EX , pvparam : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothRegisterForAuthenticationEx ( pbtdiin : *const BLUETOOTH_DEVICE_INFO , phreghandleout : *mut isize , pfncallbackin : PFN_AUTHENTICATION_CALLBACK_EX , pvparam : *const ::core::ffi::c_void ) -> u32 ); BluetoothRegisterForAuthenticationEx(::core::mem::transmute(pbtdiin.unwrap_or(::std::ptr::null())), phreghandleout, pfncallbackin, ::core::mem::transmute(pvparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"] #[inline] pub unsafe fn BluetoothRemoveDevice(paddress: *const BLUETOOTH_ADDRESS) -> u32 { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothRemoveDevice ( paddress : *const BLUETOOTH_ADDRESS ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothRemoveDevice ( paddress : *const BLUETOOTH_ADDRESS ) -> u32 ); BluetoothRemoveDevice(paddress) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothSdpEnumAttributes(psdpstream: &[u8], pfncallback: PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK, pvparam: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpEnumAttributes ( psdpstream : *const u8 , cbstreamsize : u32 , pfncallback : PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK , pvparam : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpEnumAttributes ( psdpstream : *const u8 , cbstreamsize : u32 , pfncallback : PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK , pvparam : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); BluetoothSdpEnumAttributes(::core::mem::transmute(psdpstream.as_ptr()), psdpstream.len() as _, pfncallback, pvparam) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothSdpGetAttributeValue(precordstream: &[u8], usattributeid: u16, pattributedata: *mut SDP_ELEMENT_DATA) -> u32 { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpGetAttributeValue ( precordstream : *const u8 , cbrecordlength : u32 , usattributeid : u16 , pattributedata : *mut SDP_ELEMENT_DATA ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpGetAttributeValue ( precordstream : *const u8 , cbrecordlength : u32 , usattributeid : u16 , pattributedata : *mut SDP_ELEMENT_DATA ) -> u32 ); BluetoothSdpGetAttributeValue(::core::mem::transmute(precordstream.as_ptr()), precordstream.len() as _, usattributeid, pattributedata) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothSdpGetContainerElementData(pcontainerstream: &[u8], pelement: *mut isize, pdata: *mut SDP_ELEMENT_DATA) -> u32 { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpGetContainerElementData ( pcontainerstream : *const u8 , cbcontainerlength : u32 , pelement : *mut isize , pdata : *mut SDP_ELEMENT_DATA ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpGetContainerElementData ( pcontainerstream : *const u8 , cbcontainerlength : u32 , pelement : *mut isize , pdata : *mut SDP_ELEMENT_DATA ) -> u32 ); BluetoothSdpGetContainerElementData(::core::mem::transmute(pcontainerstream.as_ptr()), pcontainerstream.len() as _, pelement, pdata) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothSdpGetElementData(psdpstream: &[u8], pdata: *mut SDP_ELEMENT_DATA) -> u32 { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpGetElementData ( psdpstream : *const u8 , cbsdpstreamlength : u32 , pdata : *mut SDP_ELEMENT_DATA ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpGetElementData ( psdpstream : *const u8 , cbsdpstreamlength : u32 , pdata : *mut SDP_ELEMENT_DATA ) -> u32 ); BluetoothSdpGetElementData(::core::mem::transmute(psdpstream.as_ptr()), psdpstream.len() as _, pdata) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"] #[inline] pub unsafe fn BluetoothSdpGetString(precordstream: &[u8], pstringdata: ::core::option::Option<*const SDP_STRING_TYPE_DATA>, usstringoffset: u16, pszstring: ::windows::core::PWSTR, pcchstringlength: *mut u32) -> u32 { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpGetString ( precordstream : *const u8 , cbrecordlength : u32 , pstringdata : *const SDP_STRING_TYPE_DATA , usstringoffset : u16 , pszstring : :: windows::core::PWSTR , pcchstringlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSdpGetString ( precordstream : *const u8 , cbrecordlength : u32 , pstringdata : *const SDP_STRING_TYPE_DATA , usstringoffset : u16 , pszstring : :: windows::core::PWSTR , pcchstringlength : *mut u32 ) -> u32 ); BluetoothSdpGetString(::core::mem::transmute(precordstream.as_ptr()), precordstream.len() as _, ::core::mem::transmute(pstringdata.unwrap_or(::std::ptr::null())), usstringoffset, ::core::mem::transmute(pszstring), pcchstringlength) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothSelectDevices(pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bthprops.cpl""system" fn BluetoothSelectDevices ( pbtsdp : *mut BLUETOOTH_SELECT_DEVICE_PARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bthprops.cpl""system" fn BluetoothSelectDevices ( pbtsdp : *mut BLUETOOTH_SELECT_DEVICE_PARAMS ) -> super::super::Foundation:: BOOL ); BluetoothSelectDevices(pbtsdp) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothSelectDevicesFree(pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bthprops.cpl""system" fn BluetoothSelectDevicesFree ( pbtsdp : *mut BLUETOOTH_SELECT_DEVICE_PARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bthprops.cpl""system" fn BluetoothSelectDevicesFree ( pbtsdp : *mut BLUETOOTH_SELECT_DEVICE_PARAMS ) -> super::super::Foundation:: BOOL ); BluetoothSelectDevicesFree(pbtsdp) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -364,7 +364,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSendAuthenticationResponse ( hradio : super::super::Foundation:: HANDLE , pbtdi : *const BLUETOOTH_DEVICE_INFO , pszpasskey : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSendAuthenticationResponse ( hradio : super::super::Foundation:: HANDLE , pbtdi : *const BLUETOOTH_DEVICE_INFO , pszpasskey : :: windows::core::PCWSTR ) -> u32 ); BluetoothSendAuthenticationResponse(hradio.into(), pbtdi, pszpasskey.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -374,7 +374,7 @@ pub unsafe fn BluetoothSendAuthenticationResponseEx(hradioin: P0, pauthrespo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSendAuthenticationResponseEx ( hradioin : super::super::Foundation:: HANDLE , pauthresponse : *const BLUETOOTH_AUTHENTICATE_RESPONSE ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSendAuthenticationResponseEx ( hradioin : super::super::Foundation:: HANDLE , pauthresponse : *const BLUETOOTH_AUTHENTICATE_RESPONSE ) -> u32 ); BluetoothSendAuthenticationResponseEx(hradioin.into(), pauthresponse) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -384,7 +384,7 @@ pub unsafe fn BluetoothSetLocalServiceInfo(hradioin: P0, pclassguid: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSetLocalServiceInfo ( hradioin : super::super::Foundation:: HANDLE , pclassguid : *const :: windows::core::GUID , ulinstance : u32 , pserviceinfoin : *const BLUETOOTH_LOCAL_SERVICE_INFO ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSetLocalServiceInfo ( hradioin : super::super::Foundation:: HANDLE , pclassguid : *const :: windows::core::GUID , ulinstance : u32 , pserviceinfoin : *const BLUETOOTH_LOCAL_SERVICE_INFO ) -> u32 ); BluetoothSetLocalServiceInfo(hradioin.into(), pclassguid, ulinstance, pserviceinfoin) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] @@ -394,21 +394,21 @@ pub unsafe fn BluetoothSetServiceState(hradio: P0, pbtdi: *const BLUETOOTH_D where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothSetServiceState ( hradio : super::super::Foundation:: HANDLE , pbtdi : *const BLUETOOTH_DEVICE_INFO , pguidservice : *const :: windows::core::GUID , dwserviceflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothSetServiceState ( hradio : super::super::Foundation:: HANDLE , pbtdi : *const BLUETOOTH_DEVICE_INFO , pguidservice : *const :: windows::core::GUID , dwserviceflags : u32 ) -> u32 ); BluetoothSetServiceState(hradio.into(), pbtdi, pguidservice, dwserviceflags) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothUnregisterAuthentication(hreghandle: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothUnregisterAuthentication ( hreghandle : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothUnregisterAuthentication ( hreghandle : isize ) -> super::super::Foundation:: BOOL ); BluetoothUnregisterAuthentication(hreghandle) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BluetoothUpdateDeviceRecord(pbtdi: *const BLUETOOTH_DEVICE_INFO) -> u32 { - ::windows::core::link ! ( "bluetoothapis.dll""system" fn BluetoothUpdateDeviceRecord ( pbtdi : *const BLUETOOTH_DEVICE_INFO ) -> u32 ); + ::windows::imp::link ! ( "bluetoothapis.dll""system" fn BluetoothUpdateDeviceRecord ( pbtdi : *const BLUETOOTH_DEVICE_INFO ) -> u32 ); BluetoothUpdateDeviceRecord(pbtdi) } #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Communication/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Communication/mod.rs index ebaca00f48..9100a3a302 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Communication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Communication/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn BuildCommDCBA(lpdef: P0, lpdcb: *mut DCB) -> super::super::Fou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn BuildCommDCBA ( lpdef : :: windows::core::PCSTR , lpdcb : *mut DCB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BuildCommDCBA ( lpdef : :: windows::core::PCSTR , lpdcb : *mut DCB ) -> super::super::Foundation:: BOOL ); BuildCommDCBA(lpdef.into().abi(), lpdcb) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn BuildCommDCBAndTimeoutsA(lpdef: P0, lpdcb: *mut DCB, lpcommtim where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn BuildCommDCBAndTimeoutsA ( lpdef : :: windows::core::PCSTR , lpdcb : *mut DCB , lpcommtimeouts : *mut COMMTIMEOUTS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BuildCommDCBAndTimeoutsA ( lpdef : :: windows::core::PCSTR , lpdcb : *mut DCB , lpcommtimeouts : *mut COMMTIMEOUTS ) -> super::super::Foundation:: BOOL ); BuildCommDCBAndTimeoutsA(lpdef.into().abi(), lpdcb, lpcommtimeouts) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn BuildCommDCBAndTimeoutsW(lpdef: P0, lpdcb: *mut DCB, lpcommtim where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn BuildCommDCBAndTimeoutsW ( lpdef : :: windows::core::PCWSTR , lpdcb : *mut DCB , lpcommtimeouts : *mut COMMTIMEOUTS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BuildCommDCBAndTimeoutsW ( lpdef : :: windows::core::PCWSTR , lpdcb : *mut DCB , lpcommtimeouts : *mut COMMTIMEOUTS ) -> super::super::Foundation:: BOOL ); BuildCommDCBAndTimeoutsW(lpdef.into().abi(), lpdcb, lpcommtimeouts) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -35,7 +35,7 @@ pub unsafe fn BuildCommDCBW(lpdef: P0, lpdcb: *mut DCB) -> super::super::Fou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn BuildCommDCBW ( lpdef : :: windows::core::PCWSTR , lpdcb : *mut DCB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BuildCommDCBW ( lpdef : :: windows::core::PCWSTR , lpdcb : *mut DCB ) -> super::super::Foundation:: BOOL ); BuildCommDCBW(lpdef.into().abi(), lpdcb) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -45,7 +45,7 @@ pub unsafe fn ClearCommBreak(hfile: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ClearCommBreak ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ClearCommBreak ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ClearCommBreak(hfile.into()) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -55,7 +55,7 @@ pub unsafe fn ClearCommError(hfile: P0, lperrors: ::core::option::Option<*mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ClearCommError ( hfile : super::super::Foundation:: HANDLE , lperrors : *mut CLEAR_COMM_ERROR_FLAGS , lpstat : *mut COMSTAT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ClearCommError ( hfile : super::super::Foundation:: HANDLE , lperrors : *mut CLEAR_COMM_ERROR_FLAGS , lpstat : *mut COMSTAT ) -> super::super::Foundation:: BOOL ); ClearCommError(hfile.into(), ::core::mem::transmute(lperrors.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpstat.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -66,7 +66,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CommConfigDialogA ( lpszname : :: windows::core::PCSTR , hwnd : super::super::Foundation:: HWND , lpcc : *mut COMMCONFIG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CommConfigDialogA ( lpszname : :: windows::core::PCSTR , hwnd : super::super::Foundation:: HWND , lpcc : *mut COMMCONFIG ) -> super::super::Foundation:: BOOL ); CommConfigDialogA(lpszname.into().abi(), hwnd.into(), lpcc) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -77,7 +77,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CommConfigDialogW ( lpszname : :: windows::core::PCWSTR , hwnd : super::super::Foundation:: HWND , lpcc : *mut COMMCONFIG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CommConfigDialogW ( lpszname : :: windows::core::PCWSTR , hwnd : super::super::Foundation:: HWND , lpcc : *mut COMMCONFIG ) -> super::super::Foundation:: BOOL ); CommConfigDialogW(lpszname.into().abi(), hwnd.into(), lpcc) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn EscapeCommFunction(hfile: P0, dwfunc: ESCAPE_COMM_FUNCTION) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EscapeCommFunction ( hfile : super::super::Foundation:: HANDLE , dwfunc : ESCAPE_COMM_FUNCTION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EscapeCommFunction ( hfile : super::super::Foundation:: HANDLE , dwfunc : ESCAPE_COMM_FUNCTION ) -> super::super::Foundation:: BOOL ); EscapeCommFunction(hfile.into(), dwfunc) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -97,7 +97,7 @@ pub unsafe fn GetCommConfig(hcommdev: P0, lpcc: ::core::option::Option<*mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCommConfig ( hcommdev : super::super::Foundation:: HANDLE , lpcc : *mut COMMCONFIG , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCommConfig ( hcommdev : super::super::Foundation:: HANDLE , lpcc : *mut COMMCONFIG , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetCommConfig(hcommdev.into(), ::core::mem::transmute(lpcc.unwrap_or(::std::ptr::null_mut())), lpdwsize) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -107,7 +107,7 @@ pub unsafe fn GetCommMask(hfile: P0, lpevtmask: *mut COMM_EVENT_MASK) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCommMask ( hfile : super::super::Foundation:: HANDLE , lpevtmask : *mut COMM_EVENT_MASK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCommMask ( hfile : super::super::Foundation:: HANDLE , lpevtmask : *mut COMM_EVENT_MASK ) -> super::super::Foundation:: BOOL ); GetCommMask(hfile.into(), lpevtmask) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -117,13 +117,13 @@ pub unsafe fn GetCommModemStatus(hfile: P0, lpmodemstat: *mut MODEM_STATUS_F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCommModemStatus ( hfile : super::super::Foundation:: HANDLE , lpmodemstat : *mut MODEM_STATUS_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCommModemStatus ( hfile : super::super::Foundation:: HANDLE , lpmodemstat : *mut MODEM_STATUS_FLAGS ) -> super::super::Foundation:: BOOL ); GetCommModemStatus(hfile.into(), lpmodemstat) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`*"] #[inline] pub unsafe fn GetCommPorts(lpportnumbers: &mut [u32], puportnumbersfound: *mut u32) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-comm-l1-1-2.dll""system" fn GetCommPorts ( lpportnumbers : *mut u32 , uportnumberscount : u32 , puportnumbersfound : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-comm-l1-1-2.dll""system" fn GetCommPorts ( lpportnumbers : *mut u32 , uportnumberscount : u32 , puportnumbersfound : *mut u32 ) -> u32 ); GetCommPorts(::core::mem::transmute(lpportnumbers.as_ptr()), lpportnumbers.len() as _, puportnumbersfound) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -133,7 +133,7 @@ pub unsafe fn GetCommProperties(hfile: P0, lpcommprop: *mut COMMPROP) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCommProperties ( hfile : super::super::Foundation:: HANDLE , lpcommprop : *mut COMMPROP ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCommProperties ( hfile : super::super::Foundation:: HANDLE , lpcommprop : *mut COMMPROP ) -> super::super::Foundation:: BOOL ); GetCommProperties(hfile.into(), lpcommprop) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -143,7 +143,7 @@ pub unsafe fn GetCommState(hfile: P0, lpdcb: *mut DCB) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCommState ( hfile : super::super::Foundation:: HANDLE , lpdcb : *mut DCB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCommState ( hfile : super::super::Foundation:: HANDLE , lpdcb : *mut DCB ) -> super::super::Foundation:: BOOL ); GetCommState(hfile.into(), lpdcb) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -153,7 +153,7 @@ pub unsafe fn GetCommTimeouts(hfile: P0, lpcommtimeouts: *mut COMMTIMEOUTS) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCommTimeouts ( hfile : super::super::Foundation:: HANDLE , lpcommtimeouts : *mut COMMTIMEOUTS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCommTimeouts ( hfile : super::super::Foundation:: HANDLE , lpcommtimeouts : *mut COMMTIMEOUTS ) -> super::super::Foundation:: BOOL ); GetCommTimeouts(hfile.into(), lpcommtimeouts) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -163,7 +163,7 @@ pub unsafe fn GetDefaultCommConfigA(lpszname: P0, lpcc: *mut COMMCONFIG, lpd where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDefaultCommConfigA ( lpszname : :: windows::core::PCSTR , lpcc : *mut COMMCONFIG , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDefaultCommConfigA ( lpszname : :: windows::core::PCSTR , lpcc : *mut COMMCONFIG , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetDefaultCommConfigA(lpszname.into().abi(), lpcc, lpdwsize) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -173,14 +173,14 @@ pub unsafe fn GetDefaultCommConfigW(lpszname: P0, lpcc: *mut COMMCONFIG, lpd where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDefaultCommConfigW ( lpszname : :: windows::core::PCWSTR , lpcc : *mut COMMCONFIG , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDefaultCommConfigW ( lpszname : :: windows::core::PCWSTR , lpcc : *mut COMMCONFIG , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetDefaultCommConfigW(lpszname.into().abi(), lpcc, lpdwsize) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OpenCommPort(uportnumber: u32, dwdesiredaccess: u32, dwflagsandattributes: u32) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "api-ms-win-core-comm-l1-1-1.dll""system" fn OpenCommPort ( uportnumber : u32 , dwdesiredaccess : u32 , dwflagsandattributes : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "api-ms-win-core-comm-l1-1-1.dll""system" fn OpenCommPort ( uportnumber : u32 , dwdesiredaccess : u32 , dwflagsandattributes : u32 ) -> super::super::Foundation:: HANDLE ); OpenCommPort(uportnumber, dwdesiredaccess, dwflagsandattributes) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -190,7 +190,7 @@ pub unsafe fn PurgeComm(hfile: P0, dwflags: PURGE_COMM_FLAGS) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PurgeComm ( hfile : super::super::Foundation:: HANDLE , dwflags : PURGE_COMM_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PurgeComm ( hfile : super::super::Foundation:: HANDLE , dwflags : PURGE_COMM_FLAGS ) -> super::super::Foundation:: BOOL ); PurgeComm(hfile.into(), dwflags) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -200,7 +200,7 @@ pub unsafe fn SetCommBreak(hfile: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCommBreak ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCommBreak ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetCommBreak(hfile.into()) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -210,7 +210,7 @@ pub unsafe fn SetCommConfig(hcommdev: P0, lpcc: *const COMMCONFIG, dwsize: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCommConfig ( hcommdev : super::super::Foundation:: HANDLE , lpcc : *const COMMCONFIG , dwsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCommConfig ( hcommdev : super::super::Foundation:: HANDLE , lpcc : *const COMMCONFIG , dwsize : u32 ) -> super::super::Foundation:: BOOL ); SetCommConfig(hcommdev.into(), lpcc, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -220,7 +220,7 @@ pub unsafe fn SetCommMask(hfile: P0, dwevtmask: COMM_EVENT_MASK) -> super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCommMask ( hfile : super::super::Foundation:: HANDLE , dwevtmask : COMM_EVENT_MASK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCommMask ( hfile : super::super::Foundation:: HANDLE , dwevtmask : COMM_EVENT_MASK ) -> super::super::Foundation:: BOOL ); SetCommMask(hfile.into(), dwevtmask) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -230,7 +230,7 @@ pub unsafe fn SetCommState(hfile: P0, lpdcb: *const DCB) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCommState ( hfile : super::super::Foundation:: HANDLE , lpdcb : *const DCB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCommState ( hfile : super::super::Foundation:: HANDLE , lpdcb : *const DCB ) -> super::super::Foundation:: BOOL ); SetCommState(hfile.into(), lpdcb) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -240,7 +240,7 @@ pub unsafe fn SetCommTimeouts(hfile: P0, lpcommtimeouts: *const COMMTIMEOUTS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCommTimeouts ( hfile : super::super::Foundation:: HANDLE , lpcommtimeouts : *const COMMTIMEOUTS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCommTimeouts ( hfile : super::super::Foundation:: HANDLE , lpcommtimeouts : *const COMMTIMEOUTS ) -> super::super::Foundation:: BOOL ); SetCommTimeouts(hfile.into(), lpcommtimeouts) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -250,7 +250,7 @@ pub unsafe fn SetDefaultCommConfigA(lpszname: P0, lpcc: *const COMMCONFIG, d where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetDefaultCommConfigA ( lpszname : :: windows::core::PCSTR , lpcc : *const COMMCONFIG , dwsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetDefaultCommConfigA ( lpszname : :: windows::core::PCSTR , lpcc : *const COMMCONFIG , dwsize : u32 ) -> super::super::Foundation:: BOOL ); SetDefaultCommConfigA(lpszname.into().abi(), lpcc, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -260,7 +260,7 @@ pub unsafe fn SetDefaultCommConfigW(lpszname: P0, lpcc: *const COMMCONFIG, d where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetDefaultCommConfigW ( lpszname : :: windows::core::PCWSTR , lpcc : *const COMMCONFIG , dwsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetDefaultCommConfigW ( lpszname : :: windows::core::PCWSTR , lpcc : *const COMMCONFIG , dwsize : u32 ) -> super::super::Foundation:: BOOL ); SetDefaultCommConfigW(lpszname.into().abi(), lpcc, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -270,7 +270,7 @@ pub unsafe fn SetupComm(hfile: P0, dwinqueue: u32, dwoutqueue: u32) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetupComm ( hfile : super::super::Foundation:: HANDLE , dwinqueue : u32 , dwoutqueue : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetupComm ( hfile : super::super::Foundation:: HANDLE , dwinqueue : u32 , dwoutqueue : u32 ) -> super::super::Foundation:: BOOL ); SetupComm(hfile.into(), dwinqueue, dwoutqueue) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`*"] @@ -281,7 +281,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn TransmitCommChar ( hfile : super::super::Foundation:: HANDLE , cchar : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TransmitCommChar ( hfile : super::super::Foundation:: HANDLE , cchar : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); TransmitCommChar(hfile.into(), cchar.into()) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -291,7 +291,7 @@ pub unsafe fn WaitCommEvent(hfile: P0, lpevtmask: *mut COMM_EVENT_MASK, lpov where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitCommEvent ( hfile : super::super::Foundation:: HANDLE , lpevtmask : *mut COMM_EVENT_MASK , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitCommEvent ( hfile : super::super::Foundation:: HANDLE , lpevtmask : *mut COMM_EVENT_MASK , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WaitCommEvent(hfile.into(), lpevtmask, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_Communication\"`*"] 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 bf402beced..b9fa86dcc2 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn CreateDeviceAccessInstance(deviceinterfacepath: P0, desiredacc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "deviceaccess.dll""system" fn CreateDeviceAccessInstance ( deviceinterfacepath : :: windows::core::PCWSTR , desiredaccess : u32 , createasync : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "deviceaccess.dll""system" fn CreateDeviceAccessInstance ( deviceinterfacepath : :: windows::core::PCWSTR , desiredaccess : u32 , createasync : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateDeviceAccessInstance(deviceinterfacepath.into().abi(), desiredaccess, &mut result__).from_abi(result__) } @@ -29,7 +29,7 @@ impl ICreateDeviceAccessAsync { (::windows::core::Vtable::vtable(self).GetResult)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICreateDeviceAccessAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateDeviceAccessAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateDeviceAccessAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -88,7 +88,7 @@ impl IDeviceIoControl { (::windows::core::Vtable::vtable(self).CancelOperation)(::windows::core::Vtable::as_raw(self), cancelcontext).ok() } } -::windows::core::interface_hierarchy!(IDeviceIoControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDeviceIoControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDeviceIoControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -127,7 +127,7 @@ impl IDeviceRequestCompletionCallback { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), requestresult, bytesreturned).ok() } } -::windows::core::interface_hierarchy!(IDeviceRequestCompletionCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDeviceRequestCompletionCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDeviceRequestCompletionCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs index cd516dbd51..ebca05542f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -1,21 +1,21 @@ #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CMP_WaitNoPendingInstallEvents(dwtimeout: u32) -> u32 { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CMP_WaitNoPendingInstallEvents ( dwtimeout : u32 ) -> u32 ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CMP_WaitNoPendingInstallEvents ( dwtimeout : u32 ) -> u32 ); CMP_WaitNoPendingInstallEvents(dwtimeout) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Data_HtmlHelp\"`*"] #[cfg(feature = "Win32_Data_HtmlHelp")] #[inline] pub unsafe fn CM_Add_Empty_Log_Conf(plclogconf: *mut usize, dndevinst: u32, priority: super::super::Data::HtmlHelp::PRIORITY, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_Empty_Log_Conf ( plclogconf : *mut usize , dndevinst : u32 , priority : super::super::Data::HtmlHelp:: PRIORITY , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_Empty_Log_Conf ( plclogconf : *mut usize , dndevinst : u32 , priority : super::super::Data::HtmlHelp:: PRIORITY , ulflags : u32 ) -> CONFIGRET ); CM_Add_Empty_Log_Conf(plclogconf, dndevinst, priority, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Data_HtmlHelp\"`*"] #[cfg(feature = "Win32_Data_HtmlHelp")] #[inline] pub unsafe fn CM_Add_Empty_Log_Conf_Ex(plclogconf: *mut usize, dndevinst: u32, priority: super::super::Data::HtmlHelp::PRIORITY, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_Empty_Log_Conf_Ex ( plclogconf : *mut usize , dndevinst : u32 , priority : super::super::Data::HtmlHelp:: PRIORITY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_Empty_Log_Conf_Ex ( plclogconf : *mut usize , dndevinst : u32 , priority : super::super::Data::HtmlHelp:: PRIORITY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Add_Empty_Log_Conf_Ex(plclogconf, dndevinst, priority, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -24,7 +24,7 @@ pub unsafe fn CM_Add_IDA(dndevinst: u32, pszid: P0, ulflags: u32) -> CONFIGR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_IDA ( dndevinst : u32 , pszid : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_IDA ( dndevinst : u32 , pszid : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); CM_Add_IDA(dndevinst, pszid.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -33,7 +33,7 @@ pub unsafe fn CM_Add_IDW(dndevinst: u32, pszid: P0, ulflags: u32) -> CONFIGR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_IDW ( dndevinst : u32 , pszid : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_IDW ( dndevinst : u32 , pszid : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); CM_Add_IDW(dndevinst, pszid.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -42,7 +42,7 @@ pub unsafe fn CM_Add_ID_ExA(dndevinst: u32, pszid: P0, ulflags: u32, hmachin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_ID_ExA ( dndevinst : u32 , pszid : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_ID_ExA ( dndevinst : u32 , pszid : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Add_ID_ExA(dndevinst, pszid.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -51,25 +51,25 @@ pub unsafe fn CM_Add_ID_ExW(dndevinst: u32, pszid: P0, ulflags: u32, hmachin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_ID_ExW ( dndevinst : u32 , pszid : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_ID_ExW ( dndevinst : u32 , pszid : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Add_ID_ExW(dndevinst, pszid.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Add_Range(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_Range ( ullstartvalue : u64 , ullendvalue : u64 , rlh : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_Range ( ullstartvalue : u64 , ullendvalue : u64 , rlh : usize , ulflags : u32 ) -> CONFIGRET ); CM_Add_Range(ullstartvalue, ullendvalue, rlh, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Add_Res_Des(prdresdes: ::core::option::Option<*mut usize>, lclogconf: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_Res_Des ( prdresdes : *mut usize , lclogconf : usize , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_Res_Des ( prdresdes : *mut usize , lclogconf : usize , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Add_Res_Des(::core::mem::transmute(prdresdes.unwrap_or(::std::ptr::null_mut())), lclogconf, resourceid, resourcedata, resourcelen, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Add_Res_Des_Ex(prdresdes: ::core::option::Option<*mut usize>, lclogconf: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Add_Res_Des_Ex ( prdresdes : *mut usize , lclogconf : usize , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Add_Res_Des_Ex ( prdresdes : *mut usize , lclogconf : usize , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Add_Res_Des_Ex(::core::mem::transmute(prdresdes.unwrap_or(::std::ptr::null_mut())), lclogconf, resourceid, resourcedata, resourcelen, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -78,7 +78,7 @@ pub unsafe fn CM_Connect_MachineA(uncservername: P0, phmachine: *mut isize) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Connect_MachineA ( uncservername : :: windows::core::PCSTR , phmachine : *mut isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Connect_MachineA ( uncservername : :: windows::core::PCSTR , phmachine : *mut isize ) -> CONFIGRET ); CM_Connect_MachineA(uncservername.into().abi(), phmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn CM_Connect_MachineW(uncservername: P0, phmachine: *mut isize) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Connect_MachineW ( uncservername : :: windows::core::PCWSTR , phmachine : *mut isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Connect_MachineW ( uncservername : :: windows::core::PCWSTR , phmachine : *mut isize ) -> CONFIGRET ); CM_Connect_MachineW(uncservername.into().abi(), phmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -96,7 +96,7 @@ pub unsafe fn CM_Create_DevNodeA(pdndevinst: *mut u32, pdeviceid: P0, dnpare where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Create_DevNodeA ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCSTR , dnparent : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Create_DevNodeA ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCSTR , dnparent : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Create_DevNodeA(pdndevinst, pdeviceid.into().abi(), dnparent, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -105,7 +105,7 @@ pub unsafe fn CM_Create_DevNodeW(pdndevinst: *mut u32, pdeviceid: P0, dnpare where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Create_DevNodeW ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCWSTR , dnparent : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Create_DevNodeW ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCWSTR , dnparent : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Create_DevNodeW(pdndevinst, pdeviceid.into().abi(), dnparent, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -114,7 +114,7 @@ pub unsafe fn CM_Create_DevNode_ExA(pdndevinst: *mut u32, pdeviceid: P0, dnp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Create_DevNode_ExA ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCSTR , dnparent : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Create_DevNode_ExA ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCSTR , dnparent : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Create_DevNode_ExA(pdndevinst, pdeviceid.into().abi(), dnparent, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -123,37 +123,37 @@ pub unsafe fn CM_Create_DevNode_ExW(pdndevinst: *mut u32, pdeviceid: P0, dnp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Create_DevNode_ExW ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCWSTR , dnparent : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Create_DevNode_ExW ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCWSTR , dnparent : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Create_DevNode_ExW(pdndevinst, pdeviceid.into().abi(), dnparent, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Create_Range_List(prlh: *mut usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Create_Range_List ( prlh : *mut usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Create_Range_List ( prlh : *mut usize , ulflags : u32 ) -> CONFIGRET ); CM_Create_Range_List(prlh, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Delete_Class_Key(classguid: *const ::windows::core::GUID, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Class_Key ( classguid : *const :: windows::core::GUID , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Class_Key ( classguid : *const :: windows::core::GUID , ulflags : u32 ) -> CONFIGRET ); CM_Delete_Class_Key(classguid, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Delete_Class_Key_Ex(classguid: *const ::windows::core::GUID, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Class_Key_Ex ( classguid : *const :: windows::core::GUID , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Class_Key_Ex ( classguid : *const :: windows::core::GUID , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Delete_Class_Key_Ex(classguid, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Delete_DevNode_Key(dndevnode: u32, ulhardwareprofile: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_DevNode_Key ( dndevnode : u32 , ulhardwareprofile : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_DevNode_Key ( dndevnode : u32 , ulhardwareprofile : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Delete_DevNode_Key(dndevnode, ulhardwareprofile, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Delete_DevNode_Key_Ex(dndevnode: u32, ulhardwareprofile: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_DevNode_Key_Ex ( dndevnode : u32 , ulhardwareprofile : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_DevNode_Key_Ex ( dndevnode : u32 , ulhardwareprofile : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Delete_DevNode_Key_Ex(dndevnode, ulhardwareprofile, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -162,7 +162,7 @@ pub unsafe fn CM_Delete_Device_Interface_KeyA(pszdeviceinterface: P0, ulflag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Device_Interface_KeyA ( pszdeviceinterface : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Device_Interface_KeyA ( pszdeviceinterface : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); CM_Delete_Device_Interface_KeyA(pszdeviceinterface.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -171,7 +171,7 @@ pub unsafe fn CM_Delete_Device_Interface_KeyW(pszdeviceinterface: P0, ulflag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Device_Interface_KeyW ( pszdeviceinterface : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Device_Interface_KeyW ( pszdeviceinterface : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); CM_Delete_Device_Interface_KeyW(pszdeviceinterface.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -180,7 +180,7 @@ pub unsafe fn CM_Delete_Device_Interface_Key_ExA(pszdeviceinterface: P0, ulf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Device_Interface_Key_ExA ( pszdeviceinterface : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Device_Interface_Key_ExA ( pszdeviceinterface : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Delete_Device_Interface_Key_ExA(pszdeviceinterface.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -189,271 +189,271 @@ pub unsafe fn CM_Delete_Device_Interface_Key_ExW(pszdeviceinterface: P0, ulf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Device_Interface_Key_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Device_Interface_Key_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Delete_Device_Interface_Key_ExW(pszdeviceinterface.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Delete_Range(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Range ( ullstartvalue : u64 , ullendvalue : u64 , rlh : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Delete_Range ( ullstartvalue : u64 , ullendvalue : u64 , rlh : usize , ulflags : u32 ) -> CONFIGRET ); CM_Delete_Range(ullstartvalue, ullendvalue, rlh, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Detect_Resource_Conflict(dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, pbconflictdetected: *mut super::super::Foundation::BOOL, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Detect_Resource_Conflict ( dndevinst : u32 , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , pbconflictdetected : *mut super::super::Foundation:: BOOL , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Detect_Resource_Conflict ( dndevinst : u32 , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , pbconflictdetected : *mut super::super::Foundation:: BOOL , ulflags : u32 ) -> CONFIGRET ); CM_Detect_Resource_Conflict(dndevinst, resourceid, resourcedata, resourcelen, pbconflictdetected, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Detect_Resource_Conflict_Ex(dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, pbconflictdetected: *mut super::super::Foundation::BOOL, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Detect_Resource_Conflict_Ex ( dndevinst : u32 , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , pbconflictdetected : *mut super::super::Foundation:: BOOL , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Detect_Resource_Conflict_Ex ( dndevinst : u32 , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , pbconflictdetected : *mut super::super::Foundation:: BOOL , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Detect_Resource_Conflict_Ex(dndevinst, resourceid, resourcedata, resourcelen, pbconflictdetected, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Disable_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Disable_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Disable_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Disable_DevNode(dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Disable_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Disable_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Disable_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Disable_DevNode_Ex(dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Disconnect_Machine(hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Disconnect_Machine ( hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Disconnect_Machine ( hmachine : isize ) -> CONFIGRET ); CM_Disconnect_Machine(hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Dup_Range_List(rlhold: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Dup_Range_List ( rlhold : usize , rlhnew : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Dup_Range_List ( rlhold : usize , rlhnew : usize , ulflags : u32 ) -> CONFIGRET ); CM_Dup_Range_List(rlhold, rlhnew, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Enable_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Enable_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Enable_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Enable_DevNode(dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Enable_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Enable_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Enable_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Enable_DevNode_Ex(dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Enumerate_Classes(ulclassindex: u32, classguid: *mut ::windows::core::GUID, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_Classes ( ulclassindex : u32 , classguid : *mut :: windows::core::GUID , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_Classes ( ulclassindex : u32 , classguid : *mut :: windows::core::GUID , ulflags : u32 ) -> CONFIGRET ); CM_Enumerate_Classes(ulclassindex, classguid, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Enumerate_Classes_Ex(ulclassindex: u32, classguid: *mut ::windows::core::GUID, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_Classes_Ex ( ulclassindex : u32 , classguid : *mut :: windows::core::GUID , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_Classes_Ex ( ulclassindex : u32 , classguid : *mut :: windows::core::GUID , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Enumerate_Classes_Ex(ulclassindex, classguid, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Enumerate_EnumeratorsA(ulenumindex: u32, buffer: ::windows::core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_EnumeratorsA ( ulenumindex : u32 , buffer : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_EnumeratorsA ( ulenumindex : u32 , buffer : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Enumerate_EnumeratorsA(ulenumindex, ::core::mem::transmute(buffer), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Enumerate_EnumeratorsW(ulenumindex: u32, buffer: ::windows::core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_EnumeratorsW ( ulenumindex : u32 , buffer : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_EnumeratorsW ( ulenumindex : u32 , buffer : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Enumerate_EnumeratorsW(ulenumindex, ::core::mem::transmute(buffer), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Enumerate_Enumerators_ExA(ulenumindex: u32, buffer: ::windows::core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_Enumerators_ExA ( ulenumindex : u32 , buffer : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_Enumerators_ExA ( ulenumindex : u32 , buffer : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Enumerate_Enumerators_ExA(ulenumindex, ::core::mem::transmute(buffer), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Enumerate_Enumerators_ExW(ulenumindex: u32, buffer: ::windows::core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_Enumerators_ExW ( ulenumindex : u32 , buffer : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Enumerate_Enumerators_ExW ( ulenumindex : u32 , buffer : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Enumerate_Enumerators_ExW(ulenumindex, ::core::mem::transmute(buffer), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Find_Range(pullstart: *mut u64, ullstart: u64, ullength: u32, ullalignment: u64, ullend: u64, rlh: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Find_Range ( pullstart : *mut u64 , ullstart : u64 , ullength : u32 , ullalignment : u64 , ullend : u64 , rlh : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Find_Range ( pullstart : *mut u64 , ullstart : u64 , ullength : u32 , ullalignment : u64 , ullend : u64 , rlh : usize , ulflags : u32 ) -> CONFIGRET ); CM_Find_Range(pullstart, ullstart, ullength, ullalignment, ullend, rlh, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_First_Range(rlh: usize, pullstart: *mut u64, pullend: *mut u64, preelement: *mut usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_First_Range ( rlh : usize , pullstart : *mut u64 , pullend : *mut u64 , preelement : *mut usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_First_Range ( rlh : usize , pullstart : *mut u64 , pullend : *mut u64 , preelement : *mut usize , ulflags : u32 ) -> CONFIGRET ); CM_First_Range(rlh, pullstart, pullend, preelement, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Free_Log_Conf(lclogconftobefreed: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Free_Log_Conf ( lclogconftobefreed : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Free_Log_Conf ( lclogconftobefreed : usize , ulflags : u32 ) -> CONFIGRET ); CM_Free_Log_Conf(lclogconftobefreed, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Free_Log_Conf_Ex(lclogconftobefreed: usize, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Free_Log_Conf_Ex ( lclogconftobefreed : usize , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Free_Log_Conf_Ex ( lclogconftobefreed : usize , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Free_Log_Conf_Ex(lclogconftobefreed, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Free_Log_Conf_Handle(lclogconf: usize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Free_Log_Conf_Handle ( lclogconf : usize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Free_Log_Conf_Handle ( lclogconf : usize ) -> CONFIGRET ); CM_Free_Log_Conf_Handle(lclogconf) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Free_Range_List(rlh: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Free_Range_List ( rlh : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Free_Range_List ( rlh : usize , ulflags : u32 ) -> CONFIGRET ); CM_Free_Range_List(rlh, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Free_Res_Des(prdresdes: ::core::option::Option<*mut usize>, rdresdes: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Free_Res_Des ( prdresdes : *mut usize , rdresdes : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Free_Res_Des ( prdresdes : *mut usize , rdresdes : usize , ulflags : u32 ) -> CONFIGRET ); CM_Free_Res_Des(::core::mem::transmute(prdresdes.unwrap_or(::std::ptr::null_mut())), rdresdes, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Free_Res_Des_Ex(prdresdes: ::core::option::Option<*mut usize>, rdresdes: usize, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Free_Res_Des_Ex ( prdresdes : *mut usize , rdresdes : usize , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Free_Res_Des_Ex ( prdresdes : *mut usize , rdresdes : usize , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Free_Res_Des_Ex(::core::mem::transmute(prdresdes.unwrap_or(::std::ptr::null_mut())), rdresdes, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Free_Res_Des_Handle(rdresdes: usize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Free_Res_Des_Handle ( rdresdes : usize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Free_Res_Des_Handle ( rdresdes : usize ) -> CONFIGRET ); CM_Free_Res_Des_Handle(rdresdes) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Free_Resource_Conflict_Handle(clconflictlist: usize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Free_Resource_Conflict_Handle ( clconflictlist : usize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Free_Resource_Conflict_Handle ( clconflictlist : usize ) -> CONFIGRET ); CM_Free_Resource_Conflict_Handle(clconflictlist) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Child(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Child ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Child ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Child(pdndevinst, dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Child_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Child_Ex ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Child_Ex ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Child_Ex(pdndevinst, dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_Key_NameA(classguid: *const ::windows::core::GUID, pszkeyname: ::windows::core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Key_NameA ( classguid : *const :: windows::core::GUID , pszkeyname : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Key_NameA ( classguid : *const :: windows::core::GUID , pszkeyname : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Class_Key_NameA(classguid, ::core::mem::transmute(pszkeyname), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_Key_NameW(classguid: *const ::windows::core::GUID, pszkeyname: ::windows::core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Key_NameW ( classguid : *const :: windows::core::GUID , pszkeyname : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Key_NameW ( classguid : *const :: windows::core::GUID , pszkeyname : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Class_Key_NameW(classguid, ::core::mem::transmute(pszkeyname), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_Key_Name_ExA(classguid: *const ::windows::core::GUID, pszkeyname: ::windows::core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Key_Name_ExA ( classguid : *const :: windows::core::GUID , pszkeyname : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Key_Name_ExA ( classguid : *const :: windows::core::GUID , pszkeyname : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Class_Key_Name_ExA(classguid, ::core::mem::transmute(pszkeyname), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_Key_Name_ExW(classguid: *const ::windows::core::GUID, pszkeyname: ::windows::core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Key_Name_ExW ( classguid : *const :: windows::core::GUID , pszkeyname : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Key_Name_ExW ( classguid : *const :: windows::core::GUID , pszkeyname : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Class_Key_Name_ExW(classguid, ::core::mem::transmute(pszkeyname), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_NameA(classguid: *const ::windows::core::GUID, buffer: ::windows::core::PSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_NameA ( classguid : *const :: windows::core::GUID , buffer : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_NameA ( classguid : *const :: windows::core::GUID , buffer : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Class_NameA(classguid, ::core::mem::transmute(buffer), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_NameW(classguid: *const ::windows::core::GUID, buffer: ::windows::core::PWSTR, pullength: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_NameW ( classguid : *const :: windows::core::GUID , buffer : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_NameW ( classguid : *const :: windows::core::GUID , buffer : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Class_NameW(classguid, ::core::mem::transmute(buffer), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_Name_ExA(classguid: *const ::windows::core::GUID, buffer: ::windows::core::PSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Name_ExA ( classguid : *const :: windows::core::GUID , buffer : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Name_ExA ( classguid : *const :: windows::core::GUID , buffer : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Class_Name_ExA(classguid, ::core::mem::transmute(buffer), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_Name_ExW(classguid: *const ::windows::core::GUID, buffer: ::windows::core::PWSTR, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Name_ExW ( classguid : *const :: windows::core::GUID , buffer : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Name_ExW ( classguid : *const :: windows::core::GUID , buffer : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Class_Name_ExW(classguid, ::core::mem::transmute(buffer), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Get_Class_PropertyW(classguid: *const ::windows::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_PropertyW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_PropertyW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Class_PropertyW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Get_Class_Property_ExW(classguid: *const ::windows::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Property_ExW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Property_ExW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Class_Property_ExW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Get_Class_Property_Keys(classguid: *const ::windows::core::GUID, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Property_Keys ( classguid : *const :: windows::core::GUID , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Property_Keys ( classguid : *const :: windows::core::GUID , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Class_Property_Keys(classguid, ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Get_Class_Property_Keys_Ex(classguid: *const ::windows::core::GUID, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Property_Keys_Ex ( classguid : *const :: windows::core::GUID , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Property_Keys_Ex ( classguid : *const :: windows::core::GUID , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Class_Property_Keys_Ex(classguid, ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_Registry_PropertyA(classguid: *const ::windows::core::GUID, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Registry_PropertyA ( classguid : *const :: windows::core::GUID , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Registry_PropertyA ( classguid : *const :: windows::core::GUID , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Class_Registry_PropertyA(classguid, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Class_Registry_PropertyW(classguid: *const ::windows::core::GUID, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Registry_PropertyW ( classguid : *const :: windows::core::GUID , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Class_Registry_PropertyW ( classguid : *const :: windows::core::GUID , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Class_Registry_PropertyW(classguid, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Depth(puldepth: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Depth ( puldepth : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Depth ( puldepth : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Depth(puldepth, dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Depth_Ex(puldepth: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Depth_Ex ( puldepth : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Depth_Ex ( puldepth : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Depth_Ex(puldepth, dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -462,7 +462,7 @@ pub unsafe fn CM_Get_DevNode_Custom_PropertyA(dndevinst: u32, pszcustomprope where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Custom_PropertyA ( dndevinst : u32 , pszcustompropertyname : :: windows::core::PCSTR , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Custom_PropertyA ( dndevinst : u32 , pszcustompropertyname : :: windows::core::PCSTR , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_DevNode_Custom_PropertyA(dndevinst, pszcustompropertyname.into().abi(), ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -471,7 +471,7 @@ pub unsafe fn CM_Get_DevNode_Custom_PropertyW(dndevinst: u32, pszcustomprope where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Custom_PropertyW ( dndevinst : u32 , pszcustompropertyname : :: windows::core::PCWSTR , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Custom_PropertyW ( dndevinst : u32 , pszcustompropertyname : :: windows::core::PCWSTR , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_DevNode_Custom_PropertyW(dndevinst, pszcustompropertyname.into().abi(), ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -480,7 +480,7 @@ pub unsafe fn CM_Get_DevNode_Custom_Property_ExA(dndevinst: u32, pszcustompr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Custom_Property_ExA ( dndevinst : u32 , pszcustompropertyname : :: windows::core::PCSTR , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Custom_Property_ExA ( dndevinst : u32 , pszcustompropertyname : :: windows::core::PCSTR , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_DevNode_Custom_Property_ExA(dndevinst, pszcustompropertyname.into().abi(), ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -489,95 +489,95 @@ pub unsafe fn CM_Get_DevNode_Custom_Property_ExW(dndevinst: u32, pszcustompr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Custom_Property_ExW ( dndevinst : u32 , pszcustompropertyname : :: windows::core::PCWSTR , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Custom_Property_ExW ( dndevinst : u32 , pszcustompropertyname : :: windows::core::PCWSTR , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_DevNode_Custom_Property_ExW(dndevinst, pszcustompropertyname.into().abi(), ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Get_DevNode_PropertyW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_PropertyW ( dndevinst : u32 , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_PropertyW ( dndevinst : u32 , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_DevNode_PropertyW(dndevinst, propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Get_DevNode_Property_ExW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: ::core::option::Option<*mut u8>, propertybuffersize: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Property_ExW ( dndevinst : u32 , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Property_ExW ( dndevinst : u32 , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_DevNode_Property_ExW(dndevinst, propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Get_DevNode_Property_Keys(dndevinst: u32, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Property_Keys ( dndevinst : u32 , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Property_Keys ( dndevinst : u32 , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_DevNode_Property_Keys(dndevinst, ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Get_DevNode_Property_Keys_Ex(dndevinst: u32, propertykeyarray: ::core::option::Option<*mut super::Properties::DEVPROPKEY>, propertykeycount: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Property_Keys_Ex ( dndevinst : u32 , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Property_Keys_Ex ( dndevinst : u32 , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_DevNode_Property_Keys_Ex(dndevinst, ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_DevNode_Registry_PropertyA(dndevinst: u32, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Registry_PropertyA ( dndevinst : u32 , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Registry_PropertyA ( dndevinst : u32 , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_DevNode_Registry_PropertyA(dndevinst, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_DevNode_Registry_PropertyW(dndevinst: u32, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Registry_PropertyW ( dndevinst : u32 , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Registry_PropertyW ( dndevinst : u32 , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_DevNode_Registry_PropertyW(dndevinst, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_DevNode_Registry_Property_ExA(dndevinst: u32, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Registry_Property_ExA ( dndevinst : u32 , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Registry_Property_ExA ( dndevinst : u32 , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_DevNode_Registry_Property_ExA(dndevinst, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_DevNode_Registry_Property_ExW(dndevinst: u32, ulproperty: u32, pulregdatatype: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, pullength: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Registry_Property_ExW ( dndevinst : u32 , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Registry_Property_ExW ( dndevinst : u32 , ulproperty : u32 , pulregdatatype : *mut u32 , buffer : *mut ::core::ffi::c_void , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_DevNode_Registry_Property_ExW(dndevinst, ulproperty, ::core::mem::transmute(pulregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_DevNode_Status(pulstatus: *mut u32, pulproblemnumber: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Status ( pulstatus : *mut u32 , pulproblemnumber : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Status ( pulstatus : *mut u32 , pulproblemnumber : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_DevNode_Status(pulstatus, pulproblemnumber, dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_DevNode_Status_Ex(pulstatus: *mut u32, pulproblemnumber: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Status_Ex ( pulstatus : *mut u32 , pulproblemnumber : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_DevNode_Status_Ex ( pulstatus : *mut u32 , pulproblemnumber : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_DevNode_Status_Ex(pulstatus, pulproblemnumber, dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Device_IDA(dndevinst: u32, buffer: &mut [u8], ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_IDA ( dndevinst : u32 , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_IDA ( dndevinst : u32 , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_IDA(dndevinst, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Device_IDW(dndevinst: u32, buffer: &mut [u16], ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_IDW ( dndevinst : u32 , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_IDW ( dndevinst : u32 , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_IDW(dndevinst, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Device_ID_ExA(dndevinst: u32, buffer: &mut [u8], ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_ExA ( dndevinst : u32 , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_ExA ( dndevinst : u32 , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_ID_ExA(dndevinst, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Device_ID_ExW(dndevinst: u32, buffer: &mut [u16], ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_ExW ( dndevinst : u32 , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_ExW ( dndevinst : u32 , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_ID_ExW(dndevinst, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -586,7 +586,7 @@ pub unsafe fn CM_Get_Device_ID_ListA(pszfilter: P0, buffer: &mut [u8], ulfla where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_ListA ( pszfilter : :: windows::core::PCSTR , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_ListA ( pszfilter : :: windows::core::PCSTR , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_ID_ListA(pszfilter.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -595,7 +595,7 @@ pub unsafe fn CM_Get_Device_ID_ListW(pszfilter: P0, buffer: &mut [u16], ulfl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_ListW ( pszfilter : :: windows::core::PCWSTR , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_ListW ( pszfilter : :: windows::core::PCWSTR , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_ID_ListW(pszfilter.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -604,7 +604,7 @@ pub unsafe fn CM_Get_Device_ID_List_ExA(pszfilter: P0, buffer: &mut [u8], ul where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_ExA ( pszfilter : :: windows::core::PCSTR , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_ExA ( pszfilter : :: windows::core::PCSTR , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_ID_List_ExA(pszfilter.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -613,7 +613,7 @@ pub unsafe fn CM_Get_Device_ID_List_ExW(pszfilter: P0, buffer: &mut [u16], u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_ExW ( pszfilter : :: windows::core::PCWSTR , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_ExW ( pszfilter : :: windows::core::PCWSTR , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_ID_List_ExW(pszfilter.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -622,7 +622,7 @@ pub unsafe fn CM_Get_Device_ID_List_SizeA(pullen: *mut u32, pszfilter: P0, u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_SizeA ( pullen : *mut u32 , pszfilter : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_SizeA ( pullen : *mut u32 , pszfilter : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_ID_List_SizeA(pullen, pszfilter.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -631,7 +631,7 @@ pub unsafe fn CM_Get_Device_ID_List_SizeW(pullen: *mut u32, pszfilter: P0, u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_SizeW ( pullen : *mut u32 , pszfilter : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_SizeW ( pullen : *mut u32 , pszfilter : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_ID_List_SizeW(pullen, pszfilter.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -640,7 +640,7 @@ pub unsafe fn CM_Get_Device_ID_List_Size_ExA(pullen: *mut u32, pszfilter: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_Size_ExA ( pullen : *mut u32 , pszfilter : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_Size_ExA ( pullen : *mut u32 , pszfilter : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_ID_List_Size_ExA(pullen, pszfilter.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -649,19 +649,19 @@ pub unsafe fn CM_Get_Device_ID_List_Size_ExW(pullen: *mut u32, pszfilter: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_Size_ExW ( pullen : *mut u32 , pszfilter : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_List_Size_ExW ( pullen : *mut u32 , pszfilter : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_ID_List_Size_ExW(pullen, pszfilter.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Device_ID_Size(pullen: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_Size ( pullen : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_Size ( pullen : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_ID_Size(pullen, dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Device_ID_Size_Ex(pullen: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_Size_Ex ( pullen : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_ID_Size_Ex ( pullen : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_ID_Size_Ex(pullen, dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -670,7 +670,7 @@ pub unsafe fn CM_Get_Device_Interface_AliasA(pszdeviceinterface: P0, aliasin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_AliasA ( pszdeviceinterface : :: windows::core::PCSTR , aliasinterfaceguid : *const :: windows::core::GUID , pszaliasdeviceinterface : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_AliasA ( pszdeviceinterface : :: windows::core::PCSTR , aliasinterfaceguid : *const :: windows::core::GUID , pszaliasdeviceinterface : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_Interface_AliasA(pszdeviceinterface.into().abi(), aliasinterfaceguid, ::core::mem::transmute(pszaliasdeviceinterface), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -679,7 +679,7 @@ pub unsafe fn CM_Get_Device_Interface_AliasW(pszdeviceinterface: P0, aliasin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_AliasW ( pszdeviceinterface : :: windows::core::PCWSTR , aliasinterfaceguid : *const :: windows::core::GUID , pszaliasdeviceinterface : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_AliasW ( pszdeviceinterface : :: windows::core::PCWSTR , aliasinterfaceguid : *const :: windows::core::GUID , pszaliasdeviceinterface : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_Interface_AliasW(pszdeviceinterface.into().abi(), aliasinterfaceguid, ::core::mem::transmute(pszaliasdeviceinterface), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -688,7 +688,7 @@ pub unsafe fn CM_Get_Device_Interface_Alias_ExA(pszdeviceinterface: P0, alia where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Alias_ExA ( pszdeviceinterface : :: windows::core::PCSTR , aliasinterfaceguid : *const :: windows::core::GUID , pszaliasdeviceinterface : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Alias_ExA ( pszdeviceinterface : :: windows::core::PCSTR , aliasinterfaceguid : *const :: windows::core::GUID , pszaliasdeviceinterface : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_Interface_Alias_ExA(pszdeviceinterface.into().abi(), aliasinterfaceguid, ::core::mem::transmute(pszaliasdeviceinterface), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -697,7 +697,7 @@ pub unsafe fn CM_Get_Device_Interface_Alias_ExW(pszdeviceinterface: P0, alia where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Alias_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , aliasinterfaceguid : *const :: windows::core::GUID , pszaliasdeviceinterface : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Alias_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , aliasinterfaceguid : *const :: windows::core::GUID , pszaliasdeviceinterface : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_Interface_Alias_ExW(pszdeviceinterface.into().abi(), aliasinterfaceguid, ::core::mem::transmute(pszaliasdeviceinterface), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -706,7 +706,7 @@ pub unsafe fn CM_Get_Device_Interface_ListA(interfaceclassguid: *const ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_ListA ( interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCSTR , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_ListA ( interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCSTR , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_Interface_ListA(interfaceclassguid, pdeviceid.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -715,7 +715,7 @@ pub unsafe fn CM_Get_Device_Interface_ListW(interfaceclassguid: *const ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_ListW ( interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCWSTR , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_ListW ( interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCWSTR , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_Interface_ListW(interfaceclassguid, pdeviceid.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -724,7 +724,7 @@ pub unsafe fn CM_Get_Device_Interface_List_ExA(interfaceclassguid: *const :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_ExA ( interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCSTR , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_ExA ( interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCSTR , buffer : :: windows::core::PSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_Interface_List_ExA(interfaceclassguid, pdeviceid.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -733,7 +733,7 @@ pub unsafe fn CM_Get_Device_Interface_List_ExW(interfaceclassguid: *const :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_ExW ( interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCWSTR , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_ExW ( interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCWSTR , buffer : :: windows::core::PWSTR , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_Interface_List_ExW(interfaceclassguid, pdeviceid.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -742,7 +742,7 @@ pub unsafe fn CM_Get_Device_Interface_List_SizeA(pullen: *mut u32, interface where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_SizeA ( pullen : *mut u32 , interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_SizeA ( pullen : *mut u32 , interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_Interface_List_SizeA(pullen, interfaceclassguid, pdeviceid.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -751,7 +751,7 @@ pub unsafe fn CM_Get_Device_Interface_List_SizeW(pullen: *mut u32, interface where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_SizeW ( pullen : *mut u32 , interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_SizeW ( pullen : *mut u32 , interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_Interface_List_SizeW(pullen, interfaceclassguid, pdeviceid.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -760,7 +760,7 @@ pub unsafe fn CM_Get_Device_Interface_List_Size_ExA(pullen: *mut u32, interf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_Size_ExA ( pullen : *mut u32 , interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_Size_ExA ( pullen : *mut u32 , interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_Interface_List_Size_ExA(pullen, interfaceclassguid, pdeviceid.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -769,7 +769,7 @@ pub unsafe fn CM_Get_Device_Interface_List_Size_ExW(pullen: *mut u32, interf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_Size_ExW ( pullen : *mut u32 , interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_List_Size_ExW ( pullen : *mut u32 , interfaceclassguid : *const :: windows::core::GUID , pdeviceid : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_Interface_List_Size_ExW(pullen, interfaceclassguid, pdeviceid.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] @@ -779,7 +779,7 @@ pub unsafe fn CM_Get_Device_Interface_PropertyW(pszdeviceinterface: P0, prop where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_PropertyW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_PropertyW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_Interface_PropertyW(pszdeviceinterface.into().abi(), propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] @@ -789,7 +789,7 @@ pub unsafe fn CM_Get_Device_Interface_Property_ExW(pszdeviceinterface: P0, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Property_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Property_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_Interface_Property_ExW(pszdeviceinterface.into().abi(), propertykey, propertytype, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), propertybuffersize, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] @@ -799,7 +799,7 @@ pub unsafe fn CM_Get_Device_Interface_Property_KeysW(pszdeviceinterface: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Property_KeysW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Property_KeysW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Device_Interface_Property_KeysW(pszdeviceinterface.into().abi(), ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] @@ -809,31 +809,31 @@ pub unsafe fn CM_Get_Device_Interface_Property_Keys_ExW(pszdeviceinterface: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Property_Keys_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Device_Interface_Property_Keys_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Device_Interface_Property_Keys_ExW(pszdeviceinterface.into().abi(), ::core::mem::transmute(propertykeyarray.unwrap_or(::std::ptr::null_mut())), propertykeycount, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_First_Log_Conf(plclogconf: ::core::option::Option<*mut usize>, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_First_Log_Conf ( plclogconf : *mut usize , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_First_Log_Conf ( plclogconf : *mut usize , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_First_Log_Conf(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_First_Log_Conf_Ex(plclogconf: ::core::option::Option<*mut usize>, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_First_Log_Conf_Ex ( plclogconf : *mut usize , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_First_Log_Conf_Ex ( plclogconf : *mut usize , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_First_Log_Conf_Ex(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Global_State(pulstate: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Global_State ( pulstate : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Global_State ( pulstate : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Global_State(pulstate, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Global_State_Ex(pulstate: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Global_State_Ex ( pulstate : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Global_State_Ex ( pulstate : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Global_State_Ex(pulstate, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -842,7 +842,7 @@ pub unsafe fn CM_Get_HW_Prof_FlagsA(pdeviceid: P0, ulhardwareprofile: u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_HW_Prof_FlagsA ( pdeviceid : :: windows::core::PCSTR , ulhardwareprofile : u32 , pulvalue : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_HW_Prof_FlagsA ( pdeviceid : :: windows::core::PCSTR , ulhardwareprofile : u32 , pulvalue : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_HW_Prof_FlagsA(pdeviceid.into().abi(), ulhardwareprofile, pulvalue, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -851,7 +851,7 @@ pub unsafe fn CM_Get_HW_Prof_FlagsW(pdeviceid: P0, ulhardwareprofile: u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_HW_Prof_FlagsW ( pdeviceid : :: windows::core::PCWSTR , ulhardwareprofile : u32 , pulvalue : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_HW_Prof_FlagsW ( pdeviceid : :: windows::core::PCWSTR , ulhardwareprofile : u32 , pulvalue : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_HW_Prof_FlagsW(pdeviceid.into().abi(), ulhardwareprofile, pulvalue, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -860,7 +860,7 @@ pub unsafe fn CM_Get_HW_Prof_Flags_ExA(pdeviceid: P0, ulhardwareprofile: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_HW_Prof_Flags_ExA ( pdeviceid : :: windows::core::PCSTR , ulhardwareprofile : u32 , pulvalue : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_HW_Prof_Flags_ExA ( pdeviceid : :: windows::core::PCSTR , ulhardwareprofile : u32 , pulvalue : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_HW_Prof_Flags_ExA(pdeviceid.into().abi(), ulhardwareprofile, pulvalue, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -869,188 +869,188 @@ pub unsafe fn CM_Get_HW_Prof_Flags_ExW(pdeviceid: P0, ulhardwareprofile: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_HW_Prof_Flags_ExW ( pdeviceid : :: windows::core::PCWSTR , ulhardwareprofile : u32 , pulvalue : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_HW_Prof_Flags_ExW ( pdeviceid : :: windows::core::PCWSTR , ulhardwareprofile : u32 , pulvalue : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_HW_Prof_Flags_ExW(pdeviceid.into().abi(), ulhardwareprofile, pulvalue, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Get_Hardware_Profile_InfoA(ulindex: u32, phwprofileinfo: *mut HWProfileInfo_sA, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Hardware_Profile_InfoA ( ulindex : u32 , phwprofileinfo : *mut HWProfileInfo_sA , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Hardware_Profile_InfoA ( ulindex : u32 , phwprofileinfo : *mut HWProfileInfo_sA , ulflags : u32 ) -> CONFIGRET ); CM_Get_Hardware_Profile_InfoA(ulindex, phwprofileinfo, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Hardware_Profile_InfoW(ulindex: u32, phwprofileinfo: *mut HWPROFILEINFO_W, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Hardware_Profile_InfoW ( ulindex : u32 , phwprofileinfo : *mut HWPROFILEINFO_W , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Hardware_Profile_InfoW ( ulindex : u32 , phwprofileinfo : *mut HWPROFILEINFO_W , ulflags : u32 ) -> CONFIGRET ); CM_Get_Hardware_Profile_InfoW(ulindex, phwprofileinfo, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Get_Hardware_Profile_Info_ExA(ulindex: u32, phwprofileinfo: *mut HWProfileInfo_sA, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Hardware_Profile_Info_ExA ( ulindex : u32 , phwprofileinfo : *mut HWProfileInfo_sA , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Hardware_Profile_Info_ExA ( ulindex : u32 , phwprofileinfo : *mut HWProfileInfo_sA , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Hardware_Profile_Info_ExA(ulindex, phwprofileinfo, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Hardware_Profile_Info_ExW(ulindex: u32, phwprofileinfo: *mut HWPROFILEINFO_W, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Hardware_Profile_Info_ExW ( ulindex : u32 , phwprofileinfo : *mut HWPROFILEINFO_W , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Hardware_Profile_Info_ExW ( ulindex : u32 , phwprofileinfo : *mut HWPROFILEINFO_W , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Hardware_Profile_Info_ExW(ulindex, phwprofileinfo, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Log_Conf_Priority(lclogconf: usize, ppriority: *mut u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Log_Conf_Priority ( lclogconf : usize , ppriority : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Log_Conf_Priority ( lclogconf : usize , ppriority : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Log_Conf_Priority(lclogconf, ppriority, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Log_Conf_Priority_Ex(lclogconf: usize, ppriority: *mut u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Log_Conf_Priority_Ex ( lclogconf : usize , ppriority : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Log_Conf_Priority_Ex ( lclogconf : usize , ppriority : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Log_Conf_Priority_Ex(lclogconf, ppriority, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Next_Log_Conf(plclogconf: ::core::option::Option<*mut usize>, lclogconf: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Next_Log_Conf ( plclogconf : *mut usize , lclogconf : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Next_Log_Conf ( plclogconf : *mut usize , lclogconf : usize , ulflags : u32 ) -> CONFIGRET ); CM_Get_Next_Log_Conf(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), lclogconf, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Next_Log_Conf_Ex(plclogconf: ::core::option::Option<*mut usize>, lclogconf: usize, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Next_Log_Conf_Ex ( plclogconf : *mut usize , lclogconf : usize , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Next_Log_Conf_Ex ( plclogconf : *mut usize , lclogconf : usize , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Next_Log_Conf_Ex(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), lclogconf, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Next_Res_Des(prdresdes: *mut usize, rdresdes: usize, forresource: u32, presourceid: ::core::option::Option<*mut u32>, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Next_Res_Des ( prdresdes : *mut usize , rdresdes : usize , forresource : u32 , presourceid : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Next_Res_Des ( prdresdes : *mut usize , rdresdes : usize , forresource : u32 , presourceid : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Next_Res_Des(prdresdes, rdresdes, forresource, ::core::mem::transmute(presourceid.unwrap_or(::std::ptr::null_mut())), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Next_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, forresource: u32, presourceid: ::core::option::Option<*mut u32>, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Next_Res_Des_Ex ( prdresdes : *mut usize , rdresdes : usize , forresource : u32 , presourceid : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Next_Res_Des_Ex ( prdresdes : *mut usize , rdresdes : usize , forresource : u32 , presourceid : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Next_Res_Des_Ex(prdresdes, rdresdes, forresource, ::core::mem::transmute(presourceid.unwrap_or(::std::ptr::null_mut())), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Parent(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Parent ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Parent ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Parent(pdndevinst, dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Parent_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Parent_Ex ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Parent_Ex ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Parent_Ex(pdndevinst, dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Res_Des_Data(rdresdes: usize, buffer: *mut ::core::ffi::c_void, bufferlen: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Res_Des_Data ( rdresdes : usize , buffer : *mut ::core::ffi::c_void , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Res_Des_Data ( rdresdes : usize , buffer : *mut ::core::ffi::c_void , bufferlen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Res_Des_Data(rdresdes, buffer, bufferlen, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Res_Des_Data_Ex(rdresdes: usize, buffer: *mut ::core::ffi::c_void, bufferlen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Res_Des_Data_Ex ( rdresdes : usize , buffer : *mut ::core::ffi::c_void , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Res_Des_Data_Ex ( rdresdes : usize , buffer : *mut ::core::ffi::c_void , bufferlen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Res_Des_Data_Ex(rdresdes, buffer, bufferlen, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Res_Des_Data_Size(pulsize: *mut u32, rdresdes: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Res_Des_Data_Size ( pulsize : *mut u32 , rdresdes : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Res_Des_Data_Size ( pulsize : *mut u32 , rdresdes : usize , ulflags : u32 ) -> CONFIGRET ); CM_Get_Res_Des_Data_Size(pulsize, rdresdes, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Res_Des_Data_Size_Ex(pulsize: *mut u32, rdresdes: usize, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Res_Des_Data_Size_Ex ( pulsize : *mut u32 , rdresdes : usize , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Res_Des_Data_Size_Ex ( pulsize : *mut u32 , rdresdes : usize , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Res_Des_Data_Size_Ex(pulsize, rdresdes, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Resource_Conflict_Count(clconflictlist: usize, pulcount: *mut u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Resource_Conflict_Count ( clconflictlist : usize , pulcount : *mut u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Resource_Conflict_Count ( clconflictlist : usize , pulcount : *mut u32 ) -> CONFIGRET ); CM_Get_Resource_Conflict_Count(clconflictlist, pulcount) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Get_Resource_Conflict_DetailsA(clconflictlist: usize, ulindex: u32, pconflictdetails: *mut CONFLICT_DETAILS_A) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Resource_Conflict_DetailsA ( clconflictlist : usize , ulindex : u32 , pconflictdetails : *mut CONFLICT_DETAILS_A ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Resource_Conflict_DetailsA ( clconflictlist : usize , ulindex : u32 , pconflictdetails : *mut CONFLICT_DETAILS_A ) -> CONFIGRET ); CM_Get_Resource_Conflict_DetailsA(clconflictlist, ulindex, pconflictdetails) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Resource_Conflict_DetailsW(clconflictlist: usize, ulindex: u32, pconflictdetails: *mut CONFLICT_DETAILS_W) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Resource_Conflict_DetailsW ( clconflictlist : usize , ulindex : u32 , pconflictdetails : *mut CONFLICT_DETAILS_W ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Resource_Conflict_DetailsW ( clconflictlist : usize , ulindex : u32 , pconflictdetails : *mut CONFLICT_DETAILS_W ) -> CONFIGRET ); CM_Get_Resource_Conflict_DetailsW(clconflictlist, ulindex, pconflictdetails) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Sibling(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Sibling ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Sibling ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Get_Sibling(pdndevinst, dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Sibling_Ex(pdndevinst: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Sibling_Ex ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Sibling_Ex ( pdndevinst : *mut u32 , dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Get_Sibling_Ex(pdndevinst, dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Version() -> u16 { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Version ( ) -> u16 ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Version ( ) -> u16 ); CM_Get_Version() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Get_Version_Ex(hmachine: isize) -> u16 { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Get_Version_Ex ( hmachine : isize ) -> u16 ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Get_Version_Ex ( hmachine : isize ) -> u16 ); CM_Get_Version_Ex(hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Intersect_Range_List(rlhold1: usize, rlhold2: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Intersect_Range_List ( rlhold1 : usize , rlhold2 : usize , rlhnew : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Intersect_Range_List ( rlhold1 : usize , rlhold2 : usize , rlhnew : usize , ulflags : u32 ) -> CONFIGRET ); CM_Intersect_Range_List(rlhold1, rlhold2, rlhnew, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Invert_Range_List(rlhold: usize, rlhnew: usize, ullmaxvalue: u64, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Invert_Range_List ( rlhold : usize , rlhnew : usize , ullmaxvalue : u64 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Invert_Range_List ( rlhold : usize , rlhnew : usize , ullmaxvalue : u64 , ulflags : u32 ) -> CONFIGRET ); CM_Invert_Range_List(rlhold, rlhnew, ullmaxvalue, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Is_Dock_Station_Present(pbpresent: *mut super::super::Foundation::BOOL) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Is_Dock_Station_Present ( pbpresent : *mut super::super::Foundation:: BOOL ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Is_Dock_Station_Present ( pbpresent : *mut super::super::Foundation:: BOOL ) -> CONFIGRET ); CM_Is_Dock_Station_Present(pbpresent) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Is_Dock_Station_Present_Ex(pbpresent: *mut super::super::Foundation::BOOL, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Is_Dock_Station_Present_Ex ( pbpresent : *mut super::super::Foundation:: BOOL , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Is_Dock_Station_Present_Ex ( pbpresent : *mut super::super::Foundation:: BOOL , hmachine : isize ) -> CONFIGRET ); CM_Is_Dock_Station_Present_Ex(pbpresent, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Is_Version_Available(wversion: u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Is_Version_Available ( wversion : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Is_Version_Available ( wversion : u16 ) -> super::super::Foundation:: BOOL ); CM_Is_Version_Available(wversion) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Is_Version_Available_Ex(wversion: u16, hmachine: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Is_Version_Available_Ex ( wversion : u16 , hmachine : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Is_Version_Available_Ex ( wversion : u16 , hmachine : isize ) -> super::super::Foundation:: BOOL ); CM_Is_Version_Available_Ex(wversion, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1059,7 +1059,7 @@ pub unsafe fn CM_Locate_DevNodeA(pdndevinst: *mut u32, pdeviceid: P0, ulflag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Locate_DevNodeA ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Locate_DevNodeA ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); CM_Locate_DevNodeA(pdndevinst, pdeviceid.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1068,7 +1068,7 @@ pub unsafe fn CM_Locate_DevNodeW(pdndevinst: *mut u32, pdeviceid: P0, ulflag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Locate_DevNodeW ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Locate_DevNodeW ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); CM_Locate_DevNodeW(pdndevinst, pdeviceid.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1077,7 +1077,7 @@ pub unsafe fn CM_Locate_DevNode_ExA(pdndevinst: *mut u32, pdeviceid: P0, ulf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Locate_DevNode_ExA ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Locate_DevNode_ExA ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Locate_DevNode_ExA(pdndevinst, pdeviceid.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1086,49 +1086,49 @@ pub unsafe fn CM_Locate_DevNode_ExW(pdndevinst: *mut u32, pdeviceid: P0, ulf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Locate_DevNode_ExW ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Locate_DevNode_ExW ( pdndevinst : *mut u32 , pdeviceid : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Locate_DevNode_ExW(pdndevinst, pdeviceid.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_MapCrToWin32Err(cmreturncode: CONFIGRET, defaulterr: u32) -> u32 { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_MapCrToWin32Err ( cmreturncode : CONFIGRET , defaulterr : u32 ) -> u32 ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_MapCrToWin32Err ( cmreturncode : CONFIGRET , defaulterr : u32 ) -> u32 ); CM_MapCrToWin32Err(cmreturncode, defaulterr) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Merge_Range_List(rlhold1: usize, rlhold2: usize, rlhnew: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Merge_Range_List ( rlhold1 : usize , rlhold2 : usize , rlhnew : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Merge_Range_List ( rlhold1 : usize , rlhold2 : usize , rlhnew : usize , ulflags : u32 ) -> CONFIGRET ); CM_Merge_Range_List(rlhold1, rlhold2, rlhnew, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Modify_Res_Des(prdresdes: *mut usize, rdresdes: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Modify_Res_Des ( prdresdes : *mut usize , rdresdes : usize , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Modify_Res_Des ( prdresdes : *mut usize , rdresdes : usize , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Modify_Res_Des(prdresdes, rdresdes, resourceid, resourcedata, resourcelen, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Modify_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Modify_Res_Des_Ex ( prdresdes : *mut usize , rdresdes : usize , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Modify_Res_Des_Ex ( prdresdes : *mut usize , rdresdes : usize , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Modify_Res_Des_Ex(prdresdes, rdresdes, resourceid, resourcedata, resourcelen, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Move_DevNode(dnfromdevinst: u32, dntodevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Move_DevNode ( dnfromdevinst : u32 , dntodevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Move_DevNode ( dnfromdevinst : u32 , dntodevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Move_DevNode(dnfromdevinst, dntodevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Move_DevNode_Ex(dnfromdevinst: u32, dntodevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Move_DevNode_Ex ( dnfromdevinst : u32 , dntodevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Move_DevNode_Ex ( dnfromdevinst : u32 , dntodevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Move_DevNode_Ex(dnfromdevinst, dntodevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Next_Range(preelement: *mut usize, pullstart: *mut u64, pullend: *mut u64, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Next_Range ( preelement : *mut usize , pullstart : *mut u64 , pullend : *mut u64 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Next_Range ( preelement : *mut usize , pullstart : *mut u64 , pullend : *mut u64 , ulflags : u32 ) -> CONFIGRET ); CM_Next_Range(preelement, pullstart, pullend, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -1138,7 +1138,7 @@ pub unsafe fn CM_Open_Class_KeyA(classguid: ::core::option::Option<*const :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_Class_KeyA ( classguid : *const :: windows::core::GUID , pszclassname : :: windows::core::PCSTR , samdesired : u32 , disposition : u32 , phkclass : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_Class_KeyA ( classguid : *const :: windows::core::GUID , pszclassname : :: windows::core::PCSTR , samdesired : u32 , disposition : u32 , phkclass : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); CM_Open_Class_KeyA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), pszclassname.into().abi(), samdesired, disposition, phkclass, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -1148,7 +1148,7 @@ pub unsafe fn CM_Open_Class_KeyW(classguid: ::core::option::Option<*const :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_Class_KeyW ( classguid : *const :: windows::core::GUID , pszclassname : :: windows::core::PCWSTR , samdesired : u32 , disposition : u32 , phkclass : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_Class_KeyW ( classguid : *const :: windows::core::GUID , pszclassname : :: windows::core::PCWSTR , samdesired : u32 , disposition : u32 , phkclass : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); CM_Open_Class_KeyW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), pszclassname.into().abi(), samdesired, disposition, phkclass, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -1158,7 +1158,7 @@ pub unsafe fn CM_Open_Class_Key_ExA(classguid: ::core::option::Option<*const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_Class_Key_ExA ( classguid : *const :: windows::core::GUID , pszclassname : :: windows::core::PCSTR , samdesired : u32 , disposition : u32 , phkclass : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_Class_Key_ExA ( classguid : *const :: windows::core::GUID , pszclassname : :: windows::core::PCSTR , samdesired : u32 , disposition : u32 , phkclass : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Open_Class_Key_ExA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), pszclassname.into().abi(), samdesired, disposition, phkclass, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -1168,21 +1168,21 @@ pub unsafe fn CM_Open_Class_Key_ExW(classguid: ::core::option::Option<*const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_Class_Key_ExW ( classguid : *const :: windows::core::GUID , pszclassname : :: windows::core::PCWSTR , samdesired : u32 , disposition : u32 , phkclass : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_Class_Key_ExW ( classguid : *const :: windows::core::GUID , pszclassname : :: windows::core::PCWSTR , samdesired : u32 , disposition : u32 , phkclass : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Open_Class_Key_ExW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), pszclassname.into().abi(), samdesired, disposition, phkclass, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn CM_Open_DevNode_Key(dndevnode: u32, samdesired: u32, ulhardwareprofile: u32, disposition: u32, phkdevice: *mut super::super::System::Registry::HKEY, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_DevNode_Key ( dndevnode : u32 , samdesired : u32 , ulhardwareprofile : u32 , disposition : u32 , phkdevice : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_DevNode_Key ( dndevnode : u32 , samdesired : u32 , ulhardwareprofile : u32 , disposition : u32 , phkdevice : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); CM_Open_DevNode_Key(dndevnode, samdesired, ulhardwareprofile, disposition, phkdevice, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn CM_Open_DevNode_Key_Ex(dndevnode: u32, samdesired: u32, ulhardwareprofile: u32, disposition: u32, phkdevice: *mut super::super::System::Registry::HKEY, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_DevNode_Key_Ex ( dndevnode : u32 , samdesired : u32 , ulhardwareprofile : u32 , disposition : u32 , phkdevice : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_DevNode_Key_Ex ( dndevnode : u32 , samdesired : u32 , ulhardwareprofile : u32 , disposition : u32 , phkdevice : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Open_DevNode_Key_Ex(dndevnode, samdesired, ulhardwareprofile, disposition, phkdevice, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -1192,7 +1192,7 @@ pub unsafe fn CM_Open_Device_Interface_KeyA(pszdeviceinterface: P0, samdesir where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_Device_Interface_KeyA ( pszdeviceinterface : :: windows::core::PCSTR , samdesired : u32 , disposition : u32 , phkdeviceinterface : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_Device_Interface_KeyA ( pszdeviceinterface : :: windows::core::PCSTR , samdesired : u32 , disposition : u32 , phkdeviceinterface : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); CM_Open_Device_Interface_KeyA(pszdeviceinterface.into().abi(), samdesired, disposition, phkdeviceinterface, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -1202,7 +1202,7 @@ pub unsafe fn CM_Open_Device_Interface_KeyW(pszdeviceinterface: P0, samdesir where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_Device_Interface_KeyW ( pszdeviceinterface : :: windows::core::PCWSTR , samdesired : u32 , disposition : u32 , phkdeviceinterface : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_Device_Interface_KeyW ( pszdeviceinterface : :: windows::core::PCWSTR , samdesired : u32 , disposition : u32 , phkdeviceinterface : *mut super::super::System::Registry:: HKEY , ulflags : u32 ) -> CONFIGRET ); CM_Open_Device_Interface_KeyW(pszdeviceinterface.into().abi(), samdesired, disposition, phkdeviceinterface, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -1212,7 +1212,7 @@ pub unsafe fn CM_Open_Device_Interface_Key_ExA(pszdeviceinterface: P0, samde where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_Device_Interface_Key_ExA ( pszdeviceinterface : :: windows::core::PCSTR , samdesired : u32 , disposition : u32 , phkdeviceinterface : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_Device_Interface_Key_ExA ( pszdeviceinterface : :: windows::core::PCSTR , samdesired : u32 , disposition : u32 , phkdeviceinterface : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Open_Device_Interface_Key_ExA(pszdeviceinterface.into().abi(), samdesired, disposition, phkdeviceinterface, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -1222,97 +1222,97 @@ pub unsafe fn CM_Open_Device_Interface_Key_ExW(pszdeviceinterface: P0, samde where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Open_Device_Interface_Key_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , samdesired : u32 , disposition : u32 , phkdeviceinterface : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Open_Device_Interface_Key_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , samdesired : u32 , disposition : u32 , phkdeviceinterface : *mut super::super::System::Registry:: HKEY , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Open_Device_Interface_Key_ExW(pszdeviceinterface.into().abi(), samdesired, disposition, phkdeviceinterface, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_And_Remove_SubTreeA(dnancestor: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u8]>, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_And_Remove_SubTreeA ( dnancestor : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PSTR , ulnamelength : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_And_Remove_SubTreeA ( dnancestor : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PSTR , ulnamelength : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Query_And_Remove_SubTreeA(dnancestor, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len() as _), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_And_Remove_SubTreeW(dnancestor: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u16]>, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_And_Remove_SubTreeW ( dnancestor : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PWSTR , ulnamelength : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_And_Remove_SubTreeW ( dnancestor : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PWSTR , ulnamelength : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Query_And_Remove_SubTreeW(dnancestor, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len() as _), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_And_Remove_SubTree_ExA(dnancestor: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_And_Remove_SubTree_ExA ( dnancestor : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PSTR , ulnamelength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_And_Remove_SubTree_ExA ( dnancestor : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PSTR , ulnamelength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Query_And_Remove_SubTree_ExA(dnancestor, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len() as _), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_And_Remove_SubTree_ExW(dnancestor: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u16]>, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_And_Remove_SubTree_ExW ( dnancestor : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PWSTR , ulnamelength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_And_Remove_SubTree_ExW ( dnancestor : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PWSTR , ulnamelength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Query_And_Remove_SubTree_ExW(dnancestor, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len() as _), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_Arbitrator_Free_Data(pdata: *mut ::core::ffi::c_void, datalen: u32, dndevinst: u32, resourceid: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_Arbitrator_Free_Data ( pdata : *mut ::core::ffi::c_void , datalen : u32 , dndevinst : u32 , resourceid : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_Arbitrator_Free_Data ( pdata : *mut ::core::ffi::c_void , datalen : u32 , dndevinst : u32 , resourceid : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Query_Arbitrator_Free_Data(pdata, datalen, dndevinst, resourceid, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_Arbitrator_Free_Data_Ex(pdata: *mut ::core::ffi::c_void, datalen: u32, dndevinst: u32, resourceid: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_Arbitrator_Free_Data_Ex ( pdata : *mut ::core::ffi::c_void , datalen : u32 , dndevinst : u32 , resourceid : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_Arbitrator_Free_Data_Ex ( pdata : *mut ::core::ffi::c_void , datalen : u32 , dndevinst : u32 , resourceid : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Query_Arbitrator_Free_Data_Ex(pdata, datalen, dndevinst, resourceid, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_Arbitrator_Free_Size(pulsize: *mut u32, dndevinst: u32, resourceid: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_Arbitrator_Free_Size ( pulsize : *mut u32 , dndevinst : u32 , resourceid : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_Arbitrator_Free_Size ( pulsize : *mut u32 , dndevinst : u32 , resourceid : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Query_Arbitrator_Free_Size(pulsize, dndevinst, resourceid, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_Arbitrator_Free_Size_Ex(pulsize: *mut u32, dndevinst: u32, resourceid: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_Arbitrator_Free_Size_Ex ( pulsize : *mut u32 , dndevinst : u32 , resourceid : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_Arbitrator_Free_Size_Ex ( pulsize : *mut u32 , dndevinst : u32 , resourceid : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Query_Arbitrator_Free_Size_Ex(pulsize, dndevinst, resourceid, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_Remove_SubTree(dnancestor: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_Remove_SubTree ( dnancestor : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_Remove_SubTree ( dnancestor : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Query_Remove_SubTree(dnancestor, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_Remove_SubTree_Ex(dnancestor: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_Remove_SubTree_Ex ( dnancestor : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_Remove_SubTree_Ex ( dnancestor : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Query_Remove_SubTree_Ex(dnancestor, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Query_Resource_Conflict_List(pclconflictlist: *mut usize, dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Query_Resource_Conflict_List ( pclconflictlist : *mut usize , dndevinst : u32 , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Query_Resource_Conflict_List ( pclconflictlist : *mut usize , dndevinst : u32 , resourceid : u32 , resourcedata : *const ::core::ffi::c_void , resourcelen : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Query_Resource_Conflict_List(pclconflictlist, dndevinst, resourceid, resourcedata, resourcelen, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Reenumerate_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Reenumerate_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Reenumerate_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Reenumerate_DevNode(dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Reenumerate_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Reenumerate_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Reenumerate_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Reenumerate_DevNode_Ex(dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Register_Device_Driver(dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_Driver ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_Driver ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Register_Device_Driver(dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Register_Device_Driver_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_Driver_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_Driver_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Register_Device_Driver_Ex(dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1321,7 +1321,7 @@ pub unsafe fn CM_Register_Device_InterfaceA(dndevinst: u32, interfaceclassgu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_InterfaceA ( dndevinst : u32 , interfaceclassguid : *const :: windows::core::GUID , pszreference : :: windows::core::PCSTR , pszdeviceinterface : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_InterfaceA ( dndevinst : u32 , interfaceclassguid : *const :: windows::core::GUID , pszreference : :: windows::core::PCSTR , pszdeviceinterface : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Register_Device_InterfaceA(dndevinst, interfaceclassguid, pszreference.into().abi(), ::core::mem::transmute(pszdeviceinterface), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1330,7 +1330,7 @@ pub unsafe fn CM_Register_Device_InterfaceW(dndevinst: u32, interfaceclassgu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_InterfaceW ( dndevinst : u32 , interfaceclassguid : *const :: windows::core::GUID , pszreference : :: windows::core::PCWSTR , pszdeviceinterface : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_InterfaceW ( dndevinst : u32 , interfaceclassguid : *const :: windows::core::GUID , pszreference : :: windows::core::PCWSTR , pszdeviceinterface : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 ) -> CONFIGRET ); CM_Register_Device_InterfaceW(dndevinst, interfaceclassguid, pszreference.into().abi(), ::core::mem::transmute(pszdeviceinterface), pullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1339,7 +1339,7 @@ pub unsafe fn CM_Register_Device_Interface_ExA(dndevinst: u32, interfaceclas where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_Interface_ExA ( dndevinst : u32 , interfaceclassguid : *const :: windows::core::GUID , pszreference : :: windows::core::PCSTR , pszdeviceinterface : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_Interface_ExA ( dndevinst : u32 , interfaceclassguid : *const :: windows::core::GUID , pszreference : :: windows::core::PCSTR , pszdeviceinterface : :: windows::core::PSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Register_Device_Interface_ExA(dndevinst, interfaceclassguid, pszreference.into().abi(), ::core::mem::transmute(pszdeviceinterface), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1348,150 +1348,150 @@ pub unsafe fn CM_Register_Device_Interface_ExW(dndevinst: u32, interfaceclas where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_Interface_ExW ( dndevinst : u32 , interfaceclassguid : *const :: windows::core::GUID , pszreference : :: windows::core::PCWSTR , pszdeviceinterface : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Register_Device_Interface_ExW ( dndevinst : u32 , interfaceclassguid : *const :: windows::core::GUID , pszreference : :: windows::core::PCWSTR , pszdeviceinterface : :: windows::core::PWSTR , pullength : *mut u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Register_Device_Interface_ExW(dndevinst, interfaceclassguid, pszreference.into().abi(), ::core::mem::transmute(pszdeviceinterface), pullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CM_Register_Notification(pfilter: *const CM_NOTIFY_FILTER, pcontext: ::core::option::Option<*const ::core::ffi::c_void>, pcallback: PCM_NOTIFY_CALLBACK, pnotifycontext: *mut isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Register_Notification ( pfilter : *const CM_NOTIFY_FILTER , pcontext : *const ::core::ffi::c_void , pcallback : PCM_NOTIFY_CALLBACK , pnotifycontext : *mut isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Register_Notification ( pfilter : *const CM_NOTIFY_FILTER , pcontext : *const ::core::ffi::c_void , pcallback : PCM_NOTIFY_CALLBACK , pnotifycontext : *mut isize ) -> CONFIGRET ); CM_Register_Notification(pfilter, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), pcallback, pnotifycontext) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Remove_SubTree(dnancestor: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Remove_SubTree ( dnancestor : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Remove_SubTree ( dnancestor : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Remove_SubTree(dnancestor, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Remove_SubTree_Ex(dnancestor: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Remove_SubTree_Ex ( dnancestor : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Remove_SubTree_Ex ( dnancestor : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Remove_SubTree_Ex(dnancestor, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Request_Device_EjectA(dndevinst: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u8]>, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Request_Device_EjectA ( dndevinst : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PSTR , ulnamelength : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Request_Device_EjectA ( dndevinst : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PSTR , ulnamelength : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Request_Device_EjectA(dndevinst, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len() as _), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Request_Device_EjectW(dndevinst: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u16]>, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Request_Device_EjectW ( dndevinst : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PWSTR , ulnamelength : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Request_Device_EjectW ( dndevinst : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PWSTR , ulnamelength : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Request_Device_EjectW(dndevinst, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len() as _), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Request_Device_Eject_ExA(dndevinst: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Request_Device_Eject_ExA ( dndevinst : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PSTR , ulnamelength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Request_Device_Eject_ExA ( dndevinst : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PSTR , ulnamelength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Request_Device_Eject_ExA(dndevinst, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len() as _), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Request_Device_Eject_ExW(dndevinst: u32, pvetotype: ::core::option::Option<*mut PNP_VETO_TYPE>, pszvetoname: ::core::option::Option<&mut [u16]>, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Request_Device_Eject_ExW ( dndevinst : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PWSTR , ulnamelength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Request_Device_Eject_ExW ( dndevinst : u32 , pvetotype : *mut PNP_VETO_TYPE , pszvetoname : :: windows::core::PWSTR , ulnamelength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Request_Device_Eject_ExW(dndevinst, ::core::mem::transmute(pvetotype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszvetoname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszvetoname.as_deref().map_or(0, |slice| slice.len() as _), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Request_Eject_PC() -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Request_Eject_PC ( ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Request_Eject_PC ( ) -> CONFIGRET ); CM_Request_Eject_PC() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Request_Eject_PC_Ex(hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Request_Eject_PC_Ex ( hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Request_Eject_PC_Ex ( hmachine : isize ) -> CONFIGRET ); CM_Request_Eject_PC_Ex(hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Run_Detection(ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Run_Detection ( ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Run_Detection ( ulflags : u32 ) -> CONFIGRET ); CM_Run_Detection(ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Run_Detection_Ex(ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Run_Detection_Ex ( ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Run_Detection_Ex ( ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Run_Detection_Ex(ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Set_Class_PropertyW(classguid: *const ::windows::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_Class_PropertyW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_Class_PropertyW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_Class_PropertyW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Set_Class_Property_ExW(classguid: *const ::windows::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_Class_Property_ExW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_Class_Property_ExW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_Class_Property_ExW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_Class_Registry_PropertyA(classguid: *const ::windows::core::GUID, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_Class_Registry_PropertyA ( classguid : *const :: windows::core::GUID , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_Class_Registry_PropertyA ( classguid : *const :: windows::core::GUID , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_Class_Registry_PropertyA(classguid, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_Class_Registry_PropertyW(classguid: *const ::windows::core::GUID, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_Class_Registry_PropertyW ( classguid : *const :: windows::core::GUID , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_Class_Registry_PropertyW ( classguid : *const :: windows::core::GUID , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_Class_Registry_PropertyW(classguid, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_DevNode_Problem(dndevinst: u32, ulproblem: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Problem ( dndevinst : u32 , ulproblem : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Problem ( dndevinst : u32 , ulproblem : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_DevNode_Problem(dndevinst, ulproblem, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_DevNode_Problem_Ex(dndevinst: u32, ulproblem: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Problem_Ex ( dndevinst : u32 , ulproblem : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Problem_Ex ( dndevinst : u32 , ulproblem : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_DevNode_Problem_Ex(dndevinst, ulproblem, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Set_DevNode_PropertyW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_PropertyW ( dndevinst : u32 , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_PropertyW ( dndevinst : u32 , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_DevNode_PropertyW(dndevinst, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn CM_Set_DevNode_Property_ExW(dndevinst: u32, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: ::core::option::Option<&[u8]>, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Property_ExW ( dndevinst : u32 , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Property_ExW ( dndevinst : u32 , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_DevNode_Property_ExW(dndevinst, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_DevNode_Registry_PropertyA(dndevinst: u32, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Registry_PropertyA ( dndevinst : u32 , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Registry_PropertyA ( dndevinst : u32 , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_DevNode_Registry_PropertyA(dndevinst, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_DevNode_Registry_PropertyW(dndevinst: u32, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Registry_PropertyW ( dndevinst : u32 , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Registry_PropertyW ( dndevinst : u32 , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_DevNode_Registry_PropertyW(dndevinst, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_DevNode_Registry_Property_ExA(dndevinst: u32, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Registry_Property_ExA ( dndevinst : u32 , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Registry_Property_ExA ( dndevinst : u32 , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_DevNode_Registry_Property_ExA(dndevinst, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_DevNode_Registry_Property_ExW(dndevinst: u32, ulproperty: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, ullength: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Registry_Property_ExW ( dndevinst : u32 , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_DevNode_Registry_Property_ExW ( dndevinst : u32 , ulproperty : u32 , buffer : *const ::core::ffi::c_void , ullength : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_DevNode_Registry_Property_ExW(dndevinst, ulproperty, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), ullength, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] @@ -1501,7 +1501,7 @@ pub unsafe fn CM_Set_Device_Interface_PropertyW(pszdeviceinterface: P0, prop where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_Device_Interface_PropertyW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_Device_Interface_PropertyW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_Device_Interface_PropertyW(pszdeviceinterface.into().abi(), propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] @@ -1511,19 +1511,19 @@ pub unsafe fn CM_Set_Device_Interface_Property_ExW(pszdeviceinterface: P0, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_Device_Interface_Property_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_Device_Interface_Property_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_Device_Interface_Property_ExW(pszdeviceinterface.into().abi(), propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_HW_Prof(ulhardwareprofile: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof ( ulhardwareprofile : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof ( ulhardwareprofile : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_HW_Prof(ulhardwareprofile, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Set_HW_Prof_Ex(ulhardwareprofile: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_Ex ( ulhardwareprofile : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_Ex ( ulhardwareprofile : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_HW_Prof_Ex(ulhardwareprofile, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1532,7 +1532,7 @@ pub unsafe fn CM_Set_HW_Prof_FlagsA(pdeviceid: P0, ulconfig: u32, ulvalue: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_FlagsA ( pdeviceid : :: windows::core::PCSTR , ulconfig : u32 , ulvalue : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_FlagsA ( pdeviceid : :: windows::core::PCSTR , ulconfig : u32 , ulvalue : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_HW_Prof_FlagsA(pdeviceid.into().abi(), ulconfig, ulvalue, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1541,7 +1541,7 @@ pub unsafe fn CM_Set_HW_Prof_FlagsW(pdeviceid: P0, ulconfig: u32, ulvalue: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_FlagsW ( pdeviceid : :: windows::core::PCWSTR , ulconfig : u32 , ulvalue : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_FlagsW ( pdeviceid : :: windows::core::PCWSTR , ulconfig : u32 , ulvalue : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Set_HW_Prof_FlagsW(pdeviceid.into().abi(), ulconfig, ulvalue, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1550,7 +1550,7 @@ pub unsafe fn CM_Set_HW_Prof_Flags_ExA(pdeviceid: P0, ulconfig: u32, ulvalue where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_Flags_ExA ( pdeviceid : :: windows::core::PCSTR , ulconfig : u32 , ulvalue : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_Flags_ExA ( pdeviceid : :: windows::core::PCSTR , ulconfig : u32 , ulvalue : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_HW_Prof_Flags_ExA(pdeviceid.into().abi(), ulconfig, ulvalue, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1559,37 +1559,37 @@ pub unsafe fn CM_Set_HW_Prof_Flags_ExW(pdeviceid: P0, ulconfig: u32, ulvalue where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_Flags_ExW ( pdeviceid : :: windows::core::PCWSTR , ulconfig : u32 , ulvalue : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Set_HW_Prof_Flags_ExW ( pdeviceid : :: windows::core::PCWSTR , ulconfig : u32 , ulvalue : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Set_HW_Prof_Flags_ExW(pdeviceid.into().abi(), ulconfig, ulvalue, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Setup_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Setup_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Setup_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Setup_DevNode(dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Setup_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Setup_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Setup_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Setup_DevNode_Ex(dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Test_Range_Available(ullstartvalue: u64, ullendvalue: u64, rlh: usize, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Test_Range_Available ( ullstartvalue : u64 , ullendvalue : u64 , rlh : usize , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Test_Range_Available ( ullstartvalue : u64 , ullendvalue : u64 , rlh : usize , ulflags : u32 ) -> CONFIGRET ); CM_Test_Range_Available(ullstartvalue, ullendvalue, rlh, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Uninstall_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Uninstall_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Uninstall_DevNode ( dndevinst : u32 , ulflags : u32 ) -> CONFIGRET ); CM_Uninstall_DevNode(dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn CM_Uninstall_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Uninstall_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Uninstall_DevNode_Ex ( dndevinst : u32 , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Uninstall_DevNode_Ex(dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1598,7 +1598,7 @@ pub unsafe fn CM_Unregister_Device_InterfaceA(pszdeviceinterface: P0, ulflag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Device_InterfaceA ( pszdeviceinterface : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Device_InterfaceA ( pszdeviceinterface : :: windows::core::PCSTR , ulflags : u32 ) -> CONFIGRET ); CM_Unregister_Device_InterfaceA(pszdeviceinterface.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1607,7 +1607,7 @@ pub unsafe fn CM_Unregister_Device_InterfaceW(pszdeviceinterface: P0, ulflag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Device_InterfaceW ( pszdeviceinterface : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Device_InterfaceW ( pszdeviceinterface : :: windows::core::PCWSTR , ulflags : u32 ) -> CONFIGRET ); CM_Unregister_Device_InterfaceW(pszdeviceinterface.into().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1616,7 +1616,7 @@ pub unsafe fn CM_Unregister_Device_Interface_ExA(pszdeviceinterface: P0, ulf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Device_Interface_ExA ( pszdeviceinterface : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Device_Interface_ExA ( pszdeviceinterface : :: windows::core::PCSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Unregister_Device_Interface_ExA(pszdeviceinterface.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1625,7 +1625,7 @@ pub unsafe fn CM_Unregister_Device_Interface_ExW(pszdeviceinterface: P0, ulf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Device_Interface_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Device_Interface_ExW ( pszdeviceinterface : :: windows::core::PCWSTR , ulflags : u32 , hmachine : isize ) -> CONFIGRET ); CM_Unregister_Device_Interface_ExW(pszdeviceinterface.into().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1634,7 +1634,7 @@ pub unsafe fn CM_Unregister_Notification(notifycontext: P0) -> CONFIGRET where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Notification ( notifycontext : HCMNOTIFICATION ) -> CONFIGRET ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn CM_Unregister_Notification ( notifycontext : HCMNOTIFICATION ) -> CONFIGRET ); CM_Unregister_Notification(notifycontext.into()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1645,7 +1645,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "newdev.dll""system" fn DiInstallDevice ( hwndparent : super::super::Foundation:: HWND , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_A , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiInstallDevice ( hwndparent : super::super::Foundation:: HWND , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_A , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiInstallDevice(hwndparent.into(), deviceinfoset.into(), deviceinfodata, ::core::mem::transmute(driverinfodata.unwrap_or(::std::ptr::null())), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1656,7 +1656,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "newdev.dll""system" fn DiInstallDriverA ( hwndparent : super::super::Foundation:: HWND , infpath : :: windows::core::PCSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiInstallDriverA ( hwndparent : super::super::Foundation:: HWND , infpath : :: windows::core::PCSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiInstallDriverA(hwndparent.into(), infpath.into().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1667,7 +1667,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "newdev.dll""system" fn DiInstallDriverW ( hwndparent : super::super::Foundation:: HWND , infpath : :: windows::core::PCWSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiInstallDriverW ( hwndparent : super::super::Foundation:: HWND , infpath : :: windows::core::PCWSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiInstallDriverW(hwndparent.into(), infpath.into().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1678,7 +1678,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "newdev.dll""system" fn DiRollbackDriver ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , hwndparent : super::super::Foundation:: HWND , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiRollbackDriver ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , hwndparent : super::super::Foundation:: HWND , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiRollbackDriver(deviceinfoset.into(), deviceinfodata, hwndparent.into(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1689,7 +1689,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "newdev.dll""system" fn DiShowUpdateDevice ( hwndparent : super::super::Foundation:: HWND , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiShowUpdateDevice ( hwndparent : super::super::Foundation:: HWND , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiShowUpdateDevice(hwndparent.into(), deviceinfoset.into(), deviceinfodata, flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1700,7 +1700,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "newdev.dll""system" fn DiShowUpdateDriver ( hwndparent : super::super::Foundation:: HWND , filepath : :: windows::core::PCWSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiShowUpdateDriver ( hwndparent : super::super::Foundation:: HWND , filepath : :: windows::core::PCWSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiShowUpdateDriver(hwndparent.into(), filepath.into().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1711,7 +1711,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "newdev.dll""system" fn DiUninstallDevice ( hwndparent : super::super::Foundation:: HWND , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiUninstallDevice ( hwndparent : super::super::Foundation:: HWND , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiUninstallDevice(hwndparent.into(), deviceinfoset.into(), deviceinfodata, flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1722,7 +1722,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "newdev.dll""system" fn DiUninstallDriverA ( hwndparent : super::super::Foundation:: HWND , infpath : :: windows::core::PCSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiUninstallDriverA ( hwndparent : super::super::Foundation:: HWND , infpath : :: windows::core::PCSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiUninstallDriverA(hwndparent.into(), infpath.into().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1733,7 +1733,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "newdev.dll""system" fn DiUninstallDriverW ( hwndparent : super::super::Foundation:: HWND , infpath : :: windows::core::PCWSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn DiUninstallDriverW ( hwndparent : super::super::Foundation:: HWND , infpath : :: windows::core::PCWSTR , flags : u32 , needreboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DiUninstallDriverW(hwndparent.into(), infpath.into().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1745,7 +1745,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn InstallHinfSectionA ( window : super::super::Foundation:: HWND , modulehandle : super::super::Foundation:: HINSTANCE , commandline : :: windows::core::PCSTR , showcommand : i32 ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""system" fn InstallHinfSectionA ( window : super::super::Foundation:: HWND , modulehandle : super::super::Foundation:: HINSTANCE , commandline : :: windows::core::PCSTR , showcommand : i32 ) -> ( ) ); InstallHinfSectionA(window.into(), modulehandle.into(), commandline.into().abi(), showcommand) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1757,7 +1757,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn InstallHinfSectionW ( window : super::super::Foundation:: HWND , modulehandle : super::super::Foundation:: HINSTANCE , commandline : :: windows::core::PCWSTR , showcommand : i32 ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""system" fn InstallHinfSectionW ( window : super::super::Foundation:: HWND , modulehandle : super::super::Foundation:: HINSTANCE , commandline : :: windows::core::PCWSTR , showcommand : i32 ) -> ( ) ); InstallHinfSectionW(window.into(), modulehandle.into(), commandline.into().abi(), showcommand) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1767,7 +1767,7 @@ pub unsafe fn SetupAddInstallSectionToDiskSpaceListA(diskspace: *const ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAddInstallSectionToDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAddInstallSectionToDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupAddInstallSectionToDiskSpaceListA(diskspace, infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), sectionname.into().abi(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1777,7 +1777,7 @@ pub unsafe fn SetupAddInstallSectionToDiskSpaceListW(diskspace: *const ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAddInstallSectionToDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAddInstallSectionToDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupAddInstallSectionToDiskSpaceListW(diskspace, infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), sectionname.into().abi(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1787,7 +1787,7 @@ pub unsafe fn SetupAddSectionToDiskSpaceListA(diskspace: *const ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAddSectionToDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAddSectionToDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupAddSectionToDiskSpaceListA(diskspace, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), sectionname.into().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1797,7 +1797,7 @@ pub unsafe fn SetupAddSectionToDiskSpaceListW(diskspace: *const ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAddSectionToDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAddSectionToDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupAddSectionToDiskSpaceListW(diskspace, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), sectionname.into().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1807,7 +1807,7 @@ pub unsafe fn SetupAddToDiskSpaceListA(diskspace: *const ::core::ffi::c_void where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAddToDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , targetfilespec : :: windows::core::PCSTR , filesize : i64 , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAddToDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , targetfilespec : :: windows::core::PCSTR , filesize : i64 , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupAddToDiskSpaceListA(diskspace, targetfilespec.into().abi(), filesize, operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1817,7 +1817,7 @@ pub unsafe fn SetupAddToDiskSpaceListW(diskspace: *const ::core::ffi::c_void where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAddToDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , targetfilespec : :: windows::core::PCWSTR , filesize : i64 , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAddToDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , targetfilespec : :: windows::core::PCWSTR , filesize : i64 , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupAddToDiskSpaceListW(diskspace, targetfilespec.into().abi(), filesize, operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1827,7 +1827,7 @@ pub unsafe fn SetupAddToSourceListA(flags: u32, source: P0) -> super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAddToSourceListA ( flags : u32 , source : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAddToSourceListA ( flags : u32 , source : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupAddToSourceListA(flags, source.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1837,7 +1837,7 @@ pub unsafe fn SetupAddToSourceListW(flags: u32, source: P0) -> super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAddToSourceListW ( flags : u32 , source : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAddToSourceListW ( flags : u32 , source : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupAddToSourceListW(flags, source.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1847,7 +1847,7 @@ pub unsafe fn SetupAdjustDiskSpaceListA(diskspace: *const ::core::ffi::c_voi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAdjustDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , driveroot : :: windows::core::PCSTR , amount : i64 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAdjustDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , driveroot : :: windows::core::PCSTR , amount : i64 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupAdjustDiskSpaceListA(diskspace, driveroot.into().abi(), amount, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1857,7 +1857,7 @@ pub unsafe fn SetupAdjustDiskSpaceListW(diskspace: *const ::core::ffi::c_voi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupAdjustDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , driveroot : :: windows::core::PCWSTR , amount : i64 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupAdjustDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , driveroot : :: windows::core::PCWSTR , amount : i64 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupAdjustDiskSpaceListW(diskspace, driveroot.into().abi(), amount, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1870,7 +1870,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupBackupErrorA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , sourcefile : :: windows::core::PCSTR , targetfile : :: windows::core::PCSTR , win32errorcode : u32 , style : u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupBackupErrorA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , sourcefile : :: windows::core::PCSTR , targetfile : :: windows::core::PCSTR , win32errorcode : u32 , style : u32 ) -> u32 ); SetupBackupErrorA(hwndparent.into(), dialogtitle.into().abi(), sourcefile.into().abi(), targetfile.into().abi(), win32errorcode, style) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1883,33 +1883,33 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupBackupErrorW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , sourcefile : :: windows::core::PCWSTR , targetfile : :: windows::core::PCWSTR , win32errorcode : u32 , style : u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupBackupErrorW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , sourcefile : :: windows::core::PCWSTR , targetfile : :: windows::core::PCWSTR , win32errorcode : u32 , style : u32 ) -> u32 ); SetupBackupErrorW(hwndparent.into(), dialogtitle.into().abi(), sourcefile.into().abi(), targetfile.into().abi(), win32errorcode, style) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupCancelTemporarySourceList() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCancelTemporarySourceList ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCancelTemporarySourceList ( ) -> super::super::Foundation:: BOOL ); SetupCancelTemporarySourceList() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupCloseFileQueue(queuehandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCloseFileQueue ( queuehandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCloseFileQueue ( queuehandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupCloseFileQueue(queuehandle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupCloseInfFile(infhandle: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCloseInfFile ( infhandle : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCloseInfFile ( infhandle : *const ::core::ffi::c_void ) -> ( ) ); SetupCloseInfFile(infhandle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupCloseLog() { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCloseLog ( ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCloseLog ( ) -> ( ) ); SetupCloseLog() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1919,7 +1919,7 @@ pub unsafe fn SetupCommitFileQueueA(owner: P0, queuehandle: *const ::core::f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCommitFileQueueA ( owner : super::super::Foundation:: HWND , queuehandle : *const ::core::ffi::c_void , msghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCommitFileQueueA ( owner : super::super::Foundation:: HWND , queuehandle : *const ::core::ffi::c_void , msghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupCommitFileQueueA(owner.into(), queuehandle, msghandler, context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1929,7 +1929,7 @@ pub unsafe fn SetupCommitFileQueueW(owner: P0, queuehandle: *const ::core::f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCommitFileQueueW ( owner : super::super::Foundation:: HWND , queuehandle : *const ::core::ffi::c_void , msghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCommitFileQueueW ( owner : super::super::Foundation:: HWND , queuehandle : *const ::core::ffi::c_void , msghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupCommitFileQueueW(owner.into(), queuehandle, msghandler, context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1939,7 +1939,7 @@ pub unsafe fn SetupConfigureWmiFromInfSectionA(infhandle: *const ::core::ffi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupConfigureWmiFromInfSectionA ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupConfigureWmiFromInfSectionA ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupConfigureWmiFromInfSectionA(infhandle, sectionname.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1949,7 +1949,7 @@ pub unsafe fn SetupConfigureWmiFromInfSectionW(infhandle: *const ::core::ffi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupConfigureWmiFromInfSectionW ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupConfigureWmiFromInfSectionW ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupConfigureWmiFromInfSectionW(infhandle, sectionname.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1964,7 +1964,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCopyErrorA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , diskname : :: windows::core::PCSTR , pathtosource : :: windows::core::PCSTR , sourcefile : :: windows::core::PCSTR , targetpathfile : :: windows::core::PCSTR , win32errorcode : u32 , style : u32 , pathbuffer : :: windows::core::PSTR , pathbuffersize : u32 , pathrequiredsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCopyErrorA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , diskname : :: windows::core::PCSTR , pathtosource : :: windows::core::PCSTR , sourcefile : :: windows::core::PCSTR , targetpathfile : :: windows::core::PCSTR , win32errorcode : u32 , style : u32 , pathbuffer : :: windows::core::PSTR , pathbuffersize : u32 , pathrequiredsize : *mut u32 ) -> u32 ); SetupCopyErrorA(hwndparent.into(), dialogtitle.into().abi(), diskname.into().abi(), pathtosource.into().abi(), sourcefile.into().abi(), targetpathfile.into().abi(), win32errorcode, style, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pathrequiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1979,7 +1979,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCopyErrorW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , diskname : :: windows::core::PCWSTR , pathtosource : :: windows::core::PCWSTR , sourcefile : :: windows::core::PCWSTR , targetpathfile : :: windows::core::PCWSTR , win32errorcode : u32 , style : u32 , pathbuffer : :: windows::core::PWSTR , pathbuffersize : u32 , pathrequiredsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCopyErrorW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , diskname : :: windows::core::PCWSTR , pathtosource : :: windows::core::PCWSTR , sourcefile : :: windows::core::PCWSTR , targetpathfile : :: windows::core::PCWSTR , win32errorcode : u32 , style : u32 , pathbuffer : :: windows::core::PWSTR , pathbuffersize : u32 , pathrequiredsize : *mut u32 ) -> u32 ); SetupCopyErrorW(hwndparent.into(), dialogtitle.into().abi(), diskname.into().abi(), pathtosource.into().abi(), sourcefile.into().abi(), targetpathfile.into().abi(), win32errorcode, style, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pathrequiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1990,7 +1990,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCopyOEMInfA ( sourceinffilename : :: windows::core::PCSTR , oemsourcemedialocation : :: windows::core::PCSTR , oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE , copystyle : u32 , destinationinffilename : :: windows::core::PSTR , destinationinffilenamesize : u32 , requiredsize : *mut u32 , destinationinffilenamecomponent : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCopyOEMInfA ( sourceinffilename : :: windows::core::PCSTR , oemsourcemedialocation : :: windows::core::PCSTR , oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE , copystyle : u32 , destinationinffilename : :: windows::core::PSTR , destinationinffilenamesize : u32 , requiredsize : *mut u32 , destinationinffilenamecomponent : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); SetupCopyOEMInfA(sourceinffilename.into().abi(), oemsourcemedialocation.into().abi(), oemsourcemediatype, copystyle, ::core::mem::transmute(destinationinffilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destinationinffilename.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(destinationinffilenamecomponent.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2001,19 +2001,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCopyOEMInfW ( sourceinffilename : :: windows::core::PCWSTR , oemsourcemedialocation : :: windows::core::PCWSTR , oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE , copystyle : u32 , destinationinffilename : :: windows::core::PWSTR , destinationinffilenamesize : u32 , requiredsize : *mut u32 , destinationinffilenamecomponent : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCopyOEMInfW ( sourceinffilename : :: windows::core::PCWSTR , oemsourcemedialocation : :: windows::core::PCWSTR , oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE , copystyle : u32 , destinationinffilename : :: windows::core::PWSTR , destinationinffilenamesize : u32 , requiredsize : *mut u32 , destinationinffilenamecomponent : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); SetupCopyOEMInfW(sourceinffilename.into().abi(), oemsourcemedialocation.into().abi(), oemsourcemediatype, copystyle, ::core::mem::transmute(destinationinffilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destinationinffilename.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(destinationinffilenamecomponent.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupCreateDiskSpaceListA(reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCreateDiskSpaceListA ( reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , flags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCreateDiskSpaceListA ( reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , flags : u32 ) -> *mut ::core::ffi::c_void ); SetupCreateDiskSpaceListA(::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupCreateDiskSpaceListW(reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupCreateDiskSpaceListW ( reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , flags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupCreateDiskSpaceListW ( reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , flags : u32 ) -> *mut ::core::ffi::c_void ); SetupCreateDiskSpaceListW(::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -2023,7 +2023,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDecompressOrCopyFileA ( sourcefilename : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , compressiontype : *const u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDecompressOrCopyFileA ( sourcefilename : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , compressiontype : *const u32 ) -> u32 ); SetupDecompressOrCopyFileA(sourcefilename.into().abi(), targetfilename.into().abi(), ::core::mem::transmute(compressiontype.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -2033,19 +2033,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDecompressOrCopyFileW ( sourcefilename : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , compressiontype : *const u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDecompressOrCopyFileW ( sourcefilename : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , compressiontype : *const u32 ) -> u32 ); SetupDecompressOrCopyFileW(sourcefilename.into().abi(), targetfilename.into().abi(), ::core::mem::transmute(compressiontype.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupDefaultQueueCallbackA(context: *const ::core::ffi::c_void, notification: u32, param1: usize, param2: usize) -> u32 { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDefaultQueueCallbackA ( context : *const ::core::ffi::c_void , notification : u32 , param1 : usize , param2 : usize ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDefaultQueueCallbackA ( context : *const ::core::ffi::c_void , notification : u32 , param1 : usize , param2 : usize ) -> u32 ); SetupDefaultQueueCallbackA(context, notification, param1, param2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupDefaultQueueCallbackW(context: *const ::core::ffi::c_void, notification: u32, param1: usize, param2: usize) -> u32 { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDefaultQueueCallbackW ( context : *const ::core::ffi::c_void , notification : u32 , param1 : usize , param2 : usize ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDefaultQueueCallbackW ( context : *const ::core::ffi::c_void , notification : u32 , param1 : usize , param2 : usize ) -> u32 ); SetupDefaultQueueCallbackW(context, notification, param1, param2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2057,7 +2057,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDeleteErrorA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , file : :: windows::core::PCSTR , win32errorcode : u32 , style : u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDeleteErrorA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , file : :: windows::core::PCSTR , win32errorcode : u32 , style : u32 ) -> u32 ); SetupDeleteErrorA(hwndparent.into(), dialogtitle.into().abi(), file.into().abi(), win32errorcode, style) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2069,14 +2069,14 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDeleteErrorW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , win32errorcode : u32 , style : u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDeleteErrorW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , win32errorcode : u32 , style : u32 ) -> u32 ); SetupDeleteErrorW(hwndparent.into(), dialogtitle.into().abi(), file.into().abi(), win32errorcode, style) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDestroyDiskSpaceList(diskspace: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDestroyDiskSpaceList ( diskspace : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDestroyDiskSpaceList ( diskspace : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDestroyDiskSpaceList(diskspace) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2086,14 +2086,14 @@ pub unsafe fn SetupDiAskForOEMDisk(deviceinfoset: P0, deviceinfodata: ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiAskForOEMDisk ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiAskForOEMDisk ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiAskForOEMDisk(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiBuildClassInfoList(flags: u32, classguidlist: ::core::option::Option<&mut [::windows::core::GUID]>, requiredsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiBuildClassInfoList ( flags : u32 , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiBuildClassInfoList ( flags : u32 , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiBuildClassInfoList(flags, ::core::mem::transmute(classguidlist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), classguidlist.as_deref().map_or(0, |slice| slice.len() as _), requiredsize) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2103,7 +2103,7 @@ pub unsafe fn SetupDiBuildClassInfoListExA(flags: u32, classguidlist: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiBuildClassInfoListExA ( flags : u32 , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiBuildClassInfoListExA ( flags : u32 , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiBuildClassInfoListExA(flags, ::core::mem::transmute(classguidlist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), classguidlist.as_deref().map_or(0, |slice| slice.len() as _), requiredsize, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2113,7 +2113,7 @@ pub unsafe fn SetupDiBuildClassInfoListExW(flags: u32, classguidlist: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiBuildClassInfoListExW ( flags : u32 , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiBuildClassInfoListExW ( flags : u32 , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiBuildClassInfoListExW(flags, ::core::mem::transmute(classguidlist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), classguidlist.as_deref().map_or(0, |slice| slice.len() as _), requiredsize, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2123,7 +2123,7 @@ pub unsafe fn SetupDiBuildDriverInfoList(deviceinfoset: P0, deviceinfodata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiBuildDriverInfoList ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , drivertype : SETUP_DI_BUILD_DRIVER_DRIVER_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiBuildDriverInfoList ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , drivertype : SETUP_DI_BUILD_DRIVER_DRIVER_TYPE ) -> super::super::Foundation:: BOOL ); SetupDiBuildDriverInfoList(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut())), drivertype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2133,7 +2133,7 @@ pub unsafe fn SetupDiCallClassInstaller(installfunction: u32, deviceinfoset: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCallClassInstaller ( installfunction : u32 , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCallClassInstaller ( installfunction : u32 , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiCallClassInstaller(installfunction, deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2143,7 +2143,7 @@ pub unsafe fn SetupDiCancelDriverInfoSearch(deviceinfoset: P0) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCancelDriverInfoSearch ( deviceinfoset : HDEVINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCancelDriverInfoSearch ( deviceinfoset : HDEVINFO ) -> super::super::Foundation:: BOOL ); SetupDiCancelDriverInfoSearch(deviceinfoset.into()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2153,7 +2153,7 @@ pub unsafe fn SetupDiChangeState(deviceinfoset: P0, deviceinfodata: *mut SP_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiChangeState ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiChangeState ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiChangeState(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2163,7 +2163,7 @@ pub unsafe fn SetupDiClassGuidsFromNameA(classname: P0, classguidlist: &mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiClassGuidsFromNameA ( classname : :: windows::core::PCSTR , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiClassGuidsFromNameA ( classname : :: windows::core::PCSTR , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiClassGuidsFromNameA(classname.into().abi(), ::core::mem::transmute(classguidlist.as_ptr()), classguidlist.len() as _, requiredsize) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2174,7 +2174,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiClassGuidsFromNameExA ( classname : :: windows::core::PCSTR , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiClassGuidsFromNameExA ( classname : :: windows::core::PCSTR , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiClassGuidsFromNameExA(classname.into().abi(), ::core::mem::transmute(classguidlist.as_ptr()), classguidlist.len() as _, requiredsize, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2185,7 +2185,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiClassGuidsFromNameExW ( classname : :: windows::core::PCWSTR , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiClassGuidsFromNameExW ( classname : :: windows::core::PCWSTR , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiClassGuidsFromNameExW(classname.into().abi(), ::core::mem::transmute(classguidlist.as_ptr()), classguidlist.len() as _, requiredsize, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2195,14 +2195,14 @@ pub unsafe fn SetupDiClassGuidsFromNameW(classname: P0, classguidlist: &mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiClassGuidsFromNameW ( classname : :: windows::core::PCWSTR , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiClassGuidsFromNameW ( classname : :: windows::core::PCWSTR , classguidlist : *mut :: windows::core::GUID , classguidlistsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiClassGuidsFromNameW(classname.into().abi(), ::core::mem::transmute(classguidlist.as_ptr()), classguidlist.len() as _, requiredsize) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiClassNameFromGuidA(classguid: *const ::windows::core::GUID, classname: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiClassNameFromGuidA ( classguid : *const :: windows::core::GUID , classname : :: windows::core::PSTR , classnamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiClassNameFromGuidA ( classguid : *const :: windows::core::GUID , classname : :: windows::core::PSTR , classnamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiClassNameFromGuidA(classguid, ::core::mem::transmute(classname.as_ptr()), classname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2212,7 +2212,7 @@ pub unsafe fn SetupDiClassNameFromGuidExA(classguid: *const ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiClassNameFromGuidExA ( classguid : *const :: windows::core::GUID , classname : :: windows::core::PSTR , classnamesize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiClassNameFromGuidExA ( classguid : *const :: windows::core::GUID , classname : :: windows::core::PSTR , classnamesize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiClassNameFromGuidExA(classguid, ::core::mem::transmute(classname.as_ptr()), classname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2222,14 +2222,14 @@ pub unsafe fn SetupDiClassNameFromGuidExW(classguid: *const ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiClassNameFromGuidExW ( classguid : *const :: windows::core::GUID , classname : :: windows::core::PWSTR , classnamesize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiClassNameFromGuidExW ( classguid : *const :: windows::core::GUID , classname : :: windows::core::PWSTR , classnamesize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiClassNameFromGuidExW(classguid, ::core::mem::transmute(classname.as_ptr()), classname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiClassNameFromGuidW(classguid: *const ::windows::core::GUID, classname: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiClassNameFromGuidW ( classguid : *const :: windows::core::GUID , classname : :: windows::core::PWSTR , classnamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiClassNameFromGuidW ( classguid : *const :: windows::core::GUID , classname : :: windows::core::PWSTR , classnamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiClassNameFromGuidW(classguid, ::core::mem::transmute(classname.as_ptr()), classname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -2240,9 +2240,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDevRegKeyA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , scope : u32 , hwprofile : u32 , keytype : u32 , infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCSTR ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDevRegKeyA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , scope : u32 , hwprofile : u32 , keytype : u32 , infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCSTR ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiCreateDevRegKeyA(deviceinfoset.into(), deviceinfodata, scope, hwprofile, keytype, ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), infsectionname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] @@ -2252,9 +2252,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDevRegKeyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , scope : u32 , hwprofile : u32 , keytype : u32 , infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCWSTR ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDevRegKeyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , scope : u32 , hwprofile : u32 , keytype : u32 , infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCWSTR ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiCreateDevRegKeyW(deviceinfoset.into(), deviceinfodata, scope, hwprofile, keytype, ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), infsectionname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2266,7 +2266,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoA ( deviceinfoset : HDEVINFO , devicename : :: windows::core::PCSTR , classguid : *const :: windows::core::GUID , devicedescription : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , creationflags : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoA ( deviceinfoset : HDEVINFO , devicename : :: windows::core::PCSTR , classguid : *const :: windows::core::GUID , devicedescription : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , creationflags : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiCreateDeviceInfoA(deviceinfoset.into(), devicename.into().abi(), classguid, devicedescription.into().abi(), hwndparent.into(), creationflags, ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2276,9 +2276,9 @@ pub unsafe fn SetupDiCreateDeviceInfoList(classguid: ::core::option::Option< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoList ( classguid : *const :: windows::core::GUID , hwndparent : super::super::Foundation:: HWND ) -> HDEVINFO ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoList ( classguid : *const :: windows::core::GUID , hwndparent : super::super::Foundation:: HWND ) -> HDEVINFO ); let result__ = SetupDiCreateDeviceInfoList(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), hwndparent.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2288,9 +2288,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoListExA ( classguid : *const :: windows::core::GUID , hwndparent : super::super::Foundation:: HWND , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> HDEVINFO ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoListExA ( classguid : *const :: windows::core::GUID , hwndparent : super::super::Foundation:: HWND , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> HDEVINFO ); let result__ = SetupDiCreateDeviceInfoListExA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), hwndparent.into(), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2300,9 +2300,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoListExW ( classguid : *const :: windows::core::GUID , hwndparent : super::super::Foundation:: HWND , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> HDEVINFO ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoListExW ( classguid : *const :: windows::core::GUID , hwndparent : super::super::Foundation:: HWND , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> HDEVINFO ); let result__ = SetupDiCreateDeviceInfoListExW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), hwndparent.into(), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2314,7 +2314,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoW ( deviceinfoset : HDEVINFO , devicename : :: windows::core::PCWSTR , classguid : *const :: windows::core::GUID , devicedescription : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , creationflags : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInfoW ( deviceinfoset : HDEVINFO , devicename : :: windows::core::PCWSTR , classguid : *const :: windows::core::GUID , devicedescription : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , creationflags : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiCreateDeviceInfoW(deviceinfoset.into(), devicename.into().abi(), classguid, devicedescription.into().abi(), hwndparent.into(), creationflags, ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2325,7 +2325,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInterfaceA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , interfaceclassguid : *const :: windows::core::GUID , referencestring : :: windows::core::PCSTR , creationflags : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInterfaceA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , interfaceclassguid : *const :: windows::core::GUID , referencestring : :: windows::core::PCSTR , creationflags : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); SetupDiCreateDeviceInterfaceA(deviceinfoset.into(), deviceinfodata, interfaceclassguid, referencestring.into().abi(), creationflags, ::core::mem::transmute(deviceinterfacedata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -2336,9 +2336,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInterfaceRegKeyA ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , reserved : u32 , samdesired : u32 , infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCSTR ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInterfaceRegKeyA ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , reserved : u32 , samdesired : u32 , infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCSTR ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiCreateDeviceInterfaceRegKeyA(deviceinfoset.into(), deviceinterfacedata, reserved, samdesired, ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), infsectionname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] @@ -2348,9 +2348,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInterfaceRegKeyW ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , reserved : u32 , samdesired : u32 , infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCWSTR ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInterfaceRegKeyW ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , reserved : u32 , samdesired : u32 , infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCWSTR ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiCreateDeviceInterfaceRegKeyW(deviceinfoset.into(), deviceinterfacedata, reserved, samdesired, ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), infsectionname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2360,7 +2360,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInterfaceW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , interfaceclassguid : *const :: windows::core::GUID , referencestring : :: windows::core::PCWSTR , creationflags : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiCreateDeviceInterfaceW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , interfaceclassguid : *const :: windows::core::GUID , referencestring : :: windows::core::PCWSTR , creationflags : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); SetupDiCreateDeviceInterfaceW(deviceinfoset.into(), deviceinfodata, interfaceclassguid, referencestring.into().abi(), creationflags, ::core::mem::transmute(deviceinterfacedata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2370,7 +2370,7 @@ pub unsafe fn SetupDiDeleteDevRegKey(deviceinfoset: P0, deviceinfodata: *con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiDeleteDevRegKey ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , scope : u32 , hwprofile : u32 , keytype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiDeleteDevRegKey ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , scope : u32 , hwprofile : u32 , keytype : u32 ) -> super::super::Foundation:: BOOL ); SetupDiDeleteDevRegKey(deviceinfoset.into(), deviceinfodata, scope, hwprofile, keytype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2380,7 +2380,7 @@ pub unsafe fn SetupDiDeleteDeviceInfo(deviceinfoset: P0, deviceinfodata: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiDeleteDeviceInfo ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiDeleteDeviceInfo ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiDeleteDeviceInfo(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2390,7 +2390,7 @@ pub unsafe fn SetupDiDeleteDeviceInterfaceData(deviceinfoset: P0, deviceinte where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiDeleteDeviceInterfaceData ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiDeleteDeviceInterfaceData ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); SetupDiDeleteDeviceInterfaceData(deviceinfoset.into(), deviceinterfacedata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2400,14 +2400,14 @@ pub unsafe fn SetupDiDeleteDeviceInterfaceRegKey(deviceinfoset: P0, devicein where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiDeleteDeviceInterfaceRegKey ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , reserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiDeleteDeviceInterfaceRegKey ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , reserved : u32 ) -> super::super::Foundation:: BOOL ); SetupDiDeleteDeviceInterfaceRegKey(deviceinfoset.into(), deviceinterfacedata, reserved) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] #[inline] pub unsafe fn SetupDiDestroyClassImageList(classimagelistdata: *const SP_CLASSIMAGELIST_DATA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiDestroyClassImageList ( classimagelistdata : *const SP_CLASSIMAGELIST_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiDestroyClassImageList ( classimagelistdata : *const SP_CLASSIMAGELIST_DATA ) -> super::super::Foundation:: BOOL ); SetupDiDestroyClassImageList(classimagelistdata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2417,7 +2417,7 @@ pub unsafe fn SetupDiDestroyDeviceInfoList(deviceinfoset: P0) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiDestroyDeviceInfoList ( deviceinfoset : HDEVINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiDestroyDeviceInfoList ( deviceinfoset : HDEVINFO ) -> super::super::Foundation:: BOOL ); SetupDiDestroyDeviceInfoList(deviceinfoset.into()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2427,7 +2427,7 @@ pub unsafe fn SetupDiDestroyDriverInfoList(deviceinfoset: P0, deviceinfodata where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiDestroyDriverInfoList ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , drivertype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiDestroyDriverInfoList ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , drivertype : u32 ) -> super::super::Foundation:: BOOL ); SetupDiDestroyDriverInfoList(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), drivertype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2437,7 +2437,7 @@ pub unsafe fn SetupDiDrawMiniIcon(hdc: P0, rc: super::super::Foundation::REC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiDrawMiniIcon ( hdc : super::super::Graphics::Gdi:: HDC , rc : super::super::Foundation:: RECT , miniiconindex : i32 , flags : u32 ) -> i32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiDrawMiniIcon ( hdc : super::super::Graphics::Gdi:: HDC , rc : super::super::Foundation:: RECT , miniiconindex : i32 , flags : u32 ) -> i32 ); SetupDiDrawMiniIcon(hdc.into(), ::core::mem::transmute(rc), miniiconindex, flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2447,7 +2447,7 @@ pub unsafe fn SetupDiEnumDeviceInfo(deviceinfoset: P0, memberindex: u32, dev where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiEnumDeviceInfo ( deviceinfoset : HDEVINFO , memberindex : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiEnumDeviceInfo ( deviceinfoset : HDEVINFO , memberindex : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiEnumDeviceInfo(deviceinfoset.into(), memberindex, deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2457,7 +2457,7 @@ pub unsafe fn SetupDiEnumDeviceInterfaces(deviceinfoset: P0, deviceinfodata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiEnumDeviceInterfaces ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , interfaceclassguid : *const :: windows::core::GUID , memberindex : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiEnumDeviceInterfaces ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , interfaceclassguid : *const :: windows::core::GUID , memberindex : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); SetupDiEnumDeviceInterfaces(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), interfaceclassguid, memberindex, deviceinterfacedata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2467,7 +2467,7 @@ pub unsafe fn SetupDiEnumDriverInfoA(deviceinfoset: P0, deviceinfodata: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiEnumDriverInfoA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , drivertype : u32 , memberindex : u32 , driverinfodata : *mut SP_DRVINFO_DATA_V2_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiEnumDriverInfoA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , drivertype : u32 , memberindex : u32 , driverinfodata : *mut SP_DRVINFO_DATA_V2_A ) -> super::super::Foundation:: BOOL ); SetupDiEnumDriverInfoA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), drivertype, memberindex, driverinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2477,21 +2477,21 @@ pub unsafe fn SetupDiEnumDriverInfoW(deviceinfoset: P0, deviceinfodata: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiEnumDriverInfoW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , drivertype : u32 , memberindex : u32 , driverinfodata : *mut SP_DRVINFO_DATA_V2_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiEnumDriverInfoW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , drivertype : u32 , memberindex : u32 , driverinfodata : *mut SP_DRVINFO_DATA_V2_W ) -> super::super::Foundation:: BOOL ); SetupDiEnumDriverInfoW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), drivertype, memberindex, driverinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] pub unsafe fn SetupDiGetActualModelsSectionA(context: *const INFCONTEXT, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, infsectionwithext: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetActualModelsSectionA ( context : *const INFCONTEXT , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsectionwithext : :: windows::core::PSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetActualModelsSectionA ( context : *const INFCONTEXT , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsectionwithext : :: windows::core::PSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetActualModelsSectionA(context, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), infsectionwithext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] pub unsafe fn SetupDiGetActualModelsSectionW(context: *const INFCONTEXT, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, infsectionwithext: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetActualModelsSectionW ( context : *const INFCONTEXT , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsectionwithext : :: windows::core::PWSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetActualModelsSectionW ( context : *const INFCONTEXT , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsectionwithext : :: windows::core::PWSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetActualModelsSectionW(context, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), infsectionwithext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2501,7 +2501,7 @@ pub unsafe fn SetupDiGetActualSectionToInstallA(infhandle: *const ::core::ff where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetActualSectionToInstallA ( infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCSTR , infsectionwithext : :: windows::core::PSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , extension : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetActualSectionToInstallA ( infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCSTR , infsectionwithext : :: windows::core::PSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , extension : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); SetupDiGetActualSectionToInstallA(infhandle, infsectionname.into().abi(), ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), infsectionwithext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(extension.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -2511,7 +2511,7 @@ pub unsafe fn SetupDiGetActualSectionToInstallExA(infhandle: *const ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetActualSectionToInstallExA ( infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCSTR , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsectionwithext : :: windows::core::PSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , extension : *mut :: windows::core::PSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetActualSectionToInstallExA ( infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCSTR , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsectionwithext : :: windows::core::PSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , extension : *mut :: windows::core::PSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetActualSectionToInstallExA( infhandle, infsectionname.into().abi(), @@ -2530,7 +2530,7 @@ pub unsafe fn SetupDiGetActualSectionToInstallExW(infhandle: *const ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetActualSectionToInstallExW ( infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCWSTR , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsectionwithext : :: windows::core::PWSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , extension : *mut :: windows::core::PWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetActualSectionToInstallExW ( infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCWSTR , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsectionwithext : :: windows::core::PWSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , extension : *mut :: windows::core::PWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetActualSectionToInstallExW( infhandle, infsectionname.into().abi(), @@ -2549,21 +2549,21 @@ pub unsafe fn SetupDiGetActualSectionToInstallW(infhandle: *const ::core::ff where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetActualSectionToInstallW ( infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCWSTR , infsectionwithext : :: windows::core::PWSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , extension : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetActualSectionToInstallW ( infhandle : *const ::core::ffi::c_void , infsectionname : :: windows::core::PCWSTR , infsectionwithext : :: windows::core::PWSTR , infsectionwithextsize : u32 , requiredsize : *mut u32 , extension : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); SetupDiGetActualSectionToInstallW(infhandle, infsectionname.into().abi(), ::core::mem::transmute(infsectionwithext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), infsectionwithext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(extension.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiGetClassBitmapIndex(classguid: ::core::option::Option<*const ::windows::core::GUID>, miniiconindex: *mut i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassBitmapIndex ( classguid : *const :: windows::core::GUID , miniiconindex : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassBitmapIndex ( classguid : *const :: windows::core::GUID , miniiconindex : *mut i32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassBitmapIndex(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), miniiconindex) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiGetClassDescriptionA(classguid: *const ::windows::core::GUID, classdescription: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDescriptionA ( classguid : *const :: windows::core::GUID , classdescription : :: windows::core::PSTR , classdescriptionsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDescriptionA ( classguid : *const :: windows::core::GUID , classdescription : :: windows::core::PSTR , classdescriptionsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassDescriptionA(classguid, ::core::mem::transmute(classdescription.as_ptr()), classdescription.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2573,7 +2573,7 @@ pub unsafe fn SetupDiGetClassDescriptionExA(classguid: *const ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDescriptionExA ( classguid : *const :: windows::core::GUID , classdescription : :: windows::core::PSTR , classdescriptionsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDescriptionExA ( classguid : *const :: windows::core::GUID , classdescription : :: windows::core::PSTR , classdescriptionsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetClassDescriptionExA(classguid, ::core::mem::transmute(classdescription.as_ptr()), classdescription.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2583,14 +2583,14 @@ pub unsafe fn SetupDiGetClassDescriptionExW(classguid: *const ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDescriptionExW ( classguid : *const :: windows::core::GUID , classdescription : :: windows::core::PWSTR , classdescriptionsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDescriptionExW ( classguid : *const :: windows::core::GUID , classdescription : :: windows::core::PWSTR , classdescriptionsize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetClassDescriptionExW(classguid, ::core::mem::transmute(classdescription.as_ptr()), classdescription.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiGetClassDescriptionW(classguid: *const ::windows::core::GUID, classdescription: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDescriptionW ( classguid : *const :: windows::core::GUID , classdescription : :: windows::core::PWSTR , classdescriptionsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDescriptionW ( classguid : *const :: windows::core::GUID , classdescription : :: windows::core::PWSTR , classdescriptionsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassDescriptionW(classguid, ::core::mem::transmute(classdescription.as_ptr()), classdescription.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2600,7 +2600,7 @@ pub unsafe fn SetupDiGetClassDevPropertySheetsA(deviceinfoset: P0, deviceinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevPropertySheetsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertysheetheader : *const super::super::UI::Controls:: PROPSHEETHEADERA_V2 , propertysheetheaderpagelistsize : u32 , requiredsize : *mut u32 , propertysheettype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevPropertySheetsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertysheetheader : *const super::super::UI::Controls:: PROPSHEETHEADERA_V2 , propertysheetheaderpagelistsize : u32 , requiredsize : *mut u32 , propertysheettype : u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassDevPropertySheetsA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), propertysheetheader, propertysheetheaderpagelistsize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), propertysheettype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2610,7 +2610,7 @@ pub unsafe fn SetupDiGetClassDevPropertySheetsW(deviceinfoset: P0, deviceinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevPropertySheetsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertysheetheader : *const super::super::UI::Controls:: PROPSHEETHEADERW_V2 , propertysheetheaderpagelistsize : u32 , requiredsize : *mut u32 , propertysheettype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevPropertySheetsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertysheetheader : *const super::super::UI::Controls:: PROPSHEETHEADERW_V2 , propertysheetheaderpagelistsize : u32 , requiredsize : *mut u32 , propertysheettype : u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassDevPropertySheetsW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), propertysheetheader, propertysheetheaderpagelistsize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), propertysheettype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2621,9 +2621,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevsA ( classguid : *const :: windows::core::GUID , enumerator : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , flags : u32 ) -> HDEVINFO ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevsA ( classguid : *const :: windows::core::GUID , enumerator : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , flags : u32 ) -> HDEVINFO ); let result__ = SetupDiGetClassDevsA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), enumerator.into().abi(), hwndparent.into(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2635,9 +2635,9 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevsExA ( classguid : *const :: windows::core::GUID , enumerator : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , flags : u32 , deviceinfoset : HDEVINFO , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> HDEVINFO ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevsExA ( classguid : *const :: windows::core::GUID , enumerator : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , flags : u32 , deviceinfoset : HDEVINFO , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> HDEVINFO ); let result__ = SetupDiGetClassDevsExA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), enumerator.into().abi(), hwndparent.into(), flags, deviceinfoset.into(), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2649,9 +2649,9 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevsExW ( classguid : *const :: windows::core::GUID , enumerator : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , flags : u32 , deviceinfoset : HDEVINFO , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> HDEVINFO ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevsExW ( classguid : *const :: windows::core::GUID , enumerator : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , flags : u32 , deviceinfoset : HDEVINFO , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> HDEVINFO ); let result__ = SetupDiGetClassDevsExW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), enumerator.into().abi(), hwndparent.into(), flags, deviceinfoset.into(), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2661,22 +2661,22 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevsW ( classguid : *const :: windows::core::GUID , enumerator : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , flags : u32 ) -> HDEVINFO ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassDevsW ( classguid : *const :: windows::core::GUID , enumerator : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , flags : u32 ) -> HDEVINFO ); let result__ = SetupDiGetClassDevsW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), enumerator.into().abi(), hwndparent.into(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] #[inline] pub unsafe fn SetupDiGetClassImageIndex(classimagelistdata: *const SP_CLASSIMAGELIST_DATA, classguid: *const ::windows::core::GUID, imageindex: *mut i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassImageIndex ( classimagelistdata : *const SP_CLASSIMAGELIST_DATA , classguid : *const :: windows::core::GUID , imageindex : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassImageIndex ( classimagelistdata : *const SP_CLASSIMAGELIST_DATA , classguid : *const :: windows::core::GUID , imageindex : *mut i32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassImageIndex(classimagelistdata, classguid, imageindex) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] #[inline] pub unsafe fn SetupDiGetClassImageList(classimagelistdata: *mut SP_CLASSIMAGELIST_DATA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassImageList ( classimagelistdata : *mut SP_CLASSIMAGELIST_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassImageList ( classimagelistdata : *mut SP_CLASSIMAGELIST_DATA ) -> super::super::Foundation:: BOOL ); SetupDiGetClassImageList(classimagelistdata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -2686,7 +2686,7 @@ pub unsafe fn SetupDiGetClassImageListExA(classimagelistdata: *mut SP_CLASSI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassImageListExA ( classimagelistdata : *mut SP_CLASSIMAGELIST_DATA , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassImageListExA ( classimagelistdata : *mut SP_CLASSIMAGELIST_DATA , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetClassImageListExA(classimagelistdata, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -2696,7 +2696,7 @@ pub unsafe fn SetupDiGetClassImageListExW(classimagelistdata: *mut SP_CLASSI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassImageListExW ( classimagelistdata : *mut SP_CLASSIMAGELIST_DATA , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassImageListExW ( classimagelistdata : *mut SP_CLASSIMAGELIST_DATA , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetClassImageListExW(classimagelistdata, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2706,7 +2706,7 @@ pub unsafe fn SetupDiGetClassInstallParamsA(deviceinfoset: P0, deviceinfodat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , classinstallparams : *mut SP_CLASSINSTALL_HEADER , classinstallparamssize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , classinstallparams : *mut SP_CLASSINSTALL_HEADER , classinstallparamssize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassInstallParamsA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(classinstallparams.unwrap_or(::std::ptr::null_mut())), classinstallparamssize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2716,7 +2716,7 @@ pub unsafe fn SetupDiGetClassInstallParamsW(deviceinfoset: P0, deviceinfodat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , classinstallparams : *mut SP_CLASSINSTALL_HEADER , classinstallparamssize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , classinstallparams : *mut SP_CLASSINSTALL_HEADER , classinstallparamssize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassInstallParamsW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(classinstallparams.unwrap_or(::std::ptr::null_mut())), classinstallparamssize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -2726,14 +2726,14 @@ pub unsafe fn SetupDiGetClassPropertyExW(classguid: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassPropertyExW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , flags : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassPropertyExW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , flags : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetClassPropertyExW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), flags, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] #[inline] pub unsafe fn SetupDiGetClassPropertyKeys(classguid: *const ::windows::core::GUID, propertykeyarray: ::core::option::Option<&mut [super::Properties::DEVPROPKEY]>, requiredpropertykeycount: ::core::option::Option<*mut u32>, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassPropertyKeys ( classguid : *const :: windows::core::GUID , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : u32 , requiredpropertykeycount : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassPropertyKeys ( classguid : *const :: windows::core::GUID , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : u32 , requiredpropertykeycount : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassPropertyKeys(classguid, ::core::mem::transmute(propertykeyarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertykeyarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredpropertykeycount.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -2743,14 +2743,14 @@ pub unsafe fn SetupDiGetClassPropertyKeysExW(classguid: *const ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassPropertyKeysExW ( classguid : *const :: windows::core::GUID , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : u32 , requiredpropertykeycount : *mut u32 , flags : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassPropertyKeysExW ( classguid : *const :: windows::core::GUID , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : u32 , requiredpropertykeycount : *mut u32 , flags : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetClassPropertyKeysExW(classguid, ::core::mem::transmute(propertykeyarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertykeyarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredpropertykeycount.unwrap_or(::std::ptr::null_mut())), flags, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] #[inline] pub unsafe fn SetupDiGetClassPropertyW(classguid: *const ::windows::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: *mut u32, propertybuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassPropertyW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassPropertyW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetClassPropertyW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2760,7 +2760,7 @@ pub unsafe fn SetupDiGetClassRegistryPropertyA(classguid: *const ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassRegistryPropertyA ( classguid : *const :: windows::core::GUID , property : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassRegistryPropertyA ( classguid : *const :: windows::core::GUID , property : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetClassRegistryPropertyA(classguid, property, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_ptr()), propertybuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2770,7 +2770,7 @@ pub unsafe fn SetupDiGetClassRegistryPropertyW(classguid: *const ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetClassRegistryPropertyW ( classguid : *const :: windows::core::GUID , property : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetClassRegistryPropertyW ( classguid : *const :: windows::core::GUID , property : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetClassRegistryPropertyW(classguid, property, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_ptr()), propertybuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2781,7 +2781,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetCustomDevicePropertyA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , custompropertyname : :: windows::core::PCSTR , flags : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetCustomDevicePropertyA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , custompropertyname : :: windows::core::PCSTR , flags : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetCustomDevicePropertyA(deviceinfoset.into(), deviceinfodata, custompropertyname.into().abi(), flags, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_ptr()), propertybuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2792,7 +2792,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetCustomDevicePropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , custompropertyname : :: windows::core::PCWSTR , flags : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetCustomDevicePropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , custompropertyname : :: windows::core::PCWSTR , flags : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetCustomDevicePropertyW(deviceinfoset.into(), deviceinfodata, custompropertyname.into().abi(), flags, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_ptr()), propertybuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2802,7 +2802,7 @@ pub unsafe fn SetupDiGetDeviceInfoListClass(deviceinfoset: P0, classguid: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInfoListClass ( deviceinfoset : HDEVINFO , classguid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInfoListClass ( deviceinfoset : HDEVINFO , classguid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInfoListClass(deviceinfoset.into(), classguid) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2812,7 +2812,7 @@ pub unsafe fn SetupDiGetDeviceInfoListDetailA(deviceinfoset: P0, deviceinfos where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInfoListDetailA ( deviceinfoset : HDEVINFO , deviceinfosetdetaildata : *mut SP_DEVINFO_LIST_DETAIL_DATA_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInfoListDetailA ( deviceinfoset : HDEVINFO , deviceinfosetdetaildata : *mut SP_DEVINFO_LIST_DETAIL_DATA_A ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInfoListDetailA(deviceinfoset.into(), deviceinfosetdetaildata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2822,7 +2822,7 @@ pub unsafe fn SetupDiGetDeviceInfoListDetailW(deviceinfoset: P0, deviceinfos where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInfoListDetailW ( deviceinfoset : HDEVINFO , deviceinfosetdetaildata : *mut SP_DEVINFO_LIST_DETAIL_DATA_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInfoListDetailW ( deviceinfoset : HDEVINFO , deviceinfosetdetaildata : *mut SP_DEVINFO_LIST_DETAIL_DATA_W ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInfoListDetailW(deviceinfoset.into(), deviceinfosetdetaildata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2832,7 +2832,7 @@ pub unsafe fn SetupDiGetDeviceInstallParamsA(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstallparams : *mut SP_DEVINSTALL_PARAMS_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstallparams : *mut SP_DEVINSTALL_PARAMS_A ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInstallParamsA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), deviceinstallparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2842,7 +2842,7 @@ pub unsafe fn SetupDiGetDeviceInstallParamsW(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstallparams : *mut SP_DEVINSTALL_PARAMS_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstallparams : *mut SP_DEVINSTALL_PARAMS_W ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInstallParamsW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), deviceinstallparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2852,7 +2852,7 @@ pub unsafe fn SetupDiGetDeviceInstanceIdA(deviceinfoset: P0, deviceinfodata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInstanceIdA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstanceid : :: windows::core::PSTR , deviceinstanceidsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInstanceIdA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstanceid : :: windows::core::PSTR , deviceinstanceidsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInstanceIdA(deviceinfoset.into(), deviceinfodata, ::core::mem::transmute(deviceinstanceid.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), deviceinstanceid.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2862,7 +2862,7 @@ pub unsafe fn SetupDiGetDeviceInstanceIdW(deviceinfoset: P0, deviceinfodata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInstanceIdW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstanceid : :: windows::core::PWSTR , deviceinstanceidsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInstanceIdW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstanceid : :: windows::core::PWSTR , deviceinstanceidsize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInstanceIdW(deviceinfoset.into(), deviceinfodata, ::core::mem::transmute(deviceinstanceid.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), deviceinstanceid.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2872,7 +2872,7 @@ pub unsafe fn SetupDiGetDeviceInterfaceAlias(deviceinfoset: P0, deviceinterf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfaceAlias ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , aliasinterfaceclassguid : *const :: windows::core::GUID , aliasdeviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfaceAlias ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , aliasinterfaceclassguid : *const :: windows::core::GUID , aliasdeviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInterfaceAlias(deviceinfoset.into(), deviceinterfacedata, aliasinterfaceclassguid, aliasdeviceinterfacedata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2882,7 +2882,7 @@ pub unsafe fn SetupDiGetDeviceInterfaceDetailA(deviceinfoset: P0, deviceinte where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfaceDetailA ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , deviceinterfacedetaildata : *mut SP_DEVICE_INTERFACE_DETAIL_DATA_A , deviceinterfacedetaildatasize : u32 , requiredsize : *mut u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfaceDetailA ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , deviceinterfacedetaildata : *mut SP_DEVICE_INTERFACE_DETAIL_DATA_A , deviceinterfacedetaildatasize : u32 , requiredsize : *mut u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInterfaceDetailA(deviceinfoset.into(), deviceinterfacedata, ::core::mem::transmute(deviceinterfacedetaildata.unwrap_or(::std::ptr::null_mut())), deviceinterfacedetaildatasize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2892,7 +2892,7 @@ pub unsafe fn SetupDiGetDeviceInterfaceDetailW(deviceinfoset: P0, deviceinte where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfaceDetailW ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , deviceinterfacedetaildata : *mut SP_DEVICE_INTERFACE_DETAIL_DATA_W , deviceinterfacedetaildatasize : u32 , requiredsize : *mut u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfaceDetailW ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , deviceinterfacedetaildata : *mut SP_DEVICE_INTERFACE_DETAIL_DATA_W , deviceinterfacedetaildatasize : u32 , requiredsize : *mut u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInterfaceDetailW(deviceinfoset.into(), deviceinterfacedata, ::core::mem::transmute(deviceinterfacedetaildata.unwrap_or(::std::ptr::null_mut())), deviceinterfacedetaildatasize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -2902,7 +2902,7 @@ pub unsafe fn SetupDiGetDeviceInterfacePropertyKeys(deviceinfoset: P0, devic where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfacePropertyKeys ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : u32 , requiredpropertykeycount : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfacePropertyKeys ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : u32 , requiredpropertykeycount : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInterfacePropertyKeys(deviceinfoset.into(), deviceinterfacedata, ::core::mem::transmute(propertykeyarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertykeyarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredpropertykeycount.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -2912,7 +2912,7 @@ pub unsafe fn SetupDiGetDeviceInterfacePropertyW(deviceinfoset: P0, devicein where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfacePropertyW ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceInterfacePropertyW ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceInterfacePropertyW(deviceinfoset.into(), deviceinterfacedata, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -2922,7 +2922,7 @@ pub unsafe fn SetupDiGetDevicePropertyKeys(deviceinfoset: P0, deviceinfodata where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDevicePropertyKeys ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : u32 , requiredpropertykeycount : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDevicePropertyKeys ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertykeyarray : *mut super::Properties:: DEVPROPKEY , propertykeycount : u32 , requiredpropertykeycount : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDevicePropertyKeys(deviceinfoset.into(), deviceinfodata, ::core::mem::transmute(propertykeyarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertykeyarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredpropertykeycount.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -2932,7 +2932,7 @@ pub unsafe fn SetupDiGetDevicePropertyW(deviceinfoset: P0, deviceinfodata: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDevicePropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDevicePropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDevicePropertyW(deviceinfoset.into(), deviceinfodata, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2942,7 +2942,7 @@ pub unsafe fn SetupDiGetDeviceRegistryPropertyA(deviceinfoset: P0, deviceinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceRegistryPropertyA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , property : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceRegistryPropertyA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , property : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceRegistryPropertyA(deviceinfoset.into(), deviceinfodata, property, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2952,7 +2952,7 @@ pub unsafe fn SetupDiGetDeviceRegistryPropertyW(deviceinfoset: P0, deviceinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceRegistryPropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , property : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDeviceRegistryPropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , property : u32 , propertyregdatatype : *mut u32 , propertybuffer : *mut u8 , propertybuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDeviceRegistryPropertyW(deviceinfoset.into(), deviceinfodata, property, ::core::mem::transmute(propertyregdatatype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2962,7 +2962,7 @@ pub unsafe fn SetupDiGetDriverInfoDetailA(deviceinfoset: P0, deviceinfodata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDriverInfoDetailA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_A , driverinfodetaildata : *mut SP_DRVINFO_DETAIL_DATA_A , driverinfodetaildatasize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDriverInfoDetailA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_A , driverinfodetaildata : *mut SP_DRVINFO_DETAIL_DATA_A , driverinfodetaildatasize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDriverInfoDetailA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, ::core::mem::transmute(driverinfodetaildata.unwrap_or(::std::ptr::null_mut())), driverinfodetaildatasize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2972,7 +2972,7 @@ pub unsafe fn SetupDiGetDriverInfoDetailW(deviceinfoset: P0, deviceinfodata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDriverInfoDetailW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_W , driverinfodetaildata : *mut SP_DRVINFO_DETAIL_DATA_W , driverinfodetaildatasize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDriverInfoDetailW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_W , driverinfodetaildata : *mut SP_DRVINFO_DETAIL_DATA_W , driverinfodetaildatasize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetDriverInfoDetailW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, ::core::mem::transmute(driverinfodetaildata.unwrap_or(::std::ptr::null_mut())), driverinfodetaildatasize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2982,7 +2982,7 @@ pub unsafe fn SetupDiGetDriverInstallParamsA(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDriverInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_A , driverinstallparams : *mut SP_DRVINSTALL_PARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDriverInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_A , driverinstallparams : *mut SP_DRVINSTALL_PARAMS ) -> super::super::Foundation:: BOOL ); SetupDiGetDriverInstallParamsA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, driverinstallparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -2992,14 +2992,14 @@ pub unsafe fn SetupDiGetDriverInstallParamsW(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetDriverInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_W , driverinstallparams : *mut SP_DRVINSTALL_PARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetDriverInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_W , driverinstallparams : *mut SP_DRVINSTALL_PARAMS ) -> super::super::Foundation:: BOOL ); SetupDiGetDriverInstallParamsW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, driverinstallparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiGetHwProfileFriendlyNameA(hwprofile: u32, friendlyname: &mut [u8], requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileFriendlyNameA ( hwprofile : u32 , friendlyname : :: windows::core::PSTR , friendlynamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileFriendlyNameA ( hwprofile : u32 , friendlyname : :: windows::core::PSTR , friendlynamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetHwProfileFriendlyNameA(hwprofile, ::core::mem::transmute(friendlyname.as_ptr()), friendlyname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3009,7 +3009,7 @@ pub unsafe fn SetupDiGetHwProfileFriendlyNameExA(hwprofile: u32, friendlynam where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileFriendlyNameExA ( hwprofile : u32 , friendlyname : :: windows::core::PSTR , friendlynamesize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileFriendlyNameExA ( hwprofile : u32 , friendlyname : :: windows::core::PSTR , friendlynamesize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetHwProfileFriendlyNameExA(hwprofile, ::core::mem::transmute(friendlyname.as_ptr()), friendlyname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3019,21 +3019,21 @@ pub unsafe fn SetupDiGetHwProfileFriendlyNameExW(hwprofile: u32, friendlynam where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileFriendlyNameExW ( hwprofile : u32 , friendlyname : :: windows::core::PWSTR , friendlynamesize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileFriendlyNameExW ( hwprofile : u32 , friendlyname : :: windows::core::PWSTR , friendlynamesize : u32 , requiredsize : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetHwProfileFriendlyNameExW(hwprofile, ::core::mem::transmute(friendlyname.as_ptr()), friendlyname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiGetHwProfileFriendlyNameW(hwprofile: u32, friendlyname: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileFriendlyNameW ( hwprofile : u32 , friendlyname : :: windows::core::PWSTR , friendlynamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileFriendlyNameW ( hwprofile : u32 , friendlyname : :: windows::core::PWSTR , friendlynamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetHwProfileFriendlyNameW(hwprofile, ::core::mem::transmute(friendlyname.as_ptr()), friendlyname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupDiGetHwProfileList(hwprofilelist: &mut [u32], requiredsize: *mut u32, currentlyactiveindex: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileList ( hwprofilelist : *mut u32 , hwprofilelistsize : u32 , requiredsize : *mut u32 , currentlyactiveindex : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileList ( hwprofilelist : *mut u32 , hwprofilelistsize : u32 , requiredsize : *mut u32 , currentlyactiveindex : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetHwProfileList(::core::mem::transmute(hwprofilelist.as_ptr()), hwprofilelist.len() as _, requiredsize, ::core::mem::transmute(currentlyactiveindex.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3043,7 +3043,7 @@ pub unsafe fn SetupDiGetHwProfileListExA(hwprofilelist: &mut [u32], required where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileListExA ( hwprofilelist : *mut u32 , hwprofilelistsize : u32 , requiredsize : *mut u32 , currentlyactiveindex : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileListExA ( hwprofilelist : *mut u32 , hwprofilelistsize : u32 , requiredsize : *mut u32 , currentlyactiveindex : *mut u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetHwProfileListExA(::core::mem::transmute(hwprofilelist.as_ptr()), hwprofilelist.len() as _, requiredsize, ::core::mem::transmute(currentlyactiveindex.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3053,7 +3053,7 @@ pub unsafe fn SetupDiGetHwProfileListExW(hwprofilelist: &mut [u32], required where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileListExW ( hwprofilelist : *mut u32 , hwprofilelistsize : u32 , requiredsize : *mut u32 , currentlyactiveindex : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetHwProfileListExW ( hwprofilelist : *mut u32 , hwprofilelistsize : u32 , requiredsize : *mut u32 , currentlyactiveindex : *mut u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiGetHwProfileListExW(::core::mem::transmute(hwprofilelist.as_ptr()), hwprofilelist.len() as _, requiredsize, ::core::mem::transmute(currentlyactiveindex.unwrap_or(::std::ptr::null_mut())), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3063,7 +3063,7 @@ pub unsafe fn SetupDiGetINFClassA(infname: P0, classguid: *mut ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetINFClassA ( infname : :: windows::core::PCSTR , classguid : *mut :: windows::core::GUID , classname : :: windows::core::PSTR , classnamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetINFClassA ( infname : :: windows::core::PCSTR , classguid : *mut :: windows::core::GUID , classname : :: windows::core::PSTR , classnamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetINFClassA(infname.into().abi(), classguid, ::core::mem::transmute(classname.as_ptr()), classname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3073,7 +3073,7 @@ pub unsafe fn SetupDiGetINFClassW(infname: P0, classguid: *mut ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetINFClassW ( infname : :: windows::core::PCWSTR , classguid : *mut :: windows::core::GUID , classname : :: windows::core::PWSTR , classnamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetINFClassW ( infname : :: windows::core::PCWSTR , classguid : *mut :: windows::core::GUID , classname : :: windows::core::PWSTR , classnamesize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupDiGetINFClassW(infname.into().abi(), classguid, ::core::mem::transmute(classname.as_ptr()), classname.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3083,7 +3083,7 @@ pub unsafe fn SetupDiGetSelectedDevice(deviceinfoset: P0, deviceinfodata: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetSelectedDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetSelectedDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiGetSelectedDevice(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3093,7 +3093,7 @@ pub unsafe fn SetupDiGetSelectedDriverA(deviceinfoset: P0, deviceinfodata: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetSelectedDriverA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *mut SP_DRVINFO_DATA_V2_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetSelectedDriverA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *mut SP_DRVINFO_DATA_V2_A ) -> super::super::Foundation:: BOOL ); SetupDiGetSelectedDriverA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3103,7 +3103,7 @@ pub unsafe fn SetupDiGetSelectedDriverW(deviceinfoset: P0, deviceinfodata: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetSelectedDriverW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *mut SP_DRVINFO_DATA_V2_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetSelectedDriverW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *mut SP_DRVINFO_DATA_V2_W ) -> super::super::Foundation:: BOOL ); SetupDiGetSelectedDriverW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -3113,7 +3113,7 @@ pub unsafe fn SetupDiGetWizardPage(deviceinfoset: P0, deviceinfodata: ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiGetWizardPage ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , installwizarddata : *const SP_INSTALLWIZARD_DATA , pagetype : u32 , flags : u32 ) -> super::super::UI::Controls:: HPROPSHEETPAGE ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiGetWizardPage ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , installwizarddata : *const SP_INSTALLWIZARD_DATA , pagetype : u32 , flags : u32 ) -> super::super::UI::Controls:: HPROPSHEETPAGE ); SetupDiGetWizardPage(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), installwizarddata, pagetype, flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3124,7 +3124,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiInstallClassA ( hwndparent : super::super::Foundation:: HWND , inffilename : :: windows::core::PCSTR , flags : u32 , filequeue : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiInstallClassA ( hwndparent : super::super::Foundation:: HWND , inffilename : :: windows::core::PCSTR , flags : u32 , filequeue : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiInstallClassA(hwndparent.into(), inffilename.into().abi(), flags, ::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3135,7 +3135,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiInstallClassExA ( hwndparent : super::super::Foundation:: HWND , inffilename : :: windows::core::PCSTR , flags : u32 , filequeue : *const ::core::ffi::c_void , interfaceclassguid : *const :: windows::core::GUID , reserved1 : *const ::core::ffi::c_void , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiInstallClassExA ( hwndparent : super::super::Foundation:: HWND , inffilename : :: windows::core::PCSTR , flags : u32 , filequeue : *const ::core::ffi::c_void , interfaceclassguid : *const :: windows::core::GUID , reserved1 : *const ::core::ffi::c_void , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiInstallClassExA(hwndparent.into(), inffilename.into().abi(), flags, ::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null())), ::core::mem::transmute(interfaceclassguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3146,7 +3146,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiInstallClassExW ( hwndparent : super::super::Foundation:: HWND , inffilename : :: windows::core::PCWSTR , flags : u32 , filequeue : *const ::core::ffi::c_void , interfaceclassguid : *const :: windows::core::GUID , reserved1 : *const ::core::ffi::c_void , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiInstallClassExW ( hwndparent : super::super::Foundation:: HWND , inffilename : :: windows::core::PCWSTR , flags : u32 , filequeue : *const ::core::ffi::c_void , interfaceclassguid : *const :: windows::core::GUID , reserved1 : *const ::core::ffi::c_void , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiInstallClassExW(hwndparent.into(), inffilename.into().abi(), flags, ::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null())), ::core::mem::transmute(interfaceclassguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3157,7 +3157,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiInstallClassW ( hwndparent : super::super::Foundation:: HWND , inffilename : :: windows::core::PCWSTR , flags : u32 , filequeue : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiInstallClassW ( hwndparent : super::super::Foundation:: HWND , inffilename : :: windows::core::PCWSTR , flags : u32 , filequeue : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiInstallClassW(hwndparent.into(), inffilename.into().abi(), flags, ::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3167,7 +3167,7 @@ pub unsafe fn SetupDiInstallDevice(deviceinfoset: P0, deviceinfodata: *mut S where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiInstallDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiInstallDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiInstallDevice(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3177,7 +3177,7 @@ pub unsafe fn SetupDiInstallDeviceInterfaces(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiInstallDeviceInterfaces ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiInstallDeviceInterfaces ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiInstallDeviceInterfaces(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3187,14 +3187,14 @@ pub unsafe fn SetupDiInstallDriverFiles(deviceinfoset: P0, deviceinfodata: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiInstallDriverFiles ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiInstallDriverFiles ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiInstallDriverFiles(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn SetupDiLoadClassIcon(classguid: *const ::windows::core::GUID, largeicon: ::core::option::Option<*mut super::super::UI::WindowsAndMessaging::HICON>, miniiconindex: ::core::option::Option<*mut i32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiLoadClassIcon ( classguid : *const :: windows::core::GUID , largeicon : *mut super::super::UI::WindowsAndMessaging:: HICON , miniiconindex : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiLoadClassIcon ( classguid : *const :: windows::core::GUID , largeicon : *mut super::super::UI::WindowsAndMessaging:: HICON , miniiconindex : *mut i32 ) -> super::super::Foundation:: BOOL ); SetupDiLoadClassIcon(classguid, ::core::mem::transmute(largeicon.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(miniiconindex.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3204,16 +3204,16 @@ pub unsafe fn SetupDiLoadDeviceIcon(deviceinfoset: P0, deviceinfodata: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiLoadDeviceIcon ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , cxicon : u32 , cyicon : u32 , flags : u32 , hicon : *mut super::super::UI::WindowsAndMessaging:: HICON ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiLoadDeviceIcon ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , cxicon : u32 , cyicon : u32 , flags : u32 , hicon : *mut super::super::UI::WindowsAndMessaging:: HICON ) -> super::super::Foundation:: BOOL ); SetupDiLoadDeviceIcon(deviceinfoset.into(), deviceinfodata, cxicon, cyicon, flags, hicon) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn SetupDiOpenClassRegKey(classguid: ::core::option::Option<*const ::windows::core::GUID>, samdesired: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenClassRegKey ( classguid : *const :: windows::core::GUID , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenClassRegKey ( classguid : *const :: windows::core::GUID , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiOpenClassRegKey(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] @@ -3222,9 +3222,9 @@ pub unsafe fn SetupDiOpenClassRegKeyExA(classguid: ::core::option::Option<*c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenClassRegKeyExA ( classguid : *const :: windows::core::GUID , samdesired : u32 , flags : u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenClassRegKeyExA ( classguid : *const :: windows::core::GUID , samdesired : u32 , flags : u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiOpenClassRegKeyExA(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), samdesired, flags, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] @@ -3233,9 +3233,9 @@ pub unsafe fn SetupDiOpenClassRegKeyExW(classguid: ::core::option::Option<*c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenClassRegKeyExW ( classguid : *const :: windows::core::GUID , samdesired : u32 , flags : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenClassRegKeyExW ( classguid : *const :: windows::core::GUID , samdesired : u32 , flags : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiOpenClassRegKeyExW(::core::mem::transmute(classguid.unwrap_or(::std::ptr::null())), samdesired, flags, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] @@ -3244,9 +3244,9 @@ pub unsafe fn SetupDiOpenDevRegKey(deviceinfoset: P0, deviceinfodata: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenDevRegKey ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , scope : u32 , hwprofile : u32 , keytype : u32 , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenDevRegKey ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , scope : u32 , hwprofile : u32 , keytype : u32 , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiOpenDevRegKey(deviceinfoset.into(), deviceinfodata, scope, hwprofile, keytype, samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3257,7 +3257,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInfoA ( deviceinfoset : HDEVINFO , deviceinstanceid : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , openflags : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInfoA ( deviceinfoset : HDEVINFO , deviceinstanceid : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , openflags : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiOpenDeviceInfoA(deviceinfoset.into(), deviceinstanceid.into().abi(), hwndparent.into(), openflags, ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3269,7 +3269,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInfoW ( deviceinfoset : HDEVINFO , deviceinstanceid : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , openflags : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInfoW ( deviceinfoset : HDEVINFO , deviceinstanceid : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , openflags : u32 , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiOpenDeviceInfoW(deviceinfoset.into(), deviceinstanceid.into().abi(), hwndparent.into(), openflags, ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3280,7 +3280,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInterfaceA ( deviceinfoset : HDEVINFO , devicepath : :: windows::core::PCSTR , openflags : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInterfaceA ( deviceinfoset : HDEVINFO , devicepath : :: windows::core::PCSTR , openflags : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); SetupDiOpenDeviceInterfaceA(deviceinfoset.into(), devicepath.into().abi(), openflags, ::core::mem::transmute(deviceinterfacedata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_System_Registry\"`*"] @@ -3290,9 +3290,9 @@ pub unsafe fn SetupDiOpenDeviceInterfaceRegKey(deviceinfoset: P0, deviceinte where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInterfaceRegKey ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , reserved : u32 , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInterfaceRegKey ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , reserved : u32 , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = SetupDiOpenDeviceInterfaceRegKey(deviceinfoset.into(), deviceinterfacedata, reserved, samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3302,7 +3302,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInterfaceW ( deviceinfoset : HDEVINFO , devicepath : :: windows::core::PCWSTR , openflags : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiOpenDeviceInterfaceW ( deviceinfoset : HDEVINFO , devicepath : :: windows::core::PCWSTR , openflags : u32 , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); SetupDiOpenDeviceInterfaceW(deviceinfoset.into(), devicepath.into().abi(), openflags, ::core::mem::transmute(deviceinterfacedata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3312,7 +3312,7 @@ pub unsafe fn SetupDiRegisterCoDeviceInstallers(deviceinfoset: P0, deviceinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiRegisterCoDeviceInstallers ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiRegisterCoDeviceInstallers ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiRegisterCoDeviceInstallers(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3322,7 +3322,7 @@ pub unsafe fn SetupDiRegisterDeviceInfo(deviceinfoset: P0, deviceinfodata: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiRegisterDeviceInfo ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , flags : u32 , compareproc : PSP_DETSIG_CMPPROC , comparecontext : *const ::core::ffi::c_void , dupdeviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiRegisterDeviceInfo ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , flags : u32 , compareproc : PSP_DETSIG_CMPPROC , comparecontext : *const ::core::ffi::c_void , dupdeviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiRegisterDeviceInfo(deviceinfoset.into(), deviceinfodata, flags, compareproc, ::core::mem::transmute(comparecontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dupdeviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3332,7 +3332,7 @@ pub unsafe fn SetupDiRemoveDevice(deviceinfoset: P0, deviceinfodata: *mut SP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiRemoveDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiRemoveDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiRemoveDevice(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3342,7 +3342,7 @@ pub unsafe fn SetupDiRemoveDeviceInterface(deviceinfoset: P0, deviceinterfac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiRemoveDeviceInterface ( deviceinfoset : HDEVINFO , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiRemoveDeviceInterface ( deviceinfoset : HDEVINFO , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA ) -> super::super::Foundation:: BOOL ); SetupDiRemoveDeviceInterface(deviceinfoset.into(), deviceinterfacedata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3352,7 +3352,7 @@ pub unsafe fn SetupDiRestartDevices(deviceinfoset: P0, deviceinfodata: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiRestartDevices ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiRestartDevices ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiRestartDevices(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3362,7 +3362,7 @@ pub unsafe fn SetupDiSelectBestCompatDrv(deviceinfoset: P0, deviceinfodata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSelectBestCompatDrv ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSelectBestCompatDrv ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiSelectBestCompatDrv(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3372,7 +3372,7 @@ pub unsafe fn SetupDiSelectDevice(deviceinfoset: P0, deviceinfodata: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSelectDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSelectDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiSelectDevice(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3383,7 +3383,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSelectOEMDrv ( hwndparent : super::super::Foundation:: HWND , deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSelectOEMDrv ( hwndparent : super::super::Foundation:: HWND , deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiSelectOEMDrv(hwndparent.into(), deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3393,7 +3393,7 @@ pub unsafe fn SetupDiSetClassInstallParamsA(deviceinfoset: P0, deviceinfodat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetClassInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , classinstallparams : *const SP_CLASSINSTALL_HEADER , classinstallparamssize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetClassInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , classinstallparams : *const SP_CLASSINSTALL_HEADER , classinstallparamssize : u32 ) -> super::super::Foundation:: BOOL ); SetupDiSetClassInstallParamsA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(classinstallparams.unwrap_or(::std::ptr::null())), classinstallparamssize) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3403,7 +3403,7 @@ pub unsafe fn SetupDiSetClassInstallParamsW(deviceinfoset: P0, deviceinfodat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetClassInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , classinstallparams : *const SP_CLASSINSTALL_HEADER , classinstallparamssize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetClassInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , classinstallparams : *const SP_CLASSINSTALL_HEADER , classinstallparamssize : u32 ) -> super::super::Foundation:: BOOL ); SetupDiSetClassInstallParamsW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(classinstallparams.unwrap_or(::std::ptr::null())), classinstallparamssize) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -3413,14 +3413,14 @@ pub unsafe fn SetupDiSetClassPropertyExW(classguid: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetClassPropertyExW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , flags : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetClassPropertyExW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , flags : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiSetClassPropertyExW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), flags, machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] #[inline] pub unsafe fn SetupDiSetClassPropertyW(classguid: *const ::windows::core::GUID, propertykey: *const super::Properties::DEVPROPKEY, propertytype: u32, propertybuffer: ::core::option::Option<&[u8]>, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetClassPropertyW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetClassPropertyW ( classguid : *const :: windows::core::GUID , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiSetClassPropertyW(classguid, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3430,7 +3430,7 @@ pub unsafe fn SetupDiSetClassRegistryPropertyA(classguid: *const ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetClassRegistryPropertyA ( classguid : *const :: windows::core::GUID , property : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetClassRegistryPropertyA ( classguid : *const :: windows::core::GUID , property : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , machinename : :: windows::core::PCSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiSetClassRegistryPropertyA(classguid, property, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3440,7 +3440,7 @@ pub unsafe fn SetupDiSetClassRegistryPropertyW(classguid: *const ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetClassRegistryPropertyW ( classguid : *const :: windows::core::GUID , property : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetClassRegistryPropertyW ( classguid : *const :: windows::core::GUID , property : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , machinename : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiSetClassRegistryPropertyW(classguid, property, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), machinename.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3450,7 +3450,7 @@ pub unsafe fn SetupDiSetDeviceInstallParamsA(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstallparams : *const SP_DEVINSTALL_PARAMS_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstallparams : *const SP_DEVINSTALL_PARAMS_A ) -> super::super::Foundation:: BOOL ); SetupDiSetDeviceInstallParamsA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), deviceinstallparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3460,7 +3460,7 @@ pub unsafe fn SetupDiSetDeviceInstallParamsW(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstallparams : *const SP_DEVINSTALL_PARAMS_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , deviceinstallparams : *const SP_DEVINSTALL_PARAMS_W ) -> super::super::Foundation:: BOOL ); SetupDiSetDeviceInstallParamsW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), deviceinstallparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3470,7 +3470,7 @@ pub unsafe fn SetupDiSetDeviceInterfaceDefault(deviceinfoset: P0, deviceinte where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceInterfaceDefault ( deviceinfoset : HDEVINFO , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA , flags : u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceInterfaceDefault ( deviceinfoset : HDEVINFO , deviceinterfacedata : *mut SP_DEVICE_INTERFACE_DATA , flags : u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupDiSetDeviceInterfaceDefault(deviceinfoset.into(), deviceinterfacedata, flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -3480,7 +3480,7 @@ pub unsafe fn SetupDiSetDeviceInterfacePropertyW(deviceinfoset: P0, devicein where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceInterfacePropertyW ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceInterfacePropertyW ( deviceinfoset : HDEVINFO , deviceinterfacedata : *const SP_DEVICE_INTERFACE_DATA , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiSetDeviceInterfacePropertyW(deviceinfoset.into(), deviceinterfacedata, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -3490,7 +3490,7 @@ pub unsafe fn SetupDiSetDevicePropertyW(deviceinfoset: P0, deviceinfodata: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDevicePropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDevicePropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , propertykey : *const super::Properties:: DEVPROPKEY , propertytype : u32 , propertybuffer : *const u8 , propertybuffersize : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupDiSetDevicePropertyW(deviceinfoset.into(), deviceinfodata, propertykey, propertytype, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3500,7 +3500,7 @@ pub unsafe fn SetupDiSetDeviceRegistryPropertyA(deviceinfoset: P0, deviceinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceRegistryPropertyA ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , property : u32 , propertybuffer : *const u8 , propertybuffersize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceRegistryPropertyA ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , property : u32 , propertybuffer : *const u8 , propertybuffersize : u32 ) -> super::super::Foundation:: BOOL ); SetupDiSetDeviceRegistryPropertyA(deviceinfoset.into(), deviceinfodata, property, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3510,7 +3510,7 @@ pub unsafe fn SetupDiSetDeviceRegistryPropertyW(deviceinfoset: P0, deviceinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceRegistryPropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , property : u32 , propertybuffer : *const u8 , propertybuffersize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDeviceRegistryPropertyW ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , property : u32 , propertybuffer : *const u8 , propertybuffersize : u32 ) -> super::super::Foundation:: BOOL ); SetupDiSetDeviceRegistryPropertyW(deviceinfoset.into(), deviceinfodata, property, ::core::mem::transmute(propertybuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), propertybuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3520,7 +3520,7 @@ pub unsafe fn SetupDiSetDriverInstallParamsA(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDriverInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_A , driverinstallparams : *const SP_DRVINSTALL_PARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDriverInstallParamsA ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_A , driverinstallparams : *const SP_DRVINSTALL_PARAMS ) -> super::super::Foundation:: BOOL ); SetupDiSetDriverInstallParamsA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, driverinstallparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3530,7 +3530,7 @@ pub unsafe fn SetupDiSetDriverInstallParamsW(deviceinfoset: P0, deviceinfoda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetDriverInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_W , driverinstallparams : *const SP_DRVINSTALL_PARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetDriverInstallParamsW ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , driverinfodata : *const SP_DRVINFO_DATA_V2_W , driverinstallparams : *const SP_DRVINSTALL_PARAMS ) -> super::super::Foundation:: BOOL ); SetupDiSetDriverInstallParamsW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), driverinfodata, driverinstallparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3540,7 +3540,7 @@ pub unsafe fn SetupDiSetSelectedDevice(deviceinfoset: P0, deviceinfodata: *c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetSelectedDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetSelectedDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiSetSelectedDevice(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3550,7 +3550,7 @@ pub unsafe fn SetupDiSetSelectedDriverA(deviceinfoset: P0, deviceinfodata: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetSelectedDriverA ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , driverinfodata : *mut SP_DRVINFO_DATA_V2_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetSelectedDriverA ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , driverinfodata : *mut SP_DRVINFO_DATA_V2_A ) -> super::super::Foundation:: BOOL ); SetupDiSetSelectedDriverA(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(driverinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3560,7 +3560,7 @@ pub unsafe fn SetupDiSetSelectedDriverW(deviceinfoset: P0, deviceinfodata: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiSetSelectedDriverW ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , driverinfodata : *mut SP_DRVINFO_DATA_V2_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiSetSelectedDriverW ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA , driverinfodata : *mut SP_DRVINFO_DATA_V2_W ) -> super::super::Foundation:: BOOL ); SetupDiSetSelectedDriverW(deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(driverinfodata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3570,33 +3570,33 @@ pub unsafe fn SetupDiUnremoveDevice(deviceinfoset: P0, deviceinfodata: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDiUnremoveDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDiUnremoveDevice ( deviceinfoset : HDEVINFO , deviceinfodata : *mut SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupDiUnremoveDevice(deviceinfoset.into(), deviceinfodata) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupDuplicateDiskSpaceListA(diskspace: *const ::core::ffi::c_void, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDuplicateDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , flags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDuplicateDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , flags : u32 ) -> *mut ::core::ffi::c_void ); SetupDuplicateDiskSpaceListA(diskspace, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupDuplicateDiskSpaceListW(diskspace: *const ::core::ffi::c_void, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: u32, flags: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupDuplicateDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , flags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupDuplicateDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , flags : u32 ) -> *mut ::core::ffi::c_void ); SetupDuplicateDiskSpaceListW(diskspace, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupEnumInfSectionsA(infhandle: *const ::core::ffi::c_void, index: u32, buffer: ::core::option::Option<&mut [u8]>, sizeneeded: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupEnumInfSectionsA ( infhandle : *const ::core::ffi::c_void , index : u32 , buffer : :: windows::core::PSTR , size : u32 , sizeneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupEnumInfSectionsA ( infhandle : *const ::core::ffi::c_void , index : u32 , buffer : :: windows::core::PSTR , size : u32 , sizeneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupEnumInfSectionsA(infhandle, index, ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(sizeneeded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupEnumInfSectionsW(infhandle: *const ::core::ffi::c_void, index: u32, buffer: ::core::option::Option<&mut [u16]>, sizeneeded: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupEnumInfSectionsW ( infhandle : *const ::core::ffi::c_void , index : u32 , buffer : :: windows::core::PWSTR , size : u32 , sizeneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupEnumInfSectionsW ( infhandle : *const ::core::ffi::c_void , index : u32 , buffer : :: windows::core::PWSTR , size : u32 , sizeneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupEnumInfSectionsW(infhandle, index, ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(sizeneeded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3607,7 +3607,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupFindFirstLineA ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR , key : :: windows::core::PCSTR , context : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupFindFirstLineA ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR , key : :: windows::core::PCSTR , context : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); SetupFindFirstLineA(infhandle, section.into().abi(), key.into().abi(), context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3618,14 +3618,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupFindFirstLineW ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR , key : :: windows::core::PCWSTR , context : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupFindFirstLineW ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR , key : :: windows::core::PCWSTR , context : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); SetupFindFirstLineW(infhandle, section.into().abi(), key.into().abi(), context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupFindNextLine(contextin: *const INFCONTEXT, contextout: *mut INFCONTEXT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupFindNextLine ( contextin : *const INFCONTEXT , contextout : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupFindNextLine ( contextin : *const INFCONTEXT , contextout : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); SetupFindNextLine(contextin, contextout) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3635,7 +3635,7 @@ pub unsafe fn SetupFindNextMatchLineA(contextin: *const INFCONTEXT, key: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupFindNextMatchLineA ( contextin : *const INFCONTEXT , key : :: windows::core::PCSTR , contextout : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupFindNextMatchLineA ( contextin : *const INFCONTEXT , key : :: windows::core::PCSTR , contextout : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); SetupFindNextMatchLineA(contextin, key.into().abi(), contextout) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3645,48 +3645,48 @@ pub unsafe fn SetupFindNextMatchLineW(contextin: *const INFCONTEXT, key: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupFindNextMatchLineW ( contextin : *const INFCONTEXT , key : :: windows::core::PCWSTR , contextout : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupFindNextMatchLineW ( contextin : *const INFCONTEXT , key : :: windows::core::PCWSTR , contextout : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); SetupFindNextMatchLineW(contextin, key.into().abi(), contextout) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupFreeSourceListA(list: &mut [*mut ::windows::core::PSTR]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupFreeSourceListA ( list : *mut *mut :: windows::core::PSTR , count : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupFreeSourceListA ( list : *mut *mut :: windows::core::PSTR , count : u32 ) -> super::super::Foundation:: BOOL ); SetupFreeSourceListA(::core::mem::transmute(list.as_ptr()), list.len() as _) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupFreeSourceListW(list: &mut [*mut ::windows::core::PWSTR]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupFreeSourceListW ( list : *mut *mut :: windows::core::PWSTR , count : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupFreeSourceListW ( list : *mut *mut :: windows::core::PWSTR , count : u32 ) -> super::super::Foundation:: BOOL ); SetupFreeSourceListW(::core::mem::transmute(list.as_ptr()), list.len() as _) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetBackupInformationA(queuehandle: *const ::core::ffi::c_void, backupparams: *mut SP_BACKUP_QUEUE_PARAMS_V2_A) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetBackupInformationA ( queuehandle : *const ::core::ffi::c_void , backupparams : *mut SP_BACKUP_QUEUE_PARAMS_V2_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetBackupInformationA ( queuehandle : *const ::core::ffi::c_void , backupparams : *mut SP_BACKUP_QUEUE_PARAMS_V2_A ) -> super::super::Foundation:: BOOL ); SetupGetBackupInformationA(queuehandle, backupparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetBackupInformationW(queuehandle: *const ::core::ffi::c_void, backupparams: *mut SP_BACKUP_QUEUE_PARAMS_V2_W) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetBackupInformationW ( queuehandle : *const ::core::ffi::c_void , backupparams : *mut SP_BACKUP_QUEUE_PARAMS_V2_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetBackupInformationW ( queuehandle : *const ::core::ffi::c_void , backupparams : *mut SP_BACKUP_QUEUE_PARAMS_V2_W ) -> super::super::Foundation:: BOOL ); SetupGetBackupInformationW(queuehandle, backupparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetBinaryField(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetBinaryField ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : *mut u8 , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetBinaryField ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : *mut u8 , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetBinaryField(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupGetFieldCount(context: *const INFCONTEXT) -> u32 { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetFieldCount ( context : *const INFCONTEXT ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetFieldCount ( context : *const INFCONTEXT ) -> u32 ); SetupGetFieldCount(context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3695,7 +3695,7 @@ pub unsafe fn SetupGetFileCompressionInfoA(sourcefilename: P0, actualsourcef where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetFileCompressionInfoA ( sourcefilename : :: windows::core::PCSTR , actualsourcefilename : *mut :: windows::core::PSTR , sourcefilesize : *mut u32 , targetfilesize : *mut u32 , compressiontype : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetFileCompressionInfoA ( sourcefilename : :: windows::core::PCSTR , actualsourcefilename : *mut :: windows::core::PSTR , sourcefilesize : *mut u32 , targetfilesize : *mut u32 , compressiontype : *mut u32 ) -> u32 ); SetupGetFileCompressionInfoA(sourcefilename.into().abi(), actualsourcefilename, sourcefilesize, targetfilesize, compressiontype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3705,7 +3705,7 @@ pub unsafe fn SetupGetFileCompressionInfoExA(sourcefilename: P0, actualsourc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetFileCompressionInfoExA ( sourcefilename : :: windows::core::PCSTR , actualsourcefilenamebuffer : :: windows::core::PCSTR , actualsourcefilenamebufferlen : u32 , requiredbufferlen : *mut u32 , sourcefilesize : *mut u32 , targetfilesize : *mut u32 , compressiontype : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetFileCompressionInfoExA ( sourcefilename : :: windows::core::PCSTR , actualsourcefilenamebuffer : :: windows::core::PCSTR , actualsourcefilenamebufferlen : u32 , requiredbufferlen : *mut u32 , sourcefilesize : *mut u32 , targetfilesize : *mut u32 , compressiontype : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetFileCompressionInfoExA(sourcefilename.into().abi(), ::core::mem::transmute(actualsourcefilenamebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), actualsourcefilenamebuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredbufferlen.unwrap_or(::std::ptr::null_mut())), sourcefilesize, targetfilesize, compressiontype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3715,7 +3715,7 @@ pub unsafe fn SetupGetFileCompressionInfoExW(sourcefilename: P0, actualsourc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetFileCompressionInfoExW ( sourcefilename : :: windows::core::PCWSTR , actualsourcefilenamebuffer : :: windows::core::PCWSTR , actualsourcefilenamebufferlen : u32 , requiredbufferlen : *mut u32 , sourcefilesize : *mut u32 , targetfilesize : *mut u32 , compressiontype : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetFileCompressionInfoExW ( sourcefilename : :: windows::core::PCWSTR , actualsourcefilenamebuffer : :: windows::core::PCWSTR , actualsourcefilenamebufferlen : u32 , requiredbufferlen : *mut u32 , sourcefilesize : *mut u32 , targetfilesize : *mut u32 , compressiontype : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetFileCompressionInfoExW(sourcefilename.into().abi(), ::core::mem::transmute(actualsourcefilenamebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), actualsourcefilenamebuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredbufferlen.unwrap_or(::std::ptr::null_mut())), sourcefilesize, targetfilesize, compressiontype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3724,21 +3724,21 @@ pub unsafe fn SetupGetFileCompressionInfoW(sourcefilename: P0, actualsourcef where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetFileCompressionInfoW ( sourcefilename : :: windows::core::PCWSTR , actualsourcefilename : *mut :: windows::core::PWSTR , sourcefilesize : *mut u32 , targetfilesize : *mut u32 , compressiontype : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetFileCompressionInfoW ( sourcefilename : :: windows::core::PCWSTR , actualsourcefilename : *mut :: windows::core::PWSTR , sourcefilesize : *mut u32 , targetfilesize : *mut u32 , compressiontype : *mut u32 ) -> u32 ); SetupGetFileCompressionInfoW(sourcefilename.into().abi(), actualsourcefilename, sourcefilesize, targetfilesize, compressiontype) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetFileQueueCount(filequeue: *const ::core::ffi::c_void, subqueuefileop: u32, numoperations: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetFileQueueCount ( filequeue : *const ::core::ffi::c_void , subqueuefileop : u32 , numoperations : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetFileQueueCount ( filequeue : *const ::core::ffi::c_void , subqueuefileop : u32 , numoperations : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetFileQueueCount(filequeue, subqueuefileop, numoperations) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetFileQueueFlags(filequeue: *const ::core::ffi::c_void, flags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetFileQueueFlags ( filequeue : *const ::core::ffi::c_void , flags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetFileQueueFlags ( filequeue : *const ::core::ffi::c_void , flags : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetFileQueueFlags(filequeue, flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -3749,7 +3749,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetInfDriverStoreLocationA ( filename : :: windows::core::PCSTR , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , localename : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetInfDriverStoreLocationA ( filename : :: windows::core::PCSTR , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , localename : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetInfDriverStoreLocationA(filename.into().abi(), ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), localename.into().abi(), ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -3760,7 +3760,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetInfDriverStoreLocationW ( filename : :: windows::core::PCWSTR , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , localename : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetInfDriverStoreLocationW ( filename : :: windows::core::PCWSTR , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , localename : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetInfDriverStoreLocationW(filename.into().abi(), ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), localename.into().abi(), ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3770,7 +3770,7 @@ pub unsafe fn SetupGetInfFileListA(directorypath: P0, infstyle: u32, returnb where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetInfFileListA ( directorypath : :: windows::core::PCSTR , infstyle : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetInfFileListA ( directorypath : :: windows::core::PCSTR , infstyle : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetInfFileListA(directorypath.into().abi(), infstyle, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3780,21 +3780,21 @@ pub unsafe fn SetupGetInfFileListW(directorypath: P0, infstyle: u32, returnb where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetInfFileListW ( directorypath : :: windows::core::PCWSTR , infstyle : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetInfFileListW ( directorypath : :: windows::core::PCWSTR , infstyle : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetInfFileListW(directorypath.into().abi(), infstyle, ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetInfInformationA(infspec: *const ::core::ffi::c_void, searchcontrol: u32, returnbuffer: ::core::option::Option<*mut SP_INF_INFORMATION>, returnbuffersize: u32, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetInfInformationA ( infspec : *const ::core::ffi::c_void , searchcontrol : u32 , returnbuffer : *mut SP_INF_INFORMATION , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetInfInformationA ( infspec : *const ::core::ffi::c_void , searchcontrol : u32 , returnbuffer : *mut SP_INF_INFORMATION , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetInfInformationA(infspec, searchcontrol, ::core::mem::transmute(returnbuffer.unwrap_or(::std::ptr::null_mut())), returnbuffersize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetInfInformationW(infspec: *const ::core::ffi::c_void, searchcontrol: u32, returnbuffer: ::core::option::Option<*mut SP_INF_INFORMATION>, returnbuffersize: u32, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetInfInformationW ( infspec : *const ::core::ffi::c_void , searchcontrol : u32 , returnbuffer : *mut SP_INF_INFORMATION , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetInfInformationW ( infspec : *const ::core::ffi::c_void , searchcontrol : u32 , returnbuffer : *mut SP_INF_INFORMATION , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetInfInformationW(infspec, searchcontrol, ::core::mem::transmute(returnbuffer.unwrap_or(::std::ptr::null_mut())), returnbuffersize, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3804,7 +3804,7 @@ pub unsafe fn SetupGetInfPublishedNameA(driverstorelocation: P0, returnbuffe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetInfPublishedNameA ( driverstorelocation : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetInfPublishedNameA ( driverstorelocation : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetInfPublishedNameA(driverstorelocation.into().abi(), ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3814,14 +3814,14 @@ pub unsafe fn SetupGetInfPublishedNameW(driverstorelocation: P0, returnbuffe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetInfPublishedNameW ( driverstorelocation : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetInfPublishedNameW ( driverstorelocation : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetInfPublishedNameW(driverstorelocation.into().abi(), ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetIntField(context: *const INFCONTEXT, fieldindex: u32, integervalue: *mut i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetIntField ( context : *const INFCONTEXT , fieldindex : u32 , integervalue : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetIntField ( context : *const INFCONTEXT , fieldindex : u32 , integervalue : *mut i32 ) -> super::super::Foundation:: BOOL ); SetupGetIntField(context, fieldindex, integervalue) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3831,7 +3831,7 @@ pub unsafe fn SetupGetLineByIndexA(infhandle: *const ::core::ffi::c_void, se where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetLineByIndexA ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR , index : u32 , context : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetLineByIndexA ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR , index : u32 , context : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); SetupGetLineByIndexA(infhandle, section.into().abi(), index, context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3841,7 +3841,7 @@ pub unsafe fn SetupGetLineByIndexW(infhandle: *const ::core::ffi::c_void, se where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetLineByIndexW ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR , index : u32 , context : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetLineByIndexW ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR , index : u32 , context : *mut INFCONTEXT ) -> super::super::Foundation:: BOOL ); SetupGetLineByIndexW(infhandle, section.into().abi(), index, context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3850,7 +3850,7 @@ pub unsafe fn SetupGetLineCountA(infhandle: *const ::core::ffi::c_void, sect where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetLineCountA ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetLineCountA ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR ) -> i32 ); SetupGetLineCountA(infhandle, section.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3859,7 +3859,7 @@ pub unsafe fn SetupGetLineCountW(infhandle: *const ::core::ffi::c_void, sect where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetLineCountW ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetLineCountW ( infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR ) -> i32 ); SetupGetLineCountW(infhandle, section.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3870,7 +3870,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetLineTextA ( context : *const INFCONTEXT , infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR , key : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetLineTextA ( context : *const INFCONTEXT , infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR , key : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetLineTextA(::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), section.into().abi(), key.into().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3881,28 +3881,28 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetLineTextW ( context : *const INFCONTEXT , infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR , key : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetLineTextW ( context : *const INFCONTEXT , infhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR , key : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetLineTextW(::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), section.into().abi(), key.into().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetMultiSzFieldA(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetMultiSzFieldA ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetMultiSzFieldA ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetMultiSzFieldA(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetMultiSzFieldW(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetMultiSzFieldW ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetMultiSzFieldW ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetMultiSzFieldW(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetNonInteractiveMode() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetNonInteractiveMode ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetNonInteractiveMode ( ) -> super::super::Foundation:: BOOL ); SetupGetNonInteractiveMode() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3912,7 +3912,7 @@ pub unsafe fn SetupGetSourceFileLocationA(infhandle: *const ::core::ffi::c_v where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetSourceFileLocationA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , filename : :: windows::core::PCSTR , sourceid : *mut u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetSourceFileLocationA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , filename : :: windows::core::PCSTR , sourceid : *mut u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetSourceFileLocationA(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), filename.into().abi(), sourceid, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3922,7 +3922,7 @@ pub unsafe fn SetupGetSourceFileLocationW(infhandle: *const ::core::ffi::c_v where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetSourceFileLocationW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , filename : :: windows::core::PCWSTR , sourceid : *mut u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetSourceFileLocationW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , filename : :: windows::core::PCWSTR , sourceid : *mut u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetSourceFileLocationW(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), filename.into().abi(), sourceid, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3933,7 +3933,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetSourceFileSizeA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , filename : :: windows::core::PCSTR , section : :: windows::core::PCSTR , filesize : *mut u32 , roundingfactor : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetSourceFileSizeA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , filename : :: windows::core::PCSTR , section : :: windows::core::PCSTR , filesize : *mut u32 , roundingfactor : u32 ) -> super::super::Foundation:: BOOL ); SetupGetSourceFileSizeA(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), filename.into().abi(), section.into().abi(), filesize, roundingfactor) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3944,35 +3944,35 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetSourceFileSizeW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , filename : :: windows::core::PCWSTR , section : :: windows::core::PCWSTR , filesize : *mut u32 , roundingfactor : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetSourceFileSizeW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , filename : :: windows::core::PCWSTR , section : :: windows::core::PCWSTR , filesize : *mut u32 , roundingfactor : u32 ) -> super::super::Foundation:: BOOL ); SetupGetSourceFileSizeW(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), filename.into().abi(), section.into().abi(), filesize, roundingfactor) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetSourceInfoA(infhandle: *const ::core::ffi::c_void, sourceid: u32, infodesired: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetSourceInfoA ( infhandle : *const ::core::ffi::c_void , sourceid : u32 , infodesired : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetSourceInfoA ( infhandle : *const ::core::ffi::c_void , sourceid : u32 , infodesired : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetSourceInfoA(infhandle, sourceid, infodesired, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetSourceInfoW(infhandle: *const ::core::ffi::c_void, sourceid: u32, infodesired: u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetSourceInfoW ( infhandle : *const ::core::ffi::c_void , sourceid : u32 , infodesired : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetSourceInfoW ( infhandle : *const ::core::ffi::c_void , sourceid : u32 , infodesired : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetSourceInfoW(infhandle, sourceid, infodesired, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetStringFieldA(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetStringFieldA ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetStringFieldA ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetStringFieldA(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupGetStringFieldW(context: *const INFCONTEXT, fieldindex: u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetStringFieldW ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetStringFieldW ( context : *const INFCONTEXT , fieldindex : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetStringFieldW(context, fieldindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3982,7 +3982,7 @@ pub unsafe fn SetupGetTargetPathA(infhandle: *const ::core::ffi::c_void, inf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetTargetPathA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , section : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetTargetPathA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , section : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetTargetPathA(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), section.into().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -3992,13 +3992,13 @@ pub unsafe fn SetupGetTargetPathW(infhandle: *const ::core::ffi::c_void, inf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetTargetPathW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , section : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetTargetPathW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , section : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupGetTargetPathW(infhandle, ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), section.into().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupGetThreadLogToken() -> u64 { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupGetThreadLogToken ( ) -> u64 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupGetThreadLogToken ( ) -> u64 ); SetupGetThreadLogToken() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4008,7 +4008,7 @@ pub unsafe fn SetupInitDefaultQueueCallback(ownerwindow: P0) -> *mut ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInitDefaultQueueCallback ( ownerwindow : super::super::Foundation:: HWND ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInitDefaultQueueCallback ( ownerwindow : super::super::Foundation:: HWND ) -> *mut ::core::ffi::c_void ); SetupInitDefaultQueueCallback(ownerwindow.into()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4019,7 +4019,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInitDefaultQueueCallbackEx ( ownerwindow : super::super::Foundation:: HWND , alternateprogresswindow : super::super::Foundation:: HWND , progressmessage : u32 , reserved1 : u32 , reserved2 : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInitDefaultQueueCallbackEx ( ownerwindow : super::super::Foundation:: HWND , alternateprogresswindow : super::super::Foundation:: HWND , progressmessage : u32 , reserved1 : u32 , reserved2 : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); SetupInitDefaultQueueCallbackEx(ownerwindow.into(), alternateprogresswindow.into(), progressmessage, reserved1, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -4028,7 +4028,7 @@ pub unsafe fn SetupInitializeFileLogA(logfilename: P0, flags: u32) -> *mut : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInitializeFileLogA ( logfilename : :: windows::core::PCSTR , flags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInitializeFileLogA ( logfilename : :: windows::core::PCSTR , flags : u32 ) -> *mut ::core::ffi::c_void ); SetupInitializeFileLogA(logfilename.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -4037,7 +4037,7 @@ pub unsafe fn SetupInitializeFileLogW(logfilename: P0, flags: u32) -> *mut : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInitializeFileLogW ( logfilename : :: windows::core::PCWSTR , flags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInitializeFileLogW ( logfilename : :: windows::core::PCWSTR , flags : u32 ) -> *mut ::core::ffi::c_void ); SetupInitializeFileLogW(logfilename.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4049,7 +4049,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallFileA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , sourcefile : :: windows::core::PCSTR , sourcepathroot : :: windows::core::PCSTR , destinationname : :: windows::core::PCSTR , copystyle : SP_COPY_STYLE , copymsghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallFileA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , sourcefile : :: windows::core::PCSTR , sourcepathroot : :: windows::core::PCSTR , destinationname : :: windows::core::PCSTR , copystyle : SP_COPY_STYLE , copymsghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupInstallFileA(::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), sourcefile.into().abi(), sourcepathroot.into().abi(), destinationname.into().abi(), copystyle, copymsghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4061,7 +4061,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallFileExA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , sourcefile : :: windows::core::PCSTR , sourcepathroot : :: windows::core::PCSTR , destinationname : :: windows::core::PCSTR , copystyle : SP_COPY_STYLE , copymsghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void , filewasinuse : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallFileExA ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , sourcefile : :: windows::core::PCSTR , sourcepathroot : :: windows::core::PCSTR , destinationname : :: windows::core::PCSTR , copystyle : SP_COPY_STYLE , copymsghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void , filewasinuse : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetupInstallFileExA(::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), sourcefile.into().abi(), sourcepathroot.into().abi(), destinationname.into().abi(), copystyle, copymsghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), filewasinuse) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4073,7 +4073,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallFileExW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , sourcefile : :: windows::core::PCWSTR , sourcepathroot : :: windows::core::PCWSTR , destinationname : :: windows::core::PCWSTR , copystyle : SP_COPY_STYLE , copymsghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void , filewasinuse : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallFileExW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , sourcefile : :: windows::core::PCWSTR , sourcepathroot : :: windows::core::PCWSTR , destinationname : :: windows::core::PCWSTR , copystyle : SP_COPY_STYLE , copymsghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void , filewasinuse : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetupInstallFileExW(::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), sourcefile.into().abi(), sourcepathroot.into().abi(), destinationname.into().abi(), copystyle, copymsghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), filewasinuse) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4085,7 +4085,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallFileW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , sourcefile : :: windows::core::PCWSTR , sourcepathroot : :: windows::core::PCWSTR , destinationname : :: windows::core::PCWSTR , copystyle : SP_COPY_STYLE , copymsghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallFileW ( infhandle : *const ::core::ffi::c_void , infcontext : *const INFCONTEXT , sourcefile : :: windows::core::PCWSTR , sourcepathroot : :: windows::core::PCWSTR , destinationname : :: windows::core::PCWSTR , copystyle : SP_COPY_STYLE , copymsghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupInstallFileW(::core::mem::transmute(infhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(infcontext.unwrap_or(::std::ptr::null())), sourcefile.into().abi(), sourcepathroot.into().abi(), destinationname.into().abi(), copystyle, copymsghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4096,7 +4096,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallFilesFromInfSectionA ( infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , filequeue : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , sourcerootpath : :: windows::core::PCSTR , copyflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallFilesFromInfSectionA ( infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , filequeue : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , sourcerootpath : :: windows::core::PCSTR , copyflags : u32 ) -> super::super::Foundation:: BOOL ); SetupInstallFilesFromInfSectionA(infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), filequeue, sectionname.into().abi(), sourcerootpath.into().abi(), copyflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4107,7 +4107,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallFilesFromInfSectionW ( infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , filequeue : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , sourcerootpath : :: windows::core::PCWSTR , copyflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallFilesFromInfSectionW ( infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , filequeue : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , sourcerootpath : :: windows::core::PCWSTR , copyflags : u32 ) -> super::super::Foundation:: BOOL ); SetupInstallFilesFromInfSectionW(infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), filequeue, sectionname.into().abi(), sourcerootpath.into().abi(), copyflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4121,7 +4121,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallFromInfSectionA ( owner : super::super::Foundation:: HWND , infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , flags : u32 , relativekeyroot : super::super::System::Registry:: HKEY , sourcerootpath : :: windows::core::PCSTR , copyflags : u32 , msghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallFromInfSectionA ( owner : super::super::Foundation:: HWND , infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , flags : u32 , relativekeyroot : super::super::System::Registry:: HKEY , sourcerootpath : :: windows::core::PCSTR , copyflags : u32 , msghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupInstallFromInfSectionA(owner.into(), infhandle, sectionname.into().abi(), flags, relativekeyroot.into(), sourcerootpath.into().abi(), copyflags, msghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4135,7 +4135,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallFromInfSectionW ( owner : super::super::Foundation:: HWND , infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , flags : u32 , relativekeyroot : super::super::System::Registry:: HKEY , sourcerootpath : :: windows::core::PCWSTR , copyflags : u32 , msghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallFromInfSectionW ( owner : super::super::Foundation:: HWND , infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , flags : u32 , relativekeyroot : super::super::System::Registry:: HKEY , sourcerootpath : :: windows::core::PCWSTR , copyflags : u32 , msghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA ) -> super::super::Foundation:: BOOL ); SetupInstallFromInfSectionW(owner.into(), infhandle, sectionname.into().abi(), flags, relativekeyroot.into(), sourcerootpath.into().abi(), copyflags, msghandler, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4145,7 +4145,7 @@ pub unsafe fn SetupInstallServicesFromInfSectionA(infhandle: *const ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallServicesFromInfSectionA ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallServicesFromInfSectionA ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupInstallServicesFromInfSectionA(infhandle, sectionname.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4156,7 +4156,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallServicesFromInfSectionExA ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , flags : u32 , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , reserved1 : *const ::core::ffi::c_void , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallServicesFromInfSectionExA ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , flags : u32 , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , reserved1 : *const ::core::ffi::c_void , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupInstallServicesFromInfSectionExA(infhandle, sectionname.into().abi(), flags, deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4167,7 +4167,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallServicesFromInfSectionExW ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , flags : u32 , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , reserved1 : *const ::core::ffi::c_void , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallServicesFromInfSectionExW ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , flags : u32 , deviceinfoset : HDEVINFO , deviceinfodata : *const SP_DEVINFO_DATA , reserved1 : *const ::core::ffi::c_void , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupInstallServicesFromInfSectionExW(infhandle, sectionname.into().abi(), flags, deviceinfoset.into(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4177,7 +4177,7 @@ pub unsafe fn SetupInstallServicesFromInfSectionW(infhandle: *const ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupInstallServicesFromInfSectionW ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupInstallServicesFromInfSectionW ( infhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupInstallServicesFromInfSectionW(infhandle, sectionname.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4187,7 +4187,7 @@ pub unsafe fn SetupIterateCabinetA(cabinetfile: P0, reserved: u32, msghandle where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupIterateCabinetA ( cabinetfile : :: windows::core::PCSTR , reserved : u32 , msghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupIterateCabinetA ( cabinetfile : :: windows::core::PCSTR , reserved : u32 , msghandler : PSP_FILE_CALLBACK_A , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupIterateCabinetA(cabinetfile.into().abi(), reserved, msghandler, context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4197,7 +4197,7 @@ pub unsafe fn SetupIterateCabinetW(cabinetfile: P0, reserved: u32, msghandle where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupIterateCabinetW ( cabinetfile : :: windows::core::PCWSTR , reserved : u32 , msghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupIterateCabinetW ( cabinetfile : :: windows::core::PCWSTR , reserved : u32 , msghandler : PSP_FILE_CALLBACK_W , context : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupIterateCabinetW(cabinetfile.into().abi(), reserved, msghandler, context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4207,7 +4207,7 @@ pub unsafe fn SetupLogErrorA(messagestring: P0, severity: u32) -> super::sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupLogErrorA ( messagestring : :: windows::core::PCSTR , severity : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupLogErrorA ( messagestring : :: windows::core::PCSTR , severity : u32 ) -> super::super::Foundation:: BOOL ); SetupLogErrorA(messagestring.into().abi(), severity) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4217,7 +4217,7 @@ pub unsafe fn SetupLogErrorW(messagestring: P0, severity: u32) -> super::sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupLogErrorW ( messagestring : :: windows::core::PCWSTR , severity : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupLogErrorW ( messagestring : :: windows::core::PCWSTR , severity : u32 ) -> super::super::Foundation:: BOOL ); SetupLogErrorW(messagestring.into().abi(), severity) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4232,7 +4232,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupLogFileA ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCSTR , sourcefilename : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , checksum : u32 , disktagfile : :: windows::core::PCSTR , diskdescription : :: windows::core::PCSTR , otherinfo : :: windows::core::PCSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupLogFileA ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCSTR , sourcefilename : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , checksum : u32 , disktagfile : :: windows::core::PCSTR , diskdescription : :: windows::core::PCSTR , otherinfo : :: windows::core::PCSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupLogFileA(fileloghandle, logsectionname.into().abi(), sourcefilename.into().abi(), targetfilename.into().abi(), checksum, disktagfile.into().abi(), diskdescription.into().abi(), otherinfo.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4247,7 +4247,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupLogFileW ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCWSTR , sourcefilename : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , checksum : u32 , disktagfile : :: windows::core::PCWSTR , diskdescription : :: windows::core::PCWSTR , otherinfo : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupLogFileW ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCWSTR , sourcefilename : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , checksum : u32 , disktagfile : :: windows::core::PCWSTR , diskdescription : :: windows::core::PCWSTR , otherinfo : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupLogFileW(fileloghandle, logsectionname.into().abi(), sourcefilename.into().abi(), targetfilename.into().abi(), checksum, disktagfile.into().abi(), diskdescription.into().abi(), otherinfo.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4257,7 +4257,7 @@ pub unsafe fn SetupOpenAppendInfFileA(filename: P0, infhandle: *const ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupOpenAppendInfFileA ( filename : :: windows::core::PCSTR , infhandle : *const ::core::ffi::c_void , errorline : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupOpenAppendInfFileA ( filename : :: windows::core::PCSTR , infhandle : *const ::core::ffi::c_void , errorline : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupOpenAppendInfFileA(filename.into().abi(), infhandle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4267,13 +4267,13 @@ pub unsafe fn SetupOpenAppendInfFileW(filename: P0, infhandle: *const ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupOpenAppendInfFileW ( filename : :: windows::core::PCWSTR , infhandle : *const ::core::ffi::c_void , errorline : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupOpenAppendInfFileW ( filename : :: windows::core::PCWSTR , infhandle : *const ::core::ffi::c_void , errorline : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupOpenAppendInfFileW(filename.into().abi(), infhandle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupOpenFileQueue() -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupOpenFileQueue ( ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupOpenFileQueue ( ) -> *mut ::core::ffi::c_void ); SetupOpenFileQueue() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -4283,7 +4283,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupOpenInfFileA ( filename : :: windows::core::PCSTR , infclass : :: windows::core::PCSTR , infstyle : u32 , errorline : *mut u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupOpenInfFileA ( filename : :: windows::core::PCSTR , infclass : :: windows::core::PCSTR , infstyle : u32 , errorline : *mut u32 ) -> *mut ::core::ffi::c_void ); SetupOpenInfFileA(filename.into().abi(), infclass.into().abi(), infstyle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -4293,7 +4293,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupOpenInfFileW ( filename : :: windows::core::PCWSTR , infclass : :: windows::core::PCWSTR , infstyle : u32 , errorline : *mut u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupOpenInfFileW ( filename : :: windows::core::PCWSTR , infclass : :: windows::core::PCWSTR , infstyle : u32 , errorline : *mut u32 ) -> *mut ::core::ffi::c_void ); SetupOpenInfFileW(filename.into().abi(), infclass.into().abi(), infstyle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4303,13 +4303,13 @@ pub unsafe fn SetupOpenLog(erase: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupOpenLog ( erase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupOpenLog ( erase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetupOpenLog(erase.into()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupOpenMasterInf() -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupOpenMasterInf ( ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupOpenMasterInf ( ) -> *mut ::core::ffi::c_void ); SetupOpenMasterInf() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4319,7 +4319,7 @@ pub unsafe fn SetupPrepareQueueForRestoreA(queuehandle: *const ::core::ffi:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupPrepareQueueForRestoreA ( queuehandle : *const ::core::ffi::c_void , backuppath : :: windows::core::PCSTR , restoreflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupPrepareQueueForRestoreA ( queuehandle : *const ::core::ffi::c_void , backuppath : :: windows::core::PCSTR , restoreflags : u32 ) -> super::super::Foundation:: BOOL ); SetupPrepareQueueForRestoreA(queuehandle, backuppath.into().abi(), restoreflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4329,7 +4329,7 @@ pub unsafe fn SetupPrepareQueueForRestoreW(queuehandle: *const ::core::ffi:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupPrepareQueueForRestoreW ( queuehandle : *const ::core::ffi::c_void , backuppath : :: windows::core::PCWSTR , restoreflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupPrepareQueueForRestoreW ( queuehandle : *const ::core::ffi::c_void , backuppath : :: windows::core::PCWSTR , restoreflags : u32 ) -> super::super::Foundation:: BOOL ); SetupPrepareQueueForRestoreW(queuehandle, backuppath.into().abi(), restoreflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4344,7 +4344,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupPromptForDiskA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , diskname : :: windows::core::PCSTR , pathtosource : :: windows::core::PCSTR , filesought : :: windows::core::PCSTR , tagfile : :: windows::core::PCSTR , diskpromptstyle : u32 , pathbuffer : :: windows::core::PSTR , pathbuffersize : u32 , pathrequiredsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupPromptForDiskA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , diskname : :: windows::core::PCSTR , pathtosource : :: windows::core::PCSTR , filesought : :: windows::core::PCSTR , tagfile : :: windows::core::PCSTR , diskpromptstyle : u32 , pathbuffer : :: windows::core::PSTR , pathbuffersize : u32 , pathrequiredsize : *mut u32 ) -> u32 ); SetupPromptForDiskA(hwndparent.into(), dialogtitle.into().abi(), diskname.into().abi(), pathtosource.into().abi(), filesought.into().abi(), tagfile.into().abi(), diskpromptstyle, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pathrequiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4359,7 +4359,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupPromptForDiskW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , diskname : :: windows::core::PCWSTR , pathtosource : :: windows::core::PCWSTR , filesought : :: windows::core::PCWSTR , tagfile : :: windows::core::PCWSTR , diskpromptstyle : u32 , pathbuffer : :: windows::core::PWSTR , pathbuffersize : u32 , pathrequiredsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupPromptForDiskW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , diskname : :: windows::core::PCWSTR , pathtosource : :: windows::core::PCWSTR , filesought : :: windows::core::PCWSTR , tagfile : :: windows::core::PCWSTR , diskpromptstyle : u32 , pathbuffer : :: windows::core::PWSTR , pathbuffersize : u32 , pathrequiredsize : *mut u32 ) -> u32 ); SetupPromptForDiskW(hwndparent.into(), dialogtitle.into().abi(), diskname.into().abi(), pathtosource.into().abi(), filesought.into().abi(), tagfile.into().abi(), diskpromptstyle, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pathrequiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4370,21 +4370,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupPromptReboot ( filequeue : *const ::core::ffi::c_void , owner : super::super::Foundation:: HWND , scanonly : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupPromptReboot ( filequeue : *const ::core::ffi::c_void , owner : super::super::Foundation:: HWND , scanonly : super::super::Foundation:: BOOL ) -> i32 ); SetupPromptReboot(::core::mem::transmute(filequeue.unwrap_or(::std::ptr::null())), owner.into(), scanonly.into()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupQueryDrivesInDiskSpaceListA(diskspace: *const ::core::ffi::c_void, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryDrivesInDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryDrivesInDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQueryDrivesInDiskSpaceListA(diskspace, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupQueryDrivesInDiskSpaceListW(diskspace: *const ::core::ffi::c_void, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryDrivesInDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryDrivesInDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQueryDrivesInDiskSpaceListW(diskspace, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4395,7 +4395,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryFileLogA ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , desiredinfo : SetupFileLogInfo , dataout : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryFileLogA ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , desiredinfo : SetupFileLogInfo , dataout : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQueryFileLogA(fileloghandle, logsectionname.into().abi(), targetfilename.into().abi(), desiredinfo, ::core::mem::transmute(dataout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dataout.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4406,35 +4406,35 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryFileLogW ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , desiredinfo : SetupFileLogInfo , dataout : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryFileLogW ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , desiredinfo : SetupFileLogInfo , dataout : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQueryFileLogW(fileloghandle, logsectionname.into().abi(), targetfilename.into().abi(), desiredinfo, ::core::mem::transmute(dataout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dataout.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupQueryInfFileInformationA(infinformation: *const SP_INF_INFORMATION, infindex: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryInfFileInformationA ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryInfFileInformationA ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQueryInfFileInformationA(infinformation, infindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupQueryInfFileInformationW(infinformation: *const SP_INF_INFORMATION, infindex: u32, returnbuffer: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryInfFileInformationW ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryInfFileInformationW ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQueryInfFileInformationW(infinformation, infindex, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] pub unsafe fn SetupQueryInfOriginalFileInformationA(infinformation: *const SP_INF_INFORMATION, infindex: u32, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, originalfileinfo: *mut SP_ORIGINAL_FILE_INFO_A) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryInfOriginalFileInformationA ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , originalfileinfo : *mut SP_ORIGINAL_FILE_INFO_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryInfOriginalFileInformationA ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , originalfileinfo : *mut SP_ORIGINAL_FILE_INFO_A ) -> super::super::Foundation:: BOOL ); SetupQueryInfOriginalFileInformationA(infinformation, infindex, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), originalfileinfo) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] pub unsafe fn SetupQueryInfOriginalFileInformationW(infinformation: *const SP_INF_INFORMATION, infindex: u32, alternateplatforminfo: ::core::option::Option<*const SP_ALTPLATFORM_INFO_V2>, originalfileinfo: *mut SP_ORIGINAL_FILE_INFO_W) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryInfOriginalFileInformationW ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , originalfileinfo : *mut SP_ORIGINAL_FILE_INFO_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryInfOriginalFileInformationW ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , originalfileinfo : *mut SP_ORIGINAL_FILE_INFO_W ) -> super::super::Foundation:: BOOL ); SetupQueryInfOriginalFileInformationW(infinformation, infindex, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), originalfileinfo) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4444,7 +4444,7 @@ pub unsafe fn SetupQueryInfVersionInformationA(infinformation: *const SP_INF where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryInfVersionInformationA ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , key : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryInfVersionInformationA ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , key : :: windows::core::PCSTR , returnbuffer : :: windows::core::PSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQueryInfVersionInformationA(infinformation, infindex, key.into().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4454,21 +4454,21 @@ pub unsafe fn SetupQueryInfVersionInformationW(infinformation: *const SP_INF where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueryInfVersionInformationW ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , key : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueryInfVersionInformationW ( infinformation : *const SP_INF_INFORMATION , infindex : u32 , key : :: windows::core::PCWSTR , returnbuffer : :: windows::core::PWSTR , returnbuffersize : u32 , requiredsize : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQueryInfVersionInformationW(infinformation, infindex, key.into().abi(), ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupQuerySourceListA(flags: u32, list: *mut *mut ::windows::core::PSTR, count: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQuerySourceListA ( flags : u32 , list : *mut *mut :: windows::core::PSTR , count : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQuerySourceListA ( flags : u32 , list : *mut *mut :: windows::core::PSTR , count : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQuerySourceListA(flags, list, count) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupQuerySourceListW(flags: u32, list: *mut *mut ::windows::core::PWSTR, count: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQuerySourceListW ( flags : u32 , list : *mut *mut :: windows::core::PWSTR , count : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQuerySourceListW ( flags : u32 , list : *mut *mut :: windows::core::PWSTR , count : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupQuerySourceListW(flags, list, count) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4478,7 +4478,7 @@ pub unsafe fn SetupQuerySpaceRequiredOnDriveA(diskspace: *const ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQuerySpaceRequiredOnDriveA ( diskspace : *const ::core::ffi::c_void , drivespec : :: windows::core::PCSTR , spacerequired : *mut i64 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQuerySpaceRequiredOnDriveA ( diskspace : *const ::core::ffi::c_void , drivespec : :: windows::core::PCSTR , spacerequired : *mut i64 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupQuerySpaceRequiredOnDriveA(diskspace, drivespec.into().abi(), spacerequired, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4488,7 +4488,7 @@ pub unsafe fn SetupQuerySpaceRequiredOnDriveW(diskspace: *const ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQuerySpaceRequiredOnDriveW ( diskspace : *const ::core::ffi::c_void , drivespec : :: windows::core::PCWSTR , spacerequired : *mut i64 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQuerySpaceRequiredOnDriveW ( diskspace : *const ::core::ffi::c_void , drivespec : :: windows::core::PCWSTR , spacerequired : *mut i64 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupQuerySpaceRequiredOnDriveW(diskspace, drivespec.into().abi(), spacerequired, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4504,21 +4504,21 @@ where P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueCopyA ( queuehandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCSTR , sourcepath : :: windows::core::PCSTR , sourcefilename : :: windows::core::PCSTR , sourcedescription : :: windows::core::PCSTR , sourcetagfile : :: windows::core::PCSTR , targetdirectory : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueCopyA ( queuehandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCSTR , sourcepath : :: windows::core::PCSTR , sourcefilename : :: windows::core::PCSTR , sourcedescription : :: windows::core::PCSTR , sourcetagfile : :: windows::core::PCSTR , targetdirectory : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); SetupQueueCopyA(queuehandle, sourcerootpath.into().abi(), sourcepath.into().abi(), sourcefilename.into().abi(), sourcedescription.into().abi(), sourcetagfile.into().abi(), targetdirectory.into().abi(), targetfilename.into().abi(), copystyle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupQueueCopyIndirectA(copyparams: *const SP_FILE_COPY_PARAMS_A) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueCopyIndirectA ( copyparams : *const SP_FILE_COPY_PARAMS_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueCopyIndirectA ( copyparams : *const SP_FILE_COPY_PARAMS_A ) -> super::super::Foundation:: BOOL ); SetupQueueCopyIndirectA(copyparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupQueueCopyIndirectW(copyparams: *const SP_FILE_COPY_PARAMS_W) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueCopyIndirectW ( copyparams : *const SP_FILE_COPY_PARAMS_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueCopyIndirectW ( copyparams : *const SP_FILE_COPY_PARAMS_W ) -> super::super::Foundation:: BOOL ); SetupQueueCopyIndirectW(copyparams) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4529,7 +4529,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueCopySectionA ( queuehandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCSTR , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueCopySectionA ( queuehandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCSTR , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); SetupQueueCopySectionA(queuehandle, sourcerootpath.into().abi(), infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into().abi(), copystyle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4540,7 +4540,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueCopySectionW ( queuehandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCWSTR , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueCopySectionW ( queuehandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCWSTR , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); SetupQueueCopySectionW(queuehandle, sourcerootpath.into().abi(), infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into().abi(), copystyle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4556,7 +4556,7 @@ where P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueCopyW ( queuehandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCWSTR , sourcepath : :: windows::core::PCWSTR , sourcefilename : :: windows::core::PCWSTR , sourcedescription : :: windows::core::PCWSTR , sourcetagfile : :: windows::core::PCWSTR , targetdirectory : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueCopyW ( queuehandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCWSTR , sourcepath : :: windows::core::PCWSTR , sourcefilename : :: windows::core::PCWSTR , sourcedescription : :: windows::core::PCWSTR , sourcetagfile : :: windows::core::PCWSTR , targetdirectory : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); SetupQueueCopyW(queuehandle, sourcerootpath.into().abi(), sourcepath.into().abi(), sourcefilename.into().abi(), sourcedescription.into().abi(), sourcetagfile.into().abi(), targetdirectory.into().abi(), targetfilename.into().abi(), copystyle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4568,7 +4568,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueDefaultCopyA ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCSTR , sourcefilename : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueDefaultCopyA ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCSTR , sourcefilename : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); SetupQueueDefaultCopyA(queuehandle, infhandle, sourcerootpath.into().abi(), sourcefilename.into().abi(), targetfilename.into().abi(), copystyle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4580,7 +4580,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueDefaultCopyW ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCWSTR , sourcefilename : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueDefaultCopyW ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , sourcerootpath : :: windows::core::PCWSTR , sourcefilename : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR , copystyle : u32 ) -> super::super::Foundation:: BOOL ); SetupQueueDefaultCopyW(queuehandle, infhandle, sourcerootpath.into().abi(), sourcefilename.into().abi(), targetfilename.into().abi(), copystyle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4591,7 +4591,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueDeleteA ( queuehandle : *const ::core::ffi::c_void , pathpart1 : :: windows::core::PCSTR , pathpart2 : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueDeleteA ( queuehandle : *const ::core::ffi::c_void , pathpart1 : :: windows::core::PCSTR , pathpart2 : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupQueueDeleteA(queuehandle, pathpart1.into().abi(), pathpart2.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4601,7 +4601,7 @@ pub unsafe fn SetupQueueDeleteSectionA(queuehandle: *const ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueDeleteSectionA ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueDeleteSectionA ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupQueueDeleteSectionA(queuehandle, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4611,7 +4611,7 @@ pub unsafe fn SetupQueueDeleteSectionW(queuehandle: *const ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueDeleteSectionW ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueDeleteSectionW ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupQueueDeleteSectionW(queuehandle, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4622,7 +4622,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueDeleteW ( queuehandle : *const ::core::ffi::c_void , pathpart1 : :: windows::core::PCWSTR , pathpart2 : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueDeleteW ( queuehandle : *const ::core::ffi::c_void , pathpart1 : :: windows::core::PCWSTR , pathpart2 : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupQueueDeleteW(queuehandle, pathpart1.into().abi(), pathpart2.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4635,7 +4635,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueRenameA ( queuehandle : *const ::core::ffi::c_void , sourcepath : :: windows::core::PCSTR , sourcefilename : :: windows::core::PCSTR , targetpath : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueRenameA ( queuehandle : *const ::core::ffi::c_void , sourcepath : :: windows::core::PCSTR , sourcefilename : :: windows::core::PCSTR , targetpath : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupQueueRenameA(queuehandle, sourcepath.into().abi(), sourcefilename.into().abi(), targetpath.into().abi(), targetfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4645,7 +4645,7 @@ pub unsafe fn SetupQueueRenameSectionA(queuehandle: *const ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueRenameSectionA ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueRenameSectionA ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupQueueRenameSectionA(queuehandle, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4655,7 +4655,7 @@ pub unsafe fn SetupQueueRenameSectionW(queuehandle: *const ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueRenameSectionW ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueRenameSectionW ( queuehandle : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , section : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupQueueRenameSectionW(queuehandle, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), section.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4668,7 +4668,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupQueueRenameW ( queuehandle : *const ::core::ffi::c_void , sourcepath : :: windows::core::PCWSTR , sourcefilename : :: windows::core::PCWSTR , targetpath : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupQueueRenameW ( queuehandle : *const ::core::ffi::c_void , sourcepath : :: windows::core::PCWSTR , sourcefilename : :: windows::core::PCWSTR , targetpath : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupQueueRenameW(queuehandle, sourcepath.into().abi(), sourcefilename.into().abi(), targetpath.into().abi(), targetfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4679,7 +4679,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveFileLogEntryA ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveFileLogEntryA ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCSTR , targetfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupRemoveFileLogEntryA(fileloghandle, logsectionname.into().abi(), targetfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4690,7 +4690,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveFileLogEntryW ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveFileLogEntryW ( fileloghandle : *const ::core::ffi::c_void , logsectionname : :: windows::core::PCWSTR , targetfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupRemoveFileLogEntryW(fileloghandle, logsectionname.into().abi(), targetfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4700,7 +4700,7 @@ pub unsafe fn SetupRemoveFromDiskSpaceListA(diskspace: *const ::core::ffi::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveFromDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , targetfilespec : :: windows::core::PCSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveFromDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , targetfilespec : :: windows::core::PCSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupRemoveFromDiskSpaceListA(diskspace, targetfilespec.into().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4710,7 +4710,7 @@ pub unsafe fn SetupRemoveFromDiskSpaceListW(diskspace: *const ::core::ffi::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveFromDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , targetfilespec : :: windows::core::PCWSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveFromDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , targetfilespec : :: windows::core::PCWSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupRemoveFromDiskSpaceListW(diskspace, targetfilespec.into().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4720,7 +4720,7 @@ pub unsafe fn SetupRemoveFromSourceListA(flags: u32, source: P0) -> super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveFromSourceListA ( flags : u32 , source : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveFromSourceListA ( flags : u32 , source : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupRemoveFromSourceListA(flags, source.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4730,7 +4730,7 @@ pub unsafe fn SetupRemoveFromSourceListW(flags: u32, source: P0) -> super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveFromSourceListW ( flags : u32 , source : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveFromSourceListW ( flags : u32 , source : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupRemoveFromSourceListW(flags, source.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4740,7 +4740,7 @@ pub unsafe fn SetupRemoveInstallSectionFromDiskSpaceListA(diskspace: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveInstallSectionFromDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveInstallSectionFromDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupRemoveInstallSectionFromDiskSpaceListA(diskspace, infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), sectionname.into().abi(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4750,7 +4750,7 @@ pub unsafe fn SetupRemoveInstallSectionFromDiskSpaceListW(diskspace: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveInstallSectionFromDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveInstallSectionFromDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , layoutinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupRemoveInstallSectionFromDiskSpaceListW(diskspace, infhandle, ::core::mem::transmute(layoutinfhandle.unwrap_or(::std::ptr::null())), sectionname.into().abi(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4760,7 +4760,7 @@ pub unsafe fn SetupRemoveSectionFromDiskSpaceListA(diskspace: *const ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveSectionFromDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveSectionFromDiskSpaceListA ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupRemoveSectionFromDiskSpaceListA(diskspace, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), sectionname.into().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4770,7 +4770,7 @@ pub unsafe fn SetupRemoveSectionFromDiskSpaceListW(diskspace: *const ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRemoveSectionFromDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRemoveSectionFromDiskSpaceListW ( diskspace : *const ::core::ffi::c_void , infhandle : *const ::core::ffi::c_void , listinfhandle : *const ::core::ffi::c_void , sectionname : :: windows::core::PCWSTR , operation : SETUP_FILE_OPERATION , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 ) -> super::super::Foundation:: BOOL ); SetupRemoveSectionFromDiskSpaceListW(diskspace, infhandle, ::core::mem::transmute(listinfhandle.unwrap_or(::std::ptr::null())), sectionname.into().abi(), operation, ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4783,7 +4783,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRenameErrorA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , sourcefile : :: windows::core::PCSTR , targetfile : :: windows::core::PCSTR , win32errorcode : u32 , style : u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRenameErrorA ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCSTR , sourcefile : :: windows::core::PCSTR , targetfile : :: windows::core::PCSTR , win32errorcode : u32 , style : u32 ) -> u32 ); SetupRenameErrorA(hwndparent.into(), dialogtitle.into().abi(), sourcefile.into().abi(), targetfile.into().abi(), win32errorcode, style) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4796,7 +4796,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupRenameErrorW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , sourcefile : :: windows::core::PCWSTR , targetfile : :: windows::core::PCWSTR , win32errorcode : u32 , style : u32 ) -> u32 ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupRenameErrorW ( hwndparent : super::super::Foundation:: HWND , dialogtitle : :: windows::core::PCWSTR , sourcefile : :: windows::core::PCWSTR , targetfile : :: windows::core::PCWSTR , win32errorcode : u32 , style : u32 ) -> u32 ); SetupRenameErrorW(hwndparent.into(), dialogtitle.into().abi(), sourcefile.into().abi(), targetfile.into().abi(), win32errorcode, style) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4806,7 +4806,7 @@ pub unsafe fn SetupScanFileQueueA(filequeue: *const ::core::ffi::c_void, fla where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupScanFileQueueA ( filequeue : *const ::core::ffi::c_void , flags : u32 , window : super::super::Foundation:: HWND , callbackroutine : PSP_FILE_CALLBACK_A , callbackcontext : *const ::core::ffi::c_void , result : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupScanFileQueueA ( filequeue : *const ::core::ffi::c_void , flags : u32 , window : super::super::Foundation:: HWND , callbackroutine : PSP_FILE_CALLBACK_A , callbackcontext : *const ::core::ffi::c_void , result : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupScanFileQueueA(filequeue, flags, window.into(), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), result) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4816,7 +4816,7 @@ pub unsafe fn SetupScanFileQueueW(filequeue: *const ::core::ffi::c_void, fla where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupScanFileQueueW ( filequeue : *const ::core::ffi::c_void , flags : u32 , window : super::super::Foundation:: HWND , callbackroutine : PSP_FILE_CALLBACK_W , callbackcontext : *const ::core::ffi::c_void , result : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupScanFileQueueW ( filequeue : *const ::core::ffi::c_void , flags : u32 , window : super::super::Foundation:: HWND , callbackroutine : PSP_FILE_CALLBACK_W , callbackcontext : *const ::core::ffi::c_void , result : *mut u32 ) -> super::super::Foundation:: BOOL ); SetupScanFileQueueW(filequeue, flags, window.into(), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), result) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4826,7 +4826,7 @@ pub unsafe fn SetupSetDirectoryIdA(infhandle: *const ::core::ffi::c_void, id where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetDirectoryIdA ( infhandle : *const ::core::ffi::c_void , id : u32 , directory : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetDirectoryIdA ( infhandle : *const ::core::ffi::c_void , id : u32 , directory : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupSetDirectoryIdA(infhandle, id, directory.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4836,7 +4836,7 @@ pub unsafe fn SetupSetDirectoryIdExA(infhandle: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetDirectoryIdExA ( infhandle : *const ::core::ffi::c_void , id : u32 , directory : :: windows::core::PCSTR , flags : u32 , reserved1 : u32 , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetDirectoryIdExA ( infhandle : *const ::core::ffi::c_void , id : u32 , directory : :: windows::core::PCSTR , flags : u32 , reserved1 : u32 , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupSetDirectoryIdExA(infhandle, id, directory.into().abi(), flags, reserved1, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4846,7 +4846,7 @@ pub unsafe fn SetupSetDirectoryIdExW(infhandle: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetDirectoryIdExW ( infhandle : *const ::core::ffi::c_void , id : u32 , directory : :: windows::core::PCWSTR , flags : u32 , reserved1 : u32 , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetDirectoryIdExW ( infhandle : *const ::core::ffi::c_void , id : u32 , directory : :: windows::core::PCWSTR , flags : u32 , reserved1 : u32 , reserved2 : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupSetDirectoryIdExW(infhandle, id, directory.into().abi(), flags, reserved1, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4856,7 +4856,7 @@ pub unsafe fn SetupSetDirectoryIdW(infhandle: *const ::core::ffi::c_void, id where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetDirectoryIdW ( infhandle : *const ::core::ffi::c_void , id : u32 , directory : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetDirectoryIdW ( infhandle : *const ::core::ffi::c_void , id : u32 , directory : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupSetDirectoryIdW(infhandle, id, directory.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -4866,7 +4866,7 @@ pub unsafe fn SetupSetFileQueueAlternatePlatformA(queuehandle: *const ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetFileQueueAlternatePlatformA ( queuehandle : *const ::core::ffi::c_void , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , alternatedefaultcatalogfile : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetFileQueueAlternatePlatformA ( queuehandle : *const ::core::ffi::c_void , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , alternatedefaultcatalogfile : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupSetFileQueueAlternatePlatformA(queuehandle, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), alternatedefaultcatalogfile.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -4876,14 +4876,14 @@ pub unsafe fn SetupSetFileQueueAlternatePlatformW(queuehandle: *const ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetFileQueueAlternatePlatformW ( queuehandle : *const ::core::ffi::c_void , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , alternatedefaultcatalogfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetFileQueueAlternatePlatformW ( queuehandle : *const ::core::ffi::c_void , alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , alternatedefaultcatalogfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupSetFileQueueAlternatePlatformW(queuehandle, ::core::mem::transmute(alternateplatforminfo.unwrap_or(::std::ptr::null())), alternatedefaultcatalogfile.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupSetFileQueueFlags(filequeue: *const ::core::ffi::c_void, flagmask: u32, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetFileQueueFlags ( filequeue : *const ::core::ffi::c_void , flagmask : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetFileQueueFlags ( filequeue : *const ::core::ffi::c_void , flagmask : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SetupSetFileQueueFlags(filequeue, flagmask, flags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4893,7 +4893,7 @@ pub unsafe fn SetupSetNonInteractiveMode(noninteractiveflag: P0) -> super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetNonInteractiveMode ( noninteractiveflag : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetNonInteractiveMode ( noninteractiveflag : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetupSetNonInteractiveMode(noninteractiveflag.into()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4903,7 +4903,7 @@ pub unsafe fn SetupSetPlatformPathOverrideA(r#override: P0) -> super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetPlatformPathOverrideA ( r#override : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetPlatformPathOverrideA ( r#override : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetupSetPlatformPathOverrideA(r#override.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4913,47 +4913,47 @@ pub unsafe fn SetupSetPlatformPathOverrideW(r#override: P0) -> super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetPlatformPathOverrideW ( r#override : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetPlatformPathOverrideW ( r#override : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetupSetPlatformPathOverrideW(r#override.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupSetSourceListA(flags: u32, sourcelist: &[::windows::core::PCSTR]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetSourceListA ( flags : u32 , sourcelist : *const :: windows::core::PCSTR , sourcecount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetSourceListA ( flags : u32 , sourcelist : *const :: windows::core::PCSTR , sourcecount : u32 ) -> super::super::Foundation:: BOOL ); SetupSetSourceListA(flags, ::core::mem::transmute(sourcelist.as_ptr()), sourcelist.len() as _) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupSetSourceListW(flags: u32, sourcelist: &[::windows::core::PCWSTR]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetSourceListW ( flags : u32 , sourcelist : *const :: windows::core::PCWSTR , sourcecount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetSourceListW ( flags : u32 , sourcelist : *const :: windows::core::PCWSTR , sourcecount : u32 ) -> super::super::Foundation:: BOOL ); SetupSetSourceListW(flags, ::core::mem::transmute(sourcelist.as_ptr()), sourcelist.len() as _) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupSetThreadLogToken(logtoken: u64) { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupSetThreadLogToken ( logtoken : u64 ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupSetThreadLogToken ( logtoken : u64 ) -> ( ) ); SetupSetThreadLogToken(logtoken) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupTermDefaultQueueCallback(context: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupTermDefaultQueueCallback ( context : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupTermDefaultQueueCallback ( context : *const ::core::ffi::c_void ) -> ( ) ); SetupTermDefaultQueueCallback(context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupTerminateFileLog(fileloghandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupTerminateFileLog ( fileloghandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupTerminateFileLog ( fileloghandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupTerminateFileLog(fileloghandle) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetupUninstallNewlyCopiedInfs(filequeue: *const ::core::ffi::c_void, flags: u32, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupUninstallNewlyCopiedInfs ( filequeue : *const ::core::ffi::c_void , flags : u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupUninstallNewlyCopiedInfs ( filequeue : *const ::core::ffi::c_void , flags : u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupUninstallNewlyCopiedInfs(filequeue, flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4963,7 +4963,7 @@ pub unsafe fn SetupUninstallOEMInfA(inffilename: P0, flags: u32, reserved: : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupUninstallOEMInfA ( inffilename : :: windows::core::PCSTR , flags : u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupUninstallOEMInfA ( inffilename : :: windows::core::PCSTR , flags : u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupUninstallOEMInfA(inffilename.into().abi(), flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4973,7 +4973,7 @@ pub unsafe fn SetupUninstallOEMInfW(inffilename: P0, flags: u32, reserved: : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupUninstallOEMInfW ( inffilename : :: windows::core::PCWSTR , flags : u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupUninstallOEMInfW ( inffilename : :: windows::core::PCWSTR , flags : u32 , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetupUninstallOEMInfW(inffilename.into().abi(), flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -4983,7 +4983,7 @@ pub unsafe fn SetupVerifyInfFileA(infname: P0, altplatforminfo: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupVerifyInfFileA ( infname : :: windows::core::PCSTR , altplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsignerinfo : *mut SP_INF_SIGNER_INFO_V2_A ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupVerifyInfFileA ( infname : :: windows::core::PCSTR , altplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsignerinfo : *mut SP_INF_SIGNER_INFO_V2_A ) -> super::super::Foundation:: BOOL ); SetupVerifyInfFileA(infname.into().abi(), ::core::mem::transmute(altplatforminfo.unwrap_or(::std::ptr::null())), infsignerinfo) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -4993,7 +4993,7 @@ pub unsafe fn SetupVerifyInfFileW(infname: P0, altplatforminfo: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupVerifyInfFileW ( infname : :: windows::core::PCWSTR , altplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsignerinfo : *mut SP_INF_SIGNER_INFO_V2_W ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupVerifyInfFileW ( infname : :: windows::core::PCWSTR , altplatforminfo : *const SP_ALTPLATFORM_INFO_V2 , infsignerinfo : *mut SP_INF_SIGNER_INFO_V2_W ) -> super::super::Foundation:: BOOL ); SetupVerifyInfFileW(infname.into().abi(), ::core::mem::transmute(altplatforminfo.unwrap_or(::std::ptr::null())), infsignerinfo) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5002,7 +5002,7 @@ pub unsafe fn SetupWriteTextLog(logtoken: u64, category: u32, flags: u32, me where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""cdecl" fn SetupWriteTextLog ( logtoken : u64 , category : u32 , flags : u32 , messagestr : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""cdecl" fn SetupWriteTextLog ( logtoken : u64 , category : u32 , flags : u32 , messagestr : :: windows::core::PCSTR ) -> ( ) ); SetupWriteTextLog(logtoken, category, flags, messagestr.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5011,13 +5011,13 @@ pub unsafe fn SetupWriteTextLogError(logtoken: u64, category: u32, logflags: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "setupapi.dll""cdecl" fn SetupWriteTextLogError ( logtoken : u64 , category : u32 , logflags : u32 , error : u32 , messagestr : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""cdecl" fn SetupWriteTextLogError ( logtoken : u64 , category : u32 , logflags : u32 , error : u32 , messagestr : :: windows::core::PCSTR ) -> ( ) ); SetupWriteTextLogError(logtoken, category, logflags, error, messagestr.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] pub unsafe fn SetupWriteTextLogInfLine(logtoken: u64, flags: u32, infhandle: *const ::core::ffi::c_void, context: *const INFCONTEXT) { - ::windows::core::link ! ( "setupapi.dll""system" fn SetupWriteTextLogInfLine ( logtoken : u64 , flags : u32 , infhandle : *const ::core::ffi::c_void , context : *const INFCONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "setupapi.dll""system" fn SetupWriteTextLogInfLine ( logtoken : u64 , flags : u32 , infhandle : *const ::core::ffi::c_void , context : *const INFCONTEXT ) -> ( ) ); SetupWriteTextLogInfLine(logtoken, flags, infhandle, context) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -5029,7 +5029,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "newdev.dll""system" fn UpdateDriverForPlugAndPlayDevicesA ( hwndparent : super::super::Foundation:: HWND , hardwareid : :: windows::core::PCSTR , fullinfpath : :: windows::core::PCSTR , installflags : u32 , brebootrequired : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn UpdateDriverForPlugAndPlayDevicesA ( hwndparent : super::super::Foundation:: HWND , hardwareid : :: windows::core::PCSTR , fullinfpath : :: windows::core::PCSTR , installflags : u32 , brebootrequired : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); UpdateDriverForPlugAndPlayDevicesA(hwndparent.into(), hardwareid.into().abi(), fullinfpath.into().abi(), installflags, ::core::mem::transmute(brebootrequired.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -5041,7 +5041,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "newdev.dll""system" fn UpdateDriverForPlugAndPlayDevicesW ( hwndparent : super::super::Foundation:: HWND , hardwareid : :: windows::core::PCWSTR , fullinfpath : :: windows::core::PCWSTR , installflags : u32 , brebootrequired : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "newdev.dll""system" fn UpdateDriverForPlugAndPlayDevicesW ( hwndparent : super::super::Foundation:: HWND , hardwareid : :: windows::core::PCWSTR , fullinfpath : :: windows::core::PCWSTR , installflags : u32 , brebootrequired : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); UpdateDriverForPlugAndPlayDevicesW(hwndparent.into(), hardwareid.into().abi(), fullinfpath.into().abi(), installflags, ::core::mem::transmute(brebootrequired.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs index e354357b4f..d815d275fa 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs @@ -1,14 +1,14 @@ #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`*"] #[inline] pub unsafe fn DevCloseObjectQuery(hdevquery: *const HDEVQUERY__) { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevCloseObjectQuery ( hdevquery : *const HDEVQUERY__ ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevCloseObjectQuery ( hdevquery : *const HDEVQUERY__ ) -> ( ) ); DevCloseObjectQuery(hdevquery) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn DevCreateObjectQuery(objecttype: DEV_OBJECT_TYPE, queryflags: u32, prequestedproperties: ::core::option::Option<&[super::Properties::DEVPROPCOMPKEY]>, pfilter: ::core::option::Option<&[DEVPROP_FILTER_EXPRESSION]>, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<*mut HDEVQUERY__> { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevCreateObjectQuery ( objecttype : DEV_OBJECT_TYPE , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevCreateObjectQuery ( objecttype : DEV_OBJECT_TYPE , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut HDEVQUERY__>(); DevCreateObjectQuery(objecttype, queryflags, prequestedproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prequestedproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pfilter.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pfilter.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcallback, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -16,7 +16,7 @@ pub unsafe fn DevCreateObjectQuery(objecttype: DEV_OBJECT_TYPE, queryflags: u32, #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn DevCreateObjectQueryEx(objecttype: DEV_OBJECT_TYPE, queryflags: u32, prequestedproperties: ::core::option::Option<&[super::Properties::DEVPROPCOMPKEY]>, pfilter: ::core::option::Option<&[DEVPROP_FILTER_EXPRESSION]>, pextendedparameters: ::core::option::Option<&[DEV_QUERY_PARAMETER]>, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<*mut HDEVQUERY__> { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevCreateObjectQueryEx ( objecttype : DEV_OBJECT_TYPE , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevCreateObjectQueryEx ( objecttype : DEV_OBJECT_TYPE , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut HDEVQUERY__>(); DevCreateObjectQueryEx( objecttype, @@ -40,7 +40,7 @@ pub unsafe fn DevCreateObjectQueryFromId(objecttype: DEV_OBJECT_TYPE, pszobj where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevCreateObjectQueryFromId ( objecttype : DEV_OBJECT_TYPE , pszobjectid : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevCreateObjectQueryFromId ( objecttype : DEV_OBJECT_TYPE , pszobjectid : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut HDEVQUERY__>(); DevCreateObjectQueryFromId(objecttype, pszobjectid.into().abi(), queryflags, prequestedproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prequestedproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pfilter.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pfilter.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcallback, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -51,7 +51,7 @@ pub unsafe fn DevCreateObjectQueryFromIdEx(objecttype: DEV_OBJECT_TYPE, pszo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevCreateObjectQueryFromIdEx ( objecttype : DEV_OBJECT_TYPE , pszobjectid : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevCreateObjectQueryFromIdEx ( objecttype : DEV_OBJECT_TYPE , pszobjectid : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut HDEVQUERY__>(); DevCreateObjectQueryFromIdEx( objecttype, @@ -76,7 +76,7 @@ pub unsafe fn DevCreateObjectQueryFromIds(objecttype: DEV_OBJECT_TYPE, pszzo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevCreateObjectQueryFromIds ( objecttype : DEV_OBJECT_TYPE , pszzobjectids : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevCreateObjectQueryFromIds ( objecttype : DEV_OBJECT_TYPE , pszzobjectids : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut HDEVQUERY__>(); DevCreateObjectQueryFromIds(objecttype, pszzobjectids.into().abi(), queryflags, prequestedproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prequestedproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pfilter.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pfilter.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcallback, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -87,7 +87,7 @@ pub unsafe fn DevCreateObjectQueryFromIdsEx(objecttype: DEV_OBJECT_TYPE, psz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevCreateObjectQueryFromIdsEx ( objecttype : DEV_OBJECT_TYPE , pszzobjectids : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevCreateObjectQueryFromIdsEx ( objecttype : DEV_OBJECT_TYPE , pszzobjectids : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcallback : PDEV_QUERY_RESULT_CALLBACK , pcontext : *const ::core::ffi::c_void , phdevquery : *mut *mut HDEVQUERY__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut HDEVQUERY__>(); DevCreateObjectQueryFromIdsEx( objecttype, @@ -112,21 +112,21 @@ pub unsafe fn DevFindProperty(pkey: *const super::Properties::DEVPROPKEY, st where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevFindProperty ( pkey : *const super::Properties:: DEVPROPKEY , store : super::Properties:: DEVPROPSTORE , pszlocalename : :: windows::core::PCWSTR , cproperties : u32 , pproperties : *const super::Properties:: DEVPROPERTY ) -> *mut super::Properties:: DEVPROPERTY ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevFindProperty ( pkey : *const super::Properties:: DEVPROPKEY , store : super::Properties:: DEVPROPSTORE , pszlocalename : :: windows::core::PCWSTR , cproperties : u32 , pproperties : *const super::Properties:: DEVPROPERTY ) -> *mut super::Properties:: DEVPROPERTY ); DevFindProperty(pkey, store, pszlocalename.into().abi(), pproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn DevFreeObjectProperties(pproperties: &[super::Properties::DEVPROPERTY]) { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevFreeObjectProperties ( cpropertycount : u32 , pproperties : *const super::Properties:: DEVPROPERTY ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevFreeObjectProperties ( cpropertycount : u32 , pproperties : *const super::Properties:: DEVPROPERTY ) -> ( ) ); DevFreeObjectProperties(pproperties.len() as _, ::core::mem::transmute(pproperties.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn DevFreeObjects(pobjects: &[DEV_OBJECT]) { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevFreeObjects ( cobjectcount : u32 , pobjects : *const DEV_OBJECT ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevFreeObjects ( cobjectcount : u32 , pobjects : *const DEV_OBJECT ) -> ( ) ); DevFreeObjects(pobjects.len() as _, ::core::mem::transmute(pobjects.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] @@ -136,7 +136,7 @@ pub unsafe fn DevGetObjectProperties(objecttype: DEV_OBJECT_TYPE, pszobjecti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevGetObjectProperties ( objecttype : DEV_OBJECT_TYPE , pszobjectid : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , pcpropertycount : *mut u32 , ppproperties : *mut *mut super::Properties:: DEVPROPERTY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevGetObjectProperties ( objecttype : DEV_OBJECT_TYPE , pszobjectid : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , pcpropertycount : *mut u32 , ppproperties : *mut *mut super::Properties:: DEVPROPERTY ) -> :: windows::core::HRESULT ); DevGetObjectProperties(objecttype, pszobjectid.into().abi(), queryflags, prequestedproperties.len() as _, ::core::mem::transmute(prequestedproperties.as_ptr()), pcpropertycount, ppproperties).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] @@ -146,21 +146,21 @@ pub unsafe fn DevGetObjectPropertiesEx(objecttype: DEV_OBJECT_TYPE, pszobjec where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevGetObjectPropertiesEx ( objecttype : DEV_OBJECT_TYPE , pszobjectid : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcpropertycount : *mut u32 , ppproperties : *mut *mut super::Properties:: DEVPROPERTY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevGetObjectPropertiesEx ( objecttype : DEV_OBJECT_TYPE , pszobjectid : :: windows::core::PCWSTR , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcpropertycount : *mut u32 , ppproperties : *mut *mut super::Properties:: DEVPROPERTY ) -> :: windows::core::HRESULT ); DevGetObjectPropertiesEx(objecttype, pszobjectid.into().abi(), queryflags, prequestedproperties.len() as _, ::core::mem::transmute(prequestedproperties.as_ptr()), pextendedparameters.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pextendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcpropertycount, ppproperties).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn DevGetObjects(objecttype: DEV_OBJECT_TYPE, queryflags: u32, prequestedproperties: ::core::option::Option<&[super::Properties::DEVPROPCOMPKEY]>, pfilter: ::core::option::Option<&[DEVPROP_FILTER_EXPRESSION]>, pcobjectcount: *mut u32, ppobjects: *mut *mut DEV_OBJECT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevGetObjects ( objecttype : DEV_OBJECT_TYPE , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , pcobjectcount : *mut u32 , ppobjects : *mut *mut DEV_OBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-0.dll""system" fn DevGetObjects ( objecttype : DEV_OBJECT_TYPE , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , pcobjectcount : *mut u32 , ppobjects : *mut *mut DEV_OBJECT ) -> :: windows::core::HRESULT ); DevGetObjects(objecttype, queryflags, prequestedproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prequestedproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pfilter.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pfilter.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcobjectcount, ppobjects).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceQuery\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn DevGetObjectsEx(objecttype: DEV_OBJECT_TYPE, queryflags: u32, prequestedproperties: ::core::option::Option<&[super::Properties::DEVPROPCOMPKEY]>, pfilter: ::core::option::Option<&[DEVPROP_FILTER_EXPRESSION]>, pextendedparameters: ::core::option::Option<&[DEV_QUERY_PARAMETER]>, pcobjectcount: *mut u32, ppobjects: *mut *mut DEV_OBJECT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevGetObjectsEx ( objecttype : DEV_OBJECT_TYPE , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcobjectcount : *mut u32 , ppobjects : *mut *mut DEV_OBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-devices-query-l1-1-1.dll""system" fn DevGetObjectsEx ( objecttype : DEV_OBJECT_TYPE , queryflags : u32 , crequestedproperties : u32 , prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY , cfilterexpressioncount : u32 , pfilter : *const DEVPROP_FILTER_EXPRESSION , cextendedparametercount : u32 , pextendedparameters : *const DEV_QUERY_PARAMETER , pcobjectcount : *mut u32 , ppobjects : *mut *mut DEV_OBJECT ) -> :: windows::core::HRESULT ); DevGetObjectsEx( objecttype, queryflags, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs index 82d26ff27d..81413a0ac0 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs @@ -2,32 +2,32 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BRUSHOBJ_hGetColorTransform(pbo: *mut BRUSHOBJ) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "gdi32.dll""system" fn BRUSHOBJ_hGetColorTransform ( pbo : *mut BRUSHOBJ ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn BRUSHOBJ_hGetColorTransform ( pbo : *mut BRUSHOBJ ) -> super::super::Foundation:: HANDLE ); BRUSHOBJ_hGetColorTransform(pbo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn BRUSHOBJ_pvAllocRbrush(pbo: *mut BRUSHOBJ, cj: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "gdi32.dll""system" fn BRUSHOBJ_pvAllocRbrush ( pbo : *mut BRUSHOBJ , cj : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "gdi32.dll""system" fn BRUSHOBJ_pvAllocRbrush ( pbo : *mut BRUSHOBJ , cj : u32 ) -> *mut ::core::ffi::c_void ); BRUSHOBJ_pvAllocRbrush(pbo, cj) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn BRUSHOBJ_pvGetRbrush(pbo: *mut BRUSHOBJ) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "gdi32.dll""system" fn BRUSHOBJ_pvGetRbrush ( pbo : *mut BRUSHOBJ ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "gdi32.dll""system" fn BRUSHOBJ_pvGetRbrush ( pbo : *mut BRUSHOBJ ) -> *mut ::core::ffi::c_void ); BRUSHOBJ_pvGetRbrush(pbo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn BRUSHOBJ_ulGetBrushColor(pbo: *mut BRUSHOBJ) -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn BRUSHOBJ_ulGetBrushColor ( pbo : *mut BRUSHOBJ ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn BRUSHOBJ_ulGetBrushColor ( pbo : *mut BRUSHOBJ ) -> u32 ); BRUSHOBJ_ulGetBrushColor(pbo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CLIPOBJ_bEnum(pco: *mut CLIPOBJ, cj: u32, pul: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn CLIPOBJ_bEnum ( pco : *mut CLIPOBJ , cj : u32 , pul : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CLIPOBJ_bEnum ( pco : *mut CLIPOBJ , cj : u32 , pul : *mut u32 ) -> super::super::Foundation:: BOOL ); CLIPOBJ_bEnum(pco, cj, pul) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -37,14 +37,14 @@ pub unsafe fn CLIPOBJ_cEnumStart(pco: *mut CLIPOBJ, ball: P0, itype: u32, id where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CLIPOBJ_cEnumStart ( pco : *mut CLIPOBJ , ball : super::super::Foundation:: BOOL , itype : u32 , idirection : u32 , climit : u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CLIPOBJ_cEnumStart ( pco : *mut CLIPOBJ , ball : super::super::Foundation:: BOOL , itype : u32 , idirection : u32 , climit : u32 ) -> u32 ); CLIPOBJ_cEnumStart(pco, ball.into(), itype, idirection, climit) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CLIPOBJ_ppoGetPath(pco: *mut CLIPOBJ) -> *mut PATHOBJ { - ::windows::core::link ! ( "gdi32.dll""system" fn CLIPOBJ_ppoGetPath ( pco : *mut CLIPOBJ ) -> *mut PATHOBJ ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CLIPOBJ_ppoGetPath ( pco : *mut CLIPOBJ ) -> *mut PATHOBJ ); CLIPOBJ_ppoGetPath(pco) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -54,7 +54,7 @@ pub unsafe fn CapabilitiesRequestAndCapabilitiesReply(hmonitor: P0, pszascii where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn CapabilitiesRequestAndCapabilitiesReply ( hmonitor : super::super::Foundation:: HANDLE , pszasciicapabilitiesstring : :: windows::core::PSTR , dwcapabilitiesstringlengthincharacters : u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn CapabilitiesRequestAndCapabilitiesReply ( hmonitor : super::super::Foundation:: HANDLE , pszasciicapabilitiesstring : :: windows::core::PSTR , dwcapabilitiesstringlengthincharacters : u32 ) -> i32 ); CapabilitiesRequestAndCapabilitiesReply(hmonitor.into(), ::core::mem::transmute(pszasciicapabilitiesstring.as_ptr()), pszasciicapabilitiesstring.len() as _) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -64,7 +64,7 @@ pub unsafe fn DegaussMonitor(hmonitor: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn DegaussMonitor ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn DegaussMonitor ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); DegaussMonitor(hmonitor.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -74,28 +74,28 @@ pub unsafe fn DestroyPhysicalMonitor(hmonitor: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn DestroyPhysicalMonitor ( hmonitor : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dxva2.dll""system" fn DestroyPhysicalMonitor ( hmonitor : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DestroyPhysicalMonitor(hmonitor.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DestroyPhysicalMonitors(pphysicalmonitorarray: &[PHYSICAL_MONITOR]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dxva2.dll""system" fn DestroyPhysicalMonitors ( dwphysicalmonitorarraysize : u32 , pphysicalmonitorarray : *const PHYSICAL_MONITOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dxva2.dll""system" fn DestroyPhysicalMonitors ( dwphysicalmonitorarraysize : u32 , pphysicalmonitorarray : *const PHYSICAL_MONITOR ) -> super::super::Foundation:: BOOL ); DestroyPhysicalMonitors(pphysicalmonitorarray.len() as _, ::core::mem::transmute(pphysicalmonitorarray.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DisplayConfigGetDeviceInfo(requestpacket: *mut DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn DisplayConfigGetDeviceInfo ( requestpacket : *mut DISPLAYCONFIG_DEVICE_INFO_HEADER ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DisplayConfigGetDeviceInfo ( requestpacket : *mut DISPLAYCONFIG_DEVICE_INFO_HEADER ) -> i32 ); DisplayConfigGetDeviceInfo(requestpacket) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DisplayConfigSetDeviceInfo(setpacket: *const DISPLAYCONFIG_DEVICE_INFO_HEADER) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn DisplayConfigSetDeviceInfo ( setpacket : *const DISPLAYCONFIG_DEVICE_INFO_HEADER ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DisplayConfigSetDeviceInfo ( setpacket : *const DISPLAYCONFIG_DEVICE_INFO_HEADER ) -> i32 ); DisplayConfigSetDeviceInfo(setpacket) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] @@ -104,14 +104,14 @@ pub unsafe fn EngAcquireSemaphore(hsem: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngAcquireSemaphore ( hsem : HSEMAPHORE ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngAcquireSemaphore ( hsem : HSEMAPHORE ) -> ( ) ); EngAcquireSemaphore(hsem.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn EngAlphaBlend(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pblendobj: *mut BLENDOBJ) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngAlphaBlend ( psodest : *mut SURFOBJ , psosrc : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , prcldest : *mut super::super::Foundation:: RECTL , prclsrc : *mut super::super::Foundation:: RECTL , pblendobj : *mut BLENDOBJ ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngAlphaBlend ( psodest : *mut SURFOBJ , psosrc : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , prcldest : *mut super::super::Foundation:: RECTL , prclsrc : *mut super::super::Foundation:: RECTL , pblendobj : *mut BLENDOBJ ) -> super::super::Foundation:: BOOL ); EngAlphaBlend(psodest, psosrc, pco, pxlo, prcldest, prclsrc, pblendobj) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -122,48 +122,48 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngAssociateSurface ( hsurf : HSURF , hdev : HDEV , flhooks : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngAssociateSurface ( hsurf : HSURF , hdev : HDEV , flhooks : u32 ) -> super::super::Foundation:: BOOL ); EngAssociateSurface(hsurf.into(), hdev.into(), flhooks) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngBitBlt(psotrg: *const SURFOBJ, psosrc: *const SURFOBJ, psomask: *const SURFOBJ, pco: *const CLIPOBJ, pxlo: *const XLATEOBJ, prcltrg: *const super::super::Foundation::RECTL, pptlsrc: *const super::super::Foundation::POINTL, pptlmask: *const super::super::Foundation::POINTL, pbo: *const BRUSHOBJ, pptlbrush: *const super::super::Foundation::POINTL, rop4: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngBitBlt ( psotrg : *const SURFOBJ , psosrc : *const SURFOBJ , psomask : *const SURFOBJ , pco : *const CLIPOBJ , pxlo : *const XLATEOBJ , prcltrg : *const super::super::Foundation:: RECTL , pptlsrc : *const super::super::Foundation:: POINTL , pptlmask : *const super::super::Foundation:: POINTL , pbo : *const BRUSHOBJ , pptlbrush : *const super::super::Foundation:: POINTL , rop4 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngBitBlt ( psotrg : *const SURFOBJ , psosrc : *const SURFOBJ , psomask : *const SURFOBJ , pco : *const CLIPOBJ , pxlo : *const XLATEOBJ , prcltrg : *const super::super::Foundation:: RECTL , pptlsrc : *const super::super::Foundation:: POINTL , pptlmask : *const super::super::Foundation:: POINTL , pbo : *const BRUSHOBJ , pptlbrush : *const super::super::Foundation:: POINTL , rop4 : u32 ) -> super::super::Foundation:: BOOL ); EngBitBlt(psotrg, psosrc, psomask, pco, pxlo, prcltrg, pptlsrc, pptlmask, pbo, pptlbrush, rop4) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngCheckAbort(pso: *mut SURFOBJ) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngCheckAbort ( pso : *mut SURFOBJ ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngCheckAbort ( pso : *mut SURFOBJ ) -> super::super::Foundation:: BOOL ); EngCheckAbort(pso) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn EngComputeGlyphSet(ncodepage: i32, nfirstchar: i32, cchars: i32) -> *mut FD_GLYPHSET { - ::windows::core::link ! ( "gdi32.dll""system" fn EngComputeGlyphSet ( ncodepage : i32 , nfirstchar : i32 , cchars : i32 ) -> *mut FD_GLYPHSET ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngComputeGlyphSet ( ncodepage : i32 , nfirstchar : i32 , cchars : i32 ) -> *mut FD_GLYPHSET ); EngComputeGlyphSet(ncodepage, nfirstchar, cchars) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngCopyBits(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, prcldest: *mut super::super::Foundation::RECTL, pptlsrc: *mut super::super::Foundation::POINTL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngCopyBits ( psodest : *mut SURFOBJ , psosrc : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , prcldest : *mut super::super::Foundation:: RECTL , pptlsrc : *mut super::super::Foundation:: POINTL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngCopyBits ( psodest : *mut SURFOBJ , psosrc : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , prcldest : *mut super::super::Foundation:: RECTL , pptlsrc : *mut super::super::Foundation:: POINTL ) -> super::super::Foundation:: BOOL ); EngCopyBits(psodest, psosrc, pco, pxlo, prcldest, pptlsrc) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn EngCreateBitmap(sizl: super::super::Foundation::SIZE, lwidth: i32, iformat: u32, fl: u32, pvbits: *mut ::core::ffi::c_void) -> super::super::Graphics::Gdi::HBITMAP { - ::windows::core::link ! ( "gdi32.dll""system" fn EngCreateBitmap ( sizl : super::super::Foundation:: SIZE , lwidth : i32 , iformat : u32 , fl : u32 , pvbits : *mut ::core::ffi::c_void ) -> super::super::Graphics::Gdi:: HBITMAP ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngCreateBitmap ( sizl : super::super::Foundation:: SIZE , lwidth : i32 , iformat : u32 , fl : u32 , pvbits : *mut ::core::ffi::c_void ) -> super::super::Graphics::Gdi:: HBITMAP ); EngCreateBitmap(::core::mem::transmute(sizl), lwidth, iformat, fl, pvbits) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngCreateClip() -> *mut CLIPOBJ { - ::windows::core::link ! ( "gdi32.dll""system" fn EngCreateClip ( ) -> *mut CLIPOBJ ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngCreateClip ( ) -> *mut CLIPOBJ ); EngCreateClip() } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -173,7 +173,7 @@ pub unsafe fn EngCreateDeviceBitmap(dhsurf: P0, sizl: super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngCreateDeviceBitmap ( dhsurf : DHSURF , sizl : super::super::Foundation:: SIZE , iformatcompat : u32 ) -> super::super::Graphics::Gdi:: HBITMAP ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngCreateDeviceBitmap ( dhsurf : DHSURF , sizl : super::super::Foundation:: SIZE , iformatcompat : u32 ) -> super::super::Graphics::Gdi:: HBITMAP ); EngCreateDeviceBitmap(dhsurf.into(), ::core::mem::transmute(sizl), iformatcompat) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -183,27 +183,27 @@ pub unsafe fn EngCreateDeviceSurface(dhsurf: P0, sizl: super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngCreateDeviceSurface ( dhsurf : DHSURF , sizl : super::super::Foundation:: SIZE , iformatcompat : u32 ) -> HSURF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngCreateDeviceSurface ( dhsurf : DHSURF , sizl : super::super::Foundation:: SIZE , iformatcompat : u32 ) -> HSURF ); EngCreateDeviceSurface(dhsurf.into(), ::core::mem::transmute(sizl), iformatcompat) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn EngCreatePalette(imode: u32, ccolors: u32, pulcolors: *mut u32, flred: u32, flgreen: u32, flblue: u32) -> super::super::Graphics::Gdi::HPALETTE { - ::windows::core::link ! ( "gdi32.dll""system" fn EngCreatePalette ( imode : u32 , ccolors : u32 , pulcolors : *mut u32 , flred : u32 , flgreen : u32 , flblue : u32 ) -> super::super::Graphics::Gdi:: HPALETTE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngCreatePalette ( imode : u32 , ccolors : u32 , pulcolors : *mut u32 , flred : u32 , flgreen : u32 , flblue : u32 ) -> super::super::Graphics::Gdi:: HPALETTE ); EngCreatePalette(imode, ccolors, pulcolors, flred, flgreen, flblue) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn EngCreateSemaphore() -> HSEMAPHORE { - ::windows::core::link ! ( "gdi32.dll""system" fn EngCreateSemaphore ( ) -> HSEMAPHORE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngCreateSemaphore ( ) -> HSEMAPHORE ); EngCreateSemaphore() } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngDeleteClip(pco: ::core::option::Option<*const CLIPOBJ>) { - ::windows::core::link ! ( "gdi32.dll""system" fn EngDeleteClip ( pco : *const CLIPOBJ ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngDeleteClip ( pco : *const CLIPOBJ ) -> ( ) ); EngDeleteClip(::core::mem::transmute(pco.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -213,13 +213,13 @@ pub unsafe fn EngDeletePalette(hpal: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngDeletePalette ( hpal : super::super::Graphics::Gdi:: HPALETTE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngDeletePalette ( hpal : super::super::Graphics::Gdi:: HPALETTE ) -> super::super::Foundation:: BOOL ); EngDeletePalette(hpal.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn EngDeletePath(ppo: *mut PATHOBJ) { - ::windows::core::link ! ( "gdi32.dll""system" fn EngDeletePath ( ppo : *mut PATHOBJ ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngDeletePath ( ppo : *mut PATHOBJ ) -> ( ) ); EngDeletePath(ppo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] @@ -228,7 +228,7 @@ pub unsafe fn EngDeleteSemaphore(hsem: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngDeleteSemaphore ( hsem : HSEMAPHORE ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngDeleteSemaphore ( hsem : HSEMAPHORE ) -> ( ) ); EngDeleteSemaphore(hsem.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -238,21 +238,21 @@ pub unsafe fn EngDeleteSurface(hsurf: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngDeleteSurface ( hsurf : HSURF ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngDeleteSurface ( hsurf : HSURF ) -> super::super::Foundation:: BOOL ); EngDeleteSurface(hsurf.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngEraseSurface(pso: *mut SURFOBJ, prcl: *mut super::super::Foundation::RECTL, icolor: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngEraseSurface ( pso : *mut SURFOBJ , prcl : *mut super::super::Foundation:: RECTL , icolor : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngEraseSurface ( pso : *mut SURFOBJ , prcl : *mut super::super::Foundation:: RECTL , icolor : u32 ) -> super::super::Foundation:: BOOL ); EngEraseSurface(pso, prcl, icolor) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngFillPath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32, floptions: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngFillPath ( pso : *mut SURFOBJ , ppo : *mut PATHOBJ , pco : *mut CLIPOBJ , pbo : *mut BRUSHOBJ , pptlbrushorg : *mut super::super::Foundation:: POINTL , mix : u32 , floptions : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngFillPath ( pso : *mut SURFOBJ , ppo : *mut PATHOBJ , pco : *mut CLIPOBJ , pbo : *mut BRUSHOBJ , pptlbrushorg : *mut super::super::Foundation:: POINTL , mix : u32 , floptions : u32 ) -> super::super::Foundation:: BOOL ); EngFillPath(pso, ppo, pco, pbo, pptlbrushorg, mix, floptions) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -262,7 +262,7 @@ pub unsafe fn EngFindResource(h: P0, iname: i32, itype: i32, pulsize: *mut u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngFindResource ( h : super::super::Foundation:: HANDLE , iname : i32 , itype : i32 , pulsize : *mut u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngFindResource ( h : super::super::Foundation:: HANDLE , iname : i32 , itype : i32 , pulsize : *mut u32 ) -> *mut ::core::ffi::c_void ); EngFindResource(h.into(), iname, itype, pulsize) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -272,13 +272,13 @@ pub unsafe fn EngFreeModule(h: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngFreeModule ( h : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngFreeModule ( h : super::super::Foundation:: HANDLE ) -> ( ) ); EngFreeModule(h.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn EngGetCurrentCodePage(oemcodepage: *mut u16, ansicodepage: *mut u16) { - ::windows::core::link ! ( "gdi32.dll""system" fn EngGetCurrentCodePage ( oemcodepage : *mut u16 , ansicodepage : *mut u16 ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngGetCurrentCodePage ( oemcodepage : *mut u16 , ansicodepage : *mut u16 ) -> ( ) ); EngGetCurrentCodePage(oemcodepage, ansicodepage) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] @@ -287,7 +287,7 @@ pub unsafe fn EngGetDriverName(hdev: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngGetDriverName ( hdev : HDEV ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngGetDriverName ( hdev : HDEV ) -> :: windows::core::PWSTR ); EngGetDriverName(hdev.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] @@ -296,21 +296,21 @@ pub unsafe fn EngGetPrinterDataFileName(hdev: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngGetPrinterDataFileName ( hdev : HDEV ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngGetPrinterDataFileName ( hdev : HDEV ) -> :: windows::core::PWSTR ); EngGetPrinterDataFileName(hdev.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn EngGradientFill(psodest: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pvertex: *mut super::super::Graphics::Gdi::TRIVERTEX, nvertex: u32, pmesh: *mut ::core::ffi::c_void, nmesh: u32, prclextents: *mut super::super::Foundation::RECTL, pptlditherorg: *mut super::super::Foundation::POINTL, ulmode: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngGradientFill ( psodest : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , pvertex : *mut super::super::Graphics::Gdi:: TRIVERTEX , nvertex : u32 , pmesh : *mut ::core::ffi::c_void , nmesh : u32 , prclextents : *mut super::super::Foundation:: RECTL , pptlditherorg : *mut super::super::Foundation:: POINTL , ulmode : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngGradientFill ( psodest : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , pvertex : *mut super::super::Graphics::Gdi:: TRIVERTEX , nvertex : u32 , pmesh : *mut ::core::ffi::c_void , nmesh : u32 , prclextents : *mut super::super::Foundation:: RECTL , pptlditherorg : *mut super::super::Foundation:: POINTL , ulmode : u32 ) -> super::super::Foundation:: BOOL ); EngGradientFill(psodest, pco, pxlo, pvertex, nvertex, pmesh, nmesh, prclextents, pptlditherorg, ulmode) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngLineTo(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, x1: i32, y1: i32, x2: i32, y2: i32, prclbounds: *mut super::super::Foundation::RECTL, mix: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngLineTo ( pso : *mut SURFOBJ , pco : *mut CLIPOBJ , pbo : *mut BRUSHOBJ , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , prclbounds : *mut super::super::Foundation:: RECTL , mix : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngLineTo ( pso : *mut SURFOBJ , pco : *mut CLIPOBJ , pbo : *mut BRUSHOBJ , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , prclbounds : *mut super::super::Foundation:: RECTL , mix : u32 ) -> super::super::Foundation:: BOOL ); EngLineTo(pso, pco, pbo, x1, y1, x2, y2, prclbounds, mix) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -320,7 +320,7 @@ pub unsafe fn EngLoadModule(pwsz: P0) -> super::super::Foundation::HANDLE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngLoadModule ( pwsz : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngLoadModule ( pwsz : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); EngLoadModule(pwsz.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -330,7 +330,7 @@ pub unsafe fn EngLockSurface(hsurf: P0) -> *mut SURFOBJ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngLockSurface ( hsurf : HSURF ) -> *mut SURFOBJ ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngLockSurface ( hsurf : HSURF ) -> *mut SURFOBJ ); EngLockSurface(hsurf.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -340,33 +340,33 @@ pub unsafe fn EngMarkBandingSurface(hsurf: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngMarkBandingSurface ( hsurf : HSURF ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngMarkBandingSurface ( hsurf : HSURF ) -> super::super::Foundation:: BOOL ); EngMarkBandingSurface(hsurf.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn EngMultiByteToUnicodeN(unicodestring: ::windows::core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: ::core::option::Option<*mut u32>, multibytestring: &[u8]) { - ::windows::core::link ! ( "gdi32.dll""system" fn EngMultiByteToUnicodeN ( unicodestring : :: windows::core::PWSTR , maxbytesinunicodestring : u32 , bytesinunicodestring : *mut u32 , multibytestring : :: windows::core::PCSTR , bytesinmultibytestring : u32 ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngMultiByteToUnicodeN ( unicodestring : :: windows::core::PWSTR , maxbytesinunicodestring : u32 , bytesinunicodestring : *mut u32 , multibytestring : :: windows::core::PCSTR , bytesinmultibytestring : u32 ) -> ( ) ); EngMultiByteToUnicodeN(::core::mem::transmute(unicodestring), maxbytesinunicodestring, ::core::mem::transmute(bytesinunicodestring.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn EngMultiByteToWideChar(codepage: u32, widecharstring: ::windows::core::PWSTR, bytesinwidecharstring: i32, multibytestring: ::core::option::Option<&[u8]>) -> i32 { - ::windows::core::link ! ( "gdi32.dll""system" fn EngMultiByteToWideChar ( codepage : u32 , widecharstring : :: windows::core::PWSTR , bytesinwidecharstring : i32 , multibytestring : :: windows::core::PCSTR , bytesinmultibytestring : i32 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngMultiByteToWideChar ( codepage : u32 , widecharstring : :: windows::core::PWSTR , bytesinwidecharstring : i32 , multibytestring : :: windows::core::PCSTR , bytesinmultibytestring : i32 ) -> i32 ); EngMultiByteToWideChar(codepage, ::core::mem::transmute(widecharstring), bytesinwidecharstring, ::core::mem::transmute(multibytestring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), multibytestring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngPaint(pso: *mut SURFOBJ, pco: *mut CLIPOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngPaint ( pso : *mut SURFOBJ , pco : *mut CLIPOBJ , pbo : *mut BRUSHOBJ , pptlbrushorg : *mut super::super::Foundation:: POINTL , mix : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngPaint ( pso : *mut SURFOBJ , pco : *mut CLIPOBJ , pbo : *mut BRUSHOBJ , pptlbrushorg : *mut super::super::Foundation:: POINTL , mix : u32 ) -> super::super::Foundation:: BOOL ); EngPaint(pso, pco, pbo, pptlbrushorg, mix) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn EngPlgBlt(psotrg: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomsk: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlbrushorg: *mut super::super::Foundation::POINTL, pptfx: *mut POINTFIX, prcl: *mut super::super::Foundation::RECTL, pptl: *mut super::super::Foundation::POINTL, imode: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngPlgBlt ( psotrg : *mut SURFOBJ , psosrc : *mut SURFOBJ , psomsk : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , pca : *mut super::super::Graphics::Gdi:: COLORADJUSTMENT , pptlbrushorg : *mut super::super::Foundation:: POINTL , pptfx : *mut POINTFIX , prcl : *mut super::super::Foundation:: RECTL , pptl : *mut super::super::Foundation:: POINTL , imode : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngPlgBlt ( psotrg : *mut SURFOBJ , psosrc : *mut SURFOBJ , psomsk : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , pca : *mut super::super::Graphics::Gdi:: COLORADJUSTMENT , pptlbrushorg : *mut super::super::Foundation:: POINTL , pptfx : *mut POINTFIX , prcl : *mut super::super::Foundation:: RECTL , pptl : *mut super::super::Foundation:: POINTL , imode : u32 ) -> super::super::Foundation:: BOOL ); EngPlgBlt(psotrg, psosrc, psomsk, pco, pxlo, pca, pptlbrushorg, pptfx, prcl, pptl, imode) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -376,13 +376,13 @@ pub unsafe fn EngQueryEMFInfo(hdev: P0, pemfinfo: *mut EMFINFO) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngQueryEMFInfo ( hdev : HDEV , pemfinfo : *mut EMFINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngQueryEMFInfo ( hdev : HDEV , pemfinfo : *mut EMFINFO ) -> super::super::Foundation:: BOOL ); EngQueryEMFInfo(hdev.into(), pemfinfo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn EngQueryLocalTime() -> ENG_TIME_FIELDS { - ::windows::core::link ! ( "gdi32.dll""system" fn EngQueryLocalTime ( param0 : *mut ENG_TIME_FIELDS ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngQueryLocalTime ( param0 : *mut ENG_TIME_FIELDS ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); EngQueryLocalTime(&mut result__); ::std::mem::transmute(result__) @@ -393,49 +393,49 @@ pub unsafe fn EngReleaseSemaphore(hsem: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngReleaseSemaphore ( hsem : HSEMAPHORE ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngReleaseSemaphore ( hsem : HSEMAPHORE ) -> ( ) ); EngReleaseSemaphore(hsem.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn EngStretchBlt(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomask: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlhtorg: *mut super::super::Foundation::POINTL, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pptlmask: *mut super::super::Foundation::POINTL, imode: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngStretchBlt ( psodest : *mut SURFOBJ , psosrc : *mut SURFOBJ , psomask : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , pca : *mut super::super::Graphics::Gdi:: COLORADJUSTMENT , pptlhtorg : *mut super::super::Foundation:: POINTL , prcldest : *mut super::super::Foundation:: RECTL , prclsrc : *mut super::super::Foundation:: RECTL , pptlmask : *mut super::super::Foundation:: POINTL , imode : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngStretchBlt ( psodest : *mut SURFOBJ , psosrc : *mut SURFOBJ , psomask : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , pca : *mut super::super::Graphics::Gdi:: COLORADJUSTMENT , pptlhtorg : *mut super::super::Foundation:: POINTL , prcldest : *mut super::super::Foundation:: RECTL , prclsrc : *mut super::super::Foundation:: RECTL , pptlmask : *mut super::super::Foundation:: POINTL , imode : u32 ) -> super::super::Foundation:: BOOL ); EngStretchBlt(psodest, psosrc, psomask, pco, pxlo, pca, pptlhtorg, prcldest, prclsrc, pptlmask, imode) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn EngStretchBltROP(psodest: *mut SURFOBJ, psosrc: *mut SURFOBJ, psomask: *mut SURFOBJ, pco: *mut CLIPOBJ, pxlo: *mut XLATEOBJ, pca: *mut super::super::Graphics::Gdi::COLORADJUSTMENT, pptlhtorg: *mut super::super::Foundation::POINTL, prcldest: *mut super::super::Foundation::RECTL, prclsrc: *mut super::super::Foundation::RECTL, pptlmask: *mut super::super::Foundation::POINTL, imode: u32, pbo: *mut BRUSHOBJ, rop4: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngStretchBltROP ( psodest : *mut SURFOBJ , psosrc : *mut SURFOBJ , psomask : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , pca : *mut super::super::Graphics::Gdi:: COLORADJUSTMENT , pptlhtorg : *mut super::super::Foundation:: POINTL , prcldest : *mut super::super::Foundation:: RECTL , prclsrc : *mut super::super::Foundation:: RECTL , pptlmask : *mut super::super::Foundation:: POINTL , imode : u32 , pbo : *mut BRUSHOBJ , rop4 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngStretchBltROP ( psodest : *mut SURFOBJ , psosrc : *mut SURFOBJ , psomask : *mut SURFOBJ , pco : *mut CLIPOBJ , pxlo : *mut XLATEOBJ , pca : *mut super::super::Graphics::Gdi:: COLORADJUSTMENT , pptlhtorg : *mut super::super::Foundation:: POINTL , prcldest : *mut super::super::Foundation:: RECTL , prclsrc : *mut super::super::Foundation:: RECTL , pptlmask : *mut super::super::Foundation:: POINTL , imode : u32 , pbo : *mut BRUSHOBJ , rop4 : u32 ) -> super::super::Foundation:: BOOL ); EngStretchBltROP(psodest, psosrc, psomask, pco, pxlo, pca, pptlhtorg, prcldest, prclsrc, pptlmask, imode, pbo, rop4) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngStrokeAndFillPath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pxo: *mut XFORMOBJ, pbostroke: *mut BRUSHOBJ, plineattrs: *mut LINEATTRS, pbofill: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, mixfill: u32, floptions: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngStrokeAndFillPath ( pso : *mut SURFOBJ , ppo : *mut PATHOBJ , pco : *mut CLIPOBJ , pxo : *mut XFORMOBJ , pbostroke : *mut BRUSHOBJ , plineattrs : *mut LINEATTRS , pbofill : *mut BRUSHOBJ , pptlbrushorg : *mut super::super::Foundation:: POINTL , mixfill : u32 , floptions : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngStrokeAndFillPath ( pso : *mut SURFOBJ , ppo : *mut PATHOBJ , pco : *mut CLIPOBJ , pxo : *mut XFORMOBJ , pbostroke : *mut BRUSHOBJ , plineattrs : *mut LINEATTRS , pbofill : *mut BRUSHOBJ , pptlbrushorg : *mut super::super::Foundation:: POINTL , mixfill : u32 , floptions : u32 ) -> super::super::Foundation:: BOOL ); EngStrokeAndFillPath(pso, ppo, pco, pxo, pbostroke, plineattrs, pbofill, pptlbrushorg, mixfill, floptions) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngStrokePath(pso: *mut SURFOBJ, ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pxo: *mut XFORMOBJ, pbo: *mut BRUSHOBJ, pptlbrushorg: *mut super::super::Foundation::POINTL, plineattrs: *mut LINEATTRS, mix: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngStrokePath ( pso : *mut SURFOBJ , ppo : *mut PATHOBJ , pco : *mut CLIPOBJ , pxo : *mut XFORMOBJ , pbo : *mut BRUSHOBJ , pptlbrushorg : *mut super::super::Foundation:: POINTL , plineattrs : *mut LINEATTRS , mix : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngStrokePath ( pso : *mut SURFOBJ , ppo : *mut PATHOBJ , pco : *mut CLIPOBJ , pxo : *mut XFORMOBJ , pbo : *mut BRUSHOBJ , pptlbrushorg : *mut super::super::Foundation:: POINTL , plineattrs : *mut LINEATTRS , mix : u32 ) -> super::super::Foundation:: BOOL ); EngStrokePath(pso, ppo, pco, pxo, pbo, pptlbrushorg, plineattrs, mix) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngTextOut(pso: *mut SURFOBJ, pstro: *mut STROBJ, pfo: *mut FONTOBJ, pco: *mut CLIPOBJ, prclextra: *mut super::super::Foundation::RECTL, prclopaque: *mut super::super::Foundation::RECTL, pbofore: *mut BRUSHOBJ, pboopaque: *mut BRUSHOBJ, pptlorg: *mut super::super::Foundation::POINTL, mix: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngTextOut ( pso : *mut SURFOBJ , pstro : *mut STROBJ , pfo : *mut FONTOBJ , pco : *mut CLIPOBJ , prclextra : *mut super::super::Foundation:: RECTL , prclopaque : *mut super::super::Foundation:: RECTL , pbofore : *mut BRUSHOBJ , pboopaque : *mut BRUSHOBJ , pptlorg : *mut super::super::Foundation:: POINTL , mix : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngTextOut ( pso : *mut SURFOBJ , pstro : *mut STROBJ , pfo : *mut FONTOBJ , pco : *mut CLIPOBJ , prclextra : *mut super::super::Foundation:: RECTL , prclopaque : *mut super::super::Foundation:: RECTL , pbofore : *mut BRUSHOBJ , pboopaque : *mut BRUSHOBJ , pptlorg : *mut super::super::Foundation:: POINTL , mix : u32 ) -> super::super::Foundation:: BOOL ); EngTextOut(pso, pstro, pfo, pco, prclextra, prclopaque, pbofore, pboopaque, pptlorg, mix) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngTransparentBlt(psodst: *const SURFOBJ, psosrc: *const SURFOBJ, pco: ::core::option::Option<*const CLIPOBJ>, pxlo: ::core::option::Option<*const XLATEOBJ>, prcldst: *const super::super::Foundation::RECTL, prclsrc: *const super::super::Foundation::RECTL, transcolor: u32, bcalledfrombitblt: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn EngTransparentBlt ( psodst : *const SURFOBJ , psosrc : *const SURFOBJ , pco : *const CLIPOBJ , pxlo : *const XLATEOBJ , prcldst : *const super::super::Foundation:: RECTL , prclsrc : *const super::super::Foundation:: RECTL , transcolor : u32 , bcalledfrombitblt : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngTransparentBlt ( psodst : *const SURFOBJ , psosrc : *const SURFOBJ , pco : *const CLIPOBJ , pxlo : *const XLATEOBJ , prcldst : *const super::super::Foundation:: RECTL , prclsrc : *const super::super::Foundation:: RECTL , transcolor : u32 , bcalledfrombitblt : u32 ) -> super::super::Foundation:: BOOL ); EngTransparentBlt(psodst, psosrc, ::core::mem::transmute(pco.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pxlo.unwrap_or(::std::ptr::null())), prcldst, prclsrc, transcolor, bcalledfrombitblt) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] @@ -444,14 +444,14 @@ pub unsafe fn EngUnicodeToMultiByteN(multibytestring: &mut [u8], bytesinmult where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngUnicodeToMultiByteN ( multibytestring : :: windows::core::PSTR , maxbytesinmultibytestring : u32 , bytesinmultibytestring : *mut u32 , unicodestring : :: windows::core::PCWSTR , bytesinunicodestring : u32 ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngUnicodeToMultiByteN ( multibytestring : :: windows::core::PSTR , maxbytesinmultibytestring : u32 , bytesinmultibytestring : *mut u32 , unicodestring : :: windows::core::PCWSTR , bytesinunicodestring : u32 ) -> ( ) ); EngUnicodeToMultiByteN(::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _, ::core::mem::transmute(bytesinmultibytestring.unwrap_or(::std::ptr::null_mut())), unicodestring.into().abi(), bytesinunicodestring) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EngUnlockSurface(pso: *mut SURFOBJ) { - ::windows::core::link ! ( "gdi32.dll""system" fn EngUnlockSurface ( pso : *mut SURFOBJ ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngUnlockSurface ( pso : *mut SURFOBJ ) -> ( ) ); EngUnlockSurface(pso) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] @@ -460,70 +460,70 @@ pub unsafe fn EngWideCharToMultiByte(codepage: u32, widecharstring: P0, byte where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn EngWideCharToMultiByte ( codepage : u32 , widecharstring : :: windows::core::PCWSTR , bytesinwidecharstring : i32 , multibytestring : :: windows::core::PSTR , bytesinmultibytestring : i32 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EngWideCharToMultiByte ( codepage : u32 , widecharstring : :: windows::core::PCWSTR , bytesinwidecharstring : i32 , multibytestring : :: windows::core::PSTR , bytesinmultibytestring : i32 ) -> i32 ); EngWideCharToMultiByte(codepage, widecharstring.into().abi(), bytesinwidecharstring, ::core::mem::transmute(multibytestring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), multibytestring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FONTOBJ_cGetAllGlyphHandles(pfo: *mut FONTOBJ, phg: *mut u32) -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn FONTOBJ_cGetAllGlyphHandles ( pfo : *mut FONTOBJ , phg : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FONTOBJ_cGetAllGlyphHandles ( pfo : *mut FONTOBJ , phg : *mut u32 ) -> u32 ); FONTOBJ_cGetAllGlyphHandles(pfo, phg) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FONTOBJ_cGetGlyphs(pfo: *mut FONTOBJ, imode: u32, cglyph: u32, phg: *mut u32, ppvglyph: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn FONTOBJ_cGetGlyphs ( pfo : *mut FONTOBJ , imode : u32 , cglyph : u32 , phg : *mut u32 , ppvglyph : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FONTOBJ_cGetGlyphs ( pfo : *mut FONTOBJ , imode : u32 , cglyph : u32 , phg : *mut u32 , ppvglyph : *mut *mut ::core::ffi::c_void ) -> u32 ); FONTOBJ_cGetGlyphs(pfo, imode, cglyph, phg, ppvglyph) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FONTOBJ_pQueryGlyphAttrs(pfo: *mut FONTOBJ, imode: u32) -> *mut FD_GLYPHATTR { - ::windows::core::link ! ( "gdi32.dll""system" fn FONTOBJ_pQueryGlyphAttrs ( pfo : *mut FONTOBJ , imode : u32 ) -> *mut FD_GLYPHATTR ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FONTOBJ_pQueryGlyphAttrs ( pfo : *mut FONTOBJ , imode : u32 ) -> *mut FD_GLYPHATTR ); FONTOBJ_pQueryGlyphAttrs(pfo, imode) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FONTOBJ_pfdg(pfo: *mut FONTOBJ) -> *mut FD_GLYPHSET { - ::windows::core::link ! ( "gdi32.dll""system" fn FONTOBJ_pfdg ( pfo : *mut FONTOBJ ) -> *mut FD_GLYPHSET ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FONTOBJ_pfdg ( pfo : *mut FONTOBJ ) -> *mut FD_GLYPHSET ); FONTOBJ_pfdg(pfo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn FONTOBJ_pifi(pfo: *const FONTOBJ) -> *mut IFIMETRICS { - ::windows::core::link ! ( "gdi32.dll""system" fn FONTOBJ_pifi ( pfo : *const FONTOBJ ) -> *mut IFIMETRICS ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FONTOBJ_pifi ( pfo : *const FONTOBJ ) -> *mut IFIMETRICS ); FONTOBJ_pifi(pfo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FONTOBJ_pvTrueTypeFontFile(pfo: *mut FONTOBJ, pcjfile: *mut u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "gdi32.dll""system" fn FONTOBJ_pvTrueTypeFontFile ( pfo : *mut FONTOBJ , pcjfile : *mut u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FONTOBJ_pvTrueTypeFontFile ( pfo : *mut FONTOBJ , pcjfile : *mut u32 ) -> *mut ::core::ffi::c_void ); FONTOBJ_pvTrueTypeFontFile(pfo, pcjfile) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FONTOBJ_pxoGetXform(pfo: *const FONTOBJ) -> *mut XFORMOBJ { - ::windows::core::link ! ( "gdi32.dll""system" fn FONTOBJ_pxoGetXform ( pfo : *const FONTOBJ ) -> *mut XFORMOBJ ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FONTOBJ_pxoGetXform ( pfo : *const FONTOBJ ) -> *mut XFORMOBJ ); FONTOBJ_pxoGetXform(pfo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FONTOBJ_vGetInfo(pfo: *mut FONTOBJ, cjsize: u32, pfi: *mut FONTINFO) { - ::windows::core::link ! ( "gdi32.dll""system" fn FONTOBJ_vGetInfo ( pfo : *mut FONTOBJ , cjsize : u32 , pfi : *mut FONTINFO ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FONTOBJ_vGetInfo ( pfo : *mut FONTOBJ , cjsize : u32 , pfi : *mut FONTINFO ) -> ( ) ); FONTOBJ_vGetInfo(pfo, cjsize, pfi) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAutoRotationState(pstate: *mut AR_STATE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetAutoRotationState ( pstate : *mut AR_STATE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetAutoRotationState ( pstate : *mut AR_STATE ) -> super::super::Foundation:: BOOL ); GetAutoRotationState(pstate) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -533,21 +533,21 @@ pub unsafe fn GetCapabilitiesStringLength(hmonitor: P0, pdwcapabilitiesstrin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetCapabilitiesStringLength ( hmonitor : super::super::Foundation:: HANDLE , pdwcapabilitiesstringlengthincharacters : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetCapabilitiesStringLength ( hmonitor : super::super::Foundation:: HANDLE , pdwcapabilitiesstringlengthincharacters : *mut u32 ) -> i32 ); GetCapabilitiesStringLength(hmonitor.into(), pdwcapabilitiesstringlengthincharacters) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDisplayAutoRotationPreferences(porientation: *mut ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetDisplayAutoRotationPreferences ( porientation : *mut ORIENTATION_PREFERENCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDisplayAutoRotationPreferences ( porientation : *mut ORIENTATION_PREFERENCE ) -> super::super::Foundation:: BOOL ); GetDisplayAutoRotationPreferences(porientation) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDisplayConfigBufferSizes(flags: QUERY_DISPLAY_CONFIG_FLAGS, numpatharrayelements: *mut u32, nummodeinfoarrayelements: *mut u32) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "user32.dll""system" fn GetDisplayConfigBufferSizes ( flags : QUERY_DISPLAY_CONFIG_FLAGS , numpatharrayelements : *mut u32 , nummodeinfoarrayelements : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDisplayConfigBufferSizes ( flags : QUERY_DISPLAY_CONFIG_FLAGS , numpatharrayelements : *mut u32 , nummodeinfoarrayelements : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetDisplayConfigBufferSizes(flags, numpatharrayelements, nummodeinfoarrayelements) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -557,7 +557,7 @@ pub unsafe fn GetMonitorBrightness(hmonitor: P0, pdwminimumbrightness: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorBrightness ( hmonitor : super::super::Foundation:: HANDLE , pdwminimumbrightness : *mut u32 , pdwcurrentbrightness : *mut u32 , pdwmaximumbrightness : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorBrightness ( hmonitor : super::super::Foundation:: HANDLE , pdwminimumbrightness : *mut u32 , pdwcurrentbrightness : *mut u32 , pdwmaximumbrightness : *mut u32 ) -> i32 ); GetMonitorBrightness(hmonitor.into(), pdwminimumbrightness, pdwcurrentbrightness, pdwmaximumbrightness) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -567,7 +567,7 @@ pub unsafe fn GetMonitorCapabilities(hmonitor: P0, pdwmonitorcapabilities: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorCapabilities ( hmonitor : super::super::Foundation:: HANDLE , pdwmonitorcapabilities : *mut u32 , pdwsupportedcolortemperatures : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorCapabilities ( hmonitor : super::super::Foundation:: HANDLE , pdwmonitorcapabilities : *mut u32 , pdwsupportedcolortemperatures : *mut u32 ) -> i32 ); GetMonitorCapabilities(hmonitor.into(), pdwmonitorcapabilities, pdwsupportedcolortemperatures) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -577,7 +577,7 @@ pub unsafe fn GetMonitorColorTemperature(hmonitor: P0, pctcurrentcolortemper where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorColorTemperature ( hmonitor : super::super::Foundation:: HANDLE , pctcurrentcolortemperature : *mut MC_COLOR_TEMPERATURE ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorColorTemperature ( hmonitor : super::super::Foundation:: HANDLE , pctcurrentcolortemperature : *mut MC_COLOR_TEMPERATURE ) -> i32 ); GetMonitorColorTemperature(hmonitor.into(), pctcurrentcolortemperature) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -587,7 +587,7 @@ pub unsafe fn GetMonitorContrast(hmonitor: P0, pdwminimumcontrast: *mut u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorContrast ( hmonitor : super::super::Foundation:: HANDLE , pdwminimumcontrast : *mut u32 , pdwcurrentcontrast : *mut u32 , pdwmaximumcontrast : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorContrast ( hmonitor : super::super::Foundation:: HANDLE , pdwminimumcontrast : *mut u32 , pdwcurrentcontrast : *mut u32 , pdwmaximumcontrast : *mut u32 ) -> i32 ); GetMonitorContrast(hmonitor.into(), pdwminimumcontrast, pdwcurrentcontrast, pdwmaximumcontrast) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -597,7 +597,7 @@ pub unsafe fn GetMonitorDisplayAreaPosition(hmonitor: P0, ptpositiontype: MC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorDisplayAreaPosition ( hmonitor : super::super::Foundation:: HANDLE , ptpositiontype : MC_POSITION_TYPE , pdwminimumposition : *mut u32 , pdwcurrentposition : *mut u32 , pdwmaximumposition : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorDisplayAreaPosition ( hmonitor : super::super::Foundation:: HANDLE , ptpositiontype : MC_POSITION_TYPE , pdwminimumposition : *mut u32 , pdwcurrentposition : *mut u32 , pdwmaximumposition : *mut u32 ) -> i32 ); GetMonitorDisplayAreaPosition(hmonitor.into(), ptpositiontype, pdwminimumposition, pdwcurrentposition, pdwmaximumposition) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -607,7 +607,7 @@ pub unsafe fn GetMonitorDisplayAreaSize(hmonitor: P0, stsizetype: MC_SIZE_TY where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorDisplayAreaSize ( hmonitor : super::super::Foundation:: HANDLE , stsizetype : MC_SIZE_TYPE , pdwminimumwidthorheight : *mut u32 , pdwcurrentwidthorheight : *mut u32 , pdwmaximumwidthorheight : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorDisplayAreaSize ( hmonitor : super::super::Foundation:: HANDLE , stsizetype : MC_SIZE_TYPE , pdwminimumwidthorheight : *mut u32 , pdwcurrentwidthorheight : *mut u32 , pdwmaximumwidthorheight : *mut u32 ) -> i32 ); GetMonitorDisplayAreaSize(hmonitor.into(), stsizetype, pdwminimumwidthorheight, pdwcurrentwidthorheight, pdwmaximumwidthorheight) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -617,7 +617,7 @@ pub unsafe fn GetMonitorRedGreenOrBlueDrive(hmonitor: P0, dtdrivetype: MC_DR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorRedGreenOrBlueDrive ( hmonitor : super::super::Foundation:: HANDLE , dtdrivetype : MC_DRIVE_TYPE , pdwminimumdrive : *mut u32 , pdwcurrentdrive : *mut u32 , pdwmaximumdrive : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorRedGreenOrBlueDrive ( hmonitor : super::super::Foundation:: HANDLE , dtdrivetype : MC_DRIVE_TYPE , pdwminimumdrive : *mut u32 , pdwcurrentdrive : *mut u32 , pdwmaximumdrive : *mut u32 ) -> i32 ); GetMonitorRedGreenOrBlueDrive(hmonitor.into(), dtdrivetype, pdwminimumdrive, pdwcurrentdrive, pdwmaximumdrive) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -627,7 +627,7 @@ pub unsafe fn GetMonitorRedGreenOrBlueGain(hmonitor: P0, gtgaintype: MC_GAIN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorRedGreenOrBlueGain ( hmonitor : super::super::Foundation:: HANDLE , gtgaintype : MC_GAIN_TYPE , pdwminimumgain : *mut u32 , pdwcurrentgain : *mut u32 , pdwmaximumgain : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorRedGreenOrBlueGain ( hmonitor : super::super::Foundation:: HANDLE , gtgaintype : MC_GAIN_TYPE , pdwminimumgain : *mut u32 , pdwcurrentgain : *mut u32 , pdwmaximumgain : *mut u32 ) -> i32 ); GetMonitorRedGreenOrBlueGain(hmonitor.into(), gtgaintype, pdwminimumgain, pdwcurrentgain, pdwmaximumgain) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -637,7 +637,7 @@ pub unsafe fn GetMonitorTechnologyType(hmonitor: P0, pdtydisplaytechnologyty where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetMonitorTechnologyType ( hmonitor : super::super::Foundation:: HANDLE , pdtydisplaytechnologytype : *mut MC_DISPLAY_TECHNOLOGY_TYPE ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetMonitorTechnologyType ( hmonitor : super::super::Foundation:: HANDLE , pdtydisplaytechnologytype : *mut MC_DISPLAY_TECHNOLOGY_TYPE ) -> i32 ); GetMonitorTechnologyType(hmonitor.into(), pdtydisplaytechnologytype) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -647,7 +647,7 @@ pub unsafe fn GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor: P0, pdwnumbe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetNumberOfPhysicalMonitorsFromHMONITOR ( hmonitor : super::super::Graphics::Gdi:: HMONITOR , pdwnumberofphysicalmonitors : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetNumberOfPhysicalMonitorsFromHMONITOR ( hmonitor : super::super::Graphics::Gdi:: HMONITOR , pdwnumberofphysicalmonitors : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNumberOfPhysicalMonitorsFromHMONITOR(hmonitor.into(), pdwnumberofphysicalmonitors) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -657,7 +657,7 @@ pub unsafe fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevic where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9 ( pdirect3ddevice9 : * mut::core::ffi::c_void , pdwnumberofphysicalmonitors : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9 ( pdirect3ddevice9 : * mut::core::ffi::c_void , pdwnumberofphysicalmonitors : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9.into().abi(), &mut result__).from_abi(result__) } @@ -668,7 +668,7 @@ pub unsafe fn GetPhysicalMonitorsFromHMONITOR(hmonitor: P0, pphysicalmonitor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetPhysicalMonitorsFromHMONITOR ( hmonitor : super::super::Graphics::Gdi:: HMONITOR , dwphysicalmonitorarraysize : u32 , pphysicalmonitorarray : *mut PHYSICAL_MONITOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetPhysicalMonitorsFromHMONITOR ( hmonitor : super::super::Graphics::Gdi:: HMONITOR , dwphysicalmonitorarraysize : u32 , pphysicalmonitorarray : *mut PHYSICAL_MONITOR ) -> super::super::Foundation:: BOOL ); GetPhysicalMonitorsFromHMONITOR(hmonitor.into(), pphysicalmonitorarray.len() as _, ::core::mem::transmute(pphysicalmonitorarray.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -678,7 +678,7 @@ pub unsafe fn GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9: P0, where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetPhysicalMonitorsFromIDirect3DDevice9 ( pdirect3ddevice9 : * mut::core::ffi::c_void , dwphysicalmonitorarraysize : u32 , pphysicalmonitorarray : *mut PHYSICAL_MONITOR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetPhysicalMonitorsFromIDirect3DDevice9 ( pdirect3ddevice9 : * mut::core::ffi::c_void , dwphysicalmonitorarraysize : u32 , pphysicalmonitorarray : *mut PHYSICAL_MONITOR ) -> :: windows::core::HRESULT ); GetPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9.into().abi(), pphysicalmonitorarray.len() as _, ::core::mem::transmute(pphysicalmonitorarray.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -688,7 +688,7 @@ pub unsafe fn GetTimingReport(hmonitor: P0, pmtrmonitortimingreport: *mut MC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetTimingReport ( hmonitor : super::super::Foundation:: HANDLE , pmtrmonitortimingreport : *mut MC_TIMING_REPORT ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetTimingReport ( hmonitor : super::super::Foundation:: HANDLE , pmtrmonitortimingreport : *mut MC_TIMING_REPORT ) -> i32 ); GetTimingReport(hmonitor.into(), pmtrmonitortimingreport) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -698,14 +698,14 @@ pub unsafe fn GetVCPFeatureAndVCPFeatureReply(hmonitor: P0, bvcpcode: u8, pv where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn GetVCPFeatureAndVCPFeatureReply ( hmonitor : super::super::Foundation:: HANDLE , bvcpcode : u8 , pvct : *mut MC_VCP_CODE_TYPE , pdwcurrentvalue : *mut u32 , pdwmaximumvalue : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn GetVCPFeatureAndVCPFeatureReply ( hmonitor : super::super::Foundation:: HANDLE , bvcpcode : u8 , pvct : *mut MC_VCP_CODE_TYPE , pdwcurrentvalue : *mut u32 , pdwmaximumvalue : *mut u32 ) -> i32 ); GetVCPFeatureAndVCPFeatureReply(hmonitor.into(), bvcpcode, ::core::mem::transmute(pvct.unwrap_or(::std::ptr::null_mut())), pdwcurrentvalue, ::core::mem::transmute(pdwmaximumvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HT_Get8BPPFormatPalette(ppaletteentry: ::core::option::Option<*mut super::super::Graphics::Gdi::PALETTEENTRY>, redgamma: u16, greengamma: u16, bluegamma: u16) -> i32 { - ::windows::core::link ! ( "gdi32.dll""system" fn HT_Get8BPPFormatPalette ( ppaletteentry : *mut super::super::Graphics::Gdi:: PALETTEENTRY , redgamma : u16 , greengamma : u16 , bluegamma : u16 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn HT_Get8BPPFormatPalette ( ppaletteentry : *mut super::super::Graphics::Gdi:: PALETTEENTRY , redgamma : u16 , greengamma : u16 , bluegamma : u16 ) -> i32 ); HT_Get8BPPFormatPalette(::core::mem::transmute(ppaletteentry.unwrap_or(::std::ptr::null_mut())), redgamma, greengamma, bluegamma) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -715,47 +715,47 @@ pub unsafe fn HT_Get8BPPMaskPalette(ppaletteentry: ::core::option::Option<*m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn HT_Get8BPPMaskPalette ( ppaletteentry : *mut super::super::Graphics::Gdi:: PALETTEENTRY , use8bppmaskpal : super::super::Foundation:: BOOL , cmymask : u8 , redgamma : u16 , greengamma : u16 , bluegamma : u16 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn HT_Get8BPPMaskPalette ( ppaletteentry : *mut super::super::Graphics::Gdi:: PALETTEENTRY , use8bppmaskpal : super::super::Foundation:: BOOL , cmymask : u8 , redgamma : u16 , greengamma : u16 , bluegamma : u16 ) -> i32 ); HT_Get8BPPMaskPalette(::core::mem::transmute(ppaletteentry.unwrap_or(::std::ptr::null_mut())), use8bppmaskpal.into(), cmymask, redgamma, greengamma, bluegamma) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PATHOBJ_bEnum(ppo: *mut PATHOBJ, ppd: *mut PATHDATA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn PATHOBJ_bEnum ( ppo : *mut PATHOBJ , ppd : *mut PATHDATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PATHOBJ_bEnum ( ppo : *mut PATHOBJ , ppd : *mut PATHDATA ) -> super::super::Foundation:: BOOL ); PATHOBJ_bEnum(ppo, ppd) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PATHOBJ_bEnumClipLines(ppo: *mut PATHOBJ, cb: u32, pcl: *mut CLIPLINE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn PATHOBJ_bEnumClipLines ( ppo : *mut PATHOBJ , cb : u32 , pcl : *mut CLIPLINE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PATHOBJ_bEnumClipLines ( ppo : *mut PATHOBJ , cb : u32 , pcl : *mut CLIPLINE ) -> super::super::Foundation:: BOOL ); PATHOBJ_bEnumClipLines(ppo, cb, pcl) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn PATHOBJ_vEnumStart(ppo: *mut PATHOBJ) { - ::windows::core::link ! ( "gdi32.dll""system" fn PATHOBJ_vEnumStart ( ppo : *mut PATHOBJ ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PATHOBJ_vEnumStart ( ppo : *mut PATHOBJ ) -> ( ) ); PATHOBJ_vEnumStart(ppo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PATHOBJ_vEnumStartClipLines(ppo: *mut PATHOBJ, pco: *mut CLIPOBJ, pso: *mut SURFOBJ, pla: *mut LINEATTRS) { - ::windows::core::link ! ( "gdi32.dll""system" fn PATHOBJ_vEnumStartClipLines ( ppo : *mut PATHOBJ , pco : *mut CLIPOBJ , pso : *mut SURFOBJ , pla : *mut LINEATTRS ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PATHOBJ_vEnumStartClipLines ( ppo : *mut PATHOBJ , pco : *mut CLIPOBJ , pso : *mut SURFOBJ , pla : *mut LINEATTRS ) -> ( ) ); PATHOBJ_vEnumStartClipLines(ppo, pco, pso, pla) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn PATHOBJ_vGetBounds(ppo: *mut PATHOBJ, prectfx: *mut RECTFX) { - ::windows::core::link ! ( "gdi32.dll""system" fn PATHOBJ_vGetBounds ( ppo : *mut PATHOBJ , prectfx : *mut RECTFX ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PATHOBJ_vGetBounds ( ppo : *mut PATHOBJ , prectfx : *mut RECTFX ) -> ( ) ); PATHOBJ_vGetBounds(ppo, prectfx) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryDisplayConfig(flags: QUERY_DISPLAY_CONFIG_FLAGS, numpatharrayelements: *mut u32, patharray: *mut DISPLAYCONFIG_PATH_INFO, nummodeinfoarrayelements: *mut u32, modeinfoarray: *mut DISPLAYCONFIG_MODE_INFO, currenttopologyid: ::core::option::Option<*mut DISPLAYCONFIG_TOPOLOGY_ID>) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "user32.dll""system" fn QueryDisplayConfig ( flags : QUERY_DISPLAY_CONFIG_FLAGS , numpatharrayelements : *mut u32 , patharray : *mut DISPLAYCONFIG_PATH_INFO , nummodeinfoarrayelements : *mut u32 , modeinfoarray : *mut DISPLAYCONFIG_MODE_INFO , currenttopologyid : *mut DISPLAYCONFIG_TOPOLOGY_ID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "user32.dll""system" fn QueryDisplayConfig ( flags : QUERY_DISPLAY_CONFIG_FLAGS , numpatharrayelements : *mut u32 , patharray : *mut DISPLAYCONFIG_PATH_INFO , nummodeinfoarrayelements : *mut u32 , modeinfoarray : *mut DISPLAYCONFIG_MODE_INFO , currenttopologyid : *mut DISPLAYCONFIG_TOPOLOGY_ID ) -> super::super::Foundation:: WIN32_ERROR ); QueryDisplayConfig(flags, numpatharrayelements, patharray, nummodeinfoarrayelements, modeinfoarray, ::core::mem::transmute(currenttopologyid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -765,7 +765,7 @@ pub unsafe fn RestoreMonitorFactoryColorDefaults(hmonitor: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn RestoreMonitorFactoryColorDefaults ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn RestoreMonitorFactoryColorDefaults ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); RestoreMonitorFactoryColorDefaults(hmonitor.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -775,42 +775,42 @@ pub unsafe fn RestoreMonitorFactoryDefaults(hmonitor: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn RestoreMonitorFactoryDefaults ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn RestoreMonitorFactoryDefaults ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); RestoreMonitorFactoryDefaults(hmonitor.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn STROBJ_bEnum(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn STROBJ_bEnum ( pstro : *mut STROBJ , pc : *mut u32 , ppgpos : *mut *mut GLYPHPOS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn STROBJ_bEnum ( pstro : *mut STROBJ , pc : *mut u32 , ppgpos : *mut *mut GLYPHPOS ) -> super::super::Foundation:: BOOL ); STROBJ_bEnum(pstro, pc, ppgpos) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn STROBJ_bEnumPositionsOnly(pstro: *mut STROBJ, pc: *mut u32, ppgpos: *mut *mut GLYPHPOS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn STROBJ_bEnumPositionsOnly ( pstro : *mut STROBJ , pc : *mut u32 , ppgpos : *mut *mut GLYPHPOS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn STROBJ_bEnumPositionsOnly ( pstro : *mut STROBJ , pc : *mut u32 , ppgpos : *mut *mut GLYPHPOS ) -> super::super::Foundation:: BOOL ); STROBJ_bEnumPositionsOnly(pstro, pc, ppgpos) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn STROBJ_bGetAdvanceWidths(pso: *mut STROBJ, ifirst: u32, c: u32, pptqd: *mut POINTQF) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn STROBJ_bGetAdvanceWidths ( pso : *mut STROBJ , ifirst : u32 , c : u32 , pptqd : *mut POINTQF ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn STROBJ_bGetAdvanceWidths ( pso : *mut STROBJ , ifirst : u32 , c : u32 , pptqd : *mut POINTQF ) -> super::super::Foundation:: BOOL ); STROBJ_bGetAdvanceWidths(pso, ifirst, c, pptqd) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn STROBJ_dwGetCodePage(pstro: *mut STROBJ) -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn STROBJ_dwGetCodePage ( pstro : *mut STROBJ ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn STROBJ_dwGetCodePage ( pstro : *mut STROBJ ) -> u32 ); STROBJ_dwGetCodePage(pstro) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn STROBJ_vEnumStart(pstro: *mut STROBJ) { - ::windows::core::link ! ( "gdi32.dll""system" fn STROBJ_vEnumStart ( pstro : *mut STROBJ ) -> ( ) ); + ::windows::imp::link ! ( "gdi32.dll""system" fn STROBJ_vEnumStart ( pstro : *mut STROBJ ) -> ( ) ); STROBJ_vEnumStart(pstro) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -820,7 +820,7 @@ pub unsafe fn SaveCurrentMonitorSettings(hmonitor: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SaveCurrentMonitorSettings ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SaveCurrentMonitorSettings ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); SaveCurrentMonitorSettings(hmonitor.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -830,21 +830,21 @@ pub unsafe fn SaveCurrentSettings(hmonitor: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SaveCurrentSettings ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SaveCurrentSettings ( hmonitor : super::super::Foundation:: HANDLE ) -> i32 ); SaveCurrentSettings(hmonitor.into()) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetDisplayAutoRotationPreferences(orientation: ORIENTATION_PREFERENCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetDisplayAutoRotationPreferences ( orientation : ORIENTATION_PREFERENCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDisplayAutoRotationPreferences ( orientation : ORIENTATION_PREFERENCE ) -> super::super::Foundation:: BOOL ); SetDisplayAutoRotationPreferences(orientation) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetDisplayConfig(patharray: ::core::option::Option<&[DISPLAYCONFIG_PATH_INFO]>, modeinfoarray: ::core::option::Option<&[DISPLAYCONFIG_MODE_INFO]>, flags: SET_DISPLAY_CONFIG_FLAGS) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn SetDisplayConfig ( numpatharrayelements : u32 , patharray : *const DISPLAYCONFIG_PATH_INFO , nummodeinfoarrayelements : u32 , modeinfoarray : *const DISPLAYCONFIG_MODE_INFO , flags : SET_DISPLAY_CONFIG_FLAGS ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDisplayConfig ( numpatharrayelements : u32 , patharray : *const DISPLAYCONFIG_PATH_INFO , nummodeinfoarrayelements : u32 , modeinfoarray : *const DISPLAYCONFIG_MODE_INFO , flags : SET_DISPLAY_CONFIG_FLAGS ) -> i32 ); SetDisplayConfig(patharray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(patharray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), modeinfoarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(modeinfoarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), flags) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -854,7 +854,7 @@ pub unsafe fn SetMonitorBrightness(hmonitor: P0, dwnewbrightness: u32) -> i3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SetMonitorBrightness ( hmonitor : super::super::Foundation:: HANDLE , dwnewbrightness : u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SetMonitorBrightness ( hmonitor : super::super::Foundation:: HANDLE , dwnewbrightness : u32 ) -> i32 ); SetMonitorBrightness(hmonitor.into(), dwnewbrightness) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -864,7 +864,7 @@ pub unsafe fn SetMonitorColorTemperature(hmonitor: P0, ctcurrentcolortempera where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SetMonitorColorTemperature ( hmonitor : super::super::Foundation:: HANDLE , ctcurrentcolortemperature : MC_COLOR_TEMPERATURE ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SetMonitorColorTemperature ( hmonitor : super::super::Foundation:: HANDLE , ctcurrentcolortemperature : MC_COLOR_TEMPERATURE ) -> i32 ); SetMonitorColorTemperature(hmonitor.into(), ctcurrentcolortemperature) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -874,7 +874,7 @@ pub unsafe fn SetMonitorContrast(hmonitor: P0, dwnewcontrast: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SetMonitorContrast ( hmonitor : super::super::Foundation:: HANDLE , dwnewcontrast : u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SetMonitorContrast ( hmonitor : super::super::Foundation:: HANDLE , dwnewcontrast : u32 ) -> i32 ); SetMonitorContrast(hmonitor.into(), dwnewcontrast) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -884,7 +884,7 @@ pub unsafe fn SetMonitorDisplayAreaPosition(hmonitor: P0, ptpositiontype: MC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SetMonitorDisplayAreaPosition ( hmonitor : super::super::Foundation:: HANDLE , ptpositiontype : MC_POSITION_TYPE , dwnewposition : u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SetMonitorDisplayAreaPosition ( hmonitor : super::super::Foundation:: HANDLE , ptpositiontype : MC_POSITION_TYPE , dwnewposition : u32 ) -> i32 ); SetMonitorDisplayAreaPosition(hmonitor.into(), ptpositiontype, dwnewposition) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -894,7 +894,7 @@ pub unsafe fn SetMonitorDisplayAreaSize(hmonitor: P0, stsizetype: MC_SIZE_TY where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SetMonitorDisplayAreaSize ( hmonitor : super::super::Foundation:: HANDLE , stsizetype : MC_SIZE_TYPE , dwnewdisplayareawidthorheight : u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SetMonitorDisplayAreaSize ( hmonitor : super::super::Foundation:: HANDLE , stsizetype : MC_SIZE_TYPE , dwnewdisplayareawidthorheight : u32 ) -> i32 ); SetMonitorDisplayAreaSize(hmonitor.into(), stsizetype, dwnewdisplayareawidthorheight) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -904,7 +904,7 @@ pub unsafe fn SetMonitorRedGreenOrBlueDrive(hmonitor: P0, dtdrivetype: MC_DR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SetMonitorRedGreenOrBlueDrive ( hmonitor : super::super::Foundation:: HANDLE , dtdrivetype : MC_DRIVE_TYPE , dwnewdrive : u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SetMonitorRedGreenOrBlueDrive ( hmonitor : super::super::Foundation:: HANDLE , dtdrivetype : MC_DRIVE_TYPE , dwnewdrive : u32 ) -> i32 ); SetMonitorRedGreenOrBlueDrive(hmonitor.into(), dtdrivetype, dwnewdrive) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -914,7 +914,7 @@ pub unsafe fn SetMonitorRedGreenOrBlueGain(hmonitor: P0, gtgaintype: MC_GAIN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SetMonitorRedGreenOrBlueGain ( hmonitor : super::super::Foundation:: HANDLE , gtgaintype : MC_GAIN_TYPE , dwnewgain : u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SetMonitorRedGreenOrBlueGain ( hmonitor : super::super::Foundation:: HANDLE , gtgaintype : MC_GAIN_TYPE , dwnewgain : u32 ) -> i32 ); SetMonitorRedGreenOrBlueGain(hmonitor.into(), gtgaintype, dwnewgain) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] @@ -924,45 +924,45 @@ pub unsafe fn SetVCPFeature(hmonitor: P0, bvcpcode: u8, dwnewvalue: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn SetVCPFeature ( hmonitor : super::super::Foundation:: HANDLE , bvcpcode : u8 , dwnewvalue : u32 ) -> i32 ); + ::windows::imp::link ! ( "dxva2.dll""system" fn SetVCPFeature ( hmonitor : super::super::Foundation:: HANDLE , bvcpcode : u8 , dwnewvalue : u32 ) -> i32 ); SetVCPFeature(hmonitor.into(), bvcpcode, dwnewvalue) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn XFORMOBJ_bApplyXform(pxo: *mut XFORMOBJ, imode: u32, cpoints: u32, pvin: *mut ::core::ffi::c_void, pvout: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn XFORMOBJ_bApplyXform ( pxo : *mut XFORMOBJ , imode : u32 , cpoints : u32 , pvin : *mut ::core::ffi::c_void , pvout : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn XFORMOBJ_bApplyXform ( pxo : *mut XFORMOBJ , imode : u32 , cpoints : u32 , pvin : *mut ::core::ffi::c_void , pvout : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); XFORMOBJ_bApplyXform(pxo, imode, cpoints, pvin, pvout) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn XFORMOBJ_iGetXform(pxo: *const XFORMOBJ, pxform: ::core::option::Option<*mut XFORML>) -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn XFORMOBJ_iGetXform ( pxo : *const XFORMOBJ , pxform : *mut XFORML ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn XFORMOBJ_iGetXform ( pxo : *const XFORMOBJ , pxform : *mut XFORML ) -> u32 ); XFORMOBJ_iGetXform(pxo, ::core::mem::transmute(pxform.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn XLATEOBJ_cGetPalette(pxlo: *mut XLATEOBJ, ipal: u32, cpal: u32, ppal: *mut u32) -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn XLATEOBJ_cGetPalette ( pxlo : *mut XLATEOBJ , ipal : u32 , cpal : u32 , ppal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn XLATEOBJ_cGetPalette ( pxlo : *mut XLATEOBJ , ipal : u32 , cpal : u32 , ppal : *mut u32 ) -> u32 ); XLATEOBJ_cGetPalette(pxlo, ipal, cpal, ppal) } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn XLATEOBJ_hGetColorTransform(pxlo: *mut XLATEOBJ) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "gdi32.dll""system" fn XLATEOBJ_hGetColorTransform ( pxlo : *mut XLATEOBJ ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn XLATEOBJ_hGetColorTransform ( pxlo : *mut XLATEOBJ ) -> super::super::Foundation:: HANDLE ); XLATEOBJ_hGetColorTransform(pxlo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn XLATEOBJ_iXlate(pxlo: *mut XLATEOBJ, icolor: u32) -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn XLATEOBJ_iXlate ( pxlo : *mut XLATEOBJ , icolor : u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn XLATEOBJ_iXlate ( pxlo : *mut XLATEOBJ , icolor : u32 ) -> u32 ); XLATEOBJ_iXlate(pxlo, icolor) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[inline] pub unsafe fn XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn XLATEOBJ_piVector ( pxlo : *mut XLATEOBJ ) -> *mut u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn XLATEOBJ_piVector ( pxlo : *mut XLATEOBJ ) -> *mut u32 ); XLATEOBJ_piVector(pxlo) } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] @@ -996,7 +996,7 @@ impl ICloneViewHelper { (::windows::core::Vtable::vtable(self).Commit)(::windows::core::Vtable::as_raw(self), ffinalcall.into()).ok() } } -::windows::core::interface_hierarchy!(ICloneViewHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICloneViewHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICloneViewHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1069,7 +1069,7 @@ impl IViewHelper { (::windows::core::Vtable::vtable(self).GetProceedOnNewConfiguration)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IViewHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IViewHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IViewHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs index 1cc9208e68..91a080ff5c 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn SwDeviceClose(hswdevice: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwDeviceClose ( hswdevice : HSWDEVICE ) -> ( ) ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwDeviceClose ( hswdevice : HSWDEVICE ) -> ( ) ); SwDeviceClose(hswdevice.into()) } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -15,7 +15,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwDeviceCreate ( pszenumeratorname : :: windows::core::PCWSTR , pszparentdeviceinstance : :: windows::core::PCWSTR , pcreateinfo : *const SW_DEVICE_CREATE_INFO , cpropertycount : u32 , pproperties : *const super::super::Properties:: DEVPROPERTY , pcallback : SW_DEVICE_CREATE_CALLBACK , pcontext : *const ::core::ffi::c_void , phswdevice : *mut isize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwDeviceCreate ( pszenumeratorname : :: windows::core::PCWSTR , pszparentdeviceinstance : :: windows::core::PCWSTR , pcreateinfo : *const SW_DEVICE_CREATE_INFO , cpropertycount : u32 , pproperties : *const super::super::Properties:: DEVPROPERTY , pcallback : SW_DEVICE_CREATE_CALLBACK , pcontext : *const ::core::ffi::c_void , phswdevice : *mut isize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SwDeviceCreate(pszenumeratorname.into().abi(), pszparentdeviceinstance.into().abi(), pcreateinfo, pproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcallback, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -25,7 +25,7 @@ pub unsafe fn SwDeviceGetLifetime(hswdevice: P0) -> ::windows::core::Result< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwDeviceGetLifetime ( hswdevice : HSWDEVICE , plifetime : *mut SW_DEVICE_LIFETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwDeviceGetLifetime ( hswdevice : HSWDEVICE , plifetime : *mut SW_DEVICE_LIFETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SwDeviceGetLifetime(hswdevice.into(), &mut result__).from_abi(result__) } @@ -37,7 +37,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwDeviceInterfacePropertySet ( hswdevice : HSWDEVICE , pszdeviceinterfaceid : :: windows::core::PCWSTR , cpropertycount : u32 , pproperties : *const super::super::Properties:: DEVPROPERTY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwDeviceInterfacePropertySet ( hswdevice : HSWDEVICE , pszdeviceinterfaceid : :: windows::core::PCWSTR , cpropertycount : u32 , pproperties : *const super::super::Properties:: DEVPROPERTY ) -> :: windows::core::HRESULT ); SwDeviceInterfacePropertySet(hswdevice.into(), pszdeviceinterfaceid.into().abi(), pproperties.len() as _, ::core::mem::transmute(pproperties.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] @@ -49,7 +49,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwDeviceInterfaceRegister ( hswdevice : HSWDEVICE , pinterfaceclassguid : *const :: windows::core::GUID , pszreferencestring : :: windows::core::PCWSTR , cpropertycount : u32 , pproperties : *const super::super::Properties:: DEVPROPERTY , fenabled : super::super::super::Foundation:: BOOL , ppszdeviceinterfaceid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwDeviceInterfaceRegister ( hswdevice : HSWDEVICE , pinterfaceclassguid : *const :: windows::core::GUID , pszreferencestring : :: windows::core::PCWSTR , cpropertycount : u32 , pproperties : *const super::super::Properties:: DEVPROPERTY , fenabled : super::super::super::Foundation:: BOOL , ppszdeviceinterfaceid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SwDeviceInterfaceRegister(hswdevice.into(), pinterfaceclassguid, pszreferencestring.into().abi(), pproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), fenabled.into(), &mut result__).from_abi(result__) } @@ -62,7 +62,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwDeviceInterfaceSetState ( hswdevice : HSWDEVICE , pszdeviceinterfaceid : :: windows::core::PCWSTR , fenabled : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwDeviceInterfaceSetState ( hswdevice : HSWDEVICE , pszdeviceinterfaceid : :: windows::core::PCWSTR , fenabled : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); SwDeviceInterfaceSetState(hswdevice.into(), pszdeviceinterfaceid.into().abi(), fenabled.into()).ok() } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Devices_Properties\"`*"] @@ -72,7 +72,7 @@ pub unsafe fn SwDevicePropertySet(hswdevice: P0, pproperties: &[super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwDevicePropertySet ( hswdevice : HSWDEVICE , cpropertycount : u32 , pproperties : *const super::super::Properties:: DEVPROPERTY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwDevicePropertySet ( hswdevice : HSWDEVICE , cpropertycount : u32 , pproperties : *const super::super::Properties:: DEVPROPERTY ) -> :: windows::core::HRESULT ); SwDevicePropertySet(hswdevice.into(), pproperties.len() as _, ::core::mem::transmute(pproperties.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] @@ -81,13 +81,13 @@ pub unsafe fn SwDeviceSetLifetime(hswdevice: P0, lifetime: SW_DEVICE_LIFETIM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwDeviceSetLifetime ( hswdevice : HSWDEVICE , lifetime : SW_DEVICE_LIFETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwDeviceSetLifetime ( hswdevice : HSWDEVICE , lifetime : SW_DEVICE_LIFETIME ) -> :: windows::core::HRESULT ); SwDeviceSetLifetime(hswdevice.into(), lifetime).ok() } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[inline] pub unsafe fn SwMemFree(pmem: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "cfgmgr32.dll""system" fn SwMemFree ( pmem : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "cfgmgr32.dll""system" fn SwMemFree ( pmem : *const ::core::ffi::c_void ) -> ( ) ); SwMemFree(pmem) } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] @@ -102,7 +102,7 @@ impl IUPnPAddressFamilyControl { (::windows::core::Vtable::vtable(self).GetAddressFamily)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUPnPAddressFamilyControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPAddressFamilyControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPAddressFamilyControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -140,7 +140,7 @@ impl IUPnPAsyncResult { (::windows::core::Vtable::vtable(self).AsyncOperationComplete)(::windows::core::Vtable::as_raw(self), ullrequestid).ok() } } -::windows::core::interface_hierarchy!(IUPnPAsyncResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPAsyncResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPAsyncResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -209,7 +209,7 @@ impl IUPnPDescriptionDocument { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUPnPDescriptionDocument, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUPnPDescriptionDocument, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUPnPDescriptionDocument { fn eq(&self, other: &Self) -> bool { @@ -265,7 +265,7 @@ impl IUPnPDescriptionDocumentCallback { (::windows::core::Vtable::vtable(self).LoadComplete)(::windows::core::Vtable::as_raw(self), hrloadresult).ok() } } -::windows::core::interface_hierarchy!(IUPnPDescriptionDocumentCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPDescriptionDocumentCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPDescriptionDocumentCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -390,7 +390,7 @@ impl IUPnPDevice { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUPnPDevice, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUPnPDevice, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUPnPDevice { fn eq(&self, other: &Self) -> bool { @@ -476,7 +476,7 @@ impl IUPnPDeviceControl { (::windows::core::Vtable::vtable(self).GetServiceObject)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrudn), ::core::mem::transmute_copy(bstrserviceid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUPnPDeviceControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPDeviceControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPDeviceControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -518,7 +518,7 @@ impl IUPnPDeviceControlHttpHeaders { (::windows::core::Vtable::vtable(self).GetAdditionalResponseHeaders)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUPnPDeviceControlHttpHeaders, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPDeviceControlHttpHeaders, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPDeviceControlHttpHeaders { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -556,7 +556,7 @@ impl IUPnPDeviceDocumentAccess { (::windows::core::Vtable::vtable(self).GetDocumentURL)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUPnPDeviceDocumentAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPDeviceDocumentAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPDeviceDocumentAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -594,7 +594,7 @@ impl IUPnPDeviceDocumentAccessEx { (::windows::core::Vtable::vtable(self).GetDocument)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUPnPDeviceDocumentAccessEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPDeviceDocumentAccessEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPDeviceDocumentAccessEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -656,7 +656,7 @@ impl IUPnPDeviceFinder { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUPnPDeviceFinder, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUPnPDeviceFinder, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUPnPDeviceFinder { fn eq(&self, other: &Self) -> bool { @@ -715,7 +715,7 @@ impl IUPnPDeviceFinderAddCallbackWithInterface { (::windows::core::Vtable::vtable(self).DeviceAddedWithInterface)(::windows::core::Vtable::as_raw(self), lfinddata, pdevice.into().abi(), pguidinterface).ok() } } -::windows::core::interface_hierarchy!(IUPnPDeviceFinderAddCallbackWithInterface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPDeviceFinderAddCallbackWithInterface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPDeviceFinderAddCallbackWithInterface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -766,7 +766,7 @@ impl IUPnPDeviceFinderCallback { (::windows::core::Vtable::vtable(self).SearchComplete)(::windows::core::Vtable::as_raw(self), lfinddata).ok() } } -::windows::core::interface_hierarchy!(IUPnPDeviceFinderCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPDeviceFinderCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPDeviceFinderCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -811,7 +811,7 @@ impl IUPnPDeviceProvider { (::windows::core::Vtable::vtable(self).Stop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUPnPDeviceProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPDeviceProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPDeviceProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -863,7 +863,7 @@ impl IUPnPDevices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUPnPDevices, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUPnPDevices, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUPnPDevices { fn eq(&self, other: &Self) -> bool { @@ -917,7 +917,7 @@ impl IUPnPEventSink { (::windows::core::Vtable::vtable(self).OnStateChangedSafe)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(varsadispidchanges)).ok() } } -::windows::core::interface_hierarchy!(IUPnPEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -967,7 +967,7 @@ impl IUPnPEventSource { (::windows::core::Vtable::vtable(self).Unadvise)(::windows::core::Vtable::as_raw(self), pessubscriber.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUPnPEventSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPEventSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPEventSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1005,7 +1005,7 @@ impl IUPnPHttpHeaderControl { (::windows::core::Vtable::vtable(self).AddRequestHeaders)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrhttpheaders)).ok() } } -::windows::core::interface_hierarchy!(IUPnPHttpHeaderControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPHttpHeaderControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPHttpHeaderControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1068,7 +1068,7 @@ impl IUPnPRegistrar { (::windows::core::Vtable::vtable(self).UnregisterDeviceProvider)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrprovidername)).ok() } } -::windows::core::interface_hierarchy!(IUPnPRegistrar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPRegistrar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPRegistrar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1122,7 +1122,7 @@ impl IUPnPRemoteEndpointInfo { (::windows::core::Vtable::vtable(self).GetGuidValue)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrvaluename), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUPnPRemoteEndpointInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPRemoteEndpointInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPRemoteEndpointInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1167,7 +1167,7 @@ impl IUPnPReregistrar { (::windows::core::Vtable::vtable(self).ReregisterRunningDevice)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrdeviceidentifier), ::core::mem::transmute_copy(bstrxmldesc), punkdevicecontrol.into().abi(), ::core::mem::transmute_copy(bstrinitstring), ::core::mem::transmute_copy(bstrresourcepath), nlifetime).ok() } } -::windows::core::interface_hierarchy!(IUPnPReregistrar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPReregistrar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPReregistrar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1234,7 +1234,7 @@ impl IUPnPService { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUPnPService, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUPnPService, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUPnPService { fn eq(&self, other: &Self) -> bool { @@ -1337,7 +1337,7 @@ impl IUPnPServiceAsync { (::windows::core::Vtable::vtable(self).CancelAsyncOperation)(::windows::core::Vtable::as_raw(self), ullrequestid).ok() } } -::windows::core::interface_hierarchy!(IUPnPServiceAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPServiceAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPServiceAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1405,7 +1405,7 @@ impl IUPnPServiceCallback { (::windows::core::Vtable::vtable(self).ServiceInstanceDied)(::windows::core::Vtable::as_raw(self), pus.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUPnPServiceCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPServiceCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPServiceCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1454,7 +1454,7 @@ impl IUPnPServiceDocumentAccess { (::windows::core::Vtable::vtable(self).GetDocument)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUPnPServiceDocumentAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPServiceDocumentAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPServiceDocumentAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1492,7 +1492,7 @@ impl IUPnPServiceEnumProperty { (::windows::core::Vtable::vtable(self).SetServiceEnumProperty)(::windows::core::Vtable::as_raw(self), dwmask).ok() } } -::windows::core::interface_hierarchy!(IUPnPServiceEnumProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUPnPServiceEnumProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUPnPServiceEnumProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1543,7 +1543,7 @@ impl IUPnPServices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUPnPServices, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUPnPServices, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUPnPServices { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs index 52a06ec82c..18117892f3 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CanSendToFaxRecipient() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "fxsutility.dll""system" fn CanSendToFaxRecipient ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "fxsutility.dll""system" fn CanSendToFaxRecipient ( ) -> super::super::Foundation:: BOOL ); CanSendToFaxRecipient() } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -12,7 +12,7 @@ pub unsafe fn FaxAbort(faxhandle: P0, jobid: u32) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxAbort ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxAbort ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 ) -> super::super::Foundation:: BOOL ); FaxAbort(faxhandle.into(), jobid) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -22,7 +22,7 @@ pub unsafe fn FaxAccessCheck(faxhandle: P0, accessmask: u32) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxAccessCheck ( faxhandle : super::super::Foundation:: HANDLE , accessmask : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxAccessCheck ( faxhandle : super::super::Foundation:: HANDLE , accessmask : u32 ) -> super::super::Foundation:: BOOL ); FaxAccessCheck(faxhandle.into(), accessmask) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -32,21 +32,21 @@ pub unsafe fn FaxClose(faxhandle: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxClose ( faxhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxClose ( faxhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); FaxClose(faxhandle.into()) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FaxCompleteJobParamsA(jobparams: *mut *mut FAX_JOB_PARAMA, coverpageinfo: *mut *mut FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winfax.dll""system" fn FaxCompleteJobParamsA ( jobparams : *mut *mut FAX_JOB_PARAMA , coverpageinfo : *mut *mut FAX_COVERPAGE_INFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxCompleteJobParamsA ( jobparams : *mut *mut FAX_JOB_PARAMA , coverpageinfo : *mut *mut FAX_COVERPAGE_INFOA ) -> super::super::Foundation:: BOOL ); FaxCompleteJobParamsA(jobparams, coverpageinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FaxCompleteJobParamsW(jobparams: *mut *mut FAX_JOB_PARAMW, coverpageinfo: *mut *mut FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winfax.dll""system" fn FaxCompleteJobParamsW ( jobparams : *mut *mut FAX_JOB_PARAMW , coverpageinfo : *mut *mut FAX_COVERPAGE_INFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxCompleteJobParamsW ( jobparams : *mut *mut FAX_JOB_PARAMW , coverpageinfo : *mut *mut FAX_COVERPAGE_INFOW ) -> super::super::Foundation:: BOOL ); FaxCompleteJobParamsW(jobparams, coverpageinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -56,7 +56,7 @@ pub unsafe fn FaxConnectFaxServerA(machinename: P0, faxhandle: *mut super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxConnectFaxServerA ( machinename : :: windows::core::PCSTR , faxhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxConnectFaxServerA ( machinename : :: windows::core::PCSTR , faxhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); FaxConnectFaxServerA(machinename.into().abi(), faxhandle) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -66,7 +66,7 @@ pub unsafe fn FaxConnectFaxServerW(machinename: P0, faxhandle: *mut super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxConnectFaxServerW ( machinename : :: windows::core::PCWSTR , faxhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxConnectFaxServerW ( machinename : :: windows::core::PCWSTR , faxhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); FaxConnectFaxServerW(machinename.into().abi(), faxhandle) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -78,7 +78,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnableRoutingMethodA ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCSTR , enabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnableRoutingMethodA ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCSTR , enabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); FaxEnableRoutingMethodA(faxporthandle.into(), routingguid.into().abi(), enabled.into()) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -90,7 +90,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnableRoutingMethodW ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCWSTR , enabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnableRoutingMethodW ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCWSTR , enabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); FaxEnableRoutingMethodW(faxporthandle.into(), routingguid.into().abi(), enabled.into()) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -100,7 +100,7 @@ pub unsafe fn FaxEnumGlobalRoutingInfoA(faxhandle: P0, routinginfo: *mut *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnumGlobalRoutingInfoA ( faxhandle : super::super::Foundation:: HANDLE , routinginfo : *mut *mut FAX_GLOBAL_ROUTING_INFOA , methodsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnumGlobalRoutingInfoA ( faxhandle : super::super::Foundation:: HANDLE , routinginfo : *mut *mut FAX_GLOBAL_ROUTING_INFOA , methodsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxEnumGlobalRoutingInfoA(faxhandle.into(), routinginfo, methodsreturned) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -110,7 +110,7 @@ pub unsafe fn FaxEnumGlobalRoutingInfoW(faxhandle: P0, routinginfo: *mut *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnumGlobalRoutingInfoW ( faxhandle : super::super::Foundation:: HANDLE , routinginfo : *mut *mut FAX_GLOBAL_ROUTING_INFOW , methodsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnumGlobalRoutingInfoW ( faxhandle : super::super::Foundation:: HANDLE , routinginfo : *mut *mut FAX_GLOBAL_ROUTING_INFOW , methodsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxEnumGlobalRoutingInfoW(faxhandle.into(), routinginfo, methodsreturned) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -120,7 +120,7 @@ pub unsafe fn FaxEnumJobsA(faxhandle: P0, jobentry: *mut *mut FAX_JOB_ENTRYA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnumJobsA ( faxhandle : super::super::Foundation:: HANDLE , jobentry : *mut *mut FAX_JOB_ENTRYA , jobsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnumJobsA ( faxhandle : super::super::Foundation:: HANDLE , jobentry : *mut *mut FAX_JOB_ENTRYA , jobsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxEnumJobsA(faxhandle.into(), jobentry, jobsreturned) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -130,7 +130,7 @@ pub unsafe fn FaxEnumJobsW(faxhandle: P0, jobentry: *mut *mut FAX_JOB_ENTRYW where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnumJobsW ( faxhandle : super::super::Foundation:: HANDLE , jobentry : *mut *mut FAX_JOB_ENTRYW , jobsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnumJobsW ( faxhandle : super::super::Foundation:: HANDLE , jobentry : *mut *mut FAX_JOB_ENTRYW , jobsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxEnumJobsW(faxhandle.into(), jobentry, jobsreturned) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -140,7 +140,7 @@ pub unsafe fn FaxEnumPortsA(faxhandle: P0, portinfo: *mut *mut FAX_PORT_INFO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnumPortsA ( faxhandle : super::super::Foundation:: HANDLE , portinfo : *mut *mut FAX_PORT_INFOA , portsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnumPortsA ( faxhandle : super::super::Foundation:: HANDLE , portinfo : *mut *mut FAX_PORT_INFOA , portsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxEnumPortsA(faxhandle.into(), portinfo, portsreturned) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -150,7 +150,7 @@ pub unsafe fn FaxEnumPortsW(faxhandle: P0, portinfo: *mut *mut FAX_PORT_INFO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnumPortsW ( faxhandle : super::super::Foundation:: HANDLE , portinfo : *mut *mut FAX_PORT_INFOW , portsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnumPortsW ( faxhandle : super::super::Foundation:: HANDLE , portinfo : *mut *mut FAX_PORT_INFOW , portsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxEnumPortsW(faxhandle.into(), portinfo, portsreturned) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -160,7 +160,7 @@ pub unsafe fn FaxEnumRoutingMethodsA(faxporthandle: P0, routingmethod: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnumRoutingMethodsA ( faxporthandle : super::super::Foundation:: HANDLE , routingmethod : *mut *mut FAX_ROUTING_METHODA , methodsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnumRoutingMethodsA ( faxporthandle : super::super::Foundation:: HANDLE , routingmethod : *mut *mut FAX_ROUTING_METHODA , methodsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxEnumRoutingMethodsA(faxporthandle.into(), routingmethod, methodsreturned) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -170,13 +170,13 @@ pub unsafe fn FaxEnumRoutingMethodsW(faxporthandle: P0, routingmethod: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxEnumRoutingMethodsW ( faxporthandle : super::super::Foundation:: HANDLE , routingmethod : *mut *mut FAX_ROUTING_METHODW , methodsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxEnumRoutingMethodsW ( faxporthandle : super::super::Foundation:: HANDLE , routingmethod : *mut *mut FAX_ROUTING_METHODW , methodsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxEnumRoutingMethodsW(faxporthandle.into(), routingmethod, methodsreturned) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`*"] #[inline] pub unsafe fn FaxFreeBuffer(buffer: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "winfax.dll""system" fn FaxFreeBuffer ( buffer : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxFreeBuffer ( buffer : *mut ::core::ffi::c_void ) -> ( ) ); FaxFreeBuffer(buffer) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -186,7 +186,7 @@ pub unsafe fn FaxGetConfigurationA(faxhandle: P0, faxconfig: *mut *mut FAX_C where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetConfigurationA ( faxhandle : super::super::Foundation:: HANDLE , faxconfig : *mut *mut FAX_CONFIGURATIONA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetConfigurationA ( faxhandle : super::super::Foundation:: HANDLE , faxconfig : *mut *mut FAX_CONFIGURATIONA ) -> super::super::Foundation:: BOOL ); FaxGetConfigurationA(faxhandle.into(), faxconfig) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -196,7 +196,7 @@ pub unsafe fn FaxGetConfigurationW(faxhandle: P0, faxconfig: *mut *mut FAX_C where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetConfigurationW ( faxhandle : super::super::Foundation:: HANDLE , faxconfig : *mut *mut FAX_CONFIGURATIONW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetConfigurationW ( faxhandle : super::super::Foundation:: HANDLE , faxconfig : *mut *mut FAX_CONFIGURATIONW ) -> super::super::Foundation:: BOOL ); FaxGetConfigurationW(faxhandle.into(), faxconfig) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -206,7 +206,7 @@ pub unsafe fn FaxGetDeviceStatusA(faxporthandle: P0, devicestatus: *mut *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetDeviceStatusA ( faxporthandle : super::super::Foundation:: HANDLE , devicestatus : *mut *mut FAX_DEVICE_STATUSA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetDeviceStatusA ( faxporthandle : super::super::Foundation:: HANDLE , devicestatus : *mut *mut FAX_DEVICE_STATUSA ) -> super::super::Foundation:: BOOL ); FaxGetDeviceStatusA(faxporthandle.into(), devicestatus) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -216,7 +216,7 @@ pub unsafe fn FaxGetDeviceStatusW(faxporthandle: P0, devicestatus: *mut *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetDeviceStatusW ( faxporthandle : super::super::Foundation:: HANDLE , devicestatus : *mut *mut FAX_DEVICE_STATUSW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetDeviceStatusW ( faxporthandle : super::super::Foundation:: HANDLE , devicestatus : *mut *mut FAX_DEVICE_STATUSW ) -> super::super::Foundation:: BOOL ); FaxGetDeviceStatusW(faxporthandle.into(), devicestatus) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -226,7 +226,7 @@ pub unsafe fn FaxGetJobA(faxhandle: P0, jobid: u32, jobentry: *mut *mut FAX_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetJobA ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , jobentry : *mut *mut FAX_JOB_ENTRYA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetJobA ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , jobentry : *mut *mut FAX_JOB_ENTRYA ) -> super::super::Foundation:: BOOL ); FaxGetJobA(faxhandle.into(), jobid, jobentry) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -236,7 +236,7 @@ pub unsafe fn FaxGetJobW(faxhandle: P0, jobid: u32, jobentry: *mut *mut FAX_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetJobW ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , jobentry : *mut *mut FAX_JOB_ENTRYW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetJobW ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , jobentry : *mut *mut FAX_JOB_ENTRYW ) -> super::super::Foundation:: BOOL ); FaxGetJobW(faxhandle.into(), jobid, jobentry) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -246,7 +246,7 @@ pub unsafe fn FaxGetLoggingCategoriesA(faxhandle: P0, categories: *mut *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetLoggingCategoriesA ( faxhandle : super::super::Foundation:: HANDLE , categories : *mut *mut FAX_LOG_CATEGORYA , numbercategories : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetLoggingCategoriesA ( faxhandle : super::super::Foundation:: HANDLE , categories : *mut *mut FAX_LOG_CATEGORYA , numbercategories : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxGetLoggingCategoriesA(faxhandle.into(), categories, numbercategories) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -256,7 +256,7 @@ pub unsafe fn FaxGetLoggingCategoriesW(faxhandle: P0, categories: *mut *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetLoggingCategoriesW ( faxhandle : super::super::Foundation:: HANDLE , categories : *mut *mut FAX_LOG_CATEGORYW , numbercategories : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetLoggingCategoriesW ( faxhandle : super::super::Foundation:: HANDLE , categories : *mut *mut FAX_LOG_CATEGORYW , numbercategories : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxGetLoggingCategoriesW(faxhandle.into(), categories, numbercategories) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -266,7 +266,7 @@ pub unsafe fn FaxGetPageData(faxhandle: P0, jobid: u32, buffer: *mut *mut u8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetPageData ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , buffer : *mut *mut u8 , buffersize : *mut u32 , imagewidth : *mut u32 , imageheight : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetPageData ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , buffer : *mut *mut u8 , buffersize : *mut u32 , imagewidth : *mut u32 , imageheight : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxGetPageData(faxhandle.into(), jobid, buffer, buffersize, imagewidth, imageheight) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -276,7 +276,7 @@ pub unsafe fn FaxGetPortA(faxporthandle: P0, portinfo: *mut *mut FAX_PORT_IN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetPortA ( faxporthandle : super::super::Foundation:: HANDLE , portinfo : *mut *mut FAX_PORT_INFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetPortA ( faxporthandle : super::super::Foundation:: HANDLE , portinfo : *mut *mut FAX_PORT_INFOA ) -> super::super::Foundation:: BOOL ); FaxGetPortA(faxporthandle.into(), portinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -286,7 +286,7 @@ pub unsafe fn FaxGetPortW(faxporthandle: P0, portinfo: *mut *mut FAX_PORT_IN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetPortW ( faxporthandle : super::super::Foundation:: HANDLE , portinfo : *mut *mut FAX_PORT_INFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetPortW ( faxporthandle : super::super::Foundation:: HANDLE , portinfo : *mut *mut FAX_PORT_INFOW ) -> super::super::Foundation:: BOOL ); FaxGetPortW(faxporthandle.into(), portinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -297,7 +297,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetRoutingInfoA ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCSTR , routinginfobuffer : *mut *mut u8 , routinginfobuffersize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetRoutingInfoA ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCSTR , routinginfobuffer : *mut *mut u8 , routinginfobuffersize : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxGetRoutingInfoA(faxporthandle.into(), routingguid.into().abi(), routinginfobuffer, routinginfobuffersize) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -308,7 +308,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxGetRoutingInfoW ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCWSTR , routinginfobuffer : *mut *mut u8 , routinginfobuffersize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxGetRoutingInfoW ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCWSTR , routinginfobuffer : *mut *mut u8 , routinginfobuffersize : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxGetRoutingInfoW(faxporthandle.into(), routingguid.into().abi(), routinginfobuffer, routinginfobuffersize) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -320,7 +320,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxInitializeEventQueue ( faxhandle : super::super::Foundation:: HANDLE , completionport : super::super::Foundation:: HANDLE , completionkey : usize , hwnd : super::super::Foundation:: HWND , messagestart : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxInitializeEventQueue ( faxhandle : super::super::Foundation:: HANDLE , completionport : super::super::Foundation:: HANDLE , completionkey : usize , hwnd : super::super::Foundation:: HWND , messagestart : u32 ) -> super::super::Foundation:: BOOL ); FaxInitializeEventQueue(faxhandle.into(), completionport.into(), completionkey, hwnd.into(), messagestart) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -330,21 +330,21 @@ pub unsafe fn FaxOpenPort(faxhandle: P0, deviceid: u32, flags: u32, faxporth where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxOpenPort ( faxhandle : super::super::Foundation:: HANDLE , deviceid : u32 , flags : u32 , faxporthandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxOpenPort ( faxhandle : super::super::Foundation:: HANDLE , deviceid : u32 , flags : u32 , faxporthandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); FaxOpenPort(faxhandle.into(), deviceid, flags, faxporthandle) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn FaxPrintCoverPageA(faxcontextinfo: *const FAX_CONTEXT_INFOA, coverpageinfo: *const FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winfax.dll""system" fn FaxPrintCoverPageA ( faxcontextinfo : *const FAX_CONTEXT_INFOA , coverpageinfo : *const FAX_COVERPAGE_INFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxPrintCoverPageA ( faxcontextinfo : *const FAX_CONTEXT_INFOA , coverpageinfo : *const FAX_COVERPAGE_INFOA ) -> super::super::Foundation:: BOOL ); FaxPrintCoverPageA(faxcontextinfo, coverpageinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn FaxPrintCoverPageW(faxcontextinfo: *const FAX_CONTEXT_INFOW, coverpageinfo: *const FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winfax.dll""system" fn FaxPrintCoverPageW ( faxcontextinfo : *const FAX_CONTEXT_INFOW , coverpageinfo : *const FAX_COVERPAGE_INFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxPrintCoverPageW ( faxcontextinfo : *const FAX_CONTEXT_INFOW , coverpageinfo : *const FAX_COVERPAGE_INFOW ) -> super::super::Foundation:: BOOL ); FaxPrintCoverPageW(faxcontextinfo, coverpageinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -357,7 +357,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxRegisterRoutingExtensionW ( faxhandle : super::super::Foundation:: HANDLE , extensionname : :: windows::core::PCWSTR , friendlyname : :: windows::core::PCWSTR , imagename : :: windows::core::PCWSTR , callback : PFAX_ROUTING_INSTALLATION_CALLBACKW , context : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxRegisterRoutingExtensionW ( faxhandle : super::super::Foundation:: HANDLE , extensionname : :: windows::core::PCWSTR , friendlyname : :: windows::core::PCWSTR , imagename : :: windows::core::PCWSTR , callback : PFAX_ROUTING_INSTALLATION_CALLBACKW , context : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FaxRegisterRoutingExtensionW(faxhandle.into(), extensionname.into().abi(), friendlyname.into().abi(), imagename.into().abi(), callback, context) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -370,7 +370,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxRegisterServiceProviderW ( deviceprovider : :: windows::core::PCWSTR , friendlyname : :: windows::core::PCWSTR , imagename : :: windows::core::PCWSTR , tspname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxRegisterServiceProviderW ( deviceprovider : :: windows::core::PCWSTR , friendlyname : :: windows::core::PCWSTR , imagename : :: windows::core::PCWSTR , tspname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FaxRegisterServiceProviderW(deviceprovider.into().abi(), friendlyname.into().abi(), imagename.into().abi(), tspname.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -381,7 +381,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSendDocumentA ( faxhandle : super::super::Foundation:: HANDLE , filename : :: windows::core::PCSTR , jobparams : *mut FAX_JOB_PARAMA , coverpageinfo : *const FAX_COVERPAGE_INFOA , faxjobid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSendDocumentA ( faxhandle : super::super::Foundation:: HANDLE , filename : :: windows::core::PCSTR , jobparams : *mut FAX_JOB_PARAMA , coverpageinfo : *const FAX_COVERPAGE_INFOA , faxjobid : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxSendDocumentA(faxhandle.into(), filename.into().abi(), jobparams, coverpageinfo, faxjobid) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -392,7 +392,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSendDocumentForBroadcastA ( faxhandle : super::super::Foundation:: HANDLE , filename : :: windows::core::PCSTR , faxjobid : *mut u32 , faxrecipientcallback : PFAX_RECIPIENT_CALLBACKA , context : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSendDocumentForBroadcastA ( faxhandle : super::super::Foundation:: HANDLE , filename : :: windows::core::PCSTR , faxjobid : *mut u32 , faxrecipientcallback : PFAX_RECIPIENT_CALLBACKA , context : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FaxSendDocumentForBroadcastA(faxhandle.into(), filename.into().abi(), faxjobid, faxrecipientcallback, context) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -403,7 +403,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSendDocumentForBroadcastW ( faxhandle : super::super::Foundation:: HANDLE , filename : :: windows::core::PCWSTR , faxjobid : *mut u32 , faxrecipientcallback : PFAX_RECIPIENT_CALLBACKW , context : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSendDocumentForBroadcastW ( faxhandle : super::super::Foundation:: HANDLE , filename : :: windows::core::PCWSTR , faxjobid : *mut u32 , faxrecipientcallback : PFAX_RECIPIENT_CALLBACKW , context : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FaxSendDocumentForBroadcastW(faxhandle.into(), filename.into().abi(), faxjobid, faxrecipientcallback, context) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -414,7 +414,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSendDocumentW ( faxhandle : super::super::Foundation:: HANDLE , filename : :: windows::core::PCWSTR , jobparams : *mut FAX_JOB_PARAMW , coverpageinfo : *const FAX_COVERPAGE_INFOW , faxjobid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSendDocumentW ( faxhandle : super::super::Foundation:: HANDLE , filename : :: windows::core::PCWSTR , jobparams : *mut FAX_JOB_PARAMW , coverpageinfo : *const FAX_COVERPAGE_INFOW , faxjobid : *mut u32 ) -> super::super::Foundation:: BOOL ); FaxSendDocumentW(faxhandle.into(), filename.into().abi(), jobparams, coverpageinfo, faxjobid) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -424,7 +424,7 @@ pub unsafe fn FaxSetConfigurationA(faxhandle: P0, faxconfig: *const FAX_CONF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetConfigurationA ( faxhandle : super::super::Foundation:: HANDLE , faxconfig : *const FAX_CONFIGURATIONA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetConfigurationA ( faxhandle : super::super::Foundation:: HANDLE , faxconfig : *const FAX_CONFIGURATIONA ) -> super::super::Foundation:: BOOL ); FaxSetConfigurationA(faxhandle.into(), faxconfig) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -434,7 +434,7 @@ pub unsafe fn FaxSetConfigurationW(faxhandle: P0, faxconfig: *const FAX_CONF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetConfigurationW ( faxhandle : super::super::Foundation:: HANDLE , faxconfig : *const FAX_CONFIGURATIONW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetConfigurationW ( faxhandle : super::super::Foundation:: HANDLE , faxconfig : *const FAX_CONFIGURATIONW ) -> super::super::Foundation:: BOOL ); FaxSetConfigurationW(faxhandle.into(), faxconfig) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -444,7 +444,7 @@ pub unsafe fn FaxSetGlobalRoutingInfoA(faxhandle: P0, routinginfo: *const FA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetGlobalRoutingInfoA ( faxhandle : super::super::Foundation:: HANDLE , routinginfo : *const FAX_GLOBAL_ROUTING_INFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetGlobalRoutingInfoA ( faxhandle : super::super::Foundation:: HANDLE , routinginfo : *const FAX_GLOBAL_ROUTING_INFOA ) -> super::super::Foundation:: BOOL ); FaxSetGlobalRoutingInfoA(faxhandle.into(), routinginfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -454,7 +454,7 @@ pub unsafe fn FaxSetGlobalRoutingInfoW(faxhandle: P0, routinginfo: *const FA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetGlobalRoutingInfoW ( faxhandle : super::super::Foundation:: HANDLE , routinginfo : *const FAX_GLOBAL_ROUTING_INFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetGlobalRoutingInfoW ( faxhandle : super::super::Foundation:: HANDLE , routinginfo : *const FAX_GLOBAL_ROUTING_INFOW ) -> super::super::Foundation:: BOOL ); FaxSetGlobalRoutingInfoW(faxhandle.into(), routinginfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -464,7 +464,7 @@ pub unsafe fn FaxSetJobA(faxhandle: P0, jobid: u32, command: u32, jobentry: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetJobA ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , command : u32 , jobentry : *const FAX_JOB_ENTRYA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetJobA ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , command : u32 , jobentry : *const FAX_JOB_ENTRYA ) -> super::super::Foundation:: BOOL ); FaxSetJobA(faxhandle.into(), jobid, command, jobentry) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -474,7 +474,7 @@ pub unsafe fn FaxSetJobW(faxhandle: P0, jobid: u32, command: u32, jobentry: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetJobW ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , command : u32 , jobentry : *const FAX_JOB_ENTRYW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetJobW ( faxhandle : super::super::Foundation:: HANDLE , jobid : u32 , command : u32 , jobentry : *const FAX_JOB_ENTRYW ) -> super::super::Foundation:: BOOL ); FaxSetJobW(faxhandle.into(), jobid, command, jobentry) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -484,7 +484,7 @@ pub unsafe fn FaxSetLoggingCategoriesA(faxhandle: P0, categories: *const FAX where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetLoggingCategoriesA ( faxhandle : super::super::Foundation:: HANDLE , categories : *const FAX_LOG_CATEGORYA , numbercategories : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetLoggingCategoriesA ( faxhandle : super::super::Foundation:: HANDLE , categories : *const FAX_LOG_CATEGORYA , numbercategories : u32 ) -> super::super::Foundation:: BOOL ); FaxSetLoggingCategoriesA(faxhandle.into(), categories, numbercategories) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -494,7 +494,7 @@ pub unsafe fn FaxSetLoggingCategoriesW(faxhandle: P0, categories: *const FAX where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetLoggingCategoriesW ( faxhandle : super::super::Foundation:: HANDLE , categories : *const FAX_LOG_CATEGORYW , numbercategories : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetLoggingCategoriesW ( faxhandle : super::super::Foundation:: HANDLE , categories : *const FAX_LOG_CATEGORYW , numbercategories : u32 ) -> super::super::Foundation:: BOOL ); FaxSetLoggingCategoriesW(faxhandle.into(), categories, numbercategories) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -504,7 +504,7 @@ pub unsafe fn FaxSetPortA(faxporthandle: P0, portinfo: *const FAX_PORT_INFOA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetPortA ( faxporthandle : super::super::Foundation:: HANDLE , portinfo : *const FAX_PORT_INFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetPortA ( faxporthandle : super::super::Foundation:: HANDLE , portinfo : *const FAX_PORT_INFOA ) -> super::super::Foundation:: BOOL ); FaxSetPortA(faxporthandle.into(), portinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -514,7 +514,7 @@ pub unsafe fn FaxSetPortW(faxporthandle: P0, portinfo: *const FAX_PORT_INFOW where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetPortW ( faxporthandle : super::super::Foundation:: HANDLE , portinfo : *const FAX_PORT_INFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetPortW ( faxporthandle : super::super::Foundation:: HANDLE , portinfo : *const FAX_PORT_INFOW ) -> super::super::Foundation:: BOOL ); FaxSetPortW(faxporthandle.into(), portinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -525,7 +525,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetRoutingInfoA ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCSTR , routinginfobuffer : *const u8 , routinginfobuffersize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetRoutingInfoA ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCSTR , routinginfobuffer : *const u8 , routinginfobuffersize : u32 ) -> super::super::Foundation:: BOOL ); FaxSetRoutingInfoA(faxporthandle.into(), routingguid.into().abi(), routinginfobuffer, routinginfobuffersize) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -536,7 +536,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxSetRoutingInfoW ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCWSTR , routinginfobuffer : *const u8 , routinginfobuffersize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxSetRoutingInfoW ( faxporthandle : super::super::Foundation:: HANDLE , routingguid : :: windows::core::PCWSTR , routinginfobuffer : *const u8 , routinginfobuffersize : u32 ) -> super::super::Foundation:: BOOL ); FaxSetRoutingInfoW(faxporthandle.into(), routingguid.into().abi(), routinginfobuffer, routinginfobuffersize) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -546,7 +546,7 @@ pub unsafe fn FaxStartPrintJobA(printername: P0, printinfo: *const FAX_PRINT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxStartPrintJobA ( printername : :: windows::core::PCSTR , printinfo : *const FAX_PRINT_INFOA , faxjobid : *mut u32 , faxcontextinfo : *mut FAX_CONTEXT_INFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxStartPrintJobA ( printername : :: windows::core::PCSTR , printinfo : *const FAX_PRINT_INFOA , faxjobid : *mut u32 , faxcontextinfo : *mut FAX_CONTEXT_INFOA ) -> super::super::Foundation:: BOOL ); FaxStartPrintJobA(printername.into().abi(), printinfo, faxjobid, faxcontextinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -556,7 +556,7 @@ pub unsafe fn FaxStartPrintJobW(printername: P0, printinfo: *const FAX_PRINT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxStartPrintJobW ( printername : :: windows::core::PCWSTR , printinfo : *const FAX_PRINT_INFOW , faxjobid : *mut u32 , faxcontextinfo : *mut FAX_CONTEXT_INFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxStartPrintJobW ( printername : :: windows::core::PCWSTR , printinfo : *const FAX_PRINT_INFOW , faxjobid : *mut u32 , faxcontextinfo : *mut FAX_CONTEXT_INFOW ) -> super::super::Foundation:: BOOL ); FaxStartPrintJobW(printername.into().abi(), printinfo, faxjobid, faxcontextinfo) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -566,7 +566,7 @@ pub unsafe fn FaxUnregisterServiceProviderW(deviceprovider: P0) -> super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winfax.dll""system" fn FaxUnregisterServiceProviderW ( deviceprovider : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winfax.dll""system" fn FaxUnregisterServiceProviderW ( deviceprovider : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FaxUnregisterServiceProviderW(deviceprovider.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`*"] @@ -575,7 +575,7 @@ pub unsafe fn SendToFaxRecipient(sndmode: SendToMode, lpfilename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fxsutility.dll""system" fn SendToFaxRecipient ( sndmode : SendToMode , lpfilename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "fxsutility.dll""system" fn SendToFaxRecipient ( sndmode : SendToMode , lpfilename : :: windows::core::PCWSTR ) -> u32 ); SendToFaxRecipient(sndmode, lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`*"] @@ -586,7 +586,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "sti.dll""system" fn StiCreateInstanceW ( hinst : super::super::Foundation:: HINSTANCE , dwver : u32 , ppsti : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sti.dll""system" fn StiCreateInstanceW ( hinst : super::super::Foundation:: HINSTANCE , dwver : u32 , ppsti : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); StiCreateInstanceW(hinst.into(), dwver, ::core::mem::transmute(ppsti), punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] @@ -614,7 +614,7 @@ impl IFaxAccount { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccount, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccount, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccount { fn eq(&self, other: &Self) -> bool { @@ -688,7 +688,7 @@ impl IFaxAccountFolders { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccountFolders, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccountFolders, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccountFolders { fn eq(&self, other: &Self) -> bool { @@ -770,7 +770,7 @@ impl IFaxAccountIncomingArchive { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccountIncomingArchive, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccountIncomingArchive, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccountIncomingArchive { fn eq(&self, other: &Self) -> bool { @@ -836,7 +836,7 @@ impl IFaxAccountIncomingQueue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccountIncomingQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccountIncomingQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccountIncomingQueue { fn eq(&self, other: &Self) -> bool { @@ -979,7 +979,7 @@ impl IFaxAccountNotify { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccountNotify, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccountNotify, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccountNotify { fn eq(&self, other: &Self) -> bool { @@ -1089,7 +1089,7 @@ impl IFaxAccountOutgoingArchive { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccountOutgoingArchive, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccountOutgoingArchive, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccountOutgoingArchive { fn eq(&self, other: &Self) -> bool { @@ -1155,7 +1155,7 @@ impl IFaxAccountOutgoingQueue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccountOutgoingQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccountOutgoingQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccountOutgoingQueue { fn eq(&self, other: &Self) -> bool { @@ -1227,7 +1227,7 @@ impl IFaxAccountSet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccountSet, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccountSet, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccountSet { fn eq(&self, other: &Self) -> bool { @@ -1297,7 +1297,7 @@ impl IFaxAccounts { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxAccounts, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxAccounts, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxAccounts { fn eq(&self, other: &Self) -> bool { @@ -1365,7 +1365,7 @@ impl IFaxActivity { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxActivity, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxActivity, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxActivity { fn eq(&self, other: &Self) -> bool { @@ -1454,7 +1454,7 @@ impl IFaxActivityLogging { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxActivityLogging, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxActivityLogging, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxActivityLogging { fn eq(&self, other: &Self) -> bool { @@ -1734,7 +1734,7 @@ impl IFaxConfiguration { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxConfiguration, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxConfiguration, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxConfiguration { fn eq(&self, other: &Self) -> bool { @@ -1998,7 +1998,7 @@ impl IFaxDevice { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxDevice { fn eq(&self, other: &Self) -> bool { @@ -2118,7 +2118,7 @@ impl IFaxDeviceIds { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxDeviceIds, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxDeviceIds, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxDeviceIds { fn eq(&self, other: &Self) -> bool { @@ -2219,7 +2219,7 @@ impl IFaxDeviceProvider { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxDeviceProvider, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxDeviceProvider, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxDeviceProvider { fn eq(&self, other: &Self) -> bool { @@ -2294,7 +2294,7 @@ impl IFaxDeviceProviders { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxDeviceProviders, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxDeviceProviders, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxDeviceProviders { fn eq(&self, other: &Self) -> bool { @@ -2363,7 +2363,7 @@ impl IFaxDevices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxDevices { fn eq(&self, other: &Self) -> bool { @@ -2569,7 +2569,7 @@ impl IFaxDocument { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxDocument, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxDocument, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxDocument { fn eq(&self, other: &Self) -> bool { @@ -2857,7 +2857,7 @@ impl IFaxDocument2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxDocument2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxDocument); +::windows::imp::interface_hierarchy!(IFaxDocument2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxDocument); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxDocument2 { fn eq(&self, other: &Self) -> bool { @@ -2951,7 +2951,7 @@ impl IFaxEventLogging { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxEventLogging, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxEventLogging, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxEventLogging { fn eq(&self, other: &Self) -> bool { @@ -3028,7 +3028,7 @@ impl IFaxFolders { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxFolders, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxFolders, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxFolders { fn eq(&self, other: &Self) -> bool { @@ -3099,7 +3099,7 @@ impl IFaxInboundRouting { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxInboundRouting, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxInboundRouting, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxInboundRouting { fn eq(&self, other: &Self) -> bool { @@ -3198,7 +3198,7 @@ impl IFaxInboundRoutingExtension { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxInboundRoutingExtension, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxInboundRoutingExtension, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxInboundRoutingExtension { fn eq(&self, other: &Self) -> bool { @@ -3272,7 +3272,7 @@ impl IFaxInboundRoutingExtensions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxInboundRoutingExtensions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxInboundRoutingExtensions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxInboundRoutingExtensions { fn eq(&self, other: &Self) -> bool { @@ -3354,7 +3354,7 @@ impl IFaxInboundRoutingMethod { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxInboundRoutingMethod, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxInboundRoutingMethod, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxInboundRoutingMethod { fn eq(&self, other: &Self) -> bool { @@ -3420,7 +3420,7 @@ impl IFaxInboundRoutingMethods { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxInboundRoutingMethods, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxInboundRoutingMethods, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxInboundRoutingMethods { fn eq(&self, other: &Self) -> bool { @@ -3551,7 +3551,7 @@ impl IFaxIncomingArchive { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxIncomingArchive, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxIncomingArchive, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxIncomingArchive { fn eq(&self, other: &Self) -> bool { @@ -3703,7 +3703,7 @@ impl IFaxIncomingJob { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxIncomingJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxIncomingJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxIncomingJob { fn eq(&self, other: &Self) -> bool { @@ -3779,7 +3779,7 @@ impl IFaxIncomingJobs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxIncomingJobs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxIncomingJobs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxIncomingJobs { fn eq(&self, other: &Self) -> bool { @@ -3878,7 +3878,7 @@ impl IFaxIncomingMessage { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxIncomingMessage, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxIncomingMessage, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxIncomingMessage { fn eq(&self, other: &Self) -> bool { @@ -4055,7 +4055,7 @@ impl IFaxIncomingMessage2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxIncomingMessage2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxIncomingMessage); +::windows::imp::interface_hierarchy!(IFaxIncomingMessage2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxIncomingMessage); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxIncomingMessage2 { fn eq(&self, other: &Self) -> bool { @@ -4154,7 +4154,7 @@ impl IFaxIncomingMessageIterator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxIncomingMessageIterator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxIncomingMessageIterator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxIncomingMessageIterator { fn eq(&self, other: &Self) -> bool { @@ -4241,7 +4241,7 @@ impl IFaxIncomingQueue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxIncomingQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxIncomingQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxIncomingQueue { fn eq(&self, other: &Self) -> bool { @@ -4370,7 +4370,7 @@ impl IFaxJobStatus { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxJobStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxJobStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxJobStatus { fn eq(&self, other: &Self) -> bool { @@ -4442,7 +4442,7 @@ impl IFaxLoggingOptions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxLoggingOptions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxLoggingOptions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxLoggingOptions { fn eq(&self, other: &Self) -> bool { @@ -4505,7 +4505,7 @@ impl IFaxOutboundRouting { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutboundRouting, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutboundRouting, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutboundRouting { fn eq(&self, other: &Self) -> bool { @@ -4570,7 +4570,7 @@ impl IFaxOutboundRoutingGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutboundRoutingGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutboundRoutingGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutboundRoutingGroup { fn eq(&self, other: &Self) -> bool { @@ -4644,7 +4644,7 @@ impl IFaxOutboundRoutingGroups { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutboundRoutingGroups, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutboundRoutingGroups, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutboundRoutingGroups { fn eq(&self, other: &Self) -> bool { @@ -4747,7 +4747,7 @@ impl IFaxOutboundRoutingRule { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutboundRoutingRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutboundRoutingRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutboundRoutingRule { fn eq(&self, other: &Self) -> bool { @@ -4842,7 +4842,7 @@ impl IFaxOutboundRoutingRules { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutboundRoutingRules, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutboundRoutingRules, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutboundRoutingRules { fn eq(&self, other: &Self) -> bool { @@ -4983,7 +4983,7 @@ impl IFaxOutgoingArchive { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutgoingArchive, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutgoingArchive, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutgoingArchive { fn eq(&self, other: &Self) -> bool { @@ -5186,7 +5186,7 @@ impl IFaxOutgoingJob { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutgoingJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutgoingJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutgoingJob { fn eq(&self, other: &Self) -> bool { @@ -5407,7 +5407,7 @@ impl IFaxOutgoingJob2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutgoingJob2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxOutgoingJob); +::windows::imp::interface_hierarchy!(IFaxOutgoingJob2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxOutgoingJob); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutgoingJob2 { fn eq(&self, other: &Self) -> bool { @@ -5470,7 +5470,7 @@ impl IFaxOutgoingJobs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutgoingJobs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutgoingJobs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutgoingJobs { fn eq(&self, other: &Self) -> bool { @@ -5597,7 +5597,7 @@ impl IFaxOutgoingMessage { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutgoingMessage, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutgoingMessage, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutgoingMessage { fn eq(&self, other: &Self) -> bool { @@ -5777,7 +5777,7 @@ impl IFaxOutgoingMessage2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutgoingMessage2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxOutgoingMessage); +::windows::imp::interface_hierarchy!(IFaxOutgoingMessage2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxOutgoingMessage); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutgoingMessage2 { fn eq(&self, other: &Self) -> bool { @@ -5861,7 +5861,7 @@ impl IFaxOutgoingMessageIterator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutgoingMessageIterator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutgoingMessageIterator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutgoingMessageIterator { fn eq(&self, other: &Self) -> bool { @@ -6039,7 +6039,7 @@ impl IFaxOutgoingQueue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxOutgoingQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxOutgoingQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxOutgoingQueue { fn eq(&self, other: &Self) -> bool { @@ -6211,7 +6211,7 @@ impl IFaxReceiptOptions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxReceiptOptions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxReceiptOptions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxReceiptOptions { fn eq(&self, other: &Self) -> bool { @@ -6292,7 +6292,7 @@ impl IFaxRecipient { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxRecipient, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxRecipient, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxRecipient { fn eq(&self, other: &Self) -> bool { @@ -6362,7 +6362,7 @@ impl IFaxRecipients { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxRecipients, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxRecipients, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxRecipients { fn eq(&self, other: &Self) -> bool { @@ -6444,7 +6444,7 @@ impl IFaxSecurity { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxSecurity, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxSecurity, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxSecurity { fn eq(&self, other: &Self) -> bool { @@ -6528,7 +6528,7 @@ impl IFaxSecurity2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxSecurity2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxSecurity2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxSecurity2 { fn eq(&self, other: &Self) -> bool { @@ -6702,7 +6702,7 @@ impl IFaxSender { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxSender, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxSender, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxSender { fn eq(&self, other: &Self) -> bool { @@ -6901,7 +6901,7 @@ impl IFaxServer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxServer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxServer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxServer { fn eq(&self, other: &Self) -> bool { @@ -7155,7 +7155,7 @@ impl IFaxServer2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxServer2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxServer); +::windows::imp::interface_hierarchy!(IFaxServer2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFaxServer); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxServer2 { fn eq(&self, other: &Self) -> bool { @@ -7213,7 +7213,7 @@ pub struct IFaxServerNotify(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxServerNotify {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxServerNotify, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxServerNotify, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxServerNotify { fn eq(&self, other: &Self) -> bool { @@ -7473,7 +7473,7 @@ impl IFaxServerNotify2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFaxServerNotify2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFaxServerNotify2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFaxServerNotify2 { fn eq(&self, other: &Self) -> bool { @@ -7685,7 +7685,7 @@ impl IStiDevice { (::windows::core::Vtable::vtable(self).GetLastErrorInfo)(::windows::core::Vtable::as_raw(self), plasterrorinfo).ok() } } -::windows::core::interface_hierarchy!(IStiDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStiDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStiDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7802,7 +7802,7 @@ impl IStiDeviceControl { (::windows::core::Vtable::vtable(self).WriteToErrorLog)(::windows::core::Vtable::as_raw(self), dwmessagetype, pszmessage.into().abi(), dwerrorcode).ok() } } -::windows::core::interface_hierarchy!(IStiDeviceControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStiDeviceControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStiDeviceControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7930,7 +7930,7 @@ impl IStiUSD { (::windows::core::Vtable::vtable(self).GetLastErrorInfo)(::windows::core::Vtable::as_raw(self), plasterrorinfo).ok() } } -::windows::core::interface_hierarchy!(IStiUSD, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStiUSD, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStiUSD { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8091,7 +8091,7 @@ impl IStillImageW { (::windows::core::Vtable::vtable(self).WriteToErrorLog)(::windows::core::Vtable::as_raw(self), dwmessagetype, pszmessage.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IStillImageW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStillImageW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStillImageW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 a5ba10e905..f05a509c13 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -60,7 +60,7 @@ impl IFunctionDiscovery { (::windows::core::Vtable::vtable(self).RemoveInstance)(::windows::core::Vtable::as_raw(self), enumsystemvisibility, pszcategory.into().abi(), pszsubcategory.into().abi(), pszcategoryidentity.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFunctionDiscovery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionDiscovery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionDiscovery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -131,7 +131,7 @@ impl IFunctionDiscoveryNotification { (::windows::core::Vtable::vtable(self).OnEvent)(::windows::core::Vtable::as_raw(self), dweventid, fdqcquerycontext, pszprovider.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFunctionDiscoveryNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionDiscoveryNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionDiscoveryNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -230,7 +230,7 @@ impl IFunctionDiscoveryProvider { (::windows::core::Vtable::vtable(self).InstanceReleased)(::windows::core::Vtable::as_raw(self), pifunctioninstance.into().abi(), iproviderinstancecontext).ok() } } -::windows::core::interface_hierarchy!(IFunctionDiscoveryProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionDiscoveryProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionDiscoveryProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -308,7 +308,7 @@ impl IFunctionDiscoveryProviderFactory { (::windows::core::Vtable::vtable(self).CreateFunctionInstanceCollection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFunctionDiscoveryProviderFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionDiscoveryProviderFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionDiscoveryProviderFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -368,7 +368,7 @@ impl IFunctionDiscoveryProviderQuery { (::windows::core::Vtable::vtable(self).GetPropertyConstraints)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFunctionDiscoveryProviderQuery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionDiscoveryProviderQuery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionDiscoveryProviderQuery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -421,7 +421,7 @@ impl IFunctionDiscoveryServiceProvider { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pifunctioninstance.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFunctionDiscoveryServiceProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionDiscoveryServiceProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionDiscoveryServiceProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -483,7 +483,7 @@ impl IFunctionInstance { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFunctionInstance, ::windows::core::IUnknown, super::super::System::Com::IServiceProvider); +::windows::imp::interface_hierarchy!(IFunctionInstance, ::windows::core::IUnknown, super::super::System::Com::IServiceProvider); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFunctionInstance { fn eq(&self, other: &Self) -> bool { @@ -568,7 +568,7 @@ impl IFunctionInstanceCollection { (::windows::core::Vtable::vtable(self).DeleteAll)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFunctionInstanceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionInstanceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionInstanceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -636,7 +636,7 @@ impl IFunctionInstanceCollectionQuery { (::windows::core::Vtable::vtable(self).Execute)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFunctionInstanceCollectionQuery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionInstanceCollectionQuery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionInstanceCollectionQuery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -681,7 +681,7 @@ impl IFunctionInstanceQuery { (::windows::core::Vtable::vtable(self).Execute)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFunctionInstanceQuery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFunctionInstanceQuery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFunctionInstanceQuery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -736,7 +736,7 @@ impl IPNPXAssociation { (::windows::core::Vtable::vtable(self).Delete)(::windows::core::Vtable::as_raw(self), pszsubcategory.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPNPXAssociation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPNPXAssociation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPNPXAssociation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -793,7 +793,7 @@ impl IPNPXDeviceAssociation { (::windows::core::Vtable::vtable(self).Delete)(::windows::core::Vtable::as_raw(self), pszsubcategory.into().abi(), pifunctiondiscoverynotification.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPNPXDeviceAssociation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPNPXDeviceAssociation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPNPXDeviceAssociation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -867,7 +867,7 @@ impl IPropertyStoreCollection { (::windows::core::Vtable::vtable(self).DeleteAll)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPropertyStoreCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyStoreCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyStoreCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -953,7 +953,7 @@ impl IProviderProperties { (::windows::core::Vtable::vtable(self).SetValue)(::windows::core::Vtable::as_raw(self), pifunctioninstance.into().abi(), iproviderinstancecontext, key, ppropvar).ok() } } -::windows::core::interface_hierarchy!(IProviderProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProviderProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProviderProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1027,7 +1027,7 @@ impl IProviderPropertyConstraintCollection { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IProviderPropertyConstraintCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProviderPropertyConstraintCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProviderPropertyConstraintCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1092,7 +1092,7 @@ impl IProviderPublishing { (::windows::core::Vtable::vtable(self).RemoveInstance)(::windows::core::Vtable::as_raw(self), enumvisibilityflags, pszsubcategory.into().abi(), pszproviderinstanceidentity.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IProviderPublishing, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProviderPublishing, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProviderPublishing { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1153,7 +1153,7 @@ impl IProviderQueryConstraintCollection { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IProviderQueryConstraintCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProviderQueryConstraintCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProviderQueryConstraintCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs index a6cc169c3b..1839246c38 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs @@ -47,7 +47,7 @@ impl ICivicAddressReport { (::windows::core::Vtable::vtable(self).GetDetailLevel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICivicAddressReport, ::windows::core::IUnknown, ILocationReport); +::windows::imp::interface_hierarchy!(ICivicAddressReport, ::windows::core::IUnknown, ILocationReport); impl ::core::cmp::PartialEq for ICivicAddressReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -123,7 +123,7 @@ impl ICivicAddressReportFactory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICivicAddressReportFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocationReportFactory); +::windows::imp::interface_hierarchy!(ICivicAddressReportFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocationReportFactory); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICivicAddressReportFactory { fn eq(&self, other: &Self) -> bool { @@ -177,7 +177,7 @@ impl IDefaultLocation { (::windows::core::Vtable::vtable(self).GetReport)(::windows::core::Vtable::as_raw(self), reporttype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDefaultLocation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDefaultLocation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDefaultLocation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -247,7 +247,7 @@ impl IDispCivicAddressReport { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDispCivicAddressReport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDispCivicAddressReport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDispCivicAddressReport { fn eq(&self, other: &Self) -> bool { @@ -322,7 +322,7 @@ impl IDispLatLongReport { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDispLatLongReport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDispLatLongReport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDispLatLongReport { fn eq(&self, other: &Self) -> bool { @@ -404,7 +404,7 @@ impl ILatLongReport { (::windows::core::Vtable::vtable(self).GetAltitudeError)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILatLongReport, ::windows::core::IUnknown, ILocationReport); +::windows::imp::interface_hierarchy!(ILatLongReport, ::windows::core::IUnknown, ILocationReport); impl ::core::cmp::PartialEq for ILatLongReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -478,7 +478,7 @@ impl ILatLongReportFactory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ILatLongReportFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocationReportFactory); +::windows::imp::interface_hierarchy!(ILatLongReportFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocationReportFactory); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ILatLongReportFactory { fn eq(&self, other: &Self) -> bool { @@ -566,7 +566,7 @@ impl ILocation { (::windows::core::Vtable::vtable(self).RequestPermissions)(::windows::core::Vtable::as_raw(self), hparent.into(), ::core::mem::transmute(preporttypes.as_ptr()), preporttypes.len() as _, fmodal.into()).ok() } } -::windows::core::interface_hierarchy!(ILocation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILocation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILocation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -626,7 +626,7 @@ impl ILocationEvents { (::windows::core::Vtable::vtable(self).OnStatusChanged)(::windows::core::Vtable::as_raw(self), reporttype, newstatus).ok() } } -::windows::core::interface_hierarchy!(ILocationEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILocationEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILocationEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -667,7 +667,7 @@ impl ILocationPower { (::windows::core::Vtable::vtable(self).Disconnect)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ILocationPower, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILocationPower, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILocationPower { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -718,7 +718,7 @@ impl ILocationReport { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), pkey, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILocationReport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILocationReport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILocationReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -790,7 +790,7 @@ impl ILocationReportFactory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ILocationReportFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ILocationReportFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ILocationReportFactory { fn eq(&self, other: &Self) -> bool { @@ -840,7 +840,7 @@ pub struct _ICivicAddressReportFactoryEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ICivicAddressReportFactoryEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_ICivicAddressReportFactoryEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_ICivicAddressReportFactoryEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _ICivicAddressReportFactoryEvents { fn eq(&self, other: &Self) -> bool { @@ -882,7 +882,7 @@ pub struct _ILatLongReportFactoryEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ILatLongReportFactoryEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_ILatLongReportFactoryEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_ILatLongReportFactoryEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _ILatLongReportFactoryEvents { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs index 54ec1764b5..9a95937f68 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "dinput8.dll""system" fn DirectInput8Create ( hinst : super::super::Foundation:: HINSTANCE , dwversion : u32 , riidltf : *const :: windows::core::GUID , ppvout : *mut *mut ::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dinput8.dll""system" fn DirectInput8Create ( hinst : super::super::Foundation:: HINSTANCE , dwversion : u32 , riidltf : *const :: windows::core::GUID , ppvout : *mut *mut ::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectInput8Create(hinst.into(), dwversion, riidltf, ppvout, punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -16,14 +16,14 @@ pub unsafe fn HidD_FlushQueue(hiddeviceobject: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_FlushQueue ( hiddeviceobject : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_FlushQueue ( hiddeviceobject : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOLEAN ); HidD_FlushQueue(hiddeviceobject.into()) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidD_FreePreparsedData(preparseddata: isize) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "hid.dll""system" fn HidD_FreePreparsedData ( preparseddata : isize ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_FreePreparsedData ( preparseddata : isize ) -> super::super::Foundation:: BOOLEAN ); HidD_FreePreparsedData(preparseddata) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -33,7 +33,7 @@ pub unsafe fn HidD_GetAttributes(hiddeviceobject: P0, attributes: *mut HIDD_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetAttributes ( hiddeviceobject : super::super::Foundation:: HANDLE , attributes : *mut HIDD_ATTRIBUTES ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetAttributes ( hiddeviceobject : super::super::Foundation:: HANDLE , attributes : *mut HIDD_ATTRIBUTES ) -> super::super::Foundation:: BOOLEAN ); HidD_GetAttributes(hiddeviceobject.into(), attributes) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -43,7 +43,7 @@ pub unsafe fn HidD_GetConfiguration(hiddeviceobject: P0, configuration: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetConfiguration ( hiddeviceobject : super::super::Foundation:: HANDLE , configuration : *mut HIDD_CONFIGURATION , configurationlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetConfiguration ( hiddeviceobject : super::super::Foundation:: HANDLE , configuration : *mut HIDD_CONFIGURATION , configurationlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetConfiguration(hiddeviceobject.into(), configuration, configurationlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -53,13 +53,13 @@ pub unsafe fn HidD_GetFeature(hiddeviceobject: P0, reportbuffer: *mut ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetFeature ( hiddeviceobject : super::super::Foundation:: HANDLE , reportbuffer : *mut ::core::ffi::c_void , reportbufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetFeature ( hiddeviceobject : super::super::Foundation:: HANDLE , reportbuffer : *mut ::core::ffi::c_void , reportbufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetFeature(hiddeviceobject.into(), reportbuffer, reportbufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[inline] pub unsafe fn HidD_GetHidGuid() -> ::windows::core::GUID { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetHidGuid ( hidguid : *mut :: windows::core::GUID ) -> ( ) ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetHidGuid ( hidguid : *mut :: windows::core::GUID ) -> ( ) ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); HidD_GetHidGuid(&mut result__); ::std::mem::transmute(result__) @@ -71,7 +71,7 @@ pub unsafe fn HidD_GetIndexedString(hiddeviceobject: P0, stringindex: u32, b where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetIndexedString ( hiddeviceobject : super::super::Foundation:: HANDLE , stringindex : u32 , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetIndexedString ( hiddeviceobject : super::super::Foundation:: HANDLE , stringindex : u32 , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetIndexedString(hiddeviceobject.into(), stringindex, buffer, bufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -81,7 +81,7 @@ pub unsafe fn HidD_GetInputReport(hiddeviceobject: P0, reportbuffer: *mut :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetInputReport ( hiddeviceobject : super::super::Foundation:: HANDLE , reportbuffer : *mut ::core::ffi::c_void , reportbufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetInputReport ( hiddeviceobject : super::super::Foundation:: HANDLE , reportbuffer : *mut ::core::ffi::c_void , reportbufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetInputReport(hiddeviceobject.into(), reportbuffer, reportbufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -91,7 +91,7 @@ pub unsafe fn HidD_GetManufacturerString(hiddeviceobject: P0, buffer: *mut : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetManufacturerString ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetManufacturerString ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetManufacturerString(hiddeviceobject.into(), buffer, bufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -101,7 +101,7 @@ pub unsafe fn HidD_GetMsGenreDescriptor(hiddeviceobject: P0, buffer: *mut :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetMsGenreDescriptor ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetMsGenreDescriptor ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetMsGenreDescriptor(hiddeviceobject.into(), buffer, bufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -111,7 +111,7 @@ pub unsafe fn HidD_GetNumInputBuffers(hiddeviceobject: P0, numberbuffers: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetNumInputBuffers ( hiddeviceobject : super::super::Foundation:: HANDLE , numberbuffers : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetNumInputBuffers ( hiddeviceobject : super::super::Foundation:: HANDLE , numberbuffers : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetNumInputBuffers(hiddeviceobject.into(), numberbuffers) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -121,7 +121,7 @@ pub unsafe fn HidD_GetPhysicalDescriptor(hiddeviceobject: P0, buffer: *mut : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetPhysicalDescriptor ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetPhysicalDescriptor ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetPhysicalDescriptor(hiddeviceobject.into(), buffer, bufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -131,7 +131,7 @@ pub unsafe fn HidD_GetPreparsedData(hiddeviceobject: P0, preparseddata: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetPreparsedData ( hiddeviceobject : super::super::Foundation:: HANDLE , preparseddata : *mut isize ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetPreparsedData ( hiddeviceobject : super::super::Foundation:: HANDLE , preparseddata : *mut isize ) -> super::super::Foundation:: BOOLEAN ); HidD_GetPreparsedData(hiddeviceobject.into(), preparseddata) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -141,7 +141,7 @@ pub unsafe fn HidD_GetProductString(hiddeviceobject: P0, buffer: *mut ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetProductString ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetProductString ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetProductString(hiddeviceobject.into(), buffer, bufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -151,7 +151,7 @@ pub unsafe fn HidD_GetSerialNumberString(hiddeviceobject: P0, buffer: *mut : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_GetSerialNumberString ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_GetSerialNumberString ( hiddeviceobject : super::super::Foundation:: HANDLE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_GetSerialNumberString(hiddeviceobject.into(), buffer, bufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -161,7 +161,7 @@ pub unsafe fn HidD_SetConfiguration(hiddeviceobject: P0, configuration: *con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_SetConfiguration ( hiddeviceobject : super::super::Foundation:: HANDLE , configuration : *const HIDD_CONFIGURATION , configurationlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_SetConfiguration ( hiddeviceobject : super::super::Foundation:: HANDLE , configuration : *const HIDD_CONFIGURATION , configurationlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_SetConfiguration(hiddeviceobject.into(), configuration, configurationlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -171,7 +171,7 @@ pub unsafe fn HidD_SetFeature(hiddeviceobject: P0, reportbuffer: *const ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_SetFeature ( hiddeviceobject : super::super::Foundation:: HANDLE , reportbuffer : *const ::core::ffi::c_void , reportbufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_SetFeature ( hiddeviceobject : super::super::Foundation:: HANDLE , reportbuffer : *const ::core::ffi::c_void , reportbufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_SetFeature(hiddeviceobject.into(), reportbuffer, reportbufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -181,7 +181,7 @@ pub unsafe fn HidD_SetNumInputBuffers(hiddeviceobject: P0, numberbuffers: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_SetNumInputBuffers ( hiddeviceobject : super::super::Foundation:: HANDLE , numberbuffers : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_SetNumInputBuffers ( hiddeviceobject : super::super::Foundation:: HANDLE , numberbuffers : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_SetNumInputBuffers(hiddeviceobject.into(), numberbuffers) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] @@ -191,193 +191,193 @@ pub unsafe fn HidD_SetOutputReport(hiddeviceobject: P0, reportbuffer: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "hid.dll""system" fn HidD_SetOutputReport ( hiddeviceobject : super::super::Foundation:: HANDLE , reportbuffer : *const ::core::ffi::c_void , reportbufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "hid.dll""system" fn HidD_SetOutputReport ( hiddeviceobject : super::super::Foundation:: HANDLE , reportbuffer : *const ::core::ffi::c_void , reportbufferlength : u32 ) -> super::super::Foundation:: BOOLEAN ); HidD_SetOutputReport(hiddeviceobject.into(), reportbuffer, reportbufferlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetButtonArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttondata: *mut HIDP_BUTTON_ARRAY_DATA, buttondatalength: *mut u16, preparseddata: isize, report: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetButtonArray ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , buttondata : *mut HIDP_BUTTON_ARRAY_DATA , buttondatalength : *mut u16 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetButtonArray ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , buttondata : *mut HIDP_BUTTON_ARRAY_DATA , buttondatalength : *mut u16 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_GetButtonArray(reporttype, usagepage, linkcollection, usage, buttondata, buttondatalength, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetButtonCaps(reporttype: HIDP_REPORT_TYPE, buttoncaps: *mut HIDP_BUTTON_CAPS, buttoncapslength: *mut u16, preparseddata: isize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetButtonCaps ( reporttype : HIDP_REPORT_TYPE , buttoncaps : *mut HIDP_BUTTON_CAPS , buttoncapslength : *mut u16 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetButtonCaps ( reporttype : HIDP_REPORT_TYPE , buttoncaps : *mut HIDP_BUTTON_CAPS , buttoncapslength : *mut u16 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); HidP_GetButtonCaps(reporttype, buttoncaps, buttoncapslength, preparseddata).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetCaps(preparseddata: isize, capabilities: *mut HIDP_CAPS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetCaps ( preparseddata : isize , capabilities : *mut HIDP_CAPS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetCaps ( preparseddata : isize , capabilities : *mut HIDP_CAPS ) -> super::super::Foundation:: NTSTATUS ); HidP_GetCaps(preparseddata, capabilities).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetData(reporttype: HIDP_REPORT_TYPE, datalist: *mut HIDP_DATA, datalength: *mut u32, preparseddata: isize, report: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetData ( reporttype : HIDP_REPORT_TYPE , datalist : *mut HIDP_DATA , datalength : *mut u32 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetData ( reporttype : HIDP_REPORT_TYPE , datalist : *mut HIDP_DATA , datalength : *mut u32 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_GetData(reporttype, datalist, datalength, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetExtendedAttributes(reporttype: HIDP_REPORT_TYPE, dataindex: u16, preparseddata: isize, attributes: *mut HIDP_EXTENDED_ATTRIBUTES, lengthattributes: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetExtendedAttributes ( reporttype : HIDP_REPORT_TYPE , dataindex : u16 , preparseddata : isize , attributes : *mut HIDP_EXTENDED_ATTRIBUTES , lengthattributes : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetExtendedAttributes ( reporttype : HIDP_REPORT_TYPE , dataindex : u16 , preparseddata : isize , attributes : *mut HIDP_EXTENDED_ATTRIBUTES , lengthattributes : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_GetExtendedAttributes(reporttype, dataindex, preparseddata, attributes, lengthattributes).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetLinkCollectionNodes(linkcollectionnodes: *mut HIDP_LINK_COLLECTION_NODE, linkcollectionnodeslength: *mut u32, preparseddata: isize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetLinkCollectionNodes ( linkcollectionnodes : *mut HIDP_LINK_COLLECTION_NODE , linkcollectionnodeslength : *mut u32 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetLinkCollectionNodes ( linkcollectionnodes : *mut HIDP_LINK_COLLECTION_NODE , linkcollectionnodeslength : *mut u32 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); HidP_GetLinkCollectionNodes(linkcollectionnodes, linkcollectionnodeslength, preparseddata).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetScaledUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: *mut i32, preparseddata: isize, report: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetScaledUsageValue ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : *mut i32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetScaledUsageValue ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : *mut i32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_GetScaledUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetSpecificButtonCaps(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttoncaps: *mut HIDP_BUTTON_CAPS, buttoncapslength: *mut u16, preparseddata: isize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetSpecificButtonCaps ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , buttoncaps : *mut HIDP_BUTTON_CAPS , buttoncapslength : *mut u16 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetSpecificButtonCaps ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , buttoncaps : *mut HIDP_BUTTON_CAPS , buttoncapslength : *mut u16 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); HidP_GetSpecificButtonCaps(reporttype, usagepage, linkcollection, usage, buttoncaps, buttoncapslength, preparseddata).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetSpecificValueCaps(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, valuecaps: *mut HIDP_VALUE_CAPS, valuecapslength: *mut u16, preparseddata: isize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetSpecificValueCaps ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , valuecaps : *mut HIDP_VALUE_CAPS , valuecapslength : *mut u16 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetSpecificValueCaps ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , valuecaps : *mut HIDP_VALUE_CAPS , valuecapslength : *mut u16 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); HidP_GetSpecificValueCaps(reporttype, usagepage, linkcollection, usage, valuecaps, valuecapslength, preparseddata).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: *mut u32, preparseddata: isize, report: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetUsageValue ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetUsageValue ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_GetUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetUsageValueArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: &mut [u8], preparseddata: isize, report: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetUsageValueArray ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : :: windows::core::PSTR , usagevaluebytelength : u16 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetUsageValueArray ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : :: windows::core::PSTR , usagevaluebytelength : u16 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_GetUsageValueArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(usagevalue.as_ptr()), usagevalue.len() as _, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: isize, report: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetUsages ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usagelist : *mut u16 , usagelength : *mut u32 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetUsages ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usagelist : *mut u16 , usagelength : *mut u32 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_GetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetUsagesEx(reporttype: HIDP_REPORT_TYPE, linkcollection: u16, buttonlist: *mut USAGE_AND_PAGE, usagelength: *mut u32, preparseddata: isize, report: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetUsagesEx ( reporttype : HIDP_REPORT_TYPE , linkcollection : u16 , buttonlist : *mut USAGE_AND_PAGE , usagelength : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetUsagesEx ( reporttype : HIDP_REPORT_TYPE , linkcollection : u16 , buttonlist : *mut USAGE_AND_PAGE , usagelength : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_GetUsagesEx(reporttype, linkcollection, buttonlist, usagelength, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_GetValueCaps(reporttype: HIDP_REPORT_TYPE, valuecaps: *mut HIDP_VALUE_CAPS, valuecapslength: *mut u16, preparseddata: isize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_GetValueCaps ( reporttype : HIDP_REPORT_TYPE , valuecaps : *mut HIDP_VALUE_CAPS , valuecapslength : *mut u16 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_GetValueCaps ( reporttype : HIDP_REPORT_TYPE , valuecaps : *mut HIDP_VALUE_CAPS , valuecapslength : *mut u16 , preparseddata : isize ) -> super::super::Foundation:: NTSTATUS ); HidP_GetValueCaps(reporttype, valuecaps, valuecapslength, preparseddata).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_InitializeReportForID(reporttype: HIDP_REPORT_TYPE, reportid: u8, preparseddata: isize, report: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_InitializeReportForID ( reporttype : HIDP_REPORT_TYPE , reportid : u8 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_InitializeReportForID ( reporttype : HIDP_REPORT_TYPE , reportid : u8 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_InitializeReportForID(reporttype, reportid, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[inline] pub unsafe fn HidP_MaxDataListLength(reporttype: HIDP_REPORT_TYPE, preparseddata: isize) -> u32 { - ::windows::core::link ! ( "hid.dll""system" fn HidP_MaxDataListLength ( reporttype : HIDP_REPORT_TYPE , preparseddata : isize ) -> u32 ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_MaxDataListLength ( reporttype : HIDP_REPORT_TYPE , preparseddata : isize ) -> u32 ); HidP_MaxDataListLength(reporttype, preparseddata) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[inline] pub unsafe fn HidP_MaxUsageListLength(reporttype: HIDP_REPORT_TYPE, usagepage: u16, preparseddata: isize) -> u32 { - ::windows::core::link ! ( "hid.dll""system" fn HidP_MaxUsageListLength ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , preparseddata : isize ) -> u32 ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_MaxUsageListLength ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , preparseddata : isize ) -> u32 ); HidP_MaxUsageListLength(reporttype, usagepage, preparseddata) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_SetButtonArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttondata: &[HIDP_BUTTON_ARRAY_DATA], preparseddata: isize, report: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_SetButtonArray ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , buttondata : *const HIDP_BUTTON_ARRAY_DATA , buttondatalength : u16 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_SetButtonArray ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , buttondata : *const HIDP_BUTTON_ARRAY_DATA , buttondatalength : u16 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_SetButtonArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(buttondata.as_ptr()), buttondata.len() as _, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_SetData(reporttype: HIDP_REPORT_TYPE, datalist: *mut HIDP_DATA, datalength: *mut u32, preparseddata: isize, report: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_SetData ( reporttype : HIDP_REPORT_TYPE , datalist : *mut HIDP_DATA , datalength : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_SetData ( reporttype : HIDP_REPORT_TYPE , datalist : *mut HIDP_DATA , datalength : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_SetData(reporttype, datalist, datalength, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_SetScaledUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: i32, preparseddata: isize, report: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_SetScaledUsageValue ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : i32 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_SetScaledUsageValue ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : i32 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_SetScaledUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_SetUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: u32, preparseddata: isize, report: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_SetUsageValue ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : u32 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_SetUsageValue ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : u32 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_SetUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_SetUsageValueArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: &[u8], preparseddata: isize, report: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_SetUsageValueArray ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : :: windows::core::PCSTR , usagevaluebytelength : u16 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_SetUsageValueArray ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usage : u16 , usagevalue : :: windows::core::PCSTR , usagevaluebytelength : u16 , preparseddata : isize , report : :: windows::core::PSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_SetUsageValueArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(usagevalue.as_ptr()), usagevalue.len() as _, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_SetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: isize, report: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_SetUsages ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usagelist : *mut u16 , usagelength : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_SetUsages ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usagelist : *mut u16 , usagelength : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_SetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_TranslateUsagesToI8042ScanCodes(changedusagelist: &[u16], keyaction: HIDP_KEYBOARD_DIRECTION, modifierstate: *mut HIDP_KEYBOARD_MODIFIER_STATE, insertcodesprocedure: PHIDP_INSERT_SCANCODES, insertcodescontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_TranslateUsagesToI8042ScanCodes ( changedusagelist : *const u16 , usagelistlength : u32 , keyaction : HIDP_KEYBOARD_DIRECTION , modifierstate : *mut HIDP_KEYBOARD_MODIFIER_STATE , insertcodesprocedure : PHIDP_INSERT_SCANCODES , insertcodescontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_TranslateUsagesToI8042ScanCodes ( changedusagelist : *const u16 , usagelistlength : u32 , keyaction : HIDP_KEYBOARD_DIRECTION , modifierstate : *mut HIDP_KEYBOARD_MODIFIER_STATE , insertcodesprocedure : PHIDP_INSERT_SCANCODES , insertcodescontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: NTSTATUS ); HidP_TranslateUsagesToI8042ScanCodes(::core::mem::transmute(changedusagelist.as_ptr()), changedusagelist.len() as _, keyaction, modifierstate, insertcodesprocedure, ::core::mem::transmute(insertcodescontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_UnsetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: isize, report: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_UnsetUsages ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usagelist : *mut u16 , usagelength : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_UnsetUsages ( reporttype : HIDP_REPORT_TYPE , usagepage : u16 , linkcollection : u16 , usagelist : *mut u16 , usagelength : *mut u32 , preparseddata : isize , report : :: windows::core::PCSTR , reportlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_UnsetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata, ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HidP_UsageListDifference(previoususagelist: *const u16, currentusagelist: *const u16, breakusagelist: *mut u16, makeusagelist: *mut u16, usagelistlength: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "hid.dll""system" fn HidP_UsageListDifference ( previoususagelist : *const u16 , currentusagelist : *const u16 , breakusagelist : *mut u16 , makeusagelist : *mut u16 , usagelistlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "hid.dll""system" fn HidP_UsageListDifference ( previoususagelist : *const u16 , currentusagelist : *const u16 , breakusagelist : *mut u16 , makeusagelist : *mut u16 , usagelistlength : u32 ) -> super::super::Foundation:: NTSTATUS ); HidP_UsageListDifference(previoususagelist, currentusagelist, breakusagelist, makeusagelist, usagelistlength).ok() } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[inline] pub unsafe fn joyConfigChanged(dwflags: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joyConfigChanged ( dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joyConfigChanged ( dwflags : u32 ) -> u32 ); joyConfigChanged(dwflags) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] @@ -421,7 +421,7 @@ impl IDirectInput2A { (::windows::core::Vtable::vtable(self).FindDevice)(::windows::core::Vtable::as_raw(self), param0, param1.into().abi(), param2).ok() } } -::windows::core::interface_hierarchy!(IDirectInput2A, ::windows::core::IUnknown, IDirectInputA); +::windows::imp::interface_hierarchy!(IDirectInput2A, ::windows::core::IUnknown, IDirectInputA); impl ::core::cmp::PartialEq for IDirectInput2A { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -491,7 +491,7 @@ impl IDirectInput2W { (::windows::core::Vtable::vtable(self).FindDevice)(::windows::core::Vtable::as_raw(self), param0, param1.into().abi(), param2).ok() } } -::windows::core::interface_hierarchy!(IDirectInput2W, ::windows::core::IUnknown, IDirectInputW); +::windows::imp::interface_hierarchy!(IDirectInput2W, ::windows::core::IUnknown, IDirectInputW); impl ::core::cmp::PartialEq for IDirectInput2W { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -567,7 +567,7 @@ impl IDirectInput7A { (::windows::core::Vtable::vtable(self).CreateDeviceEx)(::windows::core::Vtable::as_raw(self), param0, param1, param2, param3.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectInput7A, ::windows::core::IUnknown, IDirectInputA, IDirectInput2A); +::windows::imp::interface_hierarchy!(IDirectInput7A, ::windows::core::IUnknown, IDirectInputA, IDirectInput2A); impl ::core::cmp::PartialEq for IDirectInput7A { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -643,7 +643,7 @@ impl IDirectInput7W { (::windows::core::Vtable::vtable(self).CreateDeviceEx)(::windows::core::Vtable::as_raw(self), param0, param1, param2, param3.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectInput7W, ::windows::core::IUnknown, IDirectInputW, IDirectInput2W); +::windows::imp::interface_hierarchy!(IDirectInput7W, ::windows::core::IUnknown, IDirectInputW, IDirectInput2W); impl ::core::cmp::PartialEq for IDirectInput7W { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -726,7 +726,7 @@ impl IDirectInput8A { (::windows::core::Vtable::vtable(self).ConfigureDevices)(::windows::core::Vtable::as_raw(self), param0, param1, param2, param3).ok() } } -::windows::core::interface_hierarchy!(IDirectInput8A, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInput8A, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInput8A { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -831,7 +831,7 @@ impl IDirectInput8W { (::windows::core::Vtable::vtable(self).ConfigureDevices)(::windows::core::Vtable::as_raw(self), param0, param1, param2, param3).ok() } } -::windows::core::interface_hierarchy!(IDirectInput8W, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInput8W, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInput8W { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -917,7 +917,7 @@ impl IDirectInputA { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), param0.into(), param1).ok() } } -::windows::core::interface_hierarchy!(IDirectInputA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1071,7 +1071,7 @@ impl IDirectInputDevice2A { (::windows::core::Vtable::vtable(self).SendDeviceData)(::windows::core::Vtable::as_raw(self), param0, param1, param2, param3).ok() } } -::windows::core::interface_hierarchy!(IDirectInputDevice2A, ::windows::core::IUnknown, IDirectInputDeviceA); +::windows::imp::interface_hierarchy!(IDirectInputDevice2A, ::windows::core::IUnknown, IDirectInputDeviceA); impl ::core::cmp::PartialEq for IDirectInputDevice2A { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1223,7 +1223,7 @@ impl IDirectInputDevice2W { (::windows::core::Vtable::vtable(self).SendDeviceData)(::windows::core::Vtable::as_raw(self), param0, param1, param2, param3).ok() } } -::windows::core::interface_hierarchy!(IDirectInputDevice2W, ::windows::core::IUnknown, IDirectInputDeviceW); +::windows::imp::interface_hierarchy!(IDirectInputDevice2W, ::windows::core::IUnknown, IDirectInputDeviceW); impl ::core::cmp::PartialEq for IDirectInputDevice2W { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1394,7 +1394,7 @@ impl IDirectInputDevice7A { (::windows::core::Vtable::vtable(self).WriteEffectToFile)(::windows::core::Vtable::as_raw(self), param0.into().abi(), param1, param2, param3).ok() } } -::windows::core::interface_hierarchy!(IDirectInputDevice7A, ::windows::core::IUnknown, IDirectInputDeviceA, IDirectInputDevice2A); +::windows::imp::interface_hierarchy!(IDirectInputDevice7A, ::windows::core::IUnknown, IDirectInputDeviceA, IDirectInputDevice2A); impl ::core::cmp::PartialEq for IDirectInputDevice7A { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1552,7 +1552,7 @@ impl IDirectInputDevice7W { (::windows::core::Vtable::vtable(self).WriteEffectToFile)(::windows::core::Vtable::as_raw(self), param0.into().abi(), param1, param2, param3).ok() } } -::windows::core::interface_hierarchy!(IDirectInputDevice7W, ::windows::core::IUnknown, IDirectInputDeviceW, IDirectInputDevice2W); +::windows::imp::interface_hierarchy!(IDirectInputDevice7W, ::windows::core::IUnknown, IDirectInputDeviceW, IDirectInputDevice2W); impl ::core::cmp::PartialEq for IDirectInputDevice7W { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1737,7 +1737,7 @@ impl IDirectInputDevice8A { (::windows::core::Vtable::vtable(self).GetImageInfo)(::windows::core::Vtable::as_raw(self), param0).ok() } } -::windows::core::interface_hierarchy!(IDirectInputDevice8A, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputDevice8A, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputDevice8A { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1982,7 +1982,7 @@ impl IDirectInputDevice8W { (::windows::core::Vtable::vtable(self).GetImageInfo)(::windows::core::Vtable::as_raw(self), param0).ok() } } -::windows::core::interface_hierarchy!(IDirectInputDevice8W, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputDevice8W, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputDevice8W { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2151,7 +2151,7 @@ impl IDirectInputDeviceA { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), param0.into(), param1, param2).ok() } } -::windows::core::interface_hierarchy!(IDirectInputDeviceA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputDeviceA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputDeviceA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2287,7 +2287,7 @@ impl IDirectInputDeviceW { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), param0.into(), param1, param2).ok() } } -::windows::core::interface_hierarchy!(IDirectInputDeviceW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputDeviceW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputDeviceW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2385,7 +2385,7 @@ impl IDirectInputEffect { (::windows::core::Vtable::vtable(self).Escape)(::windows::core::Vtable::as_raw(self), param0).ok() } } -::windows::core::interface_hierarchy!(IDirectInputEffect, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputEffect, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2464,7 +2464,7 @@ impl IDirectInputEffectDriver { (::windows::core::Vtable::vtable(self).GetEffectStatus)(::windows::core::Vtable::as_raw(self), param0, param1, param2).ok() } } -::windows::core::interface_hierarchy!(IDirectInputEffectDriver, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputEffectDriver, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputEffectDriver { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2584,7 +2584,7 @@ impl IDirectInputJoyConfig { (::windows::core::Vtable::vtable(self).OpenConfigKey)(::windows::core::Vtable::as_raw(self), param0, param1, param2).ok() } } -::windows::core::interface_hierarchy!(IDirectInputJoyConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputJoyConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputJoyConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2725,7 +2725,7 @@ impl IDirectInputJoyConfig8 { (::windows::core::Vtable::vtable(self).OpenAppStatusKey)(::windows::core::Vtable::as_raw(self), param0).ok() } } -::windows::core::interface_hierarchy!(IDirectInputJoyConfig8, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputJoyConfig8, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputJoyConfig8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2819,7 +2819,7 @@ impl IDirectInputW { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), param0.into(), param1).ok() } } -::windows::core::interface_hierarchy!(IDirectInputW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectInputW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectInputW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs index a2cceb7fa8..2947a18f70 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs @@ -20,7 +20,7 @@ impl IEnumWIA_DEV_CAPS { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumWIA_DEV_CAPS, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumWIA_DEV_CAPS, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumWIA_DEV_CAPS { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -75,7 +75,7 @@ impl IEnumWIA_DEV_INFO { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumWIA_DEV_INFO, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumWIA_DEV_INFO, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumWIA_DEV_INFO { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -130,7 +130,7 @@ impl IEnumWIA_FORMAT_INFO { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumWIA_FORMAT_INFO, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumWIA_FORMAT_INFO, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumWIA_FORMAT_INFO { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -185,7 +185,7 @@ impl IEnumWiaItem { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumWiaItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumWiaItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumWiaItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -240,7 +240,7 @@ impl IEnumWiaItem2 { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumWiaItem2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumWiaItem2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumWiaItem2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -290,7 +290,7 @@ impl IWiaAppErrorHandler { (::windows::core::Vtable::vtable(self).ReportStatus)(::windows::core::Vtable::as_raw(self), lflags, pwiaitem2.into().abi(), hrstatus, lpercentcomplete).ok() } } -::windows::core::interface_hierarchy!(IWiaAppErrorHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaAppErrorHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaAppErrorHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -331,7 +331,7 @@ impl IWiaDataCallback { (::windows::core::Vtable::vtable(self).BandedDataCallback)(::windows::core::Vtable::as_raw(self), lmessage, lstatus, lpercentcomplete, loffset, llength, lreserved, lreslength, pbbuffer).ok() } } -::windows::core::interface_hierarchy!(IWiaDataCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaDataCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaDataCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -391,7 +391,7 @@ impl IWiaDataTransfer { (::windows::core::Vtable::vtable(self).idtGetExtendedTransferInfo)(::windows::core::Vtable::as_raw(self), pextendedtransferinfo).ok() } } -::windows::core::interface_hierarchy!(IWiaDataTransfer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaDataTransfer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaDataTransfer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -489,7 +489,7 @@ impl IWiaDevMgr { (::windows::core::Vtable::vtable(self).AddDeviceDlg)(::windows::core::Vtable::as_raw(self), hwndparent.into(), lflags).ok() } } -::windows::core::interface_hierarchy!(IWiaDevMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaDevMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaDevMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -588,7 +588,7 @@ impl IWiaDevMgr2 { (::windows::core::Vtable::vtable(self).GetImageDlg)(::windows::core::Vtable::as_raw(self), lflags, ::core::mem::transmute_copy(bstrdeviceid), hwndparent.into(), ::core::mem::transmute_copy(bstrfoldername), ::core::mem::transmute_copy(bstrfilename), plnumfiles, ppbstrfilepaths, ::core::mem::transmute(ppitem)).ok() } } -::windows::core::interface_hierarchy!(IWiaDevMgr2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaDevMgr2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaDevMgr2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -690,7 +690,7 @@ impl IWiaDrvItem { (::windows::core::Vtable::vtable(self).DumpItemData)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWiaDrvItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaDrvItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaDrvItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -752,7 +752,7 @@ impl IWiaErrorHandler { (::windows::core::Vtable::vtable(self).GetStatusDescription)(::windows::core::Vtable::as_raw(self), lflags, pwiaitem2.into().abi(), hrstatus, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWiaErrorHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaErrorHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaErrorHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -793,7 +793,7 @@ impl IWiaEventCallback { (::windows::core::Vtable::vtable(self).ImageEventCallback)(::windows::core::Vtable::as_raw(self), peventguid, ::core::mem::transmute_copy(bstreventdescription), ::core::mem::transmute_copy(bstrdeviceid), ::core::mem::transmute_copy(bstrdevicedescription), dwdevicetype, ::core::mem::transmute_copy(bstrfullitemname), puleventtype, ulreserved).ok() } } -::windows::core::interface_hierarchy!(IWiaEventCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaEventCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaEventCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -855,7 +855,7 @@ impl IWiaImageFilter { (::windows::core::Vtable::vtable(self).ApplyProperties)(::windows::core::Vtable::as_raw(self), pwiapropertystorage.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWiaImageFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaImageFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaImageFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -955,7 +955,7 @@ impl IWiaItem { (::windows::core::Vtable::vtable(self).Diagnostic)(::windows::core::Vtable::as_raw(self), pbuffer.len() as _, ::core::mem::transmute(pbuffer.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IWiaItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1071,7 +1071,7 @@ impl IWiaItem2 { (::windows::core::Vtable::vtable(self).Diagnostic)(::windows::core::Vtable::as_raw(self), pbuffer.len() as _, ::core::mem::transmute(pbuffer.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IWiaItem2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaItem2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaItem2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1136,7 +1136,7 @@ impl IWiaItemExtras { (::windows::core::Vtable::vtable(self).CancelPendingIO)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWiaItemExtras, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaItemExtras, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaItemExtras { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1181,7 +1181,7 @@ impl IWiaLog { (::windows::core::Vtable::vtable(self).Log)(::windows::core::Vtable::as_raw(self), lflags, lresid, ldetail, ::core::mem::transmute_copy(bstrtext)).ok() } } -::windows::core::interface_hierarchy!(IWiaLog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaLog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaLog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1232,7 +1232,7 @@ impl IWiaLogEx { (::windows::core::Vtable::vtable(self).LogEx)(::windows::core::Vtable::as_raw(self), lmethodid, lflags, lresid, ldetail, ::core::mem::transmute_copy(bstrtext)).ok() } } -::windows::core::interface_hierarchy!(IWiaLogEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaLogEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaLogEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1341,7 +1341,7 @@ impl IWiaMiniDrv { (::windows::core::Vtable::vtable(self).drvUnInitializeWia)(::windows::core::Vtable::as_raw(self), __midl__iwiaminidrv0064).ok() } } -::windows::core::interface_hierarchy!(IWiaMiniDrv, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaMiniDrv, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaMiniDrv { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1408,7 +1408,7 @@ impl IWiaMiniDrvCallBack { (::windows::core::Vtable::vtable(self).MiniDrvCallback)(::windows::core::Vtable::as_raw(self), lreason, lstatus, lpercentcomplete, loffset, llength, ptranctx, lreserved).ok() } } -::windows::core::interface_hierarchy!(IWiaMiniDrvCallBack, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaMiniDrvCallBack, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaMiniDrvCallBack { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1454,7 +1454,7 @@ impl IWiaMiniDrvTransferCallback { (::windows::core::Vtable::vtable(self).SendMessage)(::windows::core::Vtable::as_raw(self), lflags, pwiatransferparams).ok() } } -::windows::core::interface_hierarchy!(IWiaMiniDrvTransferCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaMiniDrvTransferCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaMiniDrvTransferCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1495,7 +1495,7 @@ impl IWiaNotifyDevMgr { (::windows::core::Vtable::vtable(self).NewDeviceArrival)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWiaNotifyDevMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaNotifyDevMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaNotifyDevMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1549,7 +1549,7 @@ impl IWiaPreview { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWiaPreview, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaPreview, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaPreview { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1657,7 +1657,7 @@ impl IWiaPropertyStorage { (::windows::core::Vtable::vtable(self).SetPropertyStream)(::windows::core::Vtable::as_raw(self), pcompatibilityid, pistream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWiaPropertyStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaPropertyStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaPropertyStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1742,7 +1742,7 @@ impl IWiaSegmentationFilter { (::windows::core::Vtable::vtable(self).DetectRegions)(::windows::core::Vtable::as_raw(self), lflags, pinputstream.into().abi(), pwiaitem2.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWiaSegmentationFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaSegmentationFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaSegmentationFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1801,7 +1801,7 @@ impl IWiaTransfer { (::windows::core::Vtable::vtable(self).EnumWIA_FORMAT_INFO)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWiaTransfer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaTransfer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaTransfer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1850,7 +1850,7 @@ impl IWiaTransferCallback { (::windows::core::Vtable::vtable(self).GetNextStream)(::windows::core::Vtable::as_raw(self), lflags, ::core::mem::transmute_copy(bstritemname), ::core::mem::transmute_copy(bstrfullitemname), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWiaTransferCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaTransferCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaTransferCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1903,7 +1903,7 @@ impl IWiaUIExtension { (::windows::core::Vtable::vtable(self).GetDeviceBitmapLogo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrdeviceid), phbitmap, nmaxwidth, nmaxheight).ok() } } -::windows::core::interface_hierarchy!(IWiaUIExtension, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaUIExtension, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaUIExtension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1958,7 +1958,7 @@ impl IWiaUIExtension2 { (::windows::core::Vtable::vtable(self).GetDeviceIcon)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrdeviceid), phicon, nsize).ok() } } -::windows::core::interface_hierarchy!(IWiaUIExtension2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaUIExtension2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaUIExtension2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2075,7 +2075,7 @@ impl IWiaVideo { (::windows::core::Vtable::vtable(self).GetCurrentState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWiaVideo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWiaVideo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWiaVideo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs index 27a4777bfc..bceab310ac 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn DMProcessConfigXMLFiltered(pszxmlin: P0, rgszallowedcspnodes: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dmprocessxmlfiltered.dll""system" fn DMProcessConfigXMLFiltered ( pszxmlin : :: windows::core::PCWSTR , rgszallowedcspnodes : *const :: windows::core::PCWSTR , dwnumallowedcspnodes : u32 , pbstrxmlout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dmprocessxmlfiltered.dll""system" fn DMProcessConfigXMLFiltered ( pszxmlin : :: windows::core::PCWSTR , rgszallowedcspnodes : *const :: windows::core::PCWSTR , dwnumallowedcspnodes : u32 , pbstrxmlout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); DMProcessConfigXMLFiltered(pszxmlin.into().abi(), ::core::mem::transmute(rgszallowedcspnodes.as_ptr()), rgszallowedcspnodes.len() as _, &mut result__).from_abi(result__) } @@ -16,7 +16,7 @@ impl IConnectionRequestCallback { (::windows::core::Vtable::vtable(self).OnComplete)(::windows::core::Vtable::as_raw(self), hrstatus).ok() } } -::windows::core::interface_hierarchy!(IConnectionRequestCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConnectionRequestCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConnectionRequestCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -63,7 +63,7 @@ impl IEnumPortableDeviceConnectors { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumPortableDeviceConnectors, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumPortableDeviceConnectors, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumPortableDeviceConnectors { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -116,7 +116,7 @@ impl IEnumPortableDeviceObjectIDs { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IEnumPortableDeviceObjectIDs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumPortableDeviceObjectIDs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumPortableDeviceObjectIDs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -161,7 +161,7 @@ impl IMediaRadioManager { (::windows::core::Vtable::vtable(self).OnSystemRadioStateChange)(::windows::core::Vtable::as_raw(self), sysradiostate, utimeoutsec).ok() } } -::windows::core::interface_hierarchy!(IMediaRadioManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaRadioManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaRadioManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -208,7 +208,7 @@ impl IMediaRadioManagerNotifySink { (::windows::core::Vtable::vtable(self).OnInstanceRadioChange)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrradioinstanceid), radiostate).ok() } } -::windows::core::interface_hierarchy!(IMediaRadioManagerNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaRadioManagerNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaRadioManagerNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -290,7 +290,7 @@ impl IPortableDevice { (::windows::core::Vtable::vtable(self).GetPnPDeviceID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPortableDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -379,7 +379,7 @@ impl IPortableDeviceCapabilities { (::windows::core::Vtable::vtable(self).GetEventOptions)(::windows::core::Vtable::as_raw(self), event, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPortableDeviceCapabilities, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceCapabilities, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -461,7 +461,7 @@ impl IPortableDeviceConnector { (::windows::core::Vtable::vtable(self).GetPnPID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPortableDeviceConnector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceConnector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceConnector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -566,7 +566,7 @@ impl IPortableDeviceContent { (::windows::core::Vtable::vtable(self).Copy)(::windows::core::Vtable::as_raw(self), pobjectids.into().abi(), pszdestinationfolderobjectid.into().abi(), ::core::mem::transmute(ppresults)).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceContent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceContent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceContent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -681,7 +681,7 @@ impl IPortableDeviceContent2 { (::windows::core::Vtable::vtable(self).UpdateObjectWithPropertiesAndData)(::windows::core::Vtable::as_raw(self), pszobjectid.into().abi(), pproperties.into().abi(), ::core::mem::transmute(ppdata), pdwoptimalwritebuffersize).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceContent2, ::windows::core::IUnknown, IPortableDeviceContent); +::windows::imp::interface_hierarchy!(IPortableDeviceContent2, ::windows::core::IUnknown, IPortableDeviceContent); impl ::core::cmp::PartialEq for IPortableDeviceContent2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -787,7 +787,7 @@ impl IPortableDeviceDataStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPortableDeviceDataStream, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); +::windows::imp::interface_hierarchy!(IPortableDeviceDataStream, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPortableDeviceDataStream { fn eq(&self, other: &Self) -> bool { @@ -838,7 +838,7 @@ impl IPortableDeviceDispatchFactory { (::windows::core::Vtable::vtable(self).GetDeviceDispatch)(::windows::core::Vtable::as_raw(self), pszpnpdeviceid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPortableDeviceDispatchFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceDispatchFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceDispatchFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -881,7 +881,7 @@ impl IPortableDeviceEventCallback { (::windows::core::Vtable::vtable(self).OnEvent)(::windows::core::Vtable::as_raw(self), peventparameters.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceEventCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceEventCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceEventCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -934,7 +934,7 @@ impl IPortableDeviceKeyCollection { (::windows::core::Vtable::vtable(self).RemoveAt)(::windows::core::Vtable::as_raw(self), dwindex).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceKeyCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceKeyCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceKeyCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1012,7 +1012,7 @@ impl IPortableDeviceManager { (::windows::core::Vtable::vtable(self).GetPrivateDevices)(::windows::core::Vtable::as_raw(self), ppnpdeviceids, pcpnpdeviceids).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1078,7 +1078,7 @@ impl IPortableDevicePropVariantCollection { (::windows::core::Vtable::vtable(self).RemoveAt)(::windows::core::Vtable::as_raw(self), dwindex).ok() } } -::windows::core::interface_hierarchy!(IPortableDevicePropVariantCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDevicePropVariantCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDevicePropVariantCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1166,7 +1166,7 @@ impl IPortableDeviceProperties { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1240,7 +1240,7 @@ impl IPortableDevicePropertiesBulk { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self), pcontext).ok() } } -::windows::core::interface_hierarchy!(IPortableDevicePropertiesBulk, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDevicePropertiesBulk, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDevicePropertiesBulk { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1290,7 +1290,7 @@ impl IPortableDevicePropertiesBulkCallback { (::windows::core::Vtable::vtable(self).OnEnd)(::windows::core::Vtable::as_raw(self), pcontext, hrstatus).ok() } } -::windows::core::interface_hierarchy!(IPortableDevicePropertiesBulkCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDevicePropertiesBulkCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDevicePropertiesBulkCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1368,7 +1368,7 @@ impl IPortableDeviceResources { (::windows::core::Vtable::vtable(self).CreateResource)(::windows::core::Vtable::as_raw(self), presourceattributes.into().abi(), ::core::mem::transmute(ppdata), pdwoptimalwritebuffersize, ppszcookie).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceResources, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceResources, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceResources { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1470,7 +1470,7 @@ impl IPortableDeviceService { (::windows::core::Vtable::vtable(self).SendCommand)(::windows::core::Vtable::as_raw(self), dwflags, pparameters.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPortableDeviceService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1525,7 +1525,7 @@ impl IPortableDeviceServiceActivation { (::windows::core::Vtable::vtable(self).CancelOpenAsync)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceServiceActivation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceServiceActivation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceServiceActivation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1631,7 +1631,7 @@ impl IPortableDeviceServiceCapabilities { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceServiceCapabilities, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceServiceCapabilities, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceServiceCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1705,7 +1705,7 @@ impl IPortableDeviceServiceManager { (::windows::core::Vtable::vtable(self).GetDeviceForService)(::windows::core::Vtable::as_raw(self), pszpnpserviceid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPortableDeviceServiceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceServiceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceServiceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1746,7 +1746,7 @@ impl IPortableDeviceServiceMethodCallback { (::windows::core::Vtable::vtable(self).OnComplete)(::windows::core::Vtable::as_raw(self), hrstatus, presults.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceServiceMethodCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceServiceMethodCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceServiceMethodCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1799,7 +1799,7 @@ impl IPortableDeviceServiceMethods { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self), pcallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceServiceMethods, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceServiceMethods, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceServiceMethods { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1838,7 +1838,7 @@ impl IPortableDeviceServiceOpenCallback { (::windows::core::Vtable::vtable(self).OnComplete)(::windows::core::Vtable::as_raw(self), hrstatus).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceServiceOpenCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceServiceOpenCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceServiceOpenCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1878,7 +1878,7 @@ impl IPortableDeviceUnitsStream { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceUnitsStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceUnitsStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceUnitsStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2151,7 +2151,7 @@ impl IPortableDeviceValues { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceValues, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceValues, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceValues { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2357,7 +2357,7 @@ impl IPortableDeviceValuesCollection { (::windows::core::Vtable::vtable(self).RemoveAt)(::windows::core::Vtable::as_raw(self), dwindex).ok() } } -::windows::core::interface_hierarchy!(IPortableDeviceValuesCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPortableDeviceValuesCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPortableDeviceValuesCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2413,7 +2413,7 @@ impl IPortableDeviceWebControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPortableDeviceWebControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPortableDeviceWebControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPortableDeviceWebControl { fn eq(&self, other: &Self) -> bool { @@ -2490,7 +2490,7 @@ impl IRadioInstance { (::windows::core::Vtable::vtable(self).IsAssociatingDevice)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IRadioInstance, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRadioInstance, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRadioInstance { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2544,7 +2544,7 @@ impl IRadioInstanceCollection { (::windows::core::Vtable::vtable(self).GetAt)(::windows::core::Vtable::as_raw(self), uindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRadioInstanceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRadioInstanceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRadioInstanceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2602,7 +2602,7 @@ impl IWpdSerializer { (::windows::core::Vtable::vtable(self).GetSerializedSize)(::windows::core::Vtable::as_raw(self), psource.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWpdSerializer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWpdSerializer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWpdSerializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs index 1ee21ca5a2..1e98858e5c 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs @@ -2,97 +2,97 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListAllocateBufferAndSerialize(sourcecollection: *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes: *mut u32, ptargetbuffer: *mut *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListAllocateBufferAndSerialize ( sourcecollection : *const SENSOR_COLLECTION_LIST , ptargetbuffersizeinbytes : *mut u32 , ptargetbuffer : *mut *mut u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListAllocateBufferAndSerialize ( sourcecollection : *const SENSOR_COLLECTION_LIST , ptargetbuffersizeinbytes : *mut u32 , ptargetbuffer : *mut *mut u8 ) -> super::super::Foundation:: NTSTATUS ); CollectionsListAllocateBufferAndSerialize(sourcecollection, ptargetbuffersizeinbytes, ptargetbuffer).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListCopyAndMarshall(target: *mut SENSOR_COLLECTION_LIST, source: *const SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListCopyAndMarshall ( target : *mut SENSOR_COLLECTION_LIST , source : *const SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListCopyAndMarshall ( target : *mut SENSOR_COLLECTION_LIST , source : *const SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); CollectionsListCopyAndMarshall(target, source).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListDeserializeFromBuffer(sourcebuffer: &[u8], targetcollection: *mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListDeserializeFromBuffer ( sourcebuffersizeinbytes : u32 , sourcebuffer : *const u8 , targetcollection : *mut SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListDeserializeFromBuffer ( sourcebuffersizeinbytes : u32 , sourcebuffer : *const u8 , targetcollection : *mut SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); CollectionsListDeserializeFromBuffer(sourcebuffer.len() as _, ::core::mem::transmute(sourcebuffer.as_ptr()), targetcollection).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[inline] pub unsafe fn CollectionsListGetFillableCount(buffersizebytes: u32) -> u32 { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListGetFillableCount ( buffersizebytes : u32 ) -> u32 ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListGetFillableCount ( buffersizebytes : u32 ) -> u32 ); CollectionsListGetFillableCount(buffersizebytes) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListGetMarshalledSize(collection: *const SENSOR_COLLECTION_LIST) -> u32 { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListGetMarshalledSize ( collection : *const SENSOR_COLLECTION_LIST ) -> u32 ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListGetMarshalledSize ( collection : *const SENSOR_COLLECTION_LIST ) -> u32 ); CollectionsListGetMarshalledSize(collection) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListGetMarshalledSizeWithoutSerialization(collection: *const SENSOR_COLLECTION_LIST) -> u32 { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListGetMarshalledSizeWithoutSerialization ( collection : *const SENSOR_COLLECTION_LIST ) -> u32 ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListGetMarshalledSizeWithoutSerialization ( collection : *const SENSOR_COLLECTION_LIST ) -> u32 ); CollectionsListGetMarshalledSizeWithoutSerialization(collection) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListGetSerializedSize(collection: *const SENSOR_COLLECTION_LIST) -> u32 { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListGetSerializedSize ( collection : *const SENSOR_COLLECTION_LIST ) -> u32 ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListGetSerializedSize ( collection : *const SENSOR_COLLECTION_LIST ) -> u32 ); CollectionsListGetSerializedSize(collection) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListMarshall(target: *mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListMarshall ( target : *mut SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListMarshall ( target : *mut SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); CollectionsListMarshall(target).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListSerializeToBuffer(sourcecollection: *const SENSOR_COLLECTION_LIST, targetbuffer: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListSerializeToBuffer ( sourcecollection : *const SENSOR_COLLECTION_LIST , targetbuffersizeinbytes : u32 , targetbuffer : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListSerializeToBuffer ( sourcecollection : *const SENSOR_COLLECTION_LIST , targetbuffersizeinbytes : u32 , targetbuffer : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); CollectionsListSerializeToBuffer(sourcecollection, targetbuffer.len() as _, ::core::mem::transmute(targetbuffer.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: *const SENSOR_COLLECTION_LIST, pcollection: *mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListSortSubscribedActivitiesByConfidence ( thresholds : *const SENSOR_COLLECTION_LIST , pcollection : *mut SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListSortSubscribedActivitiesByConfidence ( thresholds : *const SENSOR_COLLECTION_LIST , pcollection : *mut SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); CollectionsListSortSubscribedActivitiesByConfidence(thresholds, pcollection).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn CollectionsListUpdateMarshalledPointer(collection: *mut SENSOR_COLLECTION_LIST) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListUpdateMarshalledPointer ( collection : *mut SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn CollectionsListUpdateMarshalledPointer ( collection : *mut SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: NTSTATUS ); CollectionsListUpdateMarshalledPointer(collection).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn EvaluateActivityThresholds(newsample: *const SENSOR_COLLECTION_LIST, oldsample: *const SENSOR_COLLECTION_LIST, thresholds: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn EvaluateActivityThresholds ( newsample : *const SENSOR_COLLECTION_LIST , oldsample : *const SENSOR_COLLECTION_LIST , thresholds : *const SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn EvaluateActivityThresholds ( newsample : *const SENSOR_COLLECTION_LIST , oldsample : *const SENSOR_COLLECTION_LIST , thresholds : *const SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: BOOLEAN ); EvaluateActivityThresholds(newsample, oldsample, thresholds) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPerformanceTime(timems: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn GetPerformanceTime ( timems : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn GetPerformanceTime ( timems : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); GetPerformanceTime(timems).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromCLSIDArray(members: &[::windows::core::GUID]) -> ::windows::core::Result { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn InitPropVariantFromCLSIDArray ( members : *const :: windows::core::GUID , size : u32 , ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn InitPropVariantFromCLSIDArray ( members : *const :: windows::core::GUID , size : u32 , ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromCLSIDArray(::core::mem::transmute(members.as_ptr()), members.len() as _, &mut result__).from_abi(result__) } @@ -100,7 +100,7 @@ pub unsafe fn InitPropVariantFromCLSIDArray(members: &[::windows::core::GUID]) - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromFloat(fltval: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn InitPropVariantFromFloat ( fltval : f32 , ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn InitPropVariantFromFloat ( fltval : f32 , ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromFloat(fltval, &mut result__).from_abi(result__) } @@ -108,105 +108,105 @@ pub unsafe fn InitPropVariantFromFloat(fltval: f32) -> ::windows::core::Result super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn IsCollectionListSame ( lista : *const SENSOR_COLLECTION_LIST , listb : *const SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn IsCollectionListSame ( lista : *const SENSOR_COLLECTION_LIST , listb : *const SENSOR_COLLECTION_LIST ) -> super::super::Foundation:: BOOLEAN ); IsCollectionListSame(lista, listb) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsGUIDPresentInList(guidarray: &[::windows::core::GUID], guidelem: *const ::windows::core::GUID) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn IsGUIDPresentInList ( guidarray : *const :: windows::core::GUID , arraylength : u32 , guidelem : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn IsGUIDPresentInList ( guidarray : *const :: windows::core::GUID , arraylength : u32 , guidelem : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOLEAN ); IsGUIDPresentInList(::core::mem::transmute(guidarray.as_ptr()), guidarray.len() as _, guidelem) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn IsKeyPresentInCollectionList(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn IsKeyPresentInCollectionList ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn IsKeyPresentInCollectionList ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY ) -> super::super::Foundation:: BOOLEAN ); IsKeyPresentInCollectionList(plist, pkey) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn IsKeyPresentInPropertyList(plist: *const SENSOR_PROPERTY_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn IsKeyPresentInPropertyList ( plist : *const SENSOR_PROPERTY_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn IsKeyPresentInPropertyList ( plist : *const SENSOR_PROPERTY_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY ) -> super::super::Foundation:: BOOLEAN ); IsKeyPresentInPropertyList(plist, pkey) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn IsSensorSubscribed(subscriptionlist: *const SENSOR_COLLECTION_LIST, currenttype: ::windows::core::GUID) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn IsSensorSubscribed ( subscriptionlist : *const SENSOR_COLLECTION_LIST , currenttype : :: windows::core::GUID ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn IsSensorSubscribed ( subscriptionlist : *const SENSOR_COLLECTION_LIST , currenttype : :: windows::core::GUID ) -> super::super::Foundation:: BOOLEAN ); IsSensorSubscribed(subscriptionlist, ::core::mem::transmute(currenttype)) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetBool(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetBool ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetBool ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetBool(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetDouble(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetDouble ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut f64 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetDouble ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut f64 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetDouble(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetFileTime(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::FILETIME) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetFileTime ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetFileTime ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetFileTime(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetFloat(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetFloat ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut f32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetFloat ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut f32 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetFloat(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetGuid(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetGuid ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut :: windows::core::GUID ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetGuid ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut :: windows::core::GUID ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetGuid(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetInt32(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetInt32 ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut i32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetInt32 ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut i32 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetInt32(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetInt64 ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetInt64 ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetInt64(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetNthInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut i64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetNthInt64 ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , occurrence : u32 , pretvalue : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetNthInt64 ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , occurrence : u32 , pretvalue : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetNthInt64(plist, pkey, occurrence, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetNthUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetNthUlong ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , occurrence : u32 , pretvalue : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetNthUlong ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , occurrence : u32 , pretvalue : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetNthUlong(plist, pkey, occurrence, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetNthUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetNthUshort ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , occurrence : u32 , pretvalue : *mut u16 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetNthUshort ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , occurrence : u32 , pretvalue : *mut u16 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetNthUshort(plist, pkey, occurrence, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -216,21 +216,21 @@ pub unsafe fn PropKeyFindKeyGetPropVariant(plist: *const SENSOR_COLLECTION_L where P0: ::std::convert::Into, { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetPropVariant ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , typecheck : super::super::Foundation:: BOOLEAN , pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetPropVariant ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , typecheck : super::super::Foundation:: BOOLEAN , pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetPropVariant(plist, pkey, typecheck.into(), pvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetUlong ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetUlong ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetUlong(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropKeyFindKeyGetUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetUshort ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut u16 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeyGetUshort ( plist : *const SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pretvalue : *mut u16 ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeyGetUshort(plist, pkey, pretvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -240,47 +240,47 @@ pub unsafe fn PropKeyFindKeySetPropVariant(plist: *mut SENSOR_COLLECTION_LIS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeySetPropVariant ( plist : *mut SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , typecheck : super::super::Foundation:: BOOLEAN , pvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropKeyFindKeySetPropVariant ( plist : *mut SENSOR_COLLECTION_LIST , pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , typecheck : super::super::Foundation:: BOOLEAN , pvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> super::super::Foundation:: NTSTATUS ); PropKeyFindKeySetPropVariant(plist, pkey, typecheck.into(), pvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetInformation(propvariantvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, propvariantoffset: ::core::option::Option<*mut u32>, propvariantsize: ::core::option::Option<*mut u32>, propvariantpointer: ::core::option::Option<*mut *mut ::core::ffi::c_void>, remappedtype: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropVariantGetInformation ( propvariantvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT , propvariantoffset : *mut u32 , propvariantsize : *mut u32 , propvariantpointer : *mut *mut ::core::ffi::c_void , remappedtype : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropVariantGetInformation ( propvariantvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT , propvariantoffset : *mut u32 , propvariantsize : *mut u32 , propvariantpointer : *mut *mut ::core::ffi::c_void , remappedtype : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); PropVariantGetInformation(propvariantvalue, ::core::mem::transmute(propvariantoffset.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propvariantsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propvariantpointer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remappedtype.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn PropertiesListCopy(target: *mut SENSOR_PROPERTY_LIST, source: *const SENSOR_PROPERTY_LIST) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropertiesListCopy ( target : *mut SENSOR_PROPERTY_LIST , source : *const SENSOR_PROPERTY_LIST ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropertiesListCopy ( target : *mut SENSOR_PROPERTY_LIST , source : *const SENSOR_PROPERTY_LIST ) -> super::super::Foundation:: NTSTATUS ); PropertiesListCopy(target, source).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[inline] pub unsafe fn PropertiesListGetFillableCount(buffersizebytes: u32) -> u32 { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn PropertiesListGetFillableCount ( buffersizebytes : u32 ) -> u32 ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn PropertiesListGetFillableCount ( buffersizebytes : u32 ) -> u32 ); PropertiesListGetFillableCount(buffersizebytes) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] pub unsafe fn SensorCollectionGetAt(index: u32, psensorslist: *const SENSOR_COLLECTION_LIST, pkey: ::core::option::Option<*mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY>, pvalue: ::core::option::Option<*mut super::super::System::Com::StructuredStorage::PROPVARIANT>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn SensorCollectionGetAt ( index : u32 , psensorslist : *const SENSOR_COLLECTION_LIST , pkey : *mut super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn SensorCollectionGetAt ( index : u32 , psensorslist : *const SENSOR_COLLECTION_LIST , pkey : *mut super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY , pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> super::super::Foundation:: NTSTATUS ); SensorCollectionGetAt(index, psensorslist, ::core::mem::transmute(pkey.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SerializationBufferAllocate(sizeinbytes: u32, pbuffer: *mut *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn SerializationBufferAllocate ( sizeinbytes : u32 , pbuffer : *mut *mut u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn SerializationBufferAllocate ( sizeinbytes : u32 , pbuffer : *mut *mut u8 ) -> super::super::Foundation:: NTSTATUS ); SerializationBufferAllocate(sizeinbytes, pbuffer).ok() } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[inline] pub unsafe fn SerializationBufferFree(buffer: ::core::option::Option<*const u8>) { - ::windows::core::link ! ( "sensorsutilsv2.dll""system" fn SerializationBufferFree ( buffer : *const u8 ) -> ( ) ); + ::windows::imp::link ! ( "sensorsutilsv2.dll""system" fn SerializationBufferFree ( buffer : *const u8 ) -> ( ) ); SerializationBufferFree(::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] @@ -297,7 +297,7 @@ impl ILocationPermissions { (::windows::core::Vtable::vtable(self).CheckLocationCapability)(::windows::core::Vtable::as_raw(self), dwclientthreadid).ok() } } -::windows::core::interface_hierarchy!(ILocationPermissions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILocationPermissions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILocationPermissions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -413,7 +413,7 @@ impl ISensor { (::windows::core::Vtable::vtable(self).SetEventSink)(::windows::core::Vtable::as_raw(self), pevents.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISensor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISensor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISensor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -505,7 +505,7 @@ impl ISensorCollection { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISensorCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISensorCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISensorCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -565,7 +565,7 @@ impl ISensorDataReport { (::windows::core::Vtable::vtable(self).GetSensorValues)(::windows::core::Vtable::as_raw(self), pkeys.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISensorDataReport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISensorDataReport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISensorDataReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -635,7 +635,7 @@ impl ISensorEvents { (::windows::core::Vtable::vtable(self).OnLeave)(::windows::core::Vtable::as_raw(self), id).ok() } } -::windows::core::interface_hierarchy!(ISensorEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISensorEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISensorEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -703,7 +703,7 @@ impl ISensorManager { (::windows::core::Vtable::vtable(self).RequestPermissions)(::windows::core::Vtable::as_raw(self), hparent.into(), psensors.into().abi(), fmodal.into()).ok() } } -::windows::core::interface_hierarchy!(ISensorManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISensorManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISensorManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -750,7 +750,7 @@ impl ISensorManagerEvents { (::windows::core::Vtable::vtable(self).OnSensorEnter)(::windows::core::Vtable::as_raw(self), psensor.into().abi(), state).ok() } } -::windows::core::interface_hierarchy!(ISensorManagerEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISensorManagerEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISensorManagerEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs index 50e3969bb0..2a3e1af82a 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn ComDBClaimNextFreePort(hcomdb: P0, comnumber: *mut u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msports.dll""system" fn ComDBClaimNextFreePort ( hcomdb : HCOMDB , comnumber : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "msports.dll""system" fn ComDBClaimNextFreePort ( hcomdb : HCOMDB , comnumber : *mut u32 ) -> i32 ); ComDBClaimNextFreePort(hcomdb.into(), comnumber) } #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msports.dll""system" fn ComDBClaimPort ( hcomdb : HCOMDB , comnumber : u32 , forceclaim : super::super::Foundation:: BOOL , forced : *mut super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "msports.dll""system" fn ComDBClaimPort ( hcomdb : HCOMDB , comnumber : u32 , forceclaim : super::super::Foundation:: BOOL , forced : *mut super::super::Foundation:: BOOL ) -> i32 ); ComDBClaimPort(hcomdb.into(), comnumber, forceclaim.into(), ::core::mem::transmute(forced.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] @@ -24,7 +24,7 @@ pub unsafe fn ComDBClose(hcomdb: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msports.dll""system" fn ComDBClose ( hcomdb : HCOMDB ) -> i32 ); + ::windows::imp::link ! ( "msports.dll""system" fn ComDBClose ( hcomdb : HCOMDB ) -> i32 ); ComDBClose(hcomdb.into()) } #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] @@ -33,13 +33,13 @@ pub unsafe fn ComDBGetCurrentPortUsage(hcomdb: P0, buffer: ::core::option::O where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msports.dll""system" fn ComDBGetCurrentPortUsage ( hcomdb : HCOMDB , buffer : *mut u8 , buffersize : u32 , reporttype : u32 , maxportsreported : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "msports.dll""system" fn ComDBGetCurrentPortUsage ( hcomdb : HCOMDB , buffer : *mut u8 , buffersize : u32 , reporttype : u32 , maxportsreported : *mut u32 ) -> i32 ); ComDBGetCurrentPortUsage(hcomdb.into(), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), reporttype, ::core::mem::transmute(maxportsreported.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] #[inline] pub unsafe fn ComDBOpen(phcomdb: *mut isize) -> i32 { - ::windows::core::link ! ( "msports.dll""system" fn ComDBOpen ( phcomdb : *mut isize ) -> i32 ); + ::windows::imp::link ! ( "msports.dll""system" fn ComDBOpen ( phcomdb : *mut isize ) -> i32 ); ComDBOpen(phcomdb) } #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] @@ -48,7 +48,7 @@ pub unsafe fn ComDBReleasePort(hcomdb: P0, comnumber: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msports.dll""system" fn ComDBReleasePort ( hcomdb : HCOMDB , comnumber : u32 ) -> i32 ); + ::windows::imp::link ! ( "msports.dll""system" fn ComDBReleasePort ( hcomdb : HCOMDB , comnumber : u32 ) -> i32 ); ComDBReleasePort(hcomdb.into(), comnumber) } #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn ComDBResizeDatabase(hcomdb: P0, newsize: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msports.dll""system" fn ComDBResizeDatabase ( hcomdb : HCOMDB , newsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "msports.dll""system" fn ComDBResizeDatabase ( hcomdb : HCOMDB , newsize : u32 ) -> i32 ); ComDBResizeDatabase(hcomdb.into(), newsize) } #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs index fa66daf163..cad187cc75 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn GetTnefStreamCodepage(lpstream: P0, lpulcodepage: *mut u32, lp where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn GetTnefStreamCodepage ( lpstream : * mut::core::ffi::c_void , lpulcodepage : *mut u32 , lpulsubcodepage : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn GetTnefStreamCodepage ( lpstream : * mut::core::ffi::c_void , lpulcodepage : *mut u32 , lpulsubcodepage : *mut u32 ) -> :: windows::core::HRESULT ); GetTnefStreamCodepage(lpstream.into().abi(), lpulcodepage, lpulsubcodepage).ok() } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] @@ -16,7 +16,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn OpenTnefStream ( lpvsupport : *mut ::core::ffi::c_void , lpstream : * mut::core::ffi::c_void , lpszstreamname : *const i8 , ulflags : u32 , lpmessage : * mut::core::ffi::c_void , wkeyval : u16 , lpptnef : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn OpenTnefStream ( lpvsupport : *mut ::core::ffi::c_void , lpstream : * mut::core::ffi::c_void , lpszstreamname : *const i8 , ulflags : u32 , lpmessage : * mut::core::ffi::c_void , wkeyval : u16 , lpptnef : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OpenTnefStream(lpvsupport, lpstream.into().abi(), lpszstreamname, ulflags, lpmessage.into().abi(), wkeyval, ::core::mem::transmute(lpptnef)).ok() } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] @@ -28,7 +28,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn OpenTnefStreamEx ( lpvsupport : *mut ::core::ffi::c_void , lpstream : * mut::core::ffi::c_void , lpszstreamname : *const i8 , ulflags : u32 , lpmessage : * mut::core::ffi::c_void , wkeyval : u16 , lpadressbook : * mut::core::ffi::c_void , lpptnef : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn OpenTnefStreamEx ( lpvsupport : *mut ::core::ffi::c_void , lpstream : * mut::core::ffi::c_void , lpszstreamname : *const i8 , ulflags : u32 , lpmessage : * mut::core::ffi::c_void , wkeyval : u16 , lpadressbook : * mut::core::ffi::c_void , lpptnef : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OpenTnefStreamEx(lpvsupport, lpstream.into().abi(), lpszstreamname, ulflags, lpmessage.into().abi(), wkeyval, lpadressbook.into().abi(), ::core::mem::transmute(lpptnef)).ok() } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn lineAccept(hcall: u32, lpsuseruserinfo: P0, dwsize: u32) -> i3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineAccept ( hcall : u32 , lpsuseruserinfo : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineAccept ( hcall : u32 , lpsuseruserinfo : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); lineAccept(hcall, lpsuseruserinfo.into().abi(), dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -48,7 +48,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineAddProvider ( lpszproviderfilename : :: windows::core::PCSTR , hwndowner : super::super::Foundation:: HWND , lpdwpermanentproviderid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineAddProvider ( lpszproviderfilename : :: windows::core::PCSTR , hwndowner : super::super::Foundation:: HWND , lpdwpermanentproviderid : *mut u32 ) -> i32 ); lineAddProvider(lpszproviderfilename.into().abi(), hwndowner.into(), lpdwpermanentproviderid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -59,7 +59,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineAddProviderA ( lpszproviderfilename : :: windows::core::PCSTR , hwndowner : super::super::Foundation:: HWND , lpdwpermanentproviderid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineAddProviderA ( lpszproviderfilename : :: windows::core::PCSTR , hwndowner : super::super::Foundation:: HWND , lpdwpermanentproviderid : *mut u32 ) -> i32 ); lineAddProviderA(lpszproviderfilename.into().abi(), hwndowner.into(), lpdwpermanentproviderid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -70,19 +70,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineAddProviderW ( lpszproviderfilename : :: windows::core::PCWSTR , hwndowner : super::super::Foundation:: HWND , lpdwpermanentproviderid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineAddProviderW ( lpszproviderfilename : :: windows::core::PCWSTR , hwndowner : super::super::Foundation:: HWND , lpdwpermanentproviderid : *mut u32 ) -> i32 ); lineAddProviderW(lpszproviderfilename.into().abi(), hwndowner.into(), lpdwpermanentproviderid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineAddToConference(hconfcall: u32, hconsultcall: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineAddToConference ( hconfcall : u32 , hconsultcall : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineAddToConference ( hconfcall : u32 , hconsultcall : u32 ) -> i32 ); lineAddToConference(hconfcall, hconsultcall) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineAgentSpecific(hline: u32, dwaddressid: u32, dwagentextensionidindex: u32, lpparams: *mut ::core::ffi::c_void, dwsize: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineAgentSpecific ( hline : u32 , dwaddressid : u32 , dwagentextensionidindex : u32 , lpparams : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineAgentSpecific ( hline : u32 , dwaddressid : u32 , dwagentextensionidindex : u32 , lpparams : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); lineAgentSpecific(hline, dwaddressid, dwagentextensionidindex, lpparams, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -91,7 +91,7 @@ pub unsafe fn lineAnswer(hcall: u32, lpsuseruserinfo: P0, dwsize: u32) -> i3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineAnswer ( hcall : u32 , lpsuseruserinfo : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineAnswer ( hcall : u32 , lpsuseruserinfo : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); lineAnswer(hcall, lpsuseruserinfo.into().abi(), dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -100,7 +100,7 @@ pub unsafe fn lineBlindTransfer(hcall: u32, lpszdestaddress: P0, dwcountryco where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineBlindTransfer ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineBlindTransfer ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); lineBlindTransfer(hcall, lpszdestaddress.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -109,7 +109,7 @@ pub unsafe fn lineBlindTransferA(hcall: u32, lpszdestaddress: P0, dwcountryc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineBlindTransferA ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineBlindTransferA ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); lineBlindTransferA(hcall, lpszdestaddress.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -118,25 +118,25 @@ pub unsafe fn lineBlindTransferW(hcall: u32, lpszdestaddressw: P0, dwcountry where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineBlindTransferW ( hcall : u32 , lpszdestaddressw : :: windows::core::PCWSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineBlindTransferW ( hcall : u32 , lpszdestaddressw : :: windows::core::PCWSTR , dwcountrycode : u32 ) -> i32 ); lineBlindTransferW(hcall, lpszdestaddressw.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineClose(hline: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineClose ( hline : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineClose ( hline : u32 ) -> i32 ); lineClose(hline) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineCompleteCall(hcall: u32, lpdwcompletionid: *mut u32, dwcompletionmode: u32, dwmessageid: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineCompleteCall ( hcall : u32 , lpdwcompletionid : *mut u32 , dwcompletionmode : u32 , dwmessageid : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineCompleteCall ( hcall : u32 , lpdwcompletionid : *mut u32 , dwcompletionmode : u32 , dwmessageid : u32 ) -> i32 ); lineCompleteCall(hcall, lpdwcompletionid, dwcompletionmode, dwmessageid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineCompleteTransfer(hcall: u32, hconsultcall: u32, lphconfcall: *mut u32, dwtransfermode: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineCompleteTransfer ( hcall : u32 , hconsultcall : u32 , lphconfcall : *mut u32 , dwtransfermode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineCompleteTransfer ( hcall : u32 , hconsultcall : u32 , lphconfcall : *mut u32 , dwtransfermode : u32 ) -> i32 ); lineCompleteTransfer(hcall, hconsultcall, lphconfcall, dwtransfermode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -147,7 +147,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineConfigDialog ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineConfigDialog ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); lineConfigDialog(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -158,7 +158,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineConfigDialogA ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineConfigDialogA ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); lineConfigDialogA(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -169,7 +169,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineConfigDialogEdit ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR , lpdeviceconfigin : *const ::core::ffi::c_void , dwsize : u32 , lpdeviceconfigout : *mut VARSTRING ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineConfigDialogEdit ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR , lpdeviceconfigin : *const ::core::ffi::c_void , dwsize : u32 , lpdeviceconfigout : *mut VARSTRING ) -> i32 ); lineConfigDialogEdit(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi(), lpdeviceconfigin, dwsize, lpdeviceconfigout) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -180,7 +180,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineConfigDialogEditA ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR , lpdeviceconfigin : *const ::core::ffi::c_void , dwsize : u32 , lpdeviceconfigout : *mut VARSTRING ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineConfigDialogEditA ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR , lpdeviceconfigin : *const ::core::ffi::c_void , dwsize : u32 , lpdeviceconfigout : *mut VARSTRING ) -> i32 ); lineConfigDialogEditA(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi(), lpdeviceconfigin, dwsize, lpdeviceconfigout) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -191,7 +191,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineConfigDialogEditW ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCWSTR , lpdeviceconfigin : *const ::core::ffi::c_void , dwsize : u32 , lpdeviceconfigout : *mut VARSTRING ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineConfigDialogEditW ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCWSTR , lpdeviceconfigin : *const ::core::ffi::c_void , dwsize : u32 , lpdeviceconfigout : *mut VARSTRING ) -> i32 ); lineConfigDialogEditW(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi(), lpdeviceconfigin, dwsize, lpdeviceconfigout) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -202,7 +202,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineConfigDialogW ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineConfigDialogW ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); lineConfigDialogW(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -212,7 +212,7 @@ pub unsafe fn lineConfigProvider(hwndowner: P0, dwpermanentproviderid: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineConfigProvider ( hwndowner : super::super::Foundation:: HWND , dwpermanentproviderid : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineConfigProvider ( hwndowner : super::super::Foundation:: HWND , dwpermanentproviderid : u32 ) -> i32 ); lineConfigProvider(hwndowner.into(), dwpermanentproviderid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -222,7 +222,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineCreateAgentA ( hline : u32 , lpszagentid : :: windows::core::PCSTR , lpszagentpin : :: windows::core::PCSTR , lphagent : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineCreateAgentA ( hline : u32 , lpszagentid : :: windows::core::PCSTR , lpszagentpin : :: windows::core::PCSTR , lphagent : *mut u32 ) -> i32 ); lineCreateAgentA(hline, lpszagentid.into().abi(), lpszagentpin.into().abi(), lphagent) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -231,7 +231,7 @@ pub unsafe fn lineCreateAgentSessionA(hline: u32, hagent: u32, lpszagentpin: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineCreateAgentSessionA ( hline : u32 , hagent : u32 , lpszagentpin : :: windows::core::PCSTR , dwworkingaddressid : u32 , lpgroupid : *mut :: windows::core::GUID , lphagentsession : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineCreateAgentSessionA ( hline : u32 , hagent : u32 , lpszagentpin : :: windows::core::PCSTR , dwworkingaddressid : u32 , lpgroupid : *mut :: windows::core::GUID , lphagentsession : *mut u32 ) -> i32 ); lineCreateAgentSessionA(hline, hagent, lpszagentpin.into().abi(), dwworkingaddressid, lpgroupid, lphagentsession) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -240,7 +240,7 @@ pub unsafe fn lineCreateAgentSessionW(hline: u32, hagent: u32, lpszagentpin: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineCreateAgentSessionW ( hline : u32 , hagent : u32 , lpszagentpin : :: windows::core::PCWSTR , dwworkingaddressid : u32 , lpgroupid : *mut :: windows::core::GUID , lphagentsession : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineCreateAgentSessionW ( hline : u32 , hagent : u32 , lpszagentpin : :: windows::core::PCWSTR , dwworkingaddressid : u32 , lpgroupid : *mut :: windows::core::GUID , lphagentsession : *mut u32 ) -> i32 ); lineCreateAgentSessionW(hline, hagent, lpszagentpin.into().abi(), dwworkingaddressid, lpgroupid, lphagentsession) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -250,25 +250,25 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineCreateAgentW ( hline : u32 , lpszagentid : :: windows::core::PCWSTR , lpszagentpin : :: windows::core::PCWSTR , lphagent : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineCreateAgentW ( hline : u32 , lpszagentid : :: windows::core::PCWSTR , lpszagentpin : :: windows::core::PCWSTR , lphagent : *mut u32 ) -> i32 ); lineCreateAgentW(hline, lpszagentid.into().abi(), lpszagentpin.into().abi(), lphagent) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineDeallocateCall(hcall: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineDeallocateCall ( hcall : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineDeallocateCall ( hcall : u32 ) -> i32 ); lineDeallocateCall(hcall) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineDevSpecific(hline: u32, dwaddressid: u32, hcall: u32, lpparams: *mut ::core::ffi::c_void, dwsize: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineDevSpecific ( hline : u32 , dwaddressid : u32 , hcall : u32 , lpparams : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineDevSpecific ( hline : u32 , dwaddressid : u32 , hcall : u32 , lpparams : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); lineDevSpecific(hline, dwaddressid, hcall, lpparams, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineDevSpecificFeature(hline: u32, dwfeature: u32, lpparams: *mut ::core::ffi::c_void, dwsize: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineDevSpecificFeature ( hline : u32 , dwfeature : u32 , lpparams : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineDevSpecificFeature ( hline : u32 , dwfeature : u32 , lpparams : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); lineDevSpecificFeature(hline, dwfeature, lpparams, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -277,7 +277,7 @@ pub unsafe fn lineDial(hcall: u32, lpszdestaddress: P0, dwcountrycode: u32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineDial ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineDial ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); lineDial(hcall, lpszdestaddress.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -286,7 +286,7 @@ pub unsafe fn lineDialA(hcall: u32, lpszdestaddress: P0, dwcountrycode: u32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineDialA ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineDialA ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); lineDialA(hcall, lpszdestaddress.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -295,7 +295,7 @@ pub unsafe fn lineDialW(hcall: u32, lpszdestaddress: P0, dwcountrycode: u32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineDialW ( hcall : u32 , lpszdestaddress : :: windows::core::PCWSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineDialW ( hcall : u32 , lpszdestaddress : :: windows::core::PCWSTR , dwcountrycode : u32 ) -> i32 ); lineDialW(hcall, lpszdestaddress.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -304,25 +304,25 @@ pub unsafe fn lineDrop(hcall: u32, lpsuseruserinfo: P0, dwsize: u32) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineDrop ( hcall : u32 , lpsuseruserinfo : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineDrop ( hcall : u32 , lpsuseruserinfo : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); lineDrop(hcall, lpsuseruserinfo.into().abi(), dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineForward(hline: u32, balladdresses: u32, dwaddressid: u32, lpforwardlist: *const LINEFORWARDLIST, dwnumringsnoanswer: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineForward ( hline : u32 , balladdresses : u32 , dwaddressid : u32 , lpforwardlist : *const LINEFORWARDLIST , dwnumringsnoanswer : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineForward ( hline : u32 , balladdresses : u32 , dwaddressid : u32 , lpforwardlist : *const LINEFORWARDLIST , dwnumringsnoanswer : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineForward(hline, balladdresses, dwaddressid, lpforwardlist, dwnumringsnoanswer, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineForwardA(hline: u32, balladdresses: u32, dwaddressid: u32, lpforwardlist: *const LINEFORWARDLIST, dwnumringsnoanswer: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineForwardA ( hline : u32 , balladdresses : u32 , dwaddressid : u32 , lpforwardlist : *const LINEFORWARDLIST , dwnumringsnoanswer : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineForwardA ( hline : u32 , balladdresses : u32 , dwaddressid : u32 , lpforwardlist : *const LINEFORWARDLIST , dwnumringsnoanswer : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineForwardA(hline, balladdresses, dwaddressid, lpforwardlist, dwnumringsnoanswer, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineForwardW(hline: u32, balladdresses: u32, dwaddressid: u32, lpforwardlist: *const LINEFORWARDLIST, dwnumringsnoanswer: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineForwardW ( hline : u32 , balladdresses : u32 , dwaddressid : u32 , lpforwardlist : *const LINEFORWARDLIST , dwnumringsnoanswer : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineForwardW ( hline : u32 , balladdresses : u32 , dwaddressid : u32 , lpforwardlist : *const LINEFORWARDLIST , dwnumringsnoanswer : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineForwardW(hline, balladdresses, dwaddressid, lpforwardlist, dwnumringsnoanswer, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -331,7 +331,7 @@ pub unsafe fn lineGatherDigits(hcall: u32, dwdigitmodes: u32, lpsdigits: ::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGatherDigits ( hcall : u32 , dwdigitmodes : u32 , lpsdigits : :: windows::core::PSTR , dwnumdigits : u32 , lpszterminationdigits : :: windows::core::PCSTR , dwfirstdigittimeout : u32 , dwinterdigittimeout : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGatherDigits ( hcall : u32 , dwdigitmodes : u32 , lpsdigits : :: windows::core::PSTR , dwnumdigits : u32 , lpszterminationdigits : :: windows::core::PCSTR , dwfirstdigittimeout : u32 , dwinterdigittimeout : u32 ) -> i32 ); lineGatherDigits(hcall, dwdigitmodes, ::core::mem::transmute(lpsdigits.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpsdigits.as_deref().map_or(0, |slice| slice.len() as _), lpszterminationdigits.into().abi(), dwfirstdigittimeout, dwinterdigittimeout) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -340,7 +340,7 @@ pub unsafe fn lineGatherDigitsA(hcall: u32, dwdigitmodes: u32, lpsdigits: :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGatherDigitsA ( hcall : u32 , dwdigitmodes : u32 , lpsdigits : :: windows::core::PSTR , dwnumdigits : u32 , lpszterminationdigits : :: windows::core::PCSTR , dwfirstdigittimeout : u32 , dwinterdigittimeout : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGatherDigitsA ( hcall : u32 , dwdigitmodes : u32 , lpsdigits : :: windows::core::PSTR , dwnumdigits : u32 , lpszterminationdigits : :: windows::core::PCSTR , dwfirstdigittimeout : u32 , dwinterdigittimeout : u32 ) -> i32 ); lineGatherDigitsA(hcall, dwdigitmodes, ::core::mem::transmute(lpsdigits.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpsdigits.as_deref().map_or(0, |slice| slice.len() as _), lpszterminationdigits.into().abi(), dwfirstdigittimeout, dwinterdigittimeout) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -349,7 +349,7 @@ pub unsafe fn lineGatherDigitsW(hcall: u32, dwdigitmodes: u32, lpsdigits: :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGatherDigitsW ( hcall : u32 , dwdigitmodes : u32 , lpsdigits : :: windows::core::PWSTR , dwnumdigits : u32 , lpszterminationdigits : :: windows::core::PCWSTR , dwfirstdigittimeout : u32 , dwinterdigittimeout : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGatherDigitsW ( hcall : u32 , dwdigitmodes : u32 , lpsdigits : :: windows::core::PWSTR , dwnumdigits : u32 , lpszterminationdigits : :: windows::core::PCWSTR , dwfirstdigittimeout : u32 , dwinterdigittimeout : u32 ) -> i32 ); lineGatherDigitsW(hcall, dwdigitmodes, ::core::mem::transmute(lpsdigits.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpsdigits.as_deref().map_or(0, |slice| slice.len() as _), lpszterminationdigits.into().abi(), dwfirstdigittimeout, dwinterdigittimeout) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -358,7 +358,7 @@ pub unsafe fn lineGenerateDigits(hcall: u32, dwdigitmode: u32, lpszdigits: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGenerateDigits ( hcall : u32 , dwdigitmode : u32 , lpszdigits : :: windows::core::PCSTR , dwduration : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGenerateDigits ( hcall : u32 , dwdigitmode : u32 , lpszdigits : :: windows::core::PCSTR , dwduration : u32 ) -> i32 ); lineGenerateDigits(hcall, dwdigitmode, lpszdigits.into().abi(), dwduration) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -367,7 +367,7 @@ pub unsafe fn lineGenerateDigitsA(hcall: u32, dwdigitmode: u32, lpszdigits: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGenerateDigitsA ( hcall : u32 , dwdigitmode : u32 , lpszdigits : :: windows::core::PCSTR , dwduration : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGenerateDigitsA ( hcall : u32 , dwdigitmode : u32 , lpszdigits : :: windows::core::PCSTR , dwduration : u32 ) -> i32 ); lineGenerateDigitsA(hcall, dwdigitmode, lpszdigits.into().abi(), dwduration) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -376,31 +376,31 @@ pub unsafe fn lineGenerateDigitsW(hcall: u32, dwdigitmode: u32, lpszdigits: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGenerateDigitsW ( hcall : u32 , dwdigitmode : u32 , lpszdigits : :: windows::core::PCWSTR , dwduration : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGenerateDigitsW ( hcall : u32 , dwdigitmode : u32 , lpszdigits : :: windows::core::PCWSTR , dwduration : u32 ) -> i32 ); lineGenerateDigitsW(hcall, dwdigitmode, lpszdigits.into().abi(), dwduration) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGenerateTone(hcall: u32, dwtonemode: u32, dwduration: u32, dwnumtones: u32, lptones: *const LINEGENERATETONE) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGenerateTone ( hcall : u32 , dwtonemode : u32 , dwduration : u32 , dwnumtones : u32 , lptones : *const LINEGENERATETONE ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGenerateTone ( hcall : u32 , dwtonemode : u32 , dwduration : u32 , dwnumtones : u32 , lptones : *const LINEGENERATETONE ) -> i32 ); lineGenerateTone(hcall, dwtonemode, dwduration, dwnumtones, lptones) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAddressCaps(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwapiversion: u32, dwextversion: u32, lpaddresscaps: *mut LINEADDRESSCAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressCaps ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwapiversion : u32 , dwextversion : u32 , lpaddresscaps : *mut LINEADDRESSCAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressCaps ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwapiversion : u32 , dwextversion : u32 , lpaddresscaps : *mut LINEADDRESSCAPS ) -> i32 ); lineGetAddressCaps(hlineapp, dwdeviceid, dwaddressid, dwapiversion, dwextversion, lpaddresscaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAddressCapsA(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwapiversion: u32, dwextversion: u32, lpaddresscaps: *mut LINEADDRESSCAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressCapsA ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwapiversion : u32 , dwextversion : u32 , lpaddresscaps : *mut LINEADDRESSCAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressCapsA ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwapiversion : u32 , dwextversion : u32 , lpaddresscaps : *mut LINEADDRESSCAPS ) -> i32 ); lineGetAddressCapsA(hlineapp, dwdeviceid, dwaddressid, dwapiversion, dwextversion, lpaddresscaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAddressCapsW(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwapiversion: u32, dwextversion: u32, lpaddresscaps: *mut LINEADDRESSCAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressCapsW ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwapiversion : u32 , dwextversion : u32 , lpaddresscaps : *mut LINEADDRESSCAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressCapsW ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwapiversion : u32 , dwextversion : u32 , lpaddresscaps : *mut LINEADDRESSCAPS ) -> i32 ); lineGetAddressCapsW(hlineapp, dwdeviceid, dwaddressid, dwapiversion, dwextversion, lpaddresscaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -409,7 +409,7 @@ pub unsafe fn lineGetAddressID(hline: u32, lpdwaddressid: *mut u32, dwaddres where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressID ( hline : u32 , lpdwaddressid : *mut u32 , dwaddressmode : u32 , lpsaddress : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressID ( hline : u32 , lpdwaddressid : *mut u32 , dwaddressmode : u32 , lpsaddress : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); lineGetAddressID(hline, lpdwaddressid, dwaddressmode, lpsaddress.into().abi(), dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -418,7 +418,7 @@ pub unsafe fn lineGetAddressIDA(hline: u32, lpdwaddressid: *mut u32, dwaddre where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressIDA ( hline : u32 , lpdwaddressid : *mut u32 , dwaddressmode : u32 , lpsaddress : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressIDA ( hline : u32 , lpdwaddressid : *mut u32 , dwaddressmode : u32 , lpsaddress : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); lineGetAddressIDA(hline, lpdwaddressid, dwaddressmode, lpsaddress.into().abi(), dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -427,93 +427,93 @@ pub unsafe fn lineGetAddressIDW(hline: u32, lpdwaddressid: *mut u32, dwaddre where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressIDW ( hline : u32 , lpdwaddressid : *mut u32 , dwaddressmode : u32 , lpsaddress : :: windows::core::PCWSTR , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressIDW ( hline : u32 , lpdwaddressid : *mut u32 , dwaddressmode : u32 , lpsaddress : :: windows::core::PCWSTR , dwsize : u32 ) -> i32 ); lineGetAddressIDW(hline, lpdwaddressid, dwaddressmode, lpsaddress.into().abi(), dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAddressStatus(hline: u32, dwaddressid: u32, lpaddressstatus: *mut LINEADDRESSSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressStatus ( hline : u32 , dwaddressid : u32 , lpaddressstatus : *mut LINEADDRESSSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressStatus ( hline : u32 , dwaddressid : u32 , lpaddressstatus : *mut LINEADDRESSSTATUS ) -> i32 ); lineGetAddressStatus(hline, dwaddressid, lpaddressstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAddressStatusA(hline: u32, dwaddressid: u32, lpaddressstatus: *mut LINEADDRESSSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressStatusA ( hline : u32 , dwaddressid : u32 , lpaddressstatus : *mut LINEADDRESSSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressStatusA ( hline : u32 , dwaddressid : u32 , lpaddressstatus : *mut LINEADDRESSSTATUS ) -> i32 ); lineGetAddressStatusA(hline, dwaddressid, lpaddressstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAddressStatusW(hline: u32, dwaddressid: u32, lpaddressstatus: *mut LINEADDRESSSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAddressStatusW ( hline : u32 , dwaddressid : u32 , lpaddressstatus : *mut LINEADDRESSSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAddressStatusW ( hline : u32 , dwaddressid : u32 , lpaddressstatus : *mut LINEADDRESSSTATUS ) -> i32 ); lineGetAddressStatusW(hline, dwaddressid, lpaddressstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentActivityListA(hline: u32, dwaddressid: u32, lpagentactivitylist: *mut LINEAGENTACTIVITYLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentActivityListA ( hline : u32 , dwaddressid : u32 , lpagentactivitylist : *mut LINEAGENTACTIVITYLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentActivityListA ( hline : u32 , dwaddressid : u32 , lpagentactivitylist : *mut LINEAGENTACTIVITYLIST ) -> i32 ); lineGetAgentActivityListA(hline, dwaddressid, lpagentactivitylist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentActivityListW(hline: u32, dwaddressid: u32, lpagentactivitylist: *mut LINEAGENTACTIVITYLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentActivityListW ( hline : u32 , dwaddressid : u32 , lpagentactivitylist : *mut LINEAGENTACTIVITYLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentActivityListW ( hline : u32 , dwaddressid : u32 , lpagentactivitylist : *mut LINEAGENTACTIVITYLIST ) -> i32 ); lineGetAgentActivityListW(hline, dwaddressid, lpagentactivitylist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentCapsA(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwappapiversion: u32, lpagentcaps: *mut LINEAGENTCAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentCapsA ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwappapiversion : u32 , lpagentcaps : *mut LINEAGENTCAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentCapsA ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwappapiversion : u32 , lpagentcaps : *mut LINEAGENTCAPS ) -> i32 ); lineGetAgentCapsA(hlineapp, dwdeviceid, dwaddressid, dwappapiversion, lpagentcaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentCapsW(hlineapp: u32, dwdeviceid: u32, dwaddressid: u32, dwappapiversion: u32, lpagentcaps: *mut LINEAGENTCAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentCapsW ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwappapiversion : u32 , lpagentcaps : *mut LINEAGENTCAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentCapsW ( hlineapp : u32 , dwdeviceid : u32 , dwaddressid : u32 , dwappapiversion : u32 , lpagentcaps : *mut LINEAGENTCAPS ) -> i32 ); lineGetAgentCapsW(hlineapp, dwdeviceid, dwaddressid, dwappapiversion, lpagentcaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentGroupListA(hline: u32, dwaddressid: u32, lpagentgrouplist: *mut LINEAGENTGROUPLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentGroupListA ( hline : u32 , dwaddressid : u32 , lpagentgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentGroupListA ( hline : u32 , dwaddressid : u32 , lpagentgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); lineGetAgentGroupListA(hline, dwaddressid, lpagentgrouplist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentGroupListW(hline: u32, dwaddressid: u32, lpagentgrouplist: *mut LINEAGENTGROUPLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentGroupListW ( hline : u32 , dwaddressid : u32 , lpagentgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentGroupListW ( hline : u32 , dwaddressid : u32 , lpagentgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); lineGetAgentGroupListW(hline, dwaddressid, lpagentgrouplist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn lineGetAgentInfo(hline: u32, hagent: u32, lpagentinfo: *mut LINEAGENTINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentInfo ( hline : u32 , hagent : u32 , lpagentinfo : *mut LINEAGENTINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentInfo ( hline : u32 , hagent : u32 , lpagentinfo : *mut LINEAGENTINFO ) -> i32 ); lineGetAgentInfo(hline, hagent, lpagentinfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn lineGetAgentSessionInfo(hline: u32, hagentsession: u32, lpagentsessioninfo: *mut LINEAGENTSESSIONINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentSessionInfo ( hline : u32 , hagentsession : u32 , lpagentsessioninfo : *mut LINEAGENTSESSIONINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentSessionInfo ( hline : u32 , hagentsession : u32 , lpagentsessioninfo : *mut LINEAGENTSESSIONINFO ) -> i32 ); lineGetAgentSessionInfo(hline, hagentsession, lpagentsessioninfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentSessionList(hline: u32, hagent: u32, lpagentsessionlist: *mut LINEAGENTSESSIONLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentSessionList ( hline : u32 , hagent : u32 , lpagentsessionlist : *mut LINEAGENTSESSIONLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentSessionList ( hline : u32 , hagent : u32 , lpagentsessionlist : *mut LINEAGENTSESSIONLIST ) -> i32 ); lineGetAgentSessionList(hline, hagent, lpagentsessionlist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentStatusA(hline: u32, dwaddressid: u32, lpagentstatus: *mut LINEAGENTSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentStatusA ( hline : u32 , dwaddressid : u32 , lpagentstatus : *mut LINEAGENTSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentStatusA ( hline : u32 , dwaddressid : u32 , lpagentstatus : *mut LINEAGENTSTATUS ) -> i32 ); lineGetAgentStatusA(hline, dwaddressid, lpagentstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetAgentStatusW(hline: u32, dwaddressid: u32, lpagentstatus: *mut LINEAGENTSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAgentStatusW ( hline : u32 , dwaddressid : u32 , lpagentstatus : *mut LINEAGENTSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAgentStatusW ( hline : u32 , dwaddressid : u32 , lpagentstatus : *mut LINEAGENTSTATUS ) -> i32 ); lineGetAgentStatusW(hline, dwaddressid, lpagentstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -522,7 +522,7 @@ pub unsafe fn lineGetAppPriority(lpszappfilename: P0, dwmediamode: u32, lpex where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAppPriority ( lpszappfilename : :: windows::core::PCSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpextensionname : *mut VARSTRING , lpdwpriority : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAppPriority ( lpszappfilename : :: windows::core::PCSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpextensionname : *mut VARSTRING , lpdwpriority : *mut u32 ) -> i32 ); lineGetAppPriority(lpszappfilename.into().abi(), dwmediamode, lpextensionid, dwrequestmode, lpextensionname, lpdwpriority) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -531,7 +531,7 @@ pub unsafe fn lineGetAppPriorityA(lpszappfilename: P0, dwmediamode: u32, lpe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAppPriorityA ( lpszappfilename : :: windows::core::PCSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpextensionname : *mut VARSTRING , lpdwpriority : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAppPriorityA ( lpszappfilename : :: windows::core::PCSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpextensionname : *mut VARSTRING , lpdwpriority : *mut u32 ) -> i32 ); lineGetAppPriorityA(lpszappfilename.into().abi(), dwmediamode, lpextensionid, dwrequestmode, lpextensionname, lpdwpriority) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -540,74 +540,74 @@ pub unsafe fn lineGetAppPriorityW(lpszappfilename: P0, dwmediamode: u32, lpe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetAppPriorityW ( lpszappfilename : :: windows::core::PCWSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpextensionname : *mut VARSTRING , lpdwpriority : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetAppPriorityW ( lpszappfilename : :: windows::core::PCWSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpextensionname : *mut VARSTRING , lpdwpriority : *mut u32 ) -> i32 ); lineGetAppPriorityW(lpszappfilename.into().abi(), dwmediamode, lpextensionid, dwrequestmode, lpextensionname, lpdwpriority) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetCallInfo(hcall: u32, lpcallinfo: *mut LINECALLINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetCallInfo ( hcall : u32 , lpcallinfo : *mut LINECALLINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetCallInfo ( hcall : u32 , lpcallinfo : *mut LINECALLINFO ) -> i32 ); lineGetCallInfo(hcall, lpcallinfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetCallInfoA(hcall: u32, lpcallinfo: *mut LINECALLINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetCallInfoA ( hcall : u32 , lpcallinfo : *mut LINECALLINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetCallInfoA ( hcall : u32 , lpcallinfo : *mut LINECALLINFO ) -> i32 ); lineGetCallInfoA(hcall, lpcallinfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetCallInfoW(hcall: u32, lpcallinfo: *mut LINECALLINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetCallInfoW ( hcall : u32 , lpcallinfo : *mut LINECALLINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetCallInfoW ( hcall : u32 , lpcallinfo : *mut LINECALLINFO ) -> i32 ); lineGetCallInfoW(hcall, lpcallinfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn lineGetCallStatus(hcall: u32, lpcallstatus: *mut LINECALLSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetCallStatus ( hcall : u32 , lpcallstatus : *mut LINECALLSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetCallStatus ( hcall : u32 , lpcallstatus : *mut LINECALLSTATUS ) -> i32 ); lineGetCallStatus(hcall, lpcallstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetConfRelatedCalls(hcall: u32, lpcalllist: *mut LINECALLLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetConfRelatedCalls ( hcall : u32 , lpcalllist : *mut LINECALLLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetConfRelatedCalls ( hcall : u32 , lpcalllist : *mut LINECALLLIST ) -> i32 ); lineGetConfRelatedCalls(hcall, lpcalllist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetCountry(dwcountryid: u32, dwapiversion: u32, lplinecountrylist: *mut LINECOUNTRYLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetCountry ( dwcountryid : u32 , dwapiversion : u32 , lplinecountrylist : *mut LINECOUNTRYLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetCountry ( dwcountryid : u32 , dwapiversion : u32 , lplinecountrylist : *mut LINECOUNTRYLIST ) -> i32 ); lineGetCountry(dwcountryid, dwapiversion, lplinecountrylist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetCountryA(dwcountryid: u32, dwapiversion: u32, lplinecountrylist: *mut LINECOUNTRYLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetCountryA ( dwcountryid : u32 , dwapiversion : u32 , lplinecountrylist : *mut LINECOUNTRYLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetCountryA ( dwcountryid : u32 , dwapiversion : u32 , lplinecountrylist : *mut LINECOUNTRYLIST ) -> i32 ); lineGetCountryA(dwcountryid, dwapiversion, lplinecountrylist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetCountryW(dwcountryid: u32, dwapiversion: u32, lplinecountrylist: *mut LINECOUNTRYLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetCountryW ( dwcountryid : u32 , dwapiversion : u32 , lplinecountrylist : *mut LINECOUNTRYLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetCountryW ( dwcountryid : u32 , dwapiversion : u32 , lplinecountrylist : *mut LINECOUNTRYLIST ) -> i32 ); lineGetCountryW(dwcountryid, dwapiversion, lplinecountrylist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetDevCaps(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lplinedevcaps: *mut LINEDEVCAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetDevCaps ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lplinedevcaps : *mut LINEDEVCAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetDevCaps ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lplinedevcaps : *mut LINEDEVCAPS ) -> i32 ); lineGetDevCaps(hlineapp, dwdeviceid, dwapiversion, dwextversion, lplinedevcaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetDevCapsA(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lplinedevcaps: *mut LINEDEVCAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetDevCapsA ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lplinedevcaps : *mut LINEDEVCAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetDevCapsA ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lplinedevcaps : *mut LINEDEVCAPS ) -> i32 ); lineGetDevCapsA(hlineapp, dwdeviceid, dwapiversion, dwextversion, lplinedevcaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetDevCapsW(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lplinedevcaps: *mut LINEDEVCAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetDevCapsW ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lplinedevcaps : *mut LINEDEVCAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetDevCapsW ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lplinedevcaps : *mut LINEDEVCAPS ) -> i32 ); lineGetDevCapsW(hlineapp, dwdeviceid, dwapiversion, dwextversion, lplinedevcaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -616,7 +616,7 @@ pub unsafe fn lineGetDevConfig(dwdeviceid: u32, lpdeviceconfig: *mut VARSTRI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetDevConfig ( dwdeviceid : u32 , lpdeviceconfig : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetDevConfig ( dwdeviceid : u32 , lpdeviceconfig : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); lineGetDevConfig(dwdeviceid, lpdeviceconfig, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -625,7 +625,7 @@ pub unsafe fn lineGetDevConfigA(dwdeviceid: u32, lpdeviceconfig: *mut VARSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetDevConfigA ( dwdeviceid : u32 , lpdeviceconfig : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetDevConfigA ( dwdeviceid : u32 , lpdeviceconfig : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); lineGetDevConfigA(dwdeviceid, lpdeviceconfig, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -634,19 +634,19 @@ pub unsafe fn lineGetDevConfigW(dwdeviceid: u32, lpdeviceconfig: *mut VARSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetDevConfigW ( dwdeviceid : u32 , lpdeviceconfig : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetDevConfigW ( dwdeviceid : u32 , lpdeviceconfig : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); lineGetDevConfigW(dwdeviceid, lpdeviceconfig, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetGroupListA(hline: u32, lpgrouplist: *mut LINEAGENTGROUPLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetGroupListA ( hline : u32 , lpgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetGroupListA ( hline : u32 , lpgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); lineGetGroupListA(hline, lpgrouplist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetGroupListW(hline: u32, lpgrouplist: *mut LINEAGENTGROUPLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetGroupListW ( hline : u32 , lpgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetGroupListW ( hline : u32 , lpgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); lineGetGroupListW(hline, lpgrouplist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -655,7 +655,7 @@ pub unsafe fn lineGetID(hline: u32, dwaddressid: u32, hcall: u32, dwselect: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetID ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetID ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); lineGetID(hline, dwaddressid, hcall, dwselect, lpdeviceid, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -664,7 +664,7 @@ pub unsafe fn lineGetIDA(hline: u32, dwaddressid: u32, hcall: u32, dwselect: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetIDA ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetIDA ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); lineGetIDA(hline, dwaddressid, hcall, dwselect, lpdeviceid, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -673,7 +673,7 @@ pub unsafe fn lineGetIDW(hline: u32, dwaddressid: u32, hcall: u32, dwselect: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetIDW ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetIDW ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); lineGetIDW(hline, dwaddressid, hcall, dwselect, lpdeviceid, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -682,7 +682,7 @@ pub unsafe fn lineGetIcon(dwdeviceid: u32, lpszdeviceclass: P0, lphicon: *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetIcon ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCSTR , lphicon : *mut isize ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetIcon ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCSTR , lphicon : *mut isize ) -> i32 ); lineGetIcon(dwdeviceid, lpszdeviceclass.into().abi(), lphicon) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -691,7 +691,7 @@ pub unsafe fn lineGetIconA(dwdeviceid: u32, lpszdeviceclass: P0, lphicon: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetIconA ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCSTR , lphicon : *mut isize ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetIconA ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCSTR , lphicon : *mut isize ) -> i32 ); lineGetIconA(dwdeviceid, lpszdeviceclass.into().abi(), lphicon) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -700,127 +700,127 @@ pub unsafe fn lineGetIconW(dwdeviceid: u32, lpszdeviceclass: P0, lphicon: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetIconW ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCWSTR , lphicon : *mut isize ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetIconW ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCWSTR , lphicon : *mut isize ) -> i32 ); lineGetIconW(dwdeviceid, lpszdeviceclass.into().abi(), lphicon) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetLineDevStatus(hline: u32, lplinedevstatus: *mut LINEDEVSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetLineDevStatus ( hline : u32 , lplinedevstatus : *mut LINEDEVSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetLineDevStatus ( hline : u32 , lplinedevstatus : *mut LINEDEVSTATUS ) -> i32 ); lineGetLineDevStatus(hline, lplinedevstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetLineDevStatusA(hline: u32, lplinedevstatus: *mut LINEDEVSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetLineDevStatusA ( hline : u32 , lplinedevstatus : *mut LINEDEVSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetLineDevStatusA ( hline : u32 , lplinedevstatus : *mut LINEDEVSTATUS ) -> i32 ); lineGetLineDevStatusA(hline, lplinedevstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetLineDevStatusW(hline: u32, lplinedevstatus: *mut LINEDEVSTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetLineDevStatusW ( hline : u32 , lplinedevstatus : *mut LINEDEVSTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetLineDevStatusW ( hline : u32 , lplinedevstatus : *mut LINEDEVSTATUS ) -> i32 ); lineGetLineDevStatusW(hline, lplinedevstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetMessage(hlineapp: u32, lpmessage: *mut LINEMESSAGE, dwtimeout: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetMessage ( hlineapp : u32 , lpmessage : *mut LINEMESSAGE , dwtimeout : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetMessage ( hlineapp : u32 , lpmessage : *mut LINEMESSAGE , dwtimeout : u32 ) -> i32 ); lineGetMessage(hlineapp, lpmessage, dwtimeout) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetNewCalls(hline: u32, dwaddressid: u32, dwselect: u32, lpcalllist: *mut LINECALLLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetNewCalls ( hline : u32 , dwaddressid : u32 , dwselect : u32 , lpcalllist : *mut LINECALLLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetNewCalls ( hline : u32 , dwaddressid : u32 , dwselect : u32 , lpcalllist : *mut LINECALLLIST ) -> i32 ); lineGetNewCalls(hline, dwaddressid, dwselect, lpcalllist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetNumRings(hline: u32, dwaddressid: u32, lpdwnumrings: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetNumRings ( hline : u32 , dwaddressid : u32 , lpdwnumrings : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetNumRings ( hline : u32 , dwaddressid : u32 , lpdwnumrings : *mut u32 ) -> i32 ); lineGetNumRings(hline, dwaddressid, lpdwnumrings) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetProviderList(dwapiversion: u32, lpproviderlist: *mut LINEPROVIDERLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetProviderList ( dwapiversion : u32 , lpproviderlist : *mut LINEPROVIDERLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetProviderList ( dwapiversion : u32 , lpproviderlist : *mut LINEPROVIDERLIST ) -> i32 ); lineGetProviderList(dwapiversion, lpproviderlist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetProviderListA(dwapiversion: u32, lpproviderlist: *mut LINEPROVIDERLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetProviderListA ( dwapiversion : u32 , lpproviderlist : *mut LINEPROVIDERLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetProviderListA ( dwapiversion : u32 , lpproviderlist : *mut LINEPROVIDERLIST ) -> i32 ); lineGetProviderListA(dwapiversion, lpproviderlist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetProviderListW(dwapiversion: u32, lpproviderlist: *mut LINEPROVIDERLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetProviderListW ( dwapiversion : u32 , lpproviderlist : *mut LINEPROVIDERLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetProviderListW ( dwapiversion : u32 , lpproviderlist : *mut LINEPROVIDERLIST ) -> i32 ); lineGetProviderListW(dwapiversion, lpproviderlist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetProxyStatus(hlineapp: u32, dwdeviceid: u32, dwappapiversion: u32, lplineproxyreqestlist: *mut LINEPROXYREQUESTLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetProxyStatus ( hlineapp : u32 , dwdeviceid : u32 , dwappapiversion : u32 , lplineproxyreqestlist : *mut LINEPROXYREQUESTLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetProxyStatus ( hlineapp : u32 , dwdeviceid : u32 , dwappapiversion : u32 , lplineproxyreqestlist : *mut LINEPROXYREQUESTLIST ) -> i32 ); lineGetProxyStatus(hlineapp, dwdeviceid, dwappapiversion, lplineproxyreqestlist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetQueueInfo(hline: u32, dwqueueid: u32, lplinequeueinfo: *mut LINEQUEUEINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetQueueInfo ( hline : u32 , dwqueueid : u32 , lplinequeueinfo : *mut LINEQUEUEINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetQueueInfo ( hline : u32 , dwqueueid : u32 , lplinequeueinfo : *mut LINEQUEUEINFO ) -> i32 ); lineGetQueueInfo(hline, dwqueueid, lplinequeueinfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetQueueListA(hline: u32, lpgroupid: *mut ::windows::core::GUID, lpqueuelist: *mut LINEQUEUELIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetQueueListA ( hline : u32 , lpgroupid : *mut :: windows::core::GUID , lpqueuelist : *mut LINEQUEUELIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetQueueListA ( hline : u32 , lpgroupid : *mut :: windows::core::GUID , lpqueuelist : *mut LINEQUEUELIST ) -> i32 ); lineGetQueueListA(hline, lpgroupid, lpqueuelist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetQueueListW(hline: u32, lpgroupid: *mut ::windows::core::GUID, lpqueuelist: *mut LINEQUEUELIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetQueueListW ( hline : u32 , lpgroupid : *mut :: windows::core::GUID , lpqueuelist : *mut LINEQUEUELIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetQueueListW ( hline : u32 , lpgroupid : *mut :: windows::core::GUID , lpqueuelist : *mut LINEQUEUELIST ) -> i32 ); lineGetQueueListW(hline, lpgroupid, lpqueuelist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetRequest(hlineapp: u32, dwrequestmode: u32, lprequestbuffer: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetRequest ( hlineapp : u32 , dwrequestmode : u32 , lprequestbuffer : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetRequest ( hlineapp : u32 , dwrequestmode : u32 , lprequestbuffer : *mut ::core::ffi::c_void ) -> i32 ); lineGetRequest(hlineapp, dwrequestmode, lprequestbuffer) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetRequestA(hlineapp: u32, dwrequestmode: u32, lprequestbuffer: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetRequestA ( hlineapp : u32 , dwrequestmode : u32 , lprequestbuffer : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetRequestA ( hlineapp : u32 , dwrequestmode : u32 , lprequestbuffer : *mut ::core::ffi::c_void ) -> i32 ); lineGetRequestA(hlineapp, dwrequestmode, lprequestbuffer) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetRequestW(hlineapp: u32, dwrequestmode: u32, lprequestbuffer: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetRequestW ( hlineapp : u32 , dwrequestmode : u32 , lprequestbuffer : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetRequestW ( hlineapp : u32 , dwrequestmode : u32 , lprequestbuffer : *mut ::core::ffi::c_void ) -> i32 ); lineGetRequestW(hlineapp, dwrequestmode, lprequestbuffer) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetStatusMessages(hline: u32, lpdwlinestates: *mut u32, lpdwaddressstates: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetStatusMessages ( hline : u32 , lpdwlinestates : *mut u32 , lpdwaddressstates : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetStatusMessages ( hline : u32 , lpdwlinestates : *mut u32 , lpdwaddressstates : *mut u32 ) -> i32 ); lineGetStatusMessages(hline, lpdwlinestates, lpdwaddressstates) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetTranslateCaps(hlineapp: u32, dwapiversion: u32, lptranslatecaps: *mut LINETRANSLATECAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetTranslateCaps ( hlineapp : u32 , dwapiversion : u32 , lptranslatecaps : *mut LINETRANSLATECAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetTranslateCaps ( hlineapp : u32 , dwapiversion : u32 , lptranslatecaps : *mut LINETRANSLATECAPS ) -> i32 ); lineGetTranslateCaps(hlineapp, dwapiversion, lptranslatecaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetTranslateCapsA(hlineapp: u32, dwapiversion: u32, lptranslatecaps: *mut LINETRANSLATECAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetTranslateCapsA ( hlineapp : u32 , dwapiversion : u32 , lptranslatecaps : *mut LINETRANSLATECAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetTranslateCapsA ( hlineapp : u32 , dwapiversion : u32 , lptranslatecaps : *mut LINETRANSLATECAPS ) -> i32 ); lineGetTranslateCapsA(hlineapp, dwapiversion, lptranslatecaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineGetTranslateCapsW(hlineapp: u32, dwapiversion: u32, lptranslatecaps: *mut LINETRANSLATECAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineGetTranslateCapsW ( hlineapp : u32 , dwapiversion : u32 , lptranslatecaps : *mut LINETRANSLATECAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineGetTranslateCapsW ( hlineapp : u32 , dwapiversion : u32 , lptranslatecaps : *mut LINETRANSLATECAPS ) -> i32 ); lineGetTranslateCapsW(hlineapp, dwapiversion, lptranslatecaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -829,7 +829,7 @@ pub unsafe fn lineHandoff(hcall: u32, lpszfilename: P0, dwmediamode: u32) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineHandoff ( hcall : u32 , lpszfilename : :: windows::core::PCSTR , dwmediamode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineHandoff ( hcall : u32 , lpszfilename : :: windows::core::PCSTR , dwmediamode : u32 ) -> i32 ); lineHandoff(hcall, lpszfilename.into().abi(), dwmediamode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -838,7 +838,7 @@ pub unsafe fn lineHandoffA(hcall: u32, lpszfilename: P0, dwmediamode: u32) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineHandoffA ( hcall : u32 , lpszfilename : :: windows::core::PCSTR , dwmediamode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineHandoffA ( hcall : u32 , lpszfilename : :: windows::core::PCSTR , dwmediamode : u32 ) -> i32 ); lineHandoffA(hcall, lpszfilename.into().abi(), dwmediamode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -847,13 +847,13 @@ pub unsafe fn lineHandoffW(hcall: u32, lpszfilename: P0, dwmediamode: u32) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineHandoffW ( hcall : u32 , lpszfilename : :: windows::core::PCWSTR , dwmediamode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineHandoffW ( hcall : u32 , lpszfilename : :: windows::core::PCWSTR , dwmediamode : u32 ) -> i32 ); lineHandoffW(hcall, lpszfilename.into().abi(), dwmediamode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineHold(hcall: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineHold ( hcall : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineHold ( hcall : u32 ) -> i32 ); lineHold(hcall) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -864,7 +864,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineInitialize ( lphlineapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : LINECALLBACK , lpszappname : :: windows::core::PCSTR , lpdwnumdevs : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineInitialize ( lphlineapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : LINECALLBACK , lpszappname : :: windows::core::PCSTR , lpdwnumdevs : *mut u32 ) -> i32 ); lineInitialize(lphlineapp, hinstance.into(), lpfncallback, lpszappname.into().abi(), lpdwnumdevs) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -875,7 +875,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineInitializeExA ( lphlineapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : LINECALLBACK , lpszfriendlyappname : :: windows::core::PCSTR , lpdwnumdevs : *mut u32 , lpdwapiversion : *mut u32 , lplineinitializeexparams : *mut LINEINITIALIZEEXPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineInitializeExA ( lphlineapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : LINECALLBACK , lpszfriendlyappname : :: windows::core::PCSTR , lpdwnumdevs : *mut u32 , lpdwapiversion : *mut u32 , lplineinitializeexparams : *mut LINEINITIALIZEEXPARAMS ) -> i32 ); lineInitializeExA(lphlineapp, hinstance.into(), lpfncallback, lpszfriendlyappname.into().abi(), lpdwnumdevs, lpdwapiversion, lplineinitializeexparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -886,7 +886,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineInitializeExW ( lphlineapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : LINECALLBACK , lpszfriendlyappname : :: windows::core::PCWSTR , lpdwnumdevs : *mut u32 , lpdwapiversion : *mut u32 , lplineinitializeexparams : *mut LINEINITIALIZEEXPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineInitializeExW ( lphlineapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : LINECALLBACK , lpszfriendlyappname : :: windows::core::PCWSTR , lpdwnumdevs : *mut u32 , lpdwapiversion : *mut u32 , lplineinitializeexparams : *mut LINEINITIALIZEEXPARAMS ) -> i32 ); lineInitializeExW(lphlineapp, hinstance.into(), lpfncallback, lpszfriendlyappname.into().abi(), lpdwnumdevs, lpdwapiversion, lplineinitializeexparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -895,7 +895,7 @@ pub unsafe fn lineMakeCall(hline: u32, lphcall: *mut u32, lpszdestaddress: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineMakeCall ( hline : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineMakeCall ( hline : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineMakeCall(hline, lphcall, lpszdestaddress.into().abi(), dwcountrycode, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -904,7 +904,7 @@ pub unsafe fn lineMakeCallA(hline: u32, lphcall: *mut u32, lpszdestaddress: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineMakeCallA ( hline : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineMakeCallA ( hline : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineMakeCallA(hline, lphcall, lpszdestaddress.into().abi(), dwcountrycode, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -913,55 +913,55 @@ pub unsafe fn lineMakeCallW(hline: u32, lphcall: *mut u32, lpszdestaddress: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineMakeCallW ( hline : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCWSTR , dwcountrycode : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineMakeCallW ( hline : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCWSTR , dwcountrycode : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineMakeCallW(hline, lphcall, lpszdestaddress.into().abi(), dwcountrycode, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineMonitorDigits(hcall: u32, dwdigitmodes: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineMonitorDigits ( hcall : u32 , dwdigitmodes : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineMonitorDigits ( hcall : u32 , dwdigitmodes : u32 ) -> i32 ); lineMonitorDigits(hcall, dwdigitmodes) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineMonitorMedia(hcall: u32, dwmediamodes: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineMonitorMedia ( hcall : u32 , dwmediamodes : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineMonitorMedia ( hcall : u32 , dwmediamodes : u32 ) -> i32 ); lineMonitorMedia(hcall, dwmediamodes) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineMonitorTones(hcall: u32, lptonelist: *const LINEMONITORTONE, dwnumentries: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineMonitorTones ( hcall : u32 , lptonelist : *const LINEMONITORTONE , dwnumentries : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineMonitorTones ( hcall : u32 , lptonelist : *const LINEMONITORTONE , dwnumentries : u32 ) -> i32 ); lineMonitorTones(hcall, lptonelist, dwnumentries) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineNegotiateAPIVersion(hlineapp: u32, dwdeviceid: u32, dwapilowversion: u32, dwapihighversion: u32, lpdwapiversion: *mut u32, lpextensionid: *mut LINEEXTENSIONID) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineNegotiateAPIVersion ( hlineapp : u32 , dwdeviceid : u32 , dwapilowversion : u32 , dwapihighversion : u32 , lpdwapiversion : *mut u32 , lpextensionid : *mut LINEEXTENSIONID ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineNegotiateAPIVersion ( hlineapp : u32 , dwdeviceid : u32 , dwapilowversion : u32 , dwapihighversion : u32 , lpdwapiversion : *mut u32 , lpextensionid : *mut LINEEXTENSIONID ) -> i32 ); lineNegotiateAPIVersion(hlineapp, dwdeviceid, dwapilowversion, dwapihighversion, lpdwapiversion, lpextensionid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineNegotiateExtVersion(hlineapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextlowversion: u32, dwexthighversion: u32, lpdwextversion: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineNegotiateExtVersion ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextlowversion : u32 , dwexthighversion : u32 , lpdwextversion : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineNegotiateExtVersion ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextlowversion : u32 , dwexthighversion : u32 , lpdwextversion : *mut u32 ) -> i32 ); lineNegotiateExtVersion(hlineapp, dwdeviceid, dwapiversion, dwextlowversion, dwexthighversion, lpdwextversion) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineOpen(hlineapp: u32, dwdeviceid: u32, lphline: *mut u32, dwapiversion: u32, dwextversion: u32, dwcallbackinstance: usize, dwprivileges: u32, dwmediamodes: u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineOpen ( hlineapp : u32 , dwdeviceid : u32 , lphline : *mut u32 , dwapiversion : u32 , dwextversion : u32 , dwcallbackinstance : usize , dwprivileges : u32 , dwmediamodes : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineOpen ( hlineapp : u32 , dwdeviceid : u32 , lphline : *mut u32 , dwapiversion : u32 , dwextversion : u32 , dwcallbackinstance : usize , dwprivileges : u32 , dwmediamodes : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineOpen(hlineapp, dwdeviceid, lphline, dwapiversion, dwextversion, dwcallbackinstance, dwprivileges, dwmediamodes, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineOpenA(hlineapp: u32, dwdeviceid: u32, lphline: *mut u32, dwapiversion: u32, dwextversion: u32, dwcallbackinstance: usize, dwprivileges: u32, dwmediamodes: u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineOpenA ( hlineapp : u32 , dwdeviceid : u32 , lphline : *mut u32 , dwapiversion : u32 , dwextversion : u32 , dwcallbackinstance : usize , dwprivileges : u32 , dwmediamodes : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineOpenA ( hlineapp : u32 , dwdeviceid : u32 , lphline : *mut u32 , dwapiversion : u32 , dwextversion : u32 , dwcallbackinstance : usize , dwprivileges : u32 , dwmediamodes : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineOpenA(hlineapp, dwdeviceid, lphline, dwapiversion, dwextversion, dwcallbackinstance, dwprivileges, dwmediamodes, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineOpenW(hlineapp: u32, dwdeviceid: u32, lphline: *mut u32, dwapiversion: u32, dwextversion: u32, dwcallbackinstance: usize, dwprivileges: u32, dwmediamodes: u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineOpenW ( hlineapp : u32 , dwdeviceid : u32 , lphline : *mut u32 , dwapiversion : u32 , dwextversion : u32 , dwcallbackinstance : usize , dwprivileges : u32 , dwmediamodes : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineOpenW ( hlineapp : u32 , dwdeviceid : u32 , lphline : *mut u32 , dwapiversion : u32 , dwextversion : u32 , dwcallbackinstance : usize , dwprivileges : u32 , dwmediamodes : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineOpenW(hlineapp, dwdeviceid, lphline, dwapiversion, dwextversion, dwcallbackinstance, dwprivileges, dwmediamodes, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -970,7 +970,7 @@ pub unsafe fn linePark(hcall: u32, dwparkmode: u32, lpszdiraddress: P0, lpno where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn linePark ( hcall : u32 , dwparkmode : u32 , lpszdiraddress : :: windows::core::PCSTR , lpnondiraddress : *mut VARSTRING ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn linePark ( hcall : u32 , dwparkmode : u32 , lpszdiraddress : :: windows::core::PCSTR , lpnondiraddress : *mut VARSTRING ) -> i32 ); linePark(hcall, dwparkmode, lpszdiraddress.into().abi(), lpnondiraddress) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -979,7 +979,7 @@ pub unsafe fn lineParkA(hcall: u32, dwparkmode: u32, lpszdiraddress: P0, lpn where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineParkA ( hcall : u32 , dwparkmode : u32 , lpszdiraddress : :: windows::core::PCSTR , lpnondiraddress : *mut VARSTRING ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineParkA ( hcall : u32 , dwparkmode : u32 , lpszdiraddress : :: windows::core::PCSTR , lpnondiraddress : *mut VARSTRING ) -> i32 ); lineParkA(hcall, dwparkmode, lpszdiraddress.into().abi(), lpnondiraddress) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -988,7 +988,7 @@ pub unsafe fn lineParkW(hcall: u32, dwparkmode: u32, lpszdiraddress: P0, lpn where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineParkW ( hcall : u32 , dwparkmode : u32 , lpszdiraddress : :: windows::core::PCWSTR , lpnondiraddress : *mut VARSTRING ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineParkW ( hcall : u32 , dwparkmode : u32 , lpszdiraddress : :: windows::core::PCWSTR , lpnondiraddress : *mut VARSTRING ) -> i32 ); lineParkW(hcall, dwparkmode, lpszdiraddress.into().abi(), lpnondiraddress) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -998,7 +998,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn linePickup ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR , lpszgroupid : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn linePickup ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR , lpszgroupid : :: windows::core::PCSTR ) -> i32 ); linePickup(hline, dwaddressid, lphcall, lpszdestaddress.into().abi(), lpszgroupid.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1008,7 +1008,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn linePickupA ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR , lpszgroupid : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn linePickupA ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR , lpszgroupid : :: windows::core::PCSTR ) -> i32 ); linePickupA(hline, dwaddressid, lphcall, lpszdestaddress.into().abi(), lpszgroupid.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1018,38 +1018,38 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn linePickupW ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCWSTR , lpszgroupid : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn linePickupW ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCWSTR , lpszgroupid : :: windows::core::PCWSTR ) -> i32 ); linePickupW(hline, dwaddressid, lphcall, lpszdestaddress.into().abi(), lpszgroupid.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn linePrepareAddToConference(hconfcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn linePrepareAddToConference ( hconfcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn linePrepareAddToConference ( hconfcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); linePrepareAddToConference(hconfcall, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn linePrepareAddToConferenceA(hconfcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn linePrepareAddToConferenceA ( hconfcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn linePrepareAddToConferenceA ( hconfcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); linePrepareAddToConferenceA(hconfcall, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn linePrepareAddToConferenceW(hconfcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn linePrepareAddToConferenceW ( hconfcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn linePrepareAddToConferenceW ( hconfcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); linePrepareAddToConferenceW(hconfcall, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineProxyMessage(hline: u32, hcall: u32, dwmsg: u32, dwparam1: u32, dwparam2: u32, dwparam3: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineProxyMessage ( hline : u32 , hcall : u32 , dwmsg : u32 , dwparam1 : u32 , dwparam2 : u32 , dwparam3 : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineProxyMessage ( hline : u32 , hcall : u32 , dwmsg : u32 , dwparam1 : u32 , dwparam2 : u32 , dwparam3 : u32 ) -> i32 ); lineProxyMessage(hline, hcall, dwmsg, dwparam1, dwparam2, dwparam3) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn lineProxyResponse(hline: u32, lpproxyrequest: *mut LINEPROXYREQUEST, dwresult: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineProxyResponse ( hline : u32 , lpproxyrequest : *mut LINEPROXYREQUEST , dwresult : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineProxyResponse ( hline : u32 , lpproxyrequest : *mut LINEPROXYREQUEST , dwresult : u32 ) -> i32 ); lineProxyResponse(hline, lpproxyrequest, dwresult) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1058,7 +1058,7 @@ pub unsafe fn lineRedirect(hcall: u32, lpszdestaddress: P0, dwcountrycode: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineRedirect ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineRedirect ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); lineRedirect(hcall, lpszdestaddress.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1067,7 +1067,7 @@ pub unsafe fn lineRedirectA(hcall: u32, lpszdestaddress: P0, dwcountrycode: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineRedirectA ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineRedirectA ( hcall : u32 , lpszdestaddress : :: windows::core::PCSTR , dwcountrycode : u32 ) -> i32 ); lineRedirectA(hcall, lpszdestaddress.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1076,25 +1076,25 @@ pub unsafe fn lineRedirectW(hcall: u32, lpszdestaddress: P0, dwcountrycode: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineRedirectW ( hcall : u32 , lpszdestaddress : :: windows::core::PCWSTR , dwcountrycode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineRedirectW ( hcall : u32 , lpszdestaddress : :: windows::core::PCWSTR , dwcountrycode : u32 ) -> i32 ); lineRedirectW(hcall, lpszdestaddress.into().abi(), dwcountrycode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineRegisterRequestRecipient(hlineapp: u32, dwregistrationinstance: u32, dwrequestmode: u32, benable: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineRegisterRequestRecipient ( hlineapp : u32 , dwregistrationinstance : u32 , dwrequestmode : u32 , benable : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineRegisterRequestRecipient ( hlineapp : u32 , dwregistrationinstance : u32 , dwrequestmode : u32 , benable : u32 ) -> i32 ); lineRegisterRequestRecipient(hlineapp, dwregistrationinstance, dwrequestmode, benable) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineReleaseUserUserInfo(hcall: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineReleaseUserUserInfo ( hcall : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineReleaseUserUserInfo ( hcall : u32 ) -> i32 ); lineReleaseUserUserInfo(hcall) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineRemoveFromConference(hcall: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineRemoveFromConference ( hcall : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineRemoveFromConference ( hcall : u32 ) -> i32 ); lineRemoveFromConference(hcall) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1104,13 +1104,13 @@ pub unsafe fn lineRemoveProvider(dwpermanentproviderid: u32, hwndowner: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineRemoveProvider ( dwpermanentproviderid : u32 , hwndowner : super::super::Foundation:: HWND ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineRemoveProvider ( dwpermanentproviderid : u32 , hwndowner : super::super::Foundation:: HWND ) -> i32 ); lineRemoveProvider(dwpermanentproviderid, hwndowner.into()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSecureCall(hcall: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSecureCall ( hcall : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSecureCall ( hcall : u32 ) -> i32 ); lineSecureCall(hcall) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1119,43 +1119,43 @@ pub unsafe fn lineSendUserUserInfo(hcall: u32, lpsuseruserinfo: P0, dwsize: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSendUserUserInfo ( hcall : u32 , lpsuseruserinfo : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSendUserUserInfo ( hcall : u32 , lpsuseruserinfo : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); lineSendUserUserInfo(hcall, lpsuseruserinfo.into().abi(), dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetAgentActivity(hline: u32, dwaddressid: u32, dwactivityid: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAgentActivity ( hline : u32 , dwaddressid : u32 , dwactivityid : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAgentActivity ( hline : u32 , dwaddressid : u32 , dwactivityid : u32 ) -> i32 ); lineSetAgentActivity(hline, dwaddressid, dwactivityid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetAgentGroup(hline: u32, dwaddressid: u32, lpagentgrouplist: *mut LINEAGENTGROUPLIST) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAgentGroup ( hline : u32 , dwaddressid : u32 , lpagentgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAgentGroup ( hline : u32 , dwaddressid : u32 , lpagentgrouplist : *mut LINEAGENTGROUPLIST ) -> i32 ); lineSetAgentGroup(hline, dwaddressid, lpagentgrouplist) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetAgentMeasurementPeriod(hline: u32, hagent: u32, dwmeasurementperiod: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAgentMeasurementPeriod ( hline : u32 , hagent : u32 , dwmeasurementperiod : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAgentMeasurementPeriod ( hline : u32 , hagent : u32 , dwmeasurementperiod : u32 ) -> i32 ); lineSetAgentMeasurementPeriod(hline, hagent, dwmeasurementperiod) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetAgentSessionState(hline: u32, hagentsession: u32, dwagentsessionstate: u32, dwnextagentsessionstate: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAgentSessionState ( hline : u32 , hagentsession : u32 , dwagentsessionstate : u32 , dwnextagentsessionstate : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAgentSessionState ( hline : u32 , hagentsession : u32 , dwagentsessionstate : u32 , dwnextagentsessionstate : u32 ) -> i32 ); lineSetAgentSessionState(hline, hagentsession, dwagentsessionstate, dwnextagentsessionstate) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetAgentState(hline: u32, dwaddressid: u32, dwagentstate: u32, dwnextagentstate: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAgentState ( hline : u32 , dwaddressid : u32 , dwagentstate : u32 , dwnextagentstate : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAgentState ( hline : u32 , dwaddressid : u32 , dwagentstate : u32 , dwnextagentstate : u32 ) -> i32 ); lineSetAgentState(hline, dwaddressid, dwagentstate, dwnextagentstate) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetAgentStateEx(hline: u32, hagent: u32, dwagentstate: u32, dwnextagentstate: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAgentStateEx ( hline : u32 , hagent : u32 , dwagentstate : u32 , dwnextagentstate : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAgentStateEx ( hline : u32 , hagent : u32 , dwagentstate : u32 , dwnextagentstate : u32 ) -> i32 ); lineSetAgentStateEx(hline, hagent, dwagentstate, dwnextagentstate) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1165,7 +1165,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAppPriority ( lpszappfilename : :: windows::core::PCSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpszextensionname : :: windows::core::PCSTR , dwpriority : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAppPriority ( lpszappfilename : :: windows::core::PCSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpszextensionname : :: windows::core::PCSTR , dwpriority : u32 ) -> i32 ); lineSetAppPriority(lpszappfilename.into().abi(), dwmediamode, lpextensionid, dwrequestmode, lpszextensionname.into().abi(), dwpriority) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1175,7 +1175,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAppPriorityA ( lpszappfilename : :: windows::core::PCSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpszextensionname : :: windows::core::PCSTR , dwpriority : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAppPriorityA ( lpszappfilename : :: windows::core::PCSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpszextensionname : :: windows::core::PCSTR , dwpriority : u32 ) -> i32 ); lineSetAppPriorityA(lpszappfilename.into().abi(), dwmediamode, lpextensionid, dwrequestmode, lpszextensionname.into().abi(), dwpriority) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1185,49 +1185,49 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAppPriorityW ( lpszappfilename : :: windows::core::PCWSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpszextensionname : :: windows::core::PCWSTR , dwpriority : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAppPriorityW ( lpszappfilename : :: windows::core::PCWSTR , dwmediamode : u32 , lpextensionid : *mut LINEEXTENSIONID , dwrequestmode : u32 , lpszextensionname : :: windows::core::PCWSTR , dwpriority : u32 ) -> i32 ); lineSetAppPriorityW(lpszappfilename.into().abi(), dwmediamode, lpextensionid, dwrequestmode, lpszextensionname.into().abi(), dwpriority) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetAppSpecific(hcall: u32, dwappspecific: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetAppSpecific ( hcall : u32 , dwappspecific : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetAppSpecific ( hcall : u32 , dwappspecific : u32 ) -> i32 ); lineSetAppSpecific(hcall, dwappspecific) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetCallData(hcall: u32, lpcalldata: *mut ::core::ffi::c_void, dwsize: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetCallData ( hcall : u32 , lpcalldata : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetCallData ( hcall : u32 , lpcalldata : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); lineSetCallData(hcall, lpcalldata, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetCallParams(hcall: u32, dwbearermode: u32, dwminrate: u32, dwmaxrate: u32, lpdialparams: *const LINEDIALPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetCallParams ( hcall : u32 , dwbearermode : u32 , dwminrate : u32 , dwmaxrate : u32 , lpdialparams : *const LINEDIALPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetCallParams ( hcall : u32 , dwbearermode : u32 , dwminrate : u32 , dwmaxrate : u32 , lpdialparams : *const LINEDIALPARAMS ) -> i32 ); lineSetCallParams(hcall, dwbearermode, dwminrate, dwmaxrate, lpdialparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetCallPrivilege(hcall: u32, dwcallprivilege: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetCallPrivilege ( hcall : u32 , dwcallprivilege : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetCallPrivilege ( hcall : u32 , dwcallprivilege : u32 ) -> i32 ); lineSetCallPrivilege(hcall, dwcallprivilege) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetCallQualityOfService(hcall: u32, lpsendingflowspec: *mut ::core::ffi::c_void, dwsendingflowspecsize: u32, lpreceivingflowspec: *mut ::core::ffi::c_void, dwreceivingflowspecsize: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetCallQualityOfService ( hcall : u32 , lpsendingflowspec : *mut ::core::ffi::c_void , dwsendingflowspecsize : u32 , lpreceivingflowspec : *mut ::core::ffi::c_void , dwreceivingflowspecsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetCallQualityOfService ( hcall : u32 , lpsendingflowspec : *mut ::core::ffi::c_void , dwsendingflowspecsize : u32 , lpreceivingflowspec : *mut ::core::ffi::c_void , dwreceivingflowspecsize : u32 ) -> i32 ); lineSetCallQualityOfService(hcall, lpsendingflowspec, dwsendingflowspecsize, lpreceivingflowspec, dwreceivingflowspecsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetCallTreatment(hcall: u32, dwtreatment: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetCallTreatment ( hcall : u32 , dwtreatment : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetCallTreatment ( hcall : u32 , dwtreatment : u32 ) -> i32 ); lineSetCallTreatment(hcall, dwtreatment) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetCurrentLocation(hlineapp: u32, dwlocation: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetCurrentLocation ( hlineapp : u32 , dwlocation : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetCurrentLocation ( hlineapp : u32 , dwlocation : u32 ) -> i32 ); lineSetCurrentLocation(hlineapp, dwlocation) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1236,7 +1236,7 @@ pub unsafe fn lineSetDevConfig(dwdeviceid: u32, lpdeviceconfig: *const ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetDevConfig ( dwdeviceid : u32 , lpdeviceconfig : *const ::core::ffi::c_void , dwsize : u32 , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetDevConfig ( dwdeviceid : u32 , lpdeviceconfig : *const ::core::ffi::c_void , dwsize : u32 , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); lineSetDevConfig(dwdeviceid, lpdeviceconfig, dwsize, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1245,7 +1245,7 @@ pub unsafe fn lineSetDevConfigA(dwdeviceid: u32, lpdeviceconfig: *const ::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetDevConfigA ( dwdeviceid : u32 , lpdeviceconfig : *const ::core::ffi::c_void , dwsize : u32 , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetDevConfigA ( dwdeviceid : u32 , lpdeviceconfig : *const ::core::ffi::c_void , dwsize : u32 , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); lineSetDevConfigA(dwdeviceid, lpdeviceconfig, dwsize, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1254,49 +1254,49 @@ pub unsafe fn lineSetDevConfigW(dwdeviceid: u32, lpdeviceconfig: *const ::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetDevConfigW ( dwdeviceid : u32 , lpdeviceconfig : *const ::core::ffi::c_void , dwsize : u32 , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetDevConfigW ( dwdeviceid : u32 , lpdeviceconfig : *const ::core::ffi::c_void , dwsize : u32 , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); lineSetDevConfigW(dwdeviceid, lpdeviceconfig, dwsize, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetLineDevStatus(hline: u32, dwstatustochange: u32, fstatus: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetLineDevStatus ( hline : u32 , dwstatustochange : u32 , fstatus : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetLineDevStatus ( hline : u32 , dwstatustochange : u32 , fstatus : u32 ) -> i32 ); lineSetLineDevStatus(hline, dwstatustochange, fstatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetMediaControl(hline: u32, dwaddressid: u32, hcall: u32, dwselect: u32, lpdigitlist: *const LINEMEDIACONTROLDIGIT, dwdigitnumentries: u32, lpmedialist: *const LINEMEDIACONTROLMEDIA, dwmedianumentries: u32, lptonelist: *const LINEMEDIACONTROLTONE, dwtonenumentries: u32, lpcallstatelist: *const LINEMEDIACONTROLCALLSTATE, dwcallstatenumentries: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetMediaControl ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , lpdigitlist : *const LINEMEDIACONTROLDIGIT , dwdigitnumentries : u32 , lpmedialist : *const LINEMEDIACONTROLMEDIA , dwmedianumentries : u32 , lptonelist : *const LINEMEDIACONTROLTONE , dwtonenumentries : u32 , lpcallstatelist : *const LINEMEDIACONTROLCALLSTATE , dwcallstatenumentries : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetMediaControl ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , lpdigitlist : *const LINEMEDIACONTROLDIGIT , dwdigitnumentries : u32 , lpmedialist : *const LINEMEDIACONTROLMEDIA , dwmedianumentries : u32 , lptonelist : *const LINEMEDIACONTROLTONE , dwtonenumentries : u32 , lpcallstatelist : *const LINEMEDIACONTROLCALLSTATE , dwcallstatenumentries : u32 ) -> i32 ); lineSetMediaControl(hline, dwaddressid, hcall, dwselect, lpdigitlist, dwdigitnumentries, lpmedialist, dwmedianumentries, lptonelist, dwtonenumentries, lpcallstatelist, dwcallstatenumentries) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetMediaMode(hcall: u32, dwmediamodes: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetMediaMode ( hcall : u32 , dwmediamodes : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetMediaMode ( hcall : u32 , dwmediamodes : u32 ) -> i32 ); lineSetMediaMode(hcall, dwmediamodes) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetNumRings(hline: u32, dwaddressid: u32, dwnumrings: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetNumRings ( hline : u32 , dwaddressid : u32 , dwnumrings : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetNumRings ( hline : u32 , dwaddressid : u32 , dwnumrings : u32 ) -> i32 ); lineSetNumRings(hline, dwaddressid, dwnumrings) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetQueueMeasurementPeriod(hline: u32, dwqueueid: u32, dwmeasurementperiod: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetQueueMeasurementPeriod ( hline : u32 , dwqueueid : u32 , dwmeasurementperiod : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetQueueMeasurementPeriod ( hline : u32 , dwqueueid : u32 , dwmeasurementperiod : u32 ) -> i32 ); lineSetQueueMeasurementPeriod(hline, dwqueueid, dwmeasurementperiod) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetStatusMessages(hline: u32, dwlinestates: u32, dwaddressstates: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetStatusMessages ( hline : u32 , dwlinestates : u32 , dwaddressstates : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetStatusMessages ( hline : u32 , dwlinestates : u32 , dwaddressstates : u32 ) -> i32 ); lineSetStatusMessages(hline, dwlinestates, dwaddressstates) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetTerminal(hline: u32, dwaddressid: u32, hcall: u32, dwselect: u32, dwterminalmodes: u32, dwterminalid: u32, benable: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetTerminal ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , dwterminalmodes : u32 , dwterminalid : u32 , benable : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetTerminal ( hline : u32 , dwaddressid : u32 , hcall : u32 , dwselect : u32 , dwterminalmodes : u32 , dwterminalid : u32 , benable : u32 ) -> i32 ); lineSetTerminal(hline, dwaddressid, hcall, dwselect, dwterminalmodes, dwterminalid, benable) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1305,7 +1305,7 @@ pub unsafe fn lineSetTollList(hlineapp: u32, dwdeviceid: u32, lpszaddressin: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetTollList ( hlineapp : u32 , dwdeviceid : u32 , lpszaddressin : :: windows::core::PCSTR , dwtolllistoption : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetTollList ( hlineapp : u32 , dwdeviceid : u32 , lpszaddressin : :: windows::core::PCSTR , dwtolllistoption : u32 ) -> i32 ); lineSetTollList(hlineapp, dwdeviceid, lpszaddressin.into().abi(), dwtolllistoption) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1314,7 +1314,7 @@ pub unsafe fn lineSetTollListA(hlineapp: u32, dwdeviceid: u32, lpszaddressin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetTollListA ( hlineapp : u32 , dwdeviceid : u32 , lpszaddressin : :: windows::core::PCSTR , dwtolllistoption : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetTollListA ( hlineapp : u32 , dwdeviceid : u32 , lpszaddressin : :: windows::core::PCSTR , dwtolllistoption : u32 ) -> i32 ); lineSetTollListA(hlineapp, dwdeviceid, lpszaddressin.into().abi(), dwtolllistoption) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1323,55 +1323,55 @@ pub unsafe fn lineSetTollListW(hlineapp: u32, dwdeviceid: u32, lpszaddressin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetTollListW ( hlineapp : u32 , dwdeviceid : u32 , lpszaddressinw : :: windows::core::PCWSTR , dwtolllistoption : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetTollListW ( hlineapp : u32 , dwdeviceid : u32 , lpszaddressinw : :: windows::core::PCWSTR , dwtolllistoption : u32 ) -> i32 ); lineSetTollListW(hlineapp, dwdeviceid, lpszaddressinw.into().abi(), dwtolllistoption) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetupConference(hcall: u32, hline: u32, lphconfcall: *mut u32, lphconsultcall: *mut u32, dwnumparties: u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetupConference ( hcall : u32 , hline : u32 , lphconfcall : *mut u32 , lphconsultcall : *mut u32 , dwnumparties : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetupConference ( hcall : u32 , hline : u32 , lphconfcall : *mut u32 , lphconsultcall : *mut u32 , dwnumparties : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineSetupConference(hcall, hline, lphconfcall, lphconsultcall, dwnumparties, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetupConferenceA(hcall: u32, hline: u32, lphconfcall: *mut u32, lphconsultcall: *mut u32, dwnumparties: u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetupConferenceA ( hcall : u32 , hline : u32 , lphconfcall : *mut u32 , lphconsultcall : *mut u32 , dwnumparties : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetupConferenceA ( hcall : u32 , hline : u32 , lphconfcall : *mut u32 , lphconsultcall : *mut u32 , dwnumparties : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineSetupConferenceA(hcall, hline, lphconfcall, lphconsultcall, dwnumparties, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetupConferenceW(hcall: u32, hline: u32, lphconfcall: *mut u32, lphconsultcall: *mut u32, dwnumparties: u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetupConferenceW ( hcall : u32 , hline : u32 , lphconfcall : *mut u32 , lphconsultcall : *mut u32 , dwnumparties : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetupConferenceW ( hcall : u32 , hline : u32 , lphconfcall : *mut u32 , lphconsultcall : *mut u32 , dwnumparties : u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineSetupConferenceW(hcall, hline, lphconfcall, lphconsultcall, dwnumparties, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetupTransfer(hcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetupTransfer ( hcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetupTransfer ( hcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineSetupTransfer(hcall, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetupTransferA(hcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetupTransferA ( hcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetupTransferA ( hcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineSetupTransferA(hcall, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSetupTransferW(hcall: u32, lphconsultcall: *mut u32, lpcallparams: *const LINECALLPARAMS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSetupTransferW ( hcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSetupTransferW ( hcall : u32 , lphconsultcall : *mut u32 , lpcallparams : *const LINECALLPARAMS ) -> i32 ); lineSetupTransferW(hcall, lphconsultcall, lpcallparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineShutdown(hlineapp: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineShutdown ( hlineapp : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineShutdown ( hlineapp : u32 ) -> i32 ); lineShutdown(hlineapp) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineSwapHold(hactivecall: u32, hheldcall: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineSwapHold ( hactivecall : u32 , hheldcall : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineSwapHold ( hactivecall : u32 , hheldcall : u32 ) -> i32 ); lineSwapHold(hactivecall, hheldcall) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1380,7 +1380,7 @@ pub unsafe fn lineTranslateAddress(hlineapp: u32, dwdeviceid: u32, dwapivers where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineTranslateAddress ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , lpszaddressin : :: windows::core::PCSTR , dwcard : u32 , dwtranslateoptions : u32 , lptranslateoutput : *mut LINETRANSLATEOUTPUT ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineTranslateAddress ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , lpszaddressin : :: windows::core::PCSTR , dwcard : u32 , dwtranslateoptions : u32 , lptranslateoutput : *mut LINETRANSLATEOUTPUT ) -> i32 ); lineTranslateAddress(hlineapp, dwdeviceid, dwapiversion, lpszaddressin.into().abi(), dwcard, dwtranslateoptions, lptranslateoutput) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1389,7 +1389,7 @@ pub unsafe fn lineTranslateAddressA(hlineapp: u32, dwdeviceid: u32, dwapiver where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineTranslateAddressA ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , lpszaddressin : :: windows::core::PCSTR , dwcard : u32 , dwtranslateoptions : u32 , lptranslateoutput : *mut LINETRANSLATEOUTPUT ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineTranslateAddressA ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , lpszaddressin : :: windows::core::PCSTR , dwcard : u32 , dwtranslateoptions : u32 , lptranslateoutput : *mut LINETRANSLATEOUTPUT ) -> i32 ); lineTranslateAddressA(hlineapp, dwdeviceid, dwapiversion, lpszaddressin.into().abi(), dwcard, dwtranslateoptions, lptranslateoutput) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1398,7 +1398,7 @@ pub unsafe fn lineTranslateAddressW(hlineapp: u32, dwdeviceid: u32, dwapiver where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineTranslateAddressW ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , lpszaddressin : :: windows::core::PCWSTR , dwcard : u32 , dwtranslateoptions : u32 , lptranslateoutput : *mut LINETRANSLATEOUTPUT ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineTranslateAddressW ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , lpszaddressin : :: windows::core::PCWSTR , dwcard : u32 , dwtranslateoptions : u32 , lptranslateoutput : *mut LINETRANSLATEOUTPUT ) -> i32 ); lineTranslateAddressW(hlineapp, dwdeviceid, dwapiversion, lpszaddressin.into().abi(), dwcard, dwtranslateoptions, lptranslateoutput) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1409,7 +1409,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineTranslateDialog ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , hwndowner : super::super::Foundation:: HWND , lpszaddressin : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineTranslateDialog ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , hwndowner : super::super::Foundation:: HWND , lpszaddressin : :: windows::core::PCSTR ) -> i32 ); lineTranslateDialog(hlineapp, dwdeviceid, dwapiversion, hwndowner.into(), lpszaddressin.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1420,7 +1420,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineTranslateDialogA ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , hwndowner : super::super::Foundation:: HWND , lpszaddressin : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineTranslateDialogA ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , hwndowner : super::super::Foundation:: HWND , lpszaddressin : :: windows::core::PCSTR ) -> i32 ); lineTranslateDialogA(hlineapp, dwdeviceid, dwapiversion, hwndowner.into(), lpszaddressin.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1431,19 +1431,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineTranslateDialogW ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , hwndowner : super::super::Foundation:: HWND , lpszaddressin : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineTranslateDialogW ( hlineapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , hwndowner : super::super::Foundation:: HWND , lpszaddressin : :: windows::core::PCWSTR ) -> i32 ); lineTranslateDialogW(hlineapp, dwdeviceid, dwapiversion, hwndowner.into(), lpszaddressin.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineUncompleteCall(hline: u32, dwcompletionid: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineUncompleteCall ( hline : u32 , dwcompletionid : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineUncompleteCall ( hline : u32 , dwcompletionid : u32 ) -> i32 ); lineUncompleteCall(hline, dwcompletionid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn lineUnhold(hcall: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn lineUnhold ( hcall : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineUnhold ( hcall : u32 ) -> i32 ); lineUnhold(hcall) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1452,7 +1452,7 @@ pub unsafe fn lineUnpark(hline: u32, dwaddressid: u32, lphcall: *mut u32, lp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineUnpark ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineUnpark ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR ) -> i32 ); lineUnpark(hline, dwaddressid, lphcall, lpszdestaddress.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1461,7 +1461,7 @@ pub unsafe fn lineUnparkA(hline: u32, dwaddressid: u32, lphcall: *mut u32, l where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineUnparkA ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineUnparkA ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCSTR ) -> i32 ); lineUnparkA(hline, dwaddressid, lphcall, lpszdestaddress.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1470,13 +1470,13 @@ pub unsafe fn lineUnparkW(hline: u32, dwaddressid: u32, lphcall: *mut u32, l where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn lineUnparkW ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn lineUnparkW ( hline : u32 , dwaddressid : u32 , lphcall : *mut u32 , lpszdestaddress : :: windows::core::PCWSTR ) -> i32 ); lineUnparkW(hline, dwaddressid, lphcall, lpszdestaddress.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneClose(hphone: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneClose ( hphone : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneClose ( hphone : u32 ) -> i32 ); phoneClose(hphone) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1487,7 +1487,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneConfigDialog ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneConfigDialog ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); phoneConfigDialog(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1498,7 +1498,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneConfigDialogA ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneConfigDialogA ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); phoneConfigDialogA(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1509,73 +1509,73 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneConfigDialogW ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneConfigDialogW ( dwdeviceid : u32 , hwndowner : super::super::Foundation:: HWND , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); phoneConfigDialogW(dwdeviceid, hwndowner.into(), lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneDevSpecific(hphone: u32, lpparams: *mut ::core::ffi::c_void, dwsize: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneDevSpecific ( hphone : u32 , lpparams : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneDevSpecific ( hphone : u32 , lpparams : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); phoneDevSpecific(hphone, lpparams, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetButtonInfo(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *mut PHONEBUTTONINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetButtonInfo ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *mut PHONEBUTTONINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetButtonInfo ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *mut PHONEBUTTONINFO ) -> i32 ); phoneGetButtonInfo(hphone, dwbuttonlampid, lpbuttoninfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetButtonInfoA(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *mut PHONEBUTTONINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetButtonInfoA ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *mut PHONEBUTTONINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetButtonInfoA ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *mut PHONEBUTTONINFO ) -> i32 ); phoneGetButtonInfoA(hphone, dwbuttonlampid, lpbuttoninfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetButtonInfoW(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *mut PHONEBUTTONINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetButtonInfoW ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *mut PHONEBUTTONINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetButtonInfoW ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *mut PHONEBUTTONINFO ) -> i32 ); phoneGetButtonInfoW(hphone, dwbuttonlampid, lpbuttoninfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetData(hphone: u32, dwdataid: u32, lpdata: *mut ::core::ffi::c_void, dwsize: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetData ( hphone : u32 , dwdataid : u32 , lpdata : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetData ( hphone : u32 , dwdataid : u32 , lpdata : *mut ::core::ffi::c_void , dwsize : u32 ) -> i32 ); phoneGetData(hphone, dwdataid, lpdata, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetDevCaps(hphoneapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lpphonecaps: *mut PHONECAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetDevCaps ( hphoneapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lpphonecaps : *mut PHONECAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetDevCaps ( hphoneapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lpphonecaps : *mut PHONECAPS ) -> i32 ); phoneGetDevCaps(hphoneapp, dwdeviceid, dwapiversion, dwextversion, lpphonecaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetDevCapsA(hphoneapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lpphonecaps: *mut PHONECAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetDevCapsA ( hphoneapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lpphonecaps : *mut PHONECAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetDevCapsA ( hphoneapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lpphonecaps : *mut PHONECAPS ) -> i32 ); phoneGetDevCapsA(hphoneapp, dwdeviceid, dwapiversion, dwextversion, lpphonecaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetDevCapsW(hphoneapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextversion: u32, lpphonecaps: *mut PHONECAPS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetDevCapsW ( hphoneapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lpphonecaps : *mut PHONECAPS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetDevCapsW ( hphoneapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextversion : u32 , lpphonecaps : *mut PHONECAPS ) -> i32 ); phoneGetDevCapsW(hphoneapp, dwdeviceid, dwapiversion, dwextversion, lpphonecaps) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetDisplay(hphone: u32, lpdisplay: *mut VARSTRING) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetDisplay ( hphone : u32 , lpdisplay : *mut VARSTRING ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetDisplay ( hphone : u32 , lpdisplay : *mut VARSTRING ) -> i32 ); phoneGetDisplay(hphone, lpdisplay) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetGain(hphone: u32, dwhookswitchdev: u32, lpdwgain: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetGain ( hphone : u32 , dwhookswitchdev : u32 , lpdwgain : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetGain ( hphone : u32 , dwhookswitchdev : u32 , lpdwgain : *mut u32 ) -> i32 ); phoneGetGain(hphone, dwhookswitchdev, lpdwgain) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetHookSwitch(hphone: u32, lpdwhookswitchdevs: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetHookSwitch ( hphone : u32 , lpdwhookswitchdevs : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetHookSwitch ( hphone : u32 , lpdwhookswitchdevs : *mut u32 ) -> i32 ); phoneGetHookSwitch(hphone, lpdwhookswitchdevs) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1584,7 +1584,7 @@ pub unsafe fn phoneGetID(hphone: u32, lpdeviceid: *mut VARSTRING, lpszdevice where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetID ( hphone : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetID ( hphone : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); phoneGetID(hphone, lpdeviceid, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1593,7 +1593,7 @@ pub unsafe fn phoneGetIDA(hphone: u32, lpdeviceid: *mut VARSTRING, lpszdevic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetIDA ( hphone : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetIDA ( hphone : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCSTR ) -> i32 ); phoneGetIDA(hphone, lpdeviceid, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1602,7 +1602,7 @@ pub unsafe fn phoneGetIDW(hphone: u32, lpdeviceid: *mut VARSTRING, lpszdevic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetIDW ( hphone : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetIDW ( hphone : u32 , lpdeviceid : *mut VARSTRING , lpszdeviceclass : :: windows::core::PCWSTR ) -> i32 ); phoneGetIDW(hphone, lpdeviceid, lpszdeviceclass.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1611,7 +1611,7 @@ pub unsafe fn phoneGetIcon(dwdeviceid: u32, lpszdeviceclass: P0, lphicon: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetIcon ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCSTR , lphicon : *mut isize ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetIcon ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCSTR , lphicon : *mut isize ) -> i32 ); phoneGetIcon(dwdeviceid, lpszdeviceclass.into().abi(), lphicon) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1620,7 +1620,7 @@ pub unsafe fn phoneGetIconA(dwdeviceid: u32, lpszdeviceclass: P0, lphicon: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetIconA ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCSTR , lphicon : *mut isize ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetIconA ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCSTR , lphicon : *mut isize ) -> i32 ); phoneGetIconA(dwdeviceid, lpszdeviceclass.into().abi(), lphicon) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1629,55 +1629,55 @@ pub unsafe fn phoneGetIconW(dwdeviceid: u32, lpszdeviceclass: P0, lphicon: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetIconW ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCWSTR , lphicon : *mut isize ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetIconW ( dwdeviceid : u32 , lpszdeviceclass : :: windows::core::PCWSTR , lphicon : *mut isize ) -> i32 ); phoneGetIconW(dwdeviceid, lpszdeviceclass.into().abi(), lphicon) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetLamp(hphone: u32, dwbuttonlampid: u32, lpdwlampmode: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetLamp ( hphone : u32 , dwbuttonlampid : u32 , lpdwlampmode : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetLamp ( hphone : u32 , dwbuttonlampid : u32 , lpdwlampmode : *mut u32 ) -> i32 ); phoneGetLamp(hphone, dwbuttonlampid, lpdwlampmode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetMessage(hphoneapp: u32, lpmessage: *mut PHONEMESSAGE, dwtimeout: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetMessage ( hphoneapp : u32 , lpmessage : *mut PHONEMESSAGE , dwtimeout : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetMessage ( hphoneapp : u32 , lpmessage : *mut PHONEMESSAGE , dwtimeout : u32 ) -> i32 ); phoneGetMessage(hphoneapp, lpmessage, dwtimeout) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetRing(hphone: u32, lpdwringmode: *mut u32, lpdwvolume: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetRing ( hphone : u32 , lpdwringmode : *mut u32 , lpdwvolume : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetRing ( hphone : u32 , lpdwringmode : *mut u32 , lpdwvolume : *mut u32 ) -> i32 ); phoneGetRing(hphone, lpdwringmode, lpdwvolume) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetStatus(hphone: u32, lpphonestatus: *mut PHONESTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetStatus ( hphone : u32 , lpphonestatus : *mut PHONESTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetStatus ( hphone : u32 , lpphonestatus : *mut PHONESTATUS ) -> i32 ); phoneGetStatus(hphone, lpphonestatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetStatusA(hphone: u32, lpphonestatus: *mut PHONESTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetStatusA ( hphone : u32 , lpphonestatus : *mut PHONESTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetStatusA ( hphone : u32 , lpphonestatus : *mut PHONESTATUS ) -> i32 ); phoneGetStatusA(hphone, lpphonestatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetStatusMessages(hphone: u32, lpdwphonestates: *mut u32, lpdwbuttonmodes: *mut u32, lpdwbuttonstates: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetStatusMessages ( hphone : u32 , lpdwphonestates : *mut u32 , lpdwbuttonmodes : *mut u32 , lpdwbuttonstates : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetStatusMessages ( hphone : u32 , lpdwphonestates : *mut u32 , lpdwbuttonmodes : *mut u32 , lpdwbuttonstates : *mut u32 ) -> i32 ); phoneGetStatusMessages(hphone, lpdwphonestates, lpdwbuttonmodes, lpdwbuttonstates) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetStatusW(hphone: u32, lpphonestatus: *mut PHONESTATUS) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetStatusW ( hphone : u32 , lpphonestatus : *mut PHONESTATUS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetStatusW ( hphone : u32 , lpphonestatus : *mut PHONESTATUS ) -> i32 ); phoneGetStatusW(hphone, lpphonestatus) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneGetVolume(hphone: u32, dwhookswitchdev: u32, lpdwvolume: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneGetVolume ( hphone : u32 , dwhookswitchdev : u32 , lpdwvolume : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneGetVolume ( hphone : u32 , dwhookswitchdev : u32 , lpdwvolume : *mut u32 ) -> i32 ); phoneGetVolume(hphone, dwhookswitchdev, lpdwvolume) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1688,7 +1688,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneInitialize ( lphphoneapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : PHONECALLBACK , lpszappname : :: windows::core::PCSTR , lpdwnumdevs : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneInitialize ( lphphoneapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : PHONECALLBACK , lpszappname : :: windows::core::PCSTR , lpdwnumdevs : *mut u32 ) -> i32 ); phoneInitialize(lphphoneapp, hinstance.into(), lpfncallback, lpszappname.into().abi(), lpdwnumdevs) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1699,7 +1699,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneInitializeExA ( lphphoneapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : PHONECALLBACK , lpszfriendlyappname : :: windows::core::PCSTR , lpdwnumdevs : *mut u32 , lpdwapiversion : *mut u32 , lpphoneinitializeexparams : *mut PHONEINITIALIZEEXPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneInitializeExA ( lphphoneapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : PHONECALLBACK , lpszfriendlyappname : :: windows::core::PCSTR , lpdwnumdevs : *mut u32 , lpdwapiversion : *mut u32 , lpphoneinitializeexparams : *mut PHONEINITIALIZEEXPARAMS ) -> i32 ); phoneInitializeExA(lphphoneapp, hinstance.into(), lpfncallback, lpszfriendlyappname.into().abi(), lpdwnumdevs, lpdwapiversion, lpphoneinitializeexparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1710,49 +1710,49 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneInitializeExW ( lphphoneapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : PHONECALLBACK , lpszfriendlyappname : :: windows::core::PCWSTR , lpdwnumdevs : *mut u32 , lpdwapiversion : *mut u32 , lpphoneinitializeexparams : *mut PHONEINITIALIZEEXPARAMS ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneInitializeExW ( lphphoneapp : *mut u32 , hinstance : super::super::Foundation:: HINSTANCE , lpfncallback : PHONECALLBACK , lpszfriendlyappname : :: windows::core::PCWSTR , lpdwnumdevs : *mut u32 , lpdwapiversion : *mut u32 , lpphoneinitializeexparams : *mut PHONEINITIALIZEEXPARAMS ) -> i32 ); phoneInitializeExW(lphphoneapp, hinstance.into(), lpfncallback, lpszfriendlyappname.into().abi(), lpdwnumdevs, lpdwapiversion, lpphoneinitializeexparams) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneNegotiateAPIVersion(hphoneapp: u32, dwdeviceid: u32, dwapilowversion: u32, dwapihighversion: u32, lpdwapiversion: *mut u32, lpextensionid: *mut PHONEEXTENSIONID) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneNegotiateAPIVersion ( hphoneapp : u32 , dwdeviceid : u32 , dwapilowversion : u32 , dwapihighversion : u32 , lpdwapiversion : *mut u32 , lpextensionid : *mut PHONEEXTENSIONID ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneNegotiateAPIVersion ( hphoneapp : u32 , dwdeviceid : u32 , dwapilowversion : u32 , dwapihighversion : u32 , lpdwapiversion : *mut u32 , lpextensionid : *mut PHONEEXTENSIONID ) -> i32 ); phoneNegotiateAPIVersion(hphoneapp, dwdeviceid, dwapilowversion, dwapihighversion, lpdwapiversion, lpextensionid) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneNegotiateExtVersion(hphoneapp: u32, dwdeviceid: u32, dwapiversion: u32, dwextlowversion: u32, dwexthighversion: u32, lpdwextversion: *mut u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneNegotiateExtVersion ( hphoneapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextlowversion : u32 , dwexthighversion : u32 , lpdwextversion : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneNegotiateExtVersion ( hphoneapp : u32 , dwdeviceid : u32 , dwapiversion : u32 , dwextlowversion : u32 , dwexthighversion : u32 , lpdwextversion : *mut u32 ) -> i32 ); phoneNegotiateExtVersion(hphoneapp, dwdeviceid, dwapiversion, dwextlowversion, dwexthighversion, lpdwextversion) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneOpen(hphoneapp: u32, dwdeviceid: u32, lphphone: *mut u32, dwapiversion: u32, dwextversion: u32, dwcallbackinstance: usize, dwprivilege: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneOpen ( hphoneapp : u32 , dwdeviceid : u32 , lphphone : *mut u32 , dwapiversion : u32 , dwextversion : u32 , dwcallbackinstance : usize , dwprivilege : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneOpen ( hphoneapp : u32 , dwdeviceid : u32 , lphphone : *mut u32 , dwapiversion : u32 , dwextversion : u32 , dwcallbackinstance : usize , dwprivilege : u32 ) -> i32 ); phoneOpen(hphoneapp, dwdeviceid, lphphone, dwapiversion, dwextversion, dwcallbackinstance, dwprivilege) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetButtonInfo(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *const PHONEBUTTONINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetButtonInfo ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *const PHONEBUTTONINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetButtonInfo ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *const PHONEBUTTONINFO ) -> i32 ); phoneSetButtonInfo(hphone, dwbuttonlampid, lpbuttoninfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetButtonInfoA(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *const PHONEBUTTONINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetButtonInfoA ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *const PHONEBUTTONINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetButtonInfoA ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *const PHONEBUTTONINFO ) -> i32 ); phoneSetButtonInfoA(hphone, dwbuttonlampid, lpbuttoninfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetButtonInfoW(hphone: u32, dwbuttonlampid: u32, lpbuttoninfo: *const PHONEBUTTONINFO) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetButtonInfoW ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *const PHONEBUTTONINFO ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetButtonInfoW ( hphone : u32 , dwbuttonlampid : u32 , lpbuttoninfo : *const PHONEBUTTONINFO ) -> i32 ); phoneSetButtonInfoW(hphone, dwbuttonlampid, lpbuttoninfo) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetData(hphone: u32, dwdataid: u32, lpdata: *const ::core::ffi::c_void, dwsize: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetData ( hphone : u32 , dwdataid : u32 , lpdata : *const ::core::ffi::c_void , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetData ( hphone : u32 , dwdataid : u32 , lpdata : *const ::core::ffi::c_void , dwsize : u32 ) -> i32 ); phoneSetData(hphone, dwdataid, lpdata, dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1761,67 +1761,67 @@ pub unsafe fn phoneSetDisplay(hphone: u32, dwrow: u32, dwcolumn: u32, lpsdis where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetDisplay ( hphone : u32 , dwrow : u32 , dwcolumn : u32 , lpsdisplay : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetDisplay ( hphone : u32 , dwrow : u32 , dwcolumn : u32 , lpsdisplay : :: windows::core::PCSTR , dwsize : u32 ) -> i32 ); phoneSetDisplay(hphone, dwrow, dwcolumn, lpsdisplay.into().abi(), dwsize) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetGain(hphone: u32, dwhookswitchdev: u32, dwgain: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetGain ( hphone : u32 , dwhookswitchdev : u32 , dwgain : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetGain ( hphone : u32 , dwhookswitchdev : u32 , dwgain : u32 ) -> i32 ); phoneSetGain(hphone, dwhookswitchdev, dwgain) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetHookSwitch(hphone: u32, dwhookswitchdevs: u32, dwhookswitchmode: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetHookSwitch ( hphone : u32 , dwhookswitchdevs : u32 , dwhookswitchmode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetHookSwitch ( hphone : u32 , dwhookswitchdevs : u32 , dwhookswitchmode : u32 ) -> i32 ); phoneSetHookSwitch(hphone, dwhookswitchdevs, dwhookswitchmode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetLamp(hphone: u32, dwbuttonlampid: u32, dwlampmode: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetLamp ( hphone : u32 , dwbuttonlampid : u32 , dwlampmode : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetLamp ( hphone : u32 , dwbuttonlampid : u32 , dwlampmode : u32 ) -> i32 ); phoneSetLamp(hphone, dwbuttonlampid, dwlampmode) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetRing(hphone: u32, dwringmode: u32, dwvolume: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetRing ( hphone : u32 , dwringmode : u32 , dwvolume : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetRing ( hphone : u32 , dwringmode : u32 , dwvolume : u32 ) -> i32 ); phoneSetRing(hphone, dwringmode, dwvolume) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetStatusMessages(hphone: u32, dwphonestates: u32, dwbuttonmodes: u32, dwbuttonstates: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetStatusMessages ( hphone : u32 , dwphonestates : u32 , dwbuttonmodes : u32 , dwbuttonstates : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetStatusMessages ( hphone : u32 , dwphonestates : u32 , dwbuttonmodes : u32 , dwbuttonstates : u32 ) -> i32 ); phoneSetStatusMessages(hphone, dwphonestates, dwbuttonmodes, dwbuttonstates) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneSetVolume(hphone: u32, dwhookswitchdev: u32, dwvolume: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneSetVolume ( hphone : u32 , dwhookswitchdev : u32 , dwvolume : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneSetVolume ( hphone : u32 , dwhookswitchdev : u32 , dwvolume : u32 ) -> i32 ); phoneSetVolume(hphone, dwhookswitchdev, dwvolume) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn phoneShutdown(hphoneapp: u32) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn phoneShutdown ( hphoneapp : u32 ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn phoneShutdown ( hphoneapp : u32 ) -> i32 ); phoneShutdown(hphoneapp) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn tapiGetLocationInfo(lpszcountrycode: &mut [u8; 8], lpszcitycode: &mut [u8; 8]) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiGetLocationInfo ( lpszcountrycode : :: windows::core::PSTR , lpszcitycode : :: windows::core::PSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiGetLocationInfo ( lpszcountrycode : :: windows::core::PSTR , lpszcitycode : :: windows::core::PSTR ) -> i32 ); tapiGetLocationInfo(::core::mem::transmute(lpszcountrycode.as_ptr()), ::core::mem::transmute(lpszcitycode.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn tapiGetLocationInfoA(lpszcountrycode: &mut [u8; 8], lpszcitycode: &mut [u8; 8]) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiGetLocationInfoA ( lpszcountrycode : :: windows::core::PSTR , lpszcitycode : :: windows::core::PSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiGetLocationInfoA ( lpszcountrycode : :: windows::core::PSTR , lpszcitycode : :: windows::core::PSTR ) -> i32 ); tapiGetLocationInfoA(::core::mem::transmute(lpszcountrycode.as_ptr()), ::core::mem::transmute(lpszcitycode.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[inline] pub unsafe fn tapiGetLocationInfoW(lpszcountrycodew: &mut [u16; 8], lpszcitycodew: &mut [u16; 8]) -> i32 { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiGetLocationInfoW ( lpszcountrycodew : :: windows::core::PWSTR , lpszcitycodew : :: windows::core::PWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiGetLocationInfoW ( lpszcountrycodew : :: windows::core::PWSTR , lpszcitycodew : :: windows::core::PWSTR ) -> i32 ); tapiGetLocationInfoW(::core::mem::transmute(lpszcountrycodew.as_ptr()), ::core::mem::transmute(lpszcitycodew.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1832,7 +1832,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiRequestDrop ( hwnd : super::super::Foundation:: HWND , wrequestid : super::super::Foundation:: WPARAM ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiRequestDrop ( hwnd : super::super::Foundation:: HWND , wrequestid : super::super::Foundation:: WPARAM ) -> i32 ); tapiRequestDrop(hwnd.into(), wrequestid.into()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1844,7 +1844,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiRequestMakeCall ( lpszdestaddress : :: windows::core::PCSTR , lpszappname : :: windows::core::PCSTR , lpszcalledparty : :: windows::core::PCSTR , lpszcomment : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiRequestMakeCall ( lpszdestaddress : :: windows::core::PCSTR , lpszappname : :: windows::core::PCSTR , lpszcalledparty : :: windows::core::PCSTR , lpszcomment : :: windows::core::PCSTR ) -> i32 ); tapiRequestMakeCall(lpszdestaddress.into().abi(), lpszappname.into().abi(), lpszcalledparty.into().abi(), lpszcomment.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1856,7 +1856,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiRequestMakeCallA ( lpszdestaddress : :: windows::core::PCSTR , lpszappname : :: windows::core::PCSTR , lpszcalledparty : :: windows::core::PCSTR , lpszcomment : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiRequestMakeCallA ( lpszdestaddress : :: windows::core::PCSTR , lpszappname : :: windows::core::PCSTR , lpszcalledparty : :: windows::core::PCSTR , lpszcomment : :: windows::core::PCSTR ) -> i32 ); tapiRequestMakeCallA(lpszdestaddress.into().abi(), lpszappname.into().abi(), lpszcalledparty.into().abi(), lpszcomment.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1868,7 +1868,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiRequestMakeCallW ( lpszdestaddress : :: windows::core::PCWSTR , lpszappname : :: windows::core::PCWSTR , lpszcalledparty : :: windows::core::PCWSTR , lpszcomment : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiRequestMakeCallW ( lpszdestaddress : :: windows::core::PCWSTR , lpszappname : :: windows::core::PCWSTR , lpszcalledparty : :: windows::core::PCWSTR , lpszcomment : :: windows::core::PCWSTR ) -> i32 ); tapiRequestMakeCallW(lpszdestaddress.into().abi(), lpszappname.into().abi(), lpszcalledparty.into().abi(), lpszcomment.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1885,7 +1885,7 @@ where P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P7: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiRequestMediaCall ( hwnd : super::super::Foundation:: HWND , wrequestid : super::super::Foundation:: WPARAM , lpszdeviceclass : :: windows::core::PCSTR , lpdeviceid : :: windows::core::PCSTR , dwsize : u32 , dwsecure : u32 , lpszdestaddress : :: windows::core::PCSTR , lpszappname : :: windows::core::PCSTR , lpszcalledparty : :: windows::core::PCSTR , lpszcomment : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiRequestMediaCall ( hwnd : super::super::Foundation:: HWND , wrequestid : super::super::Foundation:: WPARAM , lpszdeviceclass : :: windows::core::PCSTR , lpdeviceid : :: windows::core::PCSTR , dwsize : u32 , dwsecure : u32 , lpszdestaddress : :: windows::core::PCSTR , lpszappname : :: windows::core::PCSTR , lpszcalledparty : :: windows::core::PCSTR , lpszcomment : :: windows::core::PCSTR ) -> i32 ); tapiRequestMediaCall(hwnd.into(), wrequestid.into(), lpszdeviceclass.into().abi(), lpdeviceid.into().abi(), dwsize, dwsecure, lpszdestaddress.into().abi(), lpszappname.into().abi(), lpszcalledparty.into().abi(), lpszcomment.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1902,7 +1902,7 @@ where P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P7: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiRequestMediaCallA ( hwnd : super::super::Foundation:: HWND , wrequestid : super::super::Foundation:: WPARAM , lpszdeviceclass : :: windows::core::PCSTR , lpdeviceid : :: windows::core::PCSTR , dwsize : u32 , dwsecure : u32 , lpszdestaddress : :: windows::core::PCSTR , lpszappname : :: windows::core::PCSTR , lpszcalledparty : :: windows::core::PCSTR , lpszcomment : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiRequestMediaCallA ( hwnd : super::super::Foundation:: HWND , wrequestid : super::super::Foundation:: WPARAM , lpszdeviceclass : :: windows::core::PCSTR , lpdeviceid : :: windows::core::PCSTR , dwsize : u32 , dwsecure : u32 , lpszdestaddress : :: windows::core::PCSTR , lpszappname : :: windows::core::PCSTR , lpszcalledparty : :: windows::core::PCSTR , lpszcomment : :: windows::core::PCSTR ) -> i32 ); tapiRequestMediaCallA(hwnd.into(), wrequestid.into(), lpszdeviceclass.into().abi(), lpdeviceid.into().abi(), dwsize, dwsecure, lpszdestaddress.into().abi(), lpszappname.into().abi(), lpszcalledparty.into().abi(), lpszcomment.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`*"] @@ -1919,7 +1919,7 @@ where P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P7: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tapi32.dll""system" fn tapiRequestMediaCallW ( hwnd : super::super::Foundation:: HWND , wrequestid : super::super::Foundation:: WPARAM , lpszdeviceclass : :: windows::core::PCWSTR , lpdeviceid : :: windows::core::PCWSTR , dwsize : u32 , dwsecure : u32 , lpszdestaddress : :: windows::core::PCWSTR , lpszappname : :: windows::core::PCWSTR , lpszcalledparty : :: windows::core::PCWSTR , lpszcomment : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "tapi32.dll""system" fn tapiRequestMediaCallW ( hwnd : super::super::Foundation:: HWND , wrequestid : super::super::Foundation:: WPARAM , lpszdeviceclass : :: windows::core::PCWSTR , lpdeviceid : :: windows::core::PCWSTR , dwsize : u32 , dwsecure : u32 , lpszdestaddress : :: windows::core::PCWSTR , lpszappname : :: windows::core::PCWSTR , lpszcalledparty : :: windows::core::PCWSTR , lpszcomment : :: windows::core::PCWSTR ) -> i32 ); tapiRequestMediaCallW(hwnd.into(), wrequestid.into(), lpszdeviceclass.into().abi(), lpdeviceid.into().abi(), dwsize, dwsecure, lpszdestaddress.into().abi(), lpszappname.into().abi(), lpszcalledparty.into().abi(), lpszcomment.into().abi()) } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] @@ -1942,7 +1942,7 @@ impl IEnumACDGroup { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumACDGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumACDGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumACDGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1997,7 +1997,7 @@ impl IEnumAddress { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumAddress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumAddress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumAddress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2052,7 +2052,7 @@ impl IEnumAgent { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumAgent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumAgent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumAgent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2107,7 +2107,7 @@ impl IEnumAgentHandler { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumAgentHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumAgentHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumAgentHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2162,7 +2162,7 @@ impl IEnumAgentSession { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumAgentSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumAgentSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumAgentSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2215,7 +2215,7 @@ impl IEnumBstr { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumBstr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumBstr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumBstr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2267,7 +2267,7 @@ impl IEnumCall { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumCall, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumCall, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumCall { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2322,7 +2322,7 @@ impl IEnumCallHub { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumCallHub, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumCallHub, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumCallHub { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2377,7 +2377,7 @@ impl IEnumCallingCard { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumCallingCard, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumCallingCard, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumCallingCard { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2430,7 +2430,7 @@ impl IEnumDialableAddrs { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDialableAddrs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDialableAddrs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDialableAddrs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2482,7 +2482,7 @@ impl IEnumDirectory { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDirectory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDirectory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDirectory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2537,7 +2537,7 @@ impl IEnumDirectoryObject { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDirectoryObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDirectoryObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDirectoryObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2592,7 +2592,7 @@ impl IEnumLocation { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumLocation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumLocation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumLocation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2647,7 +2647,7 @@ impl IEnumMcastScope { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumMcastScope, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumMcastScope, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumMcastScope { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2702,7 +2702,7 @@ impl IEnumPhone { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumPhone, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumPhone, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumPhone { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2757,7 +2757,7 @@ impl IEnumPluggableSuperclassInfo { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumPluggableSuperclassInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumPluggableSuperclassInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumPluggableSuperclassInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2812,7 +2812,7 @@ impl IEnumPluggableTerminalClassInfo { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumPluggableTerminalClassInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumPluggableTerminalClassInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumPluggableTerminalClassInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2867,7 +2867,7 @@ impl IEnumQueue { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumQueue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumQueue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2922,7 +2922,7 @@ impl IEnumStream { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2977,7 +2977,7 @@ impl IEnumSubStream { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSubStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSubStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSubStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3032,7 +3032,7 @@ impl IEnumTerminal { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumTerminal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTerminal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTerminal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3085,7 +3085,7 @@ impl IEnumTerminalClass { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumTerminalClass, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTerminalClass, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTerminalClass { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3177,7 +3177,7 @@ impl IMcastAddressAllocation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMcastAddressAllocation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMcastAddressAllocation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMcastAddressAllocation { fn eq(&self, other: &Self) -> bool { @@ -3285,7 +3285,7 @@ impl IMcastLeaseInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMcastLeaseInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMcastLeaseInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMcastLeaseInfo { fn eq(&self, other: &Self) -> bool { @@ -3361,7 +3361,7 @@ impl IMcastScope { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMcastScope, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMcastScope, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMcastScope { fn eq(&self, other: &Self) -> bool { @@ -3423,7 +3423,7 @@ impl ITACDGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITACDGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITACDGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITACDGroup { fn eq(&self, other: &Self) -> bool { @@ -3482,7 +3482,7 @@ impl ITACDGroupEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITACDGroupEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITACDGroupEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITACDGroupEvent { fn eq(&self, other: &Self) -> bool { @@ -3538,7 +3538,7 @@ impl ITAMMediaFormat { (::windows::core::Vtable::vtable(self).SetMediaFormat)(::windows::core::Vtable::as_raw(self), pmt).ok() } } -::windows::core::interface_hierarchy!(ITAMMediaFormat, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITAMMediaFormat, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITAMMediaFormat { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3598,7 +3598,7 @@ impl ITASRTerminalEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITASRTerminalEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITASRTerminalEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITASRTerminalEvent { fn eq(&self, other: &Self) -> bool { @@ -3737,7 +3737,7 @@ impl ITAddress { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAddress, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAddress, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAddress { fn eq(&self, other: &Self) -> bool { @@ -3975,7 +3975,7 @@ impl ITAddress2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAddress2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITAddress); +::windows::imp::interface_hierarchy!(ITAddress2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITAddress); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAddress2 { fn eq(&self, other: &Self) -> bool { @@ -4087,7 +4087,7 @@ impl ITAddressCapabilities { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAddressCapabilities, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAddressCapabilities, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAddressCapabilities { fn eq(&self, other: &Self) -> bool { @@ -4171,7 +4171,7 @@ impl ITAddressDeviceSpecificEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAddressDeviceSpecificEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAddressDeviceSpecificEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAddressDeviceSpecificEvent { fn eq(&self, other: &Self) -> bool { @@ -4241,7 +4241,7 @@ impl ITAddressEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAddressEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAddressEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAddressEvent { fn eq(&self, other: &Self) -> bool { @@ -4322,7 +4322,7 @@ impl ITAddressTranslation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAddressTranslation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAddressTranslation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAddressTranslation { fn eq(&self, other: &Self) -> bool { @@ -4400,7 +4400,7 @@ impl ITAddressTranslationInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAddressTranslationInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAddressTranslationInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAddressTranslationInfo { fn eq(&self, other: &Self) -> bool { @@ -4530,7 +4530,7 @@ impl ITAgent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAgent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAgent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAgent { fn eq(&self, other: &Self) -> bool { @@ -4612,7 +4612,7 @@ impl ITAgentEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAgentEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAgentEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAgentEvent { fn eq(&self, other: &Self) -> bool { @@ -4696,7 +4696,7 @@ impl ITAgentHandler { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAgentHandler, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAgentHandler, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAgentHandler { fn eq(&self, other: &Self) -> bool { @@ -4768,7 +4768,7 @@ impl ITAgentHandlerEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAgentHandlerEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAgentHandlerEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAgentHandlerEvent { fn eq(&self, other: &Self) -> bool { @@ -4891,7 +4891,7 @@ impl ITAgentSession { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAgentSession, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAgentSession, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAgentSession { fn eq(&self, other: &Self) -> bool { @@ -4973,7 +4973,7 @@ impl ITAgentSessionEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAgentSessionEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAgentSessionEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAgentSessionEvent { fn eq(&self, other: &Self) -> bool { @@ -5050,7 +5050,7 @@ impl ITAllocatorProperties { (::windows::core::Vtable::vtable(self).GetBufferSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITAllocatorProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITAllocatorProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITAllocatorProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5272,7 +5272,7 @@ impl ITAutomatedPhoneControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITAutomatedPhoneControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITAutomatedPhoneControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITAutomatedPhoneControl { fn eq(&self, other: &Self) -> bool { @@ -5409,7 +5409,7 @@ impl ITBasicAudioTerminal { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITBasicAudioTerminal, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITBasicAudioTerminal, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITBasicAudioTerminal { fn eq(&self, other: &Self) -> bool { @@ -5538,7 +5538,7 @@ impl ITBasicCallControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITBasicCallControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITBasicCallControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITBasicCallControl { fn eq(&self, other: &Self) -> bool { @@ -5718,7 +5718,7 @@ impl ITBasicCallControl2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITBasicCallControl2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITBasicCallControl); +::windows::imp::interface_hierarchy!(ITBasicCallControl2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITBasicCallControl); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITBasicCallControl2 { fn eq(&self, other: &Self) -> bool { @@ -5794,7 +5794,7 @@ impl ITCallHub { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallHub, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCallHub, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallHub { fn eq(&self, other: &Self) -> bool { @@ -5861,7 +5861,7 @@ impl ITCallHubEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallHubEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCallHubEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallHubEvent { fn eq(&self, other: &Self) -> bool { @@ -5967,7 +5967,7 @@ impl ITCallInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCallInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallInfo { fn eq(&self, other: &Self) -> bool { @@ -6103,7 +6103,7 @@ impl ITCallInfo2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallInfo2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITCallInfo); +::windows::imp::interface_hierarchy!(ITCallInfo2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITCallInfo); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallInfo2 { fn eq(&self, other: &Self) -> bool { @@ -6168,7 +6168,7 @@ impl ITCallInfoChangeEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallInfoChangeEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCallInfoChangeEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallInfoChangeEvent { fn eq(&self, other: &Self) -> bool { @@ -6247,7 +6247,7 @@ impl ITCallMediaEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallMediaEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCallMediaEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallMediaEvent { fn eq(&self, other: &Self) -> bool { @@ -6319,7 +6319,7 @@ impl ITCallNotificationEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallNotificationEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCallNotificationEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallNotificationEvent { fn eq(&self, other: &Self) -> bool { @@ -6386,7 +6386,7 @@ impl ITCallStateEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallStateEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCallStateEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallStateEvent { fn eq(&self, other: &Self) -> bool { @@ -6464,7 +6464,7 @@ impl ITCallingCard { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCallingCard, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCallingCard, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCallingCard { fn eq(&self, other: &Self) -> bool { @@ -6528,7 +6528,7 @@ impl ITCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCollection { fn eq(&self, other: &Self) -> bool { @@ -6599,7 +6599,7 @@ impl ITCollection2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCollection2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITCollection); +::windows::imp::interface_hierarchy!(ITCollection2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITCollection); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCollection2 { fn eq(&self, other: &Self) -> bool { @@ -6675,7 +6675,7 @@ impl ITCustomTone { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITCustomTone, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITCustomTone, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITCustomTone { fn eq(&self, other: &Self) -> bool { @@ -6747,7 +6747,7 @@ impl ITDetectTone { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDetectTone, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDetectTone, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDetectTone { fn eq(&self, other: &Self) -> bool { @@ -6818,7 +6818,7 @@ impl ITDigitDetectionEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDigitDetectionEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDigitDetectionEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDigitDetectionEvent { fn eq(&self, other: &Self) -> bool { @@ -6887,7 +6887,7 @@ impl ITDigitGenerationEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDigitGenerationEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDigitGenerationEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDigitGenerationEvent { fn eq(&self, other: &Self) -> bool { @@ -6959,7 +6959,7 @@ impl ITDigitsGatheredEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDigitsGatheredEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDigitsGatheredEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDigitsGatheredEvent { fn eq(&self, other: &Self) -> bool { @@ -7092,7 +7092,7 @@ impl ITDirectory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDirectory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDirectory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDirectory { fn eq(&self, other: &Self) -> bool { @@ -7208,7 +7208,7 @@ impl ITDirectoryObject { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDirectoryObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDirectoryObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDirectoryObject { fn eq(&self, other: &Self) -> bool { @@ -7327,7 +7327,7 @@ impl ITDirectoryObjectConference { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDirectoryObjectConference, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDirectoryObjectConference, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDirectoryObjectConference { fn eq(&self, other: &Self) -> bool { @@ -7398,7 +7398,7 @@ impl ITDirectoryObjectUser { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDirectoryObjectUser, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDirectoryObjectUser, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDirectoryObjectUser { fn eq(&self, other: &Self) -> bool { @@ -7452,7 +7452,7 @@ impl ITDispatchMapper { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITDispatchMapper, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITDispatchMapper, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITDispatchMapper { fn eq(&self, other: &Self) -> bool { @@ -7529,7 +7529,7 @@ impl ITFileTerminalEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITFileTerminalEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITFileTerminalEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITFileTerminalEvent { fn eq(&self, other: &Self) -> bool { @@ -7624,7 +7624,7 @@ impl ITFileTrack { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITFileTrack, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITFileTrack, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITFileTrack { fn eq(&self, other: &Self) -> bool { @@ -7715,7 +7715,7 @@ impl ITForwardInformation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITForwardInformation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITForwardInformation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITForwardInformation { fn eq(&self, other: &Self) -> bool { @@ -7803,7 +7803,7 @@ impl ITForwardInformation2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITForwardInformation2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITForwardInformation); +::windows::imp::interface_hierarchy!(ITForwardInformation2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITForwardInformation); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITForwardInformation2 { fn eq(&self, other: &Self) -> bool { @@ -7857,7 +7857,7 @@ impl ITILSConfig { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITILSConfig, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITILSConfig, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITILSConfig { fn eq(&self, other: &Self) -> bool { @@ -7908,7 +7908,7 @@ impl ITLegacyAddressMediaControl { (::windows::core::Vtable::vtable(self).SetDevConfig)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(pdeviceclass), pdeviceconfig.len() as _, ::core::mem::transmute(pdeviceconfig.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ITLegacyAddressMediaControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITLegacyAddressMediaControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITLegacyAddressMediaControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7969,7 +7969,7 @@ impl ITLegacyAddressMediaControl2 { (::windows::core::Vtable::vtable(self).ConfigDialogEdit)(::windows::core::Vtable::as_raw(self), hwndowner.into(), ::core::mem::transmute_copy(pdeviceclass), pdeviceconfigin.len() as _, ::core::mem::transmute(pdeviceconfigin.as_ptr()), pdwsizeout, ppdeviceconfigout).ok() } } -::windows::core::interface_hierarchy!(ITLegacyAddressMediaControl2, ::windows::core::IUnknown, ITLegacyAddressMediaControl); +::windows::imp::interface_hierarchy!(ITLegacyAddressMediaControl2, ::windows::core::IUnknown, ITLegacyAddressMediaControl); impl ::core::cmp::PartialEq for ITLegacyAddressMediaControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8028,7 +8028,7 @@ impl ITLegacyCallMediaControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITLegacyCallMediaControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITLegacyCallMediaControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITLegacyCallMediaControl { fn eq(&self, other: &Self) -> bool { @@ -8140,7 +8140,7 @@ impl ITLegacyCallMediaControl2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITLegacyCallMediaControl2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITLegacyCallMediaControl); +::windows::imp::interface_hierarchy!(ITLegacyCallMediaControl2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITLegacyCallMediaControl); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITLegacyCallMediaControl2 { fn eq(&self, other: &Self) -> bool { @@ -8212,7 +8212,7 @@ impl ITLegacyWaveSupport { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITLegacyWaveSupport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITLegacyWaveSupport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITLegacyWaveSupport { fn eq(&self, other: &Self) -> bool { @@ -8300,7 +8300,7 @@ impl ITLocationInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITLocationInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITLocationInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITLocationInfo { fn eq(&self, other: &Self) -> bool { @@ -8379,7 +8379,7 @@ impl ITMSPAddress { (::windows::core::Vtable::vtable(self).GetEvent)(::windows::core::Vtable::as_raw(self), pdwsize, peventbuffer).ok() } } -::windows::core::interface_hierarchy!(ITMSPAddress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITMSPAddress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITMSPAddress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8434,7 +8434,7 @@ impl ITMediaControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITMediaControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITMediaControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITMediaControl { fn eq(&self, other: &Self) -> bool { @@ -8492,7 +8492,7 @@ impl ITMediaPlayback { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITMediaPlayback, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITMediaPlayback, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITMediaPlayback { fn eq(&self, other: &Self) -> bool { @@ -8550,7 +8550,7 @@ impl ITMediaRecord { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITMediaRecord, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITMediaRecord, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITMediaRecord { fn eq(&self, other: &Self) -> bool { @@ -8605,7 +8605,7 @@ impl ITMediaSupport { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITMediaSupport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITMediaSupport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITMediaSupport { fn eq(&self, other: &Self) -> bool { @@ -8685,7 +8685,7 @@ impl ITMultiTrackTerminal { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITMultiTrackTerminal, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITMultiTrackTerminal, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITMultiTrackTerminal { fn eq(&self, other: &Self) -> bool { @@ -8880,7 +8880,7 @@ impl ITPhone { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITPhone, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITPhone, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITPhone { fn eq(&self, other: &Self) -> bool { @@ -8992,7 +8992,7 @@ impl ITPhoneDeviceSpecificEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITPhoneDeviceSpecificEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITPhoneDeviceSpecificEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITPhoneDeviceSpecificEvent { fn eq(&self, other: &Self) -> bool { @@ -9082,7 +9082,7 @@ impl ITPhoneEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITPhoneEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITPhoneEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITPhoneEvent { fn eq(&self, other: &Self) -> bool { @@ -9168,7 +9168,7 @@ impl ITPluggableTerminalClassInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITPluggableTerminalClassInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITPluggableTerminalClassInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITPluggableTerminalClassInfo { fn eq(&self, other: &Self) -> bool { @@ -9220,7 +9220,7 @@ impl ITPluggableTerminalEventSink { (::windows::core::Vtable::vtable(self).FireEvent)(::windows::core::Vtable::as_raw(self), pmspeventinfo).ok() } } -::windows::core::interface_hierarchy!(ITPluggableTerminalEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITPluggableTerminalEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITPluggableTerminalEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9266,7 +9266,7 @@ impl ITPluggableTerminalEventSinkRegistration { (::windows::core::Vtable::vtable(self).UnregisterSink)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITPluggableTerminalEventSinkRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITPluggableTerminalEventSinkRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITPluggableTerminalEventSinkRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9312,7 +9312,7 @@ impl ITPluggableTerminalSuperclassInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITPluggableTerminalSuperclassInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITPluggableTerminalSuperclassInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITPluggableTerminalSuperclassInfo { fn eq(&self, other: &Self) -> bool { @@ -9385,7 +9385,7 @@ impl ITPrivateEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITPrivateEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITPrivateEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITPrivateEvent { fn eq(&self, other: &Self) -> bool { @@ -9459,7 +9459,7 @@ impl ITQOSEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITQOSEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITQOSEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITQOSEvent { fn eq(&self, other: &Self) -> bool { @@ -9555,7 +9555,7 @@ impl ITQueue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITQueue { fn eq(&self, other: &Self) -> bool { @@ -9620,7 +9620,7 @@ impl ITQueueEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITQueueEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITQueueEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITQueueEvent { fn eq(&self, other: &Self) -> bool { @@ -9690,7 +9690,7 @@ impl ITRendezvous { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITRendezvous, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITRendezvous, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITRendezvous { fn eq(&self, other: &Self) -> bool { @@ -9749,7 +9749,7 @@ impl ITRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITRequest { fn eq(&self, other: &Self) -> bool { @@ -9817,7 +9817,7 @@ impl ITRequestEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITRequestEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITRequestEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITRequestEvent { fn eq(&self, other: &Self) -> bool { @@ -9908,7 +9908,7 @@ impl ITScriptableAudioFormat { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITScriptableAudioFormat, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITScriptableAudioFormat, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITScriptableAudioFormat { fn eq(&self, other: &Self) -> bool { @@ -9967,7 +9967,7 @@ impl ITStaticAudioTerminal { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITStaticAudioTerminal, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITStaticAudioTerminal, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITStaticAudioTerminal { fn eq(&self, other: &Self) -> bool { @@ -10058,7 +10058,7 @@ impl ITStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITStream { fn eq(&self, other: &Self) -> bool { @@ -10144,7 +10144,7 @@ impl ITStreamControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITStreamControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITStreamControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITStreamControl { fn eq(&self, other: &Self) -> bool { @@ -10241,7 +10241,7 @@ impl ITSubStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITSubStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITSubStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITSubStream { fn eq(&self, other: &Self) -> bool { @@ -10328,7 +10328,7 @@ impl ITSubStreamControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITSubStreamControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITSubStreamControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITSubStreamControl { fn eq(&self, other: &Self) -> bool { @@ -10475,7 +10475,7 @@ impl ITTAPI { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTAPI, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITTAPI, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTAPI { fn eq(&self, other: &Self) -> bool { @@ -10668,7 +10668,7 @@ impl ITTAPI2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTAPI2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITTAPI); +::windows::imp::interface_hierarchy!(ITTAPI2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITTAPI); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTAPI2 { fn eq(&self, other: &Self) -> bool { @@ -10730,7 +10730,7 @@ impl ITTAPICallCenter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTAPICallCenter, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITTAPICallCenter, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTAPICallCenter { fn eq(&self, other: &Self) -> bool { @@ -10777,7 +10777,7 @@ pub struct ITTAPIDispatchEventNotification(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTAPIDispatchEventNotification {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTAPIDispatchEventNotification, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITTAPIDispatchEventNotification, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTAPIDispatchEventNotification { fn eq(&self, other: &Self) -> bool { @@ -10825,7 +10825,7 @@ impl ITTAPIEventNotification { (::windows::core::Vtable::vtable(self).Event)(::windows::core::Vtable::as_raw(self), tapievent, pevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITTAPIEventNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITTAPIEventNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITTAPIEventNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10885,7 +10885,7 @@ impl ITTAPIObjectEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTAPIObjectEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITTAPIObjectEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTAPIObjectEvent { fn eq(&self, other: &Self) -> bool { @@ -10964,7 +10964,7 @@ impl ITTAPIObjectEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTAPIObjectEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITTAPIObjectEvent); +::windows::imp::interface_hierarchy!(ITTAPIObjectEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITTAPIObjectEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTAPIObjectEvent2 { fn eq(&self, other: &Self) -> bool { @@ -11027,7 +11027,7 @@ impl ITTTSTerminalEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTTSTerminalEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITTTSTerminalEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTTSTerminalEvent { fn eq(&self, other: &Self) -> bool { @@ -11103,7 +11103,7 @@ impl ITTerminal { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTerminal, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITTerminal, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTerminal { fn eq(&self, other: &Self) -> bool { @@ -11184,7 +11184,7 @@ impl ITTerminalSupport { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTerminalSupport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITTerminalSupport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTerminalSupport { fn eq(&self, other: &Self) -> bool { @@ -11297,7 +11297,7 @@ impl ITTerminalSupport2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITTerminalSupport2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITTerminalSupport); +::windows::imp::interface_hierarchy!(ITTerminalSupport2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITTerminalSupport); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITTerminalSupport2 { fn eq(&self, other: &Self) -> bool { @@ -11368,7 +11368,7 @@ impl ITToneDetectionEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITToneDetectionEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITToneDetectionEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITToneDetectionEvent { fn eq(&self, other: &Self) -> bool { @@ -11434,7 +11434,7 @@ impl ITToneTerminalEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITToneTerminalEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITToneTerminalEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITToneTerminalEvent { fn eq(&self, other: &Self) -> bool { @@ -11523,7 +11523,7 @@ impl ITnef { (::windows::core::Vtable::vtable(self).FinishComponent)(::windows::core::Vtable::as_raw(self), ulflags, ulcomponentid, lpcustomproplist, lpcustomprops, lpproplist, lpproblems).ok() } } -::windows::core::interface_hierarchy!(ITnef, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITnef, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITnef { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Usb/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Usb/mod.rs index 059bc18411..6b9f0a5fa8 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Usb/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn WinUsb_AbortPipe(interfacehandle: P0, pipeid: u8) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_AbortPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_AbortPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 ) -> super::super::Foundation:: BOOL ); WinUsb_AbortPipe(interfacehandle.into(), pipeid) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn WinUsb_ControlTransfer(interfacehandle: P0, setuppacket: WINUS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_ControlTransfer ( interfacehandle : WINUSB_INTERFACE_HANDLE , setuppacket : WINUSB_SETUP_PACKET , buffer : *mut u8 , bufferlength : u32 , lengthtransferred : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_ControlTransfer ( interfacehandle : WINUSB_INTERFACE_HANDLE , setuppacket : WINUSB_SETUP_PACKET , buffer : *mut u8 , bufferlength : u32 , lengthtransferred : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WinUsb_ControlTransfer(interfacehandle.into(), ::core::mem::transmute(setuppacket), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lengthtransferred.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn WinUsb_FlushPipe(interfacehandle: P0, pipeid: u8) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_FlushPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_FlushPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 ) -> super::super::Foundation:: BOOL ); WinUsb_FlushPipe(interfacehandle.into(), pipeid) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -35,14 +35,14 @@ pub unsafe fn WinUsb_Free(interfacehandle: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_Free ( interfacehandle : WINUSB_INTERFACE_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_Free ( interfacehandle : WINUSB_INTERFACE_HANDLE ) -> super::super::Foundation:: BOOL ); WinUsb_Free(interfacehandle.into()) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinUsb_GetAdjustedFrameNumber(currentframenumber: *mut u32, timestamp: i64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetAdjustedFrameNumber ( currentframenumber : *mut u32 , timestamp : i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetAdjustedFrameNumber ( currentframenumber : *mut u32 , timestamp : i64 ) -> super::super::Foundation:: BOOL ); WinUsb_GetAdjustedFrameNumber(currentframenumber, timestamp) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -52,7 +52,7 @@ pub unsafe fn WinUsb_GetAssociatedInterface(interfacehandle: P0, associatedi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetAssociatedInterface ( interfacehandle : WINUSB_INTERFACE_HANDLE , associatedinterfaceindex : u8 , associatedinterfacehandle : *mut WINUSB_INTERFACE_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetAssociatedInterface ( interfacehandle : WINUSB_INTERFACE_HANDLE , associatedinterfaceindex : u8 , associatedinterfacehandle : *mut WINUSB_INTERFACE_HANDLE ) -> super::super::Foundation:: BOOL ); WinUsb_GetAssociatedInterface(interfacehandle.into(), associatedinterfaceindex, associatedinterfacehandle) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -62,7 +62,7 @@ pub unsafe fn WinUsb_GetCurrentAlternateSetting(interfacehandle: P0, setting where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetCurrentAlternateSetting ( interfacehandle : WINUSB_INTERFACE_HANDLE , settingnumber : *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetCurrentAlternateSetting ( interfacehandle : WINUSB_INTERFACE_HANDLE , settingnumber : *mut u8 ) -> super::super::Foundation:: BOOL ); WinUsb_GetCurrentAlternateSetting(interfacehandle.into(), settingnumber) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -72,7 +72,7 @@ pub unsafe fn WinUsb_GetCurrentFrameNumber(interfacehandle: P0, currentframe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetCurrentFrameNumber ( interfacehandle : WINUSB_INTERFACE_HANDLE , currentframenumber : *mut u32 , timestamp : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetCurrentFrameNumber ( interfacehandle : WINUSB_INTERFACE_HANDLE , currentframenumber : *mut u32 , timestamp : *mut i64 ) -> super::super::Foundation:: BOOL ); WinUsb_GetCurrentFrameNumber(interfacehandle.into(), currentframenumber, timestamp) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -82,7 +82,7 @@ pub unsafe fn WinUsb_GetCurrentFrameNumberAndQpc(interfacehandle: P0, frameq where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetCurrentFrameNumberAndQpc ( interfacehandle : WINUSB_INTERFACE_HANDLE , frameqpcinfo : *const USB_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetCurrentFrameNumberAndQpc ( interfacehandle : WINUSB_INTERFACE_HANDLE , frameqpcinfo : *const USB_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC_INFORMATION ) -> super::super::Foundation:: BOOL ); WinUsb_GetCurrentFrameNumberAndQpc(interfacehandle.into(), frameqpcinfo) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -92,7 +92,7 @@ pub unsafe fn WinUsb_GetDescriptor(interfacehandle: P0, descriptortype: u8, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetDescriptor ( interfacehandle : WINUSB_INTERFACE_HANDLE , descriptortype : u8 , index : u8 , languageid : u16 , buffer : *mut u8 , bufferlength : u32 , lengthtransferred : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetDescriptor ( interfacehandle : WINUSB_INTERFACE_HANDLE , descriptortype : u8 , index : u8 , languageid : u16 , buffer : *mut u8 , bufferlength : u32 , lengthtransferred : *mut u32 ) -> super::super::Foundation:: BOOL ); WinUsb_GetDescriptor(interfacehandle.into(), descriptortype, index, languageid, ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), lengthtransferred) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -103,7 +103,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetOverlappedResult ( interfacehandle : WINUSB_INTERFACE_HANDLE , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpnumberofbytestransferred : *mut u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetOverlappedResult ( interfacehandle : WINUSB_INTERFACE_HANDLE , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpnumberofbytestransferred : *mut u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WinUsb_GetOverlappedResult(interfacehandle.into(), lpoverlapped, lpnumberofbytestransferred, bwait.into()) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -113,7 +113,7 @@ pub unsafe fn WinUsb_GetPipePolicy(interfacehandle: P0, pipeid: u8, policyty where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetPipePolicy ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , policytype : WINUSB_PIPE_POLICY , valuelength : *mut u32 , value : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetPipePolicy ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , policytype : WINUSB_PIPE_POLICY , valuelength : *mut u32 , value : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinUsb_GetPipePolicy(interfacehandle.into(), pipeid, policytype, valuelength, value) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -123,7 +123,7 @@ pub unsafe fn WinUsb_GetPowerPolicy(interfacehandle: P0, policytype: WINUSB_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_GetPowerPolicy ( interfacehandle : WINUSB_INTERFACE_HANDLE , policytype : WINUSB_POWER_POLICY , valuelength : *mut u32 , value : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_GetPowerPolicy ( interfacehandle : WINUSB_INTERFACE_HANDLE , policytype : WINUSB_POWER_POLICY , valuelength : *mut u32 , value : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinUsb_GetPowerPolicy(interfacehandle.into(), policytype, valuelength, value) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -133,19 +133,19 @@ pub unsafe fn WinUsb_Initialize(devicehandle: P0, interfacehandle: *mut WINU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_Initialize ( devicehandle : super::super::Foundation:: HANDLE , interfacehandle : *mut WINUSB_INTERFACE_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_Initialize ( devicehandle : super::super::Foundation:: HANDLE , interfacehandle : *mut WINUSB_INTERFACE_HANDLE ) -> super::super::Foundation:: BOOL ); WinUsb_Initialize(devicehandle.into(), interfacehandle) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`*"] #[inline] pub unsafe fn WinUsb_ParseConfigurationDescriptor(configurationdescriptor: *const USB_CONFIGURATION_DESCRIPTOR, startposition: *const ::core::ffi::c_void, interfacenumber: i32, alternatesetting: i32, interfaceclass: i32, interfacesubclass: i32, interfaceprotocol: i32) -> *mut USB_INTERFACE_DESCRIPTOR { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_ParseConfigurationDescriptor ( configurationdescriptor : *const USB_CONFIGURATION_DESCRIPTOR , startposition : *const ::core::ffi::c_void , interfacenumber : i32 , alternatesetting : i32 , interfaceclass : i32 , interfacesubclass : i32 , interfaceprotocol : i32 ) -> *mut USB_INTERFACE_DESCRIPTOR ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_ParseConfigurationDescriptor ( configurationdescriptor : *const USB_CONFIGURATION_DESCRIPTOR , startposition : *const ::core::ffi::c_void , interfacenumber : i32 , alternatesetting : i32 , interfaceclass : i32 , interfacesubclass : i32 , interfaceprotocol : i32 ) -> *mut USB_INTERFACE_DESCRIPTOR ); WinUsb_ParseConfigurationDescriptor(configurationdescriptor, startposition, interfacenumber, alternatesetting, interfaceclass, interfacesubclass, interfaceprotocol) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`*"] #[inline] pub unsafe fn WinUsb_ParseDescriptors(descriptorbuffer: *const ::core::ffi::c_void, totallength: u32, startposition: *const ::core::ffi::c_void, descriptortype: i32) -> *mut USB_COMMON_DESCRIPTOR { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_ParseDescriptors ( descriptorbuffer : *const ::core::ffi::c_void , totallength : u32 , startposition : *const ::core::ffi::c_void , descriptortype : i32 ) -> *mut USB_COMMON_DESCRIPTOR ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_ParseDescriptors ( descriptorbuffer : *const ::core::ffi::c_void , totallength : u32 , startposition : *const ::core::ffi::c_void , descriptortype : i32 ) -> *mut USB_COMMON_DESCRIPTOR ); WinUsb_ParseDescriptors(descriptorbuffer, totallength, startposition, descriptortype) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -155,7 +155,7 @@ pub unsafe fn WinUsb_QueryDeviceInformation(interfacehandle: P0, information where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_QueryDeviceInformation ( interfacehandle : WINUSB_INTERFACE_HANDLE , informationtype : u32 , bufferlength : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_QueryDeviceInformation ( interfacehandle : WINUSB_INTERFACE_HANDLE , informationtype : u32 , bufferlength : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinUsb_QueryDeviceInformation(interfacehandle.into(), informationtype, bufferlength, buffer) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -165,7 +165,7 @@ pub unsafe fn WinUsb_QueryInterfaceSettings(interfacehandle: P0, alternatein where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_QueryInterfaceSettings ( interfacehandle : WINUSB_INTERFACE_HANDLE , alternateinterfacenumber : u8 , usbaltinterfacedescriptor : *mut USB_INTERFACE_DESCRIPTOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_QueryInterfaceSettings ( interfacehandle : WINUSB_INTERFACE_HANDLE , alternateinterfacenumber : u8 , usbaltinterfacedescriptor : *mut USB_INTERFACE_DESCRIPTOR ) -> super::super::Foundation:: BOOL ); WinUsb_QueryInterfaceSettings(interfacehandle.into(), alternateinterfacenumber, usbaltinterfacedescriptor) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -175,7 +175,7 @@ pub unsafe fn WinUsb_QueryPipe(interfacehandle: P0, alternateinterfacenumber where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_QueryPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , alternateinterfacenumber : u8 , pipeindex : u8 , pipeinformation : *mut WINUSB_PIPE_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_QueryPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , alternateinterfacenumber : u8 , pipeindex : u8 , pipeinformation : *mut WINUSB_PIPE_INFORMATION ) -> super::super::Foundation:: BOOL ); WinUsb_QueryPipe(interfacehandle.into(), alternateinterfacenumber, pipeindex, pipeinformation) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -185,14 +185,14 @@ pub unsafe fn WinUsb_QueryPipeEx(interfacehandle: P0, alternatesettingnumber where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_QueryPipeEx ( interfacehandle : WINUSB_INTERFACE_HANDLE , alternatesettingnumber : u8 , pipeindex : u8 , pipeinformationex : *mut WINUSB_PIPE_INFORMATION_EX ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_QueryPipeEx ( interfacehandle : WINUSB_INTERFACE_HANDLE , alternatesettingnumber : u8 , pipeindex : u8 , pipeinformationex : *mut WINUSB_PIPE_INFORMATION_EX ) -> super::super::Foundation:: BOOL ); WinUsb_QueryPipeEx(interfacehandle.into(), alternatesettingnumber, pipeindex, pipeinformationex) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn WinUsb_ReadIsochPipe(bufferhandle: *const ::core::ffi::c_void, offset: u32, length: u32, framenumber: *mut u32, isopacketdescriptors: &mut [USBD_ISO_PACKET_DESCRIPTOR], overlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_ReadIsochPipe ( bufferhandle : *const ::core::ffi::c_void , offset : u32 , length : u32 , framenumber : *mut u32 , numberofpackets : u32 , isopacketdescriptors : *mut USBD_ISO_PACKET_DESCRIPTOR , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_ReadIsochPipe ( bufferhandle : *const ::core::ffi::c_void , offset : u32 , length : u32 , framenumber : *mut u32 , numberofpackets : u32 , isopacketdescriptors : *mut USBD_ISO_PACKET_DESCRIPTOR , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WinUsb_ReadIsochPipe(bufferhandle, offset, length, framenumber, isopacketdescriptors.len() as _, ::core::mem::transmute(isopacketdescriptors.as_ptr()), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -202,7 +202,7 @@ pub unsafe fn WinUsb_ReadIsochPipeAsap(bufferhandle: *const ::core::ffi::c_v where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_ReadIsochPipeAsap ( bufferhandle : *const ::core::ffi::c_void , offset : u32 , length : u32 , continuestream : super::super::Foundation:: BOOL , numberofpackets : u32 , isopacketdescriptors : *mut USBD_ISO_PACKET_DESCRIPTOR , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_ReadIsochPipeAsap ( bufferhandle : *const ::core::ffi::c_void , offset : u32 , length : u32 , continuestream : super::super::Foundation:: BOOL , numberofpackets : u32 , isopacketdescriptors : *mut USBD_ISO_PACKET_DESCRIPTOR , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WinUsb_ReadIsochPipeAsap(bufferhandle, offset, length, continuestream.into(), isopacketdescriptors.len() as _, ::core::mem::transmute(isopacketdescriptors.as_ptr()), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -212,7 +212,7 @@ pub unsafe fn WinUsb_ReadPipe(interfacehandle: P0, pipeid: u8, buffer: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_ReadPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , buffer : *mut u8 , bufferlength : u32 , lengthtransferred : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_ReadPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , buffer : *mut u8 , bufferlength : u32 , lengthtransferred : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WinUsb_ReadPipe(interfacehandle.into(), pipeid, ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lengthtransferred.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -222,7 +222,7 @@ pub unsafe fn WinUsb_RegisterIsochBuffer(interfacehandle: P0, pipeid: u8, bu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_RegisterIsochBuffer ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , buffer : *mut u8 , bufferlength : u32 , isochbufferhandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_RegisterIsochBuffer ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , buffer : *mut u8 , bufferlength : u32 , isochbufferhandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinUsb_RegisterIsochBuffer(interfacehandle.into(), pipeid, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, isochbufferhandle) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -232,7 +232,7 @@ pub unsafe fn WinUsb_ResetPipe(interfacehandle: P0, pipeid: u8) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_ResetPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_ResetPipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 ) -> super::super::Foundation:: BOOL ); WinUsb_ResetPipe(interfacehandle.into(), pipeid) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -242,7 +242,7 @@ pub unsafe fn WinUsb_SetCurrentAlternateSetting(interfacehandle: P0, setting where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_SetCurrentAlternateSetting ( interfacehandle : WINUSB_INTERFACE_HANDLE , settingnumber : u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_SetCurrentAlternateSetting ( interfacehandle : WINUSB_INTERFACE_HANDLE , settingnumber : u8 ) -> super::super::Foundation:: BOOL ); WinUsb_SetCurrentAlternateSetting(interfacehandle.into(), settingnumber) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -252,7 +252,7 @@ pub unsafe fn WinUsb_SetPipePolicy(interfacehandle: P0, pipeid: u8, policyty where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_SetPipePolicy ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , policytype : WINUSB_PIPE_POLICY , valuelength : u32 , value : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_SetPipePolicy ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , policytype : WINUSB_PIPE_POLICY , valuelength : u32 , value : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinUsb_SetPipePolicy(interfacehandle.into(), pipeid, policytype, valuelength, value) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -262,7 +262,7 @@ pub unsafe fn WinUsb_SetPowerPolicy(interfacehandle: P0, policytype: WINUSB_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_SetPowerPolicy ( interfacehandle : WINUSB_INTERFACE_HANDLE , policytype : WINUSB_POWER_POLICY , valuelength : u32 , value : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_SetPowerPolicy ( interfacehandle : WINUSB_INTERFACE_HANDLE , policytype : WINUSB_POWER_POLICY , valuelength : u32 , value : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinUsb_SetPowerPolicy(interfacehandle.into(), policytype, valuelength, value) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -272,7 +272,7 @@ pub unsafe fn WinUsb_StartTrackingForTimeSync(interfacehandle: P0, starttrac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_StartTrackingForTimeSync ( interfacehandle : WINUSB_INTERFACE_HANDLE , starttrackinginfo : *const USB_START_TRACKING_FOR_TIME_SYNC_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_StartTrackingForTimeSync ( interfacehandle : WINUSB_INTERFACE_HANDLE , starttrackinginfo : *const USB_START_TRACKING_FOR_TIME_SYNC_INFORMATION ) -> super::super::Foundation:: BOOL ); WinUsb_StartTrackingForTimeSync(interfacehandle.into(), starttrackinginfo) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] @@ -282,21 +282,21 @@ pub unsafe fn WinUsb_StopTrackingForTimeSync(interfacehandle: P0, stoptracki where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_StopTrackingForTimeSync ( interfacehandle : WINUSB_INTERFACE_HANDLE , stoptrackinginfo : *const USB_STOP_TRACKING_FOR_TIME_SYNC_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_StopTrackingForTimeSync ( interfacehandle : WINUSB_INTERFACE_HANDLE , stoptrackinginfo : *const USB_STOP_TRACKING_FOR_TIME_SYNC_INFORMATION ) -> super::super::Foundation:: BOOL ); WinUsb_StopTrackingForTimeSync(interfacehandle.into(), stoptrackinginfo) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinUsb_UnregisterIsochBuffer(isochbufferhandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_UnregisterIsochBuffer ( isochbufferhandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_UnregisterIsochBuffer ( isochbufferhandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinUsb_UnregisterIsochBuffer(isochbufferhandle) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn WinUsb_WriteIsochPipe(bufferhandle: *const ::core::ffi::c_void, offset: u32, length: u32, framenumber: *mut u32, overlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_WriteIsochPipe ( bufferhandle : *const ::core::ffi::c_void , offset : u32 , length : u32 , framenumber : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_WriteIsochPipe ( bufferhandle : *const ::core::ffi::c_void , offset : u32 , length : u32 , framenumber : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WinUsb_WriteIsochPipe(bufferhandle, offset, length, framenumber, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -306,7 +306,7 @@ pub unsafe fn WinUsb_WriteIsochPipeAsap(bufferhandle: *const ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_WriteIsochPipeAsap ( bufferhandle : *const ::core::ffi::c_void , offset : u32 , length : u32 , continuestream : super::super::Foundation:: BOOL , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_WriteIsochPipeAsap ( bufferhandle : *const ::core::ffi::c_void , offset : u32 , length : u32 , continuestream : super::super::Foundation:: BOOL , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WinUsb_WriteIsochPipeAsap(bufferhandle, offset, length, continuestream.into(), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -316,7 +316,7 @@ pub unsafe fn WinUsb_WritePipe(interfacehandle: P0, pipeid: u8, buffer: &[u8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winusb.dll""system" fn WinUsb_WritePipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , buffer : *const u8 , bufferlength : u32 , lengthtransferred : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winusb.dll""system" fn WinUsb_WritePipe ( interfacehandle : WINUSB_INTERFACE_HANDLE , pipeid : u8 , buffer : *const u8 , bufferlength : u32 , lengthtransferred : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WinUsb_WritePipe(interfacehandle.into(), pipeid, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ::core::mem::transmute(lengthtransferred.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_Usb\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs index 81e6cf6283..b5ef7d6e4b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -1,13 +1,13 @@ #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDAllocateLinkedMemory(pparent: *mut ::core::ffi::c_void, cbsize: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDAllocateLinkedMemory ( pparent : *mut ::core::ffi::c_void , cbsize : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDAllocateLinkedMemory ( pparent : *mut ::core::ffi::c_void , cbsize : usize ) -> *mut ::core::ffi::c_void ); WSDAllocateLinkedMemory(pparent, cbsize) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDAttachLinkedMemory(pparent: *mut ::core::ffi::c_void, pchild: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDAttachLinkedMemory ( pparent : *mut ::core::ffi::c_void , pchild : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDAttachLinkedMemory ( pparent : *mut ::core::ffi::c_void , pchild : *mut ::core::ffi::c_void ) -> ( ) ); WSDAttachLinkedMemory(pparent, pchild) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceHost ( pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , ppdevicehost : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceHost ( pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , ppdevicehost : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDeviceHost(pszlocalid.into().abi(), pcontext.into().abi(), &mut result__).from_abi(result__) } @@ -28,7 +28,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceHost2 ( pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , pconfigparams : *const WSD_CONFIG_PARAM , dwconfigparamcount : u32 , ppdevicehost : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceHost2 ( pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , pconfigparams : *const WSD_CONFIG_PARAM , dwconfigparamcount : u32 , ppdevicehost : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDeviceHost2(pszlocalid.into().abi(), pcontext.into().abi(), ::core::mem::transmute(pconfigparams.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pconfigparams.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -39,7 +39,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceHostAdvanced ( pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , pphostaddresses : *const * mut::core::ffi::c_void , dwhostaddresscount : u32 , ppdevicehost : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceHostAdvanced ( pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , pphostaddresses : *const * mut::core::ffi::c_void , dwhostaddresscount : u32 , ppdevicehost : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDeviceHostAdvanced(pszlocalid.into().abi(), pcontext.into().abi(), ::core::mem::transmute(pphostaddresses.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pphostaddresses.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -51,7 +51,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceProxy ( pszdeviceid : :: windows::core::PCWSTR , pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , ppdeviceproxy : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceProxy ( pszdeviceid : :: windows::core::PCWSTR , pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , ppdeviceproxy : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDeviceProxy(pszdeviceid.into().abi(), pszlocalid.into().abi(), pcontext.into().abi(), &mut result__).from_abi(result__) } @@ -63,7 +63,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceProxy2 ( pszdeviceid : :: windows::core::PCWSTR , pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , pconfigparams : *const WSD_CONFIG_PARAM , dwconfigparamcount : u32 , ppdeviceproxy : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceProxy2 ( pszdeviceid : :: windows::core::PCWSTR , pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , pconfigparams : *const WSD_CONFIG_PARAM , dwconfigparamcount : u32 , ppdeviceproxy : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDeviceProxy2(pszdeviceid.into().abi(), pszlocalid.into().abi(), pcontext.into().abi(), ::core::mem::transmute(pconfigparams.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pconfigparams.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -76,7 +76,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceProxyAdvanced ( pszdeviceid : :: windows::core::PCWSTR , pdeviceaddress : * mut::core::ffi::c_void , pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , ppdeviceproxy : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDeviceProxyAdvanced ( pszdeviceid : :: windows::core::PCWSTR , pdeviceaddress : * mut::core::ffi::c_void , pszlocalid : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , ppdeviceproxy : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDeviceProxyAdvanced(pszdeviceid.into().abi(), pdeviceaddress.into().abi(), pszlocalid.into().abi(), pcontext.into().abi(), &mut result__).from_abi(result__) } @@ -86,7 +86,7 @@ pub unsafe fn WSDCreateDiscoveryProvider(pcontext: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDiscoveryProvider ( pcontext : * mut::core::ffi::c_void , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDiscoveryProvider ( pcontext : * mut::core::ffi::c_void , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDiscoveryProvider(pcontext.into().abi(), &mut result__).from_abi(result__) } @@ -96,7 +96,7 @@ pub unsafe fn WSDCreateDiscoveryProvider2(pcontext: P0, pconfigparams: ::cor where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDiscoveryProvider2 ( pcontext : * mut::core::ffi::c_void , pconfigparams : *const WSD_CONFIG_PARAM , dwconfigparamcount : u32 , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDiscoveryProvider2 ( pcontext : * mut::core::ffi::c_void , pconfigparams : *const WSD_CONFIG_PARAM , dwconfigparamcount : u32 , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDiscoveryProvider2(pcontext.into().abi(), ::core::mem::transmute(pconfigparams.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pconfigparams.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -106,7 +106,7 @@ pub unsafe fn WSDCreateDiscoveryPublisher(pcontext: P0) -> ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDiscoveryPublisher ( pcontext : * mut::core::ffi::c_void , pppublisher : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDiscoveryPublisher ( pcontext : * mut::core::ffi::c_void , pppublisher : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDiscoveryPublisher(pcontext.into().abi(), &mut result__).from_abi(result__) } @@ -116,55 +116,55 @@ pub unsafe fn WSDCreateDiscoveryPublisher2(pcontext: P0, pconfigparams: ::co where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateDiscoveryPublisher2 ( pcontext : * mut::core::ffi::c_void , pconfigparams : *const WSD_CONFIG_PARAM , dwconfigparamcount : u32 , pppublisher : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateDiscoveryPublisher2 ( pcontext : * mut::core::ffi::c_void , pconfigparams : *const WSD_CONFIG_PARAM , dwconfigparamcount : u32 , pppublisher : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateDiscoveryPublisher2(pcontext.into().abi(), ::core::mem::transmute(pconfigparams.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pconfigparams.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDCreateHttpAddress() -> ::windows::core::Result { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateHttpAddress ( ppaddress : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateHttpAddress ( ppaddress : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateHttpAddress(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDCreateHttpMessageParameters() -> ::windows::core::Result { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateHttpMessageParameters ( pptxparams : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateHttpMessageParameters ( pptxparams : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateHttpMessageParameters(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDCreateOutboundAttachment() -> ::windows::core::Result { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateOutboundAttachment ( ppattachment : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateOutboundAttachment ( ppattachment : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateOutboundAttachment(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDCreateUdpAddress() -> ::windows::core::Result { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateUdpAddress ( ppaddress : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateUdpAddress ( ppaddress : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateUdpAddress(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDCreateUdpMessageParameters() -> ::windows::core::Result { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDCreateUdpMessageParameters ( pptxparams : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDCreateUdpMessageParameters ( pptxparams : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDCreateUdpMessageParameters(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDDetachLinkedMemory(pvoid: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDDetachLinkedMemory ( pvoid : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDDetachLinkedMemory ( pvoid : *mut ::core::ffi::c_void ) -> ( ) ); WSDDetachLinkedMemory(pvoid) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDFreeLinkedMemory(pvoid: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDFreeLinkedMemory ( pvoid : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDFreeLinkedMemory ( pvoid : *mut ::core::ffi::c_void ) -> ( ) ); WSDFreeLinkedMemory(pvoid) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -177,7 +177,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDGenerateFault ( pszcode : :: windows::core::PCWSTR , pszsubcode : :: windows::core::PCWSTR , pszreason : :: windows::core::PCWSTR , pszdetail : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , ppfault : *mut *mut WSD_SOAP_FAULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDGenerateFault ( pszcode : :: windows::core::PCWSTR , pszsubcode : :: windows::core::PCWSTR , pszreason : :: windows::core::PCWSTR , pszdetail : :: windows::core::PCWSTR , pcontext : * mut::core::ffi::c_void , ppfault : *mut *mut WSD_SOAP_FAULT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut WSD_SOAP_FAULT>(); WSDGenerateFault(pszcode.into().abi(), pszsubcode.into().abi(), pszreason.into().abi(), pszdetail.into().abi(), pcontext.into().abi(), &mut result__).from_abi(result__) } @@ -187,44 +187,44 @@ pub unsafe fn WSDGenerateFaultEx(pcode: *const WSDXML_NAME, psubcode: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDGenerateFaultEx ( pcode : *const WSDXML_NAME , psubcode : *const WSDXML_NAME , preasons : *const WSD_LOCALIZED_STRING_LIST , pszdetail : :: windows::core::PCWSTR , ppfault : *mut *mut WSD_SOAP_FAULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDGenerateFaultEx ( pcode : *const WSDXML_NAME , psubcode : *const WSDXML_NAME , preasons : *const WSD_LOCALIZED_STRING_LIST , pszdetail : :: windows::core::PCWSTR , ppfault : *mut *mut WSD_SOAP_FAULT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut WSD_SOAP_FAULT>(); WSDGenerateFaultEx(pcode, ::core::mem::transmute(psubcode.unwrap_or(::std::ptr::null())), preasons, pszdetail.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDGetConfigurationOption(dwoption: u32, pvoid: *mut ::core::ffi::c_void, cboutbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDGetConfigurationOption ( dwoption : u32 , pvoid : *mut ::core::ffi::c_void , cboutbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDGetConfigurationOption ( dwoption : u32 , pvoid : *mut ::core::ffi::c_void , cboutbuffer : u32 ) -> :: windows::core::HRESULT ); WSDGetConfigurationOption(dwoption, pvoid, cboutbuffer).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDSetConfigurationOption(dwoption: u32, pvoid: *const ::core::ffi::c_void, cbinbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDSetConfigurationOption ( dwoption : u32 , pvoid : *const ::core::ffi::c_void , cbinbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDSetConfigurationOption ( dwoption : u32 , pvoid : *const ::core::ffi::c_void , cbinbuffer : u32 ) -> :: windows::core::HRESULT ); WSDSetConfigurationOption(dwoption, pvoid, cbinbuffer).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDUriDecode(source: &[u16], destout: *mut ::windows::core::PWSTR, cchdestout: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDUriDecode ( source : :: windows::core::PCWSTR , cchsource : u32 , destout : *mut :: windows::core::PWSTR , cchdestout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDUriDecode ( source : :: windows::core::PCWSTR , cchsource : u32 , destout : *mut :: windows::core::PWSTR , cchdestout : *mut u32 ) -> :: windows::core::HRESULT ); WSDUriDecode(::core::mem::transmute(source.as_ptr()), source.len() as _, destout, ::core::mem::transmute(cchdestout.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDUriEncode(source: &[u16], destout: *mut ::windows::core::PWSTR, cchdestout: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDUriEncode ( source : :: windows::core::PCWSTR , cchsource : u32 , destout : *mut :: windows::core::PWSTR , cchdestout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDUriEncode ( source : :: windows::core::PCWSTR , cchsource : u32 , destout : *mut :: windows::core::PWSTR , cchdestout : *mut u32 ) -> :: windows::core::HRESULT ); WSDUriEncode(::core::mem::transmute(source.as_ptr()), source.len() as _, destout, ::core::mem::transmute(cchdestout.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDXMLAddChild(pparent: *mut WSDXML_ELEMENT, pchild: *mut WSDXML_ELEMENT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDXMLAddChild ( pparent : *mut WSDXML_ELEMENT , pchild : *mut WSDXML_ELEMENT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDXMLAddChild ( pparent : *mut WSDXML_ELEMENT , pchild : *mut WSDXML_ELEMENT ) -> :: windows::core::HRESULT ); WSDXMLAddChild(pparent, pchild).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDXMLAddSibling(pfirst: *mut WSDXML_ELEMENT, psecond: *mut WSDXML_ELEMENT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDXMLAddSibling ( pfirst : *mut WSDXML_ELEMENT , psecond : *mut WSDXML_ELEMENT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDXMLAddSibling ( pfirst : *mut WSDXML_ELEMENT , psecond : *mut WSDXML_ELEMENT ) -> :: windows::core::HRESULT ); WSDXMLAddSibling(pfirst, psecond).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -233,19 +233,19 @@ pub unsafe fn WSDXMLBuildAnyForSingleElement(pelementname: *mut WSDXML_NAME, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDXMLBuildAnyForSingleElement ( pelementname : *mut WSDXML_NAME , psztext : :: windows::core::PCWSTR , ppany : *mut *mut WSDXML_ELEMENT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDXMLBuildAnyForSingleElement ( pelementname : *mut WSDXML_NAME , psztext : :: windows::core::PCWSTR , ppany : *mut *mut WSDXML_ELEMENT ) -> :: windows::core::HRESULT ); WSDXMLBuildAnyForSingleElement(pelementname, psztext.into().abi(), ppany).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDXMLCleanupElement(pany: *mut WSDXML_ELEMENT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDXMLCleanupElement ( pany : *mut WSDXML_ELEMENT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDXMLCleanupElement ( pany : *mut WSDXML_ELEMENT ) -> :: windows::core::HRESULT ); WSDXMLCleanupElement(pany).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[inline] pub unsafe fn WSDXMLCreateContext() -> ::windows::core::Result { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDXMLCreateContext ( ppcontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDXMLCreateContext ( ppcontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WSDXMLCreateContext(&mut result__).from_abi(result__) } @@ -256,7 +256,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDXMLGetNameFromBuiltinNamespace ( psznamespace : :: windows::core::PCWSTR , pszname : :: windows::core::PCWSTR , ppname : *mut *mut WSDXML_NAME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDXMLGetNameFromBuiltinNamespace ( psznamespace : :: windows::core::PCWSTR , pszname : :: windows::core::PCWSTR , ppname : *mut *mut WSDXML_NAME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut WSDXML_NAME>(); WSDXMLGetNameFromBuiltinNamespace(psznamespace.into().abi(), pszname.into().abi(), &mut result__).from_abi(result__) } @@ -267,7 +267,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsdapi.dll""system" fn WSDXMLGetValueFromAny ( psznamespace : :: windows::core::PCWSTR , pszname : :: windows::core::PCWSTR , pany : *mut WSDXML_ELEMENT , ppszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsdapi.dll""system" fn WSDXMLGetValueFromAny ( psznamespace : :: windows::core::PCWSTR , pszname : :: windows::core::PCWSTR , pany : *mut WSDXML_ELEMENT , ppszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); WSDXMLGetValueFromAny(psznamespace.into().abi(), pszname.into().abi(), pany, ppszvalue).ok() } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] @@ -289,7 +289,7 @@ impl IWSDAddress { (::windows::core::Vtable::vtable(self).Deserialize)(::windows::core::Vtable::as_raw(self), pszbuffer.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWSDAddress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDAddress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDAddress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -334,7 +334,7 @@ impl IWSDAsyncCallback { (::windows::core::Vtable::vtable(self).AsyncOperationComplete)(::windows::core::Vtable::as_raw(self), pasyncresult.into().abi(), pasyncstate.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWSDAsyncCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDAsyncCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDAsyncCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -400,7 +400,7 @@ impl IWSDAsyncResult { (::windows::core::Vtable::vtable(self).GetEndpointProxy)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDAsyncResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDAsyncResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDAsyncResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -442,7 +442,7 @@ pub struct IWSDAsyncResult_Vtbl { #[repr(transparent)] pub struct IWSDAttachment(::windows::core::IUnknown); impl IWSDAttachment {} -::windows::core::interface_hierarchy!(IWSDAttachment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDAttachment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDAttachment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -542,7 +542,7 @@ impl IWSDDeviceHost { (::windows::core::Vtable::vtable(self).SignalEvent)(::windows::core::Vtable::as_raw(self), pszserviceid.into().abi(), ::core::mem::transmute(pbody.unwrap_or(::std::ptr::null())), poperation).ok() } } -::windows::core::interface_hierarchy!(IWSDDeviceHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDDeviceHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDDeviceHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -597,7 +597,7 @@ impl IWSDDeviceHostNotify { (::windows::core::Vtable::vtable(self).GetService)(::windows::core::Vtable::as_raw(self), pszserviceid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDDeviceHostNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDDeviceHostNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDDeviceHostNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -682,7 +682,7 @@ impl IWSDDeviceProxy { (::windows::core::Vtable::vtable(self).GetEndpointProxy)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDDeviceProxy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDDeviceProxy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDDeviceProxy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -758,7 +758,7 @@ impl IWSDEndpointProxy { (::windows::core::Vtable::vtable(self).GetFaultInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDEndpointProxy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDEndpointProxy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDEndpointProxy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -819,7 +819,7 @@ impl IWSDEventingStatus { (::windows::core::Vtable::vtable(self).SubscriptionEnded)(::windows::core::Vtable::as_raw(self), pszsubscriptionaction.into().abi()) } } -::windows::core::interface_hierarchy!(IWSDEventingStatus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDEventingStatus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDEventingStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -916,7 +916,7 @@ impl IWSDHttpAddress { (::windows::core::Vtable::vtable(self).SetPath)(::windows::core::Vtable::as_raw(self), pszpath.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWSDHttpAddress, ::windows::core::IUnknown, IWSDAddress, IWSDTransportAddress); +::windows::imp::interface_hierarchy!(IWSDHttpAddress, ::windows::core::IUnknown, IWSDAddress, IWSDTransportAddress); impl ::core::cmp::PartialEq for IWSDHttpAddress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -966,7 +966,7 @@ impl IWSDHttpAuthParameters { (::windows::core::Vtable::vtable(self).GetAuthType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDHttpAuthParameters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDHttpAuthParameters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDHttpAuthParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1071,7 +1071,7 @@ impl IWSDHttpMessageParameters { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWSDHttpMessageParameters, ::windows::core::IUnknown, IWSDMessageParameters); +::windows::imp::interface_hierarchy!(IWSDHttpMessageParameters, ::windows::core::IUnknown, IWSDMessageParameters); impl ::core::cmp::PartialEq for IWSDHttpMessageParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1119,7 +1119,7 @@ impl IWSDInboundAttachment { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWSDInboundAttachment, ::windows::core::IUnknown, IWSDAttachment); +::windows::imp::interface_hierarchy!(IWSDInboundAttachment, ::windows::core::IUnknown, IWSDAttachment); impl ::core::cmp::PartialEq for IWSDInboundAttachment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1178,7 +1178,7 @@ impl IWSDMessageParameters { (::windows::core::Vtable::vtable(self).GetLowerParameters)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDMessageParameters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDMessageParameters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDMessageParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1220,7 +1220,7 @@ impl IWSDMetadataExchange { (::windows::core::Vtable::vtable(self).GetMetadata)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDMetadataExchange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDMetadataExchange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDMetadataExchange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1264,7 +1264,7 @@ impl IWSDOutboundAttachment { (::windows::core::Vtable::vtable(self).Abort)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWSDOutboundAttachment, ::windows::core::IUnknown, IWSDAttachment); +::windows::imp::interface_hierarchy!(IWSDOutboundAttachment, ::windows::core::IUnknown, IWSDAttachment); impl ::core::cmp::PartialEq for IWSDOutboundAttachment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1312,7 +1312,7 @@ impl IWSDSSLClientCertificate { (::windows::core::Vtable::vtable(self).GetMappedAccessToken)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDSSLClientCertificate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDSSLClientCertificate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDSSLClientCertificate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1367,7 +1367,7 @@ impl IWSDScopeMatchingRule { (::windows::core::Vtable::vtable(self).MatchScopes)(::windows::core::Vtable::as_raw(self), pszscope1.into().abi(), pszscope2.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDScopeMatchingRule, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDScopeMatchingRule, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDScopeMatchingRule { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1417,7 +1417,7 @@ impl IWSDServiceMessaging { (::windows::core::Vtable::vtable(self).FaultRequest)(::windows::core::Vtable::as_raw(self), prequestheader, pmessageparameters.into().abi(), ::core::mem::transmute(pfault.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IWSDServiceMessaging, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDServiceMessaging, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDServiceMessaging { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1490,7 +1490,7 @@ impl IWSDServiceProxy { (::windows::core::Vtable::vtable(self).GetEndpointProxy)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDServiceProxy, ::windows::core::IUnknown, IWSDMetadataExchange); +::windows::imp::interface_hierarchy!(IWSDServiceProxy, ::windows::core::IUnknown, IWSDMetadataExchange); impl ::core::cmp::PartialEq for IWSDServiceProxy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1656,7 +1656,7 @@ impl IWSDServiceProxyEventing { (::windows::core::Vtable::vtable(self).EndGetStatusForMultipleOperations)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(poperations.as_ptr()), poperations.len() as _, presult.into().abi(), ::core::mem::transmute(ppexpires.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppany.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IWSDServiceProxyEventing, ::windows::core::IUnknown, IWSDMetadataExchange, IWSDServiceProxy); +::windows::imp::interface_hierarchy!(IWSDServiceProxyEventing, ::windows::core::IUnknown, IWSDMetadataExchange, IWSDServiceProxy); impl ::core::cmp::PartialEq for IWSDServiceProxyEventing { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1746,7 +1746,7 @@ impl IWSDSignatureProperty { (::windows::core::Vtable::vtable(self).GetSignedInfoHash)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbsignedinfohash.unwrap_or(::std::ptr::null_mut())), pdwhashsize).ok() } } -::windows::core::interface_hierarchy!(IWSDSignatureProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDSignatureProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDSignatureProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1830,7 +1830,7 @@ impl IWSDTransportAddress { (::windows::core::Vtable::vtable(self).SetTransportAddress)(::windows::core::Vtable::as_raw(self), pszaddress.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWSDTransportAddress, ::windows::core::IUnknown, IWSDAddress); +::windows::imp::interface_hierarchy!(IWSDTransportAddress, ::windows::core::IUnknown, IWSDAddress); impl ::core::cmp::PartialEq for IWSDTransportAddress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1953,7 +1953,7 @@ impl IWSDUdpAddress { (::windows::core::Vtable::vtable(self).GetAlias)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDUdpAddress, ::windows::core::IUnknown, IWSDAddress, IWSDTransportAddress); +::windows::imp::interface_hierarchy!(IWSDUdpAddress, ::windows::core::IUnknown, IWSDAddress, IWSDTransportAddress); impl ::core::cmp::PartialEq for IWSDUdpAddress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2035,7 +2035,7 @@ impl IWSDUdpMessageParameters { (::windows::core::Vtable::vtable(self).GetRetransmitParams)(::windows::core::Vtable::as_raw(self), pparams).ok() } } -::windows::core::interface_hierarchy!(IWSDUdpMessageParameters, ::windows::core::IUnknown, IWSDMessageParameters); +::windows::imp::interface_hierarchy!(IWSDUdpMessageParameters, ::windows::core::IUnknown, IWSDMessageParameters); impl ::core::cmp::PartialEq for IWSDUdpMessageParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2090,7 +2090,7 @@ impl IWSDXMLContext { (::windows::core::Vtable::vtable(self).SetTypes)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ptypes.as_ptr()), ptypes.len() as _, blayernumber).ok() } } -::windows::core::interface_hierarchy!(IWSDXMLContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDXMLContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDXMLContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2170,7 +2170,7 @@ impl IWSDiscoveredService { (::windows::core::Vtable::vtable(self).GetInstanceId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDiscoveredService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDiscoveredService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDiscoveredService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2251,7 +2251,7 @@ impl IWSDiscoveryProvider { (::windows::core::Vtable::vtable(self).GetXMLContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDiscoveryProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDiscoveryProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDiscoveryProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2315,7 +2315,7 @@ impl IWSDiscoveryProviderNotify { (::windows::core::Vtable::vtable(self).SearchComplete)(::windows::core::Vtable::as_raw(self), psztag.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWSDiscoveryProviderNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDiscoveryProviderNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDiscoveryProviderNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2488,7 +2488,7 @@ impl IWSDiscoveryPublisher { (::windows::core::Vtable::vtable(self).GetXMLContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWSDiscoveryPublisher, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDiscoveryPublisher, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDiscoveryPublisher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2546,7 +2546,7 @@ impl IWSDiscoveryPublisherNotify { (::windows::core::Vtable::vtable(self).ResolveHandler)(::windows::core::Vtable::as_raw(self), psoap, pmessageparameters.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWSDiscoveryPublisherNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSDiscoveryPublisherNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSDiscoveryPublisherNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs index c568793fb8..3fc25cf580 100644 --- a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn CloseHandle(hobject: P0) -> BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CloseHandle ( hobject : HANDLE ) -> BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CloseHandle ( hobject : HANDLE ) -> BOOL ); CloseHandle(hobject.into()) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14,7 +14,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-handle-l1-1-0.dll""system" fn CompareObjectHandles ( hfirstobjecthandle : HANDLE , hsecondobjecthandle : HANDLE ) -> BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-handle-l1-1-0.dll""system" fn CompareObjectHandles ( hfirstobjecthandle : HANDLE , hsecondobjecthandle : HANDLE ) -> BOOL ); CompareObjectHandles(hfirstobjecthandle.into(), hsecondobjecthandle.into()) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26,7 +26,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DuplicateHandle ( hsourceprocesshandle : HANDLE , hsourcehandle : HANDLE , htargetprocesshandle : HANDLE , lptargethandle : *mut HANDLE , dwdesiredaccess : u32 , binherithandle : BOOL , dwoptions : DUPLICATE_HANDLE_OPTIONS ) -> BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DuplicateHandle ( hsourceprocesshandle : HANDLE , hsourcehandle : HANDLE , htargetprocesshandle : HANDLE , lptargethandle : *mut HANDLE , dwdesiredaccess : u32 , binherithandle : BOOL , dwoptions : DUPLICATE_HANDLE_OPTIONS ) -> BOOL ); DuplicateHandle(hsourceprocesshandle.into(), hsourcehandle.into(), htargetprocesshandle.into(), lptargethandle, dwdesiredaccess, binherithandle.into(), dwoptions) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -35,13 +35,13 @@ pub unsafe fn GetHandleInformation(hobject: P0, lpdwflags: *mut u32) -> BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetHandleInformation ( hobject : HANDLE , lpdwflags : *mut u32 ) -> BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetHandleInformation ( hobject : HANDLE , lpdwflags : *mut u32 ) -> BOOL ); GetHandleInformation(hobject.into(), lpdwflags) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn GetLastError() -> WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLastError ( ) -> WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLastError ( ) -> WIN32_ERROR ); GetLastError() } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -50,7 +50,7 @@ pub unsafe fn RtlNtStatusToDosError(status: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlNtStatusToDosError ( status : NTSTATUS ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlNtStatusToDosError ( status : NTSTATUS ) -> u32 ); RtlNtStatusToDosError(status.into()) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -59,25 +59,25 @@ pub unsafe fn SetHandleInformation(hobject: P0, dwmask: u32, dwflags: HANDLE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetHandleInformation ( hobject : HANDLE , dwmask : u32 , dwflags : HANDLE_FLAGS ) -> BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetHandleInformation ( hobject : HANDLE , dwmask : u32 , dwflags : HANDLE_FLAGS ) -> BOOL ); SetHandleInformation(hobject.into(), dwmask, dwflags) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SetLastError(dwerrcode: WIN32_ERROR) { - ::windows::core::link ! ( "kernel32.dll""system" fn SetLastError ( dwerrcode : WIN32_ERROR ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetLastError ( dwerrcode : WIN32_ERROR ) -> ( ) ); SetLastError(dwerrcode) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SetLastErrorEx(dwerrcode: WIN32_ERROR, dwtype: u32) { - ::windows::core::link ! ( "user32.dll""system" fn SetLastErrorEx ( dwerrcode : WIN32_ERROR , dwtype : u32 ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn SetLastErrorEx ( dwerrcode : WIN32_ERROR , dwtype : u32 ) -> ( ) ); SetLastErrorEx(dwerrcode, dwtype) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SysAddRefString(bstrstring: &::windows::core::BSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysAddRefString ( bstrstring : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysAddRefString ( bstrstring : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); SysAddRefString(::core::mem::transmute_copy(bstrstring)).ok() } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -86,25 +86,25 @@ pub unsafe fn SysAllocString(psz: P0) -> ::windows::core::BSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysAllocString ( psz : :: windows::core::PCWSTR ) -> :: windows::core::BSTR ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysAllocString ( psz : :: windows::core::PCWSTR ) -> :: windows::core::BSTR ); SysAllocString(psz.into().abi()) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SysAllocStringByteLen(psz: ::core::option::Option<&[u8]>) -> ::windows::core::BSTR { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysAllocStringByteLen ( psz : :: windows::core::PCSTR , len : u32 ) -> :: windows::core::BSTR ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysAllocStringByteLen ( psz : :: windows::core::PCSTR , len : u32 ) -> :: windows::core::BSTR ); SysAllocStringByteLen(::core::mem::transmute(psz.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psz.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SysAllocStringLen(strin: ::core::option::Option<&[u16]>) -> ::windows::core::BSTR { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysAllocStringLen ( strin : :: windows::core::PCWSTR , ui : u32 ) -> :: windows::core::BSTR ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysAllocStringLen ( strin : :: windows::core::PCWSTR , ui : u32 ) -> :: windows::core::BSTR ); SysAllocStringLen(::core::mem::transmute(strin.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), strin.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SysFreeString(bstrstring: &::windows::core::BSTR) { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysFreeString ( bstrstring : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysFreeString ( bstrstring : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> ( ) ); SysFreeString(::core::mem::transmute_copy(bstrstring)) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -113,7 +113,7 @@ pub unsafe fn SysReAllocString(pbstr: *mut ::windows::core::BSTR, psz: P0) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysReAllocString ( pbstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > , psz : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysReAllocString ( pbstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > , psz : :: windows::core::PCWSTR ) -> i32 ); SysReAllocString(::core::mem::transmute(pbstr), psz.into().abi()) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -122,25 +122,25 @@ pub unsafe fn SysReAllocStringLen(pbstr: *mut ::windows::core::BSTR, psz: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysReAllocStringLen ( pbstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > , psz : :: windows::core::PCWSTR , len : u32 ) -> i32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysReAllocStringLen ( pbstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > , psz : :: windows::core::PCWSTR , len : u32 ) -> i32 ); SysReAllocStringLen(::core::mem::transmute(pbstr), psz.into().abi(), len) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SysReleaseString(bstrstring: &::windows::core::BSTR) { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysReleaseString ( bstrstring : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysReleaseString ( bstrstring : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> ( ) ); SysReleaseString(::core::mem::transmute_copy(bstrstring)) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SysStringByteLen(bstr: &::windows::core::BSTR) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysStringByteLen ( bstr : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysStringByteLen ( bstr : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> u32 ); SysStringByteLen(::core::mem::transmute_copy(bstr)) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[inline] pub unsafe fn SysStringLen(pbstr: &::windows::core::BSTR) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn SysStringLen ( pbstr : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SysStringLen ( pbstr : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> u32 ); SysStringLen(::core::mem::transmute_copy(pbstr)) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs index 7757ee8483..65fb85ddeb 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CheckGamingPrivilegeSilently(privilegeid: u32, scope: &::windows::core::HSTRING, policy: &::windows::core::HSTRING) -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-1.dll""system" fn CheckGamingPrivilegeSilently ( privilegeid : u32 , scope : ::std::mem::MaybeUninit <::windows::core::HSTRING > , policy : ::std::mem::MaybeUninit <::windows::core::HSTRING > , hasprivilege : *mut super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-1.dll""system" fn CheckGamingPrivilegeSilently ( privilegeid : u32 , scope : ::std::mem::MaybeUninit <::windows::core::HSTRING > , policy : ::std::mem::MaybeUninit <::windows::core::HSTRING > , hasprivilege : *mut super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CheckGamingPrivilegeSilently(privilegeid, ::core::mem::transmute_copy(scope), ::core::mem::transmute_copy(policy), &mut result__).from_abi(result__) } @@ -13,14 +13,14 @@ pub unsafe fn CheckGamingPrivilegeSilentlyForUser(user: P0, privilegeid: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn CheckGamingPrivilegeSilentlyForUser ( user : * mut::core::ffi::c_void , privilegeid : u32 , scope : ::std::mem::MaybeUninit <::windows::core::HSTRING > , policy : ::std::mem::MaybeUninit <::windows::core::HSTRING > , hasprivilege : *mut super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn CheckGamingPrivilegeSilentlyForUser ( user : * mut::core::ffi::c_void , privilegeid : u32 , scope : ::std::mem::MaybeUninit <::windows::core::HSTRING > , policy : ::std::mem::MaybeUninit <::windows::core::HSTRING > , hasprivilege : *mut super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CheckGamingPrivilegeSilentlyForUser(user.into().abi(), privilegeid, ::core::mem::transmute_copy(scope), ::core::mem::transmute_copy(policy), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn CheckGamingPrivilegeWithUI(privilegeid: u32, scope: &::windows::core::HSTRING, policy: &::windows::core::HSTRING, friendlymessage: &::windows::core::HSTRING, completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-1.dll""system" fn CheckGamingPrivilegeWithUI ( privilegeid : u32 , scope : ::std::mem::MaybeUninit <::windows::core::HSTRING > , policy : ::std::mem::MaybeUninit <::windows::core::HSTRING > , friendlymessage : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-1.dll""system" fn CheckGamingPrivilegeWithUI ( privilegeid : u32 , scope : ::std::mem::MaybeUninit <::windows::core::HSTRING > , policy : ::std::mem::MaybeUninit <::windows::core::HSTRING > , friendlymessage : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CheckGamingPrivilegeWithUI(privilegeid, ::core::mem::transmute_copy(scope), ::core::mem::transmute_copy(policy), ::core::mem::transmute_copy(friendlymessage), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -29,20 +29,20 @@ pub unsafe fn CheckGamingPrivilegeWithUIForUser(user: P0, privilegeid: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn CheckGamingPrivilegeWithUIForUser ( user : * mut::core::ffi::c_void , privilegeid : u32 , scope : ::std::mem::MaybeUninit <::windows::core::HSTRING > , policy : ::std::mem::MaybeUninit <::windows::core::HSTRING > , friendlymessage : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn CheckGamingPrivilegeWithUIForUser ( user : * mut::core::ffi::c_void , privilegeid : u32 , scope : ::std::mem::MaybeUninit <::windows::core::HSTRING > , policy : ::std::mem::MaybeUninit <::windows::core::HSTRING > , friendlymessage : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CheckGamingPrivilegeWithUIForUser(user.into().abi(), privilegeid, ::core::mem::transmute_copy(scope), ::core::mem::transmute_copy(policy), ::core::mem::transmute_copy(friendlymessage), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn GetExpandedResourceExclusiveCpuCount() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" fn GetExpandedResourceExclusiveCpuCount ( exclusivecpucount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" fn GetExpandedResourceExclusiveCpuCount ( exclusivecpucount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetExpandedResourceExclusiveCpuCount(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn GetGamingDeviceModelInformation() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-gaming-deviceinformation-l1-1-0.dll""system" fn GetGamingDeviceModelInformation ( information : *mut GAMING_DEVICE_MODEL_INFORMATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-deviceinformation-l1-1-0.dll""system" fn GetGamingDeviceModelInformation ( information : *mut GAMING_DEVICE_MODEL_INFORMATION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetGamingDeviceModelInformation(&mut result__).from_abi(result__) } @@ -50,7 +50,7 @@ pub unsafe fn GetGamingDeviceModelInformation() -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" fn HasExpandedResources ( hasexpandedresources : *mut super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" fn HasExpandedResources ( hasexpandedresources : *mut super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HasExpandedResources(&mut result__).from_abi(result__) } @@ -61,19 +61,19 @@ pub unsafe fn ProcessPendingGameUI(waitforcompletion: P0) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ProcessPendingGameUI ( waitforcompletion : super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ProcessPendingGameUI ( waitforcompletion : super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); ProcessPendingGameUI(waitforcompletion.into()).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ReleaseExclusiveCpuSets() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" fn ReleaseExclusiveCpuSets ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" fn ReleaseExclusiveCpuSets ( ) -> :: windows::core::HRESULT ); ReleaseExclusiveCpuSets().ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowChangeFriendRelationshipUI(targetuserxuid: &::windows::core::HSTRING, completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowChangeFriendRelationshipUI ( targetuserxuid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowChangeFriendRelationshipUI ( targetuserxuid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowChangeFriendRelationshipUI(::core::mem::transmute_copy(targetuserxuid), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -82,13 +82,13 @@ pub unsafe fn ShowChangeFriendRelationshipUIForUser(user: P0, targetuserxuid where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowChangeFriendRelationshipUIForUser ( user : * mut::core::ffi::c_void , targetuserxuid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowChangeFriendRelationshipUIForUser ( user : * mut::core::ffi::c_void , targetuserxuid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowChangeFriendRelationshipUIForUser(user.into().abi(), ::core::mem::transmute_copy(targetuserxuid), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowCustomizeUserProfileUI(completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowCustomizeUserProfileUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowCustomizeUserProfileUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowCustomizeUserProfileUI(completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -97,13 +97,13 @@ pub unsafe fn ShowCustomizeUserProfileUIForUser(user: P0, completionroutine: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowCustomizeUserProfileUIForUser ( user : * mut::core::ffi::c_void , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowCustomizeUserProfileUIForUser ( user : * mut::core::ffi::c_void , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowCustomizeUserProfileUIForUser(user.into().abi(), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowFindFriendsUI(completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowFindFriendsUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowFindFriendsUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowFindFriendsUI(completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -112,13 +112,13 @@ pub unsafe fn ShowFindFriendsUIForUser(user: P0, completionroutine: GameUICo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowFindFriendsUIForUser ( user : * mut::core::ffi::c_void , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowFindFriendsUIForUser ( user : * mut::core::ffi::c_void , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowFindFriendsUIForUser(user.into().abi(), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowGameInfoUI(titleid: u32, completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowGameInfoUI ( titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowGameInfoUI ( titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowGameInfoUI(titleid, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -127,13 +127,13 @@ pub unsafe fn ShowGameInfoUIForUser(user: P0, titleid: u32, completionroutin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowGameInfoUIForUser ( user : * mut::core::ffi::c_void , titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowGameInfoUIForUser ( user : * mut::core::ffi::c_void , titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowGameInfoUIForUser(user.into().abi(), titleid, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowGameInviteUI(serviceconfigurationid: &::windows::core::HSTRING, sessiontemplatename: &::windows::core::HSTRING, sessionid: &::windows::core::HSTRING, invitationdisplaytext: &::windows::core::HSTRING, completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowGameInviteUI ( serviceconfigurationid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessiontemplatename : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessionid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , invitationdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowGameInviteUI ( serviceconfigurationid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessiontemplatename : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessionid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , invitationdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowGameInviteUI(::core::mem::transmute_copy(serviceconfigurationid), ::core::mem::transmute_copy(sessiontemplatename), ::core::mem::transmute_copy(sessionid), ::core::mem::transmute_copy(invitationdisplaytext), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -142,13 +142,13 @@ pub unsafe fn ShowGameInviteUIForUser(user: P0, serviceconfigurationid: &::w where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowGameInviteUIForUser ( user : * mut::core::ffi::c_void , serviceconfigurationid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessiontemplatename : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessionid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , invitationdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowGameInviteUIForUser ( user : * mut::core::ffi::c_void , serviceconfigurationid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessiontemplatename : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessionid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , invitationdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowGameInviteUIForUser(user.into().abi(), ::core::mem::transmute_copy(serviceconfigurationid), ::core::mem::transmute_copy(sessiontemplatename), ::core::mem::transmute_copy(sessionid), ::core::mem::transmute_copy(invitationdisplaytext), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowGameInviteUIWithContext(serviceconfigurationid: &::windows::core::HSTRING, sessiontemplatename: &::windows::core::HSTRING, sessionid: &::windows::core::HSTRING, invitationdisplaytext: &::windows::core::HSTRING, customactivationcontext: &::windows::core::HSTRING, completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-3.dll""system" fn ShowGameInviteUIWithContext ( serviceconfigurationid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessiontemplatename : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessionid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , invitationdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , customactivationcontext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-3.dll""system" fn ShowGameInviteUIWithContext ( serviceconfigurationid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessiontemplatename : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessionid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , invitationdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , customactivationcontext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowGameInviteUIWithContext(::core::mem::transmute_copy(serviceconfigurationid), ::core::mem::transmute_copy(sessiontemplatename), ::core::mem::transmute_copy(sessionid), ::core::mem::transmute_copy(invitationdisplaytext), ::core::mem::transmute_copy(customactivationcontext), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -157,13 +157,13 @@ pub unsafe fn ShowGameInviteUIWithContextForUser(user: P0, serviceconfigurat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-3.dll""system" fn ShowGameInviteUIWithContextForUser ( user : * mut::core::ffi::c_void , serviceconfigurationid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessiontemplatename : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessionid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , invitationdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , customactivationcontext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-3.dll""system" fn ShowGameInviteUIWithContextForUser ( user : * mut::core::ffi::c_void , serviceconfigurationid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessiontemplatename : ::std::mem::MaybeUninit <::windows::core::HSTRING > , sessionid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , invitationdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , customactivationcontext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowGameInviteUIWithContextForUser(user.into().abi(), ::core::mem::transmute_copy(serviceconfigurationid), ::core::mem::transmute_copy(sessiontemplatename), ::core::mem::transmute_copy(sessionid), ::core::mem::transmute_copy(invitationdisplaytext), ::core::mem::transmute_copy(customactivationcontext), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowPlayerPickerUI(promptdisplaytext: &::windows::core::HSTRING, xuids: &[::windows::core::HSTRING], preselectedxuids: ::core::option::Option<&[::windows::core::HSTRING]>, minselectioncount: usize, maxselectioncount: usize, completionroutine: PlayerPickerUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowPlayerPickerUI ( promptdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , xuids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , xuidscount : usize , preselectedxuids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , preselectedxuidscount : usize , minselectioncount : usize , maxselectioncount : usize , completionroutine : PlayerPickerUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowPlayerPickerUI ( promptdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , xuids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , xuidscount : usize , preselectedxuids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , preselectedxuidscount : usize , minselectioncount : usize , maxselectioncount : usize , completionroutine : PlayerPickerUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowPlayerPickerUI(::core::mem::transmute_copy(promptdisplaytext), ::core::mem::transmute(xuids.as_ptr()), xuids.len() as _, ::core::mem::transmute(preselectedxuids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), preselectedxuids.as_deref().map_or(0, |slice| slice.len() as _), minselectioncount, maxselectioncount, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -172,13 +172,13 @@ pub unsafe fn ShowPlayerPickerUIForUser(user: P0, promptdisplaytext: &::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowPlayerPickerUIForUser ( user : * mut::core::ffi::c_void , promptdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , xuids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , xuidscount : usize , preselectedxuids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , preselectedxuidscount : usize , minselectioncount : usize , maxselectioncount : usize , completionroutine : PlayerPickerUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowPlayerPickerUIForUser ( user : * mut::core::ffi::c_void , promptdisplaytext : ::std::mem::MaybeUninit <::windows::core::HSTRING > , xuids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , xuidscount : usize , preselectedxuids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , preselectedxuidscount : usize , minselectioncount : usize , maxselectioncount : usize , completionroutine : PlayerPickerUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowPlayerPickerUIForUser(user.into().abi(), ::core::mem::transmute_copy(promptdisplaytext), ::core::mem::transmute(xuids.as_ptr()), xuids.len() as _, ::core::mem::transmute(preselectedxuids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), preselectedxuids.as_deref().map_or(0, |slice| slice.len() as _), minselectioncount, maxselectioncount, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowProfileCardUI(targetuserxuid: &::windows::core::HSTRING, completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowProfileCardUI ( targetuserxuid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowProfileCardUI ( targetuserxuid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowProfileCardUI(::core::mem::transmute_copy(targetuserxuid), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -187,13 +187,13 @@ pub unsafe fn ShowProfileCardUIForUser(user: P0, targetuserxuid: &::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowProfileCardUIForUser ( user : * mut::core::ffi::c_void , targetuserxuid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowProfileCardUIForUser ( user : * mut::core::ffi::c_void , targetuserxuid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowProfileCardUIForUser(user.into().abi(), ::core::mem::transmute_copy(targetuserxuid), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowTitleAchievementsUI(titleid: u32, completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowTitleAchievementsUI ( titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn ShowTitleAchievementsUI ( titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowTitleAchievementsUI(titleid, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -202,13 +202,13 @@ pub unsafe fn ShowTitleAchievementsUIForUser(user: P0, titleid: u32, complet where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowTitleAchievementsUIForUser ( user : * mut::core::ffi::c_void , titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" fn ShowTitleAchievementsUIForUser ( user : * mut::core::ffi::c_void , titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowTitleAchievementsUIForUser(user.into().abi(), titleid, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[inline] pub unsafe fn ShowUserSettingsUI(completionroutine: GameUICompletionRoutine, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowUserSettingsUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowUserSettingsUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowUserSettingsUI(completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -217,14 +217,14 @@ pub unsafe fn ShowUserSettingsUIForUser(user: P0, completionroutine: GameUIC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IInspectable>>, { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowUserSettingsUIForUser ( user : * mut::core::ffi::c_void , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" fn ShowUserSettingsUIForUser ( user : * mut::core::ffi::c_void , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ShowUserSettingsUIForUser(user.into().abi(), completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TryCancelPendingGameUI() -> super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn TryCancelPendingGameUI ( ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" fn TryCancelPendingGameUI ( ) -> super::Foundation:: BOOL ); TryCancelPendingGameUI() } #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -247,7 +247,7 @@ impl IGameExplorer { (::windows::core::Vtable::vtable(self).VerifyAccess)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrgdfbinarypath), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGameExplorer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGameExplorer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGameExplorer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -309,7 +309,7 @@ impl IGameExplorer2 { (::windows::core::Vtable::vtable(self).CheckAccess)(::windows::core::Vtable::as_raw(self), binarygdfpath.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGameExplorer2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGameExplorer2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGameExplorer2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -403,7 +403,7 @@ impl IGameStatistics { (::windows::core::Vtable::vtable(self).GetLastPlayedCategory)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGameStatistics, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGameStatistics, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGameStatistics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -463,7 +463,7 @@ impl IGameStatisticsMgr { (::windows::core::Vtable::vtable(self).RemoveGameStatistics)(::windows::core::Vtable::as_raw(self), gdfbinarypath.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IGameStatisticsMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGameStatisticsMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGameStatisticsMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -539,7 +539,7 @@ impl IXblIdpAuthManager { (::windows::core::Vtable::vtable(self).GetTokenAndSignatureWithTokenResult)(::windows::core::Vtable::as_raw(self), msaaccountid.into().abi(), appsid.into().abi(), msatarget.into().abi(), msapolicy.into().abi(), httpmethod.into().abi(), uri.into().abi(), headers.into().abi(), ::core::mem::transmute(body.as_ptr()), body.len() as _, forcerefresh.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXblIdpAuthManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXblIdpAuthManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXblIdpAuthManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -661,7 +661,7 @@ impl IXblIdpAuthTokenResult { (::windows::core::Vtable::vtable(self).GetTitleRestrictions)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXblIdpAuthTokenResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXblIdpAuthTokenResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXblIdpAuthTokenResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -726,7 +726,7 @@ impl IXblIdpAuthTokenResult2 { (::windows::core::Vtable::vtable(self).GetUniqueModernGamertag)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXblIdpAuthTokenResult2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXblIdpAuthTokenResult2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXblIdpAuthTokenResult2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index 2dbea29e92..d84491fab7 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -1,7 +1,7 @@ #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn CompareStringA(locale: u32, dwcmpflags: u32, lpstring1: &[i8], lpstring2: &[i8]) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn CompareStringA ( locale : u32 , dwcmpflags : u32 , lpstring1 : *const i8 , cchcount1 : i32 , lpstring2 : *const i8 , cchcount2 : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CompareStringA ( locale : u32 , dwcmpflags : u32 , lpstring1 : *const i8 , cchcount1 : i32 , lpstring2 : *const i8 , cchcount2 : i32 ) -> i32 ); CompareStringA(locale, dwcmpflags, ::core::mem::transmute(lpstring1.as_ptr()), lpstring1.len() as _, ::core::mem::transmute(lpstring2.as_ptr()), lpstring2.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -12,7 +12,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CompareStringEx ( lplocalename : :: windows::core::PCWSTR , dwcmpflags : COMPARE_STRING_FLAGS , lpstring1 : :: windows::core::PCWSTR , cchcount1 : i32 , lpstring2 : :: windows::core::PCWSTR , cchcount2 : i32 , lpversioninformation : *const NLSVERSIONINFO , lpreserved : *const ::core::ffi::c_void , lparam : super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CompareStringEx ( lplocalename : :: windows::core::PCWSTR , dwcmpflags : COMPARE_STRING_FLAGS , lpstring1 : :: windows::core::PCWSTR , cchcount1 : i32 , lpstring2 : :: windows::core::PCWSTR , cchcount2 : i32 , lpversioninformation : *const NLSVERSIONINFO , lpreserved : *const ::core::ffi::c_void , lparam : super::Foundation:: LPARAM ) -> i32 ); CompareStringEx(lplocalename.into().abi(), dwcmpflags, ::core::mem::transmute(lpstring1.as_ptr()), lpstring1.len() as _, ::core::mem::transmute(lpstring2.as_ptr()), lpstring2.len() as _, ::core::mem::transmute(lpversioninformation.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), lparam.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -22,33 +22,33 @@ pub unsafe fn CompareStringOrdinal(lpstring1: &[u16], lpstring2: &[u16], big where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CompareStringOrdinal ( lpstring1 : :: windows::core::PCWSTR , cchcount1 : i32 , lpstring2 : :: windows::core::PCWSTR , cchcount2 : i32 , bignorecase : super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CompareStringOrdinal ( lpstring1 : :: windows::core::PCWSTR , cchcount1 : i32 , lpstring2 : :: windows::core::PCWSTR , cchcount2 : i32 , bignorecase : super::Foundation:: BOOL ) -> i32 ); CompareStringOrdinal(::core::mem::transmute(lpstring1.as_ptr()), lpstring1.len() as _, ::core::mem::transmute(lpstring2.as_ptr()), lpstring2.len() as _, bignorecase.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn CompareStringW(locale: u32, dwcmpflags: u32, lpstring1: &[u16], lpstring2: &[u16]) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn CompareStringW ( locale : u32 , dwcmpflags : u32 , lpstring1 : :: windows::core::PCWSTR , cchcount1 : i32 , lpstring2 : :: windows::core::PCWSTR , cchcount2 : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CompareStringW ( locale : u32 , dwcmpflags : u32 , lpstring1 : :: windows::core::PCWSTR , cchcount1 : i32 , lpstring2 : :: windows::core::PCWSTR , cchcount2 : i32 ) -> i32 ); CompareStringW(locale, dwcmpflags, ::core::mem::transmute(lpstring1.as_ptr()), lpstring1.len() as _, ::core::mem::transmute(lpstring2.as_ptr()), lpstring2.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ConvertDefaultLocale(locale: u32) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn ConvertDefaultLocale ( locale : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ConvertDefaultLocale ( locale : u32 ) -> u32 ); ConvertDefaultLocale(locale) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumCalendarInfoA(lpcalinfoenumproc: CALINFO_ENUMPROCA, locale: u32, calendar: u32, caltype: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumCalendarInfoA ( lpcalinfoenumproc : CALINFO_ENUMPROCA , locale : u32 , calendar : u32 , caltype : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumCalendarInfoA ( lpcalinfoenumproc : CALINFO_ENUMPROCA , locale : u32 , calendar : u32 , caltype : u32 ) -> super::Foundation:: BOOL ); EnumCalendarInfoA(lpcalinfoenumproc, locale, calendar, caltype) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumCalendarInfoExA(lpcalinfoenumprocex: CALINFO_ENUMPROCEXA, locale: u32, calendar: u32, caltype: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumCalendarInfoExA ( lpcalinfoenumprocex : CALINFO_ENUMPROCEXA , locale : u32 , calendar : u32 , caltype : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumCalendarInfoExA ( lpcalinfoenumprocex : CALINFO_ENUMPROCEXA , locale : u32 , calendar : u32 , caltype : u32 ) -> super::Foundation:: BOOL ); EnumCalendarInfoExA(lpcalinfoenumprocex, locale, calendar, caltype) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -60,35 +60,35 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumCalendarInfoExEx ( pcalinfoenumprocexex : CALINFO_ENUMPROCEXEX , lplocalename : :: windows::core::PCWSTR , calendar : u32 , lpreserved : :: windows::core::PCWSTR , caltype : u32 , lparam : super::Foundation:: LPARAM ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumCalendarInfoExEx ( pcalinfoenumprocexex : CALINFO_ENUMPROCEXEX , lplocalename : :: windows::core::PCWSTR , calendar : u32 , lpreserved : :: windows::core::PCWSTR , caltype : u32 , lparam : super::Foundation:: LPARAM ) -> super::Foundation:: BOOL ); EnumCalendarInfoExEx(pcalinfoenumprocexex, lplocalename.into().abi(), calendar, lpreserved.into().abi(), caltype, lparam.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumCalendarInfoExW(lpcalinfoenumprocex: CALINFO_ENUMPROCEXW, locale: u32, calendar: u32, caltype: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumCalendarInfoExW ( lpcalinfoenumprocex : CALINFO_ENUMPROCEXW , locale : u32 , calendar : u32 , caltype : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumCalendarInfoExW ( lpcalinfoenumprocex : CALINFO_ENUMPROCEXW , locale : u32 , calendar : u32 , caltype : u32 ) -> super::Foundation:: BOOL ); EnumCalendarInfoExW(lpcalinfoenumprocex, locale, calendar, caltype) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumCalendarInfoW(lpcalinfoenumproc: CALINFO_ENUMPROCW, locale: u32, calendar: u32, caltype: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumCalendarInfoW ( lpcalinfoenumproc : CALINFO_ENUMPROCW , locale : u32 , calendar : u32 , caltype : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumCalendarInfoW ( lpcalinfoenumproc : CALINFO_ENUMPROCW , locale : u32 , calendar : u32 , caltype : u32 ) -> super::Foundation:: BOOL ); EnumCalendarInfoW(lpcalinfoenumproc, locale, calendar, caltype) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumDateFormatsA(lpdatefmtenumproc: DATEFMT_ENUMPROCA, locale: u32, dwflags: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumDateFormatsA ( lpdatefmtenumproc : DATEFMT_ENUMPROCA , locale : u32 , dwflags : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumDateFormatsA ( lpdatefmtenumproc : DATEFMT_ENUMPROCA , locale : u32 , dwflags : u32 ) -> super::Foundation:: BOOL ); EnumDateFormatsA(lpdatefmtenumproc, locale, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumDateFormatsExA(lpdatefmtenumprocex: DATEFMT_ENUMPROCEXA, locale: u32, dwflags: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumDateFormatsExA ( lpdatefmtenumprocex : DATEFMT_ENUMPROCEXA , locale : u32 , dwflags : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumDateFormatsExA ( lpdatefmtenumprocex : DATEFMT_ENUMPROCEXA , locale : u32 , dwflags : u32 ) -> super::Foundation:: BOOL ); EnumDateFormatsExA(lpdatefmtenumprocex, locale, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -99,56 +99,56 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumDateFormatsExEx ( lpdatefmtenumprocexex : DATEFMT_ENUMPROCEXEX , lplocalename : :: windows::core::PCWSTR , dwflags : ENUM_DATE_FORMATS_FLAGS , lparam : super::Foundation:: LPARAM ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumDateFormatsExEx ( lpdatefmtenumprocexex : DATEFMT_ENUMPROCEXEX , lplocalename : :: windows::core::PCWSTR , dwflags : ENUM_DATE_FORMATS_FLAGS , lparam : super::Foundation:: LPARAM ) -> super::Foundation:: BOOL ); EnumDateFormatsExEx(lpdatefmtenumprocexex, lplocalename.into().abi(), dwflags, lparam.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumDateFormatsExW(lpdatefmtenumprocex: DATEFMT_ENUMPROCEXW, locale: u32, dwflags: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumDateFormatsExW ( lpdatefmtenumprocex : DATEFMT_ENUMPROCEXW , locale : u32 , dwflags : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumDateFormatsExW ( lpdatefmtenumprocex : DATEFMT_ENUMPROCEXW , locale : u32 , dwflags : u32 ) -> super::Foundation:: BOOL ); EnumDateFormatsExW(lpdatefmtenumprocex, locale, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumDateFormatsW(lpdatefmtenumproc: DATEFMT_ENUMPROCW, locale: u32, dwflags: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumDateFormatsW ( lpdatefmtenumproc : DATEFMT_ENUMPROCW , locale : u32 , dwflags : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumDateFormatsW ( lpdatefmtenumproc : DATEFMT_ENUMPROCW , locale : u32 , dwflags : u32 ) -> super::Foundation:: BOOL ); EnumDateFormatsW(lpdatefmtenumproc, locale, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumLanguageGroupLocalesA(lplanggrouplocaleenumproc: LANGGROUPLOCALE_ENUMPROCA, languagegroup: u32, dwflags: u32, lparam: isize) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumLanguageGroupLocalesA ( lplanggrouplocaleenumproc : LANGGROUPLOCALE_ENUMPROCA , languagegroup : u32 , dwflags : u32 , lparam : isize ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumLanguageGroupLocalesA ( lplanggrouplocaleenumproc : LANGGROUPLOCALE_ENUMPROCA , languagegroup : u32 , dwflags : u32 , lparam : isize ) -> super::Foundation:: BOOL ); EnumLanguageGroupLocalesA(lplanggrouplocaleenumproc, languagegroup, dwflags, lparam) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumLanguageGroupLocalesW(lplanggrouplocaleenumproc: LANGGROUPLOCALE_ENUMPROCW, languagegroup: u32, dwflags: u32, lparam: isize) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumLanguageGroupLocalesW ( lplanggrouplocaleenumproc : LANGGROUPLOCALE_ENUMPROCW , languagegroup : u32 , dwflags : u32 , lparam : isize ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumLanguageGroupLocalesW ( lplanggrouplocaleenumproc : LANGGROUPLOCALE_ENUMPROCW , languagegroup : u32 , dwflags : u32 , lparam : isize ) -> super::Foundation:: BOOL ); EnumLanguageGroupLocalesW(lplanggrouplocaleenumproc, languagegroup, dwflags, lparam) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumSystemCodePagesA(lpcodepageenumproc: CODEPAGE_ENUMPROCA, dwflags: ENUM_SYSTEM_CODE_PAGES_FLAGS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemCodePagesA ( lpcodepageenumproc : CODEPAGE_ENUMPROCA , dwflags : ENUM_SYSTEM_CODE_PAGES_FLAGS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemCodePagesA ( lpcodepageenumproc : CODEPAGE_ENUMPROCA , dwflags : ENUM_SYSTEM_CODE_PAGES_FLAGS ) -> super::Foundation:: BOOL ); EnumSystemCodePagesA(lpcodepageenumproc, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumSystemCodePagesW(lpcodepageenumproc: CODEPAGE_ENUMPROCW, dwflags: ENUM_SYSTEM_CODE_PAGES_FLAGS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemCodePagesW ( lpcodepageenumproc : CODEPAGE_ENUMPROCW , dwflags : ENUM_SYSTEM_CODE_PAGES_FLAGS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemCodePagesW ( lpcodepageenumproc : CODEPAGE_ENUMPROCW , dwflags : ENUM_SYSTEM_CODE_PAGES_FLAGS ) -> super::Foundation:: BOOL ); EnumSystemCodePagesW(lpcodepageenumproc, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumSystemGeoID(geoclass: u32, parentgeoid: i32, lpgeoenumproc: GEO_ENUMPROC) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemGeoID ( geoclass : u32 , parentgeoid : i32 , lpgeoenumproc : GEO_ENUMPROC ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemGeoID ( geoclass : u32 , parentgeoid : i32 , lpgeoenumproc : GEO_ENUMPROC ) -> super::Foundation:: BOOL ); EnumSystemGeoID(geoclass, parentgeoid, lpgeoenumproc) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -158,28 +158,28 @@ pub unsafe fn EnumSystemGeoNames(geoclass: u32, geoenumproc: GEO_ENUMNAMEPRO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemGeoNames ( geoclass : u32 , geoenumproc : GEO_ENUMNAMEPROC , data : super::Foundation:: LPARAM ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemGeoNames ( geoclass : u32 , geoenumproc : GEO_ENUMNAMEPROC , data : super::Foundation:: LPARAM ) -> super::Foundation:: BOOL ); EnumSystemGeoNames(geoclass, geoenumproc, data.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumSystemLanguageGroupsA(lplanguagegroupenumproc: LANGUAGEGROUP_ENUMPROCA, dwflags: ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS, lparam: isize) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemLanguageGroupsA ( lplanguagegroupenumproc : LANGUAGEGROUP_ENUMPROCA , dwflags : ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS , lparam : isize ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemLanguageGroupsA ( lplanguagegroupenumproc : LANGUAGEGROUP_ENUMPROCA , dwflags : ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS , lparam : isize ) -> super::Foundation:: BOOL ); EnumSystemLanguageGroupsA(lplanguagegroupenumproc, dwflags, lparam) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumSystemLanguageGroupsW(lplanguagegroupenumproc: LANGUAGEGROUP_ENUMPROCW, dwflags: ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS, lparam: isize) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemLanguageGroupsW ( lplanguagegroupenumproc : LANGUAGEGROUP_ENUMPROCW , dwflags : ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS , lparam : isize ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemLanguageGroupsW ( lplanguagegroupenumproc : LANGUAGEGROUP_ENUMPROCW , dwflags : ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS , lparam : isize ) -> super::Foundation:: BOOL ); EnumSystemLanguageGroupsW(lplanguagegroupenumproc, dwflags, lparam) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumSystemLocalesA(lplocaleenumproc: LOCALE_ENUMPROCA, dwflags: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemLocalesA ( lplocaleenumproc : LOCALE_ENUMPROCA , dwflags : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemLocalesA ( lplocaleenumproc : LOCALE_ENUMPROCA , dwflags : u32 ) -> super::Foundation:: BOOL ); EnumSystemLocalesA(lplocaleenumproc, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -189,21 +189,21 @@ pub unsafe fn EnumSystemLocalesEx(lplocaleenumprocex: LOCALE_ENUMPROCEX, dwf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemLocalesEx ( lplocaleenumprocex : LOCALE_ENUMPROCEX , dwflags : u32 , lparam : super::Foundation:: LPARAM , lpreserved : *const ::core::ffi::c_void ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemLocalesEx ( lplocaleenumprocex : LOCALE_ENUMPROCEX , dwflags : u32 , lparam : super::Foundation:: LPARAM , lpreserved : *const ::core::ffi::c_void ) -> super::Foundation:: BOOL ); EnumSystemLocalesEx(lplocaleenumprocex, dwflags, lparam.into(), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumSystemLocalesW(lplocaleenumproc: LOCALE_ENUMPROCW, dwflags: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemLocalesW ( lplocaleenumproc : LOCALE_ENUMPROCW , dwflags : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemLocalesW ( lplocaleenumproc : LOCALE_ENUMPROCW , dwflags : u32 ) -> super::Foundation:: BOOL ); EnumSystemLocalesW(lplocaleenumproc, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumTimeFormatsA(lptimefmtenumproc: TIMEFMT_ENUMPROCA, locale: u32, dwflags: TIME_FORMAT_FLAGS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumTimeFormatsA ( lptimefmtenumproc : TIMEFMT_ENUMPROCA , locale : u32 , dwflags : TIME_FORMAT_FLAGS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumTimeFormatsA ( lptimefmtenumproc : TIMEFMT_ENUMPROCA , locale : u32 , dwflags : TIME_FORMAT_FLAGS ) -> super::Foundation:: BOOL ); EnumTimeFormatsA(lptimefmtenumproc, locale, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -214,34 +214,34 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumTimeFormatsEx ( lptimefmtenumprocex : TIMEFMT_ENUMPROCEX , lplocalename : :: windows::core::PCWSTR , dwflags : u32 , lparam : super::Foundation:: LPARAM ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumTimeFormatsEx ( lptimefmtenumprocex : TIMEFMT_ENUMPROCEX , lplocalename : :: windows::core::PCWSTR , dwflags : u32 , lparam : super::Foundation:: LPARAM ) -> super::Foundation:: BOOL ); EnumTimeFormatsEx(lptimefmtenumprocex, lplocalename.into().abi(), dwflags, lparam.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumTimeFormatsW(lptimefmtenumproc: TIMEFMT_ENUMPROCW, locale: u32, dwflags: TIME_FORMAT_FLAGS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumTimeFormatsW ( lptimefmtenumproc : TIMEFMT_ENUMPROCW , locale : u32 , dwflags : TIME_FORMAT_FLAGS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumTimeFormatsW ( lptimefmtenumproc : TIMEFMT_ENUMPROCW , locale : u32 , dwflags : TIME_FORMAT_FLAGS ) -> super::Foundation:: BOOL ); EnumTimeFormatsW(lptimefmtenumproc, locale, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumUILanguagesA(lpuilanguageenumproc: UILANGUAGE_ENUMPROCA, dwflags: u32, lparam: isize) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumUILanguagesA ( lpuilanguageenumproc : UILANGUAGE_ENUMPROCA , dwflags : u32 , lparam : isize ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumUILanguagesA ( lpuilanguageenumproc : UILANGUAGE_ENUMPROCA , dwflags : u32 , lparam : isize ) -> super::Foundation:: BOOL ); EnumUILanguagesA(lpuilanguageenumproc, dwflags, lparam) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumUILanguagesW(lpuilanguageenumproc: UILANGUAGE_ENUMPROCW, dwflags: u32, lparam: isize) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumUILanguagesW ( lpuilanguageenumproc : UILANGUAGE_ENUMPROCW , dwflags : u32 , lparam : isize ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumUILanguagesW ( lpuilanguageenumproc : UILANGUAGE_ENUMPROCW , dwflags : u32 , lparam : isize ) -> super::Foundation:: BOOL ); EnumUILanguagesW(lpuilanguageenumproc, dwflags, lparam) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn FindNLSString(locale: u32, dwfindnlsstringflags: u32, lpstringsource: &[u16], lpstringvalue: &[u16], pcchfound: ::core::option::Option<*mut i32>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNLSString ( locale : u32 , dwfindnlsstringflags : u32 , lpstringsource : :: windows::core::PCWSTR , cchsource : i32 , lpstringvalue : :: windows::core::PCWSTR , cchvalue : i32 , pcchfound : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNLSString ( locale : u32 , dwfindnlsstringflags : u32 , lpstringsource : :: windows::core::PCWSTR , cchsource : i32 , lpstringvalue : :: windows::core::PCWSTR , cchvalue : i32 , pcchfound : *mut i32 ) -> i32 ); FindNLSString(locale, dwfindnlsstringflags, ::core::mem::transmute(lpstringsource.as_ptr()), lpstringsource.len() as _, ::core::mem::transmute(lpstringvalue.as_ptr()), lpstringvalue.len() as _, ::core::mem::transmute(pcchfound.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -252,7 +252,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNLSStringEx ( lplocalename : :: windows::core::PCWSTR , dwfindnlsstringflags : u32 , lpstringsource : :: windows::core::PCWSTR , cchsource : i32 , lpstringvalue : :: windows::core::PCWSTR , cchvalue : i32 , pcchfound : *mut i32 , lpversioninformation : *const NLSVERSIONINFO , lpreserved : *const ::core::ffi::c_void , sorthandle : super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNLSStringEx ( lplocalename : :: windows::core::PCWSTR , dwfindnlsstringflags : u32 , lpstringsource : :: windows::core::PCWSTR , cchsource : i32 , lpstringvalue : :: windows::core::PCWSTR , cchvalue : i32 , pcchfound : *mut i32 , lpversioninformation : *const NLSVERSIONINFO , lpreserved : *const ::core::ffi::c_void , sorthandle : super::Foundation:: LPARAM ) -> i32 ); FindNLSStringEx(lplocalename.into().abi(), dwfindnlsstringflags, ::core::mem::transmute(lpstringsource.as_ptr()), lpstringsource.len() as _, ::core::mem::transmute(lpstringvalue.as_ptr()), lpstringvalue.len() as _, ::core::mem::transmute(pcchfound.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpversioninformation.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), sorthandle.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -262,52 +262,52 @@ pub unsafe fn FindStringOrdinal(dwfindstringordinalflags: u32, lpstringsourc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindStringOrdinal ( dwfindstringordinalflags : u32 , lpstringsource : :: windows::core::PCWSTR , cchsource : i32 , lpstringvalue : :: windows::core::PCWSTR , cchvalue : i32 , bignorecase : super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindStringOrdinal ( dwfindstringordinalflags : u32 , lpstringsource : :: windows::core::PCWSTR , cchsource : i32 , lpstringvalue : :: windows::core::PCWSTR , cchvalue : i32 , bignorecase : super::Foundation:: BOOL ) -> i32 ); FindStringOrdinal(dwfindstringordinalflags, ::core::mem::transmute(lpstringsource.as_ptr()), lpstringsource.len() as _, ::core::mem::transmute(lpstringvalue.as_ptr()), lpstringvalue.len() as _, bignorecase.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn FoldStringA(dwmapflags: FOLD_STRING_MAP_FLAGS, lpsrcstr: &[u8], lpdeststr: ::core::option::Option<&mut [u8]>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn FoldStringA ( dwmapflags : FOLD_STRING_MAP_FLAGS , lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpdeststr : :: windows::core::PSTR , cchdest : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FoldStringA ( dwmapflags : FOLD_STRING_MAP_FLAGS , lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpdeststr : :: windows::core::PSTR , cchdest : i32 ) -> i32 ); FoldStringA(dwmapflags, ::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdeststr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn FoldStringW(dwmapflags: FOLD_STRING_MAP_FLAGS, lpsrcstr: &[u16], lpdeststr: ::core::option::Option<&mut [u16]>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn FoldStringW ( dwmapflags : FOLD_STRING_MAP_FLAGS , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpdeststr : :: windows::core::PWSTR , cchdest : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FoldStringW ( dwmapflags : FOLD_STRING_MAP_FLAGS , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpdeststr : :: windows::core::PWSTR , cchdest : i32 ) -> i32 ); FoldStringW(dwmapflags, ::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdeststr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetACP() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetACP ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetACP ( ) -> u32 ); GetACP() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCPInfo(codepage: u32, lpcpinfo: *mut CPINFO) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCPInfo ( codepage : u32 , lpcpinfo : *mut CPINFO ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCPInfo ( codepage : u32 , lpcpinfo : *mut CPINFO ) -> super::Foundation:: BOOL ); GetCPInfo(codepage, lpcpinfo) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCPInfoExA(codepage: u32, dwflags: u32, lpcpinfoex: *mut CPINFOEXA) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCPInfoExA ( codepage : u32 , dwflags : u32 , lpcpinfoex : *mut CPINFOEXA ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCPInfoExA ( codepage : u32 , dwflags : u32 , lpcpinfoex : *mut CPINFOEXA ) -> super::Foundation:: BOOL ); GetCPInfoExA(codepage, dwflags, lpcpinfoex) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCPInfoExW(codepage: u32, dwflags: u32, lpcpinfoex: *mut CPINFOEXW) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCPInfoExW ( codepage : u32 , dwflags : u32 , lpcpinfoex : *mut CPINFOEXW ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCPInfoExW ( codepage : u32 , dwflags : u32 , lpcpinfoex : *mut CPINFOEXW ) -> super::Foundation:: BOOL ); GetCPInfoExW(codepage, dwflags, lpcpinfoex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetCalendarInfoA(locale: u32, calendar: u32, caltype: u32, lpcaldata: ::core::option::Option<&mut [u8]>, lpvalue: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCalendarInfoA ( locale : u32 , calendar : u32 , caltype : u32 , lpcaldata : :: windows::core::PSTR , cchdata : i32 , lpvalue : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCalendarInfoA ( locale : u32 , calendar : u32 , caltype : u32 , lpcaldata : :: windows::core::PSTR , cchdata : i32 , lpvalue : *mut u32 ) -> i32 ); GetCalendarInfoA(locale, calendar, caltype, ::core::mem::transmute(lpcaldata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpcaldata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -317,13 +317,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCalendarInfoEx ( lplocalename : :: windows::core::PCWSTR , calendar : u32 , lpreserved : :: windows::core::PCWSTR , caltype : u32 , lpcaldata : :: windows::core::PWSTR , cchdata : i32 , lpvalue : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCalendarInfoEx ( lplocalename : :: windows::core::PCWSTR , calendar : u32 , lpreserved : :: windows::core::PCWSTR , caltype : u32 , lpcaldata : :: windows::core::PWSTR , cchdata : i32 , lpvalue : *mut u32 ) -> i32 ); GetCalendarInfoEx(lplocalename.into().abi(), calendar, lpreserved.into().abi(), caltype, ::core::mem::transmute(lpcaldata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpcaldata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetCalendarInfoW(locale: u32, calendar: u32, caltype: u32, lpcaldata: ::core::option::Option<&mut [u16]>, lpvalue: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCalendarInfoW ( locale : u32 , calendar : u32 , caltype : u32 , lpcaldata : :: windows::core::PWSTR , cchdata : i32 , lpvalue : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCalendarInfoW ( locale : u32 , calendar : u32 , caltype : u32 , lpcaldata : :: windows::core::PWSTR , cchdata : i32 , lpvalue : *mut u32 ) -> i32 ); GetCalendarInfoW(locale, calendar, caltype, ::core::mem::transmute(lpcaldata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpcaldata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -332,7 +332,7 @@ pub unsafe fn GetCurrencyFormatA(locale: u32, dwflags: u32, lpvalue: P0, lpf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrencyFormatA ( locale : u32 , dwflags : u32 , lpvalue : :: windows::core::PCSTR , lpformat : *const CURRENCYFMTA , lpcurrencystr : :: windows::core::PSTR , cchcurrency : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrencyFormatA ( locale : u32 , dwflags : u32 , lpvalue : :: windows::core::PCSTR , lpformat : *const CURRENCYFMTA , lpcurrencystr : :: windows::core::PSTR , cchcurrency : i32 ) -> i32 ); GetCurrencyFormatA(locale, dwflags, lpvalue.into().abi(), ::core::mem::transmute(lpformat.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcurrencystr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpcurrencystr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -342,7 +342,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrencyFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : u32 , lpvalue : :: windows::core::PCWSTR , lpformat : *const CURRENCYFMTW , lpcurrencystr : :: windows::core::PWSTR , cchcurrency : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrencyFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : u32 , lpvalue : :: windows::core::PCWSTR , lpformat : *const CURRENCYFMTW , lpcurrencystr : :: windows::core::PWSTR , cchcurrency : i32 ) -> i32 ); GetCurrencyFormatEx(lplocalename.into().abi(), dwflags, lpvalue.into().abi(), ::core::mem::transmute(lpformat.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcurrencystr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpcurrencystr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn GetCurrencyFormatW(locale: u32, dwflags: u32, lpvalue: P0, lpf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrencyFormatW ( locale : u32 , dwflags : u32 , lpvalue : :: windows::core::PCWSTR , lpformat : *const CURRENCYFMTW , lpcurrencystr : :: windows::core::PWSTR , cchcurrency : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrencyFormatW ( locale : u32 , dwflags : u32 , lpvalue : :: windows::core::PCWSTR , lpformat : *const CURRENCYFMTW , lpcurrencystr : :: windows::core::PWSTR , cchcurrency : i32 ) -> i32 ); GetCurrencyFormatW(locale, dwflags, lpvalue.into().abi(), ::core::mem::transmute(lpformat.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcurrencystr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpcurrencystr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -361,7 +361,7 @@ pub unsafe fn GetDateFormatA(locale: u32, dwflags: u32, lpdate: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDateFormatA ( locale : u32 , dwflags : u32 , lpdate : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCSTR , lpdatestr : :: windows::core::PSTR , cchdate : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDateFormatA ( locale : u32 , dwflags : u32 , lpdate : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCSTR , lpdatestr : :: windows::core::PSTR , cchdate : i32 ) -> i32 ); GetDateFormatA(locale, dwflags, ::core::mem::transmute(lpdate.unwrap_or(::std::ptr::null())), lpformat.into().abi(), ::core::mem::transmute(lpdatestr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdatestr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -373,7 +373,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDateFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : ENUM_DATE_FORMATS_FLAGS , lpdate : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCWSTR , lpdatestr : :: windows::core::PWSTR , cchdate : i32 , lpcalendar : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDateFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : ENUM_DATE_FORMATS_FLAGS , lpdate : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCWSTR , lpdatestr : :: windows::core::PWSTR , cchdate : i32 , lpcalendar : :: windows::core::PCWSTR ) -> i32 ); GetDateFormatEx(lplocalename.into().abi(), dwflags, ::core::mem::transmute(lpdate.unwrap_or(::std::ptr::null())), lpformat.into().abi(), ::core::mem::transmute(lpdatestr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdatestr.as_deref().map_or(0, |slice| slice.len() as _), lpcalendar.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -383,7 +383,7 @@ pub unsafe fn GetDateFormatW(locale: u32, dwflags: u32, lpdate: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDateFormatW ( locale : u32 , dwflags : u32 , lpdate : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCWSTR , lpdatestr : :: windows::core::PWSTR , cchdate : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDateFormatW ( locale : u32 , dwflags : u32 , lpdate : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCWSTR , lpdatestr : :: windows::core::PWSTR , cchdate : i32 ) -> i32 ); GetDateFormatW(locale, dwflags, ::core::mem::transmute(lpdate.unwrap_or(::std::ptr::null())), lpformat.into().abi(), ::core::mem::transmute(lpdatestr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdatestr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -393,7 +393,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcp47mrm.dll""system" fn GetDistanceOfClosestLanguageInList ( pszlanguage : :: windows::core::PCWSTR , pszlanguageslist : :: windows::core::PCWSTR , wchlistdelimiter : u16 , pclosestdistance : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "bcp47mrm.dll""system" fn GetDistanceOfClosestLanguageInList ( pszlanguage : :: windows::core::PCWSTR , pszlanguageslist : :: windows::core::PCWSTR , wchlistdelimiter : u16 , pclosestdistance : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetDistanceOfClosestLanguageInList(pszlanguage.into().abi(), pszlanguageslist.into().abi(), wchlistdelimiter, &mut result__).from_abi(result__) } @@ -404,7 +404,7 @@ pub unsafe fn GetDurationFormat(locale: u32, dwflags: u32, lpduration: ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDurationFormat ( locale : u32 , dwflags : u32 , lpduration : *const super::Foundation:: SYSTEMTIME , ullduration : u64 , lpformat : :: windows::core::PCWSTR , lpdurationstr : :: windows::core::PWSTR , cchduration : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDurationFormat ( locale : u32 , dwflags : u32 , lpduration : *const super::Foundation:: SYSTEMTIME , ullduration : u64 , lpformat : :: windows::core::PCWSTR , lpdurationstr : :: windows::core::PWSTR , cchduration : i32 ) -> i32 ); GetDurationFormat(locale, dwflags, ::core::mem::transmute(lpduration.unwrap_or(::std::ptr::null())), ullduration, lpformat.into().abi(), ::core::mem::transmute(lpdurationstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdurationstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -415,7 +415,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDurationFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : u32 , lpduration : *const super::Foundation:: SYSTEMTIME , ullduration : u64 , lpformat : :: windows::core::PCWSTR , lpdurationstr : :: windows::core::PWSTR , cchduration : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDurationFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : u32 , lpduration : *const super::Foundation:: SYSTEMTIME , ullduration : u64 , lpformat : :: windows::core::PCWSTR , lpdurationstr : :: windows::core::PWSTR , cchduration : i32 ) -> i32 ); GetDurationFormatEx(lplocalename.into().abi(), dwflags, ::core::mem::transmute(lpduration.unwrap_or(::std::ptr::null())), ullduration, lpformat.into().abi(), ::core::mem::transmute(lpdurationstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdurationstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -425,7 +425,7 @@ pub unsafe fn GetFileMUIInfo(dwflags: u32, pcwszfilepath: P0, pfilemuiinfo: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileMUIInfo ( dwflags : u32 , pcwszfilepath : :: windows::core::PCWSTR , pfilemuiinfo : *mut FILEMUIINFO , pcbfilemuiinfo : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileMUIInfo ( dwflags : u32 , pcwszfilepath : :: windows::core::PCWSTR , pfilemuiinfo : *mut FILEMUIINFO , pcbfilemuiinfo : *mut u32 ) -> super::Foundation:: BOOL ); GetFileMUIInfo(dwflags, pcwszfilepath.into().abi(), ::core::mem::transmute(pfilemuiinfo.unwrap_or(::std::ptr::null_mut())), pcbfilemuiinfo) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -435,13 +435,13 @@ pub unsafe fn GetFileMUIPath(dwflags: u32, pcwszfilepath: P0, pwszlanguage: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileMUIPath ( dwflags : u32 , pcwszfilepath : :: windows::core::PCWSTR , pwszlanguage : :: windows::core::PWSTR , pcchlanguage : *mut u32 , pwszfilemuipath : :: windows::core::PWSTR , pcchfilemuipath : *mut u32 , pululenumerator : *mut u64 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileMUIPath ( dwflags : u32 , pcwszfilepath : :: windows::core::PCWSTR , pwszlanguage : :: windows::core::PWSTR , pcchlanguage : *mut u32 , pwszfilemuipath : :: windows::core::PWSTR , pcchfilemuipath : *mut u32 , pululenumerator : *mut u64 ) -> super::Foundation:: BOOL ); GetFileMUIPath(dwflags, pcwszfilepath.into().abi(), ::core::mem::transmute(pwszlanguage), pcchlanguage, ::core::mem::transmute(pwszfilemuipath), pcchfilemuipath, pululenumerator) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetGeoInfoA(location: i32, geotype: u32, lpgeodata: ::core::option::Option<&mut [u8]>, langid: u16) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetGeoInfoA ( location : i32 , geotype : u32 , lpgeodata : :: windows::core::PSTR , cchdata : i32 , langid : u16 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetGeoInfoA ( location : i32 , geotype : u32 , lpgeodata : :: windows::core::PSTR , cchdata : i32 , langid : u16 ) -> i32 ); GetGeoInfoA(location, geotype, ::core::mem::transmute(lpgeodata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpgeodata.as_deref().map_or(0, |slice| slice.len() as _), langid) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -450,19 +450,19 @@ pub unsafe fn GetGeoInfoEx(location: P0, geotype: u32, geodata: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetGeoInfoEx ( location : :: windows::core::PCWSTR , geotype : u32 , geodata : :: windows::core::PWSTR , geodatacount : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetGeoInfoEx ( location : :: windows::core::PCWSTR , geotype : u32 , geodata : :: windows::core::PWSTR , geodatacount : i32 ) -> i32 ); GetGeoInfoEx(location.into().abi(), geotype, ::core::mem::transmute(geodata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), geodata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetGeoInfoW(location: i32, geotype: u32, lpgeodata: ::core::option::Option<&mut [u16]>, langid: u16) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetGeoInfoW ( location : i32 , geotype : u32 , lpgeodata : :: windows::core::PWSTR , cchdata : i32 , langid : u16 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetGeoInfoW ( location : i32 , geotype : u32 , lpgeodata : :: windows::core::PWSTR , cchdata : i32 , langid : u16 ) -> i32 ); GetGeoInfoW(location, geotype, ::core::mem::transmute(lpgeodata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpgeodata.as_deref().map_or(0, |slice| slice.len() as _), langid) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetLocaleInfoA(locale: u32, lctype: u32, lplcdata: ::core::option::Option<&mut [u8]>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLocaleInfoA ( locale : u32 , lctype : u32 , lplcdata : :: windows::core::PSTR , cchdata : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLocaleInfoA ( locale : u32 , lctype : u32 , lplcdata : :: windows::core::PSTR , cchdata : i32 ) -> i32 ); GetLocaleInfoA(locale, lctype, ::core::mem::transmute(lplcdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lplcdata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -471,20 +471,20 @@ pub unsafe fn GetLocaleInfoEx(lplocalename: P0, lctype: u32, lplcdata: ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLocaleInfoEx ( lplocalename : :: windows::core::PCWSTR , lctype : u32 , lplcdata : :: windows::core::PWSTR , cchdata : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLocaleInfoEx ( lplocalename : :: windows::core::PCWSTR , lctype : u32 , lplcdata : :: windows::core::PWSTR , cchdata : i32 ) -> i32 ); GetLocaleInfoEx(lplocalename.into().abi(), lctype, ::core::mem::transmute(lplcdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lplcdata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetLocaleInfoW(locale: u32, lctype: u32, lplcdata: ::core::option::Option<&mut [u16]>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLocaleInfoW ( locale : u32 , lctype : u32 , lplcdata : :: windows::core::PWSTR , cchdata : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLocaleInfoW ( locale : u32 , lctype : u32 , lplcdata : :: windows::core::PWSTR , cchdata : i32 ) -> i32 ); GetLocaleInfoW(locale, lctype, ::core::mem::transmute(lplcdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lplcdata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNLSVersion(function: u32, locale: u32, lpversioninformation: *mut NLSVERSIONINFO) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNLSVersion ( function : u32 , locale : u32 , lpversioninformation : *mut NLSVERSIONINFO ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNLSVersion ( function : u32 , locale : u32 , lpversioninformation : *mut NLSVERSIONINFO ) -> super::Foundation:: BOOL ); GetNLSVersion(function, locale, lpversioninformation) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -494,7 +494,7 @@ pub unsafe fn GetNLSVersionEx(function: u32, lplocalename: P0, lpversioninfo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNLSVersionEx ( function : u32 , lplocalename : :: windows::core::PCWSTR , lpversioninformation : *mut NLSVERSIONINFOEX ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNLSVersionEx ( function : u32 , lplocalename : :: windows::core::PCWSTR , lpversioninformation : *mut NLSVERSIONINFOEX ) -> super::Foundation:: BOOL ); GetNLSVersionEx(function, lplocalename.into().abi(), lpversioninformation) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -503,7 +503,7 @@ pub unsafe fn GetNumberFormatA(locale: u32, dwflags: u32, lpvalue: P0, lpfor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumberFormatA ( locale : u32 , dwflags : u32 , lpvalue : :: windows::core::PCSTR , lpformat : *const NUMBERFMTA , lpnumberstr : :: windows::core::PSTR , cchnumber : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumberFormatA ( locale : u32 , dwflags : u32 , lpvalue : :: windows::core::PCSTR , lpformat : *const NUMBERFMTA , lpnumberstr : :: windows::core::PSTR , cchnumber : i32 ) -> i32 ); GetNumberFormatA(locale, dwflags, lpvalue.into().abi(), ::core::mem::transmute(lpformat.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpnumberstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpnumberstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -513,7 +513,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumberFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : u32 , lpvalue : :: windows::core::PCWSTR , lpformat : *const NUMBERFMTW , lpnumberstr : :: windows::core::PWSTR , cchnumber : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumberFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : u32 , lpvalue : :: windows::core::PCWSTR , lpformat : *const NUMBERFMTW , lpnumberstr : :: windows::core::PWSTR , cchnumber : i32 ) -> i32 ); GetNumberFormatEx(lplocalename.into().abi(), dwflags, lpvalue.into().abi(), ::core::mem::transmute(lpformat.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpnumberstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpnumberstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -522,20 +522,20 @@ pub unsafe fn GetNumberFormatW(locale: u32, dwflags: u32, lpvalue: P0, lpfor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumberFormatW ( locale : u32 , dwflags : u32 , lpvalue : :: windows::core::PCWSTR , lpformat : *const NUMBERFMTW , lpnumberstr : :: windows::core::PWSTR , cchnumber : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumberFormatW ( locale : u32 , dwflags : u32 , lpvalue : :: windows::core::PCWSTR , lpformat : *const NUMBERFMTW , lpnumberstr : :: windows::core::PWSTR , cchnumber : i32 ) -> i32 ); GetNumberFormatW(locale, dwflags, lpvalue.into().abi(), ::core::mem::transmute(lpformat.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpnumberstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpnumberstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetOEMCP() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetOEMCP ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetOEMCP ( ) -> u32 ); GetOEMCP() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetProcessPreferredUILanguages(dwflags: u32, pulnumlanguages: *mut u32, pwszlanguagesbuffer: ::windows::core::PWSTR, pcchlanguagesbuffer: *mut u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessPreferredUILanguages ( dwflags : u32 , pulnumlanguages : *mut u32 , pwszlanguagesbuffer : :: windows::core::PWSTR , pcchlanguagesbuffer : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessPreferredUILanguages ( dwflags : u32 , pulnumlanguages : *mut u32 , pwszlanguagesbuffer : :: windows::core::PWSTR , pcchlanguagesbuffer : *mut u32 ) -> super::Foundation:: BOOL ); GetProcessPreferredUILanguages(dwflags, pulnumlanguages, ::core::mem::transmute(pwszlanguagesbuffer), pcchlanguagesbuffer) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -544,14 +544,14 @@ pub unsafe fn GetStringScripts(dwflags: u32, lpstring: P0, cchstring: i32, l where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStringScripts ( dwflags : u32 , lpstring : :: windows::core::PCWSTR , cchstring : i32 , lpscripts : :: windows::core::PWSTR , cchscripts : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStringScripts ( dwflags : u32 , lpstring : :: windows::core::PCWSTR , cchstring : i32 , lpscripts : :: windows::core::PWSTR , cchscripts : i32 ) -> i32 ); GetStringScripts(dwflags, lpstring.into().abi(), cchstring, ::core::mem::transmute(lpscripts.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpscripts.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetStringTypeA(locale: u32, dwinfotype: u32, lpsrcstr: &[u8], lpchartype: *mut u16) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStringTypeA ( locale : u32 , dwinfotype : u32 , lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpchartype : *mut u16 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStringTypeA ( locale : u32 , dwinfotype : u32 , lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpchartype : *mut u16 ) -> super::Foundation:: BOOL ); GetStringTypeA(locale, dwinfotype, ::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, lpchartype) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -561,7 +561,7 @@ pub unsafe fn GetStringTypeExA(locale: u32, dwinfotype: u32, lpsrcstr: P0, c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStringTypeExA ( locale : u32 , dwinfotype : u32 , lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpchartype : *mut u16 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStringTypeExA ( locale : u32 , dwinfotype : u32 , lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpchartype : *mut u16 ) -> super::Foundation:: BOOL ); GetStringTypeExA(locale, dwinfotype, lpsrcstr.into().abi(), cchsrc, lpchartype) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -571,45 +571,45 @@ pub unsafe fn GetStringTypeExW(locale: u32, dwinfotype: u32, lpsrcstr: P0, c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStringTypeExW ( locale : u32 , dwinfotype : u32 , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpchartype : *mut u16 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStringTypeExW ( locale : u32 , dwinfotype : u32 , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpchartype : *mut u16 ) -> super::Foundation:: BOOL ); GetStringTypeExW(locale, dwinfotype, lpsrcstr.into().abi(), cchsrc, lpchartype) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetStringTypeW(dwinfotype: u32, lpsrcstr: &[u16], lpchartype: *mut u16) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStringTypeW ( dwinfotype : u32 , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpchartype : *mut u16 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStringTypeW ( dwinfotype : u32 , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpchartype : *mut u16 ) -> super::Foundation:: BOOL ); GetStringTypeW(dwinfotype, ::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, lpchartype) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetSystemDefaultLCID() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemDefaultLCID ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemDefaultLCID ( ) -> u32 ); GetSystemDefaultLCID() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetSystemDefaultLangID() -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemDefaultLangID ( ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemDefaultLangID ( ) -> u16 ); GetSystemDefaultLangID() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetSystemDefaultLocaleName(lplocalename: &mut [u16]) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemDefaultLocaleName ( lplocalename : :: windows::core::PWSTR , cchlocalename : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemDefaultLocaleName ( lplocalename : :: windows::core::PWSTR , cchlocalename : i32 ) -> i32 ); GetSystemDefaultLocaleName(::core::mem::transmute(lplocalename.as_ptr()), lplocalename.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetSystemDefaultUILanguage() -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemDefaultUILanguage ( ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemDefaultUILanguage ( ) -> u16 ); GetSystemDefaultUILanguage() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemPreferredUILanguages(dwflags: u32, pulnumlanguages: *mut u32, pwszlanguagesbuffer: ::windows::core::PWSTR, pcchlanguagesbuffer: *mut u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemPreferredUILanguages ( dwflags : u32 , pulnumlanguages : *mut u32 , pwszlanguagesbuffer : :: windows::core::PWSTR , pcchlanguagesbuffer : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemPreferredUILanguages ( dwflags : u32 , pulnumlanguages : *mut u32 , pwszlanguagesbuffer : :: windows::core::PWSTR , pcchlanguagesbuffer : *mut u32 ) -> super::Foundation:: BOOL ); GetSystemPreferredUILanguages(dwflags, pulnumlanguages, ::core::mem::transmute(pwszlanguagesbuffer), pcchlanguagesbuffer) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -619,7 +619,7 @@ pub unsafe fn GetTextCharset(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextCharset ( hdc : super::Graphics::Gdi:: HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextCharset ( hdc : super::Graphics::Gdi:: HDC ) -> i32 ); GetTextCharset(hdc.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -629,26 +629,26 @@ pub unsafe fn GetTextCharsetInfo(hdc: P0, lpsig: ::core::option::Option<*mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextCharsetInfo ( hdc : super::Graphics::Gdi:: HDC , lpsig : *mut FONTSIGNATURE , dwflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextCharsetInfo ( hdc : super::Graphics::Gdi:: HDC , lpsig : *mut FONTSIGNATURE , dwflags : u32 ) -> i32 ); GetTextCharsetInfo(hdc.into(), ::core::mem::transmute(lpsig.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetThreadLocale() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadLocale ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadLocale ( ) -> u32 ); GetThreadLocale() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetThreadPreferredUILanguages(dwflags: u32, pulnumlanguages: *mut u32, pwszlanguagesbuffer: ::windows::core::PWSTR, pcchlanguagesbuffer: *mut u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadPreferredUILanguages ( dwflags : u32 , pulnumlanguages : *mut u32 , pwszlanguagesbuffer : :: windows::core::PWSTR , pcchlanguagesbuffer : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadPreferredUILanguages ( dwflags : u32 , pulnumlanguages : *mut u32 , pwszlanguagesbuffer : :: windows::core::PWSTR , pcchlanguagesbuffer : *mut u32 ) -> super::Foundation:: BOOL ); GetThreadPreferredUILanguages(dwflags, pulnumlanguages, ::core::mem::transmute(pwszlanguagesbuffer), pcchlanguagesbuffer) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetThreadUILanguage() -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadUILanguage ( ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadUILanguage ( ) -> u16 ); GetThreadUILanguage() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -658,7 +658,7 @@ pub unsafe fn GetTimeFormatA(locale: u32, dwflags: u32, lptime: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTimeFormatA ( locale : u32 , dwflags : u32 , lptime : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCSTR , lptimestr : :: windows::core::PSTR , cchtime : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTimeFormatA ( locale : u32 , dwflags : u32 , lptime : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCSTR , lptimestr : :: windows::core::PSTR , cchtime : i32 ) -> i32 ); GetTimeFormatA(locale, dwflags, ::core::mem::transmute(lptime.unwrap_or(::std::ptr::null())), lpformat.into().abi(), ::core::mem::transmute(lptimestr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lptimestr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -669,7 +669,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTimeFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : TIME_FORMAT_FLAGS , lptime : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCWSTR , lptimestr : :: windows::core::PWSTR , cchtime : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTimeFormatEx ( lplocalename : :: windows::core::PCWSTR , dwflags : TIME_FORMAT_FLAGS , lptime : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCWSTR , lptimestr : :: windows::core::PWSTR , cchtime : i32 ) -> i32 ); GetTimeFormatEx(lplocalename.into().abi(), dwflags, ::core::mem::transmute(lptime.unwrap_or(::std::ptr::null())), lpformat.into().abi(), ::core::mem::transmute(lptimestr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lptimestr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -679,7 +679,7 @@ pub unsafe fn GetTimeFormatW(locale: u32, dwflags: u32, lptime: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTimeFormatW ( locale : u32 , dwflags : u32 , lptime : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCWSTR , lptimestr : :: windows::core::PWSTR , cchtime : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTimeFormatW ( locale : u32 , dwflags : u32 , lptime : *const super::Foundation:: SYSTEMTIME , lpformat : :: windows::core::PCWSTR , lptimestr : :: windows::core::PWSTR , cchtime : i32 ) -> i32 ); GetTimeFormatW(locale, dwflags, ::core::mem::transmute(lptime.unwrap_or(::std::ptr::null())), lpformat.into().abi(), ::core::mem::transmute(lptimestr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lptimestr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -689,124 +689,124 @@ pub unsafe fn GetUILanguageInfo(dwflags: u32, pwmszlanguage: P0, pwszfallbac where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUILanguageInfo ( dwflags : u32 , pwmszlanguage : :: windows::core::PCWSTR , pwszfallbacklanguages : :: windows::core::PWSTR , pcchfallbacklanguages : *mut u32 , pattributes : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUILanguageInfo ( dwflags : u32 , pwmszlanguage : :: windows::core::PCWSTR , pwszfallbacklanguages : :: windows::core::PWSTR , pcchfallbacklanguages : *mut u32 , pattributes : *mut u32 ) -> super::Foundation:: BOOL ); GetUILanguageInfo(dwflags, pwmszlanguage.into().abi(), ::core::mem::transmute(pwszfallbacklanguages), ::core::mem::transmute(pcchfallbacklanguages.unwrap_or(::std::ptr::null_mut())), pattributes) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetUserDefaultGeoName(geoname: &mut [u16]) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUserDefaultGeoName ( geoname : :: windows::core::PWSTR , geonamecount : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUserDefaultGeoName ( geoname : :: windows::core::PWSTR , geonamecount : i32 ) -> i32 ); GetUserDefaultGeoName(::core::mem::transmute(geoname.as_ptr()), geoname.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetUserDefaultLCID() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUserDefaultLCID ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUserDefaultLCID ( ) -> u32 ); GetUserDefaultLCID() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetUserDefaultLangID() -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUserDefaultLangID ( ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUserDefaultLangID ( ) -> u16 ); GetUserDefaultLangID() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetUserDefaultLocaleName(lplocalename: &mut [u16]) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUserDefaultLocaleName ( lplocalename : :: windows::core::PWSTR , cchlocalename : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUserDefaultLocaleName ( lplocalename : :: windows::core::PWSTR , cchlocalename : i32 ) -> i32 ); GetUserDefaultLocaleName(::core::mem::transmute(lplocalename.as_ptr()), lplocalename.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetUserDefaultUILanguage() -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUserDefaultUILanguage ( ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUserDefaultUILanguage ( ) -> u16 ); GetUserDefaultUILanguage() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn GetUserGeoID(geoclass: u32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUserGeoID ( geoclass : u32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUserGeoID ( geoclass : u32 ) -> i32 ); GetUserGeoID(geoclass) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUserPreferredUILanguages(dwflags: u32, pulnumlanguages: *mut u32, pwszlanguagesbuffer: ::windows::core::PWSTR, pcchlanguagesbuffer: *mut u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUserPreferredUILanguages ( dwflags : u32 , pulnumlanguages : *mut u32 , pwszlanguagesbuffer : :: windows::core::PWSTR , pcchlanguagesbuffer : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUserPreferredUILanguages ( dwflags : u32 , pulnumlanguages : *mut u32 , pwszlanguagesbuffer : :: windows::core::PWSTR , pcchlanguagesbuffer : *mut u32 ) -> super::Foundation:: BOOL ); GetUserPreferredUILanguages(dwflags, pulnumlanguages, ::core::mem::transmute(pwszlanguagesbuffer), pcchlanguagesbuffer) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn IdnToAscii(dwflags: u32, lpunicodecharstr: &[u16], lpasciicharstr: ::core::option::Option<&mut [u16]>) -> i32 { - ::windows::core::link ! ( "normaliz.dll""system" fn IdnToAscii ( dwflags : u32 , lpunicodecharstr : :: windows::core::PCWSTR , cchunicodechar : i32 , lpasciicharstr : :: windows::core::PWSTR , cchasciichar : i32 ) -> i32 ); + ::windows::imp::link ! ( "normaliz.dll""system" fn IdnToAscii ( dwflags : u32 , lpunicodecharstr : :: windows::core::PCWSTR , cchunicodechar : i32 , lpasciicharstr : :: windows::core::PWSTR , cchasciichar : i32 ) -> i32 ); IdnToAscii(dwflags, ::core::mem::transmute(lpunicodecharstr.as_ptr()), lpunicodecharstr.len() as _, ::core::mem::transmute(lpasciicharstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpasciicharstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn IdnToNameprepUnicode(dwflags: u32, lpunicodecharstr: &[u16], lpnameprepcharstr: ::core::option::Option<&mut [u16]>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn IdnToNameprepUnicode ( dwflags : u32 , lpunicodecharstr : :: windows::core::PCWSTR , cchunicodechar : i32 , lpnameprepcharstr : :: windows::core::PWSTR , cchnameprepchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IdnToNameprepUnicode ( dwflags : u32 , lpunicodecharstr : :: windows::core::PCWSTR , cchunicodechar : i32 , lpnameprepcharstr : :: windows::core::PWSTR , cchnameprepchar : i32 ) -> i32 ); IdnToNameprepUnicode(dwflags, ::core::mem::transmute(lpunicodecharstr.as_ptr()), lpunicodecharstr.len() as _, ::core::mem::transmute(lpnameprepcharstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpnameprepcharstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn IdnToUnicode(dwflags: u32, lpasciicharstr: &[u16], lpunicodecharstr: ::core::option::Option<&mut [u16]>) -> i32 { - ::windows::core::link ! ( "normaliz.dll""system" fn IdnToUnicode ( dwflags : u32 , lpasciicharstr : :: windows::core::PCWSTR , cchasciichar : i32 , lpunicodecharstr : :: windows::core::PWSTR , cchunicodechar : i32 ) -> i32 ); + ::windows::imp::link ! ( "normaliz.dll""system" fn IdnToUnicode ( dwflags : u32 , lpasciicharstr : :: windows::core::PCWSTR , cchasciichar : i32 , lpunicodecharstr : :: windows::core::PWSTR , cchunicodechar : i32 ) -> i32 ); IdnToUnicode(dwflags, ::core::mem::transmute(lpasciicharstr.as_ptr()), lpasciicharstr.len() as _, ::core::mem::transmute(lpunicodecharstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpunicodecharstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsDBCSLeadByte(testchar: u8) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsDBCSLeadByte ( testchar : u8 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsDBCSLeadByte ( testchar : u8 ) -> super::Foundation:: BOOL ); IsDBCSLeadByte(testchar) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsDBCSLeadByteEx(codepage: u32, testchar: u8) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsDBCSLeadByteEx ( codepage : u32 , testchar : u8 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsDBCSLeadByteEx ( codepage : u32 , testchar : u8 ) -> super::Foundation:: BOOL ); IsDBCSLeadByteEx(codepage, testchar) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsNLSDefinedString(function: u32, dwflags: u32, lpversioninformation: *const NLSVERSIONINFO, lpstring: &[u16]) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsNLSDefinedString ( function : u32 , dwflags : u32 , lpversioninformation : *const NLSVERSIONINFO , lpstring : :: windows::core::PCWSTR , cchstr : i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsNLSDefinedString ( function : u32 , dwflags : u32 , lpversioninformation : *const NLSVERSIONINFO , lpstring : :: windows::core::PCWSTR , cchstr : i32 ) -> super::Foundation:: BOOL ); IsNLSDefinedString(function, dwflags, lpversioninformation, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsNormalizedString(normform: NORM_FORM, lpstring: &[u16]) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsNormalizedString ( normform : NORM_FORM , lpstring : :: windows::core::PCWSTR , cwlength : i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsNormalizedString ( normform : NORM_FORM , lpstring : :: windows::core::PCWSTR , cwlength : i32 ) -> super::Foundation:: BOOL ); IsNormalizedString(normform, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsTextUnicode(lpv: *const ::core::ffi::c_void, isize: i32, lpiresult: ::core::option::Option<*mut IS_TEXT_UNICODE_RESULT>) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn IsTextUnicode ( lpv : *const ::core::ffi::c_void , isize : i32 , lpiresult : *mut IS_TEXT_UNICODE_RESULT ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn IsTextUnicode ( lpv : *const ::core::ffi::c_void , isize : i32 , lpiresult : *mut IS_TEXT_UNICODE_RESULT ) -> super::Foundation:: BOOL ); IsTextUnicode(lpv, isize, ::core::mem::transmute(lpiresult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsValidCodePage(codepage: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsValidCodePage ( codepage : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsValidCodePage ( codepage : u32 ) -> super::Foundation:: BOOL ); IsValidCodePage(codepage) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsValidLanguageGroup(languagegroup: u32, dwflags: ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsValidLanguageGroup ( languagegroup : u32 , dwflags : ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsValidLanguageGroup ( languagegroup : u32 , dwflags : ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS ) -> super::Foundation:: BOOL ); IsValidLanguageGroup(languagegroup, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsValidLocale(locale: u32, dwflags: IS_VALID_LOCALE_FLAGS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsValidLocale ( locale : u32 , dwflags : IS_VALID_LOCALE_FLAGS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsValidLocale ( locale : u32 , dwflags : IS_VALID_LOCALE_FLAGS ) -> super::Foundation:: BOOL ); IsValidLocale(locale, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -816,7 +816,7 @@ pub unsafe fn IsValidLocaleName(lplocalename: P0) -> super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn IsValidLocaleName ( lplocalename : :: windows::core::PCWSTR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsValidLocaleName ( lplocalename : :: windows::core::PCWSTR ) -> super::Foundation:: BOOL ); IsValidLocaleName(lplocalename.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -825,7 +825,7 @@ pub unsafe fn IsValidNLSVersion(function: u32, lplocalename: P0, lpversionin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn IsValidNLSVersion ( function : u32 , lplocalename : :: windows::core::PCWSTR , lpversioninformation : *const NLSVERSIONINFOEX ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsValidNLSVersion ( function : u32 , lplocalename : :: windows::core::PCWSTR , lpversioninformation : *const NLSVERSIONINFOEX ) -> u32 ); IsValidNLSVersion(function, lplocalename.into().abi(), lpversioninformation) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -834,19 +834,19 @@ pub unsafe fn IsWellFormedTag(psztag: P0) -> u8 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcp47mrm.dll""system" fn IsWellFormedTag ( psztag : :: windows::core::PCWSTR ) -> u8 ); + ::windows::imp::link ! ( "bcp47mrm.dll""system" fn IsWellFormedTag ( psztag : :: windows::core::PCWSTR ) -> u8 ); IsWellFormedTag(psztag.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn LCIDToLocaleName(locale: u32, lpname: ::core::option::Option<&mut [u16]>, dwflags: u32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LCIDToLocaleName ( locale : u32 , lpname : :: windows::core::PWSTR , cchname : i32 , dwflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LCIDToLocaleName ( locale : u32 , lpname : :: windows::core::PWSTR , cchname : i32 , dwflags : u32 ) -> i32 ); LCIDToLocaleName(locale, ::core::mem::transmute(lpname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpname.as_deref().map_or(0, |slice| slice.len() as _), dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn LCMapStringA(locale: u32, dwmapflags: u32, lpsrcstr: &[u8], lpdeststr: ::windows::core::PSTR, cchdest: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LCMapStringA ( locale : u32 , dwmapflags : u32 , lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpdeststr : :: windows::core::PSTR , cchdest : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LCMapStringA ( locale : u32 , dwmapflags : u32 , lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpdeststr : :: windows::core::PSTR , cchdest : i32 ) -> i32 ); LCMapStringA(locale, dwmapflags, ::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr), cchdest) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -857,13 +857,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn LCMapStringEx ( lplocalename : :: windows::core::PCWSTR , dwmapflags : u32 , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpdeststr : :: windows::core::PWSTR , cchdest : i32 , lpversioninformation : *const NLSVERSIONINFO , lpreserved : *const ::core::ffi::c_void , sorthandle : super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LCMapStringEx ( lplocalename : :: windows::core::PCWSTR , dwmapflags : u32 , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpdeststr : :: windows::core::PWSTR , cchdest : i32 , lpversioninformation : *const NLSVERSIONINFO , lpreserved : *const ::core::ffi::c_void , sorthandle : super::Foundation:: LPARAM ) -> i32 ); LCMapStringEx(lplocalename.into().abi(), dwmapflags, ::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdeststr.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpversioninformation.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), sorthandle.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn LCMapStringW(locale: u32, dwmapflags: u32, lpsrcstr: &[u16], lpdeststr: ::windows::core::PWSTR, cchdest: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LCMapStringW ( locale : u32 , dwmapflags : u32 , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpdeststr : :: windows::core::PWSTR , cchdest : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LCMapStringW ( locale : u32 , dwmapflags : u32 , lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpdeststr : :: windows::core::PWSTR , cchdest : i32 ) -> i32 ); LCMapStringW(locale, dwmapflags, ::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr), cchdest) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -872,7 +872,7 @@ pub unsafe fn LocaleNameToLCID(lpname: P0, dwflags: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn LocaleNameToLCID ( lpname : :: windows::core::PCWSTR , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocaleNameToLCID ( lpname : :: windows::core::PCWSTR , dwflags : u32 ) -> u32 ); LocaleNameToLCID(lpname.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -881,43 +881,43 @@ pub unsafe fn MappingDoAction(pbag: *mut MAPPING_PROPERTY_BAG, dwrangeindex: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "elscore.dll""system" fn MappingDoAction ( pbag : *mut MAPPING_PROPERTY_BAG , dwrangeindex : u32 , pszactionid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "elscore.dll""system" fn MappingDoAction ( pbag : *mut MAPPING_PROPERTY_BAG , dwrangeindex : u32 , pszactionid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MappingDoAction(pbag, dwrangeindex, pszactionid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn MappingFreePropertyBag(pbag: *const MAPPING_PROPERTY_BAG) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "elscore.dll""system" fn MappingFreePropertyBag ( pbag : *const MAPPING_PROPERTY_BAG ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "elscore.dll""system" fn MappingFreePropertyBag ( pbag : *const MAPPING_PROPERTY_BAG ) -> :: windows::core::HRESULT ); MappingFreePropertyBag(pbag).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn MappingFreeServices(pserviceinfo: *const MAPPING_SERVICE_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "elscore.dll""system" fn MappingFreeServices ( pserviceinfo : *const MAPPING_SERVICE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "elscore.dll""system" fn MappingFreeServices ( pserviceinfo : *const MAPPING_SERVICE_INFO ) -> :: windows::core::HRESULT ); MappingFreeServices(pserviceinfo).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn MappingGetServices(poptions: ::core::option::Option<*const MAPPING_ENUM_OPTIONS>, prgservices: *mut *mut MAPPING_SERVICE_INFO, pdwservicescount: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "elscore.dll""system" fn MappingGetServices ( poptions : *const MAPPING_ENUM_OPTIONS , prgservices : *mut *mut MAPPING_SERVICE_INFO , pdwservicescount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "elscore.dll""system" fn MappingGetServices ( poptions : *const MAPPING_ENUM_OPTIONS , prgservices : *mut *mut MAPPING_SERVICE_INFO , pdwservicescount : *mut u32 ) -> :: windows::core::HRESULT ); MappingGetServices(::core::mem::transmute(poptions.unwrap_or(::std::ptr::null())), prgservices, pdwservicescount).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn MappingRecognizeText(pserviceinfo: *const MAPPING_SERVICE_INFO, psztext: &[u16], dwindex: u32, poptions: ::core::option::Option<*const MAPPING_OPTIONS>, pbag: *mut MAPPING_PROPERTY_BAG) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "elscore.dll""system" fn MappingRecognizeText ( pserviceinfo : *const MAPPING_SERVICE_INFO , psztext : :: windows::core::PCWSTR , dwlength : u32 , dwindex : u32 , poptions : *const MAPPING_OPTIONS , pbag : *mut MAPPING_PROPERTY_BAG ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "elscore.dll""system" fn MappingRecognizeText ( pserviceinfo : *const MAPPING_SERVICE_INFO , psztext : :: windows::core::PCWSTR , dwlength : u32 , dwindex : u32 , poptions : *const MAPPING_OPTIONS , pbag : *mut MAPPING_PROPERTY_BAG ) -> :: windows::core::HRESULT ); MappingRecognizeText(pserviceinfo, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _, dwindex, ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null())), pbag).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn MultiByteToWideChar(codepage: u32, dwflags: MULTI_BYTE_TO_WIDE_CHAR_FLAGS, lpmultibytestr: &[u8], lpwidecharstr: ::core::option::Option<&mut [u16]>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn MultiByteToWideChar ( codepage : u32 , dwflags : MULTI_BYTE_TO_WIDE_CHAR_FLAGS , lpmultibytestr : :: windows::core::PCSTR , cbmultibyte : i32 , lpwidecharstr : :: windows::core::PWSTR , cchwidechar : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MultiByteToWideChar ( codepage : u32 , dwflags : MULTI_BYTE_TO_WIDE_CHAR_FLAGS , lpmultibytestr : :: windows::core::PCSTR , cbmultibyte : i32 , lpwidecharstr : :: windows::core::PWSTR , cchwidechar : i32 ) -> i32 ); MultiByteToWideChar(codepage, dwflags, ::core::mem::transmute(lpmultibytestr.as_ptr()), lpmultibytestr.len() as _, ::core::mem::transmute(lpwidecharstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpwidecharstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn NormalizeString(normform: NORM_FORM, lpsrcstring: &[u16], lpdststring: ::core::option::Option<&mut [u16]>) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn NormalizeString ( normform : NORM_FORM , lpsrcstring : :: windows::core::PCWSTR , cwsrclength : i32 , lpdststring : :: windows::core::PWSTR , cwdstlength : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn NormalizeString ( normform : NORM_FORM , lpsrcstring : :: windows::core::PCWSTR , cwsrclength : i32 , lpdststring : :: windows::core::PWSTR , cwdstlength : i32 ) -> i32 ); NormalizeString(normform, ::core::mem::transmute(lpsrcstring.as_ptr()), lpsrcstring.len() as _, ::core::mem::transmute(lpdststring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdststring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -928,7 +928,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn NotifyUILanguageChange ( dwflags : u32 , pcwstrnewlanguage : :: windows::core::PCWSTR , pcwstrpreviouslanguage : :: windows::core::PCWSTR , dwreserved : u32 , pdwstatusrtrn : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn NotifyUILanguageChange ( dwflags : u32 , pcwstrnewlanguage : :: windows::core::PCWSTR , pcwstrpreviouslanguage : :: windows::core::PCWSTR , dwreserved : u32 , pdwstatusrtrn : *mut u32 ) -> super::Foundation:: BOOL ); NotifyUILanguageChange(dwflags, pcwstrnewlanguage.into().abi(), pcwstrpreviouslanguage.into().abi(), dwreserved, ::core::mem::transmute(pdwstatusrtrn.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -937,7 +937,7 @@ pub unsafe fn ResolveLocaleName(lpnametoresolve: P0, lplocalename: ::core::o where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ResolveLocaleName ( lpnametoresolve : :: windows::core::PCWSTR , lplocalename : :: windows::core::PWSTR , cchlocalename : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ResolveLocaleName ( lpnametoresolve : :: windows::core::PCWSTR , lplocalename : :: windows::core::PWSTR , cchlocalename : i32 ) -> i32 ); ResolveLocaleName(lpnametoresolve.into().abi(), ::core::mem::transmute(lplocalename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lplocalename.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -946,20 +946,20 @@ pub unsafe fn RestoreThreadPreferredUILanguages(snapshot: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn RestoreThreadPreferredUILanguages ( snapshot : HSAVEDUILANGUAGES ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RestoreThreadPreferredUILanguages ( snapshot : HSAVEDUILANGUAGES ) -> ( ) ); RestoreThreadPreferredUILanguages(snapshot.into()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptApplyDigitSubstitution(psds: *const SCRIPT_DIGITSUBSTITUTE, psc: *mut SCRIPT_CONTROL, pss: *mut SCRIPT_STATE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptApplyDigitSubstitution ( psds : *const SCRIPT_DIGITSUBSTITUTE , psc : *mut SCRIPT_CONTROL , pss : *mut SCRIPT_STATE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptApplyDigitSubstitution ( psds : *const SCRIPT_DIGITSUBSTITUTE , psc : *mut SCRIPT_CONTROL , pss : *mut SCRIPT_STATE ) -> :: windows::core::HRESULT ); ScriptApplyDigitSubstitution(psds, psc, pss).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn ScriptApplyLogicalWidth(pidx: *const i32, cchars: i32, cglyphs: i32, pwlogclust: *const u16, psva: *const SCRIPT_VISATTR, piadvance: *const i32, psa: *const SCRIPT_ANALYSIS, pabc: ::core::option::Option<*mut super::Graphics::Gdi::ABC>, pijustify: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptApplyLogicalWidth ( pidx : *const i32 , cchars : i32 , cglyphs : i32 , pwlogclust : *const u16 , psva : *const SCRIPT_VISATTR , piadvance : *const i32 , psa : *const SCRIPT_ANALYSIS , pabc : *mut super::Graphics::Gdi:: ABC , pijustify : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptApplyLogicalWidth ( pidx : *const i32 , cchars : i32 , cglyphs : i32 , pwlogclust : *const u16 , psva : *const SCRIPT_VISATTR , piadvance : *const i32 , psa : *const SCRIPT_ANALYSIS , pabc : *mut super::Graphics::Gdi:: ABC , pijustify : *mut i32 ) -> :: windows::core::HRESULT ); ScriptApplyLogicalWidth(pidx, cchars, cglyphs, pwlogclust, psva, piadvance, psa, ::core::mem::transmute(pabc.unwrap_or(::std::ptr::null_mut())), pijustify).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -968,7 +968,7 @@ pub unsafe fn ScriptBreak(pwcchars: P0, cchars: i32, psa: *const SCRIPT_ANAL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptBreak ( pwcchars : :: windows::core::PCWSTR , cchars : i32 , psa : *const SCRIPT_ANALYSIS , psla : *mut SCRIPT_LOGATTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptBreak ( pwcchars : :: windows::core::PCWSTR , cchars : i32 , psa : *const SCRIPT_ANALYSIS , psla : *mut SCRIPT_LOGATTR ) -> :: windows::core::HRESULT ); ScriptBreak(pwcchars.into().abi(), cchars, psa, psla).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -978,7 +978,7 @@ pub unsafe fn ScriptCPtoX(icp: i32, ftrailing: P0, cglyphs: i32, pwlogclust: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptCPtoX ( icp : i32 , ftrailing : super::Foundation:: BOOL , cchars : i32 , cglyphs : i32 , pwlogclust : *const u16 , psva : *const SCRIPT_VISATTR , piadvance : *const i32 , psa : *const SCRIPT_ANALYSIS , pix : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptCPtoX ( icp : i32 , ftrailing : super::Foundation:: BOOL , cchars : i32 , cglyphs : i32 , pwlogclust : *const u16 , psva : *const SCRIPT_VISATTR , piadvance : *const i32 , psa : *const SCRIPT_ANALYSIS , pix : *mut i32 ) -> :: windows::core::HRESULT ); ScriptCPtoX(icp, ftrailing.into(), pwlogclust.len() as _, cglyphs, ::core::mem::transmute(pwlogclust.as_ptr()), psva, piadvance, psa, pix).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -988,13 +988,13 @@ pub unsafe fn ScriptCacheGetHeight(hdc: P0, psc: *mut *mut ::core::ffi::c_vo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptCacheGetHeight ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , tmheight : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptCacheGetHeight ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , tmheight : *mut i32 ) -> :: windows::core::HRESULT ); ScriptCacheGetHeight(hdc.into(), psc, tmheight).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptFreeCache(psc: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptFreeCache ( psc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptFreeCache ( psc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ScriptFreeCache(psc).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1005,7 +1005,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetCMap ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , pwcinchars : :: windows::core::PCWSTR , cchars : i32 , dwflags : u32 , pwoutglyphs : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetCMap ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , pwcinchars : :: windows::core::PCWSTR , cchars : i32 , dwflags : u32 , pwoutglyphs : *mut u16 ) -> :: windows::core::HRESULT ); ScriptGetCMap(hdc.into(), psc, pwcinchars.into().abi(), cchars, dwflags, pwoutglyphs).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1015,7 +1015,7 @@ pub unsafe fn ScriptGetFontAlternateGlyphs(hdc: P0, psc: *mut *mut ::core::f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetFontAlternateGlyphs ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , tagfeature : u32 , wglyphid : u16 , cmaxalternates : i32 , palternateglyphs : *mut u16 , pcalternates : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetFontAlternateGlyphs ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , tagfeature : u32 , wglyphid : u16 , cmaxalternates : i32 , palternateglyphs : *mut u16 , pcalternates : *mut i32 ) -> :: windows::core::HRESULT ); ScriptGetFontAlternateGlyphs(hdc.into(), psc, ::core::mem::transmute(psa.unwrap_or(::std::ptr::null())), tagscript, taglangsys, tagfeature, wglyphid, palternateglyphs.len() as _, ::core::mem::transmute(palternateglyphs.as_ptr()), pcalternates).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1025,7 +1025,7 @@ pub unsafe fn ScriptGetFontFeatureTags(hdc: P0, psc: *mut *mut ::core::ffi:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetFontFeatureTags ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , cmaxtags : i32 , pfeaturetags : *mut u32 , pctags : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetFontFeatureTags ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , cmaxtags : i32 , pfeaturetags : *mut u32 , pctags : *mut i32 ) -> :: windows::core::HRESULT ); ScriptGetFontFeatureTags(hdc.into(), psc, ::core::mem::transmute(psa.unwrap_or(::std::ptr::null())), tagscript, taglangsys, pfeaturetags.len() as _, ::core::mem::transmute(pfeaturetags.as_ptr()), pctags).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1035,7 +1035,7 @@ pub unsafe fn ScriptGetFontLanguageTags(hdc: P0, psc: *mut *mut ::core::ffi: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetFontLanguageTags ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , cmaxtags : i32 , plangsystags : *mut u32 , pctags : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetFontLanguageTags ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , cmaxtags : i32 , plangsystags : *mut u32 , pctags : *mut i32 ) -> :: windows::core::HRESULT ); ScriptGetFontLanguageTags(hdc.into(), psc, ::core::mem::transmute(psa.unwrap_or(::std::ptr::null())), tagscript, plangsystags.len() as _, ::core::mem::transmute(plangsystags.as_ptr()), pctags).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1045,7 +1045,7 @@ pub unsafe fn ScriptGetFontProperties(hdc: P0, psc: *mut *mut ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetFontProperties ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , sfp : *mut SCRIPT_FONTPROPERTIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetFontProperties ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , sfp : *mut SCRIPT_FONTPROPERTIES ) -> :: windows::core::HRESULT ); ScriptGetFontProperties(hdc.into(), psc, sfp).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1055,7 +1055,7 @@ pub unsafe fn ScriptGetFontScriptTags(hdc: P0, psc: *mut *mut ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetFontScriptTags ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , cmaxtags : i32 , pscripttags : *mut u32 , pctags : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetFontScriptTags ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , cmaxtags : i32 , pscripttags : *mut u32 , pctags : *mut i32 ) -> :: windows::core::HRESULT ); ScriptGetFontScriptTags(hdc.into(), psc, ::core::mem::transmute(psa.unwrap_or(::std::ptr::null())), pscripttags.len() as _, ::core::mem::transmute(pscripttags.as_ptr()), pctags).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1065,49 +1065,49 @@ pub unsafe fn ScriptGetGlyphABCWidth(hdc: P0, psc: *mut *mut ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetGlyphABCWidth ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , wglyph : u16 , pabc : *mut super::Graphics::Gdi:: ABC ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetGlyphABCWidth ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , wglyph : u16 , pabc : *mut super::Graphics::Gdi:: ABC ) -> :: windows::core::HRESULT ); ScriptGetGlyphABCWidth(hdc.into(), psc, wglyph, pabc).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptGetLogicalWidths(psa: *const SCRIPT_ANALYSIS, cchars: i32, cglyphs: i32, piglyphwidth: *const i32, pwlogclust: *const u16, psva: *const SCRIPT_VISATTR, pidx: *const i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetLogicalWidths ( psa : *const SCRIPT_ANALYSIS , cchars : i32 , cglyphs : i32 , piglyphwidth : *const i32 , pwlogclust : *const u16 , psva : *const SCRIPT_VISATTR , pidx : *const i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetLogicalWidths ( psa : *const SCRIPT_ANALYSIS , cchars : i32 , cglyphs : i32 , piglyphwidth : *const i32 , pwlogclust : *const u16 , psva : *const SCRIPT_VISATTR , pidx : *const i32 ) -> :: windows::core::HRESULT ); ScriptGetLogicalWidths(psa, cchars, cglyphs, piglyphwidth, pwlogclust, psva, pidx).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptGetProperties(ppsp: *mut *mut *mut SCRIPT_PROPERTIES, pinumscripts: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptGetProperties ( ppsp : *mut *mut *mut SCRIPT_PROPERTIES , pinumscripts : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptGetProperties ( ppsp : *mut *mut *mut SCRIPT_PROPERTIES , pinumscripts : *mut i32 ) -> :: windows::core::HRESULT ); ScriptGetProperties(ppsp, pinumscripts).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptIsComplex(pwcinchars: &[u16], dwflags: SCRIPT_IS_COMPLEX_FLAGS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptIsComplex ( pwcinchars : :: windows::core::PCWSTR , cinchars : i32 , dwflags : SCRIPT_IS_COMPLEX_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptIsComplex ( pwcinchars : :: windows::core::PCWSTR , cinchars : i32 , dwflags : SCRIPT_IS_COMPLEX_FLAGS ) -> :: windows::core::HRESULT ); ScriptIsComplex(::core::mem::transmute(pwcinchars.as_ptr()), pwcinchars.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptItemize(pwcinchars: &[u16], pscontrol: ::core::option::Option<*const SCRIPT_CONTROL>, psstate: ::core::option::Option<*const SCRIPT_STATE>, pitems: &mut [SCRIPT_ITEM], pcitems: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptItemize ( pwcinchars : :: windows::core::PCWSTR , cinchars : i32 , cmaxitems : i32 , pscontrol : *const SCRIPT_CONTROL , psstate : *const SCRIPT_STATE , pitems : *mut SCRIPT_ITEM , pcitems : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptItemize ( pwcinchars : :: windows::core::PCWSTR , cinchars : i32 , cmaxitems : i32 , pscontrol : *const SCRIPT_CONTROL , psstate : *const SCRIPT_STATE , pitems : *mut SCRIPT_ITEM , pcitems : *mut i32 ) -> :: windows::core::HRESULT ); ScriptItemize(::core::mem::transmute(pwcinchars.as_ptr()), pwcinchars.len() as _, pitems.len() as _, ::core::mem::transmute(pscontrol.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pitems.as_ptr()), pcitems).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptItemizeOpenType(pwcinchars: &[u16], cmaxitems: i32, pscontrol: ::core::option::Option<*const SCRIPT_CONTROL>, psstate: ::core::option::Option<*const SCRIPT_STATE>, pitems: *mut SCRIPT_ITEM, pscripttags: *mut u32, pcitems: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptItemizeOpenType ( pwcinchars : :: windows::core::PCWSTR , cinchars : i32 , cmaxitems : i32 , pscontrol : *const SCRIPT_CONTROL , psstate : *const SCRIPT_STATE , pitems : *mut SCRIPT_ITEM , pscripttags : *mut u32 , pcitems : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptItemizeOpenType ( pwcinchars : :: windows::core::PCWSTR , cinchars : i32 , cmaxitems : i32 , pscontrol : *const SCRIPT_CONTROL , psstate : *const SCRIPT_STATE , pitems : *mut SCRIPT_ITEM , pscripttags : *mut u32 , pcitems : *mut i32 ) -> :: windows::core::HRESULT ); ScriptItemizeOpenType(::core::mem::transmute(pwcinchars.as_ptr()), pwcinchars.len() as _, cmaxitems, ::core::mem::transmute(pscontrol.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psstate.unwrap_or(::std::ptr::null())), pitems, pscripttags, pcitems).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptJustify(psva: *const SCRIPT_VISATTR, piadvance: *const i32, cglyphs: i32, idx: i32, iminkashida: i32, pijustify: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptJustify ( psva : *const SCRIPT_VISATTR , piadvance : *const i32 , cglyphs : i32 , idx : i32 , iminkashida : i32 , pijustify : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptJustify ( psva : *const SCRIPT_VISATTR , piadvance : *const i32 , cglyphs : i32 , idx : i32 , iminkashida : i32 , pijustify : *mut i32 ) -> :: windows::core::HRESULT ); ScriptJustify(psva, piadvance, cglyphs, idx, iminkashida, pijustify).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptLayout(cruns: i32, pblevel: *const u8, pivisualtological: ::core::option::Option<*mut i32>, pilogicaltovisual: ::core::option::Option<*mut i32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptLayout ( cruns : i32 , pblevel : *const u8 , pivisualtological : *mut i32 , pilogicaltovisual : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptLayout ( cruns : i32 , pblevel : *const u8 , pivisualtological : *mut i32 , pilogicaltovisual : *mut i32 ) -> :: windows::core::HRESULT ); ScriptLayout(cruns, pblevel, ::core::mem::transmute(pivisualtological.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pilogicaltovisual.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1117,7 +1117,7 @@ pub unsafe fn ScriptPlace(hdc: P0, psc: *mut *mut ::core::ffi::c_void, pwgly where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptPlace ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , pwglyphs : *const u16 , cglyphs : i32 , psva : *const SCRIPT_VISATTR , psa : *mut SCRIPT_ANALYSIS , piadvance : *mut i32 , pgoffset : *mut GOFFSET , pabc : *mut super::Graphics::Gdi:: ABC ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptPlace ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , pwglyphs : *const u16 , cglyphs : i32 , psva : *const SCRIPT_VISATTR , psa : *mut SCRIPT_ANALYSIS , piadvance : *mut i32 , pgoffset : *mut GOFFSET , pabc : *mut super::Graphics::Gdi:: ABC ) -> :: windows::core::HRESULT ); ScriptPlace(hdc.into(), psc, pwglyphs, cglyphs, psva, psa, piadvance, ::core::mem::transmute(pgoffset.unwrap_or(::std::ptr::null_mut())), pabc).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1128,7 +1128,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptPlaceOpenType ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *mut SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , rcrangechars : *const i32 , rprangeproperties : *const *const TEXTRANGE_PROPERTIES , cranges : i32 , pwcchars : :: windows::core::PCWSTR , pwlogclust : *const u16 , pcharprops : *const SCRIPT_CHARPROP , cchars : i32 , pwglyphs : *const u16 , pglyphprops : *const SCRIPT_GLYPHPROP , cglyphs : i32 , piadvance : *mut i32 , pgoffset : *mut GOFFSET , pabc : *mut super::Graphics::Gdi:: ABC ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptPlaceOpenType ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *mut SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , rcrangechars : *const i32 , rprangeproperties : *const *const TEXTRANGE_PROPERTIES , cranges : i32 , pwcchars : :: windows::core::PCWSTR , pwlogclust : *const u16 , pcharprops : *const SCRIPT_CHARPROP , cchars : i32 , pwglyphs : *const u16 , pglyphprops : *const SCRIPT_GLYPHPROP , cglyphs : i32 , piadvance : *mut i32 , pgoffset : *mut GOFFSET , pabc : *mut super::Graphics::Gdi:: ABC ) -> :: windows::core::HRESULT ); ScriptPlaceOpenType(hdc.into(), psc, psa, tagscript, taglangsys, ::core::mem::transmute(rcrangechars.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rprangeproperties.unwrap_or(::std::ptr::null())), cranges, pwcchars.into().abi(), pwlogclust, pcharprops, cchars, pwglyphs, pglyphprops, cglyphs, piadvance, pgoffset, ::core::mem::transmute(pabc.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1138,13 +1138,13 @@ pub unsafe fn ScriptPositionSingleGlyph(hdc: P0, psc: *mut *mut ::core::ffi: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptPositionSingleGlyph ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , tagfeature : u32 , lparameter : i32 , wglyphid : u16 , iadvance : i32 , goffset : GOFFSET , pioutadvance : *mut i32 , poutgoffset : *mut GOFFSET ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptPositionSingleGlyph ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , tagfeature : u32 , lparameter : i32 , wglyphid : u16 , iadvance : i32 , goffset : GOFFSET , pioutadvance : *mut i32 , poutgoffset : *mut GOFFSET ) -> :: windows::core::HRESULT ); ScriptPositionSingleGlyph(hdc.into(), psc, ::core::mem::transmute(psa.unwrap_or(::std::ptr::null())), tagscript, taglangsys, tagfeature, lparameter, wglyphid, iadvance, ::core::mem::transmute(goffset), pioutadvance, poutgoffset).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptRecordDigitSubstitution(locale: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptRecordDigitSubstitution ( locale : u32 , psds : *mut SCRIPT_DIGITSUBSTITUTE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptRecordDigitSubstitution ( locale : u32 , psds : *mut SCRIPT_DIGITSUBSTITUTE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ScriptRecordDigitSubstitution(locale, &mut result__).from_abi(result__) } @@ -1156,7 +1156,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptShape ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , pwcchars : :: windows::core::PCWSTR , cchars : i32 , cmaxglyphs : i32 , psa : *mut SCRIPT_ANALYSIS , pwoutglyphs : *mut u16 , pwlogclust : *mut u16 , psva : *mut SCRIPT_VISATTR , pcglyphs : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptShape ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , pwcchars : :: windows::core::PCWSTR , cchars : i32 , cmaxglyphs : i32 , psa : *mut SCRIPT_ANALYSIS , pwoutglyphs : *mut u16 , pwlogclust : *mut u16 , psva : *mut SCRIPT_VISATTR , pcglyphs : *mut i32 ) -> :: windows::core::HRESULT ); ScriptShape(hdc.into(), psc, pwcchars.into().abi(), cchars, cmaxglyphs, psa, pwoutglyphs, pwlogclust, psva, pcglyphs).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1167,7 +1167,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptShapeOpenType ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *mut SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , rcrangechars : *const i32 , rprangeproperties : *const *const TEXTRANGE_PROPERTIES , cranges : i32 , pwcchars : :: windows::core::PCWSTR , cchars : i32 , cmaxglyphs : i32 , pwlogclust : *mut u16 , pcharprops : *mut SCRIPT_CHARPROP , pwoutglyphs : *mut u16 , poutglyphprops : *mut SCRIPT_GLYPHPROP , pcglyphs : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptShapeOpenType ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *mut SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , rcrangechars : *const i32 , rprangeproperties : *const *const TEXTRANGE_PROPERTIES , cranges : i32 , pwcchars : :: windows::core::PCWSTR , cchars : i32 , cmaxglyphs : i32 , pwlogclust : *mut u16 , pcharprops : *mut SCRIPT_CHARPROP , pwoutglyphs : *mut u16 , poutglyphprops : *mut SCRIPT_GLYPHPROP , pcglyphs : *mut i32 ) -> :: windows::core::HRESULT ); ScriptShapeOpenType(hdc.into(), psc, psa, tagscript, taglangsys, ::core::mem::transmute(rcrangechars.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rprangeproperties.unwrap_or(::std::ptr::null())), cranges, pwcchars.into().abi(), cchars, cmaxglyphs, pwlogclust, pcharprops, pwoutglyphs, poutglyphprops, pcglyphs).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1177,7 +1177,7 @@ pub unsafe fn ScriptStringAnalyse(hdc: P0, pstring: *const ::core::ffi::c_vo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptStringAnalyse ( hdc : super::Graphics::Gdi:: HDC , pstring : *const ::core::ffi::c_void , cstring : i32 , cglyphs : i32 , icharset : i32 , dwflags : u32 , ireqwidth : i32 , pscontrol : *const SCRIPT_CONTROL , psstate : *const SCRIPT_STATE , pidx : *const i32 , ptabdef : *const SCRIPT_TABDEF , pbinclass : *const u8 , pssa : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptStringAnalyse ( hdc : super::Graphics::Gdi:: HDC , pstring : *const ::core::ffi::c_void , cstring : i32 , cglyphs : i32 , icharset : i32 , dwflags : u32 , ireqwidth : i32 , pscontrol : *const SCRIPT_CONTROL , psstate : *const SCRIPT_STATE , pidx : *const i32 , ptabdef : *const SCRIPT_TABDEF , pbinclass : *const u8 , pssa : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ScriptStringAnalyse(hdc.into(), pstring, pidx.as_deref().map_or(0, |slice| slice.len() as _), cglyphs, icharset, dwflags, ireqwidth, ::core::mem::transmute(pscontrol.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pidx.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ptabdef.unwrap_or(::std::ptr::null())), pbinclass, pssa).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1187,26 +1187,26 @@ pub unsafe fn ScriptStringCPtoX(ssa: *const ::core::ffi::c_void, icp: i32, f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptStringCPtoX ( ssa : *const ::core::ffi::c_void , icp : i32 , ftrailing : super::Foundation:: BOOL , px : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptStringCPtoX ( ssa : *const ::core::ffi::c_void , icp : i32 , ftrailing : super::Foundation:: BOOL , px : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ScriptStringCPtoX(ssa, icp, ftrailing.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptStringFree(pssa: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptStringFree ( pssa : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptStringFree ( pssa : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ScriptStringFree(pssa).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptStringGetLogicalWidths(ssa: *const ::core::ffi::c_void, pidx: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptStringGetLogicalWidths ( ssa : *const ::core::ffi::c_void , pidx : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptStringGetLogicalWidths ( ssa : *const ::core::ffi::c_void , pidx : *mut i32 ) -> :: windows::core::HRESULT ); ScriptStringGetLogicalWidths(ssa, pidx).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptStringGetOrder(ssa: *const ::core::ffi::c_void, puorder: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptStringGetOrder ( ssa : *const ::core::ffi::c_void , puorder : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptStringGetOrder ( ssa : *const ::core::ffi::c_void , puorder : *mut u32 ) -> :: windows::core::HRESULT ); ScriptStringGetOrder(ssa, puorder).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1216,38 +1216,38 @@ pub unsafe fn ScriptStringOut(ssa: *const ::core::ffi::c_void, ix: i32, iy: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptStringOut ( ssa : *const ::core::ffi::c_void , ix : i32 , iy : i32 , uoptions : super::Graphics::Gdi:: ETO_OPTIONS , prc : *const super::Foundation:: RECT , iminsel : i32 , imaxsel : i32 , fdisabled : super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptStringOut ( ssa : *const ::core::ffi::c_void , ix : i32 , iy : i32 , uoptions : super::Graphics::Gdi:: ETO_OPTIONS , prc : *const super::Foundation:: RECT , iminsel : i32 , imaxsel : i32 , fdisabled : super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); ScriptStringOut(ssa, ix, iy, uoptions, ::core::mem::transmute(prc.unwrap_or(::std::ptr::null())), iminsel, imaxsel, fdisabled.into()).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptStringValidate(ssa: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptStringValidate ( ssa : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptStringValidate ( ssa : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ScriptStringValidate(ssa).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptStringXtoCP(ssa: *const ::core::ffi::c_void, ix: i32, pich: *mut i32, pitrailing: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptStringXtoCP ( ssa : *const ::core::ffi::c_void , ix : i32 , pich : *mut i32 , pitrailing : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptStringXtoCP ( ssa : *const ::core::ffi::c_void , ix : i32 , pich : *mut i32 , pitrailing : *mut i32 ) -> :: windows::core::HRESULT ); ScriptStringXtoCP(ssa, ix, pich, pitrailing).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptString_pLogAttr(ssa: *const ::core::ffi::c_void) -> *mut SCRIPT_LOGATTR { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptString_pLogAttr ( ssa : *const ::core::ffi::c_void ) -> *mut SCRIPT_LOGATTR ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptString_pLogAttr ( ssa : *const ::core::ffi::c_void ) -> *mut SCRIPT_LOGATTR ); ScriptString_pLogAttr(ssa) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ScriptString_pSize(ssa: *const ::core::ffi::c_void) -> *mut super::Foundation::SIZE { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptString_pSize ( ssa : *const ::core::ffi::c_void ) -> *mut super::Foundation:: SIZE ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptString_pSize ( ssa : *const ::core::ffi::c_void ) -> *mut super::Foundation:: SIZE ); ScriptString_pSize(ssa) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptString_pcOutChars(ssa: *const ::core::ffi::c_void) -> *mut i32 { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptString_pcOutChars ( ssa : *const ::core::ffi::c_void ) -> *mut i32 ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptString_pcOutChars ( ssa : *const ::core::ffi::c_void ) -> *mut i32 ); ScriptString_pcOutChars(ssa) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1257,7 +1257,7 @@ pub unsafe fn ScriptSubstituteSingleGlyph(hdc: P0, psc: *mut *mut ::core::ff where P0: ::std::convert::Into, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptSubstituteSingleGlyph ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , tagfeature : u32 , lparameter : i32 , wglyphid : u16 , pwoutglyphid : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptSubstituteSingleGlyph ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , psa : *const SCRIPT_ANALYSIS , tagscript : u32 , taglangsys : u32 , tagfeature : u32 , lparameter : i32 , wglyphid : u16 , pwoutglyphid : *mut u16 ) -> :: windows::core::HRESULT ); ScriptSubstituteSingleGlyph(hdc.into(), psc, ::core::mem::transmute(psa.unwrap_or(::std::ptr::null())), tagscript, taglangsys, tagfeature, lparameter, wglyphid, pwoutglyphid).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1268,13 +1268,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptTextOut ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , x : i32 , y : i32 , fuoptions : u32 , lprc : *const super::Foundation:: RECT , psa : *const SCRIPT_ANALYSIS , pwcreserved : :: windows::core::PCWSTR , ireserved : i32 , pwglyphs : *const u16 , cglyphs : i32 , piadvance : *const i32 , pijustify : *const i32 , pgoffset : *const GOFFSET ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptTextOut ( hdc : super::Graphics::Gdi:: HDC , psc : *mut *mut ::core::ffi::c_void , x : i32 , y : i32 , fuoptions : u32 , lprc : *const super::Foundation:: RECT , psa : *const SCRIPT_ANALYSIS , pwcreserved : :: windows::core::PCWSTR , ireserved : i32 , pwglyphs : *const u16 , cglyphs : i32 , piadvance : *const i32 , pijustify : *const i32 , pgoffset : *const GOFFSET ) -> :: windows::core::HRESULT ); ScriptTextOut(hdc.into(), psc, x, y, fuoptions, ::core::mem::transmute(lprc.unwrap_or(::std::ptr::null())), psa, pwcreserved.into().abi(), ireserved, pwglyphs, cglyphs, piadvance, ::core::mem::transmute(pijustify.unwrap_or(::std::ptr::null())), pgoffset).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ScriptXtoCP(ix: i32, cglyphs: i32, pwlogclust: &[u16], psva: *const SCRIPT_VISATTR, piadvance: *const i32, psa: *const SCRIPT_ANALYSIS, picp: *mut i32, pitrailing: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "usp10.dll""system" fn ScriptXtoCP ( ix : i32 , cchars : i32 , cglyphs : i32 , pwlogclust : *const u16 , psva : *const SCRIPT_VISATTR , piadvance : *const i32 , psa : *const SCRIPT_ANALYSIS , picp : *mut i32 , pitrailing : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "usp10.dll""system" fn ScriptXtoCP ( ix : i32 , cchars : i32 , cglyphs : i32 , pwlogclust : *const u16 , psva : *const SCRIPT_VISATTR , piadvance : *const i32 , psa : *const SCRIPT_ANALYSIS , picp : *mut i32 , pitrailing : *mut i32 ) -> :: windows::core::HRESULT ); ScriptXtoCP(ix, pwlogclust.len() as _, cglyphs, ::core::mem::transmute(pwlogclust.as_ptr()), psva, piadvance, psa, picp, pitrailing).ok() } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1284,7 +1284,7 @@ pub unsafe fn SetCalendarInfoA(locale: u32, calendar: u32, caltype: u32, lpc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCalendarInfoA ( locale : u32 , calendar : u32 , caltype : u32 , lpcaldata : :: windows::core::PCSTR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCalendarInfoA ( locale : u32 , calendar : u32 , caltype : u32 , lpcaldata : :: windows::core::PCSTR ) -> super::Foundation:: BOOL ); SetCalendarInfoA(locale, calendar, caltype, lpcaldata.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1294,7 +1294,7 @@ pub unsafe fn SetCalendarInfoW(locale: u32, calendar: u32, caltype: u32, lpc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCalendarInfoW ( locale : u32 , calendar : u32 , caltype : u32 , lpcaldata : :: windows::core::PCWSTR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCalendarInfoW ( locale : u32 , calendar : u32 , caltype : u32 , lpcaldata : :: windows::core::PCWSTR ) -> super::Foundation:: BOOL ); SetCalendarInfoW(locale, calendar, caltype, lpcaldata.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1304,7 +1304,7 @@ pub unsafe fn SetLocaleInfoA(locale: u32, lctype: u32, lplcdata: P0) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetLocaleInfoA ( locale : u32 , lctype : u32 , lplcdata : :: windows::core::PCSTR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetLocaleInfoA ( locale : u32 , lctype : u32 , lplcdata : :: windows::core::PCSTR ) -> super::Foundation:: BOOL ); SetLocaleInfoA(locale, lctype, lplcdata.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1314,7 +1314,7 @@ pub unsafe fn SetLocaleInfoW(locale: u32, lctype: u32, lplcdata: P0) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetLocaleInfoW ( locale : u32 , lctype : u32 , lplcdata : :: windows::core::PCWSTR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetLocaleInfoW ( locale : u32 , lctype : u32 , lplcdata : :: windows::core::PCWSTR ) -> super::Foundation:: BOOL ); SetLocaleInfoW(locale, lctype, lplcdata.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1324,14 +1324,14 @@ pub unsafe fn SetProcessPreferredUILanguages(dwflags: u32, pwszlanguagesbuff where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessPreferredUILanguages ( dwflags : u32 , pwszlanguagesbuffer : :: windows::core::PCWSTR , pulnumlanguages : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessPreferredUILanguages ( dwflags : u32 , pwszlanguagesbuffer : :: windows::core::PCWSTR , pulnumlanguages : *mut u32 ) -> super::Foundation:: BOOL ); SetProcessPreferredUILanguages(dwflags, pwszlanguagesbuffer.into().abi(), ::core::mem::transmute(pulnumlanguages.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetThreadLocale(locale: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadLocale ( locale : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadLocale ( locale : u32 ) -> super::Foundation:: BOOL ); SetThreadLocale(locale) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1341,7 +1341,7 @@ pub unsafe fn SetThreadPreferredUILanguages(dwflags: u32, pwszlanguagesbuffe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadPreferredUILanguages ( dwflags : u32 , pwszlanguagesbuffer : :: windows::core::PCWSTR , pulnumlanguages : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadPreferredUILanguages ( dwflags : u32 , pwszlanguagesbuffer : :: windows::core::PCWSTR , pulnumlanguages : *mut u32 ) -> super::Foundation:: BOOL ); SetThreadPreferredUILanguages(dwflags, pwszlanguagesbuffer.into().abi(), ::core::mem::transmute(pulnumlanguages.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1351,20 +1351,20 @@ pub unsafe fn SetThreadPreferredUILanguages2(flags: u32, languages: P0, numl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadPreferredUILanguages2 ( flags : u32 , languages : :: windows::core::PCWSTR , numlanguagesset : *mut u32 , snapshot : *mut HSAVEDUILANGUAGES ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadPreferredUILanguages2 ( flags : u32 , languages : :: windows::core::PCWSTR , numlanguagesset : *mut u32 , snapshot : *mut HSAVEDUILANGUAGES ) -> super::Foundation:: BOOL ); SetThreadPreferredUILanguages2(flags, languages.into().abi(), ::core::mem::transmute(numlanguagesset.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(snapshot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn SetThreadUILanguage(langid: u16) -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadUILanguage ( langid : u16 ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadUILanguage ( langid : u16 ) -> u16 ); SetThreadUILanguage(langid) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetUserGeoID(geoid: i32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetUserGeoID ( geoid : i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetUserGeoID ( geoid : i32 ) -> super::Foundation:: BOOL ); SetUserGeoID(geoid) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1374,38 +1374,38 @@ pub unsafe fn SetUserGeoName(geoname: P0) -> super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetUserGeoName ( geoname : :: windows::core::PCWSTR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetUserGeoName ( geoname : :: windows::core::PCWSTR ) -> super::Foundation:: BOOL ); SetUserGeoName(geoname.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TranslateCharsetInfo(lpsrc: *mut u32, lpcs: *mut CHARSETINFO, dwflags: TRANSLATE_CHARSET_INFO_FLAGS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn TranslateCharsetInfo ( lpsrc : *mut u32 , lpcs : *mut CHARSETINFO , dwflags : TRANSLATE_CHARSET_INFO_FLAGS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn TranslateCharsetInfo ( lpsrc : *mut u32 , lpcs : *mut CHARSETINFO , dwflags : TRANSLATE_CHARSET_INFO_FLAGS ) -> super::Foundation:: BOOL ); TranslateCharsetInfo(lpsrc, lpcs, dwflags) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn UCNV_FROM_U_CALLBACK_ESCAPE(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn UCNV_FROM_U_CALLBACK_ESCAPE ( context : *const ::core::ffi::c_void , fromuargs : *mut UConverterFromUnicodeArgs , codeunits : *const u16 , length : i32 , codepoint : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn UCNV_FROM_U_CALLBACK_ESCAPE ( context : *const ::core::ffi::c_void , fromuargs : *mut UConverterFromUnicodeArgs , codeunits : *const u16 , length : i32 , codepoint : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); UCNV_FROM_U_CALLBACK_ESCAPE(context, fromuargs, codeunits, length, codepoint, reason, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn UCNV_FROM_U_CALLBACK_SKIP(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn UCNV_FROM_U_CALLBACK_SKIP ( context : *const ::core::ffi::c_void , fromuargs : *mut UConverterFromUnicodeArgs , codeunits : *const u16 , length : i32 , codepoint : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn UCNV_FROM_U_CALLBACK_SKIP ( context : *const ::core::ffi::c_void , fromuargs : *mut UConverterFromUnicodeArgs , codeunits : *const u16 , length : i32 , codepoint : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); UCNV_FROM_U_CALLBACK_SKIP(context, fromuargs, codeunits, length, codepoint, reason, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn UCNV_FROM_U_CALLBACK_STOP(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn UCNV_FROM_U_CALLBACK_STOP ( context : *const ::core::ffi::c_void , fromuargs : *mut UConverterFromUnicodeArgs , codeunits : *const u16 , length : i32 , codepoint : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn UCNV_FROM_U_CALLBACK_STOP ( context : *const ::core::ffi::c_void , fromuargs : *mut UConverterFromUnicodeArgs , codeunits : *const u16 , length : i32 , codepoint : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); UCNV_FROM_U_CALLBACK_STOP(context, fromuargs, codeunits, length, codepoint, reason, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn UCNV_FROM_U_CALLBACK_SUBSTITUTE(context: *const ::core::ffi::c_void, fromuargs: *mut UConverterFromUnicodeArgs, codeunits: *const u16, length: i32, codepoint: i32, reason: UConverterCallbackReason, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn UCNV_FROM_U_CALLBACK_SUBSTITUTE ( context : *const ::core::ffi::c_void , fromuargs : *mut UConverterFromUnicodeArgs , codeunits : *const u16 , length : i32 , codepoint : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn UCNV_FROM_U_CALLBACK_SUBSTITUTE ( context : *const ::core::ffi::c_void , fromuargs : *mut UConverterFromUnicodeArgs , codeunits : *const u16 , length : i32 , codepoint : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); UCNV_FROM_U_CALLBACK_SUBSTITUTE(context, fromuargs, codeunits, length, codepoint, reason, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1414,7 +1414,7 @@ pub unsafe fn UCNV_TO_U_CALLBACK_ESCAPE(context: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn UCNV_TO_U_CALLBACK_ESCAPE ( context : *const ::core::ffi::c_void , touargs : *mut UConverterToUnicodeArgs , codeunits : :: windows::core::PCSTR , length : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn UCNV_TO_U_CALLBACK_ESCAPE ( context : *const ::core::ffi::c_void , touargs : *mut UConverterToUnicodeArgs , codeunits : :: windows::core::PCSTR , length : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); UCNV_TO_U_CALLBACK_ESCAPE(context, touargs, codeunits.into().abi(), length, reason, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1423,7 +1423,7 @@ pub unsafe fn UCNV_TO_U_CALLBACK_SKIP(context: *const ::core::ffi::c_void, t where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn UCNV_TO_U_CALLBACK_SKIP ( context : *const ::core::ffi::c_void , touargs : *mut UConverterToUnicodeArgs , codeunits : :: windows::core::PCSTR , length : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn UCNV_TO_U_CALLBACK_SKIP ( context : *const ::core::ffi::c_void , touargs : *mut UConverterToUnicodeArgs , codeunits : :: windows::core::PCSTR , length : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); UCNV_TO_U_CALLBACK_SKIP(context, touargs, codeunits.into().abi(), length, reason, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1432,7 +1432,7 @@ pub unsafe fn UCNV_TO_U_CALLBACK_STOP(context: *const ::core::ffi::c_void, t where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn UCNV_TO_U_CALLBACK_STOP ( context : *const ::core::ffi::c_void , touargs : *mut UConverterToUnicodeArgs , codeunits : :: windows::core::PCSTR , length : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn UCNV_TO_U_CALLBACK_STOP ( context : *const ::core::ffi::c_void , touargs : *mut UConverterToUnicodeArgs , codeunits : :: windows::core::PCSTR , length : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); UCNV_TO_U_CALLBACK_STOP(context, touargs, codeunits.into().abi(), length, reason, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1441,7 +1441,7 @@ pub unsafe fn UCNV_TO_U_CALLBACK_SUBSTITUTE(context: *const ::core::ffi::c_v where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn UCNV_TO_U_CALLBACK_SUBSTITUTE ( context : *const ::core::ffi::c_void , touargs : *mut UConverterToUnicodeArgs , codeunits : :: windows::core::PCSTR , length : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn UCNV_TO_U_CALLBACK_SUBSTITUTE ( context : *const ::core::ffi::c_void , touargs : *mut UConverterToUnicodeArgs , codeunits : :: windows::core::PCSTR , length : i32 , reason : UConverterCallbackReason , err : *mut UErrorCode ) -> ( ) ); UCNV_TO_U_CALLBACK_SUBSTITUTE(context, touargs, codeunits.into().abi(), length, reason, err) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1452,7 +1452,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn VerifyScripts ( dwflags : u32 , lplocalescripts : :: windows::core::PCWSTR , cchlocalescripts : i32 , lptestscripts : :: windows::core::PCWSTR , cchtestscripts : i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VerifyScripts ( dwflags : u32 , lplocalescripts : :: windows::core::PCWSTR , cchlocalescripts : i32 , lptestscripts : :: windows::core::PCWSTR , cchtestscripts : i32 ) -> super::Foundation:: BOOL ); VerifyScripts(dwflags, lplocalescripts.into().abi(), cchlocalescripts, lptestscripts.into().abi(), cchtestscripts) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1461,7 +1461,7 @@ pub unsafe fn WideCharToMultiByte(codepage: u32, dwflags: u32, lpwidecharstr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WideCharToMultiByte ( codepage : u32 , dwflags : u32 , lpwidecharstr : :: windows::core::PCWSTR , cchwidechar : i32 , lpmultibytestr : :: windows::core::PSTR , cbmultibyte : i32 , lpdefaultchar : :: windows::core::PCSTR , lpuseddefaultchar : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WideCharToMultiByte ( codepage : u32 , dwflags : u32 , lpwidecharstr : :: windows::core::PCWSTR , cchwidechar : i32 , lpmultibytestr : :: windows::core::PSTR , cbmultibyte : i32 , lpdefaultchar : :: windows::core::PCSTR , lpuseddefaultchar : *mut i32 ) -> i32 ); WideCharToMultiByte(codepage, dwflags, ::core::mem::transmute(lpwidecharstr.as_ptr()), lpwidecharstr.len() as _, ::core::mem::transmute(lpmultibytestr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpmultibytestr.as_deref().map_or(0, |slice| slice.len() as _), lpdefaultchar.into().abi(), ::core::mem::transmute(lpuseddefaultchar.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1470,7 +1470,7 @@ pub unsafe fn lstrcatA(lpstring1: ::windows::core::PSTR, lpstring2: P0) -> : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcatA ( lpstring1 : :: windows::core::PSTR , lpstring2 : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcatA ( lpstring1 : :: windows::core::PSTR , lpstring2 : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); lstrcatA(::core::mem::transmute(lpstring1), lpstring2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1479,7 +1479,7 @@ pub unsafe fn lstrcatW(lpstring1: ::windows::core::PWSTR, lpstring2: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcatW ( lpstring1 : :: windows::core::PWSTR , lpstring2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcatW ( lpstring1 : :: windows::core::PWSTR , lpstring2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); lstrcatW(::core::mem::transmute(lpstring1), lpstring2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1489,7 +1489,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcmpA ( lpstring1 : :: windows::core::PCSTR , lpstring2 : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcmpA ( lpstring1 : :: windows::core::PCSTR , lpstring2 : :: windows::core::PCSTR ) -> i32 ); lstrcmpA(lpstring1.into().abi(), lpstring2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1499,7 +1499,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcmpW ( lpstring1 : :: windows::core::PCWSTR , lpstring2 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcmpW ( lpstring1 : :: windows::core::PCWSTR , lpstring2 : :: windows::core::PCWSTR ) -> i32 ); lstrcmpW(lpstring1.into().abi(), lpstring2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1509,7 +1509,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcmpiA ( lpstring1 : :: windows::core::PCSTR , lpstring2 : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcmpiA ( lpstring1 : :: windows::core::PCSTR , lpstring2 : :: windows::core::PCSTR ) -> i32 ); lstrcmpiA(lpstring1.into().abi(), lpstring2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1519,7 +1519,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcmpiW ( lpstring1 : :: windows::core::PCWSTR , lpstring2 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcmpiW ( lpstring1 : :: windows::core::PCWSTR , lpstring2 : :: windows::core::PCWSTR ) -> i32 ); lstrcmpiW(lpstring1.into().abi(), lpstring2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1528,7 +1528,7 @@ pub unsafe fn lstrcpyA(lpstring1: ::windows::core::PSTR, lpstring2: P0) -> : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcpyA ( lpstring1 : :: windows::core::PSTR , lpstring2 : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcpyA ( lpstring1 : :: windows::core::PSTR , lpstring2 : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); lstrcpyA(::core::mem::transmute(lpstring1), lpstring2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1537,7 +1537,7 @@ pub unsafe fn lstrcpyW(lpstring1: ::windows::core::PWSTR, lpstring2: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcpyW ( lpstring1 : :: windows::core::PWSTR , lpstring2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcpyW ( lpstring1 : :: windows::core::PWSTR , lpstring2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); lstrcpyW(::core::mem::transmute(lpstring1), lpstring2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1546,7 +1546,7 @@ pub unsafe fn lstrcpynA(lpstring1: &mut [u8], lpstring2: P0) -> ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcpynA ( lpstring1 : :: windows::core::PSTR , lpstring2 : :: windows::core::PCSTR , imaxlength : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcpynA ( lpstring1 : :: windows::core::PSTR , lpstring2 : :: windows::core::PCSTR , imaxlength : i32 ) -> :: windows::core::PSTR ); lstrcpynA(::core::mem::transmute(lpstring1.as_ptr()), lpstring2.into().abi(), lpstring1.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1555,7 +1555,7 @@ pub unsafe fn lstrcpynW(lpstring1: &mut [u16], lpstring2: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrcpynW ( lpstring1 : :: windows::core::PWSTR , lpstring2 : :: windows::core::PCWSTR , imaxlength : i32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrcpynW ( lpstring1 : :: windows::core::PWSTR , lpstring2 : :: windows::core::PCWSTR , imaxlength : i32 ) -> :: windows::core::PWSTR ); lstrcpynW(::core::mem::transmute(lpstring1.as_ptr()), lpstring2.into().abi(), lpstring1.len() as _) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1564,7 +1564,7 @@ pub unsafe fn lstrlenA(lpstring: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrlenA ( lpstring : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrlenA ( lpstring : :: windows::core::PCSTR ) -> i32 ); lstrlenA(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1573,7 +1573,7 @@ pub unsafe fn lstrlenW(lpstring: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn lstrlenW ( lpstring : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn lstrlenW ( lpstring : :: windows::core::PCWSTR ) -> i32 ); lstrlenW(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1582,7 +1582,7 @@ pub unsafe fn u_UCharsToChars(us: *const u16, cs: P0, length: i32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_UCharsToChars ( us : *const u16 , cs : :: windows::core::PCSTR , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_UCharsToChars ( us : *const u16 , cs : :: windows::core::PCSTR , length : i32 ) -> ( ) ); u_UCharsToChars(us, cs.into().abi(), length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1591,7 +1591,7 @@ pub unsafe fn u_austrcpy(dst: P0, src: *const u16) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_austrcpy ( dst : :: windows::core::PCSTR , src : *const u16 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_austrcpy ( dst : :: windows::core::PCSTR , src : *const u16 ) -> :: windows::core::PSTR ); u_austrcpy(dst.into().abi(), src) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1600,19 +1600,19 @@ pub unsafe fn u_austrncpy(dst: P0, src: *const u16, n: i32) -> ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_austrncpy ( dst : :: windows::core::PCSTR , src : *const u16 , n : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_austrncpy ( dst : :: windows::core::PCSTR , src : *const u16 , n : i32 ) -> :: windows::core::PSTR ); u_austrncpy(dst.into().abi(), src, n) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_catclose(catd: *mut UResourceBundle) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_catclose ( catd : *mut UResourceBundle ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_catclose ( catd : *mut UResourceBundle ) -> ( ) ); u_catclose(catd) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_catgets(catd: *mut UResourceBundle, set_num: i32, msg_num: i32, s: *const u16, len: *mut i32, ec: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_catgets ( catd : *mut UResourceBundle , set_num : i32 , msg_num : i32 , s : *const u16 , len : *mut i32 , ec : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_catgets ( catd : *mut UResourceBundle , set_num : i32 , msg_num : i32 , s : *const u16 , len : *mut i32 , ec : *mut UErrorCode ) -> *mut u16 ); u_catgets(catd, set_num, msg_num, s, len, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1622,25 +1622,25 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_catopen ( name : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , ec : *mut UErrorCode ) -> *mut UResourceBundle ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_catopen ( name : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , ec : *mut UErrorCode ) -> *mut UResourceBundle ); u_catopen(name.into().abi(), locale.into().abi(), ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_charAge(c: i32, versionarray: *mut u8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_charAge ( c : i32 , versionarray : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_charAge ( c : i32 , versionarray : *mut u8 ) -> ( ) ); u_charAge(c, versionarray) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_charDigitValue(c: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_charDigitValue ( c : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_charDigitValue ( c : i32 ) -> i32 ); u_charDigitValue(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_charDirection(c: i32) -> UCharDirection { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_charDirection ( c : i32 ) -> UCharDirection ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_charDirection ( c : i32 ) -> UCharDirection ); u_charDirection(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1649,13 +1649,13 @@ pub unsafe fn u_charFromName(namechoice: UCharNameChoice, name: P0, perrorco where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_charFromName ( namechoice : UCharNameChoice , name : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_charFromName ( namechoice : UCharNameChoice , name : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> i32 ); u_charFromName(namechoice, name.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_charMirror(c: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_charMirror ( c : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_charMirror ( c : i32 ) -> i32 ); u_charMirror(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1664,13 +1664,13 @@ pub unsafe fn u_charName(code: i32, namechoice: UCharNameChoice, buffer: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_charName ( code : i32 , namechoice : UCharNameChoice , buffer : :: windows::core::PCSTR , bufferlength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_charName ( code : i32 , namechoice : UCharNameChoice , buffer : :: windows::core::PCSTR , bufferlength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); u_charName(code, namechoice, buffer.into().abi(), bufferlength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_charType(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_charType ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_charType ( c : i32 ) -> i8 ); u_charType(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1679,55 +1679,55 @@ pub unsafe fn u_charsToUChars(cs: P0, us: *mut u16, length: i32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_charsToUChars ( cs : :: windows::core::PCSTR , us : *mut u16 , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_charsToUChars ( cs : :: windows::core::PCSTR , us : *mut u16 , length : i32 ) -> ( ) ); u_charsToUChars(cs.into().abi(), us, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_cleanup() { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_cleanup ( ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_cleanup ( ) -> ( ) ); u_cleanup() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_countChar32(s: *const u16, length: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_countChar32 ( s : *const u16 , length : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_countChar32 ( s : *const u16 , length : i32 ) -> i32 ); u_countChar32(s, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_digit(ch: i32, radix: i8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_digit ( ch : i32 , radix : i8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_digit ( ch : i32 , radix : i8 ) -> i32 ); u_digit(ch, radix) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_enumCharNames(start: i32, limit: i32, r#fn: *mut UEnumCharNamesFn, context: *mut ::core::ffi::c_void, namechoice: UCharNameChoice, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_enumCharNames ( start : i32 , limit : i32 , r#fn : *mut UEnumCharNamesFn , context : *mut ::core::ffi::c_void , namechoice : UCharNameChoice , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_enumCharNames ( start : i32 , limit : i32 , r#fn : *mut UEnumCharNamesFn , context : *mut ::core::ffi::c_void , namechoice : UCharNameChoice , perrorcode : *mut UErrorCode ) -> ( ) ); u_enumCharNames(start, limit, r#fn, context, namechoice, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_enumCharTypes(enumrange: *mut UCharEnumTypeRange, context: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_enumCharTypes ( enumrange : *mut UCharEnumTypeRange , context : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_enumCharTypes ( enumrange : *mut UCharEnumTypeRange , context : *const ::core::ffi::c_void ) -> ( ) ); u_enumCharTypes(enumrange, context) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_errorName(code: UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_errorName ( code : UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_errorName ( code : UErrorCode ) -> :: windows::core::PSTR ); u_errorName(code) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_foldCase(c: i32, options: u32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_foldCase ( c : i32 , options : u32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_foldCase ( c : i32 , options : u32 ) -> i32 ); u_foldCase(c, options) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_forDigit(digit: i32, radix: i8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_forDigit ( digit : i32 , radix : i8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_forDigit ( digit : i32 , radix : i8 ) -> i32 ); u_forDigit(digit, radix) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1736,7 +1736,7 @@ pub unsafe fn u_formatMessage(locale: P0, pattern: *const u16, patternlength where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_formatMessage ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_formatMessage ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); u_formatMessage(locale.into().abi(), pattern, patternlength, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1745,67 +1745,67 @@ pub unsafe fn u_formatMessageWithError(locale: P0, pattern: *const u16, patt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_formatMessageWithError ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , result : *mut u16 , resultlength : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_formatMessageWithError ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , result : *mut u16 , resultlength : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> i32 ); u_formatMessageWithError(locale.into().abi(), pattern, patternlength, result, resultlength, parseerror, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getBidiPairedBracket(c: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getBidiPairedBracket ( c : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getBidiPairedBracket ( c : i32 ) -> i32 ); u_getBidiPairedBracket(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getBinaryPropertySet(property: UProperty, perrorcode: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getBinaryPropertySet ( property : UProperty , perrorcode : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getBinaryPropertySet ( property : UProperty , perrorcode : *mut UErrorCode ) -> *mut USet ); u_getBinaryPropertySet(property, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getCombiningClass(c: i32) -> u8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getCombiningClass ( c : i32 ) -> u8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getCombiningClass ( c : i32 ) -> u8 ); u_getCombiningClass(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getDataVersion(dataversionfillin: *mut u8, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getDataVersion ( dataversionfillin : *mut u8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getDataVersion ( dataversionfillin : *mut u8 , status : *mut UErrorCode ) -> ( ) ); u_getDataVersion(dataversionfillin, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getFC_NFKC_Closure(c: i32, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getFC_NFKC_Closure ( c : i32 , dest : *mut u16 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getFC_NFKC_Closure ( c : i32 , dest : *mut u16 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); u_getFC_NFKC_Closure(c, dest, destcapacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getIntPropertyMap(property: UProperty, perrorcode: *mut UErrorCode) -> *mut UCPMap { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getIntPropertyMap ( property : UProperty , perrorcode : *mut UErrorCode ) -> *mut UCPMap ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getIntPropertyMap ( property : UProperty , perrorcode : *mut UErrorCode ) -> *mut UCPMap ); u_getIntPropertyMap(property, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getIntPropertyMaxValue(which: UProperty) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getIntPropertyMaxValue ( which : UProperty ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getIntPropertyMaxValue ( which : UProperty ) -> i32 ); u_getIntPropertyMaxValue(which) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getIntPropertyMinValue(which: UProperty) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getIntPropertyMinValue ( which : UProperty ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getIntPropertyMinValue ( which : UProperty ) -> i32 ); u_getIntPropertyMinValue(which) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getIntPropertyValue(c: i32, which: UProperty) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getIntPropertyValue ( c : i32 , which : UProperty ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getIntPropertyValue ( c : i32 , which : UProperty ) -> i32 ); u_getIntPropertyValue(c, which) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getNumericValue(c: i32) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getNumericValue ( c : i32 ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getNumericValue ( c : i32 ) -> f64 ); u_getNumericValue(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1814,13 +1814,13 @@ pub unsafe fn u_getPropertyEnum(alias: P0) -> UProperty where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getPropertyEnum ( alias : :: windows::core::PCSTR ) -> UProperty ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getPropertyEnum ( alias : :: windows::core::PCSTR ) -> UProperty ); u_getPropertyEnum(alias.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getPropertyName(property: UProperty, namechoice: UPropertyNameChoice) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getPropertyName ( property : UProperty , namechoice : UPropertyNameChoice ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getPropertyName ( property : UProperty , namechoice : UPropertyNameChoice ) -> :: windows::core::PSTR ); u_getPropertyName(property, namechoice) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -1829,265 +1829,265 @@ pub unsafe fn u_getPropertyValueEnum(property: UProperty, alias: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getPropertyValueEnum ( property : UProperty , alias : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getPropertyValueEnum ( property : UProperty , alias : :: windows::core::PCSTR ) -> i32 ); u_getPropertyValueEnum(property, alias.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getPropertyValueName(property: UProperty, value: i32, namechoice: UPropertyNameChoice) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getPropertyValueName ( property : UProperty , value : i32 , namechoice : UPropertyNameChoice ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getPropertyValueName ( property : UProperty , value : i32 , namechoice : UPropertyNameChoice ) -> :: windows::core::PSTR ); u_getPropertyValueName(property, value, namechoice) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getUnicodeVersion(versionarray: *mut u8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getUnicodeVersion ( versionarray : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getUnicodeVersion ( versionarray : *mut u8 ) -> ( ) ); u_getUnicodeVersion(versionarray) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_getVersion(versionarray: *mut u8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_getVersion ( versionarray : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_getVersion ( versionarray : *mut u8 ) -> ( ) ); u_getVersion(versionarray) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_hasBinaryProperty(c: i32, which: UProperty) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_hasBinaryProperty ( c : i32 , which : UProperty ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_hasBinaryProperty ( c : i32 , which : UProperty ) -> i8 ); u_hasBinaryProperty(c, which) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_init(status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_init ( status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_init ( status : *mut UErrorCode ) -> ( ) ); u_init(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isIDIgnorable(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isIDIgnorable ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isIDIgnorable ( c : i32 ) -> i8 ); u_isIDIgnorable(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isIDPart(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isIDPart ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isIDPart ( c : i32 ) -> i8 ); u_isIDPart(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isIDStart(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isIDStart ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isIDStart ( c : i32 ) -> i8 ); u_isIDStart(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isISOControl(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isISOControl ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isISOControl ( c : i32 ) -> i8 ); u_isISOControl(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isJavaIDPart(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isJavaIDPart ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isJavaIDPart ( c : i32 ) -> i8 ); u_isJavaIDPart(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isJavaIDStart(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isJavaIDStart ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isJavaIDStart ( c : i32 ) -> i8 ); u_isJavaIDStart(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isJavaSpaceChar(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isJavaSpaceChar ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isJavaSpaceChar ( c : i32 ) -> i8 ); u_isJavaSpaceChar(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isMirrored(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isMirrored ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isMirrored ( c : i32 ) -> i8 ); u_isMirrored(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isUAlphabetic(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isUAlphabetic ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isUAlphabetic ( c : i32 ) -> i8 ); u_isUAlphabetic(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isULowercase(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isULowercase ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isULowercase ( c : i32 ) -> i8 ); u_isULowercase(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isUUppercase(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isUUppercase ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isUUppercase ( c : i32 ) -> i8 ); u_isUUppercase(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isUWhiteSpace(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isUWhiteSpace ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isUWhiteSpace ( c : i32 ) -> i8 ); u_isUWhiteSpace(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isWhitespace(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isWhitespace ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isWhitespace ( c : i32 ) -> i8 ); u_isWhitespace(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isalnum(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isalnum ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isalnum ( c : i32 ) -> i8 ); u_isalnum(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isalpha(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isalpha ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isalpha ( c : i32 ) -> i8 ); u_isalpha(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isbase(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isbase ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isbase ( c : i32 ) -> i8 ); u_isbase(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isblank(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isblank ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isblank ( c : i32 ) -> i8 ); u_isblank(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_iscntrl(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_iscntrl ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_iscntrl ( c : i32 ) -> i8 ); u_iscntrl(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isdefined(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isdefined ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isdefined ( c : i32 ) -> i8 ); u_isdefined(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isdigit(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isdigit ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isdigit ( c : i32 ) -> i8 ); u_isdigit(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isgraph(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isgraph ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isgraph ( c : i32 ) -> i8 ); u_isgraph(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_islower(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_islower ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_islower ( c : i32 ) -> i8 ); u_islower(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isprint(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isprint ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isprint ( c : i32 ) -> i8 ); u_isprint(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_ispunct(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_ispunct ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_ispunct ( c : i32 ) -> i8 ); u_ispunct(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isspace(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isspace ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isspace ( c : i32 ) -> i8 ); u_isspace(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_istitle(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_istitle ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_istitle ( c : i32 ) -> i8 ); u_istitle(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isupper(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isupper ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isupper ( c : i32 ) -> i8 ); u_isupper(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_isxdigit(c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_isxdigit ( c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_isxdigit ( c : i32 ) -> i8 ); u_isxdigit(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memcasecmp(s1: *const u16, s2: *const u16, length: i32, options: u32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memcasecmp ( s1 : *const u16 , s2 : *const u16 , length : i32 , options : u32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memcasecmp ( s1 : *const u16 , s2 : *const u16 , length : i32 , options : u32 ) -> i32 ); u_memcasecmp(s1, s2, length, options) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memchr(s: *const u16, c: u16, count: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memchr ( s : *const u16 , c : u16 , count : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memchr ( s : *const u16 , c : u16 , count : i32 ) -> *mut u16 ); u_memchr(s, c, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memchr32(s: *const u16, c: i32, count: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memchr32 ( s : *const u16 , c : i32 , count : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memchr32 ( s : *const u16 , c : i32 , count : i32 ) -> *mut u16 ); u_memchr32(s, c, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memcmp(buf1: *const u16, buf2: *const u16, count: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memcmp ( buf1 : *const u16 , buf2 : *const u16 , count : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memcmp ( buf1 : *const u16 , buf2 : *const u16 , count : i32 ) -> i32 ); u_memcmp(buf1, buf2, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memcmpCodePointOrder(s1: *const u16, s2: *const u16, count: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memcmpCodePointOrder ( s1 : *const u16 , s2 : *const u16 , count : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memcmpCodePointOrder ( s1 : *const u16 , s2 : *const u16 , count : i32 ) -> i32 ); u_memcmpCodePointOrder(s1, s2, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memcpy(dest: *mut u16, src: *const u16, count: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memcpy ( dest : *mut u16 , src : *const u16 , count : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memcpy ( dest : *mut u16 , src : *const u16 , count : i32 ) -> *mut u16 ); u_memcpy(dest, src, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memmove(dest: *mut u16, src: *const u16, count: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memmove ( dest : *mut u16 , src : *const u16 , count : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memmove ( dest : *mut u16 , src : *const u16 , count : i32 ) -> *mut u16 ); u_memmove(dest, src, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memrchr(s: *const u16, c: u16, count: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memrchr ( s : *const u16 , c : u16 , count : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memrchr ( s : *const u16 , c : u16 , count : i32 ) -> *mut u16 ); u_memrchr(s, c, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memrchr32(s: *const u16, c: i32, count: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memrchr32 ( s : *const u16 , c : i32 , count : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memrchr32 ( s : *const u16 , c : i32 , count : i32 ) -> *mut u16 ); u_memrchr32(s, c, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_memset(dest: *mut u16, c: u16, count: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_memset ( dest : *mut u16 , c : u16 , count : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_memset ( dest : *mut u16 , c : u16 , count : i32 ) -> *mut u16 ); u_memset(dest, c, count) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2096,7 +2096,7 @@ pub unsafe fn u_parseMessage(locale: P0, pattern: *const u16, patternlength: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_parseMessage ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , source : *const u16 , sourcelength : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_parseMessage ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , source : *const u16 , sourcelength : i32 , status : *mut UErrorCode ) -> ( ) ); u_parseMessage(locale.into().abi(), pattern, patternlength, source, sourcelength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2105,55 +2105,55 @@ pub unsafe fn u_parseMessageWithError(locale: P0, pattern: *const u16, patte where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_parseMessageWithError ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , source : *const u16 , sourcelength : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_parseMessageWithError ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , source : *const u16 , sourcelength : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> ( ) ); u_parseMessageWithError(locale.into().abi(), pattern, patternlength, source, sourcelength, parseerror, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_setMemoryFunctions(context: *const ::core::ffi::c_void, a: *mut UMemAllocFn, r: *mut UMemReallocFn, f: *mut UMemFreeFn, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_setMemoryFunctions ( context : *const ::core::ffi::c_void , a : *mut UMemAllocFn , r : *mut UMemReallocFn , f : *mut UMemFreeFn , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_setMemoryFunctions ( context : *const ::core::ffi::c_void , a : *mut UMemAllocFn , r : *mut UMemReallocFn , f : *mut UMemFreeFn , status : *mut UErrorCode ) -> ( ) ); u_setMemoryFunctions(context, a, r, f, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_shapeArabic(source: *const u16, sourcelength: i32, dest: *mut u16, destsize: i32, options: u32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_shapeArabic ( source : *const u16 , sourcelength : i32 , dest : *mut u16 , destsize : i32 , options : u32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_shapeArabic ( source : *const u16 , sourcelength : i32 , dest : *mut u16 , destsize : i32 , options : u32 , perrorcode : *mut UErrorCode ) -> i32 ); u_shapeArabic(source, sourcelength, dest, destsize, options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strCaseCompare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, options: u32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strCaseCompare ( s1 : *const u16 , length1 : i32 , s2 : *const u16 , length2 : i32 , options : u32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strCaseCompare ( s1 : *const u16 , length1 : i32 , s2 : *const u16 , length2 : i32 , options : u32 , perrorcode : *mut UErrorCode ) -> i32 ); u_strCaseCompare(s1, length1, s2, length2, options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strCompare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, codepointorder: i8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strCompare ( s1 : *const u16 , length1 : i32 , s2 : *const u16 , length2 : i32 , codepointorder : i8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strCompare ( s1 : *const u16 , length1 : i32 , s2 : *const u16 , length2 : i32 , codepointorder : i8 ) -> i32 ); u_strCompare(s1, length1, s2, length2, codepointorder) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strCompareIter(iter1: *mut UCharIterator, iter2: *mut UCharIterator, codepointorder: i8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strCompareIter ( iter1 : *mut UCharIterator , iter2 : *mut UCharIterator , codepointorder : i8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strCompareIter ( iter1 : *mut UCharIterator , iter2 : *mut UCharIterator , codepointorder : i8 ) -> i32 ); u_strCompareIter(iter1, iter2, codepointorder) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strFindFirst(s: *const u16, length: i32, substring: *const u16, sublength: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFindFirst ( s : *const u16 , length : i32 , substring : *const u16 , sublength : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFindFirst ( s : *const u16 , length : i32 , substring : *const u16 , sublength : i32 ) -> *mut u16 ); u_strFindFirst(s, length, substring, sublength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strFindLast(s: *const u16, length: i32, substring: *const u16, sublength: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFindLast ( s : *const u16 , length : i32 , substring : *const u16 , sublength : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFindLast ( s : *const u16 , length : i32 , substring : *const u16 , sublength : i32 ) -> *mut u16 ); u_strFindLast(s, length, substring, sublength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strFoldCase(dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, options: u32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFoldCase ( dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , options : u32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFoldCase ( dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , options : u32 , perrorcode : *mut UErrorCode ) -> i32 ); u_strFoldCase(dest, destcapacity, src, srclength, options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2162,19 +2162,19 @@ pub unsafe fn u_strFromJavaModifiedUTF8WithSub(dest: *mut u16, destcapacity: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFromJavaModifiedUTF8WithSub ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCSTR , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFromJavaModifiedUTF8WithSub ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCSTR , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); u_strFromJavaModifiedUTF8WithSub(dest, destcapacity, pdestlength, src.into().abi(), srclength, subchar, pnumsubstitutions, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strFromUTF32(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: *const i32, srclength: i32, perrorcode: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFromUTF32 ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : *const i32 , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFromUTF32 ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : *const i32 , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); u_strFromUTF32(dest, destcapacity, pdestlength, src, srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strFromUTF32WithSub(dest: *mut u16, destcapacity: i32, pdestlength: *mut i32, src: *const i32, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFromUTF32WithSub ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : *const i32 , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFromUTF32WithSub ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : *const i32 , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); u_strFromUTF32WithSub(dest, destcapacity, pdestlength, src, srclength, subchar, pnumsubstitutions, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2183,7 +2183,7 @@ pub unsafe fn u_strFromUTF8(dest: *mut u16, destcapacity: i32, pdestlength: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFromUTF8 ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFromUTF8 ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); u_strFromUTF8(dest, destcapacity, pdestlength, src.into().abi(), srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2192,7 +2192,7 @@ pub unsafe fn u_strFromUTF8Lenient(dest: *mut u16, destcapacity: i32, pdestl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFromUTF8Lenient ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFromUTF8Lenient ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); u_strFromUTF8Lenient(dest, destcapacity, pdestlength, src.into().abi(), srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2201,7 +2201,7 @@ pub unsafe fn u_strFromUTF8WithSub(dest: *mut u16, destcapacity: i32, pdestl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFromUTF8WithSub ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCSTR , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFromUTF8WithSub ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCSTR , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); u_strFromUTF8WithSub(dest, destcapacity, pdestlength, src.into().abi(), srclength, subchar, pnumsubstitutions, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2210,13 +2210,13 @@ pub unsafe fn u_strFromWCS(dest: *mut u16, destcapacity: i32, pdestlength: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strFromWCS ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCWSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strFromWCS ( dest : *mut u16 , destcapacity : i32 , pdestlength : *mut i32 , src : :: windows::core::PCWSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut u16 ); u_strFromWCS(dest, destcapacity, pdestlength, src.into().abi(), srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strHasMoreChar32Than(s: *const u16, length: i32, number: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strHasMoreChar32Than ( s : *const u16 , length : i32 , number : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strHasMoreChar32Than ( s : *const u16 , length : i32 , number : i32 ) -> i8 ); u_strHasMoreChar32Than(s, length, number) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2225,7 +2225,7 @@ pub unsafe fn u_strToJavaModifiedUTF8(dest: P0, destcapacity: i32, pdestleng where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToJavaModifiedUTF8 ( dest : :: windows::core::PCSTR , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToJavaModifiedUTF8 ( dest : :: windows::core::PCSTR , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); u_strToJavaModifiedUTF8(dest.into().abi(), destcapacity, pdestlength, src, srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2234,7 +2234,7 @@ pub unsafe fn u_strToLower(dest: *mut u16, destcapacity: i32, src: *const u1 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToLower ( dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToLower ( dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> i32 ); u_strToLower(dest, destcapacity, src, srclength, locale.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2243,19 +2243,19 @@ pub unsafe fn u_strToTitle(dest: *mut u16, destcapacity: i32, src: *const u1 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToTitle ( dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , titleiter : *mut UBreakIterator , locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToTitle ( dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , titleiter : *mut UBreakIterator , locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> i32 ); u_strToTitle(dest, destcapacity, src, srclength, titleiter, locale.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strToUTF32(dest: *mut i32, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> *mut i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToUTF32 ( dest : *mut i32 , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToUTF32 ( dest : *mut i32 , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> *mut i32 ); u_strToUTF32(dest, destcapacity, pdestlength, src, srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strToUTF32WithSub(dest: *mut i32, destcapacity: i32, pdestlength: *mut i32, src: *const u16, srclength: i32, subchar: i32, pnumsubstitutions: *mut i32, perrorcode: *mut UErrorCode) -> *mut i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToUTF32WithSub ( dest : *mut i32 , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToUTF32WithSub ( dest : *mut i32 , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut i32 ); u_strToUTF32WithSub(dest, destcapacity, pdestlength, src, srclength, subchar, pnumsubstitutions, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2264,7 +2264,7 @@ pub unsafe fn u_strToUTF8(dest: P0, destcapacity: i32, pdestlength: *mut i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToUTF8 ( dest : :: windows::core::PCSTR , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToUTF8 ( dest : :: windows::core::PCSTR , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); u_strToUTF8(dest.into().abi(), destcapacity, pdestlength, src, srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2273,7 +2273,7 @@ pub unsafe fn u_strToUTF8WithSub(dest: P0, destcapacity: i32, pdestlength: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToUTF8WithSub ( dest : :: windows::core::PCSTR , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToUTF8WithSub ( dest : :: windows::core::PCSTR , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , subchar : i32 , pnumsubstitutions : *mut i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); u_strToUTF8WithSub(dest.into().abi(), destcapacity, pdestlength, src, srclength, subchar, pnumsubstitutions, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2282,7 +2282,7 @@ pub unsafe fn u_strToUpper(dest: *mut u16, destcapacity: i32, src: *const u1 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToUpper ( dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToUpper ( dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> i32 ); u_strToUpper(dest, destcapacity, src, srclength, locale.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2291,151 +2291,151 @@ pub unsafe fn u_strToWCS(dest: P0, destcapacity: i32, pdestlength: *mut i32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strToWCS ( dest : :: windows::core::PCWSTR , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strToWCS ( dest : :: windows::core::PCWSTR , destcapacity : i32 , pdestlength : *mut i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PWSTR ); u_strToWCS(dest.into().abi(), destcapacity, pdestlength, src, srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strcasecmp(s1: *const u16, s2: *const u16, options: u32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strcasecmp ( s1 : *const u16 , s2 : *const u16 , options : u32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strcasecmp ( s1 : *const u16 , s2 : *const u16 , options : u32 ) -> i32 ); u_strcasecmp(s1, s2, options) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strcat(dst: *mut u16, src: *const u16) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strcat ( dst : *mut u16 , src : *const u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strcat ( dst : *mut u16 , src : *const u16 ) -> *mut u16 ); u_strcat(dst, src) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strchr(s: *const u16, c: u16) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strchr ( s : *const u16 , c : u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strchr ( s : *const u16 , c : u16 ) -> *mut u16 ); u_strchr(s, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strchr32(s: *const u16, c: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strchr32 ( s : *const u16 , c : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strchr32 ( s : *const u16 , c : i32 ) -> *mut u16 ); u_strchr32(s, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strcmp(s1: *const u16, s2: *const u16) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strcmp ( s1 : *const u16 , s2 : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strcmp ( s1 : *const u16 , s2 : *const u16 ) -> i32 ); u_strcmp(s1, s2) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strcmpCodePointOrder(s1: *const u16, s2: *const u16) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strcmpCodePointOrder ( s1 : *const u16 , s2 : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strcmpCodePointOrder ( s1 : *const u16 , s2 : *const u16 ) -> i32 ); u_strcmpCodePointOrder(s1, s2) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strcpy(dst: *mut u16, src: *const u16) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strcpy ( dst : *mut u16 , src : *const u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strcpy ( dst : *mut u16 , src : *const u16 ) -> *mut u16 ); u_strcpy(dst, src) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strcspn(string: *const u16, matchset: *const u16) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strcspn ( string : *const u16 , matchset : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strcspn ( string : *const u16 , matchset : *const u16 ) -> i32 ); u_strcspn(string, matchset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strlen(s: *const u16) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strlen ( s : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strlen ( s : *const u16 ) -> i32 ); u_strlen(s) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strncasecmp(s1: *const u16, s2: *const u16, n: i32, options: u32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strncasecmp ( s1 : *const u16 , s2 : *const u16 , n : i32 , options : u32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strncasecmp ( s1 : *const u16 , s2 : *const u16 , n : i32 , options : u32 ) -> i32 ); u_strncasecmp(s1, s2, n, options) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strncat(dst: *mut u16, src: *const u16, n: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strncat ( dst : *mut u16 , src : *const u16 , n : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strncat ( dst : *mut u16 , src : *const u16 , n : i32 ) -> *mut u16 ); u_strncat(dst, src, n) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strncmp(ucs1: *const u16, ucs2: *const u16, n: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strncmp ( ucs1 : *const u16 , ucs2 : *const u16 , n : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strncmp ( ucs1 : *const u16 , ucs2 : *const u16 , n : i32 ) -> i32 ); u_strncmp(ucs1, ucs2, n) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strncmpCodePointOrder(s1: *const u16, s2: *const u16, n: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strncmpCodePointOrder ( s1 : *const u16 , s2 : *const u16 , n : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strncmpCodePointOrder ( s1 : *const u16 , s2 : *const u16 , n : i32 ) -> i32 ); u_strncmpCodePointOrder(s1, s2, n) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strncpy(dst: *mut u16, src: *const u16, n: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strncpy ( dst : *mut u16 , src : *const u16 , n : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strncpy ( dst : *mut u16 , src : *const u16 , n : i32 ) -> *mut u16 ); u_strncpy(dst, src, n) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strpbrk(string: *const u16, matchset: *const u16) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strpbrk ( string : *const u16 , matchset : *const u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strpbrk ( string : *const u16 , matchset : *const u16 ) -> *mut u16 ); u_strpbrk(string, matchset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strrchr(s: *const u16, c: u16) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strrchr ( s : *const u16 , c : u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strrchr ( s : *const u16 , c : u16 ) -> *mut u16 ); u_strrchr(s, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strrchr32(s: *const u16, c: i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strrchr32 ( s : *const u16 , c : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strrchr32 ( s : *const u16 , c : i32 ) -> *mut u16 ); u_strrchr32(s, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strrstr(s: *const u16, substring: *const u16) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strrstr ( s : *const u16 , substring : *const u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strrstr ( s : *const u16 , substring : *const u16 ) -> *mut u16 ); u_strrstr(s, substring) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strspn(string: *const u16, matchset: *const u16) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strspn ( string : *const u16 , matchset : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strspn ( string : *const u16 , matchset : *const u16 ) -> i32 ); u_strspn(string, matchset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strstr(s: *const u16, substring: *const u16) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strstr ( s : *const u16 , substring : *const u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strstr ( s : *const u16 , substring : *const u16 ) -> *mut u16 ); u_strstr(s, substring) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_strtok_r(src: *mut u16, delim: *const u16, savestate: *mut *mut u16) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_strtok_r ( src : *mut u16 , delim : *const u16 , savestate : *mut *mut u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_strtok_r ( src : *mut u16 , delim : *const u16 , savestate : *mut *mut u16 ) -> *mut u16 ); u_strtok_r(src, delim, savestate) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_tolower(c: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_tolower ( c : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_tolower ( c : i32 ) -> i32 ); u_tolower(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_totitle(c: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_totitle ( c : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_totitle ( c : i32 ) -> i32 ); u_totitle(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_toupper(c: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_toupper ( c : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_toupper ( c : i32 ) -> i32 ); u_toupper(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2444,7 +2444,7 @@ pub unsafe fn u_uastrcpy(dst: *mut u16, src: P0) -> *mut u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_uastrcpy ( dst : *mut u16 , src : :: windows::core::PCSTR ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_uastrcpy ( dst : *mut u16 , src : :: windows::core::PCSTR ) -> *mut u16 ); u_uastrcpy(dst, src.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2453,7 +2453,7 @@ pub unsafe fn u_uastrncpy(dst: *mut u16, src: P0, n: i32) -> *mut u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_uastrncpy ( dst : *mut u16 , src : :: windows::core::PCSTR , n : i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_uastrncpy ( dst : *mut u16 , src : :: windows::core::PCSTR , n : i32 ) -> *mut u16 ); u_uastrncpy(dst, src.into().abi(), n) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2462,13 +2462,13 @@ pub unsafe fn u_unescape(src: P0, dest: *mut u16, destcapacity: i32) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_unescape ( src : :: windows::core::PCSTR , dest : *mut u16 , destcapacity : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_unescape ( src : :: windows::core::PCSTR , dest : *mut u16 , destcapacity : i32 ) -> i32 ); u_unescape(src.into().abi(), dest, destcapacity) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_unescapeAt(charat: UNESCAPE_CHAR_AT, offset: *mut i32, length: i32, context: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_unescapeAt ( charat : UNESCAPE_CHAR_AT , offset : *mut i32 , length : i32 , context : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_unescapeAt ( charat : UNESCAPE_CHAR_AT , offset : *mut i32 , length : i32 , context : *mut ::core::ffi::c_void ) -> i32 ); u_unescapeAt(charat, offset, length, context) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2477,13 +2477,13 @@ pub unsafe fn u_versionFromString(versionarray: *mut u8, versionstring: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_versionFromString ( versionarray : *mut u8 , versionstring : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_versionFromString ( versionarray : *mut u8 , versionstring : :: windows::core::PCSTR ) -> ( ) ); u_versionFromString(versionarray, versionstring.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn u_versionFromUString(versionarray: *mut u8, versionstring: *const u16) { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_versionFromUString ( versionarray : *mut u8 , versionstring : *const u16 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_versionFromUString ( versionarray : *mut u8 , versionstring : *const u16 ) -> ( ) ); u_versionFromUString(versionarray, versionstring) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2492,7 +2492,7 @@ pub unsafe fn u_versionToString(versionarray: *const u8, versionstring: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_versionToString ( versionarray : *const u8 , versionstring : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_versionToString ( versionarray : *const u8 , versionstring : :: windows::core::PCSTR ) -> ( ) ); u_versionToString(versionarray, versionstring.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2501,7 +2501,7 @@ pub unsafe fn u_vformatMessage(locale: P0, pattern: *const u16, patternlengt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_vformatMessage ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , result : *mut u16 , resultlength : i32 , ap : *mut i8 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_vformatMessage ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , result : *mut u16 , resultlength : i32 , ap : *mut i8 , status : *mut UErrorCode ) -> i32 ); u_vformatMessage(locale.into().abi(), pattern, patternlength, result, resultlength, ap, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2510,7 +2510,7 @@ pub unsafe fn u_vformatMessageWithError(locale: P0, pattern: *const u16, pat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_vformatMessageWithError ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , result : *mut u16 , resultlength : i32 , parseerror : *mut UParseError , ap : *mut i8 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_vformatMessageWithError ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , result : *mut u16 , resultlength : i32 , parseerror : *mut UParseError , ap : *mut i8 , status : *mut UErrorCode ) -> i32 ); u_vformatMessageWithError(locale.into().abi(), pattern, patternlength, result, resultlength, parseerror, ap, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2519,7 +2519,7 @@ pub unsafe fn u_vparseMessage(locale: P0, pattern: *const u16, patternlength where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_vparseMessage ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , source : *const u16 , sourcelength : i32 , ap : *mut i8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_vparseMessage ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , source : *const u16 , sourcelength : i32 , ap : *mut i8 , status : *mut UErrorCode ) -> ( ) ); u_vparseMessage(locale.into().abi(), pattern, patternlength, source, sourcelength, ap, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2528,355 +2528,355 @@ pub unsafe fn u_vparseMessageWithError(locale: P0, pattern: *const u16, patt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn u_vparseMessageWithError ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , source : *const u16 , sourcelength : i32 , ap : *mut i8 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn u_vparseMessageWithError ( locale : :: windows::core::PCSTR , pattern : *const u16 , patternlength : i32 , source : *const u16 , sourcelength : i32 , ap : *mut i8 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> ( ) ); u_vparseMessageWithError(locale.into().abi(), pattern, patternlength, source, sourcelength, ap, parseerror, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_close(pbidi: *mut UBiDi) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_close ( pbidi : *mut UBiDi ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_close ( pbidi : *mut UBiDi ) -> ( ) ); ubidi_close(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_countParagraphs(pbidi: *mut UBiDi) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_countParagraphs ( pbidi : *mut UBiDi ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_countParagraphs ( pbidi : *mut UBiDi ) -> i32 ); ubidi_countParagraphs(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_countRuns(pbidi: *mut UBiDi, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_countRuns ( pbidi : *mut UBiDi , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_countRuns ( pbidi : *mut UBiDi , perrorcode : *mut UErrorCode ) -> i32 ); ubidi_countRuns(pbidi, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getBaseDirection(text: *const u16, length: i32) -> UBiDiDirection { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getBaseDirection ( text : *const u16 , length : i32 ) -> UBiDiDirection ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getBaseDirection ( text : *const u16 , length : i32 ) -> UBiDiDirection ); ubidi_getBaseDirection(text, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getClassCallback(pbidi: *mut UBiDi, r#fn: *mut UBiDiClassCallback, context: *const *const ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getClassCallback ( pbidi : *mut UBiDi , r#fn : *mut UBiDiClassCallback , context : *const *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getClassCallback ( pbidi : *mut UBiDi , r#fn : *mut UBiDiClassCallback , context : *const *const ::core::ffi::c_void ) -> ( ) ); ubidi_getClassCallback(pbidi, r#fn, context) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getCustomizedClass(pbidi: *mut UBiDi, c: i32) -> UCharDirection { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getCustomizedClass ( pbidi : *mut UBiDi , c : i32 ) -> UCharDirection ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getCustomizedClass ( pbidi : *mut UBiDi , c : i32 ) -> UCharDirection ); ubidi_getCustomizedClass(pbidi, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getDirection(pbidi: *const UBiDi) -> UBiDiDirection { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getDirection ( pbidi : *const UBiDi ) -> UBiDiDirection ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getDirection ( pbidi : *const UBiDi ) -> UBiDiDirection ); ubidi_getDirection(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getLength(pbidi: *const UBiDi) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getLength ( pbidi : *const UBiDi ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getLength ( pbidi : *const UBiDi ) -> i32 ); ubidi_getLength(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getLevelAt(pbidi: *const UBiDi, charindex: i32) -> u8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getLevelAt ( pbidi : *const UBiDi , charindex : i32 ) -> u8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getLevelAt ( pbidi : *const UBiDi , charindex : i32 ) -> u8 ); ubidi_getLevelAt(pbidi, charindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getLevels(pbidi: *mut UBiDi, perrorcode: *mut UErrorCode) -> *mut u8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getLevels ( pbidi : *mut UBiDi , perrorcode : *mut UErrorCode ) -> *mut u8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getLevels ( pbidi : *mut UBiDi , perrorcode : *mut UErrorCode ) -> *mut u8 ); ubidi_getLevels(pbidi, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getLogicalIndex(pbidi: *mut UBiDi, visualindex: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getLogicalIndex ( pbidi : *mut UBiDi , visualindex : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getLogicalIndex ( pbidi : *mut UBiDi , visualindex : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ubidi_getLogicalIndex(pbidi, visualindex, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getLogicalMap(pbidi: *mut UBiDi, indexmap: *mut i32, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getLogicalMap ( pbidi : *mut UBiDi , indexmap : *mut i32 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getLogicalMap ( pbidi : *mut UBiDi , indexmap : *mut i32 , perrorcode : *mut UErrorCode ) -> ( ) ); ubidi_getLogicalMap(pbidi, indexmap, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getLogicalRun(pbidi: *const UBiDi, logicalposition: i32, plogicallimit: *mut i32, plevel: *mut u8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getLogicalRun ( pbidi : *const UBiDi , logicalposition : i32 , plogicallimit : *mut i32 , plevel : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getLogicalRun ( pbidi : *const UBiDi , logicalposition : i32 , plogicallimit : *mut i32 , plevel : *mut u8 ) -> ( ) ); ubidi_getLogicalRun(pbidi, logicalposition, plogicallimit, plevel) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getParaLevel(pbidi: *const UBiDi) -> u8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getParaLevel ( pbidi : *const UBiDi ) -> u8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getParaLevel ( pbidi : *const UBiDi ) -> u8 ); ubidi_getParaLevel(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getParagraph(pbidi: *const UBiDi, charindex: i32, pparastart: *mut i32, pparalimit: *mut i32, pparalevel: *mut u8, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getParagraph ( pbidi : *const UBiDi , charindex : i32 , pparastart : *mut i32 , pparalimit : *mut i32 , pparalevel : *mut u8 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getParagraph ( pbidi : *const UBiDi , charindex : i32 , pparastart : *mut i32 , pparalimit : *mut i32 , pparalevel : *mut u8 , perrorcode : *mut UErrorCode ) -> i32 ); ubidi_getParagraph(pbidi, charindex, pparastart, pparalimit, pparalevel, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getParagraphByIndex(pbidi: *const UBiDi, paraindex: i32, pparastart: *mut i32, pparalimit: *mut i32, pparalevel: *mut u8, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getParagraphByIndex ( pbidi : *const UBiDi , paraindex : i32 , pparastart : *mut i32 , pparalimit : *mut i32 , pparalevel : *mut u8 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getParagraphByIndex ( pbidi : *const UBiDi , paraindex : i32 , pparastart : *mut i32 , pparalimit : *mut i32 , pparalevel : *mut u8 , perrorcode : *mut UErrorCode ) -> ( ) ); ubidi_getParagraphByIndex(pbidi, paraindex, pparastart, pparalimit, pparalevel, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getProcessedLength(pbidi: *const UBiDi) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getProcessedLength ( pbidi : *const UBiDi ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getProcessedLength ( pbidi : *const UBiDi ) -> i32 ); ubidi_getProcessedLength(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getReorderingMode(pbidi: *mut UBiDi) -> UBiDiReorderingMode { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getReorderingMode ( pbidi : *mut UBiDi ) -> UBiDiReorderingMode ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getReorderingMode ( pbidi : *mut UBiDi ) -> UBiDiReorderingMode ); ubidi_getReorderingMode(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getReorderingOptions(pbidi: *mut UBiDi) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getReorderingOptions ( pbidi : *mut UBiDi ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getReorderingOptions ( pbidi : *mut UBiDi ) -> u32 ); ubidi_getReorderingOptions(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getResultLength(pbidi: *const UBiDi) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getResultLength ( pbidi : *const UBiDi ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getResultLength ( pbidi : *const UBiDi ) -> i32 ); ubidi_getResultLength(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getText(pbidi: *const UBiDi) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getText ( pbidi : *const UBiDi ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getText ( pbidi : *const UBiDi ) -> *mut u16 ); ubidi_getText(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getVisualIndex(pbidi: *mut UBiDi, logicalindex: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getVisualIndex ( pbidi : *mut UBiDi , logicalindex : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getVisualIndex ( pbidi : *mut UBiDi , logicalindex : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ubidi_getVisualIndex(pbidi, logicalindex, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getVisualMap(pbidi: *mut UBiDi, indexmap: *mut i32, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getVisualMap ( pbidi : *mut UBiDi , indexmap : *mut i32 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getVisualMap ( pbidi : *mut UBiDi , indexmap : *mut i32 , perrorcode : *mut UErrorCode ) -> ( ) ); ubidi_getVisualMap(pbidi, indexmap, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_getVisualRun(pbidi: *mut UBiDi, runindex: i32, plogicalstart: *mut i32, plength: *mut i32) -> UBiDiDirection { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_getVisualRun ( pbidi : *mut UBiDi , runindex : i32 , plogicalstart : *mut i32 , plength : *mut i32 ) -> UBiDiDirection ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_getVisualRun ( pbidi : *mut UBiDi , runindex : i32 , plogicalstart : *mut i32 , plength : *mut i32 ) -> UBiDiDirection ); ubidi_getVisualRun(pbidi, runindex, plogicalstart, plength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_invertMap(srcmap: *const i32, destmap: *mut i32, length: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_invertMap ( srcmap : *const i32 , destmap : *mut i32 , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_invertMap ( srcmap : *const i32 , destmap : *mut i32 , length : i32 ) -> ( ) ); ubidi_invertMap(srcmap, destmap, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_isInverse(pbidi: *mut UBiDi) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_isInverse ( pbidi : *mut UBiDi ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_isInverse ( pbidi : *mut UBiDi ) -> i8 ); ubidi_isInverse(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_isOrderParagraphsLTR(pbidi: *mut UBiDi) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_isOrderParagraphsLTR ( pbidi : *mut UBiDi ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_isOrderParagraphsLTR ( pbidi : *mut UBiDi ) -> i8 ); ubidi_isOrderParagraphsLTR(pbidi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_open() -> *mut UBiDi { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_open ( ) -> *mut UBiDi ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_open ( ) -> *mut UBiDi ); ubidi_open() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_openSized(maxlength: i32, maxruncount: i32, perrorcode: *mut UErrorCode) -> *mut UBiDi { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_openSized ( maxlength : i32 , maxruncount : i32 , perrorcode : *mut UErrorCode ) -> *mut UBiDi ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_openSized ( maxlength : i32 , maxruncount : i32 , perrorcode : *mut UErrorCode ) -> *mut UBiDi ); ubidi_openSized(maxlength, maxruncount, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_orderParagraphsLTR(pbidi: *mut UBiDi, orderparagraphsltr: i8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_orderParagraphsLTR ( pbidi : *mut UBiDi , orderparagraphsltr : i8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_orderParagraphsLTR ( pbidi : *mut UBiDi , orderparagraphsltr : i8 ) -> ( ) ); ubidi_orderParagraphsLTR(pbidi, orderparagraphsltr) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_reorderLogical(levels: *const u8, length: i32, indexmap: *mut i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_reorderLogical ( levels : *const u8 , length : i32 , indexmap : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_reorderLogical ( levels : *const u8 , length : i32 , indexmap : *mut i32 ) -> ( ) ); ubidi_reorderLogical(levels, length, indexmap) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_reorderVisual(levels: *const u8, length: i32, indexmap: *mut i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_reorderVisual ( levels : *const u8 , length : i32 , indexmap : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_reorderVisual ( levels : *const u8 , length : i32 , indexmap : *mut i32 ) -> ( ) ); ubidi_reorderVisual(levels, length, indexmap) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_setClassCallback(pbidi: *mut UBiDi, newfn: UBiDiClassCallback, newcontext: *const ::core::ffi::c_void, oldfn: *mut UBiDiClassCallback, oldcontext: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_setClassCallback ( pbidi : *mut UBiDi , newfn : UBiDiClassCallback , newcontext : *const ::core::ffi::c_void , oldfn : *mut UBiDiClassCallback , oldcontext : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_setClassCallback ( pbidi : *mut UBiDi , newfn : UBiDiClassCallback , newcontext : *const ::core::ffi::c_void , oldfn : *mut UBiDiClassCallback , oldcontext : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> ( ) ); ubidi_setClassCallback(pbidi, newfn, newcontext, oldfn, oldcontext, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_setContext(pbidi: *mut UBiDi, prologue: *const u16, prolength: i32, epilogue: *const u16, epilength: i32, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_setContext ( pbidi : *mut UBiDi , prologue : *const u16 , prolength : i32 , epilogue : *const u16 , epilength : i32 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_setContext ( pbidi : *mut UBiDi , prologue : *const u16 , prolength : i32 , epilogue : *const u16 , epilength : i32 , perrorcode : *mut UErrorCode ) -> ( ) ); ubidi_setContext(pbidi, prologue, prolength, epilogue, epilength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_setInverse(pbidi: *mut UBiDi, isinverse: i8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_setInverse ( pbidi : *mut UBiDi , isinverse : i8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_setInverse ( pbidi : *mut UBiDi , isinverse : i8 ) -> ( ) ); ubidi_setInverse(pbidi, isinverse) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_setLine(pparabidi: *const UBiDi, start: i32, limit: i32, plinebidi: *mut UBiDi, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_setLine ( pparabidi : *const UBiDi , start : i32 , limit : i32 , plinebidi : *mut UBiDi , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_setLine ( pparabidi : *const UBiDi , start : i32 , limit : i32 , plinebidi : *mut UBiDi , perrorcode : *mut UErrorCode ) -> ( ) ); ubidi_setLine(pparabidi, start, limit, plinebidi, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_setPara(pbidi: *mut UBiDi, text: *const u16, length: i32, paralevel: u8, embeddinglevels: *mut u8, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_setPara ( pbidi : *mut UBiDi , text : *const u16 , length : i32 , paralevel : u8 , embeddinglevels : *mut u8 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_setPara ( pbidi : *mut UBiDi , text : *const u16 , length : i32 , paralevel : u8 , embeddinglevels : *mut u8 , perrorcode : *mut UErrorCode ) -> ( ) ); ubidi_setPara(pbidi, text, length, paralevel, embeddinglevels, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_setReorderingMode(pbidi: *mut UBiDi, reorderingmode: UBiDiReorderingMode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_setReorderingMode ( pbidi : *mut UBiDi , reorderingmode : UBiDiReorderingMode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_setReorderingMode ( pbidi : *mut UBiDi , reorderingmode : UBiDiReorderingMode ) -> ( ) ); ubidi_setReorderingMode(pbidi, reorderingmode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_setReorderingOptions(pbidi: *mut UBiDi, reorderingoptions: u32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_setReorderingOptions ( pbidi : *mut UBiDi , reorderingoptions : u32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_setReorderingOptions ( pbidi : *mut UBiDi , reorderingoptions : u32 ) -> ( ) ); ubidi_setReorderingOptions(pbidi, reorderingoptions) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_writeReordered(pbidi: *mut UBiDi, dest: *mut u16, destsize: i32, options: u16, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_writeReordered ( pbidi : *mut UBiDi , dest : *mut u16 , destsize : i32 , options : u16 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_writeReordered ( pbidi : *mut UBiDi , dest : *mut u16 , destsize : i32 , options : u16 , perrorcode : *mut UErrorCode ) -> i32 ); ubidi_writeReordered(pbidi, dest, destsize, options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubidi_writeReverse(src: *const u16, srclength: i32, dest: *mut u16, destsize: i32, options: u16, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubidi_writeReverse ( src : *const u16 , srclength : i32 , dest : *mut u16 , destsize : i32 , options : u16 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubidi_writeReverse ( src : *const u16 , srclength : i32 , dest : *mut u16 , destsize : i32 , options : u16 , perrorcode : *mut UErrorCode ) -> i32 ); ubidi_writeReverse(src, srclength, dest, destsize, options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubiditransform_close(pbiditransform: *mut UBiDiTransform) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubiditransform_close ( pbiditransform : *mut UBiDiTransform ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubiditransform_close ( pbiditransform : *mut UBiDiTransform ) -> ( ) ); ubiditransform_close(pbiditransform) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubiditransform_open(perrorcode: *mut UErrorCode) -> *mut UBiDiTransform { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubiditransform_open ( perrorcode : *mut UErrorCode ) -> *mut UBiDiTransform ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubiditransform_open ( perrorcode : *mut UErrorCode ) -> *mut UBiDiTransform ); ubiditransform_open(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubiditransform_transform(pbiditransform: *mut UBiDiTransform, src: *const u16, srclength: i32, dest: *mut u16, destsize: i32, inparalevel: u8, inorder: UBiDiOrder, outparalevel: u8, outorder: UBiDiOrder, domirroring: UBiDiMirroring, shapingoptions: u32, perrorcode: *mut UErrorCode) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubiditransform_transform ( pbiditransform : *mut UBiDiTransform , src : *const u16 , srclength : i32 , dest : *mut u16 , destsize : i32 , inparalevel : u8 , inorder : UBiDiOrder , outparalevel : u8 , outorder : UBiDiOrder , domirroring : UBiDiMirroring , shapingoptions : u32 , perrorcode : *mut UErrorCode ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubiditransform_transform ( pbiditransform : *mut UBiDiTransform , src : *const u16 , srclength : i32 , dest : *mut u16 , destsize : i32 , inparalevel : u8 , inorder : UBiDiOrder , outparalevel : u8 , outorder : UBiDiOrder , domirroring : UBiDiMirroring , shapingoptions : u32 , perrorcode : *mut UErrorCode ) -> u32 ); ubiditransform_transform(pbiditransform, src, srclength, dest, destsize, inparalevel, inorder, outparalevel, outorder, domirroring, shapingoptions, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ublock_getCode(c: i32) -> UBlockCode { - ::windows::core::link ! ( "icu.dll""cdecl" fn ublock_getCode ( c : i32 ) -> UBlockCode ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ublock_getCode ( c : i32 ) -> UBlockCode ); ublock_getCode(c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_close(bi: *mut UBreakIterator) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_close ( bi : *mut UBreakIterator ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_close ( bi : *mut UBreakIterator ) -> ( ) ); ubrk_close(bi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_countAvailable() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_countAvailable ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_countAvailable ( ) -> i32 ); ubrk_countAvailable() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_current(bi: *const UBreakIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_current ( bi : *const UBreakIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_current ( bi : *const UBreakIterator ) -> i32 ); ubrk_current(bi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_first(bi: *mut UBreakIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_first ( bi : *mut UBreakIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_first ( bi : *mut UBreakIterator ) -> i32 ); ubrk_first(bi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_following(bi: *mut UBreakIterator, offset: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_following ( bi : *mut UBreakIterator , offset : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_following ( bi : *mut UBreakIterator , offset : i32 ) -> i32 ); ubrk_following(bi, offset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_getAvailable(index: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_getAvailable ( index : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_getAvailable ( index : i32 ) -> :: windows::core::PSTR ); ubrk_getAvailable(index) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_getBinaryRules(bi: *mut UBreakIterator, binaryrules: *mut u8, rulescapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_getBinaryRules ( bi : *mut UBreakIterator , binaryrules : *mut u8 , rulescapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_getBinaryRules ( bi : *mut UBreakIterator , binaryrules : *mut u8 , rulescapacity : i32 , status : *mut UErrorCode ) -> i32 ); ubrk_getBinaryRules(bi, binaryrules, rulescapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_getLocaleByType(bi: *const UBreakIterator, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_getLocaleByType ( bi : *const UBreakIterator , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_getLocaleByType ( bi : *const UBreakIterator , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ubrk_getLocaleByType(bi, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_getRuleStatus(bi: *mut UBreakIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_getRuleStatus ( bi : *mut UBreakIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_getRuleStatus ( bi : *mut UBreakIterator ) -> i32 ); ubrk_getRuleStatus(bi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_getRuleStatusVec(bi: *mut UBreakIterator, fillinvec: *mut i32, capacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_getRuleStatusVec ( bi : *mut UBreakIterator , fillinvec : *mut i32 , capacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_getRuleStatusVec ( bi : *mut UBreakIterator , fillinvec : *mut i32 , capacity : i32 , status : *mut UErrorCode ) -> i32 ); ubrk_getRuleStatusVec(bi, fillinvec, capacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_isBoundary(bi: *mut UBreakIterator, offset: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_isBoundary ( bi : *mut UBreakIterator , offset : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_isBoundary ( bi : *mut UBreakIterator , offset : i32 ) -> i8 ); ubrk_isBoundary(bi, offset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_last(bi: *mut UBreakIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_last ( bi : *mut UBreakIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_last ( bi : *mut UBreakIterator ) -> i32 ); ubrk_last(bi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_next(bi: *mut UBreakIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_next ( bi : *mut UBreakIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_next ( bi : *mut UBreakIterator ) -> i32 ); ubrk_next(bi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -2885,157 +2885,157 @@ pub unsafe fn ubrk_open(r#type: UBreakIteratorType, locale: P0, text: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_open ( r#type : UBreakIteratorType , locale : :: windows::core::PCSTR , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> *mut UBreakIterator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_open ( r#type : UBreakIteratorType , locale : :: windows::core::PCSTR , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> *mut UBreakIterator ); ubrk_open(r#type, locale.into().abi(), text, textlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_openBinaryRules(binaryrules: *const u8, ruleslength: i32, text: *const u16, textlength: i32, status: *mut UErrorCode) -> *mut UBreakIterator { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_openBinaryRules ( binaryrules : *const u8 , ruleslength : i32 , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> *mut UBreakIterator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_openBinaryRules ( binaryrules : *const u8 , ruleslength : i32 , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> *mut UBreakIterator ); ubrk_openBinaryRules(binaryrules, ruleslength, text, textlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_openRules(rules: *const u16, ruleslength: i32, text: *const u16, textlength: i32, parseerr: *mut UParseError, status: *mut UErrorCode) -> *mut UBreakIterator { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_openRules ( rules : *const u16 , ruleslength : i32 , text : *const u16 , textlength : i32 , parseerr : *mut UParseError , status : *mut UErrorCode ) -> *mut UBreakIterator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_openRules ( rules : *const u16 , ruleslength : i32 , text : *const u16 , textlength : i32 , parseerr : *mut UParseError , status : *mut UErrorCode ) -> *mut UBreakIterator ); ubrk_openRules(rules, ruleslength, text, textlength, parseerr, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_preceding(bi: *mut UBreakIterator, offset: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_preceding ( bi : *mut UBreakIterator , offset : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_preceding ( bi : *mut UBreakIterator , offset : i32 ) -> i32 ); ubrk_preceding(bi, offset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_previous(bi: *mut UBreakIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_previous ( bi : *mut UBreakIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_previous ( bi : *mut UBreakIterator ) -> i32 ); ubrk_previous(bi) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_refreshUText(bi: *mut UBreakIterator, text: *mut UText, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_refreshUText ( bi : *mut UBreakIterator , text : *mut UText , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_refreshUText ( bi : *mut UBreakIterator , text : *mut UText , status : *mut UErrorCode ) -> ( ) ); ubrk_refreshUText(bi, text, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_safeClone(bi: *const UBreakIterator, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UBreakIterator { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_safeClone ( bi : *const UBreakIterator , stackbuffer : *mut ::core::ffi::c_void , pbuffersize : *mut i32 , status : *mut UErrorCode ) -> *mut UBreakIterator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_safeClone ( bi : *const UBreakIterator , stackbuffer : *mut ::core::ffi::c_void , pbuffersize : *mut i32 , status : *mut UErrorCode ) -> *mut UBreakIterator ); ubrk_safeClone(bi, stackbuffer, pbuffersize, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_setText(bi: *mut UBreakIterator, text: *const u16, textlength: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_setText ( bi : *mut UBreakIterator , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_setText ( bi : *mut UBreakIterator , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> ( ) ); ubrk_setText(bi, text, textlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ubrk_setUText(bi: *mut UBreakIterator, text: *mut UText, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ubrk_setUText ( bi : *mut UBreakIterator , text : *mut UText , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ubrk_setUText ( bi : *mut UBreakIterator , text : *mut UText , status : *mut UErrorCode ) -> ( ) ); ubrk_setUText(bi, text, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_add(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, amount: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_add ( cal : *mut *mut ::core::ffi::c_void , field : UCalendarDateFields , amount : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_add ( cal : *mut *mut ::core::ffi::c_void , field : UCalendarDateFields , amount : i32 , status : *mut UErrorCode ) -> ( ) ); ucal_add(cal, field, amount, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_clear(calendar: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_clear ( calendar : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_clear ( calendar : *mut *mut ::core::ffi::c_void ) -> ( ) ); ucal_clear(calendar) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_clearField(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_clearField ( cal : *mut *mut ::core::ffi::c_void , field : UCalendarDateFields ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_clearField ( cal : *mut *mut ::core::ffi::c_void , field : UCalendarDateFields ) -> ( ) ); ucal_clearField(cal, field) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_clone(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_clone ( cal : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_clone ( cal : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); ucal_clone(cal, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_close(cal: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_close ( cal : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_close ( cal : *mut *mut ::core::ffi::c_void ) -> ( ) ); ucal_close(cal) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_countAvailable() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_countAvailable ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_countAvailable ( ) -> i32 ); ucal_countAvailable() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_equivalentTo(cal1: *const *const ::core::ffi::c_void, cal2: *const *const ::core::ffi::c_void) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_equivalentTo ( cal1 : *const *const ::core::ffi::c_void , cal2 : *const *const ::core::ffi::c_void ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_equivalentTo ( cal1 : *const *const ::core::ffi::c_void , cal2 : *const *const ::core::ffi::c_void ) -> i8 ); ucal_equivalentTo(cal1, cal2) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_get(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_get ( cal : *const *const ::core::ffi::c_void , field : UCalendarDateFields , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_get ( cal : *const *const ::core::ffi::c_void , field : UCalendarDateFields , status : *mut UErrorCode ) -> i32 ); ucal_get(cal, field, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getAttribute(cal: *const *const ::core::ffi::c_void, attr: UCalendarAttribute) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getAttribute ( cal : *const *const ::core::ffi::c_void , attr : UCalendarAttribute ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getAttribute ( cal : *const *const ::core::ffi::c_void , attr : UCalendarAttribute ) -> i32 ); ucal_getAttribute(cal, attr) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getAvailable(localeindex: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getAvailable ( localeindex : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getAvailable ( localeindex : i32 ) -> :: windows::core::PSTR ); ucal_getAvailable(localeindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getCanonicalTimeZoneID(id: *const u16, len: i32, result: *mut u16, resultcapacity: i32, issystemid: *mut i8, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getCanonicalTimeZoneID ( id : *const u16 , len : i32 , result : *mut u16 , resultcapacity : i32 , issystemid : *mut i8 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getCanonicalTimeZoneID ( id : *const u16 , len : i32 , result : *mut u16 , resultcapacity : i32 , issystemid : *mut i8 , status : *mut UErrorCode ) -> i32 ); ucal_getCanonicalTimeZoneID(id, len, result, resultcapacity, issystemid, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getDSTSavings(zoneid: *const u16, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getDSTSavings ( zoneid : *const u16 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getDSTSavings ( zoneid : *const u16 , ec : *mut UErrorCode ) -> i32 ); ucal_getDSTSavings(zoneid, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getDayOfWeekType(cal: *const *const ::core::ffi::c_void, dayofweek: UCalendarDaysOfWeek, status: *mut UErrorCode) -> UCalendarWeekdayType { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getDayOfWeekType ( cal : *const *const ::core::ffi::c_void , dayofweek : UCalendarDaysOfWeek , status : *mut UErrorCode ) -> UCalendarWeekdayType ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getDayOfWeekType ( cal : *const *const ::core::ffi::c_void , dayofweek : UCalendarDaysOfWeek , status : *mut UErrorCode ) -> UCalendarWeekdayType ); ucal_getDayOfWeekType(cal, dayofweek, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getDefaultTimeZone(result: *mut u16, resultcapacity: i32, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getDefaultTimeZone ( result : *mut u16 , resultcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getDefaultTimeZone ( result : *mut u16 , resultcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); ucal_getDefaultTimeZone(result, resultcapacity, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getFieldDifference(cal: *mut *mut ::core::ffi::c_void, target: f64, field: UCalendarDateFields, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getFieldDifference ( cal : *mut *mut ::core::ffi::c_void , target : f64 , field : UCalendarDateFields , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getFieldDifference ( cal : *mut *mut ::core::ffi::c_void , target : f64 , field : UCalendarDateFields , status : *mut UErrorCode ) -> i32 ); ucal_getFieldDifference(cal, target, field, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getGregorianChange(cal: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getGregorianChange ( cal : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getGregorianChange ( cal : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> f64 ); ucal_getGregorianChange(cal, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getHostTimeZone(result: *mut u16, resultcapacity: i32, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getHostTimeZone ( result : *mut u16 , resultcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getHostTimeZone ( result : *mut u16 , resultcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); ucal_getHostTimeZone(result, resultcapacity, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3045,37 +3045,37 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getKeywordValuesForLocale ( key : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , commonlyused : i8 , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getKeywordValuesForLocale ( key : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , commonlyused : i8 , status : *mut UErrorCode ) -> *mut UEnumeration ); ucal_getKeywordValuesForLocale(key.into().abi(), locale.into().abi(), commonlyused, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getLimit(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields, r#type: UCalendarLimitType, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getLimit ( cal : *const *const ::core::ffi::c_void , field : UCalendarDateFields , r#type : UCalendarLimitType , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getLimit ( cal : *const *const ::core::ffi::c_void , field : UCalendarDateFields , r#type : UCalendarLimitType , status : *mut UErrorCode ) -> i32 ); ucal_getLimit(cal, field, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getLocaleByType(cal: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getLocaleByType ( cal : *const *const ::core::ffi::c_void , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getLocaleByType ( cal : *const *const ::core::ffi::c_void , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ucal_getLocaleByType(cal, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getMillis(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getMillis ( cal : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getMillis ( cal : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> f64 ); ucal_getMillis(cal, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getNow() -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getNow ( ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getNow ( ) -> f64 ); ucal_getNow() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getTZDataVersion(status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getTZDataVersion ( status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getTZDataVersion ( status : *mut UErrorCode ) -> :: windows::core::PSTR ); ucal_getTZDataVersion(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3084,13 +3084,13 @@ pub unsafe fn ucal_getTimeZoneDisplayName(cal: *const *const ::core::ffi::c_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getTimeZoneDisplayName ( cal : *const *const ::core::ffi::c_void , r#type : UCalendarDisplayNameType , locale : :: windows::core::PCSTR , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getTimeZoneDisplayName ( cal : *const *const ::core::ffi::c_void , r#type : UCalendarDisplayNameType , locale : :: windows::core::PCSTR , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); ucal_getTimeZoneDisplayName(cal, r#type, locale.into().abi(), result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getTimeZoneID(cal: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getTimeZoneID ( cal : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getTimeZoneID ( cal : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); ucal_getTimeZoneID(cal, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3099,49 +3099,49 @@ pub unsafe fn ucal_getTimeZoneIDForWindowsID(winid: *const u16, len: i32, re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getTimeZoneIDForWindowsID ( winid : *const u16 , len : i32 , region : :: windows::core::PCSTR , id : *mut u16 , idcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getTimeZoneIDForWindowsID ( winid : *const u16 , len : i32 , region : :: windows::core::PCSTR , id : *mut u16 , idcapacity : i32 , status : *mut UErrorCode ) -> i32 ); ucal_getTimeZoneIDForWindowsID(winid, len, region.into().abi(), id, idcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getTimeZoneTransitionDate(cal: *const *const ::core::ffi::c_void, r#type: UTimeZoneTransitionType, transition: *mut f64, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getTimeZoneTransitionDate ( cal : *const *const ::core::ffi::c_void , r#type : UTimeZoneTransitionType , transition : *mut f64 , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getTimeZoneTransitionDate ( cal : *const *const ::core::ffi::c_void , r#type : UTimeZoneTransitionType , transition : *mut f64 , status : *mut UErrorCode ) -> i8 ); ucal_getTimeZoneTransitionDate(cal, r#type, transition, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getType(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getType ( cal : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getType ( cal : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ucal_getType(cal, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getWeekendTransition(cal: *const *const ::core::ffi::c_void, dayofweek: UCalendarDaysOfWeek, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getWeekendTransition ( cal : *const *const ::core::ffi::c_void , dayofweek : UCalendarDaysOfWeek , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getWeekendTransition ( cal : *const *const ::core::ffi::c_void , dayofweek : UCalendarDaysOfWeek , status : *mut UErrorCode ) -> i32 ); ucal_getWeekendTransition(cal, dayofweek, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_getWindowsTimeZoneID(id: *const u16, len: i32, winid: *mut u16, winidcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_getWindowsTimeZoneID ( id : *const u16 , len : i32 , winid : *mut u16 , winidcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_getWindowsTimeZoneID ( id : *const u16 , len : i32 , winid : *mut u16 , winidcapacity : i32 , status : *mut UErrorCode ) -> i32 ); ucal_getWindowsTimeZoneID(id, len, winid, winidcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_inDaylightTime(cal: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_inDaylightTime ( cal : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_inDaylightTime ( cal : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> i8 ); ucal_inDaylightTime(cal, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_isSet(cal: *const *const ::core::ffi::c_void, field: UCalendarDateFields) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_isSet ( cal : *const *const ::core::ffi::c_void , field : UCalendarDateFields ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_isSet ( cal : *const *const ::core::ffi::c_void , field : UCalendarDateFields ) -> i8 ); ucal_isSet(cal, field) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_isWeekend(cal: *const *const ::core::ffi::c_void, date: f64, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_isWeekend ( cal : *const *const ::core::ffi::c_void , date : f64 , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_isWeekend ( cal : *const *const ::core::ffi::c_void , date : f64 , status : *mut UErrorCode ) -> i8 ); ucal_isWeekend(cal, date, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3150,7 +3150,7 @@ pub unsafe fn ucal_open(zoneid: *const u16, len: i32, locale: P0, r#type: UC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_open ( zoneid : *const u16 , len : i32 , locale : :: windows::core::PCSTR , r#type : UCalendarType , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_open ( zoneid : *const u16 , len : i32 , locale : :: windows::core::PCSTR , r#type : UCalendarType , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); ucal_open(zoneid, len, locale.into().abi(), r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3159,7 +3159,7 @@ pub unsafe fn ucal_openCountryTimeZones(country: P0, ec: *mut UErrorCode) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_openCountryTimeZones ( country : :: windows::core::PCSTR , ec : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_openCountryTimeZones ( country : :: windows::core::PCSTR , ec : *mut UErrorCode ) -> *mut UEnumeration ); ucal_openCountryTimeZones(country.into().abi(), ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3168,91 +3168,91 @@ pub unsafe fn ucal_openTimeZoneIDEnumeration(zonetype: USystemTimeZoneType, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_openTimeZoneIDEnumeration ( zonetype : USystemTimeZoneType , region : :: windows::core::PCSTR , rawoffset : *const i32 , ec : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_openTimeZoneIDEnumeration ( zonetype : USystemTimeZoneType , region : :: windows::core::PCSTR , rawoffset : *const i32 , ec : *mut UErrorCode ) -> *mut UEnumeration ); ucal_openTimeZoneIDEnumeration(zonetype, region.into().abi(), rawoffset, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_openTimeZones(ec: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_openTimeZones ( ec : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_openTimeZones ( ec : *mut UErrorCode ) -> *mut UEnumeration ); ucal_openTimeZones(ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_roll(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, amount: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_roll ( cal : *mut *mut ::core::ffi::c_void , field : UCalendarDateFields , amount : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_roll ( cal : *mut *mut ::core::ffi::c_void , field : UCalendarDateFields , amount : i32 , status : *mut UErrorCode ) -> ( ) ); ucal_roll(cal, field, amount, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_set(cal: *mut *mut ::core::ffi::c_void, field: UCalendarDateFields, value: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_set ( cal : *mut *mut ::core::ffi::c_void , field : UCalendarDateFields , value : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_set ( cal : *mut *mut ::core::ffi::c_void , field : UCalendarDateFields , value : i32 ) -> ( ) ); ucal_set(cal, field, value) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_setAttribute(cal: *mut *mut ::core::ffi::c_void, attr: UCalendarAttribute, newvalue: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_setAttribute ( cal : *mut *mut ::core::ffi::c_void , attr : UCalendarAttribute , newvalue : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_setAttribute ( cal : *mut *mut ::core::ffi::c_void , attr : UCalendarAttribute , newvalue : i32 ) -> ( ) ); ucal_setAttribute(cal, attr, newvalue) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_setDate(cal: *mut *mut ::core::ffi::c_void, year: i32, month: i32, date: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_setDate ( cal : *mut *mut ::core::ffi::c_void , year : i32 , month : i32 , date : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_setDate ( cal : *mut *mut ::core::ffi::c_void , year : i32 , month : i32 , date : i32 , status : *mut UErrorCode ) -> ( ) ); ucal_setDate(cal, year, month, date, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_setDateTime(cal: *mut *mut ::core::ffi::c_void, year: i32, month: i32, date: i32, hour: i32, minute: i32, second: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_setDateTime ( cal : *mut *mut ::core::ffi::c_void , year : i32 , month : i32 , date : i32 , hour : i32 , minute : i32 , second : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_setDateTime ( cal : *mut *mut ::core::ffi::c_void , year : i32 , month : i32 , date : i32 , hour : i32 , minute : i32 , second : i32 , status : *mut UErrorCode ) -> ( ) ); ucal_setDateTime(cal, year, month, date, hour, minute, second, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_setDefaultTimeZone(zoneid: *const u16, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_setDefaultTimeZone ( zoneid : *const u16 , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_setDefaultTimeZone ( zoneid : *const u16 , ec : *mut UErrorCode ) -> ( ) ); ucal_setDefaultTimeZone(zoneid, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_setGregorianChange(cal: *mut *mut ::core::ffi::c_void, date: f64, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_setGregorianChange ( cal : *mut *mut ::core::ffi::c_void , date : f64 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_setGregorianChange ( cal : *mut *mut ::core::ffi::c_void , date : f64 , perrorcode : *mut UErrorCode ) -> ( ) ); ucal_setGregorianChange(cal, date, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_setMillis(cal: *mut *mut ::core::ffi::c_void, datetime: f64, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_setMillis ( cal : *mut *mut ::core::ffi::c_void , datetime : f64 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_setMillis ( cal : *mut *mut ::core::ffi::c_void , datetime : f64 , status : *mut UErrorCode ) -> ( ) ); ucal_setMillis(cal, datetime, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucal_setTimeZone(cal: *mut *mut ::core::ffi::c_void, zoneid: *const u16, len: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucal_setTimeZone ( cal : *mut *mut ::core::ffi::c_void , zoneid : *const u16 , len : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucal_setTimeZone ( cal : *mut *mut ::core::ffi::c_void , zoneid : *const u16 , len : i32 , status : *mut UErrorCode ) -> ( ) ); ucal_setTimeZone(cal, zoneid, len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucasemap_close(csm: *mut UCaseMap) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_close ( csm : *mut UCaseMap ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_close ( csm : *mut UCaseMap ) -> ( ) ); ucasemap_close(csm) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucasemap_getBreakIterator(csm: *const UCaseMap) -> *mut UBreakIterator { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_getBreakIterator ( csm : *const UCaseMap ) -> *mut UBreakIterator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_getBreakIterator ( csm : *const UCaseMap ) -> *mut UBreakIterator ); ucasemap_getBreakIterator(csm) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucasemap_getLocale(csm: *const UCaseMap) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_getLocale ( csm : *const UCaseMap ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_getLocale ( csm : *const UCaseMap ) -> :: windows::core::PSTR ); ucasemap_getLocale(csm) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucasemap_getOptions(csm: *const UCaseMap) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_getOptions ( csm : *const UCaseMap ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_getOptions ( csm : *const UCaseMap ) -> u32 ); ucasemap_getOptions(csm) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3261,13 +3261,13 @@ pub unsafe fn ucasemap_open(locale: P0, options: u32, perrorcode: *mut UErro where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_open ( locale : :: windows::core::PCSTR , options : u32 , perrorcode : *mut UErrorCode ) -> *mut UCaseMap ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_open ( locale : :: windows::core::PCSTR , options : u32 , perrorcode : *mut UErrorCode ) -> *mut UCaseMap ); ucasemap_open(locale.into().abi(), options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucasemap_setBreakIterator(csm: *mut UCaseMap, itertoadopt: *mut UBreakIterator, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_setBreakIterator ( csm : *mut UCaseMap , itertoadopt : *mut UBreakIterator , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_setBreakIterator ( csm : *mut UCaseMap , itertoadopt : *mut UBreakIterator , perrorcode : *mut UErrorCode ) -> ( ) ); ucasemap_setBreakIterator(csm, itertoadopt, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3276,19 +3276,19 @@ pub unsafe fn ucasemap_setLocale(csm: *mut UCaseMap, locale: P0, perrorcode: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_setLocale ( csm : *mut UCaseMap , locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_setLocale ( csm : *mut UCaseMap , locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> ( ) ); ucasemap_setLocale(csm, locale.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucasemap_setOptions(csm: *mut UCaseMap, options: u32, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_setOptions ( csm : *mut UCaseMap , options : u32 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_setOptions ( csm : *mut UCaseMap , options : u32 , perrorcode : *mut UErrorCode ) -> ( ) ); ucasemap_setOptions(csm, options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucasemap_toTitle(csm: *mut UCaseMap, dest: *mut u16, destcapacity: i32, src: *const u16, srclength: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_toTitle ( csm : *mut UCaseMap , dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_toTitle ( csm : *mut UCaseMap , dest : *mut u16 , destcapacity : i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucasemap_toTitle(csm, dest, destcapacity, src, srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3298,7 +3298,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_utf8FoldCase ( csm : *const UCaseMap , dest : :: windows::core::PCSTR , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_utf8FoldCase ( csm : *const UCaseMap , dest : :: windows::core::PCSTR , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucasemap_utf8FoldCase(csm, dest.into().abi(), destcapacity, src.into().abi(), srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3308,7 +3308,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_utf8ToLower ( csm : *const UCaseMap , dest : :: windows::core::PCSTR , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_utf8ToLower ( csm : *const UCaseMap , dest : :: windows::core::PCSTR , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucasemap_utf8ToLower(csm, dest.into().abi(), destcapacity, src.into().abi(), srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3318,7 +3318,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_utf8ToTitle ( csm : *mut UCaseMap , dest : :: windows::core::PCSTR , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_utf8ToTitle ( csm : *mut UCaseMap , dest : :: windows::core::PCSTR , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucasemap_utf8ToTitle(csm, dest.into().abi(), destcapacity, src.into().abi(), srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3328,79 +3328,79 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucasemap_utf8ToUpper ( csm : *const UCaseMap , dest : :: windows::core::PCSTR , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucasemap_utf8ToUpper ( csm : *const UCaseMap , dest : :: windows::core::PCSTR , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucasemap_utf8ToUpper(csm, dest.into().abi(), destcapacity, src.into().abi(), srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_close(ucfpos: *mut UConstrainedFieldPosition) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_close ( ucfpos : *mut UConstrainedFieldPosition ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_close ( ucfpos : *mut UConstrainedFieldPosition ) -> ( ) ); ucfpos_close(ucfpos) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_constrainCategory(ucfpos: *mut UConstrainedFieldPosition, category: i32, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_constrainCategory ( ucfpos : *mut UConstrainedFieldPosition , category : i32 , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_constrainCategory ( ucfpos : *mut UConstrainedFieldPosition , category : i32 , ec : *mut UErrorCode ) -> ( ) ); ucfpos_constrainCategory(ucfpos, category, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_constrainField(ucfpos: *mut UConstrainedFieldPosition, category: i32, field: i32, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_constrainField ( ucfpos : *mut UConstrainedFieldPosition , category : i32 , field : i32 , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_constrainField ( ucfpos : *mut UConstrainedFieldPosition , category : i32 , field : i32 , ec : *mut UErrorCode ) -> ( ) ); ucfpos_constrainField(ucfpos, category, field, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_getCategory(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_getCategory ( ucfpos : *const UConstrainedFieldPosition , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_getCategory ( ucfpos : *const UConstrainedFieldPosition , ec : *mut UErrorCode ) -> i32 ); ucfpos_getCategory(ucfpos, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_getField(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_getField ( ucfpos : *const UConstrainedFieldPosition , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_getField ( ucfpos : *const UConstrainedFieldPosition , ec : *mut UErrorCode ) -> i32 ); ucfpos_getField(ucfpos, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_getIndexes(ucfpos: *const UConstrainedFieldPosition, pstart: *mut i32, plimit: *mut i32, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_getIndexes ( ucfpos : *const UConstrainedFieldPosition , pstart : *mut i32 , plimit : *mut i32 , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_getIndexes ( ucfpos : *const UConstrainedFieldPosition , pstart : *mut i32 , plimit : *mut i32 , ec : *mut UErrorCode ) -> ( ) ); ucfpos_getIndexes(ucfpos, pstart, plimit, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_getInt64IterationContext(ucfpos: *const UConstrainedFieldPosition, ec: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_getInt64IterationContext ( ucfpos : *const UConstrainedFieldPosition , ec : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_getInt64IterationContext ( ucfpos : *const UConstrainedFieldPosition , ec : *mut UErrorCode ) -> i64 ); ucfpos_getInt64IterationContext(ucfpos, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_matchesField(ucfpos: *const UConstrainedFieldPosition, category: i32, field: i32, ec: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_matchesField ( ucfpos : *const UConstrainedFieldPosition , category : i32 , field : i32 , ec : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_matchesField ( ucfpos : *const UConstrainedFieldPosition , category : i32 , field : i32 , ec : *mut UErrorCode ) -> i8 ); ucfpos_matchesField(ucfpos, category, field, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_open(ec: *mut UErrorCode) -> *mut UConstrainedFieldPosition { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_open ( ec : *mut UErrorCode ) -> *mut UConstrainedFieldPosition ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_open ( ec : *mut UErrorCode ) -> *mut UConstrainedFieldPosition ); ucfpos_open(ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_reset(ucfpos: *mut UConstrainedFieldPosition, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_reset ( ucfpos : *mut UConstrainedFieldPosition , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_reset ( ucfpos : *mut UConstrainedFieldPosition , ec : *mut UErrorCode ) -> ( ) ); ucfpos_reset(ucfpos, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_setInt64IterationContext(ucfpos: *mut UConstrainedFieldPosition, context: i64, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_setInt64IterationContext ( ucfpos : *mut UConstrainedFieldPosition , context : i64 , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_setInt64IterationContext ( ucfpos : *mut UConstrainedFieldPosition , context : i64 , ec : *mut UErrorCode ) -> ( ) ); ucfpos_setInt64IterationContext(ucfpos, context, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucfpos_setState(ucfpos: *mut UConstrainedFieldPosition, category: i32, field: i32, start: i32, limit: i32, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucfpos_setState ( ucfpos : *mut UConstrainedFieldPosition , category : i32 , field : i32 , start : i32 , limit : i32 , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucfpos_setState ( ucfpos : *mut UConstrainedFieldPosition , category : i32 , field : i32 , start : i32 , limit : i32 , ec : *mut UErrorCode ) -> ( ) ); ucfpos_setState(ucfpos, category, field, start, limit, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3409,37 +3409,37 @@ pub unsafe fn ucnv_cbFromUWriteBytes(args: *mut UConverterFromUnicodeArgs, s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_cbFromUWriteBytes ( args : *mut UConverterFromUnicodeArgs , source : :: windows::core::PCSTR , length : i32 , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_cbFromUWriteBytes ( args : *mut UConverterFromUnicodeArgs , source : :: windows::core::PCSTR , length : i32 , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); ucnv_cbFromUWriteBytes(args, source.into().abi(), length, offsetindex, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_cbFromUWriteSub(args: *mut UConverterFromUnicodeArgs, offsetindex: i32, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_cbFromUWriteSub ( args : *mut UConverterFromUnicodeArgs , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_cbFromUWriteSub ( args : *mut UConverterFromUnicodeArgs , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); ucnv_cbFromUWriteSub(args, offsetindex, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_cbFromUWriteUChars(args: *mut UConverterFromUnicodeArgs, source: *const *const u16, sourcelimit: *const u16, offsetindex: i32, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_cbFromUWriteUChars ( args : *mut UConverterFromUnicodeArgs , source : *const *const u16 , sourcelimit : *const u16 , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_cbFromUWriteUChars ( args : *mut UConverterFromUnicodeArgs , source : *const *const u16 , sourcelimit : *const u16 , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); ucnv_cbFromUWriteUChars(args, source, sourcelimit, offsetindex, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_cbToUWriteSub(args: *mut UConverterToUnicodeArgs, offsetindex: i32, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_cbToUWriteSub ( args : *mut UConverterToUnicodeArgs , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_cbToUWriteSub ( args : *mut UConverterToUnicodeArgs , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); ucnv_cbToUWriteSub(args, offsetindex, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_cbToUWriteUChars(args: *mut UConverterToUnicodeArgs, source: *const u16, length: i32, offsetindex: i32, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_cbToUWriteUChars ( args : *mut UConverterToUnicodeArgs , source : *const u16 , length : i32 , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_cbToUWriteUChars ( args : *mut UConverterToUnicodeArgs , source : *const u16 , length : i32 , offsetindex : i32 , err : *mut UErrorCode ) -> ( ) ); ucnv_cbToUWriteUChars(args, source, length, offsetindex, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_close(converter: *mut UConverter) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_close ( converter : *mut UConverter ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_close ( converter : *mut UConverter ) -> ( ) ); ucnv_close(converter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3449,7 +3449,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_compareNames ( name1 : :: windows::core::PCSTR , name2 : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_compareNames ( name1 : :: windows::core::PCSTR , name2 : :: windows::core::PCSTR ) -> i32 ); ucnv_compareNames(name1.into().abi(), name2.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3461,7 +3461,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_convert ( toconvertername : :: windows::core::PCSTR , fromconvertername : :: windows::core::PCSTR , target : :: windows::core::PCSTR , targetcapacity : i32 , source : :: windows::core::PCSTR , sourcelength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_convert ( toconvertername : :: windows::core::PCSTR , fromconvertername : :: windows::core::PCSTR , target : :: windows::core::PCSTR , targetcapacity : i32 , source : :: windows::core::PCSTR , sourcelength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucnv_convert(toconvertername.into().abi(), fromconvertername.into().abi(), target.into().abi(), targetcapacity, source.into().abi(), sourcelength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3471,7 +3471,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_convertEx ( targetcnv : *mut UConverter , sourcecnv : *mut UConverter , target : *mut *mut i8 , targetlimit : :: windows::core::PCSTR , source : *const *const i8 , sourcelimit : :: windows::core::PCSTR , pivotstart : *mut u16 , pivotsource : *mut *mut u16 , pivottarget : *mut *mut u16 , pivotlimit : *const u16 , reset : i8 , flush : i8 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_convertEx ( targetcnv : *mut UConverter , sourcecnv : *mut UConverter , target : *mut *mut i8 , targetlimit : :: windows::core::PCSTR , source : *const *const i8 , sourcelimit : :: windows::core::PCSTR , pivotstart : *mut u16 , pivotsource : *mut *mut u16 , pivottarget : *mut *mut u16 , pivotlimit : *const u16 , reset : i8 , flush : i8 , perrorcode : *mut UErrorCode ) -> ( ) ); ucnv_convertEx(targetcnv, sourcecnv, target, targetlimit.into().abi(), source, sourcelimit.into().abi(), pivotstart, pivotsource, pivottarget, pivotlimit, reset, flush, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3480,19 +3480,19 @@ pub unsafe fn ucnv_countAliases(alias: P0, perrorcode: *mut UErrorCode) -> u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_countAliases ( alias : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_countAliases ( alias : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> u16 ); ucnv_countAliases(alias.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_countAvailable() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_countAvailable ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_countAvailable ( ) -> i32 ); ucnv_countAvailable() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_countStandards() -> u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_countStandards ( ) -> u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_countStandards ( ) -> u16 ); ucnv_countStandards() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3501,19 +3501,19 @@ pub unsafe fn ucnv_detectUnicodeSignature(source: P0, sourcelength: i32, sig where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_detectUnicodeSignature ( source : :: windows::core::PCSTR , sourcelength : i32 , signaturelength : *mut i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_detectUnicodeSignature ( source : :: windows::core::PCSTR , sourcelength : i32 , signaturelength : *mut i32 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); ucnv_detectUnicodeSignature(source.into().abi(), sourcelength, signaturelength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_fixFileSeparator(cnv: *const UConverter, source: *mut u16, sourcelen: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_fixFileSeparator ( cnv : *const UConverter , source : *mut u16 , sourcelen : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_fixFileSeparator ( cnv : *const UConverter , source : *mut u16 , sourcelen : i32 ) -> ( ) ); ucnv_fixFileSeparator(cnv, source, sourcelen) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_flushCache() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_flushCache ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_flushCache ( ) -> i32 ); ucnv_flushCache() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3523,7 +3523,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_fromAlgorithmic ( cnv : *mut UConverter , algorithmictype : UConverterType , target : :: windows::core::PCSTR , targetcapacity : i32 , source : :: windows::core::PCSTR , sourcelength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_fromAlgorithmic ( cnv : *mut UConverter , algorithmictype : UConverterType , target : :: windows::core::PCSTR , targetcapacity : i32 , source : :: windows::core::PCSTR , sourcelength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucnv_fromAlgorithmic(cnv, algorithmictype, target.into().abi(), targetcapacity, source.into().abi(), sourcelength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3532,13 +3532,13 @@ pub unsafe fn ucnv_fromUChars(cnv: *mut UConverter, dest: P0, destcapacity: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_fromUChars ( cnv : *mut UConverter , dest : :: windows::core::PCSTR , destcapacity : i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_fromUChars ( cnv : *mut UConverter , dest : :: windows::core::PCSTR , destcapacity : i32 , src : *const u16 , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucnv_fromUChars(cnv, dest.into().abi(), destcapacity, src, srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_fromUCountPending(cnv: *const UConverter, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_fromUCountPending ( cnv : *const UConverter , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_fromUCountPending ( cnv : *const UConverter , status : *mut UErrorCode ) -> i32 ); ucnv_fromUCountPending(cnv, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3547,7 +3547,7 @@ pub unsafe fn ucnv_fromUnicode(converter: *mut UConverter, target: *mut *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_fromUnicode ( converter : *mut UConverter , target : *mut *mut i8 , targetlimit : :: windows::core::PCSTR , source : *const *const u16 , sourcelimit : *const u16 , offsets : *mut i32 , flush : i8 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_fromUnicode ( converter : *mut UConverter , target : *mut *mut i8 , targetlimit : :: windows::core::PCSTR , source : *const *const u16 , sourcelimit : *const u16 , offsets : *mut i32 , flush : i8 , err : *mut UErrorCode ) -> ( ) ); ucnv_fromUnicode(converter, target, targetlimit.into().abi(), source, sourcelimit, offsets, flush, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3556,7 +3556,7 @@ pub unsafe fn ucnv_getAlias(alias: P0, n: u16, perrorcode: *mut UErrorCode) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getAlias ( alias : :: windows::core::PCSTR , n : u16 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getAlias ( alias : :: windows::core::PCSTR , n : u16 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); ucnv_getAlias(alias.into().abi(), n, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3565,19 +3565,19 @@ pub unsafe fn ucnv_getAliases(alias: P0, aliases: *const *const i8, perrorco where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getAliases ( alias : :: windows::core::PCSTR , aliases : *const *const i8 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getAliases ( alias : :: windows::core::PCSTR , aliases : *const *const i8 , perrorcode : *mut UErrorCode ) -> ( ) ); ucnv_getAliases(alias.into().abi(), aliases, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getAvailableName(n: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getAvailableName ( n : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getAvailableName ( n : i32 ) -> :: windows::core::PSTR ); ucnv_getAvailableName(n) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getCCSID(converter: *const UConverter, err: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getCCSID ( converter : *const UConverter , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getCCSID ( converter : *const UConverter , err : *mut UErrorCode ) -> i32 ); ucnv_getCCSID(converter, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3587,13 +3587,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getCanonicalName ( alias : :: windows::core::PCSTR , standard : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getCanonicalName ( alias : :: windows::core::PCSTR , standard : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); ucnv_getCanonicalName(alias.into().abi(), standard.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getDefaultName() -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getDefaultName ( ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getDefaultName ( ) -> :: windows::core::PSTR ); ucnv_getDefaultName() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3602,13 +3602,13 @@ pub unsafe fn ucnv_getDisplayName(converter: *const UConverter, displaylocal where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getDisplayName ( converter : *const UConverter , displaylocale : :: windows::core::PCSTR , displayname : *mut u16 , displaynamecapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getDisplayName ( converter : *const UConverter , displaylocale : :: windows::core::PCSTR , displayname : *mut u16 , displaynamecapacity : i32 , err : *mut UErrorCode ) -> i32 ); ucnv_getDisplayName(converter, displaylocale.into().abi(), displayname, displaynamecapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getFromUCallBack(converter: *const UConverter, action: *mut UConverterFromUCallback, context: *const *const ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getFromUCallBack ( converter : *const UConverter , action : *mut UConverterFromUCallback , context : *const *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getFromUCallBack ( converter : *const UConverter , action : *mut UConverterFromUCallback , context : *const *const ::core::ffi::c_void ) -> ( ) ); ucnv_getFromUCallBack(converter, action, context) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3617,31 +3617,31 @@ pub unsafe fn ucnv_getInvalidChars(converter: *const UConverter, errbytes: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getInvalidChars ( converter : *const UConverter , errbytes : :: windows::core::PCSTR , len : *mut i8 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getInvalidChars ( converter : *const UConverter , errbytes : :: windows::core::PCSTR , len : *mut i8 , err : *mut UErrorCode ) -> ( ) ); ucnv_getInvalidChars(converter, errbytes.into().abi(), len, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getInvalidUChars(converter: *const UConverter, erruchars: *mut u16, len: *mut i8, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getInvalidUChars ( converter : *const UConverter , erruchars : *mut u16 , len : *mut i8 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getInvalidUChars ( converter : *const UConverter , erruchars : *mut u16 , len : *mut i8 , err : *mut UErrorCode ) -> ( ) ); ucnv_getInvalidUChars(converter, erruchars, len, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getMaxCharSize(converter: *const UConverter) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getMaxCharSize ( converter : *const UConverter ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getMaxCharSize ( converter : *const UConverter ) -> i8 ); ucnv_getMaxCharSize(converter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getMinCharSize(converter: *const UConverter) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getMinCharSize ( converter : *const UConverter ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getMinCharSize ( converter : *const UConverter ) -> i8 ); ucnv_getMinCharSize(converter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getName(converter: *const UConverter, err: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getName ( converter : *const UConverter , err : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getName ( converter : *const UConverter , err : *mut UErrorCode ) -> :: windows::core::PSTR ); ucnv_getName(converter, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3650,19 +3650,19 @@ pub unsafe fn ucnv_getNextUChar(converter: *mut UConverter, source: *const * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getNextUChar ( converter : *mut UConverter , source : *const *const i8 , sourcelimit : :: windows::core::PCSTR , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getNextUChar ( converter : *mut UConverter , source : *const *const i8 , sourcelimit : :: windows::core::PCSTR , err : *mut UErrorCode ) -> i32 ); ucnv_getNextUChar(converter, source, sourcelimit.into().abi(), err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getPlatform(converter: *const UConverter, err: *mut UErrorCode) -> UConverterPlatform { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getPlatform ( converter : *const UConverter , err : *mut UErrorCode ) -> UConverterPlatform ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getPlatform ( converter : *const UConverter , err : *mut UErrorCode ) -> UConverterPlatform ); ucnv_getPlatform(converter, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getStandard(n: u16, perrorcode: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getStandard ( n : u16 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getStandard ( n : u16 , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); ucnv_getStandard(n, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3672,13 +3672,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getStandardName ( name : :: windows::core::PCSTR , standard : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getStandardName ( name : :: windows::core::PCSTR , standard : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> :: windows::core::PSTR ); ucnv_getStandardName(name.into().abi(), standard.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getStarters(converter: *const UConverter, starters: *mut i8, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getStarters ( converter : *const UConverter , starters : *mut i8 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getStarters ( converter : *const UConverter , starters : *mut i8 , err : *mut UErrorCode ) -> ( ) ); ucnv_getStarters(converter, starters, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3687,37 +3687,37 @@ pub unsafe fn ucnv_getSubstChars(converter: *const UConverter, subchars: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getSubstChars ( converter : *const UConverter , subchars : :: windows::core::PCSTR , len : *mut i8 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getSubstChars ( converter : *const UConverter , subchars : :: windows::core::PCSTR , len : *mut i8 , err : *mut UErrorCode ) -> ( ) ); ucnv_getSubstChars(converter, subchars.into().abi(), len, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getToUCallBack(converter: *const UConverter, action: *mut UConverterToUCallback, context: *const *const ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getToUCallBack ( converter : *const UConverter , action : *mut UConverterToUCallback , context : *const *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getToUCallBack ( converter : *const UConverter , action : *mut UConverterToUCallback , context : *const *const ::core::ffi::c_void ) -> ( ) ); ucnv_getToUCallBack(converter, action, context) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getType(converter: *const UConverter) -> UConverterType { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getType ( converter : *const UConverter ) -> UConverterType ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getType ( converter : *const UConverter ) -> UConverterType ); ucnv_getType(converter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_getUnicodeSet(cnv: *const UConverter, setfillin: *mut USet, whichset: UConverterUnicodeSet, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_getUnicodeSet ( cnv : *const UConverter , setfillin : *mut USet , whichset : UConverterUnicodeSet , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_getUnicodeSet ( cnv : *const UConverter , setfillin : *mut USet , whichset : UConverterUnicodeSet , perrorcode : *mut UErrorCode ) -> ( ) ); ucnv_getUnicodeSet(cnv, setfillin, whichset, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_isAmbiguous(cnv: *const UConverter) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_isAmbiguous ( cnv : *const UConverter ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_isAmbiguous ( cnv : *const UConverter ) -> i8 ); ucnv_isAmbiguous(cnv) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_isFixedWidth(cnv: *mut UConverter, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_isFixedWidth ( cnv : *mut UConverter , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_isFixedWidth ( cnv : *mut UConverter , status : *mut UErrorCode ) -> i8 ); ucnv_isFixedWidth(cnv, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3726,19 +3726,19 @@ pub unsafe fn ucnv_open(convertername: P0, err: *mut UErrorCode) -> *mut UCo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_open ( convertername : :: windows::core::PCSTR , err : *mut UErrorCode ) -> *mut UConverter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_open ( convertername : :: windows::core::PCSTR , err : *mut UErrorCode ) -> *mut UConverter ); ucnv_open(convertername.into().abi(), err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_openAllNames(perrorcode: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_openAllNames ( perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_openAllNames ( perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); ucnv_openAllNames(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_openCCSID(codepage: i32, platform: UConverterPlatform, err: *mut UErrorCode) -> *mut UConverter { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_openCCSID ( codepage : i32 , platform : UConverterPlatform , err : *mut UErrorCode ) -> *mut UConverter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_openCCSID ( codepage : i32 , platform : UConverterPlatform , err : *mut UErrorCode ) -> *mut UConverter ); ucnv_openCCSID(codepage, platform, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3748,7 +3748,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_openPackage ( packagename : :: windows::core::PCSTR , convertername : :: windows::core::PCSTR , err : *mut UErrorCode ) -> *mut UConverter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_openPackage ( packagename : :: windows::core::PCSTR , convertername : :: windows::core::PCSTR , err : *mut UErrorCode ) -> *mut UConverter ); ucnv_openPackage(packagename.into().abi(), convertername.into().abi(), err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3758,37 +3758,37 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_openStandardNames ( convname : :: windows::core::PCSTR , standard : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_openStandardNames ( convname : :: windows::core::PCSTR , standard : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); ucnv_openStandardNames(convname.into().abi(), standard.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_openU(name: *const u16, err: *mut UErrorCode) -> *mut UConverter { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_openU ( name : *const u16 , err : *mut UErrorCode ) -> *mut UConverter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_openU ( name : *const u16 , err : *mut UErrorCode ) -> *mut UConverter ); ucnv_openU(name, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_reset(converter: *mut UConverter) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_reset ( converter : *mut UConverter ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_reset ( converter : *mut UConverter ) -> ( ) ); ucnv_reset(converter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_resetFromUnicode(converter: *mut UConverter) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_resetFromUnicode ( converter : *mut UConverter ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_resetFromUnicode ( converter : *mut UConverter ) -> ( ) ); ucnv_resetFromUnicode(converter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_resetToUnicode(converter: *mut UConverter) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_resetToUnicode ( converter : *mut UConverter ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_resetToUnicode ( converter : *mut UConverter ) -> ( ) ); ucnv_resetToUnicode(converter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_safeClone(cnv: *const UConverter, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UConverter { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_safeClone ( cnv : *const UConverter , stackbuffer : *mut ::core::ffi::c_void , pbuffersize : *mut i32 , status : *mut UErrorCode ) -> *mut UConverter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_safeClone ( cnv : *const UConverter , stackbuffer : *mut ::core::ffi::c_void , pbuffersize : *mut i32 , status : *mut UErrorCode ) -> *mut UConverter ); ucnv_safeClone(cnv, stackbuffer, pbuffersize, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3797,19 +3797,19 @@ pub unsafe fn ucnv_setDefaultName(name: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_setDefaultName ( name : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_setDefaultName ( name : :: windows::core::PCSTR ) -> ( ) ); ucnv_setDefaultName(name.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_setFallback(cnv: *mut UConverter, usesfallback: i8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_setFallback ( cnv : *mut UConverter , usesfallback : i8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_setFallback ( cnv : *mut UConverter , usesfallback : i8 ) -> ( ) ); ucnv_setFallback(cnv, usesfallback) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_setFromUCallBack(converter: *mut UConverter, newaction: UConverterFromUCallback, newcontext: *const ::core::ffi::c_void, oldaction: *mut UConverterFromUCallback, oldcontext: *const *const ::core::ffi::c_void, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_setFromUCallBack ( converter : *mut UConverter , newaction : UConverterFromUCallback , newcontext : *const ::core::ffi::c_void , oldaction : *mut UConverterFromUCallback , oldcontext : *const *const ::core::ffi::c_void , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_setFromUCallBack ( converter : *mut UConverter , newaction : UConverterFromUCallback , newcontext : *const ::core::ffi::c_void , oldaction : *mut UConverterFromUCallback , oldcontext : *const *const ::core::ffi::c_void , err : *mut UErrorCode ) -> ( ) ); ucnv_setFromUCallBack(converter, newaction, newcontext, oldaction, oldcontext, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3818,19 +3818,19 @@ pub unsafe fn ucnv_setSubstChars(converter: *mut UConverter, subchars: P0, l where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_setSubstChars ( converter : *mut UConverter , subchars : :: windows::core::PCSTR , len : i8 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_setSubstChars ( converter : *mut UConverter , subchars : :: windows::core::PCSTR , len : i8 , err : *mut UErrorCode ) -> ( ) ); ucnv_setSubstChars(converter, subchars.into().abi(), len, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_setSubstString(cnv: *mut UConverter, s: *const u16, length: i32, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_setSubstString ( cnv : *mut UConverter , s : *const u16 , length : i32 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_setSubstString ( cnv : *mut UConverter , s : *const u16 , length : i32 , err : *mut UErrorCode ) -> ( ) ); ucnv_setSubstString(cnv, s, length, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_setToUCallBack(converter: *mut UConverter, newaction: UConverterToUCallback, newcontext: *const ::core::ffi::c_void, oldaction: *mut UConverterToUCallback, oldcontext: *const *const ::core::ffi::c_void, err: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_setToUCallBack ( converter : *mut UConverter , newaction : UConverterToUCallback , newcontext : *const ::core::ffi::c_void , oldaction : *mut UConverterToUCallback , oldcontext : *const *const ::core::ffi::c_void , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_setToUCallBack ( converter : *mut UConverter , newaction : UConverterToUCallback , newcontext : *const ::core::ffi::c_void , oldaction : *mut UConverterToUCallback , oldcontext : *const *const ::core::ffi::c_void , err : *mut UErrorCode ) -> ( ) ); ucnv_setToUCallBack(converter, newaction, newcontext, oldaction, oldcontext, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3840,7 +3840,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_toAlgorithmic ( algorithmictype : UConverterType , cnv : *mut UConverter , target : :: windows::core::PCSTR , targetcapacity : i32 , source : :: windows::core::PCSTR , sourcelength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_toAlgorithmic ( algorithmictype : UConverterType , cnv : *mut UConverter , target : :: windows::core::PCSTR , targetcapacity : i32 , source : :: windows::core::PCSTR , sourcelength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucnv_toAlgorithmic(algorithmictype, cnv, target.into().abi(), targetcapacity, source.into().abi(), sourcelength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3849,13 +3849,13 @@ pub unsafe fn ucnv_toUChars(cnv: *mut UConverter, dest: *mut u16, destcapaci where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_toUChars ( cnv : *mut UConverter , dest : *mut u16 , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_toUChars ( cnv : *mut UConverter , dest : *mut u16 , destcapacity : i32 , src : :: windows::core::PCSTR , srclength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucnv_toUChars(cnv, dest, destcapacity, src.into().abi(), srclength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_toUCountPending(cnv: *const UConverter, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_toUCountPending ( cnv : *const UConverter , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_toUCountPending ( cnv : *const UConverter , status : *mut UErrorCode ) -> i32 ); ucnv_toUCountPending(cnv, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3864,37 +3864,37 @@ pub unsafe fn ucnv_toUnicode(converter: *mut UConverter, target: *mut *mut u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_toUnicode ( converter : *mut UConverter , target : *mut *mut u16 , targetlimit : *const u16 , source : *const *const i8 , sourcelimit : :: windows::core::PCSTR , offsets : *mut i32 , flush : i8 , err : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_toUnicode ( converter : *mut UConverter , target : *mut *mut u16 , targetlimit : *const u16 , source : *const *const i8 , sourcelimit : :: windows::core::PCSTR , offsets : *mut i32 , flush : i8 , err : *mut UErrorCode ) -> ( ) ); ucnv_toUnicode(converter, target, targetlimit, source, sourcelimit.into().abi(), offsets, flush, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnv_usesFallback(cnv: *const UConverter) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnv_usesFallback ( cnv : *const UConverter ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnv_usesFallback ( cnv : *const UConverter ) -> i8 ); ucnv_usesFallback(cnv) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnvsel_close(sel: *mut UConverterSelector) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnvsel_close ( sel : *mut UConverterSelector ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnvsel_close ( sel : *mut UConverterSelector ) -> ( ) ); ucnvsel_close(sel) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnvsel_open(converterlist: *const *const i8, converterlistsize: i32, excludedcodepoints: *const USet, whichset: UConverterUnicodeSet, status: *mut UErrorCode) -> *mut UConverterSelector { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnvsel_open ( converterlist : *const *const i8 , converterlistsize : i32 , excludedcodepoints : *const USet , whichset : UConverterUnicodeSet , status : *mut UErrorCode ) -> *mut UConverterSelector ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnvsel_open ( converterlist : *const *const i8 , converterlistsize : i32 , excludedcodepoints : *const USet , whichset : UConverterUnicodeSet , status : *mut UErrorCode ) -> *mut UConverterSelector ); ucnvsel_open(converterlist, converterlistsize, excludedcodepoints, whichset, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnvsel_openFromSerialized(buffer: *const ::core::ffi::c_void, length: i32, status: *mut UErrorCode) -> *mut UConverterSelector { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnvsel_openFromSerialized ( buffer : *const ::core::ffi::c_void , length : i32 , status : *mut UErrorCode ) -> *mut UConverterSelector ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnvsel_openFromSerialized ( buffer : *const ::core::ffi::c_void , length : i32 , status : *mut UErrorCode ) -> *mut UConverterSelector ); ucnvsel_openFromSerialized(buffer, length, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnvsel_selectForString(sel: *const UConverterSelector, s: *const u16, length: i32, status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnvsel_selectForString ( sel : *const UConverterSelector , s : *const u16 , length : i32 , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnvsel_selectForString ( sel : *const UConverterSelector , s : *const u16 , length : i32 , status : *mut UErrorCode ) -> *mut UEnumeration ); ucnvsel_selectForString(sel, s, length, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3903,67 +3903,67 @@ pub unsafe fn ucnvsel_selectForUTF8(sel: *const UConverterSelector, s: P0, l where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnvsel_selectForUTF8 ( sel : *const UConverterSelector , s : :: windows::core::PCSTR , length : i32 , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnvsel_selectForUTF8 ( sel : *const UConverterSelector , s : :: windows::core::PCSTR , length : i32 , status : *mut UErrorCode ) -> *mut UEnumeration ); ucnvsel_selectForUTF8(sel, s.into().abi(), length, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucnvsel_serialize(sel: *const UConverterSelector, buffer: *mut ::core::ffi::c_void, buffercapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucnvsel_serialize ( sel : *const UConverterSelector , buffer : *mut ::core::ffi::c_void , buffercapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucnvsel_serialize ( sel : *const UConverterSelector , buffer : *mut ::core::ffi::c_void , buffercapacity : i32 , status : *mut UErrorCode ) -> i32 ); ucnvsel_serialize(sel, buffer, buffercapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_cloneBinary(coll: *const UCollator, buffer: *mut u8, capacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_cloneBinary ( coll : *const UCollator , buffer : *mut u8 , capacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_cloneBinary ( coll : *const UCollator , buffer : *mut u8 , capacity : i32 , status : *mut UErrorCode ) -> i32 ); ucol_cloneBinary(coll, buffer, capacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_close(coll: *mut UCollator) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_close ( coll : *mut UCollator ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_close ( coll : *mut UCollator ) -> ( ) ); ucol_close(coll) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_closeElements(elems: *mut UCollationElements) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_closeElements ( elems : *mut UCollationElements ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_closeElements ( elems : *mut UCollationElements ) -> ( ) ); ucol_closeElements(elems) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_countAvailable() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_countAvailable ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_countAvailable ( ) -> i32 ); ucol_countAvailable() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_equal(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_equal ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , target : *const u16 , targetlength : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_equal ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , target : *const u16 , targetlength : i32 ) -> i8 ); ucol_equal(coll, source, sourcelength, target, targetlength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getAttribute(coll: *const UCollator, attr: UColAttribute, status: *mut UErrorCode) -> UColAttributeValue { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getAttribute ( coll : *const UCollator , attr : UColAttribute , status : *mut UErrorCode ) -> UColAttributeValue ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getAttribute ( coll : *const UCollator , attr : UColAttribute , status : *mut UErrorCode ) -> UColAttributeValue ); ucol_getAttribute(coll, attr, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getAvailable(localeindex: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getAvailable ( localeindex : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getAvailable ( localeindex : i32 ) -> :: windows::core::PSTR ); ucol_getAvailable(localeindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getBound(source: *const u8, sourcelength: i32, boundtype: UColBoundMode, nooflevels: u32, result: *mut u8, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getBound ( source : *const u8 , sourcelength : i32 , boundtype : UColBoundMode , nooflevels : u32 , result : *mut u8 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getBound ( source : *const u8 , sourcelength : i32 , boundtype : UColBoundMode , nooflevels : u32 , result : *mut u8 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); ucol_getBound(source, sourcelength, boundtype, nooflevels, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getContractionsAndExpansions(coll: *const UCollator, contractions: *mut USet, expansions: *mut USet, addprefixes: i8, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getContractionsAndExpansions ( coll : *const UCollator , contractions : *mut USet , expansions : *mut USet , addprefixes : i8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getContractionsAndExpansions ( coll : *const UCollator , contractions : *mut USet , expansions : *mut USet , addprefixes : i8 , status : *mut UErrorCode ) -> ( ) ); ucol_getContractionsAndExpansions(coll, contractions, expansions, addprefixes, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3973,13 +3973,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getDisplayName ( objloc : :: windows::core::PCSTR , disploc : :: windows::core::PCSTR , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getDisplayName ( objloc : :: windows::core::PCSTR , disploc : :: windows::core::PCSTR , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); ucol_getDisplayName(objloc.into().abi(), disploc.into().abi(), result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getEquivalentReorderCodes(reordercode: i32, dest: *mut i32, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getEquivalentReorderCodes ( reordercode : i32 , dest : *mut i32 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getEquivalentReorderCodes ( reordercode : i32 , dest : *mut i32 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucol_getEquivalentReorderCodes(reordercode, dest, destcapacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3990,7 +3990,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getFunctionalEquivalent ( result : :: windows::core::PCSTR , resultcapacity : i32 , keyword : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , isavailable : *mut i8 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getFunctionalEquivalent ( result : :: windows::core::PCSTR , resultcapacity : i32 , keyword : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , isavailable : *mut i8 , status : *mut UErrorCode ) -> i32 ); ucol_getFunctionalEquivalent(result.into().abi(), resultcapacity, keyword.into().abi(), locale.into().abi(), isavailable, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -3999,7 +3999,7 @@ pub unsafe fn ucol_getKeywordValues(keyword: P0, status: *mut UErrorCode) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getKeywordValues ( keyword : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getKeywordValues ( keyword : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UEnumeration ); ucol_getKeywordValues(keyword.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4009,127 +4009,127 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getKeywordValuesForLocale ( key : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , commonlyused : i8 , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getKeywordValuesForLocale ( key : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , commonlyused : i8 , status : *mut UErrorCode ) -> *mut UEnumeration ); ucol_getKeywordValuesForLocale(key.into().abi(), locale.into().abi(), commonlyused, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getKeywords(status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getKeywords ( status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getKeywords ( status : *mut UErrorCode ) -> *mut UEnumeration ); ucol_getKeywords(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getLocaleByType(coll: *const UCollator, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getLocaleByType ( coll : *const UCollator , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getLocaleByType ( coll : *const UCollator , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ucol_getLocaleByType(coll, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getMaxExpansion(elems: *const UCollationElements, order: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getMaxExpansion ( elems : *const UCollationElements , order : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getMaxExpansion ( elems : *const UCollationElements , order : i32 ) -> i32 ); ucol_getMaxExpansion(elems, order) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getMaxVariable(coll: *const UCollator) -> UColReorderCode { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getMaxVariable ( coll : *const UCollator ) -> UColReorderCode ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getMaxVariable ( coll : *const UCollator ) -> UColReorderCode ); ucol_getMaxVariable(coll) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getOffset(elems: *const UCollationElements) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getOffset ( elems : *const UCollationElements ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getOffset ( elems : *const UCollationElements ) -> i32 ); ucol_getOffset(elems) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getReorderCodes(coll: *const UCollator, dest: *mut i32, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getReorderCodes ( coll : *const UCollator , dest : *mut i32 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getReorderCodes ( coll : *const UCollator , dest : *mut i32 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucol_getReorderCodes(coll, dest, destcapacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getRules(coll: *const UCollator, length: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getRules ( coll : *const UCollator , length : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getRules ( coll : *const UCollator , length : *mut i32 ) -> *mut u16 ); ucol_getRules(coll, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getRulesEx(coll: *const UCollator, delta: UColRuleOption, buffer: *mut u16, bufferlen: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getRulesEx ( coll : *const UCollator , delta : UColRuleOption , buffer : *mut u16 , bufferlen : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getRulesEx ( coll : *const UCollator , delta : UColRuleOption , buffer : *mut u16 , bufferlen : i32 ) -> i32 ); ucol_getRulesEx(coll, delta, buffer, bufferlen) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getSortKey(coll: *const UCollator, source: *const u16, sourcelength: i32, result: *mut u8, resultlength: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getSortKey ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , result : *mut u8 , resultlength : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getSortKey ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , result : *mut u8 , resultlength : i32 ) -> i32 ); ucol_getSortKey(coll, source, sourcelength, result, resultlength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getStrength(coll: *const UCollator) -> UColAttributeValue { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getStrength ( coll : *const UCollator ) -> UColAttributeValue ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getStrength ( coll : *const UCollator ) -> UColAttributeValue ); ucol_getStrength(coll) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getTailoredSet(coll: *const UCollator, status: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getTailoredSet ( coll : *const UCollator , status : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getTailoredSet ( coll : *const UCollator , status : *mut UErrorCode ) -> *mut USet ); ucol_getTailoredSet(coll, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getUCAVersion(coll: *const UCollator, info: *mut u8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getUCAVersion ( coll : *const UCollator , info : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getUCAVersion ( coll : *const UCollator , info : *mut u8 ) -> ( ) ); ucol_getUCAVersion(coll, info) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getVariableTop(coll: *const UCollator, status: *mut UErrorCode) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getVariableTop ( coll : *const UCollator , status : *mut UErrorCode ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getVariableTop ( coll : *const UCollator , status : *mut UErrorCode ) -> u32 ); ucol_getVariableTop(coll, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_getVersion(coll: *const UCollator, info: *mut u8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_getVersion ( coll : *const UCollator , info : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_getVersion ( coll : *const UCollator , info : *mut u8 ) -> ( ) ); ucol_getVersion(coll, info) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_greater(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_greater ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , target : *const u16 , targetlength : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_greater ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , target : *const u16 , targetlength : i32 ) -> i8 ); ucol_greater(coll, source, sourcelength, target, targetlength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_greaterOrEqual(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_greaterOrEqual ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , target : *const u16 , targetlength : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_greaterOrEqual ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , target : *const u16 , targetlength : i32 ) -> i8 ); ucol_greaterOrEqual(coll, source, sourcelength, target, targetlength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_keyHashCode(key: *const u8, length: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_keyHashCode ( key : *const u8 , length : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_keyHashCode ( key : *const u8 , length : i32 ) -> i32 ); ucol_keyHashCode(key, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_mergeSortkeys(src1: *const u8, src1length: i32, src2: *const u8, src2length: i32, dest: *mut u8, destcapacity: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_mergeSortkeys ( src1 : *const u8 , src1length : i32 , src2 : *const u8 , src2length : i32 , dest : *mut u8 , destcapacity : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_mergeSortkeys ( src1 : *const u8 , src1length : i32 , src2 : *const u8 , src2length : i32 , dest : *mut u8 , destcapacity : i32 ) -> i32 ); ucol_mergeSortkeys(src1, src1length, src2, src2length, dest, destcapacity) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_next(elems: *mut UCollationElements, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_next ( elems : *mut UCollationElements , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_next ( elems : *mut UCollationElements , status : *mut UErrorCode ) -> i32 ); ucol_next(elems, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_nextSortKeyPart(coll: *const UCollator, iter: *mut UCharIterator, state: *mut u32, dest: *mut u8, count: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_nextSortKeyPart ( coll : *const UCollator , iter : *mut UCharIterator , state : *mut u32 , dest : *mut u8 , count : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_nextSortKeyPart ( coll : *const UCollator , iter : *mut UCharIterator , state : *mut u32 , dest : *mut u8 , count : i32 , status : *mut UErrorCode ) -> i32 ); ucol_nextSortKeyPart(coll, iter, state, dest, count, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4138,109 +4138,109 @@ pub unsafe fn ucol_open(loc: P0, status: *mut UErrorCode) -> *mut UCollator where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_open ( loc : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UCollator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_open ( loc : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UCollator ); ucol_open(loc.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_openAvailableLocales(status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_openAvailableLocales ( status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_openAvailableLocales ( status : *mut UErrorCode ) -> *mut UEnumeration ); ucol_openAvailableLocales(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_openBinary(bin: *const u8, length: i32, base: *const UCollator, status: *mut UErrorCode) -> *mut UCollator { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_openBinary ( bin : *const u8 , length : i32 , base : *const UCollator , status : *mut UErrorCode ) -> *mut UCollator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_openBinary ( bin : *const u8 , length : i32 , base : *const UCollator , status : *mut UErrorCode ) -> *mut UCollator ); ucol_openBinary(bin, length, base, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_openElements(coll: *const UCollator, text: *const u16, textlength: i32, status: *mut UErrorCode) -> *mut UCollationElements { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_openElements ( coll : *const UCollator , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> *mut UCollationElements ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_openElements ( coll : *const UCollator , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> *mut UCollationElements ); ucol_openElements(coll, text, textlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_openRules(rules: *const u16, ruleslength: i32, normalizationmode: UColAttributeValue, strength: UColAttributeValue, parseerror: *mut UParseError, status: *mut UErrorCode) -> *mut UCollator { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_openRules ( rules : *const u16 , ruleslength : i32 , normalizationmode : UColAttributeValue , strength : UColAttributeValue , parseerror : *mut UParseError , status : *mut UErrorCode ) -> *mut UCollator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_openRules ( rules : *const u16 , ruleslength : i32 , normalizationmode : UColAttributeValue , strength : UColAttributeValue , parseerror : *mut UParseError , status : *mut UErrorCode ) -> *mut UCollator ); ucol_openRules(rules, ruleslength, normalizationmode, strength, parseerror, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_previous(elems: *mut UCollationElements, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_previous ( elems : *mut UCollationElements , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_previous ( elems : *mut UCollationElements , status : *mut UErrorCode ) -> i32 ); ucol_previous(elems, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_primaryOrder(order: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_primaryOrder ( order : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_primaryOrder ( order : i32 ) -> i32 ); ucol_primaryOrder(order) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_reset(elems: *mut UCollationElements) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_reset ( elems : *mut UCollationElements ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_reset ( elems : *mut UCollationElements ) -> ( ) ); ucol_reset(elems) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_safeClone(coll: *const UCollator, stackbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut i32, status: *mut UErrorCode) -> *mut UCollator { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_safeClone ( coll : *const UCollator , stackbuffer : *mut ::core::ffi::c_void , pbuffersize : *mut i32 , status : *mut UErrorCode ) -> *mut UCollator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_safeClone ( coll : *const UCollator , stackbuffer : *mut ::core::ffi::c_void , pbuffersize : *mut i32 , status : *mut UErrorCode ) -> *mut UCollator ); ucol_safeClone(coll, stackbuffer, pbuffersize, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_secondaryOrder(order: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_secondaryOrder ( order : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_secondaryOrder ( order : i32 ) -> i32 ); ucol_secondaryOrder(order) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_setAttribute(coll: *mut UCollator, attr: UColAttribute, value: UColAttributeValue, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_setAttribute ( coll : *mut UCollator , attr : UColAttribute , value : UColAttributeValue , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_setAttribute ( coll : *mut UCollator , attr : UColAttribute , value : UColAttributeValue , status : *mut UErrorCode ) -> ( ) ); ucol_setAttribute(coll, attr, value, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_setMaxVariable(coll: *mut UCollator, group: UColReorderCode, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_setMaxVariable ( coll : *mut UCollator , group : UColReorderCode , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_setMaxVariable ( coll : *mut UCollator , group : UColReorderCode , perrorcode : *mut UErrorCode ) -> ( ) ); ucol_setMaxVariable(coll, group, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_setOffset(elems: *mut UCollationElements, offset: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_setOffset ( elems : *mut UCollationElements , offset : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_setOffset ( elems : *mut UCollationElements , offset : i32 , status : *mut UErrorCode ) -> ( ) ); ucol_setOffset(elems, offset, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_setReorderCodes(coll: *mut UCollator, reordercodes: *const i32, reordercodeslength: i32, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_setReorderCodes ( coll : *mut UCollator , reordercodes : *const i32 , reordercodeslength : i32 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_setReorderCodes ( coll : *mut UCollator , reordercodes : *const i32 , reordercodeslength : i32 , perrorcode : *mut UErrorCode ) -> ( ) ); ucol_setReorderCodes(coll, reordercodes, reordercodeslength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_setStrength(coll: *mut UCollator, strength: UColAttributeValue) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_setStrength ( coll : *mut UCollator , strength : UColAttributeValue ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_setStrength ( coll : *mut UCollator , strength : UColAttributeValue ) -> ( ) ); ucol_setStrength(coll, strength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_setText(elems: *mut UCollationElements, text: *const u16, textlength: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_setText ( elems : *mut UCollationElements , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_setText ( elems : *mut UCollationElements , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> ( ) ); ucol_setText(elems, text, textlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_strcoll(coll: *const UCollator, source: *const u16, sourcelength: i32, target: *const u16, targetlength: i32) -> UCollationResult { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_strcoll ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , target : *const u16 , targetlength : i32 ) -> UCollationResult ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_strcoll ( coll : *const UCollator , source : *const u16 , sourcelength : i32 , target : *const u16 , targetlength : i32 ) -> UCollationResult ); ucol_strcoll(coll, source, sourcelength, target, targetlength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_strcollIter(coll: *const UCollator, siter: *mut UCharIterator, titer: *mut UCharIterator, status: *mut UErrorCode) -> UCollationResult { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_strcollIter ( coll : *const UCollator , siter : *mut UCharIterator , titer : *mut UCharIterator , status : *mut UErrorCode ) -> UCollationResult ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_strcollIter ( coll : *const UCollator , siter : *mut UCharIterator , titer : *mut UCharIterator , status : *mut UErrorCode ) -> UCollationResult ); ucol_strcollIter(coll, siter, titer, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4250,151 +4250,151 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_strcollUTF8 ( coll : *const UCollator , source : :: windows::core::PCSTR , sourcelength : i32 , target : :: windows::core::PCSTR , targetlength : i32 , status : *mut UErrorCode ) -> UCollationResult ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_strcollUTF8 ( coll : *const UCollator , source : :: windows::core::PCSTR , sourcelength : i32 , target : :: windows::core::PCSTR , targetlength : i32 , status : *mut UErrorCode ) -> UCollationResult ); ucol_strcollUTF8(coll, source.into().abi(), sourcelength, target.into().abi(), targetlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucol_tertiaryOrder(order: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucol_tertiaryOrder ( order : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucol_tertiaryOrder ( order : i32 ) -> i32 ); ucol_tertiaryOrder(order) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucpmap_get(map: *const UCPMap, c: i32) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucpmap_get ( map : *const UCPMap , c : i32 ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucpmap_get ( map : *const UCPMap , c : i32 ) -> u32 ); ucpmap_get(map, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucpmap_getRange(map: *const UCPMap, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucpmap_getRange ( map : *const UCPMap , start : i32 , option : UCPMapRangeOption , surrogatevalue : u32 , filter : *mut UCPMapValueFilter , context : *const ::core::ffi::c_void , pvalue : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucpmap_getRange ( map : *const UCPMap , start : i32 , option : UCPMapRangeOption , surrogatevalue : u32 , filter : *mut UCPMapValueFilter , context : *const ::core::ffi::c_void , pvalue : *mut u32 ) -> i32 ); ucpmap_getRange(map, start, option, surrogatevalue, filter, context, pvalue) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_close(trie: *mut UCPTrie) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_close ( trie : *mut UCPTrie ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_close ( trie : *mut UCPTrie ) -> ( ) ); ucptrie_close(trie) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_get(trie: *const UCPTrie, c: i32) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_get ( trie : *const UCPTrie , c : i32 ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_get ( trie : *const UCPTrie , c : i32 ) -> u32 ); ucptrie_get(trie, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_getRange(trie: *const UCPTrie, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_getRange ( trie : *const UCPTrie , start : i32 , option : UCPMapRangeOption , surrogatevalue : u32 , filter : *mut UCPMapValueFilter , context : *const ::core::ffi::c_void , pvalue : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_getRange ( trie : *const UCPTrie , start : i32 , option : UCPMapRangeOption , surrogatevalue : u32 , filter : *mut UCPMapValueFilter , context : *const ::core::ffi::c_void , pvalue : *mut u32 ) -> i32 ); ucptrie_getRange(trie, start, option, surrogatevalue, filter, context, pvalue) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_getType(trie: *const UCPTrie) -> UCPTrieType { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_getType ( trie : *const UCPTrie ) -> UCPTrieType ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_getType ( trie : *const UCPTrie ) -> UCPTrieType ); ucptrie_getType(trie) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_getValueWidth(trie: *const UCPTrie) -> UCPTrieValueWidth { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_getValueWidth ( trie : *const UCPTrie ) -> UCPTrieValueWidth ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_getValueWidth ( trie : *const UCPTrie ) -> UCPTrieValueWidth ); ucptrie_getValueWidth(trie) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_internalSmallIndex(trie: *const UCPTrie, c: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_internalSmallIndex ( trie : *const UCPTrie , c : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_internalSmallIndex ( trie : *const UCPTrie , c : i32 ) -> i32 ); ucptrie_internalSmallIndex(trie, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_internalSmallU8Index(trie: *const UCPTrie, lt1: i32, t2: u8, t3: u8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_internalSmallU8Index ( trie : *const UCPTrie , lt1 : i32 , t2 : u8 , t3 : u8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_internalSmallU8Index ( trie : *const UCPTrie , lt1 : i32 , t2 : u8 , t3 : u8 ) -> i32 ); ucptrie_internalSmallU8Index(trie, lt1, t2, t3) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_internalU8PrevIndex(trie: *const UCPTrie, c: i32, start: *const u8, src: *const u8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_internalU8PrevIndex ( trie : *const UCPTrie , c : i32 , start : *const u8 , src : *const u8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_internalU8PrevIndex ( trie : *const UCPTrie , c : i32 , start : *const u8 , src : *const u8 ) -> i32 ); ucptrie_internalU8PrevIndex(trie, c, start, src) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_openFromBinary(r#type: UCPTrieType, valuewidth: UCPTrieValueWidth, data: *const ::core::ffi::c_void, length: i32, pactuallength: *mut i32, perrorcode: *mut UErrorCode) -> *mut UCPTrie { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_openFromBinary ( r#type : UCPTrieType , valuewidth : UCPTrieValueWidth , data : *const ::core::ffi::c_void , length : i32 , pactuallength : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut UCPTrie ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_openFromBinary ( r#type : UCPTrieType , valuewidth : UCPTrieValueWidth , data : *const ::core::ffi::c_void , length : i32 , pactuallength : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut UCPTrie ); ucptrie_openFromBinary(r#type, valuewidth, data, length, pactuallength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucptrie_toBinary(trie: *const UCPTrie, data: *mut ::core::ffi::c_void, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucptrie_toBinary ( trie : *const UCPTrie , data : *mut ::core::ffi::c_void , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucptrie_toBinary ( trie : *const UCPTrie , data : *mut ::core::ffi::c_void , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); ucptrie_toBinary(trie, data, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_close(ucsd: *mut UCharsetDetector) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_close ( ucsd : *mut UCharsetDetector ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_close ( ucsd : *mut UCharsetDetector ) -> ( ) ); ucsdet_close(ucsd) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_detect(ucsd: *mut UCharsetDetector, status: *mut UErrorCode) -> *mut UCharsetMatch { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_detect ( ucsd : *mut UCharsetDetector , status : *mut UErrorCode ) -> *mut UCharsetMatch ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_detect ( ucsd : *mut UCharsetDetector , status : *mut UErrorCode ) -> *mut UCharsetMatch ); ucsdet_detect(ucsd, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_detectAll(ucsd: *mut UCharsetDetector, matchesfound: *mut i32, status: *mut UErrorCode) -> *mut *mut UCharsetMatch { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_detectAll ( ucsd : *mut UCharsetDetector , matchesfound : *mut i32 , status : *mut UErrorCode ) -> *mut *mut UCharsetMatch ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_detectAll ( ucsd : *mut UCharsetDetector , matchesfound : *mut i32 , status : *mut UErrorCode ) -> *mut *mut UCharsetMatch ); ucsdet_detectAll(ucsd, matchesfound, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_enableInputFilter(ucsd: *mut UCharsetDetector, filter: i8) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_enableInputFilter ( ucsd : *mut UCharsetDetector , filter : i8 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_enableInputFilter ( ucsd : *mut UCharsetDetector , filter : i8 ) -> i8 ); ucsdet_enableInputFilter(ucsd, filter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_getAllDetectableCharsets(ucsd: *const UCharsetDetector, status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_getAllDetectableCharsets ( ucsd : *const UCharsetDetector , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_getAllDetectableCharsets ( ucsd : *const UCharsetDetector , status : *mut UErrorCode ) -> *mut UEnumeration ); ucsdet_getAllDetectableCharsets(ucsd, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_getConfidence(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_getConfidence ( ucsm : *const UCharsetMatch , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_getConfidence ( ucsm : *const UCharsetMatch , status : *mut UErrorCode ) -> i32 ); ucsdet_getConfidence(ucsm, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_getLanguage(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_getLanguage ( ucsm : *const UCharsetMatch , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_getLanguage ( ucsm : *const UCharsetMatch , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ucsdet_getLanguage(ucsm, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_getName(ucsm: *const UCharsetMatch, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_getName ( ucsm : *const UCharsetMatch , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_getName ( ucsm : *const UCharsetMatch , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ucsdet_getName(ucsm, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_getUChars(ucsm: *const UCharsetMatch, buf: *mut u16, cap: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_getUChars ( ucsm : *const UCharsetMatch , buf : *mut u16 , cap : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_getUChars ( ucsm : *const UCharsetMatch , buf : *mut u16 , cap : i32 , status : *mut UErrorCode ) -> i32 ); ucsdet_getUChars(ucsm, buf, cap, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_isInputFilterEnabled(ucsd: *const UCharsetDetector) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_isInputFilterEnabled ( ucsd : *const UCharsetDetector ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_isInputFilterEnabled ( ucsd : *const UCharsetDetector ) -> i8 ); ucsdet_isInputFilterEnabled(ucsd) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucsdet_open(status: *mut UErrorCode) -> *mut UCharsetDetector { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_open ( status : *mut UErrorCode ) -> *mut UCharsetDetector ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_open ( status : *mut UErrorCode ) -> *mut UCharsetDetector ); ucsdet_open(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4403,7 +4403,7 @@ pub unsafe fn ucsdet_setDeclaredEncoding(ucsd: *mut UCharsetDetector, encodi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_setDeclaredEncoding ( ucsd : *mut UCharsetDetector , encoding : :: windows::core::PCSTR , length : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_setDeclaredEncoding ( ucsd : *mut UCharsetDetector , encoding : :: windows::core::PCSTR , length : i32 , status : *mut UErrorCode ) -> ( ) ); ucsdet_setDeclaredEncoding(ucsd, encoding.into().abi(), length, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4412,7 +4412,7 @@ pub unsafe fn ucsdet_setText(ucsd: *mut UCharsetDetector, textin: P0, len: i where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucsdet_setText ( ucsd : *mut UCharsetDetector , textin : :: windows::core::PCSTR , len : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucsdet_setText ( ucsd : *mut UCharsetDetector , textin : :: windows::core::PCSTR , len : i32 , status : *mut UErrorCode ) -> ( ) ); ucsdet_setText(ucsd, textin.into().abi(), len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4421,7 +4421,7 @@ pub unsafe fn ucurr_countCurrencies(locale: P0, date: f64, ec: *mut UErrorCo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_countCurrencies ( locale : :: windows::core::PCSTR , date : f64 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_countCurrencies ( locale : :: windows::core::PCSTR , date : f64 , ec : *mut UErrorCode ) -> i32 ); ucurr_countCurrencies(locale.into().abi(), date, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4430,7 +4430,7 @@ pub unsafe fn ucurr_forLocale(locale: P0, buff: *mut u16, buffcapacity: i32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_forLocale ( locale : :: windows::core::PCSTR , buff : *mut u16 , buffcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_forLocale ( locale : :: windows::core::PCSTR , buff : *mut u16 , buffcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); ucurr_forLocale(locale.into().abi(), buff, buffcapacity, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4439,19 +4439,19 @@ pub unsafe fn ucurr_forLocaleAndDate(locale: P0, date: f64, index: i32, buff where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_forLocaleAndDate ( locale : :: windows::core::PCSTR , date : f64 , index : i32 , buff : *mut u16 , buffcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_forLocaleAndDate ( locale : :: windows::core::PCSTR , date : f64 , index : i32 , buff : *mut u16 , buffcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); ucurr_forLocaleAndDate(locale.into().abi(), date, index, buff, buffcapacity, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucurr_getDefaultFractionDigits(currency: *const u16, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_getDefaultFractionDigits ( currency : *const u16 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_getDefaultFractionDigits ( currency : *const u16 , ec : *mut UErrorCode ) -> i32 ); ucurr_getDefaultFractionDigits(currency, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucurr_getDefaultFractionDigitsForUsage(currency: *const u16, usage: UCurrencyUsage, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_getDefaultFractionDigitsForUsage ( currency : *const u16 , usage : UCurrencyUsage , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_getDefaultFractionDigitsForUsage ( currency : *const u16 , usage : UCurrencyUsage , ec : *mut UErrorCode ) -> i32 ); ucurr_getDefaultFractionDigitsForUsage(currency, usage, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4461,7 +4461,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_getKeywordValuesForLocale ( key : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , commonlyused : i8 , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_getKeywordValuesForLocale ( key : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , commonlyused : i8 , status : *mut UErrorCode ) -> *mut UEnumeration ); ucurr_getKeywordValuesForLocale(key.into().abi(), locale.into().abi(), commonlyused, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4470,13 +4470,13 @@ pub unsafe fn ucurr_getName(currency: *const u16, locale: P0, namestyle: UCu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_getName ( currency : *const u16 , locale : :: windows::core::PCSTR , namestyle : UCurrNameStyle , ischoiceformat : *mut i8 , len : *mut i32 , ec : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_getName ( currency : *const u16 , locale : :: windows::core::PCSTR , namestyle : UCurrNameStyle , ischoiceformat : *mut i8 , len : *mut i32 , ec : *mut UErrorCode ) -> *mut u16 ); ucurr_getName(currency, locale.into().abi(), namestyle, ischoiceformat, len, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucurr_getNumericCode(currency: *const u16) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_getNumericCode ( currency : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_getNumericCode ( currency : *const u16 ) -> i32 ); ucurr_getNumericCode(currency) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4486,31 +4486,31 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_getPluralName ( currency : *const u16 , locale : :: windows::core::PCSTR , ischoiceformat : *mut i8 , pluralcount : :: windows::core::PCSTR , len : *mut i32 , ec : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_getPluralName ( currency : *const u16 , locale : :: windows::core::PCSTR , ischoiceformat : *mut i8 , pluralcount : :: windows::core::PCSTR , len : *mut i32 , ec : *mut UErrorCode ) -> *mut u16 ); ucurr_getPluralName(currency, locale.into().abi(), ischoiceformat, pluralcount.into().abi(), len, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucurr_getRoundingIncrement(currency: *const u16, ec: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_getRoundingIncrement ( currency : *const u16 , ec : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_getRoundingIncrement ( currency : *const u16 , ec : *mut UErrorCode ) -> f64 ); ucurr_getRoundingIncrement(currency, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucurr_getRoundingIncrementForUsage(currency: *const u16, usage: UCurrencyUsage, ec: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_getRoundingIncrementForUsage ( currency : *const u16 , usage : UCurrencyUsage , ec : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_getRoundingIncrementForUsage ( currency : *const u16 , usage : UCurrencyUsage , ec : *mut UErrorCode ) -> f64 ); ucurr_getRoundingIncrementForUsage(currency, usage, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucurr_isAvailable(isocode: *const u16, from: f64, to: f64, errorcode: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_isAvailable ( isocode : *const u16 , from : f64 , to : f64 , errorcode : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_isAvailable ( isocode : *const u16 , from : f64 , to : f64 , errorcode : *mut UErrorCode ) -> i8 ); ucurr_isAvailable(isocode, from, to, errorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucurr_openISOCurrencies(currtype: u32, perrorcode: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_openISOCurrencies ( currtype : u32 , perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_openISOCurrencies ( currtype : u32 , perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); ucurr_openISOCurrencies(currtype, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4519,139 +4519,139 @@ pub unsafe fn ucurr_register(isocode: *const u16, locale: P0, status: *mut U where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_register ( isocode : *const u16 , locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_register ( isocode : *const u16 , locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut ::core::ffi::c_void ); ucurr_register(isocode, locale.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ucurr_unregister(key: *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ucurr_unregister ( key : *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ucurr_unregister ( key : *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> i8 ); ucurr_unregister(key, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_adoptNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberformattoadopt: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_adoptNumberFormat ( fmt : *mut *mut ::core::ffi::c_void , numberformattoadopt : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_adoptNumberFormat ( fmt : *mut *mut ::core::ffi::c_void , numberformattoadopt : *mut *mut ::core::ffi::c_void ) -> ( ) ); udat_adoptNumberFormat(fmt, numberformattoadopt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_adoptNumberFormatForFields(fmt: *mut *mut ::core::ffi::c_void, fields: *const u16, numberformattoset: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_adoptNumberFormatForFields ( fmt : *mut *mut ::core::ffi::c_void , fields : *const u16 , numberformattoset : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_adoptNumberFormatForFields ( fmt : *mut *mut ::core::ffi::c_void , fields : *const u16 , numberformattoset : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); udat_adoptNumberFormatForFields(fmt, fields, numberformattoset, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_applyPattern(format: *mut *mut ::core::ffi::c_void, localized: i8, pattern: *const u16, patternlength: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_applyPattern ( format : *mut *mut ::core::ffi::c_void , localized : i8 , pattern : *const u16 , patternlength : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_applyPattern ( format : *mut *mut ::core::ffi::c_void , localized : i8 , pattern : *const u16 , patternlength : i32 ) -> ( ) ); udat_applyPattern(format, localized, pattern, patternlength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_clone ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_clone ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); udat_clone(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_close(format: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_close ( format : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_close ( format : *mut *mut ::core::ffi::c_void ) -> ( ) ); udat_close(format) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_countAvailable() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_countAvailable ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_countAvailable ( ) -> i32 ); udat_countAvailable() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_countSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UDateFormatSymbolType) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_countSymbols ( fmt : *const *const ::core::ffi::c_void , r#type : UDateFormatSymbolType ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_countSymbols ( fmt : *const *const ::core::ffi::c_void , r#type : UDateFormatSymbolType ) -> i32 ); udat_countSymbols(fmt, r#type) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_format(format: *const *const ::core::ffi::c_void, datetoformat: f64, result: *mut u16, resultlength: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_format ( format : *const *const ::core::ffi::c_void , datetoformat : f64 , result : *mut u16 , resultlength : i32 , position : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_format ( format : *const *const ::core::ffi::c_void , datetoformat : f64 , result : *mut u16 , resultlength : i32 , position : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); udat_format(format, datetoformat, result, resultlength, position, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_formatCalendar(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, result: *mut u16, capacity: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_formatCalendar ( format : *const *const ::core::ffi::c_void , calendar : *mut *mut ::core::ffi::c_void , result : *mut u16 , capacity : i32 , position : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_formatCalendar ( format : *const *const ::core::ffi::c_void , calendar : *mut *mut ::core::ffi::c_void , result : *mut u16 , capacity : i32 , position : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); udat_formatCalendar(format, calendar, result, capacity, position, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_formatCalendarForFields(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, result: *mut u16, capacity: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_formatCalendarForFields ( format : *const *const ::core::ffi::c_void , calendar : *mut *mut ::core::ffi::c_void , result : *mut u16 , capacity : i32 , fpositer : *mut UFieldPositionIterator , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_formatCalendarForFields ( format : *const *const ::core::ffi::c_void , calendar : *mut *mut ::core::ffi::c_void , result : *mut u16 , capacity : i32 , fpositer : *mut UFieldPositionIterator , status : *mut UErrorCode ) -> i32 ); udat_formatCalendarForFields(format, calendar, result, capacity, fpositer, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_formatForFields(format: *const *const ::core::ffi::c_void, datetoformat: f64, result: *mut u16, resultlength: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_formatForFields ( format : *const *const ::core::ffi::c_void , datetoformat : f64 , result : *mut u16 , resultlength : i32 , fpositer : *mut UFieldPositionIterator , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_formatForFields ( format : *const *const ::core::ffi::c_void , datetoformat : f64 , result : *mut u16 , resultlength : i32 , fpositer : *mut UFieldPositionIterator , status : *mut UErrorCode ) -> i32 ); udat_formatForFields(format, datetoformat, result, resultlength, fpositer, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_get2DigitYearStart(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_get2DigitYearStart ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_get2DigitYearStart ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> f64 ); udat_get2DigitYearStart(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_getAvailable(localeindex: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_getAvailable ( localeindex : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_getAvailable ( localeindex : i32 ) -> :: windows::core::PSTR ); udat_getAvailable(localeindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_getBooleanAttribute(fmt: *const *const ::core::ffi::c_void, attr: UDateFormatBooleanAttribute, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_getBooleanAttribute ( fmt : *const *const ::core::ffi::c_void , attr : UDateFormatBooleanAttribute , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_getBooleanAttribute ( fmt : *const *const ::core::ffi::c_void , attr : UDateFormatBooleanAttribute , status : *mut UErrorCode ) -> i8 ); udat_getBooleanAttribute(fmt, attr, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_getCalendar(fmt: *const *const ::core::ffi::c_void) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_getCalendar ( fmt : *const *const ::core::ffi::c_void ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_getCalendar ( fmt : *const *const ::core::ffi::c_void ) -> *mut *mut ::core::ffi::c_void ); udat_getCalendar(fmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UDisplayContextType, status: *mut UErrorCode) -> UDisplayContext { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_getContext ( fmt : *const *const ::core::ffi::c_void , r#type : UDisplayContextType , status : *mut UErrorCode ) -> UDisplayContext ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_getContext ( fmt : *const *const ::core::ffi::c_void , r#type : UDisplayContextType , status : *mut UErrorCode ) -> UDisplayContext ); udat_getContext(fmt, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_getLocaleByType ( fmt : *const *const ::core::ffi::c_void , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_getLocaleByType ( fmt : *const *const ::core::ffi::c_void , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); udat_getLocaleByType(fmt, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_getNumberFormat(fmt: *const *const ::core::ffi::c_void) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_getNumberFormat ( fmt : *const *const ::core::ffi::c_void ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_getNumberFormat ( fmt : *const *const ::core::ffi::c_void ) -> *mut *mut ::core::ffi::c_void ); udat_getNumberFormat(fmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_getNumberFormatForField(fmt: *const *const ::core::ffi::c_void, field: u16) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_getNumberFormatForField ( fmt : *const *const ::core::ffi::c_void , field : u16 ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_getNumberFormatForField ( fmt : *const *const ::core::ffi::c_void , field : u16 ) -> *mut *mut ::core::ffi::c_void ); udat_getNumberFormatForField(fmt, field) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_getSymbols(fmt: *const *const ::core::ffi::c_void, r#type: UDateFormatSymbolType, symbolindex: i32, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_getSymbols ( fmt : *const *const ::core::ffi::c_void , r#type : UDateFormatSymbolType , symbolindex : i32 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_getSymbols ( fmt : *const *const ::core::ffi::c_void , r#type : UDateFormatSymbolType , symbolindex : i32 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); udat_getSymbols(fmt, r#type, symbolindex, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_isLenient(fmt: *const *const ::core::ffi::c_void) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_isLenient ( fmt : *const *const ::core::ffi::c_void ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_isLenient ( fmt : *const *const ::core::ffi::c_void ) -> i8 ); udat_isLenient(fmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4660,151 +4660,151 @@ pub unsafe fn udat_open(timestyle: UDateFormatStyle, datestyle: UDateFormatS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_open ( timestyle : UDateFormatStyle , datestyle : UDateFormatStyle , locale : :: windows::core::PCSTR , tzid : *const u16 , tzidlength : i32 , pattern : *const u16 , patternlength : i32 , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_open ( timestyle : UDateFormatStyle , datestyle : UDateFormatStyle , locale : :: windows::core::PCSTR , tzid : *const u16 , tzidlength : i32 , pattern : *const u16 , patternlength : i32 , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); udat_open(timestyle, datestyle, locale.into().abi(), tzid, tzidlength, pattern, patternlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_parse(format: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_parse ( format : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_parse ( format : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> f64 ); udat_parse(format, text, textlength, parsepos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_parseCalendar(format: *const *const ::core::ffi::c_void, calendar: *mut *mut ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_parseCalendar ( format : *const *const ::core::ffi::c_void , calendar : *mut *mut ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_parseCalendar ( format : *const *const ::core::ffi::c_void , calendar : *mut *mut ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> ( ) ); udat_parseCalendar(format, calendar, text, textlength, parsepos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_set2DigitYearStart(fmt: *mut *mut ::core::ffi::c_void, d: f64, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_set2DigitYearStart ( fmt : *mut *mut ::core::ffi::c_void , d : f64 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_set2DigitYearStart ( fmt : *mut *mut ::core::ffi::c_void , d : f64 , status : *mut UErrorCode ) -> ( ) ); udat_set2DigitYearStart(fmt, d, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_setBooleanAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UDateFormatBooleanAttribute, newvalue: i8, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_setBooleanAttribute ( fmt : *mut *mut ::core::ffi::c_void , attr : UDateFormatBooleanAttribute , newvalue : i8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_setBooleanAttribute ( fmt : *mut *mut ::core::ffi::c_void , attr : UDateFormatBooleanAttribute , newvalue : i8 , status : *mut UErrorCode ) -> ( ) ); udat_setBooleanAttribute(fmt, attr, newvalue, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_setCalendar(fmt: *mut *mut ::core::ffi::c_void, calendartoset: *const *const ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_setCalendar ( fmt : *mut *mut ::core::ffi::c_void , calendartoset : *const *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_setCalendar ( fmt : *mut *mut ::core::ffi::c_void , calendartoset : *const *const ::core::ffi::c_void ) -> ( ) ); udat_setCalendar(fmt, calendartoset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDisplayContext, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_setContext ( fmt : *mut *mut ::core::ffi::c_void , value : UDisplayContext , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_setContext ( fmt : *mut *mut ::core::ffi::c_void , value : UDisplayContext , status : *mut UErrorCode ) -> ( ) ); udat_setContext(fmt, value, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_setLenient(fmt: *mut *mut ::core::ffi::c_void, islenient: i8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_setLenient ( fmt : *mut *mut ::core::ffi::c_void , islenient : i8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_setLenient ( fmt : *mut *mut ::core::ffi::c_void , islenient : i8 ) -> ( ) ); udat_setLenient(fmt, islenient) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_setNumberFormat(fmt: *mut *mut ::core::ffi::c_void, numberformattoset: *const *const ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_setNumberFormat ( fmt : *mut *mut ::core::ffi::c_void , numberformattoset : *const *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_setNumberFormat ( fmt : *mut *mut ::core::ffi::c_void , numberformattoset : *const *const ::core::ffi::c_void ) -> ( ) ); udat_setNumberFormat(fmt, numberformattoset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_setSymbols(format: *mut *mut ::core::ffi::c_void, r#type: UDateFormatSymbolType, symbolindex: i32, value: *mut u16, valuelength: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_setSymbols ( format : *mut *mut ::core::ffi::c_void , r#type : UDateFormatSymbolType , symbolindex : i32 , value : *mut u16 , valuelength : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_setSymbols ( format : *mut *mut ::core::ffi::c_void , r#type : UDateFormatSymbolType , symbolindex : i32 , value : *mut u16 , valuelength : i32 , status : *mut UErrorCode ) -> ( ) ); udat_setSymbols(format, r#type, symbolindex, value, valuelength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_toCalendarDateField(field: UDateFormatField) -> UCalendarDateFields { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_toCalendarDateField ( field : UDateFormatField ) -> UCalendarDateFields ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_toCalendarDateField ( field : UDateFormatField ) -> UCalendarDateFields ); udat_toCalendarDateField(field) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udat_toPattern(fmt: *const *const ::core::ffi::c_void, localized: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udat_toPattern ( fmt : *const *const ::core::ffi::c_void , localized : i8 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udat_toPattern ( fmt : *const *const ::core::ffi::c_void , localized : i8 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); udat_toPattern(fmt, localized, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_addPattern(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, r#override: i8, conflictingpattern: *mut u16, capacity: i32, plength: *mut i32, perrorcode: *mut UErrorCode) -> UDateTimePatternConflict { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_addPattern ( dtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , patternlength : i32 , r#override : i8 , conflictingpattern : *mut u16 , capacity : i32 , plength : *mut i32 , perrorcode : *mut UErrorCode ) -> UDateTimePatternConflict ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_addPattern ( dtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , patternlength : i32 , r#override : i8 , conflictingpattern : *mut u16 , capacity : i32 , plength : *mut i32 , perrorcode : *mut UErrorCode ) -> UDateTimePatternConflict ); udatpg_addPattern(dtpg, pattern, patternlength, r#override, conflictingpattern, capacity, plength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_clone(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_clone ( dtpg : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_clone ( dtpg : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); udatpg_clone(dtpg, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_close(dtpg: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_close ( dtpg : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_close ( dtpg : *mut *mut ::core::ffi::c_void ) -> ( ) ); udatpg_close(dtpg) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getAppendItemFormat(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, plength: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getAppendItemFormat ( dtpg : *const *const ::core::ffi::c_void , field : UDateTimePatternField , plength : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getAppendItemFormat ( dtpg : *const *const ::core::ffi::c_void , field : UDateTimePatternField , plength : *mut i32 ) -> *mut u16 ); udatpg_getAppendItemFormat(dtpg, field, plength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getAppendItemName(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, plength: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getAppendItemName ( dtpg : *const *const ::core::ffi::c_void , field : UDateTimePatternField , plength : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getAppendItemName ( dtpg : *const *const ::core::ffi::c_void , field : UDateTimePatternField , plength : *mut i32 ) -> *mut u16 ); udatpg_getAppendItemName(dtpg, field, plength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getBaseSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, length: i32, baseskeleton: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getBaseSkeleton ( unuseddtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , length : i32 , baseskeleton : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getBaseSkeleton ( unuseddtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , length : i32 , baseskeleton : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); udatpg_getBaseSkeleton(unuseddtpg, pattern, length, baseskeleton, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getBestPattern(dtpg: *mut *mut ::core::ffi::c_void, skeleton: *const u16, length: i32, bestpattern: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getBestPattern ( dtpg : *mut *mut ::core::ffi::c_void , skeleton : *const u16 , length : i32 , bestpattern : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getBestPattern ( dtpg : *mut *mut ::core::ffi::c_void , skeleton : *const u16 , length : i32 , bestpattern : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); udatpg_getBestPattern(dtpg, skeleton, length, bestpattern, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getBestPatternWithOptions(dtpg: *mut *mut ::core::ffi::c_void, skeleton: *const u16, length: i32, options: UDateTimePatternMatchOptions, bestpattern: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getBestPatternWithOptions ( dtpg : *mut *mut ::core::ffi::c_void , skeleton : *const u16 , length : i32 , options : UDateTimePatternMatchOptions , bestpattern : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getBestPatternWithOptions ( dtpg : *mut *mut ::core::ffi::c_void , skeleton : *const u16 , length : i32 , options : UDateTimePatternMatchOptions , bestpattern : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); udatpg_getBestPatternWithOptions(dtpg, skeleton, length, options, bestpattern, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, plength: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getDateTimeFormat ( dtpg : *const *const ::core::ffi::c_void , plength : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getDateTimeFormat ( dtpg : *const *const ::core::ffi::c_void , plength : *mut i32 ) -> *mut u16 ); udatpg_getDateTimeFormat(dtpg, plength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getDecimal(dtpg: *const *const ::core::ffi::c_void, plength: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getDecimal ( dtpg : *const *const ::core::ffi::c_void , plength : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getDecimal ( dtpg : *const *const ::core::ffi::c_void , plength : *mut i32 ) -> *mut u16 ); udatpg_getDecimal(dtpg, plength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getFieldDisplayName(dtpg: *const *const ::core::ffi::c_void, field: UDateTimePatternField, width: UDateTimePGDisplayWidth, fieldname: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getFieldDisplayName ( dtpg : *const *const ::core::ffi::c_void , field : UDateTimePatternField , width : UDateTimePGDisplayWidth , fieldname : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getFieldDisplayName ( dtpg : *const *const ::core::ffi::c_void , field : UDateTimePatternField , width : UDateTimePGDisplayWidth , fieldname : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); udatpg_getFieldDisplayName(dtpg, field, width, fieldname, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getPatternForSkeleton(dtpg: *const *const ::core::ffi::c_void, skeleton: *const u16, skeletonlength: i32, plength: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getPatternForSkeleton ( dtpg : *const *const ::core::ffi::c_void , skeleton : *const u16 , skeletonlength : i32 , plength : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getPatternForSkeleton ( dtpg : *const *const ::core::ffi::c_void , skeleton : *const u16 , skeletonlength : i32 , plength : *mut i32 ) -> *mut u16 ); udatpg_getPatternForSkeleton(dtpg, skeleton, skeletonlength, plength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_getSkeleton(unuseddtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, length: i32, skeleton: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_getSkeleton ( unuseddtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , length : i32 , skeleton : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_getSkeleton ( unuseddtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , length : i32 , skeleton : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); udatpg_getSkeleton(unuseddtpg, pattern, length, skeleton, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4813,79 +4813,79 @@ pub unsafe fn udatpg_open(locale: P0, perrorcode: *mut UErrorCode) -> *mut * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_open ( locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_open ( locale : :: windows::core::PCSTR , perrorcode : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); udatpg_open(locale.into().abi(), perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_openBaseSkeletons(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_openBaseSkeletons ( dtpg : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_openBaseSkeletons ( dtpg : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); udatpg_openBaseSkeletons(dtpg, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_openEmpty(perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_openEmpty ( perrorcode : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_openEmpty ( perrorcode : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); udatpg_openEmpty(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_openSkeletons(dtpg: *const *const ::core::ffi::c_void, perrorcode: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_openSkeletons ( dtpg : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_openSkeletons ( dtpg : *const *const ::core::ffi::c_void , perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); udatpg_openSkeletons(dtpg, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_replaceFieldTypes(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, skeleton: *const u16, skeletonlength: i32, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_replaceFieldTypes ( dtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , patternlength : i32 , skeleton : *const u16 , skeletonlength : i32 , dest : *mut u16 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_replaceFieldTypes ( dtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , patternlength : i32 , skeleton : *const u16 , skeletonlength : i32 , dest : *mut u16 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); udatpg_replaceFieldTypes(dtpg, pattern, patternlength, skeleton, skeletonlength, dest, destcapacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_replaceFieldTypesWithOptions(dtpg: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, skeleton: *const u16, skeletonlength: i32, options: UDateTimePatternMatchOptions, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_replaceFieldTypesWithOptions ( dtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , patternlength : i32 , skeleton : *const u16 , skeletonlength : i32 , options : UDateTimePatternMatchOptions , dest : *mut u16 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_replaceFieldTypesWithOptions ( dtpg : *mut *mut ::core::ffi::c_void , pattern : *const u16 , patternlength : i32 , skeleton : *const u16 , skeletonlength : i32 , options : UDateTimePatternMatchOptions , dest : *mut u16 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); udatpg_replaceFieldTypesWithOptions(dtpg, pattern, patternlength, skeleton, skeletonlength, options, dest, destcapacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_setAppendItemFormat(dtpg: *mut *mut ::core::ffi::c_void, field: UDateTimePatternField, value: *const u16, length: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_setAppendItemFormat ( dtpg : *mut *mut ::core::ffi::c_void , field : UDateTimePatternField , value : *const u16 , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_setAppendItemFormat ( dtpg : *mut *mut ::core::ffi::c_void , field : UDateTimePatternField , value : *const u16 , length : i32 ) -> ( ) ); udatpg_setAppendItemFormat(dtpg, field, value, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_setAppendItemName(dtpg: *mut *mut ::core::ffi::c_void, field: UDateTimePatternField, value: *const u16, length: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_setAppendItemName ( dtpg : *mut *mut ::core::ffi::c_void , field : UDateTimePatternField , value : *const u16 , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_setAppendItemName ( dtpg : *mut *mut ::core::ffi::c_void , field : UDateTimePatternField , value : *const u16 , length : i32 ) -> ( ) ); udatpg_setAppendItemName(dtpg, field, value, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_setDateTimeFormat(dtpg: *const *const ::core::ffi::c_void, dtformat: *const u16, length: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_setDateTimeFormat ( dtpg : *const *const ::core::ffi::c_void , dtformat : *const u16 , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_setDateTimeFormat ( dtpg : *const *const ::core::ffi::c_void , dtformat : *const u16 , length : i32 ) -> ( ) ); udatpg_setDateTimeFormat(dtpg, dtformat, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udatpg_setDecimal(dtpg: *mut *mut ::core::ffi::c_void, decimal: *const u16, length: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udatpg_setDecimal ( dtpg : *mut *mut ::core::ffi::c_void , decimal : *const u16 , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udatpg_setDecimal ( dtpg : *mut *mut ::core::ffi::c_void , decimal : *const u16 , length : i32 ) -> ( ) ); udatpg_setDecimal(dtpg, decimal, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udtitvfmt_close(formatter: *mut UDateIntervalFormat) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udtitvfmt_close ( formatter : *mut UDateIntervalFormat ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udtitvfmt_close ( formatter : *mut UDateIntervalFormat ) -> ( ) ); udtitvfmt_close(formatter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udtitvfmt_closeResult(uresult: *mut UFormattedDateInterval) { - ::windows::core::link ! ( "icu.dll""cdecl" fn udtitvfmt_closeResult ( uresult : *mut UFormattedDateInterval ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udtitvfmt_closeResult ( uresult : *mut UFormattedDateInterval ) -> ( ) ); udtitvfmt_closeResult(uresult) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udtitvfmt_format(formatter: *const UDateIntervalFormat, fromdate: f64, todate: f64, result: *mut u16, resultcapacity: i32, position: *mut UFieldPosition, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn udtitvfmt_format ( formatter : *const UDateIntervalFormat , fromdate : f64 , todate : f64 , result : *mut u16 , resultcapacity : i32 , position : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udtitvfmt_format ( formatter : *const UDateIntervalFormat , fromdate : f64 , todate : f64 , result : *mut u16 , resultcapacity : i32 , position : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); udtitvfmt_format(formatter, fromdate, todate, result, resultcapacity, position, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -4894,169 +4894,169 @@ pub unsafe fn udtitvfmt_open(locale: P0, skeleton: *const u16, skeletonlengt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn udtitvfmt_open ( locale : :: windows::core::PCSTR , skeleton : *const u16 , skeletonlength : i32 , tzid : *const u16 , tzidlength : i32 , status : *mut UErrorCode ) -> *mut UDateIntervalFormat ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udtitvfmt_open ( locale : :: windows::core::PCSTR , skeleton : *const u16 , skeletonlength : i32 , tzid : *const u16 , tzidlength : i32 , status : *mut UErrorCode ) -> *mut UDateIntervalFormat ); udtitvfmt_open(locale.into().abi(), skeleton, skeletonlength, tzid, tzidlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udtitvfmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedDateInterval { - ::windows::core::link ! ( "icu.dll""cdecl" fn udtitvfmt_openResult ( ec : *mut UErrorCode ) -> *mut UFormattedDateInterval ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udtitvfmt_openResult ( ec : *mut UErrorCode ) -> *mut UFormattedDateInterval ); udtitvfmt_openResult(ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn udtitvfmt_resultAsValue(uresult: *const UFormattedDateInterval, ec: *mut UErrorCode) -> *mut UFormattedValue { - ::windows::core::link ! ( "icu.dll""cdecl" fn udtitvfmt_resultAsValue ( uresult : *const UFormattedDateInterval , ec : *mut UErrorCode ) -> *mut UFormattedValue ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn udtitvfmt_resultAsValue ( uresult : *const UFormattedDateInterval , ec : *mut UErrorCode ) -> *mut UFormattedValue ); udtitvfmt_resultAsValue(uresult, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uenum_close(en: *mut UEnumeration) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uenum_close ( en : *mut UEnumeration ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uenum_close ( en : *mut UEnumeration ) -> ( ) ); uenum_close(en) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uenum_count(en: *mut UEnumeration, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uenum_count ( en : *mut UEnumeration , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uenum_count ( en : *mut UEnumeration , status : *mut UErrorCode ) -> i32 ); uenum_count(en, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uenum_next(en: *mut UEnumeration, resultlength: *mut i32, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn uenum_next ( en : *mut UEnumeration , resultlength : *mut i32 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uenum_next ( en : *mut UEnumeration , resultlength : *mut i32 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); uenum_next(en, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uenum_openCharStringsEnumeration(strings: *const *const i8, count: i32, ec: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn uenum_openCharStringsEnumeration ( strings : *const *const i8 , count : i32 , ec : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uenum_openCharStringsEnumeration ( strings : *const *const i8 , count : i32 , ec : *mut UErrorCode ) -> *mut UEnumeration ); uenum_openCharStringsEnumeration(strings, count, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uenum_openUCharStringsEnumeration(strings: *const *const u16, count: i32, ec: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn uenum_openUCharStringsEnumeration ( strings : *const *const u16 , count : i32 , ec : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uenum_openUCharStringsEnumeration ( strings : *const *const u16 , count : i32 , ec : *mut UErrorCode ) -> *mut UEnumeration ); uenum_openUCharStringsEnumeration(strings, count, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uenum_reset(en: *mut UEnumeration, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uenum_reset ( en : *mut UEnumeration , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uenum_reset ( en : *mut UEnumeration , status : *mut UErrorCode ) -> ( ) ); uenum_reset(en, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uenum_unext(en: *mut UEnumeration, resultlength: *mut i32, status: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uenum_unext ( en : *mut UEnumeration , resultlength : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uenum_unext ( en : *mut UEnumeration , resultlength : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); uenum_unext(en, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufieldpositer_close(fpositer: *mut UFieldPositionIterator) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufieldpositer_close ( fpositer : *mut UFieldPositionIterator ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufieldpositer_close ( fpositer : *mut UFieldPositionIterator ) -> ( ) ); ufieldpositer_close(fpositer) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufieldpositer_next(fpositer: *mut UFieldPositionIterator, beginindex: *mut i32, endindex: *mut i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufieldpositer_next ( fpositer : *mut UFieldPositionIterator , beginindex : *mut i32 , endindex : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufieldpositer_next ( fpositer : *mut UFieldPositionIterator , beginindex : *mut i32 , endindex : *mut i32 ) -> i32 ); ufieldpositer_next(fpositer, beginindex, endindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufieldpositer_open(status: *mut UErrorCode) -> *mut UFieldPositionIterator { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufieldpositer_open ( status : *mut UErrorCode ) -> *mut UFieldPositionIterator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufieldpositer_open ( status : *mut UErrorCode ) -> *mut UFieldPositionIterator ); ufieldpositer_open(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_close(fmt: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_close ( fmt : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_close ( fmt : *mut *mut ::core::ffi::c_void ) -> ( ) ); ufmt_close(fmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getArrayItemByIndex(fmt: *mut *mut ::core::ffi::c_void, n: i32, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getArrayItemByIndex ( fmt : *mut *mut ::core::ffi::c_void , n : i32 , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getArrayItemByIndex ( fmt : *mut *mut ::core::ffi::c_void , n : i32 , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); ufmt_getArrayItemByIndex(fmt, n, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getArrayLength(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getArrayLength ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getArrayLength ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> i32 ); ufmt_getArrayLength(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getDate(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getDate ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getDate ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> f64 ); ufmt_getDate(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getDecNumChars(fmt: *mut *mut ::core::ffi::c_void, len: *mut i32, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getDecNumChars ( fmt : *mut *mut ::core::ffi::c_void , len : *mut i32 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getDecNumChars ( fmt : *mut *mut ::core::ffi::c_void , len : *mut i32 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ufmt_getDecNumChars(fmt, len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getDouble(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getDouble ( fmt : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getDouble ( fmt : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> f64 ); ufmt_getDouble(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getInt64(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getInt64 ( fmt : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getInt64 ( fmt : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> i64 ); ufmt_getInt64(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getLong(fmt: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getLong ( fmt : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getLong ( fmt : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> i32 ); ufmt_getLong(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getObject(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getObject ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getObject ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut ::core::ffi::c_void ); ufmt_getObject(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getType(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> UFormattableType { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getType ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> UFormattableType ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getType ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> UFormattableType ); ufmt_getType(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_getUChars(fmt: *mut *mut ::core::ffi::c_void, len: *mut i32, status: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_getUChars ( fmt : *mut *mut ::core::ffi::c_void , len : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_getUChars ( fmt : *mut *mut ::core::ffi::c_void , len : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); ufmt_getUChars(fmt, len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_isNumeric(fmt: *const *const ::core::ffi::c_void) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_isNumeric ( fmt : *const *const ::core::ffi::c_void ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_isNumeric ( fmt : *const *const ::core::ffi::c_void ) -> i8 ); ufmt_isNumeric(fmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmt_open(status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmt_open ( status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmt_open ( status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); ufmt_open(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmtval_getString(ufmtval: *const UFormattedValue, plength: *mut i32, ec: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmtval_getString ( ufmtval : *const UFormattedValue , plength : *mut i32 , ec : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmtval_getString ( ufmtval : *const UFormattedValue , plength : *mut i32 , ec : *mut UErrorCode ) -> *mut u16 ); ufmtval_getString(ufmtval, plength, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ufmtval_nextPosition(ufmtval: *const UFormattedValue, ucfpos: *mut UConstrainedFieldPosition, ec: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ufmtval_nextPosition ( ufmtval : *const UFormattedValue , ucfpos : *mut UConstrainedFieldPosition , ec : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ufmtval_nextPosition ( ufmtval : *const UFormattedValue , ucfpos : *mut UConstrainedFieldPosition , ec : *mut UErrorCode ) -> i8 ); ufmtval_nextPosition(ufmtval, ucfpos, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5065,25 +5065,25 @@ pub unsafe fn ugender_getInstance(locale: P0, status: *mut UErrorCode) -> *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ugender_getInstance ( locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UGenderInfo ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ugender_getInstance ( locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UGenderInfo ); ugender_getInstance(locale.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ugender_getListGender(genderinfo: *const UGenderInfo, genders: *const UGender, size: i32, status: *mut UErrorCode) -> UGender { - ::windows::core::link ! ( "icu.dll""cdecl" fn ugender_getListGender ( genderinfo : *const UGenderInfo , genders : *const UGender , size : i32 , status : *mut UErrorCode ) -> UGender ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ugender_getListGender ( genderinfo : *const UGenderInfo , genders : *const UGender , size : i32 , status : *mut UErrorCode ) -> UGender ); ugender_getListGender(genderinfo, genders, size, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uidna_close(idna: *mut UIDNA) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_close ( idna : *mut UIDNA ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_close ( idna : *mut UIDNA ) -> ( ) ); uidna_close(idna) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uidna_labelToASCII(idna: *const UIDNA, label: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_labelToASCII ( idna : *const UIDNA , label : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_labelToASCII ( idna : *const UIDNA , label : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); uidna_labelToASCII(idna, label, length, dest, capacity, pinfo, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5093,13 +5093,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_labelToASCII_UTF8 ( idna : *const UIDNA , label : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_labelToASCII_UTF8 ( idna : *const UIDNA , label : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); uidna_labelToASCII_UTF8(idna, label.into().abi(), length, dest.into().abi(), capacity, pinfo, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uidna_labelToUnicode(idna: *const UIDNA, label: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_labelToUnicode ( idna : *const UIDNA , label : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_labelToUnicode ( idna : *const UIDNA , label : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); uidna_labelToUnicode(idna, label, length, dest, capacity, pinfo, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5109,13 +5109,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_labelToUnicodeUTF8 ( idna : *const UIDNA , label : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_labelToUnicodeUTF8 ( idna : *const UIDNA , label : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); uidna_labelToUnicodeUTF8(idna, label.into().abi(), length, dest.into().abi(), capacity, pinfo, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uidna_nameToASCII(idna: *const UIDNA, name: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_nameToASCII ( idna : *const UIDNA , name : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_nameToASCII ( idna : *const UIDNA , name : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); uidna_nameToASCII(idna, name, length, dest, capacity, pinfo, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5125,13 +5125,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_nameToASCII_UTF8 ( idna : *const UIDNA , name : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_nameToASCII_UTF8 ( idna : *const UIDNA , name : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); uidna_nameToASCII_UTF8(idna, name.into().abi(), length, dest.into().abi(), capacity, pinfo, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uidna_nameToUnicode(idna: *const UIDNA, name: *const u16, length: i32, dest: *mut u16, capacity: i32, pinfo: *mut UIDNAInfo, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_nameToUnicode ( idna : *const UIDNA , name : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_nameToUnicode ( idna : *const UIDNA , name : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); uidna_nameToUnicode(idna, name, length, dest, capacity, pinfo, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5141,49 +5141,49 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_nameToUnicodeUTF8 ( idna : *const UIDNA , name : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_nameToUnicodeUTF8 ( idna : *const UIDNA , name : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , capacity : i32 , pinfo : *mut UIDNAInfo , perrorcode : *mut UErrorCode ) -> i32 ); uidna_nameToUnicodeUTF8(idna, name.into().abi(), length, dest.into().abi(), capacity, pinfo, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uidna_openUTS46(options: u32, perrorcode: *mut UErrorCode) -> *mut UIDNA { - ::windows::core::link ! ( "icu.dll""cdecl" fn uidna_openUTS46 ( options : u32 , perrorcode : *mut UErrorCode ) -> *mut UIDNA ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uidna_openUTS46 ( options : u32 , perrorcode : *mut UErrorCode ) -> *mut UIDNA ); uidna_openUTS46(options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uiter_current32(iter: *mut UCharIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uiter_current32 ( iter : *mut UCharIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uiter_current32 ( iter : *mut UCharIterator ) -> i32 ); uiter_current32(iter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uiter_getState(iter: *const UCharIterator) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uiter_getState ( iter : *const UCharIterator ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uiter_getState ( iter : *const UCharIterator ) -> u32 ); uiter_getState(iter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uiter_next32(iter: *mut UCharIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uiter_next32 ( iter : *mut UCharIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uiter_next32 ( iter : *mut UCharIterator ) -> i32 ); uiter_next32(iter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uiter_previous32(iter: *mut UCharIterator) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uiter_previous32 ( iter : *mut UCharIterator ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uiter_previous32 ( iter : *mut UCharIterator ) -> i32 ); uiter_previous32(iter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uiter_setState(iter: *mut UCharIterator, state: u32, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uiter_setState ( iter : *mut UCharIterator , state : u32 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uiter_setState ( iter : *mut UCharIterator , state : u32 , perrorcode : *mut UErrorCode ) -> ( ) ); uiter_setState(iter, state, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uiter_setString(iter: *mut UCharIterator, s: *const u16, length: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uiter_setString ( iter : *mut UCharIterator , s : *const u16 , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uiter_setString ( iter : *mut UCharIterator , s : *const u16 , length : i32 ) -> ( ) ); uiter_setString(iter, s, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5192,7 +5192,7 @@ pub unsafe fn uiter_setUTF16BE(iter: *mut UCharIterator, s: P0, length: i32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uiter_setUTF16BE ( iter : *mut UCharIterator , s : :: windows::core::PCSTR , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uiter_setUTF16BE ( iter : *mut UCharIterator , s : :: windows::core::PCSTR , length : i32 ) -> ( ) ); uiter_setUTF16BE(iter, s.into().abi(), length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5201,31 +5201,31 @@ pub unsafe fn uiter_setUTF8(iter: *mut UCharIterator, s: P0, length: i32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uiter_setUTF8 ( iter : *mut UCharIterator , s : :: windows::core::PCSTR , length : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uiter_setUTF8 ( iter : *mut UCharIterator , s : :: windows::core::PCSTR , length : i32 ) -> ( ) ); uiter_setUTF8(iter, s.into().abi(), length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uldn_close(ldn: *mut ULocaleDisplayNames) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_close ( ldn : *mut ULocaleDisplayNames ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_close ( ldn : *mut ULocaleDisplayNames ) -> ( ) ); uldn_close(ldn) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uldn_getContext(ldn: *const ULocaleDisplayNames, r#type: UDisplayContextType, perrorcode: *mut UErrorCode) -> UDisplayContext { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_getContext ( ldn : *const ULocaleDisplayNames , r#type : UDisplayContextType , perrorcode : *mut UErrorCode ) -> UDisplayContext ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_getContext ( ldn : *const ULocaleDisplayNames , r#type : UDisplayContextType , perrorcode : *mut UErrorCode ) -> UDisplayContext ); uldn_getContext(ldn, r#type, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uldn_getDialectHandling(ldn: *const ULocaleDisplayNames) -> UDialectHandling { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_getDialectHandling ( ldn : *const ULocaleDisplayNames ) -> UDialectHandling ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_getDialectHandling ( ldn : *const ULocaleDisplayNames ) -> UDialectHandling ); uldn_getDialectHandling(ldn) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uldn_getLocale(ldn: *const ULocaleDisplayNames) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_getLocale ( ldn : *const ULocaleDisplayNames ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_getLocale ( ldn : *const ULocaleDisplayNames ) -> :: windows::core::PSTR ); uldn_getLocale(ldn) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5234,7 +5234,7 @@ pub unsafe fn uldn_keyDisplayName(ldn: *const ULocaleDisplayNames, key: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_keyDisplayName ( ldn : *const ULocaleDisplayNames , key : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_keyDisplayName ( ldn : *const ULocaleDisplayNames , key : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uldn_keyDisplayName(ldn, key.into().abi(), result, maxresultsize, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5244,7 +5244,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_keyValueDisplayName ( ldn : *const ULocaleDisplayNames , key : :: windows::core::PCSTR , value : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_keyValueDisplayName ( ldn : *const ULocaleDisplayNames , key : :: windows::core::PCSTR , value : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uldn_keyValueDisplayName(ldn, key.into().abi(), value.into().abi(), result, maxresultsize, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5253,7 +5253,7 @@ pub unsafe fn uldn_languageDisplayName(ldn: *const ULocaleDisplayNames, lang where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_languageDisplayName ( ldn : *const ULocaleDisplayNames , lang : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_languageDisplayName ( ldn : *const ULocaleDisplayNames , lang : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uldn_languageDisplayName(ldn, lang.into().abi(), result, maxresultsize, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5262,7 +5262,7 @@ pub unsafe fn uldn_localeDisplayName(ldn: *const ULocaleDisplayNames, locale where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_localeDisplayName ( ldn : *const ULocaleDisplayNames , locale : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_localeDisplayName ( ldn : *const ULocaleDisplayNames , locale : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uldn_localeDisplayName(ldn, locale.into().abi(), result, maxresultsize, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5271,7 +5271,7 @@ pub unsafe fn uldn_open(locale: P0, dialecthandling: UDialectHandling, perro where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_open ( locale : :: windows::core::PCSTR , dialecthandling : UDialectHandling , perrorcode : *mut UErrorCode ) -> *mut ULocaleDisplayNames ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_open ( locale : :: windows::core::PCSTR , dialecthandling : UDialectHandling , perrorcode : *mut UErrorCode ) -> *mut ULocaleDisplayNames ); uldn_open(locale.into().abi(), dialecthandling, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5280,7 +5280,7 @@ pub unsafe fn uldn_openForContext(locale: P0, contexts: *mut UDisplayContext where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_openForContext ( locale : :: windows::core::PCSTR , contexts : *mut UDisplayContext , length : i32 , perrorcode : *mut UErrorCode ) -> *mut ULocaleDisplayNames ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_openForContext ( locale : :: windows::core::PCSTR , contexts : *mut UDisplayContext , length : i32 , perrorcode : *mut UErrorCode ) -> *mut ULocaleDisplayNames ); uldn_openForContext(locale.into().abi(), contexts, length, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5289,13 +5289,13 @@ pub unsafe fn uldn_regionDisplayName(ldn: *const ULocaleDisplayNames, region where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_regionDisplayName ( ldn : *const ULocaleDisplayNames , region : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_regionDisplayName ( ldn : *const ULocaleDisplayNames , region : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uldn_regionDisplayName(ldn, region.into().abi(), result, maxresultsize, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uldn_scriptCodeDisplayName(ldn: *const ULocaleDisplayNames, scriptcode: UScriptCode, result: *mut u16, maxresultsize: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_scriptCodeDisplayName ( ldn : *const ULocaleDisplayNames , scriptcode : UScriptCode , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_scriptCodeDisplayName ( ldn : *const ULocaleDisplayNames , scriptcode : UScriptCode , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uldn_scriptCodeDisplayName(ldn, scriptcode, result, maxresultsize, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5304,7 +5304,7 @@ pub unsafe fn uldn_scriptDisplayName(ldn: *const ULocaleDisplayNames, script where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_scriptDisplayName ( ldn : *const ULocaleDisplayNames , script : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_scriptDisplayName ( ldn : *const ULocaleDisplayNames , script : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uldn_scriptDisplayName(ldn, script.into().abi(), result, maxresultsize, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5313,31 +5313,31 @@ pub unsafe fn uldn_variantDisplayName(ldn: *const ULocaleDisplayNames, varia where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uldn_variantDisplayName ( ldn : *const ULocaleDisplayNames , variant : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uldn_variantDisplayName ( ldn : *const ULocaleDisplayNames , variant : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uldn_variantDisplayName(ldn, variant.into().abi(), result, maxresultsize, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulistfmt_close(listfmt: *mut UListFormatter) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulistfmt_close ( listfmt : *mut UListFormatter ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulistfmt_close ( listfmt : *mut UListFormatter ) -> ( ) ); ulistfmt_close(listfmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulistfmt_closeResult(uresult: *mut UFormattedList) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulistfmt_closeResult ( uresult : *mut UFormattedList ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulistfmt_closeResult ( uresult : *mut UFormattedList ) -> ( ) ); ulistfmt_closeResult(uresult) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulistfmt_format(listfmt: *const UListFormatter, strings: *const *const u16, stringlengths: *const i32, stringcount: i32, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulistfmt_format ( listfmt : *const UListFormatter , strings : *const *const u16 , stringlengths : *const i32 , stringcount : i32 , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulistfmt_format ( listfmt : *const UListFormatter , strings : *const *const u16 , stringlengths : *const i32 , stringcount : i32 , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); ulistfmt_format(listfmt, strings, stringlengths, stringcount, result, resultcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulistfmt_formatStringsToResult(listfmt: *const UListFormatter, strings: *const *const u16, stringlengths: *const i32, stringcount: i32, uresult: *mut UFormattedList, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulistfmt_formatStringsToResult ( listfmt : *const UListFormatter , strings : *const *const u16 , stringlengths : *const i32 , stringcount : i32 , uresult : *mut UFormattedList , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulistfmt_formatStringsToResult ( listfmt : *const UListFormatter , strings : *const *const u16 , stringlengths : *const i32 , stringcount : i32 , uresult : *mut UFormattedList , status : *mut UErrorCode ) -> ( ) ); ulistfmt_formatStringsToResult(listfmt, strings, stringlengths, stringcount, uresult, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5346,7 +5346,7 @@ pub unsafe fn ulistfmt_open(locale: P0, status: *mut UErrorCode) -> *mut ULi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulistfmt_open ( locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UListFormatter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulistfmt_open ( locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UListFormatter ); ulistfmt_open(locale.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5355,19 +5355,19 @@ pub unsafe fn ulistfmt_openForType(locale: P0, r#type: UListFormatterType, w where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulistfmt_openForType ( locale : :: windows::core::PCSTR , r#type : UListFormatterType , width : UListFormatterWidth , status : *mut UErrorCode ) -> *mut UListFormatter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulistfmt_openForType ( locale : :: windows::core::PCSTR , r#type : UListFormatterType , width : UListFormatterWidth , status : *mut UErrorCode ) -> *mut UListFormatter ); ulistfmt_openForType(locale.into().abi(), r#type, width, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulistfmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedList { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulistfmt_openResult ( ec : *mut UErrorCode ) -> *mut UFormattedList ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulistfmt_openResult ( ec : *mut UErrorCode ) -> *mut UFormattedList ); ulistfmt_openResult(ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulistfmt_resultAsValue(uresult: *const UFormattedList, ec: *mut UErrorCode) -> *mut UFormattedValue { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulistfmt_resultAsValue ( uresult : *const UFormattedList , ec : *mut UErrorCode ) -> *mut UFormattedValue ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulistfmt_resultAsValue ( uresult : *const UFormattedList , ec : *mut UErrorCode ) -> *mut UFormattedValue ); ulistfmt_resultAsValue(uresult, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5376,7 +5376,7 @@ pub unsafe fn uloc_acceptLanguage(result: P0, resultavailable: i32, outresul where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_acceptLanguage ( result : :: windows::core::PCSTR , resultavailable : i32 , outresult : *mut UAcceptResult , acceptlist : *const *const i8 , acceptlistcount : i32 , availablelocales : *mut UEnumeration , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_acceptLanguage ( result : :: windows::core::PCSTR , resultavailable : i32 , outresult : *mut UAcceptResult , acceptlist : *const *const i8 , acceptlistcount : i32 , availablelocales : *mut UEnumeration , status : *mut UErrorCode ) -> i32 ); uloc_acceptLanguage(result.into().abi(), resultavailable, outresult, acceptlist, acceptlistcount, availablelocales, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5386,7 +5386,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_acceptLanguageFromHTTP ( result : :: windows::core::PCSTR , resultavailable : i32 , outresult : *mut UAcceptResult , httpacceptlanguage : :: windows::core::PCSTR , availablelocales : *mut UEnumeration , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_acceptLanguageFromHTTP ( result : :: windows::core::PCSTR , resultavailable : i32 , outresult : *mut UAcceptResult , httpacceptlanguage : :: windows::core::PCSTR , availablelocales : *mut UEnumeration , status : *mut UErrorCode ) -> i32 ); uloc_acceptLanguageFromHTTP(result.into().abi(), resultavailable, outresult, httpacceptlanguage.into().abi(), availablelocales, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5396,7 +5396,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_addLikelySubtags ( localeid : :: windows::core::PCSTR , maximizedlocaleid : :: windows::core::PCSTR , maximizedlocaleidcapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_addLikelySubtags ( localeid : :: windows::core::PCSTR , maximizedlocaleid : :: windows::core::PCSTR , maximizedlocaleidcapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_addLikelySubtags(localeid.into().abi(), maximizedlocaleid.into().abi(), maximizedlocaleidcapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5406,13 +5406,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_canonicalize ( localeid : :: windows::core::PCSTR , name : :: windows::core::PCSTR , namecapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_canonicalize ( localeid : :: windows::core::PCSTR , name : :: windows::core::PCSTR , namecapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_canonicalize(localeid.into().abi(), name.into().abi(), namecapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uloc_countAvailable() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_countAvailable ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_countAvailable ( ) -> i32 ); uloc_countAvailable() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5422,13 +5422,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_forLanguageTag ( langtag : :: windows::core::PCSTR , localeid : :: windows::core::PCSTR , localeidcapacity : i32 , parsedlength : *mut i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_forLanguageTag ( langtag : :: windows::core::PCSTR , localeid : :: windows::core::PCSTR , localeidcapacity : i32 , parsedlength : *mut i32 , err : *mut UErrorCode ) -> i32 ); uloc_forLanguageTag(langtag.into().abi(), localeid.into().abi(), localeidcapacity, parsedlength, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uloc_getAvailable(n: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getAvailable ( n : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getAvailable ( n : i32 ) -> :: windows::core::PSTR ); uloc_getAvailable(n) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5438,7 +5438,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getBaseName ( localeid : :: windows::core::PCSTR , name : :: windows::core::PCSTR , namecapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getBaseName ( localeid : :: windows::core::PCSTR , name : :: windows::core::PCSTR , namecapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_getBaseName(localeid.into().abi(), name.into().abi(), namecapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5447,7 +5447,7 @@ pub unsafe fn uloc_getCharacterOrientation(localeid: P0, status: *mut UError where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getCharacterOrientation ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> ULayoutType ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getCharacterOrientation ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> ULayoutType ); uloc_getCharacterOrientation(localeid.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5457,13 +5457,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getCountry ( localeid : :: windows::core::PCSTR , country : :: windows::core::PCSTR , countrycapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getCountry ( localeid : :: windows::core::PCSTR , country : :: windows::core::PCSTR , countrycapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_getCountry(localeid.into().abi(), country.into().abi(), countrycapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uloc_getDefault() -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getDefault ( ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getDefault ( ) -> :: windows::core::PSTR ); uloc_getDefault() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5473,7 +5473,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getDisplayCountry ( locale : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , country : *mut u16 , countrycapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getDisplayCountry ( locale : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , country : *mut u16 , countrycapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_getDisplayCountry(locale.into().abi(), displaylocale.into().abi(), country, countrycapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5483,7 +5483,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getDisplayKeyword ( keyword : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getDisplayKeyword ( keyword : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_getDisplayKeyword(keyword.into().abi(), displaylocale.into().abi(), dest, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5494,7 +5494,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getDisplayKeywordValue ( locale : :: windows::core::PCSTR , keyword : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getDisplayKeywordValue ( locale : :: windows::core::PCSTR , keyword : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_getDisplayKeywordValue(locale.into().abi(), keyword.into().abi(), displaylocale.into().abi(), dest, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5504,7 +5504,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getDisplayLanguage ( locale : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , language : *mut u16 , languagecapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getDisplayLanguage ( locale : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , language : *mut u16 , languagecapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_getDisplayLanguage(locale.into().abi(), displaylocale.into().abi(), language, languagecapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5514,7 +5514,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getDisplayName ( localeid : :: windows::core::PCSTR , inlocaleid : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getDisplayName ( localeid : :: windows::core::PCSTR , inlocaleid : :: windows::core::PCSTR , result : *mut u16 , maxresultsize : i32 , err : *mut UErrorCode ) -> i32 ); uloc_getDisplayName(localeid.into().abi(), inlocaleid.into().abi(), result, maxresultsize, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5524,7 +5524,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getDisplayScript ( locale : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , script : *mut u16 , scriptcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getDisplayScript ( locale : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , script : *mut u16 , scriptcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_getDisplayScript(locale.into().abi(), displaylocale.into().abi(), script, scriptcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5534,7 +5534,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getDisplayVariant ( locale : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , variant : *mut u16 , variantcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getDisplayVariant ( locale : :: windows::core::PCSTR , displaylocale : :: windows::core::PCSTR , variant : *mut u16 , variantcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_getDisplayVariant(locale.into().abi(), displaylocale.into().abi(), variant, variantcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5543,7 +5543,7 @@ pub unsafe fn uloc_getISO3Country(localeid: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getISO3Country ( localeid : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getISO3Country ( localeid : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); uloc_getISO3Country(localeid.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5552,19 +5552,19 @@ pub unsafe fn uloc_getISO3Language(localeid: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getISO3Language ( localeid : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getISO3Language ( localeid : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); uloc_getISO3Language(localeid.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uloc_getISOCountries() -> *mut *mut i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getISOCountries ( ) -> *mut *mut i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getISOCountries ( ) -> *mut *mut i8 ); uloc_getISOCountries() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uloc_getISOLanguages() -> *mut *mut i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getISOLanguages ( ) -> *mut *mut i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getISOLanguages ( ) -> *mut *mut i8 ); uloc_getISOLanguages() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5575,7 +5575,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getKeywordValue ( localeid : :: windows::core::PCSTR , keywordname : :: windows::core::PCSTR , buffer : :: windows::core::PCSTR , buffercapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getKeywordValue ( localeid : :: windows::core::PCSTR , keywordname : :: windows::core::PCSTR , buffer : :: windows::core::PCSTR , buffercapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_getKeywordValue(localeid.into().abi(), keywordname.into().abi(), buffer.into().abi(), buffercapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5584,7 +5584,7 @@ pub unsafe fn uloc_getLCID(localeid: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getLCID ( localeid : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getLCID ( localeid : :: windows::core::PCSTR ) -> u32 ); uloc_getLCID(localeid.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5594,7 +5594,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getLanguage ( localeid : :: windows::core::PCSTR , language : :: windows::core::PCSTR , languagecapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getLanguage ( localeid : :: windows::core::PCSTR , language : :: windows::core::PCSTR , languagecapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_getLanguage(localeid.into().abi(), language.into().abi(), languagecapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5603,7 +5603,7 @@ pub unsafe fn uloc_getLineOrientation(localeid: P0, status: *mut UErrorCode) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getLineOrientation ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> ULayoutType ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getLineOrientation ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> ULayoutType ); uloc_getLineOrientation(localeid.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5612,7 +5612,7 @@ pub unsafe fn uloc_getLocaleForLCID(hostid: u32, locale: P0, localecapacity: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getLocaleForLCID ( hostid : u32 , locale : :: windows::core::PCSTR , localecapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getLocaleForLCID ( hostid : u32 , locale : :: windows::core::PCSTR , localecapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_getLocaleForLCID(hostid, locale.into().abi(), localecapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5622,7 +5622,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getName ( localeid : :: windows::core::PCSTR , name : :: windows::core::PCSTR , namecapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getName ( localeid : :: windows::core::PCSTR , name : :: windows::core::PCSTR , namecapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_getName(localeid.into().abi(), name.into().abi(), namecapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5632,7 +5632,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getParent ( localeid : :: windows::core::PCSTR , parent : :: windows::core::PCSTR , parentcapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getParent ( localeid : :: windows::core::PCSTR , parent : :: windows::core::PCSTR , parentcapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_getParent(localeid.into().abi(), parent.into().abi(), parentcapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5642,7 +5642,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getScript ( localeid : :: windows::core::PCSTR , script : :: windows::core::PCSTR , scriptcapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getScript ( localeid : :: windows::core::PCSTR , script : :: windows::core::PCSTR , scriptcapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_getScript(localeid.into().abi(), script.into().abi(), scriptcapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5652,7 +5652,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_getVariant ( localeid : :: windows::core::PCSTR , variant : :: windows::core::PCSTR , variantcapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_getVariant ( localeid : :: windows::core::PCSTR , variant : :: windows::core::PCSTR , variantcapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_getVariant(localeid.into().abi(), variant.into().abi(), variantcapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5661,7 +5661,7 @@ pub unsafe fn uloc_isRightToLeft(locale: P0) -> i8 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_isRightToLeft ( locale : :: windows::core::PCSTR ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_isRightToLeft ( locale : :: windows::core::PCSTR ) -> i8 ); uloc_isRightToLeft(locale.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5671,13 +5671,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_minimizeSubtags ( localeid : :: windows::core::PCSTR , minimizedlocaleid : :: windows::core::PCSTR , minimizedlocaleidcapacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_minimizeSubtags ( localeid : :: windows::core::PCSTR , minimizedlocaleid : :: windows::core::PCSTR , minimizedlocaleidcapacity : i32 , err : *mut UErrorCode ) -> i32 ); uloc_minimizeSubtags(localeid.into().abi(), minimizedlocaleid.into().abi(), minimizedlocaleidcapacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uloc_openAvailableByType(r#type: ULocAvailableType, status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_openAvailableByType ( r#type : ULocAvailableType , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_openAvailableByType ( r#type : ULocAvailableType , status : *mut UErrorCode ) -> *mut UEnumeration ); uloc_openAvailableByType(r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5686,7 +5686,7 @@ pub unsafe fn uloc_openKeywords(localeid: P0, status: *mut UErrorCode) -> *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_openKeywords ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_openKeywords ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UEnumeration ); uloc_openKeywords(localeid.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5695,7 +5695,7 @@ pub unsafe fn uloc_setDefault(localeid: P0, status: *mut UErrorCode) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_setDefault ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_setDefault ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> ( ) ); uloc_setDefault(localeid.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5706,7 +5706,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_setKeywordValue ( keywordname : :: windows::core::PCSTR , keywordvalue : :: windows::core::PCSTR , buffer : :: windows::core::PCSTR , buffercapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_setKeywordValue ( keywordname : :: windows::core::PCSTR , keywordvalue : :: windows::core::PCSTR , buffer : :: windows::core::PCSTR , buffercapacity : i32 , status : *mut UErrorCode ) -> i32 ); uloc_setKeywordValue(keywordname.into().abi(), keywordvalue.into().abi(), buffer.into().abi(), buffercapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5716,7 +5716,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_toLanguageTag ( localeid : :: windows::core::PCSTR , langtag : :: windows::core::PCSTR , langtagcapacity : i32 , strict : i8 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_toLanguageTag ( localeid : :: windows::core::PCSTR , langtag : :: windows::core::PCSTR , langtagcapacity : i32 , strict : i8 , err : *mut UErrorCode ) -> i32 ); uloc_toLanguageTag(localeid.into().abi(), langtag.into().abi(), langtagcapacity, strict, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5725,7 +5725,7 @@ pub unsafe fn uloc_toLegacyKey(keyword: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_toLegacyKey ( keyword : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_toLegacyKey ( keyword : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); uloc_toLegacyKey(keyword.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5735,7 +5735,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_toLegacyType ( keyword : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_toLegacyType ( keyword : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); uloc_toLegacyType(keyword.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5744,7 +5744,7 @@ pub unsafe fn uloc_toUnicodeLocaleKey(keyword: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_toUnicodeLocaleKey ( keyword : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_toUnicodeLocaleKey ( keyword : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); uloc_toUnicodeLocaleKey(keyword.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5754,43 +5754,43 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uloc_toUnicodeLocaleType ( keyword : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uloc_toUnicodeLocaleType ( keyword : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); uloc_toUnicodeLocaleType(keyword.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulocdata_close(uld: *mut ULocaleData) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_close ( uld : *mut ULocaleData ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_close ( uld : *mut ULocaleData ) -> ( ) ); ulocdata_close(uld) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulocdata_getCLDRVersion(versionarray: *mut u8, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_getCLDRVersion ( versionarray : *mut u8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_getCLDRVersion ( versionarray : *mut u8 , status : *mut UErrorCode ) -> ( ) ); ulocdata_getCLDRVersion(versionarray, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulocdata_getDelimiter(uld: *mut ULocaleData, r#type: ULocaleDataDelimiterType, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_getDelimiter ( uld : *mut ULocaleData , r#type : ULocaleDataDelimiterType , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_getDelimiter ( uld : *mut ULocaleData , r#type : ULocaleDataDelimiterType , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); ulocdata_getDelimiter(uld, r#type, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulocdata_getExemplarSet(uld: *mut ULocaleData, fillin: *mut USet, options: u32, extype: ULocaleDataExemplarSetType, status: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_getExemplarSet ( uld : *mut ULocaleData , fillin : *mut USet , options : u32 , extype : ULocaleDataExemplarSetType , status : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_getExemplarSet ( uld : *mut ULocaleData , fillin : *mut USet , options : u32 , extype : ULocaleDataExemplarSetType , status : *mut UErrorCode ) -> *mut USet ); ulocdata_getExemplarSet(uld, fillin, options, extype, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulocdata_getLocaleDisplayPattern(uld: *mut ULocaleData, pattern: *mut u16, patterncapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_getLocaleDisplayPattern ( uld : *mut ULocaleData , pattern : *mut u16 , patterncapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_getLocaleDisplayPattern ( uld : *mut ULocaleData , pattern : *mut u16 , patterncapacity : i32 , status : *mut UErrorCode ) -> i32 ); ulocdata_getLocaleDisplayPattern(uld, pattern, patterncapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulocdata_getLocaleSeparator(uld: *mut ULocaleData, separator: *mut u16, separatorcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_getLocaleSeparator ( uld : *mut ULocaleData , separator : *mut u16 , separatorcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_getLocaleSeparator ( uld : *mut ULocaleData , separator : *mut u16 , separatorcapacity : i32 , status : *mut UErrorCode ) -> i32 ); ulocdata_getLocaleSeparator(uld, separator, separatorcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5799,13 +5799,13 @@ pub unsafe fn ulocdata_getMeasurementSystem(localeid: P0, status: *mut UErro where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_getMeasurementSystem ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> UMeasurementSystem ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_getMeasurementSystem ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> UMeasurementSystem ); ulocdata_getMeasurementSystem(localeid.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulocdata_getNoSubstitute(uld: *mut ULocaleData) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_getNoSubstitute ( uld : *mut ULocaleData ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_getNoSubstitute ( uld : *mut ULocaleData ) -> i8 ); ulocdata_getNoSubstitute(uld) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5814,7 +5814,7 @@ pub unsafe fn ulocdata_getPaperSize(localeid: P0, height: *mut i32, width: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_getPaperSize ( localeid : :: windows::core::PCSTR , height : *mut i32 , width : *mut i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_getPaperSize ( localeid : :: windows::core::PCSTR , height : *mut i32 , width : *mut i32 , status : *mut UErrorCode ) -> ( ) ); ulocdata_getPaperSize(localeid.into().abi(), height, width, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5823,49 +5823,49 @@ pub unsafe fn ulocdata_open(localeid: P0, status: *mut UErrorCode) -> *mut U where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_open ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut ULocaleData ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_open ( localeid : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut ULocaleData ); ulocdata_open(localeid.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ulocdata_setNoSubstitute(uld: *mut ULocaleData, setting: i8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ulocdata_setNoSubstitute ( uld : *mut ULocaleData , setting : i8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ulocdata_setNoSubstitute ( uld : *mut ULocaleData , setting : i8 ) -> ( ) ); ulocdata_setNoSubstitute(uld, setting) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_applyPattern(fmt: *mut *mut ::core::ffi::c_void, pattern: *const u16, patternlength: i32, parseerror: *mut UParseError, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_applyPattern ( fmt : *mut *mut ::core::ffi::c_void , pattern : *const u16 , patternlength : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_applyPattern ( fmt : *mut *mut ::core::ffi::c_void , pattern : *const u16 , patternlength : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> ( ) ); umsg_applyPattern(fmt, pattern, patternlength, parseerror, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_autoQuoteApostrophe(pattern: *const u16, patternlength: i32, dest: *mut u16, destcapacity: i32, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_autoQuoteApostrophe ( pattern : *const u16 , patternlength : i32 , dest : *mut u16 , destcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_autoQuoteApostrophe ( pattern : *const u16 , patternlength : i32 , dest : *mut u16 , destcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); umsg_autoQuoteApostrophe(pattern, patternlength, dest, destcapacity, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_clone ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_clone ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut ::core::ffi::c_void ); umsg_clone(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_close(format: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_close ( format : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_close ( format : *mut *mut ::core::ffi::c_void ) -> ( ) ); umsg_close(format) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_format(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_format ( fmt : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_format ( fmt : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); umsg_format(fmt, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_getLocale(fmt: *const *const ::core::ffi::c_void) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_getLocale ( fmt : *const *const ::core::ffi::c_void ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_getLocale ( fmt : *const *const ::core::ffi::c_void ) -> :: windows::core::PSTR ); umsg_getLocale(fmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5874,13 +5874,13 @@ pub unsafe fn umsg_open(pattern: *const u16, patternlength: i32, locale: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_open ( pattern : *const u16 , patternlength : i32 , locale : :: windows::core::PCSTR , parseerror : *mut UParseError , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_open ( pattern : *const u16 , patternlength : i32 , locale : :: windows::core::PCSTR , parseerror : *mut UParseError , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); umsg_open(pattern, patternlength, locale.into().abi(), parseerror, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_parse(fmt: *const *const ::core::ffi::c_void, source: *const u16, sourcelength: i32, count: *mut i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_parse ( fmt : *const *const ::core::ffi::c_void , source : *const u16 , sourcelength : i32 , count : *mut i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_parse ( fmt : *const *const ::core::ffi::c_void , source : *const u16 , sourcelength : i32 , count : *mut i32 , status : *mut UErrorCode ) -> ( ) ); umsg_parse(fmt, source, sourcelength, count, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -5889,115 +5889,115 @@ pub unsafe fn umsg_setLocale(fmt: *mut *mut ::core::ffi::c_void, locale: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_setLocale ( fmt : *mut *mut ::core::ffi::c_void , locale : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_setLocale ( fmt : *mut *mut ::core::ffi::c_void , locale : :: windows::core::PCSTR ) -> ( ) ); umsg_setLocale(fmt, locale.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_toPattern(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_toPattern ( fmt : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_toPattern ( fmt : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); umsg_toPattern(fmt, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_vformat(fmt: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, ap: *mut i8, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_vformat ( fmt : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , ap : *mut i8 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_vformat ( fmt : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , ap : *mut i8 , status : *mut UErrorCode ) -> i32 ); umsg_vformat(fmt, result, resultlength, ap, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umsg_vparse(fmt: *const *const ::core::ffi::c_void, source: *const u16, sourcelength: i32, count: *mut i32, ap: *mut i8, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn umsg_vparse ( fmt : *const *const ::core::ffi::c_void , source : *const u16 , sourcelength : i32 , count : *mut i32 , ap : *mut i8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umsg_vparse ( fmt : *const *const ::core::ffi::c_void , source : *const u16 , sourcelength : i32 , count : *mut i32 , ap : *mut i8 , status : *mut UErrorCode ) -> ( ) ); umsg_vparse(fmt, source, sourcelength, count, ap, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_buildImmutable(trie: *mut UMutableCPTrie, r#type: UCPTrieType, valuewidth: UCPTrieValueWidth, perrorcode: *mut UErrorCode) -> *mut UCPTrie { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_buildImmutable ( trie : *mut UMutableCPTrie , r#type : UCPTrieType , valuewidth : UCPTrieValueWidth , perrorcode : *mut UErrorCode ) -> *mut UCPTrie ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_buildImmutable ( trie : *mut UMutableCPTrie , r#type : UCPTrieType , valuewidth : UCPTrieValueWidth , perrorcode : *mut UErrorCode ) -> *mut UCPTrie ); umutablecptrie_buildImmutable(trie, r#type, valuewidth, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_clone(other: *const UMutableCPTrie, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_clone ( other : *const UMutableCPTrie , perrorcode : *mut UErrorCode ) -> *mut UMutableCPTrie ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_clone ( other : *const UMutableCPTrie , perrorcode : *mut UErrorCode ) -> *mut UMutableCPTrie ); umutablecptrie_clone(other, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_close(trie: *mut UMutableCPTrie) { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_close ( trie : *mut UMutableCPTrie ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_close ( trie : *mut UMutableCPTrie ) -> ( ) ); umutablecptrie_close(trie) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_fromUCPMap(map: *const UCPMap, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_fromUCPMap ( map : *const UCPMap , perrorcode : *mut UErrorCode ) -> *mut UMutableCPTrie ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_fromUCPMap ( map : *const UCPMap , perrorcode : *mut UErrorCode ) -> *mut UMutableCPTrie ); umutablecptrie_fromUCPMap(map, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_fromUCPTrie(trie: *const UCPTrie, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_fromUCPTrie ( trie : *const UCPTrie , perrorcode : *mut UErrorCode ) -> *mut UMutableCPTrie ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_fromUCPTrie ( trie : *const UCPTrie , perrorcode : *mut UErrorCode ) -> *mut UMutableCPTrie ); umutablecptrie_fromUCPTrie(trie, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_get(trie: *const UMutableCPTrie, c: i32) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_get ( trie : *const UMutableCPTrie , c : i32 ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_get ( trie : *const UMutableCPTrie , c : i32 ) -> u32 ); umutablecptrie_get(trie, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_getRange(trie: *const UMutableCPTrie, start: i32, option: UCPMapRangeOption, surrogatevalue: u32, filter: *mut UCPMapValueFilter, context: *const ::core::ffi::c_void, pvalue: *mut u32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_getRange ( trie : *const UMutableCPTrie , start : i32 , option : UCPMapRangeOption , surrogatevalue : u32 , filter : *mut UCPMapValueFilter , context : *const ::core::ffi::c_void , pvalue : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_getRange ( trie : *const UMutableCPTrie , start : i32 , option : UCPMapRangeOption , surrogatevalue : u32 , filter : *mut UCPMapValueFilter , context : *const ::core::ffi::c_void , pvalue : *mut u32 ) -> i32 ); umutablecptrie_getRange(trie, start, option, surrogatevalue, filter, context, pvalue) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_open(initialvalue: u32, errorvalue: u32, perrorcode: *mut UErrorCode) -> *mut UMutableCPTrie { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_open ( initialvalue : u32 , errorvalue : u32 , perrorcode : *mut UErrorCode ) -> *mut UMutableCPTrie ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_open ( initialvalue : u32 , errorvalue : u32 , perrorcode : *mut UErrorCode ) -> *mut UMutableCPTrie ); umutablecptrie_open(initialvalue, errorvalue, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_set(trie: *mut UMutableCPTrie, c: i32, value: u32, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_set ( trie : *mut UMutableCPTrie , c : i32 , value : u32 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_set ( trie : *mut UMutableCPTrie , c : i32 , value : u32 , perrorcode : *mut UErrorCode ) -> ( ) ); umutablecptrie_set(trie, c, value, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn umutablecptrie_setRange(trie: *mut UMutableCPTrie, start: i32, end: i32, value: u32, perrorcode: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn umutablecptrie_setRange ( trie : *mut UMutableCPTrie , start : i32 , end : i32 , value : u32 , perrorcode : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn umutablecptrie_setRange ( trie : *mut UMutableCPTrie , start : i32 , end : i32 , value : u32 , perrorcode : *mut UErrorCode ) -> ( ) ); umutablecptrie_setRange(trie, start, end, value, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_append(norm2: *const UNormalizer2, first: *mut u16, firstlength: i32, firstcapacity: i32, second: *const u16, secondlength: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_append ( norm2 : *const UNormalizer2 , first : *mut u16 , firstlength : i32 , firstcapacity : i32 , second : *const u16 , secondlength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_append ( norm2 : *const UNormalizer2 , first : *mut u16 , firstlength : i32 , firstcapacity : i32 , second : *const u16 , secondlength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); unorm2_append(norm2, first, firstlength, firstcapacity, second, secondlength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_close(norm2: *mut UNormalizer2) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_close ( norm2 : *mut UNormalizer2 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_close ( norm2 : *mut UNormalizer2 ) -> ( ) ); unorm2_close(norm2) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_composePair(norm2: *const UNormalizer2, a: i32, b: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_composePair ( norm2 : *const UNormalizer2 , a : i32 , b : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_composePair ( norm2 : *const UNormalizer2 , a : i32 , b : i32 ) -> i32 ); unorm2_composePair(norm2, a, b) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_getCombiningClass(norm2: *const UNormalizer2, c: i32) -> u8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getCombiningClass ( norm2 : *const UNormalizer2 , c : i32 ) -> u8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getCombiningClass ( norm2 : *const UNormalizer2 , c : i32 ) -> u8 ); unorm2_getCombiningClass(norm2, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_getDecomposition(norm2: *const UNormalizer2, c: i32, decomposition: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getDecomposition ( norm2 : *const UNormalizer2 , c : i32 , decomposition : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getDecomposition ( norm2 : *const UNormalizer2 , c : i32 , decomposition : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); unorm2_getDecomposition(norm2, c, decomposition, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6007,133 +6007,133 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getInstance ( packagename : :: windows::core::PCSTR , name : :: windows::core::PCSTR , mode : UNormalization2Mode , perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getInstance ( packagename : :: windows::core::PCSTR , name : :: windows::core::PCSTR , mode : UNormalization2Mode , perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); unorm2_getInstance(packagename.into().abi(), name.into().abi(), mode, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_getNFCInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getNFCInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getNFCInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); unorm2_getNFCInstance(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_getNFDInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getNFDInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getNFDInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); unorm2_getNFDInstance(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_getNFKCCasefoldInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getNFKCCasefoldInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getNFKCCasefoldInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); unorm2_getNFKCCasefoldInstance(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_getNFKCInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getNFKCInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getNFKCInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); unorm2_getNFKCInstance(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_getNFKDInstance(perrorcode: *mut UErrorCode) -> *mut UNormalizer2 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getNFKDInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getNFKDInstance ( perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); unorm2_getNFKDInstance(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_getRawDecomposition(norm2: *const UNormalizer2, c: i32, decomposition: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_getRawDecomposition ( norm2 : *const UNormalizer2 , c : i32 , decomposition : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_getRawDecomposition ( norm2 : *const UNormalizer2 , c : i32 , decomposition : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); unorm2_getRawDecomposition(norm2, c, decomposition, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_hasBoundaryAfter(norm2: *const UNormalizer2, c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_hasBoundaryAfter ( norm2 : *const UNormalizer2 , c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_hasBoundaryAfter ( norm2 : *const UNormalizer2 , c : i32 ) -> i8 ); unorm2_hasBoundaryAfter(norm2, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_hasBoundaryBefore(norm2: *const UNormalizer2, c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_hasBoundaryBefore ( norm2 : *const UNormalizer2 , c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_hasBoundaryBefore ( norm2 : *const UNormalizer2 , c : i32 ) -> i8 ); unorm2_hasBoundaryBefore(norm2, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_isInert(norm2: *const UNormalizer2, c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_isInert ( norm2 : *const UNormalizer2 , c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_isInert ( norm2 : *const UNormalizer2 , c : i32 ) -> i8 ); unorm2_isInert(norm2, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_isNormalized(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_isNormalized ( norm2 : *const UNormalizer2 , s : *const u16 , length : i32 , perrorcode : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_isNormalized ( norm2 : *const UNormalizer2 , s : *const u16 , length : i32 , perrorcode : *mut UErrorCode ) -> i8 ); unorm2_isNormalized(norm2, s, length, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_normalize(norm2: *const UNormalizer2, src: *const u16, length: i32, dest: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_normalize ( norm2 : *const UNormalizer2 , src : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_normalize ( norm2 : *const UNormalizer2 , src : *const u16 , length : i32 , dest : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); unorm2_normalize(norm2, src, length, dest, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_normalizeSecondAndAppend(norm2: *const UNormalizer2, first: *mut u16, firstlength: i32, firstcapacity: i32, second: *const u16, secondlength: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_normalizeSecondAndAppend ( norm2 : *const UNormalizer2 , first : *mut u16 , firstlength : i32 , firstcapacity : i32 , second : *const u16 , secondlength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_normalizeSecondAndAppend ( norm2 : *const UNormalizer2 , first : *mut u16 , firstlength : i32 , firstcapacity : i32 , second : *const u16 , secondlength : i32 , perrorcode : *mut UErrorCode ) -> i32 ); unorm2_normalizeSecondAndAppend(norm2, first, firstlength, firstcapacity, second, secondlength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_openFiltered(norm2: *const UNormalizer2, filterset: *const USet, perrorcode: *mut UErrorCode) -> *mut UNormalizer2 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_openFiltered ( norm2 : *const UNormalizer2 , filterset : *const USet , perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_openFiltered ( norm2 : *const UNormalizer2 , filterset : *const USet , perrorcode : *mut UErrorCode ) -> *mut UNormalizer2 ); unorm2_openFiltered(norm2, filterset, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_quickCheck(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> UNormalizationCheckResult { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_quickCheck ( norm2 : *const UNormalizer2 , s : *const u16 , length : i32 , perrorcode : *mut UErrorCode ) -> UNormalizationCheckResult ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_quickCheck ( norm2 : *const UNormalizer2 , s : *const u16 , length : i32 , perrorcode : *mut UErrorCode ) -> UNormalizationCheckResult ); unorm2_quickCheck(norm2, s, length, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm2_spanQuickCheckYes(norm2: *const UNormalizer2, s: *const u16, length: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm2_spanQuickCheckYes ( norm2 : *const UNormalizer2 , s : *const u16 , length : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm2_spanQuickCheckYes ( norm2 : *const UNormalizer2 , s : *const u16 , length : i32 , perrorcode : *mut UErrorCode ) -> i32 ); unorm2_spanQuickCheckYes(norm2, s, length, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unorm_compare(s1: *const u16, length1: i32, s2: *const u16, length2: i32, options: u32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unorm_compare ( s1 : *const u16 , length1 : i32 , s2 : *const u16 , length2 : i32 , options : u32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unorm_compare ( s1 : *const u16 , length1 : i32 , s2 : *const u16 , length2 : i32 , options : u32 , perrorcode : *mut UErrorCode ) -> i32 ); unorm_compare(s1, length1, s2, length2, options, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_applyPattern(format: *mut *mut ::core::ffi::c_void, localized: i8, pattern: *const u16, patternlength: i32, parseerror: *mut UParseError, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_applyPattern ( format : *mut *mut ::core::ffi::c_void , localized : i8 , pattern : *const u16 , patternlength : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_applyPattern ( format : *mut *mut ::core::ffi::c_void , localized : i8 , pattern : *const u16 , patternlength : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> ( ) ); unum_applyPattern(format, localized, pattern, patternlength, parseerror, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_clone(fmt: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_clone ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_clone ( fmt : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); unum_clone(fmt, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_close(fmt: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_close ( fmt : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_close ( fmt : *mut *mut ::core::ffi::c_void ) -> ( ) ); unum_close(fmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_countAvailable() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_countAvailable ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_countAvailable ( ) -> i32 ); unum_countAvailable() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_format(fmt: *const *const ::core::ffi::c_void, number: i32, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_format ( fmt : *const *const ::core::ffi::c_void , number : i32 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_format ( fmt : *const *const ::core::ffi::c_void , number : i32 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); unum_format(fmt, number, result, resultlength, pos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6142,79 +6142,79 @@ pub unsafe fn unum_formatDecimal(fmt: *const *const ::core::ffi::c_void, num where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_formatDecimal ( fmt : *const *const ::core::ffi::c_void , number : :: windows::core::PCSTR , length : i32 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_formatDecimal ( fmt : *const *const ::core::ffi::c_void , number : :: windows::core::PCSTR , length : i32 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); unum_formatDecimal(fmt, number.into().abi(), length, result, resultlength, pos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_formatDouble(fmt: *const *const ::core::ffi::c_void, number: f64, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_formatDouble ( fmt : *const *const ::core::ffi::c_void , number : f64 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_formatDouble ( fmt : *const *const ::core::ffi::c_void , number : f64 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); unum_formatDouble(fmt, number, result, resultlength, pos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_formatDoubleCurrency(fmt: *const *const ::core::ffi::c_void, number: f64, currency: *mut u16, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_formatDoubleCurrency ( fmt : *const *const ::core::ffi::c_void , number : f64 , currency : *mut u16 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_formatDoubleCurrency ( fmt : *const *const ::core::ffi::c_void , number : f64 , currency : *mut u16 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); unum_formatDoubleCurrency(fmt, number, currency, result, resultlength, pos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_formatDoubleForFields(format: *const *const ::core::ffi::c_void, number: f64, result: *mut u16, resultlength: i32, fpositer: *mut UFieldPositionIterator, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_formatDoubleForFields ( format : *const *const ::core::ffi::c_void , number : f64 , result : *mut u16 , resultlength : i32 , fpositer : *mut UFieldPositionIterator , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_formatDoubleForFields ( format : *const *const ::core::ffi::c_void , number : f64 , result : *mut u16 , resultlength : i32 , fpositer : *mut UFieldPositionIterator , status : *mut UErrorCode ) -> i32 ); unum_formatDoubleForFields(format, number, result, resultlength, fpositer, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_formatInt64(fmt: *const *const ::core::ffi::c_void, number: i64, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_formatInt64 ( fmt : *const *const ::core::ffi::c_void , number : i64 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_formatInt64 ( fmt : *const *const ::core::ffi::c_void , number : i64 , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); unum_formatInt64(fmt, number, result, resultlength, pos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_formatUFormattable(fmt: *const *const ::core::ffi::c_void, number: *const *const ::core::ffi::c_void, result: *mut u16, resultlength: i32, pos: *mut UFieldPosition, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_formatUFormattable ( fmt : *const *const ::core::ffi::c_void , number : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_formatUFormattable ( fmt : *const *const ::core::ffi::c_void , number : *const *const ::core::ffi::c_void , result : *mut u16 , resultlength : i32 , pos : *mut UFieldPosition , status : *mut UErrorCode ) -> i32 ); unum_formatUFormattable(fmt, number, result, resultlength, pos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_getAttribute(fmt: *const *const ::core::ffi::c_void, attr: UNumberFormatAttribute) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_getAttribute ( fmt : *const *const ::core::ffi::c_void , attr : UNumberFormatAttribute ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_getAttribute ( fmt : *const *const ::core::ffi::c_void , attr : UNumberFormatAttribute ) -> i32 ); unum_getAttribute(fmt, attr) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_getAvailable(localeindex: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_getAvailable ( localeindex : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_getAvailable ( localeindex : i32 ) -> :: windows::core::PSTR ); unum_getAvailable(localeindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_getContext(fmt: *const *const ::core::ffi::c_void, r#type: UDisplayContextType, status: *mut UErrorCode) -> UDisplayContext { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_getContext ( fmt : *const *const ::core::ffi::c_void , r#type : UDisplayContextType , status : *mut UErrorCode ) -> UDisplayContext ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_getContext ( fmt : *const *const ::core::ffi::c_void , r#type : UDisplayContextType , status : *mut UErrorCode ) -> UDisplayContext ); unum_getContext(fmt, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_getDoubleAttribute(fmt: *const *const ::core::ffi::c_void, attr: UNumberFormatAttribute) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_getDoubleAttribute ( fmt : *const *const ::core::ffi::c_void , attr : UNumberFormatAttribute ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_getDoubleAttribute ( fmt : *const *const ::core::ffi::c_void , attr : UNumberFormatAttribute ) -> f64 ); unum_getDoubleAttribute(fmt, attr) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_getLocaleByType(fmt: *const *const ::core::ffi::c_void, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_getLocaleByType ( fmt : *const *const ::core::ffi::c_void , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_getLocaleByType ( fmt : *const *const ::core::ffi::c_void , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); unum_getLocaleByType(fmt, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_getSymbol(fmt: *const *const ::core::ffi::c_void, symbol: UNumberFormatSymbol, buffer: *mut u16, size: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_getSymbol ( fmt : *const *const ::core::ffi::c_void , symbol : UNumberFormatSymbol , buffer : *mut u16 , size : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_getSymbol ( fmt : *const *const ::core::ffi::c_void , symbol : UNumberFormatSymbol , buffer : *mut u16 , size : i32 , status : *mut UErrorCode ) -> i32 ); unum_getSymbol(fmt, symbol, buffer, size, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_getTextAttribute(fmt: *const *const ::core::ffi::c_void, tag: UNumberFormatTextAttribute, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_getTextAttribute ( fmt : *const *const ::core::ffi::c_void , tag : UNumberFormatTextAttribute , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_getTextAttribute ( fmt : *const *const ::core::ffi::c_void , tag : UNumberFormatTextAttribute , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); unum_getTextAttribute(fmt, tag, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6223,13 +6223,13 @@ pub unsafe fn unum_open(style: UNumberFormatStyle, pattern: *const u16, patt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_open ( style : UNumberFormatStyle , pattern : *const u16 , patternlength : i32 , locale : :: windows::core::PCSTR , parseerr : *mut UParseError , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_open ( style : UNumberFormatStyle , pattern : *const u16 , patternlength : i32 , locale : :: windows::core::PCSTR , parseerr : *mut UParseError , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); unum_open(style, pattern, patternlength, locale.into().abi(), parseerr, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_parse(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_parse ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_parse ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> i32 ); unum_parse(fmt, text, textlength, parsepos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6238,79 +6238,79 @@ pub unsafe fn unum_parseDecimal(fmt: *const *const ::core::ffi::c_void, text where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_parseDecimal ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , outbuf : :: windows::core::PCSTR , outbuflength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_parseDecimal ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , outbuf : :: windows::core::PCSTR , outbuflength : i32 , status : *mut UErrorCode ) -> i32 ); unum_parseDecimal(fmt, text, textlength, parsepos, outbuf.into().abi(), outbuflength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_parseDouble(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_parseDouble ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_parseDouble ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> f64 ); unum_parseDouble(fmt, text, textlength, parsepos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_parseDoubleCurrency(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, currency: *mut u16, status: *mut UErrorCode) -> f64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_parseDoubleCurrency ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , currency : *mut u16 , status : *mut UErrorCode ) -> f64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_parseDoubleCurrency ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , currency : *mut u16 , status : *mut UErrorCode ) -> f64 ); unum_parseDoubleCurrency(fmt, text, textlength, parsepos, currency, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_parseInt64(fmt: *const *const ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_parseInt64 ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_parseInt64 ( fmt : *const *const ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> i64 ); unum_parseInt64(fmt, text, textlength, parsepos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_parseToUFormattable(fmt: *const *const ::core::ffi::c_void, result: *mut *mut ::core::ffi::c_void, text: *const u16, textlength: i32, parsepos: *mut i32, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_parseToUFormattable ( fmt : *const *const ::core::ffi::c_void , result : *mut *mut ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_parseToUFormattable ( fmt : *const *const ::core::ffi::c_void , result : *mut *mut ::core::ffi::c_void , text : *const u16 , textlength : i32 , parsepos : *mut i32 , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); unum_parseToUFormattable(fmt, result, text, textlength, parsepos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_setAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumberFormatAttribute, newvalue: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_setAttribute ( fmt : *mut *mut ::core::ffi::c_void , attr : UNumberFormatAttribute , newvalue : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_setAttribute ( fmt : *mut *mut ::core::ffi::c_void , attr : UNumberFormatAttribute , newvalue : i32 ) -> ( ) ); unum_setAttribute(fmt, attr, newvalue) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_setContext(fmt: *mut *mut ::core::ffi::c_void, value: UDisplayContext, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_setContext ( fmt : *mut *mut ::core::ffi::c_void , value : UDisplayContext , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_setContext ( fmt : *mut *mut ::core::ffi::c_void , value : UDisplayContext , status : *mut UErrorCode ) -> ( ) ); unum_setContext(fmt, value, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_setDoubleAttribute(fmt: *mut *mut ::core::ffi::c_void, attr: UNumberFormatAttribute, newvalue: f64) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_setDoubleAttribute ( fmt : *mut *mut ::core::ffi::c_void , attr : UNumberFormatAttribute , newvalue : f64 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_setDoubleAttribute ( fmt : *mut *mut ::core::ffi::c_void , attr : UNumberFormatAttribute , newvalue : f64 ) -> ( ) ); unum_setDoubleAttribute(fmt, attr, newvalue) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_setSymbol(fmt: *mut *mut ::core::ffi::c_void, symbol: UNumberFormatSymbol, value: *const u16, length: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_setSymbol ( fmt : *mut *mut ::core::ffi::c_void , symbol : UNumberFormatSymbol , value : *const u16 , length : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_setSymbol ( fmt : *mut *mut ::core::ffi::c_void , symbol : UNumberFormatSymbol , value : *const u16 , length : i32 , status : *mut UErrorCode ) -> ( ) ); unum_setSymbol(fmt, symbol, value, length, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_setTextAttribute(fmt: *mut *mut ::core::ffi::c_void, tag: UNumberFormatTextAttribute, newvalue: *const u16, newvaluelength: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_setTextAttribute ( fmt : *mut *mut ::core::ffi::c_void , tag : UNumberFormatTextAttribute , newvalue : *const u16 , newvaluelength : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_setTextAttribute ( fmt : *mut *mut ::core::ffi::c_void , tag : UNumberFormatTextAttribute , newvalue : *const u16 , newvaluelength : i32 , status : *mut UErrorCode ) -> ( ) ); unum_setTextAttribute(fmt, tag, newvalue, newvaluelength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unum_toPattern(fmt: *const *const ::core::ffi::c_void, ispatternlocalized: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unum_toPattern ( fmt : *const *const ::core::ffi::c_void , ispatternlocalized : i8 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unum_toPattern ( fmt : *const *const ::core::ffi::c_void , ispatternlocalized : i8 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); unum_toPattern(fmt, ispatternlocalized, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_close(uformatter: *mut UNumberFormatter) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_close ( uformatter : *mut UNumberFormatter ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_close ( uformatter : *mut UNumberFormatter ) -> ( ) ); unumf_close(uformatter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_closeResult(uresult: *mut UFormattedNumber) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_closeResult ( uresult : *mut UFormattedNumber ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_closeResult ( uresult : *mut UFormattedNumber ) -> ( ) ); unumf_closeResult(uresult) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6319,19 +6319,19 @@ pub unsafe fn unumf_formatDecimal(uformatter: *const UNumberFormatter, value where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_formatDecimal ( uformatter : *const UNumberFormatter , value : :: windows::core::PCSTR , valuelen : i32 , uresult : *mut UFormattedNumber , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_formatDecimal ( uformatter : *const UNumberFormatter , value : :: windows::core::PCSTR , valuelen : i32 , uresult : *mut UFormattedNumber , ec : *mut UErrorCode ) -> ( ) ); unumf_formatDecimal(uformatter, value.into().abi(), valuelen, uresult, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_formatDouble(uformatter: *const UNumberFormatter, value: f64, uresult: *mut UFormattedNumber, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_formatDouble ( uformatter : *const UNumberFormatter , value : f64 , uresult : *mut UFormattedNumber , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_formatDouble ( uformatter : *const UNumberFormatter , value : f64 , uresult : *mut UFormattedNumber , ec : *mut UErrorCode ) -> ( ) ); unumf_formatDouble(uformatter, value, uresult, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_formatInt(uformatter: *const UNumberFormatter, value: i64, uresult: *mut UFormattedNumber, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_formatInt ( uformatter : *const UNumberFormatter , value : i64 , uresult : *mut UFormattedNumber , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_formatInt ( uformatter : *const UNumberFormatter , value : i64 , uresult : *mut UFormattedNumber , ec : *mut UErrorCode ) -> ( ) ); unumf_formatInt(uformatter, value, uresult, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6340,7 +6340,7 @@ pub unsafe fn unumf_openForSkeletonAndLocale(skeleton: *const u16, skeletonl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_openForSkeletonAndLocale ( skeleton : *const u16 , skeletonlen : i32 , locale : :: windows::core::PCSTR , ec : *mut UErrorCode ) -> *mut UNumberFormatter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_openForSkeletonAndLocale ( skeleton : *const u16 , skeletonlen : i32 , locale : :: windows::core::PCSTR , ec : *mut UErrorCode ) -> *mut UNumberFormatter ); unumf_openForSkeletonAndLocale(skeleton, skeletonlen, locale.into().abi(), ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6349,67 +6349,67 @@ pub unsafe fn unumf_openForSkeletonAndLocaleWithError(skeleton: *const u16, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_openForSkeletonAndLocaleWithError ( skeleton : *const u16 , skeletonlen : i32 , locale : :: windows::core::PCSTR , perror : *mut UParseError , ec : *mut UErrorCode ) -> *mut UNumberFormatter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_openForSkeletonAndLocaleWithError ( skeleton : *const u16 , skeletonlen : i32 , locale : :: windows::core::PCSTR , perror : *mut UParseError , ec : *mut UErrorCode ) -> *mut UNumberFormatter ); unumf_openForSkeletonAndLocaleWithError(skeleton, skeletonlen, locale.into().abi(), perror, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_openResult(ec: *mut UErrorCode) -> *mut UFormattedNumber { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_openResult ( ec : *mut UErrorCode ) -> *mut UFormattedNumber ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_openResult ( ec : *mut UErrorCode ) -> *mut UFormattedNumber ); unumf_openResult(ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_resultAsValue(uresult: *const UFormattedNumber, ec: *mut UErrorCode) -> *mut UFormattedValue { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_resultAsValue ( uresult : *const UFormattedNumber , ec : *mut UErrorCode ) -> *mut UFormattedValue ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_resultAsValue ( uresult : *const UFormattedNumber , ec : *mut UErrorCode ) -> *mut UFormattedValue ); unumf_resultAsValue(uresult, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_resultGetAllFieldPositions(uresult: *const UFormattedNumber, ufpositer: *mut UFieldPositionIterator, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_resultGetAllFieldPositions ( uresult : *const UFormattedNumber , ufpositer : *mut UFieldPositionIterator , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_resultGetAllFieldPositions ( uresult : *const UFormattedNumber , ufpositer : *mut UFieldPositionIterator , ec : *mut UErrorCode ) -> ( ) ); unumf_resultGetAllFieldPositions(uresult, ufpositer, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_resultNextFieldPosition(uresult: *const UFormattedNumber, ufpos: *mut UFieldPosition, ec: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_resultNextFieldPosition ( uresult : *const UFormattedNumber , ufpos : *mut UFieldPosition , ec : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_resultNextFieldPosition ( uresult : *const UFormattedNumber , ufpos : *mut UFieldPosition , ec : *mut UErrorCode ) -> i8 ); unumf_resultNextFieldPosition(uresult, ufpos, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumf_resultToString(uresult: *const UFormattedNumber, buffer: *mut u16, buffercapacity: i32, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumf_resultToString ( uresult : *const UFormattedNumber , buffer : *mut u16 , buffercapacity : i32 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumf_resultToString ( uresult : *const UFormattedNumber , buffer : *mut u16 , buffercapacity : i32 , ec : *mut UErrorCode ) -> i32 ); unumf_resultToString(uresult, buffer, buffercapacity, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumsys_close(unumsys: *mut UNumberingSystem) { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumsys_close ( unumsys : *mut UNumberingSystem ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumsys_close ( unumsys : *mut UNumberingSystem ) -> ( ) ); unumsys_close(unumsys) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumsys_getDescription(unumsys: *const UNumberingSystem, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumsys_getDescription ( unumsys : *const UNumberingSystem , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumsys_getDescription ( unumsys : *const UNumberingSystem , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); unumsys_getDescription(unumsys, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumsys_getName(unumsys: *const UNumberingSystem) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumsys_getName ( unumsys : *const UNumberingSystem ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumsys_getName ( unumsys : *const UNumberingSystem ) -> :: windows::core::PSTR ); unumsys_getName(unumsys) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumsys_getRadix(unumsys: *const UNumberingSystem) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumsys_getRadix ( unumsys : *const UNumberingSystem ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumsys_getRadix ( unumsys : *const UNumberingSystem ) -> i32 ); unumsys_getRadix(unumsys) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumsys_isAlgorithmic(unumsys: *const UNumberingSystem) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumsys_isAlgorithmic ( unumsys : *const UNumberingSystem ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumsys_isAlgorithmic ( unumsys : *const UNumberingSystem ) -> i8 ); unumsys_isAlgorithmic(unumsys) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6418,13 +6418,13 @@ pub unsafe fn unumsys_open(locale: P0, status: *mut UErrorCode) -> *mut UNum where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumsys_open ( locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UNumberingSystem ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumsys_open ( locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UNumberingSystem ); unumsys_open(locale.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn unumsys_openAvailableNames(status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumsys_openAvailableNames ( status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumsys_openAvailableNames ( status : *mut UErrorCode ) -> *mut UEnumeration ); unumsys_openAvailableNames(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6433,19 +6433,19 @@ pub unsafe fn unumsys_openByName(name: P0, status: *mut UErrorCode) -> *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn unumsys_openByName ( name : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UNumberingSystem ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn unumsys_openByName ( name : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UNumberingSystem ); unumsys_openByName(name.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uplrules_close(uplrules: *mut UPluralRules) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uplrules_close ( uplrules : *mut UPluralRules ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uplrules_close ( uplrules : *mut UPluralRules ) -> ( ) ); uplrules_close(uplrules) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uplrules_getKeywords(uplrules: *const UPluralRules, status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn uplrules_getKeywords ( uplrules : *const UPluralRules , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uplrules_getKeywords ( uplrules : *const UPluralRules , status : *mut UErrorCode ) -> *mut UEnumeration ); uplrules_getKeywords(uplrules, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6454,7 +6454,7 @@ pub unsafe fn uplrules_open(locale: P0, status: *mut UErrorCode) -> *mut UPl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uplrules_open ( locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UPluralRules ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uplrules_open ( locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UPluralRules ); uplrules_open(locale.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6463,139 +6463,139 @@ pub unsafe fn uplrules_openForType(locale: P0, r#type: UPluralType, status: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uplrules_openForType ( locale : :: windows::core::PCSTR , r#type : UPluralType , status : *mut UErrorCode ) -> *mut UPluralRules ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uplrules_openForType ( locale : :: windows::core::PCSTR , r#type : UPluralType , status : *mut UErrorCode ) -> *mut UPluralRules ); uplrules_openForType(locale.into().abi(), r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uplrules_select(uplrules: *const UPluralRules, number: f64, keyword: *mut u16, capacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uplrules_select ( uplrules : *const UPluralRules , number : f64 , keyword : *mut u16 , capacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uplrules_select ( uplrules : *const UPluralRules , number : f64 , keyword : *mut u16 , capacity : i32 , status : *mut UErrorCode ) -> i32 ); uplrules_select(uplrules, number, keyword, capacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uplrules_selectFormatted(uplrules: *const UPluralRules, number: *const UFormattedNumber, keyword: *mut u16, capacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uplrules_selectFormatted ( uplrules : *const UPluralRules , number : *const UFormattedNumber , keyword : *mut u16 , capacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uplrules_selectFormatted ( uplrules : *const UPluralRules , number : *const UFormattedNumber , keyword : *mut u16 , capacity : i32 , status : *mut UErrorCode ) -> i32 ); uplrules_selectFormatted(uplrules, number, keyword, capacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_appendReplacement(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut *mut u16, destcapacity: *mut i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_appendReplacement ( regexp : *mut URegularExpression , replacementtext : *const u16 , replacementlength : i32 , destbuf : *mut *mut u16 , destcapacity : *mut i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_appendReplacement ( regexp : *mut URegularExpression , replacementtext : *const u16 , replacementlength : i32 , destbuf : *mut *mut u16 , destcapacity : *mut i32 , status : *mut UErrorCode ) -> i32 ); uregex_appendReplacement(regexp, replacementtext, replacementlength, destbuf, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_appendReplacementUText(regexp: *mut URegularExpression, replacementtext: *mut UText, dest: *mut UText, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_appendReplacementUText ( regexp : *mut URegularExpression , replacementtext : *mut UText , dest : *mut UText , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_appendReplacementUText ( regexp : *mut URegularExpression , replacementtext : *mut UText , dest : *mut UText , status : *mut UErrorCode ) -> ( ) ); uregex_appendReplacementUText(regexp, replacementtext, dest, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_appendTail(regexp: *mut URegularExpression, destbuf: *mut *mut u16, destcapacity: *mut i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_appendTail ( regexp : *mut URegularExpression , destbuf : *mut *mut u16 , destcapacity : *mut i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_appendTail ( regexp : *mut URegularExpression , destbuf : *mut *mut u16 , destcapacity : *mut i32 , status : *mut UErrorCode ) -> i32 ); uregex_appendTail(regexp, destbuf, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_appendTailUText(regexp: *mut URegularExpression, dest: *mut UText, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_appendTailUText ( regexp : *mut URegularExpression , dest : *mut UText , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_appendTailUText ( regexp : *mut URegularExpression , dest : *mut UText , status : *mut UErrorCode ) -> *mut UText ); uregex_appendTailUText(regexp, dest, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_clone(regexp: *const URegularExpression, status: *mut UErrorCode) -> *mut URegularExpression { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_clone ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> *mut URegularExpression ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_clone ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> *mut URegularExpression ); uregex_clone(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_close(regexp: *mut URegularExpression) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_close ( regexp : *mut URegularExpression ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_close ( regexp : *mut URegularExpression ) -> ( ) ); uregex_close(regexp) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_end(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_end ( regexp : *mut URegularExpression , groupnum : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_end ( regexp : *mut URegularExpression , groupnum : i32 , status : *mut UErrorCode ) -> i32 ); uregex_end(regexp, groupnum, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_end64(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_end64 ( regexp : *mut URegularExpression , groupnum : i32 , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_end64 ( regexp : *mut URegularExpression , groupnum : i32 , status : *mut UErrorCode ) -> i64 ); uregex_end64(regexp, groupnum, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_find(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_find ( regexp : *mut URegularExpression , startindex : i32 , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_find ( regexp : *mut URegularExpression , startindex : i32 , status : *mut UErrorCode ) -> i8 ); uregex_find(regexp, startindex, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_find64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_find64 ( regexp : *mut URegularExpression , startindex : i64 , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_find64 ( regexp : *mut URegularExpression , startindex : i64 , status : *mut UErrorCode ) -> i8 ); uregex_find64(regexp, startindex, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_findNext(regexp: *mut URegularExpression, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_findNext ( regexp : *mut URegularExpression , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_findNext ( regexp : *mut URegularExpression , status : *mut UErrorCode ) -> i8 ); uregex_findNext(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_flags(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_flags ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_flags ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); uregex_flags(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_getFindProgressCallback(regexp: *const URegularExpression, callback: *mut URegexFindProgressCallback, context: *const *const ::core::ffi::c_void, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_getFindProgressCallback ( regexp : *const URegularExpression , callback : *mut URegexFindProgressCallback , context : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_getFindProgressCallback ( regexp : *const URegularExpression , callback : *mut URegexFindProgressCallback , context : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); uregex_getFindProgressCallback(regexp, callback, context, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_getMatchCallback(regexp: *const URegularExpression, callback: *mut URegexMatchCallback, context: *const *const ::core::ffi::c_void, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_getMatchCallback ( regexp : *const URegularExpression , callback : *mut URegexMatchCallback , context : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_getMatchCallback ( regexp : *const URegularExpression , callback : *mut URegexMatchCallback , context : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); uregex_getMatchCallback(regexp, callback, context, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_getStackLimit(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_getStackLimit ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_getStackLimit ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); uregex_getStackLimit(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_getText(regexp: *mut URegularExpression, textlength: *mut i32, status: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_getText ( regexp : *mut URegularExpression , textlength : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_getText ( regexp : *mut URegularExpression , textlength : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); uregex_getText(regexp, textlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_getTimeLimit(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_getTimeLimit ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_getTimeLimit ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); uregex_getTimeLimit(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_getUText(regexp: *mut URegularExpression, dest: *mut UText, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_getUText ( regexp : *mut URegularExpression , dest : *mut UText , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_getUText ( regexp : *mut URegularExpression , dest : *mut UText , status : *mut UErrorCode ) -> *mut UText ); uregex_getUText(regexp, dest, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_group(regexp: *mut URegularExpression, groupnum: i32, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_group ( regexp : *mut URegularExpression , groupnum : i32 , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_group ( regexp : *mut URegularExpression , groupnum : i32 , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uregex_group(regexp, groupnum, dest, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_groupCount(regexp: *mut URegularExpression, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_groupCount ( regexp : *mut URegularExpression , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_groupCount ( regexp : *mut URegularExpression , status : *mut UErrorCode ) -> i32 ); uregex_groupCount(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6604,67 +6604,67 @@ pub unsafe fn uregex_groupNumberFromCName(regexp: *mut URegularExpression, g where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_groupNumberFromCName ( regexp : *mut URegularExpression , groupname : :: windows::core::PCSTR , namelength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_groupNumberFromCName ( regexp : *mut URegularExpression , groupname : :: windows::core::PCSTR , namelength : i32 , status : *mut UErrorCode ) -> i32 ); uregex_groupNumberFromCName(regexp, groupname.into().abi(), namelength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_groupNumberFromName(regexp: *mut URegularExpression, groupname: *const u16, namelength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_groupNumberFromName ( regexp : *mut URegularExpression , groupname : *const u16 , namelength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_groupNumberFromName ( regexp : *mut URegularExpression , groupname : *const u16 , namelength : i32 , status : *mut UErrorCode ) -> i32 ); uregex_groupNumberFromName(regexp, groupname, namelength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_groupUText(regexp: *mut URegularExpression, groupnum: i32, dest: *mut UText, grouplength: *mut i64, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_groupUText ( regexp : *mut URegularExpression , groupnum : i32 , dest : *mut UText , grouplength : *mut i64 , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_groupUText ( regexp : *mut URegularExpression , groupnum : i32 , dest : *mut UText , grouplength : *mut i64 , status : *mut UErrorCode ) -> *mut UText ); uregex_groupUText(regexp, groupnum, dest, grouplength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_hasAnchoringBounds(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_hasAnchoringBounds ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_hasAnchoringBounds ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i8 ); uregex_hasAnchoringBounds(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_hasTransparentBounds(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_hasTransparentBounds ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_hasTransparentBounds ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i8 ); uregex_hasTransparentBounds(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_hitEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_hitEnd ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_hitEnd ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i8 ); uregex_hitEnd(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_lookingAt(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_lookingAt ( regexp : *mut URegularExpression , startindex : i32 , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_lookingAt ( regexp : *mut URegularExpression , startindex : i32 , status : *mut UErrorCode ) -> i8 ); uregex_lookingAt(regexp, startindex, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_lookingAt64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_lookingAt64 ( regexp : *mut URegularExpression , startindex : i64 , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_lookingAt64 ( regexp : *mut URegularExpression , startindex : i64 , status : *mut UErrorCode ) -> i8 ); uregex_lookingAt64(regexp, startindex, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_matches(regexp: *mut URegularExpression, startindex: i32, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_matches ( regexp : *mut URegularExpression , startindex : i32 , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_matches ( regexp : *mut URegularExpression , startindex : i32 , status : *mut UErrorCode ) -> i8 ); uregex_matches(regexp, startindex, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_matches64(regexp: *mut URegularExpression, startindex: i64, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_matches64 ( regexp : *mut URegularExpression , startindex : i64 , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_matches64 ( regexp : *mut URegularExpression , startindex : i64 , status : *mut UErrorCode ) -> i8 ); uregex_matches64(regexp, startindex, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_open(pattern: *const u16, patternlength: i32, flags: u32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut URegularExpression { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_open ( pattern : *const u16 , patternlength : i32 , flags : u32 , pe : *mut UParseError , status : *mut UErrorCode ) -> *mut URegularExpression ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_open ( pattern : *const u16 , patternlength : i32 , flags : u32 , pe : *mut UParseError , status : *mut UErrorCode ) -> *mut URegularExpression ); uregex_open(pattern, patternlength, flags, pe, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6673,247 +6673,247 @@ pub unsafe fn uregex_openC(pattern: P0, flags: u32, pe: *mut UParseError, st where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_openC ( pattern : :: windows::core::PCSTR , flags : u32 , pe : *mut UParseError , status : *mut UErrorCode ) -> *mut URegularExpression ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_openC ( pattern : :: windows::core::PCSTR , flags : u32 , pe : *mut UParseError , status : *mut UErrorCode ) -> *mut URegularExpression ); uregex_openC(pattern.into().abi(), flags, pe, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_openUText(pattern: *mut UText, flags: u32, pe: *mut UParseError, status: *mut UErrorCode) -> *mut URegularExpression { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_openUText ( pattern : *mut UText , flags : u32 , pe : *mut UParseError , status : *mut UErrorCode ) -> *mut URegularExpression ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_openUText ( pattern : *mut UText , flags : u32 , pe : *mut UParseError , status : *mut UErrorCode ) -> *mut URegularExpression ); uregex_openUText(pattern, flags, pe, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_pattern(regexp: *const URegularExpression, patlength: *mut i32, status: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_pattern ( regexp : *const URegularExpression , patlength : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_pattern ( regexp : *const URegularExpression , patlength : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); uregex_pattern(regexp, patlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_patternUText(regexp: *const URegularExpression, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_patternUText ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_patternUText ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> *mut UText ); uregex_patternUText(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_refreshUText(regexp: *mut URegularExpression, text: *mut UText, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_refreshUText ( regexp : *mut URegularExpression , text : *mut UText , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_refreshUText ( regexp : *mut URegularExpression , text : *mut UText , status : *mut UErrorCode ) -> ( ) ); uregex_refreshUText(regexp, text, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_regionEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_regionEnd ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_regionEnd ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); uregex_regionEnd(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_regionEnd64(regexp: *const URegularExpression, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_regionEnd64 ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_regionEnd64 ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i64 ); uregex_regionEnd64(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_regionStart(regexp: *const URegularExpression, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_regionStart ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_regionStart ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i32 ); uregex_regionStart(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_regionStart64(regexp: *const URegularExpression, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_regionStart64 ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_regionStart64 ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i64 ); uregex_regionStart64(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_replaceAll(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_replaceAll ( regexp : *mut URegularExpression , replacementtext : *const u16 , replacementlength : i32 , destbuf : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_replaceAll ( regexp : *mut URegularExpression , replacementtext : *const u16 , replacementlength : i32 , destbuf : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uregex_replaceAll(regexp, replacementtext, replacementlength, destbuf, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_replaceAllUText(regexp: *mut URegularExpression, replacement: *mut UText, dest: *mut UText, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_replaceAllUText ( regexp : *mut URegularExpression , replacement : *mut UText , dest : *mut UText , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_replaceAllUText ( regexp : *mut URegularExpression , replacement : *mut UText , dest : *mut UText , status : *mut UErrorCode ) -> *mut UText ); uregex_replaceAllUText(regexp, replacement, dest, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_replaceFirst(regexp: *mut URegularExpression, replacementtext: *const u16, replacementlength: i32, destbuf: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_replaceFirst ( regexp : *mut URegularExpression , replacementtext : *const u16 , replacementlength : i32 , destbuf : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_replaceFirst ( regexp : *mut URegularExpression , replacementtext : *const u16 , replacementlength : i32 , destbuf : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uregex_replaceFirst(regexp, replacementtext, replacementlength, destbuf, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_replaceFirstUText(regexp: *mut URegularExpression, replacement: *mut UText, dest: *mut UText, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_replaceFirstUText ( regexp : *mut URegularExpression , replacement : *mut UText , dest : *mut UText , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_replaceFirstUText ( regexp : *mut URegularExpression , replacement : *mut UText , dest : *mut UText , status : *mut UErrorCode ) -> *mut UText ); uregex_replaceFirstUText(regexp, replacement, dest, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_requireEnd(regexp: *const URegularExpression, status: *mut UErrorCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_requireEnd ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_requireEnd ( regexp : *const URegularExpression , status : *mut UErrorCode ) -> i8 ); uregex_requireEnd(regexp, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_reset(regexp: *mut URegularExpression, index: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_reset ( regexp : *mut URegularExpression , index : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_reset ( regexp : *mut URegularExpression , index : i32 , status : *mut UErrorCode ) -> ( ) ); uregex_reset(regexp, index, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_reset64(regexp: *mut URegularExpression, index: i64, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_reset64 ( regexp : *mut URegularExpression , index : i64 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_reset64 ( regexp : *mut URegularExpression , index : i64 , status : *mut UErrorCode ) -> ( ) ); uregex_reset64(regexp, index, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setFindProgressCallback(regexp: *mut URegularExpression, callback: URegexFindProgressCallback, context: *const ::core::ffi::c_void, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setFindProgressCallback ( regexp : *mut URegularExpression , callback : URegexFindProgressCallback , context : *const ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setFindProgressCallback ( regexp : *mut URegularExpression , callback : URegexFindProgressCallback , context : *const ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); uregex_setFindProgressCallback(regexp, callback, context, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setMatchCallback(regexp: *mut URegularExpression, callback: URegexMatchCallback, context: *const ::core::ffi::c_void, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setMatchCallback ( regexp : *mut URegularExpression , callback : URegexMatchCallback , context : *const ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setMatchCallback ( regexp : *mut URegularExpression , callback : URegexMatchCallback , context : *const ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); uregex_setMatchCallback(regexp, callback, context, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setRegion(regexp: *mut URegularExpression, regionstart: i32, regionlimit: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setRegion ( regexp : *mut URegularExpression , regionstart : i32 , regionlimit : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setRegion ( regexp : *mut URegularExpression , regionstart : i32 , regionlimit : i32 , status : *mut UErrorCode ) -> ( ) ); uregex_setRegion(regexp, regionstart, regionlimit, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setRegion64(regexp: *mut URegularExpression, regionstart: i64, regionlimit: i64, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setRegion64 ( regexp : *mut URegularExpression , regionstart : i64 , regionlimit : i64 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setRegion64 ( regexp : *mut URegularExpression , regionstart : i64 , regionlimit : i64 , status : *mut UErrorCode ) -> ( ) ); uregex_setRegion64(regexp, regionstart, regionlimit, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setRegionAndStart(regexp: *mut URegularExpression, regionstart: i64, regionlimit: i64, startindex: i64, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setRegionAndStart ( regexp : *mut URegularExpression , regionstart : i64 , regionlimit : i64 , startindex : i64 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setRegionAndStart ( regexp : *mut URegularExpression , regionstart : i64 , regionlimit : i64 , startindex : i64 , status : *mut UErrorCode ) -> ( ) ); uregex_setRegionAndStart(regexp, regionstart, regionlimit, startindex, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setStackLimit(regexp: *mut URegularExpression, limit: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setStackLimit ( regexp : *mut URegularExpression , limit : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setStackLimit ( regexp : *mut URegularExpression , limit : i32 , status : *mut UErrorCode ) -> ( ) ); uregex_setStackLimit(regexp, limit, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setText(regexp: *mut URegularExpression, text: *const u16, textlength: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setText ( regexp : *mut URegularExpression , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setText ( regexp : *mut URegularExpression , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> ( ) ); uregex_setText(regexp, text, textlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setTimeLimit(regexp: *mut URegularExpression, limit: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setTimeLimit ( regexp : *mut URegularExpression , limit : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setTimeLimit ( regexp : *mut URegularExpression , limit : i32 , status : *mut UErrorCode ) -> ( ) ); uregex_setTimeLimit(regexp, limit, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_setUText(regexp: *mut URegularExpression, text: *mut UText, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_setUText ( regexp : *mut URegularExpression , text : *mut UText , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_setUText ( regexp : *mut URegularExpression , text : *mut UText , status : *mut UErrorCode ) -> ( ) ); uregex_setUText(regexp, text, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_split(regexp: *mut URegularExpression, destbuf: *mut u16, destcapacity: i32, requiredcapacity: *mut i32, destfields: *mut *mut u16, destfieldscapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_split ( regexp : *mut URegularExpression , destbuf : *mut u16 , destcapacity : i32 , requiredcapacity : *mut i32 , destfields : *mut *mut u16 , destfieldscapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_split ( regexp : *mut URegularExpression , destbuf : *mut u16 , destcapacity : i32 , requiredcapacity : *mut i32 , destfields : *mut *mut u16 , destfieldscapacity : i32 , status : *mut UErrorCode ) -> i32 ); uregex_split(regexp, destbuf, destcapacity, requiredcapacity, destfields, destfieldscapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_splitUText(regexp: *mut URegularExpression, destfields: *mut *mut UText, destfieldscapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_splitUText ( regexp : *mut URegularExpression , destfields : *mut *mut UText , destfieldscapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_splitUText ( regexp : *mut URegularExpression , destfields : *mut *mut UText , destfieldscapacity : i32 , status : *mut UErrorCode ) -> i32 ); uregex_splitUText(regexp, destfields, destfieldscapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_start(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_start ( regexp : *mut URegularExpression , groupnum : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_start ( regexp : *mut URegularExpression , groupnum : i32 , status : *mut UErrorCode ) -> i32 ); uregex_start(regexp, groupnum, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_start64(regexp: *mut URegularExpression, groupnum: i32, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_start64 ( regexp : *mut URegularExpression , groupnum : i32 , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_start64 ( regexp : *mut URegularExpression , groupnum : i32 , status : *mut UErrorCode ) -> i64 ); uregex_start64(regexp, groupnum, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_useAnchoringBounds(regexp: *mut URegularExpression, b: i8, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_useAnchoringBounds ( regexp : *mut URegularExpression , b : i8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_useAnchoringBounds ( regexp : *mut URegularExpression , b : i8 , status : *mut UErrorCode ) -> ( ) ); uregex_useAnchoringBounds(regexp, b, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregex_useTransparentBounds(regexp: *mut URegularExpression, b: i8, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregex_useTransparentBounds ( regexp : *mut URegularExpression , b : i8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregex_useTransparentBounds ( regexp : *mut URegularExpression , b : i8 , status : *mut UErrorCode ) -> ( ) ); uregex_useTransparentBounds(regexp, b, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_areEqual(uregion: *const URegion, otherregion: *const URegion) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_areEqual ( uregion : *const URegion , otherregion : *const URegion ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_areEqual ( uregion : *const URegion , otherregion : *const URegion ) -> i8 ); uregion_areEqual(uregion, otherregion) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_contains(uregion: *const URegion, otherregion: *const URegion) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_contains ( uregion : *const URegion , otherregion : *const URegion ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_contains ( uregion : *const URegion , otherregion : *const URegion ) -> i8 ); uregion_contains(uregion, otherregion) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getAvailable(r#type: URegionType, status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getAvailable ( r#type : URegionType , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getAvailable ( r#type : URegionType , status : *mut UErrorCode ) -> *mut UEnumeration ); uregion_getAvailable(r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getContainedRegions(uregion: *const URegion, status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getContainedRegions ( uregion : *const URegion , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getContainedRegions ( uregion : *const URegion , status : *mut UErrorCode ) -> *mut UEnumeration ); uregion_getContainedRegions(uregion, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getContainedRegionsOfType(uregion: *const URegion, r#type: URegionType, status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getContainedRegionsOfType ( uregion : *const URegion , r#type : URegionType , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getContainedRegionsOfType ( uregion : *const URegion , r#type : URegionType , status : *mut UErrorCode ) -> *mut UEnumeration ); uregion_getContainedRegionsOfType(uregion, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getContainingRegion(uregion: *const URegion) -> *mut URegion { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getContainingRegion ( uregion : *const URegion ) -> *mut URegion ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getContainingRegion ( uregion : *const URegion ) -> *mut URegion ); uregion_getContainingRegion(uregion) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getContainingRegionOfType(uregion: *const URegion, r#type: URegionType) -> *mut URegion { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getContainingRegionOfType ( uregion : *const URegion , r#type : URegionType ) -> *mut URegion ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getContainingRegionOfType ( uregion : *const URegion , r#type : URegionType ) -> *mut URegion ); uregion_getContainingRegionOfType(uregion, r#type) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getNumericCode(uregion: *const URegion) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getNumericCode ( uregion : *const URegion ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getNumericCode ( uregion : *const URegion ) -> i32 ); uregion_getNumericCode(uregion) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getPreferredValues(uregion: *const URegion, status: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getPreferredValues ( uregion : *const URegion , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getPreferredValues ( uregion : *const URegion , status : *mut UErrorCode ) -> *mut UEnumeration ); uregion_getPreferredValues(uregion, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getRegionCode(uregion: *const URegion) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getRegionCode ( uregion : *const URegion ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getRegionCode ( uregion : *const URegion ) -> :: windows::core::PSTR ); uregion_getRegionCode(uregion) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6922,61 +6922,61 @@ pub unsafe fn uregion_getRegionFromCode(regioncode: P0, status: *mut UErrorC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getRegionFromCode ( regioncode : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut URegion ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getRegionFromCode ( regioncode : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut URegion ); uregion_getRegionFromCode(regioncode.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getRegionFromNumericCode(code: i32, status: *mut UErrorCode) -> *mut URegion { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getRegionFromNumericCode ( code : i32 , status : *mut UErrorCode ) -> *mut URegion ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getRegionFromNumericCode ( code : i32 , status : *mut UErrorCode ) -> *mut URegion ); uregion_getRegionFromNumericCode(code, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uregion_getType(uregion: *const URegion) -> URegionType { - ::windows::core::link ! ( "icu.dll""cdecl" fn uregion_getType ( uregion : *const URegion ) -> URegionType ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uregion_getType ( uregion : *const URegion ) -> URegionType ); uregion_getType(uregion) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_close(reldatefmt: *mut URelativeDateTimeFormatter) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_close ( reldatefmt : *mut URelativeDateTimeFormatter ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_close ( reldatefmt : *mut URelativeDateTimeFormatter ) -> ( ) ); ureldatefmt_close(reldatefmt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_closeResult(ufrdt: *mut UFormattedRelativeDateTime) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_closeResult ( ufrdt : *mut UFormattedRelativeDateTime ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_closeResult ( ufrdt : *mut UFormattedRelativeDateTime ) -> ( ) ); ureldatefmt_closeResult(ufrdt) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_combineDateAndTime(reldatefmt: *const URelativeDateTimeFormatter, relativedatestring: *const u16, relativedatestringlen: i32, timestring: *const u16, timestringlen: i32, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_combineDateAndTime ( reldatefmt : *const URelativeDateTimeFormatter , relativedatestring : *const u16 , relativedatestringlen : i32 , timestring : *const u16 , timestringlen : i32 , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_combineDateAndTime ( reldatefmt : *const URelativeDateTimeFormatter , relativedatestring : *const u16 , relativedatestringlen : i32 , timestring : *const u16 , timestringlen : i32 , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); ureldatefmt_combineDateAndTime(reldatefmt, relativedatestring, relativedatestringlen, timestring, timestringlen, result, resultcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_format(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_format ( reldatefmt : *const URelativeDateTimeFormatter , offset : f64 , unit : URelativeDateTimeUnit , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_format ( reldatefmt : *const URelativeDateTimeFormatter , offset : f64 , unit : URelativeDateTimeUnit , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); ureldatefmt_format(reldatefmt, offset, unit, result, resultcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_formatNumeric(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_formatNumeric ( reldatefmt : *const URelativeDateTimeFormatter , offset : f64 , unit : URelativeDateTimeUnit , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_formatNumeric ( reldatefmt : *const URelativeDateTimeFormatter , offset : f64 , unit : URelativeDateTimeUnit , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); ureldatefmt_formatNumeric(reldatefmt, offset, unit, result, resultcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_formatNumericToResult(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut UFormattedRelativeDateTime, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_formatNumericToResult ( reldatefmt : *const URelativeDateTimeFormatter , offset : f64 , unit : URelativeDateTimeUnit , result : *mut UFormattedRelativeDateTime , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_formatNumericToResult ( reldatefmt : *const URelativeDateTimeFormatter , offset : f64 , unit : URelativeDateTimeUnit , result : *mut UFormattedRelativeDateTime , status : *mut UErrorCode ) -> ( ) ); ureldatefmt_formatNumericToResult(reldatefmt, offset, unit, result, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_formatToResult(reldatefmt: *const URelativeDateTimeFormatter, offset: f64, unit: URelativeDateTimeUnit, result: *mut UFormattedRelativeDateTime, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_formatToResult ( reldatefmt : *const URelativeDateTimeFormatter , offset : f64 , unit : URelativeDateTimeUnit , result : *mut UFormattedRelativeDateTime , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_formatToResult ( reldatefmt : *const URelativeDateTimeFormatter , offset : f64 , unit : URelativeDateTimeUnit , result : *mut UFormattedRelativeDateTime , status : *mut UErrorCode ) -> ( ) ); ureldatefmt_formatToResult(reldatefmt, offset, unit, result, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -6985,37 +6985,37 @@ pub unsafe fn ureldatefmt_open(locale: P0, nftoadopt: *mut *mut ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_open ( locale : :: windows::core::PCSTR , nftoadopt : *mut *mut ::core::ffi::c_void , width : UDateRelativeDateTimeFormatterStyle , capitalizationcontext : UDisplayContext , status : *mut UErrorCode ) -> *mut URelativeDateTimeFormatter ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_open ( locale : :: windows::core::PCSTR , nftoadopt : *mut *mut ::core::ffi::c_void , width : UDateRelativeDateTimeFormatterStyle , capitalizationcontext : UDisplayContext , status : *mut UErrorCode ) -> *mut URelativeDateTimeFormatter ); ureldatefmt_open(locale.into().abi(), nftoadopt, width, capitalizationcontext, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_openResult(ec: *mut UErrorCode) -> *mut UFormattedRelativeDateTime { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_openResult ( ec : *mut UErrorCode ) -> *mut UFormattedRelativeDateTime ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_openResult ( ec : *mut UErrorCode ) -> *mut UFormattedRelativeDateTime ); ureldatefmt_openResult(ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ureldatefmt_resultAsValue(ufrdt: *const UFormattedRelativeDateTime, ec: *mut UErrorCode) -> *mut UFormattedValue { - ::windows::core::link ! ( "icu.dll""cdecl" fn ureldatefmt_resultAsValue ( ufrdt : *const UFormattedRelativeDateTime , ec : *mut UErrorCode ) -> *mut UFormattedValue ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ureldatefmt_resultAsValue ( ufrdt : *const UFormattedRelativeDateTime , ec : *mut UErrorCode ) -> *mut UFormattedValue ); ureldatefmt_resultAsValue(ufrdt, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_close(resourcebundle: *mut UResourceBundle) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_close ( resourcebundle : *mut UResourceBundle ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_close ( resourcebundle : *mut UResourceBundle ) -> ( ) ); ures_close(resourcebundle) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getBinary(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut u8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getBinary ( resourcebundle : *const UResourceBundle , len : *mut i32 , status : *mut UErrorCode ) -> *mut u8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getBinary ( resourcebundle : *const UResourceBundle , len : *mut i32 , status : *mut UErrorCode ) -> *mut u8 ); ures_getBinary(resourcebundle, len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getByIndex(resourcebundle: *const UResourceBundle, indexr: i32, fillin: *mut UResourceBundle, status: *mut UErrorCode) -> *mut UResourceBundle { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getByIndex ( resourcebundle : *const UResourceBundle , indexr : i32 , fillin : *mut UResourceBundle , status : *mut UErrorCode ) -> *mut UResourceBundle ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getByIndex ( resourcebundle : *const UResourceBundle , indexr : i32 , fillin : *mut UResourceBundle , status : *mut UErrorCode ) -> *mut UResourceBundle ); ures_getByIndex(resourcebundle, indexr, fillin, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7024,61 +7024,61 @@ pub unsafe fn ures_getByKey(resourcebundle: *const UResourceBundle, key: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getByKey ( resourcebundle : *const UResourceBundle , key : :: windows::core::PCSTR , fillin : *mut UResourceBundle , status : *mut UErrorCode ) -> *mut UResourceBundle ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getByKey ( resourcebundle : *const UResourceBundle , key : :: windows::core::PCSTR , fillin : *mut UResourceBundle , status : *mut UErrorCode ) -> *mut UResourceBundle ); ures_getByKey(resourcebundle, key.into().abi(), fillin, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getInt(resourcebundle: *const UResourceBundle, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getInt ( resourcebundle : *const UResourceBundle , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getInt ( resourcebundle : *const UResourceBundle , status : *mut UErrorCode ) -> i32 ); ures_getInt(resourcebundle, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getIntVector(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getIntVector ( resourcebundle : *const UResourceBundle , len : *mut i32 , status : *mut UErrorCode ) -> *mut i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getIntVector ( resourcebundle : *const UResourceBundle , len : *mut i32 , status : *mut UErrorCode ) -> *mut i32 ); ures_getIntVector(resourcebundle, len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getKey(resourcebundle: *const UResourceBundle) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getKey ( resourcebundle : *const UResourceBundle ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getKey ( resourcebundle : *const UResourceBundle ) -> :: windows::core::PSTR ); ures_getKey(resourcebundle) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getLocaleByType(resourcebundle: *const UResourceBundle, r#type: ULocDataLocaleType, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getLocaleByType ( resourcebundle : *const UResourceBundle , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getLocaleByType ( resourcebundle : *const UResourceBundle , r#type : ULocDataLocaleType , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ures_getLocaleByType(resourcebundle, r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getNextResource(resourcebundle: *mut UResourceBundle, fillin: *mut UResourceBundle, status: *mut UErrorCode) -> *mut UResourceBundle { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getNextResource ( resourcebundle : *mut UResourceBundle , fillin : *mut UResourceBundle , status : *mut UErrorCode ) -> *mut UResourceBundle ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getNextResource ( resourcebundle : *mut UResourceBundle , fillin : *mut UResourceBundle , status : *mut UErrorCode ) -> *mut UResourceBundle ); ures_getNextResource(resourcebundle, fillin, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getNextString(resourcebundle: *mut UResourceBundle, len: *mut i32, key: *const *const i8, status: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getNextString ( resourcebundle : *mut UResourceBundle , len : *mut i32 , key : *const *const i8 , status : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getNextString ( resourcebundle : *mut UResourceBundle , len : *mut i32 , key : *const *const i8 , status : *mut UErrorCode ) -> *mut u16 ); ures_getNextString(resourcebundle, len, key, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getSize(resourcebundle: *const UResourceBundle) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getSize ( resourcebundle : *const UResourceBundle ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getSize ( resourcebundle : *const UResourceBundle ) -> i32 ); ures_getSize(resourcebundle) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getString(resourcebundle: *const UResourceBundle, len: *mut i32, status: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getString ( resourcebundle : *const UResourceBundle , len : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getString ( resourcebundle : *const UResourceBundle , len : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); ures_getString(resourcebundle, len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getStringByIndex(resourcebundle: *const UResourceBundle, indexs: i32, len: *mut i32, status: *mut UErrorCode) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getStringByIndex ( resourcebundle : *const UResourceBundle , indexs : i32 , len : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getStringByIndex ( resourcebundle : *const UResourceBundle , indexs : i32 , len : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); ures_getStringByIndex(resourcebundle, indexs, len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7087,19 +7087,19 @@ pub unsafe fn ures_getStringByKey(resb: *const UResourceBundle, key: P0, len where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getStringByKey ( resb : *const UResourceBundle , key : :: windows::core::PCSTR , len : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getStringByKey ( resb : *const UResourceBundle , key : :: windows::core::PCSTR , len : *mut i32 , status : *mut UErrorCode ) -> *mut u16 ); ures_getStringByKey(resb, key.into().abi(), len, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getType(resourcebundle: *const UResourceBundle) -> UResType { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getType ( resourcebundle : *const UResourceBundle ) -> UResType ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getType ( resourcebundle : *const UResourceBundle ) -> UResType ); ures_getType(resourcebundle) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getUInt(resourcebundle: *const UResourceBundle, status: *mut UErrorCode) -> u32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getUInt ( resourcebundle : *const UResourceBundle , status : *mut UErrorCode ) -> u32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getUInt ( resourcebundle : *const UResourceBundle , status : *mut UErrorCode ) -> u32 ); ures_getUInt(resourcebundle, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7108,7 +7108,7 @@ pub unsafe fn ures_getUTF8String(resb: *const UResourceBundle, dest: P0, len where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getUTF8String ( resb : *const UResourceBundle , dest : :: windows::core::PCSTR , length : *mut i32 , forcecopy : i8 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getUTF8String ( resb : *const UResourceBundle , dest : :: windows::core::PCSTR , length : *mut i32 , forcecopy : i8 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ures_getUTF8String(resb, dest.into().abi(), length, forcecopy, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7117,7 +7117,7 @@ pub unsafe fn ures_getUTF8StringByIndex(resb: *const UResourceBundle, string where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getUTF8StringByIndex ( resb : *const UResourceBundle , stringindex : i32 , dest : :: windows::core::PCSTR , plength : *mut i32 , forcecopy : i8 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getUTF8StringByIndex ( resb : *const UResourceBundle , stringindex : i32 , dest : :: windows::core::PCSTR , plength : *mut i32 , forcecopy : i8 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ures_getUTF8StringByIndex(resb, stringindex, dest.into().abi(), plength, forcecopy, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7127,19 +7127,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getUTF8StringByKey ( resb : *const UResourceBundle , key : :: windows::core::PCSTR , dest : :: windows::core::PCSTR , plength : *mut i32 , forcecopy : i8 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getUTF8StringByKey ( resb : *const UResourceBundle , key : :: windows::core::PCSTR , dest : :: windows::core::PCSTR , plength : *mut i32 , forcecopy : i8 , status : *mut UErrorCode ) -> :: windows::core::PSTR ); ures_getUTF8StringByKey(resb, key.into().abi(), dest.into().abi(), plength, forcecopy, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_getVersion(resb: *const UResourceBundle, versioninfo: *mut u8) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_getVersion ( resb : *const UResourceBundle , versioninfo : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_getVersion ( resb : *const UResourceBundle , versioninfo : *mut u8 ) -> ( ) ); ures_getVersion(resb, versioninfo) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_hasNext(resourcebundle: *const UResourceBundle) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_hasNext ( resourcebundle : *const UResourceBundle ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_hasNext ( resourcebundle : *const UResourceBundle ) -> i8 ); ures_hasNext(resourcebundle) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7149,7 +7149,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_open ( packagename : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UResourceBundle ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_open ( packagename : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UResourceBundle ); ures_open(packagename.into().abi(), locale.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7158,7 +7158,7 @@ pub unsafe fn ures_openAvailableLocales(packagename: P0, status: *mut UError where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_openAvailableLocales ( packagename : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_openAvailableLocales ( packagename : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UEnumeration ); ures_openAvailableLocales(packagename.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7168,7 +7168,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_openDirect ( packagename : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UResourceBundle ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_openDirect ( packagename : :: windows::core::PCSTR , locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UResourceBundle ); ures_openDirect(packagename.into().abi(), locale.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7177,19 +7177,19 @@ pub unsafe fn ures_openU(packagename: *const u16, locale: P0, status: *mut U where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_openU ( packagename : *const u16 , locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UResourceBundle ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_openU ( packagename : *const u16 , locale : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UResourceBundle ); ures_openU(packagename, locale.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn ures_resetIterator(resourcebundle: *mut UResourceBundle) { - ::windows::core::link ! ( "icu.dll""cdecl" fn ures_resetIterator ( resourcebundle : *mut UResourceBundle ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn ures_resetIterator ( resourcebundle : *mut UResourceBundle ) -> ( ) ); ures_resetIterator(resourcebundle) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_breaksBetweenLetters(script: UScriptCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_breaksBetweenLetters ( script : UScriptCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_breaksBetweenLetters ( script : UScriptCode ) -> i8 ); uscript_breaksBetweenLetters(script) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7198,145 +7198,145 @@ pub unsafe fn uscript_getCode(nameorabbrorlocale: P0, fillin: *mut UScriptCo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_getCode ( nameorabbrorlocale : :: windows::core::PCSTR , fillin : *mut UScriptCode , capacity : i32 , err : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_getCode ( nameorabbrorlocale : :: windows::core::PCSTR , fillin : *mut UScriptCode , capacity : i32 , err : *mut UErrorCode ) -> i32 ); uscript_getCode(nameorabbrorlocale.into().abi(), fillin, capacity, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_getName(scriptcode: UScriptCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_getName ( scriptcode : UScriptCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_getName ( scriptcode : UScriptCode ) -> :: windows::core::PSTR ); uscript_getName(scriptcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_getSampleString(script: UScriptCode, dest: *mut u16, capacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_getSampleString ( script : UScriptCode , dest : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_getSampleString ( script : UScriptCode , dest : *mut u16 , capacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uscript_getSampleString(script, dest, capacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_getScript(codepoint: i32, err: *mut UErrorCode) -> UScriptCode { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_getScript ( codepoint : i32 , err : *mut UErrorCode ) -> UScriptCode ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_getScript ( codepoint : i32 , err : *mut UErrorCode ) -> UScriptCode ); uscript_getScript(codepoint, err) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_getScriptExtensions(c: i32, scripts: *mut UScriptCode, capacity: i32, errorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_getScriptExtensions ( c : i32 , scripts : *mut UScriptCode , capacity : i32 , errorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_getScriptExtensions ( c : i32 , scripts : *mut UScriptCode , capacity : i32 , errorcode : *mut UErrorCode ) -> i32 ); uscript_getScriptExtensions(c, scripts, capacity, errorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_getShortName(scriptcode: UScriptCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_getShortName ( scriptcode : UScriptCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_getShortName ( scriptcode : UScriptCode ) -> :: windows::core::PSTR ); uscript_getShortName(scriptcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_getUsage(script: UScriptCode) -> UScriptUsage { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_getUsage ( script : UScriptCode ) -> UScriptUsage ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_getUsage ( script : UScriptCode ) -> UScriptUsage ); uscript_getUsage(script) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_hasScript(c: i32, sc: UScriptCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_hasScript ( c : i32 , sc : UScriptCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_hasScript ( c : i32 , sc : UScriptCode ) -> i8 ); uscript_hasScript(c, sc) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_isCased(script: UScriptCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_isCased ( script : UScriptCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_isCased ( script : UScriptCode ) -> i8 ); uscript_isCased(script) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uscript_isRightToLeft(script: UScriptCode) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uscript_isRightToLeft ( script : UScriptCode ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uscript_isRightToLeft ( script : UScriptCode ) -> i8 ); uscript_isRightToLeft(script) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_close(searchiter: *mut UStringSearch) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_close ( searchiter : *mut UStringSearch ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_close ( searchiter : *mut UStringSearch ) -> ( ) ); usearch_close(searchiter) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_first(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_first ( strsrch : *mut UStringSearch , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_first ( strsrch : *mut UStringSearch , status : *mut UErrorCode ) -> i32 ); usearch_first(strsrch, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_following(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_following ( strsrch : *mut UStringSearch , position : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_following ( strsrch : *mut UStringSearch , position : i32 , status : *mut UErrorCode ) -> i32 ); usearch_following(strsrch, position, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getAttribute(strsrch: *const UStringSearch, attribute: USearchAttribute) -> USearchAttributeValue { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getAttribute ( strsrch : *const UStringSearch , attribute : USearchAttribute ) -> USearchAttributeValue ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getAttribute ( strsrch : *const UStringSearch , attribute : USearchAttribute ) -> USearchAttributeValue ); usearch_getAttribute(strsrch, attribute) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getBreakIterator(strsrch: *const UStringSearch) -> *mut UBreakIterator { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getBreakIterator ( strsrch : *const UStringSearch ) -> *mut UBreakIterator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getBreakIterator ( strsrch : *const UStringSearch ) -> *mut UBreakIterator ); usearch_getBreakIterator(strsrch) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getCollator(strsrch: *const UStringSearch) -> *mut UCollator { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getCollator ( strsrch : *const UStringSearch ) -> *mut UCollator ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getCollator ( strsrch : *const UStringSearch ) -> *mut UCollator ); usearch_getCollator(strsrch) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getMatchedLength(strsrch: *const UStringSearch) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getMatchedLength ( strsrch : *const UStringSearch ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getMatchedLength ( strsrch : *const UStringSearch ) -> i32 ); usearch_getMatchedLength(strsrch) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getMatchedStart(strsrch: *const UStringSearch) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getMatchedStart ( strsrch : *const UStringSearch ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getMatchedStart ( strsrch : *const UStringSearch ) -> i32 ); usearch_getMatchedStart(strsrch) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getMatchedText(strsrch: *const UStringSearch, result: *mut u16, resultcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getMatchedText ( strsrch : *const UStringSearch , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getMatchedText ( strsrch : *const UStringSearch , result : *mut u16 , resultcapacity : i32 , status : *mut UErrorCode ) -> i32 ); usearch_getMatchedText(strsrch, result, resultcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getOffset(strsrch: *const UStringSearch) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getOffset ( strsrch : *const UStringSearch ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getOffset ( strsrch : *const UStringSearch ) -> i32 ); usearch_getOffset(strsrch) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getPattern(strsrch: *const UStringSearch, length: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getPattern ( strsrch : *const UStringSearch , length : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getPattern ( strsrch : *const UStringSearch , length : *mut i32 ) -> *mut u16 ); usearch_getPattern(strsrch, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_getText(strsrch: *const UStringSearch, length: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_getText ( strsrch : *const UStringSearch , length : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_getText ( strsrch : *const UStringSearch , length : *mut i32 ) -> *mut u16 ); usearch_getText(strsrch, length) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_last(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_last ( strsrch : *mut UStringSearch , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_last ( strsrch : *mut UStringSearch , status : *mut UErrorCode ) -> i32 ); usearch_last(strsrch, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_next(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_next ( strsrch : *mut UStringSearch , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_next ( strsrch : *mut UStringSearch , status : *mut UErrorCode ) -> i32 ); usearch_next(strsrch, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7345,385 +7345,385 @@ pub unsafe fn usearch_open(pattern: *const u16, patternlength: i32, text: *c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_open ( pattern : *const u16 , patternlength : i32 , text : *const u16 , textlength : i32 , locale : :: windows::core::PCSTR , breakiter : *mut UBreakIterator , status : *mut UErrorCode ) -> *mut UStringSearch ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_open ( pattern : *const u16 , patternlength : i32 , text : *const u16 , textlength : i32 , locale : :: windows::core::PCSTR , breakiter : *mut UBreakIterator , status : *mut UErrorCode ) -> *mut UStringSearch ); usearch_open(pattern, patternlength, text, textlength, locale.into().abi(), breakiter, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_openFromCollator(pattern: *const u16, patternlength: i32, text: *const u16, textlength: i32, collator: *const UCollator, breakiter: *mut UBreakIterator, status: *mut UErrorCode) -> *mut UStringSearch { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_openFromCollator ( pattern : *const u16 , patternlength : i32 , text : *const u16 , textlength : i32 , collator : *const UCollator , breakiter : *mut UBreakIterator , status : *mut UErrorCode ) -> *mut UStringSearch ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_openFromCollator ( pattern : *const u16 , patternlength : i32 , text : *const u16 , textlength : i32 , collator : *const UCollator , breakiter : *mut UBreakIterator , status : *mut UErrorCode ) -> *mut UStringSearch ); usearch_openFromCollator(pattern, patternlength, text, textlength, collator, breakiter, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_preceding(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_preceding ( strsrch : *mut UStringSearch , position : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_preceding ( strsrch : *mut UStringSearch , position : i32 , status : *mut UErrorCode ) -> i32 ); usearch_preceding(strsrch, position, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_previous(strsrch: *mut UStringSearch, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_previous ( strsrch : *mut UStringSearch , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_previous ( strsrch : *mut UStringSearch , status : *mut UErrorCode ) -> i32 ); usearch_previous(strsrch, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_reset(strsrch: *mut UStringSearch) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_reset ( strsrch : *mut UStringSearch ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_reset ( strsrch : *mut UStringSearch ) -> ( ) ); usearch_reset(strsrch) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_setAttribute(strsrch: *mut UStringSearch, attribute: USearchAttribute, value: USearchAttributeValue, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_setAttribute ( strsrch : *mut UStringSearch , attribute : USearchAttribute , value : USearchAttributeValue , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_setAttribute ( strsrch : *mut UStringSearch , attribute : USearchAttribute , value : USearchAttributeValue , status : *mut UErrorCode ) -> ( ) ); usearch_setAttribute(strsrch, attribute, value, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_setBreakIterator(strsrch: *mut UStringSearch, breakiter: *mut UBreakIterator, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_setBreakIterator ( strsrch : *mut UStringSearch , breakiter : *mut UBreakIterator , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_setBreakIterator ( strsrch : *mut UStringSearch , breakiter : *mut UBreakIterator , status : *mut UErrorCode ) -> ( ) ); usearch_setBreakIterator(strsrch, breakiter, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_setCollator(strsrch: *mut UStringSearch, collator: *const UCollator, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_setCollator ( strsrch : *mut UStringSearch , collator : *const UCollator , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_setCollator ( strsrch : *mut UStringSearch , collator : *const UCollator , status : *mut UErrorCode ) -> ( ) ); usearch_setCollator(strsrch, collator, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_setOffset(strsrch: *mut UStringSearch, position: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_setOffset ( strsrch : *mut UStringSearch , position : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_setOffset ( strsrch : *mut UStringSearch , position : i32 , status : *mut UErrorCode ) -> ( ) ); usearch_setOffset(strsrch, position, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_setPattern(strsrch: *mut UStringSearch, pattern: *const u16, patternlength: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_setPattern ( strsrch : *mut UStringSearch , pattern : *const u16 , patternlength : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_setPattern ( strsrch : *mut UStringSearch , pattern : *const u16 , patternlength : i32 , status : *mut UErrorCode ) -> ( ) ); usearch_setPattern(strsrch, pattern, patternlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usearch_setText(strsrch: *mut UStringSearch, text: *const u16, textlength: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usearch_setText ( strsrch : *mut UStringSearch , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usearch_setText ( strsrch : *mut UStringSearch , text : *const u16 , textlength : i32 , status : *mut UErrorCode ) -> ( ) ); usearch_setText(strsrch, text, textlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_add(set: *mut USet, c: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_add ( set : *mut USet , c : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_add ( set : *mut USet , c : i32 ) -> ( ) ); uset_add(set, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_addAll(set: *mut USet, additionalset: *const USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_addAll ( set : *mut USet , additionalset : *const USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_addAll ( set : *mut USet , additionalset : *const USet ) -> ( ) ); uset_addAll(set, additionalset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_addAllCodePoints(set: *mut USet, str: *const u16, strlen: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_addAllCodePoints ( set : *mut USet , str : *const u16 , strlen : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_addAllCodePoints ( set : *mut USet , str : *const u16 , strlen : i32 ) -> ( ) ); uset_addAllCodePoints(set, str, strlen) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_addRange(set: *mut USet, start: i32, end: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_addRange ( set : *mut USet , start : i32 , end : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_addRange ( set : *mut USet , start : i32 , end : i32 ) -> ( ) ); uset_addRange(set, start, end) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_addString(set: *mut USet, str: *const u16, strlen: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_addString ( set : *mut USet , str : *const u16 , strlen : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_addString ( set : *mut USet , str : *const u16 , strlen : i32 ) -> ( ) ); uset_addString(set, str, strlen) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_applyIntPropertyValue(set: *mut USet, prop: UProperty, value: i32, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_applyIntPropertyValue ( set : *mut USet , prop : UProperty , value : i32 , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_applyIntPropertyValue ( set : *mut USet , prop : UProperty , value : i32 , ec : *mut UErrorCode ) -> ( ) ); uset_applyIntPropertyValue(set, prop, value, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_applyPattern(set: *mut USet, pattern: *const u16, patternlength: i32, options: u32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_applyPattern ( set : *mut USet , pattern : *const u16 , patternlength : i32 , options : u32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_applyPattern ( set : *mut USet , pattern : *const u16 , patternlength : i32 , options : u32 , status : *mut UErrorCode ) -> i32 ); uset_applyPattern(set, pattern, patternlength, options, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_applyPropertyAlias(set: *mut USet, prop: *const u16, proplength: i32, value: *const u16, valuelength: i32, ec: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_applyPropertyAlias ( set : *mut USet , prop : *const u16 , proplength : i32 , value : *const u16 , valuelength : i32 , ec : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_applyPropertyAlias ( set : *mut USet , prop : *const u16 , proplength : i32 , value : *const u16 , valuelength : i32 , ec : *mut UErrorCode ) -> ( ) ); uset_applyPropertyAlias(set, prop, proplength, value, valuelength, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_charAt(set: *const USet, charindex: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_charAt ( set : *const USet , charindex : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_charAt ( set : *const USet , charindex : i32 ) -> i32 ); uset_charAt(set, charindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_clear(set: *mut USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_clear ( set : *mut USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_clear ( set : *mut USet ) -> ( ) ); uset_clear(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_clone(set: *const USet) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_clone ( set : *const USet ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_clone ( set : *const USet ) -> *mut USet ); uset_clone(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_cloneAsThawed(set: *const USet) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_cloneAsThawed ( set : *const USet ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_cloneAsThawed ( set : *const USet ) -> *mut USet ); uset_cloneAsThawed(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_close(set: *mut USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_close ( set : *mut USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_close ( set : *mut USet ) -> ( ) ); uset_close(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_closeOver(set: *mut USet, attributes: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_closeOver ( set : *mut USet , attributes : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_closeOver ( set : *mut USet , attributes : i32 ) -> ( ) ); uset_closeOver(set, attributes) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_compact(set: *mut USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_compact ( set : *mut USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_compact ( set : *mut USet ) -> ( ) ); uset_compact(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_complement(set: *mut USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_complement ( set : *mut USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_complement ( set : *mut USet ) -> ( ) ); uset_complement(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_complementAll(set: *mut USet, complement: *const USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_complementAll ( set : *mut USet , complement : *const USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_complementAll ( set : *mut USet , complement : *const USet ) -> ( ) ); uset_complementAll(set, complement) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_contains(set: *const USet, c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_contains ( set : *const USet , c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_contains ( set : *const USet , c : i32 ) -> i8 ); uset_contains(set, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_containsAll(set1: *const USet, set2: *const USet) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_containsAll ( set1 : *const USet , set2 : *const USet ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_containsAll ( set1 : *const USet , set2 : *const USet ) -> i8 ); uset_containsAll(set1, set2) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_containsAllCodePoints(set: *const USet, str: *const u16, strlen: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_containsAllCodePoints ( set : *const USet , str : *const u16 , strlen : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_containsAllCodePoints ( set : *const USet , str : *const u16 , strlen : i32 ) -> i8 ); uset_containsAllCodePoints(set, str, strlen) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_containsNone(set1: *const USet, set2: *const USet) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_containsNone ( set1 : *const USet , set2 : *const USet ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_containsNone ( set1 : *const USet , set2 : *const USet ) -> i8 ); uset_containsNone(set1, set2) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_containsRange(set: *const USet, start: i32, end: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_containsRange ( set : *const USet , start : i32 , end : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_containsRange ( set : *const USet , start : i32 , end : i32 ) -> i8 ); uset_containsRange(set, start, end) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_containsSome(set1: *const USet, set2: *const USet) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_containsSome ( set1 : *const USet , set2 : *const USet ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_containsSome ( set1 : *const USet , set2 : *const USet ) -> i8 ); uset_containsSome(set1, set2) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_containsString(set: *const USet, str: *const u16, strlen: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_containsString ( set : *const USet , str : *const u16 , strlen : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_containsString ( set : *const USet , str : *const u16 , strlen : i32 ) -> i8 ); uset_containsString(set, str, strlen) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_equals(set1: *const USet, set2: *const USet) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_equals ( set1 : *const USet , set2 : *const USet ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_equals ( set1 : *const USet , set2 : *const USet ) -> i8 ); uset_equals(set1, set2) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_freeze(set: *mut USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_freeze ( set : *mut USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_freeze ( set : *mut USet ) -> ( ) ); uset_freeze(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_getItem(set: *const USet, itemindex: i32, start: *mut i32, end: *mut i32, str: *mut u16, strcapacity: i32, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_getItem ( set : *const USet , itemindex : i32 , start : *mut i32 , end : *mut i32 , str : *mut u16 , strcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_getItem ( set : *const USet , itemindex : i32 , start : *mut i32 , end : *mut i32 , str : *mut u16 , strcapacity : i32 , ec : *mut UErrorCode ) -> i32 ); uset_getItem(set, itemindex, start, end, str, strcapacity, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_getItemCount(set: *const USet) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_getItemCount ( set : *const USet ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_getItemCount ( set : *const USet ) -> i32 ); uset_getItemCount(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_getSerializedRange(set: *const USerializedSet, rangeindex: i32, pstart: *mut i32, pend: *mut i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_getSerializedRange ( set : *const USerializedSet , rangeindex : i32 , pstart : *mut i32 , pend : *mut i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_getSerializedRange ( set : *const USerializedSet , rangeindex : i32 , pstart : *mut i32 , pend : *mut i32 ) -> i8 ); uset_getSerializedRange(set, rangeindex, pstart, pend) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_getSerializedRangeCount(set: *const USerializedSet) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_getSerializedRangeCount ( set : *const USerializedSet ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_getSerializedRangeCount ( set : *const USerializedSet ) -> i32 ); uset_getSerializedRangeCount(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_getSerializedSet(fillset: *mut USerializedSet, src: *const u16, srclength: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_getSerializedSet ( fillset : *mut USerializedSet , src : *const u16 , srclength : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_getSerializedSet ( fillset : *mut USerializedSet , src : *const u16 , srclength : i32 ) -> i8 ); uset_getSerializedSet(fillset, src, srclength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_indexOf(set: *const USet, c: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_indexOf ( set : *const USet , c : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_indexOf ( set : *const USet , c : i32 ) -> i32 ); uset_indexOf(set, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_isEmpty(set: *const USet) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_isEmpty ( set : *const USet ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_isEmpty ( set : *const USet ) -> i8 ); uset_isEmpty(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_isFrozen(set: *const USet) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_isFrozen ( set : *const USet ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_isFrozen ( set : *const USet ) -> i8 ); uset_isFrozen(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_open(start: i32, end: i32) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_open ( start : i32 , end : i32 ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_open ( start : i32 , end : i32 ) -> *mut USet ); uset_open(start, end) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_openEmpty() -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_openEmpty ( ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_openEmpty ( ) -> *mut USet ); uset_openEmpty() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_openPattern(pattern: *const u16, patternlength: i32, ec: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_openPattern ( pattern : *const u16 , patternlength : i32 , ec : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_openPattern ( pattern : *const u16 , patternlength : i32 , ec : *mut UErrorCode ) -> *mut USet ); uset_openPattern(pattern, patternlength, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_openPatternOptions(pattern: *const u16, patternlength: i32, options: u32, ec: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_openPatternOptions ( pattern : *const u16 , patternlength : i32 , options : u32 , ec : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_openPatternOptions ( pattern : *const u16 , patternlength : i32 , options : u32 , ec : *mut UErrorCode ) -> *mut USet ); uset_openPatternOptions(pattern, patternlength, options, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_remove(set: *mut USet, c: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_remove ( set : *mut USet , c : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_remove ( set : *mut USet , c : i32 ) -> ( ) ); uset_remove(set, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_removeAll(set: *mut USet, removeset: *const USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_removeAll ( set : *mut USet , removeset : *const USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_removeAll ( set : *mut USet , removeset : *const USet ) -> ( ) ); uset_removeAll(set, removeset) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_removeAllStrings(set: *mut USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_removeAllStrings ( set : *mut USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_removeAllStrings ( set : *mut USet ) -> ( ) ); uset_removeAllStrings(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_removeRange(set: *mut USet, start: i32, end: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_removeRange ( set : *mut USet , start : i32 , end : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_removeRange ( set : *mut USet , start : i32 , end : i32 ) -> ( ) ); uset_removeRange(set, start, end) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_removeString(set: *mut USet, str: *const u16, strlen: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_removeString ( set : *mut USet , str : *const u16 , strlen : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_removeString ( set : *mut USet , str : *const u16 , strlen : i32 ) -> ( ) ); uset_removeString(set, str, strlen) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_resemblesPattern(pattern: *const u16, patternlength: i32, pos: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_resemblesPattern ( pattern : *const u16 , patternlength : i32 , pos : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_resemblesPattern ( pattern : *const u16 , patternlength : i32 , pos : i32 ) -> i8 ); uset_resemblesPattern(pattern, patternlength, pos) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_retain(set: *mut USet, start: i32, end: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_retain ( set : *mut USet , start : i32 , end : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_retain ( set : *mut USet , start : i32 , end : i32 ) -> ( ) ); uset_retain(set, start, end) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_retainAll(set: *mut USet, retain: *const USet) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_retainAll ( set : *mut USet , retain : *const USet ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_retainAll ( set : *mut USet , retain : *const USet ) -> ( ) ); uset_retainAll(set, retain) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_serialize(set: *const USet, dest: *mut u16, destcapacity: i32, perrorcode: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_serialize ( set : *const USet , dest : *mut u16 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_serialize ( set : *const USet , dest : *mut u16 , destcapacity : i32 , perrorcode : *mut UErrorCode ) -> i32 ); uset_serialize(set, dest, destcapacity, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_serializedContains(set: *const USerializedSet, c: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_serializedContains ( set : *const USerializedSet , c : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_serializedContains ( set : *const USerializedSet , c : i32 ) -> i8 ); uset_serializedContains(set, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_set(set: *mut USet, start: i32, end: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_set ( set : *mut USet , start : i32 , end : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_set ( set : *mut USet , start : i32 , end : i32 ) -> ( ) ); uset_set(set, start, end) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_setSerializedToOne(fillset: *mut USerializedSet, c: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_setSerializedToOne ( fillset : *mut USerializedSet , c : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_setSerializedToOne ( fillset : *mut USerializedSet , c : i32 ) -> ( ) ); uset_setSerializedToOne(fillset, c) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_size(set: *const USet) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_size ( set : *const USet ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_size ( set : *const USet ) -> i32 ); uset_size(set) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_span(set: *const USet, s: *const u16, length: i32, spancondition: USetSpanCondition) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_span ( set : *const USet , s : *const u16 , length : i32 , spancondition : USetSpanCondition ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_span ( set : *const USet , s : *const u16 , length : i32 , spancondition : USetSpanCondition ) -> i32 ); uset_span(set, s, length, spancondition) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_spanBack(set: *const USet, s: *const u16, length: i32, spancondition: USetSpanCondition) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_spanBack ( set : *const USet , s : *const u16 , length : i32 , spancondition : USetSpanCondition ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_spanBack ( set : *const USet , s : *const u16 , length : i32 , spancondition : USetSpanCondition ) -> i32 ); uset_spanBack(set, s, length, spancondition) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7732,7 +7732,7 @@ pub unsafe fn uset_spanBackUTF8(set: *const USet, s: P0, length: i32, spanco where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_spanBackUTF8 ( set : *const USet , s : :: windows::core::PCSTR , length : i32 , spancondition : USetSpanCondition ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_spanBackUTF8 ( set : *const USet , s : :: windows::core::PCSTR , length : i32 , spancondition : USetSpanCondition ) -> i32 ); uset_spanBackUTF8(set, s.into().abi(), length, spancondition) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7741,19 +7741,19 @@ pub unsafe fn uset_spanUTF8(set: *const USet, s: P0, length: i32, spancondit where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_spanUTF8 ( set : *const USet , s : :: windows::core::PCSTR , length : i32 , spancondition : USetSpanCondition ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_spanUTF8 ( set : *const USet , s : :: windows::core::PCSTR , length : i32 , spancondition : USetSpanCondition ) -> i32 ); uset_spanUTF8(set, s.into().abi(), length, spancondition) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uset_toPattern(set: *const USet, result: *mut u16, resultcapacity: i32, escapeunprintable: i8, ec: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uset_toPattern ( set : *const USet , result : *mut u16 , resultcapacity : i32 , escapeunprintable : i8 , ec : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uset_toPattern ( set : *const USet , result : *mut u16 , resultcapacity : i32 , escapeunprintable : i8 , ec : *mut UErrorCode ) -> i32 ); uset_toPattern(set, result, resultcapacity, escapeunprintable, ec) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_areConfusable(sc: *const USpoofChecker, id1: *const u16, length1: i32, id2: *const u16, length2: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_areConfusable ( sc : *const USpoofChecker , id1 : *const u16 , length1 : i32 , id2 : *const u16 , length2 : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_areConfusable ( sc : *const USpoofChecker , id1 : *const u16 , length1 : i32 , id2 : *const u16 , length2 : i32 , status : *mut UErrorCode ) -> i32 ); uspoof_areConfusable(sc, id1, length1, id2, length2, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7763,19 +7763,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_areConfusableUTF8 ( sc : *const USpoofChecker , id1 : :: windows::core::PCSTR , length1 : i32 , id2 : :: windows::core::PCSTR , length2 : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_areConfusableUTF8 ( sc : *const USpoofChecker , id1 : :: windows::core::PCSTR , length1 : i32 , id2 : :: windows::core::PCSTR , length2 : i32 , status : *mut UErrorCode ) -> i32 ); uspoof_areConfusableUTF8(sc, id1.into().abi(), length1, id2.into().abi(), length2, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_check(sc: *const USpoofChecker, id: *const u16, length: i32, position: *mut i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_check ( sc : *const USpoofChecker , id : *const u16 , length : i32 , position : *mut i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_check ( sc : *const USpoofChecker , id : *const u16 , length : i32 , position : *mut i32 , status : *mut UErrorCode ) -> i32 ); uspoof_check(sc, id, length, position, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_check2(sc: *const USpoofChecker, id: *const u16, length: i32, checkresult: *mut USpoofCheckResult, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_check2 ( sc : *const USpoofChecker , id : *const u16 , length : i32 , checkresult : *mut USpoofCheckResult , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_check2 ( sc : *const USpoofChecker , id : *const u16 , length : i32 , checkresult : *mut USpoofCheckResult , status : *mut UErrorCode ) -> i32 ); uspoof_check2(sc, id, length, checkresult, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7784,7 +7784,7 @@ pub unsafe fn uspoof_check2UTF8(sc: *const USpoofChecker, id: P0, length: i3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_check2UTF8 ( sc : *const USpoofChecker , id : :: windows::core::PCSTR , length : i32 , checkresult : *mut USpoofCheckResult , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_check2UTF8 ( sc : *const USpoofChecker , id : :: windows::core::PCSTR , length : i32 , checkresult : *mut USpoofCheckResult , status : *mut UErrorCode ) -> i32 ); uspoof_check2UTF8(sc, id.into().abi(), length, checkresult, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7793,85 +7793,85 @@ pub unsafe fn uspoof_checkUTF8(sc: *const USpoofChecker, id: P0, length: i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_checkUTF8 ( sc : *const USpoofChecker , id : :: windows::core::PCSTR , length : i32 , position : *mut i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_checkUTF8 ( sc : *const USpoofChecker , id : :: windows::core::PCSTR , length : i32 , position : *mut i32 , status : *mut UErrorCode ) -> i32 ); uspoof_checkUTF8(sc, id.into().abi(), length, position, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_clone(sc: *const USpoofChecker, status: *mut UErrorCode) -> *mut USpoofChecker { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_clone ( sc : *const USpoofChecker , status : *mut UErrorCode ) -> *mut USpoofChecker ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_clone ( sc : *const USpoofChecker , status : *mut UErrorCode ) -> *mut USpoofChecker ); uspoof_clone(sc, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_close(sc: *mut USpoofChecker) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_close ( sc : *mut USpoofChecker ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_close ( sc : *mut USpoofChecker ) -> ( ) ); uspoof_close(sc) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_closeCheckResult(checkresult: *mut USpoofCheckResult) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_closeCheckResult ( checkresult : *mut USpoofCheckResult ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_closeCheckResult ( checkresult : *mut USpoofCheckResult ) -> ( ) ); uspoof_closeCheckResult(checkresult) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getAllowedChars(sc: *const USpoofChecker, status: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getAllowedChars ( sc : *const USpoofChecker , status : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getAllowedChars ( sc : *const USpoofChecker , status : *mut UErrorCode ) -> *mut USet ); uspoof_getAllowedChars(sc, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getAllowedLocales(sc: *mut USpoofChecker, status: *mut UErrorCode) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getAllowedLocales ( sc : *mut USpoofChecker , status : *mut UErrorCode ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getAllowedLocales ( sc : *mut USpoofChecker , status : *mut UErrorCode ) -> :: windows::core::PSTR ); uspoof_getAllowedLocales(sc, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getCheckResultChecks(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getCheckResultChecks ( checkresult : *const USpoofCheckResult , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getCheckResultChecks ( checkresult : *const USpoofCheckResult , status : *mut UErrorCode ) -> i32 ); uspoof_getCheckResultChecks(checkresult, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getCheckResultNumerics(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getCheckResultNumerics ( checkresult : *const USpoofCheckResult , status : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getCheckResultNumerics ( checkresult : *const USpoofCheckResult , status : *mut UErrorCode ) -> *mut USet ); uspoof_getCheckResultNumerics(checkresult, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getCheckResultRestrictionLevel(checkresult: *const USpoofCheckResult, status: *mut UErrorCode) -> URestrictionLevel { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getCheckResultRestrictionLevel ( checkresult : *const USpoofCheckResult , status : *mut UErrorCode ) -> URestrictionLevel ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getCheckResultRestrictionLevel ( checkresult : *const USpoofCheckResult , status : *mut UErrorCode ) -> URestrictionLevel ); uspoof_getCheckResultRestrictionLevel(checkresult, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getChecks(sc: *const USpoofChecker, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getChecks ( sc : *const USpoofChecker , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getChecks ( sc : *const USpoofChecker , status : *mut UErrorCode ) -> i32 ); uspoof_getChecks(sc, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getInclusionSet(status: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getInclusionSet ( status : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getInclusionSet ( status : *mut UErrorCode ) -> *mut USet ); uspoof_getInclusionSet(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getRecommendedSet(status: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getRecommendedSet ( status : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getRecommendedSet ( status : *mut UErrorCode ) -> *mut USet ); uspoof_getRecommendedSet(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getRestrictionLevel(sc: *const USpoofChecker) -> URestrictionLevel { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getRestrictionLevel ( sc : *const USpoofChecker ) -> URestrictionLevel ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getRestrictionLevel ( sc : *const USpoofChecker ) -> URestrictionLevel ); uspoof_getRestrictionLevel(sc) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_getSkeleton(sc: *const USpoofChecker, r#type: u32, id: *const u16, length: i32, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getSkeleton ( sc : *const USpoofChecker , r#type : u32 , id : *const u16 , length : i32 , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getSkeleton ( sc : *const USpoofChecker , r#type : u32 , id : *const u16 , length : i32 , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uspoof_getSkeleton(sc, r#type, id, length, dest, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7881,25 +7881,25 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_getSkeletonUTF8 ( sc : *const USpoofChecker , r#type : u32 , id : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_getSkeletonUTF8 ( sc : *const USpoofChecker , r#type : u32 , id : :: windows::core::PCSTR , length : i32 , dest : :: windows::core::PCSTR , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); uspoof_getSkeletonUTF8(sc, r#type, id.into().abi(), length, dest.into().abi(), destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_open(status: *mut UErrorCode) -> *mut USpoofChecker { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_open ( status : *mut UErrorCode ) -> *mut USpoofChecker ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_open ( status : *mut UErrorCode ) -> *mut USpoofChecker ); uspoof_open(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_openCheckResult(status: *mut UErrorCode) -> *mut USpoofCheckResult { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_openCheckResult ( status : *mut UErrorCode ) -> *mut USpoofCheckResult ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_openCheckResult ( status : *mut UErrorCode ) -> *mut USpoofCheckResult ); uspoof_openCheckResult(status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_openFromSerialized(data: *const ::core::ffi::c_void, length: i32, pactuallength: *mut i32, perrorcode: *mut UErrorCode) -> *mut USpoofChecker { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_openFromSerialized ( data : *const ::core::ffi::c_void , length : i32 , pactuallength : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut USpoofChecker ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_openFromSerialized ( data : *const ::core::ffi::c_void , length : i32 , pactuallength : *mut i32 , perrorcode : *mut UErrorCode ) -> *mut USpoofChecker ); uspoof_openFromSerialized(data, length, pactuallength, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7909,19 +7909,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_openFromSource ( confusables : :: windows::core::PCSTR , confusableslen : i32 , confusableswholescript : :: windows::core::PCSTR , confusableswholescriptlen : i32 , errtype : *mut i32 , pe : *mut UParseError , status : *mut UErrorCode ) -> *mut USpoofChecker ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_openFromSource ( confusables : :: windows::core::PCSTR , confusableslen : i32 , confusableswholescript : :: windows::core::PCSTR , confusableswholescriptlen : i32 , errtype : *mut i32 , pe : *mut UParseError , status : *mut UErrorCode ) -> *mut USpoofChecker ); uspoof_openFromSource(confusables.into().abi(), confusableslen, confusableswholescript.into().abi(), confusableswholescriptlen, errtype, pe, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_serialize(sc: *mut USpoofChecker, data: *mut ::core::ffi::c_void, capacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_serialize ( sc : *mut USpoofChecker , data : *mut ::core::ffi::c_void , capacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_serialize ( sc : *mut USpoofChecker , data : *mut ::core::ffi::c_void , capacity : i32 , status : *mut UErrorCode ) -> i32 ); uspoof_serialize(sc, data, capacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_setAllowedChars(sc: *mut USpoofChecker, chars: *const USet, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_setAllowedChars ( sc : *mut USpoofChecker , chars : *const USet , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_setAllowedChars ( sc : *mut USpoofChecker , chars : *const USet , status : *mut UErrorCode ) -> ( ) ); uspoof_setAllowedChars(sc, chars, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7930,25 +7930,25 @@ pub unsafe fn uspoof_setAllowedLocales(sc: *mut USpoofChecker, localeslist: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_setAllowedLocales ( sc : *mut USpoofChecker , localeslist : :: windows::core::PCSTR , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_setAllowedLocales ( sc : *mut USpoofChecker , localeslist : :: windows::core::PCSTR , status : *mut UErrorCode ) -> ( ) ); uspoof_setAllowedLocales(sc, localeslist.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_setChecks(sc: *mut USpoofChecker, checks: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_setChecks ( sc : *mut USpoofChecker , checks : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_setChecks ( sc : *mut USpoofChecker , checks : i32 , status : *mut UErrorCode ) -> ( ) ); uspoof_setChecks(sc, checks, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn uspoof_setRestrictionLevel(sc: *mut USpoofChecker, restrictionlevel: URestrictionLevel) { - ::windows::core::link ! ( "icu.dll""cdecl" fn uspoof_setRestrictionLevel ( sc : *mut USpoofChecker , restrictionlevel : URestrictionLevel ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn uspoof_setRestrictionLevel ( sc : *mut USpoofChecker , restrictionlevel : URestrictionLevel ) -> ( ) ); uspoof_setRestrictionLevel(sc, restrictionlevel) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usprep_close(profile: *mut UStringPrepProfile) { - ::windows::core::link ! ( "icu.dll""cdecl" fn usprep_close ( profile : *mut UStringPrepProfile ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usprep_close ( profile : *mut UStringPrepProfile ) -> ( ) ); usprep_close(profile) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -7958,127 +7958,127 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn usprep_open ( path : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UStringPrepProfile ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usprep_open ( path : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , status : *mut UErrorCode ) -> *mut UStringPrepProfile ); usprep_open(path.into().abi(), filename.into().abi(), status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usprep_openByType(r#type: UStringPrepProfileType, status: *mut UErrorCode) -> *mut UStringPrepProfile { - ::windows::core::link ! ( "icu.dll""cdecl" fn usprep_openByType ( r#type : UStringPrepProfileType , status : *mut UErrorCode ) -> *mut UStringPrepProfile ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usprep_openByType ( r#type : UStringPrepProfileType , status : *mut UErrorCode ) -> *mut UStringPrepProfile ); usprep_openByType(r#type, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn usprep_prepare(prep: *const UStringPrepProfile, src: *const u16, srclength: i32, dest: *mut u16, destcapacity: i32, options: i32, parseerror: *mut UParseError, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn usprep_prepare ( prep : *const UStringPrepProfile , src : *const u16 , srclength : i32 , dest : *mut u16 , destcapacity : i32 , options : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn usprep_prepare ( prep : *const UStringPrepProfile , src : *const u16 , srclength : i32 , dest : *mut u16 , destcapacity : i32 , options : i32 , parseerror : *mut UParseError , status : *mut UErrorCode ) -> i32 ); usprep_prepare(prep, src, srclength, dest, destcapacity, options, parseerror, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_char32At(ut: *mut UText, nativeindex: i64) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_char32At ( ut : *mut UText , nativeindex : i64 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_char32At ( ut : *mut UText , nativeindex : i64 ) -> i32 ); utext_char32At(ut, nativeindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_clone(dest: *mut UText, src: *const UText, deep: i8, readonly: i8, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_clone ( dest : *mut UText , src : *const UText , deep : i8 , readonly : i8 , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_clone ( dest : *mut UText , src : *const UText , deep : i8 , readonly : i8 , status : *mut UErrorCode ) -> *mut UText ); utext_clone(dest, src, deep, readonly, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_close(ut: *mut UText) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_close ( ut : *mut UText ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_close ( ut : *mut UText ) -> *mut UText ); utext_close(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_copy(ut: *mut UText, nativestart: i64, nativelimit: i64, destindex: i64, r#move: i8, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_copy ( ut : *mut UText , nativestart : i64 , nativelimit : i64 , destindex : i64 , r#move : i8 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_copy ( ut : *mut UText , nativestart : i64 , nativelimit : i64 , destindex : i64 , r#move : i8 , status : *mut UErrorCode ) -> ( ) ); utext_copy(ut, nativestart, nativelimit, destindex, r#move, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_current32(ut: *mut UText) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_current32 ( ut : *mut UText ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_current32 ( ut : *mut UText ) -> i32 ); utext_current32(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_equals(a: *const UText, b: *const UText) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_equals ( a : *const UText , b : *const UText ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_equals ( a : *const UText , b : *const UText ) -> i8 ); utext_equals(a, b) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_extract(ut: *mut UText, nativestart: i64, nativelimit: i64, dest: *mut u16, destcapacity: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_extract ( ut : *mut UText , nativestart : i64 , nativelimit : i64 , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_extract ( ut : *mut UText , nativestart : i64 , nativelimit : i64 , dest : *mut u16 , destcapacity : i32 , status : *mut UErrorCode ) -> i32 ); utext_extract(ut, nativestart, nativelimit, dest, destcapacity, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_freeze(ut: *mut UText) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_freeze ( ut : *mut UText ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_freeze ( ut : *mut UText ) -> ( ) ); utext_freeze(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_getNativeIndex(ut: *const UText) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_getNativeIndex ( ut : *const UText ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_getNativeIndex ( ut : *const UText ) -> i64 ); utext_getNativeIndex(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_getPreviousNativeIndex(ut: *mut UText) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_getPreviousNativeIndex ( ut : *mut UText ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_getPreviousNativeIndex ( ut : *mut UText ) -> i64 ); utext_getPreviousNativeIndex(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_hasMetaData(ut: *const UText) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_hasMetaData ( ut : *const UText ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_hasMetaData ( ut : *const UText ) -> i8 ); utext_hasMetaData(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_isLengthExpensive(ut: *const UText) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_isLengthExpensive ( ut : *const UText ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_isLengthExpensive ( ut : *const UText ) -> i8 ); utext_isLengthExpensive(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_isWritable(ut: *const UText) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_isWritable ( ut : *const UText ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_isWritable ( ut : *const UText ) -> i8 ); utext_isWritable(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_moveIndex32(ut: *mut UText, delta: i32) -> i8 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_moveIndex32 ( ut : *mut UText , delta : i32 ) -> i8 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_moveIndex32 ( ut : *mut UText , delta : i32 ) -> i8 ); utext_moveIndex32(ut, delta) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_nativeLength(ut: *mut UText) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_nativeLength ( ut : *mut UText ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_nativeLength ( ut : *mut UText ) -> i64 ); utext_nativeLength(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_next32(ut: *mut UText) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_next32 ( ut : *mut UText ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_next32 ( ut : *mut UText ) -> i32 ); utext_next32(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_next32From(ut: *mut UText, nativeindex: i64) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_next32From ( ut : *mut UText , nativeindex : i64 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_next32From ( ut : *mut UText , nativeindex : i64 ) -> i32 ); utext_next32From(ut, nativeindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_openUChars(ut: *mut UText, s: *const u16, length: i64, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_openUChars ( ut : *mut UText , s : *const u16 , length : i64 , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_openUChars ( ut : *mut UText , s : *const u16 , length : i64 , status : *mut UErrorCode ) -> *mut UText ); utext_openUChars(ut, s, length, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -8087,79 +8087,79 @@ pub unsafe fn utext_openUTF8(ut: *mut UText, s: P0, length: i64, status: *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_openUTF8 ( ut : *mut UText , s : :: windows::core::PCSTR , length : i64 , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_openUTF8 ( ut : *mut UText , s : :: windows::core::PCSTR , length : i64 , status : *mut UErrorCode ) -> *mut UText ); utext_openUTF8(ut, s.into().abi(), length, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_previous32(ut: *mut UText) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_previous32 ( ut : *mut UText ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_previous32 ( ut : *mut UText ) -> i32 ); utext_previous32(ut) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_previous32From(ut: *mut UText, nativeindex: i64) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_previous32From ( ut : *mut UText , nativeindex : i64 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_previous32From ( ut : *mut UText , nativeindex : i64 ) -> i32 ); utext_previous32From(ut, nativeindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_replace(ut: *mut UText, nativestart: i64, nativelimit: i64, replacementtext: *const u16, replacementlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_replace ( ut : *mut UText , nativestart : i64 , nativelimit : i64 , replacementtext : *const u16 , replacementlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_replace ( ut : *mut UText , nativestart : i64 , nativelimit : i64 , replacementtext : *const u16 , replacementlength : i32 , status : *mut UErrorCode ) -> i32 ); utext_replace(ut, nativestart, nativelimit, replacementtext, replacementlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_setNativeIndex(ut: *mut UText, nativeindex: i64) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_setNativeIndex ( ut : *mut UText , nativeindex : i64 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_setNativeIndex ( ut : *mut UText , nativeindex : i64 ) -> ( ) ); utext_setNativeIndex(ut, nativeindex) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utext_setup(ut: *mut UText, extraspace: i32, status: *mut UErrorCode) -> *mut UText { - ::windows::core::link ! ( "icu.dll""cdecl" fn utext_setup ( ut : *mut UText , extraspace : i32 , status : *mut UErrorCode ) -> *mut UText ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utext_setup ( ut : *mut UText , extraspace : i32 , status : *mut UErrorCode ) -> *mut UText ); utext_setup(ut, extraspace, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utf8_appendCharSafeBody(s: *mut u8, i: i32, length: i32, c: i32, piserror: *mut i8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utf8_appendCharSafeBody ( s : *mut u8 , i : i32 , length : i32 , c : i32 , piserror : *mut i8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utf8_appendCharSafeBody ( s : *mut u8 , i : i32 , length : i32 , c : i32 , piserror : *mut i8 ) -> i32 ); utf8_appendCharSafeBody(s, i, length, c, piserror) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utf8_back1SafeBody(s: *const u8, start: i32, i: i32) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utf8_back1SafeBody ( s : *const u8 , start : i32 , i : i32 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utf8_back1SafeBody ( s : *const u8 , start : i32 , i : i32 ) -> i32 ); utf8_back1SafeBody(s, start, i) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utf8_nextCharSafeBody(s: *const u8, pi: *mut i32, length: i32, c: i32, strict: i8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utf8_nextCharSafeBody ( s : *const u8 , pi : *mut i32 , length : i32 , c : i32 , strict : i8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utf8_nextCharSafeBody ( s : *const u8 , pi : *mut i32 , length : i32 , c : i32 , strict : i8 ) -> i32 ); utf8_nextCharSafeBody(s, pi, length, c, strict) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utf8_prevCharSafeBody(s: *const u8, start: i32, pi: *mut i32, c: i32, strict: i8) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utf8_prevCharSafeBody ( s : *const u8 , start : i32 , pi : *mut i32 , c : i32 , strict : i8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utf8_prevCharSafeBody ( s : *const u8 , start : i32 , pi : *mut i32 , c : i32 , strict : i8 ) -> i32 ); utf8_prevCharSafeBody(s, start, pi, c, strict) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utmscale_fromInt64(othertime: i64, timescale: UDateTimeScale, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utmscale_fromInt64 ( othertime : i64 , timescale : UDateTimeScale , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utmscale_fromInt64 ( othertime : i64 , timescale : UDateTimeScale , status : *mut UErrorCode ) -> i64 ); utmscale_fromInt64(othertime, timescale, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utmscale_getTimeScaleValue(timescale: UDateTimeScale, value: UTimeScaleValue, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utmscale_getTimeScaleValue ( timescale : UDateTimeScale , value : UTimeScaleValue , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utmscale_getTimeScaleValue ( timescale : UDateTimeScale , value : UTimeScaleValue , status : *mut UErrorCode ) -> i64 ); utmscale_getTimeScaleValue(timescale, value, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utmscale_toInt64(universaltime: i64, timescale: UDateTimeScale, status: *mut UErrorCode) -> i64 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utmscale_toInt64 ( universaltime : i64 , timescale : UDateTimeScale , status : *mut UErrorCode ) -> i64 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utmscale_toInt64 ( universaltime : i64 , timescale : UDateTimeScale , status : *mut UErrorCode ) -> i64 ); utmscale_toInt64(universaltime, timescale, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -8169,37 +8169,37 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrace_format ( outbuf : :: windows::core::PCSTR , capacity : i32 , indent : i32 , fmt : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrace_format ( outbuf : :: windows::core::PCSTR , capacity : i32 , indent : i32 , fmt : :: windows::core::PCSTR ) -> i32 ); utrace_format(outbuf.into().abi(), capacity, indent, fmt.into().abi()) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrace_functionName(fnnumber: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrace_functionName ( fnnumber : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrace_functionName ( fnnumber : i32 ) -> :: windows::core::PSTR ); utrace_functionName(fnnumber) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrace_getFunctions(context: *const *const ::core::ffi::c_void, e: *mut UTraceEntry, x: *mut UTraceExit, d: *mut UTraceData) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrace_getFunctions ( context : *const *const ::core::ffi::c_void , e : *mut UTraceEntry , x : *mut UTraceExit , d : *mut UTraceData ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrace_getFunctions ( context : *const *const ::core::ffi::c_void , e : *mut UTraceEntry , x : *mut UTraceExit , d : *mut UTraceData ) -> ( ) ); utrace_getFunctions(context, e, x, d) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrace_getLevel() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrace_getLevel ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrace_getLevel ( ) -> i32 ); utrace_getLevel() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrace_setFunctions(context: *const ::core::ffi::c_void, e: UTraceEntry, x: UTraceExit, d: UTraceData) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrace_setFunctions ( context : *const ::core::ffi::c_void , e : UTraceEntry , x : UTraceExit , d : UTraceData ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrace_setFunctions ( context : *const ::core::ffi::c_void , e : UTraceEntry , x : UTraceExit , d : UTraceData ) -> ( ) ); utrace_setFunctions(context, e, x, d) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrace_setLevel(tracelevel: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrace_setLevel ( tracelevel : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrace_setLevel ( tracelevel : i32 ) -> ( ) ); utrace_setLevel(tracelevel) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -8209,103 +8209,103 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrace_vformat ( outbuf : :: windows::core::PCSTR , capacity : i32 , indent : i32 , fmt : :: windows::core::PCSTR , args : *mut i8 ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrace_vformat ( outbuf : :: windows::core::PCSTR , capacity : i32 , indent : i32 , fmt : :: windows::core::PCSTR , args : *mut i8 ) -> i32 ); utrace_vformat(outbuf.into().abi(), capacity, indent, fmt.into().abi(), args) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_clone(trans: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_clone ( trans : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_clone ( trans : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); utrans_clone(trans, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_close(trans: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_close ( trans : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_close ( trans : *mut *mut ::core::ffi::c_void ) -> ( ) ); utrans_close(trans) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_countAvailableIDs() -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_countAvailableIDs ( ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_countAvailableIDs ( ) -> i32 ); utrans_countAvailableIDs() } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_getSourceSet(trans: *const *const ::core::ffi::c_void, ignorefilter: i8, fillin: *mut USet, status: *mut UErrorCode) -> *mut USet { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_getSourceSet ( trans : *const *const ::core::ffi::c_void , ignorefilter : i8 , fillin : *mut USet , status : *mut UErrorCode ) -> *mut USet ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_getSourceSet ( trans : *const *const ::core::ffi::c_void , ignorefilter : i8 , fillin : *mut USet , status : *mut UErrorCode ) -> *mut USet ); utrans_getSourceSet(trans, ignorefilter, fillin, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_getUnicodeID(trans: *const *const ::core::ffi::c_void, resultlength: *mut i32) -> *mut u16 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_getUnicodeID ( trans : *const *const ::core::ffi::c_void , resultlength : *mut i32 ) -> *mut u16 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_getUnicodeID ( trans : *const *const ::core::ffi::c_void , resultlength : *mut i32 ) -> *mut u16 ); utrans_getUnicodeID(trans, resultlength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_openIDs(perrorcode: *mut UErrorCode) -> *mut UEnumeration { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_openIDs ( perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_openIDs ( perrorcode : *mut UErrorCode ) -> *mut UEnumeration ); utrans_openIDs(perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_openInverse(trans: *const *const ::core::ffi::c_void, status: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_openInverse ( trans : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_openInverse ( trans : *const *const ::core::ffi::c_void , status : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); utrans_openInverse(trans, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_openU(id: *const u16, idlength: i32, dir: UTransDirection, rules: *const u16, ruleslength: i32, parseerror: *mut UParseError, perrorcode: *mut UErrorCode) -> *mut *mut ::core::ffi::c_void { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_openU ( id : *const u16 , idlength : i32 , dir : UTransDirection , rules : *const u16 , ruleslength : i32 , parseerror : *mut UParseError , perrorcode : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_openU ( id : *const u16 , idlength : i32 , dir : UTransDirection , rules : *const u16 , ruleslength : i32 , parseerror : *mut UParseError , perrorcode : *mut UErrorCode ) -> *mut *mut ::core::ffi::c_void ); utrans_openU(id, idlength, dir, rules, ruleslength, parseerror, perrorcode) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_register(adoptedtrans: *mut *mut ::core::ffi::c_void, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_register ( adoptedtrans : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_register ( adoptedtrans : *mut *mut ::core::ffi::c_void , status : *mut UErrorCode ) -> ( ) ); utrans_register(adoptedtrans, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_setFilter(trans: *mut *mut ::core::ffi::c_void, filterpattern: *const u16, filterpatternlen: i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_setFilter ( trans : *mut *mut ::core::ffi::c_void , filterpattern : *const u16 , filterpatternlen : i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_setFilter ( trans : *mut *mut ::core::ffi::c_void , filterpattern : *const u16 , filterpatternlen : i32 , status : *mut UErrorCode ) -> ( ) ); utrans_setFilter(trans, filterpattern, filterpatternlen, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_toRules(trans: *const *const ::core::ffi::c_void, escapeunprintable: i8, result: *mut u16, resultlength: i32, status: *mut UErrorCode) -> i32 { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_toRules ( trans : *const *const ::core::ffi::c_void , escapeunprintable : i8 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_toRules ( trans : *const *const ::core::ffi::c_void , escapeunprintable : i8 , result : *mut u16 , resultlength : i32 , status : *mut UErrorCode ) -> i32 ); utrans_toRules(trans, escapeunprintable, result, resultlength, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_trans(trans: *const *const ::core::ffi::c_void, rep: *mut *mut ::core::ffi::c_void, repfunc: *const UReplaceableCallbacks, start: i32, limit: *mut i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_trans ( trans : *const *const ::core::ffi::c_void , rep : *mut *mut ::core::ffi::c_void , repfunc : *const UReplaceableCallbacks , start : i32 , limit : *mut i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_trans ( trans : *const *const ::core::ffi::c_void , rep : *mut *mut ::core::ffi::c_void , repfunc : *const UReplaceableCallbacks , start : i32 , limit : *mut i32 , status : *mut UErrorCode ) -> ( ) ); utrans_trans(trans, rep, repfunc, start, limit, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_transIncremental(trans: *const *const ::core::ffi::c_void, rep: *mut *mut ::core::ffi::c_void, repfunc: *const UReplaceableCallbacks, pos: *mut UTransPosition, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_transIncremental ( trans : *const *const ::core::ffi::c_void , rep : *mut *mut ::core::ffi::c_void , repfunc : *const UReplaceableCallbacks , pos : *mut UTransPosition , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_transIncremental ( trans : *const *const ::core::ffi::c_void , rep : *mut *mut ::core::ffi::c_void , repfunc : *const UReplaceableCallbacks , pos : *mut UTransPosition , status : *mut UErrorCode ) -> ( ) ); utrans_transIncremental(trans, rep, repfunc, pos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_transIncrementalUChars(trans: *const *const ::core::ffi::c_void, text: *mut u16, textlength: *mut i32, textcapacity: i32, pos: *mut UTransPosition, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_transIncrementalUChars ( trans : *const *const ::core::ffi::c_void , text : *mut u16 , textlength : *mut i32 , textcapacity : i32 , pos : *mut UTransPosition , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_transIncrementalUChars ( trans : *const *const ::core::ffi::c_void , text : *mut u16 , textlength : *mut i32 , textcapacity : i32 , pos : *mut UTransPosition , status : *mut UErrorCode ) -> ( ) ); utrans_transIncrementalUChars(trans, text, textlength, textcapacity, pos, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_transUChars(trans: *const *const ::core::ffi::c_void, text: *mut u16, textlength: *mut i32, textcapacity: i32, start: i32, limit: *mut i32, status: *mut UErrorCode) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_transUChars ( trans : *const *const ::core::ffi::c_void , text : *mut u16 , textlength : *mut i32 , textcapacity : i32 , start : i32 , limit : *mut i32 , status : *mut UErrorCode ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_transUChars ( trans : *const *const ::core::ffi::c_void , text : *mut u16 , textlength : *mut i32 , textcapacity : i32 , start : i32 , limit : *mut i32 , status : *mut UErrorCode ) -> ( ) ); utrans_transUChars(trans, text, textlength, textcapacity, start, limit, status) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] pub unsafe fn utrans_unregisterID(id: *const u16, idlength: i32) { - ::windows::core::link ! ( "icu.dll""cdecl" fn utrans_unregisterID ( id : *const u16 , idlength : i32 ) -> ( ) ); + ::windows::imp::link ! ( "icu.dll""cdecl" fn utrans_unregisterID ( id : *const u16 , idlength : i32 ) -> ( ) ); utrans_unregisterID(id, idlength) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -8320,7 +8320,7 @@ impl IComprehensiveSpellCheckProvider { (::windows::core::Vtable::vtable(self).ComprehensiveCheck)(::windows::core::Vtable::as_raw(self), text.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IComprehensiveSpellCheckProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComprehensiveSpellCheckProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComprehensiveSpellCheckProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8366,7 +8366,7 @@ impl IEnumCodePage { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), celt).ok() } } -::windows::core::interface_hierarchy!(IEnumCodePage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumCodePage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumCodePage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8415,7 +8415,7 @@ impl IEnumRfc1766 { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), celt).ok() } } -::windows::core::interface_hierarchy!(IEnumRfc1766, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumRfc1766, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumRfc1766 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8464,7 +8464,7 @@ impl IEnumScript { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), celt).ok() } } -::windows::core::interface_hierarchy!(IEnumScript, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumScript, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumScript { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8505,7 +8505,7 @@ impl IEnumSpellingError { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSpellingError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSpellingError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSpellingError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8554,7 +8554,7 @@ impl IMLangCodePages { (::windows::core::Vtable::vtable(self).CodePagesToCodePage)(::windows::core::Vtable::as_raw(self), dwcodepages, udefaultcodepage, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMLangCodePages, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLangCodePages, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLangCodePages { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8621,7 +8621,7 @@ impl IMLangConvertCharset { (::windows::core::Vtable::vtable(self).DoConversionFromUnicode)(::windows::core::Vtable::as_raw(self), psrcstr.into().abi(), ::core::mem::transmute(pcsrcsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdststr), ::core::mem::transmute(pcdstsize.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMLangConvertCharset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLangConvertCharset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLangConvertCharset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8705,7 +8705,7 @@ impl IMLangFontLink { (::windows::core::Vtable::vtable(self).ResetFontMapping)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMLangFontLink, ::windows::core::IUnknown, IMLangCodePages); +::windows::imp::interface_hierarchy!(IMLangFontLink, ::windows::core::IUnknown, IMLangCodePages); impl ::core::cmp::PartialEq for IMLangFontLink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8809,7 +8809,7 @@ impl IMLangFontLink2 { (::windows::core::Vtable::vtable(self).CodePageToScriptID)(::windows::core::Vtable::as_raw(self), uicodepage, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMLangFontLink2, ::windows::core::IUnknown, IMLangCodePages); +::windows::imp::interface_hierarchy!(IMLangFontLink2, ::windows::core::IUnknown, IMLangCodePages); impl ::core::cmp::PartialEq for IMLangFontLink2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8873,7 +8873,7 @@ impl IMLangLineBreakConsole { (::windows::core::Vtable::vtable(self).BreakLineA)(::windows::core::Vtable::as_raw(self), locale, ucodepage, ::core::mem::transmute(pszsrc.as_ptr()), pszsrc.len() as _, cmaxcolumns, ::core::mem::transmute(pcchline.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchskip.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMLangLineBreakConsole, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLangLineBreakConsole, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLangLineBreakConsole { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8932,7 +8932,7 @@ impl IMLangString { (::windows::core::Vtable::vtable(self).GetMLStr)(::windows::core::Vtable::as_raw(self), lsrcpos, lsrclen, punkouter.into().abi(), dwclscontext, piid, ::core::mem::transmute(ppdestmlstr), ::core::mem::transmute(pldestpos.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pldestlen.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMLangString, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLangString, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLangString { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9022,7 +9022,7 @@ impl IMLangStringAStr { (::windows::core::Vtable::vtable(self).GetLocale)(::windows::core::Vtable::as_raw(self), lsrcpos, lsrcmaxlen, ::core::mem::transmute(plocale.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pllocalepos.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pllocalelen.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMLangStringAStr, ::windows::core::IUnknown, IMLangString); +::windows::imp::interface_hierarchy!(IMLangStringAStr, ::windows::core::IUnknown, IMLangString); impl ::core::cmp::PartialEq for IMLangStringAStr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9083,7 +9083,7 @@ impl IMLangStringBufA { (::windows::core::Vtable::vtable(self).Delete)(::windows::core::Vtable::as_raw(self), cchoffset, cchdelete).ok() } } -::windows::core::interface_hierarchy!(IMLangStringBufA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLangStringBufA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLangStringBufA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9142,7 +9142,7 @@ impl IMLangStringBufW { (::windows::core::Vtable::vtable(self).Delete)(::windows::core::Vtable::as_raw(self), cchoffset, cchdelete).ok() } } -::windows::core::interface_hierarchy!(IMLangStringBufW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMLangStringBufW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMLangStringBufW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9230,7 +9230,7 @@ impl IMLangStringWStr { (::windows::core::Vtable::vtable(self).GetLocale)(::windows::core::Vtable::as_raw(self), lsrcpos, lsrcmaxlen, ::core::mem::transmute(plocale.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pllocalepos.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pllocalelen.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMLangStringWStr, ::windows::core::IUnknown, IMLangString); +::windows::imp::interface_hierarchy!(IMLangStringWStr, ::windows::core::IUnknown, IMLangString); impl ::core::cmp::PartialEq for IMLangStringWStr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9328,7 +9328,7 @@ impl IMultiLanguage { (::windows::core::Vtable::vtable(self).CreateConvertCharset)(::windows::core::Vtable::as_raw(self), uisrccodepage, uidstcodepage, dwproperty, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMultiLanguage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMultiLanguage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMultiLanguage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9504,7 +9504,7 @@ impl IMultiLanguage2 { (::windows::core::Vtable::vtable(self).ValidateCodePageEx)(::windows::core::Vtable::as_raw(self), uicodepage, hwnd.into(), dwfiodcontrol).ok() } } -::windows::core::interface_hierarchy!(IMultiLanguage2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMultiLanguage2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMultiLanguage2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9719,7 +9719,7 @@ impl IMultiLanguage3 { (::windows::core::Vtable::vtable(self).DetectOutboundCodePageInIStream)(::windows::core::Vtable::as_raw(self), dwflags, pstrin.into().abi(), ::core::mem::transmute(puipreferredcodepages.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), puipreferredcodepages.as_deref().map_or(0, |slice| slice.len() as _), puidetectedcodepages, pndetectedcodepages, lpspecialchar.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMultiLanguage3, ::windows::core::IUnknown, IMultiLanguage2); +::windows::imp::interface_hierarchy!(IMultiLanguage3, ::windows::core::IUnknown, IMultiLanguage2); impl ::core::cmp::PartialEq for IMultiLanguage3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9775,7 +9775,7 @@ impl IOptionDescription { (::windows::core::Vtable::vtable(self).Labels)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOptionDescription, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOptionDescription, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOptionDescription { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9877,7 +9877,7 @@ impl ISpellCheckProvider { (::windows::core::Vtable::vtable(self).InitializeWordlist)(::windows::core::Vtable::as_raw(self), wordlisttype, words.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISpellCheckProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpellCheckProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpellCheckProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9951,7 +9951,7 @@ impl ISpellCheckProviderFactory { (::windows::core::Vtable::vtable(self).CreateSpellCheckProvider)(::windows::core::Vtable::as_raw(self), languagetag.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpellCheckProviderFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpellCheckProviderFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpellCheckProviderFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10077,7 +10077,7 @@ impl ISpellChecker { (::windows::core::Vtable::vtable(self).ComprehensiveCheck)(::windows::core::Vtable::as_raw(self), text.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpellChecker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpellChecker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpellChecker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10220,7 +10220,7 @@ impl ISpellChecker2 { (::windows::core::Vtable::vtable(self).Remove)(::windows::core::Vtable::as_raw(self), word.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISpellChecker2, ::windows::core::IUnknown, ISpellChecker); +::windows::imp::interface_hierarchy!(ISpellChecker2, ::windows::core::IUnknown, ISpellChecker); impl ::core::cmp::PartialEq for ISpellChecker2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10260,7 +10260,7 @@ impl ISpellCheckerChangedEventHandler { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), sender.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISpellCheckerChangedEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpellCheckerChangedEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpellCheckerChangedEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10316,7 +10316,7 @@ impl ISpellCheckerFactory { (::windows::core::Vtable::vtable(self).CreateSpellChecker)(::windows::core::Vtable::as_raw(self), languagetag.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpellCheckerFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpellCheckerFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpellCheckerFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10374,7 +10374,7 @@ impl ISpellingError { (::windows::core::Vtable::vtable(self).Replacement)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpellingError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpellingError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpellingError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10425,7 +10425,7 @@ impl IUserDictionariesRegistrar { (::windows::core::Vtable::vtable(self).UnregisterUserDictionary)(::windows::core::Vtable::as_raw(self), dictionarypath.into().abi(), languagetag.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUserDictionariesRegistrar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUserDictionariesRegistrar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUserDictionariesRegistrar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs index 237af274cd..7d4b0f6467 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn CreatePresentationFactory(d3ddevice: P0, riid: *const ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "dcomp.dll""system" fn CreatePresentationFactory ( d3ddevice : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , presentationfactory : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dcomp.dll""system" fn CreatePresentationFactory ( d3ddevice : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , presentationfactory : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreatePresentationFactory(d3ddevice.into().abi(), riid, presentationfactory).ok() } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] @@ -29,7 +29,7 @@ impl ICompositionFramePresentStatistics { (::windows::core::Vtable::vtable(self).GetDisplayInstanceArray)(::windows::core::Vtable::as_raw(self), displayinstancearraycount, displayinstancearray) } } -::windows::core::interface_hierarchy!(ICompositionFramePresentStatistics, ::windows::core::IUnknown, IPresentStatistics); +::windows::imp::interface_hierarchy!(ICompositionFramePresentStatistics, ::windows::core::IUnknown, IPresentStatistics); impl ::core::cmp::PartialEq for ICompositionFramePresentStatistics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -97,7 +97,7 @@ impl IIndependentFlipFramePresentStatistics { result__ } } -::windows::core::interface_hierarchy!(IIndependentFlipFramePresentStatistics, ::windows::core::IUnknown, IPresentStatistics); +::windows::imp::interface_hierarchy!(IIndependentFlipFramePresentStatistics, ::windows::core::IUnknown, IPresentStatistics); impl ::core::cmp::PartialEq for IIndependentFlipFramePresentStatistics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -144,7 +144,7 @@ impl IPresentStatistics { (::windows::core::Vtable::vtable(self).GetKind)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IPresentStatistics, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPresentStatistics, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPresentStatistics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -191,7 +191,7 @@ impl IPresentStatusPresentStatistics { (::windows::core::Vtable::vtable(self).GetPresentStatus)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IPresentStatusPresentStatistics, ::windows::core::IUnknown, IPresentStatistics); +::windows::imp::interface_hierarchy!(IPresentStatusPresentStatistics, ::windows::core::IUnknown, IPresentStatistics); impl ::core::cmp::PartialEq for IPresentStatusPresentStatistics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -236,7 +236,7 @@ impl IPresentationBuffer { (::windows::core::Vtable::vtable(self).IsAvailable)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPresentationBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPresentationBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPresentationBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -277,7 +277,7 @@ impl IPresentationContent { (::windows::core::Vtable::vtable(self).SetTag)(::windows::core::Vtable::as_raw(self), tag) } } -::windows::core::interface_hierarchy!(IPresentationContent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPresentationContent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPresentationContent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -321,7 +321,7 @@ impl IPresentationFactory { (::windows::core::Vtable::vtable(self).CreatePresentationManager)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPresentationFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPresentationFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPresentationFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -414,7 +414,7 @@ impl IPresentationManager { (::windows::core::Vtable::vtable(self).GetNextPresentStatistics)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPresentationManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPresentationManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPresentationManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -508,7 +508,7 @@ impl IPresentationSurface { (::windows::core::Vtable::vtable(self).SetLetterboxingMargins)(::windows::core::Vtable::as_raw(self), leftletterboxsize, topletterboxsize, rightletterboxsize, bottomletterboxsize).ok() } } -::windows::core::interface_hierarchy!(IPresentationSurface, ::windows::core::IUnknown, IPresentationContent); +::windows::imp::interface_hierarchy!(IPresentationSurface, ::windows::core::IUnknown, IPresentationContent); impl ::core::cmp::PartialEq for IPresentationSurface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 54b09c3622..0cd80391e3 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn DXCoreCreateAdapterFactory() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "dxcore.dll""system" fn DXCoreCreateAdapterFactory ( riid : *const :: windows::core::GUID , ppvfactory : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -48,7 +48,7 @@ impl IDXCoreAdapter { (::windows::core::Vtable::vtable(self).GetFactory)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXCoreAdapter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXCoreAdapter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXCoreAdapter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -120,7 +120,7 @@ impl IDXCoreAdapterFactory { (::windows::core::Vtable::vtable(self).UnregisterEventNotification)(::windows::core::Vtable::as_raw(self), eventcookie).ok() } } -::windows::core::interface_hierarchy!(IDXCoreAdapterFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXCoreAdapterFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXCoreAdapterFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -187,7 +187,7 @@ impl IDXCoreAdapterList { (::windows::core::Vtable::vtable(self).IsAdapterPreferenceSupported)(::windows::core::Vtable::as_raw(self), preference) } } -::windows::core::interface_hierarchy!(IDXCoreAdapterList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXCoreAdapterList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXCoreAdapterList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs index 0c4e5be2f2..9b7ffeabb9 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs @@ -24,7 +24,7 @@ impl ID2D1SimplifiedGeometrySink { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID2D1SimplifiedGeometrySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1SimplifiedGeometrySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1SimplifiedGeometrySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 0447fe412e..f6f5fa5c63 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -4,14 +4,14 @@ pub mod Common; #[cfg(feature = "Foundation_Numerics")] #[inline] pub unsafe fn D2D1ComputeMaximumScaleFactor(matrix: *const super::super::super::Foundation::Numerics::Matrix3x2) -> f32 { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1ComputeMaximumScaleFactor ( matrix : *const super::super::super::Foundation::Numerics:: Matrix3x2 ) -> f32 ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1ComputeMaximumScaleFactor ( matrix : *const super::super::super::Foundation::Numerics:: Matrix3x2 ) -> f32 ); D2D1ComputeMaximumScaleFactor(matrix) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] #[inline] pub unsafe fn D2D1ConvertColorSpace(sourcecolorspace: D2D1_COLOR_SPACE, destinationcolorspace: D2D1_COLOR_SPACE, color: *const Common::D2D1_COLOR_F) -> Common::D2D1_COLOR_F { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1ConvertColorSpace ( sourcecolorspace : D2D1_COLOR_SPACE , destinationcolorspace : D2D1_COLOR_SPACE , color : *const Common:: D2D1_COLOR_F ) -> Common:: D2D1_COLOR_F ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1ConvertColorSpace ( sourcecolorspace : D2D1_COLOR_SPACE , destinationcolorspace : D2D1_COLOR_SPACE , color : *const Common:: D2D1_COLOR_F ) -> Common:: D2D1_COLOR_F ); D2D1ConvertColorSpace(sourcecolorspace, destinationcolorspace, color) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`*"] @@ -21,7 +21,7 @@ pub unsafe fn D2D1CreateDevice(dxgidevice: P0, creationproperties: ::core::o where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1CreateDevice ( dxgidevice : * mut::core::ffi::c_void , creationproperties : *const D2D1_CREATION_PROPERTIES , d2ddevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1CreateDevice ( dxgidevice : * mut::core::ffi::c_void , creationproperties : *const D2D1_CREATION_PROPERTIES , d2ddevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D2D1CreateDevice(dxgidevice.into().abi(), ::core::mem::transmute(creationproperties.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -32,7 +32,7 @@ pub unsafe fn D2D1CreateDeviceContext(dxgisurface: P0, creationproperties: : where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1CreateDeviceContext ( dxgisurface : * mut::core::ffi::c_void , creationproperties : *const D2D1_CREATION_PROPERTIES , d2ddevicecontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1CreateDeviceContext ( dxgisurface : * mut::core::ffi::c_void , creationproperties : *const D2D1_CREATION_PROPERTIES , d2ddevicecontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D2D1CreateDeviceContext(dxgisurface.into().abi(), ::core::mem::transmute(creationproperties.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -42,7 +42,7 @@ pub unsafe fn D2D1CreateFactory(factorytype: D2D1_FACTORY_TYPE, pfactoryoptio where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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__) } @@ -50,53 +50,53 @@ where #[cfg(feature = "Win32_Graphics_Direct2D_Common")] #[inline] pub unsafe fn D2D1GetGradientMeshInteriorPointsFromCoonsPatch(ppoint0: *const Common::D2D_POINT_2F, ppoint1: *const Common::D2D_POINT_2F, ppoint2: *const Common::D2D_POINT_2F, ppoint3: *const Common::D2D_POINT_2F, ppoint4: *const Common::D2D_POINT_2F, ppoint5: *const Common::D2D_POINT_2F, ppoint6: *const Common::D2D_POINT_2F, ppoint7: *const Common::D2D_POINT_2F, ppoint8: *const Common::D2D_POINT_2F, ppoint9: *const Common::D2D_POINT_2F, ppoint10: *const Common::D2D_POINT_2F, ppoint11: *const Common::D2D_POINT_2F, ptensorpoint11: *mut Common::D2D_POINT_2F, ptensorpoint12: *mut Common::D2D_POINT_2F, ptensorpoint21: *mut Common::D2D_POINT_2F, ptensorpoint22: *mut Common::D2D_POINT_2F) { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1GetGradientMeshInteriorPointsFromCoonsPatch ( ppoint0 : *const Common:: D2D_POINT_2F , ppoint1 : *const Common:: D2D_POINT_2F , ppoint2 : *const Common:: D2D_POINT_2F , ppoint3 : *const Common:: D2D_POINT_2F , ppoint4 : *const Common:: D2D_POINT_2F , ppoint5 : *const Common:: D2D_POINT_2F , ppoint6 : *const Common:: D2D_POINT_2F , ppoint7 : *const Common:: D2D_POINT_2F , ppoint8 : *const Common:: D2D_POINT_2F , ppoint9 : *const Common:: D2D_POINT_2F , ppoint10 : *const Common:: D2D_POINT_2F , ppoint11 : *const Common:: D2D_POINT_2F , ptensorpoint11 : *mut Common:: D2D_POINT_2F , ptensorpoint12 : *mut Common:: D2D_POINT_2F , ptensorpoint21 : *mut Common:: D2D_POINT_2F , ptensorpoint22 : *mut Common:: D2D_POINT_2F ) -> ( ) ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1GetGradientMeshInteriorPointsFromCoonsPatch ( ppoint0 : *const Common:: D2D_POINT_2F , ppoint1 : *const Common:: D2D_POINT_2F , ppoint2 : *const Common:: D2D_POINT_2F , ppoint3 : *const Common:: D2D_POINT_2F , ppoint4 : *const Common:: D2D_POINT_2F , ppoint5 : *const Common:: D2D_POINT_2F , ppoint6 : *const Common:: D2D_POINT_2F , ppoint7 : *const Common:: D2D_POINT_2F , ppoint8 : *const Common:: D2D_POINT_2F , ppoint9 : *const Common:: D2D_POINT_2F , ppoint10 : *const Common:: D2D_POINT_2F , ppoint11 : *const Common:: D2D_POINT_2F , ptensorpoint11 : *mut Common:: D2D_POINT_2F , ptensorpoint12 : *mut Common:: D2D_POINT_2F , ptensorpoint21 : *mut Common:: D2D_POINT_2F , ptensorpoint22 : *mut Common:: D2D_POINT_2F ) -> ( ) ); D2D1GetGradientMeshInteriorPointsFromCoonsPatch(ppoint0, ppoint1, ppoint2, ppoint3, ppoint4, ppoint5, ppoint6, ppoint7, ppoint8, ppoint9, ppoint10, ppoint11, ptensorpoint11, ptensorpoint12, ptensorpoint21, ptensorpoint22) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation"))] #[inline] pub unsafe fn D2D1InvertMatrix(matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1InvertMatrix ( matrix : *mut super::super::super::Foundation::Numerics:: Matrix3x2 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1InvertMatrix ( matrix : *mut super::super::super::Foundation::Numerics:: Matrix3x2 ) -> super::super::Foundation:: BOOL ); D2D1InvertMatrix(matrix) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation"))] #[inline] pub unsafe fn D2D1IsMatrixInvertible(matrix: *const super::super::super::Foundation::Numerics::Matrix3x2) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1IsMatrixInvertible ( matrix : *const super::super::super::Foundation::Numerics:: Matrix3x2 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1IsMatrixInvertible ( matrix : *const super::super::super::Foundation::Numerics:: Matrix3x2 ) -> super::super::Foundation:: BOOL ); D2D1IsMatrixInvertible(matrix) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] #[inline] pub unsafe fn D2D1MakeRotateMatrix(angle: f32, center: Common::D2D_POINT_2F, matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2) { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1MakeRotateMatrix ( angle : f32 , center : Common:: D2D_POINT_2F , matrix : *mut super::super::super::Foundation::Numerics:: Matrix3x2 ) -> ( ) ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1MakeRotateMatrix ( angle : f32 , center : Common:: D2D_POINT_2F , matrix : *mut super::super::super::Foundation::Numerics:: Matrix3x2 ) -> ( ) ); D2D1MakeRotateMatrix(angle, ::core::mem::transmute(center), matrix) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] #[inline] pub unsafe fn D2D1MakeSkewMatrix(anglex: f32, angley: f32, center: Common::D2D_POINT_2F, matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2) { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1MakeSkewMatrix ( anglex : f32 , angley : f32 , center : Common:: D2D_POINT_2F , matrix : *mut super::super::super::Foundation::Numerics:: Matrix3x2 ) -> ( ) ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1MakeSkewMatrix ( anglex : f32 , angley : f32 , center : Common:: D2D_POINT_2F , matrix : *mut super::super::super::Foundation::Numerics:: Matrix3x2 ) -> ( ) ); D2D1MakeSkewMatrix(anglex, angley, ::core::mem::transmute(center), matrix) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[inline] pub unsafe fn D2D1SinCos(angle: f32, s: *mut f32, c: *mut f32) { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1SinCos ( angle : f32 , s : *mut f32 , c : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1SinCos ( angle : f32 , s : *mut f32 , c : *mut f32 ) -> ( ) ); D2D1SinCos(angle, s, c) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[inline] pub unsafe fn D2D1Tan(angle: f32) -> f32 { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1Tan ( angle : f32 ) -> f32 ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1Tan ( angle : f32 ) -> f32 ); D2D1Tan(angle) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[inline] pub unsafe fn D2D1Vec3Length(x: f32, y: f32, z: f32) -> f32 { - ::windows::core::link ! ( "d2d1.dll""system" fn D2D1Vec3Length ( x : f32 , y : f32 , z : f32 ) -> f32 ); + ::windows::imp::link ! ( "d2d1.dll""system" fn D2D1Vec3Length ( x : f32 , y : f32 , z : f32 ) -> f32 ); D2D1Vec3Length(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] @@ -107,7 +107,7 @@ impl ID2D1AnalysisTransform { (::windows::core::Vtable::vtable(self).ProcessAnalysisResults)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(analysisdata.as_ptr()), analysisdata.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID2D1AnalysisTransform, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1AnalysisTransform, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1AnalysisTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -193,7 +193,7 @@ impl ID2D1Bitmap { (::windows::core::Vtable::vtable(self).CopyFromMemory)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(dstrect.unwrap_or(::std::ptr::null())), srcdata, pitch).ok() } } -::windows::core::interface_hierarchy!(ID2D1Bitmap, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image); +::windows::imp::interface_hierarchy!(ID2D1Bitmap, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image); impl ::core::cmp::PartialEq for ID2D1Bitmap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -324,7 +324,7 @@ impl ID2D1Bitmap1 { (::windows::core::Vtable::vtable(self).Unmap)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID2D1Bitmap1, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1Bitmap); +::windows::imp::interface_hierarchy!(ID2D1Bitmap1, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1Bitmap); impl ::core::cmp::PartialEq for ID2D1Bitmap1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -417,7 +417,7 @@ impl ID2D1BitmapBrush { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1BitmapBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); +::windows::imp::interface_hierarchy!(ID2D1BitmapBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); impl ::core::cmp::PartialEq for ID2D1BitmapBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -516,7 +516,7 @@ impl ID2D1BitmapBrush1 { (::windows::core::Vtable::vtable(self).GetInterpolationMode1)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1BitmapBrush1, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush, ID2D1BitmapBrush); +::windows::imp::interface_hierarchy!(ID2D1BitmapBrush1, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush, ID2D1BitmapBrush); impl ::core::cmp::PartialEq for ID2D1BitmapBrush1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -886,7 +886,7 @@ impl ID2D1BitmapRenderTarget { (::windows::core::Vtable::vtable(self).GetBitmap)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1BitmapRenderTarget, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget); +::windows::imp::interface_hierarchy!(ID2D1BitmapRenderTarget, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ::core::cmp::PartialEq for ID2D1BitmapRenderTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -942,7 +942,7 @@ impl ID2D1BlendTransform { (::windows::core::Vtable::vtable(self).GetDescription)(::windows::core::Vtable::as_raw(self), description) } } -::windows::core::interface_hierarchy!(ID2D1BlendTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); +::windows::imp::interface_hierarchy!(ID2D1BlendTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); impl ::core::cmp::PartialEq for ID2D1BlendTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1005,7 +1005,7 @@ impl ID2D1BorderTransform { (::windows::core::Vtable::vtable(self).GetExtendModeY)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1BorderTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); +::windows::imp::interface_hierarchy!(ID2D1BorderTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); impl ::core::cmp::PartialEq for ID2D1BorderTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1059,7 +1059,7 @@ impl ID2D1BoundsAdjustmentTransform { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID2D1BoundsAdjustmentTransform, ::windows::core::IUnknown, ID2D1TransformNode); +::windows::imp::interface_hierarchy!(ID2D1BoundsAdjustmentTransform, ::windows::core::IUnknown, ID2D1TransformNode); impl ::core::cmp::PartialEq for ID2D1BoundsAdjustmentTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1123,7 +1123,7 @@ impl ID2D1Brush { (::windows::core::Vtable::vtable(self).GetTransform)(::windows::core::Vtable::as_raw(self), transform) } } -::windows::core::interface_hierarchy!(ID2D1Brush, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1Brush, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1Brush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1182,7 +1182,7 @@ impl ID2D1ColorContext { (::windows::core::Vtable::vtable(self).GetProfile)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(profile.as_ptr()), profile.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID2D1ColorContext, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1ColorContext, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1ColorContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1247,7 +1247,7 @@ impl ID2D1ColorContext1 { (::windows::core::Vtable::vtable(self).GetSimpleColorProfile)(::windows::core::Vtable::as_raw(self), simpleprofile).ok() } } -::windows::core::interface_hierarchy!(ID2D1ColorContext1, ::windows::core::IUnknown, ID2D1Resource, ID2D1ColorContext); +::windows::imp::interface_hierarchy!(ID2D1ColorContext1, ::windows::core::IUnknown, ID2D1Resource, ID2D1ColorContext); impl ::core::cmp::PartialEq for ID2D1ColorContext1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1305,7 +1305,7 @@ impl ID2D1CommandList { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID2D1CommandList, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image); +::windows::imp::interface_hierarchy!(ID2D1CommandList, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image); impl ::core::cmp::PartialEq for ID2D1CommandList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1490,7 +1490,7 @@ impl ID2D1CommandSink { (::windows::core::Vtable::vtable(self).PopLayer)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID2D1CommandSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1CommandSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1CommandSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1740,7 +1740,7 @@ impl ID2D1CommandSink1 { (::windows::core::Vtable::vtable(self).SetPrimitiveBlend1)(::windows::core::Vtable::as_raw(self), primitiveblend).ok() } } -::windows::core::interface_hierarchy!(ID2D1CommandSink1, ::windows::core::IUnknown, ID2D1CommandSink); +::windows::imp::interface_hierarchy!(ID2D1CommandSink1, ::windows::core::IUnknown, ID2D1CommandSink); impl ::core::cmp::PartialEq for ID2D1CommandSink1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1949,7 +1949,7 @@ impl ID2D1CommandSink2 { (::windows::core::Vtable::vtable(self).DrawGdiMetafile2)(::windows::core::Vtable::as_raw(self), gdimetafile.into().abi(), ::core::mem::transmute(destinationrectangle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sourcerectangle.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(ID2D1CommandSink2, ::windows::core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1); +::windows::imp::interface_hierarchy!(ID2D1CommandSink2, ::windows::core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1); impl ::core::cmp::PartialEq for ID2D1CommandSink2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2170,7 +2170,7 @@ impl ID2D1CommandSink3 { (::windows::core::Vtable::vtable(self).DrawSpriteBatch)(::windows::core::Vtable::as_raw(self), spritebatch.into().abi(), startindex, spritecount, bitmap.into().abi(), interpolationmode, spriteoptions).ok() } } -::windows::core::interface_hierarchy!(ID2D1CommandSink3, ::windows::core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2); +::windows::imp::interface_hierarchy!(ID2D1CommandSink3, ::windows::core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2); impl ::core::cmp::PartialEq for ID2D1CommandSink3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2389,7 +2389,7 @@ impl ID2D1CommandSink4 { (::windows::core::Vtable::vtable(self).SetPrimitiveBlend2)(::windows::core::Vtable::as_raw(self), primitiveblend).ok() } } -::windows::core::interface_hierarchy!(ID2D1CommandSink4, ::windows::core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3); +::windows::imp::interface_hierarchy!(ID2D1CommandSink4, ::windows::core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3); impl ::core::cmp::PartialEq for ID2D1CommandSink4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2616,7 +2616,7 @@ impl ID2D1CommandSink5 { (::windows::core::Vtable::vtable(self).BlendImage)(::windows::core::Vtable::as_raw(self), image.into().abi(), blendmode, ::core::mem::transmute(targetoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(imagerectangle.unwrap_or(::std::ptr::null())), interpolationmode).ok() } } -::windows::core::interface_hierarchy!(ID2D1CommandSink5, ::windows::core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3, ID2D1CommandSink4); +::windows::imp::interface_hierarchy!(ID2D1CommandSink5, ::windows::core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3, ID2D1CommandSink4); impl ::core::cmp::PartialEq for ID2D1CommandSink5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2684,7 +2684,7 @@ impl ID2D1ComputeInfo { (::windows::core::Vtable::vtable(self).SetResourceTexture)(::windows::core::Vtable::as_raw(self), textureindex, resourcetexture.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID2D1ComputeInfo, ::windows::core::IUnknown, ID2D1RenderInfo); +::windows::imp::interface_hierarchy!(ID2D1ComputeInfo, ::windows::core::IUnknown, ID2D1RenderInfo); impl ::core::cmp::PartialEq for ID2D1ComputeInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2752,7 +2752,7 @@ impl ID2D1ComputeTransform { (::windows::core::Vtable::vtable(self).CalculateThreadgroups)(::windows::core::Vtable::as_raw(self), outputrect, dimensionx, dimensiony, dimensionz).ok() } } -::windows::core::interface_hierarchy!(ID2D1ComputeTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1Transform); +::windows::imp::interface_hierarchy!(ID2D1ComputeTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1Transform); impl ::core::cmp::PartialEq for ID2D1ComputeTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2806,7 +2806,7 @@ impl ID2D1ConcreteTransform { (::windows::core::Vtable::vtable(self).SetCached)(::windows::core::Vtable::as_raw(self), iscached.into()) } } -::windows::core::interface_hierarchy!(ID2D1ConcreteTransform, ::windows::core::IUnknown, ID2D1TransformNode); +::windows::imp::interface_hierarchy!(ID2D1ConcreteTransform, ::windows::core::IUnknown, ID2D1TransformNode); impl ::core::cmp::PartialEq for ID2D1ConcreteTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3183,7 +3183,7 @@ impl ID2D1DCRenderTarget { (::windows::core::Vtable::vtable(self).BindDC)(::windows::core::Vtable::as_raw(self), hdc.into(), psubrect).ok() } } -::windows::core::interface_hierarchy!(ID2D1DCRenderTarget, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget); +::windows::imp::interface_hierarchy!(ID2D1DCRenderTarget, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ::core::cmp::PartialEq for ID2D1DCRenderTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3250,7 +3250,7 @@ impl ID2D1Device { (::windows::core::Vtable::vtable(self).ClearResources)(::windows::core::Vtable::as_raw(self), millisecondssinceuse) } } -::windows::core::interface_hierarchy!(ID2D1Device, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1Device, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1Device { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3331,7 +3331,7 @@ impl ID2D1Device1 { (::windows::core::Vtable::vtable(self).CreateDeviceContext2)(::windows::core::Vtable::as_raw(self), options, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Device1, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device); +::windows::imp::interface_hierarchy!(ID2D1Device1, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device); impl ::core::cmp::PartialEq for ID2D1Device1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3423,7 +3423,7 @@ impl ID2D1Device2 { (::windows::core::Vtable::vtable(self).GetDxgiDevice)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Device2, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1); +::windows::imp::interface_hierarchy!(ID2D1Device2, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1); impl ::core::cmp::PartialEq for ID2D1Device2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3522,7 +3522,7 @@ impl ID2D1Device3 { (::windows::core::Vtable::vtable(self).CreateDeviceContext4)(::windows::core::Vtable::as_raw(self), options, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Device3, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2); +::windows::imp::interface_hierarchy!(ID2D1Device3, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2); impl ::core::cmp::PartialEq for ID2D1Device3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3626,7 +3626,7 @@ impl ID2D1Device4 { (::windows::core::Vtable::vtable(self).GetMaximumColorGlyphCacheMemory)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1Device4, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3); +::windows::imp::interface_hierarchy!(ID2D1Device4, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3); impl ::core::cmp::PartialEq for ID2D1Device4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3736,7 +3736,7 @@ impl ID2D1Device5 { (::windows::core::Vtable::vtable(self).CreateDeviceContext6)(::windows::core::Vtable::as_raw(self), options, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Device5, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4); +::windows::imp::interface_hierarchy!(ID2D1Device5, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4); impl ::core::cmp::PartialEq for ID2D1Device5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3848,7 +3848,7 @@ impl ID2D1Device6 { (::windows::core::Vtable::vtable(self).CreateDeviceContext7)(::windows::core::Vtable::as_raw(self), options, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Device6, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4, ID2D1Device5); +::windows::imp::interface_hierarchy!(ID2D1Device6, ::windows::core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4, ID2D1Device5); impl ::core::cmp::PartialEq for ID2D1Device6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4443,7 +4443,7 @@ impl ID2D1DeviceContext { (::windows::core::Vtable::vtable(self).FillOpacityMask2)(::windows::core::Vtable::as_raw(self), opacitymask.into().abi(), brush.into().abi(), ::core::mem::transmute(destinationrectangle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sourcerectangle.unwrap_or(::std::ptr::null()))) } } -::windows::core::interface_hierarchy!(ID2D1DeviceContext, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget); +::windows::imp::interface_hierarchy!(ID2D1DeviceContext, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ::core::cmp::PartialEq for ID2D1DeviceContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5163,7 +5163,7 @@ impl ID2D1DeviceContext1 { (::windows::core::Vtable::vtable(self).DrawGeometryRealization)(::windows::core::Vtable::as_raw(self), geometryrealization.into().abi(), brush.into().abi()) } } -::windows::core::interface_hierarchy!(ID2D1DeviceContext1, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext); +::windows::imp::interface_hierarchy!(ID2D1DeviceContext1, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext); impl ::core::cmp::PartialEq for ID2D1DeviceContext1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5855,7 +5855,7 @@ impl ID2D1DeviceContext2 { (::windows::core::Vtable::vtable(self).CreateTransformedImageSource)(::windows::core::Vtable::as_raw(self), imagesource.into().abi(), properties, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1DeviceContext2, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1); +::windows::imp::interface_hierarchy!(ID2D1DeviceContext2, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1); impl ::core::cmp::PartialEq for ID2D1DeviceContext2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6584,7 +6584,7 @@ impl ID2D1DeviceContext3 { (::windows::core::Vtable::vtable(self).DrawSpriteBatch)(::windows::core::Vtable::as_raw(self), spritebatch.into().abi(), startindex, spritecount, bitmap.into().abi(), interpolationmode, spriteoptions) } } -::windows::core::interface_hierarchy!(ID2D1DeviceContext3, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2); +::windows::imp::interface_hierarchy!(ID2D1DeviceContext3, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2); impl ::core::cmp::PartialEq for ID2D1DeviceContext3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7344,7 +7344,7 @@ impl ID2D1DeviceContext4 { (::windows::core::Vtable::vtable(self).GetSvgGlyphImage)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(glyphorigin), fontface.into().abi(), fontemsize, glyphindex, issideways.into(), ::core::mem::transmute(worldtransform.unwrap_or(::std::ptr::null())), defaultfillbrush.into().abi(), svgglyphstyle.into().abi(), colorpaletteindex, glyphtransform, ::core::mem::transmute(glyphimage)).ok() } } -::windows::core::interface_hierarchy!(ID2D1DeviceContext4, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3); +::windows::imp::interface_hierarchy!(ID2D1DeviceContext4, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3); impl ::core::cmp::PartialEq for ID2D1DeviceContext4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8154,7 +8154,7 @@ impl ID2D1DeviceContext5 { (::windows::core::Vtable::vtable(self).CreateColorContextFromSimpleColorProfile)(::windows::core::Vtable::as_raw(self), simpleprofile, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1DeviceContext5, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4); +::windows::imp::interface_hierarchy!(ID2D1DeviceContext5, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4); impl ::core::cmp::PartialEq for ID2D1DeviceContext5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8960,7 +8960,7 @@ impl ID2D1DeviceContext6 { (::windows::core::Vtable::vtable(self).BlendImage)(::windows::core::Vtable::as_raw(self), image.into().abi(), blendmode, ::core::mem::transmute(targetoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(imagerectangle.unwrap_or(::std::ptr::null())), interpolationmode) } } -::windows::core::interface_hierarchy!(ID2D1DeviceContext6, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4, ID2D1DeviceContext5); +::windows::imp::interface_hierarchy!(ID2D1DeviceContext6, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4, ID2D1DeviceContext5); impl ::core::cmp::PartialEq for ID2D1DeviceContext6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9037,7 +9037,7 @@ impl ID2D1DrawInfo { (::windows::core::Vtable::vtable(self).SetVertexProcessing)(::windows::core::Vtable::as_raw(self), vertexbuffer.into().abi(), vertexoptions, ::core::mem::transmute(blenddescription.unwrap_or(::std::ptr::null())), ::core::mem::transmute(vertexrange.unwrap_or(::std::ptr::null())), ::core::mem::transmute(vertexshader.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(ID2D1DrawInfo, ::windows::core::IUnknown, ID2D1RenderInfo); +::windows::imp::interface_hierarchy!(ID2D1DrawInfo, ::windows::core::IUnknown, ID2D1RenderInfo); impl ::core::cmp::PartialEq for ID2D1DrawInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9102,7 +9102,7 @@ impl ID2D1DrawTransform { (::windows::core::Vtable::vtable(self).SetDrawInfo)(::windows::core::Vtable::as_raw(self), drawinfo.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID2D1DrawTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1Transform); +::windows::imp::interface_hierarchy!(ID2D1DrawTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1Transform); impl ::core::cmp::PartialEq for ID2D1DrawTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9168,7 +9168,7 @@ impl ID2D1DrawingStateBlock { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1DrawingStateBlock, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1DrawingStateBlock, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1DrawingStateBlock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9259,7 +9259,7 @@ impl ID2D1DrawingStateBlock1 { (::windows::core::Vtable::vtable(self).SetDescription2)(::windows::core::Vtable::as_raw(self), statedescription) } } -::windows::core::interface_hierarchy!(ID2D1DrawingStateBlock1, ::windows::core::IUnknown, ID2D1Resource, ID2D1DrawingStateBlock); +::windows::imp::interface_hierarchy!(ID2D1DrawingStateBlock1, ::windows::core::IUnknown, ID2D1Resource, ID2D1DrawingStateBlock); impl ::core::cmp::PartialEq for ID2D1DrawingStateBlock1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9370,7 +9370,7 @@ impl ID2D1Effect { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Effect, ::windows::core::IUnknown, ID2D1Properties); +::windows::imp::interface_hierarchy!(ID2D1Effect, ::windows::core::IUnknown, ID2D1Properties); impl ::core::cmp::PartialEq for ID2D1Effect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9513,7 +9513,7 @@ impl ID2D1EffectContext { (::windows::core::Vtable::vtable(self).IsBufferPrecisionSupported)(::windows::core::Vtable::as_raw(self), bufferprecision) } } -::windows::core::interface_hierarchy!(ID2D1EffectContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1EffectContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1EffectContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9694,7 +9694,7 @@ impl ID2D1EffectContext1 { (::windows::core::Vtable::vtable(self).CreateLookupTable3D)(::windows::core::Vtable::as_raw(self), precision, ::core::mem::transmute(extents.as_ptr()), ::core::mem::transmute(data.as_ptr()), data.len() as _, ::core::mem::transmute(strides.as_ptr()), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1EffectContext1, ::windows::core::IUnknown, ID2D1EffectContext); +::windows::imp::interface_hierarchy!(ID2D1EffectContext1, ::windows::core::IUnknown, ID2D1EffectContext); impl ::core::cmp::PartialEq for ID2D1EffectContext1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9846,7 +9846,7 @@ impl ID2D1EffectContext2 { (::windows::core::Vtable::vtable(self).CreateColorContextFromSimpleColorProfile)(::windows::core::Vtable::as_raw(self), simpleprofile, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1EffectContext2, ::windows::core::IUnknown, ID2D1EffectContext, ID2D1EffectContext1); +::windows::imp::interface_hierarchy!(ID2D1EffectContext2, ::windows::core::IUnknown, ID2D1EffectContext, ID2D1EffectContext1); impl ::core::cmp::PartialEq for ID2D1EffectContext2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9905,7 +9905,7 @@ impl ID2D1EffectImpl { (::windows::core::Vtable::vtable(self).SetGraph)(::windows::core::Vtable::as_raw(self), transformgraph.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID2D1EffectImpl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1EffectImpl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1EffectImpl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10053,7 +10053,7 @@ impl ID2D1EllipseGeometry { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID2D1EllipseGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); +::windows::imp::interface_hierarchy!(ID2D1EllipseGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ::core::cmp::PartialEq for ID2D1EllipseGeometry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10178,7 +10178,7 @@ impl ID2D1Factory { (::windows::core::Vtable::vtable(self).CreateDCRenderTarget)(::windows::core::Vtable::as_raw(self), rendertargetproperties, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Factory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1Factory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1Factory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10402,7 +10402,7 @@ impl ID2D1Factory1 { (::windows::core::Vtable::vtable(self).GetEffectProperties)(::windows::core::Vtable::as_raw(self), effectid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Factory1, ::windows::core::IUnknown, ID2D1Factory); +::windows::imp::interface_hierarchy!(ID2D1Factory1, ::windows::core::IUnknown, ID2D1Factory); impl ::core::cmp::PartialEq for ID2D1Factory1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10613,7 +10613,7 @@ impl ID2D1Factory2 { (::windows::core::Vtable::vtable(self).CreateDevice2)(::windows::core::Vtable::as_raw(self), dxgidevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Factory2, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1); +::windows::imp::interface_hierarchy!(ID2D1Factory2, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1); impl ::core::cmp::PartialEq for ID2D1Factory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10815,7 +10815,7 @@ impl ID2D1Factory3 { (::windows::core::Vtable::vtable(self).CreateDevice3)(::windows::core::Vtable::as_raw(self), dxgidevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Factory3, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2); +::windows::imp::interface_hierarchy!(ID2D1Factory3, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2); impl ::core::cmp::PartialEq for ID2D1Factory3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11026,7 +11026,7 @@ impl ID2D1Factory4 { (::windows::core::Vtable::vtable(self).CreateDevice4)(::windows::core::Vtable::as_raw(self), dxgidevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Factory4, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3); +::windows::imp::interface_hierarchy!(ID2D1Factory4, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3); impl ::core::cmp::PartialEq for ID2D1Factory4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11246,7 +11246,7 @@ impl ID2D1Factory5 { (::windows::core::Vtable::vtable(self).CreateDevice5)(::windows::core::Vtable::as_raw(self), dxgidevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Factory5, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4); +::windows::imp::interface_hierarchy!(ID2D1Factory5, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4); impl ::core::cmp::PartialEq for ID2D1Factory5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11475,7 +11475,7 @@ impl ID2D1Factory6 { (::windows::core::Vtable::vtable(self).CreateDevice6)(::windows::core::Vtable::as_raw(self), dxgidevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Factory6, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5); +::windows::imp::interface_hierarchy!(ID2D1Factory6, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5); impl ::core::cmp::PartialEq for ID2D1Factory6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11713,7 +11713,7 @@ impl ID2D1Factory7 { (::windows::core::Vtable::vtable(self).CreateDevice7)(::windows::core::Vtable::as_raw(self), dxgidevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Factory7, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5, ID2D1Factory6); +::windows::imp::interface_hierarchy!(ID2D1Factory7, ::windows::core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5, ID2D1Factory6); impl ::core::cmp::PartialEq for ID2D1Factory7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11763,7 +11763,7 @@ impl ID2D1GdiInteropRenderTarget { (::windows::core::Vtable::vtable(self).ReleaseDC)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(update.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(ID2D1GdiInteropRenderTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1GdiInteropRenderTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1GdiInteropRenderTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11823,7 +11823,7 @@ impl ID2D1GdiMetafile { (::windows::core::Vtable::vtable(self).GetBounds)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1GdiMetafile, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1GdiMetafile, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1GdiMetafile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11889,7 +11889,7 @@ impl ID2D1GdiMetafile1 { (::windows::core::Vtable::vtable(self).GetSourceBounds)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1GdiMetafile1, ::windows::core::IUnknown, ID2D1Resource, ID2D1GdiMetafile); +::windows::imp::interface_hierarchy!(ID2D1GdiMetafile1, ::windows::core::IUnknown, ID2D1Resource, ID2D1GdiMetafile); impl ::core::cmp::PartialEq for ID2D1GdiMetafile1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11932,7 +11932,7 @@ impl ID2D1GdiMetafileSink { (::windows::core::Vtable::vtable(self).ProcessRecord)(::windows::core::Vtable::as_raw(self), recordtype, ::core::mem::transmute(recorddata.unwrap_or(::std::ptr::null())), recorddatasize).ok() } } -::windows::core::interface_hierarchy!(ID2D1GdiMetafileSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1GdiMetafileSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1GdiMetafileSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11974,7 +11974,7 @@ impl ID2D1GdiMetafileSink1 { (::windows::core::Vtable::vtable(self).ProcessRecord2)(::windows::core::Vtable::as_raw(self), recordtype, ::core::mem::transmute(recorddata.unwrap_or(::std::ptr::null())), recorddatasize, flags).ok() } } -::windows::core::interface_hierarchy!(ID2D1GdiMetafileSink1, ::windows::core::IUnknown, ID2D1GdiMetafileSink); +::windows::imp::interface_hierarchy!(ID2D1GdiMetafileSink1, ::windows::core::IUnknown, ID2D1GdiMetafileSink); impl ::core::cmp::PartialEq for ID2D1GdiMetafileSink1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12113,7 +12113,7 @@ impl ID2D1Geometry { (::windows::core::Vtable::vtable(self).Widen)(::windows::core::Vtable::as_raw(self), strokewidth, strokestyle.into().abi(), ::core::mem::transmute(worldtransform.unwrap_or(::std::ptr::null())), flatteningtolerance, geometrysink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID2D1Geometry, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1Geometry, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1Geometry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12314,7 +12314,7 @@ impl ID2D1GeometryGroup { (::windows::core::Vtable::vtable(self).GetSourceGeometries)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _) } } -::windows::core::interface_hierarchy!(ID2D1GeometryGroup, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); +::windows::imp::interface_hierarchy!(ID2D1GeometryGroup, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ::core::cmp::PartialEq for ID2D1GeometryGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12360,7 +12360,7 @@ impl ID2D1GeometryRealization { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1GeometryRealization, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1GeometryRealization, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1GeometryRealization { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12458,7 +12458,7 @@ impl ID2D1GeometrySink { } } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] -::windows::core::interface_hierarchy!(ID2D1GeometrySink, ::windows::core::IUnknown, Common::ID2D1SimplifiedGeometrySink); +::windows::imp::interface_hierarchy!(ID2D1GeometrySink, ::windows::core::IUnknown, Common::ID2D1SimplifiedGeometrySink); #[cfg(feature = "Win32_Graphics_Direct2D_Common")] impl ::core::cmp::PartialEq for ID2D1GeometrySink { fn eq(&self, other: &Self) -> bool { @@ -12535,7 +12535,7 @@ impl ID2D1GradientMesh { (::windows::core::Vtable::vtable(self).GetPatches)(::windows::core::Vtable::as_raw(self), startindex, ::core::mem::transmute(patches.as_ptr()), patches.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID2D1GradientMesh, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1GradientMesh, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1GradientMesh { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12594,7 +12594,7 @@ impl ID2D1GradientStopCollection { (::windows::core::Vtable::vtable(self).GetExtendMode)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1GradientStopCollection, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1GradientStopCollection, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1GradientStopCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12672,7 +12672,7 @@ impl ID2D1GradientStopCollection1 { (::windows::core::Vtable::vtable(self).GetColorInterpolationMode)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1GradientStopCollection1, ::windows::core::IUnknown, ID2D1Resource, ID2D1GradientStopCollection); +::windows::imp::interface_hierarchy!(ID2D1GradientStopCollection1, ::windows::core::IUnknown, ID2D1Resource, ID2D1GradientStopCollection); impl ::core::cmp::PartialEq for ID2D1GradientStopCollection1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13057,7 +13057,7 @@ impl ID2D1HwndRenderTarget { (::windows::core::Vtable::vtable(self).GetHwnd)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1HwndRenderTarget, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget); +::windows::imp::interface_hierarchy!(ID2D1HwndRenderTarget, ::windows::core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ::core::cmp::PartialEq for ID2D1HwndRenderTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13106,7 +13106,7 @@ impl ID2D1Image { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Image, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1Image, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1Image { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13203,7 +13203,7 @@ impl ID2D1ImageBrush { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID2D1ImageBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); +::windows::imp::interface_hierarchy!(ID2D1ImageBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); impl ::core::cmp::PartialEq for ID2D1ImageBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13268,7 +13268,7 @@ impl ID2D1ImageSource { (::windows::core::Vtable::vtable(self).TryReclaimResources)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1ImageSource, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image); +::windows::imp::interface_hierarchy!(ID2D1ImageSource, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image); impl ::core::cmp::PartialEq for ID2D1ImageSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13339,7 +13339,7 @@ impl ID2D1ImageSourceFromWic { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1ImageSourceFromWic, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1ImageSource); +::windows::imp::interface_hierarchy!(ID2D1ImageSourceFromWic, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1ImageSource); impl ::core::cmp::PartialEq for ID2D1ImageSourceFromWic { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13435,7 +13435,7 @@ impl ID2D1Ink { (::windows::core::Vtable::vtable(self).GetBounds)(::windows::core::Vtable::as_raw(self), inkstyle.into().abi(), ::core::mem::transmute(worldtransform.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Ink, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1Ink, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1Ink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13507,7 +13507,7 @@ impl ID2D1InkStyle { (::windows::core::Vtable::vtable(self).GetNibShape)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1InkStyle, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1InkStyle, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1InkStyle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13564,7 +13564,7 @@ impl ID2D1Layer { result__ } } -::windows::core::interface_hierarchy!(ID2D1Layer, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1Layer, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1Layer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13653,7 +13653,7 @@ impl ID2D1LinearGradientBrush { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1LinearGradientBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); +::windows::imp::interface_hierarchy!(ID2D1LinearGradientBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); impl ::core::cmp::PartialEq for ID2D1LinearGradientBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13710,7 +13710,7 @@ impl ID2D1LookupTable3D { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1LookupTable3D, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1LookupTable3D, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1LookupTable3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13754,7 +13754,7 @@ impl ID2D1Mesh { (::windows::core::Vtable::vtable(self).Open)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Mesh, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1Mesh, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1Mesh { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13801,7 +13801,7 @@ impl ID2D1Multithread { (::windows::core::Vtable::vtable(self).Leave)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1Multithread, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1Multithread, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1Multithread { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13857,7 +13857,7 @@ impl ID2D1OffsetTransform { result__ } } -::windows::core::interface_hierarchy!(ID2D1OffsetTransform, ::windows::core::IUnknown, ID2D1TransformNode); +::windows::imp::interface_hierarchy!(ID2D1OffsetTransform, ::windows::core::IUnknown, ID2D1TransformNode); impl ::core::cmp::PartialEq for ID2D1OffsetTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14025,7 +14025,7 @@ impl ID2D1PathGeometry { (::windows::core::Vtable::vtable(self).GetFigureCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1PathGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); +::windows::imp::interface_hierarchy!(ID2D1PathGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ::core::cmp::PartialEq for ID2D1PathGeometry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14200,7 +14200,7 @@ impl ID2D1PathGeometry1 { (::windows::core::Vtable::vtable(self).ComputePointAndSegmentAtLength)(::windows::core::Vtable::as_raw(self), length, startsegment, ::core::mem::transmute(worldtransform.unwrap_or(::std::ptr::null())), flatteningtolerance, pointdescription).ok() } } -::windows::core::interface_hierarchy!(ID2D1PathGeometry1, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry, ID2D1PathGeometry); +::windows::imp::interface_hierarchy!(ID2D1PathGeometry1, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry, ID2D1PathGeometry); impl ::core::cmp::PartialEq for ID2D1PathGeometry1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14251,7 +14251,7 @@ impl ID2D1PrintControl { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID2D1PrintControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1PrintControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1PrintControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14334,7 +14334,7 @@ impl ID2D1Properties { (::windows::core::Vtable::vtable(self).GetSubProperties)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Properties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1Properties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1Properties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14442,7 +14442,7 @@ impl ID2D1RadialGradientBrush { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1RadialGradientBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); +::windows::imp::interface_hierarchy!(ID2D1RadialGradientBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); impl ::core::cmp::PartialEq for ID2D1RadialGradientBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14608,7 +14608,7 @@ impl ID2D1RectangleGeometry { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID2D1RectangleGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); +::windows::imp::interface_hierarchy!(ID2D1RectangleGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ::core::cmp::PartialEq for ID2D1RectangleGeometry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14664,7 +14664,7 @@ impl ID2D1RenderInfo { (::windows::core::Vtable::vtable(self).SetInstructionCountHint)(::windows::core::Vtable::as_raw(self), instructioncount) } } -::windows::core::interface_hierarchy!(ID2D1RenderInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1RenderInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1RenderInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15035,7 +15035,7 @@ impl ID2D1RenderTarget { (::windows::core::Vtable::vtable(self).IsSupported)(::windows::core::Vtable::as_raw(self), rendertargetproperties) } } -::windows::core::interface_hierarchy!(ID2D1RenderTarget, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1RenderTarget, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1RenderTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15227,7 +15227,7 @@ impl ID2D1Resource { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Resource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1Resource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1Resource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15266,7 +15266,7 @@ impl ID2D1ResourceTexture { (::windows::core::Vtable::vtable(self).Update)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(minimumextents.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximimumextents.unwrap_or(::std::ptr::null())), ::core::mem::transmute(strides.unwrap_or(::std::ptr::null())), dimensions, ::core::mem::transmute(data.as_ptr()), data.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID2D1ResourceTexture, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1ResourceTexture, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1ResourceTexture { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15410,7 +15410,7 @@ impl ID2D1RoundedRectangleGeometry { (::windows::core::Vtable::vtable(self).GetRoundedRect)(::windows::core::Vtable::as_raw(self), roundedrect) } } -::windows::core::interface_hierarchy!(ID2D1RoundedRectangleGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); +::windows::imp::interface_hierarchy!(ID2D1RoundedRectangleGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ::core::cmp::PartialEq for ID2D1RoundedRectangleGeometry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15482,7 +15482,7 @@ impl ID2D1SolidColorBrush { result__ } } -::windows::core::interface_hierarchy!(ID2D1SolidColorBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); +::windows::imp::interface_hierarchy!(ID2D1SolidColorBrush, ::windows::core::IUnknown, ID2D1Resource, ID2D1Brush); impl ::core::cmp::PartialEq for ID2D1SolidColorBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15558,7 +15558,7 @@ impl ID2D1SourceTransform { (::windows::core::Vtable::vtable(self).Draw)(::windows::core::Vtable::as_raw(self), target.into().abi(), drawrect, ::core::mem::transmute(targetorigin)).ok() } } -::windows::core::interface_hierarchy!(ID2D1SourceTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1Transform); +::windows::imp::interface_hierarchy!(ID2D1SourceTransform, ::windows::core::IUnknown, ID2D1TransformNode, ID2D1Transform); impl ::core::cmp::PartialEq for ID2D1SourceTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15624,7 +15624,7 @@ impl ID2D1SpriteBatch { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1SpriteBatch, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1SpriteBatch, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1SpriteBatch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15705,7 +15705,7 @@ impl ID2D1StrokeStyle { (::windows::core::Vtable::vtable(self).GetDashes)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(dashes.as_ptr()), dashes.len() as _) } } -::windows::core::interface_hierarchy!(ID2D1StrokeStyle, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1StrokeStyle, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1StrokeStyle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15784,7 +15784,7 @@ impl ID2D1StrokeStyle1 { (::windows::core::Vtable::vtable(self).GetStrokeTransformType)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1StrokeStyle1, ::windows::core::IUnknown, ID2D1Resource, ID2D1StrokeStyle); +::windows::imp::interface_hierarchy!(ID2D1StrokeStyle1, ::windows::core::IUnknown, ID2D1Resource, ID2D1StrokeStyle); impl ::core::cmp::PartialEq for ID2D1StrokeStyle1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15834,7 +15834,7 @@ impl ID2D1SvgAttribute { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1SvgAttribute, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1SvgAttribute, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1SvgAttribute { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15947,7 +15947,7 @@ impl ID2D1SvgDocument { (::windows::core::Vtable::vtable(self).CreatePathData)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(segmentdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), segmentdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(commands.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), commands.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1SvgDocument, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1SvgDocument, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1SvgDocument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16182,7 +16182,7 @@ impl ID2D1SvgElement { (::windows::core::Vtable::vtable(self).GetAttributeValueLength)(::windows::core::Vtable::as_raw(self), name.into().abi(), r#type, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1SvgElement, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1SvgElement, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1SvgElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16290,7 +16290,7 @@ impl ID2D1SvgGlyphStyle { (::windows::core::Vtable::vtable(self).GetStroke)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(brush.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(strokewidth.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(dashes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dashes.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(dashoffset.unwrap_or(::std::ptr::null_mut()))) } } -::windows::core::interface_hierarchy!(ID2D1SvgGlyphStyle, ::windows::core::IUnknown, ID2D1Resource); +::windows::imp::interface_hierarchy!(ID2D1SvgGlyphStyle, ::windows::core::IUnknown, ID2D1Resource); impl ::core::cmp::PartialEq for ID2D1SvgGlyphStyle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16374,7 +16374,7 @@ impl ID2D1SvgPaint { (::windows::core::Vtable::vtable(self).GetIdLength)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1SvgPaint, ::windows::core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); +::windows::imp::interface_hierarchy!(ID2D1SvgPaint, ::windows::core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); impl ::core::cmp::PartialEq for ID2D1SvgPaint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16466,7 +16466,7 @@ impl ID2D1SvgPathData { (::windows::core::Vtable::vtable(self).CreatePathGeometry)(::windows::core::Vtable::as_raw(self), fillmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1SvgPathData, ::windows::core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); +::windows::imp::interface_hierarchy!(ID2D1SvgPathData, ::windows::core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); impl ::core::cmp::PartialEq for ID2D1SvgPathData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16543,7 +16543,7 @@ impl ID2D1SvgPointCollection { (::windows::core::Vtable::vtable(self).GetPointsCount)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1SvgPointCollection, ::windows::core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); +::windows::imp::interface_hierarchy!(ID2D1SvgPointCollection, ::windows::core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); impl ::core::cmp::PartialEq for ID2D1SvgPointCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16620,7 +16620,7 @@ impl ID2D1SvgStrokeDashArray { (::windows::core::Vtable::vtable(self).GetDashesCount)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1SvgStrokeDashArray, ::windows::core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); +::windows::imp::interface_hierarchy!(ID2D1SvgStrokeDashArray, ::windows::core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); impl ::core::cmp::PartialEq for ID2D1SvgStrokeDashArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16669,7 +16669,7 @@ impl ID2D1TessellationSink { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID2D1TessellationSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1TessellationSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1TessellationSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16728,7 +16728,7 @@ impl ID2D1Transform { (::windows::core::Vtable::vtable(self).MapInvalidRect)(::windows::core::Vtable::as_raw(self), inputindex, ::core::mem::transmute(invalidinputrect), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID2D1Transform, ::windows::core::IUnknown, ID2D1TransformNode); +::windows::imp::interface_hierarchy!(ID2D1Transform, ::windows::core::IUnknown, ID2D1TransformNode); impl ::core::cmp::PartialEq for ID2D1Transform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16821,7 +16821,7 @@ impl ID2D1TransformGraph { (::windows::core::Vtable::vtable(self).SetPassthroughGraph)(::windows::core::Vtable::as_raw(self), effectinputindex).ok() } } -::windows::core::interface_hierarchy!(ID2D1TransformGraph, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1TransformGraph, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1TransformGraph { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16868,7 +16868,7 @@ impl ID2D1TransformNode { (::windows::core::Vtable::vtable(self).GetInputCount)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID2D1TransformNode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1TransformNode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1TransformNode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17017,7 +17017,7 @@ impl ID2D1TransformedGeometry { (::windows::core::Vtable::vtable(self).GetTransform)(::windows::core::Vtable::as_raw(self), transform) } } -::windows::core::interface_hierarchy!(ID2D1TransformedGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); +::windows::imp::interface_hierarchy!(ID2D1TransformedGeometry, ::windows::core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ::core::cmp::PartialEq for ID2D1TransformedGeometry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17070,7 +17070,7 @@ impl ID2D1TransformedImageSource { (::windows::core::Vtable::vtable(self).GetProperties)(::windows::core::Vtable::as_raw(self), properties) } } -::windows::core::interface_hierarchy!(ID2D1TransformedImageSource, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image); +::windows::imp::interface_hierarchy!(ID2D1TransformedImageSource, ::windows::core::IUnknown, ID2D1Resource, ID2D1Image); impl ::core::cmp::PartialEq for ID2D1TransformedImageSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17113,7 +17113,7 @@ impl ID2D1VertexBuffer { (::windows::core::Vtable::vtable(self).Unmap)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID2D1VertexBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID2D1VertexBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID2D1VertexBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 9cf5b2c7f6..7a7f96a07d 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 @@ -4,7 +4,7 @@ pub unsafe fn DxcCreateInstance(rclsid: *const ::windows::core::GUID) -> ::wi where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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__) } @@ -16,7 +16,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), rclsid, &::IID, &mut result__).from_abi(result__) } @@ -32,7 +32,7 @@ impl IDxcAssembler { (::windows::core::Vtable::vtable(self).AssembleToContainer)(::windows::core::Vtable::as_raw(self), pshader.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcAssembler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcAssembler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcAssembler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -72,7 +72,7 @@ impl IDxcBlob { (::windows::core::Vtable::vtable(self).GetBufferSize)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDxcBlob, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcBlob, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcBlob { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -118,7 +118,7 @@ impl IDxcBlobEncoding { (::windows::core::Vtable::vtable(self).GetEncoding)(::windows::core::Vtable::as_raw(self), pknown, pcodepage).ok() } } -::windows::core::interface_hierarchy!(IDxcBlobEncoding, ::windows::core::IUnknown, IDxcBlob); +::windows::imp::interface_hierarchy!(IDxcBlobEncoding, ::windows::core::IUnknown, IDxcBlob); impl ::core::cmp::PartialEq for IDxcBlobEncoding { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -172,7 +172,7 @@ impl IDxcBlobUtf16 { (::windows::core::Vtable::vtable(self).GetStringLength)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDxcBlobUtf16, ::windows::core::IUnknown, IDxcBlob, IDxcBlobEncoding); +::windows::imp::interface_hierarchy!(IDxcBlobUtf16, ::windows::core::IUnknown, IDxcBlob, IDxcBlobEncoding); impl ::core::cmp::PartialEq for IDxcBlobUtf16 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -224,7 +224,7 @@ impl IDxcBlobUtf8 { (::windows::core::Vtable::vtable(self).GetStringLength)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDxcBlobUtf8, ::windows::core::IUnknown, IDxcBlob, IDxcBlobEncoding); +::windows::imp::interface_hierarchy!(IDxcBlobUtf8, ::windows::core::IUnknown, IDxcBlob, IDxcBlobEncoding); impl ::core::cmp::PartialEq for IDxcBlobUtf8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -286,7 +286,7 @@ impl IDxcCompiler { (::windows::core::Vtable::vtable(self).Disassemble)(::windows::core::Vtable::as_raw(self), psource.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcCompiler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcCompiler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcCompiler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -374,7 +374,7 @@ impl IDxcCompiler2 { .ok() } } -::windows::core::interface_hierarchy!(IDxcCompiler2, ::windows::core::IUnknown, IDxcCompiler); +::windows::imp::interface_hierarchy!(IDxcCompiler2, ::windows::core::IUnknown, IDxcCompiler); impl ::core::cmp::PartialEq for IDxcCompiler2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -423,7 +423,7 @@ impl IDxcCompiler3 { (::windows::core::Vtable::vtable(self).Disassemble)(::windows::core::Vtable::as_raw(self), pobject, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcCompiler3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcCompiler3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcCompiler3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -473,7 +473,7 @@ impl IDxcCompilerArgs { (::windows::core::Vtable::vtable(self).AddDefines)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdefines.as_ptr()), pdefines.len() as _).ok() } } -::windows::core::interface_hierarchy!(IDxcCompilerArgs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcCompilerArgs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcCompilerArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -530,7 +530,7 @@ impl IDxcContainerBuilder { (::windows::core::Vtable::vtable(self).SerializeContainer)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcContainerBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcContainerBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcContainerBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -592,7 +592,7 @@ impl IDxcContainerReflection { (::windows::core::Vtable::vtable(self).GetPartReflection)(::windows::core::Vtable::as_raw(self), idx, iid, ppvobject).ok() } } -::windows::core::interface_hierarchy!(IDxcContainerReflection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcContainerReflection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcContainerReflection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -640,7 +640,7 @@ impl IDxcExtraOutputs { (::windows::core::Vtable::vtable(self).GetOutput)(::windows::core::Vtable::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_hierarchy!(IDxcExtraOutputs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcExtraOutputs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcExtraOutputs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -682,7 +682,7 @@ impl IDxcIncludeHandler { (::windows::core::Vtable::vtable(self).LoadSource)(::windows::core::Vtable::as_raw(self), pfilename.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcIncludeHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcIncludeHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcIncludeHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -782,7 +782,7 @@ impl IDxcLibrary { (::windows::core::Vtable::vtable(self).GetBlobAsUtf16)(::windows::core::Vtable::as_raw(self), pblob.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcLibrary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcLibrary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcLibrary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -849,7 +849,7 @@ impl IDxcLinker { (::windows::core::Vtable::vtable(self).Link)(::windows::core::Vtable::as_raw(self), pentryname.into().abi(), ptargetprofile.into().abi(), ::core::mem::transmute(plibnames.as_ptr()), plibnames.len() as _, ::core::mem::transmute(parguments.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), parguments.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcLinker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcLinker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcLinker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -896,7 +896,7 @@ impl IDxcOperationResult { (::windows::core::Vtable::vtable(self).GetErrorBuffer)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcOperationResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcOperationResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcOperationResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -946,7 +946,7 @@ impl IDxcOptimizer { (::windows::core::Vtable::vtable(self).RunOptimizer)(::windows::core::Vtable::as_raw(self), pblob.into().abi(), ::core::mem::transmute(ppoptions.as_ptr()), ppoptions.len() as _, ::core::mem::transmute(poutputmodule), ::core::mem::transmute(ppoutputtext.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDxcOptimizer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcOptimizer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcOptimizer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1002,7 +1002,7 @@ impl IDxcOptimizerPass { (::windows::core::Vtable::vtable(self).GetOptionArgDescription)(::windows::core::Vtable::as_raw(self), argindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcOptimizerPass, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcOptimizerPass, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcOptimizerPass { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1141,7 +1141,7 @@ impl IDxcPdbUtils { (::windows::core::Vtable::vtable(self).OverrideRootSignature)(::windows::core::Vtable::as_raw(self), prootsignature.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDxcPdbUtils, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcPdbUtils, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcPdbUtils { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1233,7 +1233,7 @@ impl IDxcResult { (::windows::core::Vtable::vtable(self).PrimaryOutput)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDxcResult, ::windows::core::IUnknown, IDxcOperationResult); +::windows::imp::interface_hierarchy!(IDxcResult, ::windows::core::IUnknown, IDxcOperationResult); impl ::core::cmp::PartialEq for IDxcResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1353,7 +1353,7 @@ impl IDxcUtils { (::windows::core::Vtable::vtable(self).GetPDBContents)(::windows::core::Vtable::as_raw(self), ppdbblob.into().abi(), ::core::mem::transmute(pphash), ::core::mem::transmute(ppcontainer)).ok() } } -::windows::core::interface_hierarchy!(IDxcUtils, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcUtils, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcUtils { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1412,7 +1412,7 @@ impl IDxcValidator { (::windows::core::Vtable::vtable(self).Validate)(::windows::core::Vtable::as_raw(self), pshader.into().abi(), flags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcValidator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcValidator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcValidator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1460,7 +1460,7 @@ impl IDxcValidator2 { (::windows::core::Vtable::vtable(self).ValidateWithDebug)(::windows::core::Vtable::as_raw(self), pshader.into().abi(), flags, ::core::mem::transmute(poptdebugbitcode.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcValidator2, ::windows::core::IUnknown, IDxcValidator); +::windows::imp::interface_hierarchy!(IDxcValidator2, ::windows::core::IUnknown, IDxcValidator); impl ::core::cmp::PartialEq for IDxcValidator2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1501,7 +1501,7 @@ impl IDxcVersionInfo { (::windows::core::Vtable::vtable(self).GetFlags)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcVersionInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcVersionInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcVersionInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1546,7 +1546,7 @@ impl IDxcVersionInfo2 { (::windows::core::Vtable::vtable(self).GetCommitInfo)(::windows::core::Vtable::as_raw(self), pcommitcount, pcommithash).ok() } } -::windows::core::interface_hierarchy!(IDxcVersionInfo2, ::windows::core::IUnknown, IDxcVersionInfo); +::windows::imp::interface_hierarchy!(IDxcVersionInfo2, ::windows::core::IUnknown, IDxcVersionInfo); impl ::core::cmp::PartialEq for IDxcVersionInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1584,7 +1584,7 @@ impl IDxcVersionInfo3 { (::windows::core::Vtable::vtable(self).GetCustomVersionString)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDxcVersionInfo3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDxcVersionInfo3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDxcVersionInfo3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs index e738ff78a8..1f643ecc6b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Fxc/mod.rs @@ -7,7 +7,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DCompile ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , psourcename : :: windows::core::PCSTR , pdefines : *const super:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , pentrypoint : :: windows::core::PCSTR , ptarget : :: windows::core::PCSTR , flags1 : u32 , flags2 : u32 , ppcode : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DCompile ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , psourcename : :: windows::core::PCSTR , pdefines : *const super:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , pentrypoint : :: windows::core::PCSTR , ptarget : :: windows::core::PCSTR , flags1 : u32 , flags2 : u32 , ppcode : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DCompile(psrcdata, srcdatasize, psourcename.into().abi(), ::core::mem::transmute(pdefines.unwrap_or(::std::ptr::null())), pinclude.into().abi(), pentrypoint.into().abi(), ptarget.into().abi(), flags1, flags2, ::core::mem::transmute(ppcode), ::core::mem::transmute(pperrormsgs.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -19,7 +19,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DCompile2 ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , psourcename : :: windows::core::PCSTR , pdefines : *const super:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , pentrypoint : :: windows::core::PCSTR , ptarget : :: windows::core::PCSTR , flags1 : u32 , flags2 : u32 , secondarydataflags : u32 , psecondarydata : *const ::core::ffi::c_void , secondarydatasize : usize , ppcode : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DCompile2 ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , psourcename : :: windows::core::PCSTR , pdefines : *const super:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , pentrypoint : :: windows::core::PCSTR , ptarget : :: windows::core::PCSTR , flags1 : u32 , flags2 : u32 , secondarydataflags : u32 , psecondarydata : *const ::core::ffi::c_void , secondarydatasize : usize , ppcode : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DCompile2(psrcdata, srcdatasize, psourcename.into().abi(), ::core::mem::transmute(pdefines.unwrap_or(::std::ptr::null())), pinclude.into().abi(), pentrypoint.into().abi(), ptarget.into().abi(), flags1, flags2, secondarydataflags, ::core::mem::transmute(psecondarydata.unwrap_or(::std::ptr::null())), secondarydatasize, ::core::mem::transmute(ppcode), ::core::mem::transmute(pperrormsgs.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -31,20 +31,20 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DCompileFromFile ( pfilename : :: windows::core::PCWSTR , pdefines : *const super:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , pentrypoint : :: windows::core::PCSTR , ptarget : :: windows::core::PCSTR , flags1 : u32 , flags2 : u32 , ppcode : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DCompileFromFile ( pfilename : :: windows::core::PCWSTR , pdefines : *const super:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , pentrypoint : :: windows::core::PCSTR , ptarget : :: windows::core::PCSTR , flags1 : u32 , flags2 : u32 , ppcode : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DCompileFromFile(pfilename.into().abi(), ::core::mem::transmute(pdefines.unwrap_or(::std::ptr::null())), pinclude.into().abi(), pentrypoint.into().abi(), ptarget.into().abi(), flags1, flags2, ::core::mem::transmute(ppcode), ::core::mem::transmute(pperrormsgs.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DCompressShaders(pshaderdata: &[D3D_SHADER_DATA], uflags: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DCompressShaders ( unumshaders : u32 , pshaderdata : *const D3D_SHADER_DATA , uflags : u32 , ppcompresseddata : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DCompressShaders ( unumshaders : u32 , pshaderdata : *const D3D_SHADER_DATA , uflags : u32 , ppcompresseddata : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DCompressShaders(pshaderdata.len() as _, ::core::mem::transmute(pshaderdata.as_ptr()), uflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DCreateBlob(size: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DCreateBlob ( size : usize , ppblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DCreateBlob ( size : usize , ppblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DCreateBlob(size, &mut result__).from_abi(result__) } @@ -52,7 +52,7 @@ pub unsafe fn D3DCreateBlob(size: usize) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DCreateFunctionLinkingGraph ( uflags : u32 , ppfunctionlinkinggraph : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DCreateFunctionLinkingGraph ( uflags : u32 , ppfunctionlinkinggraph : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DCreateFunctionLinkingGraph(uflags, &mut result__).from_abi(result__) } @@ -60,14 +60,14 @@ pub unsafe fn D3DCreateFunctionLinkingGraph(uflags: u32) -> ::windows::core::Res #[cfg(feature = "Win32_Graphics_Direct3D11")] #[inline] pub unsafe fn D3DCreateLinker() -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DCreateLinker ( pplinker : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DCreateLinker ( pplinker : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DCreateLinker(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DDecompressShaders(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, unumshaders: u32, ustartindex: u32, pindices: ::core::option::Option<*const u32>, uflags: u32, ppshaders: *mut ::core::option::Option, ptotalshaders: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DDecompressShaders ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , unumshaders : u32 , ustartindex : u32 , pindices : *const u32 , uflags : u32 , ppshaders : *mut * mut::core::ffi::c_void , ptotalshaders : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DDecompressShaders ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , unumshaders : u32 , ustartindex : u32 , pindices : *const u32 , uflags : u32 , ppshaders : *mut * mut::core::ffi::c_void , ptotalshaders : *mut u32 ) -> :: windows::core::HRESULT ); D3DDecompressShaders(psrcdata, srcdatasize, unumshaders, ustartindex, ::core::mem::transmute(pindices.unwrap_or(::std::ptr::null())), uflags, ::core::mem::transmute(ppshaders), ::core::mem::transmute(ptotalshaders.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -76,7 +76,7 @@ pub unsafe fn D3DDisassemble(psrcdata: *const ::core::ffi::c_void, srcdatasi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassemble ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , flags : u32 , szcomments : :: windows::core::PCSTR , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassemble ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , flags : u32 , szcomments : :: windows::core::PCSTR , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DDisassemble(psrcdata, srcdatasize, flags, szcomments.into().abi(), &mut result__).from_abi(result__) } @@ -87,7 +87,7 @@ pub unsafe fn D3DDisassemble10Effect(peffect: P0, flags: u32) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassemble10Effect ( peffect : * mut::core::ffi::c_void , flags : u32 , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassemble10Effect ( peffect : * mut::core::ffi::c_void , flags : u32 , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DDisassemble10Effect(peffect.into().abi(), flags, &mut result__).from_abi(result__) } @@ -97,55 +97,55 @@ pub unsafe fn D3DDisassembleRegion(psrcdata: *const ::core::ffi::c_void, src where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassembleRegion ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , flags : u32 , szcomments : :: windows::core::PCSTR , startbyteoffset : usize , numinsts : usize , pfinishbyteoffset : *mut usize , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassembleRegion ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , flags : u32 , szcomments : :: windows::core::PCSTR , startbyteoffset : usize , numinsts : usize , pfinishbyteoffset : *mut usize , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DDisassembleRegion(psrcdata, srcdatasize, flags, szcomments.into().abi(), startbyteoffset, numinsts, ::core::mem::transmute(pfinishbyteoffset.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdisassembly)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DGetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DGetBlobPart ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , part : D3D_BLOB_PART , flags : u32 , pppart : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DGetBlobPart ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , part : D3D_BLOB_PART , flags : u32 , pppart : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DGetBlobPart(psrcdata, srcdatasize, part, flags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DGetDebugInfo(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DGetDebugInfo ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ppdebuginfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DGetDebugInfo ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ppdebuginfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DGetDebugInfo(psrcdata, srcdatasize, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DGetInputAndOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DGetInputAndOutputSignatureBlob ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DGetInputAndOutputSignatureBlob ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DGetInputAndOutputSignatureBlob(psrcdata, srcdatasize, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DGetInputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DGetInputSignatureBlob ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DGetInputSignatureBlob ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DGetInputSignatureBlob(psrcdata, srcdatasize, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DGetOutputSignatureBlob(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DGetOutputSignatureBlob ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DGetOutputSignatureBlob ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DGetOutputSignatureBlob(psrcdata, srcdatasize, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DGetTraceInstructionOffsets(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, flags: u32, startinstindex: usize, poffsets: ::core::option::Option<&mut [usize]>, ptotalinsts: ::core::option::Option<*mut usize>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DGetTraceInstructionOffsets ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , flags : u32 , startinstindex : usize , numinsts : usize , poffsets : *mut usize , ptotalinsts : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DGetTraceInstructionOffsets ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , flags : u32 , startinstindex : usize , numinsts : usize , poffsets : *mut usize , ptotalinsts : *mut usize ) -> :: windows::core::HRESULT ); D3DGetTraceInstructionOffsets(psrcdata, srcdatasize, flags, startinstindex, poffsets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(poffsets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ptotalinsts.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`, `\"Win32_Graphics_Direct3D11\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D11")] #[inline] pub unsafe fn D3DLoadModule(psrcdata: *const ::core::ffi::c_void, cbsrcdatasize: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DLoadModule ( psrcdata : *const ::core::ffi::c_void , cbsrcdatasize : usize , ppmodule : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DLoadModule ( psrcdata : *const ::core::ffi::c_void , cbsrcdatasize : usize , ppmodule : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DLoadModule(psrcdata, cbsrcdatasize, &mut result__).from_abi(result__) } @@ -156,7 +156,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DPreprocess ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , psourcename : :: windows::core::PCSTR , pdefines : *const super:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , ppcodetext : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DPreprocess ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , psourcename : :: windows::core::PCSTR , pdefines : *const super:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , ppcodetext : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DPreprocess(psrcdata, srcdatasize, psourcename.into().abi(), ::core::mem::transmute(pdefines.unwrap_or(::std::ptr::null())), pinclude.into().abi(), ::core::mem::transmute(ppcodetext), ::core::mem::transmute(pperrormsgs.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] @@ -165,33 +165,33 @@ pub unsafe fn D3DReadFileToBlob(pfilename: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DReadFileToBlob ( pfilename : :: windows::core::PCWSTR , ppcontents : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DReadFileToBlob ( pfilename : :: windows::core::PCWSTR , ppcontents : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DReadFileToBlob(pfilename.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DReflect(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, pinterface: *const ::windows::core::GUID, ppreflector: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DReflect ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , pinterface : *const :: windows::core::GUID , ppreflector : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DReflect ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , pinterface : *const :: windows::core::GUID , ppreflector : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DReflect(psrcdata, srcdatasize, pinterface, ppreflector).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DReflectLibrary(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, riid: *const ::windows::core::GUID, ppreflector: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DReflectLibrary ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , riid : *const :: windows::core::GUID , ppreflector : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DReflectLibrary ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , riid : *const :: windows::core::GUID , ppreflector : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DReflectLibrary(psrcdata, srcdatasize, riid, ppreflector).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DSetBlobPart(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32, ppart: *const ::core::ffi::c_void, partsize: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DSetBlobPart ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , part : D3D_BLOB_PART , flags : u32 , ppart : *const ::core::ffi::c_void , partsize : usize , ppnewshader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DSetBlobPart ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , part : D3D_BLOB_PART , flags : u32 , ppart : *const ::core::ffi::c_void , partsize : usize , ppnewshader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DSetBlobPart(psrcdata, srcdatasize, part, flags, ppart, partsize, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] #[inline] pub unsafe fn D3DStripShader(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, ustripflags: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DStripShader ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ustripflags : u32 , ppstrippedblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DStripShader ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ustripflags : u32 , ppstrippedblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DStripShader(pshaderbytecode, bytecodelength, ustripflags, &mut result__).from_abi(result__) } @@ -204,7 +204,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DWriteBlobToFile ( pblob : * mut::core::ffi::c_void , pfilename : :: windows::core::PCWSTR , boverwrite : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DWriteBlobToFile ( pblob : * mut::core::ffi::c_void , pfilename : :: windows::core::PCWSTR , boverwrite : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); D3DWriteBlobToFile(pblob.into().abi(), pfilename.into().abi(), boverwrite.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Fxc\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs index 94775a231a..0af3cee329 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs @@ -13,7 +13,7 @@ impl ID3DBlob { (::windows::core::Vtable::vtable(self).GetBufferSize)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3DBlob, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3DBlob, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3DBlob { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -57,7 +57,7 @@ impl ID3DDestructionNotifier { (::windows::core::Vtable::vtable(self).UnregisterDestructionCallback)(::windows::core::Vtable::as_raw(self), callbackid).ok() } } -::windows::core::interface_hierarchy!(ID3DDestructionNotifier, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3DDestructionNotifier, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3DDestructionNotifier { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs index d1ae927103..681c229e58 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10CompileEffectFromMemory ( pdata : *const ::core::ffi::c_void , datalength : usize , psrcfilename : :: windows::core::PCSTR , pdefines : *const super::Direct3D:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , hlslflags : u32 , fxflags : u32 , ppcompiledeffect : *mut * mut::core::ffi::c_void , pperrors : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10CompileEffectFromMemory ( pdata : *const ::core::ffi::c_void , datalength : usize , psrcfilename : :: windows::core::PCSTR , pdefines : *const super::Direct3D:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , hlslflags : u32 , fxflags : u32 , ppcompiledeffect : *mut * mut::core::ffi::c_void , pperrors : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D10CompileEffectFromMemory(pdata, datalength, psrcfilename.into().abi(), ::core::mem::transmute(pdefines.unwrap_or(::std::ptr::null())), pinclude.into().abi(), hlslflags, fxflags, ::core::mem::transmute(ppcompiledeffect), ::core::mem::transmute(pperrors.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] @@ -19,14 +19,14 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10CompileShader ( psrcdata : :: windows::core::PCSTR , srcdatasize : usize , pfilename : :: windows::core::PCSTR , pdefines : *const super::Direct3D:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , pfunctionname : :: windows::core::PCSTR , pprofile : :: windows::core::PCSTR , flags : u32 , ppshader : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10CompileShader ( psrcdata : :: windows::core::PCSTR , srcdatasize : usize , pfilename : :: windows::core::PCSTR , pdefines : *const super::Direct3D:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , pfunctionname : :: windows::core::PCSTR , pprofile : :: windows::core::PCSTR , flags : u32 , ppshader : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D10CompileShader(::core::mem::transmute(psrcdata.as_ptr()), psrcdata.len() as _, pfilename.into().abi(), ::core::mem::transmute(pdefines.unwrap_or(::std::ptr::null())), pinclude.into().abi(), pfunctionname.into().abi(), pprofile.into().abi(), flags, ::core::mem::transmute(ppshader), ::core::mem::transmute(pperrormsgs.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D10CreateBlob(numbytes: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10CreateBlob ( numbytes : usize , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10CreateBlob ( numbytes : usize , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10CreateBlob(numbytes, &mut result__).from_abi(result__) } @@ -38,7 +38,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10CreateDevice ( padapter : * mut::core::ffi::c_void , drivertype : D3D10_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : u32 , sdkversion : u32 , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10CreateDevice ( padapter : * mut::core::ffi::c_void , drivertype : D3D10_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : u32 , sdkversion : u32 , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D10CreateDevice(padapter.into().abi(), drivertype, software.into(), flags, sdkversion, ::core::mem::transmute(ppdevice.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi\"`*"] @@ -49,7 +49,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "d3d10_1.dll""system" fn D3D10CreateDevice1 ( padapter : * mut::core::ffi::c_void , drivertype : D3D10_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : u32 , hardwarelevel : D3D10_FEATURE_LEVEL1 , sdkversion : u32 , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10_1.dll""system" fn D3D10CreateDevice1 ( padapter : * mut::core::ffi::c_void , drivertype : D3D10_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : u32 , hardwarelevel : D3D10_FEATURE_LEVEL1 , sdkversion : u32 , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D10CreateDevice1(padapter.into().abi(), drivertype, software.into(), flags, hardwarelevel, sdkversion, ::core::mem::transmute(ppdevice.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -60,7 +60,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10CreateDeviceAndSwapChain ( padapter : * mut::core::ffi::c_void , drivertype : D3D10_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : u32 , sdkversion : u32 , pswapchaindesc : *const super::Dxgi:: DXGI_SWAP_CHAIN_DESC , ppswapchain : *mut * mut::core::ffi::c_void , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10CreateDeviceAndSwapChain ( padapter : * mut::core::ffi::c_void , drivertype : D3D10_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : u32 , sdkversion : u32 , pswapchaindesc : *const super::Dxgi:: DXGI_SWAP_CHAIN_DESC , ppswapchain : *mut * mut::core::ffi::c_void , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D10CreateDeviceAndSwapChain(padapter.into().abi(), drivertype, software.into(), flags, sdkversion, ::core::mem::transmute(pswapchaindesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppswapchain.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdevice.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -71,7 +71,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "d3d10_1.dll""system" fn D3D10CreateDeviceAndSwapChain1 ( padapter : * mut::core::ffi::c_void , drivertype : D3D10_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : u32 , hardwarelevel : D3D10_FEATURE_LEVEL1 , sdkversion : u32 , pswapchaindesc : *const super::Dxgi:: DXGI_SWAP_CHAIN_DESC , ppswapchain : *mut * mut::core::ffi::c_void , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10_1.dll""system" fn D3D10CreateDeviceAndSwapChain1 ( padapter : * mut::core::ffi::c_void , drivertype : D3D10_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : u32 , hardwarelevel : D3D10_FEATURE_LEVEL1 , sdkversion : u32 , pswapchaindesc : *const super::Dxgi:: DXGI_SWAP_CHAIN_DESC , ppswapchain : *mut * mut::core::ffi::c_void , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D10CreateDeviceAndSwapChain1(padapter.into().abi(), drivertype, software.into(), flags, hardwarelevel, sdkversion, ::core::mem::transmute(pswapchaindesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppswapchain.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdevice.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -81,7 +81,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10CreateEffectFromMemory ( pdata : *const ::core::ffi::c_void , datalength : usize , fxflags : u32 , pdevice : * mut::core::ffi::c_void , peffectpool : * mut::core::ffi::c_void , ppeffect : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10CreateEffectFromMemory ( pdata : *const ::core::ffi::c_void , datalength : usize , fxflags : u32 , pdevice : * mut::core::ffi::c_void , peffectpool : * mut::core::ffi::c_void , ppeffect : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10CreateEffectFromMemory(pdata, datalength, fxflags, pdevice.into().abi(), peffectpool.into().abi(), &mut result__).from_abi(result__) } @@ -91,7 +91,7 @@ pub unsafe fn D3D10CreateEffectPoolFromMemory(pdata: *const ::core::ffi::c_v where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10CreateEffectPoolFromMemory ( pdata : *const ::core::ffi::c_void , datalength : usize , fxflags : u32 , pdevice : * mut::core::ffi::c_void , ppeffectpool : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10CreateEffectPoolFromMemory ( pdata : *const ::core::ffi::c_void , datalength : usize , fxflags : u32 , pdevice : * mut::core::ffi::c_void , ppeffectpool : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10CreateEffectPoolFromMemory(pdata, datalength, fxflags, pdevice.into().abi(), &mut result__).from_abi(result__) } @@ -101,7 +101,7 @@ pub unsafe fn D3D10CreateStateBlock(pdevice: P0, pstateblockmask: *const D3D where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10CreateStateBlock ( pdevice : * mut::core::ffi::c_void , pstateblockmask : *const D3D10_STATE_BLOCK_MASK , ppstateblock : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10CreateStateBlock ( pdevice : * mut::core::ffi::c_void , pstateblockmask : *const D3D10_STATE_BLOCK_MASK , ppstateblock : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10CreateStateBlock(pdevice.into().abi(), pstateblockmask, &mut result__).from_abi(result__) } @@ -113,7 +113,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10DisassembleEffect ( peffect : * mut::core::ffi::c_void , enablecolorcode : super::super::Foundation:: BOOL , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10DisassembleEffect ( peffect : * mut::core::ffi::c_void , enablecolorcode : super::super::Foundation:: BOOL , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10DisassembleEffect(peffect.into().abi(), enablecolorcode.into(), &mut result__).from_abi(result__) } @@ -125,7 +125,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10DisassembleShader ( pshader : *const ::core::ffi::c_void , bytecodelength : usize , enablecolorcode : super::super::Foundation:: BOOL , pcomments : :: windows::core::PCSTR , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10DisassembleShader ( pshader : *const ::core::ffi::c_void , bytecodelength : usize , enablecolorcode : super::super::Foundation:: BOOL , pcomments : :: windows::core::PCSTR , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10DisassembleShader(pshader, bytecodelength, enablecolorcode.into(), pcomments.into().abi(), &mut result__).from_abi(result__) } @@ -135,14 +135,14 @@ pub unsafe fn D3D10GetGeometryShaderProfile(pdevice: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10GetGeometryShaderProfile ( pdevice : * mut::core::ffi::c_void ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10GetGeometryShaderProfile ( pdevice : * mut::core::ffi::c_void ) -> :: windows::core::PSTR ); D3D10GetGeometryShaderProfile(pdevice.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D10GetInputAndOutputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10GetInputAndOutputSignatureBlob ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10GetInputAndOutputSignatureBlob ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10GetInputAndOutputSignatureBlob(pshaderbytecode, bytecodelength, &mut result__).from_abi(result__) } @@ -150,7 +150,7 @@ pub unsafe fn D3D10GetInputAndOutputSignatureBlob(pshaderbytecode: *const ::core #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D10GetInputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10GetInputSignatureBlob ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10GetInputSignatureBlob ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10GetInputSignatureBlob(pshaderbytecode, bytecodelength, &mut result__).from_abi(result__) } @@ -158,7 +158,7 @@ pub unsafe fn D3D10GetInputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_ #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D10GetOutputSignatureBlob(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10GetOutputSignatureBlob ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10GetOutputSignatureBlob ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppsignatureblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10GetOutputSignatureBlob(pshaderbytecode, bytecodelength, &mut result__).from_abi(result__) } @@ -168,14 +168,14 @@ pub unsafe fn D3D10GetPixelShaderProfile(pdevice: P0) -> ::windows::core::PS where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10GetPixelShaderProfile ( pdevice : * mut::core::ffi::c_void ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10GetPixelShaderProfile ( pdevice : * mut::core::ffi::c_void ) -> :: windows::core::PSTR ); D3D10GetPixelShaderProfile(pdevice.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D10GetShaderDebugInfo(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10GetShaderDebugInfo ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppdebuginfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10GetShaderDebugInfo ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppdebuginfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10GetShaderDebugInfo(pshaderbytecode, bytecodelength, &mut result__).from_abi(result__) } @@ -185,7 +185,7 @@ pub unsafe fn D3D10GetVertexShaderProfile(pdevice: P0) -> ::windows::core::P where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10GetVertexShaderProfile ( pdevice : * mut::core::ffi::c_void ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10GetVertexShaderProfile ( pdevice : * mut::core::ffi::c_void ) -> :: windows::core::PSTR ); D3D10GetVertexShaderProfile(pdevice.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`*"] @@ -196,63 +196,63 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10PreprocessShader ( psrcdata : :: windows::core::PCSTR , srcdatasize : usize , pfilename : :: windows::core::PCSTR , pdefines : *const super::Direct3D:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , ppshadertext : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10PreprocessShader ( psrcdata : :: windows::core::PCSTR , srcdatasize : usize , pfilename : :: windows::core::PCSTR , pdefines : *const super::Direct3D:: D3D_SHADER_MACRO , pinclude : * mut::core::ffi::c_void , ppshadertext : *mut * mut::core::ffi::c_void , pperrormsgs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D10PreprocessShader(::core::mem::transmute(psrcdata.as_ptr()), psrcdata.len() as _, pfilename.into().abi(), ::core::mem::transmute(pdefines.unwrap_or(::std::ptr::null())), pinclude.into().abi(), ::core::mem::transmute(ppshadertext), ::core::mem::transmute(pperrormsgs.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[inline] pub unsafe fn D3D10ReflectShader(pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10ReflectShader ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppreflector : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10ReflectShader ( pshaderbytecode : *const ::core::ffi::c_void , bytecodelength : usize , ppreflector : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3D10ReflectShader(pshaderbytecode, bytecodelength, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[inline] pub unsafe fn D3D10StateBlockMaskDifference(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskDifference ( pa : *const D3D10_STATE_BLOCK_MASK , pb : *const D3D10_STATE_BLOCK_MASK , presult : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskDifference ( pa : *const D3D10_STATE_BLOCK_MASK , pb : *const D3D10_STATE_BLOCK_MASK , presult : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); D3D10StateBlockMaskDifference(pa, pb, presult).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[inline] pub unsafe fn D3D10StateBlockMaskDisableAll(pmask: *mut D3D10_STATE_BLOCK_MASK) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskDisableAll ( pmask : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskDisableAll ( pmask : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); D3D10StateBlockMaskDisableAll(pmask).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[inline] pub unsafe fn D3D10StateBlockMaskDisableCapture(pmask: *mut D3D10_STATE_BLOCK_MASK, statetype: D3D10_DEVICE_STATE_TYPES, rangestart: u32, rangelength: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskDisableCapture ( pmask : *mut D3D10_STATE_BLOCK_MASK , statetype : D3D10_DEVICE_STATE_TYPES , rangestart : u32 , rangelength : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskDisableCapture ( pmask : *mut D3D10_STATE_BLOCK_MASK , statetype : D3D10_DEVICE_STATE_TYPES , rangestart : u32 , rangelength : u32 ) -> :: windows::core::HRESULT ); D3D10StateBlockMaskDisableCapture(pmask, statetype, rangestart, rangelength).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[inline] pub unsafe fn D3D10StateBlockMaskEnableAll(pmask: *mut D3D10_STATE_BLOCK_MASK) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskEnableAll ( pmask : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskEnableAll ( pmask : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); D3D10StateBlockMaskEnableAll(pmask).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[inline] pub unsafe fn D3D10StateBlockMaskEnableCapture(pmask: *mut D3D10_STATE_BLOCK_MASK, statetype: D3D10_DEVICE_STATE_TYPES, rangestart: u32, rangelength: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskEnableCapture ( pmask : *mut D3D10_STATE_BLOCK_MASK , statetype : D3D10_DEVICE_STATE_TYPES , rangestart : u32 , rangelength : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskEnableCapture ( pmask : *mut D3D10_STATE_BLOCK_MASK , statetype : D3D10_DEVICE_STATE_TYPES , rangestart : u32 , rangelength : u32 ) -> :: windows::core::HRESULT ); D3D10StateBlockMaskEnableCapture(pmask, statetype, rangestart, rangelength).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn D3D10StateBlockMaskGetSetting(pmask: *const D3D10_STATE_BLOCK_MASK, statetype: D3D10_DEVICE_STATE_TYPES, entry: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskGetSetting ( pmask : *const D3D10_STATE_BLOCK_MASK , statetype : D3D10_DEVICE_STATE_TYPES , entry : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskGetSetting ( pmask : *const D3D10_STATE_BLOCK_MASK , statetype : D3D10_DEVICE_STATE_TYPES , entry : u32 ) -> super::super::Foundation:: BOOL ); D3D10StateBlockMaskGetSetting(pmask, statetype, entry) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[inline] pub unsafe fn D3D10StateBlockMaskIntersect(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskIntersect ( pa : *const D3D10_STATE_BLOCK_MASK , pb : *const D3D10_STATE_BLOCK_MASK , presult : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskIntersect ( pa : *const D3D10_STATE_BLOCK_MASK , pb : *const D3D10_STATE_BLOCK_MASK , presult : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); D3D10StateBlockMaskIntersect(pa, pb, presult).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[inline] pub unsafe fn D3D10StateBlockMaskUnion(pa: *const D3D10_STATE_BLOCK_MASK, pb: *const D3D10_STATE_BLOCK_MASK, presult: *mut D3D10_STATE_BLOCK_MASK) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskUnion ( pa : *const D3D10_STATE_BLOCK_MASK , pb : *const D3D10_STATE_BLOCK_MASK , presult : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d10.dll""system" fn D3D10StateBlockMaskUnion ( pa : *const D3D10_STATE_BLOCK_MASK , pb : *const D3D10_STATE_BLOCK_MASK , presult : *mut D3D10_STATE_BLOCK_MASK ) -> :: windows::core::HRESULT ); D3D10StateBlockMaskUnion(pa, pb, presult).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] @@ -289,7 +289,7 @@ impl ID3D10Asynchronous { (::windows::core::Vtable::vtable(self).GetDataSize)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D10Asynchronous, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10Asynchronous, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10Asynchronous { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -350,7 +350,7 @@ impl ID3D10BlendState { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10BlendState, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10BlendState, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10BlendState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -416,7 +416,7 @@ impl ID3D10BlendState1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10BlendState1, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10BlendState); +::windows::imp::interface_hierarchy!(ID3D10BlendState1, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10BlendState); impl ::core::cmp::PartialEq for ID3D10BlendState1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -492,7 +492,7 @@ impl ID3D10Buffer { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10Buffer, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Resource); +::windows::imp::interface_hierarchy!(ID3D10Buffer, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ::core::cmp::PartialEq for ID3D10Buffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -564,7 +564,7 @@ impl ID3D10Counter { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D10Counter, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); +::windows::imp::interface_hierarchy!(ID3D10Counter, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); impl ::core::cmp::PartialEq for ID3D10Counter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -629,7 +629,7 @@ impl ID3D10Debug { (::windows::core::Vtable::vtable(self).Validate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID3D10Debug, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10Debug, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10Debug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -699,7 +699,7 @@ impl ID3D10DepthStencilState { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10DepthStencilState, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10DepthStencilState, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10DepthStencilState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -765,7 +765,7 @@ impl ID3D10DepthStencilView { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10DepthStencilView, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10View); +::windows::imp::interface_hierarchy!(ID3D10DepthStencilView, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10View); impl ::core::cmp::PartialEq for ID3D10DepthStencilView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1222,7 +1222,7 @@ impl ID3D10Device { (::windows::core::Vtable::vtable(self).GetTextFilterSize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwidth.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pheight.unwrap_or(::std::ptr::null_mut()))) } } -::windows::core::interface_hierarchy!(ID3D10Device, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10Device, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10Device { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1852,7 +1852,7 @@ impl ID3D10Device1 { (::windows::core::Vtable::vtable(self).GetFeatureLevel)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D10Device1, ::windows::core::IUnknown, ID3D10Device); +::windows::imp::interface_hierarchy!(ID3D10Device1, ::windows::core::IUnknown, ID3D10Device); impl ::core::cmp::PartialEq for ID3D10Device1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1913,7 +1913,7 @@ impl ID3D10DeviceChild { (::windows::core::Vtable::vtable(self).SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D10DeviceChild, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10DeviceChild, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10DeviceChild { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2012,7 +2012,7 @@ impl ID3D10Effect { (::windows::core::Vtable::vtable(self).IsOptimized)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D10Effect, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10Effect, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10Effect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2167,7 +2167,7 @@ impl ID3D10EffectBlendVariable { (::windows::core::Vtable::vtable(self).GetBackingStore)(::windows::core::Vtable::as_raw(self), index, pblenddesc).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectBlendVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectBlendVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectBlendVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2310,7 +2310,7 @@ impl ID3D10EffectConstantBuffer { (::windows::core::Vtable::vtable(self).GetTextureBuffer)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D10EffectConstantBuffer, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectConstantBuffer, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectConstantBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2441,7 +2441,7 @@ impl ID3D10EffectDepthStencilVariable { (::windows::core::Vtable::vtable(self).GetBackingStore)(::windows::core::Vtable::as_raw(self), index, pdepthstencildesc).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectDepthStencilVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2580,7 +2580,7 @@ impl ID3D10EffectDepthStencilViewVariable { (::windows::core::Vtable::vtable(self).GetDepthStencilArray)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppresources.as_ptr()), offset, ppresources.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectDepthStencilViewVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2726,7 +2726,7 @@ impl ID3D10EffectMatrixVariable { (::windows::core::Vtable::vtable(self).GetMatrixTransposeArray)(::windows::core::Vtable::as_raw(self), pdata, offset, count).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectMatrixVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectMatrixVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectMatrixVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2843,7 +2843,7 @@ impl ID3D10EffectPool { (::windows::core::Vtable::vtable(self).AsEffect)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D10EffectPool, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10EffectPool, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10EffectPool { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2974,7 +2974,7 @@ impl ID3D10EffectRasterizerVariable { (::windows::core::Vtable::vtable(self).GetBackingStore)(::windows::core::Vtable::as_raw(self), index, prasterizerdesc).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectRasterizerVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectRasterizerVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectRasterizerVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3113,7 +3113,7 @@ impl ID3D10EffectRenderTargetViewVariable { (::windows::core::Vtable::vtable(self).GetRenderTargetArray)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppresources.as_ptr()), offset, ppresources.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectRenderTargetViewVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3242,7 +3242,7 @@ impl ID3D10EffectSamplerVariable { (::windows::core::Vtable::vtable(self).GetBackingStore)(::windows::core::Vtable::as_raw(self), index, psamplerdesc).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectSamplerVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectSamplerVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectSamplerVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3412,7 +3412,7 @@ impl ID3D10EffectScalarVariable { (::windows::core::Vtable::vtable(self).GetBoolArray)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdata.as_ptr()), offset, pdata.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectScalarVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectScalarVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectScalarVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3570,7 +3570,7 @@ impl ID3D10EffectShaderResourceVariable { (::windows::core::Vtable::vtable(self).GetResourceArray)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppresources.as_ptr()), offset, ppresources.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectShaderResourceVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3719,7 +3719,7 @@ impl ID3D10EffectShaderVariable { (::windows::core::Vtable::vtable(self).GetOutputSignatureElementDesc)(::windows::core::Vtable::as_raw(self), shaderindex, element, pdesc).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectShaderVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectShaderVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectShaderVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3859,7 +3859,7 @@ impl ID3D10EffectStringVariable { (::windows::core::Vtable::vtable(self).GetStringArray)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppstrings.as_ptr()), offset, ppstrings.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectStringVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectStringVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectStringVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4310,7 +4310,7 @@ impl ID3D10EffectVectorVariable { (::windows::core::Vtable::vtable(self).GetFloatVectorArray)(::windows::core::Vtable::as_raw(self), pdata, offset, count).ok() } } -::windows::core::interface_hierarchy!(ID3D10EffectVectorVariable, ID3D10EffectVariable); +::windows::imp::interface_hierarchy!(ID3D10EffectVectorVariable, ID3D10EffectVariable); impl ::core::cmp::PartialEq for ID3D10EffectVectorVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4383,7 +4383,7 @@ impl ID3D10GeometryShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D10GeometryShader, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10GeometryShader, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10GeometryShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4557,7 +4557,7 @@ impl ID3D10InfoQueue { (::windows::core::Vtable::vtable(self).GetMuteDebugOutput)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D10InfoQueue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10InfoQueue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10InfoQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4668,7 +4668,7 @@ impl ID3D10InputLayout { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D10InputLayout, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10InputLayout, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10InputLayout { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4722,7 +4722,7 @@ impl ID3D10Multithread { (::windows::core::Vtable::vtable(self).GetMultithreadProtected)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D10Multithread, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10Multithread, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10Multithread { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4784,7 +4784,7 @@ impl ID3D10PixelShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D10PixelShader, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10PixelShader, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10PixelShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4853,7 +4853,7 @@ impl ID3D10Predicate { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D10Predicate, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous, ID3D10Query); +::windows::imp::interface_hierarchy!(ID3D10Predicate, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous, ID3D10Query); impl ::core::cmp::PartialEq for ID3D10Predicate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4922,7 +4922,7 @@ impl ID3D10Query { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D10Query, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); +::windows::imp::interface_hierarchy!(ID3D10Query, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); impl ::core::cmp::PartialEq for ID3D10Query { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4980,7 +4980,7 @@ impl ID3D10RasterizerState { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10RasterizerState, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10RasterizerState, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10RasterizerState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5046,7 +5046,7 @@ impl ID3D10RenderTargetView { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10RenderTargetView, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10View); +::windows::imp::interface_hierarchy!(ID3D10RenderTargetView, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10View); impl ::core::cmp::PartialEq for ID3D10RenderTargetView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5113,7 +5113,7 @@ impl ID3D10Resource { (::windows::core::Vtable::vtable(self).GetEvictionPriority)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D10Resource, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10Resource, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10Resource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5171,7 +5171,7 @@ impl ID3D10SamplerState { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10SamplerState, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10SamplerState, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10SamplerState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5236,7 +5236,7 @@ impl ID3D10ShaderReflection { (::windows::core::Vtable::vtable(self).GetOutputParameterDesc)(::windows::core::Vtable::as_raw(self), parameterindex, pdesc).ok() } } -::windows::core::interface_hierarchy!(ID3D10ShaderReflection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10ShaderReflection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10ShaderReflection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5366,7 +5366,7 @@ impl ID3D10ShaderReflection1 { (::windows::core::Vtable::vtable(self).IsSampleFrequencyShader)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D10ShaderReflection1, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10ShaderReflection1, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10ShaderReflection1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5609,7 +5609,7 @@ impl ID3D10ShaderResourceView { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10ShaderResourceView, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10View); +::windows::imp::interface_hierarchy!(ID3D10ShaderResourceView, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10View); impl ::core::cmp::PartialEq for ID3D10ShaderResourceView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5680,7 +5680,7 @@ impl ID3D10ShaderResourceView1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10ShaderResourceView1, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10View, ID3D10ShaderResourceView); +::windows::imp::interface_hierarchy!(ID3D10ShaderResourceView1, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10View, ID3D10ShaderResourceView); impl ::core::cmp::PartialEq for ID3D10ShaderResourceView1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5732,7 +5732,7 @@ impl ID3D10StateBlock { (::windows::core::Vtable::vtable(self).GetDevice)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D10StateBlock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10StateBlock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10StateBlock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5784,7 +5784,7 @@ impl ID3D10SwitchToRef { (::windows::core::Vtable::vtable(self).GetUseRef)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D10SwitchToRef, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D10SwitchToRef, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D10SwitchToRef { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5866,7 +5866,7 @@ impl ID3D10Texture1D { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10Texture1D, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Resource); +::windows::imp::interface_hierarchy!(ID3D10Texture1D, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ::core::cmp::PartialEq for ID3D10Texture1D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5947,7 +5947,7 @@ impl ID3D10Texture2D { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10Texture2D, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Resource); +::windows::imp::interface_hierarchy!(ID3D10Texture2D, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ::core::cmp::PartialEq for ID3D10Texture2D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6028,7 +6028,7 @@ impl ID3D10Texture3D { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D10Texture3D, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Resource); +::windows::imp::interface_hierarchy!(ID3D10Texture3D, ::windows::core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ::core::cmp::PartialEq for ID3D10Texture3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6086,7 +6086,7 @@ impl ID3D10VertexShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D10VertexShader, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10VertexShader, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10VertexShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6143,7 +6143,7 @@ impl ID3D10View { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D10View, ::windows::core::IUnknown, ID3D10DeviceChild); +::windows::imp::interface_hierarchy!(ID3D10View, ::windows::core::IUnknown, ID3D10DeviceChild); impl ::core::cmp::PartialEq for ID3D10View { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 c5ed0cf8a7..67e6a8ff24 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "d3d11.dll""system" fn D3D11CreateDevice ( padapter : * mut::core::ffi::c_void , drivertype : super::Direct3D:: D3D_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : D3D11_CREATE_DEVICE_FLAG , pfeaturelevels : *const super::Direct3D:: D3D_FEATURE_LEVEL , featurelevels : u32 , sdkversion : u32 , ppdevice : *mut * mut::core::ffi::c_void , pfeaturelevel : *mut super::Direct3D:: D3D_FEATURE_LEVEL , ppimmediatecontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d11.dll""system" fn D3D11CreateDevice ( padapter : * mut::core::ffi::c_void , drivertype : super::Direct3D:: D3D_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : D3D11_CREATE_DEVICE_FLAG , pfeaturelevels : *const super::Direct3D:: D3D_FEATURE_LEVEL , featurelevels : u32 , sdkversion : u32 , ppdevice : *mut * mut::core::ffi::c_void , pfeaturelevel : *mut super::Direct3D:: D3D_FEATURE_LEVEL , ppimmediatecontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D11CreateDevice(padapter.into().abi(), drivertype, software.into(), flags, ::core::mem::transmute(pfeaturelevels.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pfeaturelevels.as_deref().map_or(0, |slice| slice.len() as _), sdkversion, ::core::mem::transmute(ppdevice.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfeaturelevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppimmediatecontext.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "d3d11.dll""system" fn D3D11CreateDeviceAndSwapChain ( padapter : * mut::core::ffi::c_void , drivertype : super::Direct3D:: D3D_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : D3D11_CREATE_DEVICE_FLAG , pfeaturelevels : *const super::Direct3D:: D3D_FEATURE_LEVEL , featurelevels : u32 , sdkversion : u32 , pswapchaindesc : *const super::Dxgi:: DXGI_SWAP_CHAIN_DESC , ppswapchain : *mut * mut::core::ffi::c_void , ppdevice : *mut * mut::core::ffi::c_void , pfeaturelevel : *mut super::Direct3D:: D3D_FEATURE_LEVEL , ppimmediatecontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d11.dll""system" fn D3D11CreateDeviceAndSwapChain ( padapter : * mut::core::ffi::c_void , drivertype : super::Direct3D:: D3D_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : D3D11_CREATE_DEVICE_FLAG , pfeaturelevels : *const super::Direct3D:: D3D_FEATURE_LEVEL , featurelevels : u32 , sdkversion : u32 , pswapchaindesc : *const super::Dxgi:: DXGI_SWAP_CHAIN_DESC , ppswapchain : *mut * mut::core::ffi::c_void , ppdevice : *mut * mut::core::ffi::c_void , pfeaturelevel : *mut super::Direct3D:: D3D_FEATURE_LEVEL , ppimmediatecontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D11CreateDeviceAndSwapChain( padapter.into().abi(), drivertype, @@ -41,7 +41,7 @@ pub unsafe fn D3DDisassemble11Trace(psrcdata: *const ::core::ffi::c_void, sr where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassemble11Trace ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ptrace : * mut::core::ffi::c_void , startstep : u32 , numsteps : u32 , flags : u32 , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassemble11Trace ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ptrace : * mut::core::ffi::c_void , startstep : u32 , numsteps : u32 , flags : u32 , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DDisassemble11Trace(psrcdata, srcdatasize, ptrace.into().abi(), startstep, numsteps, flags, &mut result__).from_abi(result__) } @@ -51,7 +51,7 @@ pub unsafe fn D3DX11CreateFFT(pdevicecontext: P0, pdesc: *const D3DX11_FFT_D where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT ( pdevicecontext : * mut::core::ffi::c_void , pdesc : *const D3DX11_FFT_DESC , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT ( pdevicecontext : * mut::core::ffi::c_void , pdesc : *const D3DX11_FFT_DESC , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DX11CreateFFT(pdevicecontext.into().abi(), pdesc, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -60,7 +60,7 @@ pub unsafe fn D3DX11CreateFFT1DComplex(pdevicecontext: P0, x: u32, flags: u3 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT1DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT1DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DX11CreateFFT1DComplex(pdevicecontext.into().abi(), x, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -69,7 +69,7 @@ pub unsafe fn D3DX11CreateFFT1DReal(pdevicecontext: P0, x: u32, flags: u32, where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT1DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT1DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DX11CreateFFT1DReal(pdevicecontext.into().abi(), x, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -78,7 +78,7 @@ pub unsafe fn D3DX11CreateFFT2DComplex(pdevicecontext: P0, x: u32, y: u32, f where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT2DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT2DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DX11CreateFFT2DComplex(pdevicecontext.into().abi(), x, y, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn D3DX11CreateFFT2DReal(pdevicecontext: P0, x: u32, y: u32, flag where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT2DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT2DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DX11CreateFFT2DReal(pdevicecontext.into().abi(), x, y, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -96,7 +96,7 @@ pub unsafe fn D3DX11CreateFFT3DComplex(pdevicecontext: P0, x: u32, y: u32, z where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT3DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , z : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT3DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , z : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DX11CreateFFT3DComplex(pdevicecontext.into().abi(), x, y, z, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -105,7 +105,7 @@ pub unsafe fn D3DX11CreateFFT3DReal(pdevicecontext: P0, x: u32, y: u32, z: u where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT3DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , z : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT3DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , z : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3DX11CreateFFT3DReal(pdevicecontext.into().abi(), x, y, z, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] @@ -114,7 +114,7 @@ pub unsafe fn D3DX11CreateScan(pdevicecontext: P0, maxelementscansize: u32, where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateScan ( pdevicecontext : * mut::core::ffi::c_void , maxelementscansize : u32 , maxscancount : u32 , ppscan : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateScan ( pdevicecontext : * mut::core::ffi::c_void , maxelementscansize : u32 , maxscancount : u32 , ppscan : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DX11CreateScan(pdevicecontext.into().abi(), maxelementscansize, maxscancount, &mut result__).from_abi(result__) } @@ -124,7 +124,7 @@ pub unsafe fn D3DX11CreateSegmentedScan(pdevicecontext: P0, maxelementscansi where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3dcsx.dll""system" fn D3DX11CreateSegmentedScan ( pdevicecontext : * mut::core::ffi::c_void , maxelementscansize : u32 , ppscan : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateSegmentedScan ( pdevicecontext : * mut::core::ffi::c_void , maxelementscansize : u32 , ppscan : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); D3DX11CreateSegmentedScan(pdevicecontext.into().abi(), maxelementscansize, &mut result__).from_abi(result__) } @@ -153,7 +153,7 @@ impl ID3D11Asynchronous { (::windows::core::Vtable::vtable(self).GetDataSize)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11Asynchronous, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11Asynchronous, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11Asynchronous { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -220,7 +220,7 @@ impl ID3D11AuthenticatedChannel { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11AuthenticatedChannel, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11AuthenticatedChannel, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11AuthenticatedChannel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -283,7 +283,7 @@ impl ID3D11BlendState { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11BlendState, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11BlendState, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11BlendState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -349,7 +349,7 @@ impl ID3D11BlendState1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11BlendState1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11BlendState); +::windows::imp::interface_hierarchy!(ID3D11BlendState1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11BlendState); impl ::core::cmp::PartialEq for ID3D11BlendState1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -419,7 +419,7 @@ impl ID3D11Buffer { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11Buffer, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); +::windows::imp::interface_hierarchy!(ID3D11Buffer, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); impl ::core::cmp::PartialEq for ID3D11Buffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -488,7 +488,7 @@ impl ID3D11ClassInstance { (::windows::core::Vtable::vtable(self).GetTypeName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ptypename), pbufferlength) } } -::windows::core::interface_hierarchy!(ID3D11ClassInstance, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11ClassInstance, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11ClassInstance { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -561,7 +561,7 @@ impl ID3D11ClassLinkage { (::windows::core::Vtable::vtable(self).CreateClassInstance)(::windows::core::Vtable::as_raw(self), pclasstypename.into().abi(), constantbufferoffset, constantvectoroffset, textureoffset, sampleroffset, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11ClassLinkage, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11ClassLinkage, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11ClassLinkage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -618,7 +618,7 @@ impl ID3D11CommandList { (::windows::core::Vtable::vtable(self).GetContextFlags)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11CommandList, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11CommandList, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11CommandList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -671,7 +671,7 @@ impl ID3D11ComputeShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11ComputeShader, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11ComputeShader, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11ComputeShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -731,7 +731,7 @@ impl ID3D11Counter { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11Counter, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); +::windows::imp::interface_hierarchy!(ID3D11Counter, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); impl ::core::cmp::PartialEq for ID3D11Counter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -808,7 +808,7 @@ impl ID3D11CryptoSession { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11CryptoSession, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11CryptoSession, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11CryptoSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -892,7 +892,7 @@ impl ID3D11Debug { (::windows::core::Vtable::vtable(self).ValidateContextForDispatch)(::windows::core::Vtable::as_raw(self), pcontext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11Debug, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11Debug, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11Debug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -964,7 +964,7 @@ impl ID3D11DepthStencilState { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11DepthStencilState, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11DepthStencilState, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11DepthStencilState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1030,7 +1030,7 @@ impl ID3D11DepthStencilView { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11DepthStencilView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); +::windows::imp::interface_hierarchy!(ID3D11DepthStencilView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ::core::cmp::PartialEq for ID3D11DepthStencilView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1278,7 +1278,7 @@ impl ID3D11Device { (::windows::core::Vtable::vtable(self).GetExceptionMode)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11Device, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11Device, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11Device { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1648,7 +1648,7 @@ impl ID3D11Device1 { (::windows::core::Vtable::vtable(self).OpenSharedResourceByName)(::windows::core::Vtable::as_raw(self), lpname.into().abi(), dwdesiredaccess, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11Device1, ::windows::core::IUnknown, ID3D11Device); +::windows::imp::interface_hierarchy!(ID3D11Device1, ::windows::core::IUnknown, ID3D11Device); impl ::core::cmp::PartialEq for ID3D11Device1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1972,7 +1972,7 @@ impl ID3D11Device2 { (::windows::core::Vtable::vtable(self).CheckMultisampleQualityLevels1)(::windows::core::Vtable::as_raw(self), format, samplecount, flags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11Device2, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1); +::windows::imp::interface_hierarchy!(ID3D11Device2, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1); impl ::core::cmp::PartialEq for ID3D11Device2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2346,7 +2346,7 @@ impl ID3D11Device3 { (::windows::core::Vtable::vtable(self).ReadFromSubresource)(::windows::core::Vtable::as_raw(self), pdstdata, dstrowpitch, dstdepthpitch, psrcresource.into().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) } } -::windows::core::interface_hierarchy!(ID3D11Device3, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2); +::windows::imp::interface_hierarchy!(ID3D11Device3, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2); impl ::core::cmp::PartialEq for ID3D11Device3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2754,7 +2754,7 @@ impl ID3D11Device4 { (::windows::core::Vtable::vtable(self).UnregisterDeviceRemoved)(::windows::core::Vtable::as_raw(self), dwcookie) } } -::windows::core::interface_hierarchy!(ID3D11Device4, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3); +::windows::imp::interface_hierarchy!(ID3D11Device4, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3); impl ::core::cmp::PartialEq for ID3D11Device4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3153,7 +3153,7 @@ impl ID3D11Device5 { (::windows::core::Vtable::vtable(self).CreateFence)(::windows::core::Vtable::as_raw(self), initialvalue, flags, &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D11Device5, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3, ID3D11Device4); +::windows::imp::interface_hierarchy!(ID3D11Device5, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3, ID3D11Device4); impl ::core::cmp::PartialEq for ID3D11Device5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3210,7 +3210,7 @@ impl ID3D11DeviceChild { (::windows::core::Vtable::vtable(self).SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11DeviceChild, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11DeviceChild, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11DeviceChild { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3740,7 +3740,7 @@ impl ID3D11DeviceContext { (::windows::core::Vtable::vtable(self).FinishCommandList)(::windows::core::Vtable::as_raw(self), restoredeferredcontextstate.into(), ::core::mem::transmute(ppcommandlist.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(ID3D11DeviceContext, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11DeviceContext, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11DeviceContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4490,7 +4490,7 @@ impl ID3D11DeviceContext1 { (::windows::core::Vtable::vtable(self).DiscardView1)(::windows::core::Vtable::as_raw(self), presourceview.into().abi(), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prects.as_deref().map_or(0, |slice| slice.len() as _)) } } -::windows::core::interface_hierarchy!(ID3D11DeviceContext1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext); +::windows::imp::interface_hierarchy!(ID3D11DeviceContext1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext); impl ::core::cmp::PartialEq for ID3D11DeviceContext1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5205,7 +5205,7 @@ impl ID3D11DeviceContext2 { (::windows::core::Vtable::vtable(self).EndEvent)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11DeviceContext2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1); +::windows::imp::interface_hierarchy!(ID3D11DeviceContext2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1); impl ::core::cmp::PartialEq for ID3D11DeviceContext2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5943,7 +5943,7 @@ impl ID3D11DeviceContext3 { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11DeviceContext3, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2); +::windows::imp::interface_hierarchy!(ID3D11DeviceContext3, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2); impl ::core::cmp::PartialEq for ID3D11DeviceContext3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6680,7 +6680,7 @@ impl ID3D11DeviceContext4 { (::windows::core::Vtable::vtable(self).Wait)(::windows::core::Vtable::as_raw(self), pfence.into().abi(), value).ok() } } -::windows::core::interface_hierarchy!(ID3D11DeviceContext4, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2, ID3D11DeviceContext3); +::windows::imp::interface_hierarchy!(ID3D11DeviceContext4, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2, ID3D11DeviceContext3); impl ::core::cmp::PartialEq for ID3D11DeviceContext4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6734,7 +6734,7 @@ impl ID3D11DomainShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11DomainShader, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11DomainShader, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11DomainShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6806,7 +6806,7 @@ impl ID3D11Fence { (::windows::core::Vtable::vtable(self).SetEventOnCompletion)(::windows::core::Vtable::as_raw(self), value, hevent.into()).ok() } } -::windows::core::interface_hierarchy!(ID3D11Fence, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11Fence, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11Fence { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6903,7 +6903,7 @@ impl ID3D11FunctionLinkingGraph { (::windows::core::Vtable::vtable(self).GenerateHlsl)(::windows::core::Vtable::as_raw(self), uflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11FunctionLinkingGraph, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11FunctionLinkingGraph, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11FunctionLinkingGraph { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7099,7 +7099,7 @@ impl ID3D11GeometryShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11GeometryShader, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11GeometryShader, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11GeometryShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7151,7 +7151,7 @@ impl ID3D11HullShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11HullShader, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11HullShader, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11HullShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7325,7 +7325,7 @@ impl ID3D11InfoQueue { (::windows::core::Vtable::vtable(self).GetMuteDebugOutput)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11InfoQueue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11InfoQueue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11InfoQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7436,7 +7436,7 @@ impl ID3D11InputLayout { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11InputLayout, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11InputLayout, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11InputLayout { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7478,7 +7478,7 @@ impl ID3D11LibraryReflection { (::windows::core::Vtable::vtable(self).GetFunctionByIndex)(::windows::core::Vtable::as_raw(self), functionindex) } } -::windows::core::interface_hierarchy!(ID3D11LibraryReflection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11LibraryReflection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11LibraryReflection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7534,7 +7534,7 @@ impl ID3D11Linker { (::windows::core::Vtable::vtable(self).AddClipPlaneFromCBuffer)(::windows::core::Vtable::as_raw(self), ucbufferslot, ucbufferentry).ok() } } -::windows::core::interface_hierarchy!(ID3D11Linker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11Linker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11Linker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7574,7 +7574,7 @@ pub struct ID3D11Linker_Vtbl { #[repr(transparent)] pub struct ID3D11LinkingNode(::windows::core::IUnknown); impl ID3D11LinkingNode {} -::windows::core::interface_hierarchy!(ID3D11LinkingNode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11LinkingNode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11LinkingNode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7616,7 +7616,7 @@ impl ID3D11Module { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), pnamespace.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11Module, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11Module, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11Module { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7697,7 +7697,7 @@ impl ID3D11ModuleInstance { (::windows::core::Vtable::vtable(self).BindResourceAsUnorderedAccessViewByName)(::windows::core::Vtable::as_raw(self), psrvname.into().abi(), udstuavslot, ucount).ok() } } -::windows::core::interface_hierarchy!(ID3D11ModuleInstance, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11ModuleInstance, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11ModuleInstance { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7761,7 +7761,7 @@ impl ID3D11Multithread { (::windows::core::Vtable::vtable(self).GetMultithreadProtected)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11Multithread, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11Multithread, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11Multithread { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7823,7 +7823,7 @@ impl ID3D11PixelShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11PixelShader, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11PixelShader, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11PixelShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7883,7 +7883,7 @@ impl ID3D11Predicate { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11Predicate, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); +::windows::imp::interface_hierarchy!(ID3D11Predicate, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); impl ::core::cmp::PartialEq for ID3D11Predicate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7943,7 +7943,7 @@ impl ID3D11Query { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11Query, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); +::windows::imp::interface_hierarchy!(ID3D11Query, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); impl ::core::cmp::PartialEq for ID3D11Query { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8009,7 +8009,7 @@ impl ID3D11Query1 { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11Query1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); +::windows::imp::interface_hierarchy!(ID3D11Query1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); impl ::core::cmp::PartialEq for ID3D11Query1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8067,7 +8067,7 @@ impl ID3D11RasterizerState { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11RasterizerState, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11RasterizerState, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11RasterizerState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8133,7 +8133,7 @@ impl ID3D11RasterizerState1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11RasterizerState1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState); +::windows::imp::interface_hierarchy!(ID3D11RasterizerState1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState); impl ::core::cmp::PartialEq for ID3D11RasterizerState1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8204,7 +8204,7 @@ impl ID3D11RasterizerState2 { (::windows::core::Vtable::vtable(self).GetDesc2)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11RasterizerState2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState, ID3D11RasterizerState1); +::windows::imp::interface_hierarchy!(ID3D11RasterizerState2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState, ID3D11RasterizerState1); impl ::core::cmp::PartialEq for ID3D11RasterizerState2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8246,7 +8246,7 @@ impl ID3D11RefDefaultTrackingOptions { (::windows::core::Vtable::vtable(self).SetTrackingOptions)(::windows::core::Vtable::as_raw(self), resourcetypeflags, options).ok() } } -::windows::core::interface_hierarchy!(ID3D11RefDefaultTrackingOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11RefDefaultTrackingOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11RefDefaultTrackingOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8285,7 +8285,7 @@ impl ID3D11RefTrackingOptions { (::windows::core::Vtable::vtable(self).SetTrackingOptions)(::windows::core::Vtable::as_raw(self), uoptions).ok() } } -::windows::core::interface_hierarchy!(ID3D11RefTrackingOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11RefTrackingOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11RefTrackingOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8348,7 +8348,7 @@ impl ID3D11RenderTargetView { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11RenderTargetView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); +::windows::imp::interface_hierarchy!(ID3D11RenderTargetView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ::core::cmp::PartialEq for ID3D11RenderTargetView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8419,7 +8419,7 @@ impl ID3D11RenderTargetView1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc1) } } -::windows::core::interface_hierarchy!(ID3D11RenderTargetView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11RenderTargetView); +::windows::imp::interface_hierarchy!(ID3D11RenderTargetView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11RenderTargetView); impl ::core::cmp::PartialEq for ID3D11RenderTargetView1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8486,7 +8486,7 @@ impl ID3D11Resource { (::windows::core::Vtable::vtable(self).GetEvictionPriority)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11Resource, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11Resource, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11Resource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8544,7 +8544,7 @@ impl ID3D11SamplerState { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11SamplerState, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11SamplerState, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11SamplerState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8665,7 +8665,7 @@ impl ID3D11ShaderReflection { (::windows::core::Vtable::vtable(self).GetRequiresFlags)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11ShaderReflection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11ShaderReflection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11ShaderReflection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8960,7 +8960,7 @@ impl ID3D11ShaderResourceView { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11ShaderResourceView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); +::windows::imp::interface_hierarchy!(ID3D11ShaderResourceView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ::core::cmp::PartialEq for ID3D11ShaderResourceView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9031,7 +9031,7 @@ impl ID3D11ShaderResourceView1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc1) } } -::windows::core::interface_hierarchy!(ID3D11ShaderResourceView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11ShaderResourceView); +::windows::imp::interface_hierarchy!(ID3D11ShaderResourceView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11ShaderResourceView); impl ::core::cmp::PartialEq for ID3D11ShaderResourceView1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9098,7 +9098,7 @@ impl ID3D11ShaderTrace { (::windows::core::Vtable::vtable(self).GetReadRegister)(::windows::core::Vtable::as_raw(self), stepindex, readregisterindex, pregister, pvalue).ok() } } -::windows::core::interface_hierarchy!(ID3D11ShaderTrace, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11ShaderTrace, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11ShaderTrace { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9154,7 +9154,7 @@ impl ID3D11ShaderTraceFactory { (::windows::core::Vtable::vtable(self).CreateShaderTrace)(::windows::core::Vtable::as_raw(self), pshader.into().abi(), ptracedesc, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11ShaderTraceFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11ShaderTraceFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11ShaderTraceFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9203,7 +9203,7 @@ impl ID3D11SwitchToRef { (::windows::core::Vtable::vtable(self).GetUseRef)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D11SwitchToRef, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11SwitchToRef, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11SwitchToRef { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9279,7 +9279,7 @@ impl ID3D11Texture1D { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11Texture1D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); +::windows::imp::interface_hierarchy!(ID3D11Texture1D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); impl ::core::cmp::PartialEq for ID3D11Texture1D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9351,7 +9351,7 @@ impl ID3D11Texture2D { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11Texture2D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); +::windows::imp::interface_hierarchy!(ID3D11Texture2D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); impl ::core::cmp::PartialEq for ID3D11Texture2D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9428,7 +9428,7 @@ impl ID3D11Texture2D1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11Texture2D1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture2D); +::windows::imp::interface_hierarchy!(ID3D11Texture2D1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture2D); impl ::core::cmp::PartialEq for ID3D11Texture2D1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9500,7 +9500,7 @@ impl ID3D11Texture3D { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11Texture3D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); +::windows::imp::interface_hierarchy!(ID3D11Texture3D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); impl ::core::cmp::PartialEq for ID3D11Texture3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9577,7 +9577,7 @@ impl ID3D11Texture3D1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11Texture3D1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture3D); +::windows::imp::interface_hierarchy!(ID3D11Texture3D1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture3D); impl ::core::cmp::PartialEq for ID3D11Texture3D1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9625,7 +9625,7 @@ impl ID3D11TracingDevice { (::windows::core::Vtable::vtable(self).SetShaderTrackingOptions)(::windows::core::Vtable::as_raw(self), pshader.into().abi(), options).ok() } } -::windows::core::interface_hierarchy!(ID3D11TracingDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11TracingDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11TracingDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9689,7 +9689,7 @@ impl ID3D11UnorderedAccessView { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11UnorderedAccessView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); +::windows::imp::interface_hierarchy!(ID3D11UnorderedAccessView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ::core::cmp::PartialEq for ID3D11UnorderedAccessView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9760,7 +9760,7 @@ impl ID3D11UnorderedAccessView1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc1) } } -::windows::core::interface_hierarchy!(ID3D11UnorderedAccessView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11UnorderedAccessView); +::windows::imp::interface_hierarchy!(ID3D11UnorderedAccessView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11UnorderedAccessView); impl ::core::cmp::PartialEq for ID3D11UnorderedAccessView1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9816,7 +9816,7 @@ impl ID3D11VertexShader { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11VertexShader, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11VertexShader, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11VertexShader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10310,7 +10310,7 @@ impl ID3D11VideoContext { (::windows::core::Vtable::vtable(self).VideoProcessorGetStreamRotation)(::windows::core::Vtable::as_raw(self), pvideoprocessor.into().abi(), streamindex, penable, protation) } } -::windows::core::interface_hierarchy!(ID3D11VideoContext, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11VideoContext, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11VideoContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11074,7 +11074,7 @@ impl ID3D11VideoContext1 { (::windows::core::Vtable::vtable(self).VideoProcessorGetBehaviorHints)(::windows::core::Vtable::as_raw(self), pvideoprocessor.into().abi(), outputwidth, outputheight, outputformat, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr()), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11VideoContext1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext); +::windows::imp::interface_hierarchy!(ID3D11VideoContext1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext); impl ::core::cmp::PartialEq for ID3D11VideoContext1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11766,7 +11766,7 @@ impl ID3D11VideoContext2 { (::windows::core::Vtable::vtable(self).VideoProcessorGetStreamHDRMetaData)(::windows::core::Vtable::as_raw(self), pvideoprocessor.into().abi(), streamindex, ptype, size, ::core::mem::transmute(pmetadata.unwrap_or(::std::ptr::null_mut()))) } } -::windows::core::interface_hierarchy!(ID3D11VideoContext2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1); +::windows::imp::interface_hierarchy!(ID3D11VideoContext2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1); impl ::core::cmp::PartialEq for ID3D11VideoContext2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12440,7 +12440,7 @@ impl ID3D11VideoContext3 { (::windows::core::Vtable::vtable(self).SubmitDecoderBuffers2)(::windows::core::Vtable::as_raw(self), pdecoder.into().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ID3D11VideoContext3, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1, ID3D11VideoContext2); +::windows::imp::interface_hierarchy!(ID3D11VideoContext3, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1, ID3D11VideoContext2); impl ::core::cmp::PartialEq for ID3D11VideoContext3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12505,7 +12505,7 @@ impl ID3D11VideoDecoder { (::windows::core::Vtable::vtable(self).GetDriverHandle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11VideoDecoder, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11VideoDecoder, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11VideoDecoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12573,7 +12573,7 @@ impl ID3D11VideoDecoderOutputView { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D11VideoDecoderOutputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); +::windows::imp::interface_hierarchy!(ID3D11VideoDecoderOutputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ::core::cmp::PartialEq for ID3D11VideoDecoderOutputView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12696,7 +12696,7 @@ impl ID3D11VideoDevice { (::windows::core::Vtable::vtable(self).SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D11VideoDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11VideoDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11VideoDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12870,7 +12870,7 @@ impl ID3D11VideoDevice1 { (::windows::core::Vtable::vtable(self).RecommendVideoDecoderDownsampleParameters)(::windows::core::Vtable::as_raw(self), pinputdesc, inputcolorspace, pinputconfig, pframerate, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11VideoDevice1, ::windows::core::IUnknown, ID3D11VideoDevice); +::windows::imp::interface_hierarchy!(ID3D11VideoDevice1, ::windows::core::IUnknown, ID3D11VideoDevice); impl ::core::cmp::PartialEq for ID3D11VideoDevice1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13034,7 +13034,7 @@ impl ID3D11VideoDevice2 { (::windows::core::Vtable::vtable(self).NegotiateCryptoSessionKeyExchangeMT)(::windows::core::Vtable::as_raw(self), pcryptosession.into().abi(), flags, datasize, pdata).ok() } } -::windows::core::interface_hierarchy!(ID3D11VideoDevice2, ::windows::core::IUnknown, ID3D11VideoDevice, ID3D11VideoDevice1); +::windows::imp::interface_hierarchy!(ID3D11VideoDevice2, ::windows::core::IUnknown, ID3D11VideoDevice, ID3D11VideoDevice1); impl ::core::cmp::PartialEq for ID3D11VideoDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13096,7 +13096,7 @@ impl ID3D11VideoProcessor { (::windows::core::Vtable::vtable(self).GetRateConversionCaps)(::windows::core::Vtable::as_raw(self), pcaps) } } -::windows::core::interface_hierarchy!(ID3D11VideoProcessor, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11VideoProcessor, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11VideoProcessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13179,7 +13179,7 @@ impl ID3D11VideoProcessorEnumerator { (::windows::core::Vtable::vtable(self).GetVideoProcessorFilterRange)(::windows::core::Vtable::as_raw(self), filter, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11VideoProcessorEnumerator, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11VideoProcessorEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13278,7 +13278,7 @@ impl ID3D11VideoProcessorEnumerator1 { (::windows::core::Vtable::vtable(self).CheckVideoProcessorFormatConversion)(::windows::core::Vtable::as_raw(self), inputformat, inputcolorspace, outputformat, outputcolorspace, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11VideoProcessorEnumerator1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoProcessorEnumerator); +::windows::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoProcessorEnumerator); impl ::core::cmp::PartialEq for ID3D11VideoProcessorEnumerator1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13344,7 +13344,7 @@ impl ID3D11VideoProcessorInputView { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11VideoProcessorInputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); +::windows::imp::interface_hierarchy!(ID3D11VideoProcessorInputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ::core::cmp::PartialEq for ID3D11VideoProcessorInputView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13407,7 +13407,7 @@ impl ID3D11VideoProcessorOutputView { ::std::mem::transmute(result__) } } -::windows::core::interface_hierarchy!(ID3D11VideoProcessorOutputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); +::windows::imp::interface_hierarchy!(ID3D11VideoProcessorOutputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ::core::cmp::PartialEq for ID3D11VideoProcessorOutputView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13465,7 +13465,7 @@ impl ID3D11View { ::windows::core::from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11View, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3D11View, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3D11View { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13518,7 +13518,7 @@ impl ID3DDeviceContextState { (::windows::core::Vtable::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Vtable::as_raw(self), guid, pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3DDeviceContextState, ::windows::core::IUnknown, ID3D11DeviceChild); +::windows::imp::interface_hierarchy!(ID3DDeviceContextState, ::windows::core::IUnknown, ID3D11DeviceChild); impl ::core::cmp::PartialEq for ID3DDeviceContextState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13573,7 +13573,7 @@ impl ID3DUserDefinedAnnotation { (::windows::core::Vtable::vtable(self).GetStatus)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3DUserDefinedAnnotation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3DUserDefinedAnnotation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3DUserDefinedAnnotation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13642,7 +13642,7 @@ impl ID3DX11FFT { (::windows::core::Vtable::vtable(self).InverseTransform)(::windows::core::Vtable::as_raw(self), pinputbuffer.into().abi(), ::core::mem::transmute(ppoutputbuffer)).ok() } } -::windows::core::interface_hierarchy!(ID3DX11FFT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3DX11FFT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3DX11FFT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13701,7 +13701,7 @@ impl ID3DX11Scan { (::windows::core::Vtable::vtable(self).Multiscan)(::windows::core::Vtable::as_raw(self), elementtype, opcode, elementscansize, elementscanpitch, scancount, psrc.into().abi(), pdst.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3DX11Scan, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3DX11Scan, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3DX11Scan { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13750,7 +13750,7 @@ impl ID3DX11SegmentedScan { (::windows::core::Vtable::vtable(self).SegScan)(::windows::core::Vtable::as_raw(self), elementtype, opcode, elementscansize, psrc.into().abi(), psrcelementflags.into().abi(), pdst.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3DX11SegmentedScan, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3DX11SegmentedScan, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3DX11SegmentedScan { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 aeb248117a..2a9d609ef7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn D3D11On12CreateDevice(pdevice: P0, flags: u32, pfeaturelevels: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "d3d11.dll""system" fn D3D11On12CreateDevice ( pdevice : * mut::core::ffi::c_void , flags : u32 , pfeaturelevels : *const super::Direct3D:: D3D_FEATURE_LEVEL , featurelevels : u32 , ppcommandqueues : *const * mut::core::ffi::c_void , numqueues : u32 , nodemask : u32 , ppdevice : *mut * mut::core::ffi::c_void , ppimmediatecontext : *mut * mut::core::ffi::c_void , pchosenfeaturelevel : *mut super::Direct3D:: D3D_FEATURE_LEVEL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d11.dll""system" fn D3D11On12CreateDevice ( pdevice : * mut::core::ffi::c_void , flags : u32 , pfeaturelevels : *const super::Direct3D:: D3D_FEATURE_LEVEL , featurelevels : u32 , ppcommandqueues : *const * mut::core::ffi::c_void , numqueues : u32 , nodemask : u32 , ppdevice : *mut * mut::core::ffi::c_void , ppimmediatecontext : *mut * mut::core::ffi::c_void , pchosenfeaturelevel : *mut super::Direct3D:: D3D_FEATURE_LEVEL ) -> :: windows::core::HRESULT ); D3D11On12CreateDevice( pdevice.into().abi(), flags, @@ -44,7 +44,7 @@ impl ID3D11On12Device { (::windows::core::Vtable::vtable(self).AcquireWrappedResources)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppresources.as_ptr()), ppresources.len() as _) } } -::windows::core::interface_hierarchy!(ID3D11On12Device, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D11On12Device, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D11On12Device { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -117,7 +117,7 @@ impl ID3D11On12Device1 { (::windows::core::Vtable::vtable(self).GetD3D12Device)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D11On12Device1, ::windows::core::IUnknown, ID3D11On12Device); +::windows::imp::interface_hierarchy!(ID3D11On12Device1, ::windows::core::IUnknown, ID3D11On12Device); impl ::core::cmp::PartialEq for ID3D11On12Device1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -198,7 +198,7 @@ impl ID3D11On12Device2 { (::windows::core::Vtable::vtable(self).ReturnUnderlyingResource)(::windows::core::Vtable::as_raw(self), presource11.into().abi(), numsync, psignalvalues, ::core::mem::transmute(ppfences)).ok() } } -::windows::core::interface_hierarchy!(ID3D11On12Device2, ::windows::core::IUnknown, ID3D11On12Device, ID3D11On12Device1); +::windows::imp::interface_hierarchy!(ID3D11On12Device2, ::windows::core::IUnknown, ID3D11On12Device, ID3D11On12Device1); impl ::core::cmp::PartialEq for ID3D11On12Device2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 8fd3b88d3d..0c3c4d0941 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -6,25 +6,25 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), minimumfeaturelevel, &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[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<()> { - ::windows::core::link ! ( "d3d12.dll""system" fn D3D12CreateRootSignatureDeserializer ( psrcdata : *const ::core::ffi::c_void , srcdatasizeinbytes : usize , prootsignaturedeserializerinterface : *const :: windows::core::GUID , pprootsignaturedeserializer : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d12.dll""system" fn D3D12CreateRootSignatureDeserializer ( psrcdata : *const ::core::ffi::c_void , srcdatasizeinbytes : usize , prootsignaturedeserializerinterface : *const :: windows::core::GUID , pprootsignaturedeserializer : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D12CreateRootSignatureDeserializer(psrcdata, srcdatasizeinbytes, prootsignaturedeserializerinterface, pprootsignaturedeserializer).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[inline] pub unsafe fn D3D12CreateVersionedRootSignatureDeserializer(psrcdata: *const ::core::ffi::c_void, srcdatasizeinbytes: usize, prootsignaturedeserializerinterface: *const ::windows::core::GUID, pprootsignaturedeserializer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d12.dll""system" fn D3D12CreateVersionedRootSignatureDeserializer ( psrcdata : *const ::core::ffi::c_void , srcdatasizeinbytes : usize , prootsignaturedeserializerinterface : *const :: windows::core::GUID , pprootsignaturedeserializer : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d12.dll""system" fn D3D12CreateVersionedRootSignatureDeserializer ( psrcdata : *const ::core::ffi::c_void , srcdatasizeinbytes : usize , prootsignaturedeserializerinterface : *const :: windows::core::GUID , pprootsignaturedeserializer : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D12CreateVersionedRootSignatureDeserializer(psrcdata, srcdatasizeinbytes, prootsignaturedeserializerinterface, pprootsignaturedeserializer).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[inline] pub unsafe fn D3D12EnableExperimentalFeatures(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::link ! ( "d3d12.dll""system" fn D3D12EnableExperimentalFeatures ( numfeatures : u32 , piids : *const :: windows::core::GUID , pconfigurationstructs : *const ::core::ffi::c_void , pconfigurationstructsizes : *const u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d12.dll""system" fn D3D12EnableExperimentalFeatures ( numfeatures : u32 , piids : *const :: windows::core::GUID , pconfigurationstructs : *const ::core::ffi::c_void , pconfigurationstructsizes : *const u32 ) -> :: windows::core::HRESULT ); D3D12EnableExperimentalFeatures(numfeatures, piids, ::core::mem::transmute(pconfigurationstructs.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pconfigurationstructsizes.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -33,7 +33,7 @@ pub unsafe fn D3D12GetDebugInterface(result__: *mut ::core::option::Option where T: ::windows::core::Interface, { - ::windows::core::link ! ( "d3d12.dll""system" fn D3D12GetDebugInterface ( riid : *const :: windows::core::GUID , ppvdebug : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -42,21 +42,21 @@ pub unsafe fn D3D12GetInterface(rclsid: *const ::windows::core::GUID, result_ where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D12SerializeRootSignature(prootsignature: *const D3D12_ROOT_SIGNATURE_DESC, version: D3D_ROOT_SIGNATURE_VERSION, ppblob: *mut ::core::option::Option, pperrorblob: ::core::option::Option<*mut ::core::option::Option>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d12.dll""system" fn D3D12SerializeRootSignature ( prootsignature : *const D3D12_ROOT_SIGNATURE_DESC , version : D3D_ROOT_SIGNATURE_VERSION , ppblob : *mut * mut::core::ffi::c_void , pperrorblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d12.dll""system" fn D3D12SerializeRootSignature ( prootsignature : *const D3D12_ROOT_SIGNATURE_DESC , version : D3D_ROOT_SIGNATURE_VERSION , ppblob : *mut * mut::core::ffi::c_void , pperrorblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D12SerializeRootSignature(prootsignature, version, ::core::mem::transmute(ppblob), ::core::mem::transmute(pperrorblob.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D12SerializeVersionedRootSignature(prootsignature: *const D3D12_VERSIONED_ROOT_SIGNATURE_DESC, ppblob: *mut ::core::option::Option, pperrorblob: ::core::option::Option<*mut ::core::option::Option>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d12.dll""system" fn D3D12SerializeVersionedRootSignature ( prootsignature : *const D3D12_VERSIONED_ROOT_SIGNATURE_DESC , ppblob : *mut * mut::core::ffi::c_void , pperrorblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d12.dll""system" fn D3D12SerializeVersionedRootSignature ( prootsignature : *const D3D12_VERSIONED_ROOT_SIGNATURE_DESC , ppblob : *mut * mut::core::ffi::c_void , pperrorblob : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); D3D12SerializeVersionedRootSignature(prootsignature, ::core::mem::transmute(ppblob), ::core::mem::transmute(pperrorblob.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -91,7 +91,7 @@ impl ID3D12CommandAllocator { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID3D12CommandAllocator, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12CommandAllocator, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12CommandAllocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -154,7 +154,7 @@ impl ID3D12CommandList { (::windows::core::Vtable::vtable(self).GetType)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12CommandList, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); +::windows::imp::interface_hierarchy!(ID3D12CommandList, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ::core::cmp::PartialEq for ID3D12CommandList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -280,7 +280,7 @@ impl ID3D12CommandQueue { result__ } } -::windows::core::interface_hierarchy!(ID3D12CommandQueue, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12CommandQueue, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12CommandQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -356,7 +356,7 @@ impl ID3D12CommandSignature { (::windows::core::Vtable::vtable(self).base__.base__.GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12CommandSignature, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12CommandSignature, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12CommandSignature { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -394,7 +394,7 @@ impl ID3D12Debug { (::windows::core::Vtable::vtable(self).EnableDebugLayer)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12Debug, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12Debug, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12Debug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -449,7 +449,7 @@ impl ID3D12Debug1 { (::windows::core::Vtable::vtable(self).SetEnableSynchronizedCommandQueueValidation)(::windows::core::Vtable::as_raw(self), enable.into()) } } -::windows::core::interface_hierarchy!(ID3D12Debug1, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12Debug1, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12Debug1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -496,7 +496,7 @@ impl ID3D12Debug2 { (::windows::core::Vtable::vtable(self).SetGPUBasedValidationFlags)(::windows::core::Vtable::as_raw(self), flags) } } -::windows::core::interface_hierarchy!(ID3D12Debug2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12Debug2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12Debug2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -554,7 +554,7 @@ impl ID3D12Debug3 { (::windows::core::Vtable::vtable(self).SetGPUBasedValidationFlags)(::windows::core::Vtable::as_raw(self), flags) } } -::windows::core::interface_hierarchy!(ID3D12Debug3, ::windows::core::IUnknown, ID3D12Debug); +::windows::imp::interface_hierarchy!(ID3D12Debug3, ::windows::core::IUnknown, ID3D12Debug); impl ::core::cmp::PartialEq for ID3D12Debug3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -623,7 +623,7 @@ impl ID3D12Debug4 { (::windows::core::Vtable::vtable(self).DisableDebugLayer)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12Debug4, ::windows::core::IUnknown, ID3D12Debug, ID3D12Debug3); +::windows::imp::interface_hierarchy!(ID3D12Debug4, ::windows::core::IUnknown, ID3D12Debug, ID3D12Debug3); impl ::core::cmp::PartialEq for ID3D12Debug4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -692,7 +692,7 @@ impl ID3D12Debug5 { (::windows::core::Vtable::vtable(self).SetEnableAutoName)(::windows::core::Vtable::as_raw(self), enable.into()) } } -::windows::core::interface_hierarchy!(ID3D12Debug5, ::windows::core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4); +::windows::imp::interface_hierarchy!(ID3D12Debug5, ::windows::core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4); impl ::core::cmp::PartialEq for ID3D12Debug5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -772,7 +772,7 @@ impl ID3D12Debug6 { (::windows::core::Vtable::vtable(self).SetForceLegacyBarrierValidation)(::windows::core::Vtable::as_raw(self), enable.into()) } } -::windows::core::interface_hierarchy!(ID3D12Debug6, ::windows::core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4, ID3D12Debug5); +::windows::imp::interface_hierarchy!(ID3D12Debug6, ::windows::core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4, ID3D12Debug5); impl ::core::cmp::PartialEq for ID3D12Debug6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -825,7 +825,7 @@ impl ID3D12DebugCommandList { (::windows::core::Vtable::vtable(self).GetFeatureMask)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12DebugCommandList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DebugCommandList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DebugCommandList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -880,7 +880,7 @@ impl ID3D12DebugCommandList1 { (::windows::core::Vtable::vtable(self).GetDebugParameter)(::windows::core::Vtable::as_raw(self), r#type, pdata, datasize).ok() } } -::windows::core::interface_hierarchy!(ID3D12DebugCommandList1, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DebugCommandList1, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DebugCommandList1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -941,7 +941,7 @@ impl ID3D12DebugCommandList2 { (::windows::core::Vtable::vtable(self).GetDebugParameter)(::windows::core::Vtable::as_raw(self), r#type, pdata, datasize).ok() } } -::windows::core::interface_hierarchy!(ID3D12DebugCommandList2, ::windows::core::IUnknown, ID3D12DebugCommandList); +::windows::imp::interface_hierarchy!(ID3D12DebugCommandList2, ::windows::core::IUnknown, ID3D12DebugCommandList); impl ::core::cmp::PartialEq for ID3D12DebugCommandList2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1010,7 +1010,7 @@ impl ID3D12DebugCommandList3 { (::windows::core::Vtable::vtable(self).AssertTextureLayout)(::windows::core::Vtable::as_raw(self), presource.into().abi(), subresource, layout) } } -::windows::core::interface_hierarchy!(ID3D12DebugCommandList3, ::windows::core::IUnknown, ID3D12DebugCommandList, ID3D12DebugCommandList2); +::windows::imp::interface_hierarchy!(ID3D12DebugCommandList3, ::windows::core::IUnknown, ID3D12DebugCommandList, ID3D12DebugCommandList2); impl ::core::cmp::PartialEq for ID3D12DebugCommandList3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1055,7 +1055,7 @@ impl ID3D12DebugCommandQueue { (::windows::core::Vtable::vtable(self).AssertResourceState)(::windows::core::Vtable::as_raw(self), presource.into().abi(), subresource, state) } } -::windows::core::interface_hierarchy!(ID3D12DebugCommandQueue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DebugCommandQueue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DebugCommandQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1114,7 +1114,7 @@ impl ID3D12DebugCommandQueue1 { (::windows::core::Vtable::vtable(self).AssertTextureLayout)(::windows::core::Vtable::as_raw(self), presource.into().abi(), subresource, layout) } } -::windows::core::interface_hierarchy!(ID3D12DebugCommandQueue1, ::windows::core::IUnknown, ID3D12DebugCommandQueue); +::windows::imp::interface_hierarchy!(ID3D12DebugCommandQueue1, ::windows::core::IUnknown, ID3D12DebugCommandQueue); impl ::core::cmp::PartialEq for ID3D12DebugCommandQueue1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1160,7 +1160,7 @@ impl ID3D12DebugDevice { (::windows::core::Vtable::vtable(self).ReportLiveDeviceObjects)(::windows::core::Vtable::as_raw(self), flags).ok() } } -::windows::core::interface_hierarchy!(ID3D12DebugDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DebugDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DebugDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1207,7 +1207,7 @@ impl ID3D12DebugDevice1 { (::windows::core::Vtable::vtable(self).ReportLiveDeviceObjects)(::windows::core::Vtable::as_raw(self), flags).ok() } } -::windows::core::interface_hierarchy!(ID3D12DebugDevice1, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DebugDevice1, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DebugDevice1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1260,7 +1260,7 @@ impl ID3D12DebugDevice2 { (::windows::core::Vtable::vtable(self).GetDebugParameter)(::windows::core::Vtable::as_raw(self), r#type, pdata, datasize).ok() } } -::windows::core::interface_hierarchy!(ID3D12DebugDevice2, ::windows::core::IUnknown, ID3D12DebugDevice); +::windows::imp::interface_hierarchy!(ID3D12DebugDevice2, ::windows::core::IUnknown, ID3D12DebugDevice); impl ::core::cmp::PartialEq for ID3D12DebugDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1336,7 +1336,7 @@ impl ID3D12DescriptorHeap { result__ } } -::windows::core::interface_hierarchy!(ID3D12DescriptorHeap, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12DescriptorHeap, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12DescriptorHeap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1625,7 +1625,7 @@ impl ID3D12Device { result__ } } -::windows::core::interface_hierarchy!(ID3D12Device, ::windows::core::IUnknown, ID3D12Object); +::windows::imp::interface_hierarchy!(ID3D12Device, ::windows::core::IUnknown, ID3D12Object); impl ::core::cmp::PartialEq for ID3D12Device { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2011,7 +2011,7 @@ impl ID3D12Device1 { (::windows::core::Vtable::vtable(self).SetResidencyPriority)(::windows::core::Vtable::as_raw(self), numobjects, ::core::mem::transmute(ppobjects), ppriorities).ok() } } -::windows::core::interface_hierarchy!(ID3D12Device1, ::windows::core::IUnknown, ID3D12Object, ID3D12Device); +::windows::imp::interface_hierarchy!(ID3D12Device1, ::windows::core::IUnknown, ID3D12Object, ID3D12Device); impl ::core::cmp::PartialEq for ID3D12Device1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2539,7 +2539,7 @@ impl ID3D12Device10 { (::windows::core::Vtable::vtable(self).CreateReservedResource2)(::windows::core::Vtable::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len() as _), ::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_hierarchy!(ID3D12Device10, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9); +::windows::imp::interface_hierarchy!(ID3D12Device10, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9); impl ::core::cmp::PartialEq for ID3D12Device10 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3076,7 +3076,7 @@ impl ID3D12Device11 { (::windows::core::Vtable::vtable(self).CreateSampler2)(::windows::core::Vtable::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) } } -::windows::core::interface_hierarchy!(ID3D12Device11, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10); +::windows::imp::interface_hierarchy!(ID3D12Device11, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10); impl ::core::cmp::PartialEq for ID3D12Device11 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3388,7 +3388,7 @@ impl ID3D12Device2 { (::windows::core::Vtable::vtable(self).CreatePipelineState)(::windows::core::Vtable::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12Device2, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1); +::windows::imp::interface_hierarchy!(ID3D12Device2, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1); impl ::core::cmp::PartialEq for ID3D12Device2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3723,7 +3723,7 @@ impl ID3D12Device3 { (::windows::core::Vtable::vtable(self).EnqueueMakeResident)(::windows::core::Vtable::as_raw(self), flags, ppobjects.len() as _, ::core::mem::transmute(ppobjects.as_ptr()), pfencetosignal.into().abi(), fencevaluetosignal).ok() } } -::windows::core::interface_hierarchy!(ID3D12Device3, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2); +::windows::imp::interface_hierarchy!(ID3D12Device3, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2); impl ::core::cmp::PartialEq for ID3D12Device3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4109,7 +4109,7 @@ impl ID3D12Device4 { result__ } } -::windows::core::interface_hierarchy!(ID3D12Device4, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3); +::windows::imp::interface_hierarchy!(ID3D12Device4, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3); impl ::core::cmp::PartialEq for ID3D12Device4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4543,7 +4543,7 @@ impl ID3D12Device5 { (::windows::core::Vtable::vtable(self).CheckDriverMatchingIdentifier)(::windows::core::Vtable::as_raw(self), serializeddatatype, pidentifiertocheck) } } -::windows::core::interface_hierarchy!(ID3D12Device5, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4); +::windows::imp::interface_hierarchy!(ID3D12Device5, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4); impl ::core::cmp::PartialEq for ID3D12Device5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4981,7 +4981,7 @@ impl ID3D12Device6 { (::windows::core::Vtable::vtable(self).SetBackgroundProcessingMode)(::windows::core::Vtable::as_raw(self), mode, measurementsaction, heventtosignaluponcompletion.into(), ::core::mem::transmute(pbfurthermeasurementsdesired.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(ID3D12Device6, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5); +::windows::imp::interface_hierarchy!(ID3D12Device6, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5); impl ::core::cmp::PartialEq for ID3D12Device6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5427,7 +5427,7 @@ impl ID3D12Device7 { (::windows::core::Vtable::vtable(self).CreateProtectedResourceSession1)(::windows::core::Vtable::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12Device7, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6); +::windows::imp::interface_hierarchy!(ID3D12Device7, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6); impl ::core::cmp::PartialEq for ID3D12Device7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5908,7 +5908,7 @@ impl ID3D12Device8 { (::windows::core::Vtable::vtable(self).GetCopyableFootprints1)(::windows::core::Vtable::as_raw(self), presourcedesc, firstsubresource, numsubresources, baseoffset, ::core::mem::transmute(playouts.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumrows.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prowsizeinbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ptotalbytes.unwrap_or(::std::ptr::null_mut()))) } } -::windows::core::interface_hierarchy!(ID3D12Device8, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7); +::windows::imp::interface_hierarchy!(ID3D12Device8, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7); impl ::core::cmp::PartialEq for ID3D12Device8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6420,7 +6420,7 @@ impl ID3D12Device9 { (::windows::core::Vtable::vtable(self).CreateCommandQueue1)(::windows::core::Vtable::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12Device9, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8); +::windows::imp::interface_hierarchy!(ID3D12Device9, ::windows::core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8); impl ::core::cmp::PartialEq for ID3D12Device9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6482,7 +6482,7 @@ impl ID3D12DeviceChild { (::windows::core::Vtable::vtable(self).GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12DeviceChild, ::windows::core::IUnknown, ID3D12Object); +::windows::imp::interface_hierarchy!(ID3D12DeviceChild, ::windows::core::IUnknown, ID3D12Object); impl ::core::cmp::PartialEq for ID3D12DeviceChild { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6538,7 +6538,7 @@ impl ID3D12DeviceConfiguration { (::windows::core::Vtable::vtable(self).CreateVersionedRootSignatureDeserializer)(::windows::core::Vtable::as_raw(self), pblob, size, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12DeviceConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DeviceConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DeviceConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6611,7 +6611,7 @@ impl ID3D12DeviceFactory { (::windows::core::Vtable::vtable(self).CreateDevice)(::windows::core::Vtable::as_raw(self), adapter.into().abi(), featurelevel, &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12DeviceFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DeviceFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DeviceFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6664,7 +6664,7 @@ impl ID3D12DeviceRemovedExtendedData { (::windows::core::Vtable::vtable(self).GetPageFaultAllocationOutput)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12DeviceRemovedExtendedData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6717,7 +6717,7 @@ impl ID3D12DeviceRemovedExtendedData1 { (::windows::core::Vtable::vtable(self).GetPageFaultAllocationOutput1)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12DeviceRemovedExtendedData1, ::windows::core::IUnknown, ID3D12DeviceRemovedExtendedData); +::windows::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData1, ::windows::core::IUnknown, ID3D12DeviceRemovedExtendedData); impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedData1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6776,7 +6776,7 @@ impl ID3D12DeviceRemovedExtendedData2 { (::windows::core::Vtable::vtable(self).GetDeviceState)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12DeviceRemovedExtendedData2, ::windows::core::IUnknown, ID3D12DeviceRemovedExtendedData, ID3D12DeviceRemovedExtendedData1); +::windows::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData2, ::windows::core::IUnknown, ID3D12DeviceRemovedExtendedData, ID3D12DeviceRemovedExtendedData1); impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedData2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6822,7 +6822,7 @@ impl ID3D12DeviceRemovedExtendedDataSettings { (::windows::core::Vtable::vtable(self).SetWatsonDumpEnablement)(::windows::core::Vtable::as_raw(self), enablement) } } -::windows::core::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedDataSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6872,7 +6872,7 @@ impl ID3D12DeviceRemovedExtendedDataSettings1 { (::windows::core::Vtable::vtable(self).SetBreadcrumbContextEnablement)(::windows::core::Vtable::as_raw(self), enablement) } } -::windows::core::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings1, ::windows::core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings); +::windows::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings1, ::windows::core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings); impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedDataSettings1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6928,7 +6928,7 @@ impl ID3D12DeviceRemovedExtendedDataSettings2 { (::windows::core::Vtable::vtable(self).UseMarkersOnlyAutoBreadcrumbs)(::windows::core::Vtable::as_raw(self), markersonly.into()) } } -::windows::core::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings2, ::windows::core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings, ID3D12DeviceRemovedExtendedDataSettings1); +::windows::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings2, ::windows::core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings, ID3D12DeviceRemovedExtendedDataSettings1); impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedDataSettings2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7005,7 +7005,7 @@ impl ID3D12Fence { (::windows::core::Vtable::vtable(self).Signal)(::windows::core::Vtable::as_raw(self), value).ok() } } -::windows::core::interface_hierarchy!(ID3D12Fence, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12Fence, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12Fence { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7087,7 +7087,7 @@ impl ID3D12Fence1 { (::windows::core::Vtable::vtable(self).GetCreationFlags)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12Fence1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Fence); +::windows::imp::interface_hierarchy!(ID3D12Fence1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Fence); impl ::core::cmp::PartialEq for ID3D12Fence1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7513,7 +7513,7 @@ impl ID3D12GraphicsCommandList { (::windows::core::Vtable::vtable(self).ExecuteIndirect)(::windows::core::Vtable::as_raw(self), pcommandsignature.into().abi(), maxcommandcount, pargumentbuffer.into().abi(), argumentbufferoffset, pcountbuffer.into().abi(), countbufferoffset) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7936,7 +7936,7 @@ impl ID3D12GraphicsCommandList1 { (::windows::core::Vtable::vtable(self).SetViewInstanceMask)(::windows::core::Vtable::as_raw(self), mask) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8284,7 +8284,7 @@ impl ID3D12GraphicsCommandList2 { (::windows::core::Vtable::vtable(self).WriteBufferImmediate)(::windows::core::Vtable::as_raw(self), count, pparams, ::core::mem::transmute(pmodes.unwrap_or(::std::ptr::null()))) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList2, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList2, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8630,7 +8630,7 @@ impl ID3D12GraphicsCommandList3 { (::windows::core::Vtable::vtable(self).SetProtectedResourceSession)(::windows::core::Vtable::as_raw(self), pprotectedresourcesession.into().abi()) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList3, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList3, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9016,7 +9016,7 @@ impl ID3D12GraphicsCommandList4 { (::windows::core::Vtable::vtable(self).DispatchRays)(::windows::core::Vtable::as_raw(self), pdesc) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList4, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList4, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9425,7 +9425,7 @@ impl ID3D12GraphicsCommandList5 { (::windows::core::Vtable::vtable(self).RSSetShadingRateImage)(::windows::core::Vtable::as_raw(self), shadingrateimage.into().abi()) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList5, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList5, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9824,7 +9824,7 @@ impl ID3D12GraphicsCommandList6 { (::windows::core::Vtable::vtable(self).DispatchMesh)(::windows::core::Vtable::as_raw(self), threadgroupcountx, threadgroupcounty, threadgroupcountz) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList6, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList6, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10225,7 +10225,7 @@ impl ID3D12GraphicsCommandList7 { (::windows::core::Vtable::vtable(self).Barrier)(::windows::core::Vtable::as_raw(self), pbarriergroups.len() as _, ::core::mem::transmute(pbarriergroups.as_ptr())) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList7, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList7, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10629,7 +10629,7 @@ impl ID3D12GraphicsCommandList8 { (::windows::core::Vtable::vtable(self).OMSetFrontAndBackStencilRef)(::windows::core::Vtable::as_raw(self), frontstencilref, backstencilref) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList8, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList8, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11039,7 +11039,7 @@ impl ID3D12GraphicsCommandList9 { (::windows::core::Vtable::vtable(self).IASetIndexBufferStripCutValue)(::windows::core::Vtable::as_raw(self), ibstripcutvalue) } } -::windows::core::interface_hierarchy!(ID3D12GraphicsCommandList9, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7, ID3D12GraphicsCommandList8); +::windows::imp::interface_hierarchy!(ID3D12GraphicsCommandList9, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7, ID3D12GraphicsCommandList8); impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11105,7 +11105,7 @@ impl ID3D12Heap { result__ } } -::windows::core::interface_hierarchy!(ID3D12Heap, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12Heap, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12Heap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11176,7 +11176,7 @@ impl ID3D12Heap1 { (::windows::core::Vtable::vtable(self).GetProtectedResourceSession)(::windows::core::Vtable::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12Heap1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Heap); +::windows::imp::interface_hierarchy!(ID3D12Heap1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Heap); impl ::core::cmp::PartialEq for ID3D12Heap1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11351,7 +11351,7 @@ impl ID3D12InfoQueue { (::windows::core::Vtable::vtable(self).GetMuteDebugOutput)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12InfoQueue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12InfoQueue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12InfoQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11590,7 +11590,7 @@ impl ID3D12InfoQueue1 { (::windows::core::Vtable::vtable(self).UnregisterMessageCallback)(::windows::core::Vtable::as_raw(self), callbackcookie).ok() } } -::windows::core::interface_hierarchy!(ID3D12InfoQueue1, ::windows::core::IUnknown, ID3D12InfoQueue); +::windows::imp::interface_hierarchy!(ID3D12InfoQueue1, ::windows::core::IUnknown, ID3D12InfoQueue); impl ::core::cmp::PartialEq for ID3D12InfoQueue1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11634,7 +11634,7 @@ impl ID3D12LibraryReflection { (::windows::core::Vtable::vtable(self).GetFunctionByIndex)(::windows::core::Vtable::as_raw(self), functionindex) } } -::windows::core::interface_hierarchy!(ID3D12LibraryReflection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12LibraryReflection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12LibraryReflection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11674,7 +11674,7 @@ impl ID3D12LifetimeOwner { (::windows::core::Vtable::vtable(self).LifetimeStateUpdated)(::windows::core::Vtable::as_raw(self), newstate) } } -::windows::core::interface_hierarchy!(ID3D12LifetimeOwner, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12LifetimeOwner, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12LifetimeOwner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11740,7 +11740,7 @@ impl ID3D12LifetimeTracker { (::windows::core::Vtable::vtable(self).DestroyOwnedObject)(::windows::core::Vtable::as_raw(self), pobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D12LifetimeTracker, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); +::windows::imp::interface_hierarchy!(ID3D12LifetimeTracker, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ::core::cmp::PartialEq for ID3D12LifetimeTracker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11803,7 +11803,7 @@ impl ID3D12MetaCommand { (::windows::core::Vtable::vtable(self).GetRequiredParameterResourceSize)(::windows::core::Vtable::as_raw(self), stage, parameterindex) } } -::windows::core::interface_hierarchy!(ID3D12MetaCommand, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12MetaCommand, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12MetaCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11857,7 +11857,7 @@ impl ID3D12Object { (::windows::core::Vtable::vtable(self).SetName)(::windows::core::Vtable::as_raw(self), name.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D12Object, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12Object, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12Object { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11920,7 +11920,7 @@ impl ID3D12Pageable { (::windows::core::Vtable::vtable(self).base__.GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12Pageable, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); +::windows::imp::interface_hierarchy!(ID3D12Pageable, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ::core::cmp::PartialEq for ID3D12Pageable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12010,7 +12010,7 @@ impl ID3D12PipelineLibrary { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdata.as_ptr()), pdata.len() as _).ok() } } -::windows::core::interface_hierarchy!(ID3D12PipelineLibrary, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); +::windows::imp::interface_hierarchy!(ID3D12PipelineLibrary, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ::core::cmp::PartialEq for ID3D12PipelineLibrary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12116,7 +12116,7 @@ impl ID3D12PipelineLibrary1 { (::windows::core::Vtable::vtable(self).LoadPipeline)(::windows::core::Vtable::as_raw(self), pname.into().abi(), pdesc, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12PipelineLibrary1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12PipelineLibrary); +::windows::imp::interface_hierarchy!(ID3D12PipelineLibrary1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12PipelineLibrary); impl ::core::cmp::PartialEq for ID3D12PipelineLibrary1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12182,7 +12182,7 @@ impl ID3D12PipelineState { (::windows::core::Vtable::vtable(self).GetCachedBlob)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12PipelineState, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12PipelineState, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12PipelineState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12259,7 +12259,7 @@ impl ID3D12ProtectedResourceSession { result__ } } -::windows::core::interface_hierarchy!(ID3D12ProtectedResourceSession, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession); +::windows::imp::interface_hierarchy!(ID3D12ProtectedResourceSession, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession); impl ::core::cmp::PartialEq for ID3D12ProtectedResourceSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12338,7 +12338,7 @@ impl ID3D12ProtectedResourceSession1 { result__ } } -::windows::core::interface_hierarchy!(ID3D12ProtectedResourceSession1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession, ID3D12ProtectedResourceSession); +::windows::imp::interface_hierarchy!(ID3D12ProtectedResourceSession1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession, ID3D12ProtectedResourceSession); impl ::core::cmp::PartialEq for ID3D12ProtectedResourceSession1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12407,7 +12407,7 @@ impl ID3D12ProtectedSession { (::windows::core::Vtable::vtable(self).GetSessionStatus)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12ProtectedSession, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); +::windows::imp::interface_hierarchy!(ID3D12ProtectedSession, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ::core::cmp::PartialEq for ID3D12ProtectedSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12468,7 +12468,7 @@ impl ID3D12QueryHeap { (::windows::core::Vtable::vtable(self).base__.base__.GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12QueryHeap, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12QueryHeap, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12QueryHeap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12552,7 +12552,7 @@ impl ID3D12Resource { (::windows::core::Vtable::vtable(self).GetHeapProperties)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pheapproperties.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pheapflags.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(ID3D12Resource, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12Resource, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12Resource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12652,7 +12652,7 @@ impl ID3D12Resource1 { (::windows::core::Vtable::vtable(self).GetProtectedResourceSession)(::windows::core::Vtable::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12Resource1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource); +::windows::imp::interface_hierarchy!(ID3D12Resource1, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource); impl ::core::cmp::PartialEq for ID3D12Resource1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12750,7 +12750,7 @@ impl ID3D12Resource2 { result__ } } -::windows::core::interface_hierarchy!(ID3D12Resource2, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource, ID3D12Resource1); +::windows::imp::interface_hierarchy!(ID3D12Resource2, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource, ID3D12Resource1); impl ::core::cmp::PartialEq for ID3D12Resource2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12813,7 +12813,7 @@ impl ID3D12RootSignature { (::windows::core::Vtable::vtable(self).base__.GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12RootSignature, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); +::windows::imp::interface_hierarchy!(ID3D12RootSignature, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ::core::cmp::PartialEq for ID3D12RootSignature { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12851,7 +12851,7 @@ impl ID3D12RootSignatureDeserializer { (::windows::core::Vtable::vtable(self).GetRootSignatureDesc)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12RootSignatureDeserializer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12RootSignatureDeserializer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12RootSignatureDeserializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12893,7 +12893,7 @@ impl ID3D12SDKConfiguration { (::windows::core::Vtable::vtable(self).SetSDKVersion)(::windows::core::Vtable::as_raw(self), sdkversion, sdkpath.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ID3D12SDKConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12SDKConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12SDKConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12946,7 +12946,7 @@ impl ID3D12SDKConfiguration1 { (::windows::core::Vtable::vtable(self).FreeUnusedSDKs)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12SDKConfiguration1, ::windows::core::IUnknown, ID3D12SDKConfiguration); +::windows::imp::interface_hierarchy!(ID3D12SDKConfiguration1, ::windows::core::IUnknown, ID3D12SDKConfiguration); impl ::core::cmp::PartialEq for ID3D12SDKConfiguration1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13021,7 +13021,7 @@ impl ID3D12ShaderCacheSession { result__ } } -::windows::core::interface_hierarchy!(ID3D12ShaderCacheSession, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); +::windows::imp::interface_hierarchy!(ID3D12ShaderCacheSession, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ::core::cmp::PartialEq for ID3D12ShaderCacheSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13145,7 +13145,7 @@ impl ID3D12ShaderReflection { (::windows::core::Vtable::vtable(self).GetRequiresFlags)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12ShaderReflection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12ShaderReflection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12ShaderReflection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13434,7 +13434,7 @@ impl ID3D12SharingContract { (::windows::core::Vtable::vtable(self).EndCapturableWork)(::windows::core::Vtable::as_raw(self), guid) } } -::windows::core::interface_hierarchy!(ID3D12SharingContract, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12SharingContract, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12SharingContract { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13500,7 +13500,7 @@ impl ID3D12StateObject { (::windows::core::Vtable::vtable(self).base__.base__.GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() } } -::windows::core::interface_hierarchy!(ID3D12StateObject, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12StateObject, ::windows::core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ::core::cmp::PartialEq for ID3D12StateObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13553,7 +13553,7 @@ impl ID3D12StateObjectProperties { (::windows::core::Vtable::vtable(self).SetPipelineStackSize)(::windows::core::Vtable::as_raw(self), pipelinestacksizeinbytes) } } -::windows::core::interface_hierarchy!(ID3D12StateObjectProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12StateObjectProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12StateObjectProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13616,7 +13616,7 @@ impl ID3D12SwapChainAssistant { (::windows::core::Vtable::vtable(self).InsertImplicitSync)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ID3D12SwapChainAssistant, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12SwapChainAssistant, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12SwapChainAssistant { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13671,7 +13671,7 @@ impl ID3D12Tools { (::windows::core::Vtable::vtable(self).ShaderInstrumentationEnabled)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12Tools, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12Tools, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12Tools { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13721,7 +13721,7 @@ impl ID3D12VersionedRootSignatureDeserializer { (::windows::core::Vtable::vtable(self).GetUnconvertedRootSignatureDesc)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ID3D12VersionedRootSignatureDeserializer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12VersionedRootSignatureDeserializer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12VersionedRootSignatureDeserializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13774,7 +13774,7 @@ impl ID3D12VirtualizationGuestDevice { (::windows::core::Vtable::vtable(self).CreateFenceFd)(::windows::core::Vtable::as_raw(self), pfence.into().abi(), fencevalue, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12VirtualizationGuestDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12VirtualizationGuestDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12VirtualizationGuestDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs index dc7d4d4fb3..9254a266ab 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -4,26 +4,26 @@ pub unsafe fn D3DPERF_BeginEvent(col: u32, wszname: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "d3d9.dll""system" fn D3DPERF_BeginEvent ( col : u32 , wszname : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "d3d9.dll""system" fn D3DPERF_BeginEvent ( col : u32 , wszname : :: windows::core::PCWSTR ) -> i32 ); D3DPERF_BeginEvent(col, wszname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[inline] pub unsafe fn D3DPERF_EndEvent() -> i32 { - ::windows::core::link ! ( "d3d9.dll""system" fn D3DPERF_EndEvent ( ) -> i32 ); + ::windows::imp::link ! ( "d3d9.dll""system" fn D3DPERF_EndEvent ( ) -> i32 ); D3DPERF_EndEvent() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[inline] pub unsafe fn D3DPERF_GetStatus() -> u32 { - ::windows::core::link ! ( "d3d9.dll""system" fn D3DPERF_GetStatus ( ) -> u32 ); + ::windows::imp::link ! ( "d3d9.dll""system" fn D3DPERF_GetStatus ( ) -> u32 ); D3DPERF_GetStatus() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn D3DPERF_QueryRepeatFrame() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "d3d9.dll""system" fn D3DPERF_QueryRepeatFrame ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "d3d9.dll""system" fn D3DPERF_QueryRepeatFrame ( ) -> super::super::Foundation:: BOOL ); D3DPERF_QueryRepeatFrame() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -32,13 +32,13 @@ pub unsafe fn D3DPERF_SetMarker(col: u32, wszname: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "d3d9.dll""system" fn D3DPERF_SetMarker ( col : u32 , wszname : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "d3d9.dll""system" fn D3DPERF_SetMarker ( col : u32 , wszname : :: windows::core::PCWSTR ) -> ( ) ); D3DPERF_SetMarker(col, wszname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[inline] pub unsafe fn D3DPERF_SetOptions(dwoptions: u32) { - ::windows::core::link ! ( "d3d9.dll""system" fn D3DPERF_SetOptions ( dwoptions : u32 ) -> ( ) ); + ::windows::imp::link ! ( "d3d9.dll""system" fn D3DPERF_SetOptions ( dwoptions : u32 ) -> ( ) ); D3DPERF_SetOptions(dwoptions) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -47,19 +47,19 @@ pub unsafe fn D3DPERF_SetRegion(col: u32, wszname: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "d3d9.dll""system" fn D3DPERF_SetRegion ( col : u32 , wszname : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "d3d9.dll""system" fn D3DPERF_SetRegion ( col : u32 , wszname : :: windows::core::PCWSTR ) -> ( ) ); D3DPERF_SetRegion(col, wszname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[inline] pub unsafe fn Direct3DCreate9(sdkversion: u32) -> ::core::option::Option { - ::windows::core::link ! ( "d3d9.dll""system" fn Direct3DCreate9 ( sdkversion : u32 ) -> ::core::option::Option < IDirect3D9 > ); + ::windows::imp::link ! ( "d3d9.dll""system" fn Direct3DCreate9 ( sdkversion : u32 ) -> ::core::option::Option < IDirect3D9 > ); Direct3DCreate9(sdkversion) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[inline] pub unsafe fn Direct3DCreate9Ex(sdkversion: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "d3d9.dll""system" fn Direct3DCreate9Ex ( sdkversion : u32 , param1 : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d9.dll""system" fn Direct3DCreate9Ex ( sdkversion : u32 , param1 : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); Direct3DCreate9Ex(sdkversion, &mut result__).from_abi(result__) } @@ -129,7 +129,7 @@ impl IDirect3D9 { (::windows::core::Vtable::vtable(self).CreateDevice)(::windows::core::Vtable::as_raw(self), adapter, devicetype, hfocuswindow.into(), behaviorflags, ppresentationparameters, ::core::mem::transmute(ppreturneddeviceinterface)).ok() } } -::windows::core::interface_hierarchy!(IDirect3D9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3D9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3D9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -274,7 +274,7 @@ impl IDirect3D9Ex { (::windows::core::Vtable::vtable(self).GetAdapterLUID)(::windows::core::Vtable::as_raw(self), adapter, pluid).ok() } } -::windows::core::interface_hierarchy!(IDirect3D9Ex, ::windows::core::IUnknown, IDirect3D9); +::windows::imp::interface_hierarchy!(IDirect3D9Ex, ::windows::core::IUnknown, IDirect3D9); impl ::core::cmp::PartialEq for IDirect3D9Ex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -361,7 +361,7 @@ impl IDirect3DBaseTexture9 { (::windows::core::Vtable::vtable(self).GenerateMipSubLevels)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDirect3DBaseTexture9, ::windows::core::IUnknown, IDirect3DResource9); +::windows::imp::interface_hierarchy!(IDirect3DBaseTexture9, ::windows::core::IUnknown, IDirect3DResource9); impl ::core::cmp::PartialEq for IDirect3DBaseTexture9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -463,7 +463,7 @@ impl IDirect3DCubeTexture9 { (::windows::core::Vtable::vtable(self).AddDirtyRect)(::windows::core::Vtable::as_raw(self), facetype, pdirtyrect).ok() } } -::windows::core::interface_hierarchy!(IDirect3DCubeTexture9, ::windows::core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); +::windows::imp::interface_hierarchy!(IDirect3DCubeTexture9, ::windows::core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); impl ::core::cmp::PartialEq for IDirect3DCubeTexture9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1015,7 +1015,7 @@ impl IDirect3DDevice9 { (::windows::core::Vtable::vtable(self).CreateQuery)(::windows::core::Vtable::as_raw(self), r#type, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirect3DDevice9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DDevice9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DDevice9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1852,7 +1852,7 @@ impl IDirect3DDevice9Ex { (::windows::core::Vtable::vtable(self).GetDisplayModeEx)(::windows::core::Vtable::as_raw(self), iswapchain, pmode, protation).ok() } } -::windows::core::interface_hierarchy!(IDirect3DDevice9Ex, ::windows::core::IUnknown, IDirect3DDevice9); +::windows::imp::interface_hierarchy!(IDirect3DDevice9Ex, ::windows::core::IUnknown, IDirect3DDevice9); impl ::core::cmp::PartialEq for IDirect3DDevice9Ex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1952,7 +1952,7 @@ impl IDirect3DIndexBuffer9 { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc).ok() } } -::windows::core::interface_hierarchy!(IDirect3DIndexBuffer9, ::windows::core::IUnknown, IDirect3DResource9); +::windows::imp::interface_hierarchy!(IDirect3DIndexBuffer9, ::windows::core::IUnknown, IDirect3DResource9); impl ::core::cmp::PartialEq for IDirect3DIndexBuffer9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1995,7 +1995,7 @@ impl IDirect3DPixelShader9 { (::windows::core::Vtable::vtable(self).GetFunction)(::windows::core::Vtable::as_raw(self), param0, psizeofdata).ok() } } -::windows::core::interface_hierarchy!(IDirect3DPixelShader9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DPixelShader9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DPixelShader9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2046,7 +2046,7 @@ impl IDirect3DQuery9 { (::windows::core::Vtable::vtable(self).GetData)(::windows::core::Vtable::as_raw(self), pdata, dwsize, dwgetdataflags).ok() } } -::windows::core::interface_hierarchy!(IDirect3DQuery9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DQuery9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DQuery9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2109,7 +2109,7 @@ impl IDirect3DResource9 { (::windows::core::Vtable::vtable(self).GetType)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDirect3DResource9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DResource9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DResource9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2160,7 +2160,7 @@ impl IDirect3DStateBlock9 { (::windows::core::Vtable::vtable(self).Apply)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirect3DStateBlock9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DStateBlock9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DStateBlock9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2248,7 +2248,7 @@ impl IDirect3DSurface9 { (::windows::core::Vtable::vtable(self).ReleaseDC)(::windows::core::Vtable::as_raw(self), hdc.into()).ok() } } -::windows::core::interface_hierarchy!(IDirect3DSurface9, ::windows::core::IUnknown, IDirect3DResource9); +::windows::imp::interface_hierarchy!(IDirect3DSurface9, ::windows::core::IUnknown, IDirect3DResource9); impl ::core::cmp::PartialEq for IDirect3DSurface9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2331,7 +2331,7 @@ impl IDirect3DSwapChain9 { (::windows::core::Vtable::vtable(self).GetPresentParameters)(::windows::core::Vtable::as_raw(self), ppresentationparameters).ok() } } -::windows::core::interface_hierarchy!(IDirect3DSwapChain9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DSwapChain9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DSwapChain9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2424,7 +2424,7 @@ impl IDirect3DSwapChain9Ex { (::windows::core::Vtable::vtable(self).GetDisplayModeEx)(::windows::core::Vtable::as_raw(self), pmode, protation).ok() } } -::windows::core::interface_hierarchy!(IDirect3DSwapChain9Ex, ::windows::core::IUnknown, IDirect3DSwapChain9); +::windows::imp::interface_hierarchy!(IDirect3DSwapChain9Ex, ::windows::core::IUnknown, IDirect3DSwapChain9); impl ::core::cmp::PartialEq for IDirect3DSwapChain9Ex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2523,7 +2523,7 @@ impl IDirect3DTexture9 { (::windows::core::Vtable::vtable(self).AddDirtyRect)(::windows::core::Vtable::as_raw(self), pdirtyrect).ok() } } -::windows::core::interface_hierarchy!(IDirect3DTexture9, ::windows::core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); +::windows::imp::interface_hierarchy!(IDirect3DTexture9, ::windows::core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); impl ::core::cmp::PartialEq for IDirect3DTexture9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2601,7 +2601,7 @@ impl IDirect3DVertexBuffer9 { (::windows::core::Vtable::vtable(self).GetDesc)(::windows::core::Vtable::as_raw(self), pdesc).ok() } } -::windows::core::interface_hierarchy!(IDirect3DVertexBuffer9, ::windows::core::IUnknown, IDirect3DResource9); +::windows::imp::interface_hierarchy!(IDirect3DVertexBuffer9, ::windows::core::IUnknown, IDirect3DResource9); impl ::core::cmp::PartialEq for IDirect3DVertexBuffer9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2644,7 +2644,7 @@ impl IDirect3DVertexDeclaration9 { (::windows::core::Vtable::vtable(self).GetDeclaration)(::windows::core::Vtable::as_raw(self), pelement, pnumelements).ok() } } -::windows::core::interface_hierarchy!(IDirect3DVertexDeclaration9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DVertexDeclaration9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DVertexDeclaration9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2686,7 +2686,7 @@ impl IDirect3DVertexShader9 { (::windows::core::Vtable::vtable(self).GetFunction)(::windows::core::Vtable::as_raw(self), param0, psizeofdata).ok() } } -::windows::core::interface_hierarchy!(IDirect3DVertexShader9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DVertexShader9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DVertexShader9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2746,7 +2746,7 @@ impl IDirect3DVolume9 { (::windows::core::Vtable::vtable(self).UnlockBox)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirect3DVolume9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DVolume9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DVolume9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2846,7 +2846,7 @@ impl IDirect3DVolumeTexture9 { (::windows::core::Vtable::vtable(self).AddDirtyBox)(::windows::core::Vtable::as_raw(self), pdirtybox).ok() } } -::windows::core::interface_hierarchy!(IDirect3DVolumeTexture9, ::windows::core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); +::windows::imp::interface_hierarchy!(IDirect3DVolumeTexture9, ::windows::core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); impl ::core::cmp::PartialEq for IDirect3DVolumeTexture9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs index 30b664a213..73505e6cc2 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs @@ -2,14 +2,14 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))] #[inline] pub unsafe fn Direct3DCreate9On12(sdkversion: u32, poverridelist: *mut D3D9ON12_ARGS, numoverrideentries: u32) -> ::core::option::Option { - ::windows::core::link ! ( "d3d9.dll""system" fn Direct3DCreate9On12 ( sdkversion : u32 , poverridelist : *mut D3D9ON12_ARGS , numoverrideentries : u32 ) -> ::core::option::Option < super::Direct3D9:: IDirect3D9 > ); + ::windows::imp::link ! ( "d3d9.dll""system" fn Direct3DCreate9On12 ( sdkversion : u32 , poverridelist : *mut D3D9ON12_ARGS , numoverrideentries : u32 ) -> ::core::option::Option < super::Direct3D9:: IDirect3D9 > ); Direct3DCreate9On12(sdkversion, poverridelist, numoverrideentries) } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9on12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))] #[inline] pub unsafe fn Direct3DCreate9On12Ex(sdkversion: u32, poverridelist: *mut D3D9ON12_ARGS, numoverrideentries: u32, ppoutputinterface: *mut ::core::option::Option) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "d3d9.dll""system" fn Direct3DCreate9On12Ex ( sdkversion : u32 , poverridelist : *mut D3D9ON12_ARGS , numoverrideentries : u32 , ppoutputinterface : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d9.dll""system" fn Direct3DCreate9On12Ex ( sdkversion : u32 , poverridelist : *mut D3D9ON12_ARGS , numoverrideentries : u32 , ppoutputinterface : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); Direct3DCreate9On12Ex(sdkversion, poverridelist, numoverrideentries, ::core::mem::transmute(ppoutputinterface)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9on12\"`*"] @@ -37,7 +37,7 @@ impl IDirect3DDevice9On12 { (::windows::core::Vtable::vtable(self).ReturnUnderlyingResource)(::windows::core::Vtable::as_raw(self), presource.into().abi(), numsync, psignalvalues, ::core::mem::transmute(ppfences)).ok() } } -::windows::core::interface_hierarchy!(IDirect3DDevice9On12, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DDevice9On12, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DDevice9On12 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 4b32d9c0af..e48fa867ef 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs @@ -7,7 +7,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dcomp.dll""system" fn DCompositionAttachMouseDragToHwnd ( visual : * mut::core::ffi::c_void , hwnd : super::super::Foundation:: HWND , enable : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dcomp.dll""system" fn DCompositionAttachMouseDragToHwnd ( visual : * mut::core::ffi::c_void , hwnd : super::super::Foundation:: HWND , enable : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DCompositionAttachMouseDragToHwnd(visual.into().abi(), hwnd.into(), enable.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] @@ -19,7 +19,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dcomp.dll""system" fn DCompositionAttachMouseWheelToHwnd ( visual : * mut::core::ffi::c_void , hwnd : super::super::Foundation:: HWND , enable : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dcomp.dll""system" fn DCompositionAttachMouseWheelToHwnd ( visual : * mut::core::ffi::c_void , hwnd : super::super::Foundation:: HWND , enable : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DCompositionAttachMouseWheelToHwnd(visual.into().abi(), hwnd.into(), enable.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] @@ -29,7 +29,7 @@ pub unsafe fn DCompositionBoostCompositorClock(enable: P0) -> ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dcomp.dll""system" fn DCompositionBoostCompositorClock ( enable : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dcomp.dll""system" fn DCompositionBoostCompositorClock ( enable : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DCompositionBoostCompositorClock(enable.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Dxgi\"`*"] @@ -40,7 +40,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -51,7 +51,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -62,7 +62,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -70,14 +70,14 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn DCompositionCreateSurfaceHandle(desiredaccess: u32, securityattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>) -> ::windows::core::Result { - ::windows::core::link ! ( "dcomp.dll""system" fn DCompositionCreateSurfaceHandle ( desiredaccess : u32 , securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , surfacehandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dcomp.dll""system" fn DCompositionCreateSurfaceHandle ( desiredaccess : u32 , securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , surfacehandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DCompositionCreateSurfaceHandle(desiredaccess, ::core::mem::transmute(securityattributes.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[inline] pub unsafe fn DCompositionGetFrameId(frameidtype: COMPOSITION_FRAME_ID_TYPE) -> ::windows::core::Result { - ::windows::core::link ! ( "dcomp.dll""system" fn DCompositionGetFrameId ( frameidtype : COMPOSITION_FRAME_ID_TYPE , frameid : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dcomp.dll""system" fn DCompositionGetFrameId ( frameidtype : COMPOSITION_FRAME_ID_TYPE , frameid : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DCompositionGetFrameId(frameidtype, &mut result__).from_abi(result__) } @@ -85,21 +85,21 @@ pub unsafe fn DCompositionGetFrameId(frameidtype: COMPOSITION_FRAME_ID_TYPE) -> #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DCompositionGetStatistics(frameid: u64, framestats: *mut COMPOSITION_FRAME_STATS, targetidcount: u32, targetids: ::core::option::Option<*mut COMPOSITION_TARGET_ID>, actualtargetidcount: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dcomp.dll""system" fn DCompositionGetStatistics ( frameid : u64 , framestats : *mut COMPOSITION_FRAME_STATS , targetidcount : u32 , targetids : *mut COMPOSITION_TARGET_ID , actualtargetidcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dcomp.dll""system" fn DCompositionGetStatistics ( frameid : u64 , framestats : *mut COMPOSITION_FRAME_STATS , targetidcount : u32 , targetids : *mut COMPOSITION_TARGET_ID , actualtargetidcount : *mut u32 ) -> :: windows::core::HRESULT ); DCompositionGetStatistics(frameid, framestats, targetidcount, ::core::mem::transmute(targetids.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(actualtargetidcount.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DCompositionGetTargetStatistics(frameid: u64, targetid: *const COMPOSITION_TARGET_ID, targetstats: *mut COMPOSITION_TARGET_STATS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dcomp.dll""system" fn DCompositionGetTargetStatistics ( frameid : u64 , targetid : *const COMPOSITION_TARGET_ID , targetstats : *mut COMPOSITION_TARGET_STATS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dcomp.dll""system" fn DCompositionGetTargetStatistics ( frameid : u64 , targetid : *const COMPOSITION_TARGET_ID , targetstats : *mut COMPOSITION_TARGET_STATS ) -> :: windows::core::HRESULT ); DCompositionGetTargetStatistics(frameid, targetid, targetstats).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DCompositionWaitForCompositorClock(handles: ::core::option::Option<&[super::super::Foundation::HANDLE]>, timeoutinms: u32) -> u32 { - ::windows::core::link ! ( "dcomp.dll""system" fn DCompositionWaitForCompositorClock ( count : u32 , handles : *const super::super::Foundation:: HANDLE , timeoutinms : u32 ) -> u32 ); + ::windows::imp::link ! ( "dcomp.dll""system" fn DCompositionWaitForCompositorClock ( count : u32 , handles : *const super::super::Foundation:: HANDLE , timeoutinms : u32 ) -> u32 ); DCompositionWaitForCompositorClock(handles.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(handles.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), timeoutinms) } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] @@ -146,7 +146,7 @@ impl IDCompositionAffineTransform2DEffect { (::windows::core::Vtable::vtable(self).SetSharpness2)(::windows::core::Vtable::as_raw(self), sharpness).ok() } } -::windows::core::interface_hierarchy!(IDCompositionAffineTransform2DEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionAffineTransform2DEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionAffineTransform2DEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -213,7 +213,7 @@ impl IDCompositionAnimation { (::windows::core::Vtable::vtable(self).End)(::windows::core::Vtable::as_raw(self), endoffset, endvalue).ok() } } -::windows::core::interface_hierarchy!(IDCompositionAnimation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionAnimation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionAnimation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -307,7 +307,7 @@ impl IDCompositionArithmeticCompositeEffect { (::windows::core::Vtable::vtable(self).SetCoefficient42)(::windows::core::Vtable::as_raw(self), coefficient4).ok() } } -::windows::core::interface_hierarchy!(IDCompositionArithmeticCompositeEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionArithmeticCompositeEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionArithmeticCompositeEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -367,7 +367,7 @@ impl IDCompositionBlendEffect { (::windows::core::Vtable::vtable(self).SetMode)(::windows::core::Vtable::as_raw(self), mode).ok() } } -::windows::core::interface_hierarchy!(IDCompositionBlendEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionBlendEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionBlendEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -456,7 +456,7 @@ impl IDCompositionBrightnessEffect { (::windows::core::Vtable::vtable(self).SetBlackPointY2)(::windows::core::Vtable::as_raw(self), blackpointy).ok() } } -::windows::core::interface_hierarchy!(IDCompositionBrightnessEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionBrightnessEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionBrightnessEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -504,7 +504,7 @@ pub struct IDCompositionBrightnessEffect_Vtbl { #[repr(transparent)] pub struct IDCompositionClip(::windows::core::IUnknown); impl IDCompositionClip {} -::windows::core::interface_hierarchy!(IDCompositionClip, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionClip, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionClip { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -570,7 +570,7 @@ impl IDCompositionColorMatrixEffect { (::windows::core::Vtable::vtable(self).SetClampOutput)(::windows::core::Vtable::as_raw(self), clamp.into()).ok() } } -::windows::core::interface_hierarchy!(IDCompositionColorMatrixEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionColorMatrixEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionColorMatrixEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -628,7 +628,7 @@ impl IDCompositionCompositeEffect { (::windows::core::Vtable::vtable(self).SetMode)(::windows::core::Vtable::as_raw(self), mode).ok() } } -::windows::core::interface_hierarchy!(IDCompositionCompositeEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionCompositeEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionCompositeEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -681,7 +681,7 @@ impl IDCompositionDelegatedInkTrail { (::windows::core::Vtable::vtable(self).StartNewTrail)(::windows::core::Vtable::as_raw(self), color).ok() } } -::windows::core::interface_hierarchy!(IDCompositionDelegatedInkTrail, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionDelegatedInkTrail, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionDelegatedInkTrail { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -839,7 +839,7 @@ impl IDCompositionDesktopDevice { (::windows::core::Vtable::vtable(self).CreateSurfaceFromHwnd)(::windows::core::Vtable::as_raw(self), hwnd.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDCompositionDesktopDevice, ::windows::core::IUnknown, IDCompositionDevice2); +::windows::imp::interface_hierarchy!(IDCompositionDesktopDevice, ::windows::core::IUnknown, IDCompositionDevice2); impl ::core::cmp::PartialEq for IDCompositionDesktopDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1001,7 +1001,7 @@ impl IDCompositionDevice { (::windows::core::Vtable::vtable(self).CheckDeviceState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDCompositionDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1169,7 +1169,7 @@ impl IDCompositionDevice2 { (::windows::core::Vtable::vtable(self).CreateAnimation)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDCompositionDevice2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionDevice2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1374,7 +1374,7 @@ impl IDCompositionDevice3 { (::windows::core::Vtable::vtable(self).CreateAffineTransform2DEffect)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDCompositionDevice3, ::windows::core::IUnknown, IDCompositionDevice2); +::windows::imp::interface_hierarchy!(IDCompositionDevice3, ::windows::core::IUnknown, IDCompositionDevice2); impl ::core::cmp::PartialEq for IDCompositionDevice3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1426,7 +1426,7 @@ impl IDCompositionDeviceDebug { (::windows::core::Vtable::vtable(self).DisableDebugCounters)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDCompositionDeviceDebug, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionDeviceDebug, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionDeviceDebug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1460,7 +1460,7 @@ pub struct IDCompositionDeviceDebug_Vtbl { #[repr(transparent)] pub struct IDCompositionEffect(::windows::core::IUnknown); impl IDCompositionEffect {} -::windows::core::interface_hierarchy!(IDCompositionEffect, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionEffect, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1508,7 +1508,7 @@ impl IDCompositionEffectGroup { (::windows::core::Vtable::vtable(self).SetTransform3D)(::windows::core::Vtable::as_raw(self), transform3d.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDCompositionEffectGroup, ::windows::core::IUnknown, IDCompositionEffect); +::windows::imp::interface_hierarchy!(IDCompositionEffectGroup, ::windows::core::IUnknown, IDCompositionEffect); impl ::core::cmp::PartialEq for IDCompositionEffectGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1550,7 +1550,7 @@ impl IDCompositionFilterEffect { (::windows::core::Vtable::vtable(self).SetInput)(::windows::core::Vtable::as_raw(self), index, input.into().abi(), flags).ok() } } -::windows::core::interface_hierarchy!(IDCompositionFilterEffect, ::windows::core::IUnknown, IDCompositionEffect); +::windows::imp::interface_hierarchy!(IDCompositionFilterEffect, ::windows::core::IUnknown, IDCompositionEffect); impl ::core::cmp::PartialEq for IDCompositionFilterEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1604,7 +1604,7 @@ impl IDCompositionGaussianBlurEffect { (::windows::core::Vtable::vtable(self).SetBorderMode)(::windows::core::Vtable::as_raw(self), mode).ok() } } -::windows::core::interface_hierarchy!(IDCompositionGaussianBlurEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionGaussianBlurEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionGaussianBlurEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1658,7 +1658,7 @@ impl IDCompositionHueRotationEffect { (::windows::core::Vtable::vtable(self).SetAngle2)(::windows::core::Vtable::as_raw(self), amountdegrees).ok() } } -::windows::core::interface_hierarchy!(IDCompositionHueRotationEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionHueRotationEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionHueRotationEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1704,7 +1704,7 @@ impl IDCompositionInkTrailDevice { (::windows::core::Vtable::vtable(self).CreateDelegatedInkTrailForSwapChain)(::windows::core::Vtable::as_raw(self), swapchain.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDCompositionInkTrailDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionInkTrailDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionInkTrailDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1857,7 +1857,7 @@ impl IDCompositionLinearTransferEffect { (::windows::core::Vtable::vtable(self).SetClampOutput)(::windows::core::Vtable::as_raw(self), clampoutput.into()).ok() } } -::windows::core::interface_hierarchy!(IDCompositionLinearTransferEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionLinearTransferEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionLinearTransferEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1940,7 +1940,7 @@ impl IDCompositionMatrixTransform { (::windows::core::Vtable::vtable(self).SetMatrixElement2)(::windows::core::Vtable::as_raw(self), row, column, value).ok() } } -::windows::core::interface_hierarchy!(IDCompositionMatrixTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); +::windows::imp::interface_hierarchy!(IDCompositionMatrixTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl ::core::cmp::PartialEq for IDCompositionMatrixTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1993,7 +1993,7 @@ impl IDCompositionMatrixTransform3D { (::windows::core::Vtable::vtable(self).SetMatrixElement2)(::windows::core::Vtable::as_raw(self), row, column, value).ok() } } -::windows::core::interface_hierarchy!(IDCompositionMatrixTransform3D, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); +::windows::imp::interface_hierarchy!(IDCompositionMatrixTransform3D, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl ::core::cmp::PartialEq for IDCompositionMatrixTransform3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2140,7 +2140,7 @@ impl IDCompositionRectangleClip { (::windows::core::Vtable::vtable(self).SetBottomRightRadiusY2)(::windows::core::Vtable::as_raw(self), radius).ok() } } -::windows::core::interface_hierarchy!(IDCompositionRectangleClip, ::windows::core::IUnknown, IDCompositionClip); +::windows::imp::interface_hierarchy!(IDCompositionRectangleClip, ::windows::core::IUnknown, IDCompositionClip); impl ::core::cmp::PartialEq for IDCompositionRectangleClip { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2224,7 +2224,7 @@ impl IDCompositionRotateTransform { (::windows::core::Vtable::vtable(self).SetCenterY2)(::windows::core::Vtable::as_raw(self), centery).ok() } } -::windows::core::interface_hierarchy!(IDCompositionRotateTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); +::windows::imp::interface_hierarchy!(IDCompositionRotateTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl ::core::cmp::PartialEq for IDCompositionRotateTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2326,7 +2326,7 @@ impl IDCompositionRotateTransform3D { (::windows::core::Vtable::vtable(self).SetCenterZ2)(::windows::core::Vtable::as_raw(self), centerz).ok() } } -::windows::core::interface_hierarchy!(IDCompositionRotateTransform3D, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); +::windows::imp::interface_hierarchy!(IDCompositionRotateTransform3D, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl ::core::cmp::PartialEq for IDCompositionRotateTransform3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2388,7 +2388,7 @@ impl IDCompositionSaturationEffect { (::windows::core::Vtable::vtable(self).SetSaturation2)(::windows::core::Vtable::as_raw(self), ratio).ok() } } -::windows::core::interface_hierarchy!(IDCompositionSaturationEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionSaturationEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionSaturationEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2459,7 +2459,7 @@ impl IDCompositionScaleTransform { (::windows::core::Vtable::vtable(self).SetCenterY2)(::windows::core::Vtable::as_raw(self), centery).ok() } } -::windows::core::interface_hierarchy!(IDCompositionScaleTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); +::windows::imp::interface_hierarchy!(IDCompositionScaleTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl ::core::cmp::PartialEq for IDCompositionScaleTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2554,7 +2554,7 @@ impl IDCompositionScaleTransform3D { (::windows::core::Vtable::vtable(self).SetCenterZ2)(::windows::core::Vtable::as_raw(self), centerz).ok() } } -::windows::core::interface_hierarchy!(IDCompositionScaleTransform3D, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); +::windows::imp::interface_hierarchy!(IDCompositionScaleTransform3D, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl ::core::cmp::PartialEq for IDCompositionScaleTransform3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2655,7 +2655,7 @@ impl IDCompositionShadowEffect { (::windows::core::Vtable::vtable(self).SetAlpha2)(::windows::core::Vtable::as_raw(self), amount).ok() } } -::windows::core::interface_hierarchy!(IDCompositionShadowEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionShadowEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionShadowEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2738,7 +2738,7 @@ impl IDCompositionSkewTransform { (::windows::core::Vtable::vtable(self).SetCenterY2)(::windows::core::Vtable::as_raw(self), centery).ok() } } -::windows::core::interface_hierarchy!(IDCompositionSkewTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); +::windows::imp::interface_hierarchy!(IDCompositionSkewTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl ::core::cmp::PartialEq for IDCompositionSkewTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2802,7 +2802,7 @@ impl IDCompositionSurface { (::windows::core::Vtable::vtable(self).Scroll)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(scrollrect.unwrap_or(::std::ptr::null())), ::core::mem::transmute(cliprect.unwrap_or(::std::ptr::null())), offsetx, offsety).ok() } } -::windows::core::interface_hierarchy!(IDCompositionSurface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionSurface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionSurface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2858,7 +2858,7 @@ impl IDCompositionSurfaceFactory { (::windows::core::Vtable::vtable(self).CreateVirtualSurface)(::windows::core::Vtable::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDCompositionSurfaceFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionSurfaceFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionSurfaceFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2993,7 +2993,7 @@ impl IDCompositionTableTransferEffect { (::windows::core::Vtable::vtable(self).SetAlphaTableValue2)(::windows::core::Vtable::as_raw(self), index, value).ok() } } -::windows::core::interface_hierarchy!(IDCompositionTableTransferEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionTableTransferEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionTableTransferEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3064,7 +3064,7 @@ impl IDCompositionTarget { (::windows::core::Vtable::vtable(self).SetRoot)(::windows::core::Vtable::as_raw(self), visual.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDCompositionTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3097,7 +3097,7 @@ pub struct IDCompositionTarget_Vtbl { #[repr(transparent)] pub struct IDCompositionTransform(::windows::core::IUnknown); impl IDCompositionTransform {} -::windows::core::interface_hierarchy!(IDCompositionTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); +::windows::imp::interface_hierarchy!(IDCompositionTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl ::core::cmp::PartialEq for IDCompositionTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3129,7 +3129,7 @@ pub struct IDCompositionTransform_Vtbl { #[repr(transparent)] pub struct IDCompositionTransform3D(::windows::core::IUnknown); impl IDCompositionTransform3D {} -::windows::core::interface_hierarchy!(IDCompositionTransform3D, ::windows::core::IUnknown, IDCompositionEffect); +::windows::imp::interface_hierarchy!(IDCompositionTransform3D, ::windows::core::IUnknown, IDCompositionEffect); impl ::core::cmp::PartialEq for IDCompositionTransform3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3180,7 +3180,7 @@ impl IDCompositionTranslateTransform { (::windows::core::Vtable::vtable(self).SetOffsetY2)(::windows::core::Vtable::as_raw(self), offsety).ok() } } -::windows::core::interface_hierarchy!(IDCompositionTranslateTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); +::windows::imp::interface_hierarchy!(IDCompositionTranslateTransform, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl ::core::cmp::PartialEq for IDCompositionTranslateTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3244,7 +3244,7 @@ impl IDCompositionTranslateTransform3D { (::windows::core::Vtable::vtable(self).SetOffsetZ2)(::windows::core::Vtable::as_raw(self), offsetz).ok() } } -::windows::core::interface_hierarchy!(IDCompositionTranslateTransform3D, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); +::windows::imp::interface_hierarchy!(IDCompositionTranslateTransform3D, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl ::core::cmp::PartialEq for IDCompositionTranslateTransform3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3323,7 +3323,7 @@ impl IDCompositionTurbulenceEffect { (::windows::core::Vtable::vtable(self).SetStitchable)(::windows::core::Vtable::as_raw(self), stitchable.into()).ok() } } -::windows::core::interface_hierarchy!(IDCompositionTurbulenceEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); +::windows::imp::interface_hierarchy!(IDCompositionTurbulenceEffect, ::windows::core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl ::core::cmp::PartialEq for IDCompositionTurbulenceEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3409,7 +3409,7 @@ impl IDCompositionVirtualSurface { (::windows::core::Vtable::vtable(self).Trim)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(rectangles.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rectangles.as_deref().map_or(0, |slice| slice.len() as _)).ok() } } -::windows::core::interface_hierarchy!(IDCompositionVirtualSurface, ::windows::core::IUnknown, IDCompositionSurface); +::windows::imp::interface_hierarchy!(IDCompositionVirtualSurface, ::windows::core::IUnknown, IDCompositionSurface); impl ::core::cmp::PartialEq for IDCompositionVirtualSurface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3533,7 +3533,7 @@ impl IDCompositionVisual { (::windows::core::Vtable::vtable(self).SetCompositeMode)(::windows::core::Vtable::as_raw(self), compositemode).ok() } } -::windows::core::interface_hierarchy!(IDCompositionVisual, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCompositionVisual, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCompositionVisual { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3684,7 +3684,7 @@ impl IDCompositionVisual2 { (::windows::core::Vtable::vtable(self).SetBackFaceVisibility)(::windows::core::Vtable::as_raw(self), visibility).ok() } } -::windows::core::interface_hierarchy!(IDCompositionVisual2, ::windows::core::IUnknown, IDCompositionVisual); +::windows::imp::interface_hierarchy!(IDCompositionVisual2, ::windows::core::IUnknown, IDCompositionVisual); impl ::core::cmp::PartialEq for IDCompositionVisual2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3865,7 +3865,7 @@ impl IDCompositionVisual3 { (::windows::core::Vtable::vtable(self).SetVisible)(::windows::core::Vtable::as_raw(self), visible.into()).ok() } } -::windows::core::interface_hierarchy!(IDCompositionVisual3, ::windows::core::IUnknown, IDCompositionVisual, IDCompositionVisual2, IDCompositionVisualDebug); +::windows::imp::interface_hierarchy!(IDCompositionVisual3, ::windows::core::IUnknown, IDCompositionVisual, IDCompositionVisual2, IDCompositionVisualDebug); impl ::core::cmp::PartialEq for IDCompositionVisual3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4018,7 +4018,7 @@ impl IDCompositionVisualDebug { (::windows::core::Vtable::vtable(self).DisableRedrawRegions)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDCompositionVisualDebug, ::windows::core::IUnknown, IDCompositionVisual, IDCompositionVisual2); +::windows::imp::interface_hierarchy!(IDCompositionVisualDebug, ::windows::core::IUnknown, IDCompositionVisual, IDCompositionVisual2); impl ::core::cmp::PartialEq for IDCompositionVisualDebug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs index b8684320b7..868fce9477 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn DirectDrawCreate(lpguid: *mut ::windows::core::GUID, lplpdd: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ddraw.dll""system" fn DirectDrawCreate ( lpguid : *mut :: windows::core::GUID , lplpdd : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ddraw.dll""system" fn DirectDrawCreate ( lpguid : *mut :: windows::core::GUID , lplpdd : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectDrawCreate(lpguid, ::core::mem::transmute(lplpdd), punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -13,7 +13,7 @@ pub unsafe fn DirectDrawCreateClipper(dwflags: u32, lplpddclipper: *mut ::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ddraw.dll""system" fn DirectDrawCreateClipper ( dwflags : u32 , lplpddclipper : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ddraw.dll""system" fn DirectDrawCreateClipper ( dwflags : u32 , lplpddclipper : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectDrawCreateClipper(dwflags, ::core::mem::transmute(lplpddclipper), punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -22,35 +22,35 @@ pub unsafe fn DirectDrawCreateEx(lpguid: *mut ::windows::core::GUID, lplpdd: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ddraw.dll""system" fn DirectDrawCreateEx ( lpguid : *mut :: windows::core::GUID , lplpdd : *mut *mut ::core::ffi::c_void , iid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ddraw.dll""system" fn DirectDrawCreateEx ( lpguid : *mut :: windows::core::GUID , lplpdd : *mut *mut ::core::ffi::c_void , iid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectDrawCreateEx(lpguid, lplpdd, iid, punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DirectDrawEnumerateA(lpcallback: LPDDENUMCALLBACKA, lpcontext: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ddraw.dll""system" fn DirectDrawEnumerateA ( lpcallback : LPDDENUMCALLBACKA , lpcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ddraw.dll""system" fn DirectDrawEnumerateA ( lpcallback : LPDDENUMCALLBACKA , lpcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectDrawEnumerateA(lpcallback, lpcontext).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn DirectDrawEnumerateExA(lpcallback: LPDDENUMCALLBACKEXA, lpcontext: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ddraw.dll""system" fn DirectDrawEnumerateExA ( lpcallback : LPDDENUMCALLBACKEXA , lpcontext : *mut ::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ddraw.dll""system" fn DirectDrawEnumerateExA ( lpcallback : LPDDENUMCALLBACKEXA , lpcontext : *mut ::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); DirectDrawEnumerateExA(lpcallback, lpcontext, dwflags).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn DirectDrawEnumerateExW(lpcallback: LPDDENUMCALLBACKEXW, lpcontext: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ddraw.dll""system" fn DirectDrawEnumerateExW ( lpcallback : LPDDENUMCALLBACKEXW , lpcontext : *mut ::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ddraw.dll""system" fn DirectDrawEnumerateExW ( lpcallback : LPDDENUMCALLBACKEXW , lpcontext : *mut ::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); DirectDrawEnumerateExW(lpcallback, lpcontext, dwflags).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DirectDrawEnumerateW(lpcallback: LPDDENUMCALLBACKW, lpcontext: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ddraw.dll""system" fn DirectDrawEnumerateW ( lpcallback : LPDDENUMCALLBACKW , lpcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ddraw.dll""system" fn DirectDrawEnumerateW ( lpcallback : LPDDENUMCALLBACKW , lpcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectDrawEnumerateW(lpcallback, lpcontext).ok() } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -75,7 +75,7 @@ impl IDDVideoPortContainer { (::windows::core::Vtable::vtable(self).QueryVideoPortStatus)(::windows::core::Vtable::as_raw(self), param0, param1).ok() } } -::windows::core::interface_hierarchy!(IDDVideoPortContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDDVideoPortContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDDVideoPortContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -201,7 +201,7 @@ impl IDirectDraw { (::windows::core::Vtable::vtable(self).WaitForVerticalBlank)(::windows::core::Vtable::as_raw(self), param0, param1.into()).ok() } } -::windows::core::interface_hierarchy!(IDirectDraw, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDraw, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDraw { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -352,7 +352,7 @@ impl IDirectDraw2 { (::windows::core::Vtable::vtable(self).GetAvailableVidMem)(::windows::core::Vtable::as_raw(self), param0, param1, param2).ok() } } -::windows::core::interface_hierarchy!(IDirectDraw2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDraw2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDraw2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -524,7 +524,7 @@ impl IDirectDraw4 { (::windows::core::Vtable::vtable(self).GetDeviceIdentifier)(::windows::core::Vtable::as_raw(self), param0, param1).ok() } } -::windows::core::interface_hierarchy!(IDirectDraw4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDraw4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDraw4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -714,7 +714,7 @@ impl IDirectDraw7 { (::windows::core::Vtable::vtable(self).EvaluateMode)(::windows::core::Vtable::as_raw(self), param0, param1).ok() } } -::windows::core::interface_hierarchy!(IDirectDraw7, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDraw7, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDraw7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -826,7 +826,7 @@ impl IDirectDrawClipper { (::windows::core::Vtable::vtable(self).SetHWnd)(::windows::core::Vtable::as_raw(self), param0, param1.into()).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawClipper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawClipper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawClipper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -886,7 +886,7 @@ impl IDirectDrawColorControl { (::windows::core::Vtable::vtable(self).SetColorControls)(::windows::core::Vtable::as_raw(self), param0).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawColorControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawColorControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawColorControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -927,7 +927,7 @@ impl IDirectDrawGammaControl { (::windows::core::Vtable::vtable(self).SetGammaRamp)(::windows::core::Vtable::as_raw(self), param0, param1).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawGammaControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawGammaControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawGammaControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -971,7 +971,7 @@ impl IDirectDrawKernel { (::windows::core::Vtable::vtable(self).ReleaseKernelHandle)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawKernel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawKernel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawKernel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1028,7 +1028,7 @@ impl IDirectDrawPalette { (::windows::core::Vtable::vtable(self).SetEntries)(::windows::core::Vtable::as_raw(self), param0, param1, param2, param3).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawPalette, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawPalette, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawPalette { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1227,7 +1227,7 @@ impl IDirectDrawSurface { (::windows::core::Vtable::vtable(self).UpdateOverlayZOrder)(::windows::core::Vtable::as_raw(self), param0, param1.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawSurface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawSurface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawSurface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1479,7 +1479,7 @@ impl IDirectDrawSurface2 { (::windows::core::Vtable::vtable(self).PageUnlock)(::windows::core::Vtable::as_raw(self), param0).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawSurface2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawSurface2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawSurface2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1737,7 +1737,7 @@ impl IDirectDrawSurface3 { (::windows::core::Vtable::vtable(self).SetSurfaceDesc)(::windows::core::Vtable::as_raw(self), param0, param1).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawSurface3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawSurface3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawSurface3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2013,7 +2013,7 @@ impl IDirectDrawSurface4 { (::windows::core::Vtable::vtable(self).ChangeUniquenessValue)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawSurface4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawSurface4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawSurface4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2309,7 +2309,7 @@ impl IDirectDrawSurface7 { (::windows::core::Vtable::vtable(self).GetLOD)(::windows::core::Vtable::as_raw(self), param0).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawSurface7, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawSurface7, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawSurface7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2421,7 +2421,7 @@ impl IDirectDrawSurfaceKernel { (::windows::core::Vtable::vtable(self).ReleaseKernelHandle)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawSurfaceKernel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawSurfaceKernel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawSurfaceKernel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2508,7 +2508,7 @@ impl IDirectDrawVideoPort { (::windows::core::Vtable::vtable(self).WaitForSync)(::windows::core::Vtable::as_raw(self), param0, param1, param2).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawVideoPort, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawVideoPort, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawVideoPort { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2574,7 +2574,7 @@ impl IDirectDrawVideoPortNotify { (::windows::core::Vtable::vtable(self).ReleaseNotification)(::windows::core::Vtable::as_raw(self), param0.into()).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawVideoPortNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawVideoPortNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawVideoPortNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 2c6bfc373c..21399061b8 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs @@ -6,7 +6,7 @@ impl IDirectManipulationAutoScrollBehavior { (::windows::core::Vtable::vtable(self).SetConfiguration)(::windows::core::Vtable::as_raw(self), motiontypes, scrollmotion).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationAutoScrollBehavior, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationAutoScrollBehavior, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationAutoScrollBehavior { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -64,7 +64,7 @@ impl IDirectManipulationCompositor { (::windows::core::Vtable::vtable(self).Flush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationCompositor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationCompositor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationCompositor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -134,7 +134,7 @@ impl IDirectManipulationCompositor2 { (::windows::core::Vtable::vtable(self).AddContentWithCrossProcessChaining)(::windows::core::Vtable::as_raw(self), content.into().abi(), device.into().abi(), parentvisual.into().abi(), childvisual.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationCompositor2, ::windows::core::IUnknown, IDirectManipulationCompositor); +::windows::imp::interface_hierarchy!(IDirectManipulationCompositor2, ::windows::core::IUnknown, IDirectManipulationCompositor); impl ::core::cmp::PartialEq for IDirectManipulationCompositor2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -207,7 +207,7 @@ impl IDirectManipulationContent { (::windows::core::Vtable::vtable(self).SyncContentTransform)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(matrix.as_ptr()), matrix.len() as _).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationContent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationContent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationContent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -263,7 +263,7 @@ impl IDirectManipulationDeferContactService { (::windows::core::Vtable::vtable(self).CancelDeferral)(::windows::core::Vtable::as_raw(self), pointerid).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationDeferContactService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationDeferContactService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationDeferContactService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -306,7 +306,7 @@ impl IDirectManipulationDragDropBehavior { (::windows::core::Vtable::vtable(self).GetStatus)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectManipulationDragDropBehavior, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationDragDropBehavior, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationDragDropBehavior { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -347,7 +347,7 @@ impl IDirectManipulationDragDropEventHandler { (::windows::core::Vtable::vtable(self).OnDragDropStatusChange)(::windows::core::Vtable::as_raw(self), viewport.into().abi(), current, previous).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationDragDropEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationDragDropEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationDragDropEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -384,7 +384,7 @@ impl IDirectManipulationFrameInfoProvider { (::windows::core::Vtable::vtable(self).GetNextFrameInfo)(::windows::core::Vtable::as_raw(self), time, processtime, compositiontime).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationFrameInfoProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationFrameInfoProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationFrameInfoProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -424,7 +424,7 @@ impl IDirectManipulationInteractionEventHandler { (::windows::core::Vtable::vtable(self).OnInteraction)(::windows::core::Vtable::as_raw(self), viewport.into().abi(), interaction).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationInteractionEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationInteractionEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationInteractionEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -515,7 +515,7 @@ impl IDirectManipulationManager { (::windows::core::Vtable::vtable(self).CreateContent)(::windows::core::Vtable::as_raw(self), frameinfo.into().abi(), clsid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectManipulationManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -634,7 +634,7 @@ impl IDirectManipulationManager2 { (::windows::core::Vtable::vtable(self).CreateBehavior)(::windows::core::Vtable::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectManipulationManager2, ::windows::core::IUnknown, IDirectManipulationManager); +::windows::imp::interface_hierarchy!(IDirectManipulationManager2, ::windows::core::IUnknown, IDirectManipulationManager); impl ::core::cmp::PartialEq for IDirectManipulationManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -739,7 +739,7 @@ impl IDirectManipulationManager3 { (::windows::core::Vtable::vtable(self).GetService)(::windows::core::Vtable::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectManipulationManager3, ::windows::core::IUnknown, IDirectManipulationManager, IDirectManipulationManager2); +::windows::imp::interface_hierarchy!(IDirectManipulationManager3, ::windows::core::IUnknown, IDirectManipulationManager, IDirectManipulationManager2); impl ::core::cmp::PartialEq for IDirectManipulationManager3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -800,7 +800,7 @@ impl IDirectManipulationPrimaryContent { (::windows::core::Vtable::vtable(self).GetCenterPoint)(::windows::core::Vtable::as_raw(self), centerx, centery).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationPrimaryContent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationPrimaryContent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationPrimaryContent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -845,7 +845,7 @@ impl IDirectManipulationUpdateHandler { (::windows::core::Vtable::vtable(self).Update)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationUpdateHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationUpdateHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationUpdateHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -898,7 +898,7 @@ impl IDirectManipulationUpdateManager { (::windows::core::Vtable::vtable(self).Update)(::windows::core::Vtable::as_raw(self), frameinfo.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationUpdateManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationUpdateManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationUpdateManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1055,7 +1055,7 @@ impl IDirectManipulationViewport { (::windows::core::Vtable::vtable(self).Abandon)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationViewport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationViewport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationViewport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1259,7 +1259,7 @@ impl IDirectManipulationViewport2 { (::windows::core::Vtable::vtable(self).RemoveAllBehaviors)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationViewport2, ::windows::core::IUnknown, IDirectManipulationViewport); +::windows::imp::interface_hierarchy!(IDirectManipulationViewport2, ::windows::core::IUnknown, IDirectManipulationViewport); impl ::core::cmp::PartialEq for IDirectManipulationViewport2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1314,7 +1314,7 @@ impl IDirectManipulationViewportEventHandler { (::windows::core::Vtable::vtable(self).OnContentUpdated)(::windows::core::Vtable::as_raw(self), viewport.into().abi(), content.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectManipulationViewportEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectManipulationViewportEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectManipulationViewportEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 02b16a8f6f..c803848525 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn DWriteCreateFactory(factorytype: DWRITE_FACTORY_TYPE) -> ::wind where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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__) } @@ -21,7 +21,7 @@ impl IDWriteAsyncResult { (::windows::core::Vtable::vtable(self).GetResult)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDWriteAsyncResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteAsyncResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteAsyncResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -96,7 +96,7 @@ impl IDWriteBitmapRenderTarget { (::windows::core::Vtable::vtable(self).Resize)(::windows::core::Vtable::as_raw(self), width, height).ok() } } -::windows::core::interface_hierarchy!(IDWriteBitmapRenderTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteBitmapRenderTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteBitmapRenderTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -189,7 +189,7 @@ impl IDWriteBitmapRenderTarget1 { (::windows::core::Vtable::vtable(self).SetTextAntialiasMode)(::windows::core::Vtable::as_raw(self), antialiasmode).ok() } } -::windows::core::interface_hierarchy!(IDWriteBitmapRenderTarget1, ::windows::core::IUnknown, IDWriteBitmapRenderTarget); +::windows::imp::interface_hierarchy!(IDWriteBitmapRenderTarget1, ::windows::core::IUnknown, IDWriteBitmapRenderTarget); impl ::core::cmp::PartialEq for IDWriteBitmapRenderTarget1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -238,7 +238,7 @@ impl IDWriteColorGlyphRunEnumerator { (::windows::core::Vtable::vtable(self).GetCurrentRun)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteColorGlyphRunEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteColorGlyphRunEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteColorGlyphRunEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -299,7 +299,7 @@ impl IDWriteColorGlyphRunEnumerator1 { (::windows::core::Vtable::vtable(self).GetCurrentRun2)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteColorGlyphRunEnumerator1, ::windows::core::IUnknown, IDWriteColorGlyphRunEnumerator); +::windows::imp::interface_hierarchy!(IDWriteColorGlyphRunEnumerator1, ::windows::core::IUnknown, IDWriteColorGlyphRunEnumerator); impl ::core::cmp::PartialEq for IDWriteColorGlyphRunEnumerator1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -475,7 +475,7 @@ impl IDWriteFactory { (::windows::core::Vtable::vtable(self).CreateGlyphRunAnalysis)(::windows::core::Vtable::as_raw(self), glyphrun, pixelsperdip, ::core::mem::transmute(transform.unwrap_or(::std::ptr::null())), renderingmode, measuringmode, baselineoriginx, baselineoriginy, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -698,7 +698,7 @@ impl IDWriteFactory1 { (::windows::core::Vtable::vtable(self).CreateCustomRenderingParams2)(::windows::core::Vtable::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFactory1, ::windows::core::IUnknown, IDWriteFactory); +::windows::imp::interface_hierarchy!(IDWriteFactory1, ::windows::core::IUnknown, IDWriteFactory); impl ::core::cmp::PartialEq for IDWriteFactory1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -911,7 +911,7 @@ impl IDWriteFactory2 { (::windows::core::Vtable::vtable(self).CreateGlyphRunAnalysis2)(::windows::core::Vtable::as_raw(self), glyphrun, ::core::mem::transmute(transform.unwrap_or(::std::ptr::null())), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFactory2, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1); +::windows::imp::interface_hierarchy!(IDWriteFactory2, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1); impl ::core::cmp::PartialEq for IDWriteFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1184,7 +1184,7 @@ impl IDWriteFactory3 { (::windows::core::Vtable::vtable(self).GetFontDownloadQueue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFactory3, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2); +::windows::imp::interface_hierarchy!(IDWriteFactory3, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2); impl ::core::cmp::PartialEq for IDWriteFactory3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1482,7 +1482,7 @@ impl IDWriteFactory4 { (::windows::core::Vtable::vtable(self).ComputeGlyphOrigins2)(::windows::core::Vtable::as_raw(self), glyphrun, measuringmode, ::core::mem::transmute(baselineorigin), ::core::mem::transmute(worldanddpitransform.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFactory4, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3); +::windows::imp::interface_hierarchy!(IDWriteFactory4, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3); impl ::core::cmp::PartialEq for IDWriteFactory4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1797,7 +1797,7 @@ impl IDWriteFactory5 { (::windows::core::Vtable::vtable(self).UnpackFontFile)(::windows::core::Vtable::as_raw(self), containertype, filedata, filedatasize, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFactory5, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4); +::windows::imp::interface_hierarchy!(IDWriteFactory5, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4); impl ::core::cmp::PartialEq for IDWriteFactory5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2157,7 +2157,7 @@ impl IDWriteFactory6 { (::windows::core::Vtable::vtable(self).CreateTextFormat2)(::windows::core::Vtable::as_raw(self), fontfamilyname.into().abi(), fontcollection.into().abi(), ::core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len() as _, fontsize, localename.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFactory6, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5); +::windows::imp::interface_hierarchy!(IDWriteFactory6, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5); impl ::core::cmp::PartialEq for IDWriteFactory6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2543,7 +2543,7 @@ impl IDWriteFactory7 { (::windows::core::Vtable::vtable(self).GetSystemFontCollection4)(::windows::core::Vtable::as_raw(self), includedownloadablefonts.into(), fontfamilymodel, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFactory7, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5, IDWriteFactory6); +::windows::imp::interface_hierarchy!(IDWriteFactory7, ::windows::core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5, IDWriteFactory6); impl ::core::cmp::PartialEq for IDWriteFactory7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2629,7 +2629,7 @@ impl IDWriteFont { (::windows::core::Vtable::vtable(self).CreateFontFace)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFont, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFont, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFont { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2745,7 +2745,7 @@ impl IDWriteFont1 { (::windows::core::Vtable::vtable(self).IsMonospacedFont)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteFont1, ::windows::core::IUnknown, IDWriteFont); +::windows::imp::interface_hierarchy!(IDWriteFont1, ::windows::core::IUnknown, IDWriteFont); impl ::core::cmp::PartialEq for IDWriteFont1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2856,7 +2856,7 @@ impl IDWriteFont2 { (::windows::core::Vtable::vtable(self).IsColorFont)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteFont2, ::windows::core::IUnknown, IDWriteFont, IDWriteFont1); +::windows::imp::interface_hierarchy!(IDWriteFont2, ::windows::core::IUnknown, IDWriteFont, IDWriteFont1); impl ::core::cmp::PartialEq for IDWriteFont2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2985,7 +2985,7 @@ impl IDWriteFont3 { (::windows::core::Vtable::vtable(self).GetLocality)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteFont3, ::windows::core::IUnknown, IDWriteFont, IDWriteFont1, IDWriteFont2); +::windows::imp::interface_hierarchy!(IDWriteFont3, ::windows::core::IUnknown, IDWriteFont, IDWriteFont1, IDWriteFont2); impl ::core::cmp::PartialEq for IDWriteFont3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3053,7 +3053,7 @@ impl IDWriteFontCollection { (::windows::core::Vtable::vtable(self).GetFontFromFontFace)(::windows::core::Vtable::as_raw(self), fontface.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3125,7 +3125,7 @@ impl IDWriteFontCollection1 { (::windows::core::Vtable::vtable(self).GetFontFamily2)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontCollection1, ::windows::core::IUnknown, IDWriteFontCollection); +::windows::imp::interface_hierarchy!(IDWriteFontCollection1, ::windows::core::IUnknown, IDWriteFontCollection); impl ::core::cmp::PartialEq for IDWriteFontCollection1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3210,7 +3210,7 @@ impl IDWriteFontCollection2 { (::windows::core::Vtable::vtable(self).GetFontSet2)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontCollection2, ::windows::core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1); +::windows::imp::interface_hierarchy!(IDWriteFontCollection2, ::windows::core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1); impl ::core::cmp::PartialEq for IDWriteFontCollection2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3302,7 +3302,7 @@ impl IDWriteFontCollection3 { (::windows::core::Vtable::vtable(self).GetExpirationEvent)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteFontCollection3, ::windows::core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1, IDWriteFontCollection2); +::windows::imp::interface_hierarchy!(IDWriteFontCollection3, ::windows::core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1, IDWriteFontCollection2); impl ::core::cmp::PartialEq for IDWriteFontCollection3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3348,7 +3348,7 @@ impl IDWriteFontCollectionLoader { (::windows::core::Vtable::vtable(self).CreateEnumeratorFromKey)(::windows::core::Vtable::as_raw(self), factory.into().abi(), collectionkey, collectionkeysize, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontCollectionLoader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontCollectionLoader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontCollectionLoader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3391,7 +3391,7 @@ impl IDWriteFontDownloadListener { (::windows::core::Vtable::vtable(self).DownloadCompleted)(::windows::core::Vtable::as_raw(self), downloadqueue.into().abi(), context.into().abi(), downloadresult) } } -::windows::core::interface_hierarchy!(IDWriteFontDownloadListener, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontDownloadListener, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontDownloadListener { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3454,7 +3454,7 @@ impl IDWriteFontDownloadQueue { (::windows::core::Vtable::vtable(self).GetGenerationCount)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteFontDownloadQueue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontDownloadQueue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontDownloadQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3569,7 +3569,7 @@ impl IDWriteFontFace { (::windows::core::Vtable::vtable(self).GetGdiCompatibleGlyphMetrics)(::windows::core::Vtable::as_raw(self), emsize, pixelsperdip, ::core::mem::transmute(transform.unwrap_or(::std::ptr::null())), usegdinatural.into(), glyphindices, glyphcount, glyphmetrics, issideways.into()).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontFace, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontFace, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontFace { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3770,7 +3770,7 @@ impl IDWriteFontFace1 { (::windows::core::Vtable::vtable(self).HasVerticalGlyphVariants)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteFontFace1, ::windows::core::IUnknown, IDWriteFontFace); +::windows::imp::interface_hierarchy!(IDWriteFontFace1, ::windows::core::IUnknown, IDWriteFontFace); impl ::core::cmp::PartialEq for IDWriteFontFace1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4000,7 +4000,7 @@ impl IDWriteFontFace2 { (::windows::core::Vtable::vtable(self).GetRecommendedRenderingMode3)(::windows::core::Vtable::as_raw(self), fontemsize, dpix, dpiy, ::core::mem::transmute(transform.unwrap_or(::std::ptr::null())), issideways.into(), outlinethreshold, measuringmode, renderingparams.into().abi(), renderingmode, gridfitmode).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontFace2, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1); +::windows::imp::interface_hierarchy!(IDWriteFontFace2, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1); impl ::core::cmp::PartialEq for IDWriteFontFace2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4278,7 +4278,7 @@ impl IDWriteFontFace3 { (::windows::core::Vtable::vtable(self).AreGlyphsLocal)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(glyphindices.as_ptr()), glyphindices.len() as _, enqueueifnotlocal.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFace3, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2); +::windows::imp::interface_hierarchy!(IDWriteFontFace3, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2); impl ::core::cmp::PartialEq for IDWriteFontFace3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4595,7 +4595,7 @@ impl IDWriteFontFace4 { (::windows::core::Vtable::vtable(self).ReleaseGlyphImageData)(::windows::core::Vtable::as_raw(self), glyphdatacontext) } } -::windows::core::interface_hierarchy!(IDWriteFontFace4, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3); +::windows::imp::interface_hierarchy!(IDWriteFontFace4, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3); impl ::core::cmp::PartialEq for IDWriteFontFace4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4907,7 +4907,7 @@ impl IDWriteFontFace5 { (::windows::core::Vtable::vtable(self).Equals)(::windows::core::Vtable::as_raw(self), fontface.into().abi()) } } -::windows::core::interface_hierarchy!(IDWriteFontFace5, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4); +::windows::imp::interface_hierarchy!(IDWriteFontFace5, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4); impl ::core::cmp::PartialEq for IDWriteFontFace5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5231,7 +5231,7 @@ impl IDWriteFontFace6 { (::windows::core::Vtable::vtable(self).GetFaceNames2)(::windows::core::Vtable::as_raw(self), fontfamilymodel, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFace6, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4, IDWriteFontFace5); +::windows::imp::interface_hierarchy!(IDWriteFontFace6, ::windows::core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4, IDWriteFontFace5); impl ::core::cmp::PartialEq for IDWriteFontFace6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5321,7 +5321,7 @@ impl IDWriteFontFaceReference { (::windows::core::Vtable::vtable(self).EnqueueFileFragmentDownloadRequest)(::windows::core::Vtable::as_raw(self), fileoffset, fragmentsize).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontFaceReference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontFaceReference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontFaceReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5439,7 +5439,7 @@ impl IDWriteFontFaceReference1 { (::windows::core::Vtable::vtable(self).GetFontAxisValues)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len() as _).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontFaceReference1, ::windows::core::IUnknown, IDWriteFontFaceReference); +::windows::imp::interface_hierarchy!(IDWriteFontFaceReference1, ::windows::core::IUnknown, IDWriteFontFaceReference); impl ::core::cmp::PartialEq for IDWriteFontFaceReference1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5485,7 +5485,7 @@ impl IDWriteFontFallback { (::windows::core::Vtable::vtable(self).MapCharacters)(::windows::core::Vtable::as_raw(self), analysissource.into().abi(), textposition, textlength, basefontcollection.into().abi(), basefamilyname.into().abi(), baseweight, basestyle, basestretch, mappedlength, ::core::mem::transmute(mappedfont), scale).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontFallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontFallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontFallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5537,7 +5537,7 @@ impl IDWriteFontFallback1 { (::windows::core::Vtable::vtable(self).MapCharacters2)(::windows::core::Vtable::as_raw(self), analysissource.into().abi(), textposition, textlength, basefontcollection.into().abi(), basefamilyname.into().abi(), ::core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len() as _, mappedlength, scale, ::core::mem::transmute(mappedfontface)).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontFallback1, ::windows::core::IUnknown, IDWriteFontFallback); +::windows::imp::interface_hierarchy!(IDWriteFontFallback1, ::windows::core::IUnknown, IDWriteFontFallback); impl ::core::cmp::PartialEq for IDWriteFontFallback1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5591,7 +5591,7 @@ impl IDWriteFontFallbackBuilder { (::windows::core::Vtable::vtable(self).CreateFontFallback)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFallbackBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontFallbackBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontFallbackBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5652,7 +5652,7 @@ impl IDWriteFontFamily { (::windows::core::Vtable::vtable(self).GetMatchingFonts)(::windows::core::Vtable::as_raw(self), weight, stretch, style, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFamily, ::windows::core::IUnknown, IDWriteFontList); +::windows::imp::interface_hierarchy!(IDWriteFontFamily, ::windows::core::IUnknown, IDWriteFontList); impl ::core::cmp::PartialEq for IDWriteFontFamily { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5724,7 +5724,7 @@ impl IDWriteFontFamily1 { (::windows::core::Vtable::vtable(self).GetFontFaceReference)(::windows::core::Vtable::as_raw(self), listindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFamily1, ::windows::core::IUnknown, IDWriteFontList, IDWriteFontFamily); +::windows::imp::interface_hierarchy!(IDWriteFontFamily1, ::windows::core::IUnknown, IDWriteFontList, IDWriteFontFamily); impl ::core::cmp::PartialEq for IDWriteFontFamily1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5804,7 +5804,7 @@ impl IDWriteFontFamily2 { (::windows::core::Vtable::vtable(self).GetFontSet)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFamily2, ::windows::core::IUnknown, IDWriteFontList, IDWriteFontFamily, IDWriteFontFamily1); +::windows::imp::interface_hierarchy!(IDWriteFontFamily2, ::windows::core::IUnknown, IDWriteFontList, IDWriteFontFamily, IDWriteFontFamily1); impl ::core::cmp::PartialEq for IDWriteFontFamily2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5853,7 +5853,7 @@ impl IDWriteFontFile { (::windows::core::Vtable::vtable(self).Analyze)(::windows::core::Vtable::as_raw(self), issupportedfonttype, fontfiletype, ::core::mem::transmute(fontfacetype.unwrap_or(::std::ptr::null_mut())), numberoffaces).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontFile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontFile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontFile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5904,7 +5904,7 @@ impl IDWriteFontFileEnumerator { (::windows::core::Vtable::vtable(self).GetCurrentFontFile)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFileEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontFileEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontFileEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5948,7 +5948,7 @@ impl IDWriteFontFileLoader { (::windows::core::Vtable::vtable(self).CreateStreamFromKey)(::windows::core::Vtable::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFileLoader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontFileLoader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontFileLoader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5998,7 +5998,7 @@ impl IDWriteFontFileStream { (::windows::core::Vtable::vtable(self).GetLastWriteTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontFileStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontFileStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontFileStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6048,7 +6048,7 @@ impl IDWriteFontList { (::windows::core::Vtable::vtable(self).GetFont)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6108,7 +6108,7 @@ impl IDWriteFontList1 { (::windows::core::Vtable::vtable(self).GetFontFaceReference)(::windows::core::Vtable::as_raw(self), listindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontList1, ::windows::core::IUnknown, IDWriteFontList); +::windows::imp::interface_hierarchy!(IDWriteFontList1, ::windows::core::IUnknown, IDWriteFontList); impl ::core::cmp::PartialEq for IDWriteFontList1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6172,7 +6172,7 @@ impl IDWriteFontList2 { (::windows::core::Vtable::vtable(self).GetFontSet)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontList2, ::windows::core::IUnknown, IDWriteFontList, IDWriteFontList1); +::windows::imp::interface_hierarchy!(IDWriteFontList2, ::windows::core::IUnknown, IDWriteFontList, IDWriteFontList1); impl ::core::cmp::PartialEq for IDWriteFontList2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6250,7 +6250,7 @@ impl IDWriteFontResource { (::windows::core::Vtable::vtable(self).CreateFontFaceReference)(::windows::core::Vtable::as_raw(self), fontsimulations, ::core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontResource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontResource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6354,7 +6354,7 @@ impl IDWriteFontSet { (::windows::core::Vtable::vtable(self).GetMatchingFonts2)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(properties.as_ptr()), properties.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6529,7 +6529,7 @@ impl IDWriteFontSet1 { (::windows::core::Vtable::vtable(self).GetFontLocality)(::windows::core::Vtable::as_raw(self), listindex) } } -::windows::core::interface_hierarchy!(IDWriteFontSet1, ::windows::core::IUnknown, IDWriteFontSet); +::windows::imp::interface_hierarchy!(IDWriteFontSet1, ::windows::core::IUnknown, IDWriteFontSet); impl ::core::cmp::PartialEq for IDWriteFontSet1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6715,7 +6715,7 @@ impl IDWriteFontSet2 { (::windows::core::Vtable::vtable(self).GetExpirationEvent)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteFontSet2, ::windows::core::IUnknown, IDWriteFontSet, IDWriteFontSet1); +::windows::imp::interface_hierarchy!(IDWriteFontSet2, ::windows::core::IUnknown, IDWriteFontSet, IDWriteFontSet1); impl ::core::cmp::PartialEq for IDWriteFontSet2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6889,7 +6889,7 @@ impl IDWriteFontSet3 { (::windows::core::Vtable::vtable(self).GetFontSourceName)(::windows::core::Vtable::as_raw(self), listindex, ::core::mem::transmute(stringbuffer.as_ptr()), stringbuffer.len() as _).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontSet3, ::windows::core::IUnknown, IDWriteFontSet, IDWriteFontSet1, IDWriteFontSet2); +::windows::imp::interface_hierarchy!(IDWriteFontSet3, ::windows::core::IUnknown, IDWriteFontSet, IDWriteFontSet1, IDWriteFontSet2); impl ::core::cmp::PartialEq for IDWriteFontSet3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6949,7 +6949,7 @@ impl IDWriteFontSetBuilder { (::windows::core::Vtable::vtable(self).CreateFontSet)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteFontSetBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteFontSetBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteFontSetBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7016,7 +7016,7 @@ impl IDWriteFontSetBuilder1 { (::windows::core::Vtable::vtable(self).AddFontFile)(::windows::core::Vtable::as_raw(self), fontfile.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontSetBuilder1, ::windows::core::IUnknown, IDWriteFontSetBuilder); +::windows::imp::interface_hierarchy!(IDWriteFontSetBuilder1, ::windows::core::IUnknown, IDWriteFontSetBuilder); impl ::core::cmp::PartialEq for IDWriteFontSetBuilder1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7092,7 +7092,7 @@ impl IDWriteFontSetBuilder2 { (::windows::core::Vtable::vtable(self).AddFontFile2)(::windows::core::Vtable::as_raw(self), filepath.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDWriteFontSetBuilder2, ::windows::core::IUnknown, IDWriteFontSetBuilder, IDWriteFontSetBuilder1); +::windows::imp::interface_hierarchy!(IDWriteFontSetBuilder2, ::windows::core::IUnknown, IDWriteFontSetBuilder, IDWriteFontSetBuilder1); impl ::core::cmp::PartialEq for IDWriteFontSetBuilder2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7169,7 +7169,7 @@ impl IDWriteGdiInterop { (::windows::core::Vtable::vtable(self).CreateBitmapRenderTarget)(::windows::core::Vtable::as_raw(self), hdc.into(), width, height, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteGdiInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteGdiInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteGdiInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7298,7 +7298,7 @@ impl IDWriteGdiInterop1 { (::windows::core::Vtable::vtable(self).GetMatchingFontsByLOGFONT)(::windows::core::Vtable::as_raw(self), logfont, fontset.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteGdiInterop1, ::windows::core::IUnknown, IDWriteGdiInterop); +::windows::imp::interface_hierarchy!(IDWriteGdiInterop1, ::windows::core::IUnknown, IDWriteGdiInterop); impl ::core::cmp::PartialEq for IDWriteGdiInterop1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7366,7 +7366,7 @@ impl IDWriteGlyphRunAnalysis { (::windows::core::Vtable::vtable(self).GetAlphaBlendParams)(::windows::core::Vtable::as_raw(self), renderingparams.into().abi(), blendgamma, blendenhancedcontrast, blendcleartypelevel).ok() } } -::windows::core::interface_hierarchy!(IDWriteGlyphRunAnalysis, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteGlyphRunAnalysis, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteGlyphRunAnalysis { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7425,7 +7425,7 @@ impl IDWriteInMemoryFontFileLoader { (::windows::core::Vtable::vtable(self).GetFileCount)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteInMemoryFontFileLoader, ::windows::core::IUnknown, IDWriteFontFileLoader); +::windows::imp::interface_hierarchy!(IDWriteInMemoryFontFileLoader, ::windows::core::IUnknown, IDWriteFontFileLoader); impl ::core::cmp::PartialEq for IDWriteInMemoryFontFileLoader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7486,7 +7486,7 @@ impl IDWriteInlineObject { (::windows::core::Vtable::vtable(self).GetBreakConditions)(::windows::core::Vtable::as_raw(self), breakconditionbefore, breakconditionafter).ok() } } -::windows::core::interface_hierarchy!(IDWriteInlineObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteInlineObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteInlineObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7548,7 +7548,7 @@ impl IDWriteLocalFontFileLoader { (::windows::core::Vtable::vtable(self).GetLastWriteTimeFromKey)(::windows::core::Vtable::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteLocalFontFileLoader, ::windows::core::IUnknown, IDWriteFontFileLoader); +::windows::imp::interface_hierarchy!(IDWriteLocalFontFileLoader, ::windows::core::IUnknown, IDWriteFontFileLoader); impl ::core::cmp::PartialEq for IDWriteLocalFontFileLoader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7614,7 +7614,7 @@ impl IDWriteLocalizedStrings { (::windows::core::Vtable::vtable(self).GetString)(::windows::core::Vtable::as_raw(self), index, ::core::mem::transmute(stringbuffer.as_ptr()), stringbuffer.len() as _).ok() } } -::windows::core::interface_hierarchy!(IDWriteLocalizedStrings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteLocalizedStrings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteLocalizedStrings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7657,7 +7657,7 @@ pub struct IDWriteLocalizedStrings_Vtbl { #[repr(transparent)] pub struct IDWriteNumberSubstitution(::windows::core::IUnknown); impl IDWriteNumberSubstitution {} -::windows::core::interface_hierarchy!(IDWriteNumberSubstitution, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteNumberSubstitution, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteNumberSubstitution { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7705,7 +7705,7 @@ impl IDWritePixelSnapping { (::windows::core::Vtable::vtable(self).GetPixelsPerDip)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(clientdrawingcontext.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWritePixelSnapping, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWritePixelSnapping, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWritePixelSnapping { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7767,7 +7767,7 @@ impl IDWriteRemoteFontFileLoader { (::windows::core::Vtable::vtable(self).CreateFontFileReferenceFromUrl)(::windows::core::Vtable::as_raw(self), factory.into().abi(), baseurl.into().abi(), fontfileurl.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteRemoteFontFileLoader, ::windows::core::IUnknown, IDWriteFontFileLoader); +::windows::imp::interface_hierarchy!(IDWriteRemoteFontFileLoader, ::windows::core::IUnknown, IDWriteFontFileLoader); impl ::core::cmp::PartialEq for IDWriteRemoteFontFileLoader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7835,7 +7835,7 @@ impl IDWriteRemoteFontFileStream { (::windows::core::Vtable::vtable(self).BeginDownload)(::windows::core::Vtable::as_raw(self), downloadoperationid, ::core::mem::transmute(filefragments.as_ptr()), filefragments.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteRemoteFontFileStream, ::windows::core::IUnknown, IDWriteFontFileStream); +::windows::imp::interface_hierarchy!(IDWriteRemoteFontFileStream, ::windows::core::IUnknown, IDWriteFontFileStream); impl ::core::cmp::PartialEq for IDWriteRemoteFontFileStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7892,7 +7892,7 @@ impl IDWriteRenderingParams { (::windows::core::Vtable::vtable(self).GetRenderingMode)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteRenderingParams, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteRenderingParams, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteRenderingParams { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7950,7 +7950,7 @@ impl IDWriteRenderingParams1 { (::windows::core::Vtable::vtable(self).GetGrayscaleEnhancedContrast)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteRenderingParams1, ::windows::core::IUnknown, IDWriteRenderingParams); +::windows::imp::interface_hierarchy!(IDWriteRenderingParams1, ::windows::core::IUnknown, IDWriteRenderingParams); impl ::core::cmp::PartialEq for IDWriteRenderingParams1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8007,7 +8007,7 @@ impl IDWriteRenderingParams2 { (::windows::core::Vtable::vtable(self).GetGridFitMode)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteRenderingParams2, ::windows::core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1); +::windows::imp::interface_hierarchy!(IDWriteRenderingParams2, ::windows::core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1); impl ::core::cmp::PartialEq for IDWriteRenderingParams2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8067,7 +8067,7 @@ impl IDWriteRenderingParams3 { (::windows::core::Vtable::vtable(self).GetRenderingMode1)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDWriteRenderingParams3, ::windows::core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1, IDWriteRenderingParams2); +::windows::imp::interface_hierarchy!(IDWriteRenderingParams3, ::windows::core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1, IDWriteRenderingParams2); impl ::core::cmp::PartialEq for IDWriteRenderingParams3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8120,7 +8120,7 @@ impl IDWriteStringList { (::windows::core::Vtable::vtable(self).GetString)(::windows::core::Vtable::as_raw(self), listindex, ::core::mem::transmute(stringbuffer.as_ptr()), stringbuffer.len() as _).ok() } } -::windows::core::interface_hierarchy!(IDWriteStringList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteStringList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteStringList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8175,7 +8175,7 @@ impl IDWriteTextAnalysisSink { (::windows::core::Vtable::vtable(self).SetNumberSubstitution)(::windows::core::Vtable::as_raw(self), textposition, textlength, numbersubstitution.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextAnalysisSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteTextAnalysisSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteTextAnalysisSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8238,7 +8238,7 @@ impl IDWriteTextAnalysisSink1 { (::windows::core::Vtable::vtable(self).SetGlyphOrientation)(::windows::core::Vtable::as_raw(self), textposition, textlength, glyphorientationangle, adjustedbidilevel, issideways.into(), isrighttoleft.into()).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextAnalysisSink1, ::windows::core::IUnknown, IDWriteTextAnalysisSink); +::windows::imp::interface_hierarchy!(IDWriteTextAnalysisSink1, ::windows::core::IUnknown, IDWriteTextAnalysisSink); impl ::core::cmp::PartialEq for IDWriteTextAnalysisSink1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8292,7 +8292,7 @@ impl IDWriteTextAnalysisSource { (::windows::core::Vtable::vtable(self).GetNumberSubstitution)(::windows::core::Vtable::as_raw(self), textposition, textlength, ::core::mem::transmute(numbersubstitution)).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextAnalysisSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteTextAnalysisSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteTextAnalysisSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8350,7 +8350,7 @@ impl IDWriteTextAnalysisSource1 { (::windows::core::Vtable::vtable(self).GetVerticalGlyphOrientation)(::windows::core::Vtable::as_raw(self), textposition, textlength, glyphorientation, bidilevel).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextAnalysisSource1, ::windows::core::IUnknown, IDWriteTextAnalysisSource); +::windows::imp::interface_hierarchy!(IDWriteTextAnalysisSource1, ::windows::core::IUnknown, IDWriteTextAnalysisSource); impl ::core::cmp::PartialEq for IDWriteTextAnalysisSource1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8476,7 +8476,7 @@ impl IDWriteTextAnalyzer { .ok() } } -::windows::core::interface_hierarchy!(IDWriteTextAnalyzer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteTextAnalyzer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteTextAnalyzer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8697,7 +8697,7 @@ impl IDWriteTextAnalyzer1 { (::windows::core::Vtable::vtable(self).GetJustifiedGlyphs)(::windows::core::Vtable::as_raw(self), fontface.into().abi(), fontemsize, ::core::mem::transmute(scriptanalysis), textlength, glyphcount, maxglyphcount, ::core::mem::transmute(clustermap.unwrap_or(::std::ptr::null())), glyphindices, glyphadvances, justifiedglyphadvances, justifiedglyphoffsets, glyphproperties, actualglyphcount, ::core::mem::transmute(modifiedclustermap.unwrap_or(::std::ptr::null_mut())), modifiedglyphindices, modifiedglyphadvances, modifiedglyphoffsets).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextAnalyzer1, ::windows::core::IUnknown, IDWriteTextAnalyzer); +::windows::imp::interface_hierarchy!(IDWriteTextAnalyzer1, ::windows::core::IUnknown, IDWriteTextAnalyzer); impl ::core::cmp::PartialEq for IDWriteTextAnalyzer1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8919,7 +8919,7 @@ impl IDWriteTextAnalyzer2 { (::windows::core::Vtable::vtable(self).CheckTypographicFeature)(::windows::core::Vtable::as_raw(self), fontface.into().abi(), ::core::mem::transmute(scriptanalysis), localename.into().abi(), featuretag, glyphcount, glyphindices, featureapplies).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextAnalyzer2, ::windows::core::IUnknown, IDWriteTextAnalyzer, IDWriteTextAnalyzer1); +::windows::imp::interface_hierarchy!(IDWriteTextAnalyzer2, ::windows::core::IUnknown, IDWriteTextAnalyzer, IDWriteTextAnalyzer1); impl ::core::cmp::PartialEq for IDWriteTextAnalyzer2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9039,7 +9039,7 @@ impl IDWriteTextFormat { (::windows::core::Vtable::vtable(self).GetLocaleName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(localename.as_ptr()), localename.len() as _).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextFormat, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteTextFormat, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteTextFormat { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9213,7 +9213,7 @@ impl IDWriteTextFormat1 { (::windows::core::Vtable::vtable(self).GetFontFallback)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteTextFormat1, ::windows::core::IUnknown, IDWriteTextFormat); +::windows::imp::interface_hierarchy!(IDWriteTextFormat1, ::windows::core::IUnknown, IDWriteTextFormat); impl ::core::cmp::PartialEq for IDWriteTextFormat1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9382,7 +9382,7 @@ impl IDWriteTextFormat2 { (::windows::core::Vtable::vtable(self).GetLineSpacing2)(::windows::core::Vtable::as_raw(self), linespacingoptions).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextFormat2, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1); +::windows::imp::interface_hierarchy!(IDWriteTextFormat2, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1); impl ::core::cmp::PartialEq for IDWriteTextFormat2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9554,7 +9554,7 @@ impl IDWriteTextFormat3 { (::windows::core::Vtable::vtable(self).SetAutomaticFontAxes)(::windows::core::Vtable::as_raw(self), automaticfontaxes).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextFormat3, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1, IDWriteTextFormat2); +::windows::imp::interface_hierarchy!(IDWriteTextFormat3, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1, IDWriteTextFormat2); impl ::core::cmp::PartialEq for IDWriteTextFormat3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9838,7 +9838,7 @@ impl IDWriteTextLayout { (::windows::core::Vtable::vtable(self).HitTestTextRange)(::windows::core::Vtable::as_raw(self), textposition, textlength, originx, originy, ::core::mem::transmute(hittestmetrics.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), hittestmetrics.as_deref().map_or(0, |slice| slice.len() as _), actualhittestmetricscount).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextLayout, ::windows::core::IUnknown, IDWriteTextFormat); +::windows::imp::interface_hierarchy!(IDWriteTextLayout, ::windows::core::IUnknown, IDWriteTextFormat); impl ::core::cmp::PartialEq for IDWriteTextLayout { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10199,7 +10199,7 @@ impl IDWriteTextLayout1 { (::windows::core::Vtable::vtable(self).GetCharacterSpacing)(::windows::core::Vtable::as_raw(self), currentposition, leadingspacing, trailingspacing, minimumadvancewidth, ::core::mem::transmute(textrange.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextLayout1, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextLayout); +::windows::imp::interface_hierarchy!(IDWriteTextLayout1, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextLayout); impl ::core::cmp::PartialEq for IDWriteTextLayout1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10545,7 +10545,7 @@ impl IDWriteTextLayout2 { (::windows::core::Vtable::vtable(self).GetFontFallback)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteTextLayout2, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1); +::windows::imp::interface_hierarchy!(IDWriteTextLayout2, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1); impl ::core::cmp::PartialEq for IDWriteTextLayout2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10910,7 +10910,7 @@ impl IDWriteTextLayout3 { (::windows::core::Vtable::vtable(self).GetLineMetrics2)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(linemetrics.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), linemetrics.as_deref().map_or(0, |slice| slice.len() as _), actuallinecount).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextLayout3, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2); +::windows::imp::interface_hierarchy!(IDWriteTextLayout3, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2); impl ::core::cmp::PartialEq for IDWriteTextLayout3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11282,7 +11282,7 @@ impl IDWriteTextLayout4 { (::windows::core::Vtable::vtable(self).SetAutomaticFontAxes)(::windows::core::Vtable::as_raw(self), automaticfontaxes).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextLayout4, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2, IDWriteTextLayout3); +::windows::imp::interface_hierarchy!(IDWriteTextLayout4, ::windows::core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2, IDWriteTextLayout3); impl ::core::cmp::PartialEq for IDWriteTextLayout4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11366,7 +11366,7 @@ impl IDWriteTextRenderer { (::windows::core::Vtable::vtable(self).DrawInlineObject)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(clientdrawingcontext.unwrap_or(::std::ptr::null())), originx, originy, inlineobject.into().abi(), issideways.into(), isrighttoleft.into(), clientdrawingeffect.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextRenderer, ::windows::core::IUnknown, IDWritePixelSnapping); +::windows::imp::interface_hierarchy!(IDWriteTextRenderer, ::windows::core::IUnknown, IDWritePixelSnapping); impl ::core::cmp::PartialEq for IDWriteTextRenderer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11486,7 +11486,7 @@ impl IDWriteTextRenderer1 { (::windows::core::Vtable::vtable(self).DrawInlineObject2)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(clientdrawingcontext.unwrap_or(::std::ptr::null())), originx, originy, orientationangle, inlineobject.into().abi(), issideways.into(), isrighttoleft.into(), clientdrawingeffect.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDWriteTextRenderer1, ::windows::core::IUnknown, IDWritePixelSnapping, IDWriteTextRenderer); +::windows::imp::interface_hierarchy!(IDWriteTextRenderer1, ::windows::core::IUnknown, IDWritePixelSnapping, IDWriteTextRenderer); impl ::core::cmp::PartialEq for IDWriteTextRenderer1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11541,7 +11541,7 @@ impl IDWriteTypography { (::windows::core::Vtable::vtable(self).GetFontFeature)(::windows::core::Vtable::as_raw(self), fontfeatureindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDWriteTypography, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDWriteTypography, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDWriteTypography { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs index ed7e3ad8ff..6d5f995fcd 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn DwmAttachMilContent(hwnd: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmAttachMilContent ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmAttachMilContent ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); DwmAttachMilContent(hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmDefWindowProc ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , plresult : *mut super::super::Foundation:: LRESULT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmDefWindowProc ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , plresult : *mut super::super::Foundation:: LRESULT ) -> super::super::Foundation:: BOOL ); DwmDefWindowProc(hwnd.into(), msg, wparam.into(), lparam.into(), plresult) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -27,7 +27,7 @@ pub unsafe fn DwmDetachMilContent(hwnd: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmDetachMilContent ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmDetachMilContent ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); DwmDetachMilContent(hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -37,13 +37,13 @@ pub unsafe fn DwmEnableBlurBehindWindow(hwnd: P0, pblurbehind: *const DWM_BL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmEnableBlurBehindWindow ( hwnd : super::super::Foundation:: HWND , pblurbehind : *const DWM_BLURBEHIND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmEnableBlurBehindWindow ( hwnd : super::super::Foundation:: HWND , pblurbehind : *const DWM_BLURBEHIND ) -> :: windows::core::HRESULT ); DwmEnableBlurBehindWindow(hwnd.into(), pblurbehind).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] #[inline] pub unsafe fn DwmEnableComposition(ucompositionaction: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmEnableComposition ( ucompositionaction : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmEnableComposition ( ucompositionaction : u32 ) -> :: windows::core::HRESULT ); DwmEnableComposition(ucompositionaction).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -53,7 +53,7 @@ pub unsafe fn DwmEnableMMCSS(fenablemmcss: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmEnableMMCSS ( fenablemmcss : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmEnableMMCSS ( fenablemmcss : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DwmEnableMMCSS(fenablemmcss.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -63,20 +63,20 @@ pub unsafe fn DwmExtendFrameIntoClientArea(hwnd: P0, pmarinset: *const super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmExtendFrameIntoClientArea ( hwnd : super::super::Foundation:: HWND , pmarinset : *const super::super::UI::Controls:: MARGINS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmExtendFrameIntoClientArea ( hwnd : super::super::Foundation:: HWND , pmarinset : *const super::super::UI::Controls:: MARGINS ) -> :: windows::core::HRESULT ); DwmExtendFrameIntoClientArea(hwnd.into(), pmarinset).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] #[inline] pub unsafe fn DwmFlush() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmFlush ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmFlush ( ) -> :: windows::core::HRESULT ); DwmFlush().ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DwmGetColorizationColor(pcrcolorization: *mut u32, pfopaqueblend: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmGetColorizationColor ( pcrcolorization : *mut u32 , pfopaqueblend : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmGetColorizationColor ( pcrcolorization : *mut u32 , pfopaqueblend : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DwmGetColorizationColor(pcrcolorization, pfopaqueblend).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -86,27 +86,27 @@ pub unsafe fn DwmGetCompositionTimingInfo(hwnd: P0, ptiminginfo: *mut DWM_TI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmGetCompositionTimingInfo ( hwnd : super::super::Foundation:: HWND , ptiminginfo : *mut DWM_TIMING_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmGetCompositionTimingInfo ( hwnd : super::super::Foundation:: HWND , ptiminginfo : *mut DWM_TIMING_INFO ) -> :: windows::core::HRESULT ); DwmGetCompositionTimingInfo(hwnd.into(), ptiminginfo).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] #[inline] pub unsafe fn DwmGetGraphicsStreamClient(uindex: u32) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmGetGraphicsStreamClient ( uindex : u32 , pclientuuid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmGetGraphicsStreamClient ( uindex : u32 , pclientuuid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); DwmGetGraphicsStreamClient(uindex, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] #[inline] pub unsafe fn DwmGetGraphicsStreamTransformHint(uindex: u32, ptransform: *mut MilMatrix3x2D) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmGetGraphicsStreamTransformHint ( uindex : u32 , ptransform : *mut MilMatrix3x2D ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmGetGraphicsStreamTransformHint ( uindex : u32 , ptransform : *mut MilMatrix3x2D ) -> :: windows::core::HRESULT ); DwmGetGraphicsStreamTransformHint(uindex, ptransform).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DwmGetTransportAttributes(pfisremoting: *mut super::super::Foundation::BOOL, pfisconnected: *mut super::super::Foundation::BOOL, pdwgeneration: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmGetTransportAttributes ( pfisremoting : *mut super::super::Foundation:: BOOL , pfisconnected : *mut super::super::Foundation:: BOOL , pdwgeneration : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmGetTransportAttributes ( pfisremoting : *mut super::super::Foundation:: BOOL , pfisconnected : *mut super::super::Foundation:: BOOL , pdwgeneration : *mut u32 ) -> :: windows::core::HRESULT ); DwmGetTransportAttributes(pfisremoting, pfisconnected, pdwgeneration).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -116,7 +116,7 @@ pub unsafe fn DwmGetUnmetTabRequirements(appwindow: P0) -> ::windows::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmGetUnmetTabRequirements ( appwindow : super::super::Foundation:: HWND , value : *mut DWM_TAB_WINDOW_REQUIREMENTS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmGetUnmetTabRequirements ( appwindow : super::super::Foundation:: HWND , value : *mut DWM_TAB_WINDOW_REQUIREMENTS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DwmGetUnmetTabRequirements(appwindow.into(), &mut result__).from_abi(result__) } @@ -127,7 +127,7 @@ pub unsafe fn DwmGetWindowAttribute(hwnd: P0, dwattribute: DWMWINDOWATTRIBUT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmGetWindowAttribute ( hwnd : super::super::Foundation:: HWND , dwattribute : DWMWINDOWATTRIBUTE , pvattribute : *mut ::core::ffi::c_void , cbattribute : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmGetWindowAttribute ( hwnd : super::super::Foundation:: HWND , dwattribute : DWMWINDOWATTRIBUTE , pvattribute : *mut ::core::ffi::c_void , cbattribute : u32 ) -> :: windows::core::HRESULT ); DwmGetWindowAttribute(hwnd.into(), dwattribute, pvattribute, cbattribute).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -137,14 +137,14 @@ pub unsafe fn DwmInvalidateIconicBitmaps(hwnd: P0) -> ::windows::core::Resul where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmInvalidateIconicBitmaps ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmInvalidateIconicBitmaps ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); DwmInvalidateIconicBitmaps(hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DwmIsCompositionEnabled() -> ::windows::core::Result { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmIsCompositionEnabled ( pfenabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmIsCompositionEnabled ( pfenabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DwmIsCompositionEnabled(&mut result__).from_abi(result__) } @@ -156,14 +156,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmModifyPreviousDxFrameDuration ( hwnd : super::super::Foundation:: HWND , crefreshes : i32 , frelative : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmModifyPreviousDxFrameDuration ( hwnd : super::super::Foundation:: HWND , crefreshes : i32 , frelative : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); DwmModifyPreviousDxFrameDuration(hwnd.into(), crefreshes, frelative.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DwmQueryThumbnailSourceSize(hthumbnail: isize) -> ::windows::core::Result { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmQueryThumbnailSourceSize ( hthumbnail : isize , psize : *mut super::super::Foundation:: SIZE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmQueryThumbnailSourceSize ( hthumbnail : isize , psize : *mut super::super::Foundation:: SIZE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DwmQueryThumbnailSourceSize(hthumbnail, &mut result__).from_abi(result__) } @@ -175,7 +175,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmRegisterThumbnail ( hwnddestination : super::super::Foundation:: HWND , hwndsource : super::super::Foundation:: HWND , phthumbnailid : *mut isize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmRegisterThumbnail ( hwnddestination : super::super::Foundation:: HWND , hwndsource : super::super::Foundation:: HWND , phthumbnailid : *mut isize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DwmRegisterThumbnail(hwnddestination.into(), hwndsource.into(), &mut result__).from_abi(result__) } @@ -183,7 +183,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DwmRenderGesture(gt: GESTURE_TYPE, ccontacts: u32, pdwpointerid: *const u32, ppoints: *const super::super::Foundation::POINT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmRenderGesture ( gt : GESTURE_TYPE , ccontacts : u32 , pdwpointerid : *const u32 , ppoints : *const super::super::Foundation:: POINT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmRenderGesture ( gt : GESTURE_TYPE , ccontacts : u32 , pdwpointerid : *const u32 , ppoints : *const super::super::Foundation:: POINT ) -> :: windows::core::HRESULT ); DwmRenderGesture(gt, ccontacts, pdwpointerid, ppoints).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -193,7 +193,7 @@ pub unsafe fn DwmSetDxFrameDuration(hwnd: P0, crefreshes: i32) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmSetDxFrameDuration ( hwnd : super::super::Foundation:: HWND , crefreshes : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmSetDxFrameDuration ( hwnd : super::super::Foundation:: HWND , crefreshes : i32 ) -> :: windows::core::HRESULT ); DwmSetDxFrameDuration(hwnd.into(), crefreshes).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -204,7 +204,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmSetIconicLivePreviewBitmap ( hwnd : super::super::Foundation:: HWND , hbmp : super::Gdi:: HBITMAP , pptclient : *const super::super::Foundation:: POINT , dwsitflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmSetIconicLivePreviewBitmap ( hwnd : super::super::Foundation:: HWND , hbmp : super::Gdi:: HBITMAP , pptclient : *const super::super::Foundation:: POINT , dwsitflags : u32 ) -> :: windows::core::HRESULT ); DwmSetIconicLivePreviewBitmap(hwnd.into(), hbmp.into(), ::core::mem::transmute(pptclient.unwrap_or(::std::ptr::null())), dwsitflags).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -215,7 +215,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmSetIconicThumbnail ( hwnd : super::super::Foundation:: HWND , hbmp : super::Gdi:: HBITMAP , dwsitflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmSetIconicThumbnail ( hwnd : super::super::Foundation:: HWND , hbmp : super::Gdi:: HBITMAP , dwsitflags : u32 ) -> :: windows::core::HRESULT ); DwmSetIconicThumbnail(hwnd.into(), hbmp.into(), dwsitflags).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -225,7 +225,7 @@ pub unsafe fn DwmSetPresentParameters(hwnd: P0, ppresentparams: *mut DWM_PRE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmSetPresentParameters ( hwnd : super::super::Foundation:: HWND , ppresentparams : *mut DWM_PRESENT_PARAMETERS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmSetPresentParameters ( hwnd : super::super::Foundation:: HWND , ppresentparams : *mut DWM_PRESENT_PARAMETERS ) -> :: windows::core::HRESULT ); DwmSetPresentParameters(hwnd.into(), ppresentparams).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -235,13 +235,13 @@ pub unsafe fn DwmSetWindowAttribute(hwnd: P0, dwattribute: DWMWINDOWATTRIBUT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmSetWindowAttribute ( hwnd : super::super::Foundation:: HWND , dwattribute : DWMWINDOWATTRIBUTE , pvattribute : *const ::core::ffi::c_void , cbattribute : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmSetWindowAttribute ( hwnd : super::super::Foundation:: HWND , dwattribute : DWMWINDOWATTRIBUTE , pvattribute : *const ::core::ffi::c_void , cbattribute : u32 ) -> :: windows::core::HRESULT ); DwmSetWindowAttribute(hwnd.into(), dwattribute, pvattribute, cbattribute).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] #[inline] pub unsafe fn DwmShowContact(dwpointerid: u32, eshowcontact: DWM_SHOWCONTACT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmShowContact ( dwpointerid : u32 , eshowcontact : DWM_SHOWCONTACT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmShowContact ( dwpointerid : u32 , eshowcontact : DWM_SHOWCONTACT ) -> :: windows::core::HRESULT ); DwmShowContact(dwpointerid, eshowcontact).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -251,7 +251,7 @@ pub unsafe fn DwmTetherContact(dwpointerid: u32, fenable: P0, pttether: supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmTetherContact ( dwpointerid : u32 , fenable : super::super::Foundation:: BOOL , pttether : super::super::Foundation:: POINT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmTetherContact ( dwpointerid : u32 , fenable : super::super::Foundation:: BOOL , pttether : super::super::Foundation:: POINT ) -> :: windows::core::HRESULT ); DwmTetherContact(dwpointerid, fenable.into(), ::core::mem::transmute(pttether)).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] @@ -261,20 +261,20 @@ pub unsafe fn DwmTransitionOwnedWindow(hwnd: P0, target: DWMTRANSITION_OWNED where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmTransitionOwnedWindow ( hwnd : super::super::Foundation:: HWND , target : DWMTRANSITION_OWNEDWINDOW_TARGET ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmTransitionOwnedWindow ( hwnd : super::super::Foundation:: HWND , target : DWMTRANSITION_OWNEDWINDOW_TARGET ) -> :: windows::core::HRESULT ); DwmTransitionOwnedWindow(hwnd.into(), target).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] #[inline] pub unsafe fn DwmUnregisterThumbnail(hthumbnailid: isize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmUnregisterThumbnail ( hthumbnailid : isize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmUnregisterThumbnail ( hthumbnailid : isize ) -> :: windows::core::HRESULT ); DwmUnregisterThumbnail(hthumbnailid).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DwmUpdateThumbnailProperties(hthumbnailid: isize, ptnproperties: *const DWM_THUMBNAIL_PROPERTIES) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dwmapi.dll""system" fn DwmUpdateThumbnailProperties ( hthumbnailid : isize , ptnproperties : *const DWM_THUMBNAIL_PROPERTIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dwmapi.dll""system" fn DwmUpdateThumbnailProperties ( hthumbnailid : isize , ptnproperties : *const DWM_THUMBNAIL_PROPERTIES ) -> :: windows::core::HRESULT ); DwmUpdateThumbnailProperties(hthumbnailid, ptnproperties).ok() } #[doc = "*Required features: `\"Win32_Graphics_Dwm\"`*"] 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 73111a770b..56a3c01bdc 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -6,7 +6,7 @@ pub unsafe fn CreateDXGIFactory() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "dxgi.dll""system" fn CreateDXGIFactory ( riid : *const :: windows::core::GUID , ppfactory : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -16,7 +16,7 @@ pub unsafe fn CreateDXGIFactory1() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "dxgi.dll""system" fn CreateDXGIFactory1 ( riid : *const :: windows::core::GUID , ppfactory : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -26,14 +26,14 @@ pub unsafe fn CreateDXGIFactory2(flags: u32) -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "dxgi.dll""system" fn CreateDXGIFactory2 ( flags : u32 , riid : *const :: windows::core::GUID , ppfactory : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[inline] pub unsafe fn DXGIDeclareAdapterRemovalSupport() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dxgi.dll""system" fn DXGIDeclareAdapterRemovalSupport ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxgi.dll""system" fn DXGIDeclareAdapterRemovalSupport ( ) -> :: windows::core::HRESULT ); DXGIDeclareAdapterRemovalSupport().ok() } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -42,7 +42,7 @@ pub unsafe fn DXGIGetDebugInterface1(flags: u32) -> ::windows::core::Result :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -83,7 +83,7 @@ impl IDXGIAdapter { (::windows::core::Vtable::vtable(self).CheckInterfaceSupport)(::windows::core::Vtable::as_raw(self), interfacename, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIAdapter, ::windows::core::IUnknown, IDXGIObject); +::windows::imp::interface_hierarchy!(IDXGIAdapter, ::windows::core::IUnknown, IDXGIObject); impl ::core::cmp::PartialEq for IDXGIAdapter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -159,7 +159,7 @@ impl IDXGIAdapter1 { (::windows::core::Vtable::vtable(self).GetDesc1)(::windows::core::Vtable::as_raw(self), pdesc).ok() } } -::windows::core::interface_hierarchy!(IDXGIAdapter1, ::windows::core::IUnknown, IDXGIObject, IDXGIAdapter); +::windows::imp::interface_hierarchy!(IDXGIAdapter1, ::windows::core::IUnknown, IDXGIObject, IDXGIAdapter); impl ::core::cmp::PartialEq for IDXGIAdapter1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -238,7 +238,7 @@ impl IDXGIAdapter2 { (::windows::core::Vtable::vtable(self).GetDesc2)(::windows::core::Vtable::as_raw(self), pdesc).ok() } } -::windows::core::interface_hierarchy!(IDXGIAdapter2, ::windows::core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1); +::windows::imp::interface_hierarchy!(IDXGIAdapter2, ::windows::core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1); impl ::core::cmp::PartialEq for IDXGIAdapter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -347,7 +347,7 @@ impl IDXGIAdapter3 { (::windows::core::Vtable::vtable(self).UnregisterVideoMemoryBudgetChangeNotification)(::windows::core::Vtable::as_raw(self), dwcookie) } } -::windows::core::interface_hierarchy!(IDXGIAdapter3, ::windows::core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2); +::windows::imp::interface_hierarchy!(IDXGIAdapter3, ::windows::core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2); impl ::core::cmp::PartialEq for IDXGIAdapter3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -469,7 +469,7 @@ impl IDXGIAdapter4 { (::windows::core::Vtable::vtable(self).GetDesc3)(::windows::core::Vtable::as_raw(self), pdesc).ok() } } -::windows::core::interface_hierarchy!(IDXGIAdapter4, ::windows::core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2, IDXGIAdapter3); +::windows::imp::interface_hierarchy!(IDXGIAdapter4, ::windows::core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2, IDXGIAdapter3); impl ::core::cmp::PartialEq for IDXGIAdapter4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -509,7 +509,7 @@ impl IDXGIDebug { (::windows::core::Vtable::vtable(self).ReportLiveObjects)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(apiid), flags).ok() } } -::windows::core::interface_hierarchy!(IDXGIDebug, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXGIDebug, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXGIDebug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -557,7 +557,7 @@ impl IDXGIDebug1 { (::windows::core::Vtable::vtable(self).IsLeakTrackingEnabledForThread)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDXGIDebug1, ::windows::core::IUnknown, IDXGIDebug); +::windows::imp::interface_hierarchy!(IDXGIDebug1, ::windows::core::IUnknown, IDXGIDebug); impl ::core::cmp::PartialEq for IDXGIDebug1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -633,7 +633,7 @@ impl IDXGIDecodeSwapChain { (::windows::core::Vtable::vtable(self).GetColorSpace)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDXGIDecodeSwapChain, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXGIDecodeSwapChain, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXGIDecodeSwapChain { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -725,7 +725,7 @@ impl IDXGIDevice { (::windows::core::Vtable::vtable(self).GetGPUThreadPriority)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIDevice, ::windows::core::IUnknown, IDXGIObject); +::windows::imp::interface_hierarchy!(IDXGIDevice, ::windows::core::IUnknown, IDXGIObject); impl ::core::cmp::PartialEq for IDXGIDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -811,7 +811,7 @@ impl IDXGIDevice1 { (::windows::core::Vtable::vtable(self).GetMaximumFrameLatency)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIDevice1, ::windows::core::IUnknown, IDXGIObject, IDXGIDevice); +::windows::imp::interface_hierarchy!(IDXGIDevice1, ::windows::core::IUnknown, IDXGIObject, IDXGIDevice); impl ::core::cmp::PartialEq for IDXGIDevice1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -907,7 +907,7 @@ impl IDXGIDevice2 { (::windows::core::Vtable::vtable(self).EnqueueSetEvent)(::windows::core::Vtable::as_raw(self), hevent.into()).ok() } } -::windows::core::interface_hierarchy!(IDXGIDevice2, ::windows::core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1); +::windows::imp::interface_hierarchy!(IDXGIDevice2, ::windows::core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1); impl ::core::cmp::PartialEq for IDXGIDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1013,7 +1013,7 @@ impl IDXGIDevice3 { (::windows::core::Vtable::vtable(self).Trim)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDXGIDevice3, ::windows::core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2); +::windows::imp::interface_hierarchy!(IDXGIDevice3, ::windows::core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2); impl ::core::cmp::PartialEq for IDXGIDevice3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1117,7 +1117,7 @@ impl IDXGIDevice4 { (::windows::core::Vtable::vtable(self).ReclaimResources1)(::windows::core::Vtable::as_raw(self), numresources, ::core::mem::transmute(ppresources), presults).ok() } } -::windows::core::interface_hierarchy!(IDXGIDevice4, ::windows::core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2, IDXGIDevice3); +::windows::imp::interface_hierarchy!(IDXGIDevice4, ::windows::core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2, IDXGIDevice3); impl ::core::cmp::PartialEq for IDXGIDevice4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1178,7 +1178,7 @@ impl IDXGIDeviceSubObject { (::windows::core::Vtable::vtable(self).GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIDeviceSubObject, ::windows::core::IUnknown, IDXGIObject); +::windows::imp::interface_hierarchy!(IDXGIDeviceSubObject, ::windows::core::IUnknown, IDXGIObject); impl ::core::cmp::PartialEq for IDXGIDeviceSubObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1225,7 +1225,7 @@ impl IDXGIDisplayControl { (::windows::core::Vtable::vtable(self).SetStereoEnabled)(::windows::core::Vtable::as_raw(self), enabled.into()) } } -::windows::core::interface_hierarchy!(IDXGIDisplayControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXGIDisplayControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXGIDisplayControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1320,7 +1320,7 @@ impl IDXGIFactory { (::windows::core::Vtable::vtable(self).CreateSoftwareAdapter)(::windows::core::Vtable::as_raw(self), module.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIFactory, ::windows::core::IUnknown, IDXGIObject); +::windows::imp::interface_hierarchy!(IDXGIFactory, ::windows::core::IUnknown, IDXGIObject); impl ::core::cmp::PartialEq for IDXGIFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1433,7 +1433,7 @@ impl IDXGIFactory1 { (::windows::core::Vtable::vtable(self).IsCurrent)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDXGIFactory1, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory); +::windows::imp::interface_hierarchy!(IDXGIFactory1, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory); impl ::core::cmp::PartialEq for IDXGIFactory1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1622,7 +1622,7 @@ impl IDXGIFactory2 { (::windows::core::Vtable::vtable(self).CreateSwapChainForComposition)(::windows::core::Vtable::as_raw(self), pdevice.into().abi(), pdesc, prestricttooutput.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIFactory2, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1); +::windows::imp::interface_hierarchy!(IDXGIFactory2, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1); impl ::core::cmp::PartialEq for IDXGIFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1847,7 +1847,7 @@ impl IDXGIFactory3 { (::windows::core::Vtable::vtable(self).GetCreationFlags)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDXGIFactory3, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2); +::windows::imp::interface_hierarchy!(IDXGIFactory3, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2); impl ::core::cmp::PartialEq for IDXGIFactory3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2051,7 +2051,7 @@ impl IDXGIFactory4 { (::windows::core::Vtable::vtable(self).EnumWarpAdapter)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIFactory4, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3); +::windows::imp::interface_hierarchy!(IDXGIFactory4, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3); impl ::core::cmp::PartialEq for IDXGIFactory4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2262,7 +2262,7 @@ impl IDXGIFactory5 { (::windows::core::Vtable::vtable(self).CheckFeatureSupport)(::windows::core::Vtable::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() } } -::windows::core::interface_hierarchy!(IDXGIFactory5, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4); +::windows::imp::interface_hierarchy!(IDXGIFactory5, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4); impl ::core::cmp::PartialEq for IDXGIFactory5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2476,7 +2476,7 @@ impl IDXGIFactory6 { (::windows::core::Vtable::vtable(self).EnumAdapterByGpuPreference)(::windows::core::Vtable::as_raw(self), adapter, gpupreference, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIFactory6, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5); +::windows::imp::interface_hierarchy!(IDXGIFactory6, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5); impl ::core::cmp::PartialEq for IDXGIFactory6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2702,7 +2702,7 @@ impl IDXGIFactory7 { (::windows::core::Vtable::vtable(self).UnregisterAdaptersChangedEvent)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(IDXGIFactory7, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5, IDXGIFactory6); +::windows::imp::interface_hierarchy!(IDXGIFactory7, ::windows::core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5, IDXGIFactory6); impl ::core::cmp::PartialEq for IDXGIFactory7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2763,7 +2763,7 @@ impl IDXGIFactoryMedia { (::windows::core::Vtable::vtable(self).CreateDecodeSwapChainForCompositionSurfaceHandle)(::windows::core::Vtable::as_raw(self), pdevice.into().abi(), hsurface.into(), pdesc, pyuvdecodebuffers.into().abi(), prestricttooutput.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIFactoryMedia, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXGIFactoryMedia, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXGIFactoryMedia { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2949,7 +2949,7 @@ impl IDXGIInfoQueue { (::windows::core::Vtable::vtable(self).GetMuteDebugOutput)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(producer)) } } -::windows::core::interface_hierarchy!(IDXGIInfoQueue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXGIInfoQueue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXGIInfoQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3075,7 +3075,7 @@ impl IDXGIKeyedMutex { (::windows::core::Vtable::vtable(self).ReleaseSync)(::windows::core::Vtable::as_raw(self), key).ok() } } -::windows::core::interface_hierarchy!(IDXGIKeyedMutex, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); +::windows::imp::interface_hierarchy!(IDXGIKeyedMutex, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl ::core::cmp::PartialEq for IDXGIKeyedMutex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3129,7 +3129,7 @@ impl IDXGIObject { (::windows::core::Vtable::vtable(self).GetParent)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXGIObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXGIObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3248,7 +3248,7 @@ impl IDXGIOutput { (::windows::core::Vtable::vtable(self).GetFrameStatistics)(::windows::core::Vtable::as_raw(self), pstats).ok() } } -::windows::core::interface_hierarchy!(IDXGIOutput, ::windows::core::IUnknown, IDXGIObject); +::windows::imp::interface_hierarchy!(IDXGIOutput, ::windows::core::IUnknown, IDXGIObject); impl ::core::cmp::PartialEq for IDXGIOutput { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3422,7 +3422,7 @@ impl IDXGIOutput1 { (::windows::core::Vtable::vtable(self).DuplicateOutput)(::windows::core::Vtable::as_raw(self), pdevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIOutput1, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput); +::windows::imp::interface_hierarchy!(IDXGIOutput1, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput); impl ::core::cmp::PartialEq for IDXGIOutput1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3578,7 +3578,7 @@ impl IDXGIOutput2 { (::windows::core::Vtable::vtable(self).SupportsOverlays)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDXGIOutput2, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1); +::windows::imp::interface_hierarchy!(IDXGIOutput2, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1); impl ::core::cmp::PartialEq for IDXGIOutput2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3737,7 +3737,7 @@ impl IDXGIOutput3 { (::windows::core::Vtable::vtable(self).CheckOverlaySupport)(::windows::core::Vtable::as_raw(self), enumformat, pconcerneddevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIOutput3, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2); +::windows::imp::interface_hierarchy!(IDXGIOutput3, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2); impl ::core::cmp::PartialEq for IDXGIOutput3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3905,7 +3905,7 @@ impl IDXGIOutput4 { (::windows::core::Vtable::vtable(self).CheckOverlayColorSpaceSupport)(::windows::core::Vtable::as_raw(self), format, colorspace, pconcerneddevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIOutput4, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3); +::windows::imp::interface_hierarchy!(IDXGIOutput4, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3); impl ::core::cmp::PartialEq for IDXGIOutput4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4082,7 +4082,7 @@ impl IDXGIOutput5 { (::windows::core::Vtable::vtable(self).DuplicateOutput1)(::windows::core::Vtable::as_raw(self), pdevice.into().abi(), flags, psupportedformats.len() as _, ::core::mem::transmute(psupportedformats.as_ptr()), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIOutput5, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4); +::windows::imp::interface_hierarchy!(IDXGIOutput5, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4); impl ::core::cmp::PartialEq for IDXGIOutput5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4268,7 +4268,7 @@ impl IDXGIOutput6 { (::windows::core::Vtable::vtable(self).CheckHardwareCompositionSupport)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIOutput6, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4, IDXGIOutput5); +::windows::imp::interface_hierarchy!(IDXGIOutput6, ::windows::core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4, IDXGIOutput5); impl ::core::cmp::PartialEq for IDXGIOutput6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4360,7 +4360,7 @@ impl IDXGIOutputDuplication { (::windows::core::Vtable::vtable(self).ReleaseFrame)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDXGIOutputDuplication, ::windows::core::IUnknown, IDXGIObject); +::windows::imp::interface_hierarchy!(IDXGIOutputDuplication, ::windows::core::IUnknown, IDXGIObject); impl ::core::cmp::PartialEq for IDXGIOutputDuplication { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4459,7 +4459,7 @@ impl IDXGIResource { (::windows::core::Vtable::vtable(self).GetEvictionPriority)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIResource, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); +::windows::imp::interface_hierarchy!(IDXGIResource, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl ::core::cmp::PartialEq for IDXGIResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4555,7 +4555,7 @@ impl IDXGIResource1 { (::windows::core::Vtable::vtable(self).CreateSharedHandle)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pattributes.unwrap_or(::std::ptr::null())), dwaccess, lpname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGIResource1, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGIResource); +::windows::imp::interface_hierarchy!(IDXGIResource1, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGIResource); impl ::core::cmp::PartialEq for IDXGIResource1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4630,7 +4630,7 @@ impl IDXGISurface { (::windows::core::Vtable::vtable(self).Unmap)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDXGISurface, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); +::windows::imp::interface_hierarchy!(IDXGISurface, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl ::core::cmp::PartialEq for IDXGISurface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4720,7 +4720,7 @@ impl IDXGISurface1 { (::windows::core::Vtable::vtable(self).ReleaseDC)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdirtyrect.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IDXGISurface1, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface); +::windows::imp::interface_hierarchy!(IDXGISurface1, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface); impl ::core::cmp::PartialEq for IDXGISurface1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4819,7 +4819,7 @@ impl IDXGISurface2 { (::windows::core::Vtable::vtable(self).GetResource)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__, psubresourceindex).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGISurface2, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface, IDXGISurface1); +::windows::imp::interface_hierarchy!(IDXGISurface2, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface, IDXGISurface1); impl ::core::cmp::PartialEq for IDXGISurface2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4929,7 +4929,7 @@ impl IDXGISwapChain { (::windows::core::Vtable::vtable(self).GetLastPresentCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGISwapChain, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); +::windows::imp::interface_hierarchy!(IDXGISwapChain, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl ::core::cmp::PartialEq for IDXGISwapChain { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5118,7 +5118,7 @@ impl IDXGISwapChain1 { (::windows::core::Vtable::vtable(self).GetRotation)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXGISwapChain1, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain); +::windows::imp::interface_hierarchy!(IDXGISwapChain1, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain); impl ::core::cmp::PartialEq for IDXGISwapChain1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5338,7 +5338,7 @@ impl IDXGISwapChain2 { (::windows::core::Vtable::vtable(self).GetMatrixTransform)(::windows::core::Vtable::as_raw(self), pmatrix).ok() } } -::windows::core::interface_hierarchy!(IDXGISwapChain2, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1); +::windows::imp::interface_hierarchy!(IDXGISwapChain2, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1); impl ::core::cmp::PartialEq for IDXGISwapChain2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5555,7 +5555,7 @@ impl IDXGISwapChain3 { (::windows::core::Vtable::vtable(self).ResizeBuffers1)(::windows::core::Vtable::as_raw(self), buffercount, width, height, format, swapchainflags, pcreationnodemask, ::core::mem::transmute(pppresentqueue)).ok() } } -::windows::core::interface_hierarchy!(IDXGISwapChain3, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2); +::windows::imp::interface_hierarchy!(IDXGISwapChain3, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2); impl ::core::cmp::PartialEq for IDXGISwapChain3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5778,7 +5778,7 @@ impl IDXGISwapChain4 { (::windows::core::Vtable::vtable(self).SetHDRMetaData)(::windows::core::Vtable::as_raw(self), r#type, pmetadata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pmetadata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } } -::windows::core::interface_hierarchy!(IDXGISwapChain4, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2, IDXGISwapChain3); +::windows::imp::interface_hierarchy!(IDXGISwapChain4, ::windows::core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2, IDXGISwapChain3); impl ::core::cmp::PartialEq for IDXGISwapChain4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5821,7 +5821,7 @@ impl IDXGISwapChainMedia { (::windows::core::Vtable::vtable(self).CheckPresentDurationSupport)(::windows::core::Vtable::as_raw(self), desiredpresentduration, pclosestsmallerpresentduration, pclosestlargerpresentduration).ok() } } -::windows::core::interface_hierarchy!(IDXGISwapChainMedia, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXGISwapChainMedia, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXGISwapChainMedia { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5863,7 +5863,7 @@ impl IDXGraphicsAnalysis { (::windows::core::Vtable::vtable(self).EndCapture)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDXGraphicsAnalysis, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXGraphicsAnalysis, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXGraphicsAnalysis { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs index da81fc074a..3e67c0258e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs @@ -5,14 +5,14 @@ pub unsafe fn AbortPath(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn AbortPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AbortPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); AbortPath(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AddFontMemResourceEx(pfileview: *const ::core::ffi::c_void, cjsize: u32, pvresrved: ::core::option::Option<*const ::core::ffi::c_void>, pnumfonts: *const u32) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "gdi32.dll""system" fn AddFontMemResourceEx ( pfileview : *const ::core::ffi::c_void , cjsize : u32 , pvresrved : *const ::core::ffi::c_void , pnumfonts : *const u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AddFontMemResourceEx ( pfileview : *const ::core::ffi::c_void , cjsize : u32 , pvresrved : *const ::core::ffi::c_void , pnumfonts : *const u32 ) -> super::super::Foundation:: HANDLE ); AddFontMemResourceEx(pfileview, cjsize, ::core::mem::transmute(pvresrved.unwrap_or(::std::ptr::null())), pnumfonts) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -21,7 +21,7 @@ pub unsafe fn AddFontResourceA(param0: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn AddFontResourceA ( param0 : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AddFontResourceA ( param0 : :: windows::core::PCSTR ) -> i32 ); AddFontResourceA(param0.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -30,7 +30,7 @@ pub unsafe fn AddFontResourceExA(name: P0, fl: FONT_RESOURCE_CHARACTERISTICS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn AddFontResourceExA ( name : :: windows::core::PCSTR , fl : FONT_RESOURCE_CHARACTERISTICS , res : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AddFontResourceExA ( name : :: windows::core::PCSTR , fl : FONT_RESOURCE_CHARACTERISTICS , res : *const ::core::ffi::c_void ) -> i32 ); AddFontResourceExA(name.into().abi(), fl, ::core::mem::transmute(res.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -39,7 +39,7 @@ pub unsafe fn AddFontResourceExW(name: P0, fl: FONT_RESOURCE_CHARACTERISTICS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn AddFontResourceExW ( name : :: windows::core::PCWSTR , fl : FONT_RESOURCE_CHARACTERISTICS , res : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AddFontResourceExW ( name : :: windows::core::PCWSTR , fl : FONT_RESOURCE_CHARACTERISTICS , res : *const ::core::ffi::c_void ) -> i32 ); AddFontResourceExW(name.into().abi(), fl, ::core::mem::transmute(res.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -48,7 +48,7 @@ pub unsafe fn AddFontResourceW(param0: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn AddFontResourceW ( param0 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AddFontResourceW ( param0 : :: windows::core::PCWSTR ) -> i32 ); AddFontResourceW(param0.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -59,7 +59,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msimg32.dll""system" fn AlphaBlend ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : BLENDFUNCTION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msimg32.dll""system" fn AlphaBlend ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : BLENDFUNCTION ) -> super::super::Foundation:: BOOL ); AlphaBlend(hdcdest.into(), xorigindest, yorigindest, wdest, hdest, hdcsrc.into(), xoriginsrc, yoriginsrc, wsrc, hsrc, ::core::mem::transmute(ftn)) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -69,7 +69,7 @@ pub unsafe fn AngleArc(hdc: P0, x: i32, y: i32, r: u32, startangle: f32, swe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn AngleArc ( hdc : HDC , x : i32 , y : i32 , r : u32 , startangle : f32 , sweepangle : f32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AngleArc ( hdc : HDC , x : i32 , y : i32 , r : u32 , startangle : f32 , sweepangle : f32 ) -> super::super::Foundation:: BOOL ); AngleArc(hdc.into(), x, y, r, startangle, sweepangle) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -79,7 +79,7 @@ pub unsafe fn AnimatePalette(hpal: P0, istartindex: u32, ppe: &[PALETTEENTRY where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn AnimatePalette ( hpal : HPALETTE , istartindex : u32 , centries : u32 , ppe : *const PALETTEENTRY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AnimatePalette ( hpal : HPALETTE , istartindex : u32 , centries : u32 , ppe : *const PALETTEENTRY ) -> super::super::Foundation:: BOOL ); AnimatePalette(hpal.into(), istartindex, ppe.len() as _, ::core::mem::transmute(ppe.as_ptr())) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -89,7 +89,7 @@ pub unsafe fn Arc(hdc: P0, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn Arc ( hdc : HDC , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn Arc ( hdc : HDC , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 ) -> super::super::Foundation:: BOOL ); Arc(hdc.into(), x1, y1, x2, y2, x3, y3, x4, y4) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -99,7 +99,7 @@ pub unsafe fn ArcTo(hdc: P0, left: i32, top: i32, right: i32, bottom: i32, x where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ArcTo ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ArcTo ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 ) -> super::super::Foundation:: BOOL ); ArcTo(hdc.into(), left, top, right, bottom, xr1, yr1, xr2, yr2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -109,7 +109,7 @@ pub unsafe fn BeginPaint(hwnd: P0, lppaint: *mut PAINTSTRUCT) -> HDC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn BeginPaint ( hwnd : super::super::Foundation:: HWND , lppaint : *mut PAINTSTRUCT ) -> HDC ); + ::windows::imp::link ! ( "user32.dll""system" fn BeginPaint ( hwnd : super::super::Foundation:: HWND , lppaint : *mut PAINTSTRUCT ) -> HDC ); BeginPaint(hwnd.into(), lppaint) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -119,7 +119,7 @@ pub unsafe fn BeginPath(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn BeginPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn BeginPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); BeginPath(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -130,7 +130,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn BitBlt ( hdc : HDC , x : i32 , y : i32 , cx : i32 , cy : i32 , hdcsrc : HDC , x1 : i32 , y1 : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn BitBlt ( hdc : HDC , x : i32 , y : i32 , cx : i32 , cy : i32 , hdcsrc : HDC , x1 : i32 , y1 : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ); BitBlt(hdc.into(), x, y, cx, cy, hdcsrc.into(), x1, y1, rop) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -140,14 +140,14 @@ pub unsafe fn CancelDC(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CancelDC ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CancelDC ( hdc : HDC ) -> super::super::Foundation:: BOOL ); CancelDC(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ChangeDisplaySettingsA(lpdevmode: ::core::option::Option<*const DEVMODEA>, dwflags: CDS_TYPE) -> DISP_CHANGE { - ::windows::core::link ! ( "user32.dll""system" fn ChangeDisplaySettingsA ( lpdevmode : *const DEVMODEA , dwflags : CDS_TYPE ) -> DISP_CHANGE ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeDisplaySettingsA ( lpdevmode : *const DEVMODEA , dwflags : CDS_TYPE ) -> DISP_CHANGE ); ChangeDisplaySettingsA(::core::mem::transmute(lpdevmode.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -158,7 +158,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ChangeDisplaySettingsExA ( lpszdevicename : :: windows::core::PCSTR , lpdevmode : *const DEVMODEA , hwnd : super::super::Foundation:: HWND , dwflags : CDS_TYPE , lparam : *const ::core::ffi::c_void ) -> DISP_CHANGE ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeDisplaySettingsExA ( lpszdevicename : :: windows::core::PCSTR , lpdevmode : *const DEVMODEA , hwnd : super::super::Foundation:: HWND , dwflags : CDS_TYPE , lparam : *const ::core::ffi::c_void ) -> DISP_CHANGE ); ChangeDisplaySettingsExA(lpszdevicename.into().abi(), ::core::mem::transmute(lpdevmode.unwrap_or(::std::ptr::null())), hwnd.into(), dwflags, ::core::mem::transmute(lparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -169,14 +169,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ChangeDisplaySettingsExW ( lpszdevicename : :: windows::core::PCWSTR , lpdevmode : *const DEVMODEW , hwnd : super::super::Foundation:: HWND , dwflags : CDS_TYPE , lparam : *const ::core::ffi::c_void ) -> DISP_CHANGE ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeDisplaySettingsExW ( lpszdevicename : :: windows::core::PCWSTR , lpdevmode : *const DEVMODEW , hwnd : super::super::Foundation:: HWND , dwflags : CDS_TYPE , lparam : *const ::core::ffi::c_void ) -> DISP_CHANGE ); ChangeDisplaySettingsExW(lpszdevicename.into().abi(), ::core::mem::transmute(lpdevmode.unwrap_or(::std::ptr::null())), hwnd.into(), dwflags, ::core::mem::transmute(lparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ChangeDisplaySettingsW(lpdevmode: ::core::option::Option<*const DEVMODEW>, dwflags: CDS_TYPE) -> DISP_CHANGE { - ::windows::core::link ! ( "user32.dll""system" fn ChangeDisplaySettingsW ( lpdevmode : *const DEVMODEW , dwflags : CDS_TYPE ) -> DISP_CHANGE ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeDisplaySettingsW ( lpdevmode : *const DEVMODEW , dwflags : CDS_TYPE ) -> DISP_CHANGE ); ChangeDisplaySettingsW(::core::mem::transmute(lpdevmode.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -186,7 +186,7 @@ pub unsafe fn Chord(hdc: P0, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn Chord ( hdc : HDC , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn Chord ( hdc : HDC , x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , x3 : i32 , y3 : i32 , x4 : i32 , y4 : i32 ) -> super::super::Foundation:: BOOL ); Chord(hdc.into(), x1, y1, x2, y2, x3, y3, x4, y4) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -196,7 +196,7 @@ pub unsafe fn ClientToScreen(hwnd: P0, lppoint: *mut super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ClientToScreen ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ClientToScreen ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); ClientToScreen(hwnd.into(), lppoint) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -205,7 +205,7 @@ pub unsafe fn CloseEnhMetaFile(hdc: P0) -> HENHMETAFILE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CloseEnhMetaFile ( hdc : HDC ) -> HENHMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CloseEnhMetaFile ( hdc : HDC ) -> HENHMETAFILE ); CloseEnhMetaFile(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -215,7 +215,7 @@ pub unsafe fn CloseFigure(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CloseFigure ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CloseFigure ( hdc : HDC ) -> super::super::Foundation:: BOOL ); CloseFigure(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -224,7 +224,7 @@ pub unsafe fn CloseMetaFile(hdc: P0) -> HMETAFILE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CloseMetaFile ( hdc : HDC ) -> HMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CloseMetaFile ( hdc : HDC ) -> HMETAFILE ); CloseMetaFile(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -235,14 +235,14 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CombineRgn ( hrgndst : HRGN , hrgnsrc1 : HRGN , hrgnsrc2 : HRGN , imode : RGN_COMBINE_MODE ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CombineRgn ( hrgndst : HRGN , hrgnsrc1 : HRGN , hrgnsrc2 : HRGN , imode : RGN_COMBINE_MODE ) -> GDI_REGION_TYPE ); CombineRgn(hrgndst.into(), hrgnsrc1.into(), hrgnsrc2.into(), imode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CombineTransform(lpxfout: *mut XFORM, lpxf1: *const XFORM, lpxf2: *const XFORM) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn CombineTransform ( lpxfout : *mut XFORM , lpxf1 : *const XFORM , lpxf2 : *const XFORM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CombineTransform ( lpxfout : *mut XFORM , lpxf1 : *const XFORM , lpxf2 : *const XFORM ) -> super::super::Foundation:: BOOL ); CombineTransform(lpxfout, lpxf1, lpxf2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -252,7 +252,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CopyEnhMetaFileA ( henh : HENHMETAFILE , lpfilename : :: windows::core::PCSTR ) -> HENHMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CopyEnhMetaFileA ( henh : HENHMETAFILE , lpfilename : :: windows::core::PCSTR ) -> HENHMETAFILE ); CopyEnhMetaFileA(henh.into(), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -262,7 +262,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CopyEnhMetaFileW ( henh : HENHMETAFILE , lpfilename : :: windows::core::PCWSTR ) -> HENHMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CopyEnhMetaFileW ( henh : HENHMETAFILE , lpfilename : :: windows::core::PCWSTR ) -> HENHMETAFILE ); CopyEnhMetaFileW(henh.into(), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -272,7 +272,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CopyMetaFileA ( param0 : HMETAFILE , param1 : :: windows::core::PCSTR ) -> HMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CopyMetaFileA ( param0 : HMETAFILE , param1 : :: windows::core::PCSTR ) -> HMETAFILE ); CopyMetaFileA(param0.into(), param1.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -282,33 +282,33 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CopyMetaFileW ( param0 : HMETAFILE , param1 : :: windows::core::PCWSTR ) -> HMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CopyMetaFileW ( param0 : HMETAFILE , param1 : :: windows::core::PCWSTR ) -> HMETAFILE ); CopyMetaFileW(param0.into(), param1.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CopyRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn CopyRect ( lprcdst : *mut super::super::Foundation:: RECT , lprcsrc : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CopyRect ( lprcdst : *mut super::super::Foundation:: RECT , lprcsrc : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); CopyRect(lprcdst, lprcsrc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateBitmap(nwidth: i32, nheight: i32, nplanes: u32, nbitcount: u32, lpbits: ::core::option::Option<*const ::core::ffi::c_void>) -> HBITMAP { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateBitmap ( nwidth : i32 , nheight : i32 , nplanes : u32 , nbitcount : u32 , lpbits : *const ::core::ffi::c_void ) -> HBITMAP ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateBitmap ( nwidth : i32 , nheight : i32 , nplanes : u32 , nbitcount : u32 , lpbits : *const ::core::ffi::c_void ) -> HBITMAP ); CreateBitmap(nwidth, nheight, nplanes, nbitcount, ::core::mem::transmute(lpbits.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateBitmapIndirect(pbm: *const BITMAP) -> HBITMAP { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateBitmapIndirect ( pbm : *const BITMAP ) -> HBITMAP ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateBitmapIndirect ( pbm : *const BITMAP ) -> HBITMAP ); CreateBitmapIndirect(pbm) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateBrushIndirect(plbrush: *const LOGBRUSH) -> HBRUSH { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateBrushIndirect ( plbrush : *const LOGBRUSH ) -> HBRUSH ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateBrushIndirect ( plbrush : *const LOGBRUSH ) -> HBRUSH ); CreateBrushIndirect(plbrush) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -317,7 +317,7 @@ pub unsafe fn CreateCompatibleBitmap(hdc: P0, cx: i32, cy: i32) -> HBITMAP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateCompatibleBitmap ( hdc : HDC , cx : i32 , cy : i32 ) -> HBITMAP ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateCompatibleBitmap ( hdc : HDC , cx : i32 , cy : i32 ) -> HBITMAP ); CreateCompatibleBitmap(hdc.into(), cx, cy) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -326,7 +326,7 @@ pub unsafe fn CreateCompatibleDC(hdc: P0) -> CreatedHDC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateCompatibleDC ( hdc : HDC ) -> CreatedHDC ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateCompatibleDC ( hdc : HDC ) -> CreatedHDC ); CreateCompatibleDC(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -338,7 +338,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateDCA ( pwszdriver : :: windows::core::PCSTR , pwszdevice : :: windows::core::PCSTR , pszport : :: windows::core::PCSTR , pdm : *const DEVMODEA ) -> CreatedHDC ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateDCA ( pwszdriver : :: windows::core::PCSTR , pwszdevice : :: windows::core::PCSTR , pszport : :: windows::core::PCSTR , pdm : *const DEVMODEA ) -> CreatedHDC ); CreateDCA(pwszdriver.into().abi(), pwszdevice.into().abi(), pszport.into().abi(), ::core::mem::transmute(pdm.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -350,19 +350,19 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateDCW ( pwszdriver : :: windows::core::PCWSTR , pwszdevice : :: windows::core::PCWSTR , pszport : :: windows::core::PCWSTR , pdm : *const DEVMODEW ) -> CreatedHDC ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateDCW ( pwszdriver : :: windows::core::PCWSTR , pwszdevice : :: windows::core::PCWSTR , pszport : :: windows::core::PCWSTR , pdm : *const DEVMODEW ) -> CreatedHDC ); CreateDCW(pwszdriver.into().abi(), pwszdevice.into().abi(), pszport.into().abi(), ::core::mem::transmute(pdm.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateDIBPatternBrush(h: isize, iusage: DIB_USAGE) -> HBRUSH { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateDIBPatternBrush ( h : isize , iusage : DIB_USAGE ) -> HBRUSH ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateDIBPatternBrush ( h : isize , iusage : DIB_USAGE ) -> HBRUSH ); CreateDIBPatternBrush(h, iusage) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateDIBPatternBrushPt(lppackeddib: *const ::core::ffi::c_void, iusage: DIB_USAGE) -> HBRUSH { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateDIBPatternBrushPt ( lppackeddib : *const ::core::ffi::c_void , iusage : DIB_USAGE ) -> HBRUSH ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateDIBPatternBrushPt ( lppackeddib : *const ::core::ffi::c_void , iusage : DIB_USAGE ) -> HBRUSH ); CreateDIBPatternBrushPt(lppackeddib, iusage) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -373,9 +373,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateDIBSection ( hdc : HDC , pbmi : *const BITMAPINFO , usage : DIB_USAGE , ppvbits : *mut *mut ::core::ffi::c_void , hsection : super::super::Foundation:: HANDLE , offset : u32 ) -> HBITMAP ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateDIBSection ( hdc : HDC , pbmi : *const BITMAPINFO , usage : DIB_USAGE , ppvbits : *mut *mut ::core::ffi::c_void , hsection : super::super::Foundation:: HANDLE , offset : u32 ) -> HBITMAP ); let result__ = CreateDIBSection(hdc.into(), pbmi, usage, ppvbits, hsection.into(), offset); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] @@ -383,7 +383,7 @@ pub unsafe fn CreateDIBitmap(hdc: P0, pbmih: ::core::option::Option<*const B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateDIBitmap ( hdc : HDC , pbmih : *const BITMAPINFOHEADER , flinit : u32 , pjbits : *const ::core::ffi::c_void , pbmi : *const BITMAPINFO , iusage : DIB_USAGE ) -> HBITMAP ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateDIBitmap ( hdc : HDC , pbmih : *const BITMAPINFOHEADER , flinit : u32 , pjbits : *const ::core::ffi::c_void , pbmi : *const BITMAPINFO , iusage : DIB_USAGE ) -> HBITMAP ); CreateDIBitmap(hdc.into(), ::core::mem::transmute(pbmih.unwrap_or(::std::ptr::null())), flinit, ::core::mem::transmute(pjbits.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbmi.unwrap_or(::std::ptr::null())), iusage) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -392,20 +392,20 @@ pub unsafe fn CreateDiscardableBitmap(hdc: P0, cx: i32, cy: i32) -> HBITMAP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateDiscardableBitmap ( hdc : HDC , cx : i32 , cy : i32 ) -> HBITMAP ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateDiscardableBitmap ( hdc : HDC , cx : i32 , cy : i32 ) -> HBITMAP ); CreateDiscardableBitmap(hdc.into(), cx, cy) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateEllipticRgn(x1: i32, y1: i32, x2: i32, y2: i32) -> HRGN { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateEllipticRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateEllipticRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> HRGN ); CreateEllipticRgn(x1, y1, x2, y2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateEllipticRgnIndirect(lprect: *const super::super::Foundation::RECT) -> HRGN { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateEllipticRgnIndirect ( lprect : *const super::super::Foundation:: RECT ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateEllipticRgnIndirect ( lprect : *const super::super::Foundation:: RECT ) -> HRGN ); CreateEllipticRgnIndirect(lprect) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -417,7 +417,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateEnhMetaFileA ( hdc : HDC , lpfilename : :: windows::core::PCSTR , lprc : *const super::super::Foundation:: RECT , lpdesc : :: windows::core::PCSTR ) -> HdcMetdataEnhFileHandle ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateEnhMetaFileA ( hdc : HDC , lpfilename : :: windows::core::PCSTR , lprc : *const super::super::Foundation:: RECT , lpdesc : :: windows::core::PCSTR ) -> HdcMetdataEnhFileHandle ); CreateEnhMetaFileA(hdc.into(), lpfilename.into().abi(), ::core::mem::transmute(lprc.unwrap_or(::std::ptr::null())), lpdesc.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -429,7 +429,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateEnhMetaFileW ( hdc : HDC , lpfilename : :: windows::core::PCWSTR , lprc : *const super::super::Foundation:: RECT , lpdesc : :: windows::core::PCWSTR ) -> HdcMetdataEnhFileHandle ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateEnhMetaFileW ( hdc : HDC , lpfilename : :: windows::core::PCWSTR , lprc : *const super::super::Foundation:: RECT , lpdesc : :: windows::core::PCWSTR ) -> HdcMetdataEnhFileHandle ); CreateEnhMetaFileW(hdc.into(), lpfilename.into().abi(), ::core::mem::transmute(lprc.unwrap_or(::std::ptr::null())), lpdesc.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -438,39 +438,39 @@ pub unsafe fn CreateFontA(cheight: i32, cwidth: i32, cescapement: i32, corie where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateFontA ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : u32 , iclipprecision : u32 , iquality : u32 , ipitchandfamily : u32 , pszfacename : :: windows::core::PCSTR ) -> HFONT ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateFontA ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : u32 , iclipprecision : u32 , iquality : u32 , ipitchandfamily : u32 , pszfacename : :: windows::core::PCSTR ) -> HFONT ); CreateFontA(cheight, cwidth, cescapement, corientation, cweight, bitalic, bunderline, bstrikeout, icharset, ioutprecision, iclipprecision, iquality, ipitchandfamily, pszfacename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateFontIndirectA(lplf: *const LOGFONTA) -> HFONT { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateFontIndirectA ( lplf : *const LOGFONTA ) -> HFONT ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateFontIndirectA ( lplf : *const LOGFONTA ) -> HFONT ); CreateFontIndirectA(lplf) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateFontIndirectExA(param0: *const ENUMLOGFONTEXDVA) -> HFONT { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateFontIndirectExA ( param0 : *const ENUMLOGFONTEXDVA ) -> HFONT ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateFontIndirectExA ( param0 : *const ENUMLOGFONTEXDVA ) -> HFONT ); CreateFontIndirectExA(param0) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateFontIndirectExW(param0: *const ENUMLOGFONTEXDVW) -> HFONT { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateFontIndirectExW ( param0 : *const ENUMLOGFONTEXDVW ) -> HFONT ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateFontIndirectExW ( param0 : *const ENUMLOGFONTEXDVW ) -> HFONT ); CreateFontIndirectExW(param0) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateFontIndirectW(lplf: *const LOGFONTW) -> HFONT { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateFontIndirectW ( lplf : *const LOGFONTW ) -> HFONT ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateFontIndirectW ( lplf : *const LOGFONTW ) -> HFONT ); CreateFontIndirectW(lplf) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateFontPackage(puchsrcbuffer: *const u8, ulsrcbuffersize: u32, ppuchfontpackagebuffer: *mut *mut u8, pulfontpackagebuffersize: *mut u32, pulbyteswritten: *mut u32, usflag: u16, usttcindex: u16, ussubsetformat: u16, ussubsetlanguage: u16, ussubsetplatform: CREATE_FONT_PACKAGE_SUBSET_PLATFORM, ussubsetencoding: CREATE_FONT_PACKAGE_SUBSET_ENCODING, pussubsetkeeplist: *const u16, ussubsetlistcount: u16, lpfnallocate: CFP_ALLOCPROC, lpfnreallocate: CFP_REALLOCPROC, lpfnfree: CFP_FREEPROC, lpvreserved: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "fontsub.dll""cdecl" fn CreateFontPackage ( puchsrcbuffer : *const u8 , ulsrcbuffersize : u32 , ppuchfontpackagebuffer : *mut *mut u8 , pulfontpackagebuffersize : *mut u32 , pulbyteswritten : *mut u32 , usflag : u16 , usttcindex : u16 , ussubsetformat : u16 , ussubsetlanguage : u16 , ussubsetplatform : CREATE_FONT_PACKAGE_SUBSET_PLATFORM , ussubsetencoding : CREATE_FONT_PACKAGE_SUBSET_ENCODING , pussubsetkeeplist : *const u16 , ussubsetlistcount : u16 , lpfnallocate : CFP_ALLOCPROC , lpfnreallocate : CFP_REALLOCPROC , lpfnfree : CFP_FREEPROC , lpvreserved : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "fontsub.dll""cdecl" fn CreateFontPackage ( puchsrcbuffer : *const u8 , ulsrcbuffersize : u32 , ppuchfontpackagebuffer : *mut *mut u8 , pulfontpackagebuffersize : *mut u32 , pulbyteswritten : *mut u32 , usflag : u16 , usttcindex : u16 , ussubsetformat : u16 , ussubsetlanguage : u16 , ussubsetplatform : CREATE_FONT_PACKAGE_SUBSET_PLATFORM , ussubsetencoding : CREATE_FONT_PACKAGE_SUBSET_ENCODING , pussubsetkeeplist : *const u16 , ussubsetlistcount : u16 , lpfnallocate : CFP_ALLOCPROC , lpfnreallocate : CFP_REALLOCPROC , lpfnfree : CFP_FREEPROC , lpvreserved : *mut ::core::ffi::c_void ) -> u32 ); CreateFontPackage(puchsrcbuffer, ulsrcbuffersize, ppuchfontpackagebuffer, pulfontpackagebuffersize, pulbyteswritten, usflag, usttcindex, ussubsetformat, ussubsetlanguage, ussubsetplatform, ussubsetencoding, pussubsetkeeplist, ussubsetlistcount, lpfnallocate, lpfnreallocate, lpfnfree, lpvreserved) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -479,7 +479,7 @@ pub unsafe fn CreateFontW(cheight: i32, cwidth: i32, cescapement: i32, corie where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateFontW ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : u32 , iclipprecision : u32 , iquality : u32 , ipitchandfamily : u32 , pszfacename : :: windows::core::PCWSTR ) -> HFONT ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateFontW ( cheight : i32 , cwidth : i32 , cescapement : i32 , corientation : i32 , cweight : i32 , bitalic : u32 , bunderline : u32 , bstrikeout : u32 , icharset : u32 , ioutprecision : u32 , iclipprecision : u32 , iquality : u32 , ipitchandfamily : u32 , pszfacename : :: windows::core::PCWSTR ) -> HFONT ); CreateFontW(cheight, cwidth, cescapement, corientation, cweight, bitalic, bunderline, bstrikeout, icharset, ioutprecision, iclipprecision, iquality, ipitchandfamily, pszfacename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -488,7 +488,7 @@ pub unsafe fn CreateHalftonePalette(hdc: P0) -> HPALETTE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateHalftonePalette ( hdc : HDC ) -> HPALETTE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateHalftonePalette ( hdc : HDC ) -> HPALETTE ); CreateHalftonePalette(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -498,7 +498,7 @@ pub unsafe fn CreateHatchBrush(ihatch: HATCH_BRUSH_STYLE, color: P0) -> HBRU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateHatchBrush ( ihatch : HATCH_BRUSH_STYLE , color : super::super::Foundation:: COLORREF ) -> HBRUSH ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateHatchBrush ( ihatch : HATCH_BRUSH_STYLE , color : super::super::Foundation:: COLORREF ) -> HBRUSH ); CreateHatchBrush(ihatch, color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -510,7 +510,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateICA ( pszdriver : :: windows::core::PCSTR , pszdevice : :: windows::core::PCSTR , pszport : :: windows::core::PCSTR , pdm : *const DEVMODEA ) -> CreatedHDC ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateICA ( pszdriver : :: windows::core::PCSTR , pszdevice : :: windows::core::PCSTR , pszport : :: windows::core::PCSTR , pdm : *const DEVMODEA ) -> CreatedHDC ); CreateICA(pszdriver.into().abi(), pszdevice.into().abi(), pszport.into().abi(), ::core::mem::transmute(pdm.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -522,7 +522,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateICW ( pszdriver : :: windows::core::PCWSTR , pszdevice : :: windows::core::PCWSTR , pszport : :: windows::core::PCWSTR , pdm : *const DEVMODEW ) -> CreatedHDC ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateICW ( pszdriver : :: windows::core::PCWSTR , pszdevice : :: windows::core::PCWSTR , pszport : :: windows::core::PCWSTR , pdm : *const DEVMODEW ) -> CreatedHDC ); CreateICW(pszdriver.into().abi(), pszdevice.into().abi(), pszport.into().abi(), ::core::mem::transmute(pdm.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -531,7 +531,7 @@ pub unsafe fn CreateMetaFileA(pszfile: P0) -> HdcMetdataFileHandle where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateMetaFileA ( pszfile : :: windows::core::PCSTR ) -> HdcMetdataFileHandle ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateMetaFileA ( pszfile : :: windows::core::PCSTR ) -> HdcMetdataFileHandle ); CreateMetaFileA(pszfile.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -540,13 +540,13 @@ pub unsafe fn CreateMetaFileW(pszfile: P0) -> HdcMetdataFileHandle where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateMetaFileW ( pszfile : :: windows::core::PCWSTR ) -> HdcMetdataFileHandle ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateMetaFileW ( pszfile : :: windows::core::PCWSTR ) -> HdcMetdataFileHandle ); CreateMetaFileW(pszfile.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreatePalette(plpal: *const LOGPALETTE) -> HPALETTE { - ::windows::core::link ! ( "gdi32.dll""system" fn CreatePalette ( plpal : *const LOGPALETTE ) -> HPALETTE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreatePalette ( plpal : *const LOGPALETTE ) -> HPALETTE ); CreatePalette(plpal) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -555,7 +555,7 @@ pub unsafe fn CreatePatternBrush(hbm: P0) -> HBRUSH where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreatePatternBrush ( hbm : HBITMAP ) -> HBRUSH ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreatePatternBrush ( hbm : HBITMAP ) -> HBRUSH ); CreatePatternBrush(hbm.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -565,47 +565,47 @@ pub unsafe fn CreatePen(istyle: PEN_STYLE, cwidth: i32, color: P0) -> HPEN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreatePen ( istyle : PEN_STYLE , cwidth : i32 , color : super::super::Foundation:: COLORREF ) -> HPEN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreatePen ( istyle : PEN_STYLE , cwidth : i32 , color : super::super::Foundation:: COLORREF ) -> HPEN ); CreatePen(istyle, cwidth, color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreatePenIndirect(plpen: *const LOGPEN) -> HPEN { - ::windows::core::link ! ( "gdi32.dll""system" fn CreatePenIndirect ( plpen : *const LOGPEN ) -> HPEN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreatePenIndirect ( plpen : *const LOGPEN ) -> HPEN ); CreatePenIndirect(plpen) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreatePolyPolygonRgn(pptl: *const super::super::Foundation::POINT, pc: &[i32], imode: CREATE_POLYGON_RGN_MODE) -> HRGN { - ::windows::core::link ! ( "gdi32.dll""system" fn CreatePolyPolygonRgn ( pptl : *const super::super::Foundation:: POINT , pc : *const i32 , cpoly : i32 , imode : CREATE_POLYGON_RGN_MODE ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreatePolyPolygonRgn ( pptl : *const super::super::Foundation:: POINT , pc : *const i32 , cpoly : i32 , imode : CREATE_POLYGON_RGN_MODE ) -> HRGN ); CreatePolyPolygonRgn(pptl, ::core::mem::transmute(pc.as_ptr()), pc.len() as _, imode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreatePolygonRgn(pptl: &[super::super::Foundation::POINT], imode: CREATE_POLYGON_RGN_MODE) -> HRGN { - ::windows::core::link ! ( "gdi32.dll""system" fn CreatePolygonRgn ( pptl : *const super::super::Foundation:: POINT , cpoint : i32 , imode : CREATE_POLYGON_RGN_MODE ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreatePolygonRgn ( pptl : *const super::super::Foundation:: POINT , cpoint : i32 , imode : CREATE_POLYGON_RGN_MODE ) -> HRGN ); CreatePolygonRgn(::core::mem::transmute(pptl.as_ptr()), pptl.len() as _, imode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateRectRgn(x1: i32, y1: i32, x2: i32, y2: i32) -> HRGN { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateRectRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateRectRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> HRGN ); CreateRectRgn(x1, y1, x2, y2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateRectRgnIndirect(lprect: *const super::super::Foundation::RECT) -> HRGN { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateRectRgnIndirect ( lprect : *const super::super::Foundation:: RECT ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateRectRgnIndirect ( lprect : *const super::super::Foundation:: RECT ) -> HRGN ); CreateRectRgnIndirect(lprect) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn CreateRoundRectRgn(x1: i32, y1: i32, x2: i32, y2: i32, w: i32, h: i32) -> HRGN { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateRoundRectRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , w : i32 , h : i32 ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateRoundRectRgn ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 , w : i32 , h : i32 ) -> HRGN ); CreateRoundRectRgn(x1, y1, x2, y2, w, h) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -617,7 +617,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateScalableFontResourceA ( fdwhidden : u32 , lpszfont : :: windows::core::PCSTR , lpszfile : :: windows::core::PCSTR , lpszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateScalableFontResourceA ( fdwhidden : u32 , lpszfont : :: windows::core::PCSTR , lpszfile : :: windows::core::PCSTR , lpszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); CreateScalableFontResourceA(fdwhidden, lpszfont.into().abi(), lpszfile.into().abi(), lpszpath.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -629,7 +629,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateScalableFontResourceW ( fdwhidden : u32 , lpszfont : :: windows::core::PCWSTR , lpszfile : :: windows::core::PCWSTR , lpszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateScalableFontResourceW ( fdwhidden : u32 , lpszfont : :: windows::core::PCWSTR , lpszfile : :: windows::core::PCWSTR , lpszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); CreateScalableFontResourceW(fdwhidden, lpszfont.into().abi(), lpszfile.into().abi(), lpszpath.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -639,7 +639,7 @@ pub unsafe fn CreateSolidBrush(color: P0) -> HBRUSH where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateSolidBrush ( color : super::super::Foundation:: COLORREF ) -> HBRUSH ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateSolidBrush ( color : super::super::Foundation:: COLORREF ) -> HBRUSH ); CreateSolidBrush(color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -649,7 +649,7 @@ pub unsafe fn DPtoLP(hdc: P0, lppt: &mut [super::super::Foundation::POINT]) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn DPtoLP ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT , c : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn DPtoLP ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT , c : i32 ) -> super::super::Foundation:: BOOL ); DPtoLP(hdc.into(), ::core::mem::transmute(lppt.as_ptr()), lppt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -659,7 +659,7 @@ pub unsafe fn DeleteDC(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn DeleteDC ( hdc : CreatedHDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn DeleteDC ( hdc : CreatedHDC ) -> super::super::Foundation:: BOOL ); DeleteDC(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -669,7 +669,7 @@ pub unsafe fn DeleteEnhMetaFile(hmf: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn DeleteEnhMetaFile ( hmf : HENHMETAFILE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn DeleteEnhMetaFile ( hmf : HENHMETAFILE ) -> super::super::Foundation:: BOOL ); DeleteEnhMetaFile(hmf.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -679,7 +679,7 @@ pub unsafe fn DeleteMetaFile(hmf: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn DeleteMetaFile ( hmf : HMETAFILE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn DeleteMetaFile ( hmf : HMETAFILE ) -> super::super::Foundation:: BOOL ); DeleteMetaFile(hmf.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -689,7 +689,7 @@ pub unsafe fn DeleteObject(ho: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn DeleteObject ( ho : HGDIOBJ ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn DeleteObject ( ho : HGDIOBJ ) -> super::super::Foundation:: BOOL ); DeleteObject(ho.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -699,7 +699,7 @@ pub unsafe fn DrawAnimatedRects(hwnd: P0, idani: i32, lprcfrom: *const super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawAnimatedRects ( hwnd : super::super::Foundation:: HWND , idani : i32 , lprcfrom : *const super::super::Foundation:: RECT , lprcto : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawAnimatedRects ( hwnd : super::super::Foundation:: HWND , idani : i32 , lprcfrom : *const super::super::Foundation:: RECT , lprcto : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); DrawAnimatedRects(hwnd.into(), idani, lprcfrom, lprcto) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -710,7 +710,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawCaption ( hwnd : super::super::Foundation:: HWND , hdc : HDC , lprect : *const super::super::Foundation:: RECT , flags : DRAW_CAPTION_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawCaption ( hwnd : super::super::Foundation:: HWND , hdc : HDC , lprect : *const super::super::Foundation:: RECT , flags : DRAW_CAPTION_FLAGS ) -> super::super::Foundation:: BOOL ); DrawCaption(hwnd.into(), hdc.into(), lprect, flags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -720,7 +720,7 @@ pub unsafe fn DrawEdge(hdc: P0, qrc: *mut super::super::Foundation::RECT, ed where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawEdge ( hdc : HDC , qrc : *mut super::super::Foundation:: RECT , edge : DRAWEDGE_FLAGS , grfflags : DRAW_EDGE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawEdge ( hdc : HDC , qrc : *mut super::super::Foundation:: RECT , edge : DRAWEDGE_FLAGS , grfflags : DRAW_EDGE_FLAGS ) -> super::super::Foundation:: BOOL ); DrawEdge(hdc.into(), qrc, edge, grfflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -729,7 +729,7 @@ pub unsafe fn DrawEscape(hdc: P0, iescape: i32, lpin: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn DrawEscape ( hdc : HDC , iescape : i32 , cjin : i32 , lpin : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn DrawEscape ( hdc : HDC , iescape : i32 , cjin : i32 , lpin : :: windows::core::PCSTR ) -> i32 ); DrawEscape(hdc.into(), iescape, lpin.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpin.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -739,7 +739,7 @@ pub unsafe fn DrawFocusRect(hdc: P0, lprc: *const super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawFocusRect ( hdc : HDC , lprc : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawFocusRect ( hdc : HDC , lprc : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); DrawFocusRect(hdc.into(), lprc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -749,7 +749,7 @@ pub unsafe fn DrawFrameControl(param0: P0, param1: *mut super::super::Founda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawFrameControl ( param0 : HDC , param1 : *mut super::super::Foundation:: RECT , param2 : DFC_TYPE , param3 : DFCS_STATE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawFrameControl ( param0 : HDC , param1 : *mut super::super::Foundation:: RECT , param2 : DFC_TYPE , param3 : DFCS_STATE ) -> super::super::Foundation:: BOOL ); DrawFrameControl(param0.into(), param1, param2, param3) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -762,7 +762,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawStateA ( hdc : HDC , hbrfore : HBRUSH , qfncallback : DRAWSTATEPROC , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawStateA ( hdc : HDC , hbrfore : HBRUSH , qfncallback : DRAWSTATEPROC , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS ) -> super::super::Foundation:: BOOL ); DrawStateA(hdc.into(), hbrfore.into(), qfncallback, ldata.into(), wdata.into(), x, y, cx, cy, uflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -775,7 +775,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawStateW ( hdc : HDC , hbrfore : HBRUSH , qfncallback : DRAWSTATEPROC , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawStateW ( hdc : HDC , hbrfore : HBRUSH , qfncallback : DRAWSTATEPROC , ldata : super::super::Foundation:: LPARAM , wdata : super::super::Foundation:: WPARAM , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : DRAWSTATE_FLAGS ) -> super::super::Foundation:: BOOL ); DrawStateW(hdc.into(), hbrfore.into(), qfncallback, ldata.into(), wdata.into(), x, y, cx, cy, uflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -785,7 +785,7 @@ pub unsafe fn DrawTextA(hdc: P0, lpchtext: &mut [u8], lprc: *mut super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawTextA ( hdc : HDC , lpchtext : :: windows::core::PSTR , cchtext : i32 , lprc : *mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawTextA ( hdc : HDC , lpchtext : :: windows::core::PSTR , cchtext : i32 , lprc : *mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT ) -> i32 ); DrawTextA(hdc.into(), ::core::mem::transmute(lpchtext.as_ptr()), lpchtext.len() as _, lprc, format) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -795,7 +795,7 @@ pub unsafe fn DrawTextExA(hdc: P0, lpchtext: &mut [u8], lprc: *mut super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawTextExA ( hdc : HDC , lpchtext : :: windows::core::PSTR , cchtext : i32 , lprc : *mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : *const DRAWTEXTPARAMS ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawTextExA ( hdc : HDC , lpchtext : :: windows::core::PSTR , cchtext : i32 , lprc : *mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : *const DRAWTEXTPARAMS ) -> i32 ); DrawTextExA(hdc.into(), ::core::mem::transmute(lpchtext.as_ptr()), lpchtext.len() as _, lprc, format, ::core::mem::transmute(lpdtp.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -805,7 +805,7 @@ pub unsafe fn DrawTextExW(hdc: P0, lpchtext: &mut [u16], lprc: *mut super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawTextExW ( hdc : HDC , lpchtext : :: windows::core::PWSTR , cchtext : i32 , lprc : *mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : *const DRAWTEXTPARAMS ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawTextExW ( hdc : HDC , lpchtext : :: windows::core::PWSTR , cchtext : i32 , lprc : *mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT , lpdtp : *const DRAWTEXTPARAMS ) -> i32 ); DrawTextExW(hdc.into(), ::core::mem::transmute(lpchtext.as_ptr()), lpchtext.len() as _, lprc, format, ::core::mem::transmute(lpdtp.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -815,7 +815,7 @@ pub unsafe fn DrawTextW(hdc: P0, lpchtext: &mut [u16], lprc: *mut super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawTextW ( hdc : HDC , lpchtext : :: windows::core::PWSTR , cchtext : i32 , lprc : *mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawTextW ( hdc : HDC , lpchtext : :: windows::core::PWSTR , cchtext : i32 , lprc : *mut super::super::Foundation:: RECT , format : DRAW_TEXT_FORMAT ) -> i32 ); DrawTextW(hdc.into(), ::core::mem::transmute(lpchtext.as_ptr()), lpchtext.len() as _, lprc, format) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -825,7 +825,7 @@ pub unsafe fn Ellipse(hdc: P0, left: i32, top: i32, right: i32, bottom: i32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn Ellipse ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn Ellipse ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ); Ellipse(hdc.into(), left, top, right, bottom) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -835,7 +835,7 @@ pub unsafe fn EndPaint(hwnd: P0, lppaint: *const PAINTSTRUCT) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EndPaint ( hwnd : super::super::Foundation:: HWND , lppaint : *const PAINTSTRUCT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EndPaint ( hwnd : super::super::Foundation:: HWND , lppaint : *const PAINTSTRUCT ) -> super::super::Foundation:: BOOL ); EndPaint(hwnd.into(), lppaint) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -845,7 +845,7 @@ pub unsafe fn EndPath(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EndPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EndPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); EndPath(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -855,7 +855,7 @@ pub unsafe fn EnumDisplayDevicesA(lpdevice: P0, idevnum: u32, lpdisplaydevic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDisplayDevicesA ( lpdevice : :: windows::core::PCSTR , idevnum : u32 , lpdisplaydevice : *mut DISPLAY_DEVICEA , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDisplayDevicesA ( lpdevice : :: windows::core::PCSTR , idevnum : u32 , lpdisplaydevice : *mut DISPLAY_DEVICEA , dwflags : u32 ) -> super::super::Foundation:: BOOL ); EnumDisplayDevicesA(lpdevice.into().abi(), idevnum, lpdisplaydevice, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -865,7 +865,7 @@ pub unsafe fn EnumDisplayDevicesW(lpdevice: P0, idevnum: u32, lpdisplaydevic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDisplayDevicesW ( lpdevice : :: windows::core::PCWSTR , idevnum : u32 , lpdisplaydevice : *mut DISPLAY_DEVICEW , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDisplayDevicesW ( lpdevice : :: windows::core::PCWSTR , idevnum : u32 , lpdisplaydevice : *mut DISPLAY_DEVICEW , dwflags : u32 ) -> super::super::Foundation:: BOOL ); EnumDisplayDevicesW(lpdevice.into().abi(), idevnum, lpdisplaydevice, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -876,7 +876,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDisplayMonitors ( hdc : HDC , lprcclip : *const super::super::Foundation:: RECT , lpfnenum : MONITORENUMPROC , dwdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDisplayMonitors ( hdc : HDC , lprcclip : *const super::super::Foundation:: RECT , lpfnenum : MONITORENUMPROC , dwdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumDisplayMonitors(hdc.into(), ::core::mem::transmute(lprcclip.unwrap_or(::std::ptr::null())), lpfnenum, dwdata.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -886,7 +886,7 @@ pub unsafe fn EnumDisplaySettingsA(lpszdevicename: P0, imodenum: ENUM_DISPLA where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDisplaySettingsA ( lpszdevicename : :: windows::core::PCSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : *mut DEVMODEA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDisplaySettingsA ( lpszdevicename : :: windows::core::PCSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : *mut DEVMODEA ) -> super::super::Foundation:: BOOL ); EnumDisplaySettingsA(lpszdevicename.into().abi(), imodenum, lpdevmode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -896,7 +896,7 @@ pub unsafe fn EnumDisplaySettingsExA(lpszdevicename: P0, imodenum: ENUM_DISP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDisplaySettingsExA ( lpszdevicename : :: windows::core::PCSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : *mut DEVMODEA , dwflags : ENUM_DISPLAY_SETTINGS_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDisplaySettingsExA ( lpszdevicename : :: windows::core::PCSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : *mut DEVMODEA , dwflags : ENUM_DISPLAY_SETTINGS_FLAGS ) -> super::super::Foundation:: BOOL ); EnumDisplaySettingsExA(lpszdevicename.into().abi(), imodenum, lpdevmode, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -906,7 +906,7 @@ pub unsafe fn EnumDisplaySettingsExW(lpszdevicename: P0, imodenum: ENUM_DISP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDisplaySettingsExW ( lpszdevicename : :: windows::core::PCWSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : *mut DEVMODEW , dwflags : ENUM_DISPLAY_SETTINGS_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDisplaySettingsExW ( lpszdevicename : :: windows::core::PCWSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : *mut DEVMODEW , dwflags : ENUM_DISPLAY_SETTINGS_FLAGS ) -> super::super::Foundation:: BOOL ); EnumDisplaySettingsExW(lpszdevicename.into().abi(), imodenum, lpdevmode, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -916,7 +916,7 @@ pub unsafe fn EnumDisplaySettingsW(lpszdevicename: P0, imodenum: ENUM_DISPLA where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDisplaySettingsW ( lpszdevicename : :: windows::core::PCWSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : *mut DEVMODEW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDisplaySettingsW ( lpszdevicename : :: windows::core::PCWSTR , imodenum : ENUM_DISPLAY_SETTINGS_MODE , lpdevmode : *mut DEVMODEW ) -> super::super::Foundation:: BOOL ); EnumDisplaySettingsW(lpszdevicename.into().abi(), imodenum, lpdevmode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -927,7 +927,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumEnhMetaFile ( hdc : HDC , hmf : HENHMETAFILE , proc : ENHMFENUMPROC , param3 : *const ::core::ffi::c_void , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumEnhMetaFile ( hdc : HDC , hmf : HENHMETAFILE , proc : ENHMFENUMPROC , param3 : *const ::core::ffi::c_void , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); EnumEnhMetaFile(hdc.into(), hmf.into(), proc, ::core::mem::transmute(param3.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -939,7 +939,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumFontFamiliesA ( hdc : HDC , lplogfont : :: windows::core::PCSTR , lpproc : FONTENUMPROCA , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumFontFamiliesA ( hdc : HDC , lplogfont : :: windows::core::PCSTR , lpproc : FONTENUMPROCA , lparam : super::super::Foundation:: LPARAM ) -> i32 ); EnumFontFamiliesA(hdc.into(), lplogfont.into().abi(), lpproc, lparam.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -950,7 +950,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumFontFamiliesExA ( hdc : HDC , lplogfont : *const LOGFONTA , lpproc : FONTENUMPROCA , lparam : super::super::Foundation:: LPARAM , dwflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumFontFamiliesExA ( hdc : HDC , lplogfont : *const LOGFONTA , lpproc : FONTENUMPROCA , lparam : super::super::Foundation:: LPARAM , dwflags : u32 ) -> i32 ); EnumFontFamiliesExA(hdc.into(), lplogfont, lpproc, lparam.into(), dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -961,7 +961,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumFontFamiliesExW ( hdc : HDC , lplogfont : *const LOGFONTW , lpproc : FONTENUMPROCW , lparam : super::super::Foundation:: LPARAM , dwflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumFontFamiliesExW ( hdc : HDC , lplogfont : *const LOGFONTW , lpproc : FONTENUMPROCW , lparam : super::super::Foundation:: LPARAM , dwflags : u32 ) -> i32 ); EnumFontFamiliesExW(hdc.into(), lplogfont, lpproc, lparam.into(), dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -973,7 +973,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumFontFamiliesW ( hdc : HDC , lplogfont : :: windows::core::PCWSTR , lpproc : FONTENUMPROCW , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumFontFamiliesW ( hdc : HDC , lplogfont : :: windows::core::PCWSTR , lpproc : FONTENUMPROCW , lparam : super::super::Foundation:: LPARAM ) -> i32 ); EnumFontFamiliesW(hdc.into(), lplogfont.into().abi(), lpproc, lparam.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -985,7 +985,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumFontsA ( hdc : HDC , lplogfont : :: windows::core::PCSTR , lpproc : FONTENUMPROCA , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumFontsA ( hdc : HDC , lplogfont : :: windows::core::PCSTR , lpproc : FONTENUMPROCA , lparam : super::super::Foundation:: LPARAM ) -> i32 ); EnumFontsA(hdc.into(), lplogfont.into().abi(), lpproc, lparam.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -997,7 +997,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumFontsW ( hdc : HDC , lplogfont : :: windows::core::PCWSTR , lpproc : FONTENUMPROCW , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumFontsW ( hdc : HDC , lplogfont : :: windows::core::PCWSTR , lpproc : FONTENUMPROCW , lparam : super::super::Foundation:: LPARAM ) -> i32 ); EnumFontsW(hdc.into(), lplogfont.into().abi(), lpproc, lparam.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1009,7 +1009,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumMetaFile ( hdc : HDC , hmf : HMETAFILE , proc : MFENUMPROC , param3 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumMetaFile ( hdc : HDC , hmf : HMETAFILE , proc : MFENUMPROC , param3 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumMetaFile(hdc.into(), hmf.into(), proc, param3.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1020,14 +1020,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumObjects ( hdc : HDC , ntype : OBJ_TYPE , lpfunc : GOBJENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumObjects ( hdc : HDC , ntype : OBJ_TYPE , lpfunc : GOBJENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> i32 ); EnumObjects(hdc.into(), ntype, lpfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EqualRect(lprc1: *const super::super::Foundation::RECT, lprc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn EqualRect ( lprc1 : *const super::super::Foundation:: RECT , lprc2 : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EqualRect ( lprc1 : *const super::super::Foundation:: RECT , lprc2 : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); EqualRect(lprc1, lprc2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1038,7 +1038,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EqualRgn ( hrgn1 : HRGN , hrgn2 : HRGN ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EqualRgn ( hrgn1 : HRGN , hrgn2 : HRGN ) -> super::super::Foundation:: BOOL ); EqualRgn(hrgn1.into(), hrgn2.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1047,7 +1047,7 @@ pub unsafe fn ExcludeClipRect(hdc: P0, left: i32, top: i32, right: i32, bott where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ExcludeClipRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ExcludeClipRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> GDI_REGION_TYPE ); ExcludeClipRect(hdc.into(), left, top, right, bottom) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1058,21 +1058,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ExcludeUpdateRgn ( hdc : HDC , hwnd : super::super::Foundation:: HWND ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ExcludeUpdateRgn ( hdc : HDC , hwnd : super::super::Foundation:: HWND ) -> i32 ); ExcludeUpdateRgn(hdc.into(), hwnd.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ExtCreatePen(ipenstyle: PEN_STYLE, cwidth: u32, plbrush: *const LOGBRUSH, pstyle: ::core::option::Option<&[u32]>) -> HPEN { - ::windows::core::link ! ( "gdi32.dll""system" fn ExtCreatePen ( ipenstyle : PEN_STYLE , cwidth : u32 , plbrush : *const LOGBRUSH , cstyle : u32 , pstyle : *const u32 ) -> HPEN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ExtCreatePen ( ipenstyle : PEN_STYLE , cwidth : u32 , plbrush : *const LOGBRUSH , cstyle : u32 , pstyle : *const u32 ) -> HPEN ); ExtCreatePen(ipenstyle, cwidth, plbrush, pstyle.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pstyle.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ExtCreateRegion(lpx: ::core::option::Option<*const XFORM>, ncount: u32, lpdata: *const RGNDATA) -> HRGN { - ::windows::core::link ! ( "gdi32.dll""system" fn ExtCreateRegion ( lpx : *const XFORM , ncount : u32 , lpdata : *const RGNDATA ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ExtCreateRegion ( lpx : *const XFORM , ncount : u32 , lpdata : *const RGNDATA ) -> HRGN ); ExtCreateRegion(::core::mem::transmute(lpx.unwrap_or(::std::ptr::null())), ncount, lpdata) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1083,7 +1083,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ExtFloodFill ( hdc : HDC , x : i32 , y : i32 , color : super::super::Foundation:: COLORREF , r#type : EXT_FLOOD_FILL_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ExtFloodFill ( hdc : HDC , x : i32 , y : i32 , color : super::super::Foundation:: COLORREF , r#type : EXT_FLOOD_FILL_TYPE ) -> super::super::Foundation:: BOOL ); ExtFloodFill(hdc.into(), x, y, color.into(), r#type) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1093,7 +1093,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ExtSelectClipRgn ( hdc : HDC , hrgn : HRGN , mode : RGN_COMBINE_MODE ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ExtSelectClipRgn ( hdc : HDC , hrgn : HRGN , mode : RGN_COMBINE_MODE ) -> GDI_REGION_TYPE ); ExtSelectClipRgn(hdc.into(), hrgn.into(), mode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1104,7 +1104,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn ExtTextOutA ( hdc : HDC , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : *const super::super::Foundation:: RECT , lpstring : :: windows::core::PCSTR , c : u32 , lpdx : *const i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ExtTextOutA ( hdc : HDC , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : *const super::super::Foundation:: RECT , lpstring : :: windows::core::PCSTR , c : u32 , lpdx : *const i32 ) -> super::super::Foundation:: BOOL ); ExtTextOutA(hdc.into(), x, y, options, ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), lpstring.into().abi(), c, ::core::mem::transmute(lpdx.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1115,7 +1115,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn ExtTextOutW ( hdc : HDC , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : *const super::super::Foundation:: RECT , lpstring : :: windows::core::PCWSTR , c : u32 , lpdx : *const i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ExtTextOutW ( hdc : HDC , x : i32 , y : i32 , options : ETO_OPTIONS , lprect : *const super::super::Foundation:: RECT , lpstring : :: windows::core::PCWSTR , c : u32 , lpdx : *const i32 ) -> super::super::Foundation:: BOOL ); ExtTextOutW(hdc.into(), x, y, options, ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), lpstring.into().abi(), c, ::core::mem::transmute(lpdx.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1125,7 +1125,7 @@ pub unsafe fn FillPath(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn FillPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FillPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); FillPath(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1136,7 +1136,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn FillRect ( hdc : HDC , lprc : *const super::super::Foundation:: RECT , hbr : HBRUSH ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn FillRect ( hdc : HDC , lprc : *const super::super::Foundation:: RECT , hbr : HBRUSH ) -> i32 ); FillRect(hdc.into(), lprc, hbr.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1148,7 +1148,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn FillRgn ( hdc : HDC , hrgn : HRGN , hbr : HBRUSH ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FillRgn ( hdc : HDC , hrgn : HRGN , hbr : HBRUSH ) -> super::super::Foundation:: BOOL ); FillRgn(hdc.into(), hrgn.into(), hbr.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1158,7 +1158,7 @@ pub unsafe fn FixBrushOrgEx(hdc: P0, x: i32, y: i32, ptl: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn FixBrushOrgEx ( hdc : HDC , x : i32 , y : i32 , ptl : *const super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FixBrushOrgEx ( hdc : HDC , x : i32 , y : i32 , ptl : *const super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); FixBrushOrgEx(hdc.into(), x, y, ::core::mem::transmute(ptl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1168,7 +1168,7 @@ pub unsafe fn FlattenPath(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn FlattenPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FlattenPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); FlattenPath(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1179,7 +1179,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn FloodFill ( hdc : HDC , x : i32 , y : i32 , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FloodFill ( hdc : HDC , x : i32 , y : i32 , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: BOOL ); FloodFill(hdc.into(), x, y, color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1190,7 +1190,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn FrameRect ( hdc : HDC , lprc : *const super::super::Foundation:: RECT , hbr : HBRUSH ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn FrameRect ( hdc : HDC , lprc : *const super::super::Foundation:: RECT , hbr : HBRUSH ) -> i32 ); FrameRect(hdc.into(), lprc, hbr.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1202,7 +1202,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn FrameRgn ( hdc : HDC , hrgn : HRGN , hbr : HBRUSH , w : i32 , h : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn FrameRgn ( hdc : HDC , hrgn : HRGN , hbr : HBRUSH , w : i32 , h : i32 ) -> super::super::Foundation:: BOOL ); FrameRgn(hdc.into(), hrgn.into(), hbr.into(), w, h) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1213,7 +1213,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiAlphaBlend ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : BLENDFUNCTION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiAlphaBlend ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , ftn : BLENDFUNCTION ) -> super::super::Foundation:: BOOL ); GdiAlphaBlend(hdcdest.into(), xorigindest, yorigindest, wdest, hdest, hdcsrc.into(), xoriginsrc, yoriginsrc, wsrc, hsrc, ::core::mem::transmute(ftn)) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1223,20 +1223,20 @@ pub unsafe fn GdiComment(hdc: P0, lpdata: &[u8]) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiComment ( hdc : HDC , nsize : u32 , lpdata : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiComment ( hdc : HDC , nsize : u32 , lpdata : *const u8 ) -> super::super::Foundation:: BOOL ); GdiComment(hdc.into(), lpdata.len() as _, ::core::mem::transmute(lpdata.as_ptr())) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GdiFlush() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiFlush ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiFlush ( ) -> super::super::Foundation:: BOOL ); GdiFlush() } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn GdiGetBatchLimit() -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiGetBatchLimit ( ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiGetBatchLimit ( ) -> u32 ); GdiGetBatchLimit() } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1246,13 +1246,13 @@ pub unsafe fn GdiGradientFill(hdc: P0, pvertex: &[TRIVERTEX], pmesh: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiGradientFill ( hdc : HDC , pvertex : *const TRIVERTEX , nvertex : u32 , pmesh : *const ::core::ffi::c_void , ncount : u32 , ulmode : GRADIENT_FILL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiGradientFill ( hdc : HDC , pvertex : *const TRIVERTEX , nvertex : u32 , pmesh : *const ::core::ffi::c_void , ncount : u32 , ulmode : GRADIENT_FILL ) -> super::super::Foundation:: BOOL ); GdiGradientFill(hdc.into(), ::core::mem::transmute(pvertex.as_ptr()), pvertex.len() as _, pmesh, ncount, ulmode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn GdiSetBatchLimit(dw: u32) -> u32 { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiSetBatchLimit ( dw : u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiSetBatchLimit ( dw : u32 ) -> u32 ); GdiSetBatchLimit(dw) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1263,7 +1263,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiTransparentBlt ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiTransparentBlt ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 ) -> super::super::Foundation:: BOOL ); GdiTransparentBlt(hdcdest.into(), xorigindest, yorigindest, wdest, hdest, hdcsrc.into(), xoriginsrc, yoriginsrc, wsrc, hsrc, crtransparent) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1272,7 +1272,7 @@ pub unsafe fn GetArcDirection(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetArcDirection ( hdc : HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetArcDirection ( hdc : HDC ) -> i32 ); GetArcDirection(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1282,7 +1282,7 @@ pub unsafe fn GetAspectRatioFilterEx(hdc: P0, lpsize: *mut super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetAspectRatioFilterEx ( hdc : HDC , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetAspectRatioFilterEx ( hdc : HDC , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetAspectRatioFilterEx(hdc.into(), lpsize) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1291,7 +1291,7 @@ pub unsafe fn GetBitmapBits(hbit: P0, cb: i32, lpvbits: *mut ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetBitmapBits ( hbit : HBITMAP , cb : i32 , lpvbits : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetBitmapBits ( hbit : HBITMAP , cb : i32 , lpvbits : *mut ::core::ffi::c_void ) -> i32 ); GetBitmapBits(hbit.into(), cb, lpvbits) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1301,7 +1301,7 @@ pub unsafe fn GetBitmapDimensionEx(hbit: P0, lpsize: *mut super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetBitmapDimensionEx ( hbit : HBITMAP , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetBitmapDimensionEx ( hbit : HBITMAP , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetBitmapDimensionEx(hbit.into(), lpsize) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1311,7 +1311,7 @@ pub unsafe fn GetBkColor(hdc: P0) -> super::super::Foundation::COLORREF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetBkColor ( hdc : HDC ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetBkColor ( hdc : HDC ) -> super::super::Foundation:: COLORREF ); GetBkColor(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1320,7 +1320,7 @@ pub unsafe fn GetBkMode(hdc: P0) -> BACKGROUND_MODE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetBkMode ( hdc : HDC ) -> BACKGROUND_MODE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetBkMode ( hdc : HDC ) -> BACKGROUND_MODE ); GetBkMode(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1330,7 +1330,7 @@ pub unsafe fn GetBoundsRect(hdc: P0, lprect: *mut super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetBoundsRect ( hdc : HDC , lprect : *mut super::super::Foundation:: RECT , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetBoundsRect ( hdc : HDC , lprect : *mut super::super::Foundation:: RECT , flags : u32 ) -> u32 ); GetBoundsRect(hdc.into(), lprect, flags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1340,7 +1340,7 @@ pub unsafe fn GetBrushOrgEx(hdc: P0, lppt: *mut super::super::Foundation::PO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetBrushOrgEx ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetBrushOrgEx ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); GetBrushOrgEx(hdc.into(), lppt) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1350,7 +1350,7 @@ pub unsafe fn GetCharABCWidthsA(hdc: P0, wfirst: u32, wlast: u32, lpabc: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharABCWidthsA ( hdc : HDC , wfirst : u32 , wlast : u32 , lpabc : *mut ABC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharABCWidthsA ( hdc : HDC , wfirst : u32 , wlast : u32 , lpabc : *mut ABC ) -> super::super::Foundation:: BOOL ); GetCharABCWidthsA(hdc.into(), wfirst, wlast, lpabc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1360,7 +1360,7 @@ pub unsafe fn GetCharABCWidthsFloatA(hdc: P0, ifirst: u32, ilast: u32, lpabc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharABCWidthsFloatA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpabc : *mut ABCFLOAT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharABCWidthsFloatA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpabc : *mut ABCFLOAT ) -> super::super::Foundation:: BOOL ); GetCharABCWidthsFloatA(hdc.into(), ifirst, ilast, lpabc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1370,7 +1370,7 @@ pub unsafe fn GetCharABCWidthsFloatW(hdc: P0, ifirst: u32, ilast: u32, lpabc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharABCWidthsFloatW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpabc : *mut ABCFLOAT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharABCWidthsFloatW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpabc : *mut ABCFLOAT ) -> super::super::Foundation:: BOOL ); GetCharABCWidthsFloatW(hdc.into(), ifirst, ilast, lpabc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1380,7 +1380,7 @@ pub unsafe fn GetCharABCWidthsI(hdc: P0, gifirst: u32, cgi: u32, pgi: ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharABCWidthsI ( hdc : HDC , gifirst : u32 , cgi : u32 , pgi : *const u16 , pabc : *mut ABC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharABCWidthsI ( hdc : HDC , gifirst : u32 , cgi : u32 , pgi : *const u16 , pabc : *mut ABC ) -> super::super::Foundation:: BOOL ); GetCharABCWidthsI(hdc.into(), gifirst, cgi, ::core::mem::transmute(pgi.unwrap_or(::std::ptr::null())), pabc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1390,7 +1390,7 @@ pub unsafe fn GetCharABCWidthsW(hdc: P0, wfirst: u32, wlast: u32, lpabc: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharABCWidthsW ( hdc : HDC , wfirst : u32 , wlast : u32 , lpabc : *mut ABC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharABCWidthsW ( hdc : HDC , wfirst : u32 , wlast : u32 , lpabc : *mut ABC ) -> super::super::Foundation:: BOOL ); GetCharABCWidthsW(hdc.into(), wfirst, wlast, lpabc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1400,7 +1400,7 @@ pub unsafe fn GetCharWidth32A(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharWidth32A ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharWidth32A ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut i32 ) -> super::super::Foundation:: BOOL ); GetCharWidth32A(hdc.into(), ifirst, ilast, lpbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1410,7 +1410,7 @@ pub unsafe fn GetCharWidth32W(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharWidth32W ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharWidth32W ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut i32 ) -> super::super::Foundation:: BOOL ); GetCharWidth32W(hdc.into(), ifirst, ilast, lpbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1420,7 +1420,7 @@ pub unsafe fn GetCharWidthA(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharWidthA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharWidthA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut i32 ) -> super::super::Foundation:: BOOL ); GetCharWidthA(hdc.into(), ifirst, ilast, lpbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1430,7 +1430,7 @@ pub unsafe fn GetCharWidthFloatA(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharWidthFloatA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut f32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharWidthFloatA ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut f32 ) -> super::super::Foundation:: BOOL ); GetCharWidthFloatA(hdc.into(), ifirst, ilast, lpbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1440,7 +1440,7 @@ pub unsafe fn GetCharWidthFloatW(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharWidthFloatW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut f32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharWidthFloatW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut f32 ) -> super::super::Foundation:: BOOL ); GetCharWidthFloatW(hdc.into(), ifirst, ilast, lpbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1450,7 +1450,7 @@ pub unsafe fn GetCharWidthI(hdc: P0, gifirst: u32, cgi: u32, pgi: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharWidthI ( hdc : HDC , gifirst : u32 , cgi : u32 , pgi : *const u16 , piwidths : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharWidthI ( hdc : HDC , gifirst : u32 , cgi : u32 , pgi : *const u16 , piwidths : *mut i32 ) -> super::super::Foundation:: BOOL ); GetCharWidthI(hdc.into(), gifirst, cgi, ::core::mem::transmute(pgi.unwrap_or(::std::ptr::null())), piwidths) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1460,7 +1460,7 @@ pub unsafe fn GetCharWidthW(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharWidthW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharWidthW ( hdc : HDC , ifirst : u32 , ilast : u32 , lpbuffer : *mut i32 ) -> super::super::Foundation:: BOOL ); GetCharWidthW(hdc.into(), ifirst, ilast, lpbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1469,7 +1469,7 @@ pub unsafe fn GetCharacterPlacementA(hdc: P0, lpstring: &[u8], nmexextent: i where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharacterPlacementA ( hdc : HDC , lpstring : :: windows::core::PCSTR , ncount : i32 , nmexextent : i32 , lpresults : *mut GCP_RESULTSA , dwflags : GET_CHARACTER_PLACEMENT_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharacterPlacementA ( hdc : HDC , lpstring : :: windows::core::PCSTR , ncount : i32 , nmexextent : i32 , lpresults : *mut GCP_RESULTSA , dwflags : GET_CHARACTER_PLACEMENT_FLAGS ) -> u32 ); GetCharacterPlacementA(hdc.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, nmexextent, lpresults, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1478,7 +1478,7 @@ pub unsafe fn GetCharacterPlacementW(hdc: P0, lpstring: &[u16], nmexextent: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCharacterPlacementW ( hdc : HDC , lpstring : :: windows::core::PCWSTR , ncount : i32 , nmexextent : i32 , lpresults : *mut GCP_RESULTSW , dwflags : GET_CHARACTER_PLACEMENT_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCharacterPlacementW ( hdc : HDC , lpstring : :: windows::core::PCWSTR , ncount : i32 , nmexextent : i32 , lpresults : *mut GCP_RESULTSW , dwflags : GET_CHARACTER_PLACEMENT_FLAGS ) -> u32 ); GetCharacterPlacementW(hdc.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, nmexextent, lpresults, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1488,7 +1488,7 @@ pub unsafe fn GetClipBox(hdc: P0, lprect: *mut super::super::Foundation::REC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetClipBox ( hdc : HDC , lprect : *mut super::super::Foundation:: RECT ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetClipBox ( hdc : HDC , lprect : *mut super::super::Foundation:: RECT ) -> GDI_REGION_TYPE ); GetClipBox(hdc.into(), lprect) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1498,7 +1498,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetClipRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetClipRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ); GetClipRgn(hdc.into(), hrgn.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1508,7 +1508,7 @@ pub unsafe fn GetColorAdjustment(hdc: P0, lpca: *mut COLORADJUSTMENT) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetColorAdjustment ( hdc : HDC , lpca : *mut COLORADJUSTMENT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetColorAdjustment ( hdc : HDC , lpca : *mut COLORADJUSTMENT ) -> super::super::Foundation:: BOOL ); GetColorAdjustment(hdc.into(), lpca) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1517,7 +1517,7 @@ pub unsafe fn GetCurrentObject(hdc: P0, r#type: OBJ_TYPE) -> HGDIOBJ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCurrentObject ( hdc : HDC , r#type : OBJ_TYPE ) -> HGDIOBJ ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCurrentObject ( hdc : HDC , r#type : OBJ_TYPE ) -> HGDIOBJ ); GetCurrentObject(hdc.into(), r#type) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1527,7 +1527,7 @@ pub unsafe fn GetCurrentPositionEx(hdc: P0, lppt: *mut super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetCurrentPositionEx ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetCurrentPositionEx ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); GetCurrentPositionEx(hdc.into(), lppt) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1537,7 +1537,7 @@ pub unsafe fn GetDC(hwnd: P0) -> HDC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDC ( hwnd : super::super::Foundation:: HWND ) -> HDC ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDC ( hwnd : super::super::Foundation:: HWND ) -> HDC ); GetDC(hwnd.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1547,7 +1547,7 @@ pub unsafe fn GetDCBrushColor(hdc: P0) -> super::super::Foundation::COLORREF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetDCBrushColor ( hdc : HDC ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetDCBrushColor ( hdc : HDC ) -> super::super::Foundation:: COLORREF ); GetDCBrushColor(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1558,7 +1558,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDCEx ( hwnd : super::super::Foundation:: HWND , hrgnclip : HRGN , flags : GET_DCX_FLAGS ) -> HDC ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDCEx ( hwnd : super::super::Foundation:: HWND , hrgnclip : HRGN , flags : GET_DCX_FLAGS ) -> HDC ); GetDCEx(hwnd.into(), hrgnclip.into(), flags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1568,7 +1568,7 @@ pub unsafe fn GetDCOrgEx(hdc: P0, lppt: *mut super::super::Foundation::POINT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetDCOrgEx ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetDCOrgEx ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); GetDCOrgEx(hdc.into(), lppt) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1578,7 +1578,7 @@ pub unsafe fn GetDCPenColor(hdc: P0) -> super::super::Foundation::COLORREF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetDCPenColor ( hdc : HDC ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetDCPenColor ( hdc : HDC ) -> super::super::Foundation:: COLORREF ); GetDCPenColor(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1587,7 +1587,7 @@ pub unsafe fn GetDIBColorTable(hdc: P0, istart: u32, prgbq: &mut [RGBQUAD]) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetDIBColorTable ( hdc : HDC , istart : u32 , centries : u32 , prgbq : *mut RGBQUAD ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetDIBColorTable ( hdc : HDC , istart : u32 , centries : u32 , prgbq : *mut RGBQUAD ) -> u32 ); GetDIBColorTable(hdc.into(), istart, prgbq.len() as _, ::core::mem::transmute(prgbq.as_ptr())) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1597,7 +1597,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetDIBits ( hdc : HDC , hbm : HBITMAP , start : u32 , clines : u32 , lpvbits : *mut ::core::ffi::c_void , lpbmi : *mut BITMAPINFO , usage : DIB_USAGE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetDIBits ( hdc : HDC , hbm : HBITMAP , start : u32 , clines : u32 , lpvbits : *mut ::core::ffi::c_void , lpbmi : *mut BITMAPINFO , usage : DIB_USAGE ) -> i32 ); GetDIBits(hdc.into(), hbm.into(), start, clines, ::core::mem::transmute(lpvbits.unwrap_or(::std::ptr::null_mut())), lpbmi, usage) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1606,7 +1606,7 @@ pub unsafe fn GetDeviceCaps(hdc: P0, index: GET_DEVICE_CAPS_INDEX) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetDeviceCaps ( hdc : HDC , index : GET_DEVICE_CAPS_INDEX ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetDeviceCaps ( hdc : HDC , index : GET_DEVICE_CAPS_INDEX ) -> i32 ); GetDeviceCaps(hdc.into(), index) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1615,7 +1615,7 @@ pub unsafe fn GetEnhMetaFileA(lpname: P0) -> HENHMETAFILE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetEnhMetaFileA ( lpname : :: windows::core::PCSTR ) -> HENHMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetEnhMetaFileA ( lpname : :: windows::core::PCSTR ) -> HENHMETAFILE ); GetEnhMetaFileA(lpname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1624,7 +1624,7 @@ pub unsafe fn GetEnhMetaFileBits(hemf: P0, lpdata: ::core::option::Option<&m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetEnhMetaFileBits ( hemf : HENHMETAFILE , nsize : u32 , lpdata : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetEnhMetaFileBits ( hemf : HENHMETAFILE , nsize : u32 , lpdata : *mut u8 ) -> u32 ); GetEnhMetaFileBits(hemf.into(), lpdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1633,7 +1633,7 @@ pub unsafe fn GetEnhMetaFileDescriptionA(hemf: P0, lpdescription: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetEnhMetaFileDescriptionA ( hemf : HENHMETAFILE , cchbuffer : u32 , lpdescription : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetEnhMetaFileDescriptionA ( hemf : HENHMETAFILE , cchbuffer : u32 , lpdescription : :: windows::core::PSTR ) -> u32 ); GetEnhMetaFileDescriptionA(hemf.into(), lpdescription.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1642,7 +1642,7 @@ pub unsafe fn GetEnhMetaFileDescriptionW(hemf: P0, lpdescription: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetEnhMetaFileDescriptionW ( hemf : HENHMETAFILE , cchbuffer : u32 , lpdescription : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetEnhMetaFileDescriptionW ( hemf : HENHMETAFILE , cchbuffer : u32 , lpdescription : :: windows::core::PWSTR ) -> u32 ); GetEnhMetaFileDescriptionW(hemf.into(), lpdescription.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1652,7 +1652,7 @@ pub unsafe fn GetEnhMetaFileHeader(hemf: P0, nsize: u32, lpenhmetaheader: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetEnhMetaFileHeader ( hemf : HENHMETAFILE , nsize : u32 , lpenhmetaheader : *mut ENHMETAHEADER ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetEnhMetaFileHeader ( hemf : HENHMETAFILE , nsize : u32 , lpenhmetaheader : *mut ENHMETAHEADER ) -> u32 ); GetEnhMetaFileHeader(hemf.into(), nsize, ::core::mem::transmute(lpenhmetaheader.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1661,7 +1661,7 @@ pub unsafe fn GetEnhMetaFilePaletteEntries(hemf: P0, lppaletteentries: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetEnhMetaFilePaletteEntries ( hemf : HENHMETAFILE , nnumentries : u32 , lppaletteentries : *mut PALETTEENTRY ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetEnhMetaFilePaletteEntries ( hemf : HENHMETAFILE , nnumentries : u32 , lppaletteentries : *mut PALETTEENTRY ) -> u32 ); GetEnhMetaFilePaletteEntries(hemf.into(), lppaletteentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lppaletteentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1670,7 +1670,7 @@ pub unsafe fn GetEnhMetaFileW(lpname: P0) -> HENHMETAFILE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetEnhMetaFileW ( lpname : :: windows::core::PCWSTR ) -> HENHMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetEnhMetaFileW ( lpname : :: windows::core::PCWSTR ) -> HENHMETAFILE ); GetEnhMetaFileW(lpname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1679,7 +1679,7 @@ pub unsafe fn GetFontData(hdc: P0, dwtable: u32, dwoffset: u32, pvbuffer: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetFontData ( hdc : HDC , dwtable : u32 , dwoffset : u32 , pvbuffer : *mut ::core::ffi::c_void , cjbuffer : u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetFontData ( hdc : HDC , dwtable : u32 , dwoffset : u32 , pvbuffer : *mut ::core::ffi::c_void , cjbuffer : u32 ) -> u32 ); GetFontData(hdc.into(), dwtable, dwoffset, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null_mut())), cjbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1688,7 +1688,7 @@ pub unsafe fn GetFontLanguageInfo(hdc: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetFontLanguageInfo ( hdc : HDC ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetFontLanguageInfo ( hdc : HDC ) -> u32 ); GetFontLanguageInfo(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1697,7 +1697,7 @@ pub unsafe fn GetFontUnicodeRanges(hdc: P0, lpgs: ::core::option::Option<*mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetFontUnicodeRanges ( hdc : HDC , lpgs : *mut GLYPHSET ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetFontUnicodeRanges ( hdc : HDC , lpgs : *mut GLYPHSET ) -> u32 ); GetFontUnicodeRanges(hdc.into(), ::core::mem::transmute(lpgs.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1707,7 +1707,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetGlyphIndicesA ( hdc : HDC , lpstr : :: windows::core::PCSTR , c : i32 , pgi : *mut u16 , fl : u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetGlyphIndicesA ( hdc : HDC , lpstr : :: windows::core::PCSTR , c : i32 , pgi : *mut u16 , fl : u32 ) -> u32 ); GetGlyphIndicesA(hdc.into(), lpstr.into().abi(), c, pgi, fl) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1717,7 +1717,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetGlyphIndicesW ( hdc : HDC , lpstr : :: windows::core::PCWSTR , c : i32 , pgi : *mut u16 , fl : u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetGlyphIndicesW ( hdc : HDC , lpstr : :: windows::core::PCWSTR , c : i32 , pgi : *mut u16 , fl : u32 ) -> u32 ); GetGlyphIndicesW(hdc.into(), lpstr.into().abi(), c, pgi, fl) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1727,7 +1727,7 @@ pub unsafe fn GetGlyphOutlineA(hdc: P0, uchar: u32, fuformat: GET_GLYPH_OUTL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetGlyphOutlineA ( hdc : HDC , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : *mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : *mut ::core::ffi::c_void , lpmat2 : *const MAT2 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetGlyphOutlineA ( hdc : HDC , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : *mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : *mut ::core::ffi::c_void , lpmat2 : *const MAT2 ) -> u32 ); GetGlyphOutlineA(hdc.into(), uchar, fuformat, lpgm, cjbuffer, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null_mut())), lpmat2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1737,7 +1737,7 @@ pub unsafe fn GetGlyphOutlineW(hdc: P0, uchar: u32, fuformat: GET_GLYPH_OUTL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetGlyphOutlineW ( hdc : HDC , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : *mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : *mut ::core::ffi::c_void , lpmat2 : *const MAT2 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetGlyphOutlineW ( hdc : HDC , uchar : u32 , fuformat : GET_GLYPH_OUTLINE_FORMAT , lpgm : *mut GLYPHMETRICS , cjbuffer : u32 , pvbuffer : *mut ::core::ffi::c_void , lpmat2 : *const MAT2 ) -> u32 ); GetGlyphOutlineW(hdc.into(), uchar, fuformat, lpgm, cjbuffer, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null_mut())), lpmat2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1746,7 +1746,7 @@ pub unsafe fn GetGraphicsMode(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetGraphicsMode ( hdc : HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetGraphicsMode ( hdc : HDC ) -> i32 ); GetGraphicsMode(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1755,7 +1755,7 @@ pub unsafe fn GetKerningPairsA(hdc: P0, lpkernpair: ::core::option::Option<& where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetKerningPairsA ( hdc : HDC , npairs : u32 , lpkernpair : *mut KERNINGPAIR ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetKerningPairsA ( hdc : HDC , npairs : u32 , lpkernpair : *mut KERNINGPAIR ) -> u32 ); GetKerningPairsA(hdc.into(), lpkernpair.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpkernpair.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1764,7 +1764,7 @@ pub unsafe fn GetKerningPairsW(hdc: P0, lpkernpair: ::core::option::Option<& where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetKerningPairsW ( hdc : HDC , npairs : u32 , lpkernpair : *mut KERNINGPAIR ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetKerningPairsW ( hdc : HDC , npairs : u32 , lpkernpair : *mut KERNINGPAIR ) -> u32 ); GetKerningPairsW(hdc.into(), lpkernpair.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpkernpair.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1773,7 +1773,7 @@ pub unsafe fn GetLayout(hdc: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetLayout ( hdc : HDC ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetLayout ( hdc : HDC ) -> u32 ); GetLayout(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1782,7 +1782,7 @@ pub unsafe fn GetMapMode(hdc: P0) -> HDC_MAP_MODE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetMapMode ( hdc : HDC ) -> HDC_MAP_MODE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetMapMode ( hdc : HDC ) -> HDC_MAP_MODE ); GetMapMode(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1791,7 +1791,7 @@ pub unsafe fn GetMetaFileA(lpname: P0) -> HMETAFILE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetMetaFileA ( lpname : :: windows::core::PCSTR ) -> HMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetMetaFileA ( lpname : :: windows::core::PCSTR ) -> HMETAFILE ); GetMetaFileA(lpname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1800,7 +1800,7 @@ pub unsafe fn GetMetaFileBitsEx(hmf: P0, cbbuffer: u32, lpdata: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetMetaFileBitsEx ( hmf : HMETAFILE , cbbuffer : u32 , lpdata : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetMetaFileBitsEx ( hmf : HMETAFILE , cbbuffer : u32 , lpdata : *mut ::core::ffi::c_void ) -> u32 ); GetMetaFileBitsEx(hmf.into(), cbbuffer, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1809,7 +1809,7 @@ pub unsafe fn GetMetaFileW(lpname: P0) -> HMETAFILE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetMetaFileW ( lpname : :: windows::core::PCWSTR ) -> HMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetMetaFileW ( lpname : :: windows::core::PCWSTR ) -> HMETAFILE ); GetMetaFileW(lpname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1819,7 +1819,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetMetaRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetMetaRgn ( hdc : HDC , hrgn : HRGN ) -> i32 ); GetMetaRgn(hdc.into(), hrgn.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1829,7 +1829,7 @@ pub unsafe fn GetMiterLimit(hdc: P0, plimit: *mut f32) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetMiterLimit ( hdc : HDC , plimit : *mut f32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetMiterLimit ( hdc : HDC , plimit : *mut f32 ) -> super::super::Foundation:: BOOL ); GetMiterLimit(hdc.into(), plimit) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1839,7 +1839,7 @@ pub unsafe fn GetMonitorInfoA(hmonitor: P0, lpmi: *mut MONITORINFO) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMonitorInfoA ( hmonitor : HMONITOR , lpmi : *mut MONITORINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMonitorInfoA ( hmonitor : HMONITOR , lpmi : *mut MONITORINFO ) -> super::super::Foundation:: BOOL ); GetMonitorInfoA(hmonitor.into(), lpmi) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1849,7 +1849,7 @@ pub unsafe fn GetMonitorInfoW(hmonitor: P0, lpmi: *mut MONITORINFO) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMonitorInfoW ( hmonitor : HMONITOR , lpmi : *mut MONITORINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMonitorInfoW ( hmonitor : HMONITOR , lpmi : *mut MONITORINFO ) -> super::super::Foundation:: BOOL ); GetMonitorInfoW(hmonitor.into(), lpmi) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1860,7 +1860,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetNearestColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetNearestColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); GetNearestColor(hdc.into(), color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1871,7 +1871,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetNearestPaletteIndex ( h : HPALETTE , color : super::super::Foundation:: COLORREF ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetNearestPaletteIndex ( h : HPALETTE , color : super::super::Foundation:: COLORREF ) -> u32 ); GetNearestPaletteIndex(h.into(), color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1880,7 +1880,7 @@ pub unsafe fn GetObjectA(h: P0, c: i32, pv: ::core::option::Option<*mut ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetObjectA ( h : HGDIOBJ , c : i32 , pv : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetObjectA ( h : HGDIOBJ , c : i32 , pv : *mut ::core::ffi::c_void ) -> i32 ); GetObjectA(h.into(), c, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1889,7 +1889,7 @@ pub unsafe fn GetObjectType(h: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetObjectType ( h : HGDIOBJ ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetObjectType ( h : HGDIOBJ ) -> u32 ); GetObjectType(h.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1898,7 +1898,7 @@ pub unsafe fn GetObjectW(h: P0, c: i32, pv: ::core::option::Option<*mut ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetObjectW ( h : HGDIOBJ , c : i32 , pv : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetObjectW ( h : HGDIOBJ , c : i32 , pv : *mut ::core::ffi::c_void ) -> i32 ); GetObjectW(h.into(), c, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1908,7 +1908,7 @@ pub unsafe fn GetOutlineTextMetricsA(hdc: P0, cjcopy: u32, potm: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetOutlineTextMetricsA ( hdc : HDC , cjcopy : u32 , potm : *mut OUTLINETEXTMETRICA ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetOutlineTextMetricsA ( hdc : HDC , cjcopy : u32 , potm : *mut OUTLINETEXTMETRICA ) -> u32 ); GetOutlineTextMetricsA(hdc.into(), cjcopy, ::core::mem::transmute(potm.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1918,7 +1918,7 @@ pub unsafe fn GetOutlineTextMetricsW(hdc: P0, cjcopy: u32, potm: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetOutlineTextMetricsW ( hdc : HDC , cjcopy : u32 , potm : *mut OUTLINETEXTMETRICW ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetOutlineTextMetricsW ( hdc : HDC , cjcopy : u32 , potm : *mut OUTLINETEXTMETRICW ) -> u32 ); GetOutlineTextMetricsW(hdc.into(), cjcopy, ::core::mem::transmute(potm.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1927,7 +1927,7 @@ pub unsafe fn GetPaletteEntries(hpal: P0, istart: u32, ppalentries: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetPaletteEntries ( hpal : HPALETTE , istart : u32 , centries : u32 , ppalentries : *mut PALETTEENTRY ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetPaletteEntries ( hpal : HPALETTE , istart : u32 , centries : u32 , ppalentries : *mut PALETTEENTRY ) -> u32 ); GetPaletteEntries(hpal.into(), istart, ppalentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppalentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1937,7 +1937,7 @@ pub unsafe fn GetPath(hdc: P0, apt: ::core::option::Option<*mut super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetPath ( hdc : HDC , apt : *mut super::super::Foundation:: POINT , aj : *mut u8 , cpt : i32 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetPath ( hdc : HDC , apt : *mut super::super::Foundation:: POINT , aj : *mut u8 , cpt : i32 ) -> i32 ); GetPath(hdc.into(), ::core::mem::transmute(apt.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(aj.unwrap_or(::std::ptr::null_mut())), cpt) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1947,7 +1947,7 @@ pub unsafe fn GetPixel(hdc: P0, x: i32, y: i32) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetPixel ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetPixel ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: COLORREF ); GetPixel(hdc.into(), x, y) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1956,7 +1956,7 @@ pub unsafe fn GetPolyFillMode(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetPolyFillMode ( hdc : HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetPolyFillMode ( hdc : HDC ) -> i32 ); GetPolyFillMode(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1965,7 +1965,7 @@ pub unsafe fn GetROP2(hdc: P0) -> R2_MODE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetROP2 ( hdc : HDC ) -> R2_MODE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetROP2 ( hdc : HDC ) -> R2_MODE ); GetROP2(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -1975,14 +1975,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetRandomRgn ( hdc : HDC , hrgn : HRGN , i : i32 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetRandomRgn ( hdc : HDC , hrgn : HRGN , i : i32 ) -> i32 ); GetRandomRgn(hdc.into(), hrgn.into(), i) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetRasterizerCaps(lpraststat: *mut RASTERIZER_STATUS, cjbytes: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "gdi32.dll""system" fn GetRasterizerCaps ( lpraststat : *mut RASTERIZER_STATUS , cjbytes : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetRasterizerCaps ( lpraststat : *mut RASTERIZER_STATUS , cjbytes : u32 ) -> super::super::Foundation:: BOOL ); GetRasterizerCaps(lpraststat, cjbytes) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -1992,7 +1992,7 @@ pub unsafe fn GetRegionData(hrgn: P0, ncount: u32, lprgndata: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetRegionData ( hrgn : HRGN , ncount : u32 , lprgndata : *mut RGNDATA ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetRegionData ( hrgn : HRGN , ncount : u32 , lprgndata : *mut RGNDATA ) -> u32 ); GetRegionData(hrgn.into(), ncount, ::core::mem::transmute(lprgndata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2002,13 +2002,13 @@ pub unsafe fn GetRgnBox(hrgn: P0, lprc: *mut super::super::Foundation::RECT) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetRgnBox ( hrgn : HRGN , lprc : *mut super::super::Foundation:: RECT ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetRgnBox ( hrgn : HRGN , lprc : *mut super::super::Foundation:: RECT ) -> GDI_REGION_TYPE ); GetRgnBox(hrgn.into(), lprc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn GetStockObject(i: GET_STOCK_OBJECT_FLAGS) -> HGDIOBJ { - ::windows::core::link ! ( "gdi32.dll""system" fn GetStockObject ( i : GET_STOCK_OBJECT_FLAGS ) -> HGDIOBJ ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetStockObject ( i : GET_STOCK_OBJECT_FLAGS ) -> HGDIOBJ ); GetStockObject(i) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2017,19 +2017,19 @@ pub unsafe fn GetStretchBltMode(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetStretchBltMode ( hdc : HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetStretchBltMode ( hdc : HDC ) -> i32 ); GetStretchBltMode(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn GetSysColor(nindex: SYS_COLOR_INDEX) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetSysColor ( nindex : SYS_COLOR_INDEX ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetSysColor ( nindex : SYS_COLOR_INDEX ) -> u32 ); GetSysColor(nindex) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn GetSysColorBrush(nindex: SYS_COLOR_INDEX) -> HBRUSH { - ::windows::core::link ! ( "user32.dll""system" fn GetSysColorBrush ( nindex : SYS_COLOR_INDEX ) -> HBRUSH ); + ::windows::imp::link ! ( "user32.dll""system" fn GetSysColorBrush ( nindex : SYS_COLOR_INDEX ) -> HBRUSH ); GetSysColorBrush(nindex) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2038,7 +2038,7 @@ pub unsafe fn GetSystemPaletteEntries(hdc: P0, istart: u32, ppalentries: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetSystemPaletteEntries ( hdc : HDC , istart : u32 , centries : u32 , ppalentries : *mut PALETTEENTRY ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetSystemPaletteEntries ( hdc : HDC , istart : u32 , centries : u32 , ppalentries : *mut PALETTEENTRY ) -> u32 ); GetSystemPaletteEntries(hdc.into(), istart, ppalentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppalentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2047,7 +2047,7 @@ pub unsafe fn GetSystemPaletteUse(hdc: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetSystemPaletteUse ( hdc : HDC ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetSystemPaletteUse ( hdc : HDC ) -> u32 ); GetSystemPaletteUse(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2056,7 +2056,7 @@ pub unsafe fn GetTabbedTextExtentA(hdc: P0, lpstring: &[u8], lpntabstopposit where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetTabbedTextExtentA ( hdc : HDC , lpstring : :: windows::core::PCSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : *const i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetTabbedTextExtentA ( hdc : HDC , lpstring : :: windows::core::PCSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : *const i32 ) -> u32 ); GetTabbedTextExtentA(hdc.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpntabstoppositions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpntabstoppositions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2065,7 +2065,7 @@ pub unsafe fn GetTabbedTextExtentW(hdc: P0, lpstring: &[u16], lpntabstopposi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetTabbedTextExtentW ( hdc : HDC , lpstring : :: windows::core::PCWSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : *const i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetTabbedTextExtentW ( hdc : HDC , lpstring : :: windows::core::PCWSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : *const i32 ) -> u32 ); GetTabbedTextExtentW(hdc.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpntabstoppositions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpntabstoppositions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2074,7 +2074,7 @@ pub unsafe fn GetTextAlign(hdc: P0) -> TEXT_ALIGN_OPTIONS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextAlign ( hdc : HDC ) -> TEXT_ALIGN_OPTIONS ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextAlign ( hdc : HDC ) -> TEXT_ALIGN_OPTIONS ); GetTextAlign(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2083,7 +2083,7 @@ pub unsafe fn GetTextCharacterExtra(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextCharacterExtra ( hdc : HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextCharacterExtra ( hdc : HDC ) -> i32 ); GetTextCharacterExtra(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2093,7 +2093,7 @@ pub unsafe fn GetTextColor(hdc: P0) -> super::super::Foundation::COLORREF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextColor ( hdc : HDC ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextColor ( hdc : HDC ) -> super::super::Foundation:: COLORREF ); GetTextColor(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2104,7 +2104,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextExtentExPointA ( hdc : HDC , lpszstring : :: windows::core::PCSTR , cchstring : i32 , nmaxextent : i32 , lpnfit : *mut i32 , lpndx : *mut i32 , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextExtentExPointA ( hdc : HDC , lpszstring : :: windows::core::PCSTR , cchstring : i32 , nmaxextent : i32 , lpnfit : *mut i32 , lpndx : *mut i32 , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetTextExtentExPointA(hdc.into(), lpszstring.into().abi(), cchstring, nmaxextent, ::core::mem::transmute(lpnfit.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpndx.unwrap_or(::std::ptr::null_mut())), lpsize) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2114,7 +2114,7 @@ pub unsafe fn GetTextExtentExPointI(hdc: P0, lpwszstring: *const u16, cwchst where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextExtentExPointI ( hdc : HDC , lpwszstring : *const u16 , cwchstring : i32 , nmaxextent : i32 , lpnfit : *mut i32 , lpndx : *mut i32 , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextExtentExPointI ( hdc : HDC , lpwszstring : *const u16 , cwchstring : i32 , nmaxextent : i32 , lpnfit : *mut i32 , lpndx : *mut i32 , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetTextExtentExPointI(hdc.into(), lpwszstring, cwchstring, nmaxextent, ::core::mem::transmute(lpnfit.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpndx.unwrap_or(::std::ptr::null_mut())), lpsize) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2125,7 +2125,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextExtentExPointW ( hdc : HDC , lpszstring : :: windows::core::PCWSTR , cchstring : i32 , nmaxextent : i32 , lpnfit : *mut i32 , lpndx : *mut i32 , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextExtentExPointW ( hdc : HDC , lpszstring : :: windows::core::PCWSTR , cchstring : i32 , nmaxextent : i32 , lpnfit : *mut i32 , lpndx : *mut i32 , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetTextExtentExPointW(hdc.into(), lpszstring.into().abi(), cchstring, nmaxextent, ::core::mem::transmute(lpnfit.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpndx.unwrap_or(::std::ptr::null_mut())), lpsize) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2135,7 +2135,7 @@ pub unsafe fn GetTextExtentPoint32A(hdc: P0, lpstring: &[u8], psizl: *mut su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextExtentPoint32A ( hdc : HDC , lpstring : :: windows::core::PCSTR , c : i32 , psizl : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextExtentPoint32A ( hdc : HDC , lpstring : :: windows::core::PCSTR , c : i32 , psizl : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetTextExtentPoint32A(hdc.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, psizl) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2145,7 +2145,7 @@ pub unsafe fn GetTextExtentPoint32W(hdc: P0, lpstring: &[u16], psizl: *mut s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextExtentPoint32W ( hdc : HDC , lpstring : :: windows::core::PCWSTR , c : i32 , psizl : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextExtentPoint32W ( hdc : HDC , lpstring : :: windows::core::PCWSTR , c : i32 , psizl : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetTextExtentPoint32W(hdc.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, psizl) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2155,7 +2155,7 @@ pub unsafe fn GetTextExtentPointA(hdc: P0, lpstring: &[u8], lpsz: *mut super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextExtentPointA ( hdc : HDC , lpstring : :: windows::core::PCSTR , c : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextExtentPointA ( hdc : HDC , lpstring : :: windows::core::PCSTR , c : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetTextExtentPointA(hdc.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpsz) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2165,7 +2165,7 @@ pub unsafe fn GetTextExtentPointI(hdc: P0, pgiin: &[u16], psize: *mut super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextExtentPointI ( hdc : HDC , pgiin : *const u16 , cgi : i32 , psize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextExtentPointI ( hdc : HDC , pgiin : *const u16 , cgi : i32 , psize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetTextExtentPointI(hdc.into(), ::core::mem::transmute(pgiin.as_ptr()), pgiin.len() as _, psize) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2175,7 +2175,7 @@ pub unsafe fn GetTextExtentPointW(hdc: P0, lpstring: &[u16], lpsz: *mut supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextExtentPointW ( hdc : HDC , lpstring : :: windows::core::PCWSTR , c : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextExtentPointW ( hdc : HDC , lpstring : :: windows::core::PCWSTR , c : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetTextExtentPointW(hdc.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpsz) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2184,7 +2184,7 @@ pub unsafe fn GetTextFaceA(hdc: P0, lpname: ::core::option::Option<&mut [u8] where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextFaceA ( hdc : HDC , c : i32 , lpname : :: windows::core::PSTR ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextFaceA ( hdc : HDC , c : i32 , lpname : :: windows::core::PSTR ) -> i32 ); GetTextFaceA(hdc.into(), lpname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2193,7 +2193,7 @@ pub unsafe fn GetTextFaceW(hdc: P0, lpname: ::core::option::Option<&mut [u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextFaceW ( hdc : HDC , c : i32 , lpname : :: windows::core::PWSTR ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextFaceW ( hdc : HDC , c : i32 , lpname : :: windows::core::PWSTR ) -> i32 ); GetTextFaceW(hdc.into(), lpname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2203,7 +2203,7 @@ pub unsafe fn GetTextMetricsA(hdc: P0, lptm: *mut TEXTMETRICA) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextMetricsA ( hdc : HDC , lptm : *mut TEXTMETRICA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextMetricsA ( hdc : HDC , lptm : *mut TEXTMETRICA ) -> super::super::Foundation:: BOOL ); GetTextMetricsA(hdc.into(), lptm) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2213,7 +2213,7 @@ pub unsafe fn GetTextMetricsW(hdc: P0, lptm: *mut TEXTMETRICW) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetTextMetricsW ( hdc : HDC , lptm : *mut TEXTMETRICW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetTextMetricsW ( hdc : HDC , lptm : *mut TEXTMETRICW ) -> super::super::Foundation:: BOOL ); GetTextMetricsW(hdc.into(), lptm) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2224,7 +2224,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetUpdateRect ( hwnd : super::super::Foundation:: HWND , lprect : *mut super::super::Foundation:: RECT , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetUpdateRect ( hwnd : super::super::Foundation:: HWND , lprect : *mut super::super::Foundation:: RECT , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetUpdateRect(hwnd.into(), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null_mut())), berase.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2236,7 +2236,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetUpdateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , berase : super::super::Foundation:: BOOL ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "user32.dll""system" fn GetUpdateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , berase : super::super::Foundation:: BOOL ) -> GDI_REGION_TYPE ); GetUpdateRgn(hwnd.into(), hrgn.into(), berase.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2246,7 +2246,7 @@ pub unsafe fn GetViewportExtEx(hdc: P0, lpsize: *mut super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetViewportExtEx ( hdc : HDC , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetViewportExtEx ( hdc : HDC , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetViewportExtEx(hdc.into(), lpsize) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2256,7 +2256,7 @@ pub unsafe fn GetViewportOrgEx(hdc: P0, lppoint: *mut super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetViewportOrgEx ( hdc : HDC , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetViewportOrgEx ( hdc : HDC , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); GetViewportOrgEx(hdc.into(), lppoint) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2266,7 +2266,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetWinMetaFileBits ( hemf : HENHMETAFILE , cbdata16 : u32 , pdata16 : *mut u8 , imapmode : i32 , hdcref : HDC ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetWinMetaFileBits ( hemf : HENHMETAFILE , cbdata16 : u32 , pdata16 : *mut u8 , imapmode : i32 , hdcref : HDC ) -> u32 ); GetWinMetaFileBits(hemf.into(), pdata16.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pdata16.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), imapmode, hdcref.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2276,7 +2276,7 @@ pub unsafe fn GetWindowDC(hwnd: P0) -> HDC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowDC ( hwnd : super::super::Foundation:: HWND ) -> HDC ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowDC ( hwnd : super::super::Foundation:: HWND ) -> HDC ); GetWindowDC(hwnd.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2286,7 +2286,7 @@ pub unsafe fn GetWindowExtEx(hdc: P0, lpsize: *mut super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetWindowExtEx ( hdc : HDC , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetWindowExtEx ( hdc : HDC , lpsize : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); GetWindowExtEx(hdc.into(), lpsize) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2296,7 +2296,7 @@ pub unsafe fn GetWindowOrgEx(hdc: P0, lppoint: *mut super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetWindowOrgEx ( hdc : HDC , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetWindowOrgEx ( hdc : HDC , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); GetWindowOrgEx(hdc.into(), lppoint) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2307,7 +2307,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN ) -> GDI_REGION_TYPE ); GetWindowRgn(hwnd.into(), hrgn.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2317,7 +2317,7 @@ pub unsafe fn GetWindowRgnBox(hwnd: P0, lprc: *mut super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowRgnBox ( hwnd : super::super::Foundation:: HWND , lprc : *mut super::super::Foundation:: RECT ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowRgnBox ( hwnd : super::super::Foundation:: HWND , lprc : *mut super::super::Foundation:: RECT ) -> GDI_REGION_TYPE ); GetWindowRgnBox(hwnd.into(), lprc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2327,7 +2327,7 @@ pub unsafe fn GetWorldTransform(hdc: P0, lpxf: *mut XFORM) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetWorldTransform ( hdc : HDC , lpxf : *mut XFORM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetWorldTransform ( hdc : HDC , lpxf : *mut XFORM ) -> super::super::Foundation:: BOOL ); GetWorldTransform(hdc.into(), lpxf) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2337,7 +2337,7 @@ pub unsafe fn GradientFill(hdc: P0, pvertex: &[TRIVERTEX], pmesh: *const ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msimg32.dll""system" fn GradientFill ( hdc : HDC , pvertex : *const TRIVERTEX , nvertex : u32 , pmesh : *const ::core::ffi::c_void , nmesh : u32 , ulmode : GRADIENT_FILL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msimg32.dll""system" fn GradientFill ( hdc : HDC , pvertex : *const TRIVERTEX , nvertex : u32 , pmesh : *const ::core::ffi::c_void , nmesh : u32 , ulmode : GRADIENT_FILL ) -> super::super::Foundation:: BOOL ); GradientFill(hdc.into(), ::core::mem::transmute(pvertex.as_ptr()), pvertex.len() as _, pmesh, nmesh, ulmode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2349,7 +2349,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GrayStringA ( hdc : HDC , hbrush : HBRUSH , lpoutputfunc : GRAYSTRINGPROC , lpdata : super::super::Foundation:: LPARAM , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GrayStringA ( hdc : HDC , hbrush : HBRUSH , lpoutputfunc : GRAYSTRINGPROC , lpdata : super::super::Foundation:: LPARAM , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ); GrayStringA(hdc.into(), hbrush.into(), lpoutputfunc, lpdata.into(), ncount, x, y, nwidth, nheight) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2361,14 +2361,14 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GrayStringW ( hdc : HDC , hbrush : HBRUSH , lpoutputfunc : GRAYSTRINGPROC , lpdata : super::super::Foundation:: LPARAM , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GrayStringW ( hdc : HDC , hbrush : HBRUSH , lpoutputfunc : GRAYSTRINGPROC , lpdata : super::super::Foundation:: LPARAM , ncount : i32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ); GrayStringW(hdc.into(), hbrush.into(), lpoutputfunc, lpdata.into(), ncount, x, y, nwidth, nheight) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InflateRect(lprc: *mut super::super::Foundation::RECT, dx: i32, dy: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn InflateRect ( lprc : *mut super::super::Foundation:: RECT , dx : i32 , dy : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InflateRect ( lprc : *mut super::super::Foundation:: RECT , dx : i32 , dy : i32 ) -> super::super::Foundation:: BOOL ); InflateRect(lprc, dx, dy) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2377,14 +2377,14 @@ pub unsafe fn IntersectClipRect(hdc: P0, left: i32, top: i32, right: i32, bo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn IntersectClipRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn IntersectClipRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> GDI_REGION_TYPE ); IntersectClipRect(hdc.into(), left, top, right, bottom) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IntersectRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IntersectRect ( lprcdst : *mut super::super::Foundation:: RECT , lprcsrc1 : *const super::super::Foundation:: RECT , lprcsrc2 : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IntersectRect ( lprcdst : *mut super::super::Foundation:: RECT , lprcsrc1 : *const super::super::Foundation:: RECT , lprcsrc2 : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); IntersectRect(lprcdst, lprcsrc1, lprcsrc2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2395,7 +2395,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn InvalidateRect ( hwnd : super::super::Foundation:: HWND , lprect : *const super::super::Foundation:: RECT , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InvalidateRect ( hwnd : super::super::Foundation:: HWND , lprect : *const super::super::Foundation:: RECT , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); InvalidateRect(hwnd.into(), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), berase.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2407,7 +2407,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn InvalidateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InvalidateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , berase : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); InvalidateRgn(hwnd.into(), hrgn.into(), berase.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2417,7 +2417,7 @@ pub unsafe fn InvertRect(hdc: P0, lprc: *const super::super::Foundation::REC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn InvertRect ( hdc : HDC , lprc : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InvertRect ( hdc : HDC , lprc : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); InvertRect(hdc.into(), lprc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2428,14 +2428,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn InvertRgn ( hdc : HDC , hrgn : HRGN ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn InvertRgn ( hdc : HDC , hrgn : HRGN ) -> super::super::Foundation:: BOOL ); InvertRgn(hdc.into(), hrgn.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsRectEmpty(lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsRectEmpty ( lprc : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsRectEmpty ( lprc : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); IsRectEmpty(lprc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2445,7 +2445,7 @@ pub unsafe fn LPtoDP(hdc: P0, lppt: &mut [super::super::Foundation::POINT]) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn LPtoDP ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT , c : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn LPtoDP ( hdc : HDC , lppt : *mut super::super::Foundation:: POINT , c : i32 ) -> super::super::Foundation:: BOOL ); LPtoDP(hdc.into(), ::core::mem::transmute(lppt.as_ptr()), lppt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2455,7 +2455,7 @@ pub unsafe fn LineDDA(xstart: i32, ystart: i32, xend: i32, yend: i32, lpproc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn LineDDA ( xstart : i32 , ystart : i32 , xend : i32 , yend : i32 , lpproc : LINEDDAPROC , data : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn LineDDA ( xstart : i32 , ystart : i32 , xend : i32 , yend : i32 , lpproc : LINEDDAPROC , data : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); LineDDA(xstart, ystart, xend, yend, lpproc, data.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2465,7 +2465,7 @@ pub unsafe fn LineTo(hdc: P0, x: i32, y: i32) -> super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn LineTo ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn LineTo ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); LineTo(hdc.into(), x, y) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2476,7 +2476,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadBitmapA ( hinstance : super::super::Foundation:: HINSTANCE , lpbitmapname : :: windows::core::PCSTR ) -> HBITMAP ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadBitmapA ( hinstance : super::super::Foundation:: HINSTANCE , lpbitmapname : :: windows::core::PCSTR ) -> HBITMAP ); LoadBitmapA(hinstance.into(), lpbitmapname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2487,7 +2487,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadBitmapW ( hinstance : super::super::Foundation:: HINSTANCE , lpbitmapname : :: windows::core::PCWSTR ) -> HBITMAP ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadBitmapW ( hinstance : super::super::Foundation:: HINSTANCE , lpbitmapname : :: windows::core::PCWSTR ) -> HBITMAP ); LoadBitmapW(hinstance.into(), lpbitmapname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2497,7 +2497,7 @@ pub unsafe fn LockWindowUpdate(hwndlock: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn LockWindowUpdate ( hwndlock : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn LockWindowUpdate ( hwndlock : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); LockWindowUpdate(hwndlock.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2508,7 +2508,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn MapWindowPoints ( hwndfrom : super::super::Foundation:: HWND , hwndto : super::super::Foundation:: HWND , lppoints : *mut super::super::Foundation:: POINT , cpoints : u32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn MapWindowPoints ( hwndfrom : super::super::Foundation:: HWND , hwndto : super::super::Foundation:: HWND , lppoints : *mut super::super::Foundation:: POINT , cpoints : u32 ) -> i32 ); MapWindowPoints(hwndfrom.into(), hwndto.into(), ::core::mem::transmute(lppoints.as_ptr()), lppoints.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2520,13 +2520,13 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn MaskBlt ( hdcdest : HDC , xdest : i32 , ydest : i32 , width : i32 , height : i32 , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , hbmmask : HBITMAP , xmask : i32 , ymask : i32 , rop : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn MaskBlt ( hdcdest : HDC , xdest : i32 , ydest : i32 , width : i32 , height : i32 , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , hbmmask : HBITMAP , xmask : i32 , ymask : i32 , rop : u32 ) -> super::super::Foundation:: BOOL ); MaskBlt(hdcdest.into(), xdest, ydest, width, height, hdcsrc.into(), xsrc, ysrc, hbmmask.into(), xmask, ymask, rop) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn MergeFontPackage(puchmergefontbuffer: *const u8, ulmergefontbuffersize: u32, puchfontpackagebuffer: *const u8, ulfontpackagebuffersize: u32, ppuchdestbuffer: *mut *mut u8, puldestbuffersize: *mut u32, pulbyteswritten: *mut u32, usmode: u16, lpfnallocate: CFP_ALLOCPROC, lpfnreallocate: CFP_REALLOCPROC, lpfnfree: CFP_FREEPROC, lpvreserved: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "fontsub.dll""cdecl" fn MergeFontPackage ( puchmergefontbuffer : *const u8 , ulmergefontbuffersize : u32 , puchfontpackagebuffer : *const u8 , ulfontpackagebuffersize : u32 , ppuchdestbuffer : *mut *mut u8 , puldestbuffersize : *mut u32 , pulbyteswritten : *mut u32 , usmode : u16 , lpfnallocate : CFP_ALLOCPROC , lpfnreallocate : CFP_REALLOCPROC , lpfnfree : CFP_FREEPROC , lpvreserved : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "fontsub.dll""cdecl" fn MergeFontPackage ( puchmergefontbuffer : *const u8 , ulmergefontbuffersize : u32 , puchfontpackagebuffer : *const u8 , ulfontpackagebuffersize : u32 , ppuchdestbuffer : *mut *mut u8 , puldestbuffersize : *mut u32 , pulbyteswritten : *mut u32 , usmode : u16 , lpfnallocate : CFP_ALLOCPROC , lpfnreallocate : CFP_REALLOCPROC , lpfnfree : CFP_FREEPROC , lpvreserved : *mut ::core::ffi::c_void ) -> u32 ); MergeFontPackage(puchmergefontbuffer, ulmergefontbuffersize, puchfontpackagebuffer, ulfontpackagebuffersize, ppuchdestbuffer, puldestbuffersize, pulbyteswritten, usmode, lpfnallocate, lpfnreallocate, lpfnfree, lpvreserved) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2536,21 +2536,21 @@ pub unsafe fn ModifyWorldTransform(hdc: P0, lpxf: ::core::option::Option<*co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ModifyWorldTransform ( hdc : HDC , lpxf : *const XFORM , mode : MODIFY_WORLD_TRANSFORM_MODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ModifyWorldTransform ( hdc : HDC , lpxf : *const XFORM , mode : MODIFY_WORLD_TRANSFORM_MODE ) -> super::super::Foundation:: BOOL ); ModifyWorldTransform(hdc.into(), ::core::mem::transmute(lpxf.unwrap_or(::std::ptr::null())), mode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MonitorFromPoint(pt: super::super::Foundation::POINT, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR { - ::windows::core::link ! ( "user32.dll""system" fn MonitorFromPoint ( pt : super::super::Foundation:: POINT , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ); + ::windows::imp::link ! ( "user32.dll""system" fn MonitorFromPoint ( pt : super::super::Foundation:: POINT , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ); MonitorFromPoint(::core::mem::transmute(pt), dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MonitorFromRect(lprc: *const super::super::Foundation::RECT, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR { - ::windows::core::link ! ( "user32.dll""system" fn MonitorFromRect ( lprc : *const super::super::Foundation:: RECT , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ); + ::windows::imp::link ! ( "user32.dll""system" fn MonitorFromRect ( lprc : *const super::super::Foundation:: RECT , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ); MonitorFromRect(lprc, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2560,7 +2560,7 @@ pub unsafe fn MonitorFromWindow(hwnd: P0, dwflags: MONITOR_FROM_FLAGS) -> HM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn MonitorFromWindow ( hwnd : super::super::Foundation:: HWND , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ); + ::windows::imp::link ! ( "user32.dll""system" fn MonitorFromWindow ( hwnd : super::super::Foundation:: HWND , dwflags : MONITOR_FROM_FLAGS ) -> HMONITOR ); MonitorFromWindow(hwnd.into(), dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2570,7 +2570,7 @@ pub unsafe fn MoveToEx(hdc: P0, x: i32, y: i32, lppt: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn MoveToEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn MoveToEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); MoveToEx(hdc.into(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2579,14 +2579,14 @@ pub unsafe fn OffsetClipRgn(hdc: P0, x: i32, y: i32) -> GDI_REGION_TYPE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn OffsetClipRgn ( hdc : HDC , x : i32 , y : i32 ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn OffsetClipRgn ( hdc : HDC , x : i32 , y : i32 ) -> GDI_REGION_TYPE ); OffsetClipRgn(hdc.into(), x, y) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OffsetRect(lprc: *mut super::super::Foundation::RECT, dx: i32, dy: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn OffsetRect ( lprc : *mut super::super::Foundation:: RECT , dx : i32 , dy : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn OffsetRect ( lprc : *mut super::super::Foundation:: RECT , dx : i32 , dy : i32 ) -> super::super::Foundation:: BOOL ); OffsetRect(lprc, dx, dy) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2595,7 +2595,7 @@ pub unsafe fn OffsetRgn(hrgn: P0, x: i32, y: i32) -> GDI_REGION_TYPE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn OffsetRgn ( hrgn : HRGN , x : i32 , y : i32 ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn OffsetRgn ( hrgn : HRGN , x : i32 , y : i32 ) -> GDI_REGION_TYPE ); OffsetRgn(hrgn.into(), x, y) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2605,7 +2605,7 @@ pub unsafe fn OffsetViewportOrgEx(hdc: P0, x: i32, y: i32, lppt: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn OffsetViewportOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn OffsetViewportOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); OffsetViewportOrgEx(hdc.into(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2615,7 +2615,7 @@ pub unsafe fn OffsetWindowOrgEx(hdc: P0, x: i32, y: i32, lppt: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn OffsetWindowOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn OffsetWindowOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); OffsetWindowOrgEx(hdc.into(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2625,7 +2625,7 @@ pub unsafe fn PaintDesktop(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PaintDesktop ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PaintDesktop ( hdc : HDC ) -> super::super::Foundation:: BOOL ); PaintDesktop(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2636,7 +2636,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PaintRgn ( hdc : HDC , hrgn : HRGN ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PaintRgn ( hdc : HDC , hrgn : HRGN ) -> super::super::Foundation:: BOOL ); PaintRgn(hdc.into(), hrgn.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2646,7 +2646,7 @@ pub unsafe fn PatBlt(hdc: P0, x: i32, y: i32, w: i32, h: i32, rop: ROP_CODE) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PatBlt ( hdc : HDC , x : i32 , y : i32 , w : i32 , h : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PatBlt ( hdc : HDC , x : i32 , y : i32 , w : i32 , h : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ); PatBlt(hdc.into(), x, y, w, h, rop) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2655,7 +2655,7 @@ pub unsafe fn PathToRegion(hdc: P0) -> HRGN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PathToRegion ( hdc : HDC ) -> HRGN ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PathToRegion ( hdc : HDC ) -> HRGN ); PathToRegion(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2665,7 +2665,7 @@ pub unsafe fn Pie(hdc: P0, left: i32, top: i32, right: i32, bottom: i32, xr1 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn Pie ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn Pie ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , xr1 : i32 , yr1 : i32 , xr2 : i32 , yr2 : i32 ) -> super::super::Foundation:: BOOL ); Pie(hdc.into(), left, top, right, bottom, xr1, yr1, xr2, yr2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2676,7 +2676,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PlayEnhMetaFile ( hdc : HDC , hmf : HENHMETAFILE , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PlayEnhMetaFile ( hdc : HDC , hmf : HENHMETAFILE , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); PlayEnhMetaFile(hdc.into(), hmf.into(), lprect) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2686,7 +2686,7 @@ pub unsafe fn PlayEnhMetaFileRecord(hdc: P0, pht: &[HANDLETABLE], pmr: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PlayEnhMetaFileRecord ( hdc : HDC , pht : *const HANDLETABLE , pmr : *const ENHMETARECORD , cht : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PlayEnhMetaFileRecord ( hdc : HDC , pht : *const HANDLETABLE , pmr : *const ENHMETARECORD , cht : u32 ) -> super::super::Foundation:: BOOL ); PlayEnhMetaFileRecord(hdc.into(), ::core::mem::transmute(pht.as_ptr()), pmr, pht.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2697,7 +2697,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PlayMetaFile ( hdc : HDC , hmf : HMETAFILE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PlayMetaFile ( hdc : HDC , hmf : HMETAFILE ) -> super::super::Foundation:: BOOL ); PlayMetaFile(hdc.into(), hmf.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2707,7 +2707,7 @@ pub unsafe fn PlayMetaFileRecord(hdc: P0, lphandletable: &[HANDLETABLE], lpm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PlayMetaFileRecord ( hdc : HDC , lphandletable : *const HANDLETABLE , lpmr : *const METARECORD , noobjs : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PlayMetaFileRecord ( hdc : HDC , lphandletable : *const HANDLETABLE , lpmr : *const METARECORD , noobjs : u32 ) -> super::super::Foundation:: BOOL ); PlayMetaFileRecord(hdc.into(), ::core::mem::transmute(lphandletable.as_ptr()), lpmr, lphandletable.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2719,7 +2719,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PlgBlt ( hdcdest : HDC , lppoint : *const super::super::Foundation:: POINT , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , width : i32 , height : i32 , hbmmask : HBITMAP , xmask : i32 , ymask : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PlgBlt ( hdcdest : HDC , lppoint : *const super::super::Foundation:: POINT , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , width : i32 , height : i32 , hbmmask : HBITMAP , xmask : i32 , ymask : i32 ) -> super::super::Foundation:: BOOL ); PlgBlt(hdcdest.into(), ::core::mem::transmute(lppoint.as_ptr()), hdcsrc.into(), xsrc, ysrc, width, height, hbmmask.into(), xmask, ymask) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2729,7 +2729,7 @@ pub unsafe fn PolyBezier(hdc: P0, apt: &[super::super::Foundation::POINT]) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PolyBezier ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PolyBezier ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ); PolyBezier(hdc.into(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2739,7 +2739,7 @@ pub unsafe fn PolyBezierTo(hdc: P0, apt: &[super::super::Foundation::POINT]) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PolyBezierTo ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PolyBezierTo ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ); PolyBezierTo(hdc.into(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2749,7 +2749,7 @@ pub unsafe fn PolyDraw(hdc: P0, apt: *const super::super::Foundation::POINT, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PolyDraw ( hdc : HDC , apt : *const super::super::Foundation:: POINT , aj : *const u8 , cpt : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PolyDraw ( hdc : HDC , apt : *const super::super::Foundation:: POINT , aj : *const u8 , cpt : i32 ) -> super::super::Foundation:: BOOL ); PolyDraw(hdc.into(), apt, aj, cpt) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2759,7 +2759,7 @@ pub unsafe fn PolyPolygon(hdc: P0, apt: *const super::super::Foundation::POI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PolyPolygon ( hdc : HDC , apt : *const super::super::Foundation:: POINT , asz : *const i32 , csz : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PolyPolygon ( hdc : HDC , apt : *const super::super::Foundation:: POINT , asz : *const i32 , csz : i32 ) -> super::super::Foundation:: BOOL ); PolyPolygon(hdc.into(), apt, ::core::mem::transmute(asz.as_ptr()), asz.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2769,7 +2769,7 @@ pub unsafe fn PolyPolyline(hdc: P0, apt: *const super::super::Foundation::PO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PolyPolyline ( hdc : HDC , apt : *const super::super::Foundation:: POINT , asz : *const u32 , csz : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PolyPolyline ( hdc : HDC , apt : *const super::super::Foundation:: POINT , asz : *const u32 , csz : u32 ) -> super::super::Foundation:: BOOL ); PolyPolyline(hdc.into(), apt, ::core::mem::transmute(asz.as_ptr()), asz.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2779,7 +2779,7 @@ pub unsafe fn PolyTextOutA(hdc: P0, ppt: &[POLYTEXTA]) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PolyTextOutA ( hdc : HDC , ppt : *const POLYTEXTA , nstrings : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PolyTextOutA ( hdc : HDC , ppt : *const POLYTEXTA , nstrings : i32 ) -> super::super::Foundation:: BOOL ); PolyTextOutA(hdc.into(), ::core::mem::transmute(ppt.as_ptr()), ppt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2789,7 +2789,7 @@ pub unsafe fn PolyTextOutW(hdc: P0, ppt: &[POLYTEXTW]) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PolyTextOutW ( hdc : HDC , ppt : *const POLYTEXTW , nstrings : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PolyTextOutW ( hdc : HDC , ppt : *const POLYTEXTW , nstrings : i32 ) -> super::super::Foundation:: BOOL ); PolyTextOutW(hdc.into(), ::core::mem::transmute(ppt.as_ptr()), ppt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2799,7 +2799,7 @@ pub unsafe fn Polygon(hdc: P0, apt: &[super::super::Foundation::POINT]) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn Polygon ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn Polygon ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : i32 ) -> super::super::Foundation:: BOOL ); Polygon(hdc.into(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2809,7 +2809,7 @@ pub unsafe fn Polyline(hdc: P0, apt: &[super::super::Foundation::POINT]) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn Polyline ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn Polyline ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : i32 ) -> super::super::Foundation:: BOOL ); Polyline(hdc.into(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2819,14 +2819,14 @@ pub unsafe fn PolylineTo(hdc: P0, apt: &[super::super::Foundation::POINT]) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PolylineTo ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PolylineTo ( hdc : HDC , apt : *const super::super::Foundation:: POINT , cpt : u32 ) -> super::super::Foundation:: BOOL ); PolylineTo(hdc.into(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PtInRect(lprc: *const super::super::Foundation::RECT, pt: super::super::Foundation::POINT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn PtInRect ( lprc : *const super::super::Foundation:: RECT , pt : super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PtInRect ( lprc : *const super::super::Foundation:: RECT , pt : super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); PtInRect(lprc, ::core::mem::transmute(pt)) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2836,7 +2836,7 @@ pub unsafe fn PtInRegion(hrgn: P0, x: i32, y: i32) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PtInRegion ( hrgn : HRGN , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PtInRegion ( hrgn : HRGN , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); PtInRegion(hrgn.into(), x, y) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2846,7 +2846,7 @@ pub unsafe fn PtVisible(hdc: P0, x: i32, y: i32) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn PtVisible ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn PtVisible ( hdc : HDC , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); PtVisible(hdc.into(), x, y) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2855,7 +2855,7 @@ pub unsafe fn RealizePalette(hdc: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn RealizePalette ( hdc : HDC ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RealizePalette ( hdc : HDC ) -> u32 ); RealizePalette(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2865,7 +2865,7 @@ pub unsafe fn RectInRegion(hrgn: P0, lprect: *const super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn RectInRegion ( hrgn : HRGN , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RectInRegion ( hrgn : HRGN , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); RectInRegion(hrgn.into(), lprect) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2875,7 +2875,7 @@ pub unsafe fn RectVisible(hdc: P0, lprect: *const super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn RectVisible ( hdc : HDC , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RectVisible ( hdc : HDC , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); RectVisible(hdc.into(), lprect) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2885,7 +2885,7 @@ pub unsafe fn Rectangle(hdc: P0, left: i32, top: i32, right: i32, bottom: i3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn Rectangle ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn Rectangle ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ); Rectangle(hdc.into(), left, top, right, bottom) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2896,7 +2896,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RedrawWindow ( hwnd : super::super::Foundation:: HWND , lprcupdate : *const super::super::Foundation:: RECT , hrgnupdate : HRGN , flags : REDRAW_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RedrawWindow ( hwnd : super::super::Foundation:: HWND , lprcupdate : *const super::super::Foundation:: RECT , hrgnupdate : HRGN , flags : REDRAW_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ); RedrawWindow(hwnd.into(), ::core::mem::transmute(lprcupdate.unwrap_or(::std::ptr::null())), hrgnupdate.into(), flags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2907,7 +2907,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ReleaseDC ( hwnd : super::super::Foundation:: HWND , hdc : HDC ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ReleaseDC ( hwnd : super::super::Foundation:: HWND , hdc : HDC ) -> i32 ); ReleaseDC(hwnd.into(), hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2917,7 +2917,7 @@ pub unsafe fn RemoveFontMemResourceEx(h: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn RemoveFontMemResourceEx ( h : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RemoveFontMemResourceEx ( h : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); RemoveFontMemResourceEx(h.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2927,7 +2927,7 @@ pub unsafe fn RemoveFontResourceA(lpfilename: P0) -> super::super::Foundatio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn RemoveFontResourceA ( lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RemoveFontResourceA ( lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); RemoveFontResourceA(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2937,7 +2937,7 @@ pub unsafe fn RemoveFontResourceExA(name: P0, fl: u32, pdv: ::core::option:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn RemoveFontResourceExA ( name : :: windows::core::PCSTR , fl : u32 , pdv : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RemoveFontResourceExA ( name : :: windows::core::PCSTR , fl : u32 , pdv : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); RemoveFontResourceExA(name.into().abi(), fl, ::core::mem::transmute(pdv.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2947,7 +2947,7 @@ pub unsafe fn RemoveFontResourceExW(name: P0, fl: u32, pdv: ::core::option:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn RemoveFontResourceExW ( name : :: windows::core::PCWSTR , fl : u32 , pdv : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RemoveFontResourceExW ( name : :: windows::core::PCWSTR , fl : u32 , pdv : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); RemoveFontResourceExW(name.into().abi(), fl, ::core::mem::transmute(pdv.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2957,7 +2957,7 @@ pub unsafe fn RemoveFontResourceW(lpfilename: P0) -> super::super::Foundatio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn RemoveFontResourceW ( lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RemoveFontResourceW ( lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); RemoveFontResourceW(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2967,7 +2967,7 @@ pub unsafe fn ResetDCA(hdc: P0, lpdm: *const DEVMODEA) -> HDC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ResetDCA ( hdc : HDC , lpdm : *const DEVMODEA ) -> HDC ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ResetDCA ( hdc : HDC , lpdm : *const DEVMODEA ) -> HDC ); ResetDCA(hdc.into(), lpdm) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2977,7 +2977,7 @@ pub unsafe fn ResetDCW(hdc: P0, lpdm: *const DEVMODEW) -> HDC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ResetDCW ( hdc : HDC , lpdm : *const DEVMODEW ) -> HDC ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ResetDCW ( hdc : HDC , lpdm : *const DEVMODEW ) -> HDC ); ResetDCW(hdc.into(), lpdm) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2987,7 +2987,7 @@ pub unsafe fn ResizePalette(hpal: P0, n: u32) -> super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ResizePalette ( hpal : HPALETTE , n : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ResizePalette ( hpal : HPALETTE , n : u32 ) -> super::super::Foundation:: BOOL ); ResizePalette(hpal.into(), n) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -2997,7 +2997,7 @@ pub unsafe fn RestoreDC(hdc: P0, nsaveddc: i32) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn RestoreDC ( hdc : HDC , nsaveddc : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RestoreDC ( hdc : HDC , nsaveddc : i32 ) -> super::super::Foundation:: BOOL ); RestoreDC(hdc.into(), nsaveddc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3007,7 +3007,7 @@ pub unsafe fn RoundRect(hdc: P0, left: i32, top: i32, right: i32, bottom: i3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn RoundRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , width : i32 , height : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn RoundRect ( hdc : HDC , left : i32 , top : i32 , right : i32 , bottom : i32 , width : i32 , height : i32 ) -> super::super::Foundation:: BOOL ); RoundRect(hdc.into(), left, top, right, bottom, width, height) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3016,7 +3016,7 @@ pub unsafe fn SaveDC(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SaveDC ( hdc : HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SaveDC ( hdc : HDC ) -> i32 ); SaveDC(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3026,7 +3026,7 @@ pub unsafe fn ScaleViewportExtEx(hdc: P0, xn: i32, dx: i32, yn: i32, yd: i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ScaleViewportExtEx ( hdc : HDC , xn : i32 , dx : i32 , yn : i32 , yd : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ScaleViewportExtEx ( hdc : HDC , xn : i32 , dx : i32 , yn : i32 , yd : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); ScaleViewportExtEx(hdc.into(), xn, dx, yn, yd, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3036,7 +3036,7 @@ pub unsafe fn ScaleWindowExtEx(hdc: P0, xn: i32, xd: i32, yn: i32, yd: i32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ScaleWindowExtEx ( hdc : HDC , xn : i32 , xd : i32 , yn : i32 , yd : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ScaleWindowExtEx ( hdc : HDC , xn : i32 , xd : i32 , yn : i32 , yd : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); ScaleWindowExtEx(hdc.into(), xn, xd, yn, yd, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3046,7 +3046,7 @@ pub unsafe fn ScreenToClient(hwnd: P0, lppoint: *mut super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ScreenToClient ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ScreenToClient ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); ScreenToClient(hwnd.into(), lppoint) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3056,7 +3056,7 @@ pub unsafe fn SelectClipPath(hdc: P0, mode: RGN_COMBINE_MODE) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SelectClipPath ( hdc : HDC , mode : RGN_COMBINE_MODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SelectClipPath ( hdc : HDC , mode : RGN_COMBINE_MODE ) -> super::super::Foundation:: BOOL ); SelectClipPath(hdc.into(), mode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3066,7 +3066,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SelectClipRgn ( hdc : HDC , hrgn : HRGN ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SelectClipRgn ( hdc : HDC , hrgn : HRGN ) -> GDI_REGION_TYPE ); SelectClipRgn(hdc.into(), hrgn.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3076,7 +3076,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SelectObject ( hdc : HDC , h : HGDIOBJ ) -> HGDIOBJ ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SelectObject ( hdc : HDC , h : HGDIOBJ ) -> HGDIOBJ ); SelectObject(hdc.into(), h.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3088,7 +3088,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SelectPalette ( hdc : HDC , hpal : HPALETTE , bforcebkgd : super::super::Foundation:: BOOL ) -> HPALETTE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SelectPalette ( hdc : HDC , hpal : HPALETTE , bforcebkgd : super::super::Foundation:: BOOL ) -> HPALETTE ); SelectPalette(hdc.into(), hpal.into(), bforcebkgd.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3097,7 +3097,7 @@ pub unsafe fn SetArcDirection(hdc: P0, dir: ARC_DIRECTION) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetArcDirection ( hdc : HDC , dir : ARC_DIRECTION ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetArcDirection ( hdc : HDC , dir : ARC_DIRECTION ) -> i32 ); SetArcDirection(hdc.into(), dir) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3106,7 +3106,7 @@ pub unsafe fn SetBitmapBits(hbm: P0, cb: u32, pvbits: *const ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetBitmapBits ( hbm : HBITMAP , cb : u32 , pvbits : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetBitmapBits ( hbm : HBITMAP , cb : u32 , pvbits : *const ::core::ffi::c_void ) -> i32 ); SetBitmapBits(hbm.into(), cb, pvbits) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3116,7 +3116,7 @@ pub unsafe fn SetBitmapDimensionEx(hbm: P0, w: i32, h: i32, lpsz: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetBitmapDimensionEx ( hbm : HBITMAP , w : i32 , h : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetBitmapDimensionEx ( hbm : HBITMAP , w : i32 , h : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); SetBitmapDimensionEx(hbm.into(), w, h, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3127,7 +3127,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetBkColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetBkColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); SetBkColor(hdc.into(), color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3136,7 +3136,7 @@ pub unsafe fn SetBkMode(hdc: P0, mode: BACKGROUND_MODE) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetBkMode ( hdc : HDC , mode : BACKGROUND_MODE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetBkMode ( hdc : HDC , mode : BACKGROUND_MODE ) -> i32 ); SetBkMode(hdc.into(), mode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3146,7 +3146,7 @@ pub unsafe fn SetBoundsRect(hdc: P0, lprect: ::core::option::Option<*const s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetBoundsRect ( hdc : HDC , lprect : *const super::super::Foundation:: RECT , flags : SET_BOUNDS_RECT_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetBoundsRect ( hdc : HDC , lprect : *const super::super::Foundation:: RECT , flags : SET_BOUNDS_RECT_FLAGS ) -> u32 ); SetBoundsRect(hdc.into(), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3156,7 +3156,7 @@ pub unsafe fn SetBrushOrgEx(hdc: P0, x: i32, y: i32, lppt: ::core::option::O where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetBrushOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetBrushOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); SetBrushOrgEx(hdc.into(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3166,7 +3166,7 @@ pub unsafe fn SetColorAdjustment(hdc: P0, lpca: *const COLORADJUSTMENT) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetColorAdjustment ( hdc : HDC , lpca : *const COLORADJUSTMENT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetColorAdjustment ( hdc : HDC , lpca : *const COLORADJUSTMENT ) -> super::super::Foundation:: BOOL ); SetColorAdjustment(hdc.into(), lpca) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3177,7 +3177,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetDCBrushColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetDCBrushColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); SetDCBrushColor(hdc.into(), color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3188,7 +3188,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetDCPenColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetDCPenColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); SetDCPenColor(hdc.into(), color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3197,7 +3197,7 @@ pub unsafe fn SetDIBColorTable(hdc: P0, istart: u32, prgbq: &[RGBQUAD]) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetDIBColorTable ( hdc : HDC , istart : u32 , centries : u32 , prgbq : *const RGBQUAD ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetDIBColorTable ( hdc : HDC , istart : u32 , centries : u32 , prgbq : *const RGBQUAD ) -> u32 ); SetDIBColorTable(hdc.into(), istart, prgbq.len() as _, ::core::mem::transmute(prgbq.as_ptr())) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3207,7 +3207,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetDIBits ( hdc : HDC , hbm : HBITMAP , start : u32 , clines : u32 , lpbits : *const ::core::ffi::c_void , lpbmi : *const BITMAPINFO , coloruse : DIB_USAGE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetDIBits ( hdc : HDC , hbm : HBITMAP , start : u32 , clines : u32 , lpbits : *const ::core::ffi::c_void , lpbmi : *const BITMAPINFO , coloruse : DIB_USAGE ) -> i32 ); SetDIBits(hdc.into(), hbm.into(), start, clines, lpbits, lpbmi, coloruse) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3216,13 +3216,13 @@ pub unsafe fn SetDIBitsToDevice(hdc: P0, xdest: i32, ydest: i32, w: u32, h: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetDIBitsToDevice ( hdc : HDC , xdest : i32 , ydest : i32 , w : u32 , h : u32 , xsrc : i32 , ysrc : i32 , startscan : u32 , clines : u32 , lpvbits : *const ::core::ffi::c_void , lpbmi : *const BITMAPINFO , coloruse : DIB_USAGE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetDIBitsToDevice ( hdc : HDC , xdest : i32 , ydest : i32 , w : u32 , h : u32 , xsrc : i32 , ysrc : i32 , startscan : u32 , clines : u32 , lpvbits : *const ::core::ffi::c_void , lpbmi : *const BITMAPINFO , coloruse : DIB_USAGE ) -> i32 ); SetDIBitsToDevice(hdc.into(), xdest, ydest, w, h, xsrc, ysrc, startscan, clines, lpvbits, lpbmi, coloruse) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn SetEnhMetaFileBits(pb: &[u8]) -> HENHMETAFILE { - ::windows::core::link ! ( "gdi32.dll""system" fn SetEnhMetaFileBits ( nsize : u32 , pb : *const u8 ) -> HENHMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetEnhMetaFileBits ( nsize : u32 , pb : *const u8 ) -> HENHMETAFILE ); SetEnhMetaFileBits(pb.len() as _, ::core::mem::transmute(pb.as_ptr())) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3231,7 +3231,7 @@ pub unsafe fn SetGraphicsMode(hdc: P0, imode: GRAPHICS_MODE) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetGraphicsMode ( hdc : HDC , imode : GRAPHICS_MODE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetGraphicsMode ( hdc : HDC , imode : GRAPHICS_MODE ) -> i32 ); SetGraphicsMode(hdc.into(), imode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3240,7 +3240,7 @@ pub unsafe fn SetLayout(hdc: P0, l: DC_LAYOUT) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetLayout ( hdc : HDC , l : DC_LAYOUT ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetLayout ( hdc : HDC , l : DC_LAYOUT ) -> u32 ); SetLayout(hdc.into(), l) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3249,7 +3249,7 @@ pub unsafe fn SetMapMode(hdc: P0, imode: HDC_MAP_MODE) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetMapMode ( hdc : HDC , imode : HDC_MAP_MODE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetMapMode ( hdc : HDC , imode : HDC_MAP_MODE ) -> i32 ); SetMapMode(hdc.into(), imode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3258,13 +3258,13 @@ pub unsafe fn SetMapperFlags(hdc: P0, flags: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetMapperFlags ( hdc : HDC , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetMapperFlags ( hdc : HDC , flags : u32 ) -> u32 ); SetMapperFlags(hdc.into(), flags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn SetMetaFileBitsEx(lpdata: &[u8]) -> HMETAFILE { - ::windows::core::link ! ( "gdi32.dll""system" fn SetMetaFileBitsEx ( cbbuffer : u32 , lpdata : *const u8 ) -> HMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetMetaFileBitsEx ( cbbuffer : u32 , lpdata : *const u8 ) -> HMETAFILE ); SetMetaFileBitsEx(lpdata.len() as _, ::core::mem::transmute(lpdata.as_ptr())) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3273,7 +3273,7 @@ pub unsafe fn SetMetaRgn(hdc: P0) -> GDI_REGION_TYPE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetMetaRgn ( hdc : HDC ) -> GDI_REGION_TYPE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetMetaRgn ( hdc : HDC ) -> GDI_REGION_TYPE ); SetMetaRgn(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3283,7 +3283,7 @@ pub unsafe fn SetMiterLimit(hdc: P0, limit: f32, old: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetMiterLimit ( hdc : HDC , limit : f32 , old : *mut f32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetMiterLimit ( hdc : HDC , limit : f32 , old : *mut f32 ) -> super::super::Foundation:: BOOL ); SetMiterLimit(hdc.into(), limit, ::core::mem::transmute(old.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3292,7 +3292,7 @@ pub unsafe fn SetPaletteEntries(hpal: P0, istart: u32, ppalentries: &[PALETT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetPaletteEntries ( hpal : HPALETTE , istart : u32 , centries : u32 , ppalentries : *const PALETTEENTRY ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetPaletteEntries ( hpal : HPALETTE , istart : u32 , centries : u32 , ppalentries : *const PALETTEENTRY ) -> u32 ); SetPaletteEntries(hpal.into(), istart, ppalentries.len() as _, ::core::mem::transmute(ppalentries.as_ptr())) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3303,7 +3303,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetPixel ( hdc : HDC , x : i32 , y : i32 , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetPixel ( hdc : HDC , x : i32 , y : i32 , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); SetPixel(hdc.into(), x, y, color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3314,7 +3314,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetPixelV ( hdc : HDC , x : i32 , y : i32 , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetPixelV ( hdc : HDC , x : i32 , y : i32 , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: BOOL ); SetPixelV(hdc.into(), x, y, color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3323,7 +3323,7 @@ pub unsafe fn SetPolyFillMode(hdc: P0, mode: CREATE_POLYGON_RGN_MODE) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetPolyFillMode ( hdc : HDC , mode : CREATE_POLYGON_RGN_MODE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetPolyFillMode ( hdc : HDC , mode : CREATE_POLYGON_RGN_MODE ) -> i32 ); SetPolyFillMode(hdc.into(), mode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3332,21 +3332,21 @@ pub unsafe fn SetROP2(hdc: P0, rop2: R2_MODE) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetROP2 ( hdc : HDC , rop2 : R2_MODE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetROP2 ( hdc : HDC , rop2 : R2_MODE ) -> i32 ); SetROP2(hdc.into(), rop2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetRect(lprc: *mut super::super::Foundation::RECT, xleft: i32, ytop: i32, xright: i32, ybottom: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetRect ( lprc : *mut super::super::Foundation:: RECT , xleft : i32 , ytop : i32 , xright : i32 , ybottom : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetRect ( lprc : *mut super::super::Foundation:: RECT , xleft : i32 , ytop : i32 , xright : i32 , ybottom : i32 ) -> super::super::Foundation:: BOOL ); SetRect(lprc, xleft, ytop, xright, ybottom) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetRectEmpty(lprc: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetRectEmpty ( lprc : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetRectEmpty ( lprc : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); SetRectEmpty(lprc) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3356,7 +3356,7 @@ pub unsafe fn SetRectRgn(hrgn: P0, left: i32, top: i32, right: i32, bottom: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetRectRgn ( hrgn : HRGN , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetRectRgn ( hrgn : HRGN , left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: BOOL ); SetRectRgn(hrgn.into(), left, top, right, bottom) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3365,14 +3365,14 @@ pub unsafe fn SetStretchBltMode(hdc: P0, mode: STRETCH_BLT_MODE) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetStretchBltMode ( hdc : HDC , mode : STRETCH_BLT_MODE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetStretchBltMode ( hdc : HDC , mode : STRETCH_BLT_MODE ) -> i32 ); SetStretchBltMode(hdc.into(), mode) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetSysColors(celements: i32, lpaelements: *const i32, lpargbvalues: *const super::super::Foundation::COLORREF) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetSysColors ( celements : i32 , lpaelements : *const i32 , lpargbvalues : *const super::super::Foundation:: COLORREF ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetSysColors ( celements : i32 , lpaelements : *const i32 , lpargbvalues : *const super::super::Foundation:: COLORREF ) -> super::super::Foundation:: BOOL ); SetSysColors(celements, lpaelements, lpargbvalues) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3381,7 +3381,7 @@ pub unsafe fn SetSystemPaletteUse(hdc: P0, r#use: SYSTEM_PALETTE_USE) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetSystemPaletteUse ( hdc : HDC , r#use : SYSTEM_PALETTE_USE ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetSystemPaletteUse ( hdc : HDC , r#use : SYSTEM_PALETTE_USE ) -> u32 ); SetSystemPaletteUse(hdc.into(), r#use) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3390,7 +3390,7 @@ pub unsafe fn SetTextAlign(hdc: P0, align: TEXT_ALIGN_OPTIONS) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetTextAlign ( hdc : HDC , align : TEXT_ALIGN_OPTIONS ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetTextAlign ( hdc : HDC , align : TEXT_ALIGN_OPTIONS ) -> u32 ); SetTextAlign(hdc.into(), align) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3399,7 +3399,7 @@ pub unsafe fn SetTextCharacterExtra(hdc: P0, extra: i32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetTextCharacterExtra ( hdc : HDC , extra : i32 ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetTextCharacterExtra ( hdc : HDC , extra : i32 ) -> i32 ); SetTextCharacterExtra(hdc.into(), extra) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3410,7 +3410,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetTextColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetTextColor ( hdc : HDC , color : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); SetTextColor(hdc.into(), color.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3420,7 +3420,7 @@ pub unsafe fn SetTextJustification(hdc: P0, extra: i32, count: i32) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetTextJustification ( hdc : HDC , extra : i32 , count : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetTextJustification ( hdc : HDC , extra : i32 , count : i32 ) -> super::super::Foundation:: BOOL ); SetTextJustification(hdc.into(), extra, count) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3430,7 +3430,7 @@ pub unsafe fn SetViewportExtEx(hdc: P0, x: i32, y: i32, lpsz: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetViewportExtEx ( hdc : HDC , x : i32 , y : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetViewportExtEx ( hdc : HDC , x : i32 , y : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); SetViewportExtEx(hdc.into(), x, y, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3440,7 +3440,7 @@ pub unsafe fn SetViewportOrgEx(hdc: P0, x: i32, y: i32, lppt: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetViewportOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetViewportOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); SetViewportOrgEx(hdc.into(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3450,7 +3450,7 @@ pub unsafe fn SetWindowExtEx(hdc: P0, x: i32, y: i32, lpsz: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetWindowExtEx ( hdc : HDC , x : i32 , y : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetWindowExtEx ( hdc : HDC , x : i32 , y : i32 , lpsz : *mut super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ); SetWindowExtEx(hdc.into(), x, y, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3460,7 +3460,7 @@ pub unsafe fn SetWindowOrgEx(hdc: P0, x: i32, y: i32, lppt: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetWindowOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetWindowOrgEx ( hdc : HDC , x : i32 , y : i32 , lppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); SetWindowOrgEx(hdc.into(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3472,7 +3472,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , bredraw : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN , bredraw : super::super::Foundation:: BOOL ) -> i32 ); SetWindowRgn(hwnd.into(), hrgn.into(), bredraw.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3482,7 +3482,7 @@ pub unsafe fn SetWorldTransform(hdc: P0, lpxf: *const XFORM) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetWorldTransform ( hdc : HDC , lpxf : *const XFORM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetWorldTransform ( hdc : HDC , lpxf : *const XFORM ) -> super::super::Foundation:: BOOL ); SetWorldTransform(hdc.into(), lpxf) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3493,7 +3493,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn StretchBlt ( hdcdest : HDC , xdest : i32 , ydest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , wsrc : i32 , hsrc : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn StretchBlt ( hdcdest : HDC , xdest : i32 , ydest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xsrc : i32 , ysrc : i32 , wsrc : i32 , hsrc : i32 , rop : ROP_CODE ) -> super::super::Foundation:: BOOL ); StretchBlt(hdcdest.into(), xdest, ydest, wdest, hdest, hdcsrc.into(), xsrc, ysrc, wsrc, hsrc, rop) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3502,7 +3502,7 @@ pub unsafe fn StretchDIBits(hdc: P0, xdest: i32, ydest: i32, destwidth: i32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn StretchDIBits ( hdc : HDC , xdest : i32 , ydest : i32 , destwidth : i32 , destheight : i32 , xsrc : i32 , ysrc : i32 , srcwidth : i32 , srcheight : i32 , lpbits : *const ::core::ffi::c_void , lpbmi : *const BITMAPINFO , iusage : DIB_USAGE , rop : ROP_CODE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn StretchDIBits ( hdc : HDC , xdest : i32 , ydest : i32 , destwidth : i32 , destheight : i32 , xsrc : i32 , ysrc : i32 , srcwidth : i32 , srcheight : i32 , lpbits : *const ::core::ffi::c_void , lpbmi : *const BITMAPINFO , iusage : DIB_USAGE , rop : ROP_CODE ) -> i32 ); StretchDIBits(hdc.into(), xdest, ydest, destwidth, destheight, xsrc, ysrc, srcwidth, srcheight, ::core::mem::transmute(lpbits.unwrap_or(::std::ptr::null())), lpbmi, iusage, rop) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3512,7 +3512,7 @@ pub unsafe fn StrokeAndFillPath(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn StrokeAndFillPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn StrokeAndFillPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); StrokeAndFillPath(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3522,14 +3522,14 @@ pub unsafe fn StrokePath(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn StrokePath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn StrokePath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); StrokePath(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SubtractRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SubtractRect ( lprcdst : *mut super::super::Foundation:: RECT , lprcsrc1 : *const super::super::Foundation:: RECT , lprcsrc2 : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SubtractRect ( lprcdst : *mut super::super::Foundation:: RECT , lprcsrc1 : *const super::super::Foundation:: RECT , lprcsrc2 : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); SubtractRect(lprcdst, lprcsrc1, lprcsrc2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3538,7 +3538,7 @@ pub unsafe fn TTCharToUnicode(hdc: P0, puccharcodes: &[u8], pusshortcodes: & where P0: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTCharToUnicode ( hdc : HDC , puccharcodes : *const u8 , ulcharcodesize : u32 , pusshortcodes : *mut u16 , ulshortcodesize : u32 , ulflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTCharToUnicode ( hdc : HDC , puccharcodes : *const u8 , ulcharcodesize : u32 , pusshortcodes : *mut u16 , ulshortcodesize : u32 , ulflags : u32 ) -> i32 ); TTCharToUnicode(hdc.into(), ::core::mem::transmute(puccharcodes.as_ptr()), puccharcodes.len() as _, ::core::mem::transmute(pusshortcodes.as_ptr()), pusshortcodes.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3548,7 +3548,7 @@ pub unsafe fn TTDeleteEmbeddedFont(hfontreference: P0, ulflags: u32, pulstat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTDeleteEmbeddedFont ( hfontreference : super::super::Foundation:: HANDLE , ulflags : u32 , pulstatus : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTDeleteEmbeddedFont ( hfontreference : super::super::Foundation:: HANDLE , ulflags : u32 , pulstatus : *mut u32 ) -> i32 ); TTDeleteEmbeddedFont(hfontreference.into(), ulflags, pulstatus) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3557,7 +3557,7 @@ pub unsafe fn TTEmbedFont(hdc: P0, ulflags: TTEMBED_FLAGS, ulcharset: EMBED_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTEmbedFont ( hdc : HDC , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : *mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : *mut u32 , lpfnwritetostream : WRITEEMBEDPROC , lpvwritestream : *const ::core::ffi::c_void , puscharcodeset : *const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : *const TTEMBEDINFO ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTEmbedFont ( hdc : HDC , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : *mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : *mut u32 , lpfnwritetostream : WRITEEMBEDPROC , lpvwritestream : *const ::core::ffi::c_void , puscharcodeset : *const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : *const TTEMBEDINFO ) -> i32 ); TTEmbedFont(hdc.into(), ulflags, ulcharset, pulprivstatus, pulstatus, lpfnwritetostream, lpvwritestream, ::core::mem::transmute(puscharcodeset.as_ptr()), puscharcodeset.len() as _, uslanguage, ::core::mem::transmute(pttembedinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3566,7 +3566,7 @@ pub unsafe fn TTEmbedFontEx(hdc: P0, ulflags: TTEMBED_FLAGS, ulcharset: EMBE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTEmbedFontEx ( hdc : HDC , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : *mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : *mut u32 , lpfnwritetostream : WRITEEMBEDPROC , lpvwritestream : *const ::core::ffi::c_void , pulcharcodeset : *const u32 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : *const TTEMBEDINFO ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTEmbedFontEx ( hdc : HDC , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : *mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : *mut u32 , lpfnwritetostream : WRITEEMBEDPROC , lpvwritestream : *const ::core::ffi::c_void , pulcharcodeset : *const u32 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : *const TTEMBEDINFO ) -> i32 ); TTEmbedFontEx(hdc.into(), ulflags, ulcharset, pulprivstatus, pulstatus, lpfnwritetostream, lpvwritestream, ::core::mem::transmute(pulcharcodeset.as_ptr()), pulcharcodeset.len() as _, uslanguage, ::core::mem::transmute(pttembedinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3576,7 +3576,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTEmbedFontFromFileA ( hdc : HDC , szfontfilename : :: windows::core::PCSTR , usttcindex : u16 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : *mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : *mut u32 , lpfnwritetostream : WRITEEMBEDPROC , lpvwritestream : *const ::core::ffi::c_void , puscharcodeset : *const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : *const TTEMBEDINFO ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTEmbedFontFromFileA ( hdc : HDC , szfontfilename : :: windows::core::PCSTR , usttcindex : u16 , ulflags : TTEMBED_FLAGS , ulcharset : EMBED_FONT_CHARSET , pulprivstatus : *mut EMBEDDED_FONT_PRIV_STATUS , pulstatus : *mut u32 , lpfnwritetostream : WRITEEMBEDPROC , lpvwritestream : *const ::core::ffi::c_void , puscharcodeset : *const u16 , uscharcodecount : u16 , uslanguage : u16 , pttembedinfo : *const TTEMBEDINFO ) -> i32 ); TTEmbedFontFromFileA(hdc.into(), szfontfilename.into().abi(), usttcindex, ulflags, ulcharset, pulprivstatus, pulstatus, lpfnwritetostream, lpvwritestream, ::core::mem::transmute(puscharcodeset.as_ptr()), puscharcodeset.len() as _, uslanguage, ::core::mem::transmute(pttembedinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3587,13 +3587,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTEnableEmbeddingForFacename ( lpszfacename : :: windows::core::PCSTR , benable : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTEnableEmbeddingForFacename ( lpszfacename : :: windows::core::PCSTR , benable : super::super::Foundation:: BOOL ) -> i32 ); TTEnableEmbeddingForFacename(lpszfacename.into().abi(), benable.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn TTGetEmbeddedFontInfo(ulflags: TTEMBED_FLAGS, pulprivstatus: *mut u32, ulprivs: FONT_LICENSE_PRIVS, pulstatus: *mut u32, lpfnreadfromstream: READEMBEDPROC, lpvreadstream: *const ::core::ffi::c_void, pttloadinfo: ::core::option::Option<*const TTLOADINFO>) -> i32 { - ::windows::core::link ! ( "t2embed.dll""system" fn TTGetEmbeddedFontInfo ( ulflags : TTEMBED_FLAGS , pulprivstatus : *mut u32 , ulprivs : FONT_LICENSE_PRIVS , pulstatus : *mut u32 , lpfnreadfromstream : READEMBEDPROC , lpvreadstream : *const ::core::ffi::c_void , pttloadinfo : *const TTLOADINFO ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTGetEmbeddedFontInfo ( ulflags : TTEMBED_FLAGS , pulprivstatus : *mut u32 , ulprivs : FONT_LICENSE_PRIVS , pulstatus : *mut u32 , lpfnreadfromstream : READEMBEDPROC , lpvreadstream : *const ::core::ffi::c_void , pttloadinfo : *const TTLOADINFO ) -> i32 ); TTGetEmbeddedFontInfo(ulflags, pulprivstatus, ulprivs, pulstatus, lpfnreadfromstream, lpvreadstream, ::core::mem::transmute(pttloadinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3602,14 +3602,14 @@ pub unsafe fn TTGetEmbeddingType(hdc: P0, pulembedtype: *mut EMBEDDED_FONT_P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTGetEmbeddingType ( hdc : HDC , pulembedtype : *mut EMBEDDED_FONT_PRIV_STATUS ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTGetEmbeddingType ( hdc : HDC , pulembedtype : *mut EMBEDDED_FONT_PRIV_STATUS ) -> i32 ); TTGetEmbeddingType(hdc.into(), pulembedtype) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TTGetNewFontName(phfontreference: *const super::super::Foundation::HANDLE, wzwinfamilyname: &mut [u16], szmacfamilyname: &mut [u8]) -> i32 { - ::windows::core::link ! ( "t2embed.dll""system" fn TTGetNewFontName ( phfontreference : *const super::super::Foundation:: HANDLE , wzwinfamilyname : :: windows::core::PWSTR , cchmaxwinname : i32 , szmacfamilyname : :: windows::core::PSTR , cchmaxmacname : i32 ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTGetNewFontName ( phfontreference : *const super::super::Foundation:: HANDLE , wzwinfamilyname : :: windows::core::PWSTR , cchmaxwinname : i32 , szmacfamilyname : :: windows::core::PSTR , cchmaxmacname : i32 ) -> i32 ); TTGetNewFontName(phfontreference, ::core::mem::transmute(wzwinfamilyname.as_ptr()), wzwinfamilyname.len() as _, ::core::mem::transmute(szmacfamilyname.as_ptr()), szmacfamilyname.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3619,7 +3619,7 @@ pub unsafe fn TTIsEmbeddingEnabled(hdc: P0, pbenabled: *mut super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTIsEmbeddingEnabled ( hdc : HDC , pbenabled : *mut super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTIsEmbeddingEnabled ( hdc : HDC , pbenabled : *mut super::super::Foundation:: BOOL ) -> i32 ); TTIsEmbeddingEnabled(hdc.into(), pbenabled) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3629,7 +3629,7 @@ pub unsafe fn TTIsEmbeddingEnabledForFacename(lpszfacename: P0, pbenabled: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTIsEmbeddingEnabledForFacename ( lpszfacename : :: windows::core::PCSTR , pbenabled : *mut super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTIsEmbeddingEnabledForFacename ( lpszfacename : :: windows::core::PCSTR , pbenabled : *mut super::super::Foundation:: BOOL ) -> i32 ); TTIsEmbeddingEnabledForFacename(lpszfacename.into().abi(), pbenabled) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3640,7 +3640,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTLoadEmbeddedFont ( phfontreference : *mut super::super::Foundation:: HANDLE , ulflags : u32 , pulprivstatus : *mut EMBEDDED_FONT_PRIV_STATUS , ulprivs : FONT_LICENSE_PRIVS , pulstatus : *mut TTLOAD_EMBEDDED_FONT_STATUS , lpfnreadfromstream : READEMBEDPROC , lpvreadstream : *const ::core::ffi::c_void , szwinfamilyname : :: windows::core::PCWSTR , szmacfamilyname : :: windows::core::PCSTR , pttloadinfo : *const TTLOADINFO ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTLoadEmbeddedFont ( phfontreference : *mut super::super::Foundation:: HANDLE , ulflags : u32 , pulprivstatus : *mut EMBEDDED_FONT_PRIV_STATUS , ulprivs : FONT_LICENSE_PRIVS , pulstatus : *mut TTLOAD_EMBEDDED_FONT_STATUS , lpfnreadfromstream : READEMBEDPROC , lpvreadstream : *const ::core::ffi::c_void , szwinfamilyname : :: windows::core::PCWSTR , szmacfamilyname : :: windows::core::PCSTR , pttloadinfo : *const TTLOADINFO ) -> i32 ); TTLoadEmbeddedFont(phfontreference, ulflags, pulprivstatus, ulprivs, pulstatus, lpfnreadfromstream, lpvreadstream, szwinfamilyname.into().abi(), szmacfamilyname.into().abi(), ::core::mem::transmute(pttloadinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3649,7 +3649,7 @@ pub unsafe fn TTRunValidationTests(hdc: P0, ptestparam: *const TTVALIDATIONT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTRunValidationTests ( hdc : HDC , ptestparam : *const TTVALIDATIONTESTSPARAMS ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTRunValidationTests ( hdc : HDC , ptestparam : *const TTVALIDATIONTESTSPARAMS ) -> i32 ); TTRunValidationTests(hdc.into(), ptestparam) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3658,7 +3658,7 @@ pub unsafe fn TTRunValidationTestsEx(hdc: P0, ptestparam: *const TTVALIDATIO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "t2embed.dll""system" fn TTRunValidationTestsEx ( hdc : HDC , ptestparam : *const TTVALIDATIONTESTSPARAMSEX ) -> i32 ); + ::windows::imp::link ! ( "t2embed.dll""system" fn TTRunValidationTestsEx ( hdc : HDC , ptestparam : *const TTVALIDATIONTESTSPARAMSEX ) -> i32 ); TTRunValidationTestsEx(hdc.into(), ptestparam) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3667,7 +3667,7 @@ pub unsafe fn TabbedTextOutA(hdc: P0, x: i32, y: i32, lpstring: &[u8], lpnta where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn TabbedTextOutA ( hdc : HDC , x : i32 , y : i32 , lpstring : :: windows::core::PCSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : *const i32 , ntaborigin : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn TabbedTextOutA ( hdc : HDC , x : i32 , y : i32 , lpstring : :: windows::core::PCSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : *const i32 , ntaborigin : i32 ) -> i32 ); TabbedTextOutA(hdc.into(), x, y, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpntabstoppositions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpntabstoppositions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ntaborigin) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -3676,7 +3676,7 @@ pub unsafe fn TabbedTextOutW(hdc: P0, x: i32, y: i32, lpstring: &[u16], lpnt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn TabbedTextOutW ( hdc : HDC , x : i32 , y : i32 , lpstring : :: windows::core::PCWSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : *const i32 , ntaborigin : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn TabbedTextOutW ( hdc : HDC , x : i32 , y : i32 , lpstring : :: windows::core::PCWSTR , chcount : i32 , ntabpositions : i32 , lpntabstoppositions : *const i32 , ntaborigin : i32 ) -> i32 ); TabbedTextOutW(hdc.into(), x, y, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpntabstoppositions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpntabstoppositions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ntaborigin) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3686,7 +3686,7 @@ pub unsafe fn TextOutA(hdc: P0, x: i32, y: i32, lpstring: &[u8]) -> super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn TextOutA ( hdc : HDC , x : i32 , y : i32 , lpstring : :: windows::core::PCSTR , c : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn TextOutA ( hdc : HDC , x : i32 , y : i32 , lpstring : :: windows::core::PCSTR , c : i32 ) -> super::super::Foundation:: BOOL ); TextOutA(hdc.into(), x, y, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3696,7 +3696,7 @@ pub unsafe fn TextOutW(hdc: P0, x: i32, y: i32, lpstring: &[u16]) -> super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn TextOutW ( hdc : HDC , x : i32 , y : i32 , lpstring : :: windows::core::PCWSTR , c : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn TextOutW ( hdc : HDC , x : i32 , y : i32 , lpstring : :: windows::core::PCWSTR , c : i32 ) -> super::super::Foundation:: BOOL ); TextOutW(hdc.into(), x, y, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3707,14 +3707,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msimg32.dll""system" fn TransparentBlt ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msimg32.dll""system" fn TransparentBlt ( hdcdest : HDC , xorigindest : i32 , yorigindest : i32 , wdest : i32 , hdest : i32 , hdcsrc : HDC , xoriginsrc : i32 , yoriginsrc : i32 , wsrc : i32 , hsrc : i32 , crtransparent : u32 ) -> super::super::Foundation:: BOOL ); TransparentBlt(hdcdest.into(), xorigindest, yorigindest, wdest, hdest, hdcsrc.into(), xoriginsrc, yoriginsrc, wsrc, hsrc, crtransparent) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UnionRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn UnionRect ( lprcdst : *mut super::super::Foundation:: RECT , lprcsrc1 : *const super::super::Foundation:: RECT , lprcsrc2 : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnionRect ( lprcdst : *mut super::super::Foundation:: RECT , lprcsrc1 : *const super::super::Foundation:: RECT , lprcsrc2 : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); UnionRect(lprcdst, lprcsrc1, lprcsrc2) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3724,7 +3724,7 @@ pub unsafe fn UnrealizeObject(h: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn UnrealizeObject ( h : HGDIOBJ ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn UnrealizeObject ( h : HGDIOBJ ) -> super::super::Foundation:: BOOL ); UnrealizeObject(h.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3734,7 +3734,7 @@ pub unsafe fn UpdateColors(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn UpdateColors ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn UpdateColors ( hdc : HDC ) -> super::super::Foundation:: BOOL ); UpdateColors(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3744,7 +3744,7 @@ pub unsafe fn UpdateWindow(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UpdateWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UpdateWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); UpdateWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3754,7 +3754,7 @@ pub unsafe fn ValidateRect(hwnd: P0, lprect: ::core::option::Option<*const s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ValidateRect ( hwnd : super::super::Foundation:: HWND , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ValidateRect ( hwnd : super::super::Foundation:: HWND , lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); ValidateRect(hwnd.into(), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3765,7 +3765,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ValidateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ValidateRgn ( hwnd : super::super::Foundation:: HWND , hrgn : HRGN ) -> super::super::Foundation:: BOOL ); ValidateRgn(hwnd.into(), hrgn.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3775,7 +3775,7 @@ pub unsafe fn WidenPath(hdc: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn WidenPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn WidenPath ( hdc : HDC ) -> super::super::Foundation:: BOOL ); WidenPath(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] @@ -3785,13 +3785,13 @@ pub unsafe fn WindowFromDC(hdc: P0) -> super::super::Foundation::HWND where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn WindowFromDC ( hdc : HDC ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn WindowFromDC ( hdc : HDC ) -> super::super::Foundation:: HWND ); WindowFromDC(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] #[inline] pub unsafe fn wglSwapMultipleBuffers(param0: u32, param1: *const WGLSWAP) -> u32 { - ::windows::core::link ! ( "opengl32.dll""system" fn wglSwapMultipleBuffers ( param0 : u32 , param1 : *const WGLSWAP ) -> u32 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglSwapMultipleBuffers ( param0 : u32 , param1 : *const WGLSWAP ) -> u32 ); wglSwapMultipleBuffers(param0, param1) } #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs index b84812eefa..51da012a3e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs @@ -30,7 +30,7 @@ impl IWICImageEncoder { (::windows::core::Vtable::vtable(self).WriteThumbnail)(::windows::core::Vtable::as_raw(self), pimage.into().abi(), pencoder.into().abi(), pimageparameters).ok() } } -::windows::core::interface_hierarchy!(IWICImageEncoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICImageEncoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICImageEncoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -222,7 +222,7 @@ impl IWICImagingFactory2 { (::windows::core::Vtable::vtable(self).CreateImageEncoder)(::windows::core::Vtable::as_raw(self), pd2ddevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICImagingFactory2, ::windows::core::IUnknown, super::IWICImagingFactory); +::windows::imp::interface_hierarchy!(IWICImagingFactory2, ::windows::core::IUnknown, super::IWICImagingFactory); impl ::core::cmp::PartialEq for IWICImagingFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs index c8e82b5c22..81e4bef90b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -6,7 +6,7 @@ pub unsafe fn WICConvertBitmapSource(dstformat: *const ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICConvertBitmapSource ( dstformat : *const :: windows::core::GUID , pisrc : * mut::core::ffi::c_void , ppidst : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICConvertBitmapSource ( dstformat : *const :: windows::core::GUID , pisrc : * mut::core::ffi::c_void , ppidst : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WICConvertBitmapSource(dstformat, pisrc.into().abi(), &mut result__).from_abi(result__) } @@ -17,7 +17,7 @@ pub unsafe fn WICCreateBitmapFromSection(width: u32, height: u32, pixelforma where P0: ::std::convert::Into, { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICCreateBitmapFromSection ( width : u32 , height : u32 , pixelformat : *const :: windows::core::GUID , hsection : super::super::Foundation:: HANDLE , stride : u32 , offset : u32 , ppibitmap : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICCreateBitmapFromSection ( width : u32 , height : u32 , pixelformat : *const :: windows::core::GUID , hsection : super::super::Foundation:: HANDLE , stride : u32 , offset : u32 , ppibitmap : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WICCreateBitmapFromSection(width, height, pixelformat, hsection.into(), stride, offset, &mut result__).from_abi(result__) } @@ -28,7 +28,7 @@ pub unsafe fn WICCreateBitmapFromSectionEx(width: u32, height: u32, pixelfor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICCreateBitmapFromSectionEx ( width : u32 , height : u32 , pixelformat : *const :: windows::core::GUID , hsection : super::super::Foundation:: HANDLE , stride : u32 , offset : u32 , desiredaccesslevel : WICSectionAccessLevel , ppibitmap : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICCreateBitmapFromSectionEx ( width : u32 , height : u32 , pixelformat : *const :: windows::core::GUID , hsection : super::super::Foundation:: HANDLE , stride : u32 , offset : u32 , desiredaccesslevel : WICSectionAccessLevel , ppibitmap : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WICCreateBitmapFromSectionEx(width, height, pixelformat, hsection.into(), stride, offset, desiredaccesslevel, &mut result__).from_abi(result__) } @@ -38,14 +38,14 @@ pub unsafe fn WICGetMetadataContentSize(guidcontainerformat: *const ::window where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICGetMetadataContentSize ( guidcontainerformat : *const :: windows::core::GUID , piwriter : * mut::core::ffi::c_void , pcbsize : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICGetMetadataContentSize ( guidcontainerformat : *const :: windows::core::GUID , piwriter : * mut::core::ffi::c_void , pcbsize : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WICGetMetadataContentSize(guidcontainerformat, piwriter.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[inline] pub unsafe fn WICMapGuidToShortName(guid: *const ::windows::core::GUID, wzname: ::core::option::Option<&mut [u16]>, pcchactual: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICMapGuidToShortName ( guid : *const :: windows::core::GUID , cchname : u32 , wzname : :: windows::core::PWSTR , pcchactual : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICMapGuidToShortName ( guid : *const :: windows::core::GUID , cchname : u32 , wzname : :: windows::core::PWSTR , pcchactual : *mut u32 ) -> :: windows::core::HRESULT ); WICMapGuidToShortName(guid, wzname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(wzname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcchactual).ok() } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -54,7 +54,7 @@ pub unsafe fn WICMapSchemaToName(guidmetadataformat: *const ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICMapSchemaToName ( guidmetadataformat : *const :: windows::core::GUID , pwzschema : :: windows::core::PCWSTR , cchname : u32 , wzname : :: windows::core::PWSTR , pcchactual : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICMapSchemaToName ( guidmetadataformat : *const :: windows::core::GUID , pwzschema : :: windows::core::PCWSTR , cchname : u32 , wzname : :: windows::core::PWSTR , pcchactual : *mut u32 ) -> :: windows::core::HRESULT ); WICMapSchemaToName(guidmetadataformat, pwzschema.into().abi(), wzname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(wzname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcchactual).ok() } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn WICMapShortNameToGuid(wzname: P0) -> ::windows::core::Result<: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICMapShortNameToGuid ( wzname : :: windows::core::PCWSTR , pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICMapShortNameToGuid ( wzname : :: windows::core::PCWSTR , pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); WICMapShortNameToGuid(wzname.into().abi(), &mut result__).from_abi(result__) } @@ -74,7 +74,7 @@ pub unsafe fn WICMatchMetadataContent(guidcontainerformat: *const ::windows: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICMatchMetadataContent ( guidcontainerformat : *const :: windows::core::GUID , pguidvendor : *const :: windows::core::GUID , pistream : * mut::core::ffi::c_void , pguidmetadataformat : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICMatchMetadataContent ( guidcontainerformat : *const :: windows::core::GUID , pguidvendor : *const :: windows::core::GUID , pistream : * mut::core::ffi::c_void , pguidmetadataformat : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); WICMatchMetadataContent(guidcontainerformat, ::core::mem::transmute(pguidvendor.unwrap_or(::std::ptr::null())), pistream.into().abi(), &mut result__).from_abi(result__) } @@ -86,7 +86,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "windowscodecs.dll""system" fn WICSerializeMetadataContent ( guidcontainerformat : *const :: windows::core::GUID , piwriter : * mut::core::ffi::c_void , dwpersistoptions : u32 , pistream : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windowscodecs.dll""system" fn WICSerializeMetadataContent ( guidcontainerformat : *const :: windows::core::GUID , piwriter : * mut::core::ffi::c_void , dwpersistoptions : u32 , pistream : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); WICSerializeMetadataContent(guidcontainerformat, piwriter.into().abi(), dwpersistoptions, pistream.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -126,7 +126,7 @@ impl IWICBitmap { (::windows::core::Vtable::vtable(self).SetResolution)(::windows::core::Vtable::as_raw(self), dpix, dpiy).ok() } } -::windows::core::interface_hierarchy!(IWICBitmap, ::windows::core::IUnknown, IWICBitmapSource); +::windows::imp::interface_hierarchy!(IWICBitmap, ::windows::core::IUnknown, IWICBitmapSource); impl ::core::cmp::PartialEq for IWICBitmap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -187,7 +187,7 @@ impl IWICBitmapClipper { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pisource.into().abi(), prc).ok() } } -::windows::core::interface_hierarchy!(IWICBitmapClipper, ::windows::core::IUnknown, IWICBitmapSource); +::windows::imp::interface_hierarchy!(IWICBitmapClipper, ::windows::core::IUnknown, IWICBitmapSource); impl ::core::cmp::PartialEq for IWICBitmapClipper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -304,7 +304,7 @@ impl IWICBitmapCodecInfo { (::windows::core::Vtable::vtable(self).MatchesMimeType)(::windows::core::Vtable::as_raw(self), wzmimetype.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapCodecInfo, ::windows::core::IUnknown, IWICComponentInfo); +::windows::imp::interface_hierarchy!(IWICBitmapCodecInfo, ::windows::core::IUnknown, IWICComponentInfo); impl ::core::cmp::PartialEq for IWICBitmapCodecInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -367,7 +367,7 @@ impl IWICBitmapCodecProgressNotification { (::windows::core::Vtable::vtable(self).RegisterProgressNotification)(::windows::core::Vtable::as_raw(self), pfnprogressnotification, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null())), dwprogressflags).ok() } } -::windows::core::interface_hierarchy!(IWICBitmapCodecProgressNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICBitmapCodecProgressNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICBitmapCodecProgressNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -455,7 +455,7 @@ impl IWICBitmapDecoder { (::windows::core::Vtable::vtable(self).GetFrame)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapDecoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICBitmapDecoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICBitmapDecoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -606,7 +606,7 @@ impl IWICBitmapDecoderInfo { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapDecoderInfo, ::windows::core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); +::windows::imp::interface_hierarchy!(IWICBitmapDecoderInfo, ::windows::core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); impl ::core::cmp::PartialEq for IWICBitmapDecoderInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -697,7 +697,7 @@ impl IWICBitmapEncoder { (::windows::core::Vtable::vtable(self).GetMetadataQueryWriter)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapEncoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICBitmapEncoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICBitmapEncoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -833,7 +833,7 @@ impl IWICBitmapEncoderInfo { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapEncoderInfo, ::windows::core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); +::windows::imp::interface_hierarchy!(IWICBitmapEncoderInfo, ::windows::core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); impl ::core::cmp::PartialEq for IWICBitmapEncoderInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -892,7 +892,7 @@ impl IWICBitmapFlipRotator { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pisource.into().abi(), options).ok() } } -::windows::core::interface_hierarchy!(IWICBitmapFlipRotator, ::windows::core::IUnknown, IWICBitmapSource); +::windows::imp::interface_hierarchy!(IWICBitmapFlipRotator, ::windows::core::IUnknown, IWICBitmapSource); impl ::core::cmp::PartialEq for IWICBitmapFlipRotator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -956,7 +956,7 @@ impl IWICBitmapFrameDecode { (::windows::core::Vtable::vtable(self).GetThumbnail)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapFrameDecode, ::windows::core::IUnknown, IWICBitmapSource); +::windows::imp::interface_hierarchy!(IWICBitmapFrameDecode, ::windows::core::IUnknown, IWICBitmapSource); impl ::core::cmp::PartialEq for IWICBitmapFrameDecode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1040,7 +1040,7 @@ impl IWICBitmapFrameEncode { (::windows::core::Vtable::vtable(self).GetMetadataQueryWriter)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapFrameEncode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICBitmapFrameEncode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICBitmapFrameEncode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1101,7 +1101,7 @@ impl IWICBitmapLock { (::windows::core::Vtable::vtable(self).GetPixelFormat)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapLock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICBitmapLock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICBitmapLock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1163,7 +1163,7 @@ impl IWICBitmapScaler { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pisource.into().abi(), uiwidth, uiheight, mode).ok() } } -::windows::core::interface_hierarchy!(IWICBitmapScaler, ::windows::core::IUnknown, IWICBitmapSource); +::windows::imp::interface_hierarchy!(IWICBitmapScaler, ::windows::core::IUnknown, IWICBitmapSource); impl ::core::cmp::PartialEq for IWICBitmapScaler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1216,7 +1216,7 @@ impl IWICBitmapSource { (::windows::core::Vtable::vtable(self).CopyPixels)(::windows::core::Vtable::as_raw(self), prc, cbstride, pbbuffer.len() as _, ::core::mem::transmute(pbbuffer.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IWICBitmapSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICBitmapSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICBitmapSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1269,7 +1269,7 @@ impl IWICBitmapSourceTransform { (::windows::core::Vtable::vtable(self).DoesSupportTransform)(::windows::core::Vtable::as_raw(self), dsttransform, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICBitmapSourceTransform, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICBitmapSourceTransform, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICBitmapSourceTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1332,7 +1332,7 @@ impl IWICColorContext { (::windows::core::Vtable::vtable(self).GetExifColorSpace)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICColorContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICColorContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICColorContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1398,7 +1398,7 @@ impl IWICColorTransform { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pibitmapsource.into().abi(), picontextsource.into().abi(), picontextdest.into().abi(), pixelfmtdest).ok() } } -::windows::core::interface_hierarchy!(IWICColorTransform, ::windows::core::IUnknown, IWICBitmapSource); +::windows::imp::interface_hierarchy!(IWICColorTransform, ::windows::core::IUnknown, IWICBitmapSource); impl ::core::cmp::PartialEq for IWICColorTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1619,7 +1619,7 @@ impl IWICComponentFactory { (::windows::core::Vtable::vtable(self).CreateEncoderPropertyBag)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppropoptions.as_ptr()), ppropoptions.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICComponentFactory, ::windows::core::IUnknown, IWICImagingFactory); +::windows::imp::interface_hierarchy!(IWICComponentFactory, ::windows::core::IUnknown, IWICImagingFactory); impl ::core::cmp::PartialEq for IWICComponentFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1696,7 +1696,7 @@ impl IWICComponentInfo { (::windows::core::Vtable::vtable(self).GetFriendlyName)(::windows::core::Vtable::as_raw(self), wzfriendlyname.len() as _, ::core::mem::transmute(wzfriendlyname.as_ptr()), pcchactual).ok() } } -::windows::core::interface_hierarchy!(IWICComponentInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICComponentInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICComponentInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1746,7 +1746,7 @@ impl IWICDdsDecoder { (::windows::core::Vtable::vtable(self).GetFrame)(::windows::core::Vtable::as_raw(self), arrayindex, miplevel, sliceindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICDdsDecoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICDdsDecoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICDdsDecoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1797,7 +1797,7 @@ impl IWICDdsEncoder { (::windows::core::Vtable::vtable(self).CreateNewFrame)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppiframeencode), parrayindex, pmiplevel, psliceindex).ok() } } -::windows::core::interface_hierarchy!(IWICDdsEncoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICDdsEncoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICDdsEncoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1851,7 +1851,7 @@ impl IWICDdsFrameDecode { (::windows::core::Vtable::vtable(self).CopyBlocks)(::windows::core::Vtable::as_raw(self), prcboundsinblocks, cbstride, pbbuffer.len() as _, ::core::mem::transmute(pbbuffer.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IWICDdsFrameDecode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICDdsFrameDecode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICDdsFrameDecode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2036,7 +2036,7 @@ impl IWICDevelopRaw { (::windows::core::Vtable::vtable(self).SetNotificationCallback)(::windows::core::Vtable::as_raw(self), pcallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWICDevelopRaw, ::windows::core::IUnknown, IWICBitmapSource, IWICBitmapFrameDecode); +::windows::imp::interface_hierarchy!(IWICDevelopRaw, ::windows::core::IUnknown, IWICBitmapSource, IWICBitmapFrameDecode); impl ::core::cmp::PartialEq for IWICDevelopRaw { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2107,7 +2107,7 @@ impl IWICDevelopRawNotificationCallback { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), notificationmask).ok() } } -::windows::core::interface_hierarchy!(IWICDevelopRawNotificationCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICDevelopRawNotificationCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICDevelopRawNotificationCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2156,7 +2156,7 @@ impl IWICEnumMetadataItem { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICEnumMetadataItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICEnumMetadataItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICEnumMetadataItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2203,7 +2203,7 @@ impl IWICFastMetadataEncoder { (::windows::core::Vtable::vtable(self).GetMetadataQueryWriter)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICFastMetadataEncoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICFastMetadataEncoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICFastMetadataEncoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2270,7 +2270,7 @@ impl IWICFormatConverter { (::windows::core::Vtable::vtable(self).CanConvert)(::windows::core::Vtable::as_raw(self), srcpixelformat, dstpixelformat, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICFormatConverter, ::windows::core::IUnknown, IWICBitmapSource); +::windows::imp::interface_hierarchy!(IWICFormatConverter, ::windows::core::IUnknown, IWICBitmapSource); impl ::core::cmp::PartialEq for IWICFormatConverter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2343,7 +2343,7 @@ impl IWICFormatConverterInfo { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICFormatConverterInfo, ::windows::core::IUnknown, IWICComponentInfo); +::windows::imp::interface_hierarchy!(IWICFormatConverterInfo, ::windows::core::IUnknown, IWICComponentInfo); impl ::core::cmp::PartialEq for IWICFormatConverterInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2516,7 +2516,7 @@ impl IWICImagingFactory { (::windows::core::Vtable::vtable(self).CreateQueryWriterFromReader)(::windows::core::Vtable::as_raw(self), piqueryreader.into().abi(), pguidvendor, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICImagingFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICImagingFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICImagingFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2628,7 +2628,7 @@ impl IWICJpegFrameDecode { (::windows::core::Vtable::vtable(self).CopyMinimalStream)(::windows::core::Vtable::as_raw(self), streamoffset, pbstreamdata.len() as _, ::core::mem::transmute(pbstreamdata.as_ptr()), pcbstreamdataactual).ok() } } -::windows::core::interface_hierarchy!(IWICJpegFrameDecode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICJpegFrameDecode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICJpegFrameDecode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2701,7 +2701,7 @@ impl IWICJpegFrameEncode { (::windows::core::Vtable::vtable(self).WriteScan)(::windows::core::Vtable::as_raw(self), pbscandata.len() as _, ::core::mem::transmute(pbscandata.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IWICJpegFrameEncode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICJpegFrameEncode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICJpegFrameEncode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2765,7 +2765,7 @@ impl IWICMetadataBlockReader { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICMetadataBlockReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICMetadataBlockReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICMetadataBlockReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2848,7 +2848,7 @@ impl IWICMetadataBlockWriter { (::windows::core::Vtable::vtable(self).RemoveWriterByIndex)(::windows::core::Vtable::as_raw(self), nindex).ok() } } -::windows::core::interface_hierarchy!(IWICMetadataBlockWriter, ::windows::core::IUnknown, IWICMetadataBlockReader); +::windows::imp::interface_hierarchy!(IWICMetadataBlockWriter, ::windows::core::IUnknown, IWICMetadataBlockReader); impl ::core::cmp::PartialEq for IWICMetadataBlockWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2945,7 +2945,7 @@ impl IWICMetadataHandlerInfo { (::windows::core::Vtable::vtable(self).DoesRequireFixedSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICMetadataHandlerInfo, ::windows::core::IUnknown, IWICComponentInfo); +::windows::imp::interface_hierarchy!(IWICMetadataHandlerInfo, ::windows::core::IUnknown, IWICComponentInfo); impl ::core::cmp::PartialEq for IWICMetadataHandlerInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3015,7 +3015,7 @@ impl IWICMetadataQueryReader { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICMetadataQueryReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICMetadataQueryReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICMetadataQueryReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3093,7 +3093,7 @@ impl IWICMetadataQueryWriter { (::windows::core::Vtable::vtable(self).RemoveMetadataByName)(::windows::core::Vtable::as_raw(self), wzname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWICMetadataQueryWriter, ::windows::core::IUnknown, IWICMetadataQueryReader); +::windows::imp::interface_hierarchy!(IWICMetadataQueryWriter, ::windows::core::IUnknown, IWICMetadataQueryReader); impl ::core::cmp::PartialEq for IWICMetadataQueryWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3157,7 +3157,7 @@ impl IWICMetadataReader { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICMetadataReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICMetadataReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICMetadataReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3277,7 +3277,7 @@ impl IWICMetadataReaderInfo { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICMetadataReaderInfo, ::windows::core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); +::windows::imp::interface_hierarchy!(IWICMetadataReaderInfo, ::windows::core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); impl ::core::cmp::PartialEq for IWICMetadataReaderInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3360,7 +3360,7 @@ impl IWICMetadataWriter { (::windows::core::Vtable::vtable(self).RemoveValueByIndex)(::windows::core::Vtable::as_raw(self), nindex).ok() } } -::windows::core::interface_hierarchy!(IWICMetadataWriter, ::windows::core::IUnknown, IWICMetadataReader); +::windows::imp::interface_hierarchy!(IWICMetadataWriter, ::windows::core::IUnknown, IWICMetadataReader); impl ::core::cmp::PartialEq for IWICMetadataWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3472,7 +3472,7 @@ impl IWICMetadataWriterInfo { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICMetadataWriterInfo, ::windows::core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); +::windows::imp::interface_hierarchy!(IWICMetadataWriterInfo, ::windows::core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); impl ::core::cmp::PartialEq for IWICMetadataWriterInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3562,7 +3562,7 @@ impl IWICPalette { (::windows::core::Vtable::vtable(self).HasAlpha)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICPalette, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICPalette, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICPalette { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3674,7 +3674,7 @@ impl IWICPersistStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWICPersistStream, ::windows::core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStream); +::windows::imp::interface_hierarchy!(IWICPersistStream, ::windows::core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWICPersistStream { fn eq(&self, other: &Self) -> bool { @@ -3769,7 +3769,7 @@ impl IWICPixelFormatInfo { (::windows::core::Vtable::vtable(self).GetChannelMask)(::windows::core::Vtable::as_raw(self), uichannelindex, pbmaskbuffer.len() as _, ::core::mem::transmute(pbmaskbuffer.as_ptr()), pcbactual).ok() } } -::windows::core::interface_hierarchy!(IWICPixelFormatInfo, ::windows::core::IUnknown, IWICComponentInfo); +::windows::imp::interface_hierarchy!(IWICPixelFormatInfo, ::windows::core::IUnknown, IWICComponentInfo); impl ::core::cmp::PartialEq for IWICPixelFormatInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3864,7 +3864,7 @@ impl IWICPixelFormatInfo2 { (::windows::core::Vtable::vtable(self).GetNumericRepresentation)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICPixelFormatInfo2, ::windows::core::IUnknown, IWICComponentInfo, IWICPixelFormatInfo); +::windows::imp::interface_hierarchy!(IWICPixelFormatInfo2, ::windows::core::IUnknown, IWICComponentInfo, IWICPixelFormatInfo); impl ::core::cmp::PartialEq for IWICPixelFormatInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3908,7 +3908,7 @@ impl IWICPlanarBitmapFrameEncode { (::windows::core::Vtable::vtable(self).WriteSource)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppplanes.as_ptr()), ppplanes.len() as _, prcsource).ok() } } -::windows::core::interface_hierarchy!(IWICPlanarBitmapFrameEncode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICPlanarBitmapFrameEncode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICPlanarBitmapFrameEncode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3951,7 +3951,7 @@ impl IWICPlanarBitmapSourceTransform { (::windows::core::Vtable::vtable(self).CopyPixels)(::windows::core::Vtable::as_raw(self), prcsource, uiwidth, uiheight, dsttransform, dstplanaroptions, ::core::mem::transmute(pdstplanes.as_ptr()), pdstplanes.len() as _).ok() } } -::windows::core::interface_hierarchy!(IWICPlanarBitmapSourceTransform, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICPlanarBitmapSourceTransform, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICPlanarBitmapSourceTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4020,7 +4020,7 @@ impl IWICPlanarFormatConverter { (::windows::core::Vtable::vtable(self).CanConvert)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(psrcpixelformats.as_ptr()), psrcpixelformats.len() as _, dstpixelformat, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWICPlanarFormatConverter, ::windows::core::IUnknown, IWICBitmapSource); +::windows::imp::interface_hierarchy!(IWICPlanarFormatConverter, ::windows::core::IUnknown, IWICBitmapSource); impl ::core::cmp::PartialEq for IWICPlanarFormatConverter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4061,7 +4061,7 @@ impl IWICProgressCallback { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), uframenum, operation, dblprogress).ok() } } -::windows::core::interface_hierarchy!(IWICProgressCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICProgressCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICProgressCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4106,7 +4106,7 @@ impl IWICProgressiveLevelControl { (::windows::core::Vtable::vtable(self).SetCurrentLevel)(::windows::core::Vtable::as_raw(self), nlevel).ok() } } -::windows::core::interface_hierarchy!(IWICProgressiveLevelControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICProgressiveLevelControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICProgressiveLevelControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4229,7 +4229,7 @@ impl IWICStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWICStream, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); +::windows::imp::interface_hierarchy!(IWICStream, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWICStream { fn eq(&self, other: &Self) -> bool { @@ -4296,7 +4296,7 @@ impl IWICStreamProvider { (::windows::core::Vtable::vtable(self).RefreshStream)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWICStreamProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWICStreamProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWICStreamProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/OpenGL/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/OpenGL/mod.rs index 128cf8c0e0..18447b5acf 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/OpenGL/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/OpenGL/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn ChoosePixelFormat(hdc: P0, ppfd: *const PIXELFORMATDESCRIPTOR) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ChoosePixelFormat ( hdc : super::Gdi:: HDC , ppfd : *const PIXELFORMATDESCRIPTOR ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ChoosePixelFormat ( hdc : super::Gdi:: HDC , ppfd : *const PIXELFORMATDESCRIPTOR ) -> i32 ); ChoosePixelFormat(hdc.into(), ppfd) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn DescribePixelFormat(hdc: P0, ipixelformat: i32, nbytes: u32, p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn DescribePixelFormat ( hdc : super::Gdi:: HDC , ipixelformat : i32 , nbytes : u32 , ppfd : *mut PIXELFORMATDESCRIPTOR ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn DescribePixelFormat ( hdc : super::Gdi:: HDC , ipixelformat : i32 , nbytes : u32 , ppfd : *mut PIXELFORMATDESCRIPTOR ) -> i32 ); DescribePixelFormat(hdc.into(), ipixelformat, nbytes, ::core::mem::transmute(ppfd.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn GetEnhMetaFilePixelFormat(hemf: P0, cbbuffer: u32, ppfd: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetEnhMetaFilePixelFormat ( hemf : super::Gdi:: HENHMETAFILE , cbbuffer : u32 , ppfd : *mut PIXELFORMATDESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetEnhMetaFilePixelFormat ( hemf : super::Gdi:: HENHMETAFILE , cbbuffer : u32 , ppfd : *mut PIXELFORMATDESCRIPTOR ) -> u32 ); GetEnhMetaFilePixelFormat(hemf.into(), cbbuffer, ::core::mem::transmute(ppfd.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -35,7 +35,7 @@ pub unsafe fn GetPixelFormat(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetPixelFormat ( hdc : super::Gdi:: HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetPixelFormat ( hdc : super::Gdi:: HDC ) -> i32 ); GetPixelFormat(hdc.into()) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -45,7 +45,7 @@ pub unsafe fn SetPixelFormat(hdc: P0, format: i32, ppfd: *const PIXELFORMATD where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetPixelFormat ( hdc : super::Gdi:: HDC , format : i32 , ppfd : *const PIXELFORMATDESCRIPTOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetPixelFormat ( hdc : super::Gdi:: HDC , format : i32 , ppfd : *const PIXELFORMATDESCRIPTOR ) -> super::super::Foundation:: BOOL ); SetPixelFormat(hdc.into(), format, ppfd) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -55,2335 +55,2335 @@ pub unsafe fn SwapBuffers(param0: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SwapBuffers ( param0 : super::Gdi:: HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SwapBuffers ( param0 : super::Gdi:: HDC ) -> super::super::Foundation:: BOOL ); SwapBuffers(param0.into()) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glAccum(op: u32, value: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glAccum ( op : u32 , value : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glAccum ( op : u32 , value : f32 ) -> ( ) ); glAccum(op, value) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glAlphaFunc(func: u32, r#ref: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glAlphaFunc ( func : u32 , r#ref : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glAlphaFunc ( func : u32 , r#ref : f32 ) -> ( ) ); glAlphaFunc(func, r#ref) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glAreTexturesResident(n: i32, textures: *const u32, residences: *mut u8) -> u8 { - ::windows::core::link ! ( "opengl32.dll""system" fn glAreTexturesResident ( n : i32 , textures : *const u32 , residences : *mut u8 ) -> u8 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glAreTexturesResident ( n : i32 , textures : *const u32 , residences : *mut u8 ) -> u8 ); glAreTexturesResident(n, textures, residences) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glArrayElement(i: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glArrayElement ( i : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glArrayElement ( i : i32 ) -> ( ) ); glArrayElement(i) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glBegin(mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glBegin ( mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glBegin ( mode : u32 ) -> ( ) ); glBegin(mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glBindTexture(target: u32, texture: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glBindTexture ( target : u32 , texture : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glBindTexture ( target : u32 , texture : u32 ) -> ( ) ); glBindTexture(target, texture) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glBitmap(width: i32, height: i32, xorig: f32, yorig: f32, xmove: f32, ymove: f32, bitmap: *const u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glBitmap ( width : i32 , height : i32 , xorig : f32 , yorig : f32 , xmove : f32 , ymove : f32 , bitmap : *const u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glBitmap ( width : i32 , height : i32 , xorig : f32 , yorig : f32 , xmove : f32 , ymove : f32 , bitmap : *const u8 ) -> ( ) ); glBitmap(width, height, xorig, yorig, xmove, ymove, bitmap) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glBlendFunc(sfactor: u32, dfactor: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glBlendFunc ( sfactor : u32 , dfactor : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glBlendFunc ( sfactor : u32 , dfactor : u32 ) -> ( ) ); glBlendFunc(sfactor, dfactor) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glCallList(list: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glCallList ( list : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glCallList ( list : u32 ) -> ( ) ); glCallList(list) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glCallLists(n: i32, r#type: u32, lists: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glCallLists ( n : i32 , r#type : u32 , lists : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glCallLists ( n : i32 , r#type : u32 , lists : *const ::core::ffi::c_void ) -> ( ) ); glCallLists(n, r#type, lists) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glClear(mask: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glClear ( mask : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glClear ( mask : u32 ) -> ( ) ); glClear(mask) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glClearAccum(red: f32, green: f32, blue: f32, alpha: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glClearAccum ( red : f32 , green : f32 , blue : f32 , alpha : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glClearAccum ( red : f32 , green : f32 , blue : f32 , alpha : f32 ) -> ( ) ); glClearAccum(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glClearColor(red: f32, green: f32, blue: f32, alpha: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glClearColor ( red : f32 , green : f32 , blue : f32 , alpha : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glClearColor ( red : f32 , green : f32 , blue : f32 , alpha : f32 ) -> ( ) ); glClearColor(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glClearDepth(depth: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glClearDepth ( depth : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glClearDepth ( depth : f64 ) -> ( ) ); glClearDepth(depth) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glClearIndex(c: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glClearIndex ( c : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glClearIndex ( c : f32 ) -> ( ) ); glClearIndex(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glClearStencil(s: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glClearStencil ( s : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glClearStencil ( s : i32 ) -> ( ) ); glClearStencil(s) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glClipPlane(plane: u32, equation: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glClipPlane ( plane : u32 , equation : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glClipPlane ( plane : u32 , equation : *const f64 ) -> ( ) ); glClipPlane(plane, equation) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3b(red: i8, green: i8, blue: i8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3b ( red : i8 , green : i8 , blue : i8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3b ( red : i8 , green : i8 , blue : i8 ) -> ( ) ); glColor3b(red, green, blue) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3bv(v: *const i8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3bv ( v : *const i8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3bv ( v : *const i8 ) -> ( ) ); glColor3bv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3d(red: f64, green: f64, blue: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3d ( red : f64 , green : f64 , blue : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3d ( red : f64 , green : f64 , blue : f64 ) -> ( ) ); glColor3d(red, green, blue) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3dv ( v : *const f64 ) -> ( ) ); glColor3dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3f(red: f32, green: f32, blue: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3f ( red : f32 , green : f32 , blue : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3f ( red : f32 , green : f32 , blue : f32 ) -> ( ) ); glColor3f(red, green, blue) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3fv ( v : *const f32 ) -> ( ) ); glColor3fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3i(red: i32, green: i32, blue: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3i ( red : i32 , green : i32 , blue : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3i ( red : i32 , green : i32 , blue : i32 ) -> ( ) ); glColor3i(red, green, blue) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3iv ( v : *const i32 ) -> ( ) ); glColor3iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3s(red: i16, green: i16, blue: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3s ( red : i16 , green : i16 , blue : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3s ( red : i16 , green : i16 , blue : i16 ) -> ( ) ); glColor3s(red, green, blue) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3sv ( v : *const i16 ) -> ( ) ); glColor3sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3ub(red: u8, green: u8, blue: u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3ub ( red : u8 , green : u8 , blue : u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3ub ( red : u8 , green : u8 , blue : u8 ) -> ( ) ); glColor3ub(red, green, blue) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3ubv(v: *const u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3ubv ( v : *const u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3ubv ( v : *const u8 ) -> ( ) ); glColor3ubv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3ui(red: u32, green: u32, blue: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3ui ( red : u32 , green : u32 , blue : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3ui ( red : u32 , green : u32 , blue : u32 ) -> ( ) ); glColor3ui(red, green, blue) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3uiv(v: *const u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3uiv ( v : *const u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3uiv ( v : *const u32 ) -> ( ) ); glColor3uiv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3us(red: u16, green: u16, blue: u16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3us ( red : u16 , green : u16 , blue : u16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3us ( red : u16 , green : u16 , blue : u16 ) -> ( ) ); glColor3us(red, green, blue) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor3usv(v: *const u16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor3usv ( v : *const u16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor3usv ( v : *const u16 ) -> ( ) ); glColor3usv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4b(red: i8, green: i8, blue: i8, alpha: i8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4b ( red : i8 , green : i8 , blue : i8 , alpha : i8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4b ( red : i8 , green : i8 , blue : i8 , alpha : i8 ) -> ( ) ); glColor4b(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4bv(v: *const i8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4bv ( v : *const i8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4bv ( v : *const i8 ) -> ( ) ); glColor4bv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4d(red: f64, green: f64, blue: f64, alpha: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4d ( red : f64 , green : f64 , blue : f64 , alpha : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4d ( red : f64 , green : f64 , blue : f64 , alpha : f64 ) -> ( ) ); glColor4d(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4dv ( v : *const f64 ) -> ( ) ); glColor4dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4f(red: f32, green: f32, blue: f32, alpha: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4f ( red : f32 , green : f32 , blue : f32 , alpha : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4f ( red : f32 , green : f32 , blue : f32 , alpha : f32 ) -> ( ) ); glColor4f(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4fv ( v : *const f32 ) -> ( ) ); glColor4fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4i(red: i32, green: i32, blue: i32, alpha: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4i ( red : i32 , green : i32 , blue : i32 , alpha : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4i ( red : i32 , green : i32 , blue : i32 , alpha : i32 ) -> ( ) ); glColor4i(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4iv ( v : *const i32 ) -> ( ) ); glColor4iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4s(red: i16, green: i16, blue: i16, alpha: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4s ( red : i16 , green : i16 , blue : i16 , alpha : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4s ( red : i16 , green : i16 , blue : i16 , alpha : i16 ) -> ( ) ); glColor4s(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4sv ( v : *const i16 ) -> ( ) ); glColor4sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4ub(red: u8, green: u8, blue: u8, alpha: u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4ub ( red : u8 , green : u8 , blue : u8 , alpha : u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4ub ( red : u8 , green : u8 , blue : u8 , alpha : u8 ) -> ( ) ); glColor4ub(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4ubv(v: *const u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4ubv ( v : *const u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4ubv ( v : *const u8 ) -> ( ) ); glColor4ubv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4ui(red: u32, green: u32, blue: u32, alpha: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4ui ( red : u32 , green : u32 , blue : u32 , alpha : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4ui ( red : u32 , green : u32 , blue : u32 , alpha : u32 ) -> ( ) ); glColor4ui(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4uiv(v: *const u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4uiv ( v : *const u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4uiv ( v : *const u32 ) -> ( ) ); glColor4uiv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4us(red: u16, green: u16, blue: u16, alpha: u16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4us ( red : u16 , green : u16 , blue : u16 , alpha : u16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4us ( red : u16 , green : u16 , blue : u16 , alpha : u16 ) -> ( ) ); glColor4us(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColor4usv(v: *const u16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColor4usv ( v : *const u16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColor4usv ( v : *const u16 ) -> ( ) ); glColor4usv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColorMask(red: u8, green: u8, blue: u8, alpha: u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColorMask ( red : u8 , green : u8 , blue : u8 , alpha : u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColorMask ( red : u8 , green : u8 , blue : u8 , alpha : u8 ) -> ( ) ); glColorMask(red, green, blue, alpha) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColorMaterial(face: u32, mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColorMaterial ( face : u32 , mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColorMaterial ( face : u32 , mode : u32 ) -> ( ) ); glColorMaterial(face, mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glColorPointer(size: i32, r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glColorPointer ( size : i32 , r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glColorPointer ( size : i32 , r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); glColorPointer(size, r#type, stride, pointer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glCopyPixels(x: i32, y: i32, width: i32, height: i32, r#type: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glCopyPixels ( x : i32 , y : i32 , width : i32 , height : i32 , r#type : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glCopyPixels ( x : i32 , y : i32 , width : i32 , height : i32 , r#type : u32 ) -> ( ) ); glCopyPixels(x, y, width, height, r#type) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glCopyTexImage1D(target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, border: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glCopyTexImage1D ( target : u32 , level : i32 , internalformat : u32 , x : i32 , y : i32 , width : i32 , border : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glCopyTexImage1D ( target : u32 , level : i32 , internalformat : u32 , x : i32 , y : i32 , width : i32 , border : i32 ) -> ( ) ); glCopyTexImage1D(target, level, internalformat, x, y, width, border) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glCopyTexImage2D(target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, height: i32, border: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glCopyTexImage2D ( target : u32 , level : i32 , internalformat : u32 , x : i32 , y : i32 , width : i32 , height : i32 , border : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glCopyTexImage2D ( target : u32 , level : i32 , internalformat : u32 , x : i32 , y : i32 , width : i32 , height : i32 , border : i32 ) -> ( ) ); glCopyTexImage2D(target, level, internalformat, x, y, width, height, border) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glCopyTexSubImage1D(target: u32, level: i32, xoffset: i32, x: i32, y: i32, width: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glCopyTexSubImage1D ( target : u32 , level : i32 , xoffset : i32 , x : i32 , y : i32 , width : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glCopyTexSubImage1D ( target : u32 , level : i32 , xoffset : i32 , x : i32 , y : i32 , width : i32 ) -> ( ) ); glCopyTexSubImage1D(target, level, xoffset, x, y, width) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glCopyTexSubImage2D(target: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glCopyTexSubImage2D ( target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , x : i32 , y : i32 , width : i32 , height : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glCopyTexSubImage2D ( target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , x : i32 , y : i32 , width : i32 , height : i32 ) -> ( ) ); glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glCullFace(mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glCullFace ( mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glCullFace ( mode : u32 ) -> ( ) ); glCullFace(mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDeleteLists(list: u32, range: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDeleteLists ( list : u32 , range : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDeleteLists ( list : u32 , range : i32 ) -> ( ) ); glDeleteLists(list, range) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDeleteTextures(n: i32, textures: *const u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDeleteTextures ( n : i32 , textures : *const u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDeleteTextures ( n : i32 , textures : *const u32 ) -> ( ) ); glDeleteTextures(n, textures) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDepthFunc(func: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDepthFunc ( func : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDepthFunc ( func : u32 ) -> ( ) ); glDepthFunc(func) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDepthMask(flag: u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDepthMask ( flag : u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDepthMask ( flag : u8 ) -> ( ) ); glDepthMask(flag) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDepthRange(znear: f64, zfar: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDepthRange ( znear : f64 , zfar : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDepthRange ( znear : f64 , zfar : f64 ) -> ( ) ); glDepthRange(znear, zfar) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDisable(cap: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDisable ( cap : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDisable ( cap : u32 ) -> ( ) ); glDisable(cap) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDisableClientState(array: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDisableClientState ( array : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDisableClientState ( array : u32 ) -> ( ) ); glDisableClientState(array) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDrawArrays(mode: u32, first: i32, count: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDrawArrays ( mode : u32 , first : i32 , count : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDrawArrays ( mode : u32 , first : i32 , count : i32 ) -> ( ) ); glDrawArrays(mode, first, count) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDrawBuffer(mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDrawBuffer ( mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDrawBuffer ( mode : u32 ) -> ( ) ); glDrawBuffer(mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDrawElements(mode: u32, count: i32, r#type: u32, indices: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDrawElements ( mode : u32 , count : i32 , r#type : u32 , indices : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDrawElements ( mode : u32 , count : i32 , r#type : u32 , indices : *const ::core::ffi::c_void ) -> ( ) ); glDrawElements(mode, count, r#type, indices) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glDrawPixels(width: i32, height: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glDrawPixels ( width : i32 , height : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glDrawPixels ( width : i32 , height : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); glDrawPixels(width, height, format, r#type, pixels) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEdgeFlag(flag: u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEdgeFlag ( flag : u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEdgeFlag ( flag : u8 ) -> ( ) ); glEdgeFlag(flag) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEdgeFlagPointer(stride: i32, pointer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEdgeFlagPointer ( stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEdgeFlagPointer ( stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); glEdgeFlagPointer(stride, pointer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEdgeFlagv(flag: *const u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEdgeFlagv ( flag : *const u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEdgeFlagv ( flag : *const u8 ) -> ( ) ); glEdgeFlagv(flag) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEnable(cap: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEnable ( cap : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEnable ( cap : u32 ) -> ( ) ); glEnable(cap) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEnableClientState(array: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEnableClientState ( array : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEnableClientState ( array : u32 ) -> ( ) ); glEnableClientState(array) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEnd() { - ::windows::core::link ! ( "opengl32.dll""system" fn glEnd ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEnd ( ) -> ( ) ); glEnd() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEndList() { - ::windows::core::link ! ( "opengl32.dll""system" fn glEndList ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEndList ( ) -> ( ) ); glEndList() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalCoord1d(u: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalCoord1d ( u : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalCoord1d ( u : f64 ) -> ( ) ); glEvalCoord1d(u) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalCoord1dv(u: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalCoord1dv ( u : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalCoord1dv ( u : *const f64 ) -> ( ) ); glEvalCoord1dv(u) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalCoord1f(u: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalCoord1f ( u : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalCoord1f ( u : f32 ) -> ( ) ); glEvalCoord1f(u) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalCoord1fv(u: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalCoord1fv ( u : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalCoord1fv ( u : *const f32 ) -> ( ) ); glEvalCoord1fv(u) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalCoord2d(u: f64, v: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalCoord2d ( u : f64 , v : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalCoord2d ( u : f64 , v : f64 ) -> ( ) ); glEvalCoord2d(u, v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalCoord2dv(u: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalCoord2dv ( u : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalCoord2dv ( u : *const f64 ) -> ( ) ); glEvalCoord2dv(u) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalCoord2f(u: f32, v: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalCoord2f ( u : f32 , v : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalCoord2f ( u : f32 , v : f32 ) -> ( ) ); glEvalCoord2f(u, v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalCoord2fv(u: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalCoord2fv ( u : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalCoord2fv ( u : *const f32 ) -> ( ) ); glEvalCoord2fv(u) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalMesh1(mode: u32, i1: i32, i2: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalMesh1 ( mode : u32 , i1 : i32 , i2 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalMesh1 ( mode : u32 , i1 : i32 , i2 : i32 ) -> ( ) ); glEvalMesh1(mode, i1, i2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalMesh2(mode: u32, i1: i32, i2: i32, j1: i32, j2: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalMesh2 ( mode : u32 , i1 : i32 , i2 : i32 , j1 : i32 , j2 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalMesh2 ( mode : u32 , i1 : i32 , i2 : i32 , j1 : i32 , j2 : i32 ) -> ( ) ); glEvalMesh2(mode, i1, i2, j1, j2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalPoint1(i: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalPoint1 ( i : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalPoint1 ( i : i32 ) -> ( ) ); glEvalPoint1(i) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glEvalPoint2(i: i32, j: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glEvalPoint2 ( i : i32 , j : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glEvalPoint2 ( i : i32 , j : i32 ) -> ( ) ); glEvalPoint2(i, j) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFeedbackBuffer(size: i32, r#type: u32, buffer: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glFeedbackBuffer ( size : i32 , r#type : u32 , buffer : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFeedbackBuffer ( size : i32 , r#type : u32 , buffer : *mut f32 ) -> ( ) ); glFeedbackBuffer(size, r#type, buffer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFinish() { - ::windows::core::link ! ( "opengl32.dll""system" fn glFinish ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFinish ( ) -> ( ) ); glFinish() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFlush() { - ::windows::core::link ! ( "opengl32.dll""system" fn glFlush ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFlush ( ) -> ( ) ); glFlush() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFogf(pname: u32, param1: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glFogf ( pname : u32 , param1 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFogf ( pname : u32 , param1 : f32 ) -> ( ) ); glFogf(pname, param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFogfv(pname: u32, params: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glFogfv ( pname : u32 , params : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFogfv ( pname : u32 , params : *const f32 ) -> ( ) ); glFogfv(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFogi(pname: u32, param1: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glFogi ( pname : u32 , param1 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFogi ( pname : u32 , param1 : i32 ) -> ( ) ); glFogi(pname, param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFogiv(pname: u32, params: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glFogiv ( pname : u32 , params : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFogiv ( pname : u32 , params : *const i32 ) -> ( ) ); glFogiv(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFrontFace(mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glFrontFace ( mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFrontFace ( mode : u32 ) -> ( ) ); glFrontFace(mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glFrustum(left: f64, right: f64, bottom: f64, top: f64, znear: f64, zfar: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glFrustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glFrustum ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) -> ( ) ); glFrustum(left, right, bottom, top, znear, zfar) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGenLists(range: i32) -> u32 { - ::windows::core::link ! ( "opengl32.dll""system" fn glGenLists ( range : i32 ) -> u32 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGenLists ( range : i32 ) -> u32 ); glGenLists(range) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGenTextures(n: i32, textures: *mut u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGenTextures ( n : i32 , textures : *mut u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGenTextures ( n : i32 , textures : *mut u32 ) -> ( ) ); glGenTextures(n, textures) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetBooleanv(pname: u32, params: *mut u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetBooleanv ( pname : u32 , params : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetBooleanv ( pname : u32 , params : *mut u8 ) -> ( ) ); glGetBooleanv(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetClipPlane(plane: u32, equation: *mut f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetClipPlane ( plane : u32 , equation : *mut f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetClipPlane ( plane : u32 , equation : *mut f64 ) -> ( ) ); glGetClipPlane(plane, equation) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetDoublev(pname: u32, params: *mut f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetDoublev ( pname : u32 , params : *mut f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetDoublev ( pname : u32 , params : *mut f64 ) -> ( ) ); glGetDoublev(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetError() -> u32 { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetError ( ) -> u32 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetError ( ) -> u32 ); glGetError() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetFloatv(pname: u32, params: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetFloatv ( pname : u32 , params : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetFloatv ( pname : u32 , params : *mut f32 ) -> ( ) ); glGetFloatv(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetIntegerv(pname: u32, params: *mut i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetIntegerv ( pname : u32 , params : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetIntegerv ( pname : u32 , params : *mut i32 ) -> ( ) ); glGetIntegerv(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetLightfv(light: u32, pname: u32, params: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetLightfv ( light : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetLightfv ( light : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); glGetLightfv(light, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetLightiv(light: u32, pname: u32, params: *mut i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetLightiv ( light : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetLightiv ( light : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); glGetLightiv(light, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetMapdv(target: u32, query: u32, v: *mut f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetMapdv ( target : u32 , query : u32 , v : *mut f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetMapdv ( target : u32 , query : u32 , v : *mut f64 ) -> ( ) ); glGetMapdv(target, query, v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetMapfv(target: u32, query: u32, v: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetMapfv ( target : u32 , query : u32 , v : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetMapfv ( target : u32 , query : u32 , v : *mut f32 ) -> ( ) ); glGetMapfv(target, query, v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetMapiv(target: u32, query: u32, v: *mut i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetMapiv ( target : u32 , query : u32 , v : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetMapiv ( target : u32 , query : u32 , v : *mut i32 ) -> ( ) ); glGetMapiv(target, query, v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetMaterialfv(face: u32, pname: u32, params: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetMaterialfv ( face : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetMaterialfv ( face : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); glGetMaterialfv(face, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetMaterialiv(face: u32, pname: u32, params: *mut i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetMaterialiv ( face : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetMaterialiv ( face : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); glGetMaterialiv(face, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetPixelMapfv(map: u32, values: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetPixelMapfv ( map : u32 , values : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetPixelMapfv ( map : u32 , values : *mut f32 ) -> ( ) ); glGetPixelMapfv(map, values) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetPixelMapuiv(map: u32, values: *mut u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetPixelMapuiv ( map : u32 , values : *mut u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetPixelMapuiv ( map : u32 , values : *mut u32 ) -> ( ) ); glGetPixelMapuiv(map, values) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetPixelMapusv(map: u32, values: *mut u16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetPixelMapusv ( map : u32 , values : *mut u16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetPixelMapusv ( map : u32 , values : *mut u16 ) -> ( ) ); glGetPixelMapusv(map, values) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetPointerv(pname: u32, params: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetPointerv ( pname : u32 , params : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetPointerv ( pname : u32 , params : *mut *mut ::core::ffi::c_void ) -> ( ) ); glGetPointerv(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetPolygonStipple(mask: *mut u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetPolygonStipple ( mask : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetPolygonStipple ( mask : *mut u8 ) -> ( ) ); glGetPolygonStipple(mask) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetString(name: u32) -> *mut u8 { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetString ( name : u32 ) -> *mut u8 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetString ( name : u32 ) -> *mut u8 ); glGetString(name) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexEnvfv(target: u32, pname: u32, params: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexEnvfv ( target : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexEnvfv ( target : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); glGetTexEnvfv(target, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexEnviv(target: u32, pname: u32, params: *mut i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexEnviv ( target : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexEnviv ( target : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); glGetTexEnviv(target, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexGendv(coord: u32, pname: u32, params: *mut f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexGendv ( coord : u32 , pname : u32 , params : *mut f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexGendv ( coord : u32 , pname : u32 , params : *mut f64 ) -> ( ) ); glGetTexGendv(coord, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexGenfv(coord: u32, pname: u32, params: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexGenfv ( coord : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexGenfv ( coord : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); glGetTexGenfv(coord, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexGeniv(coord: u32, pname: u32, params: *mut i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexGeniv ( coord : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexGeniv ( coord : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); glGetTexGeniv(coord, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexImage(target: u32, level: i32, format: u32, r#type: u32, pixels: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexImage ( target : u32 , level : i32 , format : u32 , r#type : u32 , pixels : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexImage ( target : u32 , level : i32 , format : u32 , r#type : u32 , pixels : *mut ::core::ffi::c_void ) -> ( ) ); glGetTexImage(target, level, format, r#type, pixels) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexLevelParameterfv(target: u32, level: i32, pname: u32, params: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexLevelParameterfv ( target : u32 , level : i32 , pname : u32 , params : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexLevelParameterfv ( target : u32 , level : i32 , pname : u32 , params : *mut f32 ) -> ( ) ); glGetTexLevelParameterfv(target, level, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexLevelParameteriv(target: u32, level: i32, pname: u32, params: *mut i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexLevelParameteriv ( target : u32 , level : i32 , pname : u32 , params : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexLevelParameteriv ( target : u32 , level : i32 , pname : u32 , params : *mut i32 ) -> ( ) ); glGetTexLevelParameteriv(target, level, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexParameterfv(target: u32, pname: u32, params: *mut f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexParameterfv ( target : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexParameterfv ( target : u32 , pname : u32 , params : *mut f32 ) -> ( ) ); glGetTexParameterfv(target, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glGetTexParameteriv(target: u32, pname: u32, params: *mut i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glGetTexParameteriv ( target : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glGetTexParameteriv ( target : u32 , pname : u32 , params : *mut i32 ) -> ( ) ); glGetTexParameteriv(target, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glHint(target: u32, mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glHint ( target : u32 , mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glHint ( target : u32 , mode : u32 ) -> ( ) ); glHint(target, mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexMask(mask: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexMask ( mask : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexMask ( mask : u32 ) -> ( ) ); glIndexMask(mask) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexPointer(r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexPointer ( r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexPointer ( r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); glIndexPointer(r#type, stride, pointer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexd(c: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexd ( c : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexd ( c : f64 ) -> ( ) ); glIndexd(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexdv(c: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexdv ( c : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexdv ( c : *const f64 ) -> ( ) ); glIndexdv(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexf(c: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexf ( c : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexf ( c : f32 ) -> ( ) ); glIndexf(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexfv(c: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexfv ( c : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexfv ( c : *const f32 ) -> ( ) ); glIndexfv(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexi(c: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexi ( c : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexi ( c : i32 ) -> ( ) ); glIndexi(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexiv(c: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexiv ( c : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexiv ( c : *const i32 ) -> ( ) ); glIndexiv(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexs(c: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexs ( c : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexs ( c : i16 ) -> ( ) ); glIndexs(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexsv(c: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexsv ( c : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexsv ( c : *const i16 ) -> ( ) ); glIndexsv(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexub(c: u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexub ( c : u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexub ( c : u8 ) -> ( ) ); glIndexub(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIndexubv(c: *const u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glIndexubv ( c : *const u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIndexubv ( c : *const u8 ) -> ( ) ); glIndexubv(c) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glInitNames() { - ::windows::core::link ! ( "opengl32.dll""system" fn glInitNames ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glInitNames ( ) -> ( ) ); glInitNames() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glInterleavedArrays(format: u32, stride: i32, pointer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glInterleavedArrays ( format : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glInterleavedArrays ( format : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); glInterleavedArrays(format, stride, pointer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIsEnabled(cap: u32) -> u8 { - ::windows::core::link ! ( "opengl32.dll""system" fn glIsEnabled ( cap : u32 ) -> u8 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIsEnabled ( cap : u32 ) -> u8 ); glIsEnabled(cap) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIsList(list: u32) -> u8 { - ::windows::core::link ! ( "opengl32.dll""system" fn glIsList ( list : u32 ) -> u8 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIsList ( list : u32 ) -> u8 ); glIsList(list) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glIsTexture(texture: u32) -> u8 { - ::windows::core::link ! ( "opengl32.dll""system" fn glIsTexture ( texture : u32 ) -> u8 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glIsTexture ( texture : u32 ) -> u8 ); glIsTexture(texture) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLightModelf(pname: u32, param1: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLightModelf ( pname : u32 , param1 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLightModelf ( pname : u32 , param1 : f32 ) -> ( ) ); glLightModelf(pname, param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLightModelfv(pname: u32, params: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLightModelfv ( pname : u32 , params : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLightModelfv ( pname : u32 , params : *const f32 ) -> ( ) ); glLightModelfv(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLightModeli(pname: u32, param1: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLightModeli ( pname : u32 , param1 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLightModeli ( pname : u32 , param1 : i32 ) -> ( ) ); glLightModeli(pname, param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLightModeliv(pname: u32, params: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLightModeliv ( pname : u32 , params : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLightModeliv ( pname : u32 , params : *const i32 ) -> ( ) ); glLightModeliv(pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLightf(light: u32, pname: u32, param2: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLightf ( light : u32 , pname : u32 , param2 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLightf ( light : u32 , pname : u32 , param2 : f32 ) -> ( ) ); glLightf(light, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLightfv(light: u32, pname: u32, params: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLightfv ( light : u32 , pname : u32 , params : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLightfv ( light : u32 , pname : u32 , params : *const f32 ) -> ( ) ); glLightfv(light, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLighti(light: u32, pname: u32, param2: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLighti ( light : u32 , pname : u32 , param2 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLighti ( light : u32 , pname : u32 , param2 : i32 ) -> ( ) ); glLighti(light, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLightiv(light: u32, pname: u32, params: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLightiv ( light : u32 , pname : u32 , params : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLightiv ( light : u32 , pname : u32 , params : *const i32 ) -> ( ) ); glLightiv(light, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLineStipple(factor: i32, pattern: u16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLineStipple ( factor : i32 , pattern : u16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLineStipple ( factor : i32 , pattern : u16 ) -> ( ) ); glLineStipple(factor, pattern) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLineWidth(width: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLineWidth ( width : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLineWidth ( width : f32 ) -> ( ) ); glLineWidth(width) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glListBase(base: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glListBase ( base : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glListBase ( base : u32 ) -> ( ) ); glListBase(base) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLoadIdentity() { - ::windows::core::link ! ( "opengl32.dll""system" fn glLoadIdentity ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLoadIdentity ( ) -> ( ) ); glLoadIdentity() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLoadMatrixd(m: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLoadMatrixd ( m : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLoadMatrixd ( m : *const f64 ) -> ( ) ); glLoadMatrixd(m) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLoadMatrixf(m: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLoadMatrixf ( m : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLoadMatrixf ( m : *const f32 ) -> ( ) ); glLoadMatrixf(m) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLoadName(name: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLoadName ( name : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLoadName ( name : u32 ) -> ( ) ); glLoadName(name) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glLogicOp(opcode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glLogicOp ( opcode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glLogicOp ( opcode : u32 ) -> ( ) ); glLogicOp(opcode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMap1d(target: u32, u1: f64, u2: f64, stride: i32, order: i32, points: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMap1d ( target : u32 , u1 : f64 , u2 : f64 , stride : i32 , order : i32 , points : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMap1d ( target : u32 , u1 : f64 , u2 : f64 , stride : i32 , order : i32 , points : *const f64 ) -> ( ) ); glMap1d(target, u1, u2, stride, order, points) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMap1f(target: u32, u1: f32, u2: f32, stride: i32, order: i32, points: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMap1f ( target : u32 , u1 : f32 , u2 : f32 , stride : i32 , order : i32 , points : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMap1f ( target : u32 , u1 : f32 , u2 : f32 , stride : i32 , order : i32 , points : *const f32 ) -> ( ) ); glMap1f(target, u1, u2, stride, order, points) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMap2d(target: u32, u1: f64, u2: f64, ustride: i32, uorder: i32, v1: f64, v2: f64, vstride: i32, vorder: i32, points: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMap2d ( target : u32 , u1 : f64 , u2 : f64 , ustride : i32 , uorder : i32 , v1 : f64 , v2 : f64 , vstride : i32 , vorder : i32 , points : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMap2d ( target : u32 , u1 : f64 , u2 : f64 , ustride : i32 , uorder : i32 , v1 : f64 , v2 : f64 , vstride : i32 , vorder : i32 , points : *const f64 ) -> ( ) ); glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMap2f(target: u32, u1: f32, u2: f32, ustride: i32, uorder: i32, v1: f32, v2: f32, vstride: i32, vorder: i32, points: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMap2f ( target : u32 , u1 : f32 , u2 : f32 , ustride : i32 , uorder : i32 , v1 : f32 , v2 : f32 , vstride : i32 , vorder : i32 , points : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMap2f ( target : u32 , u1 : f32 , u2 : f32 , ustride : i32 , uorder : i32 , v1 : f32 , v2 : f32 , vstride : i32 , vorder : i32 , points : *const f32 ) -> ( ) ); glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMapGrid1d(un: i32, u1: f64, u2: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMapGrid1d ( un : i32 , u1 : f64 , u2 : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMapGrid1d ( un : i32 , u1 : f64 , u2 : f64 ) -> ( ) ); glMapGrid1d(un, u1, u2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMapGrid1f(un: i32, u1: f32, u2: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMapGrid1f ( un : i32 , u1 : f32 , u2 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMapGrid1f ( un : i32 , u1 : f32 , u2 : f32 ) -> ( ) ); glMapGrid1f(un, u1, u2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMapGrid2d(un: i32, u1: f64, u2: f64, vn: i32, v1: f64, v2: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMapGrid2d ( un : i32 , u1 : f64 , u2 : f64 , vn : i32 , v1 : f64 , v2 : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMapGrid2d ( un : i32 , u1 : f64 , u2 : f64 , vn : i32 , v1 : f64 , v2 : f64 ) -> ( ) ); glMapGrid2d(un, u1, u2, vn, v1, v2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMapGrid2f(un: i32, u1: f32, u2: f32, vn: i32, v1: f32, v2: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMapGrid2f ( un : i32 , u1 : f32 , u2 : f32 , vn : i32 , v1 : f32 , v2 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMapGrid2f ( un : i32 , u1 : f32 , u2 : f32 , vn : i32 , v1 : f32 , v2 : f32 ) -> ( ) ); glMapGrid2f(un, u1, u2, vn, v1, v2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMaterialf(face: u32, pname: u32, param2: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMaterialf ( face : u32 , pname : u32 , param2 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMaterialf ( face : u32 , pname : u32 , param2 : f32 ) -> ( ) ); glMaterialf(face, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMaterialfv(face: u32, pname: u32, params: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMaterialfv ( face : u32 , pname : u32 , params : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMaterialfv ( face : u32 , pname : u32 , params : *const f32 ) -> ( ) ); glMaterialfv(face, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMateriali(face: u32, pname: u32, param2: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMateriali ( face : u32 , pname : u32 , param2 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMateriali ( face : u32 , pname : u32 , param2 : i32 ) -> ( ) ); glMateriali(face, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMaterialiv(face: u32, pname: u32, params: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMaterialiv ( face : u32 , pname : u32 , params : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMaterialiv ( face : u32 , pname : u32 , params : *const i32 ) -> ( ) ); glMaterialiv(face, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMatrixMode(mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMatrixMode ( mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMatrixMode ( mode : u32 ) -> ( ) ); glMatrixMode(mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMultMatrixd(m: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMultMatrixd ( m : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMultMatrixd ( m : *const f64 ) -> ( ) ); glMultMatrixd(m) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glMultMatrixf(m: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glMultMatrixf ( m : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glMultMatrixf ( m : *const f32 ) -> ( ) ); glMultMatrixf(m) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNewList(list: u32, mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNewList ( list : u32 , mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNewList ( list : u32 , mode : u32 ) -> ( ) ); glNewList(list, mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3b(nx: i8, ny: i8, nz: i8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3b ( nx : i8 , ny : i8 , nz : i8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3b ( nx : i8 , ny : i8 , nz : i8 ) -> ( ) ); glNormal3b(nx, ny, nz) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3bv(v: *const i8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3bv ( v : *const i8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3bv ( v : *const i8 ) -> ( ) ); glNormal3bv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3d(nx: f64, ny: f64, nz: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3d ( nx : f64 , ny : f64 , nz : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3d ( nx : f64 , ny : f64 , nz : f64 ) -> ( ) ); glNormal3d(nx, ny, nz) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3dv ( v : *const f64 ) -> ( ) ); glNormal3dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3f(nx: f32, ny: f32, nz: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3f ( nx : f32 , ny : f32 , nz : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3f ( nx : f32 , ny : f32 , nz : f32 ) -> ( ) ); glNormal3f(nx, ny, nz) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3fv ( v : *const f32 ) -> ( ) ); glNormal3fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3i(nx: i32, ny: i32, nz: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3i ( nx : i32 , ny : i32 , nz : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3i ( nx : i32 , ny : i32 , nz : i32 ) -> ( ) ); glNormal3i(nx, ny, nz) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3iv ( v : *const i32 ) -> ( ) ); glNormal3iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3s(nx: i16, ny: i16, nz: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3s ( nx : i16 , ny : i16 , nz : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3s ( nx : i16 , ny : i16 , nz : i16 ) -> ( ) ); glNormal3s(nx, ny, nz) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormal3sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormal3sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormal3sv ( v : *const i16 ) -> ( ) ); glNormal3sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glNormalPointer(r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glNormalPointer ( r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glNormalPointer ( r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); glNormalPointer(r#type, stride, pointer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glOrtho(left: f64, right: f64, bottom: f64, top: f64, znear: f64, zfar: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glOrtho ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glOrtho ( left : f64 , right : f64 , bottom : f64 , top : f64 , znear : f64 , zfar : f64 ) -> ( ) ); glOrtho(left, right, bottom, top, znear, zfar) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPassThrough(token: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPassThrough ( token : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPassThrough ( token : f32 ) -> ( ) ); glPassThrough(token) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPixelMapfv(map: u32, mapsize: i32, values: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPixelMapfv ( map : u32 , mapsize : i32 , values : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPixelMapfv ( map : u32 , mapsize : i32 , values : *const f32 ) -> ( ) ); glPixelMapfv(map, mapsize, values) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPixelMapuiv(map: u32, mapsize: i32, values: *const u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPixelMapuiv ( map : u32 , mapsize : i32 , values : *const u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPixelMapuiv ( map : u32 , mapsize : i32 , values : *const u32 ) -> ( ) ); glPixelMapuiv(map, mapsize, values) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPixelMapusv(map: u32, mapsize: i32, values: *const u16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPixelMapusv ( map : u32 , mapsize : i32 , values : *const u16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPixelMapusv ( map : u32 , mapsize : i32 , values : *const u16 ) -> ( ) ); glPixelMapusv(map, mapsize, values) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPixelStoref(pname: u32, param1: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPixelStoref ( pname : u32 , param1 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPixelStoref ( pname : u32 , param1 : f32 ) -> ( ) ); glPixelStoref(pname, param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPixelStorei(pname: u32, param1: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPixelStorei ( pname : u32 , param1 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPixelStorei ( pname : u32 , param1 : i32 ) -> ( ) ); glPixelStorei(pname, param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPixelTransferf(pname: u32, param1: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPixelTransferf ( pname : u32 , param1 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPixelTransferf ( pname : u32 , param1 : f32 ) -> ( ) ); glPixelTransferf(pname, param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPixelTransferi(pname: u32, param1: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPixelTransferi ( pname : u32 , param1 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPixelTransferi ( pname : u32 , param1 : i32 ) -> ( ) ); glPixelTransferi(pname, param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPixelZoom(xfactor: f32, yfactor: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPixelZoom ( xfactor : f32 , yfactor : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPixelZoom ( xfactor : f32 , yfactor : f32 ) -> ( ) ); glPixelZoom(xfactor, yfactor) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPointSize(size: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPointSize ( size : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPointSize ( size : f32 ) -> ( ) ); glPointSize(size) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPolygonMode(face: u32, mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPolygonMode ( face : u32 , mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPolygonMode ( face : u32 , mode : u32 ) -> ( ) ); glPolygonMode(face, mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPolygonOffset(factor: f32, units: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPolygonOffset ( factor : f32 , units : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPolygonOffset ( factor : f32 , units : f32 ) -> ( ) ); glPolygonOffset(factor, units) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPolygonStipple(mask: *const u8) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPolygonStipple ( mask : *const u8 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPolygonStipple ( mask : *const u8 ) -> ( ) ); glPolygonStipple(mask) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPopAttrib() { - ::windows::core::link ! ( "opengl32.dll""system" fn glPopAttrib ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPopAttrib ( ) -> ( ) ); glPopAttrib() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPopClientAttrib() { - ::windows::core::link ! ( "opengl32.dll""system" fn glPopClientAttrib ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPopClientAttrib ( ) -> ( ) ); glPopClientAttrib() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPopMatrix() { - ::windows::core::link ! ( "opengl32.dll""system" fn glPopMatrix ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPopMatrix ( ) -> ( ) ); glPopMatrix() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPopName() { - ::windows::core::link ! ( "opengl32.dll""system" fn glPopName ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPopName ( ) -> ( ) ); glPopName() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPrioritizeTextures(n: i32, textures: *const u32, priorities: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPrioritizeTextures ( n : i32 , textures : *const u32 , priorities : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPrioritizeTextures ( n : i32 , textures : *const u32 , priorities : *const f32 ) -> ( ) ); glPrioritizeTextures(n, textures, priorities) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPushAttrib(mask: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPushAttrib ( mask : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPushAttrib ( mask : u32 ) -> ( ) ); glPushAttrib(mask) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPushClientAttrib(mask: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPushClientAttrib ( mask : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPushClientAttrib ( mask : u32 ) -> ( ) ); glPushClientAttrib(mask) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPushMatrix() { - ::windows::core::link ! ( "opengl32.dll""system" fn glPushMatrix ( ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPushMatrix ( ) -> ( ) ); glPushMatrix() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glPushName(name: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glPushName ( name : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glPushName ( name : u32 ) -> ( ) ); glPushName(name) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos2d(x: f64, y: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos2d ( x : f64 , y : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos2d ( x : f64 , y : f64 ) -> ( ) ); glRasterPos2d(x, y) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos2dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos2dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos2dv ( v : *const f64 ) -> ( ) ); glRasterPos2dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos2f(x: f32, y: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos2f ( x : f32 , y : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos2f ( x : f32 , y : f32 ) -> ( ) ); glRasterPos2f(x, y) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos2fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos2fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos2fv ( v : *const f32 ) -> ( ) ); glRasterPos2fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos2i(x: i32, y: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos2i ( x : i32 , y : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos2i ( x : i32 , y : i32 ) -> ( ) ); glRasterPos2i(x, y) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos2iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos2iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos2iv ( v : *const i32 ) -> ( ) ); glRasterPos2iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos2s(x: i16, y: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos2s ( x : i16 , y : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos2s ( x : i16 , y : i16 ) -> ( ) ); glRasterPos2s(x, y) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos2sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos2sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos2sv ( v : *const i16 ) -> ( ) ); glRasterPos2sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos3d(x: f64, y: f64, z: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos3d ( x : f64 , y : f64 , z : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos3d ( x : f64 , y : f64 , z : f64 ) -> ( ) ); glRasterPos3d(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos3dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos3dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos3dv ( v : *const f64 ) -> ( ) ); glRasterPos3dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos3f(x: f32, y: f32, z: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos3f ( x : f32 , y : f32 , z : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos3f ( x : f32 , y : f32 , z : f32 ) -> ( ) ); glRasterPos3f(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos3fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos3fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos3fv ( v : *const f32 ) -> ( ) ); glRasterPos3fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos3i(x: i32, y: i32, z: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos3i ( x : i32 , y : i32 , z : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos3i ( x : i32 , y : i32 , z : i32 ) -> ( ) ); glRasterPos3i(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos3iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos3iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos3iv ( v : *const i32 ) -> ( ) ); glRasterPos3iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos3s(x: i16, y: i16, z: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos3s ( x : i16 , y : i16 , z : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos3s ( x : i16 , y : i16 , z : i16 ) -> ( ) ); glRasterPos3s(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos3sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos3sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos3sv ( v : *const i16 ) -> ( ) ); glRasterPos3sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos4d(x: f64, y: f64, z: f64, w: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos4d ( x : f64 , y : f64 , z : f64 , w : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos4d ( x : f64 , y : f64 , z : f64 , w : f64 ) -> ( ) ); glRasterPos4d(x, y, z, w) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos4dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos4dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos4dv ( v : *const f64 ) -> ( ) ); glRasterPos4dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos4f(x: f32, y: f32, z: f32, w: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos4f ( x : f32 , y : f32 , z : f32 , w : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos4f ( x : f32 , y : f32 , z : f32 , w : f32 ) -> ( ) ); glRasterPos4f(x, y, z, w) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos4fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos4fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos4fv ( v : *const f32 ) -> ( ) ); glRasterPos4fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos4i(x: i32, y: i32, z: i32, w: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos4i ( x : i32 , y : i32 , z : i32 , w : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos4i ( x : i32 , y : i32 , z : i32 , w : i32 ) -> ( ) ); glRasterPos4i(x, y, z, w) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos4iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos4iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos4iv ( v : *const i32 ) -> ( ) ); glRasterPos4iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos4s(x: i16, y: i16, z: i16, w: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos4s ( x : i16 , y : i16 , z : i16 , w : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos4s ( x : i16 , y : i16 , z : i16 , w : i16 ) -> ( ) ); glRasterPos4s(x, y, z, w) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRasterPos4sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRasterPos4sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRasterPos4sv ( v : *const i16 ) -> ( ) ); glRasterPos4sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glReadBuffer(mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glReadBuffer ( mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glReadBuffer ( mode : u32 ) -> ( ) ); glReadBuffer(mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glReadPixels(x: i32, y: i32, width: i32, height: i32, format: u32, r#type: u32, pixels: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glReadPixels ( x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , r#type : u32 , pixels : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glReadPixels ( x : i32 , y : i32 , width : i32 , height : i32 , format : u32 , r#type : u32 , pixels : *mut ::core::ffi::c_void ) -> ( ) ); glReadPixels(x, y, width, height, format, r#type, pixels) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRectd(x1: f64, y1: f64, x2: f64, y2: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRectd ( x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRectd ( x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 ) -> ( ) ); glRectd(x1, y1, x2, y2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRectdv(v1: *const f64, v2: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRectdv ( v1 : *const f64 , v2 : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRectdv ( v1 : *const f64 , v2 : *const f64 ) -> ( ) ); glRectdv(v1, v2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRectf(x1: f32, y1: f32, x2: f32, y2: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRectf ( x1 : f32 , y1 : f32 , x2 : f32 , y2 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRectf ( x1 : f32 , y1 : f32 , x2 : f32 , y2 : f32 ) -> ( ) ); glRectf(x1, y1, x2, y2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRectfv(v1: *const f32, v2: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRectfv ( v1 : *const f32 , v2 : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRectfv ( v1 : *const f32 , v2 : *const f32 ) -> ( ) ); glRectfv(v1, v2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRecti(x1: i32, y1: i32, x2: i32, y2: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRecti ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRecti ( x1 : i32 , y1 : i32 , x2 : i32 , y2 : i32 ) -> ( ) ); glRecti(x1, y1, x2, y2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRectiv(v1: *const i32, v2: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRectiv ( v1 : *const i32 , v2 : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRectiv ( v1 : *const i32 , v2 : *const i32 ) -> ( ) ); glRectiv(v1, v2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRects(x1: i16, y1: i16, x2: i16, y2: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRects ( x1 : i16 , y1 : i16 , x2 : i16 , y2 : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRects ( x1 : i16 , y1 : i16 , x2 : i16 , y2 : i16 ) -> ( ) ); glRects(x1, y1, x2, y2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRectsv(v1: *const i16, v2: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRectsv ( v1 : *const i16 , v2 : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRectsv ( v1 : *const i16 , v2 : *const i16 ) -> ( ) ); glRectsv(v1, v2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRenderMode(mode: u32) -> i32 { - ::windows::core::link ! ( "opengl32.dll""system" fn glRenderMode ( mode : u32 ) -> i32 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRenderMode ( mode : u32 ) -> i32 ); glRenderMode(mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRotated(angle: f64, x: f64, y: f64, z: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRotated ( angle : f64 , x : f64 , y : f64 , z : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRotated ( angle : f64 , x : f64 , y : f64 , z : f64 ) -> ( ) ); glRotated(angle, x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glRotatef(angle: f32, x: f32, y: f32, z: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glRotatef ( angle : f32 , x : f32 , y : f32 , z : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glRotatef ( angle : f32 , x : f32 , y : f32 , z : f32 ) -> ( ) ); glRotatef(angle, x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glScaled(x: f64, y: f64, z: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glScaled ( x : f64 , y : f64 , z : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glScaled ( x : f64 , y : f64 , z : f64 ) -> ( ) ); glScaled(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glScalef(x: f32, y: f32, z: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glScalef ( x : f32 , y : f32 , z : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glScalef ( x : f32 , y : f32 , z : f32 ) -> ( ) ); glScalef(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glScissor(x: i32, y: i32, width: i32, height: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glScissor ( x : i32 , y : i32 , width : i32 , height : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glScissor ( x : i32 , y : i32 , width : i32 , height : i32 ) -> ( ) ); glScissor(x, y, width, height) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glSelectBuffer(size: i32, buffer: *mut u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glSelectBuffer ( size : i32 , buffer : *mut u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glSelectBuffer ( size : i32 , buffer : *mut u32 ) -> ( ) ); glSelectBuffer(size, buffer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glShadeModel(mode: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glShadeModel ( mode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glShadeModel ( mode : u32 ) -> ( ) ); glShadeModel(mode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glStencilFunc(func: u32, r#ref: i32, mask: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glStencilFunc ( func : u32 , r#ref : i32 , mask : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glStencilFunc ( func : u32 , r#ref : i32 , mask : u32 ) -> ( ) ); glStencilFunc(func, r#ref, mask) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glStencilMask(mask: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glStencilMask ( mask : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glStencilMask ( mask : u32 ) -> ( ) ); glStencilMask(mask) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glStencilOp(fail: u32, zfail: u32, zpass: u32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glStencilOp ( fail : u32 , zfail : u32 , zpass : u32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glStencilOp ( fail : u32 , zfail : u32 , zpass : u32 ) -> ( ) ); glStencilOp(fail, zfail, zpass) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord1d(s: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord1d ( s : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord1d ( s : f64 ) -> ( ) ); glTexCoord1d(s) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord1dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord1dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord1dv ( v : *const f64 ) -> ( ) ); glTexCoord1dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord1f(s: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord1f ( s : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord1f ( s : f32 ) -> ( ) ); glTexCoord1f(s) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord1fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord1fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord1fv ( v : *const f32 ) -> ( ) ); glTexCoord1fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord1i(s: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord1i ( s : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord1i ( s : i32 ) -> ( ) ); glTexCoord1i(s) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord1iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord1iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord1iv ( v : *const i32 ) -> ( ) ); glTexCoord1iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord1s(s: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord1s ( s : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord1s ( s : i16 ) -> ( ) ); glTexCoord1s(s) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord1sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord1sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord1sv ( v : *const i16 ) -> ( ) ); glTexCoord1sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord2d(s: f64, t: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord2d ( s : f64 , t : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord2d ( s : f64 , t : f64 ) -> ( ) ); glTexCoord2d(s, t) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord2dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord2dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord2dv ( v : *const f64 ) -> ( ) ); glTexCoord2dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord2f(s: f32, t: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord2f ( s : f32 , t : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord2f ( s : f32 , t : f32 ) -> ( ) ); glTexCoord2f(s, t) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord2fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord2fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord2fv ( v : *const f32 ) -> ( ) ); glTexCoord2fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord2i(s: i32, t: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord2i ( s : i32 , t : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord2i ( s : i32 , t : i32 ) -> ( ) ); glTexCoord2i(s, t) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord2iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord2iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord2iv ( v : *const i32 ) -> ( ) ); glTexCoord2iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord2s(s: i16, t: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord2s ( s : i16 , t : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord2s ( s : i16 , t : i16 ) -> ( ) ); glTexCoord2s(s, t) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord2sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord2sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord2sv ( v : *const i16 ) -> ( ) ); glTexCoord2sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord3d(s: f64, t: f64, r: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord3d ( s : f64 , t : f64 , r : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord3d ( s : f64 , t : f64 , r : f64 ) -> ( ) ); glTexCoord3d(s, t, r) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord3dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord3dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord3dv ( v : *const f64 ) -> ( ) ); glTexCoord3dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord3f(s: f32, t: f32, r: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord3f ( s : f32 , t : f32 , r : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord3f ( s : f32 , t : f32 , r : f32 ) -> ( ) ); glTexCoord3f(s, t, r) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord3fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord3fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord3fv ( v : *const f32 ) -> ( ) ); glTexCoord3fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord3i(s: i32, t: i32, r: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord3i ( s : i32 , t : i32 , r : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord3i ( s : i32 , t : i32 , r : i32 ) -> ( ) ); glTexCoord3i(s, t, r) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord3iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord3iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord3iv ( v : *const i32 ) -> ( ) ); glTexCoord3iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord3s(s: i16, t: i16, r: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord3s ( s : i16 , t : i16 , r : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord3s ( s : i16 , t : i16 , r : i16 ) -> ( ) ); glTexCoord3s(s, t, r) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord3sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord3sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord3sv ( v : *const i16 ) -> ( ) ); glTexCoord3sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord4d(s: f64, t: f64, r: f64, q: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord4d ( s : f64 , t : f64 , r : f64 , q : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord4d ( s : f64 , t : f64 , r : f64 , q : f64 ) -> ( ) ); glTexCoord4d(s, t, r, q) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord4dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord4dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord4dv ( v : *const f64 ) -> ( ) ); glTexCoord4dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord4f(s: f32, t: f32, r: f32, q: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord4f ( s : f32 , t : f32 , r : f32 , q : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord4f ( s : f32 , t : f32 , r : f32 , q : f32 ) -> ( ) ); glTexCoord4f(s, t, r, q) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord4fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord4fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord4fv ( v : *const f32 ) -> ( ) ); glTexCoord4fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord4i(s: i32, t: i32, r: i32, q: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord4i ( s : i32 , t : i32 , r : i32 , q : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord4i ( s : i32 , t : i32 , r : i32 , q : i32 ) -> ( ) ); glTexCoord4i(s, t, r, q) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord4iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord4iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord4iv ( v : *const i32 ) -> ( ) ); glTexCoord4iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord4s(s: i16, t: i16, r: i16, q: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord4s ( s : i16 , t : i16 , r : i16 , q : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord4s ( s : i16 , t : i16 , r : i16 , q : i16 ) -> ( ) ); glTexCoord4s(s, t, r, q) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoord4sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoord4sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoord4sv ( v : *const i16 ) -> ( ) ); glTexCoord4sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexCoordPointer(size: i32, r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexCoordPointer ( size : i32 , r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexCoordPointer ( size : i32 , r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); glTexCoordPointer(size, r#type, stride, pointer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexEnvf(target: u32, pname: u32, param2: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexEnvf ( target : u32 , pname : u32 , param2 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexEnvf ( target : u32 , pname : u32 , param2 : f32 ) -> ( ) ); glTexEnvf(target, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexEnvfv(target: u32, pname: u32, params: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexEnvfv ( target : u32 , pname : u32 , params : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexEnvfv ( target : u32 , pname : u32 , params : *const f32 ) -> ( ) ); glTexEnvfv(target, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexEnvi(target: u32, pname: u32, param2: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexEnvi ( target : u32 , pname : u32 , param2 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexEnvi ( target : u32 , pname : u32 , param2 : i32 ) -> ( ) ); glTexEnvi(target, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexEnviv(target: u32, pname: u32, params: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexEnviv ( target : u32 , pname : u32 , params : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexEnviv ( target : u32 , pname : u32 , params : *const i32 ) -> ( ) ); glTexEnviv(target, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexGend(coord: u32, pname: u32, param2: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexGend ( coord : u32 , pname : u32 , param2 : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexGend ( coord : u32 , pname : u32 , param2 : f64 ) -> ( ) ); glTexGend(coord, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexGendv(coord: u32, pname: u32, params: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexGendv ( coord : u32 , pname : u32 , params : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexGendv ( coord : u32 , pname : u32 , params : *const f64 ) -> ( ) ); glTexGendv(coord, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexGenf(coord: u32, pname: u32, param2: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexGenf ( coord : u32 , pname : u32 , param2 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexGenf ( coord : u32 , pname : u32 , param2 : f32 ) -> ( ) ); glTexGenf(coord, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexGenfv(coord: u32, pname: u32, params: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexGenfv ( coord : u32 , pname : u32 , params : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexGenfv ( coord : u32 , pname : u32 , params : *const f32 ) -> ( ) ); glTexGenfv(coord, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexGeni(coord: u32, pname: u32, param2: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexGeni ( coord : u32 , pname : u32 , param2 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexGeni ( coord : u32 , pname : u32 , param2 : i32 ) -> ( ) ); glTexGeni(coord, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexGeniv(coord: u32, pname: u32, params: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexGeniv ( coord : u32 , pname : u32 , params : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexGeniv ( coord : u32 , pname : u32 , params : *const i32 ) -> ( ) ); glTexGeniv(coord, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexImage1D(target: u32, level: i32, internalformat: i32, width: i32, border: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexImage1D ( target : u32 , level : i32 , internalformat : i32 , width : i32 , border : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexImage1D ( target : u32 , level : i32 , internalformat : i32 , width : i32 , border : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); glTexImage1D(target, level, internalformat, width, border, format, r#type, pixels) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexImage2D(target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexImage2D ( target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexImage2D ( target : u32 , level : i32 , internalformat : i32 , width : i32 , height : i32 , border : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); glTexImage2D(target, level, internalformat, width, height, border, format, r#type, pixels) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexParameterf(target: u32, pname: u32, param2: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexParameterf ( target : u32 , pname : u32 , param2 : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexParameterf ( target : u32 , pname : u32 , param2 : f32 ) -> ( ) ); glTexParameterf(target, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexParameterfv(target: u32, pname: u32, params: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexParameterfv ( target : u32 , pname : u32 , params : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexParameterfv ( target : u32 , pname : u32 , params : *const f32 ) -> ( ) ); glTexParameterfv(target, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexParameteri(target: u32, pname: u32, param2: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexParameteri ( target : u32 , pname : u32 , param2 : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexParameteri ( target : u32 , pname : u32 , param2 : i32 ) -> ( ) ); glTexParameteri(target, pname, param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexParameteriv(target: u32, pname: u32, params: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexParameteriv ( target : u32 , pname : u32 , params : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexParameteriv ( target : u32 , pname : u32 , params : *const i32 ) -> ( ) ); glTexParameteriv(target, pname, params) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexSubImage1D(target: u32, level: i32, xoffset: i32, width: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexSubImage1D ( target : u32 , level : i32 , xoffset : i32 , width : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexSubImage1D ( target : u32 , level : i32 , xoffset : i32 , width : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); glTexSubImage1D(target, level, xoffset, width, format, r#type, pixels) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTexSubImage2D(target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, r#type: u32, pixels: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTexSubImage2D ( target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTexSubImage2D ( target : u32 , level : i32 , xoffset : i32 , yoffset : i32 , width : i32 , height : i32 , format : u32 , r#type : u32 , pixels : *const ::core::ffi::c_void ) -> ( ) ); glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, r#type, pixels) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTranslated(x: f64, y: f64, z: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTranslated ( x : f64 , y : f64 , z : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTranslated ( x : f64 , y : f64 , z : f64 ) -> ( ) ); glTranslated(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glTranslatef(x: f32, y: f32, z: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glTranslatef ( x : f32 , y : f32 , z : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glTranslatef ( x : f32 , y : f32 , z : f32 ) -> ( ) ); glTranslatef(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex2d(x: f64, y: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex2d ( x : f64 , y : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex2d ( x : f64 , y : f64 ) -> ( ) ); glVertex2d(x, y) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex2dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex2dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex2dv ( v : *const f64 ) -> ( ) ); glVertex2dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex2f(x: f32, y: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex2f ( x : f32 , y : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex2f ( x : f32 , y : f32 ) -> ( ) ); glVertex2f(x, y) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex2fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex2fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex2fv ( v : *const f32 ) -> ( ) ); glVertex2fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex2i(x: i32, y: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex2i ( x : i32 , y : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex2i ( x : i32 , y : i32 ) -> ( ) ); glVertex2i(x, y) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex2iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex2iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex2iv ( v : *const i32 ) -> ( ) ); glVertex2iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex2s(x: i16, y: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex2s ( x : i16 , y : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex2s ( x : i16 , y : i16 ) -> ( ) ); glVertex2s(x, y) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex2sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex2sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex2sv ( v : *const i16 ) -> ( ) ); glVertex2sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex3d(x: f64, y: f64, z: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex3d ( x : f64 , y : f64 , z : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex3d ( x : f64 , y : f64 , z : f64 ) -> ( ) ); glVertex3d(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex3dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex3dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex3dv ( v : *const f64 ) -> ( ) ); glVertex3dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex3f(x: f32, y: f32, z: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex3f ( x : f32 , y : f32 , z : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex3f ( x : f32 , y : f32 , z : f32 ) -> ( ) ); glVertex3f(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex3fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex3fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex3fv ( v : *const f32 ) -> ( ) ); glVertex3fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex3i(x: i32, y: i32, z: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex3i ( x : i32 , y : i32 , z : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex3i ( x : i32 , y : i32 , z : i32 ) -> ( ) ); glVertex3i(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex3iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex3iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex3iv ( v : *const i32 ) -> ( ) ); glVertex3iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex3s(x: i16, y: i16, z: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex3s ( x : i16 , y : i16 , z : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex3s ( x : i16 , y : i16 , z : i16 ) -> ( ) ); glVertex3s(x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex3sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex3sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex3sv ( v : *const i16 ) -> ( ) ); glVertex3sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex4d(x: f64, y: f64, z: f64, w: f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex4d ( x : f64 , y : f64 , z : f64 , w : f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex4d ( x : f64 , y : f64 , z : f64 , w : f64 ) -> ( ) ); glVertex4d(x, y, z, w) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex4dv(v: *const f64) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex4dv ( v : *const f64 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex4dv ( v : *const f64 ) -> ( ) ); glVertex4dv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex4f(x: f32, y: f32, z: f32, w: f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex4f ( x : f32 , y : f32 , z : f32 , w : f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex4f ( x : f32 , y : f32 , z : f32 , w : f32 ) -> ( ) ); glVertex4f(x, y, z, w) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex4fv(v: *const f32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex4fv ( v : *const f32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex4fv ( v : *const f32 ) -> ( ) ); glVertex4fv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex4i(x: i32, y: i32, z: i32, w: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex4i ( x : i32 , y : i32 , z : i32 , w : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex4i ( x : i32 , y : i32 , z : i32 , w : i32 ) -> ( ) ); glVertex4i(x, y, z, w) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex4iv(v: *const i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex4iv ( v : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex4iv ( v : *const i32 ) -> ( ) ); glVertex4iv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex4s(x: i16, y: i16, z: i16, w: i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex4s ( x : i16 , y : i16 , z : i16 , w : i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex4s ( x : i16 , y : i16 , z : i16 , w : i16 ) -> ( ) ); glVertex4s(x, y, z, w) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertex4sv(v: *const i16) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertex4sv ( v : *const i16 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertex4sv ( v : *const i16 ) -> ( ) ); glVertex4sv(v) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glVertexPointer(size: i32, r#type: u32, stride: i32, pointer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "opengl32.dll""system" fn glVertexPointer ( size : i32 , r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glVertexPointer ( size : i32 , r#type : u32 , stride : i32 , pointer : *const ::core::ffi::c_void ) -> ( ) ); glVertexPointer(size, r#type, stride, pointer) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn glViewport(x: i32, y: i32, width: i32, height: i32) { - ::windows::core::link ! ( "opengl32.dll""system" fn glViewport ( x : i32 , y : i32 , width : i32 , height : i32 ) -> ( ) ); + ::windows::imp::link ! ( "opengl32.dll""system" fn glViewport ( x : i32 , y : i32 , width : i32 , height : i32 ) -> ( ) ); glViewport(x, y, width, height) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluBeginCurve(nobj: *mut GLUnurbs) { - ::windows::core::link ! ( "glu32.dll""system" fn gluBeginCurve ( nobj : *mut GLUnurbs ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluBeginCurve ( nobj : *mut GLUnurbs ) -> ( ) ); gluBeginCurve(nobj) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluBeginPolygon(tess: *mut GLUtesselator) { - ::windows::core::link ! ( "glu32.dll""system" fn gluBeginPolygon ( tess : *mut GLUtesselator ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluBeginPolygon ( tess : *mut GLUtesselator ) -> ( ) ); gluBeginPolygon(tess) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluBeginSurface(nobj: *mut GLUnurbs) { - ::windows::core::link ! ( "glu32.dll""system" fn gluBeginSurface ( nobj : *mut GLUnurbs ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluBeginSurface ( nobj : *mut GLUnurbs ) -> ( ) ); gluBeginSurface(nobj) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluBeginTrim(nobj: *mut GLUnurbs) { - ::windows::core::link ! ( "glu32.dll""system" fn gluBeginTrim ( nobj : *mut GLUnurbs ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluBeginTrim ( nobj : *mut GLUnurbs ) -> ( ) ); gluBeginTrim(nobj) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluBuild1DMipmaps(target: u32, components: i32, width: i32, format: u32, r#type: u32, data: *const ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "glu32.dll""system" fn gluBuild1DMipmaps ( target : u32 , components : i32 , width : i32 , format : u32 , r#type : u32 , data : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluBuild1DMipmaps ( target : u32 , components : i32 , width : i32 , format : u32 , r#type : u32 , data : *const ::core::ffi::c_void ) -> i32 ); gluBuild1DMipmaps(target, components, width, format, r#type, data) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluBuild2DMipmaps(target: u32, components: i32, width: i32, height: i32, format: u32, r#type: u32, data: *const ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "glu32.dll""system" fn gluBuild2DMipmaps ( target : u32 , components : i32 , width : i32 , height : i32 , format : u32 , r#type : u32 , data : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluBuild2DMipmaps ( target : u32 , components : i32 , width : i32 , height : i32 , format : u32 , r#type : u32 , data : *const ::core::ffi::c_void ) -> i32 ); gluBuild2DMipmaps(target, components, width, height, format, r#type, data) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluCylinder(qobj: *mut GLUquadric, baseradius: f64, topradius: f64, height: f64, slices: i32, stacks: i32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluCylinder ( qobj : *mut GLUquadric , baseradius : f64 , topradius : f64 , height : f64 , slices : i32 , stacks : i32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluCylinder ( qobj : *mut GLUquadric , baseradius : f64 , topradius : f64 , height : f64 , slices : i32 , stacks : i32 ) -> ( ) ); gluCylinder(qobj, baseradius, topradius, height, slices, stacks) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluDeleteNurbsRenderer(nobj: *mut GLUnurbs) { - ::windows::core::link ! ( "glu32.dll""system" fn gluDeleteNurbsRenderer ( nobj : *mut GLUnurbs ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluDeleteNurbsRenderer ( nobj : *mut GLUnurbs ) -> ( ) ); gluDeleteNurbsRenderer(nobj) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluDeleteQuadric(state: *mut GLUquadric) { - ::windows::core::link ! ( "glu32.dll""system" fn gluDeleteQuadric ( state : *mut GLUquadric ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluDeleteQuadric ( state : *mut GLUquadric ) -> ( ) ); gluDeleteQuadric(state) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluDeleteTess(tess: *mut GLUtesselator) { - ::windows::core::link ! ( "glu32.dll""system" fn gluDeleteTess ( tess : *mut GLUtesselator ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluDeleteTess ( tess : *mut GLUtesselator ) -> ( ) ); gluDeleteTess(tess) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluDisk(qobj: *mut GLUquadric, innerradius: f64, outerradius: f64, slices: i32, loops: i32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluDisk ( qobj : *mut GLUquadric , innerradius : f64 , outerradius : f64 , slices : i32 , loops : i32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluDisk ( qobj : *mut GLUquadric , innerradius : f64 , outerradius : f64 , slices : i32 , loops : i32 ) -> ( ) ); gluDisk(qobj, innerradius, outerradius, slices, loops) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluEndCurve(nobj: *mut GLUnurbs) { - ::windows::core::link ! ( "glu32.dll""system" fn gluEndCurve ( nobj : *mut GLUnurbs ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluEndCurve ( nobj : *mut GLUnurbs ) -> ( ) ); gluEndCurve(nobj) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluEndPolygon(tess: *mut GLUtesselator) { - ::windows::core::link ! ( "glu32.dll""system" fn gluEndPolygon ( tess : *mut GLUtesselator ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluEndPolygon ( tess : *mut GLUtesselator ) -> ( ) ); gluEndPolygon(tess) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluEndSurface(nobj: *mut GLUnurbs) { - ::windows::core::link ! ( "glu32.dll""system" fn gluEndSurface ( nobj : *mut GLUnurbs ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluEndSurface ( nobj : *mut GLUnurbs ) -> ( ) ); gluEndSurface(nobj) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluEndTrim(nobj: *mut GLUnurbs) { - ::windows::core::link ! ( "glu32.dll""system" fn gluEndTrim ( nobj : *mut GLUnurbs ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluEndTrim ( nobj : *mut GLUnurbs ) -> ( ) ); gluEndTrim(nobj) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluErrorString(errcode: u32) -> *mut u8 { - ::windows::core::link ! ( "glu32.dll""system" fn gluErrorString ( errcode : u32 ) -> *mut u8 ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluErrorString ( errcode : u32 ) -> *mut u8 ); gluErrorString(errcode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluErrorUnicodeStringEXT(errcode: u32) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "glu32.dll""system" fn gluErrorUnicodeStringEXT ( errcode : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluErrorUnicodeStringEXT ( errcode : u32 ) -> :: windows::core::PWSTR ); gluErrorUnicodeStringEXT(errcode) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluGetNurbsProperty(nobj: *mut GLUnurbs, property: u32, value: *mut f32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluGetNurbsProperty ( nobj : *mut GLUnurbs , property : u32 , value : *mut f32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluGetNurbsProperty ( nobj : *mut GLUnurbs , property : u32 , value : *mut f32 ) -> ( ) ); gluGetNurbsProperty(nobj, property, value) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluGetString(name: u32) -> *mut u8 { - ::windows::core::link ! ( "glu32.dll""system" fn gluGetString ( name : u32 ) -> *mut u8 ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluGetString ( name : u32 ) -> *mut u8 ); gluGetString(name) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluGetTessProperty(tess: *mut GLUtesselator, which: u32, value: *mut f64) { - ::windows::core::link ! ( "glu32.dll""system" fn gluGetTessProperty ( tess : *mut GLUtesselator , which : u32 , value : *mut f64 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluGetTessProperty ( tess : *mut GLUtesselator , which : u32 , value : *mut f64 ) -> ( ) ); gluGetTessProperty(tess, which, value) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluLoadSamplingMatrices(nobj: *mut GLUnurbs, modelmatrix: *const f32, projmatrix: *const f32, viewport: *const i32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluLoadSamplingMatrices ( nobj : *mut GLUnurbs , modelmatrix : *const f32 , projmatrix : *const f32 , viewport : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluLoadSamplingMatrices ( nobj : *mut GLUnurbs , modelmatrix : *const f32 , projmatrix : *const f32 , viewport : *const i32 ) -> ( ) ); gluLoadSamplingMatrices(nobj, modelmatrix, projmatrix, viewport) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluLookAt(eyex: f64, eyey: f64, eyez: f64, centerx: f64, centery: f64, centerz: f64, upx: f64, upy: f64, upz: f64) { - ::windows::core::link ! ( "glu32.dll""system" fn gluLookAt ( eyex : f64 , eyey : f64 , eyez : f64 , centerx : f64 , centery : f64 , centerz : f64 , upx : f64 , upy : f64 , upz : f64 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluLookAt ( eyex : f64 , eyey : f64 , eyez : f64 , centerx : f64 , centery : f64 , centerz : f64 , upx : f64 , upy : f64 , upz : f64 ) -> ( ) ); gluLookAt(eyex, eyey, eyez, centerx, centery, centerz, upx, upy, upz) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluNewNurbsRenderer() -> *mut GLUnurbs { - ::windows::core::link ! ( "glu32.dll""system" fn gluNewNurbsRenderer ( ) -> *mut GLUnurbs ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluNewNurbsRenderer ( ) -> *mut GLUnurbs ); gluNewNurbsRenderer() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluNewQuadric() -> *mut GLUquadric { - ::windows::core::link ! ( "glu32.dll""system" fn gluNewQuadric ( ) -> *mut GLUquadric ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluNewQuadric ( ) -> *mut GLUquadric ); gluNewQuadric() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluNewTess() -> *mut GLUtesselator { - ::windows::core::link ! ( "glu32.dll""system" fn gluNewTess ( ) -> *mut GLUtesselator ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluNewTess ( ) -> *mut GLUtesselator ); gluNewTess() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluNextContour(tess: *mut GLUtesselator, r#type: u32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluNextContour ( tess : *mut GLUtesselator , r#type : u32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluNextContour ( tess : *mut GLUtesselator , r#type : u32 ) -> ( ) ); gluNextContour(tess, r#type) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluNurbsCallback(nobj: *mut GLUnurbs, which: u32, r#fn: isize) { - ::windows::core::link ! ( "glu32.dll""system" fn gluNurbsCallback ( nobj : *mut GLUnurbs , which : u32 , r#fn : isize ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluNurbsCallback ( nobj : *mut GLUnurbs , which : u32 , r#fn : isize ) -> ( ) ); gluNurbsCallback(nobj, which, r#fn) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluNurbsCurve(nobj: *mut GLUnurbs, nknots: i32, knot: *mut f32, stride: i32, ctlarray: *mut f32, order: i32, r#type: u32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluNurbsCurve ( nobj : *mut GLUnurbs , nknots : i32 , knot : *mut f32 , stride : i32 , ctlarray : *mut f32 , order : i32 , r#type : u32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluNurbsCurve ( nobj : *mut GLUnurbs , nknots : i32 , knot : *mut f32 , stride : i32 , ctlarray : *mut f32 , order : i32 , r#type : u32 ) -> ( ) ); gluNurbsCurve(nobj, nknots, knot, stride, ctlarray, order, r#type) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluNurbsProperty(nobj: *mut GLUnurbs, property: u32, value: f32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluNurbsProperty ( nobj : *mut GLUnurbs , property : u32 , value : f32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluNurbsProperty ( nobj : *mut GLUnurbs , property : u32 , value : f32 ) -> ( ) ); gluNurbsProperty(nobj, property, value) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluNurbsSurface(nobj: *mut GLUnurbs, sknot_count: i32, sknot: *mut f32, tknot_count: i32, tknot: *mut f32, s_stride: i32, t_stride: i32, ctlarray: *mut f32, sorder: i32, torder: i32, r#type: u32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluNurbsSurface ( nobj : *mut GLUnurbs , sknot_count : i32 , sknot : *mut f32 , tknot_count : i32 , tknot : *mut f32 , s_stride : i32 , t_stride : i32 , ctlarray : *mut f32 , sorder : i32 , torder : i32 , r#type : u32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluNurbsSurface ( nobj : *mut GLUnurbs , sknot_count : i32 , sknot : *mut f32 , tknot_count : i32 , tknot : *mut f32 , s_stride : i32 , t_stride : i32 , ctlarray : *mut f32 , sorder : i32 , torder : i32 , r#type : u32 ) -> ( ) ); gluNurbsSurface(nobj, sknot_count, sknot, tknot_count, tknot, s_stride, t_stride, ctlarray, sorder, torder, r#type) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluOrtho2D(left: f64, right: f64, bottom: f64, top: f64) { - ::windows::core::link ! ( "glu32.dll""system" fn gluOrtho2D ( left : f64 , right : f64 , bottom : f64 , top : f64 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluOrtho2D ( left : f64 , right : f64 , bottom : f64 , top : f64 ) -> ( ) ); gluOrtho2D(left, right, bottom, top) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluPartialDisk(qobj: *mut GLUquadric, innerradius: f64, outerradius: f64, slices: i32, loops: i32, startangle: f64, sweepangle: f64) { - ::windows::core::link ! ( "glu32.dll""system" fn gluPartialDisk ( qobj : *mut GLUquadric , innerradius : f64 , outerradius : f64 , slices : i32 , loops : i32 , startangle : f64 , sweepangle : f64 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluPartialDisk ( qobj : *mut GLUquadric , innerradius : f64 , outerradius : f64 , slices : i32 , loops : i32 , startangle : f64 , sweepangle : f64 ) -> ( ) ); gluPartialDisk(qobj, innerradius, outerradius, slices, loops, startangle, sweepangle) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluPerspective(fovy: f64, aspect: f64, znear: f64, zfar: f64) { - ::windows::core::link ! ( "glu32.dll""system" fn gluPerspective ( fovy : f64 , aspect : f64 , znear : f64 , zfar : f64 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluPerspective ( fovy : f64 , aspect : f64 , znear : f64 , zfar : f64 ) -> ( ) ); gluPerspective(fovy, aspect, znear, zfar) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluPickMatrix(x: f64, y: f64, width: f64, height: f64, viewport: *mut i32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluPickMatrix ( x : f64 , y : f64 , width : f64 , height : f64 , viewport : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluPickMatrix ( x : f64 , y : f64 , width : f64 , height : f64 , viewport : *mut i32 ) -> ( ) ); gluPickMatrix(x, y, width, height, viewport) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluProject(objx: f64, objy: f64, objz: f64, modelmatrix: *const f64, projmatrix: *const f64, viewport: *const i32, winx: *mut f64, winy: *mut f64, winz: *mut f64) -> i32 { - ::windows::core::link ! ( "glu32.dll""system" fn gluProject ( objx : f64 , objy : f64 , objz : f64 , modelmatrix : *const f64 , projmatrix : *const f64 , viewport : *const i32 , winx : *mut f64 , winy : *mut f64 , winz : *mut f64 ) -> i32 ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluProject ( objx : f64 , objy : f64 , objz : f64 , modelmatrix : *const f64 , projmatrix : *const f64 , viewport : *const i32 , winx : *mut f64 , winy : *mut f64 , winz : *mut f64 ) -> i32 ); gluProject(objx, objy, objz, modelmatrix, projmatrix, viewport, winx, winy, winz) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluPwlCurve(nobj: *mut GLUnurbs, count: i32, array: *mut f32, stride: i32, r#type: u32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluPwlCurve ( nobj : *mut GLUnurbs , count : i32 , array : *mut f32 , stride : i32 , r#type : u32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluPwlCurve ( nobj : *mut GLUnurbs , count : i32 , array : *mut f32 , stride : i32 , r#type : u32 ) -> ( ) ); gluPwlCurve(nobj, count, array, stride, r#type) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluQuadricCallback(qobj: *mut GLUquadric, which: u32, r#fn: isize) { - ::windows::core::link ! ( "glu32.dll""system" fn gluQuadricCallback ( qobj : *mut GLUquadric , which : u32 , r#fn : isize ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluQuadricCallback ( qobj : *mut GLUquadric , which : u32 , r#fn : isize ) -> ( ) ); gluQuadricCallback(qobj, which, r#fn) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluQuadricDrawStyle(quadobject: *mut GLUquadric, drawstyle: u32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluQuadricDrawStyle ( quadobject : *mut GLUquadric , drawstyle : u32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluQuadricDrawStyle ( quadobject : *mut GLUquadric , drawstyle : u32 ) -> ( ) ); gluQuadricDrawStyle(quadobject, drawstyle) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluQuadricNormals(quadobject: *mut GLUquadric, normals: u32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluQuadricNormals ( quadobject : *mut GLUquadric , normals : u32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluQuadricNormals ( quadobject : *mut GLUquadric , normals : u32 ) -> ( ) ); gluQuadricNormals(quadobject, normals) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluQuadricOrientation(quadobject: *mut GLUquadric, orientation: u32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluQuadricOrientation ( quadobject : *mut GLUquadric , orientation : u32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluQuadricOrientation ( quadobject : *mut GLUquadric , orientation : u32 ) -> ( ) ); gluQuadricOrientation(quadobject, orientation) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluQuadricTexture(quadobject: *mut GLUquadric, texturecoords: u8) { - ::windows::core::link ! ( "glu32.dll""system" fn gluQuadricTexture ( quadobject : *mut GLUquadric , texturecoords : u8 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluQuadricTexture ( quadobject : *mut GLUquadric , texturecoords : u8 ) -> ( ) ); gluQuadricTexture(quadobject, texturecoords) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluScaleImage(format: u32, widthin: i32, heightin: i32, typein: u32, datain: *const ::core::ffi::c_void, widthout: i32, heightout: i32, typeout: u32, dataout: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "glu32.dll""system" fn gluScaleImage ( format : u32 , widthin : i32 , heightin : i32 , typein : u32 , datain : *const ::core::ffi::c_void , widthout : i32 , heightout : i32 , typeout : u32 , dataout : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluScaleImage ( format : u32 , widthin : i32 , heightin : i32 , typein : u32 , datain : *const ::core::ffi::c_void , widthout : i32 , heightout : i32 , typeout : u32 , dataout : *mut ::core::ffi::c_void ) -> i32 ); gluScaleImage(format, widthin, heightin, typein, datain, widthout, heightout, typeout, dataout) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluSphere(qobj: *mut GLUquadric, radius: f64, slices: i32, stacks: i32) { - ::windows::core::link ! ( "glu32.dll""system" fn gluSphere ( qobj : *mut GLUquadric , radius : f64 , slices : i32 , stacks : i32 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluSphere ( qobj : *mut GLUquadric , radius : f64 , slices : i32 , stacks : i32 ) -> ( ) ); gluSphere(qobj, radius, slices, stacks) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluTessBeginContour(tess: *mut GLUtesselator) { - ::windows::core::link ! ( "glu32.dll""system" fn gluTessBeginContour ( tess : *mut GLUtesselator ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluTessBeginContour ( tess : *mut GLUtesselator ) -> ( ) ); gluTessBeginContour(tess) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluTessBeginPolygon(tess: *mut GLUtesselator, polygon_data: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "glu32.dll""system" fn gluTessBeginPolygon ( tess : *mut GLUtesselator , polygon_data : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluTessBeginPolygon ( tess : *mut GLUtesselator , polygon_data : *mut ::core::ffi::c_void ) -> ( ) ); gluTessBeginPolygon(tess, polygon_data) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluTessCallback(tess: *mut GLUtesselator, which: u32, r#fn: isize) { - ::windows::core::link ! ( "glu32.dll""system" fn gluTessCallback ( tess : *mut GLUtesselator , which : u32 , r#fn : isize ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluTessCallback ( tess : *mut GLUtesselator , which : u32 , r#fn : isize ) -> ( ) ); gluTessCallback(tess, which, r#fn) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluTessEndContour(tess: *mut GLUtesselator) { - ::windows::core::link ! ( "glu32.dll""system" fn gluTessEndContour ( tess : *mut GLUtesselator ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluTessEndContour ( tess : *mut GLUtesselator ) -> ( ) ); gluTessEndContour(tess) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluTessEndPolygon(tess: *mut GLUtesselator) { - ::windows::core::link ! ( "glu32.dll""system" fn gluTessEndPolygon ( tess : *mut GLUtesselator ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluTessEndPolygon ( tess : *mut GLUtesselator ) -> ( ) ); gluTessEndPolygon(tess) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluTessNormal(tess: *mut GLUtesselator, x: f64, y: f64, z: f64) { - ::windows::core::link ! ( "glu32.dll""system" fn gluTessNormal ( tess : *mut GLUtesselator , x : f64 , y : f64 , z : f64 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluTessNormal ( tess : *mut GLUtesselator , x : f64 , y : f64 , z : f64 ) -> ( ) ); gluTessNormal(tess, x, y, z) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluTessProperty(tess: *mut GLUtesselator, which: u32, value: f64) { - ::windows::core::link ! ( "glu32.dll""system" fn gluTessProperty ( tess : *mut GLUtesselator , which : u32 , value : f64 ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluTessProperty ( tess : *mut GLUtesselator , which : u32 , value : f64 ) -> ( ) ); gluTessProperty(tess, which, value) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluTessVertex(tess: *mut GLUtesselator, coords: *mut f64, data: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "glu32.dll""system" fn gluTessVertex ( tess : *mut GLUtesselator , coords : *mut f64 , data : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluTessVertex ( tess : *mut GLUtesselator , coords : *mut f64 , data : *mut ::core::ffi::c_void ) -> ( ) ); gluTessVertex(tess, coords, data) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn gluUnProject(winx: f64, winy: f64, winz: f64, modelmatrix: *const f64, projmatrix: *const f64, viewport: *const i32, objx: *mut f64, objy: *mut f64, objz: *mut f64) -> i32 { - ::windows::core::link ! ( "glu32.dll""system" fn gluUnProject ( winx : f64 , winy : f64 , winz : f64 , modelmatrix : *const f64 , projmatrix : *const f64 , viewport : *const i32 , objx : *mut f64 , objy : *mut f64 , objz : *mut f64 ) -> i32 ); + ::windows::imp::link ! ( "glu32.dll""system" fn gluUnProject ( winx : f64 , winy : f64 , winz : f64 , modelmatrix : *const f64 , projmatrix : *const f64 , viewport : *const i32 , objx : *mut f64 , objy : *mut f64 , objz : *mut f64 ) -> i32 ); gluUnProject(winx, winy, winz, modelmatrix, projmatrix, viewport, objx, objy, objz) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`*"] @@ -2394,7 +2394,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglCopyContext ( param0 : HGLRC , param1 : HGLRC , param2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglCopyContext ( param0 : HGLRC , param1 : HGLRC , param2 : u32 ) -> super::super::Foundation:: BOOL ); wglCopyContext(param0.into(), param1.into(), param2) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2404,9 +2404,9 @@ pub unsafe fn wglCreateContext(param0: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglCreateContext ( param0 : super::Gdi:: HDC ) -> HGLRC ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglCreateContext ( param0 : super::Gdi:: HDC ) -> HGLRC ); let result__ = wglCreateContext(param0.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2415,9 +2415,9 @@ pub unsafe fn wglCreateLayerContext(param0: P0, param1: i32) -> ::windows::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglCreateLayerContext ( param0 : super::Gdi:: HDC , param1 : i32 ) -> HGLRC ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglCreateLayerContext ( param0 : super::Gdi:: HDC , param1 : i32 ) -> HGLRC ); let result__ = wglCreateLayerContext(param0.into(), param1); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2426,7 +2426,7 @@ pub unsafe fn wglDeleteContext(param0: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglDeleteContext ( param0 : HGLRC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglDeleteContext ( param0 : HGLRC ) -> super::super::Foundation:: BOOL ); wglDeleteContext(param0.into()) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2436,20 +2436,20 @@ pub unsafe fn wglDescribeLayerPlane(param0: P0, param1: i32, param2: i32, pa where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglDescribeLayerPlane ( param0 : super::Gdi:: HDC , param1 : i32 , param2 : i32 , param3 : u32 , param4 : *mut LAYERPLANEDESCRIPTOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglDescribeLayerPlane ( param0 : super::Gdi:: HDC , param1 : i32 , param2 : i32 , param3 : u32 , param4 : *mut LAYERPLANEDESCRIPTOR ) -> super::super::Foundation:: BOOL ); wglDescribeLayerPlane(param0.into(), param1, param2, param3, param4) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] #[inline] pub unsafe fn wglGetCurrentContext() -> HGLRC { - ::windows::core::link ! ( "opengl32.dll""system" fn wglGetCurrentContext ( ) -> HGLRC ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglGetCurrentContext ( ) -> HGLRC ); wglGetCurrentContext() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn wglGetCurrentDC() -> super::Gdi::HDC { - ::windows::core::link ! ( "opengl32.dll""system" fn wglGetCurrentDC ( ) -> super::Gdi:: HDC ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglGetCurrentDC ( ) -> super::Gdi:: HDC ); wglGetCurrentDC() } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2459,7 +2459,7 @@ pub unsafe fn wglGetLayerPaletteEntries(param0: P0, param1: i32, param2: i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglGetLayerPaletteEntries ( param0 : super::Gdi:: HDC , param1 : i32 , param2 : i32 , param3 : i32 , param4 : *mut super::super::Foundation:: COLORREF ) -> i32 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglGetLayerPaletteEntries ( param0 : super::Gdi:: HDC , param1 : i32 , param2 : i32 , param3 : i32 , param4 : *mut super::super::Foundation:: COLORREF ) -> i32 ); wglGetLayerPaletteEntries(param0.into(), param1, param2, param3, param4) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`*"] @@ -2469,7 +2469,7 @@ pub unsafe fn wglGetProcAddress(param0: P0) -> super::super::Foundation::PRO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglGetProcAddress ( param0 : :: windows::core::PCSTR ) -> super::super::Foundation:: PROC ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglGetProcAddress ( param0 : :: windows::core::PCSTR ) -> super::super::Foundation:: PROC ); wglGetProcAddress(param0.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2480,7 +2480,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglMakeCurrent ( param0 : super::Gdi:: HDC , param1 : HGLRC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglMakeCurrent ( param0 : super::Gdi:: HDC , param1 : HGLRC ) -> super::super::Foundation:: BOOL ); wglMakeCurrent(param0.into(), param1.into()) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2491,7 +2491,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglRealizeLayerPalette ( param0 : super::Gdi:: HDC , param1 : i32 , param2 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglRealizeLayerPalette ( param0 : super::Gdi:: HDC , param1 : i32 , param2 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); wglRealizeLayerPalette(param0.into(), param1, param2.into()) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2501,7 +2501,7 @@ pub unsafe fn wglSetLayerPaletteEntries(param0: P0, param1: i32, param2: i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglSetLayerPaletteEntries ( param0 : super::Gdi:: HDC , param1 : i32 , param2 : i32 , param3 : i32 , param4 : *const super::super::Foundation:: COLORREF ) -> i32 ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglSetLayerPaletteEntries ( param0 : super::Gdi:: HDC , param1 : i32 , param2 : i32 , param3 : i32 , param4 : *const super::super::Foundation:: COLORREF ) -> i32 ); wglSetLayerPaletteEntries(param0.into(), param1, param2, param3, param4) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`*"] @@ -2512,7 +2512,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglShareLists ( param0 : HGLRC , param1 : HGLRC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglShareLists ( param0 : HGLRC , param1 : HGLRC ) -> super::super::Foundation:: BOOL ); wglShareLists(param0.into(), param1.into()) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2522,7 +2522,7 @@ pub unsafe fn wglSwapLayerBuffers(param0: P0, param1: u32) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglSwapLayerBuffers ( param0 : super::Gdi:: HDC , param1 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglSwapLayerBuffers ( param0 : super::Gdi:: HDC , param1 : u32 ) -> super::super::Foundation:: BOOL ); wglSwapLayerBuffers(param0.into(), param1) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2532,7 +2532,7 @@ pub unsafe fn wglUseFontBitmapsA(param0: P0, param1: u32, param2: u32, param where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglUseFontBitmapsA ( param0 : super::Gdi:: HDC , param1 : u32 , param2 : u32 , param3 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglUseFontBitmapsA ( param0 : super::Gdi:: HDC , param1 : u32 , param2 : u32 , param3 : u32 ) -> super::super::Foundation:: BOOL ); wglUseFontBitmapsA(param0.into(), param1, param2, param3) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2542,7 +2542,7 @@ pub unsafe fn wglUseFontBitmapsW(param0: P0, param1: u32, param2: u32, param where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglUseFontBitmapsW ( param0 : super::Gdi:: HDC , param1 : u32 , param2 : u32 , param3 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglUseFontBitmapsW ( param0 : super::Gdi:: HDC , param1 : u32 , param2 : u32 , param3 : u32 ) -> super::super::Foundation:: BOOL ); wglUseFontBitmapsW(param0.into(), param1, param2, param3) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2552,7 +2552,7 @@ pub unsafe fn wglUseFontOutlinesA(param0: P0, param1: u32, param2: u32, para where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglUseFontOutlinesA ( param0 : super::Gdi:: HDC , param1 : u32 , param2 : u32 , param3 : u32 , param4 : f32 , param5 : f32 , param6 : i32 , param7 : *mut GLYPHMETRICSFLOAT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglUseFontOutlinesA ( param0 : super::Gdi:: HDC , param1 : u32 , param2 : u32 , param3 : u32 , param4 : f32 , param5 : f32 , param6 : i32 , param7 : *mut GLYPHMETRICSFLOAT ) -> super::super::Foundation:: BOOL ); wglUseFontOutlinesA(param0.into(), param1, param2, param3, param4, param5, param6, param7) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2562,7 +2562,7 @@ pub unsafe fn wglUseFontOutlinesW(param0: P0, param1: u32, param2: u32, para where P0: ::std::convert::Into, { - ::windows::core::link ! ( "opengl32.dll""system" fn wglUseFontOutlinesW ( param0 : super::Gdi:: HDC , param1 : u32 , param2 : u32 , param3 : u32 , param4 : f32 , param5 : f32 , param6 : i32 , param7 : *mut GLYPHMETRICSFLOAT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "opengl32.dll""system" fn wglUseFontOutlinesW ( param0 : super::Gdi:: HDC , param1 : u32 , param2 : u32 , param3 : u32 , param4 : f32 , param5 : f32 , param6 : i32 , param7 : *mut GLYPHMETRICSFLOAT ) -> super::super::Foundation:: BOOL ); wglUseFontOutlinesW(param0.into(), param1, param2, param3, param4, param5, param6, param7) } #[doc = "*Required features: `\"Win32_Graphics_OpenGL\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs index 4f4f3faa5e..4e0034a724 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn PTCloseProvider(hprovider: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTCloseProvider ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTCloseProvider ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER ) -> :: windows::core::HRESULT ); PTCloseProvider(hprovider.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -16,7 +16,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTConvertDevModeToPrintTicket ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , cbdevmode : u32 , pdevmode : *const super::super::Gdi:: DEVMODEA , scope : EPrintTicketScope , pprintticket : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTConvertDevModeToPrintTicket ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , cbdevmode : u32 , pdevmode : *const super::super::Gdi:: DEVMODEA , scope : EPrintTicketScope , pprintticket : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); PTConvertDevModeToPrintTicket(hprovider.into(), cbdevmode, pdevmode, scope, pprintticket.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -27,7 +27,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTConvertPrintTicketToDevMode ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : * mut::core::ffi::c_void , basedevmodetype : EDefaultDevmodeType , scope : EPrintTicketScope , pcbdevmode : *mut u32 , ppdevmode : *mut *mut super::super::Gdi:: DEVMODEA , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTConvertPrintTicketToDevMode ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : * mut::core::ffi::c_void , basedevmodetype : EDefaultDevmodeType , scope : EPrintTicketScope , pcbdevmode : *mut u32 , ppdevmode : *mut *mut super::super::Gdi:: DEVMODEA , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); PTConvertPrintTicketToDevMode(hprovider.into(), pprintticket.into().abi(), basedevmodetype, scope, pcbdevmode, ppdevmode, ::core::mem::transmute(pbstrerrormessage.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -39,7 +39,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTGetPrintCapabilities ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : * mut::core::ffi::c_void , pcapabilities : * mut::core::ffi::c_void , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTGetPrintCapabilities ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : * mut::core::ffi::c_void , pcapabilities : * mut::core::ffi::c_void , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); PTGetPrintCapabilities(hprovider.into(), pprintticket.into().abi(), pcapabilities.into().abi(), ::core::mem::transmute(pbstrerrormessage.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -51,7 +51,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTGetPrintDeviceCapabilities ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : * mut::core::ffi::c_void , pdevicecapabilities : * mut::core::ffi::c_void , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTGetPrintDeviceCapabilities ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pprintticket : * mut::core::ffi::c_void , pdevicecapabilities : * mut::core::ffi::c_void , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); PTGetPrintDeviceCapabilities(hprovider.into(), pprintticket.into().abi(), pdevicecapabilities.into().abi(), ::core::mem::transmute(pbstrerrormessage.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -64,7 +64,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTGetPrintDeviceResources ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pszlocalename : :: windows::core::PCWSTR , pprintticket : * mut::core::ffi::c_void , pdeviceresources : * mut::core::ffi::c_void , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTGetPrintDeviceResources ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pszlocalename : :: windows::core::PCWSTR , pprintticket : * mut::core::ffi::c_void , pdeviceresources : * mut::core::ffi::c_void , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); PTGetPrintDeviceResources(hprovider.into(), pszlocalename.into().abi(), pprintticket.into().abi(), pdeviceresources.into().abi(), ::core::mem::transmute(pbstrerrormessage.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`*"] @@ -77,7 +77,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTMergeAndValidatePrintTicket ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pbaseticket : * mut::core::ffi::c_void , pdeltaticket : * mut::core::ffi::c_void , scope : EPrintTicketScope , presultticket : * mut::core::ffi::c_void , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTMergeAndValidatePrintTicket ( hprovider : super::super::super::Storage::Xps:: HPTPROVIDER , pbaseticket : * mut::core::ffi::c_void , pdeltaticket : * mut::core::ffi::c_void , scope : EPrintTicketScope , presultticket : * mut::core::ffi::c_void , pbstrerrormessage : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); PTMergeAndValidatePrintTicket(hprovider.into(), pbaseticket.into().abi(), pdeltaticket.into().abi(), scope, presultticket.into().abi(), ::core::mem::transmute(pbstrerrormessage.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`, `\"Win32_Storage_Xps\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn PTOpenProvider(pszprintername: P0, dwversion: u32) -> ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTOpenProvider ( pszprintername : :: windows::core::PCWSTR , dwversion : u32 , phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTOpenProvider ( pszprintername : :: windows::core::PCWSTR , dwversion : u32 , phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PTOpenProvider(pszprintername.into().abi(), dwversion, &mut result__).from_abi(result__) } @@ -98,7 +98,7 @@ pub unsafe fn PTOpenProviderEx(pszprintername: P0, dwmaxversion: u32, dwpref where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTOpenProviderEx ( pszprintername : :: windows::core::PCWSTR , dwmaxversion : u32 , dwprefversion : u32 , phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER , pusedversion : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTOpenProviderEx ( pszprintername : :: windows::core::PCWSTR , dwmaxversion : u32 , dwprefversion : u32 , phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER , pusedversion : *mut u32 ) -> :: windows::core::HRESULT ); PTOpenProviderEx(pszprintername.into().abi(), dwmaxversion, dwprefversion, phprovider, pusedversion).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"] @@ -107,14 +107,14 @@ pub unsafe fn PTQuerySchemaVersionSupport(pszprintername: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTQuerySchemaVersionSupport ( pszprintername : :: windows::core::PCWSTR , pmaxversion : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTQuerySchemaVersionSupport ( pszprintername : :: windows::core::PCWSTR , pmaxversion : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PTQuerySchemaVersionSupport(pszprintername.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"] #[inline] pub unsafe fn PTReleaseMemory(pbuffer: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "prntvpt.dll""system" fn PTReleaseMemory ( pbuffer : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "prntvpt.dll""system" fn PTReleaseMemory ( pbuffer : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PTReleaseMemory(pbuffer).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing_PrintTicket\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs index 616964b1b2..d099219c6f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -7,7 +7,7 @@ pub unsafe fn AbortPrinter(hprinter: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn AbortPrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AbortPrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); AbortPrinter(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ pub unsafe fn AddFormA(hprinter: P0, level: u32, pform: *const u8) -> super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn AddFormA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pform : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddFormA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pform : *const u8 ) -> super::super::Foundation:: BOOL ); AddFormA(hprinter.into(), level, pform) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -27,7 +27,7 @@ pub unsafe fn AddFormW(hprinter: P0, level: u32, pform: *const u8) -> super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn AddFormW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pform : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddFormW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pform : *const u8 ) -> super::super::Foundation:: BOOL ); AddFormW(hprinter.into(), level, pform) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn AddJobA(hprinter: P0, level: u32, pdata: ::core::option::Optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn AddJobA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pdata : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddJobA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pdata : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); AddJobA(hprinter.into(), level, ::core::mem::transmute(pdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdata.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -47,7 +47,7 @@ pub unsafe fn AddJobW(hprinter: P0, level: u32, pdata: ::core::option::Optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn AddJobW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pdata : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddJobW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pdata : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); AddJobW(hprinter.into(), level, ::core::mem::transmute(pdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdata.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn AddMonitorA(pname: P0, level: u32, pmonitors: ::core::option:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddMonitorA ( pname : :: windows::core::PCSTR , level : u32 , pmonitors : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddMonitorA ( pname : :: windows::core::PCSTR , level : u32 , pmonitors : *const u8 ) -> super::super::Foundation:: BOOL ); AddMonitorA(pname.into().abi(), level, ::core::mem::transmute(pmonitors.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -67,7 +67,7 @@ pub unsafe fn AddMonitorW(pname: P0, level: u32, pmonitors: ::core::option:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddMonitorW ( pname : :: windows::core::PCWSTR , level : u32 , pmonitors : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddMonitorW ( pname : :: windows::core::PCWSTR , level : u32 , pmonitors : *const u8 ) -> super::super::Foundation:: BOOL ); AddMonitorW(pname.into().abi(), level, ::core::mem::transmute(pmonitors.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -79,7 +79,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPortA ( pname : :: windows::core::PCSTR , hwnd : super::super::Foundation:: HWND , pmonitorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPortA ( pname : :: windows::core::PCSTR , hwnd : super::super::Foundation:: HWND , pmonitorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AddPortA(pname.into().abi(), hwnd.into(), pmonitorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -91,7 +91,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPortW ( pname : :: windows::core::PCWSTR , hwnd : super::super::Foundation:: HWND , pmonitorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPortW ( pname : :: windows::core::PCWSTR , hwnd : super::super::Foundation:: HWND , pmonitorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AddPortW(pname.into().abi(), hwnd.into(), pmonitorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -101,7 +101,7 @@ pub unsafe fn AddPrintDeviceObject(hprinter: P0) -> ::windows::core::Result< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn AddPrintDeviceObject ( hprinter : super::super::Foundation:: HANDLE , phdeviceobject : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "spoolss.dll""system" fn AddPrintDeviceObject ( hprinter : super::super::Foundation:: HANDLE , phdeviceobject : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AddPrintDeviceObject(hprinter.into(), &mut result__).from_abi(result__) } @@ -115,7 +115,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrintProcessorA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , ppathname : :: windows::core::PCSTR , pprintprocessorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrintProcessorA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , ppathname : :: windows::core::PCSTR , pprintprocessorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AddPrintProcessorA(pname.into().abi(), penvironment.into().abi(), ppathname.into().abi(), pprintprocessorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -128,7 +128,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrintProcessorW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , ppathname : :: windows::core::PCWSTR , pprintprocessorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrintProcessorW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , ppathname : :: windows::core::PCWSTR , pprintprocessorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AddPrintProcessorW(pname.into().abi(), penvironment.into().abi(), ppathname.into().abi(), pprintprocessorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -138,7 +138,7 @@ pub unsafe fn AddPrintProvidorA(pname: P0, level: u32, pprovidorinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrintProvidorA ( pname : :: windows::core::PCSTR , level : u32 , pprovidorinfo : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrintProvidorA ( pname : :: windows::core::PCSTR , level : u32 , pprovidorinfo : *const u8 ) -> super::super::Foundation:: BOOL ); AddPrintProvidorA(pname.into().abi(), level, pprovidorinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -148,7 +148,7 @@ pub unsafe fn AddPrintProvidorW(pname: P0, level: u32, pprovidorinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrintProvidorW ( pname : :: windows::core::PCWSTR , level : u32 , pprovidorinfo : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrintProvidorW ( pname : :: windows::core::PCWSTR , level : u32 , pprovidorinfo : *const u8 ) -> super::super::Foundation:: BOOL ); AddPrintProvidorW(pname.into().abi(), level, pprovidorinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -158,7 +158,7 @@ pub unsafe fn AddPrinterA(pname: P0, level: u32, pprinter: *const u8) -> sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterA ( pname : :: windows::core::PCSTR , level : u32 , pprinter : *const u8 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterA ( pname : :: windows::core::PCSTR , level : u32 , pprinter : *const u8 ) -> super::super::Foundation:: HANDLE ); AddPrinterA(pname.into().abi(), level, pprinter) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -169,7 +169,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterConnection2A ( hwnd : super::super::Foundation:: HWND , pszname : :: windows::core::PCSTR , dwlevel : u32 , pconnectioninfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterConnection2A ( hwnd : super::super::Foundation:: HWND , pszname : :: windows::core::PCSTR , dwlevel : u32 , pconnectioninfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); AddPrinterConnection2A(hwnd.into(), pszname.into().abi(), dwlevel, pconnectioninfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -180,7 +180,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterConnection2W ( hwnd : super::super::Foundation:: HWND , pszname : :: windows::core::PCWSTR , dwlevel : u32 , pconnectioninfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterConnection2W ( hwnd : super::super::Foundation:: HWND , pszname : :: windows::core::PCWSTR , dwlevel : u32 , pconnectioninfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); AddPrinterConnection2W(hwnd.into(), pszname.into().abi(), dwlevel, pconnectioninfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -190,7 +190,7 @@ pub unsafe fn AddPrinterConnectionA(pname: P0) -> super::super::Foundation:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterConnectionA ( pname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterConnectionA ( pname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AddPrinterConnectionA(pname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -200,7 +200,7 @@ pub unsafe fn AddPrinterConnectionW(pname: P0) -> super::super::Foundation:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterConnectionW ( pname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterConnectionW ( pname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AddPrinterConnectionW(pname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -210,7 +210,7 @@ pub unsafe fn AddPrinterDriverA(pname: P0, level: u32, pdriverinfo: *const u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterDriverA ( pname : :: windows::core::PCSTR , level : u32 , pdriverinfo : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterDriverA ( pname : :: windows::core::PCSTR , level : u32 , pdriverinfo : *const u8 ) -> super::super::Foundation:: BOOL ); AddPrinterDriverA(pname.into().abi(), level, pdriverinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -220,7 +220,7 @@ pub unsafe fn AddPrinterDriverExA(pname: P0, level: u32, lpbdriverinfo: *con where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterDriverExA ( pname : :: windows::core::PCSTR , level : u32 , lpbdriverinfo : *const u8 , dwfilecopyflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterDriverExA ( pname : :: windows::core::PCSTR , level : u32 , lpbdriverinfo : *const u8 , dwfilecopyflags : u32 ) -> super::super::Foundation:: BOOL ); AddPrinterDriverExA(pname.into().abi(), level, lpbdriverinfo, dwfilecopyflags) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -230,7 +230,7 @@ pub unsafe fn AddPrinterDriverExW(pname: P0, level: u32, lpbdriverinfo: *con where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterDriverExW ( pname : :: windows::core::PCWSTR , level : u32 , lpbdriverinfo : *const u8 , dwfilecopyflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterDriverExW ( pname : :: windows::core::PCWSTR , level : u32 , lpbdriverinfo : *const u8 , dwfilecopyflags : u32 ) -> super::super::Foundation:: BOOL ); AddPrinterDriverExW(pname.into().abi(), level, lpbdriverinfo, dwfilecopyflags) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -240,7 +240,7 @@ pub unsafe fn AddPrinterDriverW(pname: P0, level: u32, pdriverinfo: *const u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterDriverW ( pname : :: windows::core::PCWSTR , level : u32 , pdriverinfo : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterDriverW ( pname : :: windows::core::PCWSTR , level : u32 , pdriverinfo : *const u8 ) -> super::super::Foundation:: BOOL ); AddPrinterDriverW(pname.into().abi(), level, pdriverinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -250,7 +250,7 @@ pub unsafe fn AddPrinterW(pname: P0, level: u32, pprinter: *const u8) -> sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AddPrinterW ( pname : :: windows::core::PCWSTR , level : u32 , pprinter : *const u8 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "winspool.drv""system" fn AddPrinterW ( pname : :: windows::core::PCWSTR , level : u32 , pprinter : *const u8 ) -> super::super::Foundation:: HANDLE ); AddPrinterW(pname.into().abi(), level, pprinter) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -262,7 +262,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AdvancedDocumentPropertiesA ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , pdevicename : :: windows::core::PCSTR , pdevmodeoutput : *mut super::Gdi:: DEVMODEA , pdevmodeinput : *const super::Gdi:: DEVMODEA ) -> i32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn AdvancedDocumentPropertiesA ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , pdevicename : :: windows::core::PCSTR , pdevmodeoutput : *mut super::Gdi:: DEVMODEA , pdevmodeinput : *const super::Gdi:: DEVMODEA ) -> i32 ); AdvancedDocumentPropertiesA(hwnd.into(), hprinter.into(), pdevicename.into().abi(), ::core::mem::transmute(pdevmodeoutput.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdevmodeinput.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -274,14 +274,14 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn AdvancedDocumentPropertiesW ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , pdevicename : :: windows::core::PCWSTR , pdevmodeoutput : *mut super::Gdi:: DEVMODEW , pdevmodeinput : *const super::Gdi:: DEVMODEW ) -> i32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn AdvancedDocumentPropertiesW ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , pdevicename : :: windows::core::PCWSTR , pdevmodeoutput : *mut super::Gdi:: DEVMODEW , pdevmodeinput : *const super::Gdi:: DEVMODEW ) -> i32 ); AdvancedDocumentPropertiesW(hwnd.into(), hprinter.into(), pdevicename.into().abi(), ::core::mem::transmute(pdevmodeoutput.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdevmodeinput.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AppendPrinterNotifyInfoData(pinfodest: *const PRINTER_NOTIFY_INFO, pdatasrc: ::core::option::Option<*const PRINTER_NOTIFY_INFO_DATA>, fdwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "spoolss.dll""system" fn AppendPrinterNotifyInfoData ( pinfodest : *const PRINTER_NOTIFY_INFO , pdatasrc : *const PRINTER_NOTIFY_INFO_DATA , fdwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn AppendPrinterNotifyInfoData ( pinfodest : *const PRINTER_NOTIFY_INFO , pdatasrc : *const PRINTER_NOTIFY_INFO_DATA , fdwflags : u32 ) -> super::super::Foundation:: BOOL ); AppendPrinterNotifyInfoData(pinfodest, ::core::mem::transmute(pdatasrc.unwrap_or(::std::ptr::null())), fdwflags) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -292,7 +292,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn CallRouterFindFirstPrinterChangeNotification ( hprinterrpc : super::super::Foundation:: HANDLE , fdwfilterflags : u32 , fdwoptions : u32 , hnotify : super::super::Foundation:: HANDLE , pprinternotifyoptions : *const PRINTER_NOTIFY_OPTIONS ) -> u32 ); + ::windows::imp::link ! ( "spoolss.dll""system" fn CallRouterFindFirstPrinterChangeNotification ( hprinterrpc : super::super::Foundation:: HANDLE , fdwfilterflags : u32 , fdwoptions : u32 , hnotify : super::super::Foundation:: HANDLE , pprinternotifyoptions : *const PRINTER_NOTIFY_OPTIONS ) -> u32 ); CallRouterFindFirstPrinterChangeNotification(hprinterrpc.into(), fdwfilterflags, fdwoptions, hnotify.into(), pprinternotifyoptions) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -302,7 +302,7 @@ pub unsafe fn ClosePrinter(hprinter: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn ClosePrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn ClosePrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ClosePrinter(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -313,7 +313,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn CloseSpoolFileHandle ( hprinter : super::super::Foundation:: HANDLE , hspoolfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn CloseSpoolFileHandle ( hprinter : super::super::Foundation:: HANDLE , hspoolfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CloseSpoolFileHandle(hprinter.into(), hspoolfile.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -324,7 +324,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn CommitSpoolData ( hprinter : super::super::Foundation:: HANDLE , hspoolfile : super::super::Foundation:: HANDLE , cbcommit : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "winspool.drv""system" fn CommitSpoolData ( hprinter : super::super::Foundation:: HANDLE , hspoolfile : super::super::Foundation:: HANDLE , cbcommit : u32 ) -> super::super::Foundation:: HANDLE ); CommitSpoolData(hprinter.into(), hspoolfile.into(), cbcommit) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -335,7 +335,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "compstui.dll""system" fn CommonPropertySheetUIA ( hwndowner : super::super::Foundation:: HWND , pfnpropsheetui : PFNPROPSHEETUI , lparam : super::super::Foundation:: LPARAM , presult : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "compstui.dll""system" fn CommonPropertySheetUIA ( hwndowner : super::super::Foundation:: HWND , pfnpropsheetui : PFNPROPSHEETUI , lparam : super::super::Foundation:: LPARAM , presult : *mut u32 ) -> i32 ); CommonPropertySheetUIA(hwndowner.into(), pfnpropsheetui, lparam.into(), ::core::mem::transmute(presult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -346,7 +346,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "compstui.dll""system" fn CommonPropertySheetUIW ( hwndowner : super::super::Foundation:: HWND , pfnpropsheetui : PFNPROPSHEETUI , lparam : super::super::Foundation:: LPARAM , presult : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "compstui.dll""system" fn CommonPropertySheetUIW ( hwndowner : super::super::Foundation:: HWND , pfnpropsheetui : PFNPROPSHEETUI , lparam : super::super::Foundation:: LPARAM , presult : *mut u32 ) -> i32 ); CommonPropertySheetUIW(hwndowner.into(), pfnpropsheetui, lparam.into(), ::core::mem::transmute(presult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -358,7 +358,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn ConfigurePortA ( pname : :: windows::core::PCSTR , hwnd : super::super::Foundation:: HWND , pportname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn ConfigurePortA ( pname : :: windows::core::PCSTR , hwnd : super::super::Foundation:: HWND , pportname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); ConfigurePortA(pname.into().abi(), hwnd.into(), pportname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -370,7 +370,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn ConfigurePortW ( pname : :: windows::core::PCWSTR , hwnd : super::super::Foundation:: HWND , pportname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn ConfigurePortW ( pname : :: windows::core::PCWSTR , hwnd : super::super::Foundation:: HWND , pportname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ConfigurePortW(pname.into().abi(), hwnd.into(), pportname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -380,7 +380,7 @@ pub unsafe fn ConnectToPrinterDlg(hwnd: P0, flags: u32) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn ConnectToPrinterDlg ( hwnd : super::super::Foundation:: HWND , flags : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "winspool.drv""system" fn ConnectToPrinterDlg ( hwnd : super::super::Foundation:: HWND , flags : u32 ) -> super::super::Foundation:: HANDLE ); ConnectToPrinterDlg(hwnd.into(), flags) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -391,7 +391,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn CorePrinterDriverInstalledA ( pszserver : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , coredriverguid : :: windows::core::GUID , ftdriverdate : super::super::Foundation:: FILETIME , dwldriverversion : u64 , pbdriverinstalled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn CorePrinterDriverInstalledA ( pszserver : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , coredriverguid : :: windows::core::GUID , ftdriverdate : super::super::Foundation:: FILETIME , dwldriverversion : u64 , pbdriverinstalled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CorePrinterDriverInstalledA(pszserver.into().abi(), pszenvironment.into().abi(), ::core::mem::transmute(coredriverguid), ::core::mem::transmute(ftdriverdate), dwldriverversion, &mut result__).from_abi(result__) } @@ -403,7 +403,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn CorePrinterDriverInstalledW ( pszserver : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , coredriverguid : :: windows::core::GUID , ftdriverdate : super::super::Foundation:: FILETIME , dwldriverversion : u64 , pbdriverinstalled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn CorePrinterDriverInstalledW ( pszserver : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , coredriverguid : :: windows::core::GUID , ftdriverdate : super::super::Foundation:: FILETIME , dwldriverversion : u64 , pbdriverinstalled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CorePrinterDriverInstalledW(pszserver.into().abi(), pszenvironment.into().abi(), ::core::mem::transmute(coredriverguid), ::core::mem::transmute(ftdriverdate), dwldriverversion, &mut result__).from_abi(result__) } @@ -414,7 +414,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "winspool.drv""system" fn CreatePrintAsyncNotifyChannel ( pszname : :: windows::core::PCWSTR , pnotificationtype : *const :: windows::core::GUID , euserfilter : PrintAsyncNotifyUserFilter , econversationstyle : PrintAsyncNotifyConversationStyle , pcallback : * mut::core::ffi::c_void , ppiasynchnotification : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn CreatePrintAsyncNotifyChannel ( pszname : :: windows::core::PCWSTR , pnotificationtype : *const :: windows::core::GUID , euserfilter : PrintAsyncNotifyUserFilter , econversationstyle : PrintAsyncNotifyConversationStyle , pcallback : * mut::core::ffi::c_void , ppiasynchnotification : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreatePrintAsyncNotifyChannel(pszname.into().abi(), pnotificationtype, euserfilter, econversationstyle, pcallback.into().abi(), &mut result__).from_abi(result__) } @@ -425,7 +425,7 @@ pub unsafe fn CreatePrinterIC(hprinter: P0, pdevmode: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn CreatePrinterIC ( hprinter : super::super::Foundation:: HANDLE , pdevmode : *const super::Gdi:: DEVMODEW ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "winspool.drv""system" fn CreatePrinterIC ( hprinter : super::super::Foundation:: HANDLE , pdevmode : *const super::Gdi:: DEVMODEW ) -> super::super::Foundation:: HANDLE ); CreatePrinterIC(hprinter.into(), ::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -436,7 +436,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeleteFormA ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeleteFormA ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeleteFormA(hprinter.into(), pformname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -447,7 +447,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeleteFormW ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeleteFormW ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeleteFormW(hprinter.into(), pformname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -458,7 +458,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeleteJobNamedProperty ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pszname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeleteJobNamedProperty ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pszname : :: windows::core::PCWSTR ) -> u32 ); DeleteJobNamedProperty(hprinter.into(), jobid, pszname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -470,7 +470,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeleteMonitorA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pmonitorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeleteMonitorA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pmonitorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeleteMonitorA(pname.into().abi(), penvironment.into().abi(), pmonitorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -482,7 +482,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeleteMonitorW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pmonitorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeleteMonitorW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pmonitorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeleteMonitorW(pname.into().abi(), penvironment.into().abi(), pmonitorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -494,7 +494,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePortA ( pname : :: windows::core::PCSTR , hwnd : super::super::Foundation:: HWND , pportname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePortA ( pname : :: windows::core::PCSTR , hwnd : super::super::Foundation:: HWND , pportname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeletePortA(pname.into().abi(), hwnd.into(), pportname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -506,7 +506,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePortW ( pname : :: windows::core::PCWSTR , hwnd : super::super::Foundation:: HWND , pportname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePortW ( pname : :: windows::core::PCWSTR , hwnd : super::super::Foundation:: HWND , pportname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeletePortW(pname.into().abi(), hwnd.into(), pportname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -518,7 +518,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrintProcessorA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pprintprocessorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrintProcessorA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pprintprocessorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeletePrintProcessorA(pname.into().abi(), penvironment.into().abi(), pprintprocessorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -530,7 +530,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrintProcessorW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pprintprocessorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrintProcessorW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pprintprocessorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeletePrintProcessorW(pname.into().abi(), penvironment.into().abi(), pprintprocessorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -542,7 +542,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrintProvidorA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pprintprovidorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrintProvidorA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pprintprovidorname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeletePrintProvidorA(pname.into().abi(), penvironment.into().abi(), pprintprovidorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -554,7 +554,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrintProvidorW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pprintprovidorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrintProvidorW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pprintprovidorname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeletePrintProvidorW(pname.into().abi(), penvironment.into().abi(), pprintprovidorname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -564,7 +564,7 @@ pub unsafe fn DeletePrinter(hprinter: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeletePrinter(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -574,7 +574,7 @@ pub unsafe fn DeletePrinterConnectionA(pname: P0) -> super::super::Foundatio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterConnectionA ( pname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterConnectionA ( pname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeletePrinterConnectionA(pname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -584,7 +584,7 @@ pub unsafe fn DeletePrinterConnectionW(pname: P0) -> super::super::Foundatio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterConnectionW ( pname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterConnectionW ( pname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeletePrinterConnectionW(pname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -595,7 +595,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDataA ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDataA ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCSTR ) -> u32 ); DeletePrinterDataA(hprinter.into(), pvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -607,7 +607,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDataExA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , pvaluename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDataExA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , pvaluename : :: windows::core::PCSTR ) -> u32 ); DeletePrinterDataExA(hprinter.into(), pkeyname.into().abi(), pvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -619,7 +619,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDataExW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , pvaluename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDataExW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , pvaluename : :: windows::core::PCWSTR ) -> u32 ); DeletePrinterDataExW(hprinter.into(), pkeyname.into().abi(), pvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -630,7 +630,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDataW ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDataW ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCWSTR ) -> u32 ); DeletePrinterDataW(hprinter.into(), pvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -642,7 +642,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDriverA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pdrivername : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDriverA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pdrivername : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeletePrinterDriverA(pname.into().abi(), penvironment.into().abi(), pdrivername.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -654,7 +654,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDriverExA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pdrivername : :: windows::core::PCSTR , dwdeleteflag : u32 , dwversionflag : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDriverExA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , pdrivername : :: windows::core::PCSTR , dwdeleteflag : u32 , dwversionflag : u32 ) -> super::super::Foundation:: BOOL ); DeletePrinterDriverExA(pname.into().abi(), penvironment.into().abi(), pdrivername.into().abi(), dwdeleteflag, dwversionflag) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -666,7 +666,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDriverExW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pdrivername : :: windows::core::PCWSTR , dwdeleteflag : u32 , dwversionflag : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDriverExW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pdrivername : :: windows::core::PCWSTR , dwdeleteflag : u32 , dwversionflag : u32 ) -> super::super::Foundation:: BOOL ); DeletePrinterDriverExW(pname.into().abi(), penvironment.into().abi(), pdrivername.into().abi(), dwdeleteflag, dwversionflag) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -677,7 +677,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDriverPackageA ( pszserver : :: windows::core::PCSTR , pszinfpath : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDriverPackageA ( pszserver : :: windows::core::PCSTR , pszinfpath : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); DeletePrinterDriverPackageA(pszserver.into().abi(), pszinfpath.into().abi(), pszenvironment.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -688,7 +688,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDriverPackageW ( pszserver : :: windows::core::PCWSTR , pszinfpath : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDriverPackageW ( pszserver : :: windows::core::PCWSTR , pszinfpath : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DeletePrinterDriverPackageW(pszserver.into().abi(), pszinfpath.into().abi(), pszenvironment.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -700,7 +700,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterDriverW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pdrivername : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterDriverW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , pdrivername : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeletePrinterDriverW(pname.into().abi(), penvironment.into().abi(), pdrivername.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -710,7 +710,7 @@ pub unsafe fn DeletePrinterIC(hprinteric: P0) -> super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterIC ( hprinteric : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterIC ( hprinteric : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeletePrinterIC(hprinteric.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -721,7 +721,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterKeyA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterKeyA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR ) -> u32 ); DeletePrinterKeyA(hprinter.into(), pkeyname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -732,7 +732,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeletePrinterKeyW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeletePrinterKeyW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR ) -> u32 ); DeletePrinterKeyW(hprinter.into(), pkeyname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -742,14 +742,14 @@ pub unsafe fn DevQueryPrint(hprinter: P0, pdevmode: *const super::Gdi::DEVMO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn DevQueryPrint ( hprinter : super::super::Foundation:: HANDLE , pdevmode : *const super::Gdi:: DEVMODEA , presid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DevQueryPrint ( hprinter : super::super::Foundation:: HANDLE , pdevmode : *const super::Gdi:: DEVMODEA , presid : *mut u32 ) -> super::super::Foundation:: BOOL ); DevQueryPrint(hprinter.into(), pdevmode, presid) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn DevQueryPrintEx(pdqpinfo: *mut DEVQUERYPRINT_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winspool.drv""system" fn DevQueryPrintEx ( pdqpinfo : *mut DEVQUERYPRINT_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn DevQueryPrintEx ( pdqpinfo : *mut DEVQUERYPRINT_INFO ) -> super::super::Foundation:: BOOL ); DevQueryPrintEx(pdqpinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -761,7 +761,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DocumentPropertiesA ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , pdevicename : :: windows::core::PCSTR , pdevmodeoutput : *mut super::Gdi:: DEVMODEA , pdevmodeinput : *const super::Gdi:: DEVMODEA , fmode : u32 ) -> i32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DocumentPropertiesA ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , pdevicename : :: windows::core::PCSTR , pdevmodeoutput : *mut super::Gdi:: DEVMODEA , pdevmodeinput : *const super::Gdi:: DEVMODEA , fmode : u32 ) -> i32 ); DocumentPropertiesA(hwnd.into(), hprinter.into(), pdevicename.into().abi(), ::core::mem::transmute(pdevmodeoutput.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdevmodeinput.unwrap_or(::std::ptr::null())), fmode) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -773,7 +773,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DocumentPropertiesW ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , pdevicename : :: windows::core::PCWSTR , pdevmodeoutput : *mut super::Gdi:: DEVMODEW , pdevmodeinput : *const super::Gdi:: DEVMODEW , fmode : u32 ) -> i32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DocumentPropertiesW ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , pdevicename : :: windows::core::PCWSTR , pdevmodeoutput : *mut super::Gdi:: DEVMODEW , pdevmodeinput : *const super::Gdi:: DEVMODEW , fmode : u32 ) -> i32 ); DocumentPropertiesW(hwnd.into(), hprinter.into(), pdevicename.into().abi(), ::core::mem::transmute(pdevmodeoutput.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdevmodeinput.unwrap_or(::std::ptr::null())), fmode) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -783,7 +783,7 @@ pub unsafe fn EndDocPrinter(hprinter: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EndDocPrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EndDocPrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); EndDocPrinter(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -793,7 +793,7 @@ pub unsafe fn EndPagePrinter(hprinter: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EndPagePrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EndPagePrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); EndPagePrinter(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -803,7 +803,7 @@ pub unsafe fn EnumFormsA(hprinter: P0, level: u32, pform: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumFormsA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pform : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumFormsA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pform : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumFormsA(hprinter.into(), level, ::core::mem::transmute(pform.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pform.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -813,7 +813,7 @@ pub unsafe fn EnumFormsW(hprinter: P0, level: u32, pform: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumFormsW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pform : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumFormsW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pform : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumFormsW(hprinter.into(), level, ::core::mem::transmute(pform.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pform.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -823,7 +823,7 @@ pub unsafe fn EnumJobNamedProperties(hprinter: P0, jobid: u32, pcproperties: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumJobNamedProperties ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pcproperties : *mut u32 , ppproperties : *mut *mut PrintNamedProperty ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumJobNamedProperties ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pcproperties : *mut u32 , ppproperties : *mut *mut PrintNamedProperty ) -> u32 ); EnumJobNamedProperties(hprinter.into(), jobid, pcproperties, ppproperties) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -833,7 +833,7 @@ pub unsafe fn EnumJobsA(hprinter: P0, firstjob: u32, nojobs: u32, level: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumJobsA ( hprinter : super::super::Foundation:: HANDLE , firstjob : u32 , nojobs : u32 , level : u32 , pjob : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumJobsA ( hprinter : super::super::Foundation:: HANDLE , firstjob : u32 , nojobs : u32 , level : u32 , pjob : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumJobsA(hprinter.into(), firstjob, nojobs, level, ::core::mem::transmute(pjob.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pjob.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -843,7 +843,7 @@ pub unsafe fn EnumJobsW(hprinter: P0, firstjob: u32, nojobs: u32, level: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumJobsW ( hprinter : super::super::Foundation:: HANDLE , firstjob : u32 , nojobs : u32 , level : u32 , pjob : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumJobsW ( hprinter : super::super::Foundation:: HANDLE , firstjob : u32 , nojobs : u32 , level : u32 , pjob : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumJobsW(hprinter.into(), firstjob, nojobs, level, ::core::mem::transmute(pjob.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pjob.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -853,7 +853,7 @@ pub unsafe fn EnumMonitorsA(pname: P0, level: u32, pmonitor: ::core::option: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumMonitorsA ( pname : :: windows::core::PCSTR , level : u32 , pmonitor : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumMonitorsA ( pname : :: windows::core::PCSTR , level : u32 , pmonitor : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumMonitorsA(pname.into().abi(), level, ::core::mem::transmute(pmonitor.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pmonitor.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -863,7 +863,7 @@ pub unsafe fn EnumMonitorsW(pname: P0, level: u32, pmonitor: ::core::option: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumMonitorsW ( pname : :: windows::core::PCWSTR , level : u32 , pmonitor : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumMonitorsW ( pname : :: windows::core::PCWSTR , level : u32 , pmonitor : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumMonitorsW(pname.into().abi(), level, ::core::mem::transmute(pmonitor.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pmonitor.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -873,7 +873,7 @@ pub unsafe fn EnumPortsA(pname: P0, level: u32, pport: ::core::option::Optio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPortsA ( pname : :: windows::core::PCSTR , level : u32 , pport : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPortsA ( pname : :: windows::core::PCSTR , level : u32 , pport : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPortsA(pname.into().abi(), level, ::core::mem::transmute(pport.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pport.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -883,7 +883,7 @@ pub unsafe fn EnumPortsW(pname: P0, level: u32, pport: ::core::option::Optio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPortsW ( pname : :: windows::core::PCWSTR , level : u32 , pport : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPortsW ( pname : :: windows::core::PCWSTR , level : u32 , pport : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPortsW(pname.into().abi(), level, ::core::mem::transmute(pport.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pport.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -894,7 +894,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrintProcessorDatatypesA ( pname : :: windows::core::PCSTR , pprintprocessorname : :: windows::core::PCSTR , level : u32 , pdatatypes : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrintProcessorDatatypesA ( pname : :: windows::core::PCSTR , pprintprocessorname : :: windows::core::PCSTR , level : u32 , pdatatypes : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPrintProcessorDatatypesA(pname.into().abi(), pprintprocessorname.into().abi(), level, ::core::mem::transmute(pdatatypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdatatypes.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -905,7 +905,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrintProcessorDatatypesW ( pname : :: windows::core::PCWSTR , pprintprocessorname : :: windows::core::PCWSTR , level : u32 , pdatatypes : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrintProcessorDatatypesW ( pname : :: windows::core::PCWSTR , pprintprocessorname : :: windows::core::PCWSTR , level : u32 , pdatatypes : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPrintProcessorDatatypesW(pname.into().abi(), pprintprocessorname.into().abi(), level, ::core::mem::transmute(pdatatypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdatatypes.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -916,7 +916,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrintProcessorsA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , level : u32 , pprintprocessorinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrintProcessorsA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , level : u32 , pprintprocessorinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPrintProcessorsA(pname.into().abi(), penvironment.into().abi(), level, ::core::mem::transmute(pprintprocessorinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pprintprocessorinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -927,7 +927,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrintProcessorsW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , level : u32 , pprintprocessorinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrintProcessorsW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , level : u32 , pprintprocessorinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPrintProcessorsW(pname.into().abi(), penvironment.into().abi(), level, ::core::mem::transmute(pprintprocessorinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pprintprocessorinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -937,7 +937,7 @@ pub unsafe fn EnumPrinterDataA(hprinter: P0, dwindex: u32, pvaluename: &mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrinterDataA ( hprinter : super::super::Foundation:: HANDLE , dwindex : u32 , pvaluename : :: windows::core::PSTR , cbvaluename : u32 , pcbvaluename : *mut u32 , ptype : *mut u32 , pdata : *mut u8 , cbdata : u32 , pcbdata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrinterDataA ( hprinter : super::super::Foundation:: HANDLE , dwindex : u32 , pvaluename : :: windows::core::PSTR , cbvaluename : u32 , pcbvaluename : *mut u32 , ptype : *mut u32 , pdata : *mut u8 , cbdata : u32 , pcbdata : *mut u32 ) -> u32 ); EnumPrinterDataA(hprinter.into(), dwindex, ::core::mem::transmute(pvaluename.as_ptr()), pvaluename.len() as _, pcbvaluename, ::core::mem::transmute(ptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -948,7 +948,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrinterDataExA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , penumvalues : *mut u8 , cbenumvalues : u32 , pcbenumvalues : *mut u32 , pnenumvalues : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrinterDataExA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , penumvalues : *mut u8 , cbenumvalues : u32 , pcbenumvalues : *mut u32 , pnenumvalues : *mut u32 ) -> u32 ); EnumPrinterDataExA(hprinter.into(), pkeyname.into().abi(), ::core::mem::transmute(penumvalues.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), penumvalues.as_deref().map_or(0, |slice| slice.len() as _), pcbenumvalues, pnenumvalues) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -959,7 +959,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrinterDataExW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , penumvalues : *mut u8 , cbenumvalues : u32 , pcbenumvalues : *mut u32 , pnenumvalues : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrinterDataExW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , penumvalues : *mut u8 , cbenumvalues : u32 , pcbenumvalues : *mut u32 , pnenumvalues : *mut u32 ) -> u32 ); EnumPrinterDataExW(hprinter.into(), pkeyname.into().abi(), ::core::mem::transmute(penumvalues.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), penumvalues.as_deref().map_or(0, |slice| slice.len() as _), pcbenumvalues, pnenumvalues) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -969,7 +969,7 @@ pub unsafe fn EnumPrinterDataW(hprinter: P0, dwindex: u32, pvaluename: ::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrinterDataW ( hprinter : super::super::Foundation:: HANDLE , dwindex : u32 , pvaluename : :: windows::core::PWSTR , cbvaluename : u32 , pcbvaluename : *mut u32 , ptype : *mut u32 , pdata : *mut u8 , cbdata : u32 , pcbdata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrinterDataW ( hprinter : super::super::Foundation:: HANDLE , dwindex : u32 , pvaluename : :: windows::core::PWSTR , cbvaluename : u32 , pcbvaluename : *mut u32 , ptype : *mut u32 , pdata : *mut u8 , cbdata : u32 , pcbdata : *mut u32 ) -> u32 ); EnumPrinterDataW(hprinter.into(), dwindex, ::core::mem::transmute(pvaluename), cbvaluename, pcbvaluename, ::core::mem::transmute(ptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -980,7 +980,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrinterDriversA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrinterDriversA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPrinterDriversA(pname.into().abi(), penvironment.into().abi(), level, ::core::mem::transmute(pdriverinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriverinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -991,7 +991,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrinterDriversW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrinterDriversW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPrinterDriversW(pname.into().abi(), penvironment.into().abi(), level, ::core::mem::transmute(pdriverinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriverinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1002,7 +1002,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrinterKeyA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , psubkey : :: windows::core::PSTR , cbsubkey : u32 , pcbsubkey : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrinterKeyA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , psubkey : :: windows::core::PSTR , cbsubkey : u32 , pcbsubkey : *mut u32 ) -> u32 ); EnumPrinterKeyA(hprinter.into(), pkeyname.into().abi(), ::core::mem::transmute(psubkey.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psubkey.as_deref().map_or(0, |slice| slice.len() as _), pcbsubkey) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1013,7 +1013,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrinterKeyW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , psubkey : :: windows::core::PWSTR , cbsubkey : u32 , pcbsubkey : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrinterKeyW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , psubkey : :: windows::core::PWSTR , cbsubkey : u32 , pcbsubkey : *mut u32 ) -> u32 ); EnumPrinterKeyW(hprinter.into(), pkeyname.into().abi(), ::core::mem::transmute(psubkey), cbsubkey, pcbsubkey) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1023,7 +1023,7 @@ pub unsafe fn EnumPrintersA(flags: u32, name: P0, level: u32, pprinterenum: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrintersA ( flags : u32 , name : :: windows::core::PCSTR , level : u32 , pprinterenum : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrintersA ( flags : u32 , name : :: windows::core::PCSTR , level : u32 , pprinterenum : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPrintersA(flags, name.into().abi(), level, ::core::mem::transmute(pprinterenum.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pprinterenum.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1033,7 +1033,7 @@ pub unsafe fn EnumPrintersW(flags: u32, name: P0, level: u32, pprinterenum: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn EnumPrintersW ( flags : u32 , name : :: windows::core::PCWSTR , level : u32 , pprinterenum : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn EnumPrintersW ( flags : u32 , name : :: windows::core::PCWSTR , level : u32 , pprinterenum : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 , pcreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumPrintersW(flags, name.into().abi(), level, ::core::mem::transmute(pprinterenum.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pprinterenum.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded, pcreturned) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1047,7 +1047,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn ExtDeviceMode ( hwnd : super::super::Foundation:: HWND , hinst : super::super::Foundation:: HANDLE , pdevmodeoutput : *mut super::Gdi:: DEVMODEA , pdevicename : :: windows::core::PCSTR , pport : :: windows::core::PCSTR , pdevmodeinput : *const super::Gdi:: DEVMODEA , pprofile : :: windows::core::PCSTR , fmode : u32 ) -> i32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn ExtDeviceMode ( hwnd : super::super::Foundation:: HWND , hinst : super::super::Foundation:: HANDLE , pdevmodeoutput : *mut super::Gdi:: DEVMODEA , pdevicename : :: windows::core::PCSTR , pport : :: windows::core::PCSTR , pdevmodeinput : *const super::Gdi:: DEVMODEA , pprofile : :: windows::core::PCSTR , fmode : u32 ) -> i32 ); ExtDeviceMode(hwnd.into(), hinst.into(), ::core::mem::transmute(pdevmodeoutput.unwrap_or(::std::ptr::null_mut())), pdevicename.into().abi(), pport.into().abi(), ::core::mem::transmute(pdevmodeinput.unwrap_or(::std::ptr::null())), pprofile.into().abi(), fmode) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1057,7 +1057,7 @@ pub unsafe fn FindClosePrinterChangeNotification(hchange: P0) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn FindClosePrinterChangeNotification ( hchange : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn FindClosePrinterChangeNotification ( hchange : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); FindClosePrinterChangeNotification(hchange.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1067,7 +1067,7 @@ pub unsafe fn FindFirstPrinterChangeNotification(hprinter: P0, fdwfilter: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn FindFirstPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , fdwfilter : u32 , fdwoptions : u32 , pprinternotifyoptions : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "winspool.drv""system" fn FindFirstPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , fdwfilter : u32 , fdwoptions : u32 , pprinternotifyoptions : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); FindFirstPrinterChangeNotification(hprinter.into(), fdwfilter, fdwoptions, ::core::mem::transmute(pprinternotifyoptions.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1077,7 +1077,7 @@ pub unsafe fn FindNextPrinterChangeNotification(hchange: P0, pdwchange: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn FindNextPrinterChangeNotification ( hchange : super::super::Foundation:: HANDLE , pdwchange : *mut u32 , pvreserved : *const ::core::ffi::c_void , ppprinternotifyinfo : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn FindNextPrinterChangeNotification ( hchange : super::super::Foundation:: HANDLE , pdwchange : *mut u32 , pvreserved : *const ::core::ffi::c_void , ppprinternotifyinfo : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FindNextPrinterChangeNotification(hchange.into(), ::core::mem::transmute(pdwchange.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppprinternotifyinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1087,26 +1087,26 @@ pub unsafe fn FlushPrinter(hprinter: P0, pbuf: ::core::option::Option<*const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn FlushPrinter ( hprinter : super::super::Foundation:: HANDLE , pbuf : *const ::core::ffi::c_void , cbbuf : u32 , pcwritten : *mut u32 , csleep : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn FlushPrinter ( hprinter : super::super::Foundation:: HANDLE , pbuf : *const ::core::ffi::c_void , cbbuf : u32 , pcwritten : *mut u32 , csleep : u32 ) -> super::super::Foundation:: BOOL ); FlushPrinter(hprinter.into(), ::core::mem::transmute(pbuf.unwrap_or(::std::ptr::null())), cbbuf, pcwritten, csleep) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[inline] pub unsafe fn FreePrintNamedPropertyArray(ppproperties: ::core::option::Option<&mut [*mut PrintNamedProperty]>) { - ::windows::core::link ! ( "winspool.drv""system" fn FreePrintNamedPropertyArray ( cproperties : u32 , ppproperties : *mut *mut PrintNamedProperty ) -> ( ) ); + ::windows::imp::link ! ( "winspool.drv""system" fn FreePrintNamedPropertyArray ( cproperties : u32 , ppproperties : *mut *mut PrintNamedProperty ) -> ( ) ); FreePrintNamedPropertyArray(ppproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[inline] pub unsafe fn FreePrintPropertyValue(pvalue: *mut PrintPropertyValue) { - ::windows::core::link ! ( "winspool.drv""system" fn FreePrintPropertyValue ( pvalue : *mut PrintPropertyValue ) -> ( ) ); + ::windows::imp::link ! ( "winspool.drv""system" fn FreePrintPropertyValue ( pvalue : *mut PrintPropertyValue ) -> ( ) ); FreePrintPropertyValue(pvalue) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreePrinterNotifyInfo(pprinternotifyinfo: *const PRINTER_NOTIFY_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winspool.drv""system" fn FreePrinterNotifyInfo ( pprinternotifyinfo : *const PRINTER_NOTIFY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn FreePrinterNotifyInfo ( pprinternotifyinfo : *const PRINTER_NOTIFY_INFO ) -> super::super::Foundation:: BOOL ); FreePrinterNotifyInfo(pprinternotifyinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1116,7 +1116,7 @@ pub unsafe fn GdiDeleteSpoolFileHandle(spoolfilehandle: P0) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiDeleteSpoolFileHandle ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiDeleteSpoolFileHandle ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); GdiDeleteSpoolFileHandle(spoolfilehandle.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1126,7 +1126,7 @@ pub unsafe fn GdiEndDocEMF(spoolfilehandle: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiEndDocEMF ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiEndDocEMF ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); GdiEndDocEMF(spoolfilehandle.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1136,7 +1136,7 @@ pub unsafe fn GdiEndPageEMF(spoolfilehandle: P0, dwoptimization: u32) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiEndPageEMF ( spoolfilehandle : super::super::Foundation:: HANDLE , dwoptimization : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiEndPageEMF ( spoolfilehandle : super::super::Foundation:: HANDLE , dwoptimization : u32 ) -> super::super::Foundation:: BOOL ); GdiEndPageEMF(spoolfilehandle.into(), dwoptimization) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1146,7 +1146,7 @@ pub unsafe fn GdiGetDC(spoolfilehandle: P0) -> super::Gdi::HDC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiGetDC ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> super::Gdi:: HDC ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiGetDC ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> super::Gdi:: HDC ); GdiGetDC(spoolfilehandle.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1156,7 +1156,7 @@ pub unsafe fn GdiGetDevmodeForPage(spoolfilehandle: P0, dwpagenumber: u32, p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiGetDevmodeForPage ( spoolfilehandle : super::super::Foundation:: HANDLE , dwpagenumber : u32 , pcurrdm : *mut *mut super::Gdi:: DEVMODEW , plastdm : *mut *mut super::Gdi:: DEVMODEW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiGetDevmodeForPage ( spoolfilehandle : super::super::Foundation:: HANDLE , dwpagenumber : u32 , pcurrdm : *mut *mut super::Gdi:: DEVMODEW , plastdm : *mut *mut super::Gdi:: DEVMODEW ) -> super::super::Foundation:: BOOL ); GdiGetDevmodeForPage(spoolfilehandle.into(), dwpagenumber, pcurrdm, plastdm) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1166,7 +1166,7 @@ pub unsafe fn GdiGetPageCount(spoolfilehandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiGetPageCount ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiGetPageCount ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> u32 ); GdiGetPageCount(spoolfilehandle.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1176,7 +1176,7 @@ pub unsafe fn GdiGetPageHandle(spoolfilehandle: P0, page: u32, pdwpagetype: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiGetPageHandle ( spoolfilehandle : super::super::Foundation:: HANDLE , page : u32 , pdwpagetype : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiGetPageHandle ( spoolfilehandle : super::super::Foundation:: HANDLE , page : u32 , pdwpagetype : *mut u32 ) -> super::super::Foundation:: HANDLE ); GdiGetPageHandle(spoolfilehandle.into(), page, pdwpagetype) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1187,7 +1187,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiGetSpoolFileHandle ( pwszprintername : :: windows::core::PCWSTR , pdevmode : *mut super::Gdi:: DEVMODEW , pwszdocname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiGetSpoolFileHandle ( pwszprintername : :: windows::core::PCWSTR , pdevmode : *mut super::Gdi:: DEVMODEW , pwszdocname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); GdiGetSpoolFileHandle(pwszprintername.into().abi(), pdevmode, pwszdocname.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1198,7 +1198,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiPlayPageEMF ( spoolfilehandle : super::super::Foundation:: HANDLE , hemf : super::super::Foundation:: HANDLE , prectdocument : *mut super::super::Foundation:: RECT , prectborder : *mut super::super::Foundation:: RECT , prectclip : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiPlayPageEMF ( spoolfilehandle : super::super::Foundation:: HANDLE , hemf : super::super::Foundation:: HANDLE , prectdocument : *mut super::super::Foundation:: RECT , prectborder : *mut super::super::Foundation:: RECT , prectclip : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); GdiPlayPageEMF(spoolfilehandle.into(), hemf.into(), prectdocument, prectborder, prectclip) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1208,7 +1208,7 @@ pub unsafe fn GdiResetDCEMF(spoolfilehandle: P0, pcurrdm: *mut super::Gdi::D where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiResetDCEMF ( spoolfilehandle : super::super::Foundation:: HANDLE , pcurrdm : *mut super::Gdi:: DEVMODEW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiResetDCEMF ( spoolfilehandle : super::super::Foundation:: HANDLE , pcurrdm : *mut super::Gdi:: DEVMODEW ) -> super::super::Foundation:: BOOL ); GdiResetDCEMF(spoolfilehandle.into(), pcurrdm) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Xps\"`*"] @@ -1218,7 +1218,7 @@ pub unsafe fn GdiStartDocEMF(spoolfilehandle: P0, pdocinfo: *mut super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiStartDocEMF ( spoolfilehandle : super::super::Foundation:: HANDLE , pdocinfo : *mut super::super::Storage::Xps:: DOCINFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiStartDocEMF ( spoolfilehandle : super::super::Foundation:: HANDLE , pdocinfo : *mut super::super::Storage::Xps:: DOCINFOW ) -> super::super::Foundation:: BOOL ); GdiStartDocEMF(spoolfilehandle.into(), pdocinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1228,7 +1228,7 @@ pub unsafe fn GdiStartPageEMF(spoolfilehandle: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GdiStartPageEMF ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GdiStartPageEMF ( spoolfilehandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); GdiStartPageEMF(spoolfilehandle.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -1238,7 +1238,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn GenerateCopyFilePaths ( pszprintername : :: windows::core::PCWSTR , pszdirectory : :: windows::core::PCWSTR , psplclientinfo : *const u8 , dwlevel : u32 , pszsourcedir : :: windows::core::PWSTR , pcchsourcedirsize : *mut u32 , psztargetdir : :: windows::core::PWSTR , pcchtargetdirsize : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "mscms.dll""system" fn GenerateCopyFilePaths ( pszprintername : :: windows::core::PCWSTR , pszdirectory : :: windows::core::PCWSTR , psplclientinfo : *const u8 , dwlevel : u32 , pszsourcedir : :: windows::core::PWSTR , pcchsourcedirsize : *mut u32 , psztargetdir : :: windows::core::PWSTR , pcchtargetdirsize : *mut u32 , dwflags : u32 ) -> u32 ); GenerateCopyFilePaths(pszprintername.into().abi(), pszdirectory.into().abi(), psplclientinfo, dwlevel, ::core::mem::transmute(pszsourcedir), pcchsourcedirsize, ::core::mem::transmute(psztargetdir), pcchtargetdirsize, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1248,7 +1248,7 @@ pub unsafe fn GetCPSUIUserData(hdlg: P0) -> usize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "compstui.dll""system" fn GetCPSUIUserData ( hdlg : super::super::Foundation:: HWND ) -> usize ); + ::windows::imp::link ! ( "compstui.dll""system" fn GetCPSUIUserData ( hdlg : super::super::Foundation:: HWND ) -> usize ); GetCPSUIUserData(hdlg.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1260,7 +1260,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetCorePrinterDriversA ( pszserver : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , pszzcoredriverdependencies : :: windows::core::PCSTR , ccoreprinterdrivers : u32 , pcoreprinterdrivers : *mut CORE_PRINTER_DRIVERA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetCorePrinterDriversA ( pszserver : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , pszzcoredriverdependencies : :: windows::core::PCSTR , ccoreprinterdrivers : u32 , pcoreprinterdrivers : *mut CORE_PRINTER_DRIVERA ) -> :: windows::core::HRESULT ); GetCorePrinterDriversA(pszserver.into().abi(), pszenvironment.into().abi(), pszzcoredriverdependencies.into().abi(), pcoreprinterdrivers.len() as _, ::core::mem::transmute(pcoreprinterdrivers.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1272,21 +1272,21 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetCorePrinterDriversW ( pszserver : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , pszzcoredriverdependencies : :: windows::core::PCWSTR , ccoreprinterdrivers : u32 , pcoreprinterdrivers : *mut CORE_PRINTER_DRIVERW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetCorePrinterDriversW ( pszserver : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , pszzcoredriverdependencies : :: windows::core::PCWSTR , ccoreprinterdrivers : u32 , pcoreprinterdrivers : *mut CORE_PRINTER_DRIVERW ) -> :: windows::core::HRESULT ); GetCorePrinterDriversW(pszserver.into().abi(), pszenvironment.into().abi(), pszzcoredriverdependencies.into().abi(), pcoreprinterdrivers.len() as _, ::core::mem::transmute(pcoreprinterdrivers.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDefaultPrinterA(pszbuffer: ::windows::core::PSTR, pcchbuffer: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winspool.drv""system" fn GetDefaultPrinterA ( pszbuffer : :: windows::core::PSTR , pcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetDefaultPrinterA ( pszbuffer : :: windows::core::PSTR , pcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetDefaultPrinterA(::core::mem::transmute(pszbuffer), pcchbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDefaultPrinterW(pszbuffer: ::windows::core::PWSTR, pcchbuffer: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winspool.drv""system" fn GetDefaultPrinterW ( pszbuffer : :: windows::core::PWSTR , pcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetDefaultPrinterW ( pszbuffer : :: windows::core::PWSTR , pcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetDefaultPrinterW(::core::mem::transmute(pszbuffer), pcchbuffer) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1297,7 +1297,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetFormA ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCSTR , level : u32 , pform : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetFormA ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCSTR , level : u32 , pform : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetFormA(hprinter.into(), pformname.into().abi(), level, ::core::mem::transmute(pform.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pform.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1308,7 +1308,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetFormW ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCWSTR , level : u32 , pform : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetFormW ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCWSTR , level : u32 , pform : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetFormW(hprinter.into(), pformname.into().abi(), level, ::core::mem::transmute(pform.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pform.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1318,7 +1318,7 @@ pub unsafe fn GetJobA(hprinter: P0, jobid: u32, level: u32, pjob: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn GetJobA ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , level : u32 , pjob : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetJobA ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , level : u32 , pjob : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetJobA(hprinter.into(), jobid, level, ::core::mem::transmute(pjob.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pjob.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1328,7 +1328,7 @@ pub unsafe fn GetJobAttributes(pprintername: P0, pdevmode: *const super::Gdi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "spoolss.dll""system" fn GetJobAttributes ( pprintername : :: windows::core::PCWSTR , pdevmode : *const super::Gdi:: DEVMODEW , pattributeinfo : *mut ATTRIBUTE_INFO_3 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn GetJobAttributes ( pprintername : :: windows::core::PCWSTR , pdevmode : *const super::Gdi:: DEVMODEW , pattributeinfo : *mut ATTRIBUTE_INFO_3 ) -> super::super::Foundation:: BOOL ); GetJobAttributes(pprintername.into().abi(), pdevmode, pattributeinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1338,7 +1338,7 @@ pub unsafe fn GetJobAttributesEx(pprintername: P0, pdevmode: *const super::G where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "spoolss.dll""system" fn GetJobAttributesEx ( pprintername : :: windows::core::PCWSTR , pdevmode : *const super::Gdi:: DEVMODEW , dwlevel : u32 , pattributeinfo : *mut u8 , nsize : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn GetJobAttributesEx ( pprintername : :: windows::core::PCWSTR , pdevmode : *const super::Gdi:: DEVMODEW , dwlevel : u32 , pattributeinfo : *mut u8 , nsize : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); GetJobAttributesEx(pprintername.into().abi(), pdevmode, dwlevel, ::core::mem::transmute(pattributeinfo.as_ptr()), pattributeinfo.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1349,7 +1349,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetJobNamedPropertyValue ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pszname : :: windows::core::PCWSTR , pvalue : *mut PrintPropertyValue ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetJobNamedPropertyValue ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pszname : :: windows::core::PCWSTR , pvalue : *mut PrintPropertyValue ) -> u32 ); GetJobNamedPropertyValue(hprinter.into(), jobid, pszname.into().abi(), pvalue) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1359,14 +1359,14 @@ pub unsafe fn GetJobW(hprinter: P0, jobid: u32, level: u32, pjob: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn GetJobW ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , level : u32 , pjob : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetJobW ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , level : u32 , pjob : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetJobW(hprinter.into(), jobid, level, ::core::mem::transmute(pjob.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pjob.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPrintExecutionData(pdata: *mut PRINT_EXECUTION_DATA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrintExecutionData ( pdata : *mut PRINT_EXECUTION_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrintExecutionData ( pdata : *mut PRINT_EXECUTION_DATA ) -> super::super::Foundation:: BOOL ); GetPrintExecutionData(pdata) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1377,7 +1377,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrintOutputInfo ( hwnd : super::super::Foundation:: HWND , pszprinter : :: windows::core::PCWSTR , phfile : *mut super::super::Foundation:: HANDLE , ppszoutputfile : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrintOutputInfo ( hwnd : super::super::Foundation:: HWND , pszprinter : :: windows::core::PCWSTR , phfile : *mut super::super::Foundation:: HANDLE , ppszoutputfile : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); GetPrintOutputInfo(hwnd.into(), pszprinter.into().abi(), phfile, ppszoutputfile).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1388,7 +1388,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrintProcessorDirectoryA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , level : u32 , pprintprocessorinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrintProcessorDirectoryA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , level : u32 , pprintprocessorinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrintProcessorDirectoryA(pname.into().abi(), penvironment.into().abi(), level, ::core::mem::transmute(pprintprocessorinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pprintprocessorinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1399,7 +1399,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrintProcessorDirectoryW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , level : u32 , pprintprocessorinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrintProcessorDirectoryW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , level : u32 , pprintprocessorinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrintProcessorDirectoryW(pname.into().abi(), penvironment.into().abi(), level, ::core::mem::transmute(pprintprocessorinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pprintprocessorinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1409,7 +1409,7 @@ pub unsafe fn GetPrinterA(hprinter: P0, level: u32, pprinter: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pprinter : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pprinter : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrinterA(hprinter.into(), level, ::core::mem::transmute(pprinter.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pprinter.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1420,7 +1420,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDataA ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCSTR , ptype : *mut u32 , pdata : *mut u8 , nsize : u32 , pcbneeded : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDataA ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCSTR , ptype : *mut u32 , pdata : *mut u8 , nsize : u32 , pcbneeded : *mut u32 ) -> u32 ); GetPrinterDataA(hprinter.into(), pvaluename.into().abi(), ::core::mem::transmute(ptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdata.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1432,7 +1432,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDataExA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , pvaluename : :: windows::core::PCSTR , ptype : *mut u32 , pdata : *mut u8 , nsize : u32 , pcbneeded : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDataExA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , pvaluename : :: windows::core::PCSTR , ptype : *mut u32 , pdata : *mut u8 , nsize : u32 , pcbneeded : *mut u32 ) -> u32 ); GetPrinterDataExA(hprinter.into(), pkeyname.into().abi(), pvaluename.into().abi(), ::core::mem::transmute(ptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdata.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1444,7 +1444,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDataExW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , pvaluename : :: windows::core::PCWSTR , ptype : *mut u32 , pdata : *mut u8 , nsize : u32 , pcbneeded : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDataExW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , pvaluename : :: windows::core::PCWSTR , ptype : *mut u32 , pdata : *mut u8 , nsize : u32 , pcbneeded : *mut u32 ) -> u32 ); GetPrinterDataExW(hprinter.into(), pkeyname.into().abi(), pvaluename.into().abi(), ::core::mem::transmute(ptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdata.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1455,7 +1455,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDataW ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCWSTR , ptype : *mut u32 , pdata : *mut u8 , nsize : u32 , pcbneeded : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDataW ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCWSTR , ptype : *mut u32 , pdata : *mut u8 , nsize : u32 , pcbneeded : *mut u32 ) -> u32 ); GetPrinterDataW(hprinter.into(), pvaluename.into().abi(), ::core::mem::transmute(ptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdata.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1467,7 +1467,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDriver2A ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , penvironment : :: windows::core::PCSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDriver2A ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , penvironment : :: windows::core::PCSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrinterDriver2A(hwnd.into(), hprinter.into(), penvironment.into().abi(), level, ::core::mem::transmute(pdriverinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriverinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1479,7 +1479,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDriver2W ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , penvironment : :: windows::core::PCWSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDriver2W ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE , penvironment : :: windows::core::PCWSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrinterDriver2W(hwnd.into(), hprinter.into(), penvironment.into().abi(), level, ::core::mem::transmute(pdriverinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriverinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1490,7 +1490,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDriverA ( hprinter : super::super::Foundation:: HANDLE , penvironment : :: windows::core::PCSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDriverA ( hprinter : super::super::Foundation:: HANDLE , penvironment : :: windows::core::PCSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrinterDriverA(hprinter.into(), penvironment.into().abi(), level, ::core::mem::transmute(pdriverinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriverinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1501,7 +1501,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDriverDirectoryA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , level : u32 , pdriverdirectory : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDriverDirectoryA ( pname : :: windows::core::PCSTR , penvironment : :: windows::core::PCSTR , level : u32 , pdriverdirectory : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrinterDriverDirectoryA(pname.into().abi(), penvironment.into().abi(), level, ::core::mem::transmute(pdriverdirectory.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriverdirectory.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1512,7 +1512,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDriverDirectoryW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , level : u32 , pdriverdirectory : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDriverDirectoryW ( pname : :: windows::core::PCWSTR , penvironment : :: windows::core::PCWSTR , level : u32 , pdriverdirectory : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrinterDriverDirectoryW(pname.into().abi(), penvironment.into().abi(), level, ::core::mem::transmute(pdriverdirectory.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriverdirectory.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -1524,7 +1524,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDriverPackagePathA ( pszserver : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , pszlanguage : :: windows::core::PCSTR , pszpackageid : :: windows::core::PCSTR , pszdriverpackagecab : :: windows::core::PSTR , cchdriverpackagecab : u32 , pcchrequiredsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDriverPackagePathA ( pszserver : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , pszlanguage : :: windows::core::PCSTR , pszpackageid : :: windows::core::PCSTR , pszdriverpackagecab : :: windows::core::PSTR , cchdriverpackagecab : u32 , pcchrequiredsize : *mut u32 ) -> :: windows::core::HRESULT ); GetPrinterDriverPackagePathA(pszserver.into().abi(), pszenvironment.into().abi(), pszlanguage.into().abi(), pszpackageid.into().abi(), ::core::mem::transmute(pszdriverpackagecab.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszdriverpackagecab.as_deref().map_or(0, |slice| slice.len() as _), pcchrequiredsize).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -1536,7 +1536,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDriverPackagePathW ( pszserver : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , pszlanguage : :: windows::core::PCWSTR , pszpackageid : :: windows::core::PCWSTR , pszdriverpackagecab : :: windows::core::PWSTR , cchdriverpackagecab : u32 , pcchrequiredsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDriverPackagePathW ( pszserver : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , pszlanguage : :: windows::core::PCWSTR , pszpackageid : :: windows::core::PCWSTR , pszdriverpackagecab : :: windows::core::PWSTR , cchdriverpackagecab : u32 , pcchrequiredsize : *mut u32 ) -> :: windows::core::HRESULT ); GetPrinterDriverPackagePathW(pszserver.into().abi(), pszenvironment.into().abi(), pszlanguage.into().abi(), pszpackageid.into().abi(), ::core::mem::transmute(pszdriverpackagecab.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszdriverpackagecab.as_deref().map_or(0, |slice| slice.len() as _), pcchrequiredsize).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1547,7 +1547,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterDriverW ( hprinter : super::super::Foundation:: HANDLE , penvironment : :: windows::core::PCWSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterDriverW ( hprinter : super::super::Foundation:: HANDLE , penvironment : :: windows::core::PCWSTR , level : u32 , pdriverinfo : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrinterDriverW(hprinter.into(), penvironment.into().abi(), level, ::core::mem::transmute(pdriverinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriverinfo.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1557,7 +1557,7 @@ pub unsafe fn GetPrinterW(hprinter: P0, level: u32, pprinter: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn GetPrinterW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pprinter : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetPrinterW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pprinter : *mut u8 , cbbuf : u32 , pcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPrinterW(hprinter.into(), level, ::core::mem::transmute(pprinter.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pprinter.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1567,7 +1567,7 @@ pub unsafe fn GetSpoolFileHandle(hprinter: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn GetSpoolFileHandle ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "winspool.drv""system" fn GetSpoolFileHandle ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); GetSpoolFileHandle(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1577,7 +1577,7 @@ pub unsafe fn ImpersonatePrinterClient(htoken: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn ImpersonatePrinterClient ( htoken : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn ImpersonatePrinterClient ( htoken : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ImpersonatePrinterClient(htoken.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -1589,7 +1589,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn InstallPrinterDriverFromPackageA ( pszserver : :: windows::core::PCSTR , pszinfpath : :: windows::core::PCSTR , pszdrivername : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn InstallPrinterDriverFromPackageA ( pszserver : :: windows::core::PCSTR , pszinfpath : :: windows::core::PCSTR , pszdrivername : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); InstallPrinterDriverFromPackageA(pszserver.into().abi(), pszinfpath.into().abi(), pszdrivername.into().abi(), pszenvironment.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -1601,21 +1601,21 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn InstallPrinterDriverFromPackageW ( pszserver : :: windows::core::PCWSTR , pszinfpath : :: windows::core::PCWSTR , pszdrivername : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn InstallPrinterDriverFromPackageW ( pszserver : :: windows::core::PCWSTR , pszinfpath : :: windows::core::PCWSTR , pszdrivername : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); InstallPrinterDriverFromPackageW(pszserver.into().abi(), pszinfpath.into().abi(), pszdrivername.into().abi(), pszenvironment.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn IsValidDevmodeA(pdevmode: ::core::option::Option<*const super::Gdi::DEVMODEA>, devmodesize: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winspool.drv""system" fn IsValidDevmodeA ( pdevmode : *const super::Gdi:: DEVMODEA , devmodesize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn IsValidDevmodeA ( pdevmode : *const super::Gdi:: DEVMODEA , devmodesize : usize ) -> super::super::Foundation:: BOOL ); IsValidDevmodeA(::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null())), devmodesize) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn IsValidDevmodeW(pdevmode: ::core::option::Option<*const super::Gdi::DEVMODEW>, devmodesize: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winspool.drv""system" fn IsValidDevmodeW ( pdevmode : *const super::Gdi:: DEVMODEW , devmodesize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn IsValidDevmodeW ( pdevmode : *const super::Gdi:: DEVMODEW , devmodesize : usize ) -> super::super::Foundation:: BOOL ); IsValidDevmodeW(::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null())), devmodesize) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1625,7 +1625,7 @@ pub unsafe fn OpenPrinter2A(pprintername: P0, phprinter: *mut super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn OpenPrinter2A ( pprintername : :: windows::core::PCSTR , phprinter : *mut super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSA , poptions : *const PRINTER_OPTIONSA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn OpenPrinter2A ( pprintername : :: windows::core::PCSTR , phprinter : *mut super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSA , poptions : *const PRINTER_OPTIONSA ) -> super::super::Foundation:: BOOL ); OpenPrinter2A(pprintername.into().abi(), phprinter, ::core::mem::transmute(pdefault.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1635,7 +1635,7 @@ pub unsafe fn OpenPrinter2W(pprintername: P0, phprinter: *mut super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn OpenPrinter2W ( pprintername : :: windows::core::PCWSTR , phprinter : *mut super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSW , poptions : *const PRINTER_OPTIONSW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn OpenPrinter2W ( pprintername : :: windows::core::PCWSTR , phprinter : *mut super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSW , poptions : *const PRINTER_OPTIONSW ) -> super::super::Foundation:: BOOL ); OpenPrinter2W(pprintername.into().abi(), phprinter, ::core::mem::transmute(pdefault.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1645,7 +1645,7 @@ pub unsafe fn OpenPrinterA(pprintername: P0, phprinter: *mut super::super::F where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn OpenPrinterA ( pprintername : :: windows::core::PCSTR , phprinter : *mut super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn OpenPrinterA ( pprintername : :: windows::core::PCSTR , phprinter : *mut super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSA ) -> super::super::Foundation:: BOOL ); OpenPrinterA(pprintername.into().abi(), phprinter, ::core::mem::transmute(pdefault.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1655,7 +1655,7 @@ pub unsafe fn OpenPrinterW(pprintername: P0, phprinter: *mut super::super::F where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn OpenPrinterW ( pprintername : :: windows::core::PCWSTR , phprinter : *mut super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn OpenPrinterW ( pprintername : :: windows::core::PCWSTR , phprinter : *mut super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSW ) -> super::super::Foundation:: BOOL ); OpenPrinterW(pprintername.into().abi(), phprinter, ::core::mem::transmute(pdefault.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1665,7 +1665,7 @@ pub unsafe fn PartialReplyPrinterChangeNotification(hprinter: P0, pdatasrc: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn PartialReplyPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , pdatasrc : *const PRINTER_NOTIFY_INFO_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn PartialReplyPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , pdatasrc : *const PRINTER_NOTIFY_INFO_DATA ) -> super::super::Foundation:: BOOL ); PartialReplyPrinterChangeNotification(hprinter.into(), ::core::mem::transmute(pdatasrc.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1675,7 +1675,7 @@ pub unsafe fn PlayGdiScriptOnPrinterIC(hprinteric: P0, pin: &[u8], pout: &mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn PlayGdiScriptOnPrinterIC ( hprinteric : super::super::Foundation:: HANDLE , pin : *const u8 , cin : u32 , pout : *mut u8 , cout : u32 , ul : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn PlayGdiScriptOnPrinterIC ( hprinteric : super::super::Foundation:: HANDLE , pin : *const u8 , cin : u32 , pout : *mut u8 , cout : u32 , ul : u32 ) -> super::super::Foundation:: BOOL ); PlayGdiScriptOnPrinterIC(hprinteric.into(), ::core::mem::transmute(pin.as_ptr()), pin.len() as _, ::core::mem::transmute(pout.as_ptr()), pout.len() as _, ul) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1688,7 +1688,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn PrinterMessageBoxA ( hprinter : super::super::Foundation:: HANDLE , error : u32 , hwnd : super::super::Foundation:: HWND , ptext : :: windows::core::PCSTR , pcaption : :: windows::core::PCSTR , dwtype : u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn PrinterMessageBoxA ( hprinter : super::super::Foundation:: HANDLE , error : u32 , hwnd : super::super::Foundation:: HWND , ptext : :: windows::core::PCSTR , pcaption : :: windows::core::PCSTR , dwtype : u32 ) -> u32 ); PrinterMessageBoxA(hprinter.into(), error, hwnd.into(), ptext.into().abi(), pcaption.into().abi(), dwtype) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1701,7 +1701,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn PrinterMessageBoxW ( hprinter : super::super::Foundation:: HANDLE , error : u32 , hwnd : super::super::Foundation:: HWND , ptext : :: windows::core::PCWSTR , pcaption : :: windows::core::PCWSTR , dwtype : u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn PrinterMessageBoxW ( hprinter : super::super::Foundation:: HANDLE , error : u32 , hwnd : super::super::Foundation:: HWND , ptext : :: windows::core::PCWSTR , pcaption : :: windows::core::PCWSTR , dwtype : u32 ) -> u32 ); PrinterMessageBoxW(hprinter.into(), error, hwnd.into(), ptext.into().abi(), pcaption.into().abi(), dwtype) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1712,7 +1712,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn PrinterProperties ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn PrinterProperties ( hwnd : super::super::Foundation:: HWND , hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); PrinterProperties(hwnd.into(), hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1722,7 +1722,7 @@ pub unsafe fn ProvidorFindClosePrinterChangeNotification(hprinter: P0) -> su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn ProvidorFindClosePrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn ProvidorFindClosePrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ProvidorFindClosePrinterChangeNotification(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1733,7 +1733,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn ProvidorFindFirstPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , fdwflags : u32 , fdwoptions : u32 , hnotify : super::super::Foundation:: HANDLE , pprinternotifyoptions : *const ::core::ffi::c_void , pvreserved1 : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn ProvidorFindFirstPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , fdwflags : u32 , fdwoptions : u32 , hnotify : super::super::Foundation:: HANDLE , pprinternotifyoptions : *const ::core::ffi::c_void , pvreserved1 : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ProvidorFindFirstPrinterChangeNotification(hprinter.into(), fdwflags, fdwoptions, hnotify.into(), ::core::mem::transmute(pprinternotifyoptions.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvreserved1.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1743,7 +1743,7 @@ pub unsafe fn ReadPrinter(hprinter: P0, pbuf: *mut ::core::ffi::c_void, cbbu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn ReadPrinter ( hprinter : super::super::Foundation:: HANDLE , pbuf : *mut ::core::ffi::c_void , cbbuf : u32 , pnobytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn ReadPrinter ( hprinter : super::super::Foundation:: HANDLE , pbuf : *mut ::core::ffi::c_void , cbbuf : u32 , pnobytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadPrinter(hprinter.into(), pbuf, cbbuf, pnobytesread) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1754,7 +1754,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "winspool.drv""system" fn RegisterForPrintAsyncNotifications ( pszname : :: windows::core::PCWSTR , pnotificationtype : *const :: windows::core::GUID , euserfilter : PrintAsyncNotifyUserFilter , econversationstyle : PrintAsyncNotifyConversationStyle , pcallback : * mut::core::ffi::c_void , phnotify : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn RegisterForPrintAsyncNotifications ( pszname : :: windows::core::PCWSTR , pnotificationtype : *const :: windows::core::GUID , euserfilter : PrintAsyncNotifyUserFilter , econversationstyle : PrintAsyncNotifyConversationStyle , pcallback : * mut::core::ffi::c_void , phnotify : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RegisterForPrintAsyncNotifications(pszname.into().abi(), pnotificationtype, euserfilter, econversationstyle, pcallback.into().abi(), &mut result__).from_abi(result__) } @@ -1765,7 +1765,7 @@ pub unsafe fn RemovePrintDeviceObject(hdeviceobject: P0) -> ::windows::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn RemovePrintDeviceObject ( hdeviceobject : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "spoolss.dll""system" fn RemovePrintDeviceObject ( hdeviceobject : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); RemovePrintDeviceObject(hdeviceobject.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1775,7 +1775,7 @@ pub unsafe fn ReplyPrinterChangeNotification(hprinter: P0, fdwchangeflags: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn ReplyPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , fdwchangeflags : u32 , pdwresult : *mut u32 , pprinternotifyinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn ReplyPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , fdwchangeflags : u32 , pdwresult : *mut u32 , pprinternotifyinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ReplyPrinterChangeNotification(hprinter.into(), fdwchangeflags, ::core::mem::transmute(pdwresult.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pprinternotifyinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1785,7 +1785,7 @@ pub unsafe fn ReplyPrinterChangeNotificationEx(hnotify: P0, dwcolor: u32, fd where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn ReplyPrinterChangeNotificationEx ( hnotify : super::super::Foundation:: HANDLE , dwcolor : u32 , fdwflags : u32 , pdwresult : *mut u32 , pprinternotifyinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn ReplyPrinterChangeNotificationEx ( hnotify : super::super::Foundation:: HANDLE , dwcolor : u32 , fdwflags : u32 , pdwresult : *mut u32 , pprinternotifyinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ReplyPrinterChangeNotificationEx(hnotify.into(), dwcolor, fdwflags, pdwresult, pprinternotifyinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1795,7 +1795,7 @@ pub unsafe fn ReportJobProcessingProgress(printerhandle: P0, jobid: u32, job where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn ReportJobProcessingProgress ( printerhandle : super::super::Foundation:: HANDLE , jobid : u32 , joboperation : EPrintXPSJobOperation , jobprogress : EPrintXPSJobProgress ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn ReportJobProcessingProgress ( printerhandle : super::super::Foundation:: HANDLE , jobid : u32 , joboperation : EPrintXPSJobOperation , jobprogress : EPrintXPSJobProgress ) -> :: windows::core::HRESULT ); ReportJobProcessingProgress(printerhandle.into(), jobid, joboperation, jobprogress).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1805,7 +1805,7 @@ pub unsafe fn ResetPrinterA(hprinter: P0, pdefault: ::core::option::Option<* where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn ResetPrinterA ( hprinter : super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn ResetPrinterA ( hprinter : super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSA ) -> super::super::Foundation:: BOOL ); ResetPrinterA(hprinter.into(), ::core::mem::transmute(pdefault.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1815,53 +1815,53 @@ pub unsafe fn ResetPrinterW(hprinter: P0, pdefault: ::core::option::Option<* where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn ResetPrinterW ( hprinter : super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn ResetPrinterW ( hprinter : super::super::Foundation:: HANDLE , pdefault : *const PRINTER_DEFAULTSW ) -> super::super::Foundation:: BOOL ); ResetPrinterW(hprinter.into(), ::core::mem::transmute(pdefault.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RevertToPrinterSelf() -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "spoolss.dll""system" fn RevertToPrinterSelf ( ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "spoolss.dll""system" fn RevertToPrinterSelf ( ) -> super::super::Foundation:: HANDLE ); RevertToPrinterSelf() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[inline] pub unsafe fn RouterAllocBidiMem(numbytes: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "spoolss.dll""system" fn RouterAllocBidiMem ( numbytes : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "spoolss.dll""system" fn RouterAllocBidiMem ( numbytes : usize ) -> *mut ::core::ffi::c_void ); RouterAllocBidiMem(numbytes) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RouterAllocBidiResponseContainer(count: u32) -> *mut BIDI_RESPONSE_CONTAINER { - ::windows::core::link ! ( "spoolss.dll""system" fn RouterAllocBidiResponseContainer ( count : u32 ) -> *mut BIDI_RESPONSE_CONTAINER ); + ::windows::imp::link ! ( "spoolss.dll""system" fn RouterAllocBidiResponseContainer ( count : u32 ) -> *mut BIDI_RESPONSE_CONTAINER ); RouterAllocBidiResponseContainer(count) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[inline] pub unsafe fn RouterAllocPrinterNotifyInfo(cprinternotifyinfodata: u32) -> *mut PRINTER_NOTIFY_INFO { - ::windows::core::link ! ( "spoolss.dll""system" fn RouterAllocPrinterNotifyInfo ( cprinternotifyinfodata : u32 ) -> *mut PRINTER_NOTIFY_INFO ); + ::windows::imp::link ! ( "spoolss.dll""system" fn RouterAllocPrinterNotifyInfo ( cprinternotifyinfodata : u32 ) -> *mut PRINTER_NOTIFY_INFO ); RouterAllocPrinterNotifyInfo(cprinternotifyinfodata) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[inline] pub unsafe fn RouterFreeBidiMem(pmempointer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "spoolss.dll""system" fn RouterFreeBidiMem ( pmempointer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "spoolss.dll""system" fn RouterFreeBidiMem ( pmempointer : *const ::core::ffi::c_void ) -> ( ) ); RouterFreeBidiMem(pmempointer) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RouterFreeBidiResponseContainer(pdata: *const BIDI_RESPONSE_CONTAINER) -> u32 { - ::windows::core::link ! ( "winspool.drv""system" fn RouterFreeBidiResponseContainer ( pdata : *const BIDI_RESPONSE_CONTAINER ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn RouterFreeBidiResponseContainer ( pdata : *const BIDI_RESPONSE_CONTAINER ) -> u32 ); RouterFreeBidiResponseContainer(pdata) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RouterFreePrinterNotifyInfo(pinfo: ::core::option::Option<*const PRINTER_NOTIFY_INFO>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "spoolss.dll""system" fn RouterFreePrinterNotifyInfo ( pinfo : *const PRINTER_NOTIFY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn RouterFreePrinterNotifyInfo ( pinfo : *const PRINTER_NOTIFY_INFO ) -> super::super::Foundation:: BOOL ); RouterFreePrinterNotifyInfo(::core::mem::transmute(pinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1871,7 +1871,7 @@ pub unsafe fn ScheduleJob(hprinter: P0, jobid: u32) -> super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn ScheduleJob ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn ScheduleJob ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 ) -> super::super::Foundation:: BOOL ); ScheduleJob(hprinter.into(), jobid) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1881,7 +1881,7 @@ pub unsafe fn SetCPSUIUserData(hdlg: P0, cpsuiuserdata: usize) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "compstui.dll""system" fn SetCPSUIUserData ( hdlg : super::super::Foundation:: HWND , cpsuiuserdata : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "compstui.dll""system" fn SetCPSUIUserData ( hdlg : super::super::Foundation:: HWND , cpsuiuserdata : usize ) -> super::super::Foundation:: BOOL ); SetCPSUIUserData(hdlg.into(), cpsuiuserdata) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1891,7 +1891,7 @@ pub unsafe fn SetDefaultPrinterA(pszprinter: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetDefaultPrinterA ( pszprinter : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetDefaultPrinterA ( pszprinter : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetDefaultPrinterA(pszprinter.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1901,7 +1901,7 @@ pub unsafe fn SetDefaultPrinterW(pszprinter: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetDefaultPrinterW ( pszprinter : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetDefaultPrinterW ( pszprinter : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetDefaultPrinterW(pszprinter.into().abi()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1912,7 +1912,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetFormA ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCSTR , level : u32 , pform : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetFormA ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCSTR , level : u32 , pform : *const u8 ) -> super::super::Foundation:: BOOL ); SetFormA(hprinter.into(), pformname.into().abi(), level, pform) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1923,7 +1923,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetFormW ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCWSTR , level : u32 , pform : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetFormW ( hprinter : super::super::Foundation:: HANDLE , pformname : :: windows::core::PCWSTR , level : u32 , pform : *const u8 ) -> super::super::Foundation:: BOOL ); SetFormW(hprinter.into(), pformname.into().abi(), level, pform) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1933,7 +1933,7 @@ pub unsafe fn SetJobA(hprinter: P0, jobid: u32, level: u32, pjob: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn SetJobA ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , level : u32 , pjob : *const u8 , command : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetJobA ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , level : u32 , pjob : *const u8 , command : u32 ) -> super::super::Foundation:: BOOL ); SetJobA(hprinter.into(), jobid, level, ::core::mem::transmute(pjob.unwrap_or(::std::ptr::null())), command) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1943,7 +1943,7 @@ pub unsafe fn SetJobNamedProperty(hprinter: P0, jobid: u32, pproperty: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn SetJobNamedProperty ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pproperty : *const PrintNamedProperty ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetJobNamedProperty ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pproperty : *const PrintNamedProperty ) -> u32 ); SetJobNamedProperty(hprinter.into(), jobid, pproperty) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1953,7 +1953,7 @@ pub unsafe fn SetJobW(hprinter: P0, jobid: u32, level: u32, pjob: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn SetJobW ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , level : u32 , pjob : *const u8 , command : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetJobW ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , level : u32 , pjob : *const u8 , command : u32 ) -> super::super::Foundation:: BOOL ); SetJobW(hprinter.into(), jobid, level, ::core::mem::transmute(pjob.unwrap_or(::std::ptr::null())), command) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1964,7 +1964,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetPortA ( pname : :: windows::core::PCSTR , pportname : :: windows::core::PCSTR , dwlevel : u32 , pportinfo : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetPortA ( pname : :: windows::core::PCSTR , pportname : :: windows::core::PCSTR , dwlevel : u32 , pportinfo : *const u8 ) -> super::super::Foundation:: BOOL ); SetPortA(pname.into().abi(), pportname.into().abi(), dwlevel, pportinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1975,7 +1975,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetPortW ( pname : :: windows::core::PCWSTR , pportname : :: windows::core::PCWSTR , dwlevel : u32 , pportinfo : *const u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetPortW ( pname : :: windows::core::PCWSTR , pportname : :: windows::core::PCWSTR , dwlevel : u32 , pportinfo : *const u8 ) -> super::super::Foundation:: BOOL ); SetPortW(pname.into().abi(), pportname.into().abi(), dwlevel, pportinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1985,7 +1985,7 @@ pub unsafe fn SetPrinterA(hprinter: P0, level: u32, pprinter: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn SetPrinterA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pprinter : *const u8 , command : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetPrinterA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pprinter : *const u8 , command : u32 ) -> super::super::Foundation:: BOOL ); SetPrinterA(hprinter.into(), level, ::core::mem::transmute(pprinter.unwrap_or(::std::ptr::null())), command) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -1996,7 +1996,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetPrinterDataA ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCSTR , r#type : u32 , pdata : *const u8 , cbdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetPrinterDataA ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCSTR , r#type : u32 , pdata : *const u8 , cbdata : u32 ) -> u32 ); SetPrinterDataA(hprinter.into(), pvaluename.into().abi(), r#type, ::core::mem::transmute(pdata.as_ptr()), pdata.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2008,7 +2008,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetPrinterDataExA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , pvaluename : :: windows::core::PCSTR , r#type : u32 , pdata : *const u8 , cbdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetPrinterDataExA ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCSTR , pvaluename : :: windows::core::PCSTR , r#type : u32 , pdata : *const u8 , cbdata : u32 ) -> u32 ); SetPrinterDataExA(hprinter.into(), pkeyname.into().abi(), pvaluename.into().abi(), r#type, ::core::mem::transmute(pdata.as_ptr()), pdata.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2020,7 +2020,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetPrinterDataExW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , pvaluename : :: windows::core::PCWSTR , r#type : u32 , pdata : *const u8 , cbdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetPrinterDataExW ( hprinter : super::super::Foundation:: HANDLE , pkeyname : :: windows::core::PCWSTR , pvaluename : :: windows::core::PCWSTR , r#type : u32 , pdata : *const u8 , cbdata : u32 ) -> u32 ); SetPrinterDataExW(hprinter.into(), pkeyname.into().abi(), pvaluename.into().abi(), r#type, ::core::mem::transmute(pdata.as_ptr()), pdata.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2031,7 +2031,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn SetPrinterDataW ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCWSTR , r#type : u32 , pdata : *const u8 , cbdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetPrinterDataW ( hprinter : super::super::Foundation:: HANDLE , pvaluename : :: windows::core::PCWSTR , r#type : u32 , pdata : *const u8 , cbdata : u32 ) -> u32 ); SetPrinterDataW(hprinter.into(), pvaluename.into().abi(), r#type, ::core::mem::transmute(pdata.as_ptr()), pdata.len() as _) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2041,7 +2041,7 @@ pub unsafe fn SetPrinterW(hprinter: P0, level: u32, pprinter: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn SetPrinterW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pprinter : *const u8 , command : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn SetPrinterW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pprinter : *const u8 , command : u32 ) -> super::super::Foundation:: BOOL ); SetPrinterW(hprinter.into(), level, ::core::mem::transmute(pprinter.unwrap_or(::std::ptr::null())), command) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2051,7 +2051,7 @@ pub unsafe fn SplIsSessionZero(hprinter: P0, jobid: u32, pissessionzero: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn SplIsSessionZero ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pissessionzero : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "spoolss.dll""system" fn SplIsSessionZero ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , pissessionzero : *mut super::super::Foundation:: BOOL ) -> u32 ); SplIsSessionZero(hprinter.into(), jobid, pissessionzero) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2061,7 +2061,7 @@ pub unsafe fn SplPromptUIInUsersSession(hprinter: P0, jobid: u32, puiparams: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn SplPromptUIInUsersSession ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , puiparams : *const SHOWUIPARAMS , presponse : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn SplPromptUIInUsersSession ( hprinter : super::super::Foundation:: HANDLE , jobid : u32 , puiparams : *const SHOWUIPARAMS , presponse : *mut u32 ) -> super::super::Foundation:: BOOL ); SplPromptUIInUsersSession(hprinter.into(), jobid, puiparams, presponse) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2072,7 +2072,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn SpoolerCopyFileEvent ( pszprintername : :: windows::core::PCWSTR , pszkey : :: windows::core::PCWSTR , dwcopyfileevent : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn SpoolerCopyFileEvent ( pszprintername : :: windows::core::PCWSTR , pszkey : :: windows::core::PCWSTR , dwcopyfileevent : u32 ) -> super::super::Foundation:: BOOL ); SpoolerCopyFileEvent(pszprintername.into().abi(), pszkey.into().abi(), dwcopyfileevent) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2082,7 +2082,7 @@ pub unsafe fn SpoolerFindClosePrinterChangeNotification(hprinter: P0) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn SpoolerFindClosePrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn SpoolerFindClosePrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SpoolerFindClosePrinterChangeNotification(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2092,7 +2092,7 @@ pub unsafe fn SpoolerFindFirstPrinterChangeNotification(hprinter: P0, fdwfil where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn SpoolerFindFirstPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , fdwfilterflags : u32 , fdwoptions : u32 , pprinternotifyoptions : *const ::core::ffi::c_void , pvreserved : *const ::core::ffi::c_void , pnotificationconfig : *const ::core::ffi::c_void , phnotify : *mut super::super::Foundation:: HANDLE , phevent : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn SpoolerFindFirstPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , fdwfilterflags : u32 , fdwoptions : u32 , pprinternotifyoptions : *const ::core::ffi::c_void , pvreserved : *const ::core::ffi::c_void , pnotificationconfig : *const ::core::ffi::c_void , phnotify : *mut super::super::Foundation:: HANDLE , phevent : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SpoolerFindFirstPrinterChangeNotification(hprinter.into(), fdwfilterflags, fdwoptions, pprinternotifyoptions, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), pnotificationconfig, ::core::mem::transmute(phnotify.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phevent.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2102,13 +2102,13 @@ pub unsafe fn SpoolerFindNextPrinterChangeNotification(hprinter: P0, pfdwcha where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn SpoolerFindNextPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , pfdwchange : *mut u32 , pprinternotifyoptions : *const ::core::ffi::c_void , ppprinternotifyinfo : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn SpoolerFindNextPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , pfdwchange : *mut u32 , pprinternotifyoptions : *const ::core::ffi::c_void , ppprinternotifyinfo : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SpoolerFindNextPrinterChangeNotification(hprinter.into(), pfdwchange, ::core::mem::transmute(pprinternotifyoptions.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppprinternotifyinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[inline] pub unsafe fn SpoolerFreePrinterNotifyInfo(pinfo: *const PRINTER_NOTIFY_INFO) { - ::windows::core::link ! ( "spoolss.dll""system" fn SpoolerFreePrinterNotifyInfo ( pinfo : *const PRINTER_NOTIFY_INFO ) -> ( ) ); + ::windows::imp::link ! ( "spoolss.dll""system" fn SpoolerFreePrinterNotifyInfo ( pinfo : *const PRINTER_NOTIFY_INFO ) -> ( ) ); SpoolerFreePrinterNotifyInfo(pinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2118,7 +2118,7 @@ pub unsafe fn SpoolerRefreshPrinterChangeNotification(hprinter: P0, dwcolor: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn SpoolerRefreshPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , dwcolor : u32 , poptions : *const PRINTER_NOTIFY_OPTIONS , ppinfo : *mut *mut PRINTER_NOTIFY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "spoolss.dll""system" fn SpoolerRefreshPrinterChangeNotification ( hprinter : super::super::Foundation:: HANDLE , dwcolor : u32 , poptions : *const PRINTER_NOTIFY_OPTIONS , ppinfo : *mut *mut PRINTER_NOTIFY_INFO ) -> super::super::Foundation:: BOOL ); SpoolerRefreshPrinterChangeNotification(hprinter.into(), dwcolor, poptions, ::core::mem::transmute(ppinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2128,7 +2128,7 @@ pub unsafe fn StartDocPrinterA(hprinter: P0, level: u32, pdocinfo: *const DO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn StartDocPrinterA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pdocinfo : *const DOC_INFO_1A ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn StartDocPrinterA ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pdocinfo : *const DOC_INFO_1A ) -> u32 ); StartDocPrinterA(hprinter.into(), level, pdocinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2138,7 +2138,7 @@ pub unsafe fn StartDocPrinterW(hprinter: P0, level: u32, pdocinfo: *const DO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn StartDocPrinterW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pdocinfo : *const DOC_INFO_1W ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn StartDocPrinterW ( hprinter : super::super::Foundation:: HANDLE , level : u32 , pdocinfo : *const DOC_INFO_1W ) -> u32 ); StartDocPrinterW(hprinter.into(), level, pdocinfo) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2148,7 +2148,7 @@ pub unsafe fn StartPagePrinter(hprinter: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn StartPagePrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn StartPagePrinter ( hprinter : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); StartPagePrinter(hprinter.into()) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2158,7 +2158,7 @@ pub unsafe fn UnRegisterForPrintAsyncNotifications(param0: P0) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn UnRegisterForPrintAsyncNotifications ( param0 : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn UnRegisterForPrintAsyncNotifications ( param0 : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); UnRegisterForPrintAsyncNotifications(param0.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2169,7 +2169,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "spoolss.dll""system" fn UpdatePrintDeviceObject ( hprinter : super::super::Foundation:: HANDLE , hdeviceobject : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "spoolss.dll""system" fn UpdatePrintDeviceObject ( hprinter : super::super::Foundation:: HANDLE , hdeviceobject : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); UpdatePrintDeviceObject(hprinter.into(), hdeviceobject.into()).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2182,7 +2182,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn UploadPrinterDriverPackageA ( pszserver : :: windows::core::PCSTR , pszinfpath : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , dwflags : u32 , hwnd : super::super::Foundation:: HWND , pszdestinfpath : :: windows::core::PSTR , pcchdestinfpath : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn UploadPrinterDriverPackageA ( pszserver : :: windows::core::PCSTR , pszinfpath : :: windows::core::PCSTR , pszenvironment : :: windows::core::PCSTR , dwflags : u32 , hwnd : super::super::Foundation:: HWND , pszdestinfpath : :: windows::core::PSTR , pcchdestinfpath : *mut u32 ) -> :: windows::core::HRESULT ); UploadPrinterDriverPackageA(pszserver.into().abi(), pszinfpath.into().abi(), pszenvironment.into().abi(), dwflags, hwnd.into(), ::core::mem::transmute(pszdestinfpath), pcchdestinfpath).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2195,7 +2195,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn UploadPrinterDriverPackageW ( pszserver : :: windows::core::PCWSTR , pszinfpath : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , dwflags : u32 , hwnd : super::super::Foundation:: HWND , pszdestinfpath : :: windows::core::PWSTR , pcchdestinfpath : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winspool.drv""system" fn UploadPrinterDriverPackageW ( pszserver : :: windows::core::PCWSTR , pszinfpath : :: windows::core::PCWSTR , pszenvironment : :: windows::core::PCWSTR , dwflags : u32 , hwnd : super::super::Foundation:: HWND , pszdestinfpath : :: windows::core::PWSTR , pcchdestinfpath : *mut u32 ) -> :: windows::core::HRESULT ); UploadPrinterDriverPackageW(pszserver.into().abi(), pszinfpath.into().abi(), pszenvironment.into().abi(), dwflags, hwnd.into(), ::core::mem::transmute(pszdestinfpath), pcchdestinfpath).ok() } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2205,7 +2205,7 @@ pub unsafe fn WaitForPrinterChange(hprinter: P0, flags: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn WaitForPrinterChange ( hprinter : super::super::Foundation:: HANDLE , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn WaitForPrinterChange ( hprinter : super::super::Foundation:: HANDLE , flags : u32 ) -> u32 ); WaitForPrinterChange(hprinter.into(), flags) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2215,7 +2215,7 @@ pub unsafe fn WritePrinter(hprinter: P0, pbuf: *const ::core::ffi::c_void, c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winspool.drv""system" fn WritePrinter ( hprinter : super::super::Foundation:: HANDLE , pbuf : *const ::core::ffi::c_void , cbbuf : u32 , pcwritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn WritePrinter ( hprinter : super::super::Foundation:: HANDLE , pbuf : *const ::core::ffi::c_void , cbbuf : u32 , pcwritten : *mut u32 ) -> super::super::Foundation:: BOOL ); WritePrinter(hprinter.into(), pbuf, cbbuf, pcwritten) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`*"] @@ -2226,7 +2226,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn XcvDataW ( hxcv : super::super::Foundation:: HANDLE , pszdataname : :: windows::core::PCWSTR , pinputdata : *const u8 , cbinputdata : u32 , poutputdata : *mut u8 , cboutputdata : u32 , pcboutputneeded : *mut u32 , pdwstatus : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winspool.drv""system" fn XcvDataW ( hxcv : super::super::Foundation:: HANDLE , pszdataname : :: windows::core::PCWSTR , pinputdata : *const u8 , cbinputdata : u32 , poutputdata : *mut u8 , cboutputdata : u32 , pcboutputneeded : *mut u32 , pdwstatus : *mut u32 ) -> super::super::Foundation:: BOOL ); XcvDataW(hxcv.into(), pszdataname.into().abi(), ::core::mem::transmute(pinputdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pinputdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(poutputdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), poutputdata.as_deref().map_or(0, |slice| slice.len() as _), pcboutputneeded, ::core::mem::transmute(pdwstatus.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] @@ -2249,7 +2249,7 @@ impl IAsyncGetSendNotificationCookie { (::windows::core::Vtable::vtable(self).FinishAsyncCallWithData)(::windows::core::Vtable::as_raw(self), param0.into().abi(), param1.into()).ok() } } -::windows::core::interface_hierarchy!(IAsyncGetSendNotificationCookie, ::windows::core::IUnknown, IPrintAsyncCookie); +::windows::imp::interface_hierarchy!(IAsyncGetSendNotificationCookie, ::windows::core::IUnknown, IPrintAsyncCookie); impl ::core::cmp::PartialEq for IAsyncGetSendNotificationCookie { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2298,7 +2298,7 @@ impl IAsyncGetSrvReferralCookie { (::windows::core::Vtable::vtable(self).FinishAsyncCallWithData)(::windows::core::Vtable::as_raw(self), param0.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAsyncGetSrvReferralCookie, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAsyncGetSrvReferralCookie, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAsyncGetSrvReferralCookie { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2369,7 +2369,7 @@ impl IBidiAsyncNotifyChannel { (::windows::core::Vtable::vtable(self).AsyncCloseChannel)(::windows::core::Vtable::as_raw(self), param0.into().abi(), param1.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBidiAsyncNotifyChannel, ::windows::core::IUnknown, IPrintAsyncNotifyChannel); +::windows::imp::interface_hierarchy!(IBidiAsyncNotifyChannel, ::windows::core::IUnknown, IPrintAsyncNotifyChannel); impl ::core::cmp::PartialEq for IBidiAsyncNotifyChannel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2427,7 +2427,7 @@ impl IBidiRequest { (::windows::core::Vtable::vtable(self).GetEnumCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBidiRequest, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBidiRequest, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBidiRequest { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2481,7 +2481,7 @@ impl IBidiRequestContainer { (::windows::core::Vtable::vtable(self).GetRequestCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBidiRequestContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBidiRequestContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBidiRequestContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2543,7 +2543,7 @@ impl IBidiSpl { (::windows::core::Vtable::vtable(self).MultiSendRecv)(::windows::core::Vtable::as_raw(self), pszaction.into().abi(), prequestcontainer.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBidiSpl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBidiSpl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBidiSpl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2602,7 +2602,7 @@ impl IBidiSpl2 { (::windows::core::Vtable::vtable(self).SendRecvXMLStream)(::windows::core::Vtable::as_raw(self), psrequest.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBidiSpl2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBidiSpl2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBidiSpl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2656,7 +2656,7 @@ impl IFixedDocument { (::windows::core::Vtable::vtable(self).SetPrintTicket)(::windows::core::Vtable::as_raw(self), pprintticket.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFixedDocument, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFixedDocument, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFixedDocument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2706,7 +2706,7 @@ impl IFixedDocumentSequence { (::windows::core::Vtable::vtable(self).SetPrintTicket)(::windows::core::Vtable::as_raw(self), pprintticket.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFixedDocumentSequence, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFixedDocumentSequence, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFixedDocumentSequence { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2794,7 +2794,7 @@ impl IFixedPage { (::windows::core::Vtable::vtable(self).GetXpsPartIterator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFixedPage, ::windows::core::IUnknown, IPartBase); +::windows::imp::interface_hierarchy!(IFixedPage, ::windows::core::IUnknown, IPartBase); impl ::core::cmp::PartialEq for IFixedPage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2874,7 +2874,7 @@ impl IImgCreateErrorInfo { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IImgCreateErrorInfo, ::windows::core::IUnknown, super::super::System::Ole::ICreateErrorInfo); +::windows::imp::interface_hierarchy!(IImgCreateErrorInfo, ::windows::core::IUnknown, super::super::System::Ole::ICreateErrorInfo); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IImgCreateErrorInfo { fn eq(&self, other: &Self) -> bool { @@ -2975,7 +2975,7 @@ impl IImgErrorInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IImgErrorInfo, ::windows::core::IUnknown, super::super::System::Com::IErrorInfo); +::windows::imp::interface_hierarchy!(IImgErrorInfo, ::windows::core::IUnknown, super::super::System::Com::IErrorInfo); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IImgErrorInfo { fn eq(&self, other: &Self) -> bool { @@ -3028,7 +3028,7 @@ impl IInterFilterCommunicator { (::windows::core::Vtable::vtable(self).RequestWriter)(::windows::core::Vtable::as_raw(self), ppiwriter).ok() } } -::windows::core::interface_hierarchy!(IInterFilterCommunicator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInterFilterCommunicator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInterFilterCommunicator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3078,7 +3078,7 @@ impl IPartBase { (::windows::core::Vtable::vtable(self).SetPartCompression)(::windows::core::Vtable::as_raw(self), compression).ok() } } -::windows::core::interface_hierarchy!(IPartBase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPartBase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPartBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3130,7 +3130,7 @@ impl IPartColorProfile { (::windows::core::Vtable::vtable(self).base__.SetPartCompression)(::windows::core::Vtable::as_raw(self), compression).ok() } } -::windows::core::interface_hierarchy!(IPartColorProfile, ::windows::core::IUnknown, IPartBase); +::windows::imp::interface_hierarchy!(IPartColorProfile, ::windows::core::IUnknown, IPartBase); impl ::core::cmp::PartialEq for IPartColorProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3166,7 +3166,7 @@ impl IPartDiscardControl { (::windows::core::Vtable::vtable(self).GetDiscardProperties)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(urisentinelpage), ::core::mem::transmute(uriparttodiscard)).ok() } } -::windows::core::interface_hierarchy!(IPartDiscardControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPartDiscardControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPartDiscardControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3227,7 +3227,7 @@ impl IPartFont { (::windows::core::Vtable::vtable(self).SetFontOptions)(::windows::core::Vtable::as_raw(self), options).ok() } } -::windows::core::interface_hierarchy!(IPartFont, ::windows::core::IUnknown, IPartBase); +::windows::imp::interface_hierarchy!(IPartFont, ::windows::core::IUnknown, IPartBase); impl ::core::cmp::PartialEq for IPartFont { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3294,7 +3294,7 @@ impl IPartFont2 { (::windows::core::Vtable::vtable(self).GetFontRestriction)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPartFont2, ::windows::core::IUnknown, IPartBase, IPartFont); +::windows::imp::interface_hierarchy!(IPartFont2, ::windows::core::IUnknown, IPartBase, IPartFont); impl ::core::cmp::PartialEq for IPartFont2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3353,7 +3353,7 @@ impl IPartImage { (::windows::core::Vtable::vtable(self).SetImageContent)(::windows::core::Vtable::as_raw(self), pcontenttype.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPartImage, ::windows::core::IUnknown, IPartBase); +::windows::imp::interface_hierarchy!(IPartImage, ::windows::core::IUnknown, IPartBase); impl ::core::cmp::PartialEq for IPartImage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3403,7 +3403,7 @@ impl IPartPrintTicket { (::windows::core::Vtable::vtable(self).base__.SetPartCompression)(::windows::core::Vtable::as_raw(self), compression).ok() } } -::windows::core::interface_hierarchy!(IPartPrintTicket, ::windows::core::IUnknown, IPartBase); +::windows::imp::interface_hierarchy!(IPartPrintTicket, ::windows::core::IUnknown, IPartBase); impl ::core::cmp::PartialEq for IPartPrintTicket { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3451,7 +3451,7 @@ impl IPartResourceDictionary { (::windows::core::Vtable::vtable(self).base__.SetPartCompression)(::windows::core::Vtable::as_raw(self), compression).ok() } } -::windows::core::interface_hierarchy!(IPartResourceDictionary, ::windows::core::IUnknown, IPartBase); +::windows::imp::interface_hierarchy!(IPartResourceDictionary, ::windows::core::IUnknown, IPartBase); impl ::core::cmp::PartialEq for IPartResourceDictionary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3509,7 +3509,7 @@ impl IPartThumbnail { (::windows::core::Vtable::vtable(self).SetThumbnailContent)(::windows::core::Vtable::as_raw(self), pcontenttype.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPartThumbnail, ::windows::core::IUnknown, IPartBase); +::windows::imp::interface_hierarchy!(IPartThumbnail, ::windows::core::IUnknown, IPartBase); impl ::core::cmp::PartialEq for IPartThumbnail { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3550,7 +3550,7 @@ impl IPrintAsyncCookie { (::windows::core::Vtable::vtable(self).CancelAsyncCall)(::windows::core::Vtable::as_raw(self), param0).ok() } } -::windows::core::interface_hierarchy!(IPrintAsyncCookie, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintAsyncCookie, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintAsyncCookie { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3594,7 +3594,7 @@ impl IPrintAsyncNewChannelCookie { (::windows::core::Vtable::vtable(self).FinishAsyncCallWithData)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(param0), param1).ok() } } -::windows::core::interface_hierarchy!(IPrintAsyncNewChannelCookie, ::windows::core::IUnknown, IPrintAsyncCookie); +::windows::imp::interface_hierarchy!(IPrintAsyncNewChannelCookie, ::windows::core::IUnknown, IPrintAsyncCookie); impl ::core::cmp::PartialEq for IPrintAsyncNewChannelCookie { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3642,7 +3642,7 @@ impl IPrintAsyncNotify { (::windows::core::Vtable::vtable(self).CreatePrintAsyncNotifyRegistration)(::windows::core::Vtable::as_raw(self), param0, param1, param2, param3.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintAsyncNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintAsyncNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintAsyncNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3691,7 +3691,7 @@ impl IPrintAsyncNotifyCallback { (::windows::core::Vtable::vtable(self).ChannelClosed)(::windows::core::Vtable::as_raw(self), pchannel.into().abi(), pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPrintAsyncNotifyCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintAsyncNotifyCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintAsyncNotifyCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3738,7 +3738,7 @@ impl IPrintAsyncNotifyChannel { (::windows::core::Vtable::vtable(self).CloseChannel)(::windows::core::Vtable::as_raw(self), pdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPrintAsyncNotifyChannel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintAsyncNotifyChannel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintAsyncNotifyChannel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3779,7 +3779,7 @@ impl IPrintAsyncNotifyDataObject { (::windows::core::Vtable::vtable(self).ReleaseData)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintAsyncNotifyDataObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintAsyncNotifyDataObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintAsyncNotifyDataObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3820,7 +3820,7 @@ impl IPrintAsyncNotifyRegistration { (::windows::core::Vtable::vtable(self).UnregisterForNotifications)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintAsyncNotifyRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintAsyncNotifyRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintAsyncNotifyRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3871,7 +3871,7 @@ impl IPrintAsyncNotifyServerReferral { (::windows::core::Vtable::vtable(self).SetServerReferral)(::windows::core::Vtable::as_raw(self), prmtserverreferral.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPrintAsyncNotifyServerReferral, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintAsyncNotifyServerReferral, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintAsyncNotifyServerReferral { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3919,7 +3919,7 @@ impl IPrintBidiAsyncNotifyRegistration { (::windows::core::Vtable::vtable(self).AsyncGetNewChannel)(::windows::core::Vtable::as_raw(self), param0.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPrintBidiAsyncNotifyRegistration, ::windows::core::IUnknown, IPrintAsyncNotifyRegistration); +::windows::imp::interface_hierarchy!(IPrintBidiAsyncNotifyRegistration, ::windows::core::IUnknown, IPrintAsyncNotifyRegistration); impl ::core::cmp::PartialEq for IPrintBidiAsyncNotifyRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3959,7 +3959,7 @@ impl IPrintClassObjectFactory { (::windows::core::Vtable::vtable(self).GetPrintClassObject)(::windows::core::Vtable::as_raw(self), pszprintername.into().abi(), riid, ppnewobject).ok() } } -::windows::core::interface_hierarchy!(IPrintClassObjectFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintClassObjectFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintClassObjectFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4055,7 +4055,7 @@ impl IPrintCoreHelper { (::windows::core::Vtable::vtable(self).CreateInstanceOfMSXMLObject)(::windows::core::Vtable::as_raw(self), rclsid, punkouter.into().abi(), dwclscontext, riid, ppv).ok() } } -::windows::core::interface_hierarchy!(IPrintCoreHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintCoreHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintCoreHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4192,7 +4192,7 @@ impl IPrintCoreHelperPS { (::windows::core::Vtable::vtable(self).GetOptionAttribute)(::windows::core::Vtable::as_raw(self), pszfeaturekeyword.into().abi(), pszoptionkeyword.into().abi(), pszattribute.into().abi(), pdwdatatype, ppbdata, pcbsize).ok() } } -::windows::core::interface_hierarchy!(IPrintCoreHelperPS, ::windows::core::IUnknown, IPrintCoreHelper); +::windows::imp::interface_hierarchy!(IPrintCoreHelperPS, ::windows::core::IUnknown, IPrintCoreHelper); impl ::core::cmp::PartialEq for IPrintCoreHelperPS { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4301,7 +4301,7 @@ impl IPrintCoreHelperUni { (::windows::core::Vtable::vtable(self).CreateDefaultGDLSnapshot)(::windows::core::Vtable::as_raw(self), dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintCoreHelperUni, ::windows::core::IUnknown, IPrintCoreHelper); +::windows::imp::interface_hierarchy!(IPrintCoreHelperUni, ::windows::core::IUnknown, IPrintCoreHelper); impl ::core::cmp::PartialEq for IPrintCoreHelperUni { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4423,7 +4423,7 @@ impl IPrintCoreHelperUni2 { (::windows::core::Vtable::vtable(self).GetNamedCommand)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null())), cbsize, pszcommandname.into().abi(), ppcommandbytes, pcbcommandsize).ok() } } -::windows::core::interface_hierarchy!(IPrintCoreHelperUni2, ::windows::core::IUnknown, IPrintCoreHelper, IPrintCoreHelperUni); +::windows::imp::interface_hierarchy!(IPrintCoreHelperUni2, ::windows::core::IUnknown, IPrintCoreHelper, IPrintCoreHelperUni); impl ::core::cmp::PartialEq for IPrintCoreHelperUni2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4555,7 +4555,7 @@ impl IPrintCoreUI2 { (::windows::core::Vtable::vtable(self).QuerySimulationSupport)(::windows::core::Vtable::as_raw(self), hprinter.into(), dwlevel, ::core::mem::transmute(pcaps.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcaps.as_deref().map_or(0, |slice| slice.len() as _), pcbneeded).ok() } } -::windows::core::interface_hierarchy!(IPrintCoreUI2, ::windows::core::IUnknown, IPrintOemDriverUI); +::windows::imp::interface_hierarchy!(IPrintCoreUI2, ::windows::core::IUnknown, IPrintOemDriverUI); impl ::core::cmp::PartialEq for IPrintCoreUI2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4655,7 +4655,7 @@ impl IPrintJob { (::windows::core::Vtable::vtable(self).RequestCancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintJob, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintJob, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintJob { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4710,7 +4710,7 @@ impl IPrintJobCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintJobCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrintJobCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintJobCollection { fn eq(&self, other: &Self) -> bool { @@ -4761,7 +4761,7 @@ impl IPrintOemCommon { (::windows::core::Vtable::vtable(self).DevMode)(::windows::core::Vtable::as_raw(self), dwmode, poemdmparam).ok() } } -::windows::core::interface_hierarchy!(IPrintOemCommon, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintOemCommon, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintOemCommon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4818,7 +4818,7 @@ impl IPrintOemDriverUI { (::windows::core::Vtable::vtable(self).DrvUpdateUISetting)(::windows::core::Vtable::as_raw(self), pci, poptitem, dwpreviousselection, dwmode).ok() } } -::windows::core::interface_hierarchy!(IPrintOemDriverUI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintOemDriverUI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintOemDriverUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4954,7 +4954,7 @@ impl IPrintOemUI { (::windows::core::Vtable::vtable(self).UpdateExternalFonts)(::windows::core::Vtable::as_raw(self), hprinter.into(), hheap.into(), pwstrcartridges.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPrintOemUI, ::windows::core::IUnknown, IPrintOemCommon); +::windows::imp::interface_hierarchy!(IPrintOemUI, ::windows::core::IUnknown, IPrintOemCommon); impl ::core::cmp::PartialEq for IPrintOemUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5146,7 +5146,7 @@ impl IPrintOemUI2 { (::windows::core::Vtable::vtable(self).DocumentEvent)(::windows::core::Vtable::as_raw(self), hprinter.into(), hdc.into(), iesc, cbin, pvin, cbout, pvout, piresult).ok() } } -::windows::core::interface_hierarchy!(IPrintOemUI2, ::windows::core::IUnknown, IPrintOemCommon, IPrintOemUI); +::windows::imp::interface_hierarchy!(IPrintOemUI2, ::windows::core::IUnknown, IPrintOemCommon, IPrintOemUI); impl ::core::cmp::PartialEq for IPrintOemUI2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5212,7 +5212,7 @@ impl IPrintOemUIMXDC { (::windows::core::Vtable::vtable(self).AdjustDPI)(::windows::core::Vtable::as_raw(self), hprinter.into(), cbdevmode, pdevmode, cboemdm, poemdm, pdpi).ok() } } -::windows::core::interface_hierarchy!(IPrintOemUIMXDC, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintOemUIMXDC, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintOemUIMXDC { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5271,7 +5271,7 @@ impl IPrintPipelineFilter { (::windows::core::Vtable::vtable(self).StartOperation)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintPipelineFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintPipelineFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintPipelineFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5318,7 +5318,7 @@ impl IPrintPipelineManagerControl { (::windows::core::Vtable::vtable(self).FilterFinished)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintPipelineManagerControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintPipelineManagerControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintPipelineManagerControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5359,7 +5359,7 @@ impl IPrintPipelineProgressReport { (::windows::core::Vtable::vtable(self).ReportProgress)(::windows::core::Vtable::as_raw(self), update).ok() } } -::windows::core::interface_hierarchy!(IPrintPipelineProgressReport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintPipelineProgressReport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintPipelineProgressReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5418,7 +5418,7 @@ impl IPrintPipelinePropertyBag { (::windows::core::Vtable::vtable(self).DeleteProperty)(::windows::core::Vtable::as_raw(self), pszname.into().abi()) } } -::windows::core::interface_hierarchy!(IPrintPipelinePropertyBag, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintPipelinePropertyBag, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintPipelinePropertyBag { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5477,7 +5477,7 @@ impl IPrintPreviewDxgiPackageTarget { (::windows::core::Vtable::vtable(self).InvalidatePreview)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintPreviewDxgiPackageTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintPreviewDxgiPackageTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintPreviewDxgiPackageTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5524,7 +5524,7 @@ impl IPrintReadStream { (::windows::core::Vtable::vtable(self).ReadBytes)(::windows::core::Vtable::as_raw(self), pvbuffer, cbrequested, pcbread, pbendoffile).ok() } } -::windows::core::interface_hierarchy!(IPrintReadStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintReadStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintReadStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5566,7 +5566,7 @@ impl IPrintReadStreamFactory { (::windows::core::Vtable::vtable(self).GetStream)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintReadStreamFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintReadStreamFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintReadStreamFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5609,7 +5609,7 @@ impl IPrintSchemaAsyncOperation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaAsyncOperation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrintSchemaAsyncOperation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaAsyncOperation { fn eq(&self, other: &Self) -> bool { @@ -5662,7 +5662,7 @@ impl IPrintSchemaAsyncOperationEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaAsyncOperationEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrintSchemaAsyncOperationEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaAsyncOperationEvent { fn eq(&self, other: &Self) -> bool { @@ -5765,7 +5765,7 @@ impl IPrintSchemaCapabilities { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaCapabilities, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); +::windows::imp::interface_hierarchy!(IPrintSchemaCapabilities, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaCapabilities { fn eq(&self, other: &Self) -> bool { @@ -5892,7 +5892,7 @@ impl IPrintSchemaCapabilities2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaCapabilities2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaCapabilities); +::windows::imp::interface_hierarchy!(IPrintSchemaCapabilities2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaCapabilities); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaCapabilities2 { fn eq(&self, other: &Self) -> bool { @@ -5955,7 +5955,7 @@ impl IPrintSchemaDisplayableElement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaDisplayableElement, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); +::windows::imp::interface_hierarchy!(IPrintSchemaDisplayableElement, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaDisplayableElement { fn eq(&self, other: &Self) -> bool { @@ -6011,7 +6011,7 @@ impl IPrintSchemaElement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaElement, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrintSchemaElement, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaElement { fn eq(&self, other: &Self) -> bool { @@ -6103,7 +6103,7 @@ impl IPrintSchemaFeature { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaFeature, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); +::windows::imp::interface_hierarchy!(IPrintSchemaFeature, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaFeature { fn eq(&self, other: &Self) -> bool { @@ -6197,7 +6197,7 @@ impl IPrintSchemaNUpOption { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaNUpOption, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement, IPrintSchemaOption); +::windows::imp::interface_hierarchy!(IPrintSchemaNUpOption, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement, IPrintSchemaOption); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaNUpOption { fn eq(&self, other: &Self) -> bool { @@ -6271,7 +6271,7 @@ impl IPrintSchemaOption { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaOption, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); +::windows::imp::interface_hierarchy!(IPrintSchemaOption, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaOption { fn eq(&self, other: &Self) -> bool { @@ -6334,7 +6334,7 @@ impl IPrintSchemaOptionCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaOptionCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrintSchemaOptionCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaOptionCollection { fn eq(&self, other: &Self) -> bool { @@ -6419,7 +6419,7 @@ impl IPrintSchemaPageImageableSize { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaPageImageableSize, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); +::windows::imp::interface_hierarchy!(IPrintSchemaPageImageableSize, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaPageImageableSize { fn eq(&self, other: &Self) -> bool { @@ -6506,7 +6506,7 @@ impl IPrintSchemaPageMediaSizeOption { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaPageMediaSizeOption, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement, IPrintSchemaOption); +::windows::imp::interface_hierarchy!(IPrintSchemaPageMediaSizeOption, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement, IPrintSchemaOption); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaPageMediaSizeOption { fn eq(&self, other: &Self) -> bool { @@ -6589,7 +6589,7 @@ impl IPrintSchemaParameterDefinition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaParameterDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); +::windows::imp::interface_hierarchy!(IPrintSchemaParameterDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaParameterDefinition { fn eq(&self, other: &Self) -> bool { @@ -6663,7 +6663,7 @@ impl IPrintSchemaParameterInitializer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaParameterInitializer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); +::windows::imp::interface_hierarchy!(IPrintSchemaParameterInitializer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaParameterInitializer { fn eq(&self, other: &Self) -> bool { @@ -6769,7 +6769,7 @@ impl IPrintSchemaTicket { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaTicket, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); +::windows::imp::interface_hierarchy!(IPrintSchemaTicket, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaTicket { fn eq(&self, other: &Self) -> bool { @@ -6896,7 +6896,7 @@ impl IPrintSchemaTicket2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintSchemaTicket2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaTicket); +::windows::imp::interface_hierarchy!(IPrintSchemaTicket2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaTicket); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintSchemaTicket2 { fn eq(&self, other: &Self) -> bool { @@ -6992,7 +6992,7 @@ impl IPrintTicketProvider { (::windows::core::Vtable::vtable(self).ValidatePrintTicket)(::windows::core::Vtable::as_raw(self), pbaseticket.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPrintTicketProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintTicketProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintTicketProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7121,7 +7121,7 @@ impl IPrintTicketProvider2 { (::windows::core::Vtable::vtable(self).GetPrintDeviceResources)(::windows::core::Vtable::as_raw(self), pszlocalename.into().abi(), pprintticket.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintTicketProvider2, ::windows::core::IUnknown, IPrintTicketProvider); +::windows::imp::interface_hierarchy!(IPrintTicketProvider2, ::windows::core::IUnknown, IPrintTicketProvider); impl ::core::cmp::PartialEq for IPrintTicketProvider2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7174,7 +7174,7 @@ impl IPrintUnidiAsyncNotifyRegistration { (::windows::core::Vtable::vtable(self).AsyncGetNotification)(::windows::core::Vtable::as_raw(self), param0.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPrintUnidiAsyncNotifyRegistration, ::windows::core::IUnknown, IPrintAsyncNotifyRegistration); +::windows::imp::interface_hierarchy!(IPrintUnidiAsyncNotifyRegistration, ::windows::core::IUnknown, IPrintAsyncNotifyRegistration); impl ::core::cmp::PartialEq for IPrintUnidiAsyncNotifyRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7215,7 +7215,7 @@ impl IPrintWriteStream { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IPrintWriteStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintWriteStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintWriteStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7253,7 +7253,7 @@ impl IPrintWriteStreamFlush { (::windows::core::Vtable::vtable(self).FlushData)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintWriteStreamFlush, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintWriteStreamFlush, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintWriteStreamFlush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7290,7 +7290,7 @@ impl IPrinterBidiSetRequestCallback { (::windows::core::Vtable::vtable(self).Completed)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrresponse), hrstatus).ok() } } -::windows::core::interface_hierarchy!(IPrinterBidiSetRequestCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrinterBidiSetRequestCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrinterBidiSetRequestCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7327,7 +7327,7 @@ impl IPrinterExtensionAsyncOperation { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrinterExtensionAsyncOperation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrinterExtensionAsyncOperation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrinterExtensionAsyncOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7388,7 +7388,7 @@ impl IPrinterExtensionContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterExtensionContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterExtensionContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterExtensionContext { fn eq(&self, other: &Self) -> bool { @@ -7461,7 +7461,7 @@ impl IPrinterExtensionContextCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterExtensionContextCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterExtensionContextCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterExtensionContextCollection { fn eq(&self, other: &Self) -> bool { @@ -7526,7 +7526,7 @@ impl IPrinterExtensionEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterExtensionEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterExtensionEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterExtensionEvent { fn eq(&self, other: &Self) -> bool { @@ -7635,7 +7635,7 @@ impl IPrinterExtensionEventArgs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterExtensionEventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrinterExtensionContext); +::windows::imp::interface_hierarchy!(IPrinterExtensionEventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrinterExtensionContext); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterExtensionEventArgs { fn eq(&self, other: &Self) -> bool { @@ -7697,7 +7697,7 @@ impl IPrinterExtensionManager { (::windows::core::Vtable::vtable(self).DisableEvents)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrinterExtensionManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrinterExtensionManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrinterExtensionManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7741,7 +7741,7 @@ impl IPrinterExtensionRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterExtensionRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterExtensionRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterExtensionRequest { fn eq(&self, other: &Self) -> bool { @@ -7832,7 +7832,7 @@ impl IPrinterPropertyBag { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterPropertyBag, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterPropertyBag, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterPropertyBag { fn eq(&self, other: &Self) -> bool { @@ -7916,7 +7916,7 @@ impl IPrinterQueue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterQueue { fn eq(&self, other: &Self) -> bool { @@ -8001,7 +8001,7 @@ impl IPrinterQueue2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterQueue2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrinterQueue); +::windows::imp::interface_hierarchy!(IPrinterQueue2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrinterQueue); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterQueue2 { fn eq(&self, other: &Self) -> bool { @@ -8052,7 +8052,7 @@ impl IPrinterQueueEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterQueueEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterQueueEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterQueueEvent { fn eq(&self, other: &Self) -> bool { @@ -8099,7 +8099,7 @@ impl IPrinterQueueView { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterQueueView, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterQueueView, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterQueueView { fn eq(&self, other: &Self) -> bool { @@ -8151,7 +8151,7 @@ impl IPrinterQueueViewEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterQueueViewEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterQueueViewEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterQueueViewEvent { fn eq(&self, other: &Self) -> bool { @@ -8216,7 +8216,7 @@ impl IPrinterScriptContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterScriptContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterScriptContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterScriptContext { fn eq(&self, other: &Self) -> bool { @@ -8325,7 +8325,7 @@ impl IPrinterScriptablePropertyBag { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterScriptablePropertyBag, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterScriptablePropertyBag, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterScriptablePropertyBag { fn eq(&self, other: &Self) -> bool { @@ -8454,7 +8454,7 @@ impl IPrinterScriptablePropertyBag2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterScriptablePropertyBag2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrinterScriptablePropertyBag); +::windows::imp::interface_hierarchy!(IPrinterScriptablePropertyBag2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrinterScriptablePropertyBag); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterScriptablePropertyBag2 { fn eq(&self, other: &Self) -> bool { @@ -8513,7 +8513,7 @@ impl IPrinterScriptableSequentialStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterScriptableSequentialStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrinterScriptableSequentialStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterScriptableSequentialStream { fn eq(&self, other: &Self) -> bool { @@ -8591,7 +8591,7 @@ impl IPrinterScriptableStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrinterScriptableStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrinterScriptableSequentialStream); +::windows::imp::interface_hierarchy!(IPrinterScriptableStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IPrinterScriptableSequentialStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrinterScriptableStream { fn eq(&self, other: &Self) -> bool { @@ -8647,7 +8647,7 @@ impl IXpsDocument { (::windows::core::Vtable::vtable(self).SetThumbnail)(::windows::core::Vtable::as_raw(self), pthumbnail.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsDocument, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsDocument, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsDocument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8721,7 +8721,7 @@ impl IXpsDocumentConsumer { (::windows::core::Vtable::vtable(self).GetNewEmptyPart)(::windows::core::Vtable::as_raw(self), uri.into().abi(), riid, ppnewobject, ::core::mem::transmute(ppwritestream)).ok() } } -::windows::core::interface_hierarchy!(IXpsDocumentConsumer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsDocumentConsumer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsDocumentConsumer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8765,7 +8765,7 @@ impl IXpsDocumentProvider { (::windows::core::Vtable::vtable(self).GetXpsPart)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsDocumentProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsDocumentProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsDocumentProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8813,7 +8813,7 @@ impl IXpsPartIterator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IXpsPartIterator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsPartIterator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsPartIterator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8862,7 +8862,7 @@ impl IXpsRasterizationFactory { (::windows::core::Vtable::vtable(self).CreateRasterizer)(::windows::core::Vtable::as_raw(self), xpspage.into().abi(), dpi, nontextrenderingmode, textrenderingmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsRasterizationFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsRasterizationFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsRasterizationFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8908,7 +8908,7 @@ impl IXpsRasterizationFactory1 { (::windows::core::Vtable::vtable(self).CreateRasterizer)(::windows::core::Vtable::as_raw(self), xpspage.into().abi(), dpi, nontextrenderingmode, textrenderingmode, pixelformat, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsRasterizationFactory1, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsRasterizationFactory1, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsRasterizationFactory1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8954,7 +8954,7 @@ impl IXpsRasterizationFactory2 { (::windows::core::Vtable::vtable(self).CreateRasterizer)(::windows::core::Vtable::as_raw(self), xpspage.into().abi(), dpix, dpiy, nontextrenderingmode, textrenderingmode, pixelformat, backgroundcolor, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsRasterizationFactory2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsRasterizationFactory2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsRasterizationFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9003,7 +9003,7 @@ impl IXpsRasterizer { (::windows::core::Vtable::vtable(self).SetMinimalLineWidth)(::windows::core::Vtable::as_raw(self), width).ok() } } -::windows::core::interface_hierarchy!(IXpsRasterizer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsRasterizer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsRasterizer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9044,7 +9044,7 @@ impl IXpsRasterizerNotificationCallback { (::windows::core::Vtable::vtable(self).Continue)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IXpsRasterizerNotificationCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsRasterizerNotificationCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsRasterizerNotificationCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs b/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs index 3d4e9747cc..ad7278574f 100644 --- a/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn ApplyLocalManagementSyncML(syncmlrequest: P0, syncmlresult: :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mdmlocalmanagement.dll""system" fn ApplyLocalManagementSyncML ( syncmlrequest : :: windows::core::PCWSTR , syncmlresult : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmlocalmanagement.dll""system" fn ApplyLocalManagementSyncML ( syncmlrequest : :: windows::core::PCWSTR , syncmlresult : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); ApplyLocalManagementSyncML(syncmlrequest.into().abi(), ::core::mem::transmute(syncmlresult.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] @@ -13,7 +13,7 @@ pub unsafe fn DiscoverManagementService(pszupn: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn DiscoverManagementService ( pszupn : :: windows::core::PCWSTR , ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn DiscoverManagementService ( pszupn : :: windows::core::PCWSTR , ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut MANAGEMENT_SERVICE_INFO>(); DiscoverManagementService(pszupn.into().abi(), &mut result__).from_abi(result__) } @@ -24,7 +24,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn DiscoverManagementServiceEx ( pszupn : :: windows::core::PCWSTR , pszdiscoveryservicecandidate : :: windows::core::PCWSTR , ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn DiscoverManagementServiceEx ( pszupn : :: windows::core::PCWSTR , pszdiscoveryservicecandidate : :: windows::core::PCWSTR , ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut MANAGEMENT_SERVICE_INFO>(); DiscoverManagementServiceEx(pszupn.into().abi(), pszdiscoveryservicecandidate.into().abi(), &mut result__).from_abi(result__) } @@ -34,33 +34,33 @@ pub unsafe fn GetDeviceManagementConfigInfo(providerid: P0, configstringbuff where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn GetDeviceManagementConfigInfo ( providerid : :: windows::core::PCWSTR , configstringbufferlength : *mut u32 , configstring : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn GetDeviceManagementConfigInfo ( providerid : :: windows::core::PCWSTR , configstringbufferlength : *mut u32 , configstring : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); GetDeviceManagementConfigInfo(providerid.into().abi(), configstringbufferlength, ::core::mem::transmute(configstring)).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] #[inline] pub unsafe fn GetDeviceRegistrationInfo(deviceinformationclass: REGISTRATION_INFORMATION_CLASS, ppdeviceregistrationinfo: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mdmregistration.dll""system" fn GetDeviceRegistrationInfo ( deviceinformationclass : REGISTRATION_INFORMATION_CLASS , ppdeviceregistrationinfo : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn GetDeviceRegistrationInfo ( deviceinformationclass : REGISTRATION_INFORMATION_CLASS , ppdeviceregistrationinfo : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); GetDeviceRegistrationInfo(deviceinformationclass, ppdeviceregistrationinfo).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] #[inline] pub unsafe fn GetManagementAppHyperlink(pszhyperlink: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mdmregistration.dll""system" fn GetManagementAppHyperlink ( cchhyperlink : u32 , pszhyperlink : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn GetManagementAppHyperlink ( cchhyperlink : u32 , pszhyperlink : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); GetManagementAppHyperlink(pszhyperlink.len() as _, ::core::mem::transmute(pszhyperlink.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsDeviceRegisteredWithManagement(pfisdeviceregisteredwithmanagement: *mut super::super::Foundation::BOOL, pszupn: ::core::option::Option<&mut [u16]>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mdmregistration.dll""system" fn IsDeviceRegisteredWithManagement ( pfisdeviceregisteredwithmanagement : *mut super::super::Foundation:: BOOL , cchupn : u32 , pszupn : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn IsDeviceRegisteredWithManagement ( pfisdeviceregisteredwithmanagement : *mut super::super::Foundation:: BOOL , cchupn : u32 , pszupn : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); IsDeviceRegisteredWithManagement(pfisdeviceregisteredwithmanagement, pszupn.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pszupn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsManagementRegistrationAllowed() -> ::windows::core::Result { - ::windows::core::link ! ( "mdmregistration.dll""system" fn IsManagementRegistrationAllowed ( pfismanagementregistrationallowed : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn IsManagementRegistrationAllowed ( pfismanagementregistrationallowed : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IsManagementRegistrationAllowed(&mut result__).from_abi(result__) } @@ -68,7 +68,7 @@ pub unsafe fn IsManagementRegistrationAllowed() -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "mdmregistration.dll""system" fn IsMdmUxWithoutAadAllowed ( isenrollmentallowed : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn IsMdmUxWithoutAadAllowed ( isenrollmentallowed : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IsMdmUxWithoutAadAllowed(&mut result__).from_abi(result__) } @@ -76,7 +76,7 @@ pub unsafe fn IsMdmUxWithoutAadAllowed() -> ::windows::core::Result) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mdmlocalmanagement.dll""system" fn RegisterDeviceWithLocalManagement ( alreadyregistered : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmlocalmanagement.dll""system" fn RegisterDeviceWithLocalManagement ( alreadyregistered : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); RegisterDeviceWithLocalManagement(::core::mem::transmute(alreadyregistered.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] @@ -87,7 +87,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn RegisterDeviceWithManagement ( pszupn : :: windows::core::PCWSTR , ppszmdmserviceuri : :: windows::core::PCWSTR , ppzsaccesstoken : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn RegisterDeviceWithManagement ( pszupn : :: windows::core::PCWSTR , ppszmdmserviceuri : :: windows::core::PCWSTR , ppzsaccesstoken : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); RegisterDeviceWithManagement(pszupn.into().abi(), ppszmdmserviceuri.into().abi(), ppzsaccesstoken.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] @@ -97,13 +97,13 @@ pub unsafe fn RegisterDeviceWithManagementUsingAADCredentials(usertoken: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn RegisterDeviceWithManagementUsingAADCredentials ( usertoken : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn RegisterDeviceWithManagementUsingAADCredentials ( usertoken : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); RegisterDeviceWithManagementUsingAADCredentials(usertoken.into()).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] #[inline] pub unsafe fn RegisterDeviceWithManagementUsingAADDeviceCredentials() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mdmregistration.dll""system" fn RegisterDeviceWithManagementUsingAADDeviceCredentials ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn RegisterDeviceWithManagementUsingAADDeviceCredentials ( ) -> :: windows::core::HRESULT ); RegisterDeviceWithManagementUsingAADDeviceCredentials().ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] @@ -112,7 +112,7 @@ pub unsafe fn RegisterDeviceWithManagementUsingAADDeviceCredentials2(mdmappl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn RegisterDeviceWithManagementUsingAADDeviceCredentials2 ( mdmapplicationid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn RegisterDeviceWithManagementUsingAADDeviceCredentials2 ( mdmapplicationid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); RegisterDeviceWithManagementUsingAADDeviceCredentials2(mdmapplicationid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] @@ -122,7 +122,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn SetDeviceManagementConfigInfo ( providerid : :: windows::core::PCWSTR , configstring : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn SetDeviceManagementConfigInfo ( providerid : :: windows::core::PCWSTR , configstring : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SetDeviceManagementConfigInfo(providerid.into().abi(), configstring.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"] @@ -132,13 +132,13 @@ pub unsafe fn SetManagedExternally(ismanagedexternally: P0) -> ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn SetManagedExternally ( ismanagedexternally : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn SetManagedExternally ( ismanagedexternally : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); SetManagedExternally(ismanagedexternally.into()).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] #[inline] pub unsafe fn UnregisterDeviceWithLocalManagement() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mdmlocalmanagement.dll""system" fn UnregisterDeviceWithLocalManagement ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmlocalmanagement.dll""system" fn UnregisterDeviceWithLocalManagement ( ) -> :: windows::core::HRESULT ); UnregisterDeviceWithLocalManagement().ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] @@ -147,7 +147,7 @@ pub unsafe fn UnregisterDeviceWithManagement(enrollmentid: P0) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mdmregistration.dll""system" fn UnregisterDeviceWithManagement ( enrollmentid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mdmregistration.dll""system" fn UnregisterDeviceWithManagement ( enrollmentid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); UnregisterDeviceWithManagement(enrollmentid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs index 02e9e5c877..b575222281 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs @@ -2,7 +2,7 @@ #[repr(transparent)] pub struct IApoAcousticEchoCancellation(::windows::core::IUnknown); impl IApoAcousticEchoCancellation {} -::windows::core::interface_hierarchy!(IApoAcousticEchoCancellation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApoAcousticEchoCancellation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApoAcousticEchoCancellation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -48,7 +48,7 @@ impl IApoAuxiliaryInputConfiguration { (::windows::core::Vtable::vtable(self).IsInputFormatSupported)(::windows::core::Vtable::as_raw(self), prequestedinputformat.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IApoAuxiliaryInputConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApoAuxiliaryInputConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApoAuxiliaryInputConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -87,7 +87,7 @@ impl IApoAuxiliaryInputRT { (::windows::core::Vtable::vtable(self).AcceptInput)(::windows::core::Vtable::as_raw(self), dwinputid, pinputconnection) } } -::windows::core::interface_hierarchy!(IApoAuxiliaryInputRT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApoAuxiliaryInputRT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApoAuxiliaryInputRT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -127,7 +127,7 @@ impl IAudioDeviceModulesClient { (::windows::core::Vtable::vtable(self).SetAudioDeviceModulesManager)(::windows::core::Vtable::as_raw(self), paudiodevicemodulesmanager.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAudioDeviceModulesClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioDeviceModulesClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioDeviceModulesClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -180,7 +180,7 @@ impl IAudioMediaType { (::windows::core::Vtable::vtable(self).GetUncompressedAudioFormat)(::windows::core::Vtable::as_raw(self), puncompressedaudioformat).ok() } } -::windows::core::interface_hierarchy!(IAudioMediaType, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioMediaType, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioMediaType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -254,7 +254,7 @@ impl IAudioProcessingObject { (::windows::core::Vtable::vtable(self).GetInputChannelCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioProcessingObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioProcessingObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioProcessingObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -300,7 +300,7 @@ impl IAudioProcessingObjectConfiguration { (::windows::core::Vtable::vtable(self).UnlockForProcess)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAudioProcessingObjectConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioProcessingObjectConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioProcessingObjectConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -341,7 +341,7 @@ impl IAudioProcessingObjectLoggingService { (::windows::core::Vtable::vtable(self).ApoLog)(::windows::core::Vtable::as_raw(self), level, format.into().abi()) } } -::windows::core::interface_hierarchy!(IAudioProcessingObjectLoggingService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioProcessingObjectLoggingService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioProcessingObjectLoggingService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -383,7 +383,7 @@ impl IAudioProcessingObjectNotifications { (::windows::core::Vtable::vtable(self).HandleNotification)(::windows::core::Vtable::as_raw(self), aponotification) } } -::windows::core::interface_hierarchy!(IAudioProcessingObjectNotifications, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioProcessingObjectNotifications, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioProcessingObjectNotifications { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -430,7 +430,7 @@ impl IAudioProcessingObjectRT { (::windows::core::Vtable::vtable(self).CalcOutputFrames)(::windows::core::Vtable::as_raw(self), u32inputframecount) } } -::windows::core::interface_hierarchy!(IAudioProcessingObjectRT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioProcessingObjectRT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioProcessingObjectRT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -470,7 +470,7 @@ impl IAudioProcessingObjectRTQueueService { (::windows::core::Vtable::vtable(self).GetRealTimeWorkQueue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioProcessingObjectRTQueueService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioProcessingObjectRTQueueService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioProcessingObjectRTQueueService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -512,7 +512,7 @@ impl IAudioProcessingObjectVBR { (::windows::core::Vtable::vtable(self).CalcMaxOutputFrames)(::windows::core::Vtable::as_raw(self), u32maxinputframecount, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioProcessingObjectVBR, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioProcessingObjectVBR, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioProcessingObjectVBR { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -546,7 +546,7 @@ pub struct IAudioProcessingObjectVBR_Vtbl { #[repr(transparent)] pub struct IAudioSystemEffects(::windows::core::IUnknown); impl IAudioSystemEffects {} -::windows::core::interface_hierarchy!(IAudioSystemEffects, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSystemEffects, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSystemEffects { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -587,7 +587,7 @@ impl IAudioSystemEffects2 { (::windows::core::Vtable::vtable(self).GetEffectsList)(::windows::core::Vtable::as_raw(self), ppeffectsids, pceffects, event.into()).ok() } } -::windows::core::interface_hierarchy!(IAudioSystemEffects2, ::windows::core::IUnknown, IAudioSystemEffects); +::windows::imp::interface_hierarchy!(IAudioSystemEffects2, ::windows::core::IUnknown, IAudioSystemEffects); impl ::core::cmp::PartialEq for IAudioSystemEffects2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -643,7 +643,7 @@ impl IAudioSystemEffects3 { (::windows::core::Vtable::vtable(self).SetAudioSystemEffectState)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(effectid), state).ok() } } -::windows::core::interface_hierarchy!(IAudioSystemEffects3, ::windows::core::IUnknown, IAudioSystemEffects, IAudioSystemEffects2); +::windows::imp::interface_hierarchy!(IAudioSystemEffects3, ::windows::core::IUnknown, IAudioSystemEffects, IAudioSystemEffects2); impl ::core::cmp::PartialEq for IAudioSystemEffects3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -693,7 +693,7 @@ impl IAudioSystemEffectsCustomFormats { (::windows::core::Vtable::vtable(self).GetFormatRepresentation)(::windows::core::Vtable::as_raw(self), nformat, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioSystemEffectsCustomFormats, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSystemEffectsCustomFormats, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSystemEffectsCustomFormats { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs index 3957746ce4..fa8e35314e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs @@ -49,7 +49,7 @@ impl IDirectMusic { (::windows::core::Vtable::vtable(self).SetDirectSound)(::windows::core::Vtable::as_raw(self), pdirectsound.into().abi(), hwnd.into()).ok() } } -::windows::core::interface_hierarchy!(IDirectMusic, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusic, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusic { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -152,7 +152,7 @@ impl IDirectMusic8 { (::windows::core::Vtable::vtable(self).SetExternalMasterClock)(::windows::core::Vtable::as_raw(self), pclock.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectMusic8, ::windows::core::IUnknown, IDirectMusic); +::windows::imp::interface_hierarchy!(IDirectMusic8, ::windows::core::IUnknown, IDirectMusic); impl ::core::cmp::PartialEq for IDirectMusic8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -225,7 +225,7 @@ impl IDirectMusicBuffer { (::windows::core::Vtable::vtable(self).SetUsedBytes)(::windows::core::Vtable::as_raw(self), cb).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -281,7 +281,7 @@ impl IDirectMusicCollection { (::windows::core::Vtable::vtable(self).EnumInstrument)(::windows::core::Vtable::as_raw(self), dwindex, pdwpatch, pwszname.into().abi(), dwnamelen).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -319,7 +319,7 @@ impl IDirectMusicDownload { (::windows::core::Vtable::vtable(self).GetBuffer)(::windows::core::Vtable::as_raw(self), ppvbuffer, pdwsize).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicDownload, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicDownload, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicDownload { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -352,7 +352,7 @@ pub struct IDirectMusicDownload_Vtbl { #[repr(transparent)] pub struct IDirectMusicDownloadedInstrument(::windows::core::IUnknown); impl IDirectMusicDownloadedInstrument {} -::windows::core::interface_hierarchy!(IDirectMusicDownloadedInstrument, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicDownloadedInstrument, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicDownloadedInstrument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -391,7 +391,7 @@ impl IDirectMusicInstrument { (::windows::core::Vtable::vtable(self).SetPatch)(::windows::core::Vtable::as_raw(self), dwpatch).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicInstrument, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicInstrument, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicInstrument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -508,7 +508,7 @@ impl IDirectMusicPort { (::windows::core::Vtable::vtable(self).GetFormat)(::windows::core::Vtable::as_raw(self), pwaveformatex, pdwwaveformatexsize, pdwbuffersize).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicPort, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicPort, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicPort { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -596,7 +596,7 @@ impl IDirectMusicPortDownload { (::windows::core::Vtable::vtable(self).Unload)(::windows::core::Vtable::as_raw(self), pidmdownload.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicPortDownload, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicPortDownload, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicPortDownload { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -708,7 +708,7 @@ impl IDirectMusicSynth { (::windows::core::Vtable::vtable(self).GetAppend)(::windows::core::Vtable::as_raw(self), pdwappend).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicSynth, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicSynth, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicSynth { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -860,7 +860,7 @@ impl IDirectMusicSynth8 { (::windows::core::Vtable::vtable(self).AssignChannelToBuses)(::windows::core::Vtable::as_raw(self), dwchannelgroup, dwchannel, pdwbuses, cbuses).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicSynth8, ::windows::core::IUnknown, IDirectMusicSynth); +::windows::imp::interface_hierarchy!(IDirectMusicSynth8, ::windows::core::IUnknown, IDirectMusicSynth); impl ::core::cmp::PartialEq for IDirectMusicSynth8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -943,7 +943,7 @@ impl IDirectMusicSynthSink { (::windows::core::Vtable::vtable(self).GetDesiredBufferSize)(::windows::core::Vtable::as_raw(self), pdwbuffersizeinsamples).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicSynthSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicSynthSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicSynthSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -996,7 +996,7 @@ impl IDirectMusicThru { (::windows::core::Vtable::vtable(self).ThruChannel)(::windows::core::Vtable::as_raw(self), dwsourcechannelgroup, dwsourcechannel, dwdestinationchannelgroup, dwdestinationchannel, pdestinationport.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectMusicThru, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectMusicThru, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectMusicThru { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs index 54c764057f..337c29f231 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn DirectSoundCaptureCreate(pcguiddevice: ::core::option::Option< where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundCaptureCreate ( pcguiddevice : *const :: windows::core::GUID , ppdsc : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundCaptureCreate ( pcguiddevice : *const :: windows::core::GUID , ppdsc : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundCaptureCreate(::core::mem::transmute(pcguiddevice.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdsc), punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] @@ -13,21 +13,21 @@ pub unsafe fn DirectSoundCaptureCreate8(pcguiddevice: ::core::option::Option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundCaptureCreate8 ( pcguiddevice : *const :: windows::core::GUID , ppdsc8 : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundCaptureCreate8 ( pcguiddevice : *const :: windows::core::GUID , ppdsc8 : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundCaptureCreate8(::core::mem::transmute(pcguiddevice.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdsc8), punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DirectSoundCaptureEnumerateA(pdsenumcallback: LPDSENUMCALLBACKA, pcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundCaptureEnumerateA ( pdsenumcallback : LPDSENUMCALLBACKA , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundCaptureEnumerateA ( pdsenumcallback : LPDSENUMCALLBACKA , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundCaptureEnumerateA(pdsenumcallback, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DirectSoundCaptureEnumerateW(pdsenumcallback: LPDSENUMCALLBACKW, pcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundCaptureEnumerateW ( pdsenumcallback : LPDSENUMCALLBACKW , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundCaptureEnumerateW ( pdsenumcallback : LPDSENUMCALLBACKW , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundCaptureEnumerateW(pdsenumcallback, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn DirectSoundCreate(pcguiddevice: ::core::option::Option<*const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundCreate ( pcguiddevice : *const :: windows::core::GUID , ppds : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundCreate ( pcguiddevice : *const :: windows::core::GUID , ppds : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundCreate(::core::mem::transmute(pcguiddevice.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppds), punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] @@ -45,21 +45,21 @@ pub unsafe fn DirectSoundCreate8(pcguiddevice: ::core::option::Option<*const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundCreate8 ( pcguiddevice : *const :: windows::core::GUID , ppds8 : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundCreate8 ( pcguiddevice : *const :: windows::core::GUID , ppds8 : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundCreate8(::core::mem::transmute(pcguiddevice.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppds8), punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DirectSoundEnumerateA(pdsenumcallback: LPDSENUMCALLBACKA, pcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundEnumerateA ( pdsenumcallback : LPDSENUMCALLBACKA , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundEnumerateA ( pdsenumcallback : LPDSENUMCALLBACKA , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundEnumerateA(pdsenumcallback, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DirectSoundEnumerateW(pdsenumcallback: LPDSENUMCALLBACKW, pcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundEnumerateW ( pdsenumcallback : LPDSENUMCALLBACKW , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundEnumerateW ( pdsenumcallback : LPDSENUMCALLBACKW , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundEnumerateW(pdsenumcallback, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"] @@ -70,13 +70,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "dsound.dll""system" fn DirectSoundFullDuplexCreate ( pcguidcapturedevice : *const :: windows::core::GUID , pcguidrenderdevice : *const :: windows::core::GUID , pcdscbufferdesc : *const DSCBUFFERDESC , pcdsbufferdesc : *const DSBUFFERDESC , hwnd : super::super::super::Foundation:: HWND , dwlevel : u32 , ppdsfd : *mut * mut::core::ffi::c_void , ppdscbuffer8 : *mut * mut::core::ffi::c_void , ppdsbuffer8 : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn DirectSoundFullDuplexCreate ( pcguidcapturedevice : *const :: windows::core::GUID , pcguidrenderdevice : *const :: windows::core::GUID , pcdscbufferdesc : *const DSCBUFFERDESC , pcdsbufferdesc : *const DSBUFFERDESC , hwnd : super::super::super::Foundation:: HWND , dwlevel : u32 , ppdsfd : *mut * mut::core::ffi::c_void , ppdscbuffer8 : *mut * mut::core::ffi::c_void , ppdsbuffer8 : *mut * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DirectSoundFullDuplexCreate(::core::mem::transmute(pcguidcapturedevice.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcguidrenderdevice.unwrap_or(::std::ptr::null())), pcdscbufferdesc, pcdsbufferdesc, hwnd.into(), dwlevel, ::core::mem::transmute(ppdsfd), ::core::mem::transmute(ppdscbuffer8), ::core::mem::transmute(ppdsbuffer8), punkouter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[inline] pub unsafe fn GetDeviceID(pguidsrc: ::core::option::Option<*const ::windows::core::GUID>) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "dsound.dll""system" fn GetDeviceID ( pguidsrc : *const :: windows::core::GUID , pguiddest : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsound.dll""system" fn GetDeviceID ( pguidsrc : *const :: windows::core::GUID , pguiddest : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); GetDeviceID(::core::mem::transmute(pguidsrc.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -122,7 +122,7 @@ impl IDirectSound { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pcguiddevice.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IDirectSound, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSound, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSound { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -237,7 +237,7 @@ impl IDirectSound3DBuffer { (::windows::core::Vtable::vtable(self).SetVelocity)(::windows::core::Vtable::as_raw(self), x, y, z, dwapply).ok() } } -::windows::core::interface_hierarchy!(IDirectSound3DBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSound3DBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSound3DBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -363,7 +363,7 @@ impl IDirectSound3DListener { (::windows::core::Vtable::vtable(self).CommitDeferredSettings)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectSound3DListener, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSound3DListener, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSound3DListener { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -467,7 +467,7 @@ impl IDirectSound8 { (::windows::core::Vtable::vtable(self).VerifyCertification)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectSound8, ::windows::core::IUnknown, IDirectSound); +::windows::imp::interface_hierarchy!(IDirectSound8, ::windows::core::IUnknown, IDirectSound); impl ::core::cmp::PartialEq for IDirectSound8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -562,7 +562,7 @@ impl IDirectSoundBuffer { (::windows::core::Vtable::vtable(self).Restore)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -683,7 +683,7 @@ impl IDirectSoundBuffer8 { (::windows::core::Vtable::vtable(self).GetObjectInPath)(::windows::core::Vtable::as_raw(self), rguidobject, dwindex, rguidinterface, ppobject).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundBuffer8, ::windows::core::IUnknown, IDirectSoundBuffer); +::windows::imp::interface_hierarchy!(IDirectSoundBuffer8, ::windows::core::IUnknown, IDirectSoundBuffer); impl ::core::cmp::PartialEq for IDirectSoundBuffer8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -732,7 +732,7 @@ impl IDirectSoundCapture { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pcguiddevice.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundCapture, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundCapture, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundCapture { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -800,7 +800,7 @@ impl IDirectSoundCaptureBuffer { (::windows::core::Vtable::vtable(self).Unlock)(::windows::core::Vtable::as_raw(self), pvaudioptr1, dwaudiobytes1, ::core::mem::transmute(pvaudioptr2.unwrap_or(::std::ptr::null())), dwaudiobytes2).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundCaptureBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundCaptureBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundCaptureBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -880,7 +880,7 @@ impl IDirectSoundCaptureBuffer8 { (::windows::core::Vtable::vtable(self).GetFXStatus)(::windows::core::Vtable::as_raw(self), pdwfxstatus.len() as _, ::core::mem::transmute(pdwfxstatus.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundCaptureBuffer8, ::windows::core::IUnknown, IDirectSoundCaptureBuffer); +::windows::imp::interface_hierarchy!(IDirectSoundCaptureBuffer8, ::windows::core::IUnknown, IDirectSoundCaptureBuffer); impl ::core::cmp::PartialEq for IDirectSoundCaptureBuffer8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -933,7 +933,7 @@ impl IDirectSoundCaptureFXAec { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundCaptureFXAec, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundCaptureFXAec, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundCaptureFXAec { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -990,7 +990,7 @@ impl IDirectSoundCaptureFXNoiseSuppress { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundCaptureFXNoiseSuppress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundCaptureFXNoiseSuppress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundCaptureFXNoiseSuppress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1038,7 +1038,7 @@ impl IDirectSoundFXChorus { (::windows::core::Vtable::vtable(self).GetAllParameters)(::windows::core::Vtable::as_raw(self), pdsfxchorus).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundFXChorus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXChorus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXChorus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1079,7 +1079,7 @@ impl IDirectSoundFXCompressor { (::windows::core::Vtable::vtable(self).GetAllParameters)(::windows::core::Vtable::as_raw(self), pdsfxcompressor).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundFXCompressor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXCompressor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXCompressor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1120,7 +1120,7 @@ impl IDirectSoundFXDistortion { (::windows::core::Vtable::vtable(self).GetAllParameters)(::windows::core::Vtable::as_raw(self), pdsfxdistortion).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundFXDistortion, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXDistortion, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXDistortion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1161,7 +1161,7 @@ impl IDirectSoundFXEcho { (::windows::core::Vtable::vtable(self).GetAllParameters)(::windows::core::Vtable::as_raw(self), pdsfxecho).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundFXEcho, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXEcho, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXEcho { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1202,7 +1202,7 @@ impl IDirectSoundFXFlanger { (::windows::core::Vtable::vtable(self).GetAllParameters)(::windows::core::Vtable::as_raw(self), pdsfxflanger).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundFXFlanger, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXFlanger, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXFlanger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1244,7 +1244,7 @@ impl IDirectSoundFXGargle { (::windows::core::Vtable::vtable(self).GetAllParameters)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectSoundFXGargle, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXGargle, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXGargle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1299,7 +1299,7 @@ impl IDirectSoundFXI3DL2Reverb { (::windows::core::Vtable::vtable(self).GetQuality)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectSoundFXI3DL2Reverb, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXI3DL2Reverb, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXI3DL2Reverb { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1345,7 +1345,7 @@ impl IDirectSoundFXParamEq { (::windows::core::Vtable::vtable(self).GetAllParameters)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectSoundFXParamEq, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXParamEq, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXParamEq { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1387,7 +1387,7 @@ impl IDirectSoundFXWavesReverb { (::windows::core::Vtable::vtable(self).GetAllParameters)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectSoundFXWavesReverb, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFXWavesReverb, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFXWavesReverb { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1430,7 +1430,7 @@ impl IDirectSoundFullDuplex { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pcaptureguid, prenderguid, lpdscbufferdesc, lpdsbufferdesc, hwnd.into(), dwlevel, ::core::mem::transmute(lplpdirectsoundcapturebuffer8), ::core::mem::transmute(lplpdirectsoundbuffer8)).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundFullDuplex, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundFullDuplex, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundFullDuplex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1472,7 +1472,7 @@ impl IDirectSoundNotify { (::windows::core::Vtable::vtable(self).SetNotificationPositions)(::windows::core::Vtable::as_raw(self), pcpositionnotifies.len() as _, ::core::mem::transmute(pcpositionnotifies.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IDirectSoundNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectSoundNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectSoundNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs index 3f74ea201d..0e19e0c7fc 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs @@ -6,7 +6,7 @@ impl IAudioEndpointFormatControl { (::windows::core::Vtable::vtable(self).ResetToDefault)(::windows::core::Vtable::as_raw(self), resetflags).ok() } } -::windows::core::interface_hierarchy!(IAudioEndpointFormatControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointFormatControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointFormatControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -50,7 +50,7 @@ impl IAudioEndpointLastBufferControl { (::windows::core::Vtable::vtable(self).ReleaseOutputDataPointerForLastBuffer)(::windows::core::Vtable::as_raw(self), pconnectionproperty) } } -::windows::core::interface_hierarchy!(IAudioEndpointLastBufferControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointLastBufferControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointLastBufferControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -99,7 +99,7 @@ impl IAudioEndpointOffloadStreamMeter { (::windows::core::Vtable::vtable(self).GetMeteringData)(::windows::core::Vtable::as_raw(self), u32channelcount, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioEndpointOffloadStreamMeter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointOffloadStreamMeter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointOffloadStreamMeter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -141,7 +141,7 @@ impl IAudioEndpointOffloadStreamMute { (::windows::core::Vtable::vtable(self).GetMute)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioEndpointOffloadStreamMute, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointOffloadStreamMute, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointOffloadStreamMute { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -189,7 +189,7 @@ impl IAudioEndpointOffloadStreamVolume { (::windows::core::Vtable::vtable(self).GetChannelVolumes)(::windows::core::Vtable::as_raw(self), u32channelcount, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioEndpointOffloadStreamVolume, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointOffloadStreamVolume, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointOffloadStreamVolume { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -302,7 +302,7 @@ impl IAudioEndpointVolume { (::windows::core::Vtable::vtable(self).GetVolumeRange)(::windows::core::Vtable::as_raw(self), pflvolumemindb, pflvolumemaxdb, pflvolumeincrementdb).ok() } } -::windows::core::interface_hierarchy!(IAudioEndpointVolume, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointVolume, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointVolume { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -364,7 +364,7 @@ impl IAudioEndpointVolumeCallback { (::windows::core::Vtable::vtable(self).OnNotify)(::windows::core::Vtable::as_raw(self), pnotify).ok() } } -::windows::core::interface_hierarchy!(IAudioEndpointVolumeCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointVolumeCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointVolumeCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -478,7 +478,7 @@ impl IAudioEndpointVolumeEx { (::windows::core::Vtable::vtable(self).GetVolumeRangeChannel)(::windows::core::Vtable::as_raw(self), ichannel, pflvolumemindb, pflvolumemaxdb, pflvolumeincrementdb).ok() } } -::windows::core::interface_hierarchy!(IAudioEndpointVolumeEx, ::windows::core::IUnknown, IAudioEndpointVolume); +::windows::imp::interface_hierarchy!(IAudioEndpointVolumeEx, ::windows::core::IUnknown, IAudioEndpointVolume); impl ::core::cmp::PartialEq for IAudioEndpointVolumeEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -526,7 +526,7 @@ impl IAudioLfxControl { (::windows::core::Vtable::vtable(self).GetLocalEffectsState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioLfxControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioLfxControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioLfxControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -582,7 +582,7 @@ impl IAudioMeterInformation { (::windows::core::Vtable::vtable(self).QueryHardwareSupport)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioMeterInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioMeterInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioMeterInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -659,7 +659,7 @@ impl IHardwareAudioEngineBase { (::windows::core::Vtable::vtable(self).GetGfxState)(::windows::core::Vtable::as_raw(self), pdevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHardwareAudioEngineBase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHardwareAudioEngineBase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHardwareAudioEngineBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs index fd8b350e12..436281c708 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs @@ -1,34 +1,34 @@ #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[inline] pub unsafe fn CreateAudioReverb() -> ::windows::core::Result<::windows::core::IUnknown> { - ::windows::core::link ! ( "xaudio2_8.dll""system" fn CreateAudioReverb ( ppapo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xaudio2_8.dll""system" fn CreateAudioReverb ( ppapo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CreateAudioReverb(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[inline] pub unsafe fn CreateAudioVolumeMeter() -> ::windows::core::Result<::windows::core::IUnknown> { - ::windows::core::link ! ( "xaudio2_8.dll""system" fn CreateAudioVolumeMeter ( ppapo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xaudio2_8.dll""system" fn CreateAudioVolumeMeter ( ppapo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CreateAudioVolumeMeter(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[inline] pub unsafe fn CreateFX(clsid: *const ::windows::core::GUID, peffect: *mut ::core::option::Option<::windows::core::IUnknown>, pinitdat: ::core::option::Option<*const ::core::ffi::c_void>, initdatabytesize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "xaudio2_8.dll""cdecl" fn CreateFX ( clsid : *const :: windows::core::GUID , peffect : *mut * mut::core::ffi::c_void , pinitdat : *const ::core::ffi::c_void , initdatabytesize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xaudio2_8.dll""cdecl" fn CreateFX ( clsid : *const :: windows::core::GUID , peffect : *mut * mut::core::ffi::c_void , pinitdat : *const ::core::ffi::c_void , initdatabytesize : u32 ) -> :: windows::core::HRESULT ); CreateFX(clsid, ::core::mem::transmute(peffect), ::core::mem::transmute(pinitdat.unwrap_or(::std::ptr::null())), initdatabytesize).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[inline] pub unsafe fn CreateHrtfApo(init: *const HrtfApoInit) -> ::windows::core::Result { - ::windows::core::link ! ( "hrtfapo.dll""system" fn CreateHrtfApo ( init : *const HrtfApoInit , xapo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hrtfapo.dll""system" fn CreateHrtfApo ( init : *const HrtfApoInit , xapo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateHrtfApo(init, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[inline] pub unsafe fn XAudio2CreateWithVersionInfo(ppxaudio2: *mut ::core::option::Option, flags: u32, xaudio2processor: u32, ntddiversion: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "xaudio2_8.dll""system" fn XAudio2CreateWithVersionInfo ( ppxaudio2 : *mut * mut::core::ffi::c_void , flags : u32 , xaudio2processor : u32 , ntddiversion : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xaudio2_8.dll""system" fn XAudio2CreateWithVersionInfo ( ppxaudio2 : *mut * mut::core::ffi::c_void , flags : u32 , xaudio2processor : u32 , ntddiversion : u32 ) -> :: windows::core::HRESULT ); XAudio2CreateWithVersionInfo(::core::mem::transmute(ppxaudio2), flags, xaudio2processor, ntddiversion).ok() } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] @@ -72,7 +72,7 @@ impl IXAPO { (::windows::core::Vtable::vtable(self).CalcOutputFrames)(::windows::core::Vtable::as_raw(self), inputframecount) } } -::windows::core::interface_hierarchy!(IXAPO, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXAPO, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXAPO { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -130,7 +130,7 @@ impl IXAPOHrtfParameters { (::windows::core::Vtable::vtable(self).SetEnvironment)(::windows::core::Vtable::as_raw(self), environment).ok() } } -::windows::core::interface_hierarchy!(IXAPOHrtfParameters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXAPOHrtfParameters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXAPOHrtfParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -173,7 +173,7 @@ impl IXAPOParameters { (::windows::core::Vtable::vtable(self).GetParameters)(::windows::core::Vtable::as_raw(self), pparameters, parameterbytesize) } } -::windows::core::interface_hierarchy!(IXAPOParameters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXAPOParameters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXAPOParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -258,7 +258,7 @@ impl IXAudio2 { (::windows::core::Vtable::vtable(self).SetDebugConfiguration)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdebugconfiguration.unwrap_or(::std::ptr::null())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } } -::windows::core::interface_hierarchy!(IXAudio2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXAudio2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXAudio2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -359,7 +359,7 @@ impl IXAudio2Extension { (::windows::core::Vtable::vtable(self).GetProcessor)(::windows::core::Vtable::as_raw(self), processor) } } -::windows::core::interface_hierarchy!(IXAudio2Extension, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXAudio2Extension, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXAudio2Extension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -483,7 +483,7 @@ impl IXAudio2MasteringVoice { (::windows::core::Vtable::vtable(self).GetChannelMask)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXAudio2MasteringVoice, IXAudio2Voice); +::windows::imp::interface_hierarchy!(IXAudio2MasteringVoice, IXAudio2Voice); impl ::core::cmp::PartialEq for IXAudio2MasteringVoice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -631,7 +631,7 @@ impl IXAudio2SourceVoice { (::windows::core::Vtable::vtable(self).SetSourceSampleRate)(::windows::core::Vtable::as_raw(self), newsourcesamplerate).ok() } } -::windows::core::interface_hierarchy!(IXAudio2SourceVoice, IXAudio2Voice); +::windows::imp::interface_hierarchy!(IXAudio2SourceVoice, IXAudio2Voice); impl ::core::cmp::PartialEq for IXAudio2SourceVoice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -756,7 +756,7 @@ impl IXAudio2SubmixVoice { (::windows::core::Vtable::vtable(self).base__.DestroyVoice)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IXAudio2SubmixVoice, IXAudio2Voice); +::windows::imp::interface_hierarchy!(IXAudio2SubmixVoice, IXAudio2Voice); impl ::core::cmp::PartialEq for IXAudio2SubmixVoice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 1dd4a26fad..15b358469f 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -16,7 +16,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mmdevapi.dll""system" fn ActivateAudioInterfaceAsync ( deviceinterfacepath : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , activationparams : *const super::super::System::Com::StructuredStorage:: PROPVARIANT , completionhandler : * mut::core::ffi::c_void , activationoperation : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mmdevapi.dll""system" fn ActivateAudioInterfaceAsync ( deviceinterfacepath : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , activationparams : *const super::super::System::Com::StructuredStorage:: PROPVARIANT , completionhandler : * mut::core::ffi::c_void , activationoperation : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ActivateAudioInterfaceAsync(deviceinterfacepath.into().abi(), riid, ::core::mem::transmute(activationparams.unwrap_or(::std::ptr::null())), completionhandler.into().abi(), &mut result__).from_abi(result__) } @@ -26,20 +26,20 @@ pub unsafe fn CoRegisterMessageFilter(lpmessagefilter: P0, lplpmessagefilter where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterMessageFilter ( lpmessagefilter : * mut::core::ffi::c_void , lplpmessagefilter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterMessageFilter ( lpmessagefilter : * mut::core::ffi::c_void , lplpmessagefilter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoRegisterMessageFilter(lpmessagefilter.into().abi(), ::core::mem::transmute(lplpmessagefilter.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn CreateCaptureAudioStateMonitor() -> ::windows::core::Result { - ::windows::core::link ! ( "windows.media.mediacontrol.dll""system" fn CreateCaptureAudioStateMonitor ( audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.media.mediacontrol.dll""system" fn CreateCaptureAudioStateMonitor ( audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateCaptureAudioStateMonitor(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn CreateCaptureAudioStateMonitorForCategory(category: AUDIO_STREAM_CATEGORY) -> ::windows::core::Result { - ::windows::core::link ! ( "windows.media.mediacontrol.dll""system" fn CreateCaptureAudioStateMonitorForCategory ( category : AUDIO_STREAM_CATEGORY , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.media.mediacontrol.dll""system" fn CreateCaptureAudioStateMonitorForCategory ( category : AUDIO_STREAM_CATEGORY , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateCaptureAudioStateMonitorForCategory(category, &mut result__).from_abi(result__) } @@ -49,28 +49,28 @@ pub unsafe fn CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "windows.media.mediacontrol.dll""system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceId ( category : AUDIO_STREAM_CATEGORY , deviceid : :: windows::core::PCWSTR , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.media.mediacontrol.dll""system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceId ( category : AUDIO_STREAM_CATEGORY , deviceid : :: windows::core::PCWSTR , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category, deviceid.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category: AUDIO_STREAM_CATEGORY, role: ERole) -> ::windows::core::Result { - ::windows::core::link ! ( "windows.media.mediacontrol.dll""system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole ( category : AUDIO_STREAM_CATEGORY , role : ERole , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.media.mediacontrol.dll""system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole ( category : AUDIO_STREAM_CATEGORY , role : ERole , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category, role, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn CreateRenderAudioStateMonitor() -> ::windows::core::Result { - ::windows::core::link ! ( "windows.media.mediacontrol.dll""system" fn CreateRenderAudioStateMonitor ( audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.media.mediacontrol.dll""system" fn CreateRenderAudioStateMonitor ( audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateRenderAudioStateMonitor(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn CreateRenderAudioStateMonitorForCategory(category: AUDIO_STREAM_CATEGORY) -> ::windows::core::Result { - ::windows::core::link ! ( "windows.media.mediacontrol.dll""system" fn CreateRenderAudioStateMonitorForCategory ( category : AUDIO_STREAM_CATEGORY , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.media.mediacontrol.dll""system" fn CreateRenderAudioStateMonitorForCategory ( category : AUDIO_STREAM_CATEGORY , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateRenderAudioStateMonitorForCategory(category, &mut result__).from_abi(result__) } @@ -80,14 +80,14 @@ pub unsafe fn CreateRenderAudioStateMonitorForCategoryAndDeviceId(category: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "windows.media.mediacontrol.dll""system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceId ( category : AUDIO_STREAM_CATEGORY , deviceid : :: windows::core::PCWSTR , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.media.mediacontrol.dll""system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceId ( category : AUDIO_STREAM_CATEGORY , deviceid : :: windows::core::PCWSTR , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateRenderAudioStateMonitorForCategoryAndDeviceId(category, deviceid.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category: AUDIO_STREAM_CATEGORY, role: ERole) -> ::windows::core::Result { - ::windows::core::link ! ( "windows.media.mediacontrol.dll""system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole ( category : AUDIO_STREAM_CATEGORY , role : ERole , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.media.mediacontrol.dll""system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole ( category : AUDIO_STREAM_CATEGORY , role : ERole , audiostatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category, role, &mut result__).from_abi(result__) } @@ -99,7 +99,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn PlaySoundA ( pszsound : :: windows::core::PCSTR , hmod : super::super::Foundation:: HINSTANCE , fdwsound : SND_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn PlaySoundA ( pszsound : :: windows::core::PCSTR , hmod : super::super::Foundation:: HINSTANCE , fdwsound : SND_FLAGS ) -> super::super::Foundation:: BOOL ); PlaySoundA(pszsound.into().abi(), hmod.into(), fdwsound) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -110,7 +110,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn PlaySoundW ( pszsound : :: windows::core::PCWSTR , hmod : super::super::Foundation:: HINSTANCE , fdwsound : SND_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn PlaySoundW ( pszsound : :: windows::core::PCWSTR , hmod : super::super::Foundation:: HINSTANCE , fdwsound : SND_FLAGS ) -> super::super::Foundation:: BOOL ); PlaySoundW(pszsound.into().abi(), hmod.into(), fdwsound) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -121,7 +121,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverAddA ( phadid : *mut isize , hinstmodule : super::super::Foundation:: HINSTANCE , lparam : super::super::Foundation:: LPARAM , dwpriority : u32 , fdwadd : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverAddA ( phadid : *mut isize , hinstmodule : super::super::Foundation:: HINSTANCE , lparam : super::super::Foundation:: LPARAM , dwpriority : u32 , fdwadd : u32 ) -> u32 ); acmDriverAddA(phadid, hinstmodule.into(), lparam.into(), dwpriority, fdwadd) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -132,7 +132,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverAddW ( phadid : *mut isize , hinstmodule : super::super::Foundation:: HINSTANCE , lparam : super::super::Foundation:: LPARAM , dwpriority : u32 , fdwadd : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverAddW ( phadid : *mut isize , hinstmodule : super::super::Foundation:: HINSTANCE , lparam : super::super::Foundation:: LPARAM , dwpriority : u32 , fdwadd : u32 ) -> u32 ); acmDriverAddW(phadid, hinstmodule.into(), lparam.into(), dwpriority, fdwadd) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -141,7 +141,7 @@ pub unsafe fn acmDriverClose(had: P0, fdwclose: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverClose ( had : HACMDRIVER , fdwclose : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverClose ( had : HACMDRIVER , fdwclose : u32 ) -> u32 ); acmDriverClose(had.into(), fdwclose) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -151,7 +151,7 @@ pub unsafe fn acmDriverDetailsA(hadid: P0, padd: *mut ACMDRIVERDETAILSA, fdw where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverDetailsA ( hadid : HACMDRIVERID , padd : *mut ACMDRIVERDETAILSA , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverDetailsA ( hadid : HACMDRIVERID , padd : *mut ACMDRIVERDETAILSA , fdwdetails : u32 ) -> u32 ); acmDriverDetailsA(hadid.into(), padd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -161,14 +161,14 @@ pub unsafe fn acmDriverDetailsW(hadid: P0, padd: *mut ACMDRIVERDETAILSW, fdw where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverDetailsW ( hadid : HACMDRIVERID , padd : *mut ACMDRIVERDETAILSW , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverDetailsW ( hadid : HACMDRIVERID , padd : *mut ACMDRIVERDETAILSW , fdwdetails : u32 ) -> u32 ); acmDriverDetailsW(hadid.into(), padd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn acmDriverEnum(fncallback: ACMDRIVERENUMCB, dwinstance: usize, fdwenum: u32) -> u32 { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverEnum ( fncallback : ACMDRIVERENUMCB , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverEnum ( fncallback : ACMDRIVERENUMCB , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmDriverEnum(fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -177,7 +177,7 @@ pub unsafe fn acmDriverID(hao: P0, phadid: *mut isize, fdwdriverid: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverID ( hao : HACMOBJ , phadid : *mut isize , fdwdriverid : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverID ( hao : HACMOBJ , phadid : *mut isize , fdwdriverid : u32 ) -> u32 ); acmDriverID(hao.into(), phadid, fdwdriverid) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -189,7 +189,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverMessage ( had : HACMDRIVER , umsg : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverMessage ( had : HACMDRIVER , umsg : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); acmDriverMessage(had.into(), umsg, lparam1.into(), lparam2.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -198,7 +198,7 @@ pub unsafe fn acmDriverOpen(phad: *mut isize, hadid: P0, fdwopen: u32) -> u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverOpen ( phad : *mut isize , hadid : HACMDRIVERID , fdwopen : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverOpen ( phad : *mut isize , hadid : HACMDRIVERID , fdwopen : u32 ) -> u32 ); acmDriverOpen(phad, hadid.into(), fdwopen) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -207,7 +207,7 @@ pub unsafe fn acmDriverPriority(hadid: P0, dwpriority: u32, fdwpriority: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverPriority ( hadid : HACMDRIVERID , dwpriority : u32 , fdwpriority : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverPriority ( hadid : HACMDRIVERID , dwpriority : u32 , fdwpriority : u32 ) -> u32 ); acmDriverPriority(hadid.into(), dwpriority, fdwpriority) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -216,21 +216,21 @@ pub unsafe fn acmDriverRemove(hadid: P0, fdwremove: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmDriverRemove ( hadid : HACMDRIVERID , fdwremove : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmDriverRemove ( hadid : HACMDRIVERID , fdwremove : u32 ) -> u32 ); acmDriverRemove(hadid.into(), fdwremove) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn acmFilterChooseA(pafltrc: *mut ACMFILTERCHOOSEA) -> u32 { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterChooseA ( pafltrc : *mut ACMFILTERCHOOSEA ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterChooseA ( pafltrc : *mut ACMFILTERCHOOSEA ) -> u32 ); acmFilterChooseA(pafltrc) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn acmFilterChooseW(pafltrc: *mut ACMFILTERCHOOSEW) -> u32 { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterChooseW ( pafltrc : *mut ACMFILTERCHOOSEW ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterChooseW ( pafltrc : *mut ACMFILTERCHOOSEW ) -> u32 ); acmFilterChooseW(pafltrc) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -240,7 +240,7 @@ pub unsafe fn acmFilterDetailsA(had: P0, pafd: *mut ACMFILTERDETAILSA, fdwde where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterDetailsA ( had : HACMDRIVER , pafd : *mut ACMFILTERDETAILSA , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterDetailsA ( had : HACMDRIVER , pafd : *mut ACMFILTERDETAILSA , fdwdetails : u32 ) -> u32 ); acmFilterDetailsA(had.into(), pafd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -249,7 +249,7 @@ pub unsafe fn acmFilterDetailsW(had: P0, pafd: *mut ACMFILTERDETAILSW, fdwde where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterDetailsW ( had : HACMDRIVER , pafd : *mut ACMFILTERDETAILSW , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterDetailsW ( had : HACMDRIVER , pafd : *mut ACMFILTERDETAILSW , fdwdetails : u32 ) -> u32 ); acmFilterDetailsW(had.into(), pafd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -259,7 +259,7 @@ pub unsafe fn acmFilterEnumA(had: P0, pafd: *mut ACMFILTERDETAILSA, fncallba where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterEnumA ( had : HACMDRIVER , pafd : *mut ACMFILTERDETAILSA , fncallback : ACMFILTERENUMCBA , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterEnumA ( had : HACMDRIVER , pafd : *mut ACMFILTERDETAILSA , fncallback : ACMFILTERENUMCBA , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmFilterEnumA(had.into(), pafd, fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -269,7 +269,7 @@ pub unsafe fn acmFilterEnumW(had: P0, pafd: *mut ACMFILTERDETAILSW, fncallba where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterEnumW ( had : HACMDRIVER , pafd : *mut ACMFILTERDETAILSW , fncallback : ACMFILTERENUMCBW , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterEnumW ( had : HACMDRIVER , pafd : *mut ACMFILTERDETAILSW , fncallback : ACMFILTERENUMCBW , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmFilterEnumW(had.into(), pafd, fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -279,7 +279,7 @@ pub unsafe fn acmFilterTagDetailsA(had: P0, paftd: *mut ACMFILTERTAGDETAILSA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterTagDetailsA ( had : HACMDRIVER , paftd : *mut ACMFILTERTAGDETAILSA , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterTagDetailsA ( had : HACMDRIVER , paftd : *mut ACMFILTERTAGDETAILSA , fdwdetails : u32 ) -> u32 ); acmFilterTagDetailsA(had.into(), paftd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -288,7 +288,7 @@ pub unsafe fn acmFilterTagDetailsW(had: P0, paftd: *mut ACMFILTERTAGDETAILSW where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterTagDetailsW ( had : HACMDRIVER , paftd : *mut ACMFILTERTAGDETAILSW , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterTagDetailsW ( had : HACMDRIVER , paftd : *mut ACMFILTERTAGDETAILSW , fdwdetails : u32 ) -> u32 ); acmFilterTagDetailsW(had.into(), paftd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -298,7 +298,7 @@ pub unsafe fn acmFilterTagEnumA(had: P0, paftd: *mut ACMFILTERTAGDETAILSA, f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterTagEnumA ( had : HACMDRIVER , paftd : *mut ACMFILTERTAGDETAILSA , fncallback : ACMFILTERTAGENUMCBA , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterTagEnumA ( had : HACMDRIVER , paftd : *mut ACMFILTERTAGDETAILSA , fncallback : ACMFILTERTAGENUMCBA , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmFilterTagEnumA(had.into(), paftd, fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -308,21 +308,21 @@ pub unsafe fn acmFilterTagEnumW(had: P0, paftd: *mut ACMFILTERTAGDETAILSW, f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFilterTagEnumW ( had : HACMDRIVER , paftd : *mut ACMFILTERTAGDETAILSW , fncallback : ACMFILTERTAGENUMCBW , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFilterTagEnumW ( had : HACMDRIVER , paftd : *mut ACMFILTERTAGDETAILSW , fncallback : ACMFILTERTAGENUMCBW , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmFilterTagEnumW(had.into(), paftd, fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn acmFormatChooseA(pafmtc: *mut ACMFORMATCHOOSEA) -> u32 { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatChooseA ( pafmtc : *mut ACMFORMATCHOOSEA ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatChooseA ( pafmtc : *mut ACMFORMATCHOOSEA ) -> u32 ); acmFormatChooseA(pafmtc) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn acmFormatChooseW(pafmtc: *mut ACMFORMATCHOOSEW) -> u32 { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatChooseW ( pafmtc : *mut ACMFORMATCHOOSEW ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatChooseW ( pafmtc : *mut ACMFORMATCHOOSEW ) -> u32 ); acmFormatChooseW(pafmtc) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -332,7 +332,7 @@ pub unsafe fn acmFormatDetailsA(had: P0, pafd: *mut ACMFORMATDETAILSA, fdwde where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatDetailsA ( had : HACMDRIVER , pafd : *mut ACMFORMATDETAILSA , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatDetailsA ( had : HACMDRIVER , pafd : *mut ACMFORMATDETAILSA , fdwdetails : u32 ) -> u32 ); acmFormatDetailsA(had.into(), pafd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -341,7 +341,7 @@ pub unsafe fn acmFormatDetailsW(had: P0, pafd: *mut tACMFORMATDETAILSW, fdwd where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatDetailsW ( had : HACMDRIVER , pafd : *mut tACMFORMATDETAILSW , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatDetailsW ( had : HACMDRIVER , pafd : *mut tACMFORMATDETAILSW , fdwdetails : u32 ) -> u32 ); acmFormatDetailsW(had.into(), pafd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn acmFormatEnumA(had: P0, pafd: *mut ACMFORMATDETAILSA, fncallba where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatEnumA ( had : HACMDRIVER , pafd : *mut ACMFORMATDETAILSA , fncallback : ACMFORMATENUMCBA , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatEnumA ( had : HACMDRIVER , pafd : *mut ACMFORMATDETAILSA , fncallback : ACMFORMATENUMCBA , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmFormatEnumA(had.into(), pafd, fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -361,7 +361,7 @@ pub unsafe fn acmFormatEnumW(had: P0, pafd: *mut tACMFORMATDETAILSW, fncallb where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatEnumW ( had : HACMDRIVER , pafd : *mut tACMFORMATDETAILSW , fncallback : ACMFORMATENUMCBW , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatEnumW ( had : HACMDRIVER , pafd : *mut tACMFORMATDETAILSW , fncallback : ACMFORMATENUMCBW , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmFormatEnumW(had.into(), pafd, fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -370,7 +370,7 @@ pub unsafe fn acmFormatSuggest(had: P0, pwfxsrc: *mut WAVEFORMATEX, pwfxdst: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatSuggest ( had : HACMDRIVER , pwfxsrc : *mut WAVEFORMATEX , pwfxdst : *mut WAVEFORMATEX , cbwfxdst : u32 , fdwsuggest : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatSuggest ( had : HACMDRIVER , pwfxsrc : *mut WAVEFORMATEX , pwfxdst : *mut WAVEFORMATEX , cbwfxdst : u32 , fdwsuggest : u32 ) -> u32 ); acmFormatSuggest(had.into(), pwfxsrc, pwfxdst, cbwfxdst, fdwsuggest) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -380,7 +380,7 @@ pub unsafe fn acmFormatTagDetailsA(had: P0, paftd: *mut ACMFORMATTAGDETAILSA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatTagDetailsA ( had : HACMDRIVER , paftd : *mut ACMFORMATTAGDETAILSA , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatTagDetailsA ( had : HACMDRIVER , paftd : *mut ACMFORMATTAGDETAILSA , fdwdetails : u32 ) -> u32 ); acmFormatTagDetailsA(had.into(), paftd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -389,7 +389,7 @@ pub unsafe fn acmFormatTagDetailsW(had: P0, paftd: *mut ACMFORMATTAGDETAILSW where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatTagDetailsW ( had : HACMDRIVER , paftd : *mut ACMFORMATTAGDETAILSW , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatTagDetailsW ( had : HACMDRIVER , paftd : *mut ACMFORMATTAGDETAILSW , fdwdetails : u32 ) -> u32 ); acmFormatTagDetailsW(had.into(), paftd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -399,7 +399,7 @@ pub unsafe fn acmFormatTagEnumA(had: P0, paftd: *mut ACMFORMATTAGDETAILSA, f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatTagEnumA ( had : HACMDRIVER , paftd : *mut ACMFORMATTAGDETAILSA , fncallback : ACMFORMATTAGENUMCBA , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatTagEnumA ( had : HACMDRIVER , paftd : *mut ACMFORMATTAGDETAILSA , fncallback : ACMFORMATTAGENUMCBA , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmFormatTagEnumA(had.into(), paftd, fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -409,13 +409,13 @@ pub unsafe fn acmFormatTagEnumW(had: P0, paftd: *mut ACMFORMATTAGDETAILSW, f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmFormatTagEnumW ( had : HACMDRIVER , paftd : *mut ACMFORMATTAGDETAILSW , fncallback : ACMFORMATTAGENUMCBW , dwinstance : usize , fdwenum : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmFormatTagEnumW ( had : HACMDRIVER , paftd : *mut ACMFORMATTAGDETAILSW , fncallback : ACMFORMATTAGENUMCBW , dwinstance : usize , fdwenum : u32 ) -> u32 ); acmFormatTagEnumW(had.into(), paftd, fncallback, dwinstance, fdwenum) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn acmGetVersion() -> u32 { - ::windows::core::link ! ( "msacm32.dll""system" fn acmGetVersion ( ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmGetVersion ( ) -> u32 ); acmGetVersion() } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -424,7 +424,7 @@ pub unsafe fn acmMetrics(hao: P0, umetric: u32, pmetric: *mut ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmMetrics ( hao : HACMOBJ , umetric : u32 , pmetric : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmMetrics ( hao : HACMOBJ , umetric : u32 , pmetric : *mut ::core::ffi::c_void ) -> u32 ); acmMetrics(hao.into(), umetric, pmetric) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -433,7 +433,7 @@ pub unsafe fn acmStreamClose(has: P0, fdwclose: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmStreamClose ( has : HACMSTREAM , fdwclose : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmStreamClose ( has : HACMSTREAM , fdwclose : u32 ) -> u32 ); acmStreamClose(has.into(), fdwclose) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -442,7 +442,7 @@ pub unsafe fn acmStreamConvert(has: P0, pash: *mut ACMSTREAMHEADER, fdwconve where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmStreamConvert ( has : HACMSTREAM , pash : *mut ACMSTREAMHEADER , fdwconvert : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmStreamConvert ( has : HACMSTREAM , pash : *mut ACMSTREAMHEADER , fdwconvert : u32 ) -> u32 ); acmStreamConvert(has.into(), pash, fdwconvert) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -454,7 +454,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmStreamMessage ( has : HACMSTREAM , umsg : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmStreamMessage ( has : HACMSTREAM , umsg : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> u32 ); acmStreamMessage(has.into(), umsg, lparam1.into(), lparam2.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -463,7 +463,7 @@ pub unsafe fn acmStreamOpen(phas: *mut isize, had: P0, pwfxsrc: *mut WAVEFOR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmStreamOpen ( phas : *mut isize , had : HACMDRIVER , pwfxsrc : *mut WAVEFORMATEX , pwfxdst : *mut WAVEFORMATEX , pwfltr : *mut WAVEFILTER , dwcallback : usize , dwinstance : usize , fdwopen : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmStreamOpen ( phas : *mut isize , had : HACMDRIVER , pwfxsrc : *mut WAVEFORMATEX , pwfxdst : *mut WAVEFORMATEX , pwfltr : *mut WAVEFILTER , dwcallback : usize , dwinstance : usize , fdwopen : u32 ) -> u32 ); acmStreamOpen(phas, had.into(), pwfxsrc, pwfxdst, pwfltr, dwcallback, dwinstance, fdwopen) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -472,7 +472,7 @@ pub unsafe fn acmStreamPrepareHeader(has: P0, pash: *mut ACMSTREAMHEADER, fd where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmStreamPrepareHeader ( has : HACMSTREAM , pash : *mut ACMSTREAMHEADER , fdwprepare : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmStreamPrepareHeader ( has : HACMSTREAM , pash : *mut ACMSTREAMHEADER , fdwprepare : u32 ) -> u32 ); acmStreamPrepareHeader(has.into(), pash, fdwprepare) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -481,7 +481,7 @@ pub unsafe fn acmStreamReset(has: P0, fdwreset: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmStreamReset ( has : HACMSTREAM , fdwreset : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmStreamReset ( has : HACMSTREAM , fdwreset : u32 ) -> u32 ); acmStreamReset(has.into(), fdwreset) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -490,7 +490,7 @@ pub unsafe fn acmStreamSize(has: P0, cbinput: u32, pdwoutputbytes: *mut u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmStreamSize ( has : HACMSTREAM , cbinput : u32 , pdwoutputbytes : *mut u32 , fdwsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmStreamSize ( has : HACMSTREAM , cbinput : u32 , pdwoutputbytes : *mut u32 , fdwsize : u32 ) -> u32 ); acmStreamSize(has.into(), cbinput, pdwoutputbytes, fdwsize) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -499,44 +499,44 @@ pub unsafe fn acmStreamUnprepareHeader(has: P0, pash: *mut ACMSTREAMHEADER, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msacm32.dll""system" fn acmStreamUnprepareHeader ( has : HACMSTREAM , pash : *mut ACMSTREAMHEADER , fdwunprepare : u32 ) -> u32 ); + ::windows::imp::link ! ( "msacm32.dll""system" fn acmStreamUnprepareHeader ( has : HACMSTREAM , pash : *mut ACMSTREAMHEADER , fdwunprepare : u32 ) -> u32 ); acmStreamUnprepareHeader(has.into(), pash, fdwunprepare) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn auxGetDevCapsA(udeviceid: usize, pac: *mut AUXCAPSA, cbac: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn auxGetDevCapsA ( udeviceid : usize , pac : *mut AUXCAPSA , cbac : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn auxGetDevCapsA ( udeviceid : usize , pac : *mut AUXCAPSA , cbac : u32 ) -> u32 ); auxGetDevCapsA(udeviceid, pac, cbac) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn auxGetDevCapsW(udeviceid: usize, pac: *mut AUXCAPSW, cbac: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn auxGetDevCapsW ( udeviceid : usize , pac : *mut AUXCAPSW , cbac : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn auxGetDevCapsW ( udeviceid : usize , pac : *mut AUXCAPSW , cbac : u32 ) -> u32 ); auxGetDevCapsW(udeviceid, pac, cbac) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn auxGetNumDevs() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn auxGetNumDevs ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn auxGetNumDevs ( ) -> u32 ); auxGetNumDevs() } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn auxGetVolume(udeviceid: u32, pdwvolume: *mut u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn auxGetVolume ( udeviceid : u32 , pdwvolume : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn auxGetVolume ( udeviceid : u32 , pdwvolume : *mut u32 ) -> u32 ); auxGetVolume(udeviceid, pdwvolume) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn auxOutMessage(udeviceid: u32, umsg: u32, dw1: usize, dw2: usize) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn auxOutMessage ( udeviceid : u32 , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn auxOutMessage ( udeviceid : u32 , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); auxOutMessage(udeviceid, umsg, dw1, dw2) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn auxSetVolume(udeviceid: u32, dwvolume: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn auxSetVolume ( udeviceid : u32 , dwvolume : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn auxSetVolume ( udeviceid : u32 , dwvolume : u32 ) -> u32 ); auxSetVolume(udeviceid, dwvolume) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -546,7 +546,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiConnect ( hmi : HMIDI , hmo : HMIDIOUT , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiConnect ( hmi : HMIDI , hmo : HMIDIOUT , preserved : *const ::core::ffi::c_void ) -> u32 ); midiConnect(hmi.into(), hmo.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -556,7 +556,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiDisconnect ( hmi : HMIDI , hmo : HMIDIOUT , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiDisconnect ( hmi : HMIDI , hmo : HMIDIOUT , preserved : *const ::core::ffi::c_void ) -> u32 ); midiDisconnect(hmi.into(), hmo.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -565,7 +565,7 @@ pub unsafe fn midiInAddBuffer(hmi: P0, pmh: *mut MIDIHDR, cbmh: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInAddBuffer ( hmi : HMIDIIN , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInAddBuffer ( hmi : HMIDIIN , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); midiInAddBuffer(hmi.into(), pmh, cbmh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -574,32 +574,32 @@ pub unsafe fn midiInClose(hmi: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInClose ( hmi : HMIDIIN ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInClose ( hmi : HMIDIIN ) -> u32 ); midiInClose(hmi.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn midiInGetDevCapsA(udeviceid: usize, pmic: *mut MIDIINCAPSA, cbmic: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiInGetDevCapsA ( udeviceid : usize , pmic : *mut MIDIINCAPSA , cbmic : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInGetDevCapsA ( udeviceid : usize , pmic : *mut MIDIINCAPSA , cbmic : u32 ) -> u32 ); midiInGetDevCapsA(udeviceid, pmic, cbmic) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiInGetDevCapsW(udeviceid: usize, pmic: *mut MIDIINCAPSW, cbmic: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiInGetDevCapsW ( udeviceid : usize , pmic : *mut MIDIINCAPSW , cbmic : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInGetDevCapsW ( udeviceid : usize , pmic : *mut MIDIINCAPSW , cbmic : u32 ) -> u32 ); midiInGetDevCapsW(udeviceid, pmic, cbmic) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiInGetErrorTextA(mmrerror: u32, psztext: &mut [u8]) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiInGetErrorTextA ( mmrerror : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInGetErrorTextA ( mmrerror : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> u32 ); midiInGetErrorTextA(mmrerror, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiInGetErrorTextW(mmrerror: u32, psztext: &mut [u16]) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiInGetErrorTextW ( mmrerror : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInGetErrorTextW ( mmrerror : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> u32 ); midiInGetErrorTextW(mmrerror, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -608,13 +608,13 @@ pub unsafe fn midiInGetID(hmi: P0, pudeviceid: *mut u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInGetID ( hmi : HMIDIIN , pudeviceid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInGetID ( hmi : HMIDIIN , pudeviceid : *mut u32 ) -> u32 ); midiInGetID(hmi.into(), pudeviceid) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiInGetNumDevs() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiInGetNumDevs ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInGetNumDevs ( ) -> u32 ); midiInGetNumDevs() } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -623,13 +623,13 @@ pub unsafe fn midiInMessage(hmi: P0, umsg: u32, dw1: usize, dw2: usize) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInMessage ( hmi : HMIDIIN , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInMessage ( hmi : HMIDIIN , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); midiInMessage(hmi.into(), umsg, dw1, dw2) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiInOpen(phmi: *mut HMIDIIN, udeviceid: u32, dwcallback: usize, dwinstance: usize, fdwopen: MIDI_WAVE_OPEN_TYPE) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiInOpen ( phmi : *mut HMIDIIN , udeviceid : u32 , dwcallback : usize , dwinstance : usize , fdwopen : MIDI_WAVE_OPEN_TYPE ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInOpen ( phmi : *mut HMIDIIN , udeviceid : u32 , dwcallback : usize , dwinstance : usize , fdwopen : MIDI_WAVE_OPEN_TYPE ) -> u32 ); midiInOpen(phmi, udeviceid, dwcallback, dwinstance, fdwopen) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -638,7 +638,7 @@ pub unsafe fn midiInPrepareHeader(hmi: P0, pmh: *mut MIDIHDR, cbmh: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInPrepareHeader ( hmi : HMIDIIN , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInPrepareHeader ( hmi : HMIDIIN , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); midiInPrepareHeader(hmi.into(), pmh, cbmh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -647,7 +647,7 @@ pub unsafe fn midiInReset(hmi: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInReset ( hmi : HMIDIIN ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInReset ( hmi : HMIDIIN ) -> u32 ); midiInReset(hmi.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -656,7 +656,7 @@ pub unsafe fn midiInStart(hmi: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInStart ( hmi : HMIDIIN ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInStart ( hmi : HMIDIIN ) -> u32 ); midiInStart(hmi.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -665,7 +665,7 @@ pub unsafe fn midiInStop(hmi: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInStop ( hmi : HMIDIIN ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInStop ( hmi : HMIDIIN ) -> u32 ); midiInStop(hmi.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -674,7 +674,7 @@ pub unsafe fn midiInUnprepareHeader(hmi: P0, pmh: *mut MIDIHDR, cbmh: u32) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiInUnprepareHeader ( hmi : HMIDIIN , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiInUnprepareHeader ( hmi : HMIDIIN , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); midiInUnprepareHeader(hmi.into(), pmh, cbmh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -683,7 +683,7 @@ pub unsafe fn midiOutCacheDrumPatches(hmo: P0, upatch: u32, pwkya: &[u16; 12 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutCacheDrumPatches ( hmo : HMIDIOUT , upatch : u32 , pwkya : *const u16 , fucache : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutCacheDrumPatches ( hmo : HMIDIOUT , upatch : u32 , pwkya : *const u16 , fucache : u32 ) -> u32 ); midiOutCacheDrumPatches(hmo.into(), upatch, ::core::mem::transmute(pwkya.as_ptr()), fucache) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -692,7 +692,7 @@ pub unsafe fn midiOutCachePatches(hmo: P0, ubank: u32, pwpa: &[u16; 128], fu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutCachePatches ( hmo : HMIDIOUT , ubank : u32 , pwpa : *const u16 , fucache : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutCachePatches ( hmo : HMIDIOUT , ubank : u32 , pwpa : *const u16 , fucache : u32 ) -> u32 ); midiOutCachePatches(hmo.into(), ubank, ::core::mem::transmute(pwpa.as_ptr()), fucache) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -701,32 +701,32 @@ pub unsafe fn midiOutClose(hmo: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutClose ( hmo : HMIDIOUT ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutClose ( hmo : HMIDIOUT ) -> u32 ); midiOutClose(hmo.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn midiOutGetDevCapsA(udeviceid: usize, pmoc: *mut MIDIOUTCAPSA, cbmoc: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutGetDevCapsA ( udeviceid : usize , pmoc : *mut MIDIOUTCAPSA , cbmoc : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutGetDevCapsA ( udeviceid : usize , pmoc : *mut MIDIOUTCAPSA , cbmoc : u32 ) -> u32 ); midiOutGetDevCapsA(udeviceid, pmoc, cbmoc) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiOutGetDevCapsW(udeviceid: usize, pmoc: *mut MIDIOUTCAPSW, cbmoc: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutGetDevCapsW ( udeviceid : usize , pmoc : *mut MIDIOUTCAPSW , cbmoc : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutGetDevCapsW ( udeviceid : usize , pmoc : *mut MIDIOUTCAPSW , cbmoc : u32 ) -> u32 ); midiOutGetDevCapsW(udeviceid, pmoc, cbmoc) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiOutGetErrorTextA(mmrerror: u32, psztext: &mut [u8]) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutGetErrorTextA ( mmrerror : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutGetErrorTextA ( mmrerror : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> u32 ); midiOutGetErrorTextA(mmrerror, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiOutGetErrorTextW(mmrerror: u32, psztext: &mut [u16]) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutGetErrorTextW ( mmrerror : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutGetErrorTextW ( mmrerror : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> u32 ); midiOutGetErrorTextW(mmrerror, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -735,13 +735,13 @@ pub unsafe fn midiOutGetID(hmo: P0, pudeviceid: *mut u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutGetID ( hmo : HMIDIOUT , pudeviceid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutGetID ( hmo : HMIDIOUT , pudeviceid : *mut u32 ) -> u32 ); midiOutGetID(hmo.into(), pudeviceid) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiOutGetNumDevs() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutGetNumDevs ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutGetNumDevs ( ) -> u32 ); midiOutGetNumDevs() } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -750,7 +750,7 @@ pub unsafe fn midiOutGetVolume(hmo: P0, pdwvolume: *mut u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutGetVolume ( hmo : HMIDIOUT , pdwvolume : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutGetVolume ( hmo : HMIDIOUT , pdwvolume : *mut u32 ) -> u32 ); midiOutGetVolume(hmo.into(), pdwvolume) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -759,7 +759,7 @@ pub unsafe fn midiOutLongMsg(hmo: P0, pmh: *const MIDIHDR, cbmh: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutLongMsg ( hmo : HMIDIOUT , pmh : *const MIDIHDR , cbmh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutLongMsg ( hmo : HMIDIOUT , pmh : *const MIDIHDR , cbmh : u32 ) -> u32 ); midiOutLongMsg(hmo.into(), pmh, cbmh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -768,13 +768,13 @@ pub unsafe fn midiOutMessage(hmo: P0, umsg: u32, dw1: usize, dw2: usize) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutMessage ( hmo : HMIDIOUT , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutMessage ( hmo : HMIDIOUT , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); midiOutMessage(hmo.into(), umsg, dw1, dw2) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiOutOpen(phmo: *mut HMIDIOUT, udeviceid: u32, dwcallback: usize, dwinstance: usize, fdwopen: MIDI_WAVE_OPEN_TYPE) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutOpen ( phmo : *mut HMIDIOUT , udeviceid : u32 , dwcallback : usize , dwinstance : usize , fdwopen : MIDI_WAVE_OPEN_TYPE ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutOpen ( phmo : *mut HMIDIOUT , udeviceid : u32 , dwcallback : usize , dwinstance : usize , fdwopen : MIDI_WAVE_OPEN_TYPE ) -> u32 ); midiOutOpen(phmo, udeviceid, dwcallback, dwinstance, fdwopen) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -783,7 +783,7 @@ pub unsafe fn midiOutPrepareHeader(hmo: P0, pmh: *mut MIDIHDR, cbmh: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutPrepareHeader ( hmo : HMIDIOUT , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutPrepareHeader ( hmo : HMIDIOUT , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); midiOutPrepareHeader(hmo.into(), pmh, cbmh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -792,7 +792,7 @@ pub unsafe fn midiOutReset(hmo: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutReset ( hmo : HMIDIOUT ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutReset ( hmo : HMIDIOUT ) -> u32 ); midiOutReset(hmo.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -801,7 +801,7 @@ pub unsafe fn midiOutSetVolume(hmo: P0, dwvolume: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutSetVolume ( hmo : HMIDIOUT , dwvolume : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutSetVolume ( hmo : HMIDIOUT , dwvolume : u32 ) -> u32 ); midiOutSetVolume(hmo.into(), dwvolume) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -810,7 +810,7 @@ pub unsafe fn midiOutShortMsg(hmo: P0, dwmsg: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutShortMsg ( hmo : HMIDIOUT , dwmsg : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutShortMsg ( hmo : HMIDIOUT , dwmsg : u32 ) -> u32 ); midiOutShortMsg(hmo.into(), dwmsg) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -819,7 +819,7 @@ pub unsafe fn midiOutUnprepareHeader(hmo: P0, pmh: *mut MIDIHDR, cbmh: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiOutUnprepareHeader ( hmo : HMIDIOUT , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiOutUnprepareHeader ( hmo : HMIDIOUT , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); midiOutUnprepareHeader(hmo.into(), pmh, cbmh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -828,13 +828,13 @@ pub unsafe fn midiStreamClose(hms: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiStreamClose ( hms : HMIDISTRM ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiStreamClose ( hms : HMIDISTRM ) -> u32 ); midiStreamClose(hms.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn midiStreamOpen(phms: *mut HMIDISTRM, pudeviceid: &mut [u32], dwcallback: usize, dwinstance: usize, fdwopen: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn midiStreamOpen ( phms : *mut HMIDISTRM , pudeviceid : *mut u32 , cmidi : u32 , dwcallback : usize , dwinstance : usize , fdwopen : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiStreamOpen ( phms : *mut HMIDISTRM , pudeviceid : *mut u32 , cmidi : u32 , dwcallback : usize , dwinstance : usize , fdwopen : u32 ) -> u32 ); midiStreamOpen(phms, ::core::mem::transmute(pudeviceid.as_ptr()), pudeviceid.len() as _, dwcallback, dwinstance, fdwopen) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -843,7 +843,7 @@ pub unsafe fn midiStreamOut(hms: P0, pmh: *mut MIDIHDR, cbmh: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiStreamOut ( hms : HMIDISTRM , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiStreamOut ( hms : HMIDISTRM , pmh : *mut MIDIHDR , cbmh : u32 ) -> u32 ); midiStreamOut(hms.into(), pmh, cbmh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -852,7 +852,7 @@ pub unsafe fn midiStreamPause(hms: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiStreamPause ( hms : HMIDISTRM ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiStreamPause ( hms : HMIDISTRM ) -> u32 ); midiStreamPause(hms.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -861,7 +861,7 @@ pub unsafe fn midiStreamPosition(hms: P0, lpmmt: *mut super::MMTIME, cbmmt: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiStreamPosition ( hms : HMIDISTRM , lpmmt : *mut super:: MMTIME , cbmmt : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiStreamPosition ( hms : HMIDISTRM , lpmmt : *mut super:: MMTIME , cbmmt : u32 ) -> u32 ); midiStreamPosition(hms.into(), lpmmt, cbmmt) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -870,7 +870,7 @@ pub unsafe fn midiStreamProperty(hms: P0, lppropdata: *mut u8, dwproperty: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiStreamProperty ( hms : HMIDISTRM , lppropdata : *mut u8 , dwproperty : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiStreamProperty ( hms : HMIDISTRM , lppropdata : *mut u8 , dwproperty : u32 ) -> u32 ); midiStreamProperty(hms.into(), lppropdata, dwproperty) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -879,7 +879,7 @@ pub unsafe fn midiStreamRestart(hms: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiStreamRestart ( hms : HMIDISTRM ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiStreamRestart ( hms : HMIDISTRM ) -> u32 ); midiStreamRestart(hms.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -888,7 +888,7 @@ pub unsafe fn midiStreamStop(hms: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn midiStreamStop ( hms : HMIDISTRM ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn midiStreamStop ( hms : HMIDISTRM ) -> u32 ); midiStreamStop(hms.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -897,7 +897,7 @@ pub unsafe fn mixerClose(hmx: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerClose ( hmx : HMIXER ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerClose ( hmx : HMIXER ) -> u32 ); mixerClose(hmx.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -907,7 +907,7 @@ pub unsafe fn mixerGetControlDetailsA(hmxobj: P0, pmxcd: *mut MIXERCONTROLDE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetControlDetailsA ( hmxobj : HMIXEROBJ , pmxcd : *mut MIXERCONTROLDETAILS , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetControlDetailsA ( hmxobj : HMIXEROBJ , pmxcd : *mut MIXERCONTROLDETAILS , fdwdetails : u32 ) -> u32 ); mixerGetControlDetailsA(hmxobj.into(), pmxcd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -917,20 +917,20 @@ pub unsafe fn mixerGetControlDetailsW(hmxobj: P0, pmxcd: *mut MIXERCONTROLDE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetControlDetailsW ( hmxobj : HMIXEROBJ , pmxcd : *mut MIXERCONTROLDETAILS , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetControlDetailsW ( hmxobj : HMIXEROBJ , pmxcd : *mut MIXERCONTROLDETAILS , fdwdetails : u32 ) -> u32 ); mixerGetControlDetailsW(hmxobj.into(), pmxcd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mixerGetDevCapsA(umxid: usize, pmxcaps: *mut MIXERCAPSA, cbmxcaps: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetDevCapsA ( umxid : usize , pmxcaps : *mut MIXERCAPSA , cbmxcaps : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetDevCapsA ( umxid : usize , pmxcaps : *mut MIXERCAPSA , cbmxcaps : u32 ) -> u32 ); mixerGetDevCapsA(umxid, pmxcaps, cbmxcaps) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn mixerGetDevCapsW(umxid: usize, pmxcaps: *mut MIXERCAPSW, cbmxcaps: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetDevCapsW ( umxid : usize , pmxcaps : *mut MIXERCAPSW , cbmxcaps : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetDevCapsW ( umxid : usize , pmxcaps : *mut MIXERCAPSW , cbmxcaps : u32 ) -> u32 ); mixerGetDevCapsW(umxid, pmxcaps, cbmxcaps) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -939,7 +939,7 @@ pub unsafe fn mixerGetID(hmxobj: P0, pumxid: *mut u32, fdwid: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetID ( hmxobj : HMIXEROBJ , pumxid : *mut u32 , fdwid : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetID ( hmxobj : HMIXEROBJ , pumxid : *mut u32 , fdwid : u32 ) -> u32 ); mixerGetID(hmxobj.into(), pumxid, fdwid) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -949,7 +949,7 @@ pub unsafe fn mixerGetLineControlsA(hmxobj: P0, pmxlc: *mut MIXERLINECONTROL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetLineControlsA ( hmxobj : HMIXEROBJ , pmxlc : *mut MIXERLINECONTROLSA , fdwcontrols : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetLineControlsA ( hmxobj : HMIXEROBJ , pmxlc : *mut MIXERLINECONTROLSA , fdwcontrols : u32 ) -> u32 ); mixerGetLineControlsA(hmxobj.into(), pmxlc, fdwcontrols) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -958,7 +958,7 @@ pub unsafe fn mixerGetLineControlsW(hmxobj: P0, pmxlc: *mut MIXERLINECONTROL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetLineControlsW ( hmxobj : HMIXEROBJ , pmxlc : *mut MIXERLINECONTROLSW , fdwcontrols : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetLineControlsW ( hmxobj : HMIXEROBJ , pmxlc : *mut MIXERLINECONTROLSW , fdwcontrols : u32 ) -> u32 ); mixerGetLineControlsW(hmxobj.into(), pmxlc, fdwcontrols) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -968,7 +968,7 @@ pub unsafe fn mixerGetLineInfoA(hmxobj: P0, pmxl: *mut MIXERLINEA, fdwinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetLineInfoA ( hmxobj : HMIXEROBJ , pmxl : *mut MIXERLINEA , fdwinfo : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetLineInfoA ( hmxobj : HMIXEROBJ , pmxl : *mut MIXERLINEA , fdwinfo : u32 ) -> u32 ); mixerGetLineInfoA(hmxobj.into(), pmxl, fdwinfo) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -977,13 +977,13 @@ pub unsafe fn mixerGetLineInfoW(hmxobj: P0, pmxl: *mut MIXERLINEW, fdwinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetLineInfoW ( hmxobj : HMIXEROBJ , pmxl : *mut MIXERLINEW , fdwinfo : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetLineInfoW ( hmxobj : HMIXEROBJ , pmxl : *mut MIXERLINEW , fdwinfo : u32 ) -> u32 ); mixerGetLineInfoW(hmxobj.into(), pmxl, fdwinfo) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn mixerGetNumDevs() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mixerGetNumDevs ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerGetNumDevs ( ) -> u32 ); mixerGetNumDevs() } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -992,13 +992,13 @@ pub unsafe fn mixerMessage(hmx: P0, umsg: u32, dwparam1: usize, dwparam2: us where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerMessage ( hmx : HMIXER , umsg : u32 , dwparam1 : usize , dwparam2 : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerMessage ( hmx : HMIXER , umsg : u32 , dwparam1 : usize , dwparam2 : usize ) -> u32 ); mixerMessage(hmx.into(), umsg, dwparam1, dwparam2) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn mixerOpen(phmx: ::core::option::Option<*mut isize>, umxid: u32, dwcallback: usize, dwinstance: usize, fdwopen: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mixerOpen ( phmx : *mut isize , umxid : u32 , dwcallback : usize , dwinstance : usize , fdwopen : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerOpen ( phmx : *mut isize , umxid : u32 , dwcallback : usize , dwinstance : usize , fdwopen : u32 ) -> u32 ); mixerOpen(::core::mem::transmute(phmx.unwrap_or(::std::ptr::null_mut())), umxid, dwcallback, dwinstance, fdwopen) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -1008,7 +1008,7 @@ pub unsafe fn mixerSetControlDetails(hmxobj: P0, pmxcd: *const MIXERCONTROLD where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mixerSetControlDetails ( hmxobj : HMIXEROBJ , pmxcd : *const MIXERCONTROLDETAILS , fdwdetails : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mixerSetControlDetails ( hmxobj : HMIXEROBJ , pmxcd : *const MIXERCONTROLDETAILS , fdwdetails : u32 ) -> u32 ); mixerSetControlDetails(hmxobj.into(), pmxcd, fdwdetails) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -1018,7 +1018,7 @@ pub unsafe fn sndPlaySoundA(pszsound: P0, fusound: u32) -> super::super::Fou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn sndPlaySoundA ( pszsound : :: windows::core::PCSTR , fusound : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn sndPlaySoundA ( pszsound : :: windows::core::PCSTR , fusound : u32 ) -> super::super::Foundation:: BOOL ); sndPlaySoundA(pszsound.into().abi(), fusound) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] @@ -1028,7 +1028,7 @@ pub unsafe fn sndPlaySoundW(pszsound: P0, fusound: u32) -> super::super::Fou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn sndPlaySoundW ( pszsound : :: windows::core::PCWSTR , fusound : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn sndPlaySoundW ( pszsound : :: windows::core::PCWSTR , fusound : u32 ) -> super::super::Foundation:: BOOL ); sndPlaySoundW(pszsound.into().abi(), fusound) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1037,7 +1037,7 @@ pub unsafe fn waveInAddBuffer(hwi: P0, pwh: *mut WAVEHDR, cbwh: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInAddBuffer ( hwi : HWAVEIN , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInAddBuffer ( hwi : HWAVEIN , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); waveInAddBuffer(hwi.into(), pwh, cbwh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1046,32 +1046,32 @@ pub unsafe fn waveInClose(hwi: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInClose ( hwi : HWAVEIN ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInClose ( hwi : HWAVEIN ) -> u32 ); waveInClose(hwi.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn waveInGetDevCapsA(udeviceid: usize, pwic: *mut WAVEINCAPSA, cbwic: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveInGetDevCapsA ( udeviceid : usize , pwic : *mut WAVEINCAPSA , cbwic : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInGetDevCapsA ( udeviceid : usize , pwic : *mut WAVEINCAPSA , cbwic : u32 ) -> u32 ); waveInGetDevCapsA(udeviceid, pwic, cbwic) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveInGetDevCapsW(udeviceid: usize, pwic: *mut WAVEINCAPSW, cbwic: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveInGetDevCapsW ( udeviceid : usize , pwic : *mut WAVEINCAPSW , cbwic : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInGetDevCapsW ( udeviceid : usize , pwic : *mut WAVEINCAPSW , cbwic : u32 ) -> u32 ); waveInGetDevCapsW(udeviceid, pwic, cbwic) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveInGetErrorTextA(mmrerror: u32, psztext: &mut [u8]) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveInGetErrorTextA ( mmrerror : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInGetErrorTextA ( mmrerror : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> u32 ); waveInGetErrorTextA(mmrerror, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveInGetErrorTextW(mmrerror: u32, psztext: &mut [u16]) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveInGetErrorTextW ( mmrerror : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInGetErrorTextW ( mmrerror : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> u32 ); waveInGetErrorTextW(mmrerror, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1080,13 +1080,13 @@ pub unsafe fn waveInGetID(hwi: P0, pudeviceid: *const u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInGetID ( hwi : HWAVEIN , pudeviceid : *const u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInGetID ( hwi : HWAVEIN , pudeviceid : *const u32 ) -> u32 ); waveInGetID(hwi.into(), pudeviceid) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveInGetNumDevs() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveInGetNumDevs ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInGetNumDevs ( ) -> u32 ); waveInGetNumDevs() } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1095,7 +1095,7 @@ pub unsafe fn waveInGetPosition(hwi: P0, pmmt: *mut super::MMTIME, cbmmt: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInGetPosition ( hwi : HWAVEIN , pmmt : *mut super:: MMTIME , cbmmt : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInGetPosition ( hwi : HWAVEIN , pmmt : *mut super:: MMTIME , cbmmt : u32 ) -> u32 ); waveInGetPosition(hwi.into(), pmmt, cbmmt) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1104,13 +1104,13 @@ pub unsafe fn waveInMessage(hwi: P0, umsg: u32, dw1: usize, dw2: usize) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInMessage ( hwi : HWAVEIN , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInMessage ( hwi : HWAVEIN , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); waveInMessage(hwi.into(), umsg, dw1, dw2) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveInOpen(phwi: ::core::option::Option<*mut HWAVEIN>, udeviceid: u32, pwfx: *const WAVEFORMATEX, dwcallback: usize, dwinstance: usize, fdwopen: MIDI_WAVE_OPEN_TYPE) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveInOpen ( phwi : *mut HWAVEIN , udeviceid : u32 , pwfx : *const WAVEFORMATEX , dwcallback : usize , dwinstance : usize , fdwopen : MIDI_WAVE_OPEN_TYPE ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInOpen ( phwi : *mut HWAVEIN , udeviceid : u32 , pwfx : *const WAVEFORMATEX , dwcallback : usize , dwinstance : usize , fdwopen : MIDI_WAVE_OPEN_TYPE ) -> u32 ); waveInOpen(::core::mem::transmute(phwi.unwrap_or(::std::ptr::null_mut())), udeviceid, pwfx, dwcallback, dwinstance, fdwopen) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1119,7 +1119,7 @@ pub unsafe fn waveInPrepareHeader(hwi: P0, pwh: *mut WAVEHDR, cbwh: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInPrepareHeader ( hwi : HWAVEIN , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInPrepareHeader ( hwi : HWAVEIN , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); waveInPrepareHeader(hwi.into(), pwh, cbwh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1128,7 +1128,7 @@ pub unsafe fn waveInReset(hwi: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInReset ( hwi : HWAVEIN ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInReset ( hwi : HWAVEIN ) -> u32 ); waveInReset(hwi.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1137,7 +1137,7 @@ pub unsafe fn waveInStart(hwi: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInStart ( hwi : HWAVEIN ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInStart ( hwi : HWAVEIN ) -> u32 ); waveInStart(hwi.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1146,7 +1146,7 @@ pub unsafe fn waveInStop(hwi: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInStop ( hwi : HWAVEIN ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInStop ( hwi : HWAVEIN ) -> u32 ); waveInStop(hwi.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1155,7 +1155,7 @@ pub unsafe fn waveInUnprepareHeader(hwi: P0, pwh: *mut WAVEHDR, cbwh: u32) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveInUnprepareHeader ( hwi : HWAVEIN , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveInUnprepareHeader ( hwi : HWAVEIN , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); waveInUnprepareHeader(hwi.into(), pwh, cbwh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1164,7 +1164,7 @@ pub unsafe fn waveOutBreakLoop(hwo: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutBreakLoop ( hwo : HWAVEOUT ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutBreakLoop ( hwo : HWAVEOUT ) -> u32 ); waveOutBreakLoop(hwo.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1173,32 +1173,32 @@ pub unsafe fn waveOutClose(hwo: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutClose ( hwo : HWAVEOUT ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutClose ( hwo : HWAVEOUT ) -> u32 ); waveOutClose(hwo.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn waveOutGetDevCapsA(udeviceid: usize, pwoc: *mut WAVEOUTCAPSA, cbwoc: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetDevCapsA ( udeviceid : usize , pwoc : *mut WAVEOUTCAPSA , cbwoc : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetDevCapsA ( udeviceid : usize , pwoc : *mut WAVEOUTCAPSA , cbwoc : u32 ) -> u32 ); waveOutGetDevCapsA(udeviceid, pwoc, cbwoc) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveOutGetDevCapsW(udeviceid: usize, pwoc: *mut WAVEOUTCAPSW, cbwoc: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetDevCapsW ( udeviceid : usize , pwoc : *mut WAVEOUTCAPSW , cbwoc : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetDevCapsW ( udeviceid : usize , pwoc : *mut WAVEOUTCAPSW , cbwoc : u32 ) -> u32 ); waveOutGetDevCapsW(udeviceid, pwoc, cbwoc) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveOutGetErrorTextA(mmrerror: u32, psztext: &mut [u8]) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetErrorTextA ( mmrerror : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetErrorTextA ( mmrerror : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> u32 ); waveOutGetErrorTextA(mmrerror, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveOutGetErrorTextW(mmrerror: u32, psztext: &mut [u16]) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetErrorTextW ( mmrerror : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetErrorTextW ( mmrerror : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> u32 ); waveOutGetErrorTextW(mmrerror, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1207,13 +1207,13 @@ pub unsafe fn waveOutGetID(hwo: P0, pudeviceid: *mut u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetID ( hwo : HWAVEOUT , pudeviceid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetID ( hwo : HWAVEOUT , pudeviceid : *mut u32 ) -> u32 ); waveOutGetID(hwo.into(), pudeviceid) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveOutGetNumDevs() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetNumDevs ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetNumDevs ( ) -> u32 ); waveOutGetNumDevs() } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1222,7 +1222,7 @@ pub unsafe fn waveOutGetPitch(hwo: P0, pdwpitch: *mut u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetPitch ( hwo : HWAVEOUT , pdwpitch : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetPitch ( hwo : HWAVEOUT , pdwpitch : *mut u32 ) -> u32 ); waveOutGetPitch(hwo.into(), pdwpitch) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1231,7 +1231,7 @@ pub unsafe fn waveOutGetPlaybackRate(hwo: P0, pdwrate: *mut u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetPlaybackRate ( hwo : HWAVEOUT , pdwrate : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetPlaybackRate ( hwo : HWAVEOUT , pdwrate : *mut u32 ) -> u32 ); waveOutGetPlaybackRate(hwo.into(), pdwrate) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1240,7 +1240,7 @@ pub unsafe fn waveOutGetPosition(hwo: P0, pmmt: *mut super::MMTIME, cbmmt: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetPosition ( hwo : HWAVEOUT , pmmt : *mut super:: MMTIME , cbmmt : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetPosition ( hwo : HWAVEOUT , pmmt : *mut super:: MMTIME , cbmmt : u32 ) -> u32 ); waveOutGetPosition(hwo.into(), pmmt, cbmmt) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1249,7 +1249,7 @@ pub unsafe fn waveOutGetVolume(hwo: P0, pdwvolume: *mut u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutGetVolume ( hwo : HWAVEOUT , pdwvolume : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutGetVolume ( hwo : HWAVEOUT , pdwvolume : *mut u32 ) -> u32 ); waveOutGetVolume(hwo.into(), pdwvolume) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1258,13 +1258,13 @@ pub unsafe fn waveOutMessage(hwo: P0, umsg: u32, dw1: usize, dw2: usize) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutMessage ( hwo : HWAVEOUT , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutMessage ( hwo : HWAVEOUT , umsg : u32 , dw1 : usize , dw2 : usize ) -> u32 ); waveOutMessage(hwo.into(), umsg, dw1, dw2) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[inline] pub unsafe fn waveOutOpen(phwo: ::core::option::Option<*mut HWAVEOUT>, udeviceid: u32, pwfx: *const WAVEFORMATEX, dwcallback: usize, dwinstance: usize, fdwopen: MIDI_WAVE_OPEN_TYPE) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutOpen ( phwo : *mut HWAVEOUT , udeviceid : u32 , pwfx : *const WAVEFORMATEX , dwcallback : usize , dwinstance : usize , fdwopen : MIDI_WAVE_OPEN_TYPE ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutOpen ( phwo : *mut HWAVEOUT , udeviceid : u32 , pwfx : *const WAVEFORMATEX , dwcallback : usize , dwinstance : usize , fdwopen : MIDI_WAVE_OPEN_TYPE ) -> u32 ); waveOutOpen(::core::mem::transmute(phwo.unwrap_or(::std::ptr::null_mut())), udeviceid, pwfx, dwcallback, dwinstance, fdwopen) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1273,7 +1273,7 @@ pub unsafe fn waveOutPause(hwo: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutPause ( hwo : HWAVEOUT ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutPause ( hwo : HWAVEOUT ) -> u32 ); waveOutPause(hwo.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1282,7 +1282,7 @@ pub unsafe fn waveOutPrepareHeader(hwo: P0, pwh: *mut WAVEHDR, cbwh: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutPrepareHeader ( hwo : HWAVEOUT , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutPrepareHeader ( hwo : HWAVEOUT , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); waveOutPrepareHeader(hwo.into(), pwh, cbwh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1291,7 +1291,7 @@ pub unsafe fn waveOutReset(hwo: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutReset ( hwo : HWAVEOUT ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutReset ( hwo : HWAVEOUT ) -> u32 ); waveOutReset(hwo.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1300,7 +1300,7 @@ pub unsafe fn waveOutRestart(hwo: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutRestart ( hwo : HWAVEOUT ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutRestart ( hwo : HWAVEOUT ) -> u32 ); waveOutRestart(hwo.into()) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1309,7 +1309,7 @@ pub unsafe fn waveOutSetPitch(hwo: P0, dwpitch: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutSetPitch ( hwo : HWAVEOUT , dwpitch : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutSetPitch ( hwo : HWAVEOUT , dwpitch : u32 ) -> u32 ); waveOutSetPitch(hwo.into(), dwpitch) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1318,7 +1318,7 @@ pub unsafe fn waveOutSetPlaybackRate(hwo: P0, dwrate: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutSetPlaybackRate ( hwo : HWAVEOUT , dwrate : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutSetPlaybackRate ( hwo : HWAVEOUT , dwrate : u32 ) -> u32 ); waveOutSetPlaybackRate(hwo.into(), dwrate) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1327,7 +1327,7 @@ pub unsafe fn waveOutSetVolume(hwo: P0, dwvolume: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutSetVolume ( hwo : HWAVEOUT , dwvolume : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutSetVolume ( hwo : HWAVEOUT , dwvolume : u32 ) -> u32 ); waveOutSetVolume(hwo.into(), dwvolume) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1336,7 +1336,7 @@ pub unsafe fn waveOutUnprepareHeader(hwo: P0, pwh: *mut WAVEHDR, cbwh: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutUnprepareHeader ( hwo : HWAVEOUT , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutUnprepareHeader ( hwo : HWAVEOUT , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); waveOutUnprepareHeader(hwo.into(), pwh, cbwh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1345,7 +1345,7 @@ pub unsafe fn waveOutWrite(hwo: P0, pwh: *mut WAVEHDR, cbwh: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn waveOutWrite ( hwo : HWAVEOUT , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn waveOutWrite ( hwo : HWAVEOUT , pwh : *mut WAVEHDR , cbwh : u32 ) -> u32 ); waveOutWrite(hwo.into(), pwh, cbwh) } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1356,7 +1356,7 @@ impl IActivateAudioInterfaceAsyncOperation { (::windows::core::Vtable::vtable(self).GetActivateResult)(::windows::core::Vtable::as_raw(self), activateresult, ::core::mem::transmute(activatedinterface)).ok() } } -::windows::core::interface_hierarchy!(IActivateAudioInterfaceAsyncOperation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActivateAudioInterfaceAsyncOperation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActivateAudioInterfaceAsyncOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1396,7 +1396,7 @@ impl IActivateAudioInterfaceCompletionHandler { (::windows::core::Vtable::vtable(self).ActivateCompleted)(::windows::core::Vtable::as_raw(self), activateoperation.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IActivateAudioInterfaceCompletionHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActivateAudioInterfaceCompletionHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActivateAudioInterfaceCompletionHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1450,7 +1450,7 @@ impl IAudioAmbisonicsControl { (::windows::core::Vtable::vtable(self).SetRotation)(::windows::core::Vtable::as_raw(self), x, y, z, w).ok() } } -::windows::core::interface_hierarchy!(IAudioAmbisonicsControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioAmbisonicsControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioAmbisonicsControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1507,7 +1507,7 @@ impl IAudioAutoGainControl { (::windows::core::Vtable::vtable(self).SetEnabled)(::windows::core::Vtable::as_raw(self), benable.into(), ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioAutoGainControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioAutoGainControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioAutoGainControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1568,7 +1568,7 @@ impl IAudioBass { (::windows::core::Vtable::vtable(self).base__.SetLevelAllChannels)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(alevelsdb.as_ptr()), alevelsdb.len() as _, ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioBass, ::windows::core::IUnknown, IPerChannelDbLevel); +::windows::imp::interface_hierarchy!(IAudioBass, ::windows::core::IUnknown, IPerChannelDbLevel); impl ::core::cmp::PartialEq for IAudioBass { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1611,7 +1611,7 @@ impl IAudioCaptureClient { (::windows::core::Vtable::vtable(self).GetNextPacketSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioCaptureClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioCaptureClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioCaptureClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1654,7 +1654,7 @@ impl IAudioChannelConfig { (::windows::core::Vtable::vtable(self).GetChannelConfig)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioChannelConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioChannelConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioChannelConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1738,7 +1738,7 @@ impl IAudioClient { (::windows::core::Vtable::vtable(self).GetService)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1854,7 +1854,7 @@ impl IAudioClient2 { (::windows::core::Vtable::vtable(self).GetBufferSizeLimits)(::windows::core::Vtable::as_raw(self), pformat, beventdriven.into(), phnsminbufferduration, phnsmaxbufferduration).ok() } } -::windows::core::interface_hierarchy!(IAudioClient2, ::windows::core::IUnknown, IAudioClient); +::windows::imp::interface_hierarchy!(IAudioClient2, ::windows::core::IUnknown, IAudioClient); impl ::core::cmp::PartialEq for IAudioClient2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1976,7 +1976,7 @@ impl IAudioClient3 { (::windows::core::Vtable::vtable(self).InitializeSharedAudioStream)(::windows::core::Vtable::as_raw(self), streamflags, periodinframes, pformat, ::core::mem::transmute(audiosessionguid.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioClient3, ::windows::core::IUnknown, IAudioClient, IAudioClient2); +::windows::imp::interface_hierarchy!(IAudioClient3, ::windows::core::IUnknown, IAudioClient, IAudioClient2); impl ::core::cmp::PartialEq for IAudioClient3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2015,7 +2015,7 @@ impl IAudioClientDuckingControl { (::windows::core::Vtable::vtable(self).SetDuckingOptionsForCurrentStream)(::windows::core::Vtable::as_raw(self), options).ok() } } -::windows::core::interface_hierarchy!(IAudioClientDuckingControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioClientDuckingControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioClientDuckingControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2060,7 +2060,7 @@ impl IAudioClock { (::windows::core::Vtable::vtable(self).GetCharacteristics)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioClock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioClock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioClock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2099,7 +2099,7 @@ impl IAudioClock2 { (::windows::core::Vtable::vtable(self).GetDevicePosition)(::windows::core::Vtable::as_raw(self), deviceposition, ::core::mem::transmute(qpcposition.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IAudioClock2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioClock2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioClock2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2136,7 +2136,7 @@ impl IAudioClockAdjustment { (::windows::core::Vtable::vtable(self).SetSampleRate)(::windows::core::Vtable::as_raw(self), flsamplerate).ok() } } -::windows::core::interface_hierarchy!(IAudioClockAdjustment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioClockAdjustment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioClockAdjustment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2173,7 +2173,7 @@ impl IAudioEffectsChangedNotificationClient { (::windows::core::Vtable::vtable(self).OnAudioEffectsChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAudioEffectsChangedNotificationClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEffectsChangedNotificationClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEffectsChangedNotificationClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2227,7 +2227,7 @@ impl IAudioEffectsManager { (::windows::core::Vtable::vtable(self).SetAudioEffectState)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(effectid), state).ok() } } -::windows::core::interface_hierarchy!(IAudioEffectsManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEffectsManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEffectsManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2275,7 +2275,7 @@ impl IAudioFormatEnumerator { (::windows::core::Vtable::vtable(self).GetFormat)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioFormatEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioFormatEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioFormatEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2317,7 +2317,7 @@ impl IAudioInputSelector { (::windows::core::Vtable::vtable(self).SetSelection)(::windows::core::Vtable::as_raw(self), nidselect, ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioInputSelector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioInputSelector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioInputSelector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2366,7 +2366,7 @@ impl IAudioLoudness { (::windows::core::Vtable::vtable(self).SetEnabled)(::windows::core::Vtable::as_raw(self), benable.into(), ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioLoudness, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioLoudness, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioLoudness { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2427,7 +2427,7 @@ impl IAudioMidrange { (::windows::core::Vtable::vtable(self).base__.SetLevelAllChannels)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(alevelsdb.as_ptr()), alevelsdb.len() as _, ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioMidrange, ::windows::core::IUnknown, IPerChannelDbLevel); +::windows::imp::interface_hierarchy!(IAudioMidrange, ::windows::core::IUnknown, IPerChannelDbLevel); impl ::core::cmp::PartialEq for IAudioMidrange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2474,7 +2474,7 @@ impl IAudioMute { (::windows::core::Vtable::vtable(self).GetMute)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioMute, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioMute, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioMute { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2522,7 +2522,7 @@ impl IAudioOutputSelector { (::windows::core::Vtable::vtable(self).SetSelection)(::windows::core::Vtable::as_raw(self), nidselect, ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioOutputSelector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioOutputSelector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioOutputSelector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2565,7 +2565,7 @@ impl IAudioPeakMeter { (::windows::core::Vtable::vtable(self).GetLevel)(::windows::core::Vtable::as_raw(self), nchannel, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioPeakMeter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioPeakMeter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioPeakMeter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2607,7 +2607,7 @@ impl IAudioRenderClient { (::windows::core::Vtable::vtable(self).ReleaseBuffer)(::windows::core::Vtable::as_raw(self), numframeswritten, dwflags).ok() } } -::windows::core::interface_hierarchy!(IAudioRenderClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioRenderClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioRenderClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2685,7 +2685,7 @@ impl IAudioSessionControl { (::windows::core::Vtable::vtable(self).UnregisterAudioSessionNotification)(::windows::core::Vtable::as_raw(self), newnotifications.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAudioSessionControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSessionControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSessionControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2793,7 +2793,7 @@ impl IAudioSessionControl2 { (::windows::core::Vtable::vtable(self).SetDuckingPreference)(::windows::core::Vtable::as_raw(self), optout.into()).ok() } } -::windows::core::interface_hierarchy!(IAudioSessionControl2, ::windows::core::IUnknown, IAudioSessionControl); +::windows::imp::interface_hierarchy!(IAudioSessionControl2, ::windows::core::IUnknown, IAudioSessionControl); impl ::core::cmp::PartialEq for IAudioSessionControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2842,7 +2842,7 @@ impl IAudioSessionEnumerator { (::windows::core::Vtable::vtable(self).GetSession)(::windows::core::Vtable::as_raw(self), sessioncount, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioSessionEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSessionEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSessionEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2909,7 +2909,7 @@ impl IAudioSessionEvents { (::windows::core::Vtable::vtable(self).OnSessionDisconnected)(::windows::core::Vtable::as_raw(self), disconnectreason).ok() } } -::windows::core::interface_hierarchy!(IAudioSessionEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSessionEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSessionEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2960,7 +2960,7 @@ impl IAudioSessionManager { (::windows::core::Vtable::vtable(self).GetSimpleAudioVolume)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(audiosessionguid.unwrap_or(::std::ptr::null())), streamflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioSessionManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSessionManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSessionManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3032,7 +3032,7 @@ impl IAudioSessionManager2 { (::windows::core::Vtable::vtable(self).UnregisterDuckNotification)(::windows::core::Vtable::as_raw(self), ducknotification.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAudioSessionManager2, ::windows::core::IUnknown, IAudioSessionManager); +::windows::imp::interface_hierarchy!(IAudioSessionManager2, ::windows::core::IUnknown, IAudioSessionManager); impl ::core::cmp::PartialEq for IAudioSessionManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3076,7 +3076,7 @@ impl IAudioSessionNotification { (::windows::core::Vtable::vtable(self).OnSessionCreated)(::windows::core::Vtable::as_raw(self), newsession.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAudioSessionNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSessionNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSessionNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3120,7 +3120,7 @@ impl IAudioStateMonitor { (::windows::core::Vtable::vtable(self).GetSoundLevel)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IAudioStateMonitor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioStateMonitor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioStateMonitor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3173,7 +3173,7 @@ impl IAudioStreamVolume { (::windows::core::Vtable::vtable(self).GetAllVolumes)(::windows::core::Vtable::as_raw(self), pfvolumes.len() as _, ::core::mem::transmute(pfvolumes.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IAudioStreamVolume, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioStreamVolume, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioStreamVolume { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3216,7 +3216,7 @@ impl IAudioSystemEffectsPropertyChangeNotificationClient { (::windows::core::Vtable::vtable(self).OnPropertyChanged)(::windows::core::Vtable::as_raw(self), r#type, ::core::mem::transmute(key)).ok() } } -::windows::core::interface_hierarchy!(IAudioSystemEffectsPropertyChangeNotificationClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSystemEffectsPropertyChangeNotificationClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSystemEffectsPropertyChangeNotificationClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3289,7 +3289,7 @@ impl IAudioSystemEffectsPropertyStore { (::windows::core::Vtable::vtable(self).UnregisterPropertyChangeNotification)(::windows::core::Vtable::as_raw(self), callback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAudioSystemEffectsPropertyStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSystemEffectsPropertyStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSystemEffectsPropertyStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3358,7 +3358,7 @@ impl IAudioTreble { (::windows::core::Vtable::vtable(self).base__.SetLevelAllChannels)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(alevelsdb.as_ptr()), alevelsdb.len() as _, ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioTreble, ::windows::core::IUnknown, IPerChannelDbLevel); +::windows::imp::interface_hierarchy!(IAudioTreble, ::windows::core::IUnknown, IPerChannelDbLevel); impl ::core::cmp::PartialEq for IAudioTreble { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3403,7 +3403,7 @@ impl IAudioVolumeDuckNotification { (::windows::core::Vtable::vtable(self).OnVolumeUnduckNotification)(::windows::core::Vtable::as_raw(self), sessionid.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAudioVolumeDuckNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioVolumeDuckNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioVolumeDuckNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3458,7 +3458,7 @@ impl IAudioVolumeLevel { (::windows::core::Vtable::vtable(self).base__.SetLevelAllChannels)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(alevelsdb.as_ptr()), alevelsdb.len() as _, ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAudioVolumeLevel, ::windows::core::IUnknown, IPerChannelDbLevel); +::windows::imp::interface_hierarchy!(IAudioVolumeLevel, ::windows::core::IUnknown, IPerChannelDbLevel); impl ::core::cmp::PartialEq for IAudioVolumeLevel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3508,7 +3508,7 @@ impl IChannelAudioVolume { (::windows::core::Vtable::vtable(self).GetAllVolumes)(::windows::core::Vtable::as_raw(self), pfvolumes.len() as _, ::core::mem::transmute(pfvolumes.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IChannelAudioVolume, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IChannelAudioVolume, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IChannelAudioVolume { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3581,7 +3581,7 @@ impl IConnector { (::windows::core::Vtable::vtable(self).GetDeviceIdConnectedTo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConnector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConnector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConnector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3628,7 +3628,7 @@ impl IControlChangeNotify { (::windows::core::Vtable::vtable(self).OnNotify)(::windows::core::Vtable::as_raw(self), dwsenderprocessid, ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IControlChangeNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IControlChangeNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IControlChangeNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3670,7 +3670,7 @@ impl IControlInterface { (::windows::core::Vtable::vtable(self).GetIID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IControlInterface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IControlInterface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IControlInterface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3718,7 +3718,7 @@ impl IDeviceSpecificProperty { (::windows::core::Vtable::vtable(self).Get4BRange)(::windows::core::Vtable::as_raw(self), plmin, plmax, plstepping).ok() } } -::windows::core::interface_hierarchy!(IDeviceSpecificProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDeviceSpecificProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDeviceSpecificProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3790,7 +3790,7 @@ impl IDeviceTopology { (::windows::core::Vtable::vtable(self).GetSignalPath)(::windows::core::Vtable::as_raw(self), pipartfrom.into().abi(), pipartto.into().abi(), brejectmixedpaths.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDeviceTopology, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDeviceTopology, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDeviceTopology { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3856,7 +3856,7 @@ impl IMMDevice { (::windows::core::Vtable::vtable(self).GetState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMMDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMMDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMMDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3907,7 +3907,7 @@ impl IMMDeviceActivator { (::windows::core::Vtable::vtable(self).Activate)(::windows::core::Vtable::as_raw(self), iid, pdevice.into().abi(), ::core::mem::transmute(pactivationparams.unwrap_or(::std::ptr::null())), ppinterface).ok() } } -::windows::core::interface_hierarchy!(IMMDeviceActivator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMMDeviceActivator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMMDeviceActivator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3952,7 +3952,7 @@ impl IMMDeviceCollection { (::windows::core::Vtable::vtable(self).Item)(::windows::core::Vtable::as_raw(self), ndevice, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMMDeviceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMMDeviceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMMDeviceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4014,7 +4014,7 @@ impl IMMDeviceEnumerator { (::windows::core::Vtable::vtable(self).UnregisterEndpointNotificationCallback)(::windows::core::Vtable::as_raw(self), pclient.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMMDeviceEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMMDeviceEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMMDeviceEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4056,7 +4056,7 @@ impl IMMEndpoint { (::windows::core::Vtable::vtable(self).GetDataFlow)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMMEndpoint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMMEndpoint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMMEndpoint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4122,7 +4122,7 @@ impl IMMNotificationClient { (::windows::core::Vtable::vtable(self).OnPropertyValueChanged)(::windows::core::Vtable::as_raw(self), pwstrdeviceid.into().abi(), ::core::mem::transmute(key)).ok() } } -::windows::core::interface_hierarchy!(IMMNotificationClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMMNotificationClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMMNotificationClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4183,7 +4183,7 @@ impl IMessageFilter { (::windows::core::Vtable::vtable(self).MessagePending)(::windows::core::Vtable::as_raw(self), htaskcallee.into(), dwtickcount, dwpendingtype) } } -::windows::core::interface_hierarchy!(IMessageFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMessageFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMessageFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4277,7 +4277,7 @@ impl IPart { (::windows::core::Vtable::vtable(self).UnregisterControlChangeCallback)(::windows::core::Vtable::as_raw(self), pnotify.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPart, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPart, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPart { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4331,7 +4331,7 @@ impl IPartsList { (::windows::core::Vtable::vtable(self).GetPart)(::windows::core::Vtable::as_raw(self), nindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPartsList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPartsList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPartsList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4386,7 +4386,7 @@ impl IPerChannelDbLevel { (::windows::core::Vtable::vtable(self).SetLevelAllChannels)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(alevelsdb.as_ptr()), alevelsdb.len() as _, ::core::mem::transmute(pguideventcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IPerChannelDbLevel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPerChannelDbLevel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPerChannelDbLevel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4446,7 +4446,7 @@ impl ISimpleAudioVolume { (::windows::core::Vtable::vtable(self).GetMute)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISimpleAudioVolume, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimpleAudioVolume, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimpleAudioVolume { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4525,7 +4525,7 @@ impl ISpatialAudioClient { (::windows::core::Vtable::vtable(self).ActivateSpatialAudioStream)(::windows::core::Vtable::as_raw(self), activationparams, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4623,7 +4623,7 @@ impl ISpatialAudioClient2 { (::windows::core::Vtable::vtable(self).GetMaxFrameCountForCategory)(::windows::core::Vtable::as_raw(self), category, offloadenabled.into(), objectformat, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioClient2, ::windows::core::IUnknown, ISpatialAudioClient); +::windows::imp::interface_hierarchy!(ISpatialAudioClient2, ::windows::core::IUnknown, ISpatialAudioClient); impl ::core::cmp::PartialEq for ISpatialAudioClient2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4683,7 +4683,7 @@ impl ISpatialAudioMetadataClient { (::windows::core::Vtable::vtable(self).ActivateSpatialAudioMetadataReader)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioMetadataClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioMetadataClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioMetadataClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4737,7 +4737,7 @@ impl ISpatialAudioMetadataCopier { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioMetadataCopier, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioMetadataCopier, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioMetadataCopier { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4793,7 +4793,7 @@ impl ISpatialAudioMetadataItems { (::windows::core::Vtable::vtable(self).GetInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioMetadataItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioMetadataItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioMetadataItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4840,7 +4840,7 @@ impl ISpatialAudioMetadataItemsBuffer { (::windows::core::Vtable::vtable(self).DetachBuffer)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioMetadataItemsBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioMetadataItemsBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioMetadataItemsBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4891,7 +4891,7 @@ impl ISpatialAudioMetadataReader { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioMetadataReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioMetadataReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioMetadataReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4943,7 +4943,7 @@ impl ISpatialAudioMetadataWriter { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioMetadataWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioMetadataWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioMetadataWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5002,7 +5002,7 @@ impl ISpatialAudioObject { (::windows::core::Vtable::vtable(self).SetVolume)(::windows::core::Vtable::as_raw(self), volume).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioObject, ::windows::core::IUnknown, ISpatialAudioObjectBase); +::windows::imp::interface_hierarchy!(ISpatialAudioObject, ::windows::core::IUnknown, ISpatialAudioObjectBase); impl ::core::cmp::PartialEq for ISpatialAudioObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5053,7 +5053,7 @@ impl ISpatialAudioObjectBase { (::windows::core::Vtable::vtable(self).GetAudioObjectType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectBase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectBase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioObjectBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5127,7 +5127,7 @@ impl ISpatialAudioObjectForHrtf { (::windows::core::Vtable::vtable(self).SetDirectivity)(::windows::core::Vtable::as_raw(self), directivity).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectForHrtf, ::windows::core::IUnknown, ISpatialAudioObjectBase); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectForHrtf, ::windows::core::IUnknown, ISpatialAudioObjectBase); impl ::core::cmp::PartialEq for ISpatialAudioObjectForHrtf { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5185,7 +5185,7 @@ impl ISpatialAudioObjectForMetadataCommands { (::windows::core::Vtable::vtable(self).WriteNextMetadataCommand)(::windows::core::Vtable::as_raw(self), commandid, ::core::mem::transmute(valuebuffer.unwrap_or(::std::ptr::null())), valuebufferlength).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectForMetadataCommands, ::windows::core::IUnknown, ISpatialAudioObjectBase); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectForMetadataCommands, ::windows::core::IUnknown, ISpatialAudioObjectBase); impl ::core::cmp::PartialEq for ISpatialAudioObjectForMetadataCommands { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5239,7 +5239,7 @@ impl ISpatialAudioObjectForMetadataItems { (::windows::core::Vtable::vtable(self).GetSpatialAudioMetadataItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectForMetadataItems, ::windows::core::IUnknown, ISpatialAudioObjectBase); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectForMetadataItems, ::windows::core::IUnknown, ISpatialAudioObjectBase); impl ::core::cmp::PartialEq for ISpatialAudioObjectForMetadataItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5303,7 +5303,7 @@ impl ISpatialAudioObjectRenderStream { (::windows::core::Vtable::vtable(self).ActivateSpatialAudioObject)(::windows::core::Vtable::as_raw(self), r#type, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectRenderStream, ::windows::core::IUnknown, ISpatialAudioObjectRenderStreamBase); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectRenderStream, ::windows::core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5363,7 +5363,7 @@ impl ISpatialAudioObjectRenderStreamBase { (::windows::core::Vtable::vtable(self).EndUpdatingAudioObjects)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectRenderStreamBase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamBase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStreamBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5433,7 +5433,7 @@ impl ISpatialAudioObjectRenderStreamForHrtf { (::windows::core::Vtable::vtable(self).ActivateSpatialAudioObjectForHrtf)(::windows::core::Vtable::as_raw(self), r#type, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectRenderStreamForHrtf, ::windows::core::IUnknown, ISpatialAudioObjectRenderStreamBase); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamForHrtf, ::windows::core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStreamForHrtf { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5501,7 +5501,7 @@ impl ISpatialAudioObjectRenderStreamForMetadata { (::windows::core::Vtable::vtable(self).ActivateSpatialAudioObjectForMetadataItems)(::windows::core::Vtable::as_raw(self), r#type, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectRenderStreamForMetadata, ::windows::core::IUnknown, ISpatialAudioObjectRenderStreamBase); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamForMetadata, ::windows::core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStreamForMetadata { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5542,7 +5542,7 @@ impl ISpatialAudioObjectRenderStreamNotify { (::windows::core::Vtable::vtable(self).OnAvailableDynamicObjectCountChange)(::windows::core::Vtable::as_raw(self), sender.into().abi(), hnscompliancedeadlinetime, availabledynamicobjectcountchange).ok() } } -::windows::core::interface_hierarchy!(ISpatialAudioObjectRenderStreamNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStreamNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5575,7 +5575,7 @@ pub struct ISpatialAudioObjectRenderStreamNotify_Vtbl { #[repr(transparent)] pub struct ISubunit(::windows::core::IUnknown); impl ISubunit {} -::windows::core::interface_hierarchy!(ISubunit, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISubunit, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISubunit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs index 786d5a2572..5a05b7143e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs @@ -9,7 +9,7 @@ impl IComponentAuthenticate { (::windows::core::Vtable::vtable(self).SACGetProtocols)(::windows::core::Vtable::as_raw(self), ppdwprotocols, pdwprotocolcount).ok() } } -::windows::core::interface_hierarchy!(IComponentAuthenticate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComponentAuthenticate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComponentAuthenticate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -84,7 +84,7 @@ impl IMDSPDevice { (::windows::core::Vtable::vtable(self).SendOpaqueCommand)(::windows::core::Vtable::as_raw(self), pcommand).ok() } } -::windows::core::interface_hierarchy!(IMDSPDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -191,7 +191,7 @@ impl IMDSPDevice2 { (::windows::core::Vtable::vtable(self).GetCanonicalName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwszpnpname.as_ptr()), pwszpnpname.len() as _).ok() } } -::windows::core::interface_hierarchy!(IMDSPDevice2, ::windows::core::IUnknown, IMDSPDevice); +::windows::imp::interface_hierarchy!(IMDSPDevice2, ::windows::core::IUnknown, IMDSPDevice); impl ::core::cmp::PartialEq for IMDSPDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -327,7 +327,7 @@ impl IMDSPDevice3 { (::windows::core::Vtable::vtable(self).FindStorage)(::windows::core::Vtable::as_raw(self), findscope, pwszuniqueid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDSPDevice3, ::windows::core::IUnknown, IMDSPDevice, IMDSPDevice2); +::windows::imp::interface_hierarchy!(IMDSPDevice3, ::windows::core::IUnknown, IMDSPDevice, IMDSPDevice2); impl ::core::cmp::PartialEq for IMDSPDevice3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -402,7 +402,7 @@ impl IMDSPDeviceControl { (::windows::core::Vtable::vtable(self).Seek)(::windows::core::Vtable::as_raw(self), fumode, noffset).ok() } } -::windows::core::interface_hierarchy!(IMDSPDeviceControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPDeviceControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPDeviceControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -457,7 +457,7 @@ impl IMDSPDirectTransfer { (::windows::core::Vtable::vtable(self).TransferToDevice)(::windows::core::Vtable::as_raw(self), pwszsourcefilepath.into().abi(), psourceoperation.into().abi(), fuflags, pwszdestinationname.into().abi(), psourcemetadata.into().abi(), ptransferprogress.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDSPDirectTransfer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPDirectTransfer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPDirectTransfer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -505,7 +505,7 @@ impl IMDSPEnumDevice { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDSPEnumDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPEnumDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPEnumDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -556,7 +556,7 @@ impl IMDSPEnumStorage { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDSPEnumStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPEnumStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPEnumStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -628,7 +628,7 @@ impl IMDSPObject { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMDSPObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -710,7 +710,7 @@ impl IMDSPObject2 { (::windows::core::Vtable::vtable(self).WriteOnClearChannel)(::windows::core::Vtable::as_raw(self), pdata, pdwsize).ok() } } -::windows::core::interface_hierarchy!(IMDSPObject2, ::windows::core::IUnknown, IMDSPObject); +::windows::imp::interface_hierarchy!(IMDSPObject2, ::windows::core::IUnknown, IMDSPObject); impl ::core::cmp::PartialEq for IMDSPObject2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -771,7 +771,7 @@ impl IMDSPObjectInfo { (::windows::core::Vtable::vtable(self).GetLongestPlayPosition)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDSPObjectInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPObjectInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPObjectInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -814,7 +814,7 @@ impl IMDSPRevoked { (::windows::core::Vtable::vtable(self).GetRevocationURL)(::windows::core::Vtable::as_raw(self), ppwszrevocationurl, pdwbufferlen).ok() } } -::windows::core::interface_hierarchy!(IMDSPRevoked, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPRevoked, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPRevoked { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -891,7 +891,7 @@ impl IMDSPStorage { (::windows::core::Vtable::vtable(self).SendOpaqueCommand)(::windows::core::Vtable::as_raw(self), pcommand).ok() } } -::windows::core::interface_hierarchy!(IMDSPStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1012,7 +1012,7 @@ impl IMDSPStorage2 { (::windows::core::Vtable::vtable(self).GetAttributes2)(::windows::core::Vtable::as_raw(self), pdwattributes, pdwattributesex, ::core::mem::transmute(paudioformat.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvideoformat.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMDSPStorage2, ::windows::core::IUnknown, IMDSPStorage); +::windows::imp::interface_hierarchy!(IMDSPStorage2, ::windows::core::IUnknown, IMDSPStorage); impl ::core::cmp::PartialEq for IMDSPStorage2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1139,7 +1139,7 @@ impl IMDSPStorage3 { (::windows::core::Vtable::vtable(self).SetMetadata)(::windows::core::Vtable::as_raw(self), pmetadata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMDSPStorage3, ::windows::core::IUnknown, IMDSPStorage, IMDSPStorage2); +::windows::imp::interface_hierarchy!(IMDSPStorage3, ::windows::core::IUnknown, IMDSPStorage, IMDSPStorage2); impl ::core::cmp::PartialEq for IMDSPStorage3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1286,7 +1286,7 @@ impl IMDSPStorage4 { (::windows::core::Vtable::vtable(self).GetParent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDSPStorage4, ::windows::core::IUnknown, IMDSPStorage, IMDSPStorage2, IMDSPStorage3); +::windows::imp::interface_hierarchy!(IMDSPStorage4, ::windows::core::IUnknown, IMDSPStorage, IMDSPStorage2, IMDSPStorage3); impl ::core::cmp::PartialEq for IMDSPStorage4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1359,7 +1359,7 @@ impl IMDSPStorageGlobals { (::windows::core::Vtable::vtable(self).GetRootStorage)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDSPStorageGlobals, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDSPStorageGlobals, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDSPStorageGlobals { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1409,7 +1409,7 @@ impl IMDServiceProvider { (::windows::core::Vtable::vtable(self).EnumDevices)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDServiceProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDServiceProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDServiceProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1458,7 +1458,7 @@ impl IMDServiceProvider2 { (::windows::core::Vtable::vtable(self).CreateDevice)(::windows::core::Vtable::as_raw(self), pwszdevicepath.into().abi(), pdwcount, pppdevicearray).ok() } } -::windows::core::interface_hierarchy!(IMDServiceProvider2, ::windows::core::IUnknown, IMDServiceProvider); +::windows::imp::interface_hierarchy!(IMDServiceProvider2, ::windows::core::IUnknown, IMDServiceProvider); impl ::core::cmp::PartialEq for IMDServiceProvider2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1509,7 +1509,7 @@ impl IMDServiceProvider3 { (::windows::core::Vtable::vtable(self).SetDeviceEnumPreference)(::windows::core::Vtable::as_raw(self), dwenumpref).ok() } } -::windows::core::interface_hierarchy!(IMDServiceProvider3, ::windows::core::IUnknown, IMDServiceProvider, IMDServiceProvider2); +::windows::imp::interface_hierarchy!(IMDServiceProvider3, ::windows::core::IUnknown, IMDServiceProvider, IMDServiceProvider2); impl ::core::cmp::PartialEq for IMDServiceProvider3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1547,7 +1547,7 @@ impl ISCPSecureAuthenticate { (::windows::core::Vtable::vtable(self).GetSecureQuery)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISCPSecureAuthenticate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISCPSecureAuthenticate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISCPSecureAuthenticate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1589,7 +1589,7 @@ impl ISCPSecureAuthenticate2 { (::windows::core::Vtable::vtable(self).GetSCPSession)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISCPSecureAuthenticate2, ::windows::core::IUnknown, ISCPSecureAuthenticate); +::windows::imp::interface_hierarchy!(ISCPSecureAuthenticate2, ::windows::core::IUnknown, ISCPSecureAuthenticate); impl ::core::cmp::PartialEq for ISCPSecureAuthenticate2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1632,7 +1632,7 @@ impl ISCPSecureExchange { (::windows::core::Vtable::vtable(self).TransferComplete)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISCPSecureExchange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISCPSecureExchange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISCPSecureExchange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1683,7 +1683,7 @@ impl ISCPSecureExchange2 { (::windows::core::Vtable::vtable(self).TransferContainerData2)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdata.as_ptr()), pdata.len() as _, pprogresscallback.into().abi(), pfureadyflags, abmac).ok() } } -::windows::core::interface_hierarchy!(ISCPSecureExchange2, ::windows::core::IUnknown, ISCPSecureExchange); +::windows::imp::interface_hierarchy!(ISCPSecureExchange2, ::windows::core::IUnknown, ISCPSecureExchange); impl ::core::cmp::PartialEq for ISCPSecureExchange2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1752,7 +1752,7 @@ impl ISCPSecureExchange3 { (::windows::core::Vtable::vtable(self).TransferCompleteForDevice)(::windows::core::Vtable::as_raw(self), pdevice.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISCPSecureExchange3, ::windows::core::IUnknown, ISCPSecureExchange, ISCPSecureExchange2); +::windows::imp::interface_hierarchy!(ISCPSecureExchange3, ::windows::core::IUnknown, ISCPSecureExchange, ISCPSecureExchange2); impl ::core::cmp::PartialEq for ISCPSecureExchange3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1809,7 +1809,7 @@ impl ISCPSecureQuery { (::windows::core::Vtable::vtable(self).GetRights)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdata.as_ptr()), pdata.len() as _, ::core::mem::transmute(pbspsessionkey.as_ptr()), pbspsessionkey.len() as _, pstgglobals.into().abi(), pprights, pnrightscount, abmac).ok() } } -::windows::core::interface_hierarchy!(ISCPSecureQuery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISCPSecureQuery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISCPSecureQuery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1895,7 +1895,7 @@ impl ISCPSecureQuery2 { .ok() } } -::windows::core::interface_hierarchy!(ISCPSecureQuery2, ::windows::core::IUnknown, ISCPSecureQuery); +::windows::imp::interface_hierarchy!(ISCPSecureQuery2, ::windows::core::IUnknown, ISCPSecureQuery); impl ::core::cmp::PartialEq for ISCPSecureQuery2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2014,7 +2014,7 @@ impl ISCPSecureQuery3 { .ok() } } -::windows::core::interface_hierarchy!(ISCPSecureQuery3, ::windows::core::IUnknown, ISCPSecureQuery, ISCPSecureQuery2); +::windows::imp::interface_hierarchy!(ISCPSecureQuery3, ::windows::core::IUnknown, ISCPSecureQuery, ISCPSecureQuery2); impl ::core::cmp::PartialEq for ISCPSecureQuery3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2062,7 +2062,7 @@ impl ISCPSession { (::windows::core::Vtable::vtable(self).GetSecureQuery)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISCPSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISCPSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISCPSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2138,7 +2138,7 @@ impl IWMDMDevice { (::windows::core::Vtable::vtable(self).SendOpaqueCommand)(::windows::core::Vtable::as_raw(self), pcommand).ok() } } -::windows::core::interface_hierarchy!(IWMDMDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2245,7 +2245,7 @@ impl IWMDMDevice2 { (::windows::core::Vtable::vtable(self).GetCanonicalName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwszpnpname.as_ptr()), pwszpnpname.len() as _).ok() } } -::windows::core::interface_hierarchy!(IWMDMDevice2, ::windows::core::IUnknown, IWMDMDevice); +::windows::imp::interface_hierarchy!(IWMDMDevice2, ::windows::core::IUnknown, IWMDMDevice); impl ::core::cmp::PartialEq for IWMDMDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2381,7 +2381,7 @@ impl IWMDMDevice3 { (::windows::core::Vtable::vtable(self).FindStorage)(::windows::core::Vtable::as_raw(self), findscope, pwszuniqueid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDMDevice3, ::windows::core::IUnknown, IWMDMDevice, IWMDMDevice2); +::windows::imp::interface_hierarchy!(IWMDMDevice3, ::windows::core::IUnknown, IWMDMDevice, IWMDMDevice2); impl ::core::cmp::PartialEq for IWMDMDevice3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2456,7 +2456,7 @@ impl IWMDMDeviceControl { (::windows::core::Vtable::vtable(self).Seek)(::windows::core::Vtable::as_raw(self), fumode, noffset).ok() } } -::windows::core::interface_hierarchy!(IWMDMDeviceControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMDeviceControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMDeviceControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2506,7 +2506,7 @@ impl IWMDMDeviceSession { (::windows::core::Vtable::vtable(self).EndSession)(::windows::core::Vtable::as_raw(self), r#type, ::core::mem::transmute(pctx.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pctx.as_deref().map_or(0, |slice| slice.len() as _)).ok() } } -::windows::core::interface_hierarchy!(IWMDMDeviceSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMDeviceSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMDeviceSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2555,7 +2555,7 @@ impl IWMDMEnumDevice { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDMEnumDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMEnumDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMEnumDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2606,7 +2606,7 @@ impl IWMDMEnumStorage { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDMEnumStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMEnumStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMEnumStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2689,7 +2689,7 @@ impl IWMDMLogger { (::windows::core::Vtable::vtable(self).SetSizeParams)(::windows::core::Vtable::as_raw(self), dwmaxsize, dwshrinktosize).ok() } } -::windows::core::interface_hierarchy!(IWMDMLogger, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMLogger, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMLogger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2756,7 +2756,7 @@ impl IWMDMMetaData { (::windows::core::Vtable::vtable(self).GetItemCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDMMetaData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMMetaData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMMetaData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2799,7 +2799,7 @@ impl IWMDMNotification { (::windows::core::Vtable::vtable(self).WMDMMessage)(::windows::core::Vtable::as_raw(self), dwmessagetype, pwszcanonicalname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMDMNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2859,7 +2859,7 @@ impl IWMDMObjectInfo { (::windows::core::Vtable::vtable(self).GetLongestPlayPosition)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDMObjectInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMObjectInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMObjectInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2936,7 +2936,7 @@ impl IWMDMOperation { (::windows::core::Vtable::vtable(self).End)(::windows::core::Vtable::as_raw(self), phcompletioncode, pnewobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMDMOperation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMOperation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3032,7 +3032,7 @@ impl IWMDMOperation2 { (::windows::core::Vtable::vtable(self).GetObjectAttributes2)(::windows::core::Vtable::as_raw(self), pdwattributes, pdwattributesex, ::core::mem::transmute(paudioformat.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvideoformat.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IWMDMOperation2, ::windows::core::IUnknown, IWMDMOperation); +::windows::imp::interface_hierarchy!(IWMDMOperation2, ::windows::core::IUnknown, IWMDMOperation); impl ::core::cmp::PartialEq for IWMDMOperation2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3113,7 +3113,7 @@ impl IWMDMOperation3 { (::windows::core::Vtable::vtable(self).TransferObjectDataOnClearChannel)(::windows::core::Vtable::as_raw(self), pdata, pdwsize).ok() } } -::windows::core::interface_hierarchy!(IWMDMOperation3, ::windows::core::IUnknown, IWMDMOperation); +::windows::imp::interface_hierarchy!(IWMDMOperation3, ::windows::core::IUnknown, IWMDMOperation); impl ::core::cmp::PartialEq for IWMDMOperation3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3156,7 +3156,7 @@ impl IWMDMProgress { (::windows::core::Vtable::vtable(self).End)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMDMProgress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMProgress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3204,7 +3204,7 @@ impl IWMDMProgress2 { (::windows::core::Vtable::vtable(self).End2)(::windows::core::Vtable::as_raw(self), hrcompletioncode).ok() } } -::windows::core::interface_hierarchy!(IWMDMProgress2, ::windows::core::IUnknown, IWMDMProgress); +::windows::imp::interface_hierarchy!(IWMDMProgress2, ::windows::core::IUnknown, IWMDMProgress); impl ::core::cmp::PartialEq for IWMDMProgress2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3259,7 +3259,7 @@ impl IWMDMProgress3 { (::windows::core::Vtable::vtable(self).End3)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(eventid), hrcompletioncode, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IWMDMProgress3, ::windows::core::IUnknown, IWMDMProgress, IWMDMProgress2); +::windows::imp::interface_hierarchy!(IWMDMProgress3, ::windows::core::IUnknown, IWMDMProgress, IWMDMProgress2); impl ::core::cmp::PartialEq for IWMDMProgress3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3298,7 +3298,7 @@ impl IWMDMRevoked { (::windows::core::Vtable::vtable(self).GetRevocationURL)(::windows::core::Vtable::as_raw(self), ppwszrevocationurl, pdwbufferlen, pdwrevokedbitflag).ok() } } -::windows::core::interface_hierarchy!(IWMDMRevoked, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMRevoked, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMRevoked { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3366,7 +3366,7 @@ impl IWMDMStorage { (::windows::core::Vtable::vtable(self).SendOpaqueCommand)(::windows::core::Vtable::as_raw(self), pcommand).ok() } } -::windows::core::interface_hierarchy!(IWMDMStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3465,7 +3465,7 @@ impl IWMDMStorage2 { (::windows::core::Vtable::vtable(self).GetAttributes2)(::windows::core::Vtable::as_raw(self), pdwattributes, pdwattributesex, ::core::mem::transmute(paudioformat.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvideoformat.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IWMDMStorage2, ::windows::core::IUnknown, IWMDMStorage); +::windows::imp::interface_hierarchy!(IWMDMStorage2, ::windows::core::IUnknown, IWMDMStorage); impl ::core::cmp::PartialEq for IWMDMStorage2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3575,7 +3575,7 @@ impl IWMDMStorage3 { (::windows::core::Vtable::vtable(self).SetEnumPreference)(::windows::core::Vtable::as_raw(self), pmode, pviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } } -::windows::core::interface_hierarchy!(IWMDMStorage3, ::windows::core::IUnknown, IWMDMStorage, IWMDMStorage2); +::windows::imp::interface_hierarchy!(IWMDMStorage3, ::windows::core::IUnknown, IWMDMStorage, IWMDMStorage2); impl ::core::cmp::PartialEq for IWMDMStorage3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3707,7 +3707,7 @@ impl IWMDMStorage4 { (::windows::core::Vtable::vtable(self).GetParent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDMStorage4, ::windows::core::IUnknown, IWMDMStorage, IWMDMStorage2, IWMDMStorage3); +::windows::imp::interface_hierarchy!(IWMDMStorage4, ::windows::core::IUnknown, IWMDMStorage, IWMDMStorage2, IWMDMStorage3); impl ::core::cmp::PartialEq for IWMDMStorage4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3783,7 +3783,7 @@ impl IWMDMStorageControl { (::windows::core::Vtable::vtable(self).Move)(::windows::core::Vtable::as_raw(self), fumode, ptargetobject.into().abi(), pprogress.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMDMStorageControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMStorageControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMStorageControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3868,7 +3868,7 @@ impl IWMDMStorageControl2 { (::windows::core::Vtable::vtable(self).Insert2)(::windows::core::Vtable::as_raw(self), fumode, pwszfilesource.into().abi(), pwszfiledest.into().abi(), poperation.into().abi(), pprogress.into().abi(), punknown.into().abi(), ::core::mem::transmute(ppnewobject.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IWMDMStorageControl2, ::windows::core::IUnknown, IWMDMStorageControl); +::windows::imp::interface_hierarchy!(IWMDMStorageControl2, ::windows::core::IUnknown, IWMDMStorageControl); impl ::core::cmp::PartialEq for IWMDMStorageControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3960,7 +3960,7 @@ impl IWMDMStorageControl3 { (::windows::core::Vtable::vtable(self).Insert3)(::windows::core::Vtable::as_raw(self), fumode, futype, pwszfilesource.into().abi(), pwszfiledest.into().abi(), poperation.into().abi(), pprogress.into().abi(), pmetadata.into().abi(), punknown.into().abi(), ::core::mem::transmute(ppnewobject.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IWMDMStorageControl3, ::windows::core::IUnknown, IWMDMStorageControl, IWMDMStorageControl2); +::windows::imp::interface_hierarchy!(IWMDMStorageControl3, ::windows::core::IUnknown, IWMDMStorageControl, IWMDMStorageControl2); impl ::core::cmp::PartialEq for IWMDMStorageControl3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4020,7 +4020,7 @@ impl IWMDMStorageGlobals { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), fumode, pprogress.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMDMStorageGlobals, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDMStorageGlobals, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDMStorageGlobals { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4072,7 +4072,7 @@ impl IWMDeviceManager { (::windows::core::Vtable::vtable(self).EnumDevices)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDeviceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDeviceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDeviceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4134,7 +4134,7 @@ impl IWMDeviceManager2 { (::windows::core::Vtable::vtable(self).Reinitialize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMDeviceManager2, ::windows::core::IUnknown, IWMDeviceManager); +::windows::imp::interface_hierarchy!(IWMDeviceManager2, ::windows::core::IUnknown, IWMDeviceManager); impl ::core::cmp::PartialEq for IWMDeviceManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4199,7 +4199,7 @@ impl IWMDeviceManager3 { (::windows::core::Vtable::vtable(self).SetDeviceEnumPreference)(::windows::core::Vtable::as_raw(self), dwenumpref).ok() } } -::windows::core::interface_hierarchy!(IWMDeviceManager3, ::windows::core::IUnknown, IWMDeviceManager, IWMDeviceManager2); +::windows::imp::interface_hierarchy!(IWMDeviceManager3, ::windows::core::IUnknown, IWMDeviceManager, IWMDeviceManager2); impl ::core::cmp::PartialEq for IWMDeviceManager3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs index 34d1d0eb23..42f655514c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs @@ -26,7 +26,7 @@ impl IXMLGraphBuilder { (::windows::core::Vtable::vtable(self).BuildFromXMLFile)(::windows::core::Vtable::as_raw(self), pgraph.into().abi(), wszfilename.into().abi(), wszbaseurl.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXMLGraphBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXMLGraphBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXMLGraphBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs index 9135d5cd84..fa964859ec 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -3,13 +3,13 @@ pub mod Xml; #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[inline] pub unsafe fn AMGetErrorTextA(hr: ::windows::core::HRESULT, pbuffer: &mut [u8]) -> u32 { - ::windows::core::link ! ( "quartz.dll""system" fn AMGetErrorTextA ( hr : :: windows::core::HRESULT , pbuffer : :: windows::core::PSTR , maxlen : u32 ) -> u32 ); + ::windows::imp::link ! ( "quartz.dll""system" fn AMGetErrorTextA ( hr : :: windows::core::HRESULT , pbuffer : :: windows::core::PSTR , maxlen : u32 ) -> u32 ); AMGetErrorTextA(hr, ::core::mem::transmute(pbuffer.as_ptr()), pbuffer.len() as _) } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[inline] pub unsafe fn AMGetErrorTextW(hr: ::windows::core::HRESULT, pbuffer: &mut [u16]) -> u32 { - ::windows::core::link ! ( "quartz.dll""system" fn AMGetErrorTextW ( hr : :: windows::core::HRESULT , pbuffer : :: windows::core::PWSTR , maxlen : u32 ) -> u32 ); + ::windows::imp::link ! ( "quartz.dll""system" fn AMGetErrorTextW ( hr : :: windows::core::HRESULT , pbuffer : :: windows::core::PWSTR , maxlen : u32 ) -> u32 ); AMGetErrorTextW(hr, ::core::mem::transmute(pbuffer.as_ptr()), pbuffer.len() as _) } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] @@ -50,7 +50,7 @@ impl IAMAnalogVideoDecoder { (::windows::core::Vtable::vtable(self).OutputEnable)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMAnalogVideoDecoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMAnalogVideoDecoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMAnalogVideoDecoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -117,7 +117,7 @@ impl IAMAnalogVideoEncoder { (::windows::core::Vtable::vtable(self).CCEnable)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMAnalogVideoEncoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMAnalogVideoEncoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMAnalogVideoEncoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -171,7 +171,7 @@ impl IAMAsyncReaderTimestampScaling { (::windows::core::Vtable::vtable(self).SetTimestampMode)(::windows::core::Vtable::as_raw(self), fraw.into()).ok() } } -::windows::core::interface_hierarchy!(IAMAsyncReaderTimestampScaling, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMAsyncReaderTimestampScaling, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMAsyncReaderTimestampScaling { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -290,7 +290,7 @@ impl IAMAudioInputMixer { (::windows::core::Vtable::vtable(self).BassRange)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMAudioInputMixer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMAudioInputMixer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMAudioInputMixer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -360,7 +360,7 @@ impl IAMAudioRendererStats { (::windows::core::Vtable::vtable(self).GetStatParam)(::windows::core::Vtable::as_raw(self), dwparam, pdwparam1, pdwparam2).ok() } } -::windows::core::interface_hierarchy!(IAMAudioRendererStats, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMAudioRendererStats, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMAudioRendererStats { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -401,7 +401,7 @@ impl IAMBufferNegotiation { (::windows::core::Vtable::vtable(self).GetAllocatorProperties)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMBufferNegotiation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMBufferNegotiation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMBufferNegotiation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -445,7 +445,7 @@ impl IAMCameraControl { (::windows::core::Vtable::vtable(self).Get)(::windows::core::Vtable::as_raw(self), property, lvalue, flags).ok() } } -::windows::core::interface_hierarchy!(IAMCameraControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMCameraControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMCameraControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -493,7 +493,7 @@ impl IAMCertifiedOutputProtection { (::windows::core::Vtable::vtable(self).ProtectionStatus)(::windows::core::Vtable::as_raw(self), pstatusinput, pstatusoutput).ok() } } -::windows::core::interface_hierarchy!(IAMCertifiedOutputProtection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMCertifiedOutputProtection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMCertifiedOutputProtection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -551,7 +551,7 @@ impl IAMChannelInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMChannelInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMChannelInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMChannelInfo { fn eq(&self, other: &Self) -> bool { @@ -600,7 +600,7 @@ impl IAMClockAdjust { (::windows::core::Vtable::vtable(self).SetClockDelta)(::windows::core::Vtable::as_raw(self), rtdelta).ok() } } -::windows::core::interface_hierarchy!(IAMClockAdjust, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMClockAdjust, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMClockAdjust { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -641,7 +641,7 @@ impl IAMClockSlave { (::windows::core::Vtable::vtable(self).GetErrorTolerance)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMClockSlave, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMClockSlave, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMClockSlave { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -691,7 +691,7 @@ impl IAMCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMCollection { fn eq(&self, other: &Self) -> bool { @@ -737,7 +737,7 @@ impl IAMCopyCaptureFileProgress { (::windows::core::Vtable::vtable(self).Progress)(::windows::core::Vtable::as_raw(self), iprogress).ok() } } -::windows::core::interface_hierarchy!(IAMCopyCaptureFileProgress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMCopyCaptureFileProgress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMCopyCaptureFileProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -792,7 +792,7 @@ impl IAMCrossbar { (::windows::core::Vtable::vtable(self).get_CrossbarPinInfo)(::windows::core::Vtable::as_raw(self), isinputpin.into(), pinindex, pinindexrelated, physicaltype).ok() } } -::windows::core::interface_hierarchy!(IAMCrossbar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMCrossbar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMCrossbar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -837,7 +837,7 @@ impl IAMDecoderCaps { (::windows::core::Vtable::vtable(self).GetDecoderCaps)(::windows::core::Vtable::as_raw(self), dwcapindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMDecoderCaps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMDecoderCaps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMDecoderCaps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -889,7 +889,7 @@ impl IAMDevMemoryAllocator { (::windows::core::Vtable::vtable(self).GetDevMemoryObject)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppunkinnner), punkouter.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMDevMemoryAllocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMDevMemoryAllocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMDevMemoryAllocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -937,7 +937,7 @@ impl IAMDevMemoryControl { (::windows::core::Vtable::vtable(self).GetDevId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMDevMemoryControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMDevMemoryControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMDevMemoryControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -982,7 +982,7 @@ impl IAMDeviceRemoval { (::windows::core::Vtable::vtable(self).Disassociate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAMDeviceRemoval, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMDeviceRemoval, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMDeviceRemoval { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1074,7 +1074,7 @@ impl IAMDirectSound { (::windows::core::Vtable::vtable(self).GetFocusWindow)(::windows::core::Vtable::as_raw(self), param0, param1).ok() } } -::windows::core::interface_hierarchy!(IAMDirectSound, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMDirectSound, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMDirectSound { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1154,7 +1154,7 @@ impl IAMDroppedFrames { (::windows::core::Vtable::vtable(self).GetAverageFrameSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMDroppedFrames, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMDroppedFrames, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMDroppedFrames { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1220,7 +1220,7 @@ impl IAMExtDevice { (::windows::core::Vtable::vtable(self).DevicePort)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMExtDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMExtDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMExtDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1359,7 +1359,7 @@ impl IAMExtTransport { (::windows::core::Vtable::vtable(self).SetEditStart)(::windows::core::Vtable::as_raw(self), value).ok() } } -::windows::core::interface_hierarchy!(IAMExtTransport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMExtTransport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMExtTransport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1434,7 +1434,7 @@ impl IAMExtendedErrorInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMExtendedErrorInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMExtendedErrorInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMExtendedErrorInfo { fn eq(&self, other: &Self) -> bool { @@ -1504,7 +1504,7 @@ impl IAMExtendedSeeking { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMExtendedSeeking, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMExtendedSeeking, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMExtendedSeeking { fn eq(&self, other: &Self) -> bool { @@ -1557,7 +1557,7 @@ impl IAMFilterGraphCallback { (::windows::core::Vtable::vtable(self).UnableToRender)(::windows::core::Vtable::as_raw(self), ppin.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMFilterGraphCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMFilterGraphCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMFilterGraphCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1594,7 +1594,7 @@ impl IAMFilterMiscFlags { (::windows::core::Vtable::vtable(self).GetMiscFlags)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IAMFilterMiscFlags, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMFilterMiscFlags, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMFilterMiscFlags { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1644,7 +1644,7 @@ impl IAMGraphBuilderCallback { (::windows::core::Vtable::vtable(self).CreatedFilter)(::windows::core::Vtable::as_raw(self), pfil.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMGraphBuilderCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMGraphBuilderCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMGraphBuilderCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1702,7 +1702,7 @@ impl IAMGraphStreams { (::windows::core::Vtable::vtable(self).SetMaxGraphLatency)(::windows::core::Vtable::as_raw(self), rtmaxgraphlatency).ok() } } -::windows::core::interface_hierarchy!(IAMGraphStreams, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMGraphStreams, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMGraphStreams { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1745,7 +1745,7 @@ impl IAMLatency { (::windows::core::Vtable::vtable(self).GetLatency)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMLatency, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMLatency, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMLatency { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1827,7 +1827,7 @@ impl IAMLine21Decoder { (::windows::core::Vtable::vtable(self).SetDrawBackgroundMode)(::windows::core::Vtable::as_raw(self), mode).ok() } } -::windows::core::interface_hierarchy!(IAMLine21Decoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMLine21Decoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMLine21Decoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1924,7 +1924,7 @@ impl IAMMediaContent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMMediaContent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMMediaContent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMMediaContent { fn eq(&self, other: &Self) -> bool { @@ -1989,7 +1989,7 @@ impl IAMMediaContent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMMediaContent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMMediaContent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMMediaContent2 { fn eq(&self, other: &Self) -> bool { @@ -2088,7 +2088,7 @@ impl IAMMediaStream { (::windows::core::Vtable::vtable(self).JoinFilterGraph)(::windows::core::Vtable::as_raw(self), pfiltergraph.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMMediaStream, ::windows::core::IUnknown, IMediaStream); +::windows::imp::interface_hierarchy!(IAMMediaStream, ::windows::core::IUnknown, IMediaStream); impl ::core::cmp::PartialEq for IAMMediaStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2221,7 +2221,7 @@ impl IAMMediaTypeSample { (::windows::core::Vtable::vtable(self).SetMediaTime)(::windows::core::Vtable::as_raw(self), ptimestart, ptimeend).ok() } } -::windows::core::interface_hierarchy!(IAMMediaTypeSample, ::windows::core::IUnknown, IStreamSample); +::windows::imp::interface_hierarchy!(IAMMediaTypeSample, ::windows::core::IUnknown, IStreamSample); impl ::core::cmp::PartialEq for IAMMediaTypeSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2337,7 +2337,7 @@ impl IAMMediaTypeStream { (::windows::core::Vtable::vtable(self).SetStreamAllocatorRequirements)(::windows::core::Vtable::as_raw(self), pprops).ok() } } -::windows::core::interface_hierarchy!(IAMMediaTypeStream, ::windows::core::IUnknown, IMediaStream); +::windows::imp::interface_hierarchy!(IAMMediaTypeStream, ::windows::core::IUnknown, IMediaStream); impl ::core::cmp::PartialEq for IAMMediaTypeStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2457,7 +2457,7 @@ impl IAMMultiMediaStream { (::windows::core::Vtable::vtable(self).Render)(::windows::core::Vtable::as_raw(self), dwflags).ok() } } -::windows::core::interface_hierarchy!(IAMMultiMediaStream, ::windows::core::IUnknown, IMultiMediaStream); +::windows::imp::interface_hierarchy!(IAMMultiMediaStream, ::windows::core::IUnknown, IMultiMediaStream); impl ::core::cmp::PartialEq for IAMMultiMediaStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2621,7 +2621,7 @@ impl IAMNetShowConfig { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMNetShowConfig, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMNetShowConfig, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMNetShowConfig { fn eq(&self, other: &Self) -> bool { @@ -2757,7 +2757,7 @@ impl IAMNetShowExProps { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMNetShowExProps, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMNetShowExProps, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMNetShowExProps { fn eq(&self, other: &Self) -> bool { @@ -2825,7 +2825,7 @@ impl IAMNetShowPreroll { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMNetShowPreroll, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMNetShowPreroll, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMNetShowPreroll { fn eq(&self, other: &Self) -> bool { @@ -2899,7 +2899,7 @@ impl IAMNetworkStatus { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMNetworkStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMNetworkStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMNetworkStatus { fn eq(&self, other: &Self) -> bool { @@ -2955,7 +2955,7 @@ impl IAMOpenProgress { (::windows::core::Vtable::vtable(self).AbortOperation)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAMOpenProgress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMOpenProgress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMOpenProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3001,7 +3001,7 @@ impl IAMOverlayFX { (::windows::core::Vtable::vtable(self).GetOverlayFX)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMOverlayFX, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMOverlayFX, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMOverlayFX { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3047,7 +3047,7 @@ impl IAMParse { (::windows::core::Vtable::vtable(self).Flush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAMParse, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMParse, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMParse { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3086,7 +3086,7 @@ impl IAMPhysicalPinInfo { (::windows::core::Vtable::vtable(self).GetPhysicalType)(::windows::core::Vtable::as_raw(self), ptype, ppsztype).ok() } } -::windows::core::interface_hierarchy!(IAMPhysicalPinInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMPhysicalPinInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMPhysicalPinInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3141,7 +3141,7 @@ impl IAMPlayList { (::windows::core::Vtable::vtable(self).GetRepeatInfo)(::windows::core::Vtable::as_raw(self), pdwrepeatcount, pdwrepeatstart, pdwrepeatend).ok() } } -::windows::core::interface_hierarchy!(IAMPlayList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMPlayList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMPlayList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3223,7 +3223,7 @@ impl IAMPlayListItem { (::windows::core::Vtable::vtable(self).GetScanDuration)(::windows::core::Vtable::as_raw(self), dwsourceindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMPlayListItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMPlayListItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMPlayListItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3298,7 +3298,7 @@ impl IAMPluginControl { (::windows::core::Vtable::vtable(self).IsLegacyDisabled)(::windows::core::Vtable::as_raw(self), dllname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMPluginControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMPluginControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMPluginControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3366,7 +3366,7 @@ impl IAMPushSource { (::windows::core::Vtable::vtable(self).SetMaxStreamOffset)(::windows::core::Vtable::as_raw(self), rtmaxoffset).ok() } } -::windows::core::interface_hierarchy!(IAMPushSource, ::windows::core::IUnknown, IAMLatency); +::windows::imp::interface_hierarchy!(IAMPushSource, ::windows::core::IUnknown, IAMLatency); impl ::core::cmp::PartialEq for IAMPushSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3408,7 +3408,7 @@ impl IAMRebuild { (::windows::core::Vtable::vtable(self).RebuildNow)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAMRebuild, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMRebuild, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMRebuild { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3445,7 +3445,7 @@ impl IAMResourceControl { (::windows::core::Vtable::vtable(self).Reserve)(::windows::core::Vtable::as_raw(self), dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IAMResourceControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMResourceControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMResourceControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3502,7 +3502,7 @@ impl IAMStats { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAMStats, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAMStats, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAMStats { fn eq(&self, other: &Self) -> bool { @@ -3567,7 +3567,7 @@ impl IAMStreamConfig { (::windows::core::Vtable::vtable(self).GetStreamCaps)(::windows::core::Vtable::as_raw(self), iindex, ppmt, pscc).ok() } } -::windows::core::interface_hierarchy!(IAMStreamConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMStreamConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMStreamConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3627,7 +3627,7 @@ impl IAMStreamControl { (::windows::core::Vtable::vtable(self).GetInfo)(::windows::core::Vtable::as_raw(self), pinfo).ok() } } -::windows::core::interface_hierarchy!(IAMStreamControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMStreamControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMStreamControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3689,7 +3689,7 @@ impl IAMStreamSelect { (::windows::core::Vtable::vtable(self).Enable)(::windows::core::Vtable::as_raw(self), lindex, dwflags).ok() } } -::windows::core::interface_hierarchy!(IAMStreamSelect, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMStreamSelect, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMStreamSelect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3755,7 +3755,7 @@ impl IAMTVAudio { (::windows::core::Vtable::vtable(self).UnRegisterNotificationCallBack)(::windows::core::Vtable::as_raw(self), pnotify.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMTVAudio, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMTVAudio, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMTVAudio { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3797,7 +3797,7 @@ impl IAMTVAudioNotification { (::windows::core::Vtable::vtable(self).OnEvent)(::windows::core::Vtable::as_raw(self), event).ok() } } -::windows::core::interface_hierarchy!(IAMTVAudioNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMTVAudioNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMTVAudioNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3933,7 +3933,7 @@ impl IAMTVTuner { (::windows::core::Vtable::vtable(self).AudioFrequency)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAMTVTuner, ::windows::core::IUnknown, IAMTuner); +::windows::imp::interface_hierarchy!(IAMTVTuner, ::windows::core::IUnknown, IAMTuner); impl ::core::cmp::PartialEq for IAMTVTuner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3991,7 +3991,7 @@ impl IAMTimecodeDisplay { (::windows::core::Vtable::vtable(self).SetTCDisplay)(::windows::core::Vtable::as_raw(self), param, value).ok() } } -::windows::core::interface_hierarchy!(IAMTimecodeDisplay, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMTimecodeDisplay, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMTimecodeDisplay { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4048,7 +4048,7 @@ impl IAMTimecodeGenerator { (::windows::core::Vtable::vtable(self).GetTimecode)(::windows::core::Vtable::as_raw(self), ptimecodesample).ok() } } -::windows::core::interface_hierarchy!(IAMTimecodeGenerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMTimecodeGenerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMTimecodeGenerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4104,7 +4104,7 @@ impl IAMTimecodeReader { (::windows::core::Vtable::vtable(self).GetTimecode)(::windows::core::Vtable::as_raw(self), ptimecodesample).ok() } } -::windows::core::interface_hierarchy!(IAMTimecodeReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMTimecodeReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMTimecodeReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4203,7 +4203,7 @@ impl IAMTuner { (::windows::core::Vtable::vtable(self).UnRegisterNotificationCallBack)(::windows::core::Vtable::as_raw(self), pnotify.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMTuner, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMTuner, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMTuner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4257,7 +4257,7 @@ impl IAMTunerNotification { (::windows::core::Vtable::vtable(self).OnEvent)(::windows::core::Vtable::as_raw(self), event).ok() } } -::windows::core::interface_hierarchy!(IAMTunerNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMTunerNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMTunerNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4305,7 +4305,7 @@ impl IAMVfwCaptureDialogs { (::windows::core::Vtable::vtable(self).SendDriverMessage)(::windows::core::Vtable::as_raw(self), idialog, umsg, dw1, dw2).ok() } } -::windows::core::interface_hierarchy!(IAMVfwCaptureDialogs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMVfwCaptureDialogs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMVfwCaptureDialogs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4361,7 +4361,7 @@ impl IAMVfwCompressDialogs { (::windows::core::Vtable::vtable(self).SendDriverMessage)(::windows::core::Vtable::as_raw(self), umsg, dw1, dw2).ok() } } -::windows::core::interface_hierarchy!(IAMVfwCompressDialogs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMVfwCompressDialogs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMVfwCompressDialogs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4453,7 +4453,7 @@ impl IAMVideoAccelerator { (::windows::core::Vtable::vtable(self).DisplayFrame)(::windows::core::Vtable::as_raw(self), dwfliptoindex, pmediasample.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMVideoAccelerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMVideoAccelerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMVideoAccelerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4524,7 +4524,7 @@ impl IAMVideoAcceleratorNotify { (::windows::core::Vtable::vtable(self).GetCreateVideoAcceleratorData)(::windows::core::Vtable::as_raw(self), pguid, pdwsizemiscdata, ppmiscdata).ok() } } -::windows::core::interface_hierarchy!(IAMVideoAcceleratorNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMVideoAcceleratorNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMVideoAcceleratorNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4611,7 +4611,7 @@ impl IAMVideoCompression { (::windows::core::Vtable::vtable(self).OverrideFrameSize)(::windows::core::Vtable::as_raw(self), framenumber, size).ok() } } -::windows::core::interface_hierarchy!(IAMVideoCompression, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMVideoCompression, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMVideoCompression { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4699,7 +4699,7 @@ impl IAMVideoControl { (::windows::core::Vtable::vtable(self).GetFrameRateList)(::windows::core::Vtable::as_raw(self), ppin.into().abi(), iindex, ::core::mem::transmute(dimensions), listsize, framerates).ok() } } -::windows::core::interface_hierarchy!(IAMVideoControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMVideoControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMVideoControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4751,7 +4751,7 @@ impl IAMVideoDecimationProperties { (::windows::core::Vtable::vtable(self).SetDecimationUsage)(::windows::core::Vtable::as_raw(self), usage).ok() } } -::windows::core::interface_hierarchy!(IAMVideoDecimationProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMVideoDecimationProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMVideoDecimationProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4795,7 +4795,7 @@ impl IAMVideoProcAmp { (::windows::core::Vtable::vtable(self).Get)(::windows::core::Vtable::as_raw(self), property, lvalue, flags).ok() } } -::windows::core::interface_hierarchy!(IAMVideoProcAmp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMVideoProcAmp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMVideoProcAmp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4837,7 +4837,7 @@ impl IAMWMBufferPass { (::windows::core::Vtable::vtable(self).SetNotify)(::windows::core::Vtable::as_raw(self), pcallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAMWMBufferPass, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMWMBufferPass, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMWMBufferPass { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4880,7 +4880,7 @@ impl IAMWMBufferPassCallback { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), pnssbuffer3.into().abi(), ppin.into().abi(), prtstart, prtend).ok() } } -::windows::core::interface_hierarchy!(IAMWMBufferPassCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMWMBufferPassCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMWMBufferPassCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4994,7 +4994,7 @@ impl IAMWstDecoder { (::windows::core::Vtable::vtable(self).SetCurrentPage)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(wstpage)).ok() } } -::windows::core::interface_hierarchy!(IAMWstDecoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMWstDecoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMWstDecoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5072,7 +5072,7 @@ impl IAMovieSetup { (::windows::core::Vtable::vtable(self).Unregister)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAMovieSetup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAMovieSetup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAMovieSetup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5156,7 +5156,7 @@ impl IATSCChannelTuneRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IATSCChannelTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest, IChannelTuneRequest); +::windows::imp::interface_hierarchy!(IATSCChannelTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest, IChannelTuneRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IATSCChannelTuneRequest { fn eq(&self, other: &Self) -> bool { @@ -5288,7 +5288,7 @@ impl IATSCComponentType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IATSCComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponentType, ILanguageComponentType, IMPEG2ComponentType); +::windows::imp::interface_hierarchy!(IATSCComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponentType, ILanguageComponentType, IMPEG2ComponentType); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IATSCComponentType { fn eq(&self, other: &Self) -> bool { @@ -5402,7 +5402,7 @@ impl IATSCLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IATSCLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator); +::windows::imp::interface_hierarchy!(IATSCLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IATSCLocator { fn eq(&self, other: &Self) -> bool { @@ -5525,7 +5525,7 @@ impl IATSCLocator2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IATSCLocator2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IATSCLocator); +::windows::imp::interface_hierarchy!(IATSCLocator2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IATSCLocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IATSCLocator2 { fn eq(&self, other: &Self) -> bool { @@ -5717,7 +5717,7 @@ impl IATSCTuningSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IATSCTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IAnalogTVTuningSpace); +::windows::imp::interface_hierarchy!(IATSCTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IAnalogTVTuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IATSCTuningSpace { fn eq(&self, other: &Self) -> bool { @@ -5818,7 +5818,7 @@ impl IATSC_EIT { (::windows::core::Vtable::vtable(self).GetRecordDescriptorByTag)(::windows::core::Vtable::as_raw(self), dwrecordindex, btag, pdwcookie, ::core::mem::transmute(ppdescriptor)).ok() } } -::windows::core::interface_hierarchy!(IATSC_EIT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IATSC_EIT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IATSC_EIT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5886,7 +5886,7 @@ impl IATSC_ETT { (::windows::core::Vtable::vtable(self).GetExtendedMessageText)(::windows::core::Vtable::as_raw(self), pdwlength, pptext).ok() } } -::windows::core::interface_hierarchy!(IATSC_ETT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IATSC_ETT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IATSC_ETT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5976,7 +5976,7 @@ impl IATSC_MGT { (::windows::core::Vtable::vtable(self).GetTableDescriptorByTag)(::windows::core::Vtable::as_raw(self), btag, pdwcookie, ::core::mem::transmute(ppdescriptor)).ok() } } -::windows::core::interface_hierarchy!(IATSC_MGT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IATSC_MGT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IATSC_MGT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6056,7 +6056,7 @@ impl IATSC_STT { (::windows::core::Vtable::vtable(self).GetTableDescriptorByTag)(::windows::core::Vtable::as_raw(self), btag, pdwcookie, ::core::mem::transmute(ppdescriptor)).ok() } } -::windows::core::interface_hierarchy!(IATSC_STT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IATSC_STT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IATSC_STT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6211,7 +6211,7 @@ impl IATSC_VCT { (::windows::core::Vtable::vtable(self).GetTableDescriptorByTag)(::windows::core::Vtable::as_raw(self), btag, pdwcookie, ::core::mem::transmute(ppdescriptor)).ok() } } -::windows::core::interface_hierarchy!(IATSC_VCT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IATSC_VCT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IATSC_VCT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6361,7 +6361,7 @@ impl IAnalogAudioComponentType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAnalogAudioComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponentType); +::windows::imp::interface_hierarchy!(IAnalogAudioComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponentType); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAnalogAudioComponentType { fn eq(&self, other: &Self) -> bool { @@ -6468,7 +6468,7 @@ impl IAnalogLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAnalogLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator); +::windows::imp::interface_hierarchy!(IAnalogLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAnalogLocator { fn eq(&self, other: &Self) -> bool { @@ -6625,7 +6625,7 @@ impl IAnalogRadioTuningSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAnalogRadioTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace); +::windows::imp::interface_hierarchy!(IAnalogRadioTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAnalogRadioTuningSpace { fn eq(&self, other: &Self) -> bool { @@ -6793,7 +6793,7 @@ impl IAnalogRadioTuningSpace2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAnalogRadioTuningSpace2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IAnalogRadioTuningSpace); +::windows::imp::interface_hierarchy!(IAnalogRadioTuningSpace2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IAnalogRadioTuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAnalogRadioTuningSpace2 { fn eq(&self, other: &Self) -> bool { @@ -6957,7 +6957,7 @@ impl IAnalogTVTuningSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAnalogTVTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace); +::windows::imp::interface_hierarchy!(IAnalogTVTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAnalogTVTuningSpace { fn eq(&self, other: &Self) -> bool { @@ -7039,7 +7039,7 @@ impl IAsyncReader { (::windows::core::Vtable::vtable(self).EndFlush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAsyncReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAsyncReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAsyncReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7111,7 +7111,7 @@ impl IAtscContentAdvisoryDescriptor { (::windows::core::Vtable::vtable(self).GetRecordRatingDescriptionText)(::windows::core::Vtable::as_raw(self), bindex, pblength, pptext).ok() } } -::windows::core::interface_hierarchy!(IAtscContentAdvisoryDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAtscContentAdvisoryDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAtscContentAdvisoryDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7203,7 +7203,7 @@ impl IAtscPsipParser { (::windows::core::Vtable::vtable(self).GetEAS)(::windows::core::Vtable::as_raw(self), pid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAtscPsipParser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAtscPsipParser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAtscPsipParser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7260,7 +7260,7 @@ impl IAttributeGet { (::windows::core::Vtable::vtable(self).GetAttrib)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidattribute), pbattribute, pdwattributelength).ok() } } -::windows::core::interface_hierarchy!(IAttributeGet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAttributeGet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAttributeGet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7299,7 +7299,7 @@ impl IAttributeSet { (::windows::core::Vtable::vtable(self).SetAttrib)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidattribute), pbattribute, dwattributelength).ok() } } -::windows::core::interface_hierarchy!(IAttributeSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAttributeSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAttributeSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7352,7 +7352,7 @@ impl IAudioData { (::windows::core::Vtable::vtable(self).SetFormat)(::windows::core::Vtable::as_raw(self), lpwaveformat).ok() } } -::windows::core::interface_hierarchy!(IAudioData, ::windows::core::IUnknown, IMemoryData); +::windows::imp::interface_hierarchy!(IAudioData, ::windows::core::IUnknown, IMemoryData); impl ::core::cmp::PartialEq for IAudioData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7437,7 +7437,7 @@ impl IAudioMediaStream { (::windows::core::Vtable::vtable(self).CreateSample)(::windows::core::Vtable::as_raw(self), paudiodata.into().abi(), dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioMediaStream, ::windows::core::IUnknown, IMediaStream); +::windows::imp::interface_hierarchy!(IAudioMediaStream, ::windows::core::IUnknown, IMediaStream); impl ::core::cmp::PartialEq for IAudioMediaStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7503,7 +7503,7 @@ impl IAudioStreamSample { (::windows::core::Vtable::vtable(self).GetAudioData)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioStreamSample, ::windows::core::IUnknown, IStreamSample); +::windows::imp::interface_hierarchy!(IAudioStreamSample, ::windows::core::IUnknown, IStreamSample); impl ::core::cmp::PartialEq for IAudioStreamSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7631,7 +7631,7 @@ impl IAuxInTuningSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAuxInTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace); +::windows::imp::interface_hierarchy!(IAuxInTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAuxInTuningSpace { fn eq(&self, other: &Self) -> bool { @@ -7772,7 +7772,7 @@ impl IAuxInTuningSpace2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAuxInTuningSpace2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IAuxInTuningSpace); +::windows::imp::interface_hierarchy!(IAuxInTuningSpace2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IAuxInTuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAuxInTuningSpace2 { fn eq(&self, other: &Self) -> bool { @@ -7848,7 +7848,7 @@ impl IBDAComparable { (::windows::core::Vtable::vtable(self).HashEquivalentIncremental)(::windows::core::Vtable::as_raw(self), partialresult, dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDAComparable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDAComparable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDAComparable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7899,7 +7899,7 @@ impl IBDACreateTuneRequestEx { (::windows::core::Vtable::vtable(self).CreateTuneRequestEx)(::windows::core::Vtable::as_raw(self), tunerequestiid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDACreateTuneRequestEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDACreateTuneRequestEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDACreateTuneRequestEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7943,7 +7943,7 @@ impl IBDA_AUX { (::windows::core::Vtable::vtable(self).EnumCapability)(::windows::core::Vtable::as_raw(self), dwindex, dwinputid, pconnectortype, conntypenum, numvideostds, analogstds).ok() } } -::windows::core::interface_hierarchy!(IBDA_AUX, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_AUX, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_AUX { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7981,7 +7981,7 @@ impl IBDA_AutoDemodulate { (::windows::core::Vtable::vtable(self).put_AutoDemodulate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBDA_AutoDemodulate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_AutoDemodulate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_AutoDemodulate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8027,7 +8027,7 @@ impl IBDA_AutoDemodulateEx { (::windows::core::Vtable::vtable(self).get_AuxInputCount)(::windows::core::Vtable::as_raw(self), pulcompositecount, pulsvideocount).ok() } } -::windows::core::interface_hierarchy!(IBDA_AutoDemodulateEx, ::windows::core::IUnknown, IBDA_AutoDemodulate); +::windows::imp::interface_hierarchy!(IBDA_AutoDemodulateEx, ::windows::core::IUnknown, IBDA_AutoDemodulate); impl ::core::cmp::PartialEq for IBDA_AutoDemodulateEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8099,7 +8099,7 @@ impl IBDA_ConditionalAccess { (::windows::core::Vtable::vtable(self).InformUIClosed)(::windows::core::Vtable::as_raw(self), bydialognumber, closereason).ok() } } -::windows::core::interface_hierarchy!(IBDA_ConditionalAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_ConditionalAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_ConditionalAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8166,7 +8166,7 @@ impl IBDA_ConditionalAccessEx { (::windows::core::Vtable::vtable(self).CreateDialogRequestNumber)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDA_ConditionalAccessEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_ConditionalAccessEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_ConditionalAccessEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8213,7 +8213,7 @@ impl IBDA_DRIDRMService { (::windows::core::Vtable::vtable(self).GetPairingStatus)(::windows::core::Vtable::as_raw(self), penumpairingstatus).ok() } } -::windows::core::interface_hierarchy!(IBDA_DRIDRMService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_DRIDRMService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_DRIDRMService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8270,7 +8270,7 @@ impl IBDA_DRIWMDRMSession { (::windows::core::Vtable::vtable(self).GetLastCardeaError)(::windows::core::Vtable::as_raw(self), pdwerror).ok() } } -::windows::core::interface_hierarchy!(IBDA_DRIWMDRMSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_DRIWMDRMSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_DRIWMDRMSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8321,7 +8321,7 @@ impl IBDA_DRM { (::windows::core::Vtable::vtable(self).PerformDRMPairing)(::windows::core::Vtable::as_raw(self), fsync.into()).ok() } } -::windows::core::interface_hierarchy!(IBDA_DRM, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_DRM, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_DRM { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8365,7 +8365,7 @@ impl IBDA_DRMService { (::windows::core::Vtable::vtable(self).GetDRMStatus)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrdrmuuidlist), drmuuid).ok() } } -::windows::core::interface_hierarchy!(IBDA_DRMService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_DRMService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_DRMService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8412,7 +8412,7 @@ impl IBDA_DeviceControl { (::windows::core::Vtable::vtable(self).GetChangeState)(::windows::core::Vtable::as_raw(self), pstate).ok() } } -::windows::core::interface_hierarchy!(IBDA_DeviceControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_DeviceControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_DeviceControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8469,7 +8469,7 @@ impl IBDA_DiagnosticProperties { } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows::core::interface_hierarchy!(IBDA_DiagnosticProperties, ::windows::core::IUnknown, super::super::System::Com::StructuredStorage::IPropertyBag); +::windows::imp::interface_hierarchy!(IBDA_DiagnosticProperties, ::windows::core::IUnknown, super::super::System::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for IBDA_DiagnosticProperties { fn eq(&self, other: &Self) -> bool { @@ -8551,7 +8551,7 @@ impl IBDA_DigitalDemodulator { (::windows::core::Vtable::vtable(self).SpectralInversion)(::windows::core::Vtable::as_raw(self), pspectralinversion).ok() } } -::windows::core::interface_hierarchy!(IBDA_DigitalDemodulator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_DigitalDemodulator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_DigitalDemodulator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8664,7 +8664,7 @@ impl IBDA_DigitalDemodulator2 { (::windows::core::Vtable::vtable(self).Pilot)(::windows::core::Vtable::as_raw(self), ppilot).ok() } } -::windows::core::interface_hierarchy!(IBDA_DigitalDemodulator2, ::windows::core::IUnknown, IBDA_DigitalDemodulator); +::windows::imp::interface_hierarchy!(IBDA_DigitalDemodulator2, ::windows::core::IUnknown, IBDA_DigitalDemodulator); impl ::core::cmp::PartialEq for IBDA_DigitalDemodulator2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8783,7 +8783,7 @@ impl IBDA_DigitalDemodulator3 { (::windows::core::Vtable::vtable(self).PLPNumber)(::windows::core::Vtable::as_raw(self), pplpnumber).ok() } } -::windows::core::interface_hierarchy!(IBDA_DigitalDemodulator3, ::windows::core::IUnknown, IBDA_DigitalDemodulator, IBDA_DigitalDemodulator2); +::windows::imp::interface_hierarchy!(IBDA_DigitalDemodulator3, ::windows::core::IUnknown, IBDA_DigitalDemodulator, IBDA_DigitalDemodulator2); impl ::core::cmp::PartialEq for IBDA_DigitalDemodulator3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8848,7 +8848,7 @@ impl IBDA_DiseqCommand { (::windows::core::Vtable::vtable(self).get_DiseqResponse)(::windows::core::Vtable::as_raw(self), ulrequestid, pulcbresponselen, pbresponse).ok() } } -::windows::core::interface_hierarchy!(IBDA_DiseqCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_DiseqCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_DiseqCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8896,7 +8896,7 @@ impl IBDA_EasMessage { (::windows::core::Vtable::vtable(self).get_EasMessage)(::windows::core::Vtable::as_raw(self), uleventid, ::core::mem::transmute(ppeasobject)).ok() } } -::windows::core::interface_hierarchy!(IBDA_EasMessage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_EasMessage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_EasMessage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8947,7 +8947,7 @@ impl IBDA_Encoder { (::windows::core::Vtable::vtable(self).GetState)(::windows::core::Vtable::as_raw(self), audiobitratemax, audiobitratemin, audiobitratemode, audiobitratestepping, audiobitrate, audiomethodid, availableaudioprograms, audioprogram, videobitratemax, videobitratemin, videobitratemode, videobitrate, videobitratestepping, videomethodid, signalsourceid, signalformat, signallock, signallevel, signaltonoiseratio).ok() } } -::windows::core::interface_hierarchy!(IBDA_Encoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_Encoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_Encoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9004,7 +9004,7 @@ impl IBDA_EthernetFilter { (::windows::core::Vtable::vtable(self).GetMulticastMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDA_EthernetFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_EthernetFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_EthernetFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9045,7 +9045,7 @@ impl IBDA_EventingService { (::windows::core::Vtable::vtable(self).CompleteEvent)(::windows::core::Vtable::as_raw(self), uleventid, uleventresult).ok() } } -::windows::core::interface_hierarchy!(IBDA_EventingService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_EventingService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_EventingService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9104,7 +9104,7 @@ impl IBDA_FDC { (::windows::core::Vtable::vtable(self).GetTableSection)(::windows::core::Vtable::as_raw(self), pid, maxbuffersize, actualsize, secbuffer).ok() } } -::windows::core::interface_hierarchy!(IBDA_FDC, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_FDC, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_FDC { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9183,7 +9183,7 @@ impl IBDA_FrequencyFilter { (::windows::core::Vtable::vtable(self).FrequencyMultiplier)(::windows::core::Vtable::as_raw(self), pulmultiplier).ok() } } -::windows::core::interface_hierarchy!(IBDA_FrequencyFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_FrequencyFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_FrequencyFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9249,7 +9249,7 @@ impl IBDA_GuideDataDeliveryService { (::windows::core::Vtable::vtable(self).GetServiceInfoFromTuneXml)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrtunexml), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDA_GuideDataDeliveryService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_GuideDataDeliveryService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_GuideDataDeliveryService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9294,7 +9294,7 @@ impl IBDA_IPSinkControl { (::windows::core::Vtable::vtable(self).GetAdapterIPAddress)(::windows::core::Vtable::as_raw(self), pulcbsize, pbbuffer).ok() } } -::windows::core::interface_hierarchy!(IBDA_IPSinkControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_IPSinkControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_IPSinkControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9340,7 +9340,7 @@ impl IBDA_IPSinkInfo { (::windows::core::Vtable::vtable(self).AdapterDescription)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDA_IPSinkInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_IPSinkInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_IPSinkInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9392,7 +9392,7 @@ impl IBDA_IPV4Filter { (::windows::core::Vtable::vtable(self).GetMulticastMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDA_IPV4Filter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_IPV4Filter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_IPV4Filter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9446,7 +9446,7 @@ impl IBDA_IPV6Filter { (::windows::core::Vtable::vtable(self).GetMulticastMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDA_IPV6Filter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_IPV6Filter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_IPV6Filter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9487,7 +9487,7 @@ impl IBDA_ISDBConditionalAccess { (::windows::core::Vtable::vtable(self).SetIsdbCasRequest)(::windows::core::Vtable::as_raw(self), ulrequestid, pbrequestbuffer.len() as _, ::core::mem::transmute(pbrequestbuffer.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IBDA_ISDBConditionalAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_ISDBConditionalAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_ISDBConditionalAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9539,7 +9539,7 @@ impl IBDA_LNBInfo { (::windows::core::Vtable::vtable(self).HighLowSwitchFrequency)(::windows::core::Vtable::as_raw(self), pulswitchfrequency).ok() } } -::windows::core::interface_hierarchy!(IBDA_LNBInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_LNBInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_LNBInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9584,7 +9584,7 @@ impl IBDA_MUX { (::windows::core::Vtable::vtable(self).GetPidList)(::windows::core::Vtable::as_raw(self), pulpidlistcount, pbpidlistbuffer).ok() } } -::windows::core::interface_hierarchy!(IBDA_MUX, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_MUX, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_MUX { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9630,7 +9630,7 @@ impl IBDA_NameValueService { (::windows::core::Vtable::vtable(self).SetValue)(::windows::core::Vtable::as_raw(self), uldialogrequest, ::core::mem::transmute_copy(bstrlanguage), ::core::mem::transmute_copy(bstrname), ::core::mem::transmute_copy(bstrvalue), ulreserved).ok() } } -::windows::core::interface_hierarchy!(IBDA_NameValueService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_NameValueService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_NameValueService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9690,7 +9690,7 @@ impl IBDA_NetworkProvider { (::windows::core::Vtable::vtable(self).UnRegisterDeviceFilter)(::windows::core::Vtable::as_raw(self), pvregistrationcontext).ok() } } -::windows::core::interface_hierarchy!(IBDA_NetworkProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_NetworkProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_NetworkProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9736,7 +9736,7 @@ impl IBDA_NullTransform { (::windows::core::Vtable::vtable(self).Stop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBDA_NullTransform, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_NullTransform, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_NullTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9780,7 +9780,7 @@ impl IBDA_PinControl { (::windows::core::Vtable::vtable(self).RegistrationContext)(::windows::core::Vtable::as_raw(self), pulregistrationctx).ok() } } -::windows::core::interface_hierarchy!(IBDA_PinControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_PinControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_PinControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9834,7 +9834,7 @@ impl IBDA_SignalProperties { (::windows::core::Vtable::vtable(self).GetTuningSpace)(::windows::core::Vtable::as_raw(self), pguidtuingspace).ok() } } -::windows::core::interface_hierarchy!(IBDA_SignalProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_SignalProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_SignalProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9913,7 +9913,7 @@ impl IBDA_SignalStatistics { (::windows::core::Vtable::vtable(self).SampleTime)(::windows::core::Vtable::as_raw(self), plmssampletime).ok() } } -::windows::core::interface_hierarchy!(IBDA_SignalStatistics, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_SignalStatistics, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_SignalStatistics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9971,7 +9971,7 @@ impl IBDA_TIF_REGISTRATION { (::windows::core::Vtable::vtable(self).UnregisterTIF)(::windows::core::Vtable::as_raw(self), pvregistrationcontext).ok() } } -::windows::core::interface_hierarchy!(IBDA_TIF_REGISTRATION, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_TIF_REGISTRATION, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_TIF_REGISTRATION { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10041,7 +10041,7 @@ impl IBDA_Topology { (::windows::core::Vtable::vtable(self).GetControlNode)(::windows::core::Vtable::as_raw(self), ulinputpinid, uloutputpinid, ulnodetype, ::core::mem::transmute(ppcontrolnode)).ok() } } -::windows::core::interface_hierarchy!(IBDA_Topology, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_Topology, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_Topology { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10092,7 +10092,7 @@ impl IBDA_TransportStreamInfo { (::windows::core::Vtable::vtable(self).PatTableTickCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBDA_TransportStreamInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_TransportStreamInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_TransportStreamInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10132,7 +10132,7 @@ impl IBDA_TransportStreamSelector { (::windows::core::Vtable::vtable(self).GetTSInformation)(::windows::core::Vtable::as_raw(self), pultsinformationbufferlen, pbtsinformationbuffer).ok() } } -::windows::core::interface_hierarchy!(IBDA_TransportStreamSelector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_TransportStreamSelector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_TransportStreamSelector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10177,7 +10177,7 @@ impl IBDA_UserActivityService { (::windows::core::Vtable::vtable(self).UserActivityDetected)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBDA_UserActivityService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_UserActivityService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_UserActivityService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10219,7 +10219,7 @@ impl IBDA_VoidTransform { (::windows::core::Vtable::vtable(self).Stop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBDA_VoidTransform, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_VoidTransform, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_VoidTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10278,7 +10278,7 @@ impl IBDA_WMDRMSession { (::windows::core::Vtable::vtable(self).GetKeyInfo)(::windows::core::Vtable::as_raw(self), pulkeyinfolen, pbkeyinfo).ok() } } -::windows::core::interface_hierarchy!(IBDA_WMDRMSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_WMDRMSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_WMDRMSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10338,7 +10338,7 @@ impl IBDA_WMDRMTuner { (::windows::core::Vtable::vtable(self).GetStartCodeProfile)(::windows::core::Vtable::as_raw(self), pulstartcodeprofilelen, pbstartcodeprofile).ok() } } -::windows::core::interface_hierarchy!(IBDA_WMDRMTuner, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBDA_WMDRMTuner, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBDA_WMDRMTuner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10447,7 +10447,7 @@ impl IBPCSatelliteTuner { (::windows::core::Vtable::vtable(self).IsTapingPermitted)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBPCSatelliteTuner, ::windows::core::IUnknown, IAMTuner); +::windows::imp::interface_hierarchy!(IBPCSatelliteTuner, ::windows::core::IUnknown, IAMTuner); impl ::core::cmp::PartialEq for IBPCSatelliteTuner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10540,7 +10540,7 @@ impl IBaseFilter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBaseFilter, ::windows::core::IUnknown, super::super::System::Com::IPersist, IMediaFilter); +::windows::imp::interface_hierarchy!(IBaseFilter, ::windows::core::IUnknown, super::super::System::Com::IPersist, IMediaFilter); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBaseFilter { fn eq(&self, other: &Self) -> bool { @@ -10610,7 +10610,7 @@ impl IBaseVideoMixer { (::windows::core::Vtable::vtable(self).SetClockPeriod)(::windows::core::Vtable::as_raw(self), bvalue).ok() } } -::windows::core::interface_hierarchy!(IBaseVideoMixer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBaseVideoMixer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBaseVideoMixer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10667,7 +10667,7 @@ impl IBasicAudio { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBasicAudio, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IBasicAudio, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBasicAudio { fn eq(&self, other: &Self) -> bool { @@ -10823,7 +10823,7 @@ impl IBasicVideo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBasicVideo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IBasicVideo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBasicVideo { fn eq(&self, other: &Self) -> bool { @@ -11010,7 +11010,7 @@ impl IBasicVideo2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBasicVideo2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IBasicVideo); +::windows::imp::interface_hierarchy!(IBasicVideo2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IBasicVideo); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBasicVideo2 { fn eq(&self, other: &Self) -> bool { @@ -11054,7 +11054,7 @@ impl IBroadcastEvent { (::windows::core::Vtable::vtable(self).Fire)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(eventid)).ok() } } -::windows::core::interface_hierarchy!(IBroadcastEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBroadcastEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBroadcastEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11094,7 +11094,7 @@ impl IBroadcastEventEx { (::windows::core::Vtable::vtable(self).FireEx)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(eventid), param1, param2, param3, param4).ok() } } -::windows::core::interface_hierarchy!(IBroadcastEventEx, ::windows::core::IUnknown, IBroadcastEvent); +::windows::imp::interface_hierarchy!(IBroadcastEventEx, ::windows::core::IUnknown, IBroadcastEvent); impl ::core::cmp::PartialEq for IBroadcastEventEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11134,7 +11134,7 @@ impl IBufferingTime { (::windows::core::Vtable::vtable(self).SetBufferingTime)(::windows::core::Vtable::as_raw(self), dwmilliseconds).ok() } } -::windows::core::interface_hierarchy!(IBufferingTime, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBufferingTime, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBufferingTime { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11214,7 +11214,7 @@ impl ICAT { (::windows::core::Vtable::vtable(self).ConvertNextToCurrent)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICAT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICAT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICAT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11269,7 +11269,7 @@ impl ICCSubStreamFiltering { (::windows::core::Vtable::vtable(self).SetSubstreamTypes)(::windows::core::Vtable::as_raw(self), types).ok() } } -::windows::core::interface_hierarchy!(ICCSubStreamFiltering, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICCSubStreamFiltering, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICCSubStreamFiltering { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11457,7 +11457,7 @@ impl ICameraControl { (::windows::core::Vtable::vtable(self).put_PrivacyMode)(::windows::core::Vtable::as_raw(self), value, flags).ok() } } -::windows::core::interface_hierarchy!(ICameraControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICameraControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICameraControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11564,7 +11564,7 @@ impl ICaptionServiceDescriptor { (::windows::core::Vtable::vtable(self).GetWideAspectRatio)(::windows::core::Vtable::as_raw(self), bindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICaptionServiceDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICaptionServiceDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICaptionServiceDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11661,7 +11661,7 @@ impl ICaptureGraphBuilder { (::windows::core::Vtable::vtable(self).CopyCaptureFile)(::windows::core::Vtable::as_raw(self), lpwstrold.into().abi(), lpwstrnew.into().abi(), fallowescabort, pcallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICaptureGraphBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICaptureGraphBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICaptureGraphBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11782,7 +11782,7 @@ impl ICaptureGraphBuilder2 { (::windows::core::Vtable::vtable(self).FindPin)(::windows::core::Vtable::as_raw(self), psource.into().abi(), pindir, ::core::mem::transmute(pcategory.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ptype.unwrap_or(::std::ptr::null())), funconnected.into(), num, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICaptureGraphBuilder2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICaptureGraphBuilder2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICaptureGraphBuilder2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11881,7 +11881,7 @@ impl IChannelIDTuneRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IChannelIDTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest); +::windows::imp::interface_hierarchy!(IChannelIDTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IChannelIDTuneRequest { fn eq(&self, other: &Self) -> bool { @@ -11965,7 +11965,7 @@ impl IChannelTuneRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IChannelTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest); +::windows::imp::interface_hierarchy!(IChannelTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IChannelTuneRequest { fn eq(&self, other: &Self) -> bool { @@ -12051,7 +12051,7 @@ impl IComponent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IComponent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IComponent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IComponent { fn eq(&self, other: &Self) -> bool { @@ -12178,7 +12178,7 @@ impl IComponentType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IComponentType { fn eq(&self, other: &Self) -> bool { @@ -12295,7 +12295,7 @@ impl IComponentTypes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IComponentTypes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IComponentTypes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IComponentTypes { fn eq(&self, other: &Self) -> bool { @@ -12412,7 +12412,7 @@ impl IComponents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IComponents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IComponents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IComponents { fn eq(&self, other: &Self) -> bool { @@ -12521,7 +12521,7 @@ impl IComponentsOld { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IComponentsOld, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IComponentsOld, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IComponentsOld { fn eq(&self, other: &Self) -> bool { @@ -12625,7 +12625,7 @@ impl IConfigAsfWriter { (::windows::core::Vtable::vtable(self).GetIndexMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConfigAsfWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConfigAsfWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConfigAsfWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12736,7 +12736,7 @@ impl IConfigAsfWriter2 { (::windows::core::Vtable::vtable(self).ResetMultiPassState)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IConfigAsfWriter2, ::windows::core::IUnknown, IConfigAsfWriter); +::windows::imp::interface_hierarchy!(IConfigAsfWriter2, ::windows::core::IUnknown, IConfigAsfWriter); impl ::core::cmp::PartialEq for IConfigAsfWriter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12794,7 +12794,7 @@ impl IConfigAviMux { (::windows::core::Vtable::vtable(self).GetOutputCompatibilityIndex)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConfigAviMux, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConfigAviMux, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConfigAviMux { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12850,7 +12850,7 @@ impl IConfigInterleaving { (::windows::core::Vtable::vtable(self).get_Interleaving)(::windows::core::Vtable::as_raw(self), prtinterleave, prtpreroll).ok() } } -::windows::core::interface_hierarchy!(IConfigInterleaving, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConfigInterleaving, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConfigInterleaving { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12892,7 +12892,7 @@ impl ICreateDevEnum { (::windows::core::Vtable::vtable(self).CreateClassEnumerator)(::windows::core::Vtable::as_raw(self), clsiddeviceclass, ::core::mem::transmute(ppenummoniker), dwflags).ok() } } -::windows::core::interface_hierarchy!(ICreateDevEnum, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateDevEnum, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateDevEnum { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12938,7 +12938,7 @@ impl ICreatePropBagOnRegKey { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), hkey.into(), subkey.into().abi(), uloptions, samdesired, iid, ppbag).ok() } } -::windows::core::interface_hierarchy!(ICreatePropBagOnRegKey, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreatePropBagOnRegKey, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreatePropBagOnRegKey { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13015,7 +13015,7 @@ impl IDDrawExclModeVideo { (::windows::core::Vtable::vtable(self).SetCallbackInterface)(::windows::core::Vtable::as_raw(self), pcallback.into().abi(), dwflags).ok() } } -::windows::core::interface_hierarchy!(IDDrawExclModeVideo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDDrawExclModeVideo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDDrawExclModeVideo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13088,7 +13088,7 @@ impl IDDrawExclModeVideoCallback { (::windows::core::Vtable::vtable(self).OnUpdateSize)(::windows::core::Vtable::as_raw(self), dwwidth, dwheight, dwarwidth, dwarheight).ok() } } -::windows::core::interface_hierarchy!(IDDrawExclModeVideoCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDDrawExclModeVideoCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDDrawExclModeVideoCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13133,7 +13133,7 @@ impl IDMOWrapperFilter { (::windows::core::Vtable::vtable(self).Init)(::windows::core::Vtable::as_raw(self), clsiddmo, catdmo).ok() } } -::windows::core::interface_hierarchy!(IDMOWrapperFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDMOWrapperFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDMOWrapperFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13173,7 +13173,7 @@ impl IDShowPlugin { (::windows::core::Vtable::vtable(self).UserAgent)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(puseragent)).ok() } } -::windows::core::interface_hierarchy!(IDShowPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDShowPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDShowPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13243,7 +13243,7 @@ impl IDTFilter { (::windows::core::Vtable::vtable(self).SetBlockUnRatedDelay)(::windows::core::Vtable::as_raw(self), msecsdelaybeforeblock).ok() } } -::windows::core::interface_hierarchy!(IDTFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDTFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDTFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13336,7 +13336,7 @@ impl IDTFilter2 { (::windows::core::Vtable::vtable(self).GetLastErrorCode)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDTFilter2, ::windows::core::IUnknown, IDTFilter); +::windows::imp::interface_hierarchy!(IDTFilter2, ::windows::core::IUnknown, IDTFilter); impl ::core::cmp::PartialEq for IDTFilter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13431,7 +13431,7 @@ impl IDTFilter3 { (::windows::core::Vtable::vtable(self).SetRights)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrrights)).ok() } } -::windows::core::interface_hierarchy!(IDTFilter3, ::windows::core::IUnknown, IDTFilter, IDTFilter2); +::windows::imp::interface_hierarchy!(IDTFilter3, ::windows::core::IUnknown, IDTFilter, IDTFilter2); impl ::core::cmp::PartialEq for IDTFilter3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13474,7 +13474,7 @@ impl IDTFilterConfig { (::windows::core::Vtable::vtable(self).GetSecureChannelObject)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDTFilterConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDTFilterConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDTFilterConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13510,7 +13510,7 @@ pub struct IDTFilterEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDTFilterEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDTFilterEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDTFilterEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDTFilterEvents { fn eq(&self, other: &Self) -> bool { @@ -13553,7 +13553,7 @@ impl IDTFilterLicenseRenewal { (::windows::core::Vtable::vtable(self).GetLicenseRenewalData)(::windows::core::Vtable::as_raw(self), ppwszfilename, ppwszexpiredkid, ppwsztunerid).ok() } } -::windows::core::interface_hierarchy!(IDTFilterLicenseRenewal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDTFilterLicenseRenewal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDTFilterLicenseRenewal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13645,7 +13645,7 @@ impl IDVBCLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBCLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator); +::windows::imp::interface_hierarchy!(IDVBCLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBCLocator { fn eq(&self, other: &Self) -> bool { @@ -13785,7 +13785,7 @@ impl IDVBSLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBSLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator); +::windows::imp::interface_hierarchy!(IDVBSLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBSLocator { fn eq(&self, other: &Self) -> bool { @@ -13990,7 +13990,7 @@ impl IDVBSLocator2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBSLocator2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBSLocator); +::windows::imp::interface_hierarchy!(IDVBSLocator2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBSLocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBSLocator2 { fn eq(&self, other: &Self) -> bool { @@ -14187,7 +14187,7 @@ impl IDVBSTuningSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBSTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IDVBTuningSpace, IDVBTuningSpace2); +::windows::imp::interface_hierarchy!(IDVBSTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IDVBTuningSpace, IDVBTuningSpace2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBSTuningSpace { fn eq(&self, other: &Self) -> bool { @@ -14351,7 +14351,7 @@ impl IDVBTLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBTLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator); +::windows::imp::interface_hierarchy!(IDVBTLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBTLocator { fn eq(&self, other: &Self) -> bool { @@ -14532,7 +14532,7 @@ impl IDVBTLocator2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBTLocator2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBTLocator); +::windows::imp::interface_hierarchy!(IDVBTLocator2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBTLocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBTLocator2 { fn eq(&self, other: &Self) -> bool { @@ -14630,7 +14630,7 @@ impl IDVBTuneRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest); +::windows::imp::interface_hierarchy!(IDVBTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBTuneRequest { fn eq(&self, other: &Self) -> bool { @@ -14777,7 +14777,7 @@ impl IDVBTuningSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace); +::windows::imp::interface_hierarchy!(IDVBTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBTuningSpace { fn eq(&self, other: &Self) -> bool { @@ -14927,7 +14927,7 @@ impl IDVBTuningSpace2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDVBTuningSpace2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IDVBTuningSpace); +::windows::imp::interface_hierarchy!(IDVBTuningSpace2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IDVBTuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDVBTuningSpace2 { fn eq(&self, other: &Self) -> bool { @@ -15040,7 +15040,7 @@ impl IDVB_BAT { (::windows::core::Vtable::vtable(self).ConvertNextToCurrent)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDVB_BAT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_BAT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_BAT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15107,7 +15107,7 @@ impl IDVB_DIT { (::windows::core::Vtable::vtable(self).GetTransitionFlag)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDVB_DIT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_DIT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_DIT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15240,7 +15240,7 @@ impl IDVB_EIT { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDVB_EIT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_EIT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_EIT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15405,7 +15405,7 @@ impl IDVB_EIT2 { (::windows::core::Vtable::vtable(self).GetRecordSection)(::windows::core::Vtable::as_raw(self), dwrecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDVB_EIT2, ::windows::core::IUnknown, IDVB_EIT); +::windows::imp::interface_hierarchy!(IDVB_EIT2, ::windows::core::IUnknown, IDVB_EIT); impl ::core::cmp::PartialEq for IDVB_EIT2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15516,7 +15516,7 @@ impl IDVB_NIT { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDVB_NIT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_NIT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_NIT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15602,7 +15602,7 @@ impl IDVB_RST { (::windows::core::Vtable::vtable(self).GetRecordRunningStatus)(::windows::core::Vtable::as_raw(self), dwrecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDVB_RST, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_RST, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_RST { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15729,7 +15729,7 @@ impl IDVB_SDT { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDVB_SDT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_SDT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_SDT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15863,7 +15863,7 @@ impl IDVB_SIT { (::windows::core::Vtable::vtable(self).ConvertNextToCurrent)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDVB_SIT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_SIT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_SIT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15931,7 +15931,7 @@ impl IDVB_ST { (::windows::core::Vtable::vtable(self).GetData)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDVB_ST, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_ST, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_ST { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15977,7 +15977,7 @@ impl IDVB_TDT { (::windows::core::Vtable::vtable(self).GetUTCTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDVB_TDT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_TDT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_TDT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16033,7 +16033,7 @@ impl IDVB_TOT { (::windows::core::Vtable::vtable(self).GetTableDescriptorByTag)(::windows::core::Vtable::as_raw(self), btag, ::core::mem::transmute(pdwcookie.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdescriptor)).ok() } } -::windows::core::interface_hierarchy!(IDVB_TOT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVB_TOT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVB_TOT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16077,7 +16077,7 @@ impl IDVEnc { (::windows::core::Vtable::vtable(self).put_IFormatResolution)(::windows::core::Vtable::as_raw(self), videoformat, dvformat, resolution, fdvinfo, sdvinfo).ok() } } -::windows::core::interface_hierarchy!(IDVEnc, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVEnc, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVEnc { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16120,7 +16120,7 @@ impl IDVRGB219 { (::windows::core::Vtable::vtable(self).SetRGB219)(::windows::core::Vtable::as_raw(self), bstate.into()).ok() } } -::windows::core::interface_hierarchy!(IDVRGB219, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVRGB219, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVRGB219 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16160,7 +16160,7 @@ impl IDVSplitter { (::windows::core::Vtable::vtable(self).DiscardAlternateVideoFrames)(::windows::core::Vtable::as_raw(self), ndiscard).ok() } } -::windows::core::interface_hierarchy!(IDVSplitter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDVSplitter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDVSplitter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16200,7 +16200,7 @@ impl IDecimateVideoImage { (::windows::core::Vtable::vtable(self).ResetDecimationImageSize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDecimateVideoImage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDecimateVideoImage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDecimateVideoImage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16249,7 +16249,7 @@ impl IDeferredCommand { (::windows::core::Vtable::vtable(self).GetHResult)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDeferredCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDeferredCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDeferredCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16365,7 +16365,7 @@ impl IDigitalCableLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDigitalCableLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IATSCLocator, IATSCLocator2); +::windows::imp::interface_hierarchy!(IDigitalCableLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IATSCLocator, IATSCLocator2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDigitalCableLocator { fn eq(&self, other: &Self) -> bool { @@ -16468,7 +16468,7 @@ impl IDigitalCableTuneRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDigitalCableTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest, IChannelTuneRequest, IATSCChannelTuneRequest); +::windows::imp::interface_hierarchy!(IDigitalCableTuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest, IChannelTuneRequest, IATSCChannelTuneRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDigitalCableTuneRequest { fn eq(&self, other: &Self) -> bool { @@ -16690,7 +16690,7 @@ impl IDigitalCableTuningSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDigitalCableTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IAnalogTVTuningSpace, IATSCTuningSpace); +::windows::imp::interface_hierarchy!(IDigitalCableTuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuningSpace, IAnalogTVTuningSpace, IATSCTuningSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDigitalCableTuningSpace { fn eq(&self, other: &Self) -> bool { @@ -16796,7 +16796,7 @@ impl IDigitalLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDigitalLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator); +::windows::imp::interface_hierarchy!(IDigitalLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDigitalLocator { fn eq(&self, other: &Self) -> bool { @@ -16844,7 +16844,7 @@ impl IDirectDrawMediaSample { (::windows::core::Vtable::vtable(self).LockMediaSamplePointer)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawMediaSample, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawMediaSample, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawMediaSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16888,7 +16888,7 @@ impl IDirectDrawMediaSampleAllocator { (::windows::core::Vtable::vtable(self).GetDirectDraw)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectDrawMediaSampleAllocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawMediaSampleAllocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawMediaSampleAllocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16992,7 +16992,7 @@ impl IDirectDrawMediaStream { (::windows::core::Vtable::vtable(self).GetTimePerFrame)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectDrawMediaStream, ::windows::core::IUnknown, IMediaStream); +::windows::imp::interface_hierarchy!(IDirectDrawMediaStream, ::windows::core::IUnknown, IMediaStream); impl ::core::cmp::PartialEq for IDirectDrawMediaStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17076,7 +17076,7 @@ impl IDirectDrawStreamSample { (::windows::core::Vtable::vtable(self).SetRect)(::windows::core::Vtable::as_raw(self), prect).ok() } } -::windows::core::interface_hierarchy!(IDirectDrawStreamSample, ::windows::core::IUnknown, IStreamSample); +::windows::imp::interface_hierarchy!(IDirectDrawStreamSample, ::windows::core::IUnknown, IStreamSample); impl ::core::cmp::PartialEq for IDirectDrawStreamSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17184,7 +17184,7 @@ impl IDirectDrawVideo { (::windows::core::Vtable::vtable(self).WillUseFullScreen)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectDrawVideo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectDrawVideo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectDrawVideo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17266,7 +17266,7 @@ impl IDistributorNotify { (::windows::core::Vtable::vtable(self).NotifyGraphChange)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDistributorNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDistributorNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDistributorNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17318,7 +17318,7 @@ impl IDrawVideoImage { (::windows::core::Vtable::vtable(self).DrawVideoImageDraw)(::windows::core::Vtable::as_raw(self), hdc.into(), lprcsrc, lprcdst).ok() } } -::windows::core::interface_hierarchy!(IDrawVideoImage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDrawVideoImage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDrawVideoImage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17385,7 +17385,7 @@ impl IDvbCableDeliverySystemDescriptor { (::windows::core::Vtable::vtable(self).GetFECInner)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbCableDeliverySystemDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbCableDeliverySystemDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbCableDeliverySystemDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17452,7 +17452,7 @@ impl IDvbComponentDescriptor { (::windows::core::Vtable::vtable(self).GetTextW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbComponentDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbComponentDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbComponentDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17510,7 +17510,7 @@ impl IDvbContentDescriptor { (::windows::core::Vtable::vtable(self).GetRecordUserNibbles)(::windows::core::Vtable::as_raw(self), brecordindex, pbval1, pbval2).ok() } } -::windows::core::interface_hierarchy!(IDvbContentDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbContentDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbContentDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17563,7 +17563,7 @@ impl IDvbContentIdentifierDescriptor { (::windows::core::Vtable::vtable(self).GetRecordCrid)(::windows::core::Vtable::as_raw(self), brecordindex, pbtype, pblocation, pblength, ppbbytes).ok() } } -::windows::core::interface_hierarchy!(IDvbContentIdentifierDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbContentIdentifierDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbContentIdentifierDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17634,7 +17634,7 @@ impl IDvbDataBroadcastDescriptor { (::windows::core::Vtable::vtable(self).GetText)(::windows::core::Vtable::as_raw(self), pblen, pbval).ok() } } -::windows::core::interface_hierarchy!(IDvbDataBroadcastDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbDataBroadcastDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbDataBroadcastDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17691,7 +17691,7 @@ impl IDvbDataBroadcastIDDescriptor { (::windows::core::Vtable::vtable(self).GetIDSelectorBytes)(::windows::core::Vtable::as_raw(self), pblen, pbval).ok() } } -::windows::core::interface_hierarchy!(IDvbDataBroadcastIDDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbDataBroadcastIDDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbDataBroadcastIDDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17739,7 +17739,7 @@ impl IDvbDefaultAuthorityDescriptor { (::windows::core::Vtable::vtable(self).GetDefaultAuthority)(::windows::core::Vtable::as_raw(self), pblength, ppbbytes).ok() } } -::windows::core::interface_hierarchy!(IDvbDefaultAuthorityDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbDefaultAuthorityDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbDefaultAuthorityDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17821,7 +17821,7 @@ impl IDvbExtendedEventDescriptor { (::windows::core::Vtable::vtable(self).GetRecordItemRawBytes)(::windows::core::Vtable::as_raw(self), brecordindex, ppbrawitem, pbitemlength).ok() } } -::windows::core::interface_hierarchy!(IDvbExtendedEventDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbExtendedEventDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbExtendedEventDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17885,7 +17885,7 @@ impl IDvbFrequencyListDescriptor { (::windows::core::Vtable::vtable(self).GetRecordCentreFrequency)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbFrequencyListDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbFrequencyListDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbFrequencyListDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17947,7 +17947,7 @@ impl IDvbHDSimulcastLogicalChannelDescriptor { (::windows::core::Vtable::vtable(self).base__.GetRecordLogicalChannelAndVisibility)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbHDSimulcastLogicalChannelDescriptor, ::windows::core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); +::windows::imp::interface_hierarchy!(IDvbHDSimulcastLogicalChannelDescriptor, ::windows::core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); impl ::core::cmp::PartialEq for IDvbHDSimulcastLogicalChannelDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18011,7 +18011,7 @@ impl IDvbLinkageDescriptor { (::windows::core::Vtable::vtable(self).GetPrivateData)(::windows::core::Vtable::as_raw(self), pblen, pbdata).ok() } } -::windows::core::interface_hierarchy!(IDvbLinkageDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbLinkageDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbLinkageDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18107,7 +18107,7 @@ impl IDvbLogicalChannel2Descriptor { (::windows::core::Vtable::vtable(self).GetListRecordLogicalChannelAndVisibility)(::windows::core::Vtable::as_raw(self), blistindex, brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbLogicalChannel2Descriptor, ::windows::core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); +::windows::imp::interface_hierarchy!(IDvbLogicalChannel2Descriptor, ::windows::core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); impl ::core::cmp::PartialEq for IDvbLogicalChannel2Descriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18168,7 +18168,7 @@ impl IDvbLogicalChannelDescriptor { (::windows::core::Vtable::vtable(self).GetRecordLogicalChannelNumber)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbLogicalChannelDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbLogicalChannelDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbLogicalChannelDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18230,7 +18230,7 @@ impl IDvbLogicalChannelDescriptor2 { (::windows::core::Vtable::vtable(self).GetRecordLogicalChannelAndVisibility)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbLogicalChannelDescriptor2, ::windows::core::IUnknown, IDvbLogicalChannelDescriptor); +::windows::imp::interface_hierarchy!(IDvbLogicalChannelDescriptor2, ::windows::core::IUnknown, IDvbLogicalChannelDescriptor); impl ::core::cmp::PartialEq for IDvbLogicalChannelDescriptor2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18288,7 +18288,7 @@ impl IDvbMultilingualServiceNameDescriptor { (::windows::core::Vtable::vtable(self).GetRecordServiceNameW)(::windows::core::Vtable::as_raw(self), brecordindex, convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbMultilingualServiceNameDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbMultilingualServiceNameDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbMultilingualServiceNameDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18343,7 +18343,7 @@ impl IDvbNetworkNameDescriptor { (::windows::core::Vtable::vtable(self).GetNetworkNameW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbNetworkNameDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbNetworkNameDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbNetworkNameDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18395,7 +18395,7 @@ impl IDvbParentalRatingDescriptor { (::windows::core::Vtable::vtable(self).GetRecordRating)(::windows::core::Vtable::as_raw(self), brecordindex, ::core::mem::transmute(pszcountrycode.as_ptr()), pbval).ok() } } -::windows::core::interface_hierarchy!(IDvbParentalRatingDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbParentalRatingDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbParentalRatingDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18444,7 +18444,7 @@ impl IDvbPrivateDataSpecifierDescriptor { (::windows::core::Vtable::vtable(self).GetPrivateDataSpecifier)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbPrivateDataSpecifierDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbPrivateDataSpecifierDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbPrivateDataSpecifierDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18516,7 +18516,7 @@ impl IDvbSatelliteDeliverySystemDescriptor { (::windows::core::Vtable::vtable(self).GetFECInner)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbSatelliteDeliverySystemDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbSatelliteDeliverySystemDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbSatelliteDeliverySystemDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18586,7 +18586,7 @@ impl IDvbServiceAttributeDescriptor { (::windows::core::Vtable::vtable(self).GetRecordVisibleServiceFlag)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbServiceAttributeDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbServiceAttributeDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbServiceAttributeDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18663,7 +18663,7 @@ impl IDvbServiceDescriptor { (::windows::core::Vtable::vtable(self).GetServiceNameEmphasized)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbServiceDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbServiceDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbServiceDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18744,7 +18744,7 @@ impl IDvbServiceDescriptor2 { (::windows::core::Vtable::vtable(self).GetServiceNameW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbServiceDescriptor2, ::windows::core::IUnknown, IDvbServiceDescriptor); +::windows::imp::interface_hierarchy!(IDvbServiceDescriptor2, ::windows::core::IUnknown, IDvbServiceDescriptor); impl ::core::cmp::PartialEq for IDvbServiceDescriptor2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18799,7 +18799,7 @@ impl IDvbServiceListDescriptor { (::windows::core::Vtable::vtable(self).GetRecordServiceType)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbServiceListDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbServiceListDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbServiceListDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18856,7 +18856,7 @@ impl IDvbShortEventDescriptor { (::windows::core::Vtable::vtable(self).GetTextW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbShortEventDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbShortEventDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbShortEventDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18956,7 +18956,7 @@ impl IDvbSiParser { (::windows::core::Vtable::vtable(self).GetSIT)(::windows::core::Vtable::as_raw(self), dwtimeout, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbSiParser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbSiParser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbSiParser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19070,7 +19070,7 @@ impl IDvbSiParser2 { (::windows::core::Vtable::vtable(self).GetEIT2)(::windows::core::Vtable::as_raw(self), tableid, ::core::mem::transmute(pwserviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbsegment.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbSiParser2, ::windows::core::IUnknown, IDvbSiParser); +::windows::imp::interface_hierarchy!(IDvbSiParser2, ::windows::core::IUnknown, IDvbSiParser); impl ::core::cmp::PartialEq for IDvbSiParser2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19132,7 +19132,7 @@ impl IDvbSubtitlingDescriptor { (::windows::core::Vtable::vtable(self).GetRecordAncillaryPageID)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbSubtitlingDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbSubtitlingDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbSubtitlingDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19200,7 +19200,7 @@ impl IDvbTeletextDescriptor { (::windows::core::Vtable::vtable(self).GetRecordPageNumber)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbTeletextDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbTeletextDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbTeletextDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19292,7 +19292,7 @@ impl IDvbTerrestrial2DeliverySystemDescriptor { (::windows::core::Vtable::vtable(self).GetTFSFlag)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbTerrestrial2DeliverySystemDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbTerrestrial2DeliverySystemDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbTerrestrial2DeliverySystemDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19382,7 +19382,7 @@ impl IDvbTerrestrialDeliverySystemDescriptor { (::windows::core::Vtable::vtable(self).GetOtherFrequencyFlag)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvbTerrestrialDeliverySystemDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvbTerrestrialDeliverySystemDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvbTerrestrialDeliverySystemDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19432,7 +19432,7 @@ impl IDvdCmd { (::windows::core::Vtable::vtable(self).WaitForEnd)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDvdCmd, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvdCmd, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvdCmd { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19584,7 +19584,7 @@ impl IDvdControl { (::windows::core::Vtable::vtable(self).ChapterPlayAutoStop)(::windows::core::Vtable::as_raw(self), ultitle, ulchapter, ulchapterstoplay).ok() } } -::windows::core::interface_hierarchy!(IDvdControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvdControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvdControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19829,7 +19829,7 @@ impl IDvdControl2 { (::windows::core::Vtable::vtable(self).SelectDefaultSubpictureLanguage)(::windows::core::Vtable::as_raw(self), language, subpictureextension).ok() } } -::windows::core::interface_hierarchy!(IDvdControl2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvdControl2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvdControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19935,7 +19935,7 @@ impl IDvdGraphBuilder { (::windows::core::Vtable::vtable(self).RenderDvdVideoVolume)(::windows::core::Vtable::as_raw(self), lpcwszpathname.into().abi(), dwflags, pstatus).ok() } } -::windows::core::interface_hierarchy!(IDvdGraphBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvdGraphBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvdGraphBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20057,7 +20057,7 @@ impl IDvdInfo { (::windows::core::Vtable::vtable(self).GetRoot)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(proot.as_ptr()), proot.len() as _, pulactualsize).ok() } } -::windows::core::interface_hierarchy!(IDvdInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvdInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvdInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20275,7 +20275,7 @@ impl IDvdInfo2 { (::windows::core::Vtable::vtable(self).IsSubpictureStreamEnabled)(::windows::core::Vtable::as_raw(self), ulstreamnum, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvdInfo2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvdInfo2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvdInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20385,7 +20385,7 @@ impl IDvdState { (::windows::core::Vtable::vtable(self).GetParentalLevel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDvdState, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDvdState, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDvdState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20445,7 +20445,7 @@ impl IESCloseMmiEvent { (::windows::core::Vtable::vtable(self).GetDialogNumber)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IESCloseMmiEvent, ::windows::core::IUnknown, IESEvent); +::windows::imp::interface_hierarchy!(IESCloseMmiEvent, ::windows::core::IUnknown, IESEvent); impl ::core::cmp::PartialEq for IESCloseMmiEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20500,7 +20500,7 @@ impl IESEvent { (::windows::core::Vtable::vtable(self).GetStringData)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IESEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IESEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IESEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20549,7 +20549,7 @@ impl IESEventFactory { (::windows::core::Vtable::vtable(self).CreateESEvent)(::windows::core::Vtable::as_raw(self), pserviceprovider.into().abi(), dweventid, ::core::mem::transmute(guideventtype), peventdata.len() as _, ::core::mem::transmute(peventdata.as_ptr()), ::core::mem::transmute_copy(bstrbaseurl), pinitcontext.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IESEventFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IESEventFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IESEventFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20589,7 +20589,7 @@ impl IESEventService { (::windows::core::Vtable::vtable(self).FireESEvent)(::windows::core::Vtable::as_raw(self), pesevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IESEventService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IESEventService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IESEventService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20653,7 +20653,7 @@ impl IESEventServiceConfiguration { (::windows::core::Vtable::vtable(self).RemoveGraph)(::windows::core::Vtable::as_raw(self), pgraph.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IESEventServiceConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IESEventServiceConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IESEventServiceConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20698,7 +20698,7 @@ impl IESEvents { (::windows::core::Vtable::vtable(self).OnESEventReceived)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guideventtype), pesevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IESEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IESEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IESEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20781,7 +20781,7 @@ impl IESFileExpiryDateEvent { (::windows::core::Vtable::vtable(self).DoesExpireAfterFirstUse)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IESFileExpiryDateEvent, ::windows::core::IUnknown, IESEvent); +::windows::imp::interface_hierarchy!(IESFileExpiryDateEvent, ::windows::core::IUnknown, IESEvent); impl ::core::cmp::PartialEq for IESFileExpiryDateEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20865,7 +20865,7 @@ impl IESIsdbCasResponseEvent { (::windows::core::Vtable::vtable(self).GetResponseData)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IESIsdbCasResponseEvent, ::windows::core::IUnknown, IESEvent); +::windows::imp::interface_hierarchy!(IESIsdbCasResponseEvent, ::windows::core::IUnknown, IESEvent); impl ::core::cmp::PartialEq for IESIsdbCasResponseEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20976,7 +20976,7 @@ impl IESLicenseRenewalResultEvent { (::windows::core::Vtable::vtable(self).GetExpiryDate)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IESLicenseRenewalResultEvent, ::windows::core::IUnknown, IESEvent); +::windows::imp::interface_hierarchy!(IESLicenseRenewalResultEvent, ::windows::core::IUnknown, IESEvent); impl ::core::cmp::PartialEq for IESLicenseRenewalResultEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21066,7 +21066,7 @@ impl IESOpenMmiEvent { (::windows::core::Vtable::vtable(self).GetDialogStringData)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrbaseurl), ::core::mem::transmute(pbstrdata)).ok() } } -::windows::core::interface_hierarchy!(IESOpenMmiEvent, ::windows::core::IUnknown, IESEvent); +::windows::imp::interface_hierarchy!(IESOpenMmiEvent, ::windows::core::IUnknown, IESEvent); impl ::core::cmp::PartialEq for IESOpenMmiEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21143,7 +21143,7 @@ impl IESRequestTunerEvent { (::windows::core::Vtable::vtable(self).GetEstimatedTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IESRequestTunerEvent, ::windows::core::IUnknown, IESEvent); +::windows::imp::interface_hierarchy!(IESRequestTunerEvent, ::windows::core::IUnknown, IESEvent); impl ::core::cmp::PartialEq for IESRequestTunerEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21207,7 +21207,7 @@ impl IESValueUpdatedEvent { (::windows::core::Vtable::vtable(self).GetValueNames)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IESValueUpdatedEvent, ::windows::core::IUnknown, IESEvent); +::windows::imp::interface_hierarchy!(IESValueUpdatedEvent, ::windows::core::IUnknown, IESEvent); impl ::core::cmp::PartialEq for IESValueUpdatedEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21266,7 +21266,7 @@ impl IETFilter { (::windows::core::Vtable::vtable(self).SetRecordingOn)(::windows::core::Vtable::as_raw(self), frecstate.into()).ok() } } -::windows::core::interface_hierarchy!(IETFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IETFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IETFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21314,7 +21314,7 @@ impl IETFilterConfig { (::windows::core::Vtable::vtable(self).GetSecureChannelObject)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IETFilterConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IETFilterConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IETFilterConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21351,7 +21351,7 @@ pub struct IETFilterEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IETFilterEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IETFilterEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IETFilterEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IETFilterEvents { fn eq(&self, other: &Self) -> bool { @@ -21424,7 +21424,7 @@ impl IEncoderAPI { (::windows::core::Vtable::vtable(self).SetValue)(::windows::core::Vtable::as_raw(self), api, value).ok() } } -::windows::core::interface_hierarchy!(IEncoderAPI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEncoderAPI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEncoderAPI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21494,7 +21494,7 @@ impl IEnumComponentTypes { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumComponentTypes, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumComponentTypes, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumComponentTypes { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21549,7 +21549,7 @@ impl IEnumComponents { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumComponents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumComponents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumComponents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21604,7 +21604,7 @@ impl IEnumFilters { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumFilters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumFilters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumFilters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21657,7 +21657,7 @@ impl IEnumGuideDataProperties { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumGuideDataProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumGuideDataProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumGuideDataProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21709,7 +21709,7 @@ impl IEnumMSVidGraphSegment { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumMSVidGraphSegment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumMSVidGraphSegment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumMSVidGraphSegment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21764,7 +21764,7 @@ impl IEnumMediaTypes { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumMediaTypes, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumMediaTypes, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumMediaTypes { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21817,7 +21817,7 @@ impl IEnumPIDMap { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumPIDMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumPIDMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumPIDMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21867,7 +21867,7 @@ impl IEnumPins { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumPins, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumPins, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumPins { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21917,7 +21917,7 @@ impl IEnumRegFilters { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumRegFilters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumRegFilters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumRegFilters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21967,7 +21967,7 @@ impl IEnumStreamBufferRecordingAttrib { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumStreamBufferRecordingAttrib, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumStreamBufferRecordingAttrib, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumStreamBufferRecordingAttrib { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22017,7 +22017,7 @@ impl IEnumStreamIdMap { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumStreamIdMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumStreamIdMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumStreamIdMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22069,7 +22069,7 @@ impl IEnumTuneRequests { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumTuneRequests, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTuneRequests, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTuneRequests { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22124,7 +22124,7 @@ impl IEnumTuningSpaces { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumTuningSpaces, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTuningSpaces, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTuningSpaces { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22194,7 +22194,7 @@ impl IEvalRat { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEvalRat, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IEvalRat, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEvalRat { fn eq(&self, other: &Self) -> bool { @@ -22259,7 +22259,7 @@ impl IFileSinkFilter { (::windows::core::Vtable::vtable(self).GetCurFile)(::windows::core::Vtable::as_raw(self), ppszfilename, pmt).ok() } } -::windows::core::interface_hierarchy!(IFileSinkFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileSinkFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileSinkFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22320,7 +22320,7 @@ impl IFileSinkFilter2 { (::windows::core::Vtable::vtable(self).GetMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFileSinkFilter2, ::windows::core::IUnknown, IFileSinkFilter); +::windows::imp::interface_hierarchy!(IFileSinkFilter2, ::windows::core::IUnknown, IFileSinkFilter); impl ::core::cmp::PartialEq for IFileSinkFilter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22368,7 +22368,7 @@ impl IFileSourceFilter { (::windows::core::Vtable::vtable(self).GetCurFile)(::windows::core::Vtable::as_raw(self), ppszfilename, ::core::mem::transmute(pmt.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IFileSourceFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileSourceFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileSourceFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22445,7 +22445,7 @@ impl IFilterChain { (::windows::core::Vtable::vtable(self).RemoveChain)(::windows::core::Vtable::as_raw(self), pstartfilter.into().abi(), pendfilter.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFilterChain, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterChain, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterChain { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22548,7 +22548,7 @@ impl IFilterGraph { (::windows::core::Vtable::vtable(self).SetDefaultSyncSource)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFilterGraph, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterGraph, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterGraph { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22719,7 +22719,7 @@ impl IFilterGraph2 { (::windows::core::Vtable::vtable(self).RenderEx)(::windows::core::Vtable::as_raw(self), ppinout.into().abi(), dwflags, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IFilterGraph2, ::windows::core::IUnknown, IFilterGraph, IGraphBuilder); +::windows::imp::interface_hierarchy!(IFilterGraph2, ::windows::core::IUnknown, IFilterGraph, IGraphBuilder); impl ::core::cmp::PartialEq for IFilterGraph2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22889,7 +22889,7 @@ impl IFilterGraph3 { (::windows::core::Vtable::vtable(self).SetSyncSourceEx)(::windows::core::Vtable::as_raw(self), pclockformostoffiltergraph.into().abi(), pclockforfilter.into().abi(), pfilter.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFilterGraph3, ::windows::core::IUnknown, IFilterGraph, IGraphBuilder, IFilterGraph2); +::windows::imp::interface_hierarchy!(IFilterGraph3, ::windows::core::IUnknown, IFilterGraph, IGraphBuilder, IFilterGraph2); impl ::core::cmp::PartialEq for IFilterGraph3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22964,7 +22964,7 @@ impl IFilterInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFilterInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFilterInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFilterInfo { fn eq(&self, other: &Self) -> bool { @@ -23072,7 +23072,7 @@ impl IFilterMapper { (::windows::core::Vtable::vtable(self).EnumMatchingFilters)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenum), dwmerit, binputneeded.into(), ::core::mem::transmute(clsinmaj), ::core::mem::transmute(clsinsub), brender.into(), boututneeded.into(), ::core::mem::transmute(clsoutmaj), ::core::mem::transmute(clsoutsub)).ok() } } -::windows::core::interface_hierarchy!(IFilterMapper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterMapper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterMapper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23169,7 +23169,7 @@ impl IFilterMapper2 { .ok() } } -::windows::core::interface_hierarchy!(IFilterMapper2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterMapper2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterMapper2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23266,7 +23266,7 @@ impl IFilterMapper3 { (::windows::core::Vtable::vtable(self).GetICreateDevEnum)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFilterMapper3, ::windows::core::IUnknown, IFilterMapper2); +::windows::imp::interface_hierarchy!(IFilterMapper3, ::windows::core::IUnknown, IFilterMapper2); impl ::core::cmp::PartialEq for IFilterMapper3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23319,7 +23319,7 @@ impl IFrequencyMap { (::windows::core::Vtable::vtable(self).get_CountryCodeList)(::windows::core::Vtable::as_raw(self), pulcount, ppullist).ok() } } -::windows::core::interface_hierarchy!(IFrequencyMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFrequencyMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFrequencyMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23422,7 +23422,7 @@ impl IFullScreenVideo { (::windows::core::Vtable::vtable(self).SetDefault)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFullScreenVideo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFullScreenVideo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFullScreenVideo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23563,7 +23563,7 @@ impl IFullScreenVideoEx { (::windows::core::Vtable::vtable(self).IsKeepPixelAspectRatio)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFullScreenVideoEx, ::windows::core::IUnknown, IFullScreenVideo); +::windows::imp::interface_hierarchy!(IFullScreenVideoEx, ::windows::core::IUnknown, IFullScreenVideo); impl ::core::cmp::PartialEq for IFullScreenVideoEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23621,7 +23621,7 @@ impl IGenericDescriptor { (::windows::core::Vtable::vtable(self).GetBody)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGenericDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGenericDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGenericDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23680,7 +23680,7 @@ impl IGenericDescriptor2 { (::windows::core::Vtable::vtable(self).GetLength2)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGenericDescriptor2, ::windows::core::IUnknown, IGenericDescriptor); +::windows::imp::interface_hierarchy!(IGenericDescriptor2, ::windows::core::IUnknown, IGenericDescriptor); impl ::core::cmp::PartialEq for IGenericDescriptor2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23721,7 +23721,7 @@ impl IGetCapabilitiesKey { (::windows::core::Vtable::vtable(self).GetCapabilitiesKey)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGetCapabilitiesKey, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetCapabilitiesKey, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetCapabilitiesKey { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23762,7 +23762,7 @@ impl IGpnvsCommonBase { (::windows::core::Vtable::vtable(self).GetValueUpdateName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGpnvsCommonBase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGpnvsCommonBase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGpnvsCommonBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23889,7 +23889,7 @@ impl IGraphBuilder { (::windows::core::Vtable::vtable(self).ShouldOperationContinue)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IGraphBuilder, ::windows::core::IUnknown, IFilterGraph); +::windows::imp::interface_hierarchy!(IGraphBuilder, ::windows::core::IUnknown, IFilterGraph); impl ::core::cmp::PartialEq for IGraphBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24009,7 +24009,7 @@ impl IGraphConfig { (::windows::core::Vtable::vtable(self).RemoveFilterEx)(::windows::core::Vtable::as_raw(self), pfilter.into().abi(), flags).ok() } } -::windows::core::interface_hierarchy!(IGraphConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGraphConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGraphConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24079,7 +24079,7 @@ impl IGraphConfigCallback { (::windows::core::Vtable::vtable(self).Reconfigure)(::windows::core::Vtable::as_raw(self), pvcontext, dwflags).ok() } } -::windows::core::interface_hierarchy!(IGraphConfigCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGraphConfigCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGraphConfigCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24117,7 +24117,7 @@ impl IGraphVersion { (::windows::core::Vtable::vtable(self).QueryVersion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGraphVersion, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGraphVersion, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGraphVersion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24188,7 +24188,7 @@ impl IGuideData { (::windows::core::Vtable::vtable(self).GetScheduleEntryProperties)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(varscheduleentrydescriptionid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGuideData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGuideData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGuideData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24275,7 +24275,7 @@ impl IGuideDataEvent { (::windows::core::Vtable::vtable(self).ScheduleDeleted)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(varscheduleentrydescriptionid)).ok() } } -::windows::core::interface_hierarchy!(IGuideDataEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGuideDataEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGuideDataEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24342,7 +24342,7 @@ impl IGuideDataLoader { (::windows::core::Vtable::vtable(self).Terminate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IGuideDataLoader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGuideDataLoader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGuideDataLoader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24391,7 +24391,7 @@ impl IGuideDataProperty { (::windows::core::Vtable::vtable(self).Value)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGuideDataProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGuideDataProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGuideDataProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24437,7 +24437,7 @@ impl IIPDVDec { (::windows::core::Vtable::vtable(self).SetIPDisplay)(::windows::core::Vtable::as_raw(self), displaypix).ok() } } -::windows::core::interface_hierarchy!(IIPDVDec, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIPDVDec, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIPDVDec { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24572,7 +24572,7 @@ impl IISDBSLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IISDBSLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBSLocator); +::windows::imp::interface_hierarchy!(IISDBSLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBSLocator); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IISDBSLocator { fn eq(&self, other: &Self) -> bool { @@ -24665,7 +24665,7 @@ impl IISDB_BIT { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IISDB_BIT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IISDB_BIT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IISDB_BIT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24761,7 +24761,7 @@ impl IISDB_CDT { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IISDB_CDT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IISDB_CDT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IISDB_CDT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24837,7 +24837,7 @@ impl IISDB_EMM { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IISDB_EMM, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IISDB_EMM, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IISDB_EMM { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24923,7 +24923,7 @@ impl IISDB_LDT { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IISDB_LDT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IISDB_LDT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IISDB_LDT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25029,7 +25029,7 @@ impl IISDB_NBIT { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IISDB_NBIT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IISDB_NBIT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IISDB_NBIT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25168,7 +25168,7 @@ impl IISDB_SDT { (::windows::core::Vtable::vtable(self).GetRecordEITUserDefinedFlags)(::windows::core::Vtable::as_raw(self), dwrecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IISDB_SDT, ::windows::core::IUnknown, IDVB_SDT); +::windows::imp::interface_hierarchy!(IISDB_SDT, ::windows::core::IUnknown, IDVB_SDT); impl ::core::cmp::PartialEq for IISDB_SDT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25284,7 +25284,7 @@ impl IISDB_SDTT { (::windows::core::Vtable::vtable(self).GetVersionHash)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IISDB_SDTT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IISDB_SDTT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IISDB_SDTT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25395,7 +25395,7 @@ impl IIsdbAudioComponentDescriptor { (::windows::core::Vtable::vtable(self).GetTextW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbAudioComponentDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbAudioComponentDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbAudioComponentDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25484,7 +25484,7 @@ impl IIsdbCAContractInformationDescriptor { (::windows::core::Vtable::vtable(self).GetFeeNameW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbCAContractInformationDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbCAContractInformationDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbCAContractInformationDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25549,7 +25549,7 @@ impl IIsdbCADescriptor { (::windows::core::Vtable::vtable(self).GetPrivateDataBytes)(::windows::core::Vtable::as_raw(self), pbbufferlength, pbbuffer).ok() } } -::windows::core::interface_hierarchy!(IIsdbCADescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbCADescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbCADescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25611,7 +25611,7 @@ impl IIsdbCAServiceDescriptor { (::windows::core::Vtable::vtable(self).GetServiceIds)(::windows::core::Vtable::as_raw(self), pbnumserviceids, pwserviceids).ok() } } -::windows::core::interface_hierarchy!(IIsdbCAServiceDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbCAServiceDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbCAServiceDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25694,7 +25694,7 @@ impl IIsdbComponentGroupDescriptor { (::windows::core::Vtable::vtable(self).GetRecordTextW)(::windows::core::Vtable::as_raw(self), brecordindex, convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbComponentGroupDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbComponentGroupDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbComponentGroupDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25777,7 +25777,7 @@ impl IIsdbDataContentDescriptor { (::windows::core::Vtable::vtable(self).GetTextW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbDataContentDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbDataContentDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbDataContentDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25838,7 +25838,7 @@ impl IIsdbDigitalCopyControlDescriptor { (::windows::core::Vtable::vtable(self).GetRecordCopyControl)(::windows::core::Vtable::as_raw(self), brecordindex, pbcomponenttag, pbdigitalrecordingcontroldata, pbcopycontroltype, pbapscontroldata, pbmaximumbitrate).ok() } } -::windows::core::interface_hierarchy!(IIsdbDigitalCopyControlDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbDigitalCopyControlDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbDigitalCopyControlDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25944,7 +25944,7 @@ impl IIsdbDownloadContentDescriptor { (::windows::core::Vtable::vtable(self).GetTextW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbDownloadContentDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbDownloadContentDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbDownloadContentDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26024,7 +26024,7 @@ impl IIsdbEmergencyInformationDescriptor { (::windows::core::Vtable::vtable(self).GetAreaCode)(::windows::core::Vtable::as_raw(self), brecordindex, ppwval, pbnumareacodes).ok() } } -::windows::core::interface_hierarchy!(IIsdbEmergencyInformationDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbEmergencyInformationDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbEmergencyInformationDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26090,7 +26090,7 @@ impl IIsdbEventGroupDescriptor { (::windows::core::Vtable::vtable(self).GetRefRecordEvent)(::windows::core::Vtable::as_raw(self), brecordindex, pworiginalnetworkid, pwtransportstreamid, pwserviceid, pweventid).ok() } } -::windows::core::interface_hierarchy!(IIsdbEventGroupDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbEventGroupDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbEventGroupDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26154,7 +26154,7 @@ impl IIsdbHierarchicalTransmissionDescriptor { (::windows::core::Vtable::vtable(self).GetReferencePid)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbHierarchicalTransmissionDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbHierarchicalTransmissionDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbHierarchicalTransmissionDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26221,7 +26221,7 @@ impl IIsdbLogoTransmissionDescriptor { (::windows::core::Vtable::vtable(self).GetLogoCharW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbLogoTransmissionDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbLogoTransmissionDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbLogoTransmissionDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26292,7 +26292,7 @@ impl IIsdbSIParameterDescriptor { (::windows::core::Vtable::vtable(self).GetTableDescriptionBytes)(::windows::core::Vtable::as_raw(self), brecordindex, pbbufferlength, pbbuffer).ok() } } -::windows::core::interface_hierarchy!(IIsdbSIParameterDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbSIParameterDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbSIParameterDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26370,7 +26370,7 @@ impl IIsdbSeriesDescriptor { (::windows::core::Vtable::vtable(self).GetSeriesNameW)(::windows::core::Vtable::as_raw(self), convmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbSeriesDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbSeriesDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbSeriesDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26509,7 +26509,7 @@ impl IIsdbSiParser2 { (::windows::core::Vtable::vtable(self).GetEMM)(::windows::core::Vtable::as_raw(self), pid, wtableidext, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbSiParser2, ::windows::core::IUnknown, IDvbSiParser, IDvbSiParser2); +::windows::imp::interface_hierarchy!(IIsdbSiParser2, ::windows::core::IUnknown, IDvbSiParser, IDvbSiParser2); impl ::core::cmp::PartialEq for IIsdbSiParser2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26581,7 +26581,7 @@ impl IIsdbTSInformationDescriptor { (::windows::core::Vtable::vtable(self).GetRecordServiceIdByIndex)(::windows::core::Vtable::as_raw(self), brecordindex, bserviceindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbTSInformationDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbTSInformationDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbTSInformationDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26650,7 +26650,7 @@ impl IIsdbTerrestrialDeliverySystemDescriptor { (::windows::core::Vtable::vtable(self).GetRecordFrequency)(::windows::core::Vtable::as_raw(self), brecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsdbTerrestrialDeliverySystemDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsdbTerrestrialDeliverySystemDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsdbTerrestrialDeliverySystemDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26696,7 +26696,7 @@ impl IKsNodeControl { (::windows::core::Vtable::vtable(self).SetKsControl)(::windows::core::Vtable::as_raw(self), pkscontrol).ok() } } -::windows::core::interface_hierarchy!(IKsNodeControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsNodeControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsNodeControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26763,7 +26763,7 @@ impl IKsTopologyInfo { (::windows::core::Vtable::vtable(self).CreateNodeInstance)(::windows::core::Vtable::as_raw(self), dwnodeid, iid, ppvobject).ok() } } -::windows::core::interface_hierarchy!(IKsTopologyInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsTopologyInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsTopologyInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26883,7 +26883,7 @@ impl ILanguageComponentType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ILanguageComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponentType); +::windows::imp::interface_hierarchy!(ILanguageComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponentType); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ILanguageComponentType { fn eq(&self, other: &Self) -> bool { @@ -26983,7 +26983,7 @@ impl ILocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ILocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ILocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ILocator { fn eq(&self, other: &Self) -> bool { @@ -27106,7 +27106,7 @@ impl IMPEG2Component { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMPEG2Component, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponent); +::windows::imp::interface_hierarchy!(IMPEG2Component, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMPEG2Component { fn eq(&self, other: &Self) -> bool { @@ -27235,7 +27235,7 @@ impl IMPEG2ComponentType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMPEG2ComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponentType, ILanguageComponentType); +::windows::imp::interface_hierarchy!(IMPEG2ComponentType, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IComponentType, ILanguageComponentType); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMPEG2ComponentType { fn eq(&self, other: &Self) -> bool { @@ -27287,7 +27287,7 @@ impl IMPEG2PIDMap { (::windows::core::Vtable::vtable(self).EnumPIDMap)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMPEG2PIDMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMPEG2PIDMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMPEG2PIDMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27333,7 +27333,7 @@ impl IMPEG2StreamIdMap { (::windows::core::Vtable::vtable(self).EnumStreamIdMap)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMPEG2StreamIdMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMPEG2StreamIdMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMPEG2StreamIdMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27418,7 +27418,7 @@ impl IMPEG2TuneRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMPEG2TuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest); +::windows::imp::interface_hierarchy!(IMPEG2TuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMPEG2TuneRequest { fn eq(&self, other: &Self) -> bool { @@ -27474,7 +27474,7 @@ impl IMPEG2TuneRequestFactory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMPEG2TuneRequestFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMPEG2TuneRequestFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMPEG2TuneRequestFactory { fn eq(&self, other: &Self) -> bool { @@ -27517,7 +27517,7 @@ pub struct IMPEG2TuneRequestFactory_Vtbl { #[repr(transparent)] pub struct IMPEG2TuneRequestSupport(::windows::core::IUnknown); impl IMPEG2TuneRequestSupport {} -::windows::core::interface_hierarchy!(IMPEG2TuneRequestSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMPEG2TuneRequestSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMPEG2TuneRequestSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27572,7 +27572,7 @@ impl IMPEG2_TIF_CONTROL { (::windows::core::Vtable::vtable(self).GetPIDs)(::windows::core::Vtable::as_raw(self), pulcpids, pulpids).ok() } } -::windows::core::interface_hierarchy!(IMPEG2_TIF_CONTROL, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMPEG2_TIF_CONTROL, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMPEG2_TIF_CONTROL { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27626,7 +27626,7 @@ impl IMSEventBinder { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSEventBinder, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSEventBinder, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSEventBinder { fn eq(&self, other: &Self) -> bool { @@ -27801,7 +27801,7 @@ impl IMSVidAnalogTuner { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidAnalogTuner, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice, IMSVidTuner); +::windows::imp::interface_hierarchy!(IMSVidAnalogTuner, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice, IMSVidTuner); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidAnalogTuner { fn eq(&self, other: &Self) -> bool { @@ -28001,7 +28001,7 @@ impl IMSVidAnalogTuner2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidAnalogTuner2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice, IMSVidTuner, IMSVidAnalogTuner); +::windows::imp::interface_hierarchy!(IMSVidAnalogTuner2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice, IMSVidTuner, IMSVidAnalogTuner); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidAnalogTuner2 { fn eq(&self, other: &Self) -> bool { @@ -28055,7 +28055,7 @@ impl IMSVidAnalogTunerEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidAnalogTunerEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidTunerEvent); +::windows::imp::interface_hierarchy!(IMSVidAnalogTunerEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidTunerEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidAnalogTunerEvent { fn eq(&self, other: &Self) -> bool { @@ -28159,7 +28159,7 @@ impl IMSVidAudioRenderer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidAudioRenderer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); +::windows::imp::interface_hierarchy!(IMSVidAudioRenderer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidAudioRenderer { fn eq(&self, other: &Self) -> bool { @@ -28235,7 +28235,7 @@ impl IMSVidAudioRendererDevices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidAudioRendererDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidAudioRendererDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidAudioRendererDevices { fn eq(&self, other: &Self) -> bool { @@ -28303,7 +28303,7 @@ impl IMSVidAudioRendererEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidAudioRendererEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidAudioRendererEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidAudioRendererEvent { fn eq(&self, other: &Self) -> bool { @@ -28378,7 +28378,7 @@ impl IMSVidAudioRendererEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidAudioRendererEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidAudioRendererEvent); +::windows::imp::interface_hierarchy!(IMSVidAudioRendererEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidAudioRendererEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidAudioRendererEvent2 { fn eq(&self, other: &Self) -> bool { @@ -28490,7 +28490,7 @@ impl IMSVidClosedCaptioning { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidClosedCaptioning, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); +::windows::imp::interface_hierarchy!(IMSVidClosedCaptioning, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidClosedCaptioning { fn eq(&self, other: &Self) -> bool { @@ -28609,7 +28609,7 @@ impl IMSVidClosedCaptioning2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidClosedCaptioning2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature, IMSVidClosedCaptioning); +::windows::imp::interface_hierarchy!(IMSVidClosedCaptioning2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature, IMSVidClosedCaptioning); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidClosedCaptioning2 { fn eq(&self, other: &Self) -> bool { @@ -28726,7 +28726,7 @@ impl IMSVidClosedCaptioning3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidClosedCaptioning3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature, IMSVidClosedCaptioning, IMSVidClosedCaptioning2); +::windows::imp::interface_hierarchy!(IMSVidClosedCaptioning3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature, IMSVidClosedCaptioning, IMSVidClosedCaptioning2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidClosedCaptioning3 { fn eq(&self, other: &Self) -> bool { @@ -28853,7 +28853,7 @@ impl IMSVidCompositionSegment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidCompositionSegment, ::windows::core::IUnknown, super::super::System::Com::IPersist, IMSVidGraphSegment); +::windows::imp::interface_hierarchy!(IMSVidCompositionSegment, ::windows::core::IUnknown, super::super::System::Com::IPersist, IMSVidGraphSegment); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidCompositionSegment { fn eq(&self, other: &Self) -> bool { @@ -29141,7 +29141,7 @@ impl IMSVidCtl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidCtl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidCtl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidCtl { fn eq(&self, other: &Self) -> bool { @@ -29358,7 +29358,7 @@ impl IMSVidDataServices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidDataServices, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); +::windows::imp::interface_hierarchy!(IMSVidDataServices, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidDataServices { fn eq(&self, other: &Self) -> bool { @@ -29409,7 +29409,7 @@ impl IMSVidDataServicesEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidDataServicesEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidDataServicesEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidDataServicesEvent { fn eq(&self, other: &Self) -> bool { @@ -29499,7 +29499,7 @@ impl IMSVidDevice { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidDevice { fn eq(&self, other: &Self) -> bool { @@ -29561,7 +29561,7 @@ impl IMSVidDevice2 { (::windows::core::Vtable::vtable(self).DevicePath)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMSVidDevice2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMSVidDevice2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMSVidDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29606,7 +29606,7 @@ impl IMSVidDeviceEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidDeviceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidDeviceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidDeviceEvent { fn eq(&self, other: &Self) -> bool { @@ -29889,7 +29889,7 @@ impl IMSVidEVR { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidEVR, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); +::windows::imp::interface_hierarchy!(IMSVidEVR, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidEVR { fn eq(&self, other: &Self) -> bool { @@ -29959,7 +29959,7 @@ impl IMSVidEVREvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidEVREvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidEVREvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidEVREvent { fn eq(&self, other: &Self) -> bool { @@ -30058,7 +30058,7 @@ impl IMSVidEncoder { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidEncoder, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); +::windows::imp::interface_hierarchy!(IMSVidEncoder, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidEncoder { fn eq(&self, other: &Self) -> bool { @@ -30150,7 +30150,7 @@ impl IMSVidFeature { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidFeature, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice); +::windows::imp::interface_hierarchy!(IMSVidFeature, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidFeature { fn eq(&self, other: &Self) -> bool { @@ -30201,7 +30201,7 @@ impl IMSVidFeatureEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidFeatureEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidFeatureEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidFeatureEvent { fn eq(&self, other: &Self) -> bool { @@ -30273,7 +30273,7 @@ impl IMSVidFeatures { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidFeatures, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidFeatures, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidFeatures { fn eq(&self, other: &Self) -> bool { @@ -30458,7 +30458,7 @@ impl IMSVidFilePlayback { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidFilePlayback, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback); +::windows::imp::interface_hierarchy!(IMSVidFilePlayback, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidFilePlayback { fn eq(&self, other: &Self) -> bool { @@ -30634,7 +30634,7 @@ impl IMSVidFilePlayback2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidFilePlayback2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback); +::windows::imp::interface_hierarchy!(IMSVidFilePlayback2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidFilePlayback2 { fn eq(&self, other: &Self) -> bool { @@ -30687,7 +30687,7 @@ impl IMSVidFilePlaybackEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidFilePlaybackEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); +::windows::imp::interface_hierarchy!(IMSVidFilePlaybackEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidFilePlaybackEvent { fn eq(&self, other: &Self) -> bool { @@ -30787,7 +30787,7 @@ impl IMSVidGenericSink { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidGenericSink, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); +::windows::imp::interface_hierarchy!(IMSVidGenericSink, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidGenericSink { fn eq(&self, other: &Self) -> bool { @@ -30896,7 +30896,7 @@ impl IMSVidGenericSink2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidGenericSink2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidGenericSink); +::windows::imp::interface_hierarchy!(IMSVidGenericSink2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidGenericSink); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidGenericSink2 { fn eq(&self, other: &Self) -> bool { @@ -31003,7 +31003,7 @@ impl IMSVidGraphSegment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidGraphSegment, ::windows::core::IUnknown, super::super::System::Com::IPersist); +::windows::imp::interface_hierarchy!(IMSVidGraphSegment, ::windows::core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidGraphSegment { fn eq(&self, other: &Self) -> bool { @@ -31110,7 +31110,7 @@ impl IMSVidGraphSegmentContainer { (::windows::core::Vtable::vtable(self).GetFocus)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMSVidGraphSegmentContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMSVidGraphSegmentContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMSVidGraphSegmentContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31190,7 +31190,7 @@ impl IMSVidGraphSegmentUserInput { (::windows::core::Vtable::vtable(self).MouseUp)(::windows::core::Vtable::as_raw(self), buttonstate, shiftstate, x, y).ok() } } -::windows::core::interface_hierarchy!(IMSVidGraphSegmentUserInput, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMSVidGraphSegmentUserInput, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMSVidGraphSegmentUserInput { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31292,7 +31292,7 @@ impl IMSVidInputDevice { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidInputDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice); +::windows::imp::interface_hierarchy!(IMSVidInputDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidInputDevice { fn eq(&self, other: &Self) -> bool { @@ -31342,7 +31342,7 @@ pub struct IMSVidInputDeviceEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDeviceEvent {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidInputDeviceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidInputDeviceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidInputDeviceEvent { fn eq(&self, other: &Self) -> bool { @@ -31414,7 +31414,7 @@ impl IMSVidInputDevices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidInputDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidInputDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidInputDevices { fn eq(&self, other: &Self) -> bool { @@ -31521,7 +31521,7 @@ impl IMSVidOutputDevice { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidOutputDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice); +::windows::imp::interface_hierarchy!(IMSVidOutputDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidOutputDevice { fn eq(&self, other: &Self) -> bool { @@ -31572,7 +31572,7 @@ impl IMSVidOutputDeviceEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidOutputDeviceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidOutputDeviceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidOutputDeviceEvent { fn eq(&self, other: &Self) -> bool { @@ -31644,7 +31644,7 @@ impl IMSVidOutputDevices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidOutputDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidOutputDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidOutputDevices { fn eq(&self, other: &Self) -> bool { @@ -31822,7 +31822,7 @@ impl IMSVidPlayback { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidPlayback, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice); +::windows::imp::interface_hierarchy!(IMSVidPlayback, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidPlayback { fn eq(&self, other: &Self) -> bool { @@ -31896,7 +31896,7 @@ impl IMSVidPlaybackEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidPlaybackEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidPlaybackEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidPlaybackEvent { fn eq(&self, other: &Self) -> bool { @@ -31993,7 +31993,7 @@ impl IMSVidRect { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidRect, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidRect, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidRect { fn eq(&self, other: &Self) -> bool { @@ -32090,7 +32090,7 @@ impl IMSVidStreamBufferRecordingControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferRecordingControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferRecordingControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferRecordingControl { fn eq(&self, other: &Self) -> bool { @@ -32220,7 +32220,7 @@ impl IMSVidStreamBufferSink { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSink, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSink, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSink { fn eq(&self, other: &Self) -> bool { @@ -32351,7 +32351,7 @@ impl IMSVidStreamBufferSink2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSink2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidStreamBufferSink); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSink2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidStreamBufferSink); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSink2 { fn eq(&self, other: &Self) -> bool { @@ -32537,7 +32537,7 @@ impl IMSVidStreamBufferSink3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSink3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidStreamBufferSink, IMSVidStreamBufferSink2); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSink3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidStreamBufferSink, IMSVidStreamBufferSink2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSink3 { fn eq(&self, other: &Self) -> bool { @@ -32615,7 +32615,7 @@ impl IMSVidStreamBufferSinkEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSinkEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSinkEvent { fn eq(&self, other: &Self) -> bool { @@ -32684,7 +32684,7 @@ impl IMSVidStreamBufferSinkEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSinkEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSinkEvent2 { fn eq(&self, other: &Self) -> bool { @@ -32755,7 +32755,7 @@ impl IMSVidStreamBufferSinkEvent3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSinkEvent3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent2); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSinkEvent3 { fn eq(&self, other: &Self) -> bool { @@ -32828,7 +32828,7 @@ impl IMSVidStreamBufferSinkEvent4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSinkEvent4, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent2, IMSVidStreamBufferSinkEvent3); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent4, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent2, IMSVidStreamBufferSinkEvent3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSinkEvent4 { fn eq(&self, other: &Self) -> bool { @@ -33026,7 +33026,7 @@ impl IMSVidStreamBufferSource { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSource, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSource, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSource { fn eq(&self, other: &Self) -> bool { @@ -33252,7 +33252,7 @@ impl IMSVidStreamBufferSource2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSource2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback, IMSVidStreamBufferSource); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSource2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback, IMSVidStreamBufferSource); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSource2 { fn eq(&self, other: &Self) -> bool { @@ -33335,7 +33335,7 @@ impl IMSVidStreamBufferSourceEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSourceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSourceEvent { fn eq(&self, other: &Self) -> bool { @@ -33425,7 +33425,7 @@ impl IMSVidStreamBufferSourceEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSourceEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent, IMSVidStreamBufferSourceEvent); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent, IMSVidStreamBufferSourceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSourceEvent2 { fn eq(&self, other: &Self) -> bool { @@ -33522,7 +33522,7 @@ impl IMSVidStreamBufferSourceEvent3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferSourceEvent3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent, IMSVidStreamBufferSourceEvent, IMSVidStreamBufferSourceEvent2); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent, IMSVidStreamBufferSourceEvent, IMSVidStreamBufferSourceEvent2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferSourceEvent3 { fn eq(&self, other: &Self) -> bool { @@ -33605,7 +33605,7 @@ impl IMSVidStreamBufferV2SourceEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidStreamBufferV2SourceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent); +::windows::imp::interface_hierarchy!(IMSVidStreamBufferV2SourceEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidStreamBufferV2SourceEvent { fn eq(&self, other: &Self) -> bool { @@ -33743,7 +33743,7 @@ impl IMSVidTuner { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidTuner, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice); +::windows::imp::interface_hierarchy!(IMSVidTuner, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidTuner { fn eq(&self, other: &Self) -> bool { @@ -33810,7 +33810,7 @@ impl IMSVidTunerEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidTunerEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidTunerEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidTunerEvent { fn eq(&self, other: &Self) -> bool { @@ -34093,7 +34093,7 @@ impl IMSVidVMR9 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidVMR9, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); +::windows::imp::interface_hierarchy!(IMSVidVMR9, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidVMR9 { fn eq(&self, other: &Self) -> bool { @@ -34323,7 +34323,7 @@ impl IMSVidVRGraphSegment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidVRGraphSegment, ::windows::core::IUnknown, super::super::System::Com::IPersist, IMSVidGraphSegment); +::windows::imp::interface_hierarchy!(IMSVidVRGraphSegment, ::windows::core::IUnknown, super::super::System::Com::IPersist, IMSVidGraphSegment); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidVRGraphSegment { fn eq(&self, other: &Self) -> bool { @@ -34487,7 +34487,7 @@ impl IMSVidVideoInputDevice { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidVideoInputDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice); +::windows::imp::interface_hierarchy!(IMSVidVideoInputDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidVideoInputDevice { fn eq(&self, other: &Self) -> bool { @@ -34738,7 +34738,7 @@ impl IMSVidVideoRenderer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidVideoRenderer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); +::windows::imp::interface_hierarchy!(IMSVidVideoRenderer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidVideoRenderer { fn eq(&self, other: &Self) -> bool { @@ -35105,7 +35105,7 @@ impl IMSVidVideoRenderer2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidVideoRenderer2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); +::windows::imp::interface_hierarchy!(IMSVidVideoRenderer2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidVideoRenderer2 { fn eq(&self, other: &Self) -> bool { @@ -35190,7 +35190,7 @@ impl IMSVidVideoRendererDevices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidVideoRendererDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidVideoRendererDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidVideoRendererDevices { fn eq(&self, other: &Self) -> bool { @@ -35261,7 +35261,7 @@ impl IMSVidVideoRendererEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidVideoRendererEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidVideoRendererEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidVideoRendererEvent { fn eq(&self, other: &Self) -> bool { @@ -35316,7 +35316,7 @@ impl IMSVidVideoRendererEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidVideoRendererEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); +::windows::imp::interface_hierarchy!(IMSVidVideoRendererEvent2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidVideoRendererEvent2 { fn eq(&self, other: &Self) -> bool { @@ -35853,7 +35853,7 @@ impl IMSVidWebDVD { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidWebDVD, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback); +::windows::imp::interface_hierarchy!(IMSVidWebDVD, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidWebDVD { fn eq(&self, other: &Self) -> bool { @@ -36526,7 +36526,7 @@ impl IMSVidWebDVD2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidWebDVD2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidWebDVD); +::windows::imp::interface_hierarchy!(IMSVidWebDVD2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidWebDVD); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidWebDVD2 { fn eq(&self, other: &Self) -> bool { @@ -36629,7 +36629,7 @@ impl IMSVidWebDVDAdm { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidWebDVDAdm, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSVidWebDVDAdm, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidWebDVDAdm { fn eq(&self, other: &Self) -> bool { @@ -36884,7 +36884,7 @@ impl IMSVidWebDVDEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidWebDVDEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); +::windows::imp::interface_hierarchy!(IMSVidWebDVDEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidWebDVDEvent { fn eq(&self, other: &Self) -> bool { @@ -37070,7 +37070,7 @@ impl IMSVidXDS { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidXDS, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); +::windows::imp::interface_hierarchy!(IMSVidXDS, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidXDS { fn eq(&self, other: &Self) -> bool { @@ -37125,7 +37125,7 @@ impl IMSVidXDSEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSVidXDSEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidFeatureEvent); +::windows::imp::interface_hierarchy!(IMSVidXDSEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidFeatureEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSVidXDSEvent { fn eq(&self, other: &Self) -> bool { @@ -37169,7 +37169,7 @@ impl IMceBurnerControl { (::windows::core::Vtable::vtable(self).GetBurnerNoDecryption)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMceBurnerControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMceBurnerControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMceBurnerControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37243,7 +37243,7 @@ impl IMediaControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMediaControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMediaControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMediaControl { fn eq(&self, other: &Self) -> bool { @@ -37324,7 +37324,7 @@ impl IMediaEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMediaEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMediaEvent, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMediaEvent { fn eq(&self, other: &Self) -> bool { @@ -37403,7 +37403,7 @@ impl IMediaEventEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMediaEventEx, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMediaEvent); +::windows::imp::interface_hierarchy!(IMediaEventEx, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMediaEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMediaEventEx { fn eq(&self, other: &Self) -> bool { @@ -37449,7 +37449,7 @@ impl IMediaEventSink { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), eventcode, eventparam1, eventparam2).ok() } } -::windows::core::interface_hierarchy!(IMediaEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37515,7 +37515,7 @@ impl IMediaFilter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMediaFilter, ::windows::core::IUnknown, super::super::System::Com::IPersist); +::windows::imp::interface_hierarchy!(IMediaFilter, ::windows::core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMediaFilter { fn eq(&self, other: &Self) -> bool { @@ -37583,7 +37583,7 @@ impl IMediaParamInfo { (::windows::core::Vtable::vtable(self).GetCurrentTimeFormat)(::windows::core::Vtable::as_raw(self), pguidtimeformat, ptimedata).ok() } } -::windows::core::interface_hierarchy!(IMediaParamInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaParamInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaParamInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37638,7 +37638,7 @@ impl IMediaParams { (::windows::core::Vtable::vtable(self).SetTimeFormat)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidtimeformat), mptimedata).ok() } } -::windows::core::interface_hierarchy!(IMediaParams, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaParams, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaParams { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37719,7 +37719,7 @@ impl IMediaPosition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMediaPosition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMediaPosition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMediaPosition { fn eq(&self, other: &Self) -> bool { @@ -37795,7 +37795,7 @@ impl IMediaPropertyBag { } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows::core::interface_hierarchy!(IMediaPropertyBag, ::windows::core::IUnknown, super::super::System::Com::StructuredStorage::IPropertyBag); +::windows::imp::interface_hierarchy!(IMediaPropertyBag, ::windows::core::IUnknown, super::super::System::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for IMediaPropertyBag { fn eq(&self, other: &Self) -> bool { @@ -37908,7 +37908,7 @@ impl IMediaSample { (::windows::core::Vtable::vtable(self).SetMediaTime)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ptimestart.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ptimeend.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IMediaSample, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaSample, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38047,7 +38047,7 @@ impl IMediaSample2 { (::windows::core::Vtable::vtable(self).SetProperties)(::windows::core::Vtable::as_raw(self), pbproperties.len() as _, ::core::mem::transmute(pbproperties.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IMediaSample2, ::windows::core::IUnknown, IMediaSample); +::windows::imp::interface_hierarchy!(IMediaSample2, ::windows::core::IUnknown, IMediaSample); impl ::core::cmp::PartialEq for IMediaSample2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38086,7 +38086,7 @@ impl IMediaSample2Config { (::windows::core::Vtable::vtable(self).GetSurface)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMediaSample2Config, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaSample2Config, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaSample2Config { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38179,7 +38179,7 @@ impl IMediaSeeking { (::windows::core::Vtable::vtable(self).GetPreroll)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMediaSeeking, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaSeeking, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaSeeking { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38256,7 +38256,7 @@ impl IMediaStream { (::windows::core::Vtable::vtable(self).SendEndOfStream)(::windows::core::Vtable::as_raw(self), dwflags).ok() } } -::windows::core::interface_hierarchy!(IMediaStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38396,7 +38396,7 @@ impl IMediaStreamFilter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMediaStreamFilter, ::windows::core::IUnknown, super::super::System::Com::IPersist, IMediaFilter, IBaseFilter); +::windows::imp::interface_hierarchy!(IMediaStreamFilter, ::windows::core::IUnknown, super::super::System::Com::IPersist, IMediaFilter, IBaseFilter); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMediaStreamFilter { fn eq(&self, other: &Self) -> bool { @@ -38462,7 +38462,7 @@ impl IMediaTypeInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMediaTypeInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMediaTypeInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMediaTypeInfo { fn eq(&self, other: &Self) -> bool { @@ -38527,7 +38527,7 @@ impl IMemAllocator { (::windows::core::Vtable::vtable(self).ReleaseBuffer)(::windows::core::Vtable::as_raw(self), pbuffer.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMemAllocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMemAllocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMemAllocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38599,7 +38599,7 @@ impl IMemAllocatorCallbackTemp { (::windows::core::Vtable::vtable(self).GetFreeCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMemAllocatorCallbackTemp, ::windows::core::IUnknown, IMemAllocator); +::windows::imp::interface_hierarchy!(IMemAllocatorCallbackTemp, ::windows::core::IUnknown, IMemAllocator); impl ::core::cmp::PartialEq for IMemAllocatorCallbackTemp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38637,7 +38637,7 @@ impl IMemAllocatorNotifyCallbackTemp { (::windows::core::Vtable::vtable(self).NotifyRelease)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMemAllocatorNotifyCallbackTemp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMemAllocatorNotifyCallbackTemp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMemAllocatorNotifyCallbackTemp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38701,7 +38701,7 @@ impl IMemInputPin { (::windows::core::Vtable::vtable(self).ReceiveCanBlock)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMemInputPin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMemInputPin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMemInputPin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38752,7 +38752,7 @@ impl IMemoryData { (::windows::core::Vtable::vtable(self).SetActual)(::windows::core::Vtable::as_raw(self), cbdatavalid).ok() } } -::windows::core::interface_hierarchy!(IMemoryData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMemoryData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMemoryData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38823,7 +38823,7 @@ impl IMixerOCX { (::windows::core::Vtable::vtable(self).UnAdvise)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMixerOCX, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMixerOCX, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMixerOCX { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38881,7 +38881,7 @@ impl IMixerOCXNotify { (::windows::core::Vtable::vtable(self).OnDataChange)(::windows::core::Vtable::as_raw(self), uldataflags).ok() } } -::windows::core::interface_hierarchy!(IMixerOCXNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMixerOCXNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMixerOCXNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38967,7 +38967,7 @@ impl IMixerPinConfig { (::windows::core::Vtable::vtable(self).GetStreamTransparent)(::windows::core::Vtable::as_raw(self), pbstreamtransparent).ok() } } -::windows::core::interface_hierarchy!(IMixerPinConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMixerPinConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMixerPinConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39081,7 +39081,7 @@ impl IMixerPinConfig2 { (::windows::core::Vtable::vtable(self).GetOverlaySurfaceColorControls)(::windows::core::Vtable::as_raw(self), pcolorcontrol).ok() } } -::windows::core::interface_hierarchy!(IMixerPinConfig2, ::windows::core::IUnknown, IMixerPinConfig); +::windows::imp::interface_hierarchy!(IMixerPinConfig2, ::windows::core::IUnknown, IMixerPinConfig); impl ::core::cmp::PartialEq for IMixerPinConfig2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39143,7 +39143,7 @@ impl IMpeg2Data { (::windows::core::Vtable::vtable(self).GetStreamOfSections)(::windows::core::Vtable::as_raw(self), pid, tid, pfilter, hdatareadyevent.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMpeg2Data, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMpeg2Data, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMpeg2Data { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39210,7 +39210,7 @@ impl IMpeg2Demultiplexer { (::windows::core::Vtable::vtable(self).DeleteOutputPin)(::windows::core::Vtable::as_raw(self), pszpinname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMpeg2Demultiplexer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMpeg2Demultiplexer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMpeg2Demultiplexer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39264,7 +39264,7 @@ impl IMpeg2Stream { (::windows::core::Vtable::vtable(self).SupplyDataBuffer)(::windows::core::Vtable::as_raw(self), pstreambuffer).ok() } } -::windows::core::interface_hierarchy!(IMpeg2Stream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMpeg2Stream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMpeg2Stream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39320,7 +39320,7 @@ impl IMpeg2TableFilter { (::windows::core::Vtable::vtable(self).RemoveExtension)(::windows::core::Vtable::as_raw(self), p, t, e).ok() } } -::windows::core::interface_hierarchy!(IMpeg2TableFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMpeg2TableFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMpeg2TableFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39405,7 +39405,7 @@ impl IMpegAudioDecoder { (::windows::core::Vtable::vtable(self).AudioFormat)(::windows::core::Vtable::as_raw(self), lpfmt).ok() } } -::windows::core::interface_hierarchy!(IMpegAudioDecoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMpegAudioDecoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMpegAudioDecoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39489,7 +39489,7 @@ impl IMultiMediaStream { (::windows::core::Vtable::vtable(self).GetEndOfStreamEventHandle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMultiMediaStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMultiMediaStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMultiMediaStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39586,7 +39586,7 @@ impl IOverlay { (::windows::core::Vtable::vtable(self).Unadvise)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOverlay, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOverlay, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOverlay { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39673,7 +39673,7 @@ impl IOverlayNotify { (::windows::core::Vtable::vtable(self).OnPositionChange)(::windows::core::Vtable::as_raw(self), psourcerect, pdestinationrect).ok() } } -::windows::core::interface_hierarchy!(IOverlayNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOverlayNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOverlayNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39750,7 +39750,7 @@ impl IOverlayNotify2 { (::windows::core::Vtable::vtable(self).OnDisplayChange)(::windows::core::Vtable::as_raw(self), hmonitor.into()).ok() } } -::windows::core::interface_hierarchy!(IOverlayNotify2, ::windows::core::IUnknown, IOverlayNotify); +::windows::imp::interface_hierarchy!(IOverlayNotify2, ::windows::core::IUnknown, IOverlayNotify); impl ::core::cmp::PartialEq for IOverlayNotify2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39841,7 +39841,7 @@ impl IPAT { (::windows::core::Vtable::vtable(self).ConvertNextToCurrent)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPAT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPAT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPAT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39902,7 +39902,7 @@ impl IPBDAAttributesDescriptor { (::windows::core::Vtable::vtable(self).GetAttributePayload)(::windows::core::Vtable::as_raw(self), ppbattributebuffer, pdwattributelength).ok() } } -::windows::core::interface_hierarchy!(IPBDAAttributesDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPBDAAttributesDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPBDAAttributesDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39949,7 +39949,7 @@ impl IPBDAEntitlementDescriptor { (::windows::core::Vtable::vtable(self).GetToken)(::windows::core::Vtable::as_raw(self), ppbtokenbuffer, pdwtokenlength).ok() } } -::windows::core::interface_hierarchy!(IPBDAEntitlementDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPBDAEntitlementDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPBDAEntitlementDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39999,7 +39999,7 @@ impl IPBDASiParser { (::windows::core::Vtable::vtable(self).GetServices)(::windows::core::Vtable::as_raw(self), dwsize, pbuffer, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPBDASiParser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPBDASiParser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPBDASiParser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40077,7 +40077,7 @@ impl IPBDA_EIT { (::windows::core::Vtable::vtable(self).GetRecordDescriptorByTag)(::windows::core::Vtable::as_raw(self), dwrecordindex, btag, pdwcookie, ::core::mem::transmute(ppdescriptor)).ok() } } -::windows::core::interface_hierarchy!(IPBDA_EIT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPBDA_EIT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPBDA_EIT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40132,7 +40132,7 @@ impl IPBDA_Services { (::windows::core::Vtable::vtable(self).GetRecordByIndex)(::windows::core::Vtable::as_raw(self), dwrecordindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPBDA_Services, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPBDA_Services, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPBDA_Services { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40250,7 +40250,7 @@ impl IPMT { (::windows::core::Vtable::vtable(self).ConvertNextToCurrent)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPMT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40312,7 +40312,7 @@ impl IPSITables { (::windows::core::Vtable::vtable(self).GetTable)(::windows::core::Vtable::as_raw(self), dwtsid, dwtid_pid, dwhashedver, dwpara4, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPSITables, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPSITables, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPSITables { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40359,7 +40359,7 @@ impl IPTFilterLicenseRenewal { (::windows::core::Vtable::vtable(self).CancelLicenseRenewal)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPTFilterLicenseRenewal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPTFilterLicenseRenewal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPTFilterLicenseRenewal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40428,7 +40428,7 @@ impl IPersistMediaPropertyBag { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistMediaPropertyBag, ::windows::core::IUnknown, super::super::System::Com::IPersist); +::windows::imp::interface_hierarchy!(IPersistMediaPropertyBag, ::windows::core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistMediaPropertyBag { fn eq(&self, other: &Self) -> bool { @@ -40500,7 +40500,7 @@ impl IPersistTuneXml { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistTuneXml, ::windows::core::IUnknown, super::super::System::Com::IPersist); +::windows::imp::interface_hierarchy!(IPersistTuneXml, ::windows::core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistTuneXml { fn eq(&self, other: &Self) -> bool { @@ -40555,7 +40555,7 @@ impl IPersistTuneXmlUtility { (::windows::core::Vtable::vtable(self).Deserialize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(varvalue), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPersistTuneXmlUtility, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPersistTuneXmlUtility, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPersistTuneXmlUtility { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40607,7 +40607,7 @@ impl IPersistTuneXmlUtility2 { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), pitunerequest.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPersistTuneXmlUtility2, ::windows::core::IUnknown, IPersistTuneXmlUtility); +::windows::imp::interface_hierarchy!(IPersistTuneXmlUtility2, ::windows::core::IUnknown, IPersistTuneXmlUtility); impl ::core::cmp::PartialEq for IPersistTuneXmlUtility2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40709,7 +40709,7 @@ impl IPin { (::windows::core::Vtable::vtable(self).NewSegment)(::windows::core::Vtable::as_raw(self), tstart, tstop, drate).ok() } } -::windows::core::interface_hierarchy!(IPin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40791,7 +40791,7 @@ impl IPinConnection { (::windows::core::Vtable::vtable(self).DynamicDisconnect)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPinConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPinConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPinConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40842,7 +40842,7 @@ impl IPinFlowControl { (::windows::core::Vtable::vtable(self).Block)(::windows::core::Vtable::as_raw(self), dwblockflags, hevent.into()).ok() } } -::windows::core::interface_hierarchy!(IPinFlowControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPinFlowControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPinFlowControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40949,7 +40949,7 @@ impl IPinInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPinInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPinInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPinInfo { fn eq(&self, other: &Self) -> bool { @@ -41041,7 +41041,7 @@ impl IQualProp { (::windows::core::Vtable::vtable(self).DevSyncOffset)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IQualProp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQualProp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQualProp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41094,7 +41094,7 @@ impl IQualityControl { (::windows::core::Vtable::vtable(self).SetSink)(::windows::core::Vtable::as_raw(self), piqc.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IQualityControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQualityControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQualityControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41142,7 +41142,7 @@ impl IQueueCommand { (::windows::core::Vtable::vtable(self).InvokeAtPresentationTime)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pcmd), time, iid, dispidmethod, wflags, cargs, pdispparams, pvarresult, puargerr).ok() } } -::windows::core::interface_hierarchy!(IQueueCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueueCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueueCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41196,7 +41196,7 @@ impl IRegFilterInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRegFilterInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRegFilterInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRegFilterInfo { fn eq(&self, other: &Self) -> bool { @@ -41247,7 +41247,7 @@ impl IRegisterServiceProvider { (::windows::core::Vtable::vtable(self).RegisterService)(::windows::core::Vtable::as_raw(self), guidservice, punkobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRegisterServiceProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRegisterServiceProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRegisterServiceProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41291,7 +41291,7 @@ impl IRegisterTuner { (::windows::core::Vtable::vtable(self).Unregister)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRegisterTuner, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRegisterTuner, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRegisterTuner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41332,7 +41332,7 @@ impl IResourceConsumer { (::windows::core::Vtable::vtable(self).ReleaseResource)(::windows::core::Vtable::as_raw(self), idresource).ok() } } -::windows::core::interface_hierarchy!(IResourceConsumer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResourceConsumer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResourceConsumer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41421,7 +41421,7 @@ impl IResourceManager { (::windows::core::Vtable::vtable(self).ReleaseFocus)(::windows::core::Vtable::as_raw(self), pfocusobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IResourceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResourceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResourceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41482,7 +41482,7 @@ impl ISBE2Crossbar { (::windows::core::Vtable::vtable(self).EnumStreams)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISBE2Crossbar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISBE2Crossbar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISBE2Crossbar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41532,7 +41532,7 @@ impl ISBE2EnumStream { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISBE2EnumStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISBE2EnumStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISBE2EnumStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41575,7 +41575,7 @@ impl ISBE2FileScan { (::windows::core::Vtable::vtable(self).RepairFile)(::windows::core::Vtable::as_raw(self), filename.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISBE2FileScan, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISBE2FileScan, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISBE2FileScan { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41614,7 +41614,7 @@ impl ISBE2GlobalEvent { (::windows::core::Vtable::vtable(self).GetEvent)(::windows::core::Vtable::as_raw(self), idevt, param1, param2, param3, param4, pspanning, pcb, pb).ok() } } -::windows::core::interface_hierarchy!(ISBE2GlobalEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISBE2GlobalEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISBE2GlobalEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41661,7 +41661,7 @@ impl ISBE2GlobalEvent2 { (::windows::core::Vtable::vtable(self).GetEventEx)(::windows::core::Vtable::as_raw(self), idevt, param1, param2, param3, param4, pspanning, pcb, pb, pstreamtime).ok() } } -::windows::core::interface_hierarchy!(ISBE2GlobalEvent2, ::windows::core::IUnknown, ISBE2GlobalEvent); +::windows::imp::interface_hierarchy!(ISBE2GlobalEvent2, ::windows::core::IUnknown, ISBE2GlobalEvent); impl ::core::cmp::PartialEq for ISBE2GlobalEvent2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41716,7 +41716,7 @@ impl ISBE2MediaTypeProfile { (::windows::core::Vtable::vtable(self).DeleteStream)(::windows::core::Vtable::as_raw(self), index).ok() } } -::windows::core::interface_hierarchy!(ISBE2MediaTypeProfile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISBE2MediaTypeProfile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISBE2MediaTypeProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41762,7 +41762,7 @@ impl ISBE2SpanningEvent { (::windows::core::Vtable::vtable(self).GetEvent)(::windows::core::Vtable::as_raw(self), idevt, streamid, pcb, pb).ok() } } -::windows::core::interface_hierarchy!(ISBE2SpanningEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISBE2SpanningEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISBE2SpanningEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41806,7 +41806,7 @@ impl ISBE2StreamMap { (::windows::core::Vtable::vtable(self).EnumMappedStreams)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISBE2StreamMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISBE2StreamMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISBE2StreamMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41958,7 +41958,7 @@ impl ISCTE_EAS { (::windows::core::Vtable::vtable(self).GetTableDescriptorByTag)(::windows::core::Vtable::as_raw(self), btag, pdwcookie, ::core::mem::transmute(ppdescriptor)).ok() } } -::windows::core::interface_hierarchy!(ISCTE_EAS, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISCTE_EAS, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISCTE_EAS { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42032,7 +42032,7 @@ impl ISIInbandEPG { (::windows::core::Vtable::vtable(self).IsSIEPGScanRunning)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISIInbandEPG, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISIInbandEPG, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISIInbandEPG { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42077,7 +42077,7 @@ impl ISIInbandEPGEvent { (::windows::core::Vtable::vtable(self).SIObjectEvent)(::windows::core::Vtable::as_raw(self), pidvb_eit.into().abi(), dwtable_id, dwservice_id).ok() } } -::windows::core::interface_hierarchy!(ISIInbandEPGEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISIInbandEPGEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISIInbandEPGEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42187,7 +42187,7 @@ impl IScanningTuner { (::windows::core::Vtable::vtable(self).AutoProgram)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IScanningTuner, ::windows::core::IUnknown, ITuner); +::windows::imp::interface_hierarchy!(IScanningTuner, ::windows::core::IUnknown, ITuner); impl ::core::cmp::PartialEq for IScanningTuner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42333,7 +42333,7 @@ impl IScanningTunerEx { (::windows::core::Vtable::vtable(self).SetScanSignalTypeFilter)(::windows::core::Vtable::as_raw(self), scanmodulationtypes, analogvideostandard).ok() } } -::windows::core::interface_hierarchy!(IScanningTunerEx, ::windows::core::IUnknown, ITuner, IScanningTuner); +::windows::imp::interface_hierarchy!(IScanningTunerEx, ::windows::core::IUnknown, ITuner, IScanningTuner); impl ::core::cmp::PartialEq for IScanningTunerEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42408,7 +42408,7 @@ impl ISectionList { (::windows::core::Vtable::vtable(self).GetTableIdentifier)(::windows::core::Vtable::as_raw(self), ptableid).ok() } } -::windows::core::interface_hierarchy!(ISectionList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISectionList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISectionList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42460,7 +42460,7 @@ impl ISeekingPassThru { (::windows::core::Vtable::vtable(self).Init)(::windows::core::Vtable::as_raw(self), bsupportrendering.into(), ppin.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISeekingPassThru, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISeekingPassThru, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISeekingPassThru { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42508,7 +42508,7 @@ impl ISelector { (::windows::core::Vtable::vtable(self).SetSourceNodeId)(::windows::core::Vtable::as_raw(self), dwpinid).ok() } } -::windows::core::interface_hierarchy!(ISelector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISelector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISelector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42563,7 +42563,7 @@ impl IServiceLocationDescriptor { (::windows::core::Vtable::vtable(self).GetElementLanguageCode)(::windows::core::Vtable::as_raw(self), bindex, ::core::mem::transmute(langcode.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IServiceLocationDescriptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceLocationDescriptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceLocationDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42607,7 +42607,7 @@ impl ISpecifyParticularPages { (::windows::core::Vtable::vtable(self).GetPages)(::windows::core::Vtable::as_raw(self), guidwhatpages, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpecifyParticularPages, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpecifyParticularPages, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpecifyParticularPages { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42667,7 +42667,7 @@ impl IStreamBufferConfigure { (::windows::core::Vtable::vtable(self).GetBackingFileDuration)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStreamBufferConfigure, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBufferConfigure, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBufferConfigure { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42742,7 +42742,7 @@ impl IStreamBufferConfigure2 { (::windows::core::Vtable::vtable(self).GetFFTransitionRates)(::windows::core::Vtable::as_raw(self), pdwmaxfullframerate, pdwmaxnonskippingrate).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferConfigure2, ::windows::core::IUnknown, IStreamBufferConfigure); +::windows::imp::interface_hierarchy!(IStreamBufferConfigure2, ::windows::core::IUnknown, IStreamBufferConfigure); impl ::core::cmp::PartialEq for IStreamBufferConfigure2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42839,7 +42839,7 @@ impl IStreamBufferConfigure3 { (::windows::core::Vtable::vtable(self).GetNamespace)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStreamBufferConfigure3, ::windows::core::IUnknown, IStreamBufferConfigure, IStreamBufferConfigure2); +::windows::imp::interface_hierarchy!(IStreamBufferConfigure3, ::windows::core::IUnknown, IStreamBufferConfigure, IStreamBufferConfigure2); impl ::core::cmp::PartialEq for IStreamBufferConfigure3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42888,7 +42888,7 @@ impl IStreamBufferDataCounters { (::windows::core::Vtable::vtable(self).ResetData)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferDataCounters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBufferDataCounters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBufferDataCounters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42936,7 +42936,7 @@ impl IStreamBufferInitialize { (::windows::core::Vtable::vtable(self).SetSIDs)(::windows::core::Vtable::as_raw(self), csids, ppsid).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferInitialize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBufferInitialize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBufferInitialize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43036,7 +43036,7 @@ impl IStreamBufferMediaSeeking { (::windows::core::Vtable::vtable(self).base__.GetPreroll)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStreamBufferMediaSeeking, ::windows::core::IUnknown, IMediaSeeking); +::windows::imp::interface_hierarchy!(IStreamBufferMediaSeeking, ::windows::core::IUnknown, IMediaSeeking); impl ::core::cmp::PartialEq for IStreamBufferMediaSeeking { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43131,7 +43131,7 @@ impl IStreamBufferMediaSeeking2 { (::windows::core::Vtable::vtable(self).SetRateEx)(::windows::core::Vtable::as_raw(self), drate, dwframespersec).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferMediaSeeking2, ::windows::core::IUnknown, IMediaSeeking, IStreamBufferMediaSeeking); +::windows::imp::interface_hierarchy!(IStreamBufferMediaSeeking2, ::windows::core::IUnknown, IMediaSeeking, IStreamBufferMediaSeeking); impl ::core::cmp::PartialEq for IStreamBufferMediaSeeking2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43194,7 +43194,7 @@ impl IStreamBufferRecComp { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferRecComp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBufferRecComp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBufferRecComp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43244,7 +43244,7 @@ impl IStreamBufferRecordControl { (::windows::core::Vtable::vtable(self).GetRecordingStatus)(::windows::core::Vtable::as_raw(self), phresult, pbstarted, pbstopped).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferRecordControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBufferRecordControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBufferRecordControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43306,7 +43306,7 @@ impl IStreamBufferRecordingAttribute { (::windows::core::Vtable::vtable(self).EnumAttributes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStreamBufferRecordingAttribute, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBufferRecordingAttribute, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBufferRecordingAttribute { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43360,7 +43360,7 @@ impl IStreamBufferSink { (::windows::core::Vtable::vtable(self).IsProfileLocked)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBufferSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBufferSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43415,7 +43415,7 @@ impl IStreamBufferSink2 { (::windows::core::Vtable::vtable(self).UnlockProfile)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferSink2, ::windows::core::IUnknown, IStreamBufferSink); +::windows::imp::interface_hierarchy!(IStreamBufferSink2, ::windows::core::IUnknown, IStreamBufferSink); impl ::core::cmp::PartialEq for IStreamBufferSink2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43471,7 +43471,7 @@ impl IStreamBufferSink3 { (::windows::core::Vtable::vtable(self).SetAvailableFilter)(::windows::core::Vtable::as_raw(self), prtmin).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferSink3, ::windows::core::IUnknown, IStreamBufferSink, IStreamBufferSink2); +::windows::imp::interface_hierarchy!(IStreamBufferSink3, ::windows::core::IUnknown, IStreamBufferSink, IStreamBufferSink2); impl ::core::cmp::PartialEq for IStreamBufferSink3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43511,7 +43511,7 @@ impl IStreamBufferSource { (::windows::core::Vtable::vtable(self).SetStreamSink)(::windows::core::Vtable::as_raw(self), pistreambuffersink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IStreamBufferSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBufferSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBufferSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43559,7 +43559,7 @@ impl IStreamBuilder { (::windows::core::Vtable::vtable(self).Backout)(::windows::core::Vtable::as_raw(self), ppinout.into().abi(), pgraph.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IStreamBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43614,7 +43614,7 @@ impl IStreamSample { (::windows::core::Vtable::vtable(self).CompletionStatus)(::windows::core::Vtable::as_raw(self), dwflags, dwmilliseconds).ok() } } -::windows::core::interface_hierarchy!(IStreamSample, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamSample, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43700,7 +43700,7 @@ impl ITSDT { (::windows::core::Vtable::vtable(self).ConvertNextToCurrent)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITSDT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITSDT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITSDT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -43783,7 +43783,7 @@ impl ITuneRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITuneRequest, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITuneRequest { fn eq(&self, other: &Self) -> bool { @@ -43903,7 +43903,7 @@ impl ITuneRequestInfo { (::windows::core::Vtable::vtable(self).GetPreviousLocator)(::windows::core::Vtable::as_raw(self), currentrequest.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITuneRequestInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITuneRequestInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITuneRequestInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44033,7 +44033,7 @@ impl ITuneRequestInfoEx { (::windows::core::Vtable::vtable(self).CreateComponentListEx)(::windows::core::Vtable::as_raw(self), currentrequest.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITuneRequestInfoEx, ::windows::core::IUnknown, ITuneRequestInfo); +::windows::imp::interface_hierarchy!(ITuneRequestInfoEx, ::windows::core::IUnknown, ITuneRequestInfo); impl ::core::cmp::PartialEq for ITuneRequestInfoEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44131,7 +44131,7 @@ impl ITuner { (::windows::core::Vtable::vtable(self).TriggerSignalEvents)(::windows::core::Vtable::as_raw(self), interval).ok() } } -::windows::core::interface_hierarchy!(ITuner, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITuner, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITuner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44204,7 +44204,7 @@ impl ITunerCap { (::windows::core::Vtable::vtable(self).get_AuxInputCount)(::windows::core::Vtable::as_raw(self), pulcompositecount, pulsvideocount).ok() } } -::windows::core::interface_hierarchy!(ITunerCap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITunerCap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITunerCap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44246,7 +44246,7 @@ impl ITunerCapEx { (::windows::core::Vtable::vtable(self).Has608_708Caption)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITunerCapEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITunerCapEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITunerCapEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44377,7 +44377,7 @@ impl ITuningSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITuningSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITuningSpace { fn eq(&self, other: &Self) -> bool { @@ -44539,7 +44539,7 @@ impl ITuningSpaceContainer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITuningSpaceContainer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITuningSpaceContainer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITuningSpaceContainer { fn eq(&self, other: &Self) -> bool { @@ -44642,7 +44642,7 @@ impl ITuningSpaces { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITuningSpaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITuningSpaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITuningSpaces { fn eq(&self, other: &Self) -> bool { @@ -44698,7 +44698,7 @@ impl IVMRAspectRatioControl { (::windows::core::Vtable::vtable(self).SetAspectRatioMode)(::windows::core::Vtable::as_raw(self), dwarmode).ok() } } -::windows::core::interface_hierarchy!(IVMRAspectRatioControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRAspectRatioControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRAspectRatioControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44740,7 +44740,7 @@ impl IVMRAspectRatioControl9 { (::windows::core::Vtable::vtable(self).SetAspectRatioMode)(::windows::core::Vtable::as_raw(self), dwarmode).ok() } } -::windows::core::interface_hierarchy!(IVMRAspectRatioControl9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRAspectRatioControl9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRAspectRatioControl9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44800,7 +44800,7 @@ impl IVMRDeinterlaceControl { (::windows::core::Vtable::vtable(self).GetActualDeinterlaceMode)(::windows::core::Vtable::as_raw(self), dwstreamid, lpdeinterlacemode).ok() } } -::windows::core::interface_hierarchy!(IVMRDeinterlaceControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRDeinterlaceControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRDeinterlaceControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44870,7 +44870,7 @@ impl IVMRDeinterlaceControl9 { (::windows::core::Vtable::vtable(self).GetActualDeinterlaceMode)(::windows::core::Vtable::as_raw(self), dwstreamid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVMRDeinterlaceControl9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRDeinterlaceControl9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRDeinterlaceControl9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44934,7 +44934,7 @@ impl IVMRFilterConfig { (::windows::core::Vtable::vtable(self).GetRenderingMode)(::windows::core::Vtable::as_raw(self), pmode).ok() } } -::windows::core::interface_hierarchy!(IVMRFilterConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRFilterConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRFilterConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45001,7 +45001,7 @@ impl IVMRFilterConfig9 { (::windows::core::Vtable::vtable(self).GetRenderingMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVMRFilterConfig9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRFilterConfig9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRFilterConfig9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45076,7 +45076,7 @@ impl IVMRImageCompositor { (::windows::core::Vtable::vtable(self).CompositeImage)(::windows::core::Vtable::as_raw(self), pd3ddevice.into().abi(), pddsrendertarget.into().abi(), pmtrendertarget, rtstart, rtend, dwclrbkgnd, pvideostreaminfo, cstreams).ok() } } -::windows::core::interface_hierarchy!(IVMRImageCompositor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRImageCompositor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRImageCompositor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45154,7 +45154,7 @@ impl IVMRImageCompositor9 { (::windows::core::Vtable::vtable(self).CompositeImage)(::windows::core::Vtable::as_raw(self), pd3ddevice.into().abi(), pddsrendertarget.into().abi(), pmtrendertarget, rtstart, rtend, dwclrbkgnd, pvideostreaminfo, cstreams).ok() } } -::windows::core::interface_hierarchy!(IVMRImageCompositor9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRImageCompositor9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRImageCompositor9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45208,7 +45208,7 @@ impl IVMRImagePresenter { (::windows::core::Vtable::vtable(self).PresentImage)(::windows::core::Vtable::as_raw(self), dwuserid, lppresinfo).ok() } } -::windows::core::interface_hierarchy!(IVMRImagePresenter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRImagePresenter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRImagePresenter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45258,7 +45258,7 @@ impl IVMRImagePresenter9 { (::windows::core::Vtable::vtable(self).PresentImage)(::windows::core::Vtable::as_raw(self), dwuserid, lppresinfo).ok() } } -::windows::core::interface_hierarchy!(IVMRImagePresenter9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRImagePresenter9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRImagePresenter9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45303,7 +45303,7 @@ impl IVMRImagePresenterConfig { (::windows::core::Vtable::vtable(self).GetRenderingPrefs)(::windows::core::Vtable::as_raw(self), dwrenderflags).ok() } } -::windows::core::interface_hierarchy!(IVMRImagePresenterConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRImagePresenterConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRImagePresenterConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45345,7 +45345,7 @@ impl IVMRImagePresenterConfig9 { (::windows::core::Vtable::vtable(self).GetRenderingPrefs)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVMRImagePresenterConfig9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRImagePresenterConfig9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRImagePresenterConfig9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45400,7 +45400,7 @@ impl IVMRImagePresenterExclModeConfig { (::windows::core::Vtable::vtable(self).GetXlcModeDDObjAndPrimarySurface)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(lpddobj), ::core::mem::transmute(lpprimarysurf)).ok() } } -::windows::core::interface_hierarchy!(IVMRImagePresenterExclModeConfig, ::windows::core::IUnknown, IVMRImagePresenterConfig); +::windows::imp::interface_hierarchy!(IVMRImagePresenterExclModeConfig, ::windows::core::IUnknown, IVMRImagePresenterConfig); impl ::core::cmp::PartialEq for IVMRImagePresenterExclModeConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45456,7 +45456,7 @@ impl IVMRMixerBitmap { (::windows::core::Vtable::vtable(self).GetAlphaBitmapParameters)(::windows::core::Vtable::as_raw(self), pbmpparms).ok() } } -::windows::core::interface_hierarchy!(IVMRMixerBitmap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRMixerBitmap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRMixerBitmap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45516,7 +45516,7 @@ impl IVMRMixerBitmap9 { (::windows::core::Vtable::vtable(self).GetAlphaBitmapParameters)(::windows::core::Vtable::as_raw(self), pbmpparms).ok() } } -::windows::core::interface_hierarchy!(IVMRMixerBitmap9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRMixerBitmap9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRMixerBitmap9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45598,7 +45598,7 @@ impl IVMRMixerControl { (::windows::core::Vtable::vtable(self).GetMixingPrefs)(::windows::core::Vtable::as_raw(self), pdwmixerprefs).ok() } } -::windows::core::interface_hierarchy!(IVMRMixerControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRMixerControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRMixerControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45697,7 +45697,7 @@ impl IVMRMixerControl9 { (::windows::core::Vtable::vtable(self).GetProcAmpControlRange)(::windows::core::Vtable::as_raw(self), dwstreamid, lpclrcontrol).ok() } } -::windows::core::interface_hierarchy!(IVMRMixerControl9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRMixerControl9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRMixerControl9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45766,7 +45766,7 @@ impl IVMRMonitorConfig { (::windows::core::Vtable::vtable(self).GetAvailableMonitors)(::windows::core::Vtable::as_raw(self), pinfo, dwmaxinfoarraysize, pdwnumdevices).ok() } } -::windows::core::interface_hierarchy!(IVMRMonitorConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRMonitorConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRMonitorConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45826,7 +45826,7 @@ impl IVMRMonitorConfig9 { (::windows::core::Vtable::vtable(self).GetAvailableMonitors)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pinfo.as_ptr()), pinfo.len() as _, pdwnumdevices).ok() } } -::windows::core::interface_hierarchy!(IVMRMonitorConfig9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRMonitorConfig9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRMonitorConfig9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45882,7 +45882,7 @@ impl IVMRSurface { (::windows::core::Vtable::vtable(self).GetSurface)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVMRSurface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRSurface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRSurface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -45938,7 +45938,7 @@ impl IVMRSurface9 { (::windows::core::Vtable::vtable(self).GetSurface)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVMRSurface9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRSurface9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRSurface9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46000,7 +46000,7 @@ impl IVMRSurfaceAllocator { (::windows::core::Vtable::vtable(self).AdviseNotify)(::windows::core::Vtable::as_raw(self), lpivmrsurfallocnotify.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IVMRSurfaceAllocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRSurfaceAllocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRSurfaceAllocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46063,7 +46063,7 @@ impl IVMRSurfaceAllocator9 { (::windows::core::Vtable::vtable(self).AdviseNotify)(::windows::core::Vtable::as_raw(self), lpivmrsurfallocnotify.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IVMRSurfaceAllocator9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRSurfaceAllocator9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRSurfaceAllocator9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46131,7 +46131,7 @@ impl IVMRSurfaceAllocatorEx9 { (::windows::core::Vtable::vtable(self).GetSurfaceEx)(::windows::core::Vtable::as_raw(self), dwuserid, surfaceindex, surfaceflags, ::core::mem::transmute(lplpsurface), lprcdst).ok() } } -::windows::core::interface_hierarchy!(IVMRSurfaceAllocatorEx9, ::windows::core::IUnknown, IVMRSurfaceAllocator9); +::windows::imp::interface_hierarchy!(IVMRSurfaceAllocatorEx9, ::windows::core::IUnknown, IVMRSurfaceAllocator9); impl ::core::cmp::PartialEq for IVMRSurfaceAllocatorEx9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46206,7 +46206,7 @@ impl IVMRSurfaceAllocatorNotify { (::windows::core::Vtable::vtable(self).SetBorderColor)(::windows::core::Vtable::as_raw(self), clrborder.into()).ok() } } -::windows::core::interface_hierarchy!(IVMRSurfaceAllocatorNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRSurfaceAllocatorNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRSurfaceAllocatorNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46286,7 +46286,7 @@ impl IVMRSurfaceAllocatorNotify9 { (::windows::core::Vtable::vtable(self).NotifyEvent)(::windows::core::Vtable::as_raw(self), eventcode, param1, param2).ok() } } -::windows::core::interface_hierarchy!(IVMRSurfaceAllocatorNotify9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRSurfaceAllocatorNotify9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRSurfaceAllocatorNotify9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46356,7 +46356,7 @@ impl IVMRVideoStreamControl { (::windows::core::Vtable::vtable(self).GetStreamActiveState)(::windows::core::Vtable::as_raw(self), lpfactive).ok() } } -::windows::core::interface_hierarchy!(IVMRVideoStreamControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRVideoStreamControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRVideoStreamControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46419,7 +46419,7 @@ impl IVMRVideoStreamControl9 { (::windows::core::Vtable::vtable(self).GetStreamActiveState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVMRVideoStreamControl9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRVideoStreamControl9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRVideoStreamControl9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46534,7 +46534,7 @@ impl IVMRWindowlessControl { (::windows::core::Vtable::vtable(self).GetColorKey)(::windows::core::Vtable::as_raw(self), lpclr).ok() } } -::windows::core::interface_hierarchy!(IVMRWindowlessControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRWindowlessControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRWindowlessControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46670,7 +46670,7 @@ impl IVMRWindowlessControl9 { (::windows::core::Vtable::vtable(self).GetBorderColor)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVMRWindowlessControl9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVMRWindowlessControl9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVMRWindowlessControl9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46784,7 +46784,7 @@ impl IVPBaseConfig { (::windows::core::Vtable::vtable(self).SetSurfaceParameters)(::windows::core::Vtable::as_raw(self), dwpitch, dwxorigin, dwyorigin).ok() } } -::windows::core::interface_hierarchy!(IVPBaseConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVPBaseConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVPBaseConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46848,7 +46848,7 @@ impl IVPBaseNotify { (::windows::core::Vtable::vtable(self).RenegotiateVPParameters)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IVPBaseNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVPBaseNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVPBaseNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46938,7 +46938,7 @@ impl IVPConfig { (::windows::core::Vtable::vtable(self).SetScalingFactors)(::windows::core::Vtable::as_raw(self), pamvpsize).ok() } } -::windows::core::interface_hierarchy!(IVPConfig, ::windows::core::IUnknown, IVPBaseConfig); +::windows::imp::interface_hierarchy!(IVPConfig, ::windows::core::IUnknown, IVPBaseConfig); impl ::core::cmp::PartialEq for IVPConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -46979,7 +46979,7 @@ impl IVPManager { (::windows::core::Vtable::vtable(self).GetVideoPortIndex)(::windows::core::Vtable::as_raw(self), pdwvideoportindex).ok() } } -::windows::core::interface_hierarchy!(IVPManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVPManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVPManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47023,7 +47023,7 @@ impl IVPNotify { (::windows::core::Vtable::vtable(self).GetDeinterlaceMode)(::windows::core::Vtable::as_raw(self), pmode).ok() } } -::windows::core::interface_hierarchy!(IVPNotify, ::windows::core::IUnknown, IVPBaseNotify); +::windows::imp::interface_hierarchy!(IVPNotify, ::windows::core::IUnknown, IVPBaseNotify); impl ::core::cmp::PartialEq for IVPNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47080,7 +47080,7 @@ impl IVPNotify2 { (::windows::core::Vtable::vtable(self).GetVPSyncMaster)(::windows::core::Vtable::as_raw(self), pbvpsyncmaster).ok() } } -::windows::core::interface_hierarchy!(IVPNotify2, ::windows::core::IUnknown, IVPBaseNotify, IVPNotify); +::windows::imp::interface_hierarchy!(IVPNotify2, ::windows::core::IUnknown, IVPBaseNotify, IVPNotify); impl ::core::cmp::PartialEq for IVPNotify2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47171,7 +47171,7 @@ impl IVPVBIConfig { (::windows::core::Vtable::vtable(self).base__.SetSurfaceParameters)(::windows::core::Vtable::as_raw(self), dwpitch, dwxorigin, dwyorigin).ok() } } -::windows::core::interface_hierarchy!(IVPVBIConfig, ::windows::core::IUnknown, IVPBaseConfig); +::windows::imp::interface_hierarchy!(IVPVBIConfig, ::windows::core::IUnknown, IVPBaseConfig); impl ::core::cmp::PartialEq for IVPVBIConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47207,7 +47207,7 @@ impl IVPVBINotify { (::windows::core::Vtable::vtable(self).base__.RenegotiateVPParameters)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IVPVBINotify, ::windows::core::IUnknown, IVPBaseNotify); +::windows::imp::interface_hierarchy!(IVPVBINotify, ::windows::core::IUnknown, IVPBaseNotify); impl ::core::cmp::PartialEq for IVPVBINotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47273,7 +47273,7 @@ impl IVideoEncoder { (::windows::core::Vtable::vtable(self).base__.SetValue)(::windows::core::Vtable::as_raw(self), api, value).ok() } } -::windows::core::interface_hierarchy!(IVideoEncoder, ::windows::core::IUnknown, IEncoderAPI); +::windows::imp::interface_hierarchy!(IVideoEncoder, ::windows::core::IUnknown, IEncoderAPI); impl ::core::cmp::PartialEq for IVideoEncoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47321,7 +47321,7 @@ impl IVideoFrameStep { (::windows::core::Vtable::vtable(self).CancelStep)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IVideoFrameStep, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVideoFrameStep, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVideoFrameStep { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47474,7 +47474,7 @@ impl IVideoProcAmp { (::windows::core::Vtable::vtable(self).getRange_WhiteBalanceComponent)(::windows::core::Vtable::as_raw(self), pmin, pmax, psteppingdelta, pdefault, pcapsflag).ok() } } -::windows::core::interface_hierarchy!(IVideoProcAmp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVideoProcAmp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVideoProcAmp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47682,7 +47682,7 @@ impl IVideoWindow { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IVideoWindow, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IVideoWindow, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IVideoWindow { fn eq(&self, other: &Self) -> bool { @@ -47780,7 +47780,7 @@ impl IWMCodecAMVideoAccelerator { (::windows::core::Vtable::vtable(self).SetPlayerNotify)(::windows::core::Vtable::as_raw(self), phook.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMCodecAMVideoAccelerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCodecAMVideoAccelerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCodecAMVideoAccelerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47838,7 +47838,7 @@ impl IWMCodecVideoAccelerator { (::windows::core::Vtable::vtable(self).SetPlayerNotify)(::windows::core::Vtable::as_raw(self), phook.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMCodecVideoAccelerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCodecVideoAccelerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCodecVideoAccelerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47903,7 +47903,7 @@ impl IXDSCodec { (::windows::core::Vtable::vtable(self).GetLastErrorCode)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IXDSCodec, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXDSCodec, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXDSCodec { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47950,7 +47950,7 @@ impl IXDSCodecConfig { (::windows::core::Vtable::vtable(self).SetPauseBufferTime)(::windows::core::Vtable::as_raw(self), dwpausebuffertime).ok() } } -::windows::core::interface_hierarchy!(IXDSCodecConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXDSCodecConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXDSCodecConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -47987,7 +47987,7 @@ pub struct IXDSCodecEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXDSCodecEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXDSCodecEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXDSCodecEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXDSCodecEvents { fn eq(&self, other: &Self) -> bool { @@ -48036,7 +48036,7 @@ impl IXDSToRat { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXDSToRat, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IXDSToRat, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXDSToRat { fn eq(&self, other: &Self) -> bool { @@ -48080,7 +48080,7 @@ pub struct _IMSVidCtlEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IMSVidCtlEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IMSVidCtlEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IMSVidCtlEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IMSVidCtlEvents { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs index e2d1390eea..3410311b00 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs @@ -1,20 +1,20 @@ #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[inline] pub unsafe fn DMOEnum(guidcategory: *const ::windows::core::GUID, dwflags: u32, cintypes: u32, pintypes: *const DMO_PARTIAL_MEDIATYPE, couttypes: u32, pouttypes: *const DMO_PARTIAL_MEDIATYPE) -> ::windows::core::Result { - ::windows::core::link ! ( "msdmo.dll""system" fn DMOEnum ( guidcategory : *const :: windows::core::GUID , dwflags : u32 , cintypes : u32 , pintypes : *const DMO_PARTIAL_MEDIATYPE , couttypes : u32 , pouttypes : *const DMO_PARTIAL_MEDIATYPE , ppenum : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn DMOEnum ( guidcategory : *const :: windows::core::GUID , dwflags : u32 , cintypes : u32 , pintypes : *const DMO_PARTIAL_MEDIATYPE , couttypes : u32 , pouttypes : *const DMO_PARTIAL_MEDIATYPE , ppenum : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DMOEnum(guidcategory, dwflags, cintypes, pintypes, couttypes, pouttypes, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[inline] pub unsafe fn DMOGetName(clsiddmo: *const ::windows::core::GUID, szname: &mut [u16; 80]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn DMOGetName ( clsiddmo : *const :: windows::core::GUID , szname : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn DMOGetName ( clsiddmo : *const :: windows::core::GUID , szname : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DMOGetName(clsiddmo, ::core::mem::transmute(szname.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[inline] pub unsafe fn DMOGetTypes(clsiddmo: *const ::windows::core::GUID, ulinputtypesrequested: u32, pulinputtypessupplied: *mut u32, pinputtypes: *mut DMO_PARTIAL_MEDIATYPE, uloutputtypesrequested: u32, puloutputtypessupplied: *mut u32, poutputtypes: *mut DMO_PARTIAL_MEDIATYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn DMOGetTypes ( clsiddmo : *const :: windows::core::GUID , ulinputtypesrequested : u32 , pulinputtypessupplied : *mut u32 , pinputtypes : *mut DMO_PARTIAL_MEDIATYPE , uloutputtypesrequested : u32 , puloutputtypessupplied : *mut u32 , poutputtypes : *mut DMO_PARTIAL_MEDIATYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn DMOGetTypes ( clsiddmo : *const :: windows::core::GUID , ulinputtypesrequested : u32 , pulinputtypessupplied : *mut u32 , pinputtypes : *mut DMO_PARTIAL_MEDIATYPE , uloutputtypesrequested : u32 , puloutputtypessupplied : *mut u32 , poutputtypes : *mut DMO_PARTIAL_MEDIATYPE ) -> :: windows::core::HRESULT ); DMOGetTypes(clsiddmo, ulinputtypesrequested, pulinputtypessupplied, pinputtypes, uloutputtypesrequested, puloutputtypessupplied, poutputtypes).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] @@ -23,55 +23,55 @@ pub unsafe fn DMORegister(szname: P0, clsiddmo: *const ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdmo.dll""system" fn DMORegister ( szname : :: windows::core::PCWSTR , clsiddmo : *const :: windows::core::GUID , guidcategory : *const :: windows::core::GUID , dwflags : u32 , cintypes : u32 , pintypes : *const DMO_PARTIAL_MEDIATYPE , couttypes : u32 , pouttypes : *const DMO_PARTIAL_MEDIATYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn DMORegister ( szname : :: windows::core::PCWSTR , clsiddmo : *const :: windows::core::GUID , guidcategory : *const :: windows::core::GUID , dwflags : u32 , cintypes : u32 , pintypes : *const DMO_PARTIAL_MEDIATYPE , couttypes : u32 , pouttypes : *const DMO_PARTIAL_MEDIATYPE ) -> :: windows::core::HRESULT ); DMORegister(szname.into().abi(), clsiddmo, guidcategory, dwflags, cintypes, pintypes, couttypes, pouttypes).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[inline] pub unsafe fn DMOUnregister(clsiddmo: *const ::windows::core::GUID, guidcategory: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn DMOUnregister ( clsiddmo : *const :: windows::core::GUID , guidcategory : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn DMOUnregister ( clsiddmo : *const :: windows::core::GUID , guidcategory : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); DMOUnregister(clsiddmo, guidcategory).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MoCopyMediaType(pmtdest: *mut DMO_MEDIA_TYPE, pmtsrc: *const DMO_MEDIA_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn MoCopyMediaType ( pmtdest : *mut DMO_MEDIA_TYPE , pmtsrc : *const DMO_MEDIA_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn MoCopyMediaType ( pmtdest : *mut DMO_MEDIA_TYPE , pmtsrc : *const DMO_MEDIA_TYPE ) -> :: windows::core::HRESULT ); MoCopyMediaType(pmtdest, pmtsrc).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MoCreateMediaType(ppmt: *mut *mut DMO_MEDIA_TYPE, cbformat: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn MoCreateMediaType ( ppmt : *mut *mut DMO_MEDIA_TYPE , cbformat : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn MoCreateMediaType ( ppmt : *mut *mut DMO_MEDIA_TYPE , cbformat : u32 ) -> :: windows::core::HRESULT ); MoCreateMediaType(ppmt, cbformat).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MoDeleteMediaType(pmt: *mut DMO_MEDIA_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn MoDeleteMediaType ( pmt : *mut DMO_MEDIA_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn MoDeleteMediaType ( pmt : *mut DMO_MEDIA_TYPE ) -> :: windows::core::HRESULT ); MoDeleteMediaType(pmt).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MoDuplicateMediaType(ppmtdest: *mut *mut DMO_MEDIA_TYPE, pmtsrc: *const DMO_MEDIA_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn MoDuplicateMediaType ( ppmtdest : *mut *mut DMO_MEDIA_TYPE , pmtsrc : *const DMO_MEDIA_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn MoDuplicateMediaType ( ppmtdest : *mut *mut DMO_MEDIA_TYPE , pmtsrc : *const DMO_MEDIA_TYPE ) -> :: windows::core::HRESULT ); MoDuplicateMediaType(ppmtdest, pmtsrc).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MoFreeMediaType(pmt: *mut DMO_MEDIA_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn MoFreeMediaType ( pmt : *mut DMO_MEDIA_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn MoFreeMediaType ( pmt : *mut DMO_MEDIA_TYPE ) -> :: windows::core::HRESULT ); MoFreeMediaType(pmt).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MoInitMediaType(pmt: *mut DMO_MEDIA_TYPE, cbformat: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msdmo.dll""system" fn MoInitMediaType ( pmt : *mut DMO_MEDIA_TYPE , cbformat : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msdmo.dll""system" fn MoInitMediaType ( pmt : *mut DMO_MEDIA_TYPE , cbformat : u32 ) -> :: windows::core::HRESULT ); MoInitMediaType(pmt, cbformat).ok() } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] @@ -89,7 +89,7 @@ impl IDMOQualityControl { (::windows::core::Vtable::vtable(self).GetStatus)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDMOQualityControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDMOQualityControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDMOQualityControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -140,7 +140,7 @@ impl IDMOVideoOutputOptimizations { (::windows::core::Vtable::vtable(self).GetCurrentSampleRequirements)(::windows::core::Vtable::as_raw(self), uloutputstreamindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDMOVideoOutputOptimizations, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDMOVideoOutputOptimizations, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDMOVideoOutputOptimizations { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -190,7 +190,7 @@ impl IEnumDMO { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDMO, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDMO, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDMO { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -237,7 +237,7 @@ impl IMediaBuffer { (::windows::core::Vtable::vtable(self).GetBufferAndLength)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcblength.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMediaBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -355,7 +355,7 @@ impl IMediaObject { (::windows::core::Vtable::vtable(self).Lock)(::windows::core::Vtable::as_raw(self), block).ok() } } -::windows::core::interface_hierarchy!(IMediaObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -438,7 +438,7 @@ impl IMediaObjectInPlace { (::windows::core::Vtable::vtable(self).GetLatency)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMediaObjectInPlace, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMediaObjectInPlace, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMediaObjectInPlace { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs index d016335dde..c9a0376a17 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn KsCreateAllocator(connectionhandle: P0, allocatorframing: *con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ksuser.dll""system" fn KsCreateAllocator ( connectionhandle : super::super::Foundation:: HANDLE , allocatorframing : *const KSALLOCATOR_FRAMING , allocatorhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ksuser.dll""system" fn KsCreateAllocator ( connectionhandle : super::super::Foundation:: HANDLE , allocatorframing : *const KSALLOCATOR_FRAMING , allocatorhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); KsCreateAllocator(connectionhandle.into(), allocatorframing, allocatorhandle) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn KsCreateAllocator2(connectionhandle: P0, allocatorframing: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ksuser.dll""system" fn KsCreateAllocator2 ( connectionhandle : super::super::Foundation:: HANDLE , allocatorframing : *const KSALLOCATOR_FRAMING , allocatorhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ksuser.dll""system" fn KsCreateAllocator2 ( connectionhandle : super::super::Foundation:: HANDLE , allocatorframing : *const KSALLOCATOR_FRAMING , allocatorhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); KsCreateAllocator2(connectionhandle.into(), allocatorframing, &mut result__).from_abi(result__) } @@ -26,7 +26,7 @@ pub unsafe fn KsCreateClock(connectionhandle: P0, clockcreate: *const KSCLOC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ksuser.dll""system" fn KsCreateClock ( connectionhandle : super::super::Foundation:: HANDLE , clockcreate : *const KSCLOCK_CREATE , clockhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ksuser.dll""system" fn KsCreateClock ( connectionhandle : super::super::Foundation:: HANDLE , clockcreate : *const KSCLOCK_CREATE , clockhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); KsCreateClock(connectionhandle.into(), clockcreate, clockhandle) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn KsCreateClock2(connectionhandle: P0, clockcreate: *const KSCLO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ksuser.dll""system" fn KsCreateClock2 ( connectionhandle : super::super::Foundation:: HANDLE , clockcreate : *const KSCLOCK_CREATE , clockhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ksuser.dll""system" fn KsCreateClock2 ( connectionhandle : super::super::Foundation:: HANDLE , clockcreate : *const KSCLOCK_CREATE , clockhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); KsCreateClock2(connectionhandle.into(), clockcreate, &mut result__).from_abi(result__) } @@ -47,7 +47,7 @@ pub unsafe fn KsCreatePin(filterhandle: P0, connect: *const KSPIN_CONNECT, d where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ksuser.dll""system" fn KsCreatePin ( filterhandle : super::super::Foundation:: HANDLE , connect : *const KSPIN_CONNECT , desiredaccess : u32 , connectionhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ksuser.dll""system" fn KsCreatePin ( filterhandle : super::super::Foundation:: HANDLE , connect : *const KSPIN_CONNECT , desiredaccess : u32 , connectionhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); KsCreatePin(filterhandle.into(), connect, desiredaccess, connectionhandle) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn KsCreatePin2(filterhandle: P0, connect: *const KSPIN_CONNECT, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ksuser.dll""system" fn KsCreatePin2 ( filterhandle : super::super::Foundation:: HANDLE , connect : *const KSPIN_CONNECT , desiredaccess : u32 , connectionhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ksuser.dll""system" fn KsCreatePin2 ( filterhandle : super::super::Foundation:: HANDLE , connect : *const KSPIN_CONNECT , desiredaccess : u32 , connectionhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); KsCreatePin2(filterhandle.into(), connect, desiredaccess, &mut result__).from_abi(result__) } @@ -68,7 +68,7 @@ pub unsafe fn KsCreateTopologyNode(parenthandle: P0, nodecreate: *const KSNO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ksuser.dll""system" fn KsCreateTopologyNode ( parenthandle : super::super::Foundation:: HANDLE , nodecreate : *const KSNODE_CREATE , desiredaccess : u32 , nodehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ksuser.dll""system" fn KsCreateTopologyNode ( parenthandle : super::super::Foundation:: HANDLE , nodecreate : *const KSNODE_CREATE , desiredaccess : u32 , nodehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); KsCreateTopologyNode(parenthandle.into(), nodecreate, desiredaccess, nodehandle) } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`*"] @@ -78,7 +78,7 @@ pub unsafe fn KsCreateTopologyNode2(parenthandle: P0, nodecreate: *const KSN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ksuser.dll""system" fn KsCreateTopologyNode2 ( parenthandle : super::super::Foundation:: HANDLE , nodecreate : *const KSNODE_CREATE , desiredaccess : u32 , nodehandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ksuser.dll""system" fn KsCreateTopologyNode2 ( parenthandle : super::super::Foundation:: HANDLE , nodecreate : *const KSNODE_CREATE , desiredaccess : u32 , nodehandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); KsCreateTopologyNode2(parenthandle.into(), nodecreate, desiredaccess, &mut result__).from_abi(result__) } @@ -93,7 +93,7 @@ impl IKsAggregateControl { (::windows::core::Vtable::vtable(self).KsRemoveAggregate)(::windows::core::Vtable::as_raw(self), aggregateclass).ok() } } -::windows::core::interface_hierarchy!(IKsAggregateControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsAggregateControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsAggregateControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -137,7 +137,7 @@ impl IKsControl { (::windows::core::Vtable::vtable(self).KsEvent)(::windows::core::Vtable::as_raw(self), event, eventlength, eventdata, datalength, bytesreturned).ok() } } -::windows::core::interface_hierarchy!(IKsControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -182,7 +182,7 @@ impl IKsFormatSupport { (::windows::core::Vtable::vtable(self).GetDevicePreferredFormat)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IKsFormatSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsFormatSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsFormatSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -224,7 +224,7 @@ impl IKsJackContainerId { (::windows::core::Vtable::vtable(self).GetJackContainerId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IKsJackContainerId, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsJackContainerId, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsJackContainerId { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -267,7 +267,7 @@ impl IKsJackDescription { (::windows::core::Vtable::vtable(self).GetJackDescription)(::windows::core::Vtable::as_raw(self), njack, pdescription).ok() } } -::windows::core::interface_hierarchy!(IKsJackDescription, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsJackDescription, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsJackDescription { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -313,7 +313,7 @@ impl IKsJackDescription2 { (::windows::core::Vtable::vtable(self).GetJackDescription2)(::windows::core::Vtable::as_raw(self), njack, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IKsJackDescription2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsJackDescription2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsJackDescription2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -353,7 +353,7 @@ impl IKsJackSinkInformation { (::windows::core::Vtable::vtable(self).GetJackSinkInformation)(::windows::core::Vtable::as_raw(self), pjacksinkinformation).ok() } } -::windows::core::interface_hierarchy!(IKsJackSinkInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsJackSinkInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsJackSinkInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -400,7 +400,7 @@ impl IKsPropertySet { (::windows::core::Vtable::vtable(self).QuerySupported)(::windows::core::Vtable::as_raw(self), propset, id, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IKsPropertySet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsPropertySet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsPropertySet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -442,7 +442,7 @@ impl IKsTopology { (::windows::core::Vtable::vtable(self).CreateNodeInstance)(::windows::core::Vtable::as_raw(self), nodeid, flags, desiredaccess, unkouter.into().abi(), interfaceid, interface).ok() } } -::windows::core::interface_hierarchy!(IKsTopology, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKsTopology, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKsTopology { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs index e908a84355..69014269e6 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs @@ -23,7 +23,7 @@ impl IWindowsMediaLibrarySharingDevice { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsMediaLibrarySharingDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevice, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingDevice { fn eq(&self, other: &Self) -> bool { @@ -89,7 +89,7 @@ impl IWindowsMediaLibrarySharingDeviceProperties { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsMediaLibrarySharingDeviceProperties, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDeviceProperties, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingDeviceProperties { fn eq(&self, other: &Self) -> bool { @@ -151,7 +151,7 @@ impl IWindowsMediaLibrarySharingDeviceProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsMediaLibrarySharingDeviceProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDeviceProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingDeviceProperty { fn eq(&self, other: &Self) -> bool { @@ -215,7 +215,7 @@ impl IWindowsMediaLibrarySharingDevices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsMediaLibrarySharingDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingDevices { fn eq(&self, other: &Self) -> bool { @@ -382,7 +382,7 @@ impl IWindowsMediaLibrarySharingServices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsMediaLibrarySharingServices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWindowsMediaLibrarySharingServices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingServices { fn eq(&self, other: &Self) -> bool { 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 cd6b018a44..1cf8989018 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] #[inline] pub unsafe fn CreateNamedPropertyStore() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn CreateNamedPropertyStore ( ppstore : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn CreateNamedPropertyStore ( ppstore : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateNamedPropertyStore(&mut result__).from_abi(result__) } @@ -10,14 +10,14 @@ pub unsafe fn CreateNamedPropertyStore() -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn CreatePropertyStore ( ppstore : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn CreatePropertyStore ( ppstore : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreatePropertyStore(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn DXVA2CreateDirect3DDeviceManager9(presettoken: *mut u32, ppdevicemanager: *mut ::core::option::Option) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "dxva2.dll""system" fn DXVA2CreateDirect3DDeviceManager9 ( presettoken : *mut u32 , ppdevicemanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxva2.dll""system" fn DXVA2CreateDirect3DDeviceManager9 ( presettoken : *mut u32 , ppdevicemanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); DXVA2CreateDirect3DDeviceManager9(presettoken, ::core::mem::transmute(ppdevicemanager)).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -27,7 +27,7 @@ pub unsafe fn DXVA2CreateVideoService(pdd: P0, riid: *const ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "dxva2.dll""system" fn DXVA2CreateVideoService ( pdd : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppservice : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxva2.dll""system" fn DXVA2CreateVideoService ( pdd : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppservice : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DXVA2CreateVideoService(pdd.into().abi(), riid, ppservice).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn DXVAHD_CreateDevice(pd3ddevice: P0, pcontentdesc: *const DXVAH where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "dxva2.dll""system" fn DXVAHD_CreateDevice ( pd3ddevice : * mut::core::ffi::c_void , pcontentdesc : *const DXVAHD_CONTENT_DESC , usage : DXVAHD_DEVICE_USAGE , pplugin : PDXVAHDSW_Plugin , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxva2.dll""system" fn DXVAHD_CreateDevice ( pd3ddevice : * mut::core::ffi::c_void , pcontentdesc : *const DXVAHD_CONTENT_DESC , usage : DXVAHD_DEVICE_USAGE , pplugin : PDXVAHDSW_Plugin , ppdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DXVAHD_CreateDevice(pd3ddevice.into().abi(), pcontentdesc, usage, pplugin, &mut result__).from_abi(result__) } @@ -47,34 +47,34 @@ pub unsafe fn MFAddPeriodicCallback(callback: MFPERIODICCALLBACK, pcontext: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFAddPeriodicCallback ( callback : MFPERIODICCALLBACK , pcontext : * mut::core::ffi::c_void , pdwkey : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFAddPeriodicCallback ( callback : MFPERIODICCALLBACK , pcontext : * mut::core::ffi::c_void , pdwkey : *mut u32 ) -> :: windows::core::HRESULT ); MFAddPeriodicCallback(callback, pcontext.into().abi(), ::core::mem::transmute(pdwkey.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFAllocateSerialWorkQueue(dwworkqueue: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFAllocateSerialWorkQueue ( dwworkqueue : u32 , pdwworkqueue : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFAllocateSerialWorkQueue ( dwworkqueue : u32 , pdwworkqueue : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFAllocateSerialWorkQueue(dwworkqueue, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFAllocateWorkQueue() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFAllocateWorkQueue ( pdwworkqueue : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFAllocateWorkQueue ( pdwworkqueue : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFAllocateWorkQueue(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFAllocateWorkQueueEx(workqueuetype: MFASYNC_WORKQUEUE_TYPE) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFAllocateWorkQueueEx ( workqueuetype : MFASYNC_WORKQUEUE_TYPE , pdwworkqueue : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFAllocateWorkQueueEx ( workqueuetype : MFASYNC_WORKQUEUE_TYPE , pdwworkqueue : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFAllocateWorkQueueEx(workqueuetype, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFAverageTimePerFrameToFrameRate(unaveragetimeperframe: u64, punnumerator: *mut u32, pundenominator: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFAverageTimePerFrameToFrameRate ( unaveragetimeperframe : u64 , punnumerator : *mut u32 , pundenominator : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFAverageTimePerFrameToFrameRate ( unaveragetimeperframe : u64 , punnumerator : *mut u32 , pundenominator : *mut u32 ) -> :: windows::core::HRESULT ); MFAverageTimePerFrameToFrameRate(unaveragetimeperframe, punnumerator, pundenominator).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -85,7 +85,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFBeginCreateFile ( accessmode : MF_FILE_ACCESSMODE , openmode : MF_FILE_OPENMODE , fflags : MF_FILE_FLAGS , pwszfilepath : :: windows::core::PCWSTR , pcallback : * mut::core::ffi::c_void , pstate : * mut::core::ffi::c_void , ppcancelcookie : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFBeginCreateFile ( accessmode : MF_FILE_ACCESSMODE , openmode : MF_FILE_OPENMODE , fflags : MF_FILE_FLAGS , pwszfilepath : :: windows::core::PCWSTR , pcallback : * mut::core::ffi::c_void , pstate : * mut::core::ffi::c_void , ppcancelcookie : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); MFBeginCreateFile(accessmode, openmode, fflags, pwszfilepath.into().abi(), pcallback.into().abi(), pstate.into().abi(), &mut result__).from_abi(result__) } @@ -97,7 +97,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFBeginRegisterWorkQueueWithMMCSS ( dwworkqueueid : u32 , wszclass : :: windows::core::PCWSTR , dwtaskid : u32 , pdonecallback : * mut::core::ffi::c_void , pdonestate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFBeginRegisterWorkQueueWithMMCSS ( dwworkqueueid : u32 , wszclass : :: windows::core::PCWSTR , dwtaskid : u32 , pdonecallback : * mut::core::ffi::c_void , pdonestate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFBeginRegisterWorkQueueWithMMCSS(dwworkqueueid, wszclass.into().abi(), dwtaskid, pdonecallback.into().abi(), pdonestate.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -108,7 +108,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFBeginRegisterWorkQueueWithMMCSSEx ( dwworkqueueid : u32 , wszclass : :: windows::core::PCWSTR , dwtaskid : u32 , lpriority : i32 , pdonecallback : * mut::core::ffi::c_void , pdonestate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFBeginRegisterWorkQueueWithMMCSSEx ( dwworkqueueid : u32 , wszclass : :: windows::core::PCWSTR , dwtaskid : u32 , lpriority : i32 , pdonecallback : * mut::core::ffi::c_void , pdonestate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFBeginRegisterWorkQueueWithMMCSSEx(dwworkqueueid, wszclass.into().abi(), dwtaskid, lpriority, pdonecallback.into().abi(), pdonestate.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -118,20 +118,20 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFBeginUnregisterWorkQueueWithMMCSS ( dwworkqueueid : u32 , pdonecallback : * mut::core::ffi::c_void , pdonestate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFBeginUnregisterWorkQueueWithMMCSS ( dwworkqueueid : u32 , pdonecallback : * mut::core::ffi::c_void , pdonestate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFBeginUnregisterWorkQueueWithMMCSS(dwworkqueueid, pdonecallback.into().abi(), pdonestate.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn MFCalculateBitmapImageSize(pbmih: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, cbbufsize: u32, pcbimagesize: *mut u32, pbknown: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCalculateBitmapImageSize ( pbmih : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , cbbufsize : u32 , pcbimagesize : *mut u32 , pbknown : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCalculateBitmapImageSize ( pbmih : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , cbbufsize : u32 , pcbimagesize : *mut u32 , pbknown : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); MFCalculateBitmapImageSize(pbmih, cbbufsize, pcbimagesize, ::core::mem::transmute(pbknown.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCalculateImageSize(guidsubtype: *const ::windows::core::GUID, unwidth: u32, unheight: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCalculateImageSize ( guidsubtype : *const :: windows::core::GUID , unwidth : u32 , unheight : u32 , pcbimagesize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCalculateImageSize ( guidsubtype : *const :: windows::core::GUID , unwidth : u32 , unheight : u32 , pcbimagesize : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCalculateImageSize(guidsubtype, unwidth, unheight, &mut result__).from_abi(result__) } @@ -141,13 +141,13 @@ pub unsafe fn MFCancelCreateFile(pcancelcookie: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCancelCreateFile ( pcancelcookie : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCancelCreateFile ( pcancelcookie : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCancelCreateFile(pcancelcookie.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCancelWorkItem(key: u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCancelWorkItem ( key : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCancelWorkItem ( key : u64 ) -> :: windows::core::HRESULT ); MFCancelWorkItem(key).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -158,7 +158,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCombineSamples ( psample : * mut::core::ffi::c_void , psampletoadd : * mut::core::ffi::c_void , dwmaxmergeddurationinms : u32 , pmerged : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCombineSamples ( psample : * mut::core::ffi::c_void , psampletoadd : * mut::core::ffi::c_void , dwmaxmergeddurationinms : u32 , pmerged : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCombineSamples(psample.into().abi(), psampletoadd.into().abi(), dwmaxmergeddurationinms, &mut result__).from_abi(result__) } @@ -170,39 +170,39 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCompareFullToPartialMediaType ( pmftypefull : * mut::core::ffi::c_void , pmftypepartial : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCompareFullToPartialMediaType ( pmftypefull : * mut::core::ffi::c_void , pmftypepartial : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); MFCompareFullToPartialMediaType(pmftypefull.into().abi(), pmftypepartial.into().abi()) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MFConvertColorInfoFromDXVA(ptoformat: *mut MFVIDEOFORMAT, dwfromdxva: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFConvertColorInfoFromDXVA ( ptoformat : *mut MFVIDEOFORMAT , dwfromdxva : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFConvertColorInfoFromDXVA ( ptoformat : *mut MFVIDEOFORMAT , dwfromdxva : u32 ) -> :: windows::core::HRESULT ); MFConvertColorInfoFromDXVA(ptoformat, dwfromdxva).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MFConvertColorInfoToDXVA(pdwtodxva: *mut u32, pfromformat: *const MFVIDEOFORMAT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFConvertColorInfoToDXVA ( pdwtodxva : *mut u32 , pfromformat : *const MFVIDEOFORMAT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFConvertColorInfoToDXVA ( pdwtodxva : *mut u32 , pfromformat : *const MFVIDEOFORMAT ) -> :: windows::core::HRESULT ); MFConvertColorInfoToDXVA(pdwtodxva, pfromformat).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFConvertFromFP16Array(pdest: *mut f32, psrc: *const u16, dwcount: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFConvertFromFP16Array ( pdest : *mut f32 , psrc : *const u16 , dwcount : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFConvertFromFP16Array ( pdest : *mut f32 , psrc : *const u16 , dwcount : u32 ) -> :: windows::core::HRESULT ); MFConvertFromFP16Array(pdest, psrc, dwcount).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFConvertToFP16Array(pdest: *mut u16, psrc: *const f32, dwcount: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFConvertToFP16Array ( pdest : *mut u16 , psrc : *const f32 , dwcount : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFConvertToFP16Array ( pdest : *mut u16 , psrc : *const f32 , dwcount : u32 ) -> :: windows::core::HRESULT ); MFConvertToFP16Array(pdest, psrc, dwcount).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCopyImage(pdest: *mut u8, ldeststride: i32, psrc: *const u8, lsrcstride: i32, dwwidthinbytes: u32, dwlines: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCopyImage ( pdest : *mut u8 , ldeststride : i32 , psrc : *const u8 , lsrcstride : i32 , dwwidthinbytes : u32 , dwlines : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCopyImage ( pdest : *mut u8 , ldeststride : i32 , psrc : *const u8 , lsrcstride : i32 , dwwidthinbytes : u32 , dwlines : u32 ) -> :: windows::core::HRESULT ); MFCopyImage(pdest, ldeststride, psrc, lsrcstride, dwwidthinbytes, dwlines).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -212,7 +212,7 @@ pub unsafe fn MFCreate2DMediaBuffer(dwwidth: u32, dwheight: u32, dwfourcc: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreate2DMediaBuffer ( dwwidth : u32 , dwheight : u32 , dwfourcc : u32 , fbottomup : super::super::Foundation:: BOOL , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreate2DMediaBuffer ( dwwidth : u32 , dwheight : u32 , dwfourcc : u32 , fbottomup : super::super::Foundation:: BOOL , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreate2DMediaBuffer(dwwidth, dwheight, dwfourcc, fbottomup.into(), &mut result__).from_abi(result__) } @@ -224,7 +224,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreate3GPMediaSink ( pibytestream : * mut::core::ffi::c_void , pvideomediatype : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreate3GPMediaSink ( pibytestream : * mut::core::ffi::c_void , pvideomediatype : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreate3GPMediaSink(pibytestream.into().abi(), pvideomediatype.into().abi(), paudiomediatype.into().abi(), &mut result__).from_abi(result__) } @@ -235,7 +235,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateAC3MediaSink ( ptargetbytestream : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppmediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateAC3MediaSink ( ptargetbytestream : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppmediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateAC3MediaSink(ptargetbytestream.into().abi(), paudiomediatype.into().abi(), &mut result__).from_abi(result__) } @@ -246,7 +246,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateADTSMediaSink ( ptargetbytestream : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppmediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateADTSMediaSink ( ptargetbytestream : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppmediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateADTSMediaSink(ptargetbytestream.into().abi(), paudiomediatype.into().abi(), &mut result__).from_abi(result__) } @@ -257,20 +257,20 @@ pub unsafe fn MFCreateAMMediaTypeFromMFMediaType(pmftype: P0, guidformatbloc where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateAMMediaTypeFromMFMediaType ( pmftype : * mut::core::ffi::c_void , guidformatblocktype : :: windows::core::GUID , ppamtype : *mut *mut AM_MEDIA_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateAMMediaTypeFromMFMediaType ( pmftype : * mut::core::ffi::c_void , guidformatblocktype : :: windows::core::GUID , ppamtype : *mut *mut AM_MEDIA_TYPE ) -> :: windows::core::HRESULT ); MFCreateAMMediaTypeFromMFMediaType(pmftype.into().abi(), ::core::mem::transmute(guidformatblocktype), ppamtype).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateASFContentInfo() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFContentInfo ( ppicontentinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFContentInfo ( ppicontentinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFContentInfo(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateASFIndexer() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFIndexer ( ppiindexer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFIndexer ( ppiindexer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFIndexer(&mut result__).from_abi(result__) } @@ -280,7 +280,7 @@ pub unsafe fn MFCreateASFIndexerByteStream(picontentbytestream: P0, cbindexs where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFIndexerByteStream ( picontentbytestream : * mut::core::ffi::c_void , cbindexstartoffset : u64 , piindexbytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFIndexerByteStream ( picontentbytestream : * mut::core::ffi::c_void , cbindexstartoffset : u64 , piindexbytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFIndexerByteStream(picontentbytestream.into().abi(), cbindexstartoffset, &mut result__).from_abi(result__) } @@ -290,7 +290,7 @@ pub unsafe fn MFCreateASFMediaSink(pibytestream: P0) -> ::windows::core::Res where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFMediaSink ( pibytestream : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFMediaSink ( pibytestream : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFMediaSink(pibytestream.into().abi(), &mut result__).from_abi(result__) } @@ -301,21 +301,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFMediaSinkActivate ( pwszfilename : :: windows::core::PCWSTR , pcontentinfo : * mut::core::ffi::c_void , ppiactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFMediaSinkActivate ( pwszfilename : :: windows::core::PCWSTR , pcontentinfo : * mut::core::ffi::c_void , ppiactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFMediaSinkActivate(pwszfilename.into().abi(), pcontentinfo.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateASFMultiplexer() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFMultiplexer ( ppimultiplexer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFMultiplexer ( ppimultiplexer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFMultiplexer(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateASFProfile() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFProfile ( ppiprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFProfile ( ppiprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFProfile(&mut result__).from_abi(result__) } @@ -325,14 +325,14 @@ pub unsafe fn MFCreateASFProfileFromPresentationDescriptor(pipd: P0) -> ::wi where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFProfileFromPresentationDescriptor ( pipd : * mut::core::ffi::c_void , ppiprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFProfileFromPresentationDescriptor ( pipd : * mut::core::ffi::c_void , ppiprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFProfileFromPresentationDescriptor(pipd.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateASFSplitter() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFSplitter ( ppisplitter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFSplitter ( ppisplitter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFSplitter(&mut result__).from_abi(result__) } @@ -342,7 +342,7 @@ pub unsafe fn MFCreateASFStreamSelector(piasfprofile: P0) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFStreamSelector ( piasfprofile : * mut::core::ffi::c_void , ppselector : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFStreamSelector ( piasfprofile : * mut::core::ffi::c_void , ppselector : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFStreamSelector(piasfprofile.into().abi(), &mut result__).from_abi(result__) } @@ -352,7 +352,7 @@ pub unsafe fn MFCreateASFStreamingMediaSink(pibytestream: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFStreamingMediaSink ( pibytestream : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFStreamingMediaSink ( pibytestream : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFStreamingMediaSink(pibytestream.into().abi(), &mut result__).from_abi(result__) } @@ -363,7 +363,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateASFStreamingMediaSinkActivate ( pbytestreamactivate : * mut::core::ffi::c_void , pcontentinfo : * mut::core::ffi::c_void , ppiactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateASFStreamingMediaSinkActivate ( pbytestreamactivate : * mut::core::ffi::c_void , pcontentinfo : * mut::core::ffi::c_void , ppiactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateASFStreamingMediaSinkActivate(pbytestreamactivate.into().abi(), pcontentinfo.into().abi(), &mut result__).from_abi(result__) } @@ -375,7 +375,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfsrcsnk.dll""system" fn MFCreateAVIMediaSink ( pibytestream : * mut::core::ffi::c_void , pvideomediatype : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsrcsnk.dll""system" fn MFCreateAVIMediaSink ( pibytestream : * mut::core::ffi::c_void , pvideomediatype : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateAVIMediaSink(pibytestream.into().abi(), pvideomediatype.into().abi(), paudiomediatype.into().abi(), &mut result__).from_abi(result__) } @@ -385,14 +385,14 @@ pub unsafe fn MFCreateAggregateSource(psourcecollection: P0) -> ::windows::c where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateAggregateSource ( psourcecollection : * mut::core::ffi::c_void , ppaggsource : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateAggregateSource ( psourcecollection : * mut::core::ffi::c_void , ppaggsource : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateAggregateSource(psourcecollection.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateAlignedMemoryBuffer(cbmaxlength: u32, cbaligment: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateAlignedMemoryBuffer ( cbmaxlength : u32 , cbaligment : u32 , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateAlignedMemoryBuffer ( cbmaxlength : u32 , cbaligment : u32 , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateAlignedMemoryBuffer(cbmaxlength, cbaligment, &mut result__).from_abi(result__) } @@ -404,21 +404,21 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateAsyncResult ( punkobject : * mut::core::ffi::c_void , pcallback : * mut::core::ffi::c_void , punkstate : * mut::core::ffi::c_void , ppasyncresult : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateAsyncResult ( punkobject : * mut::core::ffi::c_void , pcallback : * mut::core::ffi::c_void , punkstate : * mut::core::ffi::c_void , ppasyncresult : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateAsyncResult(punkobject.into().abi(), pcallback.into().abi(), punkstate.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateAttributes(ppmfattributes: *mut ::core::option::Option, cinitialsize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateAttributes ( ppmfattributes : *mut * mut::core::ffi::c_void , cinitialsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateAttributes ( ppmfattributes : *mut * mut::core::ffi::c_void , cinitialsize : u32 ) -> :: windows::core::HRESULT ); MFCreateAttributes(::core::mem::transmute(ppmfattributes), cinitialsize).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_Audio\"`*"] #[cfg(feature = "Win32_Media_Audio")] #[inline] pub unsafe fn MFCreateAudioMediaType(paudioformat: *const super::Audio::WAVEFORMATEX) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateAudioMediaType ( paudioformat : *const super::Audio:: WAVEFORMATEX , ppiaudiomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateAudioMediaType ( paudioformat : *const super::Audio:: WAVEFORMATEX , ppiaudiomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateAudioMediaType(paudioformat, &mut result__).from_abi(result__) } @@ -428,14 +428,14 @@ pub unsafe fn MFCreateAudioRenderer(paudioattributes: P0) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateAudioRenderer ( paudioattributes : * mut::core::ffi::c_void , ppsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateAudioRenderer ( paudioattributes : * mut::core::ffi::c_void , ppsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateAudioRenderer(paudioattributes.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateAudioRendererActivate() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateAudioRendererActivate ( ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateAudioRendererActivate ( ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateAudioRendererActivate(&mut result__).from_abi(result__) } @@ -446,14 +446,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFCreateCameraOcclusionStateMonitor ( symboliclink : :: windows::core::PCWSTR , callback : * mut::core::ffi::c_void , occlusionstatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFCreateCameraOcclusionStateMonitor ( symboliclink : :: windows::core::PCWSTR , callback : * mut::core::ffi::c_void , occlusionstatemonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateCameraOcclusionStateMonitor(symboliclink.into().abi(), callback.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateCollection() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateCollection ( ppimfcollection : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateCollection ( ppimfcollection : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateCollection(&mut result__).from_abi(result__) } @@ -464,21 +464,21 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateContentDecryptorContext ( guidmediaprotectionsystemid : *const :: windows::core::GUID , pd3dmanager : * mut::core::ffi::c_void , pcontentprotectiondevice : * mut::core::ffi::c_void , ppcontentdecryptorcontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateContentDecryptorContext ( guidmediaprotectionsystemid : *const :: windows::core::GUID , pd3dmanager : * mut::core::ffi::c_void , pcontentprotectiondevice : * mut::core::ffi::c_void , ppcontentdecryptorcontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateContentDecryptorContext(guidmediaprotectionsystemid, pd3dmanager.into().abi(), pcontentprotectiondevice.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateContentProtectionDevice(protectionsystemid: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateContentProtectionDevice ( protectionsystemid : *const :: windows::core::GUID , contentprotectiondevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateContentProtectionDevice ( protectionsystemid : *const :: windows::core::GUID , contentprotectiondevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateContentProtectionDevice(protectionsystemid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateCredentialCache() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateCredentialCache ( ppcache : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateCredentialCache ( ppcache : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateCredentialCache(&mut result__).from_abi(result__) } @@ -489,13 +489,13 @@ pub unsafe fn MFCreateD3D12SynchronizationObject(pdevice: P0, riid: *const : where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateD3D12SynchronizationObject ( pdevice : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppvsyncobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateD3D12SynchronizationObject ( pdevice : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppvsyncobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateD3D12SynchronizationObject(pdevice.into().abi(), riid, ppvsyncobject).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateDXGIDeviceManager(resettoken: *mut u32, ppdevicemanager: *mut ::core::option::Option) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateDXGIDeviceManager ( resettoken : *mut u32 , ppdevicemanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateDXGIDeviceManager ( resettoken : *mut u32 , ppdevicemanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateDXGIDeviceManager(resettoken, ::core::mem::transmute(ppdevicemanager)).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -506,7 +506,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateDXGISurfaceBuffer ( riid : *const :: windows::core::GUID , punksurface : * mut::core::ffi::c_void , usubresourceindex : u32 , fbottomupwhenlinear : super::super::Foundation:: BOOL , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateDXGISurfaceBuffer ( riid : *const :: windows::core::GUID , punksurface : * mut::core::ffi::c_void , usubresourceindex : u32 , fbottomupwhenlinear : super::super::Foundation:: BOOL , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateDXGISurfaceBuffer(riid, punksurface.into().abi(), usubresourceindex, fbottomupwhenlinear.into(), &mut result__).from_abi(result__) } @@ -518,7 +518,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateDXSurfaceBuffer ( riid : *const :: windows::core::GUID , punksurface : * mut::core::ffi::c_void , fbottomupwhenlinear : super::super::Foundation:: BOOL , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateDXSurfaceBuffer ( riid : *const :: windows::core::GUID , punksurface : * mut::core::ffi::c_void , fbottomupwhenlinear : super::super::Foundation:: BOOL , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateDXSurfaceBuffer(riid, punksurface.into().abi(), fbottomupwhenlinear.into(), &mut result__).from_abi(result__) } @@ -528,7 +528,7 @@ pub unsafe fn MFCreateDeviceSource(pattributes: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateDeviceSource ( pattributes : * mut::core::ffi::c_void , ppsource : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateDeviceSource ( pattributes : * mut::core::ffi::c_void , ppsource : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateDeviceSource(pattributes.into().abi(), &mut result__).from_abi(result__) } @@ -538,7 +538,7 @@ pub unsafe fn MFCreateDeviceSourceActivate(pattributes: P0) -> ::windows::co where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateDeviceSourceActivate ( pattributes : * mut::core::ffi::c_void , ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateDeviceSourceActivate ( pattributes : * mut::core::ffi::c_void , ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateDeviceSourceActivate(pattributes.into().abi(), &mut result__).from_abi(result__) } @@ -551,28 +551,28 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateEncryptedMediaExtensionsStoreActivate ( pmphost : * mut::core::ffi::c_void , objectstream : * mut::core::ffi::c_void , classid : :: windows::core::PCWSTR , activate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateEncryptedMediaExtensionsStoreActivate ( pmphost : * mut::core::ffi::c_void , objectstream : * mut::core::ffi::c_void , classid : :: windows::core::PCWSTR , activate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateEncryptedMediaExtensionsStoreActivate(pmphost.into().abi(), objectstream.into().abi(), classid.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateEventQueue() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateEventQueue ( ppmediaeventqueue : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateEventQueue ( ppmediaeventqueue : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateEventQueue(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateExtendedCameraIntrinsicModel(distortionmodeltype: MFCameraIntrinsic_DistortionModelType) -> ::windows::core::Result { - ::windows::core::link ! ( "mfcore.dll""system" fn MFCreateExtendedCameraIntrinsicModel ( distortionmodeltype : MFCameraIntrinsic_DistortionModelType , ppextendedcameraintrinsicmodel : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfcore.dll""system" fn MFCreateExtendedCameraIntrinsicModel ( distortionmodeltype : MFCameraIntrinsic_DistortionModelType , ppextendedcameraintrinsicmodel : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateExtendedCameraIntrinsicModel(distortionmodeltype, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateExtendedCameraIntrinsics() -> ::windows::core::Result { - ::windows::core::link ! ( "mfcore.dll""system" fn MFCreateExtendedCameraIntrinsics ( ppextendedcameraintrinsics : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfcore.dll""system" fn MFCreateExtendedCameraIntrinsics ( ppextendedcameraintrinsics : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateExtendedCameraIntrinsics(&mut result__).from_abi(result__) } @@ -584,7 +584,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateFMPEG4MediaSink ( pibytestream : * mut::core::ffi::c_void , pvideomediatype : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateFMPEG4MediaSink ( pibytestream : * mut::core::ffi::c_void , pvideomediatype : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateFMPEG4MediaSink(pibytestream.into().abi(), pvideomediatype.into().abi(), paudiomediatype.into().abi(), &mut result__).from_abi(result__) } @@ -594,7 +594,7 @@ pub unsafe fn MFCreateFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateFile ( accessmode : MF_FILE_ACCESSMODE , openmode : MF_FILE_OPENMODE , fflags : MF_FILE_FLAGS , pwszfileurl : :: windows::core::PCWSTR , ppibytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateFile ( accessmode : MF_FILE_ACCESSMODE , openmode : MF_FILE_OPENMODE , fflags : MF_FILE_FLAGS , pwszfileurl : :: windows::core::PCWSTR , ppibytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateFile(accessmode, openmode, fflags, pwszfileurl.into().abi(), &mut result__).from_abi(result__) } @@ -606,7 +606,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateLegacyMediaBufferOnMFMediaBuffer ( psample : * mut::core::ffi::c_void , pmfmediabuffer : * mut::core::ffi::c_void , cboffset : u32 , ppmediabuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateLegacyMediaBufferOnMFMediaBuffer ( psample : * mut::core::ffi::c_void , pmfmediabuffer : * mut::core::ffi::c_void , cboffset : u32 , ppmediabuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateLegacyMediaBufferOnMFMediaBuffer(psample.into().abi(), pmfmediabuffer.into().abi(), cboffset, &mut result__).from_abi(result__) } @@ -617,7 +617,7 @@ pub unsafe fn MFCreateMFByteStreamOnStream(pstream: P0) -> ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMFByteStreamOnStream ( pstream : * mut::core::ffi::c_void , ppbytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMFByteStreamOnStream ( pstream : * mut::core::ffi::c_void , ppbytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMFByteStreamOnStream(pstream.into().abi(), &mut result__).from_abi(result__) } @@ -627,7 +627,7 @@ pub unsafe fn MFCreateMFByteStreamOnStreamEx(punkstream: P0) -> ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMFByteStreamOnStreamEx ( punkstream : * mut::core::ffi::c_void , ppbytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMFByteStreamOnStreamEx ( punkstream : * mut::core::ffi::c_void , ppbytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMFByteStreamOnStreamEx(punkstream.into().abi(), &mut result__).from_abi(result__) } @@ -637,7 +637,7 @@ pub unsafe fn MFCreateMFByteStreamWrapper(pstream: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMFByteStreamWrapper ( pstream : * mut::core::ffi::c_void , ppstreamwrapper : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMFByteStreamWrapper ( pstream : * mut::core::ffi::c_void , ppstreamwrapper : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMFByteStreamWrapper(pstream.into().abi(), &mut result__).from_abi(result__) } @@ -648,7 +648,7 @@ pub unsafe fn MFCreateMFVideoFormatFromMFMediaType(pmftype: P0, ppmfvf: *mut where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMFVideoFormatFromMFMediaType ( pmftype : * mut::core::ffi::c_void , ppmfvf : *mut *mut MFVIDEOFORMAT , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMFVideoFormatFromMFMediaType ( pmftype : * mut::core::ffi::c_void , ppmfvf : *mut *mut MFVIDEOFORMAT , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); MFCreateMFVideoFormatFromMFMediaType(pmftype.into().abi(), ppmfvf, ::core::mem::transmute(pcbsize.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -657,7 +657,7 @@ pub unsafe fn MFCreateMP3MediaSink(ptargetbytestream: P0) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateMP3MediaSink ( ptargetbytestream : * mut::core::ffi::c_void , ppmediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateMP3MediaSink ( ptargetbytestream : * mut::core::ffi::c_void , ppmediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMP3MediaSink(ptargetbytestream.into().abi(), &mut result__).from_abi(result__) } @@ -669,7 +669,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateMPEG4MediaSink ( pibytestream : * mut::core::ffi::c_void , pvideomediatype : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateMPEG4MediaSink ( pibytestream : * mut::core::ffi::c_void , pvideomediatype : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppimediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMPEG4MediaSink(pibytestream.into().abi(), pvideomediatype.into().abi(), paudiomediatype.into().abi(), &mut result__).from_abi(result__) } @@ -679,7 +679,7 @@ pub unsafe fn MFCreateMediaBufferFromMediaType(pmediatype: P0, llduration: i where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMediaBufferFromMediaType ( pmediatype : * mut::core::ffi::c_void , llduration : i64 , dwminlength : u32 , dwminalignment : u32 , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMediaBufferFromMediaType ( pmediatype : * mut::core::ffi::c_void , llduration : i64 , dwminlength : u32 , dwminalignment : u32 , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMediaBufferFromMediaType(pmediatype.into().abi(), llduration, dwminlength, dwminalignment, &mut result__).from_abi(result__) } @@ -689,7 +689,7 @@ pub unsafe fn MFCreateMediaBufferWrapper(pbuffer: P0, cboffset: u32, dwlengt where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMediaBufferWrapper ( pbuffer : * mut::core::ffi::c_void , cboffset : u32 , dwlength : u32 , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMediaBufferWrapper ( pbuffer : * mut::core::ffi::c_void , cboffset : u32 , dwlength : u32 , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMediaBufferWrapper(pbuffer.into().abi(), cboffset, dwlength, &mut result__).from_abi(result__) } @@ -697,7 +697,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn MFCreateMediaEvent(met: u32, guidextendedtype: *const ::windows::core::GUID, hrstatus: ::windows::core::HRESULT, pvvalue: ::core::option::Option<*const super::super::System::Com::StructuredStorage::PROPVARIANT>) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMediaEvent ( met : u32 , guidextendedtype : *const :: windows::core::GUID , hrstatus : :: windows::core::HRESULT , pvvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT , ppevent : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMediaEvent ( met : u32 , guidextendedtype : *const :: windows::core::GUID , hrstatus : :: windows::core::HRESULT , pvvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT , ppevent : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMediaEvent(met, guidextendedtype, hrstatus, ::core::mem::transmute(pvvalue.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -708,7 +708,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMediaExtensionActivate ( szactivatableclassid : :: windows::core::PCWSTR , pconfiguration : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMediaExtensionActivate ( szactivatableclassid : :: windows::core::PCWSTR , pconfiguration : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateMediaExtensionActivate(szactivatableclassid.into().abi(), pconfiguration.into().abi(), riid, ppvobject).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -717,14 +717,14 @@ pub unsafe fn MFCreateMediaSession(pconfiguration: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateMediaSession ( pconfiguration : * mut::core::ffi::c_void , ppmediasession : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateMediaSession ( pconfiguration : * mut::core::ffi::c_void , ppmediasession : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMediaSession(pconfiguration.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateMediaType() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMediaType ( ppmftype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMediaType ( ppmftype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMediaType(&mut result__).from_abi(result__) } @@ -734,21 +734,21 @@ pub unsafe fn MFCreateMediaTypeFromProperties(punkstream: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMediaTypeFromProperties ( punkstream : * mut::core::ffi::c_void , ppmediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMediaTypeFromProperties ( punkstream : * mut::core::ffi::c_void , ppmediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMediaTypeFromProperties(punkstream.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateMediaTypeFromRepresentation(guidrepresentation: ::windows::core::GUID, pvrepresentation: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMediaTypeFromRepresentation ( guidrepresentation : :: windows::core::GUID , pvrepresentation : *const ::core::ffi::c_void , ppimediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMediaTypeFromRepresentation ( guidrepresentation : :: windows::core::GUID , pvrepresentation : *const ::core::ffi::c_void , ppimediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMediaTypeFromRepresentation(::core::mem::transmute(guidrepresentation), pvrepresentation, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateMemoryBuffer(cbmaxlength: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMemoryBuffer ( cbmaxlength : u32 , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMemoryBuffer ( cbmaxlength : u32 , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMemoryBuffer(cbmaxlength, &mut result__).from_abi(result__) } @@ -759,7 +759,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateMuxSink ( guidoutputsubtype : :: windows::core::GUID , poutputattributes : * mut::core::ffi::c_void , poutputbytestream : * mut::core::ffi::c_void , ppmuxsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateMuxSink ( guidoutputsubtype : :: windows::core::GUID , poutputattributes : * mut::core::ffi::c_void , poutputbytestream : * mut::core::ffi::c_void , ppmuxsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMuxSink(::core::mem::transmute(guidoutputsubtype), poutputattributes.into().abi(), poutputbytestream.into().abi(), &mut result__).from_abi(result__) } @@ -769,7 +769,7 @@ pub unsafe fn MFCreateMuxStreamAttributes(pattributestomux: P0) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMuxStreamAttributes ( pattributestomux : * mut::core::ffi::c_void , ppmuxattribs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMuxStreamAttributes ( pattributestomux : * mut::core::ffi::c_void , ppmuxattribs : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMuxStreamAttributes(pattributestomux.into().abi(), &mut result__).from_abi(result__) } @@ -779,7 +779,7 @@ pub unsafe fn MFCreateMuxStreamMediaType(pmediatypestomux: P0) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMuxStreamMediaType ( pmediatypestomux : * mut::core::ffi::c_void , ppmuxmediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMuxStreamMediaType ( pmediatypestomux : * mut::core::ffi::c_void , ppmuxmediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMuxStreamMediaType(pmediatypestomux.into().abi(), &mut result__).from_abi(result__) } @@ -789,14 +789,14 @@ pub unsafe fn MFCreateMuxStreamSample(psamplestomux: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateMuxStreamSample ( psamplestomux : * mut::core::ffi::c_void , ppmuxsample : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateMuxStreamSample ( psamplestomux : * mut::core::ffi::c_void , ppmuxsample : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateMuxStreamSample(psamplestomux.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateNetSchemePlugin(riid: *const ::windows::core::GUID, ppvhandler: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateNetSchemePlugin ( riid : *const :: windows::core::GUID , ppvhandler : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateNetSchemePlugin ( riid : *const :: windows::core::GUID , ppvhandler : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateNetSchemePlugin(riid, ppvhandler).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -805,27 +805,27 @@ pub unsafe fn MFCreatePMPMediaSession(dwcreationflags: u32, pconfiguration: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreatePMPMediaSession ( dwcreationflags : u32 , pconfiguration : * mut::core::ffi::c_void , ppmediasession : *mut * mut::core::ffi::c_void , ppenableractivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreatePMPMediaSession ( dwcreationflags : u32 , pconfiguration : * mut::core::ffi::c_void , ppmediasession : *mut * mut::core::ffi::c_void , ppenableractivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreatePMPMediaSession(dwcreationflags, pconfiguration.into().abi(), ::core::mem::transmute(ppmediasession), ::core::mem::transmute(ppenableractivate.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreatePMPServer(dwcreationflags: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreatePMPServer ( dwcreationflags : u32 , pppmpserver : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreatePMPServer ( dwcreationflags : u32 , pppmpserver : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreatePMPServer(dwcreationflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreatePresentationClock() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreatePresentationClock ( pppresentationclock : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreatePresentationClock ( pppresentationclock : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreatePresentationClock(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreatePresentationDescriptor(apstreamdescriptors: ::core::option::Option<&[::core::option::Option]>) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreatePresentationDescriptor ( cstreamdescriptors : u32 , apstreamdescriptors : *const * mut::core::ffi::c_void , pppresentationdescriptor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreatePresentationDescriptor ( cstreamdescriptors : u32 , apstreamdescriptors : *const * mut::core::ffi::c_void , pppresentationdescriptor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreatePresentationDescriptor(apstreamdescriptors.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(apstreamdescriptors.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } @@ -835,7 +835,7 @@ pub unsafe fn MFCreatePresentationDescriptorFromASFProfile(piprofile: P0) -> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreatePresentationDescriptorFromASFProfile ( piprofile : * mut::core::ffi::c_void , ppipd : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreatePresentationDescriptorFromASFProfile ( piprofile : * mut::core::ffi::c_void , ppipd : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreatePresentationDescriptorFromASFProfile(piprofile.into().abi(), &mut result__).from_abi(result__) } @@ -845,13 +845,13 @@ pub unsafe fn MFCreatePropertiesFromMediaType(pmediatype: P0, riid: *const : where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreatePropertiesFromMediaType ( pmediatype : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreatePropertiesFromMediaType ( pmediatype : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreatePropertiesFromMediaType(pmediatype.into().abi(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateProtectedEnvironmentAccess() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateProtectedEnvironmentAccess ( ppaccess : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateProtectedEnvironmentAccess ( ppaccess : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateProtectedEnvironmentAccess(&mut result__).from_abi(result__) } @@ -863,7 +863,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateProxyLocator ( pszprotocol : :: windows::core::PCWSTR , pproxyconfig : * mut::core::ffi::c_void , ppproxylocator : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateProxyLocator ( pszprotocol : :: windows::core::PCWSTR , pproxyconfig : * mut::core::ffi::c_void , ppproxylocator : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateProxyLocator(pszprotocol.into().abi(), pproxyconfig.into().abi(), &mut result__).from_abi(result__) } @@ -874,28 +874,28 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFCreateRelativePanelWatcher ( videodeviceid : :: windows::core::PCWSTR , displaymonitordeviceid : :: windows::core::PCWSTR , pprelativepanelwatcher : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFCreateRelativePanelWatcher ( videodeviceid : :: windows::core::PCWSTR , displaymonitordeviceid : :: windows::core::PCWSTR , pprelativepanelwatcher : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateRelativePanelWatcher(videodeviceid.into().abi(), displaymonitordeviceid.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateRemoteDesktopPlugin() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateRemoteDesktopPlugin ( ppplugin : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateRemoteDesktopPlugin ( ppplugin : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateRemoteDesktopPlugin(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateSample() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateSample ( ppimfsample : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateSample ( ppimfsample : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSample(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateSampleCopierMFT() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateSampleCopierMFT ( ppcopiermft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateSampleCopierMFT ( ppcopiermft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSampleCopierMFT(&mut result__).from_abi(result__) } @@ -906,7 +906,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateSampleGrabberSinkActivate ( pimfmediatype : * mut::core::ffi::c_void , pimfsamplegrabbersinkcallback : * mut::core::ffi::c_void , ppiactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateSampleGrabberSinkActivate ( pimfmediatype : * mut::core::ffi::c_void , pimfsamplegrabbersinkcallback : * mut::core::ffi::c_void , ppiactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSampleGrabberSinkActivate(pimfmediatype.into().abi(), pimfsamplegrabbersinkcallback.into().abi(), &mut result__).from_abi(result__) } @@ -916,7 +916,7 @@ pub unsafe fn MFCreateSensorActivityMonitor(pcallback: P0) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorActivityMonitor ( pcallback : * mut::core::ffi::c_void , ppactivitymonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorActivityMonitor ( pcallback : * mut::core::ffi::c_void , ppactivitymonitor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSensorActivityMonitor(pcallback.into().abi(), &mut result__).from_abi(result__) } @@ -926,7 +926,7 @@ pub unsafe fn MFCreateSensorGroup(sensorgroupsymboliclink: P0) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorGroup ( sensorgroupsymboliclink : :: windows::core::PCWSTR , ppsensorgroup : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorGroup ( sensorgroupsymboliclink : :: windows::core::PCWSTR , ppsensorgroup : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSensorGroup(sensorgroupsymboliclink.into().abi(), &mut result__).from_abi(result__) } @@ -936,14 +936,14 @@ pub unsafe fn MFCreateSensorProfile(profiletype: *const ::windows::core::GUI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorProfile ( profiletype : *const :: windows::core::GUID , profileindex : u32 , constraints : :: windows::core::PCWSTR , ppprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorProfile ( profiletype : *const :: windows::core::GUID , profileindex : u32 , constraints : :: windows::core::PCWSTR , ppprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSensorProfile(profiletype, profileindex, constraints.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateSensorProfileCollection() -> ::windows::core::Result { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorProfileCollection ( ppsensorprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorProfileCollection ( ppsensorprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSensorProfileCollection(&mut result__).from_abi(result__) } @@ -954,7 +954,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorStream ( streamid : u32 , pattributes : * mut::core::ffi::c_void , pmediatypecollection : * mut::core::ffi::c_void , ppstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFCreateSensorStream ( streamid : u32 , pattributes : * mut::core::ffi::c_void , pmediatypecollection : * mut::core::ffi::c_void , ppstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSensorStream(streamid, pattributes.into().abi(), pmediatypecollection.into().abi(), &mut result__).from_abi(result__) } @@ -962,7 +962,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn MFCreateSequencerSegmentOffset(dwid: u32, hnsoffset: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateSequencerSegmentOffset ( dwid : u32 , hnsoffset : i64 , pvarsegmentoffset : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateSequencerSegmentOffset ( dwid : u32 , hnsoffset : i64 , pvarsegmentoffset : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSequencerSegmentOffset(dwid, hnsoffset, &mut result__).from_abi(result__) } @@ -972,14 +972,14 @@ pub unsafe fn MFCreateSequencerSource(preserved: P0) -> ::windows::core::Res where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateSequencerSource ( preserved : * mut::core::ffi::c_void , ppsequencersource : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateSequencerSource ( preserved : * mut::core::ffi::c_void , ppsequencersource : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSequencerSource(preserved.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateSimpleTypeHandler() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateSimpleTypeHandler ( pphandler : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateSimpleTypeHandler ( pphandler : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSimpleTypeHandler(&mut result__).from_abi(result__) } @@ -990,7 +990,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfreadwrite.dll""system" fn MFCreateSinkWriterFromMediaSink ( pmediasink : * mut::core::ffi::c_void , pattributes : * mut::core::ffi::c_void , ppsinkwriter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfreadwrite.dll""system" fn MFCreateSinkWriterFromMediaSink ( pmediasink : * mut::core::ffi::c_void , pattributes : * mut::core::ffi::c_void , ppsinkwriter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSinkWriterFromMediaSink(pmediasink.into().abi(), pattributes.into().abi(), &mut result__).from_abi(result__) } @@ -1002,7 +1002,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfreadwrite.dll""system" fn MFCreateSinkWriterFromURL ( pwszoutputurl : :: windows::core::PCWSTR , pbytestream : * mut::core::ffi::c_void , pattributes : * mut::core::ffi::c_void , ppsinkwriter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfreadwrite.dll""system" fn MFCreateSinkWriterFromURL ( pwszoutputurl : :: windows::core::PCWSTR , pbytestream : * mut::core::ffi::c_void , pattributes : * mut::core::ffi::c_void , ppsinkwriter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSinkWriterFromURL(pwszoutputurl.into().abi(), pbytestream.into().abi(), pattributes.into().abi(), &mut result__).from_abi(result__) } @@ -1013,7 +1013,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfreadwrite.dll""system" fn MFCreateSourceReaderFromByteStream ( pbytestream : * mut::core::ffi::c_void , pattributes : * mut::core::ffi::c_void , ppsourcereader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfreadwrite.dll""system" fn MFCreateSourceReaderFromByteStream ( pbytestream : * mut::core::ffi::c_void , pattributes : * mut::core::ffi::c_void , ppsourcereader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSourceReaderFromByteStream(pbytestream.into().abi(), pattributes.into().abi(), &mut result__).from_abi(result__) } @@ -1024,7 +1024,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfreadwrite.dll""system" fn MFCreateSourceReaderFromMediaSource ( pmediasource : * mut::core::ffi::c_void , pattributes : * mut::core::ffi::c_void , ppsourcereader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfreadwrite.dll""system" fn MFCreateSourceReaderFromMediaSource ( pmediasource : * mut::core::ffi::c_void , pattributes : * mut::core::ffi::c_void , ppsourcereader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSourceReaderFromMediaSource(pmediasource.into().abi(), pattributes.into().abi(), &mut result__).from_abi(result__) } @@ -1035,28 +1035,28 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfreadwrite.dll""system" fn MFCreateSourceReaderFromURL ( pwszurl : :: windows::core::PCWSTR , pattributes : * mut::core::ffi::c_void , ppsourcereader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfreadwrite.dll""system" fn MFCreateSourceReaderFromURL ( pwszurl : :: windows::core::PCWSTR , pattributes : * mut::core::ffi::c_void , ppsourcereader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSourceReaderFromURL(pwszurl.into().abi(), pattributes.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateSourceResolver() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateSourceResolver ( ppisourceresolver : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateSourceResolver ( ppisourceresolver : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSourceResolver(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateStandardQualityManager() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateStandardQualityManager ( ppqualitymanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateStandardQualityManager ( ppqualitymanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateStandardQualityManager(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateStreamDescriptor(dwstreamidentifier: u32, apmediatypes: &[::core::option::Option]) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateStreamDescriptor ( dwstreamidentifier : u32 , cmediatypes : u32 , apmediatypes : *const * mut::core::ffi::c_void , ppdescriptor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateStreamDescriptor ( dwstreamidentifier : u32 , cmediatypes : u32 , apmediatypes : *const * mut::core::ffi::c_void , ppdescriptor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateStreamDescriptor(dwstreamidentifier, apmediatypes.len() as _, ::core::mem::transmute(apmediatypes.as_ptr()), &mut result__).from_abi(result__) } @@ -1067,7 +1067,7 @@ pub unsafe fn MFCreateStreamOnMFByteStream(pbytestream: P0) -> ::windows::co where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateStreamOnMFByteStream ( pbytestream : * mut::core::ffi::c_void , ppstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateStreamOnMFByteStream ( pbytestream : * mut::core::ffi::c_void , ppstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateStreamOnMFByteStream(pbytestream.into().abi(), &mut result__).from_abi(result__) } @@ -1077,62 +1077,62 @@ pub unsafe fn MFCreateStreamOnMFByteStreamEx(pbytestream: P0, riid: *const : where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateStreamOnMFByteStreamEx ( pbytestream : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateStreamOnMFByteStreamEx ( pbytestream : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateStreamOnMFByteStreamEx(pbytestream.into().abi(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateSystemTimeSource() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateSystemTimeSource ( ppsystemtimesource : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateSystemTimeSource ( ppsystemtimesource : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateSystemTimeSource(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateTempFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE_OPENMODE, fflags: MF_FILE_FLAGS) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateTempFile ( accessmode : MF_FILE_ACCESSMODE , openmode : MF_FILE_OPENMODE , fflags : MF_FILE_FLAGS , ppibytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateTempFile ( accessmode : MF_FILE_ACCESSMODE , openmode : MF_FILE_OPENMODE , fflags : MF_FILE_FLAGS , ppibytestream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTempFile(accessmode, openmode, fflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateTopoLoader() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateTopoLoader ( ppobj : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateTopoLoader ( ppobj : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTopoLoader(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateTopology() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateTopology ( pptopo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateTopology ( pptopo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTopology(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateTopologyNode(nodetype: MF_TOPOLOGY_TYPE) -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateTopologyNode ( nodetype : MF_TOPOLOGY_TYPE , ppnode : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateTopologyNode ( nodetype : MF_TOPOLOGY_TYPE , ppnode : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTopologyNode(nodetype, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateTrackedSample() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateTrackedSample ( ppmfsample : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateTrackedSample ( ppmfsample : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTrackedSample(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateTranscodeProfile() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateTranscodeProfile ( pptranscodeprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateTranscodeProfile ( pptranscodeprofile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTranscodeProfile(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateTranscodeSinkActivate() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateTranscodeSinkActivate ( ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateTranscodeSinkActivate ( ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTranscodeSinkActivate(&mut result__).from_abi(result__) } @@ -1144,7 +1144,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateTranscodeTopology ( psrc : * mut::core::ffi::c_void , pwszoutputfilepath : :: windows::core::PCWSTR , pprofile : * mut::core::ffi::c_void , pptranscodetopo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateTranscodeTopology ( psrc : * mut::core::ffi::c_void , pwszoutputfilepath : :: windows::core::PCWSTR , pprofile : * mut::core::ffi::c_void , pptranscodetopo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTranscodeTopology(psrc.into().abi(), pwszoutputfilepath.into().abi(), pprofile.into().abi(), &mut result__).from_abi(result__) } @@ -1156,14 +1156,14 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateTranscodeTopologyFromByteStream ( psrc : * mut::core::ffi::c_void , poutputstream : * mut::core::ffi::c_void , pprofile : * mut::core::ffi::c_void , pptranscodetopo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateTranscodeTopologyFromByteStream ( psrc : * mut::core::ffi::c_void , poutputstream : * mut::core::ffi::c_void , pprofile : * mut::core::ffi::c_void , pptranscodetopo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTranscodeTopologyFromByteStream(psrc.into().abi(), poutputstream.into().abi(), pprofile.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateTransformActivate() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateTransformActivate ( ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateTransformActivate ( ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateTransformActivate(&mut result__).from_abi(result__) } @@ -1171,7 +1171,7 @@ pub unsafe fn MFCreateTransformActivate() -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateVideoMediaType ( pvideoformat : *const MFVIDEOFORMAT , ppivideomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateVideoMediaType ( pvideoformat : *const MFVIDEOFORMAT , ppivideomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateVideoMediaType(pvideoformat, &mut result__).from_abi(result__) } @@ -1179,7 +1179,7 @@ pub unsafe fn MFCreateVideoMediaType(pvideoformat: *const MFVIDEOFORMAT) -> ::wi #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn MFCreateVideoMediaTypeFromBitMapInfoHeader(pbmihbitmapinfoheader: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, dwpixelaspectratiox: u32, dwpixelaspectratioy: u32, interlacemode: MFVideoInterlaceMode, videoflags: u64, qwframespersecondnumerator: u64, qwframesperseconddenominator: u64, dwmaxbitrate: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateVideoMediaTypeFromBitMapInfoHeader ( pbmihbitmapinfoheader : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , dwpixelaspectratiox : u32 , dwpixelaspectratioy : u32 , interlacemode : MFVideoInterlaceMode , videoflags : u64 , qwframespersecondnumerator : u64 , qwframesperseconddenominator : u64 , dwmaxbitrate : u32 , ppivideomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateVideoMediaTypeFromBitMapInfoHeader ( pbmihbitmapinfoheader : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , dwpixelaspectratiox : u32 , dwpixelaspectratioy : u32 , interlacemode : MFVideoInterlaceMode , videoflags : u64 , qwframespersecondnumerator : u64 , qwframesperseconddenominator : u64 , dwmaxbitrate : u32 , ppivideomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateVideoMediaTypeFromBitMapInfoHeader(pbmihbitmapinfoheader, dwpixelaspectratiox, dwpixelaspectratioy, interlacemode, videoflags, qwframespersecondnumerator, qwframesperseconddenominator, dwmaxbitrate, &mut result__).from_abi(result__) } @@ -1187,14 +1187,14 @@ pub unsafe fn MFCreateVideoMediaTypeFromBitMapInfoHeader(pbmihbitmapinfoheader: #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(pbmihbitmapinfoheader: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, cbbitmapinfoheader: u32, dwpixelaspectratiox: u32, dwpixelaspectratioy: u32, interlacemode: MFVideoInterlaceMode, videoflags: u64, dwframespersecondnumerator: u32, dwframesperseconddenominator: u32, dwmaxbitrate: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateVideoMediaTypeFromBitMapInfoHeaderEx ( pbmihbitmapinfoheader : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , cbbitmapinfoheader : u32 , dwpixelaspectratiox : u32 , dwpixelaspectratioy : u32 , interlacemode : MFVideoInterlaceMode , videoflags : u64 , dwframespersecondnumerator : u32 , dwframesperseconddenominator : u32 , dwmaxbitrate : u32 , ppivideomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateVideoMediaTypeFromBitMapInfoHeaderEx ( pbmihbitmapinfoheader : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , cbbitmapinfoheader : u32 , dwpixelaspectratiox : u32 , dwpixelaspectratioy : u32 , interlacemode : MFVideoInterlaceMode , videoflags : u64 , dwframespersecondnumerator : u32 , dwframesperseconddenominator : u32 , dwmaxbitrate : u32 , ppivideomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(pbmihbitmapinfoheader, cbbitmapinfoheader, dwpixelaspectratiox, dwpixelaspectratioy, interlacemode, videoflags, dwframespersecondnumerator, dwframesperseconddenominator, dwmaxbitrate, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateVideoMediaTypeFromSubtype(pamsubtype: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateVideoMediaTypeFromSubtype ( pamsubtype : *const :: windows::core::GUID , ppivideomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateVideoMediaTypeFromSubtype ( pamsubtype : *const :: windows::core::GUID , ppivideomediatype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateVideoMediaTypeFromSubtype(pamsubtype, &mut result__).from_abi(result__) } @@ -1204,7 +1204,7 @@ pub unsafe fn MFCreateVideoMixer(powner: P0, riiddevice: *const ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "evr.dll""system" fn MFCreateVideoMixer ( powner : * mut::core::ffi::c_void , riiddevice : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "evr.dll""system" fn MFCreateVideoMixer ( powner : * mut::core::ffi::c_void , riiddevice : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateVideoMixer(powner.into().abi(), riiddevice, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1214,7 +1214,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "evr.dll""system" fn MFCreateVideoMixerAndPresenter ( pmixerowner : * mut::core::ffi::c_void , ppresenterowner : * mut::core::ffi::c_void , riidmixer : *const :: windows::core::GUID , ppvvideomixer : *mut *mut ::core::ffi::c_void , riidpresenter : *const :: windows::core::GUID , ppvvideopresenter : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "evr.dll""system" fn MFCreateVideoMixerAndPresenter ( pmixerowner : * mut::core::ffi::c_void , ppresenterowner : * mut::core::ffi::c_void , riidmixer : *const :: windows::core::GUID , ppvvideomixer : *mut *mut ::core::ffi::c_void , riidpresenter : *const :: windows::core::GUID , ppvvideopresenter : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateVideoMixerAndPresenter(pmixerowner.into().abi(), ppresenterowner.into().abi(), riidmixer, ppvvideomixer, riidpresenter, ppvvideopresenter).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1223,13 +1223,13 @@ pub unsafe fn MFCreateVideoPresenter(powner: P0, riiddevice: *const ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "evr.dll""system" fn MFCreateVideoPresenter ( powner : * mut::core::ffi::c_void , riiddevice : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , ppvideopresenter : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "evr.dll""system" fn MFCreateVideoPresenter ( powner : * mut::core::ffi::c_void , riiddevice : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , ppvideopresenter : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateVideoPresenter(powner.into().abi(), riiddevice, riid, ppvideopresenter).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateVideoRenderer(riidrenderer: *const ::windows::core::GUID, ppvideorenderer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateVideoRenderer ( riidrenderer : *const :: windows::core::GUID , ppvideorenderer : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateVideoRenderer ( riidrenderer : *const :: windows::core::GUID , ppvideorenderer : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateVideoRenderer(riidrenderer, ppvideorenderer).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -1239,20 +1239,20 @@ pub unsafe fn MFCreateVideoRendererActivate(hwndvideo: P0) -> ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateVideoRendererActivate ( hwndvideo : super::super::Foundation:: HWND , ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateVideoRendererActivate ( hwndvideo : super::super::Foundation:: HWND , ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateVideoRendererActivate(hwndvideo.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateVideoSampleAllocator(riid: *const ::windows::core::GUID, ppsampleallocator: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "evr.dll""system" fn MFCreateVideoSampleAllocator ( riid : *const :: windows::core::GUID , ppsampleallocator : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "evr.dll""system" fn MFCreateVideoSampleAllocator ( riid : *const :: windows::core::GUID , ppsampleallocator : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateVideoSampleAllocator(riid, ppsampleallocator).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFCreateVideoSampleAllocatorEx(riid: *const ::windows::core::GUID, ppsampleallocator: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateVideoSampleAllocatorEx ( riid : *const :: windows::core::GUID , ppsampleallocator : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateVideoSampleAllocatorEx ( riid : *const :: windows::core::GUID , ppsampleallocator : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFCreateVideoSampleAllocatorEx(riid, ppsampleallocator).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1261,7 +1261,7 @@ pub unsafe fn MFCreateVideoSampleFromSurface(punksurface: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "evr.dll""system" fn MFCreateVideoSampleFromSurface ( punksurface : * mut::core::ffi::c_void , ppsample : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "evr.dll""system" fn MFCreateVideoSampleFromSurface ( punksurface : * mut::core::ffi::c_void , ppsample : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateVideoSampleFromSurface(punksurface.into().abi(), &mut result__).from_abi(result__) } @@ -1272,7 +1272,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFCreateVirtualCamera ( r#type : MFVirtualCameraType , lifetime : MFVirtualCameraLifetime , access : MFVirtualCameraAccess , friendlyname : :: windows::core::PCWSTR , sourceid : :: windows::core::PCWSTR , categories : *const :: windows::core::GUID , categorycount : u32 , virtualcamera : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFCreateVirtualCamera ( r#type : MFVirtualCameraType , lifetime : MFVirtualCameraLifetime , access : MFVirtualCameraAccess , friendlyname : :: windows::core::PCWSTR , sourceid : :: windows::core::PCWSTR , categories : *const :: windows::core::GUID , categorycount : u32 , virtualcamera : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateVirtualCamera(r#type, lifetime, access, friendlyname.into().abi(), sourceid.into().abi(), ::core::mem::transmute(categories.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), categories.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -1283,7 +1283,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfsrcsnk.dll""system" fn MFCreateWAVEMediaSink ( ptargetbytestream : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppmediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsrcsnk.dll""system" fn MFCreateWAVEMediaSink ( ptargetbytestream : * mut::core::ffi::c_void , paudiomediatype : * mut::core::ffi::c_void , ppmediasink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateWAVEMediaSink(ptargetbytestream.into().abi(), paudiomediatype.into().abi(), &mut result__).from_abi(result__) } @@ -1293,7 +1293,7 @@ pub unsafe fn MFCreateWICBitmapBuffer(riid: *const ::windows::core::GUID, pu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateWICBitmapBuffer ( riid : *const :: windows::core::GUID , punksurface : * mut::core::ffi::c_void , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateWICBitmapBuffer ( riid : *const :: windows::core::GUID , punksurface : * mut::core::ffi::c_void , ppbuffer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateWICBitmapBuffer(riid, punksurface.into().abi(), &mut result__).from_abi(result__) } @@ -1305,7 +1305,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateWMAEncoderActivate ( pmediatype : * mut::core::ffi::c_void , pencodingconfigurationproperties : * mut::core::ffi::c_void , ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateWMAEncoderActivate ( pmediatype : * mut::core::ffi::c_void , pencodingconfigurationproperties : * mut::core::ffi::c_void , ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateWMAEncoderActivate(pmediatype.into().abi(), pencodingconfigurationproperties.into().abi(), &mut result__).from_abi(result__) } @@ -1317,7 +1317,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFCreateWMVEncoderActivate ( pmediatype : * mut::core::ffi::c_void , pencodingconfigurationproperties : * mut::core::ffi::c_void , ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFCreateWMVEncoderActivate ( pmediatype : * mut::core::ffi::c_void , pencodingconfigurationproperties : * mut::core::ffi::c_void , ppactivate : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFCreateWMVEncoderActivate(pmediatype.into().abi(), pencodingconfigurationproperties.into().abi(), &mut result__).from_abi(result__) } @@ -1328,7 +1328,7 @@ pub unsafe fn MFCreateWaveFormatExFromMFMediaType(pmftype: P0, ppwf: *mut *m where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFCreateWaveFormatExFromMFMediaType ( pmftype : * mut::core::ffi::c_void , ppwf : *mut *mut super::Audio:: WAVEFORMATEX , pcbsize : *mut u32 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFCreateWaveFormatExFromMFMediaType ( pmftype : * mut::core::ffi::c_void , ppwf : *mut *mut super::Audio:: WAVEFORMATEX , pcbsize : *mut u32 , flags : u32 ) -> :: windows::core::HRESULT ); MFCreateWaveFormatExFromMFMediaType(pmftype.into().abi(), ppwf, ::core::mem::transmute(pcbsize.unwrap_or(::std::ptr::null_mut())), flags).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] @@ -1339,13 +1339,13 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFDeserializeAttributesFromStream ( pattr : * mut::core::ffi::c_void , dwoptions : u32 , pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFDeserializeAttributesFromStream ( pattr : * mut::core::ffi::c_void , dwoptions : u32 , pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFDeserializeAttributesFromStream(pattr.into().abi(), dwoptions, pstm.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFDeserializePresentationDescriptor(pbdata: &[u8]) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFDeserializePresentationDescriptor ( cbdata : u32 , pbdata : *const u8 , pppd : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFDeserializePresentationDescriptor ( cbdata : u32 , pbdata : *const u8 , pppd : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFDeserializePresentationDescriptor(pbdata.len() as _, ::core::mem::transmute(pbdata.as_ptr()), &mut result__).from_abi(result__) } @@ -1355,7 +1355,7 @@ pub unsafe fn MFEndCreateFile(presult: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFEndCreateFile ( presult : * mut::core::ffi::c_void , ppfile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFEndCreateFile ( presult : * mut::core::ffi::c_void , ppfile : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFEndCreateFile(presult.into().abi(), &mut result__).from_abi(result__) } @@ -1365,7 +1365,7 @@ pub unsafe fn MFEndRegisterWorkQueueWithMMCSS(presult: P0) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFEndRegisterWorkQueueWithMMCSS ( presult : * mut::core::ffi::c_void , pdwtaskid : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFEndRegisterWorkQueueWithMMCSS ( presult : * mut::core::ffi::c_void , pdwtaskid : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFEndRegisterWorkQueueWithMMCSS(presult.into().abi(), &mut result__).from_abi(result__) } @@ -1375,7 +1375,7 @@ pub unsafe fn MFEndUnregisterWorkQueueWithMMCSS(presult: P0) -> ::windows::c where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFEndUnregisterWorkQueueWithMMCSS ( presult : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFEndUnregisterWorkQueueWithMMCSS ( presult : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFEndUnregisterWorkQueueWithMMCSS(presult.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1384,13 +1384,13 @@ pub unsafe fn MFEnumDeviceSources(pattributes: P0, pppsourceactivate: *mut * where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFEnumDeviceSources ( pattributes : * mut::core::ffi::c_void , pppsourceactivate : *mut *mut ::core::option::Option < IMFActivate > , pcsourceactivate : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFEnumDeviceSources ( pattributes : * mut::core::ffi::c_void , pppsourceactivate : *mut *mut ::core::option::Option < IMFActivate > , pcsourceactivate : *mut u32 ) -> :: windows::core::HRESULT ); MFEnumDeviceSources(pattributes.into().abi(), pppsourceactivate, pcsourceactivate).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFFrameRateToAverageTimePerFrame(unnumerator: u32, undenominator: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFFrameRateToAverageTimePerFrame ( unnumerator : u32 , undenominator : u32 , punaveragetimeperframe : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFFrameRateToAverageTimePerFrame ( unnumerator : u32 , undenominator : u32 , punaveragetimeperframe : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFFrameRateToAverageTimePerFrame(unnumerator, undenominator, &mut result__).from_abi(result__) } @@ -1400,7 +1400,7 @@ pub unsafe fn MFGetAttributesAsBlob(pattributes: P0, pbuf: &mut [u8]) -> ::w where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetAttributesAsBlob ( pattributes : * mut::core::ffi::c_void , pbuf : *mut u8 , cbbufsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetAttributesAsBlob ( pattributes : * mut::core::ffi::c_void , pbuf : *mut u8 , cbbufsize : u32 ) -> :: windows::core::HRESULT ); MFGetAttributesAsBlob(pattributes.into().abi(), ::core::mem::transmute(pbuf.as_ptr()), pbuf.len() as _).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1409,21 +1409,21 @@ pub unsafe fn MFGetAttributesAsBlobSize(pattributes: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetAttributesAsBlobSize ( pattributes : * mut::core::ffi::c_void , pcbbufsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetAttributesAsBlobSize ( pattributes : * mut::core::ffi::c_void , pcbbufsize : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetAttributesAsBlobSize(pattributes.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetContentProtectionSystemCLSID(guidprotectionsystemid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetContentProtectionSystemCLSID ( guidprotectionsystemid : *const :: windows::core::GUID , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetContentProtectionSystemCLSID ( guidprotectionsystemid : *const :: windows::core::GUID , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); MFGetContentProtectionSystemCLSID(guidprotectionsystemid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetLocalId(verifier: &[u8]) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "mf.dll""system" fn MFGetLocalId ( verifier : *const u8 , size : u32 , id : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFGetLocalId ( verifier : *const u8 , size : u32 , id : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); MFGetLocalId(::core::mem::transmute(verifier.as_ptr()), verifier.len() as _, &mut result__).from_abi(result__) } @@ -1433,21 +1433,21 @@ pub unsafe fn MFGetMFTMerit(pmft: P0, verifier: &[u8]) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetMFTMerit ( pmft : * mut::core::ffi::c_void , cbverifier : u32 , verifier : *const u8 , merit : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetMFTMerit ( pmft : * mut::core::ffi::c_void , cbverifier : u32 , verifier : *const u8 , merit : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetMFTMerit(pmft.into().abi(), verifier.len() as _, ::core::mem::transmute(verifier.as_ptr()), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetPlaneSize(format: u32, dwwidth: u32, dwheight: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "evr.dll""system" fn MFGetPlaneSize ( format : u32 , dwwidth : u32 , dwheight : u32 , pdwplanesize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "evr.dll""system" fn MFGetPlaneSize ( format : u32 , dwwidth : u32 , dwheight : u32 , pdwplanesize : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetPlaneSize(format, dwwidth, dwheight, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetPluginControl() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetPluginControl ( ppplugincontrol : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetPluginControl ( ppplugincontrol : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetPluginControl(&mut result__).from_abi(result__) } @@ -1457,13 +1457,13 @@ pub unsafe fn MFGetService(punkobject: P0, guidservice: *const ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mf.dll""system" fn MFGetService ( punkobject : * mut::core::ffi::c_void , guidservice : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFGetService ( punkobject : * mut::core::ffi::c_void , guidservice : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFGetService(punkobject.into().abi(), guidservice, riid, ppvobject).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetStrideForBitmapInfoHeader(format: u32, dwwidth: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetStrideForBitmapInfoHeader ( format : u32 , dwwidth : u32 , pstride : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetStrideForBitmapInfoHeader ( format : u32 , dwwidth : u32 , pstride : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetStrideForBitmapInfoHeader(format, dwwidth, &mut result__).from_abi(result__) } @@ -1471,7 +1471,7 @@ pub unsafe fn MFGetStrideForBitmapInfoHeader(format: u32, dwwidth: u32) -> ::win #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn MFGetSupportedMimeTypes() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetSupportedMimeTypes ( ppropvarmimetypearray : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetSupportedMimeTypes ( ppropvarmimetypearray : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetSupportedMimeTypes(&mut result__).from_abi(result__) } @@ -1479,27 +1479,27 @@ pub unsafe fn MFGetSupportedMimeTypes() -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetSupportedSchemes ( ppropvarschemearray : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetSupportedSchemes ( ppropvarschemearray : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetSupportedSchemes(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetSystemId() -> ::windows::core::Result { - ::windows::core::link ! ( "mf.dll""system" fn MFGetSystemId ( ppid : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFGetSystemId ( ppid : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetSystemId(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetSystemTime() -> i64 { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetSystemTime ( ) -> i64 ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetSystemTime ( ) -> i64 ); MFGetSystemTime() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetTimerPeriodicity() -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetTimerPeriodicity ( periodicity : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetTimerPeriodicity ( periodicity : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetTimerPeriodicity(&mut result__).from_abi(result__) } @@ -1511,7 +1511,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mf.dll""system" fn MFGetTopoNodeCurrentType ( pnode : * mut::core::ffi::c_void , dwstreamindex : u32 , foutput : super::super::Foundation:: BOOL , pptype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFGetTopoNodeCurrentType ( pnode : * mut::core::ffi::c_void , dwstreamindex : u32 , foutput : super::super::Foundation:: BOOL , pptype : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetTopoNodeCurrentType(pnode.into().abi(), dwstreamindex, foutput.into(), &mut result__).from_abi(result__) } @@ -1519,26 +1519,26 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MFGetUncompressedVideoFormat(pvideoformat: *const MFVIDEOFORMAT) -> u32 { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetUncompressedVideoFormat ( pvideoformat : *const MFVIDEOFORMAT ) -> u32 ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetUncompressedVideoFormat ( pvideoformat : *const MFVIDEOFORMAT ) -> u32 ); MFGetUncompressedVideoFormat(pvideoformat) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetWorkQueueMMCSSClass(dwworkqueueid: u32, pwszclass: ::windows::core::PWSTR, pcchclass: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetWorkQueueMMCSSClass ( dwworkqueueid : u32 , pwszclass : :: windows::core::PWSTR , pcchclass : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetWorkQueueMMCSSClass ( dwworkqueueid : u32 , pwszclass : :: windows::core::PWSTR , pcchclass : *mut u32 ) -> :: windows::core::HRESULT ); MFGetWorkQueueMMCSSClass(dwworkqueueid, ::core::mem::transmute(pwszclass), pcchclass).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetWorkQueueMMCSSPriority(dwworkqueueid: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetWorkQueueMMCSSPriority ( dwworkqueueid : u32 , lpriority : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetWorkQueueMMCSSPriority ( dwworkqueueid : u32 , lpriority : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetWorkQueueMMCSSPriority(dwworkqueueid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFGetWorkQueueMMCSSTaskId(dwworkqueueid: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFGetWorkQueueMMCSSTaskId ( dwworkqueueid : u32 , pdwtaskid : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFGetWorkQueueMMCSSTaskId ( dwworkqueueid : u32 , pdwtaskid : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFGetWorkQueueMMCSSTaskId(dwworkqueueid, &mut result__).from_abi(result__) } @@ -1548,13 +1548,13 @@ pub unsafe fn MFHeapAlloc(nsize: usize, dwflags: u32, pszfile: P0, line: i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFHeapAlloc ( nsize : usize , dwflags : u32 , pszfile : :: windows::core::PCSTR , line : i32 , eat : EAllocationType ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFHeapAlloc ( nsize : usize , dwflags : u32 , pszfile : :: windows::core::PCSTR , line : i32 , eat : EAllocationType ) -> *mut ::core::ffi::c_void ); MFHeapAlloc(nsize, dwflags, pszfile.into().abi(), line, eat) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFHeapFree(pv: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "mfplat.dll""system" fn MFHeapFree ( pv : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFHeapFree ( pv : *mut ::core::ffi::c_void ) -> ( ) ); MFHeapFree(pv) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -1564,7 +1564,7 @@ pub unsafe fn MFInitAMMediaTypeFromMFMediaType(pmftype: P0, guidformatblockt where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitAMMediaTypeFromMFMediaType ( pmftype : * mut::core::ffi::c_void , guidformatblocktype : :: windows::core::GUID , pamtype : *mut AM_MEDIA_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitAMMediaTypeFromMFMediaType ( pmftype : * mut::core::ffi::c_void , guidformatblocktype : :: windows::core::GUID , pamtype : *mut AM_MEDIA_TYPE ) -> :: windows::core::HRESULT ); MFInitAMMediaTypeFromMFMediaType(pmftype.into().abi(), ::core::mem::transmute(guidformatblocktype), pamtype).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1573,7 +1573,7 @@ pub unsafe fn MFInitAttributesFromBlob(pattributes: P0, pbuf: &[u8]) -> ::wi where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitAttributesFromBlob ( pattributes : * mut::core::ffi::c_void , pbuf : *const u8 , cbbufsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitAttributesFromBlob ( pattributes : * mut::core::ffi::c_void , pbuf : *const u8 , cbbufsize : u32 ) -> :: windows::core::HRESULT ); MFInitAttributesFromBlob(pattributes.into().abi(), ::core::mem::transmute(pbuf.as_ptr()), pbuf.len() as _).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -1583,7 +1583,7 @@ pub unsafe fn MFInitMediaTypeFromAMMediaType(pmftype: P0, pamtype: *const AM where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromAMMediaType ( pmftype : * mut::core::ffi::c_void , pamtype : *const AM_MEDIA_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromAMMediaType ( pmftype : * mut::core::ffi::c_void , pamtype : *const AM_MEDIA_TYPE ) -> :: windows::core::HRESULT ); MFInitMediaTypeFromAMMediaType(pmftype.into().abi(), pamtype).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -1593,7 +1593,7 @@ pub unsafe fn MFInitMediaTypeFromMFVideoFormat(pmftype: P0, pmfvf: *const MF where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromMFVideoFormat ( pmftype : * mut::core::ffi::c_void , pmfvf : *const MFVIDEOFORMAT , cbbufsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromMFVideoFormat ( pmftype : * mut::core::ffi::c_void , pmfvf : *const MFVIDEOFORMAT , cbbufsize : u32 ) -> :: windows::core::HRESULT ); MFInitMediaTypeFromMFVideoFormat(pmftype.into().abi(), pmfvf, cbbufsize).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1603,7 +1603,7 @@ pub unsafe fn MFInitMediaTypeFromMPEG1VideoInfo(pmftype: P0, pmp1vi: *const where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromMPEG1VideoInfo ( pmftype : * mut::core::ffi::c_void , pmp1vi : *const MPEG1VIDEOINFO , cbbufsize : u32 , psubtype : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromMPEG1VideoInfo ( pmftype : * mut::core::ffi::c_void , pmp1vi : *const MPEG1VIDEOINFO , cbbufsize : u32 , psubtype : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); MFInitMediaTypeFromMPEG1VideoInfo(pmftype.into().abi(), pmp1vi, cbbufsize, ::core::mem::transmute(psubtype.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1613,7 +1613,7 @@ pub unsafe fn MFInitMediaTypeFromMPEG2VideoInfo(pmftype: P0, pmp2vi: *const where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromMPEG2VideoInfo ( pmftype : * mut::core::ffi::c_void , pmp2vi : *const MPEG2VIDEOINFO , cbbufsize : u32 , psubtype : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromMPEG2VideoInfo ( pmftype : * mut::core::ffi::c_void , pmp2vi : *const MPEG2VIDEOINFO , cbbufsize : u32 , psubtype : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); MFInitMediaTypeFromMPEG2VideoInfo(pmftype.into().abi(), pmp2vi, cbbufsize, ::core::mem::transmute(psubtype.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1623,7 +1623,7 @@ pub unsafe fn MFInitMediaTypeFromVideoInfoHeader(pmftype: P0, pvih: *const V where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromVideoInfoHeader ( pmftype : * mut::core::ffi::c_void , pvih : *const VIDEOINFOHEADER , cbbufsize : u32 , psubtype : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromVideoInfoHeader ( pmftype : * mut::core::ffi::c_void , pvih : *const VIDEOINFOHEADER , cbbufsize : u32 , psubtype : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); MFInitMediaTypeFromVideoInfoHeader(pmftype.into().abi(), pvih, cbbufsize, ::core::mem::transmute(psubtype.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1633,7 +1633,7 @@ pub unsafe fn MFInitMediaTypeFromVideoInfoHeader2(pmftype: P0, pvih2: *const where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromVideoInfoHeader2 ( pmftype : * mut::core::ffi::c_void , pvih2 : *const VIDEOINFOHEADER2 , cbbufsize : u32 , psubtype : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromVideoInfoHeader2 ( pmftype : * mut::core::ffi::c_void , pvih2 : *const VIDEOINFOHEADER2 , cbbufsize : u32 , psubtype : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); MFInitMediaTypeFromVideoInfoHeader2(pmftype.into().abi(), pvih2, cbbufsize, ::core::mem::transmute(psubtype.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_Audio\"`*"] @@ -1643,21 +1643,21 @@ pub unsafe fn MFInitMediaTypeFromWaveFormatEx(pmftype: P0, pwaveformat: *con where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromWaveFormatEx ( pmftype : * mut::core::ffi::c_void , pwaveformat : *const super::Audio:: WAVEFORMATEX , cbbufsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitMediaTypeFromWaveFormatEx ( pmftype : * mut::core::ffi::c_void , pwaveformat : *const super::Audio:: WAVEFORMATEX , cbbufsize : u32 ) -> :: windows::core::HRESULT ); MFInitMediaTypeFromWaveFormatEx(pmftype.into().abi(), pwaveformat, cbbufsize).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MFInitVideoFormat(pvideoformat: *const MFVIDEOFORMAT, r#type: MFStandardVideoFormat) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitVideoFormat ( pvideoformat : *const MFVIDEOFORMAT , r#type : MFStandardVideoFormat ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitVideoFormat ( pvideoformat : *const MFVIDEOFORMAT , r#type : MFStandardVideoFormat ) -> :: windows::core::HRESULT ); MFInitVideoFormat(pvideoformat, r#type).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MFInitVideoFormat_RGB(pvideoformat: *const MFVIDEOFORMAT, dwwidth: u32, dwheight: u32, d3dfmt: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInitVideoFormat_RGB ( pvideoformat : *const MFVIDEOFORMAT , dwwidth : u32 , dwheight : u32 , d3dfmt : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInitVideoFormat_RGB ( pvideoformat : *const MFVIDEOFORMAT , dwwidth : u32 , dwheight : u32 , d3dfmt : u32 ) -> :: windows::core::HRESULT ); MFInitVideoFormat_RGB(pvideoformat, dwwidth, dwheight, d3dfmt).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1666,14 +1666,14 @@ pub unsafe fn MFInvokeCallback(pasyncresult: P0) -> ::windows::core::Result< where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFInvokeCallback ( pasyncresult : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFInvokeCallback ( pasyncresult : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFInvokeCallback(pasyncresult.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MFIsContentProtectionDeviceSupported(protectionsystemid: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "mfplat.dll""system" fn MFIsContentProtectionDeviceSupported ( protectionsystemid : *const :: windows::core::GUID , issupported : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFIsContentProtectionDeviceSupported ( protectionsystemid : *const :: windows::core::GUID , issupported : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFIsContentProtectionDeviceSupported(protectionsystemid, &mut result__).from_abi(result__) } @@ -1681,14 +1681,14 @@ pub unsafe fn MFIsContentProtectionDeviceSupported(protectionsystemid: *const :: #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MFIsFormatYUV(format: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "evr.dll""system" fn MFIsFormatYUV ( format : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "evr.dll""system" fn MFIsFormatYUV ( format : u32 ) -> super::super::Foundation:: BOOL ); MFIsFormatYUV(format) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MFIsVirtualCameraTypeSupported(r#type: MFVirtualCameraType) -> ::windows::core::Result { - ::windows::core::link ! ( "mfsensorgroup.dll""system" fn MFIsVirtualCameraTypeSupported ( r#type : MFVirtualCameraType , supported : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfsensorgroup.dll""system" fn MFIsVirtualCameraTypeSupported ( r#type : MFVirtualCameraType , supported : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFIsVirtualCameraTypeSupported(r#type, &mut result__).from_abi(result__) } @@ -1698,20 +1698,20 @@ pub unsafe fn MFLoadSignedLibrary(pszname: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "mf.dll""system" fn MFLoadSignedLibrary ( pszname : :: windows::core::PCWSTR , pplib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFLoadSignedLibrary ( pszname : :: windows::core::PCWSTR , pplib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFLoadSignedLibrary(pszname.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFLockDXGIDeviceManager(presettoken: ::core::option::Option<*mut u32>, ppmanager: *mut ::core::option::Option) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFLockDXGIDeviceManager ( presettoken : *mut u32 , ppmanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFLockDXGIDeviceManager ( presettoken : *mut u32 , ppmanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFLockDXGIDeviceManager(::core::mem::transmute(presettoken.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppmanager)).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFLockPlatform() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFLockPlatform ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFLockPlatform ( ) -> :: windows::core::HRESULT ); MFLockPlatform().ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1720,27 +1720,27 @@ pub unsafe fn MFLockSharedWorkQueue(wszclass: P0, basepriority: i32, pdwtask where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFLockSharedWorkQueue ( wszclass : :: windows::core::PCWSTR , basepriority : i32 , pdwtaskid : *mut u32 , pid : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFLockSharedWorkQueue ( wszclass : :: windows::core::PCWSTR , basepriority : i32 , pdwtaskid : *mut u32 , pid : *mut u32 ) -> :: windows::core::HRESULT ); MFLockSharedWorkQueue(wszclass.into().abi(), basepriority, pdwtaskid, pid).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFLockWorkQueue(dwworkqueue: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFLockWorkQueue ( dwworkqueue : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFLockWorkQueue ( dwworkqueue : u32 ) -> :: windows::core::HRESULT ); MFLockWorkQueue(dwworkqueue).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] #[inline] pub unsafe fn MFMapDX9FormatToDXGIFormat(dx9: u32) -> super::super::Graphics::Dxgi::Common::DXGI_FORMAT { - ::windows::core::link ! ( "mfplat.dll""system" fn MFMapDX9FormatToDXGIFormat ( dx9 : u32 ) -> super::super::Graphics::Dxgi::Common:: DXGI_FORMAT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFMapDX9FormatToDXGIFormat ( dx9 : u32 ) -> super::super::Graphics::Dxgi::Common:: DXGI_FORMAT ); MFMapDX9FormatToDXGIFormat(dx9) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] #[inline] pub unsafe fn MFMapDXGIFormatToDX9Format(dx11: super::super::Graphics::Dxgi::Common::DXGI_FORMAT) -> u32 { - ::windows::core::link ! ( "mfplat.dll""system" fn MFMapDXGIFormatToDX9Format ( dx11 : super::super::Graphics::Dxgi::Common:: DXGI_FORMAT ) -> u32 ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFMapDXGIFormatToDX9Format ( dx11 : super::super::Graphics::Dxgi::Common:: DXGI_FORMAT ) -> u32 ); MFMapDXGIFormatToDX9Format(dx11) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -1753,7 +1753,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "mfplay.dll""system" fn MFPCreateMediaPlayer ( pwszurl : :: windows::core::PCWSTR , fstartplayback : super::super::Foundation:: BOOL , creationoptions : MFP_CREATION_OPTIONS , pcallback : * mut::core::ffi::c_void , hwnd : super::super::Foundation:: HWND , ppmediaplayer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplay.dll""system" fn MFPCreateMediaPlayer ( pwszurl : :: windows::core::PCWSTR , fstartplayback : super::super::Foundation:: BOOL , creationoptions : MFP_CREATION_OPTIONS , pcallback : * mut::core::ffi::c_void , hwnd : super::super::Foundation:: HWND , ppmediaplayer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFPCreateMediaPlayer(pwszurl.into().abi(), fstartplayback.into(), creationoptions, pcallback.into().abi(), hwnd.into(), ::core::mem::transmute(ppmediaplayer.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] @@ -1764,7 +1764,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFPutWaitingWorkItem ( hevent : super::super::Foundation:: HANDLE , priority : i32 , presult : * mut::core::ffi::c_void , pkey : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFPutWaitingWorkItem ( hevent : super::super::Foundation:: HANDLE , priority : i32 , presult : * mut::core::ffi::c_void , pkey : *mut u64 ) -> :: windows::core::HRESULT ); MFPutWaitingWorkItem(hevent.into(), priority, presult.into().abi(), ::core::mem::transmute(pkey.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1774,7 +1774,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFPutWorkItem ( dwqueue : u32 , pcallback : * mut::core::ffi::c_void , pstate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFPutWorkItem ( dwqueue : u32 , pcallback : * mut::core::ffi::c_void , pstate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFPutWorkItem(dwqueue, pcallback.into().abi(), pstate.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1784,7 +1784,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFPutWorkItem2 ( dwqueue : u32 , priority : i32 , pcallback : * mut::core::ffi::c_void , pstate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFPutWorkItem2 ( dwqueue : u32 , priority : i32 , pcallback : * mut::core::ffi::c_void , pstate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFPutWorkItem2(dwqueue, priority, pcallback.into().abi(), pstate.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1793,7 +1793,7 @@ pub unsafe fn MFPutWorkItemEx(dwqueue: u32, presult: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFPutWorkItemEx ( dwqueue : u32 , presult : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFPutWorkItemEx ( dwqueue : u32 , presult : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFPutWorkItemEx(dwqueue, presult.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1802,7 +1802,7 @@ pub unsafe fn MFPutWorkItemEx2(dwqueue: u32, priority: i32, presult: P0) -> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFPutWorkItemEx2 ( dwqueue : u32 , priority : i32 , presult : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFPutWorkItemEx2 ( dwqueue : u32 , priority : i32 , presult : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFPutWorkItemEx2(dwqueue, priority, presult.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1813,7 +1813,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFRegisterLocalByteStreamHandler ( szfileextension : :: windows::core::PCWSTR , szmimetype : :: windows::core::PCWSTR , pactivate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFRegisterLocalByteStreamHandler ( szfileextension : :: windows::core::PCWSTR , szmimetype : :: windows::core::PCWSTR , pactivate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFRegisterLocalByteStreamHandler(szfileextension.into().abi(), szmimetype.into().abi(), pactivate.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1823,7 +1823,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFRegisterLocalSchemeHandler ( szscheme : :: windows::core::PCWSTR , pactivate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFRegisterLocalSchemeHandler ( szscheme : :: windows::core::PCWSTR , pactivate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFRegisterLocalSchemeHandler(szscheme.into().abi(), pactivate.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1832,13 +1832,13 @@ pub unsafe fn MFRegisterPlatformWithMMCSS(wszclass: P0, pdwtaskid: *mut u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFRegisterPlatformWithMMCSS ( wszclass : :: windows::core::PCWSTR , pdwtaskid : *mut u32 , lpriority : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFRegisterPlatformWithMMCSS ( wszclass : :: windows::core::PCWSTR , pdwtaskid : *mut u32 , lpriority : i32 ) -> :: windows::core::HRESULT ); MFRegisterPlatformWithMMCSS(wszclass.into().abi(), pdwtaskid, lpriority).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFRemovePeriodicCallback(dwkey: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFRemovePeriodicCallback ( dwkey : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFRemovePeriodicCallback ( dwkey : u32 ) -> :: windows::core::HRESULT ); MFRemovePeriodicCallback(dwkey).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1847,7 +1847,7 @@ pub unsafe fn MFRequireProtectedEnvironment(ppresentationdescriptor: P0) -> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFRequireProtectedEnvironment ( ppresentationdescriptor : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFRequireProtectedEnvironment ( ppresentationdescriptor : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFRequireProtectedEnvironment(ppresentationdescriptor.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1857,7 +1857,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFScheduleWorkItem ( pcallback : * mut::core::ffi::c_void , pstate : * mut::core::ffi::c_void , timeout : i64 , pkey : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFScheduleWorkItem ( pcallback : * mut::core::ffi::c_void , pstate : * mut::core::ffi::c_void , timeout : i64 , pkey : *mut u64 ) -> :: windows::core::HRESULT ); MFScheduleWorkItem(pcallback.into().abi(), pstate.into().abi(), timeout, ::core::mem::transmute(pkey.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1866,7 +1866,7 @@ pub unsafe fn MFScheduleWorkItemEx(presult: P0, timeout: i64, pkey: ::core:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFScheduleWorkItemEx ( presult : * mut::core::ffi::c_void , timeout : i64 , pkey : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFScheduleWorkItemEx ( presult : * mut::core::ffi::c_void , timeout : i64 , pkey : *mut u64 ) -> :: windows::core::HRESULT ); MFScheduleWorkItemEx(presult.into().abi(), timeout, ::core::mem::transmute(pkey.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] @@ -1877,7 +1877,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFSerializeAttributesToStream ( pattr : * mut::core::ffi::c_void , dwoptions : u32 , pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFSerializeAttributesToStream ( pattr : * mut::core::ffi::c_void , dwoptions : u32 , pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFSerializeAttributesToStream(pattr.into().abi(), dwoptions, pstm.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1886,13 +1886,13 @@ pub unsafe fn MFSerializePresentationDescriptor(ppd: P0, pcbdata: *mut u32, where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFSerializePresentationDescriptor ( ppd : * mut::core::ffi::c_void , pcbdata : *mut u32 , ppbdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFSerializePresentationDescriptor ( ppd : * mut::core::ffi::c_void , pcbdata : *mut u32 , ppbdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); MFSerializePresentationDescriptor(ppd.into().abi(), pcbdata, ppbdata).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFShutdown() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFShutdown ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFShutdown ( ) -> :: windows::core::HRESULT ); MFShutdown().ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1901,7 +1901,7 @@ pub unsafe fn MFShutdownObject(punk: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mf.dll""system" fn MFShutdownObject ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFShutdownObject ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFShutdownObject(punk.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1910,13 +1910,13 @@ pub unsafe fn MFSplitSample(psample: P0, poutputsamples: &mut [::core::optio where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFSplitSample ( psample : * mut::core::ffi::c_void , poutputsamples : *mut * mut::core::ffi::c_void , dwoutputsamplemaxcount : u32 , pdwoutputsamplecount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFSplitSample ( psample : * mut::core::ffi::c_void , poutputsamples : *mut * mut::core::ffi::c_void , dwoutputsamplemaxcount : u32 , pdwoutputsamplecount : *mut u32 ) -> :: windows::core::HRESULT ); MFSplitSample(psample.into().abi(), ::core::mem::transmute(poutputsamples.as_ptr()), poutputsamples.len() as _, pdwoutputsamplecount).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFStartup(version: u32, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFStartup ( version : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFStartup ( version : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); MFStartup(version, dwflags).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1925,7 +1925,7 @@ pub unsafe fn MFTEnum(guidcategory: ::windows::core::GUID, flags: u32, pinpu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTEnum ( guidcategory : :: windows::core::GUID , flags : u32 , pinputtype : *const MFT_REGISTER_TYPE_INFO , poutputtype : *const MFT_REGISTER_TYPE_INFO , pattributes : * mut::core::ffi::c_void , ppclsidmft : *mut *mut :: windows::core::GUID , pcmfts : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTEnum ( guidcategory : :: windows::core::GUID , flags : u32 , pinputtype : *const MFT_REGISTER_TYPE_INFO , poutputtype : *const MFT_REGISTER_TYPE_INFO , pattributes : * mut::core::ffi::c_void , ppclsidmft : *mut *mut :: windows::core::GUID , pcmfts : *mut u32 ) -> :: windows::core::HRESULT ); MFTEnum(::core::mem::transmute(guidcategory), flags, ::core::mem::transmute(pinputtype.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poutputtype.unwrap_or(::std::ptr::null())), pattributes.into().abi(), ppclsidmft, pcmfts).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1934,19 +1934,19 @@ pub unsafe fn MFTEnum2(guidcategory: ::windows::core::GUID, flags: MFT_ENUM_ where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTEnum2 ( guidcategory : :: windows::core::GUID , flags : MFT_ENUM_FLAG , pinputtype : *const MFT_REGISTER_TYPE_INFO , poutputtype : *const MFT_REGISTER_TYPE_INFO , pattributes : * mut::core::ffi::c_void , pppmftactivate : *mut *mut ::core::option::Option < IMFActivate > , pnummftactivate : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTEnum2 ( guidcategory : :: windows::core::GUID , flags : MFT_ENUM_FLAG , pinputtype : *const MFT_REGISTER_TYPE_INFO , poutputtype : *const MFT_REGISTER_TYPE_INFO , pattributes : * mut::core::ffi::c_void , pppmftactivate : *mut *mut ::core::option::Option < IMFActivate > , pnummftactivate : *mut u32 ) -> :: windows::core::HRESULT ); MFTEnum2(::core::mem::transmute(guidcategory), flags, ::core::mem::transmute(pinputtype.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poutputtype.unwrap_or(::std::ptr::null())), pattributes.into().abi(), pppmftactivate, pnummftactivate).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFTEnumEx(guidcategory: ::windows::core::GUID, flags: MFT_ENUM_FLAG, pinputtype: ::core::option::Option<*const MFT_REGISTER_TYPE_INFO>, poutputtype: ::core::option::Option<*const MFT_REGISTER_TYPE_INFO>, pppmftactivate: *mut *mut ::core::option::Option, pnummftactivate: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTEnumEx ( guidcategory : :: windows::core::GUID , flags : MFT_ENUM_FLAG , pinputtype : *const MFT_REGISTER_TYPE_INFO , poutputtype : *const MFT_REGISTER_TYPE_INFO , pppmftactivate : *mut *mut ::core::option::Option < IMFActivate > , pnummftactivate : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTEnumEx ( guidcategory : :: windows::core::GUID , flags : MFT_ENUM_FLAG , pinputtype : *const MFT_REGISTER_TYPE_INFO , poutputtype : *const MFT_REGISTER_TYPE_INFO , pppmftactivate : *mut *mut ::core::option::Option < IMFActivate > , pnummftactivate : *mut u32 ) -> :: windows::core::HRESULT ); MFTEnumEx(::core::mem::transmute(guidcategory), flags, ::core::mem::transmute(pinputtype.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poutputtype.unwrap_or(::std::ptr::null())), pppmftactivate, pnummftactivate).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFTGetInfo(clsidmft: ::windows::core::GUID, pszname: ::core::option::Option<*mut ::windows::core::PWSTR>, ppinputtypes: ::core::option::Option<*mut *mut MFT_REGISTER_TYPE_INFO>, pcinputtypes: ::core::option::Option<*mut u32>, ppoutputtypes: ::core::option::Option<*mut *mut MFT_REGISTER_TYPE_INFO>, pcoutputtypes: ::core::option::Option<*mut u32>, ppattributes: ::core::option::Option<*mut ::core::option::Option>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTGetInfo ( clsidmft : :: windows::core::GUID , pszname : *mut :: windows::core::PWSTR , ppinputtypes : *mut *mut MFT_REGISTER_TYPE_INFO , pcinputtypes : *mut u32 , ppoutputtypes : *mut *mut MFT_REGISTER_TYPE_INFO , pcoutputtypes : *mut u32 , ppattributes : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTGetInfo ( clsidmft : :: windows::core::GUID , pszname : *mut :: windows::core::PWSTR , ppinputtypes : *mut *mut MFT_REGISTER_TYPE_INFO , pcinputtypes : *mut u32 , ppoutputtypes : *mut *mut MFT_REGISTER_TYPE_INFO , pcoutputtypes : *mut u32 , ppattributes : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFTGetInfo(::core::mem::transmute(clsidmft), ::core::mem::transmute(pszname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppinputtypes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcinputtypes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppoutputtypes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcoutputtypes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppattributes.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1956,7 +1956,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTRegister ( clsidmft : :: windows::core::GUID , guidcategory : :: windows::core::GUID , pszname : :: windows::core::PCWSTR , flags : u32 , cinputtypes : u32 , pinputtypes : *const MFT_REGISTER_TYPE_INFO , coutputtypes : u32 , poutputtypes : *const MFT_REGISTER_TYPE_INFO , pattributes : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTRegister ( clsidmft : :: windows::core::GUID , guidcategory : :: windows::core::GUID , pszname : :: windows::core::PCWSTR , flags : u32 , cinputtypes : u32 , pinputtypes : *const MFT_REGISTER_TYPE_INFO , coutputtypes : u32 , poutputtypes : *const MFT_REGISTER_TYPE_INFO , pattributes : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFTRegister(::core::mem::transmute(clsidmft), ::core::mem::transmute(guidcategory), pszname.into().abi(), flags, pinputtypes.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pinputtypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), poutputtypes.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(poutputtypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pattributes.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] @@ -1967,7 +1967,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTRegisterLocal ( pclassfactory : * mut::core::ffi::c_void , guidcategory : *const :: windows::core::GUID , pszname : :: windows::core::PCWSTR , flags : u32 , cinputtypes : u32 , pinputtypes : *const MFT_REGISTER_TYPE_INFO , coutputtypes : u32 , poutputtypes : *const MFT_REGISTER_TYPE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTRegisterLocal ( pclassfactory : * mut::core::ffi::c_void , guidcategory : *const :: windows::core::GUID , pszname : :: windows::core::PCWSTR , flags : u32 , cinputtypes : u32 , pinputtypes : *const MFT_REGISTER_TYPE_INFO , coutputtypes : u32 , poutputtypes : *const MFT_REGISTER_TYPE_INFO ) -> :: windows::core::HRESULT ); MFTRegisterLocal(pclassfactory.into().abi(), guidcategory, pszname.into().abi(), flags, pinputtypes.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pinputtypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), poutputtypes.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(poutputtypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -1976,13 +1976,13 @@ pub unsafe fn MFTRegisterLocalByCLSID(clisdmft: *const ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTRegisterLocalByCLSID ( clisdmft : *const :: windows::core::GUID , guidcategory : *const :: windows::core::GUID , pszname : :: windows::core::PCWSTR , flags : u32 , cinputtypes : u32 , pinputtypes : *const MFT_REGISTER_TYPE_INFO , coutputtypes : u32 , poutputtypes : *const MFT_REGISTER_TYPE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTRegisterLocalByCLSID ( clisdmft : *const :: windows::core::GUID , guidcategory : *const :: windows::core::GUID , pszname : :: windows::core::PCWSTR , flags : u32 , cinputtypes : u32 , pinputtypes : *const MFT_REGISTER_TYPE_INFO , coutputtypes : u32 , poutputtypes : *const MFT_REGISTER_TYPE_INFO ) -> :: windows::core::HRESULT ); MFTRegisterLocalByCLSID(clisdmft, guidcategory, pszname.into().abi(), flags, pinputtypes.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pinputtypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), poutputtypes.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(poutputtypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFTUnregister(clsidmft: ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTUnregister ( clsidmft : :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTUnregister ( clsidmft : :: windows::core::GUID ) -> :: windows::core::HRESULT ); MFTUnregister(::core::mem::transmute(clsidmft)).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] @@ -1992,13 +1992,13 @@ pub unsafe fn MFTUnregisterLocal(pclassfactory: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTUnregisterLocal ( pclassfactory : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTUnregisterLocal ( pclassfactory : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MFTUnregisterLocal(pclassfactory.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFTUnregisterLocalByCLSID(clsidmft: ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFTUnregisterLocalByCLSID ( clsidmft : :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFTUnregisterLocalByCLSID ( clsidmft : :: windows::core::GUID ) -> :: windows::core::HRESULT ); MFTUnregisterLocalByCLSID(::core::mem::transmute(clsidmft)).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -2007,32 +2007,32 @@ pub unsafe fn MFTranscodeGetAudioOutputAvailableTypes(guidsubtype: *const :: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mf.dll""system" fn MFTranscodeGetAudioOutputAvailableTypes ( guidsubtype : *const :: windows::core::GUID , dwmftflags : u32 , pcodecconfig : * mut::core::ffi::c_void , ppavailabletypes : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mf.dll""system" fn MFTranscodeGetAudioOutputAvailableTypes ( guidsubtype : *const :: windows::core::GUID , dwmftflags : u32 , pcodecconfig : * mut::core::ffi::c_void , ppavailabletypes : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFTranscodeGetAudioOutputAvailableTypes(guidsubtype, dwmftflags, pcodecconfig.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFUnlockDXGIDeviceManager() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFUnlockDXGIDeviceManager ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFUnlockDXGIDeviceManager ( ) -> :: windows::core::HRESULT ); MFUnlockDXGIDeviceManager().ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFUnlockPlatform() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFUnlockPlatform ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFUnlockPlatform ( ) -> :: windows::core::HRESULT ); MFUnlockPlatform().ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFUnlockWorkQueue(dwworkqueue: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFUnlockWorkQueue ( dwworkqueue : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFUnlockWorkQueue ( dwworkqueue : u32 ) -> :: windows::core::HRESULT ); MFUnlockWorkQueue(dwworkqueue).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFUnregisterPlatformFromMMCSS() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFUnregisterPlatformFromMMCSS ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFUnregisterPlatformFromMMCSS ( ) -> :: windows::core::HRESULT ); MFUnregisterPlatformFromMMCSS().ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -2041,14 +2041,14 @@ pub unsafe fn MFUnwrapMediaType(pwrap: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFUnwrapMediaType ( pwrap : * mut::core::ffi::c_void , pporig : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFUnwrapMediaType ( pwrap : * mut::core::ffi::c_void , pporig : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFUnwrapMediaType(pwrap.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFValidateMediaTypeSize(formattype: ::windows::core::GUID, pblock: ::core::option::Option<&[u8]>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mfplat.dll""system" fn MFValidateMediaTypeSize ( formattype : :: windows::core::GUID , pblock : *const u8 , cbsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFValidateMediaTypeSize ( formattype : :: windows::core::GUID , pblock : *const u8 , cbsize : u32 ) -> :: windows::core::HRESULT ); MFValidateMediaTypeSize(::core::mem::transmute(formattype), ::core::mem::transmute(pblock.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pblock.as_deref().map_or(0, |slice| slice.len() as _)).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -2057,21 +2057,21 @@ pub unsafe fn MFWrapMediaType(porig: P0, majortype: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mfplat.dll""system" fn MFWrapMediaType ( porig : * mut::core::ffi::c_void , majortype : *const :: windows::core::GUID , subtype : *const :: windows::core::GUID , ppwrap : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFWrapMediaType ( porig : * mut::core::ffi::c_void , majortype : *const :: windows::core::GUID , subtype : *const :: windows::core::GUID , ppwrap : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MFWrapMediaType(porig.into().abi(), majortype, subtype, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn MFllMulDiv(a: i64, b: i64, c: i64, d: i64) -> i64 { - ::windows::core::link ! ( "mfplat.dll""system" fn MFllMulDiv ( a : i64 , b : i64 , c : i64 , d : i64 ) -> i64 ); + ::windows::imp::link ! ( "mfplat.dll""system" fn MFllMulDiv ( a : i64 , b : i64 , c : i64 , d : i64 ) -> i64 ); MFllMulDiv(a, b, c, d) } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OPMGetVideoOutputForTarget(padapterluid: *const super::super::Foundation::LUID, vidpntarget: u32, vos: OPM_VIDEO_OUTPUT_SEMANTICS) -> ::windows::core::Result { - ::windows::core::link ! ( "dxva2.dll""system" fn OPMGetVideoOutputForTarget ( padapterluid : *const super::super::Foundation:: LUID , vidpntarget : u32 , vos : OPM_VIDEO_OUTPUT_SEMANTICS , ppopmvideooutput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxva2.dll""system" fn OPMGetVideoOutputForTarget ( padapterluid : *const super::super::Foundation:: LUID , vidpntarget : u32 , vos : OPM_VIDEO_OUTPUT_SEMANTICS , ppopmvideooutput : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OPMGetVideoOutputForTarget(padapterluid, vidpntarget, vos, &mut result__).from_abi(result__) } @@ -2082,7 +2082,7 @@ pub unsafe fn OPMGetVideoOutputsFromHMONITOR(hmonitor: P0, vos: OPM_VIDEO_OU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dxva2.dll""system" fn OPMGetVideoOutputsFromHMONITOR ( hmonitor : super::super::Graphics::Gdi:: HMONITOR , vos : OPM_VIDEO_OUTPUT_SEMANTICS , pulnumvideooutputs : *mut u32 , pppopmvideooutputarray : *mut *mut ::core::option::Option < IOPMVideoOutput > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxva2.dll""system" fn OPMGetVideoOutputsFromHMONITOR ( hmonitor : super::super::Graphics::Gdi:: HMONITOR , vos : OPM_VIDEO_OUTPUT_SEMANTICS , pulnumvideooutputs : *mut u32 , pppopmvideooutputarray : *mut *mut ::core::option::Option < IOPMVideoOutput > ) -> :: windows::core::HRESULT ); OPMGetVideoOutputsFromHMONITOR(hmonitor.into(), vos, pulnumvideooutputs, pppopmvideooutputarray).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -2092,25 +2092,25 @@ pub unsafe fn OPMGetVideoOutputsFromIDirect3DDevice9Object(pdirect3ddevice9: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "dxva2.dll""system" fn OPMGetVideoOutputsFromIDirect3DDevice9Object ( pdirect3ddevice9 : * mut::core::ffi::c_void , vos : OPM_VIDEO_OUTPUT_SEMANTICS , pulnumvideooutputs : *mut u32 , pppopmvideooutputarray : *mut *mut ::core::option::Option < IOPMVideoOutput > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dxva2.dll""system" fn OPMGetVideoOutputsFromIDirect3DDevice9Object ( pdirect3ddevice9 : * mut::core::ffi::c_void , vos : OPM_VIDEO_OUTPUT_SEMANTICS , pulnumvideooutputs : *mut u32 , pppopmvideooutputarray : *mut *mut ::core::option::Option < IOPMVideoOutput > ) -> :: windows::core::HRESULT ); OPMGetVideoOutputsFromIDirect3DDevice9Object(pdirect3ddevice9.into().abi(), vos, pulnumvideooutputs, pppopmvideooutputarray).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn OPMXboxEnableHDCP(hdcptype: OPM_HDCP_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "opmxbox.dll""system" fn OPMXboxEnableHDCP ( hdcptype : OPM_HDCP_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "opmxbox.dll""system" fn OPMXboxEnableHDCP ( hdcptype : OPM_HDCP_TYPE ) -> :: windows::core::HRESULT ); OPMXboxEnableHDCP(hdcptype).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn OPMXboxGetHDCPStatus(phdcpstatus: *mut OPM_HDCP_STATUS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "opmxbox.dll""system" fn OPMXboxGetHDCPStatus ( phdcpstatus : *mut OPM_HDCP_STATUS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "opmxbox.dll""system" fn OPMXboxGetHDCPStatus ( phdcpstatus : *mut OPM_HDCP_STATUS ) -> :: windows::core::HRESULT ); OPMXboxGetHDCPStatus(phdcpstatus).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[inline] pub unsafe fn OPMXboxGetHDCPStatusAndType(phdcpstatus: *mut OPM_HDCP_STATUS, phdcptype: *mut OPM_HDCP_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "opmxbox.dll""system" fn OPMXboxGetHDCPStatusAndType ( phdcpstatus : *mut OPM_HDCP_STATUS , phdcptype : *mut OPM_HDCP_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "opmxbox.dll""system" fn OPMXboxGetHDCPStatusAndType ( phdcpstatus : *mut OPM_HDCP_STATUS , phdcptype : *mut OPM_HDCP_TYPE ) -> :: windows::core::HRESULT ); OPMXboxGetHDCPStatusAndType(phdcpstatus, phdcptype).ok() } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -2122,7 +2122,7 @@ impl IAdvancedMediaCapture { (::windows::core::Vtable::vtable(self).GetAdvancedMediaCaptureSettings)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAdvancedMediaCapture, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAdvancedMediaCapture, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAdvancedMediaCapture { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2162,7 +2162,7 @@ impl IAdvancedMediaCaptureInitializationSettings { (::windows::core::Vtable::vtable(self).SetDirectxDeviceManager)(::windows::core::Vtable::as_raw(self), value.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAdvancedMediaCaptureInitializationSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAdvancedMediaCaptureInitializationSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAdvancedMediaCaptureInitializationSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2200,7 +2200,7 @@ impl IAdvancedMediaCaptureSettings { (::windows::core::Vtable::vtable(self).GetDirectxDeviceManager)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAdvancedMediaCaptureSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAdvancedMediaCaptureSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAdvancedMediaCaptureSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2237,7 +2237,7 @@ impl IAudioSourceProvider { (::windows::core::Vtable::vtable(self).ProvideInput)(::windows::core::Vtable::as_raw(self), dwsamplecount, pdwchannelcount, ::core::mem::transmute(pinterleavedaudiodata.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IAudioSourceProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioSourceProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioSourceProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2281,7 +2281,7 @@ impl IClusterDetector { (::windows::core::Vtable::vtable(self).Detect)(::windows::core::Vtable::as_raw(self), dwmaxnumclusters, fminclusterduration, fmaxclusterduration, psrctoc.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IClusterDetector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IClusterDetector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IClusterDetector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2390,7 +2390,7 @@ impl ICodecAPI { (::windows::core::Vtable::vtable(self).SetAllSettingsWithNotify)(::windows::core::Vtable::as_raw(self), __midl__icodecapi0002.into().abi(), changedparam, changedparamcount).ok() } } -::windows::core::interface_hierarchy!(ICodecAPI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICodecAPI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICodecAPI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2589,7 +2589,7 @@ impl ID3D12VideoDecodeCommandList { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoDecodeCommandList, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); +::windows::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoDecodeCommandList { fn eq(&self, other: &Self) -> bool { @@ -2806,7 +2806,7 @@ impl ID3D12VideoDecodeCommandList1 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoDecodeCommandList1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList); +::windows::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoDecodeCommandList1 { fn eq(&self, other: &Self) -> bool { @@ -3010,7 +3010,7 @@ impl ID3D12VideoDecodeCommandList2 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoDecodeCommandList2, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1); +::windows::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList2, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoDecodeCommandList2 { fn eq(&self, other: &Self) -> bool { @@ -3227,7 +3227,7 @@ impl ID3D12VideoDecodeCommandList3 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoDecodeCommandList3, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1, ID3D12VideoDecodeCommandList2); +::windows::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList3, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1, ID3D12VideoDecodeCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoDecodeCommandList3 { fn eq(&self, other: &Self) -> bool { @@ -3317,7 +3317,7 @@ impl ID3D12VideoDecoder { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoDecoder, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12VideoDecoder, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoDecoder { fn eq(&self, other: &Self) -> bool { @@ -3410,7 +3410,7 @@ impl ID3D12VideoDecoder1 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoDecoder1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoDecoder); +::windows::imp::interface_hierarchy!(ID3D12VideoDecoder1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoDecoder); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoDecoder1 { fn eq(&self, other: &Self) -> bool { @@ -3499,7 +3499,7 @@ impl ID3D12VideoDecoderHeap { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoDecoderHeap, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12VideoDecoderHeap, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoDecoderHeap { fn eq(&self, other: &Self) -> bool { @@ -3597,7 +3597,7 @@ impl ID3D12VideoDecoderHeap1 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoDecoderHeap1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoDecoderHeap); +::windows::imp::interface_hierarchy!(ID3D12VideoDecoderHeap1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoDecoderHeap); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoDecoderHeap1 { fn eq(&self, other: &Self) -> bool { @@ -3670,7 +3670,7 @@ impl ID3D12VideoDevice { (::windows::core::Vtable::vtable(self).CreateVideoProcessor)(::windows::core::Vtable::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len() as _, ::core::mem::transmute(pinputstreamdescs.as_ptr()), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12VideoDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ID3D12VideoDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ID3D12VideoDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3763,7 +3763,7 @@ impl ID3D12VideoDevice1 { (::windows::core::Vtable::vtable(self).CreateVideoMotionVectorHeap)(::windows::core::Vtable::as_raw(self), pdesc, pprotectedresourcesession.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12VideoDevice1, ::windows::core::IUnknown, ID3D12VideoDevice); +::windows::imp::interface_hierarchy!(ID3D12VideoDevice1, ::windows::core::IUnknown, ID3D12VideoDevice); impl ::core::cmp::PartialEq for ID3D12VideoDevice1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3902,7 +3902,7 @@ impl ID3D12VideoDevice2 { (::windows::core::Vtable::vtable(self).ExecuteExtensionCommand)(::windows::core::Vtable::as_raw(self), pextensioncommand.into().abi(), pexecutionparameters, executionparameterssizeinbytes, poutputdata, outputdatasizeinbytes).ok() } } -::windows::core::interface_hierarchy!(ID3D12VideoDevice2, ::windows::core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1); +::windows::imp::interface_hierarchy!(ID3D12VideoDevice2, ::windows::core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1); impl ::core::cmp::PartialEq for ID3D12VideoDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4069,7 +4069,7 @@ impl ID3D12VideoDevice3 { (::windows::core::Vtable::vtable(self).CreateVideoEncoderHeap)(::windows::core::Vtable::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ID3D12VideoDevice3, ::windows::core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1, ID3D12VideoDevice2); +::windows::imp::interface_hierarchy!(ID3D12VideoDevice3, ::windows::core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1, ID3D12VideoDevice2); impl ::core::cmp::PartialEq for ID3D12VideoDevice3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4246,7 +4246,7 @@ impl ID3D12VideoEncodeCommandList { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoEncodeCommandList, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); +::windows::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoEncodeCommandList { fn eq(&self, other: &Self) -> bool { @@ -4492,7 +4492,7 @@ impl ID3D12VideoEncodeCommandList1 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoEncodeCommandList1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList); +::windows::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoEncodeCommandList1 { fn eq(&self, other: &Self) -> bool { @@ -4711,7 +4711,7 @@ impl ID3D12VideoEncodeCommandList2 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoEncodeCommandList2, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1); +::windows::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList2, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoEncodeCommandList2 { fn eq(&self, other: &Self) -> bool { @@ -4935,7 +4935,7 @@ impl ID3D12VideoEncodeCommandList3 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoEncodeCommandList3, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1, ID3D12VideoEncodeCommandList2); +::windows::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList3, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1, ID3D12VideoEncodeCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoEncodeCommandList3 { fn eq(&self, other: &Self) -> bool { @@ -5043,7 +5043,7 @@ impl ID3D12VideoEncoder { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoEncoder, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12VideoEncoder, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoEncoder { fn eq(&self, other: &Self) -> bool { @@ -5155,7 +5155,7 @@ impl ID3D12VideoEncoderHeap { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoEncoderHeap, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12VideoEncoderHeap, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoEncoderHeap { fn eq(&self, other: &Self) -> bool { @@ -5254,7 +5254,7 @@ impl ID3D12VideoExtensionCommand { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoExtensionCommand, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12VideoExtensionCommand, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoExtensionCommand { fn eq(&self, other: &Self) -> bool { @@ -5350,7 +5350,7 @@ impl ID3D12VideoMotionEstimator { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoMotionEstimator, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12VideoMotionEstimator, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoMotionEstimator { fn eq(&self, other: &Self) -> bool { @@ -5449,7 +5449,7 @@ impl ID3D12VideoMotionVectorHeap { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoMotionVectorHeap, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12VideoMotionVectorHeap, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoMotionVectorHeap { fn eq(&self, other: &Self) -> bool { @@ -5622,7 +5622,7 @@ impl ID3D12VideoProcessCommandList { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoProcessCommandList, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); +::windows::imp::interface_hierarchy!(ID3D12VideoProcessCommandList, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoProcessCommandList { fn eq(&self, other: &Self) -> bool { @@ -5839,7 +5839,7 @@ impl ID3D12VideoProcessCommandList1 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoProcessCommandList1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList); +::windows::imp::interface_hierarchy!(ID3D12VideoProcessCommandList1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoProcessCommandList1 { fn eq(&self, other: &Self) -> bool { @@ -6043,7 +6043,7 @@ impl ID3D12VideoProcessCommandList2 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoProcessCommandList2, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1); +::windows::imp::interface_hierarchy!(ID3D12VideoProcessCommandList2, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoProcessCommandList2 { fn eq(&self, other: &Self) -> bool { @@ -6260,7 +6260,7 @@ impl ID3D12VideoProcessCommandList3 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoProcessCommandList3, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1, ID3D12VideoProcessCommandList2); +::windows::imp::interface_hierarchy!(ID3D12VideoProcessCommandList3, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1, ID3D12VideoProcessCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoProcessCommandList3 { fn eq(&self, other: &Self) -> bool { @@ -6363,7 +6363,7 @@ impl ID3D12VideoProcessor { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoProcessor, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); +::windows::imp::interface_hierarchy!(ID3D12VideoProcessor, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoProcessor { fn eq(&self, other: &Self) -> bool { @@ -6478,7 +6478,7 @@ impl ID3D12VideoProcessor1 { } } #[cfg(feature = "Win32_Graphics_Direct3D12")] -::windows::core::interface_hierarchy!(ID3D12VideoProcessor1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoProcessor); +::windows::imp::interface_hierarchy!(ID3D12VideoProcessor1, ::windows::core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoProcessor); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ::core::cmp::PartialEq for ID3D12VideoProcessor1 { fn eq(&self, other: &Self) -> bool { @@ -6559,7 +6559,7 @@ impl IDXVAHD_Device { (::windows::core::Vtable::vtable(self).CreateVideoProcessor)(::windows::core::Vtable::as_raw(self), pvpguid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDXVAHD_Device, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXVAHD_Device, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXVAHD_Device { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6635,7 +6635,7 @@ impl IDXVAHD_VideoProcessor { (::windows::core::Vtable::vtable(self).VideoProcessBltHD)(::windows::core::Vtable::as_raw(self), poutputsurface.into().abi(), outputframe, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IDXVAHD_VideoProcessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDXVAHD_VideoProcessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDXVAHD_VideoProcessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6681,7 +6681,7 @@ impl IDirect3D9ExOverlayExtension { (::windows::core::Vtable::vtable(self).CheckDeviceOverlayType)(::windows::core::Vtable::as_raw(self), adapter, devtype, overlaywidth, overlayheight, overlayformat, pdisplaymode, displayrotation, poverlaycaps).ok() } } -::windows::core::interface_hierarchy!(IDirect3D9ExOverlayExtension, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3D9ExOverlayExtension, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3D9ExOverlayExtension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6735,7 +6735,7 @@ impl IDirect3DAuthenticatedChannel9 { (::windows::core::Vtable::vtable(self).Configure)(::windows::core::Vtable::as_raw(self), inputsize, pinput, poutput).ok() } } -::windows::core::interface_hierarchy!(IDirect3DAuthenticatedChannel9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DAuthenticatedChannel9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DAuthenticatedChannel9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6820,7 +6820,7 @@ impl IDirect3DCryptoSession9 { (::windows::core::Vtable::vtable(self).GetEncryptionBltKey)(::windows::core::Vtable::as_raw(self), preadbackkey, keysize).ok() } } -::windows::core::interface_hierarchy!(IDirect3DCryptoSession9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DCryptoSession9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DCryptoSession9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6884,7 +6884,7 @@ impl IDirect3DDevice9Video { (::windows::core::Vtable::vtable(self).CreateCryptoSession)(::windows::core::Vtable::as_raw(self), pcryptotype, pdecodeprofile, ::core::mem::transmute(ppcryptosession), pcryptohandle).ok() } } -::windows::core::interface_hierarchy!(IDirect3DDevice9Video, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DDevice9Video, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DDevice9Video { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6982,7 +6982,7 @@ impl IDirect3DDeviceManager9 { (::windows::core::Vtable::vtable(self).GetVideoService)(::windows::core::Vtable::as_raw(self), hdevice.into(), riid, ppservice).ok() } } -::windows::core::interface_hierarchy!(IDirect3DDeviceManager9, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DDeviceManager9, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DDeviceManager9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7048,7 +7048,7 @@ impl IDirectXVideoAccelerationService { (::windows::core::Vtable::vtable(self).CreateSurface)(::windows::core::Vtable::as_raw(self), width, height, backbuffers, format, pool, usage, dxvatype, ::core::mem::transmute(ppsurface), ::core::mem::transmute(psharedhandle.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDirectXVideoAccelerationService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectXVideoAccelerationService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectXVideoAccelerationService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7116,7 +7116,7 @@ impl IDirectXVideoDecoder { (::windows::core::Vtable::vtable(self).Execute)(::windows::core::Vtable::as_raw(self), pexecuteparams).ok() } } -::windows::core::interface_hierarchy!(IDirectXVideoDecoder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectXVideoDecoder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectXVideoDecoder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7189,7 +7189,7 @@ impl IDirectXVideoDecoderService { (::windows::core::Vtable::vtable(self).CreateVideoDecoder)(::windows::core::Vtable::as_raw(self), guid, pvideodesc, pconfig, ::core::mem::transmute(ppdecoderrendertargets.as_ptr()), ppdecoderrendertargets.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectXVideoDecoderService, ::windows::core::IUnknown, IDirectXVideoAccelerationService); +::windows::imp::interface_hierarchy!(IDirectXVideoDecoderService, ::windows::core::IUnknown, IDirectXVideoAccelerationService); impl ::core::cmp::PartialEq for IDirectXVideoDecoderService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7242,7 +7242,7 @@ impl IDirectXVideoMemoryConfiguration { (::windows::core::Vtable::vtable(self).SetSurfaceType)(::windows::core::Vtable::as_raw(self), dwtype).ok() } } -::windows::core::interface_hierarchy!(IDirectXVideoMemoryConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectXVideoMemoryConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectXVideoMemoryConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7307,7 +7307,7 @@ impl IDirectXVideoProcessor { (::windows::core::Vtable::vtable(self).VideoProcessBlt)(::windows::core::Vtable::as_raw(self), prendertarget.into().abi(), pbltparams, ::core::mem::transmute(psamples.as_ptr()), psamples.len() as _, ::core::mem::transmute(phandlecomplete.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDirectXVideoProcessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectXVideoProcessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectXVideoProcessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7401,7 +7401,7 @@ impl IDirectXVideoProcessorService { (::windows::core::Vtable::vtable(self).CreateVideoProcessor)(::windows::core::Vtable::as_raw(self), videoprocdeviceguid, pvideodesc, rendertargetformat, maxnumsubstreams, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirectXVideoProcessorService, ::windows::core::IUnknown, IDirectXVideoAccelerationService); +::windows::imp::interface_hierarchy!(IDirectXVideoProcessorService, ::windows::core::IUnknown, IDirectXVideoAccelerationService); impl ::core::cmp::PartialEq for IDirectXVideoProcessorService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7470,7 +7470,7 @@ impl IEVRFilterConfig { (::windows::core::Vtable::vtable(self).GetNumberOfStreams)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEVRFilterConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEVRFilterConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEVRFilterConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7519,7 +7519,7 @@ impl IEVRFilterConfigEx { (::windows::core::Vtable::vtable(self).GetConfigPrefs)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEVRFilterConfigEx, ::windows::core::IUnknown, IEVRFilterConfig); +::windows::imp::interface_hierarchy!(IEVRFilterConfigEx, ::windows::core::IUnknown, IEVRFilterConfig); impl ::core::cmp::PartialEq for IEVRFilterConfigEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7577,7 +7577,7 @@ impl IEVRTrustedVideoPlugin { (::windows::core::Vtable::vtable(self).DisableImageExport)(::windows::core::Vtable::as_raw(self), bdisable.into()).ok() } } -::windows::core::interface_hierarchy!(IEVRTrustedVideoPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEVRTrustedVideoPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEVRTrustedVideoPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7637,7 +7637,7 @@ impl IEVRVideoStreamControl { (::windows::core::Vtable::vtable(self).GetStreamActiveState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEVRVideoStreamControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEVRVideoStreamControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEVRVideoStreamControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7693,7 +7693,7 @@ impl IFileClient { (::windows::core::Vtable::vtable(self).Read)(::windows::core::Vtable::as_raw(self), pfio.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFileClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7764,7 +7764,7 @@ impl IFileIo { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFileIo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileIo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileIo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7835,7 +7835,7 @@ impl IMF2DBuffer { (::windows::core::Vtable::vtable(self).ContiguousCopyFrom)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbsrcbuffer.as_ptr()), pbsrcbuffer.len() as _).ok() } } -::windows::core::interface_hierarchy!(IMF2DBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMF2DBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMF2DBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7912,7 +7912,7 @@ impl IMF2DBuffer2 { (::windows::core::Vtable::vtable(self).Copy2DTo)(::windows::core::Vtable::as_raw(self), pdestbuffer.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMF2DBuffer2, ::windows::core::IUnknown, IMF2DBuffer); +::windows::imp::interface_hierarchy!(IMF2DBuffer2, ::windows::core::IUnknown, IMF2DBuffer); impl ::core::cmp::PartialEq for IMF2DBuffer2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7987,7 +7987,7 @@ impl IMFASFContentInfo { (::windows::core::Vtable::vtable(self).GetEncodingConfigurationPropertyStore)(::windows::core::Vtable::as_raw(self), wstreamnumber, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFASFContentInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFASFContentInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFASFContentInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8097,7 +8097,7 @@ impl IMFASFIndexer { (::windows::core::Vtable::vtable(self).GetCompletedIndex)(::windows::core::Vtable::as_raw(self), piindexbuffer.into().abi(), cboffsetwithinindex).ok() } } -::windows::core::interface_hierarchy!(IMFASFIndexer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFASFIndexer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFASFIndexer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8190,7 +8190,7 @@ impl IMFASFMultiplexer { (::windows::core::Vtable::vtable(self).SetSyncTolerance)(::windows::core::Vtable::as_raw(self), mssynctolerance).ok() } } -::windows::core::interface_hierarchy!(IMFASFMultiplexer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFASFMultiplexer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFASFMultiplexer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8263,7 +8263,7 @@ impl IMFASFMutualExclusion { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFASFMutualExclusion, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFASFMutualExclusion, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFASFMutualExclusion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8500,7 +8500,7 @@ impl IMFASFProfile { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFASFProfile, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFASFProfile, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFASFProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8584,7 +8584,7 @@ impl IMFASFSplitter { (::windows::core::Vtable::vtable(self).GetLastSendTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFASFSplitter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFASFSplitter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFASFSplitter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8789,7 +8789,7 @@ impl IMFASFStreamConfig { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFASFStreamConfig, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFASFStreamConfig, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFASFStreamConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8849,7 +8849,7 @@ impl IMFASFStreamPrioritization { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFASFStreamPrioritization, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFASFStreamPrioritization, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFASFStreamPrioritization { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8939,7 +8939,7 @@ impl IMFASFStreamSelector { (::windows::core::Vtable::vtable(self).SetStreamSelectorFlags)(::windows::core::Vtable::as_raw(self), dwstreamselectorflags).ok() } } -::windows::core::interface_hierarchy!(IMFASFStreamSelector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFASFStreamSelector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFASFStreamSelector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9125,7 +9125,7 @@ impl IMFActivate { (::windows::core::Vtable::vtable(self).DetachObject)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFActivate, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFActivate, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFActivate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9170,7 +9170,7 @@ impl IMFAsyncCallback { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), pasyncresult.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFAsyncCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFAsyncCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFAsyncCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9220,7 +9220,7 @@ impl IMFAsyncCallbackLogging { (::windows::core::Vtable::vtable(self).GetObjectTag)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFAsyncCallbackLogging, ::windows::core::IUnknown, IMFAsyncCallback); +::windows::imp::interface_hierarchy!(IMFAsyncCallbackLogging, ::windows::core::IUnknown, IMFAsyncCallback); impl ::core::cmp::PartialEq for IMFAsyncCallbackLogging { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9272,7 +9272,7 @@ impl IMFAsyncResult { (::windows::core::Vtable::vtable(self).GetStateNoAddRef)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFAsyncResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFAsyncResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFAsyncResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9436,7 +9436,7 @@ impl IMFAttributes { (::windows::core::Vtable::vtable(self).CopyAllItems)(::windows::core::Vtable::as_raw(self), pdest.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFAttributes, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFAttributes, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFAttributes { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9668,7 +9668,7 @@ impl IMFAudioMediaType { (::windows::core::Vtable::vtable(self).GetAudioFormat)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFAudioMediaType, ::windows::core::IUnknown, IMFAttributes, IMFMediaType); +::windows::imp::interface_hierarchy!(IMFAudioMediaType, ::windows::core::IUnknown, IMFAttributes, IMFMediaType); impl ::core::cmp::PartialEq for IMFAudioMediaType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9732,7 +9732,7 @@ impl IMFAudioPolicy { (::windows::core::Vtable::vtable(self).GetIconPath)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFAudioPolicy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFAudioPolicy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFAudioPolicy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9788,7 +9788,7 @@ impl IMFAudioStreamVolume { (::windows::core::Vtable::vtable(self).GetAllVolumes)(::windows::core::Vtable::as_raw(self), pfvolumes.len() as _, ::core::mem::transmute(pfvolumes.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IMFAudioStreamVolume, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFAudioStreamVolume, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFAudioStreamVolume { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9832,7 +9832,7 @@ impl IMFBufferListNotify { (::windows::core::Vtable::vtable(self).OnRemoveSourceBuffer)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFBufferListNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFBufferListNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFBufferListNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9936,7 +9936,7 @@ impl IMFByteStream { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFByteStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFByteStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFByteStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10001,7 +10001,7 @@ impl IMFByteStreamBuffering { (::windows::core::Vtable::vtable(self).StopBuffering)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFByteStreamBuffering, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFByteStreamBuffering, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFByteStreamBuffering { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10043,7 +10043,7 @@ impl IMFByteStreamCacheControl { (::windows::core::Vtable::vtable(self).StopBackgroundTransfer)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFByteStreamCacheControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFByteStreamCacheControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFByteStreamCacheControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10092,7 +10092,7 @@ impl IMFByteStreamCacheControl2 { (::windows::core::Vtable::vtable(self).IsBackgroundTransferActive)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFByteStreamCacheControl2, ::windows::core::IUnknown, IMFByteStreamCacheControl); +::windows::imp::interface_hierarchy!(IMFByteStreamCacheControl2, ::windows::core::IUnknown, IMFByteStreamCacheControl); impl ::core::cmp::PartialEq for IMFByteStreamCacheControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10159,7 +10159,7 @@ impl IMFByteStreamHandler { (::windows::core::Vtable::vtable(self).GetMaxNumberOfBytesRequiredForResolution)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFByteStreamHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFByteStreamHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFByteStreamHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10208,7 +10208,7 @@ impl IMFByteStreamProxyClassFactory { (::windows::core::Vtable::vtable(self).CreateByteStreamProxy)(::windows::core::Vtable::as_raw(self), pbytestream.into().abi(), pattributes.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFByteStreamProxyClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFByteStreamProxyClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFByteStreamProxyClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10254,7 +10254,7 @@ impl IMFByteStreamTimeSeek { (::windows::core::Vtable::vtable(self).GetTimeSeekResult)(::windows::core::Vtable::as_raw(self), pqwstarttime, pqwstoptime, pqwduration).ok() } } -::windows::core::interface_hierarchy!(IMFByteStreamTimeSeek, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFByteStreamTimeSeek, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFByteStreamTimeSeek { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10302,7 +10302,7 @@ impl IMFCameraOcclusionStateMonitor { (::windows::core::Vtable::vtable(self).GetSupportedStates)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFCameraOcclusionStateMonitor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCameraOcclusionStateMonitor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCameraOcclusionStateMonitor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10342,7 +10342,7 @@ impl IMFCameraOcclusionStateReport { (::windows::core::Vtable::vtable(self).GetOcclusionState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFCameraOcclusionStateReport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCameraOcclusionStateReport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCameraOcclusionStateReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10382,7 +10382,7 @@ impl IMFCameraOcclusionStateReportCallback { (::windows::core::Vtable::vtable(self).OnOcclusionStateReport)(::windows::core::Vtable::as_raw(self), occlusionstatereport.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFCameraOcclusionStateReportCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCameraOcclusionStateReportCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCameraOcclusionStateReportCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10422,7 +10422,7 @@ impl IMFCameraSyncObject { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFCameraSyncObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCameraSyncObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCameraSyncObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10495,7 +10495,7 @@ impl IMFCaptureEngine { (::windows::core::Vtable::vtable(self).GetSource)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFCaptureEngine, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCaptureEngine, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCaptureEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10546,7 +10546,7 @@ impl IMFCaptureEngineClassFactory { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFCaptureEngineClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCaptureEngineClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCaptureEngineClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10586,7 +10586,7 @@ impl IMFCaptureEngineOnEventCallback { (::windows::core::Vtable::vtable(self).OnEvent)(::windows::core::Vtable::as_raw(self), pevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFCaptureEngineOnEventCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCaptureEngineOnEventCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCaptureEngineOnEventCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10626,7 +10626,7 @@ impl IMFCaptureEngineOnSampleCallback { (::windows::core::Vtable::vtable(self).OnSample)(::windows::core::Vtable::as_raw(self), psample.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFCaptureEngineOnSampleCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCaptureEngineOnSampleCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCaptureEngineOnSampleCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10672,7 +10672,7 @@ impl IMFCaptureEngineOnSampleCallback2 { (::windows::core::Vtable::vtable(self).OnSynchronizedEvent)(::windows::core::Vtable::as_raw(self), pevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFCaptureEngineOnSampleCallback2, ::windows::core::IUnknown, IMFCaptureEngineOnSampleCallback); +::windows::imp::interface_hierarchy!(IMFCaptureEngineOnSampleCallback2, ::windows::core::IUnknown, IMFCaptureEngineOnSampleCallback); impl ::core::cmp::PartialEq for IMFCaptureEngineOnSampleCallback2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10719,7 +10719,7 @@ impl IMFCapturePhotoConfirmation { (::windows::core::Vtable::vtable(self).GetPixelFormat)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFCapturePhotoConfirmation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCapturePhotoConfirmation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCapturePhotoConfirmation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10792,7 +10792,7 @@ impl IMFCapturePhotoSink { (::windows::core::Vtable::vtable(self).SetOutputByteStream)(::windows::core::Vtable::as_raw(self), pbytestream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFCapturePhotoSink, ::windows::core::IUnknown, IMFCaptureSink); +::windows::imp::interface_hierarchy!(IMFCapturePhotoSink, ::windows::core::IUnknown, IMFCaptureSink); impl ::core::cmp::PartialEq for IMFCapturePhotoSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10899,7 +10899,7 @@ impl IMFCapturePreviewSink { (::windows::core::Vtable::vtable(self).SetCustomSink)(::windows::core::Vtable::as_raw(self), pmediasink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFCapturePreviewSink, ::windows::core::IUnknown, IMFCaptureSink); +::windows::imp::interface_hierarchy!(IMFCapturePreviewSink, ::windows::core::IUnknown, IMFCaptureSink); impl ::core::cmp::PartialEq for IMFCapturePreviewSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11003,7 +11003,7 @@ impl IMFCaptureRecordSink { (::windows::core::Vtable::vtable(self).SetRotation)(::windows::core::Vtable::as_raw(self), dwstreamindex, dwrotationvalue).ok() } } -::windows::core::interface_hierarchy!(IMFCaptureRecordSink, ::windows::core::IUnknown, IMFCaptureSink); +::windows::imp::interface_hierarchy!(IMFCaptureRecordSink, ::windows::core::IUnknown, IMFCaptureSink); impl ::core::cmp::PartialEq for IMFCaptureRecordSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11061,7 +11061,7 @@ impl IMFCaptureSink { (::windows::core::Vtable::vtable(self).RemoveAllStreams)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFCaptureSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCaptureSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCaptureSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11125,7 +11125,7 @@ impl IMFCaptureSink2 { (::windows::core::Vtable::vtable(self).SetOutputMediaType)(::windows::core::Vtable::as_raw(self), dwstreamindex, pmediatype.into().abi(), pencodingattributes.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFCaptureSink2, ::windows::core::IUnknown, IMFCaptureSink); +::windows::imp::interface_hierarchy!(IMFCaptureSink2, ::windows::core::IUnknown, IMFCaptureSink); impl ::core::cmp::PartialEq for IMFCaptureSink2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11222,7 +11222,7 @@ impl IMFCaptureSource { (::windows::core::Vtable::vtable(self).GetStreamIndexFromFriendlyName)(::windows::core::Vtable::as_raw(self), uifriendlyname, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFCaptureSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCaptureSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCaptureSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11281,7 +11281,7 @@ impl IMFCdmSuspendNotify { (::windows::core::Vtable::vtable(self).End)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFCdmSuspendNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCdmSuspendNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCdmSuspendNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11334,7 +11334,7 @@ impl IMFClock { (::windows::core::Vtable::vtable(self).GetProperties)(::windows::core::Vtable::as_raw(self), pclockproperties).ok() } } -::windows::core::interface_hierarchy!(IMFClock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFClock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFClock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11382,7 +11382,7 @@ impl IMFClockConsumer { (::windows::core::Vtable::vtable(self).GetPresentationClock)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFClockConsumer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFClockConsumer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFClockConsumer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11432,7 +11432,7 @@ impl IMFClockStateSink { (::windows::core::Vtable::vtable(self).OnClockSetRate)(::windows::core::Vtable::as_raw(self), hnssystemtime, flrate).ok() } } -::windows::core::interface_hierarchy!(IMFClockStateSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFClockStateSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFClockStateSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11497,7 +11497,7 @@ impl IMFCollection { (::windows::core::Vtable::vtable(self).RemoveAllElements)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11570,7 +11570,7 @@ impl IMFContentDecryptionModule { (::windows::core::Vtable::vtable(self).GetProtectionSystemIds)(::windows::core::Vtable::as_raw(self), systemids, count).ok() } } -::windows::core::interface_hierarchy!(IMFContentDecryptionModule, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentDecryptionModule, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentDecryptionModule { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11629,7 +11629,7 @@ impl IMFContentDecryptionModuleAccess { (::windows::core::Vtable::vtable(self).GetKeySystem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFContentDecryptionModuleAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentDecryptionModuleAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentDecryptionModuleAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11689,7 +11689,7 @@ impl IMFContentDecryptionModuleFactory { (::windows::core::Vtable::vtable(self).CreateContentDecryptionModuleAccess)(::windows::core::Vtable::as_raw(self), keysystem.into().abi(), ::core::mem::transmute(configurations.as_ptr()), configurations.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFContentDecryptionModuleFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentDecryptionModuleFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentDecryptionModuleFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11765,7 +11765,7 @@ impl IMFContentDecryptionModuleSession { (::windows::core::Vtable::vtable(self).Remove)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFContentDecryptionModuleSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentDecryptionModuleSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentDecryptionModuleSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11818,7 +11818,7 @@ impl IMFContentDecryptionModuleSessionCallbacks { (::windows::core::Vtable::vtable(self).KeyStatusChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFContentDecryptionModuleSessionCallbacks, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentDecryptionModuleSessionCallbacks, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentDecryptionModuleSessionCallbacks { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11857,7 +11857,7 @@ impl IMFContentDecryptorContext { (::windows::core::Vtable::vtable(self).InitializeHardwareKey)(::windows::core::Vtable::as_raw(self), inputprivatedata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(inputprivatedata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFContentDecryptorContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentDecryptorContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentDecryptorContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11916,7 +11916,7 @@ impl IMFContentEnabler { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFContentEnabler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentEnabler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentEnabler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11965,7 +11965,7 @@ impl IMFContentProtectionDevice { (::windows::core::Vtable::vtable(self).GetPrivateDataByteCount)(::windows::core::Vtable::as_raw(self), privateinputbytecount, privateoutputbytecount).ok() } } -::windows::core::interface_hierarchy!(IMFContentProtectionDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentProtectionDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentProtectionDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12015,7 +12015,7 @@ impl IMFContentProtectionManager { (::windows::core::Vtable::vtable(self).EndEnableContent)(::windows::core::Vtable::as_raw(self), presult.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFContentProtectionManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFContentProtectionManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFContentProtectionManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12061,7 +12061,7 @@ impl IMFD3D12SynchronizationObject { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFD3D12SynchronizationObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFD3D12SynchronizationObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFD3D12SynchronizationObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12131,7 +12131,7 @@ impl IMFD3D12SynchronizationObjectCommands { (::windows::core::Vtable::vtable(self).EnqueueResourceRelease)(::windows::core::Vtable::as_raw(self), pconsumercommandqueue.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFD3D12SynchronizationObjectCommands, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFD3D12SynchronizationObjectCommands, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFD3D12SynchronizationObjectCommands { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12189,7 +12189,7 @@ impl IMFDLNASinkInit { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pbytestream.into().abi(), fpal.into()).ok() } } -::windows::core::interface_hierarchy!(IMFDLNASinkInit, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFDLNASinkInit, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFDLNASinkInit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12232,7 +12232,7 @@ impl IMFDRMNetHelper { (::windows::core::Vtable::vtable(self).GetChainedLicenseResponse)(::windows::core::Vtable::as_raw(self), pplicenseresponse, pcblicenseresponse).ok() } } -::windows::core::interface_hierarchy!(IMFDRMNetHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFDRMNetHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFDRMNetHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12283,7 +12283,7 @@ impl IMFDXGIBuffer { (::windows::core::Vtable::vtable(self).SetUnknown)(::windows::core::Vtable::as_raw(self), guid, punkdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFDXGIBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFDXGIBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFDXGIBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12374,7 +12374,7 @@ impl IMFDXGIDeviceManager { (::windows::core::Vtable::vtable(self).UnlockDevice)(::windows::core::Vtable::as_raw(self), hdevice.into(), fsavestate.into()).ok() } } -::windows::core::interface_hierarchy!(IMFDXGIDeviceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFDXGIDeviceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFDXGIDeviceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12436,7 +12436,7 @@ impl IMFDXGIDeviceManagerSource { (::windows::core::Vtable::vtable(self).GetManager)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFDXGIDeviceManagerSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFDXGIDeviceManagerSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFDXGIDeviceManagerSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12479,7 +12479,7 @@ impl IMFDesiredSample { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFDesiredSample, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFDesiredSample, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFDesiredSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12598,7 +12598,7 @@ impl IMFDeviceTransform { (::windows::core::Vtable::vtable(self).FlushOutputStream)(::windows::core::Vtable::as_raw(self), dwstreamindex, dwflags).ok() } } -::windows::core::interface_hierarchy!(IMFDeviceTransform, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFDeviceTransform, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFDeviceTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12657,7 +12657,7 @@ impl IMFDeviceTransformCallback { (::windows::core::Vtable::vtable(self).OnBufferSent)(::windows::core::Vtable::as_raw(self), pcallbackattributes.into().abi(), pinid).ok() } } -::windows::core::interface_hierarchy!(IMFDeviceTransformCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFDeviceTransformCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFDeviceTransformCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12709,7 +12709,7 @@ impl IMFExtendedCameraControl { (::windows::core::Vtable::vtable(self).CommitSettings)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFExtendedCameraControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFExtendedCameraControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFExtendedCameraControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12752,7 +12752,7 @@ impl IMFExtendedCameraController { (::windows::core::Vtable::vtable(self).GetExtendedCameraControl)(::windows::core::Vtable::as_raw(self), dwstreamindex, ulpropertyid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFExtendedCameraController, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFExtendedCameraController, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFExtendedCameraController { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12796,7 +12796,7 @@ impl IMFExtendedCameraIntrinsicModel { (::windows::core::Vtable::vtable(self).GetDistortionModelType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFExtendedCameraIntrinsicModel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicModel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFExtendedCameraIntrinsicModel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12856,7 +12856,7 @@ impl IMFExtendedCameraIntrinsics { (::windows::core::Vtable::vtable(self).AddIntrinsicModel)(::windows::core::Vtable::as_raw(self), pintrinsicmodel.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFExtendedCameraIntrinsics, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFExtendedCameraIntrinsics, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFExtendedCameraIntrinsics { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12901,7 +12901,7 @@ impl IMFExtendedCameraIntrinsicsDistortionModel6KT { (::windows::core::Vtable::vtable(self).SetDistortionModel)(::windows::core::Vtable::as_raw(self), pdistortionmodel).ok() } } -::windows::core::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModel6KT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModel6KT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFExtendedCameraIntrinsicsDistortionModel6KT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12942,7 +12942,7 @@ impl IMFExtendedCameraIntrinsicsDistortionModelArcTan { (::windows::core::Vtable::vtable(self).SetDistortionModel)(::windows::core::Vtable::as_raw(self), pdistortionmodel).ok() } } -::windows::core::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModelArcTan, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModelArcTan, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFExtendedCameraIntrinsicsDistortionModelArcTan { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12981,7 +12981,7 @@ impl IMFExtendedDRMTypeSupport { (::windows::core::Vtable::vtable(self).IsTypeSupportedEx)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(r#type), ::core::mem::transmute_copy(keysystem), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFExtendedDRMTypeSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFExtendedDRMTypeSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFExtendedDRMTypeSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13021,7 +13021,7 @@ impl IMFFieldOfUseMFTUnlock { (::windows::core::Vtable::vtable(self).Unlock)(::windows::core::Vtable::as_raw(self), punkmft.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFFieldOfUseMFTUnlock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFFieldOfUseMFTUnlock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFFieldOfUseMFTUnlock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13107,7 +13107,7 @@ impl IMFFinalizableMediaSink { (::windows::core::Vtable::vtable(self).EndFinalize)(::windows::core::Vtable::as_raw(self), presult.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFFinalizableMediaSink, ::windows::core::IUnknown, IMFMediaSink); +::windows::imp::interface_hierarchy!(IMFFinalizableMediaSink, ::windows::core::IUnknown, IMFMediaSink); impl ::core::cmp::PartialEq for IMFFinalizableMediaSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13149,7 +13149,7 @@ impl IMFGetService { (::windows::core::Vtable::vtable(self).GetService)(::windows::core::Vtable::as_raw(self), guidservice, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFGetService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFGetService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFGetService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13191,7 +13191,7 @@ impl IMFHDCPStatus { (::windows::core::Vtable::vtable(self).Set)(::windows::core::Vtable::as_raw(self), status).ok() } } -::windows::core::interface_hierarchy!(IMFHDCPStatus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFHDCPStatus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFHDCPStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13315,7 +13315,7 @@ impl IMFHttpDownloadRequest { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFHttpDownloadRequest, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFHttpDownloadRequest, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFHttpDownloadRequest { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13392,7 +13392,7 @@ impl IMFHttpDownloadSession { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFHttpDownloadSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFHttpDownloadSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFHttpDownloadSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13438,7 +13438,7 @@ impl IMFHttpDownloadSessionProvider { (::windows::core::Vtable::vtable(self).CreateHttpDownloadSession)(::windows::core::Vtable::as_raw(self), wszscheme.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFHttpDownloadSessionProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFHttpDownloadSessionProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFHttpDownloadSessionProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13484,7 +13484,7 @@ impl IMFImageSharingEngine { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFImageSharingEngine, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFImageSharingEngine, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFImageSharingEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13524,7 +13524,7 @@ impl IMFImageSharingEngineClassFactory { (::windows::core::Vtable::vtable(self).CreateInstanceFromUDN)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(puniquedevicename), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFImageSharingEngineClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFImageSharingEngineClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFImageSharingEngineClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13578,7 +13578,7 @@ impl IMFInputTrustAuthority { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFInputTrustAuthority, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFInputTrustAuthority, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFInputTrustAuthority { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13620,7 +13620,7 @@ impl IMFLocalMFTRegistration { (::windows::core::Vtable::vtable(self).RegisterMFTs)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pmfts.as_ptr()), pmfts.len() as _).ok() } } -::windows::core::interface_hierarchy!(IMFLocalMFTRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFLocalMFTRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFLocalMFTRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13671,7 +13671,7 @@ impl IMFMediaBuffer { (::windows::core::Vtable::vtable(self).GetMaxLength)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13881,7 +13881,7 @@ impl IMFMediaEngine { (::windows::core::Vtable::vtable(self).OnVideoStreamTick)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEngine, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngine, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14002,7 +14002,7 @@ impl IMFMediaEngineAudioEndpointId { (::windows::core::Vtable::vtable(self).GetAudioEndpointId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEngineAudioEndpointId, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineAudioEndpointId, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineAudioEndpointId { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14052,7 +14052,7 @@ impl IMFMediaEngineClassFactory { (::windows::core::Vtable::vtable(self).CreateError)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEngineClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14092,7 +14092,7 @@ impl IMFMediaEngineClassFactory2 { (::windows::core::Vtable::vtable(self).CreateMediaKeys2)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(keysystem), ::core::mem::transmute_copy(defaultcdmstorepath), ::core::mem::transmute_copy(inprivatecdmstorepath), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEngineClassFactory2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineClassFactory2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineClassFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14132,7 +14132,7 @@ impl IMFMediaEngineClassFactory3 { (::windows::core::Vtable::vtable(self).CreateMediaKeySystemAccess)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(keysystem), ::core::mem::transmute(ppsupportedconfigurationsarray.as_ptr()), ppsupportedconfigurationsarray.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEngineClassFactory3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineClassFactory3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineClassFactory3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14175,7 +14175,7 @@ impl IMFMediaEngineClassFactory4 { (::windows::core::Vtable::vtable(self).CreateContentDecryptionModuleFactory)(::windows::core::Vtable::as_raw(self), keysystem.into().abi(), riid, ppvobject).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineClassFactory4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineClassFactory4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineClassFactory4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14241,7 +14241,7 @@ impl IMFMediaEngineClassFactoryEx { (::windows::core::Vtable::vtable(self).IsTypeSupported)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(r#type), ::core::mem::transmute_copy(keysystem), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEngineClassFactoryEx, ::windows::core::IUnknown, IMFMediaEngineClassFactory); +::windows::imp::interface_hierarchy!(IMFMediaEngineClassFactoryEx, ::windows::core::IUnknown, IMFMediaEngineClassFactory); impl ::core::cmp::PartialEq for IMFMediaEngineClassFactoryEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14290,7 +14290,7 @@ impl IMFMediaEngineEME { (::windows::core::Vtable::vtable(self).SetMediaKeys)(::windows::core::Vtable::as_raw(self), keys.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineEME, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineEME, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineEME { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14331,7 +14331,7 @@ impl IMFMediaEngineEMENotify { (::windows::core::Vtable::vtable(self).WaitingForKey)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFMediaEngineEMENotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineEMENotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineEMENotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14728,7 +14728,7 @@ impl IMFMediaEngineEx { (::windows::core::Vtable::vtable(self).EnableTimeUpdateTimer)(::windows::core::Vtable::as_raw(self), fenabletimer.into()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineEx, ::windows::core::IUnknown, IMFMediaEngine); +::windows::imp::interface_hierarchy!(IMFMediaEngineEx, ::windows::core::IUnknown, IMFMediaEngine); impl ::core::cmp::PartialEq for IMFMediaEngineEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14882,7 +14882,7 @@ impl IMFMediaEngineExtension { (::windows::core::Vtable::vtable(self).EndCreateObject)(::windows::core::Vtable::as_raw(self), presult.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEngineExtension, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineExtension, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineExtension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14925,7 +14925,7 @@ impl IMFMediaEngineNeedKeyNotify { (::windows::core::Vtable::vtable(self).NeedKey)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(initdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), initdata.as_deref().map_or(0, |slice| slice.len() as _)) } } -::windows::core::interface_hierarchy!(IMFMediaEngineNeedKeyNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineNeedKeyNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineNeedKeyNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14962,7 +14962,7 @@ impl IMFMediaEngineNotify { (::windows::core::Vtable::vtable(self).EventNotify)(::windows::core::Vtable::as_raw(self), event, param1, param2).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15001,7 +15001,7 @@ impl IMFMediaEngineOPMInfo { (::windows::core::Vtable::vtable(self).GetOPMInfo)(::windows::core::Vtable::as_raw(self), pstatus, pconstricted).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineOPMInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineOPMInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineOPMInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15074,7 +15074,7 @@ impl IMFMediaEngineProtectedContent { (::windows::core::Vtable::vtable(self).SetApplicationCertificate)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbblob.as_ptr()), pbblob.len() as _).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineProtectedContent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineProtectedContent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineProtectedContent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15140,7 +15140,7 @@ impl IMFMediaEngineSrcElements { (::windows::core::Vtable::vtable(self).RemoveAllElements)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineSrcElements, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineSrcElements, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineSrcElements { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15207,7 +15207,7 @@ impl IMFMediaEngineSrcElementsEx { (::windows::core::Vtable::vtable(self).GetKeySystem)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEngineSrcElementsEx, ::windows::core::IUnknown, IMFMediaEngineSrcElements); +::windows::imp::interface_hierarchy!(IMFMediaEngineSrcElementsEx, ::windows::core::IUnknown, IMFMediaEngineSrcElements); impl ::core::cmp::PartialEq for IMFMediaEngineSrcElementsEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15259,7 +15259,7 @@ impl IMFMediaEngineSupportsSourceTransfer { (::windows::core::Vtable::vtable(self).AttachMediaSource)(::windows::core::Vtable::as_raw(self), pbytestream.into().abi(), pmediasource.into().abi(), pmse.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineSupportsSourceTransfer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineSupportsSourceTransfer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineSupportsSourceTransfer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15304,7 +15304,7 @@ impl IMFMediaEngineTransferSource { (::windows::core::Vtable::vtable(self).TransferSourceToMediaEngine)(::windows::core::Vtable::as_raw(self), destination.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineTransferSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineTransferSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineTransferSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15350,7 +15350,7 @@ impl IMFMediaEngineWebSupport { (::windows::core::Vtable::vtable(self).DisconnectWebAudio)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEngineWebSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEngineWebSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEngineWebSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15401,7 +15401,7 @@ impl IMFMediaError { (::windows::core::Vtable::vtable(self).SetExtendedErrorCode)(::windows::core::Vtable::as_raw(self), error).ok() } } -::windows::core::interface_hierarchy!(IMFMediaError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15582,7 +15582,7 @@ impl IMFMediaEvent { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaEvent, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFMediaEvent, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFMediaEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15645,7 +15645,7 @@ impl IMFMediaEventGenerator { (::windows::core::Vtable::vtable(self).QueueEvent)(::windows::core::Vtable::as_raw(self), met, guidextendedtype, hrstatus, pvvalue).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEventGenerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEventGenerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEventGenerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15723,7 +15723,7 @@ impl IMFMediaEventQueue { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaEventQueue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaEventQueue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaEventQueue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15783,7 +15783,7 @@ impl IMFMediaKeySession { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaKeySession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaKeySession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaKeySession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15860,7 +15860,7 @@ impl IMFMediaKeySession2 { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaKeySession2, ::windows::core::IUnknown, IMFMediaKeySession); +::windows::imp::interface_hierarchy!(IMFMediaKeySession2, ::windows::core::IUnknown, IMFMediaKeySession); impl ::core::cmp::PartialEq for IMFMediaKeySession2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15911,7 +15911,7 @@ impl IMFMediaKeySessionNotify { (::windows::core::Vtable::vtable(self).KeyError)(::windows::core::Vtable::as_raw(self), code, systemcode) } } -::windows::core::interface_hierarchy!(IMFMediaKeySessionNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaKeySessionNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaKeySessionNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15962,7 +15962,7 @@ impl IMFMediaKeySessionNotify2 { (::windows::core::Vtable::vtable(self).KeyStatusChange)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFMediaKeySessionNotify2, ::windows::core::IUnknown, IMFMediaKeySessionNotify); +::windows::imp::interface_hierarchy!(IMFMediaKeySessionNotify2, ::windows::core::IUnknown, IMFMediaKeySessionNotify); impl ::core::cmp::PartialEq for IMFMediaKeySessionNotify2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16016,7 +16016,7 @@ impl IMFMediaKeySystemAccess { (::windows::core::Vtable::vtable(self).KeySystem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaKeySystemAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaKeySystemAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaKeySystemAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16076,7 +16076,7 @@ impl IMFMediaKeys { (::windows::core::Vtable::vtable(self).GetSuspendNotify)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaKeys, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaKeys, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaKeys { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16145,7 +16145,7 @@ impl IMFMediaKeys2 { (::windows::core::Vtable::vtable(self).GetDOMException)(::windows::core::Vtable::as_raw(self), systemcode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaKeys2, ::windows::core::IUnknown, IMFMediaKeys); +::windows::imp::interface_hierarchy!(IMFMediaKeys2, ::windows::core::IUnknown, IMFMediaKeys); impl ::core::cmp::PartialEq for IMFMediaKeys2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16242,7 +16242,7 @@ impl IMFMediaSession { (::windows::core::Vtable::vtable(self).GetFullTopology)(::windows::core::Vtable::as_raw(self), dwgetfulltopologyflags, topoid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaSession, ::windows::core::IUnknown, IMFMediaEventGenerator); +::windows::imp::interface_hierarchy!(IMFMediaSession, ::windows::core::IUnknown, IMFMediaEventGenerator); impl ::core::cmp::PartialEq for IMFMediaSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16463,7 +16463,7 @@ impl IMFMediaSharingEngine { (::windows::core::Vtable::vtable(self).GetDevice)(::windows::core::Vtable::as_raw(self), pdevice).ok() } } -::windows::core::interface_hierarchy!(IMFMediaSharingEngine, ::windows::core::IUnknown, IMFMediaEngine); +::windows::imp::interface_hierarchy!(IMFMediaSharingEngine, ::windows::core::IUnknown, IMFMediaEngine); impl ::core::cmp::PartialEq for IMFMediaSharingEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16504,7 +16504,7 @@ impl IMFMediaSharingEngineClassFactory { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), dwflags, pattr.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaSharingEngineClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaSharingEngineClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaSharingEngineClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16577,7 +16577,7 @@ impl IMFMediaSink { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16622,7 +16622,7 @@ impl IMFMediaSinkPreroll { (::windows::core::Vtable::vtable(self).NotifyPreroll)(::windows::core::Vtable::as_raw(self), hnsupcomingstarttime).ok() } } -::windows::core::interface_hierarchy!(IMFMediaSinkPreroll, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaSinkPreroll, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaSinkPreroll { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16704,7 +16704,7 @@ impl IMFMediaSource { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaSource, ::windows::core::IUnknown, IMFMediaEventGenerator); +::windows::imp::interface_hierarchy!(IMFMediaSource, ::windows::core::IUnknown, IMFMediaEventGenerator); impl ::core::cmp::PartialEq for IMFMediaSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16814,7 +16814,7 @@ impl IMFMediaSource2 { (::windows::core::Vtable::vtable(self).SetMediaType)(::windows::core::Vtable::as_raw(self), dwstreamid, pmediatype.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaSource2, ::windows::core::IUnknown, IMFMediaEventGenerator, IMFMediaSource, IMFMediaSourceEx); +::windows::imp::interface_hierarchy!(IMFMediaSource2, ::windows::core::IUnknown, IMFMediaEventGenerator, IMFMediaSource, IMFMediaSourceEx); impl ::core::cmp::PartialEq for IMFMediaSource2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16910,7 +16910,7 @@ impl IMFMediaSourceEx { (::windows::core::Vtable::vtable(self).SetD3DManager)(::windows::core::Vtable::as_raw(self), pmanager.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaSourceEx, ::windows::core::IUnknown, IMFMediaEventGenerator, IMFMediaSource); +::windows::imp::interface_hierarchy!(IMFMediaSourceEx, ::windows::core::IUnknown, IMFMediaEventGenerator, IMFMediaSource); impl ::core::cmp::PartialEq for IMFMediaSourceEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16985,7 +16985,7 @@ impl IMFMediaSourceExtension { (::windows::core::Vtable::vtable(self).GetSourceBuffer)(::windows::core::Vtable::as_raw(self), dwstreamindex) } } -::windows::core::interface_hierarchy!(IMFMediaSourceExtension, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaSourceExtension, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaSourceExtension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17037,7 +17037,7 @@ impl IMFMediaSourceExtensionLiveSeekableRange { (::windows::core::Vtable::vtable(self).ClearLiveSeekableRange)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaSourceExtensionLiveSeekableRange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaSourceExtensionLiveSeekableRange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaSourceExtensionLiveSeekableRange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17081,7 +17081,7 @@ impl IMFMediaSourceExtensionNotify { (::windows::core::Vtable::vtable(self).OnSourceClose)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFMediaSourceExtensionNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaSourceExtensionNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaSourceExtensionNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17123,7 +17123,7 @@ impl IMFMediaSourcePresentationProvider { (::windows::core::Vtable::vtable(self).ForceEndOfPresentation)(::windows::core::Vtable::as_raw(self), ppresentationdescriptor.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaSourcePresentationProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaSourcePresentationProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaSourcePresentationProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17164,7 +17164,7 @@ impl IMFMediaSourceTopologyProvider { (::windows::core::Vtable::vtable(self).GetMediaSourceTopology)(::windows::core::Vtable::as_raw(self), ppresentationdescriptor.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaSourceTopologyProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaSourceTopologyProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaSourceTopologyProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17235,7 +17235,7 @@ impl IMFMediaStream { (::windows::core::Vtable::vtable(self).RequestSample)(::windows::core::Vtable::as_raw(self), ptoken.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaStream, ::windows::core::IUnknown, IMFMediaEventGenerator); +::windows::imp::interface_hierarchy!(IMFMediaStream, ::windows::core::IUnknown, IMFMediaEventGenerator); impl ::core::cmp::PartialEq for IMFMediaStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17315,7 +17315,7 @@ impl IMFMediaStream2 { (::windows::core::Vtable::vtable(self).GetStreamState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaStream2, ::windows::core::IUnknown, IMFMediaEventGenerator, IMFMediaStream); +::windows::imp::interface_hierarchy!(IMFMediaStream2, ::windows::core::IUnknown, IMFMediaEventGenerator, IMFMediaStream); impl ::core::cmp::PartialEq for IMFMediaStream2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17356,7 +17356,7 @@ impl IMFMediaStreamSourceSampleRequest { (::windows::core::Vtable::vtable(self).SetSample)(::windows::core::Vtable::as_raw(self), value.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFMediaStreamSourceSampleRequest, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaStreamSourceSampleRequest, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaStreamSourceSampleRequest { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17412,7 +17412,7 @@ impl IMFMediaTimeRange { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFMediaTimeRange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaTimeRange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaTimeRange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17603,7 +17603,7 @@ impl IMFMediaType { (::windows::core::Vtable::vtable(self).FreeRepresentation)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidrepresentation), pvrepresentation).ok() } } -::windows::core::interface_hierarchy!(IMFMediaType, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFMediaType, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFMediaType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17672,7 +17672,7 @@ impl IMFMediaTypeHandler { (::windows::core::Vtable::vtable(self).GetMajorType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMediaTypeHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMediaTypeHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMediaTypeHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17756,7 +17756,7 @@ impl IMFMetadata { (::windows::core::Vtable::vtable(self).GetAllPropertyNames)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMetadata, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMetadata, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMetadata { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17815,7 +17815,7 @@ impl IMFMetadataProvider { (::windows::core::Vtable::vtable(self).GetMFMetadata)(::windows::core::Vtable::as_raw(self), ppresentationdescriptor.into().abi(), dwstreamidentifier, dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMetadataProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMetadataProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMetadataProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17857,7 +17857,7 @@ impl IMFMuxStreamAttributesManager { (::windows::core::Vtable::vtable(self).GetAttributes)(::windows::core::Vtable::as_raw(self), dwmuxstreamindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMuxStreamAttributesManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMuxStreamAttributesManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMuxStreamAttributesManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17914,7 +17914,7 @@ impl IMFMuxStreamMediaTypeManager { (::windows::core::Vtable::vtable(self).GetStreamConfiguration)(::windows::core::Vtable::as_raw(self), ulindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFMuxStreamMediaTypeManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMuxStreamMediaTypeManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMuxStreamMediaTypeManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17964,7 +17964,7 @@ impl IMFMuxStreamSampleManager { (::windows::core::Vtable::vtable(self).GetStreamConfiguration)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFMuxStreamSampleManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFMuxStreamSampleManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFMuxStreamSampleManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18038,7 +18038,7 @@ impl IMFNetCredential { (::windows::core::Vtable::vtable(self).LoggedOnUser)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFNetCredential, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFNetCredential, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFNetCredential { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18113,7 +18113,7 @@ impl IMFNetCredentialCache { (::windows::core::Vtable::vtable(self).SetUserOptions)(::windows::core::Vtable::as_raw(self), pcred.into().abi(), dwoptionsflags).ok() } } -::windows::core::interface_hierarchy!(IMFNetCredentialCache, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFNetCredentialCache, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFNetCredentialCache { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18177,7 +18177,7 @@ impl IMFNetCredentialManager { (::windows::core::Vtable::vtable(self).SetGood)(::windows::core::Vtable::as_raw(self), pcred.into().abi(), fgood.into()).ok() } } -::windows::core::interface_hierarchy!(IMFNetCredentialManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFNetCredentialManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFNetCredentialManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18236,7 +18236,7 @@ impl IMFNetCrossOriginSupport { (::windows::core::Vtable::vtable(self).IsSameOrigin)(::windows::core::Vtable::as_raw(self), wszurl.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFNetCrossOriginSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFNetCrossOriginSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFNetCrossOriginSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18298,7 +18298,7 @@ impl IMFNetProxyLocator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFNetProxyLocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFNetProxyLocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFNetProxyLocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18346,7 +18346,7 @@ impl IMFNetProxyLocatorFactory { (::windows::core::Vtable::vtable(self).CreateProxyLocator)(::windows::core::Vtable::as_raw(self), pszprotocol.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFNetProxyLocatorFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFNetProxyLocatorFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFNetProxyLocatorFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18395,7 +18395,7 @@ impl IMFNetResourceFilter { (::windows::core::Vtable::vtable(self).OnSendingRequest)(::windows::core::Vtable::as_raw(self), pszurl.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFNetResourceFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFNetResourceFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFNetResourceFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18444,7 +18444,7 @@ impl IMFNetSchemeHandlerConfig { (::windows::core::Vtable::vtable(self).ResetProtocolRolloverSettings)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFNetSchemeHandlerConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFNetSchemeHandlerConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFNetSchemeHandlerConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18489,7 +18489,7 @@ impl IMFObjectReferenceStream { (::windows::core::Vtable::vtable(self).LoadReference)(::windows::core::Vtable::as_raw(self), riid, ppv).ok() } } -::windows::core::interface_hierarchy!(IMFObjectReferenceStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFObjectReferenceStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFObjectReferenceStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18662,7 +18662,7 @@ impl IMFOutputPolicy { (::windows::core::Vtable::vtable(self).GetMinimumGRLVersion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFOutputPolicy, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFOutputPolicy, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFOutputPolicy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18836,7 +18836,7 @@ impl IMFOutputSchema { (::windows::core::Vtable::vtable(self).GetOriginatorID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFOutputSchema, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFOutputSchema, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFOutputSchema { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18879,7 +18879,7 @@ impl IMFOutputTrustAuthority { (::windows::core::Vtable::vtable(self).SetPolicy)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pppolicy.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pppolicy.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppbticket.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbticket.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMFOutputTrustAuthority, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFOutputTrustAuthority, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFOutputTrustAuthority { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18920,7 +18920,7 @@ impl IMFPMPClient { (::windows::core::Vtable::vtable(self).SetPMPHost)(::windows::core::Vtable::as_raw(self), ppmphost.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFPMPClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPMPClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPMPClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18960,7 +18960,7 @@ impl IMFPMPClientApp { (::windows::core::Vtable::vtable(self).SetPMPHost)(::windows::core::Vtable::as_raw(self), ppmphost.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFPMPClientApp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPMPClientApp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPMPClientApp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19010,7 +19010,7 @@ impl IMFPMPHost { (::windows::core::Vtable::vtable(self).CreateObjectByCLSID)(::windows::core::Vtable::as_raw(self), clsid, pstream.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFPMPHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPMPHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPMPHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19066,7 +19066,7 @@ impl IMFPMPHostApp { (::windows::core::Vtable::vtable(self).ActivateClassById)(::windows::core::Vtable::as_raw(self), id.into().abi(), pstream.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFPMPHostApp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPMPHostApp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPMPHostApp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19118,7 +19118,7 @@ impl IMFPMPServer { (::windows::core::Vtable::vtable(self).CreateObjectByCLSID)(::windows::core::Vtable::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFPMPServer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPMPServer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPMPServer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19251,7 +19251,7 @@ impl IMFPMediaItem { (::windows::core::Vtable::vtable(self).GetMetadata)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFPMediaItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPMediaItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPMediaItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19511,7 +19511,7 @@ impl IMFPMediaPlayer { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFPMediaPlayer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPMediaPlayer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPMediaPlayer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19627,7 +19627,7 @@ impl IMFPMediaPlayerCallback { (::windows::core::Vtable::vtable(self).OnMediaPlayerEvent)(::windows::core::Vtable::as_raw(self), peventheader) } } -::windows::core::interface_hierarchy!(IMFPMediaPlayerCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPMediaPlayerCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPMediaPlayerCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19695,7 +19695,7 @@ impl IMFPluginControl { (::windows::core::Vtable::vtable(self).SetDisabled)(::windows::core::Vtable::as_raw(self), plugintype, clsid, disabled.into()).ok() } } -::windows::core::interface_hierarchy!(IMFPluginControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFPluginControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFPluginControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19771,7 +19771,7 @@ impl IMFPluginControl2 { (::windows::core::Vtable::vtable(self).SetPolicy)(::windows::core::Vtable::as_raw(self), policy).ok() } } -::windows::core::interface_hierarchy!(IMFPluginControl2, ::windows::core::IUnknown, IMFPluginControl); +::windows::imp::interface_hierarchy!(IMFPluginControl2, ::windows::core::IUnknown, IMFPluginControl); impl ::core::cmp::PartialEq for IMFPluginControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19858,7 +19858,7 @@ impl IMFPresentationClock { (::windows::core::Vtable::vtable(self).Pause)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFPresentationClock, ::windows::core::IUnknown, IMFClock); +::windows::imp::interface_hierarchy!(IMFPresentationClock, ::windows::core::IUnknown, IMFClock); impl ::core::cmp::PartialEq for IMFPresentationClock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20044,7 +20044,7 @@ impl IMFPresentationDescriptor { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFPresentationDescriptor, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFPresentationDescriptor, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFPresentationDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20107,7 +20107,7 @@ impl IMFPresentationTimeSource { (::windows::core::Vtable::vtable(self).GetUnderlyingClock)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFPresentationTimeSource, ::windows::core::IUnknown, IMFClock); +::windows::imp::interface_hierarchy!(IMFPresentationTimeSource, ::windows::core::IUnknown, IMFClock); impl ::core::cmp::PartialEq for IMFPresentationTimeSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20147,7 +20147,7 @@ impl IMFProtectedEnvironmentAccess { (::windows::core::Vtable::vtable(self).ReadGRL)(::windows::core::Vtable::as_raw(self), outputlength, output).ok() } } -::windows::core::interface_hierarchy!(IMFProtectedEnvironmentAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFProtectedEnvironmentAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFProtectedEnvironmentAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20199,7 +20199,7 @@ impl IMFQualityAdvise { (::windows::core::Vtable::vtable(self).DropTime)(::windows::core::Vtable::as_raw(self), hnsamounttodrop).ok() } } -::windows::core::interface_hierarchy!(IMFQualityAdvise, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFQualityAdvise, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFQualityAdvise { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20261,7 +20261,7 @@ impl IMFQualityAdvise2 { (::windows::core::Vtable::vtable(self).NotifyQualityEvent)(::windows::core::Vtable::as_raw(self), pevent.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFQualityAdvise2, ::windows::core::IUnknown, IMFQualityAdvise); +::windows::imp::interface_hierarchy!(IMFQualityAdvise2, ::windows::core::IUnknown, IMFQualityAdvise); impl ::core::cmp::PartialEq for IMFQualityAdvise2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20303,7 +20303,7 @@ impl IMFQualityAdviseLimits { (::windows::core::Vtable::vtable(self).GetMinimumQualityLevel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFQualityAdviseLimits, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFQualityAdviseLimits, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFQualityAdviseLimits { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20374,7 +20374,7 @@ impl IMFQualityManager { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFQualityManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFQualityManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFQualityManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20426,7 +20426,7 @@ impl IMFRateControl { (::windows::core::Vtable::vtable(self).GetRate)(::windows::core::Vtable::as_raw(self), pfthin, pflrate).ok() } } -::windows::core::interface_hierarchy!(IMFRateControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFRateControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFRateControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20493,7 +20493,7 @@ impl IMFRateSupport { (::windows::core::Vtable::vtable(self).IsRateSupported)(::windows::core::Vtable::as_raw(self), fthin.into(), flrate, pflnearestsupportedrate).ok() } } -::windows::core::interface_hierarchy!(IMFRateSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFRateSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFRateSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20556,7 +20556,7 @@ impl IMFReadWriteClassFactory { (::windows::core::Vtable::vtable(self).CreateInstanceFromObject)(::windows::core::Vtable::as_raw(self), clsid, punkobject.into().abi(), pattributes.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFReadWriteClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFReadWriteClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFReadWriteClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20603,7 +20603,7 @@ impl IMFRealTimeClient { (::windows::core::Vtable::vtable(self).SetWorkQueue)(::windows::core::Vtable::as_raw(self), dwworkqueueid).ok() } } -::windows::core::interface_hierarchy!(IMFRealTimeClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFRealTimeClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFRealTimeClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20651,7 +20651,7 @@ impl IMFRealTimeClientEx { (::windows::core::Vtable::vtable(self).SetWorkQueueEx)(::windows::core::Vtable::as_raw(self), dwmultithreadedworkqueueid, lworkitembasepriority).ok() } } -::windows::core::interface_hierarchy!(IMFRealTimeClientEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFRealTimeClientEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFRealTimeClientEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20691,7 +20691,7 @@ impl IMFRelativePanelReport { (::windows::core::Vtable::vtable(self).GetRelativePanel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFRelativePanelReport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFRelativePanelReport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFRelativePanelReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20750,7 +20750,7 @@ impl IMFRelativePanelWatcher { (::windows::core::Vtable::vtable(self).GetReport)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFRelativePanelWatcher, ::windows::core::IUnknown, IMFShutdown); +::windows::imp::interface_hierarchy!(IMFRelativePanelWatcher, ::windows::core::IUnknown, IMFShutdown); impl ::core::cmp::PartialEq for IMFRelativePanelWatcher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20792,7 +20792,7 @@ impl IMFRemoteAsyncCallback { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), hr, premoteresult.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFRemoteAsyncCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFRemoteAsyncCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFRemoteAsyncCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20832,7 +20832,7 @@ impl IMFRemoteDesktopPlugin { (::windows::core::Vtable::vtable(self).UpdateTopology)(::windows::core::Vtable::as_raw(self), ptopology.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFRemoteDesktopPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFRemoteDesktopPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFRemoteDesktopPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20872,7 +20872,7 @@ impl IMFRemoteProxy { (::windows::core::Vtable::vtable(self).GetRemoteHost)(::windows::core::Vtable::as_raw(self), riid, ppv).ok() } } -::windows::core::interface_hierarchy!(IMFRemoteProxy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFRemoteProxy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFRemoteProxy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20927,7 +20927,7 @@ impl IMFSAMIStyle { (::windows::core::Vtable::vtable(self).GetSelectedStyle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSAMIStyle, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSAMIStyle, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSAMIStyle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21004,7 +21004,7 @@ impl IMFSSLCertificateManager { (::windows::core::Vtable::vtable(self).OnServerCertificate)(::windows::core::Vtable::as_raw(self), pszurl.into().abi(), ::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSSLCertificateManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSSLCertificateManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSSLCertificateManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21229,7 +21229,7 @@ impl IMFSample { (::windows::core::Vtable::vtable(self).CopyToBuffer)(::windows::core::Vtable::as_raw(self), pbuffer.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSample, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFSample, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21285,7 +21285,7 @@ impl IMFSampleAllocatorControl { (::windows::core::Vtable::vtable(self).GetAllocatorUsage)(::windows::core::Vtable::as_raw(self), dwoutputstreamid, pdwinputstreamid, peusage).ok() } } -::windows::core::interface_hierarchy!(IMFSampleAllocatorControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSampleAllocatorControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSampleAllocatorControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21347,7 +21347,7 @@ impl IMFSampleGrabberSinkCallback { (::windows::core::Vtable::vtable(self).OnShutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFSampleGrabberSinkCallback, ::windows::core::IUnknown, IMFClockStateSink); +::windows::imp::interface_hierarchy!(IMFSampleGrabberSinkCallback, ::windows::core::IUnknown, IMFClockStateSink); impl ::core::cmp::PartialEq for IMFSampleGrabberSinkCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21416,7 +21416,7 @@ impl IMFSampleGrabberSinkCallback2 { (::windows::core::Vtable::vtable(self).OnProcessSampleEx)(::windows::core::Vtable::as_raw(self), guidmajormediatype, dwsampleflags, llsampletime, llsampleduration, ::core::mem::transmute(psamplebuffer.as_ptr()), psamplebuffer.len() as _, pattributes.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSampleGrabberSinkCallback2, ::windows::core::IUnknown, IMFClockStateSink, IMFSampleGrabberSinkCallback); +::windows::imp::interface_hierarchy!(IMFSampleGrabberSinkCallback2, ::windows::core::IUnknown, IMFClockStateSink, IMFSampleGrabberSinkCallback); impl ::core::cmp::PartialEq for IMFSampleGrabberSinkCallback2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21467,7 +21467,7 @@ impl IMFSampleOutputStream { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFSampleOutputStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSampleOutputStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSampleOutputStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21520,7 +21520,7 @@ impl IMFSampleProtection { (::windows::core::Vtable::vtable(self).InitInputProtection)(::windows::core::Vtable::as_raw(self), dwversion, dwinputid, pbseed, cbseed).ok() } } -::windows::core::interface_hierarchy!(IMFSampleProtection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSampleProtection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSampleProtection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21579,7 +21579,7 @@ impl IMFSaveJob { (::windows::core::Vtable::vtable(self).GetProgress)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSaveJob, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSaveJob, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSaveJob { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21639,7 +21639,7 @@ impl IMFSchemeHandler { (::windows::core::Vtable::vtable(self).CancelObjectCreation)(::windows::core::Vtable::as_raw(self), piunknowncancelcookie.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSchemeHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSchemeHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSchemeHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21682,7 +21682,7 @@ impl IMFSecureBuffer { (::windows::core::Vtable::vtable(self).GetIdentifier)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSecureBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSecureBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSecureBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21722,7 +21722,7 @@ impl IMFSecureChannel { (::windows::core::Vtable::vtable(self).SetupSession)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbencryptedsessionkey.as_ptr()), pbencryptedsessionkey.len() as _).ok() } } -::windows::core::interface_hierarchy!(IMFSecureChannel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSecureChannel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSecureChannel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21762,7 +21762,7 @@ impl IMFSeekInfo { (::windows::core::Vtable::vtable(self).GetNearestKeyFrames)(::windows::core::Vtable::as_raw(self), pguidtimeformat, pvarstartposition, pvarpreviouskeyframe, pvarnextkeyframe).ok() } } -::windows::core::interface_hierarchy!(IMFSeekInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSeekInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSeekInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21814,7 +21814,7 @@ impl IMFSensorActivitiesReport { (::windows::core::Vtable::vtable(self).GetActivityReportByDeviceName)(::windows::core::Vtable::as_raw(self), symbolicname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSensorActivitiesReport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorActivitiesReport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorActivitiesReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21856,7 +21856,7 @@ impl IMFSensorActivitiesReportCallback { (::windows::core::Vtable::vtable(self).OnActivitiesReport)(::windows::core::Vtable::as_raw(self), sensoractivitiesreport.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSensorActivitiesReportCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorActivitiesReportCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorActivitiesReportCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21896,7 +21896,7 @@ impl IMFSensorActivityMonitor { (::windows::core::Vtable::vtable(self).Stop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFSensorActivityMonitor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorActivityMonitor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorActivityMonitor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21945,7 +21945,7 @@ impl IMFSensorActivityReport { (::windows::core::Vtable::vtable(self).GetProcessActivity)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSensorActivityReport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorActivityReport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorActivityReport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22016,7 +22016,7 @@ impl IMFSensorDevice { (::windows::core::Vtable::vtable(self).GetSensorDeviceMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSensorDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22088,7 +22088,7 @@ impl IMFSensorGroup { (::windows::core::Vtable::vtable(self).CreateMediaSource)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSensorGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22149,7 +22149,7 @@ impl IMFSensorProcessActivity { (::windows::core::Vtable::vtable(self).GetReportTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSensorProcessActivity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorProcessActivity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorProcessActivity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22216,7 +22216,7 @@ impl IMFSensorProfile { (::windows::core::Vtable::vtable(self).AddBlockedControl)(::windows::core::Vtable::as_raw(self), wzblockedcontrol.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSensorProfile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorProfile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22279,7 +22279,7 @@ impl IMFSensorProfileCollection { (::windows::core::Vtable::vtable(self).RemoveProfile)(::windows::core::Vtable::as_raw(self), profileid) } } -::windows::core::interface_hierarchy!(IMFSensorProfileCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorProfileCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorProfileCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22456,7 +22456,7 @@ impl IMFSensorStream { (::windows::core::Vtable::vtable(self).CloneSensorStream)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSensorStream, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFSensorStream, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFSensorStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22517,7 +22517,7 @@ impl IMFSensorTransformFactory { (::windows::core::Vtable::vtable(self).CreateTransform)(::windows::core::Vtable::as_raw(self), guidsensortransformid, pattributes.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSensorTransformFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSensorTransformFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSensorTransformFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22580,7 +22580,7 @@ impl IMFSequencerSource { (::windows::core::Vtable::vtable(self).UpdateTopologyFlags)(::windows::core::Vtable::as_raw(self), dwid, dwflags).ok() } } -::windows::core::interface_hierarchy!(IMFSequencerSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSequencerSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSequencerSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22625,7 +22625,7 @@ impl IMFSharingEngineClassFactory { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), dwflags, pattr.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSharingEngineClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSharingEngineClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSharingEngineClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22666,7 +22666,7 @@ impl IMFShutdown { (::windows::core::Vtable::vtable(self).GetShutdownStatus)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFShutdown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFShutdown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFShutdown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22707,7 +22707,7 @@ impl IMFSignedLibrary { (::windows::core::Vtable::vtable(self).GetProcedureAddress)(::windows::core::Vtable::as_raw(self), name.into().abi(), address).ok() } } -::windows::core::interface_hierarchy!(IMFSignedLibrary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSignedLibrary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSignedLibrary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22762,7 +22762,7 @@ impl IMFSimpleAudioVolume { (::windows::core::Vtable::vtable(self).GetMute)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSimpleAudioVolume, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSimpleAudioVolume, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSimpleAudioVolume { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22849,7 +22849,7 @@ impl IMFSinkWriter { (::windows::core::Vtable::vtable(self).GetStatistics)(::windows::core::Vtable::as_raw(self), dwstreamindex, pstats).ok() } } -::windows::core::interface_hierarchy!(IMFSinkWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSinkWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSinkWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22899,7 +22899,7 @@ impl IMFSinkWriterCallback { (::windows::core::Vtable::vtable(self).OnMarker)(::windows::core::Vtable::as_raw(self), dwstreamindex, pvcontext).ok() } } -::windows::core::interface_hierarchy!(IMFSinkWriterCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSinkWriterCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSinkWriterCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22946,7 +22946,7 @@ impl IMFSinkWriterCallback2 { (::windows::core::Vtable::vtable(self).OnStreamError)(::windows::core::Vtable::as_raw(self), dwstreamindex, hrstatus).ok() } } -::windows::core::interface_hierarchy!(IMFSinkWriterCallback2, ::windows::core::IUnknown, IMFSinkWriterCallback); +::windows::imp::interface_hierarchy!(IMFSinkWriterCallback2, ::windows::core::IUnknown, IMFSinkWriterCallback); impl ::core::cmp::PartialEq for IMFSinkWriterCallback2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22994,7 +22994,7 @@ impl IMFSinkWriterEncoderConfig { (::windows::core::Vtable::vtable(self).PlaceEncodingParameters)(::windows::core::Vtable::as_raw(self), dwstreamindex, pencodingparameters.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSinkWriterEncoderConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSinkWriterEncoderConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSinkWriterEncoderConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23076,7 +23076,7 @@ impl IMFSinkWriterEx { (::windows::core::Vtable::vtable(self).GetTransformForStream)(::windows::core::Vtable::as_raw(self), dwstreamindex, dwtransformindex, ::core::mem::transmute(pguidcategory.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pptransform)).ok() } } -::windows::core::interface_hierarchy!(IMFSinkWriterEx, ::windows::core::IUnknown, IMFSinkWriter); +::windows::imp::interface_hierarchy!(IMFSinkWriterEx, ::windows::core::IUnknown, IMFSinkWriter); impl ::core::cmp::PartialEq for IMFSinkWriterEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23152,7 +23152,7 @@ impl IMFSourceBuffer { (::windows::core::Vtable::vtable(self).Remove)(::windows::core::Vtable::as_raw(self), start, end).ok() } } -::windows::core::interface_hierarchy!(IMFSourceBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSourceBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSourceBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23206,7 +23206,7 @@ impl IMFSourceBufferAppendMode { (::windows::core::Vtable::vtable(self).SetAppendMode)(::windows::core::Vtable::as_raw(self), mode).ok() } } -::windows::core::interface_hierarchy!(IMFSourceBufferAppendMode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSourceBufferAppendMode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSourceBufferAppendMode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23247,7 +23247,7 @@ impl IMFSourceBufferList { (::windows::core::Vtable::vtable(self).GetSourceBuffer)(::windows::core::Vtable::as_raw(self), index) } } -::windows::core::interface_hierarchy!(IMFSourceBufferList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSourceBufferList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSourceBufferList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23297,7 +23297,7 @@ impl IMFSourceBufferNotify { (::windows::core::Vtable::vtable(self).OnUpdateEnd)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFSourceBufferNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSourceBufferNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSourceBufferNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23341,7 +23341,7 @@ impl IMFSourceOpenMonitor { (::windows::core::Vtable::vtable(self).OnSourceEvent)(::windows::core::Vtable::as_raw(self), pevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSourceOpenMonitor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSourceOpenMonitor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSourceOpenMonitor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23423,7 +23423,7 @@ impl IMFSourceReader { (::windows::core::Vtable::vtable(self).GetPresentationAttribute)(::windows::core::Vtable::as_raw(self), dwstreamindex, guidattribute, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSourceReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSourceReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSourceReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23493,7 +23493,7 @@ impl IMFSourceReaderCallback { (::windows::core::Vtable::vtable(self).OnEvent)(::windows::core::Vtable::as_raw(self), dwstreamindex, pevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSourceReaderCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSourceReaderCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSourceReaderCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23550,7 +23550,7 @@ impl IMFSourceReaderCallback2 { (::windows::core::Vtable::vtable(self).OnStreamError)(::windows::core::Vtable::as_raw(self), dwstreamindex, hrstatus).ok() } } -::windows::core::interface_hierarchy!(IMFSourceReaderCallback2, ::windows::core::IUnknown, IMFSourceReaderCallback); +::windows::imp::interface_hierarchy!(IMFSourceReaderCallback2, ::windows::core::IUnknown, IMFSourceReaderCallback); impl ::core::cmp::PartialEq for IMFSourceReaderCallback2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23652,7 +23652,7 @@ impl IMFSourceReaderEx { (::windows::core::Vtable::vtable(self).GetTransformForStream)(::windows::core::Vtable::as_raw(self), dwstreamindex, dwtransformindex, ::core::mem::transmute(pguidcategory.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pptransform)).ok() } } -::windows::core::interface_hierarchy!(IMFSourceReaderEx, ::windows::core::IUnknown, IMFSourceReader); +::windows::imp::interface_hierarchy!(IMFSourceReaderEx, ::windows::core::IUnknown, IMFSourceReader); impl ::core::cmp::PartialEq for IMFSourceReaderEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23749,7 +23749,7 @@ impl IMFSourceResolver { (::windows::core::Vtable::vtable(self).CancelObjectCreation)(::windows::core::Vtable::as_raw(self), piunknowncancelcookie.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFSourceResolver, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSourceResolver, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSourceResolver { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23842,7 +23842,7 @@ impl IMFSpatialAudioObjectBuffer { (::windows::core::Vtable::vtable(self).GetMetadataItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSpatialAudioObjectBuffer, ::windows::core::IUnknown, IMFMediaBuffer); +::windows::imp::interface_hierarchy!(IMFSpatialAudioObjectBuffer, ::windows::core::IUnknown, IMFMediaBuffer); impl ::core::cmp::PartialEq for IMFSpatialAudioObjectBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24084,7 +24084,7 @@ impl IMFSpatialAudioSample { (::windows::core::Vtable::vtable(self).GetSpatialAudioObjectByIndex)(::windows::core::Vtable::as_raw(self), dwindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFSpatialAudioSample, ::windows::core::IUnknown, IMFAttributes, IMFSample); +::windows::imp::interface_hierarchy!(IMFSpatialAudioSample, ::windows::core::IUnknown, IMFAttributes, IMFSample); impl ::core::cmp::PartialEq for IMFSpatialAudioSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24254,7 +24254,7 @@ impl IMFStreamDescriptor { (::windows::core::Vtable::vtable(self).GetMediaTypeHandler)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFStreamDescriptor, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFStreamDescriptor, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFStreamDescriptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24338,7 +24338,7 @@ impl IMFStreamSink { (::windows::core::Vtable::vtable(self).Flush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFStreamSink, ::windows::core::IUnknown, IMFMediaEventGenerator); +::windows::imp::interface_hierarchy!(IMFStreamSink, ::windows::core::IUnknown, IMFMediaEventGenerator); impl ::core::cmp::PartialEq for IMFStreamSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24388,7 +24388,7 @@ impl IMFStreamingSinkConfig { (::windows::core::Vtable::vtable(self).StartStreaming)(::windows::core::Vtable::as_raw(self), fseekoffsetisbyteoffset.into(), qwseekoffset).ok() } } -::windows::core::interface_hierarchy!(IMFStreamingSinkConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFStreamingSinkConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFStreamingSinkConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24431,7 +24431,7 @@ impl IMFSystemId { (::windows::core::Vtable::vtable(self).Setup)(::windows::core::Vtable::as_raw(self), stage, pbin.len() as _, ::core::mem::transmute(pbin.as_ptr()), pcbout, ppbout).ok() } } -::windows::core::interface_hierarchy!(IMFSystemId, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFSystemId, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFSystemId { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24498,7 +24498,7 @@ impl IMFTimecodeTranslate { (::windows::core::Vtable::vtable(self).EndConvertHNSToTimecode)(::windows::core::Vtable::as_raw(self), presult.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTimecodeTranslate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimecodeTranslate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimecodeTranslate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24629,7 +24629,7 @@ impl IMFTimedText { (::windows::core::Vtable::vtable(self).IsInBandEnabled)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFTimedText, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedText, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedText { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24694,7 +24694,7 @@ impl IMFTimedTextBinary { (::windows::core::Vtable::vtable(self).GetData)(::windows::core::Vtable::as_raw(self), data, length).ok() } } -::windows::core::interface_hierarchy!(IMFTimedTextBinary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextBinary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextBinary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24740,7 +24740,7 @@ impl IMFTimedTextBouten { (::windows::core::Vtable::vtable(self).GetBoutenPosition)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTimedTextBouten, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextBouten, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextBouten { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24814,7 +24814,7 @@ impl IMFTimedTextCue { (::windows::core::Vtable::vtable(self).GetLine)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTimedTextCue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextCue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextCue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24891,7 +24891,7 @@ impl IMFTimedTextCueList { (::windows::core::Vtable::vtable(self).RemoveCue)(::windows::core::Vtable::as_raw(self), cue.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFTimedTextCueList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextCueList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextCueList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24941,7 +24941,7 @@ impl IMFTimedTextFormattedText { (::windows::core::Vtable::vtable(self).GetSubformatting)(::windows::core::Vtable::as_raw(self), index, firstchar, charlength, ::core::mem::transmute(style)).ok() } } -::windows::core::interface_hierarchy!(IMFTimedTextFormattedText, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextFormattedText, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextFormattedText { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25006,7 +25006,7 @@ impl IMFTimedTextNotify { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMFTimedTextNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25097,7 +25097,7 @@ impl IMFTimedTextRegion { (::windows::core::Vtable::vtable(self).GetScrollMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTimedTextRegion, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextRegion, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextRegion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25164,7 +25164,7 @@ impl IMFTimedTextRuby { (::windows::core::Vtable::vtable(self).GetRubyReserve)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTimedTextRuby, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextRuby, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextRuby { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25258,7 +25258,7 @@ impl IMFTimedTextStyle { (::windows::core::Vtable::vtable(self).GetTextOutline)(::windows::core::Vtable::as_raw(self), color, thickness, blurradius, unittype).ok() } } -::windows::core::interface_hierarchy!(IMFTimedTextStyle, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextStyle, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextStyle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25334,7 +25334,7 @@ impl IMFTimedTextStyle2 { (::windows::core::Vtable::vtable(self).GetFontAngleInDegrees)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTimedTextStyle2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextStyle2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextStyle2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25425,7 +25425,7 @@ impl IMFTimedTextTrack { (::windows::core::Vtable::vtable(self).GetCueList)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTimedTextTrack, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextTrack, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextTrack { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25488,7 +25488,7 @@ impl IMFTimedTextTrackList { (::windows::core::Vtable::vtable(self).GetTrackById)(::windows::core::Vtable::as_raw(self), trackid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTimedTextTrackList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimedTextTrackList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimedTextTrackList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25538,7 +25538,7 @@ impl IMFTimer { (::windows::core::Vtable::vtable(self).CancelTimer)(::windows::core::Vtable::as_raw(self), punkkey.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFTimer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTimer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTimer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25580,7 +25580,7 @@ impl IMFTopoLoader { (::windows::core::Vtable::vtable(self).Load)(::windows::core::Vtable::as_raw(self), pinputtopo.into().abi(), ::core::mem::transmute(ppoutputtopo), pcurrenttopo.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFTopoLoader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTopoLoader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTopoLoader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25785,7 +25785,7 @@ impl IMFTopology { (::windows::core::Vtable::vtable(self).GetOutputNodeCollection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTopology, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFTopology, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFTopology { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26024,7 +26024,7 @@ impl IMFTopologyNode { (::windows::core::Vtable::vtable(self).CloneFrom)(::windows::core::Vtable::as_raw(self), pnode.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFTopologyNode, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFTopologyNode, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFTopologyNode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26076,7 +26076,7 @@ impl IMFTopologyNodeAttributeEditor { (::windows::core::Vtable::vtable(self).UpdateNodeAttributes)(::windows::core::Vtable::as_raw(self), topoid, pupdates.len() as _, ::core::mem::transmute(pupdates.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IMFTopologyNodeAttributeEditor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTopologyNodeAttributeEditor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTopologyNodeAttributeEditor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26113,7 +26113,7 @@ impl IMFTopologyServiceLookup { (::windows::core::Vtable::vtable(self).LookupService)(::windows::core::Vtable::as_raw(self), r#type, dwindex, guidservice, riid, ppvobjects, pnobjects).ok() } } -::windows::core::interface_hierarchy!(IMFTopologyServiceLookup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTopologyServiceLookup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTopologyServiceLookup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26156,7 +26156,7 @@ impl IMFTopologyServiceLookupClient { (::windows::core::Vtable::vtable(self).ReleaseServicePointers)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFTopologyServiceLookupClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTopologyServiceLookupClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTopologyServiceLookupClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26198,7 +26198,7 @@ impl IMFTrackedSample { (::windows::core::Vtable::vtable(self).SetAllocator)(::windows::core::Vtable::as_raw(self), psampleallocator.into().abi(), punkstate.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFTrackedSample, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTrackedSample, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTrackedSample { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26262,7 +26262,7 @@ impl IMFTranscodeProfile { (::windows::core::Vtable::vtable(self).GetContainerAttributes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTranscodeProfile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTranscodeProfile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTranscodeProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26323,7 +26323,7 @@ impl IMFTranscodeSinkInfoProvider { (::windows::core::Vtable::vtable(self).GetSinkInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTranscodeSinkInfoProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTranscodeSinkInfoProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTranscodeSinkInfoProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26451,7 +26451,7 @@ impl IMFTransform { (::windows::core::Vtable::vtable(self).ProcessOutput)(::windows::core::Vtable::as_raw(self), dwflags, poutputsamples.len() as _, ::core::mem::transmute(poutputsamples.as_ptr()), pdwstatus).ok() } } -::windows::core::interface_hierarchy!(IMFTransform, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTransform, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26511,7 +26511,7 @@ impl IMFTrustedInput { (::windows::core::Vtable::vtable(self).GetInputTrustAuthority)(::windows::core::Vtable::as_raw(self), dwstreamid, riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTrustedInput, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTrustedInput, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTrustedInput { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26559,7 +26559,7 @@ impl IMFTrustedOutput { (::windows::core::Vtable::vtable(self).IsFinal)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFTrustedOutput, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFTrustedOutput, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFTrustedOutput { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26624,7 +26624,7 @@ impl IMFVideoCaptureSampleAllocator { (::windows::core::Vtable::vtable(self).InitializeCaptureSampleAllocator)(::windows::core::Vtable::as_raw(self), cbsamplesize, cbcapturemetadatasize, cbalignment, cminimumsamples, pattributes.into().abi(), pmediatype.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFVideoCaptureSampleAllocator, ::windows::core::IUnknown, IMFVideoSampleAllocator); +::windows::imp::interface_hierarchy!(IMFVideoCaptureSampleAllocator, ::windows::core::IUnknown, IMFVideoSampleAllocator); impl ::core::cmp::PartialEq for IMFVideoCaptureSampleAllocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26662,7 +26662,7 @@ impl IMFVideoDeviceID { (::windows::core::Vtable::vtable(self).GetDeviceID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFVideoDeviceID, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoDeviceID, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoDeviceID { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26780,7 +26780,7 @@ impl IMFVideoDisplayControl { (::windows::core::Vtable::vtable(self).GetFullscreen)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFVideoDisplayControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoDisplayControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoDisplayControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27019,7 +27019,7 @@ impl IMFVideoMediaType { (::windows::core::Vtable::vtable(self).GetVideoRepresentation)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidrepresentation), ppvrepresentation, lstride).ok() } } -::windows::core::interface_hierarchy!(IMFVideoMediaType, ::windows::core::IUnknown, IMFAttributes, IMFMediaType); +::windows::imp::interface_hierarchy!(IMFVideoMediaType, ::windows::core::IUnknown, IMFAttributes, IMFMediaType); impl ::core::cmp::PartialEq for IMFVideoMediaType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27075,7 +27075,7 @@ impl IMFVideoMixerBitmap { (::windows::core::Vtable::vtable(self).GetAlphaBitmapParameters)(::windows::core::Vtable::as_raw(self), pbmpparms).ok() } } -::windows::core::interface_hierarchy!(IMFVideoMixerBitmap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoMixerBitmap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoMixerBitmap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27135,7 +27135,7 @@ impl IMFVideoMixerControl { (::windows::core::Vtable::vtable(self).GetStreamOutputRect)(::windows::core::Vtable::as_raw(self), dwstreamid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFVideoMixerControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoMixerControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoMixerControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27193,7 +27193,7 @@ impl IMFVideoMixerControl2 { (::windows::core::Vtable::vtable(self).GetMixingPrefs)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFVideoMixerControl2, ::windows::core::IUnknown, IMFVideoMixerControl); +::windows::imp::interface_hierarchy!(IMFVideoMixerControl2, ::windows::core::IUnknown, IMFVideoMixerControl); impl ::core::cmp::PartialEq for IMFVideoMixerControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27231,7 +27231,7 @@ impl IMFVideoPositionMapper { (::windows::core::Vtable::vtable(self).MapOutputCoordinateToInputStream)(::windows::core::Vtable::as_raw(self), xout, yout, dwoutputstreamindex, dwinputstreamindex, pxin, pyin).ok() } } -::windows::core::interface_hierarchy!(IMFVideoPositionMapper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoPositionMapper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoPositionMapper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27287,7 +27287,7 @@ impl IMFVideoPresenter { (::windows::core::Vtable::vtable(self).GetCurrentMediaType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFVideoPresenter, ::windows::core::IUnknown, IMFClockStateSink); +::windows::imp::interface_hierarchy!(IMFVideoPresenter, ::windows::core::IUnknown, IMFClockStateSink); impl ::core::cmp::PartialEq for IMFVideoPresenter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27373,7 +27373,7 @@ impl IMFVideoProcessor { (::windows::core::Vtable::vtable(self).SetBackgroundColor)(::windows::core::Vtable::as_raw(self), clrbkg.into()).ok() } } -::windows::core::interface_hierarchy!(IMFVideoProcessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoProcessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoProcessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27451,7 +27451,7 @@ impl IMFVideoProcessorControl { (::windows::core::Vtable::vtable(self).SetConstrictionSize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pconstrictionsize.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IMFVideoProcessorControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoProcessorControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoProcessorControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27538,7 +27538,7 @@ impl IMFVideoProcessorControl2 { (::windows::core::Vtable::vtable(self).GetSupportedHardwareEffects)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFVideoProcessorControl2, ::windows::core::IUnknown, IMFVideoProcessorControl); +::windows::imp::interface_hierarchy!(IMFVideoProcessorControl2, ::windows::core::IUnknown, IMFVideoProcessorControl); impl ::core::cmp::PartialEq for IMFVideoProcessorControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27637,7 +27637,7 @@ impl IMFVideoProcessorControl3 { (::windows::core::Vtable::vtable(self).SetOutputDevice)(::windows::core::Vtable::as_raw(self), poutputdevice.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFVideoProcessorControl3, ::windows::core::IUnknown, IMFVideoProcessorControl, IMFVideoProcessorControl2); +::windows::imp::interface_hierarchy!(IMFVideoProcessorControl3, ::windows::core::IUnknown, IMFVideoProcessorControl, IMFVideoProcessorControl2); impl ::core::cmp::PartialEq for IMFVideoProcessorControl3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27684,7 +27684,7 @@ impl IMFVideoRenderer { (::windows::core::Vtable::vtable(self).InitializeRenderer)(::windows::core::Vtable::as_raw(self), pvideomixer.into().abi(), pvideopresenter.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFVideoRenderer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoRenderer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoRenderer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27724,7 +27724,7 @@ impl IMFVideoRendererEffectControl { (::windows::core::Vtable::vtable(self).OnAppServiceConnectionEstablished)(::windows::core::Vtable::as_raw(self), pappserviceconnection.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFVideoRendererEffectControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoRendererEffectControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoRendererEffectControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27777,7 +27777,7 @@ impl IMFVideoSampleAllocator { (::windows::core::Vtable::vtable(self).AllocateSample)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFVideoSampleAllocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoSampleAllocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoSampleAllocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27824,7 +27824,7 @@ impl IMFVideoSampleAllocatorCallback { (::windows::core::Vtable::vtable(self).GetFreeSampleCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFVideoSampleAllocatorCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoSampleAllocatorCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoSampleAllocatorCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27885,7 +27885,7 @@ impl IMFVideoSampleAllocatorEx { (::windows::core::Vtable::vtable(self).InitializeSampleAllocatorEx)(::windows::core::Vtable::as_raw(self), cinitialsamples, cmaximumsamples, pattributes.into().abi(), pmediatype.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFVideoSampleAllocatorEx, ::windows::core::IUnknown, IMFVideoSampleAllocator); +::windows::imp::interface_hierarchy!(IMFVideoSampleAllocatorEx, ::windows::core::IUnknown, IMFVideoSampleAllocator); impl ::core::cmp::PartialEq for IMFVideoSampleAllocatorEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27922,7 +27922,7 @@ impl IMFVideoSampleAllocatorNotify { (::windows::core::Vtable::vtable(self).NotifyRelease)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFVideoSampleAllocatorNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFVideoSampleAllocatorNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFVideoSampleAllocatorNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27965,7 +27965,7 @@ impl IMFVideoSampleAllocatorNotifyEx { (::windows::core::Vtable::vtable(self).NotifyPrune)(::windows::core::Vtable::as_raw(self), __midl__imfvideosampleallocatornotifyex0000.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMFVideoSampleAllocatorNotifyEx, ::windows::core::IUnknown, IMFVideoSampleAllocatorNotify); +::windows::imp::interface_hierarchy!(IMFVideoSampleAllocatorNotifyEx, ::windows::core::IUnknown, IMFVideoSampleAllocatorNotify); impl ::core::cmp::PartialEq for IMFVideoSampleAllocatorNotifyEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28183,7 +28183,7 @@ impl IMFVirtualCamera { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMFVirtualCamera, ::windows::core::IUnknown, IMFAttributes); +::windows::imp::interface_hierarchy!(IMFVirtualCamera, ::windows::core::IUnknown, IMFAttributes); impl ::core::cmp::PartialEq for IMFVirtualCamera { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28304,7 +28304,7 @@ impl IMFWorkQueueServices { (::windows::core::Vtable::vtable(self).GetPlatformWorkQueueMMCSSTaskId)(::windows::core::Vtable::as_raw(self), dwplatformworkqueueid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFWorkQueueServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMFWorkQueueServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMFWorkQueueServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28433,7 +28433,7 @@ impl IMFWorkQueueServicesEx { (::windows::core::Vtable::vtable(self).GetPlatformWorkQueueMMCSSPriority)(::windows::core::Vtable::as_raw(self), dwplatformworkqueueid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMFWorkQueueServicesEx, ::windows::core::IUnknown, IMFWorkQueueServices); +::windows::imp::interface_hierarchy!(IMFWorkQueueServicesEx, ::windows::core::IUnknown, IMFWorkQueueServices); impl ::core::cmp::PartialEq for IMFWorkQueueServicesEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28484,7 +28484,7 @@ impl IOPMVideoOutput { (::windows::core::Vtable::vtable(self).Configure)(::windows::core::Vtable::as_raw(self), pparameters, pbadditionalparameters.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbadditionalparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } } -::windows::core::interface_hierarchy!(IOPMVideoOutput, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOPMVideoOutput, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOPMVideoOutput { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28531,7 +28531,7 @@ impl IPlayToControl { (::windows::core::Vtable::vtable(self).Disconnect)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPlayToControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPlayToControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPlayToControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28579,7 +28579,7 @@ impl IPlayToControlWithCapabilities { (::windows::core::Vtable::vtable(self).GetCapabilities)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPlayToControlWithCapabilities, ::windows::core::IUnknown, IPlayToControl); +::windows::imp::interface_hierarchy!(IPlayToControlWithCapabilities, ::windows::core::IUnknown, IPlayToControl); impl ::core::cmp::PartialEq for IPlayToControlWithCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28620,7 +28620,7 @@ impl IPlayToSourceClassFactory { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), dwflags, pcontrol.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPlayToSourceClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPlayToSourceClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPlayToSourceClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28697,7 +28697,7 @@ impl IToc { (::windows::core::Vtable::vtable(self).RemoveEntryListByIndex)(::windows::core::Vtable::as_raw(self), wentrylistindex).ok() } } -::windows::core::interface_hierarchy!(IToc, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IToc, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IToc { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28763,7 +28763,7 @@ impl ITocCollection { (::windows::core::Vtable::vtable(self).RemoveEntryByIndex)(::windows::core::Vtable::as_raw(self), dwentryindex).ok() } } -::windows::core::interface_hierarchy!(ITocCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITocCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITocCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28828,7 +28828,7 @@ impl ITocEntry { (::windows::core::Vtable::vtable(self).GetDescriptionData)(::windows::core::Vtable::as_raw(self), pdwdescriptiondatasize, pbtdescriptiondata, pguidtype).ok() } } -::windows::core::interface_hierarchy!(ITocEntry, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITocEntry, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITocEntry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28891,7 +28891,7 @@ impl ITocEntryList { (::windows::core::Vtable::vtable(self).RemoveEntryByIndex)(::windows::core::Vtable::as_raw(self), dwentryindex).ok() } } -::windows::core::interface_hierarchy!(ITocEntryList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITocEntryList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITocEntryList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28961,7 +28961,7 @@ impl ITocParser { (::windows::core::Vtable::vtable(self).Commit)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITocParser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITocParser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITocParser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29005,7 +29005,7 @@ impl IValidateBinding { (::windows::core::Vtable::vtable(self).GetIdentifier)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidlicensorid), ::core::mem::transmute(pbephemeron.as_ptr()), pbephemeron.len() as _, ppbblobvalidationid, pcbblobsize).ok() } } -::windows::core::interface_hierarchy!(IValidateBinding, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IValidateBinding, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IValidateBinding { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29051,7 +29051,7 @@ impl IWMCodecLeakyBucket { (::windows::core::Vtable::vtable(self).GetBufferFullnessBits)(::windows::core::Vtable::as_raw(self), pulbufferfullness).ok() } } -::windows::core::interface_hierarchy!(IWMCodecLeakyBucket, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCodecLeakyBucket, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCodecLeakyBucket { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29091,7 +29091,7 @@ impl IWMCodecOutputTimestamp { (::windows::core::Vtable::vtable(self).GetNextOutputTime)(::windows::core::Vtable::as_raw(self), prttime).ok() } } -::windows::core::interface_hierarchy!(IWMCodecOutputTimestamp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCodecOutputTimestamp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCodecOutputTimestamp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29133,7 +29133,7 @@ impl IWMCodecPrivateData { (::windows::core::Vtable::vtable(self).GetPrivateData)(::windows::core::Vtable::as_raw(self), pbdata, pcbdata).ok() } } -::windows::core::interface_hierarchy!(IWMCodecPrivateData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCodecPrivateData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCodecPrivateData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29185,7 +29185,7 @@ impl IWMCodecProps { (::windows::core::Vtable::vtable(self).GetCodecProp)(::windows::core::Vtable::as_raw(self), dwformat, pszname.into().abi(), ptype, pvalue, pdwsize).ok() } } -::windows::core::interface_hierarchy!(IWMCodecProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCodecProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCodecProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29233,7 +29233,7 @@ impl IWMCodecStrings { (::windows::core::Vtable::vtable(self).GetDescription)(::windows::core::Vtable::as_raw(self), pmt, szdescription.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(szdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcchlength).ok() } } -::windows::core::interface_hierarchy!(IWMCodecStrings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCodecStrings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCodecStrings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29280,7 +29280,7 @@ impl IWMColorConvProps { (::windows::core::Vtable::vtable(self).SetFullCroppingParam)(::windows::core::Vtable::as_raw(self), lsrccropleft, lsrccroptop, ldstcropleft, ldstcroptop, lcropwidth, lcropheight).ok() } } -::windows::core::interface_hierarchy!(IWMColorConvProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMColorConvProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMColorConvProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29318,7 +29318,7 @@ impl IWMColorLegalizerProps { (::windows::core::Vtable::vtable(self).SetColorLegalizerQuality)(::windows::core::Vtable::as_raw(self), lquality).ok() } } -::windows::core::interface_hierarchy!(IWMColorLegalizerProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMColorLegalizerProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMColorLegalizerProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29369,7 +29369,7 @@ impl IWMFrameInterpProps { (::windows::core::Vtable::vtable(self).SetComplexityLevel)(::windows::core::Vtable::as_raw(self), icomplexity).ok() } } -::windows::core::interface_hierarchy!(IWMFrameInterpProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMFrameInterpProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMFrameInterpProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29418,7 +29418,7 @@ impl IWMInterlaceProps { (::windows::core::Vtable::vtable(self).SetLastFrame)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMInterlaceProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMInterlaceProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMInterlaceProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29460,7 +29460,7 @@ impl IWMResamplerProps { (::windows::core::Vtable::vtable(self).SetUserChannelMtx)(::windows::core::Vtable::as_raw(self), userchannelmtx).ok() } } -::windows::core::interface_hierarchy!(IWMResamplerProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMResamplerProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMResamplerProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29510,7 +29510,7 @@ impl IWMResizerProps { (::windows::core::Vtable::vtable(self).GetFullCropRegion)(::windows::core::Vtable::as_raw(self), lcliporixsrc, lcliporiysrc, lclipwidthsrc, lclipheightsrc, lcliporixdst, lcliporiydst, lclipwidthdst, lclipheightdst).ok() } } -::windows::core::interface_hierarchy!(IWMResizerProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMResizerProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMResizerProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29556,7 +29556,7 @@ impl IWMSampleExtensionSupport { (::windows::core::Vtable::vtable(self).SetUseSampleExtensions)(::windows::core::Vtable::as_raw(self), fuseextensions.into()).ok() } } -::windows::core::interface_hierarchy!(IWMSampleExtensionSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMSampleExtensionSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMSampleExtensionSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29596,7 +29596,7 @@ impl IWMValidate { (::windows::core::Vtable::vtable(self).SetIdentifier)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidvalidationid)).ok() } } -::windows::core::interface_hierarchy!(IWMValidate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMValidate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMValidate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29636,7 +29636,7 @@ impl IWMVideoDecoderHurryup { (::windows::core::Vtable::vtable(self).GetHurryup)(::windows::core::Vtable::as_raw(self), plhurryup).ok() } } -::windows::core::interface_hierarchy!(IWMVideoDecoderHurryup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMVideoDecoderHurryup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMVideoDecoderHurryup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29690,7 +29690,7 @@ impl IWMVideoDecoderReconBuffer { (::windows::core::Vtable::vtable(self).SetReconstructedVideoFrame)(::windows::core::Vtable::as_raw(self), pbuf.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMVideoDecoderReconBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMVideoDecoderReconBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMVideoDecoderReconBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29735,7 +29735,7 @@ impl IWMVideoForceKeyFrame { (::windows::core::Vtable::vtable(self).SetKeyFrame)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMVideoForceKeyFrame, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMVideoForceKeyFrame, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMVideoForceKeyFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29786,7 +29786,7 @@ impl MFASYNCRESULT { (::windows::core::Vtable::vtable(self).base__.GetStateNoAddRef)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(MFASYNCRESULT, ::windows::core::IUnknown, IMFAsyncResult); +::windows::imp::interface_hierarchy!(MFASYNCRESULT, ::windows::core::IUnknown, IMFAsyncResult); impl ::core::cmp::PartialEq for MFASYNCRESULT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 ce08da2ad4..7b235e622f 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs @@ -186,7 +186,7 @@ impl IFeed { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeed, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFeed, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeed { fn eq(&self, other: &Self) -> bool { @@ -498,7 +498,7 @@ impl IFeed2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeed2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFeed); +::windows::imp::interface_hierarchy!(IFeed2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFeed); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeed2 { fn eq(&self, other: &Self) -> bool { @@ -600,7 +600,7 @@ impl IFeedEnclosure { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeedEnclosure, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFeedEnclosure, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeedEnclosure { fn eq(&self, other: &Self) -> bool { @@ -683,7 +683,7 @@ impl IFeedEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeedEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFeedEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeedEvents { fn eq(&self, other: &Self) -> bool { @@ -825,7 +825,7 @@ impl IFeedFolder { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeedFolder, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFeedFolder, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeedFolder { fn eq(&self, other: &Self) -> bool { @@ -967,7 +967,7 @@ impl IFeedFolderEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeedFolderEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFeedFolderEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeedFolderEvents { fn eq(&self, other: &Self) -> bool { @@ -1103,7 +1103,7 @@ impl IFeedItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeedItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFeedItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeedItem { fn eq(&self, other: &Self) -> bool { @@ -1256,7 +1256,7 @@ impl IFeedItem2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeedItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFeedItem); +::windows::imp::interface_hierarchy!(IFeedItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFeedItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeedItem2 { fn eq(&self, other: &Self) -> bool { @@ -1316,7 +1316,7 @@ impl IFeedsEnum { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeedsEnum, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFeedsEnum, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeedsEnum { fn eq(&self, other: &Self) -> bool { @@ -1441,7 +1441,7 @@ impl IFeedsManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFeedsManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFeedsManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFeedsManager { fn eq(&self, other: &Self) -> bool { @@ -1524,7 +1524,7 @@ impl IWMPAudioRenderConfig { (::windows::core::Vtable::vtable(self).SetaudioOutputDevice)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstroutputdevice)).ok() } } -::windows::core::interface_hierarchy!(IWMPAudioRenderConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPAudioRenderConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPAudioRenderConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1574,7 +1574,7 @@ impl IWMPCdrom { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPCdrom, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPCdrom, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPCdrom { fn eq(&self, other: &Self) -> bool { @@ -1672,7 +1672,7 @@ impl IWMPCdromBurn { (::windows::core::Vtable::vtable(self).erase)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMPCdromBurn, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPCdromBurn, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPCdromBurn { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1746,7 +1746,7 @@ impl IWMPCdromCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPCdromCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPCdromCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPCdromCollection { fn eq(&self, other: &Self) -> bool { @@ -1807,7 +1807,7 @@ impl IWMPCdromRip { (::windows::core::Vtable::vtable(self).stopRip)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMPCdromRip, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPCdromRip, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPCdromRip { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1871,7 +1871,7 @@ impl IWMPClosedCaption { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPClosedCaption, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPClosedCaption, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPClosedCaption { fn eq(&self, other: &Self) -> bool { @@ -1961,7 +1961,7 @@ impl IWMPClosedCaption2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPClosedCaption2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPClosedCaption); +::windows::imp::interface_hierarchy!(IWMPClosedCaption2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPClosedCaption); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPClosedCaption2 { fn eq(&self, other: &Self) -> bool { @@ -2030,7 +2030,7 @@ impl IWMPContentContainer { (::windows::core::Vtable::vtable(self).GetContentID)(::windows::core::Vtable::as_raw(self), idxcontent, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMPContentContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPContentContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPContentContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2081,7 +2081,7 @@ impl IWMPContentContainerList { (::windows::core::Vtable::vtable(self).GetContainer)(::windows::core::Vtable::as_raw(self), idxcontainer, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMPContentContainerList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPContentContainerList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPContentContainerList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2241,7 +2241,7 @@ impl IWMPContentPartner { (::windows::core::Vtable::vtable(self).VerifyPermission)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrpermission), pcontext).ok() } } -::windows::core::interface_hierarchy!(IWMPContentPartner, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPContentPartner, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPContentPartner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2382,7 +2382,7 @@ impl IWMPContentPartnerCallback { (::windows::core::Vtable::vtable(self).VerifyPermissionComplete)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrpermission), pcontext, hrpermission).ok() } } -::windows::core::interface_hierarchy!(IWMPContentPartnerCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPContentPartnerCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPContentPartnerCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2500,7 +2500,7 @@ impl IWMPControls { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPControls, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPControls, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPControls { fn eq(&self, other: &Self) -> bool { @@ -2637,7 +2637,7 @@ impl IWMPControls2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPControls2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPControls); +::windows::imp::interface_hierarchy!(IWMPControls2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPControls); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPControls2 { fn eq(&self, other: &Self) -> bool { @@ -2777,7 +2777,7 @@ impl IWMPControls3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPControls3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPControls, IWMPControls2); +::windows::imp::interface_hierarchy!(IWMPControls3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPControls, IWMPControls2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPControls3 { fn eq(&self, other: &Self) -> bool { @@ -2833,7 +2833,7 @@ impl IWMPConvert { (::windows::core::Vtable::vtable(self).GetErrorURL)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrurl)).ok() } } -::windows::core::interface_hierarchy!(IWMPConvert, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPConvert, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPConvert { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2976,7 +2976,7 @@ impl IWMPCore { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPCore, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPCore, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPCore { fn eq(&self, other: &Self) -> bool { @@ -3190,7 +3190,7 @@ impl IWMPCore2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPCore2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); +::windows::imp::interface_hierarchy!(IWMPCore2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPCore2 { fn eq(&self, other: &Self) -> bool { @@ -3360,7 +3360,7 @@ impl IWMPCore3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPCore3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2); +::windows::imp::interface_hierarchy!(IWMPCore3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPCore3 { fn eq(&self, other: &Self) -> bool { @@ -3431,7 +3431,7 @@ impl IWMPDVD { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPDVD, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPDVD, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPDVD { fn eq(&self, other: &Self) -> bool { @@ -3507,7 +3507,7 @@ impl IWMPDownloadCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPDownloadCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPDownloadCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPDownloadCollection { fn eq(&self, other: &Self) -> bool { @@ -3586,7 +3586,7 @@ impl IWMPDownloadItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPDownloadItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPDownloadItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPDownloadItem { fn eq(&self, other: &Self) -> bool { @@ -3664,7 +3664,7 @@ impl IWMPDownloadItem2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPDownloadItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPDownloadItem); +::windows::imp::interface_hierarchy!(IWMPDownloadItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPDownloadItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPDownloadItem2 { fn eq(&self, other: &Self) -> bool { @@ -3720,7 +3720,7 @@ impl IWMPDownloadManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPDownloadManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPDownloadManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPDownloadManager { fn eq(&self, other: &Self) -> bool { @@ -3816,7 +3816,7 @@ impl IWMPEffects { (::windows::core::Vtable::vtable(self).RenderFullScreen)(::windows::core::Vtable::as_raw(self), plevels).ok() } } -::windows::core::interface_hierarchy!(IWMPEffects, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPEffects, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPEffects { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3961,7 +3961,7 @@ impl IWMPEffects2 { (::windows::core::Vtable::vtable(self).RenderWindowed)(::windows::core::Vtable::as_raw(self), pdata, frequiredrender.into()).ok() } } -::windows::core::interface_hierarchy!(IWMPEffects2, ::windows::core::IUnknown, IWMPEffects); +::windows::imp::interface_hierarchy!(IWMPEffects2, ::windows::core::IUnknown, IWMPEffects); impl ::core::cmp::PartialEq for IWMPEffects2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4033,7 +4033,7 @@ impl IWMPError { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPError, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPError, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPError { fn eq(&self, other: &Self) -> bool { @@ -4100,7 +4100,7 @@ impl IWMPErrorItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPErrorItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPErrorItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPErrorItem { fn eq(&self, other: &Self) -> bool { @@ -4171,7 +4171,7 @@ impl IWMPErrorItem2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPErrorItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPErrorItem); +::windows::imp::interface_hierarchy!(IWMPErrorItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPErrorItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPErrorItem2 { fn eq(&self, other: &Self) -> bool { @@ -4387,7 +4387,7 @@ impl IWMPEvents { (::windows::core::Vtable::vtable(self).MouseUp)(::windows::core::Vtable::as_raw(self), nbutton, nshiftstate, fx, fy) } } -::windows::core::interface_hierarchy!(IWMPEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4703,7 +4703,7 @@ impl IWMPEvents2 { (::windows::core::Vtable::vtable(self).CreatePartnershipComplete)(::windows::core::Vtable::as_raw(self), pdevice.into().abi(), hrresult) } } -::windows::core::interface_hierarchy!(IWMPEvents2, ::windows::core::IUnknown, IWMPEvents); +::windows::imp::interface_hierarchy!(IWMPEvents2, ::windows::core::IUnknown, IWMPEvents); impl ::core::cmp::PartialEq for IWMPEvents2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5034,7 +5034,7 @@ impl IWMPEvents3 { (::windows::core::Vtable::vtable(self).MediaCollectionMediaRemoved)(::windows::core::Vtable::as_raw(self), pdispmedia.into().abi()) } } -::windows::core::interface_hierarchy!(IWMPEvents3, ::windows::core::IUnknown, IWMPEvents, IWMPEvents2); +::windows::imp::interface_hierarchy!(IWMPEvents3, ::windows::core::IUnknown, IWMPEvents, IWMPEvents2); impl ::core::cmp::PartialEq for IWMPEvents3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5388,7 +5388,7 @@ impl IWMPEvents4 { (::windows::core::Vtable::vtable(self).DeviceEstimation)(::windows::core::Vtable::as_raw(self), pdevice.into().abi(), hrresult, qwestimatedusedspace, qwestimatedspace) } } -::windows::core::interface_hierarchy!(IWMPEvents4, ::windows::core::IUnknown, IWMPEvents, IWMPEvents2, IWMPEvents3); +::windows::imp::interface_hierarchy!(IWMPEvents4, ::windows::core::IUnknown, IWMPEvents, IWMPEvents2, IWMPEvents3); impl ::core::cmp::PartialEq for IWMPEvents4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5455,7 +5455,7 @@ impl IWMPFolderMonitorServices { (::windows::core::Vtable::vtable(self).stopScan)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMPFolderMonitorServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPFolderMonitorServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPFolderMonitorServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5515,7 +5515,7 @@ impl IWMPGraphCreation { (::windows::core::Vtable::vtable(self).GetGraphCreationFlags)(::windows::core::Vtable::as_raw(self), pdwflags).ok() } } -::windows::core::interface_hierarchy!(IWMPGraphCreation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPGraphCreation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPGraphCreation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5571,7 +5571,7 @@ impl IWMPLibrary { (::windows::core::Vtable::vtable(self).isIdentical)(::windows::core::Vtable::as_raw(self), piwmplibrary.into().abi(), pvbool).ok() } } -::windows::core::interface_hierarchy!(IWMPLibrary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPLibrary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPLibrary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5637,7 +5637,7 @@ impl IWMPLibrary2 { (::windows::core::Vtable::vtable(self).getItemInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstritemname), ::core::mem::transmute(pbstrval)).ok() } } -::windows::core::interface_hierarchy!(IWMPLibrary2, ::windows::core::IUnknown, IWMPLibrary); +::windows::imp::interface_hierarchy!(IWMPLibrary2, ::windows::core::IUnknown, IWMPLibrary); impl ::core::cmp::PartialEq for IWMPLibrary2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5678,7 +5678,7 @@ impl IWMPLibraryServices { (::windows::core::Vtable::vtable(self).getLibraryByType)(::windows::core::Vtable::as_raw(self), wmplt, lindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMPLibraryServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPLibraryServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPLibraryServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5726,7 +5726,7 @@ impl IWMPLibrarySharingServices { (::windows::core::Vtable::vtable(self).showLibrarySharing)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMPLibrarySharingServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPLibrarySharingServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPLibrarySharingServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5837,7 +5837,7 @@ impl IWMPMedia { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPMedia, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPMedia, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPMedia { fn eq(&self, other: &Self) -> bool { @@ -5979,7 +5979,7 @@ impl IWMPMedia2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPMedia2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPMedia); +::windows::imp::interface_hierarchy!(IWMPMedia2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPMedia); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPMedia2 { fn eq(&self, other: &Self) -> bool { @@ -6106,7 +6106,7 @@ impl IWMPMedia3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPMedia3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPMedia, IWMPMedia2); +::windows::imp::interface_hierarchy!(IWMPMedia3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPMedia, IWMPMedia2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPMedia3 { fn eq(&self, other: &Self) -> bool { @@ -6231,7 +6231,7 @@ impl IWMPMediaCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPMediaCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPMediaCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPMediaCollection { fn eq(&self, other: &Self) -> bool { @@ -6428,7 +6428,7 @@ impl IWMPMediaCollection2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPMediaCollection2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPMediaCollection); +::windows::imp::interface_hierarchy!(IWMPMediaCollection2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPMediaCollection); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPMediaCollection2 { fn eq(&self, other: &Self) -> bool { @@ -6495,7 +6495,7 @@ impl IWMPMediaPluginRegistrar { (::windows::core::Vtable::vtable(self).WMPUnRegisterPlayerPlugin)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidplugintype), ::core::mem::transmute(clsid)).ok() } } -::windows::core::interface_hierarchy!(IWMPMediaPluginRegistrar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPMediaPluginRegistrar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPMediaPluginRegistrar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6545,7 +6545,7 @@ impl IWMPMetadataPicture { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPMetadataPicture, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPMetadataPicture, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPMetadataPicture { fn eq(&self, other: &Self) -> bool { @@ -6598,7 +6598,7 @@ impl IWMPMetadataText { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPMetadataText, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPMetadataText, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPMetadataText { fn eq(&self, other: &Self) -> bool { @@ -6734,7 +6734,7 @@ impl IWMPNetwork { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPNetwork, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPNetwork, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPNetwork { fn eq(&self, other: &Self) -> bool { @@ -6849,7 +6849,7 @@ impl IWMPNodeRealEstate { (::windows::core::Vtable::vtable(self).GetFullScreen)(::windows::core::Vtable::as_raw(self), pffullscreen).ok() } } -::windows::core::interface_hierarchy!(IWMPNodeRealEstate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPNodeRealEstate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPNodeRealEstate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6923,7 +6923,7 @@ impl IWMPNodeRealEstateHost { (::windows::core::Vtable::vtable(self).OnFullScreenTransition)(::windows::core::Vtable::as_raw(self), ffullscreen.into()).ok() } } -::windows::core::interface_hierarchy!(IWMPNodeRealEstateHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPNodeRealEstateHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPNodeRealEstateHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6970,7 +6970,7 @@ impl IWMPNodeWindowed { (::windows::core::Vtable::vtable(self).GetOwnerWindow)(::windows::core::Vtable::as_raw(self), phwnd).ok() } } -::windows::core::interface_hierarchy!(IWMPNodeWindowed, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPNodeWindowed, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPNodeWindowed { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7014,7 +7014,7 @@ impl IWMPNodeWindowedHost { (::windows::core::Vtable::vtable(self).OnWindowMessageFromRenderer)(::windows::core::Vtable::as_raw(self), umsg, wparam.into(), lparam.into(), plret, pfhandled).ok() } } -::windows::core::interface_hierarchy!(IWMPNodeWindowedHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPNodeWindowedHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPNodeWindowedHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7065,7 +7065,7 @@ impl IWMPNodeWindowless { (::windows::core::Vtable::vtable(self).OnDraw)(::windows::core::Vtable::as_raw(self), hdc, prcdraw).ok() } } -::windows::core::interface_hierarchy!(IWMPNodeWindowless, ::windows::core::IUnknown, IWMPWindowMessageSink); +::windows::imp::interface_hierarchy!(IWMPNodeWindowless, ::windows::core::IUnknown, IWMPWindowMessageSink); impl ::core::cmp::PartialEq for IWMPNodeWindowless { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7110,7 +7110,7 @@ impl IWMPNodeWindowlessHost { (::windows::core::Vtable::vtable(self).InvalidateRect)(::windows::core::Vtable::as_raw(self), prc, ferase.into()).ok() } } -::windows::core::interface_hierarchy!(IWMPNodeWindowlessHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPNodeWindowlessHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPNodeWindowlessHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7300,7 +7300,7 @@ impl IWMPPlayer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPPlayer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); +::windows::imp::interface_hierarchy!(IWMPPlayer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPPlayer { fn eq(&self, other: &Self) -> bool { @@ -7545,7 +7545,7 @@ impl IWMPPlayer2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPPlayer2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); +::windows::imp::interface_hierarchy!(IWMPPlayer2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPPlayer2 { fn eq(&self, other: &Self) -> bool { @@ -7812,7 +7812,7 @@ impl IWMPPlayer3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPPlayer3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2); +::windows::imp::interface_hierarchy!(IWMPPlayer3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPPlayer3 { fn eq(&self, other: &Self) -> bool { @@ -8105,7 +8105,7 @@ impl IWMPPlayer4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPPlayer4, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2, IWMPCore3); +::windows::imp::interface_hierarchy!(IWMPPlayer4, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2, IWMPCore3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPPlayer4 { fn eq(&self, other: &Self) -> bool { @@ -8215,7 +8215,7 @@ impl IWMPPlayerApplication { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPPlayerApplication, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPPlayerApplication, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPPlayerApplication { fn eq(&self, other: &Self) -> bool { @@ -8274,7 +8274,7 @@ impl IWMPPlayerServices { (::windows::core::Vtable::vtable(self).setTaskPaneURL)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrtaskpane), ::core::mem::transmute_copy(bstrurl), ::core::mem::transmute_copy(bstrfriendlyname)).ok() } } -::windows::core::interface_hierarchy!(IWMPPlayerServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPPlayerServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPPlayerServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8322,7 +8322,7 @@ impl IWMPPlayerServices2 { (::windows::core::Vtable::vtable(self).setBackgroundProcessingPriority)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrpriority)).ok() } } -::windows::core::interface_hierarchy!(IWMPPlayerServices2, ::windows::core::IUnknown, IWMPPlayerServices); +::windows::imp::interface_hierarchy!(IWMPPlayerServices2, ::windows::core::IUnknown, IWMPPlayerServices); impl ::core::cmp::PartialEq for IWMPPlayerServices2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8424,7 +8424,7 @@ impl IWMPPlaylist { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPPlaylist, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPPlaylist, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPPlaylist { fn eq(&self, other: &Self) -> bool { @@ -8505,7 +8505,7 @@ impl IWMPPlaylistArray { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPPlaylistArray, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPPlaylistArray, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPPlaylistArray { fn eq(&self, other: &Self) -> bool { @@ -8605,7 +8605,7 @@ impl IWMPPlaylistCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPPlaylistCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPPlaylistCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPPlaylistCollection { fn eq(&self, other: &Self) -> bool { @@ -8694,7 +8694,7 @@ impl IWMPPlugin { (::windows::core::Vtable::vtable(self).UnAdviseWMPServices)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMPPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8746,7 +8746,7 @@ impl IWMPPluginEnable { (::windows::core::Vtable::vtable(self).GetEnable)(::windows::core::Vtable::as_raw(self), pfenable).ok() } } -::windows::core::interface_hierarchy!(IWMPPluginEnable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPPluginEnable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPPluginEnable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8835,7 +8835,7 @@ impl IWMPPluginUI { (::windows::core::Vtable::vtable(self).TranslateAccelerator)(::windows::core::Vtable::as_raw(self), lpmsg).ok() } } -::windows::core::interface_hierarchy!(IWMPPluginUI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPPluginUI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPPluginUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8902,7 +8902,7 @@ impl IWMPQuery { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPQuery, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPQuery, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPQuery { fn eq(&self, other: &Self) -> bool { @@ -8958,7 +8958,7 @@ impl IWMPRemoteMediaServices { (::windows::core::Vtable::vtable(self).GetCustomUIMode)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrfile)).ok() } } -::windows::core::interface_hierarchy!(IWMPRemoteMediaServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPRemoteMediaServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPRemoteMediaServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9011,7 +9011,7 @@ impl IWMPRenderConfig { (::windows::core::Vtable::vtable(self).inProcOnly)(::windows::core::Vtable::as_raw(self), pfinproc).ok() } } -::windows::core::interface_hierarchy!(IWMPRenderConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPRenderConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPRenderConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9058,7 +9058,7 @@ impl IWMPServices { (::windows::core::Vtable::vtable(self).GetStreamState)(::windows::core::Vtable::as_raw(self), pstate).ok() } } -::windows::core::interface_hierarchy!(IWMPServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9202,7 +9202,7 @@ impl IWMPSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPSettings, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPSettings, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPSettings { fn eq(&self, other: &Self) -> bool { @@ -9418,7 +9418,7 @@ impl IWMPSettings2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPSettings2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPSettings); +::windows::imp::interface_hierarchy!(IWMPSettings2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPSettings); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPSettings2 { fn eq(&self, other: &Self) -> bool { @@ -9467,7 +9467,7 @@ impl IWMPSkinManager { (::windows::core::Vtable::vtable(self).SetVisualStyle)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrpath)).ok() } } -::windows::core::interface_hierarchy!(IWMPSkinManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPSkinManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPSkinManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9510,7 +9510,7 @@ impl IWMPStringCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPStringCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMPStringCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPStringCollection { fn eq(&self, other: &Self) -> bool { @@ -9580,7 +9580,7 @@ impl IWMPStringCollection2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMPStringCollection2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPStringCollection); +::windows::imp::interface_hierarchy!(IWMPStringCollection2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWMPStringCollection); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMPStringCollection2 { fn eq(&self, other: &Self) -> bool { @@ -9665,7 +9665,7 @@ impl IWMPSubscriptionService { (::windows::core::Vtable::vtable(self).startBackgroundProcessing)(::windows::core::Vtable::as_raw(self), hwnd.into()).ok() } } -::windows::core::interface_hierarchy!(IWMPSubscriptionService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPSubscriptionService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPSubscriptionService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9767,7 +9767,7 @@ impl IWMPSubscriptionService2 { (::windows::core::Vtable::vtable(self).prepareForSync)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrfilename), ::core::mem::transmute_copy(bstrdevicename), pcb.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMPSubscriptionService2, ::windows::core::IUnknown, IWMPSubscriptionService); +::windows::imp::interface_hierarchy!(IWMPSubscriptionService2, ::windows::core::IUnknown, IWMPSubscriptionService); impl ::core::cmp::PartialEq for IWMPSubscriptionService2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9807,7 +9807,7 @@ impl IWMPSubscriptionServiceCallback { (::windows::core::Vtable::vtable(self).onComplete)(::windows::core::Vtable::as_raw(self), hrresult).ok() } } -::windows::core::interface_hierarchy!(IWMPSubscriptionServiceCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPSubscriptionServiceCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPSubscriptionServiceCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9901,7 +9901,7 @@ impl IWMPSyncDevice { (::windows::core::Vtable::vtable(self).isIdentical)(::windows::core::Vtable::as_raw(self), pdevice.into().abi(), pvbool).ok() } } -::windows::core::interface_hierarchy!(IWMPSyncDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPSyncDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPSyncDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10022,7 +10022,7 @@ impl IWMPSyncDevice2 { (::windows::core::Vtable::vtable(self).setItemInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstritemname), ::core::mem::transmute_copy(bstrval)).ok() } } -::windows::core::interface_hierarchy!(IWMPSyncDevice2, ::windows::core::IUnknown, IWMPSyncDevice); +::windows::imp::interface_hierarchy!(IWMPSyncDevice2, ::windows::core::IUnknown, IWMPSyncDevice); impl ::core::cmp::PartialEq for IWMPSyncDevice2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10131,7 +10131,7 @@ impl IWMPSyncDevice3 { (::windows::core::Vtable::vtable(self).cancelEstimation)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMPSyncDevice3, ::windows::core::IUnknown, IWMPSyncDevice, IWMPSyncDevice2); +::windows::imp::interface_hierarchy!(IWMPSyncDevice3, ::windows::core::IUnknown, IWMPSyncDevice, IWMPSyncDevice2); impl ::core::cmp::PartialEq for IWMPSyncDevice3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10176,7 +10176,7 @@ impl IWMPSyncServices { (::windows::core::Vtable::vtable(self).getDevice)(::windows::core::Vtable::as_raw(self), lindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMPSyncServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPSyncServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPSyncServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10216,7 +10216,7 @@ impl IWMPTranscodePolicy { (::windows::core::Vtable::vtable(self).allowTranscode)(::windows::core::Vtable::as_raw(self), pvballow).ok() } } -::windows::core::interface_hierarchy!(IWMPTranscodePolicy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPTranscodePolicy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPTranscodePolicy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10256,7 +10256,7 @@ impl IWMPUserEventSink { (::windows::core::Vtable::vtable(self).NotifyUserEvent)(::windows::core::Vtable::as_raw(self), eventcode).ok() } } -::windows::core::interface_hierarchy!(IWMPUserEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPUserEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPUserEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10298,7 +10298,7 @@ impl IWMPVideoRenderConfig { (::windows::core::Vtable::vtable(self).SetpresenterActivate)(::windows::core::Vtable::as_raw(self), pactivate.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMPVideoRenderConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPVideoRenderConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPVideoRenderConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10344,7 +10344,7 @@ impl IWMPWindowMessageSink { (::windows::core::Vtable::vtable(self).OnWindowMessage)(::windows::core::Vtable::as_raw(self), umsg, wparam.into(), lparam.into(), plret, pfhandled).ok() } } -::windows::core::interface_hierarchy!(IWMPWindowMessageSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPWindowMessageSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPWindowMessageSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10587,7 +10587,7 @@ impl IXFeed { (::windows::core::Vtable::vtable(self).ItemCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXFeed, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXFeed, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXFeed { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10928,7 +10928,7 @@ impl IXFeed2 { (::windows::core::Vtable::vtable(self).ClearCredentials)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IXFeed2, ::windows::core::IUnknown, IXFeed); +::windows::imp::interface_hierarchy!(IXFeed2, ::windows::core::IUnknown, IXFeed); impl ::core::cmp::PartialEq for IXFeed2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11027,7 +11027,7 @@ impl IXFeedEnclosure { (::windows::core::Vtable::vtable(self).SetFile)(::windows::core::Vtable::as_raw(self), pszdownloadurl.into().abi(), pszdownloadfilepath.into().abi(), pszdownloadmimetype.into().abi(), pszenclosurefilename.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXFeedEnclosure, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXFeedEnclosure, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXFeedEnclosure { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11120,7 +11120,7 @@ impl IXFeedEvents { (::windows::core::Vtable::vtable(self).FeedItemCountChanged)(::windows::core::Vtable::as_raw(self), pszpath.into().abi(), feicfflags).ok() } } -::windows::core::interface_hierarchy!(IXFeedEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXFeedEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXFeedEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11269,7 +11269,7 @@ impl IXFeedFolder { (::windows::core::Vtable::vtable(self).TotalItemCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXFeedFolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXFeedFolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXFeedFolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11428,7 +11428,7 @@ impl IXFeedFolderEvents { (::windows::core::Vtable::vtable(self).FeedItemCountChanged)(::windows::core::Vtable::as_raw(self), pszpath.into().abi(), feicfflags).ok() } } -::windows::core::interface_hierarchy!(IXFeedFolderEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXFeedFolderEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXFeedFolderEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11564,7 +11564,7 @@ impl IXFeedItem { (::windows::core::Vtable::vtable(self).Modified)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXFeedItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXFeedItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXFeedItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11723,7 +11723,7 @@ impl IXFeedItem2 { (::windows::core::Vtable::vtable(self).EffectiveId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXFeedItem2, ::windows::core::IUnknown, IXFeedItem); +::windows::imp::interface_hierarchy!(IXFeedItem2, ::windows::core::IUnknown, IXFeedItem); impl ::core::cmp::PartialEq for IXFeedItem2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11768,7 +11768,7 @@ impl IXFeedsEnum { (::windows::core::Vtable::vtable(self).Item)(::windows::core::Vtable::as_raw(self), uiindex, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXFeedsEnum, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXFeedsEnum, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXFeedsEnum { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11903,7 +11903,7 @@ impl IXFeedsManager { (::windows::core::Vtable::vtable(self).ItemCountLimit)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXFeedsManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXFeedsManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXFeedsManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11966,7 +11966,7 @@ pub struct _WMPOCXEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _WMPOCXEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_WMPOCXEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_WMPOCXEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _WMPOCXEvents { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs index 4a654257a3..40b398adb8 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn AVIBuildFilterA(lpszfilter: &mut [u8], fsaving: P0) -> ::windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIBuildFilterA ( lpszfilter : :: windows::core::PSTR , cbfilter : i32 , fsaving : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIBuildFilterA ( lpszfilter : :: windows::core::PSTR , cbfilter : i32 , fsaving : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); AVIBuildFilterA(::core::mem::transmute(lpszfilter.as_ptr()), lpszfilter.len() as _, fsaving.into()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -15,13 +15,13 @@ pub unsafe fn AVIBuildFilterW(lpszfilter: &mut [u16], fsaving: P0) -> ::wind where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIBuildFilterW ( lpszfilter : :: windows::core::PWSTR , cbfilter : i32 , fsaving : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIBuildFilterW ( lpszfilter : :: windows::core::PWSTR , cbfilter : i32 , fsaving : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); AVIBuildFilterW(::core::mem::transmute(lpszfilter.as_ptr()), lpszfilter.len() as _, fsaving.into()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn AVIClearClipboard() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIClearClipboard ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIClearClipboard ( ) -> :: windows::core::HRESULT ); AVIClearClipboard().ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -30,7 +30,7 @@ pub unsafe fn AVIFileAddRef(pfile: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileAddRef ( pfile : * mut::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileAddRef ( pfile : * mut::core::ffi::c_void ) -> u32 ); AVIFileAddRef(pfile.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -40,7 +40,7 @@ pub unsafe fn AVIFileCreateStreamA(pfile: P0, ppavi: *mut ::core::option::Op where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileCreateStreamA ( pfile : * mut::core::ffi::c_void , ppavi : *mut * mut::core::ffi::c_void , psi : *const AVISTREAMINFOA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileCreateStreamA ( pfile : * mut::core::ffi::c_void , ppavi : *mut * mut::core::ffi::c_void , psi : *const AVISTREAMINFOA ) -> :: windows::core::HRESULT ); AVIFileCreateStreamA(pfile.into().abi(), ::core::mem::transmute(ppavi), psi).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -50,7 +50,7 @@ pub unsafe fn AVIFileCreateStreamW(pfile: P0, ppavi: *mut ::core::option::Op where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileCreateStreamW ( pfile : * mut::core::ffi::c_void , ppavi : *mut * mut::core::ffi::c_void , psi : *const AVISTREAMINFOW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileCreateStreamW ( pfile : * mut::core::ffi::c_void , ppavi : *mut * mut::core::ffi::c_void , psi : *const AVISTREAMINFOW ) -> :: windows::core::HRESULT ); AVIFileCreateStreamW(pfile.into().abi(), ::core::mem::transmute(ppavi), psi).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -59,13 +59,13 @@ pub unsafe fn AVIFileEndRecord(pfile: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileEndRecord ( pfile : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileEndRecord ( pfile : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); AVIFileEndRecord(pfile.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn AVIFileExit() { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileExit ( ) -> ( ) ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileExit ( ) -> ( ) ); AVIFileExit() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -74,7 +74,7 @@ pub unsafe fn AVIFileGetStream(pfile: P0, ppavi: *mut ::core::option::Option where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileGetStream ( pfile : * mut::core::ffi::c_void , ppavi : *mut * mut::core::ffi::c_void , fcctype : u32 , lparam : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileGetStream ( pfile : * mut::core::ffi::c_void , ppavi : *mut * mut::core::ffi::c_void , fcctype : u32 , lparam : i32 ) -> :: windows::core::HRESULT ); AVIFileGetStream(pfile.into().abi(), ::core::mem::transmute(ppavi), fcctype, lparam).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -84,7 +84,7 @@ pub unsafe fn AVIFileInfoA(pfile: P0, pfi: *mut AVIFILEINFOA, lsize: i32) -> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileInfoA ( pfile : * mut::core::ffi::c_void , pfi : *mut AVIFILEINFOA , lsize : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileInfoA ( pfile : * mut::core::ffi::c_void , pfi : *mut AVIFILEINFOA , lsize : i32 ) -> :: windows::core::HRESULT ); AVIFileInfoA(pfile.into().abi(), pfi, lsize).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -93,13 +93,13 @@ pub unsafe fn AVIFileInfoW(pfile: P0, pfi: *mut AVIFILEINFOW, lsize: i32) -> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileInfoW ( pfile : * mut::core::ffi::c_void , pfi : *mut AVIFILEINFOW , lsize : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileInfoW ( pfile : * mut::core::ffi::c_void , pfi : *mut AVIFILEINFOW , lsize : i32 ) -> :: windows::core::HRESULT ); AVIFileInfoW(pfile.into().abi(), pfi, lsize).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn AVIFileInit() { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileInit ( ) -> ( ) ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileInit ( ) -> ( ) ); AVIFileInit() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -108,7 +108,7 @@ pub unsafe fn AVIFileOpenA(ppfile: *mut ::core::option::Option, sz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileOpenA ( ppfile : *mut * mut::core::ffi::c_void , szfile : :: windows::core::PCSTR , umode : u32 , lphandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileOpenA ( ppfile : *mut * mut::core::ffi::c_void , szfile : :: windows::core::PCSTR , umode : u32 , lphandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); AVIFileOpenA(::core::mem::transmute(ppfile), szfile.into().abi(), umode, ::core::mem::transmute(lphandler.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn AVIFileOpenW(ppfile: *mut ::core::option::Option, sz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileOpenW ( ppfile : *mut * mut::core::ffi::c_void , szfile : :: windows::core::PCWSTR , umode : u32 , lphandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileOpenW ( ppfile : *mut * mut::core::ffi::c_void , szfile : :: windows::core::PCWSTR , umode : u32 , lphandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); AVIFileOpenW(::core::mem::transmute(ppfile), szfile.into().abi(), umode, ::core::mem::transmute(lphandler.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -126,7 +126,7 @@ pub unsafe fn AVIFileReadData(pfile: P0, ckid: u32, lpdata: *mut ::core::ffi where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileReadData ( pfile : * mut::core::ffi::c_void , ckid : u32 , lpdata : *mut ::core::ffi::c_void , lpcbdata : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileReadData ( pfile : * mut::core::ffi::c_void , ckid : u32 , lpdata : *mut ::core::ffi::c_void , lpcbdata : *mut i32 ) -> :: windows::core::HRESULT ); AVIFileReadData(pfile.into().abi(), ckid, lpdata, lpcbdata).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -135,7 +135,7 @@ pub unsafe fn AVIFileRelease(pfile: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileRelease ( pfile : * mut::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileRelease ( pfile : * mut::core::ffi::c_void ) -> u32 ); AVIFileRelease(pfile.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -144,13 +144,13 @@ pub unsafe fn AVIFileWriteData(pfile: P0, ckid: u32, lpdata: *const ::core:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIFileWriteData ( pfile : * mut::core::ffi::c_void , ckid : u32 , lpdata : *const ::core::ffi::c_void , cbdata : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIFileWriteData ( pfile : * mut::core::ffi::c_void , ckid : u32 , lpdata : *const ::core::ffi::c_void , cbdata : i32 ) -> :: windows::core::HRESULT ); AVIFileWriteData(pfile.into().abi(), ckid, lpdata, cbdata).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn AVIGetFromClipboard() -> ::windows::core::Result { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIGetFromClipboard ( lppf : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIGetFromClipboard ( lppf : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AVIGetFromClipboard(&mut result__).from_abi(result__) } @@ -160,13 +160,13 @@ pub unsafe fn AVIMakeCompressedStream(ppscompressed: *mut ::core::option::Op where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIMakeCompressedStream ( ppscompressed : *mut * mut::core::ffi::c_void , ppssource : * mut::core::ffi::c_void , lpoptions : *const AVICOMPRESSOPTIONS , pclsidhandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIMakeCompressedStream ( ppscompressed : *mut * mut::core::ffi::c_void , ppssource : * mut::core::ffi::c_void , lpoptions : *const AVICOMPRESSOPTIONS , pclsidhandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); AVIMakeCompressedStream(::core::mem::transmute(ppscompressed), ppssource.into().abi(), lpoptions, ::core::mem::transmute(pclsidhandler.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn AVIMakeFileFromStreams(ppfile: *mut ::core::option::Option, papstreams: &[::core::option::Option]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIMakeFileFromStreams ( ppfile : *mut * mut::core::ffi::c_void , nstreams : i32 , papstreams : *const * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIMakeFileFromStreams ( ppfile : *mut * mut::core::ffi::c_void , nstreams : i32 , papstreams : *const * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); AVIMakeFileFromStreams(::core::mem::transmute(ppfile), papstreams.len() as _, ::core::mem::transmute(papstreams.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -176,7 +176,7 @@ pub unsafe fn AVIMakeStreamFromClipboard(cfformat: u32, hglobal: P0) -> ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIMakeStreamFromClipboard ( cfformat : u32 , hglobal : super::super::Foundation:: HANDLE , ppstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIMakeStreamFromClipboard ( cfformat : u32 , hglobal : super::super::Foundation:: HANDLE , ppstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AVIMakeStreamFromClipboard(cfformat, hglobal.into(), &mut result__).from_abi(result__) } @@ -186,7 +186,7 @@ pub unsafe fn AVIPutFileOnClipboard(pf: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIPutFileOnClipboard ( pf : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIPutFileOnClipboard ( pf : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); AVIPutFileOnClipboard(pf.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -197,7 +197,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""cdecl" fn AVISaveA ( szfile : :: windows::core::PCSTR , pclsidhandler : *const :: windows::core::GUID , lpfncallback : AVISAVECALLBACK , nstreams : i32 , pfile : * mut::core::ffi::c_void , lpoptions : *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""cdecl" fn AVISaveA ( szfile : :: windows::core::PCSTR , pclsidhandler : *const :: windows::core::GUID , lpfncallback : AVISAVECALLBACK , nstreams : i32 , pfile : * mut::core::ffi::c_void , lpoptions : *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); AVISaveA(szfile.into().abi(), ::core::mem::transmute(pclsidhandler.unwrap_or(::std::ptr::null())), lpfncallback, nstreams, pfile.into().abi(), lpoptions).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -207,13 +207,13 @@ pub unsafe fn AVISaveOptions(hwnd: P0, uiflags: u32, nstreams: i32, ppavi: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVISaveOptions ( hwnd : super::super::Foundation:: HWND , uiflags : u32 , nstreams : i32 , ppavi : *const * mut::core::ffi::c_void , plpoptions : *mut *mut AVICOMPRESSOPTIONS ) -> isize ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVISaveOptions ( hwnd : super::super::Foundation:: HWND , uiflags : u32 , nstreams : i32 , ppavi : *const * mut::core::ffi::c_void , plpoptions : *mut *mut AVICOMPRESSOPTIONS ) -> isize ); AVISaveOptions(hwnd.into(), uiflags, nstreams, ::core::mem::transmute(ppavi), plpoptions) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn AVISaveOptionsFree(plpoptions: &[*const AVICOMPRESSOPTIONS]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "avifil32.dll""system" fn AVISaveOptionsFree ( nstreams : i32 , plpoptions : *const *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVISaveOptionsFree ( nstreams : i32 , plpoptions : *const *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); AVISaveOptionsFree(plpoptions.len() as _, ::core::mem::transmute(plpoptions.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -223,7 +223,7 @@ pub unsafe fn AVISaveVA(szfile: P0, pclsidhandler: ::core::option::Option<*c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVISaveVA ( szfile : :: windows::core::PCSTR , pclsidhandler : *const :: windows::core::GUID , lpfncallback : AVISAVECALLBACK , nstreams : i32 , ppavi : *const * mut::core::ffi::c_void , plpoptions : *const *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVISaveVA ( szfile : :: windows::core::PCSTR , pclsidhandler : *const :: windows::core::GUID , lpfncallback : AVISAVECALLBACK , nstreams : i32 , ppavi : *const * mut::core::ffi::c_void , plpoptions : *const *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); AVISaveVA(szfile.into().abi(), ::core::mem::transmute(pclsidhandler.unwrap_or(::std::ptr::null())), lpfncallback, nstreams, ::core::mem::transmute(ppavi), plpoptions).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -233,7 +233,7 @@ pub unsafe fn AVISaveVW(szfile: P0, pclsidhandler: ::core::option::Option<*c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVISaveVW ( szfile : :: windows::core::PCWSTR , pclsidhandler : *const :: windows::core::GUID , lpfncallback : AVISAVECALLBACK , nstreams : i32 , ppavi : *const * mut::core::ffi::c_void , plpoptions : *const *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVISaveVW ( szfile : :: windows::core::PCWSTR , pclsidhandler : *const :: windows::core::GUID , lpfncallback : AVISAVECALLBACK , nstreams : i32 , ppavi : *const * mut::core::ffi::c_void , plpoptions : *const *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); AVISaveVW(szfile.into().abi(), ::core::mem::transmute(pclsidhandler.unwrap_or(::std::ptr::null())), lpfncallback, nstreams, ::core::mem::transmute(ppavi), plpoptions).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -244,7 +244,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""cdecl" fn AVISaveW ( szfile : :: windows::core::PCWSTR , pclsidhandler : *const :: windows::core::GUID , lpfncallback : AVISAVECALLBACK , nstreams : i32 , pfile : * mut::core::ffi::c_void , lpoptions : *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""cdecl" fn AVISaveW ( szfile : :: windows::core::PCWSTR , pclsidhandler : *const :: windows::core::GUID , lpfncallback : AVISAVECALLBACK , nstreams : i32 , pfile : * mut::core::ffi::c_void , lpoptions : *const AVICOMPRESSOPTIONS ) -> :: windows::core::HRESULT ); AVISaveW(szfile.into().abi(), ::core::mem::transmute(pclsidhandler.unwrap_or(::std::ptr::null())), lpfncallback, nstreams, pfile.into().abi(), lpoptions).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -253,7 +253,7 @@ pub unsafe fn AVIStreamAddRef(pavi: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamAddRef ( pavi : * mut::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamAddRef ( pavi : * mut::core::ffi::c_void ) -> u32 ); AVIStreamAddRef(pavi.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -262,13 +262,13 @@ pub unsafe fn AVIStreamBeginStreaming(pavi: P0, lstart: i32, lend: i32, lrat where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamBeginStreaming ( pavi : * mut::core::ffi::c_void , lstart : i32 , lend : i32 , lrate : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamBeginStreaming ( pavi : * mut::core::ffi::c_void , lstart : i32 , lend : i32 , lrate : i32 ) -> :: windows::core::HRESULT ); AVIStreamBeginStreaming(pavi.into().abi(), lstart, lend, lrate).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn AVIStreamCreate(ppavi: *mut ::core::option::Option, lparam1: i32, lparam2: i32, pclsidhandler: ::core::option::Option<*const ::windows::core::GUID>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamCreate ( ppavi : *mut * mut::core::ffi::c_void , lparam1 : i32 , lparam2 : i32 , pclsidhandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamCreate ( ppavi : *mut * mut::core::ffi::c_void , lparam1 : i32 , lparam2 : i32 , pclsidhandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); AVIStreamCreate(::core::mem::transmute(ppavi), lparam1, lparam2, ::core::mem::transmute(pclsidhandler.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -277,7 +277,7 @@ pub unsafe fn AVIStreamEndStreaming(pavi: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamEndStreaming ( pavi : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamEndStreaming ( pavi : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); AVIStreamEndStreaming(pavi.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -286,7 +286,7 @@ pub unsafe fn AVIStreamFindSample(pavi: P0, lpos: i32, lflags: i32) -> i32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamFindSample ( pavi : * mut::core::ffi::c_void , lpos : i32 , lflags : i32 ) -> i32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamFindSample ( pavi : * mut::core::ffi::c_void , lpos : i32 , lflags : i32 ) -> i32 ); AVIStreamFindSample(pavi.into().abi(), lpos, lflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -295,7 +295,7 @@ pub unsafe fn AVIStreamGetFrame(pg: P0, lpos: i32) -> *mut ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamGetFrame ( pg : * mut::core::ffi::c_void , lpos : i32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamGetFrame ( pg : * mut::core::ffi::c_void , lpos : i32 ) -> *mut ::core::ffi::c_void ); AVIStreamGetFrame(pg.into().abi(), lpos) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -304,7 +304,7 @@ pub unsafe fn AVIStreamGetFrameClose(pg: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamGetFrameClose ( pg : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamGetFrameClose ( pg : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); AVIStreamGetFrameClose(pg.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -314,7 +314,7 @@ pub unsafe fn AVIStreamGetFrameOpen(pavi: P0, lpbiwanted: ::core::option::Op where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamGetFrameOpen ( pavi : * mut::core::ffi::c_void , lpbiwanted : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER ) -> ::core::option::Option < IGetFrame > ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamGetFrameOpen ( pavi : * mut::core::ffi::c_void , lpbiwanted : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER ) -> ::core::option::Option < IGetFrame > ); AVIStreamGetFrameOpen(pavi.into().abi(), ::core::mem::transmute(lpbiwanted.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -324,7 +324,7 @@ pub unsafe fn AVIStreamInfoA(pavi: P0, psi: *mut AVISTREAMINFOA, lsize: i32) where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamInfoA ( pavi : * mut::core::ffi::c_void , psi : *mut AVISTREAMINFOA , lsize : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamInfoA ( pavi : * mut::core::ffi::c_void , psi : *mut AVISTREAMINFOA , lsize : i32 ) -> :: windows::core::HRESULT ); AVIStreamInfoA(pavi.into().abi(), psi, lsize).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -334,7 +334,7 @@ pub unsafe fn AVIStreamInfoW(pavi: P0, psi: *mut AVISTREAMINFOW, lsize: i32) where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamInfoW ( pavi : * mut::core::ffi::c_void , psi : *mut AVISTREAMINFOW , lsize : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamInfoW ( pavi : * mut::core::ffi::c_void , psi : *mut AVISTREAMINFOW , lsize : i32 ) -> :: windows::core::HRESULT ); AVIStreamInfoW(pavi.into().abi(), psi, lsize).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -343,7 +343,7 @@ pub unsafe fn AVIStreamLength(pavi: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamLength ( pavi : * mut::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamLength ( pavi : * mut::core::ffi::c_void ) -> i32 ); AVIStreamLength(pavi.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -352,7 +352,7 @@ pub unsafe fn AVIStreamOpenFromFileA(ppavi: *mut ::core::option::Option>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamOpenFromFileA ( ppavi : *mut * mut::core::ffi::c_void , szfile : :: windows::core::PCSTR , fcctype : u32 , lparam : i32 , mode : u32 , pclsidhandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamOpenFromFileA ( ppavi : *mut * mut::core::ffi::c_void , szfile : :: windows::core::PCSTR , fcctype : u32 , lparam : i32 , mode : u32 , pclsidhandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); AVIStreamOpenFromFileA(::core::mem::transmute(ppavi), szfile.into().abi(), fcctype, lparam, mode, ::core::mem::transmute(pclsidhandler.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -361,7 +361,7 @@ pub unsafe fn AVIStreamOpenFromFileW(ppavi: *mut ::core::option::Option>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamOpenFromFileW ( ppavi : *mut * mut::core::ffi::c_void , szfile : :: windows::core::PCWSTR , fcctype : u32 , lparam : i32 , mode : u32 , pclsidhandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamOpenFromFileW ( ppavi : *mut * mut::core::ffi::c_void , szfile : :: windows::core::PCWSTR , fcctype : u32 , lparam : i32 , mode : u32 , pclsidhandler : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); AVIStreamOpenFromFileW(::core::mem::transmute(ppavi), szfile.into().abi(), fcctype, lparam, mode, ::core::mem::transmute(pclsidhandler.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -370,7 +370,7 @@ pub unsafe fn AVIStreamRead(pavi: P0, lstart: i32, lsamples: i32, lpbuffer: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamRead ( pavi : * mut::core::ffi::c_void , lstart : i32 , lsamples : i32 , lpbuffer : *mut ::core::ffi::c_void , cbbuffer : i32 , plbytes : *mut i32 , plsamples : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamRead ( pavi : * mut::core::ffi::c_void , lstart : i32 , lsamples : i32 , lpbuffer : *mut ::core::ffi::c_void , cbbuffer : i32 , plbytes : *mut i32 , plsamples : *mut i32 ) -> :: windows::core::HRESULT ); AVIStreamRead(pavi.into().abi(), lstart, lsamples, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), cbbuffer, ::core::mem::transmute(plbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plsamples.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -379,7 +379,7 @@ pub unsafe fn AVIStreamReadData(pavi: P0, fcc: u32, lp: ::core::option::Opti where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamReadData ( pavi : * mut::core::ffi::c_void , fcc : u32 , lp : *mut ::core::ffi::c_void , lpcb : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamReadData ( pavi : * mut::core::ffi::c_void , fcc : u32 , lp : *mut ::core::ffi::c_void , lpcb : *mut i32 ) -> :: windows::core::HRESULT ); AVIStreamReadData(pavi.into().abi(), fcc, ::core::mem::transmute(lp.unwrap_or(::std::ptr::null_mut())), lpcb).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -388,7 +388,7 @@ pub unsafe fn AVIStreamReadFormat(pavi: P0, lpos: i32, lpformat: ::core::opt where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamReadFormat ( pavi : * mut::core::ffi::c_void , lpos : i32 , lpformat : *mut ::core::ffi::c_void , lpcbformat : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamReadFormat ( pavi : * mut::core::ffi::c_void , lpos : i32 , lpformat : *mut ::core::ffi::c_void , lpcbformat : *mut i32 ) -> :: windows::core::HRESULT ); AVIStreamReadFormat(pavi.into().abi(), lpos, ::core::mem::transmute(lpformat.unwrap_or(::std::ptr::null_mut())), lpcbformat).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -397,7 +397,7 @@ pub unsafe fn AVIStreamRelease(pavi: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamRelease ( pavi : * mut::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamRelease ( pavi : * mut::core::ffi::c_void ) -> u32 ); AVIStreamRelease(pavi.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -406,7 +406,7 @@ pub unsafe fn AVIStreamSampleToTime(pavi: P0, lsample: i32) -> i32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamSampleToTime ( pavi : * mut::core::ffi::c_void , lsample : i32 ) -> i32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamSampleToTime ( pavi : * mut::core::ffi::c_void , lsample : i32 ) -> i32 ); AVIStreamSampleToTime(pavi.into().abi(), lsample) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -415,7 +415,7 @@ pub unsafe fn AVIStreamSetFormat(pavi: P0, lpos: i32, lpformat: *const ::cor where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamSetFormat ( pavi : * mut::core::ffi::c_void , lpos : i32 , lpformat : *const ::core::ffi::c_void , cbformat : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamSetFormat ( pavi : * mut::core::ffi::c_void , lpos : i32 , lpformat : *const ::core::ffi::c_void , cbformat : i32 ) -> :: windows::core::HRESULT ); AVIStreamSetFormat(pavi.into().abi(), lpos, lpformat, cbformat).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -424,7 +424,7 @@ pub unsafe fn AVIStreamStart(pavi: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamStart ( pavi : * mut::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamStart ( pavi : * mut::core::ffi::c_void ) -> i32 ); AVIStreamStart(pavi.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -433,7 +433,7 @@ pub unsafe fn AVIStreamTimeToSample(pavi: P0, ltime: i32) -> i32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamTimeToSample ( pavi : * mut::core::ffi::c_void , ltime : i32 ) -> i32 ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamTimeToSample ( pavi : * mut::core::ffi::c_void , ltime : i32 ) -> i32 ); AVIStreamTimeToSample(pavi.into().abi(), ltime) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -442,7 +442,7 @@ pub unsafe fn AVIStreamWrite(pavi: P0, lstart: i32, lsamples: i32, lpbuffer: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamWrite ( pavi : * mut::core::ffi::c_void , lstart : i32 , lsamples : i32 , lpbuffer : *const ::core::ffi::c_void , cbbuffer : i32 , dwflags : u32 , plsampwritten : *mut i32 , plbyteswritten : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamWrite ( pavi : * mut::core::ffi::c_void , lstart : i32 , lsamples : i32 , lpbuffer : *const ::core::ffi::c_void , cbbuffer : i32 , dwflags : u32 , plsampwritten : *mut i32 , plbyteswritten : *mut i32 ) -> :: windows::core::HRESULT ); AVIStreamWrite(pavi.into().abi(), lstart, lsamples, lpbuffer, cbbuffer, dwflags, ::core::mem::transmute(plsampwritten.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plbyteswritten.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -451,7 +451,7 @@ pub unsafe fn AVIStreamWriteData(pavi: P0, fcc: u32, lp: *const ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn AVIStreamWriteData ( pavi : * mut::core::ffi::c_void , fcc : u32 , lp : *const ::core::ffi::c_void , cb : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn AVIStreamWriteData ( pavi : * mut::core::ffi::c_void , fcc : u32 , lp : *const ::core::ffi::c_void , cb : i32 ) -> :: windows::core::HRESULT ); AVIStreamWriteData(pavi.into().abi(), fcc, lp, cb).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -463,7 +463,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn CloseDriver ( hdriver : HDRVR , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "winmm.dll""system" fn CloseDriver ( hdriver : HDRVR , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); CloseDriver(hdriver.into(), lparam1.into(), lparam2.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -472,7 +472,7 @@ pub unsafe fn CreateEditableStream(ppseditable: *mut ::core::option::Option< where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn CreateEditableStream ( ppseditable : *mut * mut::core::ffi::c_void , pssource : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn CreateEditableStream ( ppseditable : *mut * mut::core::ffi::c_void , pssource : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateEditableStream(::core::mem::transmute(ppseditable), pssource.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -484,7 +484,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn DefDriverProc ( dwdriveridentifier : usize , hdrvr : HDRVR , umsg : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "winmm.dll""system" fn DefDriverProc ( dwdriveridentifier : usize , hdrvr : HDRVR , umsg : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefDriverProc(dwdriveridentifier, hdrvr.into(), umsg, lparam1.into(), lparam2.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -494,21 +494,21 @@ pub unsafe fn DrawDibBegin(hdd: isize, hdc: P0, dxdst: i32, dydst: i32, lpbi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibBegin ( hdd : isize , hdc : super::super::Graphics::Gdi:: HDC , dxdst : i32 , dydst : i32 , lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , dxsrc : i32 , dysrc : i32 , wflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibBegin ( hdd : isize , hdc : super::super::Graphics::Gdi:: HDC , dxdst : i32 , dydst : i32 , lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , dxsrc : i32 , dysrc : i32 , wflags : u32 ) -> super::super::Foundation:: BOOL ); DrawDibBegin(hdd, hdc.into(), dxdst, dydst, lpbi, dxsrc, dysrc, wflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn DrawDibChangePalette(hdd: isize, istart: i32, lppe: &[super::super::Graphics::Gdi::PALETTEENTRY]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibChangePalette ( hdd : isize , istart : i32 , ilen : i32 , lppe : *const super::super::Graphics::Gdi:: PALETTEENTRY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibChangePalette ( hdd : isize , istart : i32 , ilen : i32 , lppe : *const super::super::Graphics::Gdi:: PALETTEENTRY ) -> super::super::Foundation:: BOOL ); DrawDibChangePalette(hdd, istart, lppe.len() as _, ::core::mem::transmute(lppe.as_ptr())) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DrawDibClose(hdd: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibClose ( hdd : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibClose ( hdd : isize ) -> super::super::Foundation:: BOOL ); DrawDibClose(hdd) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -518,41 +518,41 @@ pub unsafe fn DrawDibDraw(hdd: isize, hdc: P0, xdst: i32, ydst: i32, dxdst: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibDraw ( hdd : isize , hdc : super::super::Graphics::Gdi:: HDC , xdst : i32 , ydst : i32 , dxdst : i32 , dydst : i32 , lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbits : *const ::core::ffi::c_void , xsrc : i32 , ysrc : i32 , dxsrc : i32 , dysrc : i32 , wflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibDraw ( hdd : isize , hdc : super::super::Graphics::Gdi:: HDC , xdst : i32 , ydst : i32 , dxdst : i32 , dydst : i32 , lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbits : *const ::core::ffi::c_void , xsrc : i32 , ysrc : i32 , dxsrc : i32 , dysrc : i32 , wflags : u32 ) -> super::super::Foundation:: BOOL ); DrawDibDraw(hdd, hdc.into(), xdst, ydst, dxdst, dydst, ::core::mem::transmute(lpbi.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpbits.unwrap_or(::std::ptr::null())), xsrc, ysrc, dxsrc, dysrc, wflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DrawDibEnd(hdd: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibEnd ( hdd : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibEnd ( hdd : isize ) -> super::super::Foundation:: BOOL ); DrawDibEnd(hdd) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn DrawDibGetBuffer(hdd: isize, lpbi: *mut super::super::Graphics::Gdi::BITMAPINFOHEADER, dwsize: u32, dwflags: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibGetBuffer ( hdd : isize , lpbi : *mut super::super::Graphics::Gdi:: BITMAPINFOHEADER , dwsize : u32 , dwflags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibGetBuffer ( hdd : isize , lpbi : *mut super::super::Graphics::Gdi:: BITMAPINFOHEADER , dwsize : u32 , dwflags : u32 ) -> *mut ::core::ffi::c_void ); DrawDibGetBuffer(hdd, lpbi, dwsize, dwflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn DrawDibGetPalette(hdd: isize) -> super::super::Graphics::Gdi::HPALETTE { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibGetPalette ( hdd : isize ) -> super::super::Graphics::Gdi:: HPALETTE ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibGetPalette ( hdd : isize ) -> super::super::Graphics::Gdi:: HPALETTE ); DrawDibGetPalette(hdd) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn DrawDibOpen() -> isize { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibOpen ( ) -> isize ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibOpen ( ) -> isize ); DrawDibOpen() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn DrawDibProfileDisplay(lpbi: *const super::super::Graphics::Gdi::BITMAPINFOHEADER) -> super::super::Foundation::LRESULT { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibProfileDisplay ( lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibProfileDisplay ( lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER ) -> super::super::Foundation:: LRESULT ); DrawDibProfileDisplay(lpbi) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -563,7 +563,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibRealize ( hdd : isize , hdc : super::super::Graphics::Gdi:: HDC , fbackground : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibRealize ( hdd : isize , hdc : super::super::Graphics::Gdi:: HDC , fbackground : super::super::Foundation:: BOOL ) -> u32 ); DrawDibRealize(hdd, hdc.into(), fbackground.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -573,28 +573,28 @@ pub unsafe fn DrawDibSetPalette(hdd: isize, hpal: P0) -> super::super::Found where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibSetPalette ( hdd : isize , hpal : super::super::Graphics::Gdi:: HPALETTE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibSetPalette ( hdd : isize , hpal : super::super::Graphics::Gdi:: HPALETTE ) -> super::super::Foundation:: BOOL ); DrawDibSetPalette(hdd, hpal.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DrawDibStart(hdd: isize, rate: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibStart ( hdd : isize , rate : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibStart ( hdd : isize , rate : u32 ) -> super::super::Foundation:: BOOL ); DrawDibStart(hdd, rate) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DrawDibStop(hdd: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibStop ( hdd : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibStop ( hdd : isize ) -> super::super::Foundation:: BOOL ); DrawDibStop(hdd) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DrawDibTime(hdd: isize, lpddtime: *mut DRAWDIBTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn DrawDibTime ( hdd : isize , lpddtime : *mut DRAWDIBTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn DrawDibTime ( hdd : isize , lpddtime : *mut DRAWDIBTIME ) -> super::super::Foundation:: BOOL ); DrawDibTime(hdd, lpddtime) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -604,7 +604,7 @@ pub unsafe fn DriverCallback(dwcallback: usize, dwflags: u32, hdevice: P0, d where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn DriverCallback ( dwcallback : usize , dwflags : u32 , hdevice : HDRVR , dwmsg : u32 , dwuser : usize , dwparam1 : usize , dwparam2 : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn DriverCallback ( dwcallback : usize , dwflags : u32 , hdevice : HDRVR , dwmsg : u32 , dwuser : usize , dwparam1 : usize , dwparam2 : usize ) -> super::super::Foundation:: BOOL ); DriverCallback(dwcallback, dwflags, hdevice.into(), dwmsg, dwuser, dwparam1, dwparam2) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -614,7 +614,7 @@ pub unsafe fn DrvGetModuleHandle(hdriver: P0) -> super::super::Foundation::H where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn DrvGetModuleHandle ( hdriver : HDRVR ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "winmm.dll""system" fn DrvGetModuleHandle ( hdriver : HDRVR ) -> super::super::Foundation:: HINSTANCE ); DrvGetModuleHandle(hdriver.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -623,7 +623,7 @@ pub unsafe fn EditStreamClone(pavi: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "avifil32.dll""system" fn EditStreamClone ( pavi : * mut::core::ffi::c_void , ppresult : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn EditStreamClone ( pavi : * mut::core::ffi::c_void , ppresult : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); EditStreamClone(pavi.into().abi(), &mut result__).from_abi(result__) } @@ -633,7 +633,7 @@ pub unsafe fn EditStreamCopy(pavi: P0, plstart: *mut i32, pllength: *mut i32 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn EditStreamCopy ( pavi : * mut::core::ffi::c_void , plstart : *mut i32 , pllength : *mut i32 , ppresult : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn EditStreamCopy ( pavi : * mut::core::ffi::c_void , plstart : *mut i32 , pllength : *mut i32 , ppresult : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); EditStreamCopy(pavi.into().abi(), plstart, pllength, ::core::mem::transmute(ppresult)).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -642,7 +642,7 @@ pub unsafe fn EditStreamCut(pavi: P0, plstart: *mut i32, pllength: *mut i32, where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn EditStreamCut ( pavi : * mut::core::ffi::c_void , plstart : *mut i32 , pllength : *mut i32 , ppresult : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn EditStreamCut ( pavi : * mut::core::ffi::c_void , plstart : *mut i32 , pllength : *mut i32 , ppresult : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); EditStreamCut(pavi.into().abi(), plstart, pllength, ::core::mem::transmute(ppresult)).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -652,7 +652,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn EditStreamPaste ( pavi : * mut::core::ffi::c_void , plpos : *mut i32 , pllength : *mut i32 , pstream : * mut::core::ffi::c_void , lstart : i32 , lend : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn EditStreamPaste ( pavi : * mut::core::ffi::c_void , plpos : *mut i32 , pllength : *mut i32 , pstream : * mut::core::ffi::c_void , lstart : i32 , lend : i32 ) -> :: windows::core::HRESULT ); EditStreamPaste(pavi.into().abi(), plpos, pllength, pstream.into().abi(), lstart, lend).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -662,7 +662,7 @@ pub unsafe fn EditStreamSetInfoA(pavi: P0, lpinfo: *const AVISTREAMINFOA, cb where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn EditStreamSetInfoA ( pavi : * mut::core::ffi::c_void , lpinfo : *const AVISTREAMINFOA , cbinfo : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn EditStreamSetInfoA ( pavi : * mut::core::ffi::c_void , lpinfo : *const AVISTREAMINFOA , cbinfo : i32 ) -> :: windows::core::HRESULT ); EditStreamSetInfoA(pavi.into().abi(), lpinfo, cbinfo).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -672,7 +672,7 @@ pub unsafe fn EditStreamSetInfoW(pavi: P0, lpinfo: *const AVISTREAMINFOW, cb where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "avifil32.dll""system" fn EditStreamSetInfoW ( pavi : * mut::core::ffi::c_void , lpinfo : *const AVISTREAMINFOW , cbinfo : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn EditStreamSetInfoW ( pavi : * mut::core::ffi::c_void , lpinfo : *const AVISTREAMINFOW , cbinfo : i32 ) -> :: windows::core::HRESULT ); EditStreamSetInfoW(pavi.into().abi(), lpinfo, cbinfo).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -682,7 +682,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "avifil32.dll""system" fn EditStreamSetNameA ( pavi : * mut::core::ffi::c_void , lpszname : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn EditStreamSetNameA ( pavi : * mut::core::ffi::c_void , lpszname : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); EditStreamSetNameA(pavi.into().abi(), lpszname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -692,7 +692,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "avifil32.dll""system" fn EditStreamSetNameW ( pavi : * mut::core::ffi::c_void , lpszname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "avifil32.dll""system" fn EditStreamSetNameW ( pavi : * mut::core::ffi::c_void , lpszname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); EditStreamSetNameW(pavi.into().abi(), lpszname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -702,35 +702,35 @@ pub unsafe fn GetDriverModuleHandle(hdriver: P0) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn GetDriverModuleHandle ( hdriver : HDRVR ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "winmm.dll""system" fn GetDriverModuleHandle ( hdriver : HDRVR ) -> super::super::Foundation:: HINSTANCE ); GetDriverModuleHandle(hdriver.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] #[inline] pub unsafe fn GetOpenFileNamePreviewA(lpofn: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn GetOpenFileNamePreviewA ( lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn GetOpenFileNamePreviewA ( lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEA ) -> super::super::Foundation:: BOOL ); GetOpenFileNamePreviewA(lpofn) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] #[inline] pub unsafe fn GetOpenFileNamePreviewW(lpofn: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn GetOpenFileNamePreviewW ( lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn GetOpenFileNamePreviewW ( lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEW ) -> super::super::Foundation:: BOOL ); GetOpenFileNamePreviewW(lpofn) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] #[inline] pub unsafe fn GetSaveFileNamePreviewA(lpofn: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn GetSaveFileNamePreviewA ( lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn GetSaveFileNamePreviewA ( lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEA ) -> super::super::Foundation:: BOOL ); GetSaveFileNamePreviewA(lpofn) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] #[inline] pub unsafe fn GetSaveFileNamePreviewW(lpofn: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn GetSaveFileNamePreviewW ( lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn GetSaveFileNamePreviewW ( lpofn : *mut super::super::UI::Controls::Dialogs:: OPENFILENAMEW ) -> super::super::Foundation:: BOOL ); GetSaveFileNamePreviewW(lpofn) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -740,7 +740,7 @@ pub unsafe fn ICClose(hic: P0) -> super::super::Foundation::LRESULT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICClose ( hic : HIC ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICClose ( hic : HIC ) -> super::super::Foundation:: LRESULT ); ICClose(hic.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -750,7 +750,7 @@ pub unsafe fn ICCompress(hic: P0, dwflags: u32, lpbioutput: *const super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""cdecl" fn ICCompress ( hic : HIC , dwflags : u32 , lpbioutput : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpdata : *mut ::core::ffi::c_void , lpbiinput : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbits : *const ::core::ffi::c_void , lpckid : *mut u32 , lpdwflags : *mut u32 , lframenum : i32 , dwframesize : u32 , dwquality : u32 , lpbiprev : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpprev : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "msvfw32.dll""cdecl" fn ICCompress ( hic : HIC , dwflags : u32 , lpbioutput : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpdata : *mut ::core::ffi::c_void , lpbiinput : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbits : *const ::core::ffi::c_void , lpckid : *mut u32 , lpdwflags : *mut u32 , lframenum : i32 , dwframesize : u32 , dwquality : u32 , lpbiprev : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpprev : *const ::core::ffi::c_void ) -> u32 ); ICCompress(hic.into(), dwflags, lpbioutput, lpdata, lpbiinput, lpbits, ::core::mem::transmute(lpckid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdwflags.unwrap_or(::std::ptr::null_mut())), lframenum, dwframesize, dwquality, ::core::mem::transmute(lpbiprev.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpprev.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -761,14 +761,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICCompressorChoose ( hwnd : super::super::Foundation:: HWND , uiflags : u32 , pvin : *const ::core::ffi::c_void , lpdata : *const ::core::ffi::c_void , pc : *mut COMPVARS , lpsztitle : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICCompressorChoose ( hwnd : super::super::Foundation:: HWND , uiflags : u32 , pvin : *const ::core::ffi::c_void , lpdata : *const ::core::ffi::c_void , pc : *mut COMPVARS , lpsztitle : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); ICCompressorChoose(hwnd.into(), uiflags, ::core::mem::transmute(pvin.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), pc, lpsztitle.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn ICCompressorFree(pc: *const COMPVARS) { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICCompressorFree ( pc : *const COMPVARS ) -> ( ) ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICCompressorFree ( pc : *const COMPVARS ) -> ( ) ); ICCompressorFree(pc) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -778,7 +778,7 @@ pub unsafe fn ICDecompress(hic: P0, dwflags: u32, lpbiformat: *const super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""cdecl" fn ICDecompress ( hic : HIC , dwflags : u32 , lpbiformat : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpdata : *const ::core::ffi::c_void , lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbits : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "msvfw32.dll""cdecl" fn ICDecompress ( hic : HIC , dwflags : u32 , lpbiformat : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpdata : *const ::core::ffi::c_void , lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbits : *mut ::core::ffi::c_void ) -> u32 ); ICDecompress(hic.into(), dwflags, lpbiformat, lpdata, lpbi, lpbits) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -787,7 +787,7 @@ pub unsafe fn ICDraw(hic: P0, dwflags: u32, lpformat: *const ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""cdecl" fn ICDraw ( hic : HIC , dwflags : u32 , lpformat : *const ::core::ffi::c_void , lpdata : *const ::core::ffi::c_void , cbdata : u32 , ltime : i32 ) -> u32 ); + ::windows::imp::link ! ( "msvfw32.dll""cdecl" fn ICDraw ( hic : HIC , dwflags : u32 , lpformat : *const ::core::ffi::c_void , lpdata : *const ::core::ffi::c_void , cbdata : u32 , ltime : i32 ) -> u32 ); ICDraw(hic.into(), dwflags, lpformat, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), cbdata, ltime) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -800,7 +800,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""cdecl" fn ICDrawBegin ( hic : HIC , dwflags : u32 , hpal : super::super::Graphics::Gdi:: HPALETTE , hwnd : super::super::Foundation:: HWND , hdc : super::super::Graphics::Gdi:: HDC , xdst : i32 , ydst : i32 , dxdst : i32 , dydst : i32 , lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , xsrc : i32 , ysrc : i32 , dxsrc : i32 , dysrc : i32 , dwrate : u32 , dwscale : u32 ) -> u32 ); + ::windows::imp::link ! ( "msvfw32.dll""cdecl" fn ICDrawBegin ( hic : HIC , dwflags : u32 , hpal : super::super::Graphics::Gdi:: HPALETTE , hwnd : super::super::Foundation:: HWND , hdc : super::super::Graphics::Gdi:: HDC , xdst : i32 , ydst : i32 , dxdst : i32 , dydst : i32 , lpbi : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , xsrc : i32 , ysrc : i32 , dxsrc : i32 , dysrc : i32 , dwrate : u32 , dwscale : u32 ) -> u32 ); ICDrawBegin(hic.into(), dwflags, hpal.into(), hwnd.into(), hdc.into(), xdst, ydst, dxdst, dydst, lpbi, xsrc, ysrc, dxsrc, dysrc, dwrate, dwscale) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -810,7 +810,7 @@ pub unsafe fn ICGetDisplayFormat(hic: P0, lpbiin: *const super::super::Graph where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICGetDisplayFormat ( hic : HIC , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbiout : *mut super::super::Graphics::Gdi:: BITMAPINFOHEADER , bitdepth : i32 , dx : i32 , dy : i32 ) -> HIC ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICGetDisplayFormat ( hic : HIC , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbiout : *mut super::super::Graphics::Gdi:: BITMAPINFOHEADER , bitdepth : i32 , dx : i32 , dy : i32 ) -> HIC ); ICGetDisplayFormat(hic.into(), lpbiin, lpbiout, bitdepth, dx, dy) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -820,7 +820,7 @@ pub unsafe fn ICGetInfo(hic: P0, picinfo: *mut ICINFO, cb: u32) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICGetInfo ( hic : HIC , picinfo : *mut ICINFO , cb : u32 ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICGetInfo ( hic : HIC , picinfo : *mut ICINFO , cb : u32 ) -> super::super::Foundation:: LRESULT ); ICGetInfo(hic.into(), picinfo, cb) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -830,7 +830,7 @@ pub unsafe fn ICImageCompress(hic: P0, uiflags: u32, lpbiin: *const super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICImageCompress ( hic : HIC , uiflags : u32 , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFO , lpbits : *const ::core::ffi::c_void , lpbiout : *const super::super::Graphics::Gdi:: BITMAPINFO , lquality : i32 , plsize : *mut i32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICImageCompress ( hic : HIC , uiflags : u32 , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFO , lpbits : *const ::core::ffi::c_void , lpbiout : *const super::super::Graphics::Gdi:: BITMAPINFO , lquality : i32 , plsize : *mut i32 ) -> super::super::Foundation:: HANDLE ); ICImageCompress(hic.into(), uiflags, lpbiin, lpbits, ::core::mem::transmute(lpbiout.unwrap_or(::std::ptr::null())), lquality, ::core::mem::transmute(plsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -840,14 +840,14 @@ pub unsafe fn ICImageDecompress(hic: P0, uiflags: u32, lpbiin: *const super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICImageDecompress ( hic : HIC , uiflags : u32 , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFO , lpbits : *const ::core::ffi::c_void , lpbiout : *const super::super::Graphics::Gdi:: BITMAPINFO ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICImageDecompress ( hic : HIC , uiflags : u32 , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFO , lpbits : *const ::core::ffi::c_void , lpbiout : *const super::super::Graphics::Gdi:: BITMAPINFO ) -> super::super::Foundation:: HANDLE ); ICImageDecompress(hic.into(), uiflags, lpbiin, lpbits, ::core::mem::transmute(lpbiout.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ICInfo(fcctype: u32, fcchandler: u32, lpicinfo: *mut ICINFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICInfo ( fcctype : u32 , fcchandler : u32 , lpicinfo : *mut ICINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICInfo ( fcctype : u32 , fcchandler : u32 , lpicinfo : *mut ICINFO ) -> super::super::Foundation:: BOOL ); ICInfo(fcctype, fcchandler, lpicinfo) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -858,34 +858,34 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICInstall ( fcctype : u32 , fcchandler : u32 , lparam : super::super::Foundation:: LPARAM , szdesc : :: windows::core::PCSTR , wflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICInstall ( fcctype : u32 , fcchandler : u32 , lparam : super::super::Foundation:: LPARAM , szdesc : :: windows::core::PCSTR , wflags : u32 ) -> super::super::Foundation:: BOOL ); ICInstall(fcctype, fcchandler, lparam.into(), szdesc.into().abi(), wflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn ICLocate(fcctype: u32, fcchandler: u32, lpbiin: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, lpbiout: ::core::option::Option<*const super::super::Graphics::Gdi::BITMAPINFOHEADER>, wflags: u16) -> HIC { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICLocate ( fcctype : u32 , fcchandler : u32 , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbiout : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , wflags : u16 ) -> HIC ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICLocate ( fcctype : u32 , fcchandler : u32 , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , lpbiout : *const super::super::Graphics::Gdi:: BITMAPINFOHEADER , wflags : u16 ) -> HIC ); ICLocate(fcctype, fcchandler, lpbiin, ::core::mem::transmute(lpbiout.unwrap_or(::std::ptr::null())), wflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn ICOpen(fcctype: u32, fcchandler: u32, wmode: u32) -> HIC { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICOpen ( fcctype : u32 , fcchandler : u32 , wmode : u32 ) -> HIC ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICOpen ( fcctype : u32 , fcchandler : u32 , wmode : u32 ) -> HIC ); ICOpen(fcctype, fcchandler, wmode) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ICOpenFunction(fcctype: u32, fcchandler: u32, wmode: u32, lpfnhandler: super::super::Foundation::FARPROC) -> HIC { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICOpenFunction ( fcctype : u32 , fcchandler : u32 , wmode : u32 , lpfnhandler : super::super::Foundation:: FARPROC ) -> HIC ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICOpenFunction ( fcctype : u32 , fcchandler : u32 , wmode : u32 , lpfnhandler : super::super::Foundation:: FARPROC ) -> HIC ); ICOpenFunction(fcctype, fcchandler, wmode, lpfnhandler) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ICRemove(fcctype: u32, fcchandler: u32, wflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICRemove ( fcctype : u32 , fcchandler : u32 , wflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICRemove ( fcctype : u32 , fcchandler : u32 , wflags : u32 ) -> super::super::Foundation:: BOOL ); ICRemove(fcctype, fcchandler, wflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -895,28 +895,28 @@ pub unsafe fn ICSendMessage(hic: P0, msg: u32, dw1: usize, dw2: usize) -> su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICSendMessage ( hic : HIC , msg : u32 , dw1 : usize , dw2 : usize ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICSendMessage ( hic : HIC , msg : u32 , dw1 : usize , dw2 : usize ) -> super::super::Foundation:: LRESULT ); ICSendMessage(hic.into(), msg, dw1, dw2) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn ICSeqCompressFrame(pc: *const COMPVARS, uiflags: u32, lpbits: *const ::core::ffi::c_void, pfkey: *mut super::super::Foundation::BOOL, plsize: ::core::option::Option<*mut i32>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICSeqCompressFrame ( pc : *const COMPVARS , uiflags : u32 , lpbits : *const ::core::ffi::c_void , pfkey : *mut super::super::Foundation:: BOOL , plsize : *mut i32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICSeqCompressFrame ( pc : *const COMPVARS , uiflags : u32 , lpbits : *const ::core::ffi::c_void , pfkey : *mut super::super::Foundation:: BOOL , plsize : *mut i32 ) -> *mut ::core::ffi::c_void ); ICSeqCompressFrame(pc, uiflags, lpbits, pfkey, ::core::mem::transmute(plsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn ICSeqCompressFrameEnd(pc: *const COMPVARS) { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICSeqCompressFrameEnd ( pc : *const COMPVARS ) -> ( ) ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICSeqCompressFrameEnd ( pc : *const COMPVARS ) -> ( ) ); ICSeqCompressFrameEnd(pc) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn ICSeqCompressFrameStart(pc: *const COMPVARS, lpbiin: *const super::super::Graphics::Gdi::BITMAPINFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""system" fn ICSeqCompressFrameStart ( pc : *const COMPVARS , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn ICSeqCompressFrameStart ( pc : *const COMPVARS , lpbiin : *const super::super::Graphics::Gdi:: BITMAPINFO ) -> super::super::Foundation:: BOOL ); ICSeqCompressFrameStart(pc, lpbiin) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -928,7 +928,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msvfw32.dll""cdecl" fn MCIWndCreateA ( hwndparent : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , dwstyle : u32 , szfile : :: windows::core::PCSTR ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "msvfw32.dll""cdecl" fn MCIWndCreateA ( hwndparent : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , dwstyle : u32 , szfile : :: windows::core::PCSTR ) -> super::super::Foundation:: HWND ); MCIWndCreateA(hwndparent.into(), hinstance.into(), dwstyle, szfile.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -940,14 +940,14 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msvfw32.dll""cdecl" fn MCIWndCreateW ( hwndparent : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , dwstyle : u32 , szfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "msvfw32.dll""cdecl" fn MCIWndCreateW ( hwndparent : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , dwstyle : u32 , szfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: HWND ); MCIWndCreateW(hwndparent.into(), hinstance.into(), dwstyle, szfile.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MCIWndRegisterClass() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msvfw32.dll""cdecl" fn MCIWndRegisterClass ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msvfw32.dll""cdecl" fn MCIWndRegisterClass ( ) -> super::super::Foundation:: BOOL ); MCIWndRegisterClass() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -959,7 +959,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn OpenDriver ( szdrivername : :: windows::core::PCWSTR , szsectionname : :: windows::core::PCWSTR , lparam2 : super::super::Foundation:: LPARAM ) -> HDRVR ); + ::windows::imp::link ! ( "winmm.dll""system" fn OpenDriver ( szdrivername : :: windows::core::PCWSTR , szsectionname : :: windows::core::PCWSTR , lparam2 : super::super::Foundation:: LPARAM ) -> HDRVR ); OpenDriver(szdrivername.into().abi(), szsectionname.into().abi(), lparam2.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -971,13 +971,13 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn SendDriverMessage ( hdriver : HDRVR , message : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "winmm.dll""system" fn SendDriverMessage ( hdriver : HDRVR , message : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SendDriverMessage(hdriver.into(), message, lparam1.into(), lparam2.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn VideoForWindowsVersion() -> u32 { - ::windows::core::link ! ( "msvfw32.dll""system" fn VideoForWindowsVersion ( ) -> u32 ); + ::windows::imp::link ! ( "msvfw32.dll""system" fn VideoForWindowsVersion ( ) -> u32 ); VideoForWindowsVersion() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -988,7 +988,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "avicap32.dll""system" fn capCreateCaptureWindowA ( lpszwindowname : :: windows::core::PCSTR , dwstyle : u32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , nid : i32 ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "avicap32.dll""system" fn capCreateCaptureWindowA ( lpszwindowname : :: windows::core::PCSTR , dwstyle : u32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , nid : i32 ) -> super::super::Foundation:: HWND ); capCreateCaptureWindowA(lpszwindowname.into().abi(), dwstyle, x, y, nwidth, nheight, hwndparent.into(), nid) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -999,64 +999,64 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "avicap32.dll""system" fn capCreateCaptureWindowW ( lpszwindowname : :: windows::core::PCWSTR , dwstyle : u32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , nid : i32 ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "avicap32.dll""system" fn capCreateCaptureWindowW ( lpszwindowname : :: windows::core::PCWSTR , dwstyle : u32 , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , nid : i32 ) -> super::super::Foundation:: HWND ); capCreateCaptureWindowW(lpszwindowname.into().abi(), dwstyle, x, y, nwidth, nheight, hwndparent.into(), nid) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn capGetDriverDescriptionA(wdriverindex: u32, lpszname: &mut [u8], lpszver: &mut [u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "avicap32.dll""system" fn capGetDriverDescriptionA ( wdriverindex : u32 , lpszname : :: windows::core::PSTR , cbname : i32 , lpszver : :: windows::core::PSTR , cbver : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avicap32.dll""system" fn capGetDriverDescriptionA ( wdriverindex : u32 , lpszname : :: windows::core::PSTR , cbname : i32 , lpszver : :: windows::core::PSTR , cbver : i32 ) -> super::super::Foundation:: BOOL ); capGetDriverDescriptionA(wdriverindex, ::core::mem::transmute(lpszname.as_ptr()), lpszname.len() as _, ::core::mem::transmute(lpszver.as_ptr()), lpszver.len() as _) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn capGetDriverDescriptionW(wdriverindex: u32, lpszname: &mut [u16], lpszver: &mut [u16]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "avicap32.dll""system" fn capGetDriverDescriptionW ( wdriverindex : u32 , lpszname : :: windows::core::PWSTR , cbname : i32 , lpszver : :: windows::core::PWSTR , cbver : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avicap32.dll""system" fn capGetDriverDescriptionW ( wdriverindex : u32 , lpszname : :: windows::core::PWSTR , cbname : i32 , lpszver : :: windows::core::PWSTR , cbver : i32 ) -> super::super::Foundation:: BOOL ); capGetDriverDescriptionW(wdriverindex, ::core::mem::transmute(lpszname.as_ptr()), lpszname.len() as _, ::core::mem::transmute(lpszver.as_ptr()), lpszver.len() as _) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn joyGetDevCapsA(ujoyid: usize, pjc: *mut JOYCAPSA, cbjc: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joyGetDevCapsA ( ujoyid : usize , pjc : *mut JOYCAPSA , cbjc : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joyGetDevCapsA ( ujoyid : usize , pjc : *mut JOYCAPSA , cbjc : u32 ) -> u32 ); joyGetDevCapsA(ujoyid, pjc, cbjc) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn joyGetDevCapsW(ujoyid: usize, pjc: *mut JOYCAPSW, cbjc: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joyGetDevCapsW ( ujoyid : usize , pjc : *mut JOYCAPSW , cbjc : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joyGetDevCapsW ( ujoyid : usize , pjc : *mut JOYCAPSW , cbjc : u32 ) -> u32 ); joyGetDevCapsW(ujoyid, pjc, cbjc) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn joyGetNumDevs() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joyGetNumDevs ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joyGetNumDevs ( ) -> u32 ); joyGetNumDevs() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn joyGetPos(ujoyid: u32, pji: *mut JOYINFO) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joyGetPos ( ujoyid : u32 , pji : *mut JOYINFO ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joyGetPos ( ujoyid : u32 , pji : *mut JOYINFO ) -> u32 ); joyGetPos(ujoyid, pji) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn joyGetPosEx(ujoyid: u32, pji: *mut JOYINFOEX) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joyGetPosEx ( ujoyid : u32 , pji : *mut JOYINFOEX ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joyGetPosEx ( ujoyid : u32 , pji : *mut JOYINFOEX ) -> u32 ); joyGetPosEx(ujoyid, pji) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn joyGetThreshold(ujoyid: u32, puthreshold: *mut u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joyGetThreshold ( ujoyid : u32 , puthreshold : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joyGetThreshold ( ujoyid : u32 , puthreshold : *mut u32 ) -> u32 ); joyGetThreshold(ujoyid, puthreshold) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn joyReleaseCapture(ujoyid: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joyReleaseCapture ( ujoyid : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joyReleaseCapture ( ujoyid : u32 ) -> u32 ); joyReleaseCapture(ujoyid) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1067,13 +1067,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn joySetCapture ( hwnd : super::super::Foundation:: HWND , ujoyid : u32 , uperiod : u32 , fchanged : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joySetCapture ( hwnd : super::super::Foundation:: HWND , ujoyid : u32 , uperiod : u32 , fchanged : super::super::Foundation:: BOOL ) -> u32 ); joySetCapture(hwnd.into(), ujoyid, uperiod, fchanged.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn joySetThreshold(ujoyid: u32, uthreshold: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn joySetThreshold ( ujoyid : u32 , uthreshold : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn joySetThreshold ( ujoyid : u32 , uthreshold : u32 ) -> u32 ); joySetThreshold(ujoyid, uthreshold) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1083,26 +1083,26 @@ pub unsafe fn mciDriverNotify(hwndcallback: P0, wdeviceid: u32, ustatus: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mciDriverNotify ( hwndcallback : super::super::Foundation:: HANDLE , wdeviceid : u32 , ustatus : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciDriverNotify ( hwndcallback : super::super::Foundation:: HANDLE , wdeviceid : u32 , ustatus : u32 ) -> super::super::Foundation:: BOOL ); mciDriverNotify(hwndcallback.into(), wdeviceid, ustatus) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mciDriverYield(wdeviceid: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mciDriverYield ( wdeviceid : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciDriverYield ( wdeviceid : u32 ) -> u32 ); mciDriverYield(wdeviceid) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mciFreeCommandResource(wtable: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winmm.dll""system" fn mciFreeCommandResource ( wtable : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciFreeCommandResource ( wtable : u32 ) -> super::super::Foundation:: BOOL ); mciFreeCommandResource(wtable) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mciGetCreatorTask(mciid: u32) -> super::HTASK { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetCreatorTask ( mciid : u32 ) -> super:: HTASK ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetCreatorTask ( mciid : u32 ) -> super:: HTASK ); mciGetCreatorTask(mciid) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1111,7 +1111,7 @@ pub unsafe fn mciGetDeviceIDA(pszdevice: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetDeviceIDA ( pszdevice : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetDeviceIDA ( pszdevice : :: windows::core::PCSTR ) -> u32 ); mciGetDeviceIDA(pszdevice.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1120,7 +1120,7 @@ pub unsafe fn mciGetDeviceIDFromElementIDA(dwelementid: u32, lpstrtype: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetDeviceIDFromElementIDA ( dwelementid : u32 , lpstrtype : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetDeviceIDFromElementIDA ( dwelementid : u32 , lpstrtype : :: windows::core::PCSTR ) -> u32 ); mciGetDeviceIDFromElementIDA(dwelementid, lpstrtype.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1129,7 +1129,7 @@ pub unsafe fn mciGetDeviceIDFromElementIDW(dwelementid: u32, lpstrtype: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetDeviceIDFromElementIDW ( dwelementid : u32 , lpstrtype : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetDeviceIDFromElementIDW ( dwelementid : u32 , lpstrtype : :: windows::core::PCWSTR ) -> u32 ); mciGetDeviceIDFromElementIDW(dwelementid, lpstrtype.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1138,33 +1138,33 @@ pub unsafe fn mciGetDeviceIDW(pszdevice: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetDeviceIDW ( pszdevice : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetDeviceIDW ( pszdevice : :: windows::core::PCWSTR ) -> u32 ); mciGetDeviceIDW(pszdevice.into().abi()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mciGetDriverData(wdeviceid: u32) -> usize { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetDriverData ( wdeviceid : u32 ) -> usize ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetDriverData ( wdeviceid : u32 ) -> usize ); mciGetDriverData(wdeviceid) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mciGetErrorStringA(mcierr: u32, psztext: &mut [u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetErrorStringA ( mcierr : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetErrorStringA ( mcierr : u32 , psztext : :: windows::core::PSTR , cchtext : u32 ) -> super::super::Foundation:: BOOL ); mciGetErrorStringA(mcierr, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mciGetErrorStringW(mcierr: u32, psztext: &mut [u16]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetErrorStringW ( mcierr : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetErrorStringW ( mcierr : u32 , psztext : :: windows::core::PWSTR , cchtext : u32 ) -> super::super::Foundation:: BOOL ); mciGetErrorStringW(mcierr, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mciGetYieldProc(mciid: u32, pdwyielddata: *const u32) -> YIELDPROC { - ::windows::core::link ! ( "winmm.dll""system" fn mciGetYieldProc ( mciid : u32 , pdwyielddata : *const u32 ) -> YIELDPROC ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciGetYieldProc ( mciid : u32 , pdwyielddata : *const u32 ) -> YIELDPROC ); mciGetYieldProc(mciid, pdwyielddata) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1175,19 +1175,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mciLoadCommandResource ( hinstance : super::super::Foundation:: HANDLE , lpresname : :: windows::core::PCWSTR , wtype : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciLoadCommandResource ( hinstance : super::super::Foundation:: HANDLE , lpresname : :: windows::core::PCWSTR , wtype : u32 ) -> u32 ); mciLoadCommandResource(hinstance.into(), lpresname.into().abi(), wtype) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mciSendCommandA(mciid: u32, umsg: u32, dwparam1: usize, dwparam2: usize) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mciSendCommandA ( mciid : u32 , umsg : u32 , dwparam1 : usize , dwparam2 : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciSendCommandA ( mciid : u32 , umsg : u32 , dwparam1 : usize , dwparam2 : usize ) -> u32 ); mciSendCommandA(mciid, umsg, dwparam1, dwparam2) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mciSendCommandW(mciid: u32, umsg: u32, dwparam1: usize, dwparam2: usize) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mciSendCommandW ( mciid : u32 , umsg : u32 , dwparam1 : usize , dwparam2 : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciSendCommandW ( mciid : u32 , umsg : u32 , dwparam1 : usize , dwparam2 : usize ) -> u32 ); mciSendCommandW(mciid, umsg, dwparam1, dwparam2) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1198,7 +1198,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mciSendStringA ( lpstrcommand : :: windows::core::PCSTR , lpstrreturnstring : :: windows::core::PSTR , ureturnlength : u32 , hwndcallback : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciSendStringA ( lpstrcommand : :: windows::core::PCSTR , lpstrreturnstring : :: windows::core::PSTR , ureturnlength : u32 , hwndcallback : super::super::Foundation:: HWND ) -> u32 ); mciSendStringA(lpstrcommand.into().abi(), ::core::mem::transmute(lpstrreturnstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpstrreturnstring.as_deref().map_or(0, |slice| slice.len() as _), hwndcallback.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1209,21 +1209,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mciSendStringW ( lpstrcommand : :: windows::core::PCWSTR , lpstrreturnstring : :: windows::core::PWSTR , ureturnlength : u32 , hwndcallback : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciSendStringW ( lpstrcommand : :: windows::core::PCWSTR , lpstrreturnstring : :: windows::core::PWSTR , ureturnlength : u32 , hwndcallback : super::super::Foundation:: HWND ) -> u32 ); mciSendStringW(lpstrcommand.into().abi(), ::core::mem::transmute(lpstrreturnstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpstrreturnstring.as_deref().map_or(0, |slice| slice.len() as _), hwndcallback.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mciSetDriverData(wdeviceid: u32, dwdata: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winmm.dll""system" fn mciSetDriverData ( wdeviceid : u32 , dwdata : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciSetDriverData ( wdeviceid : u32 , dwdata : usize ) -> super::super::Foundation:: BOOL ); mciSetDriverData(wdeviceid, dwdata) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mciSetYieldProc(mciid: u32, fpyieldproc: YIELDPROC, dwyielddata: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winmm.dll""system" fn mciSetYieldProc ( mciid : u32 , fpyieldproc : YIELDPROC , dwyielddata : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn mciSetYieldProc ( mciid : u32 , fpyieldproc : YIELDPROC , dwyielddata : u32 ) -> super::super::Foundation:: BOOL ); mciSetYieldProc(mciid, fpyieldproc, dwyielddata) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1233,39 +1233,39 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mmDrvInstall ( hdriver : HDRVR , wszdrventry : :: windows::core::PCWSTR , drvmessage : DRIVERMSGPROC , wflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmDrvInstall ( hdriver : HDRVR , wszdrventry : :: windows::core::PCWSTR , drvmessage : DRIVERMSGPROC , wflags : u32 ) -> u32 ); mmDrvInstall(hdriver.into(), wszdrventry.into().abi(), drvmessage, wflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mmGetCurrentTask() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mmGetCurrentTask ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmGetCurrentTask ( ) -> u32 ); mmGetCurrentTask() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mmTaskBlock(h: u32) { - ::windows::core::link ! ( "winmm.dll""system" fn mmTaskBlock ( h : u32 ) -> ( ) ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmTaskBlock ( h : u32 ) -> ( ) ); mmTaskBlock(h) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mmTaskCreate(lpfn: LPTASKCALLBACK, lph: *mut super::super::Foundation::HANDLE, dwinst: usize) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn mmTaskCreate ( lpfn : LPTASKCALLBACK , lph : *mut super::super::Foundation:: HANDLE , dwinst : usize ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmTaskCreate ( lpfn : LPTASKCALLBACK , lph : *mut super::super::Foundation:: HANDLE , dwinst : usize ) -> u32 ); mmTaskCreate(lpfn, lph, dwinst) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mmTaskSignal(h: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winmm.dll""system" fn mmTaskSignal ( h : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmTaskSignal ( h : u32 ) -> super::super::Foundation:: BOOL ); mmTaskSignal(h) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[inline] pub unsafe fn mmTaskYield() { - ::windows::core::link ! ( "winmm.dll""system" fn mmTaskYield ( ) -> ( ) ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmTaskYield ( ) -> ( ) ); mmTaskYield() } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1275,7 +1275,7 @@ pub unsafe fn mmioAdvance(hmmio: P0, pmmioinfo: ::core::option::Option<*cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioAdvance ( hmmio : HMMIO , pmmioinfo : *const MMIOINFO , fuadvance : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioAdvance ( hmmio : HMMIO , pmmioinfo : *const MMIOINFO , fuadvance : u32 ) -> u32 ); mmioAdvance(hmmio.into(), ::core::mem::transmute(pmmioinfo.unwrap_or(::std::ptr::null())), fuadvance) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1284,7 +1284,7 @@ pub unsafe fn mmioAscend(hmmio: P0, pmmcki: *const MMCKINFO, fuascend: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioAscend ( hmmio : HMMIO , pmmcki : *const MMCKINFO , fuascend : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioAscend ( hmmio : HMMIO , pmmcki : *const MMCKINFO , fuascend : u32 ) -> u32 ); mmioAscend(hmmio.into(), pmmcki, fuascend) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1293,7 +1293,7 @@ pub unsafe fn mmioClose(hmmio: P0, fuclose: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioClose ( hmmio : HMMIO , fuclose : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioClose ( hmmio : HMMIO , fuclose : u32 ) -> u32 ); mmioClose(hmmio.into(), fuclose) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1302,7 +1302,7 @@ pub unsafe fn mmioCreateChunk(hmmio: P0, pmmcki: *const MMCKINFO, fucreate: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioCreateChunk ( hmmio : HMMIO , pmmcki : *const MMCKINFO , fucreate : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioCreateChunk ( hmmio : HMMIO , pmmcki : *const MMCKINFO , fucreate : u32 ) -> u32 ); mmioCreateChunk(hmmio.into(), pmmcki, fucreate) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1311,7 +1311,7 @@ pub unsafe fn mmioDescend(hmmio: P0, pmmcki: *mut MMCKINFO, pmmckiparent: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioDescend ( hmmio : HMMIO , pmmcki : *mut MMCKINFO , pmmckiparent : *const MMCKINFO , fudescend : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioDescend ( hmmio : HMMIO , pmmcki : *mut MMCKINFO , pmmckiparent : *const MMCKINFO , fudescend : u32 ) -> u32 ); mmioDescend(hmmio.into(), pmmcki, ::core::mem::transmute(pmmckiparent.unwrap_or(::std::ptr::null())), fudescend) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1320,7 +1320,7 @@ pub unsafe fn mmioFlush(hmmio: P0, fuflush: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioFlush ( hmmio : HMMIO , fuflush : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioFlush ( hmmio : HMMIO , fuflush : u32 ) -> u32 ); mmioFlush(hmmio.into(), fuflush) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1330,35 +1330,35 @@ pub unsafe fn mmioGetInfo(hmmio: P0, pmmioinfo: *mut MMIOINFO, fuinfo: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioGetInfo ( hmmio : HMMIO , pmmioinfo : *mut MMIOINFO , fuinfo : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioGetInfo ( hmmio : HMMIO , pmmioinfo : *mut MMIOINFO , fuinfo : u32 ) -> u32 ); mmioGetInfo(hmmio.into(), pmmioinfo, fuinfo) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mmioInstallIOProcA(fccioproc: u32, pioproc: LPMMIOPROC, dwflags: u32) -> LPMMIOPROC { - ::windows::core::link ! ( "winmm.dll""system" fn mmioInstallIOProcA ( fccioproc : u32 , pioproc : LPMMIOPROC , dwflags : u32 ) -> LPMMIOPROC ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioInstallIOProcA ( fccioproc : u32 , pioproc : LPMMIOPROC , dwflags : u32 ) -> LPMMIOPROC ); mmioInstallIOProcA(fccioproc, pioproc, dwflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mmioInstallIOProcW(fccioproc: u32, pioproc: LPMMIOPROC, dwflags: u32) -> LPMMIOPROC { - ::windows::core::link ! ( "winmm.dll""system" fn mmioInstallIOProcW ( fccioproc : u32 , pioproc : LPMMIOPROC , dwflags : u32 ) -> LPMMIOPROC ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioInstallIOProcW ( fccioproc : u32 , pioproc : LPMMIOPROC , dwflags : u32 ) -> LPMMIOPROC ); mmioInstallIOProcW(fccioproc, pioproc, dwflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mmioOpenA(pszfilename: ::core::option::Option<&mut [u8; 128]>, pmmioinfo: ::core::option::Option<*mut MMIOINFO>, fdwopen: u32) -> HMMIO { - ::windows::core::link ! ( "winmm.dll""system" fn mmioOpenA ( pszfilename : :: windows::core::PSTR , pmmioinfo : *mut MMIOINFO , fdwopen : u32 ) -> HMMIO ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioOpenA ( pszfilename : :: windows::core::PSTR , pmmioinfo : *mut MMIOINFO , fdwopen : u32 ) -> HMMIO ); mmioOpenA(::core::mem::transmute(pszfilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pmmioinfo.unwrap_or(::std::ptr::null_mut())), fdwopen) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn mmioOpenW(pszfilename: ::core::option::Option<&mut [u16; 128]>, pmmioinfo: ::core::option::Option<*mut MMIOINFO>, fdwopen: u32) -> HMMIO { - ::windows::core::link ! ( "winmm.dll""system" fn mmioOpenW ( pszfilename : :: windows::core::PWSTR , pmmioinfo : *mut MMIOINFO , fdwopen : u32 ) -> HMMIO ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioOpenW ( pszfilename : :: windows::core::PWSTR , pmmioinfo : *mut MMIOINFO , fdwopen : u32 ) -> HMMIO ); mmioOpenW(::core::mem::transmute(pszfilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pmmioinfo.unwrap_or(::std::ptr::null_mut())), fdwopen) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1367,7 +1367,7 @@ pub unsafe fn mmioRead(hmmio: P0, pch: &mut [u8]) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioRead ( hmmio : HMMIO , pch : *mut i8 , cch : i32 ) -> i32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioRead ( hmmio : HMMIO , pch : *mut i8 , cch : i32 ) -> i32 ); mmioRead(hmmio.into(), ::core::mem::transmute(pch.as_ptr()), pch.len() as _) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1378,7 +1378,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioRenameA ( pszfilename : :: windows::core::PCSTR , psznewfilename : :: windows::core::PCSTR , pmmioinfo : *const MMIOINFO , fdwrename : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioRenameA ( pszfilename : :: windows::core::PCSTR , psznewfilename : :: windows::core::PCSTR , pmmioinfo : *const MMIOINFO , fdwrename : u32 ) -> u32 ); mmioRenameA(pszfilename.into().abi(), psznewfilename.into().abi(), ::core::mem::transmute(pmmioinfo.unwrap_or(::std::ptr::null())), fdwrename) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1389,7 +1389,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioRenameW ( pszfilename : :: windows::core::PCWSTR , psznewfilename : :: windows::core::PCWSTR , pmmioinfo : *const MMIOINFO , fdwrename : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioRenameW ( pszfilename : :: windows::core::PCWSTR , psznewfilename : :: windows::core::PCWSTR , pmmioinfo : *const MMIOINFO , fdwrename : u32 ) -> u32 ); mmioRenameW(pszfilename.into().abi(), psznewfilename.into().abi(), ::core::mem::transmute(pmmioinfo.unwrap_or(::std::ptr::null())), fdwrename) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1398,7 +1398,7 @@ pub unsafe fn mmioSeek(hmmio: P0, loffset: i32, iorigin: i32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioSeek ( hmmio : HMMIO , loffset : i32 , iorigin : i32 ) -> i32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioSeek ( hmmio : HMMIO , loffset : i32 , iorigin : i32 ) -> i32 ); mmioSeek(hmmio.into(), loffset, iorigin) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1410,7 +1410,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioSendMessage ( hmmio : HMMIO , umsg : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioSendMessage ( hmmio : HMMIO , umsg : u32 , lparam1 : super::super::Foundation:: LPARAM , lparam2 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); mmioSendMessage(hmmio.into(), umsg, lparam1.into(), lparam2.into()) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1419,7 +1419,7 @@ pub unsafe fn mmioSetBuffer(hmmio: P0, pchbuffer: ::core::option::Option<&mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioSetBuffer ( hmmio : HMMIO , pchbuffer : :: windows::core::PSTR , cchbuffer : i32 , fubuffer : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioSetBuffer ( hmmio : HMMIO , pchbuffer : :: windows::core::PSTR , cchbuffer : i32 , fubuffer : u32 ) -> u32 ); mmioSetBuffer(hmmio.into(), ::core::mem::transmute(pchbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pchbuffer.as_deref().map_or(0, |slice| slice.len() as _), fubuffer) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1429,7 +1429,7 @@ pub unsafe fn mmioSetInfo(hmmio: P0, pmmioinfo: *const MMIOINFO, fuinfo: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioSetInfo ( hmmio : HMMIO , pmmioinfo : *const MMIOINFO , fuinfo : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioSetInfo ( hmmio : HMMIO , pmmioinfo : *const MMIOINFO , fuinfo : u32 ) -> u32 ); mmioSetInfo(hmmio.into(), pmmioinfo, fuinfo) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1438,7 +1438,7 @@ pub unsafe fn mmioStringToFOURCCA(sz: P0, uflags: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioStringToFOURCCA ( sz : :: windows::core::PCSTR , uflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioStringToFOURCCA ( sz : :: windows::core::PCSTR , uflags : u32 ) -> u32 ); mmioStringToFOURCCA(sz.into().abi(), uflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1447,7 +1447,7 @@ pub unsafe fn mmioStringToFOURCCW(sz: P0, uflags: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioStringToFOURCCW ( sz : :: windows::core::PCWSTR , uflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioStringToFOURCCW ( sz : :: windows::core::PCWSTR , uflags : u32 ) -> u32 ); mmioStringToFOURCCW(sz.into().abi(), uflags) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1456,7 +1456,7 @@ pub unsafe fn mmioWrite(hmmio: P0, pch: &[u8]) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winmm.dll""system" fn mmioWrite ( hmmio : HMMIO , pch : :: windows::core::PCSTR , cch : i32 ) -> i32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn mmioWrite ( hmmio : HMMIO , pch : :: windows::core::PCSTR , cch : i32 ) -> i32 ); mmioWrite(hmmio.into(), ::core::mem::transmute(pch.as_ptr()), pch.len() as _) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`*"] @@ -1467,7 +1467,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-mm-misc-l1-1-1.dll""system" fn sndOpenSound ( eventname : :: windows::core::PCWSTR , appname : :: windows::core::PCWSTR , flags : i32 , filehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "api-ms-win-mm-misc-l1-1-1.dll""system" fn sndOpenSound ( eventname : :: windows::core::PCWSTR , appname : :: windows::core::PCWSTR , flags : i32 , filehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); sndOpenSound(eventname.into().abi(), appname.into().abi(), flags, filehandle) } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] @@ -1496,7 +1496,7 @@ impl IAVIEditStream { (::windows::core::Vtable::vtable(self).SetInfo)(::windows::core::Vtable::as_raw(self), lpinfo, cbinfo).ok() } } -::windows::core::interface_hierarchy!(IAVIEditStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAVIEditStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAVIEditStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1560,7 +1560,7 @@ impl IAVIFile { (::windows::core::Vtable::vtable(self).DeleteStream)(::windows::core::Vtable::as_raw(self), fcctype, lparam).ok() } } -::windows::core::interface_hierarchy!(IAVIFile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAVIFile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAVIFile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1651,7 +1651,7 @@ impl IAVIPersistFile { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAVIPersistFile, ::windows::core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistFile); +::windows::imp::interface_hierarchy!(IAVIPersistFile, ::windows::core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistFile); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAVIPersistFile { fn eq(&self, other: &Self) -> bool { @@ -1735,7 +1735,7 @@ impl IAVIStream { (::windows::core::Vtable::vtable(self).SetInfo)(::windows::core::Vtable::as_raw(self), lpinfo, cbinfo).ok() } } -::windows::core::interface_hierarchy!(IAVIStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAVIStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAVIStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1794,7 +1794,7 @@ impl IAVIStreaming { (::windows::core::Vtable::vtable(self).End)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAVIStreaming, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAVIStreaming, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAVIStreaming { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1843,7 +1843,7 @@ impl IGetFrame { (::windows::core::Vtable::vtable(self).SetFormat)(::windows::core::Vtable::as_raw(self), lpbi, ::core::mem::transmute(lpbits.unwrap_or(::std::ptr::null())), x, y, dx, dy).ok() } } -::windows::core::interface_hierarchy!(IGetFrame, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetFrame, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs index 5ed769af24..051cfc6cbc 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs @@ -28,7 +28,7 @@ impl IPhotoAcquire { (::windows::core::Vtable::vtable(self).EnumResults)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPhotoAcquire, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoAcquire, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoAcquire { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -90,7 +90,7 @@ impl IPhotoAcquireDeviceSelectionDialog { (::windows::core::Vtable::vtable(self).DoModal)(::windows::core::Vtable::as_raw(self), hwndparent.into(), dwdeviceflags, ::core::mem::transmute(pbstrdeviceid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pndevicetype.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IPhotoAcquireDeviceSelectionDialog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoAcquireDeviceSelectionDialog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoAcquireDeviceSelectionDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -173,7 +173,7 @@ impl IPhotoAcquireItem { (::windows::core::Vtable::vtable(self).GetSubItemAt)(::windows::core::Vtable::as_raw(self), nitemindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPhotoAcquireItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoAcquireItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoAcquireItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -259,7 +259,7 @@ impl IPhotoAcquireOptionsDialog { (::windows::core::Vtable::vtable(self).SaveData)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPhotoAcquireOptionsDialog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoAcquireOptionsDialog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoAcquireOptionsDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -332,7 +332,7 @@ impl IPhotoAcquirePlugin { (::windows::core::Vtable::vtable(self).DisplayConfigureDialog)(::windows::core::Vtable::as_raw(self), hwndparent.into()).ok() } } -::windows::core::interface_hierarchy!(IPhotoAcquirePlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoAcquirePlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoAcquirePlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -479,7 +479,7 @@ impl IPhotoAcquireProgressCB { (::windows::core::Vtable::vtable(self).GetUserInput)(::windows::core::Vtable::as_raw(self), riidtype, punknown.into().abi(), ppropvarresult, ::core::mem::transmute(ppropvardefault.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IPhotoAcquireProgressCB, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoAcquireProgressCB, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoAcquireProgressCB { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -608,7 +608,7 @@ impl IPhotoAcquireSettings { (::windows::core::Vtable::vtable(self).GetAcquisitionTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPhotoAcquireSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoAcquireSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoAcquireSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -703,7 +703,7 @@ impl IPhotoAcquireSource { (::windows::core::Vtable::vtable(self).BindToObject)(::windows::core::Vtable::as_raw(self), riid, ppv).ok() } } -::windows::core::interface_hierarchy!(IPhotoAcquireSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoAcquireSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoAcquireSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -758,7 +758,7 @@ impl IPhotoProgressActionCB { (::windows::core::Vtable::vtable(self).DoAction)(::windows::core::Vtable::as_raw(self), hwndparent.into()).ok() } } -::windows::core::interface_hierarchy!(IPhotoProgressActionCB, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoProgressActionCB, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoProgressActionCB { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -910,7 +910,7 @@ impl IPhotoProgressDialog { (::windows::core::Vtable::vtable(self).GetUserInput)(::windows::core::Vtable::as_raw(self), riidtype, punknown.into().abi(), ppropvarresult, ::core::mem::transmute(ppropvardefault.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IPhotoProgressDialog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhotoProgressDialog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhotoProgressDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1029,7 +1029,7 @@ impl IUserInputString { (::windows::core::Vtable::vtable(self).GetImage)(::windows::core::Vtable::as_raw(self), nsize, ::core::mem::transmute(phbitmap.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phicon.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IUserInputString, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUserInputString, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUserInputString { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 94798bbf62..309d9402d9 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -23,7 +23,7 @@ impl IEnumSpObjectTokens { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), pcount).ok() } } -::windows::core::interface_hierarchy!(IEnumSpObjectTokens, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSpObjectTokens, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSpObjectTokens { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -169,7 +169,7 @@ impl ISpAudio { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpAudio, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); +::windows::imp::interface_hierarchy!(ISpAudio, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpAudio { fn eq(&self, other: &Self) -> bool { @@ -262,7 +262,7 @@ impl ISpContainerLexicon { (::windows::core::Vtable::vtable(self).AddLexicon)(::windows::core::Vtable::as_raw(self), paddlexicon.into().abi(), dwflags).ok() } } -::windows::core::interface_hierarchy!(ISpContainerLexicon, ::windows::core::IUnknown, ISpLexicon); +::windows::imp::interface_hierarchy!(ISpContainerLexicon, ::windows::core::IUnknown, ISpLexicon); impl ::core::cmp::PartialEq for ISpContainerLexicon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -368,7 +368,7 @@ impl ISpDataKey { (::windows::core::Vtable::vtable(self).EnumValues)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpDataKey, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpDataKey, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpDataKey { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -419,7 +419,7 @@ impl ISpDisplayAlternates { (::windows::core::Vtable::vtable(self).SetFullStopTrailSpace)(::windows::core::Vtable::as_raw(self), ultrailspace).ok() } } -::windows::core::interface_hierarchy!(ISpDisplayAlternates, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpDisplayAlternates, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpDisplayAlternates { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -470,7 +470,7 @@ impl ISpEnginePronunciation { (::windows::core::Vtable::vtable(self).GetPronunciations)(::windows::core::Vtable::as_raw(self), pszword.into().abi(), pszleftcontext.into().abi(), pszrightcontext.into().abi(), langid, penginepronunciationlist).ok() } } -::windows::core::interface_hierarchy!(ISpEnginePronunciation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpEnginePronunciation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpEnginePronunciation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -513,7 +513,7 @@ impl ISpEventSink { (::windows::core::Vtable::vtable(self).GetEventInterest)(::windows::core::Vtable::as_raw(self), pulleventinterest).ok() } } -::windows::core::interface_hierarchy!(ISpEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -608,7 +608,7 @@ impl ISpEventSource { (::windows::core::Vtable::vtable(self).GetInfo)(::windows::core::Vtable::as_raw(self), pinfo).ok() } } -::windows::core::interface_hierarchy!(ISpEventSource, ::windows::core::IUnknown, ISpNotifySource); +::windows::imp::interface_hierarchy!(ISpEventSource, ::windows::core::IUnknown, ISpNotifySource); impl ::core::cmp::PartialEq for ISpEventSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -709,7 +709,7 @@ impl ISpEventSource2 { (::windows::core::Vtable::vtable(self).GetEventsEx)(::windows::core::Vtable::as_raw(self), ulcount, peventarray, pulfetched).ok() } } -::windows::core::interface_hierarchy!(ISpEventSource2, ::windows::core::IUnknown, ISpNotifySource, ISpEventSource); +::windows::imp::interface_hierarchy!(ISpEventSource2, ::windows::core::IUnknown, ISpNotifySource, ISpEventSource); impl ::core::cmp::PartialEq for ISpEventSource2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -788,7 +788,7 @@ impl ISpGrammarBuilder { (::windows::core::Vtable::vtable(self).Commit)(::windows::core::Vtable::as_raw(self), dwreserved).ok() } } -::windows::core::interface_hierarchy!(ISpGrammarBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpGrammarBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpGrammarBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -847,7 +847,7 @@ impl ISpGrammarBuilder2 { (::windows::core::Vtable::vtable(self).SetPhoneticAlphabet)(::windows::core::Vtable::as_raw(self), phoneticalphabet).ok() } } -::windows::core::interface_hierarchy!(ISpGrammarBuilder2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpGrammarBuilder2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpGrammarBuilder2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -909,7 +909,7 @@ impl ISpLexicon { (::windows::core::Vtable::vtable(self).GetWords)(::windows::core::Vtable::as_raw(self), dwflags, pdwgeneration, ::core::mem::transmute(pdwcookie.unwrap_or(::std::ptr::null_mut())), pwordlist).ok() } } -::windows::core::interface_hierarchy!(ISpLexicon, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpLexicon, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpLexicon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1070,7 +1070,7 @@ impl ISpMMSysAudio { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpMMSysAudio, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat, ISpAudio); +::windows::imp::interface_hierarchy!(ISpMMSysAudio, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat, ISpAudio); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpMMSysAudio { fn eq(&self, other: &Self) -> bool { @@ -1159,7 +1159,7 @@ impl ISpNotifySink { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISpNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1239,7 +1239,7 @@ impl ISpNotifySource { (::windows::core::Vtable::vtable(self).GetNotifyEventHandle)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ISpNotifySource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpNotifySource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpNotifySource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1340,7 +1340,7 @@ impl ISpNotifyTranslator { (::windows::core::Vtable::vtable(self).GetEventHandle)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ISpNotifyTranslator, ::windows::core::IUnknown, ISpNotifySink); +::windows::imp::interface_hierarchy!(ISpNotifyTranslator, ::windows::core::IUnknown, ISpNotifySink); impl ::core::cmp::PartialEq for ISpNotifyTranslator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1538,7 +1538,7 @@ impl ISpObjectToken { (::windows::core::Vtable::vtable(self).MatchesAttributes)(::windows::core::Vtable::as_raw(self), pszattributes.into().abi(), pfmatches).ok() } } -::windows::core::interface_hierarchy!(ISpObjectToken, ::windows::core::IUnknown, ISpDataKey); +::windows::imp::interface_hierarchy!(ISpObjectToken, ::windows::core::IUnknown, ISpDataKey); impl ::core::cmp::PartialEq for ISpObjectToken { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1703,7 +1703,7 @@ impl ISpObjectTokenCategory { (::windows::core::Vtable::vtable(self).GetDefaultTokenId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpObjectTokenCategory, ::windows::core::IUnknown, ISpDataKey); +::windows::imp::interface_hierarchy!(ISpObjectTokenCategory, ::windows::core::IUnknown, ISpDataKey); impl ::core::cmp::PartialEq for ISpObjectTokenCategory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1897,7 +1897,7 @@ impl ISpObjectTokenInit { (::windows::core::Vtable::vtable(self).InitFromDataKey)(::windows::core::Vtable::as_raw(self), pszcategoryid.into().abi(), psztokenid.into().abi(), pdatakey.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISpObjectTokenInit, ::windows::core::IUnknown, ISpDataKey, ISpObjectToken); +::windows::imp::interface_hierarchy!(ISpObjectTokenInit, ::windows::core::IUnknown, ISpDataKey, ISpObjectToken); impl ::core::cmp::PartialEq for ISpObjectTokenInit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1941,7 +1941,7 @@ impl ISpObjectWithToken { (::windows::core::Vtable::vtable(self).GetObjectToken)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpObjectWithToken, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpObjectWithToken, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpObjectWithToken { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1996,7 +1996,7 @@ impl ISpPhoneConverter { (::windows::core::Vtable::vtable(self).IdToPhone)(::windows::core::Vtable::as_raw(self), pid, ::core::mem::transmute(pszphone)).ok() } } -::windows::core::interface_hierarchy!(ISpPhoneConverter, ::windows::core::IUnknown, ISpObjectWithToken); +::windows::imp::interface_hierarchy!(ISpPhoneConverter, ::windows::core::IUnknown, ISpObjectWithToken); impl ::core::cmp::PartialEq for ISpPhoneConverter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2053,7 +2053,7 @@ impl ISpPhoneticAlphabetConverter { (::windows::core::Vtable::vtable(self).GetMaxConvertLength)(::windows::core::Vtable::as_raw(self), csrclength, bsapi2ups.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpPhoneticAlphabetConverter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpPhoneticAlphabetConverter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpPhoneticAlphabetConverter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2108,7 +2108,7 @@ impl ISpPhoneticAlphabetSelection { (::windows::core::Vtable::vtable(self).SetAlphabetToUPS)(::windows::core::Vtable::as_raw(self), fforceups.into()).ok() } } -::windows::core::interface_hierarchy!(ISpPhoneticAlphabetSelection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpPhoneticAlphabetSelection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpPhoneticAlphabetSelection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2170,7 +2170,7 @@ impl ISpPhrase { (::windows::core::Vtable::vtable(self).Discard)(::windows::core::Vtable::as_raw(self), dwvaluetypes).ok() } } -::windows::core::interface_hierarchy!(ISpPhrase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpPhrase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpPhrase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2246,7 +2246,7 @@ impl ISpPhrase2 { (::windows::core::Vtable::vtable(self).GetAudio)(::windows::core::Vtable::as_raw(self), ulstartelement, celements, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpPhrase2, ::windows::core::IUnknown, ISpPhrase); +::windows::imp::interface_hierarchy!(ISpPhrase2, ::windows::core::IUnknown, ISpPhrase); impl ::core::cmp::PartialEq for ISpPhrase2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2312,7 +2312,7 @@ impl ISpPhraseAlt { (::windows::core::Vtable::vtable(self).Commit)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISpPhraseAlt, ::windows::core::IUnknown, ISpPhrase); +::windows::imp::interface_hierarchy!(ISpPhraseAlt, ::windows::core::IUnknown, ISpPhrase); impl ::core::cmp::PartialEq for ISpPhraseAlt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2373,7 +2373,7 @@ impl ISpProperties { (::windows::core::Vtable::vtable(self).GetPropertyString)(::windows::core::Vtable::as_raw(self), pname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2543,7 +2543,7 @@ impl ISpRecoContext { (::windows::core::Vtable::vtable(self).GetContextState)(::windows::core::Vtable::as_raw(self), pecontextstate).ok() } } -::windows::core::interface_hierarchy!(ISpRecoContext, ::windows::core::IUnknown, ISpNotifySource, ISpEventSource); +::windows::imp::interface_hierarchy!(ISpRecoContext, ::windows::core::IUnknown, ISpNotifySource, ISpEventSource); impl ::core::cmp::PartialEq for ISpRecoContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2619,7 +2619,7 @@ impl ISpRecoContext2 { (::windows::core::Vtable::vtable(self).SetAdaptationData2)(::windows::core::Vtable::as_raw(self), padaptationdata.into().abi(), cch, ptopicname.into().abi(), eadaptationsettings, erelevance).ok() } } -::windows::core::interface_hierarchy!(ISpRecoContext2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpRecoContext2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpRecoContext2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2782,7 +2782,7 @@ impl ISpRecoGrammar { (::windows::core::Vtable::vtable(self).GetGrammarState)(::windows::core::Vtable::as_raw(self), pegrammarstate).ok() } } -::windows::core::interface_hierarchy!(ISpRecoGrammar, ::windows::core::IUnknown, ISpGrammarBuilder); +::windows::imp::interface_hierarchy!(ISpRecoGrammar, ::windows::core::IUnknown, ISpGrammarBuilder); impl ::core::cmp::PartialEq for ISpRecoGrammar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2888,7 +2888,7 @@ impl ISpRecoGrammar2 { (::windows::core::Vtable::vtable(self).SetSMLSecurityManager)(::windows::core::Vtable::as_raw(self), psmlsecuritymanager.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISpRecoGrammar2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpRecoGrammar2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpRecoGrammar2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2985,7 +2985,7 @@ impl ISpRecoResult { (::windows::core::Vtable::vtable(self).GetRecoContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpRecoResult, ::windows::core::IUnknown, ISpPhrase); +::windows::imp::interface_hierarchy!(ISpRecoResult, ::windows::core::IUnknown, ISpPhrase); impl ::core::cmp::PartialEq for ISpRecoResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3106,7 +3106,7 @@ impl ISpRecoResult2 { (::windows::core::Vtable::vtable(self).SetTextFeedback)(::windows::core::Vtable::as_raw(self), pszfeedback.into().abi(), fsuccessful.into()).ok() } } -::windows::core::interface_hierarchy!(ISpRecoResult2, ::windows::core::IUnknown, ISpPhrase, ISpRecoResult); +::windows::imp::interface_hierarchy!(ISpRecoResult2, ::windows::core::IUnknown, ISpPhrase, ISpRecoResult); impl ::core::cmp::PartialEq for ISpRecoResult2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3255,7 +3255,7 @@ impl ISpRecognizer { (::windows::core::Vtable::vtable(self).EmulateRecognition)(::windows::core::Vtable::as_raw(self), pphrase.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISpRecognizer, ::windows::core::IUnknown, ISpProperties); +::windows::imp::interface_hierarchy!(ISpRecognizer, ::windows::core::IUnknown, ISpProperties); impl ::core::cmp::PartialEq for ISpRecognizer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3337,7 +3337,7 @@ impl ISpRecognizer2 { (::windows::core::Vtable::vtable(self).ResetAcousticModelAdaptation)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISpRecognizer2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpRecognizer2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpRecognizer2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3457,7 +3457,7 @@ impl ISpRegDataKey { (::windows::core::Vtable::vtable(self).SetKey)(::windows::core::Vtable::as_raw(self), hkey.into(), freadonly.into()).ok() } } -::windows::core::interface_hierarchy!(ISpRegDataKey, ::windows::core::IUnknown, ISpDataKey); +::windows::imp::interface_hierarchy!(ISpRegDataKey, ::windows::core::IUnknown, ISpDataKey); impl ::core::cmp::PartialEq for ISpRegDataKey { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3516,7 +3516,7 @@ impl ISpResourceManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpResourceManager, ::windows::core::IUnknown, super::super::System::Com::IServiceProvider); +::windows::imp::interface_hierarchy!(ISpResourceManager, ::windows::core::IUnknown, super::super::System::Com::IServiceProvider); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpResourceManager { fn eq(&self, other: &Self) -> bool { @@ -3567,7 +3567,7 @@ impl ISpSerializeState { (::windows::core::Vtable::vtable(self).SetSerializedState)(::windows::core::Vtable::as_raw(self), pbdata, ulsize, dwreserved).ok() } } -::windows::core::interface_hierarchy!(ISpSerializeState, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpSerializeState, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpSerializeState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3635,7 +3635,7 @@ impl ISpShortcut { (::windows::core::Vtable::vtable(self).GetGenerationChange)(::windows::core::Vtable::as_raw(self), pdwgeneration, pshortcutpairlist).ok() } } -::windows::core::interface_hierarchy!(ISpShortcut, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpShortcut, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpShortcut { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3769,7 +3769,7 @@ impl ISpStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpStream, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); +::windows::imp::interface_hierarchy!(ISpStream, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpStream { fn eq(&self, other: &Self) -> bool { @@ -3890,7 +3890,7 @@ impl ISpStreamFormat { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpStreamFormat, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); +::windows::imp::interface_hierarchy!(ISpStreamFormat, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpStreamFormat { fn eq(&self, other: &Self) -> bool { @@ -4034,7 +4034,7 @@ impl ISpStreamFormatConverter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpStreamFormatConverter, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); +::windows::imp::interface_hierarchy!(ISpStreamFormatConverter, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpStreamFormatConverter { fn eq(&self, other: &Self) -> bool { @@ -4099,7 +4099,7 @@ impl ISpTranscript { (::windows::core::Vtable::vtable(self).AppendTranscript)(::windows::core::Vtable::as_raw(self), psztranscript.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISpTranscript, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpTranscript, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpTranscript { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4305,7 +4305,7 @@ impl ISpVoice { (::windows::core::Vtable::vtable(self).DisplayUI)(::windows::core::Vtable::as_raw(self), hwndparent.into(), psztitle.into().abi(), psztypeofui.into().abi(), pvextradata, cbextradata).ok() } } -::windows::core::interface_hierarchy!(ISpVoice, ::windows::core::IUnknown, ISpNotifySource, ISpEventSource); +::windows::imp::interface_hierarchy!(ISpVoice, ::windows::core::IUnknown, ISpNotifySource, ISpEventSource); impl ::core::cmp::PartialEq for ISpVoice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4437,7 +4437,7 @@ impl ISpXMLRecoResult { (::windows::core::Vtable::vtable(self).GetXMLErrorInfo)(::windows::core::Vtable::as_raw(self), psemanticerrorinfo).ok() } } -::windows::core::interface_hierarchy!(ISpXMLRecoResult, ::windows::core::IUnknown, ISpPhrase, ISpRecoResult); +::windows::imp::interface_hierarchy!(ISpXMLRecoResult, ::windows::core::IUnknown, ISpPhrase, ISpRecoResult); impl ::core::cmp::PartialEq for ISpXMLRecoResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4545,7 +4545,7 @@ impl ISpeechAudio { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechAudio, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); +::windows::imp::interface_hierarchy!(ISpeechAudio, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechAudio { fn eq(&self, other: &Self) -> bool { @@ -4627,7 +4627,7 @@ impl ISpeechAudioBufferInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechAudioBufferInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechAudioBufferInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechAudioBufferInfo { fn eq(&self, other: &Self) -> bool { @@ -4704,7 +4704,7 @@ impl ISpeechAudioFormat { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechAudioFormat, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechAudioFormat, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechAudioFormat { fn eq(&self, other: &Self) -> bool { @@ -4783,7 +4783,7 @@ impl ISpeechAudioStatus { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechAudioStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechAudioStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechAudioStatus { fn eq(&self, other: &Self) -> bool { @@ -4868,7 +4868,7 @@ impl ISpeechBaseStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechBaseStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechBaseStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechBaseStream { fn eq(&self, other: &Self) -> bool { @@ -4972,7 +4972,7 @@ impl ISpeechCustomStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechCustomStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); +::windows::imp::interface_hierarchy!(ISpeechCustomStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechCustomStream { fn eq(&self, other: &Self) -> bool { @@ -5068,7 +5068,7 @@ impl ISpeechDataKey { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechDataKey, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechDataKey, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechDataKey { fn eq(&self, other: &Self) -> bool { @@ -5177,7 +5177,7 @@ impl ISpeechFileStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechFileStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); +::windows::imp::interface_hierarchy!(ISpeechFileStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechFileStream { fn eq(&self, other: &Self) -> bool { @@ -5255,7 +5255,7 @@ impl ISpeechGrammarRule { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechGrammarRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechGrammarRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechGrammarRule { fn eq(&self, other: &Self) -> bool { @@ -5348,7 +5348,7 @@ impl ISpeechGrammarRuleState { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechGrammarRuleState, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechGrammarRuleState, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechGrammarRuleState { fn eq(&self, other: &Self) -> bool { @@ -5451,7 +5451,7 @@ impl ISpeechGrammarRuleStateTransition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechGrammarRuleStateTransition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechGrammarRuleStateTransition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechGrammarRuleStateTransition { fn eq(&self, other: &Self) -> bool { @@ -5528,7 +5528,7 @@ impl ISpeechGrammarRuleStateTransitions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechGrammarRuleStateTransitions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechGrammarRuleStateTransitions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechGrammarRuleStateTransitions { fn eq(&self, other: &Self) -> bool { @@ -5617,7 +5617,7 @@ impl ISpeechGrammarRules { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechGrammarRules, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechGrammarRules, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechGrammarRules { fn eq(&self, other: &Self) -> bool { @@ -5719,7 +5719,7 @@ impl ISpeechLexicon { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechLexicon, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechLexicon, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechLexicon { fn eq(&self, other: &Self) -> bool { @@ -5807,7 +5807,7 @@ impl ISpeechLexiconPronunciation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechLexiconPronunciation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechLexiconPronunciation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechLexiconPronunciation { fn eq(&self, other: &Self) -> bool { @@ -5872,7 +5872,7 @@ impl ISpeechLexiconPronunciations { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechLexiconPronunciations, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechLexiconPronunciations, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechLexiconPronunciations { fn eq(&self, other: &Self) -> bool { @@ -5939,7 +5939,7 @@ impl ISpeechLexiconWord { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechLexiconWord, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechLexiconWord, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechLexiconWord { fn eq(&self, other: &Self) -> bool { @@ -6003,7 +6003,7 @@ impl ISpeechLexiconWords { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechLexiconWords, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechLexiconWords, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechLexiconWords { fn eq(&self, other: &Self) -> bool { @@ -6140,7 +6140,7 @@ impl ISpeechMMSysAudio { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechMMSysAudio, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream, ISpeechAudio); +::windows::imp::interface_hierarchy!(ISpeechMMSysAudio, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream, ISpeechAudio); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechMMSysAudio { fn eq(&self, other: &Self) -> bool { @@ -6230,7 +6230,7 @@ impl ISpeechMemoryStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechMemoryStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); +::windows::imp::interface_hierarchy!(ISpeechMemoryStream, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechMemoryStream { fn eq(&self, other: &Self) -> bool { @@ -6358,7 +6358,7 @@ impl ISpeechObjectToken { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechObjectToken, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechObjectToken, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechObjectToken { fn eq(&self, other: &Self) -> bool { @@ -6466,7 +6466,7 @@ impl ISpeechObjectTokenCategory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechObjectTokenCategory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechObjectTokenCategory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechObjectTokenCategory { fn eq(&self, other: &Self) -> bool { @@ -6538,7 +6538,7 @@ impl ISpeechObjectTokens { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechObjectTokens, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechObjectTokens, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechObjectTokens { fn eq(&self, other: &Self) -> bool { @@ -6606,7 +6606,7 @@ impl ISpeechPhoneConverter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhoneConverter, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhoneConverter, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhoneConverter { fn eq(&self, other: &Self) -> bool { @@ -6682,7 +6682,7 @@ impl ISpeechPhraseAlternate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseAlternate, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseAlternate, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseAlternate { fn eq(&self, other: &Self) -> bool { @@ -6750,7 +6750,7 @@ impl ISpeechPhraseAlternates { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseAlternates, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseAlternates, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseAlternates { fn eq(&self, other: &Self) -> bool { @@ -6853,7 +6853,7 @@ impl ISpeechPhraseElement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseElement, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseElement, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseElement { fn eq(&self, other: &Self) -> bool { @@ -6926,7 +6926,7 @@ impl ISpeechPhraseElements { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseElements, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseElements, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseElements { fn eq(&self, other: &Self) -> bool { @@ -7067,7 +7067,7 @@ impl ISpeechPhraseInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseInfo { fn eq(&self, other: &Self) -> bool { @@ -7165,7 +7165,7 @@ impl ISpeechPhraseInfoBuilder { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseInfoBuilder, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseInfoBuilder, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseInfoBuilder { fn eq(&self, other: &Self) -> bool { @@ -7226,7 +7226,7 @@ impl ISpeechPhraseProperties { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseProperties, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseProperties, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseProperties { fn eq(&self, other: &Self) -> bool { @@ -7317,7 +7317,7 @@ impl ISpeechPhraseProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseProperty { fn eq(&self, other: &Self) -> bool { @@ -7394,7 +7394,7 @@ impl ISpeechPhraseReplacement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseReplacement, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseReplacement, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseReplacement { fn eq(&self, other: &Self) -> bool { @@ -7455,7 +7455,7 @@ impl ISpeechPhraseReplacements { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseReplacements, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseReplacements, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseReplacements { fn eq(&self, other: &Self) -> bool { @@ -7540,7 +7540,7 @@ impl ISpeechPhraseRule { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseRule { fn eq(&self, other: &Self) -> bool { @@ -7611,7 +7611,7 @@ impl ISpeechPhraseRules { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechPhraseRules, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechPhraseRules, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechPhraseRules { fn eq(&self, other: &Self) -> bool { @@ -7777,7 +7777,7 @@ impl ISpeechRecoContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechRecoContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechRecoContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechRecoContext { fn eq(&self, other: &Self) -> bool { @@ -7959,7 +7959,7 @@ impl ISpeechRecoGrammar { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechRecoGrammar, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechRecoGrammar, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechRecoGrammar { fn eq(&self, other: &Self) -> bool { @@ -8102,7 +8102,7 @@ impl ISpeechRecoResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechRecoResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechRecoResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechRecoResult { fn eq(&self, other: &Self) -> bool { @@ -8244,7 +8244,7 @@ impl ISpeechRecoResult2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechRecoResult2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechRecoResult); +::windows::imp::interface_hierarchy!(ISpeechRecoResult2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechRecoResult); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechRecoResult2 { fn eq(&self, other: &Self) -> bool { @@ -8365,7 +8365,7 @@ impl ISpeechRecoResultDispatch { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechRecoResultDispatch, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechRecoResultDispatch, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechRecoResultDispatch { fn eq(&self, other: &Self) -> bool { @@ -8473,7 +8473,7 @@ impl ISpeechRecoResultTimes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechRecoResultTimes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechRecoResultTimes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechRecoResultTimes { fn eq(&self, other: &Self) -> bool { @@ -8686,7 +8686,7 @@ impl ISpeechRecognizer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechRecognizer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechRecognizer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechRecognizer { fn eq(&self, other: &Self) -> bool { @@ -8857,7 +8857,7 @@ impl ISpeechRecognizerStatus { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechRecognizerStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechRecognizerStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechRecognizerStatus { fn eq(&self, other: &Self) -> bool { @@ -8929,7 +8929,7 @@ impl ISpeechResourceLoader { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechResourceLoader, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechResourceLoader, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechResourceLoader { fn eq(&self, other: &Self) -> bool { @@ -9006,7 +9006,7 @@ impl ISpeechTextSelectionInformation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechTextSelectionInformation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechTextSelectionInformation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechTextSelectionInformation { fn eq(&self, other: &Self) -> bool { @@ -9217,7 +9217,7 @@ impl ISpeechVoice { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechVoice, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechVoice, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechVoice { fn eq(&self, other: &Self) -> bool { @@ -9385,7 +9385,7 @@ impl ISpeechVoiceStatus { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechVoiceStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechVoiceStatus, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechVoiceStatus { fn eq(&self, other: &Self) -> bool { @@ -9493,7 +9493,7 @@ impl ISpeechWaveFormatEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechWaveFormatEx, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISpeechWaveFormatEx, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechWaveFormatEx { fn eq(&self, other: &Self) -> bool { @@ -9622,7 +9622,7 @@ impl ISpeechXMLRecoResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISpeechXMLRecoResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechRecoResult); +::windows::imp::interface_hierarchy!(ISpeechXMLRecoResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISpeechRecoResult); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISpeechXMLRecoResult { fn eq(&self, other: &Self) -> bool { @@ -9669,7 +9669,7 @@ pub struct _ISpeechRecoContextEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ISpeechRecoContextEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_ISpeechRecoContextEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_ISpeechRecoContextEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _ISpeechRecoContextEvents { fn eq(&self, other: &Self) -> bool { @@ -9711,7 +9711,7 @@ pub struct _ISpeechVoiceEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ISpeechVoiceEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_ISpeechVoiceEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_ISpeechVoiceEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _ISpeechVoiceEvents { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs index 97cfdaee99..17e5dd7d45 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs @@ -4,28 +4,28 @@ pub unsafe fn WMCreateBackupRestorer(pcallback: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateBackupRestorer ( pcallback : * mut::core::ffi::c_void , ppbackup : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateBackupRestorer ( pcallback : * mut::core::ffi::c_void , ppbackup : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateBackupRestorer(pcallback.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[inline] pub unsafe fn WMCreateEditor() -> ::windows::core::Result { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateEditor ( ppeditor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateEditor ( ppeditor : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateEditor(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[inline] pub unsafe fn WMCreateIndexer() -> ::windows::core::Result { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateIndexer ( ppindexer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateIndexer ( ppindexer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateIndexer(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[inline] pub unsafe fn WMCreateProfileManager() -> ::windows::core::Result { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateProfileManager ( ppprofilemanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateProfileManager ( ppprofilemanager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateProfileManager(&mut result__).from_abi(result__) } @@ -35,7 +35,7 @@ pub unsafe fn WMCreateReader(punkcert: P0, dwrights: u32) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateReader ( punkcert : * mut::core::ffi::c_void , dwrights : u32 , ppreader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateReader ( punkcert : * mut::core::ffi::c_void , dwrights : u32 , ppreader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateReader(punkcert.into().abi(), dwrights, &mut result__).from_abi(result__) } @@ -45,7 +45,7 @@ pub unsafe fn WMCreateSyncReader(punkcert: P0, dwrights: u32) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateSyncReader ( punkcert : * mut::core::ffi::c_void , dwrights : u32 , ppsyncreader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateSyncReader ( punkcert : * mut::core::ffi::c_void , dwrights : u32 , ppsyncreader : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateSyncReader(punkcert.into().abi(), dwrights, &mut result__).from_abi(result__) } @@ -55,28 +55,28 @@ pub unsafe fn WMCreateWriter(punkcert: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateWriter ( punkcert : * mut::core::ffi::c_void , ppwriter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateWriter ( punkcert : * mut::core::ffi::c_void , ppwriter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateWriter(punkcert.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[inline] pub unsafe fn WMCreateWriterFileSink() -> ::windows::core::Result { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateWriterFileSink ( ppsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateWriterFileSink ( ppsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateWriterFileSink(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[inline] pub unsafe fn WMCreateWriterNetworkSink() -> ::windows::core::Result { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateWriterNetworkSink ( ppsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateWriterNetworkSink ( ppsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateWriterNetworkSink(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[inline] pub unsafe fn WMCreateWriterPushSink() -> ::windows::core::Result { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMCreateWriterPushSink ( ppsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMCreateWriterPushSink ( ppsink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WMCreateWriterPushSink(&mut result__).from_abi(result__) } @@ -87,7 +87,7 @@ pub unsafe fn WMIsContentProtected(pwszfilename: P0, pfisprotected: *mut sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wmvcore.dll""system" fn WMIsContentProtected ( pwszfilename : :: windows::core::PCWSTR , pfisprotected : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wmvcore.dll""system" fn WMIsContentProtected ( pwszfilename : :: windows::core::PCWSTR , pfisprotected : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); WMIsContentProtected(pwszfilename.into().abi(), pfisprotected).ok() } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -137,7 +137,7 @@ impl INSNetSourceCreator { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(INSNetSourceCreator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INSNetSourceCreator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INSNetSourceCreator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -199,7 +199,7 @@ impl INSSBuffer { (::windows::core::Vtable::vtable(self).GetBufferAndLength)(::windows::core::Vtable::as_raw(self), ppdwbuffer, pdwlength).ok() } } -::windows::core::interface_hierarchy!(INSSBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INSSBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INSSBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -262,7 +262,7 @@ impl INSSBuffer2 { (::windows::core::Vtable::vtable(self).SetSampleProperties)(::windows::core::Vtable::as_raw(self), cbproperties, pbproperties).ok() } } -::windows::core::interface_hierarchy!(INSSBuffer2, ::windows::core::IUnknown, INSSBuffer); +::windows::imp::interface_hierarchy!(INSSBuffer2, ::windows::core::IUnknown, INSSBuffer); impl ::core::cmp::PartialEq for INSSBuffer2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -328,7 +328,7 @@ impl INSSBuffer3 { (::windows::core::Vtable::vtable(self).GetProperty)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidbufferproperty), pvbufferproperty, pdwbufferpropertysize).ok() } } -::windows::core::interface_hierarchy!(INSSBuffer3, ::windows::core::IUnknown, INSSBuffer, INSSBuffer2); +::windows::imp::interface_hierarchy!(INSSBuffer3, ::windows::core::IUnknown, INSSBuffer, INSSBuffer2); impl ::core::cmp::PartialEq for INSSBuffer3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -401,7 +401,7 @@ impl INSSBuffer4 { (::windows::core::Vtable::vtable(self).GetPropertyByIndex)(::windows::core::Vtable::as_raw(self), dwbufferpropertyindex, pguidbufferproperty, pvbufferproperty, pdwbufferpropertysize).ok() } } -::windows::core::interface_hierarchy!(INSSBuffer4, ::windows::core::IUnknown, INSSBuffer, INSSBuffer2, INSSBuffer3); +::windows::imp::interface_hierarchy!(INSSBuffer4, ::windows::core::IUnknown, INSSBuffer, INSSBuffer2, INSSBuffer3); impl ::core::cmp::PartialEq for INSSBuffer4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -450,7 +450,7 @@ impl IWMAddressAccess { (::windows::core::Vtable::vtable(self).RemoveAccessEntry)(::windows::core::Vtable::as_raw(self), aetype, dwentrynum).ok() } } -::windows::core::interface_hierarchy!(IWMAddressAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMAddressAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMAddressAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -507,7 +507,7 @@ impl IWMAddressAccess2 { (::windows::core::Vtable::vtable(self).AddAccessEntryEx)(::windows::core::Vtable::as_raw(self), aetype, ::core::mem::transmute_copy(bstraddress), ::core::mem::transmute_copy(bstrmask)).ok() } } -::windows::core::interface_hierarchy!(IWMAddressAccess2, ::windows::core::IUnknown, IWMAddressAccess); +::windows::imp::interface_hierarchy!(IWMAddressAccess2, ::windows::core::IUnknown, IWMAddressAccess); impl ::core::cmp::PartialEq for IWMAddressAccess2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -554,7 +554,7 @@ impl IWMAuthorizer { (::windows::core::Vtable::vtable(self).GetSharedData)(::windows::core::Vtable::as_raw(self), dwcertindex, pbshareddata, pbcert, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMAuthorizer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMAuthorizer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMAuthorizer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -618,7 +618,7 @@ impl IWMBackupRestoreProps { (::windows::core::Vtable::vtable(self).RemoveAllProps)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMBackupRestoreProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMBackupRestoreProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMBackupRestoreProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -679,7 +679,7 @@ impl IWMBandwidthSharing { (::windows::core::Vtable::vtable(self).SetBandwidth)(::windows::core::Vtable::as_raw(self), dwbitrate, msbufferwindow).ok() } } -::windows::core::interface_hierarchy!(IWMBandwidthSharing, ::windows::core::IUnknown, IWMStreamList); +::windows::imp::interface_hierarchy!(IWMBandwidthSharing, ::windows::core::IUnknown, IWMStreamList); impl ::core::cmp::PartialEq for IWMBandwidthSharing { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -724,7 +724,7 @@ impl IWMClientConnections { (::windows::core::Vtable::vtable(self).GetClientProperties)(::windows::core::Vtable::as_raw(self), dwclientnum, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMClientConnections, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMClientConnections, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMClientConnections { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -770,7 +770,7 @@ impl IWMClientConnections2 { (::windows::core::Vtable::vtable(self).GetClientInfo)(::windows::core::Vtable::as_raw(self), dwclientnum, ::core::mem::transmute(pwsznetworkaddress), pcchnetworkaddress, ::core::mem::transmute(pwszport), pcchport, ::core::mem::transmute(pwszdnsname), pcchdnsname).ok() } } -::windows::core::interface_hierarchy!(IWMClientConnections2, ::windows::core::IUnknown, IWMClientConnections); +::windows::imp::interface_hierarchy!(IWMClientConnections2, ::windows::core::IUnknown, IWMClientConnections); impl ::core::cmp::PartialEq for IWMClientConnections2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -816,7 +816,7 @@ impl IWMCodecInfo { (::windows::core::Vtable::vtable(self).GetCodecFormat)(::windows::core::Vtable::as_raw(self), guidtype, dwcodecindex, dwformatindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMCodecInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCodecInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCodecInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -870,7 +870,7 @@ impl IWMCodecInfo2 { (::windows::core::Vtable::vtable(self).GetCodecFormatDesc)(::windows::core::Vtable::as_raw(self), guidtype, dwcodecindex, dwformatindex, ::core::mem::transmute(ppistreamconfig), ::core::mem::transmute(wszdesc), pcchdesc).ok() } } -::windows::core::interface_hierarchy!(IWMCodecInfo2, ::windows::core::IUnknown, IWMCodecInfo); +::windows::imp::interface_hierarchy!(IWMCodecInfo2, ::windows::core::IUnknown, IWMCodecInfo); impl ::core::cmp::PartialEq for IWMCodecInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -947,7 +947,7 @@ impl IWMCodecInfo3 { (::windows::core::Vtable::vtable(self).GetCodecEnumerationSetting)(::windows::core::Vtable::as_raw(self), guidtype, dwcodecindex, pszname.into().abi(), ptype, pvalue, pdwsize).ok() } } -::windows::core::interface_hierarchy!(IWMCodecInfo3, ::windows::core::IUnknown, IWMCodecInfo, IWMCodecInfo2); +::windows::imp::interface_hierarchy!(IWMCodecInfo3, ::windows::core::IUnknown, IWMCodecInfo, IWMCodecInfo2); impl ::core::cmp::PartialEq for IWMCodecInfo3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -991,7 +991,7 @@ impl IWMCredentialCallback { (::windows::core::Vtable::vtable(self).AcquireCredentials)(::windows::core::Vtable::as_raw(self), pwszrealm.into().abi(), pwszsite.into().abi(), ::core::mem::transmute(pwszuser.as_ptr()), pwszuser.len() as _, ::core::mem::transmute(pwszpassword.as_ptr()), pwszpassword.len() as _, hrstatus, pdwflags).ok() } } -::windows::core::interface_hierarchy!(IWMCredentialCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMCredentialCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMCredentialCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1031,7 +1031,7 @@ impl IWMDRMEditor { (::windows::core::Vtable::vtable(self).GetDRMProperty)(::windows::core::Vtable::as_raw(self), pwstrname.into().abi(), pdwtype, pvalue, pcblength).ok() } } -::windows::core::interface_hierarchy!(IWMDRMEditor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDRMEditor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDRMEditor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1071,7 +1071,7 @@ impl IWMDRMMessageParser { (::windows::core::Vtable::vtable(self).ParseLicenseRequestMsg)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pblicenserequestmsg.as_ptr()), pblicenserequestmsg.len() as _, ::core::mem::transmute(ppdevicecert), pdeviceserialnumber, ::core::mem::transmute(pbstraction)).ok() } } -::windows::core::interface_hierarchy!(IWMDRMMessageParser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDRMMessageParser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDRMMessageParser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1136,7 +1136,7 @@ impl IWMDRMReader { (::windows::core::Vtable::vtable(self).GetDRMProperty)(::windows::core::Vtable::as_raw(self), pwstrname.into().abi(), pdwtype, pvalue, pcblength).ok() } } -::windows::core::interface_hierarchy!(IWMDRMReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDRMReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDRMReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1224,7 +1224,7 @@ impl IWMDRMReader2 { (::windows::core::Vtable::vtable(self).TryNextLicense)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMDRMReader2, ::windows::core::IUnknown, IWMDRMReader); +::windows::imp::interface_hierarchy!(IWMDRMReader2, ::windows::core::IUnknown, IWMDRMReader); impl ::core::cmp::PartialEq for IWMDRMReader2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1314,7 +1314,7 @@ impl IWMDRMReader3 { (::windows::core::Vtable::vtable(self).GetInclusionList)(::windows::core::Vtable::as_raw(self), ppguids, pcguids).ok() } } -::windows::core::interface_hierarchy!(IWMDRMReader3, ::windows::core::IUnknown, IWMDRMReader, IWMDRMReader2); +::windows::imp::interface_hierarchy!(IWMDRMReader3, ::windows::core::IUnknown, IWMDRMReader, IWMDRMReader2); impl ::core::cmp::PartialEq for IWMDRMReader3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1352,7 +1352,7 @@ impl IWMDRMTranscryptionManager { (::windows::core::Vtable::vtable(self).CreateTranscryptor)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDRMTranscryptionManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDRMTranscryptionManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDRMTranscryptionManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1401,7 +1401,7 @@ impl IWMDRMTranscryptor { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMDRMTranscryptor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDRMTranscryptor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDRMTranscryptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1477,7 +1477,7 @@ impl IWMDRMTranscryptor2 { (::windows::core::Vtable::vtable(self).GetDuration)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDRMTranscryptor2, ::windows::core::IUnknown, IWMDRMTranscryptor); +::windows::imp::interface_hierarchy!(IWMDRMTranscryptor2, ::windows::core::IUnknown, IWMDRMTranscryptor); impl ::core::cmp::PartialEq for IWMDRMTranscryptor2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1535,7 +1535,7 @@ impl IWMDRMWriter { (::windows::core::Vtable::vtable(self).SetDRMAttribute)(::windows::core::Vtable::as_raw(self), wstreamnum, pszname.into().abi(), r#type, ::core::mem::transmute(pvalue.as_ptr()), pvalue.len() as _).ok() } } -::windows::core::interface_hierarchy!(IWMDRMWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDRMWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDRMWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1595,7 +1595,7 @@ impl IWMDRMWriter2 { (::windows::core::Vtable::vtable(self).SetWMDRMNetEncryption)(::windows::core::Vtable::as_raw(self), fsamplesencrypted.into(), pbkeyid, cbkeyid).ok() } } -::windows::core::interface_hierarchy!(IWMDRMWriter2, ::windows::core::IUnknown, IWMDRMWriter); +::windows::imp::interface_hierarchy!(IWMDRMWriter2, ::windows::core::IUnknown, IWMDRMWriter); impl ::core::cmp::PartialEq for IWMDRMWriter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1658,7 +1658,7 @@ impl IWMDRMWriter3 { (::windows::core::Vtable::vtable(self).SetProtectStreamSamples)(::windows::core::Vtable::as_raw(self), pimportinitstruct).ok() } } -::windows::core::interface_hierarchy!(IWMDRMWriter3, ::windows::core::IUnknown, IWMDRMWriter, IWMDRMWriter2); +::windows::imp::interface_hierarchy!(IWMDRMWriter3, ::windows::core::IUnknown, IWMDRMWriter, IWMDRMWriter2); impl ::core::cmp::PartialEq for IWMDRMWriter3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1715,7 +1715,7 @@ impl IWMDeviceRegistration { (::windows::core::Vtable::vtable(self).GetRegisteredDeviceByID)(::windows::core::Vtable::as_raw(self), dwregistertype, ::core::mem::transmute(pbcertificate.as_ptr()), pbcertificate.len() as _, ::core::mem::transmute(serialnumber), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMDeviceRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMDeviceRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMDeviceRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1758,7 +1758,7 @@ impl IWMGetSecureChannel { (::windows::core::Vtable::vtable(self).GetPeerSecureChannelInterface)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMGetSecureChannel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMGetSecureChannel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMGetSecureChannel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1844,7 +1844,7 @@ impl IWMHeaderInfo { (::windows::core::Vtable::vtable(self).RemoveScript)(::windows::core::Vtable::as_raw(self), windex).ok() } } -::windows::core::interface_hierarchy!(IWMHeaderInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMHeaderInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMHeaderInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1948,7 +1948,7 @@ impl IWMHeaderInfo2 { (::windows::core::Vtable::vtable(self).GetCodecInfo)(::windows::core::Vtable::as_raw(self), windex, pcchname, ::core::mem::transmute(pwszname), pcchdescription, ::core::mem::transmute(pwszdescription), pcodectype, pcbcodecinfo, pbcodecinfo).ok() } } -::windows::core::interface_hierarchy!(IWMHeaderInfo2, ::windows::core::IUnknown, IWMHeaderInfo); +::windows::imp::interface_hierarchy!(IWMHeaderInfo2, ::windows::core::IUnknown, IWMHeaderInfo); impl ::core::cmp::PartialEq for IWMHeaderInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2074,7 +2074,7 @@ impl IWMHeaderInfo3 { (::windows::core::Vtable::vtable(self).AddCodecInfo)(::windows::core::Vtable::as_raw(self), pwszname.into().abi(), pwszdescription.into().abi(), codectype, pbcodecinfo.len() as _, ::core::mem::transmute(pbcodecinfo.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IWMHeaderInfo3, ::windows::core::IUnknown, IWMHeaderInfo, IWMHeaderInfo2); +::windows::imp::interface_hierarchy!(IWMHeaderInfo3, ::windows::core::IUnknown, IWMHeaderInfo, IWMHeaderInfo2); impl ::core::cmp::PartialEq for IWMHeaderInfo3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2120,7 +2120,7 @@ impl IWMIStreamProps { (::windows::core::Vtable::vtable(self).GetProperty)(::windows::core::Vtable::as_raw(self), pszname.into().abi(), ptype, pvalue, pdwsize).ok() } } -::windows::core::interface_hierarchy!(IWMIStreamProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMIStreamProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMIStreamProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2161,7 +2161,7 @@ impl IWMImageInfo { (::windows::core::Vtable::vtable(self).GetImage)(::windows::core::Vtable::as_raw(self), windex, pcchmimetype, ::core::mem::transmute(pwszmimetype), pcchdescription, ::core::mem::transmute(pwszdescription), pimagetype, pcbimagedata, pbimagedata).ok() } } -::windows::core::interface_hierarchy!(IWMImageInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMImageInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMImageInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2206,7 +2206,7 @@ impl IWMIndexer { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMIndexer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMIndexer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMIndexer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2254,7 +2254,7 @@ impl IWMIndexer2 { (::windows::core::Vtable::vtable(self).Configure)(::windows::core::Vtable::as_raw(self), wstreamnum, nindexertype, pvinterval, pvindextype).ok() } } -::windows::core::interface_hierarchy!(IWMIndexer2, ::windows::core::IUnknown, IWMIndexer); +::windows::imp::interface_hierarchy!(IWMIndexer2, ::windows::core::IUnknown, IWMIndexer); impl ::core::cmp::PartialEq for IWMIndexer2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2308,7 +2308,7 @@ impl IWMInputMediaProps { (::windows::core::Vtable::vtable(self).GetGroupName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwszname), pcchname).ok() } } -::windows::core::interface_hierarchy!(IWMInputMediaProps, ::windows::core::IUnknown, IWMMediaProps); +::windows::imp::interface_hierarchy!(IWMInputMediaProps, ::windows::core::IUnknown, IWMMediaProps); impl ::core::cmp::PartialEq for IWMInputMediaProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2357,7 +2357,7 @@ impl IWMLanguageList { (::windows::core::Vtable::vtable(self).AddLanguageByRFC1766String)(::windows::core::Vtable::as_raw(self), pwszlanguagestring.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMLanguageList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMLanguageList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMLanguageList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2402,7 +2402,7 @@ impl IWMLicenseBackup { (::windows::core::Vtable::vtable(self).CancelLicenseBackup)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMLicenseBackup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMLicenseBackup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMLicenseBackup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2446,7 +2446,7 @@ impl IWMLicenseRestore { (::windows::core::Vtable::vtable(self).CancelLicenseRestore)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMLicenseRestore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMLicenseRestore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMLicenseRestore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2487,7 +2487,7 @@ impl IWMLicenseRevocationAgent { (::windows::core::Vtable::vtable(self).ProcessLRB)(::windows::core::Vtable::as_raw(self), psignedlrb, dwsignedlrblength, psignedack, pdwsignedacklength).ok() } } -::windows::core::interface_hierarchy!(IWMLicenseRevocationAgent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMLicenseRevocationAgent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMLicenseRevocationAgent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2536,7 +2536,7 @@ impl IWMMediaProps { (::windows::core::Vtable::vtable(self).SetMediaType)(::windows::core::Vtable::as_raw(self), ptype).ok() } } -::windows::core::interface_hierarchy!(IWMMediaProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMMediaProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMMediaProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2590,7 +2590,7 @@ impl IWMMetadataEditor { (::windows::core::Vtable::vtable(self).Flush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMMetadataEditor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMMetadataEditor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMMetadataEditor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2644,7 +2644,7 @@ impl IWMMetadataEditor2 { (::windows::core::Vtable::vtable(self).OpenEx)(::windows::core::Vtable::as_raw(self), pwszfilename.into().abi(), dwdesiredaccess, dwsharemode).ok() } } -::windows::core::interface_hierarchy!(IWMMetadataEditor2, ::windows::core::IUnknown, IWMMetadataEditor); +::windows::imp::interface_hierarchy!(IWMMetadataEditor2, ::windows::core::IUnknown, IWMMetadataEditor); impl ::core::cmp::PartialEq for IWMMetadataEditor2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2694,7 +2694,7 @@ impl IWMMutualExclusion { (::windows::core::Vtable::vtable(self).SetType)(::windows::core::Vtable::as_raw(self), guidtype).ok() } } -::windows::core::interface_hierarchy!(IWMMutualExclusion, ::windows::core::IUnknown, IWMStreamList); +::windows::imp::interface_hierarchy!(IWMMutualExclusion, ::windows::core::IUnknown, IWMStreamList); impl ::core::cmp::PartialEq for IWMMutualExclusion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2782,7 +2782,7 @@ impl IWMMutualExclusion2 { (::windows::core::Vtable::vtable(self).RemoveStreamForRecord)(::windows::core::Vtable::as_raw(self), wrecordnumber, wstreamnumber).ok() } } -::windows::core::interface_hierarchy!(IWMMutualExclusion2, ::windows::core::IUnknown, IWMStreamList, IWMMutualExclusion); +::windows::imp::interface_hierarchy!(IWMMutualExclusion2, ::windows::core::IUnknown, IWMStreamList, IWMMutualExclusion); impl ::core::cmp::PartialEq for IWMMutualExclusion2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2845,7 +2845,7 @@ impl IWMOutputMediaProps { (::windows::core::Vtable::vtable(self).GetConnectionName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwszname), pcchname).ok() } } -::windows::core::interface_hierarchy!(IWMOutputMediaProps, ::windows::core::IUnknown, IWMMediaProps); +::windows::imp::interface_hierarchy!(IWMOutputMediaProps, ::windows::core::IUnknown, IWMMediaProps); impl ::core::cmp::PartialEq for IWMOutputMediaProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2887,7 +2887,7 @@ impl IWMPacketSize { (::windows::core::Vtable::vtable(self).SetMaxPacketSize)(::windows::core::Vtable::as_raw(self), dwmaxpacketsize).ok() } } -::windows::core::interface_hierarchy!(IWMPacketSize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPacketSize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPacketSize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2936,7 +2936,7 @@ impl IWMPacketSize2 { (::windows::core::Vtable::vtable(self).SetMinPacketSize)(::windows::core::Vtable::as_raw(self), dwminpacketsize).ok() } } -::windows::core::interface_hierarchy!(IWMPacketSize2, ::windows::core::IUnknown, IWMPacketSize); +::windows::imp::interface_hierarchy!(IWMPacketSize2, ::windows::core::IUnknown, IWMPacketSize); impl ::core::cmp::PartialEq for IWMPacketSize2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2974,7 +2974,7 @@ impl IWMPlayerHook { (::windows::core::Vtable::vtable(self).PreDecode)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMPlayerHook, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPlayerHook, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPlayerHook { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3012,7 +3012,7 @@ impl IWMPlayerTimestampHook { (::windows::core::Vtable::vtable(self).MapTimestamp)(::windows::core::Vtable::as_raw(self), rtin, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMPlayerTimestampHook, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPlayerTimestampHook, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPlayerTimestampHook { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3129,7 +3129,7 @@ impl IWMProfile { (::windows::core::Vtable::vtable(self).CreateNewMutualExclusion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMProfile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMProfile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3267,7 +3267,7 @@ impl IWMProfile2 { (::windows::core::Vtable::vtable(self).GetProfileID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMProfile2, ::windows::core::IUnknown, IWMProfile); +::windows::imp::interface_hierarchy!(IWMProfile2, ::windows::core::IUnknown, IWMProfile); impl ::core::cmp::PartialEq for IWMProfile2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3440,7 +3440,7 @@ impl IWMProfile3 { (::windows::core::Vtable::vtable(self).GetExpectedPacketCount)(::windows::core::Vtable::as_raw(self), msduration, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMProfile3, ::windows::core::IUnknown, IWMProfile, IWMProfile2); +::windows::imp::interface_hierarchy!(IWMProfile3, ::windows::core::IUnknown, IWMProfile, IWMProfile2); impl ::core::cmp::PartialEq for IWMProfile3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3515,7 +3515,7 @@ impl IWMProfileManager { (::windows::core::Vtable::vtable(self).LoadSystemProfile)(::windows::core::Vtable::as_raw(self), dwprofileindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMProfileManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMProfileManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMProfileManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3590,7 +3590,7 @@ impl IWMProfileManager2 { (::windows::core::Vtable::vtable(self).SetSystemProfileVersion)(::windows::core::Vtable::as_raw(self), dwversion).ok() } } -::windows::core::interface_hierarchy!(IWMProfileManager2, ::windows::core::IUnknown, IWMProfileManager); +::windows::imp::interface_hierarchy!(IWMProfileManager2, ::windows::core::IUnknown, IWMProfileManager); impl ::core::cmp::PartialEq for IWMProfileManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3631,7 +3631,7 @@ impl IWMProfileManagerLanguage { (::windows::core::Vtable::vtable(self).SetUserLanguageID)(::windows::core::Vtable::as_raw(self), wlangid).ok() } } -::windows::core::interface_hierarchy!(IWMProfileManagerLanguage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMProfileManagerLanguage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMProfileManagerLanguage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3693,7 +3693,7 @@ impl IWMPropertyVault { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMPropertyVault, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMPropertyVault, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMPropertyVault { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3738,7 +3738,7 @@ impl IWMProximityDetection { (::windows::core::Vtable::vtable(self).StartDetection)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbregistrationmsg.as_ptr()), pbregistrationmsg.len() as _, ::core::mem::transmute(pblocaladdress.as_ptr()), pblocaladdress.len() as _, dwextraportsallowed, ::core::mem::transmute(ppregistrationresponsemsg), pcallback.into().abi(), pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMProximityDetection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMProximityDetection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMProximityDetection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3816,7 +3816,7 @@ impl IWMReader { (::windows::core::Vtable::vtable(self).Resume)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3868,7 +3868,7 @@ impl IWMReaderAccelerator { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), dwoutputnum, psubtype).ok() } } -::windows::core::interface_hierarchy!(IWMReaderAccelerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderAccelerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderAccelerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4019,7 +4019,7 @@ impl IWMReaderAdvanced { (::windows::core::Vtable::vtable(self).NotifyLateDelivery)(::windows::core::Vtable::as_raw(self), cnslateness).ok() } } -::windows::core::interface_hierarchy!(IWMReaderAdvanced, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderAdvanced, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderAdvanced { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4294,7 +4294,7 @@ impl IWMReaderAdvanced2 { (::windows::core::Vtable::vtable(self).OpenStream)(::windows::core::Vtable::as_raw(self), pstream.into().abi(), pcallback.into().abi(), pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMReaderAdvanced2, ::windows::core::IUnknown, IWMReaderAdvanced); +::windows::imp::interface_hierarchy!(IWMReaderAdvanced2, ::windows::core::IUnknown, IWMReaderAdvanced); impl ::core::cmp::PartialEq for IWMReaderAdvanced2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4540,7 +4540,7 @@ impl IWMReaderAdvanced3 { (::windows::core::Vtable::vtable(self).StartAtPosition)(::windows::core::Vtable::as_raw(self), wstreamnum, pvoffsetstart, pvduration, dwoffsetformat, frate, pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMReaderAdvanced3, ::windows::core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2); +::windows::imp::interface_hierarchy!(IWMReaderAdvanced3, ::windows::core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2); impl ::core::cmp::PartialEq for IWMReaderAdvanced3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4804,7 +4804,7 @@ impl IWMReaderAdvanced4 { (::windows::core::Vtable::vtable(self).GetURL)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwszurl), pcchurl).ok() } } -::windows::core::interface_hierarchy!(IWMReaderAdvanced4, ::windows::core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3); +::windows::imp::interface_hierarchy!(IWMReaderAdvanced4, ::windows::core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3); impl ::core::cmp::PartialEq for IWMReaderAdvanced4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5087,7 +5087,7 @@ impl IWMReaderAdvanced5 { (::windows::core::Vtable::vtable(self).SetPlayerHook)(::windows::core::Vtable::as_raw(self), dwoutputnum, phook.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMReaderAdvanced5, ::windows::core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4); +::windows::imp::interface_hierarchy!(IWMReaderAdvanced5, ::windows::core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4); impl ::core::cmp::PartialEq for IWMReaderAdvanced5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5359,7 +5359,7 @@ impl IWMReaderAdvanced6 { (::windows::core::Vtable::vtable(self).SetProtectStreamSamples)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbcertificate.as_ptr()), pbcertificate.len() as _, dwcertificatetype, dwflags, pbinitializationvector, pcbinitializationvector).ok() } } -::windows::core::interface_hierarchy!(IWMReaderAdvanced6, ::windows::core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4, IWMReaderAdvanced5); +::windows::imp::interface_hierarchy!(IWMReaderAdvanced6, ::windows::core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4, IWMReaderAdvanced5); impl ::core::cmp::PartialEq for IWMReaderAdvanced6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5399,7 +5399,7 @@ impl IWMReaderAllocatorEx { (::windows::core::Vtable::vtable(self).AllocateForOutputEx)(::windows::core::Vtable::as_raw(self), dwoutputnum, cbbuffer, ::core::mem::transmute(ppbuffer), dwflags, cnssampletime, cnssampleduration, pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMReaderAllocatorEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderAllocatorEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderAllocatorEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5443,7 +5443,7 @@ impl IWMReaderCallback { (::windows::core::Vtable::vtable(self).OnSample)(::windows::core::Vtable::as_raw(self), dwoutputnum, cnssampletime, cnssampleduration, dwflags, psample.into().abi(), pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMReaderCallback, ::windows::core::IUnknown, IWMStatusCallback); +::windows::imp::interface_hierarchy!(IWMReaderCallback, ::windows::core::IUnknown, IWMStatusCallback); impl ::core::cmp::PartialEq for IWMReaderCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5500,7 +5500,7 @@ impl IWMReaderCallbackAdvanced { (::windows::core::Vtable::vtable(self).AllocateForOutput)(::windows::core::Vtable::as_raw(self), dwoutputnum, cbbuffer, ::core::mem::transmute(ppbuffer), pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMReaderCallbackAdvanced, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderCallbackAdvanced, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderCallbackAdvanced { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5728,7 +5728,7 @@ impl IWMReaderNetworkConfig { (::windows::core::Vtable::vtable(self).ResetLoggingUrlList)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMReaderNetworkConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderNetworkConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderNetworkConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6090,7 +6090,7 @@ impl IWMReaderNetworkConfig2 { (::windows::core::Vtable::vtable(self).GetMaxNetPacketSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMReaderNetworkConfig2, ::windows::core::IUnknown, IWMReaderNetworkConfig); +::windows::imp::interface_hierarchy!(IWMReaderNetworkConfig2, ::windows::core::IUnknown, IWMReaderNetworkConfig); impl ::core::cmp::PartialEq for IWMReaderNetworkConfig2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6176,7 +6176,7 @@ impl IWMReaderPlaylistBurn { (::windows::core::Vtable::vtable(self).EndPlaylistBurn)(::windows::core::Vtable::as_raw(self), hrburnresult).ok() } } -::windows::core::interface_hierarchy!(IWMReaderPlaylistBurn, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderPlaylistBurn, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderPlaylistBurn { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6223,7 +6223,7 @@ impl IWMReaderStreamClock { (::windows::core::Vtable::vtable(self).KillTimer)(::windows::core::Vtable::as_raw(self), dwtimerid).ok() } } -::windows::core::interface_hierarchy!(IWMReaderStreamClock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderStreamClock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderStreamClock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6266,7 +6266,7 @@ impl IWMReaderTimecode { (::windows::core::Vtable::vtable(self).GetTimecodeRangeBounds)(::windows::core::Vtable::as_raw(self), wstreamnum, wrangenum, pstarttimecode, pendtimecode).ok() } } -::windows::core::interface_hierarchy!(IWMReaderTimecode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderTimecode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderTimecode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6307,7 +6307,7 @@ impl IWMReaderTypeNegotiation { (::windows::core::Vtable::vtable(self).TryOutputProps)(::windows::core::Vtable::as_raw(self), dwoutputnum, poutput.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMReaderTypeNegotiation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMReaderTypeNegotiation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMReaderTypeNegotiation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6353,7 +6353,7 @@ impl IWMRegisterCallback { (::windows::core::Vtable::vtable(self).Unadvise)(::windows::core::Vtable::as_raw(self), pcallback.into().abi(), pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMRegisterCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMRegisterCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMRegisterCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6452,7 +6452,7 @@ impl IWMRegisteredDevice { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMRegisteredDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMRegisteredDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMRegisteredDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6522,7 +6522,7 @@ impl IWMSBufferAllocator { (::windows::core::Vtable::vtable(self).AllocatePageSizeBuffer)(::windows::core::Vtable::as_raw(self), dwmaxbuffersize, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMSBufferAllocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMSBufferAllocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMSBufferAllocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6613,7 +6613,7 @@ impl IWMSInternalAdminNetSource { (::windows::core::Vtable::vtable(self).IsUsingIE)(::windows::core::Vtable::as_raw(self), dwproxycontext, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMSInternalAdminNetSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMSInternalAdminNetSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMSInternalAdminNetSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6703,7 +6703,7 @@ impl IWMSInternalAdminNetSource2 { (::windows::core::Vtable::vtable(self).FindProxyForURLEx)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrprotocol), ::core::mem::transmute_copy(bstrhost), ::core::mem::transmute_copy(bstrurl), pfproxyenabled, ::core::mem::transmute(pbstrproxyserver), pdwproxyport, pdwproxycontext).ok() } } -::windows::core::interface_hierarchy!(IWMSInternalAdminNetSource2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMSInternalAdminNetSource2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMSInternalAdminNetSource2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6824,7 +6824,7 @@ impl IWMSInternalAdminNetSource3 { (::windows::core::Vtable::vtable(self).GetCredentialsEx2)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrrealm), ::core::mem::transmute_copy(bstrurl), fproxy.into(), fcleartextauthentication.into(), pdwurlpolicy, ::core::mem::transmute(pbstrname), ::core::mem::transmute(pbstrpassword), pfconfirmedgood).ok() } } -::windows::core::interface_hierarchy!(IWMSInternalAdminNetSource3, ::windows::core::IUnknown, IWMSInternalAdminNetSource2); +::windows::imp::interface_hierarchy!(IWMSInternalAdminNetSource3, ::windows::core::IUnknown, IWMSInternalAdminNetSource2); impl ::core::cmp::PartialEq for IWMSInternalAdminNetSource3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6930,7 +6930,7 @@ impl IWMSecureChannel { (::windows::core::Vtable::vtable(self).WMSC_SetSharedData)(::windows::core::Vtable::as_raw(self), dwcertindex, pbshareddata).ok() } } -::windows::core::interface_hierarchy!(IWMSecureChannel, ::windows::core::IUnknown, IWMAuthorizer); +::windows::imp::interface_hierarchy!(IWMSecureChannel, ::windows::core::IUnknown, IWMAuthorizer); impl ::core::cmp::PartialEq for IWMSecureChannel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6980,7 +6980,7 @@ impl IWMStatusCallback { (::windows::core::Vtable::vtable(self).OnStatus)(::windows::core::Vtable::as_raw(self), status, hr, dwtype, pvalue, pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMStatusCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMStatusCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMStatusCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7057,7 +7057,7 @@ impl IWMStreamConfig { (::windows::core::Vtable::vtable(self).SetBufferWindow)(::windows::core::Vtable::as_raw(self), msbufferwindow).ok() } } -::windows::core::interface_hierarchy!(IWMStreamConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMStreamConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMStreamConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7164,7 +7164,7 @@ impl IWMStreamConfig2 { (::windows::core::Vtable::vtable(self).RemoveAllDataUnitExtensions)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMStreamConfig2, ::windows::core::IUnknown, IWMStreamConfig); +::windows::imp::interface_hierarchy!(IWMStreamConfig2, ::windows::core::IUnknown, IWMStreamConfig); impl ::core::cmp::PartialEq for IWMStreamConfig2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7275,7 +7275,7 @@ impl IWMStreamConfig3 { (::windows::core::Vtable::vtable(self).SetLanguage)(::windows::core::Vtable::as_raw(self), pwszlanguagestring.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMStreamConfig3, ::windows::core::IUnknown, IWMStreamConfig, IWMStreamConfig2); +::windows::imp::interface_hierarchy!(IWMStreamConfig3, ::windows::core::IUnknown, IWMStreamConfig, IWMStreamConfig2); impl ::core::cmp::PartialEq for IWMStreamConfig3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7319,7 +7319,7 @@ impl IWMStreamList { (::windows::core::Vtable::vtable(self).RemoveStream)(::windows::core::Vtable::as_raw(self), wstreamnum).ok() } } -::windows::core::interface_hierarchy!(IWMStreamList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMStreamList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMStreamList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7365,7 +7365,7 @@ impl IWMStreamPrioritization { (::windows::core::Vtable::vtable(self).SetPriorityRecords)(::windows::core::Vtable::as_raw(self), precordarray, crecords).ok() } } -::windows::core::interface_hierarchy!(IWMStreamPrioritization, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMStreamPrioritization, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMStreamPrioritization { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7503,7 +7503,7 @@ impl IWMSyncReader { (::windows::core::Vtable::vtable(self).OpenStream)(::windows::core::Vtable::as_raw(self), pstream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMSyncReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMSyncReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMSyncReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7690,7 +7690,7 @@ impl IWMSyncReader2 { (::windows::core::Vtable::vtable(self).GetAllocateForStream)(::windows::core::Vtable::as_raw(self), dwsreamnum, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMSyncReader2, ::windows::core::IUnknown, IWMSyncReader); +::windows::imp::interface_hierarchy!(IWMSyncReader2, ::windows::core::IUnknown, IWMSyncReader); impl ::core::cmp::PartialEq for IWMSyncReader2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7757,7 +7757,7 @@ impl IWMVideoMediaProps { (::windows::core::Vtable::vtable(self).SetQuality)(::windows::core::Vtable::as_raw(self), dwquality).ok() } } -::windows::core::interface_hierarchy!(IWMVideoMediaProps, ::windows::core::IUnknown, IWMMediaProps); +::windows::imp::interface_hierarchy!(IWMVideoMediaProps, ::windows::core::IUnknown, IWMMediaProps); impl ::core::cmp::PartialEq for IWMVideoMediaProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7801,7 +7801,7 @@ impl IWMWatermarkInfo { (::windows::core::Vtable::vtable(self).GetWatermarkEntry)(::windows::core::Vtable::as_raw(self), wmettype, dwentrynum, pentry).ok() } } -::windows::core::interface_hierarchy!(IWMWatermarkInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMWatermarkInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMWatermarkInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7892,7 +7892,7 @@ impl IWMWriter { (::windows::core::Vtable::vtable(self).Flush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7992,7 +7992,7 @@ impl IWMWriterAdvanced { (::windows::core::Vtable::vtable(self).GetSyncTolerance)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMWriterAdvanced, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMWriterAdvanced, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMWriterAdvanced { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8108,7 +8108,7 @@ impl IWMWriterAdvanced2 { (::windows::core::Vtable::vtable(self).SetInputSetting)(::windows::core::Vtable::as_raw(self), dwinputnum, pszname.into().abi(), r#type, ::core::mem::transmute(pvalue.as_ptr()), pvalue.len() as _).ok() } } -::windows::core::interface_hierarchy!(IWMWriterAdvanced2, ::windows::core::IUnknown, IWMWriterAdvanced); +::windows::imp::interface_hierarchy!(IWMWriterAdvanced2, ::windows::core::IUnknown, IWMWriterAdvanced); impl ::core::cmp::PartialEq for IWMWriterAdvanced2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8215,7 +8215,7 @@ impl IWMWriterAdvanced3 { (::windows::core::Vtable::vtable(self).SetNonBlocking)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMWriterAdvanced3, ::windows::core::IUnknown, IWMWriterAdvanced, IWMWriterAdvanced2); +::windows::imp::interface_hierarchy!(IWMWriterAdvanced3, ::windows::core::IUnknown, IWMWriterAdvanced, IWMWriterAdvanced2); impl ::core::cmp::PartialEq for IWMWriterAdvanced3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8281,7 +8281,7 @@ impl IWMWriterFileSink { (::windows::core::Vtable::vtable(self).Open)(::windows::core::Vtable::as_raw(self), pwszfilename.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWMWriterFileSink, ::windows::core::IUnknown, IWMWriterSink); +::windows::imp::interface_hierarchy!(IWMWriterFileSink, ::windows::core::IUnknown, IWMWriterSink); impl ::core::cmp::PartialEq for IWMWriterFileSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8375,7 +8375,7 @@ impl IWMWriterFileSink2 { (::windows::core::Vtable::vtable(self).IsClosed)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMWriterFileSink2, ::windows::core::IUnknown, IWMWriterSink, IWMWriterFileSink); +::windows::imp::interface_hierarchy!(IWMWriterFileSink2, ::windows::core::IUnknown, IWMWriterSink, IWMWriterFileSink); impl ::core::cmp::PartialEq for IWMWriterFileSink2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8528,7 +8528,7 @@ impl IWMWriterFileSink3 { (::windows::core::Vtable::vtable(self).CompleteOperations)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMWriterFileSink3, ::windows::core::IUnknown, IWMWriterSink, IWMWriterFileSink, IWMWriterFileSink2); +::windows::imp::interface_hierarchy!(IWMWriterFileSink3, ::windows::core::IUnknown, IWMWriterSink, IWMWriterFileSink, IWMWriterFileSink2); impl ::core::cmp::PartialEq for IWMWriterFileSink3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8635,7 +8635,7 @@ impl IWMWriterNetworkSink { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMWriterNetworkSink, ::windows::core::IUnknown, IWMWriterSink); +::windows::imp::interface_hierarchy!(IWMWriterNetworkSink, ::windows::core::IUnknown, IWMWriterSink); impl ::core::cmp::PartialEq for IWMWriterNetworkSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8728,7 +8728,7 @@ impl IWMWriterPostView { (::windows::core::Vtable::vtable(self).GetAllocateForPostView)(::windows::core::Vtable::as_raw(self), wstreamnumber, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWMWriterPostView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMWriterPostView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMWriterPostView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8794,7 +8794,7 @@ impl IWMWriterPostViewCallback { (::windows::core::Vtable::vtable(self).AllocateForPostView)(::windows::core::Vtable::as_raw(self), wstreamnum, cbbuffer, ::core::mem::transmute(ppbuffer), pvcontext).ok() } } -::windows::core::interface_hierarchy!(IWMWriterPostViewCallback, ::windows::core::IUnknown, IWMStatusCallback); +::windows::imp::interface_hierarchy!(IWMWriterPostViewCallback, ::windows::core::IUnknown, IWMStatusCallback); impl ::core::cmp::PartialEq for IWMWriterPostViewCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8848,7 +8848,7 @@ impl IWMWriterPreprocess { (::windows::core::Vtable::vtable(self).EndPreprocessingPass)(::windows::core::Vtable::as_raw(self), dwinputnum, dwflags).ok() } } -::windows::core::interface_hierarchy!(IWMWriterPreprocess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMWriterPreprocess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMWriterPreprocess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8927,7 +8927,7 @@ impl IWMWriterPushSink { (::windows::core::Vtable::vtable(self).EndSession)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMWriterPushSink, ::windows::core::IUnknown, IWMWriterSink); +::windows::imp::interface_hierarchy!(IWMWriterPushSink, ::windows::core::IUnknown, IWMWriterSink); impl ::core::cmp::PartialEq for IWMWriterPushSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8991,7 +8991,7 @@ impl IWMWriterSink { (::windows::core::Vtable::vtable(self).OnEndWriting)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWMWriterSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWMWriterSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWMWriterSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/mod.rs index b0a18336dd..8996235669 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/mod.rs @@ -27,43 +27,43 @@ pub mod WindowsMediaFormat; #[doc = "*Required features: `\"Win32_Media\"`*"] #[inline] pub unsafe fn timeBeginPeriod(uperiod: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn timeBeginPeriod ( uperiod : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn timeBeginPeriod ( uperiod : u32 ) -> u32 ); timeBeginPeriod(uperiod) } #[doc = "*Required features: `\"Win32_Media\"`*"] #[inline] pub unsafe fn timeEndPeriod(uperiod: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn timeEndPeriod ( uperiod : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn timeEndPeriod ( uperiod : u32 ) -> u32 ); timeEndPeriod(uperiod) } #[doc = "*Required features: `\"Win32_Media\"`*"] #[inline] pub unsafe fn timeGetDevCaps(ptc: *mut TIMECAPS, cbtc: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn timeGetDevCaps ( ptc : *mut TIMECAPS , cbtc : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn timeGetDevCaps ( ptc : *mut TIMECAPS , cbtc : u32 ) -> u32 ); timeGetDevCaps(ptc, cbtc) } #[doc = "*Required features: `\"Win32_Media\"`*"] #[inline] pub unsafe fn timeGetSystemTime(pmmt: *mut MMTIME, cbmmt: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn timeGetSystemTime ( pmmt : *mut MMTIME , cbmmt : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn timeGetSystemTime ( pmmt : *mut MMTIME , cbmmt : u32 ) -> u32 ); timeGetSystemTime(pmmt, cbmmt) } #[doc = "*Required features: `\"Win32_Media\"`*"] #[inline] pub unsafe fn timeGetTime() -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn timeGetTime ( ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn timeGetTime ( ) -> u32 ); timeGetTime() } #[doc = "*Required features: `\"Win32_Media\"`*"] #[inline] pub unsafe fn timeKillEvent(utimerid: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn timeKillEvent ( utimerid : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn timeKillEvent ( utimerid : u32 ) -> u32 ); timeKillEvent(utimerid) } #[doc = "*Required features: `\"Win32_Media\"`*"] #[inline] pub unsafe fn timeSetEvent(udelay: u32, uresolution: u32, fptc: LPTIMECALLBACK, dwuser: usize, fuevent: u32) -> u32 { - ::windows::core::link ! ( "winmm.dll""system" fn timeSetEvent ( udelay : u32 , uresolution : u32 , fptc : LPTIMECALLBACK , dwuser : usize , fuevent : u32 ) -> u32 ); + ::windows::imp::link ! ( "winmm.dll""system" fn timeSetEvent ( udelay : u32 , uresolution : u32 , fptc : LPTIMECALLBACK , dwuser : usize , fuevent : u32 ) -> u32 ); timeSetEvent(udelay, uresolution, fptc, dwuser, fuevent) } #[doc = "*Required features: `\"Win32_Media\"`*"] @@ -96,7 +96,7 @@ impl IReferenceClock { (::windows::core::Vtable::vtable(self).Unadvise)(::windows::core::Vtable::as_raw(self), dwadvisecookie).ok() } } -::windows::core::interface_hierarchy!(IReferenceClock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IReferenceClock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IReferenceClock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -164,7 +164,7 @@ impl IReferenceClock2 { (::windows::core::Vtable::vtable(self).base__.Unadvise)(::windows::core::Vtable::as_raw(self), dwadvisecookie).ok() } } -::windows::core::interface_hierarchy!(IReferenceClock2, ::windows::core::IUnknown, IReferenceClock); +::windows::imp::interface_hierarchy!(IReferenceClock2, ::windows::core::IUnknown, IReferenceClock); impl ::core::cmp::PartialEq for IReferenceClock2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -204,7 +204,7 @@ impl IReferenceClockTimerControl { (::windows::core::Vtable::vtable(self).GetDefaultTimerResolution)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IReferenceClockTimerControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IReferenceClockTimerControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IReferenceClockTimerControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs index 148099f1e6..e9386066d7 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAddFilterV4 ( serveripaddress : :: windows::core::PCWSTR , addfilterinfo : *const DHCP_FILTER_ADD_INFO , forceflag : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAddFilterV4 ( serveripaddress : :: windows::core::PCWSTR , addfilterinfo : *const DHCP_FILTER_ADD_INFO , forceflag : super::super::Foundation:: BOOL ) -> u32 ); DhcpAddFilterV4(serveripaddress.into().abi(), addfilterinfo, forceflag.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -15,13 +15,13 @@ pub unsafe fn DhcpAddSecurityGroup(pserver: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAddSecurityGroup ( pserver : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAddSecurityGroup ( pserver : :: windows::core::PCWSTR ) -> u32 ); DhcpAddSecurityGroup(pserver.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpAddServer(flags: u32, idinfo: *mut ::core::ffi::c_void, newserver: *mut DHCPDS_SERVER, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAddServer ( flags : u32 , idinfo : *mut ::core::ffi::c_void , newserver : *mut DHCPDS_SERVER , callbackfn : *mut ::core::ffi::c_void , callbackdata : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAddServer ( flags : u32 , idinfo : *mut ::core::ffi::c_void , newserver : *mut DHCPDS_SERVER , callbackfn : *mut ::core::ffi::c_void , callbackdata : *mut ::core::ffi::c_void ) -> u32 ); DhcpAddServer(flags, idinfo, newserver, callbackfn, callbackdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -30,7 +30,7 @@ pub unsafe fn DhcpAddSubnetElement(serveripaddress: P0, subnetaddress: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAddSubnetElement ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAddSubnetElement ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA ) -> u32 ); DhcpAddSubnetElement(serveripaddress.into().abi(), subnetaddress, addelementinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -39,7 +39,7 @@ pub unsafe fn DhcpAddSubnetElementV4(serveripaddress: P0, subnetaddress: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAddSubnetElementV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V4 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAddSubnetElementV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V4 ) -> u32 ); DhcpAddSubnetElementV4(serveripaddress.into().abi(), subnetaddress, addelementinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -48,7 +48,7 @@ pub unsafe fn DhcpAddSubnetElementV5(serveripaddress: P0, subnetaddress: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAddSubnetElementV5 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V5 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAddSubnetElementV5 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , addelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V5 ) -> u32 ); DhcpAddSubnetElementV5(serveripaddress.into().abi(), subnetaddress, addelementinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn DhcpAddSubnetElementV6(serveripaddress: P0, subnetaddress: DHC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAddSubnetElementV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , addelementinfo : *mut DHCP_SUBNET_ELEMENT_DATA_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAddSubnetElementV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , addelementinfo : *mut DHCP_SUBNET_ELEMENT_DATA_V6 ) -> u32 ); DhcpAddSubnetElementV6(serveripaddress.into().abi(), ::core::mem::transmute(subnetaddress), addelementinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -66,7 +66,7 @@ pub unsafe fn DhcpAuditLogGetParams(serveripaddress: P0, flags: u32, auditlo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAuditLogGetParams ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , auditlogdir : *mut :: windows::core::PWSTR , diskcheckinterval : *mut u32 , maxlogfilessize : *mut u32 , minspaceondisk : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAuditLogGetParams ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , auditlogdir : *mut :: windows::core::PWSTR , diskcheckinterval : *mut u32 , maxlogfilessize : *mut u32 , minspaceondisk : *mut u32 ) -> u32 ); DhcpAuditLogGetParams(serveripaddress.into().abi(), flags, auditlogdir, diskcheckinterval, maxlogfilessize, minspaceondisk) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -76,19 +76,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpAuditLogSetParams ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , auditlogdir : :: windows::core::PCWSTR , diskcheckinterval : u32 , maxlogfilessize : u32 , minspaceondisk : u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpAuditLogSetParams ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , auditlogdir : :: windows::core::PCWSTR , diskcheckinterval : u32 , maxlogfilessize : u32 , minspaceondisk : u32 ) -> u32 ); DhcpAuditLogSetParams(serveripaddress.into().abi(), flags, auditlogdir.into().abi(), diskcheckinterval, maxlogfilessize, minspaceondisk) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpCApiCleanup() { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn DhcpCApiCleanup ( ) -> ( ) ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn DhcpCApiCleanup ( ) -> ( ) ); DhcpCApiCleanup() } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpCApiInitialize(version: *mut u32) -> u32 { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn DhcpCApiInitialize ( version : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn DhcpCApiInitialize ( version : *mut u32 ) -> u32 ); DhcpCApiInitialize(version) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -98,7 +98,7 @@ pub unsafe fn DhcpCreateClass(serveripaddress: P0, reservedmustbezero: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClass ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classinfo : *mut DHCP_CLASS_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClass ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classinfo : *mut DHCP_CLASS_INFO ) -> u32 ); DhcpCreateClass(serveripaddress.into().abi(), reservedmustbezero, classinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -108,7 +108,7 @@ pub unsafe fn DhcpCreateClassV6(serveripaddress: P0, reservedmustbezero: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClassV6 ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classinfo : *mut DHCP_CLASS_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClassV6 ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classinfo : *mut DHCP_CLASS_INFO_V6 ) -> u32 ); DhcpCreateClassV6(serveripaddress.into().abi(), reservedmustbezero, classinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn DhcpCreateClientInfo(serveripaddress: P0, clientinfo: *const D where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO ) -> u32 ); DhcpCreateClientInfo(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -126,7 +126,7 @@ pub unsafe fn DhcpCreateClientInfoV4(serveripaddress: P0, clientinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClientInfoV4 ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_V4 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClientInfoV4 ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_V4 ) -> u32 ); DhcpCreateClientInfoV4(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -136,7 +136,7 @@ pub unsafe fn DhcpCreateClientInfoVQ(serveripaddress: P0, clientinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClientInfoVQ ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_VQ ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateClientInfoVQ ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_VQ ) -> u32 ); DhcpCreateClientInfoVQ(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -145,7 +145,7 @@ pub unsafe fn DhcpCreateOption(serveripaddress: P0, optionid: u32, optioninf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateOption ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , optioninfo : *const DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateOption ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , optioninfo : *const DHCP_OPTION ) -> u32 ); DhcpCreateOption(serveripaddress.into().abi(), optionid, optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -156,7 +156,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateOptionV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateOptionV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut DHCP_OPTION ) -> u32 ); DhcpCreateOptionV5(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -167,7 +167,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateOptionV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateOptionV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut DHCP_OPTION ) -> u32 ); DhcpCreateOptionV6(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -176,7 +176,7 @@ pub unsafe fn DhcpCreateSubnet(serveripaddress: P0, subnetaddress: u32, subn where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateSubnet ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *const DHCP_SUBNET_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateSubnet ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *const DHCP_SUBNET_INFO ) -> u32 ); DhcpCreateSubnet(serveripaddress.into().abi(), subnetaddress, subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -185,7 +185,7 @@ pub unsafe fn DhcpCreateSubnetV6(serveripaddress: P0, subnetaddress: DHCP_IP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateSubnetV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , subnetinfo : *mut DHCP_SUBNET_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateSubnetV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , subnetinfo : *mut DHCP_SUBNET_INFO_V6 ) -> u32 ); DhcpCreateSubnetV6(serveripaddress.into().abi(), ::core::mem::transmute(subnetaddress), subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -194,13 +194,13 @@ pub unsafe fn DhcpCreateSubnetVQ(serveripaddress: P0, subnetaddress: u32, su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpCreateSubnetVQ ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *const DHCP_SUBNET_INFO_VQ ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpCreateSubnetVQ ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *const DHCP_SUBNET_INFO_VQ ) -> u32 ); DhcpCreateSubnetVQ(serveripaddress.into().abi(), subnetaddress, subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpDeRegisterParamChange(flags: u32, reserved: *mut ::core::ffi::c_void, event: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn DhcpDeRegisterParamChange ( flags : u32 , reserved : *mut ::core::ffi::c_void , event : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn DhcpDeRegisterParamChange ( flags : u32 , reserved : *mut ::core::ffi::c_void , event : *mut ::core::ffi::c_void ) -> u32 ); DhcpDeRegisterParamChange(flags, reserved, event) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -210,7 +210,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteClass ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteClass ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classname : :: windows::core::PCWSTR ) -> u32 ); DhcpDeleteClass(serveripaddress.into().abi(), reservedmustbezero, classname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -220,7 +220,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteClassV6 ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteClassV6 ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classname : :: windows::core::PCWSTR ) -> u32 ); DhcpDeleteClassV6(serveripaddress.into().abi(), reservedmustbezero, classname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -229,7 +229,7 @@ pub unsafe fn DhcpDeleteClientInfo(serveripaddress: P0, clientinfo: *const D where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_SEARCH_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_SEARCH_INFO ) -> u32 ); DhcpDeleteClientInfo(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -238,7 +238,7 @@ pub unsafe fn DhcpDeleteClientInfoV6(serveripaddress: P0, clientinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteClientInfoV6 ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_SEARCH_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteClientInfoV6 ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_SEARCH_INFO_V6 ) -> u32 ); DhcpDeleteClientInfoV6(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -248,13 +248,13 @@ pub unsafe fn DhcpDeleteFilterV4(serveripaddress: P0, deletefilterinfo: *con where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteFilterV4 ( serveripaddress : :: windows::core::PCWSTR , deletefilterinfo : *const DHCP_ADDR_PATTERN ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteFilterV4 ( serveripaddress : :: windows::core::PCWSTR , deletefilterinfo : *const DHCP_ADDR_PATTERN ) -> u32 ); DhcpDeleteFilterV4(serveripaddress.into().abi(), deletefilterinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpDeleteServer(flags: u32, idinfo: *mut ::core::ffi::c_void, newserver: *mut DHCPDS_SERVER, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteServer ( flags : u32 , idinfo : *mut ::core::ffi::c_void , newserver : *mut DHCPDS_SERVER , callbackfn : *mut ::core::ffi::c_void , callbackdata : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteServer ( flags : u32 , idinfo : *mut ::core::ffi::c_void , newserver : *mut DHCPDS_SERVER , callbackfn : *mut ::core::ffi::c_void , callbackdata : *mut ::core::ffi::c_void ) -> u32 ); DhcpDeleteServer(flags, idinfo, newserver, callbackfn, callbackdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -263,7 +263,7 @@ pub unsafe fn DhcpDeleteSubnet(serveripaddress: P0, subnetaddress: u32, forc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteSubnet ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , forceflag : DHCP_FORCE_FLAG ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteSubnet ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , forceflag : DHCP_FORCE_FLAG ) -> u32 ); DhcpDeleteSubnet(serveripaddress.into().abi(), subnetaddress, forceflag) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -272,7 +272,7 @@ pub unsafe fn DhcpDeleteSubnetV6(serveripaddress: P0, subnetaddress: DHCP_IP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteSubnetV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , forceflag : DHCP_FORCE_FLAG ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteSubnetV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , forceflag : DHCP_FORCE_FLAG ) -> u32 ); DhcpDeleteSubnetV6(serveripaddress.into().abi(), ::core::mem::transmute(subnetaddress), forceflag) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -282,19 +282,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteSuperScopeV4 ( serveripaddress : :: windows::core::PCWSTR , superscopename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDeleteSuperScopeV4 ( serveripaddress : :: windows::core::PCWSTR , superscopename : :: windows::core::PCWSTR ) -> u32 ); DhcpDeleteSuperScopeV4(serveripaddress.into().abi(), superscopename.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpDsCleanup() { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDsCleanup ( ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDsCleanup ( ) -> ( ) ); DhcpDsCleanup() } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpDsInit() -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpDsInit ( ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpDsInit ( ) -> u32 ); DhcpDsInit() } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -304,7 +304,7 @@ pub unsafe fn DhcpEnumClasses(serveripaddress: P0, reservedmustbezero: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumClasses ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , classinfoarray : *mut *mut DHCP_CLASS_INFO_ARRAY , nread : *mut u32 , ntotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumClasses ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , classinfoarray : *mut *mut DHCP_CLASS_INFO_ARRAY , nread : *mut u32 , ntotal : *mut u32 ) -> u32 ); DhcpEnumClasses(serveripaddress.into().abi(), reservedmustbezero, resumehandle, preferredmaximum, classinfoarray, nread, ntotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -314,7 +314,7 @@ pub unsafe fn DhcpEnumClassesV6(serveripaddress: P0, reservedmustbezero: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumClassesV6 ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , classinfoarray : *mut *mut DHCP_CLASS_INFO_ARRAY_V6 , nread : *mut u32 , ntotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumClassesV6 ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , classinfoarray : *mut *mut DHCP_CLASS_INFO_ARRAY_V6 , nread : *mut u32 , ntotal : *mut u32 ) -> u32 ); DhcpEnumClassesV6(serveripaddress.into().abi(), reservedmustbezero, resumehandle, preferredmaximum, classinfoarray, nread, ntotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -324,7 +324,7 @@ pub unsafe fn DhcpEnumFilterV4(serveripaddress: P0, resumehandle: *mut DHCP_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumFilterV4 ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut DHCP_ADDR_PATTERN , preferredmaximum : u32 , listtype : DHCP_FILTER_LIST_TYPE , enumfilterinfo : *mut *mut DHCP_FILTER_ENUM_INFO , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumFilterV4 ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut DHCP_ADDR_PATTERN , preferredmaximum : u32 , listtype : DHCP_FILTER_LIST_TYPE , enumfilterinfo : *mut *mut DHCP_FILTER_ENUM_INFO , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpEnumFilterV4(serveripaddress.into().abi(), resumehandle, preferredmaximum, listtype, enumfilterinfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -333,7 +333,7 @@ pub unsafe fn DhcpEnumOptionValues(serveripaddress: P0, scopeinfo: *const DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionValues ( serveripaddress : :: windows::core::PCWSTR , scopeinfo : *const DHCP_OPTION_SCOPE_INFO , resumehandle : *mut u32 , preferredmaximum : u32 , optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionValues ( serveripaddress : :: windows::core::PCWSTR , scopeinfo : *const DHCP_OPTION_SCOPE_INFO , resumehandle : *mut u32 , preferredmaximum : u32 , optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); DhcpEnumOptionValues(serveripaddress.into().abi(), scopeinfo, resumehandle, preferredmaximum, optionvalues, optionsread, optionstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -344,7 +344,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionValuesV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , resumehandle : *mut u32 , preferredmaximum : u32 , optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionValuesV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , resumehandle : *mut u32 , preferredmaximum : u32 , optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); DhcpEnumOptionValuesV5(serveripaddress.into().abi(), flags, classname.into().abi(), vendorname.into().abi(), scopeinfo, resumehandle, preferredmaximum, optionvalues, optionsread, optionstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -355,7 +355,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionValuesV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , resumehandle : *mut u32 , preferredmaximum : u32 , optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionValuesV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , resumehandle : *mut u32 , preferredmaximum : u32 , optionvalues : *mut *mut DHCP_OPTION_VALUE_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); DhcpEnumOptionValuesV6(serveripaddress.into().abi(), flags, classname.into().abi(), vendorname.into().abi(), scopeinfo, resumehandle, preferredmaximum, optionvalues, optionsread, optionstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -364,7 +364,7 @@ pub unsafe fn DhcpEnumOptions(serveripaddress: P0, resumehandle: *mut u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptions ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , options : *mut *mut DHCP_OPTION_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptions ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , options : *mut *mut DHCP_OPTION_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); DhcpEnumOptions(serveripaddress.into().abi(), resumehandle, preferredmaximum, options, optionsread, optionstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -375,7 +375,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionsV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , options : *mut *mut DHCP_OPTION_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionsV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , options : *mut *mut DHCP_OPTION_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); DhcpEnumOptionsV5(serveripaddress.into().abi(), flags, classname.into().abi(), vendorname.into().abi(), resumehandle, preferredmaximum, options, optionsread, optionstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -386,13 +386,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionsV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , options : *mut *mut DHCP_OPTION_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumOptionsV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , options : *mut *mut DHCP_OPTION_ARRAY , optionsread : *mut u32 , optionstotal : *mut u32 ) -> u32 ); DhcpEnumOptionsV6(serveripaddress.into().abi(), flags, classname.into().abi(), vendorname.into().abi(), resumehandle, preferredmaximum, options, optionsread, optionstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpEnumServers(flags: u32, idinfo: *mut ::core::ffi::c_void, servers: *mut *mut DHCPDS_SERVERS, callbackfn: *mut ::core::ffi::c_void, callbackdata: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumServers ( flags : u32 , idinfo : *mut ::core::ffi::c_void , servers : *mut *mut DHCPDS_SERVERS , callbackfn : *mut ::core::ffi::c_void , callbackdata : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumServers ( flags : u32 , idinfo : *mut ::core::ffi::c_void , servers : *mut *mut DHCPDS_SERVERS , callbackfn : *mut ::core::ffi::c_void , callbackdata : *mut ::core::ffi::c_void ) -> u32 ); DhcpEnumServers(flags, idinfo, servers, callbackfn, callbackdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -401,7 +401,7 @@ pub unsafe fn DhcpEnumSubnetClients(serveripaddress: P0, subnetaddress: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClients ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClients ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetClients(serveripaddress.into().abi(), subnetaddress, resumehandle, preferredmaximum, clientinfo, clientsread, clientstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -411,7 +411,7 @@ pub unsafe fn DhcpEnumSubnetClientsFilterStatusInfo(serveripaddress: P0, sub where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsFilterStatusInfo ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsFilterStatusInfo ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_FILTER_STATUS_INFO_ARRAY , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetClientsFilterStatusInfo(serveripaddress.into().abi(), subnetaddress, resumehandle, preferredmaximum, clientinfo, clientsread, clientstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -420,7 +420,7 @@ pub unsafe fn DhcpEnumSubnetClientsV4(serveripaddress: P0, subnetaddress: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V4 , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V4 , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetClientsV4(serveripaddress.into().abi(), subnetaddress, resumehandle, preferredmaximum, clientinfo, clientsread, clientstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -429,7 +429,7 @@ pub unsafe fn DhcpEnumSubnetClientsV5(serveripaddress: P0, subnetaddress: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsV5 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V5 , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsV5 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V5 , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetClientsV5(serveripaddress.into().abi(), subnetaddress, resumehandle, preferredmaximum, clientinfo, clientsread, clientstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -438,7 +438,7 @@ pub unsafe fn DhcpEnumSubnetClientsV6(serveripaddress: P0, subnetaddress: DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , resumehandle : *mut DHCP_IPV6_ADDRESS , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V6 , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , resumehandle : *mut DHCP_IPV6_ADDRESS , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_V6 , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetClientsV6(serveripaddress.into().abi(), ::core::mem::transmute(subnetaddress), resumehandle, preferredmaximum, clientinfo, clientsread, clientstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -448,7 +448,7 @@ pub unsafe fn DhcpEnumSubnetClientsVQ(serveripaddress: P0, subnetaddress: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsVQ ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_VQ , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetClientsVQ ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_ARRAY_VQ , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetClientsVQ(serveripaddress.into().abi(), subnetaddress, resumehandle, preferredmaximum, clientinfo, clientsread, clientstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -457,7 +457,7 @@ pub unsafe fn DhcpEnumSubnetElements(serveripaddress: P0, subnetaddress: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetElements ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , enumelementtype : DHCP_SUBNET_ELEMENT_TYPE , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetElements ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , enumelementtype : DHCP_SUBNET_ELEMENT_TYPE , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetElements(serveripaddress.into().abi(), subnetaddress, enumelementtype, resumehandle, preferredmaximum, enumelementinfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -466,7 +466,7 @@ pub unsafe fn DhcpEnumSubnetElementsV4(serveripaddress: P0, subnetaddress: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetElementsV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , enumelementtype : DHCP_SUBNET_ELEMENT_TYPE , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetElementsV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , enumelementtype : DHCP_SUBNET_ELEMENT_TYPE , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetElementsV4(serveripaddress.into().abi(), subnetaddress, enumelementtype, resumehandle, preferredmaximum, enumelementinfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -475,7 +475,7 @@ pub unsafe fn DhcpEnumSubnetElementsV5(serveripaddress: P0, subnetaddress: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetElementsV5 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , enumelementtype : DHCP_SUBNET_ELEMENT_TYPE , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetElementsV5 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , enumelementtype : DHCP_SUBNET_ELEMENT_TYPE , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V5 , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetElementsV5(serveripaddress.into().abi(), subnetaddress, enumelementtype, resumehandle, preferredmaximum, enumelementinfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -484,7 +484,7 @@ pub unsafe fn DhcpEnumSubnetElementsV6(serveripaddress: P0, subnetaddress: D where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetElementsV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , enumelementtype : DHCP_SUBNET_ELEMENT_TYPE_V6 , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetElementsV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , enumelementtype : DHCP_SUBNET_ELEMENT_TYPE_V6 , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_SUBNET_ELEMENT_INFO_ARRAY_V6 , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetElementsV6(serveripaddress.into().abi(), ::core::mem::transmute(subnetaddress), enumelementtype, resumehandle, preferredmaximum, enumelementinfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -493,7 +493,7 @@ pub unsafe fn DhcpEnumSubnets(serveripaddress: P0, resumehandle: *mut u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnets ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , enuminfo : *mut *mut DHCP_IP_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnets ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , enuminfo : *mut *mut DHCP_IP_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpEnumSubnets(serveripaddress.into().abi(), resumehandle, preferredmaximum, enuminfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -502,7 +502,7 @@ pub unsafe fn DhcpEnumSubnetsV6(serveripaddress: P0, resumehandle: *mut u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetsV6 ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , enuminfo : *mut *mut DHCPV6_IP_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpEnumSubnetsV6 ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , enuminfo : *mut *mut DHCPV6_IP_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpEnumSubnetsV6(serveripaddress.into().abi(), resumehandle, preferredmaximum, enuminfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -512,7 +512,7 @@ pub unsafe fn DhcpGetAllOptionValues(serveripaddress: P0, flags: u32, scopei where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetAllOptionValues ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , values : *mut *mut DHCP_ALL_OPTION_VALUES ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetAllOptionValues ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , values : *mut *mut DHCP_ALL_OPTION_VALUES ) -> u32 ); DhcpGetAllOptionValues(serveripaddress.into().abi(), flags, scopeinfo, values) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -522,7 +522,7 @@ pub unsafe fn DhcpGetAllOptionValuesV6(serveripaddress: P0, flags: u32, scop where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetAllOptionValuesV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , values : *mut *mut DHCP_ALL_OPTION_VALUES ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetAllOptionValuesV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , values : *mut *mut DHCP_ALL_OPTION_VALUES ) -> u32 ); DhcpGetAllOptionValuesV6(serveripaddress.into().abi(), flags, scopeinfo, values) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -531,7 +531,7 @@ pub unsafe fn DhcpGetAllOptions(serveripaddress: P0, flags: u32, optionstruc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetAllOptions ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionstruct : *mut *mut DHCP_ALL_OPTIONS ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetAllOptions ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionstruct : *mut *mut DHCP_ALL_OPTIONS ) -> u32 ); DhcpGetAllOptions(serveripaddress.into().abi(), flags, optionstruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -540,7 +540,7 @@ pub unsafe fn DhcpGetAllOptionsV6(serveripaddress: P0, flags: u32, optionstr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetAllOptionsV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionstruct : *mut *mut DHCP_ALL_OPTIONS ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetAllOptionsV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionstruct : *mut *mut DHCP_ALL_OPTIONS ) -> u32 ); DhcpGetAllOptionsV6(serveripaddress.into().abi(), flags, optionstruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -550,7 +550,7 @@ pub unsafe fn DhcpGetClassInfo(serveripaddress: P0, reservedmustbezero: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetClassInfo ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , partialclassinfo : *mut DHCP_CLASS_INFO , filledclassinfo : *mut *mut DHCP_CLASS_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetClassInfo ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , partialclassinfo : *mut DHCP_CLASS_INFO , filledclassinfo : *mut *mut DHCP_CLASS_INFO ) -> u32 ); DhcpGetClassInfo(serveripaddress.into().abi(), reservedmustbezero, partialclassinfo, filledclassinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -559,7 +559,7 @@ pub unsafe fn DhcpGetClientInfo(serveripaddress: P0, searchinfo: *const DHCP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientInfo ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientInfo ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO ) -> u32 ); DhcpGetClientInfo(serveripaddress.into().abi(), searchinfo, clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -568,7 +568,7 @@ pub unsafe fn DhcpGetClientInfoV4(serveripaddress: P0, searchinfo: *const DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientInfoV4 ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO_V4 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientInfoV4 ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO_V4 ) -> u32 ); DhcpGetClientInfoV4(serveripaddress.into().abi(), searchinfo, clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -577,7 +577,7 @@ pub unsafe fn DhcpGetClientInfoV6(serveripaddress: P0, searchinfo: *const DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientInfoV6 ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO_V6 , clientinfo : *mut *mut DHCP_CLIENT_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientInfoV6 ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO_V6 , clientinfo : *mut *mut DHCP_CLIENT_INFO_V6 ) -> u32 ); DhcpGetClientInfoV6(serveripaddress.into().abi(), searchinfo, clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -587,7 +587,7 @@ pub unsafe fn DhcpGetClientInfoVQ(serveripaddress: P0, searchinfo: *const DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientInfoVQ ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO_VQ ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientInfoVQ ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO_VQ ) -> u32 ); DhcpGetClientInfoVQ(serveripaddress.into().abi(), searchinfo, clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -596,7 +596,7 @@ pub unsafe fn DhcpGetClientOptions(serveripaddress: P0, clientipaddress: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientOptions ( serveripaddress : :: windows::core::PCWSTR , clientipaddress : u32 , clientsubnetmask : u32 , clientoptions : *mut *mut DHCP_OPTION_LIST ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetClientOptions ( serveripaddress : :: windows::core::PCWSTR , clientipaddress : u32 , clientsubnetmask : u32 , clientoptions : *mut *mut DHCP_OPTION_LIST ) -> u32 ); DhcpGetClientOptions(serveripaddress.into().abi(), clientipaddress, clientsubnetmask, clientoptions) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -606,7 +606,7 @@ pub unsafe fn DhcpGetFilterV4(serveripaddress: P0, globalfilterinfo: *mut DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetFilterV4 ( serveripaddress : :: windows::core::PCWSTR , globalfilterinfo : *mut DHCP_FILTER_GLOBAL_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetFilterV4 ( serveripaddress : :: windows::core::PCWSTR , globalfilterinfo : *mut DHCP_FILTER_GLOBAL_INFO ) -> u32 ); DhcpGetFilterV4(serveripaddress.into().abi(), globalfilterinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -615,7 +615,7 @@ pub unsafe fn DhcpGetMibInfo(serveripaddress: P0, mibinfo: *mut *mut DHCP_MI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetMibInfo ( serveripaddress : :: windows::core::PCWSTR , mibinfo : *mut *mut DHCP_MIB_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetMibInfo ( serveripaddress : :: windows::core::PCWSTR , mibinfo : *mut *mut DHCP_MIB_INFO ) -> u32 ); DhcpGetMibInfo(serveripaddress.into().abi(), mibinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -624,7 +624,7 @@ pub unsafe fn DhcpGetMibInfoV5(serveripaddress: P0, mibinfo: *mut *mut DHCP_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetMibInfoV5 ( serveripaddress : :: windows::core::PCWSTR , mibinfo : *mut *mut DHCP_MIB_INFO_V5 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetMibInfoV5 ( serveripaddress : :: windows::core::PCWSTR , mibinfo : *mut *mut DHCP_MIB_INFO_V5 ) -> u32 ); DhcpGetMibInfoV5(serveripaddress.into().abi(), mibinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -633,7 +633,7 @@ pub unsafe fn DhcpGetMibInfoV6(serveripaddress: P0, mibinfo: *mut *mut DHCP_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetMibInfoV6 ( serveripaddress : :: windows::core::PCWSTR , mibinfo : *mut *mut DHCP_MIB_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetMibInfoV6 ( serveripaddress : :: windows::core::PCWSTR , mibinfo : *mut *mut DHCP_MIB_INFO_V6 ) -> u32 ); DhcpGetMibInfoV6(serveripaddress.into().abi(), mibinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -642,7 +642,7 @@ pub unsafe fn DhcpGetOptionInfo(serveripaddress: P0, optionid: u32, optionin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionInfo ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , optioninfo : *mut *mut DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionInfo ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , optioninfo : *mut *mut DHCP_OPTION ) -> u32 ); DhcpGetOptionInfo(serveripaddress.into().abi(), optionid, optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -653,7 +653,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionInfoV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut *mut DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionInfoV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut *mut DHCP_OPTION ) -> u32 ); DhcpGetOptionInfoV5(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -664,7 +664,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionInfoV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut *mut DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionInfoV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut *mut DHCP_OPTION ) -> u32 ); DhcpGetOptionInfoV6(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -673,7 +673,7 @@ pub unsafe fn DhcpGetOptionValue(serveripaddress: P0, optionid: u32, scopein where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionValue ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , scopeinfo : *const DHCP_OPTION_SCOPE_INFO , optionvalue : *mut *mut DHCP_OPTION_VALUE ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionValue ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , scopeinfo : *const DHCP_OPTION_SCOPE_INFO , optionvalue : *mut *mut DHCP_OPTION_VALUE ) -> u32 ); DhcpGetOptionValue(serveripaddress.into().abi(), optionid, scopeinfo, optionvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -684,7 +684,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionValueV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalue : *mut *mut DHCP_OPTION_VALUE ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionValueV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalue : *mut *mut DHCP_OPTION_VALUE ) -> u32 ); DhcpGetOptionValueV5(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), scopeinfo, optionvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -695,7 +695,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionValueV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , optionvalue : *mut *mut DHCP_OPTION_VALUE ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetOptionValueV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , optionvalue : *mut *mut DHCP_OPTION_VALUE ) -> u32 ); DhcpGetOptionValueV6(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), scopeinfo, optionvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -704,7 +704,7 @@ pub unsafe fn DhcpGetOriginalSubnetMask(sadaptername: P0, dwsubnetmask: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn DhcpGetOriginalSubnetMask ( sadaptername : :: windows::core::PCWSTR , dwsubnetmask : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn DhcpGetOriginalSubnetMask ( sadaptername : :: windows::core::PCWSTR , dwsubnetmask : *mut u32 ) -> u32 ); DhcpGetOriginalSubnetMask(sadaptername.into().abi(), dwsubnetmask) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -714,7 +714,7 @@ pub unsafe fn DhcpGetServerBindingInfo(serveripaddress: P0, flags: u32, bind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetServerBindingInfo ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , bindelementsinfo : *mut *mut DHCP_BIND_ELEMENT_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetServerBindingInfo ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , bindelementsinfo : *mut *mut DHCP_BIND_ELEMENT_ARRAY ) -> u32 ); DhcpGetServerBindingInfo(serveripaddress.into().abi(), flags, bindelementsinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -724,7 +724,7 @@ pub unsafe fn DhcpGetServerBindingInfoV6(serveripaddress: P0, flags: u32, bi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetServerBindingInfoV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , bindelementsinfo : *mut *mut DHCPV6_BIND_ELEMENT_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetServerBindingInfoV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , bindelementsinfo : *mut *mut DHCPV6_BIND_ELEMENT_ARRAY ) -> u32 ); DhcpGetServerBindingInfoV6(serveripaddress.into().abi(), flags, bindelementsinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -733,7 +733,7 @@ pub unsafe fn DhcpGetServerSpecificStrings(serveripaddress: P0, serverspecif where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetServerSpecificStrings ( serveripaddress : :: windows::core::PCWSTR , serverspecificstrings : *mut *mut DHCP_SERVER_SPECIFIC_STRINGS ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetServerSpecificStrings ( serveripaddress : :: windows::core::PCWSTR , serverspecificstrings : *mut *mut DHCP_SERVER_SPECIFIC_STRINGS ) -> u32 ); DhcpGetServerSpecificStrings(serveripaddress.into().abi(), serverspecificstrings) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -742,7 +742,7 @@ pub unsafe fn DhcpGetSubnetDelayOffer(serveripaddress: P0, subnetaddress: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetSubnetDelayOffer ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , timedelayinmilliseconds : *mut u16 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetSubnetDelayOffer ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , timedelayinmilliseconds : *mut u16 ) -> u32 ); DhcpGetSubnetDelayOffer(serveripaddress.into().abi(), subnetaddress, timedelayinmilliseconds) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -751,7 +751,7 @@ pub unsafe fn DhcpGetSubnetInfo(serveripaddress: P0, subnetaddress: u32, sub where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetSubnetInfo ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *mut *mut DHCP_SUBNET_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetSubnetInfo ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *mut *mut DHCP_SUBNET_INFO ) -> u32 ); DhcpGetSubnetInfo(serveripaddress.into().abi(), subnetaddress, subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -760,7 +760,7 @@ pub unsafe fn DhcpGetSubnetInfoV6(serveripaddress: P0, subnetaddress: DHCP_I where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetSubnetInfoV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , subnetinfo : *mut *mut DHCP_SUBNET_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetSubnetInfoV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , subnetinfo : *mut *mut DHCP_SUBNET_INFO_V6 ) -> u32 ); DhcpGetSubnetInfoV6(serveripaddress.into().abi(), ::core::mem::transmute(subnetaddress), subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -769,7 +769,7 @@ pub unsafe fn DhcpGetSubnetInfoVQ(serveripaddress: P0, subnetaddress: u32, s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetSubnetInfoVQ ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *mut *mut DHCP_SUBNET_INFO_VQ ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetSubnetInfoVQ ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *mut *mut DHCP_SUBNET_INFO_VQ ) -> u32 ); DhcpGetSubnetInfoVQ(serveripaddress.into().abi(), subnetaddress, subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -778,13 +778,13 @@ pub unsafe fn DhcpGetSuperScopeInfoV4(serveripaddress: P0, superscopetable: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetSuperScopeInfoV4 ( serveripaddress : :: windows::core::PCWSTR , superscopetable : *mut *mut DHCP_SUPER_SCOPE_TABLE ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetSuperScopeInfoV4 ( serveripaddress : :: windows::core::PCWSTR , superscopetable : *mut *mut DHCP_SUPER_SCOPE_TABLE ) -> u32 ); DhcpGetSuperScopeInfoV4(serveripaddress.into().abi(), superscopetable) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpGetThreadOptions(pflags: *mut u32, reserved: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetThreadOptions ( pflags : *mut u32 , reserved : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetThreadOptions ( pflags : *mut u32 , reserved : *mut ::core::ffi::c_void ) -> u32 ); DhcpGetThreadOptions(pflags, reserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -793,7 +793,7 @@ pub unsafe fn DhcpGetVersion(serveripaddress: P0, majorversion: *mut u32, mi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpGetVersion ( serveripaddress : :: windows::core::PCWSTR , majorversion : *mut u32 , minorversion : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpGetVersion ( serveripaddress : :: windows::core::PCWSTR , majorversion : *mut u32 , minorversion : *mut u32 ) -> u32 ); DhcpGetVersion(serveripaddress.into().abi(), majorversion, minorversion) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -803,21 +803,21 @@ pub unsafe fn DhcpHlprAddV4PolicyCondition(policy: *mut DHCP_POLICY, parente where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprAddV4PolicyCondition ( policy : *mut DHCP_POLICY , parentexpr : u32 , r#type : DHCP_POL_ATTR_TYPE , optionid : u32 , suboptionid : u32 , vendorname : :: windows::core::PCWSTR , operator : DHCP_POL_COMPARATOR , value : *const u8 , valuelength : u32 , conditionindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprAddV4PolicyCondition ( policy : *mut DHCP_POLICY , parentexpr : u32 , r#type : DHCP_POL_ATTR_TYPE , optionid : u32 , suboptionid : u32 , vendorname : :: windows::core::PCWSTR , operator : DHCP_POL_COMPARATOR , value : *const u8 , valuelength : u32 , conditionindex : *mut u32 ) -> u32 ); DhcpHlprAddV4PolicyCondition(policy, parentexpr, r#type, optionid, suboptionid, vendorname.into().abi(), operator, ::core::mem::transmute(value.as_ptr()), value.len() as _, conditionindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprAddV4PolicyExpr(policy: *mut DHCP_POLICY, parentexpr: u32, operator: DHCP_POL_LOGIC_OPER, exprindex: *mut u32) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprAddV4PolicyExpr ( policy : *mut DHCP_POLICY , parentexpr : u32 , operator : DHCP_POL_LOGIC_OPER , exprindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprAddV4PolicyExpr ( policy : *mut DHCP_POLICY , parentexpr : u32 , operator : DHCP_POL_LOGIC_OPER , exprindex : *mut u32 ) -> u32 ); DhcpHlprAddV4PolicyExpr(policy, parentexpr, operator, exprindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprAddV4PolicyRange(policy: *mut DHCP_POLICY, range: *const DHCP_IP_RANGE) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprAddV4PolicyRange ( policy : *mut DHCP_POLICY , range : *const DHCP_IP_RANGE ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprAddV4PolicyRange ( policy : *mut DHCP_POLICY , range : *const DHCP_IP_RANGE ) -> u32 ); DhcpHlprAddV4PolicyRange(policy, range) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -830,7 +830,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprCreateV4Policy ( policyname : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnet : u32 , processingorder : u32 , rootoperator : DHCP_POL_LOGIC_OPER , description : :: windows::core::PCWSTR , enabled : super::super::Foundation:: BOOL , policy : *mut *mut DHCP_POLICY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprCreateV4Policy ( policyname : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnet : u32 , processingorder : u32 , rootoperator : DHCP_POL_LOGIC_OPER , description : :: windows::core::PCWSTR , enabled : super::super::Foundation:: BOOL , policy : *mut *mut DHCP_POLICY ) -> u32 ); DhcpHlprCreateV4Policy(policyname.into().abi(), fglobalpolicy.into(), subnet, processingorder, rootoperator, description.into().abi(), enabled.into(), policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -843,88 +843,88 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprCreateV4PolicyEx ( policyname : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnet : u32 , processingorder : u32 , rootoperator : DHCP_POL_LOGIC_OPER , description : :: windows::core::PCWSTR , enabled : super::super::Foundation:: BOOL , policy : *mut *mut DHCP_POLICY_EX ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprCreateV4PolicyEx ( policyname : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnet : u32 , processingorder : u32 , rootoperator : DHCP_POL_LOGIC_OPER , description : :: windows::core::PCWSTR , enabled : super::super::Foundation:: BOOL , policy : *mut *mut DHCP_POLICY_EX ) -> u32 ); DhcpHlprCreateV4PolicyEx(policyname.into().abi(), fglobalpolicy.into(), subnet, processingorder, rootoperator, description.into().abi(), enabled.into(), policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpHlprFindV4DhcpProperty(propertyarray: *const DHCP_PROPERTY_ARRAY, id: DHCP_PROPERTY_ID, r#type: DHCP_PROPERTY_TYPE) -> *mut DHCP_PROPERTY { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFindV4DhcpProperty ( propertyarray : *const DHCP_PROPERTY_ARRAY , id : DHCP_PROPERTY_ID , r#type : DHCP_PROPERTY_TYPE ) -> *mut DHCP_PROPERTY ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFindV4DhcpProperty ( propertyarray : *const DHCP_PROPERTY_ARRAY , id : DHCP_PROPERTY_ID , r#type : DHCP_PROPERTY_TYPE ) -> *mut DHCP_PROPERTY ); DhcpHlprFindV4DhcpProperty(propertyarray, id, r#type) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpHlprFreeV4DhcpProperty(property: *mut DHCP_PROPERTY) { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4DhcpProperty ( property : *mut DHCP_PROPERTY ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4DhcpProperty ( property : *mut DHCP_PROPERTY ) -> ( ) ); DhcpHlprFreeV4DhcpProperty(property) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpHlprFreeV4DhcpPropertyArray(propertyarray: *mut DHCP_PROPERTY_ARRAY) { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4DhcpPropertyArray ( propertyarray : *mut DHCP_PROPERTY_ARRAY ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4DhcpPropertyArray ( propertyarray : *mut DHCP_PROPERTY_ARRAY ) -> ( ) ); DhcpHlprFreeV4DhcpPropertyArray(propertyarray) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprFreeV4Policy(policy: *mut DHCP_POLICY) { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4Policy ( policy : *mut DHCP_POLICY ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4Policy ( policy : *mut DHCP_POLICY ) -> ( ) ); DhcpHlprFreeV4Policy(policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprFreeV4PolicyArray(policyarray: *mut DHCP_POLICY_ARRAY) { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4PolicyArray ( policyarray : *mut DHCP_POLICY_ARRAY ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4PolicyArray ( policyarray : *mut DHCP_POLICY_ARRAY ) -> ( ) ); DhcpHlprFreeV4PolicyArray(policyarray) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprFreeV4PolicyEx(policyex: *mut DHCP_POLICY_EX) { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4PolicyEx ( policyex : *mut DHCP_POLICY_EX ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4PolicyEx ( policyex : *mut DHCP_POLICY_EX ) -> ( ) ); DhcpHlprFreeV4PolicyEx(policyex) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprFreeV4PolicyExArray(policyexarray: *mut DHCP_POLICY_EX_ARRAY) { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4PolicyExArray ( policyexarray : *mut DHCP_POLICY_EX_ARRAY ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprFreeV4PolicyExArray ( policyexarray : *mut DHCP_POLICY_EX_ARRAY ) -> ( ) ); DhcpHlprFreeV4PolicyExArray(policyexarray) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprIsV4PolicySingleUC(policy: *const DHCP_POLICY) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprIsV4PolicySingleUC ( policy : *const DHCP_POLICY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprIsV4PolicySingleUC ( policy : *const DHCP_POLICY ) -> super::super::Foundation:: BOOL ); DhcpHlprIsV4PolicySingleUC(policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprIsV4PolicyValid(ppolicy: *const DHCP_POLICY) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprIsV4PolicyValid ( ppolicy : *const DHCP_POLICY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprIsV4PolicyValid ( ppolicy : *const DHCP_POLICY ) -> u32 ); DhcpHlprIsV4PolicyValid(ppolicy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprIsV4PolicyWellFormed(ppolicy: *const DHCP_POLICY) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprIsV4PolicyWellFormed ( ppolicy : *const DHCP_POLICY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprIsV4PolicyWellFormed ( ppolicy : *const DHCP_POLICY ) -> super::super::Foundation:: BOOL ); DhcpHlprIsV4PolicyWellFormed(ppolicy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprModifyV4PolicyExpr(policy: *mut DHCP_POLICY, operator: DHCP_POL_LOGIC_OPER) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprModifyV4PolicyExpr ( policy : *mut DHCP_POLICY , operator : DHCP_POL_LOGIC_OPER ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprModifyV4PolicyExpr ( policy : *mut DHCP_POLICY , operator : DHCP_POL_LOGIC_OPER ) -> u32 ); DhcpHlprModifyV4PolicyExpr(policy, operator) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpHlprResetV4PolicyExpr(policy: *mut DHCP_POLICY) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpHlprResetV4PolicyExpr ( policy : *mut DHCP_POLICY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpHlprResetV4PolicyExpr ( policy : *mut DHCP_POLICY ) -> u32 ); DhcpHlprResetV4PolicyExpr(policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -934,7 +934,7 @@ pub unsafe fn DhcpModifyClass(serveripaddress: P0, reservedmustbezero: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpModifyClass ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classinfo : *mut DHCP_CLASS_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpModifyClass ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classinfo : *mut DHCP_CLASS_INFO ) -> u32 ); DhcpModifyClass(serveripaddress.into().abi(), reservedmustbezero, classinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -944,7 +944,7 @@ pub unsafe fn DhcpModifyClassV6(serveripaddress: P0, reservedmustbezero: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpModifyClassV6 ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classinfo : *mut DHCP_CLASS_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpModifyClassV6 ( serveripaddress : :: windows::core::PCWSTR , reservedmustbezero : u32 , classinfo : *mut DHCP_CLASS_INFO_V6 ) -> u32 ); DhcpModifyClassV6(serveripaddress.into().abi(), reservedmustbezero, classinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -954,13 +954,13 @@ pub unsafe fn DhcpRegisterParamChange(flags: u32, reserved: ::core::option:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn DhcpRegisterParamChange ( flags : u32 , reserved : *const ::core::ffi::c_void , adaptername : :: windows::core::PCWSTR , classid : *mut DHCPCAPI_CLASSID , params : DHCPCAPI_PARAMS_ARRAY , handle : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn DhcpRegisterParamChange ( flags : u32 , reserved : *const ::core::ffi::c_void , adaptername : :: windows::core::PCWSTR , classid : *mut DHCPCAPI_CLASSID , params : DHCPCAPI_PARAMS_ARRAY , handle : *mut ::core::ffi::c_void ) -> u32 ); DhcpRegisterParamChange(flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), adaptername.into().abi(), classid, ::core::mem::transmute(params), handle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpRemoveDNSRegistrations() -> u32 { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn DhcpRemoveDNSRegistrations ( ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn DhcpRemoveDNSRegistrations ( ) -> u32 ); DhcpRemoveDNSRegistrations() } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -969,7 +969,7 @@ pub unsafe fn DhcpRemoveOption(serveripaddress: P0, optionid: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOption ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOption ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 ) -> u32 ); DhcpRemoveOption(serveripaddress.into().abi(), optionid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -980,7 +980,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR ) -> u32 ); DhcpRemoveOptionV5(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -991,7 +991,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR ) -> u32 ); DhcpRemoveOptionV6(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1000,7 +1000,7 @@ pub unsafe fn DhcpRemoveOptionValue(serveripaddress: P0, optionid: u32, scop where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionValue ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , scopeinfo : *const DHCP_OPTION_SCOPE_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionValue ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , scopeinfo : *const DHCP_OPTION_SCOPE_INFO ) -> u32 ); DhcpRemoveOptionValue(serveripaddress.into().abi(), optionid, scopeinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1011,7 +1011,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionValueV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionValueV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO ) -> u32 ); DhcpRemoveOptionValueV5(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), scopeinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1022,7 +1022,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionValueV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveOptionValueV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 ) -> u32 ); DhcpRemoveOptionValueV6(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), scopeinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1031,7 +1031,7 @@ pub unsafe fn DhcpRemoveSubnetElement(serveripaddress: P0, subnetaddress: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveSubnetElement ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA , forceflag : DHCP_FORCE_FLAG ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveSubnetElement ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA , forceflag : DHCP_FORCE_FLAG ) -> u32 ); DhcpRemoveSubnetElement(serveripaddress.into().abi(), subnetaddress, removeelementinfo, forceflag) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1040,7 +1040,7 @@ pub unsafe fn DhcpRemoveSubnetElementV4(serveripaddress: P0, subnetaddress: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveSubnetElementV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V4 , forceflag : DHCP_FORCE_FLAG ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveSubnetElementV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V4 , forceflag : DHCP_FORCE_FLAG ) -> u32 ); DhcpRemoveSubnetElementV4(serveripaddress.into().abi(), subnetaddress, removeelementinfo, forceflag) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1049,7 +1049,7 @@ pub unsafe fn DhcpRemoveSubnetElementV5(serveripaddress: P0, subnetaddress: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveSubnetElementV5 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V5 , forceflag : DHCP_FORCE_FLAG ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveSubnetElementV5 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , removeelementinfo : *const DHCP_SUBNET_ELEMENT_DATA_V5 , forceflag : DHCP_FORCE_FLAG ) -> u32 ); DhcpRemoveSubnetElementV5(serveripaddress.into().abi(), subnetaddress, removeelementinfo, forceflag) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1058,7 +1058,7 @@ pub unsafe fn DhcpRemoveSubnetElementV6(serveripaddress: P0, subnetaddress: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveSubnetElementV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , removeelementinfo : *mut DHCP_SUBNET_ELEMENT_DATA_V6 , forceflag : DHCP_FORCE_FLAG ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRemoveSubnetElementV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , removeelementinfo : *mut DHCP_SUBNET_ELEMENT_DATA_V6 , forceflag : DHCP_FORCE_FLAG ) -> u32 ); DhcpRemoveSubnetElementV6(serveripaddress.into().abi(), ::core::mem::transmute(subnetaddress), removeelementinfo, forceflag) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1069,13 +1069,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn DhcpRequestParams ( flags : u32 , reserved : *mut ::core::ffi::c_void , adaptername : :: windows::core::PCWSTR , classid : *mut DHCPCAPI_CLASSID , sendparams : DHCPCAPI_PARAMS_ARRAY , recdparams : DHCPCAPI_PARAMS_ARRAY , buffer : *mut u8 , psize : *mut u32 , requestidstr : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn DhcpRequestParams ( flags : u32 , reserved : *mut ::core::ffi::c_void , adaptername : :: windows::core::PCWSTR , classid : *mut DHCPCAPI_CLASSID , sendparams : DHCPCAPI_PARAMS_ARRAY , recdparams : DHCPCAPI_PARAMS_ARRAY , buffer : *mut u8 , psize : *mut u32 , requestidstr : :: windows::core::PCWSTR ) -> u32 ); DhcpRequestParams(flags, reserved, adaptername.into().abi(), classid, ::core::mem::transmute(sendparams), ::core::mem::transmute(recdparams), buffer, psize, requestidstr.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpRpcFreeMemory(bufferpointer: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpRpcFreeMemory ( bufferpointer : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpRpcFreeMemory ( bufferpointer : *mut ::core::ffi::c_void ) -> ( ) ); DhcpRpcFreeMemory(bufferpointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1084,14 +1084,14 @@ pub unsafe fn DhcpScanDatabase(serveripaddress: P0, subnetaddress: u32, fixf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpScanDatabase ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , fixflag : u32 , scanlist : *mut *mut DHCP_SCAN_LIST ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpScanDatabase ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , fixflag : u32 , scanlist : *mut *mut DHCP_SCAN_LIST ) -> u32 ); DhcpScanDatabase(serveripaddress.into().abi(), subnetaddress, fixflag, scanlist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DhcpServerAuditlogParamsFree(configinfo: *mut DHCP_SERVER_CONFIG_INFO_VQ) { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerAuditlogParamsFree ( configinfo : *mut DHCP_SERVER_CONFIG_INFO_VQ ) -> ( ) ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerAuditlogParamsFree ( configinfo : *mut DHCP_SERVER_CONFIG_INFO_VQ ) -> ( ) ); DhcpServerAuditlogParamsFree(configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1101,7 +1101,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerBackupDatabase ( serveripaddress : :: windows::core::PCWSTR , path : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerBackupDatabase ( serveripaddress : :: windows::core::PCWSTR , path : :: windows::core::PCWSTR ) -> u32 ); DhcpServerBackupDatabase(serveripaddress.into().abi(), path.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1110,7 +1110,7 @@ pub unsafe fn DhcpServerGetConfig(serveripaddress: P0, configinfo: *mut *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerGetConfig ( serveripaddress : :: windows::core::PCWSTR , configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerGetConfig ( serveripaddress : :: windows::core::PCWSTR , configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO ) -> u32 ); DhcpServerGetConfig(serveripaddress.into().abi(), configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1120,7 +1120,7 @@ pub unsafe fn DhcpServerGetConfigV4(serveripaddress: P0, configinfo: *mut *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerGetConfigV4 ( serveripaddress : :: windows::core::PCWSTR , configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_V4 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerGetConfigV4 ( serveripaddress : :: windows::core::PCWSTR , configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_V4 ) -> u32 ); DhcpServerGetConfigV4(serveripaddress.into().abi(), configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1130,7 +1130,7 @@ pub unsafe fn DhcpServerGetConfigV6(serveripaddress: P0, scopeinfo: *mut DHC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerGetConfigV6 ( serveripaddress : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerGetConfigV6 ( serveripaddress : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_V6 ) -> u32 ); DhcpServerGetConfigV6(serveripaddress.into().abi(), scopeinfo, configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1140,7 +1140,7 @@ pub unsafe fn DhcpServerGetConfigVQ(serveripaddress: P0, configinfo: *mut *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerGetConfigVQ ( serveripaddress : :: windows::core::PCWSTR , configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_VQ ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerGetConfigVQ ( serveripaddress : :: windows::core::PCWSTR , configinfo : *mut *mut DHCP_SERVER_CONFIG_INFO_VQ ) -> u32 ); DhcpServerGetConfigVQ(serveripaddress.into().abi(), configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1150,7 +1150,7 @@ pub unsafe fn DhcpServerQueryAttribute(serveripaddr: P0, dwreserved: u32, dh where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerQueryAttribute ( serveripaddr : :: windows::core::PCWSTR , dwreserved : u32 , dhcpattribid : u32 , pdhcpattrib : *mut *mut DHCP_ATTRIB ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerQueryAttribute ( serveripaddr : :: windows::core::PCWSTR , dwreserved : u32 , dhcpattribid : u32 , pdhcpattrib : *mut *mut DHCP_ATTRIB ) -> u32 ); DhcpServerQueryAttribute(serveripaddr.into().abi(), dwreserved, dhcpattribid, pdhcpattrib) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1160,7 +1160,7 @@ pub unsafe fn DhcpServerQueryAttributes(serveripaddr: P0, dwreserved: u32, d where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerQueryAttributes ( serveripaddr : :: windows::core::PCWSTR , dwreserved : u32 , dwattribcount : u32 , pdhcpattribs : *mut u32 , pdhcpattribarr : *mut *mut DHCP_ATTRIB_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerQueryAttributes ( serveripaddr : :: windows::core::PCWSTR , dwreserved : u32 , dwattribcount : u32 , pdhcpattribs : *mut u32 , pdhcpattribarr : *mut *mut DHCP_ATTRIB_ARRAY ) -> u32 ); DhcpServerQueryAttributes(serveripaddr.into().abi(), dwreserved, dwattribcount, pdhcpattribs, pdhcpattribarr) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1169,7 +1169,7 @@ pub unsafe fn DhcpServerQueryDnsRegCredentials(serveripaddress: P0, uname: & where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerQueryDnsRegCredentials ( serveripaddress : :: windows::core::PCWSTR , unamesize : u32 , uname : :: windows::core::PWSTR , domainsize : u32 , domain : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerQueryDnsRegCredentials ( serveripaddress : :: windows::core::PCWSTR , unamesize : u32 , uname : :: windows::core::PWSTR , domainsize : u32 , domain : :: windows::core::PWSTR ) -> u32 ); DhcpServerQueryDnsRegCredentials(serveripaddress.into().abi(), uname.len() as _, ::core::mem::transmute(uname.as_ptr()), domain.len() as _, ::core::mem::transmute(domain.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1178,7 +1178,7 @@ pub unsafe fn DhcpServerRedoAuthorization(serveripaddr: P0, dwreserved: u32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerRedoAuthorization ( serveripaddr : :: windows::core::PCWSTR , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerRedoAuthorization ( serveripaddr : :: windows::core::PCWSTR , dwreserved : u32 ) -> u32 ); DhcpServerRedoAuthorization(serveripaddr.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1188,7 +1188,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerRestoreDatabase ( serveripaddress : :: windows::core::PCWSTR , path : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerRestoreDatabase ( serveripaddress : :: windows::core::PCWSTR , path : :: windows::core::PCWSTR ) -> u32 ); DhcpServerRestoreDatabase(serveripaddress.into().abi(), path.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1197,7 +1197,7 @@ pub unsafe fn DhcpServerSetConfig(serveripaddress: P0, fieldstoset: u32, con where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetConfig ( serveripaddress : :: windows::core::PCWSTR , fieldstoset : u32 , configinfo : *mut DHCP_SERVER_CONFIG_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetConfig ( serveripaddress : :: windows::core::PCWSTR , fieldstoset : u32 , configinfo : *mut DHCP_SERVER_CONFIG_INFO ) -> u32 ); DhcpServerSetConfig(serveripaddress.into().abi(), fieldstoset, configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1207,7 +1207,7 @@ pub unsafe fn DhcpServerSetConfigV4(serveripaddress: P0, fieldstoset: u32, c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetConfigV4 ( serveripaddress : :: windows::core::PCWSTR , fieldstoset : u32 , configinfo : *mut DHCP_SERVER_CONFIG_INFO_V4 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetConfigV4 ( serveripaddress : :: windows::core::PCWSTR , fieldstoset : u32 , configinfo : *mut DHCP_SERVER_CONFIG_INFO_V4 ) -> u32 ); DhcpServerSetConfigV4(serveripaddress.into().abi(), fieldstoset, configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1217,7 +1217,7 @@ pub unsafe fn DhcpServerSetConfigV6(serveripaddress: P0, scopeinfo: *mut DHC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetConfigV6 ( serveripaddress : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , fieldstoset : u32 , configinfo : *mut DHCP_SERVER_CONFIG_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetConfigV6 ( serveripaddress : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , fieldstoset : u32 , configinfo : *mut DHCP_SERVER_CONFIG_INFO_V6 ) -> u32 ); DhcpServerSetConfigV6(serveripaddress.into().abi(), scopeinfo, fieldstoset, configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1227,7 +1227,7 @@ pub unsafe fn DhcpServerSetConfigVQ(serveripaddress: P0, fieldstoset: u32, c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetConfigVQ ( serveripaddress : :: windows::core::PCWSTR , fieldstoset : u32 , configinfo : *mut DHCP_SERVER_CONFIG_INFO_VQ ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetConfigVQ ( serveripaddress : :: windows::core::PCWSTR , fieldstoset : u32 , configinfo : *mut DHCP_SERVER_CONFIG_INFO_VQ ) -> u32 ); DhcpServerSetConfigVQ(serveripaddress.into().abi(), fieldstoset, configinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1239,7 +1239,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetDnsRegCredentials ( serveripaddress : :: windows::core::PCWSTR , uname : :: windows::core::PCWSTR , domain : :: windows::core::PCWSTR , passwd : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetDnsRegCredentials ( serveripaddress : :: windows::core::PCWSTR , uname : :: windows::core::PCWSTR , domain : :: windows::core::PCWSTR , passwd : :: windows::core::PCWSTR ) -> u32 ); DhcpServerSetDnsRegCredentials(serveripaddress.into().abi(), uname.into().abi(), domain.into().abi(), passwd.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1251,7 +1251,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetDnsRegCredentialsV5 ( serveripaddress : :: windows::core::PCWSTR , uname : :: windows::core::PCWSTR , domain : :: windows::core::PCWSTR , passwd : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpServerSetDnsRegCredentialsV5 ( serveripaddress : :: windows::core::PCWSTR , uname : :: windows::core::PCWSTR , domain : :: windows::core::PCWSTR , passwd : :: windows::core::PCWSTR ) -> u32 ); DhcpServerSetDnsRegCredentialsV5(serveripaddress.into().abi(), uname.into().abi(), domain.into().abi(), passwd.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1260,7 +1260,7 @@ pub unsafe fn DhcpSetClientInfo(serveripaddress: P0, clientinfo: *const DHCP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO ) -> u32 ); DhcpSetClientInfo(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1269,7 +1269,7 @@ pub unsafe fn DhcpSetClientInfoV4(serveripaddress: P0, clientinfo: *const DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetClientInfoV4 ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_V4 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetClientInfoV4 ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_V4 ) -> u32 ); DhcpSetClientInfoV4(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1278,7 +1278,7 @@ pub unsafe fn DhcpSetClientInfoV6(serveripaddress: P0, clientinfo: *const DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetClientInfoV6 ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetClientInfoV6 ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_V6 ) -> u32 ); DhcpSetClientInfoV6(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1288,7 +1288,7 @@ pub unsafe fn DhcpSetClientInfoVQ(serveripaddress: P0, clientinfo: *const DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetClientInfoVQ ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_VQ ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetClientInfoVQ ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_VQ ) -> u32 ); DhcpSetClientInfoVQ(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1298,7 +1298,7 @@ pub unsafe fn DhcpSetFilterV4(serveripaddress: P0, globalfilterinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetFilterV4 ( serveripaddress : :: windows::core::PCWSTR , globalfilterinfo : *const DHCP_FILTER_GLOBAL_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetFilterV4 ( serveripaddress : :: windows::core::PCWSTR , globalfilterinfo : *const DHCP_FILTER_GLOBAL_INFO ) -> u32 ); DhcpSetFilterV4(serveripaddress.into().abi(), globalfilterinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1307,7 +1307,7 @@ pub unsafe fn DhcpSetOptionInfo(serveripaddress: P0, optionid: u32, optionin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionInfo ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , optioninfo : *const DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionInfo ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , optioninfo : *const DHCP_OPTION ) -> u32 ); DhcpSetOptionInfo(serveripaddress.into().abi(), optionid, optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1318,7 +1318,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionInfoV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionInfoV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut DHCP_OPTION ) -> u32 ); DhcpSetOptionInfoV5(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1329,7 +1329,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionInfoV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut DHCP_OPTION ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionInfoV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , optioninfo : *mut DHCP_OPTION ) -> u32 ); DhcpSetOptionInfoV6(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), optioninfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1338,7 +1338,7 @@ pub unsafe fn DhcpSetOptionValue(serveripaddress: P0, optionid: u32, scopein where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValue ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , scopeinfo : *const DHCP_OPTION_SCOPE_INFO , optionvalue : *const DHCP_OPTION_DATA ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValue ( serveripaddress : :: windows::core::PCWSTR , optionid : u32 , scopeinfo : *const DHCP_OPTION_SCOPE_INFO , optionvalue : *const DHCP_OPTION_DATA ) -> u32 ); DhcpSetOptionValue(serveripaddress.into().abi(), optionid, scopeinfo, optionvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1349,7 +1349,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValueV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalue : *mut DHCP_OPTION_DATA ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValueV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalue : *mut DHCP_OPTION_DATA ) -> u32 ); DhcpSetOptionValueV5(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), scopeinfo, optionvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1360,7 +1360,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValueV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , optionvalue : *mut DHCP_OPTION_DATA ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValueV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO6 , optionvalue : *mut DHCP_OPTION_DATA ) -> u32 ); DhcpSetOptionValueV6(serveripaddress.into().abi(), flags, optionid, classname.into().abi(), vendorname.into().abi(), scopeinfo, optionvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1369,7 +1369,7 @@ pub unsafe fn DhcpSetOptionValues(serveripaddress: P0, scopeinfo: *const DHC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValues ( serveripaddress : :: windows::core::PCWSTR , scopeinfo : *const DHCP_OPTION_SCOPE_INFO , optionvalues : *const DHCP_OPTION_VALUE_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValues ( serveripaddress : :: windows::core::PCWSTR , scopeinfo : *const DHCP_OPTION_SCOPE_INFO , optionvalues : *const DHCP_OPTION_VALUE_ARRAY ) -> u32 ); DhcpSetOptionValues(serveripaddress.into().abi(), scopeinfo, optionvalues) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1380,7 +1380,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValuesV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalues : *mut DHCP_OPTION_VALUE_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetOptionValuesV5 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , classname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalues : *mut DHCP_OPTION_VALUE_ARRAY ) -> u32 ); DhcpSetOptionValuesV5(serveripaddress.into().abi(), flags, classname.into().abi(), vendorname.into().abi(), scopeinfo, optionvalues) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1390,7 +1390,7 @@ pub unsafe fn DhcpSetServerBindingInfo(serveripaddress: P0, flags: u32, bind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetServerBindingInfo ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , bindelementinfo : *mut DHCP_BIND_ELEMENT_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetServerBindingInfo ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , bindelementinfo : *mut DHCP_BIND_ELEMENT_ARRAY ) -> u32 ); DhcpSetServerBindingInfo(serveripaddress.into().abi(), flags, bindelementinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1400,7 +1400,7 @@ pub unsafe fn DhcpSetServerBindingInfoV6(serveripaddress: P0, flags: u32, bi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetServerBindingInfoV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , bindelementinfo : *mut DHCPV6_BIND_ELEMENT_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetServerBindingInfoV6 ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , bindelementinfo : *mut DHCPV6_BIND_ELEMENT_ARRAY ) -> u32 ); DhcpSetServerBindingInfoV6(serveripaddress.into().abi(), flags, bindelementinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1409,7 +1409,7 @@ pub unsafe fn DhcpSetSubnetDelayOffer(serveripaddress: P0, subnetaddress: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetSubnetDelayOffer ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , timedelayinmilliseconds : u16 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetSubnetDelayOffer ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , timedelayinmilliseconds : u16 ) -> u32 ); DhcpSetSubnetDelayOffer(serveripaddress.into().abi(), subnetaddress, timedelayinmilliseconds) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1418,7 +1418,7 @@ pub unsafe fn DhcpSetSubnetInfo(serveripaddress: P0, subnetaddress: u32, sub where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetSubnetInfo ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *const DHCP_SUBNET_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetSubnetInfo ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *const DHCP_SUBNET_INFO ) -> u32 ); DhcpSetSubnetInfo(serveripaddress.into().abi(), subnetaddress, subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1427,7 +1427,7 @@ pub unsafe fn DhcpSetSubnetInfoV6(serveripaddress: P0, subnetaddress: DHCP_I where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetSubnetInfoV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , subnetinfo : *mut DHCP_SUBNET_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetSubnetInfoV6 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : DHCP_IPV6_ADDRESS , subnetinfo : *mut DHCP_SUBNET_INFO_V6 ) -> u32 ); DhcpSetSubnetInfoV6(serveripaddress.into().abi(), ::core::mem::transmute(subnetaddress), subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1436,7 +1436,7 @@ pub unsafe fn DhcpSetSubnetInfoVQ(serveripaddress: P0, subnetaddress: u32, s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetSubnetInfoVQ ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *const DHCP_SUBNET_INFO_VQ ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetSubnetInfoVQ ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , subnetinfo : *const DHCP_SUBNET_INFO_VQ ) -> u32 ); DhcpSetSubnetInfoVQ(serveripaddress.into().abi(), subnetaddress, subnetinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1448,13 +1448,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetSuperScopeV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , superscopename : :: windows::core::PCWSTR , changeexisting : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetSuperScopeV4 ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , superscopename : :: windows::core::PCWSTR , changeexisting : super::super::Foundation:: BOOL ) -> u32 ); DhcpSetSuperScopeV4(serveripaddress.into().abi(), subnetaddress, superscopename.into().abi(), changeexisting.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn DhcpSetThreadOptions(flags: u32, reserved: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpSetThreadOptions ( flags : u32 , reserved : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpSetThreadOptions ( flags : u32 , reserved : *mut ::core::ffi::c_void ) -> u32 ); DhcpSetThreadOptions(flags, reserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1464,7 +1464,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn DhcpUndoRequestParams ( flags : u32 , reserved : *const ::core::ffi::c_void , adaptername : :: windows::core::PCWSTR , requestidstr : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn DhcpUndoRequestParams ( flags : u32 , reserved : *const ::core::ffi::c_void , adaptername : :: windows::core::PCWSTR , requestidstr : :: windows::core::PCWSTR ) -> u32 ); DhcpUndoRequestParams(flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), adaptername.into().abi(), requestidstr.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1474,7 +1474,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4AddPolicyRange ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , range : *const DHCP_IP_RANGE ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4AddPolicyRange ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , range : *const DHCP_IP_RANGE ) -> u32 ); DhcpV4AddPolicyRange(serveripaddress.into().abi(), subnetaddress, policyname.into().abi(), range) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1484,7 +1484,7 @@ pub unsafe fn DhcpV4CreateClientInfo(serveripaddress: P0, clientinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4CreateClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_PB ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4CreateClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_PB ) -> u32 ); DhcpV4CreateClientInfo(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1494,7 +1494,7 @@ pub unsafe fn DhcpV4CreateClientInfoEx(serveripaddress: P0, clientinfo: *con where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4CreateClientInfoEx ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_EX ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4CreateClientInfoEx ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_EX ) -> u32 ); DhcpV4CreateClientInfoEx(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1504,7 +1504,7 @@ pub unsafe fn DhcpV4CreatePolicy(serveripaddress: P0, ppolicy: *const DHCP_P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4CreatePolicy ( serveripaddress : :: windows::core::PCWSTR , ppolicy : *const DHCP_POLICY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4CreatePolicy ( serveripaddress : :: windows::core::PCWSTR , ppolicy : *const DHCP_POLICY ) -> u32 ); DhcpV4CreatePolicy(serveripaddress.into().abi(), ppolicy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1514,7 +1514,7 @@ pub unsafe fn DhcpV4CreatePolicyEx(serveripaddress: P0, policyex: *const DHC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4CreatePolicyEx ( serveripaddress : :: windows::core::PCWSTR , policyex : *const DHCP_POLICY_EX ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4CreatePolicyEx ( serveripaddress : :: windows::core::PCWSTR , policyex : *const DHCP_POLICY_EX ) -> u32 ); DhcpV4CreatePolicyEx(serveripaddress.into().abi(), policyex) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1526,7 +1526,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4DeletePolicy ( serveripaddress : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4DeletePolicy ( serveripaddress : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR ) -> u32 ); DhcpV4DeletePolicy(serveripaddress.into().abi(), fglobalpolicy.into(), subnetaddress, policyname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1537,7 +1537,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumPolicies ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , enuminfo : *mut *mut DHCP_POLICY_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumPolicies ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , enuminfo : *mut *mut DHCP_POLICY_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpV4EnumPolicies(serveripaddress.into().abi(), resumehandle, preferredmaximum, fglobalpolicy.into(), subnetaddress, enuminfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1548,7 +1548,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumPoliciesEx ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , globalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , enuminfo : *mut *mut DHCP_POLICY_EX_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumPoliciesEx ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , globalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , enuminfo : *mut *mut DHCP_POLICY_EX_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpV4EnumPoliciesEx(serveripaddress.into().abi(), resumehandle, preferredmaximum, globalpolicy.into(), subnetaddress, enuminfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1558,7 +1558,7 @@ pub unsafe fn DhcpV4EnumSubnetClients(serveripaddress: P0, subnetaddress: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumSubnetClients ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_PB_ARRAY , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumSubnetClients ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_PB_ARRAY , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); DhcpV4EnumSubnetClients(serveripaddress.into().abi(), subnetaddress, resumehandle, preferredmaximum, clientinfo, clientsread, clientstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1568,7 +1568,7 @@ pub unsafe fn DhcpV4EnumSubnetClientsEx(serveripaddress: P0, subnetaddress: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumSubnetClientsEx ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_EX_ARRAY , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumSubnetClientsEx ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , clientinfo : *mut *mut DHCP_CLIENT_INFO_EX_ARRAY , clientsread : *mut u32 , clientstotal : *mut u32 ) -> u32 ); DhcpV4EnumSubnetClientsEx(serveripaddress.into().abi(), subnetaddress, resumehandle, preferredmaximum, clientinfo, clientsread, clientstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1577,7 +1577,7 @@ pub unsafe fn DhcpV4EnumSubnetReservations(serveripaddress: P0, subnetaddres where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumSubnetReservations ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_RESERVATION_INFO_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4EnumSubnetReservations ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , resumehandle : *mut u32 , preferredmaximum : u32 , enumelementinfo : *mut *mut DHCP_RESERVATION_INFO_ARRAY , elementsread : *mut u32 , elementstotal : *mut u32 ) -> u32 ); DhcpV4EnumSubnetReservations(serveripaddress.into().abi(), subnetaddress, resumehandle, preferredmaximum, enumelementinfo, elementsread, elementstotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1586,7 +1586,7 @@ pub unsafe fn DhcpV4FailoverAddScopeToRelationship(serveripaddress: P0, prel where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverAddScopeToRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationship : *const DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverAddScopeToRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationship : *const DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); DhcpV4FailoverAddScopeToRelationship(serveripaddress.into().abi(), prelationship) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1595,7 +1595,7 @@ pub unsafe fn DhcpV4FailoverCreateRelationship(serveripaddress: P0, prelatio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverCreateRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationship : *const DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverCreateRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationship : *const DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); DhcpV4FailoverCreateRelationship(serveripaddress.into().abi(), prelationship) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1605,7 +1605,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverDeleteRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationshipname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverDeleteRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationshipname : :: windows::core::PCWSTR ) -> u32 ); DhcpV4FailoverDeleteRelationship(serveripaddress.into().abi(), prelationshipname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1614,7 +1614,7 @@ pub unsafe fn DhcpV4FailoverDeleteScopeFromRelationship(serveripaddress: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverDeleteScopeFromRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationship : *const DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverDeleteScopeFromRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationship : *const DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); DhcpV4FailoverDeleteScopeFromRelationship(serveripaddress.into().abi(), prelationship) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1623,7 +1623,7 @@ pub unsafe fn DhcpV4FailoverEnumRelationship(serveripaddress: P0, resumehand where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverEnumRelationship ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP_ARRAY , relationshipread : *mut u32 , relationshiptotal : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverEnumRelationship ( serveripaddress : :: windows::core::PCWSTR , resumehandle : *mut u32 , preferredmaximum : u32 , prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP_ARRAY , relationshipread : *mut u32 , relationshiptotal : *mut u32 ) -> u32 ); DhcpV4FailoverEnumRelationship(serveripaddress.into().abi(), resumehandle, preferredmaximum, prelationship, relationshipread, relationshiptotal) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1632,7 +1632,7 @@ pub unsafe fn DhcpV4FailoverGetAddressStatus(serveripaddress: P0, subnetaddr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetAddressStatus ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , pstatus : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetAddressStatus ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , pstatus : *mut u32 ) -> u32 ); DhcpV4FailoverGetAddressStatus(serveripaddress.into().abi(), subnetaddress, pstatus) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1642,7 +1642,7 @@ pub unsafe fn DhcpV4FailoverGetClientInfo(serveripaddress: P0, searchinfo: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetClientInfo ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCPV4_FAILOVER_CLIENT_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetClientInfo ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCPV4_FAILOVER_CLIENT_INFO ) -> u32 ); DhcpV4FailoverGetClientInfo(serveripaddress.into().abi(), searchinfo, clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1652,7 +1652,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationshipname : :: windows::core::PCWSTR , prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetRelationship ( serveripaddress : :: windows::core::PCWSTR , prelationshipname : :: windows::core::PCWSTR , prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); DhcpV4FailoverGetRelationship(serveripaddress.into().abi(), prelationshipname.into().abi(), prelationship) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1661,7 +1661,7 @@ pub unsafe fn DhcpV4FailoverGetScopeRelationship(serveripaddress: P0, scopei where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetScopeRelationship ( serveripaddress : :: windows::core::PCWSTR , scopeid : u32 , prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetScopeRelationship ( serveripaddress : :: windows::core::PCWSTR , scopeid : u32 , prelationship : *mut *mut DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); DhcpV4FailoverGetScopeRelationship(serveripaddress.into().abi(), scopeid, prelationship) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1670,7 +1670,7 @@ pub unsafe fn DhcpV4FailoverGetScopeStatistics(serveripaddress: P0, scopeid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetScopeStatistics ( serveripaddress : :: windows::core::PCWSTR , scopeid : u32 , pstats : *mut *mut DHCP_FAILOVER_STATISTICS ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetScopeStatistics ( serveripaddress : :: windows::core::PCWSTR , scopeid : u32 , pstats : *mut *mut DHCP_FAILOVER_STATISTICS ) -> u32 ); DhcpV4FailoverGetScopeStatistics(serveripaddress.into().abi(), scopeid, pstats) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1679,7 +1679,7 @@ pub unsafe fn DhcpV4FailoverGetSystemTime(serveripaddress: P0, ptime: *mut u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetSystemTime ( serveripaddress : :: windows::core::PCWSTR , ptime : *mut u32 , pmaxalloweddeltatime : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverGetSystemTime ( serveripaddress : :: windows::core::PCWSTR , ptime : *mut u32 , pmaxalloweddeltatime : *mut u32 ) -> u32 ); DhcpV4FailoverGetSystemTime(serveripaddress.into().abi(), ptime, pmaxalloweddeltatime) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1688,7 +1688,7 @@ pub unsafe fn DhcpV4FailoverSetRelationship(serveripaddress: P0, flags: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverSetRelationship ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , prelationship : *const DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverSetRelationship ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , prelationship : *const DHCP_FAILOVER_RELATIONSHIP ) -> u32 ); DhcpV4FailoverSetRelationship(serveripaddress.into().abi(), flags, prelationship) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1698,7 +1698,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverTriggerAddrAllocation ( serveripaddress : :: windows::core::PCWSTR , pfailrelname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4FailoverTriggerAddrAllocation ( serveripaddress : :: windows::core::PCWSTR , pfailrelname : :: windows::core::PCWSTR ) -> u32 ); DhcpV4FailoverTriggerAddrAllocation(serveripaddress.into().abi(), pfailrelname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1708,7 +1708,7 @@ pub unsafe fn DhcpV4GetAllOptionValues(serveripaddress: P0, flags: u32, scop where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetAllOptionValues ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , values : *mut *mut DHCP_ALL_OPTION_VALUES_PB ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetAllOptionValues ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , values : *mut *mut DHCP_ALL_OPTION_VALUES_PB ) -> u32 ); DhcpV4GetAllOptionValues(serveripaddress.into().abi(), flags, scopeinfo, values) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1718,7 +1718,7 @@ pub unsafe fn DhcpV4GetClientInfo(serveripaddress: P0, searchinfo: *const DH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetClientInfo ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO_PB ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetClientInfo ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO_PB ) -> u32 ); DhcpV4GetClientInfo(serveripaddress.into().abi(), searchinfo, clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1728,7 +1728,7 @@ pub unsafe fn DhcpV4GetClientInfoEx(serveripaddress: P0, searchinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetClientInfoEx ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO_EX ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetClientInfoEx ( serveripaddress : :: windows::core::PCWSTR , searchinfo : *const DHCP_SEARCH_INFO , clientinfo : *mut *mut DHCP_CLIENT_INFO_EX ) -> u32 ); DhcpV4GetClientInfoEx(serveripaddress.into().abi(), searchinfo, clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1737,7 +1737,7 @@ pub unsafe fn DhcpV4GetFreeIPAddress(serveripaddress: P0, scopeid: u32, star where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetFreeIPAddress ( serveripaddress : :: windows::core::PCWSTR , scopeid : u32 , startip : u32 , endip : u32 , numfreeaddrreq : u32 , ipaddrlist : *mut *mut DHCP_IP_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetFreeIPAddress ( serveripaddress : :: windows::core::PCWSTR , scopeid : u32 , startip : u32 , endip : u32 , numfreeaddrreq : u32 , ipaddrlist : *mut *mut DHCP_IP_ARRAY ) -> u32 ); DhcpV4GetFreeIPAddress(serveripaddress.into().abi(), scopeid, startip, endip, numfreeaddrreq, ipaddrlist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1748,7 +1748,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetOptionValue ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , policyname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalue : *mut *mut DHCP_OPTION_VALUE ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetOptionValue ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , policyname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalue : *mut *mut DHCP_OPTION_VALUE ) -> u32 ); DhcpV4GetOptionValue(serveripaddress.into().abi(), flags, optionid, policyname.into().abi(), vendorname.into().abi(), scopeinfo, optionvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1760,7 +1760,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetPolicy ( serveripaddress : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , policy : *mut *mut DHCP_POLICY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetPolicy ( serveripaddress : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , policy : *mut *mut DHCP_POLICY ) -> u32 ); DhcpV4GetPolicy(serveripaddress.into().abi(), fglobalpolicy.into(), subnetaddress, policyname.into().abi(), policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1772,7 +1772,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetPolicyEx ( serveripaddress : :: windows::core::PCWSTR , globalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , policy : *mut *mut DHCP_POLICY_EX ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4GetPolicyEx ( serveripaddress : :: windows::core::PCWSTR , globalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , policy : *mut *mut DHCP_POLICY_EX ) -> u32 ); DhcpV4GetPolicyEx(serveripaddress.into().abi(), globalpolicy.into(), subnetaddress, policyname.into().abi(), policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1783,7 +1783,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4QueryPolicyEnforcement ( serveripaddress : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , enabled : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4QueryPolicyEnforcement ( serveripaddress : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , enabled : *mut super::super::Foundation:: BOOL ) -> u32 ); DhcpV4QueryPolicyEnforcement(serveripaddress.into().abi(), fglobalpolicy.into(), subnetaddress, enabled) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1794,7 +1794,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4RemoveOptionValue ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , policyname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4RemoveOptionValue ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , policyname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO ) -> u32 ); DhcpV4RemoveOptionValue(serveripaddress.into().abi(), flags, optionid, policyname.into().abi(), vendorname.into().abi(), scopeinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1804,7 +1804,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4RemovePolicyRange ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , range : *const DHCP_IP_RANGE ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4RemovePolicyRange ( serveripaddress : :: windows::core::PCWSTR , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , range : *const DHCP_IP_RANGE ) -> u32 ); DhcpV4RemovePolicyRange(serveripaddress.into().abi(), subnetaddress, policyname.into().abi(), range) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1815,7 +1815,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetOptionValue ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , policyname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalue : *mut DHCP_OPTION_DATA ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetOptionValue ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , optionid : u32 , policyname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalue : *mut DHCP_OPTION_DATA ) -> u32 ); DhcpV4SetOptionValue(serveripaddress.into().abi(), flags, optionid, policyname.into().abi(), vendorname.into().abi(), scopeinfo, optionvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1826,7 +1826,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetOptionValues ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , policyname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalues : *mut DHCP_OPTION_VALUE_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetOptionValues ( serveripaddress : :: windows::core::PCWSTR , flags : u32 , policyname : :: windows::core::PCWSTR , vendorname : :: windows::core::PCWSTR , scopeinfo : *mut DHCP_OPTION_SCOPE_INFO , optionvalues : *mut DHCP_OPTION_VALUE_ARRAY ) -> u32 ); DhcpV4SetOptionValues(serveripaddress.into().abi(), flags, policyname.into().abi(), vendorname.into().abi(), scopeinfo, optionvalues) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1838,7 +1838,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetPolicy ( serveripaddress : :: windows::core::PCWSTR , fieldsmodified : u32 , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , policy : *const DHCP_POLICY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetPolicy ( serveripaddress : :: windows::core::PCWSTR , fieldsmodified : u32 , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , policy : *const DHCP_POLICY ) -> u32 ); DhcpV4SetPolicy(serveripaddress.into().abi(), fieldsmodified, fglobalpolicy.into(), subnetaddress, policyname.into().abi(), policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1850,7 +1850,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetPolicyEnforcement ( serveripaddress : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , enable : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetPolicyEnforcement ( serveripaddress : :: windows::core::PCWSTR , fglobalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , enable : super::super::Foundation:: BOOL ) -> u32 ); DhcpV4SetPolicyEnforcement(serveripaddress.into().abi(), fglobalpolicy.into(), subnetaddress, enable.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1862,7 +1862,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetPolicyEx ( serveripaddress : :: windows::core::PCWSTR , fieldsmodified : u32 , globalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , policy : *const DHCP_POLICY_EX ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV4SetPolicyEx ( serveripaddress : :: windows::core::PCWSTR , fieldsmodified : u32 , globalpolicy : super::super::Foundation:: BOOL , subnetaddress : u32 , policyname : :: windows::core::PCWSTR , policy : *const DHCP_POLICY_EX ) -> u32 ); DhcpV4SetPolicyEx(serveripaddress.into().abi(), fieldsmodified, globalpolicy.into(), subnetaddress, policyname.into().abi(), policy) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1871,7 +1871,7 @@ pub unsafe fn DhcpV6CreateClientInfo(serveripaddress: P0, clientinfo: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV6CreateClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_V6 ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV6CreateClientInfo ( serveripaddress : :: windows::core::PCWSTR , clientinfo : *const DHCP_CLIENT_INFO_V6 ) -> u32 ); DhcpV6CreateClientInfo(serveripaddress.into().abi(), clientinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1880,7 +1880,7 @@ pub unsafe fn DhcpV6GetFreeIPAddress(serveripaddress: P0, scopeid: DHCP_IPV6 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV6GetFreeIPAddress ( serveripaddress : :: windows::core::PCWSTR , scopeid : DHCP_IPV6_ADDRESS , startip : DHCP_IPV6_ADDRESS , endip : DHCP_IPV6_ADDRESS , numfreeaddrreq : u32 , ipaddrlist : *mut *mut DHCPV6_IP_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV6GetFreeIPAddress ( serveripaddress : :: windows::core::PCWSTR , scopeid : DHCP_IPV6_ADDRESS , startip : DHCP_IPV6_ADDRESS , endip : DHCP_IPV6_ADDRESS , numfreeaddrreq : u32 , ipaddrlist : *mut *mut DHCPV6_IP_ARRAY ) -> u32 ); DhcpV6GetFreeIPAddress(serveripaddress.into().abi(), ::core::mem::transmute(scopeid), ::core::mem::transmute(startip), ::core::mem::transmute(endip), numfreeaddrreq, ipaddrlist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1889,7 +1889,7 @@ pub unsafe fn DhcpV6GetStatelessStatistics(serveripaddress: P0, statelesssta where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV6GetStatelessStatistics ( serveripaddress : :: windows::core::PCWSTR , statelessstats : *mut *mut DHCPV6_STATELESS_STATS ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV6GetStatelessStatistics ( serveripaddress : :: windows::core::PCWSTR , statelessstats : *mut *mut DHCPV6_STATELESS_STATS ) -> u32 ); DhcpV6GetStatelessStatistics(serveripaddress.into().abi(), statelessstats) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1900,7 +1900,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV6GetStatelessStoreParams ( serveripaddress : :: windows::core::PCWSTR , fserverlevel : super::super::Foundation:: BOOL , subnetaddress : DHCP_IPV6_ADDRESS , params : *mut *mut DHCPV6_STATELESS_PARAMS ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV6GetStatelessStoreParams ( serveripaddress : :: windows::core::PCWSTR , fserverlevel : super::super::Foundation:: BOOL , subnetaddress : DHCP_IPV6_ADDRESS , params : *mut *mut DHCPV6_STATELESS_PARAMS ) -> u32 ); DhcpV6GetStatelessStoreParams(serveripaddress.into().abi(), fserverlevel.into(), ::core::mem::transmute(subnetaddress), params) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1911,19 +1911,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpsapi.dll""system" fn DhcpV6SetStatelessStoreParams ( serveripaddress : :: windows::core::PCWSTR , fserverlevel : super::super::Foundation:: BOOL , subnetaddress : DHCP_IPV6_ADDRESS , fieldmodified : u32 , params : *const DHCPV6_STATELESS_PARAMS ) -> u32 ); + ::windows::imp::link ! ( "dhcpsapi.dll""system" fn DhcpV6SetStatelessStoreParams ( serveripaddress : :: windows::core::PCWSTR , fserverlevel : super::super::Foundation:: BOOL , subnetaddress : DHCP_IPV6_ADDRESS , fieldmodified : u32 , params : *const DHCPV6_STATELESS_PARAMS ) -> u32 ); DhcpV6SetStatelessStoreParams(serveripaddress.into().abi(), fserverlevel.into(), ::core::mem::transmute(subnetaddress), fieldmodified, params) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn Dhcpv6CApiCleanup() { - ::windows::core::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6CApiCleanup ( ) -> ( ) ); + ::windows::imp::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6CApiCleanup ( ) -> ( ) ); Dhcpv6CApiCleanup() } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] #[inline] pub unsafe fn Dhcpv6CApiInitialize(version: *mut u32) { - ::windows::core::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6CApiInitialize ( version : *mut u32 ) -> ( ) ); + ::windows::imp::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6CApiInitialize ( version : *mut u32 ) -> ( ) ); Dhcpv6CApiInitialize(version) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1932,7 +1932,7 @@ pub unsafe fn Dhcpv6ReleasePrefix(adaptername: P0, classid: *mut DHCPV6CAPI_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6ReleasePrefix ( adaptername : :: windows::core::PCWSTR , classid : *mut DHCPV6CAPI_CLASSID , leaseinfo : *mut DHCPV6PrefixLeaseInformation ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6ReleasePrefix ( adaptername : :: windows::core::PCWSTR , classid : *mut DHCPV6CAPI_CLASSID , leaseinfo : *mut DHCPV6PrefixLeaseInformation ) -> u32 ); Dhcpv6ReleasePrefix(adaptername.into().abi(), classid, leaseinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1941,7 +1941,7 @@ pub unsafe fn Dhcpv6RenewPrefix(adaptername: P0, pclassid: *mut DHCPV6CAPI_C where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6RenewPrefix ( adaptername : :: windows::core::PCWSTR , pclassid : *mut DHCPV6CAPI_CLASSID , prefixleaseinfo : *mut DHCPV6PrefixLeaseInformation , pdwtimetowait : *mut u32 , bvalidateprefix : u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6RenewPrefix ( adaptername : :: windows::core::PCWSTR , pclassid : *mut DHCPV6CAPI_CLASSID , prefixleaseinfo : *mut DHCPV6PrefixLeaseInformation , pdwtimetowait : *mut u32 , bvalidateprefix : u32 ) -> u32 ); Dhcpv6RenewPrefix(adaptername.into().abi(), pclassid, prefixleaseinfo, pdwtimetowait, bvalidateprefix) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] @@ -1952,7 +1952,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6RequestParams ( forcenewinform : super::super::Foundation:: BOOL , reserved : *mut ::core::ffi::c_void , adaptername : :: windows::core::PCWSTR , classid : *mut DHCPV6CAPI_CLASSID , recdparams : DHCPV6CAPI_PARAMS_ARRAY , buffer : *mut u8 , psize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6RequestParams ( forcenewinform : super::super::Foundation:: BOOL , reserved : *mut ::core::ffi::c_void , adaptername : :: windows::core::PCWSTR , classid : *mut DHCPV6CAPI_CLASSID , recdparams : DHCPV6CAPI_PARAMS_ARRAY , buffer : *mut u8 , psize : *mut u32 ) -> u32 ); Dhcpv6RequestParams(forcenewinform.into(), reserved, adaptername.into().abi(), classid, ::core::mem::transmute(recdparams), buffer, psize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] @@ -1961,7 +1961,7 @@ pub unsafe fn Dhcpv6RequestPrefix(adaptername: P0, pclassid: *mut DHCPV6CAPI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6RequestPrefix ( adaptername : :: windows::core::PCWSTR , pclassid : *mut DHCPV6CAPI_CLASSID , prefixleaseinfo : *mut DHCPV6PrefixLeaseInformation , pdwtimetowait : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc6.dll""system" fn Dhcpv6RequestPrefix ( adaptername : :: windows::core::PCWSTR , pclassid : *mut DHCPV6CAPI_CLASSID , prefixleaseinfo : *mut DHCPV6PrefixLeaseInformation , pdwtimetowait : *mut u32 ) -> u32 ); Dhcpv6RequestPrefix(adaptername.into().abi(), pclassid, prefixleaseinfo, pdwtimetowait) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs index 35ab47615c..55da711903 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs @@ -1,26 +1,26 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsAcquireContextHandle_A(credentialflags: u32, credentials: ::core::option::Option<*const ::core::ffi::c_void>, pcontext: *mut DnsContextHandle) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsAcquireContextHandle_A ( credentialflags : u32 , credentials : *const ::core::ffi::c_void , pcontext : *mut DnsContextHandle ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsAcquireContextHandle_A ( credentialflags : u32 , credentials : *const ::core::ffi::c_void , pcontext : *mut DnsContextHandle ) -> i32 ); DnsAcquireContextHandle_A(credentialflags, ::core::mem::transmute(credentials.unwrap_or(::std::ptr::null())), pcontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsAcquireContextHandle_W(credentialflags: u32, credentials: ::core::option::Option<*const ::core::ffi::c_void>, pcontext: *mut DnsContextHandle) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsAcquireContextHandle_W ( credentialflags : u32 , credentials : *const ::core::ffi::c_void , pcontext : *mut DnsContextHandle ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsAcquireContextHandle_W ( credentialflags : u32 , credentials : *const ::core::ffi::c_void , pcontext : *mut DnsContextHandle ) -> i32 ); DnsAcquireContextHandle_W(credentialflags, ::core::mem::transmute(credentials.unwrap_or(::std::ptr::null())), pcontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsCancelQuery(pcancelhandle: *const DNS_QUERY_CANCEL) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsCancelQuery ( pcancelhandle : *const DNS_QUERY_CANCEL ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsCancelQuery ( pcancelhandle : *const DNS_QUERY_CANCEL ) -> i32 ); DnsCancelQuery(pcancelhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsConnectionDeletePolicyEntries(policyentrytag: DNS_CONNECTION_POLICY_TAG) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionDeletePolicyEntries ( policyentrytag : DNS_CONNECTION_POLICY_TAG ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionDeletePolicyEntries ( policyentrytag : DNS_CONNECTION_POLICY_TAG ) -> u32 ); DnsConnectionDeletePolicyEntries(policyentrytag) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -29,38 +29,38 @@ pub unsafe fn DnsConnectionDeleteProxyInfo(pwszconnectionname: P0, r#type: D where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionDeleteProxyInfo ( pwszconnectionname : :: windows::core::PCWSTR , r#type : DNS_CONNECTION_PROXY_TYPE ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionDeleteProxyInfo ( pwszconnectionname : :: windows::core::PCWSTR , r#type : DNS_CONNECTION_PROXY_TYPE ) -> u32 ); DnsConnectionDeleteProxyInfo(pwszconnectionname.into().abi(), r#type) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsConnectionFreeNameList(pnamelist: *mut DNS_CONNECTION_NAME_LIST) { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionFreeNameList ( pnamelist : *mut DNS_CONNECTION_NAME_LIST ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionFreeNameList ( pnamelist : *mut DNS_CONNECTION_NAME_LIST ) -> ( ) ); DnsConnectionFreeNameList(pnamelist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsConnectionFreeProxyInfo(pproxyinfo: *mut DNS_CONNECTION_PROXY_INFO) { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionFreeProxyInfo ( pproxyinfo : *mut DNS_CONNECTION_PROXY_INFO ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionFreeProxyInfo ( pproxyinfo : *mut DNS_CONNECTION_PROXY_INFO ) -> ( ) ); DnsConnectionFreeProxyInfo(pproxyinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsConnectionFreeProxyInfoEx(pproxyinfoex: *mut DNS_CONNECTION_PROXY_INFO_EX) { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionFreeProxyInfoEx ( pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionFreeProxyInfoEx ( pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX ) -> ( ) ); DnsConnectionFreeProxyInfoEx(pproxyinfoex) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsConnectionFreeProxyList(pproxylist: *mut DNS_CONNECTION_PROXY_LIST) { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionFreeProxyList ( pproxylist : *mut DNS_CONNECTION_PROXY_LIST ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionFreeProxyList ( pproxylist : *mut DNS_CONNECTION_PROXY_LIST ) -> ( ) ); DnsConnectionFreeProxyList(pproxylist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsConnectionGetNameList(pnamelist: *mut DNS_CONNECTION_NAME_LIST) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionGetNameList ( pnamelist : *mut DNS_CONNECTION_NAME_LIST ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionGetNameList ( pnamelist : *mut DNS_CONNECTION_NAME_LIST ) -> u32 ); DnsConnectionGetNameList(pnamelist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -69,7 +69,7 @@ pub unsafe fn DnsConnectionGetProxyInfo(pwszconnectionname: P0, r#type: DNS_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionGetProxyInfo ( pwszconnectionname : :: windows::core::PCWSTR , r#type : DNS_CONNECTION_PROXY_TYPE , pproxyinfo : *mut DNS_CONNECTION_PROXY_INFO ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionGetProxyInfo ( pwszconnectionname : :: windows::core::PCWSTR , r#type : DNS_CONNECTION_PROXY_TYPE , pproxyinfo : *mut DNS_CONNECTION_PROXY_INFO ) -> u32 ); DnsConnectionGetProxyInfo(pwszconnectionname.into().abi(), r#type, pproxyinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -79,7 +79,7 @@ pub unsafe fn DnsConnectionGetProxyInfoForHostUrl(pwszhosturl: P0, pselectio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionGetProxyInfoForHostUrl ( pwszhosturl : :: windows::core::PCWSTR , pselectioncontext : *const u8 , dwselectioncontextlength : u32 , dwexplicitinterfaceindex : u32 , pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionGetProxyInfoForHostUrl ( pwszhosturl : :: windows::core::PCWSTR , pselectioncontext : *const u8 , dwselectioncontextlength : u32 , dwexplicitinterfaceindex : u32 , pproxyinfoex : *mut DNS_CONNECTION_PROXY_INFO_EX ) -> u32 ); DnsConnectionGetProxyInfoForHostUrl(pwszhosturl.into().abi(), ::core::mem::transmute(pselectioncontext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pselectioncontext.as_deref().map_or(0, |slice| slice.len() as _), dwexplicitinterfaceindex, pproxyinfoex) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -88,13 +88,13 @@ pub unsafe fn DnsConnectionGetProxyList(pwszconnectionname: P0, pproxylist: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionGetProxyList ( pwszconnectionname : :: windows::core::PCWSTR , pproxylist : *mut DNS_CONNECTION_PROXY_LIST ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionGetProxyList ( pwszconnectionname : :: windows::core::PCWSTR , pproxylist : *mut DNS_CONNECTION_PROXY_LIST ) -> u32 ); DnsConnectionGetProxyList(pwszconnectionname.into().abi(), pproxylist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsConnectionSetPolicyEntries(policyentrytag: DNS_CONNECTION_POLICY_TAG, ppolicyentrylist: *const DNS_CONNECTION_POLICY_ENTRY_LIST) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionSetPolicyEntries ( policyentrytag : DNS_CONNECTION_POLICY_TAG , ppolicyentrylist : *const DNS_CONNECTION_POLICY_ENTRY_LIST ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionSetPolicyEntries ( policyentrytag : DNS_CONNECTION_POLICY_TAG , ppolicyentrylist : *const DNS_CONNECTION_POLICY_ENTRY_LIST ) -> u32 ); DnsConnectionSetPolicyEntries(policyentrytag, ppolicyentrylist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -103,40 +103,40 @@ pub unsafe fn DnsConnectionSetProxyInfo(pwszconnectionname: P0, r#type: DNS_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionSetProxyInfo ( pwszconnectionname : :: windows::core::PCWSTR , r#type : DNS_CONNECTION_PROXY_TYPE , pproxyinfo : *const DNS_CONNECTION_PROXY_INFO ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionSetProxyInfo ( pwszconnectionname : :: windows::core::PCWSTR , r#type : DNS_CONNECTION_PROXY_TYPE , pproxyinfo : *const DNS_CONNECTION_PROXY_INFO ) -> u32 ); DnsConnectionSetProxyInfo(pwszconnectionname.into().abi(), r#type, pproxyinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsConnectionUpdateIfIndexTable(pconnectionifindexentries: *const DNS_CONNECTION_IFINDEX_LIST) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsConnectionUpdateIfIndexTable ( pconnectionifindexentries : *const DNS_CONNECTION_IFINDEX_LIST ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsConnectionUpdateIfIndexTable ( pconnectionifindexentries : *const DNS_CONNECTION_IFINDEX_LIST ) -> u32 ); DnsConnectionUpdateIfIndexTable(pconnectionifindexentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsExtractRecordsFromMessage_UTF8(pdnsbuffer: *const DNS_MESSAGE_BUFFER, wmessagelength: u16, pprecord: *mut *mut DNS_RECORDA) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsExtractRecordsFromMessage_UTF8 ( pdnsbuffer : *const DNS_MESSAGE_BUFFER , wmessagelength : u16 , pprecord : *mut *mut DNS_RECORDA ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsExtractRecordsFromMessage_UTF8 ( pdnsbuffer : *const DNS_MESSAGE_BUFFER , wmessagelength : u16 , pprecord : *mut *mut DNS_RECORDA ) -> i32 ); DnsExtractRecordsFromMessage_UTF8(pdnsbuffer, wmessagelength, pprecord) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsExtractRecordsFromMessage_W(pdnsbuffer: *const DNS_MESSAGE_BUFFER, wmessagelength: u16, pprecord: *mut *mut DNS_RECORDA) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsExtractRecordsFromMessage_W ( pdnsbuffer : *const DNS_MESSAGE_BUFFER , wmessagelength : u16 , pprecord : *mut *mut DNS_RECORDA ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsExtractRecordsFromMessage_W ( pdnsbuffer : *const DNS_MESSAGE_BUFFER , wmessagelength : u16 , pprecord : *mut *mut DNS_RECORDA ) -> i32 ); DnsExtractRecordsFromMessage_W(pdnsbuffer, wmessagelength, pprecord) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsFree(pdata: ::core::option::Option<*const ::core::ffi::c_void>, freetype: DNS_FREE_TYPE) { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsFree ( pdata : *const ::core::ffi::c_void , freetype : DNS_FREE_TYPE ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsFree ( pdata : *const ::core::ffi::c_void , freetype : DNS_FREE_TYPE ) -> ( ) ); DnsFree(::core::mem::transmute(pdata.unwrap_or(::std::ptr::null())), freetype) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsFreeCustomServers(pcservers: *mut u32, ppservers: *mut *mut DNS_CUSTOM_SERVER) { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsFreeCustomServers ( pcservers : *mut u32 , ppservers : *mut *mut DNS_CUSTOM_SERVER ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsFreeCustomServers ( pcservers : *mut u32 , ppservers : *mut *mut DNS_CUSTOM_SERVER ) -> ( ) ); DnsFreeCustomServers(pcservers, ppservers) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -145,14 +145,14 @@ pub unsafe fn DnsFreeProxyName(proxyname: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsFreeProxyName ( proxyname : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsFreeProxyName ( proxyname : :: windows::core::PCWSTR ) -> ( ) ); DnsFreeProxyName(proxyname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsGetApplicationSettings(pcservers: *mut u32, ppdefaultservers: *mut *mut DNS_CUSTOM_SERVER, psettings: ::core::option::Option<*mut DNS_APPLICATION_SETTINGS>) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsGetApplicationSettings ( pcservers : *mut u32 , ppdefaultservers : *mut *mut DNS_CUSTOM_SERVER , psettings : *mut DNS_APPLICATION_SETTINGS ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsGetApplicationSettings ( pcservers : *mut u32 , ppdefaultservers : *mut *mut DNS_CUSTOM_SERVER , psettings : *mut DNS_APPLICATION_SETTINGS ) -> u32 ); DnsGetApplicationSettings(pcservers, ppdefaultservers, ::core::mem::transmute(psettings.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -161,7 +161,7 @@ pub unsafe fn DnsGetProxyInformation(hostname: P0, proxyinformation: *mut DN where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsGetProxyInformation ( hostname : :: windows::core::PCWSTR , proxyinformation : *mut DNS_PROXY_INFORMATION , defaultproxyinformation : *mut DNS_PROXY_INFORMATION , completionroutine : DNS_PROXY_COMPLETION_ROUTINE , completioncontext : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsGetProxyInformation ( hostname : :: windows::core::PCWSTR , proxyinformation : *mut DNS_PROXY_INFORMATION , defaultproxyinformation : *mut DNS_PROXY_INFORMATION , completionroutine : DNS_PROXY_COMPLETION_ROUTINE , completioncontext : *const ::core::ffi::c_void ) -> u32 ); DnsGetProxyInformation(hostname.into().abi(), proxyinformation, ::core::mem::transmute(defaultproxyinformation.unwrap_or(::std::ptr::null_mut())), completionroutine, ::core::mem::transmute(completioncontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -171,7 +171,7 @@ pub unsafe fn DnsModifyRecordsInSet_A(paddrecords: ::core::option::Option<*c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsModifyRecordsInSet_A ( paddrecords : *const DNS_RECORDA , pdeleterecords : *const DNS_RECORDA , options : u32 , hcredentials : super::super::Foundation:: HANDLE , pextralist : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsModifyRecordsInSet_A ( paddrecords : *const DNS_RECORDA , pdeleterecords : *const DNS_RECORDA , options : u32 , hcredentials : super::super::Foundation:: HANDLE , pextralist : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); DnsModifyRecordsInSet_A(::core::mem::transmute(paddrecords.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdeleterecords.unwrap_or(::std::ptr::null())), options, hcredentials.into(), ::core::mem::transmute(pextralist.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -181,7 +181,7 @@ pub unsafe fn DnsModifyRecordsInSet_UTF8(paddrecords: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsModifyRecordsInSet_UTF8 ( paddrecords : *const DNS_RECORDA , pdeleterecords : *const DNS_RECORDA , options : u32 , hcredentials : super::super::Foundation:: HANDLE , pextralist : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsModifyRecordsInSet_UTF8 ( paddrecords : *const DNS_RECORDA , pdeleterecords : *const DNS_RECORDA , options : u32 , hcredentials : super::super::Foundation:: HANDLE , pextralist : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); DnsModifyRecordsInSet_UTF8(::core::mem::transmute(paddrecords.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdeleterecords.unwrap_or(::std::ptr::null())), options, hcredentials.into(), ::core::mem::transmute(pextralist.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -191,7 +191,7 @@ pub unsafe fn DnsModifyRecordsInSet_W(paddrecords: ::core::option::Option<*c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsModifyRecordsInSet_W ( paddrecords : *const DNS_RECORDA , pdeleterecords : *const DNS_RECORDA , options : u32 , hcredentials : super::super::Foundation:: HANDLE , pextralist : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsModifyRecordsInSet_W ( paddrecords : *const DNS_RECORDA , pdeleterecords : *const DNS_RECORDA , options : u32 , hcredentials : super::super::Foundation:: HANDLE , pextralist : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); DnsModifyRecordsInSet_W(::core::mem::transmute(paddrecords.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdeleterecords.unwrap_or(::std::ptr::null())), options, hcredentials.into(), ::core::mem::transmute(pextralist.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -202,7 +202,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsNameCompare_A ( pname1 : :: windows::core::PCSTR , pname2 : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsNameCompare_A ( pname1 : :: windows::core::PCSTR , pname2 : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DnsNameCompare_A(pname1.into().abi(), pname2.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -213,7 +213,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsNameCompare_W ( pname1 : :: windows::core::PCWSTR , pname2 : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsNameCompare_W ( pname1 : :: windows::core::PCWSTR , pname2 : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DnsNameCompare_W(pname1.into().abi(), pname2.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -222,14 +222,14 @@ pub unsafe fn DnsQueryConfig(config: DNS_CONFIG_TYPE, flag: u32, pwsadaptern where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsQueryConfig ( config : DNS_CONFIG_TYPE , flag : u32 , pwsadaptername : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void , pbuffer : *mut ::core::ffi::c_void , pbuflen : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsQueryConfig ( config : DNS_CONFIG_TYPE , flag : u32 , pwsadaptername : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void , pbuffer : *mut ::core::ffi::c_void , pbuflen : *mut u32 ) -> i32 ); DnsQueryConfig(config, flag, pwsadaptername.into().abi(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), pbuflen) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsQueryEx(pqueryrequest: *const DNS_QUERY_REQUEST, pqueryresults: *mut DNS_QUERY_RESULT, pcancelhandle: ::core::option::Option<*mut DNS_QUERY_CANCEL>) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsQueryEx ( pqueryrequest : *const DNS_QUERY_REQUEST , pqueryresults : *mut DNS_QUERY_RESULT , pcancelhandle : *mut DNS_QUERY_CANCEL ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsQueryEx ( pqueryrequest : *const DNS_QUERY_REQUEST , pqueryresults : *mut DNS_QUERY_RESULT , pcancelhandle : *mut DNS_QUERY_CANCEL ) -> i32 ); DnsQueryEx(pqueryrequest, pqueryresults, ::core::mem::transmute(pcancelhandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -239,7 +239,7 @@ pub unsafe fn DnsQuery_A(pszname: P0, wtype: DNS_TYPE, options: DNS_QUERY_OP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsQuery_A ( pszname : :: windows::core::PCSTR , wtype : DNS_TYPE , options : DNS_QUERY_OPTIONS , pextra : *mut ::core::ffi::c_void , ppqueryresults : *mut *mut DNS_RECORDA , preserved : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsQuery_A ( pszname : :: windows::core::PCSTR , wtype : DNS_TYPE , options : DNS_QUERY_OPTIONS , pextra : *mut ::core::ffi::c_void , ppqueryresults : *mut *mut DNS_RECORDA , preserved : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); DnsQuery_A(pszname.into().abi(), wtype, options, ::core::mem::transmute(pextra.unwrap_or(::std::ptr::null_mut())), ppqueryresults, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -249,7 +249,7 @@ pub unsafe fn DnsQuery_UTF8(pszname: P0, wtype: DNS_TYPE, options: DNS_QUERY where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsQuery_UTF8 ( pszname : :: windows::core::PCSTR , wtype : DNS_TYPE , options : DNS_QUERY_OPTIONS , pextra : *mut ::core::ffi::c_void , ppqueryresults : *mut *mut DNS_RECORDA , preserved : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsQuery_UTF8 ( pszname : :: windows::core::PCSTR , wtype : DNS_TYPE , options : DNS_QUERY_OPTIONS , pextra : *mut ::core::ffi::c_void , ppqueryresults : *mut *mut DNS_RECORDA , preserved : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); DnsQuery_UTF8(pszname.into().abi(), wtype, options, ::core::mem::transmute(pextra.unwrap_or(::std::ptr::null_mut())), ppqueryresults, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -259,42 +259,42 @@ pub unsafe fn DnsQuery_W(pszname: P0, wtype: DNS_TYPE, options: DNS_QUERY_OP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsQuery_W ( pszname : :: windows::core::PCWSTR , wtype : DNS_TYPE , options : DNS_QUERY_OPTIONS , pextra : *mut ::core::ffi::c_void , ppqueryresults : *mut *mut DNS_RECORDA , preserved : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsQuery_W ( pszname : :: windows::core::PCWSTR , wtype : DNS_TYPE , options : DNS_QUERY_OPTIONS , pextra : *mut ::core::ffi::c_void , ppqueryresults : *mut *mut DNS_RECORDA , preserved : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); DnsQuery_W(pszname.into().abi(), wtype, options, ::core::mem::transmute(pextra.unwrap_or(::std::ptr::null_mut())), ppqueryresults, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsRecordCompare(precord1: *const DNS_RECORDA, precord2: *const DNS_RECORDA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsRecordCompare ( precord1 : *const DNS_RECORDA , precord2 : *const DNS_RECORDA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsRecordCompare ( precord1 : *const DNS_RECORDA , precord2 : *const DNS_RECORDA ) -> super::super::Foundation:: BOOL ); DnsRecordCompare(precord1, precord2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsRecordCopyEx(precord: *const DNS_RECORDA, charsetin: DNS_CHARSET, charsetout: DNS_CHARSET) -> *mut DNS_RECORDA { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsRecordCopyEx ( precord : *const DNS_RECORDA , charsetin : DNS_CHARSET , charsetout : DNS_CHARSET ) -> *mut DNS_RECORDA ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsRecordCopyEx ( precord : *const DNS_RECORDA , charsetin : DNS_CHARSET , charsetout : DNS_CHARSET ) -> *mut DNS_RECORDA ); DnsRecordCopyEx(precord, charsetin, charsetout) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsRecordSetCompare(prr1: *mut DNS_RECORDA, prr2: *mut DNS_RECORDA, ppdiff1: ::core::option::Option<*mut *mut DNS_RECORDA>, ppdiff2: ::core::option::Option<*mut *mut DNS_RECORDA>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsRecordSetCompare ( prr1 : *mut DNS_RECORDA , prr2 : *mut DNS_RECORDA , ppdiff1 : *mut *mut DNS_RECORDA , ppdiff2 : *mut *mut DNS_RECORDA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsRecordSetCompare ( prr1 : *mut DNS_RECORDA , prr2 : *mut DNS_RECORDA , ppdiff1 : *mut *mut DNS_RECORDA , ppdiff2 : *mut *mut DNS_RECORDA ) -> super::super::Foundation:: BOOL ); DnsRecordSetCompare(prr1, prr2, ::core::mem::transmute(ppdiff1.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdiff2.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsRecordSetCopyEx(precordset: *const DNS_RECORDA, charsetin: DNS_CHARSET, charsetout: DNS_CHARSET) -> *mut DNS_RECORDA { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsRecordSetCopyEx ( precordset : *const DNS_RECORDA , charsetin : DNS_CHARSET , charsetout : DNS_CHARSET ) -> *mut DNS_RECORDA ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsRecordSetCopyEx ( precordset : *const DNS_RECORDA , charsetin : DNS_CHARSET , charsetout : DNS_CHARSET ) -> *mut DNS_RECORDA ); DnsRecordSetCopyEx(precordset, charsetin, charsetout) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsRecordSetDetach(precordlist: *mut DNS_RECORDA) -> *mut DNS_RECORDA { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsRecordSetDetach ( precordlist : *mut DNS_RECORDA ) -> *mut DNS_RECORDA ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsRecordSetDetach ( precordlist : *mut DNS_RECORDA ) -> *mut DNS_RECORDA ); DnsRecordSetDetach(precordlist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -304,7 +304,7 @@ pub unsafe fn DnsReleaseContextHandle(hcontext: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsReleaseContextHandle ( hcontext : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsReleaseContextHandle ( hcontext : super::super::Foundation:: HANDLE ) -> ( ) ); DnsReleaseContextHandle(hcontext.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -314,7 +314,7 @@ pub unsafe fn DnsReplaceRecordSetA(preplaceset: *const DNS_RECORDA, options: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsReplaceRecordSetA ( preplaceset : *const DNS_RECORDA , options : u32 , hcontext : super::super::Foundation:: HANDLE , pextrainfo : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsReplaceRecordSetA ( preplaceset : *const DNS_RECORDA , options : u32 , hcontext : super::super::Foundation:: HANDLE , pextrainfo : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); DnsReplaceRecordSetA(preplaceset, options, hcontext.into(), ::core::mem::transmute(pextrainfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -324,7 +324,7 @@ pub unsafe fn DnsReplaceRecordSetUTF8(preplaceset: *const DNS_RECORDA, optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsReplaceRecordSetUTF8 ( preplaceset : *const DNS_RECORDA , options : u32 , hcontext : super::super::Foundation:: HANDLE , pextrainfo : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsReplaceRecordSetUTF8 ( preplaceset : *const DNS_RECORDA , options : u32 , hcontext : super::super::Foundation:: HANDLE , pextrainfo : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); DnsReplaceRecordSetUTF8(preplaceset, options, hcontext.into(), ::core::mem::transmute(pextrainfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -334,20 +334,20 @@ pub unsafe fn DnsReplaceRecordSetW(preplaceset: *const DNS_RECORDA, options: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsReplaceRecordSetW ( preplaceset : *const DNS_RECORDA , options : u32 , hcontext : super::super::Foundation:: HANDLE , pextrainfo : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsReplaceRecordSetW ( preplaceset : *const DNS_RECORDA , options : u32 , hcontext : super::super::Foundation:: HANDLE , pextrainfo : *mut ::core::ffi::c_void , preserved : *mut ::core::ffi::c_void ) -> i32 ); DnsReplaceRecordSetW(preplaceset, options, hcontext.into(), ::core::mem::transmute(pextrainfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsServiceBrowse(prequest: *const DNS_SERVICE_BROWSE_REQUEST, pcancel: *mut DNS_SERVICE_CANCEL) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceBrowse ( prequest : *const DNS_SERVICE_BROWSE_REQUEST , pcancel : *mut DNS_SERVICE_CANCEL ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceBrowse ( prequest : *const DNS_SERVICE_BROWSE_REQUEST , pcancel : *mut DNS_SERVICE_CANCEL ) -> i32 ); DnsServiceBrowse(prequest, pcancel) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsServiceBrowseCancel(pcancelhandle: *const DNS_SERVICE_CANCEL) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceBrowseCancel ( pcancelhandle : *const DNS_SERVICE_CANCEL ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceBrowseCancel ( pcancelhandle : *const DNS_SERVICE_CANCEL ) -> i32 ); DnsServiceBrowseCancel(pcancelhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -357,71 +357,71 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceConstructInstance ( pservicename : :: windows::core::PCWSTR , phostname : :: windows::core::PCWSTR , pip4 : *const u32 , pip6 : *const IP6_ADDRESS , wport : u16 , wpriority : u16 , wweight : u16 , dwpropertiescount : u32 , keys : *const :: windows::core::PCWSTR , values : *const :: windows::core::PCWSTR ) -> *mut DNS_SERVICE_INSTANCE ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceConstructInstance ( pservicename : :: windows::core::PCWSTR , phostname : :: windows::core::PCWSTR , pip4 : *const u32 , pip6 : *const IP6_ADDRESS , wport : u16 , wpriority : u16 , wweight : u16 , dwpropertiescount : u32 , keys : *const :: windows::core::PCWSTR , values : *const :: windows::core::PCWSTR ) -> *mut DNS_SERVICE_INSTANCE ); DnsServiceConstructInstance(pservicename.into().abi(), phostname.into().abi(), ::core::mem::transmute(pip4.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pip6.unwrap_or(::std::ptr::null())), wport, wpriority, wweight, dwpropertiescount, keys, values) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsServiceCopyInstance(porig: *const DNS_SERVICE_INSTANCE) -> *mut DNS_SERVICE_INSTANCE { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceCopyInstance ( porig : *const DNS_SERVICE_INSTANCE ) -> *mut DNS_SERVICE_INSTANCE ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceCopyInstance ( porig : *const DNS_SERVICE_INSTANCE ) -> *mut DNS_SERVICE_INSTANCE ); DnsServiceCopyInstance(porig) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsServiceDeRegister(prequest: *const DNS_SERVICE_REGISTER_REQUEST, pcancel: ::core::option::Option<*mut DNS_SERVICE_CANCEL>) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceDeRegister ( prequest : *const DNS_SERVICE_REGISTER_REQUEST , pcancel : *mut DNS_SERVICE_CANCEL ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceDeRegister ( prequest : *const DNS_SERVICE_REGISTER_REQUEST , pcancel : *mut DNS_SERVICE_CANCEL ) -> u32 ); DnsServiceDeRegister(prequest, ::core::mem::transmute(pcancel.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsServiceFreeInstance(pinstance: *const DNS_SERVICE_INSTANCE) { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceFreeInstance ( pinstance : *const DNS_SERVICE_INSTANCE ) -> ( ) ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceFreeInstance ( pinstance : *const DNS_SERVICE_INSTANCE ) -> ( ) ); DnsServiceFreeInstance(pinstance) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsServiceRegister(prequest: *const DNS_SERVICE_REGISTER_REQUEST, pcancel: ::core::option::Option<*mut DNS_SERVICE_CANCEL>) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceRegister ( prequest : *const DNS_SERVICE_REGISTER_REQUEST , pcancel : *mut DNS_SERVICE_CANCEL ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceRegister ( prequest : *const DNS_SERVICE_REGISTER_REQUEST , pcancel : *mut DNS_SERVICE_CANCEL ) -> u32 ); DnsServiceRegister(prequest, ::core::mem::transmute(pcancel.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsServiceRegisterCancel(pcancelhandle: *const DNS_SERVICE_CANCEL) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceRegisterCancel ( pcancelhandle : *const DNS_SERVICE_CANCEL ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceRegisterCancel ( pcancelhandle : *const DNS_SERVICE_CANCEL ) -> u32 ); DnsServiceRegisterCancel(pcancelhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsServiceResolve(prequest: *const DNS_SERVICE_RESOLVE_REQUEST, pcancel: *mut DNS_SERVICE_CANCEL) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceResolve ( prequest : *const DNS_SERVICE_RESOLVE_REQUEST , pcancel : *mut DNS_SERVICE_CANCEL ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceResolve ( prequest : *const DNS_SERVICE_RESOLVE_REQUEST , pcancel : *mut DNS_SERVICE_CANCEL ) -> i32 ); DnsServiceResolve(prequest, pcancel) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsServiceResolveCancel(pcancelhandle: *const DNS_SERVICE_CANCEL) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsServiceResolveCancel ( pcancelhandle : *const DNS_SERVICE_CANCEL ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsServiceResolveCancel ( pcancelhandle : *const DNS_SERVICE_CANCEL ) -> i32 ); DnsServiceResolveCancel(pcancelhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsSetApplicationSettings(pservers: &[DNS_CUSTOM_SERVER], psettings: ::core::option::Option<*const DNS_APPLICATION_SETTINGS>) -> u32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsSetApplicationSettings ( cservers : u32 , pservers : *const DNS_CUSTOM_SERVER , psettings : *const DNS_APPLICATION_SETTINGS ) -> u32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsSetApplicationSettings ( cservers : u32 , pservers : *const DNS_CUSTOM_SERVER , psettings : *const DNS_APPLICATION_SETTINGS ) -> u32 ); DnsSetApplicationSettings(pservers.len() as _, ::core::mem::transmute(pservers.as_ptr()), ::core::mem::transmute(psettings.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DnsStartMulticastQuery(pqueryrequest: *const MDNS_QUERY_REQUEST, phandle: *mut MDNS_QUERY_HANDLE) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsStartMulticastQuery ( pqueryrequest : *const MDNS_QUERY_REQUEST , phandle : *mut MDNS_QUERY_HANDLE ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsStartMulticastQuery ( pqueryrequest : *const MDNS_QUERY_REQUEST , phandle : *mut MDNS_QUERY_HANDLE ) -> i32 ); DnsStartMulticastQuery(pqueryrequest, phandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] #[inline] pub unsafe fn DnsStopMulticastQuery(phandle: *mut MDNS_QUERY_HANDLE) -> i32 { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsStopMulticastQuery ( phandle : *mut MDNS_QUERY_HANDLE ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsStopMulticastQuery ( phandle : *mut MDNS_QUERY_HANDLE ) -> i32 ); DnsStopMulticastQuery(phandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -430,7 +430,7 @@ pub unsafe fn DnsValidateName_A(pszname: P0, format: DNS_NAME_FORMAT) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsValidateName_A ( pszname : :: windows::core::PCSTR , format : DNS_NAME_FORMAT ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsValidateName_A ( pszname : :: windows::core::PCSTR , format : DNS_NAME_FORMAT ) -> i32 ); DnsValidateName_A(pszname.into().abi(), format) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -439,7 +439,7 @@ pub unsafe fn DnsValidateName_UTF8(pszname: P0, format: DNS_NAME_FORMAT) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsValidateName_UTF8 ( pszname : :: windows::core::PCSTR , format : DNS_NAME_FORMAT ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsValidateName_UTF8 ( pszname : :: windows::core::PCSTR , format : DNS_NAME_FORMAT ) -> i32 ); DnsValidateName_UTF8(pszname.into().abi(), format) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] @@ -448,7 +448,7 @@ pub unsafe fn DnsValidateName_W(pszname: P0, format: DNS_NAME_FORMAT) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsValidateName_W ( pszname : :: windows::core::PCWSTR , format : DNS_NAME_FORMAT ) -> i32 ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsValidateName_W ( pszname : :: windows::core::PCWSTR , format : DNS_NAME_FORMAT ) -> i32 ); DnsValidateName_W(pszname.into().abi(), format) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -459,7 +459,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsWriteQuestionToBuffer_UTF8 ( pdnsbuffer : *mut DNS_MESSAGE_BUFFER , pdwbuffersize : *mut u32 , pszname : :: windows::core::PCSTR , wtype : u16 , xid : u16 , frecursiondesired : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsWriteQuestionToBuffer_UTF8 ( pdnsbuffer : *mut DNS_MESSAGE_BUFFER , pdwbuffersize : *mut u32 , pszname : :: windows::core::PCSTR , wtype : u16 , xid : u16 , frecursiondesired : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DnsWriteQuestionToBuffer_UTF8(pdnsbuffer, pdwbuffersize, pszname.into().abi(), wtype, xid, frecursiondesired.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`, `\"Win32_Foundation\"`*"] @@ -470,7 +470,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dnsapi.dll""system" fn DnsWriteQuestionToBuffer_W ( pdnsbuffer : *mut DNS_MESSAGE_BUFFER , pdwbuffersize : *mut u32 , pszname : :: windows::core::PCWSTR , wtype : u16 , xid : u16 , frecursiondesired : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dnsapi.dll""system" fn DnsWriteQuestionToBuffer_W ( pdnsbuffer : *mut DNS_MESSAGE_BUFFER , pdwbuffersize : *mut u32 , pszname : :: windows::core::PCWSTR , wtype : u16 , xid : u16 , frecursiondesired : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DnsWriteQuestionToBuffer_W(pdnsbuffer, pdwbuffersize, pszname.into().abi(), wtype, xid, frecursiondesired.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Dns\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs index 364d5856ed..d5805d84e3 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs @@ -1,14 +1,14 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn AddIPAddress(address: u32, ipmask: u32, ifindex: u32, ntecontext: *mut u32, nteinstance: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn AddIPAddress ( address : u32 , ipmask : u32 , ifindex : u32 , ntecontext : *mut u32 , nteinstance : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn AddIPAddress ( address : u32 , ipmask : u32 , ifindex : u32 , ntecontext : *mut u32 , nteinstance : *mut u32 ) -> u32 ); AddIPAddress(address, ipmask, ifindex, ntecontext, nteinstance) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn CancelIPChangeNotify(notifyoverlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CancelIPChangeNotify ( notifyoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CancelIPChangeNotify ( notifyoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); CancelIPChangeNotify(notifyoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -18,28 +18,28 @@ pub unsafe fn CancelMibChangeNotify2(notificationhandle: P0) -> ::windows::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CancelMibChangeNotify2 ( notificationhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CancelMibChangeNotify2 ( notificationhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); CancelMibChangeNotify2(notificationhandle.into()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(feature = "Win32_NetworkManagement_Ndis")] #[inline] pub unsafe fn CaptureInterfaceHardwareCrossTimestamp(interfaceluid: *const super::Ndis::NET_LUID_LH, crosstimestamp: *mut INTERFACE_HARDWARE_CROSSTIMESTAMP) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CaptureInterfaceHardwareCrossTimestamp ( interfaceluid : *const super::Ndis:: NET_LUID_LH , crosstimestamp : *mut INTERFACE_HARDWARE_CROSSTIMESTAMP ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CaptureInterfaceHardwareCrossTimestamp ( interfaceluid : *const super::Ndis:: NET_LUID_LH , crosstimestamp : *mut INTERFACE_HARDWARE_CROSSTIMESTAMP ) -> u32 ); CaptureInterfaceHardwareCrossTimestamp(interfaceluid, crosstimestamp) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ConvertCompartmentGuidToId(compartmentguid: *const ::windows::core::GUID, compartmentid: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertCompartmentGuidToId ( compartmentguid : *const :: windows::core::GUID , compartmentid : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertCompartmentGuidToId ( compartmentguid : *const :: windows::core::GUID , compartmentid : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); ConvertCompartmentGuidToId(compartmentguid, compartmentid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ConvertCompartmentIdToGuid(compartmentid: u32, compartmentguid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertCompartmentIdToGuid ( compartmentid : u32 , compartmentguid : *mut :: windows::core::GUID ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertCompartmentIdToGuid ( compartmentid : u32 , compartmentguid : *mut :: windows::core::GUID ) -> super::super::Foundation:: NTSTATUS ); ConvertCompartmentIdToGuid(compartmentid, compartmentguid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] @@ -49,56 +49,56 @@ pub unsafe fn ConvertInterfaceAliasToLuid(interfacealias: P0, interfaceluid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceAliasToLuid ( interfacealias : :: windows::core::PCWSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceAliasToLuid ( interfacealias : :: windows::core::PCWSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceAliasToLuid(interfacealias.into().abi(), interfaceluid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn ConvertInterfaceGuidToLuid(interfaceguid: *const ::windows::core::GUID, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceGuidToLuid ( interfaceguid : *const :: windows::core::GUID , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceGuidToLuid ( interfaceguid : *const :: windows::core::GUID , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceGuidToLuid(interfaceguid, interfaceluid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn ConvertInterfaceIndexToLuid(interfaceindex: u32, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceIndexToLuid ( interfaceindex : u32 , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceIndexToLuid ( interfaceindex : u32 , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceIndexToLuid(interfaceindex, interfaceluid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn ConvertInterfaceLuidToAlias(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacealias: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToAlias ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacealias : :: windows::core::PWSTR , length : usize ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToAlias ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacealias : :: windows::core::PWSTR , length : usize ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceLuidToAlias(interfaceluid, ::core::mem::transmute(interfacealias.as_ptr()), interfacealias.len() as _).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn ConvertInterfaceLuidToGuid(interfaceluid: *const super::Ndis::NET_LUID_LH, interfaceguid: *mut ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToGuid ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceguid : *mut :: windows::core::GUID ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToGuid ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceguid : *mut :: windows::core::GUID ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceLuidToGuid(interfaceluid, interfaceguid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn ConvertInterfaceLuidToIndex(interfaceluid: *const super::Ndis::NET_LUID_LH, interfaceindex: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToIndex ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceindex : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToIndex ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceindex : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceLuidToIndex(interfaceluid, interfaceindex).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn ConvertInterfaceLuidToNameA(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacename: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToNameA ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacename : :: windows::core::PSTR , length : usize ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToNameA ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacename : :: windows::core::PSTR , length : usize ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceLuidToNameA(interfaceluid, ::core::mem::transmute(interfacename.as_ptr()), interfacename.len() as _).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn ConvertInterfaceLuidToNameW(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacename: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToNameW ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacename : :: windows::core::PWSTR , length : usize ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToNameW ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacename : :: windows::core::PWSTR , length : usize ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceLuidToNameW(interfaceluid, ::core::mem::transmute(interfacename.as_ptr()), interfacename.len() as _).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] @@ -108,7 +108,7 @@ pub unsafe fn ConvertInterfaceNameToLuidA(interfacename: P0, interfaceluid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceNameToLuidA ( interfacename : :: windows::core::PCSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceNameToLuidA ( interfacename : :: windows::core::PCSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceNameToLuidA(interfacename.into().abi(), interfaceluid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] @@ -118,204 +118,204 @@ pub unsafe fn ConvertInterfaceNameToLuidW(interfacename: P0, interfaceluid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceNameToLuidW ( interfacename : :: windows::core::PCWSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceNameToLuidW ( interfacename : :: windows::core::PCWSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: NTSTATUS ); ConvertInterfaceNameToLuidW(interfacename.into().abi(), interfaceluid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ConvertIpv4MaskToLength(mask: u32, masklength: *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertIpv4MaskToLength ( mask : u32 , masklength : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertIpv4MaskToLength ( mask : u32 , masklength : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); ConvertIpv4MaskToLength(mask, masklength).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ConvertLengthToIpv4Mask(masklength: u32, mask: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ConvertLengthToIpv4Mask ( masklength : u32 , mask : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ConvertLengthToIpv4Mask ( masklength : u32 , mask : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); ConvertLengthToIpv4Mask(masklength, mask).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn CreateAnycastIpAddressEntry(row: *const MIB_ANYCASTIPADDRESS_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreateAnycastIpAddressEntry ( row : *const MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreateAnycastIpAddressEntry ( row : *const MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); CreateAnycastIpAddressEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn CreateIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreateIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreateIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); CreateIpForwardEntry(proute) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn CreateIpForwardEntry2(row: *const MIB_IPFORWARD_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreateIpForwardEntry2 ( row : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreateIpForwardEntry2 ( row : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: NTSTATUS ); CreateIpForwardEntry2(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn CreateIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreateIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreateIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); CreateIpNetEntry(parpentry) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn CreateIpNetEntry2(row: *const MIB_IPNET_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreateIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreateIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: NTSTATUS ); CreateIpNetEntry2(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn CreatePersistentTcpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreatePersistentTcpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreatePersistentTcpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); CreatePersistentTcpPortReservation(startport, numberofports, token) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn CreatePersistentUdpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreatePersistentUdpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreatePersistentUdpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); CreatePersistentUdpPortReservation(startport, numberofports, token) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn CreateProxyArpEntry(dwaddress: u32, dwmask: u32, dwifindex: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreateProxyArpEntry ( dwaddress : u32 , dwmask : u32 , dwifindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreateProxyArpEntry ( dwaddress : u32 , dwmask : u32 , dwifindex : u32 ) -> u32 ); CreateProxyArpEntry(dwaddress, dwmask, dwifindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn CreateSortedAddressPairs(sourceaddresslist: ::core::option::Option<*const super::super::Networking::WinSock::SOCKADDR_IN6>, sourceaddresscount: u32, destinationaddresslist: *const super::super::Networking::WinSock::SOCKADDR_IN6, destinationaddresscount: u32, addresssortoptions: u32, sortedaddresspairlist: *mut *mut super::super::Networking::WinSock::SOCKADDR_IN6_PAIR, sortedaddresspaircount: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreateSortedAddressPairs ( sourceaddresslist : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , sourceaddresscount : u32 , destinationaddresslist : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , destinationaddresscount : u32 , addresssortoptions : u32 , sortedaddresspairlist : *mut *mut super::super::Networking::WinSock:: SOCKADDR_IN6_PAIR , sortedaddresspaircount : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreateSortedAddressPairs ( sourceaddresslist : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , sourceaddresscount : u32 , destinationaddresslist : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , destinationaddresscount : u32 , addresssortoptions : u32 , sortedaddresspairlist : *mut *mut super::super::Networking::WinSock:: SOCKADDR_IN6_PAIR , sortedaddresspaircount : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); CreateSortedAddressPairs(::core::mem::transmute(sourceaddresslist.unwrap_or(::std::ptr::null())), sourceaddresscount, destinationaddresslist, destinationaddresscount, addresssortoptions, sortedaddresspairlist, sortedaddresspaircount).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn CreateUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn CreateUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn CreateUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); CreateUnicastIpAddressEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn DeleteAnycastIpAddressEntry(row: *const MIB_ANYCASTIPADDRESS_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeleteAnycastIpAddressEntry ( row : *const MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeleteAnycastIpAddressEntry ( row : *const MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); DeleteAnycastIpAddressEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn DeleteIPAddress(ntecontext: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeleteIPAddress ( ntecontext : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeleteIPAddress ( ntecontext : u32 ) -> u32 ); DeleteIPAddress(ntecontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn DeleteIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeleteIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeleteIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); DeleteIpForwardEntry(proute) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn DeleteIpForwardEntry2(row: *const MIB_IPFORWARD_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeleteIpForwardEntry2 ( row : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeleteIpForwardEntry2 ( row : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: NTSTATUS ); DeleteIpForwardEntry2(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn DeleteIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeleteIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeleteIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); DeleteIpNetEntry(parpentry) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn DeleteIpNetEntry2(row: *const MIB_IPNET_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeleteIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeleteIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: NTSTATUS ); DeleteIpNetEntry2(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn DeletePersistentTcpPortReservation(startport: u16, numberofports: u16) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeletePersistentTcpPortReservation ( startport : u16 , numberofports : u16 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeletePersistentTcpPortReservation ( startport : u16 , numberofports : u16 ) -> u32 ); DeletePersistentTcpPortReservation(startport, numberofports) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn DeletePersistentUdpPortReservation(startport: u16, numberofports: u16) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeletePersistentUdpPortReservation ( startport : u16 , numberofports : u16 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeletePersistentUdpPortReservation ( startport : u16 , numberofports : u16 ) -> u32 ); DeletePersistentUdpPortReservation(startport, numberofports) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn DeleteProxyArpEntry(dwaddress: u32, dwmask: u32, dwifindex: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeleteProxyArpEntry ( dwaddress : u32 , dwmask : u32 , dwifindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeleteProxyArpEntry ( dwaddress : u32 , dwmask : u32 , dwifindex : u32 ) -> u32 ); DeleteProxyArpEntry(dwaddress, dwmask, dwifindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn DeleteUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DeleteUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DeleteUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); DeleteUnicastIpAddressEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn DisableMediaSense(phandle: *mut super::super::Foundation::HANDLE, poverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn DisableMediaSense ( phandle : *mut super::super::Foundation:: HANDLE , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn DisableMediaSense ( phandle : *mut super::super::Foundation:: HANDLE , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); DisableMediaSense(phandle, poverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn EnableRouter(phandle: *mut super::super::Foundation::HANDLE, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn EnableRouter ( phandle : *mut super::super::Foundation:: HANDLE , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn EnableRouter ( phandle : *mut super::super::Foundation:: HANDLE , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> u32 ); EnableRouter(phandle, poverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn FlushIpNetTable(dwifindex: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn FlushIpNetTable ( dwifindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn FlushIpNetTable ( dwifindex : u32 ) -> u32 ); FlushIpNetTable(dwifindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn FlushIpNetTable2(family: super::super::Networking::WinSock::ADDRESS_FAMILY, interfaceindex: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn FlushIpNetTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , interfaceindex : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn FlushIpNetTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , interfaceindex : u32 ) -> super::super::Foundation:: NTSTATUS ); FlushIpNetTable2(family, interfaceindex).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn FlushIpPathTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn FlushIpPathTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn FlushIpPathTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY ) -> super::super::Foundation:: NTSTATUS ); FlushIpPathTable(family).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn FreeDnsSettings(settings: *mut DNS_SETTINGS) { - ::windows::core::link ! ( "iphlpapi.dll""system" fn FreeDnsSettings ( settings : *mut DNS_SETTINGS ) -> ( ) ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn FreeDnsSettings ( settings : *mut DNS_SETTINGS ) -> ( ) ); FreeDnsSettings(settings) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn FreeInterfaceDnsSettings(settings: *mut DNS_INTERFACE_SETTINGS) { - ::windows::core::link ! ( "iphlpapi.dll""system" fn FreeInterfaceDnsSettings ( settings : *mut DNS_INTERFACE_SETTINGS ) -> ( ) ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn FreeInterfaceDnsSettings ( settings : *mut DNS_INTERFACE_SETTINGS ) -> ( ) ); FreeInterfaceDnsSettings(settings) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn FreeMibTable(memory: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "iphlpapi.dll""system" fn FreeMibTable ( memory : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn FreeMibTable ( memory : *const ::core::ffi::c_void ) -> ( ) ); FreeMibTable(memory) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] @@ -324,93 +324,93 @@ pub unsafe fn GetAdapterIndex(adaptername: P0, ifindex: *mut u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetAdapterIndex ( adaptername : :: windows::core::PCWSTR , ifindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetAdapterIndex ( adaptername : :: windows::core::PCWSTR , ifindex : *mut u32 ) -> u32 ); GetAdapterIndex(adaptername.into().abi(), ifindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetAdapterOrderMap() -> *mut IP_ADAPTER_ORDER_MAP { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetAdapterOrderMap ( ) -> *mut IP_ADAPTER_ORDER_MAP ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetAdapterOrderMap ( ) -> *mut IP_ADAPTER_ORDER_MAP ); GetAdapterOrderMap() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetAdaptersAddresses(family: u32, flags: GET_ADAPTERS_ADDRESSES_FLAGS, reserved: ::core::option::Option<*const ::core::ffi::c_void>, adapteraddresses: ::core::option::Option<*mut IP_ADAPTER_ADDRESSES_LH>, sizepointer: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetAdaptersAddresses ( family : u32 , flags : GET_ADAPTERS_ADDRESSES_FLAGS , reserved : *const ::core::ffi::c_void , adapteraddresses : *mut IP_ADAPTER_ADDRESSES_LH , sizepointer : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetAdaptersAddresses ( family : u32 , flags : GET_ADAPTERS_ADDRESSES_FLAGS , reserved : *const ::core::ffi::c_void , adapteraddresses : *mut IP_ADAPTER_ADDRESSES_LH , sizepointer : *mut u32 ) -> u32 ); GetAdaptersAddresses(family, flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(adapteraddresses.unwrap_or(::std::ptr::null_mut())), sizepointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAdaptersInfo(adapterinfo: ::core::option::Option<*mut IP_ADAPTER_INFO>, sizepointer: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetAdaptersInfo ( adapterinfo : *mut IP_ADAPTER_INFO , sizepointer : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetAdaptersInfo ( adapterinfo : *mut IP_ADAPTER_INFO , sizepointer : *mut u32 ) -> u32 ); GetAdaptersInfo(::core::mem::transmute(adapterinfo.unwrap_or(::std::ptr::null_mut())), sizepointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetAnycastIpAddressEntry(row: *mut MIB_ANYCASTIPADDRESS_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetAnycastIpAddressEntry ( row : *mut MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetAnycastIpAddressEntry ( row : *mut MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); GetAnycastIpAddressEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetAnycastIpAddressTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_ANYCASTIPADDRESS_TABLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetAnycastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_ANYCASTIPADDRESS_TABLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetAnycastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_ANYCASTIPADDRESS_TABLE ) -> super::super::Foundation:: NTSTATUS ); GetAnycastIpAddressTable(family, table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetBestInterface(dwdestaddr: u32, pdwbestifindex: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetBestInterface ( dwdestaddr : u32 , pdwbestifindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetBestInterface ( dwdestaddr : u32 , pdwbestifindex : *mut u32 ) -> u32 ); GetBestInterface(dwdestaddr, pdwbestifindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetBestInterfaceEx(pdestaddr: *const super::super::Networking::WinSock::SOCKADDR, pdwbestifindex: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetBestInterfaceEx ( pdestaddr : *const super::super::Networking::WinSock:: SOCKADDR , pdwbestifindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetBestInterfaceEx ( pdestaddr : *const super::super::Networking::WinSock:: SOCKADDR , pdwbestifindex : *mut u32 ) -> u32 ); GetBestInterfaceEx(pdestaddr, pdwbestifindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn GetBestRoute(dwdestaddr: u32, dwsourceaddr: u32, pbestroute: *mut MIB_IPFORWARDROW) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetBestRoute ( dwdestaddr : u32 , dwsourceaddr : u32 , pbestroute : *mut MIB_IPFORWARDROW ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetBestRoute ( dwdestaddr : u32 , dwsourceaddr : u32 , pbestroute : *mut MIB_IPFORWARDROW ) -> u32 ); GetBestRoute(dwdestaddr, dwsourceaddr, pbestroute) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetBestRoute2(interfaceluid: ::core::option::Option<*const super::Ndis::NET_LUID_LH>, interfaceindex: u32, sourceaddress: ::core::option::Option<*const super::super::Networking::WinSock::SOCKADDR_INET>, destinationaddress: *const super::super::Networking::WinSock::SOCKADDR_INET, addresssortoptions: u32, bestroute: *mut MIB_IPFORWARD_ROW2, bestsourceaddress: *mut super::super::Networking::WinSock::SOCKADDR_INET) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetBestRoute2 ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceindex : u32 , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET , destinationaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET , addresssortoptions : u32 , bestroute : *mut MIB_IPFORWARD_ROW2 , bestsourceaddress : *mut super::super::Networking::WinSock:: SOCKADDR_INET ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetBestRoute2 ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceindex : u32 , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET , destinationaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET , addresssortoptions : u32 , bestroute : *mut MIB_IPFORWARD_ROW2 , bestsourceaddress : *mut super::super::Networking::WinSock:: SOCKADDR_INET ) -> super::super::Foundation:: NTSTATUS ); GetBestRoute2(::core::mem::transmute(interfaceluid.unwrap_or(::std::ptr::null())), interfaceindex, ::core::mem::transmute(sourceaddress.unwrap_or(::std::ptr::null())), destinationaddress, addresssortoptions, bestroute, bestsourceaddress).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetCurrentThreadCompartmentId() -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetCurrentThreadCompartmentId ( ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetCurrentThreadCompartmentId ( ) -> u32 ); GetCurrentThreadCompartmentId() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetCurrentThreadCompartmentScope(compartmentscope: *mut u32, compartmentid: *mut u32) { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetCurrentThreadCompartmentScope ( compartmentscope : *mut u32 , compartmentid : *mut u32 ) -> ( ) ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetCurrentThreadCompartmentScope ( compartmentscope : *mut u32 , compartmentid : *mut u32 ) -> ( ) ); GetCurrentThreadCompartmentScope(compartmentscope, compartmentid) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetDefaultCompartmentId() -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetDefaultCompartmentId ( ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetDefaultCompartmentId ( ) -> u32 ); GetDefaultCompartmentId() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDnsSettings(settings: *mut DNS_SETTINGS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetDnsSettings ( settings : *mut DNS_SETTINGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetDnsSettings ( settings : *mut DNS_SETTINGS ) -> super::super::Foundation:: NTSTATUS ); GetDnsSettings(settings).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -420,7 +420,7 @@ pub unsafe fn GetExtendedTcpTable(ptcptable: ::core::option::Option<*mut ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetExtendedTcpTable ( ptcptable : *mut ::core::ffi::c_void , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL , ulaf : u32 , tableclass : TCP_TABLE_CLASS , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetExtendedTcpTable ( ptcptable : *mut ::core::ffi::c_void , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL , ulaf : u32 , tableclass : TCP_TABLE_CLASS , reserved : u32 ) -> u32 ); GetExtendedTcpTable(::core::mem::transmute(ptcptable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into(), ulaf, tableclass, reserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -430,52 +430,52 @@ pub unsafe fn GetExtendedUdpTable(pudptable: ::core::option::Option<*mut ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetExtendedUdpTable ( pudptable : *mut ::core::ffi::c_void , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL , ulaf : u32 , tableclass : UDP_TABLE_CLASS , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetExtendedUdpTable ( pudptable : *mut ::core::ffi::c_void , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL , ulaf : u32 , tableclass : UDP_TABLE_CLASS , reserved : u32 ) -> u32 ); GetExtendedUdpTable(::core::mem::transmute(pudptable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into(), ulaf, tableclass, reserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetFriendlyIfIndex(ifindex: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetFriendlyIfIndex ( ifindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetFriendlyIfIndex ( ifindex : u32 ) -> u32 ); GetFriendlyIfIndex(ifindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetIcmpStatistics(statistics: *mut MIB_ICMP) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIcmpStatistics ( statistics : *mut MIB_ICMP ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIcmpStatistics ( statistics : *mut MIB_ICMP ) -> u32 ); GetIcmpStatistics(statistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetIcmpStatisticsEx(statistics: *mut MIB_ICMP_EX_XPSP1, family: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIcmpStatisticsEx ( statistics : *mut MIB_ICMP_EX_XPSP1 , family : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIcmpStatisticsEx ( statistics : *mut MIB_ICMP_EX_XPSP1 , family : u32 ) -> u32 ); GetIcmpStatisticsEx(statistics, family) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetIfEntry(pifrow: *mut MIB_IFROW) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIfEntry ( pifrow : *mut MIB_IFROW ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIfEntry ( pifrow : *mut MIB_IFROW ) -> u32 ); GetIfEntry(pifrow) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn GetIfEntry2(row: *mut MIB_IF_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIfEntry2 ( row : *mut MIB_IF_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIfEntry2 ( row : *mut MIB_IF_ROW2 ) -> super::super::Foundation:: NTSTATUS ); GetIfEntry2(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn GetIfEntry2Ex(level: MIB_IF_ENTRY_LEVEL, row: *mut MIB_IF_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIfEntry2Ex ( level : MIB_IF_ENTRY_LEVEL , row : *mut MIB_IF_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIfEntry2Ex ( level : MIB_IF_ENTRY_LEVEL , row : *mut MIB_IF_ROW2 ) -> super::super::Foundation:: NTSTATUS ); GetIfEntry2Ex(level, row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetIfStackTable(table: *mut *mut MIB_IFSTACK_TABLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIfStackTable ( table : *mut *mut MIB_IFSTACK_TABLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIfStackTable ( table : *mut *mut MIB_IFSTACK_TABLE ) -> super::super::Foundation:: NTSTATUS ); GetIfStackTable(table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -485,55 +485,55 @@ pub unsafe fn GetIfTable(piftable: ::core::option::Option<*mut MIB_IFTABLE>, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIfTable ( piftable : *mut MIB_IFTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIfTable ( piftable : *mut MIB_IFTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); GetIfTable(::core::mem::transmute(piftable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn GetIfTable2(table: *mut *mut MIB_IF_TABLE2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIfTable2 ( table : *mut *mut MIB_IF_TABLE2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIfTable2 ( table : *mut *mut MIB_IF_TABLE2 ) -> super::super::Foundation:: NTSTATUS ); GetIfTable2(table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn GetIfTable2Ex(level: MIB_IF_TABLE_LEVEL, table: *mut *mut MIB_IF_TABLE2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIfTable2Ex ( level : MIB_IF_TABLE_LEVEL , table : *mut *mut MIB_IF_TABLE2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIfTable2Ex ( level : MIB_IF_TABLE_LEVEL , table : *mut *mut MIB_IF_TABLE2 ) -> super::super::Foundation:: NTSTATUS ); GetIfTable2Ex(level, table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn GetInterfaceActiveTimestampCapabilities(interfaceluid: *const super::Ndis::NET_LUID_LH, timestampcapabilites: *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetInterfaceActiveTimestampCapabilities ( interfaceluid : *const super::Ndis:: NET_LUID_LH , timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetInterfaceActiveTimestampCapabilities ( interfaceluid : *const super::Ndis:: NET_LUID_LH , timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES ) -> u32 ); GetInterfaceActiveTimestampCapabilities(interfaceluid, timestampcapabilites) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetInterfaceDnsSettings(interface: ::windows::core::GUID, settings: *mut DNS_INTERFACE_SETTINGS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetInterfaceDnsSettings ( interface : :: windows::core::GUID , settings : *mut DNS_INTERFACE_SETTINGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetInterfaceDnsSettings ( interface : :: windows::core::GUID , settings : *mut DNS_INTERFACE_SETTINGS ) -> super::super::Foundation:: NTSTATUS ); GetInterfaceDnsSettings(::core::mem::transmute(interface), settings).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetInterfaceInfo(piftable: ::core::option::Option<*mut IP_INTERFACE_INFO>, dwoutbuflen: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetInterfaceInfo ( piftable : *mut IP_INTERFACE_INFO , dwoutbuflen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetInterfaceInfo ( piftable : *mut IP_INTERFACE_INFO , dwoutbuflen : *mut u32 ) -> u32 ); GetInterfaceInfo(::core::mem::transmute(piftable.unwrap_or(::std::ptr::null_mut())), dwoutbuflen) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] #[inline] pub unsafe fn GetInterfaceSupportedTimestampCapabilities(interfaceluid: *const super::Ndis::NET_LUID_LH, timestampcapabilites: *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetInterfaceSupportedTimestampCapabilities ( interfaceluid : *const super::Ndis:: NET_LUID_LH , timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetInterfaceSupportedTimestampCapabilities ( interfaceluid : *const super::Ndis:: NET_LUID_LH , timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES ) -> u32 ); GetInterfaceSupportedTimestampCapabilities(interfaceluid, timestampcapabilites) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetInvertedIfStackTable(table: *mut *mut MIB_INVERTEDIFSTACK_TABLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetInvertedIfStackTable ( table : *mut *mut MIB_INVERTEDIFSTACK_TABLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetInvertedIfStackTable ( table : *mut *mut MIB_INVERTEDIFSTACK_TABLE ) -> super::super::Foundation:: NTSTATUS ); GetInvertedIfStackTable(table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -543,20 +543,20 @@ pub unsafe fn GetIpAddrTable(pipaddrtable: ::core::option::Option<*mut MIB_I where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpAddrTable ( pipaddrtable : *mut MIB_IPADDRTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpAddrTable ( pipaddrtable : *mut MIB_IPADDRTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); GetIpAddrTable(::core::mem::transmute(pipaddrtable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetIpErrorString(errorcode: u32, buffer: ::windows::core::PWSTR, size: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpErrorString ( errorcode : u32 , buffer : :: windows::core::PWSTR , size : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpErrorString ( errorcode : u32 , buffer : :: windows::core::PWSTR , size : *mut u32 ) -> u32 ); GetIpErrorString(errorcode, ::core::mem::transmute(buffer), size) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpForwardEntry2(row: *mut MIB_IPFORWARD_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpForwardEntry2 ( row : *mut MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpForwardEntry2 ( row : *mut MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: NTSTATUS ); GetIpForwardEntry2(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -566,35 +566,35 @@ pub unsafe fn GetIpForwardTable(pipforwardtable: ::core::option::Option<*mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpForwardTable ( pipforwardtable : *mut MIB_IPFORWARDTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpForwardTable ( pipforwardtable : *mut MIB_IPFORWARDTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); GetIpForwardTable(::core::mem::transmute(pipforwardtable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpForwardTable2(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_IPFORWARD_TABLE2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpForwardTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPFORWARD_TABLE2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpForwardTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPFORWARD_TABLE2 ) -> super::super::Foundation:: NTSTATUS ); GetIpForwardTable2(family, table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> super::super::Foundation:: NTSTATUS ); GetIpInterfaceEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpInterfaceTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_IPINTERFACE_TABLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpInterfaceTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPINTERFACE_TABLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpInterfaceTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPINTERFACE_TABLE ) -> super::super::Foundation:: NTSTATUS ); GetIpInterfaceTable(family, table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpNetEntry2(row: *mut MIB_IPNET_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpNetEntry2 ( row : *mut MIB_IPNET_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpNetEntry2 ( row : *mut MIB_IPNET_ROW2 ) -> super::super::Foundation:: NTSTATUS ); GetIpNetEntry2(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -604,47 +604,47 @@ pub unsafe fn GetIpNetTable(ipnettable: ::core::option::Option<*mut MIB_IPNE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpNetTable ( ipnettable : *mut MIB_IPNETTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpNetTable ( ipnettable : *mut MIB_IPNETTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); GetIpNetTable(::core::mem::transmute(ipnettable.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpNetTable2(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_IPNET_TABLE2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpNetTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPNET_TABLE2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpNetTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPNET_TABLE2 ) -> super::super::Foundation:: NTSTATUS ); GetIpNetTable2(family, table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpNetworkConnectionBandwidthEstimates(interfaceindex: u32, addressfamily: super::super::Networking::WinSock::ADDRESS_FAMILY, bandwidthestimates: *mut MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpNetworkConnectionBandwidthEstimates ( interfaceindex : u32 , addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY , bandwidthestimates : *mut MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpNetworkConnectionBandwidthEstimates ( interfaceindex : u32 , addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY , bandwidthestimates : *mut MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES ) -> super::super::Foundation:: NTSTATUS ); GetIpNetworkConnectionBandwidthEstimates(interfaceindex, addressfamily, bandwidthestimates).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpPathEntry(row: *mut MIB_IPPATH_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpPathEntry ( row : *mut MIB_IPPATH_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpPathEntry ( row : *mut MIB_IPPATH_ROW ) -> super::super::Foundation:: NTSTATUS ); GetIpPathEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetIpPathTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_IPPATH_TABLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpPathTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPPATH_TABLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpPathTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPPATH_TABLE ) -> super::super::Foundation:: NTSTATUS ); GetIpPathTable(family, table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetIpStatistics(statistics: *mut MIB_IPSTATS_LH) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpStatistics ( statistics : *mut MIB_IPSTATS_LH ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpStatistics ( statistics : *mut MIB_IPSTATS_LH ) -> u32 ); GetIpStatistics(statistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetIpStatisticsEx(statistics: *mut MIB_IPSTATS_LH, family: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetIpStatisticsEx ( statistics : *mut MIB_IPSTATS_LH , family : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetIpStatisticsEx ( statistics : *mut MIB_IPSTATS_LH , family : u32 ) -> u32 ); GetIpStatisticsEx(statistics, family) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -654,118 +654,118 @@ pub unsafe fn GetJobCompartmentId(jobhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetJobCompartmentId ( jobhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetJobCompartmentId ( jobhandle : super::super::Foundation:: HANDLE ) -> u32 ); GetJobCompartmentId(jobhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetMulticastIpAddressEntry(row: *mut MIB_MULTICASTIPADDRESS_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetMulticastIpAddressEntry ( row : *mut MIB_MULTICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetMulticastIpAddressEntry ( row : *mut MIB_MULTICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); GetMulticastIpAddressEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetMulticastIpAddressTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_MULTICASTIPADDRESS_TABLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetMulticastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_MULTICASTIPADDRESS_TABLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetMulticastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_MULTICASTIPADDRESS_TABLE ) -> super::super::Foundation:: NTSTATUS ); GetMulticastIpAddressTable(family, table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetNetworkConnectivityHint(connectivityhint: *mut super::super::Networking::WinSock::NL_NETWORK_CONNECTIVITY_HINT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetNetworkConnectivityHint ( connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetNetworkConnectivityHint ( connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT ) -> super::super::Foundation:: NTSTATUS ); GetNetworkConnectivityHint(connectivityhint).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetNetworkConnectivityHintForInterface(interfaceindex: u32, connectivityhint: *mut super::super::Networking::WinSock::NL_NETWORK_CONNECTIVITY_HINT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetNetworkConnectivityHintForInterface ( interfaceindex : u32 , connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetNetworkConnectivityHintForInterface ( interfaceindex : u32 , connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT ) -> super::super::Foundation:: NTSTATUS ); GetNetworkConnectivityHintForInterface(interfaceindex, connectivityhint).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNetworkInformation(networkguid: *const ::windows::core::GUID, compartmentid: *mut u32, siteid: *mut u32, networkname: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetNetworkInformation ( networkguid : *const :: windows::core::GUID , compartmentid : *mut u32 , siteid : *mut u32 , networkname : :: windows::core::PWSTR , length : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetNetworkInformation ( networkguid : *const :: windows::core::GUID , compartmentid : *mut u32 , siteid : *mut u32 , networkname : :: windows::core::PWSTR , length : u32 ) -> super::super::Foundation:: NTSTATUS ); GetNetworkInformation(networkguid, compartmentid, siteid, ::core::mem::transmute(networkname.as_ptr()), networkname.len() as _).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNetworkParams(pfixedinfo: ::core::option::Option<*mut FIXED_INFO_W2KSP1>, poutbuflen: *mut u32) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetNetworkParams ( pfixedinfo : *mut FIXED_INFO_W2KSP1 , poutbuflen : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetNetworkParams ( pfixedinfo : *mut FIXED_INFO_W2KSP1 , poutbuflen : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetNetworkParams(::core::mem::transmute(pfixedinfo.unwrap_or(::std::ptr::null_mut())), poutbuflen) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetNumberOfInterfaces(pdwnumif: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetNumberOfInterfaces ( pdwnumif : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetNumberOfInterfaces ( pdwnumif : *mut u32 ) -> u32 ); GetNumberOfInterfaces(pdwnumif) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetOwnerModuleFromPidAndInfo(ulpid: u32, pinfo: *const u64, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromPidAndInfo ( ulpid : u32 , pinfo : *const u64 , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromPidAndInfo ( ulpid : u32 , pinfo : *const u64 , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); GetOwnerModuleFromPidAndInfo(ulpid, pinfo, class, pbuffer, pdwsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetOwnerModuleFromTcp6Entry(ptcpentry: *const MIB_TCP6ROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromTcp6Entry ( ptcpentry : *const MIB_TCP6ROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromTcp6Entry ( ptcpentry : *const MIB_TCP6ROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); GetOwnerModuleFromTcp6Entry(ptcpentry, class, pbuffer, pdwsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetOwnerModuleFromTcpEntry(ptcpentry: *const MIB_TCPROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromTcpEntry ( ptcpentry : *const MIB_TCPROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromTcpEntry ( ptcpentry : *const MIB_TCPROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); GetOwnerModuleFromTcpEntry(ptcpentry, class, pbuffer, pdwsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetOwnerModuleFromUdp6Entry(pudpentry: *const MIB_UDP6ROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromUdp6Entry ( pudpentry : *const MIB_UDP6ROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromUdp6Entry ( pudpentry : *const MIB_UDP6ROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); GetOwnerModuleFromUdp6Entry(pudpentry, class, pbuffer, pdwsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetOwnerModuleFromUdpEntry(pudpentry: *const MIB_UDPROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromUdpEntry ( pudpentry : *const MIB_UDPROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromUdpEntry ( pudpentry : *const MIB_UDPROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); GetOwnerModuleFromUdpEntry(pudpentry, class, pbuffer, pdwsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPerAdapterInfo(ifindex: u32, pperadapterinfo: ::core::option::Option<*mut IP_PER_ADAPTER_INFO_W2KSP1>, poutbuflen: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetPerAdapterInfo ( ifindex : u32 , pperadapterinfo : *mut IP_PER_ADAPTER_INFO_W2KSP1 , poutbuflen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetPerAdapterInfo ( ifindex : u32 , pperadapterinfo : *mut IP_PER_ADAPTER_INFO_W2KSP1 , poutbuflen : *mut u32 ) -> u32 ); GetPerAdapterInfo(ifindex, ::core::mem::transmute(pperadapterinfo.unwrap_or(::std::ptr::null_mut())), poutbuflen) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn GetPerTcp6ConnectionEStats(row: *const MIB_TCP6ROW, estatstype: TCP_ESTATS_TYPE, rw: ::core::option::Option<&mut [u8]>, rwversion: u32, ros: ::core::option::Option<&mut [u8]>, rosversion: u32, rod: ::core::option::Option<&mut [u8]>, rodversion: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetPerTcp6ConnectionEStats ( row : *const MIB_TCP6ROW , estatstype : TCP_ESTATS_TYPE , rw : *mut u8 , rwversion : u32 , rwsize : u32 , ros : *mut u8 , rosversion : u32 , rossize : u32 , rod : *mut u8 , rodversion : u32 , rodsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetPerTcp6ConnectionEStats ( row : *const MIB_TCP6ROW , estatstype : TCP_ESTATS_TYPE , rw : *mut u8 , rwversion : u32 , rwsize : u32 , ros : *mut u8 , rosversion : u32 , rossize : u32 , rod : *mut u8 , rodversion : u32 , rodsize : u32 ) -> u32 ); GetPerTcp6ConnectionEStats(row, estatstype, ::core::mem::transmute(rw.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rwversion, rw.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ros.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rosversion, ros.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rod.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rodversion, rod.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetPerTcpConnectionEStats(row: *const MIB_TCPROW_LH, estatstype: TCP_ESTATS_TYPE, rw: ::core::option::Option<&mut [u8]>, rwversion: u32, ros: ::core::option::Option<&mut [u8]>, rosversion: u32, rod: ::core::option::Option<&mut [u8]>, rodversion: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetPerTcpConnectionEStats ( row : *const MIB_TCPROW_LH , estatstype : TCP_ESTATS_TYPE , rw : *mut u8 , rwversion : u32 , rwsize : u32 , ros : *mut u8 , rosversion : u32 , rossize : u32 , rod : *mut u8 , rodversion : u32 , rodsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetPerTcpConnectionEStats ( row : *const MIB_TCPROW_LH , estatstype : TCP_ESTATS_TYPE , rw : *mut u8 , rwversion : u32 , rwsize : u32 , ros : *mut u8 , rosversion : u32 , rossize : u32 , rod : *mut u8 , rodversion : u32 , rodsize : u32 ) -> u32 ); GetPerTcpConnectionEStats(row, estatstype, ::core::mem::transmute(rw.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rwversion, rw.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ros.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rosversion, ros.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rod.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rodversion, rod.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetRTTAndHopCount(destipaddress: u32, hopcount: *mut u32, maxhops: u32, rtt: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetRTTAndHopCount ( destipaddress : u32 , hopcount : *mut u32 , maxhops : u32 , rtt : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetRTTAndHopCount ( destipaddress : u32 , hopcount : *mut u32 , maxhops : u32 , rtt : *mut u32 ) -> super::super::Foundation:: BOOL ); GetRTTAndHopCount(destipaddress, hopcount, maxhops, rtt) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetSessionCompartmentId(sessionid: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetSessionCompartmentId ( sessionid : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetSessionCompartmentId ( sessionid : u32 ) -> u32 ); GetSessionCompartmentId(sessionid) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -775,7 +775,7 @@ pub unsafe fn GetTcp6Table(tcptable: *mut MIB_TCP6TABLE, sizepointer: *mut u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetTcp6Table ( tcptable : *mut MIB_TCP6TABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetTcp6Table ( tcptable : *mut MIB_TCP6TABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); GetTcp6Table(tcptable, sizepointer, order.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -785,25 +785,25 @@ pub unsafe fn GetTcp6Table2(tcptable: *mut MIB_TCP6TABLE2, sizepointer: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetTcp6Table2 ( tcptable : *mut MIB_TCP6TABLE2 , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetTcp6Table2 ( tcptable : *mut MIB_TCP6TABLE2 , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); GetTcp6Table2(tcptable, sizepointer, order.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetTcpStatistics(statistics: *mut MIB_TCPSTATS_LH) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetTcpStatistics ( statistics : *mut MIB_TCPSTATS_LH ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetTcpStatistics ( statistics : *mut MIB_TCPSTATS_LH ) -> u32 ); GetTcpStatistics(statistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetTcpStatisticsEx(statistics: *mut MIB_TCPSTATS_LH, family: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetTcpStatisticsEx ( statistics : *mut MIB_TCPSTATS_LH , family : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetTcpStatisticsEx ( statistics : *mut MIB_TCPSTATS_LH , family : u32 ) -> u32 ); GetTcpStatisticsEx(statistics, family) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetTcpStatisticsEx2(statistics: *mut MIB_TCPSTATS2, family: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetTcpStatisticsEx2 ( statistics : *mut MIB_TCPSTATS2 , family : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetTcpStatisticsEx2 ( statistics : *mut MIB_TCPSTATS2 , family : u32 ) -> u32 ); GetTcpStatisticsEx2(statistics, family) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -813,7 +813,7 @@ pub unsafe fn GetTcpTable(tcptable: ::core::option::Option<*mut MIB_TCPTABLE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetTcpTable ( tcptable : *mut MIB_TCPTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetTcpTable ( tcptable : *mut MIB_TCPTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); GetTcpTable(::core::mem::transmute(tcptable.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -823,14 +823,14 @@ pub unsafe fn GetTcpTable2(tcptable: ::core::option::Option<*mut MIB_TCPTABL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetTcpTable2 ( tcptable : *mut MIB_TCPTABLE2 , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetTcpTable2 ( tcptable : *mut MIB_TCPTABLE2 , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); GetTcpTable2(::core::mem::transmute(tcptable.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetTeredoPort(port: *mut u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetTeredoPort ( port : *mut u16 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetTeredoPort ( port : *mut u16 ) -> super::super::Foundation:: NTSTATUS ); GetTeredoPort(port).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -840,25 +840,25 @@ pub unsafe fn GetUdp6Table(udp6table: ::core::option::Option<*mut MIB_UDP6TA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetUdp6Table ( udp6table : *mut MIB_UDP6TABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetUdp6Table ( udp6table : *mut MIB_UDP6TABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); GetUdp6Table(::core::mem::transmute(udp6table.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetUdpStatistics(stats: *mut MIB_UDPSTATS) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetUdpStatistics ( stats : *mut MIB_UDPSTATS ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetUdpStatistics ( stats : *mut MIB_UDPSTATS ) -> u32 ); GetUdpStatistics(stats) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetUdpStatisticsEx(statistics: *mut MIB_UDPSTATS, family: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetUdpStatisticsEx ( statistics : *mut MIB_UDPSTATS , family : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetUdpStatisticsEx ( statistics : *mut MIB_UDPSTATS , family : u32 ) -> u32 ); GetUdpStatisticsEx(statistics, family) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetUdpStatisticsEx2(statistics: *mut MIB_UDPSTATS2, family: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetUdpStatisticsEx2 ( statistics : *mut MIB_UDPSTATS2 , family : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetUdpStatisticsEx2 ( statistics : *mut MIB_UDPSTATS2 , family : u32 ) -> u32 ); GetUdpStatisticsEx2(statistics, family) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -868,40 +868,40 @@ pub unsafe fn GetUdpTable(udptable: ::core::option::Option<*mut MIB_UDPTABLE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetUdpTable ( udptable : *mut MIB_UDPTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetUdpTable ( udptable : *mut MIB_UDPTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); GetUdpTable(::core::mem::transmute(udptable.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn GetUniDirectionalAdapterInfo(pipifinfo: ::core::option::Option<*mut IP_UNIDIRECTIONAL_ADAPTER_ADDRESS>, dwoutbuflen: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetUniDirectionalAdapterInfo ( pipifinfo : *mut IP_UNIDIRECTIONAL_ADAPTER_ADDRESS , dwoutbuflen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetUniDirectionalAdapterInfo ( pipifinfo : *mut IP_UNIDIRECTIONAL_ADAPTER_ADDRESS , dwoutbuflen : *mut u32 ) -> u32 ); GetUniDirectionalAdapterInfo(::core::mem::transmute(pipifinfo.unwrap_or(::std::ptr::null_mut())), dwoutbuflen) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetUnicastIpAddressEntry(row: *mut MIB_UNICASTIPADDRESS_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetUnicastIpAddressEntry ( row : *mut MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetUnicastIpAddressEntry ( row : *mut MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); GetUnicastIpAddressEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn GetUnicastIpAddressTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_UNICASTIPADDRESS_TABLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn GetUnicastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_UNICASTIPADDRESS_TABLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn GetUnicastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_UNICASTIPADDRESS_TABLE ) -> super::super::Foundation:: NTSTATUS ); GetUnicastIpAddressTable(family, table).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn Icmp6CreateFile() -> ::windows::core::Result { - ::windows::core::link ! ( "iphlpapi.dll""system" fn Icmp6CreateFile ( ) -> IcmpHandle ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn Icmp6CreateFile ( ) -> IcmpHandle ); let result__ = Icmp6CreateFile(); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn Icmp6ParseReplies(replybuffer: *mut ::core::ffi::c_void, replysize: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn Icmp6ParseReplies ( replybuffer : *mut ::core::ffi::c_void , replysize : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn Icmp6ParseReplies ( replybuffer : *mut ::core::ffi::c_void , replysize : u32 ) -> u32 ); Icmp6ParseReplies(replybuffer, replysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -912,7 +912,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn Icmp6SendEcho2 ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , destinationaddress : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn Icmp6SendEcho2 ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , destinationaddress : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); Icmp6SendEcho2(icmphandle.into(), event.into(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), sourceaddress, destinationaddress, requestdata, requestsize, ::core::mem::transmute(requestoptions.unwrap_or(::std::ptr::null())), replybuffer, replysize, timeout) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -922,20 +922,20 @@ pub unsafe fn IcmpCloseHandle(icmphandle: P0) -> super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn IcmpCloseHandle ( icmphandle : IcmpHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn IcmpCloseHandle ( icmphandle : IcmpHandle ) -> super::super::Foundation:: BOOL ); IcmpCloseHandle(icmphandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn IcmpCreateFile() -> ::windows::core::Result { - ::windows::core::link ! ( "iphlpapi.dll""system" fn IcmpCreateFile ( ) -> IcmpHandle ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn IcmpCreateFile ( ) -> IcmpHandle ); let result__ = IcmpCreateFile(); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn IcmpParseReplies(replybuffer: *mut ::core::ffi::c_void, replysize: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn IcmpParseReplies ( replybuffer : *mut ::core::ffi::c_void , replysize : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn IcmpParseReplies ( replybuffer : *mut ::core::ffi::c_void , replysize : u32 ) -> u32 ); IcmpParseReplies(replybuffer, replysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] @@ -944,7 +944,7 @@ pub unsafe fn IcmpSendEcho(icmphandle: P0, destinationaddress: u32, requestd where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho ( icmphandle : IcmpHandle , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho ( icmphandle : IcmpHandle , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); IcmpSendEcho(icmphandle.into(), destinationaddress, requestdata, requestsize, ::core::mem::transmute(requestoptions.unwrap_or(::std::ptr::null())), replybuffer, replysize, timeout) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -955,7 +955,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho2 ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho2 ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); IcmpSendEcho2(icmphandle.into(), event.into(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), destinationaddress, requestdata, requestsize, ::core::mem::transmute(requestoptions.unwrap_or(::std::ptr::null())), replybuffer, replysize, timeout) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -966,52 +966,52 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho2Ex ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , sourceaddress : u32 , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho2Ex ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , sourceaddress : u32 , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); IcmpSendEcho2Ex(icmphandle.into(), event.into(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), sourceaddress, destinationaddress, requestdata, requestsize, ::core::mem::transmute(requestoptions.unwrap_or(::std::ptr::null())), replybuffer, replysize, timeout) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn InitializeIpForwardEntry(row: *mut MIB_IPFORWARD_ROW2) { - ::windows::core::link ! ( "iphlpapi.dll""system" fn InitializeIpForwardEntry ( row : *mut MIB_IPFORWARD_ROW2 ) -> ( ) ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn InitializeIpForwardEntry ( row : *mut MIB_IPFORWARD_ROW2 ) -> ( ) ); InitializeIpForwardEntry(row) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn InitializeIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW) { - ::windows::core::link ! ( "iphlpapi.dll""system" fn InitializeIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> ( ) ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn InitializeIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> ( ) ); InitializeIpInterfaceEntry(row) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn InitializeUnicastIpAddressEntry(row: *mut MIB_UNICASTIPADDRESS_ROW) { - ::windows::core::link ! ( "iphlpapi.dll""system" fn InitializeUnicastIpAddressEntry ( row : *mut MIB_UNICASTIPADDRESS_ROW ) -> ( ) ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn InitializeUnicastIpAddressEntry ( row : *mut MIB_UNICASTIPADDRESS_ROW ) -> ( ) ); InitializeUnicastIpAddressEntry(row) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn IpReleaseAddress(adapterinfo: *const IP_ADAPTER_INDEX_MAP) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn IpReleaseAddress ( adapterinfo : *const IP_ADAPTER_INDEX_MAP ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn IpReleaseAddress ( adapterinfo : *const IP_ADAPTER_INDEX_MAP ) -> u32 ); IpReleaseAddress(adapterinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn IpRenewAddress(adapterinfo: *const IP_ADAPTER_INDEX_MAP) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn IpRenewAddress ( adapterinfo : *const IP_ADAPTER_INDEX_MAP ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn IpRenewAddress ( adapterinfo : *const IP_ADAPTER_INDEX_MAP ) -> u32 ); IpRenewAddress(adapterinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn LookupPersistentTcpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn LookupPersistentTcpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn LookupPersistentTcpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); LookupPersistentTcpPortReservation(startport, numberofports, token) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn LookupPersistentUdpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn LookupPersistentUdpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn LookupPersistentUdpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); LookupPersistentUdpPortReservation(startport, numberofports, token) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -1022,14 +1022,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NhpAllocateAndGetInterfaceInfoFromStack ( pptable : *mut *mut IP_INTERFACE_NAME_INFO_W2KSP1 , pdwcount : *mut u32 , border : super::super::Foundation:: BOOL , hheap : super::super::Foundation:: HANDLE , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NhpAllocateAndGetInterfaceInfoFromStack ( pptable : *mut *mut IP_INTERFACE_NAME_INFO_W2KSP1 , pdwcount : *mut u32 , border : super::super::Foundation:: BOOL , hheap : super::super::Foundation:: HANDLE , dwflags : u32 ) -> u32 ); NhpAllocateAndGetInterfaceInfoFromStack(pptable, pdwcount, border.into(), hheap.into(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn NotifyAddrChange(handle: *mut super::super::Foundation::HANDLE, overlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NotifyAddrChange ( handle : *mut super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NotifyAddrChange ( handle : *mut super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); NotifyAddrChange(handle, overlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1039,7 +1039,7 @@ pub unsafe fn NotifyIpInterfaceChange(family: super::super::Networking::WinS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NotifyIpInterfaceChange ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PIPINTERFACE_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NotifyIpInterfaceChange ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PIPINTERFACE_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); NotifyIpInterfaceChange(family, callback, ::core::mem::transmute(callercontext.unwrap_or(::std::ptr::null())), initialnotification.into(), notificationhandle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1049,14 +1049,14 @@ pub unsafe fn NotifyNetworkConnectivityHintChange(callback: PNETWORK_CONNECT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NotifyNetworkConnectivityHintChange ( callback : PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NotifyNetworkConnectivityHintChange ( callback : PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); NotifyNetworkConnectivityHintChange(callback, ::core::mem::transmute(callercontext.unwrap_or(::std::ptr::null())), initialnotification.into(), notificationhandle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn NotifyRouteChange(handle: *mut super::super::Foundation::HANDLE, overlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NotifyRouteChange ( handle : *mut super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NotifyRouteChange ( handle : *mut super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); NotifyRouteChange(handle, overlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1066,14 +1066,14 @@ pub unsafe fn NotifyRouteChange2(addressfamily: super::super::Networking::Wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NotifyRouteChange2 ( addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PIPFORWARD_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NotifyRouteChange2 ( addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PIPFORWARD_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); NotifyRouteChange2(addressfamily, callback, callercontext, initialnotification.into(), notificationhandle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn NotifyStableUnicastIpAddressTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_UNICASTIPADDRESS_TABLE, callercallback: PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK, callercontext: *const ::core::ffi::c_void, notificationhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NotifyStableUnicastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_UNICASTIPADDRESS_TABLE , callercallback : PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK , callercontext : *const ::core::ffi::c_void , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NotifyStableUnicastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_UNICASTIPADDRESS_TABLE , callercallback : PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK , callercontext : *const ::core::ffi::c_void , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); NotifyStableUnicastIpAddressTable(family, table, callercallback, callercontext, notificationhandle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -1083,7 +1083,7 @@ pub unsafe fn NotifyTeredoPortChange(callback: PTEREDO_PORT_CHANGE_CALLBACK, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NotifyTeredoPortChange ( callback : PTEREDO_PORT_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NotifyTeredoPortChange ( callback : PTEREDO_PORT_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); NotifyTeredoPortChange(callback, callercontext, initialnotification.into(), notificationhandle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1093,31 +1093,31 @@ pub unsafe fn NotifyUnicastIpAddressChange(family: super::super::Networking: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn NotifyUnicastIpAddressChange ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PUNICAST_IPADDRESS_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn NotifyUnicastIpAddressChange ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PUNICAST_IPADDRESS_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); NotifyUnicastIpAddressChange(family, callback, ::core::mem::transmute(callercontext.unwrap_or(::std::ptr::null())), initialnotification.into(), notificationhandle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfAddFiltersToInterface(ih: *mut ::core::ffi::c_void, cinfilters: u32, pfiltin: *mut PF_FILTER_DESCRIPTOR, coutfilters: u32, pfiltout: *mut PF_FILTER_DESCRIPTOR, pfhandle: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfAddFiltersToInterface ( ih : *mut ::core::ffi::c_void , cinfilters : u32 , pfiltin : *mut PF_FILTER_DESCRIPTOR , coutfilters : u32 , pfiltout : *mut PF_FILTER_DESCRIPTOR , pfhandle : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfAddFiltersToInterface ( ih : *mut ::core::ffi::c_void , cinfilters : u32 , pfiltin : *mut PF_FILTER_DESCRIPTOR , coutfilters : u32 , pfiltout : *mut PF_FILTER_DESCRIPTOR , pfhandle : *mut *mut ::core::ffi::c_void ) -> u32 ); PfAddFiltersToInterface(ih, cinfilters, pfiltin, coutfilters, pfiltout, pfhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfAddGlobalFilterToInterface(pinterface: *mut ::core::ffi::c_void, gffilter: GLOBAL_FILTER) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfAddGlobalFilterToInterface ( pinterface : *mut ::core::ffi::c_void , gffilter : GLOBAL_FILTER ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfAddGlobalFilterToInterface ( pinterface : *mut ::core::ffi::c_void , gffilter : GLOBAL_FILTER ) -> u32 ); PfAddGlobalFilterToInterface(pinterface, gffilter) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfBindInterfaceToIPAddress(pinterface: *mut ::core::ffi::c_void, pfattype: PFADDRESSTYPE, ipaddress: *mut u8) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfBindInterfaceToIPAddress ( pinterface : *mut ::core::ffi::c_void , pfattype : PFADDRESSTYPE , ipaddress : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfBindInterfaceToIPAddress ( pinterface : *mut ::core::ffi::c_void , pfattype : PFADDRESSTYPE , ipaddress : *mut u8 ) -> u32 ); PfBindInterfaceToIPAddress(pinterface, pfattype, ipaddress) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfBindInterfaceToIndex(pinterface: *mut ::core::ffi::c_void, dwindex: u32, pfatlinktype: PFADDRESSTYPE, linkipaddress: *mut u8) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfBindInterfaceToIndex ( pinterface : *mut ::core::ffi::c_void , dwindex : u32 , pfatlinktype : PFADDRESSTYPE , linkipaddress : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfBindInterfaceToIndex ( pinterface : *mut ::core::ffi::c_void , dwindex : u32 , pfatlinktype : PFADDRESSTYPE , linkipaddress : *mut u8 ) -> u32 ); PfBindInterfaceToIndex(pinterface, dwindex, pfatlinktype, linkipaddress) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -1128,19 +1128,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfCreateInterface ( dwname : u32 , inaction : PFFORWARD_ACTION , outaction : PFFORWARD_ACTION , buselog : super::super::Foundation:: BOOL , bmustbeunique : super::super::Foundation:: BOOL , ppinterface : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfCreateInterface ( dwname : u32 , inaction : PFFORWARD_ACTION , outaction : PFFORWARD_ACTION , buselog : super::super::Foundation:: BOOL , bmustbeunique : super::super::Foundation:: BOOL , ppinterface : *mut *mut ::core::ffi::c_void ) -> u32 ); PfCreateInterface(dwname, inaction, outaction, buselog.into(), bmustbeunique.into(), ppinterface) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfDeleteInterface(pinterface: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfDeleteInterface ( pinterface : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfDeleteInterface ( pinterface : *mut ::core::ffi::c_void ) -> u32 ); PfDeleteInterface(pinterface) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfDeleteLog() -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfDeleteLog ( ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfDeleteLog ( ) -> u32 ); PfDeleteLog() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -1150,7 +1150,7 @@ pub unsafe fn PfGetInterfaceStatistics(pinterface: *mut ::core::ffi::c_void, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfGetInterfaceStatistics ( pinterface : *mut ::core::ffi::c_void , ppfstats : *mut PF_INTERFACE_STATS , pdwbuffersize : *mut u32 , fresetcounters : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfGetInterfaceStatistics ( pinterface : *mut ::core::ffi::c_void , ppfstats : *mut PF_INTERFACE_STATS , pdwbuffersize : *mut u32 , fresetcounters : super::super::Foundation:: BOOL ) -> u32 ); PfGetInterfaceStatistics(pinterface, ppfstats, pdwbuffersize, fresetcounters.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -1160,168 +1160,168 @@ pub unsafe fn PfMakeLog(hevent: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfMakeLog ( hevent : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfMakeLog ( hevent : super::super::Foundation:: HANDLE ) -> u32 ); PfMakeLog(hevent.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfRebindFilters(pinterface: *mut ::core::ffi::c_void, platebindinfo: *mut PF_LATEBIND_INFO) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfRebindFilters ( pinterface : *mut ::core::ffi::c_void , platebindinfo : *mut PF_LATEBIND_INFO ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfRebindFilters ( pinterface : *mut ::core::ffi::c_void , platebindinfo : *mut PF_LATEBIND_INFO ) -> u32 ); PfRebindFilters(pinterface, platebindinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfRemoveFilterHandles(pinterface: *mut ::core::ffi::c_void, cfilters: u32, pvhandles: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfRemoveFilterHandles ( pinterface : *mut ::core::ffi::c_void , cfilters : u32 , pvhandles : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfRemoveFilterHandles ( pinterface : *mut ::core::ffi::c_void , cfilters : u32 , pvhandles : *mut *mut ::core::ffi::c_void ) -> u32 ); PfRemoveFilterHandles(pinterface, cfilters, pvhandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfRemoveFiltersFromInterface(ih: *mut ::core::ffi::c_void, cinfilters: u32, pfiltin: *mut PF_FILTER_DESCRIPTOR, coutfilters: u32, pfiltout: *mut PF_FILTER_DESCRIPTOR) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfRemoveFiltersFromInterface ( ih : *mut ::core::ffi::c_void , cinfilters : u32 , pfiltin : *mut PF_FILTER_DESCRIPTOR , coutfilters : u32 , pfiltout : *mut PF_FILTER_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfRemoveFiltersFromInterface ( ih : *mut ::core::ffi::c_void , cinfilters : u32 , pfiltin : *mut PF_FILTER_DESCRIPTOR , coutfilters : u32 , pfiltout : *mut PF_FILTER_DESCRIPTOR ) -> u32 ); PfRemoveFiltersFromInterface(ih, cinfilters, pfiltin, coutfilters, pfiltout) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfRemoveGlobalFilterFromInterface(pinterface: *mut ::core::ffi::c_void, gffilter: GLOBAL_FILTER) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfRemoveGlobalFilterFromInterface ( pinterface : *mut ::core::ffi::c_void , gffilter : GLOBAL_FILTER ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfRemoveGlobalFilterFromInterface ( pinterface : *mut ::core::ffi::c_void , gffilter : GLOBAL_FILTER ) -> u32 ); PfRemoveGlobalFilterFromInterface(pinterface, gffilter) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfSetLogBuffer(pbbuffer: *mut u8, dwsize: u32, dwthreshold: u32, dwentries: u32, pdwloggedentries: *mut u32, pdwlostentries: *mut u32, pdwsizeused: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfSetLogBuffer ( pbbuffer : *mut u8 , dwsize : u32 , dwthreshold : u32 , dwentries : u32 , pdwloggedentries : *mut u32 , pdwlostentries : *mut u32 , pdwsizeused : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfSetLogBuffer ( pbbuffer : *mut u8 , dwsize : u32 , dwthreshold : u32 , dwentries : u32 , pdwloggedentries : *mut u32 , pdwlostentries : *mut u32 , pdwsizeused : *mut u32 ) -> u32 ); PfSetLogBuffer(pbbuffer, dwsize, dwthreshold, dwentries, pdwloggedentries, pdwlostentries, pdwsizeused) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfTestPacket(pininterface: *mut ::core::ffi::c_void, poutinterface: *mut ::core::ffi::c_void, cbytes: u32, pbpacket: *mut u8, ppaction: *mut PFFORWARD_ACTION) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfTestPacket ( pininterface : *mut ::core::ffi::c_void , poutinterface : *mut ::core::ffi::c_void , cbytes : u32 , pbpacket : *mut u8 , ppaction : *mut PFFORWARD_ACTION ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfTestPacket ( pininterface : *mut ::core::ffi::c_void , poutinterface : *mut ::core::ffi::c_void , cbytes : u32 , pbpacket : *mut u8 , ppaction : *mut PFFORWARD_ACTION ) -> u32 ); PfTestPacket(pininterface, poutinterface, cbytes, pbpacket, ppaction) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn PfUnBindInterface(pinterface: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn PfUnBindInterface ( pinterface : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn PfUnBindInterface ( pinterface : *mut ::core::ffi::c_void ) -> u32 ); PfUnBindInterface(pinterface) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn RegisterInterfaceTimestampConfigChange(callback: PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK, callercontext: ::core::option::Option<*const ::core::ffi::c_void>, notificationhandle: *mut HIFTIMESTAMPCHANGE) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn RegisterInterfaceTimestampConfigChange ( callback : PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , notificationhandle : *mut HIFTIMESTAMPCHANGE ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn RegisterInterfaceTimestampConfigChange ( callback : PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , notificationhandle : *mut HIFTIMESTAMPCHANGE ) -> u32 ); RegisterInterfaceTimestampConfigChange(callback, ::core::mem::transmute(callercontext.unwrap_or(::std::ptr::null())), notificationhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn ResolveIpNetEntry2(row: *mut MIB_IPNET_ROW2, sourceaddress: ::core::option::Option<*const super::super::Networking::WinSock::SOCKADDR_INET>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ResolveIpNetEntry2 ( row : *mut MIB_IPNET_ROW2 , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ResolveIpNetEntry2 ( row : *mut MIB_IPNET_ROW2 , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET ) -> super::super::Foundation:: NTSTATUS ); ResolveIpNetEntry2(row, ::core::mem::transmute(sourceaddress.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn ResolveNeighbor(networkaddress: *const super::super::Networking::WinSock::SOCKADDR, physicaladdress: *mut ::core::ffi::c_void, physicaladdresslength: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn ResolveNeighbor ( networkaddress : *const super::super::Networking::WinSock:: SOCKADDR , physicaladdress : *mut ::core::ffi::c_void , physicaladdresslength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn ResolveNeighbor ( networkaddress : *const super::super::Networking::WinSock:: SOCKADDR , physicaladdress : *mut ::core::ffi::c_void , physicaladdresslength : *mut u32 ) -> u32 ); ResolveNeighbor(networkaddress, physicaladdress, physicaladdresslength) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn RestoreMediaSense(poverlapped: *const super::super::System::IO::OVERLAPPED, lpdwenablecount: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn RestoreMediaSense ( poverlapped : *const super::super::System::IO:: OVERLAPPED , lpdwenablecount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn RestoreMediaSense ( poverlapped : *const super::super::System::IO:: OVERLAPPED , lpdwenablecount : *mut u32 ) -> u32 ); RestoreMediaSense(poverlapped, ::core::mem::transmute(lpdwenablecount.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn SendARP(destip: u32, srcip: u32, pmacaddr: *mut ::core::ffi::c_void, phyaddrlen: *mut u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SendARP ( destip : u32 , srcip : u32 , pmacaddr : *mut ::core::ffi::c_void , phyaddrlen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SendARP ( destip : u32 , srcip : u32 , pmacaddr : *mut ::core::ffi::c_void , phyaddrlen : *mut u32 ) -> u32 ); SendARP(destip, srcip, pmacaddr, phyaddrlen) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetCurrentThreadCompartmentId(compartmentid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetCurrentThreadCompartmentId ( compartmentid : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetCurrentThreadCompartmentId ( compartmentid : u32 ) -> super::super::Foundation:: NTSTATUS ); SetCurrentThreadCompartmentId(compartmentid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetCurrentThreadCompartmentScope(compartmentscope: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetCurrentThreadCompartmentScope ( compartmentscope : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetCurrentThreadCompartmentScope ( compartmentscope : u32 ) -> super::super::Foundation:: NTSTATUS ); SetCurrentThreadCompartmentScope(compartmentscope).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetDnsSettings(settings: *const DNS_SETTINGS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetDnsSettings ( settings : *const DNS_SETTINGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetDnsSettings ( settings : *const DNS_SETTINGS ) -> super::super::Foundation:: NTSTATUS ); SetDnsSettings(settings).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn SetIfEntry(pifrow: *const MIB_IFROW) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIfEntry ( pifrow : *const MIB_IFROW ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIfEntry ( pifrow : *const MIB_IFROW ) -> u32 ); SetIfEntry(pifrow) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetInterfaceDnsSettings(interface: ::windows::core::GUID, settings: *const DNS_INTERFACE_SETTINGS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetInterfaceDnsSettings ( interface : :: windows::core::GUID , settings : *const DNS_INTERFACE_SETTINGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetInterfaceDnsSettings ( interface : :: windows::core::GUID , settings : *const DNS_INTERFACE_SETTINGS ) -> super::super::Foundation:: NTSTATUS ); SetInterfaceDnsSettings(::core::mem::transmute(interface), settings).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn SetIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); SetIpForwardEntry(proute) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn SetIpForwardEntry2(route: *const MIB_IPFORWARD_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIpForwardEntry2 ( route : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIpForwardEntry2 ( route : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: NTSTATUS ); SetIpForwardEntry2(route).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn SetIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> super::super::Foundation:: NTSTATUS ); SetIpInterfaceEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn SetIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); SetIpNetEntry(parpentry) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn SetIpNetEntry2(row: *const MIB_IPNET_ROW2) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: NTSTATUS ); SetIpNetEntry2(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn SetIpStatistics(pipstats: *const MIB_IPSTATS_LH) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIpStatistics ( pipstats : *const MIB_IPSTATS_LH ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIpStatistics ( pipstats : *const MIB_IPSTATS_LH ) -> u32 ); SetIpStatistics(pipstats) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn SetIpStatisticsEx(statistics: *const MIB_IPSTATS_LH, family: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIpStatisticsEx ( statistics : *const MIB_IPSTATS_LH , family : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIpStatisticsEx ( statistics : *const MIB_IPSTATS_LH , family : u32 ) -> u32 ); SetIpStatisticsEx(statistics, family) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn SetIpTTL(nttl: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetIpTTL ( nttl : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetIpTTL ( nttl : u32 ) -> u32 ); SetIpTTL(nttl) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -1331,7 +1331,7 @@ pub unsafe fn SetJobCompartmentId(jobhandle: P0, compartmentid: u32) -> ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetJobCompartmentId ( jobhandle : super::super::Foundation:: HANDLE , compartmentid : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetJobCompartmentId ( jobhandle : super::super::Foundation:: HANDLE , compartmentid : u32 ) -> super::super::Foundation:: NTSTATUS ); SetJobCompartmentId(jobhandle.into(), compartmentid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] @@ -1341,47 +1341,47 @@ pub unsafe fn SetNetworkInformation(networkguid: *const ::windows::core::GUI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetNetworkInformation ( networkguid : *const :: windows::core::GUID , compartmentid : u32 , networkname : :: windows::core::PCWSTR ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetNetworkInformation ( networkguid : *const :: windows::core::GUID , compartmentid : u32 , networkname : :: windows::core::PCWSTR ) -> super::super::Foundation:: NTSTATUS ); SetNetworkInformation(networkguid, compartmentid, networkname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn SetPerTcp6ConnectionEStats(row: *const MIB_TCP6ROW, estatstype: TCP_ESTATS_TYPE, rw: &[u8], rwversion: u32, offset: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetPerTcp6ConnectionEStats ( row : *const MIB_TCP6ROW , estatstype : TCP_ESTATS_TYPE , rw : *const u8 , rwversion : u32 , rwsize : u32 , offset : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetPerTcp6ConnectionEStats ( row : *const MIB_TCP6ROW , estatstype : TCP_ESTATS_TYPE , rw : *const u8 , rwversion : u32 , rwsize : u32 , offset : u32 ) -> u32 ); SetPerTcp6ConnectionEStats(row, estatstype, ::core::mem::transmute(rw.as_ptr()), rwversion, rw.len() as _, offset) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn SetPerTcpConnectionEStats(row: *const MIB_TCPROW_LH, estatstype: TCP_ESTATS_TYPE, rw: &[u8], rwversion: u32, offset: u32) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetPerTcpConnectionEStats ( row : *const MIB_TCPROW_LH , estatstype : TCP_ESTATS_TYPE , rw : *const u8 , rwversion : u32 , rwsize : u32 , offset : u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetPerTcpConnectionEStats ( row : *const MIB_TCPROW_LH , estatstype : TCP_ESTATS_TYPE , rw : *const u8 , rwversion : u32 , rwsize : u32 , offset : u32 ) -> u32 ); SetPerTcpConnectionEStats(row, estatstype, ::core::mem::transmute(rw.as_ptr()), rwversion, rw.len() as _, offset) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetSessionCompartmentId(sessionid: u32, compartmentid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetSessionCompartmentId ( sessionid : u32 , compartmentid : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetSessionCompartmentId ( sessionid : u32 , compartmentid : u32 ) -> super::super::Foundation:: NTSTATUS ); SetSessionCompartmentId(sessionid, compartmentid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn SetTcpEntry(ptcprow: *const MIB_TCPROW_LH) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetTcpEntry ( ptcprow : *const MIB_TCPROW_LH ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetTcpEntry ( ptcprow : *const MIB_TCPROW_LH ) -> u32 ); SetTcpEntry(ptcprow) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn SetUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "iphlpapi.dll""system" fn SetUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn SetUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: NTSTATUS ); SetUnicastIpAddressEntry(row).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn UnenableRouter(poverlapped: *const super::super::System::IO::OVERLAPPED, lpdwenablecount: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "iphlpapi.dll""system" fn UnenableRouter ( poverlapped : *const super::super::System::IO:: OVERLAPPED , lpdwenablecount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn UnenableRouter ( poverlapped : *const super::super::System::IO:: OVERLAPPED , lpdwenablecount : *mut u32 ) -> u32 ); UnenableRouter(poverlapped, ::core::mem::transmute(lpdwenablecount.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] @@ -1390,13 +1390,13 @@ pub unsafe fn UnregisterInterfaceTimestampConfigChange(notificationhandle: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn UnregisterInterfaceTimestampConfigChange ( notificationhandle : HIFTIMESTAMPCHANGE ) -> ( ) ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn UnregisterInterfaceTimestampConfigChange ( notificationhandle : HIFTIMESTAMPCHANGE ) -> ( ) ); UnregisterInterfaceTimestampConfigChange(notificationhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] #[inline] pub unsafe fn if_indextoname(interfaceindex: u32, interfacename: &mut [u8; 256]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "iphlpapi.dll""system" fn if_indextoname ( interfaceindex : u32 , interfacename : :: windows::core::PSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn if_indextoname ( interfaceindex : u32 , interfacename : :: windows::core::PSTR ) -> :: windows::core::PSTR ); if_indextoname(interfaceindex, ::core::mem::transmute(interfacename.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] @@ -1405,7 +1405,7 @@ pub unsafe fn if_nametoindex(interfacename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iphlpapi.dll""system" fn if_nametoindex ( interfacename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iphlpapi.dll""system" fn if_nametoindex ( interfacename : :: windows::core::PCSTR ) -> u32 ); if_nametoindex(interfacename.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs index 0902b29d93..c8bec8c5e5 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs @@ -5,7 +5,7 @@ pub struct IDummyMBNUCMExt(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDummyMBNUCMExt {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDummyMBNUCMExt, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDummyMBNUCMExt, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDummyMBNUCMExt { fn eq(&self, other: &Self) -> bool { @@ -75,7 +75,7 @@ impl IMbnConnection { (::windows::core::Vtable::vtable(self).GetActivationNetworkError)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -128,7 +128,7 @@ impl IMbnConnectionContext { (::windows::core::Vtable::vtable(self).SetProvisionedContext)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(provisionedcontexts), providerid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnConnectionContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -178,7 +178,7 @@ impl IMbnConnectionContextEvents { (::windows::core::Vtable::vtable(self).OnSetProvisionedContextComplete)(::windows::core::Vtable::as_raw(self), newinterface.into().abi(), requestid, status).ok() } } -::windows::core::interface_hierarchy!(IMbnConnectionContextEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionContextEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionContextEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -237,7 +237,7 @@ impl IMbnConnectionEvents { (::windows::core::Vtable::vtable(self).OnVoiceCallStateChange)(::windows::core::Vtable::as_raw(self), newconnection.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnConnectionEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -287,7 +287,7 @@ impl IMbnConnectionManager { (::windows::core::Vtable::vtable(self).GetConnections)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnConnectionManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -337,7 +337,7 @@ impl IMbnConnectionManagerEvents { (::windows::core::Vtable::vtable(self).OnConnectionRemoval)(::windows::core::Vtable::as_raw(self), oldconnection.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnConnectionManagerEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionManagerEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionManagerEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -385,7 +385,7 @@ impl IMbnConnectionProfile { (::windows::core::Vtable::vtable(self).Delete)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMbnConnectionProfile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionProfile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -427,7 +427,7 @@ impl IMbnConnectionProfileEvents { (::windows::core::Vtable::vtable(self).OnProfileUpdate)(::windows::core::Vtable::as_raw(self), newprofile.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnConnectionProfileEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionProfileEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionProfileEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -484,7 +484,7 @@ impl IMbnConnectionProfileManager { (::windows::core::Vtable::vtable(self).CreateConnectionProfile)(::windows::core::Vtable::as_raw(self), xmlprofile.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnConnectionProfileManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionProfileManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionProfileManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -535,7 +535,7 @@ impl IMbnConnectionProfileManagerEvents { (::windows::core::Vtable::vtable(self).OnConnectionProfileRemoval)(::windows::core::Vtable::as_raw(self), oldconnectionprofile.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnConnectionProfileManagerEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnConnectionProfileManagerEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnConnectionProfileManagerEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -628,7 +628,7 @@ impl IMbnDeviceService { (::windows::core::Vtable::vtable(self).IsDataSessionOpen)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnDeviceService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnDeviceService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnDeviceService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -691,7 +691,7 @@ impl IMbnDeviceServiceStateEvents { (::windows::core::Vtable::vtable(self).OnSessionsStateChange)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(interfaceid), statechange).ok() } } -::windows::core::interface_hierarchy!(IMbnDeviceServiceStateEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnDeviceServiceStateEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnDeviceServiceStateEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -743,7 +743,7 @@ impl IMbnDeviceServicesContext { (::windows::core::Vtable::vtable(self).MaxDataSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnDeviceServicesContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnDeviceServicesContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnDeviceServicesContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -856,7 +856,7 @@ impl IMbnDeviceServicesEvents { (::windows::core::Vtable::vtable(self).OnInterfaceStateChange)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(interfaceid), statechange).ok() } } -::windows::core::interface_hierarchy!(IMbnDeviceServicesEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnDeviceServicesEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnDeviceServicesEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -919,7 +919,7 @@ impl IMbnDeviceServicesManager { (::windows::core::Vtable::vtable(self).GetDeviceServicesContext)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(networkinterfaceid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnDeviceServicesManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnDeviceServicesManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnDeviceServicesManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1003,7 +1003,7 @@ impl IMbnInterface { (::windows::core::Vtable::vtable(self).GetConnection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnInterface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnInterface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnInterface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1107,7 +1107,7 @@ impl IMbnInterfaceEvents { (::windows::core::Vtable::vtable(self).OnScanNetworkComplete)(::windows::core::Vtable::as_raw(self), newinterface.into().abi(), requestid, status).ok() } } -::windows::core::interface_hierarchy!(IMbnInterfaceEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnInterfaceEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnInterfaceEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1161,7 +1161,7 @@ impl IMbnInterfaceManager { (::windows::core::Vtable::vtable(self).GetInterfaces)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnInterfaceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnInterfaceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnInterfaceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1211,7 +1211,7 @@ impl IMbnInterfaceManagerEvents { (::windows::core::Vtable::vtable(self).OnInterfaceRemoval)(::windows::core::Vtable::as_raw(self), oldinterface.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnInterfaceManagerEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnInterfaceManagerEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnInterfaceManagerEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1275,7 +1275,7 @@ impl IMbnMultiCarrier { (::windows::core::Vtable::vtable(self).ScanNetwork)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnMultiCarrier, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnMultiCarrier, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnMultiCarrier { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1353,7 +1353,7 @@ impl IMbnMultiCarrierEvents { (::windows::core::Vtable::vtable(self).OnInterfaceCapabilityChange)(::windows::core::Vtable::as_raw(self), mbninterface.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnMultiCarrierEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnMultiCarrierEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnMultiCarrierEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1452,7 +1452,7 @@ impl IMbnPin { (::windows::core::Vtable::vtable(self).GetPinManager)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnPin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnPin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnPin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1526,7 +1526,7 @@ impl IMbnPinEvents { (::windows::core::Vtable::vtable(self).OnUnblockComplete)(::windows::core::Vtable::as_raw(self), pin.into().abi(), pininfo, requestid, status).ok() } } -::windows::core::interface_hierarchy!(IMbnPinEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnPinEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnPinEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1578,7 +1578,7 @@ impl IMbnPinManager { (::windows::core::Vtable::vtable(self).GetPinState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnPinManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnPinManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnPinManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1629,7 +1629,7 @@ impl IMbnPinManagerEvents { (::windows::core::Vtable::vtable(self).OnGetPinStateComplete)(::windows::core::Vtable::as_raw(self), pinmanager.into().abi(), ::core::mem::transmute(pininfo), requestid, status).ok() } } -::windows::core::interface_hierarchy!(IMbnPinManagerEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnPinManagerEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnPinManagerEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1676,7 +1676,7 @@ impl IMbnRadio { (::windows::core::Vtable::vtable(self).SetSoftwareRadioState)(::windows::core::Vtable::as_raw(self), radiostate, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnRadio, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnRadio, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnRadio { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1724,7 +1724,7 @@ impl IMbnRadioEvents { (::windows::core::Vtable::vtable(self).OnSetSoftwareRadioStateComplete)(::windows::core::Vtable::as_raw(self), newinterface.into().abi(), requestid, status).ok() } } -::windows::core::interface_hierarchy!(IMbnRadioEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnRadioEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnRadioEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1802,7 +1802,7 @@ impl IMbnRegistration { (::windows::core::Vtable::vtable(self).SetRegisterMode)(::windows::core::Vtable::as_raw(self), registermode, providerid.into().abi(), dataclass, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1869,7 +1869,7 @@ impl IMbnRegistrationEvents { (::windows::core::Vtable::vtable(self).OnSetRegisterModeComplete)(::windows::core::Vtable::as_raw(self), newinterface.into().abi(), requestid, status).ok() } } -::windows::core::interface_hierarchy!(IMbnRegistrationEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnRegistrationEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnRegistrationEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1912,7 +1912,7 @@ impl IMbnServiceActivation { (::windows::core::Vtable::vtable(self).Activate)(::windows::core::Vtable::as_raw(self), vendorspecificdata, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnServiceActivation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnServiceActivation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnServiceActivation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1957,7 +1957,7 @@ impl IMbnServiceActivationEvents { (::windows::core::Vtable::vtable(self).OnActivationComplete)(::windows::core::Vtable::as_raw(self), serviceactivation.into().abi(), vendorspecificdata, requestid, status, networkerror).ok() } } -::windows::core::interface_hierarchy!(IMbnServiceActivationEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnServiceActivationEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnServiceActivationEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2002,7 +2002,7 @@ impl IMbnSignal { (::windows::core::Vtable::vtable(self).GetSignalError)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnSignal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnSignal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnSignal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2043,7 +2043,7 @@ impl IMbnSignalEvents { (::windows::core::Vtable::vtable(self).OnSignalStateChange)(::windows::core::Vtable::as_raw(self), newinterface.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnSignalEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnSignalEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnSignalEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2122,7 +2122,7 @@ impl IMbnSms { (::windows::core::Vtable::vtable(self).GetSmsStatus)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnSms, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnSms, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnSms { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2194,7 +2194,7 @@ impl IMbnSmsConfiguration { (::windows::core::Vtable::vtable(self).SetSmsFormat)(::windows::core::Vtable::as_raw(self), smsformat).ok() } } -::windows::core::interface_hierarchy!(IMbnSmsConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnSmsConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnSmsConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2280,7 +2280,7 @@ impl IMbnSmsEvents { (::windows::core::Vtable::vtable(self).OnSmsStatusChange)(::windows::core::Vtable::as_raw(self), sms.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMbnSmsEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnSmsEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnSmsEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2344,7 +2344,7 @@ impl IMbnSmsReadMsgPdu { (::windows::core::Vtable::vtable(self).Message)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnSmsReadMsgPdu, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnSmsReadMsgPdu, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnSmsReadMsgPdu { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2418,7 +2418,7 @@ impl IMbnSmsReadMsgTextCdma { (::windows::core::Vtable::vtable(self).Message)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnSmsReadMsgTextCdma, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnSmsReadMsgTextCdma, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnSmsReadMsgTextCdma { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2476,7 +2476,7 @@ impl IMbnSubscriberInformation { (::windows::core::Vtable::vtable(self).TelephoneNumbers)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnSubscriberInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnSubscriberInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnSubscriberInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2531,7 +2531,7 @@ impl IMbnVendorSpecificEvents { (::windows::core::Vtable::vtable(self).OnSetVendorSpecificComplete)(::windows::core::Vtable::as_raw(self), vendoroperation.into().abi(), vendorspecificdata, requestid).ok() } } -::windows::core::interface_hierarchy!(IMbnVendorSpecificEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnVendorSpecificEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnVendorSpecificEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2578,7 +2578,7 @@ impl IMbnVendorSpecificOperation { (::windows::core::Vtable::vtable(self).SetVendorSpecific)(::windows::core::Vtable::as_raw(self), vendorspecificdata, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMbnVendorSpecificOperation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMbnVendorSpecificOperation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMbnVendorSpecificOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Multicast/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Multicast/mod.rs index ff2f631afb..3a91dd500a 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Multicast/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Multicast/mod.rs @@ -1,13 +1,13 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] #[inline] pub unsafe fn McastApiCleanup() { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn McastApiCleanup ( ) -> ( ) ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn McastApiCleanup ( ) -> ( ) ); McastApiCleanup() } #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] #[inline] pub unsafe fn McastApiStartup(version: *mut u32) -> u32 { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn McastApiStartup ( version : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn McastApiStartup ( version : *mut u32 ) -> u32 ); McastApiStartup(version) } #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`, `\"Win32_Foundation\"`*"] @@ -17,31 +17,31 @@ pub unsafe fn McastEnumerateScopes(addrfamily: u16, requery: P0, pscopelist: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn McastEnumerateScopes ( addrfamily : u16 , requery : super::super::Foundation:: BOOL , pscopelist : *mut MCAST_SCOPE_ENTRY , pscopelen : *mut u32 , pscopecount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn McastEnumerateScopes ( addrfamily : u16 , requery : super::super::Foundation:: BOOL , pscopelist : *mut MCAST_SCOPE_ENTRY , pscopelen : *mut u32 , pscopecount : *mut u32 ) -> u32 ); McastEnumerateScopes(addrfamily, requery.into(), pscopelist, pscopelen, pscopecount) } #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] #[inline] pub unsafe fn McastGenUID(prequestid: *mut MCAST_CLIENT_UID) -> u32 { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn McastGenUID ( prequestid : *mut MCAST_CLIENT_UID ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn McastGenUID ( prequestid : *mut MCAST_CLIENT_UID ) -> u32 ); McastGenUID(prequestid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] #[inline] pub unsafe fn McastReleaseAddress(addrfamily: u16, prequestid: *mut MCAST_CLIENT_UID, preleaserequest: *mut MCAST_LEASE_REQUEST) -> u32 { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn McastReleaseAddress ( addrfamily : u16 , prequestid : *mut MCAST_CLIENT_UID , preleaserequest : *mut MCAST_LEASE_REQUEST ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn McastReleaseAddress ( addrfamily : u16 , prequestid : *mut MCAST_CLIENT_UID , preleaserequest : *mut MCAST_LEASE_REQUEST ) -> u32 ); McastReleaseAddress(addrfamily, prequestid, preleaserequest) } #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] #[inline] pub unsafe fn McastRenewAddress(addrfamily: u16, prequestid: *mut MCAST_CLIENT_UID, prenewrequest: *mut MCAST_LEASE_REQUEST, prenewresponse: *mut MCAST_LEASE_RESPONSE) -> u32 { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn McastRenewAddress ( addrfamily : u16 , prequestid : *mut MCAST_CLIENT_UID , prenewrequest : *mut MCAST_LEASE_REQUEST , prenewresponse : *mut MCAST_LEASE_RESPONSE ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn McastRenewAddress ( addrfamily : u16 , prequestid : *mut MCAST_CLIENT_UID , prenewrequest : *mut MCAST_LEASE_REQUEST , prenewresponse : *mut MCAST_LEASE_RESPONSE ) -> u32 ); McastRenewAddress(addrfamily, prequestid, prenewrequest, prenewresponse) } #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] #[inline] pub unsafe fn McastRequestAddress(addrfamily: u16, prequestid: *mut MCAST_CLIENT_UID, pscopectx: *mut MCAST_SCOPE_CTX, paddrrequest: *mut MCAST_LEASE_REQUEST, paddrresponse: *mut MCAST_LEASE_RESPONSE) -> u32 { - ::windows::core::link ! ( "dhcpcsvc.dll""system" fn McastRequestAddress ( addrfamily : u16 , prequestid : *mut MCAST_CLIENT_UID , pscopectx : *mut MCAST_SCOPE_CTX , paddrrequest : *mut MCAST_LEASE_REQUEST , paddrresponse : *mut MCAST_LEASE_RESPONSE ) -> u32 ); + ::windows::imp::link ! ( "dhcpcsvc.dll""system" fn McastRequestAddress ( addrfamily : u16 , prequestid : *mut MCAST_CLIENT_UID , pscopectx : *mut MCAST_SCOPE_CTX , paddrrequest : *mut MCAST_LEASE_REQUEST , paddrresponse : *mut MCAST_LEASE_RESPONSE ) -> u32 ); McastRequestAddress(addrfamily, prequestid, pscopectx, paddrrequest, paddrresponse) } #[doc = "*Required features: `\"Win32_NetworkManagement_Multicast\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetBios/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetBios/mod.rs index 4dbc05763e..088305de95 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetBios/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetBios/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Netbios(pncb: *mut NCB) -> u8 { - ::windows::core::link ! ( "netapi32.dll""system" fn Netbios ( pncb : *mut NCB ) -> u8 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn Netbios ( pncb : *mut NCB ) -> u8 ); Netbios(pncb) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetBios\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs index 682705c314..9029d5aa7e 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn GetNetScheduleAccountInformation(pwszservername: P0, wszaccoun where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mstask.dll""system" fn GetNetScheduleAccountInformation ( pwszservername : :: windows::core::PCWSTR , ccaccount : u32 , wszaccount : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mstask.dll""system" fn GetNetScheduleAccountInformation ( pwszservername : :: windows::core::PCWSTR , ccaccount : u32 , wszaccount : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); GetNetScheduleAccountInformation(pwszservername.into().abi(), wszaccount.len() as _, ::core::mem::transmute(wszaccount.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -13,43 +13,43 @@ pub unsafe fn I_NetLogonControl2(servername: P0, functioncode: u32, querylev where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn I_NetLogonControl2 ( servername : :: windows::core::PCWSTR , functioncode : u32 , querylevel : u32 , data : *const u8 , buffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn I_NetLogonControl2 ( servername : :: windows::core::PCWSTR , functioncode : u32 , querylevel : u32 , data : *const u8 , buffer : *mut *mut u8 ) -> u32 ); I_NetLogonControl2(servername.into().abi(), functioncode, querylevel, data, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn LogErrorA(dwmessageid: u32, plpwssubstrings: &[::windows::core::PCSTR], dwerrorcode: u32) { - ::windows::core::link ! ( "rtutils.dll""system" fn LogErrorA ( dwmessageid : u32 , cnumberofsubstrings : u32 , plpwssubstrings : *const :: windows::core::PCSTR , dwerrorcode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn LogErrorA ( dwmessageid : u32 , cnumberofsubstrings : u32 , plpwssubstrings : *const :: windows::core::PCSTR , dwerrorcode : u32 ) -> ( ) ); LogErrorA(dwmessageid, plpwssubstrings.len() as _, ::core::mem::transmute(plpwssubstrings.as_ptr()), dwerrorcode) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn LogErrorW(dwmessageid: u32, plpwssubstrings: &[::windows::core::PCWSTR], dwerrorcode: u32) { - ::windows::core::link ! ( "rtutils.dll""system" fn LogErrorW ( dwmessageid : u32 , cnumberofsubstrings : u32 , plpwssubstrings : *const :: windows::core::PCWSTR , dwerrorcode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn LogErrorW ( dwmessageid : u32 , cnumberofsubstrings : u32 , plpwssubstrings : *const :: windows::core::PCWSTR , dwerrorcode : u32 ) -> ( ) ); LogErrorW(dwmessageid, plpwssubstrings.len() as _, ::core::mem::transmute(plpwssubstrings.as_ptr()), dwerrorcode) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn LogEventA(weventtype: u32, dwmessageid: u32, plpwssubstrings: &[::windows::core::PCSTR]) { - ::windows::core::link ! ( "rtutils.dll""system" fn LogEventA ( weventtype : u32 , dwmessageid : u32 , cnumberofsubstrings : u32 , plpwssubstrings : *const :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn LogEventA ( weventtype : u32 , dwmessageid : u32 , cnumberofsubstrings : u32 , plpwssubstrings : *const :: windows::core::PCSTR ) -> ( ) ); LogEventA(weventtype, dwmessageid, plpwssubstrings.len() as _, ::core::mem::transmute(plpwssubstrings.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn LogEventW(weventtype: u32, dwmessageid: u32, plpwssubstrings: &[::windows::core::PCWSTR]) { - ::windows::core::link ! ( "rtutils.dll""system" fn LogEventW ( weventtype : u32 , dwmessageid : u32 , cnumberofsubstrings : u32 , plpwssubstrings : *const :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn LogEventW ( weventtype : u32 , dwmessageid : u32 , cnumberofsubstrings : u32 , plpwssubstrings : *const :: windows::core::PCWSTR ) -> ( ) ); LogEventW(weventtype, dwmessageid, plpwssubstrings.len() as _, ::core::mem::transmute(plpwssubstrings.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn MprSetupProtocolEnum(dwtransportid: u32, lplpbuffer: *mut *mut u8, lpdwentriesread: *mut u32) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn MprSetupProtocolEnum ( dwtransportid : u32 , lplpbuffer : *mut *mut u8 , lpdwentriesread : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn MprSetupProtocolEnum ( dwtransportid : u32 , lplpbuffer : *mut *mut u8 , lpdwentriesread : *mut u32 ) -> u32 ); MprSetupProtocolEnum(dwtransportid, lplpbuffer, lpdwentriesread) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn MprSetupProtocolFree(lpbuffer: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn MprSetupProtocolFree ( lpbuffer : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn MprSetupProtocolFree ( lpbuffer : *mut ::core::ffi::c_void ) -> u32 ); MprSetupProtocolFree(lpbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -58,7 +58,7 @@ pub unsafe fn NetAccessAdd(servername: P0, level: u32, buf: *const u8, parm_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAccessAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAccessAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetAccessAdd(servername.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -68,7 +68,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAccessDel ( servername : :: windows::core::PCWSTR , resource : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAccessDel ( servername : :: windows::core::PCWSTR , resource : :: windows::core::PCWSTR ) -> u32 ); NetAccessDel(servername.into().abi(), resource.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -78,7 +78,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAccessEnum ( servername : :: windows::core::PCWSTR , basepath : :: windows::core::PCWSTR , recursive : u32 , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAccessEnum ( servername : :: windows::core::PCWSTR , basepath : :: windows::core::PCWSTR , recursive : u32 , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetAccessEnum(servername.into().abi(), basepath.into().abi(), recursive, level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -88,7 +88,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAccessGetInfo ( servername : :: windows::core::PCWSTR , resource : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAccessGetInfo ( servername : :: windows::core::PCWSTR , resource : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetAccessGetInfo(servername.into().abi(), resource.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -99,7 +99,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAccessGetUserPerms ( servername : :: windows::core::PCWSTR , ugname : :: windows::core::PCWSTR , resource : :: windows::core::PCWSTR , perms : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAccessGetUserPerms ( servername : :: windows::core::PCWSTR , ugname : :: windows::core::PCWSTR , resource : :: windows::core::PCWSTR , perms : *mut u32 ) -> u32 ); NetAccessGetUserPerms(servername.into().abi(), ugname.into().abi(), resource.into().abi(), perms) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -109,7 +109,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAccessSetInfo ( servername : :: windows::core::PCWSTR , resource : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAccessSetInfo ( servername : :: windows::core::PCWSTR , resource : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetAccessSetInfo(servername.into().abi(), resource.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -121,7 +121,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAddAlternateComputerName ( server : :: windows::core::PCWSTR , alternatename : :: windows::core::PCWSTR , domainaccount : :: windows::core::PCWSTR , domainaccountpassword : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAddAlternateComputerName ( server : :: windows::core::PCWSTR , alternatename : :: windows::core::PCWSTR , domainaccount : :: windows::core::PCWSTR , domainaccountpassword : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); NetAddAlternateComputerName(server.into().abi(), alternatename.into().abi(), domainaccount.into().abi(), domainaccountpassword.into().abi(), reserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -133,7 +133,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAddServiceAccount ( servername : :: windows::core::PCWSTR , accountname : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAddServiceAccount ( servername : :: windows::core::PCWSTR , accountname : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: NTSTATUS ); NetAddServiceAccount(servername.into().abi(), accountname.into().abi(), password.into().abi(), flags).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -142,7 +142,7 @@ pub unsafe fn NetAlertRaise(alerttype: P0, buffer: *const ::core::ffi::c_voi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAlertRaise ( alerttype : :: windows::core::PCWSTR , buffer : *const ::core::ffi::c_void , buffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAlertRaise ( alerttype : :: windows::core::PCWSTR , buffer : *const ::core::ffi::c_void , buffersize : u32 ) -> u32 ); NetAlertRaise(alerttype.into().abi(), buffer, buffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -152,31 +152,31 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAlertRaiseEx ( alerttype : :: windows::core::PCWSTR , variableinfo : *const ::core::ffi::c_void , variableinfosize : u32 , servicename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAlertRaiseEx ( alerttype : :: windows::core::PCWSTR , variableinfo : *const ::core::ffi::c_void , variableinfosize : u32 , servicename : :: windows::core::PCWSTR ) -> u32 ); NetAlertRaiseEx(alerttype.into().abi(), variableinfo, variableinfosize, servicename.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetApiBufferAllocate(bytecount: u32, buffer: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetApiBufferAllocate ( bytecount : u32 , buffer : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetApiBufferAllocate ( bytecount : u32 , buffer : *mut *mut ::core::ffi::c_void ) -> u32 ); NetApiBufferAllocate(bytecount, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetApiBufferFree(buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetApiBufferFree ( buffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetApiBufferFree ( buffer : *const ::core::ffi::c_void ) -> u32 ); NetApiBufferFree(::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetApiBufferReallocate(oldbuffer: ::core::option::Option<*const ::core::ffi::c_void>, newbytecount: u32, newbuffer: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetApiBufferReallocate ( oldbuffer : *const ::core::ffi::c_void , newbytecount : u32 , newbuffer : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetApiBufferReallocate ( oldbuffer : *const ::core::ffi::c_void , newbytecount : u32 , newbuffer : *mut *mut ::core::ffi::c_void ) -> u32 ); NetApiBufferReallocate(::core::mem::transmute(oldbuffer.unwrap_or(::std::ptr::null())), newbytecount, newbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetApiBufferSize(buffer: *const ::core::ffi::c_void, bytecount: *mut u32) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetApiBufferSize ( buffer : *const ::core::ffi::c_void , bytecount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetApiBufferSize ( buffer : *const ::core::ffi::c_void , bytecount : *mut u32 ) -> u32 ); NetApiBufferSize(buffer, bytecount) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -187,7 +187,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAuditClear ( server : :: windows::core::PCWSTR , backupfile : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAuditClear ( server : :: windows::core::PCWSTR , backupfile : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR ) -> u32 ); NetAuditClear(server.into().abi(), backupfile.into().abi(), service.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -197,7 +197,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAuditRead ( server : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR , auditloghandle : *mut HLOG , offset : u32 , reserved1 : *mut u32 , reserved2 : u32 , offsetflag : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , bytesread : *mut u32 , totalavailable : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAuditRead ( server : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR , auditloghandle : *mut HLOG , offset : u32 , reserved1 : *mut u32 , reserved2 : u32 , offsetflag : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , bytesread : *mut u32 , totalavailable : *mut u32 ) -> u32 ); NetAuditRead(server.into().abi(), service.into().abi(), auditloghandle, offset, reserved1, reserved2, offsetflag, bufptr, prefmaxlen, bytesread, totalavailable) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -206,7 +206,7 @@ pub unsafe fn NetAuditWrite(r#type: u32, buf: *mut u8, numbytes: u32, servic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetAuditWrite ( r#type : u32 , buf : *mut u8 , numbytes : u32 , service : :: windows::core::PCWSTR , reserved : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetAuditWrite ( r#type : u32 , buf : *mut u8 , numbytes : u32 , service : :: windows::core::PCWSTR , reserved : *mut u8 ) -> u32 ); NetAuditWrite(r#type, buf, numbytes, service.into().abi(), reserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -217,7 +217,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetConfigGet ( server : :: windows::core::PCWSTR , component : :: windows::core::PCWSTR , parameter : :: windows::core::PCWSTR , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetConfigGet ( server : :: windows::core::PCWSTR , component : :: windows::core::PCWSTR , parameter : :: windows::core::PCWSTR , bufptr : *mut *mut u8 ) -> u32 ); NetConfigGet(server.into().abi(), component.into().abi(), parameter.into().abi(), bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -227,7 +227,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetConfigGetAll ( server : :: windows::core::PCWSTR , component : :: windows::core::PCWSTR , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetConfigGetAll ( server : :: windows::core::PCWSTR , component : :: windows::core::PCWSTR , bufptr : *mut *mut u8 ) -> u32 ); NetConfigGetAll(server.into().abi(), component.into().abi(), bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -238,13 +238,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetConfigSet ( server : :: windows::core::PCWSTR , reserved1 : :: windows::core::PCWSTR , component : :: windows::core::PCWSTR , level : u32 , reserved2 : u32 , buf : *mut u8 , reserved3 : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetConfigSet ( server : :: windows::core::PCWSTR , reserved1 : :: windows::core::PCWSTR , component : :: windows::core::PCWSTR , level : u32 , reserved2 : u32 , buf : *mut u8 , reserved3 : u32 ) -> u32 ); NetConfigSet(server.into().abi(), reserved1.into().abi(), component.into().abi(), level, reserved2, buf, reserved3) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetCreateProvisioningPackage(pprovisioningparams: *const NETSETUP_PROVISIONING_PARAMS, pppackagebindata: ::core::option::Option<*mut *mut u8>, pdwpackagebindatasize: ::core::option::Option<*mut u32>, pppackagetextdata: ::core::option::Option<*mut ::windows::core::PWSTR>) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetCreateProvisioningPackage ( pprovisioningparams : *const NETSETUP_PROVISIONING_PARAMS , pppackagebindata : *mut *mut u8 , pdwpackagebindatasize : *mut u32 , pppackagetextdata : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetCreateProvisioningPackage ( pprovisioningparams : *const NETSETUP_PROVISIONING_PARAMS , pppackagebindata : *mut *mut u8 , pdwpackagebindatasize : *mut u32 , pppackagetextdata : *mut :: windows::core::PWSTR ) -> u32 ); NetCreateProvisioningPackage(pprovisioningparams, ::core::mem::transmute(pppackagebindata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwpackagebindatasize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pppackagetextdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -253,7 +253,7 @@ pub unsafe fn NetEnumerateComputerNames(server: P0, nametype: NET_COMPUTER_N where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetEnumerateComputerNames ( server : :: windows::core::PCWSTR , nametype : NET_COMPUTER_NAME_TYPE , reserved : u32 , entrycount : *mut u32 , computernames : *mut *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetEnumerateComputerNames ( server : :: windows::core::PCWSTR , nametype : NET_COMPUTER_NAME_TYPE , reserved : u32 , entrycount : *mut u32 , computernames : *mut *mut :: windows::core::PWSTR ) -> u32 ); NetEnumerateComputerNames(server.into().abi(), nametype, reserved, entrycount, computernames) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -263,7 +263,7 @@ pub unsafe fn NetEnumerateServiceAccounts(servername: P0, flags: u32, accoun where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetEnumerateServiceAccounts ( servername : :: windows::core::PCWSTR , flags : u32 , accountscount : *mut u32 , accounts : *mut *mut *mut u16 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetEnumerateServiceAccounts ( servername : :: windows::core::PCWSTR , flags : u32 , accountscount : *mut u32 , accounts : *mut *mut *mut u16 ) -> super::super::Foundation:: NTSTATUS ); NetEnumerateServiceAccounts(servername.into().abi(), flags, accountscount, accounts).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -273,7 +273,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetErrorLogClear ( uncservername : :: windows::core::PCWSTR , backupfile : :: windows::core::PCWSTR , reserved : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetErrorLogClear ( uncservername : :: windows::core::PCWSTR , backupfile : :: windows::core::PCWSTR , reserved : *const u8 ) -> u32 ); NetErrorLogClear(uncservername.into().abi(), backupfile.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -283,7 +283,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetErrorLogRead ( uncservername : :: windows::core::PCWSTR , reserved1 : :: windows::core::PCWSTR , errorloghandle : *const HLOG , offset : u32 , reserved2 : *const u32 , reserved3 : u32 , offsetflag : u32 , bufptr : *mut *mut u8 , prefmaxsize : u32 , bytesread : *mut u32 , totalavailable : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetErrorLogRead ( uncservername : :: windows::core::PCWSTR , reserved1 : :: windows::core::PCWSTR , errorloghandle : *const HLOG , offset : u32 , reserved2 : *const u32 , reserved3 : u32 , offsetflag : u32 , bufptr : *mut *mut u8 , prefmaxsize : u32 , bytesread : *mut u32 , totalavailable : *mut u32 ) -> u32 ); NetErrorLogRead(uncservername.into().abi(), reserved1.into().abi(), errorloghandle, offset, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null())), reserved3, offsetflag, bufptr, prefmaxsize, bytesread, totalavailable) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -292,14 +292,14 @@ pub unsafe fn NetErrorLogWrite(reserved1: ::core::option::Option<*const u8>, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetErrorLogWrite ( reserved1 : *const u8 , code : u32 , component : :: windows::core::PCWSTR , buffer : *const u8 , numbytes : u32 , msgbuf : *const u8 , strcount : u32 , reserved2 : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetErrorLogWrite ( reserved1 : *const u8 , code : u32 , component : :: windows::core::PCWSTR , buffer : *const u8 , numbytes : u32 , msgbuf : *const u8 , strcount : u32 , reserved2 : *const u8 ) -> u32 ); NetErrorLogWrite(::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), code, component.into().abi(), buffer, numbytes, msgbuf, strcount, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn NetFreeAadJoinInformation(pjoininfo: ::core::option::Option<*const DSREG_JOIN_INFO>) { - ::windows::core::link ! ( "netapi32.dll""system" fn NetFreeAadJoinInformation ( pjoininfo : *const DSREG_JOIN_INFO ) -> ( ) ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetFreeAadJoinInformation ( pjoininfo : *const DSREG_JOIN_INFO ) -> ( ) ); NetFreeAadJoinInformation(::core::mem::transmute(pjoininfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -309,7 +309,7 @@ pub unsafe fn NetGetAadJoinInformation(pcsztenantid: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGetAadJoinInformation ( pcsztenantid : :: windows::core::PCWSTR , ppjoininfo : *mut *mut DSREG_JOIN_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGetAadJoinInformation ( pcsztenantid : :: windows::core::PCWSTR , ppjoininfo : *mut *mut DSREG_JOIN_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut DSREG_JOIN_INFO>(); NetGetAadJoinInformation(pcsztenantid.into().abi(), &mut result__).from_abi(result__) } @@ -320,7 +320,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGetAnyDCName ( servername : :: windows::core::PCWSTR , domainname : :: windows::core::PCWSTR , buffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGetAnyDCName ( servername : :: windows::core::PCWSTR , domainname : :: windows::core::PCWSTR , buffer : *mut *mut u8 ) -> u32 ); NetGetAnyDCName(servername.into().abi(), domainname.into().abi(), buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -330,7 +330,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGetDCName ( servername : :: windows::core::PCWSTR , domainname : :: windows::core::PCWSTR , buffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGetDCName ( servername : :: windows::core::PCWSTR , domainname : :: windows::core::PCWSTR , buffer : *mut *mut u8 ) -> u32 ); NetGetDCName(servername.into().abi(), domainname.into().abi(), buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -340,7 +340,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGetDisplayInformationIndex ( servername : :: windows::core::PCWSTR , level : u32 , prefix : :: windows::core::PCWSTR , index : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGetDisplayInformationIndex ( servername : :: windows::core::PCWSTR , level : u32 , prefix : :: windows::core::PCWSTR , index : *mut u32 ) -> u32 ); NetGetDisplayInformationIndex(servername.into().abi(), level, prefix.into().abi(), index) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -349,7 +349,7 @@ pub unsafe fn NetGetJoinInformation(lpserver: P0, lpnamebuffer: *mut ::windo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGetJoinInformation ( lpserver : :: windows::core::PCWSTR , lpnamebuffer : *mut :: windows::core::PWSTR , buffertype : *mut NETSETUP_JOIN_STATUS ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGetJoinInformation ( lpserver : :: windows::core::PCWSTR , lpnamebuffer : *mut :: windows::core::PWSTR , buffertype : *mut NETSETUP_JOIN_STATUS ) -> u32 ); NetGetJoinInformation(lpserver.into().abi(), lpnamebuffer, buffertype) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -361,7 +361,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGetJoinableOUs ( lpserver : :: windows::core::PCWSTR , lpdomain : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , oucount : *mut u32 , ous : *mut *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGetJoinableOUs ( lpserver : :: windows::core::PCWSTR , lpdomain : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , oucount : *mut u32 , ous : *mut *mut :: windows::core::PWSTR ) -> u32 ); NetGetJoinableOUs(lpserver.into().abi(), lpdomain.into().abi(), lpaccount.into().abi(), lppassword.into().abi(), oucount, ous) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -370,7 +370,7 @@ pub unsafe fn NetGroupAdd(servername: P0, level: u32, buf: *const u8, parm_e where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetGroupAdd(servername.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -381,7 +381,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupAddUser ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupAddUser ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR ) -> u32 ); NetGroupAddUser(servername.into().abi(), groupname.into().abi(), username.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -391,7 +391,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupDel ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupDel ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR ) -> u32 ); NetGroupDel(servername.into().abi(), groupname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -402,7 +402,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupDelUser ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupDelUser ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR ) -> u32 ); NetGroupDelUser(servername.into().abi(), groupname.into().abi(), username.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -411,7 +411,7 @@ pub unsafe fn NetGroupEnum(servername: P0, level: u32, bufptr: *mut *mut u8, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut usize ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut usize ) -> u32 ); NetGroupEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -421,7 +421,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupGetInfo ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupGetInfo ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetGroupGetInfo(servername.into().abi(), groupname.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -431,7 +431,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupGetUsers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut usize ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupGetUsers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut usize ) -> u32 ); NetGroupGetUsers(servername.into().abi(), groupname.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -441,7 +441,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupSetInfo ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupSetInfo ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetGroupSetInfo(servername.into().abi(), groupname.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -451,7 +451,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetGroupSetUsers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , totalentries : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetGroupSetUsers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , totalentries : u32 ) -> u32 ); NetGroupSetUsers(servername.into().abi(), groupname.into().abi(), level, buf, totalentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -462,7 +462,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetIsServiceAccount ( servername : :: windows::core::PCWSTR , accountname : :: windows::core::PCWSTR , isservice : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetIsServiceAccount ( servername : :: windows::core::PCWSTR , accountname : :: windows::core::PCWSTR , isservice : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: NTSTATUS ); NetIsServiceAccount(servername.into().abi(), accountname.into().abi(), isservice).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -475,7 +475,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetJoinDomain ( lpserver : :: windows::core::PCWSTR , lpdomain : :: windows::core::PCWSTR , lpmachineaccountou : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , fjoinoptions : NET_JOIN_DOMAIN_JOIN_OPTIONS ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetJoinDomain ( lpserver : :: windows::core::PCWSTR , lpdomain : :: windows::core::PCWSTR , lpmachineaccountou : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , fjoinoptions : NET_JOIN_DOMAIN_JOIN_OPTIONS ) -> u32 ); NetJoinDomain(lpserver.into().abi(), lpdomain.into().abi(), lpmachineaccountou.into().abi(), lpaccount.into().abi(), lppassword.into().abi(), fjoinoptions) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -484,7 +484,7 @@ pub unsafe fn NetLocalGroupAdd(servername: P0, level: u32, buf: *const u8, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetLocalGroupAdd(servername.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -496,7 +496,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupAddMember ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , membersid : super::super::Foundation:: PSID ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupAddMember ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , membersid : super::super::Foundation:: PSID ) -> u32 ); NetLocalGroupAddMember(servername.into().abi(), groupname.into().abi(), membersid.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -506,7 +506,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupAddMembers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , totalentries : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupAddMembers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , totalentries : u32 ) -> u32 ); NetLocalGroupAddMembers(servername.into().abi(), groupname.into().abi(), level, buf, totalentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -516,7 +516,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupDel ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupDel ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR ) -> u32 ); NetLocalGroupDel(servername.into().abi(), groupname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -528,7 +528,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupDelMember ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , membersid : super::super::Foundation:: PSID ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupDelMember ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , membersid : super::super::Foundation:: PSID ) -> u32 ); NetLocalGroupDelMember(servername.into().abi(), groupname.into().abi(), membersid.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -538,7 +538,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupDelMembers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , totalentries : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupDelMembers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , totalentries : u32 ) -> u32 ); NetLocalGroupDelMembers(servername.into().abi(), groupname.into().abi(), level, buf, totalentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -547,7 +547,7 @@ pub unsafe fn NetLocalGroupEnum(servername: P0, level: u32, bufptr: *mut *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut usize ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut usize ) -> u32 ); NetLocalGroupEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -557,7 +557,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupGetInfo ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupGetInfo ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetLocalGroupGetInfo(servername.into().abi(), groupname.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -567,7 +567,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupGetMembers ( servername : :: windows::core::PCWSTR , localgroupname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut usize ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupGetMembers ( servername : :: windows::core::PCWSTR , localgroupname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut usize ) -> u32 ); NetLocalGroupGetMembers(servername.into().abi(), localgroupname.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -577,7 +577,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupSetInfo ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupSetInfo ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetLocalGroupSetInfo(servername.into().abi(), groupname.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -587,7 +587,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetLocalGroupSetMembers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , totalentries : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetLocalGroupSetMembers ( servername : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , totalentries : u32 ) -> u32 ); NetLocalGroupSetMembers(servername.into().abi(), groupname.into().abi(), level, buf, totalentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -598,7 +598,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetMessageBufferSend ( servername : :: windows::core::PCWSTR , msgname : :: windows::core::PCWSTR , fromname : :: windows::core::PCWSTR , buf : *const u8 , buflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetMessageBufferSend ( servername : :: windows::core::PCWSTR , msgname : :: windows::core::PCWSTR , fromname : :: windows::core::PCWSTR , buf : *const u8 , buflen : u32 ) -> u32 ); NetMessageBufferSend(servername.into().abi(), msgname.into().abi(), fromname.into().abi(), buf, buflen) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -608,7 +608,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetMessageNameAdd ( servername : :: windows::core::PCWSTR , msgname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetMessageNameAdd ( servername : :: windows::core::PCWSTR , msgname : :: windows::core::PCWSTR ) -> u32 ); NetMessageNameAdd(servername.into().abi(), msgname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -618,7 +618,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetMessageNameDel ( servername : :: windows::core::PCWSTR , msgname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetMessageNameDel ( servername : :: windows::core::PCWSTR , msgname : :: windows::core::PCWSTR ) -> u32 ); NetMessageNameDel(servername.into().abi(), msgname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -627,7 +627,7 @@ pub unsafe fn NetMessageNameEnum(servername: P0, level: u32, bufptr: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetMessageNameEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *const *const u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetMessageNameEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *const *const u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetMessageNameEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, resume_handle) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -637,7 +637,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetMessageNameGetInfo ( servername : :: windows::core::PCWSTR , msgname : :: windows::core::PCWSTR , level : u32 , bufptr : *const *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetMessageNameGetInfo ( servername : :: windows::core::PCWSTR , msgname : :: windows::core::PCWSTR , level : u32 , bufptr : *const *const u8 ) -> u32 ); NetMessageNameGetInfo(servername.into().abi(), msgname.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -649,7 +649,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetProvisionComputerAccount ( lpdomain : :: windows::core::PCWSTR , lpmachinename : :: windows::core::PCWSTR , lpmachineaccountou : :: windows::core::PCWSTR , lpdcname : :: windows::core::PCWSTR , dwoptions : NETSETUP_PROVISION , pprovisionbindata : *mut *mut u8 , pdwprovisionbindatasize : *mut u32 , pprovisiontextdata : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetProvisionComputerAccount ( lpdomain : :: windows::core::PCWSTR , lpmachinename : :: windows::core::PCWSTR , lpmachineaccountou : :: windows::core::PCWSTR , lpdcname : :: windows::core::PCWSTR , dwoptions : NETSETUP_PROVISION , pprovisionbindata : *mut *mut u8 , pdwprovisionbindatasize : *mut u32 , pprovisiontextdata : *mut :: windows::core::PWSTR ) -> u32 ); NetProvisionComputerAccount(lpdomain.into().abi(), lpmachinename.into().abi(), lpmachineaccountou.into().abi(), lpdcname.into().abi(), dwoptions, ::core::mem::transmute(pprovisionbindata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwprovisionbindatasize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pprovisiontextdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -658,7 +658,7 @@ pub unsafe fn NetQueryDisplayInformation(servername: P0, level: u32, index: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetQueryDisplayInformation ( servername : :: windows::core::PCWSTR , level : u32 , index : u32 , entriesrequested : u32 , preferredmaximumlength : u32 , returnedentrycount : *mut u32 , sortedbuffer : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetQueryDisplayInformation ( servername : :: windows::core::PCWSTR , level : u32 , index : u32 , entriesrequested : u32 , preferredmaximumlength : u32 , returnedentrycount : *mut u32 , sortedbuffer : *mut *mut ::core::ffi::c_void ) -> u32 ); NetQueryDisplayInformation(servername.into().abi(), level, index, entriesrequested, preferredmaximumlength, returnedentrycount, sortedbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -669,7 +669,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetQueryServiceAccount ( servername : :: windows::core::PCWSTR , accountname : :: windows::core::PCWSTR , infolevel : u32 , buffer : *mut *mut u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetQueryServiceAccount ( servername : :: windows::core::PCWSTR , accountname : :: windows::core::PCWSTR , infolevel : u32 , buffer : *mut *mut u8 ) -> super::super::Foundation:: NTSTATUS ); NetQueryServiceAccount(servername.into().abi(), accountname.into().abi(), infolevel, buffer).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -678,7 +678,7 @@ pub unsafe fn NetRemoteComputerSupports(uncservername: P0, optionswanted: NE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetRemoteComputerSupports ( uncservername : :: windows::core::PCWSTR , optionswanted : NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS , optionssupported : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetRemoteComputerSupports ( uncservername : :: windows::core::PCWSTR , optionswanted : NET_REMOTE_COMPUTER_SUPPORTS_OPTIONS , optionssupported : *mut u32 ) -> u32 ); NetRemoteComputerSupports(uncservername.into().abi(), optionswanted, optionssupported) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -687,7 +687,7 @@ pub unsafe fn NetRemoteTOD(uncservername: P0, bufferptr: *mut *mut u8) -> u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetRemoteTOD ( uncservername : :: windows::core::PCWSTR , bufferptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetRemoteTOD ( uncservername : :: windows::core::PCWSTR , bufferptr : *mut *mut u8 ) -> u32 ); NetRemoteTOD(uncservername.into().abi(), bufferptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -699,7 +699,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetRemoveAlternateComputerName ( server : :: windows::core::PCWSTR , alternatename : :: windows::core::PCWSTR , domainaccount : :: windows::core::PCWSTR , domainaccountpassword : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetRemoveAlternateComputerName ( server : :: windows::core::PCWSTR , alternatename : :: windows::core::PCWSTR , domainaccount : :: windows::core::PCWSTR , domainaccountpassword : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); NetRemoveAlternateComputerName(server.into().abi(), alternatename.into().abi(), domainaccount.into().abi(), domainaccountpassword.into().abi(), reserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -710,7 +710,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetRemoveServiceAccount ( servername : :: windows::core::PCWSTR , accountname : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetRemoveServiceAccount ( servername : :: windows::core::PCWSTR , accountname : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: NTSTATUS ); NetRemoveServiceAccount(servername.into().abi(), accountname.into().abi(), flags).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -722,7 +722,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetRenameMachineInDomain ( lpserver : :: windows::core::PCWSTR , lpnewmachinename : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , frenameoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetRenameMachineInDomain ( lpserver : :: windows::core::PCWSTR , lpnewmachinename : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , frenameoptions : u32 ) -> u32 ); NetRenameMachineInDomain(lpserver.into().abi(), lpnewmachinename.into().abi(), lpaccount.into().abi(), lppassword.into().abi(), frenameoptions) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -731,7 +731,7 @@ pub unsafe fn NetReplExportDirAdd(servername: P0, level: u32, buf: *const u8 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplExportDirAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplExportDirAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetReplExportDirAdd(servername.into().abi(), level, buf, parm_err) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -741,7 +741,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplExportDirDel ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplExportDirDel ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR ) -> u32 ); NetReplExportDirDel(servername.into().abi(), dirname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -750,7 +750,7 @@ pub unsafe fn NetReplExportDirEnum(servername: P0, level: u32, bufptr: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplExportDirEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplExportDirEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); NetReplExportDirEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, resumehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -760,7 +760,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplExportDirGetInfo ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplExportDirGetInfo ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetReplExportDirGetInfo(servername.into().abi(), dirname.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -770,7 +770,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplExportDirLock ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplExportDirLock ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR ) -> u32 ); NetReplExportDirLock(servername.into().abi(), dirname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -780,7 +780,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplExportDirSetInfo ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplExportDirSetInfo ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetReplExportDirSetInfo(servername.into().abi(), dirname.into().abi(), level, buf, parm_err) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -790,7 +790,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplExportDirUnlock ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , unlockforce : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplExportDirUnlock ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , unlockforce : u32 ) -> u32 ); NetReplExportDirUnlock(servername.into().abi(), dirname.into().abi(), unlockforce) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -799,7 +799,7 @@ pub unsafe fn NetReplGetInfo(servername: P0, level: u32, bufptr: *mut *mut u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplGetInfo ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplGetInfo ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetReplGetInfo(servername.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -808,7 +808,7 @@ pub unsafe fn NetReplImportDirAdd(servername: P0, level: u32, buf: *const u8 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplImportDirAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplImportDirAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetReplImportDirAdd(servername.into().abi(), level, buf, parm_err) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -818,7 +818,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplImportDirDel ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplImportDirDel ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR ) -> u32 ); NetReplImportDirDel(servername.into().abi(), dirname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -827,7 +827,7 @@ pub unsafe fn NetReplImportDirEnum(servername: P0, level: u32, bufptr: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplImportDirEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplImportDirEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); NetReplImportDirEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, resumehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -837,7 +837,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplImportDirGetInfo ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplImportDirGetInfo ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetReplImportDirGetInfo(servername.into().abi(), dirname.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -847,7 +847,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplImportDirLock ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplImportDirLock ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR ) -> u32 ); NetReplImportDirLock(servername.into().abi(), dirname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -857,7 +857,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplImportDirUnlock ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , unlockforce : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplImportDirUnlock ( servername : :: windows::core::PCWSTR , dirname : :: windows::core::PCWSTR , unlockforce : u32 ) -> u32 ); NetReplImportDirUnlock(servername.into().abi(), dirname.into().abi(), unlockforce) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -866,7 +866,7 @@ pub unsafe fn NetReplSetInfo(servername: P0, level: u32, buf: *const u8, par where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetReplSetInfo ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetReplSetInfo ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetReplSetInfo(servername.into().abi(), level, buf, parm_err) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -875,7 +875,7 @@ pub unsafe fn NetRequestOfflineDomainJoin(pprovisionbindata: &[u8], dwoption where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetRequestOfflineDomainJoin ( pprovisionbindata : *const u8 , cbprovisionbindatasize : u32 , dwoptions : NET_REQUEST_PROVISION_OPTIONS , lpwindowspath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetRequestOfflineDomainJoin ( pprovisionbindata : *const u8 , cbprovisionbindatasize : u32 , dwoptions : NET_REQUEST_PROVISION_OPTIONS , lpwindowspath : :: windows::core::PCWSTR ) -> u32 ); NetRequestOfflineDomainJoin(::core::mem::transmute(pprovisionbindata.as_ptr()), pprovisionbindata.len() as _, dwoptions, lpwindowspath.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -884,7 +884,7 @@ pub unsafe fn NetRequestProvisioningPackageInstall(ppackagebindata: &[u8], d where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetRequestProvisioningPackageInstall ( ppackagebindata : *const u8 , dwpackagebindatasize : u32 , dwprovisionoptions : NET_REQUEST_PROVISION_OPTIONS , lpwindowspath : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetRequestProvisioningPackageInstall ( ppackagebindata : *const u8 , dwpackagebindatasize : u32 , dwprovisionoptions : NET_REQUEST_PROVISION_OPTIONS , lpwindowspath : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void ) -> u32 ); NetRequestProvisioningPackageInstall(::core::mem::transmute(ppackagebindata.as_ptr()), ppackagebindata.len() as _, dwprovisionoptions, lpwindowspath.into().abi(), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -893,7 +893,7 @@ pub unsafe fn NetScheduleJobAdd(servername: P0, buffer: *mut u8, jobid: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetScheduleJobAdd ( servername : :: windows::core::PCWSTR , buffer : *mut u8 , jobid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetScheduleJobAdd ( servername : :: windows::core::PCWSTR , buffer : *mut u8 , jobid : *mut u32 ) -> u32 ); NetScheduleJobAdd(servername.into().abi(), buffer, jobid) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -902,7 +902,7 @@ pub unsafe fn NetScheduleJobDel(servername: P0, minjobid: u32, maxjobid: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetScheduleJobDel ( servername : :: windows::core::PCWSTR , minjobid : u32 , maxjobid : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetScheduleJobDel ( servername : :: windows::core::PCWSTR , minjobid : u32 , maxjobid : u32 ) -> u32 ); NetScheduleJobDel(servername.into().abi(), minjobid, maxjobid) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -911,7 +911,7 @@ pub unsafe fn NetScheduleJobEnum(servername: P0, pointertobuffer: *mut *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetScheduleJobEnum ( servername : :: windows::core::PCWSTR , pointertobuffer : *mut *mut u8 , prefferedmaximumlength : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetScheduleJobEnum ( servername : :: windows::core::PCWSTR , pointertobuffer : *mut *mut u8 , prefferedmaximumlength : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); NetScheduleJobEnum(servername.into().abi(), pointertobuffer, prefferedmaximumlength, entriesread, totalentries, resumehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -920,7 +920,7 @@ pub unsafe fn NetScheduleJobGetInfo(servername: P0, jobid: u32, pointertobuf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetScheduleJobGetInfo ( servername : :: windows::core::PCWSTR , jobid : u32 , pointertobuffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetScheduleJobGetInfo ( servername : :: windows::core::PCWSTR , jobid : u32 , pointertobuffer : *mut *mut u8 ) -> u32 ); NetScheduleJobGetInfo(servername.into().abi(), jobid, pointertobuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -931,7 +931,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerComputerNameAdd ( servername : :: windows::core::PCWSTR , emulateddomainname : :: windows::core::PCWSTR , emulatedservername : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerComputerNameAdd ( servername : :: windows::core::PCWSTR , emulateddomainname : :: windows::core::PCWSTR , emulatedservername : :: windows::core::PCWSTR ) -> u32 ); NetServerComputerNameAdd(servername.into().abi(), emulateddomainname.into().abi(), emulatedservername.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -941,7 +941,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerComputerNameDel ( servername : :: windows::core::PCWSTR , emulatedservername : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerComputerNameDel ( servername : :: windows::core::PCWSTR , emulatedservername : :: windows::core::PCWSTR ) -> u32 ); NetServerComputerNameDel(servername.into().abi(), emulatedservername.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -950,7 +950,7 @@ pub unsafe fn NetServerDiskEnum(servername: P0, level: u32, bufptr: *mut *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerDiskEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerDiskEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetServerDiskEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -960,7 +960,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , servertype : NET_SERVER_TYPE , domain : :: windows::core::PCWSTR , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , servertype : NET_SERVER_TYPE , domain : :: windows::core::PCWSTR , resume_handle : *mut u32 ) -> u32 ); NetServerEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, servertype, domain.into().abi(), ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -969,7 +969,7 @@ pub unsafe fn NetServerGetInfo(servername: P0, level: u32, bufptr: *mut *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerGetInfo ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerGetInfo ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetServerGetInfo(servername.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -978,7 +978,7 @@ pub unsafe fn NetServerSetInfo(servername: P0, level: u32, buf: *const u8, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerSetInfo ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parmerror : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerSetInfo ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parmerror : *mut u32 ) -> u32 ); NetServerSetInfo(servername.into().abi(), level, buf, ::core::mem::transmute(parmerror.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -987,7 +987,7 @@ pub unsafe fn NetServerTransportAdd(servername: P0, level: u32, bufptr: *con where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerTransportAdd ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerTransportAdd ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *const u8 ) -> u32 ); NetServerTransportAdd(servername.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -996,7 +996,7 @@ pub unsafe fn NetServerTransportAddEx(servername: P0, level: u32, bufptr: *c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerTransportAddEx ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerTransportAddEx ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *const u8 ) -> u32 ); NetServerTransportAddEx(servername.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1005,7 +1005,7 @@ pub unsafe fn NetServerTransportDel(servername: P0, level: u32, bufptr: *con where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerTransportDel ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerTransportDel ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *const u8 ) -> u32 ); NetServerTransportDel(servername.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1014,7 +1014,7 @@ pub unsafe fn NetServerTransportEnum(servername: P0, level: u32, bufptr: *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerTransportEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerTransportEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetServerTransportEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1024,7 +1024,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServiceControl ( servername : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR , opcode : u32 , arg : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServiceControl ( servername : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR , opcode : u32 , arg : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetServiceControl(servername.into().abi(), service.into().abi(), opcode, arg, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1033,7 +1033,7 @@ pub unsafe fn NetServiceEnum(servername: P0, level: u32, bufptr: *mut *mut u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServiceEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServiceEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetServiceEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1043,7 +1043,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServiceGetInfo ( servername : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServiceGetInfo ( servername : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetServiceGetInfo(servername.into().abi(), service.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1053,7 +1053,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServiceInstall ( servername : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR , argc : u32 , argv : *const :: windows::core::PCWSTR , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServiceInstall ( servername : :: windows::core::PCWSTR , service : :: windows::core::PCWSTR , argc : u32 , argv : *const :: windows::core::PCWSTR , bufptr : *mut *mut u8 ) -> u32 ); NetServiceInstall(servername.into().abi(), service.into().abi(), argv.len() as _, ::core::mem::transmute(argv.as_ptr()), bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1065,7 +1065,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetSetPrimaryComputerName ( server : :: windows::core::PCWSTR , primaryname : :: windows::core::PCWSTR , domainaccount : :: windows::core::PCWSTR , domainaccountpassword : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetSetPrimaryComputerName ( server : :: windows::core::PCWSTR , primaryname : :: windows::core::PCWSTR , domainaccount : :: windows::core::PCWSTR , domainaccountpassword : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); NetSetPrimaryComputerName(server.into().abi(), primaryname.into().abi(), domainaccount.into().abi(), domainaccountpassword.into().abi(), reserved) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1076,13 +1076,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUnjoinDomain ( lpserver : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , funjoinoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUnjoinDomain ( lpserver : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , funjoinoptions : u32 ) -> u32 ); NetUnjoinDomain(lpserver.into().abi(), lpaccount.into().abi(), lppassword.into().abi(), funjoinoptions) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetUseAdd(servername: ::core::option::Option<*const i8>, levelflags: u32, buf: *const u8, parm_err: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUseAdd ( servername : *const i8 , levelflags : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUseAdd ( servername : *const i8 , levelflags : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetUseAdd(::core::mem::transmute(servername.unwrap_or(::std::ptr::null())), levelflags, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1092,7 +1092,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUseDel ( uncservername : :: windows::core::PCWSTR , usename : :: windows::core::PCWSTR , forcelevelflags : FORCE_LEVEL_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUseDel ( uncservername : :: windows::core::PCWSTR , usename : :: windows::core::PCWSTR , forcelevelflags : FORCE_LEVEL_FLAGS ) -> u32 ); NetUseDel(uncservername.into().abi(), usename.into().abi(), forcelevelflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1101,7 +1101,7 @@ pub unsafe fn NetUseEnum(uncservername: P0, levelflags: u32, bufptr: ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUseEnum ( uncservername : :: windows::core::PCWSTR , levelflags : u32 , bufptr : *mut *mut u8 , preferedmaximumsize : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUseEnum ( uncservername : :: windows::core::PCWSTR , levelflags : u32 , bufptr : *mut *mut u8 , preferedmaximumsize : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); NetUseEnum(uncservername.into().abi(), levelflags, ::core::mem::transmute(bufptr.unwrap_or(::std::ptr::null_mut())), preferedmaximumsize, ::core::mem::transmute(entriesread.unwrap_or(::std::ptr::null_mut())), totalentries, ::core::mem::transmute(resumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1111,7 +1111,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUseGetInfo ( uncservername : :: windows::core::PCWSTR , usename : :: windows::core::PCWSTR , levelflags : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUseGetInfo ( uncservername : :: windows::core::PCWSTR , usename : :: windows::core::PCWSTR , levelflags : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetUseGetInfo(uncservername.into().abi(), usename.into().abi(), levelflags, ::core::mem::transmute(bufptr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1120,7 +1120,7 @@ pub unsafe fn NetUserAdd(servername: P0, level: u32, buf: *const u8, parm_er where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetUserAdd(servername.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1132,7 +1132,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserChangePassword ( domainname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , oldpassword : :: windows::core::PCWSTR , newpassword : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserChangePassword ( domainname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , oldpassword : :: windows::core::PCWSTR , newpassword : :: windows::core::PCWSTR ) -> u32 ); NetUserChangePassword(domainname.into().abi(), username.into().abi(), oldpassword.into().abi(), newpassword.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1142,7 +1142,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserDel ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserDel ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR ) -> u32 ); NetUserDel(servername.into().abi(), username.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1151,7 +1151,7 @@ pub unsafe fn NetUserEnum(servername: P0, level: u32, filter: NET_USER_ENUM_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserEnum ( servername : :: windows::core::PCWSTR , level : u32 , filter : NET_USER_ENUM_FILTER_FLAGS , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserEnum ( servername : :: windows::core::PCWSTR , level : u32 , filter : NET_USER_ENUM_FILTER_FLAGS , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetUserEnum(servername.into().abi(), level, filter, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1161,7 +1161,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserGetGroups ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserGetGroups ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 ) -> u32 ); NetUserGetGroups(servername.into().abi(), username.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1171,7 +1171,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserGetInfo ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserGetInfo ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetUserGetInfo(servername.into().abi(), username.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1181,7 +1181,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserGetLocalGroups ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , flags : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserGetLocalGroups ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , flags : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 ) -> u32 ); NetUserGetLocalGroups(servername.into().abi(), username.into().abi(), level, flags, bufptr, prefmaxlen, entriesread, totalentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1190,7 +1190,7 @@ pub unsafe fn NetUserModalsGet(servername: P0, level: u32, bufptr: *mut *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserModalsGet ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserModalsGet ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetUserModalsGet(servername.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1199,7 +1199,7 @@ pub unsafe fn NetUserModalsSet(servername: P0, level: u32, buf: *const u8, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserModalsSet ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserModalsSet ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetUserModalsSet(servername.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1209,7 +1209,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserSetGroups ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , num_entries : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserSetGroups ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , num_entries : u32 ) -> u32 ); NetUserSetGroups(servername.into().abi(), username.into().abi(), level, buf, num_entries) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1219,7 +1219,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetUserSetInfo ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetUserSetInfo ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetUserSetInfo(servername.into().abi(), username.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1231,7 +1231,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetValidateName ( lpserver : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , nametype : NETSETUP_NAME_TYPE ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetValidateName ( lpserver : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpaccount : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , nametype : NETSETUP_NAME_TYPE ) -> u32 ); NetValidateName(lpserver.into().abi(), lpname.into().abi(), lpaccount.into().abi(), lppassword.into().abi(), nametype) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1240,13 +1240,13 @@ pub unsafe fn NetValidatePasswordPolicy(servername: P0, qualifier: *mut ::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetValidatePasswordPolicy ( servername : :: windows::core::PCWSTR , qualifier : *mut ::core::ffi::c_void , validationtype : NET_VALIDATE_PASSWORD_TYPE , inputarg : *mut ::core::ffi::c_void , outputarg : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetValidatePasswordPolicy ( servername : :: windows::core::PCWSTR , qualifier : *mut ::core::ffi::c_void , validationtype : NET_VALIDATE_PASSWORD_TYPE , inputarg : *mut ::core::ffi::c_void , outputarg : *mut *mut ::core::ffi::c_void ) -> u32 ); NetValidatePasswordPolicy(servername.into().abi(), qualifier, validationtype, inputarg, outputarg) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetValidatePasswordPolicyFree(outputarg: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetValidatePasswordPolicyFree ( outputarg : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetValidatePasswordPolicyFree ( outputarg : *mut *mut ::core::ffi::c_void ) -> u32 ); NetValidatePasswordPolicyFree(outputarg) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1255,7 +1255,7 @@ pub unsafe fn NetWkstaGetInfo(servername: P0, level: u32, bufptr: ::core::op where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetWkstaGetInfo ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetWkstaGetInfo ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetWkstaGetInfo(servername.into().abi(), level, ::core::mem::transmute(bufptr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1264,13 +1264,13 @@ pub unsafe fn NetWkstaSetInfo(servername: P0, level: u32, buffer: *const u8, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetWkstaSetInfo ( servername : :: windows::core::PCWSTR , level : u32 , buffer : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetWkstaSetInfo ( servername : :: windows::core::PCWSTR , level : u32 , buffer : *const u8 , parm_err : *mut u32 ) -> u32 ); NetWkstaSetInfo(servername.into().abi(), level, buffer, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetWkstaTransportAdd(servername: ::core::option::Option<*const i8>, level: u32, buf: *const u8, parm_err: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetWkstaTransportAdd ( servername : *const i8 , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetWkstaTransportAdd ( servername : *const i8 , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetWkstaTransportAdd(::core::mem::transmute(servername.unwrap_or(::std::ptr::null())), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1280,13 +1280,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetWkstaTransportDel ( servername : :: windows::core::PCWSTR , transportname : :: windows::core::PCWSTR , ucond : FORCE_LEVEL_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetWkstaTransportDel ( servername : :: windows::core::PCWSTR , transportname : :: windows::core::PCWSTR , ucond : FORCE_LEVEL_FLAGS ) -> u32 ); NetWkstaTransportDel(servername.into().abi(), transportname.into().abi(), ucond) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn NetWkstaTransportEnum(servername: ::core::option::Option<*const i8>, level: u32, bufptr: *mut *mut u8, prefmaxlen: u32, entriesread: *mut u32, totalentries: *mut u32, resume_handle: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetWkstaTransportEnum ( servername : *const i8 , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetWkstaTransportEnum ( servername : *const i8 , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetWkstaTransportEnum(::core::mem::transmute(servername.unwrap_or(::std::ptr::null())), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1295,7 +1295,7 @@ pub unsafe fn NetWkstaUserEnum(servername: P0, level: u32, bufptr: ::core::o where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetWkstaUserEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetWkstaUserEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); NetWkstaUserEnum(servername.into().abi(), level, ::core::mem::transmute(bufptr.unwrap_or(::std::ptr::null_mut())), prefmaxlen, ::core::mem::transmute(entriesread.unwrap_or(::std::ptr::null_mut())), totalentries, ::core::mem::transmute(resumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1304,7 +1304,7 @@ pub unsafe fn NetWkstaUserGetInfo(reserved: P0, level: u32, bufptr: *mut *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetWkstaUserGetInfo ( reserved : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetWkstaUserGetInfo ( reserved : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetWkstaUserGetInfo(reserved.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1313,7 +1313,7 @@ pub unsafe fn NetWkstaUserSetInfo(reserved: P0, level: u32, buf: *const u8, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetWkstaUserSetInfo ( reserved : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetWkstaUserSetInfo ( reserved : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetWkstaUserSetInfo(reserved.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1324,19 +1324,19 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterAssert ( pszfailedassertion : :: windows::core::PCSTR , pszfilename : :: windows::core::PCSTR , dwlinenumber : u32 , pszmessage : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterAssert ( pszfailedassertion : :: windows::core::PCSTR , pszfilename : :: windows::core::PCSTR , dwlinenumber : u32 , pszmessage : :: windows::core::PCSTR ) -> ( ) ); RouterAssert(pszfailedassertion.into().abi(), pszfilename.into().abi(), dwlinenumber, pszmessage.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn RouterGetErrorStringA(dwerrorcode: u32, lplpszerrorstring: *mut ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterGetErrorStringA ( dwerrorcode : u32 , lplpszerrorstring : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterGetErrorStringA ( dwerrorcode : u32 , lplpszerrorstring : *mut :: windows::core::PSTR ) -> u32 ); RouterGetErrorStringA(dwerrorcode, lplpszerrorstring) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn RouterGetErrorStringW(dwerrorcode: u32, lplpwszerrorstring: *mut ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterGetErrorStringW ( dwerrorcode : u32 , lplpwszerrorstring : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterGetErrorStringW ( dwerrorcode : u32 , lplpwszerrorstring : *mut :: windows::core::PWSTR ) -> u32 ); RouterGetErrorStringW(dwerrorcode, lplpwszerrorstring) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1346,7 +1346,7 @@ pub unsafe fn RouterLogDeregisterA(hloghandle: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogDeregisterA ( hloghandle : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogDeregisterA ( hloghandle : super::super::Foundation:: HANDLE ) -> ( ) ); RouterLogDeregisterA(hloghandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1356,7 +1356,7 @@ pub unsafe fn RouterLogDeregisterW(hloghandle: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogDeregisterW ( hloghandle : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogDeregisterW ( hloghandle : super::super::Foundation:: HANDLE ) -> ( ) ); RouterLogDeregisterW(hloghandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1366,7 +1366,7 @@ pub unsafe fn RouterLogEventA(hloghandle: P0, dweventtype: u32, dwmessageid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogEventA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCSTR , dwerrorcode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogEventA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCSTR , dwerrorcode : u32 ) -> ( ) ); RouterLogEventA(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plpszsubstringarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwerrorcode) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1376,7 +1376,7 @@ pub unsafe fn RouterLogEventDataA(hloghandle: P0, dweventtype: u32, dwmessag where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogEventDataA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCSTR , dwdatabytes : u32 , lpdatabytes : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogEventDataA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCSTR , dwdatabytes : u32 , lpdatabytes : *mut u8 ) -> ( ) ); RouterLogEventDataA(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plpszsubstringarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwdatabytes, lpdatabytes) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1386,7 +1386,7 @@ pub unsafe fn RouterLogEventDataW(hloghandle: P0, dweventtype: u32, dwmessag where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogEventDataW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCWSTR , dwdatabytes : u32 , lpdatabytes : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogEventDataW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCWSTR , dwdatabytes : u32 , lpdatabytes : *mut u8 ) -> ( ) ); RouterLogEventDataW(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plpszsubstringarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwdatabytes, lpdatabytes) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1397,7 +1397,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""cdecl" fn RouterLogEventExA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwerrorcode : u32 , dwmessageid : u32 , ptszformat : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""cdecl" fn RouterLogEventExA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwerrorcode : u32 , dwmessageid : u32 , ptszformat : :: windows::core::PCSTR ) -> ( ) ); RouterLogEventExA(hloghandle.into(), dweventtype, dwerrorcode, dwmessageid, ptszformat.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1408,7 +1408,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""cdecl" fn RouterLogEventExW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwerrorcode : u32 , dwmessageid : u32 , ptszformat : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""cdecl" fn RouterLogEventExW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwerrorcode : u32 , dwmessageid : u32 , ptszformat : :: windows::core::PCWSTR ) -> ( ) ); RouterLogEventExW(hloghandle.into(), dweventtype, dwerrorcode, dwmessageid, ptszformat.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1418,7 +1418,7 @@ pub unsafe fn RouterLogEventStringA(hloghandle: P0, dweventtype: u32, dwmess where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogEventStringA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCSTR , dwerrorcode : u32 , dwerrorindex : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogEventStringA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCSTR , dwerrorcode : u32 , dwerrorindex : u32 ) -> ( ) ); RouterLogEventStringA(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.len() as _, ::core::mem::transmute(plpszsubstringarray.as_ptr()), dwerrorcode, dwerrorindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1428,7 +1428,7 @@ pub unsafe fn RouterLogEventStringW(hloghandle: P0, dweventtype: u32, dwmess where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogEventStringW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCWSTR , dwerrorcode : u32 , dwerrorindex : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogEventStringW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCWSTR , dwerrorcode : u32 , dwerrorindex : u32 ) -> ( ) ); RouterLogEventStringW(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.len() as _, ::core::mem::transmute(plpszsubstringarray.as_ptr()), dwerrorcode, dwerrorindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1439,7 +1439,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogEventValistExA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwerrorcode : u32 , dwmessageid : u32 , ptszformat : :: windows::core::PCSTR , arglist : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogEventValistExA ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwerrorcode : u32 , dwmessageid : u32 , ptszformat : :: windows::core::PCSTR , arglist : *mut i8 ) -> ( ) ); RouterLogEventValistExA(hloghandle.into(), dweventtype, dwerrorcode, dwmessageid, ptszformat.into().abi(), arglist) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1450,7 +1450,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogEventValistExW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwerrorcode : u32 , dwmessageid : u32 , ptszformat : :: windows::core::PCWSTR , arglist : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogEventValistExW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwerrorcode : u32 , dwmessageid : u32 , ptszformat : :: windows::core::PCWSTR , arglist : *mut i8 ) -> ( ) ); RouterLogEventValistExW(hloghandle.into(), dweventtype, dwerrorcode, dwmessageid, ptszformat.into().abi(), arglist) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1460,7 +1460,7 @@ pub unsafe fn RouterLogEventW(hloghandle: P0, dweventtype: u32, dwmessageid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogEventW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCWSTR , dwerrorcode : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogEventW ( hloghandle : super::super::Foundation:: HANDLE , dweventtype : u32 , dwmessageid : u32 , dwsubstringcount : u32 , plpszsubstringarray : *const :: windows::core::PCWSTR , dwerrorcode : u32 ) -> ( ) ); RouterLogEventW(hloghandle.into(), dweventtype, dwmessageid, plpszsubstringarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plpszsubstringarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwerrorcode) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1470,7 +1470,7 @@ pub unsafe fn RouterLogRegisterA(lpszsource: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogRegisterA ( lpszsource : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogRegisterA ( lpszsource : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); RouterLogRegisterA(lpszsource.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1480,7 +1480,7 @@ pub unsafe fn RouterLogRegisterW(lpszsource: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn RouterLogRegisterW ( lpszsource : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "rtutils.dll""system" fn RouterLogRegisterW ( lpszsource : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); RouterLogRegisterW(lpszsource.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1491,31 +1491,31 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mstask.dll""system" fn SetNetScheduleAccountInformation ( pwszservername : :: windows::core::PCWSTR , pwszaccount : :: windows::core::PCWSTR , pwszpassword : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mstask.dll""system" fn SetNetScheduleAccountInformation ( pwszservername : :: windows::core::PCWSTR , pwszaccount : :: windows::core::PCWSTR , pwszpassword : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SetNetScheduleAccountInformation(pwszservername.into().abi(), pwszaccount.into().abi(), pwszpassword.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn TraceDeregisterA(dwtraceid: u32) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceDeregisterA ( dwtraceid : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceDeregisterA ( dwtraceid : u32 ) -> u32 ); TraceDeregisterA(dwtraceid) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn TraceDeregisterExA(dwtraceid: u32, dwflags: u32) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceDeregisterExA ( dwtraceid : u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceDeregisterExA ( dwtraceid : u32 , dwflags : u32 ) -> u32 ); TraceDeregisterExA(dwtraceid, dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn TraceDeregisterExW(dwtraceid: u32, dwflags: u32) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceDeregisterExW ( dwtraceid : u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceDeregisterExW ( dwtraceid : u32 , dwflags : u32 ) -> u32 ); TraceDeregisterExW(dwtraceid, dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] pub unsafe fn TraceDeregisterW(dwtraceid: u32) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceDeregisterW ( dwtraceid : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceDeregisterW ( dwtraceid : u32 ) -> u32 ); TraceDeregisterW(dwtraceid) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1526,7 +1526,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceDumpExA ( dwtraceid : u32 , dwflags : u32 , lpbbytes : *mut u8 , dwbytecount : u32 , dwgroupsize : u32 , baddressprefix : super::super::Foundation:: BOOL , lpszprefix : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceDumpExA ( dwtraceid : u32 , dwflags : u32 , lpbbytes : *mut u8 , dwbytecount : u32 , dwgroupsize : u32 , baddressprefix : super::super::Foundation:: BOOL , lpszprefix : :: windows::core::PCSTR ) -> u32 ); TraceDumpExA(dwtraceid, dwflags, lpbbytes, dwbytecount, dwgroupsize, baddressprefix.into(), lpszprefix.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] @@ -1537,21 +1537,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceDumpExW ( dwtraceid : u32 , dwflags : u32 , lpbbytes : *mut u8 , dwbytecount : u32 , dwgroupsize : u32 , baddressprefix : super::super::Foundation:: BOOL , lpszprefix : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceDumpExW ( dwtraceid : u32 , dwflags : u32 , lpbbytes : *mut u8 , dwbytecount : u32 , dwgroupsize : u32 , baddressprefix : super::super::Foundation:: BOOL , lpszprefix : :: windows::core::PCWSTR ) -> u32 ); TraceDumpExW(dwtraceid, dwflags, lpbbytes, dwbytecount, dwgroupsize, baddressprefix.into(), lpszprefix.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TraceGetConsoleA(dwtraceid: u32, lphconsole: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceGetConsoleA ( dwtraceid : u32 , lphconsole : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceGetConsoleA ( dwtraceid : u32 , lphconsole : *mut super::super::Foundation:: HANDLE ) -> u32 ); TraceGetConsoleA(dwtraceid, lphconsole) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TraceGetConsoleW(dwtraceid: u32, lphconsole: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceGetConsoleW ( dwtraceid : u32 , lphconsole : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceGetConsoleW ( dwtraceid : u32 , lphconsole : *mut super::super::Foundation:: HANDLE ) -> u32 ); TraceGetConsoleW(dwtraceid, lphconsole) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1560,7 +1560,7 @@ pub unsafe fn TracePrintfA(dwtraceid: u32, lpszformat: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""cdecl" fn TracePrintfA ( dwtraceid : u32 , lpszformat : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""cdecl" fn TracePrintfA ( dwtraceid : u32 , lpszformat : :: windows::core::PCSTR ) -> u32 ); TracePrintfA(dwtraceid, lpszformat.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1569,7 +1569,7 @@ pub unsafe fn TracePrintfExA(dwtraceid: u32, dwflags: u32, lpszformat: P0) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""cdecl" fn TracePrintfExA ( dwtraceid : u32 , dwflags : u32 , lpszformat : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""cdecl" fn TracePrintfExA ( dwtraceid : u32 , dwflags : u32 , lpszformat : :: windows::core::PCSTR ) -> u32 ); TracePrintfExA(dwtraceid, dwflags, lpszformat.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1578,7 +1578,7 @@ pub unsafe fn TracePrintfExW(dwtraceid: u32, dwflags: u32, lpszformat: P0) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""cdecl" fn TracePrintfExW ( dwtraceid : u32 , dwflags : u32 , lpszformat : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""cdecl" fn TracePrintfExW ( dwtraceid : u32 , dwflags : u32 , lpszformat : :: windows::core::PCWSTR ) -> u32 ); TracePrintfExW(dwtraceid, dwflags, lpszformat.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1587,7 +1587,7 @@ pub unsafe fn TracePrintfW(dwtraceid: u32, lpszformat: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""cdecl" fn TracePrintfW ( dwtraceid : u32 , lpszformat : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""cdecl" fn TracePrintfW ( dwtraceid : u32 , lpszformat : :: windows::core::PCWSTR ) -> u32 ); TracePrintfW(dwtraceid, lpszformat.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1596,7 +1596,7 @@ pub unsafe fn TracePutsExA(dwtraceid: u32, dwflags: u32, lpszstring: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn TracePutsExA ( dwtraceid : u32 , dwflags : u32 , lpszstring : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TracePutsExA ( dwtraceid : u32 , dwflags : u32 , lpszstring : :: windows::core::PCSTR ) -> u32 ); TracePutsExA(dwtraceid, dwflags, lpszstring.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1605,7 +1605,7 @@ pub unsafe fn TracePutsExW(dwtraceid: u32, dwflags: u32, lpszstring: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn TracePutsExW ( dwtraceid : u32 , dwflags : u32 , lpszstring : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TracePutsExW ( dwtraceid : u32 , dwflags : u32 , lpszstring : :: windows::core::PCWSTR ) -> u32 ); TracePutsExW(dwtraceid, dwflags, lpszstring.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1614,7 +1614,7 @@ pub unsafe fn TraceRegisterExA(lpszcallername: P0, dwflags: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceRegisterExA ( lpszcallername : :: windows::core::PCSTR , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceRegisterExA ( lpszcallername : :: windows::core::PCSTR , dwflags : u32 ) -> u32 ); TraceRegisterExA(lpszcallername.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1623,7 +1623,7 @@ pub unsafe fn TraceRegisterExW(lpszcallername: P0, dwflags: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceRegisterExW ( lpszcallername : :: windows::core::PCWSTR , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceRegisterExW ( lpszcallername : :: windows::core::PCWSTR , dwflags : u32 ) -> u32 ); TraceRegisterExW(lpszcallername.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1632,7 +1632,7 @@ pub unsafe fn TraceVprintfExA(dwtraceid: u32, dwflags: u32, lpszformat: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceVprintfExA ( dwtraceid : u32 , dwflags : u32 , lpszformat : :: windows::core::PCSTR , arglist : *mut i8 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceVprintfExA ( dwtraceid : u32 , dwflags : u32 , lpszformat : :: windows::core::PCSTR , arglist : *mut i8 ) -> u32 ); TraceVprintfExA(dwtraceid, dwflags, lpszformat.into().abi(), arglist) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1641,7 +1641,7 @@ pub unsafe fn TraceVprintfExW(dwtraceid: u32, dwflags: u32, lpszformat: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rtutils.dll""system" fn TraceVprintfExW ( dwtraceid : u32 , dwflags : u32 , lpszformat : :: windows::core::PCWSTR , arglist : *mut i8 ) -> u32 ); + ::windows::imp::link ! ( "rtutils.dll""system" fn TraceVprintfExW ( dwtraceid : u32 , dwflags : u32 , lpszformat : :: windows::core::PCWSTR , arglist : *mut i8 ) -> u32 ); TraceVprintfExW(dwtraceid, dwflags, lpszformat.into().abi(), arglist) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] @@ -1661,7 +1661,7 @@ impl IEnumNetCfgBindingInterface { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenum.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IEnumNetCfgBindingInterface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNetCfgBindingInterface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNetCfgBindingInterface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1710,7 +1710,7 @@ impl IEnumNetCfgBindingPath { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenum.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IEnumNetCfgBindingPath, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNetCfgBindingPath, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNetCfgBindingPath { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1759,7 +1759,7 @@ impl IEnumNetCfgComponent { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenum.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IEnumNetCfgComponent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNetCfgComponent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNetCfgComponent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1820,7 +1820,7 @@ impl INetCfg { (::windows::core::Vtable::vtable(self).QueryNetCfgClass)(::windows::core::Vtable::as_raw(self), pguidclass, riid, ::core::mem::transmute(ppvobject.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(INetCfg, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfg, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfg { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1869,7 +1869,7 @@ impl INetCfgBindingInterface { (::windows::core::Vtable::vtable(self).GetLowerComponent)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppnccitem.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(INetCfgBindingInterface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgBindingInterface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgBindingInterface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1941,7 +1941,7 @@ impl INetCfgBindingPath { (::windows::core::Vtable::vtable(self).EnumBindingInterfaces)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenuminterface.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(INetCfgBindingPath, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgBindingPath, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgBindingPath { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1994,7 +1994,7 @@ impl INetCfgClass { (::windows::core::Vtable::vtable(self).EnumComponents)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenumcomponent.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(INetCfgClass, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgClass, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgClass { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2055,7 +2055,7 @@ impl INetCfgClassSetup { (::windows::core::Vtable::vtable(self).DeInstall)(::windows::core::Vtable::as_raw(self), pcomponent.into().abi(), ::core::mem::transmute(pobotoken.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pmszwrefs.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(INetCfgClassSetup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgClassSetup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgClassSetup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2132,7 +2132,7 @@ impl INetCfgClassSetup2 { (::windows::core::Vtable::vtable(self).UpdateNonEnumeratedComponent)(::windows::core::Vtable::as_raw(self), picomp.into().abi(), dwsetupflags, dwupgradefrombuildno).ok() } } -::windows::core::interface_hierarchy!(INetCfgClassSetup2, ::windows::core::IUnknown, INetCfgClassSetup); +::windows::imp::interface_hierarchy!(INetCfgClassSetup2, ::windows::core::IUnknown, INetCfgClassSetup); impl ::core::cmp::PartialEq for INetCfgClassSetup2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2215,7 +2215,7 @@ impl INetCfgComponent { (::windows::core::Vtable::vtable(self).RaisePropertyUi)(::windows::core::Vtable::as_raw(self), hwndparent.into(), dwflags, punkcontext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2313,7 +2313,7 @@ impl INetCfgComponentBindings { (::windows::core::Vtable::vtable(self).MoveAfter)(::windows::core::Vtable::as_raw(self), pncbitemsrc.into().abi(), pncbitemdest.into().abi()).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponentBindings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponentBindings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponentBindings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2376,7 +2376,7 @@ impl INetCfgComponentControl { (::windows::core::Vtable::vtable(self).CancelChanges)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponentControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponentControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponentControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2428,7 +2428,7 @@ impl INetCfgComponentNotifyBinding { (::windows::core::Vtable::vtable(self).NotifyBindingPath)(::windows::core::Vtable::as_raw(self), dwchangeflag, pipath.into().abi()).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponentNotifyBinding, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponentNotifyBinding, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponentNotifyBinding { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2485,7 +2485,7 @@ impl INetCfgComponentNotifyGlobal { (::windows::core::Vtable::vtable(self).SysNotifyComponent)(::windows::core::Vtable::as_raw(self), dwchangeflag, picomp.into().abi()).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponentNotifyGlobal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponentNotifyGlobal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponentNotifyGlobal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2556,7 +2556,7 @@ impl INetCfgComponentPropertyUi { (::windows::core::Vtable::vtable(self).CancelProperties)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponentPropertyUi, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponentPropertyUi, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponentPropertyUi { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2617,7 +2617,7 @@ impl INetCfgComponentSetup { (::windows::core::Vtable::vtable(self).Removing)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponentSetup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponentSetup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponentSetup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2668,7 +2668,7 @@ impl INetCfgComponentSysPrep { (::windows::core::Vtable::vtable(self).RestoreAdapterParameters)(::windows::core::Vtable::as_raw(self), pszwanswerfile.into().abi(), pszwanswersection.into().abi(), padapterinstanceguid).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponentSysPrep, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponentSysPrep, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponentSysPrep { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2721,7 +2721,7 @@ impl INetCfgComponentUpperEdge { (::windows::core::Vtable::vtable(self).RemoveInterfacesFromAdapter)(::windows::core::Vtable::as_raw(self), padapter.into().abi(), pguidinterfaceids.len() as _, ::core::mem::transmute(pguidinterfaceids.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(INetCfgComponentUpperEdge, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgComponentUpperEdge, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgComponentUpperEdge { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2769,7 +2769,7 @@ impl INetCfgLock { (::windows::core::Vtable::vtable(self).IsWriteLocked)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppszwclientdescription.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(INetCfgLock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgLock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgLock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2812,7 +2812,7 @@ impl INetCfgPnpReconfigCallback { (::windows::core::Vtable::vtable(self).SendPnpReconfig)(::windows::core::Vtable::as_raw(self), layer, pszwupper.into().abi(), pszwlower.into().abi(), pvdata, dwsizeofdata).ok() } } -::windows::core::interface_hierarchy!(INetCfgPnpReconfigCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgPnpReconfigCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgPnpReconfigCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2879,7 +2879,7 @@ impl INetCfgSysPrep { (::windows::core::Vtable::vtable(self).HrSetupSetFirstMultiSzField)(::windows::core::Vtable::as_raw(self), pwszsection.into().abi(), pwszkey.into().abi(), pmszvalue.into().abi()).ok() } } -::windows::core::interface_hierarchy!(INetCfgSysPrep, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetCfgSysPrep, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetCfgSysPrep { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2923,7 +2923,7 @@ impl INetLanConnectionUiInfo { (::windows::core::Vtable::vtable(self).GetDeviceGuid)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(INetLanConnectionUiInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetLanConnectionUiInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetLanConnectionUiInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2962,7 +2962,7 @@ impl INetRasConnectionIpUiInfo { (::windows::core::Vtable::vtable(self).GetUiInfo)(::windows::core::Vtable::as_raw(self), pinfo).ok() } } -::windows::core::interface_hierarchy!(INetRasConnectionIpUiInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetRasConnectionIpUiInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetRasConnectionIpUiInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3016,7 +3016,7 @@ impl IProvisioningDomain { (::windows::core::Vtable::vtable(self).Query)(::windows::core::Vtable::as_raw(self), pszwdomain.into().abi(), pszwlanguage.into().abi(), pszwxpathquery.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProvisioningDomain, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProvisioningDomain, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProvisioningDomain { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3058,7 +3058,7 @@ impl IProvisioningProfileWireless { (::windows::core::Vtable::vtable(self).CreateProfile)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrxmlwirelessconfigprofile), ::core::mem::transmute_copy(bstrxmlconnectionconfigprofile), padapterinstanceguid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProvisioningProfileWireless, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProvisioningProfileWireless, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProvisioningProfileWireless { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs index 6ec60348ac..2ee620e727 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netsh.dll""system" fn MatchEnumTag ( hmodule : super::super::Foundation:: HANDLE , pwcarg : :: windows::core::PCWSTR , dwnumarg : u32 , penumtable : *const TOKEN_VALUE , pdwvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netsh.dll""system" fn MatchEnumTag ( hmodule : super::super::Foundation:: HANDLE , pwcarg : :: windows::core::PCWSTR , dwnumarg : u32 , penumtable : *const TOKEN_VALUE , pdwvalue : *mut u32 ) -> u32 ); MatchEnumTag(hmodule.into(), pwcarg.into().abi(), dwnumarg, penumtable, pdwvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netsh.dll""system" fn MatchToken ( pwszusertoken : :: windows::core::PCWSTR , pwszcmdtoken : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "netsh.dll""system" fn MatchToken ( pwszusertoken : :: windows::core::PCWSTR , pwszcmdtoken : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); MatchToken(pwszusertoken.into().abi(), pwszcmdtoken.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] @@ -27,7 +27,7 @@ pub unsafe fn PreprocessCommand(hmodule: P0, ppwcarguments: &mut [::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netsh.dll""system" fn PreprocessCommand ( hmodule : super::super::Foundation:: HANDLE , ppwcarguments : *mut :: windows::core::PWSTR , dwcurrentindex : u32 , dwargcount : u32 , ptttags : *mut TAG_TYPE , dwtagcount : u32 , dwminargs : u32 , dwmaxargs : u32 , pdwtagtype : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netsh.dll""system" fn PreprocessCommand ( hmodule : super::super::Foundation:: HANDLE , ppwcarguments : *mut :: windows::core::PWSTR , dwcurrentindex : u32 , dwargcount : u32 , ptttags : *mut TAG_TYPE , dwtagcount : u32 , dwminargs : u32 , dwmaxargs : u32 , pdwtagtype : *mut u32 ) -> u32 ); PreprocessCommand(hmodule.into(), ::core::mem::transmute(ppwcarguments.as_ptr()), dwcurrentindex, ppwcarguments.len() as _, ::core::mem::transmute(ptttags.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ptttags.as_deref().map_or(0, |slice| slice.len() as _), dwminargs, dwmaxargs, ::core::mem::transmute(pdwtagtype.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn PrintError(hmodule: P0, dwerrid: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netsh.dll""cdecl" fn PrintError ( hmodule : super::super::Foundation:: HANDLE , dwerrid : u32 ) -> u32 ); + ::windows::imp::link ! ( "netsh.dll""cdecl" fn PrintError ( hmodule : super::super::Foundation:: HANDLE , dwerrid : u32 ) -> u32 ); PrintError(hmodule.into(), dwerrid) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`*"] @@ -46,7 +46,7 @@ pub unsafe fn PrintMessage(pwszformat: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netsh.dll""cdecl" fn PrintMessage ( pwszformat : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netsh.dll""cdecl" fn PrintMessage ( pwszformat : :: windows::core::PCWSTR ) -> u32 ); PrintMessage(pwszformat.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] @@ -56,20 +56,20 @@ pub unsafe fn PrintMessageFromModule(hmodule: P0, dwmsgid: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netsh.dll""cdecl" fn PrintMessageFromModule ( hmodule : super::super::Foundation:: HANDLE , dwmsgid : u32 ) -> u32 ); + ::windows::imp::link ! ( "netsh.dll""cdecl" fn PrintMessageFromModule ( hmodule : super::super::Foundation:: HANDLE , dwmsgid : u32 ) -> u32 ); PrintMessageFromModule(hmodule.into(), dwmsgid) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RegisterContext(pchildcontext: *const NS_CONTEXT_ATTRIBUTES) -> u32 { - ::windows::core::link ! ( "netsh.dll""system" fn RegisterContext ( pchildcontext : *const NS_CONTEXT_ATTRIBUTES ) -> u32 ); + ::windows::imp::link ! ( "netsh.dll""system" fn RegisterContext ( pchildcontext : *const NS_CONTEXT_ATTRIBUTES ) -> u32 ); RegisterContext(pchildcontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`*"] #[inline] pub unsafe fn RegisterHelper(pguidparentcontext: *const ::windows::core::GUID, pfnregistersubcontext: *const NS_HELPER_ATTRIBUTES) -> u32 { - ::windows::core::link ! ( "netsh.dll""system" fn RegisterHelper ( pguidparentcontext : *const :: windows::core::GUID , pfnregistersubcontext : *const NS_HELPER_ATTRIBUTES ) -> u32 ); + ::windows::imp::link ! ( "netsh.dll""system" fn RegisterHelper ( pguidparentcontext : *const :: windows::core::GUID , pfnregistersubcontext : *const NS_HELPER_ATTRIBUTES ) -> u32 ); RegisterHelper(pguidparentcontext, pfnregistersubcontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetShell\"`*"] 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 2538ed7edf..c26852220b 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -1,19 +1,19 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[inline] pub unsafe fn NdfCancelIncident(handle: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCancelIncident ( handle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCancelIncident ( handle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCancelIncident(handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[inline] pub unsafe fn NdfCloseIncident(handle: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCloseIncident ( handle : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCloseIncident ( handle : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCloseIncident(handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[inline] pub unsafe fn NdfCreateConnectivityIncident(handle: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateConnectivityIncident ( handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateConnectivityIncident ( handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreateConnectivityIncident(handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] @@ -22,7 +22,7 @@ pub unsafe fn NdfCreateDNSIncident(hostname: P0, querytype: u16, handle: *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateDNSIncident ( hostname : :: windows::core::PCWSTR , querytype : u16 , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateDNSIncident ( hostname : :: windows::core::PCWSTR , querytype : u16 , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreateDNSIncident(hostname.into().abi(), querytype, handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -36,7 +36,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateGroupingIncident ( cloudname : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , identity : :: windows::core::PCWSTR , invitation : :: windows::core::PCWSTR , addresses : *const super::super::Networking::WinSock:: SOCKET_ADDRESS_LIST , appid : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateGroupingIncident ( cloudname : :: windows::core::PCWSTR , groupname : :: windows::core::PCWSTR , identity : :: windows::core::PCWSTR , invitation : :: windows::core::PCWSTR , addresses : *const super::super::Networking::WinSock:: SOCKET_ADDRESS_LIST , appid : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreateGroupingIncident(cloudname.into().abi(), groupname.into().abi(), identity.into().abi(), invitation.into().abi(), ::core::mem::transmute(addresses.unwrap_or(::std::ptr::null())), appid.into().abi(), handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] @@ -46,13 +46,13 @@ pub unsafe fn NdfCreateIncident(helperclassname: P0, attributes: &[HELPER_AT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateIncident ( helperclassname : :: windows::core::PCWSTR , celt : u32 , attributes : *const HELPER_ATTRIBUTE , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateIncident ( helperclassname : :: windows::core::PCWSTR , celt : u32 , attributes : *const HELPER_ATTRIBUTE , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreateIncident(helperclassname.into().abi(), attributes.len() as _, ::core::mem::transmute(attributes.as_ptr()), handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[inline] pub unsafe fn NdfCreateNetConnectionIncident(handle: *mut *mut ::core::ffi::c_void, id: ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateNetConnectionIncident ( handle : *mut *mut ::core::ffi::c_void , id : :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateNetConnectionIncident ( handle : *mut *mut ::core::ffi::c_void , id : :: windows::core::GUID ) -> :: windows::core::HRESULT ); NdfCreateNetConnectionIncident(handle, ::core::mem::transmute(id)).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] @@ -65,7 +65,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreatePnrpIncident ( cloudname : :: windows::core::PCWSTR , peername : :: windows::core::PCWSTR , diagnosepublish : super::super::Foundation:: BOOL , appid : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreatePnrpIncident ( cloudname : :: windows::core::PCWSTR , peername : :: windows::core::PCWSTR , diagnosepublish : super::super::Foundation:: BOOL , appid : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreatePnrpIncident(cloudname.into().abi(), peername.into().abi(), diagnosepublish.into(), appid.into().abi(), handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] @@ -74,7 +74,7 @@ pub unsafe fn NdfCreateSharingIncident(uncpath: P0, handle: *mut *mut ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateSharingIncident ( uncpath : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateSharingIncident ( uncpath : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreateSharingIncident(uncpath.into().abi(), handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] @@ -83,7 +83,7 @@ pub unsafe fn NdfCreateWebIncident(url: P0, handle: *mut *mut ::core::ffi::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateWebIncident ( url : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateWebIncident ( url : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreateWebIncident(url.into().abi(), handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] @@ -95,7 +95,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateWebIncidentEx ( url : :: windows::core::PCWSTR , usewinhttp : super::super::Foundation:: BOOL , modulename : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateWebIncidentEx ( url : :: windows::core::PCWSTR , usewinhttp : super::super::Foundation:: BOOL , modulename : :: windows::core::PCWSTR , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreateWebIncidentEx(url.into().abi(), usewinhttp.into(), modulename.into().abi(), handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security\"`*"] @@ -107,13 +107,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfCreateWinSockIncident ( sock : super::super::Networking::WinSock:: SOCKET , host : :: windows::core::PCWSTR , port : u16 , appid : :: windows::core::PCWSTR , userid : *const super::super::Security:: SID , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfCreateWinSockIncident ( sock : super::super::Networking::WinSock:: SOCKET , host : :: windows::core::PCWSTR , port : u16 , appid : :: windows::core::PCWSTR , userid : *const super::super::Security:: SID , handle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NdfCreateWinSockIncident(sock.into(), host.into().abi(), port, appid.into().abi(), ::core::mem::transmute(userid.unwrap_or(::std::ptr::null())), handle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[inline] pub unsafe fn NdfDiagnoseIncident(handle: *const ::core::ffi::c_void, rootcausecount: *mut u32, rootcauses: *mut *mut RootCauseInfo, dwwait: u32, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfDiagnoseIncident ( handle : *const ::core::ffi::c_void , rootcausecount : *mut u32 , rootcauses : *mut *mut RootCauseInfo , dwwait : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfDiagnoseIncident ( handle : *const ::core::ffi::c_void , rootcausecount : *mut u32 , rootcauses : *mut *mut RootCauseInfo , dwwait : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); NdfDiagnoseIncident(handle, rootcausecount, rootcauses, dwwait, dwflags).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`*"] @@ -123,20 +123,20 @@ pub unsafe fn NdfExecuteDiagnosis(handle: *const ::core::ffi::c_void, hwnd: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfExecuteDiagnosis ( handle : *const ::core::ffi::c_void , hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfExecuteDiagnosis ( handle : *const ::core::ffi::c_void , hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); NdfExecuteDiagnosis(handle, hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[inline] pub unsafe fn NdfGetTraceFile(handle: *const ::core::ffi::c_void) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfGetTraceFile ( handle : *const ::core::ffi::c_void , tracefilelocation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfGetTraceFile ( handle : *const ::core::ffi::c_void , tracefilelocation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); NdfGetTraceFile(handle, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[inline] pub unsafe fn NdfRepairIncident(handle: *const ::core::ffi::c_void, repairex: *const RepairInfoEx, dwwait: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ndfapi.dll""system" fn NdfRepairIncident ( handle : *const ::core::ffi::c_void , repairex : *const RepairInfoEx , dwwait : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ndfapi.dll""system" fn NdfRepairIncident ( handle : *const ::core::ffi::c_void , repairex : *const RepairInfoEx , dwwait : u32 ) -> :: windows::core::HRESULT ); NdfRepairIncident(handle, repairex, dwwait).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] @@ -149,7 +149,7 @@ impl INetDiagExtensibleHelper { (::windows::core::Vtable::vtable(self).ResolveAttributes)(::windows::core::Vtable::as_raw(self), rgkeyattributes.len() as _, ::core::mem::transmute(rgkeyattributes.as_ptr()), pcelt, prgmatchvalues).ok() } } -::windows::core::interface_hierarchy!(INetDiagExtensibleHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetDiagExtensibleHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetDiagExtensibleHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -269,7 +269,7 @@ impl INetDiagHelper { (::windows::core::Vtable::vtable(self).Cleanup)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(INetDiagHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetDiagHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetDiagHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -364,7 +364,7 @@ impl INetDiagHelperEx { (::windows::core::Vtable::vtable(self).ReproduceFailure)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(INetDiagHelperEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetDiagHelperEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetDiagHelperEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -406,7 +406,7 @@ impl INetDiagHelperInfo { (::windows::core::Vtable::vtable(self).GetAttributeInfo)(::windows::core::Vtable::as_raw(self), pcelt, pprgattributeinfos).ok() } } -::windows::core::interface_hierarchy!(INetDiagHelperInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetDiagHelperInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetDiagHelperInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -447,7 +447,7 @@ impl INetDiagHelperUtilFactory { (::windows::core::Vtable::vtable(self).CreateUtilityInstance)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(INetDiagHelperUtilFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetDiagHelperUtilFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetDiagHelperUtilFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs index ceeb3057be..3793f0540e 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs @@ -34,7 +34,7 @@ impl ISdo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISdo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISdo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISdo { fn eq(&self, other: &Self) -> bool { @@ -129,7 +129,7 @@ impl ISdoCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISdoCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISdoCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISdoCollection { fn eq(&self, other: &Self) -> bool { @@ -218,7 +218,7 @@ impl ISdoDictionaryOld { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISdoDictionaryOld, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISdoDictionaryOld, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISdoDictionaryOld { fn eq(&self, other: &Self) -> bool { @@ -315,7 +315,7 @@ impl ISdoMachine { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISdoMachine, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISdoMachine, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISdoMachine { fn eq(&self, other: &Self) -> bool { @@ -431,7 +431,7 @@ impl ISdoMachine2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISdoMachine2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISdoMachine); +::windows::imp::interface_hierarchy!(ISdoMachine2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISdoMachine); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISdoMachine2 { fn eq(&self, other: &Self) -> bool { @@ -495,7 +495,7 @@ impl ISdoServiceControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISdoServiceControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISdoServiceControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISdoServiceControl { fn eq(&self, other: &Self) -> bool { @@ -594,7 +594,7 @@ impl ITemplateSdo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITemplateSdo, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISdo); +::windows::imp::interface_hierarchy!(ITemplateSdo, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISdo); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITemplateSdo { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs index 6a856b2ed9..68cfa338ca 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs @@ -1,20 +1,20 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtClose(hdrt: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "drt.dll""system" fn DrtClose ( hdrt : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtClose ( hdrt : *const ::core::ffi::c_void ) -> ( ) ); DrtClose(hdrt) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtContinueSearch(hsearchcontext: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drt.dll""system" fn DrtContinueSearch ( hsearchcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtContinueSearch ( hsearchcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DrtContinueSearch(hsearchcontext).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn DrtCreateDerivedKey(plocalcert: *const super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::core::Result { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtCreateDerivedKey ( plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT , pkey : *mut DRT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtCreateDerivedKey ( plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT , pkey : *mut DRT_DATA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DrtCreateDerivedKey(plocalcert, &mut result__).from_abi(result__) } @@ -22,7 +22,7 @@ pub unsafe fn DrtCreateDerivedKey(plocalcert: *const super::super::Security::Cry #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn DrtCreateDerivedKeySecurityProvider(prootcert: *const super::super::Security::Cryptography::CERT_CONTEXT, plocalcert: ::core::option::Option<*const super::super::Security::Cryptography::CERT_CONTEXT>) -> ::windows::core::Result<*mut DRT_SECURITY_PROVIDER> { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtCreateDerivedKeySecurityProvider ( prootcert : *const super::super::Security::Cryptography:: CERT_CONTEXT , plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT , ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtCreateDerivedKeySecurityProvider ( prootcert : *const super::super::Security::Cryptography:: CERT_CONTEXT , plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT , ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut DRT_SECURITY_PROVIDER>(); DrtCreateDerivedKeySecurityProvider(prootcert, ::core::mem::transmute(plocalcert.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -32,20 +32,20 @@ pub unsafe fn DrtCreateDnsBootstrapResolver(port: u16, pwszaddress: P0) -> : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtCreateDnsBootstrapResolver ( port : u16 , pwszaddress : :: windows::core::PCWSTR , ppmodule : *mut *mut DRT_BOOTSTRAP_PROVIDER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtCreateDnsBootstrapResolver ( port : u16 , pwszaddress : :: windows::core::PCWSTR , ppmodule : *mut *mut DRT_BOOTSTRAP_PROVIDER ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut DRT_BOOTSTRAP_PROVIDER>(); DrtCreateDnsBootstrapResolver(port, pwszaddress.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtCreateIpv6UdpTransport(scope: DRT_SCOPE, dwscopeid: u32, dwlocalitythreshold: u32, pwport: *mut u16, phtransport: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drttransport.dll""system" fn DrtCreateIpv6UdpTransport ( scope : DRT_SCOPE , dwscopeid : u32 , dwlocalitythreshold : u32 , pwport : *mut u16 , phtransport : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drttransport.dll""system" fn DrtCreateIpv6UdpTransport ( scope : DRT_SCOPE , dwscopeid : u32 , dwlocalitythreshold : u32 , pwport : *mut u16 , phtransport : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DrtCreateIpv6UdpTransport(scope, dwscopeid, dwlocalitythreshold, pwport, phtransport).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtCreateNullSecurityProvider() -> ::windows::core::Result<*mut DRT_SECURITY_PROVIDER> { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtCreateNullSecurityProvider ( ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtCreateNullSecurityProvider ( ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut DRT_SECURITY_PROVIDER>(); DrtCreateNullSecurityProvider(&mut result__).from_abi(result__) } @@ -59,70 +59,70 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtCreatePnrpBootstrapResolver ( fpublish : super::super::Foundation:: BOOL , pwzpeername : :: windows::core::PCWSTR , pwzcloudname : :: windows::core::PCWSTR , pwzpublishingidentity : :: windows::core::PCWSTR , ppresolver : *mut *mut DRT_BOOTSTRAP_PROVIDER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtCreatePnrpBootstrapResolver ( fpublish : super::super::Foundation:: BOOL , pwzpeername : :: windows::core::PCWSTR , pwzcloudname : :: windows::core::PCWSTR , pwzpublishingidentity : :: windows::core::PCWSTR , ppresolver : *mut *mut DRT_BOOTSTRAP_PROVIDER ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut DRT_BOOTSTRAP_PROVIDER>(); DrtCreatePnrpBootstrapResolver(fpublish.into(), pwzpeername.into().abi(), pwzcloudname.into().abi(), pwzpublishingidentity.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtDeleteDerivedKeySecurityProvider(psecurityprovider: *const DRT_SECURITY_PROVIDER) { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtDeleteDerivedKeySecurityProvider ( psecurityprovider : *const DRT_SECURITY_PROVIDER ) -> ( ) ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtDeleteDerivedKeySecurityProvider ( psecurityprovider : *const DRT_SECURITY_PROVIDER ) -> ( ) ); DrtDeleteDerivedKeySecurityProvider(psecurityprovider) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtDeleteDnsBootstrapResolver(presolver: *const DRT_BOOTSTRAP_PROVIDER) { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtDeleteDnsBootstrapResolver ( presolver : *const DRT_BOOTSTRAP_PROVIDER ) -> ( ) ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtDeleteDnsBootstrapResolver ( presolver : *const DRT_BOOTSTRAP_PROVIDER ) -> ( ) ); DrtDeleteDnsBootstrapResolver(presolver) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtDeleteIpv6UdpTransport(htransport: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drttransport.dll""system" fn DrtDeleteIpv6UdpTransport ( htransport : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drttransport.dll""system" fn DrtDeleteIpv6UdpTransport ( htransport : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DrtDeleteIpv6UdpTransport(htransport).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtDeleteNullSecurityProvider(psecurityprovider: *const DRT_SECURITY_PROVIDER) { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtDeleteNullSecurityProvider ( psecurityprovider : *const DRT_SECURITY_PROVIDER ) -> ( ) ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtDeleteNullSecurityProvider ( psecurityprovider : *const DRT_SECURITY_PROVIDER ) -> ( ) ); DrtDeleteNullSecurityProvider(psecurityprovider) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtDeletePnrpBootstrapResolver(presolver: *const DRT_BOOTSTRAP_PROVIDER) { - ::windows::core::link ! ( "drtprov.dll""system" fn DrtDeletePnrpBootstrapResolver ( presolver : *const DRT_BOOTSTRAP_PROVIDER ) -> ( ) ); + ::windows::imp::link ! ( "drtprov.dll""system" fn DrtDeletePnrpBootstrapResolver ( presolver : *const DRT_BOOTSTRAP_PROVIDER ) -> ( ) ); DrtDeletePnrpBootstrapResolver(presolver) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtEndSearch(hsearchcontext: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drt.dll""system" fn DrtEndSearch ( hsearchcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtEndSearch ( hsearchcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DrtEndSearch(hsearchcontext).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn DrtGetEventData(hdrt: *const ::core::ffi::c_void, uleventdatalen: u32, peventdata: *mut DRT_EVENT_DATA) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drt.dll""system" fn DrtGetEventData ( hdrt : *const ::core::ffi::c_void , uleventdatalen : u32 , peventdata : *mut DRT_EVENT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtGetEventData ( hdrt : *const ::core::ffi::c_void , uleventdatalen : u32 , peventdata : *mut DRT_EVENT_DATA ) -> :: windows::core::HRESULT ); DrtGetEventData(hdrt, uleventdatalen, peventdata).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtGetEventDataSize(hdrt: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "drt.dll""system" fn DrtGetEventDataSize ( hdrt : *const ::core::ffi::c_void , puleventdatalen : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtGetEventDataSize ( hdrt : *const ::core::ffi::c_void , puleventdatalen : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DrtGetEventDataSize(hdrt, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtGetInstanceName(hdrt: *const ::core::ffi::c_void, ulcbinstancenamesize: u32, pwzdrtinstancename: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drt.dll""system" fn DrtGetInstanceName ( hdrt : *const ::core::ffi::c_void , ulcbinstancenamesize : u32 , pwzdrtinstancename : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtGetInstanceName ( hdrt : *const ::core::ffi::c_void , ulcbinstancenamesize : u32 , pwzdrtinstancename : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); DrtGetInstanceName(hdrt, ulcbinstancenamesize, ::core::mem::transmute(pwzdrtinstancename)).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtGetInstanceNameSize(hdrt: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "drt.dll""system" fn DrtGetInstanceNameSize ( hdrt : *const ::core::ffi::c_void , pulcbinstancenamesize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtGetInstanceNameSize ( hdrt : *const ::core::ffi::c_void , pulcbinstancenamesize : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DrtGetInstanceNameSize(hdrt, &mut result__).from_abi(result__) } @@ -130,26 +130,26 @@ pub unsafe fn DrtGetInstanceNameSize(hdrt: *const ::core::ffi::c_void) -> ::wind #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn DrtGetSearchPath(hsearchcontext: *const ::core::ffi::c_void, ulsearchpathsize: u32, psearchpath: *mut DRT_ADDRESS_LIST) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drt.dll""system" fn DrtGetSearchPath ( hsearchcontext : *const ::core::ffi::c_void , ulsearchpathsize : u32 , psearchpath : *mut DRT_ADDRESS_LIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtGetSearchPath ( hsearchcontext : *const ::core::ffi::c_void , ulsearchpathsize : u32 , psearchpath : *mut DRT_ADDRESS_LIST ) -> :: windows::core::HRESULT ); DrtGetSearchPath(hsearchcontext, ulsearchpathsize, psearchpath).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtGetSearchPathSize(hsearchcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "drt.dll""system" fn DrtGetSearchPathSize ( hsearchcontext : *const ::core::ffi::c_void , pulsearchpathsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtGetSearchPathSize ( hsearchcontext : *const ::core::ffi::c_void , pulsearchpathsize : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DrtGetSearchPathSize(hsearchcontext, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtGetSearchResult(hsearchcontext: *const ::core::ffi::c_void, ulsearchresultsize: u32, psearchresult: *mut DRT_SEARCH_RESULT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drt.dll""system" fn DrtGetSearchResult ( hsearchcontext : *const ::core::ffi::c_void , ulsearchresultsize : u32 , psearchresult : *mut DRT_SEARCH_RESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtGetSearchResult ( hsearchcontext : *const ::core::ffi::c_void , ulsearchresultsize : u32 , psearchresult : *mut DRT_SEARCH_RESULT ) -> :: windows::core::HRESULT ); DrtGetSearchResult(hsearchcontext, ulsearchresultsize, psearchresult).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtGetSearchResultSize(hsearchcontext: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "drt.dll""system" fn DrtGetSearchResultSize ( hsearchcontext : *const ::core::ffi::c_void , pulsearchresultsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtGetSearchResultSize ( hsearchcontext : *const ::core::ffi::c_void , pulsearchresultsize : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DrtGetSearchResultSize(hsearchcontext, &mut result__).from_abi(result__) } @@ -160,13 +160,13 @@ pub unsafe fn DrtOpen(psettings: *const DRT_SETTINGS, hevent: P0, pvcontext: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "drt.dll""system" fn DrtOpen ( psettings : *const DRT_SETTINGS , hevent : super::super::Foundation:: HANDLE , pvcontext : *const ::core::ffi::c_void , phdrt : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtOpen ( psettings : *const DRT_SETTINGS , hevent : super::super::Foundation:: HANDLE , pvcontext : *const ::core::ffi::c_void , phdrt : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DrtOpen(psettings, hevent.into(), ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), phdrt).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtRegisterKey(hdrt: *const ::core::ffi::c_void, pregistration: *const DRT_REGISTRATION, pvkeycontext: ::core::option::Option<*const ::core::ffi::c_void>, phkeyregistration: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drt.dll""system" fn DrtRegisterKey ( hdrt : *const ::core::ffi::c_void , pregistration : *const DRT_REGISTRATION , pvkeycontext : *const ::core::ffi::c_void , phkeyregistration : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtRegisterKey ( hdrt : *const ::core::ffi::c_void , pregistration : *const DRT_REGISTRATION , pvkeycontext : *const ::core::ffi::c_void , phkeyregistration : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DrtRegisterKey(hdrt, pregistration, ::core::mem::transmute(pvkeycontext.unwrap_or(::std::ptr::null())), phkeyregistration).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -176,19 +176,19 @@ pub unsafe fn DrtStartSearch(hdrt: *const ::core::ffi::c_void, pkey: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "drt.dll""system" fn DrtStartSearch ( hdrt : *const ::core::ffi::c_void , pkey : *const DRT_DATA , pinfo : *const DRT_SEARCH_INFO , timeout : u32 , hevent : super::super::Foundation:: HANDLE , pvcontext : *const ::core::ffi::c_void , hsearchcontext : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtStartSearch ( hdrt : *const ::core::ffi::c_void , pkey : *const DRT_DATA , pinfo : *const DRT_SEARCH_INFO , timeout : u32 , hevent : super::super::Foundation:: HANDLE , pvcontext : *const ::core::ffi::c_void , hsearchcontext : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DrtStartSearch(hdrt, pkey, ::core::mem::transmute(pinfo.unwrap_or(::std::ptr::null())), timeout, hevent.into(), ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), hsearchcontext).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtUnregisterKey(hkeyregistration: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "drt.dll""system" fn DrtUnregisterKey ( hkeyregistration : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtUnregisterKey ( hkeyregistration : *const ::core::ffi::c_void ) -> ( ) ); DrtUnregisterKey(hkeyregistration) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn DrtUpdateKey(hkeyregistration: *const ::core::ffi::c_void, pappdata: *const DRT_DATA) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "drt.dll""system" fn DrtUpdateKey ( hkeyregistration : *const ::core::ffi::c_void , pappdata : *const DRT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "drt.dll""system" fn DrtUpdateKey ( hkeyregistration : *const ::core::ffi::c_void , pappdata : *const DRT_DATA ) -> :: windows::core::HRESULT ); DrtUpdateKey(hkeyregistration, pappdata).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -198,7 +198,7 @@ pub unsafe fn PeerCollabAddContact(pwzcontactdata: P0, ppcontact: ::core::op where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabAddContact ( pwzcontactdata : :: windows::core::PCWSTR , ppcontact : *mut *mut PEER_CONTACT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabAddContact ( pwzcontactdata : :: windows::core::PCWSTR , ppcontact : *mut *mut PEER_CONTACT ) -> :: windows::core::HRESULT ); PeerCollabAddContact(pwzcontactdata.into().abi(), ::core::mem::transmute(ppcontact.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -208,7 +208,7 @@ pub unsafe fn PeerCollabAsyncInviteContact(pccontact: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabAsyncInviteContact ( pccontact : *const PEER_CONTACT , pcendpoint : *const PEER_ENDPOINT , pcinvitation : *const PEER_INVITATION , hevent : super::super::Foundation:: HANDLE , phinvitation : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabAsyncInviteContact ( pccontact : *const PEER_CONTACT , pcendpoint : *const PEER_ENDPOINT , pcinvitation : *const PEER_INVITATION , hevent : super::super::Foundation:: HANDLE , phinvitation : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); PeerCollabAsyncInviteContact(::core::mem::transmute(pccontact.unwrap_or(::std::ptr::null())), pcendpoint, pcinvitation, hevent.into(), ::core::mem::transmute(phinvitation.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -218,7 +218,7 @@ pub unsafe fn PeerCollabAsyncInviteEndpoint(pcendpoint: *const PEER_ENDPOINT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabAsyncInviteEndpoint ( pcendpoint : *const PEER_ENDPOINT , pcinvitation : *const PEER_INVITATION , hevent : super::super::Foundation:: HANDLE , phinvitation : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabAsyncInviteEndpoint ( pcendpoint : *const PEER_ENDPOINT , pcinvitation : *const PEER_INVITATION , hevent : super::super::Foundation:: HANDLE , phinvitation : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); PeerCollabAsyncInviteEndpoint(pcendpoint, pcinvitation, hevent.into(), ::core::mem::transmute(phinvitation.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -228,7 +228,7 @@ pub unsafe fn PeerCollabCancelInvitation(hinvitation: P0) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabCancelInvitation ( hinvitation : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabCancelInvitation ( hinvitation : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); PeerCollabCancelInvitation(hinvitation.into()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -238,7 +238,7 @@ pub unsafe fn PeerCollabCloseHandle(hinvitation: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabCloseHandle ( hinvitation : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabCloseHandle ( hinvitation : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); PeerCollabCloseHandle(hinvitation.into()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -247,59 +247,59 @@ pub unsafe fn PeerCollabDeleteContact(pwzpeername: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabDeleteContact ( pwzpeername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabDeleteContact ( pwzpeername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerCollabDeleteContact(pwzpeername.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabDeleteEndpointData(pcendpoint: *const PEER_ENDPOINT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabDeleteEndpointData ( pcendpoint : *const PEER_ENDPOINT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabDeleteEndpointData ( pcendpoint : *const PEER_ENDPOINT ) -> :: windows::core::HRESULT ); PeerCollabDeleteEndpointData(pcendpoint).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabDeleteObject(pobjectid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabDeleteObject ( pobjectid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabDeleteObject ( pobjectid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); PeerCollabDeleteObject(pobjectid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabEnumApplicationRegistrationInfo(registrationtype: PEER_APPLICATION_REGISTRATION_TYPE, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabEnumApplicationRegistrationInfo ( registrationtype : PEER_APPLICATION_REGISTRATION_TYPE , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabEnumApplicationRegistrationInfo ( registrationtype : PEER_APPLICATION_REGISTRATION_TYPE , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerCollabEnumApplicationRegistrationInfo(registrationtype, phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabEnumApplications(pcendpoint: ::core::option::Option<*const PEER_ENDPOINT>, papplicationid: ::core::option::Option<*const ::windows::core::GUID>, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabEnumApplications ( pcendpoint : *const PEER_ENDPOINT , papplicationid : *const :: windows::core::GUID , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabEnumApplications ( pcendpoint : *const PEER_ENDPOINT , papplicationid : *const :: windows::core::GUID , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerCollabEnumApplications(::core::mem::transmute(pcendpoint.unwrap_or(::std::ptr::null())), ::core::mem::transmute(papplicationid.unwrap_or(::std::ptr::null())), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabEnumContacts(phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabEnumContacts ( phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabEnumContacts ( phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerCollabEnumContacts(phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerCollabEnumEndpoints(pccontact: ::core::option::Option<*const PEER_CONTACT>, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabEnumEndpoints ( pccontact : *const PEER_CONTACT , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabEnumEndpoints ( pccontact : *const PEER_CONTACT , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerCollabEnumEndpoints(::core::mem::transmute(pccontact.unwrap_or(::std::ptr::null())), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabEnumObjects(pcendpoint: ::core::option::Option<*const PEER_ENDPOINT>, pobjectid: ::core::option::Option<*const ::windows::core::GUID>, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabEnumObjects ( pcendpoint : *const PEER_ENDPOINT , pobjectid : *const :: windows::core::GUID , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabEnumObjects ( pcendpoint : *const PEER_ENDPOINT , pobjectid : *const :: windows::core::GUID , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerCollabEnumObjects(::core::mem::transmute(pcendpoint.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pobjectid.unwrap_or(::std::ptr::null())), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabEnumPeopleNearMe(phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabEnumPeopleNearMe ( phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabEnumPeopleNearMe ( phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerCollabEnumPeopleNearMe(phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -308,7 +308,7 @@ pub unsafe fn PeerCollabExportContact(pwzpeername: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabExportContact ( pwzpeername : :: windows::core::PCWSTR , ppwzcontactdata : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabExportContact ( pwzpeername : :: windows::core::PCWSTR , ppwzcontactdata : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerCollabExportContact(pwzpeername.into().abi(), &mut result__).from_abi(result__) } @@ -316,14 +316,14 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn PeerCollabGetAppLaunchInfo() -> ::windows::core::Result<*mut PEER_APP_LAUNCH_INFO> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabGetAppLaunchInfo ( pplaunchinfo : *mut *mut PEER_APP_LAUNCH_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabGetAppLaunchInfo ( pplaunchinfo : *mut *mut PEER_APP_LAUNCH_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_APP_LAUNCH_INFO>(); PeerCollabGetAppLaunchInfo(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabGetApplicationRegistrationInfo(papplicationid: *const ::windows::core::GUID, registrationtype: PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows::core::Result<*mut PEER_APPLICATION_REGISTRATION_INFO> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabGetApplicationRegistrationInfo ( papplicationid : *const :: windows::core::GUID , registrationtype : PEER_APPLICATION_REGISTRATION_TYPE , ppapplication : *mut *mut PEER_APPLICATION_REGISTRATION_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabGetApplicationRegistrationInfo ( papplicationid : *const :: windows::core::GUID , registrationtype : PEER_APPLICATION_REGISTRATION_TYPE , ppapplication : *mut *mut PEER_APPLICATION_REGISTRATION_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_APPLICATION_REGISTRATION_INFO>(); PeerCollabGetApplicationRegistrationInfo(papplicationid, registrationtype, &mut result__).from_abi(result__) } @@ -334,14 +334,14 @@ pub unsafe fn PeerCollabGetContact(pwzpeername: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabGetContact ( pwzpeername : :: windows::core::PCWSTR , ppcontact : *mut *mut PEER_CONTACT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabGetContact ( pwzpeername : :: windows::core::PCWSTR , ppcontact : *mut *mut PEER_CONTACT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_CONTACT>(); PeerCollabGetContact(pwzpeername.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabGetEndpointName() -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabGetEndpointName ( ppwzendpointname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabGetEndpointName ( ppwzendpointname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerCollabGetEndpointName(&mut result__).from_abi(result__) } @@ -349,7 +349,7 @@ pub unsafe fn PeerCollabGetEndpointName() -> ::windows::core::Result<::windows:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn PeerCollabGetEventData(hpeerevent: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut PEER_COLLAB_EVENT_DATA> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabGetEventData ( hpeerevent : *const ::core::ffi::c_void , ppeventdata : *mut *mut PEER_COLLAB_EVENT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabGetEventData ( hpeerevent : *const ::core::ffi::c_void , ppeventdata : *mut *mut PEER_COLLAB_EVENT_DATA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_COLLAB_EVENT_DATA>(); PeerCollabGetEventData(hpeerevent, &mut result__).from_abi(result__) } @@ -360,7 +360,7 @@ pub unsafe fn PeerCollabGetInvitationResponse(hinvitation: P0) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabGetInvitationResponse ( hinvitation : super::super::Foundation:: HANDLE , ppinvitationresponse : *mut *mut PEER_INVITATION_RESPONSE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabGetInvitationResponse ( hinvitation : super::super::Foundation:: HANDLE , ppinvitationresponse : *mut *mut PEER_INVITATION_RESPONSE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_INVITATION_RESPONSE>(); PeerCollabGetInvitationResponse(hinvitation.into(), &mut result__).from_abi(result__) } @@ -368,14 +368,14 @@ where #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabGetPresenceInfo(pcendpoint: ::core::option::Option<*const PEER_ENDPOINT>) -> ::windows::core::Result<*mut PEER_PRESENCE_INFO> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabGetPresenceInfo ( pcendpoint : *const PEER_ENDPOINT , pppresenceinfo : *mut *mut PEER_PRESENCE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabGetPresenceInfo ( pcendpoint : *const PEER_ENDPOINT , pppresenceinfo : *mut *mut PEER_PRESENCE_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_PRESENCE_INFO>(); PeerCollabGetPresenceInfo(::core::mem::transmute(pcendpoint.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabGetSigninOptions() -> ::windows::core::Result { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabGetSigninOptions ( pdwsigninoptions : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabGetSigninOptions ( pdwsigninoptions : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerCollabGetSigninOptions(&mut result__).from_abi(result__) } @@ -383,7 +383,7 @@ pub unsafe fn PeerCollabGetSigninOptions() -> ::windows::core::Result { #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn PeerCollabInviteContact(pccontact: ::core::option::Option<*const PEER_CONTACT>, pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION) -> ::windows::core::Result<*mut PEER_INVITATION_RESPONSE> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabInviteContact ( pccontact : *const PEER_CONTACT , pcendpoint : *const PEER_ENDPOINT , pcinvitation : *const PEER_INVITATION , ppresponse : *mut *mut PEER_INVITATION_RESPONSE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabInviteContact ( pccontact : *const PEER_CONTACT , pcendpoint : *const PEER_ENDPOINT , pcinvitation : *const PEER_INVITATION , ppresponse : *mut *mut PEER_INVITATION_RESPONSE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_INVITATION_RESPONSE>(); PeerCollabInviteContact(::core::mem::transmute(pccontact.unwrap_or(::std::ptr::null())), pcendpoint, pcinvitation, &mut result__).from_abi(result__) } @@ -391,7 +391,7 @@ pub unsafe fn PeerCollabInviteContact(pccontact: ::core::option::Option<*const P #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabInviteEndpoint(pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION) -> ::windows::core::Result<*mut PEER_INVITATION_RESPONSE> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabInviteEndpoint ( pcendpoint : *const PEER_ENDPOINT , pcinvitation : *const PEER_INVITATION , ppresponse : *mut *mut PEER_INVITATION_RESPONSE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabInviteEndpoint ( pcendpoint : *const PEER_ENDPOINT , pcinvitation : *const PEER_INVITATION , ppresponse : *mut *mut PEER_INVITATION_RESPONSE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_INVITATION_RESPONSE>(); PeerCollabInviteEndpoint(pcendpoint, pcinvitation, &mut result__).from_abi(result__) } @@ -402,7 +402,7 @@ pub unsafe fn PeerCollabParseContact(pwzcontactdata: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabParseContact ( pwzcontactdata : :: windows::core::PCWSTR , ppcontact : *mut *mut PEER_CONTACT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabParseContact ( pwzcontactdata : :: windows::core::PCWSTR , ppcontact : *mut *mut PEER_CONTACT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_CONTACT>(); PeerCollabParseContact(pwzcontactdata.into().abi(), &mut result__).from_abi(result__) } @@ -410,7 +410,7 @@ where #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabQueryContactData(pcendpoint: ::core::option::Option<*const PEER_ENDPOINT>) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabQueryContactData ( pcendpoint : *const PEER_ENDPOINT , ppwzcontactdata : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabQueryContactData ( pcendpoint : *const PEER_ENDPOINT , ppwzcontactdata : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerCollabQueryContactData(::core::mem::transmute(pcendpoint.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -418,13 +418,13 @@ pub unsafe fn PeerCollabQueryContactData(pcendpoint: ::core::option::Option<*con #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabRefreshEndpointData(pcendpoint: *const PEER_ENDPOINT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabRefreshEndpointData ( pcendpoint : *const PEER_ENDPOINT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabRefreshEndpointData ( pcendpoint : *const PEER_ENDPOINT ) -> :: windows::core::HRESULT ); PeerCollabRefreshEndpointData(pcendpoint).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabRegisterApplication(pcapplication: *const PEER_APPLICATION_REGISTRATION_INFO, registrationtype: PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabRegisterApplication ( pcapplication : *const PEER_APPLICATION_REGISTRATION_INFO , registrationtype : PEER_APPLICATION_REGISTRATION_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabRegisterApplication ( pcapplication : *const PEER_APPLICATION_REGISTRATION_INFO , registrationtype : PEER_APPLICATION_REGISTRATION_TYPE ) -> :: windows::core::HRESULT ); PeerCollabRegisterApplication(pcapplication, registrationtype).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -434,7 +434,7 @@ pub unsafe fn PeerCollabRegisterEvent(hevent: P0, peventregistrations: &[PEE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabRegisterEvent ( hevent : super::super::Foundation:: HANDLE , ceventregistration : u32 , peventregistrations : *const PEER_COLLAB_EVENT_REGISTRATION , phpeerevent : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabRegisterEvent ( hevent : super::super::Foundation:: HANDLE , ceventregistration : u32 , peventregistrations : *const PEER_COLLAB_EVENT_REGISTRATION , phpeerevent : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerCollabRegisterEvent(hevent.into(), peventregistrations.len() as _, ::core::mem::transmute(peventregistrations.as_ptr()), phpeerevent).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -443,25 +443,25 @@ pub unsafe fn PeerCollabSetEndpointName(pwzendpointname: P0) -> ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabSetEndpointName ( pwzendpointname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabSetEndpointName ( pwzendpointname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerCollabSetEndpointName(pwzendpointname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabSetObject(pcobject: *const PEER_OBJECT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabSetObject ( pcobject : *const PEER_OBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabSetObject ( pcobject : *const PEER_OBJECT ) -> :: windows::core::HRESULT ); PeerCollabSetObject(pcobject).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabSetPresenceInfo(pcpresenceinfo: *const PEER_PRESENCE_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabSetPresenceInfo ( pcpresenceinfo : *const PEER_PRESENCE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabSetPresenceInfo ( pcpresenceinfo : *const PEER_PRESENCE_INFO ) -> :: windows::core::HRESULT ); PeerCollabSetPresenceInfo(pcpresenceinfo).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabShutdown() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabShutdown ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabShutdown ( ) -> :: windows::core::HRESULT ); PeerCollabShutdown().ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -471,52 +471,52 @@ pub unsafe fn PeerCollabSignin(hwndparent: P0, dwsigninoptions: u32) -> ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabSignin ( hwndparent : super::super::Foundation:: HWND , dwsigninoptions : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabSignin ( hwndparent : super::super::Foundation:: HWND , dwsigninoptions : u32 ) -> :: windows::core::HRESULT ); PeerCollabSignin(hwndparent.into(), dwsigninoptions).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabSignout(dwsigninoptions: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabSignout ( dwsigninoptions : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabSignout ( dwsigninoptions : u32 ) -> :: windows::core::HRESULT ); PeerCollabSignout(dwsigninoptions).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabStartup(wversionrequested: u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabStartup ( wversionrequested : u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabStartup ( wversionrequested : u16 ) -> :: windows::core::HRESULT ); PeerCollabStartup(wversionrequested).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabSubscribeEndpointData(pcendpoint: *const PEER_ENDPOINT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabSubscribeEndpointData ( pcendpoint : *const PEER_ENDPOINT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabSubscribeEndpointData ( pcendpoint : *const PEER_ENDPOINT ) -> :: windows::core::HRESULT ); PeerCollabSubscribeEndpointData(pcendpoint).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabUnregisterApplication(papplicationid: *const ::windows::core::GUID, registrationtype: PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabUnregisterApplication ( papplicationid : *const :: windows::core::GUID , registrationtype : PEER_APPLICATION_REGISTRATION_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabUnregisterApplication ( papplicationid : *const :: windows::core::GUID , registrationtype : PEER_APPLICATION_REGISTRATION_TYPE ) -> :: windows::core::HRESULT ); PeerCollabUnregisterApplication(papplicationid, registrationtype).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerCollabUnregisterEvent(hpeerevent: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabUnregisterEvent ( hpeerevent : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabUnregisterEvent ( hpeerevent : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerCollabUnregisterEvent(hpeerevent).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabUnsubscribeEndpointData(pcendpoint: *const PEER_ENDPOINT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabUnsubscribeEndpointData ( pcendpoint : *const PEER_ENDPOINT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabUnsubscribeEndpointData ( pcendpoint : *const PEER_ENDPOINT ) -> :: windows::core::HRESULT ); PeerCollabUnsubscribeEndpointData(pcendpoint).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerCollabUpdateContact(pcontact: *const PEER_CONTACT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCollabUpdateContact ( pcontact : *const PEER_CONTACT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCollabUpdateContact ( pcontact : *const PEER_CONTACT ) -> :: windows::core::HRESULT ); PeerCollabUpdateContact(pcontact).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -526,7 +526,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerCreatePeerName ( pwzidentity : :: windows::core::PCWSTR , pwzclassifier : :: windows::core::PCWSTR , ppwzpeername : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerCreatePeerName ( pwzidentity : :: windows::core::PCWSTR , pwzclassifier : :: windows::core::PCWSTR , ppwzpeername : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerCreatePeerName(pwzidentity.into().abi(), pwzclassifier.into().abi(), &mut result__).from_abi(result__) } @@ -534,41 +534,41 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistClientAddContentInformation(hpeerdist: isize, hcontenthandle: isize, pbuffer: &[u8], lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientAddContentInformation ( hpeerdist : isize , hcontenthandle : isize , cbnumberofbytes : u32 , pbuffer : *const u8 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientAddContentInformation ( hpeerdist : isize , hcontenthandle : isize , cbnumberofbytes : u32 , pbuffer : *const u8 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistClientAddContentInformation(hpeerdist, hcontenthandle, pbuffer.len() as _, ::core::mem::transmute(pbuffer.as_ptr()), lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistClientAddData(hpeerdist: isize, hcontenthandle: isize, pbuffer: &[u8], lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientAddData ( hpeerdist : isize , hcontenthandle : isize , cbnumberofbytes : u32 , pbuffer : *const u8 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientAddData ( hpeerdist : isize , hcontenthandle : isize , cbnumberofbytes : u32 , pbuffer : *const u8 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistClientAddData(hpeerdist, hcontenthandle, pbuffer.len() as _, ::core::mem::transmute(pbuffer.as_ptr()), lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistClientBlockRead(hpeerdist: isize, hcontenthandle: isize, pbuffer: ::core::option::Option<&mut [u8]>, dwtimeoutinmilliseconds: u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientBlockRead ( hpeerdist : isize , hcontenthandle : isize , cbmaxnumberofbytes : u32 , pbuffer : *mut u8 , dwtimeoutinmilliseconds : u32 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientBlockRead ( hpeerdist : isize , hcontenthandle : isize , cbmaxnumberofbytes : u32 , pbuffer : *mut u8 , dwtimeoutinmilliseconds : u32 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistClientBlockRead(hpeerdist, hcontenthandle, pbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwtimeoutinmilliseconds, lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistClientCancelAsyncOperation(hpeerdist: isize, hcontenthandle: isize, poverlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientCancelAsyncOperation ( hpeerdist : isize , hcontenthandle : isize , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientCancelAsyncOperation ( hpeerdist : isize , hcontenthandle : isize , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistClientCancelAsyncOperation(hpeerdist, hcontenthandle, ::core::mem::transmute(poverlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistClientCloseContent(hpeerdist: isize, hcontenthandle: isize) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientCloseContent ( hpeerdist : isize , hcontenthandle : isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientCloseContent ( hpeerdist : isize , hcontenthandle : isize ) -> u32 ); PeerDistClientCloseContent(hpeerdist, hcontenthandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistClientCompleteContentInformation(hpeerdist: isize, hcontenthandle: isize, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientCompleteContentInformation ( hpeerdist : isize , hcontenthandle : isize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientCompleteContentInformation ( hpeerdist : isize , hcontenthandle : isize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistClientCompleteContentInformation(hpeerdist, hcontenthandle, lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -578,13 +578,13 @@ pub unsafe fn PeerDistClientFlushContent(hpeerdist: isize, pcontenttag: *con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientFlushContent ( hpeerdist : isize , pcontenttag : *const PEERDIST_CONTENT_TAG , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientFlushContent ( hpeerdist : isize , pcontenttag : *const PEERDIST_CONTENT_TAG , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistClientFlushContent(hpeerdist, pcontenttag, hcompletionport.into(), ulcompletionkey, lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistClientGetInformationByHandle(hpeerdist: isize, hcontenthandle: isize, peerdistclientinfoclass: PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS, dwbuffersize: u32, lpinformation: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientGetInformationByHandle ( hpeerdist : isize , hcontenthandle : isize , peerdistclientinfoclass : PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS , dwbuffersize : u32 , lpinformation : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientGetInformationByHandle ( hpeerdist : isize , hcontenthandle : isize , peerdistclientinfoclass : PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS , dwbuffersize : u32 , lpinformation : *mut ::core::ffi::c_void ) -> u32 ); PeerDistClientGetInformationByHandle(hpeerdist, hcontenthandle, peerdistclientinfoclass, dwbuffersize, lpinformation) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -594,14 +594,14 @@ pub unsafe fn PeerDistClientOpenContent(hpeerdist: isize, pcontenttag: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientOpenContent ( hpeerdist : isize , pcontenttag : *const PEERDIST_CONTENT_TAG , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , phcontenthandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientOpenContent ( hpeerdist : isize , pcontenttag : *const PEERDIST_CONTENT_TAG , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , phcontenthandle : *mut isize ) -> u32 ); PeerDistClientOpenContent(hpeerdist, pcontenttag, hcompletionport.into(), ulcompletionkey, phcontenthandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistClientStreamRead(hpeerdist: isize, hcontenthandle: isize, pbuffer: ::core::option::Option<&mut [u8]>, dwtimeoutinmilliseconds: u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistClientStreamRead ( hpeerdist : isize , hcontenthandle : isize , cbmaxnumberofbytes : u32 , pbuffer : *mut u8 , dwtimeoutinmilliseconds : u32 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistClientStreamRead ( hpeerdist : isize , hcontenthandle : isize , cbmaxnumberofbytes : u32 , pbuffer : *mut u8 , dwtimeoutinmilliseconds : u32 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistClientStreamRead(hpeerdist, hcontenthandle, pbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwtimeoutinmilliseconds, lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -611,19 +611,19 @@ pub unsafe fn PeerDistGetOverlappedResult(lpoverlapped: *const super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistGetOverlappedResult ( lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpnumberofbytestransferred : *mut u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistGetOverlappedResult ( lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpnumberofbytestransferred : *mut u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); PeerDistGetOverlappedResult(lpoverlapped, lpnumberofbytestransferred, bwait.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistGetStatus(hpeerdist: isize, ppeerdiststatus: *mut PEERDIST_STATUS) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistGetStatus ( hpeerdist : isize , ppeerdiststatus : *mut PEERDIST_STATUS ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistGetStatus ( hpeerdist : isize , ppeerdiststatus : *mut PEERDIST_STATUS ) -> u32 ); PeerDistGetStatus(hpeerdist, ppeerdiststatus) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistGetStatusEx(hpeerdist: isize, ppeerdiststatus: *mut PEERDIST_STATUS_INFO) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistGetStatusEx ( hpeerdist : isize , ppeerdiststatus : *mut PEERDIST_STATUS_INFO ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistGetStatusEx ( hpeerdist : isize , ppeerdiststatus : *mut PEERDIST_STATUS_INFO ) -> u32 ); PeerDistGetStatusEx(hpeerdist, ppeerdiststatus) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -633,7 +633,7 @@ pub unsafe fn PeerDistRegisterForStatusChangeNotification(hpeerdist: isize, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistRegisterForStatusChangeNotification ( hpeerdist : isize , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , ppeerdiststatus : *mut PEERDIST_STATUS ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistRegisterForStatusChangeNotification ( hpeerdist : isize , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , ppeerdiststatus : *mut PEERDIST_STATUS ) -> u32 ); PeerDistRegisterForStatusChangeNotification(hpeerdist, hcompletionport.into(), ulcompletionkey, lpoverlapped, ppeerdiststatus) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -643,26 +643,26 @@ pub unsafe fn PeerDistRegisterForStatusChangeNotificationEx(hpeerdist: isize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistRegisterForStatusChangeNotificationEx ( hpeerdist : isize , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , ppeerdiststatus : *mut PEERDIST_STATUS_INFO ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistRegisterForStatusChangeNotificationEx ( hpeerdist : isize , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , ppeerdiststatus : *mut PEERDIST_STATUS_INFO ) -> u32 ); PeerDistRegisterForStatusChangeNotificationEx(hpeerdist, hcompletionport.into(), ulcompletionkey, lpoverlapped, ppeerdiststatus) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistServerCancelAsyncOperation(hpeerdist: isize, pcontentidentifier: &[u8], poverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerCancelAsyncOperation ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerCancelAsyncOperation ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistServerCancelAsyncOperation(hpeerdist, pcontentidentifier.len() as _, ::core::mem::transmute(pcontentidentifier.as_ptr()), poverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistServerCloseContentInformation(hpeerdist: isize, hcontentinfo: isize) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerCloseContentInformation ( hpeerdist : isize , hcontentinfo : isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerCloseContentInformation ( hpeerdist : isize , hcontentinfo : isize ) -> u32 ); PeerDistServerCloseContentInformation(hpeerdist, hcontentinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistServerCloseStreamHandle(hpeerdist: isize, hstream: isize) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerCloseStreamHandle ( hpeerdist : isize , hstream : isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerCloseStreamHandle ( hpeerdist : isize , hstream : isize ) -> u32 ); PeerDistServerCloseStreamHandle(hpeerdist, hstream) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -672,7 +672,7 @@ pub unsafe fn PeerDistServerOpenContentInformation(hpeerdist: isize, pconten where P0: ::std::convert::Into, { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerOpenContentInformation ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 , ullcontentoffset : u64 , cbcontentlength : u64 , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , phcontentinfo : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerOpenContentInformation ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 , ullcontentoffset : u64 , cbcontentlength : u64 , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , phcontentinfo : *mut isize ) -> u32 ); PeerDistServerOpenContentInformation(hpeerdist, pcontentidentifier.len() as _, ::core::mem::transmute(pcontentidentifier.as_ptr()), ullcontentoffset, cbcontentlength, hcompletionport.into(), ulcompletionkey, phcontentinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -682,21 +682,21 @@ pub unsafe fn PeerDistServerOpenContentInformationEx(hpeerdist: isize, pcont where P0: ::std::convert::Into, { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerOpenContentInformationEx ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 , ullcontentoffset : u64 , cbcontentlength : u64 , pretrievaloptions : *const PEERDIST_RETRIEVAL_OPTIONS , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , phcontentinfo : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerOpenContentInformationEx ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 , ullcontentoffset : u64 , cbcontentlength : u64 , pretrievaloptions : *const PEERDIST_RETRIEVAL_OPTIONS , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , phcontentinfo : *mut isize ) -> u32 ); PeerDistServerOpenContentInformationEx(hpeerdist, pcontentidentifier.len() as _, ::core::mem::transmute(pcontentidentifier.as_ptr()), ullcontentoffset, cbcontentlength, pretrievaloptions, hcompletionport.into(), ulcompletionkey, phcontentinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistServerPublishAddToStream(hpeerdist: isize, hstream: isize, pbuffer: &[u8], lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerPublishAddToStream ( hpeerdist : isize , hstream : isize , cbnumberofbytes : u32 , pbuffer : *const u8 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerPublishAddToStream ( hpeerdist : isize , hstream : isize , cbnumberofbytes : u32 , pbuffer : *const u8 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistServerPublishAddToStream(hpeerdist, hstream, pbuffer.len() as _, ::core::mem::transmute(pbuffer.as_ptr()), lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistServerPublishCompleteStream(hpeerdist: isize, hstream: isize, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerPublishCompleteStream ( hpeerdist : isize , hstream : isize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerPublishCompleteStream ( hpeerdist : isize , hstream : isize , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistServerPublishCompleteStream(hpeerdist, hstream, lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -706,44 +706,44 @@ pub unsafe fn PeerDistServerPublishStream(hpeerdist: isize, pcontentidentifi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerPublishStream ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 , cbcontentlength : u64 , ppublishoptions : *const PEERDIST_PUBLICATION_OPTIONS , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , phstream : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerPublishStream ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 , cbcontentlength : u64 , ppublishoptions : *const PEERDIST_PUBLICATION_OPTIONS , hcompletionport : super::super::Foundation:: HANDLE , ulcompletionkey : usize , phstream : *mut isize ) -> u32 ); PeerDistServerPublishStream(hpeerdist, pcontentidentifier.len() as _, ::core::mem::transmute(pcontentidentifier.as_ptr()), cbcontentlength, ::core::mem::transmute(ppublishoptions.unwrap_or(::std::ptr::null())), hcompletionport.into(), ulcompletionkey, phstream) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn PeerDistServerRetrieveContentInformation(hpeerdist: isize, hcontentinfo: isize, pbuffer: &mut [u8], lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerRetrieveContentInformation ( hpeerdist : isize , hcontentinfo : isize , cbmaxnumberofbytes : u32 , pbuffer : *mut u8 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerRetrieveContentInformation ( hpeerdist : isize , hcontentinfo : isize , cbmaxnumberofbytes : u32 , pbuffer : *mut u8 , lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); PeerDistServerRetrieveContentInformation(hpeerdist, hcontentinfo, pbuffer.len() as _, ::core::mem::transmute(pbuffer.as_ptr()), lpoverlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistServerUnpublish(hpeerdist: isize, pcontentidentifier: &[u8]) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistServerUnpublish ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistServerUnpublish ( hpeerdist : isize , cbcontentidentifier : u32 , pcontentidentifier : *const u8 ) -> u32 ); PeerDistServerUnpublish(hpeerdist, pcontentidentifier.len() as _, ::core::mem::transmute(pcontentidentifier.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistShutdown(hpeerdist: isize) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistShutdown ( hpeerdist : isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistShutdown ( hpeerdist : isize ) -> u32 ); PeerDistShutdown(hpeerdist) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistStartup(dwversionrequested: u32, phpeerdist: *mut isize, pdwsupportedversion: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistStartup ( dwversionrequested : u32 , phpeerdist : *mut isize , pdwsupportedversion : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistStartup ( dwversionrequested : u32 , phpeerdist : *mut isize , pdwsupportedversion : *mut u32 ) -> u32 ); PeerDistStartup(dwversionrequested, phpeerdist, ::core::mem::transmute(pdwsupportedversion.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerDistUnregisterForStatusChangeNotification(hpeerdist: isize) -> u32 { - ::windows::core::link ! ( "peerdist.dll""system" fn PeerDistUnregisterForStatusChangeNotification ( hpeerdist : isize ) -> u32 ); + ::windows::imp::link ! ( "peerdist.dll""system" fn PeerDistUnregisterForStatusChangeNotification ( hpeerdist : isize ) -> u32 ); PeerDistUnregisterForStatusChangeNotification(hpeerdist) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerEndEnumeration(hpeerenum: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerEndEnumeration ( hpeerenum : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerEndEnumeration ( hpeerenum : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerEndEnumeration(hpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -752,52 +752,52 @@ pub unsafe fn PeerEnumGroups(pwzidentity: P0, phpeerenum: *mut *mut ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerEnumGroups ( pwzidentity : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerEnumGroups ( pwzidentity : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerEnumGroups(pwzidentity.into().abi(), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerEnumIdentities(phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerEnumIdentities ( phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerEnumIdentities ( phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerEnumIdentities(phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerFreeData(pvdata: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "p2p.dll""system" fn PeerFreeData ( pvdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerFreeData ( pvdata : *const ::core::ffi::c_void ) -> ( ) ); PeerFreeData(::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGetItemCount(hpeerenum: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGetItemCount ( hpeerenum : *const ::core::ffi::c_void , pcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGetItemCount ( hpeerenum : *const ::core::ffi::c_void , pcount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGetItemCount(hpeerenum, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGetNextItem(hpeerenum: *const ::core::ffi::c_void, pcount: *mut u32, pppvitems: *mut *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGetNextItem ( hpeerenum : *const ::core::ffi::c_void , pcount : *mut u32 , pppvitems : *mut *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGetNextItem ( hpeerenum : *const ::core::ffi::c_void , pcount : *mut u32 , pppvitems : *mut *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGetNextItem(hpeerenum, pcount, pppvitems).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGraphAddRecord(hgraph: *const ::core::ffi::c_void, precord: *const PEER_RECORD) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphAddRecord ( hgraph : *const ::core::ffi::c_void , precord : *const PEER_RECORD , precordid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphAddRecord ( hgraph : *const ::core::ffi::c_void , precord : *const PEER_RECORD , precordid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); PeerGraphAddRecord(hgraph, precord, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphClose(hgraph: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphClose ( hgraph : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphClose ( hgraph : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphClose(hgraph).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphCloseDirectConnection(hgraph: *const ::core::ffi::c_void, ullconnectionid: u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphCloseDirectConnection ( hgraph : *const ::core::ffi::c_void , ullconnectionid : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphCloseDirectConnection ( hgraph : *const ::core::ffi::c_void , ullconnectionid : u64 ) -> :: windows::core::HRESULT ); PeerGraphCloseDirectConnection(hgraph, ullconnectionid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] @@ -807,7 +807,7 @@ pub unsafe fn PeerGraphConnect(hgraph: *const ::core::ffi::c_void, pwzpeerid where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphConnect ( hgraph : *const ::core::ffi::c_void , pwzpeerid : :: windows::core::PCWSTR , paddress : *const PEER_ADDRESS , pullconnectionid : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphConnect ( hgraph : *const ::core::ffi::c_void , pwzpeerid : :: windows::core::PCWSTR , paddress : *const PEER_ADDRESS , pullconnectionid : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGraphConnect(hgraph, pwzpeerid.into().abi(), paddress, &mut result__).from_abi(result__) } @@ -818,7 +818,7 @@ pub unsafe fn PeerGraphCreate(pgraphproperties: *const PEER_GRAPH_PROPERTIES where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphCreate ( pgraphproperties : *const PEER_GRAPH_PROPERTIES , pwzdatabasename : :: windows::core::PCWSTR , psecurityinterface : *const PEER_SECURITY_INTERFACE , phgraph : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphCreate ( pgraphproperties : *const PEER_GRAPH_PROPERTIES , pwzdatabasename : :: windows::core::PCWSTR , psecurityinterface : *const PEER_SECURITY_INTERFACE , phgraph : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphCreate(pgraphproperties, pwzdatabasename.into().abi(), ::core::mem::transmute(psecurityinterface.unwrap_or(::std::ptr::null())), phgraph).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -829,7 +829,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphDelete ( pwzgraphid : :: windows::core::PCWSTR , pwzpeerid : :: windows::core::PCWSTR , pwzdatabasename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphDelete ( pwzgraphid : :: windows::core::PCWSTR , pwzpeerid : :: windows::core::PCWSTR , pwzdatabasename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerGraphDelete(pwzgraphid.into().abi(), pwzpeerid.into().abi(), pwzdatabasename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -839,19 +839,19 @@ pub unsafe fn PeerGraphDeleteRecord(hgraph: *const ::core::ffi::c_void, prec where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphDeleteRecord ( hgraph : *const ::core::ffi::c_void , precordid : *const :: windows::core::GUID , flocal : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphDeleteRecord ( hgraph : *const ::core::ffi::c_void , precordid : *const :: windows::core::GUID , flocal : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); PeerGraphDeleteRecord(hgraph, precordid, flocal.into()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphEndEnumeration(hpeerenum: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphEndEnumeration ( hpeerenum : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphEndEnumeration ( hpeerenum : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphEndEnumeration(hpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphEnumConnections(hgraph: *const ::core::ffi::c_void, dwflags: u32, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphEnumConnections ( hgraph : *const ::core::ffi::c_void , dwflags : u32 , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphEnumConnections ( hgraph : *const ::core::ffi::c_void , dwflags : u32 , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphEnumConnections(hgraph, dwflags, phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -860,7 +860,7 @@ pub unsafe fn PeerGraphEnumNodes(hgraph: *const ::core::ffi::c_void, pwzpeer where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphEnumNodes ( hgraph : *const ::core::ffi::c_void , pwzpeerid : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphEnumNodes ( hgraph : *const ::core::ffi::c_void , pwzpeerid : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphEnumNodes(hgraph, pwzpeerid.into().abi(), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -869,7 +869,7 @@ pub unsafe fn PeerGraphEnumRecords(hgraph: *const ::core::ffi::c_void, preco where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphEnumRecords ( hgraph : *const ::core::ffi::c_void , precordtype : *const :: windows::core::GUID , pwzpeerid : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphEnumRecords ( hgraph : *const ::core::ffi::c_void , precordtype : *const :: windows::core::GUID , pwzpeerid : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphEnumRecords(hgraph, ::core::mem::transmute(precordtype.unwrap_or(::std::ptr::null())), pwzpeerid.into().abi(), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -878,47 +878,47 @@ pub unsafe fn PeerGraphExportDatabase(hgraph: *const ::core::ffi::c_void, pw where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphExportDatabase ( hgraph : *const ::core::ffi::c_void , pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphExportDatabase ( hgraph : *const ::core::ffi::c_void , pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerGraphExportDatabase(hgraph, pwzfilepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphFreeData(pvdata: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphFreeData ( pvdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphFreeData ( pvdata : *const ::core::ffi::c_void ) -> ( ) ); PeerGraphFreeData(pvdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphGetEventData(hpeerevent: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut PEER_GRAPH_EVENT_DATA> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphGetEventData ( hpeerevent : *const ::core::ffi::c_void , ppeventdata : *mut *mut PEER_GRAPH_EVENT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphGetEventData ( hpeerevent : *const ::core::ffi::c_void , ppeventdata : *mut *mut PEER_GRAPH_EVENT_DATA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_GRAPH_EVENT_DATA>(); PeerGraphGetEventData(hpeerevent, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphGetItemCount(hpeerenum: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphGetItemCount ( hpeerenum : *const ::core::ffi::c_void , pcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphGetItemCount ( hpeerenum : *const ::core::ffi::c_void , pcount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGraphGetItemCount(hpeerenum, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphGetNextItem(hpeerenum: *const ::core::ffi::c_void, pcount: *mut u32, pppvitems: *mut *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphGetNextItem ( hpeerenum : *const ::core::ffi::c_void , pcount : *mut u32 , pppvitems : *mut *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphGetNextItem ( hpeerenum : *const ::core::ffi::c_void , pcount : *mut u32 , pppvitems : *mut *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphGetNextItem(hpeerenum, pcount, pppvitems).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerGraphGetNodeInfo(hgraph: *const ::core::ffi::c_void, ullnodeid: u64) -> ::windows::core::Result<*mut PEER_NODE_INFO> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphGetNodeInfo ( hgraph : *const ::core::ffi::c_void , ullnodeid : u64 , ppnodeinfo : *mut *mut PEER_NODE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphGetNodeInfo ( hgraph : *const ::core::ffi::c_void , ullnodeid : u64 , ppnodeinfo : *mut *mut PEER_NODE_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_NODE_INFO>(); PeerGraphGetNodeInfo(hgraph, ullnodeid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphGetProperties(hgraph: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut PEER_GRAPH_PROPERTIES> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphGetProperties ( hgraph : *const ::core::ffi::c_void , ppgraphproperties : *mut *mut PEER_GRAPH_PROPERTIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphGetProperties ( hgraph : *const ::core::ffi::c_void , ppgraphproperties : *mut *mut PEER_GRAPH_PROPERTIES ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_GRAPH_PROPERTIES>(); PeerGraphGetProperties(hgraph, &mut result__).from_abi(result__) } @@ -926,14 +926,14 @@ pub unsafe fn PeerGraphGetProperties(hgraph: *const ::core::ffi::c_void) -> ::wi #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGraphGetRecord(hgraph: *const ::core::ffi::c_void, precordid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut PEER_RECORD> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphGetRecord ( hgraph : *const ::core::ffi::c_void , precordid : *const :: windows::core::GUID , pprecord : *mut *mut PEER_RECORD ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphGetRecord ( hgraph : *const ::core::ffi::c_void , precordid : *const :: windows::core::GUID , pprecord : *mut *mut PEER_RECORD ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_RECORD>(); PeerGraphGetRecord(hgraph, precordid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphGetStatus(hgraph: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphGetStatus ( hgraph : *const ::core::ffi::c_void , pdwstatus : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphGetStatus ( hgraph : *const ::core::ffi::c_void , pdwstatus : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGraphGetStatus(hgraph, &mut result__).from_abi(result__) } @@ -943,13 +943,13 @@ pub unsafe fn PeerGraphImportDatabase(hgraph: *const ::core::ffi::c_void, pw where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphImportDatabase ( hgraph : *const ::core::ffi::c_void , pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphImportDatabase ( hgraph : *const ::core::ffi::c_void , pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerGraphImportDatabase(hgraph, pwzfilepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphListen(hgraph: *const ::core::ffi::c_void, dwscope: u32, dwscopeid: u32, wport: u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphListen ( hgraph : *const ::core::ffi::c_void , dwscope : u32 , dwscopeid : u32 , wport : u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphListen ( hgraph : *const ::core::ffi::c_void , dwscope : u32 , dwscopeid : u32 , wport : u16 ) -> :: windows::core::HRESULT ); PeerGraphListen(hgraph, dwscope, dwscopeid, wport).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -961,7 +961,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphOpen ( pwzgraphid : :: windows::core::PCWSTR , pwzpeerid : :: windows::core::PCWSTR , pwzdatabasename : :: windows::core::PCWSTR , psecurityinterface : *const PEER_SECURITY_INTERFACE , crecordtypesyncprecedence : u32 , precordtypesyncprecedence : *const :: windows::core::GUID , phgraph : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphOpen ( pwzgraphid : :: windows::core::PCWSTR , pwzpeerid : :: windows::core::PCWSTR , pwzdatabasename : :: windows::core::PCWSTR , psecurityinterface : *const PEER_SECURITY_INTERFACE , crecordtypesyncprecedence : u32 , precordtypesyncprecedence : *const :: windows::core::GUID , phgraph : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphOpen(pwzgraphid.into().abi(), pwzpeerid.into().abi(), pwzdatabasename.into().abi(), ::core::mem::transmute(psecurityinterface.unwrap_or(::std::ptr::null())), precordtypesyncprecedence.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(precordtypesyncprecedence.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), phgraph).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] @@ -971,7 +971,7 @@ pub unsafe fn PeerGraphOpenDirectConnection(hgraph: *const ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphOpenDirectConnection ( hgraph : *const ::core::ffi::c_void , pwzpeerid : :: windows::core::PCWSTR , paddress : *const PEER_ADDRESS , pullconnectionid : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphOpenDirectConnection ( hgraph : *const ::core::ffi::c_void , pwzpeerid : :: windows::core::PCWSTR , paddress : *const PEER_ADDRESS , pullconnectionid : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGraphOpenDirectConnection(hgraph, pwzpeerid.into().abi(), paddress, &mut result__).from_abi(result__) } @@ -979,7 +979,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGraphPeerTimeToUniversalTime(hgraph: *const ::core::ffi::c_void, pftpeertime: *const super::super::Foundation::FILETIME) -> ::windows::core::Result { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphPeerTimeToUniversalTime ( hgraph : *const ::core::ffi::c_void , pftpeertime : *const super::super::Foundation:: FILETIME , pftuniversaltime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphPeerTimeToUniversalTime ( hgraph : *const ::core::ffi::c_void , pftpeertime : *const super::super::Foundation:: FILETIME , pftuniversaltime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGraphPeerTimeToUniversalTime(hgraph, pftpeertime, &mut result__).from_abi(result__) } @@ -990,7 +990,7 @@ pub unsafe fn PeerGraphRegisterEvent(hgraph: *const ::core::ffi::c_void, hev where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphRegisterEvent ( hgraph : *const ::core::ffi::c_void , hevent : super::super::Foundation:: HANDLE , ceventregistrations : u32 , peventregistrations : *const PEER_GRAPH_EVENT_REGISTRATION , phpeerevent : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphRegisterEvent ( hgraph : *const ::core::ffi::c_void , hevent : super::super::Foundation:: HANDLE , ceventregistrations : u32 , peventregistrations : *const PEER_GRAPH_EVENT_REGISTRATION , phpeerevent : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphRegisterEvent(hgraph, hevent.into(), peventregistrations.len() as _, ::core::mem::transmute(peventregistrations.as_ptr()), phpeerevent).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -999,13 +999,13 @@ pub unsafe fn PeerGraphSearchRecords(hgraph: *const ::core::ffi::c_void, pwz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphSearchRecords ( hgraph : *const ::core::ffi::c_void , pwzcriteria : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphSearchRecords ( hgraph : *const ::core::ffi::c_void , pwzcriteria : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphSearchRecords(hgraph, pwzcriteria.into().abi(), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphSendData(hgraph: *const ::core::ffi::c_void, ullconnectionid: u64, ptype: *const ::windows::core::GUID, cbdata: u32, pvdata: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphSendData ( hgraph : *const ::core::ffi::c_void , ullconnectionid : u64 , ptype : *const :: windows::core::GUID , cbdata : u32 , pvdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphSendData ( hgraph : *const ::core::ffi::c_void , ullconnectionid : u64 , ptype : *const :: windows::core::GUID , cbdata : u32 , pvdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphSendData(hgraph, ullconnectionid, ptype, cbdata, pvdata).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1014,7 +1014,7 @@ pub unsafe fn PeerGraphSetNodeAttributes(hgraph: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphSetNodeAttributes ( hgraph : *const ::core::ffi::c_void , pwzattributes : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphSetNodeAttributes ( hgraph : *const ::core::ffi::c_void , pwzattributes : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerGraphSetNodeAttributes(hgraph, pwzattributes.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -1024,25 +1024,25 @@ pub unsafe fn PeerGraphSetPresence(hgraph: *const ::core::ffi::c_void, fpres where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphSetPresence ( hgraph : *const ::core::ffi::c_void , fpresent : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphSetPresence ( hgraph : *const ::core::ffi::c_void , fpresent : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); PeerGraphSetPresence(hgraph, fpresent.into()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphSetProperties(hgraph: *const ::core::ffi::c_void, pgraphproperties: *const PEER_GRAPH_PROPERTIES) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphSetProperties ( hgraph : *const ::core::ffi::c_void , pgraphproperties : *const PEER_GRAPH_PROPERTIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphSetProperties ( hgraph : *const ::core::ffi::c_void , pgraphproperties : *const PEER_GRAPH_PROPERTIES ) -> :: windows::core::HRESULT ); PeerGraphSetProperties(hgraph, pgraphproperties).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphShutdown() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphShutdown ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphShutdown ( ) -> :: windows::core::HRESULT ); PeerGraphShutdown().ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphStartup(wversionrequested: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphStartup ( wversionrequested : u16 , pversiondata : *mut PEER_VERSION_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphStartup ( wversionrequested : u16 , pversiondata : *mut PEER_VERSION_DATA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGraphStartup(wversionrequested, &mut result__).from_abi(result__) } @@ -1050,66 +1050,66 @@ pub unsafe fn PeerGraphStartup(wversionrequested: u16) -> ::windows::core::Resul #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGraphUniversalTimeToPeerTime(hgraph: *const ::core::ffi::c_void, pftuniversaltime: *const super::super::Foundation::FILETIME) -> ::windows::core::Result { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphUniversalTimeToPeerTime ( hgraph : *const ::core::ffi::c_void , pftuniversaltime : *const super::super::Foundation:: FILETIME , pftpeertime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphUniversalTimeToPeerTime ( hgraph : *const ::core::ffi::c_void , pftuniversaltime : *const super::super::Foundation:: FILETIME , pftpeertime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGraphUniversalTimeToPeerTime(hgraph, pftuniversaltime, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphUnregisterEvent(hpeerevent: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphUnregisterEvent ( hpeerevent : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphUnregisterEvent ( hpeerevent : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGraphUnregisterEvent(hpeerevent).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGraphUpdateRecord(hgraph: *const ::core::ffi::c_void, precord: *const PEER_RECORD) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphUpdateRecord ( hgraph : *const ::core::ffi::c_void , precord : *const PEER_RECORD ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphUpdateRecord ( hgraph : *const ::core::ffi::c_void , precord : *const PEER_RECORD ) -> :: windows::core::HRESULT ); PeerGraphUpdateRecord(hgraph, precord).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGraphValidateDeferredRecords(hgraph: *const ::core::ffi::c_void, precordids: &[::windows::core::GUID]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2pgraph.dll""system" fn PeerGraphValidateDeferredRecords ( hgraph : *const ::core::ffi::c_void , crecordids : u32 , precordids : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2pgraph.dll""system" fn PeerGraphValidateDeferredRecords ( hgraph : *const ::core::ffi::c_void , crecordids : u32 , precordids : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); PeerGraphValidateDeferredRecords(hgraph, precordids.len() as _, ::core::mem::transmute(precordids.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGroupAddRecord(hgroup: *const ::core::ffi::c_void, precord: *const PEER_RECORD) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupAddRecord ( hgroup : *const ::core::ffi::c_void , precord : *const PEER_RECORD , precordid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupAddRecord ( hgroup : *const ::core::ffi::c_void , precord : *const PEER_RECORD , precordid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); PeerGroupAddRecord(hgroup, precord, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupClose(hgroup: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupClose ( hgroup : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupClose ( hgroup : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupClose(hgroup).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupCloseDirectConnection(hgroup: *const ::core::ffi::c_void, ullconnectionid: u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupCloseDirectConnection ( hgroup : *const ::core::ffi::c_void , ullconnectionid : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupCloseDirectConnection ( hgroup : *const ::core::ffi::c_void , ullconnectionid : u64 ) -> :: windows::core::HRESULT ); PeerGroupCloseDirectConnection(hgroup, ullconnectionid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupConnect(hgroup: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupConnect ( hgroup : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupConnect ( hgroup : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupConnect(hgroup).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerGroupConnectByAddress(hgroup: *const ::core::ffi::c_void, paddresses: &[PEER_ADDRESS]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupConnectByAddress ( hgroup : *const ::core::ffi::c_void , caddresses : u32 , paddresses : *const PEER_ADDRESS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupConnectByAddress ( hgroup : *const ::core::ffi::c_void , caddresses : u32 , paddresses : *const PEER_ADDRESS ) -> :: windows::core::HRESULT ); PeerGroupConnectByAddress(hgroup, paddresses.len() as _, ::core::mem::transmute(paddresses.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupCreate(pproperties: *const PEER_GROUP_PROPERTIES, phgroup: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupCreate ( pproperties : *const PEER_GROUP_PROPERTIES , phgroup : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupCreate ( pproperties : *const PEER_GROUP_PROPERTIES , phgroup : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupCreate(pproperties, phgroup).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -1119,14 +1119,14 @@ pub unsafe fn PeerGroupCreateInvitation(hgroup: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupCreateInvitation ( hgroup : *const ::core::ffi::c_void , pwzidentityinfo : :: windows::core::PCWSTR , pftexpiration : *const super::super::Foundation:: FILETIME , croles : u32 , proles : *const :: windows::core::GUID , ppwzinvitation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupCreateInvitation ( hgroup : *const ::core::ffi::c_void , pwzidentityinfo : :: windows::core::PCWSTR , pftexpiration : *const super::super::Foundation:: FILETIME , croles : u32 , proles : *const :: windows::core::GUID , ppwzinvitation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerGroupCreateInvitation(hgroup, pwzidentityinfo.into().abi(), ::core::mem::transmute(pftexpiration.unwrap_or(::std::ptr::null())), proles.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(proles.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupCreatePasswordInvitation(hgroup: *const ::core::ffi::c_void) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupCreatePasswordInvitation ( hgroup : *const ::core::ffi::c_void , ppwzinvitation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupCreatePasswordInvitation ( hgroup : *const ::core::ffi::c_void , ppwzinvitation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerGroupCreatePasswordInvitation(hgroup, &mut result__).from_abi(result__) } @@ -1137,19 +1137,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupDelete ( pwzidentity : :: windows::core::PCWSTR , pwzgrouppeername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupDelete ( pwzidentity : :: windows::core::PCWSTR , pwzgrouppeername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerGroupDelete(pwzidentity.into().abi(), pwzgrouppeername.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupDeleteRecord(hgroup: *const ::core::ffi::c_void, precordid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupDeleteRecord ( hgroup : *const ::core::ffi::c_void , precordid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupDeleteRecord ( hgroup : *const ::core::ffi::c_void , precordid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); PeerGroupDeleteRecord(hgroup, precordid).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupEnumConnections(hgroup: *const ::core::ffi::c_void, dwflags: u32, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupEnumConnections ( hgroup : *const ::core::ffi::c_void , dwflags : u32 , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupEnumConnections ( hgroup : *const ::core::ffi::c_void , dwflags : u32 , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupEnumConnections(hgroup, dwflags, phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1158,13 +1158,13 @@ pub unsafe fn PeerGroupEnumMembers(hgroup: *const ::core::ffi::c_void, dwfla where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupEnumMembers ( hgroup : *const ::core::ffi::c_void , dwflags : u32 , pwzidentity : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupEnumMembers ( hgroup : *const ::core::ffi::c_void , dwflags : u32 , pwzidentity : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupEnumMembers(hgroup, dwflags, pwzidentity.into().abi(), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupEnumRecords(hgroup: *const ::core::ffi::c_void, precordtype: ::core::option::Option<*const ::windows::core::GUID>, phpeerenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupEnumRecords ( hgroup : *const ::core::ffi::c_void , precordtype : *const :: windows::core::GUID , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupEnumRecords ( hgroup : *const ::core::ffi::c_void , precordtype : *const :: windows::core::GUID , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupEnumRecords(hgroup, ::core::mem::transmute(precordtype.unwrap_or(::std::ptr::null())), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1173,7 +1173,7 @@ pub unsafe fn PeerGroupExportConfig(hgroup: *const ::core::ffi::c_void, pwzp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupExportConfig ( hgroup : *const ::core::ffi::c_void , pwzpassword : :: windows::core::PCWSTR , ppwzxml : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupExportConfig ( hgroup : *const ::core::ffi::c_void , pwzpassword : :: windows::core::PCWSTR , ppwzxml : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerGroupExportConfig(hgroup, pwzpassword.into().abi(), &mut result__).from_abi(result__) } @@ -1183,20 +1183,20 @@ pub unsafe fn PeerGroupExportDatabase(hgroup: *const ::core::ffi::c_void, pw where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupExportDatabase ( hgroup : *const ::core::ffi::c_void , pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupExportDatabase ( hgroup : *const ::core::ffi::c_void , pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerGroupExportDatabase(hgroup, pwzfilepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupGetEventData(hpeerevent: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut PEER_GROUP_EVENT_DATA> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupGetEventData ( hpeerevent : *const ::core::ffi::c_void , ppeventdata : *mut *mut PEER_GROUP_EVENT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupGetEventData ( hpeerevent : *const ::core::ffi::c_void , ppeventdata : *mut *mut PEER_GROUP_EVENT_DATA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_GROUP_EVENT_DATA>(); PeerGroupGetEventData(hpeerevent, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupGetProperties(hgroup: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut PEER_GROUP_PROPERTIES> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupGetProperties ( hgroup : *const ::core::ffi::c_void , ppproperties : *mut *mut PEER_GROUP_PROPERTIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupGetProperties ( hgroup : *const ::core::ffi::c_void , ppproperties : *mut *mut PEER_GROUP_PROPERTIES ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_GROUP_PROPERTIES>(); PeerGroupGetProperties(hgroup, &mut result__).from_abi(result__) } @@ -1204,14 +1204,14 @@ pub unsafe fn PeerGroupGetProperties(hgroup: *const ::core::ffi::c_void) -> ::wi #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGroupGetRecord(hgroup: *const ::core::ffi::c_void, precordid: *const ::windows::core::GUID) -> ::windows::core::Result<*mut PEER_RECORD> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupGetRecord ( hgroup : *const ::core::ffi::c_void , precordid : *const :: windows::core::GUID , pprecord : *mut *mut PEER_RECORD ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupGetRecord ( hgroup : *const ::core::ffi::c_void , precordid : *const :: windows::core::GUID , pprecord : *mut *mut PEER_RECORD ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_RECORD>(); PeerGroupGetRecord(hgroup, precordid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupGetStatus(hgroup: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupGetStatus ( hgroup : *const ::core::ffi::c_void , pdwstatus : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupGetStatus ( hgroup : *const ::core::ffi::c_void , pdwstatus : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGroupGetStatus(hgroup, &mut result__).from_abi(result__) } @@ -1224,7 +1224,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupImportConfig ( pwzxml : :: windows::core::PCWSTR , pwzpassword : :: windows::core::PCWSTR , foverwrite : super::super::Foundation:: BOOL , ppwzidentity : *mut :: windows::core::PWSTR , ppwzgroup : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupImportConfig ( pwzxml : :: windows::core::PCWSTR , pwzpassword : :: windows::core::PCWSTR , foverwrite : super::super::Foundation:: BOOL , ppwzidentity : *mut :: windows::core::PWSTR , ppwzgroup : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); PeerGroupImportConfig(pwzxml.into().abi(), pwzpassword.into().abi(), foverwrite.into(), ppwzidentity, ppwzgroup).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1233,7 +1233,7 @@ pub unsafe fn PeerGroupImportDatabase(hgroup: *const ::core::ffi::c_void, pw where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupImportDatabase ( hgroup : *const ::core::ffi::c_void , pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupImportDatabase ( hgroup : *const ::core::ffi::c_void , pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerGroupImportDatabase(hgroup, pwzfilepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -1243,7 +1243,7 @@ pub unsafe fn PeerGroupIssueCredentials(hgroup: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupIssueCredentials ( hgroup : *const ::core::ffi::c_void , pwzsubjectidentity : :: windows::core::PCWSTR , pcredentialinfo : *const PEER_CREDENTIAL_INFO , dwflags : u32 , ppwzinvitation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupIssueCredentials ( hgroup : *const ::core::ffi::c_void , pwzsubjectidentity : :: windows::core::PCWSTR , pcredentialinfo : *const PEER_CREDENTIAL_INFO , dwflags : u32 , ppwzinvitation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); PeerGroupIssueCredentials(hgroup, pwzsubjectidentity.into().abi(), ::core::mem::transmute(pcredentialinfo.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(ppwzinvitation.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1254,7 +1254,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupJoin ( pwzidentity : :: windows::core::PCWSTR , pwzinvitation : :: windows::core::PCWSTR , pwzcloud : :: windows::core::PCWSTR , phgroup : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupJoin ( pwzidentity : :: windows::core::PCWSTR , pwzinvitation : :: windows::core::PCWSTR , pwzcloud : :: windows::core::PCWSTR , phgroup : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupJoin(pwzidentity.into().abi(), pwzinvitation.into().abi(), pwzcloud.into().abi(), phgroup).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1265,7 +1265,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupOpen ( pwzidentity : :: windows::core::PCWSTR , pwzgrouppeername : :: windows::core::PCWSTR , pwzcloud : :: windows::core::PCWSTR , phgroup : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupOpen ( pwzidentity : :: windows::core::PCWSTR , pwzgrouppeername : :: windows::core::PCWSTR , pwzcloud : :: windows::core::PCWSTR , phgroup : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupOpen(pwzidentity.into().abi(), pwzgrouppeername.into().abi(), pwzcloud.into().abi(), phgroup).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1275,7 +1275,7 @@ pub unsafe fn PeerGroupOpenDirectConnection(hgroup: *const ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupOpenDirectConnection ( hgroup : *const ::core::ffi::c_void , pwzidentity : :: windows::core::PCWSTR , paddress : *const PEER_ADDRESS , pullconnectionid : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupOpenDirectConnection ( hgroup : *const ::core::ffi::c_void , pwzidentity : :: windows::core::PCWSTR , paddress : *const PEER_ADDRESS , pullconnectionid : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGroupOpenDirectConnection(hgroup, pwzidentity.into().abi(), paddress, &mut result__).from_abi(result__) } @@ -1286,7 +1286,7 @@ pub unsafe fn PeerGroupParseInvitation(pwzinvitation: P0) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupParseInvitation ( pwzinvitation : :: windows::core::PCWSTR , ppinvitationinfo : *mut *mut PEER_INVITATION_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupParseInvitation ( pwzinvitation : :: windows::core::PCWSTR , ppinvitationinfo : *mut *mut PEER_INVITATION_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_INVITATION_INFO>(); PeerGroupParseInvitation(pwzinvitation.into().abi(), &mut result__).from_abi(result__) } @@ -1299,14 +1299,14 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupPasswordJoin ( pwzidentity : :: windows::core::PCWSTR , pwzinvitation : :: windows::core::PCWSTR , pwzpassword : :: windows::core::PCWSTR , pwzcloud : :: windows::core::PCWSTR , phgroup : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupPasswordJoin ( pwzidentity : :: windows::core::PCWSTR , pwzinvitation : :: windows::core::PCWSTR , pwzpassword : :: windows::core::PCWSTR , pwzcloud : :: windows::core::PCWSTR , phgroup : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupPasswordJoin(pwzidentity.into().abi(), pwzinvitation.into().abi(), pwzpassword.into().abi(), pwzcloud.into().abi(), phgroup).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGroupPeerTimeToUniversalTime(hgroup: *const ::core::ffi::c_void, pftpeertime: *const super::super::Foundation::FILETIME) -> ::windows::core::Result { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupPeerTimeToUniversalTime ( hgroup : *const ::core::ffi::c_void , pftpeertime : *const super::super::Foundation:: FILETIME , pftuniversaltime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupPeerTimeToUniversalTime ( hgroup : *const ::core::ffi::c_void , pftpeertime : *const super::super::Foundation:: FILETIME , pftuniversaltime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGroupPeerTimeToUniversalTime(hgroup, pftpeertime, &mut result__).from_abi(result__) } @@ -1317,13 +1317,13 @@ pub unsafe fn PeerGroupRegisterEvent(hgroup: *const ::core::ffi::c_void, hev where P0: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupRegisterEvent ( hgroup : *const ::core::ffi::c_void , hevent : super::super::Foundation:: HANDLE , ceventregistration : u32 , peventregistrations : *const PEER_GROUP_EVENT_REGISTRATION , phpeerevent : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupRegisterEvent ( hgroup : *const ::core::ffi::c_void , hevent : super::super::Foundation:: HANDLE , ceventregistration : u32 , peventregistrations : *const PEER_GROUP_EVENT_REGISTRATION , phpeerevent : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupRegisterEvent(hgroup, hevent.into(), peventregistrations.len() as _, ::core::mem::transmute(peventregistrations.as_ptr()), phpeerevent).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupResumePasswordAuthentication(hgroup: *const ::core::ffi::c_void, hpeereventhandle: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupResumePasswordAuthentication ( hgroup : *const ::core::ffi::c_void , hpeereventhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupResumePasswordAuthentication ( hgroup : *const ::core::ffi::c_void , hpeereventhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupResumePasswordAuthentication(hgroup, hpeereventhandle).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1332,31 +1332,31 @@ pub unsafe fn PeerGroupSearchRecords(hgroup: *const ::core::ffi::c_void, pwz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupSearchRecords ( hgroup : *const ::core::ffi::c_void , pwzcriteria : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupSearchRecords ( hgroup : *const ::core::ffi::c_void , pwzcriteria : :: windows::core::PCWSTR , phpeerenum : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupSearchRecords(hgroup, pwzcriteria.into().abi(), phpeerenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupSendData(hgroup: *const ::core::ffi::c_void, ullconnectionid: u64, ptype: *const ::windows::core::GUID, cbdata: u32, pvdata: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupSendData ( hgroup : *const ::core::ffi::c_void , ullconnectionid : u64 , ptype : *const :: windows::core::GUID , cbdata : u32 , pvdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupSendData ( hgroup : *const ::core::ffi::c_void , ullconnectionid : u64 , ptype : *const :: windows::core::GUID , cbdata : u32 , pvdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupSendData(hgroup, ullconnectionid, ptype, cbdata, pvdata).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupSetProperties(hgroup: *const ::core::ffi::c_void, pproperties: *const PEER_GROUP_PROPERTIES) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupSetProperties ( hgroup : *const ::core::ffi::c_void , pproperties : *const PEER_GROUP_PROPERTIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupSetProperties ( hgroup : *const ::core::ffi::c_void , pproperties : *const PEER_GROUP_PROPERTIES ) -> :: windows::core::HRESULT ); PeerGroupSetProperties(hgroup, pproperties).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupShutdown() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupShutdown ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupShutdown ( ) -> :: windows::core::HRESULT ); PeerGroupShutdown().ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupStartup(wversionrequested: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupStartup ( wversionrequested : u16 , pversiondata : *mut PEER_VERSION_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupStartup ( wversionrequested : u16 , pversiondata : *mut PEER_VERSION_DATA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGroupStartup(wversionrequested, &mut result__).from_abi(result__) } @@ -1364,21 +1364,21 @@ pub unsafe fn PeerGroupStartup(wversionrequested: u16) -> ::windows::core::Resul #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGroupUniversalTimeToPeerTime(hgroup: *const ::core::ffi::c_void, pftuniversaltime: *const super::super::Foundation::FILETIME) -> ::windows::core::Result { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupUniversalTimeToPeerTime ( hgroup : *const ::core::ffi::c_void , pftuniversaltime : *const super::super::Foundation:: FILETIME , pftpeertime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupUniversalTimeToPeerTime ( hgroup : *const ::core::ffi::c_void , pftuniversaltime : *const super::super::Foundation:: FILETIME , pftpeertime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerGroupUniversalTimeToPeerTime(hgroup, pftuniversaltime, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerGroupUnregisterEvent(hpeerevent: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupUnregisterEvent ( hpeerevent : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupUnregisterEvent ( hpeerevent : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerGroupUnregisterEvent(hpeerevent).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PeerGroupUpdateRecord(hgroup: *const ::core::ffi::c_void, precord: *const PEER_RECORD) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerGroupUpdateRecord ( hgroup : *const ::core::ffi::c_void , precord : *const PEER_RECORD ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerGroupUpdateRecord ( hgroup : *const ::core::ffi::c_void , precord : *const PEER_RECORD ) -> :: windows::core::HRESULT ); PeerGroupUpdateRecord(hgroup, precord).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1387,7 +1387,7 @@ pub unsafe fn PeerHostNameToPeerName(pwzhostname: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerHostNameToPeerName ( pwzhostname : :: windows::core::PCWSTR , ppwzpeername : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerHostNameToPeerName ( pwzhostname : :: windows::core::PCWSTR , ppwzpeername : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerHostNameToPeerName(pwzhostname.into().abi(), &mut result__).from_abi(result__) } @@ -1398,7 +1398,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentityCreate ( pwzclassifier : :: windows::core::PCWSTR , pwzfriendlyname : :: windows::core::PCWSTR , hcryptprov : usize , ppwzidentity : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentityCreate ( pwzclassifier : :: windows::core::PCWSTR , pwzfriendlyname : :: windows::core::PCWSTR , hcryptprov : usize , ppwzidentity : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerIdentityCreate(pwzclassifier.into().abi(), pwzfriendlyname.into().abi(), hcryptprov, &mut result__).from_abi(result__) } @@ -1408,7 +1408,7 @@ pub unsafe fn PeerIdentityDelete(pwzidentity: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentityDelete ( pwzidentity : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentityDelete ( pwzidentity : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerIdentityDelete(pwzidentity.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1418,7 +1418,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentityExport ( pwzidentity : :: windows::core::PCWSTR , pwzpassword : :: windows::core::PCWSTR , ppwzexportxml : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentityExport ( pwzidentity : :: windows::core::PCWSTR , pwzpassword : :: windows::core::PCWSTR , ppwzexportxml : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerIdentityExport(pwzidentity.into().abi(), pwzpassword.into().abi(), &mut result__).from_abi(result__) } @@ -1428,14 +1428,14 @@ pub unsafe fn PeerIdentityGetCryptKey(pwzidentity: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentityGetCryptKey ( pwzidentity : :: windows::core::PCWSTR , phcryptprov : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentityGetCryptKey ( pwzidentity : :: windows::core::PCWSTR , phcryptprov : *mut usize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PeerIdentityGetCryptKey(pwzidentity.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerIdentityGetDefault() -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentityGetDefault ( ppwzpeername : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentityGetDefault ( ppwzpeername : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerIdentityGetDefault(&mut result__).from_abi(result__) } @@ -1445,7 +1445,7 @@ pub unsafe fn PeerIdentityGetFriendlyName(pwzidentity: P0) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentityGetFriendlyName ( pwzidentity : :: windows::core::PCWSTR , ppwzfriendlyname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentityGetFriendlyName ( pwzidentity : :: windows::core::PCWSTR , ppwzfriendlyname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerIdentityGetFriendlyName(pwzidentity.into().abi(), &mut result__).from_abi(result__) } @@ -1455,7 +1455,7 @@ pub unsafe fn PeerIdentityGetXML(pwzidentity: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentityGetXML ( pwzidentity : :: windows::core::PCWSTR , ppwzidentityxml : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentityGetXML ( pwzidentity : :: windows::core::PCWSTR , ppwzidentityxml : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerIdentityGetXML(pwzidentity.into().abi(), &mut result__).from_abi(result__) } @@ -1466,7 +1466,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentityImport ( pwzimportxml : :: windows::core::PCWSTR , pwzpassword : :: windows::core::PCWSTR , ppwzidentity : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentityImport ( pwzimportxml : :: windows::core::PCWSTR , pwzpassword : :: windows::core::PCWSTR , ppwzidentity : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerIdentityImport(pwzimportxml.into().abi(), pwzpassword.into().abi(), &mut result__).from_abi(result__) } @@ -1477,7 +1477,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerIdentitySetFriendlyName ( pwzidentity : :: windows::core::PCWSTR , pwzfriendlyname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerIdentitySetFriendlyName ( pwzidentity : :: windows::core::PCWSTR , pwzfriendlyname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PeerIdentitySetFriendlyName(pwzidentity.into().abi(), pwzfriendlyname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] @@ -1486,27 +1486,27 @@ pub unsafe fn PeerNameToPeerHostName(pwzpeername: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerNameToPeerHostName ( pwzpeername : :: windows::core::PCWSTR , ppwzhostname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerNameToPeerHostName ( pwzpeername : :: windows::core::PCWSTR , ppwzhostname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PeerNameToPeerHostName(pwzpeername.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerPnrpEndResolve(hresolve: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpEndResolve ( hresolve : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpEndResolve ( hresolve : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerPnrpEndResolve(hresolve).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerPnrpGetCloudInfo(pcnumclouds: *mut u32, ppcloudinfo: *mut *mut PEER_PNRP_CLOUD_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpGetCloudInfo ( pcnumclouds : *mut u32 , ppcloudinfo : *mut *mut PEER_PNRP_CLOUD_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpGetCloudInfo ( pcnumclouds : *mut u32 , ppcloudinfo : *mut *mut PEER_PNRP_CLOUD_INFO ) -> :: windows::core::HRESULT ); PeerPnrpGetCloudInfo(pcnumclouds, ppcloudinfo).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn PeerPnrpGetEndpoint(hresolve: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut PEER_PNRP_ENDPOINT_INFO> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpGetEndpoint ( hresolve : *const ::core::ffi::c_void , ppendpoint : *mut *mut PEER_PNRP_ENDPOINT_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpGetEndpoint ( hresolve : *const ::core::ffi::c_void , ppendpoint : *mut *mut PEER_PNRP_ENDPOINT_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PEER_PNRP_ENDPOINT_INFO>(); PeerPnrpGetEndpoint(hresolve, &mut result__).from_abi(result__) } @@ -1517,7 +1517,7 @@ pub unsafe fn PeerPnrpRegister(pcwzpeername: P0, pregistrationinfo: ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpRegister ( pcwzpeername : :: windows::core::PCWSTR , pregistrationinfo : *const PEER_PNRP_REGISTRATION_INFO , phregistration : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpRegister ( pcwzpeername : :: windows::core::PCWSTR , pregistrationinfo : *const PEER_PNRP_REGISTRATION_INFO , phregistration : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerPnrpRegister(pcwzpeername.into().abi(), ::core::mem::transmute(pregistrationinfo.unwrap_or(::std::ptr::null())), phregistration).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1528,13 +1528,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpResolve ( pcwzpeername : :: windows::core::PCWSTR , pcwzcloudname : :: windows::core::PCWSTR , pcendpoints : *mut u32 , ppendpoints : *mut *mut PEER_PNRP_ENDPOINT_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpResolve ( pcwzpeername : :: windows::core::PCWSTR , pcwzcloudname : :: windows::core::PCWSTR , pcendpoints : *mut u32 , ppendpoints : *mut *mut PEER_PNRP_ENDPOINT_INFO ) -> :: windows::core::HRESULT ); PeerPnrpResolve(pcwzpeername.into().abi(), pcwzcloudname.into().abi(), pcendpoints, ppendpoints).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerPnrpShutdown() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpShutdown ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpShutdown ( ) -> :: windows::core::HRESULT ); PeerPnrpShutdown().ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`*"] @@ -1546,26 +1546,26 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpStartResolve ( pcwzpeername : :: windows::core::PCWSTR , pcwzcloudname : :: windows::core::PCWSTR , cmaxendpoints : u32 , hevent : super::super::Foundation:: HANDLE , phresolve : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpStartResolve ( pcwzpeername : :: windows::core::PCWSTR , pcwzcloudname : :: windows::core::PCWSTR , cmaxendpoints : u32 , hevent : super::super::Foundation:: HANDLE , phresolve : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerPnrpStartResolve(pcwzpeername.into().abi(), pcwzcloudname.into().abi(), cmaxendpoints, hevent.into(), phresolve).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerPnrpStartup(wversionrequested: u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpStartup ( wversionrequested : u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpStartup ( wversionrequested : u16 ) -> :: windows::core::HRESULT ); PeerPnrpStartup(wversionrequested).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] #[inline] pub unsafe fn PeerPnrpUnregister(hregistration: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpUnregister ( hregistration : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpUnregister ( hregistration : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PeerPnrpUnregister(hregistration).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn PeerPnrpUpdateRegistration(hregistration: *const ::core::ffi::c_void, pregistrationinfo: *const PEER_PNRP_REGISTRATION_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "p2p.dll""system" fn PeerPnrpUpdateRegistration ( hregistration : *const ::core::ffi::c_void , pregistrationinfo : *const PEER_PNRP_REGISTRATION_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "p2p.dll""system" fn PeerPnrpUpdateRegistration ( hregistration : *const ::core::ffi::c_void , pregistrationinfo : *const PEER_PNRP_REGISTRATION_INFO ) -> :: windows::core::HRESULT ); PeerPnrpUpdateRegistration(hregistration, pregistrationinfo).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_P2P\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/QoS/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/QoS/mod.rs index fed127d3ec..f0591619c6 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/QoS/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/QoS/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSAddSocketToFlow ( qoshandle : super::super::Foundation:: HANDLE , socket : super::super::Networking::WinSock:: SOCKET , destaddr : *const super::super::Networking::WinSock:: SOCKADDR , traffictype : QOS_TRAFFIC_TYPE , flags : u32 , flowid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSAddSocketToFlow ( qoshandle : super::super::Foundation:: HANDLE , socket : super::super::Networking::WinSock:: SOCKET , destaddr : *const super::super::Networking::WinSock:: SOCKADDR , traffictype : QOS_TRAFFIC_TYPE , flags : u32 , flowid : *mut u32 ) -> super::super::Foundation:: BOOL ); QOSAddSocketToFlow(qoshandle.into(), socket.into(), ::core::mem::transmute(destaddr.unwrap_or(::std::ptr::null())), traffictype, flags, flowid) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -16,7 +16,7 @@ pub unsafe fn QOSCancel(qoshandle: P0, overlapped: *const super::super::Syst where P0: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSCancel ( qoshandle : super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSCancel ( qoshandle : super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); QOSCancel(qoshandle.into(), overlapped) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -26,14 +26,14 @@ pub unsafe fn QOSCloseHandle(qoshandle: P0) -> super::super::Foundation::BOO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSCloseHandle ( qoshandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSCloseHandle ( qoshandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); QOSCloseHandle(qoshandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QOSCreateHandle(version: *const QOS_VERSION, qoshandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "qwave.dll""system" fn QOSCreateHandle ( version : *const QOS_VERSION , qoshandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSCreateHandle ( version : *const QOS_VERSION , qoshandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); QOSCreateHandle(version, qoshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -43,7 +43,7 @@ pub unsafe fn QOSEnumerateFlows(qoshandle: P0, size: *mut u32, buffer: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSEnumerateFlows ( qoshandle : super::super::Foundation:: HANDLE , size : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSEnumerateFlows ( qoshandle : super::super::Foundation:: HANDLE , size : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); QOSEnumerateFlows(qoshandle.into(), size, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -53,7 +53,7 @@ pub unsafe fn QOSNotifyFlow(qoshandle: P0, flowid: u32, operation: QOS_NOTIF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSNotifyFlow ( qoshandle : super::super::Foundation:: HANDLE , flowid : u32 , operation : QOS_NOTIFY_FLOW , size : *mut u32 , buffer : *mut ::core::ffi::c_void , flags : u32 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSNotifyFlow ( qoshandle : super::super::Foundation:: HANDLE , flowid : u32 , operation : QOS_NOTIFY_FLOW , size : *mut u32 , buffer : *mut ::core::ffi::c_void , flags : u32 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); QOSNotifyFlow(qoshandle.into(), flowid, operation, ::core::mem::transmute(size.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), flags, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn QOSQueryFlow(qoshandle: P0, flowid: u32, operation: QOS_QUERY_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSQueryFlow ( qoshandle : super::super::Foundation:: HANDLE , flowid : u32 , operation : QOS_QUERY_FLOW , size : *mut u32 , buffer : *mut ::core::ffi::c_void , flags : u32 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSQueryFlow ( qoshandle : super::super::Foundation:: HANDLE , flowid : u32 , operation : QOS_QUERY_FLOW , size : *mut u32 , buffer : *mut ::core::ffi::c_void , flags : u32 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); QOSQueryFlow(qoshandle.into(), flowid, operation, size, buffer, flags, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -74,7 +74,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSRemoveSocketFromFlow ( qoshandle : super::super::Foundation:: HANDLE , socket : super::super::Networking::WinSock:: SOCKET , flowid : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSRemoveSocketFromFlow ( qoshandle : super::super::Foundation:: HANDLE , socket : super::super::Networking::WinSock:: SOCKET , flowid : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); QOSRemoveSocketFromFlow(qoshandle.into(), socket.into(), flowid, flags) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -84,7 +84,7 @@ pub unsafe fn QOSSetFlow(qoshandle: P0, flowid: u32, operation: QOS_SET_FLOW where P0: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSSetFlow ( qoshandle : super::super::Foundation:: HANDLE , flowid : u32 , operation : QOS_SET_FLOW , size : u32 , buffer : *const ::core::ffi::c_void , flags : u32 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSSetFlow ( qoshandle : super::super::Foundation:: HANDLE , flowid : u32 , operation : QOS_SET_FLOW , size : u32 , buffer : *const ::core::ffi::c_void , flags : u32 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); QOSSetFlow(qoshandle.into(), flowid, operation, size, buffer, flags, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -94,7 +94,7 @@ pub unsafe fn QOSStartTrackingClient(qoshandle: P0, destaddr: *const super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSStartTrackingClient ( qoshandle : super::super::Foundation:: HANDLE , destaddr : *const super::super::Networking::WinSock:: SOCKADDR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSStartTrackingClient ( qoshandle : super::super::Foundation:: HANDLE , destaddr : *const super::super::Networking::WinSock:: SOCKADDR , flags : u32 ) -> super::super::Foundation:: BOOL ); QOSStartTrackingClient(qoshandle.into(), destaddr, flags) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -104,7 +104,7 @@ pub unsafe fn QOSStopTrackingClient(qoshandle: P0, destaddr: *const super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "qwave.dll""system" fn QOSStopTrackingClient ( qoshandle : super::super::Foundation:: HANDLE , destaddr : *const super::super::Networking::WinSock:: SOCKADDR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "qwave.dll""system" fn QOSStopTrackingClient ( qoshandle : super::super::Foundation:: HANDLE , destaddr : *const super::super::Networking::WinSock:: SOCKADDR , flags : u32 ) -> super::super::Foundation:: BOOL ); QOSStopTrackingClient(qoshandle.into(), destaddr, flags) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -114,7 +114,7 @@ pub unsafe fn TcAddFilter(flowhandle: P0, pgenericfilter: *const TC_GEN_FILT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcAddFilter ( flowhandle : super::super::Foundation:: HANDLE , pgenericfilter : *const TC_GEN_FILTER , pfilterhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcAddFilter ( flowhandle : super::super::Foundation:: HANDLE , pgenericfilter : *const TC_GEN_FILTER , pfilterhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); TcAddFilter(flowhandle.into(), pgenericfilter, pfilterhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -125,7 +125,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcAddFlow ( ifchandle : super::super::Foundation:: HANDLE , clflowctx : super::super::Foundation:: HANDLE , flags : u32 , pgenericflow : *const TC_GEN_FLOW , pflowhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcAddFlow ( ifchandle : super::super::Foundation:: HANDLE , clflowctx : super::super::Foundation:: HANDLE , flags : u32 , pgenericflow : *const TC_GEN_FLOW , pflowhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); TcAddFlow(ifchandle.into(), clflowctx.into(), flags, pgenericflow, pflowhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -135,7 +135,7 @@ pub unsafe fn TcCloseInterface(ifchandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcCloseInterface ( ifchandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcCloseInterface ( ifchandle : super::super::Foundation:: HANDLE ) -> u32 ); TcCloseInterface(ifchandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -145,7 +145,7 @@ pub unsafe fn TcDeleteFilter(filterhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcDeleteFilter ( filterhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcDeleteFilter ( filterhandle : super::super::Foundation:: HANDLE ) -> u32 ); TcDeleteFilter(filterhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -155,7 +155,7 @@ pub unsafe fn TcDeleteFlow(flowhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcDeleteFlow ( flowhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcDeleteFlow ( flowhandle : super::super::Foundation:: HANDLE ) -> u32 ); TcDeleteFlow(flowhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -165,7 +165,7 @@ pub unsafe fn TcDeregisterClient(clienthandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcDeregisterClient ( clienthandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcDeregisterClient ( clienthandle : super::super::Foundation:: HANDLE ) -> u32 ); TcDeregisterClient(clienthandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -175,7 +175,7 @@ pub unsafe fn TcEnumerateFlows(ifchandle: P0, penumhandle: *mut super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcEnumerateFlows ( ifchandle : super::super::Foundation:: HANDLE , penumhandle : *mut super::super::Foundation:: HANDLE , pflowcount : *mut u32 , pbufsize : *mut u32 , buffer : *mut ENUMERATION_BUFFER ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcEnumerateFlows ( ifchandle : super::super::Foundation:: HANDLE , penumhandle : *mut super::super::Foundation:: HANDLE , pflowcount : *mut u32 , pbufsize : *mut u32 , buffer : *mut ENUMERATION_BUFFER ) -> u32 ); TcEnumerateFlows(ifchandle.into(), penumhandle, pflowcount, pbufsize, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] @@ -185,7 +185,7 @@ pub unsafe fn TcEnumerateInterfaces(clienthandle: P0, pbuffersize: *mut u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcEnumerateInterfaces ( clienthandle : super::super::Foundation:: HANDLE , pbuffersize : *mut u32 , interfacebuffer : *mut TC_IFC_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcEnumerateInterfaces ( clienthandle : super::super::Foundation:: HANDLE , pbuffersize : *mut u32 , interfacebuffer : *mut TC_IFC_DESCRIPTOR ) -> u32 ); TcEnumerateInterfaces(clienthandle.into(), pbuffersize, interfacebuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -195,7 +195,7 @@ pub unsafe fn TcGetFlowNameA(flowhandle: P0, pflowname: &mut [u8]) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcGetFlowNameA ( flowhandle : super::super::Foundation:: HANDLE , strsize : u32 , pflowname : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcGetFlowNameA ( flowhandle : super::super::Foundation:: HANDLE , strsize : u32 , pflowname : :: windows::core::PSTR ) -> u32 ); TcGetFlowNameA(flowhandle.into(), pflowname.len() as _, ::core::mem::transmute(pflowname.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -205,7 +205,7 @@ pub unsafe fn TcGetFlowNameW(flowhandle: P0, pflowname: &mut [u16]) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcGetFlowNameW ( flowhandle : super::super::Foundation:: HANDLE , strsize : u32 , pflowname : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcGetFlowNameW ( flowhandle : super::super::Foundation:: HANDLE , strsize : u32 , pflowname : :: windows::core::PWSTR ) -> u32 ); TcGetFlowNameW(flowhandle.into(), pflowname.len() as _, ::core::mem::transmute(pflowname.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -215,7 +215,7 @@ pub unsafe fn TcModifyFlow(flowhandle: P0, pgenericflow: *const TC_GEN_FLOW) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcModifyFlow ( flowhandle : super::super::Foundation:: HANDLE , pgenericflow : *const TC_GEN_FLOW ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcModifyFlow ( flowhandle : super::super::Foundation:: HANDLE , pgenericflow : *const TC_GEN_FLOW ) -> u32 ); TcModifyFlow(flowhandle.into(), pgenericflow) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -227,7 +227,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcOpenInterfaceA ( pinterfacename : :: windows::core::PCSTR , clienthandle : super::super::Foundation:: HANDLE , clifcctx : super::super::Foundation:: HANDLE , pifchandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcOpenInterfaceA ( pinterfacename : :: windows::core::PCSTR , clienthandle : super::super::Foundation:: HANDLE , clifcctx : super::super::Foundation:: HANDLE , pifchandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); TcOpenInterfaceA(pinterfacename.into().abi(), clienthandle.into(), clifcctx.into(), pifchandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -239,7 +239,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcOpenInterfaceW ( pinterfacename : :: windows::core::PCWSTR , clienthandle : super::super::Foundation:: HANDLE , clifcctx : super::super::Foundation:: HANDLE , pifchandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcOpenInterfaceW ( pinterfacename : :: windows::core::PCWSTR , clienthandle : super::super::Foundation:: HANDLE , clifcctx : super::super::Foundation:: HANDLE , pifchandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); TcOpenInterfaceW(pinterfacename.into().abi(), clienthandle.into(), clifcctx.into(), pifchandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] @@ -248,7 +248,7 @@ pub unsafe fn TcQueryFlowA(pflowname: P0, pguidparam: *const ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "traffic.dll""system" fn TcQueryFlowA ( pflowname : :: windows::core::PCSTR , pguidparam : *const :: windows::core::GUID , pbuffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcQueryFlowA ( pflowname : :: windows::core::PCSTR , pguidparam : *const :: windows::core::GUID , pbuffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); TcQueryFlowA(pflowname.into().abi(), pguidparam, pbuffersize, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] @@ -257,7 +257,7 @@ pub unsafe fn TcQueryFlowW(pflowname: P0, pguidparam: *const ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "traffic.dll""system" fn TcQueryFlowW ( pflowname : :: windows::core::PCWSTR , pguidparam : *const :: windows::core::GUID , pbuffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcQueryFlowW ( pflowname : :: windows::core::PCWSTR , pguidparam : *const :: windows::core::GUID , pbuffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); TcQueryFlowW(pflowname.into().abi(), pguidparam, pbuffersize, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -268,7 +268,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcQueryInterface ( ifchandle : super::super::Foundation:: HANDLE , pguidparam : *const :: windows::core::GUID , notifychange : super::super::Foundation:: BOOLEAN , pbuffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcQueryInterface ( ifchandle : super::super::Foundation:: HANDLE , pguidparam : *const :: windows::core::GUID , notifychange : super::super::Foundation:: BOOLEAN , pbuffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); TcQueryInterface(ifchandle.into(), pguidparam, notifychange.into(), pbuffersize, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -278,7 +278,7 @@ pub unsafe fn TcRegisterClient(tciversion: u32, clregctx: P0, clienthandlerl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcRegisterClient ( tciversion : u32 , clregctx : super::super::Foundation:: HANDLE , clienthandlerlist : *const TCI_CLIENT_FUNC_LIST , pclienthandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcRegisterClient ( tciversion : u32 , clregctx : super::super::Foundation:: HANDLE , clienthandlerlist : *const TCI_CLIENT_FUNC_LIST , pclienthandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); TcRegisterClient(tciversion, clregctx.into(), clienthandlerlist, pclienthandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] @@ -287,7 +287,7 @@ pub unsafe fn TcSetFlowA(pflowname: P0, pguidparam: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "traffic.dll""system" fn TcSetFlowA ( pflowname : :: windows::core::PCSTR , pguidparam : *const :: windows::core::GUID , buffersize : u32 , buffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcSetFlowA ( pflowname : :: windows::core::PCSTR , pguidparam : *const :: windows::core::GUID , buffersize : u32 , buffer : *const ::core::ffi::c_void ) -> u32 ); TcSetFlowA(pflowname.into().abi(), pguidparam, buffersize, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] @@ -296,7 +296,7 @@ pub unsafe fn TcSetFlowW(pflowname: P0, pguidparam: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "traffic.dll""system" fn TcSetFlowW ( pflowname : :: windows::core::PCWSTR , pguidparam : *const :: windows::core::GUID , buffersize : u32 , buffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcSetFlowW ( pflowname : :: windows::core::PCWSTR , pguidparam : *const :: windows::core::GUID , buffersize : u32 , buffer : *const ::core::ffi::c_void ) -> u32 ); TcSetFlowW(pflowname.into().abi(), pguidparam, buffersize, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`, `\"Win32_Foundation\"`*"] @@ -306,7 +306,7 @@ pub unsafe fn TcSetInterface(ifchandle: P0, pguidparam: *const ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "traffic.dll""system" fn TcSetInterface ( ifchandle : super::super::Foundation:: HANDLE , pguidparam : *const :: windows::core::GUID , buffersize : u32 , buffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "traffic.dll""system" fn TcSetInterface ( ifchandle : super::super::Foundation:: HANDLE , pguidparam : *const :: windows::core::GUID , buffersize : u32 , buffer : *const ::core::ffi::c_void ) -> u32 ); TcSetInterface(ifchandle.into(), pguidparam, buffersize, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_QoS\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs index 752622984b..1fa8706182 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn MgmAddGroupMembershipEntry(hprotocol: P0, dwsourceaddr: u32, d where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn MgmAddGroupMembershipEntry ( hprotocol : super::super::Foundation:: HANDLE , dwsourceaddr : u32 , dwsourcemask : u32 , dwgroupaddr : u32 , dwgroupmask : u32 , dwifindex : u32 , dwifnexthopipaddr : u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmAddGroupMembershipEntry ( hprotocol : super::super::Foundation:: HANDLE , dwsourceaddr : u32 , dwsourcemask : u32 , dwgroupaddr : u32 , dwgroupmask : u32 , dwifindex : u32 , dwifnexthopipaddr : u32 , dwflags : u32 ) -> u32 ); MgmAddGroupMembershipEntry(hprotocol.into(), dwsourceaddr, dwsourcemask, dwgroupaddr, dwgroupmask, dwifindex, dwifnexthopipaddr, dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn MgmDeRegisterMProtocol(hprotocol: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn MgmDeRegisterMProtocol ( hprotocol : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmDeRegisterMProtocol ( hprotocol : super::super::Foundation:: HANDLE ) -> u32 ); MgmDeRegisterMProtocol(hprotocol.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -25,53 +25,53 @@ pub unsafe fn MgmDeleteGroupMembershipEntry(hprotocol: P0, dwsourceaddr: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn MgmDeleteGroupMembershipEntry ( hprotocol : super::super::Foundation:: HANDLE , dwsourceaddr : u32 , dwsourcemask : u32 , dwgroupaddr : u32 , dwgroupmask : u32 , dwifindex : u32 , dwifnexthopipaddr : u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmDeleteGroupMembershipEntry ( hprotocol : super::super::Foundation:: HANDLE , dwsourceaddr : u32 , dwsourcemask : u32 , dwgroupaddr : u32 , dwgroupmask : u32 , dwifindex : u32 , dwifnexthopipaddr : u32 , dwflags : u32 ) -> u32 ); MgmDeleteGroupMembershipEntry(hprotocol.into(), dwsourceaddr, dwsourcemask, dwgroupaddr, dwgroupmask, dwifindex, dwifnexthopipaddr, dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MgmGetFirstMfe(pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGetFirstMfe ( pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGetFirstMfe ( pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 ) -> u32 ); MgmGetFirstMfe(pdwbuffersize, pbbuffer, pdwnumentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MgmGetFirstMfeStats(pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32, dwflags: u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGetFirstMfeStats ( pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGetFirstMfeStats ( pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 , dwflags : u32 ) -> u32 ); MgmGetFirstMfeStats(pdwbuffersize, pbbuffer, pdwnumentries, dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_NetworkManagement_IpHelper\"`*"] #[cfg(feature = "Win32_NetworkManagement_IpHelper")] #[inline] pub unsafe fn MgmGetMfe(pimm: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGetMfe ( pimm : *mut super::IpHelper:: MIB_IPMCAST_MFE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGetMfe ( pimm : *mut super::IpHelper:: MIB_IPMCAST_MFE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 ) -> u32 ); MgmGetMfe(pimm, pdwbuffersize, pbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_NetworkManagement_IpHelper\"`*"] #[cfg(feature = "Win32_NetworkManagement_IpHelper")] #[inline] pub unsafe fn MgmGetMfeStats(pimm: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, dwflags: u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGetMfeStats ( pimm : *mut super::IpHelper:: MIB_IPMCAST_MFE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGetMfeStats ( pimm : *mut super::IpHelper:: MIB_IPMCAST_MFE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , dwflags : u32 ) -> u32 ); MgmGetMfeStats(pimm, pdwbuffersize, pbbuffer, dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_NetworkManagement_IpHelper\"`*"] #[cfg(feature = "Win32_NetworkManagement_IpHelper")] #[inline] pub unsafe fn MgmGetNextMfe(pimmstart: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGetNextMfe ( pimmstart : *mut super::IpHelper:: MIB_IPMCAST_MFE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGetNextMfe ( pimmstart : *mut super::IpHelper:: MIB_IPMCAST_MFE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 ) -> u32 ); MgmGetNextMfe(pimmstart, pdwbuffersize, pbbuffer, pdwnumentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_NetworkManagement_IpHelper\"`*"] #[cfg(feature = "Win32_NetworkManagement_IpHelper")] #[inline] pub unsafe fn MgmGetNextMfeStats(pimmstart: *mut super::IpHelper::MIB_IPMCAST_MFE, pdwbuffersize: *mut u32, pbbuffer: *mut u8, pdwnumentries: *mut u32, dwflags: u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGetNextMfeStats ( pimmstart : *mut super::IpHelper:: MIB_IPMCAST_MFE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGetNextMfeStats ( pimmstart : *mut super::IpHelper:: MIB_IPMCAST_MFE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 , dwflags : u32 ) -> u32 ); MgmGetNextMfeStats(pimmstart, pdwbuffersize, pbbuffer, pdwnumentries, dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MgmGetProtocolOnInterface(dwifindex: u32, dwifnexthopaddr: u32, pdwifprotocolid: *mut u32, pdwifcomponentid: *mut u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGetProtocolOnInterface ( dwifindex : u32 , dwifnexthopaddr : u32 , pdwifprotocolid : *mut u32 , pdwifcomponentid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGetProtocolOnInterface ( dwifindex : u32 , dwifnexthopaddr : u32 , pdwifprotocolid : *mut u32 , pdwifcomponentid : *mut u32 ) -> u32 ); MgmGetProtocolOnInterface(dwifindex, dwifnexthopaddr, pdwifprotocolid, pdwifcomponentid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -81,7 +81,7 @@ pub unsafe fn MgmGroupEnumerationEnd(henum: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGroupEnumerationEnd ( henum : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGroupEnumerationEnd ( henum : super::super::Foundation:: HANDLE ) -> u32 ); MgmGroupEnumerationEnd(henum.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -91,7 +91,7 @@ pub unsafe fn MgmGroupEnumerationGetNext(henum: P0, pdwbuffersize: *mut u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGroupEnumerationGetNext ( henum : super::super::Foundation:: HANDLE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGroupEnumerationGetNext ( henum : super::super::Foundation:: HANDLE , pdwbuffersize : *mut u32 , pbbuffer : *mut u8 , pdwnumentries : *mut u32 ) -> u32 ); MgmGroupEnumerationGetNext(henum.into(), pdwbuffersize, pbbuffer, pdwnumentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -101,14 +101,14 @@ pub unsafe fn MgmGroupEnumerationStart(hprotocol: P0, metenumtype: MGM_ENUM_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn MgmGroupEnumerationStart ( hprotocol : super::super::Foundation:: HANDLE , metenumtype : MGM_ENUM_TYPES , phenumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmGroupEnumerationStart ( hprotocol : super::super::Foundation:: HANDLE , metenumtype : MGM_ENUM_TYPES , phenumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); MgmGroupEnumerationStart(hprotocol.into(), metenumtype, phenumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MgmRegisterMProtocol(prpiinfo: *mut ROUTING_PROTOCOL_CONFIG, dwprotocolid: u32, dwcomponentid: u32, phprotocol: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn MgmRegisterMProtocol ( prpiinfo : *mut ROUTING_PROTOCOL_CONFIG , dwprotocolid : u32 , dwcomponentid : u32 , phprotocol : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmRegisterMProtocol ( prpiinfo : *mut ROUTING_PROTOCOL_CONFIG , dwprotocolid : u32 , dwcomponentid : u32 , phprotocol : *mut super::super::Foundation:: HANDLE ) -> u32 ); MgmRegisterMProtocol(prpiinfo, dwprotocolid, dwcomponentid, phprotocol) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -118,7 +118,7 @@ pub unsafe fn MgmReleaseInterfaceOwnership(hprotocol: P0, dwifindex: u32, dw where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn MgmReleaseInterfaceOwnership ( hprotocol : super::super::Foundation:: HANDLE , dwifindex : u32 , dwifnexthopaddr : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmReleaseInterfaceOwnership ( hprotocol : super::super::Foundation:: HANDLE , dwifindex : u32 , dwifnexthopaddr : u32 ) -> u32 ); MgmReleaseInterfaceOwnership(hprotocol.into(), dwifindex, dwifnexthopaddr) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -128,13 +128,13 @@ pub unsafe fn MgmTakeInterfaceOwnership(hprotocol: P0, dwifindex: u32, dwifn where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn MgmTakeInterfaceOwnership ( hprotocol : super::super::Foundation:: HANDLE , dwifindex : u32 , dwifnexthopaddr : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn MgmTakeInterfaceOwnership ( hprotocol : super::super::Foundation:: HANDLE , dwifindex : u32 , dwifnexthopaddr : u32 ) -> u32 ); MgmTakeInterfaceOwnership(hprotocol.into(), dwifindex, dwifnexthopaddr) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminBufferFree(pbuffer: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminBufferFree ( pbuffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminBufferFree ( pbuffer : *const ::core::ffi::c_void ) -> u32 ); MprAdminBufferFree(pbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -144,20 +144,20 @@ pub unsafe fn MprAdminConnectionClearStats(hrasserver: isize, hrasconnection where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminConnectionClearStats ( hrasserver : isize , hrasconnection : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminConnectionClearStats ( hrasserver : isize , hrasconnection : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminConnectionClearStats(hrasserver, hrasconnection.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminConnectionEnum(hrasserver: isize, dwlevel: u32, lplpbbuffer: *mut *mut u8, dwprefmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, lpdwresumehandle: ::core::option::Option<*const u32>) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminConnectionEnum ( hrasserver : isize , dwlevel : u32 , lplpbbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *const u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminConnectionEnum ( hrasserver : isize , dwlevel : u32 , lplpbbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *const u32 ) -> u32 ); MprAdminConnectionEnum(hrasserver, dwlevel, lplpbbuffer, dwprefmaxlen, lpdwentriesread, lpdwtotalentries, ::core::mem::transmute(lpdwresumehandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MprAdminConnectionEnumEx(hrasserver: isize, pobjectheader: *const MPRAPI_OBJECT_HEADER, dwpreferedmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, pprasconn: *mut *mut RAS_CONNECTION_EX, lpdwresumehandle: *const u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminConnectionEnumEx ( hrasserver : isize , pobjectheader : *const MPRAPI_OBJECT_HEADER , dwpreferedmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , pprasconn : *mut *mut RAS_CONNECTION_EX , lpdwresumehandle : *const u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminConnectionEnumEx ( hrasserver : isize , pobjectheader : *const MPRAPI_OBJECT_HEADER , dwpreferedmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , pprasconn : *mut *mut RAS_CONNECTION_EX , lpdwresumehandle : *const u32 ) -> u32 ); MprAdminConnectionEnumEx(hrasserver, pobjectheader, dwpreferedmaxlen, lpdwentriesread, lpdwtotalentries, pprasconn, lpdwresumehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -167,7 +167,7 @@ pub unsafe fn MprAdminConnectionGetInfo(hrasserver: isize, dwlevel: u32, hra where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminConnectionGetInfo ( hrasserver : isize , dwlevel : u32 , hrasconnection : super::super::Foundation:: HANDLE , lplpbbuffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminConnectionGetInfo ( hrasserver : isize , dwlevel : u32 , hrasconnection : super::super::Foundation:: HANDLE , lplpbbuffer : *mut *mut u8 ) -> u32 ); MprAdminConnectionGetInfo(hrasserver, dwlevel, hrasconnection.into(), lplpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -177,7 +177,7 @@ pub unsafe fn MprAdminConnectionGetInfoEx(hrasserver: isize, hrasconnection: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminConnectionGetInfoEx ( hrasserver : isize , hrasconnection : super::super::Foundation:: HANDLE , prasconnection : *mut RAS_CONNECTION_EX ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminConnectionGetInfoEx ( hrasserver : isize , hrasconnection : super::super::Foundation:: HANDLE , prasconnection : *mut RAS_CONNECTION_EX ) -> u32 ); MprAdminConnectionGetInfoEx(hrasserver, hrasconnection.into(), prasconnection) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -189,7 +189,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminConnectionRemoveQuarantine ( hrasserver : super::super::Foundation:: HANDLE , hrasconnection : super::super::Foundation:: HANDLE , fisipaddress : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminConnectionRemoveQuarantine ( hrasserver : super::super::Foundation:: HANDLE , hrasconnection : super::super::Foundation:: HANDLE , fisipaddress : super::super::Foundation:: BOOL ) -> u32 ); MprAdminConnectionRemoveQuarantine(hrasserver.into(), hrasconnection.into(), fisipaddress.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -199,13 +199,13 @@ pub unsafe fn MprAdminDeregisterConnectionNotification(hmprserver: isize, he where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminDeregisterConnectionNotification ( hmprserver : isize , heventnotification : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminDeregisterConnectionNotification ( hmprserver : isize , heventnotification : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminDeregisterConnectionNotification(hmprserver, heventnotification.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminDeviceEnum(hmprserver: isize, dwlevel: u32, lplpbbuffer: *mut *mut u8, lpdwtotalentries: *mut u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminDeviceEnum ( hmprserver : isize , dwlevel : u32 , lplpbbuffer : *mut *mut u8 , lpdwtotalentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminDeviceEnum ( hmprserver : isize , dwlevel : u32 , lplpbbuffer : *mut *mut u8 , lpdwtotalentries : *mut u32 ) -> u32 ); MprAdminDeviceEnum(hmprserver, dwlevel, lplpbbuffer, lpdwtotalentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -217,13 +217,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminEstablishDomainRasServer ( pszdomain : :: windows::core::PCWSTR , pszmachine : :: windows::core::PCWSTR , benable : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminEstablishDomainRasServer ( pszdomain : :: windows::core::PCWSTR , pszmachine : :: windows::core::PCWSTR , benable : super::super::Foundation:: BOOL ) -> u32 ); MprAdminEstablishDomainRasServer(pszdomain.into().abi(), pszmachine.into().abi(), benable.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminGetErrorString(dwerror: u32, lplpwserrorstring: *mut ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminGetErrorString ( dwerror : u32 , lplpwserrorstring : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminGetErrorString ( dwerror : u32 , lplpwserrorstring : *mut :: windows::core::PWSTR ) -> u32 ); MprAdminGetErrorString(dwerror, lplpwserrorstring) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -233,7 +233,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminGetPDCServer ( lpszdomain : :: windows::core::PCWSTR , lpszserver : :: windows::core::PCWSTR , lpszpdcserver : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminGetPDCServer ( lpszdomain : :: windows::core::PCWSTR , lpszserver : :: windows::core::PCWSTR , lpszpdcserver : :: windows::core::PWSTR ) -> u32 ); MprAdminGetPDCServer(lpszdomain.into().abi(), lpszserver.into().abi(), ::core::mem::transmute(lpszpdcserver)) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -245,14 +245,14 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceConnect ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , hevent : super::super::Foundation:: HANDLE , fsynchronous : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceConnect ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , hevent : super::super::Foundation:: HANDLE , fsynchronous : super::super::Foundation:: BOOL ) -> u32 ); MprAdminInterfaceConnect(hmprserver, hinterface.into(), hevent.into(), fsynchronous.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MprAdminInterfaceCreate(hmprserver: isize, dwlevel: u32, lpbbuffer: *const u8, phinterface: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceCreate ( hmprserver : isize , dwlevel : u32 , lpbbuffer : *const u8 , phinterface : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceCreate ( hmprserver : isize , dwlevel : u32 , lpbbuffer : *const u8 , phinterface : *mut super::super::Foundation:: HANDLE ) -> u32 ); MprAdminInterfaceCreate(hmprserver, dwlevel, lpbbuffer, phinterface) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -262,7 +262,7 @@ pub unsafe fn MprAdminInterfaceDelete(hmprserver: isize, hinterface: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceDelete ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceDelete ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminInterfaceDelete(hmprserver, hinterface.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -272,7 +272,7 @@ pub unsafe fn MprAdminInterfaceDeviceGetInfo(hmprserver: isize, hinterface: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceDeviceGetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwindex : u32 , dwlevel : u32 , lplpbuffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceDeviceGetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwindex : u32 , dwlevel : u32 , lplpbuffer : *mut *mut u8 ) -> u32 ); MprAdminInterfaceDeviceGetInfo(hmprserver, hinterface.into(), dwindex, dwlevel, lplpbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -282,7 +282,7 @@ pub unsafe fn MprAdminInterfaceDeviceSetInfo(hmprserver: isize, hinterface: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceDeviceSetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwindex : u32 , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceDeviceSetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwindex : u32 , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); MprAdminInterfaceDeviceSetInfo(hmprserver, hinterface.into(), dwindex, dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -292,13 +292,13 @@ pub unsafe fn MprAdminInterfaceDisconnect(hmprserver: isize, hinterface: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceDisconnect ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceDisconnect ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminInterfaceDisconnect(hmprserver, hinterface.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminInterfaceEnum(hmprserver: isize, dwlevel: u32, lplpbbuffer: *mut *mut u8, dwprefmaxlen: u32, lpdwentriesread: *mut u32, lpdwtotalentries: *mut u32, lpdwresumehandle: ::core::option::Option<*const u32>) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceEnum ( hmprserver : isize , dwlevel : u32 , lplpbbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *const u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceEnum ( hmprserver : isize , dwlevel : u32 , lplpbbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *const u32 ) -> u32 ); MprAdminInterfaceEnum(hmprserver, dwlevel, lplpbbuffer, dwprefmaxlen, lpdwentriesread, lpdwtotalentries, ::core::mem::transmute(lpdwresumehandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -308,7 +308,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetCredentials ( lpwsserver : :: windows::core::PCWSTR , lpwsinterfacename : :: windows::core::PCWSTR , lpwsusername : :: windows::core::PWSTR , lpwspassword : :: windows::core::PWSTR , lpwsdomainname : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetCredentials ( lpwsserver : :: windows::core::PCWSTR , lpwsinterfacename : :: windows::core::PCWSTR , lpwsusername : :: windows::core::PWSTR , lpwspassword : :: windows::core::PWSTR , lpwsdomainname : :: windows::core::PWSTR ) -> u32 ); MprAdminInterfaceGetCredentials(lpwsserver.into().abi(), lpwsinterfacename.into().abi(), ::core::mem::transmute(lpwsusername), ::core::mem::transmute(lpwspassword), ::core::mem::transmute(lpwsdomainname)) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -318,7 +318,7 @@ pub unsafe fn MprAdminInterfaceGetCredentialsEx(hmprserver: isize, hinterfac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetCredentialsEx ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbbuffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetCredentialsEx ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbbuffer : *mut *mut u8 ) -> u32 ); MprAdminInterfaceGetCredentialsEx(hmprserver, hinterface.into(), dwlevel, lplpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`*"] @@ -328,7 +328,7 @@ pub unsafe fn MprAdminInterfaceGetCustomInfoEx(hmprserver: isize, hinterface where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetCustomInfoEx ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , pcustominfo : *mut MPR_IF_CUSTOMINFOEX2 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetCustomInfoEx ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , pcustominfo : *mut MPR_IF_CUSTOMINFOEX2 ) -> u32 ); MprAdminInterfaceGetCustomInfoEx(hmprserver, hinterface.into(), pcustominfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -339,7 +339,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetHandle ( hmprserver : isize , lpwsinterfacename : :: windows::core::PCWSTR , phinterface : *mut super::super::Foundation:: HANDLE , fincludeclientinterfaces : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetHandle ( hmprserver : isize , lpwsinterfacename : :: windows::core::PCWSTR , phinterface : *mut super::super::Foundation:: HANDLE , fincludeclientinterfaces : super::super::Foundation:: BOOL ) -> u32 ); MprAdminInterfaceGetHandle(hmprserver, lpwsinterfacename.into().abi(), phinterface, fincludeclientinterfaces.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -349,7 +349,7 @@ pub unsafe fn MprAdminInterfaceGetInfo(hmprserver: isize, hinterface: P0, dw where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbbuffer : *const *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceGetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbbuffer : *const *const u8 ) -> u32 ); MprAdminInterfaceGetInfo(hmprserver, hinterface.into(), dwlevel, lplpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -359,7 +359,7 @@ pub unsafe fn MprAdminInterfaceQueryUpdateResult(hmprserver: isize, hinterfa where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceQueryUpdateResult ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwprotocolid : u32 , lpdwupdateresult : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceQueryUpdateResult ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwprotocolid : u32 , lpdwupdateresult : *mut u32 ) -> u32 ); MprAdminInterfaceQueryUpdateResult(hmprserver, hinterface.into(), dwprotocolid, lpdwupdateresult) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -372,7 +372,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceSetCredentials ( lpwsserver : :: windows::core::PCWSTR , lpwsinterfacename : :: windows::core::PCWSTR , lpwsusername : :: windows::core::PCWSTR , lpwsdomainname : :: windows::core::PCWSTR , lpwspassword : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceSetCredentials ( lpwsserver : :: windows::core::PCWSTR , lpwsinterfacename : :: windows::core::PCWSTR , lpwsusername : :: windows::core::PCWSTR , lpwsdomainname : :: windows::core::PCWSTR , lpwspassword : :: windows::core::PCWSTR ) -> u32 ); MprAdminInterfaceSetCredentials(lpwsserver.into().abi(), lpwsinterfacename.into().abi(), lpwsusername.into().abi(), lpwsdomainname.into().abi(), lpwspassword.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -382,7 +382,7 @@ pub unsafe fn MprAdminInterfaceSetCredentialsEx(hmprserver: isize, hinterfac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceSetCredentialsEx ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceSetCredentialsEx ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); MprAdminInterfaceSetCredentialsEx(hmprserver, hinterface.into(), dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`*"] @@ -392,7 +392,7 @@ pub unsafe fn MprAdminInterfaceSetCustomInfoEx(hmprserver: isize, hinterface where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceSetCustomInfoEx ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , pcustominfo : *const MPR_IF_CUSTOMINFOEX2 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceSetCustomInfoEx ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , pcustominfo : *const MPR_IF_CUSTOMINFOEX2 ) -> u32 ); MprAdminInterfaceSetCustomInfoEx(hmprserver, hinterface.into(), pcustominfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -402,7 +402,7 @@ pub unsafe fn MprAdminInterfaceSetInfo(hmprserver: isize, hinterface: P0, dw where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceSetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceSetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); MprAdminInterfaceSetInfo(hmprserver, hinterface.into(), dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -412,7 +412,7 @@ pub unsafe fn MprAdminInterfaceTransportAdd(hmprserver: isize, hinterface: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceTransportAdd ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , pinterfaceinfo : *const u8 , dwinterfaceinfosize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceTransportAdd ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , pinterfaceinfo : *const u8 , dwinterfaceinfosize : u32 ) -> u32 ); MprAdminInterfaceTransportAdd(hmprserver, hinterface.into(), dwtransportid, pinterfaceinfo, dwinterfaceinfosize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -422,7 +422,7 @@ pub unsafe fn MprAdminInterfaceTransportGetInfo(hmprserver: isize, hinterfac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceTransportGetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , ppinterfaceinfo : *mut *mut u8 , lpdwinterfaceinfosize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceTransportGetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , ppinterfaceinfo : *mut *mut u8 , lpdwinterfaceinfosize : *mut u32 ) -> u32 ); MprAdminInterfaceTransportGetInfo(hmprserver, hinterface.into(), dwtransportid, ppinterfaceinfo, ::core::mem::transmute(lpdwinterfaceinfosize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -432,7 +432,7 @@ pub unsafe fn MprAdminInterfaceTransportRemove(hmprserver: isize, hinterface where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceTransportRemove ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceTransportRemove ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 ) -> u32 ); MprAdminInterfaceTransportRemove(hmprserver, hinterface.into(), dwtransportid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -442,7 +442,7 @@ pub unsafe fn MprAdminInterfaceTransportSetInfo(hmprserver: isize, hinterfac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceTransportSetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , pinterfaceinfo : *const u8 , dwinterfaceinfosize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceTransportSetInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , pinterfaceinfo : *const u8 , dwinterfaceinfosize : u32 ) -> u32 ); MprAdminInterfaceTransportSetInfo(hmprserver, hinterface.into(), dwtransportid, pinterfaceinfo, dwinterfaceinfosize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -452,7 +452,7 @@ pub unsafe fn MprAdminInterfaceUpdatePhonebookInfo(hmprserver: isize, hinter where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceUpdatePhonebookInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceUpdatePhonebookInfo ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminInterfaceUpdatePhonebookInfo(hmprserver, hinterface.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -463,7 +463,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminInterfaceUpdateRoutes ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwprotocolid : u32 , hevent : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminInterfaceUpdateRoutes ( hmprserver : isize , hinterface : super::super::Foundation:: HANDLE , dwprotocolid : u32 , hevent : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminInterfaceUpdateRoutes(hmprserver, hinterface.into(), dwprotocolid, hevent.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -474,7 +474,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminIsDomainRasServer ( pszdomain : :: windows::core::PCWSTR , pszmachine : :: windows::core::PCWSTR , pbisrasserver : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminIsDomainRasServer ( pszdomain : :: windows::core::PCWSTR , pszmachine : :: windows::core::PCWSTR , pbisrasserver : *mut super::super::Foundation:: BOOL ) -> u32 ); MprAdminIsDomainRasServer(pszdomain.into().abi(), pszmachine.into().abi(), pbisrasserver) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -484,7 +484,7 @@ pub unsafe fn MprAdminIsServiceInitialized(lpwsservername: P0, fisserviceini where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminIsServiceInitialized ( lpwsservername : :: windows::core::PCWSTR , fisserviceinitialized : *const super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminIsServiceInitialized ( lpwsservername : :: windows::core::PCWSTR , fisserviceinitialized : *const super::super::Foundation:: BOOL ) -> u32 ); MprAdminIsServiceInitialized(lpwsservername.into().abi(), fisserviceinitialized) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -494,49 +494,49 @@ pub unsafe fn MprAdminIsServiceRunning(lpwsservername: P0) -> super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminIsServiceRunning ( lpwsservername : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminIsServiceRunning ( lpwsservername : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); MprAdminIsServiceRunning(lpwsservername.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminMIBBufferFree(pbuffer: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBBufferFree ( pbuffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBBufferFree ( pbuffer : *const ::core::ffi::c_void ) -> u32 ); MprAdminMIBBufferFree(pbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminMIBEntryCreate(hmibserver: isize, dwpid: u32, dwroutingpid: u32, lpentry: *const ::core::ffi::c_void, dwentrysize: u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryCreate ( hmibserver : isize , dwpid : u32 , dwroutingpid : u32 , lpentry : *const ::core::ffi::c_void , dwentrysize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryCreate ( hmibserver : isize , dwpid : u32 , dwroutingpid : u32 , lpentry : *const ::core::ffi::c_void , dwentrysize : u32 ) -> u32 ); MprAdminMIBEntryCreate(hmibserver, dwpid, dwroutingpid, lpentry, dwentrysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminMIBEntryDelete(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpentry: *const ::core::ffi::c_void, dwentrysize: u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryDelete ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpentry : *const ::core::ffi::c_void , dwentrysize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryDelete ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpentry : *const ::core::ffi::c_void , dwentrysize : u32 ) -> u32 ); MprAdminMIBEntryDelete(hmibserver, dwprotocolid, dwroutingpid, lpentry, dwentrysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminMIBEntryGet(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpinentry: *const ::core::ffi::c_void, dwinentrysize: u32, lplpoutentry: *mut *mut ::core::ffi::c_void, lpoutentrysize: *mut u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryGet ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpinentry : *const ::core::ffi::c_void , dwinentrysize : u32 , lplpoutentry : *mut *mut ::core::ffi::c_void , lpoutentrysize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryGet ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpinentry : *const ::core::ffi::c_void , dwinentrysize : u32 , lplpoutentry : *mut *mut ::core::ffi::c_void , lpoutentrysize : *mut u32 ) -> u32 ); MprAdminMIBEntryGet(hmibserver, dwprotocolid, dwroutingpid, lpinentry, dwinentrysize, lplpoutentry, lpoutentrysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminMIBEntryGetFirst(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpinentry: *const ::core::ffi::c_void, dwinentrysize: u32, lplpoutentry: *mut *mut ::core::ffi::c_void, lpoutentrysize: *mut u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryGetFirst ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpinentry : *const ::core::ffi::c_void , dwinentrysize : u32 , lplpoutentry : *mut *mut ::core::ffi::c_void , lpoutentrysize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryGetFirst ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpinentry : *const ::core::ffi::c_void , dwinentrysize : u32 , lplpoutentry : *mut *mut ::core::ffi::c_void , lpoutentrysize : *mut u32 ) -> u32 ); MprAdminMIBEntryGetFirst(hmibserver, dwprotocolid, dwroutingpid, lpinentry, dwinentrysize, lplpoutentry, lpoutentrysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminMIBEntryGetNext(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpinentry: *const ::core::ffi::c_void, dwinentrysize: u32, lplpoutentry: *mut *mut ::core::ffi::c_void, lpoutentrysize: *mut u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryGetNext ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpinentry : *const ::core::ffi::c_void , dwinentrysize : u32 , lplpoutentry : *mut *mut ::core::ffi::c_void , lpoutentrysize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBEntryGetNext ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpinentry : *const ::core::ffi::c_void , dwinentrysize : u32 , lplpoutentry : *mut *mut ::core::ffi::c_void , lpoutentrysize : *mut u32 ) -> u32 ); MprAdminMIBEntryGetNext(hmibserver, dwprotocolid, dwroutingpid, lpinentry, dwinentrysize, lplpoutentry, lpoutentrysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminMIBEntrySet(hmibserver: isize, dwprotocolid: u32, dwroutingpid: u32, lpentry: *const ::core::ffi::c_void, dwentrysize: u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBEntrySet ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpentry : *const ::core::ffi::c_void , dwentrysize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBEntrySet ( hmibserver : isize , dwprotocolid : u32 , dwroutingpid : u32 , lpentry : *const ::core::ffi::c_void , dwentrysize : u32 ) -> u32 ); MprAdminMIBEntrySet(hmibserver, dwprotocolid, dwroutingpid, lpentry, dwentrysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -545,13 +545,13 @@ pub unsafe fn MprAdminMIBServerConnect(lpwsservername: P0, phmibserver: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBServerConnect ( lpwsservername : :: windows::core::PCWSTR , phmibserver : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBServerConnect ( lpwsservername : :: windows::core::PCWSTR , phmibserver : *mut isize ) -> u32 ); MprAdminMIBServerConnect(lpwsservername.into().abi(), phmibserver) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminMIBServerDisconnect(hmibserver: isize) { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminMIBServerDisconnect ( hmibserver : isize ) -> ( ) ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminMIBServerDisconnect ( hmibserver : isize ) -> ( ) ); MprAdminMIBServerDisconnect(hmibserver) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -561,7 +561,7 @@ pub unsafe fn MprAdminPortClearStats(hrasserver: isize, hport: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminPortClearStats ( hrasserver : isize , hport : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminPortClearStats ( hrasserver : isize , hport : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminPortClearStats(hrasserver, hport.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -571,7 +571,7 @@ pub unsafe fn MprAdminPortDisconnect(hrasserver: isize, hport: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminPortDisconnect ( hrasserver : isize , hport : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminPortDisconnect ( hrasserver : isize , hport : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminPortDisconnect(hrasserver, hport.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -581,7 +581,7 @@ pub unsafe fn MprAdminPortEnum(hrasserver: isize, dwlevel: u32, hrasconnecti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminPortEnum ( hrasserver : isize , dwlevel : u32 , hrasconnection : super::super::Foundation:: HANDLE , lplpbbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *const u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminPortEnum ( hrasserver : isize , dwlevel : u32 , hrasconnection : super::super::Foundation:: HANDLE , lplpbbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *const u32 ) -> u32 ); MprAdminPortEnum(hrasserver, dwlevel, hrasconnection.into(), lplpbbuffer, dwprefmaxlen, lpdwentriesread, lpdwtotalentries, ::core::mem::transmute(lpdwresumehandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -591,7 +591,7 @@ pub unsafe fn MprAdminPortGetInfo(hrasserver: isize, dwlevel: u32, hport: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminPortGetInfo ( hrasserver : isize , dwlevel : u32 , hport : super::super::Foundation:: HANDLE , lplpbbuffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminPortGetInfo ( hrasserver : isize , dwlevel : u32 , hport : super::super::Foundation:: HANDLE , lplpbbuffer : *mut *mut u8 ) -> u32 ); MprAdminPortGetInfo(hrasserver, dwlevel, hport.into(), lplpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -601,7 +601,7 @@ pub unsafe fn MprAdminPortReset(hrasserver: isize, hport: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminPortReset ( hrasserver : isize , hport : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminPortReset ( hrasserver : isize , hport : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminPortReset(hrasserver, hport.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -611,7 +611,7 @@ pub unsafe fn MprAdminRegisterConnectionNotification(hmprserver: isize, heve where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminRegisterConnectionNotification ( hmprserver : isize , heventnotification : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminRegisterConnectionNotification ( hmprserver : isize , heventnotification : super::super::Foundation:: HANDLE ) -> u32 ); MprAdminRegisterConnectionNotification(hmprserver, heventnotification.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -622,7 +622,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminSendUserMessage ( hmprserver : isize , hconnection : super::super::Foundation:: HANDLE , lpwszmessage : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminSendUserMessage ( hmprserver : isize , hconnection : super::super::Foundation:: HANDLE , lpwszmessage : :: windows::core::PCWSTR ) -> u32 ); MprAdminSendUserMessage(hmprserver, hconnection.into(), lpwszmessage.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -631,51 +631,51 @@ pub unsafe fn MprAdminServerConnect(lpwsservername: P0, phmprserver: *mut is where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminServerConnect ( lpwsservername : :: windows::core::PCWSTR , phmprserver : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminServerConnect ( lpwsservername : :: windows::core::PCWSTR , phmprserver : *mut isize ) -> u32 ); MprAdminServerConnect(lpwsservername.into().abi(), phmprserver) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminServerDisconnect(hmprserver: isize) { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminServerDisconnect ( hmprserver : isize ) -> ( ) ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminServerDisconnect ( hmprserver : isize ) -> ( ) ); MprAdminServerDisconnect(hmprserver) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminServerGetCredentials(hmprserver: isize, dwlevel: u32, lplpbbuffer: *const *const u8) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminServerGetCredentials ( hmprserver : isize , dwlevel : u32 , lplpbbuffer : *const *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminServerGetCredentials ( hmprserver : isize , dwlevel : u32 , lplpbbuffer : *const *const u8 ) -> u32 ); MprAdminServerGetCredentials(hmprserver, dwlevel, lplpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminServerGetInfo(hmprserver: isize, dwlevel: u32, lplpbbuffer: *mut *mut u8) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminServerGetInfo ( hmprserver : isize , dwlevel : u32 , lplpbbuffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminServerGetInfo ( hmprserver : isize , dwlevel : u32 , lplpbbuffer : *mut *mut u8 ) -> u32 ); MprAdminServerGetInfo(hmprserver, dwlevel, lplpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn MprAdminServerGetInfoEx(hmprserver: isize, pserverinfo: *mut MPR_SERVER_EX1) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminServerGetInfoEx ( hmprserver : isize , pserverinfo : *mut MPR_SERVER_EX1 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminServerGetInfoEx ( hmprserver : isize , pserverinfo : *mut MPR_SERVER_EX1 ) -> u32 ); MprAdminServerGetInfoEx(hmprserver, pserverinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminServerSetCredentials(hmprserver: isize, dwlevel: u32, lpbbuffer: *const u8) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminServerSetCredentials ( hmprserver : isize , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminServerSetCredentials ( hmprserver : isize , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); MprAdminServerSetCredentials(hmprserver, dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminServerSetInfo(hmprserver: isize, dwlevel: u32, lpbbuffer: *const u8) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminServerSetInfo ( hmprserver : isize , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminServerSetInfo ( hmprserver : isize , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); MprAdminServerSetInfo(hmprserver, dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn MprAdminServerSetInfoEx(hmprserver: isize, pserverinfo: *const MPR_SERVER_SET_CONFIG_EX1) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminServerSetInfoEx ( hmprserver : isize , pserverinfo : *const MPR_SERVER_SET_CONFIG_EX1 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminServerSetInfoEx ( hmprserver : isize , pserverinfo : *const MPR_SERVER_SET_CONFIG_EX1 ) -> u32 ); MprAdminServerSetInfoEx(hmprserver, pserverinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -685,19 +685,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminTransportCreate ( hmprserver : isize , dwtransportid : u32 , lpwstransportname : :: windows::core::PCWSTR , pglobalinfo : *const u8 , dwglobalinfosize : u32 , pclientinterfaceinfo : *const u8 , dwclientinterfaceinfosize : u32 , lpwsdllpath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminTransportCreate ( hmprserver : isize , dwtransportid : u32 , lpwstransportname : :: windows::core::PCWSTR , pglobalinfo : *const u8 , dwglobalinfosize : u32 , pclientinterfaceinfo : *const u8 , dwclientinterfaceinfosize : u32 , lpwsdllpath : :: windows::core::PCWSTR ) -> u32 ); MprAdminTransportCreate(hmprserver, dwtransportid, lpwstransportname.into().abi(), pglobalinfo, dwglobalinfosize, ::core::mem::transmute(pclientinterfaceinfo.unwrap_or(::std::ptr::null())), dwclientinterfaceinfosize, lpwsdllpath.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminTransportGetInfo(hmprserver: isize, dwtransportid: u32, ppglobalinfo: ::core::option::Option<*mut *mut u8>, lpdwglobalinfosize: ::core::option::Option<*mut u32>, ppclientinterfaceinfo: ::core::option::Option<*mut *mut u8>, lpdwclientinterfaceinfosize: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminTransportGetInfo ( hmprserver : isize , dwtransportid : u32 , ppglobalinfo : *mut *mut u8 , lpdwglobalinfosize : *mut u32 , ppclientinterfaceinfo : *mut *mut u8 , lpdwclientinterfaceinfosize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminTransportGetInfo ( hmprserver : isize , dwtransportid : u32 , ppglobalinfo : *mut *mut u8 , lpdwglobalinfosize : *mut u32 , ppclientinterfaceinfo : *mut *mut u8 , lpdwclientinterfaceinfosize : *mut u32 ) -> u32 ); MprAdminTransportGetInfo(hmprserver, dwtransportid, ::core::mem::transmute(ppglobalinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdwglobalinfosize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppclientinterfaceinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdwclientinterfaceinfosize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprAdminTransportSetInfo(hmprserver: isize, dwtransportid: u32, pglobalinfo: ::core::option::Option<*const u8>, dwglobalinfosize: u32, pclientinterfaceinfo: ::core::option::Option<*const u8>, dwclientinterfaceinfosize: u32) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminTransportSetInfo ( hmprserver : isize , dwtransportid : u32 , pglobalinfo : *const u8 , dwglobalinfosize : u32 , pclientinterfaceinfo : *const u8 , dwclientinterfaceinfosize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminTransportSetInfo ( hmprserver : isize , dwtransportid : u32 , pglobalinfo : *const u8 , dwglobalinfosize : u32 , pclientinterfaceinfo : *const u8 , dwclientinterfaceinfosize : u32 ) -> u32 ); MprAdminTransportSetInfo(hmprserver, dwtransportid, ::core::mem::transmute(pglobalinfo.unwrap_or(::std::ptr::null())), dwglobalinfosize, ::core::mem::transmute(pclientinterfaceinfo.unwrap_or(::std::ptr::null())), dwclientinterfaceinfosize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -707,7 +707,7 @@ pub unsafe fn MprAdminUpdateConnection(hrasserver: isize, hrasconnection: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminUpdateConnection ( hrasserver : isize , hrasconnection : super::super::Foundation:: HANDLE , prasupdateconnection : *const RAS_UPDATE_CONNECTION ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminUpdateConnection ( hrasserver : isize , hrasconnection : super::super::Foundation:: HANDLE , prasupdateconnection : *const RAS_UPDATE_CONNECTION ) -> u32 ); MprAdminUpdateConnection(hrasserver, hrasconnection.into(), prasupdateconnection) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -717,7 +717,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminUserGetInfo ( lpszserver : :: windows::core::PCWSTR , lpszuser : :: windows::core::PCWSTR , dwlevel : u32 , lpbbuffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminUserGetInfo ( lpszserver : :: windows::core::PCWSTR , lpszuser : :: windows::core::PCWSTR , dwlevel : u32 , lpbbuffer : *mut u8 ) -> u32 ); MprAdminUserGetInfo(lpszserver.into().abi(), lpszuser.into().abi(), dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -727,13 +727,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprAdminUserSetInfo ( lpszserver : :: windows::core::PCWSTR , lpszuser : :: windows::core::PCWSTR , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprAdminUserSetInfo ( lpszserver : :: windows::core::PCWSTR , lpszuser : :: windows::core::PCWSTR , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); MprAdminUserSetInfo(lpszserver.into().abi(), lpszuser.into().abi(), dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprConfigBufferFree(pbuffer: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigBufferFree ( pbuffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigBufferFree ( pbuffer : *const ::core::ffi::c_void ) -> u32 ); MprConfigBufferFree(pbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -743,7 +743,7 @@ pub unsafe fn MprConfigFilterGetInfo(hmprconfig: P0, dwlevel: u32, dwtranspo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigFilterGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , dwtransportid : u32 , lpbuffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigFilterGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , dwtransportid : u32 , lpbuffer : *mut u8 ) -> u32 ); MprConfigFilterGetInfo(hmprconfig.into(), dwlevel, dwtransportid, lpbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -753,7 +753,7 @@ pub unsafe fn MprConfigFilterSetInfo(hmprconfig: P0, dwlevel: u32, dwtranspo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigFilterSetInfo ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , dwtransportid : u32 , lpbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigFilterSetInfo ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , dwtransportid : u32 , lpbuffer : *const u8 ) -> u32 ); MprConfigFilterSetInfo(hmprconfig.into(), dwlevel, dwtransportid, lpbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -764,7 +764,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigGetFriendlyName ( hmprconfig : super::super::Foundation:: HANDLE , pszguidname : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , dwbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigGetFriendlyName ( hmprconfig : super::super::Foundation:: HANDLE , pszguidname : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , dwbuffersize : u32 ) -> u32 ); MprConfigGetFriendlyName(hmprconfig.into(), pszguidname.into().abi(), ::core::mem::transmute(pszbuffer), dwbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -775,7 +775,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigGetGuidName ( hmprconfig : super::super::Foundation:: HANDLE , pszfriendlyname : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , dwbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigGetGuidName ( hmprconfig : super::super::Foundation:: HANDLE , pszfriendlyname : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , dwbuffersize : u32 ) -> u32 ); MprConfigGetGuidName(hmprconfig.into(), pszfriendlyname.into().abi(), ::core::mem::transmute(pszbuffer), dwbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -785,7 +785,7 @@ pub unsafe fn MprConfigInterfaceCreate(hmprconfig: P0, dwlevel: u32, lpbbuff where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceCreate ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , lpbbuffer : *const u8 , phrouterinterface : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceCreate ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , lpbbuffer : *const u8 , phrouterinterface : *mut super::super::Foundation:: HANDLE ) -> u32 ); MprConfigInterfaceCreate(hmprconfig.into(), dwlevel, lpbbuffer, phrouterinterface) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -796,7 +796,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceDelete ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceDelete ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE ) -> u32 ); MprConfigInterfaceDelete(hmprconfig.into(), hrouterinterface.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -806,7 +806,7 @@ pub unsafe fn MprConfigInterfaceEnum(hmprconfig: P0, dwlevel: u32, lplpbuffe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceEnum ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceEnum ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *mut u32 ) -> u32 ); MprConfigInterfaceEnum(hmprconfig.into(), dwlevel, lplpbuffer, dwprefmaxlen, lpdwentriesread, lpdwtotalentries, ::core::mem::transmute(lpdwresumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`*"] @@ -817,7 +817,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceGetCustomInfoEx ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , pcustominfo : *mut MPR_IF_CUSTOMINFOEX2 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceGetCustomInfoEx ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , pcustominfo : *mut MPR_IF_CUSTOMINFOEX2 ) -> u32 ); MprConfigInterfaceGetCustomInfoEx(hmprconfig.into(), hrouterinterface.into(), pcustominfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -828,7 +828,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceGetHandle ( hmprconfig : super::super::Foundation:: HANDLE , lpwsinterfacename : :: windows::core::PCWSTR , phrouterinterface : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceGetHandle ( hmprconfig : super::super::Foundation:: HANDLE , lpwsinterfacename : :: windows::core::PCWSTR , phrouterinterface : *mut super::super::Foundation:: HANDLE ) -> u32 ); MprConfigInterfaceGetHandle(hmprconfig.into(), lpwsinterfacename.into().abi(), phrouterinterface) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -839,7 +839,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbuffer : *mut *mut u8 , lpdwbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbuffer : *mut *mut u8 , lpdwbuffersize : *mut u32 ) -> u32 ); MprConfigInterfaceGetInfo(hmprconfig.into(), hrouterinterface.into(), dwlevel, lplpbuffer, lpdwbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`*"] @@ -850,7 +850,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceSetCustomInfoEx ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , pcustominfo : *const MPR_IF_CUSTOMINFOEX2 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceSetCustomInfoEx ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , pcustominfo : *const MPR_IF_CUSTOMINFOEX2 ) -> u32 ); MprConfigInterfaceSetCustomInfoEx(hmprconfig.into(), hrouterinterface.into(), pcustominfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -861,7 +861,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceSetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceSetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); MprConfigInterfaceSetInfo(hmprconfig.into(), hrouterinterface.into(), dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -873,7 +873,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportAdd ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , lpwstransportname : :: windows::core::PCWSTR , pinterfaceinfo : *const u8 , dwinterfaceinfosize : u32 , phrouteriftransport : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportAdd ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , lpwstransportname : :: windows::core::PCWSTR , pinterfaceinfo : *const u8 , dwinterfaceinfosize : u32 , phrouteriftransport : *mut super::super::Foundation:: HANDLE ) -> u32 ); MprConfigInterfaceTransportAdd(hmprconfig.into(), hrouterinterface.into(), dwtransportid, lpwstransportname.into().abi(), ::core::mem::transmute(pinterfaceinfo.as_ptr()), pinterfaceinfo.len() as _, phrouteriftransport) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -884,7 +884,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportEnum ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportEnum ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *mut u32 ) -> u32 ); MprConfigInterfaceTransportEnum(hmprconfig.into(), hrouterinterface.into(), dwlevel, lplpbuffer, dwprefmaxlen, lpdwentriesread, lpdwtotalentries, ::core::mem::transmute(lpdwresumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -895,7 +895,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportGetHandle ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , phrouteriftransport : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportGetHandle ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , dwtransportid : u32 , phrouteriftransport : *mut super::super::Foundation:: HANDLE ) -> u32 ); MprConfigInterfaceTransportGetHandle(hmprconfig.into(), hrouterinterface.into(), dwtransportid, phrouteriftransport) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -907,7 +907,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , hrouteriftransport : super::super::Foundation:: HANDLE , ppinterfaceinfo : *mut *mut u8 , lpdwinterfaceinfosize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , hrouteriftransport : super::super::Foundation:: HANDLE , ppinterfaceinfo : *mut *mut u8 , lpdwinterfaceinfosize : *mut u32 ) -> u32 ); MprConfigInterfaceTransportGetInfo(hmprconfig.into(), hrouterinterface.into(), hrouteriftransport.into(), ::core::mem::transmute(ppinterfaceinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdwinterfaceinfosize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -919,7 +919,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportRemove ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , hrouteriftransport : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportRemove ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , hrouteriftransport : super::super::Foundation:: HANDLE ) -> u32 ); MprConfigInterfaceTransportRemove(hmprconfig.into(), hrouterinterface.into(), hrouteriftransport.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -931,7 +931,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportSetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , hrouteriftransport : super::super::Foundation:: HANDLE , pinterfaceinfo : *const u8 , dwinterfaceinfosize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigInterfaceTransportSetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hrouterinterface : super::super::Foundation:: HANDLE , hrouteriftransport : super::super::Foundation:: HANDLE , pinterfaceinfo : *const u8 , dwinterfaceinfosize : u32 ) -> u32 ); MprConfigInterfaceTransportSetInfo(hmprconfig.into(), hrouterinterface.into(), hrouteriftransport.into(), ::core::mem::transmute(pinterfaceinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pinterfaceinfo.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -942,7 +942,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerBackup ( hmprconfig : super::super::Foundation:: HANDLE , lpwspath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerBackup ( hmprconfig : super::super::Foundation:: HANDLE , lpwspath : :: windows::core::PCWSTR ) -> u32 ); MprConfigServerBackup(hmprconfig.into(), lpwspath.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -952,7 +952,7 @@ pub unsafe fn MprConfigServerConnect(lpwsservername: P0, phmprconfig: *mut s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerConnect ( lpwsservername : :: windows::core::PCWSTR , phmprconfig : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerConnect ( lpwsservername : :: windows::core::PCWSTR , phmprconfig : *mut super::super::Foundation:: HANDLE ) -> u32 ); MprConfigServerConnect(lpwsservername.into().abi(), phmprconfig) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -962,7 +962,7 @@ pub unsafe fn MprConfigServerDisconnect(hmprconfig: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerDisconnect ( hmprconfig : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerDisconnect ( hmprconfig : super::super::Foundation:: HANDLE ) -> ( ) ); MprConfigServerDisconnect(hmprconfig.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -972,7 +972,7 @@ pub unsafe fn MprConfigServerGetInfo(hmprconfig: P0, dwlevel: u32, lplpbbuff where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbbuffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbbuffer : *mut *mut u8 ) -> u32 ); MprConfigServerGetInfo(hmprconfig.into(), dwlevel, lplpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -982,13 +982,13 @@ pub unsafe fn MprConfigServerGetInfoEx(hmprconfig: P0, pserverinfo: *mut MPR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerGetInfoEx ( hmprconfig : super::super::Foundation:: HANDLE , pserverinfo : *mut MPR_SERVER_EX1 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerGetInfoEx ( hmprconfig : super::super::Foundation:: HANDLE , pserverinfo : *mut MPR_SERVER_EX1 ) -> u32 ); MprConfigServerGetInfoEx(hmprconfig.into(), pserverinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprConfigServerInstall(dwlevel: u32, pbuffer: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerInstall ( dwlevel : u32 , pbuffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerInstall ( dwlevel : u32 , pbuffer : *const ::core::ffi::c_void ) -> u32 ); MprConfigServerInstall(dwlevel, pbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -998,7 +998,7 @@ pub unsafe fn MprConfigServerRefresh(hmprconfig: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerRefresh ( hmprconfig : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerRefresh ( hmprconfig : super::super::Foundation:: HANDLE ) -> u32 ); MprConfigServerRefresh(hmprconfig.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1009,13 +1009,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerRestore ( hmprconfig : super::super::Foundation:: HANDLE , lpwspath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerRestore ( hmprconfig : super::super::Foundation:: HANDLE , lpwspath : :: windows::core::PCWSTR ) -> u32 ); MprConfigServerRestore(hmprconfig.into(), lpwspath.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprConfigServerSetInfo(hmprserver: isize, dwlevel: u32, lpbbuffer: *const u8) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerSetInfo ( hmprserver : isize , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerSetInfo ( hmprserver : isize , dwlevel : u32 , lpbbuffer : *const u8 ) -> u32 ); MprConfigServerSetInfo(hmprserver, dwlevel, lpbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -1025,7 +1025,7 @@ pub unsafe fn MprConfigServerSetInfoEx(hmprconfig: P0, psetserverconfig: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigServerSetInfoEx ( hmprconfig : super::super::Foundation:: HANDLE , psetserverconfig : *const MPR_SERVER_SET_CONFIG_EX1 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigServerSetInfoEx ( hmprconfig : super::super::Foundation:: HANDLE , psetserverconfig : *const MPR_SERVER_SET_CONFIG_EX1 ) -> u32 ); MprConfigServerSetInfoEx(hmprconfig.into(), psetserverconfig) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1037,7 +1037,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigTransportCreate ( hmprconfig : super::super::Foundation:: HANDLE , dwtransportid : u32 , lpwstransportname : :: windows::core::PCWSTR , pglobalinfo : *const u8 , dwglobalinfosize : u32 , pclientinterfaceinfo : *const u8 , dwclientinterfaceinfosize : u32 , lpwsdllpath : :: windows::core::PCWSTR , phroutertransport : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigTransportCreate ( hmprconfig : super::super::Foundation:: HANDLE , dwtransportid : u32 , lpwstransportname : :: windows::core::PCWSTR , pglobalinfo : *const u8 , dwglobalinfosize : u32 , pclientinterfaceinfo : *const u8 , dwclientinterfaceinfosize : u32 , lpwsdllpath : :: windows::core::PCWSTR , phroutertransport : *mut super::super::Foundation:: HANDLE ) -> u32 ); MprConfigTransportCreate(hmprconfig.into(), dwtransportid, lpwstransportname.into().abi(), ::core::mem::transmute(pglobalinfo.as_ptr()), pglobalinfo.len() as _, ::core::mem::transmute(pclientinterfaceinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pclientinterfaceinfo.as_deref().map_or(0, |slice| slice.len() as _), lpwsdllpath.into().abi(), phroutertransport) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1048,7 +1048,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigTransportDelete ( hmprconfig : super::super::Foundation:: HANDLE , hroutertransport : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigTransportDelete ( hmprconfig : super::super::Foundation:: HANDLE , hroutertransport : super::super::Foundation:: HANDLE ) -> u32 ); MprConfigTransportDelete(hmprconfig.into(), hroutertransport.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1058,7 +1058,7 @@ pub unsafe fn MprConfigTransportEnum(hmprconfig: P0, dwlevel: u32, lplpbuffe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigTransportEnum ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigTransportEnum ( hmprconfig : super::super::Foundation:: HANDLE , dwlevel : u32 , lplpbuffer : *mut *mut u8 , dwprefmaxlen : u32 , lpdwentriesread : *mut u32 , lpdwtotalentries : *mut u32 , lpdwresumehandle : *mut u32 ) -> u32 ); MprConfigTransportEnum(hmprconfig.into(), dwlevel, lplpbuffer, dwprefmaxlen, lpdwentriesread, lpdwtotalentries, ::core::mem::transmute(lpdwresumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1068,7 +1068,7 @@ pub unsafe fn MprConfigTransportGetHandle(hmprconfig: P0, dwtransportid: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigTransportGetHandle ( hmprconfig : super::super::Foundation:: HANDLE , dwtransportid : u32 , phroutertransport : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigTransportGetHandle ( hmprconfig : super::super::Foundation:: HANDLE , dwtransportid : u32 , phroutertransport : *mut super::super::Foundation:: HANDLE ) -> u32 ); MprConfigTransportGetHandle(hmprconfig.into(), dwtransportid, phroutertransport) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1079,7 +1079,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigTransportGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hroutertransport : super::super::Foundation:: HANDLE , ppglobalinfo : *mut *mut u8 , lpdwglobalinfosize : *mut u32 , ppclientinterfaceinfo : *mut *mut u8 , lpdwclientinterfaceinfosize : *mut u32 , lplpwsdllpath : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigTransportGetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hroutertransport : super::super::Foundation:: HANDLE , ppglobalinfo : *mut *mut u8 , lpdwglobalinfosize : *mut u32 , ppclientinterfaceinfo : *mut *mut u8 , lpdwclientinterfaceinfosize : *mut u32 , lplpwsdllpath : *mut :: windows::core::PWSTR ) -> u32 ); MprConfigTransportGetInfo(hmprconfig.into(), hroutertransport.into(), ::core::mem::transmute(ppglobalinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdwglobalinfosize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppclientinterfaceinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdwclientinterfaceinfosize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lplpwsdllpath.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1091,61 +1091,61 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mprapi.dll""system" fn MprConfigTransportSetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hroutertransport : super::super::Foundation:: HANDLE , pglobalinfo : *const u8 , dwglobalinfosize : u32 , pclientinterfaceinfo : *const u8 , dwclientinterfaceinfosize : u32 , lpwsdllpath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprConfigTransportSetInfo ( hmprconfig : super::super::Foundation:: HANDLE , hroutertransport : super::super::Foundation:: HANDLE , pglobalinfo : *const u8 , dwglobalinfosize : u32 , pclientinterfaceinfo : *const u8 , dwclientinterfaceinfosize : u32 , lpwsdllpath : :: windows::core::PCWSTR ) -> u32 ); MprConfigTransportSetInfo(hmprconfig.into(), hroutertransport.into(), ::core::mem::transmute(pglobalinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pglobalinfo.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pclientinterfaceinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pclientinterfaceinfo.as_deref().map_or(0, |slice| slice.len() as _), lpwsdllpath.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoBlockAdd(lpheader: *const ::core::ffi::c_void, dwinfotype: u32, dwitemsize: u32, dwitemcount: u32, lpitemdata: *const u8, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoBlockAdd ( lpheader : *const ::core::ffi::c_void , dwinfotype : u32 , dwitemsize : u32 , dwitemcount : u32 , lpitemdata : *const u8 , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoBlockAdd ( lpheader : *const ::core::ffi::c_void , dwinfotype : u32 , dwitemsize : u32 , dwitemcount : u32 , lpitemdata : *const u8 , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); MprInfoBlockAdd(lpheader, dwinfotype, dwitemsize, dwitemcount, lpitemdata, lplpnewheader) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoBlockFind(lpheader: *const ::core::ffi::c_void, dwinfotype: u32, lpdwitemsize: *mut u32, lpdwitemcount: *mut u32, lplpitemdata: *mut *mut u8) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoBlockFind ( lpheader : *const ::core::ffi::c_void , dwinfotype : u32 , lpdwitemsize : *mut u32 , lpdwitemcount : *mut u32 , lplpitemdata : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoBlockFind ( lpheader : *const ::core::ffi::c_void , dwinfotype : u32 , lpdwitemsize : *mut u32 , lpdwitemcount : *mut u32 , lplpitemdata : *mut *mut u8 ) -> u32 ); MprInfoBlockFind(lpheader, dwinfotype, lpdwitemsize, lpdwitemcount, lplpitemdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoBlockQuerySize(lpheader: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoBlockQuerySize ( lpheader : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoBlockQuerySize ( lpheader : *const ::core::ffi::c_void ) -> u32 ); MprInfoBlockQuerySize(lpheader) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoBlockRemove(lpheader: *const ::core::ffi::c_void, dwinfotype: u32, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoBlockRemove ( lpheader : *const ::core::ffi::c_void , dwinfotype : u32 , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoBlockRemove ( lpheader : *const ::core::ffi::c_void , dwinfotype : u32 , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); MprInfoBlockRemove(lpheader, dwinfotype, lplpnewheader) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoBlockSet(lpheader: *const ::core::ffi::c_void, dwinfotype: u32, dwitemsize: u32, dwitemcount: u32, lpitemdata: *const u8, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoBlockSet ( lpheader : *const ::core::ffi::c_void , dwinfotype : u32 , dwitemsize : u32 , dwitemcount : u32 , lpitemdata : *const u8 , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoBlockSet ( lpheader : *const ::core::ffi::c_void , dwinfotype : u32 , dwitemsize : u32 , dwitemcount : u32 , lpitemdata : *const u8 , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); MprInfoBlockSet(lpheader, dwinfotype, dwitemsize, dwitemcount, lpitemdata, lplpnewheader) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoCreate(dwversion: u32, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoCreate ( dwversion : u32 , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoCreate ( dwversion : u32 , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); MprInfoCreate(dwversion, lplpnewheader) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoDelete(lpheader: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoDelete ( lpheader : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoDelete ( lpheader : *const ::core::ffi::c_void ) -> u32 ); MprInfoDelete(lpheader) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoDuplicate(lpheader: *const ::core::ffi::c_void, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoDuplicate ( lpheader : *const ::core::ffi::c_void , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoDuplicate ( lpheader : *const ::core::ffi::c_void , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); MprInfoDuplicate(lpheader, lplpnewheader) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn MprInfoRemoveAll(lpheader: *const ::core::ffi::c_void, lplpnewheader: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mprapi.dll""system" fn MprInfoRemoveAll ( lpheader : *const ::core::ffi::c_void , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mprapi.dll""system" fn MprInfoRemoveAll ( lpheader : *const ::core::ffi::c_void , lplpnewheader : *mut *mut ::core::ffi::c_void ) -> u32 ); MprInfoRemoveAll(lpheader, lplpnewheader) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1154,7 +1154,7 @@ pub unsafe fn RasClearConnectionStatistics(hrasconn: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasClearConnectionStatistics ( hrasconn : HRASCONN ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasClearConnectionStatistics ( hrasconn : HRASCONN ) -> u32 ); RasClearConnectionStatistics(hrasconn.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1163,7 +1163,7 @@ pub unsafe fn RasClearLinkStatistics(hrasconn: P0, dwsubentry: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasClearLinkStatistics ( hrasconn : HRASCONN , dwsubentry : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasClearLinkStatistics ( hrasconn : HRASCONN , dwsubentry : u32 ) -> u32 ); RasClearLinkStatistics(hrasconn.into(), dwsubentry) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1174,7 +1174,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasConnectionNotificationA ( param0 : HRASCONN , param1 : super::super::Foundation:: HANDLE , param2 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasConnectionNotificationA ( param0 : HRASCONN , param1 : super::super::Foundation:: HANDLE , param2 : u32 ) -> u32 ); RasConnectionNotificationA(param0.into(), param1.into(), param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1185,7 +1185,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasConnectionNotificationW ( param0 : HRASCONN , param1 : super::super::Foundation:: HANDLE , param2 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasConnectionNotificationW ( param0 : HRASCONN , param1 : super::super::Foundation:: HANDLE , param2 : u32 ) -> u32 ); RasConnectionNotificationW(param0.into(), param1.into(), param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1196,7 +1196,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasCreatePhonebookEntryA ( param0 : super::super::Foundation:: HWND , param1 : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasCreatePhonebookEntryA ( param0 : super::super::Foundation:: HWND , param1 : :: windows::core::PCSTR ) -> u32 ); RasCreatePhonebookEntryA(param0.into(), param1.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1207,7 +1207,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasCreatePhonebookEntryW ( param0 : super::super::Foundation:: HWND , param1 : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasCreatePhonebookEntryW ( param0 : super::super::Foundation:: HWND , param1 : :: windows::core::PCWSTR ) -> u32 ); RasCreatePhonebookEntryW(param0.into(), param1.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1217,7 +1217,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasDeleteEntryA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasDeleteEntryA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR ) -> u32 ); RasDeleteEntryA(param0.into().abi(), param1.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1227,7 +1227,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasDeleteEntryW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasDeleteEntryW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR ) -> u32 ); RasDeleteEntryW(param0.into().abi(), param1.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1237,7 +1237,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasDeleteSubEntryA ( pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , dwsubentryid : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasDeleteSubEntryA ( pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , dwsubentryid : u32 ) -> u32 ); RasDeleteSubEntryA(pszphonebook.into().abi(), pszentry.into().abi(), dwsubentryid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1247,7 +1247,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasDeleteSubEntryW ( pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , dwsubentryid : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasDeleteSubEntryW ( pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , dwsubentryid : u32 ) -> u32 ); RasDeleteSubEntryW(pszphonebook.into().abi(), pszentry.into().abi(), dwsubentryid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1257,7 +1257,7 @@ pub unsafe fn RasDialA(param0: ::core::option::Option<*const RASDIALEXTENSIO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasDialA ( param0 : *const RASDIALEXTENSIONS , param1 : :: windows::core::PCSTR , param2 : *const RASDIALPARAMSA , param3 : u32 , param4 : *const ::core::ffi::c_void , param5 : *mut HRASCONN ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasDialA ( param0 : *const RASDIALEXTENSIONS , param1 : :: windows::core::PCSTR , param2 : *const RASDIALPARAMSA , param3 : u32 , param4 : *const ::core::ffi::c_void , param5 : *mut HRASCONN ) -> u32 ); RasDialA(::core::mem::transmute(param0.unwrap_or(::std::ptr::null())), param1.into().abi(), param2, param3, ::core::mem::transmute(param4.unwrap_or(::std::ptr::null())), param5) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1269,7 +1269,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasdlg.dll""system" fn RasDialDlgA ( lpszphonebook : :: windows::core::PCSTR , lpszentry : :: windows::core::PCSTR , lpszphonenumber : :: windows::core::PCSTR , lpinfo : *mut RASDIALDLG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "rasdlg.dll""system" fn RasDialDlgA ( lpszphonebook : :: windows::core::PCSTR , lpszentry : :: windows::core::PCSTR , lpszphonenumber : :: windows::core::PCSTR , lpinfo : *mut RASDIALDLG ) -> super::super::Foundation:: BOOL ); RasDialDlgA(lpszphonebook.into().abi(), lpszentry.into().abi(), lpszphonenumber.into().abi(), lpinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1281,7 +1281,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasdlg.dll""system" fn RasDialDlgW ( lpszphonebook : :: windows::core::PCWSTR , lpszentry : :: windows::core::PCWSTR , lpszphonenumber : :: windows::core::PCWSTR , lpinfo : *mut RASDIALDLG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "rasdlg.dll""system" fn RasDialDlgW ( lpszphonebook : :: windows::core::PCWSTR , lpszentry : :: windows::core::PCWSTR , lpszphonenumber : :: windows::core::PCWSTR , lpinfo : *mut RASDIALDLG ) -> super::super::Foundation:: BOOL ); RasDialDlgW(lpszphonebook.into().abi(), lpszentry.into().abi(), lpszphonenumber.into().abi(), lpinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1291,7 +1291,7 @@ pub unsafe fn RasDialW(param0: ::core::option::Option<*const RASDIALEXTENSIO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasDialW ( param0 : *const RASDIALEXTENSIONS , param1 : :: windows::core::PCWSTR , param2 : *const RASDIALPARAMSW , param3 : u32 , param4 : *const ::core::ffi::c_void , param5 : *mut HRASCONN ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasDialW ( param0 : *const RASDIALEXTENSIONS , param1 : :: windows::core::PCWSTR , param2 : *const RASDIALPARAMSW , param3 : u32 , param4 : *const ::core::ffi::c_void , param5 : *mut HRASCONN ) -> u32 ); RasDialW(::core::mem::transmute(param0.unwrap_or(::std::ptr::null())), param1.into().abi(), param2, param3, ::core::mem::transmute(param4.unwrap_or(::std::ptr::null())), param5) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1303,7 +1303,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEditPhonebookEntryA ( param0 : super::super::Foundation:: HWND , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEditPhonebookEntryA ( param0 : super::super::Foundation:: HWND , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PCSTR ) -> u32 ); RasEditPhonebookEntryA(param0.into(), param1.into().abi(), param2.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1315,7 +1315,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEditPhonebookEntryW ( param0 : super::super::Foundation:: HWND , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEditPhonebookEntryW ( param0 : super::super::Foundation:: HWND , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PCWSTR ) -> u32 ); RasEditPhonebookEntryW(param0.into(), param1.into().abi(), param2.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1326,7 +1326,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasdlg.dll""system" fn RasEntryDlgA ( lpszphonebook : :: windows::core::PCSTR , lpszentry : :: windows::core::PCSTR , lpinfo : *mut RASENTRYDLGA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "rasdlg.dll""system" fn RasEntryDlgA ( lpszphonebook : :: windows::core::PCSTR , lpszentry : :: windows::core::PCSTR , lpinfo : *mut RASENTRYDLGA ) -> super::super::Foundation:: BOOL ); RasEntryDlgA(lpszphonebook.into().abi(), lpszentry.into().abi(), lpinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1337,46 +1337,46 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasdlg.dll""system" fn RasEntryDlgW ( lpszphonebook : :: windows::core::PCWSTR , lpszentry : :: windows::core::PCWSTR , lpinfo : *mut RASENTRYDLGW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "rasdlg.dll""system" fn RasEntryDlgW ( lpszphonebook : :: windows::core::PCWSTR , lpszentry : :: windows::core::PCWSTR , lpinfo : *mut RASENTRYDLGW ) -> super::super::Foundation:: BOOL ); RasEntryDlgW(lpszphonebook.into().abi(), lpszentry.into().abi(), lpinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasEnumAutodialAddressesA(lpprasautodialaddresses: ::core::option::Option<*mut ::windows::core::PSTR>, lpdwcbrasautodialaddresses: *mut u32, lpdwcrasautodialaddresses: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEnumAutodialAddressesA ( lpprasautodialaddresses : *mut :: windows::core::PSTR , lpdwcbrasautodialaddresses : *mut u32 , lpdwcrasautodialaddresses : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEnumAutodialAddressesA ( lpprasautodialaddresses : *mut :: windows::core::PSTR , lpdwcbrasautodialaddresses : *mut u32 , lpdwcrasautodialaddresses : *mut u32 ) -> u32 ); RasEnumAutodialAddressesA(::core::mem::transmute(lpprasautodialaddresses.unwrap_or(::std::ptr::null_mut())), lpdwcbrasautodialaddresses, lpdwcrasautodialaddresses) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasEnumAutodialAddressesW(lpprasautodialaddresses: ::core::option::Option<*mut ::windows::core::PWSTR>, lpdwcbrasautodialaddresses: *mut u32, lpdwcrasautodialaddresses: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEnumAutodialAddressesW ( lpprasautodialaddresses : *mut :: windows::core::PWSTR , lpdwcbrasautodialaddresses : *mut u32 , lpdwcrasautodialaddresses : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEnumAutodialAddressesW ( lpprasautodialaddresses : *mut :: windows::core::PWSTR , lpdwcbrasautodialaddresses : *mut u32 , lpdwcrasautodialaddresses : *mut u32 ) -> u32 ); RasEnumAutodialAddressesW(::core::mem::transmute(lpprasautodialaddresses.unwrap_or(::std::ptr::null_mut())), lpdwcbrasautodialaddresses, lpdwcrasautodialaddresses) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RasEnumConnectionsA(param0: ::core::option::Option<*mut RASCONNA>, param1: *mut u32, param2: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEnumConnectionsA ( param0 : *mut RASCONNA , param1 : *mut u32 , param2 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEnumConnectionsA ( param0 : *mut RASCONNA , param1 : *mut u32 , param2 : *mut u32 ) -> u32 ); RasEnumConnectionsA(::core::mem::transmute(param0.unwrap_or(::std::ptr::null_mut())), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RasEnumConnectionsW(param0: ::core::option::Option<*mut RASCONNW>, param1: *mut u32, param2: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEnumConnectionsW ( param0 : *mut RASCONNW , param1 : *mut u32 , param2 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEnumConnectionsW ( param0 : *mut RASCONNW , param1 : *mut u32 , param2 : *mut u32 ) -> u32 ); RasEnumConnectionsW(::core::mem::transmute(param0.unwrap_or(::std::ptr::null_mut())), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RasEnumDevicesA(param0: ::core::option::Option<*mut RASDEVINFOA>, param1: *mut u32, param2: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEnumDevicesA ( param0 : *mut RASDEVINFOA , param1 : *mut u32 , param2 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEnumDevicesA ( param0 : *mut RASDEVINFOA , param1 : *mut u32 , param2 : *mut u32 ) -> u32 ); RasEnumDevicesA(::core::mem::transmute(param0.unwrap_or(::std::ptr::null_mut())), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasEnumDevicesW(param0: ::core::option::Option<*mut RASDEVINFOW>, param1: *mut u32, param2: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEnumDevicesW ( param0 : *mut RASDEVINFOW , param1 : *mut u32 , param2 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEnumDevicesW ( param0 : *mut RASDEVINFOW , param1 : *mut u32 , param2 : *mut u32 ) -> u32 ); RasEnumDevicesW(::core::mem::transmute(param0.unwrap_or(::std::ptr::null_mut())), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1387,7 +1387,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEnumEntriesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *mut RASENTRYNAMEA , param3 : *mut u32 , param4 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEnumEntriesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *mut RASENTRYNAMEA , param3 : *mut u32 , param4 : *mut u32 ) -> u32 ); RasEnumEntriesA(param0.into().abi(), param1.into().abi(), ::core::mem::transmute(param2.unwrap_or(::std::ptr::null_mut())), param3, param4) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1397,20 +1397,20 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasEnumEntriesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *mut RASENTRYNAMEW , param3 : *mut u32 , param4 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasEnumEntriesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *mut RASENTRYNAMEW , param3 : *mut u32 , param4 : *mut u32 ) -> u32 ); RasEnumEntriesW(param0.into().abi(), param1.into().abi(), ::core::mem::transmute(param2.unwrap_or(::std::ptr::null_mut())), param3, param4) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RasFreeEapUserIdentityA(praseapuseridentity: *const RASEAPUSERIDENTITYA) { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasFreeEapUserIdentityA ( praseapuseridentity : *const RASEAPUSERIDENTITYA ) -> ( ) ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasFreeEapUserIdentityA ( praseapuseridentity : *const RASEAPUSERIDENTITYA ) -> ( ) ); RasFreeEapUserIdentityA(praseapuseridentity) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasFreeEapUserIdentityW(praseapuseridentity: *const RASEAPUSERIDENTITYW) { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasFreeEapUserIdentityW ( praseapuseridentity : *const RASEAPUSERIDENTITYW ) -> ( ) ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasFreeEapUserIdentityW ( praseapuseridentity : *const RASEAPUSERIDENTITYW ) -> ( ) ); RasFreeEapUserIdentityW(praseapuseridentity) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1420,7 +1420,7 @@ pub unsafe fn RasGetAutodialAddressA(param0: P0, param1: ::core::option::Opt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetAutodialAddressA ( param0 : :: windows::core::PCSTR , param1 : *const u32 , param2 : *mut RASAUTODIALENTRYA , param3 : *mut u32 , param4 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetAutodialAddressA ( param0 : :: windows::core::PCSTR , param1 : *const u32 , param2 : *mut RASAUTODIALENTRYA , param3 : *mut u32 , param4 : *mut u32 ) -> u32 ); RasGetAutodialAddressA(param0.into().abi(), ::core::mem::transmute(param1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(param2.unwrap_or(::std::ptr::null_mut())), param3, param4) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1429,31 +1429,31 @@ pub unsafe fn RasGetAutodialAddressW(param0: P0, param1: ::core::option::Opt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetAutodialAddressW ( param0 : :: windows::core::PCWSTR , param1 : *const u32 , param2 : *mut RASAUTODIALENTRYW , param3 : *mut u32 , param4 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetAutodialAddressW ( param0 : :: windows::core::PCWSTR , param1 : *const u32 , param2 : *mut RASAUTODIALENTRYW , param3 : *mut u32 , param4 : *mut u32 ) -> u32 ); RasGetAutodialAddressW(param0.into().abi(), ::core::mem::transmute(param1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(param2.unwrap_or(::std::ptr::null_mut())), param3, param4) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetAutodialEnableA(param0: u32, param1: *mut i32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetAutodialEnableA ( param0 : u32 , param1 : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetAutodialEnableA ( param0 : u32 , param1 : *mut i32 ) -> u32 ); RasGetAutodialEnableA(param0, param1) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetAutodialEnableW(param0: u32, param1: *mut i32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetAutodialEnableW ( param0 : u32 , param1 : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetAutodialEnableW ( param0 : u32 , param1 : *mut i32 ) -> u32 ); RasGetAutodialEnableW(param0, param1) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetAutodialParamA(param0: u32, param1: *mut ::core::ffi::c_void, param2: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetAutodialParamA ( param0 : u32 , param1 : *mut ::core::ffi::c_void , param2 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetAutodialParamA ( param0 : u32 , param1 : *mut ::core::ffi::c_void , param2 : *mut u32 ) -> u32 ); RasGetAutodialParamA(param0, param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetAutodialParamW(param0: u32, param1: *mut ::core::ffi::c_void, param2: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetAutodialParamW ( param0 : u32 , param1 : *mut ::core::ffi::c_void , param2 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetAutodialParamW ( param0 : u32 , param1 : *mut ::core::ffi::c_void , param2 : *mut u32 ) -> u32 ); RasGetAutodialParamW(param0, param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1463,7 +1463,7 @@ pub unsafe fn RasGetConnectStatusA(param0: P0, param1: *mut RASCONNSTATUSA) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetConnectStatusA ( param0 : HRASCONN , param1 : *mut RASCONNSTATUSA ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetConnectStatusA ( param0 : HRASCONN , param1 : *mut RASCONNSTATUSA ) -> u32 ); RasGetConnectStatusA(param0.into(), param1) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1473,7 +1473,7 @@ pub unsafe fn RasGetConnectStatusW(param0: P0, param1: *mut RASCONNSTATUSW) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetConnectStatusW ( param0 : HRASCONN , param1 : *mut RASCONNSTATUSW ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetConnectStatusW ( param0 : HRASCONN , param1 : *mut RASCONNSTATUSW ) -> u32 ); RasGetConnectStatusW(param0.into(), param1) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1482,19 +1482,19 @@ pub unsafe fn RasGetConnectionStatistics(hrasconn: P0, lpstatistics: *mut RA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetConnectionStatistics ( hrasconn : HRASCONN , lpstatistics : *mut RAS_STATS ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetConnectionStatistics ( hrasconn : HRASCONN , lpstatistics : *mut RAS_STATS ) -> u32 ); RasGetConnectionStatistics(hrasconn.into(), lpstatistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetCountryInfoA(param0: ::core::option::Option<*mut RASCTRYINFO>, param1: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetCountryInfoA ( param0 : *mut RASCTRYINFO , param1 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetCountryInfoA ( param0 : *mut RASCTRYINFO , param1 : *mut u32 ) -> u32 ); RasGetCountryInfoA(::core::mem::transmute(param0.unwrap_or(::std::ptr::null_mut())), param1) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetCountryInfoW(param0: ::core::option::Option<*mut RASCTRYINFO>, param1: *mut u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetCountryInfoW ( param0 : *mut RASCTRYINFO , param1 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetCountryInfoW ( param0 : *mut RASCTRYINFO , param1 : *mut u32 ) -> u32 ); RasGetCountryInfoW(::core::mem::transmute(param0.unwrap_or(::std::ptr::null_mut())), param1) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1505,7 +1505,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetCredentialsA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *mut RASCREDENTIALSA ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetCredentialsA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *mut RASCREDENTIALSA ) -> u32 ); RasGetCredentialsA(param0.into().abi(), param1.into().abi(), param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1515,7 +1515,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetCredentialsW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *mut RASCREDENTIALSW ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetCredentialsW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *mut RASCREDENTIALSW ) -> u32 ); RasGetCredentialsW(param0.into().abi(), param1.into().abi(), param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1525,7 +1525,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetCustomAuthDataA ( pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , pbcustomauthdata : *mut u8 , pdwsizeofcustomauthdata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetCustomAuthDataA ( pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , pbcustomauthdata : *mut u8 , pdwsizeofcustomauthdata : *mut u32 ) -> u32 ); RasGetCustomAuthDataA(pszphonebook.into().abi(), pszentry.into().abi(), ::core::mem::transmute(pbcustomauthdata.unwrap_or(::std::ptr::null_mut())), pdwsizeofcustomauthdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1535,7 +1535,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetCustomAuthDataW ( pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , pbcustomauthdata : *mut u8 , pdwsizeofcustomauthdata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetCustomAuthDataW ( pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , pbcustomauthdata : *mut u8 , pdwsizeofcustomauthdata : *mut u32 ) -> u32 ); RasGetCustomAuthDataW(pszphonebook.into().abi(), pszentry.into().abi(), ::core::mem::transmute(pbcustomauthdata.unwrap_or(::std::ptr::null_mut())), pdwsizeofcustomauthdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1547,7 +1547,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetEapUserDataA ( htoken : super::super::Foundation:: HANDLE , pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , pbeapdata : *mut u8 , pdwsizeofeapdata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetEapUserDataA ( htoken : super::super::Foundation:: HANDLE , pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , pbeapdata : *mut u8 , pdwsizeofeapdata : *mut u32 ) -> u32 ); RasGetEapUserDataA(htoken.into(), pszphonebook.into().abi(), pszentry.into().abi(), ::core::mem::transmute(pbeapdata.unwrap_or(::std::ptr::null_mut())), pdwsizeofeapdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1559,7 +1559,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetEapUserDataW ( htoken : super::super::Foundation:: HANDLE , pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , pbeapdata : *mut u8 , pdwsizeofeapdata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetEapUserDataW ( htoken : super::super::Foundation:: HANDLE , pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , pbeapdata : *mut u8 , pdwsizeofeapdata : *mut u32 ) -> u32 ); RasGetEapUserDataW(htoken.into(), pszphonebook.into().abi(), pszentry.into().abi(), ::core::mem::transmute(pbeapdata.unwrap_or(::std::ptr::null_mut())), pdwsizeofeapdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1571,7 +1571,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetEapUserIdentityA ( pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , dwflags : u32 , hwnd : super::super::Foundation:: HWND , ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYA ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetEapUserIdentityA ( pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , dwflags : u32 , hwnd : super::super::Foundation:: HWND , ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYA ) -> u32 ); RasGetEapUserIdentityA(pszphonebook.into().abi(), pszentry.into().abi(), dwflags, hwnd.into(), ppraseapuseridentity) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1583,7 +1583,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetEapUserIdentityW ( pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , dwflags : u32 , hwnd : super::super::Foundation:: HWND , ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYW ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetEapUserIdentityW ( pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , dwflags : u32 , hwnd : super::super::Foundation:: HWND , ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYW ) -> u32 ); RasGetEapUserIdentityW(pszphonebook.into().abi(), pszentry.into().abi(), dwflags, hwnd.into(), ppraseapuseridentity) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1593,7 +1593,7 @@ pub unsafe fn RasGetEntryDialParamsA(param0: P0, param1: *mut RASDIALPARAMSA where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetEntryDialParamsA ( param0 : :: windows::core::PCSTR , param1 : *mut RASDIALPARAMSA , param2 : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetEntryDialParamsA ( param0 : :: windows::core::PCSTR , param1 : *mut RASDIALPARAMSA , param2 : *mut i32 ) -> u32 ); RasGetEntryDialParamsA(param0.into().abi(), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1602,7 +1602,7 @@ pub unsafe fn RasGetEntryDialParamsW(param0: P0, param1: *mut RASDIALPARAMSW where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetEntryDialParamsW ( param0 : :: windows::core::PCWSTR , param1 : *mut RASDIALPARAMSW , param2 : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetEntryDialParamsW ( param0 : :: windows::core::PCWSTR , param1 : *mut RASDIALPARAMSW , param2 : *mut i32 ) -> u32 ); RasGetEntryDialParamsW(param0.into().abi(), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1613,7 +1613,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetEntryPropertiesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *mut RASENTRYA , param3 : *mut u32 , param4 : *mut u8 , param5 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetEntryPropertiesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *mut RASENTRYA , param3 : *mut u32 , param4 : *mut u8 , param5 : *mut u32 ) -> u32 ); RasGetEntryPropertiesA(param0.into().abi(), param1.into().abi(), ::core::mem::transmute(param2.unwrap_or(::std::ptr::null_mut())), param3, ::core::mem::transmute(param4.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(param5.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1624,19 +1624,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetEntryPropertiesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *mut RASENTRYW , param3 : *mut u32 , param4 : *mut u8 , param5 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetEntryPropertiesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *mut RASENTRYW , param3 : *mut u32 , param4 : *mut u8 , param5 : *mut u32 ) -> u32 ); RasGetEntryPropertiesW(param0.into().abi(), param1.into().abi(), ::core::mem::transmute(param2.unwrap_or(::std::ptr::null_mut())), param3, ::core::mem::transmute(param4.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(param5.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetErrorStringA(resourceid: u32, lpszstring: &mut [u8]) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetErrorStringA ( resourceid : u32 , lpszstring : :: windows::core::PSTR , inbufsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetErrorStringA ( resourceid : u32 , lpszstring : :: windows::core::PSTR , inbufsize : u32 ) -> u32 ); RasGetErrorStringA(resourceid, ::core::mem::transmute(lpszstring.as_ptr()), lpszstring.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetErrorStringW(resourceid: u32, lpszstring: &mut [u16]) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetErrorStringW ( resourceid : u32 , lpszstring : :: windows::core::PWSTR , inbufsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetErrorStringW ( resourceid : u32 , lpszstring : :: windows::core::PWSTR , inbufsize : u32 ) -> u32 ); RasGetErrorStringW(resourceid, ::core::mem::transmute(lpszstring.as_ptr()), lpszstring.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1645,13 +1645,13 @@ pub unsafe fn RasGetLinkStatistics(hrasconn: P0, dwsubentry: u32, lpstatisti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetLinkStatistics ( hrasconn : HRASCONN , dwsubentry : u32 , lpstatistics : *mut RAS_STATS ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetLinkStatistics ( hrasconn : HRASCONN , dwsubentry : u32 , lpstatistics : *mut RAS_STATS ) -> u32 ); RasGetLinkStatistics(hrasconn.into(), dwsubentry, lpstatistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasGetPCscf(lpszpcscf: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetPCscf ( lpszpcscf : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetPCscf ( lpszpcscf : :: windows::core::PWSTR ) -> u32 ); RasGetPCscf(::core::mem::transmute(lpszpcscf)) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1660,7 +1660,7 @@ pub unsafe fn RasGetProjectionInfoA(param0: P0, param1: RASPROJECTION, param where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetProjectionInfoA ( param0 : HRASCONN , param1 : RASPROJECTION , param2 : *mut ::core::ffi::c_void , param3 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetProjectionInfoA ( param0 : HRASCONN , param1 : RASPROJECTION , param2 : *mut ::core::ffi::c_void , param3 : *mut u32 ) -> u32 ); RasGetProjectionInfoA(param0.into(), param1, param2, param3) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1670,7 +1670,7 @@ pub unsafe fn RasGetProjectionInfoEx(hrasconn: P0, prasprojection: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetProjectionInfoEx ( hrasconn : HRASCONN , prasprojection : *mut RAS_PROJECTION_INFO , lpdwsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetProjectionInfoEx ( hrasconn : HRASCONN , prasprojection : *mut RAS_PROJECTION_INFO , lpdwsize : *mut u32 ) -> u32 ); RasGetProjectionInfoEx(hrasconn.into(), ::core::mem::transmute(prasprojection.unwrap_or(::std::ptr::null_mut())), lpdwsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1679,7 +1679,7 @@ pub unsafe fn RasGetProjectionInfoW(param0: P0, param1: RASPROJECTION, param where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetProjectionInfoW ( param0 : HRASCONN , param1 : RASPROJECTION , param2 : *mut ::core::ffi::c_void , param3 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetProjectionInfoW ( param0 : HRASCONN , param1 : RASPROJECTION , param2 : *mut ::core::ffi::c_void , param3 : *mut u32 ) -> u32 ); RasGetProjectionInfoW(param0.into(), param1, param2, param3) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1688,7 +1688,7 @@ pub unsafe fn RasGetSubEntryHandleA(param0: P0, param1: u32, param2: *mut HR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetSubEntryHandleA ( param0 : HRASCONN , param1 : u32 , param2 : *mut HRASCONN ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetSubEntryHandleA ( param0 : HRASCONN , param1 : u32 , param2 : *mut HRASCONN ) -> u32 ); RasGetSubEntryHandleA(param0.into(), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1697,7 +1697,7 @@ pub unsafe fn RasGetSubEntryHandleW(param0: P0, param1: u32, param2: *mut HR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetSubEntryHandleW ( param0 : HRASCONN , param1 : u32 , param2 : *mut HRASCONN ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetSubEntryHandleW ( param0 : HRASCONN , param1 : u32 , param2 : *mut HRASCONN ) -> u32 ); RasGetSubEntryHandleW(param0.into(), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1708,7 +1708,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetSubEntryPropertiesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : u32 , param3 : *mut RASSUBENTRYA , param4 : *mut u32 , param5 : *mut u8 , param6 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetSubEntryPropertiesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : u32 , param3 : *mut RASSUBENTRYA , param4 : *mut u32 , param5 : *mut u8 , param6 : *mut u32 ) -> u32 ); RasGetSubEntryPropertiesA(param0.into().abi(), param1.into().abi(), param2, ::core::mem::transmute(param3.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(param4.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(param5.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(param6.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1718,7 +1718,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasGetSubEntryPropertiesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : u32 , param3 : *mut RASSUBENTRYW , param4 : *mut u32 , param5 : *mut u8 , param6 : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasGetSubEntryPropertiesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : u32 , param3 : *mut RASSUBENTRYW , param4 : *mut u32 , param5 : *mut u8 , param6 : *mut u32 ) -> u32 ); RasGetSubEntryPropertiesW(param0.into().abi(), param1.into().abi(), param2, ::core::mem::transmute(param3.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(param4.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(param5.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(param6.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1727,7 +1727,7 @@ pub unsafe fn RasHangUpA(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasHangUpA ( param0 : HRASCONN ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasHangUpA ( param0 : HRASCONN ) -> u32 ); RasHangUpA(param0.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1736,7 +1736,7 @@ pub unsafe fn RasHangUpW(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasHangUpW ( param0 : HRASCONN ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasHangUpW ( param0 : HRASCONN ) -> u32 ); RasHangUpW(param0.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1747,7 +1747,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasInvokeEapUI ( param0 : HRASCONN , param1 : u32 , param2 : *const RASDIALEXTENSIONS , param3 : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasInvokeEapUI ( param0 : HRASCONN , param1 : u32 , param2 : *const RASDIALEXTENSIONS , param3 : super::super::Foundation:: HWND ) -> u32 ); RasInvokeEapUI(param0.into(), param1, param2, param3.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1758,7 +1758,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasdlg.dll""system" fn RasPhonebookDlgA ( lpszphonebook : :: windows::core::PCSTR , lpszentry : :: windows::core::PCSTR , lpinfo : *mut RASPBDLGA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "rasdlg.dll""system" fn RasPhonebookDlgA ( lpszphonebook : :: windows::core::PCSTR , lpszentry : :: windows::core::PCSTR , lpinfo : *mut RASPBDLGA ) -> super::super::Foundation:: BOOL ); RasPhonebookDlgA(lpszphonebook.into().abi(), lpszentry.into().abi(), lpinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1769,7 +1769,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasdlg.dll""system" fn RasPhonebookDlgW ( lpszphonebook : :: windows::core::PCWSTR , lpszentry : :: windows::core::PCWSTR , lpinfo : *mut RASPBDLGW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "rasdlg.dll""system" fn RasPhonebookDlgW ( lpszphonebook : :: windows::core::PCWSTR , lpszentry : :: windows::core::PCWSTR , lpinfo : *mut RASPBDLGW ) -> super::super::Foundation:: BOOL ); RasPhonebookDlgW(lpszphonebook.into().abi(), lpszentry.into().abi(), lpinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1780,7 +1780,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasRenameEntryA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasRenameEntryA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PCSTR ) -> u32 ); RasRenameEntryA(param0.into().abi(), param1.into().abi(), param2.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1791,7 +1791,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasRenameEntryW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasRenameEntryW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PCWSTR ) -> u32 ); RasRenameEntryW(param0.into().abi(), param1.into().abi(), param2.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1801,7 +1801,7 @@ pub unsafe fn RasSetAutodialAddressA(param0: P0, param1: u32, param2: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetAutodialAddressA ( param0 : :: windows::core::PCSTR , param1 : u32 , param2 : *const RASAUTODIALENTRYA , param3 : u32 , param4 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetAutodialAddressA ( param0 : :: windows::core::PCSTR , param1 : u32 , param2 : *const RASAUTODIALENTRYA , param3 : u32 , param4 : u32 ) -> u32 ); RasSetAutodialAddressA(param0.into().abi(), param1, ::core::mem::transmute(param2.unwrap_or(::std::ptr::null())), param3, param4) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1810,7 +1810,7 @@ pub unsafe fn RasSetAutodialAddressW(param0: P0, param1: u32, param2: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetAutodialAddressW ( param0 : :: windows::core::PCWSTR , param1 : u32 , param2 : *const RASAUTODIALENTRYW , param3 : u32 , param4 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetAutodialAddressW ( param0 : :: windows::core::PCWSTR , param1 : u32 , param2 : *const RASAUTODIALENTRYW , param3 : u32 , param4 : u32 ) -> u32 ); RasSetAutodialAddressW(param0.into().abi(), param1, ::core::mem::transmute(param2.unwrap_or(::std::ptr::null())), param3, param4) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1820,7 +1820,7 @@ pub unsafe fn RasSetAutodialEnableA(param0: u32, param1: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetAutodialEnableA ( param0 : u32 , param1 : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetAutodialEnableA ( param0 : u32 , param1 : super::super::Foundation:: BOOL ) -> u32 ); RasSetAutodialEnableA(param0, param1.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1830,19 +1830,19 @@ pub unsafe fn RasSetAutodialEnableW(param0: u32, param1: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetAutodialEnableW ( param0 : u32 , param1 : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetAutodialEnableW ( param0 : u32 , param1 : super::super::Foundation:: BOOL ) -> u32 ); RasSetAutodialEnableW(param0, param1.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasSetAutodialParamA(param0: u32, param1: *const ::core::ffi::c_void, param2: u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetAutodialParamA ( param0 : u32 , param1 : *const ::core::ffi::c_void , param2 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetAutodialParamA ( param0 : u32 , param1 : *const ::core::ffi::c_void , param2 : u32 ) -> u32 ); RasSetAutodialParamA(param0, param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RasSetAutodialParamW(param0: u32, param1: *const ::core::ffi::c_void, param2: u32) -> u32 { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetAutodialParamW ( param0 : u32 , param1 : *const ::core::ffi::c_void , param2 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetAutodialParamW ( param0 : u32 , param1 : *const ::core::ffi::c_void , param2 : u32 ) -> u32 ); RasSetAutodialParamW(param0, param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1854,7 +1854,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetCredentialsA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *const RASCREDENTIALSA , param3 : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetCredentialsA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *const RASCREDENTIALSA , param3 : super::super::Foundation:: BOOL ) -> u32 ); RasSetCredentialsA(param0.into().abi(), param1.into().abi(), param2, param3.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1866,7 +1866,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetCredentialsW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *const RASCREDENTIALSW , param3 : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetCredentialsW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *const RASCREDENTIALSW , param3 : super::super::Foundation:: BOOL ) -> u32 ); RasSetCredentialsW(param0.into().abi(), param1.into().abi(), param2, param3.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1876,7 +1876,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetCustomAuthDataA ( pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , pbcustomauthdata : *const u8 , dwsizeofcustomauthdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetCustomAuthDataA ( pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , pbcustomauthdata : *const u8 , dwsizeofcustomauthdata : u32 ) -> u32 ); RasSetCustomAuthDataA(pszphonebook.into().abi(), pszentry.into().abi(), ::core::mem::transmute(pbcustomauthdata.as_ptr()), pbcustomauthdata.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1886,7 +1886,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetCustomAuthDataW ( pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , pbcustomauthdata : *const u8 , dwsizeofcustomauthdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetCustomAuthDataW ( pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , pbcustomauthdata : *const u8 , dwsizeofcustomauthdata : u32 ) -> u32 ); RasSetCustomAuthDataW(pszphonebook.into().abi(), pszentry.into().abi(), ::core::mem::transmute(pbcustomauthdata.as_ptr()), pbcustomauthdata.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1898,7 +1898,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetEapUserDataA ( htoken : super::super::Foundation:: HANDLE , pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , pbeapdata : *const u8 , dwsizeofeapdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetEapUserDataA ( htoken : super::super::Foundation:: HANDLE , pszphonebook : :: windows::core::PCSTR , pszentry : :: windows::core::PCSTR , pbeapdata : *const u8 , dwsizeofeapdata : u32 ) -> u32 ); RasSetEapUserDataA(htoken.into(), pszphonebook.into().abi(), pszentry.into().abi(), pbeapdata, dwsizeofeapdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1910,7 +1910,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetEapUserDataW ( htoken : super::super::Foundation:: HANDLE , pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , pbeapdata : *const u8 , dwsizeofeapdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetEapUserDataW ( htoken : super::super::Foundation:: HANDLE , pszphonebook : :: windows::core::PCWSTR , pszentry : :: windows::core::PCWSTR , pbeapdata : *const u8 , dwsizeofeapdata : u32 ) -> u32 ); RasSetEapUserDataW(htoken.into(), pszphonebook.into().abi(), pszentry.into().abi(), pbeapdata, dwsizeofeapdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1921,7 +1921,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetEntryDialParamsA ( param0 : :: windows::core::PCSTR , param1 : *const RASDIALPARAMSA , param2 : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetEntryDialParamsA ( param0 : :: windows::core::PCSTR , param1 : *const RASDIALPARAMSA , param2 : super::super::Foundation:: BOOL ) -> u32 ); RasSetEntryDialParamsA(param0.into().abi(), param1, param2.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1932,7 +1932,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetEntryDialParamsW ( param0 : :: windows::core::PCWSTR , param1 : *const RASDIALPARAMSW , param2 : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetEntryDialParamsW ( param0 : :: windows::core::PCWSTR , param1 : *const RASDIALPARAMSW , param2 : super::super::Foundation:: BOOL ) -> u32 ); RasSetEntryDialParamsW(param0.into().abi(), param1, param2.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1943,7 +1943,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetEntryPropertiesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *const RASENTRYA , param3 : u32 , param4 : *const u8 , param5 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetEntryPropertiesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : *const RASENTRYA , param3 : u32 , param4 : *const u8 , param5 : u32 ) -> u32 ); RasSetEntryPropertiesA(param0.into().abi(), param1.into().abi(), param2, param3, ::core::mem::transmute(param4.unwrap_or(::std::ptr::null())), param5) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1954,7 +1954,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetEntryPropertiesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *const RASENTRYW , param3 : u32 , param4 : *const u8 , param5 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetEntryPropertiesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : *const RASENTRYW , param3 : u32 , param4 : *const u8 , param5 : u32 ) -> u32 ); RasSetEntryPropertiesW(param0.into().abi(), param1.into().abi(), param2, param3, ::core::mem::transmute(param4.unwrap_or(::std::ptr::null())), param5) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -1965,7 +1965,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetSubEntryPropertiesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : u32 , param3 : *const RASSUBENTRYA , param4 : u32 , param5 : *const u8 , param6 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetSubEntryPropertiesA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR , param2 : u32 , param3 : *const RASSUBENTRYA , param4 : u32 , param5 : *const u8 , param6 : u32 ) -> u32 ); RasSetSubEntryPropertiesA(param0.into().abi(), param1.into().abi(), param2, param3, param4, ::core::mem::transmute(param5.unwrap_or(::std::ptr::null())), param6) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1975,7 +1975,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasSetSubEntryPropertiesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : u32 , param3 : *const RASSUBENTRYW , param4 : u32 , param5 : *const u8 , param6 : u32 ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasSetSubEntryPropertiesW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR , param2 : u32 , param3 : *const RASSUBENTRYW , param4 : u32 , param5 : *const u8 , param6 : u32 ) -> u32 ); RasSetSubEntryPropertiesW(param0.into().abi(), param1.into().abi(), param2, param3, param4, ::core::mem::transmute(param5.unwrap_or(::std::ptr::null())), param6) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Networking_WinSock\"`*"] @@ -1985,7 +1985,7 @@ pub unsafe fn RasUpdateConnection(hrasconn: P0, lprasupdateconn: *const RASU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasUpdateConnection ( hrasconn : HRASCONN , lprasupdateconn : *const RASUPDATECONN ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasUpdateConnection ( hrasconn : HRASCONN , lprasupdateconn : *const RASUPDATECONN ) -> u32 ); RasUpdateConnection(hrasconn.into(), lprasupdateconn) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1995,7 +1995,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasValidateEntryNameA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasValidateEntryNameA ( param0 : :: windows::core::PCSTR , param1 : :: windows::core::PCSTR ) -> u32 ); RasValidateEntryNameA(param0.into().abi(), param1.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -2005,19 +2005,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rasapi32.dll""system" fn RasValidateEntryNameW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rasapi32.dll""system" fn RasValidateEntryNameW ( param0 : :: windows::core::PCWSTR , param1 : :: windows::core::PCWSTR ) -> u32 ); RasValidateEntryNameW(param0.into().abi(), param1.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmAddNextHop(rtmreghandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO, nexthophandle: *mut isize, changeflags: *mut u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmAddNextHop ( rtmreghandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO , nexthophandle : *mut isize , changeflags : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmAddNextHop ( rtmreghandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO , nexthophandle : *mut isize , changeflags : *mut u32 ) -> u32 ); RtmAddNextHop(rtmreghandle, nexthopinfo, nexthophandle, changeflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmAddRouteToDest(rtmreghandle: isize, routehandle: *mut isize, destaddress: *mut RTM_NET_ADDRESS, routeinfo: *mut RTM_ROUTE_INFO, timetolive: u32, routelisthandle: isize, notifytype: u32, notifyhandle: isize, changeflags: *mut u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmAddRouteToDest ( rtmreghandle : isize , routehandle : *mut isize , destaddress : *mut RTM_NET_ADDRESS , routeinfo : *mut RTM_ROUTE_INFO , timetolive : u32 , routelisthandle : isize , notifytype : u32 , notifyhandle : isize , changeflags : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmAddRouteToDest ( rtmreghandle : isize , routehandle : *mut isize , destaddress : *mut RTM_NET_ADDRESS , routeinfo : *mut RTM_ROUTE_INFO , timetolive : u32 , routelisthandle : isize , notifytype : u32 , notifyhandle : isize , changeflags : *mut u32 ) -> u32 ); RtmAddRouteToDest(rtmreghandle, routehandle, destaddress, routeinfo, timetolive, routelisthandle, notifytype, notifyhandle, changeflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -2027,251 +2027,251 @@ pub unsafe fn RtmBlockMethods(rtmreghandle: isize, targethandle: P0, targett where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn RtmBlockMethods ( rtmreghandle : isize , targethandle : super::super::Foundation:: HANDLE , targettype : u8 , blockingflag : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmBlockMethods ( rtmreghandle : isize , targethandle : super::super::Foundation:: HANDLE , targettype : u8 , blockingflag : u32 ) -> u32 ); RtmBlockMethods(rtmreghandle, targethandle.into(), targettype, blockingflag) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn RtmConvertIpv6AddressAndLengthToNetAddress(pnetaddress: *mut RTM_NET_ADDRESS, address: super::super::Networking::WinSock::IN6_ADDR, dwlength: u32, dwaddresssize: u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmConvertIpv6AddressAndLengthToNetAddress ( pnetaddress : *mut RTM_NET_ADDRESS , address : super::super::Networking::WinSock:: IN6_ADDR , dwlength : u32 , dwaddresssize : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmConvertIpv6AddressAndLengthToNetAddress ( pnetaddress : *mut RTM_NET_ADDRESS , address : super::super::Networking::WinSock:: IN6_ADDR , dwlength : u32 , dwaddresssize : u32 ) -> u32 ); RtmConvertIpv6AddressAndLengthToNetAddress(pnetaddress, ::core::mem::transmute(address), dwlength, dwaddresssize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn RtmConvertNetAddressToIpv6AddressAndLength(pnetaddress: *mut RTM_NET_ADDRESS, paddress: *mut super::super::Networking::WinSock::IN6_ADDR, plength: *mut u32, dwaddresssize: u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmConvertNetAddressToIpv6AddressAndLength ( pnetaddress : *mut RTM_NET_ADDRESS , paddress : *mut super::super::Networking::WinSock:: IN6_ADDR , plength : *mut u32 , dwaddresssize : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmConvertNetAddressToIpv6AddressAndLength ( pnetaddress : *mut RTM_NET_ADDRESS , paddress : *mut super::super::Networking::WinSock:: IN6_ADDR , plength : *mut u32 , dwaddresssize : u32 ) -> u32 ); RtmConvertNetAddressToIpv6AddressAndLength(pnetaddress, paddress, plength, dwaddresssize) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmCreateDestEnum(rtmreghandle: isize, targetviews: u32, enumflags: u32, netaddress: *mut RTM_NET_ADDRESS, protocolid: u32, rtmenumhandle: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmCreateDestEnum ( rtmreghandle : isize , targetviews : u32 , enumflags : u32 , netaddress : *mut RTM_NET_ADDRESS , protocolid : u32 , rtmenumhandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmCreateDestEnum ( rtmreghandle : isize , targetviews : u32 , enumflags : u32 , netaddress : *mut RTM_NET_ADDRESS , protocolid : u32 , rtmenumhandle : *mut isize ) -> u32 ); RtmCreateDestEnum(rtmreghandle, targetviews, enumflags, netaddress, protocolid, rtmenumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmCreateNextHopEnum(rtmreghandle: isize, enumflags: u32, netaddress: *mut RTM_NET_ADDRESS, rtmenumhandle: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmCreateNextHopEnum ( rtmreghandle : isize , enumflags : u32 , netaddress : *mut RTM_NET_ADDRESS , rtmenumhandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmCreateNextHopEnum ( rtmreghandle : isize , enumflags : u32 , netaddress : *mut RTM_NET_ADDRESS , rtmenumhandle : *mut isize ) -> u32 ); RtmCreateNextHopEnum(rtmreghandle, enumflags, netaddress, rtmenumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmCreateRouteEnum(rtmreghandle: isize, desthandle: isize, targetviews: u32, enumflags: u32, startdest: *mut RTM_NET_ADDRESS, matchingflags: u32, criteriaroute: *mut RTM_ROUTE_INFO, criteriainterface: u32, rtmenumhandle: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmCreateRouteEnum ( rtmreghandle : isize , desthandle : isize , targetviews : u32 , enumflags : u32 , startdest : *mut RTM_NET_ADDRESS , matchingflags : u32 , criteriaroute : *mut RTM_ROUTE_INFO , criteriainterface : u32 , rtmenumhandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmCreateRouteEnum ( rtmreghandle : isize , desthandle : isize , targetviews : u32 , enumflags : u32 , startdest : *mut RTM_NET_ADDRESS , matchingflags : u32 , criteriaroute : *mut RTM_ROUTE_INFO , criteriainterface : u32 , rtmenumhandle : *mut isize ) -> u32 ); RtmCreateRouteEnum(rtmreghandle, desthandle, targetviews, enumflags, startdest, matchingflags, criteriaroute, criteriainterface, rtmenumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmCreateRouteList(rtmreghandle: isize, routelisthandle: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmCreateRouteList ( rtmreghandle : isize , routelisthandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmCreateRouteList ( rtmreghandle : isize , routelisthandle : *mut isize ) -> u32 ); RtmCreateRouteList(rtmreghandle, routelisthandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmCreateRouteListEnum(rtmreghandle: isize, routelisthandle: isize, rtmenumhandle: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmCreateRouteListEnum ( rtmreghandle : isize , routelisthandle : isize , rtmenumhandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmCreateRouteListEnum ( rtmreghandle : isize , routelisthandle : isize , rtmenumhandle : *mut isize ) -> u32 ); RtmCreateRouteListEnum(rtmreghandle, routelisthandle, rtmenumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmDeleteEnumHandle(rtmreghandle: isize, enumhandle: isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmDeleteEnumHandle ( rtmreghandle : isize , enumhandle : isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmDeleteEnumHandle ( rtmreghandle : isize , enumhandle : isize ) -> u32 ); RtmDeleteEnumHandle(rtmreghandle, enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmDeleteNextHop(rtmreghandle: isize, nexthophandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmDeleteNextHop ( rtmreghandle : isize , nexthophandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmDeleteNextHop ( rtmreghandle : isize , nexthophandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO ) -> u32 ); RtmDeleteNextHop(rtmreghandle, nexthophandle, nexthopinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmDeleteRouteList(rtmreghandle: isize, routelisthandle: isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmDeleteRouteList ( rtmreghandle : isize , routelisthandle : isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmDeleteRouteList ( rtmreghandle : isize , routelisthandle : isize ) -> u32 ); RtmDeleteRouteList(rtmreghandle, routelisthandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmDeleteRouteToDest(rtmreghandle: isize, routehandle: isize, changeflags: *mut u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmDeleteRouteToDest ( rtmreghandle : isize , routehandle : isize , changeflags : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmDeleteRouteToDest ( rtmreghandle : isize , routehandle : isize , changeflags : *mut u32 ) -> u32 ); RtmDeleteRouteToDest(rtmreghandle, routehandle, changeflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmDeregisterEntity(rtmreghandle: isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmDeregisterEntity ( rtmreghandle : isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmDeregisterEntity ( rtmreghandle : isize ) -> u32 ); RtmDeregisterEntity(rtmreghandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmDeregisterFromChangeNotification(rtmreghandle: isize, notifyhandle: isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmDeregisterFromChangeNotification ( rtmreghandle : isize , notifyhandle : isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmDeregisterFromChangeNotification ( rtmreghandle : isize , notifyhandle : isize ) -> u32 ); RtmDeregisterFromChangeNotification(rtmreghandle, notifyhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmFindNextHop(rtmreghandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO, nexthophandle: *mut isize, nexthoppointer: *mut *mut RTM_NEXTHOP_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmFindNextHop ( rtmreghandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO , nexthophandle : *mut isize , nexthoppointer : *mut *mut RTM_NEXTHOP_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmFindNextHop ( rtmreghandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO , nexthophandle : *mut isize , nexthoppointer : *mut *mut RTM_NEXTHOP_INFO ) -> u32 ); RtmFindNextHop(rtmreghandle, nexthopinfo, nexthophandle, nexthoppointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmGetChangeStatus(rtmreghandle: isize, notifyhandle: isize, desthandle: isize, changestatus: *mut super::super::Foundation::BOOL) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetChangeStatus ( rtmreghandle : isize , notifyhandle : isize , desthandle : isize , changestatus : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetChangeStatus ( rtmreghandle : isize , notifyhandle : isize , desthandle : isize , changestatus : *mut super::super::Foundation:: BOOL ) -> u32 ); RtmGetChangeStatus(rtmreghandle, notifyhandle, desthandle, changestatus) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmGetChangedDests(rtmreghandle: isize, notifyhandle: isize, numdests: *mut u32, changeddests: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetChangedDests ( rtmreghandle : isize , notifyhandle : isize , numdests : *mut u32 , changeddests : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetChangedDests ( rtmreghandle : isize , notifyhandle : isize , numdests : *mut u32 , changeddests : *mut RTM_DEST_INFO ) -> u32 ); RtmGetChangedDests(rtmreghandle, notifyhandle, numdests, changeddests) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmGetDestInfo(rtmreghandle: isize, desthandle: isize, protocolid: u32, targetviews: u32, destinfo: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetDestInfo ( rtmreghandle : isize , desthandle : isize , protocolid : u32 , targetviews : u32 , destinfo : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetDestInfo ( rtmreghandle : isize , desthandle : isize , protocolid : u32 , targetviews : u32 , destinfo : *mut RTM_DEST_INFO ) -> u32 ); RtmGetDestInfo(rtmreghandle, desthandle, protocolid, targetviews, destinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetEntityInfo(rtmreghandle: isize, entityhandle: isize, entityinfo: *mut RTM_ENTITY_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetEntityInfo ( rtmreghandle : isize , entityhandle : isize , entityinfo : *mut RTM_ENTITY_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetEntityInfo ( rtmreghandle : isize , entityhandle : isize , entityinfo : *mut RTM_ENTITY_INFO ) -> u32 ); RtmGetEntityInfo(rtmreghandle, entityhandle, entityinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetEntityMethods(rtmreghandle: isize, entityhandle: isize, nummethods: *mut u32, exptmethods: *mut RTM_ENTITY_EXPORT_METHOD) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetEntityMethods ( rtmreghandle : isize , entityhandle : isize , nummethods : *mut u32 , exptmethods : *mut RTM_ENTITY_EXPORT_METHOD ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetEntityMethods ( rtmreghandle : isize , entityhandle : isize , nummethods : *mut u32 , exptmethods : *mut RTM_ENTITY_EXPORT_METHOD ) -> u32 ); RtmGetEntityMethods(rtmreghandle, entityhandle, nummethods, exptmethods) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmGetEnumDests(rtmreghandle: isize, enumhandle: isize, numdests: *mut u32, destinfos: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetEnumDests ( rtmreghandle : isize , enumhandle : isize , numdests : *mut u32 , destinfos : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetEnumDests ( rtmreghandle : isize , enumhandle : isize , numdests : *mut u32 , destinfos : *mut RTM_DEST_INFO ) -> u32 ); RtmGetEnumDests(rtmreghandle, enumhandle, numdests, destinfos) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetEnumNextHops(rtmreghandle: isize, enumhandle: isize, numnexthops: *mut u32, nexthophandles: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetEnumNextHops ( rtmreghandle : isize , enumhandle : isize , numnexthops : *mut u32 , nexthophandles : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetEnumNextHops ( rtmreghandle : isize , enumhandle : isize , numnexthops : *mut u32 , nexthophandles : *mut isize ) -> u32 ); RtmGetEnumNextHops(rtmreghandle, enumhandle, numnexthops, nexthophandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetEnumRoutes(rtmreghandle: isize, enumhandle: isize, numroutes: *mut u32, routehandles: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetEnumRoutes ( rtmreghandle : isize , enumhandle : isize , numroutes : *mut u32 , routehandles : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetEnumRoutes ( rtmreghandle : isize , enumhandle : isize , numroutes : *mut u32 , routehandles : *mut isize ) -> u32 ); RtmGetEnumRoutes(rtmreghandle, enumhandle, numroutes, routehandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmGetExactMatchDestination(rtmreghandle: isize, destaddress: *mut RTM_NET_ADDRESS, protocolid: u32, targetviews: u32, destinfo: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetExactMatchDestination ( rtmreghandle : isize , destaddress : *mut RTM_NET_ADDRESS , protocolid : u32 , targetviews : u32 , destinfo : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetExactMatchDestination ( rtmreghandle : isize , destaddress : *mut RTM_NET_ADDRESS , protocolid : u32 , targetviews : u32 , destinfo : *mut RTM_DEST_INFO ) -> u32 ); RtmGetExactMatchDestination(rtmreghandle, destaddress, protocolid, targetviews, destinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetExactMatchRoute(rtmreghandle: isize, destaddress: *mut RTM_NET_ADDRESS, matchingflags: u32, routeinfo: *mut RTM_ROUTE_INFO, interfaceindex: u32, targetviews: u32, routehandle: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetExactMatchRoute ( rtmreghandle : isize , destaddress : *mut RTM_NET_ADDRESS , matchingflags : u32 , routeinfo : *mut RTM_ROUTE_INFO , interfaceindex : u32 , targetviews : u32 , routehandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetExactMatchRoute ( rtmreghandle : isize , destaddress : *mut RTM_NET_ADDRESS , matchingflags : u32 , routeinfo : *mut RTM_ROUTE_INFO , interfaceindex : u32 , targetviews : u32 , routehandle : *mut isize ) -> u32 ); RtmGetExactMatchRoute(rtmreghandle, destaddress, matchingflags, routeinfo, interfaceindex, targetviews, routehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmGetLessSpecificDestination(rtmreghandle: isize, desthandle: isize, protocolid: u32, targetviews: u32, destinfo: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetLessSpecificDestination ( rtmreghandle : isize , desthandle : isize , protocolid : u32 , targetviews : u32 , destinfo : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetLessSpecificDestination ( rtmreghandle : isize , desthandle : isize , protocolid : u32 , targetviews : u32 , destinfo : *mut RTM_DEST_INFO ) -> u32 ); RtmGetLessSpecificDestination(rtmreghandle, desthandle, protocolid, targetviews, destinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetListEnumRoutes(rtmreghandle: isize, enumhandle: isize, numroutes: *mut u32, routehandles: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetListEnumRoutes ( rtmreghandle : isize , enumhandle : isize , numroutes : *mut u32 , routehandles : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetListEnumRoutes ( rtmreghandle : isize , enumhandle : isize , numroutes : *mut u32 , routehandles : *mut isize ) -> u32 ); RtmGetListEnumRoutes(rtmreghandle, enumhandle, numroutes, routehandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmGetMostSpecificDestination(rtmreghandle: isize, destaddress: *mut RTM_NET_ADDRESS, protocolid: u32, targetviews: u32, destinfo: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetMostSpecificDestination ( rtmreghandle : isize , destaddress : *mut RTM_NET_ADDRESS , protocolid : u32 , targetviews : u32 , destinfo : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetMostSpecificDestination ( rtmreghandle : isize , destaddress : *mut RTM_NET_ADDRESS , protocolid : u32 , targetviews : u32 , destinfo : *mut RTM_DEST_INFO ) -> u32 ); RtmGetMostSpecificDestination(rtmreghandle, destaddress, protocolid, targetviews, destinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetNextHopInfo(rtmreghandle: isize, nexthophandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetNextHopInfo ( rtmreghandle : isize , nexthophandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetNextHopInfo ( rtmreghandle : isize , nexthophandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO ) -> u32 ); RtmGetNextHopInfo(rtmreghandle, nexthophandle, nexthopinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetNextHopPointer(rtmreghandle: isize, nexthophandle: isize, nexthoppointer: *mut *mut RTM_NEXTHOP_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetNextHopPointer ( rtmreghandle : isize , nexthophandle : isize , nexthoppointer : *mut *mut RTM_NEXTHOP_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetNextHopPointer ( rtmreghandle : isize , nexthophandle : isize , nexthoppointer : *mut *mut RTM_NEXTHOP_INFO ) -> u32 ); RtmGetNextHopPointer(rtmreghandle, nexthophandle, nexthoppointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetOpaqueInformationPointer(rtmreghandle: isize, desthandle: isize, opaqueinfopointer: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetOpaqueInformationPointer ( rtmreghandle : isize , desthandle : isize , opaqueinfopointer : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetOpaqueInformationPointer ( rtmreghandle : isize , desthandle : isize , opaqueinfopointer : *mut *mut ::core::ffi::c_void ) -> u32 ); RtmGetOpaqueInformationPointer(rtmreghandle, desthandle, opaqueinfopointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetRegisteredEntities(rtmreghandle: isize, numentities: *mut u32, entityhandles: *mut isize, entityinfos: *mut RTM_ENTITY_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetRegisteredEntities ( rtmreghandle : isize , numentities : *mut u32 , entityhandles : *mut isize , entityinfos : *mut RTM_ENTITY_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetRegisteredEntities ( rtmreghandle : isize , numentities : *mut u32 , entityhandles : *mut isize , entityinfos : *mut RTM_ENTITY_INFO ) -> u32 ); RtmGetRegisteredEntities(rtmreghandle, numentities, entityhandles, entityinfos) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetRouteInfo(rtmreghandle: isize, routehandle: isize, routeinfo: *mut RTM_ROUTE_INFO, destaddress: *mut RTM_NET_ADDRESS) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetRouteInfo ( rtmreghandle : isize , routehandle : isize , routeinfo : *mut RTM_ROUTE_INFO , destaddress : *mut RTM_NET_ADDRESS ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetRouteInfo ( rtmreghandle : isize , routehandle : isize , routeinfo : *mut RTM_ROUTE_INFO , destaddress : *mut RTM_NET_ADDRESS ) -> u32 ); RtmGetRouteInfo(rtmreghandle, routehandle, routeinfo, destaddress) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmGetRoutePointer(rtmreghandle: isize, routehandle: isize, routepointer: *mut *mut RTM_ROUTE_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmGetRoutePointer ( rtmreghandle : isize , routehandle : isize , routepointer : *mut *mut RTM_ROUTE_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmGetRoutePointer ( rtmreghandle : isize , routehandle : isize , routepointer : *mut *mut RTM_ROUTE_INFO ) -> u32 ); RtmGetRoutePointer(rtmreghandle, routehandle, routepointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmHoldDestination(rtmreghandle: isize, desthandle: isize, targetviews: u32, holdtime: u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmHoldDestination ( rtmreghandle : isize , desthandle : isize , targetviews : u32 , holdtime : u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmHoldDestination ( rtmreghandle : isize , desthandle : isize , targetviews : u32 , holdtime : u32 ) -> u32 ); RtmHoldDestination(rtmreghandle, desthandle, targetviews, holdtime) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmIgnoreChangedDests(rtmreghandle: isize, notifyhandle: isize, numdests: u32, changeddests: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmIgnoreChangedDests ( rtmreghandle : isize , notifyhandle : isize , numdests : u32 , changeddests : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmIgnoreChangedDests ( rtmreghandle : isize , notifyhandle : isize , numdests : u32 , changeddests : *mut isize ) -> u32 ); RtmIgnoreChangedDests(rtmreghandle, notifyhandle, numdests, changeddests) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmInsertInRouteList(rtmreghandle: isize, routelisthandle: isize, numroutes: u32, routehandles: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmInsertInRouteList ( rtmreghandle : isize , routelisthandle : isize , numroutes : u32 , routehandles : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmInsertInRouteList ( rtmreghandle : isize , routelisthandle : isize , numroutes : u32 , routehandles : *mut isize ) -> u32 ); RtmInsertInRouteList(rtmreghandle, routelisthandle, numroutes, routehandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmInvokeMethod(rtmreghandle: isize, entityhandle: isize, input: *mut RTM_ENTITY_METHOD_INPUT, outputsize: *mut u32, output: *mut RTM_ENTITY_METHOD_OUTPUT) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmInvokeMethod ( rtmreghandle : isize , entityhandle : isize , input : *mut RTM_ENTITY_METHOD_INPUT , outputsize : *mut u32 , output : *mut RTM_ENTITY_METHOD_OUTPUT ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmInvokeMethod ( rtmreghandle : isize , entityhandle : isize , input : *mut RTM_ENTITY_METHOD_INPUT , outputsize : *mut u32 , output : *mut RTM_ENTITY_METHOD_OUTPUT ) -> u32 ); RtmInvokeMethod(rtmreghandle, entityhandle, input, outputsize, output) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmIsBestRoute(rtmreghandle: isize, routehandle: isize, bestinviews: *mut u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmIsBestRoute ( rtmreghandle : isize , routehandle : isize , bestinviews : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmIsBestRoute ( rtmreghandle : isize , routehandle : isize , bestinviews : *mut u32 ) -> u32 ); RtmIsBestRoute(rtmreghandle, routehandle, bestinviews) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmIsMarkedForChangeNotification(rtmreghandle: isize, notifyhandle: isize, desthandle: isize, destmarked: *mut super::super::Foundation::BOOL) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmIsMarkedForChangeNotification ( rtmreghandle : isize , notifyhandle : isize , desthandle : isize , destmarked : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmIsMarkedForChangeNotification ( rtmreghandle : isize , notifyhandle : isize , desthandle : isize , destmarked : *mut super::super::Foundation:: BOOL ) -> u32 ); RtmIsMarkedForChangeNotification(rtmreghandle, notifyhandle, desthandle, destmarked) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -2282,7 +2282,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn RtmLockDestination ( rtmreghandle : isize , desthandle : isize , exclusive : super::super::Foundation:: BOOL , lockdest : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmLockDestination ( rtmreghandle : isize , desthandle : isize , exclusive : super::super::Foundation:: BOOL , lockdest : super::super::Foundation:: BOOL ) -> u32 ); RtmLockDestination(rtmreghandle, desthandle, exclusive.into(), lockdest.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -2293,7 +2293,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn RtmLockNextHop ( rtmreghandle : isize , nexthophandle : isize , exclusive : super::super::Foundation:: BOOL , locknexthop : super::super::Foundation:: BOOL , nexthoppointer : *mut *mut RTM_NEXTHOP_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmLockNextHop ( rtmreghandle : isize , nexthophandle : isize , exclusive : super::super::Foundation:: BOOL , locknexthop : super::super::Foundation:: BOOL , nexthoppointer : *mut *mut RTM_NEXTHOP_INFO ) -> u32 ); RtmLockNextHop(rtmreghandle, nexthophandle, exclusive.into(), locknexthop.into(), nexthoppointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -2304,7 +2304,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn RtmLockRoute ( rtmreghandle : isize , routehandle : isize , exclusive : super::super::Foundation:: BOOL , lockroute : super::super::Foundation:: BOOL , routepointer : *mut *mut RTM_ROUTE_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmLockRoute ( rtmreghandle : isize , routehandle : isize , exclusive : super::super::Foundation:: BOOL , lockroute : super::super::Foundation:: BOOL , routepointer : *mut *mut RTM_ROUTE_INFO ) -> u32 ); RtmLockRoute(rtmreghandle, routehandle, exclusive.into(), lockroute.into(), routepointer) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -2314,14 +2314,14 @@ pub unsafe fn RtmMarkDestForChangeNotification(rtmreghandle: isize, notifyha where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn RtmMarkDestForChangeNotification ( rtmreghandle : isize , notifyhandle : isize , desthandle : isize , markdest : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmMarkDestForChangeNotification ( rtmreghandle : isize , notifyhandle : isize , desthandle : isize , markdest : super::super::Foundation:: BOOL ) -> u32 ); RtmMarkDestForChangeNotification(rtmreghandle, notifyhandle, desthandle, markdest.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmReferenceHandles(rtmreghandle: isize, numhandles: u32, rtmhandles: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReferenceHandles ( rtmreghandle : isize , numhandles : u32 , rtmhandles : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReferenceHandles ( rtmreghandle : isize , numhandles : u32 , rtmhandles : *mut super::super::Foundation:: HANDLE ) -> u32 ); RtmReferenceHandles(rtmreghandle, numhandles, rtmhandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] @@ -2331,76 +2331,76 @@ pub unsafe fn RtmRegisterEntity(rtmentityinfo: *mut RTM_ENTITY_INFO, exportm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rtm.dll""system" fn RtmRegisterEntity ( rtmentityinfo : *mut RTM_ENTITY_INFO , exportmethods : *mut RTM_ENTITY_EXPORT_METHODS , eventcallback : RTM_EVENT_CALLBACK , reserveopaquepointer : super::super::Foundation:: BOOL , rtmregprofile : *mut RTM_REGN_PROFILE , rtmreghandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmRegisterEntity ( rtmentityinfo : *mut RTM_ENTITY_INFO , exportmethods : *mut RTM_ENTITY_EXPORT_METHODS , eventcallback : RTM_EVENT_CALLBACK , reserveopaquepointer : super::super::Foundation:: BOOL , rtmregprofile : *mut RTM_REGN_PROFILE , rtmreghandle : *mut isize ) -> u32 ); RtmRegisterEntity(rtmentityinfo, exportmethods, eventcallback, reserveopaquepointer.into(), rtmregprofile, rtmreghandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmRegisterForChangeNotification(rtmreghandle: isize, targetviews: u32, notifyflags: u32, notifycontext: *mut ::core::ffi::c_void, notifyhandle: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmRegisterForChangeNotification ( rtmreghandle : isize , targetviews : u32 , notifyflags : u32 , notifycontext : *mut ::core::ffi::c_void , notifyhandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmRegisterForChangeNotification ( rtmreghandle : isize , targetviews : u32 , notifyflags : u32 , notifycontext : *mut ::core::ffi::c_void , notifyhandle : *mut isize ) -> u32 ); RtmRegisterForChangeNotification(rtmreghandle, targetviews, notifyflags, notifycontext, notifyhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmReleaseChangedDests(rtmreghandle: isize, notifyhandle: isize, numdests: u32, changeddests: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseChangedDests ( rtmreghandle : isize , notifyhandle : isize , numdests : u32 , changeddests : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseChangedDests ( rtmreghandle : isize , notifyhandle : isize , numdests : u32 , changeddests : *mut RTM_DEST_INFO ) -> u32 ); RtmReleaseChangedDests(rtmreghandle, notifyhandle, numdests, changeddests) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmReleaseDestInfo(rtmreghandle: isize, destinfo: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseDestInfo ( rtmreghandle : isize , destinfo : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseDestInfo ( rtmreghandle : isize , destinfo : *mut RTM_DEST_INFO ) -> u32 ); RtmReleaseDestInfo(rtmreghandle, destinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtmReleaseDests(rtmreghandle: isize, numdests: u32, destinfos: *mut RTM_DEST_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseDests ( rtmreghandle : isize , numdests : u32 , destinfos : *mut RTM_DEST_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseDests ( rtmreghandle : isize , numdests : u32 , destinfos : *mut RTM_DEST_INFO ) -> u32 ); RtmReleaseDests(rtmreghandle, numdests, destinfos) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmReleaseEntities(rtmreghandle: isize, numentities: u32, entityhandles: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseEntities ( rtmreghandle : isize , numentities : u32 , entityhandles : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseEntities ( rtmreghandle : isize , numentities : u32 , entityhandles : *mut isize ) -> u32 ); RtmReleaseEntities(rtmreghandle, numentities, entityhandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmReleaseEntityInfo(rtmreghandle: isize, entityinfo: *mut RTM_ENTITY_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseEntityInfo ( rtmreghandle : isize , entityinfo : *mut RTM_ENTITY_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseEntityInfo ( rtmreghandle : isize , entityinfo : *mut RTM_ENTITY_INFO ) -> u32 ); RtmReleaseEntityInfo(rtmreghandle, entityinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmReleaseNextHopInfo(rtmreghandle: isize, nexthopinfo: *mut RTM_NEXTHOP_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseNextHopInfo ( rtmreghandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseNextHopInfo ( rtmreghandle : isize , nexthopinfo : *mut RTM_NEXTHOP_INFO ) -> u32 ); RtmReleaseNextHopInfo(rtmreghandle, nexthopinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmReleaseNextHops(rtmreghandle: isize, numnexthops: u32, nexthophandles: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseNextHops ( rtmreghandle : isize , numnexthops : u32 , nexthophandles : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseNextHops ( rtmreghandle : isize , numnexthops : u32 , nexthophandles : *mut isize ) -> u32 ); RtmReleaseNextHops(rtmreghandle, numnexthops, nexthophandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmReleaseRouteInfo(rtmreghandle: isize, routeinfo: *mut RTM_ROUTE_INFO) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseRouteInfo ( rtmreghandle : isize , routeinfo : *mut RTM_ROUTE_INFO ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseRouteInfo ( rtmreghandle : isize , routeinfo : *mut RTM_ROUTE_INFO ) -> u32 ); RtmReleaseRouteInfo(rtmreghandle, routeinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmReleaseRoutes(rtmreghandle: isize, numroutes: u32, routehandles: *mut isize) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmReleaseRoutes ( rtmreghandle : isize , numroutes : u32 , routehandles : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmReleaseRoutes ( rtmreghandle : isize , numroutes : u32 , routehandles : *mut isize ) -> u32 ); RtmReleaseRoutes(rtmreghandle, numroutes, routehandles) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] #[inline] pub unsafe fn RtmUpdateAndUnlockRoute(rtmreghandle: isize, routehandle: isize, timetolive: u32, routelisthandle: isize, notifytype: u32, notifyhandle: isize, changeflags: *mut u32) -> u32 { - ::windows::core::link ! ( "rtm.dll""system" fn RtmUpdateAndUnlockRoute ( rtmreghandle : isize , routehandle : isize , timetolive : u32 , routelisthandle : isize , notifytype : u32 , notifyhandle : isize , changeflags : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn RtmUpdateAndUnlockRoute ( rtmreghandle : isize , routehandle : isize , timetolive : u32 , routelisthandle : isize , notifytype : u32 , notifyhandle : isize , changeflags : *mut u32 ) -> u32 ); RtmUpdateAndUnlockRoute(rtmreghandle, routehandle, timetolive, routelisthandle, notifytype, notifyhandle, changeflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs index a3c57d2c5b..acc1da8bf7 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs @@ -1,43 +1,43 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpCancelMsg(session: isize, reqid: i32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpCancelMsg ( session : isize , reqid : i32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpCancelMsg ( session : isize , reqid : i32 ) -> u32 ); SnmpCancelMsg(session, reqid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpCleanup() -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpCleanup ( ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpCleanup ( ) -> u32 ); SnmpCleanup() } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpCleanupEx() -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpCleanupEx ( ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpCleanupEx ( ) -> u32 ); SnmpCleanupEx() } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpClose(session: isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpClose ( session : isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpClose ( session : isize ) -> u32 ); SnmpClose(session) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpContextToStr(context: isize, string: *mut smiOCTETS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpContextToStr ( context : isize , string : *mut smiOCTETS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpContextToStr ( context : isize , string : *mut smiOCTETS ) -> u32 ); SnmpContextToStr(context, string) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpCountVbl(vbl: isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpCountVbl ( vbl : isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpCountVbl ( vbl : isize ) -> u32 ); SnmpCountVbl(vbl) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpCreatePdu(session: isize, pdu_type: SNMP_PDU_TYPE, request_id: i32, error_status: i32, error_index: i32, varbindlist: isize) -> isize { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpCreatePdu ( session : isize , pdu_type : SNMP_PDU_TYPE , request_id : i32 , error_status : i32 , error_index : i32 , varbindlist : isize ) -> isize ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpCreatePdu ( session : isize , pdu_type : SNMP_PDU_TYPE , request_id : i32 , error_status : i32 , error_index : i32 , varbindlist : isize ) -> isize ); SnmpCreatePdu(session, pdu_type, request_id, error_status, error_index, varbindlist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] @@ -47,175 +47,175 @@ pub unsafe fn SnmpCreateSession(hwnd: P0, wmsg: u32, fcallback: SNMPAPI_CALL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpCreateSession ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , fcallback : SNMPAPI_CALLBACK , lpclientdata : *mut ::core::ffi::c_void ) -> isize ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpCreateSession ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , fcallback : SNMPAPI_CALLBACK , lpclientdata : *mut ::core::ffi::c_void ) -> isize ); SnmpCreateSession(hwnd.into(), wmsg, fcallback, lpclientdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpCreateVbl(session: isize, name: *mut smiOID, value: *mut smiVALUE) -> isize { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpCreateVbl ( session : isize , name : *mut smiOID , value : *mut smiVALUE ) -> isize ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpCreateVbl ( session : isize , name : *mut smiOID , value : *mut smiVALUE ) -> isize ); SnmpCreateVbl(session, name, value) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpDecodeMsg(session: isize, srcentity: *mut isize, dstentity: *mut isize, context: *mut isize, pdu: *mut isize, msgbufdesc: *mut smiOCTETS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpDecodeMsg ( session : isize , srcentity : *mut isize , dstentity : *mut isize , context : *mut isize , pdu : *mut isize , msgbufdesc : *mut smiOCTETS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpDecodeMsg ( session : isize , srcentity : *mut isize , dstentity : *mut isize , context : *mut isize , pdu : *mut isize , msgbufdesc : *mut smiOCTETS ) -> u32 ); SnmpDecodeMsg(session, srcentity, dstentity, context, pdu, msgbufdesc) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpDeleteVb(vbl: isize, index: u32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpDeleteVb ( vbl : isize , index : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpDeleteVb ( vbl : isize , index : u32 ) -> u32 ); SnmpDeleteVb(vbl, index) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpDuplicatePdu(session: isize, pdu: isize) -> isize { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpDuplicatePdu ( session : isize , pdu : isize ) -> isize ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpDuplicatePdu ( session : isize , pdu : isize ) -> isize ); SnmpDuplicatePdu(session, pdu) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpDuplicateVbl(session: isize, vbl: isize) -> isize { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpDuplicateVbl ( session : isize , vbl : isize ) -> isize ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpDuplicateVbl ( session : isize , vbl : isize ) -> isize ); SnmpDuplicateVbl(session, vbl) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpEncodeMsg(session: isize, srcentity: isize, dstentity: isize, context: isize, pdu: isize, msgbufdesc: *mut smiOCTETS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpEncodeMsg ( session : isize , srcentity : isize , dstentity : isize , context : isize , pdu : isize , msgbufdesc : *mut smiOCTETS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpEncodeMsg ( session : isize , srcentity : isize , dstentity : isize , context : isize , pdu : isize , msgbufdesc : *mut smiOCTETS ) -> u32 ); SnmpEncodeMsg(session, srcentity, dstentity, context, pdu, msgbufdesc) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpEntityToStr(entity: isize, string: &mut [u8]) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpEntityToStr ( entity : isize , size : u32 , string : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpEntityToStr ( entity : isize , size : u32 , string : :: windows::core::PSTR ) -> u32 ); SnmpEntityToStr(entity, string.len() as _, ::core::mem::transmute(string.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpFreeContext(context: isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpFreeContext ( context : isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpFreeContext ( context : isize ) -> u32 ); SnmpFreeContext(context) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpFreeDescriptor(syntax: u32, descriptor: *mut smiOCTETS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpFreeDescriptor ( syntax : u32 , descriptor : *mut smiOCTETS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpFreeDescriptor ( syntax : u32 , descriptor : *mut smiOCTETS ) -> u32 ); SnmpFreeDescriptor(syntax, descriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpFreeEntity(entity: isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpFreeEntity ( entity : isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpFreeEntity ( entity : isize ) -> u32 ); SnmpFreeEntity(entity) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpFreePdu(pdu: isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpFreePdu ( pdu : isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpFreePdu ( pdu : isize ) -> u32 ); SnmpFreePdu(pdu) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpFreeVbl(vbl: isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpFreeVbl ( vbl : isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpFreeVbl ( vbl : isize ) -> u32 ); SnmpFreeVbl(vbl) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpGetLastError(session: isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpGetLastError ( session : isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpGetLastError ( session : isize ) -> u32 ); SnmpGetLastError(session) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpGetPduData(pdu: isize, pdu_type: *mut SNMP_PDU_TYPE, request_id: *mut i32, error_status: *mut SNMP_ERROR, error_index: *mut i32, varbindlist: *mut isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpGetPduData ( pdu : isize , pdu_type : *mut SNMP_PDU_TYPE , request_id : *mut i32 , error_status : *mut SNMP_ERROR , error_index : *mut i32 , varbindlist : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpGetPduData ( pdu : isize , pdu_type : *mut SNMP_PDU_TYPE , request_id : *mut i32 , error_status : *mut SNMP_ERROR , error_index : *mut i32 , varbindlist : *mut isize ) -> u32 ); SnmpGetPduData(pdu, pdu_type, request_id, error_status, error_index, varbindlist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpGetRetransmitMode(nretransmitmode: *mut SNMP_STATUS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpGetRetransmitMode ( nretransmitmode : *mut SNMP_STATUS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpGetRetransmitMode ( nretransmitmode : *mut SNMP_STATUS ) -> u32 ); SnmpGetRetransmitMode(nretransmitmode) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpGetRetry(hentity: isize, npolicyretry: *mut u32, nactualretry: *mut u32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpGetRetry ( hentity : isize , npolicyretry : *mut u32 , nactualretry : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpGetRetry ( hentity : isize , npolicyretry : *mut u32 , nactualretry : *mut u32 ) -> u32 ); SnmpGetRetry(hentity, npolicyretry, nactualretry) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpGetTimeout(hentity: isize, npolicytimeout: *mut u32, nactualtimeout: *mut u32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpGetTimeout ( hentity : isize , npolicytimeout : *mut u32 , nactualtimeout : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpGetTimeout ( hentity : isize , npolicytimeout : *mut u32 , nactualtimeout : *mut u32 ) -> u32 ); SnmpGetTimeout(hentity, npolicytimeout, nactualtimeout) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpGetTranslateMode(ntranslatemode: *mut SNMP_API_TRANSLATE_MODE) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpGetTranslateMode ( ntranslatemode : *mut SNMP_API_TRANSLATE_MODE ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpGetTranslateMode ( ntranslatemode : *mut SNMP_API_TRANSLATE_MODE ) -> u32 ); SnmpGetTranslateMode(ntranslatemode) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpGetVb(vbl: isize, index: u32, name: *mut smiOID, value: *mut smiVALUE) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpGetVb ( vbl : isize , index : u32 , name : *mut smiOID , value : *mut smiVALUE ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpGetVb ( vbl : isize , index : u32 , name : *mut smiOID , value : *mut smiVALUE ) -> u32 ); SnmpGetVb(vbl, index, name, value) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpGetVendorInfo(vendorinfo: *mut smiVENDORINFO) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpGetVendorInfo ( vendorinfo : *mut smiVENDORINFO ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpGetVendorInfo ( vendorinfo : *mut smiVENDORINFO ) -> u32 ); SnmpGetVendorInfo(vendorinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpListen(hentity: isize, lstatus: SNMP_STATUS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpListen ( hentity : isize , lstatus : SNMP_STATUS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpListen ( hentity : isize , lstatus : SNMP_STATUS ) -> u32 ); SnmpListen(hentity, lstatus) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpListenEx(hentity: isize, lstatus: u32, nuseentityaddr: u32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpListenEx ( hentity : isize , lstatus : u32 , nuseentityaddr : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpListenEx ( hentity : isize , lstatus : u32 , nuseentityaddr : u32 ) -> u32 ); SnmpListenEx(hentity, lstatus, nuseentityaddr) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpMgrClose(session: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrClose ( session : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrClose ( session : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SnmpMgrClose(session) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpMgrCtl(session: *mut ::core::ffi::c_void, dwctlcode: u32, lpvinbuffer: *mut ::core::ffi::c_void, cbinbuffer: u32, lpvoutbuffer: *mut ::core::ffi::c_void, cboutbuffer: u32, lpcbbytesreturned: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrCtl ( session : *mut ::core::ffi::c_void , dwctlcode : u32 , lpvinbuffer : *mut ::core::ffi::c_void , cbinbuffer : u32 , lpvoutbuffer : *mut ::core::ffi::c_void , cboutbuffer : u32 , lpcbbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrCtl ( session : *mut ::core::ffi::c_void , dwctlcode : u32 , lpvinbuffer : *mut ::core::ffi::c_void , cbinbuffer : u32 , lpvoutbuffer : *mut ::core::ffi::c_void , cboutbuffer : u32 , lpcbbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); SnmpMgrCtl(session, dwctlcode, lpvinbuffer, cbinbuffer, lpvoutbuffer, cboutbuffer, lpcbbytesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpMgrGetTrap(enterprise: *mut AsnObjectIdentifier, ipaddress: *mut AsnOctetString, generictrap: *mut SNMP_GENERICTRAP, specifictrap: *mut i32, timestamp: *mut u32, variablebindings: *mut SnmpVarBindList) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrGetTrap ( enterprise : *mut AsnObjectIdentifier , ipaddress : *mut AsnOctetString , generictrap : *mut SNMP_GENERICTRAP , specifictrap : *mut i32 , timestamp : *mut u32 , variablebindings : *mut SnmpVarBindList ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrGetTrap ( enterprise : *mut AsnObjectIdentifier , ipaddress : *mut AsnOctetString , generictrap : *mut SNMP_GENERICTRAP , specifictrap : *mut i32 , timestamp : *mut u32 , variablebindings : *mut SnmpVarBindList ) -> super::super::Foundation:: BOOL ); SnmpMgrGetTrap(enterprise, ipaddress, generictrap, specifictrap, timestamp, variablebindings) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpMgrGetTrapEx(enterprise: *mut AsnObjectIdentifier, agentaddress: *mut AsnOctetString, sourceaddress: *mut AsnOctetString, generictrap: *mut SNMP_GENERICTRAP, specifictrap: *mut i32, community: *mut AsnOctetString, timestamp: *mut u32, variablebindings: *mut SnmpVarBindList) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrGetTrapEx ( enterprise : *mut AsnObjectIdentifier , agentaddress : *mut AsnOctetString , sourceaddress : *mut AsnOctetString , generictrap : *mut SNMP_GENERICTRAP , specifictrap : *mut i32 , community : *mut AsnOctetString , timestamp : *mut u32 , variablebindings : *mut SnmpVarBindList ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrGetTrapEx ( enterprise : *mut AsnObjectIdentifier , agentaddress : *mut AsnOctetString , sourceaddress : *mut AsnOctetString , generictrap : *mut SNMP_GENERICTRAP , specifictrap : *mut i32 , community : *mut AsnOctetString , timestamp : *mut u32 , variablebindings : *mut SnmpVarBindList ) -> super::super::Foundation:: BOOL ); SnmpMgrGetTrapEx(enterprise, agentaddress, sourceaddress, generictrap, specifictrap, community, timestamp, variablebindings) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpMgrOidToStr(oid: *mut AsnObjectIdentifier, string: ::core::option::Option<*mut ::windows::core::PSTR>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrOidToStr ( oid : *mut AsnObjectIdentifier , string : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrOidToStr ( oid : *mut AsnObjectIdentifier , string : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); SnmpMgrOidToStr(oid, ::core::mem::transmute(string.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] @@ -225,14 +225,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrOpen ( lpagentaddress : :: windows::core::PCSTR , lpagentcommunity : :: windows::core::PCSTR , ntimeout : i32 , nretries : i32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrOpen ( lpagentaddress : :: windows::core::PCSTR , lpagentcommunity : :: windows::core::PCSTR , ntimeout : i32 , nretries : i32 ) -> *mut ::core::ffi::c_void ); SnmpMgrOpen(lpagentaddress.into().abi(), lpagentcommunity.into().abi(), ntimeout, nretries) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpMgrRequest(session: *mut ::core::ffi::c_void, requesttype: u8, variablebindings: *mut SnmpVarBindList, errorstatus: *mut SNMP_ERROR_STATUS, errorindex: *mut i32) -> i32 { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrRequest ( session : *mut ::core::ffi::c_void , requesttype : u8 , variablebindings : *mut SnmpVarBindList , errorstatus : *mut SNMP_ERROR_STATUS , errorindex : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrRequest ( session : *mut ::core::ffi::c_void , requesttype : u8 , variablebindings : *mut SnmpVarBindList , errorstatus : *mut SNMP_ERROR_STATUS , errorindex : *mut i32 ) -> i32 ); SnmpMgrRequest(session, requesttype, variablebindings, errorstatus, errorindex) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] @@ -242,32 +242,32 @@ pub unsafe fn SnmpMgrStrToOid(string: P0, oid: *mut AsnObjectIdentifier) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrStrToOid ( string : :: windows::core::PCSTR , oid : *mut AsnObjectIdentifier ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrStrToOid ( string : :: windows::core::PCSTR , oid : *mut AsnObjectIdentifier ) -> super::super::Foundation:: BOOL ); SnmpMgrStrToOid(string.into().abi(), oid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpMgrTrapListen(phtrapavailable: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mgmtapi.dll""system" fn SnmpMgrTrapListen ( phtrapavailable : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mgmtapi.dll""system" fn SnmpMgrTrapListen ( phtrapavailable : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SnmpMgrTrapListen(phtrapavailable) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpOidCompare(xoid: *mut smiOID, yoid: *mut smiOID, maxlen: u32, result: *mut i32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpOidCompare ( xoid : *mut smiOID , yoid : *mut smiOID , maxlen : u32 , result : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpOidCompare ( xoid : *mut smiOID , yoid : *mut smiOID , maxlen : u32 , result : *mut i32 ) -> u32 ); SnmpOidCompare(xoid, yoid, maxlen, result) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpOidCopy(srcoid: *mut smiOID, dstoid: *mut smiOID) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpOidCopy ( srcoid : *mut smiOID , dstoid : *mut smiOID ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpOidCopy ( srcoid : *mut smiOID , dstoid : *mut smiOID ) -> u32 ); SnmpOidCopy(srcoid, dstoid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpOidToStr(srcoid: *const smiOID, string: &mut [u8]) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpOidToStr ( srcoid : *const smiOID , size : u32 , string : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpOidToStr ( srcoid : *const smiOID , size : u32 , string : :: windows::core::PSTR ) -> u32 ); SnmpOidToStr(srcoid, string.len() as _, ::core::mem::transmute(string.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] @@ -277,85 +277,85 @@ pub unsafe fn SnmpOpen(hwnd: P0, wmsg: u32) -> isize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpOpen ( hwnd : super::super::Foundation:: HWND , wmsg : u32 ) -> isize ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpOpen ( hwnd : super::super::Foundation:: HWND , wmsg : u32 ) -> isize ); SnmpOpen(hwnd.into(), wmsg) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpRecvMsg(session: isize, srcentity: *mut isize, dstentity: *mut isize, context: *mut isize, pdu: *mut isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpRecvMsg ( session : isize , srcentity : *mut isize , dstentity : *mut isize , context : *mut isize , pdu : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpRecvMsg ( session : isize , srcentity : *mut isize , dstentity : *mut isize , context : *mut isize , pdu : *mut isize ) -> u32 ); SnmpRecvMsg(session, srcentity, dstentity, context, pdu) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpRegister(session: isize, srcentity: isize, dstentity: isize, context: isize, notification: *mut smiOID, state: SNMP_STATUS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpRegister ( session : isize , srcentity : isize , dstentity : isize , context : isize , notification : *mut smiOID , state : SNMP_STATUS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpRegister ( session : isize , srcentity : isize , dstentity : isize , context : isize , notification : *mut smiOID , state : SNMP_STATUS ) -> u32 ); SnmpRegister(session, srcentity, dstentity, context, notification, state) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSendMsg(session: isize, srcentity: isize, dstentity: isize, context: isize, pdu: isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpSendMsg ( session : isize , srcentity : isize , dstentity : isize , context : isize , pdu : isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpSendMsg ( session : isize , srcentity : isize , dstentity : isize , context : isize , pdu : isize ) -> u32 ); SnmpSendMsg(session, srcentity, dstentity, context, pdu) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSetPduData(pdu: isize, pdu_type: *const i32, request_id: *const i32, non_repeaters: *const i32, max_repetitions: *const i32, varbindlist: *const isize) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpSetPduData ( pdu : isize , pdu_type : *const i32 , request_id : *const i32 , non_repeaters : *const i32 , max_repetitions : *const i32 , varbindlist : *const isize ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpSetPduData ( pdu : isize , pdu_type : *const i32 , request_id : *const i32 , non_repeaters : *const i32 , max_repetitions : *const i32 , varbindlist : *const isize ) -> u32 ); SnmpSetPduData(pdu, pdu_type, request_id, non_repeaters, max_repetitions, varbindlist) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSetPort(hentity: isize, nport: u32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpSetPort ( hentity : isize , nport : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpSetPort ( hentity : isize , nport : u32 ) -> u32 ); SnmpSetPort(hentity, nport) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSetRetransmitMode(nretransmitmode: SNMP_STATUS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpSetRetransmitMode ( nretransmitmode : SNMP_STATUS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpSetRetransmitMode ( nretransmitmode : SNMP_STATUS ) -> u32 ); SnmpSetRetransmitMode(nretransmitmode) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSetRetry(hentity: isize, npolicyretry: u32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpSetRetry ( hentity : isize , npolicyretry : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpSetRetry ( hentity : isize , npolicyretry : u32 ) -> u32 ); SnmpSetRetry(hentity, npolicyretry) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSetTimeout(hentity: isize, npolicytimeout: u32) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpSetTimeout ( hentity : isize , npolicytimeout : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpSetTimeout ( hentity : isize , npolicytimeout : u32 ) -> u32 ); SnmpSetTimeout(hentity, npolicytimeout) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSetTranslateMode(ntranslatemode: SNMP_API_TRANSLATE_MODE) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpSetTranslateMode ( ntranslatemode : SNMP_API_TRANSLATE_MODE ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpSetTranslateMode ( ntranslatemode : SNMP_API_TRANSLATE_MODE ) -> u32 ); SnmpSetTranslateMode(ntranslatemode) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSetVb(vbl: isize, index: u32, name: *mut smiOID, value: *mut smiVALUE) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpSetVb ( vbl : isize , index : u32 , name : *mut smiOID , value : *mut smiVALUE ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpSetVb ( vbl : isize , index : u32 , name : *mut smiOID , value : *mut smiVALUE ) -> u32 ); SnmpSetVb(vbl, index, name, value) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpStartup(nmajorversion: *mut u32, nminorversion: *mut u32, nlevel: *mut u32, ntranslatemode: *mut SNMP_API_TRANSLATE_MODE, nretransmitmode: *mut SNMP_STATUS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpStartup ( nmajorversion : *mut u32 , nminorversion : *mut u32 , nlevel : *mut u32 , ntranslatemode : *mut SNMP_API_TRANSLATE_MODE , nretransmitmode : *mut SNMP_STATUS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpStartup ( nmajorversion : *mut u32 , nminorversion : *mut u32 , nlevel : *mut u32 , ntranslatemode : *mut SNMP_API_TRANSLATE_MODE , nretransmitmode : *mut SNMP_STATUS ) -> u32 ); SnmpStartup(nmajorversion, nminorversion, nlevel, ntranslatemode, nretransmitmode) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpStartupEx(nmajorversion: *mut u32, nminorversion: *mut u32, nlevel: *mut u32, ntranslatemode: *mut SNMP_API_TRANSLATE_MODE, nretransmitmode: *mut SNMP_STATUS) -> u32 { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpStartupEx ( nmajorversion : *mut u32 , nminorversion : *mut u32 , nlevel : *mut u32 , ntranslatemode : *mut SNMP_API_TRANSLATE_MODE , nretransmitmode : *mut SNMP_STATUS ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpStartupEx ( nmajorversion : *mut u32 , nminorversion : *mut u32 , nlevel : *mut u32 , ntranslatemode : *mut SNMP_API_TRANSLATE_MODE , nretransmitmode : *mut SNMP_STATUS ) -> u32 ); SnmpStartupEx(nmajorversion, nminorversion, nlevel, ntranslatemode, nretransmitmode) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpStrToContext(session: isize, string: *mut smiOCTETS) -> isize { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpStrToContext ( session : isize , string : *mut smiOCTETS ) -> isize ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpStrToContext ( session : isize , string : *mut smiOCTETS ) -> isize ); SnmpStrToContext(session, string) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] @@ -364,7 +364,7 @@ pub unsafe fn SnmpStrToEntity(session: isize, string: P0) -> isize where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpStrToEntity ( session : isize , string : :: windows::core::PCSTR ) -> isize ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpStrToEntity ( session : isize , string : :: windows::core::PCSTR ) -> isize ); SnmpStrToEntity(session, string.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] @@ -373,39 +373,39 @@ pub unsafe fn SnmpStrToOid(string: P0, dstoid: *mut smiOID) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wsnmp32.dll""system" fn SnmpStrToOid ( string : :: windows::core::PCSTR , dstoid : *mut smiOID ) -> u32 ); + ::windows::imp::link ! ( "wsnmp32.dll""system" fn SnmpStrToOid ( string : :: windows::core::PCSTR , dstoid : *mut smiOID ) -> u32 ); SnmpStrToOid(string.into().abi(), dstoid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSvcGetUptime() -> u32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpSvcGetUptime ( ) -> u32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpSvcGetUptime ( ) -> u32 ); SnmpSvcGetUptime() } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSvcSetLogLevel(nloglevel: SNMP_LOG) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpSvcSetLogLevel ( nloglevel : SNMP_LOG ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpSvcSetLogLevel ( nloglevel : SNMP_LOG ) -> ( ) ); SnmpSvcSetLogLevel(nloglevel) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpSvcSetLogType(nlogtype: SNMP_OUTPUT_LOG_TYPE) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpSvcSetLogType ( nlogtype : SNMP_OUTPUT_LOG_TYPE ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpSvcSetLogType ( nlogtype : SNMP_OUTPUT_LOG_TYPE ) -> ( ) ); SnmpSvcSetLogType(nlogtype) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilAsnAnyCpy(panydst: *mut AsnAny, panysrc: *mut AsnAny) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilAsnAnyCpy ( panydst : *mut AsnAny , panysrc : *mut AsnAny ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilAsnAnyCpy ( panydst : *mut AsnAny , panysrc : *mut AsnAny ) -> i32 ); SnmpUtilAsnAnyCpy(panydst, panysrc) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilAsnAnyFree(pany: *mut AsnAny) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilAsnAnyFree ( pany : *mut AsnAny ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilAsnAnyFree ( pany : *mut AsnAny ) -> ( ) ); SnmpUtilAsnAnyFree(pany) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] @@ -414,136 +414,136 @@ pub unsafe fn SnmpUtilDbgPrint(nloglevel: SNMP_LOG, szformat: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "snmpapi.dll""cdecl" fn SnmpUtilDbgPrint ( nloglevel : SNMP_LOG , szformat : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""cdecl" fn SnmpUtilDbgPrint ( nloglevel : SNMP_LOG , szformat : :: windows::core::PCSTR ) -> ( ) ); SnmpUtilDbgPrint(nloglevel, szformat.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilIdsToA(ids: *mut u32, idlength: u32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilIdsToA ( ids : *mut u32 , idlength : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilIdsToA ( ids : *mut u32 , idlength : u32 ) -> :: windows::core::PSTR ); SnmpUtilIdsToA(ids, idlength) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilMemAlloc(nbytes: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilMemAlloc ( nbytes : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilMemAlloc ( nbytes : u32 ) -> *mut ::core::ffi::c_void ); SnmpUtilMemAlloc(nbytes) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilMemFree(pmem: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilMemFree ( pmem : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilMemFree ( pmem : *mut ::core::ffi::c_void ) -> ( ) ); SnmpUtilMemFree(pmem) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilMemReAlloc(pmem: *mut ::core::ffi::c_void, nbytes: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilMemReAlloc ( pmem : *mut ::core::ffi::c_void , nbytes : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilMemReAlloc ( pmem : *mut ::core::ffi::c_void , nbytes : u32 ) -> *mut ::core::ffi::c_void ); SnmpUtilMemReAlloc(pmem, nbytes) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilOctetsCmp(poctets1: *mut AsnOctetString, poctets2: *mut AsnOctetString) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOctetsCmp ( poctets1 : *mut AsnOctetString , poctets2 : *mut AsnOctetString ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOctetsCmp ( poctets1 : *mut AsnOctetString , poctets2 : *mut AsnOctetString ) -> i32 ); SnmpUtilOctetsCmp(poctets1, poctets2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilOctetsCpy(poctetsdst: *mut AsnOctetString, poctetssrc: *mut AsnOctetString) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOctetsCpy ( poctetsdst : *mut AsnOctetString , poctetssrc : *mut AsnOctetString ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOctetsCpy ( poctetsdst : *mut AsnOctetString , poctetssrc : *mut AsnOctetString ) -> i32 ); SnmpUtilOctetsCpy(poctetsdst, poctetssrc) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilOctetsFree(poctets: *mut AsnOctetString) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOctetsFree ( poctets : *mut AsnOctetString ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOctetsFree ( poctets : *mut AsnOctetString ) -> ( ) ); SnmpUtilOctetsFree(poctets) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilOctetsNCmp(poctets1: *mut AsnOctetString, poctets2: *mut AsnOctetString, nchars: u32) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOctetsNCmp ( poctets1 : *mut AsnOctetString , poctets2 : *mut AsnOctetString , nchars : u32 ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOctetsNCmp ( poctets1 : *mut AsnOctetString , poctets2 : *mut AsnOctetString , nchars : u32 ) -> i32 ); SnmpUtilOctetsNCmp(poctets1, poctets2, nchars) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilOidAppend(poiddst: *mut AsnObjectIdentifier, poidsrc: *mut AsnObjectIdentifier) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOidAppend ( poiddst : *mut AsnObjectIdentifier , poidsrc : *mut AsnObjectIdentifier ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOidAppend ( poiddst : *mut AsnObjectIdentifier , poidsrc : *mut AsnObjectIdentifier ) -> i32 ); SnmpUtilOidAppend(poiddst, poidsrc) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilOidCmp(poid1: *mut AsnObjectIdentifier, poid2: *mut AsnObjectIdentifier) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOidCmp ( poid1 : *mut AsnObjectIdentifier , poid2 : *mut AsnObjectIdentifier ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOidCmp ( poid1 : *mut AsnObjectIdentifier , poid2 : *mut AsnObjectIdentifier ) -> i32 ); SnmpUtilOidCmp(poid1, poid2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilOidCpy(poiddst: *mut AsnObjectIdentifier, poidsrc: *mut AsnObjectIdentifier) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOidCpy ( poiddst : *mut AsnObjectIdentifier , poidsrc : *mut AsnObjectIdentifier ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOidCpy ( poiddst : *mut AsnObjectIdentifier , poidsrc : *mut AsnObjectIdentifier ) -> i32 ); SnmpUtilOidCpy(poiddst, poidsrc) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilOidFree(poid: *mut AsnObjectIdentifier) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOidFree ( poid : *mut AsnObjectIdentifier ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOidFree ( poid : *mut AsnObjectIdentifier ) -> ( ) ); SnmpUtilOidFree(poid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilOidNCmp(poid1: *mut AsnObjectIdentifier, poid2: *mut AsnObjectIdentifier, nsubids: u32) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOidNCmp ( poid1 : *mut AsnObjectIdentifier , poid2 : *mut AsnObjectIdentifier , nsubids : u32 ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOidNCmp ( poid1 : *mut AsnObjectIdentifier , poid2 : *mut AsnObjectIdentifier , nsubids : u32 ) -> i32 ); SnmpUtilOidNCmp(poid1, poid2, nsubids) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilOidToA(oid: *mut AsnObjectIdentifier) -> ::windows::core::PSTR { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilOidToA ( oid : *mut AsnObjectIdentifier ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilOidToA ( oid : *mut AsnObjectIdentifier ) -> :: windows::core::PSTR ); SnmpUtilOidToA(oid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilPrintAsnAny(pany: *mut AsnAny) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilPrintAsnAny ( pany : *mut AsnAny ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilPrintAsnAny ( pany : *mut AsnAny ) -> ( ) ); SnmpUtilPrintAsnAny(pany) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] #[inline] pub unsafe fn SnmpUtilPrintOid(oid: *mut AsnObjectIdentifier) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilPrintOid ( oid : *mut AsnObjectIdentifier ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilPrintOid ( oid : *mut AsnObjectIdentifier ) -> ( ) ); SnmpUtilPrintOid(oid) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilVarBindCpy(pvbdst: *mut SnmpVarBind, pvbsrc: *mut SnmpVarBind) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilVarBindCpy ( pvbdst : *mut SnmpVarBind , pvbsrc : *mut SnmpVarBind ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilVarBindCpy ( pvbdst : *mut SnmpVarBind , pvbsrc : *mut SnmpVarBind ) -> i32 ); SnmpUtilVarBindCpy(pvbdst, pvbsrc) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilVarBindFree(pvb: *mut SnmpVarBind) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilVarBindFree ( pvb : *mut SnmpVarBind ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilVarBindFree ( pvb : *mut SnmpVarBind ) -> ( ) ); SnmpUtilVarBindFree(pvb) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilVarBindListCpy(pvbldst: *mut SnmpVarBindList, pvblsrc: *mut SnmpVarBindList) -> i32 { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilVarBindListCpy ( pvbldst : *mut SnmpVarBindList , pvblsrc : *mut SnmpVarBindList ) -> i32 ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilVarBindListCpy ( pvbldst : *mut SnmpVarBindList , pvblsrc : *mut SnmpVarBindList ) -> i32 ); SnmpUtilVarBindListCpy(pvbldst, pvblsrc) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SnmpUtilVarBindListFree(pvbl: *mut SnmpVarBindList) { - ::windows::core::link ! ( "snmpapi.dll""system" fn SnmpUtilVarBindListFree ( pvbl : *mut SnmpVarBindList ) -> ( ) ); + ::windows::imp::link ! ( "snmpapi.dll""system" fn SnmpUtilVarBindListFree ( pvbl : *mut SnmpVarBindList ) -> ( ) ); SnmpUtilVarBindListFree(pvbl) } #[doc = "*Required features: `\"Win32_NetworkManagement_Snmp\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs index e9bf2f58d5..157acfd5b7 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs @@ -1,13 +1,13 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn MultinetGetConnectionPerformanceA(lpnetresource: *const NETRESOURCEA, lpnetconnectinfostruct: *mut NETCONNECTINFOSTRUCT) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn MultinetGetConnectionPerformanceA ( lpnetresource : *const NETRESOURCEA , lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn MultinetGetConnectionPerformanceA ( lpnetresource : *const NETRESOURCEA , lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT ) -> u32 ); MultinetGetConnectionPerformanceA(lpnetresource, lpnetconnectinfostruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn MultinetGetConnectionPerformanceW(lpnetresource: *const NETRESOURCEW, lpnetconnectinfostruct: *mut NETCONNECTINFOSTRUCT) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn MultinetGetConnectionPerformanceW ( lpnetresource : *const NETRESOURCEW , lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn MultinetGetConnectionPerformanceW ( lpnetresource : *const NETRESOURCEW , lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT ) -> u32 ); MultinetGetConnectionPerformanceW(lpnetresource, lpnetconnectinfostruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPAddConnection ( lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpusername : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPAddConnection ( lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpusername : :: windows::core::PCWSTR ) -> u32 ); NPAddConnection(lpnetresource, lppassword.into().abi(), lpusername.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -29,7 +29,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPAddConnection3 ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpusername : :: windows::core::PCWSTR , dwflags : NET_USE_CONNECT_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPAddConnection3 ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpusername : :: windows::core::PCWSTR , dwflags : NET_USE_CONNECT_FLAGS ) -> u32 ); NPAddConnection3(hwndowner.into(), lpnetresource, lppassword.into().abi(), lpusername.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -39,7 +39,7 @@ pub unsafe fn NPAddConnection4(hwndowner: P0, lpnetresource: *const NETRESOU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntlanman.dll""system" fn NPAddConnection4 ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , lpauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn NPAddConnection4 ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , lpauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 ) -> u32 ); NPAddConnection4(hwndowner.into(), lpnetresource, ::core::mem::transmute(lpauthbuffer.unwrap_or(::std::ptr::null())), cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpuseoptions.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -50,7 +50,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPCancelConnection ( lpname : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPCancelConnection ( lpname : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); NPCancelConnection(lpname.into().abi(), fforce.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -61,7 +61,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntlanman.dll""system" fn NPCancelConnection2 ( lpname : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn NPCancelConnection2 ( lpname : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL , dwflags : u32 ) -> u32 ); NPCancelConnection2(lpname.into().abi(), fforce.into(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -71,7 +71,7 @@ pub unsafe fn NPCloseEnum(henum: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPCloseEnum ( henum : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPCloseEnum ( henum : super::super::Foundation:: HANDLE ) -> u32 ); NPCloseEnum(henum.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -81,7 +81,7 @@ pub unsafe fn NPEnumResource(henum: P0, lpccount: *mut u32, lpbuffer: *mut : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPEnumResource ( henum : super::super::Foundation:: HANDLE , lpccount : *mut u32 , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPEnumResource ( henum : super::super::Foundation:: HANDLE , lpccount : *mut u32 , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); NPEnumResource(henum.into(), lpccount, lpbuffer, lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -90,13 +90,13 @@ pub unsafe fn NPFormatNetworkName(lpremotename: P0, lpformattedname: ::windo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPFormatNetworkName ( lpremotename : :: windows::core::PCWSTR , lpformattedname : :: windows::core::PWSTR , lpnlength : *mut u32 , dwflags : NETWORK_NAME_FORMAT_FLAGS , dwavecharperline : u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPFormatNetworkName ( lpremotename : :: windows::core::PCWSTR , lpformattedname : :: windows::core::PWSTR , lpnlength : *mut u32 , dwflags : NETWORK_NAME_FORMAT_FLAGS , dwavecharperline : u32 ) -> u32 ); NPFormatNetworkName(lpremotename.into().abi(), ::core::mem::transmute(lpformattedname), lpnlength, dwflags, dwavecharperline) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn NPGetCaps(ndex: u32) -> u32 { - ::windows::core::link ! ( "davclnt.dll""system" fn NPGetCaps ( ndex : u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPGetCaps ( ndex : u32 ) -> u32 ); NPGetCaps(ndex) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -105,7 +105,7 @@ pub unsafe fn NPGetConnection(lplocalname: P0, lpremotename: ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPGetConnection ( lplocalname : :: windows::core::PCWSTR , lpremotename : :: windows::core::PWSTR , lpnbufferlen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPGetConnection ( lplocalname : :: windows::core::PCWSTR , lpremotename : :: windows::core::PWSTR , lpnbufferlen : *mut u32 ) -> u32 ); NPGetConnection(lplocalname.into().abi(), ::core::mem::transmute(lpremotename), lpnbufferlen) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -114,7 +114,7 @@ pub unsafe fn NPGetConnection3(lplocalname: P0, dwlevel: u32, lpbuffer: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntlanman.dll""system" fn NPGetConnection3 ( lplocalname : :: windows::core::PCWSTR , dwlevel : u32 , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn NPGetConnection3 ( lplocalname : :: windows::core::PCWSTR , dwlevel : u32 , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); NPGetConnection3(lplocalname.into().abi(), dwlevel, lpbuffer, lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -123,7 +123,7 @@ pub unsafe fn NPGetConnectionPerformance(lpremotename: P0, lpnetconnectinfo: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntlanman.dll""system" fn NPGetConnectionPerformance ( lpremotename : :: windows::core::PCWSTR , lpnetconnectinfo : *mut NETCONNECTINFOSTRUCT ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn NPGetConnectionPerformance ( lpremotename : :: windows::core::PCWSTR , lpnetconnectinfo : *mut NETCONNECTINFOSTRUCT ) -> u32 ); NPGetConnectionPerformance(lpremotename.into().abi(), lpnetconnectinfo) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -132,19 +132,19 @@ pub unsafe fn NPGetPersistentUseOptionsForConnection(lpremotepath: P0, lprea where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntlanman.dll""system" fn NPGetPersistentUseOptionsForConnection ( lpremotepath : :: windows::core::PCWSTR , lpreaduseoptions : *const u8 , cbreaduseoptions : u32 , lpwriteuseoptions : *mut u8 , lpsizewriteuseoptions : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn NPGetPersistentUseOptionsForConnection ( lpremotepath : :: windows::core::PCWSTR , lpreaduseoptions : *const u8 , cbreaduseoptions : u32 , lpwriteuseoptions : *mut u8 , lpsizewriteuseoptions : *mut u32 ) -> u32 ); NPGetPersistentUseOptionsForConnection(lpremotepath.into().abi(), ::core::mem::transmute(lpreaduseoptions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreaduseoptions.as_deref().map_or(0, |slice| slice.len() as _), lpwriteuseoptions, lpsizewriteuseoptions) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn NPGetResourceInformation(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32, lplpsystem: *mut ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "davclnt.dll""system" fn NPGetResourceInformation ( lpnetresource : *const NETRESOURCEW , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 , lplpsystem : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPGetResourceInformation ( lpnetresource : *const NETRESOURCEW , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 , lplpsystem : *mut :: windows::core::PWSTR ) -> u32 ); NPGetResourceInformation(lpnetresource, lpbuffer, lpbuffersize, lplpsystem) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn NPGetResourceParent(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "davclnt.dll""system" fn NPGetResourceParent ( lpnetresource : *const NETRESOURCEW , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPGetResourceParent ( lpnetresource : *const NETRESOURCEW , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); NPGetResourceParent(lpnetresource, lpbuffer, lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -153,7 +153,7 @@ pub unsafe fn NPGetUniversalName(lplocalpath: P0, dwinfolevel: UNC_INFO_LEVE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPGetUniversalName ( lplocalpath : :: windows::core::PCWSTR , dwinfolevel : UNC_INFO_LEVEL , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPGetUniversalName ( lplocalpath : :: windows::core::PCWSTR , dwinfolevel : UNC_INFO_LEVEL , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); NPGetUniversalName(lplocalpath.into().abi(), dwinfolevel, lpbuffer, lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -162,14 +162,14 @@ pub unsafe fn NPGetUser(lpname: P0, lpusername: ::windows::core::PWSTR, lpnb where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "davclnt.dll""system" fn NPGetUser ( lpname : :: windows::core::PCWSTR , lpusername : :: windows::core::PWSTR , lpnbufferlen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPGetUser ( lpname : :: windows::core::PCWSTR , lpusername : :: windows::core::PWSTR , lpnbufferlen : *mut u32 ) -> u32 ); NPGetUser(lpname.into().abi(), ::core::mem::transmute(lpusername), lpnbufferlen) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn NPOpenEnum(dwscope: u32, dwtype: u32, dwusage: u32, lpnetresource: ::core::option::Option<*const NETRESOURCEW>, lphenum: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "davclnt.dll""system" fn NPOpenEnum ( dwscope : u32 , dwtype : u32 , dwusage : u32 , lpnetresource : *const NETRESOURCEW , lphenum : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn NPOpenEnum ( dwscope : u32 , dwtype : u32 , dwusage : u32 , lpnetresource : *const NETRESOURCEW , lphenum : *mut super::super::Foundation:: HANDLE ) -> u32 ); NPOpenEnum(dwscope, dwtype, dwusage, ::core::mem::transmute(lpnetresource.unwrap_or(::std::ptr::null())), lphenum) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -179,7 +179,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetAddConnection2A ( lpnetresource : *const NETRESOURCEA , lppassword : :: windows::core::PCSTR , lpusername : :: windows::core::PCSTR , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetAddConnection2A ( lpnetresource : *const NETRESOURCEA , lppassword : :: windows::core::PCSTR , lpusername : :: windows::core::PCSTR , dwflags : u32 ) -> u32 ); WNetAddConnection2A(lpnetresource, lppassword.into().abi(), lpusername.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -189,7 +189,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetAddConnection2W ( lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpusername : :: windows::core::PCWSTR , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetAddConnection2W ( lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpusername : :: windows::core::PCWSTR , dwflags : u32 ) -> u32 ); WNetAddConnection2W(lpnetresource, lppassword.into().abi(), lpusername.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -201,7 +201,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetAddConnection3A ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEA , lppassword : :: windows::core::PCSTR , lpusername : :: windows::core::PCSTR , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetAddConnection3A ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEA , lppassword : :: windows::core::PCSTR , lpusername : :: windows::core::PCSTR , dwflags : u32 ) -> u32 ); WNetAddConnection3A(hwndowner.into(), lpnetresource, lppassword.into().abi(), lpusername.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -213,7 +213,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetAddConnection3W ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpusername : :: windows::core::PCWSTR , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetAddConnection3W ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpusername : :: windows::core::PCWSTR , dwflags : u32 ) -> u32 ); WNetAddConnection3W(hwndowner.into(), lpnetresource, lppassword.into().abi(), lpusername.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -223,7 +223,7 @@ pub unsafe fn WNetAddConnection4A(hwndowner: P0, lpnetresource: *const NETRE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetAddConnection4A ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEA , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetAddConnection4A ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEA , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 ) -> u32 ); WNetAddConnection4A(hwndowner.into(), lpnetresource, pauthbuffer, cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_ptr()), lpuseoptions.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -233,7 +233,7 @@ pub unsafe fn WNetAddConnection4W(hwndowner: P0, lpnetresource: *const NETRE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetAddConnection4W ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetAddConnection4W ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 ) -> u32 ); WNetAddConnection4W(hwndowner.into(), lpnetresource, pauthbuffer, cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_ptr()), lpuseoptions.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -244,7 +244,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetAddConnectionA ( lpremotename : :: windows::core::PCSTR , lppassword : :: windows::core::PCSTR , lplocalname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetAddConnectionA ( lpremotename : :: windows::core::PCSTR , lppassword : :: windows::core::PCSTR , lplocalname : :: windows::core::PCSTR ) -> u32 ); WNetAddConnectionA(lpremotename.into().abi(), lppassword.into().abi(), lplocalname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -255,7 +255,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetAddConnectionW ( lpremotename : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , lplocalname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetAddConnectionW ( lpremotename : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , lplocalname : :: windows::core::PCWSTR ) -> u32 ); WNetAddConnectionW(lpremotename.into().abi(), lppassword.into().abi(), lplocalname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -266,7 +266,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetCancelConnection2A ( lpname : :: windows::core::PCSTR , dwflags : u32 , fforce : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetCancelConnection2A ( lpname : :: windows::core::PCSTR , dwflags : u32 , fforce : super::super::Foundation:: BOOL ) -> u32 ); WNetCancelConnection2A(lpname.into().abi(), dwflags, fforce.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -277,7 +277,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetCancelConnection2W ( lpname : :: windows::core::PCWSTR , dwflags : u32 , fforce : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetCancelConnection2W ( lpname : :: windows::core::PCWSTR , dwflags : u32 , fforce : super::super::Foundation:: BOOL ) -> u32 ); WNetCancelConnection2W(lpname.into().abi(), dwflags, fforce.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -288,7 +288,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetCancelConnectionA ( lpname : :: windows::core::PCSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetCancelConnectionA ( lpname : :: windows::core::PCSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); WNetCancelConnectionA(lpname.into().abi(), fforce.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -299,7 +299,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetCancelConnectionW ( lpname : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetCancelConnectionW ( lpname : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); WNetCancelConnectionW(lpname.into().abi(), fforce.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -309,7 +309,7 @@ pub unsafe fn WNetCloseEnum(henum: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetCloseEnum ( henum : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetCloseEnum ( henum : super::super::Foundation:: HANDLE ) -> u32 ); WNetCloseEnum(henum.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -319,21 +319,21 @@ pub unsafe fn WNetConnectionDialog(hwnd: P0, dwtype: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetConnectionDialog ( hwnd : super::super::Foundation:: HWND , dwtype : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetConnectionDialog ( hwnd : super::super::Foundation:: HWND , dwtype : u32 ) -> u32 ); WNetConnectionDialog(hwnd.into(), dwtype) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WNetConnectionDialog1A(lpconndlgstruct: *mut CONNECTDLGSTRUCTA) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetConnectionDialog1A ( lpconndlgstruct : *mut CONNECTDLGSTRUCTA ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetConnectionDialog1A ( lpconndlgstruct : *mut CONNECTDLGSTRUCTA ) -> u32 ); WNetConnectionDialog1A(lpconndlgstruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WNetConnectionDialog1W(lpconndlgstruct: *mut CONNECTDLGSTRUCTW) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetConnectionDialog1W ( lpconndlgstruct : *mut CONNECTDLGSTRUCTW ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetConnectionDialog1W ( lpconndlgstruct : *mut CONNECTDLGSTRUCTW ) -> u32 ); WNetConnectionDialog1W(lpconndlgstruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -343,21 +343,21 @@ pub unsafe fn WNetDisconnectDialog(hwnd: P0, dwtype: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetDisconnectDialog ( hwnd : super::super::Foundation:: HWND , dwtype : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetDisconnectDialog ( hwnd : super::super::Foundation:: HWND , dwtype : u32 ) -> u32 ); WNetDisconnectDialog(hwnd.into(), dwtype) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WNetDisconnectDialog1A(lpconndlgstruct: *const DISCDLGSTRUCTA) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetDisconnectDialog1A ( lpconndlgstruct : *const DISCDLGSTRUCTA ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetDisconnectDialog1A ( lpconndlgstruct : *const DISCDLGSTRUCTA ) -> u32 ); WNetDisconnectDialog1A(lpconndlgstruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WNetDisconnectDialog1W(lpconndlgstruct: *const DISCDLGSTRUCTW) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetDisconnectDialog1W ( lpconndlgstruct : *const DISCDLGSTRUCTW ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetDisconnectDialog1W ( lpconndlgstruct : *const DISCDLGSTRUCTW ) -> u32 ); WNetDisconnectDialog1W(lpconndlgstruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -367,7 +367,7 @@ pub unsafe fn WNetEnumResourceA(henum: P0, lpccount: *mut u32, lpbuffer: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetEnumResourceA ( henum : super::super::Foundation:: HANDLE , lpccount : *mut u32 , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetEnumResourceA ( henum : super::super::Foundation:: HANDLE , lpccount : *mut u32 , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); WNetEnumResourceA(henum.into(), lpccount, lpbuffer, lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -377,7 +377,7 @@ pub unsafe fn WNetEnumResourceW(henum: P0, lpccount: *mut u32, lpbuffer: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetEnumResourceW ( henum : super::super::Foundation:: HANDLE , lpccount : *mut u32 , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetEnumResourceW ( henum : super::super::Foundation:: HANDLE , lpccount : *mut u32 , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); WNetEnumResourceW(henum.into(), lpccount, lpbuffer, lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -386,7 +386,7 @@ pub unsafe fn WNetGetConnectionA(lplocalname: P0, lpremotename: ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetConnectionA ( lplocalname : :: windows::core::PCSTR , lpremotename : :: windows::core::PSTR , lpnlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetConnectionA ( lplocalname : :: windows::core::PCSTR , lpremotename : :: windows::core::PSTR , lpnlength : *mut u32 ) -> u32 ); WNetGetConnectionA(lplocalname.into().abi(), ::core::mem::transmute(lpremotename), lpnlength) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -395,19 +395,19 @@ pub unsafe fn WNetGetConnectionW(lplocalname: P0, lpremotename: ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetConnectionW ( lplocalname : :: windows::core::PCWSTR , lpremotename : :: windows::core::PWSTR , lpnlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetConnectionW ( lplocalname : :: windows::core::PCWSTR , lpremotename : :: windows::core::PWSTR , lpnlength : *mut u32 ) -> u32 ); WNetGetConnectionW(lplocalname.into().abi(), ::core::mem::transmute(lpremotename), lpnlength) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetGetLastErrorA(lperror: *mut u32, lperrorbuf: &mut [u8], lpnamebuf: &mut [u8]) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetLastErrorA ( lperror : *mut u32 , lperrorbuf : :: windows::core::PSTR , nerrorbufsize : u32 , lpnamebuf : :: windows::core::PSTR , nnamebufsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetLastErrorA ( lperror : *mut u32 , lperrorbuf : :: windows::core::PSTR , nerrorbufsize : u32 , lpnamebuf : :: windows::core::PSTR , nnamebufsize : u32 ) -> u32 ); WNetGetLastErrorA(lperror, ::core::mem::transmute(lperrorbuf.as_ptr()), lperrorbuf.len() as _, ::core::mem::transmute(lpnamebuf.as_ptr()), lpnamebuf.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetGetLastErrorW(lperror: *mut u32, lperrorbuf: &mut [u16], lpnamebuf: &mut [u16]) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetLastErrorW ( lperror : *mut u32 , lperrorbuf : :: windows::core::PWSTR , nerrorbufsize : u32 , lpnamebuf : :: windows::core::PWSTR , nnamebufsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetLastErrorW ( lperror : *mut u32 , lperrorbuf : :: windows::core::PWSTR , nerrorbufsize : u32 , lpnamebuf : :: windows::core::PWSTR , nnamebufsize : u32 ) -> u32 ); WNetGetLastErrorW(lperror, ::core::mem::transmute(lperrorbuf.as_ptr()), lperrorbuf.len() as _, ::core::mem::transmute(lpnamebuf.as_ptr()), lpnamebuf.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -417,7 +417,7 @@ pub unsafe fn WNetGetNetworkInformationA(lpprovider: P0, lpnetinfostruct: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetNetworkInformationA ( lpprovider : :: windows::core::PCSTR , lpnetinfostruct : *mut NETINFOSTRUCT ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetNetworkInformationA ( lpprovider : :: windows::core::PCSTR , lpnetinfostruct : *mut NETINFOSTRUCT ) -> u32 ); WNetGetNetworkInformationA(lpprovider.into().abi(), lpnetinfostruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -427,43 +427,43 @@ pub unsafe fn WNetGetNetworkInformationW(lpprovider: P0, lpnetinfostruct: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetNetworkInformationW ( lpprovider : :: windows::core::PCWSTR , lpnetinfostruct : *mut NETINFOSTRUCT ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetNetworkInformationW ( lpprovider : :: windows::core::PCWSTR , lpnetinfostruct : *mut NETINFOSTRUCT ) -> u32 ); WNetGetNetworkInformationW(lpprovider.into().abi(), lpnetinfostruct) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetGetProviderNameA(dwnettype: u32, lpprovidername: ::windows::core::PSTR, lpbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetProviderNameA ( dwnettype : u32 , lpprovidername : :: windows::core::PSTR , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetProviderNameA ( dwnettype : u32 , lpprovidername : :: windows::core::PSTR , lpbuffersize : *mut u32 ) -> u32 ); WNetGetProviderNameA(dwnettype, ::core::mem::transmute(lpprovidername), lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetGetProviderNameW(dwnettype: u32, lpprovidername: ::windows::core::PWSTR, lpbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetProviderNameW ( dwnettype : u32 , lpprovidername : :: windows::core::PWSTR , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetProviderNameW ( dwnettype : u32 , lpprovidername : :: windows::core::PWSTR , lpbuffersize : *mut u32 ) -> u32 ); WNetGetProviderNameW(dwnettype, ::core::mem::transmute(lpprovidername), lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetGetResourceInformationA(lpnetresource: *const NETRESOURCEA, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32, lplpsystem: *mut ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetResourceInformationA ( lpnetresource : *const NETRESOURCEA , lpbuffer : *mut ::core::ffi::c_void , lpcbbuffer : *mut u32 , lplpsystem : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetResourceInformationA ( lpnetresource : *const NETRESOURCEA , lpbuffer : *mut ::core::ffi::c_void , lpcbbuffer : *mut u32 , lplpsystem : *mut :: windows::core::PSTR ) -> u32 ); WNetGetResourceInformationA(lpnetresource, lpbuffer, lpcbbuffer, lplpsystem) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetGetResourceInformationW(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32, lplpsystem: *mut ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetResourceInformationW ( lpnetresource : *const NETRESOURCEW , lpbuffer : *mut ::core::ffi::c_void , lpcbbuffer : *mut u32 , lplpsystem : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetResourceInformationW ( lpnetresource : *const NETRESOURCEW , lpbuffer : *mut ::core::ffi::c_void , lpcbbuffer : *mut u32 , lplpsystem : *mut :: windows::core::PWSTR ) -> u32 ); WNetGetResourceInformationW(lpnetresource, lpbuffer, lpcbbuffer, lplpsystem) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetGetResourceParentA(lpnetresource: *const NETRESOURCEA, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetResourceParentA ( lpnetresource : *const NETRESOURCEA , lpbuffer : *mut ::core::ffi::c_void , lpcbbuffer : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetResourceParentA ( lpnetresource : *const NETRESOURCEA , lpbuffer : *mut ::core::ffi::c_void , lpcbbuffer : *mut u32 ) -> u32 ); WNetGetResourceParentA(lpnetresource, lpbuffer, lpcbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetGetResourceParentW(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetResourceParentW ( lpnetresource : *const NETRESOURCEW , lpbuffer : *mut ::core::ffi::c_void , lpcbbuffer : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetResourceParentW ( lpnetresource : *const NETRESOURCEW , lpbuffer : *mut ::core::ffi::c_void , lpcbbuffer : *mut u32 ) -> u32 ); WNetGetResourceParentW(lpnetresource, lpbuffer, lpcbbuffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -472,7 +472,7 @@ pub unsafe fn WNetGetUniversalNameA(lplocalpath: P0, dwinfolevel: UNC_INFO_L where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetUniversalNameA ( lplocalpath : :: windows::core::PCSTR , dwinfolevel : UNC_INFO_LEVEL , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetUniversalNameA ( lplocalpath : :: windows::core::PCSTR , dwinfolevel : UNC_INFO_LEVEL , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); WNetGetUniversalNameA(lplocalpath.into().abi(), dwinfolevel, lpbuffer, lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -481,7 +481,7 @@ pub unsafe fn WNetGetUniversalNameW(lplocalpath: P0, dwinfolevel: UNC_INFO_L where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetUniversalNameW ( lplocalpath : :: windows::core::PCWSTR , dwinfolevel : UNC_INFO_LEVEL , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetUniversalNameW ( lplocalpath : :: windows::core::PCWSTR , dwinfolevel : UNC_INFO_LEVEL , lpbuffer : *mut ::core::ffi::c_void , lpbuffersize : *mut u32 ) -> u32 ); WNetGetUniversalNameW(lplocalpath.into().abi(), dwinfolevel, lpbuffer, lpbuffersize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -490,7 +490,7 @@ pub unsafe fn WNetGetUserA(lpname: P0, lpusername: ::windows::core::PSTR, lp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetUserA ( lpname : :: windows::core::PCSTR , lpusername : :: windows::core::PSTR , lpnlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetUserA ( lpname : :: windows::core::PCSTR , lpusername : :: windows::core::PSTR , lpnlength : *mut u32 ) -> u32 ); WNetGetUserA(lpname.into().abi(), ::core::mem::transmute(lpusername), lpnlength) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -499,19 +499,19 @@ pub unsafe fn WNetGetUserW(lpname: P0, lpusername: ::windows::core::PWSTR, l where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetGetUserW ( lpname : :: windows::core::PCWSTR , lpusername : :: windows::core::PWSTR , lpnlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetGetUserW ( lpname : :: windows::core::PCWSTR , lpusername : :: windows::core::PWSTR , lpnlength : *mut u32 ) -> u32 ); WNetGetUserW(lpname.into().abi(), ::core::mem::transmute(lpusername), lpnlength) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetOpenEnumA(dwscope: NET_RESOURCE_SCOPE, dwtype: NET_RESOURCE_TYPE, dwusage: WNET_OPEN_ENUM_USAGE, lpnetresource: ::core::option::Option<*const NETRESOURCEA>, lphenum: *mut NetEnumHandle) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetOpenEnumA ( dwscope : NET_RESOURCE_SCOPE , dwtype : NET_RESOURCE_TYPE , dwusage : WNET_OPEN_ENUM_USAGE , lpnetresource : *const NETRESOURCEA , lphenum : *mut NetEnumHandle ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetOpenEnumA ( dwscope : NET_RESOURCE_SCOPE , dwtype : NET_RESOURCE_TYPE , dwusage : WNET_OPEN_ENUM_USAGE , lpnetresource : *const NETRESOURCEA , lphenum : *mut NetEnumHandle ) -> u32 ); WNetOpenEnumA(dwscope, dwtype, dwusage, ::core::mem::transmute(lpnetresource.unwrap_or(::std::ptr::null())), lphenum) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] pub unsafe fn WNetOpenEnumW(dwscope: NET_RESOURCE_SCOPE, dwtype: NET_RESOURCE_TYPE, dwusage: WNET_OPEN_ENUM_USAGE, lpnetresource: ::core::option::Option<*const NETRESOURCEW>, lphenum: *mut NetEnumHandle) -> u32 { - ::windows::core::link ! ( "mpr.dll""system" fn WNetOpenEnumW ( dwscope : NET_RESOURCE_SCOPE , dwtype : NET_RESOURCE_TYPE , dwusage : WNET_OPEN_ENUM_USAGE , lpnetresource : *const NETRESOURCEW , lphenum : *mut NetEnumHandle ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetOpenEnumW ( dwscope : NET_RESOURCE_SCOPE , dwtype : NET_RESOURCE_TYPE , dwusage : WNET_OPEN_ENUM_USAGE , lpnetresource : *const NETRESOURCEW , lphenum : *mut NetEnumHandle ) -> u32 ); WNetOpenEnumW(dwscope, dwtype, dwusage, ::core::mem::transmute(lpnetresource.unwrap_or(::std::ptr::null())), lphenum) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -521,7 +521,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetSetLastErrorA ( err : u32 , lperror : :: windows::core::PCSTR , lpproviders : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetSetLastErrorA ( err : u32 , lperror : :: windows::core::PCSTR , lpproviders : :: windows::core::PCSTR ) -> ( ) ); WNetSetLastErrorA(err, lperror.into().abi(), lpproviders.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] @@ -531,7 +531,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetSetLastErrorW ( err : u32 , lperror : :: windows::core::PCWSTR , lpproviders : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetSetLastErrorW ( err : u32 , lperror : :: windows::core::PCWSTR , lpproviders : :: windows::core::PCWSTR ) -> ( ) ); WNetSetLastErrorW(err, lperror.into().abi(), lpproviders.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -541,7 +541,7 @@ pub unsafe fn WNetUseConnection4A(hwndowner: P0, lpnetresource: *const NETRE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetUseConnection4A ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEA , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 , lpaccessname : :: windows::core::PSTR , lpbuffersize : *mut u32 , lpresult : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetUseConnection4A ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEA , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 , lpaccessname : :: windows::core::PSTR , lpbuffersize : *mut u32 , lpresult : *mut u32 ) -> u32 ); WNetUseConnection4A(hwndowner.into(), lpnetresource, ::core::mem::transmute(pauthbuffer.unwrap_or(::std::ptr::null())), cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpuseoptions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -551,7 +551,7 @@ pub unsafe fn WNetUseConnection4W(hwndowner: P0, lpnetresource: *const NETRE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetUseConnection4W ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 , lpaccessname : :: windows::core::PWSTR , lpbuffersize : *mut u32 , lpresult : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetUseConnection4W ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , dwflags : u32 , lpuseoptions : *const u8 , cbuseoptions : u32 , lpaccessname : :: windows::core::PWSTR , lpbuffersize : *mut u32 , lpresult : *mut u32 ) -> u32 ); WNetUseConnection4W(hwndowner.into(), lpnetresource, ::core::mem::transmute(pauthbuffer.unwrap_or(::std::ptr::null())), cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpuseoptions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -563,7 +563,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetUseConnectionA ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEA , lppassword : :: windows::core::PCSTR , lpuserid : :: windows::core::PCSTR , dwflags : NET_USE_CONNECT_FLAGS , lpaccessname : :: windows::core::PSTR , lpbuffersize : *mut u32 , lpresult : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetUseConnectionA ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEA , lppassword : :: windows::core::PCSTR , lpuserid : :: windows::core::PCSTR , dwflags : NET_USE_CONNECT_FLAGS , lpaccessname : :: windows::core::PSTR , lpbuffersize : *mut u32 , lpresult : *mut u32 ) -> u32 ); WNetUseConnectionA(hwndowner.into(), lpnetresource, lppassword.into().abi(), lpuserid.into().abi(), dwflags, ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] @@ -575,7 +575,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mpr.dll""system" fn WNetUseConnectionW ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpuserid : :: windows::core::PCWSTR , dwflags : NET_USE_CONNECT_FLAGS , lpaccessname : :: windows::core::PWSTR , lpbuffersize : *mut u32 , lpresult : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "mpr.dll""system" fn WNetUseConnectionW ( hwndowner : super::super::Foundation:: HWND , lpnetresource : *const NETRESOURCEW , lppassword : :: windows::core::PCWSTR , lpuserid : :: windows::core::PCWSTR , dwflags : NET_USE_CONNECT_FLAGS , lpaccessname : :: windows::core::PWSTR , lpbuffersize : *mut u32 , lpresult : *mut u32 ) -> u32 ); WNetUseConnectionW(hwndowner.into(), lpnetresource, lppassword.into().abi(), lpuserid.into().abi(), dwflags, ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WebDav/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WebDav/mod.rs index ee87094ac5..5274edabd1 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WebDav/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WebDav/mod.rs @@ -7,7 +7,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DavAddConnection ( connectionhandle : *mut super::super::Foundation:: HANDLE , remotename : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , clientcert : *const u8 , certsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DavAddConnection ( connectionhandle : *mut super::super::Foundation:: HANDLE , remotename : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , clientcert : *const u8 , certsize : u32 ) -> u32 ); DavAddConnection(connectionhandle, remotename.into().abi(), username.into().abi(), password.into().abi(), ::core::mem::transmute(clientcert.as_ptr()), clientcert.len() as _) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] @@ -18,7 +18,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "davclnt.dll""system" fn DavCancelConnectionsToServer ( lpname : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn DavCancelConnectionsToServer ( lpname : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL ) -> u32 ); DavCancelConnectionsToServer(lpname.into().abi(), fforce.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] @@ -28,7 +28,7 @@ pub unsafe fn DavDeleteConnection(connectionhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn DavDeleteConnection ( connectionhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DavDeleteConnection ( connectionhandle : super::super::Foundation:: HANDLE ) -> u32 ); DavDeleteConnection(connectionhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] @@ -38,7 +38,7 @@ pub unsafe fn DavFlushFile(hfile: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn DavFlushFile ( hfile : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DavFlushFile ( hfile : super::super::Foundation:: HANDLE ) -> u32 ); DavFlushFile(hfile.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] @@ -48,7 +48,7 @@ pub unsafe fn DavGetExtendedError(hfile: P0, exterror: *mut u32, exterrorstr where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn DavGetExtendedError ( hfile : super::super::Foundation:: HANDLE , exterror : *mut u32 , exterrorstring : :: windows::core::PWSTR , cchsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DavGetExtendedError ( hfile : super::super::Foundation:: HANDLE , exterror : *mut u32 , exterrorstring : :: windows::core::PWSTR , cchsize : *mut u32 ) -> u32 ); DavGetExtendedError(hfile.into(), exterror, ::core::mem::transmute(exterrorstring), cchsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn DavGetHTTPFromUNCPath(uncpath: P0, url: ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DavGetHTTPFromUNCPath ( uncpath : :: windows::core::PCWSTR , url : :: windows::core::PWSTR , lpsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DavGetHTTPFromUNCPath ( uncpath : :: windows::core::PCWSTR , url : :: windows::core::PWSTR , lpsize : *mut u32 ) -> u32 ); DavGetHTTPFromUNCPath(uncpath.into().abi(), ::core::mem::transmute(url), lpsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] @@ -66,7 +66,7 @@ pub unsafe fn DavGetTheLockOwnerOfTheFile(filename: P0, lockownername: ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "davclnt.dll""system" fn DavGetTheLockOwnerOfTheFile ( filename : :: windows::core::PCWSTR , lockownername : :: windows::core::PWSTR , lockownernamelengthinbytes : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn DavGetTheLockOwnerOfTheFile ( filename : :: windows::core::PCWSTR , lockownername : :: windows::core::PWSTR , lockownernamelengthinbytes : *mut u32 ) -> u32 ); DavGetTheLockOwnerOfTheFile(filename.into().abi(), ::core::mem::transmute(lockownername), lockownernamelengthinbytes) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] @@ -75,7 +75,7 @@ pub unsafe fn DavGetUNCFromHTTPPath(url: P0, uncpath: ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DavGetUNCFromHTTPPath ( url : :: windows::core::PCWSTR , uncpath : :: windows::core::PWSTR , lpsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DavGetUNCFromHTTPPath ( url : :: windows::core::PCWSTR , uncpath : :: windows::core::PWSTR , lpsize : *mut u32 ) -> u32 ); DavGetUNCFromHTTPPath(url.into().abi(), ::core::mem::transmute(uncpath), lpsize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] @@ -84,20 +84,20 @@ pub unsafe fn DavInvalidateCache(urlname: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "davclnt.dll""system" fn DavInvalidateCache ( urlname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn DavInvalidateCache ( urlname : :: windows::core::PCWSTR ) -> u32 ); DavInvalidateCache(urlname.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DavRegisterAuthCallback(callback: PFNDAVAUTHCALLBACK, version: u32) -> u32 { - ::windows::core::link ! ( "davclnt.dll""system" fn DavRegisterAuthCallback ( callback : PFNDAVAUTHCALLBACK , version : u32 ) -> u32 ); + ::windows::imp::link ! ( "davclnt.dll""system" fn DavRegisterAuthCallback ( callback : PFNDAVAUTHCALLBACK , version : u32 ) -> u32 ); DavRegisterAuthCallback(callback, version) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] #[inline] pub unsafe fn DavUnregisterAuthCallback(hcallback: u32) { - ::windows::core::link ! ( "davclnt.dll""system" fn DavUnregisterAuthCallback ( hcallback : u32 ) -> ( ) ); + ::windows::imp::link ! ( "davclnt.dll""system" fn DavUnregisterAuthCallback ( hcallback : u32 ) -> ( ) ); DavUnregisterAuthCallback(hcallback) } #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs index b4b6a317d0..115a776b5b 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn WFDCancelOpenSession(hsessionhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WFDCancelOpenSession ( hsessionhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WFDCancelOpenSession ( hsessionhandle : super::super::Foundation:: HANDLE ) -> u32 ); WFDCancelOpenSession(hsessionhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn WFDCloseHandle(hclienthandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WFDCloseHandle ( hclienthandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WFDCloseHandle ( hclienthandle : super::super::Foundation:: HANDLE ) -> u32 ); WFDCloseHandle(hclienthandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -25,14 +25,14 @@ pub unsafe fn WFDCloseSession(hsessionhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WFDCloseSession ( hsessionhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WFDCloseSession ( hsessionhandle : super::super::Foundation:: HANDLE ) -> u32 ); WFDCloseSession(hsessionhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WFDOpenHandle(dwclientversion: u32, pdwnegotiatedversion: *mut u32, phclienthandle: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "wlanapi.dll""system" fn WFDOpenHandle ( dwclientversion : u32 , pdwnegotiatedversion : *mut u32 , phclienthandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WFDOpenHandle ( dwclientversion : u32 , pdwnegotiatedversion : *mut u32 , phclienthandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); WFDOpenHandle(dwclientversion, pdwnegotiatedversion, phclienthandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -42,7 +42,7 @@ pub unsafe fn WFDOpenLegacySession(hclienthandle: P0, plegacymacaddress: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WFDOpenLegacySession ( hclienthandle : super::super::Foundation:: HANDLE , plegacymacaddress : *const *const u8 , phsessionhandle : *mut super::super::Foundation:: HANDLE , pguidsessioninterface : *mut :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WFDOpenLegacySession ( hclienthandle : super::super::Foundation:: HANDLE , plegacymacaddress : *const *const u8 , phsessionhandle : *mut super::super::Foundation:: HANDLE , pguidsessioninterface : *mut :: windows::core::GUID ) -> u32 ); WFDOpenLegacySession(hclienthandle.into(), plegacymacaddress, phsessionhandle, pguidsessioninterface) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -52,19 +52,19 @@ pub unsafe fn WFDStartOpenSession(hclienthandle: P0, pdeviceaddress: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WFDStartOpenSession ( hclienthandle : super::super::Foundation:: HANDLE , pdeviceaddress : *const *const u8 , pvcontext : *const ::core::ffi::c_void , pfncallback : WFD_OPEN_SESSION_COMPLETE_CALLBACK , phsessionhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WFDStartOpenSession ( hclienthandle : super::super::Foundation:: HANDLE , pdeviceaddress : *const *const u8 , pvcontext : *const ::core::ffi::c_void , pfncallback : WFD_OPEN_SESSION_COMPLETE_CALLBACK , phsessionhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); WFDStartOpenSession(hclienthandle.into(), pdeviceaddress, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), pfncallback, phsessionhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[inline] pub unsafe fn WFDUpdateDeviceVisibility(pdeviceaddress: *const *const u8) -> u32 { - ::windows::core::link ! ( "wlanapi.dll""system" fn WFDUpdateDeviceVisibility ( pdeviceaddress : *const *const u8 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WFDUpdateDeviceVisibility ( pdeviceaddress : *const *const u8 ) -> u32 ); WFDUpdateDeviceVisibility(pdeviceaddress) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[inline] pub unsafe fn WlanAllocateMemory(dwmemorysize: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanAllocateMemory ( dwmemorysize : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanAllocateMemory ( dwmemorysize : u32 ) -> *mut ::core::ffi::c_void ); WlanAllocateMemory(dwmemorysize) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -74,7 +74,7 @@ pub unsafe fn WlanCloseHandle(hclienthandle: P0, preserved: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanCloseHandle ( hclienthandle : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanCloseHandle ( hclienthandle : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanCloseHandle(hclienthandle.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] @@ -84,7 +84,7 @@ pub unsafe fn WlanConnect(hclienthandle: P0, pinterfaceguid: *const ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanConnect ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pconnectionparameters : *const WLAN_CONNECTION_PARAMETERS , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanConnect ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pconnectionparameters : *const WLAN_CONNECTION_PARAMETERS , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanConnect(hclienthandle.into(), pinterfaceguid, pconnectionparameters, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] @@ -94,7 +94,7 @@ pub unsafe fn WlanConnect2(hclienthandle: P0, pinterfaceguid: *const ::windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanConnect2 ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pconnectionparameters : *const WLAN_CONNECTION_PARAMETERS_V2 , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanConnect2 ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pconnectionparameters : *const WLAN_CONNECTION_PARAMETERS_V2 , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanConnect2(hclienthandle.into(), pinterfaceguid, pconnectionparameters, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -105,7 +105,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanDeleteProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanDeleteProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanDeleteProfile(hclienthandle.into(), pinterfaceguid, strprofilename.into().abi(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -115,7 +115,7 @@ pub unsafe fn WlanDeviceServiceCommand(hclienthandle: P0, pinterfaceguid: *c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanDeviceServiceCommand ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pdeviceserviceguid : *const :: windows::core::GUID , dwopcode : u32 , dwinbuffersize : u32 , pinbuffer : *const ::core::ffi::c_void , dwoutbuffersize : u32 , poutbuffer : *mut ::core::ffi::c_void , pdwbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanDeviceServiceCommand ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pdeviceserviceguid : *const :: windows::core::GUID , dwopcode : u32 , dwinbuffersize : u32 , pinbuffer : *const ::core::ffi::c_void , dwoutbuffersize : u32 , poutbuffer : *mut ::core::ffi::c_void , pdwbytesreturned : *mut u32 ) -> u32 ); WlanDeviceServiceCommand(hclienthandle.into(), pinterfaceguid, pdeviceserviceguid, dwopcode, dwinbuffersize, ::core::mem::transmute(pinbuffer.unwrap_or(::std::ptr::null())), dwoutbuffersize, ::core::mem::transmute(poutbuffer.unwrap_or(::std::ptr::null_mut())), pdwbytesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -125,7 +125,7 @@ pub unsafe fn WlanDisconnect(hclienthandle: P0, pinterfaceguid: *const ::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanDisconnect ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanDisconnect ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanDisconnect(hclienthandle.into(), pinterfaceguid, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -135,7 +135,7 @@ pub unsafe fn WlanEnumInterfaces(hclienthandle: P0, preserved: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanEnumInterfaces ( hclienthandle : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , ppinterfacelist : *mut *mut WLAN_INTERFACE_INFO_LIST ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanEnumInterfaces ( hclienthandle : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , ppinterfacelist : *mut *mut WLAN_INTERFACE_INFO_LIST ) -> u32 ); WlanEnumInterfaces(hclienthandle.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ppinterfacelist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -146,13 +146,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanExtractPsdIEDataList ( hclienthandle : super::super::Foundation:: HANDLE , dwiedatasize : u32 , prawiedata : *const u8 , strformat : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void , pppsdiedatalist : *mut *mut WLAN_RAW_DATA_LIST ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanExtractPsdIEDataList ( hclienthandle : super::super::Foundation:: HANDLE , dwiedatasize : u32 , prawiedata : *const u8 , strformat : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void , pppsdiedatalist : *mut *mut WLAN_RAW_DATA_LIST ) -> u32 ); WlanExtractPsdIEDataList(hclienthandle.into(), prawiedata.len() as _, ::core::mem::transmute(prawiedata.as_ptr()), strformat.into().abi(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pppsdiedatalist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[inline] pub unsafe fn WlanFreeMemory(pmemory: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanFreeMemory ( pmemory : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanFreeMemory ( pmemory : *const ::core::ffi::c_void ) -> ( ) ); WlanFreeMemory(pmemory) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -162,7 +162,7 @@ pub unsafe fn WlanGetAvailableNetworkList(hclienthandle: P0, pinterfaceguid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetAvailableNetworkList ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , dwflags : u32 , preserved : *const ::core::ffi::c_void , ppavailablenetworklist : *mut *mut WLAN_AVAILABLE_NETWORK_LIST ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetAvailableNetworkList ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , dwflags : u32 , preserved : *const ::core::ffi::c_void , ppavailablenetworklist : *mut *mut WLAN_AVAILABLE_NETWORK_LIST ) -> u32 ); WlanGetAvailableNetworkList(hclienthandle.into(), pinterfaceguid, dwflags, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ppavailablenetworklist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -172,7 +172,7 @@ pub unsafe fn WlanGetAvailableNetworkList2(hclienthandle: P0, pinterfaceguid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetAvailableNetworkList2 ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , dwflags : u32 , preserved : *const ::core::ffi::c_void , ppavailablenetworklist : *mut *mut WLAN_AVAILABLE_NETWORK_LIST_V2 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetAvailableNetworkList2 ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , dwflags : u32 , preserved : *const ::core::ffi::c_void , ppavailablenetworklist : *mut *mut WLAN_AVAILABLE_NETWORK_LIST_V2 ) -> u32 ); WlanGetAvailableNetworkList2(hclienthandle.into(), pinterfaceguid, dwflags, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ppavailablenetworklist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -182,7 +182,7 @@ pub unsafe fn WlanGetFilterList(hclienthandle: P0, wlanfilterlisttype: WLAN_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetFilterList ( hclienthandle : super::super::Foundation:: HANDLE , wlanfilterlisttype : WLAN_FILTER_LIST_TYPE , preserved : *const ::core::ffi::c_void , ppnetworklist : *mut *mut DOT11_NETWORK_LIST ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetFilterList ( hclienthandle : super::super::Foundation:: HANDLE , wlanfilterlisttype : WLAN_FILTER_LIST_TYPE , preserved : *const ::core::ffi::c_void , ppnetworklist : *mut *mut DOT11_NETWORK_LIST ) -> u32 ); WlanGetFilterList(hclienthandle.into(), wlanfilterlisttype, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ppnetworklist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -192,7 +192,7 @@ pub unsafe fn WlanGetInterfaceCapability(hclienthandle: P0, pinterfaceguid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetInterfaceCapability ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , preserved : *const ::core::ffi::c_void , ppcapability : *mut *mut WLAN_INTERFACE_CAPABILITY ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetInterfaceCapability ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , preserved : *const ::core::ffi::c_void , ppcapability : *mut *mut WLAN_INTERFACE_CAPABILITY ) -> u32 ); WlanGetInterfaceCapability(hclienthandle.into(), pinterfaceguid, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ppcapability) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -203,7 +203,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetNetworkBssList ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pdot11ssid : *const DOT11_SSID , dot11bsstype : DOT11_BSS_TYPE , bsecurityenabled : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void , ppwlanbsslist : *mut *mut WLAN_BSS_LIST ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetNetworkBssList ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pdot11ssid : *const DOT11_SSID , dot11bsstype : DOT11_BSS_TYPE , bsecurityenabled : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void , ppwlanbsslist : *mut *mut WLAN_BSS_LIST ) -> u32 ); WlanGetNetworkBssList(hclienthandle.into(), pinterfaceguid, ::core::mem::transmute(pdot11ssid.unwrap_or(::std::ptr::null())), dot11bsstype, bsecurityenabled.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ppwlanbsslist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -214,7 +214,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void , pstrprofilexml : *mut :: windows::core::PWSTR , pdwflags : *mut u32 , pdwgrantedaccess : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void , pstrprofilexml : *mut :: windows::core::PWSTR , pdwflags : *mut u32 , pdwgrantedaccess : *mut u32 ) -> u32 ); WlanGetProfile(hclienthandle.into(), pinterfaceguid, strprofilename.into().abi(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pstrprofilexml, ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwgrantedaccess.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -225,7 +225,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetProfileCustomUserData ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetProfileCustomUserData ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut u8 ) -> u32 ); WlanGetProfileCustomUserData(hclienthandle.into(), pinterfaceguid, strprofilename.into().abi(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pdwdatasize, ppdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -235,7 +235,7 @@ pub unsafe fn WlanGetProfileList(hclienthandle: P0, pinterfaceguid: *const : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetProfileList ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , preserved : *const ::core::ffi::c_void , ppprofilelist : *mut *mut WLAN_PROFILE_INFO_LIST ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetProfileList ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , preserved : *const ::core::ffi::c_void , ppprofilelist : *mut *mut WLAN_PROFILE_INFO_LIST ) -> u32 ); WlanGetProfileList(hclienthandle.into(), pinterfaceguid, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ppprofilelist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -245,7 +245,7 @@ pub unsafe fn WlanGetSecuritySettings(hclienthandle: P0, securableobject: WL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetSecuritySettings ( hclienthandle : super::super::Foundation:: HANDLE , securableobject : WLAN_SECURABLE_OBJECT , pvaluetype : *mut WLAN_OPCODE_VALUE_TYPE , pstrcurrentsddl : *mut :: windows::core::PWSTR , pdwgrantedaccess : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetSecuritySettings ( hclienthandle : super::super::Foundation:: HANDLE , securableobject : WLAN_SECURABLE_OBJECT , pvaluetype : *mut WLAN_OPCODE_VALUE_TYPE , pstrcurrentsddl : *mut :: windows::core::PWSTR , pdwgrantedaccess : *mut u32 ) -> u32 ); WlanGetSecuritySettings(hclienthandle.into(), securableobject, ::core::mem::transmute(pvaluetype.unwrap_or(::std::ptr::null_mut())), pstrcurrentsddl, pdwgrantedaccess) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -255,7 +255,7 @@ pub unsafe fn WlanGetSupportedDeviceServices(hclienthandle: P0, pinterfacegu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanGetSupportedDeviceServices ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , ppdevsvcguidlist : *mut *mut WLAN_DEVICE_SERVICE_GUID_LIST ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanGetSupportedDeviceServices ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , ppdevsvcguidlist : *mut *mut WLAN_DEVICE_SERVICE_GUID_LIST ) -> u32 ); WlanGetSupportedDeviceServices(hclienthandle.into(), pinterfaceguid, ppdevsvcguidlist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -265,7 +265,7 @@ pub unsafe fn WlanHostedNetworkForceStart(hclienthandle: P0, pfailreason: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkForceStart ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkForceStart ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkForceStart(hclienthandle.into(), ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -275,7 +275,7 @@ pub unsafe fn WlanHostedNetworkForceStop(hclienthandle: P0, pfailreason: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkForceStop ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkForceStop ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkForceStop(hclienthandle.into(), ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -285,7 +285,7 @@ pub unsafe fn WlanHostedNetworkInitSettings(hclienthandle: P0, pfailreason: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkInitSettings ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkInitSettings ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkInitSettings(hclienthandle.into(), ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -295,7 +295,7 @@ pub unsafe fn WlanHostedNetworkQueryProperty(hclienthandle: P0, opcode: WLAN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkQueryProperty ( hclienthandle : super::super::Foundation:: HANDLE , opcode : WLAN_HOSTED_NETWORK_OPCODE , pdwdatasize : *mut u32 , ppvdata : *mut *mut ::core::ffi::c_void , pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkQueryProperty ( hclienthandle : super::super::Foundation:: HANDLE , opcode : WLAN_HOSTED_NETWORK_OPCODE , pdwdatasize : *mut u32 , ppvdata : *mut *mut ::core::ffi::c_void , pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkQueryProperty(hclienthandle.into(), opcode, pdwdatasize, ppvdata, pwlanopcodevaluetype, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -305,7 +305,7 @@ pub unsafe fn WlanHostedNetworkQuerySecondaryKey(hclienthandle: P0, pdwkeyle where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkQuerySecondaryKey ( hclienthandle : super::super::Foundation:: HANDLE , pdwkeylength : *mut u32 , ppuckeydata : *mut *mut u8 , pbispassphrase : *mut super::super::Foundation:: BOOL , pbpersistent : *mut super::super::Foundation:: BOOL , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkQuerySecondaryKey ( hclienthandle : super::super::Foundation:: HANDLE , pdwkeylength : *mut u32 , ppuckeydata : *mut *mut u8 , pbispassphrase : *mut super::super::Foundation:: BOOL , pbpersistent : *mut super::super::Foundation:: BOOL , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkQuerySecondaryKey(hclienthandle.into(), pdwkeylength, ppuckeydata, pbispassphrase, pbpersistent, ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -315,7 +315,7 @@ pub unsafe fn WlanHostedNetworkQueryStatus(hclienthandle: P0, ppwlanhostedne where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkQueryStatus ( hclienthandle : super::super::Foundation:: HANDLE , ppwlanhostednetworkstatus : *mut *mut WLAN_HOSTED_NETWORK_STATUS , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkQueryStatus ( hclienthandle : super::super::Foundation:: HANDLE , ppwlanhostednetworkstatus : *mut *mut WLAN_HOSTED_NETWORK_STATUS , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkQueryStatus(hclienthandle.into(), ppwlanhostednetworkstatus, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -325,7 +325,7 @@ pub unsafe fn WlanHostedNetworkRefreshSecuritySettings(hclienthandle: P0, pf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkRefreshSecuritySettings ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkRefreshSecuritySettings ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkRefreshSecuritySettings(hclienthandle.into(), ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -335,7 +335,7 @@ pub unsafe fn WlanHostedNetworkSetProperty(hclienthandle: P0, opcode: WLAN_H where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkSetProperty ( hclienthandle : super::super::Foundation:: HANDLE , opcode : WLAN_HOSTED_NETWORK_OPCODE , dwdatasize : u32 , pvdata : *const ::core::ffi::c_void , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkSetProperty ( hclienthandle : super::super::Foundation:: HANDLE , opcode : WLAN_HOSTED_NETWORK_OPCODE , dwdatasize : u32 , pvdata : *const ::core::ffi::c_void , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkSetProperty(hclienthandle.into(), opcode, dwdatasize, pvdata, ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -347,7 +347,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkSetSecondaryKey ( hclienthandle : super::super::Foundation:: HANDLE , dwkeylength : u32 , puckeydata : *const u8 , bispassphrase : super::super::Foundation:: BOOL , bpersistent : super::super::Foundation:: BOOL , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkSetSecondaryKey ( hclienthandle : super::super::Foundation:: HANDLE , dwkeylength : u32 , puckeydata : *const u8 , bispassphrase : super::super::Foundation:: BOOL , bpersistent : super::super::Foundation:: BOOL , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkSetSecondaryKey(hclienthandle.into(), puckeydata.len() as _, ::core::mem::transmute(puckeydata.as_ptr()), bispassphrase.into(), bpersistent.into(), ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -357,7 +357,7 @@ pub unsafe fn WlanHostedNetworkStartUsing(hclienthandle: P0, pfailreason: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkStartUsing ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkStartUsing ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkStartUsing(hclienthandle.into(), ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -367,7 +367,7 @@ pub unsafe fn WlanHostedNetworkStopUsing(hclienthandle: P0, pfailreason: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkStopUsing ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanHostedNetworkStopUsing ( hclienthandle : super::super::Foundation:: HANDLE , pfailreason : *mut WLAN_HOSTED_NETWORK_REASON , pvreserved : *const ::core::ffi::c_void ) -> u32 ); WlanHostedNetworkStopUsing(hclienthandle.into(), ::core::mem::transmute(pfailreason.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -377,14 +377,14 @@ pub unsafe fn WlanIhvControl(hclienthandle: P0, pinterfaceguid: *const ::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanIhvControl ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , r#type : WLAN_IHV_CONTROL_TYPE , dwinbuffersize : u32 , pinbuffer : *const ::core::ffi::c_void , dwoutbuffersize : u32 , poutbuffer : *mut ::core::ffi::c_void , pdwbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanIhvControl ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , r#type : WLAN_IHV_CONTROL_TYPE , dwinbuffersize : u32 , pinbuffer : *const ::core::ffi::c_void , dwoutbuffersize : u32 , poutbuffer : *mut ::core::ffi::c_void , pdwbytesreturned : *mut u32 ) -> u32 ); WlanIhvControl(hclienthandle.into(), pinterfaceguid, r#type, dwinbuffersize, pinbuffer, dwoutbuffersize, ::core::mem::transmute(poutbuffer.unwrap_or(::std::ptr::null_mut())), pdwbytesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WlanOpenHandle(dwclientversion: u32, preserved: ::core::option::Option<*const ::core::ffi::c_void>, pdwnegotiatedversion: *mut u32, phclienthandle: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanOpenHandle ( dwclientversion : u32 , preserved : *const ::core::ffi::c_void , pdwnegotiatedversion : *mut u32 , phclienthandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanOpenHandle ( dwclientversion : u32 , preserved : *const ::core::ffi::c_void , pdwnegotiatedversion : *mut u32 , phclienthandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); WlanOpenHandle(dwclientversion, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pdwnegotiatedversion, phclienthandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -394,7 +394,7 @@ pub unsafe fn WlanQueryAutoConfigParameter(hclienthandle: P0, opcode: WLAN_A where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanQueryAutoConfigParameter ( hclienthandle : super::super::Foundation:: HANDLE , opcode : WLAN_AUTOCONF_OPCODE , preserved : *const ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut ::core::ffi::c_void , pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanQueryAutoConfigParameter ( hclienthandle : super::super::Foundation:: HANDLE , opcode : WLAN_AUTOCONF_OPCODE , preserved : *const ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut ::core::ffi::c_void , pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE ) -> u32 ); WlanQueryAutoConfigParameter(hclienthandle.into(), opcode, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pdwdatasize, ppdata, ::core::mem::transmute(pwlanopcodevaluetype.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -404,13 +404,13 @@ pub unsafe fn WlanQueryInterface(hclienthandle: P0, pinterfaceguid: *const : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanQueryInterface ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , opcode : WLAN_INTF_OPCODE , preserved : *const ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut ::core::ffi::c_void , pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanQueryInterface ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , opcode : WLAN_INTF_OPCODE , preserved : *const ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut ::core::ffi::c_void , pwlanopcodevaluetype : *mut WLAN_OPCODE_VALUE_TYPE ) -> u32 ); WlanQueryInterface(hclienthandle.into(), pinterfaceguid, opcode, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pdwdatasize, ppdata, ::core::mem::transmute(pwlanopcodevaluetype.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[inline] pub unsafe fn WlanReasonCodeToString(dwreasoncode: u32, pstringbuffer: &[u16], preserved: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanReasonCodeToString ( dwreasoncode : u32 , dwbuffersize : u32 , pstringbuffer : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanReasonCodeToString ( dwreasoncode : u32 , dwbuffersize : u32 , pstringbuffer : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanReasonCodeToString(dwreasoncode, pstringbuffer.len() as _, ::core::mem::transmute(pstringbuffer.as_ptr()), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -420,7 +420,7 @@ pub unsafe fn WlanRegisterDeviceServiceNotification(hclienthandle: P0, pdevs where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanRegisterDeviceServiceNotification ( hclienthandle : super::super::Foundation:: HANDLE , pdevsvcguidlist : *const WLAN_DEVICE_SERVICE_GUID_LIST ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanRegisterDeviceServiceNotification ( hclienthandle : super::super::Foundation:: HANDLE , pdevsvcguidlist : *const WLAN_DEVICE_SERVICE_GUID_LIST ) -> u32 ); WlanRegisterDeviceServiceNotification(hclienthandle.into(), ::core::mem::transmute(pdevsvcguidlist.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -431,7 +431,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanRegisterNotification ( hclienthandle : super::super::Foundation:: HANDLE , dwnotifsource : u32 , bignoreduplicate : super::super::Foundation:: BOOL , funccallback : WLAN_NOTIFICATION_CALLBACK , pcallbackcontext : *const ::core::ffi::c_void , preserved : *const ::core::ffi::c_void , pdwprevnotifsource : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanRegisterNotification ( hclienthandle : super::super::Foundation:: HANDLE , dwnotifsource : u32 , bignoreduplicate : super::super::Foundation:: BOOL , funccallback : WLAN_NOTIFICATION_CALLBACK , pcallbackcontext : *const ::core::ffi::c_void , preserved : *const ::core::ffi::c_void , pdwprevnotifsource : *mut u32 ) -> u32 ); WlanRegisterNotification(hclienthandle.into(), dwnotifsource, bignoreduplicate.into(), funccallback, ::core::mem::transmute(pcallbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdwprevnotifsource.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -442,7 +442,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanRegisterVirtualStationNotification ( hclienthandle : super::super::Foundation:: HANDLE , bregister : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanRegisterVirtualStationNotification ( hclienthandle : super::super::Foundation:: HANDLE , bregister : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanRegisterVirtualStationNotification(hclienthandle.into(), bregister.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -454,7 +454,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanRenameProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , stroldprofilename : :: windows::core::PCWSTR , strnewprofilename : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanRenameProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , stroldprofilename : :: windows::core::PCWSTR , strnewprofilename : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanRenameProfile(hclienthandle.into(), pinterfaceguid, stroldprofilename.into().abi(), strnewprofilename.into().abi(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -467,7 +467,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSaveTemporaryProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , stralluserprofilesecurity : :: windows::core::PCWSTR , dwflags : u32 , boverwrite : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSaveTemporaryProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , stralluserprofilesecurity : :: windows::core::PCWSTR , dwflags : u32 , boverwrite : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSaveTemporaryProfile(hclienthandle.into(), pinterfaceguid, strprofilename.into().abi(), stralluserprofilesecurity.into().abi(), dwflags, boverwrite.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -477,7 +477,7 @@ pub unsafe fn WlanScan(hclienthandle: P0, pinterfaceguid: *const ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanScan ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pdot11ssid : *const DOT11_SSID , piedata : *const WLAN_RAW_DATA , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanScan ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , pdot11ssid : *const DOT11_SSID , piedata : *const WLAN_RAW_DATA , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanScan(hclienthandle.into(), pinterfaceguid, ::core::mem::transmute(pdot11ssid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(piedata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -487,7 +487,7 @@ pub unsafe fn WlanSetAutoConfigParameter(hclienthandle: P0, opcode: WLAN_AUT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetAutoConfigParameter ( hclienthandle : super::super::Foundation:: HANDLE , opcode : WLAN_AUTOCONF_OPCODE , dwdatasize : u32 , pdata : *const ::core::ffi::c_void , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetAutoConfigParameter ( hclienthandle : super::super::Foundation:: HANDLE , opcode : WLAN_AUTOCONF_OPCODE , dwdatasize : u32 , pdata : *const ::core::ffi::c_void , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetAutoConfigParameter(hclienthandle.into(), opcode, dwdatasize, pdata, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -497,7 +497,7 @@ pub unsafe fn WlanSetFilterList(hclienthandle: P0, wlanfilterlisttype: WLAN_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetFilterList ( hclienthandle : super::super::Foundation:: HANDLE , wlanfilterlisttype : WLAN_FILTER_LIST_TYPE , pnetworklist : *const DOT11_NETWORK_LIST , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetFilterList ( hclienthandle : super::super::Foundation:: HANDLE , wlanfilterlisttype : WLAN_FILTER_LIST_TYPE , pnetworklist : *const DOT11_NETWORK_LIST , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetFilterList(hclienthandle.into(), wlanfilterlisttype, ::core::mem::transmute(pnetworklist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -507,7 +507,7 @@ pub unsafe fn WlanSetInterface(hclienthandle: P0, pinterfaceguid: *const ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetInterface ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , opcode : WLAN_INTF_OPCODE , dwdatasize : u32 , pdata : *const ::core::ffi::c_void , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetInterface ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , opcode : WLAN_INTF_OPCODE , dwdatasize : u32 , pdata : *const ::core::ffi::c_void , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetInterface(hclienthandle.into(), pinterfaceguid, opcode, dwdatasize, pdata, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -520,7 +520,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , dwflags : u32 , strprofilexml : :: windows::core::PCWSTR , stralluserprofilesecurity : :: windows::core::PCWSTR , boverwrite : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void , pdwreasoncode : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetProfile ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , dwflags : u32 , strprofilexml : :: windows::core::PCWSTR , stralluserprofilesecurity : :: windows::core::PCWSTR , boverwrite : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void , pdwreasoncode : *mut u32 ) -> u32 ); WlanSetProfile(hclienthandle.into(), pinterfaceguid, dwflags, strprofilexml.into().abi(), stralluserprofilesecurity.into().abi(), boverwrite.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pdwreasoncode) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -531,7 +531,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetProfileCustomUserData ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , dwdatasize : u32 , pdata : *const u8 , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetProfileCustomUserData ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , dwdatasize : u32 , pdata : *const u8 , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetProfileCustomUserData(hclienthandle.into(), pinterfaceguid, strprofilename.into().abi(), pdata.len() as _, ::core::mem::transmute(pdata.as_ptr()), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] @@ -542,7 +542,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetProfileEapUserData ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , eaptype : super::super::Security::ExtensibleAuthenticationProtocol:: EAP_METHOD_TYPE , dwflags : WLAN_SET_EAPHOST_FLAGS , dweapuserdatasize : u32 , pbeapuserdata : *const u8 , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetProfileEapUserData ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , eaptype : super::super::Security::ExtensibleAuthenticationProtocol:: EAP_METHOD_TYPE , dwflags : WLAN_SET_EAPHOST_FLAGS , dweapuserdatasize : u32 , pbeapuserdata : *const u8 , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetProfileEapUserData(hclienthandle.into(), pinterfaceguid, strprofilename.into().abi(), ::core::mem::transmute(eaptype), dwflags, pbeapuserdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbeapuserdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -554,7 +554,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetProfileEapXmlUserData ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , dwflags : WLAN_SET_EAPHOST_FLAGS , streapxmluserdata : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetProfileEapXmlUserData ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , dwflags : WLAN_SET_EAPHOST_FLAGS , streapxmluserdata : :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetProfileEapXmlUserData(hclienthandle.into(), pinterfaceguid, strprofilename.into().abi(), dwflags, streapxmluserdata.into().abi(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -564,7 +564,7 @@ pub unsafe fn WlanSetProfileList(hclienthandle: P0, pinterfaceguid: *const : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetProfileList ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , dwitems : u32 , strprofilenames : *const :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetProfileList ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , dwitems : u32 , strprofilenames : *const :: windows::core::PCWSTR , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetProfileList(hclienthandle.into(), pinterfaceguid, strprofilenames.len() as _, ::core::mem::transmute(strprofilenames.as_ptr()), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -575,7 +575,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetProfilePosition ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , dwposition : u32 , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetProfilePosition ( hclienthandle : super::super::Foundation:: HANDLE , pinterfaceguid : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , dwposition : u32 , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetProfilePosition(hclienthandle.into(), pinterfaceguid, strprofilename.into().abi(), dwposition, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -586,7 +586,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetPsdIEDataList ( hclienthandle : super::super::Foundation:: HANDLE , strformat : :: windows::core::PCWSTR , ppsdiedatalist : *const WLAN_RAW_DATA_LIST , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetPsdIEDataList ( hclienthandle : super::super::Foundation:: HANDLE , strformat : :: windows::core::PCWSTR , ppsdiedatalist : *const WLAN_RAW_DATA_LIST , preserved : *const ::core::ffi::c_void ) -> u32 ); WlanSetPsdIEDataList(hclienthandle.into(), strformat.into().abi(), ::core::mem::transmute(ppsdiedatalist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -597,7 +597,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wlanapi.dll""system" fn WlanSetSecuritySettings ( hclienthandle : super::super::Foundation:: HANDLE , securableobject : WLAN_SECURABLE_OBJECT , strmodifiedsddl : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wlanapi.dll""system" fn WlanSetSecuritySettings ( hclienthandle : super::super::Foundation:: HANDLE , securableobject : WLAN_SECURABLE_OBJECT , strmodifiedsddl : :: windows::core::PCWSTR ) -> u32 ); WlanSetSecuritySettings(hclienthandle.into(), securableobject, strmodifiedsddl.into().abi()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -608,7 +608,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wlanui.dll""system" fn WlanUIEditProfile ( dwclientversion : u32 , wstrprofilename : :: windows::core::PCWSTR , pinterfaceguid : *const :: windows::core::GUID , hwnd : super::super::Foundation:: HWND , wlstartpage : WL_DISPLAY_PAGES , preserved : *const ::core::ffi::c_void , pwlanreasoncode : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wlanui.dll""system" fn WlanUIEditProfile ( dwclientversion : u32 , wstrprofilename : :: windows::core::PCWSTR , pinterfaceguid : *const :: windows::core::GUID , hwnd : super::super::Foundation:: HWND , wlstartpage : WL_DISPLAY_PAGES , preserved : *const ::core::ffi::c_void , pwlanreasoncode : *mut u32 ) -> u32 ); WlanUIEditProfile(dwclientversion, wstrprofilename.into().abi(), pinterfaceguid, hwnd.into(), wlstartpage, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pwlanreasoncode.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] @@ -647,7 +647,7 @@ impl IDot11AdHocInterface { (::windows::core::Vtable::vtable(self).GetStatus)(::windows::core::Vtable::as_raw(self), pstate).ok() } } -::windows::core::interface_hierarchy!(IDot11AdHocInterface, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDot11AdHocInterface, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDot11AdHocInterface { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -692,7 +692,7 @@ impl IDot11AdHocInterfaceNotificationSink { (::windows::core::Vtable::vtable(self).OnConnectionStatusChange)(::windows::core::Vtable::as_raw(self), estatus).ok() } } -::windows::core::interface_hierarchy!(IDot11AdHocInterfaceNotificationSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDot11AdHocInterfaceNotificationSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDot11AdHocInterfaceNotificationSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -758,7 +758,7 @@ impl IDot11AdHocManager { (::windows::core::Vtable::vtable(self).GetNetwork)(::windows::core::Vtable::as_raw(self), networksignature, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDot11AdHocManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDot11AdHocManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDot11AdHocManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -817,7 +817,7 @@ impl IDot11AdHocManagerNotificationSink { (::windows::core::Vtable::vtable(self).OnInterfaceRemove)(::windows::core::Vtable::as_raw(self), signature).ok() } } -::windows::core::interface_hierarchy!(IDot11AdHocManagerNotificationSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDot11AdHocManagerNotificationSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDot11AdHocManagerNotificationSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -901,7 +901,7 @@ impl IDot11AdHocNetwork { (::windows::core::Vtable::vtable(self).Disconnect)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDot11AdHocNetwork, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDot11AdHocNetwork, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDot11AdHocNetwork { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -955,7 +955,7 @@ impl IDot11AdHocNetworkNotificationSink { (::windows::core::Vtable::vtable(self).OnConnectFail)(::windows::core::Vtable::as_raw(self), efailreason).ok() } } -::windows::core::interface_hierarchy!(IDot11AdHocNetworkNotificationSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDot11AdHocNetworkNotificationSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDot11AdHocNetworkNotificationSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -996,7 +996,7 @@ impl IDot11AdHocSecuritySettings { (::windows::core::Vtable::vtable(self).GetDot11CipherAlgorithm)(::windows::core::Vtable::as_raw(self), pcipher).ok() } } -::windows::core::interface_hierarchy!(IDot11AdHocSecuritySettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDot11AdHocSecuritySettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDot11AdHocSecuritySettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1044,7 +1044,7 @@ impl IEnumDot11AdHocInterfaces { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDot11AdHocInterfaces, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDot11AdHocInterfaces, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDot11AdHocInterfaces { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1094,7 +1094,7 @@ impl IEnumDot11AdHocNetworks { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDot11AdHocNetworks, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDot11AdHocNetworks, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDot11AdHocNetworks { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1144,7 +1144,7 @@ impl IEnumDot11AdHocSecuritySettings { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDot11AdHocSecuritySettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDot11AdHocSecuritySettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDot11AdHocSecuritySettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs index 8b955972e2..3081f97f61 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs @@ -9,7 +9,7 @@ impl IWCNConnectNotify { (::windows::core::Vtable::vtable(self).ConnectFailed)(::windows::core::Vtable::as_raw(self), hrfailure).ok() } } -::windows::core::interface_hierarchy!(IWCNConnectNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWCNConnectNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWCNConnectNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -95,7 +95,7 @@ impl IWCNDevice { .ok() } } -::windows::core::interface_hierarchy!(IWCNDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWCNDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWCNDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs index 1b908326e0..849a3b2e97 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeInterfaceContextTable(interfacecontexttable: *const NET_INTERFACE_CONTEXT_TABLE) { - ::windows::core::link ! ( "ondemandconnroutehelper.dll""system" fn FreeInterfaceContextTable ( interfacecontexttable : *const NET_INTERFACE_CONTEXT_TABLE ) -> ( ) ); + ::windows::imp::link ! ( "ondemandconnroutehelper.dll""system" fn FreeInterfaceContextTable ( interfacecontexttable : *const NET_INTERFACE_CONTEXT_TABLE ) -> ( ) ); FreeInterfaceContextTable(interfacecontexttable) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] @@ -13,7 +13,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ondemandconnroutehelper.dll""system" fn GetInterfaceContextTableForHostName ( hostname : :: windows::core::PCWSTR , proxyname : :: windows::core::PCWSTR , flags : u32 , connectionprofilefilterrawdata : *const u8 , connectionprofilefilterrawdatasize : u32 , interfacecontexttable : *mut *mut NET_INTERFACE_CONTEXT_TABLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ondemandconnroutehelper.dll""system" fn GetInterfaceContextTableForHostName ( hostname : :: windows::core::PCWSTR , proxyname : :: windows::core::PCWSTR , flags : u32 , connectionprofilefilterrawdata : *const u8 , connectionprofilefilterrawdatasize : u32 , interfacecontexttable : *mut *mut NET_INTERFACE_CONTEXT_TABLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut NET_INTERFACE_CONTEXT_TABLE>(); GetInterfaceContextTableForHostName(hostname.into().abi(), proxyname.into().abi(), flags, ::core::mem::transmute(connectionprofilefilterrawdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), connectionprofilefilterrawdata.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -23,7 +23,7 @@ pub unsafe fn OnDemandGetRoutingHint(destinationhostname: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ondemandconnroutehelper.dll""system" fn OnDemandGetRoutingHint ( destinationhostname : :: windows::core::PCWSTR , interfaceindex : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ondemandconnroutehelper.dll""system" fn OnDemandGetRoutingHint ( destinationhostname : :: windows::core::PCWSTR , interfaceindex : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OnDemandGetRoutingHint(destinationhostname.into().abi(), &mut result__).from_abi(result__) } @@ -31,7 +31,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OnDemandRegisterNotification(callback: ONDEMAND_NOTIFICATION_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result { - ::windows::core::link ! ( "ondemandconnroutehelper.dll""system" fn OnDemandRegisterNotification ( callback : ONDEMAND_NOTIFICATION_CALLBACK , callbackcontext : *const ::core::ffi::c_void , registrationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ondemandconnroutehelper.dll""system" fn OnDemandRegisterNotification ( callback : ONDEMAND_NOTIFICATION_CALLBACK , callbackcontext : *const ::core::ffi::c_void , registrationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OnDemandRegisterNotification(callback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -42,19 +42,19 @@ pub unsafe fn OnDemandUnRegisterNotification(registrationhandle: P0) -> ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ondemandconnroutehelper.dll""system" fn OnDemandUnRegisterNotification ( registrationhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ondemandconnroutehelper.dll""system" fn OnDemandUnRegisterNotification ( registrationhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); OnDemandUnRegisterNotification(registrationhandle.into()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] #[inline] pub unsafe fn WcmFreeMemory(pmemory: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "wcmapi.dll""system" fn WcmFreeMemory ( pmemory : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wcmapi.dll""system" fn WcmFreeMemory ( pmemory : *mut ::core::ffi::c_void ) -> ( ) ); WcmFreeMemory(pmemory) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] #[inline] pub unsafe fn WcmGetProfileList(preserved: ::core::option::Option<*const ::core::ffi::c_void>, ppprofilelist: *mut *mut WCM_PROFILE_INFO_LIST) -> u32 { - ::windows::core::link ! ( "wcmapi.dll""system" fn WcmGetProfileList ( preserved : *const ::core::ffi::c_void , ppprofilelist : *mut *mut WCM_PROFILE_INFO_LIST ) -> u32 ); + ::windows::imp::link ! ( "wcmapi.dll""system" fn WcmGetProfileList ( preserved : *const ::core::ffi::c_void , ppprofilelist : *mut *mut WCM_PROFILE_INFO_LIST ) -> u32 ); WcmGetProfileList(::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ppprofilelist) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn WcmQueryProperty(pinterface: ::core::option::Option<*const ::w where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wcmapi.dll""system" fn WcmQueryProperty ( pinterface : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , property : WCM_PROPERTY , preserved : *const ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "wcmapi.dll""system" fn WcmQueryProperty ( pinterface : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , property : WCM_PROPERTY , preserved : *const ::core::ffi::c_void , pdwdatasize : *mut u32 , ppdata : *mut *mut u8 ) -> u32 ); WcmQueryProperty(::core::mem::transmute(pinterface.unwrap_or(::std::ptr::null())), strprofilename.into().abi(), property, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pdwdatasize, ppdata) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`, `\"Win32_Foundation\"`*"] @@ -73,7 +73,7 @@ pub unsafe fn WcmSetProfileList(pprofilelist: *const WCM_PROFILE_INFO_LIST, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wcmapi.dll""system" fn WcmSetProfileList ( pprofilelist : *const WCM_PROFILE_INFO_LIST , dwposition : u32 , fignoreunknownprofiles : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wcmapi.dll""system" fn WcmSetProfileList ( pprofilelist : *const WCM_PROFILE_INFO_LIST , dwposition : u32 , fignoreunknownprofiles : super::super::Foundation:: BOOL , preserved : *const ::core::ffi::c_void ) -> u32 ); WcmSetProfileList(pprofilelist, dwposition, fignoreunknownprofiles.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] @@ -82,7 +82,7 @@ pub unsafe fn WcmSetProperty(pinterface: ::core::option::Option<*const ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wcmapi.dll""system" fn WcmSetProperty ( pinterface : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , property : WCM_PROPERTY , preserved : *const ::core::ffi::c_void , dwdatasize : u32 , pbdata : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "wcmapi.dll""system" fn WcmSetProperty ( pinterface : *const :: windows::core::GUID , strprofilename : :: windows::core::PCWSTR , property : WCM_PROPERTY , preserved : *const ::core::ffi::c_void , dwdatasize : u32 , pbdata : *const u8 ) -> u32 ); WcmSetProperty(::core::mem::transmute(pinterface.unwrap_or(::std::ptr::null())), strprofilename.into().abi(), property, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), pbdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs index 666e8f6491..c669a58df7 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutAdd0 ( enginehandle : super::super::Foundation:: HANDLE , callout : *const FWPM_CALLOUT0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutAdd0 ( enginehandle : super::super::Foundation:: HANDLE , callout : *const FWPM_CALLOUT0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u32 ) -> u32 ); FwpmCalloutAdd0(enginehandle.into(), callout, sd.into(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -16,7 +16,7 @@ pub unsafe fn FwpmCalloutCreateEnumHandle0(enginehandle: P0, enumtemplate: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_CALLOUT_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_CALLOUT_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmCalloutCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -26,7 +26,7 @@ pub unsafe fn FwpmCalloutDeleteById0(enginehandle: P0, id: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u32 ) -> u32 ); FwpmCalloutDeleteById0(enginehandle.into(), id) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn FwpmCalloutDeleteByKey0(enginehandle: P0, key: *const ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); FwpmCalloutDeleteByKey0(enginehandle.into(), key) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -47,7 +47,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmCalloutDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -58,7 +58,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_CALLOUT0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_CALLOUT0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmCalloutEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -68,7 +68,7 @@ pub unsafe fn FwpmCalloutGetById0(enginehandle: P0, id: u32, callout: *mut * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u32 , callout : *mut *mut FWPM_CALLOUT0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u32 , callout : *mut *mut FWPM_CALLOUT0 ) -> u32 ); FwpmCalloutGetById0(enginehandle.into(), id, callout) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -78,7 +78,7 @@ pub unsafe fn FwpmCalloutGetByKey0(enginehandle: P0, key: *const ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , callout : *mut *mut FWPM_CALLOUT0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , callout : *mut *mut FWPM_CALLOUT0 ) -> u32 ); FwpmCalloutGetByKey0(enginehandle.into(), key, callout) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -88,7 +88,7 @@ pub unsafe fn FwpmCalloutGetSecurityInfoByKey0(enginehandle: P0, key: ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmCalloutGetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -98,7 +98,7 @@ pub unsafe fn FwpmCalloutSetSecurityInfoByKey0(enginehandle: P0, key: ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmCalloutSetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -108,7 +108,7 @@ pub unsafe fn FwpmCalloutSubscribeChanges0(enginehandle: P0, subscription: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_CALLOUT_SUBSCRIPTION0 , callback : FWPM_CALLOUT_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_CALLOUT_SUBSCRIPTION0 , callback : FWPM_CALLOUT_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmCalloutSubscribeChanges0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), changehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -118,7 +118,7 @@ pub unsafe fn FwpmCalloutSubscriptionsGet0(enginehandle: P0, entries: *mut * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_CALLOUT_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_CALLOUT_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); FwpmCalloutSubscriptionsGet0(enginehandle.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -129,7 +129,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmCalloutUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmCalloutUnsubscribeChanges0(enginehandle.into(), changehandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -139,7 +139,7 @@ pub unsafe fn FwpmConnectionCreateEnumHandle0(enginehandle: P0, enumtemplate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_CONNECTION_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_CONNECTION_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmConnectionCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -150,7 +150,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmConnectionDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -161,7 +161,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_CONNECTION0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_CONNECTION0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmConnectionEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -171,7 +171,7 @@ pub unsafe fn FwpmConnectionGetById0(enginehandle: P0, id: u64, connection: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , connection : *mut *mut FWPM_CONNECTION0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , connection : *mut *mut FWPM_CONNECTION0 ) -> u32 ); FwpmConnectionGetById0(enginehandle.into(), id, connection) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -181,7 +181,7 @@ pub unsafe fn FwpmConnectionGetSecurityInfo0(enginehandle: P0, securityinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmConnectionGetSecurityInfo0(enginehandle.into(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -191,7 +191,7 @@ pub unsafe fn FwpmConnectionSetSecurityInfo0(enginehandle: P0, securityinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmConnectionSetSecurityInfo0(enginehandle.into(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -201,7 +201,7 @@ pub unsafe fn FwpmConnectionSubscribe0(enginehandle: P0, subscription: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_CONNECTION_SUBSCRIPTION0 , callback : FWPM_CONNECTION_CALLBACK0 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_CONNECTION_SUBSCRIPTION0 , callback : FWPM_CONNECTION_CALLBACK0 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmConnectionSubscribe0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), eventshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -212,14 +212,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , eventshandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmConnectionUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , eventshandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmConnectionUnsubscribe0(enginehandle.into(), eventshandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FwpmDynamicKeywordSubscribe0(flags: u32, callback: FWPM_DYNAMIC_KEYWORD_CALLBACK0, context: ::core::option::Option<*const ::core::ffi::c_void>, subscriptionhandle: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmDynamicKeywordSubscribe0 ( flags : u32 , callback : FWPM_DYNAMIC_KEYWORD_CALLBACK0 , context : *const ::core::ffi::c_void , subscriptionhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmDynamicKeywordSubscribe0 ( flags : u32 , callback : FWPM_DYNAMIC_KEYWORD_CALLBACK0 , context : *const ::core::ffi::c_void , subscriptionhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmDynamicKeywordSubscribe0(flags, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), subscriptionhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -229,7 +229,7 @@ pub unsafe fn FwpmDynamicKeywordUnsubscribe0(subscriptionhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmDynamicKeywordUnsubscribe0 ( subscriptionhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmDynamicKeywordUnsubscribe0 ( subscriptionhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmDynamicKeywordUnsubscribe0(subscriptionhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -239,7 +239,7 @@ pub unsafe fn FwpmEngineClose0(enginehandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmEngineClose0 ( enginehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmEngineClose0 ( enginehandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmEngineClose0(enginehandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -249,7 +249,7 @@ pub unsafe fn FwpmEngineGetOption0(enginehandle: P0, option: FWPM_ENGINE_OPT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmEngineGetOption0 ( enginehandle : super::super::Foundation:: HANDLE , option : FWPM_ENGINE_OPTION , value : *mut *mut FWP_VALUE0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmEngineGetOption0 ( enginehandle : super::super::Foundation:: HANDLE , option : FWPM_ENGINE_OPTION , value : *mut *mut FWP_VALUE0 ) -> u32 ); FwpmEngineGetOption0(enginehandle.into(), option, value) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -259,7 +259,7 @@ pub unsafe fn FwpmEngineGetSecurityInfo0(enginehandle: P0, securityinfo: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmEngineGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmEngineGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmEngineGetSecurityInfo0(enginehandle.into(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Rpc\"`*"] @@ -269,7 +269,7 @@ pub unsafe fn FwpmEngineOpen0(servername: P0, authnservice: u32, authidentit where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmEngineOpen0 ( servername : :: windows::core::PCWSTR , authnservice : u32 , authidentity : *const super::super::System::Rpc:: SEC_WINNT_AUTH_IDENTITY_W , session : *const FWPM_SESSION0 , enginehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmEngineOpen0 ( servername : :: windows::core::PCWSTR , authnservice : u32 , authidentity : *const super::super::System::Rpc:: SEC_WINNT_AUTH_IDENTITY_W , session : *const FWPM_SESSION0 , enginehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmEngineOpen0(servername.into().abi(), authnservice, ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), ::core::mem::transmute(session.unwrap_or(::std::ptr::null())), enginehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -279,7 +279,7 @@ pub unsafe fn FwpmEngineSetOption0(enginehandle: P0, option: FWPM_ENGINE_OPT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmEngineSetOption0 ( enginehandle : super::super::Foundation:: HANDLE , option : FWPM_ENGINE_OPTION , newvalue : *const FWP_VALUE0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmEngineSetOption0 ( enginehandle : super::super::Foundation:: HANDLE , option : FWPM_ENGINE_OPTION , newvalue : *const FWP_VALUE0 ) -> u32 ); FwpmEngineSetOption0(enginehandle.into(), option, newvalue) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -289,7 +289,7 @@ pub unsafe fn FwpmEngineSetSecurityInfo0(enginehandle: P0, securityinfo: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmEngineSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmEngineSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmEngineSetSecurityInfo0(enginehandle.into(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -300,7 +300,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterAdd0 ( enginehandle : super::super::Foundation:: HANDLE , filter : *const FWPM_FILTER0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterAdd0 ( enginehandle : super::super::Foundation:: HANDLE , filter : *const FWPM_FILTER0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); FwpmFilterAdd0(enginehandle.into(), filter, sd.into(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -310,7 +310,7 @@ pub unsafe fn FwpmFilterCreateEnumHandle0(enginehandle: P0, enumtemplate: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_FILTER_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_FILTER_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmFilterCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -320,7 +320,7 @@ pub unsafe fn FwpmFilterDeleteById0(enginehandle: P0, id: u64) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); FwpmFilterDeleteById0(enginehandle.into(), id) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -330,7 +330,7 @@ pub unsafe fn FwpmFilterDeleteByKey0(enginehandle: P0, key: *const ::windows where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); FwpmFilterDeleteByKey0(enginehandle.into(), key) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -341,7 +341,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmFilterDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -352,7 +352,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_FILTER0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_FILTER0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmFilterEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -362,7 +362,7 @@ pub unsafe fn FwpmFilterGetById0(enginehandle: P0, id: u64, filter: *mut *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , filter : *mut *mut FWPM_FILTER0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , filter : *mut *mut FWPM_FILTER0 ) -> u32 ); FwpmFilterGetById0(enginehandle.into(), id, filter) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -372,7 +372,7 @@ pub unsafe fn FwpmFilterGetByKey0(enginehandle: P0, key: *const ::windows::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , filter : *mut *mut FWPM_FILTER0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , filter : *mut *mut FWPM_FILTER0 ) -> u32 ); FwpmFilterGetByKey0(enginehandle.into(), key, filter) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -382,7 +382,7 @@ pub unsafe fn FwpmFilterGetSecurityInfoByKey0(enginehandle: P0, key: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmFilterGetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -392,7 +392,7 @@ pub unsafe fn FwpmFilterSetSecurityInfoByKey0(enginehandle: P0, key: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmFilterSetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -402,7 +402,7 @@ pub unsafe fn FwpmFilterSubscribeChanges0(enginehandle: P0, subscription: *c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_FILTER_SUBSCRIPTION0 , callback : FWPM_FILTER_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_FILTER_SUBSCRIPTION0 , callback : FWPM_FILTER_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmFilterSubscribeChanges0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), changehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -412,7 +412,7 @@ pub unsafe fn FwpmFilterSubscriptionsGet0(enginehandle: P0, entries: *mut *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_FILTER_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_FILTER_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); FwpmFilterSubscriptionsGet0(enginehandle.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -423,13 +423,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFilterUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFilterUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmFilterUnsubscribeChanges0(enginehandle.into(), changehandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] #[inline] pub unsafe fn FwpmFreeMemory0(p: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmFreeMemory0 ( p : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmFreeMemory0 ( p : *mut *mut ::core::ffi::c_void ) -> ( ) ); FwpmFreeMemory0(p) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] @@ -438,7 +438,7 @@ pub unsafe fn FwpmGetAppIdFromFileName0(filename: P0, appid: *mut *mut FWP_B where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmGetAppIdFromFileName0 ( filename : :: windows::core::PCWSTR , appid : *mut *mut FWP_BYTE_BLOB ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmGetAppIdFromFileName0 ( filename : :: windows::core::PCWSTR , appid : *mut *mut FWP_BYTE_BLOB ) -> u32 ); FwpmGetAppIdFromFileName0(filename.into().abi(), appid) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -449,7 +449,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelAdd0 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 , mainmodepolicy : *const FWPM_PROVIDER_CONTEXT0 , tunnelpolicy : *const FWPM_PROVIDER_CONTEXT0 , numfilterconditions : u32 , filterconditions : *const FWPM_FILTER_CONDITION0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelAdd0 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 , mainmodepolicy : *const FWPM_PROVIDER_CONTEXT0 , tunnelpolicy : *const FWPM_PROVIDER_CONTEXT0 , numfilterconditions : u32 , filterconditions : *const FWPM_FILTER_CONDITION0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmIPsecTunnelAdd0(enginehandle.into(), flags, ::core::mem::transmute(mainmodepolicy.unwrap_or(::std::ptr::null())), tunnelpolicy, filterconditions.len() as _, ::core::mem::transmute(filterconditions.as_ptr()), sd.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -460,7 +460,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelAdd1 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 , mainmodepolicy : *const FWPM_PROVIDER_CONTEXT1 , tunnelpolicy : *const FWPM_PROVIDER_CONTEXT1 , numfilterconditions : u32 , filterconditions : *const FWPM_FILTER_CONDITION0 , keymodkey : *const :: windows::core::GUID , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelAdd1 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 , mainmodepolicy : *const FWPM_PROVIDER_CONTEXT1 , tunnelpolicy : *const FWPM_PROVIDER_CONTEXT1 , numfilterconditions : u32 , filterconditions : *const FWPM_FILTER_CONDITION0 , keymodkey : *const :: windows::core::GUID , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmIPsecTunnelAdd1(enginehandle.into(), flags, ::core::mem::transmute(mainmodepolicy.unwrap_or(::std::ptr::null())), tunnelpolicy, filterconditions.len() as _, ::core::mem::transmute(filterconditions.as_ptr()), ::core::mem::transmute(keymodkey.unwrap_or(::std::ptr::null())), sd.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -471,7 +471,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelAdd2 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 , mainmodepolicy : *const FWPM_PROVIDER_CONTEXT2 , tunnelpolicy : *const FWPM_PROVIDER_CONTEXT2 , numfilterconditions : u32 , filterconditions : *const FWPM_FILTER_CONDITION0 , keymodkey : *const :: windows::core::GUID , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelAdd2 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 , mainmodepolicy : *const FWPM_PROVIDER_CONTEXT2 , tunnelpolicy : *const FWPM_PROVIDER_CONTEXT2 , numfilterconditions : u32 , filterconditions : *const FWPM_FILTER_CONDITION0 , keymodkey : *const :: windows::core::GUID , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmIPsecTunnelAdd2(enginehandle.into(), flags, ::core::mem::transmute(mainmodepolicy.unwrap_or(::std::ptr::null())), tunnelpolicy, filterconditions.len() as _, ::core::mem::transmute(filterconditions.as_ptr()), ::core::mem::transmute(keymodkey.unwrap_or(::std::ptr::null())), sd.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -482,7 +482,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelAdd3 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 , mainmodepolicy : *const FWPM_PROVIDER_CONTEXT3 , tunnelpolicy : *const FWPM_PROVIDER_CONTEXT3 , numfilterconditions : u32 , filterconditions : *const FWPM_FILTER_CONDITION0 , keymodkey : *const :: windows::core::GUID , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelAdd3 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 , mainmodepolicy : *const FWPM_PROVIDER_CONTEXT3 , tunnelpolicy : *const FWPM_PROVIDER_CONTEXT3 , numfilterconditions : u32 , filterconditions : *const FWPM_FILTER_CONDITION0 , keymodkey : *const :: windows::core::GUID , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmIPsecTunnelAdd3(enginehandle.into(), flags, ::core::mem::transmute(mainmodepolicy.unwrap_or(::std::ptr::null())), tunnelpolicy, filterconditions.len() as _, ::core::mem::transmute(filterconditions.as_ptr()), ::core::mem::transmute(keymodkey.unwrap_or(::std::ptr::null())), sd.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -492,7 +492,7 @@ pub unsafe fn FwpmIPsecTunnelDeleteByKey0(enginehandle: P0, key: *const ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmIPsecTunnelDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); FwpmIPsecTunnelDeleteByKey0(enginehandle.into(), key) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -502,7 +502,7 @@ pub unsafe fn FwpmLayerCreateEnumHandle0(enginehandle: P0, enumtemplate: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmLayerCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_LAYER_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmLayerCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_LAYER_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmLayerCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -513,7 +513,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmLayerDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmLayerDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmLayerDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -524,7 +524,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmLayerEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_LAYER0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmLayerEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_LAYER0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmLayerEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -534,7 +534,7 @@ pub unsafe fn FwpmLayerGetById0(enginehandle: P0, id: u16, layer: *mut *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmLayerGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u16 , layer : *mut *mut FWPM_LAYER0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmLayerGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u16 , layer : *mut *mut FWPM_LAYER0 ) -> u32 ); FwpmLayerGetById0(enginehandle.into(), id, layer) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -544,7 +544,7 @@ pub unsafe fn FwpmLayerGetByKey0(enginehandle: P0, key: *const ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmLayerGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , layer : *mut *mut FWPM_LAYER0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmLayerGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , layer : *mut *mut FWPM_LAYER0 ) -> u32 ); FwpmLayerGetByKey0(enginehandle.into(), key, layer) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -554,7 +554,7 @@ pub unsafe fn FwpmLayerGetSecurityInfoByKey0(enginehandle: P0, key: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmLayerGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmLayerGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmLayerGetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -564,7 +564,7 @@ pub unsafe fn FwpmLayerSetSecurityInfoByKey0(enginehandle: P0, key: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmLayerSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmLayerSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmLayerSetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -574,7 +574,7 @@ pub unsafe fn FwpmNetEventCreateEnumHandle0(enginehandle: P0, enumtemplate: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_NET_EVENT_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_NET_EVENT_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmNetEventCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -585,7 +585,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmNetEventDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -596,7 +596,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmNetEventEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -607,7 +607,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT1 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT1 , numentriesreturned : *mut u32 ) -> u32 ); FwpmNetEventEnum1(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -618,7 +618,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum2 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT2 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum2 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT2 , numentriesreturned : *mut u32 ) -> u32 ); FwpmNetEventEnum2(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -629,7 +629,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum3 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT3 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum3 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT3 , numentriesreturned : *mut u32 ) -> u32 ); FwpmNetEventEnum3(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -640,7 +640,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum4 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT4 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum4 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT4 , numentriesreturned : *mut u32 ) -> u32 ); FwpmNetEventEnum4(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -651,7 +651,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum5 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT5 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventEnum5 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_NET_EVENT5 , numentriesreturned : *mut u32 ) -> u32 ); FwpmNetEventEnum5(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -661,7 +661,7 @@ pub unsafe fn FwpmNetEventSubscribe0(enginehandle: P0, subscription: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK0 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK0 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmNetEventSubscribe0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), eventshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -671,7 +671,7 @@ pub unsafe fn FwpmNetEventSubscribe1(enginehandle: P0, subscription: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe1 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK1 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe1 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK1 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmNetEventSubscribe1(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), eventshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -681,7 +681,7 @@ pub unsafe fn FwpmNetEventSubscribe2(enginehandle: P0, subscription: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe2 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK2 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe2 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK2 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmNetEventSubscribe2(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), eventshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -691,7 +691,7 @@ pub unsafe fn FwpmNetEventSubscribe3(enginehandle: P0, subscription: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe3 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK3 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe3 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK3 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmNetEventSubscribe3(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), eventshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -701,7 +701,7 @@ pub unsafe fn FwpmNetEventSubscribe4(enginehandle: P0, subscription: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe4 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK4 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscribe4 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_NET_EVENT_SUBSCRIPTION0 , callback : FWPM_NET_EVENT_CALLBACK4 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmNetEventSubscribe4(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), eventshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -711,7 +711,7 @@ pub unsafe fn FwpmNetEventSubscriptionsGet0(enginehandle: P0, entries: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_NET_EVENT_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_NET_EVENT_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); FwpmNetEventSubscriptionsGet0(enginehandle.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -722,7 +722,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , eventshandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , eventshandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmNetEventUnsubscribe0(enginehandle.into(), eventshandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -732,7 +732,7 @@ pub unsafe fn FwpmNetEventsGetSecurityInfo0(enginehandle: P0, securityinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventsGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventsGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmNetEventsGetSecurityInfo0(enginehandle.into(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -742,7 +742,7 @@ pub unsafe fn FwpmNetEventsSetSecurityInfo0(enginehandle: P0, securityinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventsSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmNetEventsSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmNetEventsSetSecurityInfo0(enginehandle.into(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -753,7 +753,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderAdd0 ( enginehandle : super::super::Foundation:: HANDLE , provider : *const FWPM_PROVIDER0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderAdd0 ( enginehandle : super::super::Foundation:: HANDLE , provider : *const FWPM_PROVIDER0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmProviderAdd0(enginehandle.into(), provider, sd.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -764,7 +764,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextAdd0 ( enginehandle : super::super::Foundation:: HANDLE , providercontext : *const FWPM_PROVIDER_CONTEXT0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextAdd0 ( enginehandle : super::super::Foundation:: HANDLE , providercontext : *const FWPM_PROVIDER_CONTEXT0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); FwpmProviderContextAdd0(enginehandle.into(), providercontext, sd.into(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -775,7 +775,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextAdd1 ( enginehandle : super::super::Foundation:: HANDLE , providercontext : *const FWPM_PROVIDER_CONTEXT1 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextAdd1 ( enginehandle : super::super::Foundation:: HANDLE , providercontext : *const FWPM_PROVIDER_CONTEXT1 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); FwpmProviderContextAdd1(enginehandle.into(), providercontext, sd.into(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -786,7 +786,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextAdd2 ( enginehandle : super::super::Foundation:: HANDLE , providercontext : *const FWPM_PROVIDER_CONTEXT2 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextAdd2 ( enginehandle : super::super::Foundation:: HANDLE , providercontext : *const FWPM_PROVIDER_CONTEXT2 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); FwpmProviderContextAdd2(enginehandle.into(), providercontext, sd.into(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -797,7 +797,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextAdd3 ( enginehandle : super::super::Foundation:: HANDLE , providercontext : *const FWPM_PROVIDER_CONTEXT3 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextAdd3 ( enginehandle : super::super::Foundation:: HANDLE , providercontext : *const FWPM_PROVIDER_CONTEXT3 , sd : super::super::Security:: PSECURITY_DESCRIPTOR , id : *mut u64 ) -> u32 ); FwpmProviderContextAdd3(enginehandle.into(), providercontext, sd.into(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -807,7 +807,7 @@ pub unsafe fn FwpmProviderContextCreateEnumHandle0(enginehandle: P0, enumtem where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmProviderContextCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -817,7 +817,7 @@ pub unsafe fn FwpmProviderContextDeleteById0(enginehandle: P0, id: u64) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); FwpmProviderContextDeleteById0(enginehandle.into(), id) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -827,7 +827,7 @@ pub unsafe fn FwpmProviderContextDeleteByKey0(enginehandle: P0, key: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); FwpmProviderContextDeleteByKey0(enginehandle.into(), key) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -838,7 +838,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmProviderContextDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -849,7 +849,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmProviderContextEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -860,7 +860,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT1 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT1 , numentriesreturned : *mut u32 ) -> u32 ); FwpmProviderContextEnum1(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -871,7 +871,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextEnum2 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT2 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextEnum2 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT2 , numentriesreturned : *mut u32 ) -> u32 ); FwpmProviderContextEnum2(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -882,7 +882,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextEnum3 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT3 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextEnum3 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT3 , numentriesreturned : *mut u32 ) -> u32 ); FwpmProviderContextEnum3(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -892,7 +892,7 @@ pub unsafe fn FwpmProviderContextGetById0(enginehandle: P0, id: u64, provide where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT0 ) -> u32 ); FwpmProviderContextGetById0(enginehandle.into(), id, providercontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -902,7 +902,7 @@ pub unsafe fn FwpmProviderContextGetById1(enginehandle: P0, id: u64, provide where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetById1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetById1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT1 ) -> u32 ); FwpmProviderContextGetById1(enginehandle.into(), id, providercontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -912,7 +912,7 @@ pub unsafe fn FwpmProviderContextGetById2(enginehandle: P0, id: u64, provide where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetById2 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT2 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetById2 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT2 ) -> u32 ); FwpmProviderContextGetById2(enginehandle.into(), id, providercontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -922,7 +922,7 @@ pub unsafe fn FwpmProviderContextGetById3(enginehandle: P0, id: u64, provide where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetById3 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT3 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetById3 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT3 ) -> u32 ); FwpmProviderContextGetById3(enginehandle.into(), id, providercontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -932,7 +932,7 @@ pub unsafe fn FwpmProviderContextGetByKey0(enginehandle: P0, key: *const ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT0 ) -> u32 ); FwpmProviderContextGetByKey0(enginehandle.into(), key, providercontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -942,7 +942,7 @@ pub unsafe fn FwpmProviderContextGetByKey1(enginehandle: P0, key: *const ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetByKey1 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetByKey1 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT1 ) -> u32 ); FwpmProviderContextGetByKey1(enginehandle.into(), key, providercontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -952,7 +952,7 @@ pub unsafe fn FwpmProviderContextGetByKey2(enginehandle: P0, key: *const ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetByKey2 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT2 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetByKey2 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT2 ) -> u32 ); FwpmProviderContextGetByKey2(enginehandle.into(), key, providercontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -962,7 +962,7 @@ pub unsafe fn FwpmProviderContextGetByKey3(enginehandle: P0, key: *const ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetByKey3 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT3 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetByKey3 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , providercontext : *mut *mut FWPM_PROVIDER_CONTEXT3 ) -> u32 ); FwpmProviderContextGetByKey3(enginehandle.into(), key, providercontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -972,7 +972,7 @@ pub unsafe fn FwpmProviderContextGetSecurityInfoByKey0(enginehandle: P0, key where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmProviderContextGetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -982,7 +982,7 @@ pub unsafe fn FwpmProviderContextSetSecurityInfoByKey0(enginehandle: P0, key where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmProviderContextSetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -992,7 +992,7 @@ pub unsafe fn FwpmProviderContextSubscribeChanges0(enginehandle: P0, subscri where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0 , callback : FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0 , callback : FWPM_PROVIDER_CONTEXT_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmProviderContextSubscribeChanges0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), changehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1002,7 +1002,7 @@ pub unsafe fn FwpmProviderContextSubscriptionsGet0(enginehandle: P0, entries where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_PROVIDER_CONTEXT_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); FwpmProviderContextSubscriptionsGet0(enginehandle.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1013,7 +1013,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderContextUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmProviderContextUnsubscribeChanges0(enginehandle.into(), changehandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1023,7 +1023,7 @@ pub unsafe fn FwpmProviderCreateEnumHandle0(enginehandle: P0, enumtemplate: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_PROVIDER_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_PROVIDER_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmProviderCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1033,7 +1033,7 @@ pub unsafe fn FwpmProviderDeleteByKey0(enginehandle: P0, key: *const ::windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); FwpmProviderDeleteByKey0(enginehandle.into(), key) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1044,7 +1044,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmProviderDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1055,7 +1055,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_PROVIDER0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmProviderEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1065,7 +1065,7 @@ pub unsafe fn FwpmProviderGetByKey0(enginehandle: P0, key: *const ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , provider : *mut *mut FWPM_PROVIDER0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , provider : *mut *mut FWPM_PROVIDER0 ) -> u32 ); FwpmProviderGetByKey0(enginehandle.into(), key, provider) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1075,7 +1075,7 @@ pub unsafe fn FwpmProviderGetSecurityInfoByKey0(enginehandle: P0, key: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmProviderGetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1085,7 +1085,7 @@ pub unsafe fn FwpmProviderSetSecurityInfoByKey0(enginehandle: P0, key: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmProviderSetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1095,7 +1095,7 @@ pub unsafe fn FwpmProviderSubscribeChanges0(enginehandle: P0, subscription: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_PROVIDER_SUBSCRIPTION0 , callback : FWPM_PROVIDER_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_PROVIDER_SUBSCRIPTION0 , callback : FWPM_PROVIDER_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmProviderSubscribeChanges0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), changehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1105,7 +1105,7 @@ pub unsafe fn FwpmProviderSubscriptionsGet0(enginehandle: P0, entries: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_PROVIDER_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_PROVIDER_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); FwpmProviderSubscriptionsGet0(enginehandle.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1116,7 +1116,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmProviderUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmProviderUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmProviderUnsubscribeChanges0(enginehandle.into(), changehandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1126,7 +1126,7 @@ pub unsafe fn FwpmSessionCreateEnumHandle0(enginehandle: P0, enumtemplate: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSessionCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_SESSION_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSessionCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_SESSION_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmSessionCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1137,7 +1137,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSessionDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSessionDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmSessionDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1148,7 +1148,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSessionEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_SESSION0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSessionEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_SESSION0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmSessionEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1159,7 +1159,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerAdd0 ( enginehandle : super::super::Foundation:: HANDLE , sublayer : *const FWPM_SUBLAYER0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerAdd0 ( enginehandle : super::super::Foundation:: HANDLE , sublayer : *const FWPM_SUBLAYER0 , sd : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmSubLayerAdd0(enginehandle.into(), sublayer, sd.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1169,7 +1169,7 @@ pub unsafe fn FwpmSubLayerCreateEnumHandle0(enginehandle: P0, enumtemplate: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_SUBLAYER_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const FWPM_SUBLAYER_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmSubLayerCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1179,7 +1179,7 @@ pub unsafe fn FwpmSubLayerDeleteByKey0(enginehandle: P0, key: *const ::windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerDeleteByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID ) -> u32 ); FwpmSubLayerDeleteByKey0(enginehandle.into(), key) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1190,7 +1190,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmSubLayerDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1201,7 +1201,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_SUBLAYER0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut FWPM_SUBLAYER0 , numentriesreturned : *mut u32 ) -> u32 ); FwpmSubLayerEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1211,7 +1211,7 @@ pub unsafe fn FwpmSubLayerGetByKey0(enginehandle: P0, key: *const ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , sublayer : *mut *mut FWPM_SUBLAYER0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerGetByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , sublayer : *mut *mut FWPM_SUBLAYER0 ) -> u32 ); FwpmSubLayerGetByKey0(enginehandle.into(), key, sublayer) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1221,7 +1221,7 @@ pub unsafe fn FwpmSubLayerGetSecurityInfoByKey0(enginehandle: P0, key: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmSubLayerGetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1231,7 +1231,7 @@ pub unsafe fn FwpmSubLayerSetSecurityInfoByKey0(enginehandle: P0, key: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , key : *const :: windows::core::GUID , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmSubLayerSetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1241,7 +1241,7 @@ pub unsafe fn FwpmSubLayerSubscribeChanges0(enginehandle: P0, subscription: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_SUBLAYER_SUBSCRIPTION0 , callback : FWPM_SUBLAYER_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerSubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_SUBLAYER_SUBSCRIPTION0 , callback : FWPM_SUBLAYER_CHANGE_CALLBACK0 , context : *const ::core::ffi::c_void , changehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmSubLayerSubscribeChanges0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), changehandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1251,7 +1251,7 @@ pub unsafe fn FwpmSubLayerSubscriptionsGet0(enginehandle: P0, entries: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_SUBLAYER_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut FWPM_SUBLAYER_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); FwpmSubLayerSubscriptionsGet0(enginehandle.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1262,7 +1262,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSubLayerUnsubscribeChanges0 ( enginehandle : super::super::Foundation:: HANDLE , changehandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmSubLayerUnsubscribeChanges0(enginehandle.into(), changehandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1272,7 +1272,7 @@ pub unsafe fn FwpmSystemPortsGet0(enginehandle: P0, sysports: *mut *mut FWPM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSystemPortsGet0 ( enginehandle : super::super::Foundation:: HANDLE , sysports : *mut *mut FWPM_SYSTEM_PORTS0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSystemPortsGet0 ( enginehandle : super::super::Foundation:: HANDLE , sysports : *mut *mut FWPM_SYSTEM_PORTS0 ) -> u32 ); FwpmSystemPortsGet0(enginehandle.into(), sysports) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1282,7 +1282,7 @@ pub unsafe fn FwpmSystemPortsSubscribe0(enginehandle: P0, reserved: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSystemPortsSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , reserved : *const ::core::ffi::c_void , callback : FWPM_SYSTEM_PORTS_CALLBACK0 , context : *const ::core::ffi::c_void , sysportshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSystemPortsSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , reserved : *const ::core::ffi::c_void , callback : FWPM_SYSTEM_PORTS_CALLBACK0 , context : *const ::core::ffi::c_void , sysportshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmSystemPortsSubscribe0(enginehandle.into(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), sysportshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1293,7 +1293,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmSystemPortsUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , sysportshandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmSystemPortsUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , sysportshandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmSystemPortsUnsubscribe0(enginehandle.into(), sysportshandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1303,7 +1303,7 @@ pub unsafe fn FwpmTransactionAbort0(enginehandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmTransactionAbort0 ( enginehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmTransactionAbort0 ( enginehandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmTransactionAbort0(enginehandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1313,7 +1313,7 @@ pub unsafe fn FwpmTransactionBegin0(enginehandle: P0, flags: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmTransactionBegin0 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmTransactionBegin0 ( enginehandle : super::super::Foundation:: HANDLE , flags : u32 ) -> u32 ); FwpmTransactionBegin0(enginehandle.into(), flags) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1323,7 +1323,7 @@ pub unsafe fn FwpmTransactionCommit0(enginehandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmTransactionCommit0 ( enginehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmTransactionCommit0 ( enginehandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmTransactionCommit0(enginehandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1333,7 +1333,7 @@ pub unsafe fn FwpmvSwitchEventSubscribe0(enginehandle: P0, subscription: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmvSwitchEventSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_VSWITCH_EVENT_SUBSCRIPTION0 , callback : FWPM_VSWITCH_EVENT_CALLBACK0 , context : *const ::core::ffi::c_void , subscriptionhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmvSwitchEventSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const FWPM_VSWITCH_EVENT_SUBSCRIPTION0 , callback : FWPM_VSWITCH_EVENT_CALLBACK0 , context : *const ::core::ffi::c_void , subscriptionhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); FwpmvSwitchEventSubscribe0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), subscriptionhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1344,7 +1344,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmvSwitchEventUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscriptionhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmvSwitchEventUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscriptionhandle : super::super::Foundation:: HANDLE ) -> u32 ); FwpmvSwitchEventUnsubscribe0(enginehandle.into(), subscriptionhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1354,7 +1354,7 @@ pub unsafe fn FwpmvSwitchEventsGetSecurityInfo0(enginehandle: P0, securityin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmvSwitchEventsGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmvSwitchEventsGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); FwpmvSwitchEventsGetSecurityInfo0(enginehandle.into(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1364,7 +1364,7 @@ pub unsafe fn FwpmvSwitchEventsSetSecurityInfo0(enginehandle: P0, securityin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn FwpmvSwitchEventsSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn FwpmvSwitchEventsSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); FwpmvSwitchEventsSetSecurityInfo0(enginehandle.into(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1374,7 +1374,7 @@ pub unsafe fn IPsecDospGetSecurityInfo0(enginehandle: P0, securityinfo: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecDospGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecDospGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); IPsecDospGetSecurityInfo0(enginehandle.into(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1384,7 +1384,7 @@ pub unsafe fn IPsecDospGetStatistics0(enginehandle: P0, idpstatistics: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecDospGetStatistics0 ( enginehandle : super::super::Foundation:: HANDLE , idpstatistics : *mut IPSEC_DOSP_STATISTICS0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecDospGetStatistics0 ( enginehandle : super::super::Foundation:: HANDLE , idpstatistics : *mut IPSEC_DOSP_STATISTICS0 ) -> u32 ); IPsecDospGetStatistics0(enginehandle.into(), idpstatistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1394,7 +1394,7 @@ pub unsafe fn IPsecDospSetSecurityInfo0(enginehandle: P0, securityinfo: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecDospSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecDospSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); IPsecDospSetSecurityInfo0(enginehandle.into(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1404,7 +1404,7 @@ pub unsafe fn IPsecDospStateCreateEnumHandle0(enginehandle: P0, enumtemplate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecDospStateCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const IPSEC_DOSP_STATE_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecDospStateCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const IPSEC_DOSP_STATE_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); IPsecDospStateCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1415,7 +1415,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecDospStateDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecDospStateDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); IPsecDospStateDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1426,7 +1426,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecDospStateEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_DOSP_STATE0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecDospStateEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_DOSP_STATE0 , numentries : *mut u32 ) -> u32 ); IPsecDospStateEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1436,7 +1436,7 @@ pub unsafe fn IPsecGetStatistics0(enginehandle: P0, ipsecstatistics: *mut IP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecGetStatistics0 ( enginehandle : super::super::Foundation:: HANDLE , ipsecstatistics : *mut IPSEC_STATISTICS0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecGetStatistics0 ( enginehandle : super::super::Foundation:: HANDLE , ipsecstatistics : *mut IPSEC_STATISTICS0 ) -> u32 ); IPsecGetStatistics0(enginehandle.into(), ipsecstatistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1446,7 +1446,7 @@ pub unsafe fn IPsecGetStatistics1(enginehandle: P0, ipsecstatistics: *mut IP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecGetStatistics1 ( enginehandle : super::super::Foundation:: HANDLE , ipsecstatistics : *mut IPSEC_STATISTICS1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecGetStatistics1 ( enginehandle : super::super::Foundation:: HANDLE , ipsecstatistics : *mut IPSEC_STATISTICS1 ) -> u32 ); IPsecGetStatistics1(enginehandle.into(), ipsecstatistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1456,7 +1456,7 @@ pub unsafe fn IPsecKeyManagerAddAndRegister0(enginehandle: P0, keymanager: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagerAddAndRegister0 ( enginehandle : super::super::Foundation:: HANDLE , keymanager : *const IPSEC_KEY_MANAGER0 , keymanagercallbacks : *const IPSEC_KEY_MANAGER_CALLBACKS0 , keymgmthandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagerAddAndRegister0 ( enginehandle : super::super::Foundation:: HANDLE , keymanager : *const IPSEC_KEY_MANAGER0 , keymanagercallbacks : *const IPSEC_KEY_MANAGER_CALLBACKS0 , keymgmthandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); IPsecKeyManagerAddAndRegister0(enginehandle.into(), keymanager, keymanagercallbacks, keymgmthandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1466,7 +1466,7 @@ pub unsafe fn IPsecKeyManagerGetSecurityInfoByKey0(enginehandle: P0, reserve where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagerGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , reserved : *const ::core::ffi::c_void , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagerGetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , reserved : *const ::core::ffi::c_void , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); IPsecKeyManagerGetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1476,7 +1476,7 @@ pub unsafe fn IPsecKeyManagerSetSecurityInfoByKey0(enginehandle: P0, reserve where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagerSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , reserved : *const ::core::ffi::c_void , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagerSetSecurityInfoByKey0 ( enginehandle : super::super::Foundation:: HANDLE , reserved : *const ::core::ffi::c_void , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); IPsecKeyManagerSetSecurityInfoByKey0(enginehandle.into(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1487,7 +1487,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagerUnregisterAndDelete0 ( enginehandle : super::super::Foundation:: HANDLE , keymgmthandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagerUnregisterAndDelete0 ( enginehandle : super::super::Foundation:: HANDLE , keymgmthandle : super::super::Foundation:: HANDLE ) -> u32 ); IPsecKeyManagerUnregisterAndDelete0(enginehandle.into(), keymgmthandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1497,7 +1497,7 @@ pub unsafe fn IPsecKeyManagersGet0(enginehandle: P0, entries: *mut *mut *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagersGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut IPSEC_KEY_MANAGER0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecKeyManagersGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut IPSEC_KEY_MANAGER0 , numentries : *mut u32 ) -> u32 ); IPsecKeyManagersGet0(enginehandle.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1507,7 +1507,7 @@ pub unsafe fn IPsecSaContextAddInbound0(enginehandle: P0, id: u64, inboundbu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextAddInbound0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , inboundbundle : *const IPSEC_SA_BUNDLE0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextAddInbound0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , inboundbundle : *const IPSEC_SA_BUNDLE0 ) -> u32 ); IPsecSaContextAddInbound0(enginehandle.into(), id, inboundbundle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1517,7 +1517,7 @@ pub unsafe fn IPsecSaContextAddInbound1(enginehandle: P0, id: u64, inboundbu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextAddInbound1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , inboundbundle : *const IPSEC_SA_BUNDLE1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextAddInbound1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , inboundbundle : *const IPSEC_SA_BUNDLE1 ) -> u32 ); IPsecSaContextAddInbound1(enginehandle.into(), id, inboundbundle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1527,7 +1527,7 @@ pub unsafe fn IPsecSaContextAddOutbound0(enginehandle: P0, id: u64, outbound where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextAddOutbound0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , outboundbundle : *const IPSEC_SA_BUNDLE0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextAddOutbound0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , outboundbundle : *const IPSEC_SA_BUNDLE0 ) -> u32 ); IPsecSaContextAddOutbound0(enginehandle.into(), id, outboundbundle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1537,7 +1537,7 @@ pub unsafe fn IPsecSaContextAddOutbound1(enginehandle: P0, id: u64, outbound where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextAddOutbound1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , outboundbundle : *const IPSEC_SA_BUNDLE1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextAddOutbound1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , outboundbundle : *const IPSEC_SA_BUNDLE1 ) -> u32 ); IPsecSaContextAddOutbound1(enginehandle.into(), id, outboundbundle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1547,7 +1547,7 @@ pub unsafe fn IPsecSaContextCreate0(enginehandle: P0, outboundtraffic: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextCreate0 ( enginehandle : super::super::Foundation:: HANDLE , outboundtraffic : *const IPSEC_TRAFFIC0 , inboundfilterid : *mut u64 , id : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextCreate0 ( enginehandle : super::super::Foundation:: HANDLE , outboundtraffic : *const IPSEC_TRAFFIC0 , inboundfilterid : *mut u64 , id : *mut u64 ) -> u32 ); IPsecSaContextCreate0(enginehandle.into(), outboundtraffic, ::core::mem::transmute(inboundfilterid.unwrap_or(::std::ptr::null_mut())), id) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1557,7 +1557,7 @@ pub unsafe fn IPsecSaContextCreate1(enginehandle: P0, outboundtraffic: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextCreate1 ( enginehandle : super::super::Foundation:: HANDLE , outboundtraffic : *const IPSEC_TRAFFIC1 , virtualiftunnelinfo : *const IPSEC_VIRTUAL_IF_TUNNEL_INFO0 , inboundfilterid : *mut u64 , id : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextCreate1 ( enginehandle : super::super::Foundation:: HANDLE , outboundtraffic : *const IPSEC_TRAFFIC1 , virtualiftunnelinfo : *const IPSEC_VIRTUAL_IF_TUNNEL_INFO0 , inboundfilterid : *mut u64 , id : *mut u64 ) -> u32 ); IPsecSaContextCreate1(enginehandle.into(), outboundtraffic, ::core::mem::transmute(virtualiftunnelinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(inboundfilterid.unwrap_or(::std::ptr::null_mut())), id) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1567,7 +1567,7 @@ pub unsafe fn IPsecSaContextCreateEnumHandle0(enginehandle: P0, enumtemplate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const IPSEC_SA_CONTEXT_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const IPSEC_SA_CONTEXT_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); IPsecSaContextCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1577,7 +1577,7 @@ pub unsafe fn IPsecSaContextDeleteById0(enginehandle: P0, id: u64) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); IPsecSaContextDeleteById0(enginehandle.into(), id) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1588,7 +1588,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); IPsecSaContextDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1599,7 +1599,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_SA_CONTEXT0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_SA_CONTEXT0 , numentriesreturned : *mut u32 ) -> u32 ); IPsecSaContextEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1610,7 +1610,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_SA_CONTEXT1 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_SA_CONTEXT1 , numentriesreturned : *mut u32 ) -> u32 ); IPsecSaContextEnum1(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1620,7 +1620,7 @@ pub unsafe fn IPsecSaContextExpire0(enginehandle: P0, id: u64) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextExpire0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextExpire0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); IPsecSaContextExpire0(enginehandle.into(), id) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1630,7 +1630,7 @@ pub unsafe fn IPsecSaContextGetById0(enginehandle: P0, id: u64, sacontext: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , sacontext : *mut *mut IPSEC_SA_CONTEXT0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , sacontext : *mut *mut IPSEC_SA_CONTEXT0 ) -> u32 ); IPsecSaContextGetById0(enginehandle.into(), id, sacontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1640,7 +1640,7 @@ pub unsafe fn IPsecSaContextGetById1(enginehandle: P0, id: u64, sacontext: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextGetById1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , sacontext : *mut *mut IPSEC_SA_CONTEXT1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextGetById1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , sacontext : *mut *mut IPSEC_SA_CONTEXT1 ) -> u32 ); IPsecSaContextGetById1(enginehandle.into(), id, sacontext) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1650,7 +1650,7 @@ pub unsafe fn IPsecSaContextGetSpi0(enginehandle: P0, id: u64, getspi: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextGetSpi0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , getspi : *const IPSEC_GETSPI0 , inboundspi : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextGetSpi0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , getspi : *const IPSEC_GETSPI0 , inboundspi : *mut u32 ) -> u32 ); IPsecSaContextGetSpi0(enginehandle.into(), id, getspi, inboundspi) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1660,7 +1660,7 @@ pub unsafe fn IPsecSaContextGetSpi1(enginehandle: P0, id: u64, getspi: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextGetSpi1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , getspi : *const IPSEC_GETSPI1 , inboundspi : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextGetSpi1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , getspi : *const IPSEC_GETSPI1 , inboundspi : *mut u32 ) -> u32 ); IPsecSaContextGetSpi1(enginehandle.into(), id, getspi, inboundspi) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1670,7 +1670,7 @@ pub unsafe fn IPsecSaContextSetSpi0(enginehandle: P0, id: u64, getspi: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextSetSpi0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , getspi : *const IPSEC_GETSPI1 , inboundspi : u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextSetSpi0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , getspi : *const IPSEC_GETSPI1 , inboundspi : u32 ) -> u32 ); IPsecSaContextSetSpi0(enginehandle.into(), id, getspi, inboundspi) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1680,7 +1680,7 @@ pub unsafe fn IPsecSaContextSubscribe0(enginehandle: P0, subscription: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const IPSEC_SA_CONTEXT_SUBSCRIPTION0 , callback : IPSEC_SA_CONTEXT_CALLBACK0 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextSubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , subscription : *const IPSEC_SA_CONTEXT_SUBSCRIPTION0 , callback : IPSEC_SA_CONTEXT_CALLBACK0 , context : *const ::core::ffi::c_void , eventshandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); IPsecSaContextSubscribe0(enginehandle.into(), subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), eventshandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1690,7 +1690,7 @@ pub unsafe fn IPsecSaContextSubscriptionsGet0(enginehandle: P0, entries: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut IPSEC_SA_CONTEXT_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextSubscriptionsGet0 ( enginehandle : super::super::Foundation:: HANDLE , entries : *mut *mut *mut IPSEC_SA_CONTEXT_SUBSCRIPTION0 , numentries : *mut u32 ) -> u32 ); IPsecSaContextSubscriptionsGet0(enginehandle.into(), entries, numentries) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1701,7 +1701,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , eventshandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextUnsubscribe0 ( enginehandle : super::super::Foundation:: HANDLE , eventshandle : super::super::Foundation:: HANDLE ) -> u32 ); IPsecSaContextUnsubscribe0(enginehandle.into(), eventshandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1711,7 +1711,7 @@ pub unsafe fn IPsecSaContextUpdate0(enginehandle: P0, flags: u64, newvalues: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextUpdate0 ( enginehandle : super::super::Foundation:: HANDLE , flags : u64 , newvalues : *const IPSEC_SA_CONTEXT1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaContextUpdate0 ( enginehandle : super::super::Foundation:: HANDLE , flags : u64 , newvalues : *const IPSEC_SA_CONTEXT1 ) -> u32 ); IPsecSaContextUpdate0(enginehandle.into(), flags, newvalues) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1721,7 +1721,7 @@ pub unsafe fn IPsecSaCreateEnumHandle0(enginehandle: P0, enumtemplate: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const IPSEC_SA_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const IPSEC_SA_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); IPsecSaCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1731,7 +1731,7 @@ pub unsafe fn IPsecSaDbGetSecurityInfo0(enginehandle: P0, securityinfo: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaDbGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaDbGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); IPsecSaDbGetSecurityInfo0(enginehandle.into(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1741,7 +1741,7 @@ pub unsafe fn IPsecSaDbSetSecurityInfo0(enginehandle: P0, securityinfo: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaDbSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaDbSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); IPsecSaDbSetSecurityInfo0(enginehandle.into(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1752,7 +1752,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); IPsecSaDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1763,7 +1763,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_SA_DETAILS0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_SA_DETAILS0 , numentriesreturned : *mut u32 ) -> u32 ); IPsecSaEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1774,7 +1774,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IPsecSaEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_SA_DETAILS1 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IPsecSaEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IPSEC_SA_DETAILS1 , numentriesreturned : *mut u32 ) -> u32 ); IPsecSaEnum1(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1784,7 +1784,7 @@ pub unsafe fn IkeextGetStatistics0(enginehandle: P0, ikeextstatistics: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextGetStatistics0 ( enginehandle : super::super::Foundation:: HANDLE , ikeextstatistics : *mut IKEEXT_STATISTICS0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextGetStatistics0 ( enginehandle : super::super::Foundation:: HANDLE , ikeextstatistics : *mut IKEEXT_STATISTICS0 ) -> u32 ); IkeextGetStatistics0(enginehandle.into(), ikeextstatistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1794,7 +1794,7 @@ pub unsafe fn IkeextGetStatistics1(enginehandle: P0, ikeextstatistics: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextGetStatistics1 ( enginehandle : super::super::Foundation:: HANDLE , ikeextstatistics : *mut IKEEXT_STATISTICS1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextGetStatistics1 ( enginehandle : super::super::Foundation:: HANDLE , ikeextstatistics : *mut IKEEXT_STATISTICS1 ) -> u32 ); IkeextGetStatistics1(enginehandle.into(), ikeextstatistics) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1804,7 +1804,7 @@ pub unsafe fn IkeextSaCreateEnumHandle0(enginehandle: P0, enumtemplate: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const IKEEXT_SA_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaCreateEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumtemplate : *const IKEEXT_SA_ENUM_TEMPLATE0 , enumhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); IkeextSaCreateEnumHandle0(enginehandle.into(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1814,7 +1814,7 @@ pub unsafe fn IkeextSaDbGetSecurityInfo0(enginehandle: P0, securityinfo: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaDbGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaDbGetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *mut super::super::Foundation:: PSID , sidgroup : *mut super::super::Foundation:: PSID , dacl : *mut *mut super::super::Security:: ACL , sacl : *mut *mut super::super::Security:: ACL , securitydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); IkeextSaDbGetSecurityInfo0(enginehandle.into(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -1824,7 +1824,7 @@ pub unsafe fn IkeextSaDbSetSecurityInfo0(enginehandle: P0, securityinfo: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaDbSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaDbSetSecurityInfo0 ( enginehandle : super::super::Foundation:: HANDLE , securityinfo : u32 , sidowner : *const super::super::Security:: SID , sidgroup : *const super::super::Security:: SID , dacl : *const super::super::Security:: ACL , sacl : *const super::super::Security:: ACL ) -> u32 ); IkeextSaDbSetSecurityInfo0(enginehandle.into(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1834,7 +1834,7 @@ pub unsafe fn IkeextSaDeleteById0(enginehandle: P0, id: u64) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaDeleteById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 ) -> u32 ); IkeextSaDeleteById0(enginehandle.into(), id) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1845,7 +1845,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaDestroyEnumHandle0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE ) -> u32 ); IkeextSaDestroyEnumHandle0(enginehandle.into(), enumhandle.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1856,7 +1856,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IKEEXT_SA_DETAILS0 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaEnum0 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IKEEXT_SA_DETAILS0 , numentriesreturned : *mut u32 ) -> u32 ); IkeextSaEnum0(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1867,7 +1867,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IKEEXT_SA_DETAILS1 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaEnum1 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IKEEXT_SA_DETAILS1 , numentriesreturned : *mut u32 ) -> u32 ); IkeextSaEnum1(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1878,7 +1878,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaEnum2 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IKEEXT_SA_DETAILS2 , numentriesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaEnum2 ( enginehandle : super::super::Foundation:: HANDLE , enumhandle : super::super::Foundation:: HANDLE , numentriesrequested : u32 , entries : *mut *mut *mut IKEEXT_SA_DETAILS2 , numentriesreturned : *mut u32 ) -> u32 ); IkeextSaEnum2(enginehandle.into(), enumhandle.into(), numentriesrequested, entries, numentriesreturned) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1888,7 +1888,7 @@ pub unsafe fn IkeextSaGetById0(enginehandle: P0, id: u64, sa: *mut *mut IKEE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , sa : *mut *mut IKEEXT_SA_DETAILS0 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaGetById0 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , sa : *mut *mut IKEEXT_SA_DETAILS0 ) -> u32 ); IkeextSaGetById0(enginehandle.into(), id, sa) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1898,7 +1898,7 @@ pub unsafe fn IkeextSaGetById1(enginehandle: P0, id: u64, salookupcontext: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaGetById1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , salookupcontext : *const :: windows::core::GUID , sa : *mut *mut IKEEXT_SA_DETAILS1 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaGetById1 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , salookupcontext : *const :: windows::core::GUID , sa : *mut *mut IKEEXT_SA_DETAILS1 ) -> u32 ); IkeextSaGetById1(enginehandle.into(), id, ::core::mem::transmute(salookupcontext.unwrap_or(::std::ptr::null())), sa) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Foundation\"`*"] @@ -1908,7 +1908,7 @@ pub unsafe fn IkeextSaGetById2(enginehandle: P0, id: u64, salookupcontext: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn IkeextSaGetById2 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , salookupcontext : *const :: windows::core::GUID , sa : *mut *mut IKEEXT_SA_DETAILS2 ) -> u32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn IkeextSaGetById2 ( enginehandle : super::super::Foundation:: HANDLE , id : u64 , salookupcontext : *const :: windows::core::GUID , sa : *mut *mut IKEEXT_SA_DETAILS2 ) -> u32 ); IkeextSaGetById2(enginehandle.into(), id, ::core::mem::transmute(salookupcontext.unwrap_or(::std::ptr::null())), sa) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index 13c2238258..ec0511b9c0 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -4,42 +4,42 @@ pub unsafe fn NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationDiagnoseConnectFailureAndGetInfo ( wszservername : :: windows::core::PCWSTR , netisoerror : *mut NETISO_ERROR_TYPE ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationDiagnoseConnectFailureAndGetInfo ( wszservername : :: windows::core::PCWSTR , netisoerror : *mut NETISO_ERROR_TYPE ) -> u32 ); NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername.into().abi(), netisoerror) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn NetworkIsolationEnumAppContainers(flags: u32, pdwnumpublicappcs: *mut u32, pppublicappcs: *mut *mut INET_FIREWALL_APP_CONTAINER) -> u32 { - ::windows::core::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationEnumAppContainers ( flags : u32 , pdwnumpublicappcs : *mut u32 , pppublicappcs : *mut *mut INET_FIREWALL_APP_CONTAINER ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationEnumAppContainers ( flags : u32 , pdwnumpublicappcs : *mut u32 , pppublicappcs : *mut *mut INET_FIREWALL_APP_CONTAINER ) -> u32 ); NetworkIsolationEnumAppContainers(flags, pdwnumpublicappcs, pppublicappcs) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn NetworkIsolationFreeAppContainers(ppublicappcs: *const INET_FIREWALL_APP_CONTAINER) -> u32 { - ::windows::core::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationFreeAppContainers ( ppublicappcs : *const INET_FIREWALL_APP_CONTAINER ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationFreeAppContainers ( ppublicappcs : *const INET_FIREWALL_APP_CONTAINER ) -> u32 ); NetworkIsolationFreeAppContainers(ppublicappcs) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs: *mut u32, appcontainersids: *mut *mut super::super::Security::SID_AND_ATTRIBUTES) -> u32 { - ::windows::core::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationGetAppContainerConfig ( pdwnumpublicappcs : *mut u32 , appcontainersids : *mut *mut super::super::Security:: SID_AND_ATTRIBUTES ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationGetAppContainerConfig ( pdwnumpublicappcs : *mut u32 , appcontainersids : *mut *mut super::super::Security:: SID_AND_ATTRIBUTES ) -> u32 ); NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs, appcontainersids) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn NetworkIsolationRegisterForAppContainerChanges(flags: u32, callback: PAC_CHANGES_CALLBACK_FN, context: ::core::option::Option<*const ::core::ffi::c_void>, registrationobject: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationRegisterForAppContainerChanges ( flags : u32 , callback : PAC_CHANGES_CALLBACK_FN , context : *const ::core::ffi::c_void , registrationobject : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationRegisterForAppContainerChanges ( flags : u32 , callback : PAC_CHANGES_CALLBACK_FN , context : *const ::core::ffi::c_void , registrationobject : *mut super::super::Foundation:: HANDLE ) -> u32 ); NetworkIsolationRegisterForAppContainerChanges(flags, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), registrationobject) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn NetworkIsolationSetAppContainerConfig(appcontainersids: &[super::super::Security::SID_AND_ATTRIBUTES]) -> u32 { - ::windows::core::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationSetAppContainerConfig ( dwnumpublicappcs : u32 , appcontainersids : *const super::super::Security:: SID_AND_ATTRIBUTES ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationSetAppContainerConfig ( dwnumpublicappcs : u32 , appcontainersids : *const super::super::Security:: SID_AND_ATTRIBUTES ) -> u32 ); NetworkIsolationSetAppContainerConfig(appcontainersids.len() as _, ::core::mem::transmute(appcontainersids.as_ptr())) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] @@ -53,7 +53,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationSetupAppContainerBinaries ( applicationcontainersid : super::super::Foundation:: PSID , packagefullname : :: windows::core::PCWSTR , packagefolder : :: windows::core::PCWSTR , displayname : :: windows::core::PCWSTR , bbinariesfullycomputed : super::super::Foundation:: BOOL , binaries : *const :: windows::core::PCWSTR , binariescount : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationSetupAppContainerBinaries ( applicationcontainersid : super::super::Foundation:: PSID , packagefullname : :: windows::core::PCWSTR , packagefolder : :: windows::core::PCWSTR , displayname : :: windows::core::PCWSTR , bbinariesfullycomputed : super::super::Foundation:: BOOL , binaries : *const :: windows::core::PCWSTR , binariescount : u32 ) -> :: windows::core::HRESULT ); NetworkIsolationSetupAppContainerBinaries(applicationcontainersid.into(), packagefullname.into().abi(), packagefolder.into().abi(), displayname.into().abi(), bbinariesfullycomputed.into(), ::core::mem::transmute(binaries.as_ptr()), binaries.len() as _).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn NetworkIsolationUnregisterForAppContainerChanges(registrationo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationUnregisterForAppContainerChanges ( registrationobject : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-net-isolation-l1-1-0.dll""system" fn NetworkIsolationUnregisterForAppContainerChanges ( registrationobject : super::super::Foundation:: HANDLE ) -> u32 ); NetworkIsolationUnregisterForAppContainerChanges(registrationobject.into()) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] @@ -133,7 +133,7 @@ impl IDynamicPortMapping { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDynamicPortMapping, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDynamicPortMapping, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDynamicPortMapping { fn eq(&self, other: &Self) -> bool { @@ -222,7 +222,7 @@ impl IDynamicPortMappingCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDynamicPortMappingCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDynamicPortMappingCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDynamicPortMappingCollection { fn eq(&self, other: &Self) -> bool { @@ -286,7 +286,7 @@ impl IEnumNetConnection { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumNetConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNetConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNetConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -338,7 +338,7 @@ impl IEnumNetSharingEveryConnection { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumNetSharingEveryConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNetSharingEveryConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNetSharingEveryConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -393,7 +393,7 @@ impl IEnumNetSharingPortMapping { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumNetSharingPortMapping, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNetSharingPortMapping, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNetSharingPortMapping { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -448,7 +448,7 @@ impl IEnumNetSharingPrivateConnection { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumNetSharingPrivateConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNetSharingPrivateConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNetSharingPrivateConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -503,7 +503,7 @@ impl IEnumNetSharingPublicConnection { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumNetSharingPublicConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNetSharingPublicConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNetSharingPublicConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -558,7 +558,7 @@ impl INATEventManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INATEventManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INATEventManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INATEventManager { fn eq(&self, other: &Self) -> bool { @@ -603,7 +603,7 @@ impl INATExternalIPAddressCallback { (::windows::core::Vtable::vtable(self).NewExternalIPAddress)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrnewexternalipaddress)).ok() } } -::windows::core::interface_hierarchy!(INATExternalIPAddressCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INATExternalIPAddressCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INATExternalIPAddressCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -640,7 +640,7 @@ impl INATNumberOfEntriesCallback { (::windows::core::Vtable::vtable(self).NewNumberOfEntries)(::windows::core::Vtable::as_raw(self), lnewnumberofentries).ok() } } -::windows::core::interface_hierarchy!(INATNumberOfEntriesCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INATNumberOfEntriesCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INATNumberOfEntriesCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -704,7 +704,7 @@ impl INetConnection { (::windows::core::Vtable::vtable(self).Rename)(::windows::core::Vtable::as_raw(self), pszwnewname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(INetConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -766,7 +766,7 @@ impl INetConnectionConnectUi { (::windows::core::Vtable::vtable(self).Disconnect)(::windows::core::Vtable::as_raw(self), hwndparent.into(), dwflags).ok() } } -::windows::core::interface_hierarchy!(INetConnectionConnectUi, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetConnectionConnectUi, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetConnectionConnectUi { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -812,7 +812,7 @@ impl INetConnectionManager { (::windows::core::Vtable::vtable(self).EnumConnections)(::windows::core::Vtable::as_raw(self), flags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(INetConnectionManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetConnectionManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetConnectionManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -873,7 +873,7 @@ impl INetConnectionProps { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetConnectionProps, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetConnectionProps, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetConnectionProps { fn eq(&self, other: &Self) -> bool { @@ -971,7 +971,7 @@ impl INetFwAuthorizedApplication { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwAuthorizedApplication, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwAuthorizedApplication, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwAuthorizedApplication { fn eq(&self, other: &Self) -> bool { @@ -1057,7 +1057,7 @@ impl INetFwAuthorizedApplications { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwAuthorizedApplications, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwAuthorizedApplications, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwAuthorizedApplications { fn eq(&self, other: &Self) -> bool { @@ -1251,7 +1251,7 @@ impl INetFwIcmpSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwIcmpSettings, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwIcmpSettings, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwIcmpSettings { fn eq(&self, other: &Self) -> bool { @@ -1397,7 +1397,7 @@ impl INetFwMgr { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwMgr, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwMgr, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwMgr { fn eq(&self, other: &Self) -> bool { @@ -1516,7 +1516,7 @@ impl INetFwOpenPort { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwOpenPort, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwOpenPort, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwOpenPort { fn eq(&self, other: &Self) -> bool { @@ -1608,7 +1608,7 @@ impl INetFwOpenPorts { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwOpenPorts, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwOpenPorts, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwOpenPorts { fn eq(&self, other: &Self) -> bool { @@ -1674,7 +1674,7 @@ impl INetFwPolicy { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwPolicy, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwPolicy, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwPolicy { fn eq(&self, other: &Self) -> bool { @@ -1849,7 +1849,7 @@ impl INetFwPolicy2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwPolicy2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwPolicy2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwPolicy2 { fn eq(&self, other: &Self) -> bool { @@ -1981,7 +1981,7 @@ impl INetFwProduct { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwProduct, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwProduct, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwProduct { fn eq(&self, other: &Self) -> bool { @@ -2058,7 +2058,7 @@ impl INetFwProducts { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwProducts, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwProducts, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwProducts { fn eq(&self, other: &Self) -> bool { @@ -2201,7 +2201,7 @@ impl INetFwProfile { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwProfile, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwProfile, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwProfile { fn eq(&self, other: &Self) -> bool { @@ -2332,7 +2332,7 @@ impl INetFwRemoteAdminSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwRemoteAdminSettings, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwRemoteAdminSettings, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwRemoteAdminSettings { fn eq(&self, other: &Self) -> bool { @@ -2533,7 +2533,7 @@ impl INetFwRule { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwRule { fn eq(&self, other: &Self) -> bool { @@ -2781,7 +2781,7 @@ impl INetFwRule2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwRule2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, INetFwRule); +::windows::imp::interface_hierarchy!(INetFwRule2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, INetFwRule); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwRule2 { fn eq(&self, other: &Self) -> bool { @@ -3019,7 +3019,7 @@ impl INetFwRule3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwRule3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, INetFwRule, INetFwRule2); +::windows::imp::interface_hierarchy!(INetFwRule3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, INetFwRule, INetFwRule2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwRule3 { fn eq(&self, other: &Self) -> bool { @@ -3099,7 +3099,7 @@ impl INetFwRules { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwRules, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwRules, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwRules { fn eq(&self, other: &Self) -> bool { @@ -3208,7 +3208,7 @@ impl INetFwService { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwService, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwService, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwService { fn eq(&self, other: &Self) -> bool { @@ -3296,7 +3296,7 @@ impl INetFwServiceRestriction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwServiceRestriction, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwServiceRestriction, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwServiceRestriction { fn eq(&self, other: &Self) -> bool { @@ -3365,7 +3365,7 @@ impl INetFwServices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetFwServices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetFwServices, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetFwServices { fn eq(&self, other: &Self) -> bool { @@ -3462,7 +3462,7 @@ impl INetSharingConfiguration { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetSharingConfiguration, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetSharingConfiguration, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetSharingConfiguration { fn eq(&self, other: &Self) -> bool { @@ -3538,7 +3538,7 @@ impl INetSharingEveryConnectionCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetSharingEveryConnectionCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetSharingEveryConnectionCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetSharingEveryConnectionCollection { fn eq(&self, other: &Self) -> bool { @@ -3625,7 +3625,7 @@ impl INetSharingManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetSharingManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetSharingManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetSharingManager { fn eq(&self, other: &Self) -> bool { @@ -3707,7 +3707,7 @@ impl INetSharingPortMapping { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetSharingPortMapping, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetSharingPortMapping, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetSharingPortMapping { fn eq(&self, other: &Self) -> bool { @@ -3765,7 +3765,7 @@ impl INetSharingPortMappingCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetSharingPortMappingCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetSharingPortMappingCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetSharingPortMappingCollection { fn eq(&self, other: &Self) -> bool { @@ -3844,7 +3844,7 @@ impl INetSharingPortMappingProps { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetSharingPortMappingProps, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetSharingPortMappingProps, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetSharingPortMappingProps { fn eq(&self, other: &Self) -> bool { @@ -3906,7 +3906,7 @@ impl INetSharingPrivateConnectionCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetSharingPrivateConnectionCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetSharingPrivateConnectionCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetSharingPrivateConnectionCollection { fn eq(&self, other: &Self) -> bool { @@ -3959,7 +3959,7 @@ impl INetSharingPublicConnectionCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetSharingPublicConnectionCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetSharingPublicConnectionCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetSharingPublicConnectionCollection { fn eq(&self, other: &Self) -> bool { @@ -4051,7 +4051,7 @@ impl IStaticPortMapping { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IStaticPortMapping, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IStaticPortMapping, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IStaticPortMapping { fn eq(&self, other: &Self) -> bool { @@ -4137,7 +4137,7 @@ impl IStaticPortMappingCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IStaticPortMappingCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IStaticPortMappingCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IStaticPortMappingCollection { fn eq(&self, other: &Self) -> bool { @@ -4209,7 +4209,7 @@ impl IUPnPNAT { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUPnPNAT, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUPnPNAT, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUPnPNAT { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs index 64ac3a8f55..42a63e9649 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsNetworkVirtualization/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WnvOpen() -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "wnvapi.dll""system" fn WnvOpen ( ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wnvapi.dll""system" fn WnvOpen ( ) -> super::super::Foundation:: HANDLE ); WnvOpen() } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -12,7 +12,7 @@ pub unsafe fn WnvRequestNotification(wnvhandle: P0, notificationparam: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wnvapi.dll""system" fn WnvRequestNotification ( wnvhandle : super::super::Foundation:: HANDLE , notificationparam : *mut WNV_NOTIFICATION_PARAM , overlapped : *mut super::super::System::IO:: OVERLAPPED , bytestransferred : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wnvapi.dll""system" fn WnvRequestNotification ( wnvhandle : super::super::Foundation:: HANDLE , notificationparam : *mut WNV_NOTIFICATION_PARAM , overlapped : *mut super::super::System::IO:: OVERLAPPED , bytestransferred : *mut u32 ) -> u32 ); WnvRequestNotification(wnvhandle.into(), notificationparam, overlapped, bytestransferred) } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs index a153bb55f6..adc4aa58e0 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn ADsBuildEnumerator(padscontainer: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "activeds.dll""system" fn ADsBuildEnumerator ( padscontainer : * mut::core::ffi::c_void , ppenumvariant : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsBuildEnumerator ( padscontainer : * mut::core::ffi::c_void , ppenumvariant : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ADsBuildEnumerator(padscontainer.into().abi(), &mut result__).from_abi(result__) } @@ -13,14 +13,14 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn ADsBuildVarArrayInt(lpdwobjecttypes: *mut u32, dwobjecttypes: u32, pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "activeds.dll""system" fn ADsBuildVarArrayInt ( lpdwobjecttypes : *mut u32 , dwobjecttypes : u32 , pvar : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsBuildVarArrayInt ( lpdwobjecttypes : *mut u32 , dwobjecttypes : u32 , pvar : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); ADsBuildVarArrayInt(lpdwobjecttypes, dwobjecttypes, pvar).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn ADsBuildVarArrayStr(lpppathnames: &[::windows::core::PCWSTR], pvar: *mut super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "activeds.dll""system" fn ADsBuildVarArrayStr ( lpppathnames : *const :: windows::core::PCWSTR , dwpathnames : u32 , pvar : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsBuildVarArrayStr ( lpppathnames : *const :: windows::core::PCWSTR , dwpathnames : u32 , pvar : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); ADsBuildVarArrayStr(::core::mem::transmute(lpppathnames.as_ptr()), lpppathnames.len() as _, pvar).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -29,13 +29,13 @@ pub unsafe fn ADsDecodeBinaryData(szsrcdata: P0, ppbdestdata: *mut *mut u8, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn ADsDecodeBinaryData ( szsrcdata : :: windows::core::PCWSTR , ppbdestdata : *mut *mut u8 , pdwdestlen : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsDecodeBinaryData ( szsrcdata : :: windows::core::PCWSTR , ppbdestdata : *mut *mut u8 , pdwdestlen : *mut u32 ) -> :: windows::core::HRESULT ); ADsDecodeBinaryData(szsrcdata.into().abi(), ppbdestdata, pdwdestlen).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn ADsEncodeBinaryData(pbsrcdata: *mut u8, dwsrclen: u32, ppszdestdata: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "activeds.dll""system" fn ADsEncodeBinaryData ( pbsrcdata : *mut u8 , dwsrclen : u32 , ppszdestdata : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsEncodeBinaryData ( pbsrcdata : *mut u8 , dwsrclen : u32 , ppszdestdata : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); ADsEncodeBinaryData(pbsrcdata, dwsrclen, ppszdestdata).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -45,7 +45,7 @@ pub unsafe fn ADsEnumerateNext(penumvariant: P0, celements: u32, pvar: *mut where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "activeds.dll""system" fn ADsEnumerateNext ( penumvariant : * mut::core::ffi::c_void , celements : u32 , pvar : *mut super::super::System::Com:: VARIANT , pcelementsfetched : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsEnumerateNext ( penumvariant : * mut::core::ffi::c_void , celements : u32 , pvar : *mut super::super::System::Com:: VARIANT , pcelementsfetched : *mut u32 ) -> :: windows::core::HRESULT ); ADsEnumerateNext(penumvariant.into().abi(), celements, pvar, pcelementsfetched).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Ole\"`*"] @@ -55,13 +55,13 @@ pub unsafe fn ADsFreeEnumerator(penumvariant: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "activeds.dll""system" fn ADsFreeEnumerator ( penumvariant : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsFreeEnumerator ( penumvariant : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); ADsFreeEnumerator(penumvariant.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn ADsGetLastError(lperror: *mut u32, lperrorbuf: &mut [u16], lpnamebuf: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "activeds.dll""system" fn ADsGetLastError ( lperror : *mut u32 , lperrorbuf : :: windows::core::PWSTR , dwerrorbuflen : u32 , lpnamebuf : :: windows::core::PWSTR , dwnamebuflen : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsGetLastError ( lperror : *mut u32 , lperrorbuf : :: windows::core::PWSTR , dwerrorbuflen : u32 , lpnamebuf : :: windows::core::PWSTR , dwnamebuflen : u32 ) -> :: windows::core::HRESULT ); ADsGetLastError(lperror, ::core::mem::transmute(lperrorbuf.as_ptr()), lperrorbuf.len() as _, ::core::mem::transmute(lpnamebuf.as_ptr()), lpnamebuf.len() as _).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -70,7 +70,7 @@ pub unsafe fn ADsGetObject(lpszpathname: P0, riid: *const ::windows::core::G where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn ADsGetObject ( lpszpathname : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , ppobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsGetObject ( lpszpathname : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , ppobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ADsGetObject(lpszpathname.into().abi(), riid, ppobject).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -81,7 +81,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn ADsOpenObject ( lpszpathname : :: windows::core::PCWSTR , lpszusername : :: windows::core::PCWSTR , lpszpassword : :: windows::core::PCWSTR , dwreserved : ADS_AUTHENTICATION_ENUM , riid : *const :: windows::core::GUID , ppobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsOpenObject ( lpszpathname : :: windows::core::PCWSTR , lpszusername : :: windows::core::PCWSTR , lpszpassword : :: windows::core::PCWSTR , dwreserved : ADS_AUTHENTICATION_ENUM , riid : *const :: windows::core::GUID , ppobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ADsOpenObject(lpszpathname.into().abi(), lpszusername.into().abi(), lpszpassword.into().abi(), dwreserved, riid, ppobject).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -91,7 +91,7 @@ pub unsafe fn ADsPropCheckIfWritable(pwzattr: P0, pwritableattrs: *const ADS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsprop.dll""system" fn ADsPropCheckIfWritable ( pwzattr : :: windows::core::PCWSTR , pwritableattrs : *const ADS_ATTR_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsprop.dll""system" fn ADsPropCheckIfWritable ( pwzattr : :: windows::core::PCWSTR , pwritableattrs : *const ADS_ATTR_INFO ) -> super::super::Foundation:: BOOL ); ADsPropCheckIfWritable(pwzattr.into().abi(), pwritableattrs) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -102,7 +102,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsprop.dll""system" fn ADsPropCreateNotifyObj ( pappthddataobj : * mut::core::ffi::c_void , pwzadsobjname : :: windows::core::PCWSTR , phnotifyobj : *mut super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsprop.dll""system" fn ADsPropCreateNotifyObj ( pappthddataobj : * mut::core::ffi::c_void , pwzadsobjname : :: windows::core::PCWSTR , phnotifyobj : *mut super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); ADsPropCreateNotifyObj(pappthddataobj.into().abi(), pwzadsobjname.into().abi(), phnotifyobj).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -112,7 +112,7 @@ pub unsafe fn ADsPropGetInitInfo(hnotifyobj: P0, pinitparams: *mut ADSPROPIN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dsprop.dll""system" fn ADsPropGetInitInfo ( hnotifyobj : super::super::Foundation:: HWND , pinitparams : *mut ADSPROPINITPARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsprop.dll""system" fn ADsPropGetInitInfo ( hnotifyobj : super::super::Foundation:: HWND , pinitparams : *mut ADSPROPINITPARAMS ) -> super::super::Foundation:: BOOL ); ADsPropGetInitInfo(hnotifyobj.into(), pinitparams) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -122,7 +122,7 @@ pub unsafe fn ADsPropSendErrorMessage(hnotifyobj: P0, perror: *mut ADSPROPER where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dsprop.dll""system" fn ADsPropSendErrorMessage ( hnotifyobj : super::super::Foundation:: HWND , perror : *mut ADSPROPERROR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsprop.dll""system" fn ADsPropSendErrorMessage ( hnotifyobj : super::super::Foundation:: HWND , perror : *mut ADSPROPERROR ) -> super::super::Foundation:: BOOL ); ADsPropSendErrorMessage(hnotifyobj.into(), perror) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -133,7 +133,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dsprop.dll""system" fn ADsPropSetHwnd ( hnotifyobj : super::super::Foundation:: HWND , hpage : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsprop.dll""system" fn ADsPropSetHwnd ( hnotifyobj : super::super::Foundation:: HWND , hpage : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); ADsPropSetHwnd(hnotifyobj.into(), hpage.into()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -144,7 +144,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dsprop.dll""system" fn ADsPropSetHwndWithTitle ( hnotifyobj : super::super::Foundation:: HWND , hpage : super::super::Foundation:: HWND , ptztitle : *const i8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsprop.dll""system" fn ADsPropSetHwndWithTitle ( hnotifyobj : super::super::Foundation:: HWND , hpage : super::super::Foundation:: HWND , ptztitle : *const i8 ) -> super::super::Foundation:: BOOL ); ADsPropSetHwndWithTitle(hnotifyobj.into(), hpage.into(), ptztitle) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -155,7 +155,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dsprop.dll""system" fn ADsPropShowErrorDialog ( hnotifyobj : super::super::Foundation:: HWND , hpage : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsprop.dll""system" fn ADsPropShowErrorDialog ( hnotifyobj : super::super::Foundation:: HWND , hpage : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); ADsPropShowErrorDialog(hnotifyobj.into(), hpage.into()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -165,27 +165,27 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn ADsSetLastError ( dwerr : u32 , pszerror : :: windows::core::PCWSTR , pszprovider : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "activeds.dll""system" fn ADsSetLastError ( dwerr : u32 , pszerror : :: windows::core::PCWSTR , pszprovider : :: windows::core::PCWSTR ) -> ( ) ); ADsSetLastError(dwerr, pszerror.into().abi(), pszprovider.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AdsFreeAdsValues(padsvalues: *mut ADSVALUE, dwnumvalues: u32) { - ::windows::core::link ! ( "activeds.dll""system" fn AdsFreeAdsValues ( padsvalues : *mut ADSVALUE , dwnumvalues : u32 ) -> ( ) ); + ::windows::imp::link ! ( "activeds.dll""system" fn AdsFreeAdsValues ( padsvalues : *mut ADSVALUE , dwnumvalues : u32 ) -> ( ) ); AdsFreeAdsValues(padsvalues, dwnumvalues) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn AdsTypeToPropVariant(padsvalues: *mut ADSVALUE, dwnumvalues: u32, pvariant: *mut super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "activeds.dll""system" fn AdsTypeToPropVariant ( padsvalues : *mut ADSVALUE , dwnumvalues : u32 , pvariant : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn AdsTypeToPropVariant ( padsvalues : *mut ADSVALUE , dwnumvalues : u32 , pvariant : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); AdsTypeToPropVariant(padsvalues, dwnumvalues, pvariant).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn AllocADsMem(cb: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "activeds.dll""system" fn AllocADsMem ( cb : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "activeds.dll""system" fn AllocADsMem ( cb : u32 ) -> *mut ::core::ffi::c_void ); AllocADsMem(cb) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -194,7 +194,7 @@ pub unsafe fn AllocADsStr(pstr: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn AllocADsStr ( pstr : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "activeds.dll""system" fn AllocADsStr ( pstr : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); AllocADsStr(pstr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -207,7 +207,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn BinarySDToSecurityDescriptor ( psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , pvarsec : *mut super::super::System::Com:: VARIANT , pszservername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn BinarySDToSecurityDescriptor ( psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , pvarsec : *mut super::super::System::Com:: VARIANT , pszservername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); BinarySDToSecurityDescriptor(psecuritydescriptor.into(), pvarsec, pszservername.into().abi(), username.into().abi(), password.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -222,7 +222,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsAddSidHistoryA ( hds : super::super::Foundation:: HANDLE , flags : u32 , srcdomain : :: windows::core::PCSTR , srcprincipal : :: windows::core::PCSTR , srcdomaincontroller : :: windows::core::PCSTR , srcdomaincreds : *const ::core::ffi::c_void , dstdomain : :: windows::core::PCSTR , dstprincipal : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsAddSidHistoryA ( hds : super::super::Foundation:: HANDLE , flags : u32 , srcdomain : :: windows::core::PCSTR , srcprincipal : :: windows::core::PCSTR , srcdomaincontroller : :: windows::core::PCSTR , srcdomaincreds : *const ::core::ffi::c_void , dstdomain : :: windows::core::PCSTR , dstprincipal : :: windows::core::PCSTR ) -> u32 ); DsAddSidHistoryA(hds.into(), flags, srcdomain.into().abi(), srcprincipal.into().abi(), srcdomaincontroller.into().abi(), ::core::mem::transmute(srcdomaincreds.unwrap_or(::std::ptr::null())), dstdomain.into().abi(), dstprincipal.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -237,7 +237,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsAddSidHistoryW ( hds : super::super::Foundation:: HANDLE , flags : u32 , srcdomain : :: windows::core::PCWSTR , srcprincipal : :: windows::core::PCWSTR , srcdomaincontroller : :: windows::core::PCWSTR , srcdomaincreds : *const ::core::ffi::c_void , dstdomain : :: windows::core::PCWSTR , dstprincipal : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsAddSidHistoryW ( hds : super::super::Foundation:: HANDLE , flags : u32 , srcdomain : :: windows::core::PCWSTR , srcprincipal : :: windows::core::PCWSTR , srcdomaincontroller : :: windows::core::PCWSTR , srcdomaincreds : *const ::core::ffi::c_void , dstdomain : :: windows::core::PCWSTR , dstprincipal : :: windows::core::PCWSTR ) -> u32 ); DsAddSidHistoryW(hds.into(), flags, srcdomain.into().abi(), srcprincipal.into().abi(), srcdomaincontroller.into().abi(), ::core::mem::transmute(srcdomaincreds.unwrap_or(::std::ptr::null())), dstdomain.into().abi(), dstprincipal.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -247,7 +247,7 @@ pub unsafe fn DsAddressToSiteNamesA(computername: P0, socketaddresses: &[sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsAddressToSiteNamesA ( computername : :: windows::core::PCSTR , entrycount : u32 , socketaddresses : *const super::WinSock:: SOCKET_ADDRESS , sitenames : *mut *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsAddressToSiteNamesA ( computername : :: windows::core::PCSTR , entrycount : u32 , socketaddresses : *const super::WinSock:: SOCKET_ADDRESS , sitenames : *mut *mut :: windows::core::PSTR ) -> u32 ); DsAddressToSiteNamesA(computername.into().abi(), socketaddresses.len() as _, ::core::mem::transmute(socketaddresses.as_ptr()), sitenames) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -257,7 +257,7 @@ pub unsafe fn DsAddressToSiteNamesExA(computername: P0, socketaddresses: &[s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsAddressToSiteNamesExA ( computername : :: windows::core::PCSTR , entrycount : u32 , socketaddresses : *const super::WinSock:: SOCKET_ADDRESS , sitenames : *mut *mut :: windows::core::PSTR , subnetnames : *mut *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsAddressToSiteNamesExA ( computername : :: windows::core::PCSTR , entrycount : u32 , socketaddresses : *const super::WinSock:: SOCKET_ADDRESS , sitenames : *mut *mut :: windows::core::PSTR , subnetnames : *mut *mut :: windows::core::PSTR ) -> u32 ); DsAddressToSiteNamesExA(computername.into().abi(), socketaddresses.len() as _, ::core::mem::transmute(socketaddresses.as_ptr()), sitenames, subnetnames) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -267,7 +267,7 @@ pub unsafe fn DsAddressToSiteNamesExW(computername: P0, socketaddresses: &[s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsAddressToSiteNamesExW ( computername : :: windows::core::PCWSTR , entrycount : u32 , socketaddresses : *const super::WinSock:: SOCKET_ADDRESS , sitenames : *mut *mut :: windows::core::PWSTR , subnetnames : *mut *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsAddressToSiteNamesExW ( computername : :: windows::core::PCWSTR , entrycount : u32 , socketaddresses : *const super::WinSock:: SOCKET_ADDRESS , sitenames : *mut *mut :: windows::core::PWSTR , subnetnames : *mut *mut :: windows::core::PWSTR ) -> u32 ); DsAddressToSiteNamesExW(computername.into().abi(), socketaddresses.len() as _, ::core::mem::transmute(socketaddresses.as_ptr()), sitenames, subnetnames) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -277,7 +277,7 @@ pub unsafe fn DsAddressToSiteNamesW(computername: P0, socketaddresses: &[sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsAddressToSiteNamesW ( computername : :: windows::core::PCWSTR , entrycount : u32 , socketaddresses : *const super::WinSock:: SOCKET_ADDRESS , sitenames : *mut *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsAddressToSiteNamesW ( computername : :: windows::core::PCWSTR , entrycount : u32 , socketaddresses : *const super::WinSock:: SOCKET_ADDRESS , sitenames : *mut *mut :: windows::core::PWSTR ) -> u32 ); DsAddressToSiteNamesW(computername.into().abi(), socketaddresses.len() as _, ::core::mem::transmute(socketaddresses.as_ptr()), sitenames) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -288,7 +288,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindA ( domaincontrollername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindA ( domaincontrollername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindA(domaincontrollername.into().abi(), dnsdomainname.into().abi(), phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -301,7 +301,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindByInstanceA ( servername : :: windows::core::PCSTR , annotation : :: windows::core::PCSTR , instanceguid : *const :: windows::core::GUID , dnsdomainname : :: windows::core::PCSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCSTR , bindflags : u32 , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindByInstanceA ( servername : :: windows::core::PCSTR , annotation : :: windows::core::PCSTR , instanceguid : *const :: windows::core::GUID , dnsdomainname : :: windows::core::PCSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCSTR , bindflags : u32 , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindByInstanceA(servername.into().abi(), annotation.into().abi(), ::core::mem::transmute(instanceguid.unwrap_or(::std::ptr::null())), dnsdomainname.into().abi(), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), serviceprincipalname.into().abi(), bindflags, phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -314,7 +314,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindByInstanceW ( servername : :: windows::core::PCWSTR , annotation : :: windows::core::PCWSTR , instanceguid : *const :: windows::core::GUID , dnsdomainname : :: windows::core::PCWSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCWSTR , bindflags : u32 , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindByInstanceW ( servername : :: windows::core::PCWSTR , annotation : :: windows::core::PCWSTR , instanceguid : *const :: windows::core::GUID , dnsdomainname : :: windows::core::PCWSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCWSTR , bindflags : u32 , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindByInstanceW(servername.into().abi(), annotation.into().abi(), ::core::mem::transmute(instanceguid.unwrap_or(::std::ptr::null())), dnsdomainname.into().abi(), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), serviceprincipalname.into().abi(), bindflags, phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -324,7 +324,7 @@ pub unsafe fn DsBindToISTGA(sitename: P0, phds: *mut super::super::Foundatio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindToISTGA ( sitename : :: windows::core::PCSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindToISTGA ( sitename : :: windows::core::PCSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindToISTGA(sitename.into().abi(), phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -334,7 +334,7 @@ pub unsafe fn DsBindToISTGW(sitename: P0, phds: *mut super::super::Foundatio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindToISTGW ( sitename : :: windows::core::PCWSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindToISTGW ( sitename : :: windows::core::PCWSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindToISTGW(sitename.into().abi(), phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -345,7 +345,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindW ( domaincontrollername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindW ( domaincontrollername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindW(domaincontrollername.into().abi(), dnsdomainname.into().abi(), phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -356,7 +356,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindWithCredA ( domaincontrollername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , authidentity : *const ::core::ffi::c_void , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindWithCredA ( domaincontrollername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , authidentity : *const ::core::ffi::c_void , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindWithCredA(domaincontrollername.into().abi(), dnsdomainname.into().abi(), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -367,7 +367,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindWithCredW ( domaincontrollername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , authidentity : *const ::core::ffi::c_void , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindWithCredW ( domaincontrollername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , authidentity : *const ::core::ffi::c_void , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindWithCredW(domaincontrollername.into().abi(), dnsdomainname.into().abi(), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -379,7 +379,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindWithSpnA ( domaincontrollername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindWithSpnA ( domaincontrollername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindWithSpnA(domaincontrollername.into().abi(), dnsdomainname.into().abi(), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), serviceprincipalname.into().abi(), phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -391,7 +391,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindWithSpnExA ( domaincontrollername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCSTR , bindflags : u32 , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindWithSpnExA ( domaincontrollername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCSTR , bindflags : u32 , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindWithSpnExA(domaincontrollername.into().abi(), dnsdomainname.into().abi(), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), serviceprincipalname.into().abi(), bindflags, phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -403,7 +403,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindWithSpnExW ( domaincontrollername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCWSTR , bindflags : u32 , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindWithSpnExW ( domaincontrollername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCWSTR , bindflags : u32 , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindWithSpnExW(domaincontrollername.into().abi(), dnsdomainname.into().abi(), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), serviceprincipalname.into().abi(), bindflags, phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -415,7 +415,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindWithSpnW ( domaincontrollername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCWSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindWithSpnW ( domaincontrollername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , authidentity : *const ::core::ffi::c_void , serviceprincipalname : :: windows::core::PCWSTR , phds : *mut super::super::Foundation:: HANDLE ) -> u32 ); DsBindWithSpnW(domaincontrollername.into().abi(), dnsdomainname.into().abi(), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), serviceprincipalname.into().abi(), phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -425,21 +425,21 @@ pub unsafe fn DsBindingSetTimeout(hds: P0, ctimeoutsecs: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsBindingSetTimeout ( hds : super::super::Foundation:: HANDLE , ctimeoutsecs : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsBindingSetTimeout ( hds : super::super::Foundation:: HANDLE , ctimeoutsecs : u32 ) -> u32 ); DsBindingSetTimeout(hds.into(), ctimeoutsecs) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))] #[inline] pub unsafe fn DsBrowseForContainerA(pinfo: *mut DSBROWSEINFOA) -> i32 { - ::windows::core::link ! ( "dsuiext.dll""system" fn DsBrowseForContainerA ( pinfo : *mut DSBROWSEINFOA ) -> i32 ); + ::windows::imp::link ! ( "dsuiext.dll""system" fn DsBrowseForContainerA ( pinfo : *mut DSBROWSEINFOA ) -> i32 ); DsBrowseForContainerA(pinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))] #[inline] pub unsafe fn DsBrowseForContainerW(pinfo: *mut DSBROWSEINFOW) -> i32 { - ::windows::core::link ! ( "dsuiext.dll""system" fn DsBrowseForContainerW ( pinfo : *mut DSBROWSEINFOW ) -> i32 ); + ::windows::imp::link ! ( "dsuiext.dll""system" fn DsBrowseForContainerW ( pinfo : *mut DSBROWSEINFOW ) -> i32 ); DsBrowseForContainerW(pinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -449,7 +449,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsClientMakeSpnForTargetServerA ( serviceclass : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , pcspnlength : *mut u32 , pszspn : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsClientMakeSpnForTargetServerA ( serviceclass : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , pcspnlength : *mut u32 , pszspn : :: windows::core::PSTR ) -> u32 ); DsClientMakeSpnForTargetServerA(serviceclass.into().abi(), servicename.into().abi(), pcspnlength, ::core::mem::transmute(pszspn)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -459,7 +459,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsClientMakeSpnForTargetServerW ( serviceclass : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , pcspnlength : *mut u32 , pszspn : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsClientMakeSpnForTargetServerW ( serviceclass : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , pcspnlength : *mut u32 , pszspn : :: windows::core::PWSTR ) -> u32 ); DsClientMakeSpnForTargetServerW(serviceclass.into().abi(), servicename.into().abi(), pcspnlength, ::core::mem::transmute(pszspn)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -469,7 +469,7 @@ pub unsafe fn DsCrackNamesA(hds: P0, flags: DS_NAME_FLAGS, formatoffered: DS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsCrackNamesA ( hds : super::super::Foundation:: HANDLE , flags : DS_NAME_FLAGS , formatoffered : DS_NAME_FORMAT , formatdesired : DS_NAME_FORMAT , cnames : u32 , rpnames : *const :: windows::core::PCSTR , ppresult : *mut *mut DS_NAME_RESULTA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsCrackNamesA ( hds : super::super::Foundation:: HANDLE , flags : DS_NAME_FLAGS , formatoffered : DS_NAME_FORMAT , formatdesired : DS_NAME_FORMAT , cnames : u32 , rpnames : *const :: windows::core::PCSTR , ppresult : *mut *mut DS_NAME_RESULTA ) -> u32 ); DsCrackNamesA(hds.into(), flags, formatoffered, formatdesired, rpnames.len() as _, ::core::mem::transmute(rpnames.as_ptr()), ppresult) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -479,19 +479,19 @@ pub unsafe fn DsCrackNamesW(hds: P0, flags: DS_NAME_FLAGS, formatoffered: DS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsCrackNamesW ( hds : super::super::Foundation:: HANDLE , flags : DS_NAME_FLAGS , formatoffered : DS_NAME_FORMAT , formatdesired : DS_NAME_FORMAT , cnames : u32 , rpnames : *const :: windows::core::PCWSTR , ppresult : *mut *mut DS_NAME_RESULTW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsCrackNamesW ( hds : super::super::Foundation:: HANDLE , flags : DS_NAME_FLAGS , formatoffered : DS_NAME_FORMAT , formatdesired : DS_NAME_FORMAT , cnames : u32 , rpnames : *const :: windows::core::PCWSTR , ppresult : *mut *mut DS_NAME_RESULTW ) -> u32 ); DsCrackNamesW(hds.into(), flags, formatoffered, formatdesired, rpnames.len() as _, ::core::mem::transmute(rpnames.as_ptr()), ppresult) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsCrackSpn2A(pszspn: &[u8], pcserviceclass: ::core::option::Option<*mut u32>, serviceclass: ::windows::core::PSTR, pcservicename: ::core::option::Option<*mut u32>, servicename: ::windows::core::PSTR, pcinstancename: ::core::option::Option<*mut u32>, instancename: ::windows::core::PSTR, pinstanceport: ::core::option::Option<*mut u16>) -> u32 { - ::windows::core::link ! ( "dsparse.dll""system" fn DsCrackSpn2A ( pszspn : :: windows::core::PCSTR , cspn : u32 , pcserviceclass : *mut u32 , serviceclass : :: windows::core::PSTR , pcservicename : *mut u32 , servicename : :: windows::core::PSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PSTR , pinstanceport : *mut u16 ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsCrackSpn2A ( pszspn : :: windows::core::PCSTR , cspn : u32 , pcserviceclass : *mut u32 , serviceclass : :: windows::core::PSTR , pcservicename : *mut u32 , servicename : :: windows::core::PSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PSTR , pinstanceport : *mut u16 ) -> u32 ); DsCrackSpn2A(::core::mem::transmute(pszspn.as_ptr()), pszspn.len() as _, ::core::mem::transmute(pcserviceclass.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(serviceclass), ::core::mem::transmute(pcservicename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(servicename), ::core::mem::transmute(pcinstancename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(instancename), ::core::mem::transmute(pinstanceport.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsCrackSpn2W(pszspn: &[u16], pcserviceclass: ::core::option::Option<*mut u32>, serviceclass: ::windows::core::PWSTR, pcservicename: ::core::option::Option<*mut u32>, servicename: ::windows::core::PWSTR, pcinstancename: ::core::option::Option<*mut u32>, instancename: ::windows::core::PWSTR, pinstanceport: ::core::option::Option<*mut u16>) -> u32 { - ::windows::core::link ! ( "dsparse.dll""system" fn DsCrackSpn2W ( pszspn : :: windows::core::PCWSTR , cspn : u32 , pcserviceclass : *mut u32 , serviceclass : :: windows::core::PWSTR , pcservicename : *mut u32 , servicename : :: windows::core::PWSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PWSTR , pinstanceport : *mut u16 ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsCrackSpn2W ( pszspn : :: windows::core::PCWSTR , cspn : u32 , pcserviceclass : *mut u32 , serviceclass : :: windows::core::PWSTR , pcservicename : *mut u32 , servicename : :: windows::core::PWSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PWSTR , pinstanceport : *mut u16 ) -> u32 ); DsCrackSpn2W(::core::mem::transmute(pszspn.as_ptr()), pszspn.len() as _, ::core::mem::transmute(pcserviceclass.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(serviceclass), ::core::mem::transmute(pcservicename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(servicename), ::core::mem::transmute(pcinstancename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(instancename), ::core::mem::transmute(pinstanceport.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -500,7 +500,7 @@ pub unsafe fn DsCrackSpn3W(pszspn: P0, cspn: u32, pchostname: *mut u32, host where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsparse.dll""system" fn DsCrackSpn3W ( pszspn : :: windows::core::PCWSTR , cspn : u32 , pchostname : *mut u32 , hostname : :: windows::core::PWSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PWSTR , pportnumber : *mut u16 , pcdomainname : *mut u32 , domainname : :: windows::core::PWSTR , pcrealmname : *mut u32 , realmname : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsCrackSpn3W ( pszspn : :: windows::core::PCWSTR , cspn : u32 , pchostname : *mut u32 , hostname : :: windows::core::PWSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PWSTR , pportnumber : *mut u16 , pcdomainname : *mut u32 , domainname : :: windows::core::PWSTR , pcrealmname : *mut u32 , realmname : :: windows::core::PWSTR ) -> u32 ); DsCrackSpn3W(pszspn.into().abi(), cspn, pchostname, ::core::mem::transmute(hostname), pcinstancename, ::core::mem::transmute(instancename), pportnumber, pcdomainname, ::core::mem::transmute(domainname), pcrealmname, ::core::mem::transmute(realmname)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -509,7 +509,7 @@ pub unsafe fn DsCrackSpn4W(pszspn: P0, cspn: u32, pchostname: *mut u32, host where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsparse.dll""system" fn DsCrackSpn4W ( pszspn : :: windows::core::PCWSTR , cspn : u32 , pchostname : *mut u32 , hostname : :: windows::core::PWSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PWSTR , pcportname : *mut u32 , portname : :: windows::core::PWSTR , pcdomainname : *mut u32 , domainname : :: windows::core::PWSTR , pcrealmname : *mut u32 , realmname : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsCrackSpn4W ( pszspn : :: windows::core::PCWSTR , cspn : u32 , pchostname : *mut u32 , hostname : :: windows::core::PWSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PWSTR , pcportname : *mut u32 , portname : :: windows::core::PWSTR , pcdomainname : *mut u32 , domainname : :: windows::core::PWSTR , pcrealmname : *mut u32 , realmname : :: windows::core::PWSTR ) -> u32 ); DsCrackSpn4W(pszspn.into().abi(), cspn, pchostname, ::core::mem::transmute(hostname), pcinstancename, ::core::mem::transmute(instancename), pcportname, ::core::mem::transmute(portname), pcdomainname, ::core::mem::transmute(domainname), pcrealmname, ::core::mem::transmute(realmname)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -518,7 +518,7 @@ pub unsafe fn DsCrackSpnA(pszspn: P0, pcserviceclass: ::core::option::Option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dsparse.dll""system" fn DsCrackSpnA ( pszspn : :: windows::core::PCSTR , pcserviceclass : *mut u32 , serviceclass : :: windows::core::PSTR , pcservicename : *mut u32 , servicename : :: windows::core::PSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PSTR , pinstanceport : *mut u16 ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsCrackSpnA ( pszspn : :: windows::core::PCSTR , pcserviceclass : *mut u32 , serviceclass : :: windows::core::PSTR , pcservicename : *mut u32 , servicename : :: windows::core::PSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PSTR , pinstanceport : *mut u16 ) -> u32 ); DsCrackSpnA(pszspn.into().abi(), ::core::mem::transmute(pcserviceclass.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(serviceclass), ::core::mem::transmute(pcservicename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(servicename), ::core::mem::transmute(pcinstancename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(instancename), ::core::mem::transmute(pinstanceport.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -527,21 +527,21 @@ pub unsafe fn DsCrackSpnW(pszspn: P0, pcserviceclass: ::core::option::Option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsparse.dll""system" fn DsCrackSpnW ( pszspn : :: windows::core::PCWSTR , pcserviceclass : *mut u32 , serviceclass : :: windows::core::PWSTR , pcservicename : *mut u32 , servicename : :: windows::core::PWSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PWSTR , pinstanceport : *mut u16 ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsCrackSpnW ( pszspn : :: windows::core::PCWSTR , pcserviceclass : *mut u32 , serviceclass : :: windows::core::PWSTR , pcservicename : *mut u32 , servicename : :: windows::core::PWSTR , pcinstancename : *mut u32 , instancename : :: windows::core::PWSTR , pinstanceport : *mut u16 ) -> u32 ); DsCrackSpnW(pszspn.into().abi(), ::core::mem::transmute(pcserviceclass.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(serviceclass), ::core::mem::transmute(pcservicename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(servicename), ::core::mem::transmute(pcinstancename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(instancename), ::core::mem::transmute(pinstanceport.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DsCrackUnquotedMangledRdnA(pszrdn: &[u8], pguid: ::core::option::Option<*mut ::windows::core::GUID>, pedsmanglefor: ::core::option::Option<*mut DS_MANGLE_FOR>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dsparse.dll""system" fn DsCrackUnquotedMangledRdnA ( pszrdn : :: windows::core::PCSTR , cchrdn : u32 , pguid : *mut :: windows::core::GUID , pedsmanglefor : *mut DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsCrackUnquotedMangledRdnA ( pszrdn : :: windows::core::PCSTR , cchrdn : u32 , pguid : *mut :: windows::core::GUID , pedsmanglefor : *mut DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); DsCrackUnquotedMangledRdnA(::core::mem::transmute(pszrdn.as_ptr()), pszrdn.len() as _, ::core::mem::transmute(pguid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pedsmanglefor.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DsCrackUnquotedMangledRdnW(pszrdn: &[u16], pguid: ::core::option::Option<*mut ::windows::core::GUID>, pedsmanglefor: ::core::option::Option<*mut DS_MANGLE_FOR>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dsparse.dll""system" fn DsCrackUnquotedMangledRdnW ( pszrdn : :: windows::core::PCWSTR , cchrdn : u32 , pguid : *mut :: windows::core::GUID , pedsmanglefor : *mut DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsCrackUnquotedMangledRdnW ( pszrdn : :: windows::core::PCWSTR , cchrdn : u32 , pguid : *mut :: windows::core::GUID , pedsmanglefor : *mut DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); DsCrackUnquotedMangledRdnW(::core::mem::transmute(pszrdn.as_ptr()), pszrdn.len() as _, ::core::mem::transmute(pguid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pedsmanglefor.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -552,7 +552,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsDeregisterDnsHostRecordsA ( servername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , domainguid : *const :: windows::core::GUID , dsaguid : *const :: windows::core::GUID , dnshostname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsDeregisterDnsHostRecordsA ( servername : :: windows::core::PCSTR , dnsdomainname : :: windows::core::PCSTR , domainguid : *const :: windows::core::GUID , dsaguid : *const :: windows::core::GUID , dnshostname : :: windows::core::PCSTR ) -> u32 ); DsDeregisterDnsHostRecordsA(servername.into().abi(), dnsdomainname.into().abi(), ::core::mem::transmute(domainguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dsaguid.unwrap_or(::std::ptr::null())), dnshostname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -563,7 +563,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsDeregisterDnsHostRecordsW ( servername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , domainguid : *const :: windows::core::GUID , dsaguid : *const :: windows::core::GUID , dnshostname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsDeregisterDnsHostRecordsW ( servername : :: windows::core::PCWSTR , dnsdomainname : :: windows::core::PCWSTR , domainguid : *const :: windows::core::GUID , dsaguid : *const :: windows::core::GUID , dnshostname : :: windows::core::PCWSTR ) -> u32 ); DsDeregisterDnsHostRecordsW(servername.into().abi(), dnsdomainname.into().abi(), ::core::mem::transmute(domainguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dsaguid.unwrap_or(::std::ptr::null())), dnshostname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -573,7 +573,7 @@ pub unsafe fn DsEnumerateDomainTrustsA(servername: P0, flags: u32, domains: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsEnumerateDomainTrustsA ( servername : :: windows::core::PCSTR , flags : u32 , domains : *mut *mut DS_DOMAIN_TRUSTSA , domaincount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsEnumerateDomainTrustsA ( servername : :: windows::core::PCSTR , flags : u32 , domains : *mut *mut DS_DOMAIN_TRUSTSA , domaincount : *mut u32 ) -> u32 ); DsEnumerateDomainTrustsA(servername.into().abi(), flags, domains, domaincount) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -583,61 +583,61 @@ pub unsafe fn DsEnumerateDomainTrustsW(servername: P0, flags: u32, domains: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsEnumerateDomainTrustsW ( servername : :: windows::core::PCWSTR , flags : u32 , domains : *mut *mut DS_DOMAIN_TRUSTSW , domaincount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsEnumerateDomainTrustsW ( servername : :: windows::core::PCWSTR , flags : u32 , domains : *mut *mut DS_DOMAIN_TRUSTSW , domaincount : *mut u32 ) -> u32 ); DsEnumerateDomainTrustsW(servername.into().abi(), flags, domains, domaincount) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreeDomainControllerInfoA(infolevel: u32, pinfo: &[u8]) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreeDomainControllerInfoA ( infolevel : u32 , cinfo : u32 , pinfo : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreeDomainControllerInfoA ( infolevel : u32 , cinfo : u32 , pinfo : *const ::core::ffi::c_void ) -> ( ) ); DsFreeDomainControllerInfoA(infolevel, pinfo.len() as _, ::core::mem::transmute(pinfo.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreeDomainControllerInfoW(infolevel: u32, pinfo: &[u8]) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreeDomainControllerInfoW ( infolevel : u32 , cinfo : u32 , pinfo : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreeDomainControllerInfoW ( infolevel : u32 , cinfo : u32 , pinfo : *const ::core::ffi::c_void ) -> ( ) ); DsFreeDomainControllerInfoW(infolevel, pinfo.len() as _, ::core::mem::transmute(pinfo.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreeNameResultA(presult: *const DS_NAME_RESULTA) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreeNameResultA ( presult : *const DS_NAME_RESULTA ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreeNameResultA ( presult : *const DS_NAME_RESULTA ) -> ( ) ); DsFreeNameResultA(presult) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreeNameResultW(presult: *const DS_NAME_RESULTW) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreeNameResultW ( presult : *const DS_NAME_RESULTW ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreeNameResultW ( presult : *const DS_NAME_RESULTW ) -> ( ) ); DsFreeNameResultW(presult) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreePasswordCredentials(authidentity: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreePasswordCredentials ( authidentity : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreePasswordCredentials ( authidentity : *const ::core::ffi::c_void ) -> ( ) ); DsFreePasswordCredentials(authidentity) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreeSchemaGuidMapA(pguidmap: *const DS_SCHEMA_GUID_MAPA) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreeSchemaGuidMapA ( pguidmap : *const DS_SCHEMA_GUID_MAPA ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreeSchemaGuidMapA ( pguidmap : *const DS_SCHEMA_GUID_MAPA ) -> ( ) ); DsFreeSchemaGuidMapA(pguidmap) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreeSchemaGuidMapW(pguidmap: *const DS_SCHEMA_GUID_MAPW) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreeSchemaGuidMapW ( pguidmap : *const DS_SCHEMA_GUID_MAPW ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreeSchemaGuidMapW ( pguidmap : *const DS_SCHEMA_GUID_MAPW ) -> ( ) ); DsFreeSchemaGuidMapW(pguidmap) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreeSpnArrayA(rpszspn: &mut [::windows::core::PSTR]) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreeSpnArrayA ( cspn : u32 , rpszspn : *mut :: windows::core::PSTR ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreeSpnArrayA ( cspn : u32 , rpszspn : *mut :: windows::core::PSTR ) -> ( ) ); DsFreeSpnArrayA(rpszspn.len() as _, ::core::mem::transmute(rpszspn.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsFreeSpnArrayW(rpszspn: &mut [::windows::core::PWSTR]) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsFreeSpnArrayW ( cspn : u32 , rpszspn : *mut :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsFreeSpnArrayW ( cspn : u32 , rpszspn : *mut :: windows::core::PWSTR ) -> ( ) ); DsFreeSpnArrayW(rpszspn.len() as _, ::core::mem::transmute(rpszspn.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -646,7 +646,7 @@ pub unsafe fn DsGetDcCloseW(getdccontexthandle: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcCloseW ( getdccontexthandle : GetDcContextHandle ) -> ( ) ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcCloseW ( getdccontexthandle : GetDcContextHandle ) -> ( ) ); DsGetDcCloseW(getdccontexthandle.into()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -657,7 +657,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcNameA ( computername : :: windows::core::PCSTR , domainname : :: windows::core::PCSTR , domainguid : *const :: windows::core::GUID , sitename : :: windows::core::PCSTR , flags : u32 , domaincontrollerinfo : *mut *mut DOMAIN_CONTROLLER_INFOA ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcNameA ( computername : :: windows::core::PCSTR , domainname : :: windows::core::PCSTR , domainguid : *const :: windows::core::GUID , sitename : :: windows::core::PCSTR , flags : u32 , domaincontrollerinfo : *mut *mut DOMAIN_CONTROLLER_INFOA ) -> u32 ); DsGetDcNameA(computername.into().abi(), domainname.into().abi(), ::core::mem::transmute(domainguid.unwrap_or(::std::ptr::null())), sitename.into().abi(), flags, domaincontrollerinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -668,7 +668,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcNameW ( computername : :: windows::core::PCWSTR , domainname : :: windows::core::PCWSTR , domainguid : *const :: windows::core::GUID , sitename : :: windows::core::PCWSTR , flags : u32 , domaincontrollerinfo : *mut *mut DOMAIN_CONTROLLER_INFOW ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcNameW ( computername : :: windows::core::PCWSTR , domainname : :: windows::core::PCWSTR , domainguid : *const :: windows::core::GUID , sitename : :: windows::core::PCWSTR , flags : u32 , domaincontrollerinfo : *mut *mut DOMAIN_CONTROLLER_INFOW ) -> u32 ); DsGetDcNameW(computername.into().abi(), domainname.into().abi(), ::core::mem::transmute(domainguid.unwrap_or(::std::ptr::null())), sitename.into().abi(), flags, domaincontrollerinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -678,7 +678,7 @@ pub unsafe fn DsGetDcNextA(getdccontexthandle: P0, sockaddresscount: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcNextA ( getdccontexthandle : super::super::Foundation:: HANDLE , sockaddresscount : *mut u32 , sockaddresses : *mut *mut super::WinSock:: SOCKET_ADDRESS , dnshostname : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcNextA ( getdccontexthandle : super::super::Foundation:: HANDLE , sockaddresscount : *mut u32 , sockaddresses : *mut *mut super::WinSock:: SOCKET_ADDRESS , dnshostname : *mut :: windows::core::PSTR ) -> u32 ); DsGetDcNextA(getdccontexthandle.into(), ::core::mem::transmute(sockaddresscount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(sockaddresses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(dnshostname.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] @@ -688,7 +688,7 @@ pub unsafe fn DsGetDcNextW(getdccontexthandle: P0, sockaddresscount: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcNextW ( getdccontexthandle : super::super::Foundation:: HANDLE , sockaddresscount : *mut u32 , sockaddresses : *mut *mut super::WinSock:: SOCKET_ADDRESS , dnshostname : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcNextW ( getdccontexthandle : super::super::Foundation:: HANDLE , sockaddresscount : *mut u32 , sockaddresses : *mut *mut super::WinSock:: SOCKET_ADDRESS , dnshostname : *mut :: windows::core::PWSTR ) -> u32 ); DsGetDcNextW(getdccontexthandle.into(), ::core::mem::transmute(sockaddresscount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(sockaddresses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(dnshostname.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -699,7 +699,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcOpenA ( dnsname : :: windows::core::PCSTR , optionflags : u32 , sitename : :: windows::core::PCSTR , domainguid : *const :: windows::core::GUID , dnsforestname : :: windows::core::PCSTR , dcflags : u32 , retgetdccontext : *mut GetDcContextHandle ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcOpenA ( dnsname : :: windows::core::PCSTR , optionflags : u32 , sitename : :: windows::core::PCSTR , domainguid : *const :: windows::core::GUID , dnsforestname : :: windows::core::PCSTR , dcflags : u32 , retgetdccontext : *mut GetDcContextHandle ) -> u32 ); DsGetDcOpenA(dnsname.into().abi(), optionflags, sitename.into().abi(), ::core::mem::transmute(domainguid.unwrap_or(::std::ptr::null())), dnsforestname.into().abi(), dcflags, retgetdccontext) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -710,7 +710,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcOpenW ( dnsname : :: windows::core::PCWSTR , optionflags : u32 , sitename : :: windows::core::PCWSTR , domainguid : *const :: windows::core::GUID , dnsforestname : :: windows::core::PCWSTR , dcflags : u32 , retgetdccontext : *mut GetDcContextHandle ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcOpenW ( dnsname : :: windows::core::PCWSTR , optionflags : u32 , sitename : :: windows::core::PCWSTR , domainguid : *const :: windows::core::GUID , dnsforestname : :: windows::core::PCWSTR , dcflags : u32 , retgetdccontext : *mut GetDcContextHandle ) -> u32 ); DsGetDcOpenW(dnsname.into().abi(), optionflags, sitename.into().abi(), ::core::mem::transmute(domainguid.unwrap_or(::std::ptr::null())), dnsforestname.into().abi(), dcflags, retgetdccontext) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -719,7 +719,7 @@ pub unsafe fn DsGetDcSiteCoverageA(servername: P0, entrycount: *mut u32, sit where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcSiteCoverageA ( servername : :: windows::core::PCSTR , entrycount : *mut u32 , sitenames : *mut *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcSiteCoverageA ( servername : :: windows::core::PCSTR , entrycount : *mut u32 , sitenames : *mut *mut :: windows::core::PSTR ) -> u32 ); DsGetDcSiteCoverageA(servername.into().abi(), entrycount, sitenames) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -728,7 +728,7 @@ pub unsafe fn DsGetDcSiteCoverageW(servername: P0, entrycount: *mut u32, sit where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetDcSiteCoverageW ( servername : :: windows::core::PCWSTR , entrycount : *mut u32 , sitenames : *mut *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetDcSiteCoverageW ( servername : :: windows::core::PCWSTR , entrycount : *mut u32 , sitenames : *mut *mut :: windows::core::PWSTR ) -> u32 ); DsGetDcSiteCoverageW(servername.into().abi(), entrycount, sitenames) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -739,7 +739,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsGetDomainControllerInfoA ( hds : super::super::Foundation:: HANDLE , domainname : :: windows::core::PCSTR , infolevel : u32 , pcout : *mut u32 , ppinfo : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsGetDomainControllerInfoA ( hds : super::super::Foundation:: HANDLE , domainname : :: windows::core::PCSTR , infolevel : u32 , pcout : *mut u32 , ppinfo : *mut *mut ::core::ffi::c_void ) -> u32 ); DsGetDomainControllerInfoA(hds.into(), domainname.into().abi(), infolevel, pcout, ppinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -750,7 +750,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsGetDomainControllerInfoW ( hds : super::super::Foundation:: HANDLE , domainname : :: windows::core::PCWSTR , infolevel : u32 , pcout : *mut u32 , ppinfo : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsGetDomainControllerInfoW ( hds : super::super::Foundation:: HANDLE , domainname : :: windows::core::PCWSTR , infolevel : u32 , pcout : *mut u32 , ppinfo : *mut *mut ::core::ffi::c_void ) -> u32 ); DsGetDomainControllerInfoW(hds.into(), domainname.into().abi(), infolevel, pcout, ppinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] @@ -761,7 +761,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetForestTrustInformationW ( servername : :: windows::core::PCWSTR , trusteddomainname : :: windows::core::PCWSTR , flags : u32 , foresttrustinfo : *mut *mut super::super::Security::Authentication::Identity:: LSA_FOREST_TRUST_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetForestTrustInformationW ( servername : :: windows::core::PCWSTR , trusteddomainname : :: windows::core::PCWSTR , flags : u32 , foresttrustinfo : *mut *mut super::super::Security::Authentication::Identity:: LSA_FOREST_TRUST_INFORMATION ) -> u32 ); DsGetForestTrustInformationW(servername.into().abi(), trusteddomainname.into().abi(), flags, foresttrustinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -770,7 +770,7 @@ pub unsafe fn DsGetFriendlyClassName(pszobjectclass: P0, pszbuffer: &mut [u1 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsuiext.dll""system" fn DsGetFriendlyClassName ( pszobjectclass : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , cchbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dsuiext.dll""system" fn DsGetFriendlyClassName ( pszobjectclass : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , cchbuffer : u32 ) -> :: windows::core::HRESULT ); DsGetFriendlyClassName(pszobjectclass.into().abi(), ::core::mem::transmute(pszbuffer.as_ptr()), pszbuffer.len() as _).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -780,13 +780,13 @@ pub unsafe fn DsGetIcon(dwflags: u32, pszobjectclass: P0, cximage: i32, cyim where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsuiext.dll""system" fn DsGetIcon ( dwflags : u32 , pszobjectclass : :: windows::core::PCWSTR , cximage : i32 , cyimage : i32 ) -> super::super::UI::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "dsuiext.dll""system" fn DsGetIcon ( dwflags : u32 , pszobjectclass : :: windows::core::PCWSTR , cximage : i32 , cyimage : i32 ) -> super::super::UI::WindowsAndMessaging:: HICON ); DsGetIcon(dwflags, pszobjectclass.into().abi(), cximage, cyimage) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsGetRdnW(ppdn: *mut ::windows::core::PWSTR, pcdn: *mut u32, ppkey: *mut ::windows::core::PWSTR, pckey: *mut u32, ppval: *mut ::windows::core::PWSTR, pcval: *mut u32) -> u32 { - ::windows::core::link ! ( "dsparse.dll""system" fn DsGetRdnW ( ppdn : *mut :: windows::core::PWSTR , pcdn : *mut u32 , ppkey : *mut :: windows::core::PWSTR , pckey : *mut u32 , ppval : *mut :: windows::core::PWSTR , pcval : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsGetRdnW ( ppdn : *mut :: windows::core::PWSTR , pcdn : *mut u32 , ppkey : *mut :: windows::core::PWSTR , pckey : *mut u32 , ppval : *mut :: windows::core::PWSTR , pcval : *mut u32 ) -> u32 ); DsGetRdnW(ppdn, pcdn, ppkey, pckey, ppval, pcval) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -795,7 +795,7 @@ pub unsafe fn DsGetSiteNameA(computername: P0, sitename: *mut ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetSiteNameA ( computername : :: windows::core::PCSTR , sitename : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetSiteNameA ( computername : :: windows::core::PCSTR , sitename : *mut :: windows::core::PSTR ) -> u32 ); DsGetSiteNameA(computername.into().abi(), sitename) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -804,7 +804,7 @@ pub unsafe fn DsGetSiteNameW(computername: P0, sitename: *mut ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsGetSiteNameW ( computername : :: windows::core::PCWSTR , sitename : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsGetSiteNameW ( computername : :: windows::core::PCWSTR , sitename : *mut :: windows::core::PWSTR ) -> u32 ); DsGetSiteNameW(computername.into().abi(), sitename) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -814,7 +814,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsGetSpnA ( servicetype : DS_SPN_NAME_TYPE , serviceclass : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , instanceport : u16 , cinstancenames : u16 , pinstancenames : *const :: windows::core::PCSTR , pinstanceports : *const u16 , pcspn : *mut u32 , prpszspn : *mut *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsGetSpnA ( servicetype : DS_SPN_NAME_TYPE , serviceclass : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , instanceport : u16 , cinstancenames : u16 , pinstancenames : *const :: windows::core::PCSTR , pinstanceports : *const u16 , pcspn : *mut u32 , prpszspn : *mut *mut :: windows::core::PSTR ) -> u32 ); DsGetSpnA(servicetype, serviceclass.into().abi(), servicename.into().abi(), instanceport, cinstancenames, ::core::mem::transmute(pinstancenames.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pinstanceports.unwrap_or(::std::ptr::null())), pcspn, prpszspn) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -824,7 +824,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsGetSpnW ( servicetype : DS_SPN_NAME_TYPE , serviceclass : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , instanceport : u16 , cinstancenames : u16 , pinstancenames : *const :: windows::core::PCWSTR , pinstanceports : *const u16 , pcspn : *mut u32 , prpszspn : *mut *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsGetSpnW ( servicetype : DS_SPN_NAME_TYPE , serviceclass : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , instanceport : u16 , cinstancenames : u16 , pinstancenames : *const :: windows::core::PCWSTR , pinstanceports : *const u16 , pcspn : *mut u32 , prpszspn : *mut *mut :: windows::core::PWSTR ) -> u32 ); DsGetSpnW(servicetype, serviceclass.into().abi(), servicename.into().abi(), instanceport, cinstancenames, ::core::mem::transmute(pinstancenames.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pinstanceports.unwrap_or(::std::ptr::null())), pcspn, prpszspn) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -836,7 +836,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsInheritSecurityIdentityA ( hds : super::super::Foundation:: HANDLE , flags : u32 , srcprincipal : :: windows::core::PCSTR , dstprincipal : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsInheritSecurityIdentityA ( hds : super::super::Foundation:: HANDLE , flags : u32 , srcprincipal : :: windows::core::PCSTR , dstprincipal : :: windows::core::PCSTR ) -> u32 ); DsInheritSecurityIdentityA(hds.into(), flags, srcprincipal.into().abi(), dstprincipal.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -848,7 +848,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsInheritSecurityIdentityW ( hds : super::super::Foundation:: HANDLE , flags : u32 , srcprincipal : :: windows::core::PCWSTR , dstprincipal : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsInheritSecurityIdentityW ( hds : super::super::Foundation:: HANDLE , flags : u32 , srcprincipal : :: windows::core::PCWSTR , dstprincipal : :: windows::core::PCWSTR ) -> u32 ); DsInheritSecurityIdentityW(hds.into(), flags, srcprincipal.into().abi(), dstprincipal.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -858,7 +858,7 @@ pub unsafe fn DsIsMangledDnA(pszdn: P0, edsmanglefor: DS_MANGLE_FOR) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dsparse.dll""system" fn DsIsMangledDnA ( pszdn : :: windows::core::PCSTR , edsmanglefor : DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsIsMangledDnA ( pszdn : :: windows::core::PCSTR , edsmanglefor : DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); DsIsMangledDnA(pszdn.into().abi(), edsmanglefor) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -868,21 +868,21 @@ pub unsafe fn DsIsMangledDnW(pszdn: P0, edsmanglefor: DS_MANGLE_FOR) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsparse.dll""system" fn DsIsMangledDnW ( pszdn : :: windows::core::PCWSTR , edsmanglefor : DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsIsMangledDnW ( pszdn : :: windows::core::PCWSTR , edsmanglefor : DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); DsIsMangledDnW(pszdn.into().abi(), edsmanglefor) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DsIsMangledRdnValueA(pszrdn: &[u8], edsmanglefordesired: DS_MANGLE_FOR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dsparse.dll""system" fn DsIsMangledRdnValueA ( pszrdn : :: windows::core::PCSTR , crdn : u32 , edsmanglefordesired : DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsIsMangledRdnValueA ( pszrdn : :: windows::core::PCSTR , crdn : u32 , edsmanglefordesired : DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); DsIsMangledRdnValueA(::core::mem::transmute(pszrdn.as_ptr()), pszrdn.len() as _, edsmanglefordesired) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DsIsMangledRdnValueW(pszrdn: &[u16], edsmanglefordesired: DS_MANGLE_FOR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "dsparse.dll""system" fn DsIsMangledRdnValueW ( pszrdn : :: windows::core::PCWSTR , crdn : u32 , edsmanglefordesired : DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsIsMangledRdnValueW ( pszrdn : :: windows::core::PCWSTR , crdn : u32 , edsmanglefordesired : DS_MANGLE_FOR ) -> super::super::Foundation:: BOOL ); DsIsMangledRdnValueW(::core::mem::transmute(pszrdn.as_ptr()), pszrdn.len() as _, edsmanglefordesired) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -893,7 +893,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListDomainsInSiteA ( hds : super::super::Foundation:: HANDLE , site : :: windows::core::PCSTR , ppdomains : *mut *mut DS_NAME_RESULTA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListDomainsInSiteA ( hds : super::super::Foundation:: HANDLE , site : :: windows::core::PCSTR , ppdomains : *mut *mut DS_NAME_RESULTA ) -> u32 ); DsListDomainsInSiteA(hds.into(), site.into().abi(), ppdomains) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -904,7 +904,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListDomainsInSiteW ( hds : super::super::Foundation:: HANDLE , site : :: windows::core::PCWSTR , ppdomains : *mut *mut DS_NAME_RESULTW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListDomainsInSiteW ( hds : super::super::Foundation:: HANDLE , site : :: windows::core::PCWSTR , ppdomains : *mut *mut DS_NAME_RESULTW ) -> u32 ); DsListDomainsInSiteW(hds.into(), site.into().abi(), ppdomains) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -915,7 +915,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListInfoForServerA ( hds : super::super::Foundation:: HANDLE , server : :: windows::core::PCSTR , ppinfo : *mut *mut DS_NAME_RESULTA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListInfoForServerA ( hds : super::super::Foundation:: HANDLE , server : :: windows::core::PCSTR , ppinfo : *mut *mut DS_NAME_RESULTA ) -> u32 ); DsListInfoForServerA(hds.into(), server.into().abi(), ppinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -926,7 +926,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListInfoForServerW ( hds : super::super::Foundation:: HANDLE , server : :: windows::core::PCWSTR , ppinfo : *mut *mut DS_NAME_RESULTW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListInfoForServerW ( hds : super::super::Foundation:: HANDLE , server : :: windows::core::PCWSTR , ppinfo : *mut *mut DS_NAME_RESULTW ) -> u32 ); DsListInfoForServerW(hds.into(), server.into().abi(), ppinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -936,7 +936,7 @@ pub unsafe fn DsListRolesA(hds: P0, pproles: *mut *mut DS_NAME_RESULTA) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListRolesA ( hds : super::super::Foundation:: HANDLE , pproles : *mut *mut DS_NAME_RESULTA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListRolesA ( hds : super::super::Foundation:: HANDLE , pproles : *mut *mut DS_NAME_RESULTA ) -> u32 ); DsListRolesA(hds.into(), pproles) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -946,7 +946,7 @@ pub unsafe fn DsListRolesW(hds: P0, pproles: *mut *mut DS_NAME_RESULTW) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListRolesW ( hds : super::super::Foundation:: HANDLE , pproles : *mut *mut DS_NAME_RESULTW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListRolesW ( hds : super::super::Foundation:: HANDLE , pproles : *mut *mut DS_NAME_RESULTW ) -> u32 ); DsListRolesW(hds.into(), pproles) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -958,7 +958,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListServersForDomainInSiteA ( hds : super::super::Foundation:: HANDLE , domain : :: windows::core::PCSTR , site : :: windows::core::PCSTR , ppservers : *mut *mut DS_NAME_RESULTA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListServersForDomainInSiteA ( hds : super::super::Foundation:: HANDLE , domain : :: windows::core::PCSTR , site : :: windows::core::PCSTR , ppservers : *mut *mut DS_NAME_RESULTA ) -> u32 ); DsListServersForDomainInSiteA(hds.into(), domain.into().abi(), site.into().abi(), ppservers) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -970,7 +970,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListServersForDomainInSiteW ( hds : super::super::Foundation:: HANDLE , domain : :: windows::core::PCWSTR , site : :: windows::core::PCWSTR , ppservers : *mut *mut DS_NAME_RESULTW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListServersForDomainInSiteW ( hds : super::super::Foundation:: HANDLE , domain : :: windows::core::PCWSTR , site : :: windows::core::PCWSTR , ppservers : *mut *mut DS_NAME_RESULTW ) -> u32 ); DsListServersForDomainInSiteW(hds.into(), domain.into().abi(), site.into().abi(), ppservers) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -981,7 +981,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListServersInSiteA ( hds : super::super::Foundation:: HANDLE , site : :: windows::core::PCSTR , ppservers : *mut *mut DS_NAME_RESULTA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListServersInSiteA ( hds : super::super::Foundation:: HANDLE , site : :: windows::core::PCSTR , ppservers : *mut *mut DS_NAME_RESULTA ) -> u32 ); DsListServersInSiteA(hds.into(), site.into().abi(), ppservers) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -992,7 +992,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListServersInSiteW ( hds : super::super::Foundation:: HANDLE , site : :: windows::core::PCWSTR , ppservers : *mut *mut DS_NAME_RESULTW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListServersInSiteW ( hds : super::super::Foundation:: HANDLE , site : :: windows::core::PCWSTR , ppservers : *mut *mut DS_NAME_RESULTW ) -> u32 ); DsListServersInSiteW(hds.into(), site.into().abi(), ppservers) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1002,7 +1002,7 @@ pub unsafe fn DsListSitesA(hds: P0, ppsites: *mut *mut DS_NAME_RESULTA) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListSitesA ( hds : super::super::Foundation:: HANDLE , ppsites : *mut *mut DS_NAME_RESULTA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListSitesA ( hds : super::super::Foundation:: HANDLE , ppsites : *mut *mut DS_NAME_RESULTA ) -> u32 ); DsListSitesA(hds.into(), ppsites) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1012,7 +1012,7 @@ pub unsafe fn DsListSitesW(hds: P0, ppsites: *mut *mut DS_NAME_RESULTW) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsListSitesW ( hds : super::super::Foundation:: HANDLE , ppsites : *mut *mut DS_NAME_RESULTW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsListSitesW ( hds : super::super::Foundation:: HANDLE , ppsites : *mut *mut DS_NAME_RESULTW ) -> u32 ); DsListSitesW(hds.into(), ppsites) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1023,7 +1023,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsMakePasswordCredentialsA ( user : :: windows::core::PCSTR , domain : :: windows::core::PCSTR , password : :: windows::core::PCSTR , pauthidentity : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsMakePasswordCredentialsA ( user : :: windows::core::PCSTR , domain : :: windows::core::PCSTR , password : :: windows::core::PCSTR , pauthidentity : *mut *mut ::core::ffi::c_void ) -> u32 ); DsMakePasswordCredentialsA(user.into().abi(), domain.into().abi(), password.into().abi(), pauthidentity) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1034,7 +1034,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsMakePasswordCredentialsW ( user : :: windows::core::PCWSTR , domain : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , pauthidentity : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsMakePasswordCredentialsW ( user : :: windows::core::PCWSTR , domain : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , pauthidentity : *mut *mut ::core::ffi::c_void ) -> u32 ); DsMakePasswordCredentialsW(user.into().abi(), domain.into().abi(), password.into().abi(), pauthidentity) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1046,7 +1046,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dsparse.dll""system" fn DsMakeSpnA ( serviceclass : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , instancename : :: windows::core::PCSTR , instanceport : u16 , referrer : :: windows::core::PCSTR , pcspnlength : *mut u32 , pszspn : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsMakeSpnA ( serviceclass : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , instancename : :: windows::core::PCSTR , instanceport : u16 , referrer : :: windows::core::PCSTR , pcspnlength : *mut u32 , pszspn : :: windows::core::PSTR ) -> u32 ); DsMakeSpnA(serviceclass.into().abi(), servicename.into().abi(), instancename.into().abi(), instanceport, referrer.into().abi(), pcspnlength, ::core::mem::transmute(pszspn)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1058,7 +1058,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dsparse.dll""system" fn DsMakeSpnW ( serviceclass : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , instancename : :: windows::core::PCWSTR , instanceport : u16 , referrer : :: windows::core::PCWSTR , pcspnlength : *mut u32 , pszspn : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsMakeSpnW ( serviceclass : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , instancename : :: windows::core::PCWSTR , instanceport : u16 , referrer : :: windows::core::PCWSTR , pcspnlength : *mut u32 , pszspn : :: windows::core::PWSTR ) -> u32 ); DsMakeSpnW(serviceclass.into().abi(), servicename.into().abi(), instancename.into().abi(), instanceport, referrer.into().abi(), pcspnlength, ::core::mem::transmute(pszspn)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1068,7 +1068,7 @@ pub unsafe fn DsMapSchemaGuidsA(hds: P0, rguids: &[::windows::core::GUID], p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsMapSchemaGuidsA ( hds : super::super::Foundation:: HANDLE , cguids : u32 , rguids : *const :: windows::core::GUID , ppguidmap : *mut *mut DS_SCHEMA_GUID_MAPA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsMapSchemaGuidsA ( hds : super::super::Foundation:: HANDLE , cguids : u32 , rguids : *const :: windows::core::GUID , ppguidmap : *mut *mut DS_SCHEMA_GUID_MAPA ) -> u32 ); DsMapSchemaGuidsA(hds.into(), rguids.len() as _, ::core::mem::transmute(rguids.as_ptr()), ppguidmap) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1078,7 +1078,7 @@ pub unsafe fn DsMapSchemaGuidsW(hds: P0, rguids: &[::windows::core::GUID], p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsMapSchemaGuidsW ( hds : super::super::Foundation:: HANDLE , cguids : u32 , rguids : *const :: windows::core::GUID , ppguidmap : *mut *mut DS_SCHEMA_GUID_MAPW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsMapSchemaGuidsW ( hds : super::super::Foundation:: HANDLE , cguids : u32 , rguids : *const :: windows::core::GUID , ppguidmap : *mut *mut DS_SCHEMA_GUID_MAPW ) -> u32 ); DsMapSchemaGuidsW(hds.into(), rguids.len() as _, ::core::mem::transmute(rguids.as_ptr()), ppguidmap) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] @@ -1088,7 +1088,7 @@ pub unsafe fn DsMergeForestTrustInformationW(domainname: P0, newforesttrusti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsMergeForestTrustInformationW ( domainname : :: windows::core::PCWSTR , newforesttrustinfo : *const super::super::Security::Authentication::Identity:: LSA_FOREST_TRUST_INFORMATION , oldforesttrustinfo : *const super::super::Security::Authentication::Identity:: LSA_FOREST_TRUST_INFORMATION , mergedforesttrustinfo : *mut *mut super::super::Security::Authentication::Identity:: LSA_FOREST_TRUST_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsMergeForestTrustInformationW ( domainname : :: windows::core::PCWSTR , newforesttrustinfo : *const super::super::Security::Authentication::Identity:: LSA_FOREST_TRUST_INFORMATION , oldforesttrustinfo : *const super::super::Security::Authentication::Identity:: LSA_FOREST_TRUST_INFORMATION , mergedforesttrustinfo : *mut *mut super::super::Security::Authentication::Identity:: LSA_FOREST_TRUST_INFORMATION ) -> u32 ); DsMergeForestTrustInformationW(domainname.into().abi(), newforesttrustinfo, ::core::mem::transmute(oldforesttrustinfo.unwrap_or(::std::ptr::null())), mergedforesttrustinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1099,7 +1099,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsQuerySitesByCostA ( hds : super::super::Foundation:: HANDLE , pszfromsite : :: windows::core::PCSTR , rgsztosites : *const :: windows::core::PCSTR , ctosites : u32 , dwflags : u32 , prgsiteinfo : *mut *mut DS_SITE_COST_INFO ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsQuerySitesByCostA ( hds : super::super::Foundation:: HANDLE , pszfromsite : :: windows::core::PCSTR , rgsztosites : *const :: windows::core::PCSTR , ctosites : u32 , dwflags : u32 , prgsiteinfo : *mut *mut DS_SITE_COST_INFO ) -> u32 ); DsQuerySitesByCostA(hds.into(), pszfromsite.into().abi(), ::core::mem::transmute(rgsztosites.as_ptr()), rgsztosites.len() as _, dwflags, prgsiteinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1110,25 +1110,25 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsQuerySitesByCostW ( hds : super::super::Foundation:: HANDLE , pwszfromsite : :: windows::core::PCWSTR , rgwsztosites : *const :: windows::core::PCWSTR , ctosites : u32 , dwflags : u32 , prgsiteinfo : *mut *mut DS_SITE_COST_INFO ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsQuerySitesByCostW ( hds : super::super::Foundation:: HANDLE , pwszfromsite : :: windows::core::PCWSTR , rgwsztosites : *const :: windows::core::PCWSTR , ctosites : u32 , dwflags : u32 , prgsiteinfo : *mut *mut DS_SITE_COST_INFO ) -> u32 ); DsQuerySitesByCostW(hds.into(), pwszfromsite.into().abi(), ::core::mem::transmute(rgwsztosites.as_ptr()), rgwsztosites.len() as _, dwflags, prgsiteinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsQuerySitesFree(rgsiteinfo: *const DS_SITE_COST_INFO) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsQuerySitesFree ( rgsiteinfo : *const DS_SITE_COST_INFO ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsQuerySitesFree ( rgsiteinfo : *const DS_SITE_COST_INFO ) -> ( ) ); DsQuerySitesFree(rgsiteinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsQuoteRdnValueA(psunquotedrdnvalue: &[u8], pcquotedrdnvaluelength: *mut u32, psquotedrdnvalue: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "dsparse.dll""system" fn DsQuoteRdnValueA ( cunquotedrdnvaluelength : u32 , psunquotedrdnvalue : :: windows::core::PCSTR , pcquotedrdnvaluelength : *mut u32 , psquotedrdnvalue : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsQuoteRdnValueA ( cunquotedrdnvaluelength : u32 , psunquotedrdnvalue : :: windows::core::PCSTR , pcquotedrdnvaluelength : *mut u32 , psquotedrdnvalue : :: windows::core::PSTR ) -> u32 ); DsQuoteRdnValueA(psunquotedrdnvalue.len() as _, ::core::mem::transmute(psunquotedrdnvalue.as_ptr()), pcquotedrdnvaluelength, ::core::mem::transmute(psquotedrdnvalue)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsQuoteRdnValueW(psunquotedrdnvalue: &[u16], pcquotedrdnvaluelength: *mut u32, psquotedrdnvalue: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "dsparse.dll""system" fn DsQuoteRdnValueW ( cunquotedrdnvaluelength : u32 , psunquotedrdnvalue : :: windows::core::PCWSTR , pcquotedrdnvaluelength : *mut u32 , psquotedrdnvalue : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsQuoteRdnValueW ( cunquotedrdnvaluelength : u32 , psunquotedrdnvalue : :: windows::core::PCWSTR , pcquotedrdnvaluelength : *mut u32 , psquotedrdnvalue : :: windows::core::PWSTR ) -> u32 ); DsQuoteRdnValueW(psunquotedrdnvalue.len() as _, ::core::mem::transmute(psunquotedrdnvalue.as_ptr()), pcquotedrdnvaluelength, ::core::mem::transmute(psquotedrdnvalue)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1139,7 +1139,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsRemoveDsDomainA ( hds : super::super::Foundation:: HANDLE , domaindn : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsRemoveDsDomainA ( hds : super::super::Foundation:: HANDLE , domaindn : :: windows::core::PCSTR ) -> u32 ); DsRemoveDsDomainA(hds.into(), domaindn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1150,7 +1150,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsRemoveDsDomainW ( hds : super::super::Foundation:: HANDLE , domaindn : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsRemoveDsDomainW ( hds : super::super::Foundation:: HANDLE , domaindn : :: windows::core::PCWSTR ) -> u32 ); DsRemoveDsDomainW(hds.into(), domaindn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1163,7 +1163,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsRemoveDsServerA ( hds : super::super::Foundation:: HANDLE , serverdn : :: windows::core::PCSTR , domaindn : :: windows::core::PCSTR , flastdcindomain : *mut super::super::Foundation:: BOOL , fcommit : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsRemoveDsServerA ( hds : super::super::Foundation:: HANDLE , serverdn : :: windows::core::PCSTR , domaindn : :: windows::core::PCSTR , flastdcindomain : *mut super::super::Foundation:: BOOL , fcommit : super::super::Foundation:: BOOL ) -> u32 ); DsRemoveDsServerA(hds.into(), serverdn.into().abi(), domaindn.into().abi(), ::core::mem::transmute(flastdcindomain.unwrap_or(::std::ptr::null_mut())), fcommit.into()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1176,7 +1176,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsRemoveDsServerW ( hds : super::super::Foundation:: HANDLE , serverdn : :: windows::core::PCWSTR , domaindn : :: windows::core::PCWSTR , flastdcindomain : *mut super::super::Foundation:: BOOL , fcommit : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsRemoveDsServerW ( hds : super::super::Foundation:: HANDLE , serverdn : :: windows::core::PCWSTR , domaindn : :: windows::core::PCWSTR , flastdcindomain : *mut super::super::Foundation:: BOOL , fcommit : super::super::Foundation:: BOOL ) -> u32 ); DsRemoveDsServerW(hds.into(), serverdn.into().abi(), domaindn.into().abi(), ::core::mem::transmute(flastdcindomain.unwrap_or(::std::ptr::null_mut())), fcommit.into()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1190,7 +1190,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaAddA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , sourcedsadn : :: windows::core::PCSTR , transportdn : :: windows::core::PCSTR , sourcedsaaddress : :: windows::core::PCSTR , pschedule : *const SCHEDULE , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaAddA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , sourcedsadn : :: windows::core::PCSTR , transportdn : :: windows::core::PCSTR , sourcedsaaddress : :: windows::core::PCSTR , pschedule : *const SCHEDULE , options : u32 ) -> u32 ); DsReplicaAddA(hds.into(), namecontext.into().abi(), sourcedsadn.into().abi(), transportdn.into().abi(), sourcedsaaddress.into().abi(), ::core::mem::transmute(pschedule.unwrap_or(::std::ptr::null())), options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1204,7 +1204,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaAddW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , sourcedsadn : :: windows::core::PCWSTR , transportdn : :: windows::core::PCWSTR , sourcedsaaddress : :: windows::core::PCWSTR , pschedule : *const SCHEDULE , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaAddW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , sourcedsadn : :: windows::core::PCWSTR , transportdn : :: windows::core::PCWSTR , sourcedsaaddress : :: windows::core::PCWSTR , pschedule : *const SCHEDULE , options : u32 ) -> u32 ); DsReplicaAddW(hds.into(), namecontext.into().abi(), sourcedsadn.into().abi(), transportdn.into().abi(), sourcedsaaddress.into().abi(), ::core::mem::transmute(pschedule.unwrap_or(::std::ptr::null())), options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1214,7 +1214,7 @@ pub unsafe fn DsReplicaConsistencyCheck(hds: P0, taskid: DS_KCC_TASKID, dwfl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaConsistencyCheck ( hds : super::super::Foundation:: HANDLE , taskid : DS_KCC_TASKID , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaConsistencyCheck ( hds : super::super::Foundation:: HANDLE , taskid : DS_KCC_TASKID , dwflags : u32 ) -> u32 ); DsReplicaConsistencyCheck(hds.into(), taskid, dwflags) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1226,7 +1226,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaDelA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , dsasrc : :: windows::core::PCSTR , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaDelA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , dsasrc : :: windows::core::PCSTR , options : u32 ) -> u32 ); DsReplicaDelA(hds.into(), namecontext.into().abi(), dsasrc.into().abi(), options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1238,13 +1238,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaDelW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , dsasrc : :: windows::core::PCWSTR , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaDelW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , dsasrc : :: windows::core::PCWSTR , options : u32 ) -> u32 ); DsReplicaDelW(hds.into(), namecontext.into().abi(), dsasrc.into().abi(), options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsReplicaFreeInfo(infotype: DS_REPL_INFO_TYPE, pinfo: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaFreeInfo ( infotype : DS_REPL_INFO_TYPE , pinfo : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaFreeInfo ( infotype : DS_REPL_INFO_TYPE , pinfo : *const ::core::ffi::c_void ) -> ( ) ); DsReplicaFreeInfo(infotype, pinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1257,7 +1257,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaGetInfo2W ( hds : super::super::Foundation:: HANDLE , infotype : DS_REPL_INFO_TYPE , pszobject : :: windows::core::PCWSTR , puuidforsourcedsaobjguid : *const :: windows::core::GUID , pszattributename : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , dwflags : u32 , dwenumerationcontext : u32 , ppinfo : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaGetInfo2W ( hds : super::super::Foundation:: HANDLE , infotype : DS_REPL_INFO_TYPE , pszobject : :: windows::core::PCWSTR , puuidforsourcedsaobjguid : *const :: windows::core::GUID , pszattributename : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , dwflags : u32 , dwenumerationcontext : u32 , ppinfo : *mut *mut ::core::ffi::c_void ) -> u32 ); DsReplicaGetInfo2W(hds.into(), infotype, pszobject.into().abi(), ::core::mem::transmute(puuidforsourcedsaobjguid.unwrap_or(::std::ptr::null())), pszattributename.into().abi(), pszvalue.into().abi(), dwflags, dwenumerationcontext, ppinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1268,7 +1268,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaGetInfoW ( hds : super::super::Foundation:: HANDLE , infotype : DS_REPL_INFO_TYPE , pszobject : :: windows::core::PCWSTR , puuidforsourcedsaobjguid : *const :: windows::core::GUID , ppinfo : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaGetInfoW ( hds : super::super::Foundation:: HANDLE , infotype : DS_REPL_INFO_TYPE , pszobject : :: windows::core::PCWSTR , puuidforsourcedsaobjguid : *const :: windows::core::GUID , ppinfo : *mut *mut ::core::ffi::c_void ) -> u32 ); DsReplicaGetInfoW(hds.into(), infotype, pszobject.into().abi(), ::core::mem::transmute(puuidforsourcedsaobjguid.unwrap_or(::std::ptr::null())), ppinfo) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1281,7 +1281,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaModifyA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , puuidsourcedsa : *const :: windows::core::GUID , transportdn : :: windows::core::PCSTR , sourcedsaaddress : :: windows::core::PCSTR , pschedule : *const SCHEDULE , replicaflags : u32 , modifyfields : u32 , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaModifyA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , puuidsourcedsa : *const :: windows::core::GUID , transportdn : :: windows::core::PCSTR , sourcedsaaddress : :: windows::core::PCSTR , pschedule : *const SCHEDULE , replicaflags : u32 , modifyfields : u32 , options : u32 ) -> u32 ); DsReplicaModifyA(hds.into(), namecontext.into().abi(), ::core::mem::transmute(puuidsourcedsa.unwrap_or(::std::ptr::null())), transportdn.into().abi(), sourcedsaaddress.into().abi(), ::core::mem::transmute(pschedule.unwrap_or(::std::ptr::null())), replicaflags, modifyfields, options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1294,7 +1294,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaModifyW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , puuidsourcedsa : *const :: windows::core::GUID , transportdn : :: windows::core::PCWSTR , sourcedsaaddress : :: windows::core::PCWSTR , pschedule : *const SCHEDULE , replicaflags : u32 , modifyfields : u32 , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaModifyW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , puuidsourcedsa : *const :: windows::core::GUID , transportdn : :: windows::core::PCWSTR , sourcedsaaddress : :: windows::core::PCWSTR , pschedule : *const SCHEDULE , replicaflags : u32 , modifyfields : u32 , options : u32 ) -> u32 ); DsReplicaModifyW(hds.into(), namecontext.into().abi(), ::core::mem::transmute(puuidsourcedsa.unwrap_or(::std::ptr::null())), transportdn.into().abi(), sourcedsaaddress.into().abi(), ::core::mem::transmute(pschedule.unwrap_or(::std::ptr::null())), replicaflags, modifyfields, options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1305,7 +1305,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaSyncA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , puuiddsasrc : *const :: windows::core::GUID , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaSyncA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , puuiddsasrc : *const :: windows::core::GUID , options : u32 ) -> u32 ); DsReplicaSyncA(hds.into(), namecontext.into().abi(), puuiddsasrc, options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1316,7 +1316,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaSyncAllA ( hds : super::super::Foundation:: HANDLE , psznamecontext : :: windows::core::PCSTR , ulflags : u32 , pfncallback : isize , pcallbackdata : *const ::core::ffi::c_void , perrors : *mut *mut *mut DS_REPSYNCALL_ERRINFOA ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaSyncAllA ( hds : super::super::Foundation:: HANDLE , psznamecontext : :: windows::core::PCSTR , ulflags : u32 , pfncallback : isize , pcallbackdata : *const ::core::ffi::c_void , perrors : *mut *mut *mut DS_REPSYNCALL_ERRINFOA ) -> u32 ); DsReplicaSyncAllA(hds.into(), psznamecontext.into().abi(), ulflags, pfncallback, ::core::mem::transmute(pcallbackdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(perrors.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1327,7 +1327,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaSyncAllW ( hds : super::super::Foundation:: HANDLE , psznamecontext : :: windows::core::PCWSTR , ulflags : u32 , pfncallback : isize , pcallbackdata : *const ::core::ffi::c_void , perrors : *mut *mut *mut DS_REPSYNCALL_ERRINFOW ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaSyncAllW ( hds : super::super::Foundation:: HANDLE , psznamecontext : :: windows::core::PCWSTR , ulflags : u32 , pfncallback : isize , pcallbackdata : *const ::core::ffi::c_void , perrors : *mut *mut *mut DS_REPSYNCALL_ERRINFOW ) -> u32 ); DsReplicaSyncAllW(hds.into(), psznamecontext.into().abi(), ulflags, pfncallback, ::core::mem::transmute(pcallbackdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(perrors.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1338,7 +1338,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaSyncW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , puuiddsasrc : *const :: windows::core::GUID , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaSyncW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , puuiddsasrc : *const :: windows::core::GUID , options : u32 ) -> u32 ); DsReplicaSyncW(hds.into(), namecontext.into().abi(), puuiddsasrc, options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1350,7 +1350,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaUpdateRefsA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , dsadest : :: windows::core::PCSTR , puuiddsadest : *const :: windows::core::GUID , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaUpdateRefsA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , dsadest : :: windows::core::PCSTR , puuiddsadest : *const :: windows::core::GUID , options : u32 ) -> u32 ); DsReplicaUpdateRefsA(hds.into(), namecontext.into().abi(), dsadest.into().abi(), puuiddsadest, options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1362,7 +1362,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaUpdateRefsW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , dsadest : :: windows::core::PCWSTR , puuiddsadest : *const :: windows::core::GUID , options : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaUpdateRefsW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , dsadest : :: windows::core::PCWSTR , puuiddsadest : *const :: windows::core::GUID , options : u32 ) -> u32 ); DsReplicaUpdateRefsW(hds.into(), namecontext.into().abi(), dsadest.into().abi(), puuiddsadest, options) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1373,7 +1373,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaVerifyObjectsA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , puuiddsasrc : *const :: windows::core::GUID , uloptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaVerifyObjectsA ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCSTR , puuiddsasrc : *const :: windows::core::GUID , uloptions : u32 ) -> u32 ); DsReplicaVerifyObjectsA(hds.into(), namecontext.into().abi(), puuiddsasrc, uloptions) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1384,13 +1384,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsReplicaVerifyObjectsW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , puuiddsasrc : *const :: windows::core::GUID , uloptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsReplicaVerifyObjectsW ( hds : super::super::Foundation:: HANDLE , namecontext : :: windows::core::PCWSTR , puuiddsasrc : *const :: windows::core::GUID , uloptions : u32 ) -> u32 ); DsReplicaVerifyObjectsW(hds.into(), namecontext.into().abi(), puuiddsasrc, uloptions) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsRoleFreeMemory(buffer: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "netapi32.dll""system" fn DsRoleFreeMemory ( buffer : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsRoleFreeMemory ( buffer : *mut ::core::ffi::c_void ) -> ( ) ); DsRoleFreeMemory(buffer) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1399,7 +1399,7 @@ pub unsafe fn DsRoleGetPrimaryDomainInformation(lpserver: P0, infolevel: DSR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsRoleGetPrimaryDomainInformation ( lpserver : :: windows::core::PCWSTR , infolevel : DSROLE_PRIMARY_DOMAIN_INFO_LEVEL , buffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsRoleGetPrimaryDomainInformation ( lpserver : :: windows::core::PCWSTR , infolevel : DSROLE_PRIMARY_DOMAIN_INFO_LEVEL , buffer : *mut *mut u8 ) -> u32 ); DsRoleGetPrimaryDomainInformation(lpserver.into().abi(), infolevel, buffer) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1409,7 +1409,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsServerRegisterSpnA ( operation : DS_SPN_WRITE_OP , serviceclass : :: windows::core::PCSTR , userobjectdn : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsServerRegisterSpnA ( operation : DS_SPN_WRITE_OP , serviceclass : :: windows::core::PCSTR , userobjectdn : :: windows::core::PCSTR ) -> u32 ); DsServerRegisterSpnA(operation, serviceclass.into().abi(), userobjectdn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1419,33 +1419,33 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsServerRegisterSpnW ( operation : DS_SPN_WRITE_OP , serviceclass : :: windows::core::PCWSTR , userobjectdn : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsServerRegisterSpnW ( operation : DS_SPN_WRITE_OP , serviceclass : :: windows::core::PCWSTR , userobjectdn : :: windows::core::PCWSTR ) -> u32 ); DsServerRegisterSpnW(operation, serviceclass.into().abi(), userobjectdn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DsUnBindA(phds: *const super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsUnBindA ( phds : *const super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsUnBindA ( phds : *const super::super::Foundation:: HANDLE ) -> u32 ); DsUnBindA(phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DsUnBindW(phds: *const super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsUnBindW ( phds : *const super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsUnBindW ( phds : *const super::super::Foundation:: HANDLE ) -> u32 ); DsUnBindW(phds) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsUnquoteRdnValueA(psquotedrdnvalue: &[u8], pcunquotedrdnvaluelength: *mut u32, psunquotedrdnvalue: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "dsparse.dll""system" fn DsUnquoteRdnValueA ( cquotedrdnvaluelength : u32 , psquotedrdnvalue : :: windows::core::PCSTR , pcunquotedrdnvaluelength : *mut u32 , psunquotedrdnvalue : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsUnquoteRdnValueA ( cquotedrdnvaluelength : u32 , psquotedrdnvalue : :: windows::core::PCSTR , pcunquotedrdnvaluelength : *mut u32 , psunquotedrdnvalue : :: windows::core::PSTR ) -> u32 ); DsUnquoteRdnValueA(psquotedrdnvalue.len() as _, ::core::mem::transmute(psquotedrdnvalue.as_ptr()), pcunquotedrdnvaluelength, ::core::mem::transmute(psunquotedrdnvalue)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn DsUnquoteRdnValueW(psquotedrdnvalue: &[u16], pcunquotedrdnvaluelength: *mut u32, psunquotedrdnvalue: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "dsparse.dll""system" fn DsUnquoteRdnValueW ( cquotedrdnvaluelength : u32 , psquotedrdnvalue : :: windows::core::PCWSTR , pcunquotedrdnvaluelength : *mut u32 , psunquotedrdnvalue : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "dsparse.dll""system" fn DsUnquoteRdnValueW ( cquotedrdnvaluelength : u32 , psquotedrdnvalue : :: windows::core::PCWSTR , pcunquotedrdnvaluelength : *mut u32 , psunquotedrdnvalue : :: windows::core::PWSTR ) -> u32 ); DsUnquoteRdnValueW(psquotedrdnvalue.len() as _, ::core::mem::transmute(psquotedrdnvalue.as_ptr()), pcunquotedrdnvaluelength, ::core::mem::transmute(psunquotedrdnvalue)) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1454,7 +1454,7 @@ pub unsafe fn DsValidateSubnetNameA(subnetname: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsValidateSubnetNameA ( subnetname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsValidateSubnetNameA ( subnetname : :: windows::core::PCSTR ) -> u32 ); DsValidateSubnetNameA(subnetname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] @@ -1463,7 +1463,7 @@ pub unsafe fn DsValidateSubnetNameW(subnetname: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn DsValidateSubnetNameW ( subnetname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn DsValidateSubnetNameW ( subnetname : :: windows::core::PCWSTR ) -> u32 ); DsValidateSubnetNameW(subnetname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1474,7 +1474,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsWriteAccountSpnA ( hds : super::super::Foundation:: HANDLE , operation : DS_SPN_WRITE_OP , pszaccount : :: windows::core::PCSTR , cspn : u32 , rpszspn : *const :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsWriteAccountSpnA ( hds : super::super::Foundation:: HANDLE , operation : DS_SPN_WRITE_OP , pszaccount : :: windows::core::PCSTR , cspn : u32 , rpszspn : *const :: windows::core::PCSTR ) -> u32 ); DsWriteAccountSpnA(hds.into(), operation, pszaccount.into().abi(), rpszspn.len() as _, ::core::mem::transmute(rpszspn.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1485,14 +1485,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdsapi.dll""system" fn DsWriteAccountSpnW ( hds : super::super::Foundation:: HANDLE , operation : DS_SPN_WRITE_OP , pszaccount : :: windows::core::PCWSTR , cspn : u32 , rpszspn : *const :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdsapi.dll""system" fn DsWriteAccountSpnW ( hds : super::super::Foundation:: HANDLE , operation : DS_SPN_WRITE_OP , pszaccount : :: windows::core::PCWSTR , cspn : u32 , rpszspn : *const :: windows::core::PCWSTR ) -> u32 ); DsWriteAccountSpnW(hds.into(), operation, pszaccount.into().abi(), rpszspn.len() as _, ::core::mem::transmute(rpszspn.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeADsMem(pmem: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "activeds.dll""system" fn FreeADsMem ( pmem : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "activeds.dll""system" fn FreeADsMem ( pmem : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FreeADsMem(pmem) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1502,20 +1502,20 @@ pub unsafe fn FreeADsStr(pstr: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn FreeADsStr ( pstr : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "activeds.dll""system" fn FreeADsStr ( pstr : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FreeADsStr(pstr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn PropVariantToAdsType(pvariant: *mut super::super::System::Com::VARIANT, dwnumvariant: u32, ppadsvalues: *mut *mut ADSVALUE, pdwnumvalues: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "activeds.dll""system" fn PropVariantToAdsType ( pvariant : *mut super::super::System::Com:: VARIANT , dwnumvariant : u32 , ppadsvalues : *mut *mut ADSVALUE , pdwnumvalues : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn PropVariantToAdsType ( pvariant : *mut super::super::System::Com:: VARIANT , dwnumvariant : u32 , ppadsvalues : *mut *mut ADSVALUE , pdwnumvalues : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToAdsType(pvariant, dwnumvariant, ppadsvalues, pdwnumvalues).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[inline] pub unsafe fn ReallocADsMem(poldmem: *mut ::core::ffi::c_void, cbold: u32, cbnew: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "activeds.dll""system" fn ReallocADsMem ( poldmem : *mut ::core::ffi::c_void , cbold : u32 , cbnew : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "activeds.dll""system" fn ReallocADsMem ( poldmem : *mut ::core::ffi::c_void , cbold : u32 , cbnew : u32 ) -> *mut ::core::ffi::c_void ); ReallocADsMem(poldmem, cbold, cbnew) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`*"] @@ -1525,7 +1525,7 @@ pub unsafe fn ReallocADsStr(ppstr: *mut ::windows::core::PWSTR, pstr: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn ReallocADsStr ( ppstr : *mut :: windows::core::PWSTR , pstr : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "activeds.dll""system" fn ReallocADsStr ( ppstr : *mut :: windows::core::PWSTR , pstr : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ReallocADsStr(ppstr, pstr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1537,7 +1537,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "activeds.dll""system" fn SecurityDescriptorToBinarySD ( vvarsecdes : super::super::System::Com:: VARIANT , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , pdwsdlength : *mut u32 , pszservername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "activeds.dll""system" fn SecurityDescriptorToBinarySD ( vvarsecdes : super::super::System::Com:: VARIANT , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , pdwsdlength : *mut u32 , pszservername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , password : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); SecurityDescriptorToBinarySD(::core::mem::transmute(vvarsecdes), ppsecuritydescriptor, pdwsdlength, pszservername.into().abi(), username.into().abi(), password.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] @@ -1605,7 +1605,7 @@ impl IADs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADs { fn eq(&self, other: &Self) -> bool { @@ -1731,7 +1731,7 @@ impl IADsADSystemInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsADSystemInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsADSystemInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsADSystemInfo { fn eq(&self, other: &Self) -> bool { @@ -1842,7 +1842,7 @@ impl IADsAccessControlEntry { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsAccessControlEntry, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsAccessControlEntry, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsAccessControlEntry { fn eq(&self, other: &Self) -> bool { @@ -1939,7 +1939,7 @@ impl IADsAccessControlList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsAccessControlList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsAccessControlList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsAccessControlList { fn eq(&self, other: &Self) -> bool { @@ -2026,7 +2026,7 @@ impl IADsAcl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsAcl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsAcl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsAcl { fn eq(&self, other: &Self) -> bool { @@ -2091,7 +2091,7 @@ impl IADsAggregatee { (::windows::core::Vtable::vtable(self).RestoreInterface)(::windows::core::Vtable::as_raw(self), riid).ok() } } -::windows::core::interface_hierarchy!(IADsAggregatee, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IADsAggregatee, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IADsAggregatee { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2137,7 +2137,7 @@ impl IADsAggregator { (::windows::core::Vtable::vtable(self).DisconnectAsAggregator)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IADsAggregator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IADsAggregator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IADsAggregator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2189,7 +2189,7 @@ impl IADsBackLink { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsBackLink, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsBackLink, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsBackLink { fn eq(&self, other: &Self) -> bool { @@ -2247,7 +2247,7 @@ impl IADsCaseIgnoreList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsCaseIgnoreList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsCaseIgnoreList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsCaseIgnoreList { fn eq(&self, other: &Self) -> bool { @@ -2512,7 +2512,7 @@ impl IADsClass { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsClass, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsClass, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsClass { fn eq(&self, other: &Self) -> bool { @@ -2666,7 +2666,7 @@ impl IADsCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsCollection { fn eq(&self, other: &Self) -> bool { @@ -2893,7 +2893,7 @@ impl IADsComputer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsComputer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsComputer, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsComputer { fn eq(&self, other: &Self) -> bool { @@ -3045,7 +3045,7 @@ impl IADsComputerOperations { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsComputerOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsComputerOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsComputerOperations { fn eq(&self, other: &Self) -> bool { @@ -3153,7 +3153,7 @@ impl IADsContainer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsContainer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsContainer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsContainer { fn eq(&self, other: &Self) -> bool { @@ -3249,7 +3249,7 @@ impl IADsDNWithBinary { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsDNWithBinary, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsDNWithBinary, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsDNWithBinary { fn eq(&self, other: &Self) -> bool { @@ -3316,7 +3316,7 @@ impl IADsDNWithString { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsDNWithString, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsDNWithString, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsDNWithString { fn eq(&self, other: &Self) -> bool { @@ -3366,7 +3366,7 @@ impl IADsDeleteOps { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsDeleteOps, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsDeleteOps, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsDeleteOps { fn eq(&self, other: &Self) -> bool { @@ -3529,7 +3529,7 @@ impl IADsDomain { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsDomain, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsDomain, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsDomain { fn eq(&self, other: &Self) -> bool { @@ -3606,7 +3606,7 @@ impl IADsEmail { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsEmail, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsEmail, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsEmail { fn eq(&self, other: &Self) -> bool { @@ -3664,7 +3664,7 @@ impl IADsExtension { (::windows::core::Vtable::vtable(self).PrivateInvoke)(::windows::core::Vtable::as_raw(self), dispidmember, riid, lcid, wflags, pdispparams, pvarresult, pexcepinfo, puargerr).ok() } } -::windows::core::interface_hierarchy!(IADsExtension, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IADsExtension, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IADsExtension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3727,7 +3727,7 @@ impl IADsFaxNumber { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsFaxNumber, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsFaxNumber, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsFaxNumber { fn eq(&self, other: &Self) -> bool { @@ -3939,7 +3939,7 @@ impl IADsFileService { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsFileService, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs, IADsService); +::windows::imp::interface_hierarchy!(IADsFileService, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs, IADsService); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsFileService { fn eq(&self, other: &Self) -> bool { @@ -4074,7 +4074,7 @@ impl IADsFileServiceOperations { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsFileServiceOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs, IADsServiceOperations); +::windows::imp::interface_hierarchy!(IADsFileServiceOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs, IADsServiceOperations); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsFileServiceOperations { fn eq(&self, other: &Self) -> bool { @@ -4214,7 +4214,7 @@ impl IADsFileShare { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsFileShare, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsFileShare, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsFileShare { fn eq(&self, other: &Self) -> bool { @@ -4348,7 +4348,7 @@ impl IADsGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsGroup { fn eq(&self, other: &Self) -> bool { @@ -4417,7 +4417,7 @@ impl IADsHold { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsHold, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsHold, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsHold { fn eq(&self, other: &Self) -> bool { @@ -4478,7 +4478,7 @@ impl IADsLargeInteger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsLargeInteger, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsLargeInteger, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsLargeInteger { fn eq(&self, other: &Self) -> bool { @@ -4614,7 +4614,7 @@ impl IADsLocality { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsLocality, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsLocality, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsLocality { fn eq(&self, other: &Self) -> bool { @@ -4690,7 +4690,7 @@ impl IADsMembers { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsMembers, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsMembers, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsMembers { fn eq(&self, other: &Self) -> bool { @@ -4770,7 +4770,7 @@ impl IADsNameTranslate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsNameTranslate, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsNameTranslate, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsNameTranslate { fn eq(&self, other: &Self) -> bool { @@ -4890,7 +4890,7 @@ impl IADsNamespaces { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsNamespaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsNamespaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsNamespaces { fn eq(&self, other: &Self) -> bool { @@ -4953,7 +4953,7 @@ impl IADsNetAddress { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsNetAddress, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsNetAddress, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsNetAddress { fn eq(&self, other: &Self) -> bool { @@ -5109,7 +5109,7 @@ impl IADsO { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsO, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsO, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsO { fn eq(&self, other: &Self) -> bool { @@ -5280,7 +5280,7 @@ impl IADsOU { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsOU, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsOU, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsOU { fn eq(&self, other: &Self) -> bool { @@ -5354,7 +5354,7 @@ impl IADsObjectOptions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsObjectOptions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsObjectOptions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsObjectOptions { fn eq(&self, other: &Self) -> bool { @@ -5416,7 +5416,7 @@ impl IADsOctetList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsOctetList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsOctetList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsOctetList { fn eq(&self, other: &Self) -> bool { @@ -5473,7 +5473,7 @@ impl IADsOpenDSObject { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsOpenDSObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsOpenDSObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsOpenDSObject { fn eq(&self, other: &Self) -> bool { @@ -5541,7 +5541,7 @@ impl IADsPath { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPath, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsPath, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPath { fn eq(&self, other: &Self) -> bool { @@ -5631,7 +5631,7 @@ impl IADsPathname { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPathname, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsPathname, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPathname { fn eq(&self, other: &Self) -> bool { @@ -5699,7 +5699,7 @@ impl IADsPostalAddress { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPostalAddress, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsPostalAddress, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPostalAddress { fn eq(&self, other: &Self) -> bool { @@ -5873,7 +5873,7 @@ impl IADsPrintJob { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPrintJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsPrintJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPrintJob { fn eq(&self, other: &Self) -> bool { @@ -6016,7 +6016,7 @@ impl IADsPrintJobOperations { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPrintJobOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsPrintJobOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPrintJobOperations { fn eq(&self, other: &Self) -> bool { @@ -6222,7 +6222,7 @@ impl IADsPrintQueue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPrintQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsPrintQueue, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPrintQueue { fn eq(&self, other: &Self) -> bool { @@ -6379,7 +6379,7 @@ impl IADsPrintQueueOperations { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPrintQueueOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsPrintQueueOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPrintQueueOperations { fn eq(&self, other: &Self) -> bool { @@ -6535,7 +6535,7 @@ impl IADsProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsProperty { fn eq(&self, other: &Self) -> bool { @@ -6633,7 +6633,7 @@ impl IADsPropertyEntry { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPropertyEntry, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsPropertyEntry, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPropertyEntry { fn eq(&self, other: &Self) -> bool { @@ -6731,7 +6731,7 @@ impl IADsPropertyList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPropertyList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsPropertyList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPropertyList { fn eq(&self, other: &Self) -> bool { @@ -6903,7 +6903,7 @@ impl IADsPropertyValue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPropertyValue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsPropertyValue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPropertyValue { fn eq(&self, other: &Self) -> bool { @@ -6999,7 +6999,7 @@ impl IADsPropertyValue2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsPropertyValue2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsPropertyValue2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsPropertyValue2 { fn eq(&self, other: &Self) -> bool { @@ -7089,7 +7089,7 @@ impl IADsReplicaPointer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsReplicaPointer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsReplicaPointer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsReplicaPointer { fn eq(&self, other: &Self) -> bool { @@ -7221,7 +7221,7 @@ impl IADsResource { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsResource, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsResource, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsResource { fn eq(&self, other: &Self) -> bool { @@ -7386,7 +7386,7 @@ impl IADsSecurityDescriptor { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsSecurityDescriptor, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsSecurityDescriptor, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsSecurityDescriptor { fn eq(&self, other: &Self) -> bool { @@ -7513,7 +7513,7 @@ impl IADsSecurityUtility { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsSecurityUtility, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsSecurityUtility, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsSecurityUtility { fn eq(&self, other: &Self) -> bool { @@ -7715,7 +7715,7 @@ impl IADsService { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsService, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsService, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsService { fn eq(&self, other: &Self) -> bool { @@ -7864,7 +7864,7 @@ impl IADsServiceOperations { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsServiceOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsServiceOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsServiceOperations { fn eq(&self, other: &Self) -> bool { @@ -7994,7 +7994,7 @@ impl IADsSession { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsSession, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsSession, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsSession { fn eq(&self, other: &Self) -> bool { @@ -8107,7 +8107,7 @@ impl IADsSyntax { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsSyntax, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsSyntax, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsSyntax { fn eq(&self, other: &Self) -> bool { @@ -8166,7 +8166,7 @@ impl IADsTimestamp { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsTimestamp, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsTimestamp, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsTimestamp { fn eq(&self, other: &Self) -> bool { @@ -8234,7 +8234,7 @@ impl IADsTypedName { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsTypedName, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsTypedName, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsTypedName { fn eq(&self, other: &Self) -> bool { @@ -8743,7 +8743,7 @@ impl IADsUser { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsUser, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); +::windows::imp::interface_hierarchy!(IADsUser, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsUser { fn eq(&self, other: &Self) -> bool { @@ -8998,7 +8998,7 @@ impl IADsWinNTSystemInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsWinNTSystemInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsWinNTSystemInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsWinNTSystemInfo { fn eq(&self, other: &Self) -> bool { @@ -9050,7 +9050,7 @@ impl ICommonQuery { (::windows::core::Vtable::vtable(self).OpenQueryWindow)(::windows::core::Vtable::as_raw(self), hwndparent.into(), pquerywnd, ::core::mem::transmute(ppdataobject)).ok() } } -::windows::core::interface_hierarchy!(ICommonQuery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommonQuery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommonQuery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9117,7 +9117,7 @@ impl IDirectoryObject { (::windows::core::Vtable::vtable(self).DeleteDSObject)(::windows::core::Vtable::as_raw(self), pszrdnname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectoryObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectoryObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectoryObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9218,7 +9218,7 @@ impl IDirectorySchemaMgmt { (::windows::core::Vtable::vtable(self).DeleteClassDefinition)(::windows::core::Vtable::as_raw(self), pszclassname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDirectorySchemaMgmt, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectorySchemaMgmt, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectorySchemaMgmt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9339,7 +9339,7 @@ impl IDirectorySearch { (::windows::core::Vtable::vtable(self).CloseSearchHandle)(::windows::core::Vtable::as_raw(self), hsearchresult.into()).ok() } } -::windows::core::interface_hierarchy!(IDirectorySearch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectorySearch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectorySearch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9410,7 +9410,7 @@ impl IDsAdminCreateObj { (::windows::core::Vtable::vtable(self).CreateModal)(::windows::core::Vtable::as_raw(self), hwndparent.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDsAdminCreateObj, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDsAdminCreateObj, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDsAdminCreateObj { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9462,7 +9462,7 @@ impl IDsAdminNewObj { (::windows::core::Vtable::vtable(self).GetPageCounts)(::windows::core::Vtable::as_raw(self), pntotal, pnstartindex).ok() } } -::windows::core::interface_hierarchy!(IDsAdminNewObj, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDsAdminNewObj, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDsAdminNewObj { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9546,7 +9546,7 @@ impl IDsAdminNewObjExt { (::windows::core::Vtable::vtable(self).GetSummaryInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrtext)).ok() } } -::windows::core::interface_hierarchy!(IDsAdminNewObjExt, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDsAdminNewObjExt, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDsAdminNewObjExt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9609,7 +9609,7 @@ impl IDsAdminNewObjPrimarySite { (::windows::core::Vtable::vtable(self).Commit)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDsAdminNewObjPrimarySite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDsAdminNewObjPrimarySite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDsAdminNewObjPrimarySite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9667,7 +9667,7 @@ impl IDsAdminNotifyHandler { (::windows::core::Vtable::vtable(self).End)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDsAdminNotifyHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDsAdminNotifyHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDsAdminNotifyHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9739,7 +9739,7 @@ impl IDsBrowseDomainTree { (::windows::core::Vtable::vtable(self).SetComputer)(::windows::core::Vtable::as_raw(self), pszcomputername.into().abi(), pszusername.into().abi(), pszpassword.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDsBrowseDomainTree, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDsBrowseDomainTree, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDsBrowseDomainTree { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9860,7 +9860,7 @@ impl IDsDisplaySpecifier { (::windows::core::Vtable::vtable(self).GetAttributeADsType)(::windows::core::Vtable::as_raw(self), pszattributename.into().abi()) } } -::windows::core::interface_hierarchy!(IDsDisplaySpecifier, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDsDisplaySpecifier, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDsDisplaySpecifier { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9925,7 +9925,7 @@ impl IDsObjectPicker { (::windows::core::Vtable::vtable(self).InvokeDialog)(::windows::core::Vtable::as_raw(self), hwndparent.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDsObjectPicker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDsObjectPicker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDsObjectPicker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9982,7 +9982,7 @@ impl IDsObjectPickerCredentials { (::windows::core::Vtable::vtable(self).SetCredentials)(::windows::core::Vtable::as_raw(self), szusername.into().abi(), szpassword.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDsObjectPickerCredentials, ::windows::core::IUnknown, IDsObjectPicker); +::windows::imp::interface_hierarchy!(IDsObjectPickerCredentials, ::windows::core::IUnknown, IDsObjectPicker); impl ::core::cmp::PartialEq for IDsObjectPickerCredentials { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10071,7 +10071,7 @@ impl IPersistQuery { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistQuery, ::windows::core::IUnknown, super::super::System::Com::IPersist); +::windows::imp::interface_hierarchy!(IPersistQuery, ::windows::core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistQuery { fn eq(&self, other: &Self) -> bool { @@ -10140,7 +10140,7 @@ impl IPrivateDispatch { (::windows::core::Vtable::vtable(self).ADSIInvoke)(::windows::core::Vtable::as_raw(self), dispidmember, riid, lcid, wflags, pdispparams, pvarresult, pexcepinfo, puargerr).ok() } } -::windows::core::interface_hierarchy!(IPrivateDispatch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrivateDispatch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrivateDispatch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10190,7 +10190,7 @@ impl IPrivateUnknown { (::windows::core::Vtable::vtable(self).ADSIReleaseObject)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrivateUnknown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrivateUnknown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrivateUnknown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10249,7 +10249,7 @@ impl IQueryForm { (::windows::core::Vtable::vtable(self).AddPages)(::windows::core::Vtable::as_raw(self), paddpagesproc, lparam.into()).ok() } } -::windows::core::interface_hierarchy!(IQueryForm, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryForm, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryForm { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs index 7a00232437..9c4c252144 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs @@ -31,7 +31,7 @@ impl AsyncIBackgroundCopyCallback { (::windows::core::Vtable::vtable(self).Finish_JobModification)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIBackgroundCopyCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIBackgroundCopyCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIBackgroundCopyCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -87,7 +87,7 @@ impl IBITSExtensionSetup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBITSExtensionSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IBITSExtensionSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBITSExtensionSetup { fn eq(&self, other: &Self) -> bool { @@ -140,7 +140,7 @@ impl IBITSExtensionSetupFactory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBITSExtensionSetupFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IBITSExtensionSetupFactory, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBITSExtensionSetupFactory { fn eq(&self, other: &Self) -> bool { @@ -203,7 +203,7 @@ impl IBackgroundCopyCallback { (::windows::core::Vtable::vtable(self).JobModification)(::windows::core::Vtable::as_raw(self), pjob.into().abi(), dwreserved).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -260,7 +260,7 @@ impl IBackgroundCopyCallback1 { (::windows::core::Vtable::vtable(self).OnProgressEx)(::windows::core::Vtable::as_raw(self), progresstype, pgroup.into().abi(), pjob.into().abi(), dwfileindex, dwprogressvalue, pbyte.len() as _, ::core::mem::transmute(pbyte.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyCallback1, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyCallback1, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyCallback1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -322,7 +322,7 @@ impl IBackgroundCopyCallback2 { (::windows::core::Vtable::vtable(self).FileTransferred)(::windows::core::Vtable::as_raw(self), pjob.into().abi(), pfile.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyCallback2, ::windows::core::IUnknown, IBackgroundCopyCallback); +::windows::imp::interface_hierarchy!(IBackgroundCopyCallback2, ::windows::core::IUnknown, IBackgroundCopyCallback); impl ::core::cmp::PartialEq for IBackgroundCopyCallback2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -389,7 +389,7 @@ impl IBackgroundCopyCallback3 { (::windows::core::Vtable::vtable(self).FileRangesTransferred)(::windows::core::Vtable::as_raw(self), job.into().abi(), file.into().abi(), ranges.len() as _, ::core::mem::transmute(ranges.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyCallback3, ::windows::core::IUnknown, IBackgroundCopyCallback, IBackgroundCopyCallback2); +::windows::imp::interface_hierarchy!(IBackgroundCopyCallback3, ::windows::core::IUnknown, IBackgroundCopyCallback, IBackgroundCopyCallback2); impl ::core::cmp::PartialEq for IBackgroundCopyCallback3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -442,7 +442,7 @@ impl IBackgroundCopyError { (::windows::core::Vtable::vtable(self).GetProtocol)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -493,7 +493,7 @@ impl IBackgroundCopyFile { (::windows::core::Vtable::vtable(self).GetProgress)(::windows::core::Vtable::as_raw(self), pval).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyFile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyFile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyFile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -554,7 +554,7 @@ impl IBackgroundCopyFile2 { (::windows::core::Vtable::vtable(self).SetRemoteName)(::windows::core::Vtable::as_raw(self), val.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyFile2, ::windows::core::IUnknown, IBackgroundCopyFile); +::windows::imp::interface_hierarchy!(IBackgroundCopyFile2, ::windows::core::IUnknown, IBackgroundCopyFile); impl ::core::cmp::PartialEq for IBackgroundCopyFile2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -635,7 +635,7 @@ impl IBackgroundCopyFile3 { (::windows::core::Vtable::vtable(self).IsDownloadedFromPeer)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyFile3, ::windows::core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2); +::windows::imp::interface_hierarchy!(IBackgroundCopyFile3, ::windows::core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2); impl ::core::cmp::PartialEq for IBackgroundCopyFile3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -730,7 +730,7 @@ impl IBackgroundCopyFile4 { (::windows::core::Vtable::vtable(self).GetPeerDownloadStats)(::windows::core::Vtable::as_raw(self), pfromorigin, pfrompeers).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyFile4, ::windows::core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3); +::windows::imp::interface_hierarchy!(IBackgroundCopyFile4, ::windows::core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3); impl ::core::cmp::PartialEq for IBackgroundCopyFile4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -820,7 +820,7 @@ impl IBackgroundCopyFile5 { (::windows::core::Vtable::vtable(self).GetProperty)(::windows::core::Vtable::as_raw(self), propertyid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyFile5, ::windows::core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4); +::windows::imp::interface_hierarchy!(IBackgroundCopyFile5, ::windows::core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4); impl ::core::cmp::PartialEq for IBackgroundCopyFile5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -920,7 +920,7 @@ impl IBackgroundCopyFile6 { (::windows::core::Vtable::vtable(self).GetFilledFileRanges)(::windows::core::Vtable::as_raw(self), rangecount, ranges).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyFile6, ::windows::core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4, IBackgroundCopyFile5); +::windows::imp::interface_hierarchy!(IBackgroundCopyFile6, ::windows::core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4, IBackgroundCopyFile5); impl ::core::cmp::PartialEq for IBackgroundCopyFile6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1016,7 +1016,7 @@ impl IBackgroundCopyGroup { (::windows::core::Vtable::vtable(self).SetNotificationPointer)(::windows::core::Vtable::as_raw(self), iid, punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1199,7 +1199,7 @@ impl IBackgroundCopyJob { (::windows::core::Vtable::vtable(self).TakeOwnership)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyJob, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyJob, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyJob { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1295,7 +1295,7 @@ impl IBackgroundCopyJob1 { (::windows::core::Vtable::vtable(self).JobID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyJob1, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyJob1, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyJob1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1497,7 +1497,7 @@ impl IBackgroundCopyJob2 { (::windows::core::Vtable::vtable(self).RemoveCredentials)(::windows::core::Vtable::as_raw(self), target, scheme).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyJob2, ::windows::core::IUnknown, IBackgroundCopyJob); +::windows::imp::interface_hierarchy!(IBackgroundCopyJob2, ::windows::core::IUnknown, IBackgroundCopyJob); impl ::core::cmp::PartialEq for IBackgroundCopyJob2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1720,7 +1720,7 @@ impl IBackgroundCopyJob3 { (::windows::core::Vtable::vtable(self).GetFileACLFlags)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyJob3, ::windows::core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2); +::windows::imp::interface_hierarchy!(IBackgroundCopyJob3, ::windows::core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2); impl ::core::cmp::PartialEq for IBackgroundCopyJob3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1963,7 +1963,7 @@ impl IBackgroundCopyJob4 { (::windows::core::Vtable::vtable(self).GetMaximumDownloadTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyJob4, ::windows::core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3); +::windows::imp::interface_hierarchy!(IBackgroundCopyJob4, ::windows::core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3); impl ::core::cmp::PartialEq for IBackgroundCopyJob4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2222,7 +2222,7 @@ impl IBackgroundCopyJob5 { (::windows::core::Vtable::vtable(self).GetProperty)(::windows::core::Vtable::as_raw(self), propertyid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyJob5, ::windows::core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3, IBackgroundCopyJob4); +::windows::imp::interface_hierarchy!(IBackgroundCopyJob5, ::windows::core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3, IBackgroundCopyJob4); impl ::core::cmp::PartialEq for IBackgroundCopyJob5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2299,7 +2299,7 @@ impl IBackgroundCopyJobHttpOptions { (::windows::core::Vtable::vtable(self).GetSecurityFlags)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyJobHttpOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyJobHttpOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2386,7 +2386,7 @@ impl IBackgroundCopyJobHttpOptions2 { (::windows::core::Vtable::vtable(self).GetHttpMethod)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyJobHttpOptions2, ::windows::core::IUnknown, IBackgroundCopyJobHttpOptions); +::windows::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions2, ::windows::core::IUnknown, IBackgroundCopyJobHttpOptions); impl ::core::cmp::PartialEq for IBackgroundCopyJobHttpOptions2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2476,7 +2476,7 @@ impl IBackgroundCopyJobHttpOptions3 { (::windows::core::Vtable::vtable(self).MakeCustomHeadersWriteOnly)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyJobHttpOptions3, ::windows::core::IUnknown, IBackgroundCopyJobHttpOptions, IBackgroundCopyJobHttpOptions2); +::windows::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions3, ::windows::core::IUnknown, IBackgroundCopyJobHttpOptions, IBackgroundCopyJobHttpOptions2); impl ::core::cmp::PartialEq for IBackgroundCopyJobHttpOptions3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2529,7 +2529,7 @@ impl IBackgroundCopyManager { (::windows::core::Vtable::vtable(self).GetErrorDescription)(::windows::core::Vtable::as_raw(self), hresult, languageid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2578,7 +2578,7 @@ impl IBackgroundCopyQMgr { (::windows::core::Vtable::vtable(self).EnumGroups)(::windows::core::Vtable::as_raw(self), dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBackgroundCopyQMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyQMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyQMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2621,7 +2621,7 @@ impl IBackgroundCopyServerCertificateValidationCallback { (::windows::core::Vtable::vtable(self).ValidateServerCertificate)(::windows::core::Vtable::as_raw(self), job.into().abi(), file.into().abi(), certdata.len() as _, ::core::mem::transmute(certdata.as_ptr()), certencodingtype, certstoredata.len() as _, ::core::mem::transmute(certstoredata.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IBackgroundCopyServerCertificateValidationCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBackgroundCopyServerCertificateValidationCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBackgroundCopyServerCertificateValidationCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2671,7 +2671,7 @@ impl IBitsPeer { (::windows::core::Vtable::vtable(self).IsAvailable)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBitsPeer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBitsPeer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBitsPeer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2764,7 +2764,7 @@ impl IBitsPeerCacheAdministration { (::windows::core::Vtable::vtable(self).DiscoverPeers)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBitsPeerCacheAdministration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBitsPeerCacheAdministration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBitsPeerCacheAdministration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2841,7 +2841,7 @@ impl IBitsPeerCacheRecord { (::windows::core::Vtable::vtable(self).GetFileRanges)(::windows::core::Vtable::as_raw(self), prangecount, ppranges).ok() } } -::windows::core::interface_hierarchy!(IBitsPeerCacheRecord, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBitsPeerCacheRecord, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBitsPeerCacheRecord { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2904,7 +2904,7 @@ impl IBitsTokenOptions { (::windows::core::Vtable::vtable(self).GetHelperTokenSid)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBitsTokenOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBitsTokenOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBitsTokenOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2959,7 +2959,7 @@ impl IEnumBackgroundCopyFiles { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumBackgroundCopyFiles, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumBackgroundCopyFiles, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumBackgroundCopyFiles { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3014,7 +3014,7 @@ impl IEnumBackgroundCopyGroups { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumBackgroundCopyGroups, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumBackgroundCopyGroups, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumBackgroundCopyGroups { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3069,7 +3069,7 @@ impl IEnumBackgroundCopyJobs { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumBackgroundCopyJobs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumBackgroundCopyJobs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumBackgroundCopyJobs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3124,7 +3124,7 @@ impl IEnumBackgroundCopyJobs1 { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumBackgroundCopyJobs1, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumBackgroundCopyJobs1, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumBackgroundCopyJobs1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3179,7 +3179,7 @@ impl IEnumBitsPeerCacheRecords { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumBitsPeerCacheRecords, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumBitsPeerCacheRecords, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumBitsPeerCacheRecords { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3234,7 +3234,7 @@ impl IEnumBitsPeers { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumBitsPeers, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumBitsPeers, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumBitsPeers { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs index 08aab06b57..a9fdec9f11 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -1,19 +1,19 @@ #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn AddClusterGroupDependency(hdependentgroup: *const _HGROUP, hprovidergroup: *const _HGROUP) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn AddClusterGroupDependency ( hdependentgroup : *const _HGROUP , hprovidergroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddClusterGroupDependency ( hdependentgroup : *const _HGROUP , hprovidergroup : *const _HGROUP ) -> u32 ); AddClusterGroupDependency(hdependentgroup, hprovidergroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn AddClusterGroupSetDependency(hdependentgroupset: *const _HGROUPSET, hprovidergroupset: *const _HGROUPSET) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn AddClusterGroupSetDependency ( hdependentgroupset : *const _HGROUPSET , hprovidergroupset : *const _HGROUPSET ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddClusterGroupSetDependency ( hdependentgroupset : *const _HGROUPSET , hprovidergroupset : *const _HGROUPSET ) -> u32 ); AddClusterGroupSetDependency(hdependentgroupset, hprovidergroupset) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn AddClusterGroupToGroupSetDependency(hdependentgroup: *const _HGROUP, hprovidergroupset: *const _HGROUPSET) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn AddClusterGroupToGroupSetDependency ( hdependentgroup : *const _HGROUP , hprovidergroupset : *const _HGROUPSET ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddClusterGroupToGroupSetDependency ( hdependentgroup : *const _HGROUP , hprovidergroupset : *const _HGROUPSET ) -> u32 ); AddClusterGroupToGroupSetDependency(hdependentgroup, hprovidergroupset) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -23,7 +23,7 @@ pub unsafe fn AddClusterNode(hcluster: *const _HCLUSTER, lpsznodename: P0, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn AddClusterNode ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> *mut _HNODE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddClusterNode ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> *mut _HNODE ); AddClusterNode(hcluster, lpsznodename.into().abi(), pfnprogresscallback, ::core::mem::transmute(pvcallbackarg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -33,19 +33,19 @@ pub unsafe fn AddClusterNodeEx(hcluster: *const _HCLUSTER, lpsznodename: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn AddClusterNodeEx ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , dwflags : u32 , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> *mut _HNODE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddClusterNodeEx ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , dwflags : u32 , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> *mut _HNODE ); AddClusterNodeEx(hcluster, lpsznodename.into().abi(), dwflags, pfnprogresscallback, ::core::mem::transmute(pvcallbackarg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn AddClusterResourceDependency(hresource: *const _HRESOURCE, hdependson: *const _HRESOURCE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn AddClusterResourceDependency ( hresource : *const _HRESOURCE , hdependson : *const _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddClusterResourceDependency ( hresource : *const _HRESOURCE , hdependson : *const _HRESOURCE ) -> u32 ); AddClusterResourceDependency(hresource, hdependson) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn AddClusterResourceNode(hresource: *const _HRESOURCE, hnode: *const _HNODE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn AddClusterResourceNode ( hresource : *const _HRESOURCE , hnode : *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddClusterResourceNode ( hresource : *const _HRESOURCE , hnode : *const _HNODE ) -> u32 ); AddClusterResourceNode(hresource, hnode) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -57,7 +57,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn AddClusterStorageNode ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void , lpszclusterstoragenodedescription : :: windows::core::PCWSTR , lpszclusterstoragenodelocation : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddClusterStorageNode ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void , lpszclusterstoragenodedescription : :: windows::core::PCWSTR , lpszclusterstoragenodelocation : :: windows::core::PCWSTR ) -> u32 ); AddClusterStorageNode(hcluster, lpsznodename.into().abi(), pfnprogresscallback, ::core::mem::transmute(pvcallbackarg.unwrap_or(::std::ptr::null())), lpszclusterstoragenodedescription.into().abi(), lpszclusterstoragenodelocation.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -67,13 +67,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn AddCrossClusterGroupSetDependency ( hdependentgroupset : *const _HGROUPSET , lpremoteclustername : :: windows::core::PCWSTR , lpremotegroupsetname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddCrossClusterGroupSetDependency ( hdependentgroupset : *const _HGROUPSET , lpremoteclustername : :: windows::core::PCWSTR , lpremotegroupsetname : :: windows::core::PCWSTR ) -> u32 ); AddCrossClusterGroupSetDependency(hdependentgroupset, lpremoteclustername.into().abi(), lpremotegroupsetname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn AddResourceToClusterSharedVolumes(hresource: *const _HRESOURCE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn AddResourceToClusterSharedVolumes ( hresource : *const _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn AddResourceToClusterSharedVolumes ( hresource : *const _HRESOURCE ) -> u32 ); AddResourceToClusterSharedVolumes(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -82,106 +82,106 @@ pub unsafe fn BackupClusterDatabase(hcluster: *const _HCLUSTER, lpszpathname where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn BackupClusterDatabase ( hcluster : *const _HCLUSTER , lpszpathname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn BackupClusterDatabase ( hcluster : *const _HCLUSTER , lpszpathname : :: windows::core::PCWSTR ) -> u32 ); BackupClusterDatabase(hcluster, lpszpathname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CanResourceBeDependent(hresource: *const _HRESOURCE, hresourcedependent: *const _HRESOURCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CanResourceBeDependent ( hresource : *const _HRESOURCE , hresourcedependent : *const _HRESOURCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CanResourceBeDependent ( hresource : *const _HRESOURCE , hresourcedependent : *const _HRESOURCE ) -> super::super::Foundation:: BOOL ); CanResourceBeDependent(hresource, hresourcedependent) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn CancelClusterGroupOperation(hgroup: *const _HGROUP, dwcancelflags_reserved: u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn CancelClusterGroupOperation ( hgroup : *const _HGROUP , dwcancelflags_reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CancelClusterGroupOperation ( hgroup : *const _HGROUP , dwcancelflags_reserved : u32 ) -> u32 ); CancelClusterGroupOperation(hgroup, dwcancelflags_reserved) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ChangeClusterResourceGroup(hresource: *const _HRESOURCE, hgroup: *const _HGROUP) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ChangeClusterResourceGroup ( hresource : *const _HRESOURCE , hgroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ChangeClusterResourceGroup ( hresource : *const _HRESOURCE , hgroup : *const _HGROUP ) -> u32 ); ChangeClusterResourceGroup(hresource, hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ChangeClusterResourceGroupEx(hresource: *const _HRESOURCE, hgroup: *const _HGROUP, flags: u64) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ChangeClusterResourceGroupEx ( hresource : *const _HRESOURCE , hgroup : *const _HGROUP , flags : u64 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ChangeClusterResourceGroupEx ( hresource : *const _HRESOURCE , hgroup : *const _HGROUP , flags : u64 ) -> u32 ); ChangeClusterResourceGroupEx(hresource, hgroup, flags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseCluster(hcluster: *const _HCLUSTER) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CloseCluster ( hcluster : *const _HCLUSTER ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CloseCluster ( hcluster : *const _HCLUSTER ) -> super::super::Foundation:: BOOL ); CloseCluster(hcluster) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn CloseClusterCryptProvider(hcluscryptprovider: *const _HCLUSCRYPTPROVIDER) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn CloseClusterCryptProvider ( hcluscryptprovider : *const _HCLUSCRYPTPROVIDER ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn CloseClusterCryptProvider ( hcluscryptprovider : *const _HCLUSCRYPTPROVIDER ) -> u32 ); CloseClusterCryptProvider(hcluscryptprovider) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseClusterGroup(hgroup: *const _HGROUP) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CloseClusterGroup ( hgroup : *const _HGROUP ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CloseClusterGroup ( hgroup : *const _HGROUP ) -> super::super::Foundation:: BOOL ); CloseClusterGroup(hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseClusterGroupSet(hgroupset: *const _HGROUPSET) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CloseClusterGroupSet ( hgroupset : *const _HGROUPSET ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CloseClusterGroupSet ( hgroupset : *const _HGROUPSET ) -> super::super::Foundation:: BOOL ); CloseClusterGroupSet(hgroupset) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseClusterNetInterface(hnetinterface: *const _HNETINTERFACE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CloseClusterNetInterface ( hnetinterface : *const _HNETINTERFACE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CloseClusterNetInterface ( hnetinterface : *const _HNETINTERFACE ) -> super::super::Foundation:: BOOL ); CloseClusterNetInterface(hnetinterface) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseClusterNetwork(hnetwork: *const _HNETWORK) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CloseClusterNetwork ( hnetwork : *const _HNETWORK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CloseClusterNetwork ( hnetwork : *const _HNETWORK ) -> super::super::Foundation:: BOOL ); CloseClusterNetwork(hnetwork) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseClusterNode(hnode: *const _HNODE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CloseClusterNode ( hnode : *const _HNODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CloseClusterNode ( hnode : *const _HNODE ) -> super::super::Foundation:: BOOL ); CloseClusterNode(hnode) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseClusterNotifyPort(hchange: *const _HCHANGE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CloseClusterNotifyPort ( hchange : *const _HCHANGE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CloseClusterNotifyPort ( hchange : *const _HCHANGE ) -> super::super::Foundation:: BOOL ); CloseClusterNotifyPort(hchange) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseClusterResource(hresource: *const _HRESOURCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn CloseClusterResource ( hresource : *const _HRESOURCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CloseClusterResource ( hresource : *const _HRESOURCE ) -> super::super::Foundation:: BOOL ); CloseClusterResource(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusAddClusterHealthFault(hcluster: *const _HCLUSTER, failure: *const CLUSTER_HEALTH_FAULT, param2: u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ClusAddClusterHealthFault ( hcluster : *const _HCLUSTER , failure : *const CLUSTER_HEALTH_FAULT , param2 : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusAddClusterHealthFault ( hcluster : *const _HCLUSTER , failure : *const CLUSTER_HEALTH_FAULT , param2 : u32 ) -> u32 ); ClusAddClusterHealthFault(hcluster, failure, param2) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusGetClusterHealthFaults(hcluster: *const _HCLUSTER, objects: *mut CLUSTER_HEALTH_FAULT_ARRAY, flags: u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ClusGetClusterHealthFaults ( hcluster : *const _HCLUSTER , objects : *mut CLUSTER_HEALTH_FAULT_ARRAY , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusGetClusterHealthFaults ( hcluster : *const _HCLUSTER , objects : *mut CLUSTER_HEALTH_FAULT_ARRAY , flags : u32 ) -> u32 ); ClusGetClusterHealthFaults(hcluster, objects, flags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -190,28 +190,28 @@ pub unsafe fn ClusRemoveClusterHealthFault(hcluster: *const _HCLUSTER, id: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ClusRemoveClusterHealthFault ( hcluster : *const _HCLUSTER , id : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusRemoveClusterHealthFault ( hcluster : *const _HCLUSTER , id : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); ClusRemoveClusterHealthFault(hcluster, id.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ClusWorkerCheckTerminate(lpworker: *mut CLUS_WORKER) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "resutils.dll""system" fn ClusWorkerCheckTerminate ( lpworker : *mut CLUS_WORKER ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusWorkerCheckTerminate ( lpworker : *mut CLUS_WORKER ) -> super::super::Foundation:: BOOL ); ClusWorkerCheckTerminate(lpworker) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ClusWorkerCreate(lpworker: *mut CLUS_WORKER, lpstartaddress: PWORKER_START_ROUTINE, lpparameter: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ClusWorkerCreate ( lpworker : *mut CLUS_WORKER , lpstartaddress : PWORKER_START_ROUTINE , lpparameter : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusWorkerCreate ( lpworker : *mut CLUS_WORKER , lpstartaddress : PWORKER_START_ROUTINE , lpparameter : *mut ::core::ffi::c_void ) -> u32 ); ClusWorkerCreate(lpworker, lpstartaddress, lpparameter) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ClusWorkerTerminate(lpworker: *const CLUS_WORKER) { - ::windows::core::link ! ( "resutils.dll""system" fn ClusWorkerTerminate ( lpworker : *const CLUS_WORKER ) -> ( ) ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusWorkerTerminate ( lpworker : *const CLUS_WORKER ) -> ( ) ); ClusWorkerTerminate(lpworker) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -221,7 +221,7 @@ pub unsafe fn ClusWorkerTerminateEx(clusworker: *mut CLUS_WORKER, timeoutinm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ClusWorkerTerminateEx ( clusworker : *mut CLUS_WORKER , timeoutinmilliseconds : u32 , waitonly : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusWorkerTerminateEx ( clusworker : *mut CLUS_WORKER , timeoutinmilliseconds : u32 , waitonly : super::super::Foundation:: BOOL ) -> u32 ); ClusWorkerTerminateEx(clusworker, timeoutinmilliseconds, waitonly.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -231,7 +231,7 @@ pub unsafe fn ClusWorkersTerminate(clusworkers: &mut [*mut CLUS_WORKER], tim where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ClusWorkersTerminate ( clusworkers : *mut *mut CLUS_WORKER , clusworkerscount : usize , timeoutinmilliseconds : u32 , waitonly : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusWorkersTerminate ( clusworkers : *mut *mut CLUS_WORKER , clusworkerscount : usize , timeoutinmilliseconds : u32 , waitonly : super::super::Foundation:: BOOL ) -> u32 ); ClusWorkersTerminate(::core::mem::transmute(clusworkers.as_ptr()), clusworkers.len() as _, timeoutinmilliseconds, waitonly.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -240,19 +240,19 @@ pub unsafe fn ClusterAddGroupToAffinityRule(hcluster: *const _HCLUSTER, rule where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterAddGroupToAffinityRule ( hcluster : *const _HCLUSTER , rulename : :: windows::core::PCWSTR , hgroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterAddGroupToAffinityRule ( hcluster : *const _HCLUSTER , rulename : :: windows::core::PCWSTR , hgroup : *const _HGROUP ) -> u32 ); ClusterAddGroupToAffinityRule(hcluster, rulename.into().abi(), hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterAddGroupToGroupSet(hgroupset: *const _HGROUPSET, hgroup: *const _HGROUP) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterAddGroupToGroupSet ( hgroupset : *const _HGROUPSET , hgroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterAddGroupToGroupSet ( hgroupset : *const _HGROUPSET , hgroup : *const _HGROUP ) -> u32 ); ClusterAddGroupToGroupSet(hgroupset, hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterAddGroupToGroupSetWithDomains(hgroupset: *const _HGROUPSET, hgroup: *const _HGROUP, faultdomain: u32, updatedomain: u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterAddGroupToGroupSetWithDomains ( hgroupset : *const _HGROUPSET , hgroup : *const _HGROUP , faultdomain : u32 , updatedomain : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterAddGroupToGroupSetWithDomains ( hgroupset : *const _HGROUPSET , hgroup : *const _HGROUP , faultdomain : u32 , updatedomain : u32 ) -> u32 ); ClusterAddGroupToGroupSetWithDomains(hgroupset, hgroup, faultdomain, updatedomain) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -261,7 +261,7 @@ pub unsafe fn ClusterAffinityRuleControl(hcluster: *const _HCLUSTER, affinit where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterAffinityRuleControl ( hcluster : *const _HCLUSTER , affinityrulename : :: windows::core::PCWSTR , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterAffinityRuleControl ( hcluster : *const _HCLUSTER , affinityrulename : :: windows::core::PCWSTR , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterAffinityRuleControl(hcluster, affinityrulename.into().abi(), ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), cbinbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), cboutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -270,25 +270,25 @@ pub unsafe fn ClusterClearBackupStateForSharedVolume(lpszvolumepathname: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ClusterClearBackupStateForSharedVolume ( lpszvolumepathname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusterClearBackupStateForSharedVolume ( lpszvolumepathname : :: windows::core::PCWSTR ) -> u32 ); ClusterClearBackupStateForSharedVolume(lpszvolumepathname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterCloseEnum(henum: *const _HCLUSENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterCloseEnum ( henum : *const _HCLUSENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterCloseEnum ( henum : *const _HCLUSENUM ) -> u32 ); ClusterCloseEnum(henum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterCloseEnumEx(hclusterenum: *const _HCLUSENUMEX) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterCloseEnumEx ( hclusterenum : *const _HCLUSENUMEX ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterCloseEnumEx ( hclusterenum : *const _HCLUSENUMEX ) -> u32 ); ClusterCloseEnumEx(hclusterenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterControl(hcluster: *const _HCLUSTER, hhostnode: ::core::option::Option<*const _HNODE>, dwcontrolcode: u32, lpinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, ninbuffersize: u32, lpoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, noutbuffersize: u32, lpbytesreturned: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterControl ( hcluster : *const _HCLUSTER , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterControl ( hcluster : *const _HCLUSTER , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterControl(hcluster, ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -297,43 +297,43 @@ pub unsafe fn ClusterCreateAffinityRule(hcluster: *const _HCLUSTER, rulename where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterCreateAffinityRule ( hcluster : *const _HCLUSTER , rulename : :: windows::core::PCWSTR , ruletype : CLUS_AFFINITY_RULE_TYPE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterCreateAffinityRule ( hcluster : *const _HCLUSTER , rulename : :: windows::core::PCWSTR , ruletype : CLUS_AFFINITY_RULE_TYPE ) -> u32 ); ClusterCreateAffinityRule(hcluster, rulename.into().abi(), ruletype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterDecrypt(hcluscryptprovider: *const _HCLUSCRYPTPROVIDER, pcryptinput: *const u8, cbcryptinput: u32, ppcryptoutput: *mut *mut u8, pcbcryptoutput: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ClusterDecrypt ( hcluscryptprovider : *const _HCLUSCRYPTPROVIDER , pcryptinput : *const u8 , cbcryptinput : u32 , ppcryptoutput : *mut *mut u8 , pcbcryptoutput : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusterDecrypt ( hcluscryptprovider : *const _HCLUSCRYPTPROVIDER , pcryptinput : *const u8 , cbcryptinput : u32 , ppcryptoutput : *mut *mut u8 , pcbcryptoutput : *mut u32 ) -> u32 ); ClusterDecrypt(hcluscryptprovider, pcryptinput, cbcryptinput, ppcryptoutput, pcbcryptoutput) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterEncrypt(hcluscryptprovider: *const _HCLUSCRYPTPROVIDER, pdata: &[u8], ppdata: *mut *mut u8, pcbdata: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ClusterEncrypt ( hcluscryptprovider : *const _HCLUSCRYPTPROVIDER , pdata : *const u8 , cbdata : u32 , ppdata : *mut *mut u8 , pcbdata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusterEncrypt ( hcluscryptprovider : *const _HCLUSCRYPTPROVIDER , pdata : *const u8 , cbdata : u32 , ppdata : *mut *mut u8 , pcbdata : *mut u32 ) -> u32 ); ClusterEncrypt(hcluscryptprovider, ::core::mem::transmute(pdata.as_ptr()), pdata.len() as _, ppdata, pcbdata) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterEnum(henum: *const _HCLUSENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterEnum ( henum : *const _HCLUSENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterEnum ( henum : *const _HCLUSENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); ClusterEnum(henum, dwindex, lpdwtype, ::core::mem::transmute(lpszname), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterEnumEx(hclusterenum: *const _HCLUSENUMEX, dwindex: u32, pitem: *mut CLUSTER_ENUM_ITEM, cbitem: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterEnumEx ( hclusterenum : *const _HCLUSENUMEX , dwindex : u32 , pitem : *mut CLUSTER_ENUM_ITEM , cbitem : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterEnumEx ( hclusterenum : *const _HCLUSENUMEX , dwindex : u32 , pitem : *mut CLUSTER_ENUM_ITEM , cbitem : *mut u32 ) -> u32 ); ClusterEnumEx(hclusterenum, dwindex, pitem, cbitem) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGetEnumCount(henum: *const _HCLUSENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGetEnumCount ( henum : *const _HCLUSENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGetEnumCount ( henum : *const _HCLUSENUM ) -> u32 ); ClusterGetEnumCount(henum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGetEnumCountEx(hclusterenum: *const _HCLUSENUMEX) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGetEnumCountEx ( hclusterenum : *const _HCLUSENUMEX ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGetEnumCountEx ( hclusterenum : *const _HCLUSENUMEX ) -> u32 ); ClusterGetEnumCountEx(hclusterenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -343,7 +343,7 @@ pub unsafe fn ClusterGetVolumeNameForVolumeMountPoint(lpszvolumemountpoint: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ClusterGetVolumeNameForVolumeMountPoint ( lpszvolumemountpoint : :: windows::core::PCWSTR , lpszvolumename : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusterGetVolumeNameForVolumeMountPoint ( lpszvolumemountpoint : :: windows::core::PCWSTR , lpszvolumename : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); ClusterGetVolumeNameForVolumeMountPoint(lpszvolumemountpoint.into().abi(), ::core::mem::transmute(lpszvolumename), cchbufferlength) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -353,55 +353,55 @@ pub unsafe fn ClusterGetVolumePathName(lpszfilename: P0, lpszvolumepathname: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ClusterGetVolumePathName ( lpszfilename : :: windows::core::PCWSTR , lpszvolumepathname : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusterGetVolumePathName ( lpszfilename : :: windows::core::PCWSTR , lpszvolumepathname : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); ClusterGetVolumePathName(lpszfilename.into().abi(), ::core::mem::transmute(lpszvolumepathname), cchbufferlength) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupCloseEnum(hgroupenum: *const _HGROUPENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupCloseEnum ( hgroupenum : *const _HGROUPENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupCloseEnum ( hgroupenum : *const _HGROUPENUM ) -> u32 ); ClusterGroupCloseEnum(hgroupenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupCloseEnumEx(hgroupenumex: *const _HGROUPENUMEX) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupCloseEnumEx ( hgroupenumex : *const _HGROUPENUMEX ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupCloseEnumEx ( hgroupenumex : *const _HGROUPENUMEX ) -> u32 ); ClusterGroupCloseEnumEx(hgroupenumex) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupControl(hgroup: *const _HGROUP, hhostnode: ::core::option::Option<*const _HNODE>, dwcontrolcode: u32, lpinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, ninbuffersize: u32, lpoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, noutbuffersize: u32, lpbytesreturned: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupControl ( hgroup : *const _HGROUP , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupControl ( hgroup : *const _HGROUP , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterGroupControl(hgroup, ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupEnum(hgroupenum: *const _HGROUPENUM, dwindex: u32, lpdwtype: *mut u32, lpszresourcename: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupEnum ( hgroupenum : *const _HGROUPENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszresourcename : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupEnum ( hgroupenum : *const _HGROUPENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszresourcename : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); ClusterGroupEnum(hgroupenum, dwindex, lpdwtype, ::core::mem::transmute(lpszresourcename), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupEnumEx(hgroupenumex: *const _HGROUPENUMEX, dwindex: u32, pitem: *mut CLUSTER_GROUP_ENUM_ITEM, cbitem: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupEnumEx ( hgroupenumex : *const _HGROUPENUMEX , dwindex : u32 , pitem : *mut CLUSTER_GROUP_ENUM_ITEM , cbitem : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupEnumEx ( hgroupenumex : *const _HGROUPENUMEX , dwindex : u32 , pitem : *mut CLUSTER_GROUP_ENUM_ITEM , cbitem : *mut u32 ) -> u32 ); ClusterGroupEnumEx(hgroupenumex, dwindex, pitem, cbitem) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupGetEnumCount(hgroupenum: *const _HGROUPENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupGetEnumCount ( hgroupenum : *const _HGROUPENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupGetEnumCount ( hgroupenum : *const _HGROUPENUM ) -> u32 ); ClusterGroupGetEnumCount(hgroupenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupGetEnumCountEx(hgroupenumex: *const _HGROUPENUMEX) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupGetEnumCountEx ( hgroupenumex : *const _HGROUPENUMEX ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupGetEnumCountEx ( hgroupenumex : *const _HGROUPENUMEX ) -> u32 ); ClusterGroupGetEnumCountEx(hgroupenumex) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupOpenEnum(hgroup: *const _HGROUP, dwtype: u32) -> *mut _HGROUPENUM { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupOpenEnum ( hgroup : *const _HGROUP , dwtype : u32 ) -> *mut _HGROUPENUM ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupOpenEnum ( hgroup : *const _HGROUP , dwtype : u32 ) -> *mut _HGROUPENUM ); ClusterGroupOpenEnum(hgroup, dwtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -411,37 +411,37 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupOpenEnumEx ( hcluster : *const _HCLUSTER , lpszproperties : :: windows::core::PCWSTR , cbproperties : u32 , lpszroproperties : :: windows::core::PCWSTR , cbroproperties : u32 , dwflags : u32 ) -> *mut _HGROUPENUMEX ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupOpenEnumEx ( hcluster : *const _HCLUSTER , lpszproperties : :: windows::core::PCWSTR , cbproperties : u32 , lpszroproperties : :: windows::core::PCWSTR , cbroproperties : u32 , dwflags : u32 ) -> *mut _HGROUPENUMEX ); ClusterGroupOpenEnumEx(hcluster, lpszproperties.into().abi(), cbproperties, lpszroproperties.into().abi(), cbroproperties, dwflags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupSetCloseEnum(hgroupsetenum: *mut _HGROUPSETENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupSetCloseEnum ( hgroupsetenum : *mut _HGROUPSETENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupSetCloseEnum ( hgroupsetenum : *mut _HGROUPSETENUM ) -> u32 ); ClusterGroupSetCloseEnum(hgroupsetenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupSetControl(hgroupset: *const _HGROUPSET, hhostnode: ::core::option::Option<*const _HNODE>, dwcontrolcode: u32, lpinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbinbuffersize: u32, lpoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, cboutbuffersize: u32, lpbytesreturned: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupSetControl ( hgroupset : *const _HGROUPSET , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupSetControl ( hgroupset : *const _HGROUPSET , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterGroupSetControl(hgroupset, ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), cbinbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), cboutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupSetEnum(hgroupsetenum: *const _HGROUPSETENUM, dwindex: u32, lpszname: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupSetEnum ( hgroupsetenum : *const _HGROUPSETENUM , dwindex : u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupSetEnum ( hgroupsetenum : *const _HGROUPSETENUM , dwindex : u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); ClusterGroupSetEnum(hgroupsetenum, dwindex, ::core::mem::transmute(lpszname), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupSetGetEnumCount(hgroupsetenum: *mut _HGROUPSETENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupSetGetEnumCount ( hgroupsetenum : *mut _HGROUPSETENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupSetGetEnumCount ( hgroupsetenum : *mut _HGROUPSETENUM ) -> u32 ); ClusterGroupSetGetEnumCount(hgroupsetenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterGroupSetOpenEnum(hcluster: *mut _HCLUSTER) -> *mut _HGROUPSETENUM { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterGroupSetOpenEnum ( hcluster : *mut _HCLUSTER ) -> *mut _HGROUPSETENUM ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterGroupSetOpenEnum ( hcluster : *mut _HCLUSTER ) -> *mut _HGROUPSETENUM ); ClusterGroupSetOpenEnum(hcluster) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -451,25 +451,25 @@ pub unsafe fn ClusterIsPathOnSharedVolume(lpszpathname: P0) -> super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ClusterIsPathOnSharedVolume ( lpszpathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusterIsPathOnSharedVolume ( lpszpathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ClusterIsPathOnSharedVolume(lpszpathname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNetInterfaceCloseEnum(hnetinterfaceenum: *const _HNETINTERFACEENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetInterfaceCloseEnum ( hnetinterfaceenum : *const _HNETINTERFACEENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetInterfaceCloseEnum ( hnetinterfaceenum : *const _HNETINTERFACEENUM ) -> u32 ); ClusterNetInterfaceCloseEnum(hnetinterfaceenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNetInterfaceControl(hnetinterface: *const _HNETINTERFACE, hhostnode: ::core::option::Option<*const _HNODE>, dwcontrolcode: u32, lpinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, ninbuffersize: u32, lpoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, noutbuffersize: u32, lpbytesreturned: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetInterfaceControl ( hnetinterface : *const _HNETINTERFACE , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetInterfaceControl ( hnetinterface : *const _HNETINTERFACE , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterNetInterfaceControl(hnetinterface, ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNetInterfaceEnum(hnetinterfaceenum: *const _HNETINTERFACEENUM, dwindex: u32, lpszname: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetInterfaceEnum ( hnetinterfaceenum : *const _HNETINTERFACEENUM , dwindex : u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetInterfaceEnum ( hnetinterfaceenum : *const _HNETINTERFACEENUM , dwindex : u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); ClusterNetInterfaceEnum(hnetinterfaceenum, dwindex, ::core::mem::transmute(lpszname), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -479,91 +479,91 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetInterfaceOpenEnum ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , lpsznetworkname : :: windows::core::PCWSTR ) -> *mut _HNETINTERFACEENUM ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetInterfaceOpenEnum ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , lpsznetworkname : :: windows::core::PCWSTR ) -> *mut _HNETINTERFACEENUM ); ClusterNetInterfaceOpenEnum(hcluster, lpsznodename.into().abi(), lpsznetworkname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNetworkCloseEnum(hnetworkenum: *const _HNETWORKENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetworkCloseEnum ( hnetworkenum : *const _HNETWORKENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetworkCloseEnum ( hnetworkenum : *const _HNETWORKENUM ) -> u32 ); ClusterNetworkCloseEnum(hnetworkenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNetworkControl(hnetwork: *const _HNETWORK, hhostnode: ::core::option::Option<*const _HNODE>, dwcontrolcode: u32, lpinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, ninbuffersize: u32, lpoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, noutbuffersize: u32, lpbytesreturned: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetworkControl ( hnetwork : *const _HNETWORK , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetworkControl ( hnetwork : *const _HNETWORK , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterNetworkControl(hnetwork, ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNetworkEnum(hnetworkenum: *const _HNETWORKENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetworkEnum ( hnetworkenum : *const _HNETWORKENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetworkEnum ( hnetworkenum : *const _HNETWORKENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); ClusterNetworkEnum(hnetworkenum, dwindex, lpdwtype, ::core::mem::transmute(lpszname), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNetworkGetEnumCount(hnetworkenum: *const _HNETWORKENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetworkGetEnumCount ( hnetworkenum : *const _HNETWORKENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetworkGetEnumCount ( hnetworkenum : *const _HNETWORKENUM ) -> u32 ); ClusterNetworkGetEnumCount(hnetworkenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNetworkOpenEnum(hnetwork: *const _HNETWORK, dwtype: u32) -> *mut _HNETWORKENUM { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNetworkOpenEnum ( hnetwork : *const _HNETWORK , dwtype : u32 ) -> *mut _HNETWORKENUM ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNetworkOpenEnum ( hnetwork : *const _HNETWORK , dwtype : u32 ) -> *mut _HNETWORKENUM ); ClusterNetworkOpenEnum(hnetwork, dwtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeCloseEnum(hnodeenum: *const _HNODEENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeCloseEnum ( hnodeenum : *const _HNODEENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeCloseEnum ( hnodeenum : *const _HNODEENUM ) -> u32 ); ClusterNodeCloseEnum(hnodeenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeCloseEnumEx(hnodeenum: *const _HNODEENUMEX) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeCloseEnumEx ( hnodeenum : *const _HNODEENUMEX ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeCloseEnumEx ( hnodeenum : *const _HNODEENUMEX ) -> u32 ); ClusterNodeCloseEnumEx(hnodeenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeControl(hnode: *const _HNODE, hhostnode: ::core::option::Option<*const _HNODE>, dwcontrolcode: u32, lpinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, ninbuffersize: u32, lpoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, noutbuffersize: u32, lpbytesreturned: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeControl ( hnode : *const _HNODE , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeControl ( hnode : *const _HNODE , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterNodeControl(hnode, ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeEnum(hnodeenum: *const _HNODEENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeEnum ( hnodeenum : *const _HNODEENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeEnum ( hnodeenum : *const _HNODEENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); ClusterNodeEnum(hnodeenum, dwindex, lpdwtype, ::core::mem::transmute(lpszname), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeEnumEx(hnodeenum: *const _HNODEENUMEX, dwindex: u32, pitem: *mut CLUSTER_ENUM_ITEM, cbitem: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeEnumEx ( hnodeenum : *const _HNODEENUMEX , dwindex : u32 , pitem : *mut CLUSTER_ENUM_ITEM , cbitem : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeEnumEx ( hnodeenum : *const _HNODEENUMEX , dwindex : u32 , pitem : *mut CLUSTER_ENUM_ITEM , cbitem : *mut u32 ) -> u32 ); ClusterNodeEnumEx(hnodeenum, dwindex, pitem, cbitem) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeGetEnumCount(hnodeenum: *const _HNODEENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeGetEnumCount ( hnodeenum : *const _HNODEENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeGetEnumCount ( hnodeenum : *const _HNODEENUM ) -> u32 ); ClusterNodeGetEnumCount(hnodeenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeGetEnumCountEx(hnodeenum: *const _HNODEENUMEX) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeGetEnumCountEx ( hnodeenum : *const _HNODEENUMEX ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeGetEnumCountEx ( hnodeenum : *const _HNODEENUMEX ) -> u32 ); ClusterNodeGetEnumCountEx(hnodeenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeOpenEnum(hnode: *const _HNODE, dwtype: u32) -> *mut _HNODEENUM { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeOpenEnum ( hnode : *const _HNODE , dwtype : u32 ) -> *mut _HNODEENUM ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeOpenEnum ( hnode : *const _HNODE , dwtype : u32 ) -> *mut _HNODEENUM ); ClusterNodeOpenEnum(hnode, dwtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterNodeOpenEnumEx(hnode: *const _HNODE, dwtype: u32, poptions: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut _HNODEENUMEX { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeOpenEnumEx ( hnode : *const _HNODE , dwtype : u32 , poptions : *const ::core::ffi::c_void ) -> *mut _HNODEENUMEX ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeOpenEnumEx ( hnode : *const _HNODE , dwtype : u32 , poptions : *const ::core::ffi::c_void ) -> *mut _HNODEENUMEX ); ClusterNodeOpenEnumEx(hnode, dwtype, ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -573,19 +573,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterNodeReplacement ( hcluster : *const _HCLUSTER , lpsznodenamecurrent : :: windows::core::PCWSTR , lpsznodenamenew : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterNodeReplacement ( hcluster : *const _HCLUSTER , lpsznodenamecurrent : :: windows::core::PCWSTR , lpsznodenamenew : :: windows::core::PCWSTR ) -> u32 ); ClusterNodeReplacement(hcluster, lpsznodenamecurrent.into().abi(), lpsznodenamenew.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterOpenEnum(hcluster: *const _HCLUSTER, dwtype: u32) -> *mut _HCLUSENUM { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterOpenEnum ( hcluster : *const _HCLUSTER , dwtype : u32 ) -> *mut _HCLUSENUM ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterOpenEnum ( hcluster : *const _HCLUSTER , dwtype : u32 ) -> *mut _HCLUSENUM ); ClusterOpenEnum(hcluster, dwtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterOpenEnumEx(hcluster: *const _HCLUSTER, dwtype: u32, poptions: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut _HCLUSENUMEX { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterOpenEnumEx ( hcluster : *const _HCLUSTER , dwtype : u32 , poptions : *const ::core::ffi::c_void ) -> *mut _HCLUSENUMEX ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterOpenEnumEx ( hcluster : *const _HCLUSTER , dwtype : u32 , poptions : *const ::core::ffi::c_void ) -> *mut _HCLUSENUMEX ); ClusterOpenEnumEx(hcluster, dwtype, ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -594,7 +594,7 @@ pub unsafe fn ClusterPrepareSharedVolumeForBackup(lpszfilename: P0, lpszvolu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ClusterPrepareSharedVolumeForBackup ( lpszfilename : :: windows::core::PCWSTR , lpszvolumepathname : :: windows::core::PWSTR , lpcchvolumepathname : *mut u32 , lpszvolumename : :: windows::core::PWSTR , lpcchvolumename : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ClusterPrepareSharedVolumeForBackup ( lpszfilename : :: windows::core::PCWSTR , lpszvolumepathname : :: windows::core::PWSTR , lpcchvolumepathname : *mut u32 , lpszvolumename : :: windows::core::PWSTR , lpcchvolumename : *mut u32 ) -> u32 ); ClusterPrepareSharedVolumeForBackup(lpszfilename.into().abi(), ::core::mem::transmute(lpszvolumepathname), lpcchvolumepathname, ::core::mem::transmute(lpszvolumename), lpcchvolumename) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -603,19 +603,19 @@ pub unsafe fn ClusterRegBatchAddCommand(hregbatch: *const _HREGBATCH, dwcomm where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegBatchAddCommand ( hregbatch : *const _HREGBATCH , dwcommand : CLUSTER_REG_COMMAND , wzname : :: windows::core::PCWSTR , dwoptions : u32 , lpdata : *const ::core::ffi::c_void , cbdata : u32 ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegBatchAddCommand ( hregbatch : *const _HREGBATCH , dwcommand : CLUSTER_REG_COMMAND , wzname : :: windows::core::PCWSTR , dwoptions : u32 , lpdata : *const ::core::ffi::c_void , cbdata : u32 ) -> i32 ); ClusterRegBatchAddCommand(hregbatch, dwcommand, wzname.into().abi(), dwoptions, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), cbdata) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegBatchCloseNotification(hbatchnotification: *const _HREGBATCHNOTIFICATION) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegBatchCloseNotification ( hbatchnotification : *const _HREGBATCHNOTIFICATION ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegBatchCloseNotification ( hbatchnotification : *const _HREGBATCHNOTIFICATION ) -> i32 ); ClusterRegBatchCloseNotification(hbatchnotification) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegBatchReadCommand(hbatchnotification: *const _HREGBATCHNOTIFICATION, pbatchcommand: *mut CLUSTER_BATCH_COMMAND) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegBatchReadCommand ( hbatchnotification : *const _HREGBATCHNOTIFICATION , pbatchcommand : *mut CLUSTER_BATCH_COMMAND ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegBatchReadCommand ( hbatchnotification : *const _HREGBATCHNOTIFICATION , pbatchcommand : *mut CLUSTER_BATCH_COMMAND ) -> i32 ); ClusterRegBatchReadCommand(hbatchnotification, pbatchcommand) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -625,19 +625,19 @@ pub unsafe fn ClusterRegCloseBatch(hregbatch: *const _HREGBATCH, bcommit: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCloseBatch ( hregbatch : *const _HREGBATCH , bcommit : super::super::Foundation:: BOOL , failedcommandnumber : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCloseBatch ( hregbatch : *const _HREGBATCH , bcommit : super::super::Foundation:: BOOL , failedcommandnumber : *mut i32 ) -> i32 ); ClusterRegCloseBatch(hregbatch, bcommit.into(), ::core::mem::transmute(failedcommandnumber.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegCloseBatchEx(hregbatch: *const _HREGBATCH, flags: u32, failedcommandnumber: ::core::option::Option<*mut i32>) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCloseBatchEx ( hregbatch : *const _HREGBATCH , flags : u32 , failedcommandnumber : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCloseBatchEx ( hregbatch : *const _HREGBATCH , flags : u32 , failedcommandnumber : *mut i32 ) -> i32 ); ClusterRegCloseBatchEx(hregbatch, flags, ::core::mem::transmute(failedcommandnumber.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegCloseBatchNotifyPort(hbatchnotifyport: *const _HREGBATCHPORT) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCloseBatchNotifyPort ( hbatchnotifyport : *const _HREGBATCHPORT ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCloseBatchNotifyPort ( hbatchnotifyport : *const _HREGBATCHPORT ) -> i32 ); ClusterRegCloseBatchNotifyPort(hbatchnotifyport) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -647,25 +647,25 @@ pub unsafe fn ClusterRegCloseKey(hkey: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCloseKey ( hkey : super::super::System::Registry:: HKEY ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCloseKey ( hkey : super::super::System::Registry:: HKEY ) -> i32 ); ClusterRegCloseKey(hkey.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegCloseReadBatch(hregreadbatch: *const _HREGREADBATCH, phregreadbatchreply: *mut *mut _HREGREADBATCHREPLY) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCloseReadBatch ( hregreadbatch : *const _HREGREADBATCH , phregreadbatchreply : *mut *mut _HREGREADBATCHREPLY ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCloseReadBatch ( hregreadbatch : *const _HREGREADBATCH , phregreadbatchreply : *mut *mut _HREGREADBATCHREPLY ) -> i32 ); ClusterRegCloseReadBatch(hregreadbatch, phregreadbatchreply) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegCloseReadBatchEx(hregreadbatch: *const _HREGREADBATCH, flags: u32, phregreadbatchreply: *mut *mut _HREGREADBATCHREPLY) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCloseReadBatchEx ( hregreadbatch : *const _HREGREADBATCH , flags : u32 , phregreadbatchreply : *mut *mut _HREGREADBATCHREPLY ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCloseReadBatchEx ( hregreadbatch : *const _HREGREADBATCH , flags : u32 , phregreadbatchreply : *mut *mut _HREGREADBATCHREPLY ) -> i32 ); ClusterRegCloseReadBatchEx(hregreadbatch, flags, phregreadbatchreply) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegCloseReadBatchReply(hregreadbatchreply: *const _HREGREADBATCHREPLY) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCloseReadBatchReply ( hregreadbatchreply : *const _HREGREADBATCHREPLY ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCloseReadBatchReply ( hregreadbatchreply : *const _HREGREADBATCHREPLY ) -> i32 ); ClusterRegCloseReadBatchReply(hregreadbatchreply) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -675,7 +675,7 @@ pub unsafe fn ClusterRegCreateBatch(hkey: P0, phregbatch: *mut *mut _HREGBAT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCreateBatch ( hkey : super::super::System::Registry:: HKEY , phregbatch : *mut *mut _HREGBATCH ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCreateBatch ( hkey : super::super::System::Registry:: HKEY , phregbatch : *mut *mut _HREGBATCH ) -> i32 ); ClusterRegCreateBatch(hkey.into(), phregbatch) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -685,7 +685,7 @@ pub unsafe fn ClusterRegCreateBatchNotifyPort(hkey: P0, phbatchnotifyport: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCreateBatchNotifyPort ( hkey : super::super::System::Registry:: HKEY , phbatchnotifyport : *mut *mut _HREGBATCHPORT ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCreateBatchNotifyPort ( hkey : super::super::System::Registry:: HKEY , phbatchnotifyport : *mut *mut _HREGBATCHPORT ) -> i32 ); ClusterRegCreateBatchNotifyPort(hkey.into(), phbatchnotifyport) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] @@ -696,7 +696,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCreateKey ( hkey : super::super::System::Registry:: HKEY , lpszsubkey : :: windows::core::PCWSTR , dwoptions : u32 , samdesired : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut super::super::System::Registry:: HKEY , lpdwdisposition : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCreateKey ( hkey : super::super::System::Registry:: HKEY , lpszsubkey : :: windows::core::PCWSTR , dwoptions : u32 , samdesired : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut super::super::System::Registry:: HKEY , lpdwdisposition : *mut u32 ) -> i32 ); ClusterRegCreateKey(hkey.into(), lpszsubkey.into().abi(), dwoptions, samdesired, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), phkresult, ::core::mem::transmute(lpdwdisposition.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -706,7 +706,7 @@ pub unsafe fn ClusterRegCreateReadBatch(hkey: P0, phregreadbatch: *mut *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegCreateReadBatch ( hkey : super::super::System::Registry:: HKEY , phregreadbatch : *mut *mut _HREGREADBATCH ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegCreateReadBatch ( hkey : super::super::System::Registry:: HKEY , phregreadbatch : *mut *mut _HREGREADBATCH ) -> i32 ); ClusterRegCreateReadBatch(hkey.into(), phregreadbatch) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -717,7 +717,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegDeleteKey ( hkey : super::super::System::Registry:: HKEY , lpszsubkey : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegDeleteKey ( hkey : super::super::System::Registry:: HKEY , lpszsubkey : :: windows::core::PCWSTR ) -> i32 ); ClusterRegDeleteKey(hkey.into(), lpszsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -728,7 +728,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegDeleteValue ( hkey : super::super::System::Registry:: HKEY , lpszvaluename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegDeleteValue ( hkey : super::super::System::Registry:: HKEY , lpszvaluename : :: windows::core::PCWSTR ) -> u32 ); ClusterRegDeleteValue(hkey.into(), lpszvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -738,7 +738,7 @@ pub unsafe fn ClusterRegEnumKey(hkey: P0, dwindex: u32, lpszname: ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegEnumKey ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegEnumKey ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> i32 ); ClusterRegEnumKey(hkey.into(), dwindex, ::core::mem::transmute(lpszname), lpcchname, ::core::mem::transmute(lpftlastwritetime.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -748,13 +748,13 @@ pub unsafe fn ClusterRegEnumValue(hkey: P0, dwindex: u32, lpszvaluename: ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegEnumValue ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , lpszvaluename : :: windows::core::PWSTR , lpcchvaluename : *mut u32 , lpdwtype : *mut u32 , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegEnumValue ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , lpszvaluename : :: windows::core::PWSTR , lpcchvaluename : *mut u32 , lpdwtype : *mut u32 , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> u32 ); ClusterRegEnumValue(hkey.into(), dwindex, ::core::mem::transmute(lpszvaluename), lpcchvaluename, ::core::mem::transmute(lpdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegGetBatchNotification(hbatchnotify: *const _HREGBATCHPORT, phbatchnotification: *mut *mut _HREGBATCHNOTIFICATION) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegGetBatchNotification ( hbatchnotify : *const _HREGBATCHPORT , phbatchnotification : *mut *mut _HREGBATCHNOTIFICATION ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegGetBatchNotification ( hbatchnotify : *const _HREGBATCHPORT , phbatchnotification : *mut *mut _HREGBATCHNOTIFICATION ) -> i32 ); ClusterRegGetBatchNotification(hbatchnotify, phbatchnotification) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] @@ -764,7 +764,7 @@ pub unsafe fn ClusterRegGetKeySecurity(hkey: P0, requestedinformation: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegGetKeySecurity ( hkey : super::super::System::Registry:: HKEY , requestedinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegGetKeySecurity ( hkey : super::super::System::Registry:: HKEY , requestedinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> i32 ); ClusterRegGetKeySecurity(hkey.into(), requestedinformation, psecuritydescriptor, lpcbsecuritydescriptor) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -775,7 +775,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegOpenKey ( hkey : super::super::System::Registry:: HKEY , lpszsubkey : :: windows::core::PCWSTR , samdesired : u32 , phkresult : *mut super::super::System::Registry:: HKEY ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegOpenKey ( hkey : super::super::System::Registry:: HKEY , lpszsubkey : :: windows::core::PCWSTR , samdesired : u32 , phkresult : *mut super::super::System::Registry:: HKEY ) -> i32 ); ClusterRegOpenKey(hkey.into(), lpszsubkey.into().abi(), samdesired, phkresult) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -785,7 +785,7 @@ pub unsafe fn ClusterRegQueryInfoKey(hkey: P0, lpcsubkeys: *const u32, lpcch where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegQueryInfoKey ( hkey : super::super::System::Registry:: HKEY , lpcsubkeys : *const u32 , lpcchmaxsubkeylen : *const u32 , lpcvalues : *const u32 , lpcchmaxvaluenamelen : *const u32 , lpcbmaxvaluelen : *const u32 , lpcbsecuritydescriptor : *const u32 , lpftlastwritetime : *const super::super::Foundation:: FILETIME ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegQueryInfoKey ( hkey : super::super::System::Registry:: HKEY , lpcsubkeys : *const u32 , lpcchmaxsubkeylen : *const u32 , lpcvalues : *const u32 , lpcchmaxvaluenamelen : *const u32 , lpcbmaxvaluelen : *const u32 , lpcbsecuritydescriptor : *const u32 , lpftlastwritetime : *const super::super::Foundation:: FILETIME ) -> i32 ); ClusterRegQueryInfoKey(hkey.into(), lpcsubkeys, lpcchmaxsubkeylen, lpcvalues, lpcchmaxvaluenamelen, lpcbmaxvaluelen, lpcbsecuritydescriptor, lpftlastwritetime) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -796,7 +796,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegQueryValue ( hkey : super::super::System::Registry:: HKEY , lpszvaluename : :: windows::core::PCWSTR , lpdwvaluetype : *mut u32 , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegQueryValue ( hkey : super::super::System::Registry:: HKEY , lpszvaluename : :: windows::core::PCWSTR , lpdwvaluetype : *mut u32 , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> i32 ); ClusterRegQueryValue(hkey.into(), lpszvaluename.into().abi(), ::core::mem::transmute(lpdwvaluetype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -806,13 +806,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegReadBatchAddCommand ( hregreadbatch : *const _HREGREADBATCH , wzsubkeyname : :: windows::core::PCWSTR , wzvaluename : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegReadBatchAddCommand ( hregreadbatch : *const _HREGREADBATCH , wzsubkeyname : :: windows::core::PCWSTR , wzvaluename : :: windows::core::PCWSTR ) -> i32 ); ClusterRegReadBatchAddCommand(hregreadbatch, wzsubkeyname.into().abi(), wzvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegReadBatchReplyNextCommand(hregreadbatchreply: *const _HREGREADBATCHREPLY, pbatchcommand: *mut CLUSTER_READ_BATCH_COMMAND) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegReadBatchReplyNextCommand ( hregreadbatchreply : *const _HREGREADBATCHREPLY , pbatchcommand : *mut CLUSTER_READ_BATCH_COMMAND ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegReadBatchReplyNextCommand ( hregreadbatchreply : *const _HREGREADBATCHREPLY , pbatchcommand : *mut CLUSTER_READ_BATCH_COMMAND ) -> i32 ); ClusterRegReadBatchReplyNextCommand(hregreadbatchreply, pbatchcommand) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] @@ -823,7 +823,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegSetKeySecurity ( hkey : super::super::System::Registry:: HKEY , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegSetKeySecurity ( hkey : super::super::System::Registry:: HKEY , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> i32 ); ClusterRegSetKeySecurity(hkey.into(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -834,13 +834,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegSetValue ( hkey : super::super::System::Registry:: HKEY , lpszvaluename : :: windows::core::PCWSTR , dwtype : u32 , lpdata : *const u8 , cbdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegSetValue ( hkey : super::super::System::Registry:: HKEY , lpszvaluename : :: windows::core::PCWSTR , dwtype : u32 , lpdata : *const u8 , cbdata : u32 ) -> u32 ); ClusterRegSetValue(hkey.into(), lpszvaluename.into().abi(), dwtype, lpdata, cbdata) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRegSyncDatabase(hcluster: *const _HCLUSTER, flags: u32) -> i32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRegSyncDatabase ( hcluster : *const _HCLUSTER , flags : u32 ) -> i32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRegSyncDatabase ( hcluster : *const _HCLUSTER , flags : u32 ) -> i32 ); ClusterRegSyncDatabase(hcluster, flags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -849,7 +849,7 @@ pub unsafe fn ClusterRemoveAffinityRule(hcluster: *const _HCLUSTER, rulename where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRemoveAffinityRule ( hcluster : *const _HCLUSTER , rulename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRemoveAffinityRule ( hcluster : *const _HCLUSTER , rulename : :: windows::core::PCWSTR ) -> u32 ); ClusterRemoveAffinityRule(hcluster, rulename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -858,67 +858,67 @@ pub unsafe fn ClusterRemoveGroupFromAffinityRule(hcluster: *const _HCLUSTER, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRemoveGroupFromAffinityRule ( hcluster : *const _HCLUSTER , rulename : :: windows::core::PCWSTR , hgroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRemoveGroupFromAffinityRule ( hcluster : *const _HCLUSTER , rulename : :: windows::core::PCWSTR , hgroup : *const _HGROUP ) -> u32 ); ClusterRemoveGroupFromAffinityRule(hcluster, rulename.into().abi(), hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterRemoveGroupFromGroupSet(hgroup: *const _HGROUP) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterRemoveGroupFromGroupSet ( hgroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterRemoveGroupFromGroupSet ( hgroup : *const _HGROUP ) -> u32 ); ClusterRemoveGroupFromGroupSet(hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceCloseEnum(hresenum: *const _HRESENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceCloseEnum ( hresenum : *const _HRESENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceCloseEnum ( hresenum : *const _HRESENUM ) -> u32 ); ClusterResourceCloseEnum(hresenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceCloseEnumEx(hresourceenumex: *const _HRESENUMEX) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceCloseEnumEx ( hresourceenumex : *const _HRESENUMEX ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceCloseEnumEx ( hresourceenumex : *const _HRESENUMEX ) -> u32 ); ClusterResourceCloseEnumEx(hresourceenumex) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceControl(hresource: *const _HRESOURCE, hhostnode: ::core::option::Option<*const _HNODE>, dwcontrolcode: u32, lpinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbinbuffersize: u32, lpoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, cboutbuffersize: u32, lpbytesreturned: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceControl ( hresource : *const _HRESOURCE , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceControl ( hresource : *const _HRESOURCE , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterResourceControl(hresource, ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), cbinbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), cboutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceControlAsUser(hresource: *const _HRESOURCE, hhostnode: ::core::option::Option<*const _HNODE>, dwcontrolcode: u32, lpinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbinbuffersize: u32, lpoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, cboutbuffersize: u32, lpbytesreturned: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceControlAsUser ( hresource : *const _HRESOURCE , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceControlAsUser ( hresource : *const _HRESOURCE , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterResourceControlAsUser(hresource, ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), cbinbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), cboutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceEnum(hresenum: *const _HRESENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceEnum ( hresenum : *const _HRESENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceEnum ( hresenum : *const _HRESENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); ClusterResourceEnum(hresenum, dwindex, lpdwtype, ::core::mem::transmute(lpszname), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceEnumEx(hresourceenumex: *const _HRESENUMEX, dwindex: u32, pitem: *mut CLUSTER_RESOURCE_ENUM_ITEM, cbitem: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceEnumEx ( hresourceenumex : *const _HRESENUMEX , dwindex : u32 , pitem : *mut CLUSTER_RESOURCE_ENUM_ITEM , cbitem : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceEnumEx ( hresourceenumex : *const _HRESENUMEX , dwindex : u32 , pitem : *mut CLUSTER_RESOURCE_ENUM_ITEM , cbitem : *mut u32 ) -> u32 ); ClusterResourceEnumEx(hresourceenumex, dwindex, pitem, cbitem) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceGetEnumCount(hresenum: *const _HRESENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceGetEnumCount ( hresenum : *const _HRESENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceGetEnumCount ( hresenum : *const _HRESENUM ) -> u32 ); ClusterResourceGetEnumCount(hresenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceGetEnumCountEx(hresourceenumex: *const _HRESENUMEX) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceGetEnumCountEx ( hresourceenumex : *const _HRESENUMEX ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceGetEnumCountEx ( hresourceenumex : *const _HRESENUMEX ) -> u32 ); ClusterResourceGetEnumCountEx(hresourceenumex) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceOpenEnum(hresource: *const _HRESOURCE, dwtype: u32) -> *mut _HRESENUM { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceOpenEnum ( hresource : *const _HRESOURCE , dwtype : u32 ) -> *mut _HRESENUM ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceOpenEnum ( hresource : *const _HRESOURCE , dwtype : u32 ) -> *mut _HRESENUM ); ClusterResourceOpenEnum(hresource, dwtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -928,13 +928,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceOpenEnumEx ( hcluster : *const _HCLUSTER , lpszproperties : :: windows::core::PCWSTR , cbproperties : u32 , lpszroproperties : :: windows::core::PCWSTR , cbroproperties : u32 , dwflags : u32 ) -> *mut _HRESENUMEX ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceOpenEnumEx ( hcluster : *const _HCLUSTER , lpszproperties : :: windows::core::PCWSTR , cbproperties : u32 , lpszroproperties : :: windows::core::PCWSTR , cbroproperties : u32 , dwflags : u32 ) -> *mut _HRESENUMEX ); ClusterResourceOpenEnumEx(hcluster, lpszproperties.into().abi(), cbproperties, lpszroproperties.into().abi(), cbroproperties, dwflags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceTypeCloseEnum(hrestypeenum: *const _HRESTYPEENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceTypeCloseEnum ( hrestypeenum : *const _HRESTYPEENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceTypeCloseEnum ( hrestypeenum : *const _HRESTYPEENUM ) -> u32 ); ClusterResourceTypeCloseEnum(hrestypeenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -943,7 +943,7 @@ pub unsafe fn ClusterResourceTypeControl(hcluster: *const _HCLUSTER, lpszres where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceTypeControl ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceTypeControl ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterResourceTypeControl(hcluster, lpszresourcetypename.into().abi(), ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -952,19 +952,19 @@ pub unsafe fn ClusterResourceTypeControlAsUser(hcluster: *const _HCLUSTER, l where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceTypeControlAsUser ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceTypeControlAsUser ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR , hhostnode : *const _HNODE , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> u32 ); ClusterResourceTypeControlAsUser(hcluster, lpszresourcetypename.into().abi(), ::core::mem::transmute(hhostnode.unwrap_or(::std::ptr::null())), dwcontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceTypeEnum(hrestypeenum: *const _HRESTYPEENUM, dwindex: u32, lpdwtype: *mut u32, lpszname: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceTypeEnum ( hrestypeenum : *const _HRESTYPEENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceTypeEnum ( hrestypeenum : *const _HRESTYPEENUM , dwindex : u32 , lpdwtype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); ClusterResourceTypeEnum(hrestypeenum, dwindex, lpdwtype, ::core::mem::transmute(lpszname), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ClusterResourceTypeGetEnumCount(hrestypeenum: *const _HRESTYPEENUM) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceTypeGetEnumCount ( hrestypeenum : *const _HRESTYPEENUM ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceTypeGetEnumCount ( hrestypeenum : *const _HRESTYPEENUM ) -> u32 ); ClusterResourceTypeGetEnumCount(hrestypeenum) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -973,7 +973,7 @@ pub unsafe fn ClusterResourceTypeOpenEnum(hcluster: *const _HCLUSTER, lpszre where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterResourceTypeOpenEnum ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR , dwtype : u32 ) -> *mut _HRESTYPEENUM ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterResourceTypeOpenEnum ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR , dwtype : u32 ) -> *mut _HRESTYPEENUM ); ClusterResourceTypeOpenEnum(hcluster, lpszresourcetypename.into().abi(), dwtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -982,7 +982,7 @@ pub unsafe fn ClusterSetAccountAccess(hcluster: *const _HCLUSTER, szaccounts where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterSetAccountAccess ( hcluster : *const _HCLUSTER , szaccountsid : :: windows::core::PCWSTR , dwaccess : u32 , dwcontroltype : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterSetAccountAccess ( hcluster : *const _HCLUSTER , szaccountsid : :: windows::core::PCWSTR , dwaccess : u32 , dwcontroltype : u32 ) -> u32 ); ClusterSetAccountAccess(hcluster, szaccountsid.into().abi(), dwaccess, dwcontroltype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -991,7 +991,7 @@ pub unsafe fn ClusterSharedVolumeSetSnapshotState(guidsnapshotset: ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterSharedVolumeSetSnapshotState ( guidsnapshotset : :: windows::core::GUID , lpszvolumename : :: windows::core::PCWSTR , state : CLUSTER_SHARED_VOLUME_SNAPSHOT_STATE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterSharedVolumeSetSnapshotState ( guidsnapshotset : :: windows::core::GUID , lpszvolumename : :: windows::core::PCWSTR , state : CLUSTER_SHARED_VOLUME_SNAPSHOT_STATE ) -> u32 ); ClusterSharedVolumeSetSnapshotState(::core::mem::transmute(guidsnapshotset), lpszvolumename.into().abi(), state) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1001,14 +1001,14 @@ pub unsafe fn ClusterUpgradeFunctionalLevel(hcluster: *const _HCLUSTER, perf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn ClusterUpgradeFunctionalLevel ( hcluster : *const _HCLUSTER , perform : super::super::Foundation:: BOOL , pfnprogresscallback : PCLUSTER_UPGRADE_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ClusterUpgradeFunctionalLevel ( hcluster : *const _HCLUSTER , perform : super::super::Foundation:: BOOL , pfnprogresscallback : PCLUSTER_UPGRADE_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> u32 ); ClusterUpgradeFunctionalLevel(hcluster, perform.into(), pfnprogresscallback, ::core::mem::transmute(pvcallbackarg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateCluster(pconfig: *const CREATE_CLUSTER_CONFIG, pfnprogresscallback: PCLUSTER_SETUP_PROGRESS_CALLBACK, pvcallbackarg: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut _HCLUSTER { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateCluster ( pconfig : *const CREATE_CLUSTER_CONFIG , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> *mut _HCLUSTER ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateCluster ( pconfig : *const CREATE_CLUSTER_CONFIG , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> *mut _HCLUSTER ); CreateCluster(pconfig, pfnprogresscallback, ::core::mem::transmute(pvcallbackarg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1018,7 +1018,7 @@ pub unsafe fn CreateClusterAvailabilitySet(hcluster: *const _HCLUSTER, lpava where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterAvailabilitySet ( hcluster : *const _HCLUSTER , lpavailabilitysetname : :: windows::core::PCWSTR , pavailabilitysetconfig : *const CLUSTER_AVAILABILITY_SET_CONFIG ) -> *mut _HGROUPSET ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterAvailabilitySet ( hcluster : *const _HCLUSTER , lpavailabilitysetname : :: windows::core::PCWSTR , pavailabilitysetconfig : *const CLUSTER_AVAILABILITY_SET_CONFIG ) -> *mut _HGROUPSET ); CreateClusterAvailabilitySet(hcluster, lpavailabilitysetname.into().abi(), pavailabilitysetconfig) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1027,7 +1027,7 @@ pub unsafe fn CreateClusterGroup(hcluster: *const _HCLUSTER, lpszgroupname: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterGroup ( hcluster : *const _HCLUSTER , lpszgroupname : :: windows::core::PCWSTR ) -> *mut _HGROUP ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterGroup ( hcluster : *const _HCLUSTER , lpszgroupname : :: windows::core::PCWSTR ) -> *mut _HGROUP ); CreateClusterGroup(hcluster, lpszgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1036,7 +1036,7 @@ pub unsafe fn CreateClusterGroupEx(hcluster: *const _HCLUSTER, lpszgroupname where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterGroupEx ( hcluster : *const _HCLUSTER , lpszgroupname : :: windows::core::PCWSTR , pgroupinfo : *const CLUSTER_CREATE_GROUP_INFO ) -> *mut _HGROUP ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterGroupEx ( hcluster : *const _HCLUSTER , lpszgroupname : :: windows::core::PCWSTR , pgroupinfo : *const CLUSTER_CREATE_GROUP_INFO ) -> *mut _HGROUP ); CreateClusterGroupEx(hcluster, lpszgroupname.into().abi(), ::core::mem::transmute(pgroupinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1045,26 +1045,26 @@ pub unsafe fn CreateClusterGroupSet(hcluster: *const _HCLUSTER, groupsetname where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterGroupSet ( hcluster : *const _HCLUSTER , groupsetname : :: windows::core::PCWSTR ) -> *mut _HGROUPSET ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterGroupSet ( hcluster : *const _HCLUSTER , groupsetname : :: windows::core::PCWSTR ) -> *mut _HGROUPSET ); CreateClusterGroupSet(hcluster, groupsetname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateClusterNameAccount(hcluster: *const _HCLUSTER, pconfig: *const CREATE_CLUSTER_NAME_ACCOUNT, pfnprogresscallback: PCLUSTER_SETUP_PROGRESS_CALLBACK, pvcallbackarg: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterNameAccount ( hcluster : *const _HCLUSTER , pconfig : *const CREATE_CLUSTER_NAME_ACCOUNT , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterNameAccount ( hcluster : *const _HCLUSTER , pconfig : *const CREATE_CLUSTER_NAME_ACCOUNT , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void ) -> u32 ); CreateClusterNameAccount(hcluster, pconfig, pfnprogresscallback, ::core::mem::transmute(pvcallbackarg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn CreateClusterNotifyPort(hchange: *const _HCHANGE, hcluster: *const _HCLUSTER, dwfilter: u32, dwnotifykey: usize) -> *mut _HCHANGE { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterNotifyPort ( hchange : *const _HCHANGE , hcluster : *const _HCLUSTER , dwfilter : u32 , dwnotifykey : usize ) -> *mut _HCHANGE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterNotifyPort ( hchange : *const _HCHANGE , hcluster : *const _HCLUSTER , dwfilter : u32 , dwnotifykey : usize ) -> *mut _HCHANGE ); CreateClusterNotifyPort(hchange, hcluster, dwfilter, dwnotifykey) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn CreateClusterNotifyPortV2(hchange: *const _HCHANGE, hcluster: *const _HCLUSTER, filters: *const NOTIFY_FILTER_AND_TYPE, dwfiltercount: u32, dwnotifykey: usize) -> *mut _HCHANGE { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterNotifyPortV2 ( hchange : *const _HCHANGE , hcluster : *const _HCLUSTER , filters : *const NOTIFY_FILTER_AND_TYPE , dwfiltercount : u32 , dwnotifykey : usize ) -> *mut _HCHANGE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterNotifyPortV2 ( hchange : *const _HCHANGE , hcluster : *const _HCLUSTER , filters : *const NOTIFY_FILTER_AND_TYPE , dwfiltercount : u32 , dwnotifykey : usize ) -> *mut _HCHANGE ); CreateClusterNotifyPortV2(hchange, hcluster, filters, dwfiltercount, dwnotifykey) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1074,7 +1074,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterResource ( hgroup : *const _HGROUP , lpszresourcename : :: windows::core::PCWSTR , lpszresourcetype : :: windows::core::PCWSTR , dwflags : u32 ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterResource ( hgroup : *const _HGROUP , lpszresourcename : :: windows::core::PCWSTR , lpszresourcetype : :: windows::core::PCWSTR , dwflags : u32 ) -> *mut _HRESOURCE ); CreateClusterResource(hgroup, lpszresourcename.into().abi(), lpszresourcetype.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1085,25 +1085,25 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn CreateClusterResourceType ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR , lpszdisplayname : :: windows::core::PCWSTR , lpszresourcetypedll : :: windows::core::PCWSTR , dwlooksalivepollinterval : u32 , dwisalivepollinterval : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn CreateClusterResourceType ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR , lpszdisplayname : :: windows::core::PCWSTR , lpszresourcetypedll : :: windows::core::PCWSTR , dwlooksalivepollinterval : u32 , dwisalivepollinterval : u32 ) -> u32 ); CreateClusterResourceType(hcluster, lpszresourcetypename.into().abi(), lpszdisplayname.into().abi(), lpszresourcetypedll.into().abi(), dwlooksalivepollinterval, dwisalivepollinterval) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn DeleteClusterGroup(hgroup: *const _HGROUP) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn DeleteClusterGroup ( hgroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DeleteClusterGroup ( hgroup : *const _HGROUP ) -> u32 ); DeleteClusterGroup(hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn DeleteClusterGroupSet(hgroupset: *const _HGROUPSET) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn DeleteClusterGroupSet ( hgroupset : *const _HGROUPSET ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DeleteClusterGroupSet ( hgroupset : *const _HGROUPSET ) -> u32 ); DeleteClusterGroupSet(hgroupset) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn DeleteClusterResource(hresource: *const _HRESOURCE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn DeleteClusterResource ( hresource : *const _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DeleteClusterResource ( hresource : *const _HRESOURCE ) -> u32 ); DeleteClusterResource(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1112,7 +1112,7 @@ pub unsafe fn DeleteClusterResourceType(hcluster: *const _HCLUSTER, lpszreso where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn DeleteClusterResourceType ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DeleteClusterResourceType ( hcluster : *const _HCLUSTER , lpszresourcetypename : :: windows::core::PCWSTR ) -> u32 ); DeleteClusterResourceType(hcluster, lpszresourcetypename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1122,132 +1122,132 @@ pub unsafe fn DestroyCluster(hcluster: *const _HCLUSTER, pfnprogresscallback where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn DestroyCluster ( hcluster : *const _HCLUSTER , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void , fdeletevirtualcomputerobjects : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DestroyCluster ( hcluster : *const _HCLUSTER , pfnprogresscallback : PCLUSTER_SETUP_PROGRESS_CALLBACK , pvcallbackarg : *const ::core::ffi::c_void , fdeletevirtualcomputerobjects : super::super::Foundation:: BOOL ) -> u32 ); DestroyCluster(hcluster, pfnprogresscallback, ::core::mem::transmute(pvcallbackarg.unwrap_or(::std::ptr::null())), fdeletevirtualcomputerobjects.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn DestroyClusterGroup(hgroup: *const _HGROUP) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn DestroyClusterGroup ( hgroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DestroyClusterGroup ( hgroup : *const _HGROUP ) -> u32 ); DestroyClusterGroup(hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn DetermineCNOResTypeFromCluster(hcluster: *const _HCLUSTER, pcnorestype: *mut CLUSTER_MGMT_POINT_RESTYPE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn DetermineCNOResTypeFromCluster ( hcluster : *const _HCLUSTER , pcnorestype : *mut CLUSTER_MGMT_POINT_RESTYPE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DetermineCNOResTypeFromCluster ( hcluster : *const _HCLUSTER , pcnorestype : *mut CLUSTER_MGMT_POINT_RESTYPE ) -> u32 ); DetermineCNOResTypeFromCluster(hcluster, pcnorestype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn DetermineCNOResTypeFromNodelist(cnodes: u32, ppsznodenames: *const ::windows::core::PCWSTR, pcnorestype: *mut CLUSTER_MGMT_POINT_RESTYPE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn DetermineCNOResTypeFromNodelist ( cnodes : u32 , ppsznodenames : *const :: windows::core::PCWSTR , pcnorestype : *mut CLUSTER_MGMT_POINT_RESTYPE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DetermineCNOResTypeFromNodelist ( cnodes : u32 , ppsznodenames : *const :: windows::core::PCWSTR , pcnorestype : *mut CLUSTER_MGMT_POINT_RESTYPE ) -> u32 ); DetermineCNOResTypeFromNodelist(cnodes, ppsznodenames, pcnorestype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn DetermineClusterCloudTypeFromCluster(hcluster: *const _HCLUSTER, pcloudtype: *mut CLUSTER_CLOUD_TYPE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn DetermineClusterCloudTypeFromCluster ( hcluster : *const _HCLUSTER , pcloudtype : *mut CLUSTER_CLOUD_TYPE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DetermineClusterCloudTypeFromCluster ( hcluster : *const _HCLUSTER , pcloudtype : *mut CLUSTER_CLOUD_TYPE ) -> u32 ); DetermineClusterCloudTypeFromCluster(hcluster, pcloudtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn DetermineClusterCloudTypeFromNodelist(cnodes: u32, ppsznodenames: *const ::windows::core::PCWSTR, pcloudtype: *mut CLUSTER_CLOUD_TYPE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn DetermineClusterCloudTypeFromNodelist ( cnodes : u32 , ppsznodenames : *const :: windows::core::PCWSTR , pcloudtype : *mut CLUSTER_CLOUD_TYPE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn DetermineClusterCloudTypeFromNodelist ( cnodes : u32 , ppsznodenames : *const :: windows::core::PCWSTR , pcloudtype : *mut CLUSTER_CLOUD_TYPE ) -> u32 ); DetermineClusterCloudTypeFromNodelist(cnodes, ppsznodenames, pcloudtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn EvictClusterNode(hnode: *const _HNODE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn EvictClusterNode ( hnode : *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn EvictClusterNode ( hnode : *const _HNODE ) -> u32 ); EvictClusterNode(hnode) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn EvictClusterNodeEx(hnode: *const _HNODE, dwtimeout: u32, phrcleanupstatus: *mut ::windows::core::HRESULT) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn EvictClusterNodeEx ( hnode : *const _HNODE , dwtimeout : u32 , phrcleanupstatus : *mut :: windows::core::HRESULT ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn EvictClusterNodeEx ( hnode : *const _HNODE , dwtimeout : u32 , phrcleanupstatus : *mut :: windows::core::HRESULT ) -> u32 ); EvictClusterNodeEx(hnode, dwtimeout, phrcleanupstatus) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn FailClusterResource(hresource: *const _HRESOURCE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn FailClusterResource ( hresource : *const _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn FailClusterResource ( hresource : *const _HRESOURCE ) -> u32 ); FailClusterResource(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn FreeClusterCrypt(pcryptinfo: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn FreeClusterCrypt ( pcryptinfo : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn FreeClusterCrypt ( pcryptinfo : *const ::core::ffi::c_void ) -> u32 ); FreeClusterCrypt(pcryptinfo) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn FreeClusterHealthFault(clusterhealthfault: *mut CLUSTER_HEALTH_FAULT) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn FreeClusterHealthFault ( clusterhealthfault : *mut CLUSTER_HEALTH_FAULT ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn FreeClusterHealthFault ( clusterhealthfault : *mut CLUSTER_HEALTH_FAULT ) -> u32 ); FreeClusterHealthFault(clusterhealthfault) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn FreeClusterHealthFaultArray(clusterhealthfaultarray: *mut CLUSTER_HEALTH_FAULT_ARRAY) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn FreeClusterHealthFaultArray ( clusterhealthfaultarray : *mut CLUSTER_HEALTH_FAULT_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn FreeClusterHealthFaultArray ( clusterhealthfaultarray : *mut CLUSTER_HEALTH_FAULT_ARRAY ) -> u32 ); FreeClusterHealthFaultArray(clusterhealthfaultarray) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterFromGroup(hgroup: *const _HGROUP) -> *mut _HCLUSTER { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterFromGroup ( hgroup : *const _HGROUP ) -> *mut _HCLUSTER ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterFromGroup ( hgroup : *const _HGROUP ) -> *mut _HCLUSTER ); GetClusterFromGroup(hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterFromNetInterface(hnetinterface: *const _HNETINTERFACE) -> *mut _HCLUSTER { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterFromNetInterface ( hnetinterface : *const _HNETINTERFACE ) -> *mut _HCLUSTER ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterFromNetInterface ( hnetinterface : *const _HNETINTERFACE ) -> *mut _HCLUSTER ); GetClusterFromNetInterface(hnetinterface) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterFromNetwork(hnetwork: *const _HNETWORK) -> *mut _HCLUSTER { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterFromNetwork ( hnetwork : *const _HNETWORK ) -> *mut _HCLUSTER ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterFromNetwork ( hnetwork : *const _HNETWORK ) -> *mut _HCLUSTER ); GetClusterFromNetwork(hnetwork) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterFromNode(hnode: *const _HNODE) -> *mut _HCLUSTER { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterFromNode ( hnode : *const _HNODE ) -> *mut _HCLUSTER ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterFromNode ( hnode : *const _HNODE ) -> *mut _HCLUSTER ); GetClusterFromNode(hnode) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterFromResource(hresource: *const _HRESOURCE) -> *mut _HCLUSTER { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterFromResource ( hresource : *const _HRESOURCE ) -> *mut _HCLUSTER ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterFromResource ( hresource : *const _HRESOURCE ) -> *mut _HCLUSTER ); GetClusterFromResource(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn GetClusterGroupKey(hgroup: *const _HGROUP, samdesired: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterGroupKey ( hgroup : *const _HGROUP , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterGroupKey ( hgroup : *const _HGROUP , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = GetClusterGroupKey(hgroup, samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterGroupState(hgroup: *const _HGROUP, lpsznodename: ::windows::core::PWSTR, lpcchnodename: ::core::option::Option<*mut u32>) -> CLUSTER_GROUP_STATE { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterGroupState ( hgroup : *const _HGROUP , lpsznodename : :: windows::core::PWSTR , lpcchnodename : *mut u32 ) -> CLUSTER_GROUP_STATE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterGroupState ( hgroup : *const _HGROUP , lpsznodename : :: windows::core::PWSTR , lpcchnodename : *mut u32 ) -> CLUSTER_GROUP_STATE ); GetClusterGroupState(hgroup, ::core::mem::transmute(lpsznodename), ::core::mem::transmute(lpcchnodename.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterInformation(hcluster: *const _HCLUSTER, lpszclustername: ::windows::core::PWSTR, lpcchclustername: *mut u32, lpclusterinfo: ::core::option::Option<*mut CLUSTERVERSIONINFO>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterInformation ( hcluster : *const _HCLUSTER , lpszclustername : :: windows::core::PWSTR , lpcchclustername : *mut u32 , lpclusterinfo : *mut CLUSTERVERSIONINFO ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterInformation ( hcluster : *const _HCLUSTER , lpszclustername : :: windows::core::PWSTR , lpcchclustername : *mut u32 , lpclusterinfo : *mut CLUSTERVERSIONINFO ) -> u32 ); GetClusterInformation(hcluster, ::core::mem::transmute(lpszclustername), lpcchclustername, ::core::mem::transmute(lpclusterinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn GetClusterKey(hcluster: *const _HCLUSTER, samdesired: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterKey ( hcluster : *const _HCLUSTER , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterKey ( hcluster : *const _HCLUSTER , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = GetClusterKey(hcluster, samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] @@ -1256,73 +1256,73 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNetInterface ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , lpsznetworkname : :: windows::core::PCWSTR , lpszinterfacename : :: windows::core::PWSTR , lpcchinterfacename : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNetInterface ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , lpsznetworkname : :: windows::core::PCWSTR , lpszinterfacename : :: windows::core::PWSTR , lpcchinterfacename : *mut u32 ) -> u32 ); GetClusterNetInterface(hcluster, lpsznodename.into().abi(), lpsznetworkname.into().abi(), ::core::mem::transmute(lpszinterfacename), lpcchinterfacename) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn GetClusterNetInterfaceKey(hnetinterface: *const _HNETINTERFACE, samdesired: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNetInterfaceKey ( hnetinterface : *const _HNETINTERFACE , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNetInterfaceKey ( hnetinterface : *const _HNETINTERFACE , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = GetClusterNetInterfaceKey(hnetinterface, samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterNetInterfaceState(hnetinterface: *const _HNETINTERFACE) -> CLUSTER_NETINTERFACE_STATE { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNetInterfaceState ( hnetinterface : *const _HNETINTERFACE ) -> CLUSTER_NETINTERFACE_STATE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNetInterfaceState ( hnetinterface : *const _HNETINTERFACE ) -> CLUSTER_NETINTERFACE_STATE ); GetClusterNetInterfaceState(hnetinterface) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterNetworkId(hnetwork: *const _HNETWORK, lpsznetworkid: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNetworkId ( hnetwork : *const _HNETWORK , lpsznetworkid : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNetworkId ( hnetwork : *const _HNETWORK , lpsznetworkid : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); GetClusterNetworkId(hnetwork, ::core::mem::transmute(lpsznetworkid), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn GetClusterNetworkKey(hnetwork: *const _HNETWORK, samdesired: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNetworkKey ( hnetwork : *const _HNETWORK , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNetworkKey ( hnetwork : *const _HNETWORK , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = GetClusterNetworkKey(hnetwork, samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterNetworkState(hnetwork: *const _HNETWORK) -> CLUSTER_NETWORK_STATE { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNetworkState ( hnetwork : *const _HNETWORK ) -> CLUSTER_NETWORK_STATE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNetworkState ( hnetwork : *const _HNETWORK ) -> CLUSTER_NETWORK_STATE ); GetClusterNetworkState(hnetwork) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterNodeId(hnode: ::core::option::Option<*const _HNODE>, lpsznodeid: ::windows::core::PWSTR, lpcchname: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNodeId ( hnode : *const _HNODE , lpsznodeid : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNodeId ( hnode : *const _HNODE , lpsznodeid : :: windows::core::PWSTR , lpcchname : *mut u32 ) -> u32 ); GetClusterNodeId(::core::mem::transmute(hnode.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpsznodeid), lpcchname) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn GetClusterNodeKey(hnode: *const _HNODE, samdesired: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNodeKey ( hnode : *const _HNODE , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNodeKey ( hnode : *const _HNODE , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = GetClusterNodeKey(hnode, samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterNodeState(hnode: *const _HNODE) -> CLUSTER_NODE_STATE { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNodeState ( hnode : *const _HNODE ) -> CLUSTER_NODE_STATE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNodeState ( hnode : *const _HNODE ) -> CLUSTER_NODE_STATE ); GetClusterNodeState(hnode) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterNotify(hchange: *const _HCHANGE, lpdwnotifykey: *mut usize, lpdwfiltertype: *mut u32, lpszname: ::windows::core::PWSTR, lpcchname: *mut u32, dwmilliseconds: u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNotify ( hchange : *const _HCHANGE , lpdwnotifykey : *mut usize , lpdwfiltertype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 , dwmilliseconds : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNotify ( hchange : *const _HCHANGE , lpdwnotifykey : *mut usize , lpdwfiltertype : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 , dwmilliseconds : u32 ) -> u32 ); GetClusterNotify(hchange, lpdwnotifykey, lpdwfiltertype, ::core::mem::transmute(lpszname), lpcchname, dwmilliseconds) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterNotifyV2(hchange: *const _HCHANGE, lpdwnotifykey: *mut usize, pfilterandtype: ::core::option::Option<*mut NOTIFY_FILTER_AND_TYPE>, buffer: ::core::option::Option<*mut u8>, lpbbuffersize: ::core::option::Option<*mut u32>, lpszobjectid: ::windows::core::PWSTR, lpcchobjectid: ::core::option::Option<*mut u32>, lpszparentid: ::windows::core::PWSTR, lpcchparentid: ::core::option::Option<*mut u32>, lpszname: ::windows::core::PWSTR, lpcchname: ::core::option::Option<*mut u32>, lpsztype: ::windows::core::PWSTR, lpcchtype: ::core::option::Option<*mut u32>, dwmilliseconds: u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterNotifyV2 ( hchange : *const _HCHANGE , lpdwnotifykey : *mut usize , pfilterandtype : *mut NOTIFY_FILTER_AND_TYPE , buffer : *mut u8 , lpbbuffersize : *mut u32 , lpszobjectid : :: windows::core::PWSTR , lpcchobjectid : *mut u32 , lpszparentid : :: windows::core::PWSTR , lpcchparentid : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 , lpsztype : :: windows::core::PWSTR , lpcchtype : *mut u32 , dwmilliseconds : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterNotifyV2 ( hchange : *const _HCHANGE , lpdwnotifykey : *mut usize , pfilterandtype : *mut NOTIFY_FILTER_AND_TYPE , buffer : *mut u8 , lpbbuffersize : *mut u32 , lpszobjectid : :: windows::core::PWSTR , lpcchobjectid : *mut u32 , lpszparentid : :: windows::core::PWSTR , lpcchparentid : *mut u32 , lpszname : :: windows::core::PWSTR , lpcchname : *mut u32 , lpsztype : :: windows::core::PWSTR , lpcchtype : *mut u32 , dwmilliseconds : u32 ) -> u32 ); GetClusterNotifyV2( hchange, lpdwnotifykey, @@ -1343,34 +1343,34 @@ pub unsafe fn GetClusterNotifyV2(hchange: *const _HCHANGE, lpdwnotifykey: *mut u #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterQuorumResource(hcluster: *const _HCLUSTER, lpszresourcename: ::windows::core::PWSTR, lpcchresourcename: *mut u32, lpszdevicename: ::windows::core::PWSTR, lpcchdevicename: *mut u32, lpdwmaxquorumlogsize: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterQuorumResource ( hcluster : *const _HCLUSTER , lpszresourcename : :: windows::core::PWSTR , lpcchresourcename : *mut u32 , lpszdevicename : :: windows::core::PWSTR , lpcchdevicename : *mut u32 , lpdwmaxquorumlogsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterQuorumResource ( hcluster : *const _HCLUSTER , lpszresourcename : :: windows::core::PWSTR , lpcchresourcename : *mut u32 , lpszdevicename : :: windows::core::PWSTR , lpcchdevicename : *mut u32 , lpdwmaxquorumlogsize : *mut u32 ) -> u32 ); GetClusterQuorumResource(hcluster, ::core::mem::transmute(lpszresourcename), lpcchresourcename, ::core::mem::transmute(lpszdevicename), lpcchdevicename, lpdwmaxquorumlogsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterResourceDependencyExpression(hresource: *const _HRESOURCE, lpszdependencyexpression: ::windows::core::PWSTR, lpcchdependencyexpression: *mut u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterResourceDependencyExpression ( hresource : *const _HRESOURCE , lpszdependencyexpression : :: windows::core::PWSTR , lpcchdependencyexpression : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterResourceDependencyExpression ( hresource : *const _HRESOURCE , lpszdependencyexpression : :: windows::core::PWSTR , lpcchdependencyexpression : *mut u32 ) -> u32 ); GetClusterResourceDependencyExpression(hresource, ::core::mem::transmute(lpszdependencyexpression), lpcchdependencyexpression) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn GetClusterResourceKey(hresource: *const _HRESOURCE, samdesired: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterResourceKey ( hresource : *const _HRESOURCE , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterResourceKey ( hresource : *const _HRESOURCE , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = GetClusterResourceKey(hresource, samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetClusterResourceNetworkName(hresource: *const _HRESOURCE, lpbuffer: ::windows::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterResourceNetworkName ( hresource : *const _HRESOURCE , lpbuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterResourceNetworkName ( hresource : *const _HRESOURCE , lpbuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetClusterResourceNetworkName(hresource, ::core::mem::transmute(lpbuffer), nsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn GetClusterResourceState(hresource: *const _HRESOURCE, lpsznodename: ::windows::core::PWSTR, lpcchnodename: ::core::option::Option<*mut u32>, lpszgroupname: ::windows::core::PWSTR, lpcchgroupname: ::core::option::Option<*mut u32>) -> CLUSTER_RESOURCE_STATE { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterResourceState ( hresource : *const _HRESOURCE , lpsznodename : :: windows::core::PWSTR , lpcchnodename : *mut u32 , lpszgroupname : :: windows::core::PWSTR , lpcchgroupname : *mut u32 ) -> CLUSTER_RESOURCE_STATE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterResourceState ( hresource : *const _HRESOURCE , lpsznodename : :: windows::core::PWSTR , lpcchnodename : *mut u32 , lpszgroupname : :: windows::core::PWSTR , lpcchgroupname : *mut u32 ) -> CLUSTER_RESOURCE_STATE ); GetClusterResourceState(hresource, ::core::mem::transmute(lpsznodename), ::core::mem::transmute(lpcchnodename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpszgroupname), ::core::mem::transmute(lpcchgroupname.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -1380,9 +1380,9 @@ pub unsafe fn GetClusterResourceTypeKey(hcluster: *const _HCLUSTER, lpsztype where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn GetClusterResourceTypeKey ( hcluster : *const _HCLUSTER , lpsztypename : :: windows::core::PCWSTR , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetClusterResourceTypeKey ( hcluster : *const _HCLUSTER , lpsztypename : :: windows::core::PCWSTR , samdesired : u32 ) -> super::super::System::Registry:: HKEY ); let result__ = GetClusterResourceTypeKey(hcluster, lpsztypename.into().abi(), samdesired); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] @@ -1390,7 +1390,7 @@ pub unsafe fn GetNodeCloudTypeDW(ppsznodename: P0, nodecloudtype: *mut u32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn GetNodeCloudTypeDW ( ppsznodename : :: windows::core::PCWSTR , nodecloudtype : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetNodeCloudTypeDW ( ppsznodename : :: windows::core::PCWSTR , nodecloudtype : *mut u32 ) -> u32 ); GetNodeCloudTypeDW(ppsznodename.into().abi(), nodecloudtype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1399,26 +1399,26 @@ pub unsafe fn GetNodeClusterState(lpsznodename: P0, pdwclusterstate: *mut u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn GetNodeClusterState ( lpsznodename : :: windows::core::PCWSTR , pdwclusterstate : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetNodeClusterState ( lpsznodename : :: windows::core::PCWSTR , pdwclusterstate : *mut u32 ) -> u32 ); GetNodeClusterState(lpsznodename.into().abi(), pdwclusterstate) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNotifyEventHandle(hchange: *const _HCHANGE, lphtargetevent: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn GetNotifyEventHandle ( hchange : *const _HCHANGE , lphtargetevent : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn GetNotifyEventHandle ( hchange : *const _HCHANGE , lphtargetevent : *mut super::super::Foundation:: HANDLE ) -> u32 ); GetNotifyEventHandle(hchange, lphtargetevent) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn InitializeClusterHealthFault(clusterhealthfault: *mut CLUSTER_HEALTH_FAULT) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn InitializeClusterHealthFault ( clusterhealthfault : *mut CLUSTER_HEALTH_FAULT ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn InitializeClusterHealthFault ( clusterhealthfault : *mut CLUSTER_HEALTH_FAULT ) -> u32 ); InitializeClusterHealthFault(clusterhealthfault) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn InitializeClusterHealthFaultArray(clusterhealthfaultarray: *mut CLUSTER_HEALTH_FAULT_ARRAY) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn InitializeClusterHealthFaultArray ( clusterhealthfaultarray : *mut CLUSTER_HEALTH_FAULT_ARRAY ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn InitializeClusterHealthFaultArray ( clusterhealthfaultarray : *mut CLUSTER_HEALTH_FAULT_ARRAY ) -> u32 ); InitializeClusterHealthFaultArray(clusterhealthfaultarray) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1428,67 +1428,67 @@ pub unsafe fn IsFileOnClusterSharedVolume(lpszpathname: P0, pbfileisonshared where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn IsFileOnClusterSharedVolume ( lpszpathname : :: windows::core::PCWSTR , pbfileisonsharedvolume : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn IsFileOnClusterSharedVolume ( lpszpathname : :: windows::core::PCWSTR , pbfileisonsharedvolume : *mut super::super::Foundation:: BOOL ) -> u32 ); IsFileOnClusterSharedVolume(lpszpathname.into().abi(), pbfileisonsharedvolume) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn MoveClusterGroup(hgroup: *const _HGROUP, hdestinationnode: ::core::option::Option<*const _HNODE>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn MoveClusterGroup ( hgroup : *const _HGROUP , hdestinationnode : *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn MoveClusterGroup ( hgroup : *const _HGROUP , hdestinationnode : *const _HNODE ) -> u32 ); MoveClusterGroup(hgroup, ::core::mem::transmute(hdestinationnode.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn MoveClusterGroupEx(hgroup: *const _HGROUP, hdestinationnode: ::core::option::Option<*const _HNODE>, dwmoveflags: u32, lpinbuffer: ::core::option::Option<&[u8]>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn MoveClusterGroupEx ( hgroup : *const _HGROUP , hdestinationnode : *const _HNODE , dwmoveflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn MoveClusterGroupEx ( hgroup : *const _HGROUP , hdestinationnode : *const _HNODE , dwmoveflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); MoveClusterGroupEx(hgroup, ::core::mem::transmute(hdestinationnode.unwrap_or(::std::ptr::null())), dwmoveflags, ::core::mem::transmute(lpinbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpinbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OfflineClusterGroup(hgroup: *const _HGROUP) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn OfflineClusterGroup ( hgroup : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OfflineClusterGroup ( hgroup : *const _HGROUP ) -> u32 ); OfflineClusterGroup(hgroup) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OfflineClusterGroupEx(hgroup: *const _HGROUP, dwofflineflags: u32, lpinbuffer: ::core::option::Option<&[u8]>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn OfflineClusterGroupEx ( hgroup : *const _HGROUP , dwofflineflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OfflineClusterGroupEx ( hgroup : *const _HGROUP , dwofflineflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); OfflineClusterGroupEx(hgroup, dwofflineflags, ::core::mem::transmute(lpinbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpinbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OfflineClusterResource(hresource: *const _HRESOURCE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn OfflineClusterResource ( hresource : *const _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OfflineClusterResource ( hresource : *const _HRESOURCE ) -> u32 ); OfflineClusterResource(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OfflineClusterResourceEx(hresource: *const _HRESOURCE, dwofflineflags: u32, lpinbuffer: ::core::option::Option<&[u8]>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn OfflineClusterResourceEx ( hresource : *const _HRESOURCE , dwofflineflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OfflineClusterResourceEx ( hresource : *const _HRESOURCE , dwofflineflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); OfflineClusterResourceEx(hresource, dwofflineflags, ::core::mem::transmute(lpinbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpinbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OnlineClusterGroup(hgroup: *const _HGROUP, hdestinationnode: ::core::option::Option<*const _HNODE>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn OnlineClusterGroup ( hgroup : *const _HGROUP , hdestinationnode : *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OnlineClusterGroup ( hgroup : *const _HGROUP , hdestinationnode : *const _HNODE ) -> u32 ); OnlineClusterGroup(hgroup, ::core::mem::transmute(hdestinationnode.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OnlineClusterGroupEx(hgroup: *const _HGROUP, hdestinationnode: ::core::option::Option<*const _HNODE>, dwonlineflags: u32, lpinbuffer: ::core::option::Option<&[u8]>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn OnlineClusterGroupEx ( hgroup : *const _HGROUP , hdestinationnode : *const _HNODE , dwonlineflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OnlineClusterGroupEx ( hgroup : *const _HGROUP , hdestinationnode : *const _HNODE , dwonlineflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); OnlineClusterGroupEx(hgroup, ::core::mem::transmute(hdestinationnode.unwrap_or(::std::ptr::null())), dwonlineflags, ::core::mem::transmute(lpinbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpinbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OnlineClusterResource(hresource: *const _HRESOURCE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn OnlineClusterResource ( hresource : *const _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OnlineClusterResource ( hresource : *const _HRESOURCE ) -> u32 ); OnlineClusterResource(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OnlineClusterResourceEx(hresource: *const _HRESOURCE, dwonlineflags: u32, lpinbuffer: ::core::option::Option<&[u8]>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn OnlineClusterResourceEx ( hresource : *const _HRESOURCE , dwonlineflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OnlineClusterResourceEx ( hresource : *const _HRESOURCE , dwonlineflags : u32 , lpinbuffer : *const u8 , cbinbuffersize : u32 ) -> u32 ); OnlineClusterResourceEx(hresource, dwonlineflags, ::core::mem::transmute(lpinbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpinbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1497,7 +1497,7 @@ pub unsafe fn OpenCluster(lpszclustername: P0) -> *mut _HCLUSTER where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenCluster ( lpszclustername : :: windows::core::PCWSTR ) -> *mut _HCLUSTER ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenCluster ( lpszclustername : :: windows::core::PCWSTR ) -> *mut _HCLUSTER ); OpenCluster(lpszclustername.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1506,7 +1506,7 @@ pub unsafe fn OpenClusterCryptProvider(lpszresource: P0, lpszprovider: *cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn OpenClusterCryptProvider ( lpszresource : :: windows::core::PCWSTR , lpszprovider : *const i8 , dwtype : u32 , dwflags : u32 ) -> *mut _HCLUSCRYPTPROVIDER ); + ::windows::imp::link ! ( "resutils.dll""system" fn OpenClusterCryptProvider ( lpszresource : :: windows::core::PCWSTR , lpszprovider : *const i8 , dwtype : u32 , dwflags : u32 ) -> *mut _HCLUSCRYPTPROVIDER ); OpenClusterCryptProvider(lpszresource.into().abi(), lpszprovider, dwtype, dwflags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1516,7 +1516,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn OpenClusterCryptProviderEx ( lpszresource : :: windows::core::PCWSTR , lpszkeyname : :: windows::core::PCWSTR , lpszprovider : *const i8 , dwtype : u32 , dwflags : u32 ) -> *mut _HCLUSCRYPTPROVIDER ); + ::windows::imp::link ! ( "resutils.dll""system" fn OpenClusterCryptProviderEx ( lpszresource : :: windows::core::PCWSTR , lpszkeyname : :: windows::core::PCWSTR , lpszprovider : *const i8 , dwtype : u32 , dwflags : u32 ) -> *mut _HCLUSCRYPTPROVIDER ); OpenClusterCryptProviderEx(lpszresource.into().abi(), lpszkeyname.into().abi(), lpszprovider, dwtype, dwflags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1525,7 +1525,7 @@ pub unsafe fn OpenClusterEx(lpszclustername: P0, desiredaccess: u32, granted where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterEx ( lpszclustername : :: windows::core::PCWSTR , desiredaccess : u32 , grantedaccess : *mut u32 ) -> *mut _HCLUSTER ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterEx ( lpszclustername : :: windows::core::PCWSTR , desiredaccess : u32 , grantedaccess : *mut u32 ) -> *mut _HCLUSTER ); OpenClusterEx(lpszclustername.into().abi(), desiredaccess, ::core::mem::transmute(grantedaccess.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1534,7 +1534,7 @@ pub unsafe fn OpenClusterGroup(hcluster: *const _HCLUSTER, lpszgroupname: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterGroup ( hcluster : *const _HCLUSTER , lpszgroupname : :: windows::core::PCWSTR ) -> *mut _HGROUP ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterGroup ( hcluster : *const _HCLUSTER , lpszgroupname : :: windows::core::PCWSTR ) -> *mut _HGROUP ); OpenClusterGroup(hcluster, lpszgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1543,7 +1543,7 @@ pub unsafe fn OpenClusterGroupEx(hcluster: *const _HCLUSTER, lpszgroupname: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterGroupEx ( hcluster : *const _HCLUSTER , lpszgroupname : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HGROUP ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterGroupEx ( hcluster : *const _HCLUSTER , lpszgroupname : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HGROUP ); OpenClusterGroupEx(hcluster, lpszgroupname.into().abi(), dwdesiredaccess, ::core::mem::transmute(lpdwgrantedaccess.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1552,7 +1552,7 @@ pub unsafe fn OpenClusterGroupSet(hcluster: *const _HCLUSTER, lpszgroupsetna where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterGroupSet ( hcluster : *const _HCLUSTER , lpszgroupsetname : :: windows::core::PCWSTR ) -> *mut _HGROUPSET ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterGroupSet ( hcluster : *const _HCLUSTER , lpszgroupsetname : :: windows::core::PCWSTR ) -> *mut _HGROUPSET ); OpenClusterGroupSet(hcluster, lpszgroupsetname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1561,7 +1561,7 @@ pub unsafe fn OpenClusterNetInterface(hcluster: *const _HCLUSTER, lpszinterf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterNetInterface ( hcluster : *const _HCLUSTER , lpszinterfacename : :: windows::core::PCWSTR ) -> *mut _HNETINTERFACE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterNetInterface ( hcluster : *const _HCLUSTER , lpszinterfacename : :: windows::core::PCWSTR ) -> *mut _HNETINTERFACE ); OpenClusterNetInterface(hcluster, lpszinterfacename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1570,7 +1570,7 @@ pub unsafe fn OpenClusterNetInterfaceEx(hcluster: *const _HCLUSTER, lpszinte where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterNetInterfaceEx ( hcluster : *const _HCLUSTER , lpszinterfacename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HNETINTERFACE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterNetInterfaceEx ( hcluster : *const _HCLUSTER , lpszinterfacename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HNETINTERFACE ); OpenClusterNetInterfaceEx(hcluster, lpszinterfacename.into().abi(), dwdesiredaccess, ::core::mem::transmute(lpdwgrantedaccess.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1579,7 +1579,7 @@ pub unsafe fn OpenClusterNetwork(hcluster: *const _HCLUSTER, lpsznetworkname where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterNetwork ( hcluster : *const _HCLUSTER , lpsznetworkname : :: windows::core::PCWSTR ) -> *mut _HNETWORK ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterNetwork ( hcluster : *const _HCLUSTER , lpsznetworkname : :: windows::core::PCWSTR ) -> *mut _HNETWORK ); OpenClusterNetwork(hcluster, lpsznetworkname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1588,7 +1588,7 @@ pub unsafe fn OpenClusterNetworkEx(hcluster: *const _HCLUSTER, lpsznetworkna where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterNetworkEx ( hcluster : *const _HCLUSTER , lpsznetworkname : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HNETWORK ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterNetworkEx ( hcluster : *const _HCLUSTER , lpsznetworkname : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HNETWORK ); OpenClusterNetworkEx(hcluster, lpsznetworkname.into().abi(), dwdesiredaccess, ::core::mem::transmute(lpdwgrantedaccess.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1597,13 +1597,13 @@ pub unsafe fn OpenClusterNode(hcluster: *const _HCLUSTER, lpsznodename: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterNode ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR ) -> *mut _HNODE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterNode ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR ) -> *mut _HNODE ); OpenClusterNode(hcluster, lpsznodename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn OpenClusterNodeById(hcluster: *const _HCLUSTER, nodeid: u32) -> *mut _HNODE { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterNodeById ( hcluster : *const _HCLUSTER , nodeid : u32 ) -> *mut _HNODE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterNodeById ( hcluster : *const _HCLUSTER , nodeid : u32 ) -> *mut _HNODE ); OpenClusterNodeById(hcluster, nodeid) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1612,7 +1612,7 @@ pub unsafe fn OpenClusterNodeEx(hcluster: *const _HCLUSTER, lpsznodename: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterNodeEx ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HNODE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterNodeEx ( hcluster : *const _HCLUSTER , lpsznodename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HNODE ); OpenClusterNodeEx(hcluster, lpsznodename.into().abi(), dwdesiredaccess, ::core::mem::transmute(lpdwgrantedaccess.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1621,7 +1621,7 @@ pub unsafe fn OpenClusterResource(hcluster: *const _HCLUSTER, lpszresourcena where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterResource ( hcluster : *const _HCLUSTER , lpszresourcename : :: windows::core::PCWSTR ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterResource ( hcluster : *const _HCLUSTER , lpszresourcename : :: windows::core::PCWSTR ) -> *mut _HRESOURCE ); OpenClusterResource(hcluster, lpszresourcename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1630,13 +1630,13 @@ pub unsafe fn OpenClusterResourceEx(hcluster: *const _HCLUSTER, lpszresource where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn OpenClusterResourceEx ( hcluster : *const _HCLUSTER , lpszresourcename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "clusapi.dll""system" fn OpenClusterResourceEx ( hcluster : *const _HCLUSTER , lpszresourcename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , lpdwgrantedaccess : *mut u32 ) -> *mut _HRESOURCE ); OpenClusterResourceEx(hcluster, lpszresourcename.into().abi(), dwdesiredaccess, ::core::mem::transmute(lpdwgrantedaccess.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn PauseClusterNode(hnode: *const _HNODE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn PauseClusterNode ( hnode : *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn PauseClusterNode ( hnode : *const _HNODE ) -> u32 ); PauseClusterNode(hnode) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1646,14 +1646,14 @@ pub unsafe fn PauseClusterNodeEx(hnode: *const _HNODE, bdrainnode: P0, dwpau where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn PauseClusterNodeEx ( hnode : *const _HNODE , bdrainnode : super::super::Foundation:: BOOL , dwpauseflags : u32 , hnodedraintarget : *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn PauseClusterNodeEx ( hnode : *const _HNODE , bdrainnode : super::super::Foundation:: BOOL , dwpauseflags : u32 , hnodedraintarget : *const _HNODE ) -> u32 ); PauseClusterNodeEx(hnode, bdrainnode.into(), dwpauseflags, ::core::mem::transmute(hnodedraintarget.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryAppInstanceVersion(appinstanceid: *const ::windows::core::GUID, instanceversionhigh: *mut u64, instanceversionlow: *mut u64, versionstatus: *mut super::super::Foundation::NTSTATUS) -> u32 { - ::windows::core::link ! ( "ntlanman.dll""system" fn QueryAppInstanceVersion ( appinstanceid : *const :: windows::core::GUID , instanceversionhigh : *mut u64 , instanceversionlow : *mut u64 , versionstatus : *mut super::super::Foundation:: NTSTATUS ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn QueryAppInstanceVersion ( appinstanceid : *const :: windows::core::GUID , instanceversionhigh : *mut u64 , instanceversionlow : *mut u64 , versionstatus : *mut super::super::Foundation:: NTSTATUS ) -> u32 ); QueryAppInstanceVersion(appinstanceid, instanceversionhigh, instanceversionlow, versionstatus) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1664,13 +1664,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntlanman.dll""system" fn RegisterAppInstance ( processhandle : super::super::Foundation:: HANDLE , appinstanceid : *const :: windows::core::GUID , childreninheritappinstance : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn RegisterAppInstance ( processhandle : super::super::Foundation:: HANDLE , appinstanceid : *const :: windows::core::GUID , childreninheritappinstance : super::super::Foundation:: BOOL ) -> u32 ); RegisterAppInstance(processhandle.into(), appinstanceid, childreninheritappinstance.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn RegisterAppInstanceVersion(appinstanceid: *const ::windows::core::GUID, instanceversionhigh: u64, instanceversionlow: u64) -> u32 { - ::windows::core::link ! ( "ntlanman.dll""system" fn RegisterAppInstanceVersion ( appinstanceid : *const :: windows::core::GUID , instanceversionhigh : u64 , instanceversionlow : u64 ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn RegisterAppInstanceVersion ( appinstanceid : *const :: windows::core::GUID , instanceversionhigh : u64 , instanceversionlow : u64 ) -> u32 ); RegisterAppInstanceVersion(appinstanceid, instanceversionhigh, instanceversionlow) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1680,7 +1680,7 @@ pub unsafe fn RegisterClusterNotify(hchange: *const _HCHANGE, dwfiltertype: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn RegisterClusterNotify ( hchange : *const _HCHANGE , dwfiltertype : u32 , hobject : super::super::Foundation:: HANDLE , dwnotifykey : usize ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RegisterClusterNotify ( hchange : *const _HCHANGE , dwfiltertype : u32 , hobject : super::super::Foundation:: HANDLE , dwnotifykey : usize ) -> u32 ); RegisterClusterNotify(hchange, dwfiltertype, hobject.into(), dwnotifykey) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1690,7 +1690,7 @@ pub unsafe fn RegisterClusterNotifyV2(hchange: *const _HCHANGE, filter: NOTI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn RegisterClusterNotifyV2 ( hchange : *const _HCHANGE , filter : NOTIFY_FILTER_AND_TYPE , hobject : super::super::Foundation:: HANDLE , dwnotifykey : usize ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RegisterClusterNotifyV2 ( hchange : *const _HCHANGE , filter : NOTIFY_FILTER_AND_TYPE , hobject : super::super::Foundation:: HANDLE , dwnotifykey : usize ) -> u32 ); RegisterClusterNotifyV2(hchange, ::core::mem::transmute(filter), hobject.into(), dwnotifykey) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1699,25 +1699,25 @@ pub unsafe fn RegisterClusterResourceTypeNotifyV2(hchange: *const _HCHANGE, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn RegisterClusterResourceTypeNotifyV2 ( hchange : *const _HCHANGE , hcluster : *const _HCLUSTER , flags : i64 , restypename : :: windows::core::PCWSTR , dwnotifykey : usize ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RegisterClusterResourceTypeNotifyV2 ( hchange : *const _HCHANGE , hcluster : *const _HCLUSTER , flags : i64 , restypename : :: windows::core::PCWSTR , dwnotifykey : usize ) -> u32 ); RegisterClusterResourceTypeNotifyV2(hchange, hcluster, flags, restypename.into().abi(), dwnotifykey) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn RemoveClusterGroupDependency(hgroup: *const _HGROUP, hdependson: *const _HGROUP) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveClusterGroupDependency ( hgroup : *const _HGROUP , hdependson : *const _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveClusterGroupDependency ( hgroup : *const _HGROUP , hdependson : *const _HGROUP ) -> u32 ); RemoveClusterGroupDependency(hgroup, hdependson) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn RemoveClusterGroupSetDependency(hgroupset: *const _HGROUPSET, hdependson: *const _HGROUPSET) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveClusterGroupSetDependency ( hgroupset : *const _HGROUPSET , hdependson : *const _HGROUPSET ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveClusterGroupSetDependency ( hgroupset : *const _HGROUPSET , hdependson : *const _HGROUPSET ) -> u32 ); RemoveClusterGroupSetDependency(hgroupset, hdependson) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn RemoveClusterGroupToGroupSetDependency(hgroup: *const _HGROUP, hdependson: *const _HGROUPSET) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveClusterGroupToGroupSetDependency ( hgroup : *const _HGROUP , hdependson : *const _HGROUPSET ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveClusterGroupToGroupSetDependency ( hgroup : *const _HGROUP , hdependson : *const _HGROUPSET ) -> u32 ); RemoveClusterGroupToGroupSetDependency(hgroup, hdependson) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1727,19 +1727,19 @@ pub unsafe fn RemoveClusterNameAccount(hcluster: *const _HCLUSTER, bdeleteco where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveClusterNameAccount ( hcluster : *const _HCLUSTER , bdeletecomputerobjects : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveClusterNameAccount ( hcluster : *const _HCLUSTER , bdeletecomputerobjects : super::super::Foundation:: BOOL ) -> u32 ); RemoveClusterNameAccount(hcluster, bdeletecomputerobjects.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn RemoveClusterResourceDependency(hresource: *const _HRESOURCE, hdependson: *const _HRESOURCE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveClusterResourceDependency ( hresource : *const _HRESOURCE , hdependson : *const _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveClusterResourceDependency ( hresource : *const _HRESOURCE , hdependson : *const _HRESOURCE ) -> u32 ); RemoveClusterResourceDependency(hresource, hdependson) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn RemoveClusterResourceNode(hresource: *const _HRESOURCE, hnode: *const _HNODE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveClusterResourceNode ( hresource : *const _HRESOURCE , hnode : *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveClusterResourceNode ( hresource : *const _HRESOURCE , hnode : *const _HNODE ) -> u32 ); RemoveClusterResourceNode(hresource, hnode) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1748,7 +1748,7 @@ pub unsafe fn RemoveClusterStorageNode(hcluster: *const _HCLUSTER, lpszclust where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveClusterStorageNode ( hcluster : *const _HCLUSTER , lpszclusterstorageenclosurename : :: windows::core::PCWSTR , dwtimeout : u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveClusterStorageNode ( hcluster : *const _HCLUSTER , lpszclusterstorageenclosurename : :: windows::core::PCWSTR , dwtimeout : u32 , dwflags : u32 ) -> u32 ); RemoveClusterStorageNode(hcluster, lpszclusterstorageenclosurename.into().abi(), dwtimeout, dwflags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1758,13 +1758,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveCrossClusterGroupSetDependency ( hdependentgroupset : *const _HGROUPSET , lpremoteclustername : :: windows::core::PCWSTR , lpremotegroupsetname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveCrossClusterGroupSetDependency ( hdependentgroupset : *const _HGROUPSET , lpremoteclustername : :: windows::core::PCWSTR , lpremotegroupsetname : :: windows::core::PCWSTR ) -> u32 ); RemoveCrossClusterGroupSetDependency(hdependentgroupset, lpremoteclustername.into().abi(), lpremotegroupsetname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn RemoveResourceFromClusterSharedVolumes(hresource: *const _HRESOURCE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn RemoveResourceFromClusterSharedVolumes ( hresource : *const _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RemoveResourceFromClusterSharedVolumes ( hresource : *const _HRESOURCE ) -> u32 ); RemoveResourceFromClusterSharedVolumes(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -1774,7 +1774,7 @@ pub unsafe fn ResUtilAddUnknownProperties(hkeyclusterkey: P0, ppropertytable where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilAddUnknownProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertylist : *mut ::core::ffi::c_void , pcboutpropertylistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilAddUnknownProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertylist : *mut ::core::ffi::c_void , pcboutpropertylistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); ResUtilAddUnknownProperties(hkeyclusterkey.into(), ppropertytable, poutpropertylist, pcboutpropertylistsize, pcbbytesreturned, pcbrequired) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1783,26 +1783,26 @@ pub unsafe fn ResUtilCreateDirectoryTree(pszpath: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilCreateDirectoryTree ( pszpath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilCreateDirectoryTree ( pszpath : :: windows::core::PCWSTR ) -> u32 ); ResUtilCreateDirectoryTree(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilDupGroup(group: *mut _HGROUP, copy: *mut *mut _HGROUP) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilDupGroup ( group : *mut _HGROUP , copy : *mut *mut _HGROUP ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilDupGroup ( group : *mut _HGROUP , copy : *mut *mut _HGROUP ) -> u32 ); ResUtilDupGroup(group, copy) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilDupParameterBlock(poutparams: *mut u8, pinparams: *const u8, ppropertytable: *const RESUTIL_PROPERTY_ITEM) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilDupParameterBlock ( poutparams : *mut u8 , pinparams : *const u8 , ppropertytable : *const RESUTIL_PROPERTY_ITEM ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilDupParameterBlock ( poutparams : *mut u8 , pinparams : *const u8 , ppropertytable : *const RESUTIL_PROPERTY_ITEM ) -> u32 ); ResUtilDupParameterBlock(poutparams, pinparams, ppropertytable) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilDupResource(group: *mut _HRESOURCE, copy: *mut *mut _HRESOURCE) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilDupResource ( group : *mut _HRESOURCE , copy : *mut *mut _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilDupResource ( group : *mut _HRESOURCE , copy : *mut *mut _HRESOURCE ) -> u32 ); ResUtilDupResource(group, copy) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1811,19 +1811,19 @@ pub unsafe fn ResUtilDupString(pszinstring: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilDupString ( pszinstring : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilDupString ( pszinstring : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); ResUtilDupString(pszinstring.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilEnumGroups(hcluster: *mut _HCLUSTER, hself: *mut _HGROUP, prescallback: LPGROUP_CALLBACK_EX, pparameter: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilEnumGroups ( hcluster : *mut _HCLUSTER , hself : *mut _HGROUP , prescallback : LPGROUP_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilEnumGroups ( hcluster : *mut _HCLUSTER , hself : *mut _HGROUP , prescallback : LPGROUP_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void ) -> u32 ); ResUtilEnumGroups(hcluster, hself, prescallback, pparameter) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilEnumGroupsEx(hcluster: *mut _HCLUSTER, hself: *mut _HGROUP, grouptype: CLUSGROUP_TYPE, prescallback: LPGROUP_CALLBACK_EX, pparameter: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilEnumGroupsEx ( hcluster : *mut _HCLUSTER , hself : *mut _HGROUP , grouptype : CLUSGROUP_TYPE , prescallback : LPGROUP_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilEnumGroupsEx ( hcluster : *mut _HCLUSTER , hself : *mut _HGROUP , grouptype : CLUSGROUP_TYPE , prescallback : LPGROUP_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void ) -> u32 ); ResUtilEnumGroupsEx(hcluster, hself, grouptype, prescallback, pparameter) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -1833,14 +1833,14 @@ pub unsafe fn ResUtilEnumPrivateProperties(hkeyclusterkey: P0, pszoutpropert where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilEnumPrivateProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszoutproperties : :: windows::core::PWSTR , cboutpropertiessize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilEnumPrivateProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszoutproperties : :: windows::core::PWSTR , cboutpropertiessize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); ResUtilEnumPrivateProperties(hkeyclusterkey.into(), ::core::mem::transmute(pszoutproperties), cboutpropertiessize, pcbbytesreturned, pcbrequired) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilEnumProperties(ppropertytable: *const RESUTIL_PROPERTY_ITEM, pszoutproperties: ::windows::core::PWSTR, cboutpropertiessize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilEnumProperties ( ppropertytable : *const RESUTIL_PROPERTY_ITEM , pszoutproperties : :: windows::core::PWSTR , cboutpropertiessize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilEnumProperties ( ppropertytable : *const RESUTIL_PROPERTY_ITEM , pszoutproperties : :: windows::core::PWSTR , cboutpropertiessize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); ResUtilEnumProperties(ppropertytable, ::core::mem::transmute(pszoutproperties), cboutpropertiessize, pcbbytesreturned, pcbrequired) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1849,7 +1849,7 @@ pub unsafe fn ResUtilEnumResources(hself: *mut _HRESOURCE, lpszrestypename: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilEnumResources ( hself : *mut _HRESOURCE , lpszrestypename : :: windows::core::PCWSTR , prescallback : LPRESOURCE_CALLBACK , pparameter : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilEnumResources ( hself : *mut _HRESOURCE , lpszrestypename : :: windows::core::PCWSTR , prescallback : LPRESOURCE_CALLBACK , pparameter : *mut ::core::ffi::c_void ) -> u32 ); ResUtilEnumResources(hself, lpszrestypename.into().abi(), prescallback, pparameter) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1858,7 +1858,7 @@ pub unsafe fn ResUtilEnumResourcesEx(hcluster: *mut _HCLUSTER, hself: *mut _ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilEnumResourcesEx ( hcluster : *mut _HCLUSTER , hself : *mut _HRESOURCE , lpszrestypename : :: windows::core::PCWSTR , prescallback : LPRESOURCE_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilEnumResourcesEx ( hcluster : *mut _HCLUSTER , hself : *mut _HRESOURCE , lpszrestypename : :: windows::core::PCWSTR , prescallback : LPRESOURCE_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void ) -> u32 ); ResUtilEnumResourcesEx(hcluster, hself, lpszrestypename.into().abi(), prescallback, pparameter) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1867,7 +1867,7 @@ pub unsafe fn ResUtilEnumResourcesEx2(hcluster: *mut _HCLUSTER, hself: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilEnumResourcesEx2 ( hcluster : *mut _HCLUSTER , hself : *mut _HRESOURCE , lpszrestypename : :: windows::core::PCWSTR , prescallback : LPRESOURCE_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void , dwdesiredaccess : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilEnumResourcesEx2 ( hcluster : *mut _HCLUSTER , hself : *mut _HRESOURCE , lpszrestypename : :: windows::core::PCWSTR , prescallback : LPRESOURCE_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void , dwdesiredaccess : u32 ) -> u32 ); ResUtilEnumResourcesEx2(hcluster, hself, lpszrestypename.into().abi(), prescallback, pparameter, dwdesiredaccess) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1876,7 +1876,7 @@ pub unsafe fn ResUtilExpandEnvironmentStrings(pszsrc: P0) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilExpandEnvironmentStrings ( pszsrc : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilExpandEnvironmentStrings ( pszsrc : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); ResUtilExpandEnvironmentStrings(pszsrc.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1885,13 +1885,13 @@ pub unsafe fn ResUtilFindBinaryProperty(ppropertylist: *const ::core::ffi::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindBinaryProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pbpropertyvalue : *mut *mut u8 , pcbpropertyvaluesize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindBinaryProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pbpropertyvalue : *mut *mut u8 , pcbpropertyvaluesize : *mut u32 ) -> u32 ); ResUtilFindBinaryProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), ::core::mem::transmute(pbpropertyvalue.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbpropertyvaluesize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilFindDependentDiskResourceDriveLetter(hcluster: *const _HCLUSTER, hresource: *const _HRESOURCE, pszdriveletter: ::windows::core::PWSTR, pcchdriveletter: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindDependentDiskResourceDriveLetter ( hcluster : *const _HCLUSTER , hresource : *const _HRESOURCE , pszdriveletter : :: windows::core::PWSTR , pcchdriveletter : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindDependentDiskResourceDriveLetter ( hcluster : *const _HCLUSTER , hresource : *const _HRESOURCE , pszdriveletter : :: windows::core::PWSTR , pcchdriveletter : *mut u32 ) -> u32 ); ResUtilFindDependentDiskResourceDriveLetter(hcluster, hresource, ::core::mem::transmute(pszdriveletter), pcchdriveletter) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1900,7 +1900,7 @@ pub unsafe fn ResUtilFindDwordProperty(ppropertylist: *const ::core::ffi::c_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindDwordProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pdwpropertyvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindDwordProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pdwpropertyvalue : *mut u32 ) -> u32 ); ResUtilFindDwordProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), pdwpropertyvalue) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1909,7 +1909,7 @@ pub unsafe fn ResUtilFindExpandSzProperty(ppropertylist: *const ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindExpandSzProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pszpropertyvalue : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindExpandSzProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pszpropertyvalue : *mut :: windows::core::PWSTR ) -> u32 ); ResUtilFindExpandSzProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), ::core::mem::transmute(pszpropertyvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1918,7 +1918,7 @@ pub unsafe fn ResUtilFindExpandedSzProperty(ppropertylist: *const ::core::ff where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindExpandedSzProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pszpropertyvalue : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindExpandedSzProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pszpropertyvalue : *mut :: windows::core::PWSTR ) -> u32 ); ResUtilFindExpandedSzProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), ::core::mem::transmute(pszpropertyvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -1928,7 +1928,7 @@ pub unsafe fn ResUtilFindFileTimeProperty(ppropertylist: *const ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindFileTimeProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pftpropertyvalue : *mut super::super::Foundation:: FILETIME ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindFileTimeProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pftpropertyvalue : *mut super::super::Foundation:: FILETIME ) -> u32 ); ResUtilFindFileTimeProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), pftpropertyvalue) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1937,7 +1937,7 @@ pub unsafe fn ResUtilFindLongProperty(ppropertylist: *const ::core::ffi::c_v where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindLongProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , plpropertyvalue : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindLongProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , plpropertyvalue : *mut i32 ) -> u32 ); ResUtilFindLongProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), plpropertyvalue) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1946,7 +1946,7 @@ pub unsafe fn ResUtilFindMultiSzProperty(ppropertylist: *const ::core::ffi:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindMultiSzProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pszpropertyvalue : *mut :: windows::core::PWSTR , pcbpropertyvaluesize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindMultiSzProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pszpropertyvalue : *mut :: windows::core::PWSTR , pcbpropertyvaluesize : *mut u32 ) -> u32 ); ResUtilFindMultiSzProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), pszpropertyvalue, pcbpropertyvaluesize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1955,7 +1955,7 @@ pub unsafe fn ResUtilFindSzProperty(ppropertylist: *const ::core::ffi::c_voi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindSzProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pszpropertyvalue : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindSzProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , pszpropertyvalue : *mut :: windows::core::PWSTR ) -> u32 ); ResUtilFindSzProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), ::core::mem::transmute(pszpropertyvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -1964,20 +1964,20 @@ pub unsafe fn ResUtilFindULargeIntegerProperty(ppropertylist: *const ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFindULargeIntegerProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , plpropertyvalue : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFindULargeIntegerProperty ( ppropertylist : *const ::core::ffi::c_void , cbpropertylistsize : u32 , pszpropertyname : :: windows::core::PCWSTR , plpropertyvalue : *mut u64 ) -> u32 ); ResUtilFindULargeIntegerProperty(ppropertylist, cbpropertylistsize, pszpropertyname.into().abi(), plpropertyvalue) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilFreeEnvironment(lpenvironment: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFreeEnvironment ( lpenvironment : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFreeEnvironment ( lpenvironment : *mut ::core::ffi::c_void ) -> u32 ); ResUtilFreeEnvironment(lpenvironment) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilFreeParameterBlock(poutparams: *mut u8, pinparams: *const u8, ppropertytable: *const RESUTIL_PROPERTY_ITEM) { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilFreeParameterBlock ( poutparams : *mut u8 , pinparams : *const u8 , ppropertytable : *const RESUTIL_PROPERTY_ITEM ) -> ( ) ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilFreeParameterBlock ( poutparams : *mut u8 , pinparams : *const u8 , ppropertytable : *const RESUTIL_PROPERTY_ITEM ) -> ( ) ); ResUtilFreeParameterBlock(poutparams, pinparams, ppropertytable) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -1987,13 +1987,13 @@ pub unsafe fn ResUtilGetAllProperties(hkeyclusterkey: P0, ppropertytable: *c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetAllProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertylist : *mut ::core::ffi::c_void , cboutpropertylistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetAllProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertylist : *mut ::core::ffi::c_void , cboutpropertylistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); ResUtilGetAllProperties(hkeyclusterkey.into(), ppropertytable, poutpropertylist, cboutpropertylistsize, pcbbytesreturned, pcbrequired) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetBinaryProperty(ppboutvalue: *mut *mut u8, pcboutvaluesize: *mut u32, pvaluestruct: *const CLUSPROP_BINARY, pboldvalue: ::core::option::Option<&[u8]>, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetBinaryProperty ( ppboutvalue : *mut *mut u8 , pcboutvaluesize : *mut u32 , pvaluestruct : *const CLUSPROP_BINARY , pboldvalue : *const u8 , cboldvaluesize : u32 , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetBinaryProperty ( ppboutvalue : *mut *mut u8 , pcboutvaluesize : *mut u32 , pvaluestruct : *const CLUSPROP_BINARY , pboldvalue : *const u8 , cboldvaluesize : u32 , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); ResUtilGetBinaryProperty(ppboutvalue, pcboutvaluesize, pvaluestruct, ::core::mem::transmute(pboldvalue.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboldvalue.as_deref().map_or(0, |slice| slice.len() as _), pppropertylist, pcbpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2004,49 +2004,49 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetBinaryValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , ppboutvalue : *mut *mut u8 , pcboutvaluesize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetBinaryValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , ppboutvalue : *mut *mut u8 , pcboutvaluesize : *mut u32 ) -> u32 ); ResUtilGetBinaryValue(hkeyclusterkey.into(), pszvaluename.into().abi(), ppboutvalue, pcboutvaluesize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetClusterGroupType(hgroup: *mut _HGROUP, grouptype: *mut CLUSGROUP_TYPE) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetClusterGroupType ( hgroup : *mut _HGROUP , grouptype : *mut CLUSGROUP_TYPE ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetClusterGroupType ( hgroup : *mut _HGROUP , grouptype : *mut CLUSGROUP_TYPE ) -> u32 ); ResUtilGetClusterGroupType(hgroup, grouptype) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetClusterId(hcluster: *mut _HCLUSTER, guid: *mut ::windows::core::GUID) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetClusterId ( hcluster : *mut _HCLUSTER , guid : *mut :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetClusterId ( hcluster : *mut _HCLUSTER , guid : *mut :: windows::core::GUID ) -> u32 ); ResUtilGetClusterId(hcluster, guid) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetClusterRoleState(hcluster: *const _HCLUSTER, eclusterrole: CLUSTER_ROLE) -> CLUSTER_ROLE_STATE { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetClusterRoleState ( hcluster : *const _HCLUSTER , eclusterrole : CLUSTER_ROLE ) -> CLUSTER_ROLE_STATE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetClusterRoleState ( hcluster : *const _HCLUSTER , eclusterrole : CLUSTER_ROLE ) -> CLUSTER_ROLE_STATE ); ResUtilGetClusterRoleState(hcluster, eclusterrole) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetCoreClusterResources(hcluster: *const _HCLUSTER, phclusternameresource: *mut *mut _HRESOURCE, phclusteripaddressresource: *mut *mut _HRESOURCE, phclusterquorumresource: *mut *mut _HRESOURCE) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetCoreClusterResources ( hcluster : *const _HCLUSTER , phclusternameresource : *mut *mut _HRESOURCE , phclusteripaddressresource : *mut *mut _HRESOURCE , phclusterquorumresource : *mut *mut _HRESOURCE ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetCoreClusterResources ( hcluster : *const _HCLUSTER , phclusternameresource : *mut *mut _HRESOURCE , phclusteripaddressresource : *mut *mut _HRESOURCE , phclusterquorumresource : *mut *mut _HRESOURCE ) -> u32 ); ResUtilGetCoreClusterResources(hcluster, phclusternameresource, phclusteripaddressresource, phclusterquorumresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetCoreClusterResourcesEx(hclusterin: *const _HCLUSTER, phclusternameresourceout: ::core::option::Option<*mut *mut _HRESOURCE>, phclusterquorumresourceout: ::core::option::Option<*mut *mut _HRESOURCE>, dwdesiredaccess: u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetCoreClusterResourcesEx ( hclusterin : *const _HCLUSTER , phclusternameresourceout : *mut *mut _HRESOURCE , phclusterquorumresourceout : *mut *mut _HRESOURCE , dwdesiredaccess : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetCoreClusterResourcesEx ( hclusterin : *const _HCLUSTER , phclusternameresourceout : *mut *mut _HRESOURCE , phclusterquorumresourceout : *mut *mut _HRESOURCE , dwdesiredaccess : u32 ) -> u32 ); ResUtilGetCoreClusterResourcesEx(hclusterin, ::core::mem::transmute(phclusternameresourceout.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phclusterquorumresourceout.unwrap_or(::std::ptr::null_mut())), dwdesiredaccess) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetCoreGroup(hcluster: *mut _HCLUSTER) -> *mut _HGROUP { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetCoreGroup ( hcluster : *mut _HCLUSTER ) -> *mut _HGROUP ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetCoreGroup ( hcluster : *mut _HCLUSTER ) -> *mut _HGROUP ); ResUtilGetCoreGroup(hcluster) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetDwordProperty(pdwoutvalue: *mut u32, pvaluestruct: *const CLUSPROP_DWORD, dwoldvalue: u32, dwminimum: u32, dwmaximum: u32, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetDwordProperty ( pdwoutvalue : *mut u32 , pvaluestruct : *const CLUSPROP_DWORD , dwoldvalue : u32 , dwminimum : u32 , dwmaximum : u32 , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetDwordProperty ( pdwoutvalue : *mut u32 , pvaluestruct : *const CLUSPROP_DWORD , dwoldvalue : u32 , dwminimum : u32 , dwmaximum : u32 , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); ResUtilGetDwordProperty(pdwoutvalue, pvaluestruct, dwoldvalue, dwminimum, dwmaximum, pppropertylist, pcbpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2057,26 +2057,26 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetDwordValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , pdwoutvalue : *mut u32 , dwdefaultvalue : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetDwordValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , pdwoutvalue : *mut u32 , dwdefaultvalue : u32 ) -> u32 ); ResUtilGetDwordValue(hkeyclusterkey.into(), pszvaluename.into().abi(), pdwoutvalue, dwdefaultvalue) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetEnvironmentWithNetName(hresource: *const _HRESOURCE) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetEnvironmentWithNetName ( hresource : *const _HRESOURCE ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetEnvironmentWithNetName ( hresource : *const _HRESOURCE ) -> *mut ::core::ffi::c_void ); ResUtilGetEnvironmentWithNetName(hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilGetFileTimeProperty(pftoutvalue: *mut super::super::Foundation::FILETIME, pvaluestruct: *const CLUSPROP_FILETIME, ftoldvalue: super::super::Foundation::FILETIME, ftminimum: super::super::Foundation::FILETIME, ftmaximum: super::super::Foundation::FILETIME, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetFileTimeProperty ( pftoutvalue : *mut super::super::Foundation:: FILETIME , pvaluestruct : *const CLUSPROP_FILETIME , ftoldvalue : super::super::Foundation:: FILETIME , ftminimum : super::super::Foundation:: FILETIME , ftmaximum : super::super::Foundation:: FILETIME , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetFileTimeProperty ( pftoutvalue : *mut super::super::Foundation:: FILETIME , pvaluestruct : *const CLUSPROP_FILETIME , ftoldvalue : super::super::Foundation:: FILETIME , ftminimum : super::super::Foundation:: FILETIME , ftmaximum : super::super::Foundation:: FILETIME , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); ResUtilGetFileTimeProperty(pftoutvalue, pvaluestruct, ::core::mem::transmute(ftoldvalue), ::core::mem::transmute(ftminimum), ::core::mem::transmute(ftmaximum), pppropertylist, pcbpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetLongProperty(ploutvalue: *mut i32, pvaluestruct: *const CLUSPROP_LONG, loldvalue: i32, lminimum: i32, lmaximum: i32, pppropertylist: *mut *mut u8, pcbpropertylistsize: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetLongProperty ( ploutvalue : *mut i32 , pvaluestruct : *const CLUSPROP_LONG , loldvalue : i32 , lminimum : i32 , lmaximum : i32 , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetLongProperty ( ploutvalue : *mut i32 , pvaluestruct : *const CLUSPROP_LONG , loldvalue : i32 , lminimum : i32 , lmaximum : i32 , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); ResUtilGetLongProperty(ploutvalue, pvaluestruct, loldvalue, lminimum, lmaximum, pppropertylist, pcbpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2085,7 +2085,7 @@ pub unsafe fn ResUtilGetMultiSzProperty(ppszoutvalue: *mut ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetMultiSzProperty ( ppszoutvalue : *mut :: windows::core::PWSTR , pcboutvaluesize : *mut u32 , pvaluestruct : *const CLUSPROP_SZ , pszoldvalue : :: windows::core::PCWSTR , cboldvaluesize : u32 , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetMultiSzProperty ( ppszoutvalue : *mut :: windows::core::PWSTR , pcboutvaluesize : *mut u32 , pvaluestruct : *const CLUSPROP_SZ , pszoldvalue : :: windows::core::PCWSTR , cboldvaluesize : u32 , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); ResUtilGetMultiSzProperty(ppszoutvalue, pcboutvaluesize, pvaluestruct, pszoldvalue.into().abi(), cboldvaluesize, pppropertylist, pcbpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2095,7 +2095,7 @@ pub unsafe fn ResUtilGetPrivateProperties(hkeyclusterkey: P0, poutpropertyli where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetPrivateProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , poutpropertylist : *mut ::core::ffi::c_void , cboutpropertylistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetPrivateProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , poutpropertylist : *mut ::core::ffi::c_void , cboutpropertylistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); ResUtilGetPrivateProperties(hkeyclusterkey.into(), poutpropertylist, cboutpropertylistsize, pcbbytesreturned, pcbrequired) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2105,7 +2105,7 @@ pub unsafe fn ResUtilGetProperties(hkeyclusterkey: P0, ppropertytable: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertylist : *mut ::core::ffi::c_void , cboutpropertylistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertylist : *mut ::core::ffi::c_void , cboutpropertylistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); ResUtilGetProperties(hkeyclusterkey.into(), ppropertytable, poutpropertylist, cboutpropertylistsize, pcbbytesreturned, pcbrequired) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2116,7 +2116,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetPropertiesToParameterBlock ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutparams : *mut u8 , bcheckforrequiredproperties : super::super::Foundation:: BOOL , psznameofpropinerror : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetPropertiesToParameterBlock ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutparams : *mut u8 , bcheckforrequiredproperties : super::super::Foundation:: BOOL , psznameofpropinerror : *mut :: windows::core::PWSTR ) -> u32 ); ResUtilGetPropertiesToParameterBlock(hkeyclusterkey.into(), ppropertytable, poutparams, bcheckforrequiredproperties.into(), psznameofpropinerror) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2126,14 +2126,14 @@ pub unsafe fn ResUtilGetProperty(hkeyclusterkey: P0, ppropertytableitem: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetProperty ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytableitem : *const RESUTIL_PROPERTY_ITEM , poutpropertyitem : *mut *mut ::core::ffi::c_void , pcboutpropertyitemsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetProperty ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytableitem : *const RESUTIL_PROPERTY_ITEM , poutpropertyitem : *mut *mut ::core::ffi::c_void , pcboutpropertyitemsize : *mut u32 ) -> u32 ); ResUtilGetProperty(hkeyclusterkey.into(), ppropertytableitem, poutpropertyitem, pcboutpropertyitemsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilGetPropertyFormats(ppropertytable: *const RESUTIL_PROPERTY_ITEM, poutpropertyformatlist: *mut ::core::ffi::c_void, cbpropertyformatlistsize: u32, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetPropertyFormats ( ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertyformatlist : *mut ::core::ffi::c_void , cbpropertyformatlistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetPropertyFormats ( ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertyformatlist : *mut ::core::ffi::c_void , cbpropertyformatlistsize : u32 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); ResUtilGetPropertyFormats(ppropertytable, poutpropertyformatlist, cbpropertyformatlistsize, pcbbytesreturned, pcbrequired) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2143,7 +2143,7 @@ pub unsafe fn ResUtilGetPropertySize(hkeyclusterkey: P0, ppropertytableitem: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetPropertySize ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytableitem : *const RESUTIL_PROPERTY_ITEM , pcboutpropertylistsize : *mut u32 , pnpropertycount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetPropertySize ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytableitem : *const RESUTIL_PROPERTY_ITEM , pcboutpropertylistsize : *mut u32 , pnpropertycount : *mut u32 ) -> u32 ); ResUtilGetPropertySize(hkeyclusterkey.into(), ppropertytableitem, pcboutpropertylistsize, pnpropertycount) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2154,7 +2154,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetQwordValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , pqwoutvalue : *mut u64 , qwdefaultvalue : u64 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetQwordValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , pqwoutvalue : *mut u64 , qwdefaultvalue : u64 ) -> u32 ); ResUtilGetQwordValue(hkeyclusterkey.into(), pszvaluename.into().abi(), pqwoutvalue, qwdefaultvalue) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2165,7 +2165,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependency ( hself : super::super::Foundation:: HANDLE , lpszresourcetype : :: windows::core::PCWSTR ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependency ( hself : super::super::Foundation:: HANDLE , lpszresourcetype : :: windows::core::PCWSTR ) -> *mut _HRESOURCE ); ResUtilGetResourceDependency(hself.into(), lpszresourcetype.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2176,7 +2176,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyByClass ( hcluster : *mut _HCLUSTER , hself : super::super::Foundation:: HANDLE , prci : *mut CLUS_RESOURCE_CLASS_INFO , brecurse : super::super::Foundation:: BOOL ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyByClass ( hcluster : *mut _HCLUSTER , hself : super::super::Foundation:: HANDLE , prci : *mut CLUS_RESOURCE_CLASS_INFO , brecurse : super::super::Foundation:: BOOL ) -> *mut _HRESOURCE ); ResUtilGetResourceDependencyByClass(hcluster, hself.into(), prci, brecurse.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2187,7 +2187,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyByClassEx ( hcluster : *mut _HCLUSTER , hself : super::super::Foundation:: HANDLE , prci : *mut CLUS_RESOURCE_CLASS_INFO , brecurse : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyByClassEx ( hcluster : *mut _HCLUSTER , hself : super::super::Foundation:: HANDLE , prci : *mut CLUS_RESOURCE_CLASS_INFO , brecurse : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> *mut _HRESOURCE ); ResUtilGetResourceDependencyByClassEx(hcluster, hself.into(), prci, brecurse.into(), dwdesiredaccess) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2199,7 +2199,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyByName ( hcluster : *mut _HCLUSTER , hself : super::super::Foundation:: HANDLE , lpszresourcetype : :: windows::core::PCWSTR , brecurse : super::super::Foundation:: BOOL ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyByName ( hcluster : *mut _HCLUSTER , hself : super::super::Foundation:: HANDLE , lpszresourcetype : :: windows::core::PCWSTR , brecurse : super::super::Foundation:: BOOL ) -> *mut _HRESOURCE ); ResUtilGetResourceDependencyByName(hcluster, hself.into(), lpszresourcetype.into().abi(), brecurse.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2211,7 +2211,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyByNameEx ( hcluster : *mut _HCLUSTER , hself : super::super::Foundation:: HANDLE , lpszresourcetype : :: windows::core::PCWSTR , brecurse : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyByNameEx ( hcluster : *mut _HCLUSTER , hself : super::super::Foundation:: HANDLE , lpszresourcetype : :: windows::core::PCWSTR , brecurse : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> *mut _HRESOURCE ); ResUtilGetResourceDependencyByNameEx(hcluster, hself.into(), lpszresourcetype.into().abi(), brecurse.into(), dwdesiredaccess) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2222,19 +2222,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyEx ( hself : super::super::Foundation:: HANDLE , lpszresourcetype : :: windows::core::PCWSTR , dwdesiredaccess : u32 ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependencyEx ( hself : super::super::Foundation:: HANDLE , lpszresourcetype : :: windows::core::PCWSTR , dwdesiredaccess : u32 ) -> *mut _HRESOURCE ); ResUtilGetResourceDependencyEx(hself.into(), lpszresourcetype.into().abi(), dwdesiredaccess) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetResourceDependentIPAddressProps(hresource: *const _HRESOURCE, pszaddress: ::windows::core::PWSTR, pcchaddress: *mut u32, pszsubnetmask: ::windows::core::PWSTR, pcchsubnetmask: *mut u32, psznetwork: ::windows::core::PWSTR, pcchnetwork: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependentIPAddressProps ( hresource : *const _HRESOURCE , pszaddress : :: windows::core::PWSTR , pcchaddress : *mut u32 , pszsubnetmask : :: windows::core::PWSTR , pcchsubnetmask : *mut u32 , psznetwork : :: windows::core::PWSTR , pcchnetwork : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceDependentIPAddressProps ( hresource : *const _HRESOURCE , pszaddress : :: windows::core::PWSTR , pcchaddress : *mut u32 , pszsubnetmask : :: windows::core::PWSTR , pcchsubnetmask : *mut u32 , psznetwork : :: windows::core::PWSTR , pcchnetwork : *mut u32 ) -> u32 ); ResUtilGetResourceDependentIPAddressProps(hresource, ::core::mem::transmute(pszaddress), pcchaddress, ::core::mem::transmute(pszsubnetmask), pcchsubnetmask, ::core::mem::transmute(psznetwork), pcchnetwork) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilGetResourceName(hresource: *const _HRESOURCE, pszresourcename: ::windows::core::PWSTR, pcchresourcenameinout: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceName ( hresource : *const _HRESOURCE , pszresourcename : :: windows::core::PWSTR , pcchresourcenameinout : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceName ( hresource : *const _HRESOURCE , pszresourcename : :: windows::core::PWSTR , pcchresourcenameinout : *mut u32 ) -> u32 ); ResUtilGetResourceName(hresource, ::core::mem::transmute(pszresourcename), pcchresourcenameinout) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2244,7 +2244,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceNameDependency ( lpszresourcename : :: windows::core::PCWSTR , lpszresourcetype : :: windows::core::PCWSTR ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceNameDependency ( lpszresourcename : :: windows::core::PCWSTR , lpszresourcetype : :: windows::core::PCWSTR ) -> *mut _HRESOURCE ); ResUtilGetResourceNameDependency(lpszresourcename.into().abi(), lpszresourcetype.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2254,7 +2254,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetResourceNameDependencyEx ( lpszresourcename : :: windows::core::PCWSTR , lpszresourcetype : :: windows::core::PCWSTR , dwdesiredaccess : u32 ) -> *mut _HRESOURCE ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetResourceNameDependencyEx ( lpszresourcename : :: windows::core::PCWSTR , lpszresourcetype : :: windows::core::PCWSTR , dwdesiredaccess : u32 ) -> *mut _HRESOURCE ); ResUtilGetResourceNameDependencyEx(lpszresourcename.into().abi(), lpszresourcetype.into().abi(), dwdesiredaccess) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2263,7 +2263,7 @@ pub unsafe fn ResUtilGetSzProperty(ppszoutvalue: *mut ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetSzProperty ( ppszoutvalue : *mut :: windows::core::PWSTR , pvaluestruct : *const CLUSPROP_SZ , pszoldvalue : :: windows::core::PCWSTR , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetSzProperty ( ppszoutvalue : *mut :: windows::core::PWSTR , pvaluestruct : *const CLUSPROP_SZ , pszoldvalue : :: windows::core::PCWSTR , pppropertylist : *mut *mut u8 , pcbpropertylistsize : *mut u32 ) -> u32 ); ResUtilGetSzProperty(ppszoutvalue, pvaluestruct, pszoldvalue.into().abi(), pppropertylist, pcbpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2274,14 +2274,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGetSzValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGetSzValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); ResUtilGetSzValue(hkeyclusterkey.into(), pszvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilGroupsEqual(hself: *mut _HGROUP, hgroup: *mut _HGROUP, pequal: *mut super::super::Foundation::BOOL) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilGroupsEqual ( hself : *mut _HGROUP , hgroup : *mut _HGROUP , pequal : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilGroupsEqual ( hself : *mut _HGROUP , hgroup : *mut _HGROUP , pequal : *mut super::super::Foundation:: BOOL ) -> u32 ); ResUtilGroupsEqual(hself, hgroup, pequal) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2291,41 +2291,41 @@ pub unsafe fn ResUtilIsPathValid(pszpath: P0) -> super::super::Foundation::B where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilIsPathValid ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilIsPathValid ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ResUtilIsPathValid(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilIsResourceClassEqual(prci: *mut CLUS_RESOURCE_CLASS_INFO, hresource: *mut _HRESOURCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilIsResourceClassEqual ( prci : *mut CLUS_RESOURCE_CLASS_INFO , hresource : *mut _HRESOURCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilIsResourceClassEqual ( prci : *mut CLUS_RESOURCE_CLASS_INFO , hresource : *mut _HRESOURCE ) -> super::super::Foundation:: BOOL ); ResUtilIsResourceClassEqual(prci, hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilLeftPaxosIsLessThanRight(left: *const PaxosTagCStruct, right: *const PaxosTagCStruct) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilLeftPaxosIsLessThanRight ( left : *const PaxosTagCStruct , right : *const PaxosTagCStruct ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilLeftPaxosIsLessThanRight ( left : *const PaxosTagCStruct , right : *const PaxosTagCStruct ) -> super::super::Foundation:: BOOL ); ResUtilLeftPaxosIsLessThanRight(left, right) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilNodeEnum(hcluster: *mut _HCLUSTER, pnodecallback: LPNODE_CALLBACK, pparameter: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilNodeEnum ( hcluster : *mut _HCLUSTER , pnodecallback : LPNODE_CALLBACK , pparameter : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilNodeEnum ( hcluster : *mut _HCLUSTER , pnodecallback : LPNODE_CALLBACK , pparameter : *mut ::core::ffi::c_void ) -> u32 ); ResUtilNodeEnum(hcluster, pnodecallback, pparameter) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilPaxosComparer(left: *const PaxosTagCStruct, right: *const PaxosTagCStruct) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilPaxosComparer ( left : *const PaxosTagCStruct , right : *const PaxosTagCStruct ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilPaxosComparer ( left : *const PaxosTagCStruct , right : *const PaxosTagCStruct ) -> super::super::Foundation:: BOOL ); ResUtilPaxosComparer(left, right) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilPropertyListFromParameterBlock(ppropertytable: *const RESUTIL_PROPERTY_ITEM, poutpropertylist: ::core::option::Option<*mut ::core::ffi::c_void>, pcboutpropertylistsize: *mut u32, pinparams: *const u8, pcbbytesreturned: *mut u32, pcbrequired: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilPropertyListFromParameterBlock ( ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertylist : *mut ::core::ffi::c_void , pcboutpropertylistsize : *mut u32 , pinparams : *const u8 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilPropertyListFromParameterBlock ( ppropertytable : *const RESUTIL_PROPERTY_ITEM , poutpropertylist : *mut ::core::ffi::c_void , pcboutpropertylistsize : *mut u32 , pinparams : *const u8 , pcbbytesreturned : *mut u32 , pcbrequired : *mut u32 ) -> u32 ); ResUtilPropertyListFromParameterBlock(ppropertytable, ::core::mem::transmute(poutpropertylist.unwrap_or(::std::ptr::null_mut())), pcboutpropertylistsize, pinparams, pcbbytesreturned, pcbrequired) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2334,13 +2334,13 @@ pub unsafe fn ResUtilRemoveResourceServiceEnvironment(pszservicename: P0, pf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilRemoveResourceServiceEnvironment ( pszservicename : :: windows::core::PCWSTR , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilRemoveResourceServiceEnvironment ( pszservicename : :: windows::core::PCWSTR , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); ResUtilRemoveResourceServiceEnvironment(pszservicename.into().abi(), pfnlogevent, hresourcehandle) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilResourceDepEnum(hself: *mut _HRESOURCE, enumtype: u32, prescallback: LPRESOURCE_CALLBACK_EX, pparameter: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilResourceDepEnum ( hself : *mut _HRESOURCE , enumtype : u32 , prescallback : LPRESOURCE_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilResourceDepEnum ( hself : *mut _HRESOURCE , enumtype : u32 , prescallback : LPRESOURCE_CALLBACK_EX , pparameter : *mut ::core::ffi::c_void ) -> u32 ); ResUtilResourceDepEnum(hself, enumtype, prescallback, pparameter) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2350,14 +2350,14 @@ pub unsafe fn ResUtilResourceTypesEqual(lpszresourcetypename: P0, hresource: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilResourceTypesEqual ( lpszresourcetypename : :: windows::core::PCWSTR , hresource : *mut _HRESOURCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilResourceTypesEqual ( lpszresourcetypename : :: windows::core::PCWSTR , hresource : *mut _HRESOURCE ) -> super::super::Foundation:: BOOL ); ResUtilResourceTypesEqual(lpszresourcetypename.into().abi(), hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResUtilResourcesEqual(hself: *mut _HRESOURCE, hresource: *mut _HRESOURCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilResourcesEqual ( hself : *mut _HRESOURCE , hresource : *mut _HRESOURCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilResourcesEqual ( hself : *mut _HRESOURCE , hresource : *mut _HRESOURCE ) -> super::super::Foundation:: BOOL ); ResUtilResourcesEqual(hself, hresource) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2368,7 +2368,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetBinaryValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , pbnewvalue : *const u8 , cbnewvaluesize : u32 , ppboutvalue : *mut *mut u8 , pcboutvaluesize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetBinaryValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , pbnewvalue : *const u8 , cbnewvaluesize : u32 , ppboutvalue : *mut *mut u8 , pcboutvaluesize : *mut u32 ) -> u32 ); ResUtilSetBinaryValue(hkeyclusterkey.into(), pszvaluename.into().abi(), ::core::mem::transmute(pbnewvalue.as_ptr()), pbnewvalue.len() as _, ::core::mem::transmute(ppboutvalue.unwrap_or(::std::ptr::null_mut())), pcboutvaluesize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2379,7 +2379,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetDwordValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , dwnewvalue : u32 , pdwoutvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetDwordValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , dwnewvalue : u32 , pdwoutvalue : *mut u32 ) -> u32 ); ResUtilSetDwordValue(hkeyclusterkey.into(), pszvaluename.into().abi(), dwnewvalue, pdwoutvalue) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2391,7 +2391,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetExpandSzValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , psznewvalue : :: windows::core::PCWSTR , ppszoutstring : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetExpandSzValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , psznewvalue : :: windows::core::PCWSTR , ppszoutstring : *mut :: windows::core::PWSTR ) -> u32 ); ResUtilSetExpandSzValue(hkeyclusterkey.into(), pszvaluename.into().abi(), psznewvalue.into().abi(), ::core::mem::transmute(ppszoutstring.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2403,7 +2403,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetMultiSzValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , psznewvalue : :: windows::core::PCWSTR , cbnewvaluesize : u32 , ppszoutvalue : *mut :: windows::core::PWSTR , pcboutvaluesize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetMultiSzValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , psznewvalue : :: windows::core::PCWSTR , cbnewvaluesize : u32 , ppszoutvalue : *mut :: windows::core::PWSTR , pcboutvaluesize : *mut u32 ) -> u32 ); ResUtilSetMultiSzValue(hkeyclusterkey.into(), pszvaluename.into().abi(), psznewvalue.into().abi(), cbnewvaluesize, ::core::mem::transmute(ppszoutvalue.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcboutvaluesize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2413,7 +2413,7 @@ pub unsafe fn ResUtilSetPrivatePropertyList(hkeyclusterkey: P0, pinpropertyl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetPrivatePropertyList ( hkeyclusterkey : super::super::System::Registry:: HKEY , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetPrivatePropertyList ( hkeyclusterkey : super::super::System::Registry:: HKEY , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 ) -> u32 ); ResUtilSetPrivatePropertyList(hkeyclusterkey.into(), pinpropertylist, cbinpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2423,7 +2423,7 @@ pub unsafe fn ResUtilSetPropertyParameterBlock(hkeyclusterkey: P0, pproperty where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetPropertyParameterBlock ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *mut ::core::ffi::c_void , pinparams : *const u8 , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , poutparams : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetPropertyParameterBlock ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *mut ::core::ffi::c_void , pinparams : *const u8 , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , poutparams : *mut u8 ) -> u32 ); ResUtilSetPropertyParameterBlock(hkeyclusterkey.into(), ppropertytable, reserved, pinparams, pinpropertylist, cbinpropertylistsize, poutparams) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2434,7 +2434,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetPropertyParameterBlockEx ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *mut ::core::ffi::c_void , pinparams : *const u8 , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , bforcewrite : super::super::Foundation:: BOOL , poutparams : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetPropertyParameterBlockEx ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *mut ::core::ffi::c_void , pinparams : *const u8 , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , bforcewrite : super::super::Foundation:: BOOL , poutparams : *mut u8 ) -> u32 ); ResUtilSetPropertyParameterBlockEx(hkeyclusterkey.into(), ppropertytable, reserved, pinparams, pinpropertylist, cbinpropertylistsize, bforcewrite.into(), poutparams) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2445,7 +2445,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetPropertyTable ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *const ::core::ffi::c_void , ballowunknownproperties : super::super::Foundation:: BOOL , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , poutparams : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetPropertyTable ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *const ::core::ffi::c_void , ballowunknownproperties : super::super::Foundation:: BOOL , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , poutparams : *mut u8 ) -> u32 ); ResUtilSetPropertyTable(hkeyclusterkey.into(), ppropertytable, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), ballowunknownproperties.into(), pinpropertylist, cbinpropertylistsize, ::core::mem::transmute(poutparams.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2457,7 +2457,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetPropertyTableEx ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *mut ::core::ffi::c_void , ballowunknownproperties : super::super::Foundation:: BOOL , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , bforcewrite : super::super::Foundation:: BOOL , poutparams : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetPropertyTableEx ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *mut ::core::ffi::c_void , ballowunknownproperties : super::super::Foundation:: BOOL , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , bforcewrite : super::super::Foundation:: BOOL , poutparams : *mut u8 ) -> u32 ); ResUtilSetPropertyTableEx(hkeyclusterkey.into(), ppropertytable, reserved, ballowunknownproperties.into(), pinpropertylist, cbinpropertylistsize, bforcewrite.into(), poutparams) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2468,7 +2468,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetQwordValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , qwnewvalue : u64 , pqwoutvalue : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetQwordValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , qwnewvalue : u64 , pqwoutvalue : *mut u64 ) -> u32 ); ResUtilSetQwordValue(hkeyclusterkey.into(), pszvaluename.into().abi(), qwnewvalue, ::core::mem::transmute(pqwoutvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2477,7 +2477,7 @@ pub unsafe fn ResUtilSetResourceServiceEnvironment(pszservicename: P0, hreso where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetResourceServiceEnvironment ( pszservicename : :: windows::core::PCWSTR , hresource : *mut _HRESOURCE , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetResourceServiceEnvironment ( pszservicename : :: windows::core::PCWSTR , hresource : *mut _HRESOURCE , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); ResUtilSetResourceServiceEnvironment(pszservicename.into().abi(), hresource, pfnlogevent, hresourcehandle) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`*"] @@ -2488,7 +2488,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetResourceServiceStartParameters ( pszservicename : :: windows::core::PCWSTR , schscmhandle : super::super::Security:: SC_HANDLE , phservice : *mut isize , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetResourceServiceStartParameters ( pszservicename : :: windows::core::PCWSTR , schscmhandle : super::super::Security:: SC_HANDLE , phservice : *mut isize , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); ResUtilSetResourceServiceStartParameters(pszservicename.into().abi(), schscmhandle.into(), phservice, pfnlogevent, hresourcehandle) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`*"] @@ -2499,7 +2499,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetResourceServiceStartParametersEx ( pszservicename : :: windows::core::PCWSTR , schscmhandle : super::super::Security:: SC_HANDLE , phservice : *mut isize , dwdesiredaccess : u32 , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetResourceServiceStartParametersEx ( pszservicename : :: windows::core::PCWSTR , schscmhandle : super::super::Security:: SC_HANDLE , phservice : *mut isize , dwdesiredaccess : u32 , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); ResUtilSetResourceServiceStartParametersEx(pszservicename.into().abi(), schscmhandle.into(), phservice, dwdesiredaccess, pfnlogevent, hresourcehandle) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2511,7 +2511,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetSzValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , psznewvalue : :: windows::core::PCWSTR , ppszoutstring : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetSzValue ( hkeyclusterkey : super::super::System::Registry:: HKEY , pszvaluename : :: windows::core::PCWSTR , psznewvalue : :: windows::core::PCWSTR , ppszoutstring : *mut :: windows::core::PWSTR ) -> u32 ); ResUtilSetSzValue(hkeyclusterkey.into(), pszvaluename.into().abi(), psznewvalue.into().abi(), ::core::mem::transmute(ppszoutstring.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2521,7 +2521,7 @@ pub unsafe fn ResUtilSetUnknownProperties(hkeyclusterkey: P0, ppropertytable where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetUnknownProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetUnknownProperties ( hkeyclusterkey : super::super::System::Registry:: HKEY , ppropertytable : *const RESUTIL_PROPERTY_ITEM , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 ) -> u32 ); ResUtilSetUnknownProperties(hkeyclusterkey.into(), ppropertytable, pinpropertylist, cbinpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] @@ -2532,7 +2532,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilSetValueEx ( hkeyclusterkey : super::super::System::Registry:: HKEY , valuename : :: windows::core::PCWSTR , valuetype : u32 , valuedata : *const u8 , valuesize : u32 , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilSetValueEx ( hkeyclusterkey : super::super::System::Registry:: HKEY , valuename : :: windows::core::PCWSTR , valuetype : u32 , valuedata : *const u8 , valuesize : u32 , flags : u32 ) -> u32 ); ResUtilSetValueEx(hkeyclusterkey.into(), valuename.into().abi(), valuetype, ::core::mem::transmute(valuedata.as_ptr()), valuedata.len() as _, flags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2541,7 +2541,7 @@ pub unsafe fn ResUtilStartResourceService(pszservicename: P0, phservicehandl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilStartResourceService ( pszservicename : :: windows::core::PCWSTR , phservicehandle : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilStartResourceService ( pszservicename : :: windows::core::PCWSTR , phservicehandle : *mut isize ) -> u32 ); ResUtilStartResourceService(pszservicename.into().abi(), phservicehandle) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2550,7 +2550,7 @@ pub unsafe fn ResUtilStopResourceService(pszservicename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilStopResourceService ( pszservicename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilStopResourceService ( pszservicename : :: windows::core::PCWSTR ) -> u32 ); ResUtilStopResourceService(pszservicename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`*"] @@ -2560,7 +2560,7 @@ pub unsafe fn ResUtilStopService(hservicehandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilStopService ( hservicehandle : super::super::Security:: SC_HANDLE ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilStopService ( hservicehandle : super::super::Security:: SC_HANDLE ) -> u32 ); ResUtilStopService(hservicehandle.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2570,13 +2570,13 @@ pub unsafe fn ResUtilTerminateServiceProcessFromResDll(dwservicepid: u32, bo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilTerminateServiceProcessFromResDll ( dwservicepid : u32 , boffline : super::super::Foundation:: BOOL , pdwresourcestate : *mut u32 , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilTerminateServiceProcessFromResDll ( dwservicepid : u32 , boffline : super::super::Foundation:: BOOL , pdwresourcestate : *mut u32 , pfnlogevent : PLOG_EVENT_ROUTINE , hresourcehandle : isize ) -> u32 ); ResUtilTerminateServiceProcessFromResDll(dwservicepid, boffline.into(), pdwresourcestate, pfnlogevent, hresourcehandle) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilVerifyPrivatePropertyList(pinpropertylist: *const ::core::ffi::c_void, cbinpropertylistsize: u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilVerifyPrivatePropertyList ( pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilVerifyPrivatePropertyList ( pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 ) -> u32 ); ResUtilVerifyPrivatePropertyList(pinpropertylist, cbinpropertylistsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2586,7 +2586,7 @@ pub unsafe fn ResUtilVerifyPropertyTable(ppropertytable: *const RESUTIL_PROP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilVerifyPropertyTable ( ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *const ::core::ffi::c_void , ballowunknownproperties : super::super::Foundation:: BOOL , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , poutparams : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilVerifyPropertyTable ( ppropertytable : *const RESUTIL_PROPERTY_ITEM , reserved : *const ::core::ffi::c_void , ballowunknownproperties : super::super::Foundation:: BOOL , pinpropertylist : *const ::core::ffi::c_void , cbinpropertylistsize : u32 , poutparams : *mut u8 ) -> u32 ); ResUtilVerifyPropertyTable(ppropertytable, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), ballowunknownproperties.into(), pinpropertylist, cbinpropertylistsize, ::core::mem::transmute(poutparams.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2595,7 +2595,7 @@ pub unsafe fn ResUtilVerifyResourceService(pszservicename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilVerifyResourceService ( pszservicename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilVerifyResourceService ( pszservicename : :: windows::core::PCWSTR ) -> u32 ); ResUtilVerifyResourceService(pszservicename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`*"] @@ -2605,13 +2605,13 @@ pub unsafe fn ResUtilVerifyService(hservicehandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilVerifyService ( hservicehandle : super::super::Security:: SC_HANDLE ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilVerifyService ( hservicehandle : super::super::Security:: SC_HANDLE ) -> u32 ); ResUtilVerifyService(hservicehandle.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResUtilVerifyShutdownSafe(flags: u32, reason: u32, presult: *mut u32) -> u32 { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilVerifyShutdownSafe ( flags : u32 , reason : u32 , presult : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilVerifyShutdownSafe ( flags : u32 , reason : u32 , presult : *mut u32 ) -> u32 ); ResUtilVerifyShutdownSafe(flags, reason, presult) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2623,19 +2623,19 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "resutils.dll""system" fn ResUtilsDeleteKeyTree ( key : super::super::System::Registry:: HKEY , keyname : :: windows::core::PCWSTR , treatnokeyaserror : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "resutils.dll""system" fn ResUtilsDeleteKeyTree ( key : super::super::System::Registry:: HKEY , keyname : :: windows::core::PCWSTR , treatnokeyaserror : super::super::Foundation:: BOOL ) -> u32 ); ResUtilsDeleteKeyTree(key.into(), keyname.into().abi(), treatnokeyaserror.into()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResetAllAppInstanceVersions() -> u32 { - ::windows::core::link ! ( "ntlanman.dll""system" fn ResetAllAppInstanceVersions ( ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn ResetAllAppInstanceVersions ( ) -> u32 ); ResetAllAppInstanceVersions() } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn RestartClusterResource(hresource: *const _HRESOURCE, dwflags: u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn RestartClusterResource ( hresource : *const _HRESOURCE , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RestartClusterResource ( hresource : *const _HRESOURCE , dwflags : u32 ) -> u32 ); RestartClusterResource(hresource, dwflags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2647,19 +2647,19 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn RestoreClusterDatabase ( lpszpathname : :: windows::core::PCWSTR , bforce : super::super::Foundation:: BOOL , lpszquorumdriveletter : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn RestoreClusterDatabase ( lpszpathname : :: windows::core::PCWSTR , bforce : super::super::Foundation:: BOOL , lpszquorumdriveletter : :: windows::core::PCWSTR ) -> u32 ); RestoreClusterDatabase(lpszpathname.into().abi(), bforce.into(), lpszquorumdriveletter.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResumeClusterNode(hnode: *const _HNODE) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ResumeClusterNode ( hnode : *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ResumeClusterNode ( hnode : *const _HNODE ) -> u32 ); ResumeClusterNode(hnode) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn ResumeClusterNodeEx(hnode: *const _HNODE, eresumefailbacktype: CLUSTER_NODE_RESUME_FAILBACK_TYPE, dwresumeflagsreserved: u32) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn ResumeClusterNodeEx ( hnode : *const _HNODE , eresumefailbacktype : CLUSTER_NODE_RESUME_FAILBACK_TYPE , dwresumeflagsreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn ResumeClusterNodeEx ( hnode : *const _HNODE , eresumefailbacktype : CLUSTER_NODE_RESUME_FAILBACK_TYPE , dwresumeflagsreserved : u32 ) -> u32 ); ResumeClusterNodeEx(hnode, eresumefailbacktype, dwresumeflagsreserved) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2669,7 +2669,7 @@ pub unsafe fn SetAppInstanceCsvFlags(processhandle: P0, mask: u32, flags: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntlanman.dll""system" fn SetAppInstanceCsvFlags ( processhandle : super::super::Foundation:: HANDLE , mask : u32 , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntlanman.dll""system" fn SetAppInstanceCsvFlags ( processhandle : super::super::Foundation:: HANDLE , mask : u32 , flags : u32 ) -> u32 ); SetAppInstanceCsvFlags(processhandle.into(), mask, flags) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2678,13 +2678,13 @@ pub unsafe fn SetClusterGroupName(hgroup: *const _HGROUP, lpszgroupname: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterGroupName ( hgroup : *const _HGROUP , lpszgroupname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterGroupName ( hgroup : *const _HGROUP , lpszgroupname : :: windows::core::PCWSTR ) -> u32 ); SetClusterGroupName(hgroup, lpszgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn SetClusterGroupNodeList(hgroup: *const _HGROUP, nodelist: ::core::option::Option<&[*const _HNODE]>) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterGroupNodeList ( hgroup : *const _HGROUP , nodecount : u32 , nodelist : *const *const _HNODE ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterGroupNodeList ( hgroup : *const _HGROUP , nodecount : u32 , nodelist : *const *const _HNODE ) -> u32 ); SetClusterGroupNodeList(hgroup, nodelist.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(nodelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2693,7 +2693,7 @@ pub unsafe fn SetClusterGroupSetDependencyExpression(hgroupset: *const _HGRO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterGroupSetDependencyExpression ( hgroupset : *const _HGROUPSET , lpszdependencyexprssion : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterGroupSetDependencyExpression ( hgroupset : *const _HGROUPSET , lpszdependencyexprssion : :: windows::core::PCWSTR ) -> u32 ); SetClusterGroupSetDependencyExpression(hgroupset, lpszdependencyexprssion.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2702,7 +2702,7 @@ pub unsafe fn SetClusterName(hcluster: *const _HCLUSTER, lpsznewclustername: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterName ( hcluster : *const _HCLUSTER , lpsznewclustername : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterName ( hcluster : *const _HCLUSTER , lpsznewclustername : :: windows::core::PCWSTR ) -> u32 ); SetClusterName(hcluster, lpsznewclustername.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2711,13 +2711,13 @@ pub unsafe fn SetClusterNetworkName(hnetwork: *const _HNETWORK, lpszname: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterNetworkName ( hnetwork : *const _HNETWORK , lpszname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterNetworkName ( hnetwork : *const _HNETWORK , lpszname : :: windows::core::PCWSTR ) -> u32 ); SetClusterNetworkName(hnetwork, lpszname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[inline] pub unsafe fn SetClusterNetworkPriorityOrder(hcluster: *const _HCLUSTER, networklist: &[*const _HNETWORK]) -> u32 { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterNetworkPriorityOrder ( hcluster : *const _HCLUSTER , networkcount : u32 , networklist : *const *const _HNETWORK ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterNetworkPriorityOrder ( hcluster : *const _HCLUSTER , networkcount : u32 , networklist : *const *const _HNETWORK ) -> u32 ); SetClusterNetworkPriorityOrder(hcluster, networklist.len() as _, ::core::mem::transmute(networklist.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2726,7 +2726,7 @@ pub unsafe fn SetClusterQuorumResource(hresource: *const _HRESOURCE, lpszdev where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterQuorumResource ( hresource : *const _HRESOURCE , lpszdevicename : :: windows::core::PCWSTR , dwmaxquologsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterQuorumResource ( hresource : *const _HRESOURCE , lpszdevicename : :: windows::core::PCWSTR , dwmaxquologsize : u32 ) -> u32 ); SetClusterQuorumResource(hresource, lpszdevicename.into().abi(), dwmaxquologsize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2735,7 +2735,7 @@ pub unsafe fn SetClusterResourceDependencyExpression(hresource: *const _HRES where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterResourceDependencyExpression ( hresource : *const _HRESOURCE , lpszdependencyexpression : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterResourceDependencyExpression ( hresource : *const _HRESOURCE , lpszdependencyexpression : :: windows::core::PCWSTR ) -> u32 ); SetClusterResourceDependencyExpression(hresource, lpszdependencyexpression.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2744,7 +2744,7 @@ pub unsafe fn SetClusterResourceName(hresource: *const _HRESOURCE, lpszresou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterResourceName ( hresource : *const _HRESOURCE , lpszresourcename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterResourceName ( hresource : *const _HRESOURCE , lpszresourcename : :: windows::core::PCWSTR ) -> u32 ); SetClusterResourceName(hresource, lpszresourcename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] @@ -2755,7 +2755,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetClusterServiceAccountPassword ( lpszclustername : :: windows::core::PCWSTR , lpsznewpassword : :: windows::core::PCWSTR , dwflags : u32 , lpreturnstatusbuffer : *mut CLUSTER_SET_PASSWORD_STATUS , lpcbreturnstatusbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetClusterServiceAccountPassword ( lpszclustername : :: windows::core::PCWSTR , lpsznewpassword : :: windows::core::PCWSTR , dwflags : u32 , lpreturnstatusbuffer : *mut CLUSTER_SET_PASSWORD_STATUS , lpcbreturnstatusbuffersize : *mut u32 ) -> u32 ); SetClusterServiceAccountPassword(lpszclustername.into().abi(), lpsznewpassword.into().abi(), dwflags, ::core::mem::transmute(lpreturnstatusbuffer.unwrap_or(::std::ptr::null_mut())), lpcbreturnstatusbuffersize) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2764,7 +2764,7 @@ pub unsafe fn SetGroupDependencyExpression(hgroup: *const _HGROUP, lpszdepen where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clusapi.dll""system" fn SetGroupDependencyExpression ( hgroup : *const _HGROUP , lpszdependencyexpression : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "clusapi.dll""system" fn SetGroupDependencyExpression ( hgroup : *const _HGROUP , lpszdependencyexpression : :: windows::core::PCWSTR ) -> u32 ); SetGroupDependencyExpression(hgroup, lpszdependencyexpression.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] @@ -2781,7 +2781,7 @@ impl IGetClusterDataInfo { (::windows::core::Vtable::vtable(self).GetObjectCount)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IGetClusterDataInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetClusterDataInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetClusterDataInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2820,7 +2820,7 @@ impl IGetClusterGroupInfo { (::windows::core::Vtable::vtable(self).GetGroupHandle)(::windows::core::Vtable::as_raw(self), lobjindex) } } -::windows::core::interface_hierarchy!(IGetClusterGroupInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetClusterGroupInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetClusterGroupInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2857,7 +2857,7 @@ impl IGetClusterNetInterfaceInfo { (::windows::core::Vtable::vtable(self).GetNetInterfaceHandle)(::windows::core::Vtable::as_raw(self), lobjindex) } } -::windows::core::interface_hierarchy!(IGetClusterNetInterfaceInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetClusterNetInterfaceInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetClusterNetInterfaceInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2894,7 +2894,7 @@ impl IGetClusterNetworkInfo { (::windows::core::Vtable::vtable(self).GetNetworkHandle)(::windows::core::Vtable::as_raw(self), lobjindex) } } -::windows::core::interface_hierarchy!(IGetClusterNetworkInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetClusterNetworkInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetClusterNetworkInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2931,7 +2931,7 @@ impl IGetClusterNodeInfo { (::windows::core::Vtable::vtable(self).GetNodeHandle)(::windows::core::Vtable::as_raw(self), lobjindex) } } -::windows::core::interface_hierarchy!(IGetClusterNodeInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetClusterNodeInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetClusterNodeInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2971,7 +2971,7 @@ impl IGetClusterObjectInfo { (::windows::core::Vtable::vtable(self).GetObjectType)(::windows::core::Vtable::as_raw(self), lobjindex) } } -::windows::core::interface_hierarchy!(IGetClusterObjectInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetClusterObjectInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetClusterObjectInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3017,7 +3017,7 @@ impl IGetClusterResourceInfo { (::windows::core::Vtable::vtable(self).GetResourceNetworkName)(::windows::core::Vtable::as_raw(self), lobjindex, ::core::mem::transmute_copy(lpsznetname), pcchnetname) } } -::windows::core::interface_hierarchy!(IGetClusterResourceInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetClusterResourceInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetClusterResourceInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3072,7 +3072,7 @@ impl IGetClusterUIInfo { (::windows::core::Vtable::vtable(self).GetIcon)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IGetClusterUIInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetClusterUIInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetClusterUIInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3136,7 +3136,7 @@ impl ISClusApplication { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusApplication, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusApplication, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusApplication { fn eq(&self, other: &Self) -> bool { @@ -3216,7 +3216,7 @@ impl ISClusCryptoKeys { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusCryptoKeys, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusCryptoKeys, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusCryptoKeys { fn eq(&self, other: &Self) -> bool { @@ -3291,7 +3291,7 @@ impl ISClusDisk { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusDisk, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusDisk, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusDisk { fn eq(&self, other: &Self) -> bool { @@ -3358,7 +3358,7 @@ impl ISClusDisks { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusDisks, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusDisks, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusDisks { fn eq(&self, other: &Self) -> bool { @@ -3449,7 +3449,7 @@ impl ISClusNetInterface { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusNetInterface, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusNetInterface, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusNetInterface { fn eq(&self, other: &Self) -> bool { @@ -3532,7 +3532,7 @@ impl ISClusNetInterfaces { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusNetInterfaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusNetInterfaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusNetInterfaces { fn eq(&self, other: &Self) -> bool { @@ -3637,7 +3637,7 @@ impl ISClusNetwork { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusNetwork, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusNetwork, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusNetwork { fn eq(&self, other: &Self) -> bool { @@ -3726,7 +3726,7 @@ impl ISClusNetworkNetInterfaces { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusNetworkNetInterfaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusNetworkNetInterfaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusNetworkNetInterfaces { fn eq(&self, other: &Self) -> bool { @@ -3793,7 +3793,7 @@ impl ISClusNetworks { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusNetworks, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusNetworks, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusNetworks { fn eq(&self, other: &Self) -> bool { @@ -3910,7 +3910,7 @@ impl ISClusNode { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusNode, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusNode, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusNode { fn eq(&self, other: &Self) -> bool { @@ -4005,7 +4005,7 @@ impl ISClusNodeNetInterfaces { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusNodeNetInterfaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusNodeNetInterfaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusNodeNetInterfaces { fn eq(&self, other: &Self) -> bool { @@ -4072,7 +4072,7 @@ impl ISClusNodes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusNodes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusNodes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusNodes { fn eq(&self, other: &Self) -> bool { @@ -4150,7 +4150,7 @@ impl ISClusPartition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusPartition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusPartition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusPartition { fn eq(&self, other: &Self) -> bool { @@ -4248,7 +4248,7 @@ impl ISClusPartitionEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusPartitionEx, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISClusPartition); +::windows::imp::interface_hierarchy!(ISClusPartitionEx, ::windows::core::IUnknown, super::super::System::Com::IDispatch, ISClusPartition); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusPartitionEx { fn eq(&self, other: &Self) -> bool { @@ -4310,7 +4310,7 @@ impl ISClusPartitions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusPartitions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusPartitions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusPartitions { fn eq(&self, other: &Self) -> bool { @@ -4417,7 +4417,7 @@ impl ISClusProperties { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusProperties, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusProperties, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusProperties { fn eq(&self, other: &Self) -> bool { @@ -4565,7 +4565,7 @@ impl ISClusProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusProperty { fn eq(&self, other: &Self) -> bool { @@ -4683,7 +4683,7 @@ impl ISClusPropertyValue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusPropertyValue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusPropertyValue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusPropertyValue { fn eq(&self, other: &Self) -> bool { @@ -4769,7 +4769,7 @@ impl ISClusPropertyValueData { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusPropertyValueData, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusPropertyValueData, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusPropertyValueData { fn eq(&self, other: &Self) -> bool { @@ -4851,7 +4851,7 @@ impl ISClusPropertyValues { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusPropertyValues, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusPropertyValues, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusPropertyValues { fn eq(&self, other: &Self) -> bool { @@ -4912,7 +4912,7 @@ impl ISClusRefObject { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusRefObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusRefObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusRefObject { fn eq(&self, other: &Self) -> bool { @@ -4981,7 +4981,7 @@ impl ISClusRegistryKeys { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusRegistryKeys, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusRegistryKeys, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusRegistryKeys { fn eq(&self, other: &Self) -> bool { @@ -5077,7 +5077,7 @@ impl ISClusResDependencies { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResDependencies, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResDependencies, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResDependencies { fn eq(&self, other: &Self) -> bool { @@ -5184,7 +5184,7 @@ impl ISClusResDependents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResDependents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResDependents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResDependents { fn eq(&self, other: &Self) -> bool { @@ -5334,7 +5334,7 @@ impl ISClusResGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResGroup { fn eq(&self, other: &Self) -> bool { @@ -5473,7 +5473,7 @@ impl ISClusResGroupPreferredOwnerNodes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResGroupPreferredOwnerNodes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResGroupPreferredOwnerNodes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResGroupPreferredOwnerNodes { fn eq(&self, other: &Self) -> bool { @@ -5568,7 +5568,7 @@ impl ISClusResGroupResources { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResGroupResources, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResGroupResources, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResGroupResources { fn eq(&self, other: &Self) -> bool { @@ -5654,7 +5654,7 @@ impl ISClusResGroups { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResGroups, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResGroups, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResGroups { fn eq(&self, other: &Self) -> bool { @@ -5748,7 +5748,7 @@ impl ISClusResPossibleOwnerNodes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResPossibleOwnerNodes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResPossibleOwnerNodes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResPossibleOwnerNodes { fn eq(&self, other: &Self) -> bool { @@ -5865,7 +5865,7 @@ impl ISClusResType { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResType, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResType, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResType { fn eq(&self, other: &Self) -> bool { @@ -5959,7 +5959,7 @@ impl ISClusResTypePossibleOwnerNodes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResTypePossibleOwnerNodes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResTypePossibleOwnerNodes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResTypePossibleOwnerNodes { fn eq(&self, other: &Self) -> bool { @@ -6037,7 +6037,7 @@ impl ISClusResTypeResources { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResTypeResources, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResTypeResources, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResTypeResources { fn eq(&self, other: &Self) -> bool { @@ -6123,7 +6123,7 @@ impl ISClusResTypes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResTypes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResTypes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResTypes { fn eq(&self, other: &Self) -> bool { @@ -6360,7 +6360,7 @@ impl ISClusResource { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResource, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResource, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResource { fn eq(&self, other: &Self) -> bool { @@ -6529,7 +6529,7 @@ impl ISClusResources { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusResources, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusResources, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusResources { fn eq(&self, other: &Self) -> bool { @@ -6611,7 +6611,7 @@ impl ISClusScsiAddress { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusScsiAddress, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusScsiAddress, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusScsiAddress { fn eq(&self, other: &Self) -> bool { @@ -6712,7 +6712,7 @@ impl ISClusVersion { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusVersion, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusVersion, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusVersion { fn eq(&self, other: &Self) -> bool { @@ -6876,7 +6876,7 @@ impl ISCluster { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISCluster, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISCluster, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISCluster { fn eq(&self, other: &Self) -> bool { @@ -7000,7 +7000,7 @@ impl ISClusterNames { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISClusterNames, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISClusterNames, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISClusterNames { fn eq(&self, other: &Self) -> bool { @@ -7068,7 +7068,7 @@ impl ISDomainNames { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISDomainNames, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISDomainNames, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISDomainNames { fn eq(&self, other: &Self) -> bool { @@ -7118,7 +7118,7 @@ impl IWCContextMenuCallback { (::windows::core::Vtable::vtable(self).AddExtensionMenuItem)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(lpszname), ::core::mem::transmute_copy(lpszstatusbartext), ncommandid, nsubmenucommandid, uflags).ok() } } -::windows::core::interface_hierarchy!(IWCContextMenuCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWCContextMenuCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWCContextMenuCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7155,7 +7155,7 @@ impl IWCPropertySheetCallback { (::windows::core::Vtable::vtable(self).AddPropertySheetPage)(::windows::core::Vtable::as_raw(self), hpage).ok() } } -::windows::core::interface_hierarchy!(IWCPropertySheetCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWCPropertySheetCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWCPropertySheetCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7200,7 +7200,7 @@ impl IWCWizard97Callback { (::windows::core::Vtable::vtable(self).EnableNext)(::windows::core::Vtable::as_raw(self), hpage, benable.into()).ok() } } -::windows::core::interface_hierarchy!(IWCWizard97Callback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWCWizard97Callback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWCWizard97Callback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7249,7 +7249,7 @@ impl IWCWizardCallback { (::windows::core::Vtable::vtable(self).EnableNext)(::windows::core::Vtable::as_raw(self), hpage, benable.into()).ok() } } -::windows::core::interface_hierarchy!(IWCWizardCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWCWizardCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWCWizardCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7294,7 +7294,7 @@ impl IWEExtendContextMenu { (::windows::core::Vtable::vtable(self).AddContextMenuItems)(::windows::core::Vtable::as_raw(self), pidata.into().abi(), picallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWEExtendContextMenu, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWEExtendContextMenu, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWEExtendContextMenu { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7335,7 +7335,7 @@ impl IWEExtendPropertySheet { (::windows::core::Vtable::vtable(self).CreatePropertySheetPages)(::windows::core::Vtable::as_raw(self), pidata.into().abi(), picallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWEExtendPropertySheet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWEExtendPropertySheet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWEExtendPropertySheet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7376,7 +7376,7 @@ impl IWEExtendWizard { (::windows::core::Vtable::vtable(self).CreateWizardPages)(::windows::core::Vtable::as_raw(self), pidata.into().abi(), picallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWEExtendWizard, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWEExtendWizard, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWEExtendWizard { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7417,7 +7417,7 @@ impl IWEExtendWizard97 { (::windows::core::Vtable::vtable(self).CreateWizard97Pages)(::windows::core::Vtable::as_raw(self), pidata.into().abi(), picallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWEExtendWizard97, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWEExtendWizard97, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWEExtendWizard97 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7457,7 +7457,7 @@ impl IWEInvokeCommand { (::windows::core::Vtable::vtable(self).InvokeCommand)(::windows::core::Vtable::as_raw(self), ncommandid, pidata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWEInvokeCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWEInvokeCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWEInvokeCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Networking/HttpServer/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/HttpServer/mod.rs index 106fc5f7d4..a95b6a1f48 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/HttpServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/HttpServer/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpAddFragmentToCache ( requestqueuehandle : super::super::Foundation:: HANDLE , urlprefix : :: windows::core::PCWSTR , datachunk : *const HTTP_DATA_CHUNK , cachepolicy : *const HTTP_CACHE_POLICY , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpAddFragmentToCache ( requestqueuehandle : super::super::Foundation:: HANDLE , urlprefix : :: windows::core::PCWSTR , datachunk : *const HTTP_DATA_CHUNK , cachepolicy : *const HTTP_CACHE_POLICY , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpAddFragmentToCache(requestqueuehandle.into(), urlprefix.into().abi(), datachunk, cachepolicy, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpAddUrl ( requestqueuehandle : super::super::Foundation:: HANDLE , fullyqualifiedurl : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpAddUrl ( requestqueuehandle : super::super::Foundation:: HANDLE , fullyqualifiedurl : :: windows::core::PCWSTR , reserved : *const ::core::ffi::c_void ) -> u32 ); HttpAddUrl(requestqueuehandle.into(), fullyqualifiedurl.into().abi(), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] @@ -26,7 +26,7 @@ pub unsafe fn HttpAddUrlToUrlGroup(urlgroupid: u64, pfullyqualifiedurl: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpAddUrlToUrlGroup ( urlgroupid : u64 , pfullyqualifiedurl : :: windows::core::PCWSTR , urlcontext : u64 , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpAddUrlToUrlGroup ( urlgroupid : u64 , pfullyqualifiedurl : :: windows::core::PCWSTR , urlcontext : u64 , reserved : u32 ) -> u32 ); HttpAddUrlToUrlGroup(urlgroupid, pfullyqualifiedurl.into().abi(), urlcontext, reserved) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn HttpCancelHttpRequest(requestqueuehandle: P0, requestid: u64, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpCancelHttpRequest ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpCancelHttpRequest ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpCancelHttpRequest(requestqueuehandle.into(), requestid, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -46,26 +46,26 @@ pub unsafe fn HttpCloseRequestQueue(requestqueuehandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpCloseRequestQueue ( requestqueuehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpCloseRequestQueue ( requestqueuehandle : super::super::Foundation:: HANDLE ) -> u32 ); HttpCloseRequestQueue(requestqueuehandle.into()) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpCloseServerSession(serversessionid: u64) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpCloseServerSession ( serversessionid : u64 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpCloseServerSession ( serversessionid : u64 ) -> u32 ); HttpCloseServerSession(serversessionid) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpCloseUrlGroup(urlgroupid: u64) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpCloseUrlGroup ( urlgroupid : u64 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpCloseUrlGroup ( urlgroupid : u64 ) -> u32 ); HttpCloseUrlGroup(urlgroupid) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpCreateHttpHandle(requestqueuehandle: *mut super::super::Foundation::HANDLE, reserved: u32) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpCreateHttpHandle ( requestqueuehandle : *mut super::super::Foundation:: HANDLE , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpCreateHttpHandle ( requestqueuehandle : *mut super::super::Foundation:: HANDLE , reserved : u32 ) -> u32 ); HttpCreateHttpHandle(requestqueuehandle, reserved) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -75,19 +75,19 @@ pub unsafe fn HttpCreateRequestQueue(version: HTTPAPI_VERSION, name: P0, sec where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpCreateRequestQueue ( version : HTTPAPI_VERSION , name : :: windows::core::PCWSTR , securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flags : u32 , requestqueuehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpCreateRequestQueue ( version : HTTPAPI_VERSION , name : :: windows::core::PCWSTR , securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flags : u32 , requestqueuehandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); HttpCreateRequestQueue(::core::mem::transmute(version), name.into().abi(), ::core::mem::transmute(securityattributes.unwrap_or(::std::ptr::null())), flags, requestqueuehandle) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpCreateServerSession(version: HTTPAPI_VERSION, serversessionid: *mut u64, reserved: u32) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpCreateServerSession ( version : HTTPAPI_VERSION , serversessionid : *mut u64 , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpCreateServerSession ( version : HTTPAPI_VERSION , serversessionid : *mut u64 , reserved : u32 ) -> u32 ); HttpCreateServerSession(::core::mem::transmute(version), serversessionid, reserved) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpCreateUrlGroup(serversessionid: u64, purlgroupid: *mut u64, reserved: u32) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpCreateUrlGroup ( serversessionid : u64 , purlgroupid : *mut u64 , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpCreateUrlGroup ( serversessionid : u64 , purlgroupid : *mut u64 , reserved : u32 ) -> u32 ); HttpCreateUrlGroup(serversessionid, purlgroupid, reserved) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -99,7 +99,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpDeclarePush ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , verb : HTTP_VERB , path : :: windows::core::PCWSTR , query : :: windows::core::PCSTR , headers : *const HTTP_REQUEST_HEADERS ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpDeclarePush ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , verb : HTTP_VERB , path : :: windows::core::PCWSTR , query : :: windows::core::PCSTR , headers : *const HTTP_REQUEST_HEADERS ) -> u32 ); HttpDeclarePush(requestqueuehandle.into(), requestid, verb, path.into().abi(), query.into().abi(), ::core::mem::transmute(headers.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -110,7 +110,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpDelegateRequestEx ( requestqueuehandle : super::super::Foundation:: HANDLE , delegatequeuehandle : super::super::Foundation:: HANDLE , requestid : u64 , delegateurlgroupid : u64 , propertyinfosetsize : u32 , propertyinfoset : *const HTTP_DELEGATE_REQUEST_PROPERTY_INFO ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpDelegateRequestEx ( requestqueuehandle : super::super::Foundation:: HANDLE , delegatequeuehandle : super::super::Foundation:: HANDLE , requestid : u64 , delegateurlgroupid : u64 , propertyinfosetsize : u32 , propertyinfoset : *const HTTP_DELEGATE_REQUEST_PROPERTY_INFO ) -> u32 ); HttpDelegateRequestEx(requestqueuehandle.into(), delegatequeuehandle.into(), requestid, delegateurlgroupid, propertyinfosetsize, propertyinfoset) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -120,7 +120,7 @@ pub unsafe fn HttpDeleteServiceConfiguration(servicehandle: P0, configid: HT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpDeleteServiceConfiguration ( servicehandle : super::super::Foundation:: HANDLE , configid : HTTP_SERVICE_CONFIG_ID , pconfiginformation : *const ::core::ffi::c_void , configinformationlength : u32 , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpDeleteServiceConfiguration ( servicehandle : super::super::Foundation:: HANDLE , configid : HTTP_SERVICE_CONFIG_ID , pconfiginformation : *const ::core::ffi::c_void , configinformationlength : u32 , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpDeleteServiceConfiguration(servicehandle.into(), configid, pconfiginformation, configinformationlength, ::core::mem::transmute(poverlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -131,7 +131,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpFindUrlGroupId ( fullyqualifiedurl : :: windows::core::PCWSTR , requestqueuehandle : super::super::Foundation:: HANDLE , urlgroupid : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpFindUrlGroupId ( fullyqualifiedurl : :: windows::core::PCWSTR , requestqueuehandle : super::super::Foundation:: HANDLE , urlgroupid : *mut u64 ) -> u32 ); HttpFindUrlGroupId(fullyqualifiedurl.into().abi(), requestqueuehandle.into(), urlgroupid) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -142,26 +142,26 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpFlushResponseCache ( requestqueuehandle : super::super::Foundation:: HANDLE , urlprefix : :: windows::core::PCWSTR , flags : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpFlushResponseCache ( requestqueuehandle : super::super::Foundation:: HANDLE , urlprefix : :: windows::core::PCWSTR , flags : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpFlushResponseCache(requestqueuehandle.into(), urlprefix.into().abi(), flags, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpGetExtension(version: HTTPAPI_VERSION, extension: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpGetExtension ( version : HTTPAPI_VERSION , extension : u32 , buffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpGetExtension ( version : HTTPAPI_VERSION , extension : u32 , buffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> u32 ); HttpGetExtension(::core::mem::transmute(version), extension, buffer, buffersize) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpInitialize(version: HTTPAPI_VERSION, flags: HTTP_INITIALIZE, preserved: ::core::option::Option<*mut ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpInitialize ( version : HTTPAPI_VERSION , flags : HTTP_INITIALIZE , preserved : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpInitialize ( version : HTTPAPI_VERSION , flags : HTTP_INITIALIZE , preserved : *mut ::core::ffi::c_void ) -> u32 ); HttpInitialize(::core::mem::transmute(version), flags, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpIsFeatureSupported(featureid: HTTP_FEATURE_ID) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpIsFeatureSupported ( featureid : HTTP_FEATURE_ID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpIsFeatureSupported ( featureid : HTTP_FEATURE_ID ) -> super::super::Foundation:: BOOL ); HttpIsFeatureSupported(featureid) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] @@ -170,7 +170,7 @@ pub unsafe fn HttpPrepareUrl(reserved: ::core::option::Option<*const ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpPrepareUrl ( reserved : *const ::core::ffi::c_void , flags : u32 , url : :: windows::core::PCWSTR , preparedurl : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpPrepareUrl ( reserved : *const ::core::ffi::c_void , flags : u32 , url : :: windows::core::PCWSTR , preparedurl : *mut :: windows::core::PWSTR ) -> u32 ); HttpPrepareUrl(::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), flags, url.into().abi(), preparedurl) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -180,13 +180,13 @@ pub unsafe fn HttpQueryRequestQueueProperty(requestqueuehandle: P0, property where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpQueryRequestQueueProperty ( requestqueuehandle : super::super::Foundation:: HANDLE , property : HTTP_SERVER_PROPERTY , propertyinformation : *mut ::core::ffi::c_void , propertyinformationlength : u32 , reserved1 : u32 , returnlength : *mut u32 , reserved2 : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpQueryRequestQueueProperty ( requestqueuehandle : super::super::Foundation:: HANDLE , property : HTTP_SERVER_PROPERTY , propertyinformation : *mut ::core::ffi::c_void , propertyinformationlength : u32 , reserved1 : u32 , returnlength : *mut u32 , reserved2 : *const ::core::ffi::c_void ) -> u32 ); HttpQueryRequestQueueProperty(requestqueuehandle.into(), property, ::core::mem::transmute(propertyinformation.unwrap_or(::std::ptr::null_mut())), propertyinformationlength, reserved1, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpQueryServerSessionProperty(serversessionid: u64, property: HTTP_SERVER_PROPERTY, propertyinformation: ::core::option::Option<*mut ::core::ffi::c_void>, propertyinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpQueryServerSessionProperty ( serversessionid : u64 , property : HTTP_SERVER_PROPERTY , propertyinformation : *mut ::core::ffi::c_void , propertyinformationlength : u32 , returnlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpQueryServerSessionProperty ( serversessionid : u64 , property : HTTP_SERVER_PROPERTY , propertyinformation : *mut ::core::ffi::c_void , propertyinformationlength : u32 , returnlength : *mut u32 ) -> u32 ); HttpQueryServerSessionProperty(serversessionid, property, ::core::mem::transmute(propertyinformation.unwrap_or(::std::ptr::null_mut())), propertyinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -196,13 +196,13 @@ pub unsafe fn HttpQueryServiceConfiguration(servicehandle: P0, configid: HTT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpQueryServiceConfiguration ( servicehandle : super::super::Foundation:: HANDLE , configid : HTTP_SERVICE_CONFIG_ID , pinput : *const ::core::ffi::c_void , inputlength : u32 , poutput : *mut ::core::ffi::c_void , outputlength : u32 , preturnlength : *mut u32 , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpQueryServiceConfiguration ( servicehandle : super::super::Foundation:: HANDLE , configid : HTTP_SERVICE_CONFIG_ID , pinput : *const ::core::ffi::c_void , inputlength : u32 , poutput : *mut ::core::ffi::c_void , outputlength : u32 , preturnlength : *mut u32 , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpQueryServiceConfiguration(servicehandle.into(), configid, ::core::mem::transmute(pinput.unwrap_or(::std::ptr::null())), inputlength, ::core::mem::transmute(poutput.unwrap_or(::std::ptr::null_mut())), outputlength, ::core::mem::transmute(preturnlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poverlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpQueryUrlGroupProperty(urlgroupid: u64, property: HTTP_SERVER_PROPERTY, propertyinformation: ::core::option::Option<*mut ::core::ffi::c_void>, propertyinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpQueryUrlGroupProperty ( urlgroupid : u64 , property : HTTP_SERVER_PROPERTY , propertyinformation : *mut ::core::ffi::c_void , propertyinformationlength : u32 , returnlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpQueryUrlGroupProperty ( urlgroupid : u64 , property : HTTP_SERVER_PROPERTY , propertyinformation : *mut ::core::ffi::c_void , propertyinformationlength : u32 , returnlength : *mut u32 ) -> u32 ); HttpQueryUrlGroupProperty(urlgroupid, property, ::core::mem::transmute(propertyinformation.unwrap_or(::std::ptr::null_mut())), propertyinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -213,7 +213,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpReadFragmentFromCache ( requestqueuehandle : super::super::Foundation:: HANDLE , urlprefix : :: windows::core::PCWSTR , byterange : *const HTTP_BYTE_RANGE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 , bytesread : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpReadFragmentFromCache ( requestqueuehandle : super::super::Foundation:: HANDLE , urlprefix : :: windows::core::PCWSTR , byterange : *const HTTP_BYTE_RANGE , buffer : *mut ::core::ffi::c_void , bufferlength : u32 , bytesread : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpReadFragmentFromCache(requestqueuehandle.into(), urlprefix.into().abi(), ::core::mem::transmute(byterange.unwrap_or(::std::ptr::null())), buffer, bufferlength, ::core::mem::transmute(bytesread.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -223,7 +223,7 @@ pub unsafe fn HttpReceiveClientCertificate(requestqueuehandle: P0, connectio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpReceiveClientCertificate ( requestqueuehandle : super::super::Foundation:: HANDLE , connectionid : u64 , flags : u32 , sslclientcertinfo : *mut HTTP_SSL_CLIENT_CERT_INFO , sslclientcertinfosize : u32 , bytesreceived : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpReceiveClientCertificate ( requestqueuehandle : super::super::Foundation:: HANDLE , connectionid : u64 , flags : u32 , sslclientcertinfo : *mut HTTP_SSL_CLIENT_CERT_INFO , sslclientcertinfosize : u32 , bytesreceived : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpReceiveClientCertificate(requestqueuehandle.into(), connectionid, flags, sslclientcertinfo, sslclientcertinfosize, ::core::mem::transmute(bytesreceived.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_IO\"`*"] @@ -233,7 +233,7 @@ pub unsafe fn HttpReceiveHttpRequest(requestqueuehandle: P0, requestid: u64, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpReceiveHttpRequest ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , flags : HTTP_RECEIVE_HTTP_REQUEST_FLAGS , requestbuffer : *mut HTTP_REQUEST_V2 , requestbufferlength : u32 , bytesreturned : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpReceiveHttpRequest ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , flags : HTTP_RECEIVE_HTTP_REQUEST_FLAGS , requestbuffer : *mut HTTP_REQUEST_V2 , requestbufferlength : u32 , bytesreturned : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpReceiveHttpRequest(requestqueuehandle.into(), requestid, flags, requestbuffer, requestbufferlength, ::core::mem::transmute(bytesreturned.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -243,7 +243,7 @@ pub unsafe fn HttpReceiveRequestEntityBody(requestqueuehandle: P0, requestid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpReceiveRequestEntityBody ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , flags : u32 , entitybuffer : *mut ::core::ffi::c_void , entitybufferlength : u32 , bytesreturned : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpReceiveRequestEntityBody ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , flags : u32 , entitybuffer : *mut ::core::ffi::c_void , entitybufferlength : u32 , bytesreturned : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpReceiveRequestEntityBody(requestqueuehandle.into(), requestid, flags, entitybuffer, entitybufferlength, ::core::mem::transmute(bytesreturned.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -254,7 +254,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpRemoveUrl ( requestqueuehandle : super::super::Foundation:: HANDLE , fullyqualifiedurl : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpRemoveUrl ( requestqueuehandle : super::super::Foundation:: HANDLE , fullyqualifiedurl : :: windows::core::PCWSTR ) -> u32 ); HttpRemoveUrl(requestqueuehandle.into(), fullyqualifiedurl.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] @@ -263,7 +263,7 @@ pub unsafe fn HttpRemoveUrlFromUrlGroup(urlgroupid: u64, pfullyqualifiedurl: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpRemoveUrlFromUrlGroup ( urlgroupid : u64 , pfullyqualifiedurl : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpRemoveUrlFromUrlGroup ( urlgroupid : u64 , pfullyqualifiedurl : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); HttpRemoveUrlFromUrlGroup(urlgroupid, pfullyqualifiedurl.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -273,7 +273,7 @@ pub unsafe fn HttpSendHttpResponse(requestqueuehandle: P0, requestid: u64, f where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpSendHttpResponse ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , flags : u32 , httpresponse : *const HTTP_RESPONSE_V2 , cachepolicy : *const HTTP_CACHE_POLICY , bytessent : *mut u32 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , logdata : *const HTTP_LOG_DATA ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpSendHttpResponse ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , flags : u32 , httpresponse : *const HTTP_RESPONSE_V2 , cachepolicy : *const HTTP_CACHE_POLICY , bytessent : *mut u32 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , logdata : *const HTTP_LOG_DATA ) -> u32 ); HttpSendHttpResponse(requestqueuehandle.into(), requestid, flags, httpresponse, ::core::mem::transmute(cachepolicy.unwrap_or(::std::ptr::null())), ::core::mem::transmute(bytessent.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -283,7 +283,7 @@ pub unsafe fn HttpSendResponseEntityBody(requestqueuehandle: P0, requestid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpSendResponseEntityBody ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , flags : u32 , entitychunkcount : u16 , entitychunks : *const HTTP_DATA_CHUNK , bytessent : *mut u32 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , logdata : *const HTTP_LOG_DATA ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpSendResponseEntityBody ( requestqueuehandle : super::super::Foundation:: HANDLE , requestid : u64 , flags : u32 , entitychunkcount : u16 , entitychunks : *const HTTP_DATA_CHUNK , bytessent : *mut u32 , reserved1 : *const ::core::ffi::c_void , reserved2 : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , logdata : *const HTTP_LOG_DATA ) -> u32 ); HttpSendResponseEntityBody(requestqueuehandle.into(), requestid, flags, entitychunks.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(entitychunks.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(bytessent.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), reserved2, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -293,7 +293,7 @@ pub unsafe fn HttpSetRequestProperty(requestqueuehandle: P0, id: u64, proper where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpSetRequestProperty ( requestqueuehandle : super::super::Foundation:: HANDLE , id : u64 , propertyid : HTTP_REQUEST_PROPERTY , input : *const ::core::ffi::c_void , inputpropertysize : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpSetRequestProperty ( requestqueuehandle : super::super::Foundation:: HANDLE , id : u64 , propertyid : HTTP_REQUEST_PROPERTY , input : *const ::core::ffi::c_void , inputpropertysize : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpSetRequestProperty(requestqueuehandle.into(), id, propertyid, ::core::mem::transmute(input.unwrap_or(::std::ptr::null())), inputpropertysize, overlapped) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -303,13 +303,13 @@ pub unsafe fn HttpSetRequestQueueProperty(requestqueuehandle: P0, property: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpSetRequestQueueProperty ( requestqueuehandle : super::super::Foundation:: HANDLE , property : HTTP_SERVER_PROPERTY , propertyinformation : *const ::core::ffi::c_void , propertyinformationlength : u32 , reserved1 : u32 , reserved2 : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpSetRequestQueueProperty ( requestqueuehandle : super::super::Foundation:: HANDLE , property : HTTP_SERVER_PROPERTY , propertyinformation : *const ::core::ffi::c_void , propertyinformationlength : u32 , reserved1 : u32 , reserved2 : *const ::core::ffi::c_void ) -> u32 ); HttpSetRequestQueueProperty(requestqueuehandle.into(), property, propertyinformation, propertyinformationlength, reserved1, ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpSetServerSessionProperty(serversessionid: u64, property: HTTP_SERVER_PROPERTY, propertyinformation: *const ::core::ffi::c_void, propertyinformationlength: u32) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpSetServerSessionProperty ( serversessionid : u64 , property : HTTP_SERVER_PROPERTY , propertyinformation : *const ::core::ffi::c_void , propertyinformationlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpSetServerSessionProperty ( serversessionid : u64 , property : HTTP_SERVER_PROPERTY , propertyinformation : *const ::core::ffi::c_void , propertyinformationlength : u32 ) -> u32 ); HttpSetServerSessionProperty(serversessionid, property, propertyinformation, propertyinformationlength) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -319,13 +319,13 @@ pub unsafe fn HttpSetServiceConfiguration(servicehandle: P0, configid: HTTP_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpSetServiceConfiguration ( servicehandle : super::super::Foundation:: HANDLE , configid : HTTP_SERVICE_CONFIG_ID , pconfiginformation : *const ::core::ffi::c_void , configinformationlength : u32 , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpSetServiceConfiguration ( servicehandle : super::super::Foundation:: HANDLE , configid : HTTP_SERVICE_CONFIG_ID , pconfiginformation : *const ::core::ffi::c_void , configinformationlength : u32 , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpSetServiceConfiguration(servicehandle.into(), configid, pconfiginformation, configinformationlength, ::core::mem::transmute(poverlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpSetUrlGroupProperty(urlgroupid: u64, property: HTTP_SERVER_PROPERTY, propertyinformation: *const ::core::ffi::c_void, propertyinformationlength: u32) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpSetUrlGroupProperty ( urlgroupid : u64 , property : HTTP_SERVER_PROPERTY , propertyinformation : *const ::core::ffi::c_void , propertyinformationlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpSetUrlGroupProperty ( urlgroupid : u64 , property : HTTP_SERVER_PROPERTY , propertyinformation : *const ::core::ffi::c_void , propertyinformationlength : u32 ) -> u32 ); HttpSetUrlGroupProperty(urlgroupid, property, propertyinformation, propertyinformationlength) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`*"] @@ -335,13 +335,13 @@ pub unsafe fn HttpShutdownRequestQueue(requestqueuehandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpShutdownRequestQueue ( requestqueuehandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpShutdownRequestQueue ( requestqueuehandle : super::super::Foundation:: HANDLE ) -> u32 ); HttpShutdownRequestQueue(requestqueuehandle.into()) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] #[inline] pub unsafe fn HttpTerminate(flags: HTTP_INITIALIZE, preserved: ::core::option::Option<*mut ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpTerminate ( flags : HTTP_INITIALIZE , preserved : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpTerminate ( flags : HTTP_INITIALIZE , preserved : *mut ::core::ffi::c_void ) -> u32 ); HttpTerminate(flags, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn HttpUpdateServiceConfiguration(handle: P0, configid: HTTP_SERV where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpUpdateServiceConfiguration ( handle : super::super::Foundation:: HANDLE , configid : HTTP_SERVICE_CONFIG_ID , configinfo : *const ::core::ffi::c_void , configinfolength : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpUpdateServiceConfiguration ( handle : super::super::Foundation:: HANDLE , configid : HTTP_SERVICE_CONFIG_ID , configinfo : *const ::core::ffi::c_void , configinfolength : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpUpdateServiceConfiguration(handle.into(), configid, configinfo, configinfolength, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -361,7 +361,7 @@ pub unsafe fn HttpWaitForDemandStart(requestqueuehandle: P0, overlapped: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpWaitForDemandStart ( requestqueuehandle : super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpWaitForDemandStart ( requestqueuehandle : super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpWaitForDemandStart(requestqueuehandle.into(), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -371,7 +371,7 @@ pub unsafe fn HttpWaitForDisconnect(requestqueuehandle: P0, connectionid: u6 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpWaitForDisconnect ( requestqueuehandle : super::super::Foundation:: HANDLE , connectionid : u64 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpWaitForDisconnect ( requestqueuehandle : super::super::Foundation:: HANDLE , connectionid : u64 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpWaitForDisconnect(requestqueuehandle.into(), connectionid, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -381,7 +381,7 @@ pub unsafe fn HttpWaitForDisconnectEx(requestqueuehandle: P0, connectionid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "httpapi.dll""system" fn HttpWaitForDisconnectEx ( requestqueuehandle : super::super::Foundation:: HANDLE , connectionid : u64 , reserved : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); + ::windows::imp::link ! ( "httpapi.dll""system" fn HttpWaitForDisconnectEx ( requestqueuehandle : super::super::Foundation:: HANDLE , connectionid : u64 , reserved : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); HttpWaitForDisconnectEx(requestqueuehandle.into(), connectionid, reserved, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_HttpServer\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs index bf9f834cc6..18ab62aca0 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs @@ -1,75 +1,75 @@ #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn LdapGetLastError() -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn LdapGetLastError ( ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn LdapGetLastError ( ) -> u32 ); LdapGetLastError() } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LdapMapErrorToWin32(ldaperror: LDAP_RETCODE) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn LdapMapErrorToWin32 ( ldaperror : LDAP_RETCODE ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn LdapMapErrorToWin32 ( ldaperror : LDAP_RETCODE ) -> super::super::Foundation:: WIN32_ERROR ); LdapMapErrorToWin32(ldaperror) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn LdapUTF8ToUnicode(lpsrcstr: &[u8], lpdeststr: &mut [u16]) -> i32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn LdapUTF8ToUnicode ( lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpdeststr : :: windows::core::PWSTR , cchdest : i32 ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn LdapUTF8ToUnicode ( lpsrcstr : :: windows::core::PCSTR , cchsrc : i32 , lpdeststr : :: windows::core::PWSTR , cchdest : i32 ) -> i32 ); LdapUTF8ToUnicode(::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr.as_ptr()), lpdeststr.len() as _) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn LdapUnicodeToUTF8(lpsrcstr: &[u16], lpdeststr: &mut [u8]) -> i32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn LdapUnicodeToUTF8 ( lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpdeststr : :: windows::core::PSTR , cchdest : i32 ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn LdapUnicodeToUTF8 ( lpsrcstr : :: windows::core::PCWSTR , cchsrc : i32 , lpdeststr : :: windows::core::PSTR , cchdest : i32 ) -> i32 ); LdapUnicodeToUTF8(::core::mem::transmute(lpsrcstr.as_ptr()), lpsrcstr.len() as _, ::core::mem::transmute(lpdeststr.as_ptr()), lpdeststr.len() as _) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_alloc_t(options: i32) -> *mut BerElement { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_alloc_t ( options : i32 ) -> *mut BerElement ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_alloc_t ( options : i32 ) -> *mut BerElement ); ber_alloc_t(options) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_bvdup(pberval: *mut LDAP_BERVAL) -> *mut LDAP_BERVAL { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_bvdup ( pberval : *mut LDAP_BERVAL ) -> *mut LDAP_BERVAL ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_bvdup ( pberval : *mut LDAP_BERVAL ) -> *mut LDAP_BERVAL ); ber_bvdup(pberval) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_bvecfree(pberval: *mut *mut LDAP_BERVAL) { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_bvecfree ( pberval : *mut *mut LDAP_BERVAL ) -> ( ) ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_bvecfree ( pberval : *mut *mut LDAP_BERVAL ) -> ( ) ); ber_bvecfree(pberval) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_bvfree(bv: *mut LDAP_BERVAL) { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_bvfree ( bv : *mut LDAP_BERVAL ) -> ( ) ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_bvfree ( bv : *mut LDAP_BERVAL ) -> ( ) ); ber_bvfree(bv) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ber_first_element(pberelement: *mut BerElement, plen: *mut u32, ppopaque: *mut *mut super::super::Foundation::CHAR) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_first_element ( pberelement : *mut BerElement , plen : *mut u32 , ppopaque : *mut *mut super::super::Foundation:: CHAR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_first_element ( pberelement : *mut BerElement , plen : *mut u32 , ppopaque : *mut *mut super::super::Foundation:: CHAR ) -> u32 ); ber_first_element(pberelement, plen, ppopaque) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_flatten(pberelement: *mut BerElement, pberval: *mut *mut LDAP_BERVAL) -> i32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_flatten ( pberelement : *mut BerElement , pberval : *mut *mut LDAP_BERVAL ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_flatten ( pberelement : *mut BerElement , pberval : *mut *mut LDAP_BERVAL ) -> i32 ); ber_flatten(pberelement, pberval) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_free(pberelement: *mut BerElement, fbuf: i32) { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_free ( pberelement : *mut BerElement , fbuf : i32 ) -> ( ) ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_free ( pberelement : *mut BerElement , fbuf : i32 ) -> ( ) ); ber_free(pberelement, fbuf) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_init(pberval: *mut LDAP_BERVAL) -> *mut BerElement { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_init ( pberval : *mut LDAP_BERVAL ) -> *mut BerElement ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_init ( pberval : *mut LDAP_BERVAL ) -> *mut BerElement ); ber_init(pberval) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -78,13 +78,13 @@ pub unsafe fn ber_next_element(pberelement: *mut BerElement, plen: *mut u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_next_element ( pberelement : *mut BerElement , plen : *mut u32 , opaque : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_next_element ( pberelement : *mut BerElement , plen : *mut u32 , opaque : :: windows::core::PCSTR ) -> u32 ); ber_next_element(pberelement, plen, opaque.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_peek_tag(pberelement: *mut BerElement, plen: *mut u32) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_peek_tag ( pberelement : *mut BerElement , plen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_peek_tag ( pberelement : *mut BerElement , plen : *mut u32 ) -> u32 ); ber_peek_tag(pberelement, plen) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -93,7 +93,7 @@ pub unsafe fn ber_printf(pberelement: *mut BerElement, fmt: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_printf ( pberelement : *mut BerElement , fmt : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_printf ( pberelement : *mut BerElement , fmt : :: windows::core::PCSTR ) -> i32 ); ber_printf(pberelement, fmt.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -102,13 +102,13 @@ pub unsafe fn ber_scanf(pberelement: *mut BerElement, fmt: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_scanf ( pberelement : *mut BerElement , fmt : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_scanf ( pberelement : *mut BerElement , fmt : :: windows::core::PCSTR ) -> u32 ); ber_scanf(pberelement, fmt.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ber_skip_tag(pberelement: *mut BerElement, plen: *mut u32) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ber_skip_tag ( pberelement : *mut BerElement , plen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ber_skip_tag ( pberelement : *mut BerElement , plen : *mut u32 ) -> u32 ); ber_skip_tag(pberelement, plen) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn cldap_open(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn cldap_open ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn cldap_open ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); cldap_open(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -126,7 +126,7 @@ pub unsafe fn cldap_openA(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn cldap_openA ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn cldap_openA ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); cldap_openA(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -135,13 +135,13 @@ pub unsafe fn cldap_openW(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn cldap_openW ( hostname : :: windows::core::PCWSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn cldap_openW ( hostname : :: windows::core::PCWSTR , portnumber : u32 ) -> *mut LDAP ); cldap_openW(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_abandon(ld: *mut LDAP, msgid: u32) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_abandon ( ld : *mut LDAP , msgid : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_abandon ( ld : *mut LDAP , msgid : u32 ) -> u32 ); ldap_abandon(ld, msgid) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -150,7 +150,7 @@ pub unsafe fn ldap_add(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModA) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA ) -> u32 ); ldap_add(ld, dn.into().abi(), attrs) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -159,7 +159,7 @@ pub unsafe fn ldap_addA(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModA) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_addA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_addA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA ) -> u32 ); ldap_addA(ld, dn.into().abi(), attrs) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -168,7 +168,7 @@ pub unsafe fn ldap_addW(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModW) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_addW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attrs : *mut *mut LDAPModW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_addW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attrs : *mut *mut LDAPModW ) -> u32 ); ldap_addW(ld, dn.into().abi(), attrs) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -178,7 +178,7 @@ pub unsafe fn ldap_add_ext(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModA, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_add_ext(ld, dn.into().abi(), attrs, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -188,7 +188,7 @@ pub unsafe fn ldap_add_extA(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModA where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_add_extA(ld, dn.into().abi(), attrs, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -198,7 +198,7 @@ pub unsafe fn ldap_add_extW(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModW where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attrs : *mut *mut LDAPModW , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attrs : *mut *mut LDAPModW , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); ldap_add_extW(ld, dn.into().abi(), attrs, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -208,7 +208,7 @@ pub unsafe fn ldap_add_ext_s(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPMod where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_add_ext_s(ld, dn.into().abi(), attrs, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -218,7 +218,7 @@ pub unsafe fn ldap_add_ext_sA(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPMo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_add_ext_sA(ld, dn.into().abi(), attrs, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -228,7 +228,7 @@ pub unsafe fn ldap_add_ext_sW(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPMo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attrs : *mut *mut LDAPModW , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attrs : *mut *mut LDAPModW , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); ldap_add_ext_sW(ld, dn.into().abi(), attrs, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -237,7 +237,7 @@ pub unsafe fn ldap_add_s(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModA) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA ) -> u32 ); ldap_add_s(ld, dn.into().abi(), attrs) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -246,7 +246,7 @@ pub unsafe fn ldap_add_sA(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModA) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attrs : *mut *mut LDAPModA ) -> u32 ); ldap_add_sA(ld, dn.into().abi(), attrs) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -255,7 +255,7 @@ pub unsafe fn ldap_add_sW(ld: *mut LDAP, dn: P0, attrs: *mut *mut LDAPModW) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_add_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attrs : *mut *mut LDAPModW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_add_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attrs : *mut *mut LDAPModW ) -> u32 ); ldap_add_sW(ld, dn.into().abi(), attrs) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -265,7 +265,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_bind ( ld : *mut LDAP , dn : :: windows::core::PCSTR , cred : :: windows::core::PCSTR , method : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_bind ( ld : *mut LDAP , dn : :: windows::core::PCSTR , cred : :: windows::core::PCSTR , method : u32 ) -> u32 ); ldap_bind(ld, dn.into().abi(), cred.into().abi(), method) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -275,7 +275,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_bindA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , cred : :: windows::core::PCSTR , method : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_bindA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , cred : :: windows::core::PCSTR , method : u32 ) -> u32 ); ldap_bindA(ld, dn.into().abi(), cred.into().abi(), method) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -285,7 +285,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_bindW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , cred : :: windows::core::PCWSTR , method : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_bindW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , cred : :: windows::core::PCWSTR , method : u32 ) -> u32 ); ldap_bindW(ld, dn.into().abi(), cred.into().abi(), method) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -295,7 +295,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_bind_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , cred : :: windows::core::PCSTR , method : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_bind_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , cred : :: windows::core::PCSTR , method : u32 ) -> u32 ); ldap_bind_s(ld, dn.into().abi(), cred.into().abi(), method) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -305,7 +305,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_bind_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , cred : :: windows::core::PCSTR , method : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_bind_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , cred : :: windows::core::PCSTR , method : u32 ) -> u32 ); ldap_bind_sA(ld, dn.into().abi(), cred.into().abi(), method) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -315,7 +315,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_bind_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , cred : :: windows::core::PCWSTR , method : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_bind_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , cred : :: windows::core::PCWSTR , method : u32 ) -> u32 ); ldap_bind_sW(ld, dn.into().abi(), cred.into().abi(), method) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -324,7 +324,7 @@ pub unsafe fn ldap_check_filterA(ld: *mut LDAP, searchfilter: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_check_filterA ( ld : *mut LDAP , searchfilter : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_check_filterA ( ld : *mut LDAP , searchfilter : :: windows::core::PCSTR ) -> u32 ); ldap_check_filterA(ld, searchfilter.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -333,7 +333,7 @@ pub unsafe fn ldap_check_filterW(ld: *mut LDAP, searchfilter: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_check_filterW ( ld : *mut LDAP , searchfilter : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_check_filterW ( ld : *mut LDAP , searchfilter : :: windows::core::PCWSTR ) -> u32 ); ldap_check_filterW(ld, searchfilter.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -343,13 +343,13 @@ pub unsafe fn ldap_cleanup(hinstance: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_cleanup ( hinstance : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_cleanup ( hinstance : super::super::Foundation:: HANDLE ) -> u32 ); ldap_cleanup(hinstance.into()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_close_extended_op(ld: *mut LDAP, messagenumber: u32) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_close_extended_op ( ld : *mut LDAP , messagenumber : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_close_extended_op ( ld : *mut LDAP , messagenumber : u32 ) -> u32 ); ldap_close_extended_op(ld, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -360,7 +360,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> u32 ); ldap_compare(ld, dn.into().abi(), attr.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -371,7 +371,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compareA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compareA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> u32 ); ldap_compareA(ld, dn.into().abi(), attr.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -382,7 +382,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compareW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attr : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compareW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attr : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> u32 ); ldap_compareW(ld, dn.into().abi(), attr.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -394,7 +394,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_compare_ext(ld, dn.into().abi(), attr.into().abi(), value.into().abi(), data, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -406,7 +406,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR , data : *const LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR , data : *const LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_compare_extA(ld, dn.into().abi(), attr.into().abi(), value.into().abi(), ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -418,7 +418,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attr : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR , data : *const LDAP_BERVAL , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attr : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR , data : *const LDAP_BERVAL , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); ldap_compare_extW(ld, dn.into().abi(), attr.into().abi(), value.into().abi(), ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -430,7 +430,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_compare_ext_s(ld, dn.into().abi(), attr.into().abi(), value.into().abi(), data, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -442,7 +442,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR , data : *const LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR , data : *const LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_compare_ext_sA(ld, dn.into().abi(), attr.into().abi(), value.into().abi(), ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -454,7 +454,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attr : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR , data : *const LDAP_BERVAL , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attr : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR , data : *const LDAP_BERVAL , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); ldap_compare_ext_sW(ld, dn.into().abi(), attr.into().abi(), value.into().abi(), ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -465,7 +465,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> u32 ); ldap_compare_s(ld, dn.into().abi(), attr.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -476,7 +476,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , attr : :: windows::core::PCSTR , value : :: windows::core::PCSTR ) -> u32 ); ldap_compare_sA(ld, dn.into().abi(), attr.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -487,156 +487,156 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_compare_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attr : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_compare_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , attr : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> u32 ); ldap_compare_sW(ld, dn.into().abi(), attr.into().abi(), value.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_conn_from_msg(primaryconn: *mut LDAP, res: *mut LDAPMessage) -> *mut LDAP { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_conn_from_msg ( primaryconn : *mut LDAP , res : *mut LDAPMessage ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_conn_from_msg ( primaryconn : *mut LDAP , res : *mut LDAPMessage ) -> *mut LDAP ); ldap_conn_from_msg(primaryconn, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_connect(ld: *mut LDAP, timeout: *mut LDAP_TIMEVAL) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_connect ( ld : *mut LDAP , timeout : *mut LDAP_TIMEVAL ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_connect ( ld : *mut LDAP , timeout : *mut LDAP_TIMEVAL ) -> u32 ); ldap_connect(ld, timeout) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_control_free(control: *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_control_free ( control : *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_control_free ( control : *mut LDAPControlA ) -> u32 ); ldap_control_free(control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_control_freeA(controls: *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_control_freeA ( controls : *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_control_freeA ( controls : *mut LDAPControlA ) -> u32 ); ldap_control_freeA(controls) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_control_freeW(control: *mut LDAPControlW) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_control_freeW ( control : *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_control_freeW ( control : *mut LDAPControlW ) -> u32 ); ldap_control_freeW(control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_controls_free(controls: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_controls_free ( controls : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_controls_free ( controls : *mut *mut LDAPControlA ) -> u32 ); ldap_controls_free(controls) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_controls_freeA(controls: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_controls_freeA ( controls : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_controls_freeA ( controls : *mut *mut LDAPControlA ) -> u32 ); ldap_controls_freeA(controls) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_controls_freeW(control: *mut *mut LDAPControlW) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_controls_freeW ( control : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_controls_freeW ( control : *mut *mut LDAPControlW ) -> u32 ); ldap_controls_freeW(control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_count_entries(ld: *mut LDAP, res: *mut LDAPMessage) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_count_entries ( ld : *mut LDAP , res : *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_count_entries ( ld : *mut LDAP , res : *mut LDAPMessage ) -> u32 ); ldap_count_entries(ld, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_count_references(ld: *mut LDAP, res: *mut LDAPMessage) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_count_references ( ld : *mut LDAP , res : *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_count_references ( ld : *mut LDAP , res : *mut LDAPMessage ) -> u32 ); ldap_count_references(ld, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_count_values(vals: ::core::option::Option<*const ::windows::core::PCSTR>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_count_values ( vals : *const :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_count_values ( vals : *const :: windows::core::PCSTR ) -> u32 ); ldap_count_values(::core::mem::transmute(vals.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_count_valuesA(vals: ::core::option::Option<*const ::windows::core::PCSTR>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_count_valuesA ( vals : *const :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_count_valuesA ( vals : *const :: windows::core::PCSTR ) -> u32 ); ldap_count_valuesA(::core::mem::transmute(vals.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_count_valuesW(vals: ::core::option::Option<*const ::windows::core::PCWSTR>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_count_valuesW ( vals : *const :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_count_valuesW ( vals : *const :: windows::core::PCWSTR ) -> u32 ); ldap_count_valuesW(::core::mem::transmute(vals.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_count_values_len(vals: *mut *mut LDAP_BERVAL) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_count_values_len ( vals : *mut *mut LDAP_BERVAL ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_count_values_len ( vals : *mut *mut LDAP_BERVAL ) -> u32 ); ldap_count_values_len(vals) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_create_page_control(externalhandle: *mut LDAP, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_create_page_control ( externalhandle : *mut LDAP , pagesize : u32 , cookie : *mut LDAP_BERVAL , iscritical : u8 , control : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_create_page_control ( externalhandle : *mut LDAP , pagesize : u32 , cookie : *mut LDAP_BERVAL , iscritical : u8 , control : *mut *mut LDAPControlA ) -> u32 ); ldap_create_page_control(externalhandle, pagesize, cookie, iscritical, control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_create_page_controlA(externalhandle: *mut LDAP, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_create_page_controlA ( externalhandle : *mut LDAP , pagesize : u32 , cookie : *mut LDAP_BERVAL , iscritical : u8 , control : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_create_page_controlA ( externalhandle : *mut LDAP , pagesize : u32 , cookie : *mut LDAP_BERVAL , iscritical : u8 , control : *mut *mut LDAPControlA ) -> u32 ); ldap_create_page_controlA(externalhandle, pagesize, cookie, iscritical, control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_create_page_controlW(externalhandle: *mut LDAP, pagesize: u32, cookie: *mut LDAP_BERVAL, iscritical: u8, control: *mut *mut LDAPControlW) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_create_page_controlW ( externalhandle : *mut LDAP , pagesize : u32 , cookie : *mut LDAP_BERVAL , iscritical : u8 , control : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_create_page_controlW ( externalhandle : *mut LDAP , pagesize : u32 , cookie : *mut LDAP_BERVAL , iscritical : u8 , control : *mut *mut LDAPControlW ) -> u32 ); ldap_create_page_controlW(externalhandle, pagesize, cookie, iscritical, control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_create_sort_control(externalhandle: *mut LDAP, sortkeys: *mut *mut LDAPSortKeyA, iscritical: u8, control: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_create_sort_control ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyA , iscritical : u8 , control : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_create_sort_control ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyA , iscritical : u8 , control : *mut *mut LDAPControlA ) -> u32 ); ldap_create_sort_control(externalhandle, sortkeys, iscritical, control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_create_sort_controlA(externalhandle: *mut LDAP, sortkeys: *mut *mut LDAPSortKeyA, iscritical: u8, control: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_create_sort_controlA ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyA , iscritical : u8 , control : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_create_sort_controlA ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyA , iscritical : u8 , control : *mut *mut LDAPControlA ) -> u32 ); ldap_create_sort_controlA(externalhandle, sortkeys, iscritical, control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_create_sort_controlW(externalhandle: *mut LDAP, sortkeys: *mut *mut LDAPSortKeyW, iscritical: u8, control: *mut *mut LDAPControlW) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_create_sort_controlW ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyW , iscritical : u8 , control : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_create_sort_controlW ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyW , iscritical : u8 , control : *mut *mut LDAPControlW ) -> u32 ); ldap_create_sort_controlW(externalhandle, sortkeys, iscritical, control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_create_vlv_controlA(externalhandle: *mut LDAP, vlvinfo: *mut LDAPVLVInfo, iscritical: u8, control: *mut *mut LDAPControlA) -> i32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_create_vlv_controlA ( externalhandle : *mut LDAP , vlvinfo : *mut LDAPVLVInfo , iscritical : u8 , control : *mut *mut LDAPControlA ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_create_vlv_controlA ( externalhandle : *mut LDAP , vlvinfo : *mut LDAPVLVInfo , iscritical : u8 , control : *mut *mut LDAPControlA ) -> i32 ); ldap_create_vlv_controlA(externalhandle, vlvinfo, iscritical, control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_create_vlv_controlW(externalhandle: *mut LDAP, vlvinfo: *mut LDAPVLVInfo, iscritical: u8, control: *mut *mut LDAPControlW) -> i32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_create_vlv_controlW ( externalhandle : *mut LDAP , vlvinfo : *mut LDAPVLVInfo , iscritical : u8 , control : *mut *mut LDAPControlW ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_create_vlv_controlW ( externalhandle : *mut LDAP , vlvinfo : *mut LDAPVLVInfo , iscritical : u8 , control : *mut *mut LDAPControlW ) -> i32 ); ldap_create_vlv_controlW(externalhandle, vlvinfo, iscritical, control) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -645,7 +645,7 @@ pub unsafe fn ldap_delete(ld: *mut LDAP, dn: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete ( ld : *mut LDAP , dn : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete ( ld : *mut LDAP , dn : :: windows::core::PCSTR ) -> u32 ); ldap_delete(ld, dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -654,7 +654,7 @@ pub unsafe fn ldap_deleteA(ld: *mut LDAP, dn: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_deleteA ( ld : *mut LDAP , dn : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_deleteA ( ld : *mut LDAP , dn : :: windows::core::PCSTR ) -> u32 ); ldap_deleteA(ld, dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -663,7 +663,7 @@ pub unsafe fn ldap_deleteW(ld: *mut LDAP, dn: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_deleteW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_deleteW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR ) -> u32 ); ldap_deleteW(ld, dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -673,7 +673,7 @@ pub unsafe fn ldap_delete_ext(ld: *mut LDAP, dn: P0, servercontrols: *mut *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_delete_ext(ld, dn.into().abi(), servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -683,7 +683,7 @@ pub unsafe fn ldap_delete_extA(ld: *mut LDAP, dn: P0, servercontrols: *mut * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_delete_extA(ld, dn.into().abi(), servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -693,7 +693,7 @@ pub unsafe fn ldap_delete_extW(ld: *mut LDAP, dn: P0, servercontrols: *mut * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); ldap_delete_extW(ld, dn.into().abi(), servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -703,7 +703,7 @@ pub unsafe fn ldap_delete_ext_s(ld: *mut LDAP, dn: P0, servercontrols: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_delete_ext_s(ld, dn.into().abi(), servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -713,7 +713,7 @@ pub unsafe fn ldap_delete_ext_sA(ld: *mut LDAP, dn: P0, servercontrols: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_delete_ext_sA(ld, dn.into().abi(), servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -723,7 +723,7 @@ pub unsafe fn ldap_delete_ext_sW(ld: *mut LDAP, dn: P0, servercontrols: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); ldap_delete_ext_sW(ld, dn.into().abi(), servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -732,7 +732,7 @@ pub unsafe fn ldap_delete_s(ld: *mut LDAP, dn: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR ) -> u32 ); ldap_delete_s(ld, dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -741,7 +741,7 @@ pub unsafe fn ldap_delete_sA(ld: *mut LDAP, dn: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR ) -> u32 ); ldap_delete_sA(ld, dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -750,7 +750,7 @@ pub unsafe fn ldap_delete_sW(ld: *mut LDAP, dn: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_delete_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_delete_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR ) -> u32 ); ldap_delete_sW(ld, dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -759,7 +759,7 @@ pub unsafe fn ldap_dn2ufn(dn: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_dn2ufn ( dn : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_dn2ufn ( dn : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); ldap_dn2ufn(dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -768,7 +768,7 @@ pub unsafe fn ldap_dn2ufnA(dn: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_dn2ufnA ( dn : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_dn2ufnA ( dn : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); ldap_dn2ufnA(dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -777,7 +777,7 @@ pub unsafe fn ldap_dn2ufnW(dn: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_dn2ufnW ( dn : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_dn2ufnW ( dn : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); ldap_dn2ufnW(dn.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -787,7 +787,7 @@ pub unsafe fn ldap_encode_sort_controlA(externalhandle: *mut LDAP, sortkeys: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_encode_sort_controlA ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyA , control : *mut LDAPControlA , criticality : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_encode_sort_controlA ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyA , control : *mut LDAPControlA , criticality : super::super::Foundation:: BOOLEAN ) -> u32 ); ldap_encode_sort_controlA(externalhandle, sortkeys, control, criticality.into()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -797,43 +797,43 @@ pub unsafe fn ldap_encode_sort_controlW(externalhandle: *mut LDAP, sortkeys: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_encode_sort_controlW ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyW , control : *mut LDAPControlW , criticality : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_encode_sort_controlW ( externalhandle : *mut LDAP , sortkeys : *mut *mut LDAPSortKeyW , control : *mut LDAPControlW , criticality : super::super::Foundation:: BOOLEAN ) -> u32 ); ldap_encode_sort_controlW(externalhandle, sortkeys, control, criticality.into()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_err2string(err: u32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_err2string ( err : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_err2string ( err : u32 ) -> :: windows::core::PSTR ); ldap_err2string(err) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_err2stringA(err: u32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_err2stringA ( err : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_err2stringA ( err : u32 ) -> :: windows::core::PSTR ); ldap_err2stringA(err) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_err2stringW(err: u32) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_err2stringW ( err : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_err2stringW ( err : u32 ) -> :: windows::core::PWSTR ); ldap_err2stringW(err) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_escape_filter_element(sourcefilterelement: &[u8], destfilterelement: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_escape_filter_element ( sourcefilterelement : :: windows::core::PCSTR , sourcelength : u32 , destfilterelement : :: windows::core::PSTR , destlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_escape_filter_element ( sourcefilterelement : :: windows::core::PCSTR , sourcelength : u32 , destfilterelement : :: windows::core::PSTR , destlength : u32 ) -> u32 ); ldap_escape_filter_element(::core::mem::transmute(sourcefilterelement.as_ptr()), sourcefilterelement.len() as _, ::core::mem::transmute(destfilterelement.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destfilterelement.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_escape_filter_elementA(sourcefilterelement: &[u8], destfilterelement: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_escape_filter_elementA ( sourcefilterelement : :: windows::core::PCSTR , sourcelength : u32 , destfilterelement : :: windows::core::PSTR , destlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_escape_filter_elementA ( sourcefilterelement : :: windows::core::PCSTR , sourcelength : u32 , destfilterelement : :: windows::core::PSTR , destlength : u32 ) -> u32 ); ldap_escape_filter_elementA(::core::mem::transmute(sourcefilterelement.as_ptr()), sourcefilterelement.len() as _, ::core::mem::transmute(destfilterelement.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destfilterelement.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_escape_filter_elementW(sourcefilterelement: &[u8], destfilterelement: ::windows::core::PWSTR, destlength: u32) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_escape_filter_elementW ( sourcefilterelement : :: windows::core::PCSTR , sourcelength : u32 , destfilterelement : :: windows::core::PWSTR , destlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_escape_filter_elementW ( sourcefilterelement : :: windows::core::PCSTR , sourcelength : u32 , destfilterelement : :: windows::core::PWSTR , destlength : u32 ) -> u32 ); ldap_escape_filter_elementW(::core::mem::transmute(sourcefilterelement.as_ptr()), sourcefilterelement.len() as _, ::core::mem::transmute(destfilterelement), destlength) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -842,7 +842,7 @@ pub unsafe fn ldap_explode_dn(dn: P0, notypes: u32) -> *mut ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_explode_dn ( dn : :: windows::core::PCSTR , notypes : u32 ) -> *mut :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_explode_dn ( dn : :: windows::core::PCSTR , notypes : u32 ) -> *mut :: windows::core::PSTR ); ldap_explode_dn(dn.into().abi(), notypes) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -851,7 +851,7 @@ pub unsafe fn ldap_explode_dnA(dn: P0, notypes: u32) -> *mut ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_explode_dnA ( dn : :: windows::core::PCSTR , notypes : u32 ) -> *mut :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_explode_dnA ( dn : :: windows::core::PCSTR , notypes : u32 ) -> *mut :: windows::core::PSTR ); ldap_explode_dnA(dn.into().abi(), notypes) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -860,7 +860,7 @@ pub unsafe fn ldap_explode_dnW(dn: P0, notypes: u32) -> *mut ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_explode_dnW ( dn : :: windows::core::PCWSTR , notypes : u32 ) -> *mut :: windows::core::PWSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_explode_dnW ( dn : :: windows::core::PCWSTR , notypes : u32 ) -> *mut :: windows::core::PWSTR ); ldap_explode_dnW(dn.into().abi(), notypes) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -870,7 +870,7 @@ pub unsafe fn ldap_extended_operation(ld: *mut LDAP, oid: P0, data: *mut LDA where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operation ( ld : *mut LDAP , oid : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operation ( ld : *mut LDAP , oid : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_extended_operation(ld, oid.into().abi(), data, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -880,7 +880,7 @@ pub unsafe fn ldap_extended_operationA(ld: *mut LDAP, oid: P0, data: *mut LD where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operationA ( ld : *mut LDAP , oid : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operationA ( ld : *mut LDAP , oid : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_extended_operationA(ld, oid.into().abi(), data, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -890,7 +890,7 @@ pub unsafe fn ldap_extended_operationW(ld: *mut LDAP, oid: P0, data: *mut LD where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operationW ( ld : *mut LDAP , oid : :: windows::core::PCWSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operationW ( ld : *mut LDAP , oid : :: windows::core::PCWSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); ldap_extended_operationW(ld, oid.into().abi(), data, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -900,7 +900,7 @@ pub unsafe fn ldap_extended_operation_sA(externalhandle: *mut LDAP, oid: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operation_sA ( externalhandle : *mut LDAP , oid : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , returnedoid : *mut :: windows::core::PSTR , returneddata : *mut *mut LDAP_BERVAL ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operation_sA ( externalhandle : *mut LDAP , oid : :: windows::core::PCSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , returnedoid : *mut :: windows::core::PSTR , returneddata : *mut *mut LDAP_BERVAL ) -> u32 ); ldap_extended_operation_sA(externalhandle, oid.into().abi(), data, servercontrols, clientcontrols, returnedoid, returneddata) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -910,116 +910,116 @@ pub unsafe fn ldap_extended_operation_sW(externalhandle: *mut LDAP, oid: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operation_sW ( externalhandle : *mut LDAP , oid : :: windows::core::PCWSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , returnedoid : *mut :: windows::core::PWSTR , returneddata : *mut *mut LDAP_BERVAL ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_extended_operation_sW ( externalhandle : *mut LDAP , oid : :: windows::core::PCWSTR , data : *mut LDAP_BERVAL , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , returnedoid : *mut :: windows::core::PWSTR , returneddata : *mut *mut LDAP_BERVAL ) -> u32 ); ldap_extended_operation_sW(externalhandle, oid.into().abi(), data, servercontrols, clientcontrols, returnedoid, returneddata) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_first_attribute(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut *mut BerElement) -> ::windows::core::PSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_first_attribute ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut *mut BerElement ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_first_attribute ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut *mut BerElement ) -> :: windows::core::PSTR ); ldap_first_attribute(ld, entry, ptr) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_first_attributeA(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut *mut BerElement) -> ::windows::core::PSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_first_attributeA ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut *mut BerElement ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_first_attributeA ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut *mut BerElement ) -> :: windows::core::PSTR ); ldap_first_attributeA(ld, entry, ptr) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_first_attributeW(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut *mut BerElement) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_first_attributeW ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut *mut BerElement ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_first_attributeW ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut *mut BerElement ) -> :: windows::core::PWSTR ); ldap_first_attributeW(ld, entry, ptr) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_first_entry(ld: *mut LDAP, res: *mut LDAPMessage) -> *mut LDAPMessage { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_first_entry ( ld : *mut LDAP , res : *mut LDAPMessage ) -> *mut LDAPMessage ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_first_entry ( ld : *mut LDAP , res : *mut LDAPMessage ) -> *mut LDAPMessage ); ldap_first_entry(ld, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_first_reference(ld: *mut LDAP, res: *mut LDAPMessage) -> *mut LDAPMessage { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_first_reference ( ld : *mut LDAP , res : *mut LDAPMessage ) -> *mut LDAPMessage ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_first_reference ( ld : *mut LDAP , res : *mut LDAPMessage ) -> *mut LDAPMessage ); ldap_first_reference(ld, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_free_controls(controls: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_free_controls ( controls : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_free_controls ( controls : *mut *mut LDAPControlA ) -> u32 ); ldap_free_controls(controls) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_free_controlsA(controls: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_free_controlsA ( controls : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_free_controlsA ( controls : *mut *mut LDAPControlA ) -> u32 ); ldap_free_controlsA(controls) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_free_controlsW(controls: *mut *mut LDAPControlW) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_free_controlsW ( controls : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_free_controlsW ( controls : *mut *mut LDAPControlW ) -> u32 ); ldap_free_controlsW(controls) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_get_dn(ld: *mut LDAP, entry: *mut LDAPMessage) -> ::windows::core::PSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_dn ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_dn ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> :: windows::core::PSTR ); ldap_get_dn(ld, entry) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_get_dnA(ld: *mut LDAP, entry: *mut LDAPMessage) -> ::windows::core::PSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_dnA ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_dnA ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> :: windows::core::PSTR ); ldap_get_dnA(ld, entry) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_get_dnW(ld: *mut LDAP, entry: *mut LDAPMessage) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_dnW ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_dnW ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> :: windows::core::PWSTR ); ldap_get_dnW(ld, entry) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_get_next_page(externalhandle: *mut LDAP, searchhandle: *mut LDAPSearch, pagesize: u32, messagenumber: *mut u32) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_next_page ( externalhandle : *mut LDAP , searchhandle : *mut LDAPSearch , pagesize : u32 , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_next_page ( externalhandle : *mut LDAP , searchhandle : *mut LDAPSearch , pagesize : u32 , messagenumber : *mut u32 ) -> u32 ); ldap_get_next_page(externalhandle, searchhandle, pagesize, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_get_next_page_s(externalhandle: *mut LDAP, searchhandle: *mut LDAPSearch, timeout: *mut LDAP_TIMEVAL, pagesize: u32, totalcount: *mut u32, results: *mut *mut LDAPMessage) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_next_page_s ( externalhandle : *mut LDAP , searchhandle : *mut LDAPSearch , timeout : *mut LDAP_TIMEVAL , pagesize : u32 , totalcount : *mut u32 , results : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_next_page_s ( externalhandle : *mut LDAP , searchhandle : *mut LDAPSearch , timeout : *mut LDAP_TIMEVAL , pagesize : u32 , totalcount : *mut u32 , results : *mut *mut LDAPMessage ) -> u32 ); ldap_get_next_page_s(externalhandle, searchhandle, timeout, pagesize, totalcount, results) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_get_option(ld: *mut LDAP, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_option ( ld : *mut LDAP , option : i32 , outvalue : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_option ( ld : *mut LDAP , option : i32 , outvalue : *mut ::core::ffi::c_void ) -> u32 ); ldap_get_option(ld, option, outvalue) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_get_optionW(ld: *mut LDAP, option: i32, outvalue: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_optionW ( ld : *mut LDAP , option : i32 , outvalue : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_optionW ( ld : *mut LDAP , option : i32 , outvalue : *mut ::core::ffi::c_void ) -> u32 ); ldap_get_optionW(ld, option, outvalue) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_get_paged_count(externalhandle: *mut LDAP, searchblock: *mut LDAPSearch, totalcount: *mut u32, results: *mut LDAPMessage) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_paged_count ( externalhandle : *mut LDAP , searchblock : *mut LDAPSearch , totalcount : *mut u32 , results : *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_paged_count ( externalhandle : *mut LDAP , searchblock : *mut LDAPSearch , totalcount : *mut u32 , results : *mut LDAPMessage ) -> u32 ); ldap_get_paged_count(externalhandle, searchblock, totalcount, results) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1029,7 +1029,7 @@ pub unsafe fn ldap_get_values(ld: *mut LDAP, entry: *mut LDAPMessage, attr: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_values ( ld : *mut LDAP , entry : *mut LDAPMessage , attr : :: windows::core::PCSTR ) -> *mut :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_values ( ld : *mut LDAP , entry : *mut LDAPMessage , attr : :: windows::core::PCSTR ) -> *mut :: windows::core::PSTR ); ldap_get_values(ld, entry, attr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1039,7 +1039,7 @@ pub unsafe fn ldap_get_valuesA(ld: *mut LDAP, entry: *mut LDAPMessage, attr: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_valuesA ( ld : *mut LDAP , entry : *mut LDAPMessage , attr : :: windows::core::PCSTR ) -> *mut :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_valuesA ( ld : *mut LDAP , entry : *mut LDAPMessage , attr : :: windows::core::PCSTR ) -> *mut :: windows::core::PSTR ); ldap_get_valuesA(ld, entry, attr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1049,7 +1049,7 @@ pub unsafe fn ldap_get_valuesW(ld: *mut LDAP, entry: *mut LDAPMessage, attr: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_valuesW ( ld : *mut LDAP , entry : *mut LDAPMessage , attr : :: windows::core::PCWSTR ) -> *mut :: windows::core::PWSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_valuesW ( ld : *mut LDAP , entry : *mut LDAPMessage , attr : :: windows::core::PCWSTR ) -> *mut :: windows::core::PWSTR ); ldap_get_valuesW(ld, entry, attr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1059,7 +1059,7 @@ pub unsafe fn ldap_get_values_len(externalhandle: *mut LDAP, message: *mut L where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_values_len ( externalhandle : *mut LDAP , message : *mut LDAPMessage , attr : :: windows::core::PCSTR ) -> *mut *mut LDAP_BERVAL ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_values_len ( externalhandle : *mut LDAP , message : *mut LDAPMessage , attr : :: windows::core::PCSTR ) -> *mut *mut LDAP_BERVAL ); ldap_get_values_len(externalhandle, message, attr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1069,7 +1069,7 @@ pub unsafe fn ldap_get_values_lenA(externalhandle: *mut LDAP, message: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_values_lenA ( externalhandle : *mut LDAP , message : *mut LDAPMessage , attr : :: windows::core::PCSTR ) -> *mut *mut LDAP_BERVAL ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_values_lenA ( externalhandle : *mut LDAP , message : *mut LDAPMessage , attr : :: windows::core::PCSTR ) -> *mut *mut LDAP_BERVAL ); ldap_get_values_lenA(externalhandle, message, attr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1079,7 +1079,7 @@ pub unsafe fn ldap_get_values_lenW(externalhandle: *mut LDAP, message: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_get_values_lenW ( externalhandle : *mut LDAP , message : *mut LDAPMessage , attr : :: windows::core::PCWSTR ) -> *mut *mut LDAP_BERVAL ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_get_values_lenW ( externalhandle : *mut LDAP , message : *mut LDAPMessage , attr : :: windows::core::PCWSTR ) -> *mut *mut LDAP_BERVAL ); ldap_get_values_lenW(externalhandle, message, attr.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1088,7 +1088,7 @@ pub unsafe fn ldap_init(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_init ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_init ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); ldap_init(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1097,7 +1097,7 @@ pub unsafe fn ldap_initA(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_initA ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_initA ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); ldap_initA(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1106,7 +1106,7 @@ pub unsafe fn ldap_initW(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_initW ( hostname : :: windows::core::PCWSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_initW ( hostname : :: windows::core::PCWSTR , portnumber : u32 ) -> *mut LDAP ); ldap_initW(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1115,7 +1115,7 @@ pub unsafe fn ldap_memfree(block: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_memfree ( block : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_memfree ( block : :: windows::core::PCSTR ) -> ( ) ); ldap_memfree(block.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1124,7 +1124,7 @@ pub unsafe fn ldap_memfreeA(block: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_memfreeA ( block : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_memfreeA ( block : :: windows::core::PCSTR ) -> ( ) ); ldap_memfreeA(block.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1133,7 +1133,7 @@ pub unsafe fn ldap_memfreeW(block: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_memfreeW ( block : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_memfreeW ( block : :: windows::core::PCWSTR ) -> ( ) ); ldap_memfreeW(block.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1142,7 +1142,7 @@ pub unsafe fn ldap_modify(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPModA) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA ) -> u32 ); ldap_modify(ld, dn.into().abi(), mods) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1151,7 +1151,7 @@ pub unsafe fn ldap_modifyA(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPModA) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modifyA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modifyA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA ) -> u32 ); ldap_modifyA(ld, dn.into().abi(), mods) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1160,7 +1160,7 @@ pub unsafe fn ldap_modifyW(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPModW) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modifyW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , mods : *mut *mut LDAPModW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modifyW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , mods : *mut *mut LDAPModW ) -> u32 ); ldap_modifyW(ld, dn.into().abi(), mods) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1170,7 +1170,7 @@ pub unsafe fn ldap_modify_ext(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPMod where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_modify_ext(ld, dn.into().abi(), mods, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1180,7 +1180,7 @@ pub unsafe fn ldap_modify_extA(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPMo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_modify_extA(ld, dn.into().abi(), mods, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1190,7 +1190,7 @@ pub unsafe fn ldap_modify_extW(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPMo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , mods : *mut *mut LDAPModW , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , mods : *mut *mut LDAPModW , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); ldap_modify_extW(ld, dn.into().abi(), mods, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1200,7 +1200,7 @@ pub unsafe fn ldap_modify_ext_s(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPM where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_modify_ext_s(ld, dn.into().abi(), mods, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1210,7 +1210,7 @@ pub unsafe fn ldap_modify_ext_sA(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_modify_ext_sA(ld, dn.into().abi(), mods, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1220,7 +1220,7 @@ pub unsafe fn ldap_modify_ext_sW(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , mods : *mut *mut LDAPModW , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , mods : *mut *mut LDAPModW , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); ldap_modify_ext_sW(ld, dn.into().abi(), mods, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1229,7 +1229,7 @@ pub unsafe fn ldap_modify_s(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPModA) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA ) -> u32 ); ldap_modify_s(ld, dn.into().abi(), mods) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1238,7 +1238,7 @@ pub unsafe fn ldap_modify_sA(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPModA where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , mods : *mut *mut LDAPModA ) -> u32 ); ldap_modify_sA(ld, dn.into().abi(), mods) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1247,7 +1247,7 @@ pub unsafe fn ldap_modify_sW(ld: *mut LDAP, dn: P0, mods: *mut *mut LDAPModW where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modify_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , mods : *mut *mut LDAPModW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modify_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , mods : *mut *mut LDAPModW ) -> u32 ); ldap_modify_sW(ld, dn.into().abi(), mods) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1257,7 +1257,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR ) -> u32 ); ldap_modrdn(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1267,7 +1267,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2 ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR , deleteoldrdn : i32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2 ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR , deleteoldrdn : i32 ) -> u32 ); ldap_modrdn2(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi(), deleteoldrdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1277,7 +1277,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2A ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR , deleteoldrdn : i32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2A ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR , deleteoldrdn : i32 ) -> u32 ); ldap_modrdn2A(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi(), deleteoldrdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1287,7 +1287,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2W ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , newdistinguishedname : :: windows::core::PCWSTR , deleteoldrdn : i32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2W ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , newdistinguishedname : :: windows::core::PCWSTR , deleteoldrdn : i32 ) -> u32 ); ldap_modrdn2W(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi(), deleteoldrdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1297,7 +1297,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2_s ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR , deleteoldrdn : i32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2_s ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR , deleteoldrdn : i32 ) -> u32 ); ldap_modrdn2_s(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi(), deleteoldrdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1307,7 +1307,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2_sA ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR , deleteoldrdn : i32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2_sA ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR , deleteoldrdn : i32 ) -> u32 ); ldap_modrdn2_sA(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi(), deleteoldrdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1317,7 +1317,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2_sW ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , newdistinguishedname : :: windows::core::PCWSTR , deleteoldrdn : i32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn2_sW ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , newdistinguishedname : :: windows::core::PCWSTR , deleteoldrdn : i32 ) -> u32 ); ldap_modrdn2_sW(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi(), deleteoldrdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1327,7 +1327,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdnA ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdnA ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR ) -> u32 ); ldap_modrdnA(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1337,7 +1337,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdnW ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , newdistinguishedname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdnW ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , newdistinguishedname : :: windows::core::PCWSTR ) -> u32 ); ldap_modrdnW(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1347,7 +1347,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn_s ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn_s ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR ) -> u32 ); ldap_modrdn_s(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1357,7 +1357,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn_sA ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn_sA ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , newdistinguishedname : :: windows::core::PCSTR ) -> u32 ); ldap_modrdn_sA(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1367,49 +1367,49 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn_sW ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , newdistinguishedname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_modrdn_sW ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , newdistinguishedname : :: windows::core::PCWSTR ) -> u32 ); ldap_modrdn_sW(externalhandle, distinguishedname.into().abi(), newdistinguishedname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_msgfree(res: *mut LDAPMessage) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_msgfree ( res : *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_msgfree ( res : *mut LDAPMessage ) -> u32 ); ldap_msgfree(res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_next_attribute(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut BerElement) -> ::windows::core::PSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_next_attribute ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut BerElement ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_next_attribute ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut BerElement ) -> :: windows::core::PSTR ); ldap_next_attribute(ld, entry, ptr) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_next_attributeA(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut BerElement) -> ::windows::core::PSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_next_attributeA ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut BerElement ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_next_attributeA ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut BerElement ) -> :: windows::core::PSTR ); ldap_next_attributeA(ld, entry, ptr) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_next_attributeW(ld: *mut LDAP, entry: *mut LDAPMessage, ptr: *mut BerElement) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_next_attributeW ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut BerElement ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_next_attributeW ( ld : *mut LDAP , entry : *mut LDAPMessage , ptr : *mut BerElement ) -> :: windows::core::PWSTR ); ldap_next_attributeW(ld, entry, ptr) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_next_entry(ld: *mut LDAP, entry: *mut LDAPMessage) -> *mut LDAPMessage { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_next_entry ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> *mut LDAPMessage ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_next_entry ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> *mut LDAPMessage ); ldap_next_entry(ld, entry) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_next_reference(ld: *mut LDAP, entry: *mut LDAPMessage) -> *mut LDAPMessage { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_next_reference ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> *mut LDAPMessage ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_next_reference ( ld : *mut LDAP , entry : *mut LDAPMessage ) -> *mut LDAPMessage ); ldap_next_reference(ld, entry) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1418,7 +1418,7 @@ pub unsafe fn ldap_open(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_open ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_open ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); ldap_open(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1427,7 +1427,7 @@ pub unsafe fn ldap_openA(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_openA ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_openA ( hostname : :: windows::core::PCSTR , portnumber : u32 ) -> *mut LDAP ); ldap_openA(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1436,7 +1436,7 @@ pub unsafe fn ldap_openW(hostname: P0, portnumber: u32) -> *mut LDAP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_openW ( hostname : :: windows::core::PCWSTR , portnumber : u32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_openW ( hostname : :: windows::core::PCWSTR , portnumber : u32 ) -> *mut LDAP ); ldap_openW(hostname.into().abi(), portnumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1446,7 +1446,7 @@ pub unsafe fn ldap_parse_extended_resultA(connection: *mut LDAP, resultmessa where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_extended_resultA ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , resultoid : *mut :: windows::core::PSTR , resultdata : *mut *mut LDAP_BERVAL , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_extended_resultA ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , resultoid : *mut :: windows::core::PSTR , resultdata : *mut *mut LDAP_BERVAL , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); ldap_parse_extended_resultA(connection, resultmessage, ::core::mem::transmute(resultoid.unwrap_or(::std::ptr::null_mut())), resultdata, freeit.into()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1456,49 +1456,49 @@ pub unsafe fn ldap_parse_extended_resultW(connection: *mut LDAP, resultmessa where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_extended_resultW ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , resultoid : *mut :: windows::core::PWSTR , resultdata : *mut *mut LDAP_BERVAL , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_extended_resultW ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , resultoid : *mut :: windows::core::PWSTR , resultdata : *mut *mut LDAP_BERVAL , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); ldap_parse_extended_resultW(connection, resultmessage, ::core::mem::transmute(resultoid.unwrap_or(::std::ptr::null_mut())), resultdata, freeit.into()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_page_control(externalhandle: *mut LDAP, servercontrols: *mut *mut LDAPControlA, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_page_control ( externalhandle : *mut LDAP , servercontrols : *mut *mut LDAPControlA , totalcount : *mut u32 , cookie : *mut *mut LDAP_BERVAL ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_page_control ( externalhandle : *mut LDAP , servercontrols : *mut *mut LDAPControlA , totalcount : *mut u32 , cookie : *mut *mut LDAP_BERVAL ) -> u32 ); ldap_parse_page_control(externalhandle, servercontrols, totalcount, cookie) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_page_controlA(externalhandle: *mut LDAP, servercontrols: *mut *mut LDAPControlA, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_page_controlA ( externalhandle : *mut LDAP , servercontrols : *mut *mut LDAPControlA , totalcount : *mut u32 , cookie : *mut *mut LDAP_BERVAL ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_page_controlA ( externalhandle : *mut LDAP , servercontrols : *mut *mut LDAPControlA , totalcount : *mut u32 , cookie : *mut *mut LDAP_BERVAL ) -> u32 ); ldap_parse_page_controlA(externalhandle, servercontrols, totalcount, cookie) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_page_controlW(externalhandle: *mut LDAP, servercontrols: *mut *mut LDAPControlW, totalcount: *mut u32, cookie: *mut *mut LDAP_BERVAL) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_page_controlW ( externalhandle : *mut LDAP , servercontrols : *mut *mut LDAPControlW , totalcount : *mut u32 , cookie : *mut *mut LDAP_BERVAL ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_page_controlW ( externalhandle : *mut LDAP , servercontrols : *mut *mut LDAPControlW , totalcount : *mut u32 , cookie : *mut *mut LDAP_BERVAL ) -> u32 ); ldap_parse_page_controlW(externalhandle, servercontrols, totalcount, cookie) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_reference(connection: *mut LDAP, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_reference ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , referrals : *mut *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_reference ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , referrals : *mut *mut :: windows::core::PSTR ) -> u32 ); ldap_parse_reference(connection, resultmessage, referrals) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_referenceA(connection: *mut LDAP, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_referenceA ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , referrals : *mut *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_referenceA ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , referrals : *mut *mut :: windows::core::PSTR ) -> u32 ); ldap_parse_referenceA(connection, resultmessage, referrals) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_referenceW(connection: *mut LDAP, resultmessage: *mut LDAPMessage, referrals: *mut *mut ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_referenceW ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , referrals : *mut *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_referenceW ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , referrals : *mut *mut :: windows::core::PWSTR ) -> u32 ); ldap_parse_referenceW(connection, resultmessage, referrals) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1508,7 +1508,7 @@ pub unsafe fn ldap_parse_result(connection: *mut LDAP, resultmessage: *mut L where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_result ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , returncode : *mut u32 , matcheddns : *mut :: windows::core::PSTR , errormessage : *mut :: windows::core::PSTR , referrals : *mut *mut :: windows::core::PSTR , servercontrols : *mut *mut *mut LDAPControlA , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_result ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , returncode : *mut u32 , matcheddns : *mut :: windows::core::PSTR , errormessage : *mut :: windows::core::PSTR , referrals : *mut *mut :: windows::core::PSTR , servercontrols : *mut *mut *mut LDAPControlA , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); ldap_parse_result(connection, resultmessage, returncode, ::core::mem::transmute(matcheddns.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(errormessage.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(referrals.unwrap_or(::std::ptr::null_mut())), servercontrols, freeit.into()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1518,7 +1518,7 @@ pub unsafe fn ldap_parse_resultA(connection: *mut LDAP, resultmessage: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_resultA ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , returncode : *mut u32 , matcheddns : *mut :: windows::core::PSTR , errormessage : *mut :: windows::core::PSTR , referrals : *mut *mut *mut i8 , servercontrols : *mut *mut *mut LDAPControlA , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_resultA ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , returncode : *mut u32 , matcheddns : *mut :: windows::core::PSTR , errormessage : *mut :: windows::core::PSTR , referrals : *mut *mut *mut i8 , servercontrols : *mut *mut *mut LDAPControlA , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); ldap_parse_resultA(connection, resultmessage, returncode, ::core::mem::transmute(matcheddns.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(errormessage.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(referrals.unwrap_or(::std::ptr::null_mut())), servercontrols, freeit.into()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1528,42 +1528,42 @@ pub unsafe fn ldap_parse_resultW(connection: *mut LDAP, resultmessage: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_resultW ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , returncode : *mut u32 , matcheddns : *mut :: windows::core::PWSTR , errormessage : *mut :: windows::core::PWSTR , referrals : *mut *mut *mut u16 , servercontrols : *mut *mut *mut LDAPControlW , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_resultW ( connection : *mut LDAP , resultmessage : *mut LDAPMessage , returncode : *mut u32 , matcheddns : *mut :: windows::core::PWSTR , errormessage : *mut :: windows::core::PWSTR , referrals : *mut *mut *mut u16 , servercontrols : *mut *mut *mut LDAPControlW , freeit : super::super::Foundation:: BOOLEAN ) -> u32 ); ldap_parse_resultW(connection, resultmessage, returncode, ::core::mem::transmute(matcheddns.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(errormessage.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(referrals.unwrap_or(::std::ptr::null_mut())), servercontrols, freeit.into()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_sort_control(externalhandle: *mut LDAP, control: *mut *mut LDAPControlA, result: *mut u32, attribute: *mut ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_sort_control ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlA , result : *mut u32 , attribute : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_sort_control ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlA , result : *mut u32 , attribute : *mut :: windows::core::PSTR ) -> u32 ); ldap_parse_sort_control(externalhandle, control, result, attribute) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_sort_controlA(externalhandle: *mut LDAP, control: *mut *mut LDAPControlA, result: *mut u32, attribute: ::core::option::Option<*mut ::windows::core::PSTR>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_sort_controlA ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlA , result : *mut u32 , attribute : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_sort_controlA ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlA , result : *mut u32 , attribute : *mut :: windows::core::PSTR ) -> u32 ); ldap_parse_sort_controlA(externalhandle, control, result, ::core::mem::transmute(attribute.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_sort_controlW(externalhandle: *mut LDAP, control: *mut *mut LDAPControlW, result: *mut u32, attribute: ::core::option::Option<*mut ::windows::core::PWSTR>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_sort_controlW ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlW , result : *mut u32 , attribute : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_sort_controlW ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlW , result : *mut u32 , attribute : *mut :: windows::core::PWSTR ) -> u32 ); ldap_parse_sort_controlW(externalhandle, control, result, ::core::mem::transmute(attribute.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_vlv_controlA(externalhandle: *mut LDAP, control: *mut *mut LDAPControlA, targetpos: *mut u32, listcount: *mut u32, context: *mut *mut LDAP_BERVAL, errcode: *mut i32) -> i32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_vlv_controlA ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlA , targetpos : *mut u32 , listcount : *mut u32 , context : *mut *mut LDAP_BERVAL , errcode : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_vlv_controlA ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlA , targetpos : *mut u32 , listcount : *mut u32 , context : *mut *mut LDAP_BERVAL , errcode : *mut i32 ) -> i32 ); ldap_parse_vlv_controlA(externalhandle, control, targetpos, listcount, context, errcode) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_parse_vlv_controlW(externalhandle: *mut LDAP, control: *mut *mut LDAPControlW, targetpos: *mut u32, listcount: *mut u32, context: *mut *mut LDAP_BERVAL, errcode: *mut i32) -> i32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_parse_vlv_controlW ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlW , targetpos : *mut u32 , listcount : *mut u32 , context : *mut *mut LDAP_BERVAL , errcode : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_parse_vlv_controlW ( externalhandle : *mut LDAP , control : *mut *mut LDAPControlW , targetpos : *mut u32 , listcount : *mut u32 , context : *mut *mut LDAP_BERVAL , errcode : *mut i32 ) -> i32 ); ldap_parse_vlv_controlW(externalhandle, control, targetpos, listcount, context, errcode) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1572,7 +1572,7 @@ pub unsafe fn ldap_perror(ld: *mut LDAP, msg: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_perror ( ld : *mut LDAP , msg : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_perror ( ld : *mut LDAP , msg : :: windows::core::PCSTR ) -> ( ) ); ldap_perror(ld, msg.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1584,7 +1584,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_rename_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , newrdn : :: windows::core::PCSTR , newparent : :: windows::core::PCSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_rename_ext ( ld : *mut LDAP , dn : :: windows::core::PCSTR , newrdn : :: windows::core::PCSTR , newparent : :: windows::core::PCSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_rename_ext(ld, dn.into().abi(), newrdn.into().abi(), newparent.into().abi(), deleteoldrdn, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1596,7 +1596,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_rename_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , newrdn : :: windows::core::PCSTR , newparent : :: windows::core::PCSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_rename_extA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , newrdn : :: windows::core::PCSTR , newparent : :: windows::core::PCSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , messagenumber : *mut u32 ) -> u32 ); ldap_rename_extA(ld, dn.into().abi(), newrdn.into().abi(), newparent.into().abi(), deleteoldrdn, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1608,7 +1608,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_rename_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , newrdn : :: windows::core::PCWSTR , newparent : :: windows::core::PCWSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_rename_extW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , newrdn : :: windows::core::PCWSTR , newparent : :: windows::core::PCWSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , messagenumber : *mut u32 ) -> u32 ); ldap_rename_extW(ld, dn.into().abi(), newrdn.into().abi(), newparent.into().abi(), deleteoldrdn, servercontrols, clientcontrols, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1620,7 +1620,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_rename_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , newrdn : :: windows::core::PCSTR , newparent : :: windows::core::PCSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_rename_ext_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , newrdn : :: windows::core::PCSTR , newparent : :: windows::core::PCSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_rename_ext_s(ld, dn.into().abi(), newrdn.into().abi(), newparent.into().abi(), deleteoldrdn, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1632,7 +1632,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_rename_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , newrdn : :: windows::core::PCSTR , newparent : :: windows::core::PCSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_rename_ext_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , newrdn : :: windows::core::PCSTR , newparent : :: windows::core::PCSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_rename_ext_sA(ld, dn.into().abi(), newrdn.into().abi(), newparent.into().abi(), deleteoldrdn, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1644,21 +1644,21 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_rename_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , newrdn : :: windows::core::PCWSTR , newparent : :: windows::core::PCWSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_rename_ext_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , newrdn : :: windows::core::PCWSTR , newparent : :: windows::core::PCWSTR , deleteoldrdn : i32 , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); ldap_rename_ext_sW(ld, dn.into().abi(), newrdn.into().abi(), newparent.into().abi(), deleteoldrdn, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_result(ld: *mut LDAP, msgid: u32, all: u32, timeout: ::core::option::Option<*const LDAP_TIMEVAL>, res: *mut *mut LDAPMessage) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_result ( ld : *mut LDAP , msgid : u32 , all : u32 , timeout : *const LDAP_TIMEVAL , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_result ( ld : *mut LDAP , msgid : u32 , all : u32 , timeout : *const LDAP_TIMEVAL , res : *mut *mut LDAPMessage ) -> u32 ); ldap_result(ld, msgid, all, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_result2error(ld: *mut LDAP, res: *mut LDAPMessage, freeit: u32) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_result2error ( ld : *mut LDAP , res : *mut LDAPMessage , freeit : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_result2error ( ld : *mut LDAP , res : *mut LDAPMessage , freeit : u32 ) -> u32 ); ldap_result2error(ld, res, freeit) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1669,7 +1669,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_sasl_bindA ( externalhandle : *mut LDAP , distname : :: windows::core::PCSTR , authmechanism : :: windows::core::PCSTR , cred : *const LDAP_BERVAL , serverctrls : *mut *mut LDAPControlA , clientctrls : *mut *mut LDAPControlA , messagenumber : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_sasl_bindA ( externalhandle : *mut LDAP , distname : :: windows::core::PCSTR , authmechanism : :: windows::core::PCSTR , cred : *const LDAP_BERVAL , serverctrls : *mut *mut LDAPControlA , clientctrls : *mut *mut LDAPControlA , messagenumber : *mut i32 ) -> i32 ); ldap_sasl_bindA(externalhandle, distname.into().abi(), authmechanism.into().abi(), cred, serverctrls, clientctrls, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1680,7 +1680,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_sasl_bindW ( externalhandle : *mut LDAP , distname : :: windows::core::PCWSTR , authmechanism : :: windows::core::PCWSTR , cred : *const LDAP_BERVAL , serverctrls : *mut *mut LDAPControlW , clientctrls : *mut *mut LDAPControlW , messagenumber : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_sasl_bindW ( externalhandle : *mut LDAP , distname : :: windows::core::PCWSTR , authmechanism : :: windows::core::PCWSTR , cred : *const LDAP_BERVAL , serverctrls : *mut *mut LDAPControlW , clientctrls : *mut *mut LDAPControlW , messagenumber : *mut i32 ) -> i32 ); ldap_sasl_bindW(externalhandle, distname.into().abi(), authmechanism.into().abi(), cred, serverctrls, clientctrls, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1691,7 +1691,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_sasl_bind_sA ( externalhandle : *mut LDAP , distname : :: windows::core::PCSTR , authmechanism : :: windows::core::PCSTR , cred : *const LDAP_BERVAL , serverctrls : *mut *mut LDAPControlA , clientctrls : *mut *mut LDAPControlA , serverdata : *mut *mut LDAP_BERVAL ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_sasl_bind_sA ( externalhandle : *mut LDAP , distname : :: windows::core::PCSTR , authmechanism : :: windows::core::PCSTR , cred : *const LDAP_BERVAL , serverctrls : *mut *mut LDAPControlA , clientctrls : *mut *mut LDAPControlA , serverdata : *mut *mut LDAP_BERVAL ) -> i32 ); ldap_sasl_bind_sA(externalhandle, distname.into().abi(), authmechanism.into().abi(), cred, serverctrls, clientctrls, serverdata) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1702,7 +1702,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_sasl_bind_sW ( externalhandle : *mut LDAP , distname : :: windows::core::PCWSTR , authmechanism : :: windows::core::PCWSTR , cred : *const LDAP_BERVAL , serverctrls : *mut *mut LDAPControlW , clientctrls : *mut *mut LDAPControlW , serverdata : *mut *mut LDAP_BERVAL ) -> i32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_sasl_bind_sW ( externalhandle : *mut LDAP , distname : :: windows::core::PCWSTR , authmechanism : :: windows::core::PCWSTR , cred : *const LDAP_BERVAL , serverctrls : *mut *mut LDAPControlW , clientctrls : *mut *mut LDAPControlW , serverdata : *mut *mut LDAP_BERVAL ) -> i32 ); ldap_sasl_bind_sW(externalhandle, distname.into().abi(), authmechanism.into().abi(), cred, serverctrls, clientctrls, serverdata) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1712,7 +1712,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 ) -> u32 ); ldap_search(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1722,7 +1722,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_searchA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_searchA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 ) -> u32 ); ldap_searchA(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1732,13 +1732,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_searchW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_searchW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 ) -> u32 ); ldap_searchW(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_search_abandon_page(externalhandle: *mut LDAP, searchblock: *mut LDAPSearch) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_abandon_page ( externalhandle : *mut LDAP , searchblock : *mut LDAPSearch ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_abandon_page ( externalhandle : *mut LDAP , searchblock : *mut LDAPSearch ) -> u32 ); ldap_search_abandon_page(externalhandle, searchblock) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1749,7 +1749,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_ext ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , servercontrols : *const *const LDAPControlA , clientcontrols : *const *const LDAPControlA , timelimit : u32 , sizelimit : u32 , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_ext ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , servercontrols : *const *const LDAPControlA , clientcontrols : *const *const LDAPControlA , timelimit : u32 , sizelimit : u32 , messagenumber : *mut u32 ) -> u32 ); ldap_search_ext(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, ::core::mem::transmute(servercontrols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(clientcontrols.unwrap_or(::std::ptr::null())), timelimit, sizelimit, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1760,7 +1760,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_extA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , servercontrols : *const *const LDAPControlA , clientcontrols : *const *const LDAPControlA , timelimit : u32 , sizelimit : u32 , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_extA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , servercontrols : *const *const LDAPControlA , clientcontrols : *const *const LDAPControlA , timelimit : u32 , sizelimit : u32 , messagenumber : *mut u32 ) -> u32 ); ldap_search_extA(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, ::core::mem::transmute(servercontrols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(clientcontrols.unwrap_or(::std::ptr::null())), timelimit, sizelimit, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1771,7 +1771,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_extW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 , servercontrols : *const *const LDAPControlW , clientcontrols : *const *const LDAPControlW , timelimit : u32 , sizelimit : u32 , messagenumber : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_extW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 , servercontrols : *const *const LDAPControlW , clientcontrols : *const *const LDAPControlW , timelimit : u32 , sizelimit : u32 , messagenumber : *mut u32 ) -> u32 ); ldap_search_extW(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, ::core::mem::transmute(servercontrols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(clientcontrols.unwrap_or(::std::ptr::null())), timelimit, sizelimit, messagenumber) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1782,7 +1782,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_ext_s ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , servercontrols : *const *const LDAPControlA , clientcontrols : *const *const LDAPControlA , timeout : *mut LDAP_TIMEVAL , sizelimit : u32 , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_ext_s ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , servercontrols : *const *const LDAPControlA , clientcontrols : *const *const LDAPControlA , timeout : *mut LDAP_TIMEVAL , sizelimit : u32 , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_ext_s(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, ::core::mem::transmute(servercontrols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(clientcontrols.unwrap_or(::std::ptr::null())), timeout, sizelimit, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1793,7 +1793,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_ext_sA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , servercontrols : *const *const LDAPControlA , clientcontrols : *const *const LDAPControlA , timeout : *mut LDAP_TIMEVAL , sizelimit : u32 , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_ext_sA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , servercontrols : *const *const LDAPControlA , clientcontrols : *const *const LDAPControlA , timeout : *mut LDAP_TIMEVAL , sizelimit : u32 , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_ext_sA(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, ::core::mem::transmute(servercontrols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(clientcontrols.unwrap_or(::std::ptr::null())), timeout, sizelimit, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1804,7 +1804,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_ext_sW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 , servercontrols : *const *const LDAPControlW , clientcontrols : *const *const LDAPControlW , timeout : *mut LDAP_TIMEVAL , sizelimit : u32 , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_ext_sW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 , servercontrols : *const *const LDAPControlW , clientcontrols : *const *const LDAPControlW , timeout : *mut LDAP_TIMEVAL , sizelimit : u32 , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_ext_sW(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, ::core::mem::transmute(servercontrols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(clientcontrols.unwrap_or(::std::ptr::null())), timeout, sizelimit, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1815,7 +1815,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_init_page ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , scopeofsearch : u32 , searchfilter : :: windows::core::PCSTR , attributelist : *mut *mut i8 , attributesonly : u32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , pagetimelimit : u32 , totalsizelimit : u32 , sortkeys : *mut *mut LDAPSortKeyA ) -> *mut LDAPSearch ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_init_page ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , scopeofsearch : u32 , searchfilter : :: windows::core::PCSTR , attributelist : *mut *mut i8 , attributesonly : u32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , pagetimelimit : u32 , totalsizelimit : u32 , sortkeys : *mut *mut LDAPSortKeyA ) -> *mut LDAPSearch ); ldap_search_init_page(externalhandle, distinguishedname.into().abi(), scopeofsearch, searchfilter.into().abi(), attributelist, attributesonly, servercontrols, clientcontrols, pagetimelimit, totalsizelimit, sortkeys) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1826,7 +1826,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_init_pageA ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , scopeofsearch : u32 , searchfilter : :: windows::core::PCSTR , attributelist : *const *const i8 , attributesonly : u32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , pagetimelimit : u32 , totalsizelimit : u32 , sortkeys : *mut *mut LDAPSortKeyA ) -> *mut LDAPSearch ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_init_pageA ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCSTR , scopeofsearch : u32 , searchfilter : :: windows::core::PCSTR , attributelist : *const *const i8 , attributesonly : u32 , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA , pagetimelimit : u32 , totalsizelimit : u32 , sortkeys : *mut *mut LDAPSortKeyA ) -> *mut LDAPSearch ); ldap_search_init_pageA(externalhandle, distinguishedname.into().abi(), scopeofsearch, searchfilter.into().abi(), attributelist, attributesonly, servercontrols, clientcontrols, pagetimelimit, totalsizelimit, sortkeys) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1837,7 +1837,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_init_pageW ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , scopeofsearch : u32 , searchfilter : :: windows::core::PCWSTR , attributelist : *const *const u16 , attributesonly : u32 , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , pagetimelimit : u32 , totalsizelimit : u32 , sortkeys : *mut *mut LDAPSortKeyW ) -> *mut LDAPSearch ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_init_pageW ( externalhandle : *mut LDAP , distinguishedname : :: windows::core::PCWSTR , scopeofsearch : u32 , searchfilter : :: windows::core::PCWSTR , attributelist : *const *const u16 , attributesonly : u32 , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW , pagetimelimit : u32 , totalsizelimit : u32 , sortkeys : *mut *mut LDAPSortKeyW ) -> *mut LDAPSearch ); ldap_search_init_pageW(externalhandle, distinguishedname.into().abi(), scopeofsearch, searchfilter.into().abi(), attributelist, attributesonly, servercontrols, clientcontrols, pagetimelimit, totalsizelimit, sortkeys) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1848,7 +1848,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_s ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_s ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_s(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1859,7 +1859,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_sA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_sA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_sA(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1870,7 +1870,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_sW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_sW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_sW(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1881,7 +1881,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_st ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , timeout : *mut LDAP_TIMEVAL , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_st ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , timeout : *mut LDAP_TIMEVAL , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_st(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, timeout, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1892,7 +1892,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_stA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , timeout : *mut LDAP_TIMEVAL , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_stA ( ld : *mut LDAP , base : :: windows::core::PCSTR , scope : u32 , filter : :: windows::core::PCSTR , attrs : *const *const i8 , attrsonly : u32 , timeout : *mut LDAP_TIMEVAL , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_stA(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, timeout, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] @@ -1903,31 +1903,31 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_search_stW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 , timeout : *mut LDAP_TIMEVAL , res : *mut *mut LDAPMessage ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_search_stW ( ld : *mut LDAP , base : :: windows::core::PCWSTR , scope : u32 , filter : :: windows::core::PCWSTR , attrs : *const *const u16 , attrsonly : u32 , timeout : *mut LDAP_TIMEVAL , res : *mut *mut LDAPMessage ) -> u32 ); ldap_search_stW(ld, base.into().abi(), scope, filter.into().abi(), attrs, attrsonly, timeout, res) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_set_dbg_flags(newflags: u32) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_set_dbg_flags ( newflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_set_dbg_flags ( newflags : u32 ) -> u32 ); ldap_set_dbg_flags(newflags) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_set_dbg_routine(debugprintroutine: DBGPRINT) { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_set_dbg_routine ( debugprintroutine : DBGPRINT ) -> ( ) ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_set_dbg_routine ( debugprintroutine : DBGPRINT ) -> ( ) ); ldap_set_dbg_routine(debugprintroutine) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_set_option(ld: *mut LDAP, option: i32, invalue: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_set_option ( ld : *mut LDAP , option : i32 , invalue : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_set_option ( ld : *mut LDAP , option : i32 , invalue : *const ::core::ffi::c_void ) -> u32 ); ldap_set_option(ld, option, invalue) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_set_optionW(ld: *mut LDAP, option: i32, invalue: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_set_optionW ( ld : *mut LDAP , option : i32 , invalue : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_set_optionW ( ld : *mut LDAP , option : i32 , invalue : *const ::core::ffi::c_void ) -> u32 ); ldap_set_optionW(ld, option, invalue) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1937,7 +1937,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bind ( ld : *mut LDAP , dn : :: windows::core::PCSTR , passwd : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bind ( ld : *mut LDAP , dn : :: windows::core::PCSTR , passwd : :: windows::core::PCSTR ) -> u32 ); ldap_simple_bind(ld, dn.into().abi(), passwd.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1947,7 +1947,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bindA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , passwd : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bindA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , passwd : :: windows::core::PCSTR ) -> u32 ); ldap_simple_bindA(ld, dn.into().abi(), passwd.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1957,7 +1957,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bindW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , passwd : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bindW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , passwd : :: windows::core::PCWSTR ) -> u32 ); ldap_simple_bindW(ld, dn.into().abi(), passwd.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1967,7 +1967,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bind_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , passwd : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bind_s ( ld : *mut LDAP , dn : :: windows::core::PCSTR , passwd : :: windows::core::PCSTR ) -> u32 ); ldap_simple_bind_s(ld, dn.into().abi(), passwd.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1977,7 +1977,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bind_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , passwd : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bind_sA ( ld : *mut LDAP , dn : :: windows::core::PCSTR , passwd : :: windows::core::PCSTR ) -> u32 ); ldap_simple_bind_sA(ld, dn.into().abi(), passwd.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1987,7 +1987,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bind_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , passwd : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_simple_bind_sW ( ld : *mut LDAP , dn : :: windows::core::PCWSTR , passwd : :: windows::core::PCWSTR ) -> u32 ); ldap_simple_bind_sW(ld, dn.into().abi(), passwd.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -1996,7 +1996,7 @@ pub unsafe fn ldap_sslinit(hostname: P0, portnumber: u32, secure: i32) -> *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_sslinit ( hostname : :: windows::core::PCSTR , portnumber : u32 , secure : i32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_sslinit ( hostname : :: windows::core::PCSTR , portnumber : u32 , secure : i32 ) -> *mut LDAP ); ldap_sslinit(hostname.into().abi(), portnumber, secure) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -2005,7 +2005,7 @@ pub unsafe fn ldap_sslinitA(hostname: P0, portnumber: u32, secure: i32) -> * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_sslinitA ( hostname : :: windows::core::PCSTR , portnumber : u32 , secure : i32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_sslinitA ( hostname : :: windows::core::PCSTR , portnumber : u32 , secure : i32 ) -> *mut LDAP ); ldap_sslinitA(hostname.into().abi(), portnumber, secure) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -2014,35 +2014,35 @@ pub unsafe fn ldap_sslinitW(hostname: P0, portnumber: u32, secure: i32) -> * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_sslinitW ( hostname : :: windows::core::PCWSTR , portnumber : u32 , secure : i32 ) -> *mut LDAP ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_sslinitW ( hostname : :: windows::core::PCWSTR , portnumber : u32 , secure : i32 ) -> *mut LDAP ); ldap_sslinitW(hostname.into().abi(), portnumber, secure) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_start_tls_sA(externalhandle: *mut LDAP, serverreturnvalue: *mut u32, result: *mut *mut LDAPMessage, servercontrols: *mut *mut LDAPControlA, clientcontrols: *mut *mut LDAPControlA) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_start_tls_sA ( externalhandle : *mut LDAP , serverreturnvalue : *mut u32 , result : *mut *mut LDAPMessage , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_start_tls_sA ( externalhandle : *mut LDAP , serverreturnvalue : *mut u32 , result : *mut *mut LDAPMessage , servercontrols : *mut *mut LDAPControlA , clientcontrols : *mut *mut LDAPControlA ) -> u32 ); ldap_start_tls_sA(externalhandle, serverreturnvalue, result, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_start_tls_sW(externalhandle: *mut LDAP, serverreturnvalue: *mut u32, result: *mut *mut LDAPMessage, servercontrols: *mut *mut LDAPControlW, clientcontrols: *mut *mut LDAPControlW) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_start_tls_sW ( externalhandle : *mut LDAP , serverreturnvalue : *mut u32 , result : *mut *mut LDAPMessage , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_start_tls_sW ( externalhandle : *mut LDAP , serverreturnvalue : *mut u32 , result : *mut *mut LDAPMessage , servercontrols : *mut *mut LDAPControlW , clientcontrols : *mut *mut LDAPControlW ) -> u32 ); ldap_start_tls_sW(externalhandle, serverreturnvalue, result, servercontrols, clientcontrols) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_startup(version: *mut LDAP_VERSION_INFO, instance: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_startup ( version : *mut LDAP_VERSION_INFO , instance : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_startup ( version : *mut LDAP_VERSION_INFO , instance : *mut super::super::Foundation:: HANDLE ) -> u32 ); ldap_startup(version, instance) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ldap_stop_tls_s(externalhandle: *mut LDAP) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_stop_tls_s ( externalhandle : *mut LDAP ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_stop_tls_s ( externalhandle : *mut LDAP ) -> super::super::Foundation:: BOOLEAN ); ldap_stop_tls_s(externalhandle) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -2051,7 +2051,7 @@ pub unsafe fn ldap_ufn2dn(ufn: P0, pdn: *mut ::windows::core::PSTR) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_ufn2dn ( ufn : :: windows::core::PCSTR , pdn : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_ufn2dn ( ufn : :: windows::core::PCSTR , pdn : *mut :: windows::core::PSTR ) -> u32 ); ldap_ufn2dn(ufn.into().abi(), pdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -2060,7 +2060,7 @@ pub unsafe fn ldap_ufn2dnA(ufn: P0, pdn: *mut ::windows::core::PSTR) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_ufn2dnA ( ufn : :: windows::core::PCSTR , pdn : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_ufn2dnA ( ufn : :: windows::core::PCSTR , pdn : *mut :: windows::core::PSTR ) -> u32 ); ldap_ufn2dnA(ufn.into().abi(), pdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] @@ -2069,43 +2069,43 @@ pub unsafe fn ldap_ufn2dnW(ufn: P0, pdn: *mut ::windows::core::PWSTR) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_ufn2dnW ( ufn : :: windows::core::PCWSTR , pdn : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_ufn2dnW ( ufn : :: windows::core::PCWSTR , pdn : *mut :: windows::core::PWSTR ) -> u32 ); ldap_ufn2dnW(ufn.into().abi(), pdn) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_unbind(ld: *mut LDAP) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_unbind ( ld : *mut LDAP ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_unbind ( ld : *mut LDAP ) -> u32 ); ldap_unbind(ld) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_unbind_s(ld: *mut LDAP) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_unbind_s ( ld : *mut LDAP ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_unbind_s ( ld : *mut LDAP ) -> u32 ); ldap_unbind_s(ld) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_value_free(vals: ::core::option::Option<*const ::windows::core::PCSTR>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_value_free ( vals : *const :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_value_free ( vals : *const :: windows::core::PCSTR ) -> u32 ); ldap_value_free(::core::mem::transmute(vals.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_value_freeA(vals: ::core::option::Option<*const ::windows::core::PCSTR>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_value_freeA ( vals : *const :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_value_freeA ( vals : *const :: windows::core::PCSTR ) -> u32 ); ldap_value_freeA(::core::mem::transmute(vals.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_value_freeW(vals: ::core::option::Option<*const ::windows::core::PCWSTR>) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_value_freeW ( vals : *const :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_value_freeW ( vals : *const :: windows::core::PCWSTR ) -> u32 ); ldap_value_freeW(::core::mem::transmute(vals.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] #[inline] pub unsafe fn ldap_value_free_len(vals: *mut *mut LDAP_BERVAL) -> u32 { - ::windows::core::link ! ( "wldap32.dll""cdecl" fn ldap_value_free_len ( vals : *mut *mut LDAP_BERVAL ) -> u32 ); + ::windows::imp::link ! ( "wldap32.dll""cdecl" fn ldap_value_free_len ( vals : *mut *mut LDAP_BERVAL ) -> u32 ); ldap_value_free_len(vals) } #[doc = "*Required features: `\"Win32_Networking_Ldap\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs index a10949035e..bab630343d 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs @@ -29,7 +29,7 @@ impl IEnumNetworkConnections { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEnumNetworkConnections, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IEnumNetworkConnections, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEnumNetworkConnections { fn eq(&self, other: &Self) -> bool { @@ -109,7 +109,7 @@ impl IEnumNetworks { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEnumNetworks, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IEnumNetworks, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEnumNetworks { fn eq(&self, other: &Self) -> bool { @@ -220,7 +220,7 @@ impl INetwork { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetwork, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetwork, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetwork { fn eq(&self, other: &Self) -> bool { @@ -319,7 +319,7 @@ impl INetworkConnection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetworkConnection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetworkConnection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetworkConnection { fn eq(&self, other: &Self) -> bool { @@ -384,7 +384,7 @@ impl INetworkConnectionCost { (::windows::core::Vtable::vtable(self).GetDataPlanStatus)(::windows::core::Vtable::as_raw(self), pdataplanstatus).ok() } } -::windows::core::interface_hierarchy!(INetworkConnectionCost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkConnectionCost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkConnectionCost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -428,7 +428,7 @@ impl INetworkConnectionCostEvents { (::windows::core::Vtable::vtable(self).ConnectionDataPlanStatusChanged)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(connectionid)).ok() } } -::windows::core::interface_hierarchy!(INetworkConnectionCostEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkConnectionCostEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkConnectionCostEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -469,7 +469,7 @@ impl INetworkConnectionEvents { (::windows::core::Vtable::vtable(self).NetworkConnectionPropertyChanged)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(connectionid), flags).ok() } } -::windows::core::interface_hierarchy!(INetworkConnectionEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkConnectionEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkConnectionEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -520,7 +520,7 @@ impl INetworkCostManager { (::windows::core::Vtable::vtable(self).SetDestinationAddresses)(::windows::core::Vtable::as_raw(self), pdestipaddrlist.len() as _, ::core::mem::transmute(pdestipaddrlist.as_ptr()), bappend.into()).ok() } } -::windows::core::interface_hierarchy!(INetworkCostManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkCostManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkCostManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -568,7 +568,7 @@ impl INetworkCostManagerEvents { (::windows::core::Vtable::vtable(self).DataPlanStatusChanged)(::windows::core::Vtable::as_raw(self), pdestaddr).ok() } } -::windows::core::interface_hierarchy!(INetworkCostManagerEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkCostManagerEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkCostManagerEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -615,7 +615,7 @@ impl INetworkEvents { (::windows::core::Vtable::vtable(self).NetworkPropertyChanged)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(networkid), flags).ok() } } -::windows::core::interface_hierarchy!(INetworkEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -701,7 +701,7 @@ impl INetworkListManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetworkListManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetworkListManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetworkListManager { fn eq(&self, other: &Self) -> bool { @@ -771,7 +771,7 @@ impl INetworkListManagerEvents { (::windows::core::Vtable::vtable(self).ConnectivityChanged)(::windows::core::Vtable::as_raw(self), newconnectivity).ok() } } -::windows::core::interface_hierarchy!(INetworkListManagerEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkListManagerEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkListManagerEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs index 7cba1f2498..5871fe88de 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs @@ -10,7 +10,7 @@ impl IFindSimilarResults { (::windows::core::Vtable::vtable(self).GetNextFileId)(::windows::core::Vtable::as_raw(self), numtraitsmatched, similarityfileid).ok() } } -::windows::core::interface_hierarchy!(IFindSimilarResults, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFindSimilarResults, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFindSimilarResults { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -53,7 +53,7 @@ impl IRdcComparator { (::windows::core::Vtable::vtable(self).Process)(::windows::core::Vtable::as_raw(self), endofinput.into(), endofoutput, inputbuffer, outputbuffer, rdc_errorcode).ok() } } -::windows::core::interface_hierarchy!(IRdcComparator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRdcComparator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRdcComparator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -103,7 +103,7 @@ impl IRdcFileReader { (::windows::core::Vtable::vtable(self).GetFilePosition)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRdcFileReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRdcFileReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRdcFileReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -165,7 +165,7 @@ impl IRdcFileWriter { (::windows::core::Vtable::vtable(self).DeleteOnClose)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRdcFileWriter, ::windows::core::IUnknown, IRdcFileReader); +::windows::imp::interface_hierarchy!(IRdcFileWriter, ::windows::core::IUnknown, IRdcFileReader); impl ::core::cmp::PartialEq for IRdcFileWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -213,7 +213,7 @@ impl IRdcGenerator { (::windows::core::Vtable::vtable(self).Process)(::windows::core::Vtable::as_raw(self), endofinput.into(), endofoutput, inputbuffer, outputbuffers.len() as _, ::core::mem::transmute(outputbuffers.as_ptr()), rdc_errorcode).ok() } } -::windows::core::interface_hierarchy!(IRdcGenerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRdcGenerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRdcGenerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -265,7 +265,7 @@ impl IRdcGeneratorFilterMaxParameters { (::windows::core::Vtable::vtable(self).SetHashWindowSize)(::windows::core::Vtable::as_raw(self), hashwindowsize).ok() } } -::windows::core::interface_hierarchy!(IRdcGeneratorFilterMaxParameters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRdcGeneratorFilterMaxParameters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRdcGeneratorFilterMaxParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -316,7 +316,7 @@ impl IRdcGeneratorParameters { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), size, parametersblob, byteswritten).ok() } } -::windows::core::interface_hierarchy!(IRdcGeneratorParameters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRdcGeneratorParameters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRdcGeneratorParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -386,7 +386,7 @@ impl IRdcLibrary { (::windows::core::Vtable::vtable(self).GetRDCVersion)(::windows::core::Vtable::as_raw(self), currentversion, minimumcompatibleappversion).ok() } } -::windows::core::interface_hierarchy!(IRdcLibrary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRdcLibrary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRdcLibrary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -435,7 +435,7 @@ impl IRdcSignatureReader { (::windows::core::Vtable::vtable(self).ReadSignatures)(::windows::core::Vtable::as_raw(self), rdcsignaturepointer, endofoutput).ok() } } -::windows::core::interface_hierarchy!(IRdcSignatureReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRdcSignatureReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRdcSignatureReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -480,7 +480,7 @@ impl IRdcSimilarityGenerator { (::windows::core::Vtable::vtable(self).Results)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRdcSimilarityGenerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRdcSimilarityGenerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRdcSimilarityGenerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -562,7 +562,7 @@ impl ISimilarity { (::windows::core::Vtable::vtable(self).GetRecordCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISimilarity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimilarity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimilarity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -653,7 +653,7 @@ impl ISimilarityFileIdTable { (::windows::core::Vtable::vtable(self).GetRecordCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISimilarityFileIdTable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimilarityFileIdTable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimilarityFileIdTable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -705,7 +705,7 @@ impl ISimilarityReportProgress { (::windows::core::Vtable::vtable(self).ReportProgress)(::windows::core::Vtable::as_raw(self), percentcompleted).ok() } } -::windows::core::interface_hierarchy!(ISimilarityReportProgress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimilarityReportProgress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimilarityReportProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -744,7 +744,7 @@ impl ISimilarityTableDumpState { (::windows::core::Vtable::vtable(self).GetNextData)(::windows::core::Vtable::as_raw(self), resultssize, resultsused, eof, results).ok() } } -::windows::core::interface_hierarchy!(ISimilarityTableDumpState, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimilarityTableDumpState, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimilarityTableDumpState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -799,7 +799,7 @@ impl ISimilarityTraitsMappedView { (::windows::core::Vtable::vtable(self).GetView)(::windows::core::Vtable::as_raw(self), mappedpagebegin, mappedpageend) } } -::windows::core::interface_hierarchy!(ISimilarityTraitsMappedView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimilarityTraitsMappedView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimilarityTraitsMappedView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -866,7 +866,7 @@ impl ISimilarityTraitsMapping { (::windows::core::Vtable::vtable(self).CreateView)(::windows::core::Vtable::as_raw(self), minimummappedpages, accessmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISimilarityTraitsMapping, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimilarityTraitsMapping, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimilarityTraitsMapping { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -948,7 +948,7 @@ impl ISimilarityTraitsTable { (::windows::core::Vtable::vtable(self).GetLastIndex)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISimilarityTraitsTable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimilarityTraitsTable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimilarityTraitsTable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs index 9579669ac4..1e2b859a22 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn WebSocketAbortHandle(hwebsocket: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketAbortHandle ( hwebsocket : WEB_SOCKET_HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketAbortHandle ( hwebsocket : WEB_SOCKET_HANDLE ) -> ( ) ); WebSocketAbortHandle(hwebsocket.into()) } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] @@ -13,7 +13,7 @@ pub unsafe fn WebSocketBeginClientHandshake(hwebsocket: P0, pszsubprotocols: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketBeginClientHandshake ( hwebsocket : WEB_SOCKET_HANDLE , pszsubprotocols : *const :: windows::core::PCSTR , ulsubprotocolcount : u32 , pszextensions : *const :: windows::core::PCSTR , ulextensioncount : u32 , pinitialheaders : *const WEB_SOCKET_HTTP_HEADER , ulinitialheadercount : u32 , padditionalheaders : *mut *mut WEB_SOCKET_HTTP_HEADER , puladditionalheadercount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketBeginClientHandshake ( hwebsocket : WEB_SOCKET_HANDLE , pszsubprotocols : *const :: windows::core::PCSTR , ulsubprotocolcount : u32 , pszextensions : *const :: windows::core::PCSTR , ulextensioncount : u32 , pinitialheaders : *const WEB_SOCKET_HTTP_HEADER , ulinitialheadercount : u32 , padditionalheaders : *mut *mut WEB_SOCKET_HTTP_HEADER , puladditionalheadercount : *mut u32 ) -> :: windows::core::HRESULT ); WebSocketBeginClientHandshake( hwebsocket.into(), ::core::mem::transmute(pszsubprotocols.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -34,7 +34,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketBeginServerHandshake ( hwebsocket : WEB_SOCKET_HANDLE , pszsubprotocolselected : :: windows::core::PCSTR , pszextensionselected : *const :: windows::core::PCSTR , ulextensionselectedcount : u32 , prequestheaders : *const WEB_SOCKET_HTTP_HEADER , ulrequestheadercount : u32 , presponseheaders : *mut *mut WEB_SOCKET_HTTP_HEADER , pulresponseheadercount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketBeginServerHandshake ( hwebsocket : WEB_SOCKET_HANDLE , pszsubprotocolselected : :: windows::core::PCSTR , pszextensionselected : *const :: windows::core::PCSTR , ulextensionselectedcount : u32 , prequestheaders : *const WEB_SOCKET_HTTP_HEADER , ulrequestheadercount : u32 , presponseheaders : *mut *mut WEB_SOCKET_HTTP_HEADER , pulresponseheadercount : *mut u32 ) -> :: windows::core::HRESULT ); WebSocketBeginServerHandshake(hwebsocket.into(), pszsubprotocolselected.into().abi(), ::core::mem::transmute(pszextensionselected.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszextensionselected.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prequestheaders.as_ptr()), prequestheaders.len() as _, presponseheaders, pulresponseheadercount).ok() } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] @@ -43,20 +43,20 @@ pub unsafe fn WebSocketCompleteAction(hwebsocket: P0, pvactioncontext: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketCompleteAction ( hwebsocket : WEB_SOCKET_HANDLE , pvactioncontext : *const ::core::ffi::c_void , ulbytestransferred : u32 ) -> ( ) ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketCompleteAction ( hwebsocket : WEB_SOCKET_HANDLE , pvactioncontext : *const ::core::ffi::c_void , ulbytestransferred : u32 ) -> ( ) ); WebSocketCompleteAction(hwebsocket.into(), pvactioncontext, ulbytestransferred) } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] #[inline] pub unsafe fn WebSocketCreateClientHandle(pproperties: &[WEB_SOCKET_PROPERTY]) -> ::windows::core::Result { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketCreateClientHandle ( pproperties : *const WEB_SOCKET_PROPERTY , ulpropertycount : u32 , phwebsocket : *mut WEB_SOCKET_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketCreateClientHandle ( pproperties : *const WEB_SOCKET_PROPERTY , ulpropertycount : u32 , phwebsocket : *mut WEB_SOCKET_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WebSocketCreateClientHandle(::core::mem::transmute(pproperties.as_ptr()), pproperties.len() as _, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] #[inline] pub unsafe fn WebSocketCreateServerHandle(pproperties: &[WEB_SOCKET_PROPERTY]) -> ::windows::core::Result { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketCreateServerHandle ( pproperties : *const WEB_SOCKET_PROPERTY , ulpropertycount : u32 , phwebsocket : *mut WEB_SOCKET_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketCreateServerHandle ( pproperties : *const WEB_SOCKET_PROPERTY , ulpropertycount : u32 , phwebsocket : *mut WEB_SOCKET_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WebSocketCreateServerHandle(::core::mem::transmute(pproperties.as_ptr()), pproperties.len() as _, &mut result__).from_abi(result__) } @@ -66,7 +66,7 @@ pub unsafe fn WebSocketDeleteHandle(hwebsocket: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketDeleteHandle ( hwebsocket : WEB_SOCKET_HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketDeleteHandle ( hwebsocket : WEB_SOCKET_HANDLE ) -> ( ) ); WebSocketDeleteHandle(hwebsocket.into()) } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] @@ -75,7 +75,7 @@ pub unsafe fn WebSocketEndClientHandshake(hwebsocket: P0, presponseheaders: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketEndClientHandshake ( hwebsocket : WEB_SOCKET_HANDLE , presponseheaders : *const WEB_SOCKET_HTTP_HEADER , ulreponseheadercount : u32 , pulselectedextensions : *mut u32 , pulselectedextensioncount : *mut u32 , pulselectedsubprotocol : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketEndClientHandshake ( hwebsocket : WEB_SOCKET_HANDLE , presponseheaders : *const WEB_SOCKET_HTTP_HEADER , ulreponseheadercount : u32 , pulselectedextensions : *mut u32 , pulselectedextensioncount : *mut u32 , pulselectedsubprotocol : *mut u32 ) -> :: windows::core::HRESULT ); WebSocketEndClientHandshake(hwebsocket.into(), ::core::mem::transmute(presponseheaders.as_ptr()), presponseheaders.len() as _, ::core::mem::transmute(pulselectedextensions.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pulselectedextensioncount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pulselectedsubprotocol.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] @@ -84,7 +84,7 @@ pub unsafe fn WebSocketEndServerHandshake(hwebsocket: P0) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketEndServerHandshake ( hwebsocket : WEB_SOCKET_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketEndServerHandshake ( hwebsocket : WEB_SOCKET_HANDLE ) -> :: windows::core::HRESULT ); WebSocketEndServerHandshake(hwebsocket.into()).ok() } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] @@ -93,13 +93,13 @@ pub unsafe fn WebSocketGetAction(hwebsocket: P0, eactionqueue: WEB_SOCKET_AC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketGetAction ( hwebsocket : WEB_SOCKET_HANDLE , eactionqueue : WEB_SOCKET_ACTION_QUEUE , pdatabuffers : *mut WEB_SOCKET_BUFFER , puldatabuffercount : *mut u32 , paction : *mut WEB_SOCKET_ACTION , pbuffertype : *mut WEB_SOCKET_BUFFER_TYPE , pvapplicationcontext : *mut *mut ::core::ffi::c_void , pvactioncontext : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketGetAction ( hwebsocket : WEB_SOCKET_HANDLE , eactionqueue : WEB_SOCKET_ACTION_QUEUE , pdatabuffers : *mut WEB_SOCKET_BUFFER , puldatabuffercount : *mut u32 , paction : *mut WEB_SOCKET_ACTION , pbuffertype : *mut WEB_SOCKET_BUFFER_TYPE , pvapplicationcontext : *mut *mut ::core::ffi::c_void , pvactioncontext : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WebSocketGetAction(hwebsocket.into(), eactionqueue, pdatabuffers, puldatabuffercount, paction, pbuffertype, ::core::mem::transmute(pvapplicationcontext.unwrap_or(::std::ptr::null_mut())), pvactioncontext).ok() } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] #[inline] pub unsafe fn WebSocketGetGlobalProperty(etype: WEB_SOCKET_PROPERTY_TYPE, pvvalue: *mut ::core::ffi::c_void, ulsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketGetGlobalProperty ( etype : WEB_SOCKET_PROPERTY_TYPE , pvvalue : *mut ::core::ffi::c_void , ulsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketGetGlobalProperty ( etype : WEB_SOCKET_PROPERTY_TYPE , pvvalue : *mut ::core::ffi::c_void , ulsize : *mut u32 ) -> :: windows::core::HRESULT ); WebSocketGetGlobalProperty(etype, pvvalue, ulsize).ok() } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] @@ -108,7 +108,7 @@ pub unsafe fn WebSocketReceive(hwebsocket: P0, pbuffer: ::core::option::Opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketReceive ( hwebsocket : WEB_SOCKET_HANDLE , pbuffer : *const WEB_SOCKET_BUFFER , pvcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketReceive ( hwebsocket : WEB_SOCKET_HANDLE , pbuffer : *const WEB_SOCKET_BUFFER , pvcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WebSocketReceive(hwebsocket.into(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn WebSocketSend(hwebsocket: P0, buffertype: WEB_SOCKET_BUFFER_TY where P0: ::std::convert::Into, { - ::windows::core::link ! ( "websocket.dll""system" fn WebSocketSend ( hwebsocket : WEB_SOCKET_HANDLE , buffertype : WEB_SOCKET_BUFFER_TYPE , pbuffer : *const WEB_SOCKET_BUFFER , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "websocket.dll""system" fn WebSocketSend ( hwebsocket : WEB_SOCKET_HANDLE , buffertype : WEB_SOCKET_BUFFER_TYPE , pbuffer : *const WEB_SOCKET_BUFFER , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WebSocketSend(hwebsocket.into(), buffertype, ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null())), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WebSocket\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs index 6918ecb2c0..6d6a758b1a 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -2,27 +2,27 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpAddRequestHeaders(hrequest: *mut ::core::ffi::c_void, lpszheaders: &[u16], dwmodifiers: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpAddRequestHeaders ( hrequest : *mut ::core::ffi::c_void , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , dwmodifiers : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpAddRequestHeaders ( hrequest : *mut ::core::ffi::c_void , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , dwmodifiers : u32 ) -> super::super::Foundation:: BOOL ); WinHttpAddRequestHeaders(hrequest, ::core::mem::transmute(lpszheaders.as_ptr()), lpszheaders.len() as _, dwmodifiers) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpAddRequestHeadersEx(hrequest: *mut ::core::ffi::c_void, dwmodifiers: u32, ullflags: u64, ullextra: u64, pheaders: &[WINHTTP_EXTENDED_HEADER]) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpAddRequestHeadersEx ( hrequest : *mut ::core::ffi::c_void , dwmodifiers : u32 , ullflags : u64 , ullextra : u64 , cheaders : u32 , pheaders : *const WINHTTP_EXTENDED_HEADER ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpAddRequestHeadersEx ( hrequest : *mut ::core::ffi::c_void , dwmodifiers : u32 , ullflags : u64 , ullextra : u64 , cheaders : u32 , pheaders : *const WINHTTP_EXTENDED_HEADER ) -> u32 ); WinHttpAddRequestHeadersEx(hrequest, dwmodifiers, ullflags, ullextra, pheaders.len() as _, ::core::mem::transmute(pheaders.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpCheckPlatform() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpCheckPlatform ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpCheckPlatform ( ) -> super::super::Foundation:: BOOL ); WinHttpCheckPlatform() } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpCloseHandle(hinternet: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpCloseHandle ( hinternet : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpCloseHandle ( hinternet : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinHttpCloseHandle(hinternet) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] @@ -31,75 +31,75 @@ pub unsafe fn WinHttpConnect(hsession: *mut ::core::ffi::c_void, pswzservern where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpConnect ( hsession : *mut ::core::ffi::c_void , pswzservername : :: windows::core::PCWSTR , nserverport : u16 , dwreserved : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpConnect ( hsession : *mut ::core::ffi::c_void , pswzservername : :: windows::core::PCWSTR , nserverport : u16 , dwreserved : u32 ) -> *mut ::core::ffi::c_void ); WinHttpConnect(hsession, pswzservername.into().abi(), nserverport, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpCrackUrl(pwszurl: &[u16], dwflags: u32, lpurlcomponents: *mut URL_COMPONENTS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpCrackUrl ( pwszurl : :: windows::core::PCWSTR , dwurllength : u32 , dwflags : u32 , lpurlcomponents : *mut URL_COMPONENTS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpCrackUrl ( pwszurl : :: windows::core::PCWSTR , dwurllength : u32 , dwflags : u32 , lpurlcomponents : *mut URL_COMPONENTS ) -> super::super::Foundation:: BOOL ); WinHttpCrackUrl(::core::mem::transmute(pwszurl.as_ptr()), pwszurl.len() as _, dwflags, lpurlcomponents) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpCreateProxyResolver(hsession: *const ::core::ffi::c_void, phresolver: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpCreateProxyResolver ( hsession : *const ::core::ffi::c_void , phresolver : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpCreateProxyResolver ( hsession : *const ::core::ffi::c_void , phresolver : *mut *mut ::core::ffi::c_void ) -> u32 ); WinHttpCreateProxyResolver(hsession, phresolver) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpCreateUrl(lpurlcomponents: *const URL_COMPONENTS, dwflags: WIN_HTTP_CREATE_URL_FLAGS, pwszurl: ::windows::core::PWSTR, pdwurllength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpCreateUrl ( lpurlcomponents : *const URL_COMPONENTS , dwflags : WIN_HTTP_CREATE_URL_FLAGS , pwszurl : :: windows::core::PWSTR , pdwurllength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpCreateUrl ( lpurlcomponents : *const URL_COMPONENTS , dwflags : WIN_HTTP_CREATE_URL_FLAGS , pwszurl : :: windows::core::PWSTR , pdwurllength : *mut u32 ) -> super::super::Foundation:: BOOL ); WinHttpCreateUrl(lpurlcomponents, dwflags, ::core::mem::transmute(pwszurl), pdwurllength) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpDetectAutoProxyConfigUrl(dwautodetectflags: u32, ppwstrautoconfigurl: *mut ::windows::core::PWSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpDetectAutoProxyConfigUrl ( dwautodetectflags : u32 , ppwstrautoconfigurl : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpDetectAutoProxyConfigUrl ( dwautodetectflags : u32 , ppwstrautoconfigurl : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); WinHttpDetectAutoProxyConfigUrl(dwautodetectflags, ppwstrautoconfigurl) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpFreeProxyResult(pproxyresult: *mut WINHTTP_PROXY_RESULT) { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpFreeProxyResult ( pproxyresult : *mut WINHTTP_PROXY_RESULT ) -> ( ) ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpFreeProxyResult ( pproxyresult : *mut WINHTTP_PROXY_RESULT ) -> ( ) ); WinHttpFreeProxyResult(pproxyresult) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpFreeProxyResultEx(pproxyresultex: *mut WINHTTP_PROXY_RESULT_EX) { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpFreeProxyResultEx ( pproxyresultex : *mut WINHTTP_PROXY_RESULT_EX ) -> ( ) ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpFreeProxyResultEx ( pproxyresultex : *mut WINHTTP_PROXY_RESULT_EX ) -> ( ) ); WinHttpFreeProxyResultEx(pproxyresultex) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpFreeProxySettings(pwinhttpproxysettings: *const WINHTTP_PROXY_SETTINGS) { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpFreeProxySettings ( pwinhttpproxysettings : *const WINHTTP_PROXY_SETTINGS ) -> ( ) ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpFreeProxySettings ( pwinhttpproxysettings : *const WINHTTP_PROXY_SETTINGS ) -> ( ) ); WinHttpFreeProxySettings(pwinhttpproxysettings) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpFreeQueryConnectionGroupResult(presult: *mut WINHTTP_QUERY_CONNECTION_GROUP_RESULT) { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpFreeQueryConnectionGroupResult ( presult : *mut WINHTTP_QUERY_CONNECTION_GROUP_RESULT ) -> ( ) ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpFreeQueryConnectionGroupResult ( presult : *mut WINHTTP_QUERY_CONNECTION_GROUP_RESULT ) -> ( ) ); WinHttpFreeQueryConnectionGroupResult(presult) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpGetDefaultProxyConfiguration(pproxyinfo: *mut WINHTTP_PROXY_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpGetDefaultProxyConfiguration ( pproxyinfo : *mut WINHTTP_PROXY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpGetDefaultProxyConfiguration ( pproxyinfo : *mut WINHTTP_PROXY_INFO ) -> super::super::Foundation:: BOOL ); WinHttpGetDefaultProxyConfiguration(pproxyinfo) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpGetIEProxyConfigForCurrentUser(pproxyconfig: *mut WINHTTP_CURRENT_USER_IE_PROXY_CONFIG) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpGetIEProxyConfigForCurrentUser ( pproxyconfig : *mut WINHTTP_CURRENT_USER_IE_PROXY_CONFIG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpGetIEProxyConfigForCurrentUser ( pproxyconfig : *mut WINHTTP_CURRENT_USER_IE_PROXY_CONFIG ) -> super::super::Foundation:: BOOL ); WinHttpGetIEProxyConfigForCurrentUser(pproxyconfig) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -109,7 +109,7 @@ pub unsafe fn WinHttpGetProxyForUrl(hsession: *mut ::core::ffi::c_void, lpcw where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpGetProxyForUrl ( hsession : *mut ::core::ffi::c_void , lpcwszurl : :: windows::core::PCWSTR , pautoproxyoptions : *mut WINHTTP_AUTOPROXY_OPTIONS , pproxyinfo : *mut WINHTTP_PROXY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpGetProxyForUrl ( hsession : *mut ::core::ffi::c_void , lpcwszurl : :: windows::core::PCWSTR , pautoproxyoptions : *mut WINHTTP_AUTOPROXY_OPTIONS , pproxyinfo : *mut WINHTTP_PROXY_INFO ) -> super::super::Foundation:: BOOL ); WinHttpGetProxyForUrl(hsession, lpcwszurl.into().abi(), pautoproxyoptions, pproxyinfo) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -119,7 +119,7 @@ pub unsafe fn WinHttpGetProxyForUrlEx(hresolver: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpGetProxyForUrlEx ( hresolver : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pautoproxyoptions : *const WINHTTP_AUTOPROXY_OPTIONS , pcontext : usize ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpGetProxyForUrlEx ( hresolver : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pautoproxyoptions : *const WINHTTP_AUTOPROXY_OPTIONS , pcontext : usize ) -> u32 ); WinHttpGetProxyForUrlEx(hresolver, pcwszurl.into().abi(), pautoproxyoptions, pcontext) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -129,27 +129,27 @@ pub unsafe fn WinHttpGetProxyForUrlEx2(hresolver: *const ::core::ffi::c_void where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpGetProxyForUrlEx2 ( hresolver : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pautoproxyoptions : *const WINHTTP_AUTOPROXY_OPTIONS , cbinterfaceselectioncontext : u32 , pinterfaceselectioncontext : *const u8 , pcontext : usize ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpGetProxyForUrlEx2 ( hresolver : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pautoproxyoptions : *const WINHTTP_AUTOPROXY_OPTIONS , cbinterfaceselectioncontext : u32 , pinterfaceselectioncontext : *const u8 , pcontext : usize ) -> u32 ); WinHttpGetProxyForUrlEx2(hresolver, pcwszurl.into().abi(), pautoproxyoptions, pinterfaceselectioncontext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pinterfaceselectioncontext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcontext) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpGetProxyResult(hresolver: *const ::core::ffi::c_void, pproxyresult: *mut WINHTTP_PROXY_RESULT) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpGetProxyResult ( hresolver : *const ::core::ffi::c_void , pproxyresult : *mut WINHTTP_PROXY_RESULT ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpGetProxyResult ( hresolver : *const ::core::ffi::c_void , pproxyresult : *mut WINHTTP_PROXY_RESULT ) -> u32 ); WinHttpGetProxyResult(hresolver, pproxyresult) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpGetProxyResultEx(hresolver: *const ::core::ffi::c_void, pproxyresultex: *mut WINHTTP_PROXY_RESULT_EX) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpGetProxyResultEx ( hresolver : *const ::core::ffi::c_void , pproxyresultex : *mut WINHTTP_PROXY_RESULT_EX ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpGetProxyResultEx ( hresolver : *const ::core::ffi::c_void , pproxyresultex : *mut WINHTTP_PROXY_RESULT_EX ) -> u32 ); WinHttpGetProxyResultEx(hresolver, pproxyresultex) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpGetProxySettingsVersion(hsession: *const ::core::ffi::c_void, pdwproxysettingsversion: *mut u32) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpGetProxySettingsVersion ( hsession : *const ::core::ffi::c_void , pdwproxysettingsversion : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpGetProxySettingsVersion ( hsession : *const ::core::ffi::c_void , pdwproxysettingsversion : *mut u32 ) -> u32 ); WinHttpGetProxySettingsVersion(hsession, pdwproxysettingsversion) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] @@ -160,7 +160,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpOpen ( pszagentw : :: windows::core::PCWSTR , dwaccesstype : WINHTTP_ACCESS_TYPE , pszproxyw : :: windows::core::PCWSTR , pszproxybypassw : :: windows::core::PCWSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpOpen ( pszagentw : :: windows::core::PCWSTR , dwaccesstype : WINHTTP_ACCESS_TYPE , pszproxyw : :: windows::core::PCWSTR , pszproxybypassw : :: windows::core::PCWSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); WinHttpOpen(pszagentw.into().abi(), dwaccesstype, pszproxyw.into().abi(), pszproxybypassw.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] @@ -172,27 +172,27 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpOpenRequest ( hconnect : *mut ::core::ffi::c_void , pwszverb : :: windows::core::PCWSTR , pwszobjectname : :: windows::core::PCWSTR , pwszversion : :: windows::core::PCWSTR , pwszreferrer : :: windows::core::PCWSTR , ppwszaccepttypes : *mut :: windows::core::PWSTR , dwflags : WINHTTP_OPEN_REQUEST_FLAGS ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpOpenRequest ( hconnect : *mut ::core::ffi::c_void , pwszverb : :: windows::core::PCWSTR , pwszobjectname : :: windows::core::PCWSTR , pwszversion : :: windows::core::PCWSTR , pwszreferrer : :: windows::core::PCWSTR , ppwszaccepttypes : *mut :: windows::core::PWSTR , dwflags : WINHTTP_OPEN_REQUEST_FLAGS ) -> *mut ::core::ffi::c_void ); WinHttpOpenRequest(hconnect, pwszverb.into().abi(), pwszobjectname.into().abi(), pwszversion.into().abi(), pwszreferrer.into().abi(), ppwszaccepttypes, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpQueryAuthSchemes(hrequest: *mut ::core::ffi::c_void, lpdwsupportedschemes: *mut u32, lpdwfirstscheme: *mut u32, pdwauthtarget: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpQueryAuthSchemes ( hrequest : *mut ::core::ffi::c_void , lpdwsupportedschemes : *mut u32 , lpdwfirstscheme : *mut u32 , pdwauthtarget : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpQueryAuthSchemes ( hrequest : *mut ::core::ffi::c_void , lpdwsupportedschemes : *mut u32 , lpdwfirstscheme : *mut u32 , pdwauthtarget : *mut u32 ) -> super::super::Foundation:: BOOL ); WinHttpQueryAuthSchemes(hrequest, lpdwsupportedschemes, lpdwfirstscheme, pdwauthtarget) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpQueryConnectionGroup(hinternet: *const ::core::ffi::c_void, pguidconnection: ::core::option::Option<*const ::windows::core::GUID>, ullflags: u64, ppresult: *mut *mut WINHTTP_QUERY_CONNECTION_GROUP_RESULT) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpQueryConnectionGroup ( hinternet : *const ::core::ffi::c_void , pguidconnection : *const :: windows::core::GUID , ullflags : u64 , ppresult : *mut *mut WINHTTP_QUERY_CONNECTION_GROUP_RESULT ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpQueryConnectionGroup ( hinternet : *const ::core::ffi::c_void , pguidconnection : *const :: windows::core::GUID , ullflags : u64 , ppresult : *mut *mut WINHTTP_QUERY_CONNECTION_GROUP_RESULT ) -> u32 ); WinHttpQueryConnectionGroup(hinternet, ::core::mem::transmute(pguidconnection.unwrap_or(::std::ptr::null())), ullflags, ppresult) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpQueryDataAvailable(hrequest: *mut ::core::ffi::c_void, lpdwnumberofbytesavailable: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpQueryDataAvailable ( hrequest : *mut ::core::ffi::c_void , lpdwnumberofbytesavailable : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpQueryDataAvailable ( hrequest : *mut ::core::ffi::c_void , lpdwnumberofbytesavailable : *mut u32 ) -> super::super::Foundation:: BOOL ); WinHttpQueryDataAvailable(hrequest, lpdwnumberofbytesavailable) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -202,33 +202,33 @@ pub unsafe fn WinHttpQueryHeaders(hrequest: *mut ::core::ffi::c_void, dwinfo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpQueryHeaders ( hrequest : *mut ::core::ffi::c_void , dwinfolevel : u32 , pwszname : :: windows::core::PCWSTR , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpdwindex : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpQueryHeaders ( hrequest : *mut ::core::ffi::c_void , dwinfolevel : u32 , pwszname : :: windows::core::PCWSTR , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpdwindex : *mut u32 ) -> super::super::Foundation:: BOOL ); WinHttpQueryHeaders(hrequest, dwinfolevel, pwszname.into().abi(), ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength, lpdwindex) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpQueryHeadersEx(hrequest: *const ::core::ffi::c_void, dwinfolevel: u32, ullflags: u64, uicodepage: u32, pdwindex: ::core::option::Option<*mut u32>, pheadername: ::core::option::Option<*const WINHTTP_HEADER_NAME>, pbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, pdwbufferlength: *mut u32, ppheaders: ::core::option::Option<*mut *mut WINHTTP_EXTENDED_HEADER>, pdwheaderscount: *mut u32) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpQueryHeadersEx ( hrequest : *const ::core::ffi::c_void , dwinfolevel : u32 , ullflags : u64 , uicodepage : u32 , pdwindex : *mut u32 , pheadername : *const WINHTTP_HEADER_NAME , pbuffer : *mut ::core::ffi::c_void , pdwbufferlength : *mut u32 , ppheaders : *mut *mut WINHTTP_EXTENDED_HEADER , pdwheaderscount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpQueryHeadersEx ( hrequest : *const ::core::ffi::c_void , dwinfolevel : u32 , ullflags : u64 , uicodepage : u32 , pdwindex : *mut u32 , pheadername : *const WINHTTP_HEADER_NAME , pbuffer : *mut ::core::ffi::c_void , pdwbufferlength : *mut u32 , ppheaders : *mut *mut WINHTTP_EXTENDED_HEADER , pdwheaderscount : *mut u32 ) -> u32 ); WinHttpQueryHeadersEx(hrequest, dwinfolevel, ullflags, uicodepage, ::core::mem::transmute(pdwindex.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pheadername.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), pdwbufferlength, ::core::mem::transmute(ppheaders.unwrap_or(::std::ptr::null_mut())), pdwheaderscount) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpQueryOption(hinternet: *mut ::core::ffi::c_void, dwoption: u32, lpbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpQueryOption ( hinternet : *mut ::core::ffi::c_void , dwoption : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpQueryOption ( hinternet : *mut ::core::ffi::c_void , dwoption : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); WinHttpQueryOption(hinternet, dwoption, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpReadData(hrequest: *mut ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, dwnumberofbytestoread: u32, lpdwnumberofbytesread: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpReadData ( hrequest : *mut ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , dwnumberofbytestoread : u32 , lpdwnumberofbytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpReadData ( hrequest : *mut ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , dwnumberofbytestoread : u32 , lpdwnumberofbytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); WinHttpReadData(hrequest, lpbuffer, dwnumberofbytestoread, lpdwnumberofbytesread) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpReadDataEx(hrequest: *mut ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, dwnumberofbytestoread: u32, lpdwnumberofbytesread: *mut u32, ullflags: u64, cbproperty: u32, pvproperty: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpReadDataEx ( hrequest : *mut ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , dwnumberofbytestoread : u32 , lpdwnumberofbytesread : *mut u32 , ullflags : u64 , cbproperty : u32 , pvproperty : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpReadDataEx ( hrequest : *mut ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , dwnumberofbytestoread : u32 , lpdwnumberofbytesread : *mut u32 , ullflags : u64 , cbproperty : u32 , pvproperty : *const ::core::ffi::c_void ) -> u32 ); WinHttpReadDataEx(hrequest, lpbuffer, dwnumberofbytestoread, lpdwnumberofbytesread, ullflags, cbproperty, ::core::mem::transmute(pvproperty.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -240,27 +240,27 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpReadProxySettings ( hsession : *const ::core::ffi::c_void , pcwszconnectionname : :: windows::core::PCWSTR , ffallbacktodefaultsettings : super::super::Foundation:: BOOL , fsetautodiscoverfordefaultsettings : super::super::Foundation:: BOOL , pdwsettingsversion : *mut u32 , pfdefaultsettingsarereturned : *mut super::super::Foundation:: BOOL , pwinhttpproxysettings : *mut WINHTTP_PROXY_SETTINGS ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpReadProxySettings ( hsession : *const ::core::ffi::c_void , pcwszconnectionname : :: windows::core::PCWSTR , ffallbacktodefaultsettings : super::super::Foundation:: BOOL , fsetautodiscoverfordefaultsettings : super::super::Foundation:: BOOL , pdwsettingsversion : *mut u32 , pfdefaultsettingsarereturned : *mut super::super::Foundation:: BOOL , pwinhttpproxysettings : *mut WINHTTP_PROXY_SETTINGS ) -> u32 ); WinHttpReadProxySettings(hsession, pcwszconnectionname.into().abi(), ffallbacktodefaultsettings.into(), fsetautodiscoverfordefaultsettings.into(), pdwsettingsversion, pfdefaultsettingsarereturned, pwinhttpproxysettings) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpReceiveResponse(hrequest: *mut ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpReceiveResponse ( hrequest : *mut ::core::ffi::c_void , lpreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpReceiveResponse ( hrequest : *mut ::core::ffi::c_void , lpreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinHttpReceiveResponse(hrequest, lpreserved) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpResetAutoProxy(hsession: *const ::core::ffi::c_void, dwflags: u32) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpResetAutoProxy ( hsession : *const ::core::ffi::c_void , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpResetAutoProxy ( hsession : *const ::core::ffi::c_void , dwflags : u32 ) -> u32 ); WinHttpResetAutoProxy(hsession, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpSendRequest(hrequest: *mut ::core::ffi::c_void, lpszheaders: ::core::option::Option<&[u16]>, lpoptional: ::core::option::Option<*const ::core::ffi::c_void>, dwoptionallength: u32, dwtotallength: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpSendRequest ( hrequest : *mut ::core::ffi::c_void , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , lpoptional : *const ::core::ffi::c_void , dwoptionallength : u32 , dwtotallength : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpSendRequest ( hrequest : *mut ::core::ffi::c_void , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , lpoptional : *const ::core::ffi::c_void , dwoptionallength : u32 , dwtotallength : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); WinHttpSendRequest(hrequest, ::core::mem::transmute(lpszheaders.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszheaders.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpoptional.unwrap_or(::std::ptr::null())), dwoptionallength, dwtotallength, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -271,21 +271,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpSetCredentials ( hrequest : *mut ::core::ffi::c_void , authtargets : u32 , authscheme : u32 , pwszusername : :: windows::core::PCWSTR , pwszpassword : :: windows::core::PCWSTR , pauthparams : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpSetCredentials ( hrequest : *mut ::core::ffi::c_void , authtargets : u32 , authscheme : u32 , pwszusername : :: windows::core::PCWSTR , pwszpassword : :: windows::core::PCWSTR , pauthparams : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WinHttpSetCredentials(hrequest, authtargets, authscheme, pwszusername.into().abi(), pwszpassword.into().abi(), pauthparams) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpSetDefaultProxyConfiguration(pproxyinfo: *mut WINHTTP_PROXY_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpSetDefaultProxyConfiguration ( pproxyinfo : *mut WINHTTP_PROXY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpSetDefaultProxyConfiguration ( pproxyinfo : *mut WINHTTP_PROXY_INFO ) -> super::super::Foundation:: BOOL ); WinHttpSetDefaultProxyConfiguration(pproxyinfo) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpSetOption(hinternet: ::core::option::Option<*const ::core::ffi::c_void>, dwoption: u32, lpbuffer: ::core::option::Option<&[u8]>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpSetOption ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpSetOption ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> super::super::Foundation:: BOOL ); WinHttpSetOption(::core::mem::transmute(hinternet.unwrap_or(::std::ptr::null())), dwoption, ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -295,27 +295,27 @@ pub unsafe fn WinHttpSetProxySettingsPerUser(fproxysettingsperuser: P0) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpSetProxySettingsPerUser ( fproxysettingsperuser : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpSetProxySettingsPerUser ( fproxysettingsperuser : super::super::Foundation:: BOOL ) -> u32 ); WinHttpSetProxySettingsPerUser(fproxysettingsperuser.into()) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpSetStatusCallback(hinternet: *mut ::core::ffi::c_void, lpfninternetcallback: WINHTTP_STATUS_CALLBACK, dwnotificationflags: u32, dwreserved: usize) -> WINHTTP_STATUS_CALLBACK { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpSetStatusCallback ( hinternet : *mut ::core::ffi::c_void , lpfninternetcallback : WINHTTP_STATUS_CALLBACK , dwnotificationflags : u32 , dwreserved : usize ) -> WINHTTP_STATUS_CALLBACK ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpSetStatusCallback ( hinternet : *mut ::core::ffi::c_void , lpfninternetcallback : WINHTTP_STATUS_CALLBACK , dwnotificationflags : u32 , dwreserved : usize ) -> WINHTTP_STATUS_CALLBACK ); WinHttpSetStatusCallback(hinternet, lpfninternetcallback, dwnotificationflags, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpSetTimeouts(hinternet: *mut ::core::ffi::c_void, nresolvetimeout: i32, nconnecttimeout: i32, nsendtimeout: i32, nreceivetimeout: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpSetTimeouts ( hinternet : *mut ::core::ffi::c_void , nresolvetimeout : i32 , nconnecttimeout : i32 , nsendtimeout : i32 , nreceivetimeout : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpSetTimeouts ( hinternet : *mut ::core::ffi::c_void , nresolvetimeout : i32 , nconnecttimeout : i32 , nsendtimeout : i32 , nreceivetimeout : i32 ) -> super::super::Foundation:: BOOL ); WinHttpSetTimeouts(hinternet, nresolvetimeout, nconnecttimeout, nsendtimeout, nreceivetimeout) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpTimeFromSystemTime(pst: *const super::super::Foundation::SYSTEMTIME, pwsztime: &mut [u16; 62]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpTimeFromSystemTime ( pst : *const super::super::Foundation:: SYSTEMTIME , pwsztime : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpTimeFromSystemTime ( pst : *const super::super::Foundation:: SYSTEMTIME , pwsztime : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); WinHttpTimeFromSystemTime(pst, ::core::mem::transmute(pwsztime.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -325,50 +325,50 @@ pub unsafe fn WinHttpTimeToSystemTime(pwsztime: P0, pst: *mut super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpTimeToSystemTime ( pwsztime : :: windows::core::PCWSTR , pst : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpTimeToSystemTime ( pwsztime : :: windows::core::PCWSTR , pst : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); WinHttpTimeToSystemTime(pwsztime.into().abi(), pst) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpWebSocketClose(hwebsocket: *const ::core::ffi::c_void, usstatus: u16, pvreason: ::core::option::Option<*const ::core::ffi::c_void>, dwreasonlength: u32) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpWebSocketClose ( hwebsocket : *const ::core::ffi::c_void , usstatus : u16 , pvreason : *const ::core::ffi::c_void , dwreasonlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpWebSocketClose ( hwebsocket : *const ::core::ffi::c_void , usstatus : u16 , pvreason : *const ::core::ffi::c_void , dwreasonlength : u32 ) -> u32 ); WinHttpWebSocketClose(hwebsocket, usstatus, ::core::mem::transmute(pvreason.unwrap_or(::std::ptr::null())), dwreasonlength) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpWebSocketCompleteUpgrade(hrequest: *const ::core::ffi::c_void, pcontext: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpWebSocketCompleteUpgrade ( hrequest : *const ::core::ffi::c_void , pcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpWebSocketCompleteUpgrade ( hrequest : *const ::core::ffi::c_void , pcontext : usize ) -> *mut ::core::ffi::c_void ); WinHttpWebSocketCompleteUpgrade(hrequest, pcontext) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpWebSocketQueryCloseStatus(hwebsocket: *const ::core::ffi::c_void, pusstatus: *mut u16, pvreason: ::core::option::Option<*mut ::core::ffi::c_void>, dwreasonlength: u32, pdwreasonlengthconsumed: *mut u32) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpWebSocketQueryCloseStatus ( hwebsocket : *const ::core::ffi::c_void , pusstatus : *mut u16 , pvreason : *mut ::core::ffi::c_void , dwreasonlength : u32 , pdwreasonlengthconsumed : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpWebSocketQueryCloseStatus ( hwebsocket : *const ::core::ffi::c_void , pusstatus : *mut u16 , pvreason : *mut ::core::ffi::c_void , dwreasonlength : u32 , pdwreasonlengthconsumed : *mut u32 ) -> u32 ); WinHttpWebSocketQueryCloseStatus(hwebsocket, pusstatus, ::core::mem::transmute(pvreason.unwrap_or(::std::ptr::null_mut())), dwreasonlength, pdwreasonlengthconsumed) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpWebSocketReceive(hwebsocket: *const ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, dwbufferlength: u32, pdwbytesread: *mut u32, pebuffertype: *mut WINHTTP_WEB_SOCKET_BUFFER_TYPE) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpWebSocketReceive ( hwebsocket : *const ::core::ffi::c_void , pvbuffer : *mut ::core::ffi::c_void , dwbufferlength : u32 , pdwbytesread : *mut u32 , pebuffertype : *mut WINHTTP_WEB_SOCKET_BUFFER_TYPE ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpWebSocketReceive ( hwebsocket : *const ::core::ffi::c_void , pvbuffer : *mut ::core::ffi::c_void , dwbufferlength : u32 , pdwbytesread : *mut u32 , pebuffertype : *mut WINHTTP_WEB_SOCKET_BUFFER_TYPE ) -> u32 ); WinHttpWebSocketReceive(hwebsocket, pvbuffer, dwbufferlength, pdwbytesread, pebuffertype) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpWebSocketSend(hwebsocket: *const ::core::ffi::c_void, ebuffertype: WINHTTP_WEB_SOCKET_BUFFER_TYPE, pvbuffer: ::core::option::Option<&[u8]>) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpWebSocketSend ( hwebsocket : *const ::core::ffi::c_void , ebuffertype : WINHTTP_WEB_SOCKET_BUFFER_TYPE , pvbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpWebSocketSend ( hwebsocket : *const ::core::ffi::c_void , ebuffertype : WINHTTP_WEB_SOCKET_BUFFER_TYPE , pvbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> u32 ); WinHttpWebSocketSend(hwebsocket, ebuffertype, ::core::mem::transmute(pvbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pvbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] #[inline] pub unsafe fn WinHttpWebSocketShutdown(hwebsocket: *const ::core::ffi::c_void, usstatus: u16, pvreason: ::core::option::Option<*const ::core::ffi::c_void>, dwreasonlength: u32) -> u32 { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpWebSocketShutdown ( hwebsocket : *const ::core::ffi::c_void , usstatus : u16 , pvreason : *const ::core::ffi::c_void , dwreasonlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpWebSocketShutdown ( hwebsocket : *const ::core::ffi::c_void , usstatus : u16 , pvreason : *const ::core::ffi::c_void , dwreasonlength : u32 ) -> u32 ); WinHttpWebSocketShutdown(hwebsocket, usstatus, ::core::mem::transmute(pvreason.unwrap_or(::std::ptr::null())), dwreasonlength) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WinHttpWriteData(hrequest: *mut ::core::ffi::c_void, lpbuffer: ::core::option::Option<*const ::core::ffi::c_void>, dwnumberofbytestowrite: u32, lpdwnumberofbyteswritten: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpWriteData ( hrequest : *mut ::core::ffi::c_void , lpbuffer : *const ::core::ffi::c_void , dwnumberofbytestowrite : u32 , lpdwnumberofbyteswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpWriteData ( hrequest : *mut ::core::ffi::c_void , lpbuffer : *const ::core::ffi::c_void , dwnumberofbytestowrite : u32 , lpdwnumberofbyteswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); WinHttpWriteData(hrequest, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null())), dwnumberofbytestowrite, lpdwnumberofbyteswritten) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] @@ -378,7 +378,7 @@ pub unsafe fn WinHttpWriteProxySettings(hsession: *const ::core::ffi::c_void where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhttp.dll""system" fn WinHttpWriteProxySettings ( hsession : *const ::core::ffi::c_void , fforceupdate : super::super::Foundation:: BOOL , pwinhttpproxysettings : *const WINHTTP_PROXY_SETTINGS ) -> u32 ); + ::windows::imp::link ! ( "winhttp.dll""system" fn WinHttpWriteProxySettings ( hsession : *const ::core::ffi::c_void , fforceupdate : super::super::Foundation:: BOOL , pwinhttpproxysettings : *const WINHTTP_PROXY_SETTINGS ) -> u32 ); WinHttpWriteProxySettings(hsession, fforceupdate.into(), pwinhttpproxysettings) } #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs index dcf9e38310..ebee3f4fd6 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -5,13 +5,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheCheckManifest ( pwszmasterurl : :: windows::core::PCWSTR , pwszmanifesturl : :: windows::core::PCWSTR , pbmanifestdata : *const u8 , dwmanifestdatasize : u32 , pbmanifestresponseheaders : *const u8 , dwmanifestresponseheaderssize : u32 , pestate : *mut APP_CACHE_STATE , phnewappcache : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheCheckManifest ( pwszmasterurl : :: windows::core::PCWSTR , pwszmanifesturl : :: windows::core::PCWSTR , pbmanifestdata : *const u8 , dwmanifestdatasize : u32 , pbmanifestresponseheaders : *const u8 , dwmanifestresponseheaderssize : u32 , pestate : *mut APP_CACHE_STATE , phnewappcache : *mut *mut ::core::ffi::c_void ) -> u32 ); AppCacheCheckManifest(pwszmasterurl.into().abi(), pwszmanifesturl.into().abi(), ::core::mem::transmute(pbmanifestdata.as_ptr()), pbmanifestdata.len() as _, ::core::mem::transmute(pbmanifestresponseheaders.as_ptr()), pbmanifestresponseheaders.len() as _, pestate, phnewappcache) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn AppCacheCloseHandle(happcache: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheCloseHandle ( happcache : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheCloseHandle ( happcache : *const ::core::ffi::c_void ) -> ( ) ); AppCacheCloseHandle(happcache) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -21,7 +21,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheCreateAndCommitFile ( happcache : *const ::core::ffi::c_void , pwszsourcefilepath : :: windows::core::PCWSTR , pwszurl : :: windows::core::PCWSTR , pbresponseheaders : *const u8 , dwresponseheaderssize : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheCreateAndCommitFile ( happcache : *const ::core::ffi::c_void , pwszsourcefilepath : :: windows::core::PCWSTR , pwszurl : :: windows::core::PCWSTR , pbresponseheaders : *const u8 , dwresponseheaderssize : u32 ) -> u32 ); AppCacheCreateAndCommitFile(happcache, pwszsourcefilepath.into().abi(), pwszurl.into().abi(), ::core::mem::transmute(pbresponseheaders.as_ptr()), pbresponseheaders.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -30,7 +30,7 @@ pub unsafe fn AppCacheDeleteGroup(pwszmanifesturl: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheDeleteGroup ( pwszmanifesturl : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheDeleteGroup ( pwszmanifesturl : :: windows::core::PCWSTR ) -> u32 ); AppCacheDeleteGroup(pwszmanifesturl.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -39,52 +39,52 @@ pub unsafe fn AppCacheDeleteIEGroup(pwszmanifesturl: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheDeleteIEGroup ( pwszmanifesturl : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheDeleteIEGroup ( pwszmanifesturl : :: windows::core::PCWSTR ) -> u32 ); AppCacheDeleteIEGroup(pwszmanifesturl.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn AppCacheDuplicateHandle(happcache: *const ::core::ffi::c_void, phduplicatedappcache: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheDuplicateHandle ( happcache : *const ::core::ffi::c_void , phduplicatedappcache : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheDuplicateHandle ( happcache : *const ::core::ffi::c_void , phduplicatedappcache : *mut *mut ::core::ffi::c_void ) -> u32 ); AppCacheDuplicateHandle(happcache, phduplicatedappcache) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn AppCacheFinalize(happcache: *const ::core::ffi::c_void, pbmanifestdata: &[u8], pestate: *mut APP_CACHE_FINALIZE_STATE) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheFinalize ( happcache : *const ::core::ffi::c_void , pbmanifestdata : *const u8 , dwmanifestdatasize : u32 , pestate : *mut APP_CACHE_FINALIZE_STATE ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheFinalize ( happcache : *const ::core::ffi::c_void , pbmanifestdata : *const u8 , dwmanifestdatasize : u32 , pestate : *mut APP_CACHE_FINALIZE_STATE ) -> u32 ); AppCacheFinalize(happcache, ::core::mem::transmute(pbmanifestdata.as_ptr()), pbmanifestdata.len() as _, pestate) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn AppCacheFreeDownloadList(pdownloadlist: *mut APP_CACHE_DOWNLOAD_LIST) { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheFreeDownloadList ( pdownloadlist : *mut APP_CACHE_DOWNLOAD_LIST ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheFreeDownloadList ( pdownloadlist : *mut APP_CACHE_DOWNLOAD_LIST ) -> ( ) ); AppCacheFreeDownloadList(pdownloadlist) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AppCacheFreeGroupList(pappcachegrouplist: *mut APP_CACHE_GROUP_LIST) { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheFreeGroupList ( pappcachegrouplist : *mut APP_CACHE_GROUP_LIST ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheFreeGroupList ( pappcachegrouplist : *mut APP_CACHE_GROUP_LIST ) -> ( ) ); AppCacheFreeGroupList(pappcachegrouplist) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AppCacheFreeIESpace(ftcutoff: super::super::Foundation::FILETIME) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheFreeIESpace ( ftcutoff : super::super::Foundation:: FILETIME ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheFreeIESpace ( ftcutoff : super::super::Foundation:: FILETIME ) -> u32 ); AppCacheFreeIESpace(::core::mem::transmute(ftcutoff)) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AppCacheFreeSpace(ftcutoff: super::super::Foundation::FILETIME) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheFreeSpace ( ftcutoff : super::super::Foundation:: FILETIME ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheFreeSpace ( ftcutoff : super::super::Foundation:: FILETIME ) -> u32 ); AppCacheFreeSpace(::core::mem::transmute(ftcutoff)) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn AppCacheGetDownloadList(happcache: *const ::core::ffi::c_void, pdownloadlist: *mut APP_CACHE_DOWNLOAD_LIST) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheGetDownloadList ( happcache : *const ::core::ffi::c_void , pdownloadlist : *mut APP_CACHE_DOWNLOAD_LIST ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheGetDownloadList ( happcache : *const ::core::ffi::c_void , pdownloadlist : *mut APP_CACHE_DOWNLOAD_LIST ) -> u32 ); AppCacheGetDownloadList(happcache, pdownloadlist) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -93,34 +93,34 @@ pub unsafe fn AppCacheGetFallbackUrl(happcache: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheGetFallbackUrl ( happcache : *const ::core::ffi::c_void , pwszurl : :: windows::core::PCWSTR , ppwszfallbackurl : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheGetFallbackUrl ( happcache : *const ::core::ffi::c_void , pwszurl : :: windows::core::PCWSTR , ppwszfallbackurl : *mut :: windows::core::PWSTR ) -> u32 ); AppCacheGetFallbackUrl(happcache, pwszurl.into().abi(), ppwszfallbackurl) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AppCacheGetGroupList(pappcachegrouplist: *mut APP_CACHE_GROUP_LIST) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheGetGroupList ( pappcachegrouplist : *mut APP_CACHE_GROUP_LIST ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheGetGroupList ( pappcachegrouplist : *mut APP_CACHE_GROUP_LIST ) -> u32 ); AppCacheGetGroupList(pappcachegrouplist) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AppCacheGetIEGroupList(pappcachegrouplist: *mut APP_CACHE_GROUP_LIST) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheGetIEGroupList ( pappcachegrouplist : *mut APP_CACHE_GROUP_LIST ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheGetIEGroupList ( pappcachegrouplist : *mut APP_CACHE_GROUP_LIST ) -> u32 ); AppCacheGetIEGroupList(pappcachegrouplist) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AppCacheGetInfo(happcache: *const ::core::ffi::c_void, pappcacheinfo: *mut APP_CACHE_GROUP_INFO) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheGetInfo ( happcache : *const ::core::ffi::c_void , pappcacheinfo : *mut APP_CACHE_GROUP_INFO ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheGetInfo ( happcache : *const ::core::ffi::c_void , pappcacheinfo : *mut APP_CACHE_GROUP_INFO ) -> u32 ); AppCacheGetInfo(happcache, pappcacheinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn AppCacheGetManifestUrl(happcache: *const ::core::ffi::c_void, ppwszmanifesturl: *mut ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheGetManifestUrl ( happcache : *const ::core::ffi::c_void , ppwszmanifesturl : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheGetManifestUrl ( happcache : *const ::core::ffi::c_void , ppwszmanifesturl : *mut :: windows::core::PWSTR ) -> u32 ); AppCacheGetManifestUrl(happcache, ppwszmanifesturl) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -129,7 +129,7 @@ pub unsafe fn AppCacheLookup(pwszurl: P0, dwflags: u32, phappcache: *mut *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn AppCacheLookup ( pwszurl : :: windows::core::PCWSTR , dwflags : u32 , phappcache : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn AppCacheLookup ( pwszurl : :: windows::core::PCWSTR , dwflags : u32 , phappcache : *mut *mut ::core::ffi::c_void ) -> u32 ); AppCacheLookup(pwszurl.into().abi(), dwflags, phappcache) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -142,7 +142,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn CommitUrlCacheEntryA ( lpszurlname : :: windows::core::PCSTR , lpszlocalfilename : :: windows::core::PCSTR , expiretime : super::super::Foundation:: FILETIME , lastmodifiedtime : super::super::Foundation:: FILETIME , cacheentrytype : u32 , lpheaderinfo : *const u8 , cchheaderinfo : u32 , lpszfileextension : :: windows::core::PCSTR , lpszoriginalurl : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn CommitUrlCacheEntryA ( lpszurlname : :: windows::core::PCSTR , lpszlocalfilename : :: windows::core::PCSTR , expiretime : super::super::Foundation:: FILETIME , lastmodifiedtime : super::super::Foundation:: FILETIME , cacheentrytype : u32 , lpheaderinfo : *const u8 , cchheaderinfo : u32 , lpszfileextension : :: windows::core::PCSTR , lpszoriginalurl : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); CommitUrlCacheEntryA(lpszurlname.into().abi(), lpszlocalfilename.into().abi(), ::core::mem::transmute(expiretime), ::core::mem::transmute(lastmodifiedtime), cacheentrytype, ::core::mem::transmute(lpheaderinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpheaderinfo.as_deref().map_or(0, |slice| slice.len() as _), lpszfileextension.into().abi(), lpszoriginalurl.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -152,7 +152,7 @@ pub unsafe fn CommitUrlCacheEntryBinaryBlob(pwszurlname: P0, dwtype: u32, ft where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn CommitUrlCacheEntryBinaryBlob ( pwszurlname : :: windows::core::PCWSTR , dwtype : u32 , ftexpiretime : super::super::Foundation:: FILETIME , ftmodifiedtime : super::super::Foundation:: FILETIME , pbblob : *const u8 , cbblob : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn CommitUrlCacheEntryBinaryBlob ( pwszurlname : :: windows::core::PCWSTR , dwtype : u32 , ftexpiretime : super::super::Foundation:: FILETIME , ftmodifiedtime : super::super::Foundation:: FILETIME , pbblob : *const u8 , cbblob : u32 ) -> u32 ); CommitUrlCacheEntryBinaryBlob(pwszurlname.into().abi(), dwtype, ::core::mem::transmute(ftexpiretime), ::core::mem::transmute(ftmodifiedtime), ::core::mem::transmute(pbblob.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbblob.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -165,7 +165,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn CommitUrlCacheEntryW ( lpszurlname : :: windows::core::PCWSTR , lpszlocalfilename : :: windows::core::PCWSTR , expiretime : super::super::Foundation:: FILETIME , lastmodifiedtime : super::super::Foundation:: FILETIME , cacheentrytype : u32 , lpszheaderinfo : :: windows::core::PCWSTR , cchheaderinfo : u32 , lpszfileextension : :: windows::core::PCWSTR , lpszoriginalurl : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn CommitUrlCacheEntryW ( lpszurlname : :: windows::core::PCWSTR , lpszlocalfilename : :: windows::core::PCWSTR , expiretime : super::super::Foundation:: FILETIME , lastmodifiedtime : super::super::Foundation:: FILETIME , cacheentrytype : u32 , lpszheaderinfo : :: windows::core::PCWSTR , cchheaderinfo : u32 , lpszfileextension : :: windows::core::PCWSTR , lpszoriginalurl : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); CommitUrlCacheEntryW(lpszurlname.into().abi(), lpszlocalfilename.into().abi(), ::core::mem::transmute(expiretime), ::core::mem::transmute(lastmodifiedtime), cacheentrytype, ::core::mem::transmute(lpszheaderinfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszheaderinfo.as_deref().map_or(0, |slice| slice.len() as _), lpszfileextension.into().abi(), lpszoriginalurl.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -177,7 +177,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn CreateMD5SSOHash ( pszchallengeinfo : :: windows::core::PCWSTR , pwszrealm : :: windows::core::PCWSTR , pwsztarget : :: windows::core::PCWSTR , pbhexhash : *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn CreateMD5SSOHash ( pszchallengeinfo : :: windows::core::PCWSTR , pwszrealm : :: windows::core::PCWSTR , pwsztarget : :: windows::core::PCWSTR , pbhexhash : *mut u8 ) -> super::super::Foundation:: BOOL ); CreateMD5SSOHash(pszchallengeinfo.into().abi(), pwszrealm.into().abi(), pwsztarget.into().abi(), pbhexhash) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -189,7 +189,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn CreateUrlCacheContainerA ( name : :: windows::core::PCSTR , lpcacheprefix : :: windows::core::PCSTR , lpszcachepath : :: windows::core::PCSTR , kbcachelimit : u32 , dwcontainertype : u32 , dwoptions : u32 , pvbuffer : *const ::core::ffi::c_void , cbbuffer : *const u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn CreateUrlCacheContainerA ( name : :: windows::core::PCSTR , lpcacheprefix : :: windows::core::PCSTR , lpszcachepath : :: windows::core::PCSTR , kbcachelimit : u32 , dwcontainertype : u32 , dwoptions : u32 , pvbuffer : *const ::core::ffi::c_void , cbbuffer : *const u32 ) -> super::super::Foundation:: BOOL ); CreateUrlCacheContainerA(name.into().abi(), lpcacheprefix.into().abi(), lpszcachepath.into().abi(), kbcachelimit, dwcontainertype, dwoptions, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null())), ::core::mem::transmute(cbbuffer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -201,7 +201,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn CreateUrlCacheContainerW ( name : :: windows::core::PCWSTR , lpcacheprefix : :: windows::core::PCWSTR , lpszcachepath : :: windows::core::PCWSTR , kbcachelimit : u32 , dwcontainertype : u32 , dwoptions : u32 , pvbuffer : *const ::core::ffi::c_void , cbbuffer : *const u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn CreateUrlCacheContainerW ( name : :: windows::core::PCWSTR , lpcacheprefix : :: windows::core::PCWSTR , lpszcachepath : :: windows::core::PCWSTR , kbcachelimit : u32 , dwcontainertype : u32 , dwoptions : u32 , pvbuffer : *const ::core::ffi::c_void , cbbuffer : *const u32 ) -> super::super::Foundation:: BOOL ); CreateUrlCacheContainerW(name.into().abi(), lpcacheprefix.into().abi(), lpszcachepath.into().abi(), kbcachelimit, dwcontainertype, dwoptions, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null())), ::core::mem::transmute(cbbuffer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -212,7 +212,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn CreateUrlCacheEntryA ( lpszurlname : :: windows::core::PCSTR , dwexpectedfilesize : u32 , lpszfileextension : :: windows::core::PCSTR , lpszfilename : :: windows::core::PSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn CreateUrlCacheEntryA ( lpszurlname : :: windows::core::PCSTR , dwexpectedfilesize : u32 , lpszfileextension : :: windows::core::PCSTR , lpszfilename : :: windows::core::PSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); CreateUrlCacheEntryA(lpszurlname.into().abi(), dwexpectedfilesize, lpszfileextension.into().abi(), ::core::mem::transmute(lpszfilename.as_ptr()), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -224,7 +224,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn CreateUrlCacheEntryExW ( lpszurlname : :: windows::core::PCWSTR , dwexpectedfilesize : u32 , lpszfileextension : :: windows::core::PCWSTR , lpszfilename : :: windows::core::PWSTR , dwreserved : u32 , fpreserveincomingfilename : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn CreateUrlCacheEntryExW ( lpszurlname : :: windows::core::PCWSTR , dwexpectedfilesize : u32 , lpszfileextension : :: windows::core::PCWSTR , lpszfilename : :: windows::core::PWSTR , dwreserved : u32 , fpreserveincomingfilename : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CreateUrlCacheEntryExW(lpszurlname.into().abi(), dwexpectedfilesize, lpszfileextension.into().abi(), ::core::mem::transmute(lpszfilename.as_ptr()), dwreserved, fpreserveincomingfilename.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -235,13 +235,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn CreateUrlCacheEntryW ( lpszurlname : :: windows::core::PCWSTR , dwexpectedfilesize : u32 , lpszfileextension : :: windows::core::PCWSTR , lpszfilename : :: windows::core::PWSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn CreateUrlCacheEntryW ( lpszurlname : :: windows::core::PCWSTR , dwexpectedfilesize : u32 , lpszfileextension : :: windows::core::PCWSTR , lpszfilename : :: windows::core::PWSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); CreateUrlCacheEntryW(lpszurlname.into().abi(), dwexpectedfilesize, lpszfileextension.into().abi(), ::core::mem::transmute(lpszfilename.as_ptr()), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn CreateUrlCacheGroup(dwflags: u32, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> i64 { - ::windows::core::link ! ( "wininet.dll""system" fn CreateUrlCacheGroup ( dwflags : u32 , lpreserved : *const ::core::ffi::c_void ) -> i64 ); + ::windows::imp::link ! ( "wininet.dll""system" fn CreateUrlCacheGroup ( dwflags : u32 , lpreserved : *const ::core::ffi::c_void ) -> i64 ); CreateUrlCacheGroup(dwflags, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -253,7 +253,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn DeleteIE3Cache ( hwnd : super::super::Foundation:: HWND , hinst : super::super::Foundation:: HINSTANCE , lpszcmd : :: windows::core::PCSTR , ncmdshow : i32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn DeleteIE3Cache ( hwnd : super::super::Foundation:: HWND , hinst : super::super::Foundation:: HINSTANCE , lpszcmd : :: windows::core::PCSTR , ncmdshow : i32 ) -> u32 ); DeleteIE3Cache(hwnd.into(), hinst.into(), lpszcmd.into().abi(), ncmdshow) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -263,7 +263,7 @@ pub unsafe fn DeleteUrlCacheContainerA(name: P0, dwoptions: u32) -> super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn DeleteUrlCacheContainerA ( name : :: windows::core::PCSTR , dwoptions : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DeleteUrlCacheContainerA ( name : :: windows::core::PCSTR , dwoptions : u32 ) -> super::super::Foundation:: BOOL ); DeleteUrlCacheContainerA(name.into().abi(), dwoptions) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -273,7 +273,7 @@ pub unsafe fn DeleteUrlCacheContainerW(name: P0, dwoptions: u32) -> super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn DeleteUrlCacheContainerW ( name : :: windows::core::PCWSTR , dwoptions : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DeleteUrlCacheContainerW ( name : :: windows::core::PCWSTR , dwoptions : u32 ) -> super::super::Foundation:: BOOL ); DeleteUrlCacheContainerW(name.into().abi(), dwoptions) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -283,7 +283,7 @@ pub unsafe fn DeleteUrlCacheEntry(lpszurlname: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn DeleteUrlCacheEntry ( lpszurlname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DeleteUrlCacheEntry ( lpszurlname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeleteUrlCacheEntry(lpszurlname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -293,7 +293,7 @@ pub unsafe fn DeleteUrlCacheEntryA(lpszurlname: P0) -> super::super::Foundat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn DeleteUrlCacheEntryA ( lpszurlname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DeleteUrlCacheEntryA ( lpszurlname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeleteUrlCacheEntryA(lpszurlname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -303,35 +303,35 @@ pub unsafe fn DeleteUrlCacheEntryW(lpszurlname: P0) -> super::super::Foundat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn DeleteUrlCacheEntryW ( lpszurlname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DeleteUrlCacheEntryW ( lpszurlname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeleteUrlCacheEntryW(lpszurlname.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteUrlCacheGroup(groupid: i64, dwflags: u32, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn DeleteUrlCacheGroup ( groupid : i64 , dwflags : u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DeleteUrlCacheGroup ( groupid : i64 , dwflags : u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DeleteUrlCacheGroup(groupid, dwflags, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteWpadCacheForNetworks(param0: WPAD_CACHE_DELETE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn DeleteWpadCacheForNetworks ( param0 : WPAD_CACHE_DELETE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DeleteWpadCacheForNetworks ( param0 : WPAD_CACHE_DELETE ) -> super::super::Foundation:: BOOL ); DeleteWpadCacheForNetworks(param0) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DetectAutoProxyUrl(pszautoproxyurl: &mut [u8], dwdetectflags: PROXY_AUTO_DETECT_TYPE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn DetectAutoProxyUrl ( pszautoproxyurl : :: windows::core::PSTR , cchautoproxyurl : u32 , dwdetectflags : PROXY_AUTO_DETECT_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DetectAutoProxyUrl ( pszautoproxyurl : :: windows::core::PSTR , cchautoproxyurl : u32 , dwdetectflags : PROXY_AUTO_DETECT_TYPE ) -> super::super::Foundation:: BOOL ); DetectAutoProxyUrl(::core::mem::transmute(pszautoproxyurl.as_ptr()), pszautoproxyurl.len() as _, dwdetectflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DoConnectoidsExist() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn DoConnectoidsExist ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn DoConnectoidsExist ( ) -> super::super::Foundation:: BOOL ); DoConnectoidsExist() } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -342,7 +342,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn ExportCookieFileA ( szfilename : :: windows::core::PCSTR , fappend : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn ExportCookieFileA ( szfilename : :: windows::core::PCSTR , fappend : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); ExportCookieFileA(szfilename.into().abi(), fappend.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -353,7 +353,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn ExportCookieFileW ( szfilename : :: windows::core::PCWSTR , fappend : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn ExportCookieFileW ( szfilename : :: windows::core::PCWSTR , fappend : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); ExportCookieFileW(szfilename.into().abi(), fappend.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -363,21 +363,21 @@ pub unsafe fn FindCloseUrlCache(henumhandle: P0) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FindCloseUrlCache ( henumhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindCloseUrlCache ( henumhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); FindCloseUrlCache(henumhandle.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FindFirstUrlCacheContainerA(pdwmodified: *mut u32, lpcontainerinfo: *mut INTERNET_CACHE_CONTAINER_INFOA, lpcbcontainerinfo: *mut u32, dwoptions: u32) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "wininet.dll""system" fn FindFirstUrlCacheContainerA ( pdwmodified : *mut u32 , lpcontainerinfo : *mut INTERNET_CACHE_CONTAINER_INFOA , lpcbcontainerinfo : *mut u32 , dwoptions : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindFirstUrlCacheContainerA ( pdwmodified : *mut u32 , lpcontainerinfo : *mut INTERNET_CACHE_CONTAINER_INFOA , lpcbcontainerinfo : *mut u32 , dwoptions : u32 ) -> super::super::Foundation:: HANDLE ); FindFirstUrlCacheContainerA(pdwmodified, lpcontainerinfo, lpcbcontainerinfo, dwoptions) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FindFirstUrlCacheContainerW(pdwmodified: *mut u32, lpcontainerinfo: *mut INTERNET_CACHE_CONTAINER_INFOW, lpcbcontainerinfo: *mut u32, dwoptions: u32) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "wininet.dll""system" fn FindFirstUrlCacheContainerW ( pdwmodified : *mut u32 , lpcontainerinfo : *mut INTERNET_CACHE_CONTAINER_INFOW , lpcbcontainerinfo : *mut u32 , dwoptions : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindFirstUrlCacheContainerW ( pdwmodified : *mut u32 , lpcontainerinfo : *mut INTERNET_CACHE_CONTAINER_INFOW , lpcbcontainerinfo : *mut u32 , dwoptions : u32 ) -> super::super::Foundation:: HANDLE ); FindFirstUrlCacheContainerW(pdwmodified, lpcontainerinfo, lpcbcontainerinfo, dwoptions) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -387,9 +387,9 @@ pub unsafe fn FindFirstUrlCacheEntryA(lpszurlsearchpattern: P0, lpfirstcache where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FindFirstUrlCacheEntryA ( lpszurlsearchpattern : :: windows::core::PCSTR , lpfirstcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindFirstUrlCacheEntryA ( lpszurlsearchpattern : :: windows::core::PCSTR , lpfirstcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = FindFirstUrlCacheEntryA(lpszurlsearchpattern.into().abi(), ::core::mem::transmute(lpfirstcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -398,9 +398,9 @@ pub unsafe fn FindFirstUrlCacheEntryExA(lpszurlsearchpattern: P0, dwflags: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FindFirstUrlCacheEntryExA ( lpszurlsearchpattern : :: windows::core::PCSTR , dwflags : u32 , dwfilter : u32 , groupid : i64 , lpfirstcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , lpgroupattributes : *const ::core::ffi::c_void , lpcbgroupattributes : *const u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindFirstUrlCacheEntryExA ( lpszurlsearchpattern : :: windows::core::PCSTR , dwflags : u32 , dwfilter : u32 , groupid : i64 , lpfirstcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , lpgroupattributes : *const ::core::ffi::c_void , lpcbgroupattributes : *const u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); let result__ = FindFirstUrlCacheEntryExA(lpszurlsearchpattern.into().abi(), dwflags, dwfilter, groupid, ::core::mem::transmute(lpfirstcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo, ::core::mem::transmute(lpgroupattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcbgroupattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -409,9 +409,9 @@ pub unsafe fn FindFirstUrlCacheEntryExW(lpszurlsearchpattern: P0, dwflags: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FindFirstUrlCacheEntryExW ( lpszurlsearchpattern : :: windows::core::PCWSTR , dwflags : u32 , dwfilter : u32 , groupid : i64 , lpfirstcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , lpgroupattributes : *const ::core::ffi::c_void , lpcbgroupattributes : *const u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindFirstUrlCacheEntryExW ( lpszurlsearchpattern : :: windows::core::PCWSTR , dwflags : u32 , dwfilter : u32 , groupid : i64 , lpfirstcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , lpgroupattributes : *const ::core::ffi::c_void , lpcbgroupattributes : *const u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); let result__ = FindFirstUrlCacheEntryExW(lpszurlsearchpattern.into().abi(), dwflags, dwfilter, groupid, ::core::mem::transmute(lpfirstcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo, ::core::mem::transmute(lpgroupattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcbgroupattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -420,17 +420,17 @@ pub unsafe fn FindFirstUrlCacheEntryW(lpszurlsearchpattern: P0, lpfirstcache where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FindFirstUrlCacheEntryW ( lpszurlsearchpattern : :: windows::core::PCWSTR , lpfirstcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindFirstUrlCacheEntryW ( lpszurlsearchpattern : :: windows::core::PCWSTR , lpfirstcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = FindFirstUrlCacheEntryW(lpszurlsearchpattern.into().abi(), ::core::mem::transmute(lpfirstcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FindFirstUrlCacheGroup(dwflags: u32, dwfilter: u32, lpsearchcondition: ::core::option::Option<*const ::core::ffi::c_void>, dwsearchcondition: u32, lpgroupid: *mut i64, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result { - ::windows::core::link ! ( "wininet.dll""system" fn FindFirstUrlCacheGroup ( dwflags : u32 , dwfilter : u32 , lpsearchcondition : *const ::core::ffi::c_void , dwsearchcondition : u32 , lpgroupid : *mut i64 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindFirstUrlCacheGroup ( dwflags : u32 , dwfilter : u32 , lpsearchcondition : *const ::core::ffi::c_void , dwsearchcondition : u32 , lpgroupid : *mut i64 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); let result__ = FindFirstUrlCacheGroup(dwflags, dwfilter, ::core::mem::transmute(lpsearchcondition.unwrap_or(::std::ptr::null())), dwsearchcondition, lpgroupid, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -439,7 +439,7 @@ pub unsafe fn FindNextUrlCacheContainerA(henumhandle: P0, lpcontainerinfo: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FindNextUrlCacheContainerA ( henumhandle : super::super::Foundation:: HANDLE , lpcontainerinfo : *mut INTERNET_CACHE_CONTAINER_INFOA , lpcbcontainerinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindNextUrlCacheContainerA ( henumhandle : super::super::Foundation:: HANDLE , lpcontainerinfo : *mut INTERNET_CACHE_CONTAINER_INFOA , lpcbcontainerinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); FindNextUrlCacheContainerA(henumhandle.into(), lpcontainerinfo, lpcbcontainerinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -449,7 +449,7 @@ pub unsafe fn FindNextUrlCacheContainerW(henumhandle: P0, lpcontainerinfo: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FindNextUrlCacheContainerW ( henumhandle : super::super::Foundation:: HANDLE , lpcontainerinfo : *mut INTERNET_CACHE_CONTAINER_INFOW , lpcbcontainerinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindNextUrlCacheContainerW ( henumhandle : super::super::Foundation:: HANDLE , lpcontainerinfo : *mut INTERNET_CACHE_CONTAINER_INFOW , lpcbcontainerinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); FindNextUrlCacheContainerW(henumhandle.into(), lpcontainerinfo, lpcbcontainerinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -459,7 +459,7 @@ pub unsafe fn FindNextUrlCacheEntryA(henumhandle: P0, lpnextcacheentryinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FindNextUrlCacheEntryA ( henumhandle : super::super::Foundation:: HANDLE , lpnextcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindNextUrlCacheEntryA ( henumhandle : super::super::Foundation:: HANDLE , lpnextcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); FindNextUrlCacheEntryA(henumhandle.into(), ::core::mem::transmute(lpnextcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -469,7 +469,7 @@ pub unsafe fn FindNextUrlCacheEntryExA(henumhandle: P0, lpnextcacheentryinfo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FindNextUrlCacheEntryExA ( henumhandle : super::super::Foundation:: HANDLE , lpnextcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , lpgroupattributes : *const ::core::ffi::c_void , lpcbgroupattributes : *const u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindNextUrlCacheEntryExA ( henumhandle : super::super::Foundation:: HANDLE , lpnextcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , lpgroupattributes : *const ::core::ffi::c_void , lpcbgroupattributes : *const u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FindNextUrlCacheEntryExA(henumhandle.into(), ::core::mem::transmute(lpnextcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo, ::core::mem::transmute(lpgroupattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcbgroupattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -479,7 +479,7 @@ pub unsafe fn FindNextUrlCacheEntryExW(henumhandle: P0, lpnextcacheentryinfo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FindNextUrlCacheEntryExW ( henumhandle : super::super::Foundation:: HANDLE , lpnextcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , lpgroupattributes : *const ::core::ffi::c_void , lpcbgroupattributes : *const u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindNextUrlCacheEntryExW ( henumhandle : super::super::Foundation:: HANDLE , lpnextcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , lpgroupattributes : *const ::core::ffi::c_void , lpcbgroupattributes : *const u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FindNextUrlCacheEntryExW(henumhandle.into(), ::core::mem::transmute(lpnextcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo, ::core::mem::transmute(lpgroupattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcbgroupattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -489,7 +489,7 @@ pub unsafe fn FindNextUrlCacheEntryW(henumhandle: P0, lpnextcacheentryinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FindNextUrlCacheEntryW ( henumhandle : super::super::Foundation:: HANDLE , lpnextcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindNextUrlCacheEntryW ( henumhandle : super::super::Foundation:: HANDLE , lpnextcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); FindNextUrlCacheEntryW(henumhandle.into(), ::core::mem::transmute(lpnextcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -499,7 +499,7 @@ pub unsafe fn FindNextUrlCacheGroup(hfind: P0, lpgroupid: *mut i64, lpreserv where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FindNextUrlCacheGroup ( hfind : super::super::Foundation:: HANDLE , lpgroupid : *mut i64 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindNextUrlCacheGroup ( hfind : super::super::Foundation:: HANDLE , lpgroupid : *mut i64 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FindNextUrlCacheGroup(hfind.into(), lpgroupid, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -508,7 +508,7 @@ pub unsafe fn FindP3PPolicySymbol(pszsymbol: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FindP3PPolicySymbol ( pszsymbol : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn FindP3PPolicySymbol ( pszsymbol : :: windows::core::PCSTR ) -> i32 ); FindP3PPolicySymbol(pszsymbol.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -518,7 +518,7 @@ pub unsafe fn FreeUrlCacheSpaceA(lpszcachepath: P0, dwsize: u32, dwfilter: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FreeUrlCacheSpaceA ( lpszcachepath : :: windows::core::PCSTR , dwsize : u32 , dwfilter : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FreeUrlCacheSpaceA ( lpszcachepath : :: windows::core::PCSTR , dwsize : u32 , dwfilter : u32 ) -> super::super::Foundation:: BOOL ); FreeUrlCacheSpaceA(lpszcachepath.into().abi(), dwsize, dwfilter) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -528,7 +528,7 @@ pub unsafe fn FreeUrlCacheSpaceW(lpszcachepath: P0, dwsize: u32, dwfilter: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FreeUrlCacheSpaceW ( lpszcachepath : :: windows::core::PCWSTR , dwsize : u32 , dwfilter : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FreeUrlCacheSpaceW ( lpszcachepath : :: windows::core::PCWSTR , dwsize : u32 , dwfilter : u32 ) -> super::super::Foundation:: BOOL ); FreeUrlCacheSpaceW(lpszcachepath.into().abi(), dwsize, dwfilter) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -539,7 +539,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpCommandA ( hconnect : *const ::core::ffi::c_void , fexpectresponse : super::super::Foundation:: BOOL , dwflags : FTP_FLAGS , lpszcommand : :: windows::core::PCSTR , dwcontext : usize , phftpcommand : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpCommandA ( hconnect : *const ::core::ffi::c_void , fexpectresponse : super::super::Foundation:: BOOL , dwflags : FTP_FLAGS , lpszcommand : :: windows::core::PCSTR , dwcontext : usize , phftpcommand : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FtpCommandA(hconnect, fexpectresponse.into(), dwflags, lpszcommand.into().abi(), dwcontext, ::core::mem::transmute(phftpcommand.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -550,7 +550,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpCommandW ( hconnect : *const ::core::ffi::c_void , fexpectresponse : super::super::Foundation:: BOOL , dwflags : FTP_FLAGS , lpszcommand : :: windows::core::PCWSTR , dwcontext : usize , phftpcommand : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpCommandW ( hconnect : *const ::core::ffi::c_void , fexpectresponse : super::super::Foundation:: BOOL , dwflags : FTP_FLAGS , lpszcommand : :: windows::core::PCWSTR , dwcontext : usize , phftpcommand : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FtpCommandW(hconnect, fexpectresponse.into(), dwflags, lpszcommand.into().abi(), dwcontext, ::core::mem::transmute(phftpcommand.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -560,7 +560,7 @@ pub unsafe fn FtpCreateDirectoryA(hconnect: *const ::core::ffi::c_void, lpsz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpCreateDirectoryA ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpCreateDirectoryA ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); FtpCreateDirectoryA(hconnect, lpszdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -570,7 +570,7 @@ pub unsafe fn FtpCreateDirectoryW(hconnect: *const ::core::ffi::c_void, lpsz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpCreateDirectoryW ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpCreateDirectoryW ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FtpCreateDirectoryW(hconnect, lpszdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -580,7 +580,7 @@ pub unsafe fn FtpDeleteFileA(hconnect: *const ::core::ffi::c_void, lpszfilen where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpDeleteFileA ( hconnect : *const ::core::ffi::c_void , lpszfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpDeleteFileA ( hconnect : *const ::core::ffi::c_void , lpszfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); FtpDeleteFileA(hconnect, lpszfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -590,7 +590,7 @@ pub unsafe fn FtpDeleteFileW(hconnect: *const ::core::ffi::c_void, lpszfilen where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpDeleteFileW ( hconnect : *const ::core::ffi::c_void , lpszfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpDeleteFileW ( hconnect : *const ::core::ffi::c_void , lpszfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FtpDeleteFileW(hconnect, lpszfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] @@ -600,7 +600,7 @@ pub unsafe fn FtpFindFirstFileA(hconnect: *const ::core::ffi::c_void, lpszse where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpFindFirstFileA ( hconnect : *const ::core::ffi::c_void , lpszsearchfile : :: windows::core::PCSTR , lpfindfiledata : *mut super::super::Storage::FileSystem:: WIN32_FIND_DATAA , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpFindFirstFileA ( hconnect : *const ::core::ffi::c_void , lpszsearchfile : :: windows::core::PCSTR , lpfindfiledata : *mut super::super::Storage::FileSystem:: WIN32_FIND_DATAA , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); FtpFindFirstFileA(hconnect, lpszsearchfile.into().abi(), ::core::mem::transmute(lpfindfiledata.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] @@ -610,21 +610,21 @@ pub unsafe fn FtpFindFirstFileW(hconnect: *const ::core::ffi::c_void, lpszse where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpFindFirstFileW ( hconnect : *const ::core::ffi::c_void , lpszsearchfile : :: windows::core::PCWSTR , lpfindfiledata : *mut super::super::Storage::FileSystem:: WIN32_FIND_DATAW , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpFindFirstFileW ( hconnect : *const ::core::ffi::c_void , lpszsearchfile : :: windows::core::PCWSTR , lpfindfiledata : *mut super::super::Storage::FileSystem:: WIN32_FIND_DATAW , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); FtpFindFirstFileW(hconnect, lpszsearchfile.into().abi(), ::core::mem::transmute(lpfindfiledata.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FtpGetCurrentDirectoryA(hconnect: *const ::core::ffi::c_void, lpszcurrentdirectory: ::windows::core::PSTR, lpdwcurrentdirectory: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn FtpGetCurrentDirectoryA ( hconnect : *const ::core::ffi::c_void , lpszcurrentdirectory : :: windows::core::PSTR , lpdwcurrentdirectory : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpGetCurrentDirectoryA ( hconnect : *const ::core::ffi::c_void , lpszcurrentdirectory : :: windows::core::PSTR , lpdwcurrentdirectory : *mut u32 ) -> super::super::Foundation:: BOOL ); FtpGetCurrentDirectoryA(hconnect, ::core::mem::transmute(lpszcurrentdirectory), lpdwcurrentdirectory) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FtpGetCurrentDirectoryW(hconnect: *const ::core::ffi::c_void, lpszcurrentdirectory: ::windows::core::PWSTR, lpdwcurrentdirectory: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn FtpGetCurrentDirectoryW ( hconnect : *const ::core::ffi::c_void , lpszcurrentdirectory : :: windows::core::PWSTR , lpdwcurrentdirectory : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpGetCurrentDirectoryW ( hconnect : *const ::core::ffi::c_void , lpszcurrentdirectory : :: windows::core::PWSTR , lpdwcurrentdirectory : *mut u32 ) -> super::super::Foundation:: BOOL ); FtpGetCurrentDirectoryW(hconnect, ::core::mem::transmute(lpszcurrentdirectory), lpdwcurrentdirectory) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -636,7 +636,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpGetFileA ( hconnect : *const ::core::ffi::c_void , lpszremotefile : :: windows::core::PCSTR , lpsznewfile : :: windows::core::PCSTR , ffailifexists : super::super::Foundation:: BOOL , dwflagsandattributes : u32 , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpGetFileA ( hconnect : *const ::core::ffi::c_void , lpszremotefile : :: windows::core::PCSTR , lpsznewfile : :: windows::core::PCSTR , ffailifexists : super::super::Foundation:: BOOL , dwflagsandattributes : u32 , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); FtpGetFileA(hconnect, lpszremotefile.into().abi(), lpsznewfile.into().abi(), ffailifexists.into(), dwflagsandattributes, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -648,13 +648,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpGetFileEx ( hftpsession : *const ::core::ffi::c_void , lpszremotefile : :: windows::core::PCSTR , lpsznewfile : :: windows::core::PCWSTR , ffailifexists : super::super::Foundation:: BOOL , dwflagsandattributes : u32 , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpGetFileEx ( hftpsession : *const ::core::ffi::c_void , lpszremotefile : :: windows::core::PCSTR , lpsznewfile : :: windows::core::PCWSTR , ffailifexists : super::super::Foundation:: BOOL , dwflagsandattributes : u32 , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); FtpGetFileEx(hftpsession, lpszremotefile.into().abi(), lpsznewfile.into().abi(), ffailifexists.into(), dwflagsandattributes, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn FtpGetFileSize(hfile: *const ::core::ffi::c_void, lpdwfilesizehigh: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn FtpGetFileSize ( hfile : *const ::core::ffi::c_void , lpdwfilesizehigh : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpGetFileSize ( hfile : *const ::core::ffi::c_void , lpdwfilesizehigh : *mut u32 ) -> u32 ); FtpGetFileSize(hfile, ::core::mem::transmute(lpdwfilesizehigh.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -666,7 +666,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpGetFileW ( hconnect : *const ::core::ffi::c_void , lpszremotefile : :: windows::core::PCWSTR , lpsznewfile : :: windows::core::PCWSTR , ffailifexists : super::super::Foundation:: BOOL , dwflagsandattributes : u32 , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpGetFileW ( hconnect : *const ::core::ffi::c_void , lpszremotefile : :: windows::core::PCWSTR , lpsznewfile : :: windows::core::PCWSTR , ffailifexists : super::super::Foundation:: BOOL , dwflagsandattributes : u32 , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); FtpGetFileW(hconnect, lpszremotefile.into().abi(), lpsznewfile.into().abi(), ffailifexists.into(), dwflagsandattributes, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -675,7 +675,7 @@ pub unsafe fn FtpOpenFileA(hconnect: *const ::core::ffi::c_void, lpszfilenam where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpOpenFileA ( hconnect : *const ::core::ffi::c_void , lpszfilename : :: windows::core::PCSTR , dwaccess : u32 , dwflags : FTP_FLAGS , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpOpenFileA ( hconnect : *const ::core::ffi::c_void , lpszfilename : :: windows::core::PCSTR , dwaccess : u32 , dwflags : FTP_FLAGS , dwcontext : usize ) -> *mut ::core::ffi::c_void ); FtpOpenFileA(hconnect, lpszfilename.into().abi(), dwaccess, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -684,7 +684,7 @@ pub unsafe fn FtpOpenFileW(hconnect: *const ::core::ffi::c_void, lpszfilenam where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpOpenFileW ( hconnect : *const ::core::ffi::c_void , lpszfilename : :: windows::core::PCWSTR , dwaccess : u32 , dwflags : FTP_FLAGS , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpOpenFileW ( hconnect : *const ::core::ffi::c_void , lpszfilename : :: windows::core::PCWSTR , dwaccess : u32 , dwflags : FTP_FLAGS , dwcontext : usize ) -> *mut ::core::ffi::c_void ); FtpOpenFileW(hconnect, lpszfilename.into().abi(), dwaccess, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -695,7 +695,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpPutFileA ( hconnect : *const ::core::ffi::c_void , lpszlocalfile : :: windows::core::PCSTR , lpsznewremotefile : :: windows::core::PCSTR , dwflags : FTP_FLAGS , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpPutFileA ( hconnect : *const ::core::ffi::c_void , lpszlocalfile : :: windows::core::PCSTR , lpsznewremotefile : :: windows::core::PCSTR , dwflags : FTP_FLAGS , dwcontext : usize ) -> super::super::Foundation:: BOOL ); FtpPutFileA(hconnect, lpszlocalfile.into().abi(), lpsznewremotefile.into().abi(), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -706,7 +706,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpPutFileEx ( hftpsession : *const ::core::ffi::c_void , lpszlocalfile : :: windows::core::PCWSTR , lpsznewremotefile : :: windows::core::PCSTR , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpPutFileEx ( hftpsession : *const ::core::ffi::c_void , lpszlocalfile : :: windows::core::PCWSTR , lpsznewremotefile : :: windows::core::PCSTR , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); FtpPutFileEx(hftpsession, lpszlocalfile.into().abi(), lpsznewremotefile.into().abi(), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -717,7 +717,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpPutFileW ( hconnect : *const ::core::ffi::c_void , lpszlocalfile : :: windows::core::PCWSTR , lpsznewremotefile : :: windows::core::PCWSTR , dwflags : FTP_FLAGS , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpPutFileW ( hconnect : *const ::core::ffi::c_void , lpszlocalfile : :: windows::core::PCWSTR , lpsznewremotefile : :: windows::core::PCWSTR , dwflags : FTP_FLAGS , dwcontext : usize ) -> super::super::Foundation:: BOOL ); FtpPutFileW(hconnect, lpszlocalfile.into().abi(), lpsznewremotefile.into().abi(), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -727,7 +727,7 @@ pub unsafe fn FtpRemoveDirectoryA(hconnect: *const ::core::ffi::c_void, lpsz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpRemoveDirectoryA ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpRemoveDirectoryA ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); FtpRemoveDirectoryA(hconnect, lpszdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -737,7 +737,7 @@ pub unsafe fn FtpRemoveDirectoryW(hconnect: *const ::core::ffi::c_void, lpsz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpRemoveDirectoryW ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpRemoveDirectoryW ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FtpRemoveDirectoryW(hconnect, lpszdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -748,7 +748,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpRenameFileA ( hconnect : *const ::core::ffi::c_void , lpszexisting : :: windows::core::PCSTR , lpsznew : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpRenameFileA ( hconnect : *const ::core::ffi::c_void , lpszexisting : :: windows::core::PCSTR , lpsznew : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); FtpRenameFileA(hconnect, lpszexisting.into().abi(), lpsznew.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -759,7 +759,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpRenameFileW ( hconnect : *const ::core::ffi::c_void , lpszexisting : :: windows::core::PCWSTR , lpsznew : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpRenameFileW ( hconnect : *const ::core::ffi::c_void , lpszexisting : :: windows::core::PCWSTR , lpsznew : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FtpRenameFileW(hconnect, lpszexisting.into().abi(), lpsznew.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -769,7 +769,7 @@ pub unsafe fn FtpSetCurrentDirectoryA(hconnect: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpSetCurrentDirectoryA ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpSetCurrentDirectoryA ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); FtpSetCurrentDirectoryA(hconnect, lpszdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -779,7 +779,7 @@ pub unsafe fn FtpSetCurrentDirectoryW(hconnect: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn FtpSetCurrentDirectoryW ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn FtpSetCurrentDirectoryW ( hconnect : *const ::core::ffi::c_void , lpszdirectory : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FtpSetCurrentDirectoryW(hconnect, lpszdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -789,21 +789,21 @@ pub unsafe fn GetDiskInfoA(pszpath: P0, pdwclustersize: ::core::option::Opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GetDiskInfoA ( pszpath : :: windows::core::PCSTR , pdwclustersize : *mut u32 , pdlavail : *mut u64 , pdltotal : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetDiskInfoA ( pszpath : :: windows::core::PCSTR , pdwclustersize : *mut u32 , pdlavail : *mut u64 , pdltotal : *mut u64 ) -> super::super::Foundation:: BOOL ); GetDiskInfoA(pszpath.into().abi(), ::core::mem::transmute(pdwclustersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdlavail.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdltotal.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUrlCacheConfigInfoA(lpcacheconfiginfo: *mut INTERNET_CACHE_CONFIG_INFOA, lpcbcacheconfiginfo: ::core::option::Option<*const u32>, dwfieldcontrol: CACHE_CONFIG) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheConfigInfoA ( lpcacheconfiginfo : *mut INTERNET_CACHE_CONFIG_INFOA , lpcbcacheconfiginfo : *const u32 , dwfieldcontrol : CACHE_CONFIG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheConfigInfoA ( lpcacheconfiginfo : *mut INTERNET_CACHE_CONFIG_INFOA , lpcbcacheconfiginfo : *const u32 , dwfieldcontrol : CACHE_CONFIG ) -> super::super::Foundation:: BOOL ); GetUrlCacheConfigInfoA(lpcacheconfiginfo, ::core::mem::transmute(lpcbcacheconfiginfo.unwrap_or(::std::ptr::null())), dwfieldcontrol) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUrlCacheConfigInfoW(lpcacheconfiginfo: *mut INTERNET_CACHE_CONFIG_INFOW, lpcbcacheconfiginfo: ::core::option::Option<*const u32>, dwfieldcontrol: CACHE_CONFIG) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheConfigInfoW ( lpcacheconfiginfo : *mut INTERNET_CACHE_CONFIG_INFOW , lpcbcacheconfiginfo : *const u32 , dwfieldcontrol : CACHE_CONFIG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheConfigInfoW ( lpcacheconfiginfo : *mut INTERNET_CACHE_CONFIG_INFOW , lpcbcacheconfiginfo : *const u32 , dwfieldcontrol : CACHE_CONFIG ) -> super::super::Foundation:: BOOL ); GetUrlCacheConfigInfoW(lpcacheconfiginfo, ::core::mem::transmute(lpcbcacheconfiginfo.unwrap_or(::std::ptr::null())), dwfieldcontrol) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -813,7 +813,7 @@ pub unsafe fn GetUrlCacheEntryBinaryBlob(pwszurlname: P0, dwtype: *mut u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheEntryBinaryBlob ( pwszurlname : :: windows::core::PCWSTR , dwtype : *mut u32 , pftexpiretime : *mut super::super::Foundation:: FILETIME , pftaccesstime : *mut super::super::Foundation:: FILETIME , pftmodifiedtime : *mut super::super::Foundation:: FILETIME , ppbblob : *mut *mut u8 , pcbblob : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheEntryBinaryBlob ( pwszurlname : :: windows::core::PCWSTR , dwtype : *mut u32 , pftexpiretime : *mut super::super::Foundation:: FILETIME , pftaccesstime : *mut super::super::Foundation:: FILETIME , pftmodifiedtime : *mut super::super::Foundation:: FILETIME , ppbblob : *mut *mut u8 , pcbblob : *mut u32 ) -> u32 ); GetUrlCacheEntryBinaryBlob(pwszurlname.into().abi(), dwtype, pftexpiretime, pftaccesstime, pftmodifiedtime, ppbblob, pcbblob) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -823,7 +823,7 @@ pub unsafe fn GetUrlCacheEntryInfoA(lpszurlname: P0, lpcacheentryinfo: ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheEntryInfoA ( lpszurlname : :: windows::core::PCSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheEntryInfoA ( lpszurlname : :: windows::core::PCSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUrlCacheEntryInfoA(lpszurlname.into().abi(), ::core::mem::transmute(lpcacheentryinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbcacheentryinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -834,7 +834,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheEntryInfoExA ( lpszurl : :: windows::core::PCSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , lpszredirecturl : :: windows::core::PCSTR , lpcbredirecturl : *const u32 , lpreserved : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheEntryInfoExA ( lpszurl : :: windows::core::PCSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , lpszredirecturl : :: windows::core::PCSTR , lpcbredirecturl : *const u32 , lpreserved : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); GetUrlCacheEntryInfoExA(lpszurl.into().abi(), ::core::mem::transmute(lpcacheentryinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpszredirecturl.into().abi(), ::core::mem::transmute(lpcbredirecturl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -845,7 +845,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheEntryInfoExW ( lpszurl : :: windows::core::PCWSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , lpszredirecturl : :: windows::core::PCWSTR , lpcbredirecturl : *const u32 , lpreserved : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheEntryInfoExW ( lpszurl : :: windows::core::PCWSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , lpszredirecturl : :: windows::core::PCWSTR , lpcbredirecturl : *const u32 , lpreserved : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); GetUrlCacheEntryInfoExW(lpszurl.into().abi(), ::core::mem::transmute(lpcacheentryinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpszredirecturl.into().abi(), ::core::mem::transmute(lpcbredirecturl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -855,28 +855,28 @@ pub unsafe fn GetUrlCacheEntryInfoW(lpszurlname: P0, lpcacheentryinfo: ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheEntryInfoW ( lpszurlname : :: windows::core::PCWSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheEntryInfoW ( lpszurlname : :: windows::core::PCWSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUrlCacheEntryInfoW(lpszurlname.into().abi(), ::core::mem::transmute(lpcacheentryinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbcacheentryinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUrlCacheGroupAttributeA(gid: i64, dwflags: u32, dwattributes: u32, lpgroupinfo: *mut INTERNET_CACHE_GROUP_INFOA, lpcbgroupinfo: *mut u32, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheGroupAttributeA ( gid : i64 , dwflags : u32 , dwattributes : u32 , lpgroupinfo : *mut INTERNET_CACHE_GROUP_INFOA , lpcbgroupinfo : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheGroupAttributeA ( gid : i64 , dwflags : u32 , dwattributes : u32 , lpgroupinfo : *mut INTERNET_CACHE_GROUP_INFOA , lpcbgroupinfo : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetUrlCacheGroupAttributeA(gid, dwflags, dwattributes, lpgroupinfo, lpcbgroupinfo, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUrlCacheGroupAttributeW(gid: i64, dwflags: u32, dwattributes: u32, lpgroupinfo: *mut INTERNET_CACHE_GROUP_INFOW, lpcbgroupinfo: *mut u32, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheGroupAttributeW ( gid : i64 , dwflags : u32 , dwattributes : u32 , lpgroupinfo : *mut INTERNET_CACHE_GROUP_INFOW , lpcbgroupinfo : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheGroupAttributeW ( gid : i64 , dwflags : u32 , dwattributes : u32 , lpgroupinfo : *mut INTERNET_CACHE_GROUP_INFOW , lpcbgroupinfo : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetUrlCacheGroupAttributeW(gid, dwflags, dwattributes, lpgroupinfo, lpcbgroupinfo, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUrlCacheHeaderData(nidx: u32, lpdwdata: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn GetUrlCacheHeaderData ( nidx : u32 , lpdwdata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GetUrlCacheHeaderData ( nidx : u32 , lpdwdata : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUrlCacheHeaderData(nidx, lpdwdata) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -888,7 +888,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherCreateLocatorA ( lpszhost : :: windows::core::PCSTR , nserverport : u16 , lpszdisplaystring : :: windows::core::PCSTR , lpszselectorstring : :: windows::core::PCSTR , dwgophertype : u32 , lpszlocator : :: windows::core::PSTR , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherCreateLocatorA ( lpszhost : :: windows::core::PCSTR , nserverport : u16 , lpszdisplaystring : :: windows::core::PCSTR , lpszselectorstring : :: windows::core::PCSTR , dwgophertype : u32 , lpszlocator : :: windows::core::PSTR , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GopherCreateLocatorA(lpszhost.into().abi(), nserverport, lpszdisplaystring.into().abi(), lpszselectorstring.into().abi(), dwgophertype, ::core::mem::transmute(lpszlocator), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -900,7 +900,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherCreateLocatorW ( lpszhost : :: windows::core::PCWSTR , nserverport : u16 , lpszdisplaystring : :: windows::core::PCWSTR , lpszselectorstring : :: windows::core::PCWSTR , dwgophertype : u32 , lpszlocator : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherCreateLocatorW ( lpszhost : :: windows::core::PCWSTR , nserverport : u16 , lpszdisplaystring : :: windows::core::PCWSTR , lpszselectorstring : :: windows::core::PCWSTR , dwgophertype : u32 , lpszlocator : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GopherCreateLocatorW(lpszhost.into().abi(), nserverport, lpszdisplaystring.into().abi(), lpszselectorstring.into().abi(), dwgophertype, ::core::mem::transmute(lpszlocator), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -911,7 +911,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherFindFirstFileA ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCSTR , lpszsearchstring : :: windows::core::PCSTR , lpfinddata : *mut GOPHER_FIND_DATAA , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherFindFirstFileA ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCSTR , lpszsearchstring : :: windows::core::PCSTR , lpfinddata : *mut GOPHER_FIND_DATAA , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); GopherFindFirstFileA(hconnect, lpszlocator.into().abi(), lpszsearchstring.into().abi(), ::core::mem::transmute(lpfinddata.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -922,7 +922,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherFindFirstFileW ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCWSTR , lpszsearchstring : :: windows::core::PCWSTR , lpfinddata : *mut GOPHER_FIND_DATAW , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherFindFirstFileW ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCWSTR , lpszsearchstring : :: windows::core::PCWSTR , lpfinddata : *mut GOPHER_FIND_DATAW , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); GopherFindFirstFileW(hconnect, lpszlocator.into().abi(), lpszsearchstring.into().abi(), ::core::mem::transmute(lpfinddata.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -933,7 +933,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherGetAttributeA ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCSTR , lpszattributename : :: windows::core::PCSTR , lpbuffer : *mut u8 , dwbufferlength : u32 , lpdwcharactersreturned : *mut u32 , lpfnenumerator : GOPHER_ATTRIBUTE_ENUMERATOR , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherGetAttributeA ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCSTR , lpszattributename : :: windows::core::PCSTR , lpbuffer : *mut u8 , dwbufferlength : u32 , lpdwcharactersreturned : *mut u32 , lpfnenumerator : GOPHER_ATTRIBUTE_ENUMERATOR , dwcontext : usize ) -> super::super::Foundation:: BOOL ); GopherGetAttributeA(hconnect, lpszlocator.into().abi(), lpszattributename.into().abi(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpdwcharactersreturned, lpfnenumerator, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -944,7 +944,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherGetAttributeW ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCWSTR , lpszattributename : :: windows::core::PCWSTR , lpbuffer : *mut u8 , dwbufferlength : u32 , lpdwcharactersreturned : *mut u32 , lpfnenumerator : GOPHER_ATTRIBUTE_ENUMERATOR , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherGetAttributeW ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCWSTR , lpszattributename : :: windows::core::PCWSTR , lpbuffer : *mut u8 , dwbufferlength : u32 , lpdwcharactersreturned : *mut u32 , lpfnenumerator : GOPHER_ATTRIBUTE_ENUMERATOR , dwcontext : usize ) -> super::super::Foundation:: BOOL ); GopherGetAttributeW(hconnect, lpszlocator.into().abi(), lpszattributename.into().abi(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpdwcharactersreturned, lpfnenumerator, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -954,7 +954,7 @@ pub unsafe fn GopherGetLocatorTypeA(lpszlocator: P0, lpdwgophertype: *mut u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherGetLocatorTypeA ( lpszlocator : :: windows::core::PCSTR , lpdwgophertype : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherGetLocatorTypeA ( lpszlocator : :: windows::core::PCSTR , lpdwgophertype : *mut u32 ) -> super::super::Foundation:: BOOL ); GopherGetLocatorTypeA(lpszlocator.into().abi(), lpdwgophertype) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -964,7 +964,7 @@ pub unsafe fn GopherGetLocatorTypeW(lpszlocator: P0, lpdwgophertype: *mut u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherGetLocatorTypeW ( lpszlocator : :: windows::core::PCWSTR , lpdwgophertype : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherGetLocatorTypeW ( lpszlocator : :: windows::core::PCWSTR , lpdwgophertype : *mut u32 ) -> super::super::Foundation:: BOOL ); GopherGetLocatorTypeW(lpszlocator.into().abi(), lpdwgophertype) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -974,7 +974,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherOpenFileA ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCSTR , lpszview : :: windows::core::PCSTR , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherOpenFileA ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCSTR , lpszview : :: windows::core::PCSTR , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); GopherOpenFileA(hconnect, lpszlocator.into().abi(), lpszview.into().abi(), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -984,21 +984,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn GopherOpenFileW ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCWSTR , lpszview : :: windows::core::PCWSTR , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn GopherOpenFileW ( hconnect : *const ::core::ffi::c_void , lpszlocator : :: windows::core::PCWSTR , lpszview : :: windows::core::PCWSTR , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); GopherOpenFileW(hconnect, lpszlocator.into().abi(), lpszview.into().abi(), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpAddRequestHeadersA(hrequest: *const ::core::ffi::c_void, lpszheaders: &[u8], dwmodifiers: HTTP_ADDREQ_FLAG) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpAddRequestHeadersA ( hrequest : *const ::core::ffi::c_void , lpszheaders : :: windows::core::PCSTR , dwheaderslength : u32 , dwmodifiers : HTTP_ADDREQ_FLAG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpAddRequestHeadersA ( hrequest : *const ::core::ffi::c_void , lpszheaders : :: windows::core::PCSTR , dwheaderslength : u32 , dwmodifiers : HTTP_ADDREQ_FLAG ) -> super::super::Foundation:: BOOL ); HttpAddRequestHeadersA(hrequest, ::core::mem::transmute(lpszheaders.as_ptr()), lpszheaders.len() as _, dwmodifiers) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpAddRequestHeadersW(hrequest: *const ::core::ffi::c_void, lpszheaders: &[u16], dwmodifiers: HTTP_ADDREQ_FLAG) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpAddRequestHeadersW ( hrequest : *const ::core::ffi::c_void , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , dwmodifiers : HTTP_ADDREQ_FLAG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpAddRequestHeadersW ( hrequest : *const ::core::ffi::c_void , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , dwmodifiers : HTTP_ADDREQ_FLAG ) -> super::super::Foundation:: BOOL ); HttpAddRequestHeadersW(hrequest, ::core::mem::transmute(lpszheaders.as_ptr()), lpszheaders.len() as _, dwmodifiers) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1010,7 +1010,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpCheckDavComplianceA ( lpszurl : :: windows::core::PCSTR , lpszcompliancetoken : :: windows::core::PCSTR , lpffound : *mut i32 , hwnd : super::super::Foundation:: HWND , lpvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpCheckDavComplianceA ( lpszurl : :: windows::core::PCSTR , lpszcompliancetoken : :: windows::core::PCSTR , lpffound : *mut i32 , hwnd : super::super::Foundation:: HWND , lpvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); HttpCheckDavComplianceA(lpszurl.into().abi(), lpszcompliancetoken.into().abi(), lpffound, hwnd.into(), lpvreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1022,33 +1022,33 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpCheckDavComplianceW ( lpszurl : :: windows::core::PCWSTR , lpszcompliancetoken : :: windows::core::PCWSTR , lpffound : *mut i32 , hwnd : super::super::Foundation:: HWND , lpvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpCheckDavComplianceW ( lpszurl : :: windows::core::PCWSTR , lpszcompliancetoken : :: windows::core::PCWSTR , lpffound : *mut i32 , hwnd : super::super::Foundation:: HWND , lpvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); HttpCheckDavComplianceW(lpszurl.into().abi(), lpszcompliancetoken.into().abi(), lpffound, hwnd.into(), lpvreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn HttpCloseDependencyHandle(hdependencyhandle: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "wininet.dll""system" fn HttpCloseDependencyHandle ( hdependencyhandle : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpCloseDependencyHandle ( hdependencyhandle : *const ::core::ffi::c_void ) -> ( ) ); HttpCloseDependencyHandle(hdependencyhandle) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn HttpDuplicateDependencyHandle(hdependencyhandle: *const ::core::ffi::c_void, phduplicateddependencyhandle: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn HttpDuplicateDependencyHandle ( hdependencyhandle : *const ::core::ffi::c_void , phduplicateddependencyhandle : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpDuplicateDependencyHandle ( hdependencyhandle : *const ::core::ffi::c_void , phduplicateddependencyhandle : *mut *mut ::core::ffi::c_void ) -> u32 ); HttpDuplicateDependencyHandle(hdependencyhandle, phduplicateddependencyhandle) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpEndRequestA(hrequest: *const ::core::ffi::c_void, lpbuffersout: ::core::option::Option<*mut INTERNET_BUFFERSA>, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpEndRequestA ( hrequest : *const ::core::ffi::c_void , lpbuffersout : *mut INTERNET_BUFFERSA , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpEndRequestA ( hrequest : *const ::core::ffi::c_void , lpbuffersout : *mut INTERNET_BUFFERSA , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); HttpEndRequestA(hrequest, ::core::mem::transmute(lpbuffersout.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpEndRequestW(hrequest: *const ::core::ffi::c_void, lpbuffersout: ::core::option::Option<*mut INTERNET_BUFFERSW>, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpEndRequestW ( hrequest : *const ::core::ffi::c_void , lpbuffersout : *mut INTERNET_BUFFERSW , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpEndRequestW ( hrequest : *const ::core::ffi::c_void , lpbuffersout : *mut INTERNET_BUFFERSW , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); HttpEndRequestW(hrequest, ::core::mem::transmute(lpbuffersout.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1057,13 +1057,13 @@ pub unsafe fn HttpGetServerCredentials(pwszurl: P0, ppwszusername: *mut ::wi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpGetServerCredentials ( pwszurl : :: windows::core::PCWSTR , ppwszusername : *mut :: windows::core::PWSTR , ppwszpassword : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpGetServerCredentials ( pwszurl : :: windows::core::PCWSTR , ppwszusername : *mut :: windows::core::PWSTR , ppwszpassword : *mut :: windows::core::PWSTR ) -> u32 ); HttpGetServerCredentials(pwszurl.into().abi(), ppwszusername, ppwszpassword) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn HttpIndicatePageLoadComplete(hdependencyhandle: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn HttpIndicatePageLoadComplete ( hdependencyhandle : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpIndicatePageLoadComplete ( hdependencyhandle : *const ::core::ffi::c_void ) -> u32 ); HttpIndicatePageLoadComplete(hdependencyhandle) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1073,7 +1073,7 @@ pub unsafe fn HttpIsHostHstsEnabled(pcwszurl: P0, pfishsts: *mut super::supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpIsHostHstsEnabled ( pcwszurl : :: windows::core::PCWSTR , pfishsts : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpIsHostHstsEnabled ( pcwszurl : :: windows::core::PCWSTR , pfishsts : *mut super::super::Foundation:: BOOL ) -> u32 ); HttpIsHostHstsEnabled(pcwszurl.into().abi(), pfishsts) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1083,7 +1083,7 @@ pub unsafe fn HttpOpenDependencyHandle(hrequesthandle: *const ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpOpenDependencyHandle ( hrequesthandle : *const ::core::ffi::c_void , fbackground : super::super::Foundation:: BOOL , phdependencyhandle : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpOpenDependencyHandle ( hrequesthandle : *const ::core::ffi::c_void , fbackground : super::super::Foundation:: BOOL , phdependencyhandle : *mut *mut ::core::ffi::c_void ) -> u32 ); HttpOpenDependencyHandle(hrequesthandle, fbackground.into(), phdependencyhandle) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1095,7 +1095,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpOpenRequestA ( hconnect : *const ::core::ffi::c_void , lpszverb : :: windows::core::PCSTR , lpszobjectname : :: windows::core::PCSTR , lpszversion : :: windows::core::PCSTR , lpszreferrer : :: windows::core::PCSTR , lplpszaccepttypes : *const :: windows::core::PCSTR , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpOpenRequestA ( hconnect : *const ::core::ffi::c_void , lpszverb : :: windows::core::PCSTR , lpszobjectname : :: windows::core::PCSTR , lpszversion : :: windows::core::PCSTR , lpszreferrer : :: windows::core::PCSTR , lplpszaccepttypes : *const :: windows::core::PCSTR , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); HttpOpenRequestA(hconnect, lpszverb.into().abi(), lpszobjectname.into().abi(), lpszversion.into().abi(), lpszreferrer.into().abi(), ::core::mem::transmute(lplpszaccepttypes.unwrap_or(::std::ptr::null())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1107,7 +1107,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpOpenRequestW ( hconnect : *const ::core::ffi::c_void , lpszverb : :: windows::core::PCWSTR , lpszobjectname : :: windows::core::PCWSTR , lpszversion : :: windows::core::PCWSTR , lpszreferrer : :: windows::core::PCWSTR , lplpszaccepttypes : *const :: windows::core::PCWSTR , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpOpenRequestW ( hconnect : *const ::core::ffi::c_void , lpszverb : :: windows::core::PCWSTR , lpszobjectname : :: windows::core::PCWSTR , lpszversion : :: windows::core::PCWSTR , lpszreferrer : :: windows::core::PCWSTR , lplpszaccepttypes : *const :: windows::core::PCWSTR , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); HttpOpenRequestW(hconnect, lpszverb.into().abi(), lpszobjectname.into().abi(), lpszversion.into().abi(), lpszreferrer.into().abi(), ::core::mem::transmute(lplpszaccepttypes.unwrap_or(::std::ptr::null())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1116,13 +1116,13 @@ pub unsafe fn HttpPushClose(hwait: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpPushClose ( hwait : HTTP_PUSH_WAIT_HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpPushClose ( hwait : HTTP_PUSH_WAIT_HANDLE ) -> ( ) ); HttpPushClose(hwait.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn HttpPushEnable(hrequest: *const ::core::ffi::c_void, ptransportsetting: *const HTTP_PUSH_TRANSPORT_SETTING, phwait: *mut HTTP_PUSH_WAIT_HANDLE) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn HttpPushEnable ( hrequest : *const ::core::ffi::c_void , ptransportsetting : *const HTTP_PUSH_TRANSPORT_SETTING , phwait : *mut HTTP_PUSH_WAIT_HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpPushEnable ( hrequest : *const ::core::ffi::c_void , ptransportsetting : *const HTTP_PUSH_TRANSPORT_SETTING , phwait : *mut HTTP_PUSH_WAIT_HANDLE ) -> u32 ); HttpPushEnable(hrequest, ptransportsetting, phwait) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1132,90 +1132,90 @@ pub unsafe fn HttpPushWait(hwait: P0, etype: HTTP_PUSH_WAIT_TYPE, pnotificat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn HttpPushWait ( hwait : HTTP_PUSH_WAIT_HANDLE , etype : HTTP_PUSH_WAIT_TYPE , pnotificationstatus : *mut HTTP_PUSH_NOTIFICATION_STATUS ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpPushWait ( hwait : HTTP_PUSH_WAIT_HANDLE , etype : HTTP_PUSH_WAIT_TYPE , pnotificationstatus : *mut HTTP_PUSH_NOTIFICATION_STATUS ) -> u32 ); HttpPushWait(hwait.into(), etype, ::core::mem::transmute(pnotificationstatus.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpQueryInfoA(hrequest: *const ::core::ffi::c_void, dwinfolevel: u32, lpbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, lpdwbufferlength: *mut u32, lpdwindex: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpQueryInfoA ( hrequest : *const ::core::ffi::c_void , dwinfolevel : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpdwindex : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpQueryInfoA ( hrequest : *const ::core::ffi::c_void , dwinfolevel : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpdwindex : *mut u32 ) -> super::super::Foundation:: BOOL ); HttpQueryInfoA(hrequest, dwinfolevel, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength, ::core::mem::transmute(lpdwindex.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpQueryInfoW(hrequest: *const ::core::ffi::c_void, dwinfolevel: u32, lpbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, lpdwbufferlength: *mut u32, lpdwindex: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpQueryInfoW ( hrequest : *const ::core::ffi::c_void , dwinfolevel : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpdwindex : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpQueryInfoW ( hrequest : *const ::core::ffi::c_void , dwinfolevel : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpdwindex : *mut u32 ) -> super::super::Foundation:: BOOL ); HttpQueryInfoW(hrequest, dwinfolevel, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength, ::core::mem::transmute(lpdwindex.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpSendRequestA(hrequest: *const ::core::ffi::c_void, lpszheaders: ::core::option::Option<&[u8]>, lpoptional: ::core::option::Option<*const ::core::ffi::c_void>, dwoptionallength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpSendRequestA ( hrequest : *const ::core::ffi::c_void , lpszheaders : :: windows::core::PCSTR , dwheaderslength : u32 , lpoptional : *const ::core::ffi::c_void , dwoptionallength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpSendRequestA ( hrequest : *const ::core::ffi::c_void , lpszheaders : :: windows::core::PCSTR , dwheaderslength : u32 , lpoptional : *const ::core::ffi::c_void , dwoptionallength : u32 ) -> super::super::Foundation:: BOOL ); HttpSendRequestA(hrequest, ::core::mem::transmute(lpszheaders.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszheaders.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpoptional.unwrap_or(::std::ptr::null())), dwoptionallength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpSendRequestExA(hrequest: *const ::core::ffi::c_void, lpbuffersin: ::core::option::Option<*const INTERNET_BUFFERSA>, lpbuffersout: ::core::option::Option<*mut INTERNET_BUFFERSA>, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpSendRequestExA ( hrequest : *const ::core::ffi::c_void , lpbuffersin : *const INTERNET_BUFFERSA , lpbuffersout : *mut INTERNET_BUFFERSA , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpSendRequestExA ( hrequest : *const ::core::ffi::c_void , lpbuffersin : *const INTERNET_BUFFERSA , lpbuffersout : *mut INTERNET_BUFFERSA , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); HttpSendRequestExA(hrequest, ::core::mem::transmute(lpbuffersin.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpbuffersout.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpSendRequestExW(hrequest: *const ::core::ffi::c_void, lpbuffersin: ::core::option::Option<*const INTERNET_BUFFERSW>, lpbuffersout: ::core::option::Option<*mut INTERNET_BUFFERSW>, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpSendRequestExW ( hrequest : *const ::core::ffi::c_void , lpbuffersin : *const INTERNET_BUFFERSW , lpbuffersout : *mut INTERNET_BUFFERSW , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpSendRequestExW ( hrequest : *const ::core::ffi::c_void , lpbuffersin : *const INTERNET_BUFFERSW , lpbuffersout : *mut INTERNET_BUFFERSW , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); HttpSendRequestExW(hrequest, ::core::mem::transmute(lpbuffersin.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpbuffersout.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpSendRequestW(hrequest: *const ::core::ffi::c_void, lpszheaders: ::core::option::Option<&[u16]>, lpoptional: ::core::option::Option<*const ::core::ffi::c_void>, dwoptionallength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpSendRequestW ( hrequest : *const ::core::ffi::c_void , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , lpoptional : *const ::core::ffi::c_void , dwoptionallength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpSendRequestW ( hrequest : *const ::core::ffi::c_void , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , lpoptional : *const ::core::ffi::c_void , dwoptionallength : u32 ) -> super::super::Foundation:: BOOL ); HttpSendRequestW(hrequest, ::core::mem::transmute(lpszheaders.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszheaders.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpoptional.unwrap_or(::std::ptr::null())), dwoptionallength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpWebSocketClose(hwebsocket: *const ::core::ffi::c_void, usstatus: u16, pvreason: ::core::option::Option<*const ::core::ffi::c_void>, dwreasonlength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpWebSocketClose ( hwebsocket : *const ::core::ffi::c_void , usstatus : u16 , pvreason : *const ::core::ffi::c_void , dwreasonlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpWebSocketClose ( hwebsocket : *const ::core::ffi::c_void , usstatus : u16 , pvreason : *const ::core::ffi::c_void , dwreasonlength : u32 ) -> super::super::Foundation:: BOOL ); HttpWebSocketClose(hwebsocket, usstatus, ::core::mem::transmute(pvreason.unwrap_or(::std::ptr::null())), dwreasonlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn HttpWebSocketCompleteUpgrade(hrequest: *const ::core::ffi::c_void, dwcontext: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "wininet.dll""system" fn HttpWebSocketCompleteUpgrade ( hrequest : *const ::core::ffi::c_void , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpWebSocketCompleteUpgrade ( hrequest : *const ::core::ffi::c_void , dwcontext : usize ) -> *mut ::core::ffi::c_void ); HttpWebSocketCompleteUpgrade(hrequest, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpWebSocketQueryCloseStatus(hwebsocket: *const ::core::ffi::c_void, pusstatus: *mut u16, pvreason: ::core::option::Option<*mut ::core::ffi::c_void>, dwreasonlength: u32, pdwreasonlengthconsumed: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpWebSocketQueryCloseStatus ( hwebsocket : *const ::core::ffi::c_void , pusstatus : *mut u16 , pvreason : *mut ::core::ffi::c_void , dwreasonlength : u32 , pdwreasonlengthconsumed : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpWebSocketQueryCloseStatus ( hwebsocket : *const ::core::ffi::c_void , pusstatus : *mut u16 , pvreason : *mut ::core::ffi::c_void , dwreasonlength : u32 , pdwreasonlengthconsumed : *mut u32 ) -> super::super::Foundation:: BOOL ); HttpWebSocketQueryCloseStatus(hwebsocket, pusstatus, ::core::mem::transmute(pvreason.unwrap_or(::std::ptr::null_mut())), dwreasonlength, pdwreasonlengthconsumed) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpWebSocketReceive(hwebsocket: *const ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, dwbufferlength: u32, pdwbytesread: *mut u32, pbuffertype: *mut HTTP_WEB_SOCKET_BUFFER_TYPE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpWebSocketReceive ( hwebsocket : *const ::core::ffi::c_void , pvbuffer : *mut ::core::ffi::c_void , dwbufferlength : u32 , pdwbytesread : *mut u32 , pbuffertype : *mut HTTP_WEB_SOCKET_BUFFER_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpWebSocketReceive ( hwebsocket : *const ::core::ffi::c_void , pvbuffer : *mut ::core::ffi::c_void , dwbufferlength : u32 , pdwbytesread : *mut u32 , pbuffertype : *mut HTTP_WEB_SOCKET_BUFFER_TYPE ) -> super::super::Foundation:: BOOL ); HttpWebSocketReceive(hwebsocket, pvbuffer, dwbufferlength, pdwbytesread, pbuffertype) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpWebSocketSend(hwebsocket: *const ::core::ffi::c_void, buffertype: HTTP_WEB_SOCKET_BUFFER_TYPE, pvbuffer: ::core::option::Option<*const ::core::ffi::c_void>, dwbufferlength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpWebSocketSend ( hwebsocket : *const ::core::ffi::c_void , buffertype : HTTP_WEB_SOCKET_BUFFER_TYPE , pvbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpWebSocketSend ( hwebsocket : *const ::core::ffi::c_void , buffertype : HTTP_WEB_SOCKET_BUFFER_TYPE , pvbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> super::super::Foundation:: BOOL ); HttpWebSocketSend(hwebsocket, buffertype, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null())), dwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpWebSocketShutdown(hwebsocket: *const ::core::ffi::c_void, usstatus: u16, pvreason: ::core::option::Option<*const ::core::ffi::c_void>, dwreasonlength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn HttpWebSocketShutdown ( hwebsocket : *const ::core::ffi::c_void , usstatus : u16 , pvreason : *const ::core::ffi::c_void , dwreasonlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn HttpWebSocketShutdown ( hwebsocket : *const ::core::ffi::c_void , usstatus : u16 , pvreason : *const ::core::ffi::c_void , dwreasonlength : u32 ) -> super::super::Foundation:: BOOL ); HttpWebSocketShutdown(hwebsocket, usstatus, ::core::mem::transmute(pvreason.unwrap_or(::std::ptr::null())), dwreasonlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1225,7 +1225,7 @@ pub unsafe fn ImportCookieFileA(szfilename: P0) -> super::super::Foundation: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn ImportCookieFileA ( szfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn ImportCookieFileA ( szfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); ImportCookieFileA(szfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1235,14 +1235,14 @@ pub unsafe fn ImportCookieFileW(szfilename: P0) -> super::super::Foundation: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn ImportCookieFileW ( szfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn ImportCookieFileW ( szfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ImportCookieFileW(szfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IncrementUrlCacheHeaderData(nidx: u32, lpdwdata: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn IncrementUrlCacheHeaderData ( nidx : u32 , lpdwdata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn IncrementUrlCacheHeaderData ( nidx : u32 , lpdwdata : *mut u32 ) -> super::super::Foundation:: BOOL ); IncrementUrlCacheHeaderData(nidx, lpdwdata) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1251,27 +1251,27 @@ pub unsafe fn InternalInternetGetCookie(lpszurl: P0, lpszcookiedata: ::windo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternalInternetGetCookie ( lpszurl : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PSTR , lpdwdatasize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternalInternetGetCookie ( lpszurl : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PSTR , lpdwdatasize : *mut u32 ) -> u32 ); InternalInternetGetCookie(lpszurl.into().abi(), ::core::mem::transmute(lpszcookiedata), lpdwdatasize) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetAlgIdToStringA(ai: u32, lpstr: ::windows::core::PSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetAlgIdToStringA ( ai : u32 , lpstr : :: windows::core::PSTR , lpdwstrlength : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetAlgIdToStringA ( ai : u32 , lpstr : :: windows::core::PSTR , lpdwstrlength : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetAlgIdToStringA(ai, ::core::mem::transmute(lpstr), lpdwstrlength, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetAlgIdToStringW(ai: u32, lpstr: ::windows::core::PWSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetAlgIdToStringW ( ai : u32 , lpstr : :: windows::core::PWSTR , lpdwstrlength : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetAlgIdToStringW ( ai : u32 , lpstr : :: windows::core::PWSTR , lpdwstrlength : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetAlgIdToStringW(ai, ::core::mem::transmute(lpstr), lpdwstrlength, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn InternetAttemptConnect(dwreserved: u32) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn InternetAttemptConnect ( dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetAttemptConnect ( dwreserved : u32 ) -> u32 ); InternetAttemptConnect(dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1281,14 +1281,14 @@ pub unsafe fn InternetAutodial(dwflags: INTERNET_AUTODIAL, hwndparent: P0) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetAutodial ( dwflags : INTERNET_AUTODIAL , hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetAutodial ( dwflags : INTERNET_AUTODIAL , hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); InternetAutodial(dwflags, hwndparent.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetAutodialHangup(dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetAutodialHangup ( dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetAutodialHangup ( dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetAutodialHangup(dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1298,7 +1298,7 @@ pub unsafe fn InternetCanonicalizeUrlA(lpszurl: P0, lpszbuffer: ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCanonicalizeUrlA ( lpszurl : :: windows::core::PCSTR , lpszbuffer : :: windows::core::PSTR , lpdwbufferlength : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCanonicalizeUrlA ( lpszurl : :: windows::core::PCSTR , lpszbuffer : :: windows::core::PSTR , lpdwbufferlength : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetCanonicalizeUrlA(lpszurl.into().abi(), ::core::mem::transmute(lpszbuffer), lpdwbufferlength, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1308,7 +1308,7 @@ pub unsafe fn InternetCanonicalizeUrlW(lpszurl: P0, lpszbuffer: ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCanonicalizeUrlW ( lpszurl : :: windows::core::PCWSTR , lpszbuffer : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCanonicalizeUrlW ( lpszurl : :: windows::core::PCWSTR , lpszbuffer : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetCanonicalizeUrlW(lpszurl.into().abi(), ::core::mem::transmute(lpszbuffer), lpdwbufferlength, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1318,7 +1318,7 @@ pub unsafe fn InternetCheckConnectionA(lpszurl: P0, dwflags: u32, dwreserved where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCheckConnectionA ( lpszurl : :: windows::core::PCSTR , dwflags : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCheckConnectionA ( lpszurl : :: windows::core::PCSTR , dwflags : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetCheckConnectionA(lpszurl.into().abi(), dwflags, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1328,21 +1328,21 @@ pub unsafe fn InternetCheckConnectionW(lpszurl: P0, dwflags: u32, dwreserved where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCheckConnectionW ( lpszurl : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCheckConnectionW ( lpszurl : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetCheckConnectionW(lpszurl.into().abi(), dwflags, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetClearAllPerSiteCookieDecisions() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetClearAllPerSiteCookieDecisions ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetClearAllPerSiteCookieDecisions ( ) -> super::super::Foundation:: BOOL ); InternetClearAllPerSiteCookieDecisions() } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetCloseHandle(hinternet: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCloseHandle ( hinternet : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCloseHandle ( hinternet : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); InternetCloseHandle(hinternet) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1353,7 +1353,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCombineUrlA ( lpszbaseurl : :: windows::core::PCSTR , lpszrelativeurl : :: windows::core::PCSTR , lpszbuffer : :: windows::core::PSTR , lpdwbufferlength : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCombineUrlA ( lpszbaseurl : :: windows::core::PCSTR , lpszrelativeurl : :: windows::core::PCSTR , lpszbuffer : :: windows::core::PSTR , lpdwbufferlength : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetCombineUrlA(lpszbaseurl.into().abi(), lpszrelativeurl.into().abi(), ::core::mem::transmute(lpszbuffer), lpdwbufferlength, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1364,7 +1364,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCombineUrlW ( lpszbaseurl : :: windows::core::PCWSTR , lpszrelativeurl : :: windows::core::PCWSTR , lpszbuffer : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCombineUrlW ( lpszbaseurl : :: windows::core::PCWSTR , lpszrelativeurl : :: windows::core::PCWSTR , lpszbuffer : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetCombineUrlW(lpszbaseurl.into().abi(), lpszrelativeurl.into().abi(), ::core::mem::transmute(lpszbuffer), lpdwbufferlength, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1377,7 +1377,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetConfirmZoneCrossing ( hwnd : super::super::Foundation:: HWND , szurlprev : :: windows::core::PCSTR , szurlnew : :: windows::core::PCSTR , bpost : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetConfirmZoneCrossing ( hwnd : super::super::Foundation:: HWND , szurlprev : :: windows::core::PCSTR , szurlnew : :: windows::core::PCSTR , bpost : super::super::Foundation:: BOOL ) -> u32 ); InternetConfirmZoneCrossing(hwnd.into(), szurlprev.into().abi(), szurlnew.into().abi(), bpost.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1390,7 +1390,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetConfirmZoneCrossingA ( hwnd : super::super::Foundation:: HWND , szurlprev : :: windows::core::PCSTR , szurlnew : :: windows::core::PCSTR , bpost : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetConfirmZoneCrossingA ( hwnd : super::super::Foundation:: HWND , szurlprev : :: windows::core::PCSTR , szurlnew : :: windows::core::PCSTR , bpost : super::super::Foundation:: BOOL ) -> u32 ); InternetConfirmZoneCrossingA(hwnd.into(), szurlprev.into().abi(), szurlnew.into().abi(), bpost.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1403,7 +1403,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetConfirmZoneCrossingW ( hwnd : super::super::Foundation:: HWND , szurlprev : :: windows::core::PCWSTR , szurlnew : :: windows::core::PCWSTR , bpost : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetConfirmZoneCrossingW ( hwnd : super::super::Foundation:: HWND , szurlprev : :: windows::core::PCWSTR , szurlnew : :: windows::core::PCWSTR , bpost : super::super::Foundation:: BOOL ) -> u32 ); InternetConfirmZoneCrossingW(hwnd.into(), szurlprev.into().abi(), szurlnew.into().abi(), bpost.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1414,7 +1414,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetConnectA ( hinternet : *const ::core::ffi::c_void , lpszservername : :: windows::core::PCSTR , nserverport : u16 , lpszusername : :: windows::core::PCSTR , lpszpassword : :: windows::core::PCSTR , dwservice : u32 , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetConnectA ( hinternet : *const ::core::ffi::c_void , lpszservername : :: windows::core::PCSTR , nserverport : u16 , lpszusername : :: windows::core::PCSTR , lpszpassword : :: windows::core::PCSTR , dwservice : u32 , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); InternetConnectA(hinternet, lpszservername.into().abi(), nserverport, lpszusername.into().abi(), lpszpassword.into().abi(), dwservice, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1425,7 +1425,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetConnectW ( hinternet : *const ::core::ffi::c_void , lpszservername : :: windows::core::PCWSTR , nserverport : u16 , lpszusername : :: windows::core::PCWSTR , lpszpassword : :: windows::core::PCWSTR , dwservice : u32 , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetConnectW ( hinternet : *const ::core::ffi::c_void , lpszservername : :: windows::core::PCWSTR , nserverport : u16 , lpszusername : :: windows::core::PCWSTR , lpszpassword : :: windows::core::PCWSTR , dwservice : u32 , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); InternetConnectW(hinternet, lpszservername.into().abi(), nserverport, lpszusername.into().abi(), lpszpassword.into().abi(), dwservice, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1436,35 +1436,35 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetConvertUrlFromWireToWideChar ( pcszurl : :: windows::core::PCSTR , cchurl : u32 , pcwszbaseurl : :: windows::core::PCWSTR , dwcodepagehost : u32 , dwcodepagepath : u32 , fencodepathextra : super::super::Foundation:: BOOL , dwcodepageextra : u32 , ppwszconvertedurl : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetConvertUrlFromWireToWideChar ( pcszurl : :: windows::core::PCSTR , cchurl : u32 , pcwszbaseurl : :: windows::core::PCWSTR , dwcodepagehost : u32 , dwcodepagepath : u32 , fencodepathextra : super::super::Foundation:: BOOL , dwcodepageextra : u32 , ppwszconvertedurl : *mut :: windows::core::PWSTR ) -> u32 ); InternetConvertUrlFromWireToWideChar(::core::mem::transmute(pcszurl.as_ptr()), pcszurl.len() as _, pcwszbaseurl.into().abi(), dwcodepagehost, dwcodepagepath, fencodepathextra.into(), dwcodepageextra, ppwszconvertedurl) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinHttp\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinHttp"))] #[inline] pub unsafe fn InternetCrackUrlA(lpszurl: &[u8], dwflags: super::WinHttp::WIN_HTTP_CREATE_URL_FLAGS, lpurlcomponents: *mut URL_COMPONENTSA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCrackUrlA ( lpszurl : :: windows::core::PCSTR , dwurllength : u32 , dwflags : super::WinHttp:: WIN_HTTP_CREATE_URL_FLAGS , lpurlcomponents : *mut URL_COMPONENTSA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCrackUrlA ( lpszurl : :: windows::core::PCSTR , dwurllength : u32 , dwflags : super::WinHttp:: WIN_HTTP_CREATE_URL_FLAGS , lpurlcomponents : *mut URL_COMPONENTSA ) -> super::super::Foundation:: BOOL ); InternetCrackUrlA(::core::mem::transmute(lpszurl.as_ptr()), lpszurl.len() as _, dwflags, lpurlcomponents) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinHttp\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinHttp"))] #[inline] pub unsafe fn InternetCrackUrlW(lpszurl: &[u16], dwflags: super::WinHttp::WIN_HTTP_CREATE_URL_FLAGS, lpurlcomponents: *mut URL_COMPONENTSW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCrackUrlW ( lpszurl : :: windows::core::PCWSTR , dwurllength : u32 , dwflags : super::WinHttp:: WIN_HTTP_CREATE_URL_FLAGS , lpurlcomponents : *mut URL_COMPONENTSW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCrackUrlW ( lpszurl : :: windows::core::PCWSTR , dwurllength : u32 , dwflags : super::WinHttp:: WIN_HTTP_CREATE_URL_FLAGS , lpurlcomponents : *mut URL_COMPONENTSW ) -> super::super::Foundation:: BOOL ); InternetCrackUrlW(::core::mem::transmute(lpszurl.as_ptr()), lpszurl.len() as _, dwflags, lpurlcomponents) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetCreateUrlA(lpurlcomponents: *const URL_COMPONENTSA, dwflags: u32, lpszurl: ::windows::core::PSTR, lpdwurllength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCreateUrlA ( lpurlcomponents : *const URL_COMPONENTSA , dwflags : u32 , lpszurl : :: windows::core::PSTR , lpdwurllength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCreateUrlA ( lpurlcomponents : *const URL_COMPONENTSA , dwflags : u32 , lpszurl : :: windows::core::PSTR , lpdwurllength : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetCreateUrlA(lpurlcomponents, dwflags, ::core::mem::transmute(lpszurl), lpdwurllength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetCreateUrlW(lpurlcomponents: *const URL_COMPONENTSW, dwflags: u32, lpszurl: ::windows::core::PWSTR, lpdwurllength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetCreateUrlW ( lpurlcomponents : *const URL_COMPONENTSW , dwflags : u32 , lpszurl : :: windows::core::PWSTR , lpdwurllength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetCreateUrlW ( lpurlcomponents : *const URL_COMPONENTSW , dwflags : u32 , lpszurl : :: windows::core::PWSTR , lpdwurllength : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetCreateUrlW(lpurlcomponents, dwflags, ::core::mem::transmute(lpszurl), lpdwurllength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1475,7 +1475,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetDial ( hwndparent : super::super::Foundation:: HWND , lpszconnectoid : :: windows::core::PCSTR , dwflags : u32 , lpdwconnection : *mut u32 , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetDial ( hwndparent : super::super::Foundation:: HWND , lpszconnectoid : :: windows::core::PCSTR , dwflags : u32 , lpdwconnection : *mut u32 , dwreserved : u32 ) -> u32 ); InternetDial(hwndparent.into(), lpszconnectoid.into().abi(), dwflags, lpdwconnection, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1486,7 +1486,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetDialA ( hwndparent : super::super::Foundation:: HWND , lpszconnectoid : :: windows::core::PCSTR , dwflags : u32 , lpdwconnection : *mut usize , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetDialA ( hwndparent : super::super::Foundation:: HWND , lpszconnectoid : :: windows::core::PCSTR , dwflags : u32 , lpdwconnection : *mut usize , dwreserved : u32 ) -> u32 ); InternetDialA(hwndparent.into(), lpszconnectoid.into().abi(), dwflags, lpdwconnection, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1497,21 +1497,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetDialW ( hwndparent : super::super::Foundation:: HWND , lpszconnectoid : :: windows::core::PCWSTR , dwflags : u32 , lpdwconnection : *mut usize , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetDialW ( hwndparent : super::super::Foundation:: HWND , lpszconnectoid : :: windows::core::PCWSTR , dwflags : u32 , lpdwconnection : *mut usize , dwreserved : u32 ) -> u32 ); InternetDialW(hwndparent.into(), lpszconnectoid.into().abi(), dwflags, lpdwconnection, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetEnumPerSiteCookieDecisionA(pszsitename: ::windows::core::PSTR, pcsitenamesize: *mut u32, pdwdecision: *mut u32, dwindex: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetEnumPerSiteCookieDecisionA ( pszsitename : :: windows::core::PSTR , pcsitenamesize : *mut u32 , pdwdecision : *mut u32 , dwindex : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetEnumPerSiteCookieDecisionA ( pszsitename : :: windows::core::PSTR , pcsitenamesize : *mut u32 , pdwdecision : *mut u32 , dwindex : u32 ) -> super::super::Foundation:: BOOL ); InternetEnumPerSiteCookieDecisionA(::core::mem::transmute(pszsitename), pcsitenamesize, pdwdecision, dwindex) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetEnumPerSiteCookieDecisionW(pszsitename: ::windows::core::PWSTR, pcsitenamesize: *mut u32, pdwdecision: *mut u32, dwindex: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetEnumPerSiteCookieDecisionW ( pszsitename : :: windows::core::PWSTR , pcsitenamesize : *mut u32 , pdwdecision : *mut u32 , dwindex : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetEnumPerSiteCookieDecisionW ( pszsitename : :: windows::core::PWSTR , pcsitenamesize : *mut u32 , pdwdecision : *mut u32 , dwindex : u32 ) -> super::super::Foundation:: BOOL ); InternetEnumPerSiteCookieDecisionW(::core::mem::transmute(pszsitename), pcsitenamesize, pdwdecision, dwindex) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1521,21 +1521,21 @@ pub unsafe fn InternetErrorDlg(hwnd: P0, hrequest: ::core::option::Option<*m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetErrorDlg ( hwnd : super::super::Foundation:: HWND , hrequest : *mut ::core::ffi::c_void , dwerror : u32 , dwflags : u32 , lppvdata : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetErrorDlg ( hwnd : super::super::Foundation:: HWND , hrequest : *mut ::core::ffi::c_void , dwerror : u32 , dwflags : u32 , lppvdata : *mut *mut ::core::ffi::c_void ) -> u32 ); InternetErrorDlg(hwnd.into(), ::core::mem::transmute(hrequest.unwrap_or(::std::ptr::null_mut())), dwerror, dwflags, ::core::mem::transmute(lppvdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetFindNextFileA(hfind: *const ::core::ffi::c_void, lpvfinddata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetFindNextFileA ( hfind : *const ::core::ffi::c_void , lpvfinddata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetFindNextFileA ( hfind : *const ::core::ffi::c_void , lpvfinddata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); InternetFindNextFileA(hfind, lpvfinddata) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetFindNextFileW(hfind: *const ::core::ffi::c_void, lpvfinddata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetFindNextFileW ( hfind : *const ::core::ffi::c_void , lpvfinddata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetFindNextFileW ( hfind : *const ::core::ffi::c_void , lpvfinddata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); InternetFindNextFileW(hfind, lpvfinddata) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1545,49 +1545,49 @@ pub unsafe fn InternetFortezzaCommand(dwcommand: u32, hwnd: P0, dwreserved: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetFortezzaCommand ( dwcommand : u32 , hwnd : super::super::Foundation:: HWND , dwreserved : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetFortezzaCommand ( dwcommand : u32 , hwnd : super::super::Foundation:: HWND , dwreserved : usize ) -> super::super::Foundation:: BOOL ); InternetFortezzaCommand(dwcommand, hwnd.into(), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetFreeCookies(pcookies: ::core::option::Option<*mut INTERNET_COOKIE2>, dwcookiecount: u32) { - ::windows::core::link ! ( "wininet.dll""system" fn InternetFreeCookies ( pcookies : *mut INTERNET_COOKIE2 , dwcookiecount : u32 ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetFreeCookies ( pcookies : *mut INTERNET_COOKIE2 , dwcookiecount : u32 ) -> ( ) ); InternetFreeCookies(::core::mem::transmute(pcookies.unwrap_or(::std::ptr::null_mut())), dwcookiecount) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetFreeProxyInfoList(pproxyinfolist: *mut WININET_PROXY_INFO_LIST) { - ::windows::core::link ! ( "wininet.dll""system" fn InternetFreeProxyInfoList ( pproxyinfolist : *mut WININET_PROXY_INFO_LIST ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetFreeProxyInfoList ( pproxyinfolist : *mut WININET_PROXY_INFO_LIST ) -> ( ) ); InternetFreeProxyInfoList(pproxyinfolist) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetGetConnectedState(lpdwflags: *mut INTERNET_CONNECTION, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetConnectedState ( lpdwflags : *mut INTERNET_CONNECTION , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetConnectedState ( lpdwflags : *mut INTERNET_CONNECTION , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetGetConnectedState(lpdwflags, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetGetConnectedStateEx(lpdwflags: *mut INTERNET_CONNECTION, lpszconnectionname: ::core::option::Option<&mut [u8]>, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetConnectedStateEx ( lpdwflags : *mut INTERNET_CONNECTION , lpszconnectionname : :: windows::core::PSTR , dwnamelen : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetConnectedStateEx ( lpdwflags : *mut INTERNET_CONNECTION , lpszconnectionname : :: windows::core::PSTR , dwnamelen : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetGetConnectedStateEx(lpdwflags, ::core::mem::transmute(lpszconnectionname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszconnectionname.as_deref().map_or(0, |slice| slice.len() as _), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetGetConnectedStateExA(lpdwflags: ::core::option::Option<*mut INTERNET_CONNECTION>, lpszconnectionname: ::core::option::Option<&mut [u8]>, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetConnectedStateExA ( lpdwflags : *mut INTERNET_CONNECTION , lpszconnectionname : :: windows::core::PSTR , cchnamelen : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetConnectedStateExA ( lpdwflags : *mut INTERNET_CONNECTION , lpszconnectionname : :: windows::core::PSTR , cchnamelen : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetGetConnectedStateExA(::core::mem::transmute(lpdwflags.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpszconnectionname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszconnectionname.as_deref().map_or(0, |slice| slice.len() as _), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetGetConnectedStateExW(lpdwflags: ::core::option::Option<*mut INTERNET_CONNECTION>, lpszconnectionname: ::core::option::Option<&mut [u16]>, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetConnectedStateExW ( lpdwflags : *mut INTERNET_CONNECTION , lpszconnectionname : :: windows::core::PWSTR , cchnamelen : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetConnectedStateExW ( lpdwflags : *mut INTERNET_CONNECTION , lpszconnectionname : :: windows::core::PWSTR , cchnamelen : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetGetConnectedStateExW(::core::mem::transmute(lpdwflags.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpszconnectionname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszconnectionname.as_deref().map_or(0, |slice| slice.len() as _), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1598,7 +1598,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetCookieA ( lpszurl : :: windows::core::PCSTR , lpszcookiename : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PSTR , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetCookieA ( lpszurl : :: windows::core::PCSTR , lpszcookiename : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PSTR , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetCookieA(lpszurl.into().abi(), lpszcookiename.into().abi(), ::core::mem::transmute(lpszcookiedata), lpdwsize) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1609,7 +1609,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetCookieEx2 ( pcwszurl : :: windows::core::PCWSTR , pcwszcookiename : :: windows::core::PCWSTR , dwflags : u32 , ppcookies : *mut *mut INTERNET_COOKIE2 , pdwcookiecount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetCookieEx2 ( pcwszurl : :: windows::core::PCWSTR , pcwszcookiename : :: windows::core::PCWSTR , dwflags : u32 , ppcookies : *mut *mut INTERNET_COOKIE2 , pdwcookiecount : *mut u32 ) -> u32 ); InternetGetCookieEx2(pcwszurl.into().abi(), pcwszcookiename.into().abi(), dwflags, ppcookies, pdwcookiecount) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1621,7 +1621,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetCookieExA ( lpszurl : :: windows::core::PCSTR , lpszcookiename : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PCSTR , lpdwsize : *mut u32 , dwflags : INTERNET_COOKIE_FLAGS , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetCookieExA ( lpszurl : :: windows::core::PCSTR , lpszcookiename : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PCSTR , lpdwsize : *mut u32 , dwflags : INTERNET_COOKIE_FLAGS , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); InternetGetCookieExA(lpszurl.into().abi(), lpszcookiename.into().abi(), lpszcookiedata.into().abi(), lpdwsize, dwflags, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1633,7 +1633,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetCookieExW ( lpszurl : :: windows::core::PCWSTR , lpszcookiename : :: windows::core::PCWSTR , lpszcookiedata : :: windows::core::PCWSTR , lpdwsize : *mut u32 , dwflags : INTERNET_COOKIE_FLAGS , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetCookieExW ( lpszurl : :: windows::core::PCWSTR , lpszcookiename : :: windows::core::PCWSTR , lpszcookiedata : :: windows::core::PCWSTR , lpdwsize : *mut u32 , dwflags : INTERNET_COOKIE_FLAGS , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); InternetGetCookieExW(lpszurl.into().abi(), lpszcookiename.into().abi(), lpszcookiedata.into().abi(), lpdwsize, dwflags, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1644,21 +1644,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetCookieW ( lpszurl : :: windows::core::PCWSTR , lpszcookiename : :: windows::core::PCWSTR , lpszcookiedata : :: windows::core::PWSTR , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetCookieW ( lpszurl : :: windows::core::PCWSTR , lpszcookiename : :: windows::core::PCWSTR , lpszcookiedata : :: windows::core::PWSTR , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetCookieW(lpszurl.into().abi(), lpszcookiename.into().abi(), ::core::mem::transmute(lpszcookiedata), lpdwsize) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetGetLastResponseInfoA(lpdwerror: *mut u32, lpszbuffer: ::windows::core::PSTR, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetLastResponseInfoA ( lpdwerror : *mut u32 , lpszbuffer : :: windows::core::PSTR , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetLastResponseInfoA ( lpdwerror : *mut u32 , lpszbuffer : :: windows::core::PSTR , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetLastResponseInfoA(lpdwerror, ::core::mem::transmute(lpszbuffer), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetGetLastResponseInfoW(lpdwerror: *mut u32, lpszbuffer: ::windows::core::PWSTR, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetLastResponseInfoW ( lpdwerror : *mut u32 , lpszbuffer : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetLastResponseInfoW ( lpdwerror : *mut u32 , lpszbuffer : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetLastResponseInfoW(lpdwerror, ::core::mem::transmute(lpszbuffer), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1668,7 +1668,7 @@ pub unsafe fn InternetGetPerSiteCookieDecisionA(pchhostname: P0, presult: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetPerSiteCookieDecisionA ( pchhostname : :: windows::core::PCSTR , presult : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetPerSiteCookieDecisionA ( pchhostname : :: windows::core::PCSTR , presult : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetPerSiteCookieDecisionA(pchhostname.into().abi(), presult) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1678,7 +1678,7 @@ pub unsafe fn InternetGetPerSiteCookieDecisionW(pchhostname: P0, presult: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetPerSiteCookieDecisionW ( pchhostname : :: windows::core::PCWSTR , presult : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetPerSiteCookieDecisionW ( pchhostname : :: windows::core::PCWSTR , presult : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetPerSiteCookieDecisionW(pchhostname.into().abi(), presult) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1688,7 +1688,7 @@ pub unsafe fn InternetGetProxyForUrl(hinternet: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetProxyForUrl ( hinternet : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pproxyinfolist : *mut WININET_PROXY_INFO_LIST ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetProxyForUrl ( hinternet : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pproxyinfolist : *mut WININET_PROXY_INFO_LIST ) -> u32 ); InternetGetProxyForUrl(hinternet, pcwszurl.into().abi(), pproxyinfolist) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -1698,7 +1698,7 @@ pub unsafe fn InternetGetSecurityInfoByURL(lpszurl: P0, ppcertchain: *mut *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetSecurityInfoByURL ( lpszurl : :: windows::core::PCSTR , ppcertchain : *mut *mut super::super::Security::Cryptography:: CERT_CHAIN_CONTEXT , pdwsecureflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetSecurityInfoByURL ( lpszurl : :: windows::core::PCSTR , ppcertchain : *mut *mut super::super::Security::Cryptography:: CERT_CHAIN_CONTEXT , pdwsecureflags : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetSecurityInfoByURL(lpszurl.into().abi(), ppcertchain, pdwsecureflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -1708,7 +1708,7 @@ pub unsafe fn InternetGetSecurityInfoByURLA(lpszurl: P0, ppcertchain: *mut * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetSecurityInfoByURLA ( lpszurl : :: windows::core::PCSTR , ppcertchain : *mut *mut super::super::Security::Cryptography:: CERT_CHAIN_CONTEXT , pdwsecureflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetSecurityInfoByURLA ( lpszurl : :: windows::core::PCSTR , ppcertchain : *mut *mut super::super::Security::Cryptography:: CERT_CHAIN_CONTEXT , pdwsecureflags : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetSecurityInfoByURLA(lpszurl.into().abi(), ppcertchain, pdwsecureflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -1718,7 +1718,7 @@ pub unsafe fn InternetGetSecurityInfoByURLW(lpszurl: P0, ppcertchain: *mut * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGetSecurityInfoByURLW ( lpszurl : :: windows::core::PCWSTR , ppcertchain : *mut *mut super::super::Security::Cryptography:: CERT_CHAIN_CONTEXT , pdwsecureflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGetSecurityInfoByURLW ( lpszurl : :: windows::core::PCWSTR , ppcertchain : *mut *mut super::super::Security::Cryptography:: CERT_CHAIN_CONTEXT , pdwsecureflags : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetGetSecurityInfoByURLW(lpszurl.into().abi(), ppcertchain, pdwsecureflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1729,7 +1729,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGoOnline ( lpszurl : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGoOnline ( lpszurl : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetGoOnline(lpszurl.into().abi(), hwndparent.into(), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1740,7 +1740,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGoOnlineA ( lpszurl : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGoOnlineA ( lpszurl : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetGoOnlineA(lpszurl.into().abi(), hwndparent.into(), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1751,27 +1751,27 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetGoOnlineW ( lpszurl : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetGoOnlineW ( lpszurl : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetGoOnlineW(lpszurl.into().abi(), hwndparent.into(), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn InternetHangUp(dwconnection: usize, dwreserved: u32) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn InternetHangUp ( dwconnection : usize , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetHangUp ( dwconnection : usize , dwreserved : u32 ) -> u32 ); InternetHangUp(dwconnection, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetInitializeAutoProxyDll(dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetInitializeAutoProxyDll ( dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetInitializeAutoProxyDll ( dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetInitializeAutoProxyDll(dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetLockRequestFile(hinternet: *const ::core::ffi::c_void, lphlockrequestinfo: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetLockRequestFile ( hinternet : *const ::core::ffi::c_void , lphlockrequestinfo : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetLockRequestFile ( hinternet : *const ::core::ffi::c_void , lphlockrequestinfo : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); InternetLockRequestFile(hinternet, lphlockrequestinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1782,7 +1782,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetOpenA ( lpszagent : :: windows::core::PCSTR , dwaccesstype : u32 , lpszproxy : :: windows::core::PCSTR , lpszproxybypass : :: windows::core::PCSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetOpenA ( lpszagent : :: windows::core::PCSTR , dwaccesstype : u32 , lpszproxy : :: windows::core::PCSTR , lpszproxybypass : :: windows::core::PCSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); InternetOpenA(lpszagent.into().abi(), dwaccesstype, lpszproxy.into().abi(), lpszproxybypass.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1791,7 +1791,7 @@ pub unsafe fn InternetOpenUrlA(hinternet: *const ::core::ffi::c_void, lpszur where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetOpenUrlA ( hinternet : *const ::core::ffi::c_void , lpszurl : :: windows::core::PCSTR , lpszheaders : :: windows::core::PCSTR , dwheaderslength : u32 , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetOpenUrlA ( hinternet : *const ::core::ffi::c_void , lpszurl : :: windows::core::PCSTR , lpszheaders : :: windows::core::PCSTR , dwheaderslength : u32 , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); InternetOpenUrlA(hinternet, lpszurl.into().abi(), ::core::mem::transmute(lpszheaders.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszheaders.as_deref().map_or(0, |slice| slice.len() as _), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1800,7 +1800,7 @@ pub unsafe fn InternetOpenUrlW(hinternet: *const ::core::ffi::c_void, lpszur where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetOpenUrlW ( hinternet : *const ::core::ffi::c_void , lpszurl : :: windows::core::PCWSTR , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetOpenUrlW ( hinternet : *const ::core::ffi::c_void , lpszurl : :: windows::core::PCWSTR , lpszheaders : :: windows::core::PCWSTR , dwheaderslength : u32 , dwflags : u32 , dwcontext : usize ) -> *mut ::core::ffi::c_void ); InternetOpenUrlW(hinternet, lpszurl.into().abi(), ::core::mem::transmute(lpszheaders.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszheaders.as_deref().map_or(0, |slice| slice.len() as _), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1811,70 +1811,70 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetOpenW ( lpszagent : :: windows::core::PCWSTR , dwaccesstype : u32 , lpszproxy : :: windows::core::PCWSTR , lpszproxybypass : :: windows::core::PCWSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetOpenW ( lpszagent : :: windows::core::PCWSTR , dwaccesstype : u32 , lpszproxy : :: windows::core::PCWSTR , lpszproxybypass : :: windows::core::PCWSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); InternetOpenW(lpszagent.into().abi(), dwaccesstype, lpszproxy.into().abi(), lpszproxybypass.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetQueryDataAvailable(hfile: *const ::core::ffi::c_void, lpdwnumberofbytesavailable: ::core::option::Option<*mut u32>, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetQueryDataAvailable ( hfile : *const ::core::ffi::c_void , lpdwnumberofbytesavailable : *mut u32 , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetQueryDataAvailable ( hfile : *const ::core::ffi::c_void , lpdwnumberofbytesavailable : *mut u32 , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); InternetQueryDataAvailable(hfile, ::core::mem::transmute(lpdwnumberofbytesavailable.unwrap_or(::std::ptr::null_mut())), dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetQueryFortezzaStatus(pdwstatus: *mut u32, dwreserved: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetQueryFortezzaStatus ( pdwstatus : *mut u32 , dwreserved : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetQueryFortezzaStatus ( pdwstatus : *mut u32 , dwreserved : usize ) -> super::super::Foundation:: BOOL ); InternetQueryFortezzaStatus(pdwstatus, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetQueryOptionA(hinternet: ::core::option::Option<*const ::core::ffi::c_void>, dwoption: u32, lpbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetQueryOptionA ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetQueryOptionA ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetQueryOptionA(::core::mem::transmute(hinternet.unwrap_or(::std::ptr::null())), dwoption, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetQueryOptionW(hinternet: ::core::option::Option<*const ::core::ffi::c_void>, dwoption: u32, lpbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, lpdwbufferlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetQueryOptionW ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetQueryOptionW ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetQueryOptionW(::core::mem::transmute(hinternet.unwrap_or(::std::ptr::null())), dwoption, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetReadFile(hfile: *const ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, dwnumberofbytestoread: u32, lpdwnumberofbytesread: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetReadFile ( hfile : *const ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , dwnumberofbytestoread : u32 , lpdwnumberofbytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetReadFile ( hfile : *const ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , dwnumberofbytestoread : u32 , lpdwnumberofbytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetReadFile(hfile, lpbuffer, dwnumberofbytestoread, lpdwnumberofbytesread) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetReadFileExA(hfile: *const ::core::ffi::c_void, lpbuffersout: *mut INTERNET_BUFFERSA, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetReadFileExA ( hfile : *const ::core::ffi::c_void , lpbuffersout : *mut INTERNET_BUFFERSA , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetReadFileExA ( hfile : *const ::core::ffi::c_void , lpbuffersout : *mut INTERNET_BUFFERSA , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); InternetReadFileExA(hfile, lpbuffersout, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetReadFileExW(hfile: *const ::core::ffi::c_void, lpbuffersout: *mut INTERNET_BUFFERSW, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetReadFileExW ( hfile : *const ::core::ffi::c_void , lpbuffersout : *mut INTERNET_BUFFERSW , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetReadFileExW ( hfile : *const ::core::ffi::c_void , lpbuffersout : *mut INTERNET_BUFFERSW , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); InternetReadFileExW(hfile, lpbuffersout, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetSecurityProtocolToStringA(dwprotocol: u32, lpstr: ::windows::core::PSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSecurityProtocolToStringA ( dwprotocol : u32 , lpstr : :: windows::core::PSTR , lpdwstrlength : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSecurityProtocolToStringA ( dwprotocol : u32 , lpstr : :: windows::core::PSTR , lpdwstrlength : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetSecurityProtocolToStringA(dwprotocol, ::core::mem::transmute(lpstr), lpdwstrlength, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetSecurityProtocolToStringW(dwprotocol: u32, lpstr: ::windows::core::PWSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSecurityProtocolToStringW ( dwprotocol : u32 , lpstr : :: windows::core::PWSTR , lpdwstrlength : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSecurityProtocolToStringW ( dwprotocol : u32 , lpstr : :: windows::core::PWSTR , lpdwstrlength : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetSecurityProtocolToStringW(dwprotocol, ::core::mem::transmute(lpstr), lpdwstrlength, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1886,7 +1886,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetCookieA ( lpszurl : :: windows::core::PCSTR , lpszcookiename : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetCookieA ( lpszurl : :: windows::core::PCSTR , lpszcookiename : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); InternetSetCookieA(lpszurl.into().abi(), lpszcookiename.into().abi(), lpszcookiedata.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1897,7 +1897,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetCookieEx2 ( pcwszurl : :: windows::core::PCWSTR , pcookie : *const INTERNET_COOKIE2 , pcwszp3ppolicy : :: windows::core::PCWSTR , dwflags : u32 , pdwcookiestate : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetCookieEx2 ( pcwszurl : :: windows::core::PCWSTR , pcookie : *const INTERNET_COOKIE2 , pcwszp3ppolicy : :: windows::core::PCWSTR , dwflags : u32 , pdwcookiestate : *mut u32 ) -> u32 ); InternetSetCookieEx2(pcwszurl.into().abi(), pcookie, pcwszp3ppolicy.into().abi(), dwflags, pdwcookiestate) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1908,7 +1908,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetCookieExA ( lpszurl : :: windows::core::PCSTR , lpszcookiename : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PCSTR , dwflags : u32 , dwreserved : usize ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetCookieExA ( lpszurl : :: windows::core::PCSTR , lpszcookiename : :: windows::core::PCSTR , lpszcookiedata : :: windows::core::PCSTR , dwflags : u32 , dwreserved : usize ) -> u32 ); InternetSetCookieExA(lpszurl.into().abi(), lpszcookiename.into().abi(), lpszcookiedata.into().abi(), dwflags, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1919,7 +1919,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetCookieExW ( lpszurl : :: windows::core::PCWSTR , lpszcookiename : :: windows::core::PCWSTR , lpszcookiedata : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : usize ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetCookieExW ( lpszurl : :: windows::core::PCWSTR , lpszcookiename : :: windows::core::PCWSTR , lpszcookiedata : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : usize ) -> u32 ); InternetSetCookieExW(lpszurl.into().abi(), lpszcookiename.into().abi(), lpszcookiedata.into().abi(), dwflags, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1931,7 +1931,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetCookieW ( lpszurl : :: windows::core::PCWSTR , lpszcookiename : :: windows::core::PCWSTR , lpszcookiedata : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetCookieW ( lpszurl : :: windows::core::PCWSTR , lpszcookiename : :: windows::core::PCWSTR , lpszcookiedata : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); InternetSetCookieW(lpszurl.into().abi(), lpszcookiename.into().abi(), lpszcookiedata.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1941,7 +1941,7 @@ pub unsafe fn InternetSetDialState(lpszconnectoid: P0, dwstate: u32, dwreser where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetDialState ( lpszconnectoid : :: windows::core::PCSTR , dwstate : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetDialState ( lpszconnectoid : :: windows::core::PCSTR , dwstate : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetSetDialState(lpszconnectoid.into().abi(), dwstate, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1951,7 +1951,7 @@ pub unsafe fn InternetSetDialStateA(lpszconnectoid: P0, dwstate: u32, dwrese where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetDialStateA ( lpszconnectoid : :: windows::core::PCSTR , dwstate : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetDialStateA ( lpszconnectoid : :: windows::core::PCSTR , dwstate : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetSetDialStateA(lpszconnectoid.into().abi(), dwstate, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -1961,41 +1961,41 @@ pub unsafe fn InternetSetDialStateW(lpszconnectoid: P0, dwstate: u32, dwrese where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetDialStateW ( lpszconnectoid : :: windows::core::PCWSTR , dwstate : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetDialStateW ( lpszconnectoid : :: windows::core::PCWSTR , dwstate : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetSetDialStateW(lpszconnectoid.into().abi(), dwstate, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn InternetSetFilePointer(hfile: *const ::core::ffi::c_void, ldistancetomove: i32, lpdistancetomovehigh: ::core::option::Option<*mut i32>, dwmovemethod: u32, dwcontext: usize) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetFilePointer ( hfile : *const ::core::ffi::c_void , ldistancetomove : i32 , lpdistancetomovehigh : *mut i32 , dwmovemethod : u32 , dwcontext : usize ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetFilePointer ( hfile : *const ::core::ffi::c_void , ldistancetomove : i32 , lpdistancetomovehigh : *mut i32 , dwmovemethod : u32 , dwcontext : usize ) -> u32 ); InternetSetFilePointer(hfile, ldistancetomove, ::core::mem::transmute(lpdistancetomovehigh.unwrap_or(::std::ptr::null_mut())), dwmovemethod, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetSetOptionA(hinternet: ::core::option::Option<*const ::core::ffi::c_void>, dwoption: u32, lpbuffer: ::core::option::Option<*const ::core::ffi::c_void>, dwbufferlength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetOptionA ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetOptionA ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> super::super::Foundation:: BOOL ); InternetSetOptionA(::core::mem::transmute(hinternet.unwrap_or(::std::ptr::null())), dwoption, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null())), dwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetSetOptionExA(hinternet: ::core::option::Option<*const ::core::ffi::c_void>, dwoption: u32, lpbuffer: ::core::option::Option<*const ::core::ffi::c_void>, dwbufferlength: u32, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetOptionExA ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetOptionExA ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetSetOptionExA(::core::mem::transmute(hinternet.unwrap_or(::std::ptr::null())), dwoption, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null())), dwbufferlength, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetSetOptionExW(hinternet: ::core::option::Option<*const ::core::ffi::c_void>, dwoption: u32, lpbuffer: ::core::option::Option<*const ::core::ffi::c_void>, dwbufferlength: u32, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetOptionExW ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetOptionExW ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); InternetSetOptionExW(::core::mem::transmute(hinternet.unwrap_or(::std::ptr::null())), dwoption, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null())), dwbufferlength, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetSetOptionW(hinternet: ::core::option::Option<*const ::core::ffi::c_void>, dwoption: u32, lpbuffer: ::core::option::Option<*const ::core::ffi::c_void>, dwbufferlength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetOptionW ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetOptionW ( hinternet : *const ::core::ffi::c_void , dwoption : u32 , lpbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 ) -> super::super::Foundation:: BOOL ); InternetSetOptionW(::core::mem::transmute(hinternet.unwrap_or(::std::ptr::null())), dwoption, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null())), dwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2005,7 +2005,7 @@ pub unsafe fn InternetSetPerSiteCookieDecisionA(pchhostname: P0, dwdecision: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetPerSiteCookieDecisionA ( pchhostname : :: windows::core::PCSTR , dwdecision : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetPerSiteCookieDecisionA ( pchhostname : :: windows::core::PCSTR , dwdecision : u32 ) -> super::super::Foundation:: BOOL ); InternetSetPerSiteCookieDecisionA(pchhostname.into().abi(), dwdecision) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2015,25 +2015,25 @@ pub unsafe fn InternetSetPerSiteCookieDecisionW(pchhostname: P0, dwdecision: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetPerSiteCookieDecisionW ( pchhostname : :: windows::core::PCWSTR , dwdecision : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetPerSiteCookieDecisionW ( pchhostname : :: windows::core::PCWSTR , dwdecision : u32 ) -> super::super::Foundation:: BOOL ); InternetSetPerSiteCookieDecisionW(pchhostname.into().abi(), dwdecision) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn InternetSetStatusCallback(hinternet: *const ::core::ffi::c_void, lpfninternetcallback: LPINTERNET_STATUS_CALLBACK) -> LPINTERNET_STATUS_CALLBACK { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetStatusCallback ( hinternet : *const ::core::ffi::c_void , lpfninternetcallback : LPINTERNET_STATUS_CALLBACK ) -> LPINTERNET_STATUS_CALLBACK ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetStatusCallback ( hinternet : *const ::core::ffi::c_void , lpfninternetcallback : LPINTERNET_STATUS_CALLBACK ) -> LPINTERNET_STATUS_CALLBACK ); InternetSetStatusCallback(hinternet, lpfninternetcallback) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn InternetSetStatusCallbackA(hinternet: *const ::core::ffi::c_void, lpfninternetcallback: LPINTERNET_STATUS_CALLBACK) -> LPINTERNET_STATUS_CALLBACK { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetStatusCallbackA ( hinternet : *const ::core::ffi::c_void , lpfninternetcallback : LPINTERNET_STATUS_CALLBACK ) -> LPINTERNET_STATUS_CALLBACK ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetStatusCallbackA ( hinternet : *const ::core::ffi::c_void , lpfninternetcallback : LPINTERNET_STATUS_CALLBACK ) -> LPINTERNET_STATUS_CALLBACK ); InternetSetStatusCallbackA(hinternet, lpfninternetcallback) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn InternetSetStatusCallbackW(hinternet: *const ::core::ffi::c_void, lpfninternetcallback: LPINTERNET_STATUS_CALLBACK) -> LPINTERNET_STATUS_CALLBACK { - ::windows::core::link ! ( "wininet.dll""system" fn InternetSetStatusCallbackW ( hinternet : *const ::core::ffi::c_void , lpfninternetcallback : LPINTERNET_STATUS_CALLBACK ) -> LPINTERNET_STATUS_CALLBACK ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetSetStatusCallbackW ( hinternet : *const ::core::ffi::c_void , lpfninternetcallback : LPINTERNET_STATUS_CALLBACK ) -> LPINTERNET_STATUS_CALLBACK ); InternetSetStatusCallbackW(hinternet, lpfninternetcallback) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2044,7 +2044,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetShowSecurityInfoByURL ( lpszurl : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetShowSecurityInfoByURL ( lpszurl : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); InternetShowSecurityInfoByURL(lpszurl.into().abi(), hwndparent.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2055,7 +2055,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetShowSecurityInfoByURLA ( lpszurl : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetShowSecurityInfoByURLA ( lpszurl : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); InternetShowSecurityInfoByURLA(lpszurl.into().abi(), hwndparent.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2066,28 +2066,28 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetShowSecurityInfoByURLW ( lpszurl : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetShowSecurityInfoByURLW ( lpszurl : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); InternetShowSecurityInfoByURLW(lpszurl.into().abi(), hwndparent.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetTimeFromSystemTime(pst: *const super::super::Foundation::SYSTEMTIME, dwrfc: u32, lpsztime: &mut [u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetTimeFromSystemTime ( pst : *const super::super::Foundation:: SYSTEMTIME , dwrfc : u32 , lpsztime : :: windows::core::PSTR , cbtime : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetTimeFromSystemTime ( pst : *const super::super::Foundation:: SYSTEMTIME , dwrfc : u32 , lpsztime : :: windows::core::PSTR , cbtime : u32 ) -> super::super::Foundation:: BOOL ); InternetTimeFromSystemTime(pst, dwrfc, ::core::mem::transmute(lpsztime.as_ptr()), lpsztime.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetTimeFromSystemTimeA(pst: *const super::super::Foundation::SYSTEMTIME, dwrfc: u32, lpsztime: &mut [u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetTimeFromSystemTimeA ( pst : *const super::super::Foundation:: SYSTEMTIME , dwrfc : u32 , lpsztime : :: windows::core::PSTR , cbtime : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetTimeFromSystemTimeA ( pst : *const super::super::Foundation:: SYSTEMTIME , dwrfc : u32 , lpsztime : :: windows::core::PSTR , cbtime : u32 ) -> super::super::Foundation:: BOOL ); InternetTimeFromSystemTimeA(pst, dwrfc, ::core::mem::transmute(lpsztime.as_ptr()), lpsztime.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetTimeFromSystemTimeW(pst: *const super::super::Foundation::SYSTEMTIME, dwrfc: u32, lpsztime: ::windows::core::PWSTR, cbtime: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetTimeFromSystemTimeW ( pst : *const super::super::Foundation:: SYSTEMTIME , dwrfc : u32 , lpsztime : :: windows::core::PWSTR , cbtime : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetTimeFromSystemTimeW ( pst : *const super::super::Foundation:: SYSTEMTIME , dwrfc : u32 , lpsztime : :: windows::core::PWSTR , cbtime : u32 ) -> super::super::Foundation:: BOOL ); InternetTimeFromSystemTimeW(pst, dwrfc, ::core::mem::transmute(lpsztime), cbtime) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2097,7 +2097,7 @@ pub unsafe fn InternetTimeToSystemTime(lpsztime: P0, pst: *mut super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetTimeToSystemTime ( lpsztime : :: windows::core::PCSTR , pst : *mut super::super::Foundation:: SYSTEMTIME , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetTimeToSystemTime ( lpsztime : :: windows::core::PCSTR , pst : *mut super::super::Foundation:: SYSTEMTIME , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetTimeToSystemTime(lpsztime.into().abi(), pst, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2107,7 +2107,7 @@ pub unsafe fn InternetTimeToSystemTimeA(lpsztime: P0, pst: *mut super::super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetTimeToSystemTimeA ( lpsztime : :: windows::core::PCSTR , pst : *mut super::super::Foundation:: SYSTEMTIME , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetTimeToSystemTimeA ( lpsztime : :: windows::core::PCSTR , pst : *mut super::super::Foundation:: SYSTEMTIME , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetTimeToSystemTimeA(lpsztime.into().abi(), pst, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2117,7 +2117,7 @@ pub unsafe fn InternetTimeToSystemTimeW(lpsztime: P0, pst: *mut super::super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetTimeToSystemTimeW ( lpsztime : :: windows::core::PCWSTR , pst : *mut super::super::Foundation:: SYSTEMTIME , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetTimeToSystemTimeW ( lpsztime : :: windows::core::PCWSTR , pst : *mut super::super::Foundation:: SYSTEMTIME , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); InternetTimeToSystemTimeW(lpsztime.into().abi(), pst, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2127,28 +2127,28 @@ pub unsafe fn InternetUnlockRequestFile(hlockrequestinfo: P0) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn InternetUnlockRequestFile ( hlockrequestinfo : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetUnlockRequestFile ( hlockrequestinfo : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); InternetUnlockRequestFile(hlockrequestinfo.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetWriteFile(hfile: *const ::core::ffi::c_void, lpbuffer: *const ::core::ffi::c_void, dwnumberofbytestowrite: u32, lpdwnumberofbyteswritten: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetWriteFile ( hfile : *const ::core::ffi::c_void , lpbuffer : *const ::core::ffi::c_void , dwnumberofbytestowrite : u32 , lpdwnumberofbyteswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetWriteFile ( hfile : *const ::core::ffi::c_void , lpbuffer : *const ::core::ffi::c_void , dwnumberofbytestowrite : u32 , lpdwnumberofbyteswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); InternetWriteFile(hfile, lpbuffer, dwnumberofbytestowrite, lpdwnumberofbyteswritten) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetWriteFileExA(hfile: *const ::core::ffi::c_void, lpbuffersin: *const INTERNET_BUFFERSA, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetWriteFileExA ( hfile : *const ::core::ffi::c_void , lpbuffersin : *const INTERNET_BUFFERSA , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetWriteFileExA ( hfile : *const ::core::ffi::c_void , lpbuffersin : *const INTERNET_BUFFERSA , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); InternetWriteFileExA(hfile, lpbuffersin, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InternetWriteFileExW(hfile: *const ::core::ffi::c_void, lpbuffersin: *const INTERNET_BUFFERSW, dwflags: u32, dwcontext: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn InternetWriteFileExW ( hfile : *const ::core::ffi::c_void , lpbuffersin : *const INTERNET_BUFFERSW , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn InternetWriteFileExW ( hfile : *const ::core::ffi::c_void , lpbuffersin : *const INTERNET_BUFFERSW , dwflags : u32 , dwcontext : usize ) -> super::super::Foundation:: BOOL ); InternetWriteFileExW(hfile, lpbuffersin, dwflags, dwcontext) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2159,7 +2159,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn IsDomainLegalCookieDomainA ( pchdomain : :: windows::core::PCSTR , pchfulldomain : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn IsDomainLegalCookieDomainA ( pchdomain : :: windows::core::PCSTR , pchfulldomain : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); IsDomainLegalCookieDomainA(pchdomain.into().abi(), pchfulldomain.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2170,21 +2170,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn IsDomainLegalCookieDomainW ( pchdomain : :: windows::core::PCWSTR , pchfulldomain : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn IsDomainLegalCookieDomainW ( pchdomain : :: windows::core::PCWSTR , pchfulldomain : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); IsDomainLegalCookieDomainW(pchdomain.into().abi(), pchfulldomain.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsHostInProxyBypassList(tscheme: INTERNET_SCHEME, lpszhost: &[u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn IsHostInProxyBypassList ( tscheme : INTERNET_SCHEME , lpszhost : :: windows::core::PCSTR , cchhost : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn IsHostInProxyBypassList ( tscheme : INTERNET_SCHEME , lpszhost : :: windows::core::PCSTR , cchhost : u32 ) -> super::super::Foundation:: BOOL ); IsHostInProxyBypassList(tscheme, ::core::mem::transmute(lpszhost.as_ptr()), lpszhost.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsProfilesEnabled() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn IsProfilesEnabled ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn IsProfilesEnabled ( ) -> super::super::Foundation:: BOOL ); IsProfilesEnabled() } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2194,7 +2194,7 @@ pub unsafe fn IsUrlCacheEntryExpiredA(lpszurlname: P0, dwflags: u32, pftlast where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn IsUrlCacheEntryExpiredA ( lpszurlname : :: windows::core::PCSTR , dwflags : u32 , pftlastmodified : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn IsUrlCacheEntryExpiredA ( lpszurlname : :: windows::core::PCSTR , dwflags : u32 , pftlastmodified : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); IsUrlCacheEntryExpiredA(lpszurlname.into().abi(), dwflags, pftlastmodified) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2204,20 +2204,20 @@ pub unsafe fn IsUrlCacheEntryExpiredW(lpszurlname: P0, dwflags: u32, pftlast where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn IsUrlCacheEntryExpiredW ( lpszurlname : :: windows::core::PCWSTR , dwflags : u32 , pftlastmodified : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn IsUrlCacheEntryExpiredW ( lpszurlname : :: windows::core::PCWSTR , dwflags : u32 , pftlastmodified : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); IsUrlCacheEntryExpiredW(lpszurlname.into().abi(), dwflags, pftlastmodified) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LoadUrlCacheContent() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn LoadUrlCacheContent ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn LoadUrlCacheContent ( ) -> super::super::Foundation:: BOOL ); LoadUrlCacheContent() } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn ParseX509EncodedCertificateForListBoxEntry(lpcert: &[u8], lpszlistboxentry: ::windows::core::PSTR, lpdwlistboxentry: *mut u32) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn ParseX509EncodedCertificateForListBoxEntry ( lpcert : *const u8 , cbcert : u32 , lpszlistboxentry : :: windows::core::PSTR , lpdwlistboxentry : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn ParseX509EncodedCertificateForListBoxEntry ( lpcert : *const u8 , cbcert : u32 , lpszlistboxentry : :: windows::core::PSTR , lpdwlistboxentry : *mut u32 ) -> u32 ); ParseX509EncodedCertificateForListBoxEntry(::core::mem::transmute(lpcert.as_ptr()), lpcert.len() as _, ::core::mem::transmute(lpszlistboxentry), lpdwlistboxentry) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2227,13 +2227,13 @@ pub unsafe fn PerformOperationOverUrlCacheA(pszurlsearchpattern: P0, dwflags where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn PerformOperationOverUrlCacheA ( pszurlsearchpattern : :: windows::core::PCSTR , dwflags : u32 , dwfilter : u32 , groupid : i64 , preserved1 : *const ::core::ffi::c_void , pdwreserved2 : *const u32 , preserved3 : *const ::core::ffi::c_void , op : CACHE_OPERATOR , poperatordata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn PerformOperationOverUrlCacheA ( pszurlsearchpattern : :: windows::core::PCSTR , dwflags : u32 , dwfilter : u32 , groupid : i64 , preserved1 : *const ::core::ffi::c_void , pdwreserved2 : *const u32 , preserved3 : *const ::core::ffi::c_void , op : CACHE_OPERATOR , poperatordata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); PerformOperationOverUrlCacheA(pszurlsearchpattern.into().abi(), dwflags, dwfilter, groupid, ::core::mem::transmute(preserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdwreserved2.unwrap_or(::std::ptr::null())), ::core::mem::transmute(preserved3.unwrap_or(::std::ptr::null())), op, poperatordata) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn PrivacyGetZonePreferenceW(dwzone: u32, dwtype: u32, pdwtemplate: ::core::option::Option<*mut u32>, pszbuffer: ::windows::core::PWSTR, pdwbufferlength: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn PrivacyGetZonePreferenceW ( dwzone : u32 , dwtype : u32 , pdwtemplate : *mut u32 , pszbuffer : :: windows::core::PWSTR , pdwbufferlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn PrivacyGetZonePreferenceW ( dwzone : u32 , dwtype : u32 , pdwtemplate : *mut u32 , pszbuffer : :: windows::core::PWSTR , pdwbufferlength : *mut u32 ) -> u32 ); PrivacyGetZonePreferenceW(dwzone, dwtype, ::core::mem::transmute(pdwtemplate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszbuffer), ::core::mem::transmute(pdwbufferlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -2242,14 +2242,14 @@ pub unsafe fn PrivacySetZonePreferenceW(dwzone: u32, dwtype: u32, dwtemplate where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn PrivacySetZonePreferenceW ( dwzone : u32 , dwtype : u32 , dwtemplate : u32 , pszpreference : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn PrivacySetZonePreferenceW ( dwzone : u32 , dwtype : u32 , dwtemplate : u32 , pszpreference : :: windows::core::PCWSTR ) -> u32 ); PrivacySetZonePreferenceW(dwzone, dwtype, dwtemplate, pszpreference.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReadGuidsForConnectedNetworks(pcnetworks: ::core::option::Option<*mut u32>, pppwsznetworkguids: ::core::option::Option<*mut *mut ::windows::core::PWSTR>, pppbstrnetworknames: ::core::option::Option<*mut *mut ::windows::core::BSTR>, pppwszgwmacs: ::core::option::Option<*mut *mut ::windows::core::PWSTR>, pcgatewaymacs: ::core::option::Option<*mut u32>, pdwflags: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn ReadGuidsForConnectedNetworks ( pcnetworks : *mut u32 , pppwsznetworkguids : *mut *mut :: windows::core::PWSTR , pppbstrnetworknames : *mut *mut :: windows::core::BSTR , pppwszgwmacs : *mut *mut :: windows::core::PWSTR , pcgatewaymacs : *mut u32 , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn ReadGuidsForConnectedNetworks ( pcnetworks : *mut u32 , pppwsznetworkguids : *mut *mut :: windows::core::PWSTR , pppbstrnetworknames : *mut *mut :: windows::core::BSTR , pppwszgwmacs : *mut *mut :: windows::core::PWSTR , pcgatewaymacs : *mut u32 , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadGuidsForConnectedNetworks(::core::mem::transmute(pcnetworks.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pppwsznetworkguids.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pppbstrnetworknames.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pppwszgwmacs.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcgatewaymacs.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2259,7 +2259,7 @@ pub unsafe fn ReadUrlCacheEntryStream(hurlcachestream: P0, dwlocation: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn ReadUrlCacheEntryStream ( hurlcachestream : super::super::Foundation:: HANDLE , dwlocation : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwlen : *mut u32 , reserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn ReadUrlCacheEntryStream ( hurlcachestream : super::super::Foundation:: HANDLE , dwlocation : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwlen : *mut u32 , reserved : u32 ) -> super::super::Foundation:: BOOL ); ReadUrlCacheEntryStream(hurlcachestream.into(), dwlocation, lpbuffer, lpdwlen, reserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2269,7 +2269,7 @@ pub unsafe fn ReadUrlCacheEntryStreamEx(hurlcachestream: P0, qwlocation: u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn ReadUrlCacheEntryStreamEx ( hurlcachestream : super::super::Foundation:: HANDLE , qwlocation : u64 , lpbuffer : *mut ::core::ffi::c_void , lpdwlen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn ReadUrlCacheEntryStreamEx ( hurlcachestream : super::super::Foundation:: HANDLE , qwlocation : u64 , lpbuffer : *mut ::core::ffi::c_void , lpdwlen : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadUrlCacheEntryStreamEx(hurlcachestream.into(), qwlocation, lpbuffer, lpdwlen) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2279,14 +2279,14 @@ pub unsafe fn RegisterUrlCacheNotification(hwnd: P0, umsg: u32, gid: i64, dw where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn RegisterUrlCacheNotification ( hwnd : super::super::Foundation:: HWND , umsg : u32 , gid : i64 , dwopsfilter : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn RegisterUrlCacheNotification ( hwnd : super::super::Foundation:: HWND , umsg : u32 , gid : i64 , dwopsfilter : u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); RegisterUrlCacheNotification(hwnd.into(), umsg, gid, dwopsfilter, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResumeSuspendedDownload(hrequest: *const ::core::ffi::c_void, dwresultcode: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn ResumeSuspendedDownload ( hrequest : *const ::core::ffi::c_void , dwresultcode : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn ResumeSuspendedDownload ( hrequest : *const ::core::ffi::c_void , dwresultcode : u32 ) -> super::super::Foundation:: BOOL ); ResumeSuspendedDownload(hrequest, dwresultcode) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2296,7 +2296,7 @@ pub unsafe fn RetrieveUrlCacheEntryFileA(lpszurlname: P0, lpcacheentryinfo: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn RetrieveUrlCacheEntryFileA ( lpszurlname : :: windows::core::PCSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn RetrieveUrlCacheEntryFileA ( lpszurlname : :: windows::core::PCSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); RetrieveUrlCacheEntryFileA(lpszurlname.into().abi(), ::core::mem::transmute(lpcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2306,7 +2306,7 @@ pub unsafe fn RetrieveUrlCacheEntryFileW(lpszurlname: P0, lpcacheentryinfo: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn RetrieveUrlCacheEntryFileW ( lpszurlname : :: windows::core::PCWSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn RetrieveUrlCacheEntryFileW ( lpszurlname : :: windows::core::PCWSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); RetrieveUrlCacheEntryFileW(lpszurlname.into().abi(), ::core::mem::transmute(lpcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2317,9 +2317,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn RetrieveUrlCacheEntryStreamA ( lpszurlname : :: windows::core::PCSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , frandomread : super::super::Foundation:: BOOL , dwreserved : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn RetrieveUrlCacheEntryStreamA ( lpszurlname : :: windows::core::PCSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOA , lpcbcacheentryinfo : *mut u32 , frandomread : super::super::Foundation:: BOOL , dwreserved : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = RetrieveUrlCacheEntryStreamA(lpszurlname.into().abi(), ::core::mem::transmute(lpcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo, frandomread.into(), dwreserved); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2329,9 +2329,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn RetrieveUrlCacheEntryStreamW ( lpszurlname : :: windows::core::PCWSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , frandomread : super::super::Foundation:: BOOL , dwreserved : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wininet.dll""system" fn RetrieveUrlCacheEntryStreamW ( lpszurlname : :: windows::core::PCWSTR , lpcacheentryinfo : *mut INTERNET_CACHE_ENTRY_INFOW , lpcbcacheentryinfo : *mut u32 , frandomread : super::super::Foundation:: BOOL , dwreserved : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = RetrieveUrlCacheEntryStreamW(lpszurlname.into().abi(), ::core::mem::transmute(lpcacheentryinfo.unwrap_or(::std::ptr::null_mut())), lpcbcacheentryinfo, frandomread.into(), dwreserved); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2342,21 +2342,21 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn RunOnceUrlCache ( hwnd : super::super::Foundation:: HWND , hinst : super::super::Foundation:: HINSTANCE , lpszcmd : :: windows::core::PCSTR , ncmdshow : i32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn RunOnceUrlCache ( hwnd : super::super::Foundation:: HWND , hinst : super::super::Foundation:: HINSTANCE , lpszcmd : :: windows::core::PCSTR , ncmdshow : i32 ) -> u32 ); RunOnceUrlCache(hwnd.into(), hinst.into(), lpszcmd.into().abi(), ncmdshow) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetUrlCacheConfigInfoA(lpcacheconfiginfo: *const INTERNET_CACHE_CONFIG_INFOA, dwfieldcontrol: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheConfigInfoA ( lpcacheconfiginfo : *const INTERNET_CACHE_CONFIG_INFOA , dwfieldcontrol : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheConfigInfoA ( lpcacheconfiginfo : *const INTERNET_CACHE_CONFIG_INFOA , dwfieldcontrol : u32 ) -> super::super::Foundation:: BOOL ); SetUrlCacheConfigInfoA(lpcacheconfiginfo, dwfieldcontrol) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetUrlCacheConfigInfoW(lpcacheconfiginfo: *const INTERNET_CACHE_CONFIG_INFOW, dwfieldcontrol: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheConfigInfoW ( lpcacheconfiginfo : *const INTERNET_CACHE_CONFIG_INFOW , dwfieldcontrol : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheConfigInfoW ( lpcacheconfiginfo : *const INTERNET_CACHE_CONFIG_INFOW , dwfieldcontrol : u32 ) -> super::super::Foundation:: BOOL ); SetUrlCacheConfigInfoW(lpcacheconfiginfo, dwfieldcontrol) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2366,7 +2366,7 @@ pub unsafe fn SetUrlCacheEntryGroup(lpszurlname: P0, dwflags: u32, groupid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheEntryGroup ( lpszurlname : :: windows::core::PCSTR , dwflags : u32 , groupid : i64 , pbgroupattributes : *const u8 , cbgroupattributes : u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheEntryGroup ( lpszurlname : :: windows::core::PCSTR , dwflags : u32 , groupid : i64 , pbgroupattributes : *const u8 , cbgroupattributes : u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetUrlCacheEntryGroup(lpszurlname.into().abi(), dwflags, groupid, ::core::mem::transmute(pbgroupattributes.unwrap_or(::std::ptr::null())), cbgroupattributes, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2376,7 +2376,7 @@ pub unsafe fn SetUrlCacheEntryGroupA(lpszurlname: P0, dwflags: u32, groupid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheEntryGroupA ( lpszurlname : :: windows::core::PCSTR , dwflags : u32 , groupid : i64 , pbgroupattributes : *const u8 , cbgroupattributes : u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheEntryGroupA ( lpszurlname : :: windows::core::PCSTR , dwflags : u32 , groupid : i64 , pbgroupattributes : *const u8 , cbgroupattributes : u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetUrlCacheEntryGroupA(lpszurlname.into().abi(), dwflags, groupid, ::core::mem::transmute(pbgroupattributes.unwrap_or(::std::ptr::null())), cbgroupattributes, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2386,7 +2386,7 @@ pub unsafe fn SetUrlCacheEntryGroupW(lpszurlname: P0, dwflags: u32, groupid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheEntryGroupW ( lpszurlname : :: windows::core::PCWSTR , dwflags : u32 , groupid : i64 , pbgroupattributes : *const u8 , cbgroupattributes : u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheEntryGroupW ( lpszurlname : :: windows::core::PCWSTR , dwflags : u32 , groupid : i64 , pbgroupattributes : *const u8 , cbgroupattributes : u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetUrlCacheEntryGroupW(lpszurlname.into().abi(), dwflags, groupid, ::core::mem::transmute(pbgroupattributes.unwrap_or(::std::ptr::null())), cbgroupattributes, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2396,7 +2396,7 @@ pub unsafe fn SetUrlCacheEntryInfoA(lpszurlname: P0, lpcacheentryinfo: *cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheEntryInfoA ( lpszurlname : :: windows::core::PCSTR , lpcacheentryinfo : *const INTERNET_CACHE_ENTRY_INFOA , dwfieldcontrol : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheEntryInfoA ( lpszurlname : :: windows::core::PCSTR , lpcacheentryinfo : *const INTERNET_CACHE_ENTRY_INFOA , dwfieldcontrol : u32 ) -> super::super::Foundation:: BOOL ); SetUrlCacheEntryInfoA(lpszurlname.into().abi(), lpcacheentryinfo, dwfieldcontrol) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2406,28 +2406,28 @@ pub unsafe fn SetUrlCacheEntryInfoW(lpszurlname: P0, lpcacheentryinfo: *cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheEntryInfoW ( lpszurlname : :: windows::core::PCWSTR , lpcacheentryinfo : *const INTERNET_CACHE_ENTRY_INFOW , dwfieldcontrol : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheEntryInfoW ( lpszurlname : :: windows::core::PCWSTR , lpcacheentryinfo : *const INTERNET_CACHE_ENTRY_INFOW , dwfieldcontrol : u32 ) -> super::super::Foundation:: BOOL ); SetUrlCacheEntryInfoW(lpszurlname.into().abi(), lpcacheentryinfo, dwfieldcontrol) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetUrlCacheGroupAttributeA(gid: i64, dwflags: u32, dwattributes: u32, lpgroupinfo: *const INTERNET_CACHE_GROUP_INFOA, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheGroupAttributeA ( gid : i64 , dwflags : u32 , dwattributes : u32 , lpgroupinfo : *const INTERNET_CACHE_GROUP_INFOA , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheGroupAttributeA ( gid : i64 , dwflags : u32 , dwattributes : u32 , lpgroupinfo : *const INTERNET_CACHE_GROUP_INFOA , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetUrlCacheGroupAttributeA(gid, dwflags, dwattributes, lpgroupinfo, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetUrlCacheGroupAttributeW(gid: i64, dwflags: u32, dwattributes: u32, lpgroupinfo: *const INTERNET_CACHE_GROUP_INFOW, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheGroupAttributeW ( gid : i64 , dwflags : u32 , dwattributes : u32 , lpgroupinfo : *const INTERNET_CACHE_GROUP_INFOW , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheGroupAttributeW ( gid : i64 , dwflags : u32 , dwattributes : u32 , lpgroupinfo : *const INTERNET_CACHE_GROUP_INFOW , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetUrlCacheGroupAttributeW(gid, dwflags, dwattributes, lpgroupinfo, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetUrlCacheHeaderData(nidx: u32, dwdata: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wininet.dll""system" fn SetUrlCacheHeaderData ( nidx : u32 , dwdata : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn SetUrlCacheHeaderData ( nidx : u32 , dwdata : u32 ) -> super::super::Foundation:: BOOL ); SetUrlCacheHeaderData(nidx, dwdata) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2437,7 +2437,7 @@ pub unsafe fn ShowClientAuthCerts(hwndparent: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn ShowClientAuthCerts ( hwndparent : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn ShowClientAuthCerts ( hwndparent : super::super::Foundation:: HWND ) -> u32 ); ShowClientAuthCerts(hwndparent.into()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] @@ -2447,7 +2447,7 @@ pub unsafe fn ShowSecurityInfo(hwndparent: P0, psecurityinfo: *const INTERNE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn ShowSecurityInfo ( hwndparent : super::super::Foundation:: HWND , psecurityinfo : *const INTERNET_SECURITY_INFO ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn ShowSecurityInfo ( hwndparent : super::super::Foundation:: HWND , psecurityinfo : *const INTERNET_SECURITY_INFO ) -> u32 ); ShowSecurityInfo(hwndparent.into(), psecurityinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2457,7 +2457,7 @@ pub unsafe fn ShowX509EncodedCertificate(hwndparent: P0, lpcert: &[u8]) -> u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn ShowX509EncodedCertificate ( hwndparent : super::super::Foundation:: HWND , lpcert : *const u8 , cbcert : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn ShowX509EncodedCertificate ( hwndparent : super::super::Foundation:: HWND , lpcert : *const u8 , cbcert : u32 ) -> u32 ); ShowX509EncodedCertificate(hwndparent.into(), ::core::mem::transmute(lpcert.as_ptr()), lpcert.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2467,7 +2467,7 @@ pub unsafe fn UnlockUrlCacheEntryFile(lpszurlname: P0, dwreserved: u32) -> s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UnlockUrlCacheEntryFile ( lpszurlname : :: windows::core::PCSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn UnlockUrlCacheEntryFile ( lpszurlname : :: windows::core::PCSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); UnlockUrlCacheEntryFile(lpszurlname.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2477,7 +2477,7 @@ pub unsafe fn UnlockUrlCacheEntryFileA(lpszurlname: P0, dwreserved: u32) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UnlockUrlCacheEntryFileA ( lpszurlname : :: windows::core::PCSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn UnlockUrlCacheEntryFileA ( lpszurlname : :: windows::core::PCSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); UnlockUrlCacheEntryFileA(lpszurlname.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2487,7 +2487,7 @@ pub unsafe fn UnlockUrlCacheEntryFileW(lpszurlname: P0, dwreserved: u32) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UnlockUrlCacheEntryFileW ( lpszurlname : :: windows::core::PCWSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn UnlockUrlCacheEntryFileW ( lpszurlname : :: windows::core::PCWSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); UnlockUrlCacheEntryFileW(lpszurlname.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2497,7 +2497,7 @@ pub unsafe fn UnlockUrlCacheEntryStream(hurlcachestream: P0, reserved: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn UnlockUrlCacheEntryStream ( hurlcachestream : super::super::Foundation:: HANDLE , reserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn UnlockUrlCacheEntryStream ( hurlcachestream : super::super::Foundation:: HANDLE , reserved : u32 ) -> super::super::Foundation:: BOOL ); UnlockUrlCacheEntryStream(hurlcachestream.into(), reserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2507,20 +2507,20 @@ pub unsafe fn UpdateUrlCacheContentPath(sznewpath: P0) -> super::super::Foun where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UpdateUrlCacheContentPath ( sznewpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wininet.dll""system" fn UpdateUrlCacheContentPath ( sznewpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); UpdateUrlCacheContentPath(sznewpath.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UrlCacheCheckEntriesExist(rgpwszurls: *const ::windows::core::PCWSTR, centries: u32, rgfexist: *mut super::super::Foundation::BOOL) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheCheckEntriesExist ( rgpwszurls : *const :: windows::core::PCWSTR , centries : u32 , rgfexist : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheCheckEntriesExist ( rgpwszurls : *const :: windows::core::PCWSTR , centries : u32 , rgfexist : *mut super::super::Foundation:: BOOL ) -> u32 ); UrlCacheCheckEntriesExist(rgpwszurls, centries, rgfexist) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheCloseEntryHandle(hentryfile: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheCloseEntryHandle ( hentryfile : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheCloseEntryHandle ( hentryfile : *const ::core::ffi::c_void ) -> ( ) ); UrlCacheCloseEntryHandle(hentryfile) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -2529,7 +2529,7 @@ pub unsafe fn UrlCacheContainerSetEntryMaximumAge(pwszprefix: P0, dwentrymax where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheContainerSetEntryMaximumAge ( pwszprefix : :: windows::core::PCWSTR , dwentrymaxage : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheContainerSetEntryMaximumAge ( pwszprefix : :: windows::core::PCWSTR , dwentrymaxage : u32 ) -> u32 ); UrlCacheContainerSetEntryMaximumAge(pwszprefix.into().abi(), dwentrymaxage) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -2540,7 +2540,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheCreateContainer ( pwszname : :: windows::core::PCWSTR , pwszprefix : :: windows::core::PCWSTR , pwszdirectory : :: windows::core::PCWSTR , ulllimit : u64 , dwoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheCreateContainer ( pwszname : :: windows::core::PCWSTR , pwszprefix : :: windows::core::PCWSTR , pwszdirectory : :: windows::core::PCWSTR , ulllimit : u64 , dwoptions : u32 ) -> u32 ); UrlCacheCreateContainer(pwszname.into().abi(), pwszprefix.into().abi(), pwszdirectory.into().abi(), ulllimit, dwoptions) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2550,7 +2550,7 @@ pub unsafe fn UrlCacheFindFirstEntry(pwszprefix: P0, dwflags: u32, dwfilter: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheFindFirstEntry ( pwszprefix : :: windows::core::PCWSTR , dwflags : u32 , dwfilter : u32 , groupid : i64 , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO , phfind : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheFindFirstEntry ( pwszprefix : :: windows::core::PCWSTR , dwflags : u32 , dwfilter : u32 , groupid : i64 , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO , phfind : *mut super::super::Foundation:: HANDLE ) -> u32 ); UrlCacheFindFirstEntry(pwszprefix.into().abi(), dwflags, dwfilter, groupid, pcacheentryinfo, phfind) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2560,26 +2560,26 @@ pub unsafe fn UrlCacheFindNextEntry(hfind: P0, pcacheentryinfo: *mut URLCACH where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheFindNextEntry ( hfind : super::super::Foundation:: HANDLE , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheFindNextEntry ( hfind : super::super::Foundation:: HANDLE , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO ) -> u32 ); UrlCacheFindNextEntry(hfind.into(), pcacheentryinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UrlCacheFreeEntryInfo(pcacheentryinfo: *mut URLCACHE_ENTRY_INFO) { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheFreeEntryInfo ( pcacheentryinfo : *mut URLCACHE_ENTRY_INFO ) -> ( ) ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheFreeEntryInfo ( pcacheentryinfo : *mut URLCACHE_ENTRY_INFO ) -> ( ) ); UrlCacheFreeEntryInfo(pcacheentryinfo) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheFreeGlobalSpace(ulltargetsize: u64, dwfilter: u32) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheFreeGlobalSpace ( ulltargetsize : u64 , dwfilter : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheFreeGlobalSpace ( ulltargetsize : u64 , dwfilter : u32 ) -> u32 ); UrlCacheFreeGlobalSpace(ulltargetsize, dwfilter) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheGetContentPaths(pppwszdirectories: *mut *mut ::windows::core::PWSTR, pcdirectories: *mut u32) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheGetContentPaths ( pppwszdirectories : *mut *mut :: windows::core::PWSTR , pcdirectories : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheGetContentPaths ( pppwszdirectories : *mut *mut :: windows::core::PWSTR , pcdirectories : *mut u32 ) -> u32 ); UrlCacheGetContentPaths(pppwszdirectories, pcdirectories) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2589,31 +2589,31 @@ pub unsafe fn UrlCacheGetEntryInfo(happcache: ::core::option::Option<*const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheGetEntryInfo ( happcache : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheGetEntryInfo ( happcache : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO ) -> u32 ); UrlCacheGetEntryInfo(::core::mem::transmute(happcache.unwrap_or(::std::ptr::null())), pcwszurl.into().abi(), ::core::mem::transmute(pcacheentryinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheGetGlobalCacheSize(dwfilter: u32, pullsize: *mut u64, pulllimit: *mut u64) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheGetGlobalCacheSize ( dwfilter : u32 , pullsize : *mut u64 , pulllimit : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheGetGlobalCacheSize ( dwfilter : u32 , pullsize : *mut u64 , pulllimit : *mut u64 ) -> u32 ); UrlCacheGetGlobalCacheSize(dwfilter, pullsize, pulllimit) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheGetGlobalLimit(limittype: URL_CACHE_LIMIT_TYPE, pulllimit: *mut u64) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheGetGlobalLimit ( limittype : URL_CACHE_LIMIT_TYPE , pulllimit : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheGetGlobalLimit ( limittype : URL_CACHE_LIMIT_TYPE , pulllimit : *mut u64 ) -> u32 ); UrlCacheGetGlobalLimit(limittype, pulllimit) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheReadEntryStream(hurlcachestream: *const ::core::ffi::c_void, ulllocation: u64, pbuffer: *mut ::core::ffi::c_void, dwbufferlen: u32, pdwbufferlen: *mut u32) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheReadEntryStream ( hurlcachestream : *const ::core::ffi::c_void , ulllocation : u64 , pbuffer : *mut ::core::ffi::c_void , dwbufferlen : u32 , pdwbufferlen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheReadEntryStream ( hurlcachestream : *const ::core::ffi::c_void , ulllocation : u64 , pbuffer : *mut ::core::ffi::c_void , dwbufferlen : u32 , pdwbufferlen : *mut u32 ) -> u32 ); UrlCacheReadEntryStream(hurlcachestream, ulllocation, pbuffer, dwbufferlen, pdwbufferlen) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheReloadSettings() -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheReloadSettings ( ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheReloadSettings ( ) -> u32 ); UrlCacheReloadSettings() } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2623,7 +2623,7 @@ pub unsafe fn UrlCacheRetrieveEntryFile(happcache: ::core::option::Option<*c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheRetrieveEntryFile ( happcache : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO , phentryfile : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheRetrieveEntryFile ( happcache : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO , phentryfile : *mut *mut ::core::ffi::c_void ) -> u32 ); UrlCacheRetrieveEntryFile(::core::mem::transmute(happcache.unwrap_or(::std::ptr::null())), pcwszurl.into().abi(), pcacheentryinfo, phentryfile) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] @@ -2634,19 +2634,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheRetrieveEntryStream ( happcache : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , frandomread : super::super::Foundation:: BOOL , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO , phentrystream : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheRetrieveEntryStream ( happcache : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , frandomread : super::super::Foundation:: BOOL , pcacheentryinfo : *mut URLCACHE_ENTRY_INFO , phentrystream : *mut *mut ::core::ffi::c_void ) -> u32 ); UrlCacheRetrieveEntryStream(::core::mem::transmute(happcache.unwrap_or(::std::ptr::null())), pcwszurl.into().abi(), frandomread.into(), pcacheentryinfo, phentrystream) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheServer() -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheServer ( ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheServer ( ) -> u32 ); UrlCacheServer() } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[inline] pub unsafe fn UrlCacheSetGlobalLimit(limittype: URL_CACHE_LIMIT_TYPE, ulllimit: u64) -> u32 { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheSetGlobalLimit ( limittype : URL_CACHE_LIMIT_TYPE , ulllimit : u64 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheSetGlobalLimit ( limittype : URL_CACHE_LIMIT_TYPE , ulllimit : u64 ) -> u32 ); UrlCacheSetGlobalLimit(limittype, ulllimit) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -2655,7 +2655,7 @@ pub unsafe fn UrlCacheUpdateEntryExtraData(happcache: ::core::option::Option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wininet.dll""system" fn UrlCacheUpdateEntryExtraData ( happcache : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pbextradata : *const u8 , cbextradata : u32 ) -> u32 ); + ::windows::imp::link ! ( "wininet.dll""system" fn UrlCacheUpdateEntryExtraData ( happcache : *const ::core::ffi::c_void , pcwszurl : :: windows::core::PCWSTR , pbextradata : *const u8 , cbextradata : u32 ) -> u32 ); UrlCacheUpdateEntryExtraData(::core::mem::transmute(happcache.unwrap_or(::std::ptr::null())), pcwszurl.into().abi(), ::core::mem::transmute(pbextradata.as_ptr()), pbextradata.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -2675,7 +2675,7 @@ impl IDialBranding { (::windows::core::Vtable::vtable(self).GetBitmap)(::windows::core::Vtable::as_raw(self), dwindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDialBranding, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDialBranding, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDialBranding { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2748,7 +2748,7 @@ impl IDialEngine { (::windows::core::Vtable::vtable(self).GetConnectHandle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDialEngine, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDialEngine, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDialEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2791,7 +2791,7 @@ impl IDialEventSink { (::windows::core::Vtable::vtable(self).OnEvent)(::windows::core::Vtable::as_raw(self), dwevent, dwstatus).ok() } } -::windows::core::interface_hierarchy!(IDialEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDialEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDialEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2831,7 +2831,7 @@ impl IProofOfPossessionCookieInfoManager { (::windows::core::Vtable::vtable(self).GetCookieInfoForUri)(::windows::core::Vtable::as_raw(self), uri.into().abi(), cookieinfocount, cookieinfo).ok() } } -::windows::core::interface_hierarchy!(IProofOfPossessionCookieInfoManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProofOfPossessionCookieInfoManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProofOfPossessionCookieInfoManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2872,7 +2872,7 @@ impl IProofOfPossessionCookieInfoManager2 { (::windows::core::Vtable::vtable(self).GetCookieInfoWithUriForAccount)(::windows::core::Vtable::as_raw(self), webaccount.into().abi(), uri.into().abi(), cookieinfocount, cookieinfo).ok() } } -::windows::core::interface_hierarchy!(IProofOfPossessionCookieInfoManager2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProofOfPossessionCookieInfoManager2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProofOfPossessionCookieInfoManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs index e98945606d..e3dd2144f3 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs @@ -6,47 +6,47 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mswsock.dll""system" fn AcceptEx ( slistensocket : SOCKET , sacceptsocket : SOCKET , lpoutputbuffer : *mut ::core::ffi::c_void , dwreceivedatalength : u32 , dwlocaladdresslength : u32 , dwremoteaddresslength : u32 , lpdwbytesreceived : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mswsock.dll""system" fn AcceptEx ( slistensocket : SOCKET , sacceptsocket : SOCKET , lpoutputbuffer : *mut ::core::ffi::c_void , dwreceivedatalength : u32 , dwlocaladdresslength : u32 , dwremoteaddresslength : u32 , lpdwbytesreceived : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); AcceptEx(slistensocket.into(), sacceptsocket.into(), lpoutputbuffer, dwreceivedatalength, dwlocaladdresslength, dwremoteaddresslength, lpdwbytesreceived, lpoverlapped) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn EnumProtocolsA(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> i32 { - ::windows::core::link ! ( "mswsock.dll""system" fn EnumProtocolsA ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn EnumProtocolsA ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> i32 ); EnumProtocolsA(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), lpprotocolbuffer, lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn EnumProtocolsW(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> i32 { - ::windows::core::link ! ( "mswsock.dll""system" fn EnumProtocolsW ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn EnumProtocolsW ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> i32 ); EnumProtocolsW(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), lpprotocolbuffer, lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeAddrInfoEx(paddrinfoex: ::core::option::Option<*const ADDRINFOEXA>) { - ::windows::core::link ! ( "ws2_32.dll""system" fn FreeAddrInfoEx ( paddrinfoex : *const ADDRINFOEXA ) -> ( ) ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn FreeAddrInfoEx ( paddrinfoex : *const ADDRINFOEXA ) -> ( ) ); FreeAddrInfoEx(::core::mem::transmute(paddrinfoex.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeAddrInfoExW(paddrinfoex: ::core::option::Option<*const ADDRINFOEXW>) { - ::windows::core::link ! ( "ws2_32.dll""system" fn FreeAddrInfoExW ( paddrinfoex : *const ADDRINFOEXW ) -> ( ) ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn FreeAddrInfoExW ( paddrinfoex : *const ADDRINFOEXW ) -> ( ) ); FreeAddrInfoExW(::core::mem::transmute(paddrinfoex.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeAddrInfoW(paddrinfo: ::core::option::Option<*const ADDRINFOW>) { - ::windows::core::link ! ( "ws2_32.dll""system" fn FreeAddrInfoW ( paddrinfo : *const ADDRINFOW ) -> ( ) ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn FreeAddrInfoW ( paddrinfo : *const ADDRINFOW ) -> ( ) ); FreeAddrInfoW(::core::mem::transmute(paddrinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAcceptExSockaddrs(lpoutputbuffer: *const ::core::ffi::c_void, dwreceivedatalength: u32, dwlocaladdresslength: u32, dwremoteaddresslength: u32, localsockaddr: *mut *mut SOCKADDR, localsockaddrlength: *mut i32, remotesockaddr: *mut *mut SOCKADDR, remotesockaddrlength: *mut i32) { - ::windows::core::link ! ( "mswsock.dll""system" fn GetAcceptExSockaddrs ( lpoutputbuffer : *const ::core::ffi::c_void , dwreceivedatalength : u32 , dwlocaladdresslength : u32 , dwremoteaddresslength : u32 , localsockaddr : *mut *mut SOCKADDR , localsockaddrlength : *mut i32 , remotesockaddr : *mut *mut SOCKADDR , remotesockaddrlength : *mut i32 ) -> ( ) ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetAcceptExSockaddrs ( lpoutputbuffer : *const ::core::ffi::c_void , dwreceivedatalength : u32 , dwlocaladdresslength : u32 , dwremoteaddresslength : u32 , localsockaddr : *mut *mut SOCKADDR , localsockaddrlength : *mut i32 , remotesockaddr : *mut *mut SOCKADDR , remotesockaddrlength : *mut i32 ) -> ( ) ); GetAcceptExSockaddrs(lpoutputbuffer, dwreceivedatalength, dwlocaladdresslength, dwremoteaddresslength, localsockaddr, localsockaddrlength, remotesockaddr, remotesockaddrlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -57,21 +57,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn GetAddrInfoExA ( pname : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , hints : *const ADDRINFOEXA , ppresult : *mut *mut ADDRINFOEXA , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lpnamehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoExA ( pname : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , hints : *const ADDRINFOEXA , ppresult : *mut *mut ADDRINFOEXA , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lpnamehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); GetAddrInfoExA(pname.into().abi(), pservicename.into().abi(), dwnamespace, ::core::mem::transmute(lpnspid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(hints.unwrap_or(::std::ptr::null())), ppresult, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null())), lpcompletionroutine, ::core::mem::transmute(lpnamehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAddrInfoExCancel(lphandle: *const super::super::Foundation::HANDLE) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn GetAddrInfoExCancel ( lphandle : *const super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoExCancel ( lphandle : *const super::super::Foundation:: HANDLE ) -> i32 ); GetAddrInfoExCancel(lphandle) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn GetAddrInfoExOverlappedResult(lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn GetAddrInfoExOverlappedResult ( lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoExOverlappedResult ( lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> i32 ); GetAddrInfoExOverlappedResult(lpoverlapped) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -82,7 +82,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn GetAddrInfoExW ( pname : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , hints : *const ADDRINFOEXW , ppresult : *mut *mut ADDRINFOEXW , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lphandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoExW ( pname : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , hints : *const ADDRINFOEXW , ppresult : *mut *mut ADDRINFOEXW , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lphandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); GetAddrInfoExW(pname.into().abi(), pservicename.into().abi(), dwnamespace, ::core::mem::transmute(lpnspid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(hints.unwrap_or(::std::ptr::null())), ppresult, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null())), lpcompletionroutine, ::core::mem::transmute(lphandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -93,7 +93,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn GetAddrInfoW ( pnodename : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , phints : *const ADDRINFOW , ppresult : *mut *mut ADDRINFOW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoW ( pnodename : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , phints : *const ADDRINFOW , ppresult : *mut *mut ADDRINFOW ) -> i32 ); GetAddrInfoW(pnodename.into().abi(), pservicename.into().abi(), ::core::mem::transmute(phints.unwrap_or(::std::ptr::null())), ppresult) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -103,7 +103,7 @@ pub unsafe fn GetAddressByNameA(dwnamespace: u32, lpservicetype: *const ::wi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mswsock.dll""system" fn GetAddressByNameA ( dwnamespace : u32 , lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PCSTR , lpiprotocols : *const i32 , dwresolution : u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpcsaddrbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpaliasbuffer : :: windows::core::PSTR , lpdwaliasbufferlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetAddressByNameA ( dwnamespace : u32 , lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PCSTR , lpiprotocols : *const i32 , dwresolution : u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpcsaddrbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpaliasbuffer : :: windows::core::PSTR , lpdwaliasbufferlength : *mut u32 ) -> i32 ); GetAddressByNameA(dwnamespace, lpservicetype, lpservicename.into().abi(), ::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), dwresolution, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null())), lpcsaddrbuffer, lpdwbufferlength, ::core::mem::transmute(lpaliasbuffer), lpdwaliasbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -113,32 +113,32 @@ pub unsafe fn GetAddressByNameW(dwnamespace: u32, lpservicetype: *const ::wi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mswsock.dll""system" fn GetAddressByNameW ( dwnamespace : u32 , lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PCWSTR , lpiprotocols : *const i32 , dwresolution : u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpcsaddrbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpaliasbuffer : :: windows::core::PWSTR , lpdwaliasbufferlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetAddressByNameW ( dwnamespace : u32 , lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PCWSTR , lpiprotocols : *const i32 , dwresolution : u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpcsaddrbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpaliasbuffer : :: windows::core::PWSTR , lpdwaliasbufferlength : *mut u32 ) -> i32 ); GetAddressByNameW(dwnamespace, lpservicetype, lpservicename.into().abi(), ::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), dwresolution, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null())), lpcsaddrbuffer, lpdwbufferlength, ::core::mem::transmute(lpaliasbuffer), lpdwaliasbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn GetHostNameW(name: &mut [u16]) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn GetHostNameW ( name : :: windows::core::PWSTR , namelen : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn GetHostNameW ( name : :: windows::core::PWSTR , namelen : i32 ) -> i32 ); GetHostNameW(::core::mem::transmute(name.as_ptr()), name.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn GetNameByTypeA(lpservicetype: *const ::windows::core::GUID, lpservicename: &mut [u8]) -> i32 { - ::windows::core::link ! ( "mswsock.dll""system" fn GetNameByTypeA ( lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PSTR , dwnamelength : u32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetNameByTypeA ( lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PSTR , dwnamelength : u32 ) -> i32 ); GetNameByTypeA(lpservicetype, ::core::mem::transmute(lpservicename.as_ptr()), lpservicename.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn GetNameByTypeW(lpservicetype: *const ::windows::core::GUID, lpservicename: ::windows::core::PWSTR, dwnamelength: u32) -> i32 { - ::windows::core::link ! ( "mswsock.dll""system" fn GetNameByTypeW ( lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PWSTR , dwnamelength : u32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetNameByTypeW ( lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PWSTR , dwnamelength : u32 ) -> i32 ); GetNameByTypeW(lpservicetype, ::core::mem::transmute(lpservicename), dwnamelength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNameInfoW(psockaddr: *const SOCKADDR, sockaddrlength: i32, pnodebuffer: ::core::option::Option<&mut [u16]>, pservicebuffer: ::core::option::Option<&mut [u16]>, flags: i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn GetNameInfoW ( psockaddr : *const SOCKADDR , sockaddrlength : i32 , pnodebuffer : :: windows::core::PWSTR , nodebuffersize : u32 , pservicebuffer : :: windows::core::PWSTR , servicebuffersize : u32 , flags : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn GetNameInfoW ( psockaddr : *const SOCKADDR , sockaddrlength : i32 , pnodebuffer : :: windows::core::PWSTR , nodebuffersize : u32 , pservicebuffer : :: windows::core::PWSTR , servicebuffersize : u32 , flags : i32 ) -> i32 ); GetNameInfoW(psockaddr, sockaddrlength, ::core::mem::transmute(pnodebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pnodebuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pservicebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pservicebuffer.as_deref().map_or(0, |slice| slice.len() as _), flags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -148,7 +148,7 @@ pub unsafe fn GetServiceA(dwnamespace: u32, lpguid: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mswsock.dll""system" fn GetServiceA ( dwnamespace : u32 , lpguid : *const :: windows::core::GUID , lpservicename : :: windows::core::PCSTR , dwproperties : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbuffersize : *mut u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetServiceA ( dwnamespace : u32 , lpguid : *const :: windows::core::GUID , lpservicename : :: windows::core::PCSTR , dwproperties : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbuffersize : *mut u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO ) -> i32 ); GetServiceA(dwnamespace, lpguid, lpservicename.into().abi(), dwproperties, lpbuffer, lpdwbuffersize, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -158,7 +158,7 @@ pub unsafe fn GetServiceW(dwnamespace: u32, lpguid: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mswsock.dll""system" fn GetServiceW ( dwnamespace : u32 , lpguid : *const :: windows::core::GUID , lpservicename : :: windows::core::PCWSTR , dwproperties : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbuffersize : *mut u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetServiceW ( dwnamespace : u32 , lpguid : *const :: windows::core::GUID , lpservicename : :: windows::core::PCWSTR , dwproperties : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbuffersize : *mut u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO ) -> i32 ); GetServiceW(dwnamespace, lpguid, lpservicename.into().abi(), dwproperties, lpbuffer, lpdwbuffersize, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -167,7 +167,7 @@ pub unsafe fn GetTypeByNameA(lpservicename: P0, lpservicetype: *mut ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mswsock.dll""system" fn GetTypeByNameA ( lpservicename : :: windows::core::PCSTR , lpservicetype : *mut :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetTypeByNameA ( lpservicename : :: windows::core::PCSTR , lpservicetype : *mut :: windows::core::GUID ) -> i32 ); GetTypeByNameA(lpservicename.into().abi(), lpservicetype) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -176,13 +176,13 @@ pub unsafe fn GetTypeByNameW(lpservicename: P0, lpservicetype: *mut ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mswsock.dll""system" fn GetTypeByNameW ( lpservicename : :: windows::core::PCWSTR , lpservicetype : *mut :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn GetTypeByNameW ( lpservicename : :: windows::core::PCWSTR , lpservicetype : *mut :: windows::core::GUID ) -> i32 ); GetTypeByNameW(lpservicename.into().abi(), lpservicetype) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn InetNtopW(family: i32, paddr: *const ::core::ffi::c_void, pstringbuf: &mut [u16]) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "ws2_32.dll""system" fn InetNtopW ( family : i32 , paddr : *const ::core::ffi::c_void , pstringbuf : :: windows::core::PWSTR , stringbufsize : usize ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn InetNtopW ( family : i32 , paddr : *const ::core::ffi::c_void , pstringbuf : :: windows::core::PWSTR , stringbufsize : usize ) -> :: windows::core::PWSTR ); InetNtopW(family, paddr, ::core::mem::transmute(pstringbuf.as_ptr()), pstringbuf.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -191,7 +191,7 @@ pub unsafe fn InetPtonW(family: i32, pszaddrstring: P0, paddrbuf: *mut ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn InetPtonW ( family : i32 , pszaddrstring : :: windows::core::PCWSTR , paddrbuf : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn InetPtonW ( family : i32 , pszaddrstring : :: windows::core::PCWSTR , paddrbuf : *mut ::core::ffi::c_void ) -> i32 ); InetPtonW(family, pszaddrstring.into().abi(), paddrbuf) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -201,19 +201,19 @@ pub unsafe fn ProcessSocketNotifications(completionport: P0, registrationinf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn ProcessSocketNotifications ( completionport : super::super::Foundation:: HANDLE , registrationcount : u32 , registrationinfos : *mut SOCK_NOTIFY_REGISTRATION , timeoutms : u32 , completioncount : u32 , completionportentries : *mut super::super::System::IO:: OVERLAPPED_ENTRY , receivedentrycount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn ProcessSocketNotifications ( completionport : super::super::Foundation:: HANDLE , registrationcount : u32 , registrationinfos : *mut SOCK_NOTIFY_REGISTRATION , timeoutms : u32 , completioncount : u32 , completionportentries : *mut super::super::System::IO:: OVERLAPPED_ENTRY , receivedentrycount : *mut u32 ) -> u32 ); ProcessSocketNotifications(completionport.into(), registrationinfos.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(registrationinfos.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), timeoutms, completionportentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(completionportentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(receivedentrycount.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlEthernetAddressToStringA(addr: *const DL_EUI48, s: &mut [u8; 18]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlEthernetAddressToStringA ( addr : *const DL_EUI48 , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlEthernetAddressToStringA ( addr : *const DL_EUI48 , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); RtlEthernetAddressToStringA(addr, ::core::mem::transmute(s.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlEthernetAddressToStringW(addr: *const DL_EUI48, s: &mut [u16; 18]) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlEthernetAddressToStringW ( addr : *const DL_EUI48 , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlEthernetAddressToStringW ( addr : *const DL_EUI48 , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); RtlEthernetAddressToStringW(addr, ::core::mem::transmute(s.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -222,7 +222,7 @@ pub unsafe fn RtlEthernetStringToAddressA(s: P0, terminator: *mut ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlEthernetStringToAddressA ( s : :: windows::core::PCSTR , terminator : *mut :: windows::core::PSTR , addr : *mut DL_EUI48 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlEthernetStringToAddressA ( s : :: windows::core::PCSTR , terminator : *mut :: windows::core::PSTR , addr : *mut DL_EUI48 ) -> i32 ); RtlEthernetStringToAddressA(s.into().abi(), terminator, addr) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -231,31 +231,31 @@ pub unsafe fn RtlEthernetStringToAddressW(s: P0, terminator: *mut ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlEthernetStringToAddressW ( s : :: windows::core::PCWSTR , terminator : *mut :: windows::core::PWSTR , addr : *mut DL_EUI48 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlEthernetStringToAddressW ( s : :: windows::core::PCWSTR , terminator : *mut :: windows::core::PWSTR , addr : *mut DL_EUI48 ) -> i32 ); RtlEthernetStringToAddressW(s.into().abi(), terminator, addr) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlIpv4AddressToStringA(addr: *const IN_ADDR, s: &mut [u8; 16]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringA ( addr : *const IN_ADDR , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringA ( addr : *const IN_ADDR , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); RtlIpv4AddressToStringA(addr, ::core::mem::transmute(s.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlIpv4AddressToStringExA(address: *const IN_ADDR, port: u16, addressstring: ::windows::core::PSTR, addressstringlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringExA ( address : *const IN_ADDR , port : u16 , addressstring : :: windows::core::PSTR , addressstringlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringExA ( address : *const IN_ADDR , port : u16 , addressstring : :: windows::core::PSTR , addressstringlength : *mut u32 ) -> i32 ); RtlIpv4AddressToStringExA(address, port, ::core::mem::transmute(addressstring), addressstringlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlIpv4AddressToStringExW(address: *const IN_ADDR, port: u16, addressstring: ::windows::core::PWSTR, addressstringlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringExW ( address : *const IN_ADDR , port : u16 , addressstring : :: windows::core::PWSTR , addressstringlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringExW ( address : *const IN_ADDR , port : u16 , addressstring : :: windows::core::PWSTR , addressstringlength : *mut u32 ) -> i32 ); RtlIpv4AddressToStringExW(address, port, ::core::mem::transmute(addressstring), addressstringlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlIpv4AddressToStringW(addr: *const IN_ADDR, s: &mut [u16; 16]) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringW ( addr : *const IN_ADDR , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringW ( addr : *const IN_ADDR , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); RtlIpv4AddressToStringW(addr, ::core::mem::transmute(s.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -266,7 +266,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressA ( s : :: windows::core::PCSTR , strict : super::super::Foundation:: BOOLEAN , terminator : *mut :: windows::core::PSTR , addr : *mut IN_ADDR ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressA ( s : :: windows::core::PCSTR , strict : super::super::Foundation:: BOOLEAN , terminator : *mut :: windows::core::PSTR , addr : *mut IN_ADDR ) -> i32 ); RtlIpv4StringToAddressA(s.into().abi(), strict.into(), terminator, addr) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -277,7 +277,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressExA ( addressstring : :: windows::core::PCSTR , strict : super::super::Foundation:: BOOLEAN , address : *mut IN_ADDR , port : *mut u16 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressExA ( addressstring : :: windows::core::PCSTR , strict : super::super::Foundation:: BOOLEAN , address : *mut IN_ADDR , port : *mut u16 ) -> i32 ); RtlIpv4StringToAddressExA(addressstring.into().abi(), strict.into(), address, port) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -288,7 +288,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressExW ( addressstring : :: windows::core::PCWSTR , strict : super::super::Foundation:: BOOLEAN , address : *mut IN_ADDR , port : *mut u16 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressExW ( addressstring : :: windows::core::PCWSTR , strict : super::super::Foundation:: BOOLEAN , address : *mut IN_ADDR , port : *mut u16 ) -> i32 ); RtlIpv4StringToAddressExW(addressstring.into().abi(), strict.into(), address, port) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -299,31 +299,31 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressW ( s : :: windows::core::PCWSTR , strict : super::super::Foundation:: BOOLEAN , terminator : *mut :: windows::core::PWSTR , addr : *mut IN_ADDR ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressW ( s : :: windows::core::PCWSTR , strict : super::super::Foundation:: BOOLEAN , terminator : *mut :: windows::core::PWSTR , addr : *mut IN_ADDR ) -> i32 ); RtlIpv4StringToAddressW(s.into().abi(), strict.into(), terminator, addr) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlIpv6AddressToStringA(addr: *const IN6_ADDR, s: &mut [u8; 46]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringA ( addr : *const IN6_ADDR , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringA ( addr : *const IN6_ADDR , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); RtlIpv6AddressToStringA(addr, ::core::mem::transmute(s.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlIpv6AddressToStringExA(address: *const IN6_ADDR, scopeid: u32, port: u16, addressstring: ::windows::core::PSTR, addressstringlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringExA ( address : *const IN6_ADDR , scopeid : u32 , port : u16 , addressstring : :: windows::core::PSTR , addressstringlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringExA ( address : *const IN6_ADDR , scopeid : u32 , port : u16 , addressstring : :: windows::core::PSTR , addressstringlength : *mut u32 ) -> i32 ); RtlIpv6AddressToStringExA(address, scopeid, port, ::core::mem::transmute(addressstring), addressstringlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlIpv6AddressToStringExW(address: *const IN6_ADDR, scopeid: u32, port: u16, addressstring: ::windows::core::PWSTR, addressstringlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringExW ( address : *const IN6_ADDR , scopeid : u32 , port : u16 , addressstring : :: windows::core::PWSTR , addressstringlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringExW ( address : *const IN6_ADDR , scopeid : u32 , port : u16 , addressstring : :: windows::core::PWSTR , addressstringlength : *mut u32 ) -> i32 ); RtlIpv6AddressToStringExW(address, scopeid, port, ::core::mem::transmute(addressstring), addressstringlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn RtlIpv6AddressToStringW(addr: *const IN6_ADDR, s: &mut [u16; 46]) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringW ( addr : *const IN6_ADDR , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringW ( addr : *const IN6_ADDR , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); RtlIpv6AddressToStringW(addr, ::core::mem::transmute(s.as_ptr())) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -332,7 +332,7 @@ pub unsafe fn RtlIpv6StringToAddressA(s: P0, terminator: *mut ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressA ( s : :: windows::core::PCSTR , terminator : *mut :: windows::core::PSTR , addr : *mut IN6_ADDR ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressA ( s : :: windows::core::PCSTR , terminator : *mut :: windows::core::PSTR , addr : *mut IN6_ADDR ) -> i32 ); RtlIpv6StringToAddressA(s.into().abi(), terminator, addr) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -341,7 +341,7 @@ pub unsafe fn RtlIpv6StringToAddressExA(addressstring: P0, address: *mut IN6 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressExA ( addressstring : :: windows::core::PCSTR , address : *mut IN6_ADDR , scopeid : *mut u32 , port : *mut u16 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressExA ( addressstring : :: windows::core::PCSTR , address : *mut IN6_ADDR , scopeid : *mut u32 , port : *mut u16 ) -> i32 ); RtlIpv6StringToAddressExA(addressstring.into().abi(), address, scopeid, port) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -350,7 +350,7 @@ pub unsafe fn RtlIpv6StringToAddressExW(addressstring: P0, address: *mut IN6 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressExW ( addressstring : :: windows::core::PCWSTR , address : *mut IN6_ADDR , scopeid : *mut u32 , port : *mut u16 ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressExW ( addressstring : :: windows::core::PCWSTR , address : *mut IN6_ADDR , scopeid : *mut u32 , port : *mut u16 ) -> i32 ); RtlIpv6StringToAddressExW(addressstring.into().abi(), address, scopeid, port) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -359,7 +359,7 @@ pub unsafe fn RtlIpv6StringToAddressW(s: P0, terminator: *mut ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressW ( s : :: windows::core::PCWSTR , terminator : *mut :: windows::core::PWSTR , addr : *mut IN6_ADDR ) -> i32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressW ( s : :: windows::core::PCWSTR , terminator : *mut :: windows::core::PWSTR , addr : *mut IN6_ADDR ) -> i32 ); RtlIpv6StringToAddressW(s.into().abi(), terminator, addr) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] @@ -370,7 +370,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn SetAddrInfoExA ( pname : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , paddresses : *const SOCKET_ADDRESS , dwaddresscount : u32 , lpblob : *const super::super::System::Com:: BLOB , dwflags : u32 , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lpnamehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn SetAddrInfoExA ( pname : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , paddresses : *const SOCKET_ADDRESS , dwaddresscount : u32 , lpblob : *const super::super::System::Com:: BLOB , dwflags : u32 , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lpnamehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); SetAddrInfoExA( pname.into().abi(), pservicename.into().abi(), @@ -394,7 +394,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn SetAddrInfoExW ( pname : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , paddresses : *const SOCKET_ADDRESS , dwaddresscount : u32 , lpblob : *const super::super::System::Com:: BLOB , dwflags : u32 , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lpnamehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn SetAddrInfoExW ( pname : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , paddresses : *const SOCKET_ADDRESS , dwaddresscount : u32 , lpblob : *const super::super::System::Com:: BLOB , dwflags : u32 , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lpnamehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); SetAddrInfoExW( pname.into().abi(), pservicename.into().abi(), @@ -414,14 +414,14 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn SetServiceA(dwnamespace: u32, dwoperation: SET_SERVICE_OPERATION, dwflags: u32, lpserviceinfo: *const SERVICE_INFOA, lpserviceasyncinfo: ::core::option::Option<*const SERVICE_ASYNC_INFO>, lpdwstatusflags: *mut u32) -> i32 { - ::windows::core::link ! ( "mswsock.dll""system" fn SetServiceA ( dwnamespace : u32 , dwoperation : SET_SERVICE_OPERATION , dwflags : u32 , lpserviceinfo : *const SERVICE_INFOA , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpdwstatusflags : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn SetServiceA ( dwnamespace : u32 , dwoperation : SET_SERVICE_OPERATION , dwflags : u32 , lpserviceinfo : *const SERVICE_INFOA , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpdwstatusflags : *mut u32 ) -> i32 ); SetServiceA(dwnamespace, dwoperation, dwflags, lpserviceinfo, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null())), lpdwstatusflags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn SetServiceW(dwnamespace: u32, dwoperation: SET_SERVICE_OPERATION, dwflags: u32, lpserviceinfo: *const SERVICE_INFOW, lpserviceasyncinfo: ::core::option::Option<*const SERVICE_ASYNC_INFO>, lpdwstatusflags: *mut u32) -> i32 { - ::windows::core::link ! ( "mswsock.dll""system" fn SetServiceW ( dwnamespace : u32 , dwoperation : SET_SERVICE_OPERATION , dwflags : u32 , lpserviceinfo : *const SERVICE_INFOW , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpdwstatusflags : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn SetServiceW ( dwnamespace : u32 , dwoperation : SET_SERVICE_OPERATION , dwflags : u32 , lpserviceinfo : *const SERVICE_INFOW , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpdwstatusflags : *mut u32 ) -> i32 ); SetServiceW(dwnamespace, dwoperation, dwflags, lpserviceinfo, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null())), lpdwstatusflags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -431,7 +431,7 @@ pub unsafe fn SetSocketMediaStreamingMode(value: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "windows.networking.dll""system" fn SetSocketMediaStreamingMode ( value : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.networking.dll""system" fn SetSocketMediaStreamingMode ( value : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); SetSocketMediaStreamingMode(value.into()).ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -442,7 +442,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mswsock.dll""system" fn TransmitFile ( hsocket : SOCKET , hfile : super::super::Foundation:: HANDLE , nnumberofbytestowrite : u32 , nnumberofbytespersend : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lptransmitbuffers : *const TRANSMIT_FILE_BUFFERS , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mswsock.dll""system" fn TransmitFile ( hsocket : SOCKET , hfile : super::super::Foundation:: HANDLE , nnumberofbytestowrite : u32 , nnumberofbytespersend : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lptransmitbuffers : *const TRANSMIT_FILE_BUFFERS , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); TransmitFile(hsocket.into(), hfile.into(), nnumberofbytestowrite, nnumberofbytespersend, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptransmitbuffers.unwrap_or(::std::ptr::null())), dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -452,7 +452,7 @@ pub unsafe fn WPUCompleteOverlappedRequest(s: P0, lpoverlapped: *mut super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WPUCompleteOverlappedRequest ( s : SOCKET , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , dwerror : u32 , cbtransferred : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WPUCompleteOverlappedRequest ( s : SOCKET , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , dwerror : u32 , cbtransferred : u32 , lperrno : *mut i32 ) -> i32 ); WPUCompleteOverlappedRequest(s.into(), lpoverlapped, dwerror, cbtransferred, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -462,28 +462,28 @@ pub unsafe fn WSAAccept(s: P0, addr: ::core::option::Option<*mut SOCKADDR>, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAccept ( s : SOCKET , addr : *mut SOCKADDR , addrlen : *mut i32 , lpfncondition : LPCONDITIONPROC , dwcallbackdata : usize ) -> SOCKET ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAccept ( s : SOCKET , addr : *mut SOCKADDR , addrlen : *mut i32 , lpfncondition : LPCONDITIONPROC , dwcallbackdata : usize ) -> SOCKET ); WSAAccept(s.into(), ::core::mem::transmute(addr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(addrlen.unwrap_or(::std::ptr::null_mut())), lpfncondition, dwcallbackdata) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSAAddressToStringA(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOA>, lpszaddressstring: ::windows::core::PSTR, lpdwaddressstringlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAddressToStringA ( lpsaaddress : *const SOCKADDR , dwaddresslength : u32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , lpszaddressstring : :: windows::core::PSTR , lpdwaddressstringlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAddressToStringA ( lpsaaddress : *const SOCKADDR , dwaddresslength : u32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , lpszaddressstring : :: windows::core::PSTR , lpdwaddressstringlength : *mut u32 ) -> i32 ); WSAAddressToStringA(lpsaaddress, dwaddresslength, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpszaddressstring), lpdwaddressstringlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSAAddressToStringW(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOW>, lpszaddressstring: ::windows::core::PWSTR, lpdwaddressstringlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAddressToStringW ( lpsaaddress : *const SOCKADDR , dwaddresslength : u32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , lpszaddressstring : :: windows::core::PWSTR , lpdwaddressstringlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAddressToStringW ( lpsaaddress : *const SOCKADDR , dwaddresslength : u32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , lpszaddressstring : :: windows::core::PWSTR , lpdwaddressstringlength : *mut u32 ) -> i32 ); WSAAddressToStringW(lpsaaddress, dwaddresslength, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpszaddressstring), lpdwaddressstringlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn WSAAdvertiseProvider(puuidproviderid: *const ::windows::core::GUID, pnspv2routine: *const NSPV2_ROUTINE) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAdvertiseProvider ( puuidproviderid : *const :: windows::core::GUID , pnspv2routine : *const NSPV2_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAdvertiseProvider ( puuidproviderid : *const :: windows::core::GUID , pnspv2routine : *const NSPV2_ROUTINE ) -> i32 ); WSAAdvertiseProvider(puuidproviderid, pnspv2routine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -493,7 +493,7 @@ pub unsafe fn WSAAsyncGetHostByAddr(hwnd: P0, wmsg: u32, addr: &[u8], r#type where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAsyncGetHostByAddr ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , addr : :: windows::core::PCSTR , len : i32 , r#type : i32 , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetHostByAddr ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , addr : :: windows::core::PCSTR , len : i32 , r#type : i32 , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); WSAAsyncGetHostByAddr(hwnd.into(), wmsg, ::core::mem::transmute(addr.as_ptr()), addr.len() as _, r#type, ::core::mem::transmute(buf.as_ptr()), buf.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -504,7 +504,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAsyncGetHostByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetHostByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); WSAAsyncGetHostByName(hwnd.into(), wmsg, name.into().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -515,7 +515,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAsyncGetProtoByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetProtoByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); WSAAsyncGetProtoByName(hwnd.into(), wmsg, name.into().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -525,7 +525,7 @@ pub unsafe fn WSAAsyncGetProtoByNumber(hwnd: P0, wmsg: u32, number: i32, buf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAsyncGetProtoByNumber ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , number : i32 , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetProtoByNumber ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , number : i32 , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); WSAAsyncGetProtoByNumber(hwnd.into(), wmsg, number, ::core::mem::transmute(buf.as_ptr()), buf.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -537,7 +537,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAsyncGetServByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , proto : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetServByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , proto : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); WSAAsyncGetServByName(hwnd.into(), wmsg, name.into().abi(), proto.into().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -548,7 +548,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAsyncGetServByPort ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , port : i32 , proto : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetServByPort ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , port : i32 , proto : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); WSAAsyncGetServByPort(hwnd.into(), wmsg, port, proto.into().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -559,7 +559,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAAsyncSelect ( s : SOCKET , hwnd : super::super::Foundation:: HWND , wmsg : u32 , levent : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncSelect ( s : SOCKET , hwnd : super::super::Foundation:: HWND , wmsg : u32 , levent : i32 ) -> i32 ); WSAAsyncSelect(s.into(), hwnd.into(), wmsg, levent) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -569,19 +569,19 @@ pub unsafe fn WSACancelAsyncRequest(hasynctaskhandle: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSACancelAsyncRequest ( hasynctaskhandle : super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACancelAsyncRequest ( hasynctaskhandle : super::super::Foundation:: HANDLE ) -> i32 ); WSACancelAsyncRequest(hasynctaskhandle.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSACancelBlockingCall() -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSACancelBlockingCall ( ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACancelBlockingCall ( ) -> i32 ); WSACancelBlockingCall() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSACleanup() -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSACleanup ( ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACleanup ( ) -> i32 ); WSACleanup() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -591,7 +591,7 @@ pub unsafe fn WSACloseEvent(hevent: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSACloseEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACloseEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); WSACloseEvent(hevent.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -601,7 +601,7 @@ pub unsafe fn WSAConnect(s: P0, name: *const SOCKADDR, namelen: i32, lpcalle where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAConnect ( s : SOCKET , name : *const SOCKADDR , namelen : i32 , lpcallerdata : *const WSABUF , lpcalleedata : *mut WSABUF , lpsqos : *const QOS , lpgqos : *const QOS ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAConnect ( s : SOCKET , name : *const SOCKADDR , namelen : i32 , lpcallerdata : *const WSABUF , lpcalleedata : *mut WSABUF , lpsqos : *const QOS , lpgqos : *const QOS ) -> i32 ); WSAConnect(s.into(), name, namelen, ::core::mem::transmute(lpcallerdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcalleedata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpsqos.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpgqos.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -611,7 +611,7 @@ pub unsafe fn WSAConnectByList(s: P0, socketaddress: *const SOCKET_ADDRESS_L where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAConnectByList ( s : SOCKET , socketaddress : *const SOCKET_ADDRESS_LIST , localaddresslength : *mut u32 , localaddress : *mut SOCKADDR , remoteaddresslength : *mut u32 , remoteaddress : *mut SOCKADDR , timeout : *const TIMEVAL , reserved : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAConnectByList ( s : SOCKET , socketaddress : *const SOCKET_ADDRESS_LIST , localaddresslength : *mut u32 , localaddress : *mut SOCKADDR , remoteaddresslength : *mut u32 , remoteaddress : *mut SOCKADDR , timeout : *const TIMEVAL , reserved : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WSAConnectByList(s.into(), socketaddress, ::core::mem::transmute(localaddresslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(localaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remoteaddresslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remoteaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -623,7 +623,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAConnectByNameA ( s : SOCKET , nodename : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , localaddresslength : *mut u32 , localaddress : *mut SOCKADDR , remoteaddresslength : *mut u32 , remoteaddress : *mut SOCKADDR , timeout : *const TIMEVAL , reserved : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAConnectByNameA ( s : SOCKET , nodename : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , localaddresslength : *mut u32 , localaddress : *mut SOCKADDR , remoteaddresslength : *mut u32 , remoteaddress : *mut SOCKADDR , timeout : *const TIMEVAL , reserved : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WSAConnectByNameA( s.into(), nodename.into().abi(), @@ -645,7 +645,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAConnectByNameW ( s : SOCKET , nodename : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , localaddresslength : *mut u32 , localaddress : *mut SOCKADDR , remoteaddresslength : *mut u32 , remoteaddress : *mut SOCKADDR , timeout : *const TIMEVAL , reserved : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAConnectByNameW ( s : SOCKET , nodename : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , localaddresslength : *mut u32 , localaddress : *mut SOCKADDR , remoteaddresslength : *mut u32 , remoteaddress : *mut SOCKADDR , timeout : *const TIMEVAL , reserved : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WSAConnectByNameW( s.into(), nodename.into().abi(), @@ -662,7 +662,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSACreateEvent() -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSACreateEvent ( ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACreateEvent ( ) -> super::super::Foundation:: HANDLE ); WSACreateEvent() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -672,7 +672,7 @@ pub unsafe fn WSADeleteSocketPeerTargetName(socket: P0, peeraddr: *const SOC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn WSADeleteSocketPeerTargetName ( socket : SOCKET , peeraddr : *const SOCKADDR , peeraddrlen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSADeleteSocketPeerTargetName ( socket : SOCKET , peeraddr : *const SOCKADDR , peeraddrlen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSADeleteSocketPeerTargetName(socket.into(), peeraddr, peeraddrlen, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), completionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -682,7 +682,7 @@ pub unsafe fn WSADuplicateSocketA(s: P0, dwprocessid: u32, lpprotocolinfo: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSADuplicateSocketA ( s : SOCKET , dwprocessid : u32 , lpprotocolinfo : *mut WSAPROTOCOL_INFOA ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSADuplicateSocketA ( s : SOCKET , dwprocessid : u32 , lpprotocolinfo : *mut WSAPROTOCOL_INFOA ) -> i32 ); WSADuplicateSocketA(s.into(), dwprocessid, lpprotocolinfo) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -691,35 +691,35 @@ pub unsafe fn WSADuplicateSocketW(s: P0, dwprocessid: u32, lpprotocolinfo: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSADuplicateSocketW ( s : SOCKET , dwprocessid : u32 , lpprotocolinfo : *mut WSAPROTOCOL_INFOW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSADuplicateSocketW ( s : SOCKET , dwprocessid : u32 , lpprotocolinfo : *mut WSAPROTOCOL_INFOW ) -> i32 ); WSADuplicateSocketW(s.into(), dwprocessid, lpprotocolinfo) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSAEnumNameSpaceProvidersA(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOA) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersA ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOA ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersA ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOA ) -> i32 ); WSAEnumNameSpaceProvidersA(lpdwbufferlength, lpnspbuffer) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn WSAEnumNameSpaceProvidersExA(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXA) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersExA ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXA ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersExA ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXA ) -> i32 ); WSAEnumNameSpaceProvidersExA(lpdwbufferlength, lpnspbuffer) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn WSAEnumNameSpaceProvidersExW(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXW) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersExW ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersExW ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXW ) -> i32 ); WSAEnumNameSpaceProvidersExW(lpdwbufferlength, lpnspbuffer) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSAEnumNameSpaceProvidersW(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOW) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersW ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersW ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOW ) -> i32 ); WSAEnumNameSpaceProvidersW(lpdwbufferlength, lpnspbuffer) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -730,20 +730,20 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAEnumNetworkEvents ( s : SOCKET , heventobject : super::super::Foundation:: HANDLE , lpnetworkevents : *mut WSANETWORKEVENTS ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNetworkEvents ( s : SOCKET , heventobject : super::super::Foundation:: HANDLE , lpnetworkevents : *mut WSANETWORKEVENTS ) -> i32 ); WSAEnumNetworkEvents(s.into(), heventobject.into(), lpnetworkevents) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSAEnumProtocolsA(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: ::core::option::Option<*mut WSAPROTOCOL_INFOA>, lpdwbufferlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAEnumProtocolsA ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOA , lpdwbufferlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumProtocolsA ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOA , lpdwbufferlength : *mut u32 ) -> i32 ); WSAEnumProtocolsA(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpprotocolbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAEnumProtocolsW(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: ::core::option::Option<*mut WSAPROTOCOL_INFOW>, lpdwbufferlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAEnumProtocolsW ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumProtocolsW ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 ) -> i32 ); WSAEnumProtocolsW(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpprotocolbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -754,13 +754,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAEventSelect ( s : SOCKET , heventobject : super::super::Foundation:: HANDLE , lnetworkevents : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEventSelect ( s : SOCKET , heventobject : super::super::Foundation:: HANDLE , lnetworkevents : i32 ) -> i32 ); WSAEventSelect(s.into(), heventobject.into(), lnetworkevents) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAGetLastError() -> WSA_ERROR { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAGetLastError ( ) -> WSA_ERROR ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetLastError ( ) -> WSA_ERROR ); WSAGetLastError() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -771,7 +771,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAGetOverlappedResult ( s : SOCKET , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcbtransfer : *mut u32 , fwait : super::super::Foundation:: BOOL , lpdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetOverlappedResult ( s : SOCKET , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcbtransfer : *mut u32 , fwait : super::super::Foundation:: BOOL , lpdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); WSAGetOverlappedResult(s.into(), lpoverlapped, lpcbtransfer, fwait.into(), lpdwflags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -781,31 +781,31 @@ pub unsafe fn WSAGetQOSByName(s: P0, lpqosname: *const WSABUF, lpqos: *mut Q where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAGetQOSByName ( s : SOCKET , lpqosname : *const WSABUF , lpqos : *mut QOS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetQOSByName ( s : SOCKET , lpqosname : *const WSABUF , lpqos : *mut QOS ) -> super::super::Foundation:: BOOL ); WSAGetQOSByName(s.into(), lpqosname, lpqos) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAGetServiceClassInfoA(lpproviderid: *const ::windows::core::GUID, lpserviceclassid: *const ::windows::core::GUID, lpdwbufsize: *mut u32, lpserviceclassinfo: *mut WSASERVICECLASSINFOA) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassInfoA ( lpproviderid : *const :: windows::core::GUID , lpserviceclassid : *const :: windows::core::GUID , lpdwbufsize : *mut u32 , lpserviceclassinfo : *mut WSASERVICECLASSINFOA ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassInfoA ( lpproviderid : *const :: windows::core::GUID , lpserviceclassid : *const :: windows::core::GUID , lpdwbufsize : *mut u32 , lpserviceclassinfo : *mut WSASERVICECLASSINFOA ) -> i32 ); WSAGetServiceClassInfoA(lpproviderid, lpserviceclassid, lpdwbufsize, lpserviceclassinfo) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAGetServiceClassInfoW(lpproviderid: *const ::windows::core::GUID, lpserviceclassid: *const ::windows::core::GUID, lpdwbufsize: *mut u32, lpserviceclassinfo: *mut WSASERVICECLASSINFOW) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassInfoW ( lpproviderid : *const :: windows::core::GUID , lpserviceclassid : *const :: windows::core::GUID , lpdwbufsize : *mut u32 , lpserviceclassinfo : *mut WSASERVICECLASSINFOW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassInfoW ( lpproviderid : *const :: windows::core::GUID , lpserviceclassid : *const :: windows::core::GUID , lpdwbufsize : *mut u32 , lpserviceclassinfo : *mut WSASERVICECLASSINFOW ) -> i32 ); WSAGetServiceClassInfoW(lpproviderid, lpserviceclassid, lpdwbufsize, lpserviceclassinfo) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAGetServiceClassNameByClassIdA(lpserviceclassid: *const ::windows::core::GUID, lpszserviceclassname: ::windows::core::PSTR, lpdwbufferlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassNameByClassIdA ( lpserviceclassid : *const :: windows::core::GUID , lpszserviceclassname : :: windows::core::PSTR , lpdwbufferlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassNameByClassIdA ( lpserviceclassid : *const :: windows::core::GUID , lpszserviceclassname : :: windows::core::PSTR , lpdwbufferlength : *mut u32 ) -> i32 ); WSAGetServiceClassNameByClassIdA(lpserviceclassid, ::core::mem::transmute(lpszserviceclassname), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAGetServiceClassNameByClassIdW(lpserviceclassid: *const ::windows::core::GUID, lpszserviceclassname: ::windows::core::PWSTR, lpdwbufferlength: *mut u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassNameByClassIdW ( lpserviceclassid : *const :: windows::core::GUID , lpszserviceclassname : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassNameByClassIdW ( lpserviceclassid : *const :: windows::core::GUID , lpszserviceclassname : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 ) -> i32 ); WSAGetServiceClassNameByClassIdW(lpserviceclassid, ::core::mem::transmute(lpszserviceclassname), lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -814,7 +814,7 @@ pub unsafe fn WSAHtonl(s: P0, hostlong: u32, lpnetlong: *mut u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAHtonl ( s : SOCKET , hostlong : u32 , lpnetlong : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAHtonl ( s : SOCKET , hostlong : u32 , lpnetlong : *mut u32 ) -> i32 ); WSAHtonl(s.into(), hostlong, lpnetlong) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -823,7 +823,7 @@ pub unsafe fn WSAHtons(s: P0, hostshort: u16, lpnetshort: *mut u16) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAHtons ( s : SOCKET , hostshort : u16 , lpnetshort : *mut u16 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAHtons ( s : SOCKET , hostshort : u16 , lpnetshort : *mut u16 ) -> i32 ); WSAHtons(s.into(), hostshort, lpnetshort) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -833,19 +833,19 @@ pub unsafe fn WSAImpersonateSocketPeer(socket: P0, peeraddr: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn WSAImpersonateSocketPeer ( socket : SOCKET , peeraddr : *const SOCKADDR , peeraddrlen : u32 ) -> i32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSAImpersonateSocketPeer ( socket : SOCKET , peeraddr : *const SOCKADDR , peeraddrlen : u32 ) -> i32 ); WSAImpersonateSocketPeer(socket.into(), ::core::mem::transmute(peeraddr.unwrap_or(::std::ptr::null())), peeraddrlen) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAInstallServiceClassA(lpserviceclassinfo: *const WSASERVICECLASSINFOA) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAInstallServiceClassA ( lpserviceclassinfo : *const WSASERVICECLASSINFOA ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAInstallServiceClassA ( lpserviceclassinfo : *const WSASERVICECLASSINFOA ) -> i32 ); WSAInstallServiceClassA(lpserviceclassinfo) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAInstallServiceClassW(lpserviceclassinfo: *const WSASERVICECLASSINFOW) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAInstallServiceClassW ( lpserviceclassinfo : *const WSASERVICECLASSINFOW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAInstallServiceClassW ( lpserviceclassinfo : *const WSASERVICECLASSINFOW ) -> i32 ); WSAInstallServiceClassW(lpserviceclassinfo) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -855,14 +855,14 @@ pub unsafe fn WSAIoctl(s: P0, dwiocontrolcode: u32, lpvinbuffer: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAIoctl ( s : SOCKET , dwiocontrolcode : u32 , lpvinbuffer : *const ::core::ffi::c_void , cbinbuffer : u32 , lpvoutbuffer : *mut ::core::ffi::c_void , cboutbuffer : u32 , lpcbbytesreturned : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAIoctl ( s : SOCKET , dwiocontrolcode : u32 , lpvinbuffer : *const ::core::ffi::c_void , cbinbuffer : u32 , lpvoutbuffer : *mut ::core::ffi::c_void , cboutbuffer : u32 , lpcbbytesreturned : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSAIoctl(s.into(), dwiocontrolcode, ::core::mem::transmute(lpvinbuffer.unwrap_or(::std::ptr::null())), cbinbuffer, ::core::mem::transmute(lpvoutbuffer.unwrap_or(::std::ptr::null_mut())), cboutbuffer, lpcbbytesreturned, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSAIsBlocking() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAIsBlocking ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAIsBlocking ( ) -> super::super::Foundation:: BOOL ); WSAIsBlocking() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -872,21 +872,21 @@ pub unsafe fn WSAJoinLeaf(s: P0, name: *const SOCKADDR, namelen: i32, lpcall where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAJoinLeaf ( s : SOCKET , name : *const SOCKADDR , namelen : i32 , lpcallerdata : *const WSABUF , lpcalleedata : *mut WSABUF , lpsqos : *const QOS , lpgqos : *const QOS , dwflags : u32 ) -> SOCKET ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAJoinLeaf ( s : SOCKET , name : *const SOCKADDR , namelen : i32 , lpcallerdata : *const WSABUF , lpcalleedata : *mut WSABUF , lpsqos : *const QOS , lpgqos : *const QOS , dwflags : u32 ) -> SOCKET ); WSAJoinLeaf(s.into(), name, namelen, ::core::mem::transmute(lpcallerdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcalleedata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpsqos.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpgqos.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn WSALookupServiceBeginA(lpqsrestrictions: *const WSAQUERYSETA, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSALookupServiceBeginA ( lpqsrestrictions : *const WSAQUERYSETA , dwcontrolflags : u32 , lphlookup : *mut super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceBeginA ( lpqsrestrictions : *const WSAQUERYSETA , dwcontrolflags : u32 , lphlookup : *mut super::super::Foundation:: HANDLE ) -> i32 ); WSALookupServiceBeginA(lpqsrestrictions, dwcontrolflags, lphlookup) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn WSALookupServiceBeginW(lpqsrestrictions: *const WSAQUERYSETW, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSALookupServiceBeginW ( lpqsrestrictions : *const WSAQUERYSETW , dwcontrolflags : u32 , lphlookup : *mut super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceBeginW ( lpqsrestrictions : *const WSAQUERYSETW , dwcontrolflags : u32 , lphlookup : *mut super::super::Foundation:: HANDLE ) -> i32 ); WSALookupServiceBeginW(lpqsrestrictions, dwcontrolflags, lphlookup) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -896,7 +896,7 @@ pub unsafe fn WSALookupServiceEnd(hlookup: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSALookupServiceEnd ( hlookup : super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceEnd ( hlookup : super::super::Foundation:: HANDLE ) -> i32 ); WSALookupServiceEnd(hlookup.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -906,7 +906,7 @@ pub unsafe fn WSALookupServiceNextA(hlookup: P0, dwcontrolflags: u32, lpdwbu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSALookupServiceNextA ( hlookup : super::super::Foundation:: HANDLE , dwcontrolflags : u32 , lpdwbufferlength : *mut u32 , lpqsresults : *mut WSAQUERYSETA ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceNextA ( hlookup : super::super::Foundation:: HANDLE , dwcontrolflags : u32 , lpdwbufferlength : *mut u32 , lpqsresults : *mut WSAQUERYSETA ) -> i32 ); WSALookupServiceNextA(hlookup.into(), dwcontrolflags, lpdwbufferlength, lpqsresults) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -916,7 +916,7 @@ pub unsafe fn WSALookupServiceNextW(hlookup: P0, dwcontrolflags: u32, lpdwbu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSALookupServiceNextW ( hlookup : super::super::Foundation:: HANDLE , dwcontrolflags : u32 , lpdwbufferlength : *mut u32 , lpqsresults : *mut WSAQUERYSETW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceNextW ( hlookup : super::super::Foundation:: HANDLE , dwcontrolflags : u32 , lpdwbufferlength : *mut u32 , lpqsresults : *mut WSAQUERYSETW ) -> i32 ); WSALookupServiceNextW(hlookup.into(), dwcontrolflags, lpdwbufferlength, ::core::mem::transmute(lpqsresults.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -926,7 +926,7 @@ pub unsafe fn WSANSPIoctl(hlookup: P0, dwcontrolcode: u32, lpvinbuffer: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSANSPIoctl ( hlookup : super::super::Foundation:: HANDLE , dwcontrolcode : u32 , lpvinbuffer : *const ::core::ffi::c_void , cbinbuffer : u32 , lpvoutbuffer : *mut ::core::ffi::c_void , cboutbuffer : u32 , lpcbbytesreturned : *mut u32 , lpcompletion : *const WSACOMPLETION ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSANSPIoctl ( hlookup : super::super::Foundation:: HANDLE , dwcontrolcode : u32 , lpvinbuffer : *const ::core::ffi::c_void , cbinbuffer : u32 , lpvoutbuffer : *mut ::core::ffi::c_void , cboutbuffer : u32 , lpcbbytesreturned : *mut u32 , lpcompletion : *const WSACOMPLETION ) -> i32 ); WSANSPIoctl(hlookup.into(), dwcontrolcode, ::core::mem::transmute(lpvinbuffer.unwrap_or(::std::ptr::null())), cbinbuffer, ::core::mem::transmute(lpvoutbuffer.unwrap_or(::std::ptr::null_mut())), cboutbuffer, lpcbbytesreturned, ::core::mem::transmute(lpcompletion.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -935,7 +935,7 @@ pub unsafe fn WSANtohl(s: P0, netlong: u32, lphostlong: *mut u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSANtohl ( s : SOCKET , netlong : u32 , lphostlong : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSANtohl ( s : SOCKET , netlong : u32 , lphostlong : *mut u32 ) -> i32 ); WSANtohl(s.into(), netlong, lphostlong) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -944,13 +944,13 @@ pub unsafe fn WSANtohs(s: P0, netshort: u16, lphostshort: *mut u16) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSANtohs ( s : SOCKET , netshort : u16 , lphostshort : *mut u16 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSANtohs ( s : SOCKET , netshort : u16 , lphostshort : *mut u16 ) -> i32 ); WSANtohs(s.into(), netshort, lphostshort) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAPoll(fdarray: *mut WSAPOLLFD, fds: u32, timeout: i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAPoll ( fdarray : *mut WSAPOLLFD , fds : u32 , timeout : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAPoll ( fdarray : *mut WSAPOLLFD , fds : u32 , timeout : i32 ) -> i32 ); WSAPoll(fdarray, fds, timeout) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -960,14 +960,14 @@ pub unsafe fn WSAProviderCompleteAsyncCall(hasynccall: P0, iretcode: i32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAProviderCompleteAsyncCall ( hasynccall : super::super::Foundation:: HANDLE , iretcode : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAProviderCompleteAsyncCall ( hasynccall : super::super::Foundation:: HANDLE , iretcode : i32 ) -> i32 ); WSAProviderCompleteAsyncCall(hasynccall.into(), iretcode) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn WSAProviderConfigChange(lpnotificationhandle: *mut super::super::Foundation::HANDLE, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAProviderConfigChange ( lpnotificationhandle : *mut super::super::Foundation:: HANDLE , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAProviderConfigChange ( lpnotificationhandle : *mut super::super::Foundation:: HANDLE , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSAProviderConfigChange(lpnotificationhandle, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -977,7 +977,7 @@ pub unsafe fn WSAQuerySocketSecurity(socket: P0, securityquerytemplate: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn WSAQuerySocketSecurity ( socket : SOCKET , securityquerytemplate : *const SOCKET_SECURITY_QUERY_TEMPLATE , securityquerytemplatelen : u32 , securityqueryinfo : *mut SOCKET_SECURITY_QUERY_INFO , securityqueryinfolen : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSAQuerySocketSecurity ( socket : SOCKET , securityquerytemplate : *const SOCKET_SECURITY_QUERY_TEMPLATE , securityquerytemplatelen : u32 , securityqueryinfo : *mut SOCKET_SECURITY_QUERY_INFO , securityqueryinfolen : *mut u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSAQuerySocketSecurity(socket.into(), ::core::mem::transmute(securityquerytemplate.unwrap_or(::std::ptr::null())), securityquerytemplatelen, ::core::mem::transmute(securityqueryinfo.unwrap_or(::std::ptr::null_mut())), securityqueryinfolen, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), completionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -987,7 +987,7 @@ pub unsafe fn WSARecv(s: P0, lpbuffers: &[WSABUF], lpnumberofbytesrecvd: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSARecv ( s : SOCKET , lpbuffers : *const WSABUF , dwbuffercount : u32 , lpnumberofbytesrecvd : *mut u32 , lpflags : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSARecv ( s : SOCKET , lpbuffers : *const WSABUF , dwbuffercount : u32 , lpnumberofbytesrecvd : *mut u32 , lpflags : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSARecv(s.into(), ::core::mem::transmute(lpbuffers.as_ptr()), lpbuffers.len() as _, ::core::mem::transmute(lpnumberofbytesrecvd.unwrap_or(::std::ptr::null_mut())), lpflags, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -996,7 +996,7 @@ pub unsafe fn WSARecvDisconnect(s: P0, lpinbounddisconnectdata: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSARecvDisconnect ( s : SOCKET , lpinbounddisconnectdata : *const WSABUF ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSARecvDisconnect ( s : SOCKET , lpinbounddisconnectdata : *const WSABUF ) -> i32 ); WSARecvDisconnect(s.into(), ::core::mem::transmute(lpinbounddisconnectdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1005,7 +1005,7 @@ pub unsafe fn WSARecvEx(s: P0, buf: &mut [u8], flags: *mut i32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mswsock.dll""system" fn WSARecvEx ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "mswsock.dll""system" fn WSARecvEx ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : *mut i32 ) -> i32 ); WSARecvEx(s.into(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -1015,13 +1015,13 @@ pub unsafe fn WSARecvFrom(s: P0, lpbuffers: &[WSABUF], lpnumberofbytesrecvd: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSARecvFrom ( s : SOCKET , lpbuffers : *const WSABUF , dwbuffercount : u32 , lpnumberofbytesrecvd : *mut u32 , lpflags : *mut u32 , lpfrom : *mut SOCKADDR , lpfromlen : *mut i32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSARecvFrom ( s : SOCKET , lpbuffers : *const WSABUF , dwbuffercount : u32 , lpnumberofbytesrecvd : *mut u32 , lpflags : *mut u32 , lpfrom : *mut SOCKADDR , lpfromlen : *mut i32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSARecvFrom(s.into(), ::core::mem::transmute(lpbuffers.as_ptr()), lpbuffers.len() as _, ::core::mem::transmute(lpnumberofbytesrecvd.unwrap_or(::std::ptr::null_mut())), lpflags, ::core::mem::transmute(lpfrom.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpfromlen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSARemoveServiceClass(lpserviceclassid: *const ::windows::core::GUID) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSARemoveServiceClass ( lpserviceclassid : *const :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSARemoveServiceClass ( lpserviceclassid : *const :: windows::core::GUID ) -> i32 ); WSARemoveServiceClass(lpserviceclassid) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1031,13 +1031,13 @@ pub unsafe fn WSAResetEvent(hevent: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAResetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAResetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); WSAResetEvent(hevent.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSARevertImpersonation() -> i32 { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn WSARevertImpersonation ( ) -> i32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSARevertImpersonation ( ) -> i32 ); WSARevertImpersonation() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -1047,7 +1047,7 @@ pub unsafe fn WSASend(s: P0, lpbuffers: &[WSABUF], lpnumberofbytessent: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASend ( s : SOCKET , lpbuffers : *const WSABUF , dwbuffercount : u32 , lpnumberofbytessent : *mut u32 , dwflags : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASend ( s : SOCKET , lpbuffers : *const WSABUF , dwbuffercount : u32 , lpnumberofbytessent : *mut u32 , dwflags : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSASend(s.into(), ::core::mem::transmute(lpbuffers.as_ptr()), lpbuffers.len() as _, ::core::mem::transmute(lpnumberofbytessent.unwrap_or(::std::ptr::null_mut())), dwflags, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1056,7 +1056,7 @@ pub unsafe fn WSASendDisconnect(s: P0, lpoutbounddisconnectdata: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASendDisconnect ( s : SOCKET , lpoutbounddisconnectdata : *const WSABUF ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASendDisconnect ( s : SOCKET , lpoutbounddisconnectdata : *const WSABUF ) -> i32 ); WSASendDisconnect(s.into(), ::core::mem::transmute(lpoutbounddisconnectdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -1066,7 +1066,7 @@ pub unsafe fn WSASendMsg(handle: P0, lpmsg: *const WSAMSG, dwflags: u32, lpn where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASendMsg ( handle : SOCKET , lpmsg : *const WSAMSG , dwflags : u32 , lpnumberofbytessent : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASendMsg ( handle : SOCKET , lpmsg : *const WSAMSG , dwflags : u32 , lpnumberofbytessent : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSASendMsg(handle.into(), lpmsg, dwflags, ::core::mem::transmute(lpnumberofbytessent.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -1076,14 +1076,14 @@ pub unsafe fn WSASendTo(s: P0, lpbuffers: &[WSABUF], lpnumberofbytessent: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASendTo ( s : SOCKET , lpbuffers : *const WSABUF , dwbuffercount : u32 , lpnumberofbytessent : *mut u32 , dwflags : u32 , lpto : *const SOCKADDR , itolen : i32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASendTo ( s : SOCKET , lpbuffers : *const WSABUF , dwbuffercount : u32 , lpnumberofbytessent : *mut u32 , dwflags : u32 , lpto : *const SOCKADDR , itolen : i32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSASendTo(s.into(), ::core::mem::transmute(lpbuffers.as_ptr()), lpbuffers.len() as _, ::core::mem::transmute(lpnumberofbytessent.unwrap_or(::std::ptr::null_mut())), dwflags, ::core::mem::transmute(lpto.unwrap_or(::std::ptr::null())), itolen, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSASetBlockingHook(lpblockfunc: super::super::Foundation::FARPROC) -> super::super::Foundation::FARPROC { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASetBlockingHook ( lpblockfunc : super::super::Foundation:: FARPROC ) -> super::super::Foundation:: FARPROC ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetBlockingHook ( lpblockfunc : super::super::Foundation:: FARPROC ) -> super::super::Foundation:: FARPROC ); WSASetBlockingHook(lpblockfunc) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1093,27 +1093,27 @@ pub unsafe fn WSASetEvent(hevent: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); WSASetEvent(hevent.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSASetLastError(ierror: i32) { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASetLastError ( ierror : i32 ) -> ( ) ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetLastError ( ierror : i32 ) -> ( ) ); WSASetLastError(ierror) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn WSASetServiceA(lpqsreginfo: *const WSAQUERYSETA, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASetServiceA ( lpqsreginfo : *const WSAQUERYSETA , essoperation : WSAESETSERVICEOP , dwcontrolflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetServiceA ( lpqsreginfo : *const WSAQUERYSETA , essoperation : WSAESETSERVICEOP , dwcontrolflags : u32 ) -> i32 ); WSASetServiceA(lpqsreginfo, essoperation, dwcontrolflags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn WSASetServiceW(lpqsreginfo: *const WSAQUERYSETW, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASetServiceW ( lpqsreginfo : *const WSAQUERYSETW , essoperation : WSAESETSERVICEOP , dwcontrolflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetServiceW ( lpqsreginfo : *const WSAQUERYSETW , essoperation : WSAESETSERVICEOP , dwcontrolflags : u32 ) -> i32 ); WSASetServiceW(lpqsreginfo, essoperation, dwcontrolflags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -1123,7 +1123,7 @@ pub unsafe fn WSASetSocketPeerTargetName(socket: P0, peertargetname: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn WSASetSocketPeerTargetName ( socket : SOCKET , peertargetname : *const SOCKET_PEER_TARGET_NAME , peertargetnamelen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSASetSocketPeerTargetName ( socket : SOCKET , peertargetname : *const SOCKET_PEER_TARGET_NAME , peertargetnamelen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSASetSocketPeerTargetName(socket.into(), peertargetname, peertargetnamelen, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), completionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -1133,27 +1133,27 @@ pub unsafe fn WSASetSocketSecurity(socket: P0, securitysettings: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fwpuclnt.dll""system" fn WSASetSocketSecurity ( socket : SOCKET , securitysettings : *const SOCKET_SECURITY_SETTINGS , securitysettingslen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); + ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSASetSocketSecurity ( socket : SOCKET , securitysettings : *const SOCKET_SECURITY_SETTINGS , securitysettingslen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); WSASetSocketSecurity(socket.into(), ::core::mem::transmute(securitysettings.unwrap_or(::std::ptr::null())), securitysettingslen, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), completionroutine) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSASocketA(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOA>, g: u32, dwflags: u32) -> SOCKET { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASocketA ( af : i32 , r#type : i32 , protocol : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , g : u32 , dwflags : u32 ) -> SOCKET ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASocketA ( af : i32 , r#type : i32 , protocol : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , g : u32 , dwflags : u32 ) -> SOCKET ); WSASocketA(af, r#type, protocol, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), g, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSASocketW(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOW>, g: u32, dwflags: u32) -> SOCKET { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSASocketW ( af : i32 , r#type : i32 , protocol : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , g : u32 , dwflags : u32 ) -> SOCKET ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASocketW ( af : i32 , r#type : i32 , protocol : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , g : u32 , dwflags : u32 ) -> SOCKET ); WSASocketW(af, r#type, protocol, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), g, dwflags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSAStartup(wversionrequested: u16, lpwsadata: *mut WSADATA) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAStartup ( wversionrequested : u16 , lpwsadata : *mut WSADATA ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAStartup ( wversionrequested : u16 , lpwsadata : *mut WSADATA ) -> i32 ); WSAStartup(wversionrequested, lpwsadata) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1163,7 +1163,7 @@ pub unsafe fn WSAStringToAddressA(addressstring: P0, addressfamily: i32, lpp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAStringToAddressA ( addressstring : :: windows::core::PCSTR , addressfamily : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , lpaddress : *mut SOCKADDR , lpaddresslength : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAStringToAddressA ( addressstring : :: windows::core::PCSTR , addressfamily : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , lpaddress : *mut SOCKADDR , lpaddresslength : *mut i32 ) -> i32 ); WSAStringToAddressA(addressstring.into().abi(), addressfamily, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), lpaddress, lpaddresslength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1173,19 +1173,19 @@ pub unsafe fn WSAStringToAddressW(addressstring: P0, addressfamily: i32, lpp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAStringToAddressW ( addressstring : :: windows::core::PCWSTR , addressfamily : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , lpaddress : *mut SOCKADDR , lpaddresslength : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAStringToAddressW ( addressstring : :: windows::core::PCWSTR , addressfamily : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , lpaddress : *mut SOCKADDR , lpaddresslength : *mut i32 ) -> i32 ); WSAStringToAddressW(addressstring.into().abi(), addressfamily, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), lpaddress, lpaddresslength) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAUnadvertiseProvider(puuidproviderid: *const ::windows::core::GUID) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAUnadvertiseProvider ( puuidproviderid : *const :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAUnadvertiseProvider ( puuidproviderid : *const :: windows::core::GUID ) -> i32 ); WSAUnadvertiseProvider(puuidproviderid) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSAUnhookBlockingHook() -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAUnhookBlockingHook ( ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAUnhookBlockingHook ( ) -> i32 ); WSAUnhookBlockingHook() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1196,20 +1196,20 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSAWaitForMultipleEvents ( cevents : u32 , lphevents : *const super::super::Foundation:: HANDLE , fwaitall : super::super::Foundation:: BOOL , dwtimeout : u32 , falertable : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAWaitForMultipleEvents ( cevents : u32 , lphevents : *const super::super::Foundation:: HANDLE , fwaitall : super::super::Foundation:: BOOL , dwtimeout : u32 , falertable : super::super::Foundation:: BOOL ) -> u32 ); WSAWaitForMultipleEvents(lphevents.len() as _, ::core::mem::transmute(lphevents.as_ptr()), fwaitall.into(), dwtimeout, falertable.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCDeinstallProvider(lpproviderid: *const ::windows::core::GUID, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCDeinstallProvider ( lpproviderid : *const :: windows::core::GUID , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCDeinstallProvider ( lpproviderid : *const :: windows::core::GUID , lperrno : *mut i32 ) -> i32 ); WSCDeinstallProvider(lpproviderid, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn WSCDeinstallProvider32(lpproviderid: *const ::windows::core::GUID, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCDeinstallProvider32 ( lpproviderid : *const :: windows::core::GUID , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCDeinstallProvider32 ( lpproviderid : *const :: windows::core::GUID , lperrno : *mut i32 ) -> i32 ); WSCDeinstallProvider32(lpproviderid, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1219,7 +1219,7 @@ pub unsafe fn WSCEnableNSProvider(lpproviderid: *const ::windows::core::GUID where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCEnableNSProvider ( lpproviderid : *const :: windows::core::GUID , fenable : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnableNSProvider ( lpproviderid : *const :: windows::core::GUID , fenable : super::super::Foundation:: BOOL ) -> i32 ); WSCEnableNSProvider(lpproviderid, fenable.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1230,7 +1230,7 @@ pub unsafe fn WSCEnableNSProvider32(lpproviderid: *const ::windows::core::GU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCEnableNSProvider32 ( lpproviderid : *const :: windows::core::GUID , fenable : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnableNSProvider32 ( lpproviderid : *const :: windows::core::GUID , fenable : super::super::Foundation:: BOOL ) -> i32 ); WSCEnableNSProvider32(lpproviderid, fenable.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1238,7 +1238,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSCEnumNameSpaceProviders32(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOW) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCEnumNameSpaceProviders32 ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnumNameSpaceProviders32 ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOW ) -> i32 ); WSCEnumNameSpaceProviders32(lpdwbufferlength, lpnspbuffer) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1246,52 +1246,52 @@ pub unsafe fn WSCEnumNameSpaceProviders32(lpdwbufferlength: *mut u32, lpnspbuffe #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn WSCEnumNameSpaceProvidersEx32(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXW) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCEnumNameSpaceProvidersEx32 ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXW ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnumNameSpaceProvidersEx32 ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXW ) -> i32 ); WSCEnumNameSpaceProvidersEx32(lpdwbufferlength, lpnspbuffer) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCEnumProtocols(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: ::core::option::Option<*mut WSAPROTOCOL_INFOW>, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCEnumProtocols ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnumProtocols ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 , lperrno : *mut i32 ) -> i32 ); WSCEnumProtocols(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpprotocolbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn WSCEnumProtocols32(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCEnumProtocols32 ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnumProtocols32 ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 , lperrno : *mut i32 ) -> i32 ); WSCEnumProtocols32(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), lpprotocolbuffer, lpdwbufferlength, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCGetApplicationCategory(path: &[u16], extra: ::core::option::Option<&[u16]>, ppermittedlspcategories: *mut u32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCGetApplicationCategory ( path : :: windows::core::PCWSTR , pathlength : u32 , extra : :: windows::core::PCWSTR , extralength : u32 , ppermittedlspcategories : *mut u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetApplicationCategory ( path : :: windows::core::PCWSTR , pathlength : u32 , extra : :: windows::core::PCWSTR , extralength : u32 , ppermittedlspcategories : *mut u32 , lperrno : *mut i32 ) -> i32 ); WSCGetApplicationCategory(::core::mem::transmute(path.as_ptr()), path.len() as _, ::core::mem::transmute(extra.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extra.as_deref().map_or(0, |slice| slice.len() as _), ppermittedlspcategories, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCGetProviderInfo(lpproviderid: *const ::windows::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *mut u8, infosize: *mut usize, flags: u32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCGetProviderInfo ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *mut u8 , infosize : *mut usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetProviderInfo ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *mut u8 , infosize : *mut usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); WSCGetProviderInfo(lpproviderid, infotype, info, infosize, flags, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn WSCGetProviderInfo32(lpproviderid: *const ::windows::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *mut u8, infosize: *mut usize, flags: u32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCGetProviderInfo32 ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *mut u8 , infosize : *mut usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetProviderInfo32 ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *mut u8 , infosize : *mut usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); WSCGetProviderInfo32(lpproviderid, infotype, info, infosize, flags, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCGetProviderPath(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: ::windows::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCGetProviderPath ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PWSTR , lpproviderdllpathlen : *mut i32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetProviderPath ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PWSTR , lpproviderdllpathlen : *mut i32 , lperrno : *mut i32 ) -> i32 ); WSCGetProviderPath(lpproviderid, ::core::mem::transmute(lpszproviderdllpath), lpproviderdllpathlen, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn WSCGetProviderPath32(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: ::windows::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCGetProviderPath32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PWSTR , lpproviderdllpathlen : *mut i32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetProviderPath32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PWSTR , lpproviderdllpathlen : *mut i32 , lperrno : *mut i32 ) -> i32 ); WSCGetProviderPath32(lpproviderid, ::core::mem::transmute(lpszproviderdllpath), lpproviderdllpathlen, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1301,7 +1301,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpace ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpace ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID ) -> i32 ); WSCInstallNameSpace(lpszidentifier.into().abi(), lpszpathname.into().abi(), dwnamespace, dwversion, lpproviderid) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1312,7 +1312,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpace32 ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpace32 ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID ) -> i32 ); WSCInstallNameSpace32(lpszidentifier.into().abi(), lpszpathname.into().abi(), dwnamespace, dwversion, lpproviderid) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] @@ -1323,7 +1323,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpaceEx ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID , lpproviderspecific : *const super::super::System::Com:: BLOB ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpaceEx ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID , lpproviderspecific : *const super::super::System::Com:: BLOB ) -> i32 ); WSCInstallNameSpaceEx(lpszidentifier.into().abi(), lpszpathname.into().abi(), dwnamespace, dwversion, lpproviderid, lpproviderspecific) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] @@ -1335,7 +1335,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpaceEx32 ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID , lpproviderspecific : *const super::super::System::Com:: BLOB ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpaceEx32 ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID , lpproviderspecific : *const super::super::System::Com:: BLOB ) -> i32 ); WSCInstallNameSpaceEx32(lpszidentifier.into().abi(), lpszpathname.into().abi(), dwnamespace, dwversion, lpproviderid, lpproviderspecific) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1344,7 +1344,7 @@ pub unsafe fn WSCInstallProvider(lpproviderid: *const ::windows::core::GUID, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCInstallProvider ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallProvider ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); WSCInstallProvider(lpproviderid, lpszproviderdllpath.into().abi(), ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1354,7 +1354,7 @@ pub unsafe fn WSCInstallProvider64_32(lpproviderid: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCInstallProvider64_32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallProvider64_32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); WSCInstallProvider64_32(lpproviderid, lpszproviderdllpath.into().abi(), ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1366,39 +1366,39 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCInstallProviderAndChains64_32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpszproviderdllpath32 : :: windows::core::PCWSTR , lpszlspname : :: windows::core::PCWSTR , dwserviceflags : u32 , lpprotocolinfolist : *mut WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lpdwcatalogentryid : *mut u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallProviderAndChains64_32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpszproviderdllpath32 : :: windows::core::PCWSTR , lpszlspname : :: windows::core::PCWSTR , dwserviceflags : u32 , lpprotocolinfolist : *mut WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lpdwcatalogentryid : *mut u32 , lperrno : *mut i32 ) -> i32 ); WSCInstallProviderAndChains64_32(lpproviderid, lpszproviderdllpath.into().abi(), lpszproviderdllpath32.into().abi(), lpszlspname.into().abi(), dwserviceflags, ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, ::core::mem::transmute(lpdwcatalogentryid.unwrap_or(::std::ptr::null_mut())), lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCSetApplicationCategory(path: &[u16], extra: ::core::option::Option<&[u16]>, permittedlspcategories: u32, pprevpermlspcat: ::core::option::Option<*mut u32>, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCSetApplicationCategory ( path : :: windows::core::PCWSTR , pathlength : u32 , extra : :: windows::core::PCWSTR , extralength : u32 , permittedlspcategories : u32 , pprevpermlspcat : *mut u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCSetApplicationCategory ( path : :: windows::core::PCWSTR , pathlength : u32 , extra : :: windows::core::PCWSTR , extralength : u32 , permittedlspcategories : u32 , pprevpermlspcat : *mut u32 , lperrno : *mut i32 ) -> i32 ); WSCSetApplicationCategory(::core::mem::transmute(path.as_ptr()), path.len() as _, ::core::mem::transmute(extra.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extra.as_deref().map_or(0, |slice| slice.len() as _), permittedlspcategories, ::core::mem::transmute(pprevpermlspcat.unwrap_or(::std::ptr::null_mut())), lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCSetProviderInfo(lpproviderid: *const ::windows::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: &[u8], flags: u32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCSetProviderInfo ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *const u8 , infosize : usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCSetProviderInfo ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *const u8 , infosize : usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); WSCSetProviderInfo(lpproviderid, infotype, ::core::mem::transmute(info.as_ptr()), info.len() as _, flags, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn WSCSetProviderInfo32(lpproviderid: *const ::windows::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: &[u8], flags: u32, lperrno: *mut i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCSetProviderInfo32 ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *const u8 , infosize : usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCSetProviderInfo32 ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *const u8 , infosize : usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); WSCSetProviderInfo32(lpproviderid, infotype, ::core::mem::transmute(info.as_ptr()), info.len() as _, flags, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCUnInstallNameSpace(lpproviderid: *const ::windows::core::GUID) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCUnInstallNameSpace ( lpproviderid : *const :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCUnInstallNameSpace ( lpproviderid : *const :: windows::core::GUID ) -> i32 ); WSCUnInstallNameSpace(lpproviderid) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn WSCUnInstallNameSpace32(lpproviderid: *const ::windows::core::GUID) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCUnInstallNameSpace32 ( lpproviderid : *const :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCUnInstallNameSpace32 ( lpproviderid : *const :: windows::core::GUID ) -> i32 ); WSCUnInstallNameSpace32(lpproviderid) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1407,7 +1407,7 @@ pub unsafe fn WSCUpdateProvider(lpproviderid: *const ::windows::core::GUID, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCUpdateProvider ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCUpdateProvider ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); WSCUpdateProvider(lpproviderid, lpszproviderdllpath.into().abi(), ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1417,33 +1417,33 @@ pub unsafe fn WSCUpdateProvider32(lpproviderid: *const ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCUpdateProvider32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCUpdateProvider32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); WSCUpdateProvider32(lpproviderid, lpszproviderdllpath.into().abi(), ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, lperrno) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCWriteNameSpaceOrder(lpproviderid: *mut ::windows::core::GUID, dwnumberofentries: u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCWriteNameSpaceOrder ( lpproviderid : *mut :: windows::core::GUID , dwnumberofentries : u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCWriteNameSpaceOrder ( lpproviderid : *mut :: windows::core::GUID , dwnumberofentries : u32 ) -> i32 ); WSCWriteNameSpaceOrder(lpproviderid, dwnumberofentries) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn WSCWriteNameSpaceOrder32(lpproviderid: *mut ::windows::core::GUID, dwnumberofentries: u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCWriteNameSpaceOrder32 ( lpproviderid : *mut :: windows::core::GUID , dwnumberofentries : u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCWriteNameSpaceOrder32 ( lpproviderid : *mut :: windows::core::GUID , dwnumberofentries : u32 ) -> i32 ); WSCWriteNameSpaceOrder32(lpproviderid, dwnumberofentries) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn WSCWriteProviderOrder(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCWriteProviderOrder ( lpwdcatalogentryid : *mut u32 , dwnumberofentries : u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCWriteProviderOrder ( lpwdcatalogentryid : *mut u32 , dwnumberofentries : u32 ) -> i32 ); WSCWriteProviderOrder(lpwdcatalogentryid, dwnumberofentries) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn WSCWriteProviderOrder32(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn WSCWriteProviderOrder32 ( lpwdcatalogentryid : *mut u32 , dwnumberofentries : u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCWriteProviderOrder32 ( lpwdcatalogentryid : *mut u32 , dwnumberofentries : u32 ) -> i32 ); WSCWriteProviderOrder32(lpwdcatalogentryid, dwnumberofentries) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1452,7 +1452,7 @@ pub unsafe fn __WSAFDIsSet(fd: P0, param1: *mut FD_SET) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn __WSAFDIsSet ( fd : SOCKET , param1 : *mut FD_SET ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn __WSAFDIsSet ( fd : SOCKET , param1 : *mut FD_SET ) -> i32 ); __WSAFDIsSet(fd.into(), param1) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1462,7 +1462,7 @@ pub unsafe fn accept(s: P0, addr: ::core::option::Option<*mut SOCKADDR>, add where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn accept ( s : SOCKET , addr : *mut SOCKADDR , addrlen : *mut i32 ) -> SOCKET ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn accept ( s : SOCKET , addr : *mut SOCKADDR , addrlen : *mut i32 ) -> SOCKET ); accept(s.into(), ::core::mem::transmute(addr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(addrlen.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1472,7 +1472,7 @@ pub unsafe fn bind(s: P0, name: *const SOCKADDR, namelen: i32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn bind ( s : SOCKET , name : *const SOCKADDR , namelen : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn bind ( s : SOCKET , name : *const SOCKADDR , namelen : i32 ) -> i32 ); bind(s.into(), name, namelen) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1481,7 +1481,7 @@ pub unsafe fn closesocket(s: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn closesocket ( s : SOCKET ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn closesocket ( s : SOCKET ) -> i32 ); closesocket(s.into()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1491,14 +1491,14 @@ pub unsafe fn connect(s: P0, name: *const SOCKADDR, namelen: i32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn connect ( s : SOCKET , name : *const SOCKADDR , namelen : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn connect ( s : SOCKET , name : *const SOCKADDR , namelen : i32 ) -> i32 ); connect(s.into(), name, namelen) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn freeaddrinfo(paddrinfo: ::core::option::Option<*const ADDRINFOA>) { - ::windows::core::link ! ( "ws2_32.dll""system" fn freeaddrinfo ( paddrinfo : *const ADDRINFOA ) -> ( ) ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn freeaddrinfo ( paddrinfo : *const ADDRINFOA ) -> ( ) ); freeaddrinfo(::core::mem::transmute(paddrinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1509,13 +1509,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn getaddrinfo ( pnodename : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , phints : *const ADDRINFOA , ppresult : *mut *mut ADDRINFOA ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getaddrinfo ( pnodename : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , phints : *const ADDRINFOA , ppresult : *mut *mut ADDRINFOA ) -> i32 ); getaddrinfo(pnodename.into().abi(), pservicename.into().abi(), ::core::mem::transmute(phints.unwrap_or(::std::ptr::null())), ppresult) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn gethostbyaddr(addr: &[u8], r#type: i32) -> *mut HOSTENT { - ::windows::core::link ! ( "ws2_32.dll""system" fn gethostbyaddr ( addr : :: windows::core::PCSTR , len : i32 , r#type : i32 ) -> *mut HOSTENT ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn gethostbyaddr ( addr : :: windows::core::PCSTR , len : i32 , r#type : i32 ) -> *mut HOSTENT ); gethostbyaddr(::core::mem::transmute(addr.as_ptr()), addr.len() as _, r#type) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1524,20 +1524,20 @@ pub unsafe fn gethostbyname(name: P0) -> *mut HOSTENT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn gethostbyname ( name : :: windows::core::PCSTR ) -> *mut HOSTENT ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn gethostbyname ( name : :: windows::core::PCSTR ) -> *mut HOSTENT ); gethostbyname(name.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn gethostname(name: &mut [u8]) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn gethostname ( name : :: windows::core::PSTR , namelen : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn gethostname ( name : :: windows::core::PSTR , namelen : i32 ) -> i32 ); gethostname(::core::mem::transmute(name.as_ptr()), name.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn getnameinfo(psockaddr: *const SOCKADDR, sockaddrlength: i32, pnodebuffer: ::core::option::Option<&mut [u8]>, pservicebuffer: ::core::option::Option<&mut [u8]>, flags: i32) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn getnameinfo ( psockaddr : *const SOCKADDR , sockaddrlength : i32 , pnodebuffer : :: windows::core::PSTR , nodebuffersize : u32 , pservicebuffer : :: windows::core::PSTR , servicebuffersize : u32 , flags : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getnameinfo ( psockaddr : *const SOCKADDR , sockaddrlength : i32 , pnodebuffer : :: windows::core::PSTR , nodebuffersize : u32 , pservicebuffer : :: windows::core::PSTR , servicebuffersize : u32 , flags : i32 ) -> i32 ); getnameinfo(psockaddr, sockaddrlength, ::core::mem::transmute(pnodebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pnodebuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pservicebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pservicebuffer.as_deref().map_or(0, |slice| slice.len() as _), flags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1547,7 +1547,7 @@ pub unsafe fn getpeername(s: P0, name: *mut SOCKADDR, namelen: *mut i32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn getpeername ( s : SOCKET , name : *mut SOCKADDR , namelen : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getpeername ( s : SOCKET , name : *mut SOCKADDR , namelen : *mut i32 ) -> i32 ); getpeername(s.into(), name, namelen) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1556,13 +1556,13 @@ pub unsafe fn getprotobyname(name: P0) -> *mut PROTOENT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn getprotobyname ( name : :: windows::core::PCSTR ) -> *mut PROTOENT ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getprotobyname ( name : :: windows::core::PCSTR ) -> *mut PROTOENT ); getprotobyname(name.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn getprotobynumber(number: i32) -> *mut PROTOENT { - ::windows::core::link ! ( "ws2_32.dll""system" fn getprotobynumber ( number : i32 ) -> *mut PROTOENT ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getprotobynumber ( number : i32 ) -> *mut PROTOENT ); getprotobynumber(number) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1572,7 +1572,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn getservbyname ( name : :: windows::core::PCSTR , proto : :: windows::core::PCSTR ) -> *mut SERVENT ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getservbyname ( name : :: windows::core::PCSTR , proto : :: windows::core::PCSTR ) -> *mut SERVENT ); getservbyname(name.into().abi(), proto.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1581,7 +1581,7 @@ pub unsafe fn getservbyport(port: i32, proto: P0) -> *mut SERVENT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn getservbyport ( port : i32 , proto : :: windows::core::PCSTR ) -> *mut SERVENT ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getservbyport ( port : i32 , proto : :: windows::core::PCSTR ) -> *mut SERVENT ); getservbyport(port, proto.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1591,7 +1591,7 @@ pub unsafe fn getsockname(s: P0, name: *mut SOCKADDR, namelen: *mut i32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn getsockname ( s : SOCKET , name : *mut SOCKADDR , namelen : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getsockname ( s : SOCKET , name : *mut SOCKADDR , namelen : *mut i32 ) -> i32 ); getsockname(s.into(), name, namelen) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1600,19 +1600,19 @@ pub unsafe fn getsockopt(s: P0, level: i32, optname: i32, optval: ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn getsockopt ( s : SOCKET , level : i32 , optname : i32 , optval : :: windows::core::PSTR , optlen : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn getsockopt ( s : SOCKET , level : i32 , optname : i32 , optval : :: windows::core::PSTR , optlen : *mut i32 ) -> i32 ); getsockopt(s.into(), level, optname, ::core::mem::transmute(optval), optlen) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn htonl(hostlong: u32) -> u32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn htonl ( hostlong : u32 ) -> u32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn htonl ( hostlong : u32 ) -> u32 ); htonl(hostlong) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn htons(hostshort: u16) -> u16 { - ::windows::core::link ! ( "ws2_32.dll""system" fn htons ( hostshort : u16 ) -> u16 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn htons ( hostshort : u16 ) -> u16 ); htons(hostshort) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1621,19 +1621,19 @@ pub unsafe fn inet_addr(cp: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn inet_addr ( cp : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn inet_addr ( cp : :: windows::core::PCSTR ) -> u32 ); inet_addr(cp.into().abi()) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn inet_ntoa(r#in: IN_ADDR) -> ::windows::core::PSTR { - ::windows::core::link ! ( "ws2_32.dll""system" fn inet_ntoa ( r#in : IN_ADDR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn inet_ntoa ( r#in : IN_ADDR ) -> :: windows::core::PSTR ); inet_ntoa(::core::mem::transmute(r#in)) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn inet_ntop(family: i32, paddr: *const ::core::ffi::c_void, pstringbuf: &mut [u8]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "ws2_32.dll""system" fn inet_ntop ( family : i32 , paddr : *const ::core::ffi::c_void , pstringbuf : :: windows::core::PSTR , stringbufsize : usize ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn inet_ntop ( family : i32 , paddr : *const ::core::ffi::c_void , pstringbuf : :: windows::core::PSTR , stringbufsize : usize ) -> :: windows::core::PSTR ); inet_ntop(family, paddr, ::core::mem::transmute(pstringbuf.as_ptr()), pstringbuf.len() as _) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1642,7 +1642,7 @@ pub unsafe fn inet_pton(family: i32, pszaddrstring: P0, paddrbuf: *mut ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "ws2_32.dll""system" fn inet_pton ( family : i32 , pszaddrstring : :: windows::core::PCSTR , paddrbuf : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn inet_pton ( family : i32 , pszaddrstring : :: windows::core::PCSTR , paddrbuf : *mut ::core::ffi::c_void ) -> i32 ); inet_pton(family, pszaddrstring.into().abi(), paddrbuf) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1651,7 +1651,7 @@ pub unsafe fn ioctlsocket(s: P0, cmd: i32, argp: *mut u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn ioctlsocket ( s : SOCKET , cmd : i32 , argp : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn ioctlsocket ( s : SOCKET , cmd : i32 , argp : *mut u32 ) -> i32 ); ioctlsocket(s.into(), cmd, argp) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1660,19 +1660,19 @@ pub unsafe fn listen(s: P0, backlog: i32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn listen ( s : SOCKET , backlog : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn listen ( s : SOCKET , backlog : i32 ) -> i32 ); listen(s.into(), backlog) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn ntohl(netlong: u32) -> u32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn ntohl ( netlong : u32 ) -> u32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn ntohl ( netlong : u32 ) -> u32 ); ntohl(netlong) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn ntohs(netshort: u16) -> u16 { - ::windows::core::link ! ( "ws2_32.dll""system" fn ntohs ( netshort : u16 ) -> u16 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn ntohs ( netshort : u16 ) -> u16 ); ntohs(netshort) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1681,7 +1681,7 @@ pub unsafe fn recv(s: P0, buf: &mut [u8], flags: SEND_RECV_FLAGS) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn recv ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : SEND_RECV_FLAGS ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn recv ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : SEND_RECV_FLAGS ) -> i32 ); recv(s.into(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1691,13 +1691,13 @@ pub unsafe fn recvfrom(s: P0, buf: &mut [u8], flags: i32, from: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn recvfrom ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : i32 , from : *mut SOCKADDR , fromlen : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn recvfrom ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : i32 , from : *mut SOCKADDR , fromlen : *mut i32 ) -> i32 ); recvfrom(s.into(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags, ::core::mem::transmute(from.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(fromlen.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn select(nfds: i32, readfds: ::core::option::Option<*mut FD_SET>, writefds: ::core::option::Option<*mut FD_SET>, exceptfds: ::core::option::Option<*mut FD_SET>, timeout: ::core::option::Option<*const TIMEVAL>) -> i32 { - ::windows::core::link ! ( "ws2_32.dll""system" fn select ( nfds : i32 , readfds : *mut FD_SET , writefds : *mut FD_SET , exceptfds : *mut FD_SET , timeout : *const TIMEVAL ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn select ( nfds : i32 , readfds : *mut FD_SET , writefds : *mut FD_SET , exceptfds : *mut FD_SET , timeout : *const TIMEVAL ) -> i32 ); select(nfds, ::core::mem::transmute(readfds.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(writefds.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(exceptfds.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1706,7 +1706,7 @@ pub unsafe fn send(s: P0, buf: &[u8], flags: SEND_RECV_FLAGS) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn send ( s : SOCKET , buf : :: windows::core::PCSTR , len : i32 , flags : SEND_RECV_FLAGS ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn send ( s : SOCKET , buf : :: windows::core::PCSTR , len : i32 , flags : SEND_RECV_FLAGS ) -> i32 ); send(s.into(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] @@ -1716,7 +1716,7 @@ pub unsafe fn sendto(s: P0, buf: &[u8], flags: i32, to: *const SOCKADDR, tol where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn sendto ( s : SOCKET , buf : :: windows::core::PCSTR , len : i32 , flags : i32 , to : *const SOCKADDR , tolen : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn sendto ( s : SOCKET , buf : :: windows::core::PCSTR , len : i32 , flags : i32 , to : *const SOCKADDR , tolen : i32 ) -> i32 ); sendto(s.into(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags, to, tolen) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1725,7 +1725,7 @@ pub unsafe fn setsockopt(s: P0, level: i32, optname: i32, optval: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn setsockopt ( s : SOCKET , level : i32 , optname : i32 , optval : :: windows::core::PCSTR , optlen : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn setsockopt ( s : SOCKET , level : i32 , optname : i32 , optval : :: windows::core::PCSTR , optlen : i32 ) -> i32 ); setsockopt(s.into(), level, optname, ::core::mem::transmute(optval.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), optval.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -1734,13 +1734,13 @@ pub unsafe fn shutdown(s: P0, how: i32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ws2_32.dll""system" fn shutdown ( s : SOCKET , how : i32 ) -> i32 ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn shutdown ( s : SOCKET , how : i32 ) -> i32 ); shutdown(s.into(), how) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] pub unsafe fn socket(af: i32, r#type: i32, protocol: i32) -> SOCKET { - ::windows::core::link ! ( "ws2_32.dll""system" fn socket ( af : i32 , r#type : i32 , protocol : i32 ) -> SOCKET ); + ::windows::imp::link ! ( "ws2_32.dll""system" fn socket ( af : i32 , r#type : i32 , protocol : i32 ) -> SOCKET ); socket(af, r#type, protocol) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs index 2a8c46fb66..de323b3f2f 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNAuthenticatorGetAssertion ( hwnd : super::super::Foundation:: HWND , pwszrpid : :: windows::core::PCWSTR , pwebauthnclientdata : *const WEBAUTHN_CLIENT_DATA , pwebauthngetassertionoptions : *const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS , ppwebauthnassertion : *mut *mut WEBAUTHN_ASSERTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNAuthenticatorGetAssertion ( hwnd : super::super::Foundation:: HWND , pwszrpid : :: windows::core::PCWSTR , pwebauthnclientdata : *const WEBAUTHN_CLIENT_DATA , pwebauthngetassertionoptions : *const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS , ppwebauthnassertion : *mut *mut WEBAUTHN_ASSERTION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut WEBAUTHN_ASSERTION>(); WebAuthNAuthenticatorGetAssertion(hwnd.into(), pwszrpid.into().abi(), pwebauthnclientdata, ::core::mem::transmute(pwebauthngetassertionoptions.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -17,213 +17,213 @@ pub unsafe fn WebAuthNAuthenticatorMakeCredential(hwnd: P0, prpinformation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNAuthenticatorMakeCredential ( hwnd : super::super::Foundation:: HWND , prpinformation : *const WEBAUTHN_RP_ENTITY_INFORMATION , puserinformation : *const WEBAUTHN_USER_ENTITY_INFORMATION , ppubkeycredparams : *const WEBAUTHN_COSE_CREDENTIAL_PARAMETERS , pwebauthnclientdata : *const WEBAUTHN_CLIENT_DATA , pwebauthnmakecredentialoptions : *const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS , ppwebauthncredentialattestation : *mut *mut WEBAUTHN_CREDENTIAL_ATTESTATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNAuthenticatorMakeCredential ( hwnd : super::super::Foundation:: HWND , prpinformation : *const WEBAUTHN_RP_ENTITY_INFORMATION , puserinformation : *const WEBAUTHN_USER_ENTITY_INFORMATION , ppubkeycredparams : *const WEBAUTHN_COSE_CREDENTIAL_PARAMETERS , pwebauthnclientdata : *const WEBAUTHN_CLIENT_DATA , pwebauthnmakecredentialoptions : *const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS , ppwebauthncredentialattestation : *mut *mut WEBAUTHN_CREDENTIAL_ATTESTATION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut WEBAUTHN_CREDENTIAL_ATTESTATION>(); WebAuthNAuthenticatorMakeCredential(hwnd.into(), prpinformation, puserinformation, ppubkeycredparams, pwebauthnclientdata, ::core::mem::transmute(pwebauthnmakecredentialoptions.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WebAuthNCancelCurrentOperation(pcancellationid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNCancelCurrentOperation ( pcancellationid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNCancelCurrentOperation ( pcancellationid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); WebAuthNCancelCurrentOperation(pcancellationid).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WebAuthNFreeAssertion(pwebauthnassertion: *const WEBAUTHN_ASSERTION) { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNFreeAssertion ( pwebauthnassertion : *const WEBAUTHN_ASSERTION ) -> ( ) ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNFreeAssertion ( pwebauthnassertion : *const WEBAUTHN_ASSERTION ) -> ( ) ); WebAuthNFreeAssertion(pwebauthnassertion) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WebAuthNFreeCredentialAttestation(pwebauthncredentialattestation: ::core::option::Option<*const WEBAUTHN_CREDENTIAL_ATTESTATION>) { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNFreeCredentialAttestation ( pwebauthncredentialattestation : *const WEBAUTHN_CREDENTIAL_ATTESTATION ) -> ( ) ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNFreeCredentialAttestation ( pwebauthncredentialattestation : *const WEBAUTHN_CREDENTIAL_ATTESTATION ) -> ( ) ); WebAuthNFreeCredentialAttestation(::core::mem::transmute(pwebauthncredentialattestation.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WebAuthNGetApiVersionNumber() -> u32 { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNGetApiVersionNumber ( ) -> u32 ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNGetApiVersionNumber ( ) -> u32 ); WebAuthNGetApiVersionNumber() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WebAuthNGetCancellationId() -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNGetCancellationId ( pcancellationid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNGetCancellationId ( pcancellationid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); WebAuthNGetCancellationId(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WebAuthNGetErrorName(hr: ::windows::core::HRESULT) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNGetErrorName ( hr : :: windows::core::HRESULT ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNGetErrorName ( hr : :: windows::core::HRESULT ) -> :: windows::core::PWSTR ); WebAuthNGetErrorName(hr) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WebAuthNGetW3CExceptionDOMError(hr: ::windows::core::HRESULT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNGetW3CExceptionDOMError ( hr : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNGetW3CExceptionDOMError ( hr : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); WebAuthNGetW3CExceptionDOMError(hr).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable() -> ::windows::core::Result { - ::windows::core::link ! ( "webauthn.dll""system" fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable ( pbisuserverifyingplatformauthenticatoravailable : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webauthn.dll""system" fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable ( pbisuserverifyingplatformauthenticatoravailable : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAbandonCall(serviceproxy: *const WS_SERVICE_PROXY, callid: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAbandonCall ( serviceproxy : *const WS_SERVICE_PROXY , callid : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAbandonCall ( serviceproxy : *const WS_SERVICE_PROXY , callid : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAbandonCall(serviceproxy, callid, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAbandonMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAbandonMessage ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAbandonMessage ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAbandonMessage(channel, message, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAbortChannel(channel: *const WS_CHANNEL, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAbortChannel ( channel : *const WS_CHANNEL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAbortChannel ( channel : *const WS_CHANNEL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAbortChannel(channel, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAbortListener(listener: *const WS_LISTENER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAbortListener ( listener : *const WS_LISTENER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAbortListener ( listener : *const WS_LISTENER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAbortListener(listener, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAbortServiceHost(servicehost: *const WS_SERVICE_HOST, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAbortServiceHost ( servicehost : *const WS_SERVICE_HOST , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAbortServiceHost ( servicehost : *const WS_SERVICE_HOST , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAbortServiceHost(servicehost, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAbortServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAbortServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAbortServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAbortServiceProxy(serviceproxy, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAcceptChannel(listener: *const WS_LISTENER, channel: *const WS_CHANNEL, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAcceptChannel ( listener : *const WS_LISTENER , channel : *const WS_CHANNEL , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAcceptChannel ( listener : *const WS_LISTENER , channel : *const WS_CHANNEL , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAcceptChannel(listener, channel, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsAddCustomHeader(message: *const WS_MESSAGE, headerdescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, headerattributes: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAddCustomHeader ( message : *const WS_MESSAGE , headerdescription : *const WS_ELEMENT_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , headerattributes : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAddCustomHeader ( message : *const WS_MESSAGE , headerdescription : *const WS_ELEMENT_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , headerattributes : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAddCustomHeader(message, headerdescription, writeoption, value, valuesize, headerattributes, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAddErrorString(error: *const WS_ERROR, string: *const WS_STRING) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAddErrorString ( error : *const WS_ERROR , string : *const WS_STRING ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAddErrorString ( error : *const WS_ERROR , string : *const WS_STRING ) -> :: windows::core::HRESULT ); WsAddErrorString(error, string).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsAddMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, valuetype: WS_TYPE, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAddMappedHeader ( message : *const WS_MESSAGE , headername : *const WS_XML_STRING , valuetype : WS_TYPE , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAddMappedHeader ( message : *const WS_MESSAGE , headername : *const WS_XML_STRING , valuetype : WS_TYPE , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAddMappedHeader(message, headername, valuetype, writeoption, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAddressMessage(message: *const WS_MESSAGE, address: ::core::option::Option<*const WS_ENDPOINT_ADDRESS>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAddressMessage ( message : *const WS_MESSAGE , address : *const WS_ENDPOINT_ADDRESS , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAddressMessage ( message : *const WS_MESSAGE , address : *const WS_ENDPOINT_ADDRESS , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAddressMessage(message, ::core::mem::transmute(address.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAlloc(heap: *const WS_HEAP, size: usize, ptr: *mut *mut ::core::ffi::c_void, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAlloc ( heap : *const WS_HEAP , size : usize , ptr : *mut *mut ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAlloc ( heap : *const WS_HEAP , size : usize , ptr : *mut *mut ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAlloc(heap, size, ptr, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsAsyncExecute(asyncstate: *const WS_ASYNC_STATE, operation: WS_ASYNC_FUNCTION, callbackmodel: WS_CALLBACK_MODEL, callbackstate: ::core::option::Option<*const ::core::ffi::c_void>, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsAsyncExecute ( asyncstate : *const WS_ASYNC_STATE , operation : WS_ASYNC_FUNCTION , callbackmodel : WS_CALLBACK_MODEL , callbackstate : *const ::core::ffi::c_void , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsAsyncExecute ( asyncstate : *const WS_ASYNC_STATE , operation : WS_ASYNC_FUNCTION , callbackmodel : WS_CALLBACK_MODEL , callbackstate : *const ::core::ffi::c_void , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsAsyncExecute(asyncstate, operation, callbackmodel, ::core::mem::transmute(callbackstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsCall(serviceproxy: *const WS_SERVICE_PROXY, operation: *const WS_OPERATION_DESCRIPTION, arguments: ::core::option::Option<*const *const ::core::ffi::c_void>, heap: *const WS_HEAP, callproperties: ::core::option::Option<&[WS_CALL_PROPERTY]>, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCall ( serviceproxy : *const WS_SERVICE_PROXY , operation : *const WS_OPERATION_DESCRIPTION , arguments : *const *const ::core::ffi::c_void , heap : *const WS_HEAP , callproperties : *const WS_CALL_PROPERTY , callpropertycount : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCall ( serviceproxy : *const WS_SERVICE_PROXY , operation : *const WS_OPERATION_DESCRIPTION , arguments : *const *const ::core::ffi::c_void , heap : *const WS_HEAP , callproperties : *const WS_CALL_PROPERTY , callpropertycount : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCall(serviceproxy, operation, ::core::mem::transmute(arguments.unwrap_or(::std::ptr::null())), heap, ::core::mem::transmute(callproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), callproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCheckMustUnderstandHeaders(message: *const WS_MESSAGE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCheckMustUnderstandHeaders ( message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCheckMustUnderstandHeaders ( message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCheckMustUnderstandHeaders(message, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCloseChannel(channel: *const WS_CHANNEL, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCloseChannel ( channel : *const WS_CHANNEL , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCloseChannel ( channel : *const WS_CHANNEL , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCloseChannel(channel, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCloseListener(listener: *const WS_LISTENER, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCloseListener ( listener : *const WS_LISTENER , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCloseListener ( listener : *const WS_LISTENER , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCloseListener(listener, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCloseServiceHost(servicehost: *const WS_SERVICE_HOST, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCloseServiceHost ( servicehost : *const WS_SERVICE_HOST , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCloseServiceHost ( servicehost : *const WS_SERVICE_HOST , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCloseServiceHost(servicehost, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCloseServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCloseServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCloseServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCloseServiceProxy(serviceproxy, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCombineUrl(baseurl: *const WS_STRING, referenceurl: *const WS_STRING, flags: u32, heap: *const WS_HEAP, resulturl: *mut WS_STRING, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCombineUrl ( baseurl : *const WS_STRING , referenceurl : *const WS_STRING , flags : u32 , heap : *const WS_HEAP , resulturl : *mut WS_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCombineUrl ( baseurl : *const WS_STRING , referenceurl : *const WS_STRING , flags : u32 , heap : *const WS_HEAP , resulturl : *mut WS_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCombineUrl(baseurl, referenceurl, flags, heap, resulturl, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCopyError(source: *const WS_ERROR, destination: *const WS_ERROR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCopyError ( source : *const WS_ERROR , destination : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCopyError ( source : *const WS_ERROR , destination : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCopyError(source, destination).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCopyNode(writer: *const WS_XML_WRITER, reader: *const WS_XML_READER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCopyNode ( writer : *const WS_XML_WRITER , reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCopyNode ( writer : *const WS_XML_WRITER , reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCopyNode(writer, reader, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateChannel(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, properties: ::core::option::Option<&[WS_CHANNEL_PROPERTY]>, securitydescription: ::core::option::Option<*const WS_SECURITY_DESCRIPTION>, channel: *mut *mut WS_CHANNEL, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateChannel ( channeltype : WS_CHANNEL_TYPE , channelbinding : WS_CHANNEL_BINDING , properties : *const WS_CHANNEL_PROPERTY , propertycount : u32 , securitydescription : *const WS_SECURITY_DESCRIPTION , channel : *mut *mut WS_CHANNEL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateChannel ( channeltype : WS_CHANNEL_TYPE , channelbinding : WS_CHANNEL_BINDING , properties : *const WS_CHANNEL_PROPERTY , propertycount : u32 , securitydescription : *const WS_SECURITY_DESCRIPTION , channel : *mut *mut WS_CHANNEL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateChannel(channeltype, channelbinding, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(securitydescription.unwrap_or(::std::ptr::null())), channel, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateChannelForListener(listener: *const WS_LISTENER, properties: ::core::option::Option<&[WS_CHANNEL_PROPERTY]>, channel: *mut *mut WS_CHANNEL, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateChannelForListener ( listener : *const WS_LISTENER , properties : *const WS_CHANNEL_PROPERTY , propertycount : u32 , channel : *mut *mut WS_CHANNEL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateChannelForListener ( listener : *const WS_LISTENER , properties : *const WS_CHANNEL_PROPERTY , propertycount : u32 , channel : *mut *mut WS_CHANNEL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateChannelForListener(listener, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), channel, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateError(properties: ::core::option::Option<&[WS_ERROR_PROPERTY]>) -> ::windows::core::Result<*mut WS_ERROR> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateError ( properties : *const WS_ERROR_PROPERTY , propertycount : u32 , error : *mut *mut WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateError ( properties : *const WS_ERROR_PROPERTY , propertycount : u32 , error : *mut *mut WS_ERROR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut WS_ERROR>(); WsCreateError(::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -231,50 +231,50 @@ pub unsafe fn WsCreateError(properties: ::core::option::Option<&[WS_ERROR_PROPER #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsCreateFaultFromError(error: *const WS_ERROR, faulterrorcode: ::windows::core::HRESULT, faultdisclosure: WS_FAULT_DISCLOSURE, heap: *const WS_HEAP, fault: *mut WS_FAULT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateFaultFromError ( error : *const WS_ERROR , faulterrorcode : :: windows::core::HRESULT , faultdisclosure : WS_FAULT_DISCLOSURE , heap : *const WS_HEAP , fault : *mut WS_FAULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateFaultFromError ( error : *const WS_ERROR , faulterrorcode : :: windows::core::HRESULT , faultdisclosure : WS_FAULT_DISCLOSURE , heap : *const WS_HEAP , fault : *mut WS_FAULT ) -> :: windows::core::HRESULT ); WsCreateFaultFromError(error, faulterrorcode, faultdisclosure, heap, fault).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateHeap(maxsize: usize, trimsize: usize, properties: ::core::option::Option<*const WS_HEAP_PROPERTY>, propertycount: u32, heap: *mut *mut WS_HEAP, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateHeap ( maxsize : usize , trimsize : usize , properties : *const WS_HEAP_PROPERTY , propertycount : u32 , heap : *mut *mut WS_HEAP , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateHeap ( maxsize : usize , trimsize : usize , properties : *const WS_HEAP_PROPERTY , propertycount : u32 , heap : *mut *mut WS_HEAP , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateHeap(maxsize, trimsize, ::core::mem::transmute(properties.unwrap_or(::std::ptr::null())), propertycount, heap, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateListener(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, properties: ::core::option::Option<&[WS_LISTENER_PROPERTY]>, securitydescription: ::core::option::Option<*const WS_SECURITY_DESCRIPTION>, listener: *mut *mut WS_LISTENER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateListener ( channeltype : WS_CHANNEL_TYPE , channelbinding : WS_CHANNEL_BINDING , properties : *const WS_LISTENER_PROPERTY , propertycount : u32 , securitydescription : *const WS_SECURITY_DESCRIPTION , listener : *mut *mut WS_LISTENER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateListener ( channeltype : WS_CHANNEL_TYPE , channelbinding : WS_CHANNEL_BINDING , properties : *const WS_LISTENER_PROPERTY , propertycount : u32 , securitydescription : *const WS_SECURITY_DESCRIPTION , listener : *mut *mut WS_LISTENER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateListener(channeltype, channelbinding, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(securitydescription.unwrap_or(::std::ptr::null())), listener, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateMessage(envelopeversion: WS_ENVELOPE_VERSION, addressingversion: WS_ADDRESSING_VERSION, properties: ::core::option::Option<&[WS_MESSAGE_PROPERTY]>, message: *mut *mut WS_MESSAGE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateMessage ( envelopeversion : WS_ENVELOPE_VERSION , addressingversion : WS_ADDRESSING_VERSION , properties : *const WS_MESSAGE_PROPERTY , propertycount : u32 , message : *mut *mut WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateMessage ( envelopeversion : WS_ENVELOPE_VERSION , addressingversion : WS_ADDRESSING_VERSION , properties : *const WS_MESSAGE_PROPERTY , propertycount : u32 , message : *mut *mut WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateMessage(envelopeversion, addressingversion, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), message, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateMessageForChannel(channel: *const WS_CHANNEL, properties: ::core::option::Option<&[WS_MESSAGE_PROPERTY]>, message: *mut *mut WS_MESSAGE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateMessageForChannel ( channel : *const WS_CHANNEL , properties : *const WS_MESSAGE_PROPERTY , propertycount : u32 , message : *mut *mut WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateMessageForChannel ( channel : *const WS_CHANNEL , properties : *const WS_MESSAGE_PROPERTY , propertycount : u32 , message : *mut *mut WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateMessageForChannel(channel, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), message, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateMetadata(properties: ::core::option::Option<&[WS_METADATA_PROPERTY]>, metadata: *mut *mut WS_METADATA, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateMetadata ( properties : *const WS_METADATA_PROPERTY , propertycount : u32 , metadata : *mut *mut WS_METADATA , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateMetadata ( properties : *const WS_METADATA_PROPERTY , propertycount : u32 , metadata : *mut *mut WS_METADATA , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateMetadata(::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), metadata, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateReader(properties: ::core::option::Option<&[WS_XML_READER_PROPERTY]>, reader: *mut *mut WS_XML_READER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateReader ( properties : *const WS_XML_READER_PROPERTY , propertycount : u32 , reader : *mut *mut WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateReader ( properties : *const WS_XML_READER_PROPERTY , propertycount : u32 , reader : *mut *mut WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateReader(::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), reader, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsCreateServiceEndpointFromTemplate(channeltype: WS_CHANNEL_TYPE, properties: ::core::option::Option<&[WS_SERVICE_ENDPOINT_PROPERTY]>, addressurl: ::core::option::Option<*const WS_STRING>, contract: *const WS_SERVICE_CONTRACT, authorizationcallback: WS_SERVICE_SECURITY_CALLBACK, heap: *const WS_HEAP, templatetype: WS_BINDING_TEMPLATE_TYPE, templatevalue: ::core::option::Option<*const ::core::ffi::c_void>, templatesize: u32, templatedescription: *const ::core::ffi::c_void, templatedescriptionsize: u32, serviceendpoint: *mut *mut WS_SERVICE_ENDPOINT, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateServiceEndpointFromTemplate ( channeltype : WS_CHANNEL_TYPE , properties : *const WS_SERVICE_ENDPOINT_PROPERTY , propertycount : u32 , addressurl : *const WS_STRING , contract : *const WS_SERVICE_CONTRACT , authorizationcallback : WS_SERVICE_SECURITY_CALLBACK , heap : *const WS_HEAP , templatetype : WS_BINDING_TEMPLATE_TYPE , templatevalue : *const ::core::ffi::c_void , templatesize : u32 , templatedescription : *const ::core::ffi::c_void , templatedescriptionsize : u32 , serviceendpoint : *mut *mut WS_SERVICE_ENDPOINT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateServiceEndpointFromTemplate ( channeltype : WS_CHANNEL_TYPE , properties : *const WS_SERVICE_ENDPOINT_PROPERTY , propertycount : u32 , addressurl : *const WS_STRING , contract : *const WS_SERVICE_CONTRACT , authorizationcallback : WS_SERVICE_SECURITY_CALLBACK , heap : *const WS_HEAP , templatetype : WS_BINDING_TEMPLATE_TYPE , templatevalue : *const ::core::ffi::c_void , templatesize : u32 , templatedescription : *const ::core::ffi::c_void , templatedescriptionsize : u32 , serviceendpoint : *mut *mut WS_SERVICE_ENDPOINT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateServiceEndpointFromTemplate( channeltype, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -297,13 +297,13 @@ pub unsafe fn WsCreateServiceEndpointFromTemplate(channeltype: WS_CHANNEL_TYPE, #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsCreateServiceHost(endpoints: ::core::option::Option<&[*const WS_SERVICE_ENDPOINT]>, serviceproperties: ::core::option::Option<&[WS_SERVICE_PROPERTY]>, servicehost: *mut *mut WS_SERVICE_HOST, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateServiceHost ( endpoints : *const *const WS_SERVICE_ENDPOINT , endpointcount : u16 , serviceproperties : *const WS_SERVICE_PROPERTY , servicepropertycount : u32 , servicehost : *mut *mut WS_SERVICE_HOST , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateServiceHost ( endpoints : *const *const WS_SERVICE_ENDPOINT , endpointcount : u16 , serviceproperties : *const WS_SERVICE_PROPERTY , servicepropertycount : u32 , servicehost : *mut *mut WS_SERVICE_HOST , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateServiceHost(::core::mem::transmute(endpoints.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), endpoints.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(serviceproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), serviceproperties.as_deref().map_or(0, |slice| slice.len() as _), servicehost, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateServiceProxy(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, securitydescription: ::core::option::Option<*const WS_SECURITY_DESCRIPTION>, properties: ::core::option::Option<&[WS_PROXY_PROPERTY]>, channelproperties: ::core::option::Option<&[WS_CHANNEL_PROPERTY]>, serviceproxy: *mut *mut WS_SERVICE_PROXY, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateServiceProxy ( channeltype : WS_CHANNEL_TYPE , channelbinding : WS_CHANNEL_BINDING , securitydescription : *const WS_SECURITY_DESCRIPTION , properties : *const WS_PROXY_PROPERTY , propertycount : u32 , channelproperties : *const WS_CHANNEL_PROPERTY , channelpropertycount : u32 , serviceproxy : *mut *mut WS_SERVICE_PROXY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateServiceProxy ( channeltype : WS_CHANNEL_TYPE , channelbinding : WS_CHANNEL_BINDING , securitydescription : *const WS_SECURITY_DESCRIPTION , properties : *const WS_PROXY_PROPERTY , propertycount : u32 , channelproperties : *const WS_CHANNEL_PROPERTY , channelpropertycount : u32 , serviceproxy : *mut *mut WS_SERVICE_PROXY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateServiceProxy( channeltype, channelbinding, @@ -320,75 +320,75 @@ pub unsafe fn WsCreateServiceProxy(channeltype: WS_CHANNEL_TYPE, channelbinding: #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateServiceProxyFromTemplate(channeltype: WS_CHANNEL_TYPE, properties: ::core::option::Option<&[WS_PROXY_PROPERTY]>, templatetype: WS_BINDING_TEMPLATE_TYPE, templatevalue: ::core::option::Option<*const ::core::ffi::c_void>, templatesize: u32, templatedescription: *const ::core::ffi::c_void, templatedescriptionsize: u32, serviceproxy: *mut *mut WS_SERVICE_PROXY, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateServiceProxyFromTemplate ( channeltype : WS_CHANNEL_TYPE , properties : *const WS_PROXY_PROPERTY , propertycount : u32 , templatetype : WS_BINDING_TEMPLATE_TYPE , templatevalue : *const ::core::ffi::c_void , templatesize : u32 , templatedescription : *const ::core::ffi::c_void , templatedescriptionsize : u32 , serviceproxy : *mut *mut WS_SERVICE_PROXY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateServiceProxyFromTemplate ( channeltype : WS_CHANNEL_TYPE , properties : *const WS_PROXY_PROPERTY , propertycount : u32 , templatetype : WS_BINDING_TEMPLATE_TYPE , templatevalue : *const ::core::ffi::c_void , templatesize : u32 , templatedescription : *const ::core::ffi::c_void , templatedescriptionsize : u32 , serviceproxy : *mut *mut WS_SERVICE_PROXY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateServiceProxyFromTemplate(channeltype, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), templatetype, ::core::mem::transmute(templatevalue.unwrap_or(::std::ptr::null())), templatesize, templatedescription, templatedescriptionsize, serviceproxy, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateWriter(properties: ::core::option::Option<&[WS_XML_WRITER_PROPERTY]>, writer: *mut *mut WS_XML_WRITER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateWriter ( properties : *const WS_XML_WRITER_PROPERTY , propertycount : u32 , writer : *mut *mut WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateWriter ( properties : *const WS_XML_WRITER_PROPERTY , propertycount : u32 , writer : *mut *mut WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateWriter(::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), writer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateXmlBuffer(heap: *const WS_HEAP, properties: ::core::option::Option<&[WS_XML_BUFFER_PROPERTY]>, buffer: *mut *mut WS_XML_BUFFER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateXmlBuffer ( heap : *const WS_HEAP , properties : *const WS_XML_BUFFER_PROPERTY , propertycount : u32 , buffer : *mut *mut WS_XML_BUFFER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateXmlBuffer ( heap : *const WS_HEAP , properties : *const WS_XML_BUFFER_PROPERTY , propertycount : u32 , buffer : *mut *mut WS_XML_BUFFER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateXmlBuffer(heap, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), buffer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsCreateXmlSecurityToken(tokenxml: ::core::option::Option<*const WS_XML_BUFFER>, tokenkey: ::core::option::Option<*const WS_SECURITY_KEY_HANDLE>, properties: ::core::option::Option<&[WS_XML_SECURITY_TOKEN_PROPERTY]>, token: *mut *mut WS_SECURITY_TOKEN, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsCreateXmlSecurityToken ( tokenxml : *const WS_XML_BUFFER , tokenkey : *const WS_SECURITY_KEY_HANDLE , properties : *const WS_XML_SECURITY_TOKEN_PROPERTY , propertycount : u32 , token : *mut *mut WS_SECURITY_TOKEN , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsCreateXmlSecurityToken ( tokenxml : *const WS_XML_BUFFER , tokenkey : *const WS_SECURITY_KEY_HANDLE , properties : *const WS_XML_SECURITY_TOKEN_PROPERTY , propertycount : u32 , token : *mut *mut WS_SECURITY_TOKEN , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsCreateXmlSecurityToken(::core::mem::transmute(tokenxml.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tokenkey.unwrap_or(::std::ptr::null())), ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), token, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsDateTimeToFileTime(datetime: *const WS_DATETIME, filetime: *mut super::super::Foundation::FILETIME, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsDateTimeToFileTime ( datetime : *const WS_DATETIME , filetime : *mut super::super::Foundation:: FILETIME , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsDateTimeToFileTime ( datetime : *const WS_DATETIME , filetime : *mut super::super::Foundation:: FILETIME , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsDateTimeToFileTime(datetime, filetime, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsDecodeUrl(url: *const WS_STRING, flags: u32, heap: *const WS_HEAP, outurl: *mut *mut WS_URL, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsDecodeUrl ( url : *const WS_STRING , flags : u32 , heap : *const WS_HEAP , outurl : *mut *mut WS_URL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsDecodeUrl ( url : *const WS_STRING , flags : u32 , heap : *const WS_HEAP , outurl : *mut *mut WS_URL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsDecodeUrl(url, flags, heap, outurl, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsEncodeUrl(url: *const WS_URL, flags: u32, heap: *const WS_HEAP, outurl: *mut WS_STRING, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsEncodeUrl ( url : *const WS_URL , flags : u32 , heap : *const WS_HEAP , outurl : *mut WS_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsEncodeUrl ( url : *const WS_URL , flags : u32 , heap : *const WS_HEAP , outurl : *mut WS_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsEncodeUrl(url, flags, heap, outurl, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsEndReaderCanonicalization(reader: *const WS_XML_READER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsEndReaderCanonicalization ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsEndReaderCanonicalization ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsEndReaderCanonicalization(reader, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsEndWriterCanonicalization(writer: *const WS_XML_WRITER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsEndWriterCanonicalization ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsEndWriterCanonicalization ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsEndWriterCanonicalization(writer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsFileTimeToDateTime(filetime: *const super::super::Foundation::FILETIME, datetime: *mut WS_DATETIME, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsFileTimeToDateTime ( filetime : *const super::super::Foundation:: FILETIME , datetime : *mut WS_DATETIME , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFileTimeToDateTime ( filetime : *const super::super::Foundation:: FILETIME , datetime : *mut WS_DATETIME , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsFileTimeToDateTime(filetime, datetime, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFillBody(message: *const WS_MESSAGE, minsize: u32, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsFillBody ( message : *const WS_MESSAGE , minsize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFillBody ( message : *const WS_MESSAGE , minsize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsFillBody(message, minsize, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFillReader(reader: *const WS_XML_READER, minsize: u32, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsFillReader ( reader : *const WS_XML_READER , minsize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFillReader ( reader : *const WS_XML_READER , minsize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsFillReader(reader, minsize, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] @@ -398,117 +398,117 @@ pub unsafe fn WsFindAttribute(reader: *const WS_XML_READER, localname: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "webservices.dll""system" fn WsFindAttribute ( reader : *const WS_XML_READER , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , required : super::super::Foundation:: BOOL , attributeindex : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFindAttribute ( reader : *const WS_XML_READER , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , required : super::super::Foundation:: BOOL , attributeindex : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsFindAttribute(reader, localname, ns, required.into(), attributeindex, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFlushBody(message: *const WS_MESSAGE, minsize: u32, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsFlushBody ( message : *const WS_MESSAGE , minsize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFlushBody ( message : *const WS_MESSAGE , minsize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsFlushBody(message, minsize, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFlushWriter(writer: *const WS_XML_WRITER, minsize: u32, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsFlushWriter ( writer : *const WS_XML_WRITER , minsize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFlushWriter ( writer : *const WS_XML_WRITER , minsize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsFlushWriter(writer, minsize, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeChannel(channel: *const WS_CHANNEL) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeChannel ( channel : *const WS_CHANNEL ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeChannel ( channel : *const WS_CHANNEL ) -> ( ) ); WsFreeChannel(channel) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeError(error: *const WS_ERROR) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeError ( error : *const WS_ERROR ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeError ( error : *const WS_ERROR ) -> ( ) ); WsFreeError(error) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeHeap(heap: *const WS_HEAP) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeHeap ( heap : *const WS_HEAP ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeHeap ( heap : *const WS_HEAP ) -> ( ) ); WsFreeHeap(heap) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeListener(listener: *const WS_LISTENER) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeListener ( listener : *const WS_LISTENER ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeListener ( listener : *const WS_LISTENER ) -> ( ) ); WsFreeListener(listener) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeMessage(message: *const WS_MESSAGE) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeMessage ( message : *const WS_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeMessage ( message : *const WS_MESSAGE ) -> ( ) ); WsFreeMessage(message) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeMetadata(metadata: *const WS_METADATA) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeMetadata ( metadata : *const WS_METADATA ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeMetadata ( metadata : *const WS_METADATA ) -> ( ) ); WsFreeMetadata(metadata) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeReader(reader: *const WS_XML_READER) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeReader ( reader : *const WS_XML_READER ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeReader ( reader : *const WS_XML_READER ) -> ( ) ); WsFreeReader(reader) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeSecurityToken(token: *const WS_SECURITY_TOKEN) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeSecurityToken ( token : *const WS_SECURITY_TOKEN ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeSecurityToken ( token : *const WS_SECURITY_TOKEN ) -> ( ) ); WsFreeSecurityToken(token) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeServiceHost(servicehost: *const WS_SERVICE_HOST) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeServiceHost ( servicehost : *const WS_SERVICE_HOST ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeServiceHost ( servicehost : *const WS_SERVICE_HOST ) -> ( ) ); WsFreeServiceHost(servicehost) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeServiceProxy(serviceproxy: *const WS_SERVICE_PROXY) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY ) -> ( ) ); WsFreeServiceProxy(serviceproxy) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsFreeWriter(writer: *const WS_XML_WRITER) { - ::windows::core::link ! ( "webservices.dll""system" fn WsFreeWriter ( writer : *const WS_XML_WRITER ) -> ( ) ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsFreeWriter ( writer : *const WS_XML_WRITER ) -> ( ) ); WsFreeWriter(writer) } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetChannelProperty(channel: *const WS_CHANNEL, id: WS_CHANNEL_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetChannelProperty ( channel : *const WS_CHANNEL , id : WS_CHANNEL_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetChannelProperty ( channel : *const WS_CHANNEL , id : WS_CHANNEL_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetChannelProperty(channel, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsGetCustomHeader(message: *const WS_MESSAGE, customheaderdescription: *const WS_ELEMENT_DESCRIPTION, repeatingoption: WS_REPEATING_HEADER_OPTION, headerindex: u32, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32, headerattributes: ::core::option::Option<*mut u32>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetCustomHeader ( message : *const WS_MESSAGE , customheaderdescription : *const WS_ELEMENT_DESCRIPTION , repeatingoption : WS_REPEATING_HEADER_OPTION , headerindex : u32 , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , headerattributes : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetCustomHeader ( message : *const WS_MESSAGE , customheaderdescription : *const WS_ELEMENT_DESCRIPTION , repeatingoption : WS_REPEATING_HEADER_OPTION , headerindex : u32 , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , headerattributes : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetCustomHeader(message, customheaderdescription, repeatingoption, headerindex, readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize, ::core::mem::transmute(headerattributes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsGetDictionary(encoding: WS_ENCODING, dictionary: *mut *mut WS_XML_DICTIONARY, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetDictionary ( encoding : WS_ENCODING , dictionary : *mut *mut WS_XML_DICTIONARY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetDictionary ( encoding : WS_ENCODING , dictionary : *mut *mut WS_XML_DICTIONARY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetDictionary(encoding, dictionary, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetErrorProperty(error: *const WS_ERROR, id: WS_ERROR_PROPERTY_ID, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetErrorProperty ( error : *const WS_ERROR , id : WS_ERROR_PROPERTY_ID , buffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetErrorProperty ( error : *const WS_ERROR , id : WS_ERROR_PROPERTY_ID , buffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> :: windows::core::HRESULT ); WsGetErrorProperty(error, id, buffer, buffersize).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetErrorString(error: *const WS_ERROR, index: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetErrorString ( error : *const WS_ERROR , index : u32 , string : *mut WS_STRING ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetErrorString ( error : *const WS_ERROR , index : u32 , string : *mut WS_STRING ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WsGetErrorString(error, index, &mut result__).from_abi(result__) } @@ -516,69 +516,69 @@ pub unsafe fn WsGetErrorString(error: *const WS_ERROR, index: u32) -> ::windows: #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsGetFaultErrorDetail(error: *const WS_ERROR, faultdetaildescription: *const WS_FAULT_DETAIL_DESCRIPTION, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetFaultErrorDetail ( error : *const WS_ERROR , faultdetaildescription : *const WS_FAULT_DETAIL_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetFaultErrorDetail ( error : *const WS_ERROR , faultdetaildescription : *const WS_FAULT_DETAIL_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 ) -> :: windows::core::HRESULT ); WsGetFaultErrorDetail(error, faultdetaildescription, readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetFaultErrorProperty(error: *const WS_ERROR, id: WS_FAULT_ERROR_PROPERTY_ID, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetFaultErrorProperty ( error : *const WS_ERROR , id : WS_FAULT_ERROR_PROPERTY_ID , buffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetFaultErrorProperty ( error : *const WS_ERROR , id : WS_FAULT_ERROR_PROPERTY_ID , buffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> :: windows::core::HRESULT ); WsGetFaultErrorProperty(error, id, buffer, buffersize).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, valuetype: WS_TYPE, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetHeader ( message : *const WS_MESSAGE , headertype : WS_HEADER_TYPE , valuetype : WS_TYPE , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetHeader ( message : *const WS_MESSAGE , headertype : WS_HEADER_TYPE , valuetype : WS_TYPE , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetHeader(message, headertype, valuetype, readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetHeaderAttributes(message: *const WS_MESSAGE, reader: *const WS_XML_READER, headerattributes: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetHeaderAttributes ( message : *const WS_MESSAGE , reader : *const WS_XML_READER , headerattributes : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetHeaderAttributes ( message : *const WS_MESSAGE , reader : *const WS_XML_READER , headerattributes : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetHeaderAttributes(message, reader, headerattributes, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetHeapProperty(heap: *const WS_HEAP, id: WS_HEAP_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetHeapProperty ( heap : *const WS_HEAP , id : WS_HEAP_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetHeapProperty ( heap : *const WS_HEAP , id : WS_HEAP_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetHeapProperty(heap, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetListenerProperty(listener: *const WS_LISTENER, id: WS_LISTENER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetListenerProperty ( listener : *const WS_LISTENER , id : WS_LISTENER_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetListenerProperty ( listener : *const WS_LISTENER , id : WS_LISTENER_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetListenerProperty(listener, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsGetMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, repeatingoption: WS_REPEATING_HEADER_OPTION, headerindex: u32, valuetype: WS_TYPE, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetMappedHeader ( message : *const WS_MESSAGE , headername : *const WS_XML_STRING , repeatingoption : WS_REPEATING_HEADER_OPTION , headerindex : u32 , valuetype : WS_TYPE , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetMappedHeader ( message : *const WS_MESSAGE , headername : *const WS_XML_STRING , repeatingoption : WS_REPEATING_HEADER_OPTION , headerindex : u32 , valuetype : WS_TYPE , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetMappedHeader(message, headername, repeatingoption, headerindex, valuetype, readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetMessageProperty(message: *const WS_MESSAGE, id: WS_MESSAGE_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetMessageProperty ( message : *const WS_MESSAGE , id : WS_MESSAGE_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetMessageProperty ( message : *const WS_MESSAGE , id : WS_MESSAGE_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetMessageProperty(message, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsGetMetadataEndpoints(metadata: *const WS_METADATA, endpoints: *mut WS_METADATA_ENDPOINTS, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetMetadataEndpoints ( metadata : *const WS_METADATA , endpoints : *mut WS_METADATA_ENDPOINTS , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetMetadataEndpoints ( metadata : *const WS_METADATA , endpoints : *mut WS_METADATA_ENDPOINTS , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetMetadataEndpoints(metadata, endpoints, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetMetadataProperty(metadata: *const WS_METADATA, id: WS_METADATA_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetMetadataProperty ( metadata : *const WS_METADATA , id : WS_METADATA_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetMetadataProperty ( metadata : *const WS_METADATA , id : WS_METADATA_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetMetadataProperty(metadata, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetMissingMetadataDocumentAddress(metadata: *const WS_METADATA, address: *mut *mut WS_ENDPOINT_ADDRESS, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetMissingMetadataDocumentAddress ( metadata : *const WS_METADATA , address : *mut *mut WS_ENDPOINT_ADDRESS , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetMissingMetadataDocumentAddress ( metadata : *const WS_METADATA , address : *mut *mut WS_ENDPOINT_ADDRESS , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetMissingMetadataDocumentAddress(metadata, address, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] @@ -588,25 +588,25 @@ pub unsafe fn WsGetNamespaceFromPrefix(reader: *const WS_XML_READER, prefix: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetNamespaceFromPrefix ( reader : *const WS_XML_READER , prefix : *const WS_XML_STRING , required : super::super::Foundation:: BOOL , ns : *mut *mut WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetNamespaceFromPrefix ( reader : *const WS_XML_READER , prefix : *const WS_XML_STRING , required : super::super::Foundation:: BOOL , ns : *mut *mut WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetNamespaceFromPrefix(reader, prefix, required.into(), ns, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetOperationContextProperty(context: *const WS_OPERATION_CONTEXT, id: WS_OPERATION_CONTEXT_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetOperationContextProperty ( context : *const WS_OPERATION_CONTEXT , id : WS_OPERATION_CONTEXT_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetOperationContextProperty ( context : *const WS_OPERATION_CONTEXT , id : WS_OPERATION_CONTEXT_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetOperationContextProperty(context, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetPolicyAlternativeCount(policy: *const WS_POLICY, count: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetPolicyAlternativeCount ( policy : *const WS_POLICY , count : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetPolicyAlternativeCount ( policy : *const WS_POLICY , count : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetPolicyAlternativeCount(policy, count, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetPolicyProperty(policy: *const WS_POLICY, id: WS_POLICY_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetPolicyProperty ( policy : *const WS_POLICY , id : WS_POLICY_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetPolicyProperty ( policy : *const WS_POLICY , id : WS_POLICY_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetPolicyProperty(policy, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] @@ -616,80 +616,80 @@ pub unsafe fn WsGetPrefixFromNamespace(writer: *const WS_XML_WRITER, ns: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetPrefixFromNamespace ( writer : *const WS_XML_WRITER , ns : *const WS_XML_STRING , required : super::super::Foundation:: BOOL , prefix : *mut *mut WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetPrefixFromNamespace ( writer : *const WS_XML_WRITER , ns : *const WS_XML_STRING , required : super::super::Foundation:: BOOL , prefix : *mut *mut WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetPrefixFromNamespace(writer, ns, required.into(), prefix, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetReaderNode(xmlreader: *const WS_XML_READER, node: *mut *mut WS_XML_NODE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetReaderNode ( xmlreader : *const WS_XML_READER , node : *mut *mut WS_XML_NODE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetReaderNode ( xmlreader : *const WS_XML_READER , node : *mut *mut WS_XML_NODE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetReaderNode(xmlreader, node, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetReaderPosition(reader: *const WS_XML_READER, nodeposition: *mut WS_XML_NODE_POSITION, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetReaderPosition ( reader : *const WS_XML_READER , nodeposition : *mut WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetReaderPosition ( reader : *const WS_XML_READER , nodeposition : *mut WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetReaderPosition(reader, nodeposition, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetReaderProperty(reader: *const WS_XML_READER, id: WS_XML_READER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetReaderProperty ( reader : *const WS_XML_READER , id : WS_XML_READER_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetReaderProperty ( reader : *const WS_XML_READER , id : WS_XML_READER_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetReaderProperty(reader, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetSecurityContextProperty(securitycontext: *const WS_SECURITY_CONTEXT, id: WS_SECURITY_CONTEXT_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetSecurityContextProperty ( securitycontext : *const WS_SECURITY_CONTEXT , id : WS_SECURITY_CONTEXT_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetSecurityContextProperty ( securitycontext : *const WS_SECURITY_CONTEXT , id : WS_SECURITY_CONTEXT_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetSecurityContextProperty(securitycontext, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetSecurityTokenProperty(securitytoken: *const WS_SECURITY_TOKEN, id: WS_SECURITY_TOKEN_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, heap: ::core::option::Option<*const WS_HEAP>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetSecurityTokenProperty ( securitytoken : *const WS_SECURITY_TOKEN , id : WS_SECURITY_TOKEN_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , heap : *const WS_HEAP , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetSecurityTokenProperty ( securitytoken : *const WS_SECURITY_TOKEN , id : WS_SECURITY_TOKEN_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , heap : *const WS_HEAP , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetSecurityTokenProperty(securitytoken, id, value, valuesize, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetServiceHostProperty(servicehost: *const WS_SERVICE_HOST, id: WS_SERVICE_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetServiceHostProperty ( servicehost : *const WS_SERVICE_HOST , id : WS_SERVICE_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetServiceHostProperty ( servicehost : *const WS_SERVICE_HOST , id : WS_SERVICE_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetServiceHostProperty(servicehost, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetServiceProxyProperty(serviceproxy: *const WS_SERVICE_PROXY, id: WS_PROXY_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetServiceProxyProperty ( serviceproxy : *const WS_SERVICE_PROXY , id : WS_PROXY_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetServiceProxyProperty ( serviceproxy : *const WS_SERVICE_PROXY , id : WS_PROXY_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetServiceProxyProperty(serviceproxy, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetWriterPosition(writer: *const WS_XML_WRITER, nodeposition: *mut WS_XML_NODE_POSITION, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetWriterPosition ( writer : *const WS_XML_WRITER , nodeposition : *mut WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetWriterPosition ( writer : *const WS_XML_WRITER , nodeposition : *mut WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetWriterPosition(writer, nodeposition, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsGetWriterProperty(writer: *const WS_XML_WRITER, id: WS_XML_WRITER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetWriterProperty ( writer : *const WS_XML_WRITER , id : WS_XML_WRITER_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetWriterProperty ( writer : *const WS_XML_WRITER , id : WS_XML_WRITER_PROPERTY_ID , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetWriterProperty(writer, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsGetXmlAttribute(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, heap: *const WS_HEAP, valuechars: ::core::option::Option<*mut *mut u16>, valuecharcount: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsGetXmlAttribute ( reader : *const WS_XML_READER , localname : *const WS_XML_STRING , heap : *const WS_HEAP , valuechars : *mut *mut u16 , valuecharcount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsGetXmlAttribute ( reader : *const WS_XML_READER , localname : *const WS_XML_STRING , heap : *const WS_HEAP , valuechars : *mut *mut u16 , valuecharcount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsGetXmlAttribute(reader, localname, heap, ::core::mem::transmute(valuechars.unwrap_or(::std::ptr::null_mut())), valuecharcount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsInitializeMessage(message: *const WS_MESSAGE, initialization: WS_MESSAGE_INITIALIZATION, sourcemessage: ::core::option::Option<*const WS_MESSAGE>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsInitializeMessage ( message : *const WS_MESSAGE , initialization : WS_MESSAGE_INITIALIZATION , sourcemessage : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsInitializeMessage ( message : *const WS_MESSAGE , initialization : WS_MESSAGE_INITIALIZATION , sourcemessage : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsInitializeMessage(message, initialization, ::core::mem::transmute(sourcemessage.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsMarkHeaderAsUnderstood(message: *const WS_MESSAGE, headerposition: *const WS_XML_NODE_POSITION, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsMarkHeaderAsUnderstood ( message : *const WS_MESSAGE , headerposition : *const WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsMarkHeaderAsUnderstood ( message : *const WS_MESSAGE , headerposition : *const WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsMarkHeaderAsUnderstood(message, headerposition, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] @@ -699,555 +699,555 @@ pub unsafe fn WsMatchPolicyAlternative(policy: *const WS_POLICY, alternative where P0: ::std::convert::Into, { - ::windows::core::link ! ( "webservices.dll""system" fn WsMatchPolicyAlternative ( policy : *const WS_POLICY , alternativeindex : u32 , policyconstraints : *const WS_POLICY_CONSTRAINTS , matchrequired : super::super::Foundation:: BOOL , heap : *const WS_HEAP , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsMatchPolicyAlternative ( policy : *const WS_POLICY , alternativeindex : u32 , policyconstraints : *const WS_POLICY_CONSTRAINTS , matchrequired : super::super::Foundation:: BOOL , heap : *const WS_HEAP , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsMatchPolicyAlternative(policy, alternativeindex, policyconstraints, matchrequired.into(), heap, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsMoveReader(reader: *const WS_XML_READER, moveto: WS_MOVE_TO, found: ::core::option::Option<*mut super::super::Foundation::BOOL>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsMoveReader ( reader : *const WS_XML_READER , moveto : WS_MOVE_TO , found : *mut super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsMoveReader ( reader : *const WS_XML_READER , moveto : WS_MOVE_TO , found : *mut super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsMoveReader(reader, moveto, ::core::mem::transmute(found.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsMoveWriter(writer: *const WS_XML_WRITER, moveto: WS_MOVE_TO, found: ::core::option::Option<*mut super::super::Foundation::BOOL>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsMoveWriter ( writer : *const WS_XML_WRITER , moveto : WS_MOVE_TO , found : *mut super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsMoveWriter ( writer : *const WS_XML_WRITER , moveto : WS_MOVE_TO , found : *mut super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsMoveWriter(writer, moveto, ::core::mem::transmute(found.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsOpenChannel(channel: *const WS_CHANNEL, endpointaddress: *const WS_ENDPOINT_ADDRESS, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsOpenChannel ( channel : *const WS_CHANNEL , endpointaddress : *const WS_ENDPOINT_ADDRESS , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsOpenChannel ( channel : *const WS_CHANNEL , endpointaddress : *const WS_ENDPOINT_ADDRESS , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsOpenChannel(channel, endpointaddress, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsOpenListener(listener: *const WS_LISTENER, url: *const WS_STRING, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsOpenListener ( listener : *const WS_LISTENER , url : *const WS_STRING , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsOpenListener ( listener : *const WS_LISTENER , url : *const WS_STRING , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsOpenListener(listener, url, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsOpenServiceHost(servicehost: *const WS_SERVICE_HOST, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsOpenServiceHost ( servicehost : *const WS_SERVICE_HOST , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsOpenServiceHost ( servicehost : *const WS_SERVICE_HOST , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsOpenServiceHost(servicehost, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsOpenServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, address: *const WS_ENDPOINT_ADDRESS, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsOpenServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY , address : *const WS_ENDPOINT_ADDRESS , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsOpenServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY , address : *const WS_ENDPOINT_ADDRESS , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsOpenServiceProxy(serviceproxy, address, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsPullBytes(writer: *const WS_XML_WRITER, callback: WS_PULL_BYTES_CALLBACK, callbackstate: ::core::option::Option<*const ::core::ffi::c_void>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsPullBytes ( writer : *const WS_XML_WRITER , callback : WS_PULL_BYTES_CALLBACK , callbackstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsPullBytes ( writer : *const WS_XML_WRITER , callback : WS_PULL_BYTES_CALLBACK , callbackstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsPullBytes(writer, callback, ::core::mem::transmute(callbackstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsPushBytes(writer: *const WS_XML_WRITER, callback: WS_PUSH_BYTES_CALLBACK, callbackstate: ::core::option::Option<*const ::core::ffi::c_void>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsPushBytes ( writer : *const WS_XML_WRITER , callback : WS_PUSH_BYTES_CALLBACK , callbackstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsPushBytes ( writer : *const WS_XML_WRITER , callback : WS_PUSH_BYTES_CALLBACK , callbackstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsPushBytes(writer, callback, ::core::mem::transmute(callbackstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsReadArray(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, valuetype: WS_VALUE_TYPE, array: ::core::option::Option<*mut ::core::ffi::c_void>, arraysize: u32, itemoffset: u32, itemcount: u32, actualitemcount: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadArray ( reader : *const WS_XML_READER , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , valuetype : WS_VALUE_TYPE , array : *mut ::core::ffi::c_void , arraysize : u32 , itemoffset : u32 , itemcount : u32 , actualitemcount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadArray ( reader : *const WS_XML_READER , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , valuetype : WS_VALUE_TYPE , array : *mut ::core::ffi::c_void , arraysize : u32 , itemoffset : u32 , itemcount : u32 , actualitemcount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadArray(reader, localname, ns, valuetype, ::core::mem::transmute(array.unwrap_or(::std::ptr::null_mut())), arraysize, itemoffset, itemcount, actualitemcount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsReadAttribute(reader: *const WS_XML_READER, attributedescription: *const WS_ATTRIBUTE_DESCRIPTION, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadAttribute ( reader : *const WS_XML_READER , attributedescription : *const WS_ATTRIBUTE_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadAttribute ( reader : *const WS_XML_READER , attributedescription : *const WS_ATTRIBUTE_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadAttribute(reader, attributedescription, readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsReadBody(message: *const WS_MESSAGE, bodydescription: *const WS_ELEMENT_DESCRIPTION, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadBody ( message : *const WS_MESSAGE , bodydescription : *const WS_ELEMENT_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadBody ( message : *const WS_MESSAGE , bodydescription : *const WS_ELEMENT_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadBody(message, bodydescription, readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadBytes(reader: *const WS_XML_READER, bytes: *mut ::core::ffi::c_void, maxbytecount: u32, actualbytecount: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadBytes ( reader : *const WS_XML_READER , bytes : *mut ::core::ffi::c_void , maxbytecount : u32 , actualbytecount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadBytes ( reader : *const WS_XML_READER , bytes : *mut ::core::ffi::c_void , maxbytecount : u32 , actualbytecount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadBytes(reader, bytes, maxbytecount, actualbytecount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadChars(reader: *const WS_XML_READER, chars: &mut [u16], actualcharcount: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadChars ( reader : *const WS_XML_READER , chars : :: windows::core::PWSTR , maxcharcount : u32 , actualcharcount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadChars ( reader : *const WS_XML_READER , chars : :: windows::core::PWSTR , maxcharcount : u32 , actualcharcount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadChars(reader, ::core::mem::transmute(chars.as_ptr()), chars.len() as _, actualcharcount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadCharsUtf8(reader: *const WS_XML_READER, bytes: &mut [u8], actualbytecount: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadCharsUtf8 ( reader : *const WS_XML_READER , bytes : *mut u8 , maxbytecount : u32 , actualbytecount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadCharsUtf8 ( reader : *const WS_XML_READER , bytes : *mut u8 , maxbytecount : u32 , actualbytecount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadCharsUtf8(reader, ::core::mem::transmute(bytes.as_ptr()), bytes.len() as _, actualbytecount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsReadElement(reader: *const WS_XML_READER, elementdescription: *const WS_ELEMENT_DESCRIPTION, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadElement ( reader : *const WS_XML_READER , elementdescription : *const WS_ELEMENT_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadElement ( reader : *const WS_XML_READER , elementdescription : *const WS_ELEMENT_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadElement(reader, elementdescription, readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadEndAttribute(reader: *const WS_XML_READER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadEndAttribute ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadEndAttribute ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadEndAttribute(reader, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadEndElement(reader: *const WS_XML_READER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadEndElement ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadEndElement ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadEndElement(reader, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadEndpointAddressExtension(reader: *const WS_XML_READER, endpointaddress: *const WS_ENDPOINT_ADDRESS, extensiontype: WS_ENDPOINT_ADDRESS_EXTENSION_TYPE, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadEndpointAddressExtension ( reader : *const WS_XML_READER , endpointaddress : *const WS_ENDPOINT_ADDRESS , extensiontype : WS_ENDPOINT_ADDRESS_EXTENSION_TYPE , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadEndpointAddressExtension ( reader : *const WS_XML_READER , endpointaddress : *const WS_ENDPOINT_ADDRESS , extensiontype : WS_ENDPOINT_ADDRESS_EXTENSION_TYPE , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadEndpointAddressExtension(reader, endpointaddress, extensiontype, readoption, heap, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadEnvelopeEnd(message: *const WS_MESSAGE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadEnvelopeEnd ( message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadEnvelopeEnd ( message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadEnvelopeEnd(message, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadEnvelopeStart(message: *const WS_MESSAGE, reader: *const WS_XML_READER, donecallback: WS_MESSAGE_DONE_CALLBACK, donecallbackstate: ::core::option::Option<*const ::core::ffi::c_void>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadEnvelopeStart ( message : *const WS_MESSAGE , reader : *const WS_XML_READER , donecallback : WS_MESSAGE_DONE_CALLBACK , donecallbackstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadEnvelopeStart ( message : *const WS_MESSAGE , reader : *const WS_XML_READER , donecallback : WS_MESSAGE_DONE_CALLBACK , donecallbackstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadEnvelopeStart(message, reader, donecallback, ::core::mem::transmute(donecallbackstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadMessageEnd(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadMessageEnd ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadMessageEnd ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadMessageEnd(channel, message, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadMessageStart(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadMessageStart ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadMessageStart ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadMessageStart(channel, message, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadMetadata(metadata: *const WS_METADATA, reader: *const WS_XML_READER, url: *const WS_STRING, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadMetadata ( metadata : *const WS_METADATA , reader : *const WS_XML_READER , url : *const WS_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadMetadata ( metadata : *const WS_METADATA , reader : *const WS_XML_READER , url : *const WS_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadMetadata(metadata, reader, url, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadNode(reader: *const WS_XML_READER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadNode ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadNode ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadNode(reader, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsReadQualifiedName(reader: *const WS_XML_READER, heap: *const WS_HEAP, prefix: ::core::option::Option<*mut WS_XML_STRING>, localname: *mut WS_XML_STRING, ns: ::core::option::Option<*mut WS_XML_STRING>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadQualifiedName ( reader : *const WS_XML_READER , heap : *const WS_HEAP , prefix : *mut WS_XML_STRING , localname : *mut WS_XML_STRING , ns : *mut WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadQualifiedName ( reader : *const WS_XML_READER , heap : *const WS_HEAP , prefix : *mut WS_XML_STRING , localname : *mut WS_XML_STRING , ns : *mut WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadQualifiedName(reader, heap, ::core::mem::transmute(prefix.unwrap_or(::std::ptr::null_mut())), localname, ::core::mem::transmute(ns.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadStartAttribute(reader: *const WS_XML_READER, attributeindex: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadStartAttribute ( reader : *const WS_XML_READER , attributeindex : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadStartAttribute ( reader : *const WS_XML_READER , attributeindex : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadStartAttribute(reader, attributeindex, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadStartElement(reader: *const WS_XML_READER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadStartElement ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadStartElement ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadStartElement(reader, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsReadToStartElement(reader: *const WS_XML_READER, localname: ::core::option::Option<*const WS_XML_STRING>, ns: ::core::option::Option<*const WS_XML_STRING>, found: ::core::option::Option<*mut super::super::Foundation::BOOL>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadToStartElement ( reader : *const WS_XML_READER , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , found : *mut super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadToStartElement ( reader : *const WS_XML_READER , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , found : *mut super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadToStartElement(reader, ::core::mem::transmute(localname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ns.unwrap_or(::std::ptr::null())), ::core::mem::transmute(found.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadType(reader: *const WS_XML_READER, typemapping: WS_TYPE_MAPPING, r#type: WS_TYPE, typedescription: ::core::option::Option<*const ::core::ffi::c_void>, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadType ( reader : *const WS_XML_READER , typemapping : WS_TYPE_MAPPING , r#type : WS_TYPE , typedescription : *const ::core::ffi::c_void , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadType ( reader : *const WS_XML_READER , typemapping : WS_TYPE_MAPPING , r#type : WS_TYPE , typedescription : *const ::core::ffi::c_void , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadType(reader, typemapping, r#type, ::core::mem::transmute(typedescription.unwrap_or(::std::ptr::null())), readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadValue(reader: *const WS_XML_READER, valuetype: WS_VALUE_TYPE, value: *mut ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadValue ( reader : *const WS_XML_READER , valuetype : WS_VALUE_TYPE , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadValue ( reader : *const WS_XML_READER , valuetype : WS_VALUE_TYPE , value : *mut ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadValue(reader, valuetype, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadXmlBuffer(reader: *const WS_XML_READER, heap: *const WS_HEAP, xmlbuffer: *mut *mut WS_XML_BUFFER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadXmlBuffer ( reader : *const WS_XML_READER , heap : *const WS_HEAP , xmlbuffer : *mut *mut WS_XML_BUFFER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadXmlBuffer ( reader : *const WS_XML_READER , heap : *const WS_HEAP , xmlbuffer : *mut *mut WS_XML_BUFFER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadXmlBuffer(reader, heap, xmlbuffer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsReadXmlBufferFromBytes(reader: *const WS_XML_READER, encoding: ::core::option::Option<*const WS_XML_READER_ENCODING>, properties: ::core::option::Option<&[WS_XML_READER_PROPERTY]>, bytes: *const ::core::ffi::c_void, bytecount: u32, heap: *const WS_HEAP, xmlbuffer: *mut *mut WS_XML_BUFFER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReadXmlBufferFromBytes ( reader : *const WS_XML_READER , encoding : *const WS_XML_READER_ENCODING , properties : *const WS_XML_READER_PROPERTY , propertycount : u32 , bytes : *const ::core::ffi::c_void , bytecount : u32 , heap : *const WS_HEAP , xmlbuffer : *mut *mut WS_XML_BUFFER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReadXmlBufferFromBytes ( reader : *const WS_XML_READER , encoding : *const WS_XML_READER_ENCODING , properties : *const WS_XML_READER_PROPERTY , propertycount : u32 , bytes : *const ::core::ffi::c_void , bytecount : u32 , heap : *const WS_HEAP , xmlbuffer : *mut *mut WS_XML_BUFFER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReadXmlBufferFromBytes(reader, ::core::mem::transmute(encoding.unwrap_or(::std::ptr::null())), ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), bytes, bytecount, heap, xmlbuffer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsReceiveMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, messagedescriptions: &[*const WS_MESSAGE_DESCRIPTION], receiveoption: WS_RECEIVE_OPTION, readbodyoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: *mut ::core::ffi::c_void, valuesize: u32, index: ::core::option::Option<*mut u32>, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsReceiveMessage ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , messagedescriptions : *const *const WS_MESSAGE_DESCRIPTION , messagedescriptioncount : u32 , receiveoption : WS_RECEIVE_OPTION , readbodyoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , index : *mut u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsReceiveMessage ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , messagedescriptions : *const *const WS_MESSAGE_DESCRIPTION , messagedescriptioncount : u32 , receiveoption : WS_RECEIVE_OPTION , readbodyoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , index : *mut u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsReceiveMessage(channel, message, ::core::mem::transmute(messagedescriptions.as_ptr()), messagedescriptions.len() as _, receiveoption, readbodyoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), value, valuesize, ::core::mem::transmute(index.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsRegisterOperationForCancel(context: *const WS_OPERATION_CONTEXT, cancelcallback: WS_OPERATION_CANCEL_CALLBACK, freestatecallback: WS_OPERATION_FREE_STATE_CALLBACK, userstate: ::core::option::Option<*const ::core::ffi::c_void>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsRegisterOperationForCancel ( context : *const WS_OPERATION_CONTEXT , cancelcallback : WS_OPERATION_CANCEL_CALLBACK , freestatecallback : WS_OPERATION_FREE_STATE_CALLBACK , userstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsRegisterOperationForCancel ( context : *const WS_OPERATION_CONTEXT , cancelcallback : WS_OPERATION_CANCEL_CALLBACK , freestatecallback : WS_OPERATION_FREE_STATE_CALLBACK , userstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsRegisterOperationForCancel(context, cancelcallback, freestatecallback, ::core::mem::transmute(userstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsRemoveCustomHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, headerns: *const WS_XML_STRING, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsRemoveCustomHeader ( message : *const WS_MESSAGE , headername : *const WS_XML_STRING , headerns : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsRemoveCustomHeader ( message : *const WS_MESSAGE , headername : *const WS_XML_STRING , headerns : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsRemoveCustomHeader(message, headername, headerns, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsRemoveHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsRemoveHeader ( message : *const WS_MESSAGE , headertype : WS_HEADER_TYPE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsRemoveHeader ( message : *const WS_MESSAGE , headertype : WS_HEADER_TYPE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsRemoveHeader(message, headertype, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsRemoveMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsRemoveMappedHeader ( message : *const WS_MESSAGE , headername : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsRemoveMappedHeader ( message : *const WS_MESSAGE , headername : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsRemoveMappedHeader(message, headername, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsRemoveNode(nodeposition: *const WS_XML_NODE_POSITION, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsRemoveNode ( nodeposition : *const WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsRemoveNode ( nodeposition : *const WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsRemoveNode(nodeposition, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsRequestReply(channel: *const WS_CHANNEL, requestmessage: *const WS_MESSAGE, requestmessagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, requestbodyvalue: ::core::option::Option<*const ::core::ffi::c_void>, requestbodyvaluesize: u32, replymessage: *const WS_MESSAGE, replymessagedescription: *const WS_MESSAGE_DESCRIPTION, readoption: WS_READ_OPTION, heap: ::core::option::Option<*const WS_HEAP>, value: ::core::option::Option<*mut ::core::ffi::c_void>, valuesize: u32, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsRequestReply ( channel : *const WS_CHANNEL , requestmessage : *const WS_MESSAGE , requestmessagedescription : *const WS_MESSAGE_DESCRIPTION , writeoption : WS_WRITE_OPTION , requestbodyvalue : *const ::core::ffi::c_void , requestbodyvaluesize : u32 , replymessage : *const WS_MESSAGE , replymessagedescription : *const WS_MESSAGE_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsRequestReply ( channel : *const WS_CHANNEL , requestmessage : *const WS_MESSAGE , requestmessagedescription : *const WS_MESSAGE_DESCRIPTION , writeoption : WS_WRITE_OPTION , requestbodyvalue : *const ::core::ffi::c_void , requestbodyvaluesize : u32 , replymessage : *const WS_MESSAGE , replymessagedescription : *const WS_MESSAGE_DESCRIPTION , readoption : WS_READ_OPTION , heap : *const WS_HEAP , value : *mut ::core::ffi::c_void , valuesize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsRequestReply(channel, requestmessage, requestmessagedescription, writeoption, ::core::mem::transmute(requestbodyvalue.unwrap_or(::std::ptr::null())), requestbodyvaluesize, replymessage, replymessagedescription, readoption, ::core::mem::transmute(heap.unwrap_or(::std::ptr::null())), ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut())), valuesize, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsRequestSecurityToken(channel: *const WS_CHANNEL, properties: ::core::option::Option<&[WS_REQUEST_SECURITY_TOKEN_PROPERTY]>, token: *mut *mut WS_SECURITY_TOKEN, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsRequestSecurityToken ( channel : *const WS_CHANNEL , properties : *const WS_REQUEST_SECURITY_TOKEN_PROPERTY , propertycount : u32 , token : *mut *mut WS_SECURITY_TOKEN , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsRequestSecurityToken ( channel : *const WS_CHANNEL , properties : *const WS_REQUEST_SECURITY_TOKEN_PROPERTY , propertycount : u32 , token : *mut *mut WS_SECURITY_TOKEN , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsRequestSecurityToken(channel, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), token, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsResetChannel(channel: *const WS_CHANNEL, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsResetChannel ( channel : *const WS_CHANNEL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsResetChannel ( channel : *const WS_CHANNEL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsResetChannel(channel, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsResetError(error: *const WS_ERROR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsResetError ( error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsResetError ( error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsResetError(error).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsResetHeap(heap: *const WS_HEAP, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsResetHeap ( heap : *const WS_HEAP , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsResetHeap ( heap : *const WS_HEAP , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsResetHeap(heap, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsResetListener(listener: *const WS_LISTENER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsResetListener ( listener : *const WS_LISTENER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsResetListener ( listener : *const WS_LISTENER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsResetListener(listener, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsResetMessage(message: *const WS_MESSAGE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsResetMessage ( message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsResetMessage ( message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsResetMessage(message, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsResetMetadata(metadata: *const WS_METADATA, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsResetMetadata ( metadata : *const WS_METADATA , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsResetMetadata ( metadata : *const WS_METADATA , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsResetMetadata(metadata, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsResetServiceHost(servicehost: *const WS_SERVICE_HOST, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsResetServiceHost ( servicehost : *const WS_SERVICE_HOST , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsResetServiceHost ( servicehost : *const WS_SERVICE_HOST , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsResetServiceHost(servicehost, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsResetServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsResetServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsResetServiceProxy ( serviceproxy : *const WS_SERVICE_PROXY , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsResetServiceProxy(serviceproxy, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsRevokeSecurityContext(securitycontext: *const WS_SECURITY_CONTEXT, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsRevokeSecurityContext ( securitycontext : *const WS_SECURITY_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsRevokeSecurityContext ( securitycontext : *const WS_SECURITY_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsRevokeSecurityContext(securitycontext, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSendFaultMessageForError(channel: *const WS_CHANNEL, replymessage: *const WS_MESSAGE, faulterror: *const WS_ERROR, faulterrorcode: ::windows::core::HRESULT, faultdisclosure: WS_FAULT_DISCLOSURE, requestmessage: *const WS_MESSAGE, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSendFaultMessageForError ( channel : *const WS_CHANNEL , replymessage : *const WS_MESSAGE , faulterror : *const WS_ERROR , faulterrorcode : :: windows::core::HRESULT , faultdisclosure : WS_FAULT_DISCLOSURE , requestmessage : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSendFaultMessageForError ( channel : *const WS_CHANNEL , replymessage : *const WS_MESSAGE , faulterror : *const WS_ERROR , faulterrorcode : :: windows::core::HRESULT , faultdisclosure : WS_FAULT_DISCLOSURE , requestmessage : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSendFaultMessageForError(channel, replymessage, faulterror, faulterrorcode, faultdisclosure, requestmessage, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsSendMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, messagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, bodyvalue: ::core::option::Option<*const ::core::ffi::c_void>, bodyvaluesize: u32, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSendMessage ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , messagedescription : *const WS_MESSAGE_DESCRIPTION , writeoption : WS_WRITE_OPTION , bodyvalue : *const ::core::ffi::c_void , bodyvaluesize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSendMessage ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , messagedescription : *const WS_MESSAGE_DESCRIPTION , writeoption : WS_WRITE_OPTION , bodyvalue : *const ::core::ffi::c_void , bodyvaluesize : u32 , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSendMessage(channel, message, messagedescription, writeoption, ::core::mem::transmute(bodyvalue.unwrap_or(::std::ptr::null())), bodyvaluesize, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsSendReplyMessage(channel: *const WS_CHANNEL, replymessage: *const WS_MESSAGE, replymessagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, replybodyvalue: ::core::option::Option<*const ::core::ffi::c_void>, replybodyvaluesize: u32, requestmessage: *const WS_MESSAGE, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSendReplyMessage ( channel : *const WS_CHANNEL , replymessage : *const WS_MESSAGE , replymessagedescription : *const WS_MESSAGE_DESCRIPTION , writeoption : WS_WRITE_OPTION , replybodyvalue : *const ::core::ffi::c_void , replybodyvaluesize : u32 , requestmessage : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSendReplyMessage ( channel : *const WS_CHANNEL , replymessage : *const WS_MESSAGE , replymessagedescription : *const WS_MESSAGE_DESCRIPTION , writeoption : WS_WRITE_OPTION , replybodyvalue : *const ::core::ffi::c_void , replybodyvaluesize : u32 , requestmessage : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSendReplyMessage(channel, replymessage, replymessagedescription, writeoption, ::core::mem::transmute(replybodyvalue.unwrap_or(::std::ptr::null())), replybodyvaluesize, requestmessage, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetChannelProperty(channel: *const WS_CHANNEL, id: WS_CHANNEL_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetChannelProperty ( channel : *const WS_CHANNEL , id : WS_CHANNEL_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetChannelProperty ( channel : *const WS_CHANNEL , id : WS_CHANNEL_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetChannelProperty(channel, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetErrorProperty(error: *const WS_ERROR, id: WS_ERROR_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetErrorProperty ( error : *const WS_ERROR , id : WS_ERROR_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetErrorProperty ( error : *const WS_ERROR , id : WS_ERROR_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 ) -> :: windows::core::HRESULT ); WsSetErrorProperty(error, id, value, valuesize).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsSetFaultErrorDetail(error: *const WS_ERROR, faultdetaildescription: *const WS_FAULT_DETAIL_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: ::core::option::Option<*const ::core::ffi::c_void>, valuesize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetFaultErrorDetail ( error : *const WS_ERROR , faultdetaildescription : *const WS_FAULT_DETAIL_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetFaultErrorDetail ( error : *const WS_ERROR , faultdetaildescription : *const WS_FAULT_DETAIL_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 ) -> :: windows::core::HRESULT ); WsSetFaultErrorDetail(error, faultdetaildescription, writeoption, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), valuesize).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetFaultErrorProperty(error: *const WS_ERROR, id: WS_FAULT_ERROR_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetFaultErrorProperty ( error : *const WS_ERROR , id : WS_FAULT_ERROR_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetFaultErrorProperty ( error : *const WS_ERROR , id : WS_FAULT_ERROR_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 ) -> :: windows::core::HRESULT ); WsSetFaultErrorProperty(error, id, value, valuesize).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, valuetype: WS_TYPE, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetHeader ( message : *const WS_MESSAGE , headertype : WS_HEADER_TYPE , valuetype : WS_TYPE , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetHeader ( message : *const WS_MESSAGE , headertype : WS_HEADER_TYPE , valuetype : WS_TYPE , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetHeader(message, headertype, valuetype, writeoption, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetInput(reader: *const WS_XML_READER, encoding: ::core::option::Option<*const WS_XML_READER_ENCODING>, input: ::core::option::Option<*const WS_XML_READER_INPUT>, properties: ::core::option::Option<&[WS_XML_READER_PROPERTY]>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetInput ( reader : *const WS_XML_READER , encoding : *const WS_XML_READER_ENCODING , input : *const WS_XML_READER_INPUT , properties : *const WS_XML_READER_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetInput ( reader : *const WS_XML_READER , encoding : *const WS_XML_READER_ENCODING , input : *const WS_XML_READER_INPUT , properties : *const WS_XML_READER_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetInput(reader, ::core::mem::transmute(encoding.unwrap_or(::std::ptr::null())), ::core::mem::transmute(input.unwrap_or(::std::ptr::null())), ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetInputToBuffer(reader: *const WS_XML_READER, buffer: *const WS_XML_BUFFER, properties: ::core::option::Option<&[WS_XML_READER_PROPERTY]>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetInputToBuffer ( reader : *const WS_XML_READER , buffer : *const WS_XML_BUFFER , properties : *const WS_XML_READER_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetInputToBuffer ( reader : *const WS_XML_READER , buffer : *const WS_XML_BUFFER , properties : *const WS_XML_READER_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetInputToBuffer(reader, buffer, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetListenerProperty(listener: *const WS_LISTENER, id: WS_LISTENER_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetListenerProperty ( listener : *const WS_LISTENER , id : WS_LISTENER_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetListenerProperty ( listener : *const WS_LISTENER , id : WS_LISTENER_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetListenerProperty(listener, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetMessageProperty(message: *const WS_MESSAGE, id: WS_MESSAGE_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetMessageProperty ( message : *const WS_MESSAGE , id : WS_MESSAGE_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetMessageProperty ( message : *const WS_MESSAGE , id : WS_MESSAGE_PROPERTY_ID , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetMessageProperty(message, id, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetOutput(writer: *const WS_XML_WRITER, encoding: ::core::option::Option<*const WS_XML_WRITER_ENCODING>, output: ::core::option::Option<*const WS_XML_WRITER_OUTPUT>, properties: ::core::option::Option<&[WS_XML_WRITER_PROPERTY]>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetOutput ( writer : *const WS_XML_WRITER , encoding : *const WS_XML_WRITER_ENCODING , output : *const WS_XML_WRITER_OUTPUT , properties : *const WS_XML_WRITER_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetOutput ( writer : *const WS_XML_WRITER , encoding : *const WS_XML_WRITER_ENCODING , output : *const WS_XML_WRITER_OUTPUT , properties : *const WS_XML_WRITER_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetOutput(writer, ::core::mem::transmute(encoding.unwrap_or(::std::ptr::null())), ::core::mem::transmute(output.unwrap_or(::std::ptr::null())), ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetOutputToBuffer(writer: *const WS_XML_WRITER, buffer: *const WS_XML_BUFFER, properties: ::core::option::Option<&[WS_XML_WRITER_PROPERTY]>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetOutputToBuffer ( writer : *const WS_XML_WRITER , buffer : *const WS_XML_BUFFER , properties : *const WS_XML_WRITER_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetOutputToBuffer ( writer : *const WS_XML_WRITER , buffer : *const WS_XML_BUFFER , properties : *const WS_XML_WRITER_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetOutputToBuffer(writer, buffer, ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetReaderPosition(reader: *const WS_XML_READER, nodeposition: *const WS_XML_NODE_POSITION, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetReaderPosition ( reader : *const WS_XML_READER , nodeposition : *const WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetReaderPosition ( reader : *const WS_XML_READER , nodeposition : *const WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetReaderPosition(reader, nodeposition, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSetWriterPosition(writer: *const WS_XML_WRITER, nodeposition: *const WS_XML_NODE_POSITION, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSetWriterPosition ( writer : *const WS_XML_WRITER , nodeposition : *const WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSetWriterPosition ( writer : *const WS_XML_WRITER , nodeposition : *const WS_XML_NODE_POSITION , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSetWriterPosition(writer, nodeposition, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsShutdownSessionChannel(channel: *const WS_CHANNEL, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsShutdownSessionChannel ( channel : *const WS_CHANNEL , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsShutdownSessionChannel ( channel : *const WS_CHANNEL , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsShutdownSessionChannel(channel, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsSkipNode(reader: *const WS_XML_READER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsSkipNode ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsSkipNode ( reader : *const WS_XML_READER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsSkipNode(reader, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsStartReaderCanonicalization(reader: *const WS_XML_READER, writecallback: WS_WRITE_CALLBACK, writecallbackstate: ::core::option::Option<*const ::core::ffi::c_void>, properties: ::core::option::Option<&[WS_XML_CANONICALIZATION_PROPERTY]>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsStartReaderCanonicalization ( reader : *const WS_XML_READER , writecallback : WS_WRITE_CALLBACK , writecallbackstate : *const ::core::ffi::c_void , properties : *const WS_XML_CANONICALIZATION_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsStartReaderCanonicalization ( reader : *const WS_XML_READER , writecallback : WS_WRITE_CALLBACK , writecallbackstate : *const ::core::ffi::c_void , properties : *const WS_XML_CANONICALIZATION_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsStartReaderCanonicalization(reader, writecallback, ::core::mem::transmute(writecallbackstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsStartWriterCanonicalization(writer: *const WS_XML_WRITER, writecallback: WS_WRITE_CALLBACK, writecallbackstate: ::core::option::Option<*const ::core::ffi::c_void>, properties: ::core::option::Option<&[WS_XML_CANONICALIZATION_PROPERTY]>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsStartWriterCanonicalization ( writer : *const WS_XML_WRITER , writecallback : WS_WRITE_CALLBACK , writecallbackstate : *const ::core::ffi::c_void , properties : *const WS_XML_CANONICALIZATION_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsStartWriterCanonicalization ( writer : *const WS_XML_WRITER , writecallback : WS_WRITE_CALLBACK , writecallbackstate : *const ::core::ffi::c_void , properties : *const WS_XML_CANONICALIZATION_PROPERTY , propertycount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsStartWriterCanonicalization(writer, writecallback, ::core::mem::transmute(writecallbackstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsTrimXmlWhitespace(chars: &[u16], trimmedchars: *mut *mut u16, trimmedcount: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsTrimXmlWhitespace ( chars : :: windows::core::PCWSTR , charcount : u32 , trimmedchars : *mut *mut u16 , trimmedcount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsTrimXmlWhitespace ( chars : :: windows::core::PCWSTR , charcount : u32 , trimmedchars : *mut *mut u16 , trimmedcount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsTrimXmlWhitespace(::core::mem::transmute(chars.as_ptr()), chars.len() as _, trimmedchars, trimmedcount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsVerifyXmlNCName(ncnamechars: &[u16], error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsVerifyXmlNCName ( ncnamechars : :: windows::core::PCWSTR , ncnamecharcount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsVerifyXmlNCName ( ncnamechars : :: windows::core::PCWSTR , ncnamecharcount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsVerifyXmlNCName(::core::mem::transmute(ncnamechars.as_ptr()), ncnamechars.len() as _, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsWriteArray(writer: *const WS_XML_WRITER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, valuetype: WS_VALUE_TYPE, array: ::core::option::Option<*const ::core::ffi::c_void>, arraysize: u32, itemoffset: u32, itemcount: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteArray ( writer : *const WS_XML_WRITER , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , valuetype : WS_VALUE_TYPE , array : *const ::core::ffi::c_void , arraysize : u32 , itemoffset : u32 , itemcount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteArray ( writer : *const WS_XML_WRITER , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , valuetype : WS_VALUE_TYPE , array : *const ::core::ffi::c_void , arraysize : u32 , itemoffset : u32 , itemcount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteArray(writer, localname, ns, valuetype, ::core::mem::transmute(array.unwrap_or(::std::ptr::null())), arraysize, itemoffset, itemcount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsWriteAttribute(writer: *const WS_XML_WRITER, attributedescription: *const WS_ATTRIBUTE_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: ::core::option::Option<*const ::core::ffi::c_void>, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteAttribute ( writer : *const WS_XML_WRITER , attributedescription : *const WS_ATTRIBUTE_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteAttribute ( writer : *const WS_XML_WRITER , attributedescription : *const WS_ATTRIBUTE_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteAttribute(writer, attributedescription, writeoption, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsWriteBody(message: *const WS_MESSAGE, bodydescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteBody ( message : *const WS_MESSAGE , bodydescription : *const WS_ELEMENT_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteBody ( message : *const WS_MESSAGE , bodydescription : *const WS_ELEMENT_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteBody(message, bodydescription, writeoption, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteBytes(writer: *const WS_XML_WRITER, bytes: *const ::core::ffi::c_void, bytecount: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteBytes ( writer : *const WS_XML_WRITER , bytes : *const ::core::ffi::c_void , bytecount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteBytes ( writer : *const WS_XML_WRITER , bytes : *const ::core::ffi::c_void , bytecount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteBytes(writer, bytes, bytecount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteChars(writer: *const WS_XML_WRITER, chars: &[u16], error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteChars ( writer : *const WS_XML_WRITER , chars : :: windows::core::PCWSTR , charcount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteChars ( writer : *const WS_XML_WRITER , chars : :: windows::core::PCWSTR , charcount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteChars(writer, ::core::mem::transmute(chars.as_ptr()), chars.len() as _, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteCharsUtf8(writer: *const WS_XML_WRITER, bytes: &[u8], error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteCharsUtf8 ( writer : *const WS_XML_WRITER , bytes : *const u8 , bytecount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteCharsUtf8 ( writer : *const WS_XML_WRITER , bytes : *const u8 , bytecount : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteCharsUtf8(writer, ::core::mem::transmute(bytes.as_ptr()), bytes.len() as _, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsWriteElement(writer: *const WS_XML_WRITER, elementdescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: ::core::option::Option<*const ::core::ffi::c_void>, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteElement ( writer : *const WS_XML_WRITER , elementdescription : *const WS_ELEMENT_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteElement ( writer : *const WS_XML_WRITER , elementdescription : *const WS_ELEMENT_DESCRIPTION , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteElement(writer, elementdescription, writeoption, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteEndAttribute(writer: *const WS_XML_WRITER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteEndAttribute ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteEndAttribute ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteEndAttribute(writer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteEndCData(writer: *const WS_XML_WRITER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteEndCData ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteEndCData ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteEndCData(writer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteEndElement(writer: *const WS_XML_WRITER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteEndElement ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteEndElement ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteEndElement(writer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteEndStartElement(writer: *const WS_XML_WRITER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteEndStartElement ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteEndStartElement ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteEndStartElement(writer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteEnvelopeEnd(message: *const WS_MESSAGE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteEnvelopeEnd ( message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteEnvelopeEnd ( message : *const WS_MESSAGE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteEnvelopeEnd(message, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteEnvelopeStart(message: *const WS_MESSAGE, writer: *const WS_XML_WRITER, donecallback: WS_MESSAGE_DONE_CALLBACK, donecallbackstate: ::core::option::Option<*const ::core::ffi::c_void>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteEnvelopeStart ( message : *const WS_MESSAGE , writer : *const WS_XML_WRITER , donecallback : WS_MESSAGE_DONE_CALLBACK , donecallbackstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteEnvelopeStart ( message : *const WS_MESSAGE , writer : *const WS_XML_WRITER , donecallback : WS_MESSAGE_DONE_CALLBACK , donecallbackstate : *const ::core::ffi::c_void , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteEnvelopeStart(message, writer, donecallback, ::core::mem::transmute(donecallbackstate.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteMessageEnd(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteMessageEnd ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteMessageEnd ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteMessageEnd(channel, message, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteMessageStart(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: ::core::option::Option<*const WS_ASYNC_CONTEXT>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteMessageStart ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteMessageStart ( channel : *const WS_CHANNEL , message : *const WS_MESSAGE , asynccontext : *const WS_ASYNC_CONTEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteMessageStart(channel, message, ::core::mem::transmute(asynccontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteNode(writer: *const WS_XML_WRITER, node: *const WS_XML_NODE, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteNode ( writer : *const WS_XML_WRITER , node : *const WS_XML_NODE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteNode ( writer : *const WS_XML_WRITER , node : *const WS_XML_NODE , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteNode(writer, node, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsWriteQualifiedName(writer: *const WS_XML_WRITER, prefix: ::core::option::Option<*const WS_XML_STRING>, localname: *const WS_XML_STRING, ns: ::core::option::Option<*const WS_XML_STRING>, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteQualifiedName ( writer : *const WS_XML_WRITER , prefix : *const WS_XML_STRING , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteQualifiedName ( writer : *const WS_XML_WRITER , prefix : *const WS_XML_STRING , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteQualifiedName(writer, ::core::mem::transmute(prefix.unwrap_or(::std::ptr::null())), localname, ::core::mem::transmute(ns.unwrap_or(::std::ptr::null())), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] @@ -1257,50 +1257,50 @@ pub unsafe fn WsWriteStartAttribute(writer: *const WS_XML_WRITER, prefix: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteStartAttribute ( writer : *const WS_XML_WRITER , prefix : *const WS_XML_STRING , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , singlequote : super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteStartAttribute ( writer : *const WS_XML_WRITER , prefix : *const WS_XML_STRING , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , singlequote : super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteStartAttribute(writer, ::core::mem::transmute(prefix.unwrap_or(::std::ptr::null())), localname, ns, singlequote.into(), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteStartCData(writer: *const WS_XML_WRITER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteStartCData ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteStartCData ( writer : *const WS_XML_WRITER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteStartCData(writer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsWriteStartElement(writer: *const WS_XML_WRITER, prefix: ::core::option::Option<*const WS_XML_STRING>, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteStartElement ( writer : *const WS_XML_WRITER , prefix : *const WS_XML_STRING , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteStartElement ( writer : *const WS_XML_WRITER , prefix : *const WS_XML_STRING , localname : *const WS_XML_STRING , ns : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteStartElement(writer, ::core::mem::transmute(prefix.unwrap_or(::std::ptr::null())), localname, ns, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteText(writer: *const WS_XML_WRITER, text: *const WS_XML_TEXT, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteText ( writer : *const WS_XML_WRITER , text : *const WS_XML_TEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteText ( writer : *const WS_XML_WRITER , text : *const WS_XML_TEXT , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteText(writer, text, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteType(writer: *const WS_XML_WRITER, typemapping: WS_TYPE_MAPPING, r#type: WS_TYPE, typedescription: ::core::option::Option<*const ::core::ffi::c_void>, writeoption: WS_WRITE_OPTION, value: ::core::option::Option<*const ::core::ffi::c_void>, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteType ( writer : *const WS_XML_WRITER , typemapping : WS_TYPE_MAPPING , r#type : WS_TYPE , typedescription : *const ::core::ffi::c_void , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteType ( writer : *const WS_XML_WRITER , typemapping : WS_TYPE_MAPPING , r#type : WS_TYPE , typedescription : *const ::core::ffi::c_void , writeoption : WS_WRITE_OPTION , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteType(writer, typemapping, r#type, ::core::mem::transmute(typedescription.unwrap_or(::std::ptr::null())), writeoption, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteValue(writer: *const WS_XML_WRITER, valuetype: WS_VALUE_TYPE, value: *const ::core::ffi::c_void, valuesize: u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteValue ( writer : *const WS_XML_WRITER , valuetype : WS_VALUE_TYPE , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteValue ( writer : *const WS_XML_WRITER , valuetype : WS_VALUE_TYPE , value : *const ::core::ffi::c_void , valuesize : u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteValue(writer, valuetype, value, valuesize, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteXmlBuffer(writer: *const WS_XML_WRITER, xmlbuffer: *const WS_XML_BUFFER, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteXmlBuffer ( writer : *const WS_XML_WRITER , xmlbuffer : *const WS_XML_BUFFER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteXmlBuffer ( writer : *const WS_XML_WRITER , xmlbuffer : *const WS_XML_BUFFER , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteXmlBuffer(writer, xmlbuffer, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[inline] pub unsafe fn WsWriteXmlBufferToBytes(writer: *const WS_XML_WRITER, xmlbuffer: *const WS_XML_BUFFER, encoding: ::core::option::Option<*const WS_XML_WRITER_ENCODING>, properties: ::core::option::Option<&[WS_XML_WRITER_PROPERTY]>, heap: *const WS_HEAP, bytes: *mut *mut ::core::ffi::c_void, bytecount: *mut u32, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteXmlBufferToBytes ( writer : *const WS_XML_WRITER , xmlbuffer : *const WS_XML_BUFFER , encoding : *const WS_XML_WRITER_ENCODING , properties : *const WS_XML_WRITER_PROPERTY , propertycount : u32 , heap : *const WS_HEAP , bytes : *mut *mut ::core::ffi::c_void , bytecount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteXmlBufferToBytes ( writer : *const WS_XML_WRITER , xmlbuffer : *const WS_XML_BUFFER , encoding : *const WS_XML_WRITER_ENCODING , properties : *const WS_XML_WRITER_PROPERTY , propertycount : u32 , heap : *const WS_HEAP , bytes : *mut *mut ::core::ffi::c_void , bytecount : *mut u32 , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteXmlBufferToBytes(writer, xmlbuffer, ::core::mem::transmute(encoding.unwrap_or(::std::ptr::null())), ::core::mem::transmute(properties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len() as _), heap, bytes, bytecount, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] @@ -1310,14 +1310,14 @@ pub unsafe fn WsWriteXmlnsAttribute(writer: *const WS_XML_WRITER, prefix: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "webservices.dll""system" fn WsWriteXmlnsAttribute ( writer : *const WS_XML_WRITER , prefix : *const WS_XML_STRING , ns : *const WS_XML_STRING , singlequote : super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsWriteXmlnsAttribute ( writer : *const WS_XML_WRITER , prefix : *const WS_XML_STRING , ns : *const WS_XML_STRING , singlequote : super::super::Foundation:: BOOL , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsWriteXmlnsAttribute(writer, ::core::mem::transmute(prefix.unwrap_or(::std::ptr::null())), ns, singlequote.into(), ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WsXmlStringEquals(string1: *const WS_XML_STRING, string2: *const WS_XML_STRING, error: ::core::option::Option<*const WS_ERROR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "webservices.dll""system" fn WsXmlStringEquals ( string1 : *const WS_XML_STRING , string2 : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "webservices.dll""system" fn WsXmlStringEquals ( string1 : *const WS_XML_STRING , string2 : *const WS_XML_STRING , error : *const WS_ERROR ) -> :: windows::core::HRESULT ); WsXmlStringEquals(string1, string2, ::core::mem::transmute(error.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] @@ -1338,7 +1338,7 @@ impl IContentPrefetcherTaskTrigger { (::windows::core::Vtable::vtable(self).IsRegisteredForContentPrefetch)(::windows::core::Vtable::as_raw(self), packagefullname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContentPrefetcherTaskTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IContentPrefetcherTaskTrigger, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IContentPrefetcherTaskTrigger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/AppLocker/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/AppLocker/mod.rs index f3ad2c5ed9..d6221ef6c3 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/AppLocker/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/AppLocker/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn SaferCloseLevel(hlevelhandle: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferCloseLevel ( hlevelhandle : super:: SAFER_LEVEL_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferCloseLevel ( hlevelhandle : super:: SAFER_LEVEL_HANDLE ) -> super::super::Foundation:: BOOL ); SaferCloseLevel(hlevelhandle.into()) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] @@ -16,14 +16,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferComputeTokenFromLevel ( levelhandle : super:: SAFER_LEVEL_HANDLE , inaccesstoken : super::super::Foundation:: HANDLE , outaccesstoken : *mut super::super::Foundation:: HANDLE , dwflags : SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS , lpreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferComputeTokenFromLevel ( levelhandle : super:: SAFER_LEVEL_HANDLE , inaccesstoken : super::super::Foundation:: HANDLE , outaccesstoken : *mut super::super::Foundation:: HANDLE , dwflags : SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS , lpreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SaferComputeTokenFromLevel(levelhandle.into(), inaccesstoken.into(), outaccesstoken, dwflags, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SaferCreateLevel(dwscopeid: u32, dwlevelid: u32, openflags: u32, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferCreateLevel ( dwscopeid : u32 , dwlevelid : u32 , openflags : u32 , plevelhandle : *mut super:: SAFER_LEVEL_HANDLE , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferCreateLevel ( dwscopeid : u32 , dwlevelid : u32 , openflags : u32 , plevelhandle : *mut super:: SAFER_LEVEL_HANDLE , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SaferCreateLevel(dwscopeid, dwlevelid, openflags, plevelhandle, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] @@ -33,21 +33,21 @@ pub unsafe fn SaferGetLevelInformation(levelhandle: P0, dwinfotype: SAFER_OB where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferGetLevelInformation ( levelhandle : super:: SAFER_LEVEL_HANDLE , dwinfotype : SAFER_OBJECT_INFO_CLASS , lpquerybuffer : *mut ::core::ffi::c_void , dwinbuffersize : u32 , lpdwoutbuffersize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferGetLevelInformation ( levelhandle : super:: SAFER_LEVEL_HANDLE , dwinfotype : SAFER_OBJECT_INFO_CLASS , lpquerybuffer : *mut ::core::ffi::c_void , dwinbuffersize : u32 , lpdwoutbuffersize : *mut u32 ) -> super::super::Foundation:: BOOL ); SaferGetLevelInformation(levelhandle.into(), dwinfotype, ::core::mem::transmute(lpquerybuffer.unwrap_or(::std::ptr::null_mut())), dwinbuffersize, lpdwoutbuffersize) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SaferGetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SAFER_POLICY_INFO_CLASS, infobuffersize: u32, infobuffer: *mut ::core::ffi::c_void, infobufferretsize: *mut u32, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferGetPolicyInformation ( dwscopeid : u32 , saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS , infobuffersize : u32 , infobuffer : *mut ::core::ffi::c_void , infobufferretsize : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferGetPolicyInformation ( dwscopeid : u32 , saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS , infobuffersize : u32 , infobuffer : *mut ::core::ffi::c_void , infobufferretsize : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SaferGetPolicyInformation(dwscopeid, saferpolicyinfoclass, infobuffersize, infobuffer, infobufferretsize, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SaferIdentifyLevel(pcodeproperties: ::core::option::Option<&[SAFER_CODE_PROPERTIES_V2]>, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferIdentifyLevel ( dwnumproperties : u32 , pcodeproperties : *const SAFER_CODE_PROPERTIES_V2 , plevelhandle : *mut super:: SAFER_LEVEL_HANDLE , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferIdentifyLevel ( dwnumproperties : u32 , pcodeproperties : *const SAFER_CODE_PROPERTIES_V2 , plevelhandle : *mut super:: SAFER_LEVEL_HANDLE , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SaferIdentifyLevel(pcodeproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcodeproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), plevelhandle, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] @@ -58,7 +58,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferRecordEventLogEntry ( hlevel : super:: SAFER_LEVEL_HANDLE , sztargetpath : :: windows::core::PCWSTR , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferRecordEventLogEntry ( hlevel : super:: SAFER_LEVEL_HANDLE , sztargetpath : :: windows::core::PCWSTR , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SaferRecordEventLogEntry(hlevel.into(), sztargetpath.into().abi(), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] @@ -68,14 +68,14 @@ pub unsafe fn SaferSetLevelInformation(levelhandle: P0, dwinfotype: SAFER_OB where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferSetLevelInformation ( levelhandle : super:: SAFER_LEVEL_HANDLE , dwinfotype : SAFER_OBJECT_INFO_CLASS , lpquerybuffer : *const ::core::ffi::c_void , dwinbuffersize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferSetLevelInformation ( levelhandle : super:: SAFER_LEVEL_HANDLE , dwinfotype : SAFER_OBJECT_INFO_CLASS , lpquerybuffer : *const ::core::ffi::c_void , dwinbuffersize : u32 ) -> super::super::Foundation:: BOOL ); SaferSetLevelInformation(levelhandle.into(), dwinfotype, lpquerybuffer, dwinbuffersize) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SaferSetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SAFER_POLICY_INFO_CLASS, infobuffersize: u32, infobuffer: *const ::core::ffi::c_void, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferSetPolicyInformation ( dwscopeid : u32 , saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS , infobuffersize : u32 , infobuffer : *const ::core::ffi::c_void , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferSetPolicyInformation ( dwscopeid : u32 , saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS , infobuffersize : u32 , infobuffer : *const ::core::ffi::c_void , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SaferSetPolicyInformation(dwscopeid, saferpolicyinfoclass, infobuffersize, infobuffer, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] @@ -86,7 +86,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SaferiIsExecutableFileType ( szfullpathname : :: windows::core::PCWSTR , bfromshellexecute : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SaferiIsExecutableFileType ( szfullpathname : :: windows::core::PCWSTR , bfromshellexecute : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOL ); SaferiIsExecutableFileType(szfullpathname.into().abi(), bfromshellexecute.into()) } #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs index c4aeb3cec2..18b05af1b1 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs @@ -41,7 +41,7 @@ impl AsyncIAssociatedIdentityProvider { (::windows::core::Vtable::vtable(self).Finish_ChangeCredential)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIAssociatedIdentityProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIAssociatedIdentityProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIAssociatedIdentityProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -133,7 +133,7 @@ impl AsyncIConnectedIdentityProvider { (::windows::core::Vtable::vtable(self).Finish_GetAccountState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(AsyncIConnectedIdentityProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIConnectedIdentityProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIConnectedIdentityProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -194,7 +194,7 @@ impl AsyncIIdentityAdvise { (::windows::core::Vtable::vtable(self).Finish_IdentityUpdated)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIIdentityAdvise, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIIdentityAdvise, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIIdentityAdvise { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -245,7 +245,7 @@ impl AsyncIIdentityAuthentication { (::windows::core::Vtable::vtable(self).Finish_ValidateIdentityCredential)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppidentityproperties.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(AsyncIIdentityAuthentication, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIIdentityAuthentication, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIIdentityAuthentication { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -372,7 +372,7 @@ impl AsyncIIdentityProvider { (::windows::core::Vtable::vtable(self).Finish_UnAdvise)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIIdentityProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIIdentityProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIIdentityProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -493,7 +493,7 @@ impl AsyncIIdentityStore { (::windows::core::Vtable::vtable(self).Finish_Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIIdentityStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIIdentityStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIIdentityStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -563,7 +563,7 @@ impl AsyncIIdentityStoreEx { (::windows::core::Vtable::vtable(self).Finish_DeleteConnectedIdentity)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIIdentityStoreEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIIdentityStoreEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIIdentityStoreEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -627,7 +627,7 @@ impl IAssociatedIdentityProvider { (::windows::core::Vtable::vtable(self).ChangeCredential)(::windows::core::Vtable::as_raw(self), hwndparent.into(), lpszuniqueid.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAssociatedIdentityProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAssociatedIdentityProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAssociatedIdentityProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -696,7 +696,7 @@ impl IConnectedIdentityProvider { (::windows::core::Vtable::vtable(self).GetAccountState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConnectedIdentityProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConnectedIdentityProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConnectedIdentityProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -746,7 +746,7 @@ impl IIdentityAdvise { (::windows::core::Vtable::vtable(self).IdentityUpdated)(::windows::core::Vtable::as_raw(self), dwidentityupdateevents, lpszuniqueid.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IIdentityAdvise, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIdentityAdvise, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIdentityAdvise { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -788,7 +788,7 @@ impl IIdentityAuthentication { (::windows::core::Vtable::vtable(self).ValidateIdentityCredential)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(credbuffer.as_ptr()), credbuffer.len() as _, ::core::mem::transmute(ppidentityproperties.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IIdentityAuthentication, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIdentityAuthentication, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIdentityAuthentication { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -881,7 +881,7 @@ impl IIdentityProvider { (::windows::core::Vtable::vtable(self).UnAdvise)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(IIdentityProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIdentityProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIdentityProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -968,7 +968,7 @@ impl IIdentityStore { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IIdentityStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIdentityStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIdentityStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1023,7 +1023,7 @@ impl IIdentityStoreEx { (::windows::core::Vtable::vtable(self).DeleteConnectedIdentity)(::windows::core::Vtable::as_raw(self), connectedname.into().abi(), providerguid).ok() } } -::windows::core::interface_hierarchy!(IIdentityStoreEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIdentityStoreEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIdentityStoreEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs index d66277b149..00cae1f980 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -4,7 +4,7 @@ pub mod Provider; #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn AcceptSecurityContext(phcredential: ::core::option::Option<*const super::super::Credentials::SecHandle>, phcontext: ::core::option::Option<*const super::super::Credentials::SecHandle>, pinput: ::core::option::Option<*const SecBufferDesc>, fcontextreq: ASC_REQ_FLAGS, targetdatarep: u32, phnewcontext: ::core::option::Option<*mut super::super::Credentials::SecHandle>, poutput: ::core::option::Option<*mut SecBufferDesc>, pfcontextattr: *mut u32, ptsexpiry: ::core::option::Option<*mut i64>) -> ::windows::core::HRESULT { - ::windows::core::link ! ( "secur32.dll""system" fn AcceptSecurityContext ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , pinput : *const SecBufferDesc , fcontextreq : ASC_REQ_FLAGS , targetdatarep : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn AcceptSecurityContext ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , pinput : *const SecBufferDesc , fcontextreq : ASC_REQ_FLAGS , targetdatarep : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); AcceptSecurityContext(::core::mem::transmute(phcredential.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pinput.unwrap_or(::std::ptr::null())), fcontextreq, targetdatarep, ::core::mem::transmute(phnewcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poutput.unwrap_or(::std::ptr::null_mut())), pfcontextattr, ::core::mem::transmute(ptsexpiry.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -15,7 +15,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn AcquireCredentialsHandleA ( pszprincipal : :: windows::core::PCSTR , pszpackage : :: windows::core::PCSTR , fcredentialuse : SECPKG_CRED , pvlogonid : *const ::core::ffi::c_void , pauthdata : *const ::core::ffi::c_void , pgetkeyfn : SEC_GET_KEY_FN , pvgetkeyargument : *const ::core::ffi::c_void , phcredential : *mut super::super::Credentials:: SecHandle , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn AcquireCredentialsHandleA ( pszprincipal : :: windows::core::PCSTR , pszpackage : :: windows::core::PCSTR , fcredentialuse : SECPKG_CRED , pvlogonid : *const ::core::ffi::c_void , pauthdata : *const ::core::ffi::c_void , pgetkeyfn : SEC_GET_KEY_FN , pvgetkeyargument : *const ::core::ffi::c_void , phcredential : *mut super::super::Credentials:: SecHandle , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); AcquireCredentialsHandleA(pszprincipal.into().abi(), pszpackage.into().abi(), fcredentialuse, ::core::mem::transmute(pvlogonid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pauthdata.unwrap_or(::std::ptr::null())), pgetkeyfn, ::core::mem::transmute(pvgetkeyargument.unwrap_or(::std::ptr::null())), phcredential, ::core::mem::transmute(ptsexpiry.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -26,7 +26,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn AcquireCredentialsHandleW ( pszprincipal : :: windows::core::PCWSTR , pszpackage : :: windows::core::PCWSTR , fcredentialuse : SECPKG_CRED , pvlogonid : *const ::core::ffi::c_void , pauthdata : *const ::core::ffi::c_void , pgetkeyfn : SEC_GET_KEY_FN , pvgetkeyargument : *const ::core::ffi::c_void , phcredential : *mut super::super::Credentials:: SecHandle , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn AcquireCredentialsHandleW ( pszprincipal : :: windows::core::PCWSTR , pszpackage : :: windows::core::PCWSTR , fcredentialuse : SECPKG_CRED , pvlogonid : *const ::core::ffi::c_void , pauthdata : *const ::core::ffi::c_void , pgetkeyfn : SEC_GET_KEY_FN , pvgetkeyargument : *const ::core::ffi::c_void , phcredential : *mut super::super::Credentials:: SecHandle , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); AcquireCredentialsHandleW(pszprincipal.into().abi(), pszpackage.into().abi(), fcredentialuse, ::core::mem::transmute(pvlogonid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pauthdata.unwrap_or(::std::ptr::null())), pgetkeyfn, ::core::mem::transmute(pvgetkeyargument.unwrap_or(::std::ptr::null())), phcredential, ::core::mem::transmute(ptsexpiry.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -37,7 +37,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn AddCredentialsA ( hcredentials : *const super::super::Credentials:: SecHandle , pszprincipal : :: windows::core::PCSTR , pszpackage : :: windows::core::PCSTR , fcredentialuse : u32 , pauthdata : *const ::core::ffi::c_void , pgetkeyfn : SEC_GET_KEY_FN , pvgetkeyargument : *const ::core::ffi::c_void , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn AddCredentialsA ( hcredentials : *const super::super::Credentials:: SecHandle , pszprincipal : :: windows::core::PCSTR , pszpackage : :: windows::core::PCSTR , fcredentialuse : u32 , pauthdata : *const ::core::ffi::c_void , pgetkeyfn : SEC_GET_KEY_FN , pvgetkeyargument : *const ::core::ffi::c_void , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); AddCredentialsA(hcredentials, pszprincipal.into().abi(), pszpackage.into().abi(), fcredentialuse, ::core::mem::transmute(pauthdata.unwrap_or(::std::ptr::null())), pgetkeyfn, ::core::mem::transmute(pvgetkeyargument.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ptsexpiry.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -48,7 +48,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn AddCredentialsW ( hcredentials : *const super::super::Credentials:: SecHandle , pszprincipal : :: windows::core::PCWSTR , pszpackage : :: windows::core::PCWSTR , fcredentialuse : u32 , pauthdata : *const ::core::ffi::c_void , pgetkeyfn : SEC_GET_KEY_FN , pvgetkeyargument : *const ::core::ffi::c_void , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn AddCredentialsW ( hcredentials : *const super::super::Credentials:: SecHandle , pszprincipal : :: windows::core::PCWSTR , pszpackage : :: windows::core::PCWSTR , fcredentialuse : u32 , pauthdata : *const ::core::ffi::c_void , pgetkeyfn : SEC_GET_KEY_FN , pvgetkeyargument : *const ::core::ffi::c_void , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); AddCredentialsW(hcredentials, pszprincipal.into().abi(), pszpackage.into().abi(), fcredentialuse, ::core::mem::transmute(pauthdata.unwrap_or(::std::ptr::null())), pgetkeyfn, ::core::mem::transmute(pvgetkeyargument.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ptsexpiry.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn AddSecurityPackageA(pszpackagename: P0, poptions: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn AddSecurityPackageA ( pszpackagename : :: windows::core::PCSTR , poptions : *const SECURITY_PACKAGE_OPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn AddSecurityPackageA ( pszpackagename : :: windows::core::PCSTR , poptions : *const SECURITY_PACKAGE_OPTIONS ) -> :: windows::core::HRESULT ); AddSecurityPackageA(pszpackagename.into().abi(), ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -66,14 +66,14 @@ pub unsafe fn AddSecurityPackageW(pszpackagename: P0, poptions: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn AddSecurityPackageW ( pszpackagename : :: windows::core::PCWSTR , poptions : *const SECURITY_PACKAGE_OPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn AddSecurityPackageW ( pszpackagename : :: windows::core::PCWSTR , poptions : *const SECURITY_PACKAGE_OPTIONS ) -> :: windows::core::HRESULT ); AddSecurityPackageW(pszpackagename.into().abi(), ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn ApplyControlToken(phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn ApplyControlToken ( phcontext : *const super::super::Credentials:: SecHandle , pinput : *const SecBufferDesc ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn ApplyControlToken ( phcontext : *const super::super::Credentials:: SecHandle , pinput : *const SecBufferDesc ) -> :: windows::core::HRESULT ); ApplyControlToken(phcontext, pinput).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -83,7 +83,7 @@ pub unsafe fn AuditComputeEffectivePolicyBySid(psid: P0, psubcategoryguids: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditComputeEffectivePolicyBySid ( psid : super::super::super::Foundation:: PSID , psubcategoryguids : *const :: windows::core::GUID , dwpolicycount : u32 , ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditComputeEffectivePolicyBySid ( psid : super::super::super::Foundation:: PSID , psubcategoryguids : *const :: windows::core::GUID , dwpolicycount : u32 , ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION ) -> super::super::super::Foundation:: BOOLEAN ); AuditComputeEffectivePolicyBySid(psid.into(), ::core::mem::transmute(psubcategoryguids.as_ptr()), psubcategoryguids.len() as _, ppauditpolicy) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -93,21 +93,21 @@ pub unsafe fn AuditComputeEffectivePolicyByToken(htokenhandle: P0, psubcateg where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditComputeEffectivePolicyByToken ( htokenhandle : super::super::super::Foundation:: HANDLE , psubcategoryguids : *const :: windows::core::GUID , dwpolicycount : u32 , ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditComputeEffectivePolicyByToken ( htokenhandle : super::super::super::Foundation:: HANDLE , psubcategoryguids : *const :: windows::core::GUID , dwpolicycount : u32 , ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION ) -> super::super::super::Foundation:: BOOLEAN ); AuditComputeEffectivePolicyByToken(htokenhandle.into(), ::core::mem::transmute(psubcategoryguids.as_ptr()), psubcategoryguids.len() as _, ppauditpolicy) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditEnumerateCategories(ppauditcategoriesarray: *mut *mut ::windows::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditEnumerateCategories ( ppauditcategoriesarray : *mut *mut :: windows::core::GUID , pdwcountreturned : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditEnumerateCategories ( ppauditcategoriesarray : *mut *mut :: windows::core::GUID , pdwcountreturned : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); AuditEnumerateCategories(ppauditcategoriesarray, pdwcountreturned) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditEnumeratePerUserPolicy(ppauditsidarray: *mut *mut POLICY_AUDIT_SID_ARRAY) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditEnumeratePerUserPolicy ( ppauditsidarray : *mut *mut POLICY_AUDIT_SID_ARRAY ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditEnumeratePerUserPolicy ( ppauditsidarray : *mut *mut POLICY_AUDIT_SID_ARRAY ) -> super::super::super::Foundation:: BOOLEAN ); AuditEnumeratePerUserPolicy(ppauditsidarray) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -117,55 +117,55 @@ pub unsafe fn AuditEnumerateSubCategories(pauditcategoryguid: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditEnumerateSubCategories ( pauditcategoryguid : *const :: windows::core::GUID , bretrieveallsubcategories : super::super::super::Foundation:: BOOLEAN , ppauditsubcategoriesarray : *mut *mut :: windows::core::GUID , pdwcountreturned : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditEnumerateSubCategories ( pauditcategoryguid : *const :: windows::core::GUID , bretrieveallsubcategories : super::super::super::Foundation:: BOOLEAN , ppauditsubcategoriesarray : *mut *mut :: windows::core::GUID , pdwcountreturned : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); AuditEnumerateSubCategories(::core::mem::transmute(pauditcategoryguid.unwrap_or(::std::ptr::null())), bretrieveallsubcategories.into(), ppauditsubcategoriesarray, pdwcountreturned) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn AuditFree(buffer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditFree ( buffer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditFree ( buffer : *const ::core::ffi::c_void ) -> ( ) ); AuditFree(buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditLookupCategoryGuidFromCategoryId(auditcategoryid: POLICY_AUDIT_EVENT_TYPE, pauditcategoryguid: *mut ::windows::core::GUID) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditLookupCategoryGuidFromCategoryId ( auditcategoryid : POLICY_AUDIT_EVENT_TYPE , pauditcategoryguid : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditLookupCategoryGuidFromCategoryId ( auditcategoryid : POLICY_AUDIT_EVENT_TYPE , pauditcategoryguid : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: BOOLEAN ); AuditLookupCategoryGuidFromCategoryId(auditcategoryid, pauditcategoryguid) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid: *const ::windows::core::GUID, pauditcategoryid: *mut POLICY_AUDIT_EVENT_TYPE) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditLookupCategoryIdFromCategoryGuid ( pauditcategoryguid : *const :: windows::core::GUID , pauditcategoryid : *mut POLICY_AUDIT_EVENT_TYPE ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditLookupCategoryIdFromCategoryGuid ( pauditcategoryguid : *const :: windows::core::GUID , pauditcategoryid : *mut POLICY_AUDIT_EVENT_TYPE ) -> super::super::super::Foundation:: BOOLEAN ); AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid, pauditcategoryid) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditLookupCategoryNameA(pauditcategoryguid: *const ::windows::core::GUID, ppszcategoryname: *mut ::windows::core::PSTR) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditLookupCategoryNameA ( pauditcategoryguid : *const :: windows::core::GUID , ppszcategoryname : *mut :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditLookupCategoryNameA ( pauditcategoryguid : *const :: windows::core::GUID , ppszcategoryname : *mut :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOLEAN ); AuditLookupCategoryNameA(pauditcategoryguid, ppszcategoryname) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditLookupCategoryNameW(pauditcategoryguid: *const ::windows::core::GUID, ppszcategoryname: *mut ::windows::core::PWSTR) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditLookupCategoryNameW ( pauditcategoryguid : *const :: windows::core::GUID , ppszcategoryname : *mut :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditLookupCategoryNameW ( pauditcategoryguid : *const :: windows::core::GUID , ppszcategoryname : *mut :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOLEAN ); AuditLookupCategoryNameW(pauditcategoryguid, ppszcategoryname) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditLookupSubCategoryNameA(pauditsubcategoryguid: *const ::windows::core::GUID, ppszsubcategoryname: *mut ::windows::core::PSTR) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditLookupSubCategoryNameA ( pauditsubcategoryguid : *const :: windows::core::GUID , ppszsubcategoryname : *mut :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditLookupSubCategoryNameA ( pauditsubcategoryguid : *const :: windows::core::GUID , ppszsubcategoryname : *mut :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOLEAN ); AuditLookupSubCategoryNameA(pauditsubcategoryguid, ppszsubcategoryname) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditLookupSubCategoryNameW(pauditsubcategoryguid: *const ::windows::core::GUID, ppszsubcategoryname: *mut ::windows::core::PWSTR) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditLookupSubCategoryNameW ( pauditsubcategoryguid : *const :: windows::core::GUID , ppszsubcategoryname : *mut :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditLookupSubCategoryNameW ( pauditsubcategoryguid : *const :: windows::core::GUID , ppszsubcategoryname : *mut :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOLEAN ); AuditLookupSubCategoryNameW(pauditsubcategoryguid, ppszsubcategoryname) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -175,7 +175,7 @@ pub unsafe fn AuditQueryGlobalSaclA(objecttypename: P0, acl: *mut *mut super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditQueryGlobalSaclA ( objecttypename : :: windows::core::PCSTR , acl : *mut *mut super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditQueryGlobalSaclA ( objecttypename : :: windows::core::PCSTR , acl : *mut *mut super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); AuditQueryGlobalSaclA(objecttypename.into().abi(), acl) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -185,7 +185,7 @@ pub unsafe fn AuditQueryGlobalSaclW(objecttypename: P0, acl: *mut *mut super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditQueryGlobalSaclW ( objecttypename : :: windows::core::PCWSTR , acl : *mut *mut super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditQueryGlobalSaclW ( objecttypename : :: windows::core::PCWSTR , acl : *mut *mut super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); AuditQueryGlobalSaclW(objecttypename.into().abi(), acl) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -195,21 +195,21 @@ pub unsafe fn AuditQueryPerUserPolicy(psid: P0, psubcategoryguids: &[::windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditQueryPerUserPolicy ( psid : super::super::super::Foundation:: PSID , psubcategoryguids : *const :: windows::core::GUID , dwpolicycount : u32 , ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditQueryPerUserPolicy ( psid : super::super::super::Foundation:: PSID , psubcategoryguids : *const :: windows::core::GUID , dwpolicycount : u32 , ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION ) -> super::super::super::Foundation:: BOOLEAN ); AuditQueryPerUserPolicy(psid.into(), ::core::mem::transmute(psubcategoryguids.as_ptr()), psubcategoryguids.len() as _, ppauditpolicy) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditQuerySecurity(securityinformation: u32, ppsecuritydescriptor: *mut super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditQuerySecurity ( securityinformation : u32 , ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditQuerySecurity ( securityinformation : u32 , ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR ) -> super::super::super::Foundation:: BOOLEAN ); AuditQuerySecurity(securityinformation, ppsecuritydescriptor) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditQuerySystemPolicy(psubcategoryguids: &[::windows::core::GUID], ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditQuerySystemPolicy ( psubcategoryguids : *const :: windows::core::GUID , dwpolicycount : u32 , ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditQuerySystemPolicy ( psubcategoryguids : *const :: windows::core::GUID , dwpolicycount : u32 , ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION ) -> super::super::super::Foundation:: BOOLEAN ); AuditQuerySystemPolicy(::core::mem::transmute(psubcategoryguids.as_ptr()), psubcategoryguids.len() as _, ppauditpolicy) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -219,7 +219,7 @@ pub unsafe fn AuditSetGlobalSaclA(objecttypename: P0, acl: ::core::option::O where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditSetGlobalSaclA ( objecttypename : :: windows::core::PCSTR , acl : *const super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditSetGlobalSaclA ( objecttypename : :: windows::core::PCSTR , acl : *const super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); AuditSetGlobalSaclA(objecttypename.into().abi(), ::core::mem::transmute(acl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -229,7 +229,7 @@ pub unsafe fn AuditSetGlobalSaclW(objecttypename: P0, acl: ::core::option::O where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditSetGlobalSaclW ( objecttypename : :: windows::core::PCWSTR , acl : *const super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditSetGlobalSaclW ( objecttypename : :: windows::core::PCWSTR , acl : *const super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); AuditSetGlobalSaclW(objecttypename.into().abi(), ::core::mem::transmute(acl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -239,7 +239,7 @@ pub unsafe fn AuditSetPerUserPolicy(psid: P0, pauditpolicy: &[AUDIT_POLICY_I where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditSetPerUserPolicy ( psid : super::super::super::Foundation:: PSID , pauditpolicy : *const AUDIT_POLICY_INFORMATION , dwpolicycount : u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditSetPerUserPolicy ( psid : super::super::super::Foundation:: PSID , pauditpolicy : *const AUDIT_POLICY_INFORMATION , dwpolicycount : u32 ) -> super::super::super::Foundation:: BOOLEAN ); AuditSetPerUserPolicy(psid.into(), ::core::mem::transmute(pauditpolicy.as_ptr()), pauditpolicy.len() as _) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -249,14 +249,14 @@ pub unsafe fn AuditSetSecurity(securityinformation: u32, psecuritydescriptor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditSetSecurity ( securityinformation : u32 , psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditSetSecurity ( securityinformation : u32 , psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR ) -> super::super::super::Foundation:: BOOLEAN ); AuditSetSecurity(securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuditSetSystemPolicy(pauditpolicy: &[AUDIT_POLICY_INFORMATION]) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn AuditSetSystemPolicy ( pauditpolicy : *const AUDIT_POLICY_INFORMATION , dwpolicycount : u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AuditSetSystemPolicy ( pauditpolicy : *const AUDIT_POLICY_INFORMATION , dwpolicycount : u32 ) -> super::super::super::Foundation:: BOOLEAN ); AuditSetSystemPolicy(::core::mem::transmute(pauditpolicy.as_ptr()), pauditpolicy.len() as _) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -266,7 +266,7 @@ pub unsafe fn ChangeAccountPasswordA(pszpackagename: *const i8, pszdomainnam where P0: ::std::convert::Into, { - ::windows::core::link ! ( "secur32.dll""system" fn ChangeAccountPasswordA ( pszpackagename : *const i8 , pszdomainname : *const i8 , pszaccountname : *const i8 , pszoldpassword : *const i8 , psznewpassword : *const i8 , bimpersonating : super::super::super::Foundation:: BOOLEAN , dwreserved : u32 , poutput : *mut SecBufferDesc ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn ChangeAccountPasswordA ( pszpackagename : *const i8 , pszdomainname : *const i8 , pszaccountname : *const i8 , pszoldpassword : *const i8 , psznewpassword : *const i8 , bimpersonating : super::super::super::Foundation:: BOOLEAN , dwreserved : u32 , poutput : *mut SecBufferDesc ) -> :: windows::core::HRESULT ); ChangeAccountPasswordA(pszpackagename, pszdomainname, pszaccountname, pszoldpassword, psznewpassword, bimpersonating.into(), dwreserved, poutput).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -276,42 +276,42 @@ pub unsafe fn ChangeAccountPasswordW(pszpackagename: *const u16, pszdomainna where P0: ::std::convert::Into, { - ::windows::core::link ! ( "secur32.dll""system" fn ChangeAccountPasswordW ( pszpackagename : *const u16 , pszdomainname : *const u16 , pszaccountname : *const u16 , pszoldpassword : *const u16 , psznewpassword : *const u16 , bimpersonating : super::super::super::Foundation:: BOOLEAN , dwreserved : u32 , poutput : *mut SecBufferDesc ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn ChangeAccountPasswordW ( pszpackagename : *const u16 , pszdomainname : *const u16 , pszaccountname : *const u16 , pszoldpassword : *const u16 , psznewpassword : *const u16 , bimpersonating : super::super::super::Foundation:: BOOLEAN , dwreserved : u32 , poutput : *mut SecBufferDesc ) -> :: windows::core::HRESULT ); ChangeAccountPasswordW(pszpackagename, pszdomainname, pszaccountname, pszoldpassword, psznewpassword, bimpersonating.into(), dwreserved, poutput).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn CompleteAuthToken(phcontext: *const super::super::Credentials::SecHandle, ptoken: *const SecBufferDesc) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn CompleteAuthToken ( phcontext : *const super::super::Credentials:: SecHandle , ptoken : *const SecBufferDesc ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn CompleteAuthToken ( phcontext : *const super::super::Credentials:: SecHandle , ptoken : *const SecBufferDesc ) -> :: windows::core::HRESULT ); CompleteAuthToken(phcontext, ptoken).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] #[inline] pub unsafe fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn CredMarshalTargetInfo ( intargetinfo : *const super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW , buffer : *mut *mut u16 , buffersize : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn CredMarshalTargetInfo ( intargetinfo : *const super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW , buffer : *mut *mut u16 , buffersize : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); CredMarshalTargetInfo(intargetinfo, buffer, buffersize).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] #[inline] pub unsafe fn CredUnmarshalTargetInfo(buffer: *const u16, buffersize: u32, rettargetinfo: ::core::option::Option<*mut *mut super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW>, retactualsize: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn CredUnmarshalTargetInfo ( buffer : *const u16 , buffersize : u32 , rettargetinfo : *mut *mut super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW , retactualsize : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn CredUnmarshalTargetInfo ( buffer : *const u16 , buffersize : u32 , rettargetinfo : *mut *mut super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW , retactualsize : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); CredUnmarshalTargetInfo(buffer, buffersize, ::core::mem::transmute(rettargetinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(retactualsize.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn DecryptMessage(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: ::core::option::Option<*mut u32>) -> ::windows::core::HRESULT { - ::windows::core::link ! ( "secur32.dll""system" fn DecryptMessage ( phcontext : *const super::super::Credentials:: SecHandle , pmessage : *const SecBufferDesc , messageseqno : u32 , pfqop : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn DecryptMessage ( phcontext : *const super::super::Credentials:: SecHandle , pmessage : *const SecBufferDesc , messageseqno : u32 , pfqop : *mut u32 ) -> :: windows::core::HRESULT ); DecryptMessage(phcontext, pmessage, messageseqno, ::core::mem::transmute(pfqop.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn DeleteSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn DeleteSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn DeleteSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); DeleteSecurityContext(phcontext).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -320,7 +320,7 @@ pub unsafe fn DeleteSecurityPackageA(pszpackagename: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn DeleteSecurityPackageA ( pszpackagename : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn DeleteSecurityPackageA ( pszpackagename : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); DeleteSecurityPackageA(pszpackagename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -329,81 +329,81 @@ pub unsafe fn DeleteSecurityPackageW(pszpackagename: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn DeleteSecurityPackageW ( pszpackagename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn DeleteSecurityPackageW ( pszpackagename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DeleteSecurityPackageW(pszpackagename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn EncryptMessage(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows::core::HRESULT { - ::windows::core::link ! ( "secur32.dll""system" fn EncryptMessage ( phcontext : *const super::super::Credentials:: SecHandle , fqop : u32 , pmessage : *const SecBufferDesc , messageseqno : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn EncryptMessage ( phcontext : *const super::super::Credentials:: SecHandle , fqop : u32 , pmessage : *const SecBufferDesc , messageseqno : u32 ) -> :: windows::core::HRESULT ); EncryptMessage(phcontext, fqop, pmessage, messageseqno) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn EnumerateSecurityPackagesA(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn EnumerateSecurityPackagesA ( pcpackages : *mut u32 , pppackageinfo : *mut *mut SecPkgInfoA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn EnumerateSecurityPackagesA ( pcpackages : *mut u32 , pppackageinfo : *mut *mut SecPkgInfoA ) -> :: windows::core::HRESULT ); EnumerateSecurityPackagesA(pcpackages, pppackageinfo).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn EnumerateSecurityPackagesW(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn EnumerateSecurityPackagesW ( pcpackages : *mut u32 , pppackageinfo : *mut *mut SecPkgInfoW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn EnumerateSecurityPackagesW ( pcpackages : *mut u32 , pppackageinfo : *mut *mut SecPkgInfoW ) -> :: windows::core::HRESULT ); EnumerateSecurityPackagesW(pcpackages, pppackageinfo).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn ExportSecurityContext(phcontext: *const super::super::Credentials::SecHandle, fflags: EXPORT_SECURITY_CONTEXT_FLAGS, ppackedcontext: *mut SecBuffer, ptoken: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn ExportSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle , fflags : EXPORT_SECURITY_CONTEXT_FLAGS , ppackedcontext : *mut SecBuffer , ptoken : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn ExportSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle , fflags : EXPORT_SECURITY_CONTEXT_FLAGS , ppackedcontext : *mut SecBuffer , ptoken : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ExportSecurityContext(phcontext, fflags, ppackedcontext, ptoken).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn FreeContextBuffer(pvcontextbuffer: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn FreeContextBuffer ( pvcontextbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn FreeContextBuffer ( pvcontextbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); FreeContextBuffer(pvcontextbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn FreeCredentialsHandle(phcredential: *const super::super::Credentials::SecHandle) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn FreeCredentialsHandle ( phcredential : *const super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn FreeCredentialsHandle ( phcredential : *const super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); FreeCredentialsHandle(phcredential).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetComputerObjectNameA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "secur32.dll""system" fn GetComputerObjectNameA ( nameformat : EXTENDED_NAME_FORMAT , lpnamebuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "secur32.dll""system" fn GetComputerObjectNameA ( nameformat : EXTENDED_NAME_FORMAT , lpnamebuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); GetComputerObjectNameA(nameformat, ::core::mem::transmute(lpnamebuffer), nsize) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetComputerObjectNameW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "secur32.dll""system" fn GetComputerObjectNameW ( nameformat : EXTENDED_NAME_FORMAT , lpnamebuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "secur32.dll""system" fn GetComputerObjectNameW ( nameformat : EXTENDED_NAME_FORMAT , lpnamebuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); GetComputerObjectNameW(nameformat, ::core::mem::transmute(lpnamebuffer), nsize) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUserNameExA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "secur32.dll""system" fn GetUserNameExA ( nameformat : EXTENDED_NAME_FORMAT , lpnamebuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "secur32.dll""system" fn GetUserNameExA ( nameformat : EXTENDED_NAME_FORMAT , lpnamebuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); GetUserNameExA(nameformat, ::core::mem::transmute(lpnamebuffer), nsize) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUserNameExW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "secur32.dll""system" fn GetUserNameExW ( nameformat : EXTENDED_NAME_FORMAT , lpnamebuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "secur32.dll""system" fn GetUserNameExW ( nameformat : EXTENDED_NAME_FORMAT , lpnamebuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); GetUserNameExW(nameformat, ::core::mem::transmute(lpnamebuffer), nsize) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn ImpersonateSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn ImpersonateSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn ImpersonateSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); ImpersonateSecurityContext(phcontext).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] @@ -413,7 +413,7 @@ pub unsafe fn ImportSecurityContextA(pszpackage: P0, ppackedcontext: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn ImportSecurityContextA ( pszpackage : :: windows::core::PCSTR , ppackedcontext : *const SecBuffer , token : *const ::core::ffi::c_void , phcontext : *mut super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn ImportSecurityContextA ( pszpackage : :: windows::core::PCSTR , ppackedcontext : *const SecBuffer , token : *const ::core::ffi::c_void , phcontext : *mut super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ImportSecurityContextA(pszpackage.into().abi(), ppackedcontext, token, &mut result__).from_abi(result__) } @@ -424,7 +424,7 @@ pub unsafe fn ImportSecurityContextW(pszpackage: P0, ppackedcontext: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn ImportSecurityContextW ( pszpackage : :: windows::core::PCWSTR , ppackedcontext : *const SecBuffer , token : *const ::core::ffi::c_void , phcontext : *mut super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn ImportSecurityContextW ( pszpackage : :: windows::core::PCWSTR , ppackedcontext : *const SecBuffer , token : *const ::core::ffi::c_void , phcontext : *mut super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ImportSecurityContextW(pszpackage.into().abi(), ppackedcontext, token, &mut result__).from_abi(result__) } @@ -432,21 +432,21 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] #[inline] pub unsafe fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA { - ::windows::core::link ! ( "secur32.dll""system" fn InitSecurityInterfaceA ( ) -> *mut SecurityFunctionTableA ); + ::windows::imp::link ! ( "secur32.dll""system" fn InitSecurityInterfaceA ( ) -> *mut SecurityFunctionTableA ); InitSecurityInterfaceA() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] #[inline] pub unsafe fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW { - ::windows::core::link ! ( "secur32.dll""system" fn InitSecurityInterfaceW ( ) -> *mut SecurityFunctionTableW ); + ::windows::imp::link ! ( "secur32.dll""system" fn InitSecurityInterfaceW ( ) -> *mut SecurityFunctionTableW ); InitSecurityInterfaceW() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn InitializeSecurityContextA(phcredential: ::core::option::Option<*const super::super::Credentials::SecHandle>, phcontext: ::core::option::Option<*const super::super::Credentials::SecHandle>, psztargetname: ::core::option::Option<*const i8>, fcontextreq: ISC_REQ_FLAGS, reserved1: u32, targetdatarep: u32, pinput: ::core::option::Option<*const SecBufferDesc>, reserved2: u32, phnewcontext: ::core::option::Option<*mut super::super::Credentials::SecHandle>, poutput: ::core::option::Option<*mut SecBufferDesc>, pfcontextattr: *mut u32, ptsexpiry: ::core::option::Option<*mut i64>) -> ::windows::core::HRESULT { - ::windows::core::link ! ( "secur32.dll""system" fn InitializeSecurityContextA ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , psztargetname : *const i8 , fcontextreq : ISC_REQ_FLAGS , reserved1 : u32 , targetdatarep : u32 , pinput : *const SecBufferDesc , reserved2 : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn InitializeSecurityContextA ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , psztargetname : *const i8 , fcontextreq : ISC_REQ_FLAGS , reserved1 : u32 , targetdatarep : u32 , pinput : *const SecBufferDesc , reserved2 : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); InitializeSecurityContextA( ::core::mem::transmute(phcredential.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phcontext.unwrap_or(::std::ptr::null())), @@ -466,7 +466,7 @@ pub unsafe fn InitializeSecurityContextA(phcredential: ::core::option::Option<*c #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn InitializeSecurityContextW(phcredential: ::core::option::Option<*const super::super::Credentials::SecHandle>, phcontext: ::core::option::Option<*const super::super::Credentials::SecHandle>, psztargetname: ::core::option::Option<*const u16>, fcontextreq: ISC_REQ_FLAGS, reserved1: u32, targetdatarep: u32, pinput: ::core::option::Option<*const SecBufferDesc>, reserved2: u32, phnewcontext: ::core::option::Option<*mut super::super::Credentials::SecHandle>, poutput: ::core::option::Option<*mut SecBufferDesc>, pfcontextattr: *mut u32, ptsexpiry: ::core::option::Option<*mut i64>) -> ::windows::core::HRESULT { - ::windows::core::link ! ( "secur32.dll""system" fn InitializeSecurityContextW ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , psztargetname : *const u16 , fcontextreq : ISC_REQ_FLAGS , reserved1 : u32 , targetdatarep : u32 , pinput : *const SecBufferDesc , reserved2 : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn InitializeSecurityContextW ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , psztargetname : *const u16 , fcontextreq : ISC_REQ_FLAGS , reserved1 : u32 , targetdatarep : u32 , pinput : *const SecBufferDesc , reserved2 : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); InitializeSecurityContextW( ::core::mem::transmute(phcredential.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phcontext.unwrap_or(::std::ptr::null())), @@ -490,7 +490,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaAddAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , userrights : *const super::super::super::Foundation:: UNICODE_STRING , countofrights : u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaAddAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , userrights : *const super::super::super::Foundation:: UNICODE_STRING , countofrights : u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaAddAccountRights(policyhandle.into(), accountsid.into(), ::core::mem::transmute(userrights.as_ptr()), userrights.len() as _).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -500,7 +500,7 @@ pub unsafe fn LsaCallAuthenticationPackage(lsahandle: P0, authenticationpack where P0: ::std::convert::Into, { - ::windows::core::link ! ( "secur32.dll""system" fn LsaCallAuthenticationPackage ( lsahandle : super::super::super::Foundation:: HANDLE , authenticationpackage : u32 , protocolsubmitbuffer : *const ::core::ffi::c_void , submitbufferlength : u32 , protocolreturnbuffer : *mut *mut ::core::ffi::c_void , returnbufferlength : *mut u32 , protocolstatus : *mut i32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaCallAuthenticationPackage ( lsahandle : super::super::super::Foundation:: HANDLE , authenticationpackage : u32 , protocolsubmitbuffer : *const ::core::ffi::c_void , submitbufferlength : u32 , protocolreturnbuffer : *mut *mut ::core::ffi::c_void , returnbufferlength : *mut u32 , protocolstatus : *mut i32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaCallAuthenticationPackage(lsahandle.into(), authenticationpackage, protocolsubmitbuffer, submitbufferlength, ::core::mem::transmute(protocolreturnbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(returnbufferlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(protocolstatus.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -510,14 +510,14 @@ pub unsafe fn LsaClose(objecthandle: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaClose ( objecthandle : LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaClose ( objecthandle : LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); LsaClose(objecthandle.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsaConnectUntrusted(lsahandle: *mut super::super::super::Foundation::HANDLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn LsaConnectUntrusted ( lsahandle : *mut super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaConnectUntrusted ( lsahandle : *mut super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); LsaConnectUntrusted(lsahandle).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -527,7 +527,7 @@ pub unsafe fn LsaCreateTrustedDomainEx(policyhandle: P0, trusteddomaininform where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaCreateTrustedDomainEx ( policyhandle : LSA_HANDLE , trusteddomaininformation : *const TRUSTED_DOMAIN_INFORMATION_EX , authenticationinformation : *const TRUSTED_DOMAIN_AUTH_INFORMATION , desiredaccess : u32 , trusteddomainhandle : *mut LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaCreateTrustedDomainEx ( policyhandle : LSA_HANDLE , trusteddomaininformation : *const TRUSTED_DOMAIN_INFORMATION_EX , authenticationinformation : *const TRUSTED_DOMAIN_AUTH_INFORMATION , desiredaccess : u32 , trusteddomainhandle : *mut LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); LsaCreateTrustedDomainEx(policyhandle.into(), trusteddomaininformation, authenticationinformation, desiredaccess, trusteddomainhandle).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -538,7 +538,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaDeleteTrustedDomain ( policyhandle : LSA_HANDLE , trusteddomainsid : super::super::super::Foundation:: PSID ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaDeleteTrustedDomain ( policyhandle : LSA_HANDLE , trusteddomainsid : super::super::super::Foundation:: PSID ) -> super::super::super::Foundation:: NTSTATUS ); LsaDeleteTrustedDomain(policyhandle.into(), trusteddomainsid.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -548,7 +548,7 @@ pub unsafe fn LsaDeregisterLogonProcess(lsahandle: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "secur32.dll""system" fn LsaDeregisterLogonProcess ( lsahandle : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaDeregisterLogonProcess ( lsahandle : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); LsaDeregisterLogonProcess(lsahandle.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -559,7 +559,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaEnumerateAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , userrights : *mut *mut super::super::super::Foundation:: UNICODE_STRING , countofrights : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaEnumerateAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , userrights : *mut *mut super::super::super::Foundation:: UNICODE_STRING , countofrights : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaEnumerateAccountRights(policyhandle.into(), accountsid.into(), userrights, countofrights).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -569,14 +569,14 @@ pub unsafe fn LsaEnumerateAccountsWithUserRight(policyhandle: P0, userright: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaEnumerateAccountsWithUserRight ( policyhandle : LSA_HANDLE , userright : *const super::super::super::Foundation:: UNICODE_STRING , buffer : *mut *mut ::core::ffi::c_void , countreturned : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaEnumerateAccountsWithUserRight ( policyhandle : LSA_HANDLE , userright : *const super::super::super::Foundation:: UNICODE_STRING , buffer : *mut *mut ::core::ffi::c_void , countreturned : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaEnumerateAccountsWithUserRight(policyhandle.into(), ::core::mem::transmute(userright.unwrap_or(::std::ptr::null())), buffer, countreturned).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsaEnumerateLogonSessions(logonsessioncount: *mut u32, logonsessionlist: *mut *mut super::super::super::Foundation::LUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn LsaEnumerateLogonSessions ( logonsessioncount : *mut u32 , logonsessionlist : *mut *mut super::super::super::Foundation:: LUID ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaEnumerateLogonSessions ( logonsessioncount : *mut u32 , logonsessionlist : *mut *mut super::super::super::Foundation:: LUID ) -> super::super::super::Foundation:: NTSTATUS ); LsaEnumerateLogonSessions(logonsessioncount, logonsessionlist).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -586,7 +586,7 @@ pub unsafe fn LsaEnumerateTrustedDomains(policyhandle: P0, enumerationcontex where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaEnumerateTrustedDomains ( policyhandle : LSA_HANDLE , enumerationcontext : *mut u32 , buffer : *mut *mut ::core::ffi::c_void , preferedmaximumlength : u32 , countreturned : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaEnumerateTrustedDomains ( policyhandle : LSA_HANDLE , enumerationcontext : *mut u32 , buffer : *mut *mut ::core::ffi::c_void , preferedmaximumlength : u32 , countreturned : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaEnumerateTrustedDomains(policyhandle.into(), enumerationcontext, buffer, preferedmaximumlength, countreturned).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -596,35 +596,35 @@ pub unsafe fn LsaEnumerateTrustedDomainsEx(policyhandle: P0, enumerationcont where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaEnumerateTrustedDomainsEx ( policyhandle : LSA_HANDLE , enumerationcontext : *mut u32 , buffer : *mut *mut ::core::ffi::c_void , preferedmaximumlength : u32 , countreturned : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaEnumerateTrustedDomainsEx ( policyhandle : LSA_HANDLE , enumerationcontext : *mut u32 , buffer : *mut *mut ::core::ffi::c_void , preferedmaximumlength : u32 , countreturned : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaEnumerateTrustedDomainsEx(policyhandle.into(), enumerationcontext, buffer, preferedmaximumlength, countreturned).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsaFreeMemory(buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaFreeMemory ( buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaFreeMemory ( buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaFreeMemory(::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn LsaFreeReturnBuffer ( buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaFreeReturnBuffer ( buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaFreeReturnBuffer(buffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsaGetAppliedCAPIDs(systemname: ::core::option::Option<*const super::super::super::Foundation::UNICODE_STRING>, capids: *mut *mut super::super::super::Foundation::PSID, capidcount: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaGetAppliedCAPIDs ( systemname : *const super::super::super::Foundation:: UNICODE_STRING , capids : *mut *mut super::super::super::Foundation:: PSID , capidcount : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaGetAppliedCAPIDs ( systemname : *const super::super::super::Foundation:: UNICODE_STRING , capids : *mut *mut super::super::super::Foundation:: PSID , capidcount : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaGetAppliedCAPIDs(::core::mem::transmute(systemname.unwrap_or(::std::ptr::null())), capids, capidcount).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsaGetLogonSessionData(logonid: *const super::super::super::Foundation::LUID, pplogonsessiondata: *mut *mut SECURITY_LOGON_SESSION_DATA) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn LsaGetLogonSessionData ( logonid : *const super::super::super::Foundation:: LUID , pplogonsessiondata : *mut *mut SECURITY_LOGON_SESSION_DATA ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaGetLogonSessionData ( logonid : *const super::super::super::Foundation:: LUID , pplogonsessiondata : *mut *mut SECURITY_LOGON_SESSION_DATA ) -> super::super::super::Foundation:: NTSTATUS ); LsaGetLogonSessionData(logonid, pplogonsessiondata).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -634,7 +634,7 @@ pub unsafe fn LsaLogonUser(lsahandle: P0, originname: *const super::super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "secur32.dll""system" fn LsaLogonUser ( lsahandle : super::super::super::Foundation:: HANDLE , originname : *const super::super::super::System::Kernel:: STRING , logontype : SECURITY_LOGON_TYPE , authenticationpackage : u32 , authenticationinformation : *const ::core::ffi::c_void , authenticationinformationlength : u32 , localgroups : *const super::super:: TOKEN_GROUPS , sourcecontext : *const super::super:: TOKEN_SOURCE , profilebuffer : *mut *mut ::core::ffi::c_void , profilebufferlength : *mut u32 , logonid : *mut super::super::super::Foundation:: LUID , token : *mut super::super::super::Foundation:: HANDLE , quotas : *mut super::super:: QUOTA_LIMITS , substatus : *mut i32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaLogonUser ( lsahandle : super::super::super::Foundation:: HANDLE , originname : *const super::super::super::System::Kernel:: STRING , logontype : SECURITY_LOGON_TYPE , authenticationpackage : u32 , authenticationinformation : *const ::core::ffi::c_void , authenticationinformationlength : u32 , localgroups : *const super::super:: TOKEN_GROUPS , sourcecontext : *const super::super:: TOKEN_SOURCE , profilebuffer : *mut *mut ::core::ffi::c_void , profilebufferlength : *mut u32 , logonid : *mut super::super::super::Foundation:: LUID , token : *mut super::super::super::Foundation:: HANDLE , quotas : *mut super::super:: QUOTA_LIMITS , substatus : *mut i32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaLogonUser(lsahandle.into(), originname, logontype, authenticationpackage, authenticationinformation, authenticationinformationlength, ::core::mem::transmute(localgroups.unwrap_or(::std::ptr::null())), sourcecontext, profilebuffer, profilebufferlength, logonid, token, quotas, substatus).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -644,7 +644,7 @@ pub unsafe fn LsaLookupAuthenticationPackage(lsahandle: P0, packagename: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "secur32.dll""system" fn LsaLookupAuthenticationPackage ( lsahandle : super::super::super::Foundation:: HANDLE , packagename : *const super::super::super::System::Kernel:: STRING , authenticationpackage : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaLookupAuthenticationPackage ( lsahandle : super::super::super::Foundation:: HANDLE , packagename : *const super::super::super::System::Kernel:: STRING , authenticationpackage : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaLookupAuthenticationPackage(lsahandle.into(), packagename, authenticationpackage).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -654,7 +654,7 @@ pub unsafe fn LsaLookupNames(policyhandle: P0, count: u32, names: *const sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaLookupNames ( policyhandle : LSA_HANDLE , count : u32 , names : *const super::super::super::Foundation:: UNICODE_STRING , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , sids : *mut *mut LSA_TRANSLATED_SID ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaLookupNames ( policyhandle : LSA_HANDLE , count : u32 , names : *const super::super::super::Foundation:: UNICODE_STRING , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , sids : *mut *mut LSA_TRANSLATED_SID ) -> super::super::super::Foundation:: NTSTATUS ); LsaLookupNames(policyhandle.into(), count, names, referenceddomains, sids).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -664,7 +664,7 @@ pub unsafe fn LsaLookupNames2(policyhandle: P0, flags: u32, count: u32, name where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaLookupNames2 ( policyhandle : LSA_HANDLE , flags : u32 , count : u32 , names : *const super::super::super::Foundation:: UNICODE_STRING , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , sids : *mut *mut LSA_TRANSLATED_SID2 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaLookupNames2 ( policyhandle : LSA_HANDLE , flags : u32 , count : u32 , names : *const super::super::super::Foundation:: UNICODE_STRING , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , sids : *mut *mut LSA_TRANSLATED_SID2 ) -> super::super::super::Foundation:: NTSTATUS ); LsaLookupNames2(policyhandle.into(), flags, count, names, referenceddomains, sids).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -674,7 +674,7 @@ pub unsafe fn LsaLookupSids(policyhandle: P0, count: u32, sids: *const super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaLookupSids ( policyhandle : LSA_HANDLE , count : u32 , sids : *const super::super::super::Foundation:: PSID , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , names : *mut *mut LSA_TRANSLATED_NAME ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaLookupSids ( policyhandle : LSA_HANDLE , count : u32 , sids : *const super::super::super::Foundation:: PSID , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , names : *mut *mut LSA_TRANSLATED_NAME ) -> super::super::super::Foundation:: NTSTATUS ); LsaLookupSids(policyhandle.into(), count, sids, referenceddomains, names).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -684,7 +684,7 @@ pub unsafe fn LsaLookupSids2(policyhandle: P0, lookupoptions: u32, count: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaLookupSids2 ( policyhandle : LSA_HANDLE , lookupoptions : u32 , count : u32 , sids : *const super::super::super::Foundation:: PSID , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , names : *mut *mut LSA_TRANSLATED_NAME ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaLookupSids2 ( policyhandle : LSA_HANDLE , lookupoptions : u32 , count : u32 , sids : *const super::super::super::Foundation:: PSID , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , names : *mut *mut LSA_TRANSLATED_NAME ) -> super::super::super::Foundation:: NTSTATUS ); LsaLookupSids2(policyhandle.into(), lookupoptions, count, sids, referenceddomains, names).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -694,14 +694,14 @@ pub unsafe fn LsaNtStatusToWinError(status: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaNtStatusToWinError ( status : super::super::super::Foundation:: NTSTATUS ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaNtStatusToWinError ( status : super::super::super::Foundation:: NTSTATUS ) -> u32 ); LsaNtStatusToWinError(status.into()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] pub unsafe fn LsaOpenPolicy(systemname: ::core::option::Option<*const super::super::super::Foundation::UNICODE_STRING>, objectattributes: *const super::super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, desiredaccess: u32, policyhandle: *mut LSA_HANDLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaOpenPolicy ( systemname : *const super::super::super::Foundation:: UNICODE_STRING , objectattributes : *const super::super::super::System::WindowsProgramming:: OBJECT_ATTRIBUTES , desiredaccess : u32 , policyhandle : *mut LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaOpenPolicy ( systemname : *const super::super::super::Foundation:: UNICODE_STRING , objectattributes : *const super::super::super::System::WindowsProgramming:: OBJECT_ATTRIBUTES , desiredaccess : u32 , policyhandle : *mut LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); LsaOpenPolicy(::core::mem::transmute(systemname.unwrap_or(::std::ptr::null())), objectattributes, desiredaccess, policyhandle).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -711,14 +711,14 @@ pub unsafe fn LsaOpenTrustedDomainByName(policyhandle: P0, trusteddomainname where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaOpenTrustedDomainByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , desiredaccess : u32 , trusteddomainhandle : *mut LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaOpenTrustedDomainByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , desiredaccess : u32 , trusteddomainhandle : *mut LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); LsaOpenTrustedDomainByName(policyhandle.into(), trusteddomainname, desiredaccess, trusteddomainhandle).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsaQueryCAPs(capids: ::core::option::Option<&[super::super::super::Foundation::PSID]>, caps: *mut *mut CENTRAL_ACCESS_POLICY, capcount: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaQueryCAPs ( capids : *const super::super::super::Foundation:: PSID , capidcount : u32 , caps : *mut *mut CENTRAL_ACCESS_POLICY , capcount : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaQueryCAPs ( capids : *const super::super::super::Foundation:: PSID , capidcount : u32 , caps : *mut *mut CENTRAL_ACCESS_POLICY , capcount : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaQueryCAPs(::core::mem::transmute(capids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), capids.as_deref().map_or(0, |slice| slice.len() as _), caps, capcount).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -728,7 +728,7 @@ pub unsafe fn LsaQueryDomainInformationPolicy(policyhandle: P0, informationc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaQueryDomainInformationPolicy ( policyhandle : LSA_HANDLE , informationclass : POLICY_DOMAIN_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaQueryDomainInformationPolicy ( policyhandle : LSA_HANDLE , informationclass : POLICY_DOMAIN_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaQueryDomainInformationPolicy(policyhandle.into(), informationclass, buffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -738,7 +738,7 @@ pub unsafe fn LsaQueryForestTrustInformation(policyhandle: P0, trusteddomain where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaQueryForestTrustInformation ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaQueryForestTrustInformation ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION ) -> super::super::super::Foundation:: NTSTATUS ); LsaQueryForestTrustInformation(policyhandle.into(), trusteddomainname, foresttrustinfo).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -748,7 +748,7 @@ pub unsafe fn LsaQueryInformationPolicy(policyhandle: P0, informationclass: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaQueryInformationPolicy ( policyhandle : LSA_HANDLE , informationclass : POLICY_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaQueryInformationPolicy ( policyhandle : LSA_HANDLE , informationclass : POLICY_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaQueryInformationPolicy(policyhandle.into(), informationclass, buffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -759,7 +759,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaQueryTrustedDomainInfo ( policyhandle : LSA_HANDLE , trusteddomainsid : super::super::super::Foundation:: PSID , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaQueryTrustedDomainInfo ( policyhandle : LSA_HANDLE , trusteddomainsid : super::super::super::Foundation:: PSID , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaQueryTrustedDomainInfo(policyhandle.into(), trusteddomainsid.into(), informationclass, buffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -769,14 +769,14 @@ pub unsafe fn LsaQueryTrustedDomainInfoByName(policyhandle: P0, trusteddomai where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaQueryTrustedDomainInfoByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaQueryTrustedDomainInfoByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaQueryTrustedDomainInfoByName(policyhandle.into(), trusteddomainname, informationclass, buffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn LsaRegisterLogonProcess(logonprocessname: *const super::super::super::System::Kernel::STRING, lsahandle: *mut super::super::super::Foundation::HANDLE, securitymode: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn LsaRegisterLogonProcess ( logonprocessname : *const super::super::super::System::Kernel:: STRING , lsahandle : *mut super::super::super::Foundation:: HANDLE , securitymode : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaRegisterLogonProcess ( logonprocessname : *const super::super::super::System::Kernel:: STRING , lsahandle : *mut super::super::super::Foundation:: HANDLE , securitymode : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaRegisterLogonProcess(logonprocessname, lsahandle, securitymode).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -786,7 +786,7 @@ pub unsafe fn LsaRegisterPolicyChangeNotification(informationclass: POLICY_N where P0: ::std::convert::Into, { - ::windows::core::link ! ( "secur32.dll""system" fn LsaRegisterPolicyChangeNotification ( informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS , notificationeventhandle : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaRegisterPolicyChangeNotification ( informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS , notificationeventhandle : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); LsaRegisterPolicyChangeNotification(informationclass, notificationeventhandle.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -798,7 +798,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaRemoveAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , allrights : super::super::super::Foundation:: BOOLEAN , userrights : *const super::super::super::Foundation:: UNICODE_STRING , countofrights : u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaRemoveAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , allrights : super::super::super::Foundation:: BOOLEAN , userrights : *const super::super::super::Foundation:: UNICODE_STRING , countofrights : u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaRemoveAccountRights(policyhandle.into(), accountsid.into(), allrights.into(), ::core::mem::transmute(userrights.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), userrights.as_deref().map_or(0, |slice| slice.len() as _)).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -808,14 +808,14 @@ pub unsafe fn LsaRetrievePrivateData(policyhandle: P0, keyname: *const super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaRetrievePrivateData ( policyhandle : LSA_HANDLE , keyname : *const super::super::super::Foundation:: UNICODE_STRING , privatedata : *mut *mut super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaRetrievePrivateData ( policyhandle : LSA_HANDLE , keyname : *const super::super::super::Foundation:: UNICODE_STRING , privatedata : *mut *mut super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); LsaRetrievePrivateData(policyhandle.into(), keyname, privatedata).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsaSetCAPs(capdns: ::core::option::Option<&[super::super::super::Foundation::UNICODE_STRING]>, flags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaSetCAPs ( capdns : *const super::super::super::Foundation:: UNICODE_STRING , capdncount : u32 , flags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaSetCAPs ( capdns : *const super::super::super::Foundation:: UNICODE_STRING , capdncount : u32 , flags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); LsaSetCAPs(::core::mem::transmute(capdns.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), capdns.as_deref().map_or(0, |slice| slice.len() as _), flags).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -825,7 +825,7 @@ pub unsafe fn LsaSetDomainInformationPolicy(policyhandle: P0, informationcla where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaSetDomainInformationPolicy ( policyhandle : LSA_HANDLE , informationclass : POLICY_DOMAIN_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaSetDomainInformationPolicy ( policyhandle : LSA_HANDLE , informationclass : POLICY_DOMAIN_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaSetDomainInformationPolicy(policyhandle.into(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -836,7 +836,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaSetForestTrustInformation ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , foresttrustinfo : *const LSA_FOREST_TRUST_INFORMATION , checkonly : super::super::super::Foundation:: BOOLEAN , collisioninfo : *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaSetForestTrustInformation ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , foresttrustinfo : *const LSA_FOREST_TRUST_INFORMATION , checkonly : super::super::super::Foundation:: BOOLEAN , collisioninfo : *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION ) -> super::super::super::Foundation:: NTSTATUS ); LsaSetForestTrustInformation(policyhandle.into(), trusteddomainname, foresttrustinfo, checkonly.into(), collisioninfo).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -846,7 +846,7 @@ pub unsafe fn LsaSetInformationPolicy(policyhandle: P0, informationclass: PO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaSetInformationPolicy ( policyhandle : LSA_HANDLE , informationclass : POLICY_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaSetInformationPolicy ( policyhandle : LSA_HANDLE , informationclass : POLICY_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaSetInformationPolicy(policyhandle.into(), informationclass, buffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -856,7 +856,7 @@ pub unsafe fn LsaSetTrustedDomainInfoByName(policyhandle: P0, trusteddomainn where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaSetTrustedDomainInfoByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaSetTrustedDomainInfoByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaSetTrustedDomainInfoByName(policyhandle.into(), trusteddomainname, informationclass, buffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -867,7 +867,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaSetTrustedDomainInformation ( policyhandle : LSA_HANDLE , trusteddomainsid : super::super::super::Foundation:: PSID , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaSetTrustedDomainInformation ( policyhandle : LSA_HANDLE , trusteddomainsid : super::super::super::Foundation:: PSID , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); LsaSetTrustedDomainInformation(policyhandle.into(), trusteddomainsid.into(), informationclass, buffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -877,7 +877,7 @@ pub unsafe fn LsaStorePrivateData(policyhandle: P0, keyname: *const super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LsaStorePrivateData ( policyhandle : LSA_HANDLE , keyname : *const super::super::super::Foundation:: UNICODE_STRING , privatedata : *const super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LsaStorePrivateData ( policyhandle : LSA_HANDLE , keyname : *const super::super::super::Foundation:: UNICODE_STRING , privatedata : *const super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); LsaStorePrivateData(policyhandle.into(), keyname, ::core::mem::transmute(privatedata.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -887,77 +887,77 @@ pub unsafe fn LsaUnregisterPolicyChangeNotification(informationclass: POLICY where P0: ::std::convert::Into, { - ::windows::core::link ! ( "secur32.dll""system" fn LsaUnregisterPolicyChangeNotification ( informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS , notificationeventhandle : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "secur32.dll""system" fn LsaUnregisterPolicyChangeNotification ( informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS , notificationeventhandle : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); LsaUnregisterPolicyChangeNotification(informationclass, notificationeventhandle.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn MakeSignature(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn MakeSignature ( phcontext : *const super::super::Credentials:: SecHandle , fqop : u32 , pmessage : *const SecBufferDesc , messageseqno : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn MakeSignature ( phcontext : *const super::super::Credentials:: SecHandle , fqop : u32 , pmessage : *const SecBufferDesc , messageseqno : u32 ) -> :: windows::core::HRESULT ); MakeSignature(phcontext, fqop, pmessage, messageseqno).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QueryContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn QueryContextAttributesA ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn QueryContextAttributesA ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); QueryContextAttributesA(phcontext, ulattribute, pbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QueryContextAttributesExA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sspicli.dll""system" fn QueryContextAttributesExA ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sspicli.dll""system" fn QueryContextAttributesExA ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); QueryContextAttributesExA(phcontext, ulattribute, pbuffer, cbbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QueryContextAttributesExW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sspicli.dll""system" fn QueryContextAttributesExW ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sspicli.dll""system" fn QueryContextAttributesExW ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); QueryContextAttributesExW(phcontext, ulattribute, pbuffer, cbbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QueryContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn QueryContextAttributesW ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn QueryContextAttributesW ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); QueryContextAttributesW(phcontext, ulattribute, pbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QueryCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn QueryCredentialsAttributesA ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn QueryCredentialsAttributesA ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); QueryCredentialsAttributesA(phcredential, ulattribute, pbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QueryCredentialsAttributesExA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sspicli.dll""system" fn QueryCredentialsAttributesExA ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sspicli.dll""system" fn QueryCredentialsAttributesExA ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); QueryCredentialsAttributesExA(phcredential, ulattribute, pbuffer, cbbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QueryCredentialsAttributesExW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sspicli.dll""system" fn QueryCredentialsAttributesExW ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sspicli.dll""system" fn QueryCredentialsAttributesExW ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); QueryCredentialsAttributesExW(phcredential, ulattribute, pbuffer, cbbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QueryCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn QueryCredentialsAttributesW ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn QueryCredentialsAttributesW ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); QueryCredentialsAttributesW(phcredential, ulattribute, pbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn QuerySecurityContextToken(phcontext: *const super::super::Credentials::SecHandle, token: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn QuerySecurityContextToken ( phcontext : *const super::super::Credentials:: SecHandle , token : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn QuerySecurityContextToken ( phcontext : *const super::super::Credentials:: SecHandle , token : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); QuerySecurityContextToken(phcontext, token).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -966,7 +966,7 @@ pub unsafe fn QuerySecurityPackageInfoA(pszpackagename: P0) -> ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn QuerySecurityPackageInfoA ( pszpackagename : :: windows::core::PCSTR , pppackageinfo : *mut *mut SecPkgInfoA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn QuerySecurityPackageInfoA ( pszpackagename : :: windows::core::PCSTR , pppackageinfo : *mut *mut SecPkgInfoA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut SecPkgInfoA>(); QuerySecurityPackageInfoA(pszpackagename.into().abi(), &mut result__).from_abi(result__) } @@ -976,7 +976,7 @@ pub unsafe fn QuerySecurityPackageInfoW(pszpackagename: P0) -> ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn QuerySecurityPackageInfoW ( pszpackagename : :: windows::core::PCWSTR , pppackageinfo : *mut *mut SecPkgInfoW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn QuerySecurityPackageInfoW ( pszpackagename : :: windows::core::PCWSTR , pppackageinfo : *mut *mut SecPkgInfoW ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut SecPkgInfoW>(); QuerySecurityPackageInfoW(pszpackagename.into().abi(), &mut result__).from_abi(result__) } @@ -984,7 +984,7 @@ where #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn RevertSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn RevertSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn RevertSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows::core::HRESULT ); RevertSecurityContext(phcontext).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -995,7 +995,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slcext.dll""system" fn SLAcquireGenuineTicket ( ppticketblob : *mut *mut ::core::ffi::c_void , pcbticketblob : *mut u32 , pwsztemplateid : :: windows::core::PCWSTR , pwszserverurl : :: windows::core::PCWSTR , pwszclienttoken : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slcext.dll""system" fn SLAcquireGenuineTicket ( ppticketblob : *mut *mut ::core::ffi::c_void , pcbticketblob : *mut u32 , pwsztemplateid : :: windows::core::PCWSTR , pwszserverurl : :: windows::core::PCWSTR , pwszclienttoken : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SLAcquireGenuineTicket(ppticketblob, pcbticketblob, pwsztemplateid.into().abi(), pwszserverurl.into().abi(), pwszclienttoken.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1004,13 +1004,13 @@ pub unsafe fn SLActivateProduct(hslc: *const ::core::ffi::c_void, pproductsk where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slcext.dll""system" fn SLActivateProduct ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , cbappspecificdata : u32 , pvappspecificdata : *const ::core::ffi::c_void , pactivationinfo : *const SL_ACTIVATION_INFO_HEADER , pwszproxyserver : :: windows::core::PCWSTR , wproxyport : u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slcext.dll""system" fn SLActivateProduct ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , cbappspecificdata : u32 , pvappspecificdata : *const ::core::ffi::c_void , pactivationinfo : *const SL_ACTIVATION_INFO_HEADER , pwszproxyserver : :: windows::core::PCWSTR , wproxyport : u16 ) -> :: windows::core::HRESULT ); SLActivateProduct(hslc, pproductskuid, cbappspecificdata, ::core::mem::transmute(pvappspecificdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pactivationinfo.unwrap_or(::std::ptr::null())), pwszproxyserver.into().abi(), wproxyport).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLClose(hslc: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slc.dll""system" fn SLClose ( hslc : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLClose ( hslc : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SLClose(hslc).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1019,7 +1019,7 @@ pub unsafe fn SLConsumeRight(hslc: *const ::core::ffi::c_void, pappid: *cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLConsumeRight ( hslc : *const ::core::ffi::c_void , pappid : *const :: windows::core::GUID , pproductskuid : *const :: windows::core::GUID , pwszrightname : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLConsumeRight ( hslc : *const ::core::ffi::c_void , pappid : *const :: windows::core::GUID , pproductskuid : *const :: windows::core::GUID , pwszrightname : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SLConsumeRight(hslc, pappid, ::core::mem::transmute(pproductskuid.unwrap_or(::std::ptr::null())), pwszrightname.into().abi(), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1029,7 +1029,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLDepositOfflineConfirmationId ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pwszinstallationid : :: windows::core::PCWSTR , pwszconfirmationid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLDepositOfflineConfirmationId ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pwszinstallationid : :: windows::core::PCWSTR , pwszconfirmationid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SLDepositOfflineConfirmationId(hslc, pproductskuid, pwszinstallationid.into().abi(), pwszconfirmationid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1039,7 +1039,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLDepositOfflineConfirmationIdEx ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pactivationinfo : *const SL_ACTIVATION_INFO_HEADER , pwszinstallationid : :: windows::core::PCWSTR , pwszconfirmationid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLDepositOfflineConfirmationIdEx ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pactivationinfo : *const SL_ACTIVATION_INFO_HEADER , pwszinstallationid : :: windows::core::PCWSTR , pwszconfirmationid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SLDepositOfflineConfirmationIdEx(hslc, ::core::mem::transmute(pproductskuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pactivationinfo.unwrap_or(::std::ptr::null())), pwszinstallationid.into().abi(), pwszconfirmationid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1048,20 +1048,20 @@ pub unsafe fn SLFireEvent(hslc: *const ::core::ffi::c_void, pwszeventid: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLFireEvent ( hslc : *const ::core::ffi::c_void , pwszeventid : :: windows::core::PCWSTR , papplicationid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLFireEvent ( hslc : *const ::core::ffi::c_void , pwszeventid : :: windows::core::PCWSTR , papplicationid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); SLFireEvent(hslc, pwszeventid.into().abi(), papplicationid).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLGenerateOfflineInstallationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "slc.dll""system" fn SLGenerateOfflineInstallationId ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , ppwszinstallationid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGenerateOfflineInstallationId ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , ppwszinstallationid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SLGenerateOfflineInstallationId(hslc, pproductskuid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLGenerateOfflineInstallationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: ::core::option::Option<*const ::windows::core::GUID>, pactivationinfo: ::core::option::Option<*const SL_ACTIVATION_INFO_HEADER>) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "slc.dll""system" fn SLGenerateOfflineInstallationIdEx ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pactivationinfo : *const SL_ACTIVATION_INFO_HEADER , ppwszinstallationid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGenerateOfflineInstallationIdEx ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pactivationinfo : *const SL_ACTIVATION_INFO_HEADER , ppwszinstallationid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SLGenerateOfflineInstallationIdEx(hslc, ::core::mem::transmute(pproductskuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pactivationinfo.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -1071,7 +1071,7 @@ pub unsafe fn SLGetApplicationInformation(hslc: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetApplicationInformation ( hslc : *const ::core::ffi::c_void , papplicationid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetApplicationInformation ( hslc : *const ::core::ffi::c_void , papplicationid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetApplicationInformation(hslc, papplicationid, pwszvaluename.into().abi(), ::core::mem::transmute(pedatatype.unwrap_or(::std::ptr::null_mut())), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1080,25 +1080,25 @@ pub unsafe fn SLGetGenuineInformation(pqueryid: *const ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetGenuineInformation ( pqueryid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetGenuineInformation ( pqueryid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetGenuineInformation(pqueryid, pwszvaluename.into().abi(), ::core::mem::transmute(pedatatype.unwrap_or(::std::ptr::null_mut())), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLGetInstalledProductKeyIds(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows::core::GUID, pnproductkeyids: *mut u32, ppproductkeyids: *mut *mut ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slc.dll""system" fn SLGetInstalledProductKeyIds ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pnproductkeyids : *mut u32 , ppproductkeyids : *mut *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetInstalledProductKeyIds ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pnproductkeyids : *mut u32 , ppproductkeyids : *mut *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); SLGetInstalledProductKeyIds(hslc, pproductskuid, pnproductkeyids, ppproductkeyids).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLGetLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows::core::GUID, pcblicensefile: *mut u32, ppblicensefile: *mut *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slc.dll""system" fn SLGetLicense ( hslc : *const ::core::ffi::c_void , plicensefileid : *const :: windows::core::GUID , pcblicensefile : *mut u32 , ppblicensefile : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetLicense ( hslc : *const ::core::ffi::c_void , plicensefileid : *const :: windows::core::GUID , pcblicensefile : *mut u32 , ppblicensefile : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetLicense(hslc, plicensefileid, pcblicensefile, ppblicensefile).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLGetLicenseFileId(hslc: *const ::core::ffi::c_void, pblicenseblob: &[u8]) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "slc.dll""system" fn SLGetLicenseFileId ( hslc : *const ::core::ffi::c_void , cblicenseblob : u32 , pblicenseblob : *const u8 , plicensefileid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetLicenseFileId ( hslc : *const ::core::ffi::c_void , cblicenseblob : u32 , pblicenseblob : *const u8 , plicensefileid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); SLGetLicenseFileId(hslc, pblicenseblob.len() as _, ::core::mem::transmute(pblicenseblob.as_ptr()), &mut result__).from_abi(result__) } @@ -1108,7 +1108,7 @@ pub unsafe fn SLGetLicenseInformation(hslc: *const ::core::ffi::c_void, psll where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetLicenseInformation ( hslc : *const ::core::ffi::c_void , psllicenseid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetLicenseInformation ( hslc : *const ::core::ffi::c_void , psllicenseid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetLicenseInformation(hslc, psllicenseid, pwszvaluename.into().abi(), ::core::mem::transmute(pedatatype.unwrap_or(::std::ptr::null_mut())), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1117,7 +1117,7 @@ pub unsafe fn SLGetLicensingStatusInformation(hslc: *const ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetLicensingStatusInformation ( hslc : *const ::core::ffi::c_void , pappid : *const :: windows::core::GUID , pproductskuid : *const :: windows::core::GUID , pwszrightname : :: windows::core::PCWSTR , pnstatuscount : *mut u32 , pplicensingstatus : *mut *mut SL_LICENSING_STATUS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetLicensingStatusInformation ( hslc : *const ::core::ffi::c_void , pappid : *const :: windows::core::GUID , pproductskuid : *const :: windows::core::GUID , pwszrightname : :: windows::core::PCWSTR , pnstatuscount : *mut u32 , pplicensingstatus : *mut *mut SL_LICENSING_STATUS ) -> :: windows::core::HRESULT ); SLGetLicensingStatusInformation(hslc, ::core::mem::transmute(pappid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pproductskuid.unwrap_or(::std::ptr::null())), pwszrightname.into().abi(), pnstatuscount, pplicensingstatus).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1127,7 +1127,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetPKeyId ( hslc : *const ::core::ffi::c_void , pwszpkeyalgorithm : :: windows::core::PCWSTR , pwszpkeystring : :: windows::core::PCWSTR , cbpkeyspecificdata : u32 , pbpkeyspecificdata : *const u8 , ppkeyid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetPKeyId ( hslc : *const ::core::ffi::c_void , pwszpkeyalgorithm : :: windows::core::PCWSTR , pwszpkeystring : :: windows::core::PCWSTR , cbpkeyspecificdata : u32 , pbpkeyspecificdata : *const u8 , ppkeyid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); SLGetPKeyId(hslc, pwszpkeyalgorithm.into().abi(), pwszpkeystring.into().abi(), pbpkeyspecificdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbpkeyspecificdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } @@ -1137,7 +1137,7 @@ pub unsafe fn SLGetPKeyInformation(hslc: *const ::core::ffi::c_void, ppkeyid where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetPKeyInformation ( hslc : *const ::core::ffi::c_void , ppkeyid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetPKeyInformation ( hslc : *const ::core::ffi::c_void , ppkeyid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetPKeyInformation(hslc, ppkeyid, pwszvaluename.into().abi(), ::core::mem::transmute(pedatatype.unwrap_or(::std::ptr::null_mut())), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1146,7 +1146,7 @@ pub unsafe fn SLGetPolicyInformation(hslc: *const ::core::ffi::c_void, pwszv where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetPolicyInformation ( hslc : *const ::core::ffi::c_void , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetPolicyInformation ( hslc : *const ::core::ffi::c_void , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetPolicyInformation(hslc, pwszvaluename.into().abi(), ::core::mem::transmute(pedatatype.unwrap_or(::std::ptr::null_mut())), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1155,7 +1155,7 @@ pub unsafe fn SLGetPolicyInformationDWORD(hslc: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetPolicyInformationDWORD ( hslc : *const ::core::ffi::c_void , pwszvaluename : :: windows::core::PCWSTR , pdwvalue : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetPolicyInformationDWORD ( hslc : *const ::core::ffi::c_void , pwszvaluename : :: windows::core::PCWSTR , pdwvalue : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SLGetPolicyInformationDWORD(hslc, pwszvaluename.into().abi(), &mut result__).from_abi(result__) } @@ -1165,7 +1165,7 @@ pub unsafe fn SLGetProductSkuInformation(hslc: *const ::core::ffi::c_void, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetProductSkuInformation ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetProductSkuInformation ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetProductSkuInformation(hslc, pproductskuid, pwszvaluename.into().abi(), ::core::mem::transmute(pedatatype.unwrap_or(::std::ptr::null_mut())), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1174,14 +1174,14 @@ pub unsafe fn SLGetReferralInformation(hslc: *const ::core::ffi::c_void, ere where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slcext.dll""system" fn SLGetReferralInformation ( hslc : *const ::core::ffi::c_void , ereferraltype : SLREFERRALTYPE , pskuorappid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slcext.dll""system" fn SLGetReferralInformation ( hslc : *const ::core::ffi::c_void , ereferraltype : SLREFERRALTYPE , pskuorappid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SLGetReferralInformation(hslc, ereferraltype, pskuorappid, pwszvaluename.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLGetSLIDList(hslc: *const ::core::ffi::c_void, equeryidtype: SLIDTYPE, pqueryid: ::core::option::Option<*const ::windows::core::GUID>, ereturnidtype: SLIDTYPE, pnreturnids: *mut u32, ppreturnids: *mut *mut ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slc.dll""system" fn SLGetSLIDList ( hslc : *const ::core::ffi::c_void , equeryidtype : SLIDTYPE , pqueryid : *const :: windows::core::GUID , ereturnidtype : SLIDTYPE , pnreturnids : *mut u32 , ppreturnids : *mut *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetSLIDList ( hslc : *const ::core::ffi::c_void , equeryidtype : SLIDTYPE , pqueryid : *const :: windows::core::GUID , ereturnidtype : SLIDTYPE , pnreturnids : *mut u32 , ppreturnids : *mut *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); SLGetSLIDList(hslc, equeryidtype, ::core::mem::transmute(pqueryid.unwrap_or(::std::ptr::null())), ereturnidtype, pnreturnids, ppreturnids).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1192,7 +1192,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slcext.dll""system" fn SLGetServerStatus ( pwszserverurl : :: windows::core::PCWSTR , pwszacquisitiontype : :: windows::core::PCWSTR , pwszproxyserver : :: windows::core::PCWSTR , wproxyport : u16 , phrstatus : *mut :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slcext.dll""system" fn SLGetServerStatus ( pwszserverurl : :: windows::core::PCWSTR , pwszacquisitiontype : :: windows::core::PCWSTR , pwszproxyserver : :: windows::core::PCWSTR , wproxyport : u16 , phrstatus : *mut :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HRESULT>(); SLGetServerStatus(pwszserverurl.into().abi(), pwszacquisitiontype.into().abi(), pwszproxyserver.into().abi(), wproxyport, &mut result__).from_abi(result__) } @@ -1202,7 +1202,7 @@ pub unsafe fn SLGetServiceInformation(hslc: *const ::core::ffi::c_void, pwsz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetServiceInformation ( hslc : *const ::core::ffi::c_void , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetServiceInformation ( hslc : *const ::core::ffi::c_void , pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetServiceInformation(hslc, pwszvaluename.into().abi(), ::core::mem::transmute(pedatatype.unwrap_or(::std::ptr::null_mut())), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1211,7 +1211,7 @@ pub unsafe fn SLGetWindowsInformation(pwszvaluename: P0, pedatatype: ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetWindowsInformation ( pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetWindowsInformation ( pwszvaluename : :: windows::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows::core::HRESULT ); SLGetWindowsInformation(pwszvaluename.into().abi(), ::core::mem::transmute(pedatatype.unwrap_or(::std::ptr::null_mut())), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1220,14 +1220,14 @@ pub unsafe fn SLGetWindowsInformationDWORD(pwszvaluename: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLGetWindowsInformationDWORD ( pwszvaluename : :: windows::core::PCWSTR , pdwvalue : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLGetWindowsInformationDWORD ( pwszvaluename : :: windows::core::PCWSTR , pdwvalue : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SLGetWindowsInformationDWORD(pwszvaluename.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLInstallLicense(hslc: *const ::core::ffi::c_void, pblicenseblob: &[u8]) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "slc.dll""system" fn SLInstallLicense ( hslc : *const ::core::ffi::c_void , cblicenseblob : u32 , pblicenseblob : *const u8 , plicensefileid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLInstallLicense ( hslc : *const ::core::ffi::c_void , cblicenseblob : u32 , pblicenseblob : *const u8 , plicensefileid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); SLInstallLicense(hslc, pblicenseblob.len() as _, ::core::mem::transmute(pblicenseblob.as_ptr()), &mut result__).from_abi(result__) } @@ -1238,20 +1238,20 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLInstallProofOfPurchase ( hslc : *const ::core::ffi::c_void , pwszpkeyalgorithm : :: windows::core::PCWSTR , pwszpkeystring : :: windows::core::PCWSTR , cbpkeyspecificdata : u32 , pbpkeyspecificdata : *const u8 , ppkeyid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLInstallProofOfPurchase ( hslc : *const ::core::ffi::c_void , pwszpkeyalgorithm : :: windows::core::PCWSTR , pwszpkeystring : :: windows::core::PCWSTR , cbpkeyspecificdata : u32 , pbpkeyspecificdata : *const u8 , ppkeyid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); SLInstallProofOfPurchase(hslc, pwszpkeyalgorithm.into().abi(), pwszpkeystring.into().abi(), pbpkeyspecificdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbpkeyspecificdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLIsGenuineLocal(pappid: *const ::windows::core::GUID, pgenuinestate: *mut SL_GENUINE_STATE, puioptions: ::core::option::Option<*mut SL_NONGENUINE_UI_OPTIONS>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slwga.dll""system" fn SLIsGenuineLocal ( pappid : *const :: windows::core::GUID , pgenuinestate : *mut SL_GENUINE_STATE , puioptions : *mut SL_NONGENUINE_UI_OPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slwga.dll""system" fn SLIsGenuineLocal ( pappid : *const :: windows::core::GUID , pgenuinestate : *mut SL_GENUINE_STATE , puioptions : *mut SL_NONGENUINE_UI_OPTIONS ) -> :: windows::core::HRESULT ); SLIsGenuineLocal(pappid, pgenuinestate, ::core::mem::transmute(puioptions.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLOpen(phslc: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slc.dll""system" fn SLOpen ( phslc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLOpen ( phslc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SLOpen(phslc).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1260,7 +1260,7 @@ pub unsafe fn SLQueryLicenseValueFromApp(valuename: P0, valuetype: ::core::o where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-slapi-l1-1-0.dll""system" fn SLQueryLicenseValueFromApp ( valuename : :: windows::core::PCWSTR , valuetype : *mut u32 , databuffer : *mut ::core::ffi::c_void , datasize : u32 , resultdatasize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-slapi-l1-1-0.dll""system" fn SLQueryLicenseValueFromApp ( valuename : :: windows::core::PCWSTR , valuetype : *mut u32 , databuffer : *mut ::core::ffi::c_void , datasize : u32 , resultdatasize : *mut u32 ) -> :: windows::core::HRESULT ); SLQueryLicenseValueFromApp(valuename.into().abi(), ::core::mem::transmute(valuetype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(databuffer.unwrap_or(::std::ptr::null_mut())), datasize, resultdatasize).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -1271,13 +1271,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "slc.dll""system" fn SLRegisterEvent ( hslc : *const ::core::ffi::c_void , pwszeventid : :: windows::core::PCWSTR , papplicationid : *const :: windows::core::GUID , hevent : super::super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLRegisterEvent ( hslc : *const ::core::ffi::c_void , pwszeventid : :: windows::core::PCWSTR , papplicationid : *const :: windows::core::GUID , hevent : super::super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); SLRegisterEvent(::core::mem::transmute(hslc.unwrap_or(::std::ptr::null())), pwszeventid.into().abi(), papplicationid, hevent.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLSetCurrentProductKey(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows::core::GUID, pproductkeyid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slc.dll""system" fn SLSetCurrentProductKey ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pproductkeyid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLSetCurrentProductKey ( hslc : *const ::core::ffi::c_void , pproductskuid : *const :: windows::core::GUID , pproductkeyid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); SLSetCurrentProductKey(hslc, pproductskuid, pproductkeyid).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1286,19 +1286,19 @@ pub unsafe fn SLSetGenuineInformation(pqueryid: *const ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "slc.dll""system" fn SLSetGenuineInformation ( pqueryid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , edatatype : SLDATATYPE , cbvalue : u32 , pbvalue : *const u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLSetGenuineInformation ( pqueryid : *const :: windows::core::GUID , pwszvaluename : :: windows::core::PCWSTR , edatatype : SLDATATYPE , cbvalue : u32 , pbvalue : *const u8 ) -> :: windows::core::HRESULT ); SLSetGenuineInformation(pqueryid, pwszvaluename.into().abi(), edatatype, pbvalue.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbvalue.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLUninstallLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slc.dll""system" fn SLUninstallLicense ( hslc : *const ::core::ffi::c_void , plicensefileid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLUninstallLicense ( hslc : *const ::core::ffi::c_void , plicensefileid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); SLUninstallLicense(hslc, plicensefileid).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SLUninstallProofOfPurchase(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "slc.dll""system" fn SLUninstallProofOfPurchase ( hslc : *const ::core::ffi::c_void , ppkeyid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLUninstallProofOfPurchase ( hslc : *const ::core::ffi::c_void , ppkeyid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); SLUninstallProofOfPurchase(hslc, ppkeyid).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -1309,33 +1309,33 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "slc.dll""system" fn SLUnregisterEvent ( hslc : *const ::core::ffi::c_void , pwszeventid : :: windows::core::PCWSTR , papplicationid : *const :: windows::core::GUID , hevent : super::super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "slc.dll""system" fn SLUnregisterEvent ( hslc : *const ::core::ffi::c_void , pwszeventid : :: windows::core::PCWSTR , papplicationid : *const :: windows::core::GUID , hevent : super::super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); SLUnregisterEvent(::core::mem::transmute(hslc.unwrap_or(::std::ptr::null())), pwszeventid.into().abi(), papplicationid, hevent.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn SaslAcceptSecurityContext(phcredential: ::core::option::Option<*const super::super::Credentials::SecHandle>, phcontext: ::core::option::Option<*const super::super::Credentials::SecHandle>, pinput: ::core::option::Option<*const SecBufferDesc>, fcontextreq: ASC_REQ_FLAGS, targetdatarep: u32, phnewcontext: ::core::option::Option<*mut super::super::Credentials::SecHandle>, poutput: ::core::option::Option<*mut SecBufferDesc>, pfcontextattr: *mut u32, ptsexpiry: ::core::option::Option<*mut i64>) -> ::windows::core::HRESULT { - ::windows::core::link ! ( "secur32.dll""system" fn SaslAcceptSecurityContext ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , pinput : *const SecBufferDesc , fcontextreq : ASC_REQ_FLAGS , targetdatarep : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslAcceptSecurityContext ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , pinput : *const SecBufferDesc , fcontextreq : ASC_REQ_FLAGS , targetdatarep : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); SaslAcceptSecurityContext(::core::mem::transmute(phcredential.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pinput.unwrap_or(::std::ptr::null())), fcontextreq, targetdatarep, ::core::mem::transmute(phnewcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poutput.unwrap_or(::std::ptr::null_mut())), pfcontextattr, ::core::mem::transmute(ptsexpiry.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SaslEnumerateProfilesA(profilelist: *mut ::windows::core::PSTR, profilecount: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SaslEnumerateProfilesA ( profilelist : *mut :: windows::core::PSTR , profilecount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslEnumerateProfilesA ( profilelist : *mut :: windows::core::PSTR , profilecount : *mut u32 ) -> :: windows::core::HRESULT ); SaslEnumerateProfilesA(profilelist, profilecount).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SaslEnumerateProfilesW(profilelist: *mut ::windows::core::PWSTR, profilecount: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SaslEnumerateProfilesW ( profilelist : *mut :: windows::core::PWSTR , profilecount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslEnumerateProfilesW ( profilelist : *mut :: windows::core::PWSTR , profilecount : *mut u32 ) -> :: windows::core::HRESULT ); SaslEnumerateProfilesW(profilelist, profilecount).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn SaslGetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *mut ::core::ffi::c_void, size: u32, needed: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SaslGetContextOption ( contexthandle : *const super::super::Credentials:: SecHandle , option : u32 , value : *mut ::core::ffi::c_void , size : u32 , needed : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslGetContextOption ( contexthandle : *const super::super::Credentials:: SecHandle , option : u32 , value : *mut ::core::ffi::c_void , size : u32 , needed : *mut u32 ) -> :: windows::core::HRESULT ); SaslGetContextOption(contexthandle, option, value, size, ::core::mem::transmute(needed.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1344,7 +1344,7 @@ pub unsafe fn SaslGetProfilePackageA(profilename: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SaslGetProfilePackageA ( profilename : :: windows::core::PCSTR , packageinfo : *mut *mut SecPkgInfoA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslGetProfilePackageA ( profilename : :: windows::core::PCSTR , packageinfo : *mut *mut SecPkgInfoA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut SecPkgInfoA>(); SaslGetProfilePackageA(profilename.into().abi(), &mut result__).from_abi(result__) } @@ -1354,21 +1354,21 @@ pub unsafe fn SaslGetProfilePackageW(profilename: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SaslGetProfilePackageW ( profilename : :: windows::core::PCWSTR , packageinfo : *mut *mut SecPkgInfoW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslGetProfilePackageW ( profilename : :: windows::core::PCWSTR , packageinfo : *mut *mut SecPkgInfoW ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut SecPkgInfoW>(); SaslGetProfilePackageW(profilename.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SaslIdentifyPackageA(pinput: *const SecBufferDesc) -> ::windows::core::Result<*mut SecPkgInfoA> { - ::windows::core::link ! ( "secur32.dll""system" fn SaslIdentifyPackageA ( pinput : *const SecBufferDesc , packageinfo : *mut *mut SecPkgInfoA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslIdentifyPackageA ( pinput : *const SecBufferDesc , packageinfo : *mut *mut SecPkgInfoA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut SecPkgInfoA>(); SaslIdentifyPackageA(pinput, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SaslIdentifyPackageW(pinput: *const SecBufferDesc) -> ::windows::core::Result<*mut SecPkgInfoW> { - ::windows::core::link ! ( "secur32.dll""system" fn SaslIdentifyPackageW ( pinput : *const SecBufferDesc , packageinfo : *mut *mut SecPkgInfoW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslIdentifyPackageW ( pinput : *const SecBufferDesc , packageinfo : *mut *mut SecPkgInfoW ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut SecPkgInfoW>(); SaslIdentifyPackageW(pinput, &mut result__).from_abi(result__) } @@ -1379,7 +1379,7 @@ pub unsafe fn SaslInitializeSecurityContextA(phcredential: ::core::option::O where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SaslInitializeSecurityContextA ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , psztargetname : :: windows::core::PCSTR , fcontextreq : ISC_REQ_FLAGS , reserved1 : u32 , targetdatarep : u32 , pinput : *const SecBufferDesc , reserved2 : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslInitializeSecurityContextA ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , psztargetname : :: windows::core::PCSTR , fcontextreq : ISC_REQ_FLAGS , reserved1 : u32 , targetdatarep : u32 , pinput : *const SecBufferDesc , reserved2 : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); SaslInitializeSecurityContextA( ::core::mem::transmute(phcredential.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phcontext.unwrap_or(::std::ptr::null())), @@ -1402,7 +1402,7 @@ pub unsafe fn SaslInitializeSecurityContextW(phcredential: ::core::option::O where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SaslInitializeSecurityContextW ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , psztargetname : :: windows::core::PCWSTR , fcontextreq : ISC_REQ_FLAGS , reserved1 : u32 , targetdatarep : u32 , pinput : *const SecBufferDesc , reserved2 : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslInitializeSecurityContextW ( phcredential : *const super::super::Credentials:: SecHandle , phcontext : *const super::super::Credentials:: SecHandle , psztargetname : :: windows::core::PCWSTR , fcontextreq : ISC_REQ_FLAGS , reserved1 : u32 , targetdatarep : u32 , pinput : *const SecBufferDesc , reserved2 : u32 , phnewcontext : *mut super::super::Credentials:: SecHandle , poutput : *mut SecBufferDesc , pfcontextattr : *mut u32 , ptsexpiry : *mut i64 ) -> :: windows::core::HRESULT ); SaslInitializeSecurityContextW( ::core::mem::transmute(phcredential.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phcontext.unwrap_or(::std::ptr::null())), @@ -1422,7 +1422,7 @@ where #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn SaslSetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *const ::core::ffi::c_void, size: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SaslSetContextOption ( contexthandle : *const super::super::Credentials:: SecHandle , option : u32 , value : *const ::core::ffi::c_void , size : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SaslSetContextOption ( contexthandle : *const super::super::Credentials:: SecHandle , option : u32 , value : *const ::core::ffi::c_void , size : u32 ) -> :: windows::core::HRESULT ); SaslSetContextOption(contexthandle, option, value, size).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -1432,42 +1432,42 @@ pub unsafe fn SendSAS(asuser: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "sas.dll""system" fn SendSAS ( asuser : super::super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "sas.dll""system" fn SendSAS ( asuser : super::super::super::Foundation:: BOOL ) -> ( ) ); SendSAS(asuser.into()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn SetContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SetContextAttributesA ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *const ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SetContextAttributesA ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *const ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); SetContextAttributesA(phcontext, ulattribute, pbuffer, cbbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn SetContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SetContextAttributesW ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *const ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SetContextAttributesW ( phcontext : *const super::super::Credentials:: SecHandle , ulattribute : SECPKG_ATTR , pbuffer : *const ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); SetContextAttributesW(phcontext, ulattribute, pbuffer, cbbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn SetCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SetCredentialsAttributesA ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *const ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SetCredentialsAttributesA ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *const ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); SetCredentialsAttributesA(phcredential, ulattribute, pbuffer, cbbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn SetCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SetCredentialsAttributesW ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *const ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SetCredentialsAttributesW ( phcredential : *const super::super::Credentials:: SecHandle , ulattribute : u32 , pbuffer : *const ::core::ffi::c_void , cbbuffer : u32 ) -> :: windows::core::HRESULT ); SetCredentialsAttributesW(phcredential, ulattribute, pbuffer, cbbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SslCrackCertificate(pbcertificate: *mut u8, cbcertificate: u32, dwflags: u32, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "schannel.dll""system" fn SslCrackCertificate ( pbcertificate : *mut u8 , cbcertificate : u32 , dwflags : u32 , ppcertificate : *mut *mut X509Certificate ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "schannel.dll""system" fn SslCrackCertificate ( pbcertificate : *mut u8 , cbcertificate : u32 , dwflags : u32 , ppcertificate : *mut *mut X509Certificate ) -> super::super::super::Foundation:: BOOL ); SslCrackCertificate(pbcertificate, cbcertificate, dwflags, ppcertificate) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -1477,7 +1477,7 @@ pub unsafe fn SslEmptyCacheA(psztargetname: P0, dwflags: u32) -> super::supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "schannel.dll""system" fn SslEmptyCacheA ( psztargetname : :: windows::core::PCSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "schannel.dll""system" fn SslEmptyCacheA ( psztargetname : :: windows::core::PCSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); SslEmptyCacheA(psztargetname.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -1487,69 +1487,69 @@ pub unsafe fn SslEmptyCacheW(psztargetname: P0, dwflags: u32) -> super::supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "schannel.dll""system" fn SslEmptyCacheW ( psztargetname : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "schannel.dll""system" fn SslEmptyCacheW ( psztargetname : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); SslEmptyCacheW(psztargetname.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SslFreeCertificate(pcertificate: *mut X509Certificate) { - ::windows::core::link ! ( "schannel.dll""system" fn SslFreeCertificate ( pcertificate : *mut X509Certificate ) -> ( ) ); + ::windows::imp::link ! ( "schannel.dll""system" fn SslFreeCertificate ( pcertificate : *mut X509Certificate ) -> ( ) ); SslFreeCertificate(pcertificate) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SslGenerateRandomBits(prandomdata: *mut u8, crandomdata: i32) { - ::windows::core::link ! ( "schannel.dll""system" fn SslGenerateRandomBits ( prandomdata : *mut u8 , crandomdata : i32 ) -> ( ) ); + ::windows::imp::link ! ( "schannel.dll""system" fn SslGenerateRandomBits ( prandomdata : *mut u8 , crandomdata : i32 ) -> ( ) ); SslGenerateRandomBits(prandomdata, crandomdata) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SslGetExtensions(clienthello: &[u8], genericextensions: &mut [SCH_EXTENSION_DATA], bytestoread: *mut u32, flags: SchGetExtensionsOptions) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "schannel.dll""system" fn SslGetExtensions ( clienthello : *const u8 , clienthellobytesize : u32 , genericextensions : *mut SCH_EXTENSION_DATA , genericextensionscount : u8 , bytestoread : *mut u32 , flags : SchGetExtensionsOptions ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "schannel.dll""system" fn SslGetExtensions ( clienthello : *const u8 , clienthellobytesize : u32 , genericextensions : *mut SCH_EXTENSION_DATA , genericextensionscount : u8 , bytestoread : *mut u32 , flags : SchGetExtensionsOptions ) -> :: windows::core::HRESULT ); SslGetExtensions(::core::mem::transmute(clienthello.as_ptr()), clienthello.len() as _, ::core::mem::transmute(genericextensions.as_ptr()), genericextensions.len() as _, bytestoread, flags).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SslGetMaximumKeySize(reserved: u32) -> u32 { - ::windows::core::link ! ( "schannel.dll""system" fn SslGetMaximumKeySize ( reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "schannel.dll""system" fn SslGetMaximumKeySize ( reserved : u32 ) -> u32 ); SslGetMaximumKeySize(reserved) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SslGetServerIdentity(clienthello: &[u8], serveridentity: *mut *mut u8, serveridentitysize: *mut u32, flags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "schannel.dll""system" fn SslGetServerIdentity ( clienthello : *const u8 , clienthellosize : u32 , serveridentity : *mut *mut u8 , serveridentitysize : *mut u32 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "schannel.dll""system" fn SslGetServerIdentity ( clienthello : *const u8 , clienthellosize : u32 , serveridentity : *mut *mut u8 , serveridentitysize : *mut u32 , flags : u32 ) -> :: windows::core::HRESULT ); SslGetServerIdentity(::core::mem::transmute(clienthello.as_ptr()), clienthello.len() as _, serveridentity, serveridentitysize, flags).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SspiCompareAuthIdentities(authidentity1: ::core::option::Option<*const ::core::ffi::c_void>, authidentity2: ::core::option::Option<*const ::core::ffi::c_void>, samesupplieduser: ::core::option::Option<*mut super::super::super::Foundation::BOOLEAN>, samesuppliedidentity: ::core::option::Option<*mut super::super::super::Foundation::BOOLEAN>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SspiCompareAuthIdentities ( authidentity1 : *const ::core::ffi::c_void , authidentity2 : *const ::core::ffi::c_void , samesupplieduser : *mut super::super::super::Foundation:: BOOLEAN , samesuppliedidentity : *mut super::super::super::Foundation:: BOOLEAN ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiCompareAuthIdentities ( authidentity1 : *const ::core::ffi::c_void , authidentity2 : *const ::core::ffi::c_void , samesupplieduser : *mut super::super::super::Foundation:: BOOLEAN , samesuppliedidentity : *mut super::super::super::Foundation:: BOOLEAN ) -> :: windows::core::HRESULT ); SspiCompareAuthIdentities(::core::mem::transmute(authidentity1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(authidentity2.unwrap_or(::std::ptr::null())), ::core::mem::transmute(samesupplieduser.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(samesuppliedidentity.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiCopyAuthIdentity(authdata: *const ::core::ffi::c_void, authdatacopy: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SspiCopyAuthIdentity ( authdata : *const ::core::ffi::c_void , authdatacopy : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiCopyAuthIdentity ( authdata : *const ::core::ffi::c_void , authdatacopy : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiCopyAuthIdentity(authdata, authdatacopy).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiDecryptAuthIdentity(encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SspiDecryptAuthIdentity ( encryptedauthdata : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiDecryptAuthIdentity ( encryptedauthdata : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiDecryptAuthIdentity(encryptedauthdata).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiDecryptAuthIdentityEx(options: u32, encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sspicli.dll""system" fn SspiDecryptAuthIdentityEx ( options : u32 , encryptedauthdata : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sspicli.dll""system" fn SspiDecryptAuthIdentityEx ( options : u32 , encryptedauthdata : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiDecryptAuthIdentityEx(options, encryptedauthdata).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiEncodeAuthIdentityAsStrings(pauthidentity: *const ::core::ffi::c_void, ppszusername: *mut ::windows::core::PWSTR, ppszdomainname: *mut ::windows::core::PWSTR, ppszpackedcredentialsstring: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SspiEncodeAuthIdentityAsStrings ( pauthidentity : *const ::core::ffi::c_void , ppszusername : *mut :: windows::core::PWSTR , ppszdomainname : *mut :: windows::core::PWSTR , ppszpackedcredentialsstring : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiEncodeAuthIdentityAsStrings ( pauthidentity : *const ::core::ffi::c_void , ppszusername : *mut :: windows::core::PWSTR , ppszdomainname : *mut :: windows::core::PWSTR , ppszpackedcredentialsstring : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); SspiEncodeAuthIdentityAsStrings(pauthidentity, ppszusername, ppszdomainname, ::core::mem::transmute(ppszpackedcredentialsstring.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1560,19 +1560,19 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SspiEncodeStringsAsAuthIdentity ( pszusername : :: windows::core::PCWSTR , pszdomainname : :: windows::core::PCWSTR , pszpackedcredentialsstring : :: windows::core::PCWSTR , ppauthidentity : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiEncodeStringsAsAuthIdentity ( pszusername : :: windows::core::PCWSTR , pszdomainname : :: windows::core::PCWSTR , pszpackedcredentialsstring : :: windows::core::PCWSTR , ppauthidentity : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiEncodeStringsAsAuthIdentity(pszusername.into().abi(), pszdomainname.into().abi(), pszpackedcredentialsstring.into().abi(), ppauthidentity).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiEncryptAuthIdentity(authdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SspiEncryptAuthIdentity ( authdata : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiEncryptAuthIdentity ( authdata : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiEncryptAuthIdentity(authdata).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiEncryptAuthIdentityEx(options: u32, authdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "sspicli.dll""system" fn SspiEncryptAuthIdentityEx ( options : u32 , authdata : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "sspicli.dll""system" fn SspiEncryptAuthIdentityEx ( options : u32 , authdata : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiEncryptAuthIdentityEx(options, authdata).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1581,13 +1581,13 @@ pub unsafe fn SspiExcludePackage(authidentity: ::core::option::Option<*const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SspiExcludePackage ( authidentity : *const ::core::ffi::c_void , pszpackagename : :: windows::core::PCWSTR , ppnewauthidentity : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiExcludePackage ( authidentity : *const ::core::ffi::c_void , pszpackagename : :: windows::core::PCWSTR , ppnewauthidentity : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiExcludePackage(::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), pszpackagename.into().abi(), ppnewauthidentity).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiFreeAuthIdentity(authdata: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "secur32.dll""system" fn SspiFreeAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiFreeAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> ( ) ); SspiFreeAuthIdentity(::core::mem::transmute(authdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1596,7 +1596,7 @@ pub unsafe fn SspiGetTargetHostName(psztargetname: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SspiGetTargetHostName ( psztargetname : :: windows::core::PCWSTR , pszhostname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiGetTargetHostName ( psztargetname : :: windows::core::PCWSTR , pszhostname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SspiGetTargetHostName(psztargetname.into().abi(), &mut result__).from_abi(result__) } @@ -1604,26 +1604,26 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SspiIsAuthIdentityEncrypted(encryptedauthdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "secur32.dll""system" fn SspiIsAuthIdentityEncrypted ( encryptedauthdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiIsAuthIdentityEncrypted ( encryptedauthdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOLEAN ); SspiIsAuthIdentityEncrypted(encryptedauthdata) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SspiIsPromptingNeeded(errororntstatus: u32) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "credui.dll""system" fn SspiIsPromptingNeeded ( errororntstatus : u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "credui.dll""system" fn SspiIsPromptingNeeded ( errororntstatus : u32 ) -> super::super::super::Foundation:: BOOLEAN ); SspiIsPromptingNeeded(errororntstatus) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiLocalFree(databuffer: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "secur32.dll""system" fn SspiLocalFree ( databuffer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiLocalFree ( databuffer : *const ::core::ffi::c_void ) -> ( ) ); SspiLocalFree(::core::mem::transmute(databuffer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiMarshalAuthIdentity(authidentity: *const ::core::ffi::c_void, authidentitylength: *mut u32, authidentitybytearray: *mut *mut i8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SspiMarshalAuthIdentity ( authidentity : *const ::core::ffi::c_void , authidentitylength : *mut u32 , authidentitybytearray : *mut *mut i8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiMarshalAuthIdentity ( authidentity : *const ::core::ffi::c_void , authidentitylength : *mut u32 , authidentitybytearray : *mut *mut i8 ) -> :: windows::core::HRESULT ); SspiMarshalAuthIdentity(authidentity, authidentitylength, authidentitybytearray).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1632,7 +1632,7 @@ pub unsafe fn SspiPrepareForCredRead(authidentity: *const ::core::ffi::c_voi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SspiPrepareForCredRead ( authidentity : *const ::core::ffi::c_void , psztargetname : :: windows::core::PCWSTR , pcredmancredentialtype : *mut u32 , ppszcredmantargetname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiPrepareForCredRead ( authidentity : *const ::core::ffi::c_void , psztargetname : :: windows::core::PCWSTR , pcredmancredentialtype : *mut u32 , ppszcredmantargetname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); SspiPrepareForCredRead(authidentity, psztargetname.into().abi(), pcredmancredentialtype, ppszcredmantargetname).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1641,7 +1641,7 @@ pub unsafe fn SspiPrepareForCredWrite(authidentity: *const ::core::ffi::c_vo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn SspiPrepareForCredWrite ( authidentity : *const ::core::ffi::c_void , psztargetname : :: windows::core::PCWSTR , pcredmancredentialtype : *mut u32 , ppszcredmantargetname : *mut :: windows::core::PWSTR , ppszcredmanusername : *mut :: windows::core::PWSTR , ppcredentialblob : *mut *mut u8 , pcredentialblobsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiPrepareForCredWrite ( authidentity : *const ::core::ffi::c_void , psztargetname : :: windows::core::PCWSTR , pcredmancredentialtype : *mut u32 , ppszcredmantargetname : *mut :: windows::core::PWSTR , ppszcredmanusername : *mut :: windows::core::PWSTR , ppcredentialblob : *mut *mut u8 , pcredentialblobsize : *mut u32 ) -> :: windows::core::HRESULT ); SspiPrepareForCredWrite(authidentity, psztargetname.into().abi(), pcredmancredentialtype, ppszcredmantargetname, ppszcredmanusername, ppcredentialblob, pcredentialblobsize).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1651,7 +1651,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn SspiPromptForCredentialsA ( psztargetname : :: windows::core::PCSTR , puiinfo : *const ::core::ffi::c_void , dwautherror : u32 , pszpackage : :: windows::core::PCSTR , pinputauthidentity : *const ::core::ffi::c_void , ppauthidentity : *mut *mut ::core::ffi::c_void , pfsave : *mut i32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn SspiPromptForCredentialsA ( psztargetname : :: windows::core::PCSTR , puiinfo : *const ::core::ffi::c_void , dwautherror : u32 , pszpackage : :: windows::core::PCSTR , pinputauthidentity : *const ::core::ffi::c_void , ppauthidentity : *mut *mut ::core::ffi::c_void , pfsave : *mut i32 , dwflags : u32 ) -> u32 ); SspiPromptForCredentialsA(psztargetname.into().abi(), ::core::mem::transmute(puiinfo.unwrap_or(::std::ptr::null())), dwautherror, pszpackage.into().abi(), ::core::mem::transmute(pinputauthidentity.unwrap_or(::std::ptr::null())), ppauthidentity, ::core::mem::transmute(pfsave.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1661,52 +1661,52 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn SspiPromptForCredentialsW ( psztargetname : :: windows::core::PCWSTR , puiinfo : *const ::core::ffi::c_void , dwautherror : u32 , pszpackage : :: windows::core::PCWSTR , pinputauthidentity : *const ::core::ffi::c_void , ppauthidentity : *mut *mut ::core::ffi::c_void , pfsave : *mut i32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn SspiPromptForCredentialsW ( psztargetname : :: windows::core::PCWSTR , puiinfo : *const ::core::ffi::c_void , dwautherror : u32 , pszpackage : :: windows::core::PCWSTR , pinputauthidentity : *const ::core::ffi::c_void , ppauthidentity : *mut *mut ::core::ffi::c_void , pfsave : *mut i32 , dwflags : u32 ) -> u32 ); SspiPromptForCredentialsW(psztargetname.into().abi(), ::core::mem::transmute(puiinfo.unwrap_or(::std::ptr::null())), dwautherror, pszpackage.into().abi(), ::core::mem::transmute(pinputauthidentity.unwrap_or(::std::ptr::null())), ppauthidentity, ::core::mem::transmute(pfsave.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiUnmarshalAuthIdentity(authidentitybytearray: &[u8], ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SspiUnmarshalAuthIdentity ( authidentitylength : u32 , authidentitybytearray : :: windows::core::PCSTR , ppauthidentity : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiUnmarshalAuthIdentity ( authidentitylength : u32 , authidentitybytearray : :: windows::core::PCSTR , ppauthidentity : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiUnmarshalAuthIdentity(authidentitybytearray.len() as _, ::core::mem::transmute(authidentitybytearray.as_ptr()), ppauthidentity).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiValidateAuthIdentity(authdata: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "secur32.dll""system" fn SspiValidateAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiValidateAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SspiValidateAuthIdentity(authdata).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn SspiZeroAuthIdentity(authdata: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "secur32.dll""system" fn SspiZeroAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "secur32.dll""system" fn SspiZeroAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> ( ) ); SspiZeroAuthIdentity(::core::mem::transmute(authdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemFunction036(randombuffer: *mut ::core::ffi::c_void, randombufferlength: u32) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn SystemFunction036 ( randombuffer : *mut ::core::ffi::c_void , randombufferlength : u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SystemFunction036 ( randombuffer : *mut ::core::ffi::c_void , randombufferlength : u32 ) -> super::super::super::Foundation:: BOOLEAN ); SystemFunction036(randombuffer, randombufferlength) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemFunction040(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advapi32.dll""system" fn SystemFunction040 ( memory : *mut ::core::ffi::c_void , memorysize : u32 , optionflags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SystemFunction040 ( memory : *mut ::core::ffi::c_void , memorysize : u32 , optionflags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); SystemFunction040(memory, memorysize, optionflags).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemFunction041(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advapi32.dll""system" fn SystemFunction041 ( memory : *mut ::core::ffi::c_void , memorysize : u32 , optionflags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SystemFunction041 ( memory : *mut ::core::ffi::c_void , memorysize : u32 , optionflags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); SystemFunction041(memory, memorysize, optionflags).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn TokenBindingDeleteAllBindings() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingDeleteAllBindings ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingDeleteAllBindings ( ) -> :: windows::core::HRESULT ); TokenBindingDeleteAllBindings().ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1715,7 +1715,7 @@ pub unsafe fn TokenBindingDeleteBinding(targeturl: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingDeleteBinding ( targeturl : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingDeleteBinding ( targeturl : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); TokenBindingDeleteBinding(targeturl.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1724,13 +1724,13 @@ pub unsafe fn TokenBindingGenerateBinding(keytype: TOKENBINDING_KEY_PARAMETE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingGenerateBinding ( keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , targeturl : :: windows::core::PCWSTR , bindingtype : TOKENBINDING_TYPE , tlsekm : *const ::core::ffi::c_void , tlsekmsize : u32 , extensionformat : TOKENBINDING_EXTENSION_FORMAT , extensiondata : *const ::core::ffi::c_void , tokenbinding : *mut *mut ::core::ffi::c_void , tokenbindingsize : *mut u32 , resultdata : *mut *mut TOKENBINDING_RESULT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingGenerateBinding ( keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , targeturl : :: windows::core::PCWSTR , bindingtype : TOKENBINDING_TYPE , tlsekm : *const ::core::ffi::c_void , tlsekmsize : u32 , extensionformat : TOKENBINDING_EXTENSION_FORMAT , extensiondata : *const ::core::ffi::c_void , tokenbinding : *mut *mut ::core::ffi::c_void , tokenbindingsize : *mut u32 , resultdata : *mut *mut TOKENBINDING_RESULT_DATA ) -> :: windows::core::HRESULT ); TokenBindingGenerateBinding(keytype, targeturl.into().abi(), bindingtype, tlsekm, tlsekmsize, extensionformat, extensiondata, tokenbinding, tokenbindingsize, ::core::mem::transmute(resultdata.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn TokenBindingGenerateID(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, publickey: *const ::core::ffi::c_void, publickeysize: u32) -> ::windows::core::Result<*mut TOKENBINDING_RESULT_DATA> { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingGenerateID ( keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , publickey : *const ::core::ffi::c_void , publickeysize : u32 , resultdata : *mut *mut TOKENBINDING_RESULT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingGenerateID ( keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , publickey : *const ::core::ffi::c_void , publickeysize : u32 , resultdata : *mut *mut TOKENBINDING_RESULT_DATA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut TOKENBINDING_RESULT_DATA>(); TokenBindingGenerateID(keytype, publickey, publickeysize, &mut result__).from_abi(result__) } @@ -1740,40 +1740,40 @@ pub unsafe fn TokenBindingGenerateIDForUri(keytype: TOKENBINDING_KEY_PARAMET where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingGenerateIDForUri ( keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , targeturi : :: windows::core::PCWSTR , resultdata : *mut *mut TOKENBINDING_RESULT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingGenerateIDForUri ( keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , targeturi : :: windows::core::PCWSTR , resultdata : *mut *mut TOKENBINDING_RESULT_DATA ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut TOKENBINDING_RESULT_DATA>(); TokenBindingGenerateIDForUri(keytype, targeturi.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn TokenBindingGenerateMessage(tokenbindings: *const *const ::core::ffi::c_void, tokenbindingssize: *const u32, tokenbindingscount: u32, tokenbindingmessage: *mut *mut ::core::ffi::c_void, tokenbindingmessagesize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingGenerateMessage ( tokenbindings : *const *const ::core::ffi::c_void , tokenbindingssize : *const u32 , tokenbindingscount : u32 , tokenbindingmessage : *mut *mut ::core::ffi::c_void , tokenbindingmessagesize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingGenerateMessage ( tokenbindings : *const *const ::core::ffi::c_void , tokenbindingssize : *const u32 , tokenbindingscount : u32 , tokenbindingmessage : *mut *mut ::core::ffi::c_void , tokenbindingmessagesize : *mut u32 ) -> :: windows::core::HRESULT ); TokenBindingGenerateMessage(tokenbindings, tokenbindingssize, tokenbindingscount, tokenbindingmessage, tokenbindingmessagesize).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn TokenBindingGetHighestSupportedVersion(majorversion: *mut u8, minorversion: *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingGetHighestSupportedVersion ( majorversion : *mut u8 , minorversion : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingGetHighestSupportedVersion ( majorversion : *mut u8 , minorversion : *mut u8 ) -> :: windows::core::HRESULT ); TokenBindingGetHighestSupportedVersion(majorversion, minorversion).ok() } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn TokenBindingGetKeyTypesClient() -> ::windows::core::Result<*mut TOKENBINDING_KEY_TYPES> { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingGetKeyTypesClient ( keytypes : *mut *mut TOKENBINDING_KEY_TYPES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingGetKeyTypesClient ( keytypes : *mut *mut TOKENBINDING_KEY_TYPES ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut TOKENBINDING_KEY_TYPES>(); TokenBindingGetKeyTypesClient(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn TokenBindingGetKeyTypesServer() -> ::windows::core::Result<*mut TOKENBINDING_KEY_TYPES> { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingGetKeyTypesServer ( keytypes : *mut *mut TOKENBINDING_KEY_TYPES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingGetKeyTypesServer ( keytypes : *mut *mut TOKENBINDING_KEY_TYPES ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut TOKENBINDING_KEY_TYPES>(); TokenBindingGetKeyTypesServer(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[inline] pub unsafe fn TokenBindingVerifyMessage(tokenbindingmessage: *const ::core::ffi::c_void, tokenbindingmessagesize: u32, keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32) -> ::windows::core::Result<*mut TOKENBINDING_RESULT_LIST> { - ::windows::core::link ! ( "tokenbinding.dll""system" fn TokenBindingVerifyMessage ( tokenbindingmessage : *const ::core::ffi::c_void , tokenbindingmessagesize : u32 , keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , tlsekm : *const ::core::ffi::c_void , tlsekmsize : u32 , resultlist : *mut *mut TOKENBINDING_RESULT_LIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tokenbinding.dll""system" fn TokenBindingVerifyMessage ( tokenbindingmessage : *const ::core::ffi::c_void , tokenbindingmessagesize : u32 , keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , tlsekm : *const ::core::ffi::c_void , tlsekmsize : u32 , resultlist : *mut *mut TOKENBINDING_RESULT_LIST ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut TOKENBINDING_RESULT_LIST>(); TokenBindingVerifyMessage(tokenbindingmessage, tokenbindingmessagesize, keytype, tlsekm, tlsekmsize, &mut result__).from_abi(result__) } @@ -1784,7 +1784,7 @@ pub unsafe fn TranslateNameA(lpaccountname: P0, accountnameformat: EXTENDED_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn TranslateNameA ( lpaccountname : :: windows::core::PCSTR , accountnameformat : EXTENDED_NAME_FORMAT , desirednameformat : EXTENDED_NAME_FORMAT , lptranslatedname : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "secur32.dll""system" fn TranslateNameA ( lpaccountname : :: windows::core::PCSTR , accountnameformat : EXTENDED_NAME_FORMAT , desirednameformat : EXTENDED_NAME_FORMAT , lptranslatedname : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); TranslateNameA(lpaccountname.into().abi(), accountnameformat, desirednameformat, ::core::mem::transmute(lptranslatedname), nsize) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -1794,14 +1794,14 @@ pub unsafe fn TranslateNameW(lpaccountname: P0, accountnameformat: EXTENDED_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "secur32.dll""system" fn TranslateNameW ( lpaccountname : :: windows::core::PCWSTR , accountnameformat : EXTENDED_NAME_FORMAT , desirednameformat : EXTENDED_NAME_FORMAT , lptranslatedname : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "secur32.dll""system" fn TranslateNameW ( lpaccountname : :: windows::core::PCWSTR , accountnameformat : EXTENDED_NAME_FORMAT , desirednameformat : EXTENDED_NAME_FORMAT , lptranslatedname : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); TranslateNameW(lpaccountname.into().abi(), accountnameformat, desirednameformat, ::core::mem::transmute(lptranslatedname), nsize) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] #[inline] pub unsafe fn VerifySignature(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "secur32.dll""system" fn VerifySignature ( phcontext : *const super::super::Credentials:: SecHandle , pmessage : *const SecBufferDesc , messageseqno : u32 , pfqop : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "secur32.dll""system" fn VerifySignature ( phcontext : *const super::super::Credentials:: SecHandle , pmessage : *const SecBufferDesc , messageseqno : u32 , pfqop : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VerifySignature(phcontext, pmessage, messageseqno, &mut result__).from_abi(result__) } @@ -1816,7 +1816,7 @@ impl ICcgDomainAuthCredentials { (::windows::core::Vtable::vtable(self).GetPasswordCredentials)(::windows::core::Vtable::as_raw(self), plugininput.into().abi(), domainname, username, password).ok() } } -::windows::core::interface_hierarchy!(ICcgDomainAuthCredentials, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICcgDomainAuthCredentials, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICcgDomainAuthCredentials { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs index 338cfed00d..cbf255ad7a 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs @@ -5,9 +5,9 @@ pub unsafe fn CreateSecurityPage(psi: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "aclui.dll""system" fn CreateSecurityPage ( psi : * mut::core::ffi::c_void ) -> super::super::super::UI::Controls:: HPROPSHEETPAGE ); + ::windows::imp::link ! ( "aclui.dll""system" fn CreateSecurityPage ( psi : * mut::core::ffi::c_void ) -> super::super::super::UI::Controls:: HPROPSHEETPAGE ); let result__ = CreateSecurityPage(psi.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "aclui.dll""system" fn EditSecurity ( hwndowner : super::super::super::Foundation:: HWND , psi : * mut::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "aclui.dll""system" fn EditSecurity ( hwndowner : super::super::super::Foundation:: HWND , psi : * mut::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); EditSecurity(hwndowner.into(), psi.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] @@ -28,7 +28,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "aclui.dll""system" fn EditSecurityAdvanced ( hwndowner : super::super::super::Foundation:: HWND , psi : * mut::core::ffi::c_void , usipage : SI_PAGE_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "aclui.dll""system" fn EditSecurityAdvanced ( hwndowner : super::super::super::Foundation:: HWND , psi : * mut::core::ffi::c_void , usipage : SI_PAGE_TYPE ) -> :: windows::core::HRESULT ); EditSecurityAdvanced(hwndowner.into(), psi.into().abi(), usipage).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] @@ -46,7 +46,7 @@ impl IEffectivePermission { (::windows::core::Vtable::vtable(self).GetEffectivePermission)(::windows::core::Vtable::as_raw(self), pguidobjecttype, pusersid.into(), pszservername.into().abi(), psd.into(), ppobjecttypelist, pcobjecttypelistlength, ppgrantedaccesslist, pcgrantedaccesslistlength).ok() } } -::windows::core::interface_hierarchy!(IEffectivePermission, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEffectivePermission, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEffectivePermission { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -126,7 +126,7 @@ impl IEffectivePermission2 { .ok() } } -::windows::core::interface_hierarchy!(IEffectivePermission2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEffectivePermission2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEffectivePermission2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -215,7 +215,7 @@ impl ISecurityInformation { (::windows::core::Vtable::vtable(self).PropertySheetPageCallback)(::windows::core::Vtable::as_raw(self), hwnd.into(), umsg, upage).ok() } } -::windows::core::interface_hierarchy!(ISecurityInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISecurityInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISecurityInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -275,7 +275,7 @@ impl ISecurityInformation2 { (::windows::core::Vtable::vtable(self).LookupSids)(::windows::core::Vtable::as_raw(self), csids, rgpsids, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISecurityInformation2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISecurityInformation2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISecurityInformation2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -328,7 +328,7 @@ impl ISecurityInformation3 { (::windows::core::Vtable::vtable(self).OpenElevatedEditor)(::windows::core::Vtable::as_raw(self), hwnd.into(), upage).ok() } } -::windows::core::interface_hierarchy!(ISecurityInformation3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISecurityInformation3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISecurityInformation3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -371,7 +371,7 @@ impl ISecurityInformation4 { (::windows::core::Vtable::vtable(self).GetSecondarySecurity)(::windows::core::Vtable::as_raw(self), psecurityobjects, psecurityobjectcount).ok() } } -::windows::core::interface_hierarchy!(ISecurityInformation4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISecurityInformation4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISecurityInformation4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -411,7 +411,7 @@ impl ISecurityObjectTypeInfo { (::windows::core::Vtable::vtable(self).GetInheritSource)(::windows::core::Vtable::as_raw(self), si, pacl, ppinheritarray).ok() } } -::windows::core::interface_hierarchy!(ISecurityObjectTypeInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISecurityObjectTypeInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISecurityObjectTypeInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs index f220706683..9541d53983 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -9,7 +9,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzAccessCheck ( flags : AUTHZ_ACCESS_CHECK_FLAGS , hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , prequest : *const AUTHZ_ACCESS_REQUEST , hauditevent : AUTHZ_AUDIT_EVENT_HANDLE , psecuritydescriptor : super:: PSECURITY_DESCRIPTOR , optionalsecuritydescriptorarray : *const super:: PSECURITY_DESCRIPTOR , optionalsecuritydescriptorcount : u32 , preply : *mut AUTHZ_ACCESS_REPLY , phaccesscheckresults : *mut isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzAccessCheck ( flags : AUTHZ_ACCESS_CHECK_FLAGS , hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , prequest : *const AUTHZ_ACCESS_REQUEST , hauditevent : AUTHZ_AUDIT_EVENT_HANDLE , psecuritydescriptor : super:: PSECURITY_DESCRIPTOR , optionalsecuritydescriptorarray : *const super:: PSECURITY_DESCRIPTOR , optionalsecuritydescriptorcount : u32 , preply : *mut AUTHZ_ACCESS_REPLY , phaccesscheckresults : *mut isize ) -> super::super::Foundation:: BOOL ); AuthzAccessCheck(flags, hauthzclientcontext.into(), prequest, hauditevent.into(), psecuritydescriptor.into(), ::core::mem::transmute(optionalsecuritydescriptorarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), optionalsecuritydescriptorarray.as_deref().map_or(0, |slice| slice.len() as _), preply, ::core::mem::transmute(phaccesscheckresults.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -19,7 +19,7 @@ pub unsafe fn AuthzAddSidsToContext(hauthzclientcontext: P0, sids: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzAddSidsToContext ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , sids : *const super:: SID_AND_ATTRIBUTES , sidcount : u32 , restrictedsids : *const super:: SID_AND_ATTRIBUTES , restrictedsidcount : u32 , phnewauthzclientcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzAddSidsToContext ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , sids : *const super:: SID_AND_ATTRIBUTES , sidcount : u32 , restrictedsids : *const super:: SID_AND_ATTRIBUTES , restrictedsidcount : u32 , phnewauthzclientcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzAddSidsToContext(hauthzclientcontext.into(), ::core::mem::transmute(sids.unwrap_or(::std::ptr::null())), sidcount, ::core::mem::transmute(restrictedsids.unwrap_or(::std::ptr::null())), restrictedsidcount, phnewauthzclientcontext) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -30,14 +30,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzCachedAccessCheck ( flags : u32 , haccesscheckresults : AUTHZ_ACCESS_CHECK_RESULTS_HANDLE , prequest : *const AUTHZ_ACCESS_REQUEST , hauditevent : AUTHZ_AUDIT_EVENT_HANDLE , preply : *mut AUTHZ_ACCESS_REPLY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzCachedAccessCheck ( flags : u32 , haccesscheckresults : AUTHZ_ACCESS_CHECK_RESULTS_HANDLE , prequest : *const AUTHZ_ACCESS_REQUEST , hauditevent : AUTHZ_AUDIT_EVENT_HANDLE , preply : *mut AUTHZ_ACCESS_REPLY ) -> super::super::Foundation:: BOOL ); AuthzCachedAccessCheck(flags, haccesscheckresults.into(), prequest, hauditevent.into(), preply) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuthzEnumerateSecurityEventSources(dwflags: u32, buffer: *mut AUTHZ_SOURCE_SCHEMA_REGISTRATION, pdwcount: *mut u32, pdwlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "authz.dll""system" fn AuthzEnumerateSecurityEventSources ( dwflags : u32 , buffer : *mut AUTHZ_SOURCE_SCHEMA_REGISTRATION , pdwcount : *mut u32 , pdwlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzEnumerateSecurityEventSources ( dwflags : u32 , buffer : *mut AUTHZ_SOURCE_SCHEMA_REGISTRATION , pdwcount : *mut u32 , pdwlength : *mut u32 ) -> super::super::Foundation:: BOOL ); AuthzEnumerateSecurityEventSources(dwflags, buffer, pdwcount, pdwlength) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -48,7 +48,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzEvaluateSacl ( authzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , prequest : *const AUTHZ_ACCESS_REQUEST , sacl : *const super:: ACL , grantedaccess : u32 , accessgranted : super::super::Foundation:: BOOL , pbgenerateaudit : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzEvaluateSacl ( authzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , prequest : *const AUTHZ_ACCESS_REQUEST , sacl : *const super:: ACL , grantedaccess : u32 , accessgranted : super::super::Foundation:: BOOL , pbgenerateaudit : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); AuthzEvaluateSacl(authzclientcontext.into(), prequest, sacl, grantedaccess, accessgranted.into(), pbgenerateaudit) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -58,14 +58,14 @@ pub unsafe fn AuthzFreeAuditEvent(hauditevent: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzFreeAuditEvent ( hauditevent : AUTHZ_AUDIT_EVENT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzFreeAuditEvent ( hauditevent : AUTHZ_AUDIT_EVENT_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzFreeAuditEvent(hauditevent.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuthzFreeCentralAccessPolicyCache() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "authz.dll""system" fn AuthzFreeCentralAccessPolicyCache ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzFreeCentralAccessPolicyCache ( ) -> super::super::Foundation:: BOOL ); AuthzFreeCentralAccessPolicyCache() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -75,7 +75,7 @@ pub unsafe fn AuthzFreeContext(hauthzclientcontext: P0) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzFreeContext ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzFreeContext ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzFreeContext(hauthzclientcontext.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -85,7 +85,7 @@ pub unsafe fn AuthzFreeHandle(haccesscheckresults: P0) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzFreeHandle ( haccesscheckresults : AUTHZ_ACCESS_CHECK_RESULTS_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzFreeHandle ( haccesscheckresults : AUTHZ_ACCESS_CHECK_RESULTS_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzFreeHandle(haccesscheckresults.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -95,7 +95,7 @@ pub unsafe fn AuthzFreeResourceManager(hauthzresourcemanager: P0) -> super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzFreeResourceManager ( hauthzresourcemanager : AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzFreeResourceManager ( hauthzresourcemanager : AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzFreeResourceManager(hauthzresourcemanager.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -105,7 +105,7 @@ pub unsafe fn AuthzGetInformationFromContext(hauthzclientcontext: P0, infocl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzGetInformationFromContext ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , infoclass : AUTHZ_CONTEXT_INFORMATION_CLASS , buffersize : u32 , psizerequired : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzGetInformationFromContext ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , infoclass : AUTHZ_CONTEXT_INFORMATION_CLASS , buffersize : u32 , psizerequired : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); AuthzGetInformationFromContext(hauthzclientcontext.into(), infoclass, buffersize, psizerequired, buffer) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -116,7 +116,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzInitializeCompoundContext ( usercontext : AUTHZ_CLIENT_CONTEXT_HANDLE , devicecontext : AUTHZ_CLIENT_CONTEXT_HANDLE , phcompoundcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzInitializeCompoundContext ( usercontext : AUTHZ_CLIENT_CONTEXT_HANDLE , devicecontext : AUTHZ_CLIENT_CONTEXT_HANDLE , phcompoundcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzInitializeCompoundContext(usercontext.into(), devicecontext.into(), phcompoundcontext) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -126,7 +126,7 @@ pub unsafe fn AuthzInitializeContextFromAuthzContext(flags: u32, hauthzclien where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzInitializeContextFromAuthzContext ( flags : u32 , hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , pexpirationtime : *const i64 , identifier : super::super::Foundation:: LUID , dynamicgroupargs : *const ::core::ffi::c_void , phnewauthzclientcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzInitializeContextFromAuthzContext ( flags : u32 , hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , pexpirationtime : *const i64 , identifier : super::super::Foundation:: LUID , dynamicgroupargs : *const ::core::ffi::c_void , phnewauthzclientcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzInitializeContextFromAuthzContext(flags, hauthzclientcontext.into(), ::core::mem::transmute(pexpirationtime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(identifier), dynamicgroupargs, phnewauthzclientcontext) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -137,7 +137,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzInitializeContextFromSid ( flags : u32 , usersid : super::super::Foundation:: PSID , hauthzresourcemanager : AUTHZ_RESOURCE_MANAGER_HANDLE , pexpirationtime : *const i64 , identifier : super::super::Foundation:: LUID , dynamicgroupargs : *const ::core::ffi::c_void , phauthzclientcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzInitializeContextFromSid ( flags : u32 , usersid : super::super::Foundation:: PSID , hauthzresourcemanager : AUTHZ_RESOURCE_MANAGER_HANDLE , pexpirationtime : *const i64 , identifier : super::super::Foundation:: LUID , dynamicgroupargs : *const ::core::ffi::c_void , phauthzclientcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzInitializeContextFromSid(flags, usersid.into(), hauthzresourcemanager.into(), ::core::mem::transmute(pexpirationtime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(identifier), ::core::mem::transmute(dynamicgroupargs.unwrap_or(::std::ptr::null())), phauthzclientcontext) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -148,7 +148,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzInitializeContextFromToken ( flags : u32 , tokenhandle : super::super::Foundation:: HANDLE , hauthzresourcemanager : AUTHZ_RESOURCE_MANAGER_HANDLE , pexpirationtime : *const i64 , identifier : super::super::Foundation:: LUID , dynamicgroupargs : *const ::core::ffi::c_void , phauthzclientcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzInitializeContextFromToken ( flags : u32 , tokenhandle : super::super::Foundation:: HANDLE , hauthzresourcemanager : AUTHZ_RESOURCE_MANAGER_HANDLE , pexpirationtime : *const i64 , identifier : super::super::Foundation:: LUID , dynamicgroupargs : *const ::core::ffi::c_void , phauthzclientcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzInitializeContextFromToken(flags, tokenhandle.into(), hauthzresourcemanager.into(), ::core::mem::transmute(pexpirationtime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(identifier), ::core::mem::transmute(dynamicgroupargs.unwrap_or(::std::ptr::null())), phauthzclientcontext) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -162,7 +162,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "authz.dll""cdecl" fn AuthzInitializeObjectAccessAuditEvent ( flags : AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS , hauditeventtype : AUTHZ_AUDIT_EVENT_TYPE_HANDLE , szoperationtype : :: windows::core::PCWSTR , szobjecttype : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , szadditionalinfo : :: windows::core::PCWSTR , phauditevent : *mut isize , dwadditionalparametercount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""cdecl" fn AuthzInitializeObjectAccessAuditEvent ( flags : AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS , hauditeventtype : AUTHZ_AUDIT_EVENT_TYPE_HANDLE , szoperationtype : :: windows::core::PCWSTR , szobjecttype : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , szadditionalinfo : :: windows::core::PCWSTR , phauditevent : *mut isize , dwadditionalparametercount : u32 ) -> super::super::Foundation:: BOOL ); AuthzInitializeObjectAccessAuditEvent(flags, hauditeventtype.into(), szoperationtype.into().abi(), szobjecttype.into().abi(), szobjectname.into().abi(), szadditionalinfo.into().abi(), phauditevent, dwadditionalparametercount) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -177,14 +177,14 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "authz.dll""cdecl" fn AuthzInitializeObjectAccessAuditEvent2 ( flags : u32 , hauditeventtype : AUTHZ_AUDIT_EVENT_TYPE_HANDLE , szoperationtype : :: windows::core::PCWSTR , szobjecttype : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , szadditionalinfo : :: windows::core::PCWSTR , szadditionalinfo2 : :: windows::core::PCWSTR , phauditevent : *mut isize , dwadditionalparametercount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""cdecl" fn AuthzInitializeObjectAccessAuditEvent2 ( flags : u32 , hauditeventtype : AUTHZ_AUDIT_EVENT_TYPE_HANDLE , szoperationtype : :: windows::core::PCWSTR , szobjecttype : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , szadditionalinfo : :: windows::core::PCWSTR , szadditionalinfo2 : :: windows::core::PCWSTR , phauditevent : *mut isize , dwadditionalparametercount : u32 ) -> super::super::Foundation:: BOOL ); AuthzInitializeObjectAccessAuditEvent2(flags, hauditeventtype.into(), szoperationtype.into().abi(), szobjecttype.into().abi(), szobjectname.into().abi(), szadditionalinfo.into().abi(), szadditionalinfo2.into().abi(), phauditevent, dwadditionalparametercount) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuthzInitializeRemoteResourceManager(prpcinitinfo: *const AUTHZ_RPC_INIT_INFO_CLIENT, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "authz.dll""system" fn AuthzInitializeRemoteResourceManager ( prpcinitinfo : *const AUTHZ_RPC_INIT_INFO_CLIENT , phauthzresourcemanager : *mut AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzInitializeRemoteResourceManager ( prpcinitinfo : *const AUTHZ_RPC_INIT_INFO_CLIENT , phauthzresourcemanager : *mut AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzInitializeRemoteResourceManager(prpcinitinfo, phauthzresourcemanager) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -194,21 +194,21 @@ pub unsafe fn AuthzInitializeResourceManager(flags: u32, pfndynamicaccessche where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzInitializeResourceManager ( flags : u32 , pfndynamicaccesscheck : PFN_AUTHZ_DYNAMIC_ACCESS_CHECK , pfncomputedynamicgroups : PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS , pfnfreedynamicgroups : PFN_AUTHZ_FREE_DYNAMIC_GROUPS , szresourcemanagername : :: windows::core::PCWSTR , phauthzresourcemanager : *mut AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzInitializeResourceManager ( flags : u32 , pfndynamicaccesscheck : PFN_AUTHZ_DYNAMIC_ACCESS_CHECK , pfncomputedynamicgroups : PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS , pfnfreedynamicgroups : PFN_AUTHZ_FREE_DYNAMIC_GROUPS , szresourcemanagername : :: windows::core::PCWSTR , phauthzresourcemanager : *mut AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzInitializeResourceManager(flags, pfndynamicaccesscheck, pfncomputedynamicgroups, pfnfreedynamicgroups, szresourcemanagername.into().abi(), phauthzresourcemanager) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuthzInitializeResourceManagerEx(flags: AUTHZ_RESOURCE_MANAGER_FLAGS, pauthzinitinfo: ::core::option::Option<*const AUTHZ_INIT_INFO>, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "authz.dll""system" fn AuthzInitializeResourceManagerEx ( flags : AUTHZ_RESOURCE_MANAGER_FLAGS , pauthzinitinfo : *const AUTHZ_INIT_INFO , phauthzresourcemanager : *mut AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzInitializeResourceManagerEx ( flags : AUTHZ_RESOURCE_MANAGER_FLAGS , pauthzinitinfo : *const AUTHZ_INIT_INFO , phauthzresourcemanager : *mut AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); AuthzInitializeResourceManagerEx(flags, ::core::mem::transmute(pauthzinitinfo.unwrap_or(::std::ptr::null())), phauthzresourcemanager) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuthzInstallSecurityEventSource(dwflags: u32, pregistration: *const AUTHZ_SOURCE_SCHEMA_REGISTRATION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "authz.dll""system" fn AuthzInstallSecurityEventSource ( dwflags : u32 , pregistration : *const AUTHZ_SOURCE_SCHEMA_REGISTRATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzInstallSecurityEventSource ( dwflags : u32 , pregistration : *const AUTHZ_SOURCE_SCHEMA_REGISTRATION ) -> super::super::Foundation:: BOOL ); AuthzInstallSecurityEventSource(dwflags, pregistration) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -218,7 +218,7 @@ pub unsafe fn AuthzModifyClaims(hauthzclientcontext: P0, claimclass: AUTHZ_C where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzModifyClaims ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , claimclass : AUTHZ_CONTEXT_INFORMATION_CLASS , pclaimoperations : *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION , pclaims : *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzModifyClaims ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , claimclass : AUTHZ_CONTEXT_INFORMATION_CLASS , pclaimoperations : *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION , pclaims : *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION ) -> super::super::Foundation:: BOOL ); AuthzModifyClaims(hauthzclientcontext.into(), claimclass, pclaimoperations, ::core::mem::transmute(pclaims.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -228,7 +228,7 @@ pub unsafe fn AuthzModifySecurityAttributes(hauthzclientcontext: P0, poperat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzModifySecurityAttributes ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , poperations : *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION , pattributes : *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzModifySecurityAttributes ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , poperations : *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION , pattributes : *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION ) -> super::super::Foundation:: BOOL ); AuthzModifySecurityAttributes(hauthzclientcontext.into(), poperations, ::core::mem::transmute(pattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -238,7 +238,7 @@ pub unsafe fn AuthzModifySids(hauthzclientcontext: P0, sidclass: AUTHZ_CONTE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzModifySids ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , sidclass : AUTHZ_CONTEXT_INFORMATION_CLASS , psidoperations : *const AUTHZ_SID_OPERATION , psids : *const super:: TOKEN_GROUPS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzModifySids ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , sidclass : AUTHZ_CONTEXT_INFORMATION_CLASS , psidoperations : *const AUTHZ_SID_OPERATION , psids : *const super:: TOKEN_GROUPS ) -> super::super::Foundation:: BOOL ); AuthzModifySids(hauthzclientcontext.into(), sidclass, psidoperations, ::core::mem::transmute(psids.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -250,14 +250,14 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzOpenObjectAudit ( flags : u32 , hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , prequest : *const AUTHZ_ACCESS_REQUEST , hauditevent : AUTHZ_AUDIT_EVENT_HANDLE , psecuritydescriptor : super:: PSECURITY_DESCRIPTOR , optionalsecuritydescriptorarray : *const super:: PSECURITY_DESCRIPTOR , optionalsecuritydescriptorcount : u32 , preply : *const AUTHZ_ACCESS_REPLY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzOpenObjectAudit ( flags : u32 , hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , prequest : *const AUTHZ_ACCESS_REQUEST , hauditevent : AUTHZ_AUDIT_EVENT_HANDLE , psecuritydescriptor : super:: PSECURITY_DESCRIPTOR , optionalsecuritydescriptorarray : *const super:: PSECURITY_DESCRIPTOR , optionalsecuritydescriptorcount : u32 , preply : *const AUTHZ_ACCESS_REPLY ) -> super::super::Foundation:: BOOL ); AuthzOpenObjectAudit(flags, hauthzclientcontext.into(), prequest, hauditevent.into(), psecuritydescriptor.into(), ::core::mem::transmute(optionalsecuritydescriptorarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), optionalsecuritydescriptorarray.as_deref().map_or(0, |slice| slice.len() as _), preply) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] pub unsafe fn AuthzRegisterCapChangeNotification(phcapchangesubscription: *mut *mut AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__, pfncapchangecallback: super::super::System::Threading::LPTHREAD_START_ROUTINE, pcallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "authz.dll""system" fn AuthzRegisterCapChangeNotification ( phcapchangesubscription : *mut *mut AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ , pfncapchangecallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE , pcallbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzRegisterCapChangeNotification ( phcapchangesubscription : *mut *mut AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ , pfncapchangecallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE , pcallbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); AuthzRegisterCapChangeNotification(phcapchangesubscription, pfncapchangecallback, ::core::mem::transmute(pcallbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -267,7 +267,7 @@ pub unsafe fn AuthzRegisterSecurityEventSource(dwflags: u32, szeventsourcena where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzRegisterSecurityEventSource ( dwflags : u32 , szeventsourcename : :: windows::core::PCWSTR , pheventprovider : *mut isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzRegisterSecurityEventSource ( dwflags : u32 , szeventsourcename : :: windows::core::PCWSTR , pheventprovider : *mut isize ) -> super::super::Foundation:: BOOL ); AuthzRegisterSecurityEventSource(dwflags, szeventsourcename.into().abi(), pheventprovider) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -278,7 +278,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""cdecl" fn AuthzReportSecurityEvent ( dwflags : u32 , heventprovider : AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE , dwauditid : u32 , pusersid : super::super::Foundation:: PSID , dwcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""cdecl" fn AuthzReportSecurityEvent ( dwflags : u32 , heventprovider : AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE , dwauditid : u32 , pusersid : super::super::Foundation:: PSID , dwcount : u32 ) -> super::super::Foundation:: BOOL ); AuthzReportSecurityEvent(dwflags, heventprovider.into(), dwauditid, pusersid.into(), dwcount) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -289,7 +289,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzReportSecurityEventFromParams ( dwflags : u32 , heventprovider : AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE , dwauditid : u32 , pusersid : super::super::Foundation:: PSID , pparams : *const AUDIT_PARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzReportSecurityEventFromParams ( dwflags : u32 , heventprovider : AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE , dwauditid : u32 , pusersid : super::super::Foundation:: PSID , pparams : *const AUDIT_PARAMS ) -> super::super::Foundation:: BOOL ); AuthzReportSecurityEventFromParams(dwflags, heventprovider.into(), dwauditid, pusersid.into(), pparams) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -300,7 +300,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzSetAppContainerInformation ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , pappcontainersid : super::super::Foundation:: PSID , capabilitycount : u32 , pcapabilitysids : *const super:: SID_AND_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzSetAppContainerInformation ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE , pappcontainersid : super::super::Foundation:: PSID , capabilitycount : u32 , pcapabilitysids : *const super:: SID_AND_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); AuthzSetAppContainerInformation(hauthzclientcontext.into(), pappcontainersid.into(), pcapabilitysids.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcapabilitysids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -310,21 +310,21 @@ pub unsafe fn AuthzUninstallSecurityEventSource(dwflags: u32, szeventsourcen where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "authz.dll""system" fn AuthzUninstallSecurityEventSource ( dwflags : u32 , szeventsourcename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzUninstallSecurityEventSource ( dwflags : u32 , szeventsourcename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AuthzUninstallSecurityEventSource(dwflags, szeventsourcename.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuthzUnregisterCapChangeNotification(hcapchangesubscription: *const AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "authz.dll""system" fn AuthzUnregisterCapChangeNotification ( hcapchangesubscription : *const AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzUnregisterCapChangeNotification ( hcapchangesubscription : *const AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ ) -> super::super::Foundation:: BOOL ); AuthzUnregisterCapChangeNotification(hcapchangesubscription) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AuthzUnregisterSecurityEventSource(dwflags: u32, pheventprovider: *mut isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "authz.dll""system" fn AuthzUnregisterSecurityEventSource ( dwflags : u32 , pheventprovider : *mut isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "authz.dll""system" fn AuthzUnregisterSecurityEventSource ( dwflags : u32 , pheventprovider : *mut isize ) -> super::super::Foundation:: BOOL ); AuthzUnregisterSecurityEventSource(dwflags, pheventprovider) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -333,7 +333,7 @@ pub unsafe fn BuildExplicitAccessWithNameA(pexplicitaccess: *mut EXPLICIT_AC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildExplicitAccessWithNameA ( pexplicitaccess : *mut EXPLICIT_ACCESS_A , ptrusteename : :: windows::core::PCSTR , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : super:: ACE_FLAGS ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildExplicitAccessWithNameA ( pexplicitaccess : *mut EXPLICIT_ACCESS_A , ptrusteename : :: windows::core::PCSTR , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : super:: ACE_FLAGS ) -> ( ) ); BuildExplicitAccessWithNameA(pexplicitaccess, ptrusteename.into().abi(), accesspermissions, accessmode, inheritance) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -342,7 +342,7 @@ pub unsafe fn BuildExplicitAccessWithNameW(pexplicitaccess: *mut EXPLICIT_AC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildExplicitAccessWithNameW ( pexplicitaccess : *mut EXPLICIT_ACCESS_W , ptrusteename : :: windows::core::PCWSTR , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : super:: ACE_FLAGS ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildExplicitAccessWithNameW ( pexplicitaccess : *mut EXPLICIT_ACCESS_W , ptrusteename : :: windows::core::PCWSTR , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : super:: ACE_FLAGS ) -> ( ) ); BuildExplicitAccessWithNameW(pexplicitaccess, ptrusteename.into().abi(), accesspermissions, accessmode, inheritance) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn BuildImpersonateExplicitAccessWithNameA(pexplicitaccess: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildImpersonateExplicitAccessWithNameA ( pexplicitaccess : *mut EXPLICIT_ACCESS_A , ptrusteename : :: windows::core::PCSTR , ptrustee : *const TRUSTEE_A , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : u32 ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildImpersonateExplicitAccessWithNameA ( pexplicitaccess : *mut EXPLICIT_ACCESS_A , ptrusteename : :: windows::core::PCSTR , ptrustee : *const TRUSTEE_A , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : u32 ) -> ( ) ); BuildImpersonateExplicitAccessWithNameA(pexplicitaccess, ptrusteename.into().abi(), ::core::mem::transmute(ptrustee.unwrap_or(::std::ptr::null())), accesspermissions, accessmode, inheritance) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -360,19 +360,19 @@ pub unsafe fn BuildImpersonateExplicitAccessWithNameW(pexplicitaccess: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildImpersonateExplicitAccessWithNameW ( pexplicitaccess : *mut EXPLICIT_ACCESS_W , ptrusteename : :: windows::core::PCWSTR , ptrustee : *const TRUSTEE_W , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : u32 ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildImpersonateExplicitAccessWithNameW ( pexplicitaccess : *mut EXPLICIT_ACCESS_W , ptrusteename : :: windows::core::PCWSTR , ptrustee : *const TRUSTEE_W , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : u32 ) -> ( ) ); BuildImpersonateExplicitAccessWithNameW(pexplicitaccess, ptrusteename.into().abi(), ::core::mem::transmute(ptrustee.unwrap_or(::std::ptr::null())), accesspermissions, accessmode, inheritance) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn BuildImpersonateTrusteeA(ptrustee: *mut TRUSTEE_A, pimpersonatetrustee: ::core::option::Option<*const TRUSTEE_A>) { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildImpersonateTrusteeA ( ptrustee : *mut TRUSTEE_A , pimpersonatetrustee : *const TRUSTEE_A ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildImpersonateTrusteeA ( ptrustee : *mut TRUSTEE_A , pimpersonatetrustee : *const TRUSTEE_A ) -> ( ) ); BuildImpersonateTrusteeA(ptrustee, ::core::mem::transmute(pimpersonatetrustee.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn BuildImpersonateTrusteeW(ptrustee: *mut TRUSTEE_W, pimpersonatetrustee: ::core::option::Option<*const TRUSTEE_W>) { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildImpersonateTrusteeW ( ptrustee : *mut TRUSTEE_W , pimpersonatetrustee : *const TRUSTEE_W ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildImpersonateTrusteeW ( ptrustee : *mut TRUSTEE_W , pimpersonatetrustee : *const TRUSTEE_W ) -> ( ) ); BuildImpersonateTrusteeW(ptrustee, ::core::mem::transmute(pimpersonatetrustee.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -382,7 +382,7 @@ pub unsafe fn BuildSecurityDescriptorA(powner: ::core::option::Option<*const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildSecurityDescriptorA ( powner : *const TRUSTEE_A , pgroup : *const TRUSTEE_A , ccountofaccessentries : u32 , plistofaccessentries : *const EXPLICIT_ACCESS_A , ccountofauditentries : u32 , plistofauditentries : *const EXPLICIT_ACCESS_A , poldsd : super:: PSECURITY_DESCRIPTOR , psizenewsd : *mut u32 , pnewsd : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildSecurityDescriptorA ( powner : *const TRUSTEE_A , pgroup : *const TRUSTEE_A , ccountofaccessentries : u32 , plistofaccessentries : *const EXPLICIT_ACCESS_A , ccountofauditentries : u32 , plistofauditentries : *const EXPLICIT_ACCESS_A , poldsd : super:: PSECURITY_DESCRIPTOR , psizenewsd : *mut u32 , pnewsd : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); BuildSecurityDescriptorA( ::core::mem::transmute(powner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pgroup.unwrap_or(::std::ptr::null())), @@ -402,7 +402,7 @@ pub unsafe fn BuildSecurityDescriptorW(powner: ::core::option::Option<*const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildSecurityDescriptorW ( powner : *const TRUSTEE_W , pgroup : *const TRUSTEE_W , ccountofaccessentries : u32 , plistofaccessentries : *const EXPLICIT_ACCESS_W , ccountofauditentries : u32 , plistofauditentries : *const EXPLICIT_ACCESS_W , poldsd : super:: PSECURITY_DESCRIPTOR , psizenewsd : *mut u32 , pnewsd : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildSecurityDescriptorW ( powner : *const TRUSTEE_W , pgroup : *const TRUSTEE_W , ccountofaccessentries : u32 , plistofaccessentries : *const EXPLICIT_ACCESS_W , ccountofauditentries : u32 , plistofauditentries : *const EXPLICIT_ACCESS_W , poldsd : super:: PSECURITY_DESCRIPTOR , psizenewsd : *mut u32 , pnewsd : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); BuildSecurityDescriptorW( ::core::mem::transmute(powner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pgroup.unwrap_or(::std::ptr::null())), @@ -421,7 +421,7 @@ pub unsafe fn BuildTrusteeWithNameA(ptrustee: *mut TRUSTEE_A, pname: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildTrusteeWithNameA ( ptrustee : *mut TRUSTEE_A , pname : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildTrusteeWithNameA ( ptrustee : *mut TRUSTEE_A , pname : :: windows::core::PCSTR ) -> ( ) ); BuildTrusteeWithNameA(ptrustee, pname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -430,7 +430,7 @@ pub unsafe fn BuildTrusteeWithNameW(ptrustee: *mut TRUSTEE_W, pname: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildTrusteeWithNameW ( ptrustee : *mut TRUSTEE_W , pname : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildTrusteeWithNameW ( ptrustee : *mut TRUSTEE_W , pname : :: windows::core::PCWSTR ) -> ( ) ); BuildTrusteeWithNameW(ptrustee, pname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -441,7 +441,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildTrusteeWithObjectsAndNameA ( ptrustee : *mut TRUSTEE_A , pobjname : *const OBJECTS_AND_NAME_A , objecttype : SE_OBJECT_TYPE , objecttypename : :: windows::core::PCSTR , inheritedobjecttypename : :: windows::core::PCSTR , name : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildTrusteeWithObjectsAndNameA ( ptrustee : *mut TRUSTEE_A , pobjname : *const OBJECTS_AND_NAME_A , objecttype : SE_OBJECT_TYPE , objecttypename : :: windows::core::PCSTR , inheritedobjecttypename : :: windows::core::PCSTR , name : :: windows::core::PCSTR ) -> ( ) ); BuildTrusteeWithObjectsAndNameA(ptrustee, ::core::mem::transmute(pobjname.unwrap_or(::std::ptr::null())), objecttype, objecttypename.into().abi(), inheritedobjecttypename.into().abi(), name.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -452,7 +452,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildTrusteeWithObjectsAndNameW ( ptrustee : *mut TRUSTEE_W , pobjname : *const OBJECTS_AND_NAME_W , objecttype : SE_OBJECT_TYPE , objecttypename : :: windows::core::PCWSTR , inheritedobjecttypename : :: windows::core::PCWSTR , name : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildTrusteeWithObjectsAndNameW ( ptrustee : *mut TRUSTEE_W , pobjname : *const OBJECTS_AND_NAME_W , objecttype : SE_OBJECT_TYPE , objecttypename : :: windows::core::PCWSTR , inheritedobjecttypename : :: windows::core::PCWSTR , name : :: windows::core::PCWSTR ) -> ( ) ); BuildTrusteeWithObjectsAndNameW(ptrustee, ::core::mem::transmute(pobjname.unwrap_or(::std::ptr::null())), objecttype, objecttypename.into().abi(), inheritedobjecttypename.into().abi(), name.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -462,7 +462,7 @@ pub unsafe fn BuildTrusteeWithObjectsAndSidA(ptrustee: *mut TRUSTEE_A, pobjs where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildTrusteeWithObjectsAndSidA ( ptrustee : *mut TRUSTEE_A , pobjsid : *const OBJECTS_AND_SID , pobjectguid : *const :: windows::core::GUID , pinheritedobjectguid : *const :: windows::core::GUID , psid : super::super::Foundation:: PSID ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildTrusteeWithObjectsAndSidA ( ptrustee : *mut TRUSTEE_A , pobjsid : *const OBJECTS_AND_SID , pobjectguid : *const :: windows::core::GUID , pinheritedobjectguid : *const :: windows::core::GUID , psid : super::super::Foundation:: PSID ) -> ( ) ); BuildTrusteeWithObjectsAndSidA(ptrustee, ::core::mem::transmute(pobjsid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pobjectguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pinheritedobjectguid.unwrap_or(::std::ptr::null())), psid.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -472,7 +472,7 @@ pub unsafe fn BuildTrusteeWithObjectsAndSidW(ptrustee: *mut TRUSTEE_W, pobjs where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildTrusteeWithObjectsAndSidW ( ptrustee : *mut TRUSTEE_W , pobjsid : *const OBJECTS_AND_SID , pobjectguid : *const :: windows::core::GUID , pinheritedobjectguid : *const :: windows::core::GUID , psid : super::super::Foundation:: PSID ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildTrusteeWithObjectsAndSidW ( ptrustee : *mut TRUSTEE_W , pobjsid : *const OBJECTS_AND_SID , pobjectguid : *const :: windows::core::GUID , pinheritedobjectguid : *const :: windows::core::GUID , psid : super::super::Foundation:: PSID ) -> ( ) ); BuildTrusteeWithObjectsAndSidW(ptrustee, ::core::mem::transmute(pobjsid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pobjectguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pinheritedobjectguid.unwrap_or(::std::ptr::null())), psid.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -482,7 +482,7 @@ pub unsafe fn BuildTrusteeWithSidA(ptrustee: *mut TRUSTEE_A, psid: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildTrusteeWithSidA ( ptrustee : *mut TRUSTEE_A , psid : super::super::Foundation:: PSID ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildTrusteeWithSidA ( ptrustee : *mut TRUSTEE_A , psid : super::super::Foundation:: PSID ) -> ( ) ); BuildTrusteeWithSidA(ptrustee, psid.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -492,7 +492,7 @@ pub unsafe fn BuildTrusteeWithSidW(ptrustee: *mut TRUSTEE_W, psid: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn BuildTrusteeWithSidW ( ptrustee : *mut TRUSTEE_W , psid : super::super::Foundation:: PSID ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BuildTrusteeWithSidW ( ptrustee : *mut TRUSTEE_W , psid : super::super::Foundation:: PSID ) -> ( ) ); BuildTrusteeWithSidW(ptrustee, psid.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -502,7 +502,7 @@ pub unsafe fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securityd where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertSecurityDescriptorToStringSecurityDescriptorA ( securitydescriptor : super:: PSECURITY_DESCRIPTOR , requestedstringsdrevision : u32 , securityinformation : u32 , stringsecuritydescriptor : *mut :: windows::core::PSTR , stringsecuritydescriptorlen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertSecurityDescriptorToStringSecurityDescriptorA ( securitydescriptor : super:: PSECURITY_DESCRIPTOR , requestedstringsdrevision : u32 , securityinformation : u32 , stringsecuritydescriptor : *mut :: windows::core::PSTR , stringsecuritydescriptorlen : *mut u32 ) -> super::super::Foundation:: BOOL ); ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor.into(), requestedstringsdrevision, securityinformation, stringsecuritydescriptor, ::core::mem::transmute(stringsecuritydescriptorlen.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -512,7 +512,7 @@ pub unsafe fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securityd where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertSecurityDescriptorToStringSecurityDescriptorW ( securitydescriptor : super:: PSECURITY_DESCRIPTOR , requestedstringsdrevision : u32 , securityinformation : u32 , stringsecuritydescriptor : *mut :: windows::core::PWSTR , stringsecuritydescriptorlen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertSecurityDescriptorToStringSecurityDescriptorW ( securitydescriptor : super:: PSECURITY_DESCRIPTOR , requestedstringsdrevision : u32 , securityinformation : u32 , stringsecuritydescriptor : *mut :: windows::core::PWSTR , stringsecuritydescriptorlen : *mut u32 ) -> super::super::Foundation:: BOOL ); ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor.into(), requestedstringsdrevision, securityinformation, stringsecuritydescriptor, ::core::mem::transmute(stringsecuritydescriptorlen.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -522,7 +522,7 @@ pub unsafe fn ConvertSidToStringSidA(sid: P0, stringsid: *mut ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertSidToStringSidA ( sid : super::super::Foundation:: PSID , stringsid : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertSidToStringSidA ( sid : super::super::Foundation:: PSID , stringsid : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); ConvertSidToStringSidA(sid.into(), stringsid) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -532,7 +532,7 @@ pub unsafe fn ConvertSidToStringSidW(sid: P0, stringsid: *mut ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertSidToStringSidW ( sid : super::super::Foundation:: PSID , stringsid : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertSidToStringSidW ( sid : super::super::Foundation:: PSID , stringsid : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); ConvertSidToStringSidW(sid.into(), stringsid) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -542,7 +542,7 @@ pub unsafe fn ConvertStringSecurityDescriptorToSecurityDescriptorA(stringsec where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertStringSecurityDescriptorToSecurityDescriptorA ( stringsecuritydescriptor : :: windows::core::PCSTR , stringsdrevision : u32 , securitydescriptor : *mut super:: PSECURITY_DESCRIPTOR , securitydescriptorsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertStringSecurityDescriptorToSecurityDescriptorA ( stringsecuritydescriptor : :: windows::core::PCSTR , stringsdrevision : u32 , securitydescriptor : *mut super:: PSECURITY_DESCRIPTOR , securitydescriptorsize : *mut u32 ) -> super::super::Foundation:: BOOL ); ConvertStringSecurityDescriptorToSecurityDescriptorA(stringsecuritydescriptor.into().abi(), stringsdrevision, securitydescriptor, ::core::mem::transmute(securitydescriptorsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -552,7 +552,7 @@ pub unsafe fn ConvertStringSecurityDescriptorToSecurityDescriptorW(stringsec where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertStringSecurityDescriptorToSecurityDescriptorW ( stringsecuritydescriptor : :: windows::core::PCWSTR , stringsdrevision : u32 , securitydescriptor : *mut super:: PSECURITY_DESCRIPTOR , securitydescriptorsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertStringSecurityDescriptorToSecurityDescriptorW ( stringsecuritydescriptor : :: windows::core::PCWSTR , stringsdrevision : u32 , securitydescriptor : *mut super:: PSECURITY_DESCRIPTOR , securitydescriptorsize : *mut u32 ) -> super::super::Foundation:: BOOL ); ConvertStringSecurityDescriptorToSecurityDescriptorW(stringsecuritydescriptor.into().abi(), stringsdrevision, securitydescriptor, ::core::mem::transmute(securitydescriptorsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -562,7 +562,7 @@ pub unsafe fn ConvertStringSidToSidA(stringsid: P0, sid: *mut super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertStringSidToSidA ( stringsid : :: windows::core::PCSTR , sid : *mut super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertStringSidToSidA ( stringsid : :: windows::core::PCSTR , sid : *mut super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); ConvertStringSidToSidA(stringsid.into().abi(), sid) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -572,56 +572,56 @@ pub unsafe fn ConvertStringSidToSidW(stringsid: P0, sid: *mut super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertStringSidToSidW ( stringsid : :: windows::core::PCWSTR , sid : *mut super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertStringSidToSidW ( stringsid : :: windows::core::PCWSTR , sid : *mut super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); ConvertStringSidToSidW(stringsid.into().abi(), sid) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeInheritedFromArray(pinheritarray: &[INHERITED_FROMW], pfnarray: ::core::option::Option<*const FN_OBJECT_MGR_FUNCTS>) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn FreeInheritedFromArray ( pinheritarray : *const INHERITED_FROMW , acecnt : u16 , pfnarray : *const FN_OBJECT_MGR_FUNCTS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FreeInheritedFromArray ( pinheritarray : *const INHERITED_FROMW , acecnt : u16 , pfnarray : *const FN_OBJECT_MGR_FUNCTS ) -> super::super::Foundation:: WIN32_ERROR ); FreeInheritedFromArray(::core::mem::transmute(pinheritarray.as_ptr()), pinheritarray.len() as _, ::core::mem::transmute(pfnarray.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAuditedPermissionsFromAclA(pacl: *const super::ACL, ptrustee: *const TRUSTEE_A, psuccessfulauditedrights: *mut u32, pfailedauditrights: *mut u32) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn GetAuditedPermissionsFromAclA ( pacl : *const super:: ACL , ptrustee : *const TRUSTEE_A , psuccessfulauditedrights : *mut u32 , pfailedauditrights : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetAuditedPermissionsFromAclA ( pacl : *const super:: ACL , ptrustee : *const TRUSTEE_A , psuccessfulauditedrights : *mut u32 , pfailedauditrights : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetAuditedPermissionsFromAclA(pacl, ptrustee, psuccessfulauditedrights, pfailedauditrights) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAuditedPermissionsFromAclW(pacl: *const super::ACL, ptrustee: *const TRUSTEE_W, psuccessfulauditedrights: *mut u32, pfailedauditrights: *mut u32) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn GetAuditedPermissionsFromAclW ( pacl : *const super:: ACL , ptrustee : *const TRUSTEE_W , psuccessfulauditedrights : *mut u32 , pfailedauditrights : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetAuditedPermissionsFromAclW ( pacl : *const super:: ACL , ptrustee : *const TRUSTEE_W , psuccessfulauditedrights : *mut u32 , pfailedauditrights : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetAuditedPermissionsFromAclW(pacl, ptrustee, psuccessfulauditedrights, pfailedauditrights) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetEffectiveRightsFromAclA(pacl: *const super::ACL, ptrustee: *const TRUSTEE_A, paccessrights: *mut u32) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn GetEffectiveRightsFromAclA ( pacl : *const super:: ACL , ptrustee : *const TRUSTEE_A , paccessrights : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetEffectiveRightsFromAclA ( pacl : *const super:: ACL , ptrustee : *const TRUSTEE_A , paccessrights : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetEffectiveRightsFromAclA(pacl, ptrustee, paccessrights) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetEffectiveRightsFromAclW(pacl: *const super::ACL, ptrustee: *const TRUSTEE_W, paccessrights: *mut u32) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn GetEffectiveRightsFromAclW ( pacl : *const super:: ACL , ptrustee : *const TRUSTEE_W , paccessrights : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetEffectiveRightsFromAclW ( pacl : *const super:: ACL , ptrustee : *const TRUSTEE_W , paccessrights : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetEffectiveRightsFromAclW(pacl, ptrustee, paccessrights) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetExplicitEntriesFromAclA(pacl: *const super::ACL, pccountofexplicitentries: *mut u32, plistofexplicitentries: *mut *mut EXPLICIT_ACCESS_A) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn GetExplicitEntriesFromAclA ( pacl : *const super:: ACL , pccountofexplicitentries : *mut u32 , plistofexplicitentries : *mut *mut EXPLICIT_ACCESS_A ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetExplicitEntriesFromAclA ( pacl : *const super:: ACL , pccountofexplicitentries : *mut u32 , plistofexplicitentries : *mut *mut EXPLICIT_ACCESS_A ) -> super::super::Foundation:: WIN32_ERROR ); GetExplicitEntriesFromAclA(pacl, pccountofexplicitentries, plistofexplicitentries) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetExplicitEntriesFromAclW(pacl: *const super::ACL, pccountofexplicitentries: *mut u32, plistofexplicitentries: *mut *mut EXPLICIT_ACCESS_W) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn GetExplicitEntriesFromAclW ( pacl : *const super:: ACL , pccountofexplicitentries : *mut u32 , plistofexplicitentries : *mut *mut EXPLICIT_ACCESS_W ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetExplicitEntriesFromAclW ( pacl : *const super:: ACL , pccountofexplicitentries : *mut u32 , plistofexplicitentries : *mut *mut EXPLICIT_ACCESS_W ) -> super::super::Foundation:: WIN32_ERROR ); GetExplicitEntriesFromAclW(pacl, pccountofexplicitentries, plistofexplicitentries) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -632,7 +632,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetInheritanceSourceA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , container : super::super::Foundation:: BOOL , pobjectclassguids : *const *const :: windows::core::GUID , guidcount : u32 , pacl : *const super:: ACL , pfnarray : *const FN_OBJECT_MGR_FUNCTS , pgenericmapping : *const super:: GENERIC_MAPPING , pinheritarray : *mut INHERITED_FROMA ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetInheritanceSourceA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , container : super::super::Foundation:: BOOL , pobjectclassguids : *const *const :: windows::core::GUID , guidcount : u32 , pacl : *const super:: ACL , pfnarray : *const FN_OBJECT_MGR_FUNCTS , pgenericmapping : *const super:: GENERIC_MAPPING , pinheritarray : *mut INHERITED_FROMA ) -> super::super::Foundation:: WIN32_ERROR ); GetInheritanceSourceA(pobjectname.into().abi(), objecttype, securityinfo, container.into(), ::core::mem::transmute(pobjectclassguids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pobjectclassguids.as_deref().map_or(0, |slice| slice.len() as _), pacl, ::core::mem::transmute(pfnarray.unwrap_or(::std::ptr::null())), pgenericmapping, pinheritarray) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -643,31 +643,31 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetInheritanceSourceW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , container : super::super::Foundation:: BOOL , pobjectclassguids : *const *const :: windows::core::GUID , guidcount : u32 , pacl : *const super:: ACL , pfnarray : *const FN_OBJECT_MGR_FUNCTS , pgenericmapping : *const super:: GENERIC_MAPPING , pinheritarray : *mut INHERITED_FROMW ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetInheritanceSourceW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , container : super::super::Foundation:: BOOL , pobjectclassguids : *const *const :: windows::core::GUID , guidcount : u32 , pacl : *const super:: ACL , pfnarray : *const FN_OBJECT_MGR_FUNCTS , pgenericmapping : *const super:: GENERIC_MAPPING , pinheritarray : *mut INHERITED_FROMW ) -> super::super::Foundation:: WIN32_ERROR ); GetInheritanceSourceW(pobjectname.into().abi(), objecttype, securityinfo, container.into(), ::core::mem::transmute(pobjectclassguids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pobjectclassguids.as_deref().map_or(0, |slice| slice.len() as _), pacl, ::core::mem::transmute(pfnarray.unwrap_or(::std::ptr::null())), pgenericmapping, pinheritarray) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetMultipleTrusteeA(ptrustee: ::core::option::Option<*const TRUSTEE_A>) -> *mut TRUSTEE_A { - ::windows::core::link ! ( "advapi32.dll""system" fn GetMultipleTrusteeA ( ptrustee : *const TRUSTEE_A ) -> *mut TRUSTEE_A ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetMultipleTrusteeA ( ptrustee : *const TRUSTEE_A ) -> *mut TRUSTEE_A ); GetMultipleTrusteeA(::core::mem::transmute(ptrustee.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetMultipleTrusteeOperationA(ptrustee: ::core::option::Option<*const TRUSTEE_A>) -> MULTIPLE_TRUSTEE_OPERATION { - ::windows::core::link ! ( "advapi32.dll""system" fn GetMultipleTrusteeOperationA ( ptrustee : *const TRUSTEE_A ) -> MULTIPLE_TRUSTEE_OPERATION ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetMultipleTrusteeOperationA ( ptrustee : *const TRUSTEE_A ) -> MULTIPLE_TRUSTEE_OPERATION ); GetMultipleTrusteeOperationA(::core::mem::transmute(ptrustee.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetMultipleTrusteeOperationW(ptrustee: ::core::option::Option<*const TRUSTEE_W>) -> MULTIPLE_TRUSTEE_OPERATION { - ::windows::core::link ! ( "advapi32.dll""system" fn GetMultipleTrusteeOperationW ( ptrustee : *const TRUSTEE_W ) -> MULTIPLE_TRUSTEE_OPERATION ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetMultipleTrusteeOperationW ( ptrustee : *const TRUSTEE_W ) -> MULTIPLE_TRUSTEE_OPERATION ); GetMultipleTrusteeOperationW(::core::mem::transmute(ptrustee.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetMultipleTrusteeW(ptrustee: ::core::option::Option<*const TRUSTEE_W>) -> *mut TRUSTEE_W { - ::windows::core::link ! ( "advapi32.dll""system" fn GetMultipleTrusteeW ( ptrustee : *const TRUSTEE_W ) -> *mut TRUSTEE_W ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetMultipleTrusteeW ( ptrustee : *const TRUSTEE_W ) -> *mut TRUSTEE_W ); GetMultipleTrusteeW(::core::mem::transmute(ptrustee.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -677,7 +677,7 @@ pub unsafe fn GetNamedSecurityInfoA(pobjectname: P0, objecttype: SE_OBJECT_T where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetNamedSecurityInfoA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : super:: OBJECT_SECURITY_INFORMATION , ppsidowner : *mut super::super::Foundation:: PSID , ppsidgroup : *mut super::super::Foundation:: PSID , ppdacl : *mut *mut super:: ACL , ppsacl : *mut *mut super:: ACL , ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetNamedSecurityInfoA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : super:: OBJECT_SECURITY_INFORMATION , ppsidowner : *mut super::super::Foundation:: PSID , ppsidgroup : *mut super::super::Foundation:: PSID , ppdacl : *mut *mut super:: ACL , ppsacl : *mut *mut super:: ACL , ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); GetNamedSecurityInfoA(pobjectname.into().abi(), objecttype, securityinfo, ::core::mem::transmute(ppsidowner.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsidgroup.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdacl.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsacl.unwrap_or(::std::ptr::null_mut())), ppsecuritydescriptor) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -687,7 +687,7 @@ pub unsafe fn GetNamedSecurityInfoW(pobjectname: P0, objecttype: SE_OBJECT_T where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetNamedSecurityInfoW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : super:: OBJECT_SECURITY_INFORMATION , ppsidowner : *mut super::super::Foundation:: PSID , ppsidgroup : *mut super::super::Foundation:: PSID , ppdacl : *mut *mut super:: ACL , ppsacl : *mut *mut super:: ACL , ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetNamedSecurityInfoW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : super:: OBJECT_SECURITY_INFORMATION , ppsidowner : *mut super::super::Foundation:: PSID , ppsidgroup : *mut super::super::Foundation:: PSID , ppdacl : *mut *mut super:: ACL , ppsacl : *mut *mut super:: ACL , ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); GetNamedSecurityInfoW(pobjectname.into().abi(), objecttype, securityinfo, ::core::mem::transmute(ppsidowner.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsidgroup.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdacl.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsacl.unwrap_or(::std::ptr::null_mut())), ppsecuritydescriptor) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -697,43 +697,43 @@ pub unsafe fn GetSecurityInfo(handle: P0, objecttype: SE_OBJECT_TYPE, securi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSecurityInfo ( handle : super::super::Foundation:: HANDLE , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , ppsidowner : *mut super::super::Foundation:: PSID , ppsidgroup : *mut super::super::Foundation:: PSID , ppdacl : *mut *mut super:: ACL , ppsacl : *mut *mut super:: ACL , ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSecurityInfo ( handle : super::super::Foundation:: HANDLE , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , ppsidowner : *mut super::super::Foundation:: PSID , ppsidgroup : *mut super::super::Foundation:: PSID , ppdacl : *mut *mut super:: ACL , ppsacl : *mut *mut super:: ACL , ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); GetSecurityInfo(handle.into(), objecttype, securityinfo, ::core::mem::transmute(ppsidowner.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsidgroup.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdacl.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsacl.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsecuritydescriptor.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetTrusteeFormA(ptrustee: *const TRUSTEE_A) -> TRUSTEE_FORM { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTrusteeFormA ( ptrustee : *const TRUSTEE_A ) -> TRUSTEE_FORM ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTrusteeFormA ( ptrustee : *const TRUSTEE_A ) -> TRUSTEE_FORM ); GetTrusteeFormA(ptrustee) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetTrusteeFormW(ptrustee: *const TRUSTEE_W) -> TRUSTEE_FORM { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTrusteeFormW ( ptrustee : *const TRUSTEE_W ) -> TRUSTEE_FORM ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTrusteeFormW ( ptrustee : *const TRUSTEE_W ) -> TRUSTEE_FORM ); GetTrusteeFormW(ptrustee) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetTrusteeNameA(ptrustee: *const TRUSTEE_A) -> ::windows::core::PSTR { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTrusteeNameA ( ptrustee : *const TRUSTEE_A ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTrusteeNameA ( ptrustee : *const TRUSTEE_A ) -> :: windows::core::PSTR ); GetTrusteeNameA(ptrustee) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetTrusteeNameW(ptrustee: *const TRUSTEE_W) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTrusteeNameW ( ptrustee : *const TRUSTEE_W ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTrusteeNameW ( ptrustee : *const TRUSTEE_W ) -> :: windows::core::PWSTR ); GetTrusteeNameW(ptrustee) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetTrusteeTypeA(ptrustee: ::core::option::Option<*const TRUSTEE_A>) -> TRUSTEE_TYPE { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTrusteeTypeA ( ptrustee : *const TRUSTEE_A ) -> TRUSTEE_TYPE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTrusteeTypeA ( ptrustee : *const TRUSTEE_A ) -> TRUSTEE_TYPE ); GetTrusteeTypeA(::core::mem::transmute(ptrustee.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] #[inline] pub unsafe fn GetTrusteeTypeW(ptrustee: ::core::option::Option<*const TRUSTEE_W>) -> TRUSTEE_TYPE { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTrusteeTypeW ( ptrustee : *const TRUSTEE_W ) -> TRUSTEE_TYPE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTrusteeTypeW ( ptrustee : *const TRUSTEE_W ) -> TRUSTEE_TYPE ); GetTrusteeTypeW(::core::mem::transmute(ptrustee.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -743,7 +743,7 @@ pub unsafe fn LookupSecurityDescriptorPartsA(ppowner: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupSecurityDescriptorPartsA ( ppowner : *mut *mut TRUSTEE_A , ppgroup : *mut *mut TRUSTEE_A , pccountofaccessentries : *mut u32 , pplistofaccessentries : *mut *mut EXPLICIT_ACCESS_A , pccountofauditentries : *mut u32 , pplistofauditentries : *mut *mut EXPLICIT_ACCESS_A , psd : super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupSecurityDescriptorPartsA ( ppowner : *mut *mut TRUSTEE_A , ppgroup : *mut *mut TRUSTEE_A , pccountofaccessentries : *mut u32 , pplistofaccessentries : *mut *mut EXPLICIT_ACCESS_A , pccountofauditentries : *mut u32 , pplistofauditentries : *mut *mut EXPLICIT_ACCESS_A , psd : super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); LookupSecurityDescriptorPartsA(::core::mem::transmute(ppowner.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppgroup.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pccountofaccessentries.unwrap_or(::std::ptr::null_mut())), pplistofaccessentries, ::core::mem::transmute(pccountofauditentries.unwrap_or(::std::ptr::null_mut())), pplistofauditentries, psd.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -753,21 +753,21 @@ pub unsafe fn LookupSecurityDescriptorPartsW(ppowner: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupSecurityDescriptorPartsW ( ppowner : *mut *mut TRUSTEE_W , ppgroup : *mut *mut TRUSTEE_W , pccountofaccessentries : *mut u32 , pplistofaccessentries : *mut *mut EXPLICIT_ACCESS_W , pccountofauditentries : *mut u32 , pplistofauditentries : *mut *mut EXPLICIT_ACCESS_W , psd : super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupSecurityDescriptorPartsW ( ppowner : *mut *mut TRUSTEE_W , ppgroup : *mut *mut TRUSTEE_W , pccountofaccessentries : *mut u32 , pplistofaccessentries : *mut *mut EXPLICIT_ACCESS_W , pccountofauditentries : *mut u32 , pplistofauditentries : *mut *mut EXPLICIT_ACCESS_W , psd : super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); LookupSecurityDescriptorPartsW(::core::mem::transmute(ppowner.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppgroup.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pccountofaccessentries.unwrap_or(::std::ptr::null_mut())), pplistofaccessentries, ::core::mem::transmute(pccountofauditentries.unwrap_or(::std::ptr::null_mut())), pplistofauditentries, psd.into()) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetEntriesInAclA(plistofexplicitentries: ::core::option::Option<&[EXPLICIT_ACCESS_A]>, oldacl: ::core::option::Option<*const super::ACL>, newacl: *mut *mut super::ACL) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn SetEntriesInAclA ( ccountofexplicitentries : u32 , plistofexplicitentries : *const EXPLICIT_ACCESS_A , oldacl : *const super:: ACL , newacl : *mut *mut super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetEntriesInAclA ( ccountofexplicitentries : u32 , plistofexplicitentries : *const EXPLICIT_ACCESS_A , oldacl : *const super:: ACL , newacl : *mut *mut super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); SetEntriesInAclA(plistofexplicitentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plistofexplicitentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(oldacl.unwrap_or(::std::ptr::null())), newacl) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetEntriesInAclW(plistofexplicitentries: ::core::option::Option<&[EXPLICIT_ACCESS_W]>, oldacl: ::core::option::Option<*const super::ACL>, newacl: *mut *mut super::ACL) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn SetEntriesInAclW ( ccountofexplicitentries : u32 , plistofexplicitentries : *const EXPLICIT_ACCESS_W , oldacl : *const super:: ACL , newacl : *mut *mut super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetEntriesInAclW ( ccountofexplicitentries : u32 , plistofexplicitentries : *const EXPLICIT_ACCESS_W , oldacl : *const super:: ACL , newacl : *mut *mut super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); SetEntriesInAclW(plistofexplicitentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(plistofexplicitentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(oldacl.unwrap_or(::std::ptr::null())), newacl) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -779,7 +779,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetNamedSecurityInfoA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : super:: OBJECT_SECURITY_INFORMATION , psidowner : super::super::Foundation:: PSID , psidgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetNamedSecurityInfoA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : super:: OBJECT_SECURITY_INFORMATION , psidowner : super::super::Foundation:: PSID , psidgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); SetNamedSecurityInfoA(pobjectname.into().abi(), objecttype, securityinfo, psidowner.into(), psidgroup.into(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -791,7 +791,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetNamedSecurityInfoW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : super:: OBJECT_SECURITY_INFORMATION , psidowner : super::super::Foundation:: PSID , psidgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetNamedSecurityInfoW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : super:: OBJECT_SECURITY_INFORMATION , psidowner : super::super::Foundation:: PSID , psidgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); SetNamedSecurityInfoW(pobjectname.into().abi(), objecttype, securityinfo, psidowner.into(), psidgroup.into(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -803,7 +803,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetSecurityInfo ( handle : super::super::Foundation:: HANDLE , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , psidowner : super::super::Foundation:: PSID , psidgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetSecurityInfo ( handle : super::super::Foundation:: HANDLE , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , psidowner : super::super::Foundation:: PSID , psidgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); SetSecurityInfo(handle.into(), objecttype, securityinfo, psidowner.into(), psidgroup.into(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -816,7 +816,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn TreeResetNamedSecurityInfoA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , keepexplicit : super::super::Foundation:: BOOL , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TreeResetNamedSecurityInfoA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , keepexplicit : super::super::Foundation:: BOOL , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); TreeResetNamedSecurityInfoA(pobjectname.into().abi(), objecttype, securityinfo, powner.into(), pgroup.into(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), keepexplicit.into(), fnprogress, progressinvokesetting, ::core::mem::transmute(args.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -829,7 +829,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn TreeResetNamedSecurityInfoW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , keepexplicit : super::super::Foundation:: BOOL , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TreeResetNamedSecurityInfoW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , keepexplicit : super::super::Foundation:: BOOL , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); TreeResetNamedSecurityInfoW(pobjectname.into().abi(), objecttype, securityinfo, powner.into(), pgroup.into(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), keepexplicit.into(), fnprogress, progressinvokesetting, ::core::mem::transmute(args.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -841,7 +841,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn TreeSetNamedSecurityInfoA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , dwaction : TREE_SEC_INFO , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TreeSetNamedSecurityInfoA ( pobjectname : :: windows::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , dwaction : TREE_SEC_INFO , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); TreeSetNamedSecurityInfoA(pobjectname.into().abi(), objecttype, securityinfo, powner.into(), pgroup.into(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), dwaction, fnprogress, progressinvokesetting, ::core::mem::transmute(args.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -853,7 +853,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn TreeSetNamedSecurityInfoW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , dwaction : TREE_SEC_INFO , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TreeSetNamedSecurityInfoW ( pobjectname : :: windows::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , dwaction : TREE_SEC_INFO , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); TreeSetNamedSecurityInfoW(pobjectname.into().abi(), objecttype, securityinfo, powner.into(), pgroup.into(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), dwaction, fnprogress, progressinvokesetting, ::core::mem::transmute(args.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] @@ -1188,7 +1188,7 @@ impl IAzApplication { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzApplication, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzApplication, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzApplication { fn eq(&self, other: &Self) -> bool { @@ -1781,7 +1781,7 @@ impl IAzApplication2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzApplication2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzApplication); +::windows::imp::interface_hierarchy!(IAzApplication2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzApplication); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzApplication2 { fn eq(&self, other: &Self) -> bool { @@ -2245,7 +2245,7 @@ impl IAzApplication3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzApplication3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzApplication, IAzApplication2); +::windows::imp::interface_hierarchy!(IAzApplication3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzApplication, IAzApplication2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzApplication3 { fn eq(&self, other: &Self) -> bool { @@ -2491,7 +2491,7 @@ impl IAzApplicationGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzApplicationGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzApplicationGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzApplicationGroup { fn eq(&self, other: &Self) -> bool { @@ -2824,7 +2824,7 @@ impl IAzApplicationGroup2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzApplicationGroup2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzApplicationGroup); +::windows::imp::interface_hierarchy!(IAzApplicationGroup2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzApplicationGroup); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzApplicationGroup2 { fn eq(&self, other: &Self) -> bool { @@ -2891,7 +2891,7 @@ impl IAzApplicationGroups { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzApplicationGroups, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzApplicationGroups, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzApplicationGroups { fn eq(&self, other: &Self) -> bool { @@ -2954,7 +2954,7 @@ impl IAzApplications { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzApplications, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzApplications, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzApplications { fn eq(&self, other: &Self) -> bool { @@ -3262,7 +3262,7 @@ impl IAzAuthorizationStore { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzAuthorizationStore, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzAuthorizationStore, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzAuthorizationStore { fn eq(&self, other: &Self) -> bool { @@ -3744,7 +3744,7 @@ impl IAzAuthorizationStore2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzAuthorizationStore2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore); +::windows::imp::interface_hierarchy!(IAzAuthorizationStore2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzAuthorizationStore2 { fn eq(&self, other: &Self) -> bool { @@ -4090,7 +4090,7 @@ impl IAzAuthorizationStore3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzAuthorizationStore3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore, IAzAuthorizationStore2); +::windows::imp::interface_hierarchy!(IAzAuthorizationStore3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore, IAzAuthorizationStore2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzAuthorizationStore3 { fn eq(&self, other: &Self) -> bool { @@ -4168,7 +4168,7 @@ impl IAzBizRuleContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzBizRuleContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzBizRuleContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzBizRuleContext { fn eq(&self, other: &Self) -> bool { @@ -4246,7 +4246,7 @@ impl IAzBizRuleInterfaces { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzBizRuleInterfaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzBizRuleInterfaces, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzBizRuleInterfaces { fn eq(&self, other: &Self) -> bool { @@ -4330,7 +4330,7 @@ impl IAzBizRuleParameters { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzBizRuleParameters, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzBizRuleParameters, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzBizRuleParameters { fn eq(&self, other: &Self) -> bool { @@ -4445,7 +4445,7 @@ impl IAzClientContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzClientContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzClientContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzClientContext { fn eq(&self, other: &Self) -> bool { @@ -4594,7 +4594,7 @@ impl IAzClientContext2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzClientContext2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext); +::windows::imp::interface_hierarchy!(IAzClientContext2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzClientContext2 { fn eq(&self, other: &Self) -> bool { @@ -4785,7 +4785,7 @@ impl IAzClientContext3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzClientContext3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext, IAzClientContext2); +::windows::imp::interface_hierarchy!(IAzClientContext3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext, IAzClientContext2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzClientContext3 { fn eq(&self, other: &Self) -> bool { @@ -4865,7 +4865,7 @@ impl IAzNameResolver { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzNameResolver, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzNameResolver, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzNameResolver { fn eq(&self, other: &Self) -> bool { @@ -4925,7 +4925,7 @@ impl IAzObjectPicker { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzObjectPicker, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzObjectPicker, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzObjectPicker { fn eq(&self, other: &Self) -> bool { @@ -5023,7 +5023,7 @@ impl IAzOperation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzOperation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzOperation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzOperation { fn eq(&self, other: &Self) -> bool { @@ -5149,7 +5149,7 @@ impl IAzOperation2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzOperation2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzOperation); +::windows::imp::interface_hierarchy!(IAzOperation2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzOperation); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzOperation2 { fn eq(&self, other: &Self) -> bool { @@ -5210,7 +5210,7 @@ impl IAzOperations { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzOperations, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzOperations { fn eq(&self, other: &Self) -> bool { @@ -5271,7 +5271,7 @@ impl IAzPrincipalLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzPrincipalLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzPrincipalLocator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzPrincipalLocator { fn eq(&self, other: &Self) -> bool { @@ -5455,7 +5455,7 @@ impl IAzRole { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzRole, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzRole, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzRole { fn eq(&self, other: &Self) -> bool { @@ -5739,7 +5739,7 @@ impl IAzRoleAssignment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzRoleAssignment, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzRole); +::windows::imp::interface_hierarchy!(IAzRoleAssignment, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzRole); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzRoleAssignment { fn eq(&self, other: &Self) -> bool { @@ -5806,7 +5806,7 @@ impl IAzRoleAssignments { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzRoleAssignments, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzRoleAssignments, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzRoleAssignments { fn eq(&self, other: &Self) -> bool { @@ -5996,7 +5996,7 @@ impl IAzRoleDefinition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzRoleDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzTask); +::windows::imp::interface_hierarchy!(IAzRoleDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzTask); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzRoleDefinition { fn eq(&self, other: &Self) -> bool { @@ -6063,7 +6063,7 @@ impl IAzRoleDefinitions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzRoleDefinitions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzRoleDefinitions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzRoleDefinitions { fn eq(&self, other: &Self) -> bool { @@ -6126,7 +6126,7 @@ impl IAzRoles { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzRoles, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzRoles, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzRoles { fn eq(&self, other: &Self) -> bool { @@ -6373,7 +6373,7 @@ impl IAzScope { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzScope, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzScope, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzScope { fn eq(&self, other: &Self) -> bool { @@ -6790,7 +6790,7 @@ impl IAzScope2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzScope2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzScope); +::windows::imp::interface_hierarchy!(IAzScope2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzScope); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzScope2 { fn eq(&self, other: &Self) -> bool { @@ -6873,7 +6873,7 @@ impl IAzScopes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzScopes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzScopes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzScopes { fn eq(&self, other: &Self) -> bool { @@ -7042,7 +7042,7 @@ impl IAzTask { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzTask, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzTask, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzTask { fn eq(&self, other: &Self) -> bool { @@ -7282,7 +7282,7 @@ impl IAzTask2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzTask2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzTask); +::windows::imp::interface_hierarchy!(IAzTask2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IAzTask); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzTask2 { fn eq(&self, other: &Self) -> bool { @@ -7343,7 +7343,7 @@ impl IAzTasks { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAzTasks, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAzTasks, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAzTasks { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs index 17e2e723fe..c79a23e8dd 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs @@ -18,7 +18,7 @@ impl ISceSvcAttachmentData { (::windows::core::Vtable::vtable(self).CloseHandle)(::windows::core::Vtable::as_raw(self), scesvchandle).ok() } } -::windows::core::interface_hierarchy!(ISceSvcAttachmentData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISceSvcAttachmentData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISceSvcAttachmentData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -66,7 +66,7 @@ impl ISceSvcAttachmentPersistInfo { (::windows::core::Vtable::vtable(self).FreeBuffer)(::windows::core::Vtable::as_raw(self), pvdata).ok() } } -::windows::core::interface_hierarchy!(ISceSvcAttachmentPersistInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISceSvcAttachmentPersistInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISceSvcAttachmentPersistInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs index cb14730146..d86df3599a 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn CredDeleteA(targetname: P0, r#type: u32, flags: u32) -> super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredDeleteA ( targetname : :: windows::core::PCSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredDeleteA ( targetname : :: windows::core::PCSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); CredDeleteA(targetname.into().abi(), r#type, flags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn CredDeleteW(targetname: P0, r#type: u32, flags: u32) -> super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredDeleteW ( targetname : :: windows::core::PCWSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredDeleteW ( targetname : :: windows::core::PCWSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); CredDeleteW(targetname.into().abi(), r#type, flags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn CredEnumerateA(filter: P0, flags: CRED_ENUMERATE_FLAGS, count: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredEnumerateA ( filter : :: windows::core::PCSTR , flags : CRED_ENUMERATE_FLAGS , count : *mut u32 , credential : *mut *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredEnumerateA ( filter : :: windows::core::PCSTR , flags : CRED_ENUMERATE_FLAGS , count : *mut u32 , credential : *mut *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); CredEnumerateA(filter.into().abi(), flags, count, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -35,7 +35,7 @@ pub unsafe fn CredEnumerateW(filter: P0, flags: CRED_ENUMERATE_FLAGS, count: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredEnumerateW ( filter : :: windows::core::PCWSTR , flags : CRED_ENUMERATE_FLAGS , count : *mut u32 , credential : *mut *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredEnumerateW ( filter : :: windows::core::PCWSTR , flags : CRED_ENUMERATE_FLAGS , count : *mut u32 , credential : *mut *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); CredEnumerateW(filter.into().abi(), flags, count, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -45,7 +45,7 @@ pub unsafe fn CredFindBestCredentialA(targetname: P0, r#type: u32, flags: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredFindBestCredentialA ( targetname : :: windows::core::PCSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredFindBestCredentialA ( targetname : :: windows::core::PCSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); CredFindBestCredentialA(targetname.into().abi(), r#type, flags, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -55,20 +55,20 @@ pub unsafe fn CredFindBestCredentialW(targetname: P0, r#type: u32, flags: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredFindBestCredentialW ( targetname : :: windows::core::PCWSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredFindBestCredentialW ( targetname : :: windows::core::PCWSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); CredFindBestCredentialW(targetname.into().abi(), r#type, flags, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn CredFree(buffer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "advapi32.dll""system" fn CredFree ( buffer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredFree ( buffer : *const ::core::ffi::c_void ) -> ( ) ); CredFree(buffer) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredGetSessionTypes(maximumpersist: &mut [u32]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredGetSessionTypes ( maximumpersistcount : u32 , maximumpersist : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredGetSessionTypes ( maximumpersistcount : u32 , maximumpersist : *mut u32 ) -> super::super::Foundation:: BOOL ); CredGetSessionTypes(maximumpersist.len() as _, ::core::mem::transmute(maximumpersist.as_ptr())) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -78,7 +78,7 @@ pub unsafe fn CredGetTargetInfoA(targetname: P0, flags: u32, targetinfo: *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredGetTargetInfoA ( targetname : :: windows::core::PCSTR , flags : u32 , targetinfo : *mut *mut CREDENTIAL_TARGET_INFORMATIONA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredGetTargetInfoA ( targetname : :: windows::core::PCSTR , flags : u32 , targetinfo : *mut *mut CREDENTIAL_TARGET_INFORMATIONA ) -> super::super::Foundation:: BOOL ); CredGetTargetInfoA(targetname.into().abi(), flags, targetinfo) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -88,7 +88,7 @@ pub unsafe fn CredGetTargetInfoW(targetname: P0, flags: u32, targetinfo: *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredGetTargetInfoW ( targetname : :: windows::core::PCWSTR , flags : u32 , targetinfo : *mut *mut CREDENTIAL_TARGET_INFORMATIONW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredGetTargetInfoW ( targetname : :: windows::core::PCWSTR , flags : u32 , targetinfo : *mut *mut CREDENTIAL_TARGET_INFORMATIONW ) -> super::super::Foundation:: BOOL ); CredGetTargetInfoW(targetname.into().abi(), flags, targetinfo) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -98,7 +98,7 @@ pub unsafe fn CredIsMarshaledCredentialA(marshaledcredential: P0) -> super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredIsMarshaledCredentialA ( marshaledcredential : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredIsMarshaledCredentialA ( marshaledcredential : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); CredIsMarshaledCredentialA(marshaledcredential.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -108,7 +108,7 @@ pub unsafe fn CredIsMarshaledCredentialW(marshaledcredential: P0) -> super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredIsMarshaledCredentialW ( marshaledcredential : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredIsMarshaledCredentialW ( marshaledcredential : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); CredIsMarshaledCredentialW(marshaledcredential.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -118,7 +118,7 @@ pub unsafe fn CredIsProtectedA(pszprotectedcredentials: P0, pprotectiontype: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredIsProtectedA ( pszprotectedcredentials : :: windows::core::PCSTR , pprotectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredIsProtectedA ( pszprotectedcredentials : :: windows::core::PCSTR , pprotectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); CredIsProtectedA(pszprotectedcredentials.into().abi(), pprotectiontype) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -128,21 +128,21 @@ pub unsafe fn CredIsProtectedW(pszprotectedcredentials: P0, pprotectiontype: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredIsProtectedW ( pszprotectedcredentials : :: windows::core::PCWSTR , pprotectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredIsProtectedW ( pszprotectedcredentials : :: windows::core::PCWSTR , pprotectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); CredIsProtectedW(pszprotectedcredentials.into().abi(), pprotectiontype) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredMarshalCredentialA(credtype: CRED_MARSHAL_TYPE, credential: *const ::core::ffi::c_void, marshaledcredential: *mut ::windows::core::PSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredMarshalCredentialA ( credtype : CRED_MARSHAL_TYPE , credential : *const ::core::ffi::c_void , marshaledcredential : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredMarshalCredentialA ( credtype : CRED_MARSHAL_TYPE , credential : *const ::core::ffi::c_void , marshaledcredential : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); CredMarshalCredentialA(credtype, credential, marshaledcredential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredMarshalCredentialW(credtype: CRED_MARSHAL_TYPE, credential: *const ::core::ffi::c_void, marshaledcredential: *mut ::windows::core::PWSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredMarshalCredentialW ( credtype : CRED_MARSHAL_TYPE , credential : *const ::core::ffi::c_void , marshaledcredential : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredMarshalCredentialW ( credtype : CRED_MARSHAL_TYPE , credential : *const ::core::ffi::c_void , marshaledcredential : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); CredMarshalCredentialW(credtype, credential, marshaledcredential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -153,7 +153,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredPackAuthenticationBufferA ( dwflags : CRED_PACK_FLAGS , pszusername : :: windows::core::PCSTR , pszpassword : :: windows::core::PCSTR , ppackedcredentials : *mut u8 , pcbpackedcredentials : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "credui.dll""system" fn CredPackAuthenticationBufferA ( dwflags : CRED_PACK_FLAGS , pszusername : :: windows::core::PCSTR , pszpassword : :: windows::core::PCSTR , ppackedcredentials : *mut u8 , pcbpackedcredentials : *mut u32 ) -> super::super::Foundation:: BOOL ); CredPackAuthenticationBufferA(dwflags, pszusername.into().abi(), pszpassword.into().abi(), ::core::mem::transmute(ppackedcredentials.unwrap_or(::std::ptr::null_mut())), pcbpackedcredentials) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -164,7 +164,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredPackAuthenticationBufferW ( dwflags : CRED_PACK_FLAGS , pszusername : :: windows::core::PCWSTR , pszpassword : :: windows::core::PCWSTR , ppackedcredentials : *mut u8 , pcbpackedcredentials : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "credui.dll""system" fn CredPackAuthenticationBufferW ( dwflags : CRED_PACK_FLAGS , pszusername : :: windows::core::PCWSTR , pszpassword : :: windows::core::PCWSTR , ppackedcredentials : *mut u8 , pcbpackedcredentials : *mut u32 ) -> super::super::Foundation:: BOOL ); CredPackAuthenticationBufferW(dwflags, pszusername.into().abi(), pszpassword.into().abi(), ::core::mem::transmute(ppackedcredentials.unwrap_or(::std::ptr::null_mut())), pcbpackedcredentials) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -174,7 +174,7 @@ pub unsafe fn CredProtectA(fasself: P0, pszcredentials: &[u8], pszprotectedc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredProtectA ( fasself : super::super::Foundation:: BOOL , pszcredentials : :: windows::core::PCSTR , cchcredentials : u32 , pszprotectedcredentials : :: windows::core::PSTR , pcchmaxchars : *mut u32 , protectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredProtectA ( fasself : super::super::Foundation:: BOOL , pszcredentials : :: windows::core::PCSTR , cchcredentials : u32 , pszprotectedcredentials : :: windows::core::PSTR , pcchmaxchars : *mut u32 , protectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); CredProtectA(fasself.into(), ::core::mem::transmute(pszcredentials.as_ptr()), pszcredentials.len() as _, ::core::mem::transmute(pszprotectedcredentials), pcchmaxchars, ::core::mem::transmute(protectiontype.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -184,7 +184,7 @@ pub unsafe fn CredProtectW(fasself: P0, pszcredentials: &[u16], pszprotected where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredProtectW ( fasself : super::super::Foundation:: BOOL , pszcredentials : :: windows::core::PCWSTR , cchcredentials : u32 , pszprotectedcredentials : :: windows::core::PWSTR , pcchmaxchars : *mut u32 , protectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredProtectW ( fasself : super::super::Foundation:: BOOL , pszcredentials : :: windows::core::PCWSTR , cchcredentials : u32 , pszprotectedcredentials : :: windows::core::PWSTR , pcchmaxchars : *mut u32 , protectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); CredProtectW(fasself.into(), ::core::mem::transmute(pszcredentials.as_ptr()), pszcredentials.len() as _, ::core::mem::transmute(pszprotectedcredentials), pcchmaxchars, ::core::mem::transmute(protectiontype.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -194,21 +194,21 @@ pub unsafe fn CredReadA(targetname: P0, r#type: u32, flags: u32, credential: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredReadA ( targetname : :: windows::core::PCSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredReadA ( targetname : :: windows::core::PCSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); CredReadA(targetname.into().abi(), r#type, flags, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredReadDomainCredentialsA(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONA, flags: u32, count: *mut u32, credential: *mut *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredReadDomainCredentialsA ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA , flags : u32 , count : *mut u32 , credential : *mut *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredReadDomainCredentialsA ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA , flags : u32 , count : *mut u32 , credential : *mut *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); CredReadDomainCredentialsA(targetinfo, flags, count, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredReadDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONW, flags: u32, count: *mut u32, credential: *mut *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredReadDomainCredentialsW ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW , flags : u32 , count : *mut u32 , credential : *mut *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredReadDomainCredentialsW ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW , flags : u32 , count : *mut u32 , credential : *mut *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); CredReadDomainCredentialsW(targetinfo, flags, count, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -218,7 +218,7 @@ pub unsafe fn CredReadW(targetname: P0, r#type: u32, flags: u32, credential: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredReadW ( targetname : :: windows::core::PCWSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredReadW ( targetname : :: windows::core::PCWSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); CredReadW(targetname.into().abi(), r#type, flags, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -229,7 +229,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredRenameA ( oldtargetname : :: windows::core::PCSTR , newtargetname : :: windows::core::PCSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredRenameA ( oldtargetname : :: windows::core::PCSTR , newtargetname : :: windows::core::PCSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); CredRenameA(oldtargetname.into().abi(), newtargetname.into().abi(), r#type, flags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -240,7 +240,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredRenameW ( oldtargetname : :: windows::core::PCWSTR , newtargetname : :: windows::core::PCWSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredRenameW ( oldtargetname : :: windows::core::PCWSTR , newtargetname : :: windows::core::PCWSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); CredRenameW(oldtargetname.into().abi(), newtargetname.into().abi(), r#type, flags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -250,7 +250,7 @@ pub unsafe fn CredUICmdLinePromptForCredentialsA(psztargetname: P0, pcontext where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredUICmdLinePromptForCredentialsA ( psztargetname : :: windows::core::PCSTR , pcontext : *const SecHandle , dwautherror : u32 , username : :: windows::core::PSTR , uluserbuffersize : u32 , pszpassword : :: windows::core::PSTR , ulpasswordbuffersize : u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUICmdLinePromptForCredentialsA ( psztargetname : :: windows::core::PCSTR , pcontext : *const SecHandle , dwautherror : u32 , username : :: windows::core::PSTR , uluserbuffersize : u32 , pszpassword : :: windows::core::PSTR , ulpasswordbuffersize : u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); CredUICmdLinePromptForCredentialsA(psztargetname.into().abi(), ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), dwautherror, ::core::mem::transmute(username.as_ptr()), username.len() as _, ::core::mem::transmute(pszpassword.as_ptr()), pszpassword.len() as _, ::core::mem::transmute(pfsave.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -260,7 +260,7 @@ pub unsafe fn CredUICmdLinePromptForCredentialsW(psztargetname: P0, pcontext where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredUICmdLinePromptForCredentialsW ( psztargetname : :: windows::core::PCWSTR , pcontext : *const SecHandle , dwautherror : u32 , username : :: windows::core::PWSTR , uluserbuffersize : u32 , pszpassword : :: windows::core::PWSTR , ulpasswordbuffersize : u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUICmdLinePromptForCredentialsW ( psztargetname : :: windows::core::PCWSTR , pcontext : *const SecHandle , dwautherror : u32 , username : :: windows::core::PWSTR , uluserbuffersize : u32 , pszpassword : :: windows::core::PWSTR , ulpasswordbuffersize : u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); CredUICmdLinePromptForCredentialsW(psztargetname.into().abi(), ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), dwautherror, ::core::mem::transmute(username.as_ptr()), username.len() as _, ::core::mem::transmute(pszpassword.as_ptr()), pszpassword.len() as _, ::core::mem::transmute(pfsave.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -271,7 +271,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "credui.dll""system" fn CredUIConfirmCredentialsA ( psztargetname : :: windows::core::PCSTR , bconfirm : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIConfirmCredentialsA ( psztargetname : :: windows::core::PCSTR , bconfirm : super::super::Foundation:: BOOL ) -> u32 ); CredUIConfirmCredentialsA(psztargetname.into().abi(), bconfirm.into()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -282,7 +282,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "credui.dll""system" fn CredUIConfirmCredentialsW ( psztargetname : :: windows::core::PCWSTR , bconfirm : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIConfirmCredentialsW ( psztargetname : :: windows::core::PCWSTR , bconfirm : super::super::Foundation:: BOOL ) -> u32 ); CredUIConfirmCredentialsW(psztargetname.into().abi(), bconfirm.into()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -291,7 +291,7 @@ pub unsafe fn CredUIParseUserNameA(username: P0, user: &mut [u8], domain: &m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredUIParseUserNameA ( username : :: windows::core::PCSTR , user : :: windows::core::PSTR , userbuffersize : u32 , domain : :: windows::core::PSTR , domainbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIParseUserNameA ( username : :: windows::core::PCSTR , user : :: windows::core::PSTR , userbuffersize : u32 , domain : :: windows::core::PSTR , domainbuffersize : u32 ) -> u32 ); CredUIParseUserNameA(username.into().abi(), ::core::mem::transmute(user.as_ptr()), user.len() as _, ::core::mem::transmute(domain.as_ptr()), domain.len() as _) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -300,7 +300,7 @@ pub unsafe fn CredUIParseUserNameW(username: P0, user: &mut [u16], domain: & where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredUIParseUserNameW ( username : :: windows::core::PCWSTR , user : :: windows::core::PWSTR , userbuffersize : u32 , domain : :: windows::core::PWSTR , domainbuffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIParseUserNameW ( username : :: windows::core::PCWSTR , user : :: windows::core::PWSTR , userbuffersize : u32 , domain : :: windows::core::PWSTR , domainbuffersize : u32 ) -> u32 ); CredUIParseUserNameW(username.into().abi(), ::core::mem::transmute(user.as_ptr()), user.len() as _, ::core::mem::transmute(domain.as_ptr()), domain.len() as _) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -310,7 +310,7 @@ pub unsafe fn CredUIPromptForCredentialsA(puiinfo: ::core::option::Option<*c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredUIPromptForCredentialsA ( puiinfo : *const CREDUI_INFOA , psztargetname : :: windows::core::PCSTR , pcontext : *const SecHandle , dwautherror : u32 , pszusername : :: windows::core::PSTR , ulusernamebuffersize : u32 , pszpassword : :: windows::core::PSTR , ulpasswordbuffersize : u32 , save : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIPromptForCredentialsA ( puiinfo : *const CREDUI_INFOA , psztargetname : :: windows::core::PCSTR , pcontext : *const SecHandle , dwautherror : u32 , pszusername : :: windows::core::PSTR , ulusernamebuffersize : u32 , pszpassword : :: windows::core::PSTR , ulpasswordbuffersize : u32 , save : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); CredUIPromptForCredentialsA(::core::mem::transmute(puiinfo.unwrap_or(::std::ptr::null())), psztargetname.into().abi(), ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), dwautherror, ::core::mem::transmute(pszusername.as_ptr()), pszusername.len() as _, ::core::mem::transmute(pszpassword.as_ptr()), pszpassword.len() as _, ::core::mem::transmute(save.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -320,21 +320,21 @@ pub unsafe fn CredUIPromptForCredentialsW(puiinfo: ::core::option::Option<*c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredUIPromptForCredentialsW ( puiinfo : *const CREDUI_INFOW , psztargetname : :: windows::core::PCWSTR , pcontext : *const SecHandle , dwautherror : u32 , pszusername : :: windows::core::PWSTR , ulusernamebuffersize : u32 , pszpassword : :: windows::core::PWSTR , ulpasswordbuffersize : u32 , save : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIPromptForCredentialsW ( puiinfo : *const CREDUI_INFOW , psztargetname : :: windows::core::PCWSTR , pcontext : *const SecHandle , dwautherror : u32 , pszusername : :: windows::core::PWSTR , ulusernamebuffersize : u32 , pszpassword : :: windows::core::PWSTR , ulpasswordbuffersize : u32 , save : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); CredUIPromptForCredentialsW(::core::mem::transmute(puiinfo.unwrap_or(::std::ptr::null())), psztargetname.into().abi(), ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null())), dwautherror, ::core::mem::transmute(pszusername.as_ptr()), pszusername.len() as _, ::core::mem::transmute(pszpassword.as_ptr()), pszpassword.len() as _, ::core::mem::transmute(save.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CredUIPromptForWindowsCredentialsA(puiinfo: ::core::option::Option<*const CREDUI_INFOA>, dwautherror: u32, pulauthpackage: *mut u32, pvinauthbuffer: ::core::option::Option<*const ::core::ffi::c_void>, ulinauthbuffersize: u32, ppvoutauthbuffer: *mut *mut ::core::ffi::c_void, puloutauthbuffersize: *mut u32, pfsave: ::core::option::Option<*mut super::super::Foundation::BOOL>, dwflags: CREDUIWIN_FLAGS) -> u32 { - ::windows::core::link ! ( "credui.dll""system" fn CredUIPromptForWindowsCredentialsA ( puiinfo : *const CREDUI_INFOA , dwautherror : u32 , pulauthpackage : *mut u32 , pvinauthbuffer : *const ::core::ffi::c_void , ulinauthbuffersize : u32 , ppvoutauthbuffer : *mut *mut ::core::ffi::c_void , puloutauthbuffersize : *mut u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUIWIN_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIPromptForWindowsCredentialsA ( puiinfo : *const CREDUI_INFOA , dwautherror : u32 , pulauthpackage : *mut u32 , pvinauthbuffer : *const ::core::ffi::c_void , ulinauthbuffersize : u32 , ppvoutauthbuffer : *mut *mut ::core::ffi::c_void , puloutauthbuffersize : *mut u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUIWIN_FLAGS ) -> u32 ); CredUIPromptForWindowsCredentialsA(::core::mem::transmute(puiinfo.unwrap_or(::std::ptr::null())), dwautherror, pulauthpackage, ::core::mem::transmute(pvinauthbuffer.unwrap_or(::std::ptr::null())), ulinauthbuffersize, ppvoutauthbuffer, puloutauthbuffersize, ::core::mem::transmute(pfsave.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CredUIPromptForWindowsCredentialsW(puiinfo: ::core::option::Option<*const CREDUI_INFOW>, dwautherror: u32, pulauthpackage: *mut u32, pvinauthbuffer: ::core::option::Option<*const ::core::ffi::c_void>, ulinauthbuffersize: u32, ppvoutauthbuffer: *mut *mut ::core::ffi::c_void, puloutauthbuffersize: *mut u32, pfsave: ::core::option::Option<*mut super::super::Foundation::BOOL>, dwflags: CREDUIWIN_FLAGS) -> u32 { - ::windows::core::link ! ( "credui.dll""system" fn CredUIPromptForWindowsCredentialsW ( puiinfo : *const CREDUI_INFOW , dwautherror : u32 , pulauthpackage : *mut u32 , pvinauthbuffer : *const ::core::ffi::c_void , ulinauthbuffersize : u32 , ppvoutauthbuffer : *mut *mut ::core::ffi::c_void , puloutauthbuffersize : *mut u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUIWIN_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIPromptForWindowsCredentialsW ( puiinfo : *const CREDUI_INFOW , dwautherror : u32 , pulauthpackage : *mut u32 , pvinauthbuffer : *const ::core::ffi::c_void , ulinauthbuffersize : u32 , ppvoutauthbuffer : *mut *mut ::core::ffi::c_void , puloutauthbuffersize : *mut u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUIWIN_FLAGS ) -> u32 ); CredUIPromptForWindowsCredentialsW(::core::mem::transmute(puiinfo.unwrap_or(::std::ptr::null())), dwautherror, pulauthpackage, ::core::mem::transmute(pvinauthbuffer.unwrap_or(::std::ptr::null())), ulinauthbuffersize, ppvoutauthbuffer, puloutauthbuffersize, ::core::mem::transmute(pfsave.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -343,7 +343,7 @@ pub unsafe fn CredUIReadSSOCredW(pszrealm: P0, ppszusername: *mut ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "credui.dll""system" fn CredUIReadSSOCredW ( pszrealm : :: windows::core::PCWSTR , ppszusername : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIReadSSOCredW ( pszrealm : :: windows::core::PCWSTR , ppszusername : *mut :: windows::core::PWSTR ) -> u32 ); CredUIReadSSOCredW(pszrealm.into().abi(), ppszusername) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -356,21 +356,21 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "credui.dll""system" fn CredUIStoreSSOCredW ( pszrealm : :: windows::core::PCWSTR , pszusername : :: windows::core::PCWSTR , pszpassword : :: windows::core::PCWSTR , bpersist : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUIStoreSSOCredW ( pszrealm : :: windows::core::PCWSTR , pszusername : :: windows::core::PCWSTR , pszpassword : :: windows::core::PCWSTR , bpersist : super::super::Foundation:: BOOL ) -> u32 ); CredUIStoreSSOCredW(pszrealm.into().abi(), pszusername.into().abi(), pszpassword.into().abi(), bpersist.into()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredUnPackAuthenticationBufferA(dwflags: CRED_PACK_FLAGS, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, pszusername: ::windows::core::PSTR, pcchlmaxusername: *mut u32, pszdomainname: ::windows::core::PSTR, pcchmaxdomainname: ::core::option::Option<*mut u32>, pszpassword: ::windows::core::PSTR, pcchmaxpassword: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "credui.dll""system" fn CredUnPackAuthenticationBufferA ( dwflags : CRED_PACK_FLAGS , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , pszusername : :: windows::core::PSTR , pcchlmaxusername : *mut u32 , pszdomainname : :: windows::core::PSTR , pcchmaxdomainname : *mut u32 , pszpassword : :: windows::core::PSTR , pcchmaxpassword : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUnPackAuthenticationBufferA ( dwflags : CRED_PACK_FLAGS , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , pszusername : :: windows::core::PSTR , pcchlmaxusername : *mut u32 , pszdomainname : :: windows::core::PSTR , pcchmaxdomainname : *mut u32 , pszpassword : :: windows::core::PSTR , pcchmaxpassword : *mut u32 ) -> super::super::Foundation:: BOOL ); CredUnPackAuthenticationBufferA(dwflags, pauthbuffer, cbauthbuffer, ::core::mem::transmute(pszusername), pcchlmaxusername, ::core::mem::transmute(pszdomainname), ::core::mem::transmute(pcchmaxdomainname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszpassword), pcchmaxpassword) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredUnPackAuthenticationBufferW(dwflags: CRED_PACK_FLAGS, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, pszusername: ::windows::core::PWSTR, pcchmaxusername: *mut u32, pszdomainname: ::windows::core::PWSTR, pcchmaxdomainname: ::core::option::Option<*mut u32>, pszpassword: ::windows::core::PWSTR, pcchmaxpassword: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "credui.dll""system" fn CredUnPackAuthenticationBufferW ( dwflags : CRED_PACK_FLAGS , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , pszusername : :: windows::core::PWSTR , pcchmaxusername : *mut u32 , pszdomainname : :: windows::core::PWSTR , pcchmaxdomainname : *mut u32 , pszpassword : :: windows::core::PWSTR , pcchmaxpassword : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "credui.dll""system" fn CredUnPackAuthenticationBufferW ( dwflags : CRED_PACK_FLAGS , pauthbuffer : *const ::core::ffi::c_void , cbauthbuffer : u32 , pszusername : :: windows::core::PWSTR , pcchmaxusername : *mut u32 , pszdomainname : :: windows::core::PWSTR , pcchmaxdomainname : *mut u32 , pszpassword : :: windows::core::PWSTR , pcchmaxpassword : *mut u32 ) -> super::super::Foundation:: BOOL ); CredUnPackAuthenticationBufferW(dwflags, pauthbuffer, cbauthbuffer, ::core::mem::transmute(pszusername), pcchmaxusername, ::core::mem::transmute(pszdomainname), ::core::mem::transmute(pcchmaxdomainname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszpassword), pcchmaxpassword) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -380,7 +380,7 @@ pub unsafe fn CredUnmarshalCredentialA(marshaledcredential: P0, credtype: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredUnmarshalCredentialA ( marshaledcredential : :: windows::core::PCSTR , credtype : *mut CRED_MARSHAL_TYPE , credential : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredUnmarshalCredentialA ( marshaledcredential : :: windows::core::PCSTR , credtype : *mut CRED_MARSHAL_TYPE , credential : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CredUnmarshalCredentialA(marshaledcredential.into().abi(), credtype, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -390,7 +390,7 @@ pub unsafe fn CredUnmarshalCredentialW(marshaledcredential: P0, credtype: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredUnmarshalCredentialW ( marshaledcredential : :: windows::core::PCWSTR , credtype : *mut CRED_MARSHAL_TYPE , credential : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredUnmarshalCredentialW ( marshaledcredential : :: windows::core::PCWSTR , credtype : *mut CRED_MARSHAL_TYPE , credential : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CredUnmarshalCredentialW(marshaledcredential.into().abi(), credtype, credential) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -400,7 +400,7 @@ pub unsafe fn CredUnprotectA(fasself: P0, pszprotectedcredentials: &[u8], ps where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredUnprotectA ( fasself : super::super::Foundation:: BOOL , pszprotectedcredentials : :: windows::core::PCSTR , cchprotectedcredentials : u32 , pszcredentials : :: windows::core::PSTR , pcchmaxchars : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredUnprotectA ( fasself : super::super::Foundation:: BOOL , pszprotectedcredentials : :: windows::core::PCSTR , cchprotectedcredentials : u32 , pszcredentials : :: windows::core::PSTR , pcchmaxchars : *mut u32 ) -> super::super::Foundation:: BOOL ); CredUnprotectA(fasself.into(), ::core::mem::transmute(pszprotectedcredentials.as_ptr()), pszprotectedcredentials.len() as _, ::core::mem::transmute(pszcredentials), pcchmaxchars) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -410,61 +410,61 @@ pub unsafe fn CredUnprotectW(fasself: P0, pszprotectedcredentials: &[u16], p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CredUnprotectW ( fasself : super::super::Foundation:: BOOL , pszprotectedcredentials : :: windows::core::PCWSTR , cchprotectedcredentials : u32 , pszcredentials : :: windows::core::PWSTR , pcchmaxchars : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredUnprotectW ( fasself : super::super::Foundation:: BOOL , pszprotectedcredentials : :: windows::core::PCWSTR , cchprotectedcredentials : u32 , pszcredentials : :: windows::core::PWSTR , pcchmaxchars : *mut u32 ) -> super::super::Foundation:: BOOL ); CredUnprotectW(fasself.into(), ::core::mem::transmute(pszprotectedcredentials.as_ptr()), pszprotectedcredentials.len() as _, ::core::mem::transmute(pszcredentials), pcchmaxchars) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredWriteA(credential: *const CREDENTIALA, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredWriteA ( credential : *const CREDENTIALA , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredWriteA ( credential : *const CREDENTIALA , flags : u32 ) -> super::super::Foundation:: BOOL ); CredWriteA(credential, flags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredWriteDomainCredentialsA(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONA, credential: *const CREDENTIALA, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredWriteDomainCredentialsA ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA , credential : *const CREDENTIALA , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredWriteDomainCredentialsA ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA , credential : *const CREDENTIALA , flags : u32 ) -> super::super::Foundation:: BOOL ); CredWriteDomainCredentialsA(targetinfo, credential, flags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredWriteDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONW, credential: *const CREDENTIALW, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredWriteDomainCredentialsW ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW , credential : *const CREDENTIALW , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredWriteDomainCredentialsW ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW , credential : *const CREDENTIALW , flags : u32 ) -> super::super::Foundation:: BOOL ); CredWriteDomainCredentialsW(targetinfo, credential, flags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CredWriteW(credential: *const CREDENTIALW, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CredWriteW ( credential : *const CREDENTIALW , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CredWriteW ( credential : *const CREDENTIALW , flags : u32 ) -> super::super::Foundation:: BOOL ); CredWriteW(credential, flags) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetOpenCardNameA(param0: *mut OPENCARDNAMEA) -> i32 { - ::windows::core::link ! ( "scarddlg.dll""system" fn GetOpenCardNameA ( param0 : *mut OPENCARDNAMEA ) -> i32 ); + ::windows::imp::link ! ( "scarddlg.dll""system" fn GetOpenCardNameA ( param0 : *mut OPENCARDNAMEA ) -> i32 ); GetOpenCardNameA(param0) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetOpenCardNameW(param0: *mut OPENCARDNAMEW) -> i32 { - ::windows::core::link ! ( "scarddlg.dll""system" fn GetOpenCardNameW ( param0 : *mut OPENCARDNAMEW ) -> i32 ); + ::windows::imp::link ! ( "scarddlg.dll""system" fn GetOpenCardNameW ( param0 : *mut OPENCARDNAMEW ) -> i32 ); GetOpenCardNameW(param0) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo: *const KeyCredentialManagerInfo) { - ::windows::core::link ! ( "keycredmgr.dll""system" fn KeyCredentialManagerFreeInformation ( keycredentialmanagerinfo : *const KeyCredentialManagerInfo ) -> ( ) ); + ::windows::imp::link ! ( "keycredmgr.dll""system" fn KeyCredentialManagerFreeInformation ( keycredentialmanagerinfo : *const KeyCredentialManagerInfo ) -> ( ) ); KeyCredentialManagerFreeInformation(keycredentialmanagerinfo) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn KeyCredentialManagerGetInformation() -> ::windows::core::Result<*mut KeyCredentialManagerInfo> { - ::windows::core::link ! ( "keycredmgr.dll""system" fn KeyCredentialManagerGetInformation ( keycredentialmanagerinfo : *mut *mut KeyCredentialManagerInfo ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "keycredmgr.dll""system" fn KeyCredentialManagerGetInformation ( keycredentialmanagerinfo : *mut *mut KeyCredentialManagerInfo ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut KeyCredentialManagerInfo>(); KeyCredentialManagerGetInformation(&mut result__).from_abi(result__) } @@ -472,7 +472,7 @@ pub unsafe fn KeyCredentialManagerGetInformation() -> ::windows::core::Result<*m #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn KeyCredentialManagerGetOperationErrorStates(keycredentialmanageroperationtype: KeyCredentialManagerOperationType, isready: *mut super::super::Foundation::BOOL, keycredentialmanageroperationerrorstates: *mut KeyCredentialManagerOperationErrorStates) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "keycredmgr.dll""system" fn KeyCredentialManagerGetOperationErrorStates ( keycredentialmanageroperationtype : KeyCredentialManagerOperationType , isready : *mut super::super::Foundation:: BOOL , keycredentialmanageroperationerrorstates : *mut KeyCredentialManagerOperationErrorStates ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "keycredmgr.dll""system" fn KeyCredentialManagerGetOperationErrorStates ( keycredentialmanageroperationtype : KeyCredentialManagerOperationType , isready : *mut super::super::Foundation:: BOOL , keycredentialmanageroperationerrorstates : *mut KeyCredentialManagerOperationErrorStates ) -> :: windows::core::HRESULT ); KeyCredentialManagerGetOperationErrorStates(keycredentialmanageroperationtype, isready, keycredentialmanageroperationerrorstates).ok() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -482,16 +482,16 @@ pub unsafe fn KeyCredentialManagerShowUIOperation(hwndowner: P0, keycredenti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "keycredmgr.dll""system" fn KeyCredentialManagerShowUIOperation ( hwndowner : super::super::Foundation:: HWND , keycredentialmanageroperationtype : KeyCredentialManagerOperationType ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "keycredmgr.dll""system" fn KeyCredentialManagerShowUIOperation ( hwndowner : super::super::Foundation:: HWND , keycredentialmanageroperationtype : KeyCredentialManagerOperationType ) -> :: windows::core::HRESULT ); KeyCredentialManagerShowUIOperation(hwndowner.into(), keycredentialmanageroperationtype).ok() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SCardAccessStartedEvent() -> ::windows::core::Result { - ::windows::core::link ! ( "winscard.dll""system" fn SCardAccessStartedEvent ( ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardAccessStartedEvent ( ) -> super::super::Foundation:: HANDLE ); let result__ = SCardAccessStartedEvent(); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] @@ -500,7 +500,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardAddReaderToGroupA ( hcontext : usize , szreadername : :: windows::core::PCSTR , szgroupname : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardAddReaderToGroupA ( hcontext : usize , szreadername : :: windows::core::PCSTR , szgroupname : :: windows::core::PCSTR ) -> i32 ); SCardAddReaderToGroupA(hcontext, szreadername.into().abi(), szgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -510,25 +510,25 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardAddReaderToGroupW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , szgroupname : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardAddReaderToGroupW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , szgroupname : :: windows::core::PCWSTR ) -> i32 ); SCardAddReaderToGroupW(hcontext, szreadername.into().abi(), szgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardAudit(hcontext: usize, dwevent: u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardAudit ( hcontext : usize , dwevent : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardAudit ( hcontext : usize , dwevent : u32 ) -> i32 ); SCardAudit(hcontext, dwevent) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardBeginTransaction(hcard: usize) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardBeginTransaction ( hcard : usize ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardBeginTransaction ( hcard : usize ) -> i32 ); SCardBeginTransaction(hcard) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardCancel(hcontext: usize) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardCancel ( hcontext : usize ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardCancel ( hcontext : usize ) -> i32 ); SCardCancel(hcontext) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -537,7 +537,7 @@ pub unsafe fn SCardConnectA(hcontext: usize, szreader: P0, dwsharemode: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardConnectA ( hcontext : usize , szreader : :: windows::core::PCSTR , dwsharemode : u32 , dwpreferredprotocols : u32 , phcard : *mut usize , pdwactiveprotocol : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardConnectA ( hcontext : usize , szreader : :: windows::core::PCSTR , dwsharemode : u32 , dwpreferredprotocols : u32 , phcard : *mut usize , pdwactiveprotocol : *mut u32 ) -> i32 ); SCardConnectA(hcontext, szreader.into().abi(), dwsharemode, dwpreferredprotocols, phcard, pdwactiveprotocol) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -546,37 +546,37 @@ pub unsafe fn SCardConnectW(hcontext: usize, szreader: P0, dwsharemode: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardConnectW ( hcontext : usize , szreader : :: windows::core::PCWSTR , dwsharemode : u32 , dwpreferredprotocols : u32 , phcard : *mut usize , pdwactiveprotocol : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardConnectW ( hcontext : usize , szreader : :: windows::core::PCWSTR , dwsharemode : u32 , dwpreferredprotocols : u32 , phcard : *mut usize , pdwactiveprotocol : *mut u32 ) -> i32 ); SCardConnectW(hcontext, szreader.into().abi(), dwsharemode, dwpreferredprotocols, phcard, pdwactiveprotocol) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardControl(hcard: usize, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, cbinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, cboutbuffersize: u32, lpbytesreturned: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardControl ( hcard : usize , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardControl ( hcard : usize , dwcontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , cbinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , cboutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> i32 ); SCardControl(hcard, dwcontrolcode, lpinbuffer, cbinbuffersize, lpoutbuffer, cboutbuffersize, lpbytesreturned) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardDisconnect(hcard: usize, dwdisposition: u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardDisconnect ( hcard : usize , dwdisposition : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardDisconnect ( hcard : usize , dwdisposition : u32 ) -> i32 ); SCardDisconnect(hcard, dwdisposition) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardDlgExtendedError() -> i32 { - ::windows::core::link ! ( "scarddlg.dll""system" fn SCardDlgExtendedError ( ) -> i32 ); + ::windows::imp::link ! ( "scarddlg.dll""system" fn SCardDlgExtendedError ( ) -> i32 ); SCardDlgExtendedError() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardEndTransaction(hcard: usize, dwdisposition: u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardEndTransaction ( hcard : usize , dwdisposition : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardEndTransaction ( hcard : usize , dwdisposition : u32 ) -> i32 ); SCardEndTransaction(hcard, dwdisposition) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardEstablishContext(dwscope: SCARD_SCOPE, pvreserved1: ::core::option::Option<*const ::core::ffi::c_void>, pvreserved2: ::core::option::Option<*const ::core::ffi::c_void>, phcontext: *mut usize) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardEstablishContext ( dwscope : SCARD_SCOPE , pvreserved1 : *const ::core::ffi::c_void , pvreserved2 : *const ::core::ffi::c_void , phcontext : *mut usize ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardEstablishContext ( dwscope : SCARD_SCOPE , pvreserved1 : *const ::core::ffi::c_void , pvreserved2 : *const ::core::ffi::c_void , phcontext : *mut usize ) -> i32 ); SCardEstablishContext(dwscope, ::core::mem::transmute(pvreserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvreserved2.unwrap_or(::std::ptr::null())), phcontext) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -585,7 +585,7 @@ pub unsafe fn SCardForgetCardTypeA(hcontext: usize, szcardname: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardForgetCardTypeA ( hcontext : usize , szcardname : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardForgetCardTypeA ( hcontext : usize , szcardname : :: windows::core::PCSTR ) -> i32 ); SCardForgetCardTypeA(hcontext, szcardname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -594,7 +594,7 @@ pub unsafe fn SCardForgetCardTypeW(hcontext: usize, szcardname: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardForgetCardTypeW ( hcontext : usize , szcardname : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardForgetCardTypeW ( hcontext : usize , szcardname : :: windows::core::PCWSTR ) -> i32 ); SCardForgetCardTypeW(hcontext, szcardname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -603,7 +603,7 @@ pub unsafe fn SCardForgetReaderA(hcontext: usize, szreadername: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardForgetReaderA ( hcontext : usize , szreadername : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardForgetReaderA ( hcontext : usize , szreadername : :: windows::core::PCSTR ) -> i32 ); SCardForgetReaderA(hcontext, szreadername.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -612,7 +612,7 @@ pub unsafe fn SCardForgetReaderGroupA(hcontext: usize, szgroupname: P0) -> i where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardForgetReaderGroupA ( hcontext : usize , szgroupname : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardForgetReaderGroupA ( hcontext : usize , szgroupname : :: windows::core::PCSTR ) -> i32 ); SCardForgetReaderGroupA(hcontext, szgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -621,7 +621,7 @@ pub unsafe fn SCardForgetReaderGroupW(hcontext: usize, szgroupname: P0) -> i where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardForgetReaderGroupW ( hcontext : usize , szgroupname : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardForgetReaderGroupW ( hcontext : usize , szgroupname : :: windows::core::PCWSTR ) -> i32 ); SCardForgetReaderGroupW(hcontext, szgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -630,19 +630,19 @@ pub unsafe fn SCardForgetReaderW(hcontext: usize, szreadername: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardForgetReaderW ( hcontext : usize , szreadername : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardForgetReaderW ( hcontext : usize , szreadername : :: windows::core::PCWSTR ) -> i32 ); SCardForgetReaderW(hcontext, szreadername.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardFreeMemory(hcontext: usize, pvmem: *const ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardFreeMemory ( hcontext : usize , pvmem : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardFreeMemory ( hcontext : usize , pvmem : *const ::core::ffi::c_void ) -> i32 ); SCardFreeMemory(hcontext, pvmem) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardGetAttrib(hcard: usize, dwattrid: u32, pbattr: ::core::option::Option<*mut u8>, pcbattrlen: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetAttrib ( hcard : usize , dwattrid : u32 , pbattr : *mut u8 , pcbattrlen : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetAttrib ( hcard : usize , dwattrid : u32 , pbattr : *mut u8 , pcbattrlen : *mut u32 ) -> i32 ); SCardGetAttrib(hcard, dwattrid, ::core::mem::transmute(pbattr.unwrap_or(::std::ptr::null_mut())), pcbattrlen) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -651,7 +651,7 @@ pub unsafe fn SCardGetCardTypeProviderNameA(hcontext: usize, szcardname: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetCardTypeProviderNameA ( hcontext : usize , szcardname : :: windows::core::PCSTR , dwproviderid : u32 , szprovider : :: windows::core::PSTR , pcchprovider : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetCardTypeProviderNameA ( hcontext : usize , szcardname : :: windows::core::PCSTR , dwproviderid : u32 , szprovider : :: windows::core::PSTR , pcchprovider : *mut u32 ) -> i32 ); SCardGetCardTypeProviderNameA(hcontext, szcardname.into().abi(), dwproviderid, ::core::mem::transmute(szprovider), pcchprovider) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -660,7 +660,7 @@ pub unsafe fn SCardGetCardTypeProviderNameW(hcontext: usize, szcardname: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetCardTypeProviderNameW ( hcontext : usize , szcardname : :: windows::core::PCWSTR , dwproviderid : u32 , szprovider : :: windows::core::PWSTR , pcchprovider : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetCardTypeProviderNameW ( hcontext : usize , szcardname : :: windows::core::PCWSTR , dwproviderid : u32 , szprovider : :: windows::core::PWSTR , pcchprovider : *mut u32 ) -> i32 ); SCardGetCardTypeProviderNameW(hcontext, szcardname.into().abi(), dwproviderid, ::core::mem::transmute(szprovider), pcchprovider) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -669,7 +669,7 @@ pub unsafe fn SCardGetDeviceTypeIdA(hcontext: usize, szreadername: P0, pdwde where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetDeviceTypeIdA ( hcontext : usize , szreadername : :: windows::core::PCSTR , pdwdevicetypeid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetDeviceTypeIdA ( hcontext : usize , szreadername : :: windows::core::PCSTR , pdwdevicetypeid : *mut u32 ) -> i32 ); SCardGetDeviceTypeIdA(hcontext, szreadername.into().abi(), pdwdevicetypeid) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -678,7 +678,7 @@ pub unsafe fn SCardGetDeviceTypeIdW(hcontext: usize, szreadername: P0, pdwde where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetDeviceTypeIdW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , pdwdevicetypeid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetDeviceTypeIdW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , pdwdevicetypeid : *mut u32 ) -> i32 ); SCardGetDeviceTypeIdW(hcontext, szreadername.into().abi(), pdwdevicetypeid) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -687,7 +687,7 @@ pub unsafe fn SCardGetProviderIdA(hcontext: usize, szcard: P0, pguidprovider where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetProviderIdA ( hcontext : usize , szcard : :: windows::core::PCSTR , pguidproviderid : *mut :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetProviderIdA ( hcontext : usize , szcard : :: windows::core::PCSTR , pguidproviderid : *mut :: windows::core::GUID ) -> i32 ); SCardGetProviderIdA(hcontext, szcard.into().abi(), pguidproviderid) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -696,7 +696,7 @@ pub unsafe fn SCardGetProviderIdW(hcontext: usize, szcard: P0, pguidprovider where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetProviderIdW ( hcontext : usize , szcard : :: windows::core::PCWSTR , pguidproviderid : *mut :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetProviderIdW ( hcontext : usize , szcard : :: windows::core::PCWSTR , pguidproviderid : *mut :: windows::core::GUID ) -> i32 ); SCardGetProviderIdW(hcontext, szcard.into().abi(), pguidproviderid) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -705,7 +705,7 @@ pub unsafe fn SCardGetReaderDeviceInstanceIdA(hcontext: usize, szreadername: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetReaderDeviceInstanceIdA ( hcontext : usize , szreadername : :: windows::core::PCSTR , szdeviceinstanceid : :: windows::core::PSTR , pcchdeviceinstanceid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetReaderDeviceInstanceIdA ( hcontext : usize , szreadername : :: windows::core::PCSTR , szdeviceinstanceid : :: windows::core::PSTR , pcchdeviceinstanceid : *mut u32 ) -> i32 ); SCardGetReaderDeviceInstanceIdA(hcontext, szreadername.into().abi(), ::core::mem::transmute(szdeviceinstanceid), pcchdeviceinstanceid) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -714,7 +714,7 @@ pub unsafe fn SCardGetReaderDeviceInstanceIdW(hcontext: usize, szreadername: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetReaderDeviceInstanceIdW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , szdeviceinstanceid : :: windows::core::PWSTR , pcchdeviceinstanceid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetReaderDeviceInstanceIdW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , szdeviceinstanceid : :: windows::core::PWSTR , pcchdeviceinstanceid : *mut u32 ) -> i32 ); SCardGetReaderDeviceInstanceIdW(hcontext, szreadername.into().abi(), ::core::mem::transmute(szdeviceinstanceid), pcchdeviceinstanceid) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -723,7 +723,7 @@ pub unsafe fn SCardGetReaderIconA(hcontext: usize, szreadername: P0, pbicon: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetReaderIconA ( hcontext : usize , szreadername : :: windows::core::PCSTR , pbicon : *mut u8 , pcbicon : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetReaderIconA ( hcontext : usize , szreadername : :: windows::core::PCSTR , pbicon : *mut u8 , pcbicon : *mut u32 ) -> i32 ); SCardGetReaderIconA(hcontext, szreadername.into().abi(), pbicon, pcbicon) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -732,25 +732,25 @@ pub unsafe fn SCardGetReaderIconW(hcontext: usize, szreadername: P0, pbicon: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetReaderIconW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , pbicon : *mut u8 , pcbicon : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetReaderIconW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , pbicon : *mut u8 , pcbicon : *mut u32 ) -> i32 ); SCardGetReaderIconW(hcontext, szreadername.into().abi(), pbicon, pcbicon) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardGetStatusChangeA(hcontext: usize, dwtimeout: u32, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetStatusChangeA ( hcontext : usize , dwtimeout : u32 , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetStatusChangeA ( hcontext : usize , dwtimeout : u32 , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); SCardGetStatusChangeA(hcontext, dwtimeout, rgreaderstates, creaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardGetStatusChangeW(hcontext: usize, dwtimeout: u32, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetStatusChangeW ( hcontext : usize , dwtimeout : u32 , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetStatusChangeW ( hcontext : usize , dwtimeout : u32 , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); SCardGetStatusChangeW(hcontext, dwtimeout, rgreaderstates, creaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardGetTransmitCount(hcard: usize, pctransmitcount: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardGetTransmitCount ( hcard : usize , pctransmitcount : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardGetTransmitCount ( hcard : usize , pctransmitcount : *mut u32 ) -> i32 ); SCardGetTransmitCount(hcard, pctransmitcount) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -759,7 +759,7 @@ pub unsafe fn SCardIntroduceCardTypeA(hcontext: usize, szcardname: P0, pguid where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardIntroduceCardTypeA ( hcontext : usize , szcardname : :: windows::core::PCSTR , pguidprimaryprovider : *const :: windows::core::GUID , rgguidinterfaces : *const :: windows::core::GUID , dwinterfacecount : u32 , pbatr : *const u8 , pbatrmask : *const u8 , cbatrlen : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardIntroduceCardTypeA ( hcontext : usize , szcardname : :: windows::core::PCSTR , pguidprimaryprovider : *const :: windows::core::GUID , rgguidinterfaces : *const :: windows::core::GUID , dwinterfacecount : u32 , pbatr : *const u8 , pbatrmask : *const u8 , cbatrlen : u32 ) -> i32 ); SCardIntroduceCardTypeA(hcontext, szcardname.into().abi(), ::core::mem::transmute(pguidprimaryprovider.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgguidinterfaces.unwrap_or(::std::ptr::null())), dwinterfacecount, pbatr, pbatrmask, cbatrlen) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -768,7 +768,7 @@ pub unsafe fn SCardIntroduceCardTypeW(hcontext: usize, szcardname: P0, pguid where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardIntroduceCardTypeW ( hcontext : usize , szcardname : :: windows::core::PCWSTR , pguidprimaryprovider : *const :: windows::core::GUID , rgguidinterfaces : *const :: windows::core::GUID , dwinterfacecount : u32 , pbatr : *const u8 , pbatrmask : *const u8 , cbatrlen : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardIntroduceCardTypeW ( hcontext : usize , szcardname : :: windows::core::PCWSTR , pguidprimaryprovider : *const :: windows::core::GUID , rgguidinterfaces : *const :: windows::core::GUID , dwinterfacecount : u32 , pbatr : *const u8 , pbatrmask : *const u8 , cbatrlen : u32 ) -> i32 ); SCardIntroduceCardTypeW(hcontext, szcardname.into().abi(), ::core::mem::transmute(pguidprimaryprovider.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgguidinterfaces.unwrap_or(::std::ptr::null())), dwinterfacecount, pbatr, pbatrmask, cbatrlen) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -778,7 +778,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardIntroduceReaderA ( hcontext : usize , szreadername : :: windows::core::PCSTR , szdevicename : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardIntroduceReaderA ( hcontext : usize , szreadername : :: windows::core::PCSTR , szdevicename : :: windows::core::PCSTR ) -> i32 ); SCardIntroduceReaderA(hcontext, szreadername.into().abi(), szdevicename.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -787,7 +787,7 @@ pub unsafe fn SCardIntroduceReaderGroupA(hcontext: usize, szgroupname: P0) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardIntroduceReaderGroupA ( hcontext : usize , szgroupname : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardIntroduceReaderGroupA ( hcontext : usize , szgroupname : :: windows::core::PCSTR ) -> i32 ); SCardIntroduceReaderGroupA(hcontext, szgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -796,7 +796,7 @@ pub unsafe fn SCardIntroduceReaderGroupW(hcontext: usize, szgroupname: P0) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardIntroduceReaderGroupW ( hcontext : usize , szgroupname : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardIntroduceReaderGroupW ( hcontext : usize , szgroupname : :: windows::core::PCWSTR ) -> i32 ); SCardIntroduceReaderGroupW(hcontext, szgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -806,25 +806,25 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardIntroduceReaderW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , szdevicename : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardIntroduceReaderW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , szdevicename : :: windows::core::PCWSTR ) -> i32 ); SCardIntroduceReaderW(hcontext, szreadername.into().abi(), szdevicename.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardIsValidContext(hcontext: usize) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardIsValidContext ( hcontext : usize ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardIsValidContext ( hcontext : usize ) -> i32 ); SCardIsValidContext(hcontext) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardListCardsA(hcontext: usize, pbatr: ::core::option::Option<*const u8>, rgquidinterfaces: ::core::option::Option<&[::windows::core::GUID]>, mszcards: ::windows::core::PSTR, pcchcards: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListCardsA ( hcontext : usize , pbatr : *const u8 , rgquidinterfaces : *const :: windows::core::GUID , cguidinterfacecount : u32 , mszcards : :: windows::core::PSTR , pcchcards : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListCardsA ( hcontext : usize , pbatr : *const u8 , rgquidinterfaces : *const :: windows::core::GUID , cguidinterfacecount : u32 , mszcards : :: windows::core::PSTR , pcchcards : *mut u32 ) -> i32 ); SCardListCardsA(hcontext, ::core::mem::transmute(pbatr.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgquidinterfaces.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgquidinterfaces.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(mszcards), pcchcards) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardListCardsW(hcontext: usize, pbatr: ::core::option::Option<*const u8>, rgquidinterfaces: ::core::option::Option<&[::windows::core::GUID]>, mszcards: ::windows::core::PWSTR, pcchcards: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListCardsW ( hcontext : usize , pbatr : *const u8 , rgquidinterfaces : *const :: windows::core::GUID , cguidinterfacecount : u32 , mszcards : :: windows::core::PWSTR , pcchcards : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListCardsW ( hcontext : usize , pbatr : *const u8 , rgquidinterfaces : *const :: windows::core::GUID , cguidinterfacecount : u32 , mszcards : :: windows::core::PWSTR , pcchcards : *mut u32 ) -> i32 ); SCardListCardsW(hcontext, ::core::mem::transmute(pbatr.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgquidinterfaces.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgquidinterfaces.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(mszcards), pcchcards) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -833,7 +833,7 @@ pub unsafe fn SCardListInterfacesA(hcontext: usize, szcard: P0, pguidinterfa where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListInterfacesA ( hcontext : usize , szcard : :: windows::core::PCSTR , pguidinterfaces : *mut :: windows::core::GUID , pcguidinterfaces : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListInterfacesA ( hcontext : usize , szcard : :: windows::core::PCSTR , pguidinterfaces : *mut :: windows::core::GUID , pcguidinterfaces : *mut u32 ) -> i32 ); SCardListInterfacesA(hcontext, szcard.into().abi(), pguidinterfaces, pcguidinterfaces) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -842,19 +842,19 @@ pub unsafe fn SCardListInterfacesW(hcontext: usize, szcard: P0, pguidinterfa where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListInterfacesW ( hcontext : usize , szcard : :: windows::core::PCWSTR , pguidinterfaces : *mut :: windows::core::GUID , pcguidinterfaces : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListInterfacesW ( hcontext : usize , szcard : :: windows::core::PCWSTR , pguidinterfaces : *mut :: windows::core::GUID , pcguidinterfaces : *mut u32 ) -> i32 ); SCardListInterfacesW(hcontext, szcard.into().abi(), pguidinterfaces, pcguidinterfaces) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardListReaderGroupsA(hcontext: usize, mszgroups: ::windows::core::PSTR, pcchgroups: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListReaderGroupsA ( hcontext : usize , mszgroups : :: windows::core::PSTR , pcchgroups : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListReaderGroupsA ( hcontext : usize , mszgroups : :: windows::core::PSTR , pcchgroups : *mut u32 ) -> i32 ); SCardListReaderGroupsA(hcontext, ::core::mem::transmute(mszgroups), pcchgroups) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardListReaderGroupsW(hcontext: usize, mszgroups: ::windows::core::PWSTR, pcchgroups: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListReaderGroupsW ( hcontext : usize , mszgroups : :: windows::core::PWSTR , pcchgroups : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListReaderGroupsW ( hcontext : usize , mszgroups : :: windows::core::PWSTR , pcchgroups : *mut u32 ) -> i32 ); SCardListReaderGroupsW(hcontext, ::core::mem::transmute(mszgroups), pcchgroups) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -863,7 +863,7 @@ pub unsafe fn SCardListReadersA(hcontext: usize, mszgroups: P0, mszreaders: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListReadersA ( hcontext : usize , mszgroups : :: windows::core::PCSTR , mszreaders : :: windows::core::PSTR , pcchreaders : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListReadersA ( hcontext : usize , mszgroups : :: windows::core::PCSTR , mszreaders : :: windows::core::PSTR , pcchreaders : *mut u32 ) -> i32 ); SCardListReadersA(hcontext, mszgroups.into().abi(), ::core::mem::transmute(mszreaders), pcchreaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -872,7 +872,7 @@ pub unsafe fn SCardListReadersW(hcontext: usize, mszgroups: P0, mszreaders: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListReadersW ( hcontext : usize , mszgroups : :: windows::core::PCWSTR , mszreaders : :: windows::core::PWSTR , pcchreaders : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListReadersW ( hcontext : usize , mszgroups : :: windows::core::PCWSTR , mszreaders : :: windows::core::PWSTR , pcchreaders : *mut u32 ) -> i32 ); SCardListReadersW(hcontext, mszgroups.into().abi(), ::core::mem::transmute(mszreaders), pcchreaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -881,7 +881,7 @@ pub unsafe fn SCardListReadersWithDeviceInstanceIdA(hcontext: usize, szdevic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListReadersWithDeviceInstanceIdA ( hcontext : usize , szdeviceinstanceid : :: windows::core::PCSTR , mszreaders : :: windows::core::PSTR , pcchreaders : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListReadersWithDeviceInstanceIdA ( hcontext : usize , szdeviceinstanceid : :: windows::core::PCSTR , mszreaders : :: windows::core::PSTR , pcchreaders : *mut u32 ) -> i32 ); SCardListReadersWithDeviceInstanceIdA(hcontext, szdeviceinstanceid.into().abi(), ::core::mem::transmute(mszreaders), pcchreaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -890,7 +890,7 @@ pub unsafe fn SCardListReadersWithDeviceInstanceIdW(hcontext: usize, szdevic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardListReadersWithDeviceInstanceIdW ( hcontext : usize , szdeviceinstanceid : :: windows::core::PCWSTR , mszreaders : :: windows::core::PWSTR , pcchreaders : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardListReadersWithDeviceInstanceIdW ( hcontext : usize , szdeviceinstanceid : :: windows::core::PCWSTR , mszreaders : :: windows::core::PWSTR , pcchreaders : *mut u32 ) -> i32 ); SCardListReadersWithDeviceInstanceIdW(hcontext, szdeviceinstanceid.into().abi(), ::core::mem::transmute(mszreaders), pcchreaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -899,19 +899,19 @@ pub unsafe fn SCardLocateCardsA(hcontext: usize, mszcards: P0, rgreaderstate where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardLocateCardsA ( hcontext : usize , mszcards : :: windows::core::PCSTR , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardLocateCardsA ( hcontext : usize , mszcards : :: windows::core::PCSTR , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); SCardLocateCardsA(hcontext, mszcards.into().abi(), rgreaderstates, creaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardLocateCardsByATRA(hcontext: usize, rgatrmasks: *const SCARD_ATRMASK, catrs: u32, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardLocateCardsByATRA ( hcontext : usize , rgatrmasks : *const SCARD_ATRMASK , catrs : u32 , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardLocateCardsByATRA ( hcontext : usize , rgatrmasks : *const SCARD_ATRMASK , catrs : u32 , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); SCardLocateCardsByATRA(hcontext, rgatrmasks, catrs, rgreaderstates, creaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardLocateCardsByATRW(hcontext: usize, rgatrmasks: *const SCARD_ATRMASK, catrs: u32, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardLocateCardsByATRW ( hcontext : usize , rgatrmasks : *const SCARD_ATRMASK , catrs : u32 , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardLocateCardsByATRW ( hcontext : usize , rgatrmasks : *const SCARD_ATRMASK , catrs : u32 , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); SCardLocateCardsByATRW(hcontext, rgatrmasks, catrs, rgreaderstates, creaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -920,7 +920,7 @@ pub unsafe fn SCardLocateCardsW(hcontext: usize, mszcards: P0, rgreaderstate where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardLocateCardsW ( hcontext : usize , mszcards : :: windows::core::PCWSTR , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardLocateCardsW ( hcontext : usize , mszcards : :: windows::core::PCWSTR , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); SCardLocateCardsW(hcontext, mszcards.into().abi(), rgreaderstates, creaders) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -929,7 +929,7 @@ pub unsafe fn SCardReadCacheA(hcontext: usize, cardidentifier: *const ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardReadCacheA ( hcontext : usize , cardidentifier : *const :: windows::core::GUID , freshnesscounter : u32 , lookupname : :: windows::core::PCSTR , data : *mut u8 , datalen : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardReadCacheA ( hcontext : usize , cardidentifier : *const :: windows::core::GUID , freshnesscounter : u32 , lookupname : :: windows::core::PCSTR , data : *mut u8 , datalen : *mut u32 ) -> i32 ); SCardReadCacheA(hcontext, cardidentifier, freshnesscounter, lookupname.into().abi(), data, datalen) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -938,25 +938,25 @@ pub unsafe fn SCardReadCacheW(hcontext: usize, cardidentifier: *const ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardReadCacheW ( hcontext : usize , cardidentifier : *const :: windows::core::GUID , freshnesscounter : u32 , lookupname : :: windows::core::PCWSTR , data : *mut u8 , datalen : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardReadCacheW ( hcontext : usize , cardidentifier : *const :: windows::core::GUID , freshnesscounter : u32 , lookupname : :: windows::core::PCWSTR , data : *mut u8 , datalen : *mut u32 ) -> i32 ); SCardReadCacheW(hcontext, cardidentifier, freshnesscounter, lookupname.into().abi(), data, datalen) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardReconnect(hcard: usize, dwsharemode: u32, dwpreferredprotocols: u32, dwinitialization: u32, pdwactiveprotocol: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardReconnect ( hcard : usize , dwsharemode : u32 , dwpreferredprotocols : u32 , dwinitialization : u32 , pdwactiveprotocol : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardReconnect ( hcard : usize , dwsharemode : u32 , dwpreferredprotocols : u32 , dwinitialization : u32 , pdwactiveprotocol : *mut u32 ) -> i32 ); SCardReconnect(hcard, dwsharemode, dwpreferredprotocols, dwinitialization, ::core::mem::transmute(pdwactiveprotocol.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardReleaseContext(hcontext: usize) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardReleaseContext ( hcontext : usize ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardReleaseContext ( hcontext : usize ) -> i32 ); SCardReleaseContext(hcontext) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardReleaseStartedEvent() { - ::windows::core::link ! ( "winscard.dll""system" fn SCardReleaseStartedEvent ( ) -> ( ) ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardReleaseStartedEvent ( ) -> ( ) ); SCardReleaseStartedEvent() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -966,7 +966,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardRemoveReaderFromGroupA ( hcontext : usize , szreadername : :: windows::core::PCSTR , szgroupname : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardRemoveReaderFromGroupA ( hcontext : usize , szreadername : :: windows::core::PCSTR , szgroupname : :: windows::core::PCSTR ) -> i32 ); SCardRemoveReaderFromGroupA(hcontext, szreadername.into().abi(), szgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -976,13 +976,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardRemoveReaderFromGroupW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , szgroupname : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardRemoveReaderFromGroupW ( hcontext : usize , szreadername : :: windows::core::PCWSTR , szgroupname : :: windows::core::PCWSTR ) -> i32 ); SCardRemoveReaderFromGroupW(hcontext, szreadername.into().abi(), szgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardSetAttrib(hcard: usize, dwattrid: u32, pbattr: &[u8]) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardSetAttrib ( hcard : usize , dwattrid : u32 , pbattr : *const u8 , cbattrlen : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardSetAttrib ( hcard : usize , dwattrid : u32 , pbattr : *const u8 , cbattrlen : u32 ) -> i32 ); SCardSetAttrib(hcard, dwattrid, ::core::mem::transmute(pbattr.as_ptr()), pbattr.len() as _) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -992,7 +992,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardSetCardTypeProviderNameA ( hcontext : usize , szcardname : :: windows::core::PCSTR , dwproviderid : u32 , szprovider : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardSetCardTypeProviderNameA ( hcontext : usize , szcardname : :: windows::core::PCSTR , dwproviderid : u32 , szprovider : :: windows::core::PCSTR ) -> i32 ); SCardSetCardTypeProviderNameA(hcontext, szcardname.into().abi(), dwproviderid, szprovider.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -1002,45 +1002,45 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardSetCardTypeProviderNameW ( hcontext : usize , szcardname : :: windows::core::PCWSTR , dwproviderid : u32 , szprovider : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardSetCardTypeProviderNameW ( hcontext : usize , szcardname : :: windows::core::PCWSTR , dwproviderid : u32 , szprovider : :: windows::core::PCWSTR ) -> i32 ); SCardSetCardTypeProviderNameW(hcontext, szcardname.into().abi(), dwproviderid, szprovider.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardState(hcard: usize, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardState ( hcard : usize , pdwstate : *mut u32 , pdwprotocol : *mut u32 , pbatr : *mut u8 , pcbatrlen : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardState ( hcard : usize , pdwstate : *mut u32 , pdwprotocol : *mut u32 , pbatr : *mut u8 , pcbatrlen : *mut u32 ) -> i32 ); SCardState(hcard, pdwstate, pdwprotocol, pbatr, pcbatrlen) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardStatusA(hcard: usize, mszreadernames: ::windows::core::PSTR, pcchreaderlen: ::core::option::Option<*mut u32>, pdwstate: ::core::option::Option<*mut u32>, pdwprotocol: ::core::option::Option<*mut u32>, pbatr: ::core::option::Option<*mut u8>, pcbatrlen: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardStatusA ( hcard : usize , mszreadernames : :: windows::core::PSTR , pcchreaderlen : *mut u32 , pdwstate : *mut u32 , pdwprotocol : *mut u32 , pbatr : *mut u8 , pcbatrlen : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardStatusA ( hcard : usize , mszreadernames : :: windows::core::PSTR , pcchreaderlen : *mut u32 , pdwstate : *mut u32 , pdwprotocol : *mut u32 , pbatr : *mut u8 , pcbatrlen : *mut u32 ) -> i32 ); SCardStatusA(hcard, ::core::mem::transmute(mszreadernames), ::core::mem::transmute(pcchreaderlen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwprotocol.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbatr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbatrlen.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardStatusW(hcard: usize, mszreadernames: ::windows::core::PWSTR, pcchreaderlen: ::core::option::Option<*mut u32>, pdwstate: ::core::option::Option<*mut u32>, pdwprotocol: ::core::option::Option<*mut u32>, pbatr: ::core::option::Option<*mut u8>, pcbatrlen: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardStatusW ( hcard : usize , mszreadernames : :: windows::core::PWSTR , pcchreaderlen : *mut u32 , pdwstate : *mut u32 , pdwprotocol : *mut u32 , pbatr : *mut u8 , pcbatrlen : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardStatusW ( hcard : usize , mszreadernames : :: windows::core::PWSTR , pcchreaderlen : *mut u32 , pdwstate : *mut u32 , pdwprotocol : *mut u32 , pbatr : *mut u8 , pcbatrlen : *mut u32 ) -> i32 ); SCardStatusW(hcard, ::core::mem::transmute(mszreadernames), ::core::mem::transmute(pcchreaderlen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwprotocol.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbatr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbatrlen.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] #[inline] pub unsafe fn SCardTransmit(hcard: usize, piosendpci: *const SCARD_IO_REQUEST, pbsendbuffer: &[u8], piorecvpci: ::core::option::Option<*mut SCARD_IO_REQUEST>, pbrecvbuffer: *mut u8, pcbrecvlength: *mut u32) -> i32 { - ::windows::core::link ! ( "winscard.dll""system" fn SCardTransmit ( hcard : usize , piosendpci : *const SCARD_IO_REQUEST , pbsendbuffer : *const u8 , cbsendlength : u32 , piorecvpci : *mut SCARD_IO_REQUEST , pbrecvbuffer : *mut u8 , pcbrecvlength : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardTransmit ( hcard : usize , piosendpci : *const SCARD_IO_REQUEST , pbsendbuffer : *const u8 , cbsendlength : u32 , piorecvpci : *mut SCARD_IO_REQUEST , pbrecvbuffer : *mut u8 , pcbrecvlength : *mut u32 ) -> i32 ); SCardTransmit(hcard, piosendpci, ::core::mem::transmute(pbsendbuffer.as_ptr()), pbsendbuffer.len() as _, ::core::mem::transmute(piorecvpci.unwrap_or(::std::ptr::null_mut())), pbrecvbuffer, pcbrecvlength) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn SCardUIDlgSelectCardA(param0: *mut OPENCARDNAME_EXA) -> i32 { - ::windows::core::link ! ( "scarddlg.dll""system" fn SCardUIDlgSelectCardA ( param0 : *mut OPENCARDNAME_EXA ) -> i32 ); + ::windows::imp::link ! ( "scarddlg.dll""system" fn SCardUIDlgSelectCardA ( param0 : *mut OPENCARDNAME_EXA ) -> i32 ); SCardUIDlgSelectCardA(param0) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn SCardUIDlgSelectCardW(param0: *mut OPENCARDNAME_EXW) -> i32 { - ::windows::core::link ! ( "scarddlg.dll""system" fn SCardUIDlgSelectCardW ( param0 : *mut OPENCARDNAME_EXW ) -> i32 ); + ::windows::imp::link ! ( "scarddlg.dll""system" fn SCardUIDlgSelectCardW ( param0 : *mut OPENCARDNAME_EXW ) -> i32 ); SCardUIDlgSelectCardW(param0) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -1049,7 +1049,7 @@ pub unsafe fn SCardWriteCacheA(hcontext: usize, cardidentifier: *const ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardWriteCacheA ( hcontext : usize , cardidentifier : *const :: windows::core::GUID , freshnesscounter : u32 , lookupname : :: windows::core::PCSTR , data : *const u8 , datalen : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardWriteCacheA ( hcontext : usize , cardidentifier : *const :: windows::core::GUID , freshnesscounter : u32 , lookupname : :: windows::core::PCSTR , data : *const u8 , datalen : u32 ) -> i32 ); SCardWriteCacheA(hcontext, cardidentifier, freshnesscounter, lookupname.into().abi(), ::core::mem::transmute(data.as_ptr()), data.len() as _) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -1058,7 +1058,7 @@ pub unsafe fn SCardWriteCacheW(hcontext: usize, cardidentifier: *const ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winscard.dll""system" fn SCardWriteCacheW ( hcontext : usize , cardidentifier : *const :: windows::core::GUID , freshnesscounter : u32 , lookupname : :: windows::core::PCWSTR , data : *const u8 , datalen : u32 ) -> i32 ); + ::windows::imp::link ! ( "winscard.dll""system" fn SCardWriteCacheW ( hcontext : usize , cardidentifier : *const :: windows::core::GUID , freshnesscounter : u32 , lookupname : :: windows::core::PCWSTR , data : *const u8 , datalen : u32 ) -> i32 ); SCardWriteCacheW(hcontext, cardidentifier, freshnesscounter, lookupname.into().abi(), ::core::mem::transmute(data.as_ptr()), data.len() as _) } #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs index 92bbb75533..aab57bda7c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCATAdminAcquireContext(phcatadmin: *mut isize, pgsubsystem: ::core::option::Option<*const ::windows::core::GUID>, dwflags: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminAcquireContext ( phcatadmin : *mut isize , pgsubsystem : *const :: windows::core::GUID , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminAcquireContext ( phcatadmin : *mut isize , pgsubsystem : *const :: windows::core::GUID , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminAcquireContext(phcatadmin, ::core::mem::transmute(pgsubsystem.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -12,7 +12,7 @@ pub unsafe fn CryptCATAdminAcquireContext2(phcatadmin: *mut isize, pgsubsyst where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminAcquireContext2 ( phcatadmin : *mut isize , pgsubsystem : *const :: windows::core::GUID , pwszhashalgorithm : :: windows::core::PCWSTR , pstronghashpolicy : *const super:: CERT_STRONG_SIGN_PARA , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminAcquireContext2 ( phcatadmin : *mut isize , pgsubsystem : *const :: windows::core::GUID , pwszhashalgorithm : :: windows::core::PCWSTR , pstronghashpolicy : *const super:: CERT_STRONG_SIGN_PARA , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminAcquireContext2(phcatadmin, ::core::mem::transmute(pgsubsystem.unwrap_or(::std::ptr::null())), pwszhashalgorithm.into().abi(), ::core::mem::transmute(pstronghashpolicy.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] @@ -22,7 +22,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminAddCatalog ( hcatadmin : isize , pwszcatalogfile : :: windows::core::PCWSTR , pwszselectbasename : :: windows::core::PCWSTR , dwflags : u32 ) -> isize ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminAddCatalog ( hcatadmin : isize , pwszcatalogfile : :: windows::core::PCWSTR , pwszselectbasename : :: windows::core::PCWSTR , dwflags : u32 ) -> isize ); CryptCATAdminAddCatalog(hcatadmin, pwszcatalogfile.into().abi(), pwszselectbasename.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -32,7 +32,7 @@ pub unsafe fn CryptCATAdminCalcHashFromFileHandle(hfile: P0, pcbhash: *mut u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminCalcHashFromFileHandle ( hfile : super::super::super::Foundation:: HANDLE , pcbhash : *mut u32 , pbhash : *mut u8 , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminCalcHashFromFileHandle ( hfile : super::super::super::Foundation:: HANDLE , pcbhash : *mut u32 , pbhash : *mut u8 , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminCalcHashFromFileHandle(hfile.into(), pcbhash, ::core::mem::transmute(pbhash.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -42,13 +42,13 @@ pub unsafe fn CryptCATAdminCalcHashFromFileHandle2(hcatadmin: isize, hfile: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminCalcHashFromFileHandle2 ( hcatadmin : isize , hfile : super::super::super::Foundation:: HANDLE , pcbhash : *mut u32 , pbhash : *mut u8 , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminCalcHashFromFileHandle2 ( hcatadmin : isize , hfile : super::super::super::Foundation:: HANDLE , pcbhash : *mut u32 , pbhash : *mut u8 , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminCalcHashFromFileHandle2(hcatadmin, hfile.into(), pcbhash, ::core::mem::transmute(pbhash.unwrap_or(::std::ptr::null_mut())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] #[inline] pub unsafe fn CryptCATAdminEnumCatalogFromHash(hcatadmin: isize, pbhash: &[u8], dwflags: u32, phprevcatinfo: ::core::option::Option<*mut isize>) -> isize { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminEnumCatalogFromHash ( hcatadmin : isize , pbhash : *const u8 , cbhash : u32 , dwflags : u32 , phprevcatinfo : *mut isize ) -> isize ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminEnumCatalogFromHash ( hcatadmin : isize , pbhash : *const u8 , cbhash : u32 , dwflags : u32 , phprevcatinfo : *mut isize ) -> isize ); CryptCATAdminEnumCatalogFromHash(hcatadmin, ::core::mem::transmute(pbhash.as_ptr()), pbhash.len() as _, dwflags, ::core::mem::transmute(phprevcatinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -58,21 +58,21 @@ pub unsafe fn CryptCATAdminPauseServiceForBackup(dwflags: u32, fresume: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminPauseServiceForBackup ( dwflags : u32 , fresume : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminPauseServiceForBackup ( dwflags : u32 , fresume : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminPauseServiceForBackup(dwflags, fresume.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCATAdminReleaseCatalogContext(hcatadmin: isize, hcatinfo: isize, dwflags: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminReleaseCatalogContext ( hcatadmin : isize , hcatinfo : isize , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminReleaseCatalogContext ( hcatadmin : isize , hcatinfo : isize , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminReleaseCatalogContext(hcatadmin, hcatinfo, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCATAdminReleaseContext(hcatadmin: isize, dwflags: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminReleaseContext ( hcatadmin : isize , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminReleaseContext ( hcatadmin : isize , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminReleaseContext(hcatadmin, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -82,7 +82,7 @@ pub unsafe fn CryptCATAdminRemoveCatalog(hcatadmin: isize, pwszcatalogfile: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminRemoveCatalog ( hcatadmin : isize , pwszcatalogfile : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminRemoveCatalog ( hcatadmin : isize , pwszcatalogfile : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminRemoveCatalog(hcatadmin, pwszcatalogfile.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -92,7 +92,7 @@ pub unsafe fn CryptCATAdminResolveCatalogPath(hcatadmin: isize, pwszcatalogf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAdminResolveCatalogPath ( hcatadmin : isize , pwszcatalogfile : :: windows::core::PCWSTR , pscatinfo : *mut CATALOG_INFO , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAdminResolveCatalogPath ( hcatadmin : isize , pwszcatalogfile : :: windows::core::PCWSTR , pscatinfo : *mut CATALOG_INFO , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATAdminResolveCatalogPath(hcatadmin, pwszcatalogfile.into().abi(), pscatinfo, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -103,35 +103,35 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATAllocSortedMemberInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszreferencetag : :: windows::core::PCWSTR ) -> *mut CRYPTCATMEMBER ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATAllocSortedMemberInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszreferencetag : :: windows::core::PCWSTR ) -> *mut CRYPTCATMEMBER ); CryptCATAllocSortedMemberInfo(hcatalog.into(), pwszreferencetag.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCATCDFClose(pcdf: *mut CRYPTCATCDF) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATCDFClose ( pcdf : *mut CRYPTCATCDF ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATCDFClose ( pcdf : *mut CRYPTCATCDF ) -> super::super::super::Foundation:: BOOL ); CryptCATCDFClose(pcdf) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] #[inline] pub unsafe fn CryptCATCDFEnumAttributes(pcdf: *mut CRYPTCATCDF, pmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATCDFEnumAttributes ( pcdf : *mut CRYPTCATCDF , pmember : *mut CRYPTCATMEMBER , pprevattr : *mut CRYPTCATATTRIBUTE , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATATTRIBUTE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATCDFEnumAttributes ( pcdf : *mut CRYPTCATCDF , pmember : *mut CRYPTCATMEMBER , pprevattr : *mut CRYPTCATATTRIBUTE , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATATTRIBUTE ); CryptCATCDFEnumAttributes(pcdf, pmember, pprevattr, pfnparseerror) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCATCDFEnumCatAttributes(pcdf: *mut CRYPTCATCDF, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATCDFEnumCatAttributes ( pcdf : *mut CRYPTCATCDF , pprevattr : *mut CRYPTCATATTRIBUTE , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATATTRIBUTE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATCDFEnumCatAttributes ( pcdf : *mut CRYPTCATCDF , pprevattr : *mut CRYPTCATATTRIBUTE , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATATTRIBUTE ); CryptCATCDFEnumCatAttributes(pcdf, pprevattr, pfnparseerror) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] #[inline] pub unsafe fn CryptCATCDFEnumMembers(pcdf: *mut CRYPTCATCDF, pprevmember: *mut CRYPTCATMEMBER, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATMEMBER { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATCDFEnumMembers ( pcdf : *mut CRYPTCATCDF , pprevmember : *mut CRYPTCATMEMBER , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATMEMBER ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATCDFEnumMembers ( pcdf : *mut CRYPTCATCDF , pprevmember : *mut CRYPTCATMEMBER , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATMEMBER ); CryptCATCDFEnumMembers(pcdf, pprevmember, pfnparseerror) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -141,14 +141,14 @@ pub unsafe fn CryptCATCDFOpen(pwszfilepath: P0, pfnparseerror: PFN_CDF_PARSE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATCDFOpen ( pwszfilepath : :: windows::core::PCWSTR , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATCDF ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATCDFOpen ( pwszfilepath : :: windows::core::PCWSTR , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATCDF ); CryptCATCDFOpen(pwszfilepath.into().abi(), pfnparseerror) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCATCatalogInfoFromContext(hcatinfo: isize, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATCatalogInfoFromContext ( hcatinfo : isize , pscatinfo : *mut CATALOG_INFO , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATCatalogInfoFromContext ( hcatinfo : isize , pscatinfo : *mut CATALOG_INFO , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); CryptCATCatalogInfoFromContext(hcatinfo, pscatinfo, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -158,7 +158,7 @@ pub unsafe fn CryptCATClose(hcatalog: P0) -> super::super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATClose ( hcatalog : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATClose ( hcatalog : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); CryptCATClose(hcatalog.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -168,7 +168,7 @@ pub unsafe fn CryptCATEnumerateAttr(hcatalog: P0, pcatmember: *mut CRYPTCATM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATEnumerateAttr ( hcatalog : super::super::super::Foundation:: HANDLE , pcatmember : *mut CRYPTCATMEMBER , pprevattr : *mut CRYPTCATATTRIBUTE ) -> *mut CRYPTCATATTRIBUTE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATEnumerateAttr ( hcatalog : super::super::super::Foundation:: HANDLE , pcatmember : *mut CRYPTCATMEMBER , pprevattr : *mut CRYPTCATATTRIBUTE ) -> *mut CRYPTCATATTRIBUTE ); CryptCATEnumerateAttr(hcatalog.into(), pcatmember, pprevattr) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -178,7 +178,7 @@ pub unsafe fn CryptCATEnumerateCatAttr(hcatalog: P0, pprevattr: *mut CRYPTCA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATEnumerateCatAttr ( hcatalog : super::super::super::Foundation:: HANDLE , pprevattr : *mut CRYPTCATATTRIBUTE ) -> *mut CRYPTCATATTRIBUTE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATEnumerateCatAttr ( hcatalog : super::super::super::Foundation:: HANDLE , pprevattr : *mut CRYPTCATATTRIBUTE ) -> *mut CRYPTCATATTRIBUTE ); CryptCATEnumerateCatAttr(hcatalog.into(), pprevattr) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -188,7 +188,7 @@ pub unsafe fn CryptCATEnumerateMember(hcatalog: P0, pprevmember: *mut CRYPTC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATEnumerateMember ( hcatalog : super::super::super::Foundation:: HANDLE , pprevmember : *mut CRYPTCATMEMBER ) -> *mut CRYPTCATMEMBER ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATEnumerateMember ( hcatalog : super::super::super::Foundation:: HANDLE , pprevmember : *mut CRYPTCATMEMBER ) -> *mut CRYPTCATMEMBER ); CryptCATEnumerateMember(hcatalog.into(), pprevmember) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -198,7 +198,7 @@ pub unsafe fn CryptCATFreeSortedMemberInfo(hcatalog: P0, pcatmember: *mut CR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATFreeSortedMemberInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pcatmember : *mut CRYPTCATMEMBER ) -> ( ) ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATFreeSortedMemberInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pcatmember : *mut CRYPTCATMEMBER ) -> ( ) ); CryptCATFreeSortedMemberInfo(hcatalog.into(), pcatmember) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -209,7 +209,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATGetAttrInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pcatmember : *mut CRYPTCATMEMBER , pwszreferencetag : :: windows::core::PCWSTR ) -> *mut CRYPTCATATTRIBUTE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATGetAttrInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pcatmember : *mut CRYPTCATMEMBER , pwszreferencetag : :: windows::core::PCWSTR ) -> *mut CRYPTCATATTRIBUTE ); CryptCATGetAttrInfo(hcatalog.into(), pcatmember, pwszreferencetag.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -220,7 +220,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATGetCatAttrInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszreferencetag : :: windows::core::PCWSTR ) -> *mut CRYPTCATATTRIBUTE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATGetCatAttrInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszreferencetag : :: windows::core::PCWSTR ) -> *mut CRYPTCATATTRIBUTE ); CryptCATGetCatAttrInfo(hcatalog.into(), pwszreferencetag.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -231,14 +231,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATGetMemberInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszreferencetag : :: windows::core::PCWSTR ) -> *mut CRYPTCATMEMBER ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATGetMemberInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszreferencetag : :: windows::core::PCWSTR ) -> *mut CRYPTCATMEMBER ); CryptCATGetMemberInfo(hcatalog.into(), pwszreferencetag.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCATHandleFromStore(pcatstore: *mut CRYPTCATSTORE) -> super::super::super::Foundation::HANDLE { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATHandleFromStore ( pcatstore : *mut CRYPTCATSTORE ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATHandleFromStore ( pcatstore : *mut CRYPTCATSTORE ) -> super::super::super::Foundation:: HANDLE ); CryptCATHandleFromStore(pcatstore) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -248,7 +248,7 @@ pub unsafe fn CryptCATOpen(pwszfilename: P0, fdwopenflags: CRYPTCAT_OPEN_FLA where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATOpen ( pwszfilename : :: windows::core::PCWSTR , fdwopenflags : CRYPTCAT_OPEN_FLAGS , hprov : usize , dwpublicversion : CRYPTCAT_VERSION , dwencodingtype : u32 ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATOpen ( pwszfilename : :: windows::core::PCWSTR , fdwopenflags : CRYPTCAT_OPEN_FLAGS , hprov : usize , dwpublicversion : CRYPTCAT_VERSION , dwencodingtype : u32 ) -> super::super::super::Foundation:: HANDLE ); CryptCATOpen(pwszfilename.into().abi(), fdwopenflags, hprov, dwpublicversion, dwencodingtype) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -258,7 +258,7 @@ pub unsafe fn CryptCATPersistStore(hcatalog: P0) -> super::super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATPersistStore ( hcatalog : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATPersistStore ( hcatalog : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); CryptCATPersistStore(hcatalog.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -269,7 +269,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATPutAttrInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pcatmember : *mut CRYPTCATMEMBER , pwszreferencetag : :: windows::core::PCWSTR , dwattrtypeandaction : u32 , cbdata : u32 , pbdata : *mut u8 ) -> *mut CRYPTCATATTRIBUTE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATPutAttrInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pcatmember : *mut CRYPTCATMEMBER , pwszreferencetag : :: windows::core::PCWSTR , dwattrtypeandaction : u32 , cbdata : u32 , pbdata : *mut u8 ) -> *mut CRYPTCATATTRIBUTE ); CryptCATPutAttrInfo(hcatalog.into(), pcatmember, pwszreferencetag.into().abi(), dwattrtypeandaction, cbdata, pbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -280,7 +280,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATPutCatAttrInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszreferencetag : :: windows::core::PCWSTR , dwattrtypeandaction : u32 , cbdata : u32 , pbdata : *mut u8 ) -> *mut CRYPTCATATTRIBUTE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATPutCatAttrInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszreferencetag : :: windows::core::PCWSTR , dwattrtypeandaction : u32 , cbdata : u32 , pbdata : *mut u8 ) -> *mut CRYPTCATATTRIBUTE ); CryptCATPutCatAttrInfo(hcatalog.into(), pwszreferencetag.into().abi(), dwattrtypeandaction, cbdata, pbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -292,7 +292,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATPutMemberInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszfilename : :: windows::core::PCWSTR , pwszreferencetag : :: windows::core::PCWSTR , pgsubjecttype : *mut :: windows::core::GUID , dwcertversion : u32 , cbsipindirectdata : u32 , pbsipindirectdata : *mut u8 ) -> *mut CRYPTCATMEMBER ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATPutMemberInfo ( hcatalog : super::super::super::Foundation:: HANDLE , pwszfilename : :: windows::core::PCWSTR , pwszreferencetag : :: windows::core::PCWSTR , pgsubjecttype : *mut :: windows::core::GUID , dwcertversion : u32 , cbsipindirectdata : u32 , pbsipindirectdata : *mut u8 ) -> *mut CRYPTCATMEMBER ); CryptCATPutMemberInfo(hcatalog.into(), pwszfilename.into().abi(), pwszreferencetag.into().abi(), pgsubjecttype, dwcertversion, cbsipindirectdata, pbsipindirectdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -302,7 +302,7 @@ pub unsafe fn CryptCATStoreFromHandle(hcatalog: P0) -> *mut CRYPTCATSTORE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptCATStoreFromHandle ( hcatalog : super::super::super::Foundation:: HANDLE ) -> *mut CRYPTCATSTORE ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptCATStoreFromHandle ( hcatalog : super::super::super::Foundation:: HANDLE ) -> *mut CRYPTCATSTORE ); CryptCATStoreFromHandle(hcatalog.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] @@ -313,7 +313,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn IsCatalogFile ( hfile : super::super::super::Foundation:: HANDLE , pwszfilename : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn IsCatalogFile ( hfile : super::super::super::Foundation:: HANDLE , pwszfilename : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); IsCatalogFile(hfile.into(), pwszfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs index e0f262d21c..cb2592a54e 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs @@ -1,37 +1,37 @@ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvBackupClose(hbc: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupClose ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupClose ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CertSrvBackupClose(hbc).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvBackupEnd(hbc: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupEnd ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupEnd ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CertSrvBackupEnd(hbc).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvBackupFree(pv: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupFree ( pv : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupFree ( pv : *mut ::core::ffi::c_void ) -> ( ) ); CertSrvBackupFree(pv) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvBackupGetBackupLogsW(hbc: *const ::core::ffi::c_void, ppwszzbackuplogfiles: *mut ::windows::core::PWSTR, pcbsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupGetBackupLogsW ( hbc : *const ::core::ffi::c_void , ppwszzbackuplogfiles : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupGetBackupLogsW ( hbc : *const ::core::ffi::c_void , ppwszzbackuplogfiles : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); CertSrvBackupGetBackupLogsW(hbc, ppwszzbackuplogfiles, pcbsize).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvBackupGetDatabaseNamesW(hbc: *const ::core::ffi::c_void, ppwszzattachmentinformation: *mut ::windows::core::PWSTR, pcbsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupGetDatabaseNamesW ( hbc : *const ::core::ffi::c_void , ppwszzattachmentinformation : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupGetDatabaseNamesW ( hbc : *const ::core::ffi::c_void , ppwszzattachmentinformation : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); CertSrvBackupGetDatabaseNamesW(hbc, ppwszzattachmentinformation, pcbsize).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvBackupGetDynamicFileListW(hbc: *const ::core::ffi::c_void, ppwszzfilelist: *mut ::windows::core::PWSTR, pcbsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupGetDynamicFileListW ( hbc : *const ::core::ffi::c_void , ppwszzfilelist : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupGetDynamicFileListW ( hbc : *const ::core::ffi::c_void , ppwszzfilelist : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); CertSrvBackupGetDynamicFileListW(hbc, ppwszzfilelist, pcbsize).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -40,7 +40,7 @@ pub unsafe fn CertSrvBackupOpenFileW(hbc: *mut ::core::ffi::c_void, pwszatta where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupOpenFileW ( hbc : *mut ::core::ffi::c_void , pwszattachmentname : :: windows::core::PCWSTR , cbreadhintsize : u32 , plifilesize : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupOpenFileW ( hbc : *mut ::core::ffi::c_void , pwszattachmentname : :: windows::core::PCWSTR , cbreadhintsize : u32 , plifilesize : *mut i64 ) -> :: windows::core::HRESULT ); CertSrvBackupOpenFileW(hbc, pwszattachmentname.into().abi(), cbreadhintsize, plifilesize).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -49,19 +49,19 @@ pub unsafe fn CertSrvBackupPrepareW(pwszservername: P0, grbitjet: u32, dwbac where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupPrepareW ( pwszservername : :: windows::core::PCWSTR , grbitjet : u32 , dwbackupflags : CSBACKUP_TYPE , phbc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupPrepareW ( pwszservername : :: windows::core::PCWSTR , grbitjet : u32 , dwbackupflags : CSBACKUP_TYPE , phbc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CertSrvBackupPrepareW(pwszservername.into().abi(), grbitjet, dwbackupflags, phbc).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvBackupRead(hbc: *mut ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, pcbread: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupRead ( hbc : *mut ::core::ffi::c_void , pvbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 , pcbread : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupRead ( hbc : *mut ::core::ffi::c_void , pvbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 , pcbread : *mut u32 ) -> :: windows::core::HRESULT ); CertSrvBackupRead(hbc, pvbuffer, cbbuffer, pcbread).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvBackupTruncateLogs(hbc: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvBackupTruncateLogs ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvBackupTruncateLogs ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CertSrvBackupTruncateLogs(hbc).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] @@ -71,19 +71,19 @@ pub unsafe fn CertSrvIsServerOnlineW(pwszservername: P0, pfserveronline: *mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvIsServerOnlineW ( pwszservername : :: windows::core::PCWSTR , pfserveronline : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvIsServerOnlineW ( pwszservername : :: windows::core::PCWSTR , pfserveronline : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); CertSrvIsServerOnlineW(pwszservername.into().abi(), pfserveronline).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvRestoreEnd(hbc: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvRestoreEnd ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreEnd ( hbc : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CertSrvRestoreEnd(hbc).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvRestoreGetDatabaseLocationsW(hbc: *const ::core::ffi::c_void, ppwszzdatabaselocationlist: *mut ::windows::core::PWSTR, pcbsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvRestoreGetDatabaseLocationsW ( hbc : *const ::core::ffi::c_void , ppwszzdatabaselocationlist : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreGetDatabaseLocationsW ( hbc : *const ::core::ffi::c_void , ppwszzdatabaselocationlist : *mut :: windows::core::PWSTR , pcbsize : *mut u32 ) -> :: windows::core::HRESULT ); CertSrvRestoreGetDatabaseLocationsW(hbc, ppwszzdatabaselocationlist, pcbsize).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -92,13 +92,13 @@ pub unsafe fn CertSrvRestorePrepareW(pwszservername: P0, dwrestoreflags: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvRestorePrepareW ( pwszservername : :: windows::core::PCWSTR , dwrestoreflags : u32 , phbc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestorePrepareW ( pwszservername : :: windows::core::PCWSTR , dwrestoreflags : u32 , phbc : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CertSrvRestorePrepareW(pwszservername.into().abi(), dwrestoreflags, phbc).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[inline] pub unsafe fn CertSrvRestoreRegisterComplete(hbc: *mut ::core::ffi::c_void, hrrestorestate: ::windows::core::HRESULT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterComplete ( hbc : *mut ::core::ffi::c_void , hrrestorestate : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterComplete ( hbc : *mut ::core::ffi::c_void , hrrestorestate : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); CertSrvRestoreRegisterComplete(hbc, hrrestorestate).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -109,7 +109,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterThroughFile ( hbc : *mut ::core::ffi::c_void , pwszcheckpointfilepath : :: windows::core::PCWSTR , pwszlogpath : :: windows::core::PCWSTR , rgrstmap : *mut CSEDB_RSTMAPW , crstmap : i32 , pwszbackuplogpath : :: windows::core::PCWSTR , genlow : u32 , genhigh : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterThroughFile ( hbc : *mut ::core::ffi::c_void , pwszcheckpointfilepath : :: windows::core::PCWSTR , pwszlogpath : :: windows::core::PCWSTR , rgrstmap : *mut CSEDB_RSTMAPW , crstmap : i32 , pwszbackuplogpath : :: windows::core::PCWSTR , genlow : u32 , genhigh : u32 ) -> :: windows::core::HRESULT ); CertSrvRestoreRegisterThroughFile(hbc, pwszcheckpointfilepath.into().abi(), pwszlogpath.into().abi(), rgrstmap, crstmap, pwszbackuplogpath.into().abi(), genlow, genhigh).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -120,7 +120,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterW ( hbc : *mut ::core::ffi::c_void , pwszcheckpointfilepath : :: windows::core::PCWSTR , pwszlogpath : :: windows::core::PCWSTR , rgrstmap : *mut CSEDB_RSTMAPW , crstmap : i32 , pwszbackuplogpath : :: windows::core::PCWSTR , genlow : u32 , genhigh : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvRestoreRegisterW ( hbc : *mut ::core::ffi::c_void , pwszcheckpointfilepath : :: windows::core::PCWSTR , pwszlogpath : :: windows::core::PCWSTR , rgrstmap : *mut CSEDB_RSTMAPW , crstmap : i32 , pwszbackuplogpath : :: windows::core::PCWSTR , genlow : u32 , genhigh : u32 ) -> :: windows::core::HRESULT ); CertSrvRestoreRegisterW(hbc, pwszcheckpointfilepath.into().abi(), pwszlogpath.into().abi(), rgrstmap, crstmap, pwszbackuplogpath.into().abi(), genlow, genhigh).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -129,21 +129,21 @@ pub unsafe fn CertSrvServerControlW(pwszservername: P0, dwcontrolflags: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "certadm.dll""system" fn CertSrvServerControlW ( pwszservername : :: windows::core::PCWSTR , dwcontrolflags : u32 , pcbout : *mut u32 , ppbout : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "certadm.dll""system" fn CertSrvServerControlW ( pwszservername : :: windows::core::PCWSTR , dwcontrolflags : u32 , pcbout : *mut u32 , ppbout : *mut *mut u8 ) -> :: windows::core::HRESULT ); CertSrvServerControlW(pwszservername.into().abi(), dwcontrolflags, pcbout, ppbout).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PstAcquirePrivateKey(pcert: *const super::CERT_CONTEXT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certpoleng.dll""system" fn PstAcquirePrivateKey ( pcert : *const super:: CERT_CONTEXT ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "certpoleng.dll""system" fn PstAcquirePrivateKey ( pcert : *const super:: CERT_CONTEXT ) -> super::super::super::Foundation:: NTSTATUS ); PstAcquirePrivateKey(pcert).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] pub unsafe fn PstGetCertificateChain(pcert: *const super::CERT_CONTEXT, ptrustedissuers: *const super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx, ppcertchaincontext: *mut *mut super::CERT_CHAIN_CONTEXT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certpoleng.dll""system" fn PstGetCertificateChain ( pcert : *const super:: CERT_CONTEXT , ptrustedissuers : *const super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx , ppcertchaincontext : *mut *mut super:: CERT_CHAIN_CONTEXT ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "certpoleng.dll""system" fn PstGetCertificateChain ( pcert : *const super:: CERT_CONTEXT , ptrustedissuers : *const super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx , ppcertchaincontext : *mut *mut super:: CERT_CHAIN_CONTEXT ) -> super::super::super::Foundation:: NTSTATUS ); PstGetCertificateChain(pcert, ptrustedissuers, ppcertchaincontext).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] @@ -153,35 +153,35 @@ pub unsafe fn PstGetCertificates(ptargetname: *const super::super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "certpoleng.dll""system" fn PstGetCertificates ( ptargetname : *const super::super::super::Foundation:: UNICODE_STRING , ccriteria : u32 , rgpcriteria : *const super:: CERT_SELECT_CRITERIA , bisclient : super::super::super::Foundation:: BOOL , pdwcertchaincontextcount : *mut u32 , ppcertchaincontexts : *mut *mut *mut super:: CERT_CHAIN_CONTEXT ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "certpoleng.dll""system" fn PstGetCertificates ( ptargetname : *const super::super::super::Foundation:: UNICODE_STRING , ccriteria : u32 , rgpcriteria : *const super:: CERT_SELECT_CRITERIA , bisclient : super::super::super::Foundation:: BOOL , pdwcertchaincontextcount : *mut u32 , ppcertchaincontexts : *mut *mut *mut super:: CERT_CHAIN_CONTEXT ) -> super::super::super::Foundation:: NTSTATUS ); PstGetCertificates(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), bisclient.into(), pdwcertchaincontextcount, ppcertchaincontexts).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] pub unsafe fn PstGetTrustAnchors(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certpoleng.dll""system" fn PstGetTrustAnchors ( ptargetname : *const super::super::super::Foundation:: UNICODE_STRING , ccriteria : u32 , rgpcriteria : *const super:: CERT_SELECT_CRITERIA , pptrustedissuers : *mut *mut super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "certpoleng.dll""system" fn PstGetTrustAnchors ( ptargetname : *const super::super::super::Foundation:: UNICODE_STRING , ccriteria : u32 , rgpcriteria : *const super:: CERT_SELECT_CRITERIA , pptrustedissuers : *mut *mut super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx ) -> super::super::super::Foundation:: NTSTATUS ); PstGetTrustAnchors(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pptrustedissuers).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] pub unsafe fn PstGetTrustAnchorsEx(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, pcertcontext: ::core::option::Option<*const super::CERT_CONTEXT>, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certpoleng.dll""system" fn PstGetTrustAnchorsEx ( ptargetname : *const super::super::super::Foundation:: UNICODE_STRING , ccriteria : u32 , rgpcriteria : *const super:: CERT_SELECT_CRITERIA , pcertcontext : *const super:: CERT_CONTEXT , pptrustedissuers : *mut *mut super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "certpoleng.dll""system" fn PstGetTrustAnchorsEx ( ptargetname : *const super::super::super::Foundation:: UNICODE_STRING , ccriteria : u32 , rgpcriteria : *const super:: CERT_SELECT_CRITERIA , pcertcontext : *const super:: CERT_CONTEXT , pptrustedissuers : *mut *mut super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx ) -> super::super::super::Foundation:: NTSTATUS ); PstGetTrustAnchorsEx(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pcertcontext.unwrap_or(::std::ptr::null())), pptrustedissuers).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PstGetUserNameForCertificate(pcertcontext: *const super::CERT_CONTEXT, username: *mut super::super::super::Foundation::UNICODE_STRING) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certpoleng.dll""system" fn PstGetUserNameForCertificate ( pcertcontext : *const super:: CERT_CONTEXT , username : *mut super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "certpoleng.dll""system" fn PstGetUserNameForCertificate ( pcertcontext : *const super:: CERT_CONTEXT , username : *mut super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); PstGetUserNameForCertificate(pcertcontext, username).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] pub unsafe fn PstMapCertificate(pcert: *const super::CERT_CONTEXT, ptokeninformationtype: *mut super::super::Authentication::Identity::LSA_TOKEN_INFORMATION_TYPE, pptokeninformation: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "certpoleng.dll""system" fn PstMapCertificate ( pcert : *const super:: CERT_CONTEXT , ptokeninformationtype : *mut super::super::Authentication::Identity:: LSA_TOKEN_INFORMATION_TYPE , pptokeninformation : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "certpoleng.dll""system" fn PstMapCertificate ( pcert : *const super:: CERT_CONTEXT , ptokeninformationtype : *mut super::super::Authentication::Identity:: LSA_TOKEN_INFORMATION_TYPE , pptokeninformation : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); PstMapCertificate(pcert, ptokeninformationtype, pptokeninformation).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] @@ -191,7 +191,7 @@ pub unsafe fn PstValidate(ptargetname: ::core::option::Option<*const super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "certpoleng.dll""system" fn PstValidate ( ptargetname : *const super::super::super::Foundation:: UNICODE_STRING , bisclient : super::super::super::Foundation:: BOOL , prequestedissuancepolicy : *const super:: CERT_USAGE_MATCH , phadditionalcertstore : *const super:: HCERTSTORE , pcert : *const super:: CERT_CONTEXT , pprovguid : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "certpoleng.dll""system" fn PstValidate ( ptargetname : *const super::super::super::Foundation:: UNICODE_STRING , bisclient : super::super::super::Foundation:: BOOL , prequestedissuancepolicy : *const super:: CERT_USAGE_MATCH , phadditionalcertstore : *const super:: HCERTSTORE , pcert : *const super:: CERT_CONTEXT , pprovguid : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: NTSTATUS ); PstValidate(::core::mem::transmute(ptargetname.unwrap_or(::std::ptr::null())), bisclient.into(), ::core::mem::transmute(prequestedissuancepolicy.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phadditionalcertstore.unwrap_or(::std::ptr::null())), pcert, ::core::mem::transmute(pprovguid.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] @@ -235,7 +235,7 @@ impl IAlternativeName { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAlternativeName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAlternativeName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAlternativeName { fn eq(&self, other: &Self) -> bool { @@ -319,7 +319,7 @@ impl IAlternativeNames { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAlternativeNames, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAlternativeNames, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAlternativeNames { fn eq(&self, other: &Self) -> bool { @@ -390,7 +390,7 @@ impl IBinaryConverter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBinaryConverter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IBinaryConverter, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBinaryConverter { fn eq(&self, other: &Self) -> bool { @@ -470,7 +470,7 @@ impl IBinaryConverter2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBinaryConverter2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IBinaryConverter); +::windows::imp::interface_hierarchy!(IBinaryConverter2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IBinaryConverter); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBinaryConverter2 { fn eq(&self, other: &Self) -> bool { @@ -738,7 +738,7 @@ impl ICEnroll { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICEnroll, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICEnroll, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICEnroll { fn eq(&self, other: &Self) -> bool { @@ -1106,7 +1106,7 @@ impl ICEnroll2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICEnroll2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll); +::windows::imp::interface_hierarchy!(ICEnroll2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICEnroll2 { fn eq(&self, other: &Self) -> bool { @@ -1495,7 +1495,7 @@ impl ICEnroll3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICEnroll3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2); +::windows::imp::interface_hierarchy!(ICEnroll3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICEnroll3 { fn eq(&self, other: &Self) -> bool { @@ -2028,7 +2028,7 @@ impl ICEnroll4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICEnroll4, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2, ICEnroll3); +::windows::imp::interface_hierarchy!(ICEnroll4, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2, ICEnroll3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICEnroll4 { fn eq(&self, other: &Self) -> bool { @@ -2153,7 +2153,7 @@ impl ICertAdmin { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertAdmin, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertAdmin, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertAdmin { fn eq(&self, other: &Self) -> bool { @@ -2294,7 +2294,7 @@ impl ICertAdmin2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertAdmin2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertAdmin); +::windows::imp::interface_hierarchy!(ICertAdmin2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertAdmin); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertAdmin2 { fn eq(&self, other: &Self) -> bool { @@ -2376,7 +2376,7 @@ impl ICertConfig { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertConfig, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertConfig, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertConfig { fn eq(&self, other: &Self) -> bool { @@ -2442,7 +2442,7 @@ impl ICertConfig2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertConfig2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertConfig); +::windows::imp::interface_hierarchy!(ICertConfig2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertConfig); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertConfig2 { fn eq(&self, other: &Self) -> bool { @@ -2511,7 +2511,7 @@ impl ICertEncodeAltName { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeAltName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertEncodeAltName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeAltName { fn eq(&self, other: &Self) -> bool { @@ -2600,7 +2600,7 @@ impl ICertEncodeAltName2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeAltName2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeAltName); +::windows::imp::interface_hierarchy!(ICertEncodeAltName2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeAltName); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeAltName2 { fn eq(&self, other: &Self) -> bool { @@ -2662,7 +2662,7 @@ impl ICertEncodeBitString { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeBitString, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertEncodeBitString, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeBitString { fn eq(&self, other: &Self) -> bool { @@ -2735,7 +2735,7 @@ impl ICertEncodeBitString2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeBitString2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeBitString); +::windows::imp::interface_hierarchy!(ICertEncodeBitString2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeBitString); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeBitString2 { fn eq(&self, other: &Self) -> bool { @@ -2813,7 +2813,7 @@ impl ICertEncodeCRLDistInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeCRLDistInfo, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertEncodeCRLDistInfo, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeCRLDistInfo { fn eq(&self, other: &Self) -> bool { @@ -2904,7 +2904,7 @@ impl ICertEncodeCRLDistInfo2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeCRLDistInfo2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeCRLDistInfo); +::windows::imp::interface_hierarchy!(ICertEncodeCRLDistInfo2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeCRLDistInfo); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeCRLDistInfo2 { fn eq(&self, other: &Self) -> bool { @@ -2970,7 +2970,7 @@ impl ICertEncodeDateArray { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeDateArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertEncodeDateArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeDateArray { fn eq(&self, other: &Self) -> bool { @@ -3047,7 +3047,7 @@ impl ICertEncodeDateArray2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeDateArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeDateArray); +::windows::imp::interface_hierarchy!(ICertEncodeDateArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeDateArray); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeDateArray2 { fn eq(&self, other: &Self) -> bool { @@ -3113,7 +3113,7 @@ impl ICertEncodeLongArray { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeLongArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertEncodeLongArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeLongArray { fn eq(&self, other: &Self) -> bool { @@ -3190,7 +3190,7 @@ impl ICertEncodeLongArray2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeLongArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeLongArray); +::windows::imp::interface_hierarchy!(ICertEncodeLongArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeLongArray); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeLongArray2 { fn eq(&self, other: &Self) -> bool { @@ -3260,7 +3260,7 @@ impl ICertEncodeStringArray { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeStringArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertEncodeStringArray, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeStringArray { fn eq(&self, other: &Self) -> bool { @@ -3342,7 +3342,7 @@ impl ICertEncodeStringArray2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertEncodeStringArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeStringArray); +::windows::imp::interface_hierarchy!(ICertEncodeStringArray2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeStringArray); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertEncodeStringArray2 { fn eq(&self, other: &Self) -> bool { @@ -3398,7 +3398,7 @@ impl ICertExit { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertExit, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertExit, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertExit { fn eq(&self, other: &Self) -> bool { @@ -3461,7 +3461,7 @@ impl ICertExit2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertExit2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertExit); +::windows::imp::interface_hierarchy!(ICertExit2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertExit); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertExit2 { fn eq(&self, other: &Self) -> bool { @@ -3512,7 +3512,7 @@ impl ICertGetConfig { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertGetConfig, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertGetConfig, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertGetConfig { fn eq(&self, other: &Self) -> bool { @@ -3570,7 +3570,7 @@ impl ICertManageModule { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertManageModule, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertManageModule, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertManageModule { fn eq(&self, other: &Self) -> bool { @@ -3636,7 +3636,7 @@ impl ICertPolicy { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertPolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPolicy { fn eq(&self, other: &Self) -> bool { @@ -3703,7 +3703,7 @@ impl ICertPolicy2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPolicy2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertPolicy); +::windows::imp::interface_hierarchy!(ICertPolicy2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertPolicy); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPolicy2 { fn eq(&self, other: &Self) -> bool { @@ -3786,7 +3786,7 @@ impl ICertProperties { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertProperties, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertProperties, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertProperties { fn eq(&self, other: &Self) -> bool { @@ -3883,7 +3883,7 @@ impl ICertProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertProperty, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertProperty, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertProperty { fn eq(&self, other: &Self) -> bool { @@ -3994,7 +3994,7 @@ impl ICertPropertyArchived { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyArchived, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyArchived, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyArchived { fn eq(&self, other: &Self) -> bool { @@ -4090,7 +4090,7 @@ impl ICertPropertyArchivedKeyHash { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyArchivedKeyHash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyArchivedKeyHash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyArchivedKeyHash { fn eq(&self, other: &Self) -> bool { @@ -4180,7 +4180,7 @@ impl ICertPropertyAutoEnroll { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyAutoEnroll, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyAutoEnroll, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyAutoEnroll { fn eq(&self, other: &Self) -> bool { @@ -4289,7 +4289,7 @@ impl ICertPropertyBackedUp { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyBackedUp, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyBackedUp, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyBackedUp { fn eq(&self, other: &Self) -> bool { @@ -4390,7 +4390,7 @@ impl ICertPropertyDescription { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyDescription, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyDescription, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyDescription { fn eq(&self, other: &Self) -> bool { @@ -4492,7 +4492,7 @@ impl ICertPropertyEnrollment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyEnrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyEnrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyEnrollment { fn eq(&self, other: &Self) -> bool { @@ -4613,7 +4613,7 @@ impl ICertPropertyEnrollmentPolicyServer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyEnrollmentPolicyServer, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyEnrollmentPolicyServer, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyEnrollmentPolicyServer { fn eq(&self, other: &Self) -> bool { @@ -4710,7 +4710,7 @@ impl ICertPropertyFriendlyName { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyFriendlyName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyFriendlyName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyFriendlyName { fn eq(&self, other: &Self) -> bool { @@ -4807,7 +4807,7 @@ impl ICertPropertyKeyProvInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyKeyProvInfo, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyKeyProvInfo, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyKeyProvInfo { fn eq(&self, other: &Self) -> bool { @@ -4911,7 +4911,7 @@ impl ICertPropertyRenewal { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyRenewal, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyRenewal, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyRenewal { fn eq(&self, other: &Self) -> bool { @@ -5008,7 +5008,7 @@ impl ICertPropertyRequestOriginator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertyRequestOriginator, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertyRequestOriginator, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertyRequestOriginator { fn eq(&self, other: &Self) -> bool { @@ -5099,7 +5099,7 @@ impl ICertPropertySHA1Hash { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertPropertySHA1Hash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); +::windows::imp::interface_hierarchy!(ICertPropertySHA1Hash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertPropertySHA1Hash { fn eq(&self, other: &Self) -> bool { @@ -5172,7 +5172,7 @@ impl ICertRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertRequest { fn eq(&self, other: &Self) -> bool { @@ -5278,7 +5278,7 @@ impl ICertRequest2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertRequest2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest); +::windows::imp::interface_hierarchy!(ICertRequest2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertRequest2 { fn eq(&self, other: &Self) -> bool { @@ -5406,7 +5406,7 @@ impl ICertRequest3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertRequest3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest, ICertRequest2); +::windows::imp::interface_hierarchy!(ICertRequest3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest, ICertRequest2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertRequest3 { fn eq(&self, other: &Self) -> bool { @@ -5473,7 +5473,7 @@ impl ICertRequestD { (::windows::core::Vtable::vtable(self).Ping)(::windows::core::Vtable::as_raw(self), pwszauthority.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICertRequestD, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICertRequestD, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICertRequestD { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5556,7 +5556,7 @@ impl ICertRequestD2 { (::windows::core::Vtable::vtable(self).Ping2)(::windows::core::Vtable::as_raw(self), pwszauthority.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICertRequestD2, ::windows::core::IUnknown, ICertRequestD); +::windows::imp::interface_hierarchy!(ICertRequestD2, ::windows::core::IUnknown, ICertRequestD); impl ::core::cmp::PartialEq for ICertRequestD2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5645,7 +5645,7 @@ impl ICertServerExit { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertServerExit, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertServerExit, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertServerExit { fn eq(&self, other: &Self) -> bool { @@ -5768,7 +5768,7 @@ impl ICertServerPolicy { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertServerPolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertServerPolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertServerPolicy { fn eq(&self, other: &Self) -> bool { @@ -5872,7 +5872,7 @@ impl ICertView { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertView, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertView, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertView { fn eq(&self, other: &Self) -> bool { @@ -5967,7 +5967,7 @@ impl ICertView2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertView2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertView); +::windows::imp::interface_hierarchy!(ICertView2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertView); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertView2 { fn eq(&self, other: &Self) -> bool { @@ -6022,7 +6022,7 @@ impl ICertificateAttestationChallenge { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertificateAttestationChallenge, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertificateAttestationChallenge, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertificateAttestationChallenge { fn eq(&self, other: &Self) -> bool { @@ -6085,7 +6085,7 @@ impl ICertificateAttestationChallenge2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertificateAttestationChallenge2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertificateAttestationChallenge); +::windows::imp::interface_hierarchy!(ICertificateAttestationChallenge2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ICertificateAttestationChallenge); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertificateAttestationChallenge2 { fn eq(&self, other: &Self) -> bool { @@ -6158,7 +6158,7 @@ impl ICertificatePolicies { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertificatePolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertificatePolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertificatePolicies { fn eq(&self, other: &Self) -> bool { @@ -6233,7 +6233,7 @@ impl ICertificatePolicy { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertificatePolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertificatePolicy, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertificatePolicy { fn eq(&self, other: &Self) -> bool { @@ -6325,7 +6325,7 @@ impl ICertificationAuthorities { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertificationAuthorities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertificationAuthorities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertificationAuthorities { fn eq(&self, other: &Self) -> bool { @@ -6391,7 +6391,7 @@ impl ICertificationAuthority { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertificationAuthority, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertificationAuthority, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertificationAuthority { fn eq(&self, other: &Self) -> bool { @@ -6466,7 +6466,7 @@ impl ICryptAttribute { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICryptAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICryptAttribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICryptAttribute { fn eq(&self, other: &Self) -> bool { @@ -6570,7 +6570,7 @@ impl ICryptAttributes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICryptAttributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICryptAttributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICryptAttributes { fn eq(&self, other: &Self) -> bool { @@ -6677,7 +6677,7 @@ impl ICspAlgorithm { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICspAlgorithm, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICspAlgorithm, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICspAlgorithm { fn eq(&self, other: &Self) -> bool { @@ -6779,7 +6779,7 @@ impl ICspAlgorithms { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICspAlgorithms, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICspAlgorithms, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICspAlgorithms { fn eq(&self, other: &Self) -> bool { @@ -6940,7 +6940,7 @@ impl ICspInformation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICspInformation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICspInformation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICspInformation { fn eq(&self, other: &Self) -> bool { @@ -7103,7 +7103,7 @@ impl ICspInformations { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICspInformations, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICspInformations, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICspInformations { fn eq(&self, other: &Self) -> bool { @@ -7217,7 +7217,7 @@ impl ICspStatus { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICspStatus, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICspStatus, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICspStatus { fn eq(&self, other: &Self) -> bool { @@ -7334,7 +7334,7 @@ impl ICspStatuses { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICspStatuses, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICspStatuses, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICspStatuses { fn eq(&self, other: &Self) -> bool { @@ -7715,7 +7715,7 @@ impl IEnroll { (::windows::core::Vtable::vtable(self).CreatePKCS7RequestFromRequest)(::windows::core::Vtable::as_raw(self), prequest, psigningcertcontext, ppkcs7blob).ok() } } -::windows::core::interface_hierarchy!(IEnroll, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnroll, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnroll { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8269,7 +8269,7 @@ impl IEnroll2 { (::windows::core::Vtable::vtable(self).EnableSMIMECapabilities)(::windows::core::Vtable::as_raw(self), fenablesmimecapabilities).ok() } } -::windows::core::interface_hierarchy!(IEnroll2, ::windows::core::IUnknown, IEnroll); +::windows::imp::interface_hierarchy!(IEnroll2, ::windows::core::IUnknown, IEnroll); impl ::core::cmp::PartialEq for IEnroll2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8909,7 +8909,7 @@ impl IEnroll4 { (::windows::core::Vtable::vtable(self).IncludeSubjectKeyID)(::windows::core::Vtable::as_raw(self), pfinclude).ok() } } -::windows::core::interface_hierarchy!(IEnroll4, ::windows::core::IUnknown, IEnroll, IEnroll2); +::windows::imp::interface_hierarchy!(IEnroll4, ::windows::core::IUnknown, IEnroll, IEnroll2); impl ::core::cmp::PartialEq for IEnroll4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9022,7 +9022,7 @@ impl IEnumCERTVIEWATTRIBUTE { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEnumCERTVIEWATTRIBUTE, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IEnumCERTVIEWATTRIBUTE, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEnumCERTVIEWATTRIBUTE { fn eq(&self, other: &Self) -> bool { @@ -9109,7 +9109,7 @@ impl IEnumCERTVIEWCOLUMN { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEnumCERTVIEWCOLUMN, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IEnumCERTVIEWCOLUMN, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEnumCERTVIEWCOLUMN { fn eq(&self, other: &Self) -> bool { @@ -9194,7 +9194,7 @@ impl IEnumCERTVIEWEXTENSION { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEnumCERTVIEWEXTENSION, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IEnumCERTVIEWEXTENSION, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEnumCERTVIEWEXTENSION { fn eq(&self, other: &Self) -> bool { @@ -9286,7 +9286,7 @@ impl IEnumCERTVIEWROW { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEnumCERTVIEWROW, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IEnumCERTVIEWROW, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEnumCERTVIEWROW { fn eq(&self, other: &Self) -> bool { @@ -9376,7 +9376,7 @@ impl INDESPolicy { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), pwszchallenge.into().abi(), pwsztransactionid.into().abi(), disposition, lasthresult, pctbissuedcertencoded).ok() } } -::windows::core::interface_hierarchy!(INDESPolicy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INDESPolicy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INDESPolicy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9474,7 +9474,7 @@ impl IOCSPAdmin { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IOCSPAdmin, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IOCSPAdmin, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IOCSPAdmin { fn eq(&self, other: &Self) -> bool { @@ -9648,7 +9648,7 @@ impl IOCSPCAConfiguration { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IOCSPCAConfiguration, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IOCSPCAConfiguration, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IOCSPCAConfiguration { fn eq(&self, other: &Self) -> bool { @@ -9768,7 +9768,7 @@ impl IOCSPCAConfigurationCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IOCSPCAConfigurationCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IOCSPCAConfigurationCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IOCSPCAConfigurationCollection { fn eq(&self, other: &Self) -> bool { @@ -9847,7 +9847,7 @@ impl IOCSPProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IOCSPProperty, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IOCSPProperty, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IOCSPProperty { fn eq(&self, other: &Self) -> bool { @@ -9943,7 +9943,7 @@ impl IOCSPPropertyCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IOCSPPropertyCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IOCSPPropertyCollection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IOCSPPropertyCollection { fn eq(&self, other: &Self) -> bool { @@ -10037,7 +10037,7 @@ impl IObjectId { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IObjectId, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IObjectId, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IObjectId { fn eq(&self, other: &Self) -> bool { @@ -10124,7 +10124,7 @@ impl IObjectIds { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IObjectIds, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IObjectIds, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IObjectIds { fn eq(&self, other: &Self) -> bool { @@ -10204,7 +10204,7 @@ impl IPolicyQualifier { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPolicyQualifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPolicyQualifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPolicyQualifier { fn eq(&self, other: &Self) -> bool { @@ -10283,7 +10283,7 @@ impl IPolicyQualifiers { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPolicyQualifiers, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPolicyQualifiers, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPolicyQualifiers { fn eq(&self, other: &Self) -> bool { @@ -10393,7 +10393,7 @@ impl ISignerCertificate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISignerCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISignerCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISignerCertificate { fn eq(&self, other: &Self) -> bool { @@ -10499,7 +10499,7 @@ impl ISignerCertificates { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISignerCertificates, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISignerCertificates, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISignerCertificates { fn eq(&self, other: &Self) -> bool { @@ -10602,7 +10602,7 @@ impl ISmimeCapabilities { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISmimeCapabilities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISmimeCapabilities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISmimeCapabilities { fn eq(&self, other: &Self) -> bool { @@ -10683,7 +10683,7 @@ impl ISmimeCapability { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISmimeCapability, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISmimeCapability, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISmimeCapability { fn eq(&self, other: &Self) -> bool { @@ -10749,7 +10749,7 @@ impl IX500DistinguishedName { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX500DistinguishedName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX500DistinguishedName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX500DistinguishedName { fn eq(&self, other: &Self) -> bool { @@ -10814,7 +10814,7 @@ impl IX509Attribute { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509Attribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509Attribute, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509Attribute { fn eq(&self, other: &Self) -> bool { @@ -10910,7 +10910,7 @@ impl IX509AttributeArchiveKey { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509AttributeArchiveKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); +::windows::imp::interface_hierarchy!(IX509AttributeArchiveKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509AttributeArchiveKey { fn eq(&self, other: &Self) -> bool { @@ -10992,7 +10992,7 @@ impl IX509AttributeArchiveKeyHash { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509AttributeArchiveKeyHash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); +::windows::imp::interface_hierarchy!(IX509AttributeArchiveKeyHash, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509AttributeArchiveKeyHash { fn eq(&self, other: &Self) -> bool { @@ -11078,7 +11078,7 @@ impl IX509AttributeClientId { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509AttributeClientId, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); +::windows::imp::interface_hierarchy!(IX509AttributeClientId, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509AttributeClientId { fn eq(&self, other: &Self) -> bool { @@ -11163,7 +11163,7 @@ impl IX509AttributeCspProvider { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509AttributeCspProvider, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); +::windows::imp::interface_hierarchy!(IX509AttributeCspProvider, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509AttributeCspProvider { fn eq(&self, other: &Self) -> bool { @@ -11246,7 +11246,7 @@ impl IX509AttributeExtensions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509AttributeExtensions, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); +::windows::imp::interface_hierarchy!(IX509AttributeExtensions, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509AttributeExtensions { fn eq(&self, other: &Self) -> bool { @@ -11326,7 +11326,7 @@ impl IX509AttributeOSVersion { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509AttributeOSVersion, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); +::windows::imp::interface_hierarchy!(IX509AttributeOSVersion, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509AttributeOSVersion { fn eq(&self, other: &Self) -> bool { @@ -11400,7 +11400,7 @@ impl IX509AttributeRenewalCertificate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509AttributeRenewalCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); +::windows::imp::interface_hierarchy!(IX509AttributeRenewalCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509AttributeRenewalCertificate { fn eq(&self, other: &Self) -> bool { @@ -11474,7 +11474,7 @@ impl IX509Attributes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509Attributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509Attributes, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509Attributes { fn eq(&self, other: &Self) -> bool { @@ -11654,7 +11654,7 @@ impl IX509CertificateRequest { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509CertificateRequest, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequest { fn eq(&self, other: &Self) -> bool { @@ -12090,7 +12090,7 @@ impl IX509CertificateRequestCertificate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); +::windows::imp::interface_hierarchy!(IX509CertificateRequestCertificate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestCertificate { fn eq(&self, other: &Self) -> bool { @@ -12525,7 +12525,7 @@ impl IX509CertificateRequestCertificate2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestCertificate2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestCertificate); +::windows::imp::interface_hierarchy!(IX509CertificateRequestCertificate2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestCertificate); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestCertificate2 { fn eq(&self, other: &Self) -> bool { @@ -12874,7 +12874,7 @@ impl IX509CertificateRequestCmc { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestCmc, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); +::windows::imp::interface_hierarchy!(IX509CertificateRequestCmc, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestCmc { fn eq(&self, other: &Self) -> bool { @@ -13315,7 +13315,7 @@ impl IX509CertificateRequestCmc2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestCmc2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7, IX509CertificateRequestCmc); +::windows::imp::interface_hierarchy!(IX509CertificateRequestCmc2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7, IX509CertificateRequestCmc); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestCmc2 { fn eq(&self, other: &Self) -> bool { @@ -13657,7 +13657,7 @@ impl IX509CertificateRequestPkcs10 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestPkcs10, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); +::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs10, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10 { fn eq(&self, other: &Self) -> bool { @@ -14104,7 +14104,7 @@ impl IX509CertificateRequestPkcs10V2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestPkcs10V2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); +::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V2 { fn eq(&self, other: &Self) -> bool { @@ -14541,7 +14541,7 @@ impl IX509CertificateRequestPkcs10V3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestPkcs10V3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2); +::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V3, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V3 { fn eq(&self, other: &Self) -> bool { @@ -15005,7 +15005,7 @@ impl IX509CertificateRequestPkcs10V4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestPkcs10V4, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2, IX509CertificateRequestPkcs10V3); +::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V4, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2, IX509CertificateRequestPkcs10V3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V4 { fn eq(&self, other: &Self) -> bool { @@ -15226,7 +15226,7 @@ impl IX509CertificateRequestPkcs7 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestPkcs7, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); +::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs7, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs7 { fn eq(&self, other: &Self) -> bool { @@ -15486,7 +15486,7 @@ impl IX509CertificateRequestPkcs7V2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRequestPkcs7V2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); +::windows::imp::interface_hierarchy!(IX509CertificateRequestPkcs7V2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs7V2 { fn eq(&self, other: &Self) -> bool { @@ -15700,7 +15700,7 @@ impl IX509CertificateRevocationList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRevocationList, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509CertificateRevocationList, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRevocationList { fn eq(&self, other: &Self) -> bool { @@ -15859,7 +15859,7 @@ impl IX509CertificateRevocationListEntries { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRevocationListEntries, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509CertificateRevocationListEntries, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRevocationListEntries { fn eq(&self, other: &Self) -> bool { @@ -15949,7 +15949,7 @@ impl IX509CertificateRevocationListEntry { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateRevocationListEntry, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509CertificateRevocationListEntry, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateRevocationListEntry { fn eq(&self, other: &Self) -> bool { @@ -16011,7 +16011,7 @@ impl IX509CertificateTemplate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateTemplate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509CertificateTemplate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateTemplate { fn eq(&self, other: &Self) -> bool { @@ -16086,7 +16086,7 @@ impl IX509CertificateTemplateWritable { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateTemplateWritable, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509CertificateTemplateWritable, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateTemplateWritable { fn eq(&self, other: &Self) -> bool { @@ -16189,7 +16189,7 @@ impl IX509CertificateTemplates { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509CertificateTemplates, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509CertificateTemplates, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509CertificateTemplates { fn eq(&self, other: &Self) -> bool { @@ -16305,7 +16305,7 @@ impl IX509EndorsementKey { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509EndorsementKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509EndorsementKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509EndorsementKey { fn eq(&self, other: &Self) -> bool { @@ -16472,7 +16472,7 @@ impl IX509Enrollment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509Enrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509Enrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509Enrollment { fn eq(&self, other: &Self) -> bool { @@ -16685,7 +16685,7 @@ impl IX509Enrollment2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509Enrollment2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Enrollment); +::windows::imp::interface_hierarchy!(IX509Enrollment2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Enrollment); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509Enrollment2 { fn eq(&self, other: &Self) -> bool { @@ -16755,7 +16755,7 @@ impl IX509EnrollmentHelper { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509EnrollmentHelper, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509EnrollmentHelper, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509EnrollmentHelper { fn eq(&self, other: &Self) -> bool { @@ -16920,7 +16920,7 @@ impl IX509EnrollmentPolicyServer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509EnrollmentPolicyServer, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509EnrollmentPolicyServer, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509EnrollmentPolicyServer { fn eq(&self, other: &Self) -> bool { @@ -17062,7 +17062,7 @@ impl IX509EnrollmentStatus { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509EnrollmentStatus, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509EnrollmentStatus, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509EnrollmentStatus { fn eq(&self, other: &Self) -> bool { @@ -17121,7 +17121,7 @@ impl IX509EnrollmentWebClassFactory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509EnrollmentWebClassFactory, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509EnrollmentWebClassFactory, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509EnrollmentWebClassFactory { fn eq(&self, other: &Self) -> bool { @@ -17197,7 +17197,7 @@ impl IX509Extension { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509Extension, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509Extension, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509Extension { fn eq(&self, other: &Self) -> bool { @@ -17306,7 +17306,7 @@ impl IX509ExtensionAlternativeNames { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionAlternativeNames, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionAlternativeNames, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionAlternativeNames { fn eq(&self, other: &Self) -> bool { @@ -17400,7 +17400,7 @@ impl IX509ExtensionAuthorityKeyIdentifier { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionAuthorityKeyIdentifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionAuthorityKeyIdentifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionAuthorityKeyIdentifier { fn eq(&self, other: &Self) -> bool { @@ -17499,7 +17499,7 @@ impl IX509ExtensionBasicConstraints { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionBasicConstraints, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionBasicConstraints, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionBasicConstraints { fn eq(&self, other: &Self) -> bool { @@ -17601,7 +17601,7 @@ impl IX509ExtensionCertificatePolicies { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionCertificatePolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionCertificatePolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionCertificatePolicies { fn eq(&self, other: &Self) -> bool { @@ -17702,7 +17702,7 @@ impl IX509ExtensionEnhancedKeyUsage { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionEnhancedKeyUsage, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionEnhancedKeyUsage, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionEnhancedKeyUsage { fn eq(&self, other: &Self) -> bool { @@ -17796,7 +17796,7 @@ impl IX509ExtensionKeyUsage { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionKeyUsage, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionKeyUsage, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionKeyUsage { fn eq(&self, other: &Self) -> bool { @@ -17891,7 +17891,7 @@ impl IX509ExtensionMSApplicationPolicies { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionMSApplicationPolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionMSApplicationPolicies, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionMSApplicationPolicies { fn eq(&self, other: &Self) -> bool { @@ -17992,7 +17992,7 @@ impl IX509ExtensionSmimeCapabilities { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionSmimeCapabilities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionSmimeCapabilities, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionSmimeCapabilities { fn eq(&self, other: &Self) -> bool { @@ -18086,7 +18086,7 @@ impl IX509ExtensionSubjectKeyIdentifier { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionSubjectKeyIdentifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionSubjectKeyIdentifier, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionSubjectKeyIdentifier { fn eq(&self, other: &Self) -> bool { @@ -18189,7 +18189,7 @@ impl IX509ExtensionTemplate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionTemplate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionTemplate, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionTemplate { fn eq(&self, other: &Self) -> bool { @@ -18285,7 +18285,7 @@ impl IX509ExtensionTemplateName { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509ExtensionTemplateName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); +::windows::imp::interface_hierarchy!(IX509ExtensionTemplateName, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509ExtensionTemplateName { fn eq(&self, other: &Self) -> bool { @@ -18376,7 +18376,7 @@ impl IX509Extensions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509Extensions, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509Extensions, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509Extensions { fn eq(&self, other: &Self) -> bool { @@ -18445,7 +18445,7 @@ impl IX509MachineEnrollmentFactory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509MachineEnrollmentFactory, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509MachineEnrollmentFactory, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509MachineEnrollmentFactory { fn eq(&self, other: &Self) -> bool { @@ -18503,7 +18503,7 @@ impl IX509NameValuePair { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509NameValuePair, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509NameValuePair, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509NameValuePair { fn eq(&self, other: &Self) -> bool { @@ -18577,7 +18577,7 @@ impl IX509NameValuePairs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509NameValuePairs, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509NameValuePairs, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509NameValuePairs { fn eq(&self, other: &Self) -> bool { @@ -18663,7 +18663,7 @@ impl IX509PolicyServerListManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509PolicyServerListManager, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509PolicyServerListManager, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509PolicyServerListManager { fn eq(&self, other: &Self) -> bool { @@ -18777,7 +18777,7 @@ impl IX509PolicyServerUrl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509PolicyServerUrl, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509PolicyServerUrl, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509PolicyServerUrl { fn eq(&self, other: &Self) -> bool { @@ -19098,7 +19098,7 @@ impl IX509PrivateKey { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509PrivateKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509PrivateKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509PrivateKey { fn eq(&self, other: &Self) -> bool { @@ -19542,7 +19542,7 @@ impl IX509PrivateKey2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509PrivateKey2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509PrivateKey); +::windows::imp::interface_hierarchy!(IX509PrivateKey2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509PrivateKey); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509PrivateKey2 { fn eq(&self, other: &Self) -> bool { @@ -19628,7 +19628,7 @@ impl IX509PublicKey { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509PublicKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509PublicKey, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509PublicKey { fn eq(&self, other: &Self) -> bool { @@ -19793,7 +19793,7 @@ impl IX509SCEPEnrollment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509SCEPEnrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509SCEPEnrollment, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509SCEPEnrollment { fn eq(&self, other: &Self) -> bool { @@ -20017,7 +20017,7 @@ impl IX509SCEPEnrollment2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509SCEPEnrollment2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509SCEPEnrollment); +::windows::imp::interface_hierarchy!(IX509SCEPEnrollment2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, IX509SCEPEnrollment); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509SCEPEnrollment2 { fn eq(&self, other: &Self) -> bool { @@ -20095,7 +20095,7 @@ impl IX509SCEPEnrollmentHelper { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509SCEPEnrollmentHelper, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509SCEPEnrollmentHelper, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509SCEPEnrollmentHelper { fn eq(&self, other: &Self) -> bool { @@ -20232,7 +20232,7 @@ impl IX509SignatureInformation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IX509SignatureInformation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IX509SignatureInformation, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IX509SignatureInformation { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Sip/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Sip/mod.rs index e6950813cb..e972a5a74f 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Sip/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Sip/mod.rs @@ -2,63 +2,63 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptSIPAddProvider(psnewprov: *mut SIP_ADD_NEWPROVIDER) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSIPAddProvider ( psnewprov : *mut SIP_ADD_NEWPROVIDER ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSIPAddProvider ( psnewprov : *mut SIP_ADD_NEWPROVIDER ) -> super::super::super::Foundation:: BOOL ); CryptSIPAddProvider(psnewprov) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] #[inline] pub unsafe fn CryptSIPCreateIndirectData(psubjectinfo: *mut SIP_SUBJECTINFO, pcbindirectdata: *mut u32, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptSIPCreateIndirectData ( psubjectinfo : *mut SIP_SUBJECTINFO , pcbindirectdata : *mut u32 , pindirectdata : *mut SIP_INDIRECT_DATA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptSIPCreateIndirectData ( psubjectinfo : *mut SIP_SUBJECTINFO , pcbindirectdata : *mut u32 , pindirectdata : *mut SIP_INDIRECT_DATA ) -> super::super::super::Foundation:: BOOL ); CryptSIPCreateIndirectData(psubjectinfo, pcbindirectdata, pindirectdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] #[inline] pub unsafe fn CryptSIPGetCaps(psubjinfo: *const SIP_SUBJECTINFO, pcaps: *mut SIP_CAP_SET_V3) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptSIPGetCaps ( psubjinfo : *const SIP_SUBJECTINFO , pcaps : *mut SIP_CAP_SET_V3 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptSIPGetCaps ( psubjinfo : *const SIP_SUBJECTINFO , pcaps : *mut SIP_CAP_SET_V3 ) -> super::super::super::Foundation:: BOOL ); CryptSIPGetCaps(psubjinfo, pcaps) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] #[inline] pub unsafe fn CryptSIPGetSealedDigest(psubjectinfo: *const SIP_SUBJECTINFO, psig: ::core::option::Option<&[u8]>, pbdigest: ::core::option::Option<*mut u8>, pcbdigest: *mut u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptSIPGetSealedDigest ( psubjectinfo : *const SIP_SUBJECTINFO , psig : *const u8 , dwsig : u32 , pbdigest : *mut u8 , pcbdigest : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptSIPGetSealedDigest ( psubjectinfo : *const SIP_SUBJECTINFO , psig : *const u8 , dwsig : u32 , pbdigest : *mut u8 , pcbdigest : *mut u32 ) -> super::super::super::Foundation:: BOOL ); CryptSIPGetSealedDigest(psubjectinfo, ::core::mem::transmute(psig.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psig.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbdigest.unwrap_or(::std::ptr::null_mut())), pcbdigest) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] #[inline] pub unsafe fn CryptSIPGetSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, pdwencodingtype: *mut super::CERT_QUERY_ENCODING_TYPE, dwindex: u32, pcbsigneddatamsg: *mut u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptSIPGetSignedDataMsg ( psubjectinfo : *mut SIP_SUBJECTINFO , pdwencodingtype : *mut super:: CERT_QUERY_ENCODING_TYPE , dwindex : u32 , pcbsigneddatamsg : *mut u32 , pbsigneddatamsg : *mut u8 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptSIPGetSignedDataMsg ( psubjectinfo : *mut SIP_SUBJECTINFO , pdwencodingtype : *mut super:: CERT_QUERY_ENCODING_TYPE , dwindex : u32 , pcbsigneddatamsg : *mut u32 , pbsigneddatamsg : *mut u8 ) -> super::super::super::Foundation:: BOOL ); CryptSIPGetSignedDataMsg(psubjectinfo, pdwencodingtype, dwindex, pcbsigneddatamsg, pbsigneddatamsg) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] #[inline] pub unsafe fn CryptSIPLoad(pgsubject: *const ::windows::core::GUID, dwflags: u32, psipdispatch: *mut SIP_DISPATCH_INFO) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSIPLoad ( pgsubject : *const :: windows::core::GUID , dwflags : u32 , psipdispatch : *mut SIP_DISPATCH_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSIPLoad ( pgsubject : *const :: windows::core::GUID , dwflags : u32 , psipdispatch : *mut SIP_DISPATCH_INFO ) -> super::super::super::Foundation:: BOOL ); CryptSIPLoad(pgsubject, dwflags, psipdispatch) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] #[inline] pub unsafe fn CryptSIPPutSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, dwencodingtype: super::CERT_QUERY_ENCODING_TYPE, pdwindex: *mut u32, cbsigneddatamsg: u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptSIPPutSignedDataMsg ( psubjectinfo : *mut SIP_SUBJECTINFO , dwencodingtype : super:: CERT_QUERY_ENCODING_TYPE , pdwindex : *mut u32 , cbsigneddatamsg : u32 , pbsigneddatamsg : *mut u8 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptSIPPutSignedDataMsg ( psubjectinfo : *mut SIP_SUBJECTINFO , dwencodingtype : super:: CERT_QUERY_ENCODING_TYPE , pdwindex : *mut u32 , cbsigneddatamsg : u32 , pbsigneddatamsg : *mut u8 ) -> super::super::super::Foundation:: BOOL ); CryptSIPPutSignedDataMsg(psubjectinfo, dwencodingtype, pdwindex, cbsigneddatamsg, pbsigneddatamsg) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptSIPRemoveProvider(pgprov: *mut ::windows::core::GUID) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSIPRemoveProvider ( pgprov : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSIPRemoveProvider ( pgprov : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: BOOL ); CryptSIPRemoveProvider(pgprov) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] #[inline] pub unsafe fn CryptSIPRemoveSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, dwindex: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptSIPRemoveSignedDataMsg ( psubjectinfo : *mut SIP_SUBJECTINFO , dwindex : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptSIPRemoveSignedDataMsg ( psubjectinfo : *mut SIP_SUBJECTINFO , dwindex : u32 ) -> super::super::super::Foundation:: BOOL ); CryptSIPRemoveSignedDataMsg(psubjectinfo, dwindex) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] @@ -69,7 +69,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSIPRetrieveSubjectGuid ( filename : :: windows::core::PCWSTR , hfilein : super::super::super::Foundation:: HANDLE , pgsubject : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSIPRetrieveSubjectGuid ( filename : :: windows::core::PCWSTR , hfilein : super::super::super::Foundation:: HANDLE , pgsubject : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: BOOL ); CryptSIPRetrieveSubjectGuid(filename.into().abi(), hfilein.into(), pgsubject) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] @@ -80,14 +80,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSIPRetrieveSubjectGuidForCatalogFile ( filename : :: windows::core::PCWSTR , hfilein : super::super::super::Foundation:: HANDLE , pgsubject : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSIPRetrieveSubjectGuidForCatalogFile ( filename : :: windows::core::PCWSTR , hfilein : super::super::super::Foundation:: HANDLE , pgsubject : *mut :: windows::core::GUID ) -> super::super::super::Foundation:: BOOL ); CryptSIPRetrieveSubjectGuidForCatalogFile(filename.into().abi(), hfilein.into(), pgsubject) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] #[inline] pub unsafe fn CryptSIPVerifyIndirectData(psubjectinfo: *mut SIP_SUBJECTINFO, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn CryptSIPVerifyIndirectData ( psubjectinfo : *mut SIP_SUBJECTINFO , pindirectdata : *mut SIP_INDIRECT_DATA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn CryptSIPVerifyIndirectData ( psubjectinfo : *mut SIP_SUBJECTINFO , pindirectdata : *mut SIP_INDIRECT_DATA ) -> super::super::super::Foundation:: BOOL ); CryptSIPVerifyIndirectData(psubjectinfo, pindirectdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/UI/mod.rs index ba5716615f..9686b84ab7 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/UI/mod.rs @@ -2,14 +2,14 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSelectionGetSerializedBlob(pcsi: *const CERT_SELECTUI_INPUT, ppoutbuffer: *mut *mut ::core::ffi::c_void, puloutbuffersize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "cryptui.dll""system" fn CertSelectionGetSerializedBlob ( pcsi : *const CERT_SELECTUI_INPUT , ppoutbuffer : *mut *mut ::core::ffi::c_void , puloutbuffersize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CertSelectionGetSerializedBlob ( pcsi : *const CERT_SELECTUI_INPUT , ppoutbuffer : *mut *mut ::core::ffi::c_void , puloutbuffersize : *mut u32 ) -> :: windows::core::HRESULT ); CertSelectionGetSerializedBlob(pcsi, ppoutbuffer, puloutbuffersize).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptUIDlgCertMgr(pcryptuicertmgr: *const CRYPTUI_CERT_MGR_STRUCT) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIDlgCertMgr ( pcryptuicertmgr : *const CRYPTUI_CERT_MGR_STRUCT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIDlgCertMgr ( pcryptuicertmgr : *const CRYPTUI_CERT_MGR_STRUCT ) -> super::super::super::Foundation:: BOOL ); CryptUIDlgCertMgr(pcryptuicertmgr) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] @@ -22,21 +22,21 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIDlgSelectCertificateFromStore ( hcertstore : super:: HCERTSTORE , hwnd : super::super::super::Foundation:: HWND , pwsztitle : :: windows::core::PCWSTR , pwszdisplaystring : :: windows::core::PCWSTR , dwdontusecolumn : u32 , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> *mut super:: CERT_CONTEXT ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIDlgSelectCertificateFromStore ( hcertstore : super:: HCERTSTORE , hwnd : super::super::super::Foundation:: HWND , pwsztitle : :: windows::core::PCWSTR , pwszdisplaystring : :: windows::core::PCWSTR , dwdontusecolumn : u32 , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> *mut super:: CERT_CONTEXT ); CryptUIDlgSelectCertificateFromStore(hcertstore.into(), hwnd.into(), pwsztitle.into().abi(), pwszdisplaystring.into().abi(), dwdontusecolumn, dwflags, pvreserved) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn CryptUIDlgViewCertificateA(pcertviewinfo: *const CRYPTUI_VIEWCERTIFICATE_STRUCTA, pfpropertieschanged: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIDlgViewCertificateA ( pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTA , pfpropertieschanged : *mut super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIDlgViewCertificateA ( pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTA , pfpropertieschanged : *mut super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); CryptUIDlgViewCertificateA(pcertviewinfo, pfpropertieschanged) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn CryptUIDlgViewCertificateW(pcertviewinfo: *const CRYPTUI_VIEWCERTIFICATE_STRUCTW, pfpropertieschanged: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIDlgViewCertificateW ( pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTW , pfpropertieschanged : *mut super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIDlgViewCertificateW ( pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTW , pfpropertieschanged : *mut super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); CryptUIDlgViewCertificateW(pcertviewinfo, pfpropertieschanged) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] @@ -47,7 +47,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIDlgViewContext ( dwcontexttype : u32 , pvcontext : *const ::core::ffi::c_void , hwnd : super::super::super::Foundation:: HWND , pwsztitle : :: windows::core::PCWSTR , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIDlgViewContext ( dwcontexttype : u32 , pvcontext : *const ::core::ffi::c_void , hwnd : super::super::super::Foundation:: HWND , pwsztitle : :: windows::core::PCWSTR , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); CryptUIDlgViewContext(dwcontexttype, pvcontext, hwnd.into(), pwsztitle.into().abi(), dwflags, pvreserved) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] @@ -58,7 +58,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIWizDigitalSign ( dwflags : u32 , hwndparent : super::super::super::Foundation:: HWND , pwszwizardtitle : :: windows::core::PCWSTR , pdigitalsigninfo : *const CRYPTUI_WIZ_DIGITAL_SIGN_INFO , ppsigncontext : *mut *mut CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIWizDigitalSign ( dwflags : u32 , hwndparent : super::super::super::Foundation:: HWND , pwszwizardtitle : :: windows::core::PCWSTR , pdigitalsigninfo : *const CRYPTUI_WIZ_DIGITAL_SIGN_INFO , ppsigncontext : *mut *mut CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT ) -> super::super::super::Foundation:: BOOL ); CryptUIWizDigitalSign(dwflags, hwndparent.into(), pwszwizardtitle.into().abi(), pdigitalsigninfo, ::core::mem::transmute(ppsigncontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] @@ -69,14 +69,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIWizExport ( dwflags : CRYPTUI_WIZ_FLAGS , hwndparent : super::super::super::Foundation:: HWND , pwszwizardtitle : :: windows::core::PCWSTR , pexportinfo : *const CRYPTUI_WIZ_EXPORT_INFO , pvoid : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIWizExport ( dwflags : CRYPTUI_WIZ_FLAGS , hwndparent : super::super::super::Foundation:: HWND , pwszwizardtitle : :: windows::core::PCWSTR , pexportinfo : *const CRYPTUI_WIZ_EXPORT_INFO , pvoid : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); CryptUIWizExport(dwflags, hwndparent.into(), pwszwizardtitle.into().abi(), pexportinfo, ::core::mem::transmute(pvoid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptUIWizFreeDigitalSignContext(psigncontext: *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIWizFreeDigitalSignContext ( psigncontext : *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIWizFreeDigitalSignContext ( psigncontext : *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT ) -> super::super::super::Foundation:: BOOL ); CryptUIWizFreeDigitalSignContext(psigncontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] @@ -88,7 +88,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "cryptui.dll""system" fn CryptUIWizImport ( dwflags : CRYPTUI_WIZ_FLAGS , hwndparent : super::super::super::Foundation:: HWND , pwszwizardtitle : :: windows::core::PCWSTR , pimportsrc : *const CRYPTUI_WIZ_IMPORT_SRC_INFO , hdestcertstore : super:: HCERTSTORE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptui.dll""system" fn CryptUIWizImport ( dwflags : CRYPTUI_WIZ_FLAGS , hwndparent : super::super::super::Foundation:: HWND , pwszwizardtitle : :: windows::core::PCWSTR , pimportsrc : *const CRYPTUI_WIZ_IMPORT_SRC_INFO , hdestcertstore : super:: HCERTSTORE ) -> super::super::super::Foundation:: BOOL ); CryptUIWizImport(dwflags, hwndparent.into(), pwszwizardtitle.into().abi(), ::core::mem::transmute(pimportsrc.unwrap_or(::std::ptr::null())), hdestcertstore.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs index 607df8e1be..b0d1364165 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -14,7 +14,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptAddContextFunction ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , dwposition : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptAddContextFunction ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , dwposition : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptAddContextFunction(dwtable, pszcontext.into().abi(), dwinterface, pszfunction.into().abi(), dwposition).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -24,7 +24,7 @@ pub unsafe fn BCryptCloseAlgorithmProvider(halgorithm: P0, dwflags: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptCloseAlgorithmProvider ( halgorithm : BCRYPT_ALG_HANDLE , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptCloseAlgorithmProvider ( halgorithm : BCRYPT_ALG_HANDLE , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptCloseAlgorithmProvider(halgorithm.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -34,7 +34,7 @@ pub unsafe fn BCryptConfigureContext(dwtable: BCRYPT_TABLE, pszcontext: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptConfigureContext ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , pconfig : *const CRYPT_CONTEXT_CONFIG ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptConfigureContext ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , pconfig : *const CRYPT_CONTEXT_CONFIG ) -> super::super::Foundation:: NTSTATUS ); BCryptConfigureContext(dwtable, pszcontext.into().abi(), pconfig).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -45,7 +45,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptConfigureContextFunction ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pconfig : *const CRYPT_CONTEXT_FUNCTION_CONFIG ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptConfigureContextFunction ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pconfig : *const CRYPT_CONTEXT_FUNCTION_CONFIG ) -> super::super::Foundation:: NTSTATUS ); BCryptConfigureContextFunction(dwtable, pszcontext.into().abi(), dwinterface, pszfunction.into().abi(), pconfig).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -55,7 +55,7 @@ pub unsafe fn BCryptCreateContext(dwtable: BCRYPT_TABLE, pszcontext: P0, pco where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptCreateContext ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , pconfig : *const CRYPT_CONTEXT_CONFIG ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptCreateContext ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , pconfig : *const CRYPT_CONTEXT_CONFIG ) -> super::super::Foundation:: NTSTATUS ); BCryptCreateContext(dwtable, pszcontext.into().abi(), ::core::mem::transmute(pconfig.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -65,7 +65,7 @@ pub unsafe fn BCryptCreateHash(halgorithm: P0, phhash: *mut BCRYPT_HASH_HAND where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptCreateHash ( halgorithm : BCRYPT_ALG_HANDLE , phhash : *mut BCRYPT_HASH_HANDLE , pbhashobject : *mut u8 , cbhashobject : u32 , pbsecret : *const u8 , cbsecret : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptCreateHash ( halgorithm : BCRYPT_ALG_HANDLE , phhash : *mut BCRYPT_HASH_HANDLE , pbhashobject : *mut u8 , cbhashobject : u32 , pbsecret : *const u8 , cbsecret : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptCreateHash(halgorithm.into(), phhash, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -75,7 +75,7 @@ pub unsafe fn BCryptCreateMultiHash(halgorithm: P0, phhash: *mut BCRYPT_HASH where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptCreateMultiHash ( halgorithm : BCRYPT_ALG_HANDLE , phhash : *mut BCRYPT_HASH_HANDLE , nhashes : u32 , pbhashobject : *mut u8 , cbhashobject : u32 , pbsecret : *const u8 , cbsecret : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptCreateMultiHash ( halgorithm : BCRYPT_ALG_HANDLE , phhash : *mut BCRYPT_HASH_HANDLE , nhashes : u32 , pbhashobject : *mut u8 , cbhashobject : u32 , pbsecret : *const u8 , cbsecret : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptCreateMultiHash(halgorithm.into(), phhash, nhashes, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -85,7 +85,7 @@ pub unsafe fn BCryptDecrypt(hkey: P0, pbinput: ::core::option::Option<&[u8]> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDecrypt ( hkey : BCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , ppaddinginfo : *const ::core::ffi::c_void , pbiv : *mut u8 , cbiv : u32 , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDecrypt ( hkey : BCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , ppaddinginfo : *const ::core::ffi::c_void , pbiv : *mut u8 , cbiv : u32 , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); BCryptDecrypt( hkey.into(), ::core::mem::transmute(pbinput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -107,7 +107,7 @@ pub unsafe fn BCryptDeleteContext(dwtable: BCRYPT_TABLE, pszcontext: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDeleteContext ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDeleteContext ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR ) -> super::super::Foundation:: NTSTATUS ); BCryptDeleteContext(dwtable, pszcontext.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -118,7 +118,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDeriveKey ( hsharedsecret : BCRYPT_SECRET_HANDLE , pwszkdf : :: windows::core::PCWSTR , pparameterlist : *const BCryptBufferDesc , pbderivedkey : *mut u8 , cbderivedkey : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDeriveKey ( hsharedsecret : BCRYPT_SECRET_HANDLE , pwszkdf : :: windows::core::PCWSTR , pparameterlist : *const BCryptBufferDesc , pbderivedkey : *mut u8 , cbderivedkey : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptDeriveKey(hsharedsecret.into(), pwszkdf.into().abi(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbderivedkey.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbderivedkey.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -129,7 +129,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDeriveKeyCapi ( hhash : BCRYPT_HASH_HANDLE , htargetalg : BCRYPT_ALG_HANDLE , pbderivedkey : *mut u8 , cbderivedkey : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDeriveKeyCapi ( hhash : BCRYPT_HASH_HANDLE , htargetalg : BCRYPT_ALG_HANDLE , pbderivedkey : *mut u8 , cbderivedkey : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptDeriveKeyCapi(hhash.into(), htargetalg.into(), ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -139,7 +139,7 @@ pub unsafe fn BCryptDeriveKeyPBKDF2(hprf: P0, pbpassword: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDeriveKeyPBKDF2 ( hprf : BCRYPT_ALG_HANDLE , pbpassword : *const u8 , cbpassword : u32 , pbsalt : *const u8 , cbsalt : u32 , citerations : u64 , pbderivedkey : *mut u8 , cbderivedkey : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDeriveKeyPBKDF2 ( hprf : BCRYPT_ALG_HANDLE , pbpassword : *const u8 , cbpassword : u32 , pbsalt : *const u8 , cbsalt : u32 , citerations : u64 , pbderivedkey : *mut u8 , cbderivedkey : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptDeriveKeyPBKDF2(hprf.into(), ::core::mem::transmute(pbpassword.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbpassword.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsalt.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsalt.as_deref().map_or(0, |slice| slice.len() as _), citerations, ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -149,7 +149,7 @@ pub unsafe fn BCryptDestroyHash(hhash: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDestroyHash ( hhash : BCRYPT_HASH_HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDestroyHash ( hhash : BCRYPT_HASH_HANDLE ) -> super::super::Foundation:: NTSTATUS ); BCryptDestroyHash(hhash.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -159,7 +159,7 @@ pub unsafe fn BCryptDestroyKey(hkey: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDestroyKey ( hkey : BCRYPT_KEY_HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDestroyKey ( hkey : BCRYPT_KEY_HANDLE ) -> super::super::Foundation:: NTSTATUS ); BCryptDestroyKey(hkey.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -169,7 +169,7 @@ pub unsafe fn BCryptDestroySecret(hsecret: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDestroySecret ( hsecret : BCRYPT_SECRET_HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDestroySecret ( hsecret : BCRYPT_SECRET_HANDLE ) -> super::super::Foundation:: NTSTATUS ); BCryptDestroySecret(hsecret.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -179,7 +179,7 @@ pub unsafe fn BCryptDuplicateHash(hhash: P0, phnewhash: *mut BCRYPT_HASH_HAN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDuplicateHash ( hhash : BCRYPT_HASH_HANDLE , phnewhash : *mut BCRYPT_HASH_HANDLE , pbhashobject : *mut u8 , cbhashobject : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDuplicateHash ( hhash : BCRYPT_HASH_HANDLE , phnewhash : *mut BCRYPT_HASH_HANDLE , pbhashobject : *mut u8 , cbhashobject : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptDuplicateHash(hhash.into(), phnewhash, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -189,7 +189,7 @@ pub unsafe fn BCryptDuplicateKey(hkey: P0, phnewkey: *mut BCRYPT_KEY_HANDLE, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptDuplicateKey ( hkey : BCRYPT_KEY_HANDLE , phnewkey : *mut BCRYPT_KEY_HANDLE , pbkeyobject : *mut u8 , cbkeyobject : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptDuplicateKey ( hkey : BCRYPT_KEY_HANDLE , phnewkey : *mut BCRYPT_KEY_HANDLE , pbkeyobject : *mut u8 , cbkeyobject : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptDuplicateKey(hkey.into(), phnewkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -199,7 +199,7 @@ pub unsafe fn BCryptEncrypt(hkey: P0, pbinput: ::core::option::Option<&[u8]> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptEncrypt ( hkey : BCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , ppaddinginfo : *const ::core::ffi::c_void , pbiv : *mut u8 , cbiv : u32 , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptEncrypt ( hkey : BCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , ppaddinginfo : *const ::core::ffi::c_void , pbiv : *mut u8 , cbiv : u32 , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); BCryptEncrypt( hkey.into(), ::core::mem::transmute(pbinput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -218,7 +218,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BCryptEnumAlgorithms(dwalgoperations: BCRYPT_OPERATION, palgcount: *mut u32, ppalglist: *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptEnumAlgorithms ( dwalgoperations : BCRYPT_OPERATION , palgcount : *mut u32 , ppalglist : *mut *mut BCRYPT_ALGORITHM_IDENTIFIER , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptEnumAlgorithms ( dwalgoperations : BCRYPT_OPERATION , palgcount : *mut u32 , ppalglist : *mut *mut BCRYPT_ALGORITHM_IDENTIFIER , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptEnumAlgorithms(dwalgoperations, palgcount, ppalglist, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -229,7 +229,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptEnumContextFunctionProviders ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptEnumContextFunctionProviders ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS ) -> super::super::Foundation:: NTSTATUS ); BCryptEnumContextFunctionProviders(dwtable, pszcontext.into().abi(), dwinterface, pszfunction.into().abi(), pcbbuffer, ppbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -239,14 +239,14 @@ pub unsafe fn BCryptEnumContextFunctions(dwtable: BCRYPT_TABLE, pszcontext: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptEnumContextFunctions ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTIONS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptEnumContextFunctions ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTIONS ) -> super::super::Foundation:: NTSTATUS ); BCryptEnumContextFunctions(dwtable, pszcontext.into().abi(), dwinterface, pcbbuffer, ppbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BCryptEnumContexts(dwtable: BCRYPT_TABLE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXTS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptEnumContexts ( dwtable : BCRYPT_TABLE , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXTS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptEnumContexts ( dwtable : BCRYPT_TABLE , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXTS ) -> super::super::Foundation:: NTSTATUS ); BCryptEnumContexts(dwtable, pcbbuffer, ppbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -256,14 +256,14 @@ pub unsafe fn BCryptEnumProviders(pszalgid: P0, pimplcount: *mut u32, ppimpl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptEnumProviders ( pszalgid : :: windows::core::PCWSTR , pimplcount : *mut u32 , ppimpllist : *mut *mut BCRYPT_PROVIDER_NAME , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptEnumProviders ( pszalgid : :: windows::core::PCWSTR , pimplcount : *mut u32 , ppimpllist : *mut *mut BCRYPT_PROVIDER_NAME , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptEnumProviders(pszalgid.into().abi(), pimplcount, ppimpllist, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BCryptEnumRegisteredProviders(pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDERS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptEnumRegisteredProviders ( pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_PROVIDERS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptEnumRegisteredProviders ( pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_PROVIDERS ) -> super::super::Foundation:: NTSTATUS ); BCryptEnumRegisteredProviders(pcbbuffer, ppbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -275,7 +275,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptExportKey ( hkey : BCRYPT_KEY_HANDLE , hexportkey : BCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptExportKey ( hkey : BCRYPT_KEY_HANDLE , hexportkey : BCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptExportKey(hkey.into(), hexportkey.into(), pszblobtype.into().abi(), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -285,7 +285,7 @@ pub unsafe fn BCryptFinalizeKeyPair(hkey: P0, dwflags: u32) -> ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptFinalizeKeyPair ( hkey : BCRYPT_KEY_HANDLE , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptFinalizeKeyPair ( hkey : BCRYPT_KEY_HANDLE , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptFinalizeKeyPair(hkey.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -295,13 +295,13 @@ pub unsafe fn BCryptFinishHash(hhash: P0, pboutput: &mut [u8], dwflags: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptFinishHash ( hhash : BCRYPT_HASH_HANDLE , pboutput : *mut u8 , cboutput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptFinishHash ( hhash : BCRYPT_HASH_HANDLE , pboutput : *mut u8 , cboutput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptFinishHash(hhash.into(), ::core::mem::transmute(pboutput.as_ptr()), pboutput.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn BCryptFreeBuffer(pvbuffer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptFreeBuffer ( pvbuffer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptFreeBuffer ( pvbuffer : *const ::core::ffi::c_void ) -> ( ) ); BCryptFreeBuffer(pvbuffer) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -311,7 +311,7 @@ pub unsafe fn BCryptGenRandom(halgorithm: P0, pbbuffer: &mut [u8], dwflags: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptGenRandom ( halgorithm : BCRYPT_ALG_HANDLE , pbbuffer : *mut u8 , cbbuffer : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptGenRandom ( halgorithm : BCRYPT_ALG_HANDLE , pbbuffer : *mut u8 , cbbuffer : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptGenRandom(halgorithm.into(), ::core::mem::transmute(pbbuffer.as_ptr()), pbbuffer.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -321,7 +321,7 @@ pub unsafe fn BCryptGenerateKeyPair(halgorithm: P0, phkey: *mut BCRYPT_KEY_H where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptGenerateKeyPair ( halgorithm : BCRYPT_ALG_HANDLE , phkey : *mut BCRYPT_KEY_HANDLE , dwlength : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptGenerateKeyPair ( halgorithm : BCRYPT_ALG_HANDLE , phkey : *mut BCRYPT_KEY_HANDLE , dwlength : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptGenerateKeyPair(halgorithm.into(), phkey, dwlength, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -331,14 +331,14 @@ pub unsafe fn BCryptGenerateSymmetricKey(halgorithm: P0, phkey: *mut BCRYPT_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptGenerateSymmetricKey ( halgorithm : BCRYPT_ALG_HANDLE , phkey : *mut BCRYPT_KEY_HANDLE , pbkeyobject : *mut u8 , cbkeyobject : u32 , pbsecret : *const u8 , cbsecret : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptGenerateSymmetricKey ( halgorithm : BCRYPT_ALG_HANDLE , phkey : *mut BCRYPT_KEY_HANDLE , pbkeyobject : *mut u8 , cbkeyobject : u32 , pbsecret : *const u8 , cbsecret : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptGenerateSymmetricKey(halgorithm.into(), phkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_ptr()), pbsecret.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BCryptGetFipsAlgorithmMode(pfenabled: *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptGetFipsAlgorithmMode ( pfenabled : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptGetFipsAlgorithmMode ( pfenabled : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); BCryptGetFipsAlgorithmMode(pfenabled).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -349,7 +349,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptGetProperty ( hobject : BCRYPT_HANDLE , pszproperty : :: windows::core::PCWSTR , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptGetProperty ( hobject : BCRYPT_HANDLE , pszproperty : :: windows::core::PCWSTR , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptGetProperty(hobject.into(), pszproperty.into().abi(), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -359,7 +359,7 @@ pub unsafe fn BCryptHash(halgorithm: P0, pbsecret: ::core::option::Option<&[ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptHash ( halgorithm : BCRYPT_ALG_HANDLE , pbsecret : *const u8 , cbsecret : u32 , pbinput : *const u8 , cbinput : u32 , pboutput : *mut u8 , cboutput : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptHash ( halgorithm : BCRYPT_ALG_HANDLE , pbsecret : *const u8 , cbsecret : u32 , pbinput : *const u8 , cbinput : u32 , pboutput : *mut u8 , cboutput : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptHash(halgorithm.into(), ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, ::core::mem::transmute(pboutput.as_ptr()), pboutput.len() as _).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -369,7 +369,7 @@ pub unsafe fn BCryptHashData(hhash: P0, pbinput: &[u8], dwflags: u32) -> ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptHashData ( hhash : BCRYPT_HASH_HANDLE , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptHashData ( hhash : BCRYPT_HASH_HANDLE , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptHashData(hhash.into(), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -381,7 +381,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptImportKey ( halgorithm : BCRYPT_ALG_HANDLE , himportkey : BCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , phkey : *mut BCRYPT_KEY_HANDLE , pbkeyobject : *mut u8 , cbkeyobject : u32 , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptImportKey ( halgorithm : BCRYPT_ALG_HANDLE , himportkey : BCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , phkey : *mut BCRYPT_KEY_HANDLE , pbkeyobject : *mut u8 , cbkeyobject : u32 , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptImportKey(halgorithm.into(), himportkey.into(), pszblobtype.into().abi(), phkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -393,7 +393,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptImportKeyPair ( halgorithm : BCRYPT_ALG_HANDLE , himportkey : BCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , phkey : *mut BCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptImportKeyPair ( halgorithm : BCRYPT_ALG_HANDLE , himportkey : BCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , phkey : *mut BCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptImportKeyPair(halgorithm.into(), himportkey.into(), pszblobtype.into().abi(), phkey, ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -403,7 +403,7 @@ pub unsafe fn BCryptKeyDerivation(hkey: P0, pparameterlist: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptKeyDerivation ( hkey : BCRYPT_KEY_HANDLE , pparameterlist : *const BCryptBufferDesc , pbderivedkey : *mut u8 , cbderivedkey : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptKeyDerivation ( hkey : BCRYPT_KEY_HANDLE , pparameterlist : *const BCryptBufferDesc , pbderivedkey : *mut u8 , cbderivedkey : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptKeyDerivation(hkey.into(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -414,7 +414,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptOpenAlgorithmProvider ( phalgorithm : *mut BCRYPT_ALG_HANDLE , pszalgid : :: windows::core::PCWSTR , pszimplementation : :: windows::core::PCWSTR , dwflags : BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptOpenAlgorithmProvider ( phalgorithm : *mut BCRYPT_ALG_HANDLE , pszalgid : :: windows::core::PCWSTR , pszimplementation : :: windows::core::PCWSTR , dwflags : BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS ) -> super::super::Foundation:: NTSTATUS ); BCryptOpenAlgorithmProvider(phalgorithm, pszalgid.into().abi(), pszimplementation.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -424,7 +424,7 @@ pub unsafe fn BCryptProcessMultiOperations(hobject: P0, operationtype: BCRYP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptProcessMultiOperations ( hobject : BCRYPT_HANDLE , operationtype : BCRYPT_MULTI_OPERATION_TYPE , poperations : *const ::core::ffi::c_void , cboperations : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptProcessMultiOperations ( hobject : BCRYPT_HANDLE , operationtype : BCRYPT_MULTI_OPERATION_TYPE , poperations : *const ::core::ffi::c_void , cboperations : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptProcessMultiOperations(hobject.into(), operationtype, poperations, cboperations, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -434,7 +434,7 @@ pub unsafe fn BCryptQueryContextConfiguration(dwtable: BCRYPT_TABLE, pszcont where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptQueryContextConfiguration ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXT_CONFIG ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptQueryContextConfiguration ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXT_CONFIG ) -> super::super::Foundation:: NTSTATUS ); BCryptQueryContextConfiguration(dwtable, pszcontext.into().abi(), pcbbuffer, ppbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -445,7 +445,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptQueryContextFunctionConfiguration ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptQueryContextFunctionConfiguration ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG ) -> super::super::Foundation:: NTSTATUS ); BCryptQueryContextFunctionConfiguration(dwtable, pszcontext.into().abi(), dwinterface, pszfunction.into().abi(), pcbbuffer, ppbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -457,7 +457,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptQueryContextFunctionProperty ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pszproperty : :: windows::core::PCWSTR , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptQueryContextFunctionProperty ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pszproperty : :: windows::core::PCWSTR , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> super::super::Foundation:: NTSTATUS ); BCryptQueryContextFunctionProperty(dwtable, pszcontext.into().abi(), dwinterface, pszfunction.into().abi(), pszproperty.into().abi(), pcbvalue, ppbvalue).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -467,14 +467,14 @@ pub unsafe fn BCryptQueryProviderRegistration(pszprovider: P0, dwmode: BCRYP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptQueryProviderRegistration ( pszprovider : :: windows::core::PCWSTR , dwmode : BCRYPT_QUERY_PROVIDER_MODE , dwinterface : BCRYPT_INTERFACE , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_PROVIDER_REG ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptQueryProviderRegistration ( pszprovider : :: windows::core::PCWSTR , dwmode : BCRYPT_QUERY_PROVIDER_MODE , dwinterface : BCRYPT_INTERFACE , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_PROVIDER_REG ) -> super::super::Foundation:: NTSTATUS ); BCryptQueryProviderRegistration(pszprovider.into().abi(), dwmode, dwinterface, pcbbuffer, ppbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BCryptRegisterConfigChangeNotify(phevent: *mut super::super::Foundation::HANDLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptRegisterConfigChangeNotify ( phevent : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptRegisterConfigChangeNotify ( phevent : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); BCryptRegisterConfigChangeNotify(phevent).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -485,7 +485,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptRemoveContextFunction ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptRemoveContextFunction ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR ) -> super::super::Foundation:: NTSTATUS ); BCryptRemoveContextFunction(dwtable, pszcontext.into().abi(), dwinterface, pszfunction.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -497,7 +497,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptResolveProviders ( pszcontext : :: windows::core::PCWSTR , dwinterface : u32 , pszfunction : :: windows::core::PCWSTR , pszprovider : :: windows::core::PCWSTR , dwmode : BCRYPT_QUERY_PROVIDER_MODE , dwflags : BCRYPT_RESOLVE_PROVIDERS_FLAGS , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_PROVIDER_REFS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptResolveProviders ( pszcontext : :: windows::core::PCWSTR , dwinterface : u32 , pszfunction : :: windows::core::PCWSTR , pszprovider : :: windows::core::PCWSTR , dwmode : BCRYPT_QUERY_PROVIDER_MODE , dwflags : BCRYPT_RESOLVE_PROVIDERS_FLAGS , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_PROVIDER_REFS ) -> super::super::Foundation:: NTSTATUS ); BCryptResolveProviders(pszcontext.into().abi(), dwinterface, pszfunction.into().abi(), pszprovider.into().abi(), dwmode, dwflags, pcbbuffer, ppbuffer).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -508,7 +508,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptSecretAgreement ( hprivkey : BCRYPT_KEY_HANDLE , hpubkey : BCRYPT_KEY_HANDLE , phagreedsecret : *mut BCRYPT_SECRET_HANDLE , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptSecretAgreement ( hprivkey : BCRYPT_KEY_HANDLE , hpubkey : BCRYPT_KEY_HANDLE , phagreedsecret : *mut BCRYPT_SECRET_HANDLE , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptSecretAgreement(hprivkey.into(), hpubkey.into(), phagreedsecret, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -520,7 +520,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptSetContextFunctionProperty ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pszproperty : :: windows::core::PCWSTR , cbvalue : u32 , pbvalue : *const u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptSetContextFunctionProperty ( dwtable : BCRYPT_TABLE , pszcontext : :: windows::core::PCWSTR , dwinterface : BCRYPT_INTERFACE , pszfunction : :: windows::core::PCWSTR , pszproperty : :: windows::core::PCWSTR , cbvalue : u32 , pbvalue : *const u8 ) -> super::super::Foundation:: NTSTATUS ); BCryptSetContextFunctionProperty(dwtable, pszcontext.into().abi(), dwinterface, pszfunction.into().abi(), pszproperty.into().abi(), pbvalue.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbvalue.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -531,7 +531,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptSetProperty ( hobject : BCRYPT_HANDLE , pszproperty : :: windows::core::PCWSTR , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptSetProperty ( hobject : BCRYPT_HANDLE , pszproperty : :: windows::core::PCWSTR , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); BCryptSetProperty(hobject.into(), pszproperty.into().abi(), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -541,7 +541,7 @@ pub unsafe fn BCryptSignHash(hkey: P0, ppaddinginfo: ::core::option::Option< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptSignHash ( hkey : BCRYPT_KEY_HANDLE , ppaddinginfo : *const ::core::ffi::c_void , pbinput : *const u8 , cbinput : u32 , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptSignHash ( hkey : BCRYPT_KEY_HANDLE , ppaddinginfo : *const ::core::ffi::c_void , pbinput : *const u8 , cbinput : u32 , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); BCryptSignHash(hkey.into(), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -551,7 +551,7 @@ pub unsafe fn BCryptUnregisterConfigChangeNotify(hevent: P0) -> ::windows::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptUnregisterConfigChangeNotify ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptUnregisterConfigChangeNotify ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); BCryptUnregisterConfigChangeNotify(hevent.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -561,7 +561,7 @@ pub unsafe fn BCryptVerifySignature(hkey: P0, ppaddinginfo: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "bcrypt.dll""system" fn BCryptVerifySignature ( hkey : BCRYPT_KEY_HANDLE , ppaddinginfo : *const ::core::ffi::c_void , pbhash : *const u8 , cbhash : u32 , pbsignature : *const u8 , cbsignature : u32 , dwflags : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "bcrypt.dll""system" fn BCryptVerifySignature ( hkey : BCRYPT_KEY_HANDLE , ppaddinginfo : *const ::core::ffi::c_void , pbhash : *const u8 , cbhash : u32 , pbsignature : *const u8 , cbsignature : u32 , dwflags : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); BCryptVerifySignature(hkey.into(), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbhash.as_ptr()), pbhash.len() as _, ::core::mem::transmute(pbsignature.as_ptr()), pbsignature.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -571,7 +571,7 @@ pub unsafe fn CertAddCRLContextToStore(hcertstore: P0, pcrlcontext: *const C where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddCRLContextToStore ( hcertstore : HCERTSTORE , pcrlcontext : *const CRL_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddCRLContextToStore ( hcertstore : HCERTSTORE , pcrlcontext : *const CRL_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddCRLContextToStore(hcertstore.into(), pcrlcontext, dwadddisposition, ::core::mem::transmute(ppstorecontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -581,7 +581,7 @@ pub unsafe fn CertAddCRLLinkToStore(hcertstore: P0, pcrlcontext: *const CRL_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddCRLLinkToStore ( hcertstore : HCERTSTORE , pcrlcontext : *const CRL_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddCRLLinkToStore ( hcertstore : HCERTSTORE , pcrlcontext : *const CRL_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddCRLLinkToStore(hcertstore.into(), pcrlcontext, dwadddisposition, ::core::mem::transmute(ppstorecontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -591,7 +591,7 @@ pub unsafe fn CertAddCTLContextToStore(hcertstore: P0, pctlcontext: *const C where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddCTLContextToStore ( hcertstore : HCERTSTORE , pctlcontext : *const CTL_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddCTLContextToStore ( hcertstore : HCERTSTORE , pctlcontext : *const CTL_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddCTLContextToStore(hcertstore.into(), pctlcontext, dwadddisposition, ::core::mem::transmute(ppstorecontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -601,7 +601,7 @@ pub unsafe fn CertAddCTLLinkToStore(hcertstore: P0, pctlcontext: *const CTL_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddCTLLinkToStore ( hcertstore : HCERTSTORE , pctlcontext : *const CTL_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddCTLLinkToStore ( hcertstore : HCERTSTORE , pctlcontext : *const CTL_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddCTLLinkToStore(hcertstore.into(), pctlcontext, dwadddisposition, ::core::mem::transmute(ppstorecontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -611,7 +611,7 @@ pub unsafe fn CertAddCertificateContextToStore(hcertstore: P0, pcertcontext: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddCertificateContextToStore ( hcertstore : HCERTSTORE , pcertcontext : *const CERT_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddCertificateContextToStore ( hcertstore : HCERTSTORE , pcertcontext : *const CERT_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddCertificateContextToStore(hcertstore.into(), pcertcontext, dwadddisposition, ::core::mem::transmute(ppstorecontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -621,7 +621,7 @@ pub unsafe fn CertAddCertificateLinkToStore(hcertstore: P0, pcertcontext: *c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddCertificateLinkToStore ( hcertstore : HCERTSTORE , pcertcontext : *const CERT_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddCertificateLinkToStore ( hcertstore : HCERTSTORE , pcertcontext : *const CERT_CONTEXT , dwadddisposition : u32 , ppstorecontext : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddCertificateLinkToStore(hcertstore.into(), pcertcontext, dwadddisposition, ::core::mem::transmute(ppstorecontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -631,7 +631,7 @@ pub unsafe fn CertAddEncodedCRLToStore(hcertstore: P0, dwcertencodingtype: C where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddEncodedCRLToStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcrlencoded : *const u8 , cbcrlencoded : u32 , dwadddisposition : u32 , ppcrlcontext : *mut *mut CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddEncodedCRLToStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcrlencoded : *const u8 , cbcrlencoded : u32 , dwadddisposition : u32 , ppcrlcontext : *mut *mut CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddEncodedCRLToStore(hcertstore.into(), dwcertencodingtype, ::core::mem::transmute(pbcrlencoded.as_ptr()), pbcrlencoded.len() as _, dwadddisposition, ::core::mem::transmute(ppcrlcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -641,7 +641,7 @@ pub unsafe fn CertAddEncodedCTLToStore(hcertstore: P0, dwmsgandcertencodingt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddEncodedCTLToStore ( hcertstore : HCERTSTORE , dwmsgandcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbctlencoded : *const u8 , cbctlencoded : u32 , dwadddisposition : u32 , ppctlcontext : *mut *mut CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddEncodedCTLToStore ( hcertstore : HCERTSTORE , dwmsgandcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbctlencoded : *const u8 , cbctlencoded : u32 , dwadddisposition : u32 , ppctlcontext : *mut *mut CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddEncodedCTLToStore(hcertstore.into(), dwmsgandcertencodingtype, ::core::mem::transmute(pbctlencoded.as_ptr()), pbctlencoded.len() as _, dwadddisposition, ::core::mem::transmute(ppctlcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -651,7 +651,7 @@ pub unsafe fn CertAddEncodedCertificateToStore(hcertstore: P0, dwcertencodin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddEncodedCertificateToStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcertencoded : *const u8 , cbcertencoded : u32 , dwadddisposition : u32 , ppcertcontext : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddEncodedCertificateToStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcertencoded : *const u8 , cbcertencoded : u32 , dwadddisposition : u32 , ppcertcontext : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CertAddEncodedCertificateToStore(hcertstore.into(), dwcertencodingtype, ::core::mem::transmute(pbcertencoded.as_ptr()), pbcertencoded.len() as _, dwadddisposition, ::core::mem::transmute(ppcertcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -661,7 +661,7 @@ pub unsafe fn CertAddEncodedCertificateToSystemStoreA(szcertstorename: P0, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddEncodedCertificateToSystemStoreA ( szcertstorename : :: windows::core::PCSTR , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddEncodedCertificateToSystemStoreA ( szcertstorename : :: windows::core::PCSTR , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> super::super::Foundation:: BOOL ); CertAddEncodedCertificateToSystemStoreA(szcertstorename.into().abi(), ::core::mem::transmute(pbcertencoded.as_ptr()), pbcertencoded.len() as _) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -671,7 +671,7 @@ pub unsafe fn CertAddEncodedCertificateToSystemStoreW(szcertstorename: P0, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddEncodedCertificateToSystemStoreW ( szcertstorename : :: windows::core::PCWSTR , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddEncodedCertificateToSystemStoreW ( szcertstorename : :: windows::core::PCWSTR , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> super::super::Foundation:: BOOL ); CertAddEncodedCertificateToSystemStoreW(szcertstorename.into().abi(), ::core::mem::transmute(pbcertencoded.as_ptr()), pbcertencoded.len() as _) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -681,19 +681,19 @@ pub unsafe fn CertAddEnhancedKeyUsageIdentifier(pcertcontext: *const CERT_CO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddEnhancedKeyUsageIdentifier ( pcertcontext : *const CERT_CONTEXT , pszusageidentifier : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddEnhancedKeyUsageIdentifier ( pcertcontext : *const CERT_CONTEXT , pszusageidentifier : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); CertAddEnhancedKeyUsageIdentifier(pcertcontext, pszusageidentifier.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertAddRefServerOcspResponse(hserverocspresponse: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddRefServerOcspResponse ( hserverocspresponse : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddRefServerOcspResponse ( hserverocspresponse : *const ::core::ffi::c_void ) -> ( ) ); CertAddRefServerOcspResponse(::core::mem::transmute(hserverocspresponse.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertAddRefServerOcspResponseContext(pserverocspresponsecontext: ::core::option::Option<*const CERT_SERVER_OCSP_RESPONSE_CONTEXT>) { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddRefServerOcspResponseContext ( pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddRefServerOcspResponseContext ( pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT ) -> ( ) ); CertAddRefServerOcspResponseContext(::core::mem::transmute(pserverocspresponsecontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -703,7 +703,7 @@ pub unsafe fn CertAddSerializedElementToStore(hcertstore: P0, pbelement: &[u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddSerializedElementToStore ( hcertstore : HCERTSTORE , pbelement : *const u8 , cbelement : u32 , dwadddisposition : u32 , dwflags : u32 , dwcontexttypeflags : u32 , pdwcontexttype : *mut u32 , ppvcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddSerializedElementToStore ( hcertstore : HCERTSTORE , pbelement : *const u8 , cbelement : u32 , dwadddisposition : u32 , dwflags : u32 , dwcontexttypeflags : u32 , pdwcontexttype : *mut u32 , ppvcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertAddSerializedElementToStore(hcertstore.into(), ::core::mem::transmute(pbelement.as_ptr()), pbelement.len() as _, dwadddisposition, dwflags, dwcontexttypeflags, ::core::mem::transmute(pdwcontexttype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppvcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -714,19 +714,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAddStoreToCollection ( hcollectionstore : HCERTSTORE , hsiblingstore : HCERTSTORE , dwupdateflags : u32 , dwpriority : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAddStoreToCollection ( hcollectionstore : HCERTSTORE , hsiblingstore : HCERTSTORE , dwupdateflags : u32 , dwpriority : u32 ) -> super::super::Foundation:: BOOL ); CertAddStoreToCollection(hcollectionstore.into(), hsiblingstore.into(), dwupdateflags, dwpriority) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertAlgIdToOID(dwalgid: u32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "crypt32.dll""system" fn CertAlgIdToOID ( dwalgid : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertAlgIdToOID ( dwalgid : u32 ) -> :: windows::core::PSTR ); CertAlgIdToOID(dwalgid) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertCloseServerOcspResponse(hserverocspresponse: ::core::option::Option<*const ::core::ffi::c_void>, dwflags: u32) { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCloseServerOcspResponse ( hserverocspresponse : *const ::core::ffi::c_void , dwflags : u32 ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCloseServerOcspResponse ( hserverocspresponse : *const ::core::ffi::c_void , dwflags : u32 ) -> ( ) ); CertCloseServerOcspResponse(::core::mem::transmute(hserverocspresponse.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -736,35 +736,35 @@ pub unsafe fn CertCloseStore(hcertstore: P0, dwflags: u32) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCloseStore ( hcertstore : HCERTSTORE , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCloseStore ( hcertstore : HCERTSTORE , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CertCloseStore(hcertstore.into(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCompareCertificate(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pcertid1: *const CERT_INFO, pcertid2: *const CERT_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCompareCertificate ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertid1 : *const CERT_INFO , pcertid2 : *const CERT_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCompareCertificate ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertid1 : *const CERT_INFO , pcertid2 : *const CERT_INFO ) -> super::super::Foundation:: BOOL ); CertCompareCertificate(dwcertencodingtype, pcertid1, pcertid2) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCompareCertificateName(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pcertname1: *const CRYPT_INTEGER_BLOB, pcertname2: *const CRYPT_INTEGER_BLOB) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCompareCertificateName ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertname1 : *const CRYPT_INTEGER_BLOB , pcertname2 : *const CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCompareCertificateName ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertname1 : *const CRYPT_INTEGER_BLOB , pcertname2 : *const CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); CertCompareCertificateName(dwcertencodingtype, pcertname1, pcertname2) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCompareIntegerBlob(pint1: *const CRYPT_INTEGER_BLOB, pint2: *const CRYPT_INTEGER_BLOB) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCompareIntegerBlob ( pint1 : *const CRYPT_INTEGER_BLOB , pint2 : *const CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCompareIntegerBlob ( pint1 : *const CRYPT_INTEGER_BLOB , pint2 : *const CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); CertCompareIntegerBlob(pint1, pint2) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertComparePublicKeyInfo(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, ppublickey1: *const CERT_PUBLIC_KEY_INFO, ppublickey2: *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertComparePublicKeyInfo ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , ppublickey1 : *const CERT_PUBLIC_KEY_INFO , ppublickey2 : *const CERT_PUBLIC_KEY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertComparePublicKeyInfo ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , ppublickey1 : *const CERT_PUBLIC_KEY_INFO , ppublickey2 : *const CERT_PUBLIC_KEY_INFO ) -> super::super::Foundation:: BOOL ); CertComparePublicKeyInfo(dwcertencodingtype, ppublickey1, ppublickey2) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -774,49 +774,49 @@ pub unsafe fn CertControlStore(hcertstore: P0, dwflags: CERT_CONTROL_STORE_F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertControlStore ( hcertstore : HCERTSTORE , dwflags : CERT_CONTROL_STORE_FLAGS , dwctrltype : u32 , pvctrlpara : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertControlStore ( hcertstore : HCERTSTORE , dwflags : CERT_CONTROL_STORE_FLAGS , dwctrltype : u32 , pvctrlpara : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertControlStore(hcertstore.into(), dwflags, dwctrltype, ::core::mem::transmute(pvctrlpara.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCreateCRLContext(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pbcrlencoded: &[u8]) -> *mut CRL_CONTEXT { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCreateCRLContext ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcrlencoded : *const u8 , cbcrlencoded : u32 ) -> *mut CRL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCreateCRLContext ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcrlencoded : *const u8 , cbcrlencoded : u32 ) -> *mut CRL_CONTEXT ); CertCreateCRLContext(dwcertencodingtype, ::core::mem::transmute(pbcrlencoded.as_ptr()), pbcrlencoded.len() as _) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCreateCTLContext(dwmsgandcertencodingtype: u32, pbctlencoded: &[u8]) -> *mut CTL_CONTEXT { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCreateCTLContext ( dwmsgandcertencodingtype : u32 , pbctlencoded : *const u8 , cbctlencoded : u32 ) -> *mut CTL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCreateCTLContext ( dwmsgandcertencodingtype : u32 , pbctlencoded : *const u8 , cbctlencoded : u32 ) -> *mut CTL_CONTEXT ); CertCreateCTLContext(dwmsgandcertencodingtype, ::core::mem::transmute(pbctlencoded.as_ptr()), pbctlencoded.len() as _) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCreateCTLEntryFromCertificateContextProperties(pcertcontext: *const CERT_CONTEXT, rgoptattr: ::core::option::Option<&[CRYPT_ATTRIBUTE]>, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, pctlentry: ::core::option::Option<*mut CTL_ENTRY>, pcbctlentry: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCreateCTLEntryFromCertificateContextProperties ( pcertcontext : *const CERT_CONTEXT , coptattr : u32 , rgoptattr : *const CRYPT_ATTRIBUTE , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , pctlentry : *mut CTL_ENTRY , pcbctlentry : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCreateCTLEntryFromCertificateContextProperties ( pcertcontext : *const CERT_CONTEXT , coptattr : u32 , rgoptattr : *const CRYPT_ATTRIBUTE , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , pctlentry : *mut CTL_ENTRY , pcbctlentry : *mut u32 ) -> super::super::Foundation:: BOOL ); CertCreateCTLEntryFromCertificateContextProperties(pcertcontext, rgoptattr.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgoptattr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pctlentry.unwrap_or(::std::ptr::null_mut())), pcbctlentry) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCreateCertificateChainEngine(pconfig: *const CERT_CHAIN_ENGINE_CONFIG, phchainengine: *mut HCERTCHAINENGINE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCreateCertificateChainEngine ( pconfig : *const CERT_CHAIN_ENGINE_CONFIG , phchainengine : *mut HCERTCHAINENGINE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCreateCertificateChainEngine ( pconfig : *const CERT_CHAIN_ENGINE_CONFIG , phchainengine : *mut HCERTCHAINENGINE ) -> super::super::Foundation:: BOOL ); CertCreateCertificateChainEngine(pconfig, phchainengine) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCreateCertificateContext(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pbcertencoded: &[u8]) -> *mut CERT_CONTEXT { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCreateCertificateContext ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> *mut CERT_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCreateCertificateContext ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> *mut CERT_CONTEXT ); CertCreateCertificateContext(dwcertencodingtype, ::core::mem::transmute(pbcertencoded.as_ptr()), pbcertencoded.len() as _) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertCreateContext(dwcontexttype: u32, dwencodingtype: u32, pbencoded: &[u8], dwflags: u32, pcreatepara: ::core::option::Option<*const CERT_CREATE_CONTEXT_PARA>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCreateContext ( dwcontexttype : u32 , dwencodingtype : u32 , pbencoded : *const u8 , cbencoded : u32 , dwflags : u32 , pcreatepara : *const CERT_CREATE_CONTEXT_PARA ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCreateContext ( dwcontexttype : u32 , dwencodingtype : u32 , pbencoded : *const u8 , cbencoded : u32 , dwflags : u32 , pcreatepara : *const CERT_CREATE_CONTEXT_PARA ) -> *mut ::core::ffi::c_void ); CertCreateContext(dwcontexttype, dwencodingtype, ::core::mem::transmute(pbencoded.as_ptr()), pbencoded.len() as _, dwflags, ::core::mem::transmute(pcreatepara.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -826,56 +826,56 @@ pub unsafe fn CertCreateSelfSignCertificate(hcryptprovorncryptkey: P0, psubj where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertCreateSelfSignCertificate ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , psubjectissuerblob : *const CRYPT_INTEGER_BLOB , dwflags : CERT_CREATE_SELFSIGN_FLAGS , pkeyprovinfo : *const CRYPT_KEY_PROV_INFO , psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER , pstarttime : *const super::super::Foundation:: SYSTEMTIME , pendtime : *const super::super::Foundation:: SYSTEMTIME , pextensions : *const CERT_EXTENSIONS ) -> *mut CERT_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertCreateSelfSignCertificate ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , psubjectissuerblob : *const CRYPT_INTEGER_BLOB , dwflags : CERT_CREATE_SELFSIGN_FLAGS , pkeyprovinfo : *const CRYPT_KEY_PROV_INFO , psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER , pstarttime : *const super::super::Foundation:: SYSTEMTIME , pendtime : *const super::super::Foundation:: SYSTEMTIME , pextensions : *const CERT_EXTENSIONS ) -> *mut CERT_CONTEXT ); CertCreateSelfSignCertificate(hcryptprovorncryptkey.into(), psubjectissuerblob, dwflags, ::core::mem::transmute(pkeyprovinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psignaturealgorithm.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pstarttime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pendtime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pextensions.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertDeleteCRLFromStore(pcrlcontext: *const CRL_CONTEXT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertDeleteCRLFromStore ( pcrlcontext : *const CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertDeleteCRLFromStore ( pcrlcontext : *const CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertDeleteCRLFromStore(pcrlcontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertDeleteCTLFromStore(pctlcontext: *const CTL_CONTEXT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertDeleteCTLFromStore ( pctlcontext : *const CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertDeleteCTLFromStore ( pctlcontext : *const CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertDeleteCTLFromStore(pctlcontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertDeleteCertificateFromStore(pcertcontext: *const CERT_CONTEXT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertDeleteCertificateFromStore ( pcertcontext : *const CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertDeleteCertificateFromStore ( pcertcontext : *const CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CertDeleteCertificateFromStore(pcertcontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertDuplicateCRLContext(pcrlcontext: ::core::option::Option<*const CRL_CONTEXT>) -> *mut CRL_CONTEXT { - ::windows::core::link ! ( "crypt32.dll""system" fn CertDuplicateCRLContext ( pcrlcontext : *const CRL_CONTEXT ) -> *mut CRL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertDuplicateCRLContext ( pcrlcontext : *const CRL_CONTEXT ) -> *mut CRL_CONTEXT ); CertDuplicateCRLContext(::core::mem::transmute(pcrlcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertDuplicateCTLContext(pctlcontext: ::core::option::Option<*const CTL_CONTEXT>) -> *mut CTL_CONTEXT { - ::windows::core::link ! ( "crypt32.dll""system" fn CertDuplicateCTLContext ( pctlcontext : *const CTL_CONTEXT ) -> *mut CTL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertDuplicateCTLContext ( pctlcontext : *const CTL_CONTEXT ) -> *mut CTL_CONTEXT ); CertDuplicateCTLContext(::core::mem::transmute(pctlcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertDuplicateCertificateChain(pchaincontext: *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT { - ::windows::core::link ! ( "crypt32.dll""system" fn CertDuplicateCertificateChain ( pchaincontext : *const CERT_CHAIN_CONTEXT ) -> *mut CERT_CHAIN_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertDuplicateCertificateChain ( pchaincontext : *const CERT_CHAIN_CONTEXT ) -> *mut CERT_CHAIN_CONTEXT ); CertDuplicateCertificateChain(pchaincontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertDuplicateCertificateContext(pcertcontext: ::core::option::Option<*const CERT_CONTEXT>) -> *mut CERT_CONTEXT { - ::windows::core::link ! ( "crypt32.dll""system" fn CertDuplicateCertificateContext ( pcertcontext : *const CERT_CONTEXT ) -> *mut CERT_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertDuplicateCertificateContext ( pcertcontext : *const CERT_CONTEXT ) -> *mut CERT_CONTEXT ); CertDuplicateCertificateContext(::core::mem::transmute(pcertcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -884,14 +884,14 @@ pub unsafe fn CertDuplicateStore(hcertstore: P0) -> HCERTSTORE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertDuplicateStore ( hcertstore : HCERTSTORE ) -> HCERTSTORE ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertDuplicateStore ( hcertstore : HCERTSTORE ) -> HCERTSTORE ); CertDuplicateStore(hcertstore.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertEnumCRLContextProperties(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumCRLContextProperties ( pcrlcontext : *const CRL_CONTEXT , dwpropid : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumCRLContextProperties ( pcrlcontext : *const CRL_CONTEXT , dwpropid : u32 ) -> u32 ); CertEnumCRLContextProperties(pcrlcontext, dwpropid) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -901,14 +901,14 @@ pub unsafe fn CertEnumCRLsInStore(hcertstore: P0, pprevcrlcontext: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumCRLsInStore ( hcertstore : HCERTSTORE , pprevcrlcontext : *const CRL_CONTEXT ) -> *mut CRL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumCRLsInStore ( hcertstore : HCERTSTORE , pprevcrlcontext : *const CRL_CONTEXT ) -> *mut CRL_CONTEXT ); CertEnumCRLsInStore(hcertstore.into(), ::core::mem::transmute(pprevcrlcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertEnumCTLContextProperties(pctlcontext: *const CTL_CONTEXT, dwpropid: u32) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumCTLContextProperties ( pctlcontext : *const CTL_CONTEXT , dwpropid : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumCTLContextProperties ( pctlcontext : *const CTL_CONTEXT , dwpropid : u32 ) -> u32 ); CertEnumCTLContextProperties(pctlcontext, dwpropid) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -918,14 +918,14 @@ pub unsafe fn CertEnumCTLsInStore(hcertstore: P0, pprevctlcontext: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumCTLsInStore ( hcertstore : HCERTSTORE , pprevctlcontext : *const CTL_CONTEXT ) -> *mut CTL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumCTLsInStore ( hcertstore : HCERTSTORE , pprevctlcontext : *const CTL_CONTEXT ) -> *mut CTL_CONTEXT ); CertEnumCTLsInStore(hcertstore.into(), ::core::mem::transmute(pprevctlcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertEnumCertificateContextProperties(pcertcontext: *const CERT_CONTEXT, dwpropid: u32) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumCertificateContextProperties ( pcertcontext : *const CERT_CONTEXT , dwpropid : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumCertificateContextProperties ( pcertcontext : *const CERT_CONTEXT , dwpropid : u32 ) -> u32 ); CertEnumCertificateContextProperties(pcertcontext, dwpropid) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -935,35 +935,35 @@ pub unsafe fn CertEnumCertificatesInStore(hcertstore: P0, pprevcertcontext: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumCertificatesInStore ( hcertstore : HCERTSTORE , pprevcertcontext : *const CERT_CONTEXT ) -> *mut CERT_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumCertificatesInStore ( hcertstore : HCERTSTORE , pprevcertcontext : *const CERT_CONTEXT ) -> *mut CERT_CONTEXT ); CertEnumCertificatesInStore(hcertstore.into(), ::core::mem::transmute(pprevcertcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertEnumPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pvarg: ::core::option::Option<*mut ::core::ffi::c_void>, pfnenum: PFN_CERT_ENUM_PHYSICAL_STORE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumPhysicalStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CERT_ENUM_PHYSICAL_STORE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumPhysicalStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CERT_ENUM_PHYSICAL_STORE ) -> super::super::Foundation:: BOOL ); CertEnumPhysicalStore(pvsystemstore, dwflags, ::core::mem::transmute(pvarg.unwrap_or(::std::ptr::null_mut())), pfnenum) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertEnumSubjectInSortedCTL(pctlcontext: *const CTL_CONTEXT, ppvnextsubject: *mut *mut ::core::ffi::c_void, psubjectidentifier: ::core::option::Option<*mut CRYPT_INTEGER_BLOB>, pencodedattributes: ::core::option::Option<*mut CRYPT_INTEGER_BLOB>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumSubjectInSortedCTL ( pctlcontext : *const CTL_CONTEXT , ppvnextsubject : *mut *mut ::core::ffi::c_void , psubjectidentifier : *mut CRYPT_INTEGER_BLOB , pencodedattributes : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumSubjectInSortedCTL ( pctlcontext : *const CTL_CONTEXT , ppvnextsubject : *mut *mut ::core::ffi::c_void , psubjectidentifier : *mut CRYPT_INTEGER_BLOB , pencodedattributes : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); CertEnumSubjectInSortedCTL(pctlcontext, ppvnextsubject, ::core::mem::transmute(psubjectidentifier.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pencodedattributes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertEnumSystemStore(dwflags: u32, pvsystemstorelocationpara: ::core::option::Option<*const ::core::ffi::c_void>, pvarg: ::core::option::Option<*mut ::core::ffi::c_void>, pfnenum: PFN_CERT_ENUM_SYSTEM_STORE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumSystemStore ( dwflags : u32 , pvsystemstorelocationpara : *const ::core::ffi::c_void , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CERT_ENUM_SYSTEM_STORE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumSystemStore ( dwflags : u32 , pvsystemstorelocationpara : *const ::core::ffi::c_void , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CERT_ENUM_SYSTEM_STORE ) -> super::super::Foundation:: BOOL ); CertEnumSystemStore(dwflags, ::core::mem::transmute(pvsystemstorelocationpara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvarg.unwrap_or(::std::ptr::null_mut())), pfnenum) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertEnumSystemStoreLocation(dwflags: u32, pvarg: ::core::option::Option<*mut ::core::ffi::c_void>, pfnenum: PFN_CERT_ENUM_SYSTEM_STORE_LOCATION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertEnumSystemStoreLocation ( dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CERT_ENUM_SYSTEM_STORE_LOCATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertEnumSystemStoreLocation ( dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CERT_ENUM_SYSTEM_STORE_LOCATION ) -> super::super::Foundation:: BOOL ); CertEnumSystemStoreLocation(dwflags, ::core::mem::transmute(pvarg.unwrap_or(::std::ptr::null_mut())), pfnenum) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -972,7 +972,7 @@ pub unsafe fn CertFindAttribute(pszobjid: P0, rgattr: &[CRYPT_ATTRIBUTE]) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindAttribute ( pszobjid : :: windows::core::PCSTR , cattr : u32 , rgattr : *const CRYPT_ATTRIBUTE ) -> *mut CRYPT_ATTRIBUTE ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindAttribute ( pszobjid : :: windows::core::PCSTR , cattr : u32 , rgattr : *const CRYPT_ATTRIBUTE ) -> *mut CRYPT_ATTRIBUTE ); CertFindAttribute(pszobjid.into().abi(), rgattr.len() as _, ::core::mem::transmute(rgattr.as_ptr())) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -982,7 +982,7 @@ pub unsafe fn CertFindCRLInStore(hcertstore: P0, dwcertencodingtype: CERT_QU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindCRLInStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwfindflags : u32 , dwfindtype : u32 , pvfindpara : *const ::core::ffi::c_void , pprevcrlcontext : *const CRL_CONTEXT ) -> *mut CRL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindCRLInStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwfindflags : u32 , dwfindtype : u32 , pvfindpara : *const ::core::ffi::c_void , pprevcrlcontext : *const CRL_CONTEXT ) -> *mut CRL_CONTEXT ); CertFindCRLInStore(hcertstore.into(), dwcertencodingtype, dwfindflags, dwfindtype, ::core::mem::transmute(pvfindpara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprevcrlcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -992,14 +992,14 @@ pub unsafe fn CertFindCTLInStore(hcertstore: P0, dwmsgandcertencodingtype: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindCTLInStore ( hcertstore : HCERTSTORE , dwmsgandcertencodingtype : u32 , dwfindflags : u32 , dwfindtype : CERT_FIND_TYPE , pvfindpara : *const ::core::ffi::c_void , pprevctlcontext : *const CTL_CONTEXT ) -> *mut CTL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindCTLInStore ( hcertstore : HCERTSTORE , dwmsgandcertencodingtype : u32 , dwfindflags : u32 , dwfindtype : CERT_FIND_TYPE , pvfindpara : *const ::core::ffi::c_void , pprevctlcontext : *const CTL_CONTEXT ) -> *mut CTL_CONTEXT ); CertFindCTLInStore(hcertstore.into(), dwmsgandcertencodingtype, dwfindflags, dwfindtype, ::core::mem::transmute(pvfindpara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprevctlcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertFindCertificateInCRL(pcert: *const CERT_CONTEXT, pcrlcontext: *const CRL_CONTEXT, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, ppcrlentry: *mut *mut CRL_ENTRY) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindCertificateInCRL ( pcert : *const CERT_CONTEXT , pcrlcontext : *const CRL_CONTEXT , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , ppcrlentry : *mut *mut CRL_ENTRY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindCertificateInCRL ( pcert : *const CERT_CONTEXT , pcrlcontext : *const CRL_CONTEXT , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , ppcrlentry : *mut *mut CRL_ENTRY ) -> super::super::Foundation:: BOOL ); CertFindCertificateInCRL(pcert, pcrlcontext, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ppcrlentry) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1009,7 +1009,7 @@ pub unsafe fn CertFindCertificateInStore(hcertstore: P0, dwcertencodingtype: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindCertificateInStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwfindflags : u32 , dwfindtype : CERT_FIND_FLAGS , pvfindpara : *const ::core::ffi::c_void , pprevcertcontext : *const CERT_CONTEXT ) -> *mut CERT_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindCertificateInStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwfindflags : u32 , dwfindtype : CERT_FIND_FLAGS , pvfindpara : *const ::core::ffi::c_void , pprevcertcontext : *const CERT_CONTEXT ) -> *mut CERT_CONTEXT ); CertFindCertificateInStore(hcertstore.into(), dwcertencodingtype, dwfindflags, dwfindtype, ::core::mem::transmute(pvfindpara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprevcertcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1019,7 +1019,7 @@ pub unsafe fn CertFindChainInStore(hcertstore: P0, dwcertencodingtype: CERT_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindChainInStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwfindflags : CERT_FIND_CHAIN_IN_STORE_FLAGS , dwfindtype : u32 , pvfindpara : *const ::core::ffi::c_void , pprevchaincontext : *const CERT_CHAIN_CONTEXT ) -> *mut CERT_CHAIN_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindChainInStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwfindflags : CERT_FIND_CHAIN_IN_STORE_FLAGS , dwfindtype : u32 , pvfindpara : *const ::core::ffi::c_void , pprevchaincontext : *const CERT_CHAIN_CONTEXT ) -> *mut CERT_CHAIN_CONTEXT ); CertFindChainInStore(hcertstore.into(), dwcertencodingtype, dwfindflags, dwfindtype, ::core::mem::transmute(pvfindpara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprevchaincontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1029,7 +1029,7 @@ pub unsafe fn CertFindExtension(pszobjid: P0, rgextensions: &[CERT_EXTENSION where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindExtension ( pszobjid : :: windows::core::PCSTR , cextensions : u32 , rgextensions : *const CERT_EXTENSION ) -> *mut CERT_EXTENSION ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindExtension ( pszobjid : :: windows::core::PCSTR , cextensions : u32 , rgextensions : *const CERT_EXTENSION ) -> *mut CERT_EXTENSION ); CertFindExtension(pszobjid.into().abi(), rgextensions.len() as _, ::core::mem::transmute(rgextensions.as_ptr())) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1038,42 +1038,42 @@ pub unsafe fn CertFindRDNAttr(pszobjid: P0, pname: *const CERT_NAME_INFO) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindRDNAttr ( pszobjid : :: windows::core::PCSTR , pname : *const CERT_NAME_INFO ) -> *mut CERT_RDN_ATTR ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindRDNAttr ( pszobjid : :: windows::core::PCSTR , pname : *const CERT_NAME_INFO ) -> *mut CERT_RDN_ATTR ); CertFindRDNAttr(pszobjid.into().abi(), pname) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertFindSubjectInCTL(dwencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, pctlcontext: *const CTL_CONTEXT, dwflags: u32) -> *mut CTL_ENTRY { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindSubjectInCTL ( dwencodingtype : u32 , dwsubjecttype : u32 , pvsubject : *const ::core::ffi::c_void , pctlcontext : *const CTL_CONTEXT , dwflags : u32 ) -> *mut CTL_ENTRY ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindSubjectInCTL ( dwencodingtype : u32 , dwsubjecttype : u32 , pvsubject : *const ::core::ffi::c_void , pctlcontext : *const CTL_CONTEXT , dwflags : u32 ) -> *mut CTL_ENTRY ); CertFindSubjectInCTL(dwencodingtype, dwsubjecttype, pvsubject, pctlcontext, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertFindSubjectInSortedCTL(psubjectidentifier: *const CRYPT_INTEGER_BLOB, pctlcontext: *const CTL_CONTEXT, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, pencodedattributes: ::core::option::Option<*mut CRYPT_INTEGER_BLOB>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFindSubjectInSortedCTL ( psubjectidentifier : *const CRYPT_INTEGER_BLOB , pctlcontext : *const CTL_CONTEXT , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , pencodedattributes : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFindSubjectInSortedCTL ( psubjectidentifier : *const CRYPT_INTEGER_BLOB , pctlcontext : *const CTL_CONTEXT , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , pencodedattributes : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); CertFindSubjectInSortedCTL(psubjectidentifier, pctlcontext, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pencodedattributes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertFreeCRLContext(pcrlcontext: ::core::option::Option<*const CRL_CONTEXT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFreeCRLContext ( pcrlcontext : *const CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFreeCRLContext ( pcrlcontext : *const CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertFreeCRLContext(::core::mem::transmute(pcrlcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertFreeCTLContext(pctlcontext: ::core::option::Option<*const CTL_CONTEXT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFreeCTLContext ( pctlcontext : *const CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFreeCTLContext ( pctlcontext : *const CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); CertFreeCTLContext(::core::mem::transmute(pctlcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertFreeCertificateChain(pchaincontext: *const CERT_CHAIN_CONTEXT) { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFreeCertificateChain ( pchaincontext : *const CERT_CHAIN_CONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFreeCertificateChain ( pchaincontext : *const CERT_CHAIN_CONTEXT ) -> ( ) ); CertFreeCertificateChain(pchaincontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1082,34 +1082,34 @@ pub unsafe fn CertFreeCertificateChainEngine(hchainengine: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFreeCertificateChainEngine ( hchainengine : HCERTCHAINENGINE ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFreeCertificateChainEngine ( hchainengine : HCERTCHAINENGINE ) -> ( ) ); CertFreeCertificateChainEngine(hchainengine.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertFreeCertificateChainList(prgpselection: *const *const CERT_CHAIN_CONTEXT) { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFreeCertificateChainList ( prgpselection : *const *const CERT_CHAIN_CONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFreeCertificateChainList ( prgpselection : *const *const CERT_CHAIN_CONTEXT ) -> ( ) ); CertFreeCertificateChainList(prgpselection) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertFreeCertificateContext(pcertcontext: ::core::option::Option<*const CERT_CONTEXT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFreeCertificateContext ( pcertcontext : *const CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFreeCertificateContext ( pcertcontext : *const CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CertFreeCertificateContext(::core::mem::transmute(pcertcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertFreeServerOcspResponseContext(pserverocspresponsecontext: ::core::option::Option<*const CERT_SERVER_OCSP_RESPONSE_CONTEXT>) { - ::windows::core::link ! ( "crypt32.dll""system" fn CertFreeServerOcspResponseContext ( pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertFreeServerOcspResponseContext ( pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT ) -> ( ) ); CertFreeServerOcspResponseContext(::core::mem::transmute(pserverocspresponsecontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertGetCRLContextProperty(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, pvdata: ::core::option::Option<*mut ::core::ffi::c_void>, pcbdata: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetCRLContextProperty ( pcrlcontext : *const CRL_CONTEXT , dwpropid : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetCRLContextProperty ( pcrlcontext : *const CRL_CONTEXT , dwpropid : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); CertGetCRLContextProperty(pcrlcontext, dwpropid, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), pcbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1119,14 +1119,14 @@ pub unsafe fn CertGetCRLFromStore(hcertstore: P0, pissuercontext: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetCRLFromStore ( hcertstore : HCERTSTORE , pissuercontext : *const CERT_CONTEXT , pprevcrlcontext : *const CRL_CONTEXT , pdwflags : *mut u32 ) -> *mut CRL_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetCRLFromStore ( hcertstore : HCERTSTORE , pissuercontext : *const CERT_CONTEXT , pprevcrlcontext : *const CRL_CONTEXT , pdwflags : *mut u32 ) -> *mut CRL_CONTEXT ); CertGetCRLFromStore(hcertstore.into(), ::core::mem::transmute(pissuercontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprevcrlcontext.unwrap_or(::std::ptr::null())), pdwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertGetCTLContextProperty(pctlcontext: *const CTL_CONTEXT, dwpropid: u32, pvdata: ::core::option::Option<*mut ::core::ffi::c_void>, pcbdata: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetCTLContextProperty ( pctlcontext : *const CTL_CONTEXT , dwpropid : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetCTLContextProperty ( pctlcontext : *const CTL_CONTEXT , dwpropid : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); CertGetCTLContextProperty(pctlcontext, dwpropid, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), pcbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1137,28 +1137,28 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetCertificateChain ( hchainengine : HCERTCHAINENGINE , pcertcontext : *const CERT_CONTEXT , ptime : *const super::super::Foundation:: FILETIME , hadditionalstore : HCERTSTORE , pchainpara : *const CERT_CHAIN_PARA , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , ppchaincontext : *mut *mut CERT_CHAIN_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetCertificateChain ( hchainengine : HCERTCHAINENGINE , pcertcontext : *const CERT_CONTEXT , ptime : *const super::super::Foundation:: FILETIME , hadditionalstore : HCERTSTORE , pchainpara : *const CERT_CHAIN_PARA , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , ppchaincontext : *mut *mut CERT_CHAIN_CONTEXT ) -> super::super::Foundation:: BOOL ); CertGetCertificateChain(hchainengine.into(), pcertcontext, ::core::mem::transmute(ptime.unwrap_or(::std::ptr::null())), hadditionalstore.into(), pchainpara, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ppchaincontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertGetCertificateContextProperty(pcertcontext: *const CERT_CONTEXT, dwpropid: u32, pvdata: ::core::option::Option<*mut ::core::ffi::c_void>, pcbdata: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetCertificateContextProperty ( pcertcontext : *const CERT_CONTEXT , dwpropid : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetCertificateContextProperty ( pcertcontext : *const CERT_CONTEXT , dwpropid : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); CertGetCertificateContextProperty(pcertcontext, dwpropid, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), pcbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertGetEnhancedKeyUsage(pcertcontext: *const CERT_CONTEXT, dwflags: u32, pusage: ::core::option::Option<*mut CTL_USAGE>, pcbusage: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetEnhancedKeyUsage ( pcertcontext : *const CERT_CONTEXT , dwflags : u32 , pusage : *mut CTL_USAGE , pcbusage : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetEnhancedKeyUsage ( pcertcontext : *const CERT_CONTEXT , dwflags : u32 , pusage : *mut CTL_USAGE , pcbusage : *mut u32 ) -> super::super::Foundation:: BOOL ); CertGetEnhancedKeyUsage(pcertcontext, dwflags, ::core::mem::transmute(pusage.unwrap_or(::std::ptr::null_mut())), pcbusage) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertGetIntendedKeyUsage(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pcertinfo: *const CERT_INFO, pbkeyusage: &mut [u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetIntendedKeyUsage ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertinfo : *const CERT_INFO , pbkeyusage : *mut u8 , cbkeyusage : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetIntendedKeyUsage ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertinfo : *const CERT_INFO , pbkeyusage : *mut u8 , cbkeyusage : u32 ) -> super::super::Foundation:: BOOL ); CertGetIntendedKeyUsage(dwcertencodingtype, pcertinfo, ::core::mem::transmute(pbkeyusage.as_ptr()), pbkeyusage.len() as _) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1168,33 +1168,33 @@ pub unsafe fn CertGetIssuerCertificateFromStore(hcertstore: P0, psubjectcont where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetIssuerCertificateFromStore ( hcertstore : HCERTSTORE , psubjectcontext : *const CERT_CONTEXT , pprevissuercontext : *const CERT_CONTEXT , pdwflags : *mut u32 ) -> *mut CERT_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetIssuerCertificateFromStore ( hcertstore : HCERTSTORE , psubjectcontext : *const CERT_CONTEXT , pprevissuercontext : *const CERT_CONTEXT , pdwflags : *mut u32 ) -> *mut CERT_CONTEXT ); CertGetIssuerCertificateFromStore(hcertstore.into(), psubjectcontext, ::core::mem::transmute(pprevissuercontext.unwrap_or(::std::ptr::null())), pdwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertGetNameStringA(pcertcontext: *const CERT_CONTEXT, dwtype: u32, dwflags: u32, pvtypepara: ::core::option::Option<*const ::core::ffi::c_void>, psznamestring: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetNameStringA ( pcertcontext : *const CERT_CONTEXT , dwtype : u32 , dwflags : u32 , pvtypepara : *const ::core::ffi::c_void , psznamestring : :: windows::core::PSTR , cchnamestring : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetNameStringA ( pcertcontext : *const CERT_CONTEXT , dwtype : u32 , dwflags : u32 , pvtypepara : *const ::core::ffi::c_void , psznamestring : :: windows::core::PSTR , cchnamestring : u32 ) -> u32 ); CertGetNameStringA(pcertcontext, dwtype, dwflags, ::core::mem::transmute(pvtypepara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psznamestring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psznamestring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertGetNameStringW(pcertcontext: *const CERT_CONTEXT, dwtype: u32, dwflags: u32, pvtypepara: ::core::option::Option<*const ::core::ffi::c_void>, psznamestring: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetNameStringW ( pcertcontext : *const CERT_CONTEXT , dwtype : u32 , dwflags : u32 , pvtypepara : *const ::core::ffi::c_void , psznamestring : :: windows::core::PWSTR , cchnamestring : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetNameStringW ( pcertcontext : *const CERT_CONTEXT , dwtype : u32 , dwflags : u32 , pvtypepara : *const ::core::ffi::c_void , psznamestring : :: windows::core::PWSTR , cchnamestring : u32 ) -> u32 ); CertGetNameStringW(pcertcontext, dwtype, dwflags, ::core::mem::transmute(pvtypepara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psznamestring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psznamestring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertGetPublicKeyLength(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, ppublickey: *const CERT_PUBLIC_KEY_INFO) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetPublicKeyLength ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , ppublickey : *const CERT_PUBLIC_KEY_INFO ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetPublicKeyLength ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , ppublickey : *const CERT_PUBLIC_KEY_INFO ) -> u32 ); CertGetPublicKeyLength(dwcertencodingtype, ppublickey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertGetServerOcspResponseContext(hserverocspresponse: *const ::core::ffi::c_void, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetServerOcspResponseContext ( hserverocspresponse : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetServerOcspResponseContext ( hserverocspresponse : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT ); CertGetServerOcspResponseContext(hserverocspresponse, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1204,7 +1204,7 @@ pub unsafe fn CertGetStoreProperty(hcertstore: P0, dwpropid: u32, pvdata: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetStoreProperty ( hcertstore : HCERTSTORE , dwpropid : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetStoreProperty ( hcertstore : HCERTSTORE , dwpropid : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); CertGetStoreProperty(hcertstore.into(), dwpropid, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), pcbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1214,21 +1214,21 @@ pub unsafe fn CertGetSubjectCertificateFromStore(hcertstore: P0, dwcertencod where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetSubjectCertificateFromStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertid : *const CERT_INFO ) -> *mut CERT_CONTEXT ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetSubjectCertificateFromStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertid : *const CERT_INFO ) -> *mut CERT_CONTEXT ); CertGetSubjectCertificateFromStore(hcertstore.into(), dwcertencodingtype, pcertid) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertGetValidUsages(rghcerts: &[*const CERT_CONTEXT], cnumoids: *mut i32, rghoids: ::core::option::Option<*mut ::windows::core::PSTR>, pcboids: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertGetValidUsages ( ccerts : u32 , rghcerts : *const *const CERT_CONTEXT , cnumoids : *mut i32 , rghoids : *mut :: windows::core::PSTR , pcboids : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertGetValidUsages ( ccerts : u32 , rghcerts : *const *const CERT_CONTEXT , cnumoids : *mut i32 , rghoids : *mut :: windows::core::PSTR , pcboids : *mut u32 ) -> super::super::Foundation:: BOOL ); CertGetValidUsages(rghcerts.len() as _, ::core::mem::transmute(rghcerts.as_ptr()), cnumoids, ::core::mem::transmute(rghoids.unwrap_or(::std::ptr::null_mut())), pcboids) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertIsRDNAttrsInCertificateName(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, dwflags: u32, pcertname: *const CRYPT_INTEGER_BLOB, prdn: *const CERT_RDN) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertIsRDNAttrsInCertificateName ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwflags : u32 , pcertname : *const CRYPT_INTEGER_BLOB , prdn : *const CERT_RDN ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertIsRDNAttrsInCertificateName ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwflags : u32 , pcertname : *const CRYPT_INTEGER_BLOB , prdn : *const CERT_RDN ) -> super::super::Foundation:: BOOL ); CertIsRDNAttrsInCertificateName(dwcertencodingtype, dwflags, pcertname, prdn) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1238,14 +1238,14 @@ pub unsafe fn CertIsStrongHashToSign(pstrongsignpara: *const CERT_STRONG_SIG where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertIsStrongHashToSign ( pstrongsignpara : *const CERT_STRONG_SIGN_PARA , pwszcnghashalgid : :: windows::core::PCWSTR , psigningcert : *const CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertIsStrongHashToSign ( pstrongsignpara : *const CERT_STRONG_SIGN_PARA , pwszcnghashalgid : :: windows::core::PCWSTR , psigningcert : *const CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CertIsStrongHashToSign(pstrongsignpara, pwszcnghashalgid.into().abi(), ::core::mem::transmute(psigningcert.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertIsValidCRLForCertificate(pcert: *const CERT_CONTEXT, pcrl: *const CRL_CONTEXT, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertIsValidCRLForCertificate ( pcert : *const CERT_CONTEXT , pcrl : *const CRL_CONTEXT , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertIsValidCRLForCertificate ( pcert : *const CERT_CONTEXT , pcrl : *const CRL_CONTEXT , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertIsValidCRLForCertificate(pcert, pcrl, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1256,19 +1256,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertIsWeakHash ( dwhashusetype : u32 , pwszcnghashalgid : :: windows::core::PCWSTR , dwchainflags : u32 , psignerchaincontext : *const CERT_CHAIN_CONTEXT , ptimestamp : *const super::super::Foundation:: FILETIME , pwszfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertIsWeakHash ( dwhashusetype : u32 , pwszcnghashalgid : :: windows::core::PCWSTR , dwchainflags : u32 , psignerchaincontext : *const CERT_CHAIN_CONTEXT , ptimestamp : *const super::super::Foundation:: FILETIME , pwszfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); CertIsWeakHash(dwhashusetype, pwszcnghashalgid.into().abi(), dwchainflags, ::core::mem::transmute(psignerchaincontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ptimestamp.unwrap_or(::std::ptr::null())), pwszfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertNameToStrA(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pname: *const CRYPT_INTEGER_BLOB, dwstrtype: CERT_STRING_TYPE, psz: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertNameToStrA ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pname : *const CRYPT_INTEGER_BLOB , dwstrtype : CERT_STRING_TYPE , psz : :: windows::core::PSTR , csz : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertNameToStrA ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pname : *const CRYPT_INTEGER_BLOB , dwstrtype : CERT_STRING_TYPE , psz : :: windows::core::PSTR , csz : u32 ) -> u32 ); CertNameToStrA(dwcertencodingtype, pname, dwstrtype, ::core::mem::transmute(psz.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psz.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertNameToStrW(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pname: *const CRYPT_INTEGER_BLOB, dwstrtype: CERT_STRING_TYPE, psz: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertNameToStrW ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pname : *const CRYPT_INTEGER_BLOB , dwstrtype : CERT_STRING_TYPE , psz : :: windows::core::PWSTR , csz : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertNameToStrW ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pname : *const CRYPT_INTEGER_BLOB , dwstrtype : CERT_STRING_TYPE , psz : :: windows::core::PWSTR , csz : u32 ) -> u32 ); CertNameToStrW(dwcertencodingtype, pname, dwstrtype, ::core::mem::transmute(psz.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psz.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1277,14 +1277,14 @@ pub unsafe fn CertOIDToAlgId(pszobjid: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertOIDToAlgId ( pszobjid : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertOIDToAlgId ( pszobjid : :: windows::core::PCSTR ) -> u32 ); CertOIDToAlgId(pszobjid.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertOpenServerOcspResponse(pchaincontext: *const CERT_CHAIN_CONTEXT, dwflags: u32, popenpara: ::core::option::Option<*const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "crypt32.dll""system" fn CertOpenServerOcspResponse ( pchaincontext : *const CERT_CHAIN_CONTEXT , dwflags : u32 , popenpara : *const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertOpenServerOcspResponse ( pchaincontext : *const CERT_CHAIN_CONTEXT , dwflags : u32 , popenpara : *const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA ) -> *mut ::core::ffi::c_void ); CertOpenServerOcspResponse(pchaincontext, dwflags, ::core::mem::transmute(popenpara.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1294,9 +1294,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertOpenStore ( lpszstoreprovider : :: windows::core::PCSTR , dwencodingtype : CERT_QUERY_ENCODING_TYPE , hcryptprov : HCRYPTPROV_LEGACY , dwflags : CERT_OPEN_STORE_FLAGS , pvpara : *const ::core::ffi::c_void ) -> HCERTSTORE ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertOpenStore ( lpszstoreprovider : :: windows::core::PCSTR , dwencodingtype : CERT_QUERY_ENCODING_TYPE , hcryptprov : HCRYPTPROV_LEGACY , dwflags : CERT_OPEN_STORE_FLAGS , pvpara : *const ::core::ffi::c_void ) -> HCERTSTORE ); let result__ = CertOpenStore(lpszstoreprovider.into().abi(), dwencodingtype, hcryptprov.into(), dwflags, ::core::mem::transmute(pvpara.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] @@ -1305,9 +1305,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertOpenSystemStoreA ( hprov : HCRYPTPROV_LEGACY , szsubsystemprotocol : :: windows::core::PCSTR ) -> HCERTSTORE ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertOpenSystemStoreA ( hprov : HCRYPTPROV_LEGACY , szsubsystemprotocol : :: windows::core::PCSTR ) -> HCERTSTORE ); let result__ = CertOpenSystemStoreA(hprov.into(), szsubsystemprotocol.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] @@ -1316,20 +1316,20 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertOpenSystemStoreW ( hprov : HCRYPTPROV_LEGACY , szsubsystemprotocol : :: windows::core::PCWSTR ) -> HCERTSTORE ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertOpenSystemStoreW ( hprov : HCRYPTPROV_LEGACY , szsubsystemprotocol : :: windows::core::PCWSTR ) -> HCERTSTORE ); let result__ = CertOpenSystemStoreW(hprov.into(), szsubsystemprotocol.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertRDNValueToStrA(dwvaluetype: u32, pvalue: *const CRYPT_INTEGER_BLOB, psz: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertRDNValueToStrA ( dwvaluetype : u32 , pvalue : *const CRYPT_INTEGER_BLOB , psz : :: windows::core::PSTR , csz : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertRDNValueToStrA ( dwvaluetype : u32 , pvalue : *const CRYPT_INTEGER_BLOB , psz : :: windows::core::PSTR , csz : u32 ) -> u32 ); CertRDNValueToStrA(dwvaluetype, pvalue, ::core::mem::transmute(psz.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psz.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CertRDNValueToStrW(dwvaluetype: u32, pvalue: *const CRYPT_INTEGER_BLOB, psz: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertRDNValueToStrW ( dwvaluetype : u32 , pvalue : *const CRYPT_INTEGER_BLOB , psz : :: windows::core::PWSTR , csz : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertRDNValueToStrW ( dwvaluetype : u32 , pvalue : *const CRYPT_INTEGER_BLOB , psz : :: windows::core::PWSTR , csz : u32 ) -> u32 ); CertRDNValueToStrW(dwvaluetype, pvalue, ::core::mem::transmute(psz.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psz.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1339,14 +1339,14 @@ pub unsafe fn CertRegisterPhysicalStore(pvsystemstore: *const ::core::ffi::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertRegisterPhysicalStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pwszstorename : :: windows::core::PCWSTR , pstoreinfo : *const CERT_PHYSICAL_STORE_INFO , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertRegisterPhysicalStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pwszstorename : :: windows::core::PCWSTR , pstoreinfo : *const CERT_PHYSICAL_STORE_INFO , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertRegisterPhysicalStore(pvsystemstore, dwflags, pwszstorename.into().abi(), pstoreinfo, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertRegisterSystemStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pstoreinfo: ::core::option::Option<*const CERT_SYSTEM_STORE_INFO>, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertRegisterSystemStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pstoreinfo : *const CERT_SYSTEM_STORE_INFO , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertRegisterSystemStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pstoreinfo : *const CERT_SYSTEM_STORE_INFO , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertRegisterSystemStore(pvsystemstore, dwflags, ::core::mem::transmute(pstoreinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1356,7 +1356,7 @@ pub unsafe fn CertRemoveEnhancedKeyUsageIdentifier(pcertcontext: *const CERT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertRemoveEnhancedKeyUsageIdentifier ( pcertcontext : *const CERT_CONTEXT , pszusageidentifier : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertRemoveEnhancedKeyUsageIdentifier ( pcertcontext : *const CERT_CONTEXT , pszusageidentifier : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); CertRemoveEnhancedKeyUsageIdentifier(pcertcontext, pszusageidentifier.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1366,7 +1366,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertRemoveStoreFromCollection ( hcollectionstore : HCERTSTORE , hsiblingstore : HCERTSTORE ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertRemoveStoreFromCollection ( hcollectionstore : HCERTSTORE , hsiblingstore : HCERTSTORE ) -> ( ) ); CertRemoveStoreFromCollection(hcollectionstore.into(), hsiblingstore.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1376,7 +1376,7 @@ pub unsafe fn CertResyncCertificateChainEngine(hchainengine: P0) -> super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertResyncCertificateChainEngine ( hchainengine : HCERTCHAINENGINE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertResyncCertificateChainEngine ( hchainengine : HCERTCHAINENGINE ) -> super::super::Foundation:: BOOL ); CertResyncCertificateChainEngine(hchainengine.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1386,7 +1386,7 @@ pub unsafe fn CertRetrieveLogoOrBiometricInfo(pcertcontext: *const CERT_CONT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertRetrieveLogoOrBiometricInfo ( pcertcontext : *const CERT_CONTEXT , lpszlogoorbiometrictype : :: windows::core::PCSTR , dwretrievalflags : u32 , dwtimeout : u32 , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , ppbdata : *mut *mut u8 , pcbdata : *mut u32 , ppwszmimetype : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertRetrieveLogoOrBiometricInfo ( pcertcontext : *const CERT_CONTEXT , lpszlogoorbiometrictype : :: windows::core::PCSTR , dwretrievalflags : u32 , dwtimeout : u32 , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , ppbdata : *mut *mut u8 , pcbdata : *mut u32 , ppwszmimetype : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); CertRetrieveLogoOrBiometricInfo(pcertcontext, lpszlogoorbiometrictype.into().abi(), dwretrievalflags, dwtimeout, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ppbdata, pcbdata, ::core::mem::transmute(ppwszmimetype.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1396,7 +1396,7 @@ pub unsafe fn CertSaveStore(hcertstore: P0, dwencodingtype: CERT_QUERY_ENCOD where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSaveStore ( hcertstore : HCERTSTORE , dwencodingtype : CERT_QUERY_ENCODING_TYPE , dwsaveas : CERT_STORE_SAVE_AS , dwsaveto : CERT_STORE_SAVE_TO , pvsavetopara : *mut ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSaveStore ( hcertstore : HCERTSTORE , dwencodingtype : CERT_QUERY_ENCODING_TYPE , dwsaveas : CERT_STORE_SAVE_AS , dwsaveto : CERT_STORE_SAVE_TO , pvsavetopara : *mut ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CertSaveStore(hcertstore.into(), dwencodingtype, dwsaveas, dwsaveto, pvsavetopara, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1406,63 +1406,63 @@ pub unsafe fn CertSelectCertificateChains(pselectioncontext: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSelectCertificateChains ( pselectioncontext : *const :: windows::core::GUID , dwflags : u32 , pchainparameters : *const CERT_SELECT_CHAIN_PARA , ccriteria : u32 , rgpcriteria : *const CERT_SELECT_CRITERIA , hstore : HCERTSTORE , pcselection : *mut u32 , pprgpselection : *mut *mut *mut CERT_CHAIN_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSelectCertificateChains ( pselectioncontext : *const :: windows::core::GUID , dwflags : u32 , pchainparameters : *const CERT_SELECT_CHAIN_PARA , ccriteria : u32 , rgpcriteria : *const CERT_SELECT_CRITERIA , hstore : HCERTSTORE , pcselection : *mut u32 , pprgpselection : *mut *mut *mut CERT_CHAIN_CONTEXT ) -> super::super::Foundation:: BOOL ); CertSelectCertificateChains(::core::mem::transmute(pselectioncontext.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(pchainparameters.unwrap_or(::std::ptr::null())), rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), hstore.into(), pcselection, pprgpselection) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSerializeCRLStoreElement(pcrlcontext: *const CRL_CONTEXT, dwflags: u32, pbelement: ::core::option::Option<*mut u8>, pcbelement: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSerializeCRLStoreElement ( pcrlcontext : *const CRL_CONTEXT , dwflags : u32 , pbelement : *mut u8 , pcbelement : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSerializeCRLStoreElement ( pcrlcontext : *const CRL_CONTEXT , dwflags : u32 , pbelement : *mut u8 , pcbelement : *mut u32 ) -> super::super::Foundation:: BOOL ); CertSerializeCRLStoreElement(pcrlcontext, dwflags, ::core::mem::transmute(pbelement.unwrap_or(::std::ptr::null_mut())), pcbelement) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSerializeCTLStoreElement(pctlcontext: *const CTL_CONTEXT, dwflags: u32, pbelement: ::core::option::Option<*mut u8>, pcbelement: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSerializeCTLStoreElement ( pctlcontext : *const CTL_CONTEXT , dwflags : u32 , pbelement : *mut u8 , pcbelement : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSerializeCTLStoreElement ( pctlcontext : *const CTL_CONTEXT , dwflags : u32 , pbelement : *mut u8 , pcbelement : *mut u32 ) -> super::super::Foundation:: BOOL ); CertSerializeCTLStoreElement(pctlcontext, dwflags, ::core::mem::transmute(pbelement.unwrap_or(::std::ptr::null_mut())), pcbelement) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSerializeCertificateStoreElement(pcertcontext: *const CERT_CONTEXT, dwflags: u32, pbelement: ::core::option::Option<*mut u8>, pcbelement: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSerializeCertificateStoreElement ( pcertcontext : *const CERT_CONTEXT , dwflags : u32 , pbelement : *mut u8 , pcbelement : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSerializeCertificateStoreElement ( pcertcontext : *const CERT_CONTEXT , dwflags : u32 , pbelement : *mut u8 , pcbelement : *mut u32 ) -> super::super::Foundation:: BOOL ); CertSerializeCertificateStoreElement(pcertcontext, dwflags, ::core::mem::transmute(pbelement.unwrap_or(::std::ptr::null_mut())), pcbelement) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSetCRLContextProperty(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSetCRLContextProperty ( pcrlcontext : *const CRL_CONTEXT , dwpropid : u32 , dwflags : u32 , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSetCRLContextProperty ( pcrlcontext : *const CRL_CONTEXT , dwpropid : u32 , dwflags : u32 , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertSetCRLContextProperty(pcrlcontext, dwpropid, dwflags, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSetCTLContextProperty(pctlcontext: *const CTL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSetCTLContextProperty ( pctlcontext : *const CTL_CONTEXT , dwpropid : u32 , dwflags : u32 , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSetCTLContextProperty ( pctlcontext : *const CTL_CONTEXT , dwpropid : u32 , dwflags : u32 , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertSetCTLContextProperty(pctlcontext, dwpropid, dwflags, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSetCertificateContextPropertiesFromCTLEntry(pcertcontext: *const CERT_CONTEXT, pctlentry: *const CTL_ENTRY, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSetCertificateContextPropertiesFromCTLEntry ( pcertcontext : *const CERT_CONTEXT , pctlentry : *const CTL_ENTRY , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSetCertificateContextPropertiesFromCTLEntry ( pcertcontext : *const CERT_CONTEXT , pctlentry : *const CTL_ENTRY , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CertSetCertificateContextPropertiesFromCTLEntry(pcertcontext, pctlentry, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSetCertificateContextProperty(pcertcontext: *const CERT_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSetCertificateContextProperty ( pcertcontext : *const CERT_CONTEXT , dwpropid : u32 , dwflags : u32 , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSetCertificateContextProperty ( pcertcontext : *const CERT_CONTEXT , dwpropid : u32 , dwflags : u32 , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertSetCertificateContextProperty(pcertcontext, dwpropid, dwflags, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertSetEnhancedKeyUsage(pcertcontext: *const CERT_CONTEXT, pusage: ::core::option::Option<*const CTL_USAGE>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSetEnhancedKeyUsage ( pcertcontext : *const CERT_CONTEXT , pusage : *const CTL_USAGE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSetEnhancedKeyUsage ( pcertcontext : *const CERT_CONTEXT , pusage : *const CTL_USAGE ) -> super::super::Foundation:: BOOL ); CertSetEnhancedKeyUsage(pcertcontext, ::core::mem::transmute(pusage.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1472,7 +1472,7 @@ pub unsafe fn CertSetStoreProperty(hcertstore: P0, dwpropid: u32, dwflags: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertSetStoreProperty ( hcertstore : HCERTSTORE , dwpropid : u32 , dwflags : u32 , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertSetStoreProperty ( hcertstore : HCERTSTORE , dwpropid : u32 , dwflags : u32 , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CertSetStoreProperty(hcertstore.into(), dwpropid, dwflags, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1482,7 +1482,7 @@ pub unsafe fn CertStrToNameA(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertStrToNameA ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszx500 : :: windows::core::PCSTR , dwstrtype : CERT_STRING_TYPE , pvreserved : *const ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 , ppszerror : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertStrToNameA ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszx500 : :: windows::core::PCSTR , dwstrtype : CERT_STRING_TYPE , pvreserved : *const ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 , ppszerror : *mut :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); CertStrToNameA(dwcertencodingtype, pszx500.into().abi(), dwstrtype, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbencoded.unwrap_or(::std::ptr::null_mut())), pcbencoded, ::core::mem::transmute(ppszerror.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1492,7 +1492,7 @@ pub unsafe fn CertStrToNameW(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertStrToNameW ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszx500 : :: windows::core::PCWSTR , dwstrtype : CERT_STRING_TYPE , pvreserved : *const ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 , ppszerror : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertStrToNameW ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszx500 : :: windows::core::PCWSTR , dwstrtype : CERT_STRING_TYPE , pvreserved : *const ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 , ppszerror : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); CertStrToNameW(dwcertencodingtype, pszx500.into().abi(), dwstrtype, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbencoded.unwrap_or(::std::ptr::null_mut())), pcbencoded, ::core::mem::transmute(ppszerror.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1502,35 +1502,35 @@ pub unsafe fn CertUnregisterPhysicalStore(pvsystemstore: *const ::core::ffi: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertUnregisterPhysicalStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pwszstorename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertUnregisterPhysicalStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pwszstorename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); CertUnregisterPhysicalStore(pvsystemstore, dwflags, pwszstorename.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertUnregisterSystemStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertUnregisterSystemStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertUnregisterSystemStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CertUnregisterSystemStore(pvsystemstore, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertVerifyCRLRevocation(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pcertid: *const CERT_INFO, rgpcrlinfo: &[*const CRL_INFO]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertVerifyCRLRevocation ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertid : *const CERT_INFO , ccrlinfo : u32 , rgpcrlinfo : *const *const CRL_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertVerifyCRLRevocation ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertid : *const CERT_INFO , ccrlinfo : u32 , rgpcrlinfo : *const *const CRL_INFO ) -> super::super::Foundation:: BOOL ); CertVerifyCRLRevocation(dwcertencodingtype, pcertid, rgpcrlinfo.len() as _, ::core::mem::transmute(rgpcrlinfo.as_ptr())) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertVerifyCRLTimeValidity(ptimetoverify: ::core::option::Option<*const super::super::Foundation::FILETIME>, pcrlinfo: *const CRL_INFO) -> i32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertVerifyCRLTimeValidity ( ptimetoverify : *const super::super::Foundation:: FILETIME , pcrlinfo : *const CRL_INFO ) -> i32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertVerifyCRLTimeValidity ( ptimetoverify : *const super::super::Foundation:: FILETIME , pcrlinfo : *const CRL_INFO ) -> i32 ); CertVerifyCRLTimeValidity(::core::mem::transmute(ptimetoverify.unwrap_or(::std::ptr::null())), pcrlinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertVerifyCTLUsage(dwencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, psubjectusage: *const CTL_USAGE, dwflags: u32, pverifyusagepara: ::core::option::Option<*const CTL_VERIFY_USAGE_PARA>, pverifyusagestatus: *mut CTL_VERIFY_USAGE_STATUS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertVerifyCTLUsage ( dwencodingtype : u32 , dwsubjecttype : u32 , pvsubject : *const ::core::ffi::c_void , psubjectusage : *const CTL_USAGE , dwflags : u32 , pverifyusagepara : *const CTL_VERIFY_USAGE_PARA , pverifyusagestatus : *mut CTL_VERIFY_USAGE_STATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertVerifyCTLUsage ( dwencodingtype : u32 , dwsubjecttype : u32 , pvsubject : *const ::core::ffi::c_void , psubjectusage : *const CTL_USAGE , dwflags : u32 , pverifyusagepara : *const CTL_VERIFY_USAGE_PARA , pverifyusagestatus : *mut CTL_VERIFY_USAGE_STATUS ) -> super::super::Foundation:: BOOL ); CertVerifyCTLUsage(dwencodingtype, dwsubjecttype, pvsubject, psubjectusage, dwflags, ::core::mem::transmute(pverifyusagepara.unwrap_or(::std::ptr::null())), pverifyusagestatus) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1540,48 +1540,48 @@ pub unsafe fn CertVerifyCertificateChainPolicy(pszpolicyoid: P0, pchainconte where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CertVerifyCertificateChainPolicy ( pszpolicyoid : :: windows::core::PCSTR , pchaincontext : *const CERT_CHAIN_CONTEXT , ppolicypara : *const CERT_CHAIN_POLICY_PARA , ppolicystatus : *mut CERT_CHAIN_POLICY_STATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertVerifyCertificateChainPolicy ( pszpolicyoid : :: windows::core::PCSTR , pchaincontext : *const CERT_CHAIN_CONTEXT , ppolicypara : *const CERT_CHAIN_POLICY_PARA , ppolicystatus : *mut CERT_CHAIN_POLICY_STATUS ) -> super::super::Foundation:: BOOL ); CertVerifyCertificateChainPolicy(pszpolicyoid.into().abi(), pchaincontext, ppolicypara, ppolicystatus) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertVerifyRevocation(dwencodingtype: u32, dwrevtype: u32, rgpvcontext: &[*const ::core::ffi::c_void], dwflags: u32, prevpara: ::core::option::Option<*const CERT_REVOCATION_PARA>, prevstatus: *mut CERT_REVOCATION_STATUS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertVerifyRevocation ( dwencodingtype : u32 , dwrevtype : u32 , ccontext : u32 , rgpvcontext : *const *const ::core::ffi::c_void , dwflags : u32 , prevpara : *const CERT_REVOCATION_PARA , prevstatus : *mut CERT_REVOCATION_STATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertVerifyRevocation ( dwencodingtype : u32 , dwrevtype : u32 , ccontext : u32 , rgpvcontext : *const *const ::core::ffi::c_void , dwflags : u32 , prevpara : *const CERT_REVOCATION_PARA , prevstatus : *mut CERT_REVOCATION_STATUS ) -> super::super::Foundation:: BOOL ); CertVerifyRevocation(dwencodingtype, dwrevtype, rgpvcontext.len() as _, ::core::mem::transmute(rgpvcontext.as_ptr()), dwflags, ::core::mem::transmute(prevpara.unwrap_or(::std::ptr::null())), prevstatus) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertVerifySubjectCertificateContext(psubject: *const CERT_CONTEXT, pissuer: ::core::option::Option<*const CERT_CONTEXT>, pdwflags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertVerifySubjectCertificateContext ( psubject : *const CERT_CONTEXT , pissuer : *const CERT_CONTEXT , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertVerifySubjectCertificateContext ( psubject : *const CERT_CONTEXT , pissuer : *const CERT_CONTEXT , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); CertVerifySubjectCertificateContext(psubject, ::core::mem::transmute(pissuer.unwrap_or(::std::ptr::null())), pdwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertVerifyTimeValidity(ptimetoverify: ::core::option::Option<*const super::super::Foundation::FILETIME>, pcertinfo: *const CERT_INFO) -> i32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CertVerifyTimeValidity ( ptimetoverify : *const super::super::Foundation:: FILETIME , pcertinfo : *const CERT_INFO ) -> i32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertVerifyTimeValidity ( ptimetoverify : *const super::super::Foundation:: FILETIME , pcertinfo : *const CERT_INFO ) -> i32 ); CertVerifyTimeValidity(::core::mem::transmute(ptimetoverify.unwrap_or(::std::ptr::null())), pcertinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CertVerifyValidityNesting(psubjectinfo: *const CERT_INFO, pissuerinfo: *const CERT_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CertVerifyValidityNesting ( psubjectinfo : *const CERT_INFO , pissuerinfo : *const CERT_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CertVerifyValidityNesting ( psubjectinfo : *const CERT_INFO , pissuerinfo : *const CERT_INFO ) -> super::super::Foundation:: BOOL ); CertVerifyValidityNesting(psubjectinfo, pissuerinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CloseCryptoHandle(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "infocardapi.dll""system" fn CloseCryptoHandle ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn CloseCryptoHandle ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows::core::HRESULT ); CloseCryptoHandle(hcrypto).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptAcquireCertificatePrivateKey(pcert: *const CERT_CONTEXT, dwflags: CRYPT_ACQUIRE_FLAGS, pvparameters: ::core::option::Option<*const ::core::ffi::c_void>, phcryptprovorncryptkey: *mut HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, pdwkeyspec: ::core::option::Option<*mut CERT_KEY_SPEC>, pfcallerfreeprovorncryptkey: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptAcquireCertificatePrivateKey ( pcert : *const CERT_CONTEXT , dwflags : CRYPT_ACQUIRE_FLAGS , pvparameters : *const ::core::ffi::c_void , phcryptprovorncryptkey : *mut HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , pdwkeyspec : *mut CERT_KEY_SPEC , pfcallerfreeprovorncryptkey : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptAcquireCertificatePrivateKey ( pcert : *const CERT_CONTEXT , dwflags : CRYPT_ACQUIRE_FLAGS , pvparameters : *const ::core::ffi::c_void , phcryptprovorncryptkey : *mut HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , pdwkeyspec : *mut CERT_KEY_SPEC , pfcallerfreeprovorncryptkey : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CryptAcquireCertificatePrivateKey(pcert, dwflags, ::core::mem::transmute(pvparameters.unwrap_or(::std::ptr::null())), phcryptprovorncryptkey, ::core::mem::transmute(pdwkeyspec.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfcallerfreeprovorncryptkey.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1592,7 +1592,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptAcquireContextA ( phprov : *mut usize , szcontainer : :: windows::core::PCSTR , szprovider : :: windows::core::PCSTR , dwprovtype : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptAcquireContextA ( phprov : *mut usize , szcontainer : :: windows::core::PCSTR , szprovider : :: windows::core::PCSTR , dwprovtype : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptAcquireContextA(phprov, szcontainer.into().abi(), szprovider.into().abi(), dwprovtype, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1603,21 +1603,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptAcquireContextW ( phprov : *mut usize , szcontainer : :: windows::core::PCWSTR , szprovider : :: windows::core::PCWSTR , dwprovtype : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptAcquireContextW ( phprov : *mut usize , szcontainer : :: windows::core::PCWSTR , szprovider : :: windows::core::PCWSTR , dwprovtype : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptAcquireContextW(phprov, szcontainer.into().abi(), szprovider.into().abi(), dwprovtype, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptBinaryToStringA(pbbinary: &[u8], dwflags: CRYPT_STRING, pszstring: ::windows::core::PSTR, pcchstring: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptBinaryToStringA ( pbbinary : *const u8 , cbbinary : u32 , dwflags : CRYPT_STRING , pszstring : :: windows::core::PSTR , pcchstring : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptBinaryToStringA ( pbbinary : *const u8 , cbbinary : u32 , dwflags : CRYPT_STRING , pszstring : :: windows::core::PSTR , pcchstring : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptBinaryToStringA(::core::mem::transmute(pbbinary.as_ptr()), pbbinary.len() as _, dwflags, ::core::mem::transmute(pszstring), pcchstring) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptBinaryToStringW(pbbinary: &[u8], dwflags: CRYPT_STRING, pszstring: ::windows::core::PWSTR, pcchstring: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptBinaryToStringW ( pbbinary : *const u8 , cbbinary : u32 , dwflags : CRYPT_STRING , pszstring : :: windows::core::PWSTR , pcchstring : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptBinaryToStringW ( pbbinary : *const u8 , cbbinary : u32 , dwflags : CRYPT_STRING , pszstring : :: windows::core::PWSTR , pcchstring : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptBinaryToStringW(::core::mem::transmute(pbbinary.as_ptr()), pbbinary.len() as _, dwflags, ::core::mem::transmute(pszstring), pcchstring) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1627,28 +1627,28 @@ pub unsafe fn CryptCloseAsyncHandle(hasync: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptCloseAsyncHandle ( hasync : HCRYPTASYNC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptCloseAsyncHandle ( hasync : HCRYPTASYNC ) -> super::super::Foundation:: BOOL ); CryptCloseAsyncHandle(hasync.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptContextAddRef(hprov: usize, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptContextAddRef ( hprov : usize , pdwreserved : *const u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptContextAddRef ( hprov : usize , pdwreserved : *const u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptContextAddRef(hprov, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCreateAsyncHandle(dwflags: u32, phasync: *mut HCRYPTASYNC) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptCreateAsyncHandle ( dwflags : u32 , phasync : *mut HCRYPTASYNC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptCreateAsyncHandle ( dwflags : u32 , phasync : *mut HCRYPTASYNC ) -> super::super::Foundation:: BOOL ); CryptCreateAsyncHandle(dwflags, phasync) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptCreateHash(hprov: usize, algid: u32, hkey: usize, dwflags: u32, phhash: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptCreateHash ( hprov : usize , algid : u32 , hkey : usize , dwflags : u32 , phhash : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptCreateHash ( hprov : usize , algid : u32 , hkey : usize , dwflags : u32 , phhash : *mut usize ) -> super::super::Foundation:: BOOL ); CryptCreateHash(hprov, algid, hkey, dwflags, phhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1658,14 +1658,14 @@ pub unsafe fn CryptCreateKeyIdentifierFromCSP(dwcertencodingtype: CERT_QUERY where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptCreateKeyIdentifierFromCSP ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszpubkeyoid : :: windows::core::PCSTR , ppubkeystruc : *const PUBLICKEYSTRUC , cbpubkeystruc : u32 , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , pbhash : *mut u8 , pcbhash : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptCreateKeyIdentifierFromCSP ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszpubkeyoid : :: windows::core::PCSTR , ppubkeystruc : *const PUBLICKEYSTRUC , cbpubkeystruc : u32 , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , pbhash : *mut u8 , pcbhash : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptCreateKeyIdentifierFromCSP(dwcertencodingtype, pszpubkeyoid.into().abi(), ppubkeystruc, cbpubkeystruc, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbhash.unwrap_or(::std::ptr::null_mut())), pcbhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptDecodeMessage(dwmsgtypeflags: u32, pdecryptpara: ::core::option::Option<*const CRYPT_DECRYPT_MESSAGE_PARA>, pverifypara: ::core::option::Option<*const CRYPT_VERIFY_MESSAGE_PARA>, dwsignerindex: u32, pbencodedblob: &[u8], dwprevinnercontenttype: u32, pdwmsgtype: ::core::option::Option<*mut u32>, pdwinnercontenttype: ::core::option::Option<*mut u32>, pbdecoded: ::core::option::Option<*mut u8>, pcbdecoded: ::core::option::Option<*mut u32>, ppxchgcert: ::core::option::Option<*mut *mut CERT_CONTEXT>, ppsignercert: ::core::option::Option<*mut *mut CERT_CONTEXT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptDecodeMessage ( dwmsgtypeflags : u32 , pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA , pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA , dwsignerindex : u32 , pbencodedblob : *const u8 , cbencodedblob : u32 , dwprevinnercontenttype : u32 , pdwmsgtype : *mut u32 , pdwinnercontenttype : *mut u32 , pbdecoded : *mut u8 , pcbdecoded : *mut u32 , ppxchgcert : *mut *mut CERT_CONTEXT , ppsignercert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptDecodeMessage ( dwmsgtypeflags : u32 , pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA , pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA , dwsignerindex : u32 , pbencodedblob : *const u8 , cbencodedblob : u32 , dwprevinnercontenttype : u32 , pdwmsgtype : *mut u32 , pdwinnercontenttype : *mut u32 , pbdecoded : *mut u8 , pcbdecoded : *mut u32 , ppxchgcert : *mut *mut CERT_CONTEXT , ppsignercert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CryptDecodeMessage( dwmsgtypeflags, ::core::mem::transmute(pdecryptpara.unwrap_or(::std::ptr::null())), @@ -1689,7 +1689,7 @@ pub unsafe fn CryptDecodeObject(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptDecodeObject ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pbencoded : *const u8 , cbencoded : u32 , dwflags : u32 , pvstructinfo : *mut ::core::ffi::c_void , pcbstructinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptDecodeObject ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pbencoded : *const u8 , cbencoded : u32 , dwflags : u32 , pvstructinfo : *mut ::core::ffi::c_void , pcbstructinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptDecodeObject(dwcertencodingtype, lpszstructtype.into().abi(), ::core::mem::transmute(pbencoded.as_ptr()), pbencoded.len() as _, dwflags, ::core::mem::transmute(pvstructinfo.unwrap_or(::std::ptr::null_mut())), pcbstructinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1699,7 +1699,7 @@ pub unsafe fn CryptDecodeObjectEx(dwcertencodingtype: CERT_QUERY_ENCODING_TY where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptDecodeObjectEx ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pbencoded : *const u8 , cbencoded : u32 , dwflags : u32 , pdecodepara : *const CRYPT_DECODE_PARA , pvstructinfo : *mut ::core::ffi::c_void , pcbstructinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptDecodeObjectEx ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pbencoded : *const u8 , cbencoded : u32 , dwflags : u32 , pdecodepara : *const CRYPT_DECODE_PARA , pvstructinfo : *mut ::core::ffi::c_void , pcbstructinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptDecodeObjectEx(dwcertencodingtype, lpszstructtype.into().abi(), ::core::mem::transmute(pbencoded.as_ptr()), pbencoded.len() as _, dwflags, ::core::mem::transmute(pdecodepara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvstructinfo.unwrap_or(::std::ptr::null_mut())), pcbstructinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1709,56 +1709,56 @@ pub unsafe fn CryptDecrypt(hkey: usize, hhash: usize, r#final: P0, dwflags: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptDecrypt ( hkey : usize , hhash : usize , r#final : super::super::Foundation:: BOOL , dwflags : u32 , pbdata : *mut u8 , pdwdatalen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptDecrypt ( hkey : usize , hhash : usize , r#final : super::super::Foundation:: BOOL , dwflags : u32 , pbdata : *mut u8 , pdwdatalen : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptDecrypt(hkey, hhash, r#final.into(), dwflags, pbdata, pdwdatalen) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptDecryptAndVerifyMessageSignature(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbencryptedblob: &[u8], pbdecrypted: ::core::option::Option<*mut u8>, pcbdecrypted: ::core::option::Option<*mut u32>, ppxchgcert: ::core::option::Option<*mut *mut CERT_CONTEXT>, ppsignercert: ::core::option::Option<*mut *mut CERT_CONTEXT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptDecryptAndVerifyMessageSignature ( pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA , pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA , dwsignerindex : u32 , pbencryptedblob : *const u8 , cbencryptedblob : u32 , pbdecrypted : *mut u8 , pcbdecrypted : *mut u32 , ppxchgcert : *mut *mut CERT_CONTEXT , ppsignercert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptDecryptAndVerifyMessageSignature ( pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA , pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA , dwsignerindex : u32 , pbencryptedblob : *const u8 , cbencryptedblob : u32 , pbdecrypted : *mut u8 , pcbdecrypted : *mut u32 , ppxchgcert : *mut *mut CERT_CONTEXT , ppsignercert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CryptDecryptAndVerifyMessageSignature(pdecryptpara, pverifypara, dwsignerindex, ::core::mem::transmute(pbencryptedblob.as_ptr()), pbencryptedblob.len() as _, ::core::mem::transmute(pbdecrypted.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdecrypted.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppxchgcert.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsignercert.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptDecryptMessage(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pbencryptedblob: &[u8], pbdecrypted: ::core::option::Option<*mut u8>, pcbdecrypted: ::core::option::Option<*mut u32>, ppxchgcert: ::core::option::Option<*mut *mut CERT_CONTEXT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptDecryptMessage ( pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA , pbencryptedblob : *const u8 , cbencryptedblob : u32 , pbdecrypted : *mut u8 , pcbdecrypted : *mut u32 , ppxchgcert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptDecryptMessage ( pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA , pbencryptedblob : *const u8 , cbencryptedblob : u32 , pbdecrypted : *mut u8 , pcbdecrypted : *mut u32 , ppxchgcert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CryptDecryptMessage(pdecryptpara, ::core::mem::transmute(pbencryptedblob.as_ptr()), pbencryptedblob.len() as _, ::core::mem::transmute(pbdecrypted.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdecrypted.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppxchgcert.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptDeriveKey(hprov: usize, algid: u32, hbasedata: usize, dwflags: u32, phkey: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptDeriveKey ( hprov : usize , algid : u32 , hbasedata : usize , dwflags : u32 , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptDeriveKey ( hprov : usize , algid : u32 , hbasedata : usize , dwflags : u32 , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); CryptDeriveKey(hprov, algid, hbasedata, dwflags, phkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptDestroyHash(hhash: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptDestroyHash ( hhash : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptDestroyHash ( hhash : usize ) -> super::super::Foundation:: BOOL ); CryptDestroyHash(hhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptDestroyKey(hkey: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptDestroyKey ( hkey : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptDestroyKey ( hkey : usize ) -> super::super::Foundation:: BOOL ); CryptDestroyKey(hkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptDuplicateHash(hhash: usize, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32, phhash: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptDuplicateHash ( hhash : usize , pdwreserved : *const u32 , dwflags : u32 , phhash : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptDuplicateHash ( hhash : usize , pdwreserved : *const u32 , dwflags : u32 , phhash : *mut usize ) -> super::super::Foundation:: BOOL ); CryptDuplicateHash(hhash, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags, phhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptDuplicateKey(hkey: usize, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32, phkey: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptDuplicateKey ( hkey : usize , pdwreserved : *const u32 , dwflags : u32 , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptDuplicateKey ( hkey : usize , pdwreserved : *const u32 , dwflags : u32 , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); CryptDuplicateKey(hkey, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags, phkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1768,7 +1768,7 @@ pub unsafe fn CryptEncodeObject(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptEncodeObject ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pvstructinfo : *const ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptEncodeObject ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pvstructinfo : *const ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptEncodeObject(dwcertencodingtype, lpszstructtype.into().abi(), pvstructinfo, ::core::mem::transmute(pbencoded.unwrap_or(::std::ptr::null_mut())), pcbencoded) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1778,7 +1778,7 @@ pub unsafe fn CryptEncodeObjectEx(dwcertencodingtype: CERT_QUERY_ENCODING_TY where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptEncodeObjectEx ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pvstructinfo : *const ::core::ffi::c_void , dwflags : CRYPT_ENCODE_OBJECT_FLAGS , pencodepara : *const CRYPT_ENCODE_PARA , pvencoded : *mut ::core::ffi::c_void , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptEncodeObjectEx ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pvstructinfo : *const ::core::ffi::c_void , dwflags : CRYPT_ENCODE_OBJECT_FLAGS , pencodepara : *const CRYPT_ENCODE_PARA , pvencoded : *mut ::core::ffi::c_void , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptEncodeObjectEx(dwcertencodingtype, lpszstructtype.into().abi(), pvstructinfo, dwflags, ::core::mem::transmute(pencodepara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvencoded.unwrap_or(::std::ptr::null_mut())), pcbencoded) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1788,14 +1788,14 @@ pub unsafe fn CryptEncrypt(hkey: usize, hhash: usize, r#final: P0, dwflags: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptEncrypt ( hkey : usize , hhash : usize , r#final : super::super::Foundation:: BOOL , dwflags : u32 , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwbuflen : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptEncrypt ( hkey : usize , hhash : usize , r#final : super::super::Foundation:: BOOL , dwflags : u32 , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwbuflen : u32 ) -> super::super::Foundation:: BOOL ); CryptEncrypt(hkey, hhash, r#final.into(), dwflags, ::core::mem::transmute(pbdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdwdatalen, pbdata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptEncryptMessage(pencryptpara: *const CRYPT_ENCRYPT_MESSAGE_PARA, rgprecipientcert: &[*const CERT_CONTEXT], pbtobeencrypted: ::core::option::Option<&[u8]>, pbencryptedblob: ::core::option::Option<*mut u8>, pcbencryptedblob: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptEncryptMessage ( pencryptpara : *const CRYPT_ENCRYPT_MESSAGE_PARA , crecipientcert : u32 , rgprecipientcert : *const *const CERT_CONTEXT , pbtobeencrypted : *const u8 , cbtobeencrypted : u32 , pbencryptedblob : *mut u8 , pcbencryptedblob : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptEncryptMessage ( pencryptpara : *const CRYPT_ENCRYPT_MESSAGE_PARA , crecipientcert : u32 , rgprecipientcert : *const *const CERT_CONTEXT , pbtobeencrypted : *const u8 , cbtobeencrypted : u32 , pbencryptedblob : *mut u8 , pcbencryptedblob : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptEncryptMessage(pencryptpara, rgprecipientcert.len() as _, ::core::mem::transmute(rgprecipientcert.as_ptr()), ::core::mem::transmute(pbtobeencrypted.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbtobeencrypted.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbencryptedblob.unwrap_or(::std::ptr::null_mut())), pcbencryptedblob) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1805,7 +1805,7 @@ pub unsafe fn CryptEnumKeyIdentifierProperties(pkeyidentifier: ::core::optio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptEnumKeyIdentifierProperties ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CRYPT_ENUM_KEYID_PROP ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptEnumKeyIdentifierProperties ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CRYPT_ENUM_KEYID_PROP ) -> super::super::Foundation:: BOOL ); CryptEnumKeyIdentifierProperties(::core::mem::transmute(pkeyidentifier.unwrap_or(::std::ptr::null())), dwpropid, dwflags, pwszcomputername.into().abi(), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvarg.unwrap_or(::std::ptr::null_mut())), pfnenum) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1816,49 +1816,49 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptEnumOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR , dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenumoidfunc : PFN_CRYPT_ENUM_OID_FUNC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptEnumOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR , dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenumoidfunc : PFN_CRYPT_ENUM_OID_FUNC ) -> super::super::Foundation:: BOOL ); CryptEnumOIDFunction(dwencodingtype, pszfuncname.into().abi(), pszoid.into().abi(), dwflags, ::core::mem::transmute(pvarg.unwrap_or(::std::ptr::null_mut())), pfnenumoidfunc) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptEnumOIDInfo(dwgroupid: u32, dwflags: u32, pvarg: ::core::option::Option<*mut ::core::ffi::c_void>, pfnenumoidinfo: PFN_CRYPT_ENUM_OID_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptEnumOIDInfo ( dwgroupid : u32 , dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenumoidinfo : PFN_CRYPT_ENUM_OID_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptEnumOIDInfo ( dwgroupid : u32 , dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenumoidinfo : PFN_CRYPT_ENUM_OID_INFO ) -> super::super::Foundation:: BOOL ); CryptEnumOIDInfo(dwgroupid, dwflags, ::core::mem::transmute(pvarg.unwrap_or(::std::ptr::null_mut())), pfnenumoidinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptEnumProviderTypesA(dwindex: u32, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32, pdwprovtype: *mut u32, sztypename: ::windows::core::PSTR, pcbtypename: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptEnumProviderTypesA ( dwindex : u32 , pdwreserved : *const u32 , dwflags : u32 , pdwprovtype : *mut u32 , sztypename : :: windows::core::PSTR , pcbtypename : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptEnumProviderTypesA ( dwindex : u32 , pdwreserved : *const u32 , dwflags : u32 , pdwprovtype : *mut u32 , sztypename : :: windows::core::PSTR , pcbtypename : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptEnumProviderTypesA(dwindex, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags, pdwprovtype, ::core::mem::transmute(sztypename), pcbtypename) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptEnumProviderTypesW(dwindex: u32, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32, pdwprovtype: *mut u32, sztypename: ::windows::core::PWSTR, pcbtypename: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptEnumProviderTypesW ( dwindex : u32 , pdwreserved : *const u32 , dwflags : u32 , pdwprovtype : *mut u32 , sztypename : :: windows::core::PWSTR , pcbtypename : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptEnumProviderTypesW ( dwindex : u32 , pdwreserved : *const u32 , dwflags : u32 , pdwprovtype : *mut u32 , sztypename : :: windows::core::PWSTR , pcbtypename : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptEnumProviderTypesW(dwindex, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags, pdwprovtype, ::core::mem::transmute(sztypename), pcbtypename) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptEnumProvidersA(dwindex: u32, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32, pdwprovtype: *mut u32, szprovname: ::windows::core::PSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptEnumProvidersA ( dwindex : u32 , pdwreserved : *const u32 , dwflags : u32 , pdwprovtype : *mut u32 , szprovname : :: windows::core::PSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptEnumProvidersA ( dwindex : u32 , pdwreserved : *const u32 , dwflags : u32 , pdwprovtype : *mut u32 , szprovname : :: windows::core::PSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptEnumProvidersA(dwindex, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags, pdwprovtype, ::core::mem::transmute(szprovname), pcbprovname) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptEnumProvidersW(dwindex: u32, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32, pdwprovtype: *mut u32, szprovname: ::windows::core::PWSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptEnumProvidersW ( dwindex : u32 , pdwreserved : *const u32 , dwflags : u32 , pdwprovtype : *mut u32 , szprovname : :: windows::core::PWSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptEnumProvidersW ( dwindex : u32 , pdwreserved : *const u32 , dwflags : u32 , pdwprovtype : *mut u32 , szprovname : :: windows::core::PWSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptEnumProvidersW(dwindex, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags, pdwprovtype, ::core::mem::transmute(szprovname), pcbprovname) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptExportKey(hkey: usize, hexpkey: usize, dwblobtype: u32, dwflags: CRYPT_KEY_FLAGS, pbdata: ::core::option::Option<*mut u8>, pdwdatalen: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptExportKey ( hkey : usize , hexpkey : usize , dwblobtype : u32 , dwflags : CRYPT_KEY_FLAGS , pbdata : *mut u8 , pdwdatalen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptExportKey ( hkey : usize , hexpkey : usize , dwblobtype : u32 , dwflags : CRYPT_KEY_FLAGS , pbdata : *mut u8 , pdwdatalen : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptExportKey(hkey, hexpkey, dwblobtype, dwflags, ::core::mem::transmute(pbdata.unwrap_or(::std::ptr::null_mut())), pdwdatalen) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1868,7 +1868,7 @@ pub unsafe fn CryptExportPKCS8(hcryptprov: usize, dwkeyspec: u32, pszprivate where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptExportPKCS8 ( hcryptprov : usize , dwkeyspec : u32 , pszprivatekeyobjid : :: windows::core::PCSTR , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , pbprivatekeyblob : *mut u8 , pcbprivatekeyblob : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptExportPKCS8 ( hcryptprov : usize , dwkeyspec : u32 , pszprivatekeyobjid : :: windows::core::PCSTR , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , pbprivatekeyblob : *mut u8 , pcbprivatekeyblob : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptExportPKCS8(hcryptprov, dwkeyspec, pszprivatekeyobjid.into().abi(), dwflags, ::core::mem::transmute(pvauxinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbprivatekeyblob.unwrap_or(::std::ptr::null_mut())), pcbprivatekeyblob) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1878,7 +1878,7 @@ pub unsafe fn CryptExportPublicKeyInfo(hcryptprovorncryptkey: P0, dwkeyspec: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptExportPublicKeyInfo ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : u32 , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *mut CERT_PUBLIC_KEY_INFO , pcbinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptExportPublicKeyInfo ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : u32 , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *mut CERT_PUBLIC_KEY_INFO , pcbinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptExportPublicKeyInfo(hcryptprovorncryptkey.into(), dwkeyspec, dwcertencodingtype, ::core::mem::transmute(pinfo.unwrap_or(::std::ptr::null_mut())), pcbinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1889,7 +1889,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptExportPublicKeyInfoEx ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : u32 , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszpublickeyobjid : :: windows::core::PCSTR , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , pinfo : *mut CERT_PUBLIC_KEY_INFO , pcbinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptExportPublicKeyInfoEx ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : u32 , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszpublickeyobjid : :: windows::core::PCSTR , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , pinfo : *mut CERT_PUBLIC_KEY_INFO , pcbinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptExportPublicKeyInfoEx(hcryptprovorncryptkey.into(), dwkeyspec, dwcertencodingtype, pszpublickeyobjid.into().abi(), dwflags, ::core::mem::transmute(pvauxinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pinfo.unwrap_or(::std::ptr::null_mut())), pcbinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1900,14 +1900,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptExportPublicKeyInfoFromBCryptKeyHandle ( hbcryptkey : BCRYPT_KEY_HANDLE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszpublickeyobjid : :: windows::core::PCSTR , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , pinfo : *mut CERT_PUBLIC_KEY_INFO , pcbinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptExportPublicKeyInfoFromBCryptKeyHandle ( hbcryptkey : BCRYPT_KEY_HANDLE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszpublickeyobjid : :: windows::core::PCSTR , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , pinfo : *mut CERT_PUBLIC_KEY_INFO , pcbinfo : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptExportPublicKeyInfoFromBCryptKeyHandle(hbcryptkey.into(), dwcertencodingtype, pszpublickeyobjid.into().abi(), dwflags, ::core::mem::transmute(pvauxinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pinfo.unwrap_or(::std::ptr::null_mut())), pcbinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptFindCertificateKeyProvInfo(pcert: *const CERT_CONTEXT, dwflags: CRYPT_FIND_FLAGS, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptFindCertificateKeyProvInfo ( pcert : *const CERT_CONTEXT , dwflags : CRYPT_FIND_FLAGS , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptFindCertificateKeyProvInfo ( pcert : *const CERT_CONTEXT , dwflags : CRYPT_FIND_FLAGS , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptFindCertificateKeyProvInfo(pcert, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1916,13 +1916,13 @@ pub unsafe fn CryptFindLocalizedName(pwszcryptname: P0) -> ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptFindLocalizedName ( pwszcryptname : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptFindLocalizedName ( pwszcryptname : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); CryptFindLocalizedName(pwszcryptname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptFindOIDInfo(dwkeytype: u32, pvkey: *const ::core::ffi::c_void, dwgroupid: u32) -> *mut CRYPT_OID_INFO { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptFindOIDInfo ( dwkeytype : u32 , pvkey : *const ::core::ffi::c_void , dwgroupid : u32 ) -> *mut CRYPT_OID_INFO ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptFindOIDInfo ( dwkeytype : u32 , pvkey : *const ::core::ffi::c_void , dwgroupid : u32 ) -> *mut CRYPT_OID_INFO ); CryptFindOIDInfo(dwkeytype, pvkey, dwgroupid) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1932,28 +1932,28 @@ pub unsafe fn CryptFormatObject(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptFormatObject ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwformattype : u32 , dwformatstrtype : u32 , pformatstruct : *const ::core::ffi::c_void , lpszstructtype : :: windows::core::PCSTR , pbencoded : *const u8 , cbencoded : u32 , pbformat : *mut ::core::ffi::c_void , pcbformat : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptFormatObject ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwformattype : u32 , dwformatstrtype : u32 , pformatstruct : *const ::core::ffi::c_void , lpszstructtype : :: windows::core::PCSTR , pbencoded : *const u8 , cbencoded : u32 , pbformat : *mut ::core::ffi::c_void , pcbformat : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptFormatObject(dwcertencodingtype, dwformattype, dwformatstrtype, ::core::mem::transmute(pformatstruct.unwrap_or(::std::ptr::null())), lpszstructtype.into().abi(), ::core::mem::transmute(pbencoded.as_ptr()), pbencoded.len() as _, ::core::mem::transmute(pbformat.unwrap_or(::std::ptr::null_mut())), pcbformat) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptFreeOIDFunctionAddress(hfuncaddr: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptFreeOIDFunctionAddress ( hfuncaddr : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptFreeOIDFunctionAddress ( hfuncaddr : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptFreeOIDFunctionAddress(hfuncaddr, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGenKey(hprov: usize, algid: u32, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptGenKey ( hprov : usize , algid : u32 , dwflags : CRYPT_KEY_FLAGS , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptGenKey ( hprov : usize , algid : u32 , dwflags : CRYPT_KEY_FLAGS , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); CryptGenKey(hprov, algid, dwflags, phkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGenRandom(hprov: usize, pbbuffer: &mut [u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptGenRandom ( hprov : usize , dwlen : u32 , pbbuffer : *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptGenRandom ( hprov : usize , dwlen : u32 , pbbuffer : *mut u8 ) -> super::super::Foundation:: BOOL ); CryptGenRandom(hprov, pbbuffer.len() as _, ::core::mem::transmute(pbbuffer.as_ptr())) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1964,14 +1964,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptGetAsyncParam ( hasync : HCRYPTASYNC , pszparamoid : :: windows::core::PCSTR , ppvparam : *mut *mut ::core::ffi::c_void , ppfnfree : *mut PFN_CRYPT_ASYNC_PARAM_FREE_FUNC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptGetAsyncParam ( hasync : HCRYPTASYNC , pszparamoid : :: windows::core::PCSTR , ppvparam : *mut *mut ::core::ffi::c_void , ppfnfree : *mut PFN_CRYPT_ASYNC_PARAM_FREE_FUNC ) -> super::super::Foundation:: BOOL ); CryptGetAsyncParam(hasync.into(), pszparamoid.into().abi(), ::core::mem::transmute(ppvparam.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppfnfree.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGetDefaultOIDDllList(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pwszdlllist: ::windows::core::PWSTR, pcchdlllist: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptGetDefaultOIDDllList ( hfuncset : *const ::core::ffi::c_void , dwencodingtype : u32 , pwszdlllist : :: windows::core::PWSTR , pcchdlllist : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptGetDefaultOIDDllList ( hfuncset : *const ::core::ffi::c_void , dwencodingtype : u32 , pwszdlllist : :: windows::core::PWSTR , pcchdlllist : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptGetDefaultOIDDllList(hfuncset, dwencodingtype, ::core::mem::transmute(pwszdlllist), pcchdlllist) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1981,28 +1981,28 @@ pub unsafe fn CryptGetDefaultOIDFunctionAddress(hfuncset: *const ::core::ffi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptGetDefaultOIDFunctionAddress ( hfuncset : *const ::core::ffi::c_void , dwencodingtype : u32 , pwszdll : :: windows::core::PCWSTR , dwflags : u32 , ppvfuncaddr : *mut *mut ::core::ffi::c_void , phfuncaddr : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptGetDefaultOIDFunctionAddress ( hfuncset : *const ::core::ffi::c_void , dwencodingtype : u32 , pwszdll : :: windows::core::PCWSTR , dwflags : u32 , ppvfuncaddr : *mut *mut ::core::ffi::c_void , phfuncaddr : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptGetDefaultOIDFunctionAddress(hfuncset, dwencodingtype, pwszdll.into().abi(), dwflags, ppvfuncaddr, phfuncaddr) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGetDefaultProviderA(dwprovtype: u32, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32, pszprovname: ::windows::core::PSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptGetDefaultProviderA ( dwprovtype : u32 , pdwreserved : *const u32 , dwflags : u32 , pszprovname : :: windows::core::PSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptGetDefaultProviderA ( dwprovtype : u32 , pdwreserved : *const u32 , dwflags : u32 , pszprovname : :: windows::core::PSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptGetDefaultProviderA(dwprovtype, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(pszprovname), pcbprovname) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGetDefaultProviderW(dwprovtype: u32, pdwreserved: ::core::option::Option<*const u32>, dwflags: u32, pszprovname: ::windows::core::PWSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptGetDefaultProviderW ( dwprovtype : u32 , pdwreserved : *const u32 , dwflags : u32 , pszprovname : :: windows::core::PWSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptGetDefaultProviderW ( dwprovtype : u32 , pdwreserved : *const u32 , dwflags : u32 , pszprovname : :: windows::core::PWSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptGetDefaultProviderW(dwprovtype, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(pszprovname), pcbprovname) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGetHashParam(hhash: usize, dwparam: u32, pbdata: ::core::option::Option<*mut u8>, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptGetHashParam ( hhash : usize , dwparam : u32 , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptGetHashParam ( hhash : usize , dwparam : u32 , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptGetHashParam(hhash, dwparam, ::core::mem::transmute(pbdata.unwrap_or(::std::ptr::null_mut())), pdwdatalen, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2012,14 +2012,14 @@ pub unsafe fn CryptGetKeyIdentifierProperty(pkeyidentifier: *const CRYPT_INT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptGetKeyIdentifierProperty ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptGetKeyIdentifierProperty ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptGetKeyIdentifierProperty(pkeyidentifier, dwpropid, dwflags, pwszcomputername.into().abi(), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), pcbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGetKeyParam(hkey: usize, dwparam: CRYPT_KEY_PARAM_ID, pbdata: ::core::option::Option<*mut u8>, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptGetKeyParam ( hkey : usize , dwparam : CRYPT_KEY_PARAM_ID , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptGetKeyParam ( hkey : usize , dwparam : CRYPT_KEY_PARAM_ID , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptGetKeyParam(hkey, dwparam, ::core::mem::transmute(pbdata.unwrap_or(::std::ptr::null_mut())), pdwdatalen, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2028,14 +2028,14 @@ pub unsafe fn CryptGetMessageCertificates(dwmsgandcertencodingtype: u32, hcr where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptGetMessageCertificates ( dwmsgandcertencodingtype : u32 , hcryptprov : HCRYPTPROV_LEGACY , dwflags : u32 , pbsignedblob : *const u8 , cbsignedblob : u32 ) -> HCERTSTORE ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptGetMessageCertificates ( dwmsgandcertencodingtype : u32 , hcryptprov : HCRYPTPROV_LEGACY , dwflags : u32 , pbsignedblob : *const u8 , cbsignedblob : u32 ) -> HCERTSTORE ); let result__ = CryptGetMessageCertificates(dwmsgandcertencodingtype, hcryptprov.into(), dwflags, ::core::mem::transmute(pbsignedblob.as_ptr()), pbsignedblob.len() as _); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptGetMessageSignerCount(dwmsgencodingtype: u32, pbsignedblob: &[u8]) -> i32 { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptGetMessageSignerCount ( dwmsgencodingtype : u32 , pbsignedblob : *const u8 , cbsignedblob : u32 ) -> i32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptGetMessageSignerCount ( dwmsgencodingtype : u32 , pbsignedblob : *const u8 , cbsignedblob : u32 ) -> i32 ); CryptGetMessageSignerCount(dwmsgencodingtype, ::core::mem::transmute(pbsignedblob.as_ptr()), pbsignedblob.len() as _) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2045,7 +2045,7 @@ pub unsafe fn CryptGetOIDFunctionAddress(hfuncset: *const ::core::ffi::c_voi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptGetOIDFunctionAddress ( hfuncset : *const ::core::ffi::c_void , dwencodingtype : u32 , pszoid : :: windows::core::PCSTR , dwflags : u32 , ppvfuncaddr : *mut *mut ::core::ffi::c_void , phfuncaddr : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptGetOIDFunctionAddress ( hfuncset : *const ::core::ffi::c_void , dwencodingtype : u32 , pszoid : :: windows::core::PCSTR , dwflags : u32 , ppvfuncaddr : *mut *mut ::core::ffi::c_void , phfuncaddr : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptGetOIDFunctionAddress(hfuncset, dwencodingtype, pszoid.into().abi(), dwflags, ppvfuncaddr, phfuncaddr) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2057,7 +2057,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptGetOIDFunctionValue ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR , pwszvaluename : :: windows::core::PCWSTR , pdwvaluetype : *mut u32 , pbvaluedata : *mut u8 , pcbvaluedata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptGetOIDFunctionValue ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR , pwszvaluename : :: windows::core::PCWSTR , pdwvaluetype : *mut u32 , pbvaluedata : *mut u8 , pcbvaluedata : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptGetOIDFunctionValue(dwencodingtype, pszfuncname.into().abi(), pszoid.into().abi(), pwszvaluename.into().abi(), ::core::mem::transmute(pdwvaluetype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbvaluedata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbvaluedata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2067,21 +2067,21 @@ pub unsafe fn CryptGetObjectUrl(pszurloid: P0, pvpara: *const ::core::ffi::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cryptnet.dll""system" fn CryptGetObjectUrl ( pszurloid : :: windows::core::PCSTR , pvpara : *const ::core::ffi::c_void , dwflags : CRYPT_GET_URL_FLAGS , purlarray : *mut CRYPT_URL_ARRAY , pcburlarray : *mut u32 , purlinfo : *mut CRYPT_URL_INFO , pcburlinfo : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptnet.dll""system" fn CryptGetObjectUrl ( pszurloid : :: windows::core::PCSTR , pvpara : *const ::core::ffi::c_void , dwflags : CRYPT_GET_URL_FLAGS , purlarray : *mut CRYPT_URL_ARRAY , pcburlarray : *mut u32 , purlinfo : *mut CRYPT_URL_INFO , pcburlinfo : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptGetObjectUrl(pszurloid.into().abi(), pvpara, dwflags, ::core::mem::transmute(purlarray.unwrap_or(::std::ptr::null_mut())), pcburlarray, ::core::mem::transmute(purlinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcburlinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGetProvParam(hprov: usize, dwparam: u32, pbdata: ::core::option::Option<*mut u8>, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptGetProvParam ( hprov : usize , dwparam : u32 , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptGetProvParam ( hprov : usize , dwparam : u32 , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptGetProvParam(hprov, dwparam, ::core::mem::transmute(pbdata.unwrap_or(::std::ptr::null_mut())), pdwdatalen, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptGetUserKey(hprov: usize, dwkeyspec: u32, phuserkey: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptGetUserKey ( hprov : usize , dwkeyspec : u32 , phuserkey : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptGetUserKey ( hprov : usize , dwkeyspec : u32 , phuserkey : *mut usize ) -> super::super::Foundation:: BOOL ); CryptGetUserKey(hprov, dwkeyspec, phuserkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2091,7 +2091,7 @@ pub unsafe fn CryptHashCertificate(hcryptprov: P0, algid: u32, dwflags: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptHashCertificate ( hcryptprov : HCRYPTPROV_LEGACY , algid : u32 , dwflags : u32 , pbencoded : *const u8 , cbencoded : u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptHashCertificate ( hcryptprov : HCRYPTPROV_LEGACY , algid : u32 , dwflags : u32 , pbencoded : *const u8 , cbencoded : u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptHashCertificate(hcryptprov.into(), algid, dwflags, ::core::mem::transmute(pbencoded.as_ptr()), pbencoded.len() as _, ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), pcbcomputedhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2101,14 +2101,14 @@ pub unsafe fn CryptHashCertificate2(pwszcnghashalgid: P0, dwflags: u32, pvre where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptHashCertificate2 ( pwszcnghashalgid : :: windows::core::PCWSTR , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , pbencoded : *const u8 , cbencoded : u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptHashCertificate2 ( pwszcnghashalgid : :: windows::core::PCWSTR , dwflags : u32 , pvreserved : *const ::core::ffi::c_void , pbencoded : *const u8 , cbencoded : u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptHashCertificate2(pwszcnghashalgid.into().abi(), dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbencoded.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbencoded.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), pcbcomputedhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptHashData(hhash: usize, pbdata: &[u8], dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptHashData ( hhash : usize , pbdata : *const u8 , dwdatalen : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptHashData ( hhash : usize , pbdata : *const u8 , dwdatalen : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptHashData(hhash, ::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2118,7 +2118,7 @@ pub unsafe fn CryptHashMessage(phashpara: *const CRYPT_HASH_MESSAGE_PARA, fd where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptHashMessage ( phashpara : *const CRYPT_HASH_MESSAGE_PARA , fdetachedhash : super::super::Foundation:: BOOL , ctobehashed : u32 , rgpbtobehashed : *const *const u8 , rgcbtobehashed : *const u32 , pbhashedblob : *mut u8 , pcbhashedblob : *mut u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptHashMessage ( phashpara : *const CRYPT_HASH_MESSAGE_PARA , fdetachedhash : super::super::Foundation:: BOOL , ctobehashed : u32 , rgpbtobehashed : *const *const u8 , rgcbtobehashed : *const u32 , pbhashedblob : *mut u8 , pcbhashedblob : *mut u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptHashMessage(phashpara, fdetachedhash.into(), ctobehashed, rgpbtobehashed, rgcbtobehashed, ::core::mem::transmute(pbhashedblob.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbhashedblob.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbcomputedhash.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2128,14 +2128,14 @@ pub unsafe fn CryptHashPublicKeyInfo(hcryptprov: P0, algid: u32, dwflags: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptHashPublicKeyInfo ( hcryptprov : HCRYPTPROV_LEGACY , algid : u32 , dwflags : u32 , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptHashPublicKeyInfo ( hcryptprov : HCRYPTPROV_LEGACY , algid : u32 , dwflags : u32 , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptHashPublicKeyInfo(hcryptprov.into(), algid, dwflags, dwcertencodingtype, pinfo, ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), pcbcomputedhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptHashSessionKey(hhash: usize, hkey: usize, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptHashSessionKey ( hhash : usize , hkey : usize , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptHashSessionKey ( hhash : usize , hkey : usize , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptHashSessionKey(hhash, hkey, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2145,42 +2145,42 @@ pub unsafe fn CryptHashToBeSigned(hcryptprov: P0, dwcertencodingtype: CERT_Q where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptHashToBeSigned ( hcryptprov : HCRYPTPROV_LEGACY , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbencoded : *const u8 , cbencoded : u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptHashToBeSigned ( hcryptprov : HCRYPTPROV_LEGACY , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbencoded : *const u8 , cbencoded : u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptHashToBeSigned(hcryptprov.into(), dwcertencodingtype, ::core::mem::transmute(pbencoded.as_ptr()), pbencoded.len() as _, ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), pcbcomputedhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptImportKey(hprov: usize, pbdata: &[u8], hpubkey: usize, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptImportKey ( hprov : usize , pbdata : *const u8 , dwdatalen : u32 , hpubkey : usize , dwflags : CRYPT_KEY_FLAGS , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptImportKey ( hprov : usize , pbdata : *const u8 , dwdatalen : u32 , hpubkey : usize , dwflags : CRYPT_KEY_FLAGS , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); CryptImportKey(hprov, ::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, hpubkey, dwflags, phkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptImportPKCS8(sprivatekeyandparams: CRYPT_PKCS8_IMPORT_PARAMS, dwflags: CRYPT_KEY_FLAGS, phcryptprov: ::core::option::Option<*mut usize>, pvauxinfo: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptImportPKCS8 ( sprivatekeyandparams : CRYPT_PKCS8_IMPORT_PARAMS , dwflags : CRYPT_KEY_FLAGS , phcryptprov : *mut usize , pvauxinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptImportPKCS8 ( sprivatekeyandparams : CRYPT_PKCS8_IMPORT_PARAMS , dwflags : CRYPT_KEY_FLAGS , phcryptprov : *mut usize , pvauxinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptImportPKCS8(::core::mem::transmute(sprivatekeyandparams), dwflags, ::core::mem::transmute(phcryptprov.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvauxinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptImportPublicKeyInfo(hcryptprov: usize, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, phkey: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptImportPublicKeyInfo ( hcryptprov : usize , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptImportPublicKeyInfo ( hcryptprov : usize , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); CryptImportPublicKeyInfo(hcryptprov, dwcertencodingtype, pinfo, phkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptImportPublicKeyInfoEx(hcryptprov: usize, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, aikeyalg: u32, dwflags: u32, pvauxinfo: ::core::option::Option<*const ::core::ffi::c_void>, phkey: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptImportPublicKeyInfoEx ( hcryptprov : usize , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , aikeyalg : u32 , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptImportPublicKeyInfoEx ( hcryptprov : usize , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , aikeyalg : u32 , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); CryptImportPublicKeyInfoEx(hcryptprov, dwcertencodingtype, pinfo, aikeyalg, dwflags, ::core::mem::transmute(pvauxinfo.unwrap_or(::std::ptr::null())), phkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptImportPublicKeyInfoEx2(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, dwflags: CRYPT_IMPORT_PUBLIC_KEY_FLAGS, pvauxinfo: ::core::option::Option<*const ::core::ffi::c_void>, phkey: *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptImportPublicKeyInfoEx2 ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , dwflags : CRYPT_IMPORT_PUBLIC_KEY_FLAGS , pvauxinfo : *const ::core::ffi::c_void , phkey : *mut BCRYPT_KEY_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptImportPublicKeyInfoEx2 ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , dwflags : CRYPT_IMPORT_PUBLIC_KEY_FLAGS , pvauxinfo : *const ::core::ffi::c_void , phkey : *mut BCRYPT_KEY_HANDLE ) -> super::super::Foundation:: BOOL ); CryptImportPublicKeyInfoEx2(dwcertencodingtype, pinfo, dwflags, ::core::mem::transmute(pvauxinfo.unwrap_or(::std::ptr::null())), phkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2189,21 +2189,21 @@ pub unsafe fn CryptInitOIDFunctionSet(pszfuncname: P0, dwflags: u32) -> *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptInitOIDFunctionSet ( pszfuncname : :: windows::core::PCSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptInitOIDFunctionSet ( pszfuncname : :: windows::core::PCSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); CryptInitOIDFunctionSet(pszfuncname.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptInstallCancelRetrieval(pfncancel: PFN_CRYPT_CANCEL_RETRIEVAL, pvarg: ::core::option::Option<*const ::core::ffi::c_void>, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cryptnet.dll""system" fn CryptInstallCancelRetrieval ( pfncancel : PFN_CRYPT_CANCEL_RETRIEVAL , pvarg : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptnet.dll""system" fn CryptInstallCancelRetrieval ( pfncancel : PFN_CRYPT_CANCEL_RETRIEVAL , pvarg : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptInstallCancelRetrieval(pfncancel, ::core::mem::transmute(pvarg.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptInstallDefaultContext(hcryptprov: usize, dwdefaulttype: CRYPT_DEFAULT_CONTEXT_TYPE, pvdefaultpara: ::core::option::Option<*const ::core::ffi::c_void>, dwflags: CRYPT_DEFAULT_CONTEXT_FLAGS, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, phdefaultcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptInstallDefaultContext ( hcryptprov : usize , dwdefaulttype : CRYPT_DEFAULT_CONTEXT_TYPE , pvdefaultpara : *const ::core::ffi::c_void , dwflags : CRYPT_DEFAULT_CONTEXT_FLAGS , pvreserved : *const ::core::ffi::c_void , phdefaultcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptInstallDefaultContext ( hcryptprov : usize , dwdefaulttype : CRYPT_DEFAULT_CONTEXT_TYPE , pvdefaultpara : *const ::core::ffi::c_void , dwflags : CRYPT_DEFAULT_CONTEXT_FLAGS , pvreserved : *const ::core::ffi::c_void , phdefaultcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptInstallDefaultContext(hcryptprov, dwdefaulttype, ::core::mem::transmute(pvdefaultpara.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), phdefaultcontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2214,25 +2214,25 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptInstallOIDFunctionAddress ( hmodule : super::super::Foundation:: HINSTANCE , dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , cfuncentry : u32 , rgfuncentry : *const CRYPT_OID_FUNC_ENTRY , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptInstallOIDFunctionAddress ( hmodule : super::super::Foundation:: HINSTANCE , dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , cfuncentry : u32 , rgfuncentry : *const CRYPT_OID_FUNC_ENTRY , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptInstallOIDFunctionAddress(hmodule.into(), dwencodingtype, pszfuncname.into().abi(), rgfuncentry.len() as _, ::core::mem::transmute(rgfuncentry.as_ptr()), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptMemAlloc(cbsize: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMemAlloc ( cbsize : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMemAlloc ( cbsize : u32 ) -> *mut ::core::ffi::c_void ); CryptMemAlloc(cbsize) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptMemFree(pv: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMemFree ( pv : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMemFree ( pv : *const ::core::ffi::c_void ) -> ( ) ); CryptMemFree(::core::mem::transmute(pv.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptMemRealloc(pv: ::core::option::Option<*const ::core::ffi::c_void>, cbsize: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMemRealloc ( pv : *const ::core::ffi::c_void , cbsize : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMemRealloc ( pv : *const ::core::ffi::c_void , cbsize : u32 ) -> *mut ::core::ffi::c_void ); CryptMemRealloc(::core::mem::transmute(pv.unwrap_or(::std::ptr::null())), cbsize) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2241,62 +2241,62 @@ pub unsafe fn CryptMsgCalculateEncodedLength(dwmsgencodingtype: u32, dwflags where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgCalculateEncodedLength ( dwmsgencodingtype : u32 , dwflags : u32 , dwmsgtype : u32 , pvmsgencodeinfo : *const ::core::ffi::c_void , pszinnercontentobjid : :: windows::core::PCSTR , cbdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgCalculateEncodedLength ( dwmsgencodingtype : u32 , dwflags : u32 , dwmsgtype : u32 , pvmsgencodeinfo : *const ::core::ffi::c_void , pszinnercontentobjid : :: windows::core::PCSTR , cbdata : u32 ) -> u32 ); CryptMsgCalculateEncodedLength(dwmsgencodingtype, dwflags, dwmsgtype, pvmsgencodeinfo, pszinnercontentobjid.into().abi(), cbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptMsgClose(hcryptmsg: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgClose ( hcryptmsg : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgClose ( hcryptmsg : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptMsgClose(::core::mem::transmute(hcryptmsg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptMsgControl(hcryptmsg: *const ::core::ffi::c_void, dwflags: u32, dwctrltype: u32, pvctrlpara: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgControl ( hcryptmsg : *const ::core::ffi::c_void , dwflags : u32 , dwctrltype : u32 , pvctrlpara : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgControl ( hcryptmsg : *const ::core::ffi::c_void , dwflags : u32 , dwctrltype : u32 , pvctrlpara : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptMsgControl(hcryptmsg, dwflags, dwctrltype, ::core::mem::transmute(pvctrlpara.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptMsgCountersign(hcryptmsg: *const ::core::ffi::c_void, dwindex: u32, rgcountersigners: &[CMSG_SIGNER_ENCODE_INFO]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgCountersign ( hcryptmsg : *const ::core::ffi::c_void , dwindex : u32 , ccountersigners : u32 , rgcountersigners : *const CMSG_SIGNER_ENCODE_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgCountersign ( hcryptmsg : *const ::core::ffi::c_void , dwindex : u32 , ccountersigners : u32 , rgcountersigners : *const CMSG_SIGNER_ENCODE_INFO ) -> super::super::Foundation:: BOOL ); CryptMsgCountersign(hcryptmsg, dwindex, rgcountersigners.len() as _, ::core::mem::transmute(rgcountersigners.as_ptr())) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptMsgCountersignEncoded(dwencodingtype: u32, pbsignerinfo: &[u8], rgcountersigners: &[CMSG_SIGNER_ENCODE_INFO], pbcountersignature: ::core::option::Option<*mut u8>, pcbcountersignature: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgCountersignEncoded ( dwencodingtype : u32 , pbsignerinfo : *const u8 , cbsignerinfo : u32 , ccountersigners : u32 , rgcountersigners : *const CMSG_SIGNER_ENCODE_INFO , pbcountersignature : *mut u8 , pcbcountersignature : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgCountersignEncoded ( dwencodingtype : u32 , pbsignerinfo : *const u8 , cbsignerinfo : u32 , ccountersigners : u32 , rgcountersigners : *const CMSG_SIGNER_ENCODE_INFO , pbcountersignature : *mut u8 , pcbcountersignature : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptMsgCountersignEncoded(dwencodingtype, ::core::mem::transmute(pbsignerinfo.as_ptr()), pbsignerinfo.len() as _, rgcountersigners.len() as _, ::core::mem::transmute(rgcountersigners.as_ptr()), ::core::mem::transmute(pbcountersignature.unwrap_or(::std::ptr::null_mut())), pcbcountersignature) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptMsgDuplicate(hcryptmsg: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgDuplicate ( hcryptmsg : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgDuplicate ( hcryptmsg : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); CryptMsgDuplicate(::core::mem::transmute(hcryptmsg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptMsgEncodeAndSignCTL(dwmsgencodingtype: u32, pctlinfo: *const CTL_INFO, psigninfo: *const CMSG_SIGNED_ENCODE_INFO, dwflags: u32, pbencoded: ::core::option::Option<*mut u8>, pcbencoded: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgEncodeAndSignCTL ( dwmsgencodingtype : u32 , pctlinfo : *const CTL_INFO , psigninfo : *const CMSG_SIGNED_ENCODE_INFO , dwflags : u32 , pbencoded : *mut u8 , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgEncodeAndSignCTL ( dwmsgencodingtype : u32 , pctlinfo : *const CTL_INFO , psigninfo : *const CMSG_SIGNED_ENCODE_INFO , dwflags : u32 , pbencoded : *mut u8 , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptMsgEncodeAndSignCTL(dwmsgencodingtype, pctlinfo, psigninfo, dwflags, ::core::mem::transmute(pbencoded.unwrap_or(::std::ptr::null_mut())), pcbencoded) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptMsgGetAndVerifySigner(hcryptmsg: *const ::core::ffi::c_void, rghsignerstore: ::core::option::Option<&[HCERTSTORE]>, dwflags: u32, ppsigner: ::core::option::Option<*mut *mut CERT_CONTEXT>, pdwsignerindex: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgGetAndVerifySigner ( hcryptmsg : *const ::core::ffi::c_void , csignerstore : u32 , rghsignerstore : *const HCERTSTORE , dwflags : u32 , ppsigner : *mut *mut CERT_CONTEXT , pdwsignerindex : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgGetAndVerifySigner ( hcryptmsg : *const ::core::ffi::c_void , csignerstore : u32 , rghsignerstore : *const HCERTSTORE , dwflags : u32 , ppsigner : *mut *mut CERT_CONTEXT , pdwsignerindex : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptMsgGetAndVerifySigner(hcryptmsg, rghsignerstore.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rghsignerstore.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwflags, ::core::mem::transmute(ppsigner.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwsignerindex.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptMsgGetParam(hcryptmsg: *const ::core::ffi::c_void, dwparamtype: u32, dwindex: u32, pvdata: ::core::option::Option<*mut ::core::ffi::c_void>, pcbdata: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgGetParam ( hcryptmsg : *const ::core::ffi::c_void , dwparamtype : u32 , dwindex : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgGetParam ( hcryptmsg : *const ::core::ffi::c_void , dwparamtype : u32 , dwindex : u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptMsgGetParam(hcryptmsg, dwparamtype, dwindex, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), pcbdata) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2306,7 +2306,7 @@ pub unsafe fn CryptMsgOpenToDecode(dwmsgencodingtype: u32, dwflags: u32, dwm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgOpenToDecode ( dwmsgencodingtype : u32 , dwflags : u32 , dwmsgtype : u32 , hcryptprov : HCRYPTPROV_LEGACY , precipientinfo : *const CERT_INFO , pstreaminfo : *const CMSG_STREAM_INFO ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgOpenToDecode ( dwmsgencodingtype : u32 , dwflags : u32 , dwmsgtype : u32 , hcryptprov : HCRYPTPROV_LEGACY , precipientinfo : *const CERT_INFO , pstreaminfo : *const CMSG_STREAM_INFO ) -> *mut ::core::ffi::c_void ); CryptMsgOpenToDecode(dwmsgencodingtype, dwflags, dwmsgtype, hcryptprov.into(), ::core::mem::transmute(precipientinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pstreaminfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2316,14 +2316,14 @@ pub unsafe fn CryptMsgOpenToEncode(dwmsgencodingtype: u32, dwflags: u32, dwm where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgOpenToEncode ( dwmsgencodingtype : u32 , dwflags : u32 , dwmsgtype : CRYPT_MSG_TYPE , pvmsgencodeinfo : *const ::core::ffi::c_void , pszinnercontentobjid : :: windows::core::PCSTR , pstreaminfo : *const CMSG_STREAM_INFO ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgOpenToEncode ( dwmsgencodingtype : u32 , dwflags : u32 , dwmsgtype : CRYPT_MSG_TYPE , pvmsgencodeinfo : *const ::core::ffi::c_void , pszinnercontentobjid : :: windows::core::PCSTR , pstreaminfo : *const CMSG_STREAM_INFO ) -> *mut ::core::ffi::c_void ); CryptMsgOpenToEncode(dwmsgencodingtype, dwflags, dwmsgtype, pvmsgencodeinfo, pszinnercontentobjid.into().abi(), ::core::mem::transmute(pstreaminfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptMsgSignCTL(dwmsgencodingtype: u32, pbctlcontent: &[u8], psigninfo: *const CMSG_SIGNED_ENCODE_INFO, dwflags: u32, pbencoded: ::core::option::Option<*mut u8>, pcbencoded: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgSignCTL ( dwmsgencodingtype : u32 , pbctlcontent : *const u8 , cbctlcontent : u32 , psigninfo : *const CMSG_SIGNED_ENCODE_INFO , dwflags : u32 , pbencoded : *mut u8 , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgSignCTL ( dwmsgencodingtype : u32 , pbctlcontent : *const u8 , cbctlcontent : u32 , psigninfo : *const CMSG_SIGNED_ENCODE_INFO , dwflags : u32 , pbencoded : *mut u8 , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptMsgSignCTL(dwmsgencodingtype, ::core::mem::transmute(pbctlcontent.as_ptr()), pbctlcontent.len() as _, psigninfo, dwflags, ::core::mem::transmute(pbencoded.unwrap_or(::std::ptr::null_mut())), pcbencoded) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2333,7 +2333,7 @@ pub unsafe fn CryptMsgUpdate(hcryptmsg: *const ::core::ffi::c_void, pbdata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgUpdate ( hcryptmsg : *const ::core::ffi::c_void , pbdata : *const u8 , cbdata : u32 , ffinal : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgUpdate ( hcryptmsg : *const ::core::ffi::c_void , pbdata : *const u8 , cbdata : u32 , ffinal : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CryptMsgUpdate(hcryptmsg, ::core::mem::transmute(pbdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbdata.as_deref().map_or(0, |slice| slice.len() as _), ffinal.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2343,7 +2343,7 @@ pub unsafe fn CryptMsgVerifyCountersignatureEncoded(hcryptprov: P0, dwencodi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgVerifyCountersignatureEncoded ( hcryptprov : HCRYPTPROV_LEGACY , dwencodingtype : u32 , pbsignerinfo : *const u8 , cbsignerinfo : u32 , pbsignerinfocountersignature : *const u8 , cbsignerinfocountersignature : u32 , pcicountersigner : *const CERT_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgVerifyCountersignatureEncoded ( hcryptprov : HCRYPTPROV_LEGACY , dwencodingtype : u32 , pbsignerinfo : *const u8 , cbsignerinfo : u32 , pbsignerinfocountersignature : *const u8 , cbsignerinfocountersignature : u32 , pcicountersigner : *const CERT_INFO ) -> super::super::Foundation:: BOOL ); CryptMsgVerifyCountersignatureEncoded(hcryptprov.into(), dwencodingtype, ::core::mem::transmute(pbsignerinfo.as_ptr()), pbsignerinfo.len() as _, ::core::mem::transmute(pbsignerinfocountersignature.as_ptr()), pbsignerinfocountersignature.len() as _, pcicountersigner) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2353,7 +2353,7 @@ pub unsafe fn CryptMsgVerifyCountersignatureEncodedEx(hcryptprov: P0, dwenco where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptMsgVerifyCountersignatureEncodedEx ( hcryptprov : HCRYPTPROV_LEGACY , dwencodingtype : u32 , pbsignerinfo : *const u8 , cbsignerinfo : u32 , pbsignerinfocountersignature : *const u8 , cbsignerinfocountersignature : u32 , dwsignertype : u32 , pvsigner : *const ::core::ffi::c_void , dwflags : u32 , pvextra : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptMsgVerifyCountersignatureEncodedEx ( hcryptprov : HCRYPTPROV_LEGACY , dwencodingtype : u32 , pbsignerinfo : *const u8 , cbsignerinfo : u32 , pbsignerinfocountersignature : *const u8 , cbsignerinfocountersignature : u32 , dwsignertype : u32 , pvsigner : *const ::core::ffi::c_void , dwflags : u32 , pvextra : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptMsgVerifyCountersignatureEncodedEx(hcryptprov.into(), dwencodingtype, ::core::mem::transmute(pbsignerinfo.as_ptr()), pbsignerinfo.len() as _, ::core::mem::transmute(pbsignerinfocountersignature.as_ptr()), pbsignerinfocountersignature.len() as _, dwsignertype, pvsigner, dwflags, ::core::mem::transmute(pvextra.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2363,21 +2363,21 @@ pub unsafe fn CryptProtectData(pdatain: *const CRYPT_INTEGER_BLOB, szdatades where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptProtectData ( pdatain : *const CRYPT_INTEGER_BLOB , szdatadescr : :: windows::core::PCWSTR , poptionalentropy : *const CRYPT_INTEGER_BLOB , pvreserved : *const ::core::ffi::c_void , ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT , dwflags : u32 , pdataout : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptProtectData ( pdatain : *const CRYPT_INTEGER_BLOB , szdatadescr : :: windows::core::PCWSTR , poptionalentropy : *const CRYPT_INTEGER_BLOB , pvreserved : *const ::core::ffi::c_void , ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT , dwflags : u32 , pdataout : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); CryptProtectData(pdatain, szdatadescr.into().abi(), ::core::mem::transmute(poptionalentropy.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppromptstruct.unwrap_or(::std::ptr::null())), dwflags, pdataout) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptProtectMemory(pdatain: *mut ::core::ffi::c_void, cbdatain: u32, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptProtectMemory ( pdatain : *mut ::core::ffi::c_void , cbdatain : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptProtectMemory ( pdatain : *mut ::core::ffi::c_void , cbdatain : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptProtectMemory(pdatain, cbdatain, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptQueryObject(dwobjecttype: CERT_QUERY_OBJECT_TYPE, pvobject: *const ::core::ffi::c_void, dwexpectedcontenttypeflags: CERT_QUERY_CONTENT_TYPE_FLAGS, dwexpectedformattypeflags: CERT_QUERY_FORMAT_TYPE_FLAGS, dwflags: u32, pdwmsgandcertencodingtype: ::core::option::Option<*mut CERT_QUERY_ENCODING_TYPE>, pdwcontenttype: ::core::option::Option<*mut CERT_QUERY_CONTENT_TYPE>, pdwformattype: ::core::option::Option<*mut CERT_QUERY_FORMAT_TYPE>, phcertstore: ::core::option::Option<*mut HCERTSTORE>, phmsg: ::core::option::Option<*mut *mut ::core::ffi::c_void>, ppvcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptQueryObject ( dwobjecttype : CERT_QUERY_OBJECT_TYPE , pvobject : *const ::core::ffi::c_void , dwexpectedcontenttypeflags : CERT_QUERY_CONTENT_TYPE_FLAGS , dwexpectedformattypeflags : CERT_QUERY_FORMAT_TYPE_FLAGS , dwflags : u32 , pdwmsgandcertencodingtype : *mut CERT_QUERY_ENCODING_TYPE , pdwcontenttype : *mut CERT_QUERY_CONTENT_TYPE , pdwformattype : *mut CERT_QUERY_FORMAT_TYPE , phcertstore : *mut HCERTSTORE , phmsg : *mut *mut ::core::ffi::c_void , ppvcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptQueryObject ( dwobjecttype : CERT_QUERY_OBJECT_TYPE , pvobject : *const ::core::ffi::c_void , dwexpectedcontenttypeflags : CERT_QUERY_CONTENT_TYPE_FLAGS , dwexpectedformattypeflags : CERT_QUERY_FORMAT_TYPE_FLAGS , dwflags : u32 , pdwmsgandcertencodingtype : *mut CERT_QUERY_ENCODING_TYPE , pdwcontenttype : *mut CERT_QUERY_CONTENT_TYPE , pdwformattype : *mut CERT_QUERY_FORMAT_TYPE , phcertstore : *mut HCERTSTORE , phmsg : *mut *mut ::core::ffi::c_void , ppvcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptQueryObject( dwobjecttype, pvobject, @@ -2400,7 +2400,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptRegisterDefaultOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , dwindex : u32 , pwszdll : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptRegisterDefaultOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , dwindex : u32 , pwszdll : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); CryptRegisterDefaultOIDFunction(dwencodingtype, pszfuncname.into().abi(), dwindex, pwszdll.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2413,21 +2413,21 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptRegisterOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR , pwszdll : :: windows::core::PCWSTR , pszoverridefuncname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptRegisterOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR , pwszdll : :: windows::core::PCWSTR , pszoverridefuncname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); CryptRegisterOIDFunction(dwencodingtype, pszfuncname.into().abi(), pszoid.into().abi(), pwszdll.into().abi(), pszoverridefuncname.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptRegisterOIDInfo(pinfo: *const CRYPT_OID_INFO, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptRegisterOIDInfo ( pinfo : *const CRYPT_OID_INFO , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptRegisterOIDInfo ( pinfo : *const CRYPT_OID_INFO , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptRegisterOIDInfo(pinfo, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptReleaseContext(hprov: usize, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptReleaseContext ( hprov : usize , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptReleaseContext ( hprov : usize , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptReleaseContext(hprov, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2439,7 +2439,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "cryptnet.dll""system" fn CryptRetrieveObjectByUrlA ( pszurl : :: windows::core::PCSTR , pszobjectoid : :: windows::core::PCSTR , dwretrievalflags : u32 , dwtimeout : u32 , ppvobject : *mut *mut ::core::ffi::c_void , hasyncretrieve : HCRYPTASYNC , pcredentials : *const CRYPT_CREDENTIALS , pvverify : *const ::core::ffi::c_void , pauxinfo : *mut CRYPT_RETRIEVE_AUX_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptnet.dll""system" fn CryptRetrieveObjectByUrlA ( pszurl : :: windows::core::PCSTR , pszobjectoid : :: windows::core::PCSTR , dwretrievalflags : u32 , dwtimeout : u32 , ppvobject : *mut *mut ::core::ffi::c_void , hasyncretrieve : HCRYPTASYNC , pcredentials : *const CRYPT_CREDENTIALS , pvverify : *const ::core::ffi::c_void , pauxinfo : *mut CRYPT_RETRIEVE_AUX_INFO ) -> super::super::Foundation:: BOOL ); CryptRetrieveObjectByUrlA(pszurl.into().abi(), pszobjectoid.into().abi(), dwretrievalflags, dwtimeout, ppvobject, hasyncretrieve.into(), ::core::mem::transmute(pcredentials.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvverify.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pauxinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2451,7 +2451,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "cryptnet.dll""system" fn CryptRetrieveObjectByUrlW ( pszurl : :: windows::core::PCWSTR , pszobjectoid : :: windows::core::PCSTR , dwretrievalflags : u32 , dwtimeout : u32 , ppvobject : *mut *mut ::core::ffi::c_void , hasyncretrieve : HCRYPTASYNC , pcredentials : *const CRYPT_CREDENTIALS , pvverify : *const ::core::ffi::c_void , pauxinfo : *mut CRYPT_RETRIEVE_AUX_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptnet.dll""system" fn CryptRetrieveObjectByUrlW ( pszurl : :: windows::core::PCWSTR , pszobjectoid : :: windows::core::PCSTR , dwretrievalflags : u32 , dwtimeout : u32 , ppvobject : *mut *mut ::core::ffi::c_void , hasyncretrieve : HCRYPTASYNC , pcredentials : *const CRYPT_CREDENTIALS , pvverify : *const ::core::ffi::c_void , pauxinfo : *mut CRYPT_RETRIEVE_AUX_INFO ) -> super::super::Foundation:: BOOL ); CryptRetrieveObjectByUrlW(pszurl.into().abi(), pszobjectoid.into().abi(), dwretrievalflags, dwtimeout, ppvobject, hasyncretrieve.into(), ::core::mem::transmute(pcredentials.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvverify.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pauxinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2462,7 +2462,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptRetrieveTimeStamp ( wszurl : :: windows::core::PCWSTR , dwretrievalflags : u32 , dwtimeout : u32 , pszhashid : :: windows::core::PCSTR , ppara : *const CRYPT_TIMESTAMP_PARA , pbdata : *const u8 , cbdata : u32 , pptscontext : *mut *mut CRYPT_TIMESTAMP_CONTEXT , pptssigner : *mut *mut CERT_CONTEXT , phstore : *mut HCERTSTORE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptRetrieveTimeStamp ( wszurl : :: windows::core::PCWSTR , dwretrievalflags : u32 , dwtimeout : u32 , pszhashid : :: windows::core::PCSTR , ppara : *const CRYPT_TIMESTAMP_PARA , pbdata : *const u8 , cbdata : u32 , pptscontext : *mut *mut CRYPT_TIMESTAMP_CONTEXT , pptssigner : *mut *mut CERT_CONTEXT , phstore : *mut HCERTSTORE ) -> super::super::Foundation:: BOOL ); CryptRetrieveTimeStamp(wszurl.into().abi(), dwretrievalflags, dwtimeout, pszhashid.into().abi(), ::core::mem::transmute(ppara.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, pptscontext, pptssigner, ::core::mem::transmute(phstore.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2473,14 +2473,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSetAsyncParam ( hasync : HCRYPTASYNC , pszparamoid : :: windows::core::PCSTR , pvparam : *const ::core::ffi::c_void , pfnfree : PFN_CRYPT_ASYNC_PARAM_FREE_FUNC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSetAsyncParam ( hasync : HCRYPTASYNC , pszparamoid : :: windows::core::PCSTR , pvparam : *const ::core::ffi::c_void , pfnfree : PFN_CRYPT_ASYNC_PARAM_FREE_FUNC ) -> super::super::Foundation:: BOOL ); CryptSetAsyncParam(hasync.into(), pszparamoid.into().abi(), ::core::mem::transmute(pvparam.unwrap_or(::std::ptr::null())), pfnfree) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptSetHashParam(hhash: usize, dwparam: CRYPT_SET_HASH_PARAM, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSetHashParam ( hhash : usize , dwparam : CRYPT_SET_HASH_PARAM , pbdata : *const u8 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSetHashParam ( hhash : usize , dwparam : CRYPT_SET_HASH_PARAM , pbdata : *const u8 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptSetHashParam(hhash, dwparam, pbdata, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2490,14 +2490,14 @@ pub unsafe fn CryptSetKeyIdentifierProperty(pkeyidentifier: *const CRYPT_INT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSetKeyIdentifierProperty ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSetKeyIdentifierProperty ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows::core::PCWSTR , pvreserved : *const ::core::ffi::c_void , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptSetKeyIdentifierProperty(pkeyidentifier, dwpropid, dwflags, pwszcomputername.into().abi(), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptSetKeyParam(hkey: usize, dwparam: CRYPT_KEY_PARAM_ID, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSetKeyParam ( hkey : usize , dwparam : CRYPT_KEY_PARAM_ID , pbdata : *const u8 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSetKeyParam ( hkey : usize , dwparam : CRYPT_KEY_PARAM_ID , pbdata : *const u8 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptSetKeyParam(hkey, dwparam, pbdata, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2509,14 +2509,14 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSetOIDFunctionValue ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR , pwszvaluename : :: windows::core::PCWSTR , dwvaluetype : super::super::System::Registry:: REG_VALUE_TYPE , pbvaluedata : *const u8 , cbvaluedata : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSetOIDFunctionValue ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR , pwszvaluename : :: windows::core::PCWSTR , dwvaluetype : super::super::System::Registry:: REG_VALUE_TYPE , pbvaluedata : *const u8 , cbvaluedata : u32 ) -> super::super::Foundation:: BOOL ); CryptSetOIDFunctionValue(dwencodingtype, pszfuncname.into().abi(), pszoid.into().abi(), pwszvaluename.into().abi(), dwvaluetype, ::core::mem::transmute(pbvaluedata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbvaluedata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptSetProvParam(hprov: usize, dwparam: CRYPT_SET_PROV_PARAM_ID, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSetProvParam ( hprov : usize , dwparam : CRYPT_SET_PROV_PARAM_ID , pbdata : *const u8 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSetProvParam ( hprov : usize , dwparam : CRYPT_SET_PROV_PARAM_ID , pbdata : *const u8 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptSetProvParam(hprov, dwparam, pbdata, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2526,7 +2526,7 @@ pub unsafe fn CryptSetProviderA(pszprovname: P0, dwprovtype: u32) -> super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSetProviderA ( pszprovname : :: windows::core::PCSTR , dwprovtype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSetProviderA ( pszprovname : :: windows::core::PCSTR , dwprovtype : u32 ) -> super::super::Foundation:: BOOL ); CryptSetProviderA(pszprovname.into().abi(), dwprovtype) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2536,7 +2536,7 @@ pub unsafe fn CryptSetProviderExA(pszprovname: P0, dwprovtype: u32, pdwreser where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSetProviderExA ( pszprovname : :: windows::core::PCSTR , dwprovtype : u32 , pdwreserved : *const u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSetProviderExA ( pszprovname : :: windows::core::PCSTR , dwprovtype : u32 , pdwreserved : *const u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptSetProviderExA(pszprovname.into().abi(), dwprovtype, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2546,7 +2546,7 @@ pub unsafe fn CryptSetProviderExW(pszprovname: P0, dwprovtype: u32, pdwreser where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSetProviderExW ( pszprovname : :: windows::core::PCWSTR , dwprovtype : u32 , pdwreserved : *const u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSetProviderExW ( pszprovname : :: windows::core::PCWSTR , dwprovtype : u32 , pdwreserved : *const u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptSetProviderExW(pszprovname.into().abi(), dwprovtype, ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2556,7 +2556,7 @@ pub unsafe fn CryptSetProviderW(pszprovname: P0, dwprovtype: u32) -> super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSetProviderW ( pszprovname : :: windows::core::PCWSTR , dwprovtype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSetProviderW ( pszprovname : :: windows::core::PCWSTR , dwprovtype : u32 ) -> super::super::Foundation:: BOOL ); CryptSetProviderW(pszprovname.into().abi(), dwprovtype) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2567,14 +2567,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSignAndEncodeCertificate ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : CERT_KEY_SPEC , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pvstructinfo : *const ::core::ffi::c_void , psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER , pvhashauxinfo : *const ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSignAndEncodeCertificate ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : CERT_KEY_SPEC , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , lpszstructtype : :: windows::core::PCSTR , pvstructinfo : *const ::core::ffi::c_void , psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER , pvhashauxinfo : *const ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptSignAndEncodeCertificate(hcryptprovorncryptkey.into(), dwkeyspec, dwcertencodingtype, lpszstructtype.into().abi(), pvstructinfo, psignaturealgorithm, ::core::mem::transmute(pvhashauxinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbencoded.unwrap_or(::std::ptr::null_mut())), pcbencoded) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptSignAndEncryptMessage(psignpara: *const CRYPT_SIGN_MESSAGE_PARA, pencryptpara: *const CRYPT_ENCRYPT_MESSAGE_PARA, rgprecipientcert: &[*const CERT_CONTEXT], pbtobesignedandencrypted: &[u8], pbsignedandencryptedblob: ::core::option::Option<*mut u8>, pcbsignedandencryptedblob: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSignAndEncryptMessage ( psignpara : *const CRYPT_SIGN_MESSAGE_PARA , pencryptpara : *const CRYPT_ENCRYPT_MESSAGE_PARA , crecipientcert : u32 , rgprecipientcert : *const *const CERT_CONTEXT , pbtobesignedandencrypted : *const u8 , cbtobesignedandencrypted : u32 , pbsignedandencryptedblob : *mut u8 , pcbsignedandencryptedblob : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSignAndEncryptMessage ( psignpara : *const CRYPT_SIGN_MESSAGE_PARA , pencryptpara : *const CRYPT_ENCRYPT_MESSAGE_PARA , crecipientcert : u32 , rgprecipientcert : *const *const CERT_CONTEXT , pbtobesignedandencrypted : *const u8 , cbtobesignedandencrypted : u32 , pbsignedandencryptedblob : *mut u8 , pcbsignedandencryptedblob : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptSignAndEncryptMessage(psignpara, pencryptpara, rgprecipientcert.len() as _, ::core::mem::transmute(rgprecipientcert.as_ptr()), ::core::mem::transmute(pbtobesignedandencrypted.as_ptr()), pbtobesignedandencrypted.len() as _, ::core::mem::transmute(pbsignedandencryptedblob.unwrap_or(::std::ptr::null_mut())), pcbsignedandencryptedblob) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2584,7 +2584,7 @@ pub unsafe fn CryptSignCertificate(hcryptprovorncryptkey: P0, dwkeyspec: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSignCertificate ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : u32 , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbencodedtobesigned : *const u8 , cbencodedtobesigned : u32 , psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER , pvhashauxinfo : *const ::core::ffi::c_void , pbsignature : *mut u8 , pcbsignature : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSignCertificate ( hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : u32 , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbencodedtobesigned : *const u8 , cbencodedtobesigned : u32 , psignaturealgorithm : *const CRYPT_ALGORITHM_IDENTIFIER , pvhashauxinfo : *const ::core::ffi::c_void , pbsignature : *mut u8 , pcbsignature : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptSignCertificate(hcryptprovorncryptkey.into(), dwkeyspec, dwcertencodingtype, ::core::mem::transmute(pbencodedtobesigned.as_ptr()), pbencodedtobesigned.len() as _, psignaturealgorithm, ::core::mem::transmute(pvhashauxinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbsignature.unwrap_or(::std::ptr::null_mut())), pcbsignature) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2594,7 +2594,7 @@ pub unsafe fn CryptSignHashA(hhash: usize, dwkeyspec: u32, szdescription: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSignHashA ( hhash : usize , dwkeyspec : u32 , szdescription : :: windows::core::PCSTR , dwflags : u32 , pbsignature : *mut u8 , pdwsiglen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSignHashA ( hhash : usize , dwkeyspec : u32 , szdescription : :: windows::core::PCSTR , dwflags : u32 , pbsignature : *mut u8 , pdwsiglen : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptSignHashA(hhash, dwkeyspec, szdescription.into().abi(), dwflags, ::core::mem::transmute(pbsignature.unwrap_or(::std::ptr::null_mut())), pdwsiglen) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2604,7 +2604,7 @@ pub unsafe fn CryptSignHashW(hhash: usize, dwkeyspec: u32, szdescription: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptSignHashW ( hhash : usize , dwkeyspec : u32 , szdescription : :: windows::core::PCWSTR , dwflags : u32 , pbsignature : *mut u8 , pdwsiglen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptSignHashW ( hhash : usize , dwkeyspec : u32 , szdescription : :: windows::core::PCWSTR , dwflags : u32 , pbsignature : *mut u8 , pdwsiglen : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptSignHashW(hhash, dwkeyspec, szdescription.into().abi(), dwflags, ::core::mem::transmute(pbsignature.unwrap_or(::std::ptr::null_mut())), pdwsiglen) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2614,56 +2614,56 @@ pub unsafe fn CryptSignMessage(psignpara: *const CRYPT_SIGN_MESSAGE_PARA, fd where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSignMessage ( psignpara : *const CRYPT_SIGN_MESSAGE_PARA , fdetachedsignature : super::super::Foundation:: BOOL , ctobesigned : u32 , rgpbtobesigned : *const *const u8 , rgcbtobesigned : *const u32 , pbsignedblob : *mut u8 , pcbsignedblob : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSignMessage ( psignpara : *const CRYPT_SIGN_MESSAGE_PARA , fdetachedsignature : super::super::Foundation:: BOOL , ctobesigned : u32 , rgpbtobesigned : *const *const u8 , rgcbtobesigned : *const u32 , pbsignedblob : *mut u8 , pcbsignedblob : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptSignMessage(psignpara, fdetachedsignature.into(), ctobesigned, ::core::mem::transmute(rgpbtobesigned.unwrap_or(::std::ptr::null())), rgcbtobesigned, ::core::mem::transmute(pbsignedblob.unwrap_or(::std::ptr::null_mut())), pcbsignedblob) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptSignMessageWithKey(psignpara: *const CRYPT_KEY_SIGN_MESSAGE_PARA, pbtobesigned: &[u8], pbsignedblob: ::core::option::Option<*mut u8>, pcbsignedblob: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptSignMessageWithKey ( psignpara : *const CRYPT_KEY_SIGN_MESSAGE_PARA , pbtobesigned : *const u8 , cbtobesigned : u32 , pbsignedblob : *mut u8 , pcbsignedblob : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptSignMessageWithKey ( psignpara : *const CRYPT_KEY_SIGN_MESSAGE_PARA , pbtobesigned : *const u8 , cbtobesigned : u32 , pbsignedblob : *mut u8 , pcbsignedblob : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptSignMessageWithKey(psignpara, ::core::mem::transmute(pbtobesigned.as_ptr()), pbtobesigned.len() as _, ::core::mem::transmute(pbsignedblob.unwrap_or(::std::ptr::null_mut())), pcbsignedblob) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptStringToBinaryA(pszstring: &[u8], dwflags: CRYPT_STRING, pbbinary: ::core::option::Option<*mut u8>, pcbbinary: *mut u32, pdwskip: ::core::option::Option<*mut u32>, pdwflags: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptStringToBinaryA ( pszstring : :: windows::core::PCSTR , cchstring : u32 , dwflags : CRYPT_STRING , pbbinary : *mut u8 , pcbbinary : *mut u32 , pdwskip : *mut u32 , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptStringToBinaryA ( pszstring : :: windows::core::PCSTR , cchstring : u32 , dwflags : CRYPT_STRING , pbbinary : *mut u8 , pcbbinary : *mut u32 , pdwskip : *mut u32 , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptStringToBinaryA(::core::mem::transmute(pszstring.as_ptr()), pszstring.len() as _, dwflags, ::core::mem::transmute(pbbinary.unwrap_or(::std::ptr::null_mut())), pcbbinary, ::core::mem::transmute(pdwskip.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptStringToBinaryW(pszstring: &[u16], dwflags: CRYPT_STRING, pbbinary: ::core::option::Option<*mut u8>, pcbbinary: *mut u32, pdwskip: ::core::option::Option<*mut u32>, pdwflags: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptStringToBinaryW ( pszstring : :: windows::core::PCWSTR , cchstring : u32 , dwflags : CRYPT_STRING , pbbinary : *mut u8 , pcbbinary : *mut u32 , pdwskip : *mut u32 , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptStringToBinaryW ( pszstring : :: windows::core::PCWSTR , cchstring : u32 , dwflags : CRYPT_STRING , pbbinary : *mut u8 , pcbbinary : *mut u32 , pdwskip : *mut u32 , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptStringToBinaryW(::core::mem::transmute(pszstring.as_ptr()), pszstring.len() as _, dwflags, ::core::mem::transmute(pbbinary.unwrap_or(::std::ptr::null_mut())), pcbbinary, ::core::mem::transmute(pdwskip.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptUninstallCancelRetrieval(dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cryptnet.dll""system" fn CryptUninstallCancelRetrieval ( dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cryptnet.dll""system" fn CryptUninstallCancelRetrieval ( dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptUninstallCancelRetrieval(dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptUninstallDefaultContext(hdefaultcontext: ::core::option::Option<*const ::core::ffi::c_void>, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptUninstallDefaultContext ( hdefaultcontext : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptUninstallDefaultContext ( hdefaultcontext : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptUninstallDefaultContext(::core::mem::transmute(hdefaultcontext.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptUnprotectData(pdatain: *const CRYPT_INTEGER_BLOB, ppszdatadescr: ::core::option::Option<*mut ::windows::core::PWSTR>, poptionalentropy: ::core::option::Option<*const CRYPT_INTEGER_BLOB>, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, ppromptstruct: ::core::option::Option<*const CRYPTPROTECT_PROMPTSTRUCT>, dwflags: u32, pdataout: *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptUnprotectData ( pdatain : *const CRYPT_INTEGER_BLOB , ppszdatadescr : *mut :: windows::core::PWSTR , poptionalentropy : *const CRYPT_INTEGER_BLOB , pvreserved : *const ::core::ffi::c_void , ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT , dwflags : u32 , pdataout : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptUnprotectData ( pdatain : *const CRYPT_INTEGER_BLOB , ppszdatadescr : *mut :: windows::core::PWSTR , poptionalentropy : *const CRYPT_INTEGER_BLOB , pvreserved : *const ::core::ffi::c_void , ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT , dwflags : u32 , pdataout : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); CryptUnprotectData(pdatain, ::core::mem::transmute(ppszdatadescr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poptionalentropy.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppromptstruct.unwrap_or(::std::ptr::null())), dwflags, pdataout) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptUnprotectMemory(pdatain: *mut ::core::ffi::c_void, cbdatain: u32, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptUnprotectMemory ( pdatain : *mut ::core::ffi::c_void , cbdatain : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptUnprotectMemory ( pdatain : *mut ::core::ffi::c_void , cbdatain : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptUnprotectMemory(pdatain, cbdatain, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2674,7 +2674,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptUnregisterDefaultOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pwszdll : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptUnregisterDefaultOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pwszdll : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); CryptUnregisterDefaultOIDFunction(dwencodingtype, pszfuncname.into().abi(), pwszdll.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2685,14 +2685,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptUnregisterOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptUnregisterOIDFunction ( dwencodingtype : u32 , pszfuncname : :: windows::core::PCSTR , pszoid : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); CryptUnregisterOIDFunction(dwencodingtype, pszfuncname.into().abi(), pszoid.into().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptUnregisterOIDInfo(pinfo: *const CRYPT_OID_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptUnregisterOIDInfo ( pinfo : *const CRYPT_OID_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptUnregisterOIDInfo ( pinfo : *const CRYPT_OID_INFO ) -> super::super::Foundation:: BOOL ); CryptUnregisterOIDInfo(pinfo) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2703,7 +2703,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptUpdateProtectedState ( poldsid : super::super::Foundation:: PSID , pwszoldpassword : :: windows::core::PCWSTR , dwflags : u32 , pdwsuccesscount : *mut u32 , pdwfailurecount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptUpdateProtectedState ( poldsid : super::super::Foundation:: PSID , pwszoldpassword : :: windows::core::PCWSTR , dwflags : u32 , pdwsuccesscount : *mut u32 , pdwfailurecount : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptUpdateProtectedState(poldsid.into(), pwszoldpassword.into().abi(), dwflags, ::core::mem::transmute(pdwsuccesscount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwfailurecount.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2713,7 +2713,7 @@ pub unsafe fn CryptVerifyCertificateSignature(hcryptprov: P0, dwcertencoding where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptVerifyCertificateSignature ( hcryptprov : HCRYPTPROV_LEGACY , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbencoded : *const u8 , cbencoded : u32 , ppublickey : *const CERT_PUBLIC_KEY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptVerifyCertificateSignature ( hcryptprov : HCRYPTPROV_LEGACY , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbencoded : *const u8 , cbencoded : u32 , ppublickey : *const CERT_PUBLIC_KEY_INFO ) -> super::super::Foundation:: BOOL ); CryptVerifyCertificateSignature(hcryptprov.into(), dwcertencodingtype, ::core::mem::transmute(pbencoded.as_ptr()), pbencoded.len() as _, ppublickey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2723,42 +2723,42 @@ pub unsafe fn CryptVerifyCertificateSignatureEx(hcryptprov: P0, dwcertencodi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptVerifyCertificateSignatureEx ( hcryptprov : HCRYPTPROV_LEGACY , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwsubjecttype : u32 , pvsubject : *const ::core::ffi::c_void , dwissuertype : u32 , pvissuer : *const ::core::ffi::c_void , dwflags : CRYPT_VERIFY_CERT_FLAGS , pvextra : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptVerifyCertificateSignatureEx ( hcryptprov : HCRYPTPROV_LEGACY , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , dwsubjecttype : u32 , pvsubject : *const ::core::ffi::c_void , dwissuertype : u32 , pvissuer : *const ::core::ffi::c_void , dwflags : CRYPT_VERIFY_CERT_FLAGS , pvextra : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CryptVerifyCertificateSignatureEx(hcryptprov.into(), dwcertencodingtype, dwsubjecttype, pvsubject, dwissuertype, ::core::mem::transmute(pvissuer.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(pvextra.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptVerifyDetachedMessageHash(phashpara: *const CRYPT_HASH_MESSAGE_PARA, pbdetachedhashblob: &[u8], ctobehashed: u32, rgpbtobehashed: *const *const u8, rgcbtobehashed: *const u32, pbcomputedhash: ::core::option::Option<*mut u8>, pcbcomputedhash: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptVerifyDetachedMessageHash ( phashpara : *const CRYPT_HASH_MESSAGE_PARA , pbdetachedhashblob : *const u8 , cbdetachedhashblob : u32 , ctobehashed : u32 , rgpbtobehashed : *const *const u8 , rgcbtobehashed : *const u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptVerifyDetachedMessageHash ( phashpara : *const CRYPT_HASH_MESSAGE_PARA , pbdetachedhashblob : *const u8 , cbdetachedhashblob : u32 , ctobehashed : u32 , rgpbtobehashed : *const *const u8 , rgcbtobehashed : *const u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptVerifyDetachedMessageHash(phashpara, ::core::mem::transmute(pbdetachedhashblob.as_ptr()), pbdetachedhashblob.len() as _, ctobehashed, rgpbtobehashed, rgcbtobehashed, ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbcomputedhash.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptVerifyDetachedMessageSignature(pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbdetachedsignblob: &[u8], ctobesigned: u32, rgpbtobesigned: *const *const u8, rgcbtobesigned: *const u32, ppsignercert: ::core::option::Option<*mut *mut CERT_CONTEXT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptVerifyDetachedMessageSignature ( pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA , dwsignerindex : u32 , pbdetachedsignblob : *const u8 , cbdetachedsignblob : u32 , ctobesigned : u32 , rgpbtobesigned : *const *const u8 , rgcbtobesigned : *const u32 , ppsignercert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptVerifyDetachedMessageSignature ( pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA , dwsignerindex : u32 , pbdetachedsignblob : *const u8 , cbdetachedsignblob : u32 , ctobesigned : u32 , rgpbtobesigned : *const *const u8 , rgcbtobesigned : *const u32 , ppsignercert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CryptVerifyDetachedMessageSignature(pverifypara, dwsignerindex, ::core::mem::transmute(pbdetachedsignblob.as_ptr()), pbdetachedsignblob.len() as _, ctobesigned, rgpbtobesigned, rgcbtobesigned, ::core::mem::transmute(ppsignercert.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptVerifyMessageHash(phashpara: *const CRYPT_HASH_MESSAGE_PARA, pbhashedblob: &[u8], pbtobehashed: ::core::option::Option<*mut u8>, pcbtobehashed: ::core::option::Option<*mut u32>, pbcomputedhash: ::core::option::Option<*mut u8>, pcbcomputedhash: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptVerifyMessageHash ( phashpara : *const CRYPT_HASH_MESSAGE_PARA , pbhashedblob : *const u8 , cbhashedblob : u32 , pbtobehashed : *mut u8 , pcbtobehashed : *mut u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptVerifyMessageHash ( phashpara : *const CRYPT_HASH_MESSAGE_PARA , pbhashedblob : *const u8 , cbhashedblob : u32 , pbtobehashed : *mut u8 , pcbtobehashed : *mut u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptVerifyMessageHash(phashpara, ::core::mem::transmute(pbhashedblob.as_ptr()), pbhashedblob.len() as _, ::core::mem::transmute(pbtobehashed.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbtobehashed.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbcomputedhash.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptVerifyMessageSignature(pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbsignedblob: &[u8], pbdecoded: ::core::option::Option<*mut u8>, pcbdecoded: ::core::option::Option<*mut u32>, ppsignercert: ::core::option::Option<*mut *mut CERT_CONTEXT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptVerifyMessageSignature ( pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA , dwsignerindex : u32 , pbsignedblob : *const u8 , cbsignedblob : u32 , pbdecoded : *mut u8 , pcbdecoded : *mut u32 , ppsignercert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptVerifyMessageSignature ( pverifypara : *const CRYPT_VERIFY_MESSAGE_PARA , dwsignerindex : u32 , pbsignedblob : *const u8 , cbsignedblob : u32 , pbdecoded : *mut u8 , pcbdecoded : *mut u32 , ppsignercert : *mut *mut CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); CryptVerifyMessageSignature(pverifypara, dwsignerindex, ::core::mem::transmute(pbsignedblob.as_ptr()), pbsignedblob.len() as _, ::core::mem::transmute(pbdecoded.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdecoded.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsignercert.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptVerifyMessageSignatureWithKey(pverifypara: *const CRYPT_KEY_VERIFY_MESSAGE_PARA, ppublickeyinfo: ::core::option::Option<*const CERT_PUBLIC_KEY_INFO>, pbsignedblob: &[u8], pbdecoded: ::core::option::Option<*mut u8>, pcbdecoded: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptVerifyMessageSignatureWithKey ( pverifypara : *const CRYPT_KEY_VERIFY_MESSAGE_PARA , ppublickeyinfo : *const CERT_PUBLIC_KEY_INFO , pbsignedblob : *const u8 , cbsignedblob : u32 , pbdecoded : *mut u8 , pcbdecoded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptVerifyMessageSignatureWithKey ( pverifypara : *const CRYPT_KEY_VERIFY_MESSAGE_PARA , ppublickeyinfo : *const CERT_PUBLIC_KEY_INFO , pbsignedblob : *const u8 , cbsignedblob : u32 , pbdecoded : *mut u8 , pcbdecoded : *mut u32 ) -> super::super::Foundation:: BOOL ); CryptVerifyMessageSignatureWithKey(pverifypara, ::core::mem::transmute(ppublickeyinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbsignedblob.as_ptr()), pbsignedblob.len() as _, ::core::mem::transmute(pbdecoded.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdecoded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2768,7 +2768,7 @@ pub unsafe fn CryptVerifySignatureA(hhash: usize, pbsignature: &[u8], hpubke where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptVerifySignatureA ( hhash : usize , pbsignature : *const u8 , dwsiglen : u32 , hpubkey : usize , szdescription : :: windows::core::PCSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptVerifySignatureA ( hhash : usize , pbsignature : *const u8 , dwsiglen : u32 , hpubkey : usize , szdescription : :: windows::core::PCSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptVerifySignatureA(hhash, ::core::mem::transmute(pbsignature.as_ptr()), pbsignature.len() as _, hpubkey, szdescription.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2778,7 +2778,7 @@ pub unsafe fn CryptVerifySignatureW(hhash: usize, pbsignature: &[u8], hpubke where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CryptVerifySignatureW ( hhash : usize , pbsignature : *const u8 , dwsiglen : u32 , hpubkey : usize , szdescription : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CryptVerifySignatureW ( hhash : usize , pbsignature : *const u8 , dwsiglen : u32 , hpubkey : usize , szdescription : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CryptVerifySignatureW(hhash, ::core::mem::transmute(pbsignature.as_ptr()), pbsignature.len() as _, hpubkey, szdescription.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2788,20 +2788,20 @@ pub unsafe fn CryptVerifyTimeStampSignature(pbtscontentinfo: &[u8], pbdata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "crypt32.dll""system" fn CryptVerifyTimeStampSignature ( pbtscontentinfo : *const u8 , cbtscontentinfo : u32 , pbdata : *const u8 , cbdata : u32 , hadditionalstore : HCERTSTORE , pptscontext : *mut *mut CRYPT_TIMESTAMP_CONTEXT , pptssigner : *mut *mut CERT_CONTEXT , phstore : *mut HCERTSTORE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn CryptVerifyTimeStampSignature ( pbtscontentinfo : *const u8 , cbtscontentinfo : u32 , pbdata : *const u8 , cbdata : u32 , hadditionalstore : HCERTSTORE , pptscontext : *mut *mut CRYPT_TIMESTAMP_CONTEXT , pptssigner : *mut *mut CERT_CONTEXT , phstore : *mut HCERTSTORE ) -> super::super::Foundation:: BOOL ); CryptVerifyTimeStampSignature(::core::mem::transmute(pbtscontentinfo.as_ptr()), pbtscontentinfo.len() as _, ::core::mem::transmute(pbdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbdata.as_deref().map_or(0, |slice| slice.len() as _), hadditionalstore.into(), pptscontext, pptssigner, ::core::mem::transmute(phstore.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlAddObject(hsignatureorobject: *const ::core::ffi::c_void, dwflags: u32, rgproperty: ::core::option::Option<&[CRYPT_XML_PROPERTY]>, pencoded: *const CRYPT_XML_BLOB) -> ::windows::core::Result<*mut CRYPT_XML_OBJECT> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlAddObject ( hsignatureorobject : *const ::core::ffi::c_void , dwflags : u32 , rgproperty : *const CRYPT_XML_PROPERTY , cproperty : u32 , pencoded : *const CRYPT_XML_BLOB , ppobject : *mut *mut CRYPT_XML_OBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlAddObject ( hsignatureorobject : *const ::core::ffi::c_void , dwflags : u32 , rgproperty : *const CRYPT_XML_PROPERTY , cproperty : u32 , pencoded : *const CRYPT_XML_BLOB , ppobject : *mut *mut CRYPT_XML_OBJECT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut CRYPT_XML_OBJECT>(); CryptXmlAddObject(hsignatureorobject, dwflags, ::core::mem::transmute(rgproperty.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgproperty.as_deref().map_or(0, |slice| slice.len() as _), pencoded, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlClose(hcryptxml: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlClose ( hcryptxml : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlClose ( hcryptxml : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CryptXmlClose(hcryptxml).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2812,87 +2812,87 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlCreateReference ( hcryptxml : *const ::core::ffi::c_void , dwflags : u32 , wszid : :: windows::core::PCWSTR , wszuri : :: windows::core::PCWSTR , wsztype : :: windows::core::PCWSTR , pdigestmethod : *const CRYPT_XML_ALGORITHM , ctransform : u32 , rgtransform : *const CRYPT_XML_ALGORITHM , phreference : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlCreateReference ( hcryptxml : *const ::core::ffi::c_void , dwflags : u32 , wszid : :: windows::core::PCWSTR , wszuri : :: windows::core::PCWSTR , wsztype : :: windows::core::PCWSTR , pdigestmethod : *const CRYPT_XML_ALGORITHM , ctransform : u32 , rgtransform : *const CRYPT_XML_ALGORITHM , phreference : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CryptXmlCreateReference(hcryptxml, dwflags, wszid.into().abi(), wszuri.into().abi(), wsztype.into().abi(), pdigestmethod, rgtransform.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgtransform.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), phreference).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlDigestReference(hreference: *const ::core::ffi::c_void, dwflags: u32, pdataproviderin: *const CRYPT_XML_DATA_PROVIDER) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlDigestReference ( hreference : *const ::core::ffi::c_void , dwflags : u32 , pdataproviderin : *const CRYPT_XML_DATA_PROVIDER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlDigestReference ( hreference : *const ::core::ffi::c_void , dwflags : u32 , pdataproviderin : *const CRYPT_XML_DATA_PROVIDER ) -> :: windows::core::HRESULT ); CryptXmlDigestReference(hreference, dwflags, pdataproviderin).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlEncode(hcryptxml: *const ::core::ffi::c_void, dwcharset: CRYPT_XML_CHARSET, rgproperty: ::core::option::Option<&[CRYPT_XML_PROPERTY]>, pvcallbackstate: *mut ::core::ffi::c_void, pfnwrite: PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlEncode ( hcryptxml : *const ::core::ffi::c_void , dwcharset : CRYPT_XML_CHARSET , rgproperty : *const CRYPT_XML_PROPERTY , cproperty : u32 , pvcallbackstate : *mut ::core::ffi::c_void , pfnwrite : PFN_CRYPT_XML_WRITE_CALLBACK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlEncode ( hcryptxml : *const ::core::ffi::c_void , dwcharset : CRYPT_XML_CHARSET , rgproperty : *const CRYPT_XML_PROPERTY , cproperty : u32 , pvcallbackstate : *mut ::core::ffi::c_void , pfnwrite : PFN_CRYPT_XML_WRITE_CALLBACK ) -> :: windows::core::HRESULT ); CryptXmlEncode(hcryptxml, dwcharset, ::core::mem::transmute(rgproperty.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgproperty.as_deref().map_or(0, |slice| slice.len() as _), pvcallbackstate, pfnwrite).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CryptXmlEnumAlgorithmInfo(dwgroupid: u32, dwflags: u32, pvarg: ::core::option::Option<*mut ::core::ffi::c_void>, pfnenumalginfo: PFN_CRYPT_XML_ENUM_ALG_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlEnumAlgorithmInfo ( dwgroupid : u32 , dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenumalginfo : PFN_CRYPT_XML_ENUM_ALG_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlEnumAlgorithmInfo ( dwgroupid : u32 , dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenumalginfo : PFN_CRYPT_XML_ENUM_ALG_INFO ) -> :: windows::core::HRESULT ); CryptXmlEnumAlgorithmInfo(dwgroupid, dwflags, ::core::mem::transmute(pvarg.unwrap_or(::std::ptr::null_mut())), pfnenumalginfo).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlFindAlgorithmInfo(dwfindbytype: u32, pvfindby: *const ::core::ffi::c_void, dwgroupid: u32, dwflags: u32) -> *mut CRYPT_XML_ALGORITHM_INFO { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlFindAlgorithmInfo ( dwfindbytype : u32 , pvfindby : *const ::core::ffi::c_void , dwgroupid : u32 , dwflags : u32 ) -> *mut CRYPT_XML_ALGORITHM_INFO ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlFindAlgorithmInfo ( dwfindbytype : u32 , pvfindby : *const ::core::ffi::c_void , dwgroupid : u32 , dwflags : u32 ) -> *mut CRYPT_XML_ALGORITHM_INFO ); CryptXmlFindAlgorithmInfo(dwfindbytype, pvfindby, dwgroupid, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlGetAlgorithmInfo(pxmlalgorithm: *const CRYPT_XML_ALGORITHM, dwflags: CRYPT_XML_FLAGS) -> ::windows::core::Result<*mut CRYPT_XML_ALGORITHM_INFO> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlGetAlgorithmInfo ( pxmlalgorithm : *const CRYPT_XML_ALGORITHM , dwflags : CRYPT_XML_FLAGS , ppalginfo : *mut *mut CRYPT_XML_ALGORITHM_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlGetAlgorithmInfo ( pxmlalgorithm : *const CRYPT_XML_ALGORITHM , dwflags : CRYPT_XML_FLAGS , ppalginfo : *mut *mut CRYPT_XML_ALGORITHM_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut CRYPT_XML_ALGORITHM_INFO>(); CryptXmlGetAlgorithmInfo(pxmlalgorithm, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlGetDocContext(hcryptxml: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut CRYPT_XML_DOC_CTXT> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlGetDocContext ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_DOC_CTXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlGetDocContext ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_DOC_CTXT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut CRYPT_XML_DOC_CTXT>(); CryptXmlGetDocContext(hcryptxml, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlGetReference(hcryptxml: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut CRYPT_XML_REFERENCE> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlGetReference ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_REFERENCE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlGetReference ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_REFERENCE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut CRYPT_XML_REFERENCE>(); CryptXmlGetReference(hcryptxml, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlGetSignature(hcryptxml: *const ::core::ffi::c_void) -> ::windows::core::Result<*mut CRYPT_XML_SIGNATURE> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlGetSignature ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_SIGNATURE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlGetSignature ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_SIGNATURE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut CRYPT_XML_SIGNATURE>(); CryptXmlGetSignature(hcryptxml, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlGetStatus(hcryptxml: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlGetStatus ( hcryptxml : *const ::core::ffi::c_void , pstatus : *mut CRYPT_XML_STATUS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlGetStatus ( hcryptxml : *const ::core::ffi::c_void , pstatus : *mut CRYPT_XML_STATUS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CryptXmlGetStatus(hcryptxml, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlGetTransforms() -> ::windows::core::Result<*mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlGetTransforms ( ppconfig : *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlGetTransforms ( ppconfig : *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG>(); CryptXmlGetTransforms(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlImportPublicKey(dwflags: CRYPT_XML_FLAGS, pkeyvalue: *const CRYPT_XML_KEY_VALUE) -> ::windows::core::Result { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlImportPublicKey ( dwflags : CRYPT_XML_FLAGS , pkeyvalue : *const CRYPT_XML_KEY_VALUE , phkey : *mut BCRYPT_KEY_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlImportPublicKey ( dwflags : CRYPT_XML_FLAGS , pkeyvalue : *const CRYPT_XML_KEY_VALUE , phkey : *mut BCRYPT_KEY_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CryptXmlImportPublicKey(dwflags, pkeyvalue, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlOpenToDecode(pconfig: ::core::option::Option<*const CRYPT_XML_TRANSFORM_CHAIN_CONFIG>, dwflags: CRYPT_XML_FLAGS, rgproperty: ::core::option::Option<&[CRYPT_XML_PROPERTY]>, pencoded: *const CRYPT_XML_BLOB, phcryptxml: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlOpenToDecode ( pconfig : *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG , dwflags : CRYPT_XML_FLAGS , rgproperty : *const CRYPT_XML_PROPERTY , cproperty : u32 , pencoded : *const CRYPT_XML_BLOB , phcryptxml : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlOpenToDecode ( pconfig : *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG , dwflags : CRYPT_XML_FLAGS , rgproperty : *const CRYPT_XML_PROPERTY , cproperty : u32 , pencoded : *const CRYPT_XML_BLOB , phcryptxml : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CryptXmlOpenToDecode(::core::mem::transmute(pconfig.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(rgproperty.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgproperty.as_deref().map_or(0, |slice| slice.len() as _), pencoded, phcryptxml).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2901,13 +2901,13 @@ pub unsafe fn CryptXmlOpenToEncode(pconfig: ::core::option::Option<*const CR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlOpenToEncode ( pconfig : *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG , dwflags : CRYPT_XML_FLAGS , wszid : :: windows::core::PCWSTR , rgproperty : *const CRYPT_XML_PROPERTY , cproperty : u32 , pencoded : *const CRYPT_XML_BLOB , phsignature : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlOpenToEncode ( pconfig : *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG , dwflags : CRYPT_XML_FLAGS , wszid : :: windows::core::PCWSTR , rgproperty : *const CRYPT_XML_PROPERTY , cproperty : u32 , pencoded : *const CRYPT_XML_BLOB , phsignature : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CryptXmlOpenToEncode(::core::mem::transmute(pconfig.unwrap_or(::std::ptr::null())), dwflags, wszid.into().abi(), ::core::mem::transmute(rgproperty.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgproperty.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pencoded.unwrap_or(::std::ptr::null())), phsignature).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn CryptXmlSetHMACSecret(hsignature: *const ::core::ffi::c_void, pbsecret: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlSetHMACSecret ( hsignature : *const ::core::ffi::c_void , pbsecret : *const u8 , cbsecret : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlSetHMACSecret ( hsignature : *const ::core::ffi::c_void , pbsecret : *const u8 , cbsecret : u32 ) -> :: windows::core::HRESULT ); CryptXmlSetHMACSecret(hsignature, ::core::mem::transmute(pbsecret.as_ptr()), pbsecret.len() as _).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2916,7 +2916,7 @@ pub unsafe fn CryptXmlSign(hsignature: *const ::core::ffi::c_void, hkey: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlSign ( hsignature : *const ::core::ffi::c_void , hkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : CERT_KEY_SPEC , dwflags : CRYPT_XML_FLAGS , dwkeyinfospec : CRYPT_XML_KEYINFO_SPEC , pvkeyinfospec : *const ::core::ffi::c_void , psignaturemethod : *const CRYPT_XML_ALGORITHM , pcanonicalization : *const CRYPT_XML_ALGORITHM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlSign ( hsignature : *const ::core::ffi::c_void , hkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE , dwkeyspec : CERT_KEY_SPEC , dwflags : CRYPT_XML_FLAGS , dwkeyinfospec : CRYPT_XML_KEYINFO_SPEC , pvkeyinfospec : *const ::core::ffi::c_void , psignaturemethod : *const CRYPT_XML_ALGORITHM , pcanonicalization : *const CRYPT_XML_ALGORITHM ) -> :: windows::core::HRESULT ); CryptXmlSign(hsignature, hkey.into(), dwkeyspec, dwflags, dwkeyinfospec, ::core::mem::transmute(pvkeyinfospec.unwrap_or(::std::ptr::null())), psignaturemethod, pcanonicalization).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2925,7 +2925,7 @@ pub unsafe fn CryptXmlVerifySignature(hsignature: *const ::core::ffi::c_void where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cryptxml.dll""system" fn CryptXmlVerifySignature ( hsignature : *const ::core::ffi::c_void , hkey : BCRYPT_KEY_HANDLE , dwflags : CRYPT_XML_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cryptxml.dll""system" fn CryptXmlVerifySignature ( hsignature : *const ::core::ffi::c_void , hkey : BCRYPT_KEY_HANDLE , dwflags : CRYPT_XML_FLAGS ) -> :: windows::core::HRESULT ); CryptXmlVerifySignature(hsignature, hkey.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2935,7 +2935,7 @@ pub unsafe fn Decrypt(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, foaep: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "infocardapi.dll""system" fn Decrypt ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , foaep : super::super::Foundation:: BOOL , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn Decrypt ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , foaep : super::super::Foundation:: BOOL , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); Decrypt(hcrypto, foaep.into(), pindata.len() as _, ::core::mem::transmute(pindata.as_ptr()), pcboutdata, ppoutdata).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2945,7 +2945,7 @@ pub unsafe fn Encrypt(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, foaep: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "infocardapi.dll""system" fn Encrypt ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , foaep : super::super::Foundation:: BOOL , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn Encrypt ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , foaep : super::super::Foundation:: BOOL , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); Encrypt(hcrypto, foaep.into(), pindata.len() as _, ::core::mem::transmute(pindata.as_ptr()), pcboutdata, ppoutdata).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2954,14 +2954,14 @@ pub unsafe fn FindCertsByIssuer(pcertchains: ::core::option::Option<*mut CER where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn FindCertsByIssuer ( pcertchains : *mut CERT_CHAIN , pcbcertchains : *mut u32 , pccertchains : *mut u32 , pbencodedissuername : *const u8 , cbencodedissuername : u32 , pwszpurpose : :: windows::core::PCWSTR , dwkeyspec : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wintrust.dll""system" fn FindCertsByIssuer ( pcertchains : *mut CERT_CHAIN , pcbcertchains : *mut u32 , pccertchains : *mut u32 , pbencodedissuername : *const u8 , cbencodedissuername : u32 , pwszpurpose : :: windows::core::PCWSTR , dwkeyspec : u32 ) -> :: windows::core::HRESULT ); FindCertsByIssuer(::core::mem::transmute(pcertchains.unwrap_or(::std::ptr::null_mut())), pcbcertchains, pccertchains, ::core::mem::transmute(pbencodedissuername.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbencodedissuername.as_deref().map_or(0, |slice| slice.len() as _), pwszpurpose.into().abi(), dwkeyspec).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeToken(pallocmemory: *const GENERIC_XML_TOKEN) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "infocardapi.dll""system" fn FreeToken ( pallocmemory : *const GENERIC_XML_TOKEN ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn FreeToken ( pallocmemory : *const GENERIC_XML_TOKEN ) -> super::super::Foundation:: BOOL ); FreeToken(pallocmemory) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2970,26 +2970,26 @@ pub unsafe fn GenerateDerivedKey(hcrypto: *const INFORMATIONCARD_CRYPTO_HAND where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "infocardapi.dll""system" fn GenerateDerivedKey ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cblabel : u32 , plabel : *const u8 , cbnonce : u32 , pnonce : *const u8 , derivedkeylength : u32 , offset : u32 , algid : :: windows::core::PCWSTR , pcbkey : *mut u32 , ppkey : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn GenerateDerivedKey ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cblabel : u32 , plabel : *const u8 , cbnonce : u32 , pnonce : *const u8 , derivedkeylength : u32 , offset : u32 , algid : :: windows::core::PCWSTR , pcbkey : *mut u32 , ppkey : *mut *mut u8 ) -> :: windows::core::HRESULT ); GenerateDerivedKey(hcrypto, plabel.len() as _, ::core::mem::transmute(plabel.as_ptr()), pnonce.len() as _, ::core::mem::transmute(pnonce.as_ptr()), derivedkeylength, offset, algid.into().abi(), pcbkey, ppkey).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn GetBrowserToken(dwparamtype: u32, pparam: *const ::core::ffi::c_void, pcbtoken: ::core::option::Option<*mut u32>, pptoken: ::core::option::Option<*mut *mut u8>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "infocardapi.dll""system" fn GetBrowserToken ( dwparamtype : u32 , pparam : *const ::core::ffi::c_void , pcbtoken : *mut u32 , pptoken : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn GetBrowserToken ( dwparamtype : u32 , pparam : *const ::core::ffi::c_void , pcbtoken : *mut u32 , pptoken : *mut *mut u8 ) -> :: windows::core::HRESULT ); GetBrowserToken(dwparamtype, pparam, ::core::mem::transmute(pcbtoken.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pptoken.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn GetCryptoTransform(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, mode: u32, padding: PaddingMode, feedbacksize: u32, direction: Direction, piv: &[u8]) -> ::windows::core::Result<*mut INFORMATIONCARD_CRYPTO_HANDLE> { - ::windows::core::link ! ( "infocardapi.dll""system" fn GetCryptoTransform ( hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , mode : u32 , padding : PaddingMode , feedbacksize : u32 , direction : Direction , cbiv : u32 , piv : *const u8 , pphtransform : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn GetCryptoTransform ( hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , mode : u32 , padding : PaddingMode , feedbacksize : u32 , direction : Direction , cbiv : u32 , piv : *const u8 , pphtransform : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut INFORMATIONCARD_CRYPTO_HANDLE>(); GetCryptoTransform(hsymmetriccrypto, mode, padding, feedbacksize, direction, piv.len() as _, ::core::mem::transmute(piv.as_ptr()), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn GetKeyedHash(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows::core::Result<*mut INFORMATIONCARD_CRYPTO_HANDLE> { - ::windows::core::link ! ( "infocardapi.dll""system" fn GetKeyedHash ( hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , pphhash : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn GetKeyedHash ( hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , pphhash : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut INFORMATIONCARD_CRYPTO_HANDLE>(); GetKeyedHash(hsymmetriccrypto, &mut result__).from_abi(result__) } @@ -2997,19 +2997,19 @@ pub unsafe fn GetKeyedHash(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDL #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetToken(ppolicychain: &[POLICY_ELEMENT], securitytoken: *mut *mut GENERIC_XML_TOKEN, phprooftokencrypto: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "infocardapi.dll""system" fn GetToken ( cpolicychain : u32 , ppolicychain : *const POLICY_ELEMENT , securitytoken : *mut *mut GENERIC_XML_TOKEN , phprooftokencrypto : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn GetToken ( cpolicychain : u32 , ppolicychain : *const POLICY_ELEMENT , securitytoken : *mut *mut GENERIC_XML_TOKEN , phprooftokencrypto : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows::core::HRESULT ); GetToken(ppolicychain.len() as _, ::core::mem::transmute(ppolicychain.as_ptr()), securitytoken, phprooftokencrypto).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn HashCore(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, pindata: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "infocardapi.dll""system" fn HashCore ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn HashCore ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 ) -> :: windows::core::HRESULT ); HashCore(hcrypto, pindata.len() as _, ::core::mem::transmute(pindata.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn HashFinal(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, pindata: &[u8], pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "infocardapi.dll""system" fn HashFinal ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn HashFinal ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); HashFinal(hcrypto, pindata.len() as _, ::core::mem::transmute(pindata.as_ptr()), pcboutdata, ppoutdata).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3018,13 +3018,13 @@ pub unsafe fn ImportInformationCard(filename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "infocardapi.dll""system" fn ImportInformationCard ( filename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn ImportInformationCard ( filename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); ImportInformationCard(filename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn ManageCardSpace() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "infocardapi.dll""system" fn ManageCardSpace ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn ManageCardSpace ( ) -> :: windows::core::HRESULT ); ManageCardSpace().ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3033,7 +3033,7 @@ pub unsafe fn NCryptCloseProtectionDescriptor(hdescriptor: P0) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptCloseProtectionDescriptor ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptCloseProtectionDescriptor ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE ) -> :: windows::core::HRESULT ); NCryptCloseProtectionDescriptor(hdescriptor.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3043,7 +3043,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptCreateClaim ( hsubjectkey : NCRYPT_KEY_HANDLE , hauthoritykey : NCRYPT_KEY_HANDLE , dwclaimtype : u32 , pparameterlist : *const BCryptBufferDesc , pbclaimblob : *mut u8 , cbclaimblob : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptCreateClaim ( hsubjectkey : NCRYPT_KEY_HANDLE , hauthoritykey : NCRYPT_KEY_HANDLE , dwclaimtype : u32 , pparameterlist : *const BCryptBufferDesc , pbclaimblob : *mut u8 , cbclaimblob : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptCreateClaim(hsubjectkey.into(), hauthoritykey.into(), dwclaimtype, ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbclaimblob.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbclaimblob.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3054,7 +3054,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptCreatePersistedKey ( hprovider : NCRYPT_PROV_HANDLE , phkey : *mut NCRYPT_KEY_HANDLE , pszalgid : :: windows::core::PCWSTR , pszkeyname : :: windows::core::PCWSTR , dwlegacykeyspec : CERT_KEY_SPEC , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptCreatePersistedKey ( hprovider : NCRYPT_PROV_HANDLE , phkey : *mut NCRYPT_KEY_HANDLE , pszalgid : :: windows::core::PCWSTR , pszkeyname : :: windows::core::PCWSTR , dwlegacykeyspec : CERT_KEY_SPEC , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptCreatePersistedKey(hprovider.into(), phkey, pszalgid.into().abi(), pszkeyname.into().abi(), dwlegacykeyspec, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3063,7 +3063,7 @@ pub unsafe fn NCryptCreateProtectionDescriptor(pwszdescriptorstring: P0, dwf where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptCreateProtectionDescriptor ( pwszdescriptorstring : :: windows::core::PCWSTR , dwflags : u32 , phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptCreateProtectionDescriptor ( pwszdescriptorstring : :: windows::core::PCWSTR , dwflags : u32 , phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); NCryptCreateProtectionDescriptor(pwszdescriptorstring.into().abi(), dwflags, &mut result__).from_abi(result__) } @@ -3073,7 +3073,7 @@ pub unsafe fn NCryptDecrypt(hkey: P0, pbinput: ::core::option::Option<&[u8]> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptDecrypt ( hkey : NCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , ppaddinginfo : *const ::core::ffi::c_void , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptDecrypt ( hkey : NCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , ppaddinginfo : *const ::core::ffi::c_void , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptDecrypt(hkey.into(), ::core::mem::transmute(pbinput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbinput.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3082,7 +3082,7 @@ pub unsafe fn NCryptDeleteKey(hkey: P0, dwflags: u32) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptDeleteKey ( hkey : NCRYPT_KEY_HANDLE , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptDeleteKey ( hkey : NCRYPT_KEY_HANDLE , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptDeleteKey(hkey.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3092,7 +3092,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptDeriveKey ( hsharedsecret : NCRYPT_SECRET_HANDLE , pwszkdf : :: windows::core::PCWSTR , pparameterlist : *const BCryptBufferDesc , pbderivedkey : *mut u8 , cbderivedkey : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptDeriveKey ( hsharedsecret : NCRYPT_SECRET_HANDLE , pwszkdf : :: windows::core::PCWSTR , pparameterlist : *const BCryptBufferDesc , pbderivedkey : *mut u8 , cbderivedkey : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptDeriveKey(hsharedsecret.into(), pwszkdf.into().abi(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbderivedkey.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbderivedkey.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3101,7 +3101,7 @@ pub unsafe fn NCryptEncrypt(hkey: P0, pbinput: ::core::option::Option<&[u8]> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptEncrypt ( hkey : NCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , ppaddinginfo : *const ::core::ffi::c_void , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptEncrypt ( hkey : NCRYPT_KEY_HANDLE , pbinput : *const u8 , cbinput : u32 , ppaddinginfo : *const ::core::ffi::c_void , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptEncrypt(hkey.into(), ::core::mem::transmute(pbinput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbinput.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3110,7 +3110,7 @@ pub unsafe fn NCryptEnumAlgorithms(hprovider: P0, dwalgoperations: NCRYPT_OP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptEnumAlgorithms ( hprovider : NCRYPT_PROV_HANDLE , dwalgoperations : NCRYPT_OPERATION , pdwalgcount : *mut u32 , ppalglist : *mut *mut NCryptAlgorithmName , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptEnumAlgorithms ( hprovider : NCRYPT_PROV_HANDLE , dwalgoperations : NCRYPT_OPERATION , pdwalgcount : *mut u32 , ppalglist : *mut *mut NCryptAlgorithmName , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptEnumAlgorithms(hprovider.into(), dwalgoperations, pdwalgcount, ppalglist, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3120,13 +3120,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptEnumKeys ( hprovider : NCRYPT_PROV_HANDLE , pszscope : :: windows::core::PCWSTR , ppkeyname : *mut *mut NCryptKeyName , ppenumstate : *mut *mut ::core::ffi::c_void , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptEnumKeys ( hprovider : NCRYPT_PROV_HANDLE , pszscope : :: windows::core::PCWSTR , ppkeyname : *mut *mut NCryptKeyName , ppenumstate : *mut *mut ::core::ffi::c_void , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptEnumKeys(hprovider.into(), pszscope.into().abi(), ppkeyname, ppenumstate, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn NCryptEnumStorageProviders(pdwprovidercount: *mut u32, ppproviderlist: *mut *mut NCryptProviderName, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptEnumStorageProviders ( pdwprovidercount : *mut u32 , ppproviderlist : *mut *mut NCryptProviderName , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptEnumStorageProviders ( pdwprovidercount : *mut u32 , ppproviderlist : *mut *mut NCryptProviderName , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptEnumStorageProviders(pdwprovidercount, ppproviderlist, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3137,7 +3137,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptExportKey ( hkey : NCRYPT_KEY_HANDLE , hexportkey : NCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , pparameterlist : *const BCryptBufferDesc , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptExportKey ( hkey : NCRYPT_KEY_HANDLE , hexportkey : NCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , pparameterlist : *const BCryptBufferDesc , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptExportKey(hkey.into(), hexportkey.into(), pszblobtype.into().abi(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3146,13 +3146,13 @@ pub unsafe fn NCryptFinalizeKey(hkey: P0, dwflags: NCRYPT_FLAGS) -> ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptFinalizeKey ( hkey : NCRYPT_KEY_HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptFinalizeKey ( hkey : NCRYPT_KEY_HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptFinalizeKey(hkey.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn NCryptFreeBuffer(pvinput: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptFreeBuffer ( pvinput : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptFreeBuffer ( pvinput : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NCryptFreeBuffer(pvinput).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3161,7 +3161,7 @@ pub unsafe fn NCryptFreeObject(hobject: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptFreeObject ( hobject : NCRYPT_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptFreeObject ( hobject : NCRYPT_HANDLE ) -> :: windows::core::HRESULT ); NCryptFreeObject(hobject.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3171,7 +3171,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptGetProperty ( hobject : NCRYPT_HANDLE , pszproperty : :: windows::core::PCWSTR , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : super:: OBJECT_SECURITY_INFORMATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptGetProperty ( hobject : NCRYPT_HANDLE , pszproperty : :: windows::core::PCWSTR , pboutput : *mut u8 , cboutput : u32 , pcbresult : *mut u32 , dwflags : super:: OBJECT_SECURITY_INFORMATION ) -> :: windows::core::HRESULT ); NCryptGetProperty(hobject.into(), pszproperty.into().abi(), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3180,7 +3180,7 @@ pub unsafe fn NCryptGetProtectionDescriptorInfo(hdescriptor: P0, pmempara: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptGetProtectionDescriptorInfo ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE , pmempara : *const NCRYPT_ALLOC_PARA , dwinfotype : u32 , ppvinfo : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptGetProtectionDescriptorInfo ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE , pmempara : *const NCRYPT_ALLOC_PARA , dwinfotype : u32 , ppvinfo : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); NCryptGetProtectionDescriptorInfo(hdescriptor.into(), ::core::mem::transmute(pmempara.unwrap_or(::std::ptr::null())), dwinfotype, ppvinfo).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3191,7 +3191,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptImportKey ( hprovider : NCRYPT_PROV_HANDLE , himportkey : NCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , pparameterlist : *const BCryptBufferDesc , phkey : *mut NCRYPT_KEY_HANDLE , pbdata : *const u8 , cbdata : u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptImportKey ( hprovider : NCRYPT_PROV_HANDLE , himportkey : NCRYPT_KEY_HANDLE , pszblobtype : :: windows::core::PCWSTR , pparameterlist : *const BCryptBufferDesc , phkey : *mut NCRYPT_KEY_HANDLE , pbdata : *const u8 , cbdata : u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptImportKey(hprovider.into(), himportkey.into(), pszblobtype.into().abi(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), phkey, ::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3201,7 +3201,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptIsAlgSupported ( hprovider : NCRYPT_PROV_HANDLE , pszalgid : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptIsAlgSupported ( hprovider : NCRYPT_PROV_HANDLE , pszalgid : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptIsAlgSupported(hprovider.into(), pszalgid.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3211,7 +3211,7 @@ pub unsafe fn NCryptIsKeyHandle(hkey: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptIsKeyHandle ( hkey : NCRYPT_KEY_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptIsKeyHandle ( hkey : NCRYPT_KEY_HANDLE ) -> super::super::Foundation:: BOOL ); NCryptIsKeyHandle(hkey.into()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3220,7 +3220,7 @@ pub unsafe fn NCryptKeyDerivation(hkey: P0, pparameterlist: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptKeyDerivation ( hkey : NCRYPT_KEY_HANDLE , pparameterlist : *const BCryptBufferDesc , pbderivedkey : *mut u8 , cbderivedkey : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptKeyDerivation ( hkey : NCRYPT_KEY_HANDLE , pparameterlist : *const BCryptBufferDesc , pbderivedkey : *mut u8 , cbderivedkey : u32 , pcbresult : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptKeyDerivation(hkey.into(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3230,7 +3230,7 @@ pub unsafe fn NCryptNotifyChangeKey(hprovider: P0, phevent: *mut super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptNotifyChangeKey ( hprovider : NCRYPT_PROV_HANDLE , phevent : *mut super::super::Foundation:: HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptNotifyChangeKey ( hprovider : NCRYPT_PROV_HANDLE , phevent : *mut super::super::Foundation:: HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptNotifyChangeKey(hprovider.into(), phevent, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3240,7 +3240,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptOpenKey ( hprovider : NCRYPT_PROV_HANDLE , phkey : *mut NCRYPT_KEY_HANDLE , pszkeyname : :: windows::core::PCWSTR , dwlegacykeyspec : CERT_KEY_SPEC , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptOpenKey ( hprovider : NCRYPT_PROV_HANDLE , phkey : *mut NCRYPT_KEY_HANDLE , pszkeyname : :: windows::core::PCWSTR , dwlegacykeyspec : CERT_KEY_SPEC , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptOpenKey(hprovider.into(), phkey, pszkeyname.into().abi(), dwlegacykeyspec, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3249,7 +3249,7 @@ pub unsafe fn NCryptOpenStorageProvider(phprovider: *mut NCRYPT_PROV_HANDLE, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptOpenStorageProvider ( phprovider : *mut NCRYPT_PROV_HANDLE , pszprovidername : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptOpenStorageProvider ( phprovider : *mut NCRYPT_PROV_HANDLE , pszprovidername : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptOpenStorageProvider(phprovider, pszprovidername.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3260,7 +3260,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptProtectSecret ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE , dwflags : u32 , pbdata : *const u8 , cbdata : u32 , pmempara : *const NCRYPT_ALLOC_PARA , hwnd : super::super::Foundation:: HWND , ppbprotectedblob : *mut *mut u8 , pcbprotectedblob : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptProtectSecret ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE , dwflags : u32 , pbdata : *const u8 , cbdata : u32 , pmempara : *const NCRYPT_ALLOC_PARA , hwnd : super::super::Foundation:: HWND , ppbprotectedblob : *mut *mut u8 , pcbprotectedblob : *mut u32 ) -> :: windows::core::HRESULT ); NCryptProtectSecret(hdescriptor.into(), dwflags, ::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, ::core::mem::transmute(pmempara.unwrap_or(::std::ptr::null())), hwnd.into(), ppbprotectedblob, pcbprotectedblob).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3269,7 +3269,7 @@ pub unsafe fn NCryptQueryProtectionDescriptorName(pwszname: P0, pwszdescript where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptQueryProtectionDescriptorName ( pwszname : :: windows::core::PCWSTR , pwszdescriptorstring : :: windows::core::PWSTR , pcdescriptorstring : *mut usize , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptQueryProtectionDescriptorName ( pwszname : :: windows::core::PCWSTR , pwszdescriptorstring : :: windows::core::PWSTR , pcdescriptorstring : *mut usize , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptQueryProtectionDescriptorName(pwszname.into().abi(), ::core::mem::transmute(pwszdescriptorstring), pcdescriptorstring, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3279,7 +3279,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptRegisterProtectionDescriptorName ( pwszname : :: windows::core::PCWSTR , pwszdescriptorstring : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptRegisterProtectionDescriptorName ( pwszname : :: windows::core::PCWSTR , pwszdescriptorstring : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptRegisterProtectionDescriptorName(pwszname.into().abi(), pwszdescriptorstring.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3289,7 +3289,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptSecretAgreement ( hprivkey : NCRYPT_KEY_HANDLE , hpubkey : NCRYPT_KEY_HANDLE , phagreedsecret : *mut NCRYPT_SECRET_HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptSecretAgreement ( hprivkey : NCRYPT_KEY_HANDLE , hpubkey : NCRYPT_KEY_HANDLE , phagreedsecret : *mut NCRYPT_SECRET_HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptSecretAgreement(hprivkey.into(), hpubkey.into(), phagreedsecret, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3299,7 +3299,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptSetProperty ( hobject : NCRYPT_HANDLE , pszproperty : :: windows::core::PCWSTR , pbinput : *const u8 , cbinput : u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptSetProperty ( hobject : NCRYPT_HANDLE , pszproperty : :: windows::core::PCWSTR , pbinput : *const u8 , cbinput : u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptSetProperty(hobject.into(), pszproperty.into().abi(), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3308,7 +3308,7 @@ pub unsafe fn NCryptSignHash(hkey: P0, ppaddinginfo: ::core::option::Option< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptSignHash ( hkey : NCRYPT_KEY_HANDLE , ppaddinginfo : *const ::core::ffi::c_void , pbhashvalue : *const u8 , cbhashvalue : u32 , pbsignature : *mut u8 , cbsignature : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptSignHash ( hkey : NCRYPT_KEY_HANDLE , ppaddinginfo : *const ::core::ffi::c_void , pbhashvalue : *const u8 , cbhashvalue : u32 , pbsignature : *mut u8 , cbsignature : u32 , pcbresult : *mut u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptSignHash(hkey.into(), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbhashvalue.as_ptr()), pbhashvalue.len() as _, ::core::mem::transmute(pbsignature.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsignature.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3317,7 +3317,7 @@ pub unsafe fn NCryptStreamClose(hstream: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptStreamClose ( hstream : super:: NCRYPT_STREAM_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptStreamClose ( hstream : super:: NCRYPT_STREAM_HANDLE ) -> :: windows::core::HRESULT ); NCryptStreamClose(hstream.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3328,7 +3328,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptStreamOpenToProtect ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE , dwflags : u32 , hwnd : super::super::Foundation:: HWND , pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO , phstream : *mut super:: NCRYPT_STREAM_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptStreamOpenToProtect ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE , dwflags : u32 , hwnd : super::super::Foundation:: HWND , pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO , phstream : *mut super:: NCRYPT_STREAM_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); NCryptStreamOpenToProtect(hdescriptor.into(), dwflags, hwnd.into(), pstreaminfo, &mut result__).from_abi(result__) } @@ -3339,7 +3339,7 @@ pub unsafe fn NCryptStreamOpenToUnprotect(pstreaminfo: *const NCRYPT_PROTECT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptStreamOpenToUnprotect ( pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO , dwflags : u32 , hwnd : super::super::Foundation:: HWND , phstream : *mut super:: NCRYPT_STREAM_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptStreamOpenToUnprotect ( pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO , dwflags : u32 , hwnd : super::super::Foundation:: HWND , phstream : *mut super:: NCRYPT_STREAM_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); NCryptStreamOpenToUnprotect(pstreaminfo, dwflags, hwnd.into(), &mut result__).from_abi(result__) } @@ -3350,7 +3350,7 @@ pub unsafe fn NCryptStreamOpenToUnprotectEx(pstreaminfo: *const NCRYPT_PROTE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptStreamOpenToUnprotectEx ( pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO_EX , dwflags : u32 , hwnd : super::super::Foundation:: HWND , phstream : *mut super:: NCRYPT_STREAM_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptStreamOpenToUnprotectEx ( pstreaminfo : *const NCRYPT_PROTECT_STREAM_INFO_EX , dwflags : u32 , hwnd : super::super::Foundation:: HWND , phstream : *mut super:: NCRYPT_STREAM_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); NCryptStreamOpenToUnprotectEx(pstreaminfo, dwflags, hwnd.into(), &mut result__).from_abi(result__) } @@ -3362,13 +3362,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptStreamUpdate ( hstream : super:: NCRYPT_STREAM_HANDLE , pbdata : *const u8 , cbdata : usize , ffinal : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptStreamUpdate ( hstream : super:: NCRYPT_STREAM_HANDLE , pbdata : *const u8 , cbdata : usize , ffinal : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); NCryptStreamUpdate(hstream.into(), ::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, ffinal.into()).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn NCryptTranslateHandle(phprovider: ::core::option::Option<*mut NCRYPT_PROV_HANDLE>, phkey: *mut NCRYPT_KEY_HANDLE, hlegacyprov: usize, hlegacykey: usize, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptTranslateHandle ( phprovider : *mut NCRYPT_PROV_HANDLE , phkey : *mut NCRYPT_KEY_HANDLE , hlegacyprov : usize , hlegacykey : usize , dwlegacykeyspec : CERT_KEY_SPEC , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptTranslateHandle ( phprovider : *mut NCRYPT_PROV_HANDLE , phkey : *mut NCRYPT_KEY_HANDLE , hlegacyprov : usize , hlegacykey : usize , dwlegacykeyspec : CERT_KEY_SPEC , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptTranslateHandle(::core::mem::transmute(phprovider.unwrap_or(::std::ptr::null_mut())), phkey, hlegacyprov, hlegacykey, dwlegacykeyspec, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3378,7 +3378,7 @@ pub unsafe fn NCryptUnprotectSecret(phdescriptor: ::core::option::Option<*mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptUnprotectSecret ( phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE , dwflags : NCRYPT_FLAGS , pbprotectedblob : *const u8 , cbprotectedblob : u32 , pmempara : *const NCRYPT_ALLOC_PARA , hwnd : super::super::Foundation:: HWND , ppbdata : *mut *mut u8 , pcbdata : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptUnprotectSecret ( phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE , dwflags : NCRYPT_FLAGS , pbprotectedblob : *const u8 , cbprotectedblob : u32 , pmempara : *const NCRYPT_ALLOC_PARA , hwnd : super::super::Foundation:: HWND , ppbdata : *mut *mut u8 , pcbdata : *mut u32 ) -> :: windows::core::HRESULT ); NCryptUnprotectSecret(::core::mem::transmute(phdescriptor.unwrap_or(::std::ptr::null_mut())), dwflags, ::core::mem::transmute(pbprotectedblob.as_ptr()), pbprotectedblob.len() as _, ::core::mem::transmute(pmempara.unwrap_or(::std::ptr::null())), hwnd.into(), ppbdata, pcbdata).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3388,7 +3388,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptVerifyClaim ( hsubjectkey : NCRYPT_KEY_HANDLE , hauthoritykey : NCRYPT_KEY_HANDLE , dwclaimtype : u32 , pparameterlist : *const BCryptBufferDesc , pbclaimblob : *const u8 , cbclaimblob : u32 , poutput : *mut BCryptBufferDesc , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptVerifyClaim ( hsubjectkey : NCRYPT_KEY_HANDLE , hauthoritykey : NCRYPT_KEY_HANDLE , dwclaimtype : u32 , pparameterlist : *const BCryptBufferDesc , pbclaimblob : *const u8 , cbclaimblob : u32 , poutput : *mut BCryptBufferDesc , dwflags : u32 ) -> :: windows::core::HRESULT ); NCryptVerifyClaim(hsubjectkey.into(), hauthoritykey.into(), dwclaimtype, ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbclaimblob.as_ptr()), pbclaimblob.len() as _, poutput, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3397,7 +3397,7 @@ pub unsafe fn NCryptVerifySignature(hkey: P0, ppaddinginfo: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ncrypt.dll""system" fn NCryptVerifySignature ( hkey : NCRYPT_KEY_HANDLE , ppaddinginfo : *const ::core::ffi::c_void , pbhashvalue : *const u8 , cbhashvalue : u32 , pbsignature : *const u8 , cbsignature : u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ncrypt.dll""system" fn NCryptVerifySignature ( hkey : NCRYPT_KEY_HANDLE , ppaddinginfo : *const ::core::ffi::c_void , pbhashvalue : *const u8 , cbhashvalue : u32 , pbsignature : *const u8 , cbsignature : u32 , dwflags : NCRYPT_FLAGS ) -> :: windows::core::HRESULT ); NCryptVerifySignature(hkey.into(), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbhashvalue.as_ptr()), pbhashvalue.len() as _, ::core::mem::transmute(pbsignature.as_ptr()), pbsignature.len() as _, dwflags).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3408,7 +3408,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn PFXExportCertStore ( hstore : HCERTSTORE , ppfx : *mut CRYPT_INTEGER_BLOB , szpassword : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn PFXExportCertStore ( hstore : HCERTSTORE , ppfx : *mut CRYPT_INTEGER_BLOB , szpassword : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); PFXExportCertStore(hstore.into(), ppfx, szpassword.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3419,7 +3419,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn PFXExportCertStoreEx ( hstore : HCERTSTORE , ppfx : *mut CRYPT_INTEGER_BLOB , szpassword : :: windows::core::PCWSTR , pvpara : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn PFXExportCertStoreEx ( hstore : HCERTSTORE , ppfx : *mut CRYPT_INTEGER_BLOB , szpassword : :: windows::core::PCWSTR , pvpara : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); PFXExportCertStoreEx(hstore.into(), ppfx, szpassword.into().abi(), pvpara, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3428,15 +3428,15 @@ pub unsafe fn PFXImportCertStore(ppfx: *const CRYPT_INTEGER_BLOB, szpassword where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn PFXImportCertStore ( ppfx : *const CRYPT_INTEGER_BLOB , szpassword : :: windows::core::PCWSTR , dwflags : CRYPT_KEY_FLAGS ) -> HCERTSTORE ); + ::windows::imp::link ! ( "crypt32.dll""system" fn PFXImportCertStore ( ppfx : *const CRYPT_INTEGER_BLOB , szpassword : :: windows::core::PCWSTR , dwflags : CRYPT_KEY_FLAGS ) -> HCERTSTORE ); let result__ = PFXImportCertStore(ppfx, szpassword.into().abi(), dwflags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PFXIsPFXBlob(ppfx: *const CRYPT_INTEGER_BLOB) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "crypt32.dll""system" fn PFXIsPFXBlob ( ppfx : *const CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn PFXIsPFXBlob ( ppfx : *const CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); PFXIsPFXBlob(ppfx) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3446,7 +3446,7 @@ pub unsafe fn PFXVerifyPassword(ppfx: *const CRYPT_INTEGER_BLOB, szpassword: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "crypt32.dll""system" fn PFXVerifyPassword ( ppfx : *const CRYPT_INTEGER_BLOB , szpassword : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "crypt32.dll""system" fn PFXVerifyPassword ( ppfx : *const CRYPT_INTEGER_BLOB , szpassword : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); PFXVerifyPassword(ppfx, szpassword.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3455,19 +3455,19 @@ pub unsafe fn SignHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, phash: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "infocardapi.dll""system" fn SignHash ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbhash : u32 , phash : *const u8 , hashalgoid : :: windows::core::PCWSTR , pcbsig : *mut u32 , ppsig : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn SignHash ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbhash : u32 , phash : *const u8 , hashalgoid : :: windows::core::PCWSTR , pcbsig : *mut u32 , ppsig : *mut *mut u8 ) -> :: windows::core::HRESULT ); SignHash(hcrypto, phash.len() as _, ::core::mem::transmute(phash.as_ptr()), hashalgoid.into().abi(), pcbsig, ppsig).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn TransformBlock(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, pindata: &[u8], pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "infocardapi.dll""system" fn TransformBlock ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn TransformBlock ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); TransformBlock(hcrypto, pindata.len() as _, ::core::mem::transmute(pindata.as_ptr()), pcboutdata, ppoutdata).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] pub unsafe fn TransformFinalBlock(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, pindata: &[u8], pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "infocardapi.dll""system" fn TransformFinalBlock ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn TransformFinalBlock ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows::core::HRESULT ); TransformFinalBlock(hcrypto, pindata.len() as _, ::core::mem::transmute(pindata.as_ptr()), pcboutdata, ppoutdata).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3477,7 +3477,7 @@ pub unsafe fn VerifyHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, phas where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "infocardapi.dll""system" fn VerifyHash ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbhash : u32 , phash : *const u8 , hashalgoid : :: windows::core::PCWSTR , cbsig : u32 , psig : *const u8 , pfverified : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "infocardapi.dll""system" fn VerifyHash ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbhash : u32 , phash : *const u8 , hashalgoid : :: windows::core::PCWSTR , cbsig : u32 , psig : *const u8 , pfverified : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VerifyHash(hcrypto, phash.len() as _, ::core::mem::transmute(phash.as_ptr()), hashalgoid.into().abi(), psig.len() as _, ::core::mem::transmute(psig.as_ptr()), &mut result__).from_abi(result__) } @@ -3606,7 +3606,7 @@ impl ICertSrvSetup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertSrvSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertSrvSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertSrvSetup { fn eq(&self, other: &Self) -> bool { @@ -3764,7 +3764,7 @@ impl ICertSrvSetupKeyInformation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertSrvSetupKeyInformation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertSrvSetupKeyInformation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertSrvSetupKeyInformation { fn eq(&self, other: &Self) -> bool { @@ -3853,7 +3853,7 @@ impl ICertSrvSetupKeyInformationCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertSrvSetupKeyInformationCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertSrvSetupKeyInformationCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertSrvSetupKeyInformationCollection { fn eq(&self, other: &Self) -> bool { @@ -3932,7 +3932,7 @@ impl ICertificateEnrollmentPolicyServerSetup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertificateEnrollmentPolicyServerSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertificateEnrollmentPolicyServerSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertificateEnrollmentPolicyServerSetup { fn eq(&self, other: &Self) -> bool { @@ -4019,7 +4019,7 @@ impl ICertificateEnrollmentServerSetup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICertificateEnrollmentServerSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICertificateEnrollmentServerSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICertificateEnrollmentServerSetup { fn eq(&self, other: &Self) -> bool { @@ -4136,7 +4136,7 @@ impl IMSCEPSetup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSCEPSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSCEPSetup, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSCEPSetup { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs index 6f97c406c5..c98c3d02ef 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn DdqCancelDiagnosticRecordOperation(hsession: P0) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqCancelDiagnosticRecordOperation ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqCancelDiagnosticRecordOperation ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows::core::HRESULT ); DdqCancelDiagnosticRecordOperation(hsession.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -13,13 +13,13 @@ pub unsafe fn DdqCloseSession(hsession: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqCloseSession ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqCloseSession ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows::core::HRESULT ); DdqCloseSession(hsession.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] #[inline] pub unsafe fn DdqCreateSession(accesslevel: DdqAccessLevel) -> ::windows::core::Result { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqCreateSession ( accesslevel : DdqAccessLevel , hsession : *mut super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqCreateSession ( accesslevel : DdqAccessLevel , hsession : *mut super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqCreateSession(accesslevel, &mut result__).from_abi(result__) } @@ -31,7 +31,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqExtractDiagnosticReport ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , reportstoretype : u32 , reportkey : :: windows::core::PCWSTR , destinationpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqExtractDiagnosticReport ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , reportstoretype : u32 , reportkey : :: windows::core::PCWSTR , destinationpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DdqExtractDiagnosticReport(hsession.into(), reportstoretype, reportkey.into().abi(), destinationpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -40,7 +40,7 @@ pub unsafe fn DdqFreeDiagnosticRecordLocaleTags(htagdescription: P0) -> ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticRecordLocaleTags ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticRecordLocaleTags ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION ) -> :: windows::core::HRESULT ); DdqFreeDiagnosticRecordLocaleTags(htagdescription.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -49,7 +49,7 @@ pub unsafe fn DdqFreeDiagnosticRecordPage(hrecord: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticRecordPage ( hrecord : super:: HDIAGNOSTIC_RECORD ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticRecordPage ( hrecord : super:: HDIAGNOSTIC_RECORD ) -> :: windows::core::HRESULT ); DdqFreeDiagnosticRecordPage(hrecord.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -58,7 +58,7 @@ pub unsafe fn DdqFreeDiagnosticRecordProducerCategories(hcategorydescription where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticRecordProducerCategories ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticRecordProducerCategories ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION ) -> :: windows::core::HRESULT ); DdqFreeDiagnosticRecordProducerCategories(hcategorydescription.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -67,7 +67,7 @@ pub unsafe fn DdqFreeDiagnosticRecordProducers(hproducerdescription: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticRecordProducers ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticRecordProducers ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION ) -> :: windows::core::HRESULT ); DdqFreeDiagnosticRecordProducers(hproducerdescription.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -76,13 +76,13 @@ pub unsafe fn DdqFreeDiagnosticReport(hreport: P0) -> ::windows::core::Resul where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticReport ( hreport : super:: HDIAGNOSTIC_REPORT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqFreeDiagnosticReport ( hreport : super:: HDIAGNOSTIC_REPORT ) -> :: windows::core::HRESULT ); DdqFreeDiagnosticReport(hreport.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] #[inline] pub unsafe fn DdqGetDiagnosticDataAccessLevelAllowed() -> ::windows::core::Result { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticDataAccessLevelAllowed ( accesslevel : *mut DdqAccessLevel ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticDataAccessLevelAllowed ( accesslevel : *mut DdqAccessLevel ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticDataAccessLevelAllowed(&mut result__).from_abi(result__) } @@ -93,7 +93,7 @@ pub unsafe fn DdqGetDiagnosticRecordAtIndex(hrecord: P0, index: u32, record: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordAtIndex ( hrecord : super:: HDIAGNOSTIC_RECORD , index : u32 , record : *mut DIAGNOSTIC_DATA_RECORD ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordAtIndex ( hrecord : super:: HDIAGNOSTIC_RECORD , index : u32 , record : *mut DIAGNOSTIC_DATA_RECORD ) -> :: windows::core::HRESULT ); DdqGetDiagnosticRecordAtIndex(hrecord.into(), index, record).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -102,7 +102,7 @@ pub unsafe fn DdqGetDiagnosticRecordBinaryDistribution(hsession: P0, produce where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordBinaryDistribution ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , producernames : *const :: windows::core::PCWSTR , producernamecount : u32 , topnbinaries : u32 , binarystats : *mut *mut DIAGNOSTIC_DATA_EVENT_BINARY_STATS , statcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordBinaryDistribution ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , producernames : *const :: windows::core::PCWSTR , producernamecount : u32 , topnbinaries : u32 , binarystats : *mut *mut DIAGNOSTIC_DATA_EVENT_BINARY_STATS , statcount : *mut u32 ) -> :: windows::core::HRESULT ); DdqGetDiagnosticRecordBinaryDistribution(hsession.into(), ::core::mem::transmute(producernames.as_ptr()), producernames.len() as _, topnbinaries, binarystats, statcount).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -111,7 +111,7 @@ pub unsafe fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordCategoryAtIndex ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION , index : u32 , categorydescription : *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordCategoryAtIndex ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION , index : u32 , categorydescription : *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription.into(), index, &mut result__).from_abi(result__) } @@ -121,7 +121,7 @@ pub unsafe fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordCategoryCount ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION , categorydescriptioncount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordCategoryCount ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION , categorydescriptioncount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordCategoryCount(hcategorydescription.into(), &mut result__).from_abi(result__) } @@ -131,7 +131,7 @@ pub unsafe fn DdqGetDiagnosticRecordCount(hrecord: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordCount ( hrecord : super:: HDIAGNOSTIC_RECORD , recordcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordCount ( hrecord : super:: HDIAGNOSTIC_RECORD , recordcount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordCount(hrecord.into(), &mut result__).from_abi(result__) } @@ -141,7 +141,7 @@ pub unsafe fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription: P0, in where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordLocaleTagAtIndex ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION , index : u32 , tagdescription : *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordLocaleTagAtIndex ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION , index : u32 , tagdescription : *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription.into(), index, &mut result__).from_abi(result__) } @@ -151,7 +151,7 @@ pub unsafe fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription: P0) -> : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordLocaleTagCount ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION , tagdescriptioncount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordLocaleTagCount ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION , tagdescriptioncount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordLocaleTagCount(htagdescription.into(), &mut result__).from_abi(result__) } @@ -162,7 +162,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordLocaleTags ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , locale : :: windows::core::PCWSTR , htagdescription : *mut super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordLocaleTags ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , locale : :: windows::core::PCWSTR , htagdescription : *mut super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordLocaleTags(hsession.into(), locale.into().abi(), &mut result__).from_abi(result__) } @@ -173,7 +173,7 @@ pub unsafe fn DdqGetDiagnosticRecordPage(hsession: P0, searchcriteria: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordPage ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , searchcriteria : *const DIAGNOSTIC_DATA_SEARCH_CRITERIA , offset : u32 , pagerecordcount : u32 , baserowid : i64 , hrecord : *mut super:: HDIAGNOSTIC_RECORD ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordPage ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , searchcriteria : *const DIAGNOSTIC_DATA_SEARCH_CRITERIA , offset : u32 , pagerecordcount : u32 , baserowid : i64 , hrecord : *mut super:: HDIAGNOSTIC_RECORD ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordPage(hsession.into(), searchcriteria, offset, pagerecordcount, baserowid, &mut result__).from_abi(result__) } @@ -183,7 +183,7 @@ pub unsafe fn DdqGetDiagnosticRecordPayload(hsession: P0, rowid: i64) -> ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordPayload ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , rowid : i64 , payload : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordPayload ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , rowid : i64 , payload : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); DdqGetDiagnosticRecordPayload(hsession.into(), rowid, &mut result__).from_abi(result__) } @@ -193,7 +193,7 @@ pub unsafe fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordProducerAtIndex ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION , index : u32 , producerdescription : *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordProducerAtIndex ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION , index : u32 , producerdescription : *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription.into(), index, &mut result__).from_abi(result__) } @@ -204,7 +204,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordProducerCategories ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , producername : :: windows::core::PCWSTR , hcategorydescription : *mut super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordProducerCategories ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , producername : :: windows::core::PCWSTR , hcategorydescription : *mut super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordProducerCategories(hsession.into(), producername.into().abi(), &mut result__).from_abi(result__) } @@ -214,7 +214,7 @@ pub unsafe fn DdqGetDiagnosticRecordProducerCount(hproducerdescription: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordProducerCount ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION , producerdescriptioncount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordProducerCount ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION , producerdescriptioncount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordProducerCount(hproducerdescription.into(), &mut result__).from_abi(result__) } @@ -224,7 +224,7 @@ pub unsafe fn DdqGetDiagnosticRecordProducers(hsession: P0) -> ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordProducers ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , hproducerdescription : *mut super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordProducers ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , hproducerdescription : *mut super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticRecordProducers(hsession.into(), &mut result__).from_abi(result__) } @@ -235,7 +235,7 @@ pub unsafe fn DdqGetDiagnosticRecordStats(hsession: P0, searchcriteria: *con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordStats ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , searchcriteria : *const DIAGNOSTIC_DATA_SEARCH_CRITERIA , recordcount : *mut u32 , minrowid : *mut i64 , maxrowid : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordStats ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , searchcriteria : *const DIAGNOSTIC_DATA_SEARCH_CRITERIA , recordcount : *mut u32 , minrowid : *mut i64 , maxrowid : *mut i64 ) -> :: windows::core::HRESULT ); DdqGetDiagnosticRecordStats(hsession.into(), searchcriteria, recordcount, minrowid, maxrowid).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -244,7 +244,7 @@ pub unsafe fn DdqGetDiagnosticRecordSummary(hsession: P0, producernames: &[: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordSummary ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , producernames : *const :: windows::core::PCWSTR , producernamecount : u32 , generalstats : *mut DIAGNOSTIC_DATA_GENERAL_STATS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordSummary ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , producernames : *const :: windows::core::PCWSTR , producernamecount : u32 , generalstats : *mut DIAGNOSTIC_DATA_GENERAL_STATS ) -> :: windows::core::HRESULT ); DdqGetDiagnosticRecordSummary(hsession.into(), ::core::mem::transmute(producernames.as_ptr()), producernames.len() as _, generalstats).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -253,7 +253,7 @@ pub unsafe fn DdqGetDiagnosticRecordTagDistribution(hsession: P0, producerna where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordTagDistribution ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , producernames : *const :: windows::core::PCWSTR , producernamecount : u32 , tagstats : *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS , statcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticRecordTagDistribution ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , producernames : *const :: windows::core::PCWSTR , producernamecount : u32 , tagstats : *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS , statcount : *mut u32 ) -> :: windows::core::HRESULT ); DdqGetDiagnosticRecordTagDistribution(hsession.into(), ::core::mem::transmute(producernames.as_ptr()), producernames.len() as _, tagstats, statcount).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -262,7 +262,7 @@ pub unsafe fn DdqGetDiagnosticReport(hsession: P0, reportstoretype: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticReport ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , reportstoretype : u32 , hreport : *mut super:: HDIAGNOSTIC_REPORT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticReport ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , reportstoretype : u32 , hreport : *mut super:: HDIAGNOSTIC_REPORT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticReport(hsession.into(), reportstoretype, &mut result__).from_abi(result__) } @@ -273,7 +273,7 @@ pub unsafe fn DdqGetDiagnosticReportAtIndex(hreport: P0, index: u32, report: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticReportAtIndex ( hreport : super:: HDIAGNOSTIC_REPORT , index : u32 , report : *mut DIAGNOSTIC_REPORT_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticReportAtIndex ( hreport : super:: HDIAGNOSTIC_REPORT , index : u32 , report : *mut DIAGNOSTIC_REPORT_DATA ) -> :: windows::core::HRESULT ); DdqGetDiagnosticReportAtIndex(hreport.into(), index, report).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] @@ -282,7 +282,7 @@ pub unsafe fn DdqGetDiagnosticReportCount(hreport: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticReportCount ( hreport : super:: HDIAGNOSTIC_REPORT , reportcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticReportCount ( hreport : super:: HDIAGNOSTIC_REPORT , reportcount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticReportCount(hreport.into(), &mut result__).from_abi(result__) } @@ -292,7 +292,7 @@ pub unsafe fn DdqGetDiagnosticReportStoreReportCount(hsession: P0, reportsto where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticReportStoreReportCount ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , reportstoretype : u32 , reportcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetDiagnosticReportStoreReportCount ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , reportstoretype : u32 , reportcount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetDiagnosticReportStoreReportCount(hsession.into(), reportstoretype, &mut result__).from_abi(result__) } @@ -302,7 +302,7 @@ pub unsafe fn DdqGetSessionAccessLevel(hsession: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetSessionAccessLevel ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , accesslevel : *mut DdqAccessLevel ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetSessionAccessLevel ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , accesslevel : *mut DdqAccessLevel ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetSessionAccessLevel(hsession.into(), &mut result__).from_abi(result__) } @@ -312,7 +312,7 @@ pub unsafe fn DdqGetTranscriptConfiguration(hsession: P0) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqGetTranscriptConfiguration ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , currentconfig : *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqGetTranscriptConfiguration ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , currentconfig : *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqGetTranscriptConfiguration(hsession.into(), &mut result__).from_abi(result__) } @@ -325,7 +325,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqIsDiagnosticRecordSampledIn ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , providergroup : *const :: windows::core::GUID , providerid : *const :: windows::core::GUID , providername : :: windows::core::PCWSTR , eventid : *const u32 , eventname : :: windows::core::PCWSTR , eventversion : *const u32 , eventkeywords : *const u64 , issampledin : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqIsDiagnosticRecordSampledIn ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , providergroup : *const :: windows::core::GUID , providerid : *const :: windows::core::GUID , providername : :: windows::core::PCWSTR , eventid : *const u32 , eventname : :: windows::core::PCWSTR , eventversion : *const u32 , eventkeywords : *const u64 , issampledin : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DdqIsDiagnosticRecordSampledIn(hsession.into(), providergroup, ::core::mem::transmute(providerid.unwrap_or(::std::ptr::null())), providername.into().abi(), ::core::mem::transmute(eventid.unwrap_or(::std::ptr::null())), eventname.into().abi(), ::core::mem::transmute(eventversion.unwrap_or(::std::ptr::null())), ::core::mem::transmute(eventkeywords.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -335,7 +335,7 @@ pub unsafe fn DdqSetTranscriptConfiguration(hsession: P0, desiredconfig: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "diagnosticdataquery.dll""system" fn DdqSetTranscriptConfiguration ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , desiredconfig : *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "diagnosticdataquery.dll""system" fn DdqSetTranscriptConfiguration ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , desiredconfig : *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION ) -> :: windows::core::HRESULT ); DdqSetTranscriptConfiguration(hsession.into(), desiredconfig).ok() } #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/DirectoryServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/DirectoryServices/mod.rs index f9f25fb778..d8378a9b6a 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/DirectoryServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/DirectoryServices/mod.rs @@ -7,7 +7,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dssec.dll""system" fn DSCreateISecurityInfoObject ( pwszobjectpath : :: windows::core::PCWSTR , pwszobjectclass : :: windows::core::PCWSTR , dwflags : u32 , ppsi : *mut * mut::core::ffi::c_void , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dssec.dll""system" fn DSCreateISecurityInfoObject ( pwszobjectpath : :: windows::core::PCWSTR , pwszobjectclass : :: windows::core::PCWSTR , dwflags : u32 , ppsi : *mut * mut::core::ffi::c_void , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows::core::HRESULT ); DSCreateISecurityInfoObject(pwszobjectpath.into().abi(), pwszobjectclass.into().abi(), dwflags, ::core::mem::transmute(ppsi), pfnreadsd, pfnwritesd, lpcontext.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] @@ -22,7 +22,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into, { - ::windows::core::link ! ( "dssec.dll""system" fn DSCreateISecurityInfoObjectEx ( pwszobjectpath : :: windows::core::PCWSTR , pwszobjectclass : :: windows::core::PCWSTR , pwszserver : :: windows::core::PCWSTR , pwszusername : :: windows::core::PCWSTR , pwszpassword : :: windows::core::PCWSTR , dwflags : u32 , ppsi : *mut * mut::core::ffi::c_void , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dssec.dll""system" fn DSCreateISecurityInfoObjectEx ( pwszobjectpath : :: windows::core::PCWSTR , pwszobjectclass : :: windows::core::PCWSTR , pwszserver : :: windows::core::PCWSTR , pwszusername : :: windows::core::PCWSTR , pwszpassword : :: windows::core::PCWSTR , dwflags : u32 , ppsi : *mut * mut::core::ffi::c_void , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows::core::HRESULT ); DSCreateISecurityInfoObjectEx(pwszobjectpath.into().abi(), pwszobjectclass.into().abi(), pwszserver.into().abi(), pwszusername.into().abi(), pwszpassword.into().abi(), dwflags, ::core::mem::transmute(ppsi), pfnreadsd, pfnwritesd, lpcontext.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -34,7 +34,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dssec.dll""system" fn DSCreateSecurityPage ( pwszobjectpath : :: windows::core::PCWSTR , pwszobjectclass : :: windows::core::PCWSTR , dwflags : u32 , phpage : *mut super::super::UI::Controls:: HPROPSHEETPAGE , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dssec.dll""system" fn DSCreateSecurityPage ( pwszobjectpath : :: windows::core::PCWSTR , pwszobjectclass : :: windows::core::PCWSTR , dwflags : u32 , phpage : *mut super::super::UI::Controls:: HPROPSHEETPAGE , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows::core::HRESULT ); DSCreateSecurityPage(pwszobjectpath.into().abi(), pwszobjectclass.into().abi(), dwflags, phpage, pfnreadsd, pfnwritesd, lpcontext.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"] @@ -48,7 +48,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into, { - ::windows::core::link ! ( "dssec.dll""system" fn DSEditSecurity ( hwndowner : super::super::Foundation:: HWND , pwszobjectpath : :: windows::core::PCWSTR , pwszobjectclass : :: windows::core::PCWSTR , dwflags : u32 , pwszcaption : :: windows::core::PCWSTR , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dssec.dll""system" fn DSEditSecurity ( hwndowner : super::super::Foundation:: HWND , pwszobjectpath : :: windows::core::PCWSTR , pwszobjectclass : :: windows::core::PCWSTR , dwflags : u32 , pwszcaption : :: windows::core::PCWSTR , pfnreadsd : PFNREADOBJECTSECURITY , pfnwritesd : PFNWRITEOBJECTSECURITY , lpcontext : super::super::Foundation:: LPARAM ) -> :: windows::core::HRESULT ); DSEditSecurity(hwndowner.into(), pwszobjectpath.into().abi(), pwszobjectclass.into().abi(), dwflags, pwszcaption.into().abi(), pfnreadsd, pfnwritesd, lpcontext.into()).ok() } #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"] 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 a65c5dcac8..96ff896703 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -5,14 +5,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "efswrt.dll""system" fn ProtectFileToEnterpriseIdentity ( fileorfolderpath : :: windows::core::PCWSTR , identity : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "efswrt.dll""system" fn ProtectFileToEnterpriseIdentity ( fileorfolderpath : :: windows::core::PCWSTR , identity : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); ProtectFileToEnterpriseIdentity(fileorfolderpath.into().abi(), identity.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SrpCloseThreadNetworkContext(threadnetworkcontext: *mut HTHREAD_NETWORK_CONTEXT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpCloseThreadNetworkContext ( threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpCloseThreadNetworkContext ( threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT ) -> :: windows::core::HRESULT ); SrpCloseThreadNetworkContext(threadnetworkcontext).ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] @@ -22,21 +22,21 @@ pub unsafe fn SrpCreateThreadNetworkContext(enterpriseid: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpCreateThreadNetworkContext ( enterpriseid : :: windows::core::PCWSTR , threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpCreateThreadNetworkContext ( enterpriseid : :: windows::core::PCWSTR , threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SrpCreateThreadNetworkContext(enterpriseid.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] #[inline] pub unsafe fn SrpDisablePermissiveModeFileEncryption() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpDisablePermissiveModeFileEncryption ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpDisablePermissiveModeFileEncryption ( ) -> :: windows::core::HRESULT ); SrpDisablePermissiveModeFileEncryption().ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Appx\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Appx"))] #[inline] pub unsafe fn SrpDoesPolicyAllowAppExecution(packageid: *const super::super::Storage::Packaging::Appx::PACKAGE_ID) -> ::windows::core::Result { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpDoesPolicyAllowAppExecution ( packageid : *const super::super::Storage::Packaging::Appx:: PACKAGE_ID , isallowed : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpDoesPolicyAllowAppExecution ( packageid : *const super::super::Storage::Packaging::Appx:: PACKAGE_ID , isallowed : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SrpDoesPolicyAllowAppExecution(packageid, &mut result__).from_abi(result__) } @@ -46,7 +46,7 @@ pub unsafe fn SrpEnablePermissiveModeFileEncryption(enterpriseid: P0) -> ::w where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpEnablePermissiveModeFileEncryption ( enterpriseid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpEnablePermissiveModeFileEncryption ( enterpriseid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SrpEnablePermissiveModeFileEncryption(enterpriseid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] @@ -56,7 +56,7 @@ pub unsafe fn SrpGetEnterpriseIds(tokenhandle: P0, numberofbytes: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpGetEnterpriseIds ( tokenhandle : super::super::Foundation:: HANDLE , numberofbytes : *mut u32 , enterpriseids : *mut :: windows::core::PWSTR , enterpriseidcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpGetEnterpriseIds ( tokenhandle : super::super::Foundation:: HANDLE , numberofbytes : *mut u32 , enterpriseids : *mut :: windows::core::PWSTR , enterpriseidcount : *mut u32 ) -> :: windows::core::HRESULT ); SrpGetEnterpriseIds(tokenhandle.into(), ::core::mem::transmute(numberofbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(enterpriseids.unwrap_or(::std::ptr::null_mut())), enterpriseidcount).ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] @@ -66,20 +66,20 @@ pub unsafe fn SrpGetEnterprisePolicy(tokenhandle: P0) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpGetEnterprisePolicy ( tokenhandle : super::super::Foundation:: HANDLE , policyflags : *mut ENTERPRISE_DATA_POLICIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpGetEnterprisePolicy ( tokenhandle : super::super::Foundation:: HANDLE , policyflags : *mut ENTERPRISE_DATA_POLICIES ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SrpGetEnterprisePolicy(tokenhandle.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] #[inline] pub unsafe fn SrpHostingInitialize(version: SRPHOSTING_VERSION, r#type: SRPHOSTING_TYPE, pvdata: *const ::core::ffi::c_void, cbdata: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpHostingInitialize ( version : SRPHOSTING_VERSION , r#type : SRPHOSTING_TYPE , pvdata : *const ::core::ffi::c_void , cbdata : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpHostingInitialize ( version : SRPHOSTING_VERSION , r#type : SRPHOSTING_TYPE , pvdata : *const ::core::ffi::c_void , cbdata : u32 ) -> :: windows::core::HRESULT ); SrpHostingInitialize(version, r#type, pvdata, cbdata).ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] #[inline] pub unsafe fn SrpHostingTerminate(r#type: SRPHOSTING_TYPE) { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpHostingTerminate ( r#type : SRPHOSTING_TYPE ) -> ( ) ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpHostingTerminate ( r#type : SRPHOSTING_TYPE ) -> ( ) ); SrpHostingTerminate(r#type) } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] @@ -89,7 +89,7 @@ pub unsafe fn SrpIsTokenService(tokenhandle: P0, istokenservice: *mut u8) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpIsTokenService ( tokenhandle : super::super::Foundation:: HANDLE , istokenservice : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpIsTokenService ( tokenhandle : super::super::Foundation:: HANDLE , istokenservice : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); SrpIsTokenService(tokenhandle.into(), istokenservice).ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] @@ -100,7 +100,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "srpapi.dll""system" fn SrpSetTokenEnterpriseId ( tokenhandle : super::super::Foundation:: HANDLE , enterpriseid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "srpapi.dll""system" fn SrpSetTokenEnterpriseId ( tokenhandle : super::super::Foundation:: HANDLE , enterpriseid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SrpSetTokenEnterpriseId(tokenhandle.into(), enterpriseid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] @@ -109,7 +109,7 @@ pub unsafe fn UnprotectFile(fileorfolderpath: P0, options: ::core::option::O where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "efswrt.dll""system" fn UnprotectFile ( fileorfolderpath : :: windows::core::PCWSTR , options : *const FILE_UNPROTECT_OPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "efswrt.dll""system" fn UnprotectFile ( fileorfolderpath : :: windows::core::PCWSTR , options : *const FILE_UNPROTECT_OPTIONS ) -> :: windows::core::HRESULT ); UnprotectFile(fileorfolderpath.into().abi(), ::core::mem::transmute(options.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] @@ -137,7 +137,7 @@ impl IProtectionPolicyManagerInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), appwindow.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProtectionPolicyManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IProtectionPolicyManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IProtectionPolicyManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -232,7 +232,7 @@ impl IProtectionPolicyManagerInterop2 { (::windows::core::Vtable::vtable(self).RequestAccessForAppWithMessageForWindowAsync)(::windows::core::Vtable::as_raw(self), appwindow.into(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into().abi(), ::core::mem::transmute_copy(messagefromapp), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProtectionPolicyManagerInterop2, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IProtectionPolicyManagerInterop2, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IProtectionPolicyManagerInterop2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -355,7 +355,7 @@ impl IProtectionPolicyManagerInterop3 { (::windows::core::Vtable::vtable(self).RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync)(::windows::core::Vtable::as_raw(self), appwindow.into(), sourceitemlistunk.into().abi(), processid, auditinfounk.into().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProtectionPolicyManagerInterop3, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IProtectionPolicyManagerInterop3, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IProtectionPolicyManagerInterop3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs index d4f23f781f..9f7b398ece 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -5,20 +5,20 @@ pub unsafe fn EapHostPeerBeginSession(dwflags: u32, eaptype: EAP_METHOD_TYPE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerBeginSession ( dwflags : u32 , eaptype : EAP_METHOD_TYPE , pattributearray : *const EAP_ATTRIBUTES , htokenimpersonateuser : super::super::Foundation:: HANDLE , dwsizeofconnectiondata : u32 , pconnectiondata : *const u8 , dwsizeofuserdata : u32 , puserdata : *const u8 , dwmaxsendpacketsize : u32 , pconnectionid : *const :: windows::core::GUID , func : NotificationHandler , pcontextdata : *mut ::core::ffi::c_void , psessionid : *mut u32 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerBeginSession ( dwflags : u32 , eaptype : EAP_METHOD_TYPE , pattributearray : *const EAP_ATTRIBUTES , htokenimpersonateuser : super::super::Foundation:: HANDLE , dwsizeofconnectiondata : u32 , pconnectiondata : *const u8 , dwsizeofuserdata : u32 , puserdata : *const u8 , dwmaxsendpacketsize : u32 , pconnectionid : *const :: windows::core::GUID , func : NotificationHandler , pcontextdata : *mut ::core::ffi::c_void , psessionid : *mut u32 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerBeginSession(dwflags, ::core::mem::transmute(eaptype), pattributearray, htokenimpersonateuser.into(), dwsizeofconnectiondata, pconnectiondata, dwsizeofuserdata, puserdata, dwmaxsendpacketsize, pconnectionid, func, pcontextdata, psessionid, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerClearConnection(pconnectionid: *mut ::windows::core::GUID, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerClearConnection ( pconnectionid : *mut :: windows::core::GUID , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerClearConnection ( pconnectionid : *mut :: windows::core::GUID , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerClearConnection(pconnectionid, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] #[inline] pub unsafe fn EapHostPeerConfigBlob2Xml(dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, pconfigin: &[u8], ppconfigdoc: *mut ::core::option::Option, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerConfigBlob2Xml ( dwflags : u32 , eapmethodtype : EAP_METHOD_TYPE , dwsizeofconfigin : u32 , pconfigin : *const u8 , ppconfigdoc : *mut * mut::core::ffi::c_void , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerConfigBlob2Xml ( dwflags : u32 , eapmethodtype : EAP_METHOD_TYPE , dwsizeofconfigin : u32 , pconfigin : *const u8 , ppconfigdoc : *mut * mut::core::ffi::c_void , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerConfigBlob2Xml(dwflags, ::core::mem::transmute(eapmethodtype), pconfigin.len() as _, ::core::mem::transmute(pconfigin.as_ptr()), ::core::mem::transmute(ppconfigdoc), ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] @@ -28,7 +28,7 @@ pub unsafe fn EapHostPeerConfigXml2Blob(dwflags: u32, pconfigdoc: P0, pdwsiz where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerConfigXml2Blob ( dwflags : u32 , pconfigdoc : * mut::core::ffi::c_void , pdwsizeofconfigout : *mut u32 , ppconfigout : *mut *mut u8 , peapmethodtype : *mut EAP_METHOD_TYPE , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerConfigXml2Blob ( dwflags : u32 , pconfigdoc : * mut::core::ffi::c_void , pdwsizeofconfigout : *mut u32 , ppconfigout : *mut *mut u8 , peapmethodtype : *mut EAP_METHOD_TYPE , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerConfigXml2Blob(dwflags, pconfigdoc.into().abi(), pdwsizeofconfigout, ppconfigout, peapmethodtype, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] @@ -38,50 +38,50 @@ pub unsafe fn EapHostPeerCredentialsXml2Blob(dwflags: u32, pcredentialsdoc: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerCredentialsXml2Blob ( dwflags : u32 , pcredentialsdoc : * mut::core::ffi::c_void , dwsizeofconfigin : u32 , pconfigin : *const u8 , pdwsizeofcredentialsout : *mut u32 , ppcredentialsout : *mut *mut u8 , peapmethodtype : *mut EAP_METHOD_TYPE , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerCredentialsXml2Blob ( dwflags : u32 , pcredentialsdoc : * mut::core::ffi::c_void , dwsizeofconfigin : u32 , pconfigin : *const u8 , pdwsizeofcredentialsout : *mut u32 , ppcredentialsout : *mut *mut u8 , peapmethodtype : *mut EAP_METHOD_TYPE , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerCredentialsXml2Blob(dwflags, pcredentialsdoc.into().abi(), pconfigin.len() as _, ::core::mem::transmute(pconfigin.as_ptr()), pdwsizeofcredentialsout, ppcredentialsout, peapmethodtype, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerEndSession(sessionhandle: u32, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerEndSession ( sessionhandle : u32 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerEndSession ( sessionhandle : u32 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerEndSession(sessionhandle, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerFreeEapError(peaperror: *mut EAP_ERROR) { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerFreeEapError ( peaperror : *mut EAP_ERROR ) -> ( ) ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerFreeEapError ( peaperror : *mut EAP_ERROR ) -> ( ) ); EapHostPeerFreeEapError(peaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerFreeErrorMemory(peaperror: *mut EAP_ERROR) { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerFreeErrorMemory ( peaperror : *mut EAP_ERROR ) -> ( ) ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerFreeErrorMemory ( peaperror : *mut EAP_ERROR ) -> ( ) ); EapHostPeerFreeErrorMemory(peaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerFreeMemory(pdata: *mut u8) { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerFreeMemory ( pdata : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerFreeMemory ( pdata : *mut u8 ) -> ( ) ); EapHostPeerFreeMemory(pdata) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerFreeRuntimeMemory(pdata: *mut u8) { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerFreeRuntimeMemory ( pdata : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerFreeRuntimeMemory ( pdata : *mut u8 ) -> ( ) ); EapHostPeerFreeRuntimeMemory(pdata) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerGetAuthStatus(sessionhandle: u32, authparam: EapHostPeerAuthParams, pcbauthdata: *mut u32, ppauthdata: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerGetAuthStatus ( sessionhandle : u32 , authparam : EapHostPeerAuthParams , pcbauthdata : *mut u32 , ppauthdata : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerGetAuthStatus ( sessionhandle : u32 , authparam : EapHostPeerAuthParams , pcbauthdata : *mut u32 , ppauthdata : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerGetAuthStatus(sessionhandle, authparam, pcbauthdata, ppauthdata, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EapHostPeerGetDataToUnplumbCredentials(pconnectionidthatlastsavedcreds: *mut ::windows::core::GUID, phcredentialimpersonationtoken: *mut isize, sessionhandle: u32, ppeaperror: *mut *mut EAP_ERROR, fsavetocredman: *mut super::super::Foundation::BOOL) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerGetDataToUnplumbCredentials ( pconnectionidthatlastsavedcreds : *mut :: windows::core::GUID , phcredentialimpersonationtoken : *mut isize , sessionhandle : u32 , ppeaperror : *mut *mut EAP_ERROR , fsavetocredman : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerGetDataToUnplumbCredentials ( pconnectionidthatlastsavedcreds : *mut :: windows::core::GUID , phcredentialimpersonationtoken : *mut isize , sessionhandle : u32 , ppeaperror : *mut *mut EAP_ERROR , fsavetocredman : *mut super::super::Foundation:: BOOL ) -> u32 ); EapHostPeerGetDataToUnplumbCredentials(pconnectionidthatlastsavedcreds, phcredentialimpersonationtoken, sessionhandle, ppeaperror, fsavetocredman) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] @@ -90,7 +90,7 @@ pub unsafe fn EapHostPeerGetEncryptedPassword(dwsizeofpassword: u32, szpassw where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerGetEncryptedPassword ( dwsizeofpassword : u32 , szpassword : :: windows::core::PCWSTR , ppszencpassword : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerGetEncryptedPassword ( dwsizeofpassword : u32 , szpassword : :: windows::core::PCWSTR , ppszencpassword : *mut :: windows::core::PWSTR ) -> u32 ); EapHostPeerGetEncryptedPassword(dwsizeofpassword, szpassword.into().abi(), ppszencpassword) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] @@ -100,7 +100,7 @@ pub unsafe fn EapHostPeerGetIdentity(dwversion: u32, dwflags: u32, eapmethod where P0: ::std::convert::Into, { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerGetIdentity ( dwversion : u32 , dwflags : u32 , eapmethodtype : EAP_METHOD_TYPE , dwsizeofconnectiondata : u32 , pconnectiondata : *const u8 , dwsizeofuserdata : u32 , puserdata : *const u8 , htokenimpersonateuser : super::super::Foundation:: HANDLE , pfinvokeui : *mut super::super::Foundation:: BOOL , pdwsizeofuserdataout : *mut u32 , ppuserdataout : *mut *mut u8 , ppwszidentity : *mut :: windows::core::PWSTR , ppeaperror : *mut *mut EAP_ERROR , ppvreserved : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerGetIdentity ( dwversion : u32 , dwflags : u32 , eapmethodtype : EAP_METHOD_TYPE , dwsizeofconnectiondata : u32 , pconnectiondata : *const u8 , dwsizeofuserdata : u32 , puserdata : *const u8 , htokenimpersonateuser : super::super::Foundation:: HANDLE , pfinvokeui : *mut super::super::Foundation:: BOOL , pdwsizeofuserdataout : *mut u32 , ppuserdataout : *mut *mut u8 , ppwszidentity : *mut :: windows::core::PWSTR , ppeaperror : *mut *mut EAP_ERROR , ppvreserved : *mut *mut u8 ) -> u32 ); EapHostPeerGetIdentity(dwversion, dwflags, ::core::mem::transmute(eapmethodtype), pconnectiondata.len() as _, ::core::mem::transmute(pconnectiondata.as_ptr()), puserdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(puserdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), htokenimpersonateuser.into(), pfinvokeui, pdwsizeofuserdataout, ppuserdataout, ppwszidentity, ppeaperror, ppvreserved) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] @@ -110,44 +110,44 @@ pub unsafe fn EapHostPeerGetMethodProperties(dwversion: u32, dwflags: u32, e where P0: ::std::convert::Into, { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerGetMethodProperties ( dwversion : u32 , dwflags : u32 , eapmethodtype : EAP_METHOD_TYPE , huserimpersonationtoken : super::super::Foundation:: HANDLE , dweapconndatasize : u32 , pbeapconndata : *const u8 , dwuserdatasize : u32 , pbuserdata : *const u8 , pmethodpropertyarray : *mut EAP_METHOD_PROPERTY_ARRAY , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerGetMethodProperties ( dwversion : u32 , dwflags : u32 , eapmethodtype : EAP_METHOD_TYPE , huserimpersonationtoken : super::super::Foundation:: HANDLE , dweapconndatasize : u32 , pbeapconndata : *const u8 , dwuserdatasize : u32 , pbuserdata : *const u8 , pmethodpropertyarray : *mut EAP_METHOD_PROPERTY_ARRAY , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerGetMethodProperties(dwversion, dwflags, ::core::mem::transmute(eapmethodtype), huserimpersonationtoken.into(), pbeapconndata.len() as _, ::core::mem::transmute(pbeapconndata.as_ptr()), pbuserdata.len() as _, ::core::mem::transmute(pbuserdata.as_ptr()), pmethodpropertyarray, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerGetMethods(peapmethodinfoarray: *mut EAP_METHOD_INFO_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerGetMethods ( peapmethodinfoarray : *mut EAP_METHOD_INFO_ARRAY , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerGetMethods ( peapmethodinfoarray : *mut EAP_METHOD_INFO_ARRAY , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerGetMethods(peapmethodinfoarray, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerGetResponseAttributes(sessionhandle: u32, pattribs: *mut EAP_ATTRIBUTES, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerGetResponseAttributes ( sessionhandle : u32 , pattribs : *mut EAP_ATTRIBUTES , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerGetResponseAttributes ( sessionhandle : u32 , pattribs : *mut EAP_ATTRIBUTES , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerGetResponseAttributes(sessionhandle, pattribs, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EapHostPeerGetResult(sessionhandle: u32, reason: EapHostPeerMethodResultReason, ppresult: *mut EapHostPeerMethodResult, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerGetResult ( sessionhandle : u32 , reason : EapHostPeerMethodResultReason , ppresult : *mut EapHostPeerMethodResult , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerGetResult ( sessionhandle : u32 , reason : EapHostPeerMethodResultReason , ppresult : *mut EapHostPeerMethodResult , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerGetResult(sessionhandle, reason, ppresult, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerGetSendPacket(sessionhandle: u32, pcbsendpacket: *mut u32, ppsendpacket: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerGetSendPacket ( sessionhandle : u32 , pcbsendpacket : *mut u32 , ppsendpacket : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerGetSendPacket ( sessionhandle : u32 , pcbsendpacket : *mut u32 , ppsendpacket : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerGetSendPacket(sessionhandle, pcbsendpacket, ppsendpacket, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerGetUIContext(sessionhandle: u32, pdwsizeofuicontextdata: *mut u32, ppuicontextdata: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerGetUIContext ( sessionhandle : u32 , pdwsizeofuicontextdata : *mut u32 , ppuicontextdata : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerGetUIContext ( sessionhandle : u32 , pdwsizeofuicontextdata : *mut u32 , ppuicontextdata : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerGetUIContext(sessionhandle, pdwsizeofuicontextdata, ppuicontextdata, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerInitialize() -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerInitialize ( ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerInitialize ( ) -> u32 ); EapHostPeerInitialize() } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] @@ -157,7 +157,7 @@ pub unsafe fn EapHostPeerInvokeConfigUI(hwndparent: P0, dwflags: u32, eapmet where P0: ::std::convert::Into, { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerInvokeConfigUI ( hwndparent : super::super::Foundation:: HWND , dwflags : u32 , eapmethodtype : EAP_METHOD_TYPE , dwsizeofconfigin : u32 , pconfigin : *const u8 , pdwsizeofconfigout : *mut u32 , ppconfigout : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerInvokeConfigUI ( hwndparent : super::super::Foundation:: HWND , dwflags : u32 , eapmethodtype : EAP_METHOD_TYPE , dwsizeofconfigin : u32 , pconfigin : *const u8 , pdwsizeofconfigout : *mut u32 , ppconfigout : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerInvokeConfigUI(hwndparent.into(), dwflags, ::core::mem::transmute(eapmethodtype), pconfigin.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pconfigin.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdwsizeofconfigout, ppconfigout, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] @@ -167,7 +167,7 @@ pub unsafe fn EapHostPeerInvokeIdentityUI(dwversion: u32, eapmethodtype: EAP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerInvokeIdentityUI ( dwversion : u32 , eapmethodtype : EAP_METHOD_TYPE , dwflags : u32 , hwndparent : super::super::Foundation:: HWND , dwsizeofconnectiondata : u32 , pconnectiondata : *const u8 , dwsizeofuserdata : u32 , puserdata : *const u8 , pdwsizeofuserdataout : *mut u32 , ppuserdataout : *mut *mut u8 , ppwszidentity : *mut :: windows::core::PWSTR , ppeaperror : *mut *mut EAP_ERROR , ppvreserved : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerInvokeIdentityUI ( dwversion : u32 , eapmethodtype : EAP_METHOD_TYPE , dwflags : u32 , hwndparent : super::super::Foundation:: HWND , dwsizeofconnectiondata : u32 , pconnectiondata : *const u8 , dwsizeofuserdata : u32 , puserdata : *const u8 , pdwsizeofuserdataout : *mut u32 , ppuserdataout : *mut *mut u8 , ppwszidentity : *mut :: windows::core::PWSTR , ppeaperror : *mut *mut EAP_ERROR , ppvreserved : *mut *mut ::core::ffi::c_void ) -> u32 ); EapHostPeerInvokeIdentityUI(dwversion, ::core::mem::transmute(eapmethodtype), dwflags, hwndparent.into(), pconnectiondata.len() as _, ::core::mem::transmute(pconnectiondata.as_ptr()), puserdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(puserdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdwsizeofuserdataout, ppuserdataout, ppwszidentity, ppeaperror, ppvreserved) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] @@ -177,13 +177,13 @@ pub unsafe fn EapHostPeerInvokeInteractiveUI(hwndparent: P0, puicontextdata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerInvokeInteractiveUI ( hwndparent : super::super::Foundation:: HWND , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , pdwsizeofdatafrominteractiveui : *mut u32 , ppdatafrominteractiveui : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerInvokeInteractiveUI ( hwndparent : super::super::Foundation:: HWND , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , pdwsizeofdatafrominteractiveui : *mut u32 , ppdatafrominteractiveui : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerInvokeInteractiveUI(hwndparent.into(), puicontextdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(puicontextdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdwsizeofdatafrominteractiveui, ppdatafrominteractiveui, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerProcessReceivedPacket(sessionhandle: u32, cbreceivepacket: u32, preceivepacket: *const u8, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerProcessReceivedPacket ( sessionhandle : u32 , cbreceivepacket : u32 , preceivepacket : *const u8 , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerProcessReceivedPacket ( sessionhandle : u32 , cbreceivepacket : u32 , preceivepacket : *const u8 , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerProcessReceivedPacket(sessionhandle, cbreceivepacket, preceivepacket, peapoutput, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] @@ -193,19 +193,19 @@ pub unsafe fn EapHostPeerQueryCredentialInputFields(huserimpersonationtoken: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerQueryCredentialInputFields ( huserimpersonationtoken : super::super::Foundation:: HANDLE , eapmethodtype : EAP_METHOD_TYPE , dwflags : u32 , dweapconndatasize : u32 , pbeapconndata : *const u8 , peapconfiginputfieldarray : *mut EAP_CONFIG_INPUT_FIELD_ARRAY , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerQueryCredentialInputFields ( huserimpersonationtoken : super::super::Foundation:: HANDLE , eapmethodtype : EAP_METHOD_TYPE , dwflags : u32 , dweapconndatasize : u32 , pbeapconndata : *const u8 , peapconfiginputfieldarray : *mut EAP_CONFIG_INPUT_FIELD_ARRAY , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerQueryCredentialInputFields(huserimpersonationtoken.into(), ::core::mem::transmute(eapmethodtype), dwflags, pbeapconndata.len() as _, ::core::mem::transmute(pbeapconndata.as_ptr()), peapconfiginputfieldarray, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerQueryInteractiveUIInputFields(dwversion: u32, dwflags: u32, puicontextdata: &[u8], peapinteractiveuidata: *mut EAP_INTERACTIVE_UI_DATA, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerQueryInteractiveUIInputFields ( dwversion : u32 , dwflags : u32 , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , peapinteractiveuidata : *mut EAP_INTERACTIVE_UI_DATA , ppeaperror : *mut *mut EAP_ERROR , ppvreserved : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerQueryInteractiveUIInputFields ( dwversion : u32 , dwflags : u32 , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , peapinteractiveuidata : *mut EAP_INTERACTIVE_UI_DATA , ppeaperror : *mut *mut EAP_ERROR , ppvreserved : *mut *mut ::core::ffi::c_void ) -> u32 ); EapHostPeerQueryInteractiveUIInputFields(dwversion, dwflags, puicontextdata.len() as _, ::core::mem::transmute(puicontextdata.as_ptr()), peapinteractiveuidata, ppeaperror, ppvreserved) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerQueryUIBlobFromInteractiveUIInputFields(dwversion: u32, dwflags: u32, puicontextdata: &[u8], peapinteractiveuidata: *const EAP_INTERACTIVE_UI_DATA, pdwsizeofdatafrominteractiveui: *mut u32, ppdatafrominteractiveui: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerQueryUIBlobFromInteractiveUIInputFields ( dwversion : u32 , dwflags : u32 , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , peapinteractiveuidata : *const EAP_INTERACTIVE_UI_DATA , pdwsizeofdatafrominteractiveui : *mut u32 , ppdatafrominteractiveui : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR , ppvreserved : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerQueryUIBlobFromInteractiveUIInputFields ( dwversion : u32 , dwflags : u32 , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , peapinteractiveuidata : *const EAP_INTERACTIVE_UI_DATA , pdwsizeofdatafrominteractiveui : *mut u32 , ppdatafrominteractiveui : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR , ppvreserved : *mut *mut ::core::ffi::c_void ) -> u32 ); EapHostPeerQueryUIBlobFromInteractiveUIInputFields(dwversion, dwflags, puicontextdata.len() as _, ::core::mem::transmute(puicontextdata.as_ptr()), peapinteractiveuidata, pdwsizeofdatafrominteractiveui, ppdatafrominteractiveui, ppeaperror, ppvreserved) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] @@ -215,25 +215,25 @@ pub unsafe fn EapHostPeerQueryUserBlobFromCredentialInputFields(huserimperso where P0: ::std::convert::Into, { - ::windows::core::link ! ( "eappcfg.dll""system" fn EapHostPeerQueryUserBlobFromCredentialInputFields ( huserimpersonationtoken : super::super::Foundation:: HANDLE , eapmethodtype : EAP_METHOD_TYPE , dwflags : u32 , dweapconndatasize : u32 , pbeapconndata : *const u8 , peapconfiginputfieldarray : *const EAP_CONFIG_INPUT_FIELD_ARRAY , pdwuserblobsize : *mut u32 , ppbuserblob : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappcfg.dll""system" fn EapHostPeerQueryUserBlobFromCredentialInputFields ( huserimpersonationtoken : super::super::Foundation:: HANDLE , eapmethodtype : EAP_METHOD_TYPE , dwflags : u32 , dweapconndatasize : u32 , pbeapconndata : *const u8 , peapconfiginputfieldarray : *const EAP_CONFIG_INPUT_FIELD_ARRAY , pdwuserblobsize : *mut u32 , ppbuserblob : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerQueryUserBlobFromCredentialInputFields(huserimpersonationtoken.into(), ::core::mem::transmute(eapmethodtype), dwflags, pbeapconndata.len() as _, ::core::mem::transmute(pbeapconndata.as_ptr()), peapconfiginputfieldarray, pdwuserblobsize, ppbuserblob, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerSetResponseAttributes(sessionhandle: u32, pattribs: *const EAP_ATTRIBUTES, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerSetResponseAttributes ( sessionhandle : u32 , pattribs : *const EAP_ATTRIBUTES , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerSetResponseAttributes ( sessionhandle : u32 , pattribs : *const EAP_ATTRIBUTES , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerSetResponseAttributes(sessionhandle, pattribs, peapoutput, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerSetUIContext(sessionhandle: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32 { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerSetUIContext ( sessionhandle : u32 , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerSetUIContext ( sessionhandle : u32 , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); EapHostPeerSetUIContext(sessionhandle, dwsizeofuicontextdata, puicontextdata, peapoutput, ppeaperror) } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[inline] pub unsafe fn EapHostPeerUninitialize() { - ::windows::core::link ! ( "eappprxy.dll""system" fn EapHostPeerUninitialize ( ) -> ( ) ); + ::windows::imp::link ! ( "eappprxy.dll""system" fn EapHostPeerUninitialize ( ) -> ( ) ); EapHostPeerUninitialize() } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] @@ -265,7 +265,7 @@ impl IAccountingProviderConfig { (::windows::core::Vtable::vtable(self).Deactivate)(::windows::core::Vtable::as_raw(self), uconnectionparam, ureserved1, ureserved2).ok() } } -::windows::core::interface_hierarchy!(IAccountingProviderConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccountingProviderConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccountingProviderConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -330,7 +330,7 @@ impl IAuthenticationProviderConfig { (::windows::core::Vtable::vtable(self).Deactivate)(::windows::core::Vtable::as_raw(self), uconnectionparam, ureserved1, ureserved2).ok() } } -::windows::core::interface_hierarchy!(IAuthenticationProviderConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAuthenticationProviderConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAuthenticationProviderConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -405,7 +405,7 @@ impl IEAPProviderConfig { (::windows::core::Vtable::vtable(self).RouterInvokeCredentialsUI)(::windows::core::Vtable::as_raw(self), dweaptypeid, uconnectionparam, hwndparent.into(), dwflags, ::core::mem::transmute(pconnectiondatain.as_ptr()), pconnectiondatain.len() as _, ::core::mem::transmute(puserdatain.as_ptr()), puserdatain.len() as _, ppuserdataout, pdwsizeofuserdataout).ok() } } -::windows::core::interface_hierarchy!(IEAPProviderConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEAPProviderConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEAPProviderConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -497,7 +497,7 @@ impl IEAPProviderConfig2 { (::windows::core::Vtable::vtable(self).GetGlobalConfig)(::windows::core::Vtable::as_raw(self), dweaptypeid, ppconfigdataout, pdwsizeofconfigdataout).ok() } } -::windows::core::interface_hierarchy!(IEAPProviderConfig2, ::windows::core::IUnknown, IEAPProviderConfig); +::windows::imp::interface_hierarchy!(IEAPProviderConfig2, ::windows::core::IUnknown, IEAPProviderConfig); impl ::core::cmp::PartialEq for IEAPProviderConfig2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -588,7 +588,7 @@ impl IEAPProviderConfig3 { (::windows::core::Vtable::vtable(self).ServerInvokeCertificateConfigUI)(::windows::core::Vtable::as_raw(self), dweaptypeid, uconnectionparam, hwnd.into(), pconfigdatain, dwsizeofconfigdatain, ppconfigdataout, pdwsizeofconfigdataout, ureserved).ok() } } -::windows::core::interface_hierarchy!(IEAPProviderConfig3, ::windows::core::IUnknown, IEAPProviderConfig, IEAPProviderConfig2); +::windows::imp::interface_hierarchy!(IEAPProviderConfig3, ::windows::core::IUnknown, IEAPProviderConfig, IEAPProviderConfig2); impl ::core::cmp::PartialEq for IEAPProviderConfig3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -645,7 +645,7 @@ impl IRouterProtocolConfig { (::windows::core::Vtable::vtable(self).RemoveProtocol)(::windows::core::Vtable::as_raw(self), pszmachinename.into().abi(), dwtransportid, dwprotocolid, hwnd.into(), dwflags, prouter.into().abi(), ureserved1).ok() } } -::windows::core::interface_hierarchy!(IRouterProtocolConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRouterProtocolConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRouterProtocolConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs index 341c89d47a..21b9579282 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs @@ -7,7 +7,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn CreateAppContainerProfile ( pszappcontainername : :: windows::core::PCWSTR , pszdisplayname : :: windows::core::PCWSTR , pszdescription : :: windows::core::PCWSTR , pcapabilities : *const super:: SID_AND_ATTRIBUTES , dwcapabilitycount : u32 , ppsidappcontainersid : *mut super::super::Foundation:: PSID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn CreateAppContainerProfile ( pszappcontainername : :: windows::core::PCWSTR , pszdisplayname : :: windows::core::PCWSTR , pszdescription : :: windows::core::PCWSTR , pcapabilities : *const super:: SID_AND_ATTRIBUTES , dwcapabilitycount : u32 , ppsidappcontainersid : *mut super::super::Foundation:: PSID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateAppContainerProfile(pszappcontainername.into().abi(), pszdisplayname.into().abi(), pszdescription.into().abi(), ::core::mem::transmute(pcapabilities.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcapabilities.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -17,7 +17,7 @@ pub unsafe fn DeleteAppContainerProfile(pszappcontainername: P0) -> ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn DeleteAppContainerProfile ( pszappcontainername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn DeleteAppContainerProfile ( pszappcontainername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DeleteAppContainerProfile(pszappcontainername.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] @@ -27,7 +27,7 @@ pub unsafe fn DeriveAppContainerSidFromAppContainerName(pszappcontainername: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn DeriveAppContainerSidFromAppContainerName ( pszappcontainername : :: windows::core::PCWSTR , ppsidappcontainersid : *mut super::super::Foundation:: PSID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn DeriveAppContainerSidFromAppContainerName ( pszappcontainername : :: windows::core::PCWSTR , ppsidappcontainersid : *mut super::super::Foundation:: PSID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DeriveAppContainerSidFromAppContainerName(pszappcontainername.into().abi(), &mut result__).from_abi(result__) } @@ -39,7 +39,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName ( psidappcontainersid : super::super::Foundation:: PSID , pszrestrictedappcontainername : :: windows::core::PCWSTR , ppsidrestrictedappcontainersid : *mut super::super::Foundation:: PSID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName ( psidappcontainersid : super::super::Foundation:: PSID , pszrestrictedappcontainername : :: windows::core::PCWSTR , ppsidrestrictedappcontainersid : *mut super::super::Foundation:: PSID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid.into(), pszrestrictedappcontainername.into().abi(), &mut result__).from_abi(result__) } @@ -49,7 +49,7 @@ pub unsafe fn GetAppContainerFolderPath(pszappcontainersid: P0) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn GetAppContainerFolderPath ( pszappcontainersid : :: windows::core::PCWSTR , ppszpath : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetAppContainerFolderPath ( pszappcontainersid : :: windows::core::PCWSTR , ppszpath : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); GetAppContainerFolderPath(pszappcontainersid.into().abi(), &mut result__).from_abi(result__) } @@ -61,14 +61,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetAppContainerNamedObjectPath ( token : super::super::Foundation:: HANDLE , appcontainersid : super::super::Foundation:: PSID , objectpathlength : u32 , objectpath : :: windows::core::PWSTR , returnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetAppContainerNamedObjectPath ( token : super::super::Foundation:: HANDLE , appcontainersid : super::super::Foundation:: PSID , objectpathlength : u32 , objectpath : :: windows::core::PWSTR , returnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GetAppContainerNamedObjectPath(token.into(), appcontainersid.into(), objectpath.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(objectpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnlength) } #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn GetAppContainerRegistryLocation(desiredaccess: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "userenv.dll""system" fn GetAppContainerRegistryLocation ( desiredaccess : u32 , phappcontainerkey : *mut super::super::System::Registry:: HKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetAppContainerRegistryLocation ( desiredaccess : u32 , phappcontainerkey : *mut super::super::System::Registry:: HKEY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetAppContainerRegistryLocation(desiredaccess, &mut result__).from_abi(result__) } @@ -76,7 +76,7 @@ pub unsafe fn GetAppContainerRegistryLocation(desiredaccess: u32) -> ::windows:: #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsProcessInIsolatedContainer() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-security-isolatedcontainer-l1-1-0.dll""system" fn IsProcessInIsolatedContainer ( isprocessinisolatedcontainer : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-security-isolatedcontainer-l1-1-0.dll""system" fn IsProcessInIsolatedContainer ( isprocessinisolatedcontainer : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IsProcessInIsolatedContainer(&mut result__).from_abi(result__) } @@ -84,7 +84,7 @@ pub unsafe fn IsProcessInIsolatedContainer() -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "isolatedwindowsenvironmentutils.dll""system" fn IsProcessInIsolatedWindowsEnvironment ( isprocessinisolatedwindowsenvironment : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "isolatedwindowsenvironmentutils.dll""system" fn IsProcessInIsolatedWindowsEnvironment ( isprocessinisolatedwindowsenvironment : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IsProcessInIsolatedWindowsEnvironment(&mut result__).from_abi(result__) } @@ -92,7 +92,7 @@ pub unsafe fn IsProcessInIsolatedWindowsEnvironment() -> ::windows::core::Result #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsProcessInWDAGContainer(reserved: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-security-isolatedcontainer-l1-1-1.dll""system" fn IsProcessInWDAGContainer ( reserved : *const ::core::ffi::c_void , isprocessinwdagcontainer : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-security-isolatedcontainer-l1-1-1.dll""system" fn IsProcessInWDAGContainer ( reserved : *const ::core::ffi::c_void , isprocessinwdagcontainer : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IsProcessInWDAGContainer(reserved, &mut result__).from_abi(result__) } @@ -110,7 +110,7 @@ impl IIsolatedAppLauncher { (::windows::core::Vtable::vtable(self).Launch)(::windows::core::Vtable::as_raw(self), appusermodelid.into().abi(), arguments.into().abi(), telemetryparameters).ok() } } -::windows::core::interface_hierarchy!(IIsolatedAppLauncher, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsolatedAppLauncher, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsolatedAppLauncher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs index 7e2dd3e119..96d4995249 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn RegisterLicenseKeyWithExpiration(licensekey: P0, validityinday where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "licenseprotection.dll""system" fn RegisterLicenseKeyWithExpiration ( licensekey : :: windows::core::PCWSTR , validityindays : u32 , status : *mut LicenseProtectionStatus ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "licenseprotection.dll""system" fn RegisterLicenseKeyWithExpiration ( licensekey : :: windows::core::PCWSTR , validityindays : u32 , status : *mut LicenseProtectionStatus ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RegisterLicenseKeyWithExpiration(licensekey.into().abi(), validityindays, &mut result__).from_abi(result__) } @@ -15,7 +15,7 @@ pub unsafe fn ValidateLicenseKeyProtection(licensekey: P0, notvalidbefore: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "licenseprotection.dll""system" fn ValidateLicenseKeyProtection ( licensekey : :: windows::core::PCWSTR , notvalidbefore : *mut super::super::Foundation:: FILETIME , notvalidafter : *mut super::super::Foundation:: FILETIME , status : *mut LicenseProtectionStatus ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "licenseprotection.dll""system" fn ValidateLicenseKeyProtection ( licensekey : :: windows::core::PCWSTR , notvalidbefore : *mut super::super::Foundation:: FILETIME , notvalidafter : *mut super::super::Foundation:: FILETIME , status : *mut LicenseProtectionStatus ) -> :: windows::core::HRESULT ); ValidateLicenseKeyProtection(licensekey.into().abi(), notvalidbefore, notvalidafter, status).ok() } #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs index 19c7aee0ca..e0c873dbca 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs @@ -23,7 +23,7 @@ impl ITpmVirtualSmartCardManager { (::windows::core::Vtable::vtable(self).DestroyVirtualSmartCard)(::windows::core::Vtable::as_raw(self), pszinstanceid.into().abi(), pstatuscallback.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITpmVirtualSmartCardManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITpmVirtualSmartCardManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITpmVirtualSmartCardManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -94,7 +94,7 @@ impl ITpmVirtualSmartCardManager2 { (::windows::core::Vtable::vtable(self).CreateVirtualSmartCardWithPinPolicy)(::windows::core::Vtable::as_raw(self), pszfriendlyname.into().abi(), badminalgid, ::core::mem::transmute(pbadminkey.as_ptr()), pbadminkey.len() as _, ::core::mem::transmute(pbadminkcv.as_ptr()), pbadminkcv.len() as _, ::core::mem::transmute(pbpuk.as_ptr()), pbpuk.len() as _, ::core::mem::transmute(pbpin.as_ptr()), pbpin.len() as _, ::core::mem::transmute(pbpinpolicy.as_ptr()), pbpinpolicy.len() as _, fgenerate.into(), pstatuscallback.into().abi(), ppszinstanceid, pfneedreboot).ok() } } -::windows::core::interface_hierarchy!(ITpmVirtualSmartCardManager2, ::windows::core::IUnknown, ITpmVirtualSmartCardManager); +::windows::imp::interface_hierarchy!(ITpmVirtualSmartCardManager2, ::windows::core::IUnknown, ITpmVirtualSmartCardManager); impl ::core::cmp::PartialEq for ITpmVirtualSmartCardManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -191,7 +191,7 @@ impl ITpmVirtualSmartCardManager3 { .from_abi(result__) } } -::windows::core::interface_hierarchy!(ITpmVirtualSmartCardManager3, ::windows::core::IUnknown, ITpmVirtualSmartCardManager, ITpmVirtualSmartCardManager2); +::windows::imp::interface_hierarchy!(ITpmVirtualSmartCardManager3, ::windows::core::IUnknown, ITpmVirtualSmartCardManager, ITpmVirtualSmartCardManager2); impl ::core::cmp::PartialEq for ITpmVirtualSmartCardManager3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -234,7 +234,7 @@ impl ITpmVirtualSmartCardManagerStatusCallback { (::windows::core::Vtable::vtable(self).ReportError)(::windows::core::Vtable::as_raw(self), error).ok() } } -::windows::core::interface_hierarchy!(ITpmVirtualSmartCardManagerStatusCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITpmVirtualSmartCardManagerStatusCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITpmVirtualSmartCardManagerStatusCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs index ea250f4200..ea7256355b 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn OpenPersonalTrustDBDialog(hwndparent: P0) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn OpenPersonalTrustDBDialog ( hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn OpenPersonalTrustDBDialog ( hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); OpenPersonalTrustDBDialog(hwndparent.into()) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] @@ -15,35 +15,35 @@ pub unsafe fn OpenPersonalTrustDBDialogEx(hwndparent: P0, dwflags: u32, pvre where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn OpenPersonalTrustDBDialogEx ( hwndparent : super::super::Foundation:: HWND , dwflags : u32 , pvreserved : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn OpenPersonalTrustDBDialogEx ( hwndparent : super::super::Foundation:: HWND , dwflags : u32 , pvreserved : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); OpenPersonalTrustDBDialogEx(hwndparent.into(), dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] #[inline] pub unsafe fn WTHelperCertCheckValidSignature(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wintrust.dll""system" fn WTHelperCertCheckValidSignature ( pprovdata : *mut CRYPT_PROVIDER_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WTHelperCertCheckValidSignature ( pprovdata : *mut CRYPT_PROVIDER_DATA ) -> :: windows::core::HRESULT ); WTHelperCertCheckValidSignature(pprovdata).ok() } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn WTHelperCertIsSelfSigned(dwencoding: u32, pcert: *mut super::Cryptography::CERT_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn WTHelperCertIsSelfSigned ( dwencoding : u32 , pcert : *mut super::Cryptography:: CERT_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WTHelperCertIsSelfSigned ( dwencoding : u32 , pcert : *mut super::Cryptography:: CERT_INFO ) -> super::super::Foundation:: BOOL ); WTHelperCertIsSelfSigned(dwencoding, pcert) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn WTHelperGetProvCertFromChain(psgnr: *mut CRYPT_PROVIDER_SGNR, idxcert: u32) -> *mut CRYPT_PROVIDER_CERT { - ::windows::core::link ! ( "wintrust.dll""system" fn WTHelperGetProvCertFromChain ( psgnr : *mut CRYPT_PROVIDER_SGNR , idxcert : u32 ) -> *mut CRYPT_PROVIDER_CERT ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WTHelperGetProvCertFromChain ( psgnr : *mut CRYPT_PROVIDER_SGNR , idxcert : u32 ) -> *mut CRYPT_PROVIDER_CERT ); WTHelperGetProvCertFromChain(psgnr, idxcert) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] #[inline] pub unsafe fn WTHelperGetProvPrivateDataFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, pgproviderid: *mut ::windows::core::GUID) -> *mut CRYPT_PROVIDER_PRIVDATA { - ::windows::core::link ! ( "wintrust.dll""system" fn WTHelperGetProvPrivateDataFromChain ( pprovdata : *mut CRYPT_PROVIDER_DATA , pgproviderid : *mut :: windows::core::GUID ) -> *mut CRYPT_PROVIDER_PRIVDATA ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WTHelperGetProvPrivateDataFromChain ( pprovdata : *mut CRYPT_PROVIDER_DATA , pgproviderid : *mut :: windows::core::GUID ) -> *mut CRYPT_PROVIDER_PRIVDATA ); WTHelperGetProvPrivateDataFromChain(pprovdata, pgproviderid) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -53,7 +53,7 @@ pub unsafe fn WTHelperGetProvSignerFromChain(pprovdata: *mut CRYPT_PROVIDER_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn WTHelperGetProvSignerFromChain ( pprovdata : *mut CRYPT_PROVIDER_DATA , idxsigner : u32 , fcountersigner : super::super::Foundation:: BOOL , idxcountersigner : u32 ) -> *mut CRYPT_PROVIDER_SGNR ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WTHelperGetProvSignerFromChain ( pprovdata : *mut CRYPT_PROVIDER_DATA , idxsigner : u32 , fcountersigner : super::super::Foundation:: BOOL , idxcountersigner : u32 ) -> *mut CRYPT_PROVIDER_SGNR ); WTHelperGetProvSignerFromChain(pprovdata, idxsigner, fcountersigner.into(), idxcountersigner) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn WTHelperProvDataFromStateData(hstatedata: P0) -> *mut CRYPT_PR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn WTHelperProvDataFromStateData ( hstatedata : super::super::Foundation:: HANDLE ) -> *mut CRYPT_PROVIDER_DATA ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WTHelperProvDataFromStateData ( hstatedata : super::super::Foundation:: HANDLE ) -> *mut CRYPT_PROVIDER_DATA ); WTHelperProvDataFromStateData(hstatedata.into()) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] @@ -73,7 +73,7 @@ pub unsafe fn WinVerifyTrust(hwnd: P0, pgactionid: *mut ::windows::core::GUI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn WinVerifyTrust ( hwnd : super::super::Foundation:: HWND , pgactionid : *mut :: windows::core::GUID , pwvtdata : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WinVerifyTrust ( hwnd : super::super::Foundation:: HWND , pgactionid : *mut :: windows::core::GUID , pwvtdata : *mut ::core::ffi::c_void ) -> i32 ); WinVerifyTrust(hwnd.into(), pgactionid, pwvtdata) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -83,14 +83,14 @@ pub unsafe fn WinVerifyTrustEx(hwnd: P0, pgactionid: *mut ::windows::core::G where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn WinVerifyTrustEx ( hwnd : super::super::Foundation:: HWND , pgactionid : *mut :: windows::core::GUID , pwintrustdata : *mut WINTRUST_DATA ) -> i32 ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WinVerifyTrustEx ( hwnd : super::super::Foundation:: HWND , pgactionid : *mut :: windows::core::GUID , pwintrustdata : *mut WINTRUST_DATA ) -> i32 ); WinVerifyTrustEx(hwnd.into(), pgactionid, pwintrustdata) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WintrustAddActionID(pgactionid: *const ::windows::core::GUID, fdwflags: u32, psprovinfo: *const CRYPT_REGISTER_ACTIONID) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn WintrustAddActionID ( pgactionid : *const :: windows::core::GUID , fdwflags : u32 , psprovinfo : *const CRYPT_REGISTER_ACTIONID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WintrustAddActionID ( pgactionid : *const :: windows::core::GUID , fdwflags : u32 , psprovinfo : *const CRYPT_REGISTER_ACTIONID ) -> super::super::Foundation:: BOOL ); WintrustAddActionID(pgactionid, fdwflags, psprovinfo) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] @@ -100,7 +100,7 @@ pub unsafe fn WintrustAddDefaultForUsage(pszusageoid: P0, psdefusage: *const where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn WintrustAddDefaultForUsage ( pszusageoid : :: windows::core::PCSTR , psdefusage : *const CRYPT_PROVIDER_REGDEFUSAGE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WintrustAddDefaultForUsage ( pszusageoid : :: windows::core::PCSTR , psdefusage : *const CRYPT_PROVIDER_REGDEFUSAGE ) -> super::super::Foundation:: BOOL ); WintrustAddDefaultForUsage(pszusageoid.into().abi(), psdefusage) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] @@ -110,27 +110,27 @@ pub unsafe fn WintrustGetDefaultForUsage(dwaction: WINTRUST_GET_DEFAULT_FOR_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wintrust.dll""system" fn WintrustGetDefaultForUsage ( dwaction : WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION , pszusageoid : :: windows::core::PCSTR , psusage : *mut CRYPT_PROVIDER_DEFUSAGE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WintrustGetDefaultForUsage ( dwaction : WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION , pszusageoid : :: windows::core::PCSTR , psusage : *mut CRYPT_PROVIDER_DEFUSAGE ) -> super::super::Foundation:: BOOL ); WintrustGetDefaultForUsage(dwaction, pszusageoid.into().abi(), psusage) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] #[inline] pub unsafe fn WintrustGetRegPolicyFlags(pdwpolicyflags: *mut WINTRUST_POLICY_FLAGS) { - ::windows::core::link ! ( "wintrust.dll""system" fn WintrustGetRegPolicyFlags ( pdwpolicyflags : *mut WINTRUST_POLICY_FLAGS ) -> ( ) ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WintrustGetRegPolicyFlags ( pdwpolicyflags : *mut WINTRUST_POLICY_FLAGS ) -> ( ) ); WintrustGetRegPolicyFlags(pdwpolicyflags) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] #[inline] pub unsafe fn WintrustLoadFunctionPointers(pgactionid: *mut ::windows::core::GUID, ppfns: *mut CRYPT_PROVIDER_FUNCTIONS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn WintrustLoadFunctionPointers ( pgactionid : *mut :: windows::core::GUID , ppfns : *mut CRYPT_PROVIDER_FUNCTIONS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WintrustLoadFunctionPointers ( pgactionid : *mut :: windows::core::GUID , ppfns : *mut CRYPT_PROVIDER_FUNCTIONS ) -> super::super::Foundation:: BOOL ); WintrustLoadFunctionPointers(pgactionid, ppfns) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WintrustRemoveActionID(pgactionid: *const ::windows::core::GUID) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn WintrustRemoveActionID ( pgactionid : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WintrustRemoveActionID ( pgactionid : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); WintrustRemoveActionID(pgactionid) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] @@ -140,14 +140,14 @@ pub unsafe fn WintrustSetDefaultIncludePEPageHashes(fincludepepagehashes: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wintrust.dll""system" fn WintrustSetDefaultIncludePEPageHashes ( fincludepepagehashes : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WintrustSetDefaultIncludePEPageHashes ( fincludepepagehashes : super::super::Foundation:: BOOL ) -> ( ) ); WintrustSetDefaultIncludePEPageHashes(fincludepepagehashes.into()) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WintrustSetRegPolicyFlags(dwpolicyflags: WINTRUST_POLICY_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wintrust.dll""system" fn WintrustSetRegPolicyFlags ( dwpolicyflags : WINTRUST_POLICY_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wintrust.dll""system" fn WintrustSetRegPolicyFlags ( dwpolicyflags : WINTRUST_POLICY_FLAGS ) -> super::super::Foundation:: BOOL ); WintrustSetRegPolicyFlags(dwpolicyflags) } #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/mod.rs index 19ca8b8382..ce6a4873ab 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/mod.rs @@ -38,7 +38,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheck ( psecuritydescriptor : PSECURITY_DESCRIPTOR , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , genericmapping : *const GENERIC_MAPPING , privilegeset : *mut PRIVILEGE_SET , privilegesetlength : *mut u32 , grantedaccess : *mut u32 , accessstatus : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheck ( psecuritydescriptor : PSECURITY_DESCRIPTOR , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , genericmapping : *const GENERIC_MAPPING , privilegeset : *mut PRIVILEGE_SET , privilegesetlength : *mut u32 , grantedaccess : *mut u32 , accessstatus : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheck(psecuritydescriptor.into(), clienttoken.into(), desiredaccess, genericmapping, ::core::mem::transmute(privilegeset.unwrap_or(::std::ptr::null_mut())), privilegesetlength, grantedaccess, accessstatus) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -52,7 +52,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckAndAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , securitydescriptor : PSECURITY_DESCRIPTOR , desiredaccess : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatus : *mut i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckAndAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , securitydescriptor : PSECURITY_DESCRIPTOR , desiredaccess : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatus : *mut i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckAndAuditAlarmA(subsystemname.into().abi(), ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename.into().abi(), objectname.into().abi(), securitydescriptor.into(), desiredaccess, genericmapping, objectcreation.into(), grantedaccess, accessstatus, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -66,7 +66,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckAndAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , securitydescriptor : PSECURITY_DESCRIPTOR , desiredaccess : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatus : *mut i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckAndAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , securitydescriptor : PSECURITY_DESCRIPTOR , desiredaccess : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatus : *mut i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckAndAuditAlarmW(subsystemname.into().abi(), ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename.into().abi(), objectname.into().abi(), securitydescriptor.into(), desiredaccess, genericmapping, objectcreation.into(), grantedaccess, accessstatus, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -78,7 +78,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckByType ( psecuritydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , privilegeset : *mut PRIVILEGE_SET , privilegesetlength : *mut u32 , grantedaccess : *mut u32 , accessstatus : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckByType ( psecuritydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , privilegeset : *mut PRIVILEGE_SET , privilegesetlength : *mut u32 , grantedaccess : *mut u32 , accessstatus : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckByType(psecuritydescriptor.into(), principalselfsid.into(), clienttoken.into(), desiredaccess, ::core::mem::transmute(objecttypelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), objecttypelist.as_deref().map_or(0, |slice| slice.len() as _), genericmapping, ::core::mem::transmute(privilegeset.unwrap_or(::std::ptr::null_mut())), privilegesetlength, grantedaccess, accessstatus) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -93,7 +93,7 @@ where P4: ::std::convert::Into, P5: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckByTypeAndAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatus : *mut i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckByTypeAndAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatus : *mut i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckByTypeAndAuditAlarmA(subsystemname.into().abi(), handleid, objecttypename.into().abi(), objectname.into().abi(), securitydescriptor.into(), principalselfsid.into(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), objecttypelist.as_deref().map_or(0, |slice| slice.len() as _), genericmapping, objectcreation.into(), grantedaccess, accessstatus, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -108,7 +108,7 @@ where P4: ::std::convert::Into, P5: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckByTypeAndAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatus : *mut i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckByTypeAndAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatus : *mut i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckByTypeAndAuditAlarmW(subsystemname.into().abi(), handleid, objecttypename.into().abi(), objectname.into().abi(), securitydescriptor.into(), principalselfsid.into(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), objecttypelist.as_deref().map_or(0, |slice| slice.len() as _), genericmapping, objectcreation.into(), grantedaccess, accessstatus, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -120,7 +120,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultList ( psecuritydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , privilegeset : *mut PRIVILEGE_SET , privilegesetlength : *mut u32 , grantedaccesslist : *mut u32 , accessstatuslist : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultList ( psecuritydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , privilegeset : *mut PRIVILEGE_SET , privilegesetlength : *mut u32 , grantedaccesslist : *mut u32 , accessstatuslist : *mut u32 ) -> super::Foundation:: BOOL ); AccessCheckByTypeResultList(psecuritydescriptor.into(), principalselfsid.into(), clienttoken.into(), desiredaccess, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, ::core::mem::transmute(privilegeset.unwrap_or(::std::ptr::null_mut())), privilegesetlength, grantedaccesslist, accessstatuslist) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -135,7 +135,7 @@ where P4: ::std::convert::Into, P5: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultListAndAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatuslist : *mut u32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultListAndAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatuslist : *mut u32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckByTypeResultListAndAuditAlarmA(subsystemname.into().abi(), handleid, objecttypename.into().abi(), objectname.into().abi(), securitydescriptor.into(), principalselfsid.into(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, objectcreation.into(), grantedaccess, accessstatuslist, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -151,7 +151,7 @@ where P5: ::std::convert::Into, P6: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultListAndAuditAlarmByHandleA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , clienttoken : super::Foundation:: HANDLE , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatuslist : *mut u32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultListAndAuditAlarmByHandleA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , clienttoken : super::Foundation:: HANDLE , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccess : *mut u32 , accessstatuslist : *mut u32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname.into().abi(), handleid, clienttoken.into(), objecttypename.into().abi(), objectname.into().abi(), securitydescriptor.into(), principalselfsid.into(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, objectcreation.into(), grantedaccess, accessstatuslist, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -167,7 +167,7 @@ where P5: ::std::convert::Into, P6: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultListAndAuditAlarmByHandleW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , clienttoken : super::Foundation:: HANDLE , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccesslist : *mut u32 , accessstatuslist : *mut u32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultListAndAuditAlarmByHandleW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , clienttoken : super::Foundation:: HANDLE , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccesslist : *mut u32 , accessstatuslist : *mut u32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname.into().abi(), handleid, clienttoken.into(), objecttypename.into().abi(), objectname.into().abi(), securitydescriptor.into(), principalselfsid.into(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, objectcreation.into(), grantedaccesslist, accessstatuslist, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -182,7 +182,7 @@ where P4: ::std::convert::Into, P5: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultListAndAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccesslist : *mut u32 , accessstatuslist : *mut u32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AccessCheckByTypeResultListAndAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , securitydescriptor : PSECURITY_DESCRIPTOR , principalselfsid : super::Foundation:: PSID , desiredaccess : u32 , audittype : AUDIT_EVENT_TYPE , flags : u32 , objecttypelist : *mut OBJECT_TYPE_LIST , objecttypelistlength : u32 , genericmapping : *const GENERIC_MAPPING , objectcreation : super::Foundation:: BOOL , grantedaccesslist : *mut u32 , accessstatuslist : *mut u32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); AccessCheckByTypeResultListAndAuditAlarmW(subsystemname.into().abi(), handleid, objecttypename.into().abi(), objectname.into().abi(), securitydescriptor.into(), principalselfsid.into(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, objectcreation.into(), grantedaccesslist, accessstatuslist, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -192,7 +192,7 @@ pub unsafe fn AddAccessAllowedAce(pacl: *mut ACL, dwacerevision: ACE_REVISIO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAccessAllowedAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAccessAllowedAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AddAccessAllowedAce(pacl, dwacerevision, accessmask, psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -202,7 +202,7 @@ pub unsafe fn AddAccessAllowedAceEx(pacl: *mut ACL, dwacerevision: ACE_REVIS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAccessAllowedAceEx ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAccessAllowedAceEx ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AddAccessAllowedAceEx(pacl, dwacerevision, aceflags, accessmask, psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -212,7 +212,7 @@ pub unsafe fn AddAccessAllowedObjectAce(pacl: *mut ACL, dwacerevision: ACE_R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAccessAllowedObjectAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , objecttypeguid : *const :: windows::core::GUID , inheritedobjecttypeguid : *const :: windows::core::GUID , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAccessAllowedObjectAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , objecttypeguid : *const :: windows::core::GUID , inheritedobjecttypeguid : *const :: windows::core::GUID , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AddAccessAllowedObjectAce(pacl, dwacerevision, aceflags, accessmask, ::core::mem::transmute(objecttypeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(inheritedobjecttypeguid.unwrap_or(::std::ptr::null())), psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -222,7 +222,7 @@ pub unsafe fn AddAccessDeniedAce(pacl: *mut ACL, dwacerevision: ACE_REVISION where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAccessDeniedAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAccessDeniedAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AddAccessDeniedAce(pacl, dwacerevision, accessmask, psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -232,7 +232,7 @@ pub unsafe fn AddAccessDeniedAceEx(pacl: *mut ACL, dwacerevision: ACE_REVISI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAccessDeniedAceEx ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAccessDeniedAceEx ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AddAccessDeniedAceEx(pacl, dwacerevision, aceflags, accessmask, psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -242,14 +242,14 @@ pub unsafe fn AddAccessDeniedObjectAce(pacl: *mut ACL, dwacerevision: ACE_RE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAccessDeniedObjectAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , objecttypeguid : *const :: windows::core::GUID , inheritedobjecttypeguid : *const :: windows::core::GUID , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAccessDeniedObjectAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , objecttypeguid : *const :: windows::core::GUID , inheritedobjecttypeguid : *const :: windows::core::GUID , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AddAccessDeniedObjectAce(pacl, dwacerevision, aceflags, accessmask, ::core::mem::transmute(objecttypeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(inheritedobjecttypeguid.unwrap_or(::std::ptr::null())), psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AddAce(pacl: *mut ACL, dwacerevision: ACE_REVISION, dwstartingaceindex: u32, pacelist: *const ::core::ffi::c_void, nacelistlength: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , dwstartingaceindex : u32 , pacelist : *const ::core::ffi::c_void , nacelistlength : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , dwstartingaceindex : u32 , pacelist : *const ::core::ffi::c_void , nacelistlength : u32 ) -> super::Foundation:: BOOL ); AddAce(pacl, dwacerevision, dwstartingaceindex, pacelist, nacelistlength) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -261,7 +261,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAuditAccessAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , dwaccessmask : u32 , psid : super::Foundation:: PSID , bauditsuccess : super::Foundation:: BOOL , bauditfailure : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAuditAccessAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , dwaccessmask : u32 , psid : super::Foundation:: PSID , bauditsuccess : super::Foundation:: BOOL , bauditfailure : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); AddAuditAccessAce(pacl, dwacerevision, dwaccessmask, psid.into(), bauditsuccess.into(), bauditfailure.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -273,7 +273,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAuditAccessAceEx ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , dwaccessmask : u32 , psid : super::Foundation:: PSID , bauditsuccess : super::Foundation:: BOOL , bauditfailure : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAuditAccessAceEx ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , dwaccessmask : u32 , psid : super::Foundation:: PSID , bauditsuccess : super::Foundation:: BOOL , bauditfailure : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); AddAuditAccessAceEx(pacl, dwacerevision, aceflags, dwaccessmask, psid.into(), bauditsuccess.into(), bauditfailure.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -285,7 +285,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddAuditAccessObjectAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , objecttypeguid : *const :: windows::core::GUID , inheritedobjecttypeguid : *const :: windows::core::GUID , psid : super::Foundation:: PSID , bauditsuccess : super::Foundation:: BOOL , bauditfailure : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddAuditAccessObjectAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , objecttypeguid : *const :: windows::core::GUID , inheritedobjecttypeguid : *const :: windows::core::GUID , psid : super::Foundation:: PSID , bauditsuccess : super::Foundation:: BOOL , bauditfailure : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); AddAuditAccessObjectAce(pacl, dwacerevision, aceflags, accessmask, ::core::mem::transmute(objecttypeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(inheritedobjecttypeguid.unwrap_or(::std::ptr::null())), psid.into(), bauditsuccess.into(), bauditfailure.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -296,7 +296,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddConditionalAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , acetype : u8 , accessmask : u32 , psid : super::Foundation:: PSID , conditionstr : :: windows::core::PCWSTR , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddConditionalAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , acetype : u8 , accessmask : u32 , psid : super::Foundation:: PSID , conditionstr : :: windows::core::PCWSTR , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); AddConditionalAce(pacl, dwacerevision, aceflags, acetype, accessmask, psid.into(), conditionstr.into().abi(), returnlength) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -306,7 +306,7 @@ pub unsafe fn AddMandatoryAce(pacl: *mut ACL, dwacerevision: ACE_REVISION, a where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddMandatoryAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , mandatorypolicy : u32 , plabelsid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddMandatoryAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , mandatorypolicy : u32 , plabelsid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AddMandatoryAce(pacl, dwacerevision, aceflags, mandatorypolicy, plabelsid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -316,7 +316,7 @@ pub unsafe fn AddResourceAttributeAce(pacl: *mut ACL, dwacerevision: ACE_REV where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddResourceAttributeAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , psid : super::Foundation:: PSID , pattributeinfo : *const CLAIM_SECURITY_ATTRIBUTES_INFORMATION , preturnlength : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddResourceAttributeAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , psid : super::Foundation:: PSID , pattributeinfo : *const CLAIM_SECURITY_ATTRIBUTES_INFORMATION , preturnlength : *mut u32 ) -> super::Foundation:: BOOL ); AddResourceAttributeAce(pacl, dwacerevision, aceflags, accessmask, psid.into(), pattributeinfo, preturnlength) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -326,7 +326,7 @@ pub unsafe fn AddScopedPolicyIDAce(pacl: *mut ACL, dwacerevision: ACE_REVISI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddScopedPolicyIDAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddScopedPolicyIDAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , aceflags : ACE_FLAGS , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AddScopedPolicyIDAce(pacl, dwacerevision, aceflags, accessmask, psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -337,7 +337,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AdjustTokenGroups ( tokenhandle : super::Foundation:: HANDLE , resettodefault : super::Foundation:: BOOL , newstate : *const TOKEN_GROUPS , bufferlength : u32 , previousstate : *mut TOKEN_GROUPS , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AdjustTokenGroups ( tokenhandle : super::Foundation:: HANDLE , resettodefault : super::Foundation:: BOOL , newstate : *const TOKEN_GROUPS , bufferlength : u32 , previousstate : *mut TOKEN_GROUPS , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); AdjustTokenGroups(tokenhandle.into(), resettodefault.into(), ::core::mem::transmute(newstate.unwrap_or(::std::ptr::null())), bufferlength, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -348,35 +348,35 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn AdjustTokenPrivileges ( tokenhandle : super::Foundation:: HANDLE , disableallprivileges : super::Foundation:: BOOL , newstate : *const TOKEN_PRIVILEGES , bufferlength : u32 , previousstate : *mut TOKEN_PRIVILEGES , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AdjustTokenPrivileges ( tokenhandle : super::Foundation:: HANDLE , disableallprivileges : super::Foundation:: BOOL , newstate : *const TOKEN_PRIVILEGES , bufferlength : u32 , previousstate : *mut TOKEN_PRIVILEGES , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); AdjustTokenPrivileges(tokenhandle.into(), disableallprivileges.into(), ::core::mem::transmute(newstate.unwrap_or(::std::ptr::null())), bufferlength, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AllocateAndInitializeSid(pidentifierauthority: *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount: u8, nsubauthority0: u32, nsubauthority1: u32, nsubauthority2: u32, nsubauthority3: u32, nsubauthority4: u32, nsubauthority5: u32, nsubauthority6: u32, nsubauthority7: u32, psid: *mut super::Foundation::PSID) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn AllocateAndInitializeSid ( pidentifierauthority : *const SID_IDENTIFIER_AUTHORITY , nsubauthoritycount : u8 , nsubauthority0 : u32 , nsubauthority1 : u32 , nsubauthority2 : u32 , nsubauthority3 : u32 , nsubauthority4 : u32 , nsubauthority5 : u32 , nsubauthority6 : u32 , nsubauthority7 : u32 , psid : *mut super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AllocateAndInitializeSid ( pidentifierauthority : *const SID_IDENTIFIER_AUTHORITY , nsubauthoritycount : u8 , nsubauthority0 : u32 , nsubauthority1 : u32 , nsubauthority2 : u32 , nsubauthority3 : u32 , nsubauthority4 : u32 , nsubauthority5 : u32 , nsubauthority6 : u32 , nsubauthority7 : u32 , psid : *mut super::Foundation:: PSID ) -> super::Foundation:: BOOL ); AllocateAndInitializeSid(pidentifierauthority, nsubauthoritycount, nsubauthority0, nsubauthority1, nsubauthority2, nsubauthority3, nsubauthority4, nsubauthority5, nsubauthority6, nsubauthority7, psid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AllocateLocallyUniqueId(luid: *mut super::Foundation::LUID) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn AllocateLocallyUniqueId ( luid : *mut super::Foundation:: LUID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AllocateLocallyUniqueId ( luid : *mut super::Foundation:: LUID ) -> super::Foundation:: BOOL ); AllocateLocallyUniqueId(luid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AreAllAccessesGranted(grantedaccess: u32, desiredaccess: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn AreAllAccessesGranted ( grantedaccess : u32 , desiredaccess : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AreAllAccessesGranted ( grantedaccess : u32 , desiredaccess : u32 ) -> super::Foundation:: BOOL ); AreAllAccessesGranted(grantedaccess, desiredaccess) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AreAnyAccessesGranted(grantedaccess: u32, desiredaccess: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn AreAnyAccessesGranted ( grantedaccess : u32 , desiredaccess : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AreAnyAccessesGranted ( grantedaccess : u32 , desiredaccess : u32 ) -> super::Foundation:: BOOL ); AreAnyAccessesGranted(grantedaccess, desiredaccess) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -387,7 +387,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CheckTokenCapability ( tokenhandle : super::Foundation:: HANDLE , capabilitysidtocheck : super::Foundation:: PSID , hascapability : *mut super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CheckTokenCapability ( tokenhandle : super::Foundation:: HANDLE , capabilitysidtocheck : super::Foundation:: PSID , hascapability : *mut super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); CheckTokenCapability(tokenhandle.into(), capabilitysidtocheck.into(), hascapability) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -398,7 +398,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CheckTokenMembership ( tokenhandle : super::Foundation:: HANDLE , sidtocheck : super::Foundation:: PSID , ismember : *mut super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CheckTokenMembership ( tokenhandle : super::Foundation:: HANDLE , sidtocheck : super::Foundation:: PSID , ismember : *mut super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); CheckTokenMembership(tokenhandle.into(), sidtocheck.into(), ismember) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -409,7 +409,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CheckTokenMembershipEx ( tokenhandle : super::Foundation:: HANDLE , sidtocheck : super::Foundation:: PSID , flags : u32 , ismember : *mut super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CheckTokenMembershipEx ( tokenhandle : super::Foundation:: HANDLE , sidtocheck : super::Foundation:: PSID , flags : u32 , ismember : *mut super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); CheckTokenMembershipEx(tokenhandle.into(), sidtocheck.into(), flags, ismember) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -421,7 +421,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ConvertToAutoInheritPrivateObjectSecurity ( parentdescriptor : PSECURITY_DESCRIPTOR , currentsecuritydescriptor : PSECURITY_DESCRIPTOR , newsecuritydescriptor : *mut PSECURITY_DESCRIPTOR , objecttype : *const :: windows::core::GUID , isdirectoryobject : super::Foundation:: BOOLEAN , genericmapping : *const GENERIC_MAPPING ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ConvertToAutoInheritPrivateObjectSecurity ( parentdescriptor : PSECURITY_DESCRIPTOR , currentsecuritydescriptor : PSECURITY_DESCRIPTOR , newsecuritydescriptor : *mut PSECURITY_DESCRIPTOR , objecttype : *const :: windows::core::GUID , isdirectoryobject : super::Foundation:: BOOLEAN , genericmapping : *const GENERIC_MAPPING ) -> super::Foundation:: BOOL ); ConvertToAutoInheritPrivateObjectSecurity(parentdescriptor.into(), currentsecuritydescriptor.into(), newsecuritydescriptor, ::core::mem::transmute(objecttype.unwrap_or(::std::ptr::null())), isdirectoryobject.into(), genericmapping) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -431,7 +431,7 @@ pub unsafe fn CopySid(ndestinationsidlength: u32, pdestinationsid: super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CopySid ( ndestinationsidlength : u32 , pdestinationsid : super::Foundation:: PSID , psourcesid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CopySid ( ndestinationsidlength : u32 , pdestinationsid : super::Foundation:: PSID , psourcesid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); CopySid(ndestinationsidlength, pdestinationsid, psourcesid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -444,7 +444,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreatePrivateObjectSecurity ( parentdescriptor : PSECURITY_DESCRIPTOR , creatordescriptor : PSECURITY_DESCRIPTOR , newdescriptor : *mut PSECURITY_DESCRIPTOR , isdirectoryobject : super::Foundation:: BOOL , token : super::Foundation:: HANDLE , genericmapping : *const GENERIC_MAPPING ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreatePrivateObjectSecurity ( parentdescriptor : PSECURITY_DESCRIPTOR , creatordescriptor : PSECURITY_DESCRIPTOR , newdescriptor : *mut PSECURITY_DESCRIPTOR , isdirectoryobject : super::Foundation:: BOOL , token : super::Foundation:: HANDLE , genericmapping : *const GENERIC_MAPPING ) -> super::Foundation:: BOOL ); CreatePrivateObjectSecurity(parentdescriptor.into(), creatordescriptor.into(), newdescriptor, isdirectoryobject.into(), token.into(), genericmapping) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -457,7 +457,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreatePrivateObjectSecurityEx ( parentdescriptor : PSECURITY_DESCRIPTOR , creatordescriptor : PSECURITY_DESCRIPTOR , newdescriptor : *mut PSECURITY_DESCRIPTOR , objecttype : *const :: windows::core::GUID , iscontainerobject : super::Foundation:: BOOL , autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS , token : super::Foundation:: HANDLE , genericmapping : *const GENERIC_MAPPING ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreatePrivateObjectSecurityEx ( parentdescriptor : PSECURITY_DESCRIPTOR , creatordescriptor : PSECURITY_DESCRIPTOR , newdescriptor : *mut PSECURITY_DESCRIPTOR , objecttype : *const :: windows::core::GUID , iscontainerobject : super::Foundation:: BOOL , autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS , token : super::Foundation:: HANDLE , genericmapping : *const GENERIC_MAPPING ) -> super::Foundation:: BOOL ); CreatePrivateObjectSecurityEx(parentdescriptor.into(), creatordescriptor.into(), newdescriptor, ::core::mem::transmute(objecttype.unwrap_or(::std::ptr::null())), iscontainerobject.into(), autoinheritflags, token.into(), genericmapping) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -470,7 +470,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreatePrivateObjectSecurityWithMultipleInheritance ( parentdescriptor : PSECURITY_DESCRIPTOR , creatordescriptor : PSECURITY_DESCRIPTOR , newdescriptor : *mut PSECURITY_DESCRIPTOR , objecttypes : *const *const :: windows::core::GUID , guidcount : u32 , iscontainerobject : super::Foundation:: BOOL , autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS , token : super::Foundation:: HANDLE , genericmapping : *const GENERIC_MAPPING ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreatePrivateObjectSecurityWithMultipleInheritance ( parentdescriptor : PSECURITY_DESCRIPTOR , creatordescriptor : PSECURITY_DESCRIPTOR , newdescriptor : *mut PSECURITY_DESCRIPTOR , objecttypes : *const *const :: windows::core::GUID , guidcount : u32 , iscontainerobject : super::Foundation:: BOOL , autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS , token : super::Foundation:: HANDLE , genericmapping : *const GENERIC_MAPPING ) -> super::Foundation:: BOOL ); CreatePrivateObjectSecurityWithMultipleInheritance(parentdescriptor.into(), creatordescriptor.into(), newdescriptor, ::core::mem::transmute(objecttypes.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), objecttypes.as_deref().map_or(0, |slice| slice.len() as _), iscontainerobject.into(), autoinheritflags, token.into(), genericmapping) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -480,7 +480,7 @@ pub unsafe fn CreateRestrictedToken(existingtokenhandle: P0, flags: CREATE_R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateRestrictedToken ( existingtokenhandle : super::Foundation:: HANDLE , flags : CREATE_RESTRICTED_TOKEN_FLAGS , disablesidcount : u32 , sidstodisable : *const SID_AND_ATTRIBUTES , deleteprivilegecount : u32 , privilegestodelete : *const LUID_AND_ATTRIBUTES , restrictedsidcount : u32 , sidstorestrict : *const SID_AND_ATTRIBUTES , newtokenhandle : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateRestrictedToken ( existingtokenhandle : super::Foundation:: HANDLE , flags : CREATE_RESTRICTED_TOKEN_FLAGS , disablesidcount : u32 , sidstodisable : *const SID_AND_ATTRIBUTES , deleteprivilegecount : u32 , privilegestodelete : *const LUID_AND_ATTRIBUTES , restrictedsidcount : u32 , sidstorestrict : *const SID_AND_ATTRIBUTES , newtokenhandle : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); CreateRestrictedToken( existingtokenhandle.into(), flags, @@ -500,14 +500,14 @@ pub unsafe fn CreateWellKnownSid(wellknownsidtype: WELL_KNOWN_SID_TYPE, doma where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateWellKnownSid ( wellknownsidtype : WELL_KNOWN_SID_TYPE , domainsid : super::Foundation:: PSID , psid : super::Foundation:: PSID , cbsid : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateWellKnownSid ( wellknownsidtype : WELL_KNOWN_SID_TYPE , domainsid : super::Foundation:: PSID , psid : super::Foundation:: PSID , cbsid : *mut u32 ) -> super::Foundation:: BOOL ); CreateWellKnownSid(wellknownsidtype, domainsid.into(), psid, cbsid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteAce(pacl: *mut ACL, dwaceindex: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn DeleteAce ( pacl : *mut ACL , dwaceindex : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DeleteAce ( pacl : *mut ACL , dwaceindex : u32 ) -> super::Foundation:: BOOL ); DeleteAce(pacl, dwaceindex) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -517,14 +517,14 @@ pub unsafe fn DeriveCapabilitySidsFromName(capname: P0, capabilitygroupsids: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-security-base-l1-2-2.dll""system" fn DeriveCapabilitySidsFromName ( capname : :: windows::core::PCWSTR , capabilitygroupsids : *mut *mut super::Foundation:: PSID , capabilitygroupsidcount : *mut u32 , capabilitysids : *mut *mut super::Foundation:: PSID , capabilitysidcount : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-security-base-l1-2-2.dll""system" fn DeriveCapabilitySidsFromName ( capname : :: windows::core::PCWSTR , capabilitygroupsids : *mut *mut super::Foundation:: PSID , capabilitygroupsidcount : *mut u32 , capabilitysids : *mut *mut super::Foundation:: PSID , capabilitysidcount : *mut u32 ) -> super::Foundation:: BOOL ); DeriveCapabilitySidsFromName(capname.into().abi(), capabilitygroupsids, capabilitygroupsidcount, capabilitysids, capabilitysidcount) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DestroyPrivateObjectSecurity(objectdescriptor: *const PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn DestroyPrivateObjectSecurity ( objectdescriptor : *const PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DestroyPrivateObjectSecurity ( objectdescriptor : *const PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); DestroyPrivateObjectSecurity(objectdescriptor) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -534,7 +534,7 @@ pub unsafe fn DuplicateToken(existingtokenhandle: P0, impersonationlevel: SE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn DuplicateToken ( existingtokenhandle : super::Foundation:: HANDLE , impersonationlevel : SECURITY_IMPERSONATION_LEVEL , duplicatetokenhandle : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DuplicateToken ( existingtokenhandle : super::Foundation:: HANDLE , impersonationlevel : SECURITY_IMPERSONATION_LEVEL , duplicatetokenhandle : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); DuplicateToken(existingtokenhandle.into(), impersonationlevel, duplicatetokenhandle) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -544,7 +544,7 @@ pub unsafe fn DuplicateTokenEx(hexistingtoken: P0, dwdesiredaccess: TOKEN_AC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn DuplicateTokenEx ( hexistingtoken : super::Foundation:: HANDLE , dwdesiredaccess : TOKEN_ACCESS_MASK , lptokenattributes : *const SECURITY_ATTRIBUTES , impersonationlevel : SECURITY_IMPERSONATION_LEVEL , tokentype : TOKEN_TYPE , phnewtoken : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DuplicateTokenEx ( hexistingtoken : super::Foundation:: HANDLE , dwdesiredaccess : TOKEN_ACCESS_MASK , lptokenattributes : *const SECURITY_ATTRIBUTES , impersonationlevel : SECURITY_IMPERSONATION_LEVEL , tokentype : TOKEN_TYPE , phnewtoken : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); DuplicateTokenEx(hexistingtoken.into(), dwdesiredaccess, ::core::mem::transmute(lptokenattributes.unwrap_or(::std::ptr::null())), impersonationlevel, tokentype, phnewtoken) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -555,7 +555,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EqualDomainSid ( psid1 : super::Foundation:: PSID , psid2 : super::Foundation:: PSID , pfequal : *mut super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EqualDomainSid ( psid1 : super::Foundation:: PSID , psid2 : super::Foundation:: PSID , pfequal : *mut super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); EqualDomainSid(psid1.into(), psid2.into(), pfequal) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -566,7 +566,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EqualPrefixSid ( psid1 : super::Foundation:: PSID , psid2 : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EqualPrefixSid ( psid1 : super::Foundation:: PSID , psid2 : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); EqualPrefixSid(psid1.into(), psid2.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -577,14 +577,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EqualSid ( psid1 : super::Foundation:: PSID , psid2 : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EqualSid ( psid1 : super::Foundation:: PSID , psid2 : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); EqualSid(psid1.into(), psid2.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FindFirstFreeAce(pacl: *const ACL, pace: *mut *mut ::core::ffi::c_void) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn FindFirstFreeAce ( pacl : *const ACL , pace : *mut *mut ::core::ffi::c_void ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FindFirstFreeAce ( pacl : *const ACL , pace : *mut *mut ::core::ffi::c_void ) -> super::Foundation:: BOOL ); FindFirstFreeAce(pacl, pace) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -594,28 +594,28 @@ pub unsafe fn FreeSid(psid: P0) -> *mut ::core::ffi::c_void where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn FreeSid ( psid : super::Foundation:: PSID ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FreeSid ( psid : super::Foundation:: PSID ) -> *mut ::core::ffi::c_void ); FreeSid(psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAce(pacl: *const ACL, dwaceindex: u32, pace: *mut *mut ::core::ffi::c_void) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn GetAce ( pacl : *const ACL , dwaceindex : u32 , pace : *mut *mut ::core::ffi::c_void ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetAce ( pacl : *const ACL , dwaceindex : u32 , pace : *mut *mut ::core::ffi::c_void ) -> super::Foundation:: BOOL ); GetAce(pacl, dwaceindex, pace) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAclInformation(pacl: *const ACL, paclinformation: *mut ::core::ffi::c_void, naclinformationlength: u32, dwaclinformationclass: ACL_INFORMATION_CLASS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn GetAclInformation ( pacl : *const ACL , paclinformation : *mut ::core::ffi::c_void , naclinformationlength : u32 , dwaclinformationclass : ACL_INFORMATION_CLASS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetAclInformation ( pacl : *const ACL , paclinformation : *mut ::core::ffi::c_void , naclinformationlength : u32 , dwaclinformationclass : ACL_INFORMATION_CLASS ) -> super::Foundation:: BOOL ); GetAclInformation(pacl, paclinformation, naclinformationlength, dwaclinformationclass) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAppContainerAce(acl: *const ACL, startingaceindex: u32, appcontainerace: *mut *mut ::core::ffi::c_void, appcontaineraceindex: ::core::option::Option<*mut u32>) -> super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetAppContainerAce ( acl : *const ACL , startingaceindex : u32 , appcontainerace : *mut *mut ::core::ffi::c_void , appcontaineraceindex : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetAppContainerAce ( acl : *const ACL , startingaceindex : u32 , appcontainerace : *mut *mut ::core::ffi::c_void , appcontaineraceindex : *mut u32 ) -> super::Foundation:: BOOL ); GetAppContainerAce(acl, startingaceindex, appcontainerace, ::core::mem::transmute(appcontaineraceindex.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -625,7 +625,7 @@ pub unsafe fn GetCachedSigningLevel(file: P0, flags: *mut u32, signinglevel: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCachedSigningLevel ( file : super::Foundation:: HANDLE , flags : *mut u32 , signinglevel : *mut u32 , thumbprint : *mut u8 , thumbprintsize : *mut u32 , thumbprintalgorithm : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCachedSigningLevel ( file : super::Foundation:: HANDLE , flags : *mut u32 , signinglevel : *mut u32 , thumbprint : *mut u8 , thumbprintsize : *mut u32 , thumbprintalgorithm : *mut u32 ) -> super::Foundation:: BOOL ); GetCachedSigningLevel(file.into(), flags, signinglevel, ::core::mem::transmute(thumbprint.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(thumbprintsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(thumbprintalgorithm.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -635,7 +635,7 @@ pub unsafe fn GetFileSecurityA(lpfilename: P0, requestedinformation: u32, ps where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetFileSecurityA ( lpfilename : :: windows::core::PCSTR , requestedinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetFileSecurityA ( lpfilename : :: windows::core::PCSTR , requestedinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::Foundation:: BOOL ); GetFileSecurityA(lpfilename.into().abi(), requestedinformation, psecuritydescriptor, nlength, lpnlengthneeded) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -645,7 +645,7 @@ pub unsafe fn GetFileSecurityW(lpfilename: P0, requestedinformation: u32, ps where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetFileSecurityW ( lpfilename : :: windows::core::PCWSTR , requestedinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetFileSecurityW ( lpfilename : :: windows::core::PCWSTR , requestedinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::Foundation:: BOOL ); GetFileSecurityW(lpfilename.into().abi(), requestedinformation, psecuritydescriptor, nlength, lpnlengthneeded) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -655,14 +655,14 @@ pub unsafe fn GetKernelObjectSecurity(handle: P0, requestedinformation: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetKernelObjectSecurity ( handle : super::Foundation:: HANDLE , requestedinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetKernelObjectSecurity ( handle : super::Foundation:: HANDLE , requestedinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::Foundation:: BOOL ); GetKernelObjectSecurity(handle.into(), requestedinformation, psecuritydescriptor, nlength, lpnlengthneeded) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetLengthSid(psid: super::Foundation::PSID) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn GetLengthSid ( psid : super::Foundation:: PSID ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetLengthSid ( psid : super::Foundation:: PSID ) -> u32 ); GetLengthSid(psid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -672,7 +672,7 @@ pub unsafe fn GetPrivateObjectSecurity(objectdescriptor: P0, securityinforma where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetPrivateObjectSecurity ( objectdescriptor : PSECURITY_DESCRIPTOR , securityinformation : u32 , resultantdescriptor : PSECURITY_DESCRIPTOR , descriptorlength : u32 , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetPrivateObjectSecurity ( objectdescriptor : PSECURITY_DESCRIPTOR , securityinformation : u32 , resultantdescriptor : PSECURITY_DESCRIPTOR , descriptorlength : u32 , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); GetPrivateObjectSecurity(objectdescriptor.into(), securityinformation, resultantdescriptor, descriptorlength, returnlength) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -682,7 +682,7 @@ pub unsafe fn GetSecurityDescriptorControl(psecuritydescriptor: P0, pcontrol where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorControl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pcontrol : *mut u16 , lpdwrevision : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorControl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pcontrol : *mut u16 , lpdwrevision : *mut u32 ) -> super::Foundation:: BOOL ); GetSecurityDescriptorControl(psecuritydescriptor.into(), pcontrol, lpdwrevision) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -692,7 +692,7 @@ pub unsafe fn GetSecurityDescriptorDacl(psecuritydescriptor: P0, lpbdaclpres where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorDacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , lpbdaclpresent : *mut i32 , pdacl : *mut *mut ACL , lpbdacldefaulted : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorDacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , lpbdaclpresent : *mut i32 , pdacl : *mut *mut ACL , lpbdacldefaulted : *mut i32 ) -> super::Foundation:: BOOL ); GetSecurityDescriptorDacl(psecuritydescriptor.into(), lpbdaclpresent, pdacl, lpbdacldefaulted) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -702,7 +702,7 @@ pub unsafe fn GetSecurityDescriptorGroup(psecuritydescriptor: P0, pgroup: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorGroup ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pgroup : *mut super::Foundation:: PSID , lpbgroupdefaulted : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorGroup ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pgroup : *mut super::Foundation:: PSID , lpbgroupdefaulted : *mut i32 ) -> super::Foundation:: BOOL ); GetSecurityDescriptorGroup(psecuritydescriptor.into(), pgroup, lpbgroupdefaulted) } #[doc = "*Required features: `\"Win32_Security\"`*"] @@ -711,7 +711,7 @@ pub unsafe fn GetSecurityDescriptorLength(psecuritydescriptor: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorLength ( psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorLength ( psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> u32 ); GetSecurityDescriptorLength(psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -721,7 +721,7 @@ pub unsafe fn GetSecurityDescriptorOwner(psecuritydescriptor: P0, powner: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorOwner ( psecuritydescriptor : PSECURITY_DESCRIPTOR , powner : *mut super::Foundation:: PSID , lpbownerdefaulted : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorOwner ( psecuritydescriptor : PSECURITY_DESCRIPTOR , powner : *mut super::Foundation:: PSID , lpbownerdefaulted : *mut i32 ) -> super::Foundation:: BOOL ); GetSecurityDescriptorOwner(psecuritydescriptor.into(), powner, lpbownerdefaulted) } #[doc = "*Required features: `\"Win32_Security\"`*"] @@ -730,7 +730,7 @@ pub unsafe fn GetSecurityDescriptorRMControl(securitydescriptor: P0, rmcontr where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorRMControl ( securitydescriptor : PSECURITY_DESCRIPTOR , rmcontrol : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorRMControl ( securitydescriptor : PSECURITY_DESCRIPTOR , rmcontrol : *mut u8 ) -> u32 ); GetSecurityDescriptorRMControl(securitydescriptor.into(), rmcontrol) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -740,7 +740,7 @@ pub unsafe fn GetSecurityDescriptorSacl(psecuritydescriptor: P0, lpbsaclpres where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorSacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , lpbsaclpresent : *mut i32 , psacl : *mut *mut ACL , lpbsacldefaulted : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSecurityDescriptorSacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , lpbsaclpresent : *mut i32 , psacl : *mut *mut ACL , lpbsacldefaulted : *mut i32 ) -> super::Foundation:: BOOL ); GetSecurityDescriptorSacl(psecuritydescriptor.into(), lpbsaclpresent, psacl, lpbsacldefaulted) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -750,13 +750,13 @@ pub unsafe fn GetSidIdentifierAuthority(psid: P0) -> *mut SID_IDENTIFIER_AUT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSidIdentifierAuthority ( psid : super::Foundation:: PSID ) -> *mut SID_IDENTIFIER_AUTHORITY ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSidIdentifierAuthority ( psid : super::Foundation:: PSID ) -> *mut SID_IDENTIFIER_AUTHORITY ); GetSidIdentifierAuthority(psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`*"] #[inline] pub unsafe fn GetSidLengthRequired(nsubauthoritycount: u8) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSidLengthRequired ( nsubauthoritycount : u8 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSidLengthRequired ( nsubauthoritycount : u8 ) -> u32 ); GetSidLengthRequired(nsubauthoritycount) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -766,7 +766,7 @@ pub unsafe fn GetSidSubAuthority(psid: P0, nsubauthority: u32) -> *mut u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSidSubAuthority ( psid : super::Foundation:: PSID , nsubauthority : u32 ) -> *mut u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSidSubAuthority ( psid : super::Foundation:: PSID , nsubauthority : u32 ) -> *mut u32 ); GetSidSubAuthority(psid.into(), nsubauthority) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -776,7 +776,7 @@ pub unsafe fn GetSidSubAuthorityCount(psid: P0) -> *mut u8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetSidSubAuthorityCount ( psid : super::Foundation:: PSID ) -> *mut u8 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetSidSubAuthorityCount ( psid : super::Foundation:: PSID ) -> *mut u8 ); GetSidSubAuthorityCount(psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -786,7 +786,7 @@ pub unsafe fn GetTokenInformation(tokenhandle: P0, tokeninformationclass: TO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTokenInformation ( tokenhandle : super::Foundation:: HANDLE , tokeninformationclass : TOKEN_INFORMATION_CLASS , tokeninformation : *mut ::core::ffi::c_void , tokeninformationlength : u32 , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTokenInformation ( tokenhandle : super::Foundation:: HANDLE , tokeninformationclass : TOKEN_INFORMATION_CLASS , tokeninformation : *mut ::core::ffi::c_void , tokeninformationlength : u32 , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); GetTokenInformation(tokenhandle.into(), tokeninformationclass, ::core::mem::transmute(tokeninformation.unwrap_or(::std::ptr::null_mut())), tokeninformationlength, returnlength) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -796,7 +796,7 @@ pub unsafe fn GetUserObjectSecurity(hobj: P0, psirequested: *const u32, psid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetUserObjectSecurity ( hobj : super::Foundation:: HANDLE , psirequested : *const u32 , psid : PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetUserObjectSecurity ( hobj : super::Foundation:: HANDLE , psirequested : *const u32 , psid : PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::Foundation:: BOOL ); GetUserObjectSecurity(hobj.into(), psirequested, psid, nlength, lpnlengthneeded) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -806,7 +806,7 @@ pub unsafe fn GetWindowsAccountDomainSid(psid: P0, pdomainsid: super::Founda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetWindowsAccountDomainSid ( psid : super::Foundation:: PSID , pdomainsid : super::Foundation:: PSID , cbdomainsid : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetWindowsAccountDomainSid ( psid : super::Foundation:: PSID , pdomainsid : super::Foundation:: PSID , cbdomainsid : *mut u32 ) -> super::Foundation:: BOOL ); GetWindowsAccountDomainSid(psid.into(), pdomainsid, cbdomainsid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -816,7 +816,7 @@ pub unsafe fn ImpersonateAnonymousToken(threadhandle: P0) -> super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ImpersonateAnonymousToken ( threadhandle : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ImpersonateAnonymousToken ( threadhandle : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); ImpersonateAnonymousToken(threadhandle.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -826,35 +826,35 @@ pub unsafe fn ImpersonateLoggedOnUser(htoken: P0) -> super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ImpersonateLoggedOnUser ( htoken : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ImpersonateLoggedOnUser ( htoken : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); ImpersonateLoggedOnUser(htoken.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ImpersonateSelf(impersonationlevel: SECURITY_IMPERSONATION_LEVEL) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn ImpersonateSelf ( impersonationlevel : SECURITY_IMPERSONATION_LEVEL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ImpersonateSelf ( impersonationlevel : SECURITY_IMPERSONATION_LEVEL ) -> super::Foundation:: BOOL ); ImpersonateSelf(impersonationlevel) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitializeAcl(pacl: *mut ACL, nacllength: u32, dwaclrevision: ACE_REVISION) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn InitializeAcl ( pacl : *mut ACL , nacllength : u32 , dwaclrevision : ACE_REVISION ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitializeAcl ( pacl : *mut ACL , nacllength : u32 , dwaclrevision : ACE_REVISION ) -> super::Foundation:: BOOL ); InitializeAcl(pacl, nacllength, dwaclrevision) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitializeSecurityDescriptor(psecuritydescriptor: PSECURITY_DESCRIPTOR, dwrevision: u32) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn InitializeSecurityDescriptor ( psecuritydescriptor : PSECURITY_DESCRIPTOR , dwrevision : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitializeSecurityDescriptor ( psecuritydescriptor : PSECURITY_DESCRIPTOR , dwrevision : u32 ) -> super::Foundation:: BOOL ); InitializeSecurityDescriptor(psecuritydescriptor, dwrevision) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitializeSid(sid: super::Foundation::PSID, pidentifierauthority: *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount: u8) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn InitializeSid ( sid : super::Foundation:: PSID , pidentifierauthority : *const SID_IDENTIFIER_AUTHORITY , nsubauthoritycount : u8 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitializeSid ( sid : super::Foundation:: PSID , pidentifierauthority : *const SID_IDENTIFIER_AUTHORITY , nsubauthoritycount : u8 ) -> super::Foundation:: BOOL ); InitializeSid(sid, pidentifierauthority, nsubauthoritycount) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -864,14 +864,14 @@ pub unsafe fn IsTokenRestricted(tokenhandle: P0) -> super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn IsTokenRestricted ( tokenhandle : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn IsTokenRestricted ( tokenhandle : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); IsTokenRestricted(tokenhandle.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsValidAcl(pacl: *const ACL) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn IsValidAcl ( pacl : *const ACL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn IsValidAcl ( pacl : *const ACL ) -> super::Foundation:: BOOL ); IsValidAcl(pacl) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -881,7 +881,7 @@ pub unsafe fn IsValidSecurityDescriptor(psecuritydescriptor: P0) -> super::F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn IsValidSecurityDescriptor ( psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn IsValidSecurityDescriptor ( psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); IsValidSecurityDescriptor(psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -891,7 +891,7 @@ pub unsafe fn IsValidSid(psid: P0) -> super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn IsValidSid ( psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn IsValidSid ( psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); IsValidSid(psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -901,7 +901,7 @@ pub unsafe fn IsWellKnownSid(psid: P0, wellknownsidtype: WELL_KNOWN_SID_TYPE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn IsWellKnownSid ( psid : super::Foundation:: PSID , wellknownsidtype : WELL_KNOWN_SID_TYPE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn IsWellKnownSid ( psid : super::Foundation:: PSID , wellknownsidtype : WELL_KNOWN_SID_TYPE ) -> super::Foundation:: BOOL ); IsWellKnownSid(psid.into(), wellknownsidtype) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -913,7 +913,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LogonUserA ( lpszusername : :: windows::core::PCSTR , lpszdomain : :: windows::core::PCSTR , lpszpassword : :: windows::core::PCSTR , dwlogontype : LOGON32_LOGON , dwlogonprovider : LOGON32_PROVIDER , phtoken : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LogonUserA ( lpszusername : :: windows::core::PCSTR , lpszdomain : :: windows::core::PCSTR , lpszpassword : :: windows::core::PCSTR , dwlogontype : LOGON32_LOGON , dwlogonprovider : LOGON32_PROVIDER , phtoken : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); LogonUserA(lpszusername.into().abi(), lpszdomain.into().abi(), lpszpassword.into().abi(), dwlogontype, dwlogonprovider, phtoken) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -925,7 +925,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LogonUserExA ( lpszusername : :: windows::core::PCSTR , lpszdomain : :: windows::core::PCSTR , lpszpassword : :: windows::core::PCSTR , dwlogontype : LOGON32_LOGON , dwlogonprovider : LOGON32_PROVIDER , phtoken : *mut super::Foundation:: HANDLE , pplogonsid : *mut super::Foundation:: PSID , ppprofilebuffer : *mut *mut ::core::ffi::c_void , pdwprofilelength : *mut u32 , pquotalimits : *mut QUOTA_LIMITS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LogonUserExA ( lpszusername : :: windows::core::PCSTR , lpszdomain : :: windows::core::PCSTR , lpszpassword : :: windows::core::PCSTR , dwlogontype : LOGON32_LOGON , dwlogonprovider : LOGON32_PROVIDER , phtoken : *mut super::Foundation:: HANDLE , pplogonsid : *mut super::Foundation:: PSID , ppprofilebuffer : *mut *mut ::core::ffi::c_void , pdwprofilelength : *mut u32 , pquotalimits : *mut QUOTA_LIMITS ) -> super::Foundation:: BOOL ); LogonUserExA(lpszusername.into().abi(), lpszdomain.into().abi(), lpszpassword.into().abi(), dwlogontype, dwlogonprovider, ::core::mem::transmute(phtoken.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pplogonsid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppprofilebuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwprofilelength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pquotalimits.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -937,7 +937,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LogonUserExW ( lpszusername : :: windows::core::PCWSTR , lpszdomain : :: windows::core::PCWSTR , lpszpassword : :: windows::core::PCWSTR , dwlogontype : LOGON32_LOGON , dwlogonprovider : LOGON32_PROVIDER , phtoken : *mut super::Foundation:: HANDLE , pplogonsid : *mut super::Foundation:: PSID , ppprofilebuffer : *mut *mut ::core::ffi::c_void , pdwprofilelength : *mut u32 , pquotalimits : *mut QUOTA_LIMITS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LogonUserExW ( lpszusername : :: windows::core::PCWSTR , lpszdomain : :: windows::core::PCWSTR , lpszpassword : :: windows::core::PCWSTR , dwlogontype : LOGON32_LOGON , dwlogonprovider : LOGON32_PROVIDER , phtoken : *mut super::Foundation:: HANDLE , pplogonsid : *mut super::Foundation:: PSID , ppprofilebuffer : *mut *mut ::core::ffi::c_void , pdwprofilelength : *mut u32 , pquotalimits : *mut QUOTA_LIMITS ) -> super::Foundation:: BOOL ); LogonUserExW(lpszusername.into().abi(), lpszdomain.into().abi(), lpszpassword.into().abi(), dwlogontype, dwlogonprovider, ::core::mem::transmute(phtoken.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pplogonsid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppprofilebuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwprofilelength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pquotalimits.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -949,7 +949,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LogonUserW ( lpszusername : :: windows::core::PCWSTR , lpszdomain : :: windows::core::PCWSTR , lpszpassword : :: windows::core::PCWSTR , dwlogontype : LOGON32_LOGON , dwlogonprovider : LOGON32_PROVIDER , phtoken : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LogonUserW ( lpszusername : :: windows::core::PCWSTR , lpszdomain : :: windows::core::PCWSTR , lpszpassword : :: windows::core::PCWSTR , dwlogontype : LOGON32_LOGON , dwlogonprovider : LOGON32_PROVIDER , phtoken : *mut super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); LogonUserW(lpszusername.into().abi(), lpszdomain.into().abi(), lpszpassword.into().abi(), dwlogontype, dwlogonprovider, phtoken) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -960,7 +960,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupAccountNameA ( lpsystemname : :: windows::core::PCSTR , lpaccountname : :: windows::core::PCSTR , sid : super::Foundation:: PSID , cbsid : *mut u32 , referenceddomainname : :: windows::core::PSTR , cchreferenceddomainname : *mut u32 , peuse : *mut SID_NAME_USE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupAccountNameA ( lpsystemname : :: windows::core::PCSTR , lpaccountname : :: windows::core::PCSTR , sid : super::Foundation:: PSID , cbsid : *mut u32 , referenceddomainname : :: windows::core::PSTR , cchreferenceddomainname : *mut u32 , peuse : *mut SID_NAME_USE ) -> super::Foundation:: BOOL ); LookupAccountNameA(lpsystemname.into().abi(), lpaccountname.into().abi(), sid, cbsid, ::core::mem::transmute(referenceddomainname), cchreferenceddomainname, peuse) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -971,7 +971,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupAccountNameW ( lpsystemname : :: windows::core::PCWSTR , lpaccountname : :: windows::core::PCWSTR , sid : super::Foundation:: PSID , cbsid : *mut u32 , referenceddomainname : :: windows::core::PWSTR , cchreferenceddomainname : *mut u32 , peuse : *mut SID_NAME_USE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupAccountNameW ( lpsystemname : :: windows::core::PCWSTR , lpaccountname : :: windows::core::PCWSTR , sid : super::Foundation:: PSID , cbsid : *mut u32 , referenceddomainname : :: windows::core::PWSTR , cchreferenceddomainname : *mut u32 , peuse : *mut SID_NAME_USE ) -> super::Foundation:: BOOL ); LookupAccountNameW(lpsystemname.into().abi(), lpaccountname.into().abi(), sid, cbsid, ::core::mem::transmute(referenceddomainname), cchreferenceddomainname, peuse) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -982,7 +982,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupAccountSidA ( lpsystemname : :: windows::core::PCSTR , sid : super::Foundation:: PSID , name : :: windows::core::PSTR , cchname : *mut u32 , referenceddomainname : :: windows::core::PSTR , cchreferenceddomainname : *mut u32 , peuse : *mut SID_NAME_USE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupAccountSidA ( lpsystemname : :: windows::core::PCSTR , sid : super::Foundation:: PSID , name : :: windows::core::PSTR , cchname : *mut u32 , referenceddomainname : :: windows::core::PSTR , cchreferenceddomainname : *mut u32 , peuse : *mut SID_NAME_USE ) -> super::Foundation:: BOOL ); LookupAccountSidA(lpsystemname.into().abi(), sid.into(), ::core::mem::transmute(name), cchname, ::core::mem::transmute(referenceddomainname), cchreferenceddomainname, peuse) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -993,7 +993,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupAccountSidW ( lpsystemname : :: windows::core::PCWSTR , sid : super::Foundation:: PSID , name : :: windows::core::PWSTR , cchname : *mut u32 , referenceddomainname : :: windows::core::PWSTR , cchreferenceddomainname : *mut u32 , peuse : *mut SID_NAME_USE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupAccountSidW ( lpsystemname : :: windows::core::PCWSTR , sid : super::Foundation:: PSID , name : :: windows::core::PWSTR , cchname : *mut u32 , referenceddomainname : :: windows::core::PWSTR , cchreferenceddomainname : *mut u32 , peuse : *mut SID_NAME_USE ) -> super::Foundation:: BOOL ); LookupAccountSidW(lpsystemname.into().abi(), sid.into(), ::core::mem::transmute(name), cchname, ::core::mem::transmute(referenceddomainname), cchreferenceddomainname, peuse) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1004,7 +1004,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupPrivilegeDisplayNameA ( lpsystemname : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , lpdisplayname : :: windows::core::PSTR , cchdisplayname : *mut u32 , lplanguageid : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupPrivilegeDisplayNameA ( lpsystemname : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , lpdisplayname : :: windows::core::PSTR , cchdisplayname : *mut u32 , lplanguageid : *mut u32 ) -> super::Foundation:: BOOL ); LookupPrivilegeDisplayNameA(lpsystemname.into().abi(), lpname.into().abi(), ::core::mem::transmute(lpdisplayname), cchdisplayname, lplanguageid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1015,7 +1015,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupPrivilegeDisplayNameW ( lpsystemname : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpdisplayname : :: windows::core::PWSTR , cchdisplayname : *mut u32 , lplanguageid : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupPrivilegeDisplayNameW ( lpsystemname : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpdisplayname : :: windows::core::PWSTR , cchdisplayname : *mut u32 , lplanguageid : *mut u32 ) -> super::Foundation:: BOOL ); LookupPrivilegeDisplayNameW(lpsystemname.into().abi(), lpname.into().abi(), ::core::mem::transmute(lpdisplayname), cchdisplayname, lplanguageid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1025,7 +1025,7 @@ pub unsafe fn LookupPrivilegeNameA(lpsystemname: P0, lpluid: *const super::F where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupPrivilegeNameA ( lpsystemname : :: windows::core::PCSTR , lpluid : *const super::Foundation:: LUID , lpname : :: windows::core::PSTR , cchname : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupPrivilegeNameA ( lpsystemname : :: windows::core::PCSTR , lpluid : *const super::Foundation:: LUID , lpname : :: windows::core::PSTR , cchname : *mut u32 ) -> super::Foundation:: BOOL ); LookupPrivilegeNameA(lpsystemname.into().abi(), lpluid, ::core::mem::transmute(lpname), cchname) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1035,7 +1035,7 @@ pub unsafe fn LookupPrivilegeNameW(lpsystemname: P0, lpluid: *const super::F where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupPrivilegeNameW ( lpsystemname : :: windows::core::PCWSTR , lpluid : *const super::Foundation:: LUID , lpname : :: windows::core::PWSTR , cchname : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupPrivilegeNameW ( lpsystemname : :: windows::core::PCWSTR , lpluid : *const super::Foundation:: LUID , lpname : :: windows::core::PWSTR , cchname : *mut u32 ) -> super::Foundation:: BOOL ); LookupPrivilegeNameW(lpsystemname.into().abi(), lpluid, ::core::mem::transmute(lpname), cchname) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1046,7 +1046,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupPrivilegeValueA ( lpsystemname : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , lpluid : *mut super::Foundation:: LUID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupPrivilegeValueA ( lpsystemname : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , lpluid : *mut super::Foundation:: LUID ) -> super::Foundation:: BOOL ); LookupPrivilegeValueA(lpsystemname.into().abi(), lpname.into().abi(), lpluid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1057,7 +1057,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn LookupPrivilegeValueW ( lpsystemname : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpluid : *mut super::Foundation:: LUID ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LookupPrivilegeValueW ( lpsystemname : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpluid : *mut super::Foundation:: LUID ) -> super::Foundation:: BOOL ); LookupPrivilegeValueW(lpsystemname.into().abi(), lpname.into().abi(), lpluid) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1067,7 +1067,7 @@ pub unsafe fn MakeAbsoluteSD(pselfrelativesecuritydescriptor: P0, pabsolutes where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn MakeAbsoluteSD ( pselfrelativesecuritydescriptor : PSECURITY_DESCRIPTOR , pabsolutesecuritydescriptor : PSECURITY_DESCRIPTOR , lpdwabsolutesecuritydescriptorsize : *mut u32 , pdacl : *mut ACL , lpdwdaclsize : *mut u32 , psacl : *mut ACL , lpdwsaclsize : *mut u32 , powner : super::Foundation:: PSID , lpdwownersize : *mut u32 , pprimarygroup : super::Foundation:: PSID , lpdwprimarygroupsize : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn MakeAbsoluteSD ( pselfrelativesecuritydescriptor : PSECURITY_DESCRIPTOR , pabsolutesecuritydescriptor : PSECURITY_DESCRIPTOR , lpdwabsolutesecuritydescriptorsize : *mut u32 , pdacl : *mut ACL , lpdwdaclsize : *mut u32 , psacl : *mut ACL , lpdwsaclsize : *mut u32 , powner : super::Foundation:: PSID , lpdwownersize : *mut u32 , pprimarygroup : super::Foundation:: PSID , lpdwprimarygroupsize : *mut u32 ) -> super::Foundation:: BOOL ); MakeAbsoluteSD(pselfrelativesecuritydescriptor.into(), pabsolutesecuritydescriptor, lpdwabsolutesecuritydescriptorsize, ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null_mut())), lpdwdaclsize, ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null_mut())), lpdwsaclsize, powner, lpdwownersize, pprimarygroup, lpdwprimarygroupsize) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1077,13 +1077,13 @@ pub unsafe fn MakeSelfRelativeSD(pabsolutesecuritydescriptor: P0, pselfrelat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn MakeSelfRelativeSD ( pabsolutesecuritydescriptor : PSECURITY_DESCRIPTOR , pselfrelativesecuritydescriptor : PSECURITY_DESCRIPTOR , lpdwbufferlength : *mut u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn MakeSelfRelativeSD ( pabsolutesecuritydescriptor : PSECURITY_DESCRIPTOR , pselfrelativesecuritydescriptor : PSECURITY_DESCRIPTOR , lpdwbufferlength : *mut u32 ) -> super::Foundation:: BOOL ); MakeSelfRelativeSD(pabsolutesecuritydescriptor.into(), pselfrelativesecuritydescriptor, lpdwbufferlength) } #[doc = "*Required features: `\"Win32_Security\"`*"] #[inline] pub unsafe fn MapGenericMask(accessmask: *mut u32, genericmapping: *const GENERIC_MAPPING) { - ::windows::core::link ! ( "advapi32.dll""system" fn MapGenericMask ( accessmask : *mut u32 , genericmapping : *const GENERIC_MAPPING ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn MapGenericMask ( accessmask : *mut u32 , genericmapping : *const GENERIC_MAPPING ) -> ( ) ); MapGenericMask(accessmask, genericmapping) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1094,7 +1094,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ObjectCloseAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , generateonclose : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ObjectCloseAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , generateonclose : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); ObjectCloseAuditAlarmA(subsystemname.into().abi(), handleid, generateonclose.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1105,7 +1105,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ObjectCloseAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , generateonclose : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ObjectCloseAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , generateonclose : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); ObjectCloseAuditAlarmW(subsystemname.into().abi(), handleid, generateonclose.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1116,7 +1116,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ObjectDeleteAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , generateonclose : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ObjectDeleteAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , generateonclose : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); ObjectDeleteAuditAlarmA(subsystemname.into().abi(), handleid, generateonclose.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1127,7 +1127,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ObjectDeleteAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , generateonclose : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ObjectDeleteAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , generateonclose : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); ObjectDeleteAuditAlarmW(subsystemname.into().abi(), handleid, generateonclose.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1143,7 +1143,7 @@ where P5: ::std::convert::Into, P6: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ObjectOpenAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , psecuritydescriptor : PSECURITY_DESCRIPTOR , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , grantedaccess : u32 , privileges : *const PRIVILEGE_SET , objectcreation : super::Foundation:: BOOL , accessgranted : super::Foundation:: BOOL , generateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ObjectOpenAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCSTR , objectname : :: windows::core::PCSTR , psecuritydescriptor : PSECURITY_DESCRIPTOR , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , grantedaccess : u32 , privileges : *const PRIVILEGE_SET , objectcreation : super::Foundation:: BOOL , accessgranted : super::Foundation:: BOOL , generateonclose : *mut i32 ) -> super::Foundation:: BOOL ); ObjectOpenAuditAlarmA(subsystemname.into().abi(), handleid, objecttypename.into().abi(), objectname.into().abi(), psecuritydescriptor.into(), clienttoken.into(), desiredaccess, grantedaccess, ::core::mem::transmute(privileges.unwrap_or(::std::ptr::null())), objectcreation.into(), accessgranted.into(), generateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1159,7 +1159,7 @@ where P5: ::std::convert::Into, P6: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ObjectOpenAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , psecuritydescriptor : PSECURITY_DESCRIPTOR , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , grantedaccess : u32 , privileges : *const PRIVILEGE_SET , objectcreation : super::Foundation:: BOOL , accessgranted : super::Foundation:: BOOL , generateonclose : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ObjectOpenAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , objecttypename : :: windows::core::PCWSTR , objectname : :: windows::core::PCWSTR , psecuritydescriptor : PSECURITY_DESCRIPTOR , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , grantedaccess : u32 , privileges : *const PRIVILEGE_SET , objectcreation : super::Foundation:: BOOL , accessgranted : super::Foundation:: BOOL , generateonclose : *mut i32 ) -> super::Foundation:: BOOL ); ObjectOpenAuditAlarmW(subsystemname.into().abi(), handleid, objecttypename.into().abi(), objectname.into().abi(), psecuritydescriptor.into(), clienttoken.into(), desiredaccess, grantedaccess, ::core::mem::transmute(privileges.unwrap_or(::std::ptr::null())), objectcreation.into(), accessgranted.into(), generateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1171,7 +1171,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ObjectPrivilegeAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , privileges : *const PRIVILEGE_SET , accessgranted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ObjectPrivilegeAuditAlarmA ( subsystemname : :: windows::core::PCSTR , handleid : *const ::core::ffi::c_void , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , privileges : *const PRIVILEGE_SET , accessgranted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); ObjectPrivilegeAuditAlarmA(subsystemname.into().abi(), handleid, clienttoken.into(), desiredaccess, privileges, accessgranted.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1183,7 +1183,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ObjectPrivilegeAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , privileges : *const PRIVILEGE_SET , accessgranted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ObjectPrivilegeAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , handleid : *const ::core::ffi::c_void , clienttoken : super::Foundation:: HANDLE , desiredaccess : u32 , privileges : *const PRIVILEGE_SET , accessgranted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); ObjectPrivilegeAuditAlarmW(subsystemname.into().abi(), handleid, clienttoken.into(), desiredaccess, privileges, accessgranted.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1193,7 +1193,7 @@ pub unsafe fn PrivilegeCheck(clienttoken: P0, requiredprivileges: *mut PRIVI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PrivilegeCheck ( clienttoken : super::Foundation:: HANDLE , requiredprivileges : *mut PRIVILEGE_SET , pfresult : *mut i32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PrivilegeCheck ( clienttoken : super::Foundation:: HANDLE , requiredprivileges : *mut PRIVILEGE_SET , pfresult : *mut i32 ) -> super::Foundation:: BOOL ); PrivilegeCheck(clienttoken.into(), requiredprivileges, pfresult) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1206,7 +1206,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PrivilegedServiceAuditAlarmA ( subsystemname : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , clienttoken : super::Foundation:: HANDLE , privileges : *const PRIVILEGE_SET , accessgranted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PrivilegedServiceAuditAlarmA ( subsystemname : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , clienttoken : super::Foundation:: HANDLE , privileges : *const PRIVILEGE_SET , accessgranted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); PrivilegedServiceAuditAlarmA(subsystemname.into().abi(), servicename.into().abi(), clienttoken.into(), privileges, accessgranted.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1219,13 +1219,13 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PrivilegedServiceAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , clienttoken : super::Foundation:: HANDLE , privileges : *const PRIVILEGE_SET , accessgranted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PrivilegedServiceAuditAlarmW ( subsystemname : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , clienttoken : super::Foundation:: HANDLE , privileges : *const PRIVILEGE_SET , accessgranted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); PrivilegedServiceAuditAlarmW(subsystemname.into().abi(), servicename.into().abi(), clienttoken.into(), privileges, accessgranted.into()) } #[doc = "*Required features: `\"Win32_Security\"`*"] #[inline] pub unsafe fn QuerySecurityAccessMask(securityinformation: u32) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn QuerySecurityAccessMask ( securityinformation : u32 , desiredaccess : *mut u32 ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QuerySecurityAccessMask ( securityinformation : u32 , desiredaccess : *mut u32 ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); QuerySecurityAccessMask(securityinformation, &mut result__); ::std::mem::transmute(result__) @@ -1234,7 +1234,7 @@ pub unsafe fn QuerySecurityAccessMask(securityinformation: u32) -> u32 { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RevertToSelf() -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn RevertToSelf ( ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RevertToSelf ( ) -> super::Foundation:: BOOL ); RevertToSelf() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1245,7 +1245,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlConvertSidToUnicodeString ( unicodestring : *mut super::Foundation:: UNICODE_STRING , sid : super::Foundation:: PSID , allocatedestinationstring : super::Foundation:: BOOLEAN ) -> super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlConvertSidToUnicodeString ( unicodestring : *mut super::Foundation:: UNICODE_STRING , sid : super::Foundation:: PSID , allocatedestinationstring : super::Foundation:: BOOLEAN ) -> super::Foundation:: NTSTATUS ); RtlConvertSidToUnicodeString(unicodestring, sid.into(), allocatedestinationstring.into()).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1255,14 +1255,14 @@ pub unsafe fn RtlNormalizeSecurityDescriptor(securitydescriptor: *mut PSECUR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlNormalizeSecurityDescriptor ( securitydescriptor : *mut PSECURITY_DESCRIPTOR , securitydescriptorlength : u32 , newsecuritydescriptor : *mut PSECURITY_DESCRIPTOR , newsecuritydescriptorlength : *mut u32 , checkonly : super::Foundation:: BOOLEAN ) -> super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlNormalizeSecurityDescriptor ( securitydescriptor : *mut PSECURITY_DESCRIPTOR , securitydescriptorlength : u32 , newsecuritydescriptor : *mut PSECURITY_DESCRIPTOR , newsecuritydescriptorlength : *mut u32 , checkonly : super::Foundation:: BOOLEAN ) -> super::Foundation:: BOOLEAN ); RtlNormalizeSecurityDescriptor(securitydescriptor, securitydescriptorlength, ::core::mem::transmute(newsecuritydescriptor.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(newsecuritydescriptorlength.unwrap_or(::std::ptr::null_mut())), checkonly.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetAclInformation(pacl: *mut ACL, paclinformation: *const ::core::ffi::c_void, naclinformationlength: u32, dwaclinformationclass: ACL_INFORMATION_CLASS) -> super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn SetAclInformation ( pacl : *mut ACL , paclinformation : *const ::core::ffi::c_void , naclinformationlength : u32 , dwaclinformationclass : ACL_INFORMATION_CLASS ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetAclInformation ( pacl : *mut ACL , paclinformation : *const ::core::ffi::c_void , naclinformationlength : u32 , dwaclinformationclass : ACL_INFORMATION_CLASS ) -> super::Foundation:: BOOL ); SetAclInformation(pacl, paclinformation, naclinformationlength, dwaclinformationclass) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1272,7 +1272,7 @@ pub unsafe fn SetCachedSigningLevel(sourcefiles: &[super::Foundation::HANDLE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCachedSigningLevel ( sourcefiles : *const super::Foundation:: HANDLE , sourcefilecount : u32 , flags : u32 , targetfile : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCachedSigningLevel ( sourcefiles : *const super::Foundation:: HANDLE , sourcefilecount : u32 , flags : u32 , targetfile : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); SetCachedSigningLevel(::core::mem::transmute(sourcefiles.as_ptr()), sourcefiles.len() as _, flags, targetfile.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1283,7 +1283,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetFileSecurityA ( lpfilename : :: windows::core::PCSTR , securityinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetFileSecurityA ( lpfilename : :: windows::core::PCSTR , securityinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); SetFileSecurityA(lpfilename.into().abi(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1294,7 +1294,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetFileSecurityW ( lpfilename : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetFileSecurityW ( lpfilename : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); SetFileSecurityW(lpfilename.into().abi(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1305,7 +1305,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetKernelObjectSecurity ( handle : super::Foundation:: HANDLE , securityinformation : u32 , securitydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetKernelObjectSecurity ( handle : super::Foundation:: HANDLE , securityinformation : u32 , securitydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); SetKernelObjectSecurity(handle.into(), securityinformation, securitydescriptor.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1316,7 +1316,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetPrivateObjectSecurity ( securityinformation : u32 , modificationdescriptor : PSECURITY_DESCRIPTOR , objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR , genericmapping : *const GENERIC_MAPPING , token : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetPrivateObjectSecurity ( securityinformation : u32 , modificationdescriptor : PSECURITY_DESCRIPTOR , objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR , genericmapping : *const GENERIC_MAPPING , token : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); SetPrivateObjectSecurity(securityinformation, modificationdescriptor.into(), objectssecuritydescriptor, genericmapping, token.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1327,13 +1327,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetPrivateObjectSecurityEx ( securityinformation : u32 , modificationdescriptor : PSECURITY_DESCRIPTOR , objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR , autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS , genericmapping : *const GENERIC_MAPPING , token : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetPrivateObjectSecurityEx ( securityinformation : u32 , modificationdescriptor : PSECURITY_DESCRIPTOR , objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR , autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS , genericmapping : *const GENERIC_MAPPING , token : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); SetPrivateObjectSecurityEx(securityinformation, modificationdescriptor.into(), objectssecuritydescriptor, autoinheritflags, genericmapping, token.into()) } #[doc = "*Required features: `\"Win32_Security\"`*"] #[inline] pub unsafe fn SetSecurityAccessMask(securityinformation: u32) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn SetSecurityAccessMask ( securityinformation : u32 , desiredaccess : *mut u32 ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetSecurityAccessMask ( securityinformation : u32 , desiredaccess : *mut u32 ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); SetSecurityAccessMask(securityinformation, &mut result__); ::std::mem::transmute(result__) @@ -1345,7 +1345,7 @@ pub unsafe fn SetSecurityDescriptorControl(psecuritydescriptor: P0, controlb where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorControl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , controlbitsofinterest : SECURITY_DESCRIPTOR_CONTROL , controlbitstoset : SECURITY_DESCRIPTOR_CONTROL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorControl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , controlbitsofinterest : SECURITY_DESCRIPTOR_CONTROL , controlbitstoset : SECURITY_DESCRIPTOR_CONTROL ) -> super::Foundation:: BOOL ); SetSecurityDescriptorControl(psecuritydescriptor.into(), controlbitsofinterest, controlbitstoset) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1356,7 +1356,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorDacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , bdaclpresent : super::Foundation:: BOOL , pdacl : *const ACL , bdacldefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorDacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , bdaclpresent : super::Foundation:: BOOL , pdacl : *const ACL , bdacldefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); SetSecurityDescriptorDacl(psecuritydescriptor, bdaclpresent.into(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), bdacldefaulted.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1367,7 +1367,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorGroup ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pgroup : super::Foundation:: PSID , bgroupdefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorGroup ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pgroup : super::Foundation:: PSID , bgroupdefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); SetSecurityDescriptorGroup(psecuritydescriptor, pgroup.into(), bgroupdefaulted.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1378,13 +1378,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorOwner ( psecuritydescriptor : PSECURITY_DESCRIPTOR , powner : super::Foundation:: PSID , bownerdefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorOwner ( psecuritydescriptor : PSECURITY_DESCRIPTOR , powner : super::Foundation:: PSID , bownerdefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); SetSecurityDescriptorOwner(psecuritydescriptor, powner.into(), bownerdefaulted.into()) } #[doc = "*Required features: `\"Win32_Security\"`*"] #[inline] pub unsafe fn SetSecurityDescriptorRMControl(securitydescriptor: PSECURITY_DESCRIPTOR, rmcontrol: ::core::option::Option<*const u8>) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorRMControl ( securitydescriptor : PSECURITY_DESCRIPTOR , rmcontrol : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorRMControl ( securitydescriptor : PSECURITY_DESCRIPTOR , rmcontrol : *const u8 ) -> u32 ); SetSecurityDescriptorRMControl(securitydescriptor, ::core::mem::transmute(rmcontrol.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1395,7 +1395,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorSacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , bsaclpresent : super::Foundation:: BOOL , psacl : *const ACL , bsacldefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetSecurityDescriptorSacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , bsaclpresent : super::Foundation:: BOOL , psacl : *const ACL , bsacldefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); SetSecurityDescriptorSacl(psecuritydescriptor, bsaclpresent.into(), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), bsacldefaulted.into()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1405,7 +1405,7 @@ pub unsafe fn SetTokenInformation(tokenhandle: P0, tokeninformationclass: TO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetTokenInformation ( tokenhandle : super::Foundation:: HANDLE , tokeninformationclass : TOKEN_INFORMATION_CLASS , tokeninformation : *const ::core::ffi::c_void , tokeninformationlength : u32 ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetTokenInformation ( tokenhandle : super::Foundation:: HANDLE , tokeninformationclass : TOKEN_INFORMATION_CLASS , tokeninformation : *const ::core::ffi::c_void , tokeninformationlength : u32 ) -> super::Foundation:: BOOL ); SetTokenInformation(tokenhandle.into(), tokeninformationclass, tokeninformation, tokeninformationlength) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1416,7 +1416,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetUserObjectSecurity ( hobj : super::Foundation:: HANDLE , psirequested : *const OBJECT_SECURITY_INFORMATION , psid : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetUserObjectSecurity ( hobj : super::Foundation:: HANDLE , psirequested : *const OBJECT_SECURITY_INFORMATION , psid : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); SetUserObjectSecurity(hobj.into(), psirequested, psid.into()) } #[doc = "*Required features: `\"Win32_Security\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs index 1fece54b3f..de110cc80f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs @@ -7,21 +7,21 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FCIAddFile ( hfci : *const ::core::ffi::c_void , pszsourcefile : :: windows::core::PCSTR , pszfilename : :: windows::core::PCSTR , fexecute : super::super::Foundation:: BOOL , pfnfcignc : PFNFCIGETNEXTCABINET , pfnfcis : PFNFCISTATUS , pfnfcigoi : PFNFCIGETOPENINFO , typecompress : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FCIAddFile ( hfci : *const ::core::ffi::c_void , pszsourcefile : :: windows::core::PCSTR , pszfilename : :: windows::core::PCSTR , fexecute : super::super::Foundation:: BOOL , pfnfcignc : PFNFCIGETNEXTCABINET , pfnfcis : PFNFCISTATUS , pfnfcigoi : PFNFCIGETOPENINFO , typecompress : u16 ) -> super::super::Foundation:: BOOL ); FCIAddFile(hfci, pszsourcefile.into().abi(), pszfilename.into().abi(), fexecute.into(), pfnfcignc, pfnfcis, pfnfcigoi, typecompress) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FCICreate(perf: *const ERF, pfnfcifp: PFNFCIFILEPLACED, pfna: PFNFCIALLOC, pfnf: PFNFCIFREE, pfnopen: PFNFCIOPEN, pfnread: PFNFCIREAD, pfnwrite: PFNFCIWRITE, pfnclose: PFNFCICLOSE, pfnseek: PFNFCISEEK, pfndelete: PFNFCIDELETE, pfnfcigtf: PFNFCIGETTEMPFILE, pccab: *const CCAB, pv: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FCICreate ( perf : *const ERF , pfnfcifp : PFNFCIFILEPLACED , pfna : PFNFCIALLOC , pfnf : PFNFCIFREE , pfnopen : PFNFCIOPEN , pfnread : PFNFCIREAD , pfnwrite : PFNFCIWRITE , pfnclose : PFNFCICLOSE , pfnseek : PFNFCISEEK , pfndelete : PFNFCIDELETE , pfnfcigtf : PFNFCIGETTEMPFILE , pccab : *const CCAB , pv : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FCICreate ( perf : *const ERF , pfnfcifp : PFNFCIFILEPLACED , pfna : PFNFCIALLOC , pfnf : PFNFCIFREE , pfnopen : PFNFCIOPEN , pfnread : PFNFCIREAD , pfnwrite : PFNFCIWRITE , pfnclose : PFNFCICLOSE , pfnseek : PFNFCISEEK , pfndelete : PFNFCIDELETE , pfnfcigtf : PFNFCIGETTEMPFILE , pccab : *const CCAB , pv : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); FCICreate(perf, pfnfcifp, pfna, pfnf, pfnopen, pfnread, pfnwrite, pfnclose, pfnseek, pfndelete, pfnfcigtf, pccab, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FCIDestroy(hfci: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FCIDestroy ( hfci : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FCIDestroy ( hfci : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FCIDestroy(hfci) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] @@ -31,14 +31,14 @@ pub unsafe fn FCIFlushCabinet(hfci: *const ::core::ffi::c_void, fgetnextcab: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FCIFlushCabinet ( hfci : *const ::core::ffi::c_void , fgetnextcab : super::super::Foundation:: BOOL , pfnfcignc : PFNFCIGETNEXTCABINET , pfnfcis : PFNFCISTATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FCIFlushCabinet ( hfci : *const ::core::ffi::c_void , fgetnextcab : super::super::Foundation:: BOOL , pfnfcignc : PFNFCIGETNEXTCABINET , pfnfcis : PFNFCISTATUS ) -> super::super::Foundation:: BOOL ); FCIFlushCabinet(hfci, fgetnextcab.into(), pfnfcignc, pfnfcis) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FCIFlushFolder(hfci: *const ::core::ffi::c_void, pfnfcignc: PFNFCIGETNEXTCABINET, pfnfcis: PFNFCISTATUS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FCIFlushFolder ( hfci : *const ::core::ffi::c_void , pfnfcignc : PFNFCIGETNEXTCABINET , pfnfcis : PFNFCISTATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FCIFlushFolder ( hfci : *const ::core::ffi::c_void , pfnfcignc : PFNFCIGETNEXTCABINET , pfnfcis : PFNFCISTATUS ) -> super::super::Foundation:: BOOL ); FCIFlushFolder(hfci, pfnfcignc, pfnfcis) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] @@ -49,28 +49,28 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FDICopy ( hfdi : *const ::core::ffi::c_void , pszcabinet : :: windows::core::PCSTR , pszcabpath : :: windows::core::PCSTR , flags : i32 , pfnfdin : PFNFDINOTIFY , pfnfdid : PFNFDIDECRYPT , pvuser : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FDICopy ( hfdi : *const ::core::ffi::c_void , pszcabinet : :: windows::core::PCSTR , pszcabpath : :: windows::core::PCSTR , flags : i32 , pfnfdin : PFNFDINOTIFY , pfnfdid : PFNFDIDECRYPT , pvuser : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FDICopy(hfdi, pszcabinet.into().abi(), pszcabpath.into().abi(), flags, pfnfdin, pfnfdid, ::core::mem::transmute(pvuser.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FDICreate(pfnalloc: PFNALLOC, pfnfree: PFNFREE, pfnopen: PFNOPEN, pfnread: PFNREAD, pfnwrite: PFNWRITE, pfnclose: PFNCLOSE, pfnseek: PFNSEEK, cputype: FDICREATE_CPU_TYPE, perf: *mut ERF) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FDICreate ( pfnalloc : PFNALLOC , pfnfree : PFNFREE , pfnopen : PFNOPEN , pfnread : PFNREAD , pfnwrite : PFNWRITE , pfnclose : PFNCLOSE , pfnseek : PFNSEEK , cputype : FDICREATE_CPU_TYPE , perf : *mut ERF ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FDICreate ( pfnalloc : PFNALLOC , pfnfree : PFNFREE , pfnopen : PFNOPEN , pfnread : PFNREAD , pfnwrite : PFNWRITE , pfnclose : PFNCLOSE , pfnseek : PFNSEEK , cputype : FDICREATE_CPU_TYPE , perf : *mut ERF ) -> *mut ::core::ffi::c_void ); FDICreate(pfnalloc, pfnfree, pfnopen, pfnread, pfnwrite, pfnclose, pfnseek, cputype, perf) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FDIDestroy(hfdi: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FDIDestroy ( hfdi : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FDIDestroy ( hfdi : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FDIDestroy(hfdi) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FDIIsCabinet(hfdi: *const ::core::ffi::c_void, hf: isize, pfdici: ::core::option::Option<*mut FDICABINETINFO>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FDIIsCabinet ( hfdi : *const ::core::ffi::c_void , hf : isize , pfdici : *mut FDICABINETINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FDIIsCabinet ( hfdi : *const ::core::ffi::c_void , hf : isize , pfdici : *mut FDICABINETINFO ) -> super::super::Foundation:: BOOL ); FDIIsCabinet(hfdi, hf, ::core::mem::transmute(pfdici.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`, `\"Win32_Foundation\"`*"] @@ -80,7 +80,7 @@ pub unsafe fn FDITruncateCabinet(hfdi: *const ::core::ffi::c_void, pszcabine where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "cabinet.dll""cdecl" fn FDITruncateCabinet ( hfdi : *const ::core::ffi::c_void , pszcabinetname : :: windows::core::PCSTR , ifoldertodelete : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""cdecl" fn FDITruncateCabinet ( hfdi : *const ::core::ffi::c_void , pszcabinetname : :: windows::core::PCSTR , ifoldertodelete : u16 ) -> super::super::Foundation:: BOOL ); FDITruncateCabinet(hfdi, pszcabinetname.into().abi(), ifoldertodelete) } #[doc = "*Required features: `\"Win32_Storage_Cabinets\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs index 0014b4725a..e2cc1d7ae6 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn CfCloseHandle(filehandle: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfCloseHandle ( filehandle : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfCloseHandle ( filehandle : super::super::Foundation:: HANDLE ) -> ( ) ); CfCloseHandle(filehandle.into()) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_CorrelationVector\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn CfConnectSyncRoot(syncrootpath: P0, callbacktable: *const CF_C where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfConnectSyncRoot ( syncrootpath : :: windows::core::PCWSTR , callbacktable : *const CF_CALLBACK_REGISTRATION , callbackcontext : *const ::core::ffi::c_void , connectflags : CF_CONNECT_FLAGS , connectionkey : *mut CF_CONNECTION_KEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfConnectSyncRoot ( syncrootpath : :: windows::core::PCWSTR , callbacktable : *const CF_CALLBACK_REGISTRATION , callbackcontext : *const ::core::ffi::c_void , connectflags : CF_CONNECT_FLAGS , connectionkey : *mut CF_CONNECTION_KEY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CfConnectSyncRoot(syncrootpath.into().abi(), callbacktable, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), connectflags, &mut result__).from_abi(result__) } @@ -26,7 +26,7 @@ pub unsafe fn CfConvertToPlaceholder(filehandle: P0, fileidentity: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfConvertToPlaceholder ( filehandle : super::super::Foundation:: HANDLE , fileidentity : *const ::core::ffi::c_void , fileidentitylength : u32 , convertflags : CF_CONVERT_FLAGS , convertusn : *mut i64 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfConvertToPlaceholder ( filehandle : super::super::Foundation:: HANDLE , fileidentity : *const ::core::ffi::c_void , fileidentitylength : u32 , convertflags : CF_CONVERT_FLAGS , convertusn : *mut i64 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); CfConvertToPlaceholder(filehandle.into(), ::core::mem::transmute(fileidentity.unwrap_or(::std::ptr::null())), fileidentitylength, convertflags, ::core::mem::transmute(convertusn.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Storage_FileSystem\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn CfCreatePlaceholders(basedirectorypath: P0, placeholderarray: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfCreatePlaceholders ( basedirectorypath : :: windows::core::PCWSTR , placeholderarray : *mut CF_PLACEHOLDER_CREATE_INFO , placeholdercount : u32 , createflags : CF_CREATE_FLAGS , entriesprocessed : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfCreatePlaceholders ( basedirectorypath : :: windows::core::PCWSTR , placeholderarray : *mut CF_PLACEHOLDER_CREATE_INFO , placeholdercount : u32 , createflags : CF_CREATE_FLAGS , entriesprocessed : *mut u32 ) -> :: windows::core::HRESULT ); CfCreatePlaceholders(basedirectorypath.into().abi(), ::core::mem::transmute(placeholderarray.as_ptr()), placeholderarray.len() as _, createflags, ::core::mem::transmute(entriesprocessed.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -46,7 +46,7 @@ pub unsafe fn CfDehydratePlaceholder(filehandle: P0, startingoffset: i64, le where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfDehydratePlaceholder ( filehandle : super::super::Foundation:: HANDLE , startingoffset : i64 , length : i64 , dehydrateflags : CF_DEHYDRATE_FLAGS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfDehydratePlaceholder ( filehandle : super::super::Foundation:: HANDLE , startingoffset : i64 , length : i64 , dehydrateflags : CF_DEHYDRATE_FLAGS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); CfDehydratePlaceholder(filehandle.into(), startingoffset, length, dehydrateflags, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] @@ -55,14 +55,14 @@ pub unsafe fn CfDisconnectSyncRoot(connectionkey: P0) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfDisconnectSyncRoot ( connectionkey : CF_CONNECTION_KEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfDisconnectSyncRoot ( connectionkey : CF_CONNECTION_KEY ) -> :: windows::core::HRESULT ); CfDisconnectSyncRoot(connectionkey.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_CorrelationVector\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem", feature = "Win32_System_CorrelationVector"))] #[inline] pub unsafe fn CfExecute(opinfo: *const CF_OPERATION_INFO, opparams: *mut CF_OPERATION_PARAMETERS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "cldapi.dll""system" fn CfExecute ( opinfo : *const CF_OPERATION_INFO , opparams : *mut CF_OPERATION_PARAMETERS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfExecute ( opinfo : *const CF_OPERATION_INFO , opparams : *mut CF_OPERATION_PARAMETERS ) -> :: windows::core::HRESULT ); CfExecute(opinfo, opparams).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_CorrelationVector\"`*"] @@ -72,7 +72,7 @@ pub unsafe fn CfGetCorrelationVector(filehandle: P0, correlationvector: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetCorrelationVector ( filehandle : super::super::Foundation:: HANDLE , correlationvector : *mut super::super::System::CorrelationVector:: CORRELATION_VECTOR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetCorrelationVector ( filehandle : super::super::Foundation:: HANDLE , correlationvector : *mut super::super::System::CorrelationVector:: CORRELATION_VECTOR ) -> :: windows::core::HRESULT ); CfGetCorrelationVector(filehandle.into(), correlationvector).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -82,7 +82,7 @@ pub unsafe fn CfGetPlaceholderInfo(filehandle: P0, infoclass: CF_PLACEHOLDER where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetPlaceholderInfo ( filehandle : super::super::Foundation:: HANDLE , infoclass : CF_PLACEHOLDER_INFO_CLASS , infobuffer : *mut ::core::ffi::c_void , infobufferlength : u32 , returnedlength : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetPlaceholderInfo ( filehandle : super::super::Foundation:: HANDLE , infoclass : CF_PLACEHOLDER_INFO_CLASS , infobuffer : *mut ::core::ffi::c_void , infobufferlength : u32 , returnedlength : *mut u32 ) -> :: windows::core::HRESULT ); CfGetPlaceholderInfo(filehandle.into(), infoclass, infobuffer, infobufferlength, ::core::mem::transmute(returnedlength.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -92,33 +92,33 @@ pub unsafe fn CfGetPlaceholderRangeInfo(filehandle: P0, infoclass: CF_PLACEH where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetPlaceholderRangeInfo ( filehandle : super::super::Foundation:: HANDLE , infoclass : CF_PLACEHOLDER_RANGE_INFO_CLASS , startingoffset : i64 , length : i64 , infobuffer : *mut ::core::ffi::c_void , infobufferlength : u32 , returnedlength : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetPlaceholderRangeInfo ( filehandle : super::super::Foundation:: HANDLE , infoclass : CF_PLACEHOLDER_RANGE_INFO_CLASS , startingoffset : i64 , length : i64 , infobuffer : *mut ::core::ffi::c_void , infobufferlength : u32 , returnedlength : *mut u32 ) -> :: windows::core::HRESULT ); CfGetPlaceholderRangeInfo(filehandle.into(), infoclass, startingoffset, length, infobuffer, infobufferlength, ::core::mem::transmute(returnedlength.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] #[inline] pub unsafe fn CfGetPlaceholderStateFromAttributeTag(fileattributes: u32, reparsetag: u32) -> CF_PLACEHOLDER_STATE { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetPlaceholderStateFromAttributeTag ( fileattributes : u32 , reparsetag : u32 ) -> CF_PLACEHOLDER_STATE ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetPlaceholderStateFromAttributeTag ( fileattributes : u32 , reparsetag : u32 ) -> CF_PLACEHOLDER_STATE ); CfGetPlaceholderStateFromAttributeTag(fileattributes, reparsetag) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(feature = "Win32_Storage_FileSystem")] #[inline] pub unsafe fn CfGetPlaceholderStateFromFileInfo(infobuffer: *const ::core::ffi::c_void, infoclass: super::FileSystem::FILE_INFO_BY_HANDLE_CLASS) -> CF_PLACEHOLDER_STATE { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetPlaceholderStateFromFileInfo ( infobuffer : *const ::core::ffi::c_void , infoclass : super::FileSystem:: FILE_INFO_BY_HANDLE_CLASS ) -> CF_PLACEHOLDER_STATE ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetPlaceholderStateFromFileInfo ( infobuffer : *const ::core::ffi::c_void , infoclass : super::FileSystem:: FILE_INFO_BY_HANDLE_CLASS ) -> CF_PLACEHOLDER_STATE ); CfGetPlaceholderStateFromFileInfo(infobuffer, infoclass) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] pub unsafe fn CfGetPlaceholderStateFromFindData(finddata: *const super::FileSystem::WIN32_FIND_DATAA) -> CF_PLACEHOLDER_STATE { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetPlaceholderStateFromFindData ( finddata : *const super::FileSystem:: WIN32_FIND_DATAA ) -> CF_PLACEHOLDER_STATE ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetPlaceholderStateFromFindData ( finddata : *const super::FileSystem:: WIN32_FIND_DATAA ) -> CF_PLACEHOLDER_STATE ); CfGetPlaceholderStateFromFindData(finddata) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] #[inline] pub unsafe fn CfGetPlatformInfo() -> ::windows::core::Result { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetPlatformInfo ( platformversion : *mut CF_PLATFORM_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetPlatformInfo ( platformversion : *mut CF_PLATFORM_INFO ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CfGetPlatformInfo(&mut result__).from_abi(result__) } @@ -129,7 +129,7 @@ pub unsafe fn CfGetSyncRootInfoByHandle(filehandle: P0, infoclass: CF_SYNC_R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetSyncRootInfoByHandle ( filehandle : super::super::Foundation:: HANDLE , infoclass : CF_SYNC_ROOT_INFO_CLASS , infobuffer : *mut ::core::ffi::c_void , infobufferlength : u32 , returnedlength : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetSyncRootInfoByHandle ( filehandle : super::super::Foundation:: HANDLE , infoclass : CF_SYNC_ROOT_INFO_CLASS , infobuffer : *mut ::core::ffi::c_void , infobufferlength : u32 , returnedlength : *mut u32 ) -> :: windows::core::HRESULT ); CfGetSyncRootInfoByHandle(filehandle.into(), infoclass, infobuffer, infobufferlength, ::core::mem::transmute(returnedlength.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] @@ -138,7 +138,7 @@ pub unsafe fn CfGetSyncRootInfoByPath(filepath: P0, infoclass: CF_SYNC_ROOT_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetSyncRootInfoByPath ( filepath : :: windows::core::PCWSTR , infoclass : CF_SYNC_ROOT_INFO_CLASS , infobuffer : *mut ::core::ffi::c_void , infobufferlength : u32 , returnedlength : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetSyncRootInfoByPath ( filepath : :: windows::core::PCWSTR , infoclass : CF_SYNC_ROOT_INFO_CLASS , infobuffer : *mut ::core::ffi::c_void , infobufferlength : u32 , returnedlength : *mut u32 ) -> :: windows::core::HRESULT ); CfGetSyncRootInfoByPath(filepath.into().abi(), infoclass, infobuffer, infobufferlength, ::core::mem::transmute(returnedlength.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -148,7 +148,7 @@ pub unsafe fn CfGetTransferKey(filehandle: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetTransferKey ( filehandle : super::super::Foundation:: HANDLE , transferkey : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetTransferKey ( filehandle : super::super::Foundation:: HANDLE , transferkey : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CfGetTransferKey(filehandle.into(), &mut result__).from_abi(result__) } @@ -159,7 +159,7 @@ pub unsafe fn CfGetWin32HandleFromProtectedHandle(protectedhandle: P0) -> su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfGetWin32HandleFromProtectedHandle ( protectedhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfGetWin32HandleFromProtectedHandle ( protectedhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); CfGetWin32HandleFromProtectedHandle(protectedhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -169,7 +169,7 @@ pub unsafe fn CfHydratePlaceholder(filehandle: P0, startingoffset: i64, leng where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfHydratePlaceholder ( filehandle : super::super::Foundation:: HANDLE , startingoffset : i64 , length : i64 , hydrateflags : CF_HYDRATE_FLAGS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfHydratePlaceholder ( filehandle : super::super::Foundation:: HANDLE , startingoffset : i64 , length : i64 , hydrateflags : CF_HYDRATE_FLAGS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); CfHydratePlaceholder(filehandle.into(), startingoffset, length, hydrateflags, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -179,7 +179,7 @@ pub unsafe fn CfOpenFileWithOplock(filepath: P0, flags: CF_OPEN_FILE_FLAGS) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfOpenFileWithOplock ( filepath : :: windows::core::PCWSTR , flags : CF_OPEN_FILE_FLAGS , protectedhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfOpenFileWithOplock ( filepath : :: windows::core::PCWSTR , flags : CF_OPEN_FILE_FLAGS , protectedhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CfOpenFileWithOplock(filepath.into().abi(), flags, &mut result__).from_abi(result__) } @@ -189,7 +189,7 @@ pub unsafe fn CfQuerySyncProviderStatus(connectionkey: P0) -> ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfQuerySyncProviderStatus ( connectionkey : CF_CONNECTION_KEY , providerstatus : *mut CF_SYNC_PROVIDER_STATUS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfQuerySyncProviderStatus ( connectionkey : CF_CONNECTION_KEY , providerstatus : *mut CF_SYNC_PROVIDER_STATUS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CfQuerySyncProviderStatus(connectionkey.into(), &mut result__).from_abi(result__) } @@ -200,7 +200,7 @@ pub unsafe fn CfReferenceProtectedHandle(protectedhandle: P0) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfReferenceProtectedHandle ( protectedhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfReferenceProtectedHandle ( protectedhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOLEAN ); CfReferenceProtectedHandle(protectedhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] @@ -209,7 +209,7 @@ pub unsafe fn CfRegisterSyncRoot(syncrootpath: P0, registration: *const CF_S where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfRegisterSyncRoot ( syncrootpath : :: windows::core::PCWSTR , registration : *const CF_SYNC_REGISTRATION , policies : *const CF_SYNC_POLICIES , registerflags : CF_REGISTER_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfRegisterSyncRoot ( syncrootpath : :: windows::core::PCWSTR , registration : *const CF_SYNC_REGISTRATION , policies : *const CF_SYNC_POLICIES , registerflags : CF_REGISTER_FLAGS ) -> :: windows::core::HRESULT ); CfRegisterSyncRoot(syncrootpath.into().abi(), registration, policies, registerflags).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -219,7 +219,7 @@ pub unsafe fn CfReleaseProtectedHandle(protectedhandle: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfReleaseProtectedHandle ( protectedhandle : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfReleaseProtectedHandle ( protectedhandle : super::super::Foundation:: HANDLE ) -> ( ) ); CfReleaseProtectedHandle(protectedhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -229,7 +229,7 @@ pub unsafe fn CfReleaseTransferKey(filehandle: P0) -> i64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfReleaseTransferKey ( filehandle : super::super::Foundation:: HANDLE , transferkey : *mut i64 ) -> ( ) ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfReleaseTransferKey ( filehandle : super::super::Foundation:: HANDLE , transferkey : *mut i64 ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); CfReleaseTransferKey(filehandle.into(), &mut result__); ::std::mem::transmute(result__) @@ -240,7 +240,7 @@ pub unsafe fn CfReportProviderProgress(connectionkey: P0, transferkey: i64, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfReportProviderProgress ( connectionkey : CF_CONNECTION_KEY , transferkey : i64 , providerprogresstotal : i64 , providerprogresscompleted : i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfReportProviderProgress ( connectionkey : CF_CONNECTION_KEY , transferkey : i64 , providerprogresstotal : i64 , providerprogresscompleted : i64 ) -> :: windows::core::HRESULT ); CfReportProviderProgress(connectionkey.into(), transferkey, providerprogresstotal, providerprogresscompleted).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] @@ -249,7 +249,7 @@ pub unsafe fn CfReportProviderProgress2(connectionkey: P0, transferkey: i64, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfReportProviderProgress2 ( connectionkey : CF_CONNECTION_KEY , transferkey : i64 , requestkey : i64 , providerprogresstotal : i64 , providerprogresscompleted : i64 , targetsessionid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfReportProviderProgress2 ( connectionkey : CF_CONNECTION_KEY , transferkey : i64 , requestkey : i64 , providerprogresstotal : i64 , providerprogresscompleted : i64 , targetsessionid : u32 ) -> :: windows::core::HRESULT ); CfReportProviderProgress2(connectionkey.into(), transferkey, requestkey, providerprogresstotal, providerprogresscompleted, targetsessionid).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] @@ -258,7 +258,7 @@ pub unsafe fn CfReportSyncStatus(syncrootpath: P0, syncstatus: ::core::optio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfReportSyncStatus ( syncrootpath : :: windows::core::PCWSTR , syncstatus : *const CF_SYNC_STATUS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfReportSyncStatus ( syncrootpath : :: windows::core::PCWSTR , syncstatus : *const CF_SYNC_STATUS ) -> :: windows::core::HRESULT ); CfReportSyncStatus(syncrootpath.into().abi(), ::core::mem::transmute(syncstatus.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -268,7 +268,7 @@ pub unsafe fn CfRevertPlaceholder(filehandle: P0, revertflags: CF_REVERT_FLA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfRevertPlaceholder ( filehandle : super::super::Foundation:: HANDLE , revertflags : CF_REVERT_FLAGS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfRevertPlaceholder ( filehandle : super::super::Foundation:: HANDLE , revertflags : CF_REVERT_FLAGS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); CfRevertPlaceholder(filehandle.into(), revertflags, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_CorrelationVector\"`*"] @@ -278,7 +278,7 @@ pub unsafe fn CfSetCorrelationVector(filehandle: P0, correlationvector: *con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfSetCorrelationVector ( filehandle : super::super::Foundation:: HANDLE , correlationvector : *const super::super::System::CorrelationVector:: CORRELATION_VECTOR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfSetCorrelationVector ( filehandle : super::super::Foundation:: HANDLE , correlationvector : *const super::super::System::CorrelationVector:: CORRELATION_VECTOR ) -> :: windows::core::HRESULT ); CfSetCorrelationVector(filehandle.into(), correlationvector).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`*"] @@ -288,7 +288,7 @@ pub unsafe fn CfSetInSyncState(filehandle: P0, insyncstate: CF_IN_SYNC_STATE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfSetInSyncState ( filehandle : super::super::Foundation:: HANDLE , insyncstate : CF_IN_SYNC_STATE , insyncflags : CF_SET_IN_SYNC_FLAGS , insyncusn : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfSetInSyncState ( filehandle : super::super::Foundation:: HANDLE , insyncstate : CF_IN_SYNC_STATE , insyncflags : CF_SET_IN_SYNC_FLAGS , insyncusn : *mut i64 ) -> :: windows::core::HRESULT ); CfSetInSyncState(filehandle.into(), insyncstate, insyncflags, ::core::mem::transmute(insyncusn.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -298,7 +298,7 @@ pub unsafe fn CfSetPinState(filehandle: P0, pinstate: CF_PIN_STATE, pinflags where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfSetPinState ( filehandle : super::super::Foundation:: HANDLE , pinstate : CF_PIN_STATE , pinflags : CF_SET_PIN_FLAGS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfSetPinState ( filehandle : super::super::Foundation:: HANDLE , pinstate : CF_PIN_STATE , pinflags : CF_SET_PIN_FLAGS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); CfSetPinState(filehandle.into(), pinstate, pinflags, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] @@ -307,7 +307,7 @@ pub unsafe fn CfUnregisterSyncRoot(syncrootpath: P0) -> ::windows::core::Res where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfUnregisterSyncRoot ( syncrootpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfUnregisterSyncRoot ( syncrootpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); CfUnregisterSyncRoot(syncrootpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`*"] @@ -317,7 +317,7 @@ pub unsafe fn CfUpdatePlaceholder(filehandle: P0, fsmetadata: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfUpdatePlaceholder ( filehandle : super::super::Foundation:: HANDLE , fsmetadata : *const CF_FS_METADATA , fileidentity : *const ::core::ffi::c_void , fileidentitylength : u32 , dehydraterangearray : *const CF_FILE_RANGE , dehydraterangecount : u32 , updateflags : CF_UPDATE_FLAGS , updateusn : *mut i64 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfUpdatePlaceholder ( filehandle : super::super::Foundation:: HANDLE , fsmetadata : *const CF_FS_METADATA , fileidentity : *const ::core::ffi::c_void , fileidentitylength : u32 , dehydraterangearray : *const CF_FILE_RANGE , dehydraterangecount : u32 , updateflags : CF_UPDATE_FLAGS , updateusn : *mut i64 , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); CfUpdatePlaceholder( filehandle.into(), ::core::mem::transmute(fsmetadata.unwrap_or(::std::ptr::null())), @@ -337,7 +337,7 @@ pub unsafe fn CfUpdateSyncProviderStatus(connectionkey: P0, providerstatus: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cldapi.dll""system" fn CfUpdateSyncProviderStatus ( connectionkey : CF_CONNECTION_KEY , providerstatus : CF_SYNC_PROVIDER_STATUS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "cldapi.dll""system" fn CfUpdateSyncProviderStatus ( connectionkey : CF_CONNECTION_KEY , providerstatus : CF_SYNC_PROVIDER_STATUS ) -> :: windows::core::HRESULT ); CfUpdateSyncProviderStatus(connectionkey.into(), providerstatus).ok() } #[doc = "*Required features: `\"Win32_Storage_CloudFilters\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Compression/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Compression/mod.rs index aadc604a06..1b3ce3e85a 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Compression/mod.rs @@ -5,14 +5,14 @@ pub unsafe fn CloseCompressor(compressorhandle: P0) -> super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cabinet.dll""system" fn CloseCompressor ( compressorhandle : COMPRESSOR_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn CloseCompressor ( compressorhandle : COMPRESSOR_HANDLE ) -> super::super::Foundation:: BOOL ); CloseCompressor(compressorhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseDecompressor(decompressorhandle: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""system" fn CloseDecompressor ( decompressorhandle : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn CloseDecompressor ( decompressorhandle : isize ) -> super::super::Foundation:: BOOL ); CloseDecompressor(decompressorhandle) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] @@ -22,28 +22,28 @@ pub unsafe fn Compress(compressorhandle: P0, uncompresseddata: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cabinet.dll""system" fn Compress ( compressorhandle : COMPRESSOR_HANDLE , uncompresseddata : *const ::core::ffi::c_void , uncompresseddatasize : usize , compressedbuffer : *mut ::core::ffi::c_void , compressedbuffersize : usize , compresseddatasize : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn Compress ( compressorhandle : COMPRESSOR_HANDLE , uncompresseddata : *const ::core::ffi::c_void , uncompresseddatasize : usize , compressedbuffer : *mut ::core::ffi::c_void , compressedbuffersize : usize , compresseddatasize : *mut usize ) -> super::super::Foundation:: BOOL ); Compress(compressorhandle.into(), ::core::mem::transmute(uncompresseddata.unwrap_or(::std::ptr::null())), uncompresseddatasize, ::core::mem::transmute(compressedbuffer.unwrap_or(::std::ptr::null_mut())), compressedbuffersize, compresseddatasize) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateCompressor(algorithm: COMPRESS_ALGORITHM, allocationroutines: ::core::option::Option<*const COMPRESS_ALLOCATION_ROUTINES>, compressorhandle: *mut isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""system" fn CreateCompressor ( algorithm : COMPRESS_ALGORITHM , allocationroutines : *const COMPRESS_ALLOCATION_ROUTINES , compressorhandle : *mut isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn CreateCompressor ( algorithm : COMPRESS_ALGORITHM , allocationroutines : *const COMPRESS_ALLOCATION_ROUTINES , compressorhandle : *mut isize ) -> super::super::Foundation:: BOOL ); CreateCompressor(algorithm, ::core::mem::transmute(allocationroutines.unwrap_or(::std::ptr::null())), compressorhandle) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateDecompressor(algorithm: COMPRESS_ALGORITHM, allocationroutines: ::core::option::Option<*const COMPRESS_ALLOCATION_ROUTINES>, decompressorhandle: *mut isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""system" fn CreateDecompressor ( algorithm : COMPRESS_ALGORITHM , allocationroutines : *const COMPRESS_ALLOCATION_ROUTINES , decompressorhandle : *mut isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn CreateDecompressor ( algorithm : COMPRESS_ALGORITHM , allocationroutines : *const COMPRESS_ALLOCATION_ROUTINES , decompressorhandle : *mut isize ) -> super::super::Foundation:: BOOL ); CreateDecompressor(algorithm, ::core::mem::transmute(allocationroutines.unwrap_or(::std::ptr::null())), decompressorhandle) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Decompress(decompressorhandle: isize, compresseddata: ::core::option::Option<*const ::core::ffi::c_void>, compresseddatasize: usize, uncompressedbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, uncompressedbuffersize: usize, uncompresseddatasize: ::core::option::Option<*mut usize>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""system" fn Decompress ( decompressorhandle : isize , compresseddata : *const ::core::ffi::c_void , compresseddatasize : usize , uncompressedbuffer : *mut ::core::ffi::c_void , uncompressedbuffersize : usize , uncompresseddatasize : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn Decompress ( decompressorhandle : isize , compresseddata : *const ::core::ffi::c_void , compresseddatasize : usize , uncompressedbuffer : *mut ::core::ffi::c_void , uncompressedbuffersize : usize , uncompresseddatasize : *mut usize ) -> super::super::Foundation:: BOOL ); Decompress(decompressorhandle, ::core::mem::transmute(compresseddata.unwrap_or(::std::ptr::null())), compresseddatasize, ::core::mem::transmute(uncompressedbuffer.unwrap_or(::std::ptr::null_mut())), uncompressedbuffersize, ::core::mem::transmute(uncompresseddatasize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] @@ -53,14 +53,14 @@ pub unsafe fn QueryCompressorInformation(compressorhandle: P0, compressinfor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cabinet.dll""system" fn QueryCompressorInformation ( compressorhandle : COMPRESSOR_HANDLE , compressinformationclass : COMPRESS_INFORMATION_CLASS , compressinformation : *mut ::core::ffi::c_void , compressinformationsize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn QueryCompressorInformation ( compressorhandle : COMPRESSOR_HANDLE , compressinformationclass : COMPRESS_INFORMATION_CLASS , compressinformation : *mut ::core::ffi::c_void , compressinformationsize : usize ) -> super::super::Foundation:: BOOL ); QueryCompressorInformation(compressorhandle.into(), compressinformationclass, compressinformation, compressinformationsize) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryDecompressorInformation(decompressorhandle: isize, compressinformationclass: COMPRESS_INFORMATION_CLASS, compressinformation: *mut ::core::ffi::c_void, compressinformationsize: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""system" fn QueryDecompressorInformation ( decompressorhandle : isize , compressinformationclass : COMPRESS_INFORMATION_CLASS , compressinformation : *mut ::core::ffi::c_void , compressinformationsize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn QueryDecompressorInformation ( decompressorhandle : isize , compressinformationclass : COMPRESS_INFORMATION_CLASS , compressinformation : *mut ::core::ffi::c_void , compressinformationsize : usize ) -> super::super::Foundation:: BOOL ); QueryDecompressorInformation(decompressorhandle, compressinformationclass, compressinformation, compressinformationsize) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] @@ -70,14 +70,14 @@ pub unsafe fn ResetCompressor(compressorhandle: P0) -> super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cabinet.dll""system" fn ResetCompressor ( compressorhandle : COMPRESSOR_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn ResetCompressor ( compressorhandle : COMPRESSOR_HANDLE ) -> super::super::Foundation:: BOOL ); ResetCompressor(compressorhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ResetDecompressor(decompressorhandle: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""system" fn ResetDecompressor ( decompressorhandle : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn ResetDecompressor ( decompressorhandle : isize ) -> super::super::Foundation:: BOOL ); ResetDecompressor(decompressorhandle) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] @@ -87,14 +87,14 @@ pub unsafe fn SetCompressorInformation(compressorhandle: P0, compressinforma where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cabinet.dll""system" fn SetCompressorInformation ( compressorhandle : COMPRESSOR_HANDLE , compressinformationclass : COMPRESS_INFORMATION_CLASS , compressinformation : *const ::core::ffi::c_void , compressinformationsize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn SetCompressorInformation ( compressorhandle : COMPRESSOR_HANDLE , compressinformationclass : COMPRESS_INFORMATION_CLASS , compressinformation : *const ::core::ffi::c_void , compressinformationsize : usize ) -> super::super::Foundation:: BOOL ); SetCompressorInformation(compressorhandle.into(), compressinformationclass, compressinformation, compressinformationsize) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetDecompressorInformation(decompressorhandle: isize, compressinformationclass: COMPRESS_INFORMATION_CLASS, compressinformation: *const ::core::ffi::c_void, compressinformationsize: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "cabinet.dll""system" fn SetDecompressorInformation ( decompressorhandle : isize , compressinformationclass : COMPRESS_INFORMATION_CLASS , compressinformation : *const ::core::ffi::c_void , compressinformationsize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "cabinet.dll""system" fn SetDecompressorInformation ( decompressorhandle : isize , compressinformationclass : COMPRESS_INFORMATION_CLASS , compressinformation : *const ::core::ffi::c_void , compressinformationsize : usize ) -> super::super::Foundation:: BOOL ); SetDecompressorInformation(decompressorhandle, compressinformationclass, compressinformation, compressinformationsize) } #[doc = "*Required features: `\"Win32_Storage_Compression\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs index 78b28a6225..2be19d2bd6 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs @@ -9,7 +9,7 @@ impl IDedupBackupSupport { (::windows::core::Vtable::vtable(self).RestoreFiles)(::windows::core::Vtable::as_raw(self), numberoffiles, ::core::mem::transmute(filefullpaths), store.into().abi(), flags, fileresults).ok() } } -::windows::core::interface_hierarchy!(IDedupBackupSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDedupBackupSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDedupBackupSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -58,7 +58,7 @@ impl IDedupChunkLibrary { (::windows::core::Vtable::vtable(self).StartChunking)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(iiditeratorinterfaceid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDedupChunkLibrary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDedupChunkLibrary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDedupChunkLibrary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -152,7 +152,7 @@ impl IDedupDataPort { (::windows::core::Vtable::vtable(self).GetRequestResults)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(requestid), maxwaitms, pbatchresult, pbatchcount, pstatus, ppitemresults).ok() } } -::windows::core::interface_hierarchy!(IDedupDataPort, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDedupDataPort, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDedupDataPort { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -214,7 +214,7 @@ impl IDedupDataPortManager { (::windows::core::Vtable::vtable(self).GetVolumeDataPort)(::windows::core::Vtable::as_raw(self), options, ::core::mem::transmute_copy(path), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDedupDataPortManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDedupDataPortManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDedupDataPortManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -262,7 +262,7 @@ impl IDedupIterateChunksHash32 { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDedupIterateChunksHash32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDedupIterateChunksHash32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDedupIterateChunksHash32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -308,7 +308,7 @@ impl IDedupReadFileCallback { (::windows::core::Vtable::vtable(self).PreviewContainerRead)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(filefullpath), readoffsets.len() as _, ::core::mem::transmute(readoffsets.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IDedupReadFileCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDedupReadFileCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDedupReadFileCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs index a44bbf4650..a4a7150378 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs @@ -7,7 +7,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsAdd ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , comment : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsAdd ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , comment : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsAdd(dfsentrypath.into().abi(), servername.into().abi(), sharename.into().abi(), comment.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -19,7 +19,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsAddFtRoot ( servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , ftdfsname : :: windows::core::PCWSTR , comment : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsAddFtRoot ( servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , ftdfsname : :: windows::core::PCWSTR , comment : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsAddFtRoot(servername.into().abi(), rootshare.into().abi(), ftdfsname.into().abi(), comment.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -30,7 +30,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsAddRootTarget ( pdfspath : :: windows::core::PCWSTR , ptargetpath : :: windows::core::PCWSTR , majorversion : u32 , pcomment : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsAddRootTarget ( pdfspath : :: windows::core::PCWSTR , ptargetpath : :: windows::core::PCWSTR , majorversion : u32 , pcomment : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsAddRootTarget(pdfspath.into().abi(), ptargetpath.into().abi(), majorversion, pcomment.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -41,7 +41,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsAddStdRoot ( servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , comment : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsAddStdRoot ( servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , comment : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsAddStdRoot(servername.into().abi(), rootshare.into().abi(), comment.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -50,7 +50,7 @@ pub unsafe fn NetDfsEnum(dfsname: P0, level: u32, prefmaxlen: u32, buffer: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsEnum ( dfsname : :: windows::core::PCWSTR , level : u32 , prefmaxlen : u32 , buffer : *mut *mut u8 , entriesread : *mut u32 , resumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsEnum ( dfsname : :: windows::core::PCWSTR , level : u32 , prefmaxlen : u32 , buffer : *mut *mut u8 , entriesread : *mut u32 , resumehandle : *mut u32 ) -> u32 ); NetDfsEnum(dfsname.into().abi(), level, prefmaxlen, buffer, entriesread, resumehandle) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -61,7 +61,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsGetClientInfo ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , level : u32 , buffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsGetClientInfo ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , level : u32 , buffer : *mut *mut u8 ) -> u32 ); NetDfsGetClientInfo(dfsentrypath.into().abi(), servername.into().abi(), sharename.into().abi(), level, buffer) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] @@ -71,7 +71,7 @@ pub unsafe fn NetDfsGetFtContainerSecurity(domainname: P0, securityinformati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsGetFtContainerSecurity ( domainname : :: windows::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsGetFtContainerSecurity ( domainname : :: windows::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); NetDfsGetFtContainerSecurity(domainname.into().abi(), securityinformation, ppsecuritydescriptor, lpcbsecuritydescriptor) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -82,7 +82,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsGetInfo ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , level : u32 , buffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsGetInfo ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , level : u32 , buffer : *mut *mut u8 ) -> u32 ); NetDfsGetInfo(dfsentrypath.into().abi(), servername.into().abi(), sharename.into().abi(), level, buffer) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] @@ -92,7 +92,7 @@ pub unsafe fn NetDfsGetSecurity(dfsentrypath: P0, securityinformation: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsGetSecurity ( dfsentrypath : :: windows::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsGetSecurity ( dfsentrypath : :: windows::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); NetDfsGetSecurity(dfsentrypath.into().abi(), securityinformation, ppsecuritydescriptor, lpcbsecuritydescriptor) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] @@ -102,7 +102,7 @@ pub unsafe fn NetDfsGetStdContainerSecurity(machinename: P0, securityinforma where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsGetStdContainerSecurity ( machinename : :: windows::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsGetStdContainerSecurity ( machinename : :: windows::core::PCWSTR , securityinformation : u32 , ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> u32 ); NetDfsGetStdContainerSecurity(machinename.into().abi(), securityinformation, ppsecuritydescriptor, lpcbsecuritydescriptor) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -111,7 +111,7 @@ pub unsafe fn NetDfsGetSupportedNamespaceVersion(origin: DFS_NAMESPACE_VERSI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsGetSupportedNamespaceVersion ( origin : DFS_NAMESPACE_VERSION_ORIGIN , pname : :: windows::core::PCWSTR , ppversioninfo : *mut *mut DFS_SUPPORTED_NAMESPACE_VERSION_INFO ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsGetSupportedNamespaceVersion ( origin : DFS_NAMESPACE_VERSION_ORIGIN , pname : :: windows::core::PCWSTR , ppversioninfo : *mut *mut DFS_SUPPORTED_NAMESPACE_VERSION_INFO ) -> u32 ); NetDfsGetSupportedNamespaceVersion(origin, pname.into().abi(), ppversioninfo) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -121,7 +121,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsMove ( olddfsentrypath : :: windows::core::PCWSTR , newdfsentrypath : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsMove ( olddfsentrypath : :: windows::core::PCWSTR , newdfsentrypath : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsMove(olddfsentrypath.into().abi(), newdfsentrypath.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -132,7 +132,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsRemove ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsRemove ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR ) -> u32 ); NetDfsRemove(dfsentrypath.into().abi(), servername.into().abi(), sharename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -143,7 +143,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsRemoveFtRoot ( servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , ftdfsname : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsRemoveFtRoot ( servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , ftdfsname : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsRemoveFtRoot(servername.into().abi(), rootshare.into().abi(), ftdfsname.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -155,7 +155,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsRemoveFtRootForced ( domainname : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , ftdfsname : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsRemoveFtRootForced ( domainname : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , ftdfsname : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsRemoveFtRootForced(domainname.into().abi(), servername.into().abi(), rootshare.into().abi(), ftdfsname.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -165,7 +165,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsRemoveRootTarget ( pdfspath : :: windows::core::PCWSTR , ptargetpath : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsRemoveRootTarget ( pdfspath : :: windows::core::PCWSTR , ptargetpath : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsRemoveRootTarget(pdfspath.into().abi(), ptargetpath.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -175,7 +175,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsRemoveStdRoot ( servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsRemoveStdRoot ( servername : :: windows::core::PCWSTR , rootshare : :: windows::core::PCWSTR , flags : u32 ) -> u32 ); NetDfsRemoveStdRoot(servername.into().abi(), rootshare.into().abi(), flags) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -186,7 +186,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsSetClientInfo ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , level : u32 , buffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsSetClientInfo ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , level : u32 , buffer : *const u8 ) -> u32 ); NetDfsSetClientInfo(dfsentrypath.into().abi(), servername.into().abi(), sharename.into().abi(), level, buffer) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] @@ -197,7 +197,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsSetFtContainerSecurity ( domainname : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsSetFtContainerSecurity ( domainname : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); NetDfsSetFtContainerSecurity(domainname.into().abi(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] @@ -208,7 +208,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsSetInfo ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , level : u32 , buffer : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsSetInfo ( dfsentrypath : :: windows::core::PCWSTR , servername : :: windows::core::PCWSTR , sharename : :: windows::core::PCWSTR , level : u32 , buffer : *const u8 ) -> u32 ); NetDfsSetInfo(dfsentrypath.into().abi(), servername.into().abi(), sharename.into().abi(), level, buffer) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] @@ -219,7 +219,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsSetSecurity ( dfsentrypath : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsSetSecurity ( dfsentrypath : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); NetDfsSetSecurity(dfsentrypath.into().abi(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"] @@ -230,7 +230,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetDfsSetStdContainerSecurity ( machinename : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetDfsSetStdContainerSecurity ( machinename : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> u32 ); NetDfsSetStdContainerSecurity(machinename.into().abi(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs index c5fa98e675..d3a5941e7e 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs @@ -24,7 +24,7 @@ impl IEnhancedStorageACT { (::windows::core::Vtable::vtable(self).GetSilos)(::windows::core::Vtable::as_raw(self), pppienhancedstoragesilos, pcenhancedstoragesilos).ok() } } -::windows::core::interface_hierarchy!(IEnhancedStorageACT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnhancedStorageACT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnhancedStorageACT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -94,7 +94,7 @@ impl IEnhancedStorageACT2 { (::windows::core::Vtable::vtable(self).IsDeviceRemovable)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnhancedStorageACT2, ::windows::core::IUnknown, IEnhancedStorageACT); +::windows::imp::interface_hierarchy!(IEnhancedStorageACT2, ::windows::core::IUnknown, IEnhancedStorageACT); impl ::core::cmp::PartialEq for IEnhancedStorageACT2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -178,7 +178,7 @@ impl IEnhancedStorageACT3 { (::windows::core::Vtable::vtable(self).GetShellExtSupport)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnhancedStorageACT3, ::windows::core::IUnknown, IEnhancedStorageACT, IEnhancedStorageACT2); +::windows::imp::interface_hierarchy!(IEnhancedStorageACT3, ::windows::core::IUnknown, IEnhancedStorageACT, IEnhancedStorageACT2); impl ::core::cmp::PartialEq for IEnhancedStorageACT3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -240,7 +240,7 @@ impl IEnhancedStorageSilo { (::windows::core::Vtable::vtable(self).GetDevicePath)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnhancedStorageSilo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnhancedStorageSilo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnhancedStorageSilo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -292,7 +292,7 @@ impl IEnhancedStorageSiloAction { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IEnhancedStorageSiloAction, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnhancedStorageSiloAction, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnhancedStorageSiloAction { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -338,7 +338,7 @@ impl IEnumEnhancedStorageACT { (::windows::core::Vtable::vtable(self).GetMatchingACT)(::windows::core::Vtable::as_raw(self), szvolume.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumEnhancedStorageACT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumEnhancedStorageACT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumEnhancedStorageACT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs index 4ac8338ddf..2a2e7981b4 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn FhServiceBlockBackup(pipe: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fhsvcctl.dll""system" fn FhServiceBlockBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fhsvcctl.dll""system" fn FhServiceBlockBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); FhServiceBlockBackup(pipe.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn FhServiceClosePipe(pipe: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fhsvcctl.dll""system" fn FhServiceClosePipe ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fhsvcctl.dll""system" fn FhServiceClosePipe ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); FhServiceClosePipe(pipe.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn FhServiceOpenPipe(startserviceifstopped: P0) -> ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fhsvcctl.dll""system" fn FhServiceOpenPipe ( startserviceifstopped : super::super::Foundation:: BOOL , pipe : *mut super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fhsvcctl.dll""system" fn FhServiceOpenPipe ( startserviceifstopped : super::super::Foundation:: BOOL , pipe : *mut super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); FhServiceOpenPipe(startserviceifstopped.into(), &mut result__).from_abi(result__) } @@ -36,7 +36,7 @@ pub unsafe fn FhServiceReloadConfiguration(pipe: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fhsvcctl.dll""system" fn FhServiceReloadConfiguration ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fhsvcctl.dll""system" fn FhServiceReloadConfiguration ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); FhServiceReloadConfiguration(pipe.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -47,7 +47,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fhsvcctl.dll""system" fn FhServiceStartBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE , lowpriorityio : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fhsvcctl.dll""system" fn FhServiceStartBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE , lowpriorityio : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); FhServiceStartBackup(pipe.into(), lowpriorityio.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -58,7 +58,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "fhsvcctl.dll""system" fn FhServiceStopBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE , stoptracking : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fhsvcctl.dll""system" fn FhServiceStopBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE , stoptracking : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); FhServiceStopBackup(pipe.into(), stoptracking.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -68,7 +68,7 @@ pub unsafe fn FhServiceUnblockBackup(pipe: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fhsvcctl.dll""system" fn FhServiceUnblockBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fhsvcctl.dll""system" fn FhServiceUnblockBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows::core::HRESULT ); FhServiceUnblockBackup(pipe.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"] @@ -143,7 +143,7 @@ impl IFhConfigMgr { (::windows::core::Vtable::vtable(self).QueryProtectionStatus)(::windows::core::Vtable::as_raw(self), protectionstate, ::core::mem::transmute(protecteduntiltime)).ok() } } -::windows::core::interface_hierarchy!(IFhConfigMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFhConfigMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFhConfigMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -225,7 +225,7 @@ impl IFhReassociation { (::windows::core::Vtable::vtable(self).PerformReassociation)(::windows::core::Vtable::as_raw(self), overwriteifexists.into()).ok() } } -::windows::core::interface_hierarchy!(IFhReassociation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFhReassociation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFhReassociation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -276,7 +276,7 @@ impl IFhScopeIterator { (::windows::core::Vtable::vtable(self).GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFhScopeIterator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFhScopeIterator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFhScopeIterator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -319,7 +319,7 @@ impl IFhTarget { (::windows::core::Vtable::vtable(self).GetNumericalProperty)(::windows::core::Vtable::as_raw(self), propertytype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFhTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFhTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFhTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs index 8b0cda895f..e6f2bc46b3 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs @@ -5,7 +5,7 @@ pub struct DIFsrmClassificationEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DIFsrmClassificationEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DIFsrmClassificationEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DIFsrmClassificationEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DIFsrmClassificationEvents { fn eq(&self, other: &Self) -> bool { @@ -52,7 +52,7 @@ impl IFsrmAccessDeniedRemediationClient { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmAccessDeniedRemediationClient, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmAccessDeniedRemediationClient, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmAccessDeniedRemediationClient { fn eq(&self, other: &Self) -> bool { @@ -114,7 +114,7 @@ impl IFsrmAction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmAction, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmAction, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmAction { fn eq(&self, other: &Self) -> bool { @@ -243,7 +243,7 @@ impl IFsrmActionCommand { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmActionCommand, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); +::windows::imp::interface_hierarchy!(IFsrmActionCommand, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmActionCommand { fn eq(&self, other: &Self) -> bool { @@ -379,7 +379,7 @@ impl IFsrmActionEmail { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmActionEmail, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); +::windows::imp::interface_hierarchy!(IFsrmActionEmail, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmActionEmail { fn eq(&self, other: &Self) -> bool { @@ -510,7 +510,7 @@ impl IFsrmActionEmail2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmActionEmail2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction, IFsrmActionEmail); +::windows::imp::interface_hierarchy!(IFsrmActionEmail2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction, IFsrmActionEmail); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmActionEmail2 { fn eq(&self, other: &Self) -> bool { @@ -587,7 +587,7 @@ impl IFsrmActionEventLog { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmActionEventLog, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); +::windows::imp::interface_hierarchy!(IFsrmActionEventLog, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmActionEventLog { fn eq(&self, other: &Self) -> bool { @@ -670,7 +670,7 @@ impl IFsrmActionReport { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmActionReport, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); +::windows::imp::interface_hierarchy!(IFsrmActionReport, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmActionReport { fn eq(&self, other: &Self) -> bool { @@ -827,7 +827,7 @@ impl IFsrmAutoApplyQuota { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmAutoApplyQuota, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); +::windows::imp::interface_hierarchy!(IFsrmAutoApplyQuota, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmAutoApplyQuota { fn eq(&self, other: &Self) -> bool { @@ -1017,7 +1017,7 @@ impl IFsrmClassificationManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmClassificationManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmClassificationManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmClassificationManager { fn eq(&self, other: &Self) -> bool { @@ -1275,7 +1275,7 @@ impl IFsrmClassificationManager2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmClassificationManager2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmClassificationManager); +::windows::imp::interface_hierarchy!(IFsrmClassificationManager2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmClassificationManager); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmClassificationManager2 { fn eq(&self, other: &Self) -> bool { @@ -1413,7 +1413,7 @@ impl IFsrmClassificationRule { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmClassificationRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmRule); +::windows::imp::interface_hierarchy!(IFsrmClassificationRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmRule); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmClassificationRule { fn eq(&self, other: &Self) -> bool { @@ -1604,7 +1604,7 @@ impl IFsrmClassifierModuleDefinition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmClassifierModuleDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); +::windows::imp::interface_hierarchy!(IFsrmClassifierModuleDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmClassifierModuleDefinition { fn eq(&self, other: &Self) -> bool { @@ -1717,7 +1717,7 @@ impl IFsrmClassifierModuleImplementation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmClassifierModuleImplementation, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); +::windows::imp::interface_hierarchy!(IFsrmClassifierModuleImplementation, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmClassifierModuleImplementation { fn eq(&self, other: &Self) -> bool { @@ -1811,7 +1811,7 @@ impl IFsrmCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmCollection { fn eq(&self, other: &Self) -> bool { @@ -1926,7 +1926,7 @@ impl IFsrmCommittableCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmCommittableCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection, IFsrmMutableCollection); +::windows::imp::interface_hierarchy!(IFsrmCommittableCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection, IFsrmMutableCollection); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmCommittableCollection { fn eq(&self, other: &Self) -> bool { @@ -1985,7 +1985,7 @@ impl IFsrmDerivedObjectsResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmDerivedObjectsResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmDerivedObjectsResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmDerivedObjectsResult { fn eq(&self, other: &Self) -> bool { @@ -2069,7 +2069,7 @@ impl IFsrmExportImport { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmExportImport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmExportImport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmExportImport { fn eq(&self, other: &Self) -> bool { @@ -2143,7 +2143,7 @@ impl IFsrmFileCondition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileCondition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmFileCondition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileCondition { fn eq(&self, other: &Self) -> bool { @@ -2234,7 +2234,7 @@ impl IFsrmFileConditionProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileConditionProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmFileCondition); +::windows::imp::interface_hierarchy!(IFsrmFileConditionProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmFileCondition); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileConditionProperty { fn eq(&self, other: &Self) -> bool { @@ -2345,7 +2345,7 @@ impl IFsrmFileGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmFileGroup, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileGroup { fn eq(&self, other: &Self) -> bool { @@ -2472,7 +2472,7 @@ impl IFsrmFileGroupImported { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileGroupImported, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileGroup); +::windows::imp::interface_hierarchy!(IFsrmFileGroupImported, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileGroup); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileGroupImported { fn eq(&self, other: &Self) -> bool { @@ -2553,7 +2553,7 @@ impl IFsrmFileGroupManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileGroupManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmFileGroupManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileGroupManager { fn eq(&self, other: &Self) -> bool { @@ -2850,7 +2850,7 @@ impl IFsrmFileManagementJob { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileManagementJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmFileManagementJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileManagementJob { fn eq(&self, other: &Self) -> bool { @@ -3026,7 +3026,7 @@ impl IFsrmFileManagementJobManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileManagementJobManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmFileManagementJobManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileManagementJobManager { fn eq(&self, other: &Self) -> bool { @@ -3164,7 +3164,7 @@ impl IFsrmFileScreen { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileScreen, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase); +::windows::imp::interface_hierarchy!(IFsrmFileScreen, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileScreen { fn eq(&self, other: &Self) -> bool { @@ -3266,7 +3266,7 @@ impl IFsrmFileScreenBase { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileScreenBase, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmFileScreenBase, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileScreenBase { fn eq(&self, other: &Self) -> bool { @@ -3362,7 +3362,7 @@ impl IFsrmFileScreenException { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileScreenException, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmFileScreenException, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileScreenException { fn eq(&self, other: &Self) -> bool { @@ -3468,7 +3468,7 @@ impl IFsrmFileScreenManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileScreenManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmFileScreenManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileScreenManager { fn eq(&self, other: &Self) -> bool { @@ -3613,7 +3613,7 @@ impl IFsrmFileScreenTemplate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileScreenTemplate, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase); +::windows::imp::interface_hierarchy!(IFsrmFileScreenTemplate, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileScreenTemplate { fn eq(&self, other: &Self) -> bool { @@ -3743,7 +3743,7 @@ impl IFsrmFileScreenTemplateImported { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileScreenTemplateImported, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase, IFsrmFileScreenTemplate); +::windows::imp::interface_hierarchy!(IFsrmFileScreenTemplateImported, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase, IFsrmFileScreenTemplate); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileScreenTemplateImported { fn eq(&self, other: &Self) -> bool { @@ -3824,7 +3824,7 @@ impl IFsrmFileScreenTemplateManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmFileScreenTemplateManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmFileScreenTemplateManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmFileScreenTemplateManager { fn eq(&self, other: &Self) -> bool { @@ -3937,7 +3937,7 @@ impl IFsrmMutableCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmMutableCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection); +::windows::imp::interface_hierarchy!(IFsrmMutableCollection, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmMutableCollection { fn eq(&self, other: &Self) -> bool { @@ -4007,7 +4007,7 @@ impl IFsrmObject { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmObject { fn eq(&self, other: &Self) -> bool { @@ -4061,7 +4061,7 @@ impl IFsrmPathMapper { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPathMapper, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmPathMapper, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPathMapper { fn eq(&self, other: &Self) -> bool { @@ -4135,7 +4135,7 @@ impl IFsrmPipelineModuleConnector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPipelineModuleConnector, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmPipelineModuleConnector, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPipelineModuleConnector { fn eq(&self, other: &Self) -> bool { @@ -4295,7 +4295,7 @@ impl IFsrmPipelineModuleDefinition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPipelineModuleDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmPipelineModuleDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPipelineModuleDefinition { fn eq(&self, other: &Self) -> bool { @@ -4393,7 +4393,7 @@ impl IFsrmPipelineModuleImplementation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPipelineModuleImplementation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmPipelineModuleImplementation, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPipelineModuleImplementation { fn eq(&self, other: &Self) -> bool { @@ -4459,7 +4459,7 @@ impl IFsrmProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmProperty { fn eq(&self, other: &Self) -> bool { @@ -4613,7 +4613,7 @@ impl IFsrmPropertyBag { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPropertyBag, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmPropertyBag, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPropertyBag { fn eq(&self, other: &Self) -> bool { @@ -4826,7 +4826,7 @@ impl IFsrmPropertyBag2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPropertyBag2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmPropertyBag); +::windows::imp::interface_hierarchy!(IFsrmPropertyBag2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmPropertyBag); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPropertyBag2 { fn eq(&self, other: &Self) -> bool { @@ -4901,7 +4901,7 @@ impl IFsrmPropertyCondition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPropertyCondition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmPropertyCondition, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPropertyCondition { fn eq(&self, other: &Self) -> bool { @@ -5015,7 +5015,7 @@ impl IFsrmPropertyDefinition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPropertyDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmPropertyDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPropertyDefinition { fn eq(&self, other: &Self) -> bool { @@ -5171,7 +5171,7 @@ impl IFsrmPropertyDefinition2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPropertyDefinition2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPropertyDefinition); +::windows::imp::interface_hierarchy!(IFsrmPropertyDefinition2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPropertyDefinition); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPropertyDefinition2 { fn eq(&self, other: &Self) -> bool { @@ -5238,7 +5238,7 @@ impl IFsrmPropertyDefinitionValue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmPropertyDefinitionValue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmPropertyDefinitionValue, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmPropertyDefinitionValue { fn eq(&self, other: &Self) -> bool { @@ -5394,7 +5394,7 @@ impl IFsrmQuota { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmQuota, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); +::windows::imp::interface_hierarchy!(IFsrmQuota, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmQuota { fn eq(&self, other: &Self) -> bool { @@ -5510,7 +5510,7 @@ impl IFsrmQuotaBase { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmQuotaBase, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmQuotaBase, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmQuotaBase { fn eq(&self, other: &Self) -> bool { @@ -5647,7 +5647,7 @@ impl IFsrmQuotaManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmQuotaManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmQuotaManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmQuotaManager { fn eq(&self, other: &Self) -> bool { @@ -5810,7 +5810,7 @@ impl IFsrmQuotaManagerEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmQuotaManagerEx, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmQuotaManager); +::windows::imp::interface_hierarchy!(IFsrmQuotaManagerEx, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmQuotaManager); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmQuotaManagerEx { fn eq(&self, other: &Self) -> bool { @@ -5944,7 +5944,7 @@ impl IFsrmQuotaObject { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmQuotaObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase); +::windows::imp::interface_hierarchy!(IFsrmQuotaObject, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmQuotaObject { fn eq(&self, other: &Self) -> bool { @@ -6074,7 +6074,7 @@ impl IFsrmQuotaTemplate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmQuotaTemplate, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase); +::windows::imp::interface_hierarchy!(IFsrmQuotaTemplate, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmQuotaTemplate { fn eq(&self, other: &Self) -> bool { @@ -6216,7 +6216,7 @@ impl IFsrmQuotaTemplateImported { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmQuotaTemplateImported, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaTemplate); +::windows::imp::interface_hierarchy!(IFsrmQuotaTemplateImported, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaTemplate); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmQuotaTemplateImported { fn eq(&self, other: &Self) -> bool { @@ -6297,7 +6297,7 @@ impl IFsrmQuotaTemplateManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmQuotaTemplateManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmQuotaTemplateManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmQuotaTemplateManager { fn eq(&self, other: &Self) -> bool { @@ -6396,7 +6396,7 @@ impl IFsrmReport { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmReport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmReport, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmReport { fn eq(&self, other: &Self) -> bool { @@ -6547,7 +6547,7 @@ impl IFsrmReportJob { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmReportJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmReportJob, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmReportJob { fn eq(&self, other: &Self) -> bool { @@ -6681,7 +6681,7 @@ impl IFsrmReportManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmReportManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmReportManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmReportManager { fn eq(&self, other: &Self) -> bool { @@ -6776,7 +6776,7 @@ impl IFsrmReportScheduler { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmReportScheduler, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmReportScheduler, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmReportScheduler { fn eq(&self, other: &Self) -> bool { @@ -6902,7 +6902,7 @@ impl IFsrmRule { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); +::windows::imp::interface_hierarchy!(IFsrmRule, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmRule { fn eq(&self, other: &Self) -> bool { @@ -7031,7 +7031,7 @@ impl IFsrmSetting { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmSetting, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsrmSetting, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmSetting { fn eq(&self, other: &Self) -> bool { @@ -7233,7 +7233,7 @@ impl IFsrmStorageModuleDefinition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmStorageModuleDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); +::windows::imp::interface_hierarchy!(IFsrmStorageModuleDefinition, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmStorageModuleDefinition { fn eq(&self, other: &Self) -> bool { @@ -7324,7 +7324,7 @@ impl IFsrmStorageModuleImplementation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsrmStorageModuleImplementation, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); +::windows::imp::interface_hierarchy!(IFsrmStorageModuleImplementation, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsrmStorageModuleImplementation { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs index 75de414f6a..41705f7bac 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clfsw32.dll""system" fn AddLogContainer ( hlog : super::super::Foundation:: HANDLE , pcbcontainer : *const u64 , pwszcontainerpath : :: windows::core::PCWSTR , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn AddLogContainer ( hlog : super::super::Foundation:: HANDLE , pcbcontainer : *const u64 , pwszcontainerpath : :: windows::core::PCWSTR , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); AddLogContainer(hlog.into(), ::core::mem::transmute(pcbcontainer.unwrap_or(::std::ptr::null())), pwszcontainerpath.into().abi(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -16,7 +16,7 @@ pub unsafe fn AddLogContainerSet(hlog: P0, pcbcontainer: ::core::option::Opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn AddLogContainerSet ( hlog : super::super::Foundation:: HANDLE , ccontainer : u16 , pcbcontainer : *const u64 , rgwszcontainerpath : *const :: windows::core::PCWSTR , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn AddLogContainerSet ( hlog : super::super::Foundation:: HANDLE , ccontainer : u16 , pcbcontainer : *const u64 , rgwszcontainerpath : *const :: windows::core::PCWSTR , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); AddLogContainerSet(hlog.into(), rgwszcontainerpath.len() as _, ::core::mem::transmute(pcbcontainer.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgwszcontainerpath.as_ptr()), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] @@ -26,35 +26,35 @@ pub unsafe fn AddUsersToEncryptedFile(lpfilename: P0, pencryptioncertificate where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn AddUsersToEncryptedFile ( lpfilename : :: windows::core::PCWSTR , pencryptioncertificates : *const ENCRYPTION_CERTIFICATE_LIST ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AddUsersToEncryptedFile ( lpfilename : :: windows::core::PCWSTR , pencryptioncertificates : *const ENCRYPTION_CERTIFICATE_LIST ) -> u32 ); AddUsersToEncryptedFile(lpfilename.into().abi(), pencryptioncertificates) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn AdvanceLogBase(pvmarshal: *mut ::core::ffi::c_void, plsnbase: *mut CLS_LSN, fflags: u32, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn AdvanceLogBase ( pvmarshal : *mut ::core::ffi::c_void , plsnbase : *mut CLS_LSN , fflags : u32 , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn AdvanceLogBase ( pvmarshal : *mut ::core::ffi::c_void , plsnbase : *mut CLS_LSN , fflags : u32 , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); AdvanceLogBase(pvmarshal, plsnbase, fflags, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AlignReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, rgcbreservation: *mut i64, pcbalignreservation: *mut i64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn AlignReservedLog ( pvmarshal : *mut ::core::ffi::c_void , creservedrecords : u32 , rgcbreservation : *mut i64 , pcbalignreservation : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn AlignReservedLog ( pvmarshal : *mut ::core::ffi::c_void , creservedrecords : u32 , rgcbreservation : *mut i64 , pcbalignreservation : *mut i64 ) -> super::super::Foundation:: BOOL ); AlignReservedLog(pvmarshal, creservedrecords, rgcbreservation, pcbalignreservation) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AllocReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, pcbadjustment: *mut i64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn AllocReservedLog ( pvmarshal : *mut ::core::ffi::c_void , creservedrecords : u32 , pcbadjustment : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn AllocReservedLog ( pvmarshal : *mut ::core::ffi::c_void , creservedrecords : u32 , pcbadjustment : *mut i64 ) -> super::super::Foundation:: BOOL ); AllocReservedLog(pvmarshal, creservedrecords, pcbadjustment) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AreFileApisANSI() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn AreFileApisANSI ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AreFileApisANSI ( ) -> super::super::Foundation:: BOOL ); AreFileApisANSI() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -64,7 +64,7 @@ pub unsafe fn AreShortNamesEnabled(handle: P0, enabled: *mut super::super::F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AreShortNamesEnabled ( handle : super::super::Foundation:: HANDLE , enabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AreShortNamesEnabled ( handle : super::super::Foundation:: HANDLE , enabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); AreShortNamesEnabled(handle.into(), enabled) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -76,7 +76,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn BackupRead ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *mut u8 , nnumberofbytestoread : u32 , lpnumberofbytesread : *mut u32 , babort : super::super::Foundation:: BOOL , bprocesssecurity : super::super::Foundation:: BOOL , lpcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BackupRead ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *mut u8 , nnumberofbytestoread : u32 , lpnumberofbytesread : *mut u32 , babort : super::super::Foundation:: BOOL , bprocesssecurity : super::super::Foundation:: BOOL , lpcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); BackupRead(hfile.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpnumberofbytesread, babort.into(), bprocesssecurity.into(), lpcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -86,7 +86,7 @@ pub unsafe fn BackupSeek(hfile: P0, dwlowbytestoseek: u32, dwhighbytestoseek where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn BackupSeek ( hfile : super::super::Foundation:: HANDLE , dwlowbytestoseek : u32 , dwhighbytestoseek : u32 , lpdwlowbyteseeked : *mut u32 , lpdwhighbyteseeked : *mut u32 , lpcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BackupSeek ( hfile : super::super::Foundation:: HANDLE , dwlowbytestoseek : u32 , dwhighbytestoseek : u32 , lpdwlowbyteseeked : *mut u32 , lpdwhighbyteseeked : *mut u32 , lpcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); BackupSeek(hfile.into(), dwlowbytestoseek, dwhighbytestoseek, lpdwlowbyteseeked, lpdwhighbyteseeked, lpcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -98,34 +98,34 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn BackupWrite ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *const u8 , nnumberofbytestowrite : u32 , lpnumberofbyteswritten : *mut u32 , babort : super::super::Foundation:: BOOL , bprocesssecurity : super::super::Foundation:: BOOL , lpcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BackupWrite ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *const u8 , nnumberofbytestowrite : u32 , lpnumberofbyteswritten : *mut u32 , babort : super::super::Foundation:: BOOL , bprocesssecurity : super::super::Foundation:: BOOL , lpcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); BackupWrite(hfile.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpnumberofbyteswritten, babort.into(), bprocesssecurity.into(), lpcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BuildIoRingCancelRequest(ioring: *const HIORING__, file: IORING_HANDLE_REF, optocancel: usize, userdata: usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn BuildIoRingCancelRequest ( ioring : *const HIORING__ , file : IORING_HANDLE_REF , optocancel : usize , userdata : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn BuildIoRingCancelRequest ( ioring : *const HIORING__ , file : IORING_HANDLE_REF , optocancel : usize , userdata : usize ) -> :: windows::core::HRESULT ); BuildIoRingCancelRequest(ioring, ::core::mem::transmute(file), optocancel, userdata).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BuildIoRingReadFile(ioring: *const HIORING__, fileref: IORING_HANDLE_REF, dataref: IORING_BUFFER_REF, numberofbytestoread: u32, fileoffset: u64, userdata: usize, flags: IORING_SQE_FLAGS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn BuildIoRingReadFile ( ioring : *const HIORING__ , fileref : IORING_HANDLE_REF , dataref : IORING_BUFFER_REF , numberofbytestoread : u32 , fileoffset : u64 , userdata : usize , flags : IORING_SQE_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn BuildIoRingReadFile ( ioring : *const HIORING__ , fileref : IORING_HANDLE_REF , dataref : IORING_BUFFER_REF , numberofbytestoread : u32 , fileoffset : u64 , userdata : usize , flags : IORING_SQE_FLAGS ) -> :: windows::core::HRESULT ); BuildIoRingReadFile(ioring, ::core::mem::transmute(fileref), ::core::mem::transmute(dataref), numberofbytestoread, fileoffset, userdata, flags).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn BuildIoRingRegisterBuffers(ioring: *const HIORING__, buffers: &[IORING_BUFFER_INFO], userdata: usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn BuildIoRingRegisterBuffers ( ioring : *const HIORING__ , count : u32 , buffers : *const IORING_BUFFER_INFO , userdata : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn BuildIoRingRegisterBuffers ( ioring : *const HIORING__ , count : u32 , buffers : *const IORING_BUFFER_INFO , userdata : usize ) -> :: windows::core::HRESULT ); BuildIoRingRegisterBuffers(ioring, buffers.len() as _, ::core::mem::transmute(buffers.as_ptr()), userdata).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BuildIoRingRegisterFileHandles(ioring: *const HIORING__, handles: &[super::super::Foundation::HANDLE], userdata: usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn BuildIoRingRegisterFileHandles ( ioring : *const HIORING__ , count : u32 , handles : *const super::super::Foundation:: HANDLE , userdata : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn BuildIoRingRegisterFileHandles ( ioring : *const HIORING__ , count : u32 , handles : *const super::super::Foundation:: HANDLE , userdata : usize ) -> :: windows::core::HRESULT ); BuildIoRingRegisterFileHandles(ioring, handles.len() as _, ::core::mem::transmute(handles.as_ptr()), userdata).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -135,7 +135,7 @@ pub unsafe fn CheckNameLegalDOS8Dot3A(lpname: P0, lpoemname: ::core::option: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CheckNameLegalDOS8Dot3A ( lpname : :: windows::core::PCSTR , lpoemname : :: windows::core::PSTR , oemnamesize : u32 , pbnamecontainsspaces : *mut super::super::Foundation:: BOOL , pbnamelegal : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CheckNameLegalDOS8Dot3A ( lpname : :: windows::core::PCSTR , lpoemname : :: windows::core::PSTR , oemnamesize : u32 , pbnamecontainsspaces : *mut super::super::Foundation:: BOOL , pbnamelegal : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CheckNameLegalDOS8Dot3A(lpname.into().abi(), ::core::mem::transmute(lpoemname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpoemname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbnamecontainsspaces.unwrap_or(::std::ptr::null_mut())), pbnamelegal) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -145,7 +145,7 @@ pub unsafe fn CheckNameLegalDOS8Dot3W(lpname: P0, lpoemname: ::core::option: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CheckNameLegalDOS8Dot3W ( lpname : :: windows::core::PCWSTR , lpoemname : :: windows::core::PSTR , oemnamesize : u32 , pbnamecontainsspaces : *mut super::super::Foundation:: BOOL , pbnamelegal : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CheckNameLegalDOS8Dot3W ( lpname : :: windows::core::PCWSTR , lpoemname : :: windows::core::PSTR , oemnamesize : u32 , pbnamecontainsspaces : *mut super::super::Foundation:: BOOL , pbnamelegal : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CheckNameLegalDOS8Dot3W(lpname.into().abi(), ::core::mem::transmute(lpoemname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpoemname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbnamecontainsspaces.unwrap_or(::std::ptr::null_mut())), pbnamelegal) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -155,19 +155,19 @@ pub unsafe fn CloseAndResetLogFile(hlog: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn CloseAndResetLogFile ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn CloseAndResetLogFile ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CloseAndResetLogFile(hlog.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn CloseEncryptedFileRaw(pvcontext: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "advapi32.dll""system" fn CloseEncryptedFileRaw ( pvcontext : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CloseEncryptedFileRaw ( pvcontext : *const ::core::ffi::c_void ) -> ( ) ); CloseEncryptedFileRaw(pvcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn CloseIoRing(ioring: *const HIORING__) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn CloseIoRing ( ioring : *const HIORING__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn CloseIoRing ( ioring : *const HIORING__ ) -> :: windows::core::HRESULT ); CloseIoRing(ioring).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -177,7 +177,7 @@ pub unsafe fn CommitComplete(enlistmenthandle: P0, tmvirtualclock: *mut i64) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn CommitComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn CommitComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); CommitComplete(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -187,7 +187,7 @@ pub unsafe fn CommitEnlistment(enlistmenthandle: P0, tmvirtualclock: *mut i6 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn CommitEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn CommitEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); CommitEnlistment(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -197,7 +197,7 @@ pub unsafe fn CommitTransaction(transactionhandle: P0) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn CommitTransaction ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn CommitTransaction ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CommitTransaction(transactionhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -207,14 +207,14 @@ pub unsafe fn CommitTransactionAsync(transactionhandle: P0) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn CommitTransactionAsync ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn CommitTransactionAsync ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CommitTransactionAsync(transactionhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CompareFileTime(lpfiletime1: *const super::super::Foundation::FILETIME, lpfiletime2: *const super::super::Foundation::FILETIME) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn CompareFileTime ( lpfiletime1 : *const super::super::Foundation:: FILETIME , lpfiletime2 : *const super::super::Foundation:: FILETIME ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CompareFileTime ( lpfiletime1 : *const super::super::Foundation:: FILETIME , lpfiletime2 : *const super::super::Foundation:: FILETIME ) -> i32 ); CompareFileTime(lpfiletime1, lpfiletime2) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -225,7 +225,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyFile2 ( pwszexistingfilename : :: windows::core::PCWSTR , pwsznewfilename : :: windows::core::PCWSTR , pextendedparameters : *const COPYFILE2_EXTENDED_PARAMETERS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyFile2 ( pwszexistingfilename : :: windows::core::PCWSTR , pwsznewfilename : :: windows::core::PCWSTR , pextendedparameters : *const COPYFILE2_EXTENDED_PARAMETERS ) -> :: windows::core::HRESULT ); CopyFile2(pwszexistingfilename.into().abi(), pwsznewfilename.into().abi(), ::core::mem::transmute(pextendedparameters.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -237,7 +237,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyFileA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyFileA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CopyFileA(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), bfailifexists.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -248,7 +248,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyFileExA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , pbcancel : *mut i32 , dwcopyflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyFileExA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , pbcancel : *mut i32 , dwcopyflags : u32 ) -> super::super::Foundation:: BOOL ); CopyFileExA(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbcancel.unwrap_or(::std::ptr::null_mut())), dwcopyflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -259,7 +259,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyFileExW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , pbcancel : *mut i32 , dwcopyflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyFileExW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , pbcancel : *mut i32 , dwcopyflags : u32 ) -> super::super::Foundation:: BOOL ); CopyFileExW(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbcancel.unwrap_or(::std::ptr::null_mut())), dwcopyflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -271,7 +271,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn CopyFileFromAppW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn CopyFileFromAppW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CopyFileFromAppW(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), bfailifexists.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -283,7 +283,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyFileTransactedA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , pbcancel : *const i32 , dwcopyflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyFileTransactedA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , pbcancel : *const i32 , dwcopyflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CopyFileTransactedA(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbcancel.unwrap_or(::std::ptr::null())), dwcopyflags, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -295,7 +295,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyFileTransactedW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , pbcancel : *const i32 , dwcopyflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyFileTransactedW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , pbcancel : *const i32 , dwcopyflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CopyFileTransactedW(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbcancel.unwrap_or(::std::ptr::null())), dwcopyflags, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -307,13 +307,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyFileW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyFileW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CopyFileW(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), bfailifexists.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn CopyLZFile(hfsource: i32, hfdest: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyLZFile ( hfsource : i32 , hfdest : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyLZFile ( hfsource : i32 , hfdest : i32 ) -> i32 ); CopyLZFile(hfsource, hfdest) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -323,7 +323,7 @@ pub unsafe fn CreateDirectoryA(lppathname: P0, lpsecurityattributes: ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateDirectoryA ( lppathname : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateDirectoryA ( lppathname : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); CreateDirectoryA(lppathname.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -334,7 +334,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateDirectoryExA ( lptemplatedirectory : :: windows::core::PCSTR , lpnewdirectory : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateDirectoryExA ( lptemplatedirectory : :: windows::core::PCSTR , lpnewdirectory : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); CreateDirectoryExA(lptemplatedirectory.into().abi(), lpnewdirectory.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -345,7 +345,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateDirectoryExW ( lptemplatedirectory : :: windows::core::PCWSTR , lpnewdirectory : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateDirectoryExW ( lptemplatedirectory : :: windows::core::PCWSTR , lpnewdirectory : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); CreateDirectoryExW(lptemplatedirectory.into().abi(), lpnewdirectory.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -355,7 +355,7 @@ pub unsafe fn CreateDirectoryFromAppW(lppathname: P0, lpsecurityattributes: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn CreateDirectoryFromAppW ( lppathname : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn CreateDirectoryFromAppW ( lppathname : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); CreateDirectoryFromAppW(lppathname.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -367,7 +367,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateDirectoryTransactedA ( lptemplatedirectory : :: windows::core::PCSTR , lpnewdirectory : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateDirectoryTransactedA ( lptemplatedirectory : :: windows::core::PCSTR , lpnewdirectory : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CreateDirectoryTransactedA(lptemplatedirectory.into().abi(), lpnewdirectory.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -379,7 +379,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateDirectoryTransactedW ( lptemplatedirectory : :: windows::core::PCWSTR , lpnewdirectory : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateDirectoryTransactedW ( lptemplatedirectory : :: windows::core::PCWSTR , lpnewdirectory : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CreateDirectoryTransactedW(lptemplatedirectory.into().abi(), lpnewdirectory.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -389,7 +389,7 @@ pub unsafe fn CreateDirectoryW(lppathname: P0, lpsecurityattributes: ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateDirectoryW ( lppathname : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateDirectoryW ( lppathname : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); CreateDirectoryW(lppathname.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -400,9 +400,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn CreateEnlistment ( lpenlistmentattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES , resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionhandle : super::super::Foundation:: HANDLE , notificationmask : u32 , createoptions : u32 , enlistmentkey : *mut ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn CreateEnlistment ( lpenlistmentattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES , resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionhandle : super::super::Foundation:: HANDLE , notificationmask : u32 , createoptions : u32 , enlistmentkey : *mut ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); let result__ = CreateEnlistment(lpenlistmentattributes, resourcemanagerhandle.into(), transactionhandle.into(), notificationmask, createoptions, enlistmentkey); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -411,9 +411,9 @@ pub unsafe fn CreateFile2(lpfilename: P0, dwdesiredaccess: FILE_ACCESS_FLAGS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFile2 ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , dwcreationdisposition : FILE_CREATION_DISPOSITION , pcreateexparams : *const CREATEFILE2_EXTENDED_PARAMETERS ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFile2 ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , dwcreationdisposition : FILE_CREATION_DISPOSITION , pcreateexparams : *const CREATEFILE2_EXTENDED_PARAMETERS ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFile2(lpfilename.into().abi(), dwdesiredaccess, dwsharemode, dwcreationdisposition, ::core::mem::transmute(pcreateexparams.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -422,7 +422,7 @@ pub unsafe fn CreateFile2FromAppW(lpfilename: P0, dwdesiredaccess: u32, dwsh where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn CreateFile2FromAppW ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , dwsharemode : u32 , dwcreationdisposition : u32 , pcreateexparams : *const CREATEFILE2_EXTENDED_PARAMETERS ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn CreateFile2FromAppW ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , dwsharemode : u32 , dwcreationdisposition : u32 , pcreateexparams : *const CREATEFILE2_EXTENDED_PARAMETERS ) -> super::super::Foundation:: HANDLE ); CreateFile2FromAppW(lpfilename.into().abi(), dwdesiredaccess, dwsharemode, dwcreationdisposition, ::core::mem::transmute(pcreateexparams.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -433,9 +433,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileA ( lpfilename : :: windows::core::PCSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileA ( lpfilename : :: windows::core::PCSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileA(lpfilename.into().abi(), dwdesiredaccess, dwsharemode, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), dwcreationdisposition, dwflagsandattributes, htemplatefile.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -445,7 +445,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn CreateFileFromAppW ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , dwsharemode : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : u32 , dwflagsandattributes : u32 , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn CreateFileFromAppW ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , dwsharemode : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : u32 , dwflagsandattributes : u32 , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); CreateFileFromAppW(lpfilename.into().abi(), dwdesiredaccess, dwsharemode, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), dwcreationdisposition, dwflagsandattributes, htemplatefile.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -457,9 +457,9 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileTransactedA ( lpfilename : :: windows::core::PCSTR , dwdesiredaccess : u32 , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE , htransaction : super::super::Foundation:: HANDLE , pusminiversion : *const TXFS_MINIVERSION , lpextendedparameter : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileTransactedA ( lpfilename : :: windows::core::PCSTR , dwdesiredaccess : u32 , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE , htransaction : super::super::Foundation:: HANDLE , pusminiversion : *const TXFS_MINIVERSION , lpextendedparameter : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileTransactedA(lpfilename.into().abi(), dwdesiredaccess, dwsharemode, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), dwcreationdisposition, dwflagsandattributes, htemplatefile.into(), htransaction.into(), ::core::mem::transmute(pusminiversion.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpextendedparameter.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -470,9 +470,9 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileTransactedW ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE , htransaction : super::super::Foundation:: HANDLE , pusminiversion : *const TXFS_MINIVERSION , lpextendedparameter : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileTransactedW ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : u32 , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE , htransaction : super::super::Foundation:: HANDLE , pusminiversion : *const TXFS_MINIVERSION , lpextendedparameter : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileTransactedW(lpfilename.into().abi(), dwdesiredaccess, dwsharemode, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), dwcreationdisposition, dwflagsandattributes, htemplatefile.into(), htransaction.into(), ::core::mem::transmute(pusminiversion.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpextendedparameter.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -482,9 +482,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileW ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileW ( lpfilename : :: windows::core::PCWSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileW(lpfilename.into().abi(), dwdesiredaccess, dwsharemode, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), dwcreationdisposition, dwflagsandattributes, htemplatefile.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -494,7 +494,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateHardLinkA ( lpfilename : :: windows::core::PCSTR , lpexistingfilename : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateHardLinkA ( lpfilename : :: windows::core::PCSTR , lpexistingfilename : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); CreateHardLinkA(lpfilename.into().abi(), lpexistingfilename.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -506,7 +506,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateHardLinkTransactedA ( lpfilename : :: windows::core::PCSTR , lpexistingfilename : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateHardLinkTransactedA ( lpfilename : :: windows::core::PCSTR , lpexistingfilename : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CreateHardLinkTransactedA(lpfilename.into().abi(), lpexistingfilename.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -518,7 +518,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateHardLinkTransactedW ( lpfilename : :: windows::core::PCWSTR , lpexistingfilename : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateHardLinkTransactedW ( lpfilename : :: windows::core::PCWSTR , lpexistingfilename : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CreateHardLinkTransactedW(lpfilename.into().abi(), lpexistingfilename.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -529,13 +529,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateHardLinkW ( lpfilename : :: windows::core::PCWSTR , lpexistingfilename : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateHardLinkW ( lpfilename : :: windows::core::PCWSTR , lpexistingfilename : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); CreateHardLinkW(lpfilename.into().abi(), lpexistingfilename.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn CreateIoRing(ioringversion: IORING_VERSION, flags: IORING_CREATE_FLAGS, submissionqueuesize: u32, completionqueuesize: u32) -> ::windows::core::Result<*mut HIORING__> { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn CreateIoRing ( ioringversion : IORING_VERSION , flags : IORING_CREATE_FLAGS , submissionqueuesize : u32 , completionqueuesize : u32 , h : *mut *mut HIORING__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn CreateIoRing ( ioringversion : IORING_VERSION , flags : IORING_CREATE_FLAGS , submissionqueuesize : u32 , completionqueuesize : u32 , h : *mut *mut HIORING__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut HIORING__>(); CreateIoRing(ioringversion, ::core::mem::transmute(flags), submissionqueuesize, completionqueuesize, &mut result__).from_abi(result__) } @@ -546,7 +546,7 @@ pub unsafe fn CreateLogContainerScanContext(hlog: P0, cfromcontainer: u32, c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn CreateLogContainerScanContext ( hlog : super::super::Foundation:: HANDLE , cfromcontainer : u32 , ccontainers : u32 , escanmode : u8 , pcxscan : *mut CLS_SCAN_CONTEXT , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn CreateLogContainerScanContext ( hlog : super::super::Foundation:: HANDLE , cfromcontainer : u32 , ccontainers : u32 , escanmode : u8 , pcxscan : *mut CLS_SCAN_CONTEXT , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); CreateLogContainerScanContext(hlog.into(), cfromcontainer, ccontainers, escanmode, pcxscan, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -556,9 +556,9 @@ pub unsafe fn CreateLogFile(pszlogfilename: P0, fdesiredaccess: FILE_ACCESS_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clfsw32.dll""system" fn CreateLogFile ( pszlogfilename : :: windows::core::PCWSTR , fdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , psalogfile : *mut super::super::Security:: SECURITY_ATTRIBUTES , fcreatedisposition : FILE_CREATION_DISPOSITION , fflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn CreateLogFile ( pszlogfilename : :: windows::core::PCWSTR , fdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , psalogfile : *mut super::super::Security:: SECURITY_ATTRIBUTES , fcreatedisposition : FILE_CREATION_DISPOSITION , fflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); let result__ = CreateLogFile(pszlogfilename.into().abi(), fdesiredaccess, dwsharemode, psalogfile, fcreatedisposition, fflagsandattributes); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -567,7 +567,7 @@ pub unsafe fn CreateLogMarshallingArea(hlog: P0, pfnallocbuffer: CLFS_BLOCK_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn CreateLogMarshallingArea ( hlog : super::super::Foundation:: HANDLE , pfnallocbuffer : CLFS_BLOCK_ALLOCATION , pfnfreebuffer : CLFS_BLOCK_DEALLOCATION , pvblockalloccontext : *mut ::core::ffi::c_void , cbmarshallingbuffer : u32 , cmaxwritebuffers : u32 , cmaxreadbuffers : u32 , ppvmarshal : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn CreateLogMarshallingArea ( hlog : super::super::Foundation:: HANDLE , pfnallocbuffer : CLFS_BLOCK_ALLOCATION , pfnfreebuffer : CLFS_BLOCK_DEALLOCATION , pvblockalloccontext : *mut ::core::ffi::c_void , cbmarshallingbuffer : u32 , cmaxwritebuffers : u32 , cmaxreadbuffers : u32 , ppvmarshal : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CreateLogMarshallingArea(hlog.into(), pfnallocbuffer, pfnfreebuffer, pvblockalloccontext, cbmarshallingbuffer, cmaxwritebuffers, cmaxreadbuffers, ppvmarshal) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -578,9 +578,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ktmw32.dll""system" fn CreateResourceManager ( lpresourcemanagerattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES , resourcemanagerid : *mut :: windows::core::GUID , createoptions : u32 , tmhandle : super::super::Foundation:: HANDLE , description : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn CreateResourceManager ( lpresourcemanagerattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES , resourcemanagerid : *mut :: windows::core::GUID , createoptions : u32 , tmhandle : super::super::Foundation:: HANDLE , description : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateResourceManager(lpresourcemanagerattributes, resourcemanagerid, createoptions, tmhandle.into(), description.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -590,7 +590,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateSymbolicLinkA ( lpsymlinkfilename : :: windows::core::PCSTR , lptargetfilename : :: windows::core::PCSTR , dwflags : SYMBOLIC_LINK_FLAGS ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateSymbolicLinkA ( lpsymlinkfilename : :: windows::core::PCSTR , lptargetfilename : :: windows::core::PCSTR , dwflags : SYMBOLIC_LINK_FLAGS ) -> super::super::Foundation:: BOOLEAN ); CreateSymbolicLinkA(lpsymlinkfilename.into().abi(), lptargetfilename.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -602,7 +602,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateSymbolicLinkTransactedA ( lpsymlinkfilename : :: windows::core::PCSTR , lptargetfilename : :: windows::core::PCSTR , dwflags : SYMBOLIC_LINK_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateSymbolicLinkTransactedA ( lpsymlinkfilename : :: windows::core::PCSTR , lptargetfilename : :: windows::core::PCSTR , dwflags : SYMBOLIC_LINK_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOLEAN ); CreateSymbolicLinkTransactedA(lpsymlinkfilename.into().abi(), lptargetfilename.into().abi(), dwflags, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -614,7 +614,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateSymbolicLinkTransactedW ( lpsymlinkfilename : :: windows::core::PCWSTR , lptargetfilename : :: windows::core::PCWSTR , dwflags : SYMBOLIC_LINK_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateSymbolicLinkTransactedW ( lpsymlinkfilename : :: windows::core::PCWSTR , lptargetfilename : :: windows::core::PCWSTR , dwflags : SYMBOLIC_LINK_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOLEAN ); CreateSymbolicLinkTransactedW(lpsymlinkfilename.into().abi(), lptargetfilename.into().abi(), dwflags, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -625,7 +625,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateSymbolicLinkW ( lpsymlinkfilename : :: windows::core::PCWSTR , lptargetfilename : :: windows::core::PCWSTR , dwflags : SYMBOLIC_LINK_FLAGS ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateSymbolicLinkW ( lpsymlinkfilename : :: windows::core::PCWSTR , lptargetfilename : :: windows::core::PCWSTR , dwflags : SYMBOLIC_LINK_FLAGS ) -> super::super::Foundation:: BOOLEAN ); CreateSymbolicLinkW(lpsymlinkfilename.into().abi(), lptargetfilename.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -635,7 +635,7 @@ pub unsafe fn CreateTapePartition(hdevice: P0, dwpartitionmethod: CREATE_TAP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateTapePartition ( hdevice : super::super::Foundation:: HANDLE , dwpartitionmethod : CREATE_TAPE_PARTITION_METHOD , dwcount : u32 , dwsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateTapePartition ( hdevice : super::super::Foundation:: HANDLE , dwpartitionmethod : CREATE_TAPE_PARTITION_METHOD , dwcount : u32 , dwsize : u32 ) -> u32 ); CreateTapePartition(hdevice.into(), dwpartitionmethod, dwcount, dwsize) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -645,9 +645,9 @@ pub unsafe fn CreateTransaction(lptransactionattributes: *mut super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ktmw32.dll""system" fn CreateTransaction ( lptransactionattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES , uow : *mut :: windows::core::GUID , createoptions : u32 , isolationlevel : u32 , isolationflags : u32 , timeout : u32 , description : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn CreateTransaction ( lptransactionattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES , uow : *mut :: windows::core::GUID , createoptions : u32 , isolationlevel : u32 , isolationflags : u32 , timeout : u32 , description : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateTransaction(lptransactionattributes, uow, createoptions, isolationlevel, isolationflags, timeout, description.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -656,9 +656,9 @@ pub unsafe fn CreateTransactionManager(lptransactionattributes: *mut super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ktmw32.dll""system" fn CreateTransactionManager ( lptransactionattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES , logfilename : :: windows::core::PCWSTR , createoptions : u32 , commitstrength : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn CreateTransactionManager ( lptransactionattributes : *mut super::super::Security:: SECURITY_ATTRIBUTES , logfilename : :: windows::core::PCWSTR , createoptions : u32 , commitstrength : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateTransactionManager(lptransactionattributes, logfilename.into().abi(), createoptions, commitstrength); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -667,7 +667,7 @@ pub unsafe fn DecryptFileA(lpfilename: P0, dwreserved: u32) -> super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn DecryptFileA ( lpfilename : :: windows::core::PCSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DecryptFileA ( lpfilename : :: windows::core::PCSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); DecryptFileA(lpfilename.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -677,7 +677,7 @@ pub unsafe fn DecryptFileW(lpfilename: P0, dwreserved: u32) -> super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn DecryptFileW ( lpfilename : :: windows::core::PCWSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DecryptFileW ( lpfilename : :: windows::core::PCWSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ); DecryptFileW(lpfilename.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -688,7 +688,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DefineDosDeviceA ( dwflags : DEFINE_DOS_DEVICE_FLAGS , lpdevicename : :: windows::core::PCSTR , lptargetpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DefineDosDeviceA ( dwflags : DEFINE_DOS_DEVICE_FLAGS , lpdevicename : :: windows::core::PCSTR , lptargetpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DefineDosDeviceA(dwflags, lpdevicename.into().abi(), lptargetpath.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -699,7 +699,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DefineDosDeviceW ( dwflags : DEFINE_DOS_DEVICE_FLAGS , lpdevicename : :: windows::core::PCWSTR , lptargetpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DefineDosDeviceW ( dwflags : DEFINE_DOS_DEVICE_FLAGS , lpdevicename : :: windows::core::PCWSTR , lptargetpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DefineDosDeviceW(dwflags, lpdevicename.into().abi(), lptargetpath.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -709,7 +709,7 @@ pub unsafe fn DeleteFileA(lpfilename: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteFileA ( lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteFileA ( lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeleteFileA(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -719,7 +719,7 @@ pub unsafe fn DeleteFileFromAppW(lpfilename: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn DeleteFileFromAppW ( lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn DeleteFileFromAppW ( lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeleteFileFromAppW(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -730,7 +730,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteFileTransactedA ( lpfilename : :: windows::core::PCSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteFileTransactedA ( lpfilename : :: windows::core::PCSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeleteFileTransactedA(lpfilename.into().abi(), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -741,7 +741,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteFileTransactedW ( lpfilename : :: windows::core::PCWSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteFileTransactedW ( lpfilename : :: windows::core::PCWSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeleteFileTransactedW(lpfilename.into().abi(), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -751,7 +751,7 @@ pub unsafe fn DeleteFileW(lpfilename: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteFileW ( lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteFileW ( lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeleteFileW(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -761,7 +761,7 @@ pub unsafe fn DeleteLogByHandle(hlog: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn DeleteLogByHandle ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn DeleteLogByHandle ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeleteLogByHandle(hlog.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -771,14 +771,14 @@ pub unsafe fn DeleteLogFile(pszlogfilename: P0, pvreserved: *mut ::core::ffi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clfsw32.dll""system" fn DeleteLogFile ( pszlogfilename : :: windows::core::PCWSTR , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn DeleteLogFile ( pszlogfilename : :: windows::core::PCWSTR , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DeleteLogFile(pszlogfilename.into().abi(), pvreserved) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteLogMarshallingArea(pvmarshal: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn DeleteLogMarshallingArea ( pvmarshal : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn DeleteLogMarshallingArea ( pvmarshal : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DeleteLogMarshallingArea(pvmarshal) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -788,7 +788,7 @@ pub unsafe fn DeleteVolumeMountPointA(lpszvolumemountpoint: P0) -> super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteVolumeMountPointA ( lpszvolumemountpoint : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteVolumeMountPointA ( lpszvolumemountpoint : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeleteVolumeMountPointA(lpszvolumemountpoint.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -798,7 +798,7 @@ pub unsafe fn DeleteVolumeMountPointW(lpszvolumemountpoint: P0) -> super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteVolumeMountPointW ( lpszvolumemountpoint : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteVolumeMountPointW ( lpszvolumemountpoint : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeleteVolumeMountPointW(lpszvolumemountpoint.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -808,7 +808,7 @@ pub unsafe fn DeregisterManageableLogClient(hlog: P0) -> super::super::Found where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn DeregisterManageableLogClient ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn DeregisterManageableLogClient ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeregisterManageableLogClient(hlog.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -819,7 +819,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn DuplicateEncryptionInfoFile ( srcfilename : :: windows::core::PCWSTR , dstfilename : :: windows::core::PCWSTR , dwcreationdistribution : u32 , dwattributes : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DuplicateEncryptionInfoFile ( srcfilename : :: windows::core::PCWSTR , dstfilename : :: windows::core::PCWSTR , dwcreationdistribution : u32 , dwattributes : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> u32 ); DuplicateEncryptionInfoFile(srcfilename.into().abi(), dstfilename.into().abi(), dwcreationdistribution, dwattributes, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -829,7 +829,7 @@ pub unsafe fn EncryptFileA(lpfilename: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn EncryptFileA ( lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EncryptFileA ( lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); EncryptFileA(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -839,7 +839,7 @@ pub unsafe fn EncryptFileW(lpfilename: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn EncryptFileW ( lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EncryptFileW ( lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); EncryptFileW(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -850,7 +850,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EncryptionDisable ( dirpath : :: windows::core::PCWSTR , disable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EncryptionDisable ( dirpath : :: windows::core::PCWSTR , disable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); EncryptionDisable(dirpath.into().abi(), disable.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -861,7 +861,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EraseTape ( hdevice : super::super::Foundation:: HANDLE , dwerasetype : ERASE_TAPE_TYPE , bimmediate : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EraseTape ( hdevice : super::super::Foundation:: HANDLE , dwerasetype : ERASE_TAPE_TYPE , bimmediate : super::super::Foundation:: BOOL ) -> u32 ); EraseTape(hdevice.into(), dwerasetype, bimmediate.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -871,7 +871,7 @@ pub unsafe fn FileEncryptionStatusA(lpfilename: P0, lpstatus: *mut u32) -> s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn FileEncryptionStatusA ( lpfilename : :: windows::core::PCSTR , lpstatus : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FileEncryptionStatusA ( lpfilename : :: windows::core::PCSTR , lpstatus : *mut u32 ) -> super::super::Foundation:: BOOL ); FileEncryptionStatusA(lpfilename.into().abi(), lpstatus) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -881,14 +881,14 @@ pub unsafe fn FileEncryptionStatusW(lpfilename: P0, lpstatus: *mut u32) -> s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn FileEncryptionStatusW ( lpfilename : :: windows::core::PCWSTR , lpstatus : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FileEncryptionStatusW ( lpfilename : :: windows::core::PCWSTR , lpstatus : *mut u32 ) -> super::super::Foundation:: BOOL ); FileEncryptionStatusW(lpfilename.into().abi(), lpstatus) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FileTimeToLocalFileTime(lpfiletime: *const super::super::Foundation::FILETIME, lplocalfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FileTimeToLocalFileTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lplocalfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FileTimeToLocalFileTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lplocalfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); FileTimeToLocalFileTime(lpfiletime, lplocalfiletime) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -898,7 +898,7 @@ pub unsafe fn FindClose(hfindfile: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindClose ( hfindfile : FindFileHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindClose ( hfindfile : FindFileHandle ) -> super::super::Foundation:: BOOL ); FindClose(hfindfile.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -908,7 +908,7 @@ pub unsafe fn FindCloseChangeNotification(hchangehandle: P0) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindCloseChangeNotification ( hchangehandle : FindChangeNotificationHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindCloseChangeNotification ( hchangehandle : FindChangeNotificationHandle ) -> super::super::Foundation:: BOOL ); FindCloseChangeNotification(hchangehandle.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -919,9 +919,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstChangeNotificationA ( lppathname : :: windows::core::PCSTR , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE ) -> FindChangeNotificationHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstChangeNotificationA ( lppathname : :: windows::core::PCSTR , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE ) -> FindChangeNotificationHandle ); let result__ = FindFirstChangeNotificationA(lppathname.into().abi(), bwatchsubtree.into(), dwnotifyfilter); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -931,9 +931,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstChangeNotificationW ( lppathname : :: windows::core::PCWSTR , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE ) -> FindChangeNotificationHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstChangeNotificationW ( lppathname : :: windows::core::PCWSTR , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE ) -> FindChangeNotificationHandle ); let result__ = FindFirstChangeNotificationW(lppathname.into().abi(), bwatchsubtree.into(), dwnotifyfilter); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -942,9 +942,9 @@ pub unsafe fn FindFirstFileA(lpfilename: P0, lpfindfiledata: *mut WIN32_FIND where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstFileA ( lpfilename : :: windows::core::PCSTR , lpfindfiledata : *mut WIN32_FIND_DATAA ) -> FindFileHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstFileA ( lpfilename : :: windows::core::PCSTR , lpfindfiledata : *mut WIN32_FIND_DATAA ) -> FindFileHandle ); let result__ = FindFirstFileA(lpfilename.into().abi(), lpfindfiledata); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] @@ -952,9 +952,9 @@ pub unsafe fn FindFirstFileExA(lpfilename: P0, finfolevelid: FINDEX_INFO_LEV where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstFileExA ( lpfilename : :: windows::core::PCSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : FIND_FIRST_EX_FLAGS ) -> FindFileHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstFileExA ( lpfilename : :: windows::core::PCSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : FIND_FIRST_EX_FLAGS ) -> FindFileHandle ); let result__ = FindFirstFileExA(lpfilename.into().abi(), finfolevelid, lpfindfiledata, fsearchop, ::core::mem::transmute(lpsearchfilter.unwrap_or(::std::ptr::null())), dwadditionalflags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -963,7 +963,7 @@ pub unsafe fn FindFirstFileExFromAppW(lpfilename: P0, finfolevelid: FINDEX_I where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn FindFirstFileExFromAppW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn FindFirstFileExFromAppW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : u32 ) -> super::super::Foundation:: HANDLE ); FindFirstFileExFromAppW(lpfilename.into().abi(), finfolevelid, lpfindfiledata, fsearchop, ::core::mem::transmute(lpsearchfilter.unwrap_or(::std::ptr::null())), dwadditionalflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -972,9 +972,9 @@ pub unsafe fn FindFirstFileExW(lpfilename: P0, finfolevelid: FINDEX_INFO_LEV where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstFileExW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : FIND_FIRST_EX_FLAGS ) -> FindFileHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstFileExW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : FIND_FIRST_EX_FLAGS ) -> FindFileHandle ); let result__ = FindFirstFileExW(lpfilename.into().abi(), finfolevelid, lpfindfiledata, fsearchop, ::core::mem::transmute(lpsearchfilter.unwrap_or(::std::ptr::null())), dwadditionalflags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -984,9 +984,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstFileNameTransactedW ( lpfilename : :: windows::core::PCWSTR , dwflags : u32 , stringlength : *mut u32 , linkname : :: windows::core::PWSTR , htransaction : super::super::Foundation:: HANDLE ) -> FindFileNameHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstFileNameTransactedW ( lpfilename : :: windows::core::PCWSTR , dwflags : u32 , stringlength : *mut u32 , linkname : :: windows::core::PWSTR , htransaction : super::super::Foundation:: HANDLE ) -> FindFileNameHandle ); let result__ = FindFirstFileNameTransactedW(lpfilename.into().abi(), dwflags, stringlength, ::core::mem::transmute(linkname), htransaction.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] @@ -994,9 +994,9 @@ pub unsafe fn FindFirstFileNameW(lpfilename: P0, dwflags: u32, stringlength: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstFileNameW ( lpfilename : :: windows::core::PCWSTR , dwflags : u32 , stringlength : *mut u32 , linkname : :: windows::core::PWSTR ) -> FindFileNameHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstFileNameW ( lpfilename : :: windows::core::PCWSTR , dwflags : u32 , stringlength : *mut u32 , linkname : :: windows::core::PWSTR ) -> FindFileNameHandle ); let result__ = FindFirstFileNameW(lpfilename.into().abi(), dwflags, stringlength, ::core::mem::transmute(linkname)); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1006,9 +1006,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstFileTransactedA ( lpfilename : :: windows::core::PCSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindFileHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstFileTransactedA ( lpfilename : :: windows::core::PCSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindFileHandle ); let result__ = FindFirstFileTransactedA(lpfilename.into().abi(), finfolevelid, lpfindfiledata, fsearchop, ::core::mem::transmute(lpsearchfilter.unwrap_or(::std::ptr::null())), dwadditionalflags, htransaction.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1018,9 +1018,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstFileTransactedW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindFileHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstFileTransactedW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : *mut ::core::ffi::c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : *const ::core::ffi::c_void , dwadditionalflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindFileHandle ); let result__ = FindFirstFileTransactedW(lpfilename.into().abi(), finfolevelid, lpfindfiledata, fsearchop, ::core::mem::transmute(lpsearchfilter.unwrap_or(::std::ptr::null())), dwadditionalflags, htransaction.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1029,9 +1029,9 @@ pub unsafe fn FindFirstFileW(lpfilename: P0, lpfindfiledata: *mut WIN32_FIND where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstFileW ( lpfilename : :: windows::core::PCWSTR , lpfindfiledata : *mut WIN32_FIND_DATAW ) -> FindFileHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstFileW ( lpfilename : :: windows::core::PCWSTR , lpfindfiledata : *mut WIN32_FIND_DATAW ) -> FindFileHandle ); let result__ = FindFirstFileW(lpfilename.into().abi(), lpfindfiledata); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1041,9 +1041,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstStreamTransactedW ( lpfilename : :: windows::core::PCWSTR , infolevel : STREAM_INFO_LEVELS , lpfindstreamdata : *mut ::core::ffi::c_void , dwflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindStreamHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstStreamTransactedW ( lpfilename : :: windows::core::PCWSTR , infolevel : STREAM_INFO_LEVELS , lpfindstreamdata : *mut ::core::ffi::c_void , dwflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindStreamHandle ); let result__ = FindFirstStreamTransactedW(lpfilename.into().abi(), infolevel, lpfindstreamdata, dwflags, htransaction.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] @@ -1051,16 +1051,16 @@ pub unsafe fn FindFirstStreamW(lpfilename: P0, infolevel: STREAM_INFO_LEVELS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstStreamW ( lpfilename : :: windows::core::PCWSTR , infolevel : STREAM_INFO_LEVELS , lpfindstreamdata : *mut ::core::ffi::c_void , dwflags : u32 ) -> FindStreamHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstStreamW ( lpfilename : :: windows::core::PCWSTR , infolevel : STREAM_INFO_LEVELS , lpfindstreamdata : *mut ::core::ffi::c_void , dwflags : u32 ) -> FindStreamHandle ); let result__ = FindFirstStreamW(lpfilename.into().abi(), infolevel, lpfindstreamdata, dwflags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn FindFirstVolumeA(lpszvolumename: &mut [u8]) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstVolumeA ( lpszvolumename : :: windows::core::PSTR , cchbufferlength : u32 ) -> FindVolumeHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstVolumeA ( lpszvolumename : :: windows::core::PSTR , cchbufferlength : u32 ) -> FindVolumeHandle ); let result__ = FindFirstVolumeA(::core::mem::transmute(lpszvolumename.as_ptr()), lpszvolumename.len() as _); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] @@ -1068,9 +1068,9 @@ pub unsafe fn FindFirstVolumeMountPointA(lpszrootpathname: P0, lpszvolumemou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstVolumeMountPointA ( lpszrootpathname : :: windows::core::PCSTR , lpszvolumemountpoint : :: windows::core::PSTR , cchbufferlength : u32 ) -> FindVolumeMointPointHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstVolumeMountPointA ( lpszrootpathname : :: windows::core::PCSTR , lpszvolumemountpoint : :: windows::core::PSTR , cchbufferlength : u32 ) -> FindVolumeMointPointHandle ); let result__ = FindFirstVolumeMountPointA(lpszrootpathname.into().abi(), ::core::mem::transmute(lpszvolumemountpoint.as_ptr()), lpszvolumemountpoint.len() as _); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] @@ -1078,16 +1078,16 @@ pub unsafe fn FindFirstVolumeMountPointW(lpszrootpathname: P0, lpszvolumemou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstVolumeMountPointW ( lpszrootpathname : :: windows::core::PCWSTR , lpszvolumemountpoint : :: windows::core::PWSTR , cchbufferlength : u32 ) -> FindVolumeMointPointHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstVolumeMountPointW ( lpszrootpathname : :: windows::core::PCWSTR , lpszvolumemountpoint : :: windows::core::PWSTR , cchbufferlength : u32 ) -> FindVolumeMointPointHandle ); let result__ = FindFirstVolumeMountPointW(lpszrootpathname.into().abi(), ::core::mem::transmute(lpszvolumemountpoint.as_ptr()), lpszvolumemountpoint.len() as _); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn FindFirstVolumeW(lpszvolumename: &mut [u16]) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn FindFirstVolumeW ( lpszvolumename : :: windows::core::PWSTR , cchbufferlength : u32 ) -> FindVolumeHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindFirstVolumeW ( lpszvolumename : :: windows::core::PWSTR , cchbufferlength : u32 ) -> FindVolumeHandle ); let result__ = FindFirstVolumeW(::core::mem::transmute(lpszvolumename.as_ptr()), lpszvolumename.len() as _); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1096,7 +1096,7 @@ pub unsafe fn FindNextChangeNotification(hchangehandle: P0) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextChangeNotification ( hchangehandle : FindChangeNotificationHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextChangeNotification ( hchangehandle : FindChangeNotificationHandle ) -> super::super::Foundation:: BOOL ); FindNextChangeNotification(hchangehandle.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1106,7 +1106,7 @@ pub unsafe fn FindNextFileA(hfindfile: P0, lpfindfiledata: *mut WIN32_FIND_D where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextFileA ( hfindfile : FindFileHandle , lpfindfiledata : *mut WIN32_FIND_DATAA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextFileA ( hfindfile : FindFileHandle , lpfindfiledata : *mut WIN32_FIND_DATAA ) -> super::super::Foundation:: BOOL ); FindNextFileA(hfindfile.into(), lpfindfiledata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1116,7 +1116,7 @@ pub unsafe fn FindNextFileNameW(hfindstream: P0, stringlength: *mut u32, lin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextFileNameW ( hfindstream : FindFileNameHandle , stringlength : *mut u32 , linkname : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextFileNameW ( hfindstream : FindFileNameHandle , stringlength : *mut u32 , linkname : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); FindNextFileNameW(hfindstream.into(), stringlength, ::core::mem::transmute(linkname)) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1126,7 +1126,7 @@ pub unsafe fn FindNextFileW(hfindfile: P0, lpfindfiledata: *mut WIN32_FIND_D where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextFileW ( hfindfile : FindFileHandle , lpfindfiledata : *mut WIN32_FIND_DATAW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextFileW ( hfindfile : FindFileHandle , lpfindfiledata : *mut WIN32_FIND_DATAW ) -> super::super::Foundation:: BOOL ); FindNextFileW(hfindfile.into(), lpfindfiledata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1136,7 +1136,7 @@ pub unsafe fn FindNextStreamW(hfindstream: P0, lpfindstreamdata: *mut ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextStreamW ( hfindstream : FindStreamHandle , lpfindstreamdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextStreamW ( hfindstream : FindStreamHandle , lpfindstreamdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FindNextStreamW(hfindstream.into(), lpfindstreamdata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1146,7 +1146,7 @@ pub unsafe fn FindNextVolumeA(hfindvolume: P0, lpszvolumename: &mut [u8]) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextVolumeA ( hfindvolume : FindVolumeHandle , lpszvolumename : :: windows::core::PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextVolumeA ( hfindvolume : FindVolumeHandle , lpszvolumename : :: windows::core::PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); FindNextVolumeA(hfindvolume.into(), ::core::mem::transmute(lpszvolumename.as_ptr()), lpszvolumename.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1156,7 +1156,7 @@ pub unsafe fn FindNextVolumeMountPointA(hfindvolumemountpoint: P0, lpszvolum where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextVolumeMountPointA ( hfindvolumemountpoint : FindVolumeMointPointHandle , lpszvolumemountpoint : :: windows::core::PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextVolumeMountPointA ( hfindvolumemountpoint : FindVolumeMointPointHandle , lpszvolumemountpoint : :: windows::core::PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); FindNextVolumeMountPointA(hfindvolumemountpoint.into(), ::core::mem::transmute(lpszvolumemountpoint.as_ptr()), lpszvolumemountpoint.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1166,7 +1166,7 @@ pub unsafe fn FindNextVolumeMountPointW(hfindvolumemountpoint: P0, lpszvolum where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextVolumeMountPointW ( hfindvolumemountpoint : FindVolumeMointPointHandle , lpszvolumemountpoint : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextVolumeMountPointW ( hfindvolumemountpoint : FindVolumeMointPointHandle , lpszvolumemountpoint : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); FindNextVolumeMountPointW(hfindvolumemountpoint.into(), ::core::mem::transmute(lpszvolumemountpoint.as_ptr()), lpszvolumemountpoint.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1176,7 +1176,7 @@ pub unsafe fn FindNextVolumeW(hfindvolume: P0, lpszvolumename: &mut [u16]) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindNextVolumeW ( hfindvolume : FindVolumeHandle , lpszvolumename : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindNextVolumeW ( hfindvolume : FindVolumeHandle , lpszvolumename : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); FindNextVolumeW(hfindvolume.into(), ::core::mem::transmute(lpszvolumename.as_ptr()), lpszvolumename.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1186,7 +1186,7 @@ pub unsafe fn FindVolumeClose(hfindvolume: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindVolumeClose ( hfindvolume : FindVolumeHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindVolumeClose ( hfindvolume : FindVolumeHandle ) -> super::super::Foundation:: BOOL ); FindVolumeClose(hfindvolume.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1196,7 +1196,7 @@ pub unsafe fn FindVolumeMountPointClose(hfindvolumemountpoint: P0) -> super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindVolumeMountPointClose ( hfindvolumemountpoint : FindVolumeMointPointHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindVolumeMountPointClose ( hfindvolumemountpoint : FindVolumeMointPointHandle ) -> super::super::Foundation:: BOOL ); FindVolumeMountPointClose(hfindvolumemountpoint.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1206,41 +1206,41 @@ pub unsafe fn FlushFileBuffers(hfile: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FlushFileBuffers ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlushFileBuffers ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); FlushFileBuffers(hfile.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn FlushLogBuffers(pvmarshal: *const ::core::ffi::c_void, poverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn FlushLogBuffers ( pvmarshal : *const ::core::ffi::c_void , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn FlushLogBuffers ( pvmarshal : *const ::core::ffi::c_void , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); FlushLogBuffers(pvmarshal, ::core::mem::transmute(poverlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn FlushLogToLsn(pvmarshalcontext: *mut ::core::ffi::c_void, plsnflush: *mut CLS_LSN, plsnlastflushed: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn FlushLogToLsn ( pvmarshalcontext : *mut ::core::ffi::c_void , plsnflush : *mut CLS_LSN , plsnlastflushed : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn FlushLogToLsn ( pvmarshalcontext : *mut ::core::ffi::c_void , plsnflush : *mut CLS_LSN , plsnlastflushed : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); FlushLogToLsn(pvmarshalcontext, plsnflush, plsnlastflushed, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn FreeEncryptedFileMetadata(pbmetadata: *const u8) { - ::windows::core::link ! ( "advapi32.dll""system" fn FreeEncryptedFileMetadata ( pbmetadata : *const u8 ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FreeEncryptedFileMetadata ( pbmetadata : *const u8 ) -> ( ) ); FreeEncryptedFileMetadata(pbmetadata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] #[inline] pub unsafe fn FreeEncryptionCertificateHashList(pusers: *const ENCRYPTION_CERTIFICATE_HASH_LIST) { - ::windows::core::link ! ( "advapi32.dll""system" fn FreeEncryptionCertificateHashList ( pusers : *const ENCRYPTION_CERTIFICATE_HASH_LIST ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FreeEncryptionCertificateHashList ( pusers : *const ENCRYPTION_CERTIFICATE_HASH_LIST ) -> ( ) ); FreeEncryptionCertificateHashList(pusers) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeReservedLog(pvmarshal: *mut ::core::ffi::c_void, creservedrecords: u32, pcbadjustment: *mut i64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn FreeReservedLog ( pvmarshal : *mut ::core::ffi::c_void , creservedrecords : u32 , pcbadjustment : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn FreeReservedLog ( pvmarshal : *mut ::core::ffi::c_void , creservedrecords : u32 , pcbadjustment : *mut i64 ) -> super::super::Foundation:: BOOL ); FreeReservedLog(pvmarshal, creservedrecords, pcbadjustment) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1250,7 +1250,7 @@ pub unsafe fn GetBinaryTypeA(lpapplicationname: P0, lpbinarytype: *mut u32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetBinaryTypeA ( lpapplicationname : :: windows::core::PCSTR , lpbinarytype : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetBinaryTypeA ( lpapplicationname : :: windows::core::PCSTR , lpbinarytype : *mut u32 ) -> super::super::Foundation:: BOOL ); GetBinaryTypeA(lpapplicationname.into().abi(), lpbinarytype) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1260,7 +1260,7 @@ pub unsafe fn GetBinaryTypeW(lpapplicationname: P0, lpbinarytype: *mut u32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetBinaryTypeW ( lpapplicationname : :: windows::core::PCWSTR , lpbinarytype : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetBinaryTypeW ( lpapplicationname : :: windows::core::PCWSTR , lpbinarytype : *mut u32 ) -> super::super::Foundation:: BOOL ); GetBinaryTypeW(lpapplicationname.into().abi(), lpbinarytype) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1269,7 +1269,7 @@ pub unsafe fn GetCompressedFileSizeA(lpfilename: P0, lpfilesizehigh: ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCompressedFileSizeA ( lpfilename : :: windows::core::PCSTR , lpfilesizehigh : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCompressedFileSizeA ( lpfilename : :: windows::core::PCSTR , lpfilesizehigh : *mut u32 ) -> u32 ); GetCompressedFileSizeA(lpfilename.into().abi(), ::core::mem::transmute(lpfilesizehigh.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1280,7 +1280,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCompressedFileSizeTransactedA ( lpfilename : :: windows::core::PCSTR , lpfilesizehigh : *mut u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCompressedFileSizeTransactedA ( lpfilename : :: windows::core::PCSTR , lpfilesizehigh : *mut u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); GetCompressedFileSizeTransactedA(lpfilename.into().abi(), ::core::mem::transmute(lpfilesizehigh.unwrap_or(::std::ptr::null_mut())), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1291,7 +1291,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCompressedFileSizeTransactedW ( lpfilename : :: windows::core::PCWSTR , lpfilesizehigh : *mut u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCompressedFileSizeTransactedW ( lpfilename : :: windows::core::PCWSTR , lpfilesizehigh : *mut u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); GetCompressedFileSizeTransactedW(lpfilename.into().abi(), ::core::mem::transmute(lpfilesizehigh.unwrap_or(::std::ptr::null_mut())), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1300,7 +1300,7 @@ pub unsafe fn GetCompressedFileSizeW(lpfilename: P0, lpfilesizehigh: ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCompressedFileSizeW ( lpfilename : :: windows::core::PCWSTR , lpfilesizehigh : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCompressedFileSizeW ( lpfilename : :: windows::core::PCWSTR , lpfilesizehigh : *mut u32 ) -> u32 ); GetCompressedFileSizeW(lpfilename.into().abi(), ::core::mem::transmute(lpfilesizehigh.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1310,7 +1310,7 @@ pub unsafe fn GetCurrentClockTransactionManager(transactionmanagerhandle: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn GetCurrentClockTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn GetCurrentClockTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); GetCurrentClockTransactionManager(transactionmanagerhandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1320,7 +1320,7 @@ pub unsafe fn GetDiskFreeSpaceA(lprootpathname: P0, lpsectorspercluster: ::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDiskFreeSpaceA ( lprootpathname : :: windows::core::PCSTR , lpsectorspercluster : *mut u32 , lpbytespersector : *mut u32 , lpnumberoffreeclusters : *mut u32 , lptotalnumberofclusters : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDiskFreeSpaceA ( lprootpathname : :: windows::core::PCSTR , lpsectorspercluster : *mut u32 , lpbytespersector : *mut u32 , lpnumberoffreeclusters : *mut u32 , lptotalnumberofclusters : *mut u32 ) -> super::super::Foundation:: BOOL ); GetDiskFreeSpaceA(lprootpathname.into().abi(), ::core::mem::transmute(lpsectorspercluster.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpbytespersector.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpnumberoffreeclusters.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptotalnumberofclusters.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1330,7 +1330,7 @@ pub unsafe fn GetDiskFreeSpaceExA(lpdirectoryname: P0, lpfreebytesavailablet where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDiskFreeSpaceExA ( lpdirectoryname : :: windows::core::PCSTR , lpfreebytesavailabletocaller : *mut u64 , lptotalnumberofbytes : *mut u64 , lptotalnumberoffreebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDiskFreeSpaceExA ( lpdirectoryname : :: windows::core::PCSTR , lpfreebytesavailabletocaller : *mut u64 , lptotalnumberofbytes : *mut u64 , lptotalnumberoffreebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); GetDiskFreeSpaceExA(lpdirectoryname.into().abi(), ::core::mem::transmute(lpfreebytesavailabletocaller.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptotalnumberofbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptotalnumberoffreebytes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1340,7 +1340,7 @@ pub unsafe fn GetDiskFreeSpaceExW(lpdirectoryname: P0, lpfreebytesavailablet where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDiskFreeSpaceExW ( lpdirectoryname : :: windows::core::PCWSTR , lpfreebytesavailabletocaller : *mut u64 , lptotalnumberofbytes : *mut u64 , lptotalnumberoffreebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDiskFreeSpaceExW ( lpdirectoryname : :: windows::core::PCWSTR , lpfreebytesavailabletocaller : *mut u64 , lptotalnumberofbytes : *mut u64 , lptotalnumberoffreebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); GetDiskFreeSpaceExW(lpdirectoryname.into().abi(), ::core::mem::transmute(lpfreebytesavailabletocaller.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptotalnumberofbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptotalnumberoffreebytes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1350,7 +1350,7 @@ pub unsafe fn GetDiskFreeSpaceW(lprootpathname: P0, lpsectorspercluster: ::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDiskFreeSpaceW ( lprootpathname : :: windows::core::PCWSTR , lpsectorspercluster : *mut u32 , lpbytespersector : *mut u32 , lpnumberoffreeclusters : *mut u32 , lptotalnumberofclusters : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDiskFreeSpaceW ( lprootpathname : :: windows::core::PCWSTR , lpsectorspercluster : *mut u32 , lpbytespersector : *mut u32 , lpnumberoffreeclusters : *mut u32 , lptotalnumberofclusters : *mut u32 ) -> super::super::Foundation:: BOOL ); GetDiskFreeSpaceW(lprootpathname.into().abi(), ::core::mem::transmute(lpsectorspercluster.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpbytespersector.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpnumberoffreeclusters.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptotalnumberofclusters.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1359,7 +1359,7 @@ pub unsafe fn GetDiskSpaceInformationA(rootpath: P0, diskspaceinfo: *mut DIS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDiskSpaceInformationA ( rootpath : :: windows::core::PCSTR , diskspaceinfo : *mut DISK_SPACE_INFORMATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDiskSpaceInformationA ( rootpath : :: windows::core::PCSTR , diskspaceinfo : *mut DISK_SPACE_INFORMATION ) -> :: windows::core::HRESULT ); GetDiskSpaceInformationA(rootpath.into().abi(), diskspaceinfo).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1368,7 +1368,7 @@ pub unsafe fn GetDiskSpaceInformationW(rootpath: P0, diskspaceinfo: *mut DIS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDiskSpaceInformationW ( rootpath : :: windows::core::PCWSTR , diskspaceinfo : *mut DISK_SPACE_INFORMATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDiskSpaceInformationW ( rootpath : :: windows::core::PCWSTR , diskspaceinfo : *mut DISK_SPACE_INFORMATION ) -> :: windows::core::HRESULT ); GetDiskSpaceInformationW(rootpath.into().abi(), diskspaceinfo).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1377,7 +1377,7 @@ pub unsafe fn GetDriveTypeA(lprootpathname: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDriveTypeA ( lprootpathname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDriveTypeA ( lprootpathname : :: windows::core::PCSTR ) -> u32 ); GetDriveTypeA(lprootpathname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1386,7 +1386,7 @@ pub unsafe fn GetDriveTypeW(lprootpathname: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDriveTypeW ( lprootpathname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDriveTypeW ( lprootpathname : :: windows::core::PCWSTR ) -> u32 ); GetDriveTypeW(lprootpathname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1395,7 +1395,7 @@ pub unsafe fn GetEncryptedFileMetadata(lpfilename: P0, pcbmetadata: *mut u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetEncryptedFileMetadata ( lpfilename : :: windows::core::PCWSTR , pcbmetadata : *mut u32 , ppbmetadata : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetEncryptedFileMetadata ( lpfilename : :: windows::core::PCWSTR , pcbmetadata : *mut u32 , ppbmetadata : *mut *mut u8 ) -> u32 ); GetEncryptedFileMetadata(lpfilename.into().abi(), pcbmetadata, ppbmetadata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1405,7 +1405,7 @@ pub unsafe fn GetEnlistmentId(enlistmenthandle: P0, enlistmentid: *mut ::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn GetEnlistmentId ( enlistmenthandle : super::super::Foundation:: HANDLE , enlistmentid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn GetEnlistmentId ( enlistmenthandle : super::super::Foundation:: HANDLE , enlistmentid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); GetEnlistmentId(enlistmenthandle.into(), enlistmentid) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1415,7 +1415,7 @@ pub unsafe fn GetEnlistmentRecoveryInformation(enlistmenthandle: P0, buffers where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn GetEnlistmentRecoveryInformation ( enlistmenthandle : super::super::Foundation:: HANDLE , buffersize : u32 , buffer : *mut ::core::ffi::c_void , bufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn GetEnlistmentRecoveryInformation ( enlistmenthandle : super::super::Foundation:: HANDLE , buffersize : u32 , buffer : *mut ::core::ffi::c_void , bufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); GetEnlistmentRecoveryInformation(enlistmenthandle.into(), buffersize, buffer, bufferused) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1424,7 +1424,7 @@ pub unsafe fn GetExpandedNameA(lpszsource: P0, lpszbuffer: &mut [u8; 260]) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetExpandedNameA ( lpszsource : :: windows::core::PCSTR , lpszbuffer : :: windows::core::PSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetExpandedNameA ( lpszsource : :: windows::core::PCSTR , lpszbuffer : :: windows::core::PSTR ) -> i32 ); GetExpandedNameA(lpszsource.into().abi(), ::core::mem::transmute(lpszbuffer.as_ptr())) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1433,7 +1433,7 @@ pub unsafe fn GetExpandedNameW(lpszsource: P0, lpszbuffer: &mut [u16; 260]) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetExpandedNameW ( lpszsource : :: windows::core::PCWSTR , lpszbuffer : :: windows::core::PWSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetExpandedNameW ( lpszsource : :: windows::core::PCWSTR , lpszbuffer : :: windows::core::PWSTR ) -> i32 ); GetExpandedNameW(lpszsource.into().abi(), ::core::mem::transmute(lpszbuffer.as_ptr())) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1442,7 +1442,7 @@ pub unsafe fn GetFileAttributesA(lpfilename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileAttributesA ( lpfilename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileAttributesA ( lpfilename : :: windows::core::PCSTR ) -> u32 ); GetFileAttributesA(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1452,7 +1452,7 @@ pub unsafe fn GetFileAttributesExA(lpfilename: P0, finfolevelid: GET_FILEEX_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileAttributesExA ( lpfilename : :: windows::core::PCSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileAttributesExA ( lpfilename : :: windows::core::PCSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetFileAttributesExA(lpfilename.into().abi(), finfolevelid, lpfileinformation) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1462,7 +1462,7 @@ pub unsafe fn GetFileAttributesExFromAppW(lpfilename: P0, finfolevelid: GET_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn GetFileAttributesExFromAppW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn GetFileAttributesExFromAppW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetFileAttributesExFromAppW(lpfilename.into().abi(), finfolevelid, lpfileinformation) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1472,7 +1472,7 @@ pub unsafe fn GetFileAttributesExW(lpfilename: P0, finfolevelid: GET_FILEEX_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileAttributesExW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileAttributesExW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetFileAttributesExW(lpfilename.into().abi(), finfolevelid, lpfileinformation) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1483,7 +1483,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileAttributesTransactedA ( lpfilename : :: windows::core::PCSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileAttributesTransactedA ( lpfilename : :: windows::core::PCSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); GetFileAttributesTransactedA(lpfilename.into().abi(), finfolevelid, lpfileinformation, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1494,7 +1494,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileAttributesTransactedW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileAttributesTransactedW ( lpfilename : :: windows::core::PCWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : *mut ::core::ffi::c_void , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); GetFileAttributesTransactedW(lpfilename.into().abi(), finfolevelid, lpfileinformation, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1503,7 +1503,7 @@ pub unsafe fn GetFileAttributesW(lpfilename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileAttributesW ( lpfilename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileAttributesW ( lpfilename : :: windows::core::PCWSTR ) -> u32 ); GetFileAttributesW(lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1513,7 +1513,7 @@ pub unsafe fn GetFileBandwidthReservation(hfile: P0, lpperiodmilliseconds: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileBandwidthReservation ( hfile : super::super::Foundation:: HANDLE , lpperiodmilliseconds : *mut u32 , lpbytesperperiod : *mut u32 , pdiscardable : *mut i32 , lptransfersize : *mut u32 , lpnumoutstandingrequests : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileBandwidthReservation ( hfile : super::super::Foundation:: HANDLE , lpperiodmilliseconds : *mut u32 , lpbytesperperiod : *mut u32 , pdiscardable : *mut i32 , lptransfersize : *mut u32 , lpnumoutstandingrequests : *mut u32 ) -> super::super::Foundation:: BOOL ); GetFileBandwidthReservation(hfile.into(), lpperiodmilliseconds, lpbytesperperiod, pdiscardable, lptransfersize, lpnumoutstandingrequests) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1523,7 +1523,7 @@ pub unsafe fn GetFileInformationByHandle(hfile: P0, lpfileinformation: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileInformationByHandle ( hfile : super::super::Foundation:: HANDLE , lpfileinformation : *mut BY_HANDLE_FILE_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileInformationByHandle ( hfile : super::super::Foundation:: HANDLE , lpfileinformation : *mut BY_HANDLE_FILE_INFORMATION ) -> super::super::Foundation:: BOOL ); GetFileInformationByHandle(hfile.into(), lpfileinformation) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1533,7 +1533,7 @@ pub unsafe fn GetFileInformationByHandleEx(hfile: P0, fileinformationclass: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileInformationByHandleEx ( hfile : super::super::Foundation:: HANDLE , fileinformationclass : FILE_INFO_BY_HANDLE_CLASS , lpfileinformation : *mut ::core::ffi::c_void , dwbuffersize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileInformationByHandleEx ( hfile : super::super::Foundation:: HANDLE , fileinformationclass : FILE_INFO_BY_HANDLE_CLASS , lpfileinformation : *mut ::core::ffi::c_void , dwbuffersize : u32 ) -> super::super::Foundation:: BOOL ); GetFileInformationByHandleEx(hfile.into(), fileinformationclass, lpfileinformation, dwbuffersize) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1543,7 +1543,7 @@ pub unsafe fn GetFileSize(hfile: P0, lpfilesizehigh: ::core::option::Option< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileSize ( hfile : super::super::Foundation:: HANDLE , lpfilesizehigh : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileSize ( hfile : super::super::Foundation:: HANDLE , lpfilesizehigh : *mut u32 ) -> u32 ); GetFileSize(hfile.into(), ::core::mem::transmute(lpfilesizehigh.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1553,7 +1553,7 @@ pub unsafe fn GetFileSizeEx(hfile: P0, lpfilesize: *mut i64) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileSizeEx ( hfile : super::super::Foundation:: HANDLE , lpfilesize : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileSizeEx ( hfile : super::super::Foundation:: HANDLE , lpfilesize : *mut i64 ) -> super::super::Foundation:: BOOL ); GetFileSizeEx(hfile.into(), lpfilesize) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1563,7 +1563,7 @@ pub unsafe fn GetFileTime(hfile: P0, lpcreationtime: ::core::option::Option< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileTime ( hfile : super::super::Foundation:: HANDLE , lpcreationtime : *mut super::super::Foundation:: FILETIME , lplastaccesstime : *mut super::super::Foundation:: FILETIME , lplastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileTime ( hfile : super::super::Foundation:: HANDLE , lpcreationtime : *mut super::super::Foundation:: FILETIME , lplastaccesstime : *mut super::super::Foundation:: FILETIME , lplastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); GetFileTime(hfile.into(), ::core::mem::transmute(lpcreationtime.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lplastaccesstime.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lplastwritetime.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1573,7 +1573,7 @@ pub unsafe fn GetFileType(hfile: P0) -> FILE_TYPE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFileType ( hfile : super::super::Foundation:: HANDLE ) -> FILE_TYPE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFileType ( hfile : super::super::Foundation:: HANDLE ) -> FILE_TYPE ); GetFileType(hfile.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1583,7 +1583,7 @@ pub unsafe fn GetFileVersionInfoA(lptstrfilename: P0, dwhandle: u32, dwlen: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn GetFileVersionInfoA ( lptstrfilename : :: windows::core::PCSTR , dwhandle : u32 , dwlen : u32 , lpdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "version.dll""system" fn GetFileVersionInfoA ( lptstrfilename : :: windows::core::PCSTR , dwhandle : u32 , dwlen : u32 , lpdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetFileVersionInfoA(lptstrfilename.into().abi(), dwhandle, dwlen, lpdata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1593,7 +1593,7 @@ pub unsafe fn GetFileVersionInfoExA(dwflags: GET_FILE_VERSION_INFO_FLAGS, lp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn GetFileVersionInfoExA ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : :: windows::core::PCSTR , dwhandle : u32 , dwlen : u32 , lpdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "version.dll""system" fn GetFileVersionInfoExA ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : :: windows::core::PCSTR , dwhandle : u32 , dwlen : u32 , lpdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetFileVersionInfoExA(dwflags, lpwstrfilename.into().abi(), dwhandle, dwlen, lpdata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1603,7 +1603,7 @@ pub unsafe fn GetFileVersionInfoExW(dwflags: GET_FILE_VERSION_INFO_FLAGS, lp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn GetFileVersionInfoExW ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : :: windows::core::PCWSTR , dwhandle : u32 , dwlen : u32 , lpdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "version.dll""system" fn GetFileVersionInfoExW ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : :: windows::core::PCWSTR , dwhandle : u32 , dwlen : u32 , lpdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetFileVersionInfoExW(dwflags, lpwstrfilename.into().abi(), dwhandle, dwlen, lpdata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1612,7 +1612,7 @@ pub unsafe fn GetFileVersionInfoSizeA(lptstrfilename: P0, lpdwhandle: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn GetFileVersionInfoSizeA ( lptstrfilename : :: windows::core::PCSTR , lpdwhandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "version.dll""system" fn GetFileVersionInfoSizeA ( lptstrfilename : :: windows::core::PCSTR , lpdwhandle : *mut u32 ) -> u32 ); GetFileVersionInfoSizeA(lptstrfilename.into().abi(), ::core::mem::transmute(lpdwhandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1621,7 +1621,7 @@ pub unsafe fn GetFileVersionInfoSizeExA(dwflags: GET_FILE_VERSION_INFO_FLAGS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn GetFileVersionInfoSizeExA ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : :: windows::core::PCSTR , lpdwhandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "version.dll""system" fn GetFileVersionInfoSizeExA ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : :: windows::core::PCSTR , lpdwhandle : *mut u32 ) -> u32 ); GetFileVersionInfoSizeExA(dwflags, lpwstrfilename.into().abi(), lpdwhandle) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1630,7 +1630,7 @@ pub unsafe fn GetFileVersionInfoSizeExW(dwflags: GET_FILE_VERSION_INFO_FLAGS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn GetFileVersionInfoSizeExW ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : :: windows::core::PCWSTR , lpdwhandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "version.dll""system" fn GetFileVersionInfoSizeExW ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : :: windows::core::PCWSTR , lpdwhandle : *mut u32 ) -> u32 ); GetFileVersionInfoSizeExW(dwflags, lpwstrfilename.into().abi(), lpdwhandle) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1639,7 +1639,7 @@ pub unsafe fn GetFileVersionInfoSizeW(lptstrfilename: P0, lpdwhandle: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn GetFileVersionInfoSizeW ( lptstrfilename : :: windows::core::PCWSTR , lpdwhandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "version.dll""system" fn GetFileVersionInfoSizeW ( lptstrfilename : :: windows::core::PCWSTR , lpdwhandle : *mut u32 ) -> u32 ); GetFileVersionInfoSizeW(lptstrfilename.into().abi(), ::core::mem::transmute(lpdwhandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1649,7 +1649,7 @@ pub unsafe fn GetFileVersionInfoW(lptstrfilename: P0, dwhandle: u32, dwlen: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn GetFileVersionInfoW ( lptstrfilename : :: windows::core::PCWSTR , dwhandle : u32 , dwlen : u32 , lpdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "version.dll""system" fn GetFileVersionInfoW ( lptstrfilename : :: windows::core::PCWSTR , dwhandle : u32 , dwlen : u32 , lpdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetFileVersionInfoW(lptstrfilename.into().abi(), dwhandle, dwlen, lpdata) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1659,7 +1659,7 @@ pub unsafe fn GetFinalPathNameByHandleA(hfile: P0, lpszfilepath: &mut [u8], where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFinalPathNameByHandleA ( hfile : super::super::Foundation:: HANDLE , lpszfilepath : :: windows::core::PSTR , cchfilepath : u32 , dwflags : FILE_NAME ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFinalPathNameByHandleA ( hfile : super::super::Foundation:: HANDLE , lpszfilepath : :: windows::core::PSTR , cchfilepath : u32 , dwflags : FILE_NAME ) -> u32 ); GetFinalPathNameByHandleA(hfile.into(), ::core::mem::transmute(lpszfilepath.as_ptr()), lpszfilepath.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1669,7 +1669,7 @@ pub unsafe fn GetFinalPathNameByHandleW(hfile: P0, lpszfilepath: &mut [u16], where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFinalPathNameByHandleW ( hfile : super::super::Foundation:: HANDLE , lpszfilepath : :: windows::core::PWSTR , cchfilepath : u32 , dwflags : FILE_NAME ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFinalPathNameByHandleW ( hfile : super::super::Foundation:: HANDLE , lpszfilepath : :: windows::core::PWSTR , cchfilepath : u32 , dwflags : FILE_NAME ) -> u32 ); GetFinalPathNameByHandleW(hfile.into(), ::core::mem::transmute(lpszfilepath.as_ptr()), lpszfilepath.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1678,7 +1678,7 @@ pub unsafe fn GetFullPathNameA(lpfilename: P0, lpbuffer: ::core::option::Opt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFullPathNameA ( lpfilename : :: windows::core::PCSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PSTR , lpfilepart : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFullPathNameA ( lpfilename : :: windows::core::PCSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PSTR , lpfilepart : *mut :: windows::core::PSTR ) -> u32 ); GetFullPathNameA(lpfilename.into().abi(), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(lpfilepart.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1689,7 +1689,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFullPathNameTransactedA ( lpfilename : :: windows::core::PCSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PSTR , lpfilepart : *mut :: windows::core::PSTR , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFullPathNameTransactedA ( lpfilename : :: windows::core::PCSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PSTR , lpfilepart : *mut :: windows::core::PSTR , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); GetFullPathNameTransactedA(lpfilename.into().abi(), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(lpfilepart.unwrap_or(::std::ptr::null_mut())), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1700,7 +1700,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFullPathNameTransactedW ( lpfilename : :: windows::core::PCWSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR , lpfilepart : *mut :: windows::core::PWSTR , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFullPathNameTransactedW ( lpfilename : :: windows::core::PCWSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR , lpfilepart : *mut :: windows::core::PWSTR , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); GetFullPathNameTransactedW(lpfilename.into().abi(), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(lpfilepart.unwrap_or(::std::ptr::null_mut())), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1709,13 +1709,13 @@ pub unsafe fn GetFullPathNameW(lpfilename: P0, lpbuffer: ::core::option::Opt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFullPathNameW ( lpfilename : :: windows::core::PCWSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR , lpfilepart : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFullPathNameW ( lpfilename : :: windows::core::PCWSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR , lpfilepart : *mut :: windows::core::PWSTR ) -> u32 ); GetFullPathNameW(lpfilename.into().abi(), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(lpfilepart.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn GetIoRingInfo(ioring: *const HIORING__, info: *mut IORING_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn GetIoRingInfo ( ioring : *const HIORING__ , info : *mut IORING_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn GetIoRingInfo ( ioring : *const HIORING__ , info : *mut IORING_INFO ) -> :: windows::core::HRESULT ); GetIoRingInfo(ioring, info).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1726,7 +1726,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clfsw32.dll""system" fn GetLogContainerName ( hlog : super::super::Foundation:: HANDLE , cidlogicalcontainer : u32 , pwstrcontainername : :: windows::core::PCWSTR , clencontainername : u32 , pcactuallencontainername : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn GetLogContainerName ( hlog : super::super::Foundation:: HANDLE , cidlogicalcontainer : u32 , pwstrcontainername : :: windows::core::PCWSTR , clencontainername : u32 , pcactuallencontainername : *mut u32 ) -> super::super::Foundation:: BOOL ); GetLogContainerName(hlog.into(), cidlogicalcontainer, pwstrcontainername.into().abi(), clencontainername, pcactuallencontainername) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1736,7 +1736,7 @@ pub unsafe fn GetLogFileInformation(hlog: P0, pinfobuffer: *mut CLS_INFORMAT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn GetLogFileInformation ( hlog : super::super::Foundation:: HANDLE , pinfobuffer : *mut CLS_INFORMATION , cbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn GetLogFileInformation ( hlog : super::super::Foundation:: HANDLE , pinfobuffer : *mut CLS_INFORMATION , cbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetLogFileInformation(hlog.into(), pinfobuffer, cbbuffer) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1746,32 +1746,32 @@ pub unsafe fn GetLogIoStatistics(hlog: P0, pvstatsbuffer: *mut ::core::ffi:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn GetLogIoStatistics ( hlog : super::super::Foundation:: HANDLE , pvstatsbuffer : *mut ::core::ffi::c_void , cbstatsbuffer : u32 , estatsclass : CLFS_IOSTATS_CLASS , pcbstatswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn GetLogIoStatistics ( hlog : super::super::Foundation:: HANDLE , pvstatsbuffer : *mut ::core::ffi::c_void , cbstatsbuffer : u32 , estatsclass : CLFS_IOSTATS_CLASS , pcbstatswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); GetLogIoStatistics(hlog.into(), pvstatsbuffer, cbstatsbuffer, estatsclass, pcbstatswritten) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetLogReservationInfo(pvmarshal: *const ::core::ffi::c_void, pcbrecordnumber: *mut u32, pcbuserreservation: *mut i64, pcbcommitreservation: *mut i64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn GetLogReservationInfo ( pvmarshal : *const ::core::ffi::c_void , pcbrecordnumber : *mut u32 , pcbuserreservation : *mut i64 , pcbcommitreservation : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn GetLogReservationInfo ( pvmarshal : *const ::core::ffi::c_void , pcbrecordnumber : *mut u32 , pcbuserreservation : *mut i64 , pcbcommitreservation : *mut i64 ) -> super::super::Foundation:: BOOL ); GetLogReservationInfo(pvmarshal, pcbrecordnumber, pcbuserreservation, pcbcommitreservation) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn GetLogicalDriveStringsA(lpbuffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLogicalDriveStringsA ( nbufferlength : u32 , lpbuffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLogicalDriveStringsA ( nbufferlength : u32 , lpbuffer : :: windows::core::PSTR ) -> u32 ); GetLogicalDriveStringsA(lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn GetLogicalDriveStringsW(lpbuffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLogicalDriveStringsW ( nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLogicalDriveStringsW ( nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR ) -> u32 ); GetLogicalDriveStringsW(lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn GetLogicalDrives() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLogicalDrives ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLogicalDrives ( ) -> u32 ); GetLogicalDrives() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1780,7 +1780,7 @@ pub unsafe fn GetLongPathNameA(lpszshortpath: P0, lpszlongpath: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLongPathNameA ( lpszshortpath : :: windows::core::PCSTR , lpszlongpath : :: windows::core::PSTR , cchbuffer : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLongPathNameA ( lpszshortpath : :: windows::core::PCSTR , lpszlongpath : :: windows::core::PSTR , cchbuffer : u32 ) -> u32 ); GetLongPathNameA(lpszshortpath.into().abi(), ::core::mem::transmute(lpszlongpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszlongpath.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1791,7 +1791,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLongPathNameTransactedA ( lpszshortpath : :: windows::core::PCSTR , lpszlongpath : :: windows::core::PSTR , cchbuffer : u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLongPathNameTransactedA ( lpszshortpath : :: windows::core::PCSTR , lpszlongpath : :: windows::core::PSTR , cchbuffer : u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); GetLongPathNameTransactedA(lpszshortpath.into().abi(), ::core::mem::transmute(lpszlongpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszlongpath.as_deref().map_or(0, |slice| slice.len() as _), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1802,7 +1802,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLongPathNameTransactedW ( lpszshortpath : :: windows::core::PCWSTR , lpszlongpath : :: windows::core::PWSTR , cchbuffer : u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLongPathNameTransactedW ( lpszshortpath : :: windows::core::PCWSTR , lpszlongpath : :: windows::core::PWSTR , cchbuffer : u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ); GetLongPathNameTransactedW(lpszshortpath.into().abi(), ::core::mem::transmute(lpszlongpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszlongpath.as_deref().map_or(0, |slice| slice.len() as _), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1811,14 +1811,14 @@ pub unsafe fn GetLongPathNameW(lpszshortpath: P0, lpszlongpath: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLongPathNameW ( lpszshortpath : :: windows::core::PCWSTR , lpszlongpath : :: windows::core::PWSTR , cchbuffer : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLongPathNameW ( lpszshortpath : :: windows::core::PCWSTR , lpszlongpath : :: windows::core::PWSTR , cchbuffer : u32 ) -> u32 ); GetLongPathNameW(lpszshortpath.into().abi(), ::core::mem::transmute(lpszlongpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszlongpath.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNextLogArchiveExtent(pvarchivecontext: *mut ::core::ffi::c_void, rgadextent: *mut CLS_ARCHIVE_DESCRIPTOR, cdescriptors: u32, pcdescriptorsreturned: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn GetNextLogArchiveExtent ( pvarchivecontext : *mut ::core::ffi::c_void , rgadextent : *mut CLS_ARCHIVE_DESCRIPTOR , cdescriptors : u32 , pcdescriptorsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn GetNextLogArchiveExtent ( pvarchivecontext : *mut ::core::ffi::c_void , rgadextent : *mut CLS_ARCHIVE_DESCRIPTOR , cdescriptors : u32 , pcdescriptorsreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNextLogArchiveExtent(pvarchivecontext, rgadextent, cdescriptors, pcdescriptorsreturned) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1828,7 +1828,7 @@ pub unsafe fn GetNotificationResourceManager(resourcemanagerhandle: P0, tran where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn GetNotificationResourceManager ( resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionnotification : *mut TRANSACTION_NOTIFICATION , notificationlength : u32 , dwmilliseconds : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn GetNotificationResourceManager ( resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionnotification : *mut TRANSACTION_NOTIFICATION , notificationlength : u32 , dwmilliseconds : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNotificationResourceManager(resourcemanagerhandle.into(), transactionnotification, notificationlength, dwmilliseconds, returnlength) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -1838,7 +1838,7 @@ pub unsafe fn GetNotificationResourceManagerAsync(resourcemanagerhandle: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn GetNotificationResourceManagerAsync ( resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionnotification : *mut TRANSACTION_NOTIFICATION , transactionnotificationlength : u32 , returnlength : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn GetNotificationResourceManagerAsync ( resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionnotification : *mut TRANSACTION_NOTIFICATION , transactionnotificationlength : u32 , returnlength : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); GetNotificationResourceManagerAsync(resourcemanagerhandle.into(), transactionnotification, transactionnotificationlength, returnlength, lpoverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1847,7 +1847,7 @@ pub unsafe fn GetShortPathNameA(lpszlongpath: P0, lpszshortpath: ::core::opt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetShortPathNameA ( lpszlongpath : :: windows::core::PCSTR , lpszshortpath : :: windows::core::PSTR , cchbuffer : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetShortPathNameA ( lpszlongpath : :: windows::core::PCSTR , lpszshortpath : :: windows::core::PSTR , cchbuffer : u32 ) -> u32 ); GetShortPathNameA(lpszlongpath.into().abi(), ::core::mem::transmute(lpszshortpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszshortpath.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1856,7 +1856,7 @@ pub unsafe fn GetShortPathNameW(lpszlongpath: P0, lpszshortpath: ::core::opt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetShortPathNameW ( lpszlongpath : :: windows::core::PCWSTR , lpszshortpath : :: windows::core::PWSTR , cchbuffer : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetShortPathNameW ( lpszlongpath : :: windows::core::PCWSTR , lpszshortpath : :: windows::core::PWSTR , cchbuffer : u32 ) -> u32 ); GetShortPathNameW(lpszlongpath.into().abi(), ::core::mem::transmute(lpszshortpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszshortpath.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1866,7 +1866,7 @@ pub unsafe fn GetTapeParameters(hdevice: P0, dwoperation: GET_TAPE_DRIVE_PAR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTapeParameters ( hdevice : super::super::Foundation:: HANDLE , dwoperation : GET_TAPE_DRIVE_PARAMETERS_OPERATION , lpdwsize : *mut u32 , lptapeinformation : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTapeParameters ( hdevice : super::super::Foundation:: HANDLE , dwoperation : GET_TAPE_DRIVE_PARAMETERS_OPERATION , lpdwsize : *mut u32 , lptapeinformation : *mut ::core::ffi::c_void ) -> u32 ); GetTapeParameters(hdevice.into(), dwoperation, lpdwsize, lptapeinformation) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1876,7 +1876,7 @@ pub unsafe fn GetTapePosition(hdevice: P0, dwpositiontype: TAPE_POSITION_TYP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTapePosition ( hdevice : super::super::Foundation:: HANDLE , dwpositiontype : TAPE_POSITION_TYPE , lpdwpartition : *mut u32 , lpdwoffsetlow : *mut u32 , lpdwoffsethigh : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTapePosition ( hdevice : super::super::Foundation:: HANDLE , dwpositiontype : TAPE_POSITION_TYPE , lpdwpartition : *mut u32 , lpdwoffsetlow : *mut u32 , lpdwoffsethigh : *mut u32 ) -> u32 ); GetTapePosition(hdevice.into(), dwpositiontype, lpdwpartition, lpdwoffsetlow, lpdwoffsethigh) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1886,7 +1886,7 @@ pub unsafe fn GetTapeStatus(hdevice: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTapeStatus ( hdevice : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTapeStatus ( hdevice : super::super::Foundation:: HANDLE ) -> u32 ); GetTapeStatus(hdevice.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1896,7 +1896,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTempFileNameA ( lppathname : :: windows::core::PCSTR , lpprefixstring : :: windows::core::PCSTR , uunique : u32 , lptempfilename : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTempFileNameA ( lppathname : :: windows::core::PCSTR , lpprefixstring : :: windows::core::PCSTR , uunique : u32 , lptempfilename : :: windows::core::PSTR ) -> u32 ); GetTempFileNameA(lppathname.into().abi(), lpprefixstring.into().abi(), uunique, ::core::mem::transmute(lptempfilename.as_ptr())) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -1906,31 +1906,31 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTempFileNameW ( lppathname : :: windows::core::PCWSTR , lpprefixstring : :: windows::core::PCWSTR , uunique : u32 , lptempfilename : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTempFileNameW ( lppathname : :: windows::core::PCWSTR , lpprefixstring : :: windows::core::PCWSTR , uunique : u32 , lptempfilename : :: windows::core::PWSTR ) -> u32 ); GetTempFileNameW(lppathname.into().abi(), lpprefixstring.into().abi(), uunique, ::core::mem::transmute(lptempfilename.as_ptr())) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn GetTempPath2A(buffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTempPath2A ( bufferlength : u32 , buffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTempPath2A ( bufferlength : u32 , buffer : :: windows::core::PSTR ) -> u32 ); GetTempPath2A(buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn GetTempPath2W(buffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTempPath2W ( bufferlength : u32 , buffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTempPath2W ( bufferlength : u32 , buffer : :: windows::core::PWSTR ) -> u32 ); GetTempPath2W(buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn GetTempPathA(lpbuffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTempPathA ( nbufferlength : u32 , lpbuffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTempPathA ( nbufferlength : u32 , lpbuffer : :: windows::core::PSTR ) -> u32 ); GetTempPathA(lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn GetTempPathW(lpbuffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTempPathW ( nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTempPathW ( nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR ) -> u32 ); GetTempPathW(lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1940,7 +1940,7 @@ pub unsafe fn GetTransactionId(transactionhandle: P0, transactionid: *mut :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn GetTransactionId ( transactionhandle : super::super::Foundation:: HANDLE , transactionid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn GetTransactionId ( transactionhandle : super::super::Foundation:: HANDLE , transactionid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); GetTransactionId(transactionhandle.into(), transactionid) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1950,7 +1950,7 @@ pub unsafe fn GetTransactionInformation(transactionhandle: P0, outcome: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn GetTransactionInformation ( transactionhandle : super::super::Foundation:: HANDLE , outcome : *mut u32 , isolationlevel : *mut u32 , isolationflags : *mut u32 , timeout : *mut u32 , bufferlength : u32 , description : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn GetTransactionInformation ( transactionhandle : super::super::Foundation:: HANDLE , outcome : *mut u32 , isolationlevel : *mut u32 , isolationflags : *mut u32 , timeout : *mut u32 , bufferlength : u32 , description : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); GetTransactionInformation(transactionhandle.into(), outcome, isolationlevel, isolationflags, timeout, description.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(description.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1960,7 +1960,7 @@ pub unsafe fn GetTransactionManagerId(transactionmanagerhandle: P0, transact where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn GetTransactionManagerId ( transactionmanagerhandle : super::super::Foundation:: HANDLE , transactionmanagerid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn GetTransactionManagerId ( transactionmanagerhandle : super::super::Foundation:: HANDLE , transactionmanagerid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); GetTransactionManagerId(transactionmanagerhandle.into(), transactionmanagerid) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1970,7 +1970,7 @@ pub unsafe fn GetVolumeInformationA(lprootpathname: P0, lpvolumenamebuffer: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumeInformationA ( lprootpathname : :: windows::core::PCSTR , lpvolumenamebuffer : :: windows::core::PSTR , nvolumenamesize : u32 , lpvolumeserialnumber : *mut u32 , lpmaximumcomponentlength : *mut u32 , lpfilesystemflags : *mut u32 , lpfilesystemnamebuffer : :: windows::core::PSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumeInformationA ( lprootpathname : :: windows::core::PCSTR , lpvolumenamebuffer : :: windows::core::PSTR , nvolumenamesize : u32 , lpvolumeserialnumber : *mut u32 , lpmaximumcomponentlength : *mut u32 , lpfilesystemflags : *mut u32 , lpfilesystemnamebuffer : :: windows::core::PSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ); GetVolumeInformationA( lprootpathname.into().abi(), ::core::mem::transmute(lpvolumenamebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1989,7 +1989,7 @@ pub unsafe fn GetVolumeInformationByHandleW(hfile: P0, lpvolumenamebuffer: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumeInformationByHandleW ( hfile : super::super::Foundation:: HANDLE , lpvolumenamebuffer : :: windows::core::PWSTR , nvolumenamesize : u32 , lpvolumeserialnumber : *mut u32 , lpmaximumcomponentlength : *mut u32 , lpfilesystemflags : *mut u32 , lpfilesystemnamebuffer : :: windows::core::PWSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumeInformationByHandleW ( hfile : super::super::Foundation:: HANDLE , lpvolumenamebuffer : :: windows::core::PWSTR , nvolumenamesize : u32 , lpvolumeserialnumber : *mut u32 , lpmaximumcomponentlength : *mut u32 , lpfilesystemflags : *mut u32 , lpfilesystemnamebuffer : :: windows::core::PWSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ); GetVolumeInformationByHandleW( hfile.into(), ::core::mem::transmute(lpvolumenamebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -2008,7 +2008,7 @@ pub unsafe fn GetVolumeInformationW(lprootpathname: P0, lpvolumenamebuffer: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumeInformationW ( lprootpathname : :: windows::core::PCWSTR , lpvolumenamebuffer : :: windows::core::PWSTR , nvolumenamesize : u32 , lpvolumeserialnumber : *mut u32 , lpmaximumcomponentlength : *mut u32 , lpfilesystemflags : *mut u32 , lpfilesystemnamebuffer : :: windows::core::PWSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumeInformationW ( lprootpathname : :: windows::core::PCWSTR , lpvolumenamebuffer : :: windows::core::PWSTR , nvolumenamesize : u32 , lpvolumeserialnumber : *mut u32 , lpmaximumcomponentlength : *mut u32 , lpfilesystemflags : *mut u32 , lpfilesystemnamebuffer : :: windows::core::PWSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ); GetVolumeInformationW( lprootpathname.into().abi(), ::core::mem::transmute(lpvolumenamebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -2027,7 +2027,7 @@ pub unsafe fn GetVolumeNameForVolumeMountPointA(lpszvolumemountpoint: P0, lp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumeNameForVolumeMountPointA ( lpszvolumemountpoint : :: windows::core::PCSTR , lpszvolumename : :: windows::core::PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumeNameForVolumeMountPointA ( lpszvolumemountpoint : :: windows::core::PCSTR , lpszvolumename : :: windows::core::PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); GetVolumeNameForVolumeMountPointA(lpszvolumemountpoint.into().abi(), ::core::mem::transmute(lpszvolumename.as_ptr()), lpszvolumename.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2037,7 +2037,7 @@ pub unsafe fn GetVolumeNameForVolumeMountPointW(lpszvolumemountpoint: P0, lp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumeNameForVolumeMountPointW ( lpszvolumemountpoint : :: windows::core::PCWSTR , lpszvolumename : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumeNameForVolumeMountPointW ( lpszvolumemountpoint : :: windows::core::PCWSTR , lpszvolumename : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); GetVolumeNameForVolumeMountPointW(lpszvolumemountpoint.into().abi(), ::core::mem::transmute(lpszvolumename.as_ptr()), lpszvolumename.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2047,7 +2047,7 @@ pub unsafe fn GetVolumePathNameA(lpszfilename: P0, lpszvolumepathname: &mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumePathNameA ( lpszfilename : :: windows::core::PCSTR , lpszvolumepathname : :: windows::core::PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumePathNameA ( lpszfilename : :: windows::core::PCSTR , lpszvolumepathname : :: windows::core::PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); GetVolumePathNameA(lpszfilename.into().abi(), ::core::mem::transmute(lpszvolumepathname.as_ptr()), lpszvolumepathname.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2057,7 +2057,7 @@ pub unsafe fn GetVolumePathNameW(lpszfilename: P0, lpszvolumepathname: &mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumePathNameW ( lpszfilename : :: windows::core::PCWSTR , lpszvolumepathname : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumePathNameW ( lpszfilename : :: windows::core::PCWSTR , lpszvolumepathname : :: windows::core::PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ); GetVolumePathNameW(lpszfilename.into().abi(), ::core::mem::transmute(lpszvolumepathname.as_ptr()), lpszvolumepathname.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2067,7 +2067,7 @@ pub unsafe fn GetVolumePathNamesForVolumeNameA(lpszvolumename: P0, lpszvolum where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumePathNamesForVolumeNameA ( lpszvolumename : :: windows::core::PCSTR , lpszvolumepathnames : :: windows::core::PSTR , cchbufferlength : u32 , lpcchreturnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumePathNamesForVolumeNameA ( lpszvolumename : :: windows::core::PCSTR , lpszvolumepathnames : :: windows::core::PSTR , cchbufferlength : u32 , lpcchreturnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GetVolumePathNamesForVolumeNameA(lpszvolumename.into().abi(), ::core::mem::transmute(lpszvolumepathnames.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszvolumepathnames.as_deref().map_or(0, |slice| slice.len() as _), lpcchreturnlength) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2077,7 +2077,7 @@ pub unsafe fn GetVolumePathNamesForVolumeNameW(lpszvolumename: P0, lpszvolum where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVolumePathNamesForVolumeNameW ( lpszvolumename : :: windows::core::PCWSTR , lpszvolumepathnames : :: windows::core::PWSTR , cchbufferlength : u32 , lpcchreturnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVolumePathNamesForVolumeNameW ( lpszvolumename : :: windows::core::PCWSTR , lpszvolumepathnames : :: windows::core::PWSTR , cchbufferlength : u32 , lpcchreturnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GetVolumePathNamesForVolumeNameW(lpszvolumename.into().abi(), ::core::mem::transmute(lpszvolumepathnames.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszvolumepathnames.as_deref().map_or(0, |slice| slice.len() as _), lpcchreturnlength) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2087,7 +2087,7 @@ pub unsafe fn HandleLogFull(hlog: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn HandleLogFull ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn HandleLogFull ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); HandleLogFull(hlog.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2097,38 +2097,38 @@ pub unsafe fn InstallLogPolicy(hlog: P0, ppolicy: *mut CLFS_MGMT_POLICY) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn InstallLogPolicy ( hlog : super::super::Foundation:: HANDLE , ppolicy : *mut CLFS_MGMT_POLICY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn InstallLogPolicy ( hlog : super::super::Foundation:: HANDLE , ppolicy : *mut CLFS_MGMT_POLICY ) -> super::super::Foundation:: BOOL ); InstallLogPolicy(hlog.into(), ppolicy) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsIoRingOpSupported(ioring: *const HIORING__, op: IORING_OP_CODE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn IsIoRingOpSupported ( ioring : *const HIORING__ , op : IORING_OP_CODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn IsIoRingOpSupported ( ioring : *const HIORING__ , op : IORING_OP_CODE ) -> super::super::Foundation:: BOOL ); IsIoRingOpSupported(ioring, op) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LZClose(hfile: i32) { - ::windows::core::link ! ( "kernel32.dll""system" fn LZClose ( hfile : i32 ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZClose ( hfile : i32 ) -> ( ) ); LZClose(hfile) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LZCopy(hfsource: i32, hfdest: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LZCopy ( hfsource : i32 , hfdest : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZCopy ( hfsource : i32 , hfdest : i32 ) -> i32 ); LZCopy(hfsource, hfdest) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LZDone() { - ::windows::core::link ! ( "kernel32.dll""system" fn LZDone ( ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZDone ( ) -> ( ) ); LZDone() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LZInit(hfsource: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LZInit ( hfsource : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZInit ( hfsource : i32 ) -> i32 ); LZInit(hfsource) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2138,7 +2138,7 @@ pub unsafe fn LZOpenFileA(lpfilename: P0, lpreopenbuf: *mut OFSTRUCT, wstyle where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn LZOpenFileA ( lpfilename : :: windows::core::PCSTR , lpreopenbuf : *mut OFSTRUCT , wstyle : LZOPENFILE_STYLE ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZOpenFileA ( lpfilename : :: windows::core::PCSTR , lpreopenbuf : *mut OFSTRUCT , wstyle : LZOPENFILE_STYLE ) -> i32 ); LZOpenFileA(lpfilename.into().abi(), lpreopenbuf, wstyle) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2148,32 +2148,32 @@ pub unsafe fn LZOpenFileW(lpfilename: P0, lpreopenbuf: *mut OFSTRUCT, wstyle where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn LZOpenFileW ( lpfilename : :: windows::core::PCWSTR , lpreopenbuf : *mut OFSTRUCT , wstyle : LZOPENFILE_STYLE ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZOpenFileW ( lpfilename : :: windows::core::PCWSTR , lpreopenbuf : *mut OFSTRUCT , wstyle : LZOPENFILE_STYLE ) -> i32 ); LZOpenFileW(lpfilename.into().abi(), lpreopenbuf, wstyle) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LZRead(hfile: i32, lpbuffer: &mut [u8]) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LZRead ( hfile : i32 , lpbuffer : :: windows::core::PSTR , cbread : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZRead ( hfile : i32 , lpbuffer : :: windows::core::PSTR , cbread : i32 ) -> i32 ); LZRead(hfile, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LZSeek(hfile: i32, loffset: i32, iorigin: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LZSeek ( hfile : i32 , loffset : i32 , iorigin : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZSeek ( hfile : i32 , loffset : i32 , iorigin : i32 ) -> i32 ); LZSeek(hfile, loffset, iorigin) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LZStart() -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LZStart ( ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LZStart ( ) -> i32 ); LZStart() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LocalFileTimeToFileTime(lplocalfiletime: *const super::super::Foundation::FILETIME, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalFileTimeToFileTime ( lplocalfiletime : *const super::super::Foundation:: FILETIME , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalFileTimeToFileTime ( lplocalfiletime : *const super::super::Foundation:: FILETIME , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); LocalFileTimeToFileTime(lplocalfiletime, lpfiletime) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2183,7 +2183,7 @@ pub unsafe fn LockFile(hfile: P0, dwfileoffsetlow: u32, dwfileoffsethigh: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn LockFile ( hfile : super::super::Foundation:: HANDLE , dwfileoffsetlow : u32 , dwfileoffsethigh : u32 , nnumberofbytestolocklow : u32 , nnumberofbytestolockhigh : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LockFile ( hfile : super::super::Foundation:: HANDLE , dwfileoffsetlow : u32 , dwfileoffsethigh : u32 , nnumberofbytestolocklow : u32 , nnumberofbytestolockhigh : u32 ) -> super::super::Foundation:: BOOL ); LockFile(hfile.into(), dwfileoffsetlow, dwfileoffsethigh, nnumberofbytestolocklow, nnumberofbytestolockhigh) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -2193,7 +2193,7 @@ pub unsafe fn LockFileEx(hfile: P0, dwflags: LOCK_FILE_FLAGS, dwreserved: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn LockFileEx ( hfile : super::super::Foundation:: HANDLE , dwflags : LOCK_FILE_FLAGS , dwreserved : u32 , nnumberofbytestolocklow : u32 , nnumberofbytestolockhigh : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LockFileEx ( hfile : super::super::Foundation:: HANDLE , dwflags : LOCK_FILE_FLAGS , dwreserved : u32 , nnumberofbytestolocklow : u32 , nnumberofbytestolockhigh : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); LockFileEx(hfile.into(), dwflags, dwreserved, nnumberofbytestolocklow, nnumberofbytestolockhigh, lpoverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2203,72 +2203,72 @@ pub unsafe fn LogTailAdvanceFailure(hlog: P0, dwreason: u32) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn LogTailAdvanceFailure ( hlog : super::super::Foundation:: HANDLE , dwreason : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LogTailAdvanceFailure ( hlog : super::super::Foundation:: HANDLE , dwreason : u32 ) -> super::super::Foundation:: BOOL ); LogTailAdvanceFailure(hlog.into(), dwreason) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LsnBlockOffset(plsn: *const CLS_LSN) -> u32 { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnBlockOffset ( plsn : *const CLS_LSN ) -> u32 ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnBlockOffset ( plsn : *const CLS_LSN ) -> u32 ); LsnBlockOffset(plsn) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LsnContainer(plsn: *const CLS_LSN) -> u32 { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnContainer ( plsn : *const CLS_LSN ) -> u32 ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnContainer ( plsn : *const CLS_LSN ) -> u32 ); LsnContainer(plsn) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LsnCreate(cidcontainer: u32, offblock: u32, crecord: u32) -> CLS_LSN { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnCreate ( cidcontainer : u32 , offblock : u32 , crecord : u32 ) -> CLS_LSN ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnCreate ( cidcontainer : u32 , offblock : u32 , crecord : u32 ) -> CLS_LSN ); LsnCreate(cidcontainer, offblock, crecord) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsnEqual(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnEqual ( plsn1 : *const CLS_LSN , plsn2 : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnEqual ( plsn1 : *const CLS_LSN , plsn2 : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); LsnEqual(plsn1, plsn2) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsnGreater(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnGreater ( plsn1 : *const CLS_LSN , plsn2 : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnGreater ( plsn1 : *const CLS_LSN , plsn2 : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); LsnGreater(plsn1, plsn2) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LsnIncrement(plsn: *const CLS_LSN) -> CLS_LSN { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnIncrement ( plsn : *const CLS_LSN ) -> CLS_LSN ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnIncrement ( plsn : *const CLS_LSN ) -> CLS_LSN ); LsnIncrement(plsn) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsnInvalid(plsn: *const CLS_LSN) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnInvalid ( plsn : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnInvalid ( plsn : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); LsnInvalid(plsn) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsnLess(plsn1: *const CLS_LSN, plsn2: *const CLS_LSN) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnLess ( plsn1 : *const CLS_LSN , plsn2 : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnLess ( plsn1 : *const CLS_LSN , plsn2 : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); LsnLess(plsn1, plsn2) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LsnNull(plsn: *const CLS_LSN) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnNull ( plsn : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnNull ( plsn : *const CLS_LSN ) -> super::super::Foundation:: BOOLEAN ); LsnNull(plsn) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn LsnRecordSequence(plsn: *const CLS_LSN) -> u32 { - ::windows::core::link ! ( "clfsw32.dll""system" fn LsnRecordSequence ( plsn : *const CLS_LSN ) -> u32 ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn LsnRecordSequence ( plsn : *const CLS_LSN ) -> u32 ); LsnRecordSequence(plsn) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2279,7 +2279,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn MoveFileA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MoveFileA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); MoveFileA(lpexistingfilename.into().abi(), lpnewfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2290,7 +2290,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn MoveFileExA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MoveFileExA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); MoveFileExA(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2301,7 +2301,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn MoveFileExW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MoveFileExW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); MoveFileExW(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2312,7 +2312,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn MoveFileFromAppW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn MoveFileFromAppW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); MoveFileFromAppW(lpexistingfilename.into().abi(), lpnewfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2324,7 +2324,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn MoveFileTransactedA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , dwflags : MOVE_FILE_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MoveFileTransactedA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , dwflags : MOVE_FILE_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); MoveFileTransactedA(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), dwflags, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2336,7 +2336,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn MoveFileTransactedW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , dwflags : MOVE_FILE_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MoveFileTransactedW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , dwflags : MOVE_FILE_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); MoveFileTransactedW(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), dwflags, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2347,7 +2347,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn MoveFileW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MoveFileW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); MoveFileW(lpexistingfilename.into().abi(), lpnewfilename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2358,7 +2358,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn MoveFileWithProgressA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MoveFileWithProgressA ( lpexistingfilename : :: windows::core::PCSTR , lpnewfilename : :: windows::core::PCSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); MoveFileWithProgressA(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2369,7 +2369,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn MoveFileWithProgressW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MoveFileWithProgressW ( lpexistingfilename : :: windows::core::PCWSTR , lpnewfilename : :: windows::core::PCWSTR , lpprogressroutine : LPPROGRESS_ROUTINE , lpdata : *const ::core::ffi::c_void , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); MoveFileWithProgressW(lpexistingfilename.into().abi(), lpnewfilename.into().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2379,7 +2379,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetConnectionEnum ( servername : :: windows::core::PCWSTR , qualifier : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetConnectionEnum ( servername : :: windows::core::PCWSTR , qualifier : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetConnectionEnum(servername.into().abi(), qualifier.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2388,7 +2388,7 @@ pub unsafe fn NetFileClose(servername: P0, fileid: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetFileClose ( servername : :: windows::core::PCWSTR , fileid : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetFileClose ( servername : :: windows::core::PCWSTR , fileid : u32 ) -> u32 ); NetFileClose(servername.into().abi(), fileid) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2399,7 +2399,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetFileEnum ( servername : :: windows::core::PCWSTR , basepath : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut usize ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetFileEnum ( servername : :: windows::core::PCWSTR , basepath : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut usize ) -> u32 ); NetFileEnum(servername.into().abi(), basepath.into().abi(), username.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2408,7 +2408,7 @@ pub unsafe fn NetFileGetInfo(servername: P0, fileid: u32, level: u32, bufptr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetFileGetInfo ( servername : :: windows::core::PCWSTR , fileid : u32 , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetFileGetInfo ( servername : :: windows::core::PCWSTR , fileid : u32 , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetFileGetInfo(servername.into().abi(), fileid, level, bufptr) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2417,7 +2417,7 @@ pub unsafe fn NetServerAliasAdd(servername: P0, level: u32, buf: *const u8) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerAliasAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerAliasAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 ) -> u32 ); NetServerAliasAdd(servername.into().abi(), level, buf) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2426,7 +2426,7 @@ pub unsafe fn NetServerAliasDel(servername: P0, level: u32, buf: *const u8) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerAliasDel ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerAliasDel ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 ) -> u32 ); NetServerAliasDel(servername.into().abi(), level, buf) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2435,7 +2435,7 @@ pub unsafe fn NetServerAliasEnum(servername: P0, level: u32, bufptr: *mut *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetServerAliasEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetServerAliasEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resumehandle : *mut u32 ) -> u32 ); NetServerAliasEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2446,7 +2446,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetSessionDel ( servername : :: windows::core::PCWSTR , uncclientname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetSessionDel ( servername : :: windows::core::PCWSTR , uncclientname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR ) -> u32 ); NetSessionDel(servername.into().abi(), uncclientname.into().abi(), username.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2457,7 +2457,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetSessionEnum ( servername : :: windows::core::PCWSTR , uncclientname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetSessionEnum ( servername : :: windows::core::PCWSTR , uncclientname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetSessionEnum(servername.into().abi(), uncclientname.into().abi(), username.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2468,7 +2468,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetSessionGetInfo ( servername : :: windows::core::PCWSTR , uncclientname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetSessionGetInfo ( servername : :: windows::core::PCWSTR , uncclientname : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetSessionGetInfo(servername.into().abi(), uncclientname.into().abi(), username.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2477,7 +2477,7 @@ pub unsafe fn NetShareAdd(servername: P0, level: u32, buf: *const u8, parm_e where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareAdd ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetShareAdd(servername.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2487,7 +2487,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareCheck ( servername : :: windows::core::PCWSTR , device : :: windows::core::PCWSTR , r#type : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareCheck ( servername : :: windows::core::PCWSTR , device : :: windows::core::PCWSTR , r#type : *mut u32 ) -> u32 ); NetShareCheck(servername.into().abi(), device.into().abi(), r#type) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2497,7 +2497,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareDel ( servername : :: windows::core::PCWSTR , netname : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareDel ( servername : :: windows::core::PCWSTR , netname : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); NetShareDel(servername.into().abi(), netname.into().abi(), reserved) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2506,7 +2506,7 @@ pub unsafe fn NetShareDelEx(servername: P0, level: u32, buf: *const u8) -> u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareDelEx ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareDelEx ( servername : :: windows::core::PCWSTR , level : u32 , buf : *const u8 ) -> u32 ); NetShareDelEx(servername.into().abi(), level, buf) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2516,7 +2516,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareDelSticky ( servername : :: windows::core::PCWSTR , netname : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareDelSticky ( servername : :: windows::core::PCWSTR , netname : :: windows::core::PCWSTR , reserved : u32 ) -> u32 ); NetShareDelSticky(servername.into().abi(), netname.into().abi(), reserved) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2525,7 +2525,7 @@ pub unsafe fn NetShareEnum(servername: P0, level: u32, bufptr: *mut *mut u8, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareEnum ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetShareEnum(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2534,7 +2534,7 @@ pub unsafe fn NetShareEnumSticky(servername: P0, level: u32, bufptr: *mut *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareEnumSticky ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareEnumSticky ( servername : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 , prefmaxlen : u32 , entriesread : *mut u32 , totalentries : *mut u32 , resume_handle : *mut u32 ) -> u32 ); NetShareEnumSticky(servername.into().abi(), level, bufptr, prefmaxlen, entriesread, totalentries, ::core::mem::transmute(resume_handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2544,7 +2544,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareGetInfo ( servername : :: windows::core::PCWSTR , netname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareGetInfo ( servername : :: windows::core::PCWSTR , netname : :: windows::core::PCWSTR , level : u32 , bufptr : *mut *mut u8 ) -> u32 ); NetShareGetInfo(servername.into().abi(), netname.into().abi(), level, bufptr) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2554,20 +2554,20 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "netapi32.dll""system" fn NetShareSetInfo ( servername : :: windows::core::PCWSTR , netname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetShareSetInfo ( servername : :: windows::core::PCWSTR , netname : :: windows::core::PCWSTR , level : u32 , buf : *const u8 , parm_err : *mut u32 ) -> u32 ); NetShareSetInfo(servername.into().abi(), netname.into().abi(), level, buf, ::core::mem::transmute(parm_err.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn NetStatisticsGet(servername: *const i8, service: *const i8, level: u32, options: u32, buffer: *mut *mut u8) -> u32 { - ::windows::core::link ! ( "netapi32.dll""system" fn NetStatisticsGet ( servername : *const i8 , service : *const i8 , level : u32 , options : u32 , buffer : *mut *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "netapi32.dll""system" fn NetStatisticsGet ( servername : *const i8 , service : *const i8 , level : u32 , options : u32 , buffer : *mut *mut u8 ) -> u32 ); NetStatisticsGet(servername, service, level, options, buffer) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] pub unsafe fn NtCreateFile(filehandle: *mut super::super::Foundation::HANDLE, desiredaccess: u32, objectattributes: *mut super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::System::WindowsProgramming::IO_STATUS_BLOCK, allocationsize: *mut i64, fileattributes: u32, shareaccess: FILE_SHARE_MODE, createdisposition: NT_CREATE_FILE_DISPOSITION, createoptions: u32, eabuffer: *mut ::core::ffi::c_void, ealength: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn NtCreateFile ( filehandle : *mut super::super::Foundation:: HANDLE , desiredaccess : u32 , objectattributes : *mut super::super::System::WindowsProgramming:: OBJECT_ATTRIBUTES , iostatusblock : *mut super::super::System::WindowsProgramming:: IO_STATUS_BLOCK , allocationsize : *mut i64 , fileattributes : u32 , shareaccess : FILE_SHARE_MODE , createdisposition : NT_CREATE_FILE_DISPOSITION , createoptions : u32 , eabuffer : *mut ::core::ffi::c_void , ealength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtCreateFile ( filehandle : *mut super::super::Foundation:: HANDLE , desiredaccess : u32 , objectattributes : *mut super::super::System::WindowsProgramming:: OBJECT_ATTRIBUTES , iostatusblock : *mut super::super::System::WindowsProgramming:: IO_STATUS_BLOCK , allocationsize : *mut i64 , fileattributes : u32 , shareaccess : FILE_SHARE_MODE , createdisposition : NT_CREATE_FILE_DISPOSITION , createoptions : u32 , eabuffer : *mut ::core::ffi::c_void , ealength : u32 ) -> super::super::Foundation:: NTSTATUS ); NtCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, allocationsize, fileattributes, shareaccess, createdisposition, createoptions, eabuffer, ealength).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2576,7 +2576,7 @@ pub unsafe fn OpenEncryptedFileRawA(lpfilename: P0, ulflags: u32, pvcontext: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenEncryptedFileRawA ( lpfilename : :: windows::core::PCSTR , ulflags : u32 , pvcontext : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenEncryptedFileRawA ( lpfilename : :: windows::core::PCSTR , ulflags : u32 , pvcontext : *mut *mut ::core::ffi::c_void ) -> u32 ); OpenEncryptedFileRawA(lpfilename.into().abi(), ulflags, pvcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2585,7 +2585,7 @@ pub unsafe fn OpenEncryptedFileRawW(lpfilename: P0, ulflags: u32, pvcontext: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenEncryptedFileRawW ( lpfilename : :: windows::core::PCWSTR , ulflags : u32 , pvcontext : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenEncryptedFileRawW ( lpfilename : :: windows::core::PCWSTR , ulflags : u32 , pvcontext : *mut *mut ::core::ffi::c_void ) -> u32 ); OpenEncryptedFileRawW(lpfilename.into().abi(), ulflags, pvcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2595,9 +2595,9 @@ pub unsafe fn OpenEnlistment(dwdesiredaccess: u32, resourcemanagerhandle: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn OpenEnlistment ( dwdesiredaccess : u32 , resourcemanagerhandle : super::super::Foundation:: HANDLE , enlistmentid : *mut :: windows::core::GUID ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn OpenEnlistment ( dwdesiredaccess : u32 , resourcemanagerhandle : super::super::Foundation:: HANDLE , enlistmentid : *mut :: windows::core::GUID ) -> super::super::Foundation:: HANDLE ); let result__ = OpenEnlistment(dwdesiredaccess, resourcemanagerhandle.into(), enlistmentid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2606,7 +2606,7 @@ pub unsafe fn OpenFile(lpfilename: P0, lpreopenbuff: *mut OFSTRUCT, ustyle: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenFile ( lpfilename : :: windows::core::PCSTR , lpreopenbuff : *mut OFSTRUCT , ustyle : u32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenFile ( lpfilename : :: windows::core::PCSTR , lpreopenbuff : *mut OFSTRUCT , ustyle : u32 ) -> i32 ); OpenFile(lpfilename.into().abi(), lpreopenbuff, ustyle) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -2616,9 +2616,9 @@ pub unsafe fn OpenFileById(hvolumehint: P0, lpfileid: *const FILE_ID_DESCRIP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenFileById ( hvolumehint : super::super::Foundation:: HANDLE , lpfileid : *const FILE_ID_DESCRIPTOR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenFileById ( hvolumehint : super::super::Foundation:: HANDLE , lpfileid : *const FILE_ID_DESCRIPTOR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); let result__ = OpenFileById(hvolumehint.into(), lpfileid, dwdesiredaccess, dwsharemode, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), dwflagsandattributes); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2627,17 +2627,17 @@ pub unsafe fn OpenResourceManager(dwdesiredaccess: u32, tmhandle: P0, resour where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn OpenResourceManager ( dwdesiredaccess : u32 , tmhandle : super::super::Foundation:: HANDLE , resourcemanagerid : *mut :: windows::core::GUID ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn OpenResourceManager ( dwdesiredaccess : u32 , tmhandle : super::super::Foundation:: HANDLE , resourcemanagerid : *mut :: windows::core::GUID ) -> super::super::Foundation:: HANDLE ); let result__ = OpenResourceManager(dwdesiredaccess, tmhandle.into(), resourcemanagerid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OpenTransaction(dwdesiredaccess: u32, transactionid: *mut ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "ktmw32.dll""system" fn OpenTransaction ( dwdesiredaccess : u32 , transactionid : *mut :: windows::core::GUID ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn OpenTransaction ( dwdesiredaccess : u32 , transactionid : *mut :: windows::core::GUID ) -> super::super::Foundation:: HANDLE ); let result__ = OpenTransaction(dwdesiredaccess, transactionid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2646,22 +2646,22 @@ pub unsafe fn OpenTransactionManager(logfilename: P0, desiredaccess: u32, op where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ktmw32.dll""system" fn OpenTransactionManager ( logfilename : :: windows::core::PCWSTR , desiredaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn OpenTransactionManager ( logfilename : :: windows::core::PCWSTR , desiredaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = OpenTransactionManager(logfilename.into().abi(), desiredaccess, openoptions); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OpenTransactionManagerById(transactionmanagerid: *const ::windows::core::GUID, desiredaccess: u32, openoptions: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "ktmw32.dll""system" fn OpenTransactionManagerById ( transactionmanagerid : *const :: windows::core::GUID , desiredaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn OpenTransactionManagerById ( transactionmanagerid : *const :: windows::core::GUID , desiredaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = OpenTransactionManagerById(transactionmanagerid, desiredaccess, openoptions); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn PopIoRingCompletion(ioring: *const HIORING__) -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn PopIoRingCompletion ( ioring : *const HIORING__ , cqe : *mut IORING_CQE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn PopIoRingCompletion ( ioring : *const HIORING__ , cqe : *mut IORING_CQE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PopIoRingCompletion(ioring, &mut result__).from_abi(result__) } @@ -2672,7 +2672,7 @@ pub unsafe fn PrePrepareComplete(enlistmenthandle: P0, tmvirtualclock: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn PrePrepareComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn PrePrepareComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); PrePrepareComplete(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2682,7 +2682,7 @@ pub unsafe fn PrePrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn PrePrepareEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn PrePrepareEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); PrePrepareEnlistment(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2692,7 +2692,7 @@ pub unsafe fn PrepareComplete(enlistmenthandle: P0, tmvirtualclock: *mut i64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn PrepareComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn PrepareComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); PrepareComplete(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2702,7 +2702,7 @@ pub unsafe fn PrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: *mut i where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn PrepareEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn PrepareEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); PrepareEnlistment(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2712,7 +2712,7 @@ pub unsafe fn PrepareLogArchive(hlog: P0, pszbaselogfilename: &mut [u16], pl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn PrepareLogArchive ( hlog : super::super::Foundation:: HANDLE , pszbaselogfilename : :: windows::core::PWSTR , clen : u32 , plsnlow : *const CLS_LSN , plsnhigh : *const CLS_LSN , pcactuallength : *mut u32 , poffbaselogfiledata : *mut u64 , pcbbaselogfilelength : *mut u64 , plsnbase : *mut CLS_LSN , plsnlast : *mut CLS_LSN , plsncurrentarchivetail : *mut CLS_LSN , ppvarchivecontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn PrepareLogArchive ( hlog : super::super::Foundation:: HANDLE , pszbaselogfilename : :: windows::core::PWSTR , clen : u32 , plsnlow : *const CLS_LSN , plsnhigh : *const CLS_LSN , pcactuallength : *mut u32 , poffbaselogfiledata : *mut u64 , pcbbaselogfilelength : *mut u64 , plsnbase : *mut CLS_LSN , plsnlast : *mut CLS_LSN , plsncurrentarchivetail : *mut CLS_LSN , ppvarchivecontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); PrepareLogArchive(hlog.into(), ::core::mem::transmute(pszbaselogfilename.as_ptr()), pszbaselogfilename.len() as _, ::core::mem::transmute(plsnlow.unwrap_or(::std::ptr::null())), ::core::mem::transmute(plsnhigh.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcactuallength.unwrap_or(::std::ptr::null_mut())), poffbaselogfiledata, pcbbaselogfilelength, plsnbase, plsnlast, plsncurrentarchivetail, ppvarchivecontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2723,7 +2723,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PrepareTape ( hdevice : super::super::Foundation:: HANDLE , dwoperation : PREPARE_TAPE_OPERATION , bimmediate : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PrepareTape ( hdevice : super::super::Foundation:: HANDLE , dwoperation : PREPARE_TAPE_OPERATION , bimmediate : super::super::Foundation:: BOOL ) -> u32 ); PrepareTape(hdevice.into(), dwoperation, bimmediate.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2732,7 +2732,7 @@ pub unsafe fn QueryDosDeviceA(lpdevicename: P0, lptargetpath: ::core::option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryDosDeviceA ( lpdevicename : :: windows::core::PCSTR , lptargetpath : :: windows::core::PSTR , ucchmax : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryDosDeviceA ( lpdevicename : :: windows::core::PCSTR , lptargetpath : :: windows::core::PSTR , ucchmax : u32 ) -> u32 ); QueryDosDeviceA(lpdevicename.into().abi(), ::core::mem::transmute(lptargetpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lptargetpath.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -2741,13 +2741,13 @@ pub unsafe fn QueryDosDeviceW(lpdevicename: P0, lptargetpath: ::core::option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryDosDeviceW ( lpdevicename : :: windows::core::PCWSTR , lptargetpath : :: windows::core::PWSTR , ucchmax : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryDosDeviceW ( lpdevicename : :: windows::core::PCWSTR , lptargetpath : :: windows::core::PWSTR , ucchmax : u32 ) -> u32 ); QueryDosDeviceW(lpdevicename.into().abi(), ::core::mem::transmute(lptargetpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lptargetpath.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn QueryIoRingCapabilities() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn QueryIoRingCapabilities ( capabilities : *mut IORING_CAPABILITIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn QueryIoRingCapabilities ( capabilities : *mut IORING_CAPABILITIES ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); QueryIoRingCapabilities(&mut result__).from_abi(result__) } @@ -2758,7 +2758,7 @@ pub unsafe fn QueryLogPolicy(hlog: P0, epolicytype: CLFS_MGMT_POLICY_TYPE, p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn QueryLogPolicy ( hlog : super::super::Foundation:: HANDLE , epolicytype : CLFS_MGMT_POLICY_TYPE , ppolicybuffer : *mut CLFS_MGMT_POLICY , pcbpolicybuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn QueryLogPolicy ( hlog : super::super::Foundation:: HANDLE , epolicytype : CLFS_MGMT_POLICY_TYPE , ppolicybuffer : *mut CLFS_MGMT_POLICY , pcbpolicybuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryLogPolicy(hlog.into(), epolicytype, ppolicybuffer, pcbpolicybuffer) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] @@ -2768,7 +2768,7 @@ pub unsafe fn QueryRecoveryAgentsOnEncryptedFile(lpfilename: P0, precoveryag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryRecoveryAgentsOnEncryptedFile ( lpfilename : :: windows::core::PCWSTR , precoveryagents : *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryRecoveryAgentsOnEncryptedFile ( lpfilename : :: windows::core::PCWSTR , precoveryagents : *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ); QueryRecoveryAgentsOnEncryptedFile(lpfilename.into().abi(), precoveryagents) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] @@ -2778,7 +2778,7 @@ pub unsafe fn QueryUsersOnEncryptedFile(lpfilename: P0, pusers: *mut *mut EN where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryUsersOnEncryptedFile ( lpfilename : :: windows::core::PCWSTR , pusers : *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryUsersOnEncryptedFile ( lpfilename : :: windows::core::PCWSTR , pusers : *mut *mut ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ); QueryUsersOnEncryptedFile(lpfilename.into().abi(), pusers) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2788,9 +2788,9 @@ pub unsafe fn ReOpenFile(horiginalfile: P0, dwdesiredaccess: FILE_ACCESS_FLA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReOpenFile ( horiginalfile : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReOpenFile ( horiginalfile : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); let result__ = ReOpenFile(horiginalfile.into(), dwdesiredaccess, dwsharemode, dwflagsandattributes); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] @@ -2800,7 +2800,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadDirectoryChangesExW ( hdirectory : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nbufferlength : u32 , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE , lpbytesreturned : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE , readdirectorynotifyinformationclass : READ_DIRECTORY_NOTIFY_INFORMATION_CLASS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadDirectoryChangesExW ( hdirectory : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nbufferlength : u32 , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE , lpbytesreturned : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE , readdirectorynotifyinformationclass : READ_DIRECTORY_NOTIFY_INFORMATION_CLASS ) -> super::super::Foundation:: BOOL ); ReadDirectoryChangesExW(hdirectory.into(), lpbuffer, nbufferlength, bwatchsubtree.into(), dwnotifyfilter, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine, readdirectorynotifyinformationclass) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -2811,13 +2811,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadDirectoryChangesW ( hdirectory : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nbufferlength : u32 , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE , lpbytesreturned : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadDirectoryChangesW ( hdirectory : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nbufferlength : u32 , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE , lpbytesreturned : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE ) -> super::super::Foundation:: BOOL ); ReadDirectoryChangesW(hdirectory.into(), lpbuffer, nbufferlength, bwatchsubtree.into(), dwnotifyfilter, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn ReadEncryptedFileRaw(pfexportcallback: PFE_EXPORT_FUNC, pvcallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, pvcontext: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn ReadEncryptedFileRaw ( pfexportcallback : PFE_EXPORT_FUNC , pvcallbackcontext : *const ::core::ffi::c_void , pvcontext : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ReadEncryptedFileRaw ( pfexportcallback : PFE_EXPORT_FUNC , pvcallbackcontext : *const ::core::ffi::c_void , pvcontext : *const ::core::ffi::c_void ) -> u32 ); ReadEncryptedFileRaw(pfexportcallback, ::core::mem::transmute(pvcallbackcontext.unwrap_or(::std::ptr::null())), pvcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -2827,7 +2827,7 @@ pub unsafe fn ReadFile(hfile: P0, lpbuffer: ::core::option::Option<*mut ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadFile ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , lpnumberofbytesread : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadFile ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , lpnumberofbytesread : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReadFile(hfile.into(), ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), nnumberofbytestoread, ::core::mem::transmute(lpnumberofbytesread.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -2837,7 +2837,7 @@ pub unsafe fn ReadFileEx(hfile: P0, lpbuffer: ::core::option::Option<*mut :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadFileEx ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadFileEx ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE ) -> super::super::Foundation:: BOOL ); ReadFileEx(hfile.into(), ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), nnumberofbytestoread, lpoverlapped, lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -2847,14 +2847,14 @@ pub unsafe fn ReadFileScatter(hfile: P0, asegmentarray: *const FILE_SEGMENT_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadFileScatter ( hfile : super::super::Foundation:: HANDLE , asegmentarray : *const FILE_SEGMENT_ELEMENT , nnumberofbytestoread : u32 , lpreserved : *const u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadFileScatter ( hfile : super::super::Foundation:: HANDLE , asegmentarray : *const FILE_SEGMENT_ELEMENT , nnumberofbytestoread : u32 , lpreserved : *const u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReadFileScatter(hfile.into(), asegmentarray, nnumberofbytestoread, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), lpoverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReadLogArchiveMetadata(pvarchivecontext: *mut ::core::ffi::c_void, cboffset: u32, cbbytestoread: u32, pbreadbuffer: *mut u8, pcbbytesread: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn ReadLogArchiveMetadata ( pvarchivecontext : *mut ::core::ffi::c_void , cboffset : u32 , cbbytestoread : u32 , pbreadbuffer : *mut u8 , pcbbytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ReadLogArchiveMetadata ( pvarchivecontext : *mut ::core::ffi::c_void , cboffset : u32 , cbbytestoread : u32 , pbreadbuffer : *mut u8 , pcbbytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadLogArchiveMetadata(pvarchivecontext, cboffset, cbbytestoread, pbreadbuffer, pcbbytesread) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -2864,28 +2864,28 @@ pub unsafe fn ReadLogNotification(hlog: P0, pnotification: *mut CLFS_MGMT_NO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn ReadLogNotification ( hlog : super::super::Foundation:: HANDLE , pnotification : *mut CLFS_MGMT_NOTIFICATION , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ReadLogNotification ( hlog : super::super::Foundation:: HANDLE , pnotification : *mut CLFS_MGMT_NOTIFICATION , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReadLogNotification(hlog.into(), pnotification, lpoverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn ReadLogRecord(pvmarshal: *mut ::core::ffi::c_void, plsnfirst: *mut CLS_LSN, econtextmode: CLFS_CONTEXT_MODE, ppvreadbuffer: *mut *mut ::core::ffi::c_void, pcbreadbuffer: *mut u32, perecordtype: *mut u8, plsnundonext: *mut CLS_LSN, plsnprevious: *mut CLS_LSN, ppvreadcontext: *mut *mut ::core::ffi::c_void, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn ReadLogRecord ( pvmarshal : *mut ::core::ffi::c_void , plsnfirst : *mut CLS_LSN , econtextmode : CLFS_CONTEXT_MODE , ppvreadbuffer : *mut *mut ::core::ffi::c_void , pcbreadbuffer : *mut u32 , perecordtype : *mut u8 , plsnundonext : *mut CLS_LSN , plsnprevious : *mut CLS_LSN , ppvreadcontext : *mut *mut ::core::ffi::c_void , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ReadLogRecord ( pvmarshal : *mut ::core::ffi::c_void , plsnfirst : *mut CLS_LSN , econtextmode : CLFS_CONTEXT_MODE , ppvreadbuffer : *mut *mut ::core::ffi::c_void , pcbreadbuffer : *mut u32 , perecordtype : *mut u8 , plsnundonext : *mut CLS_LSN , plsnprevious : *mut CLS_LSN , ppvreadcontext : *mut *mut ::core::ffi::c_void , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReadLogRecord(pvmarshal, plsnfirst, econtextmode, ppvreadbuffer, pcbreadbuffer, perecordtype, plsnundonext, plsnprevious, ppvreadcontext, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn ReadLogRestartArea(pvmarshal: *mut ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsn: *mut CLS_LSN, ppvcontext: *mut *mut ::core::ffi::c_void, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn ReadLogRestartArea ( pvmarshal : *mut ::core::ffi::c_void , ppvrestartbuffer : *mut *mut ::core::ffi::c_void , pcbrestartbuffer : *mut u32 , plsn : *mut CLS_LSN , ppvcontext : *mut *mut ::core::ffi::c_void , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ReadLogRestartArea ( pvmarshal : *mut ::core::ffi::c_void , ppvrestartbuffer : *mut *mut ::core::ffi::c_void , pcbrestartbuffer : *mut u32 , plsn : *mut CLS_LSN , ppvcontext : *mut *mut ::core::ffi::c_void , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReadLogRestartArea(pvmarshal, ppvrestartbuffer, pcbrestartbuffer, plsn, ppvcontext, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn ReadNextLogRecord(pvreadcontext: *mut ::core::ffi::c_void, ppvbuffer: *mut *mut ::core::ffi::c_void, pcbbuffer: *mut u32, perecordtype: *mut u8, plsnuser: *mut CLS_LSN, plsnundonext: *mut CLS_LSN, plsnprevious: *mut CLS_LSN, plsnrecord: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn ReadNextLogRecord ( pvreadcontext : *mut ::core::ffi::c_void , ppvbuffer : *mut *mut ::core::ffi::c_void , pcbbuffer : *mut u32 , perecordtype : *mut u8 , plsnuser : *mut CLS_LSN , plsnundonext : *mut CLS_LSN , plsnprevious : *mut CLS_LSN , plsnrecord : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ReadNextLogRecord ( pvreadcontext : *mut ::core::ffi::c_void , ppvbuffer : *mut *mut ::core::ffi::c_void , pcbbuffer : *mut u32 , perecordtype : *mut u8 , plsnuser : *mut CLS_LSN , plsnundonext : *mut CLS_LSN , plsnprevious : *mut CLS_LSN , plsnrecord : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReadNextLogRecord(pvreadcontext, ppvbuffer, pcbbuffer, perecordtype, plsnuser, plsnundonext, plsnprevious, plsnrecord, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2895,14 +2895,14 @@ pub unsafe fn ReadOnlyEnlistment(enlistmenthandle: P0, tmvirtualclock: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn ReadOnlyEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn ReadOnlyEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); ReadOnlyEnlistment(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn ReadPreviousLogRestartArea(pvreadcontext: *mut ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsnrestart: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn ReadPreviousLogRestartArea ( pvreadcontext : *mut ::core::ffi::c_void , ppvrestartbuffer : *mut *mut ::core::ffi::c_void , pcbrestartbuffer : *mut u32 , plsnrestart : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ReadPreviousLogRestartArea ( pvreadcontext : *mut ::core::ffi::c_void , ppvrestartbuffer : *mut *mut ::core::ffi::c_void , pcbrestartbuffer : *mut u32 , plsnrestart : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReadPreviousLogRestartArea(pvreadcontext, ppvrestartbuffer, pcbrestartbuffer, plsnrestart, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2912,7 +2912,7 @@ pub unsafe fn RecoverEnlistment(enlistmenthandle: P0, enlistmentkey: *mut :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RecoverEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , enlistmentkey : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RecoverEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , enlistmentkey : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); RecoverEnlistment(enlistmenthandle.into(), enlistmentkey) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2922,7 +2922,7 @@ pub unsafe fn RecoverResourceManager(resourcemanagerhandle: P0) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RecoverResourceManager ( resourcemanagerhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RecoverResourceManager ( resourcemanagerhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); RecoverResourceManager(resourcemanagerhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2932,7 +2932,7 @@ pub unsafe fn RecoverTransactionManager(transactionmanagerhandle: P0) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RecoverTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RecoverTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); RecoverTransactionManager(transactionmanagerhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2943,7 +2943,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn RegisterForLogWriteNotification ( hlog : super::super::Foundation:: HANDLE , cbthreshold : u32 , fenable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn RegisterForLogWriteNotification ( hlog : super::super::Foundation:: HANDLE , cbthreshold : u32 , fenable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); RegisterForLogWriteNotification(hlog.into(), cbthreshold, fenable.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2953,7 +2953,7 @@ pub unsafe fn RegisterManageableLogClient(hlog: P0, pcallbacks: *mut LOG_MAN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn RegisterManageableLogClient ( hlog : super::super::Foundation:: HANDLE , pcallbacks : *mut LOG_MANAGEMENT_CALLBACKS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn RegisterManageableLogClient ( hlog : super::super::Foundation:: HANDLE , pcallbacks : *mut LOG_MANAGEMENT_CALLBACKS ) -> super::super::Foundation:: BOOL ); RegisterManageableLogClient(hlog.into(), pcallbacks) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2963,7 +2963,7 @@ pub unsafe fn RemoveDirectoryA(lppathname: P0) -> super::super::Foundation:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn RemoveDirectoryA ( lppathname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RemoveDirectoryA ( lppathname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); RemoveDirectoryA(lppathname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2973,7 +2973,7 @@ pub unsafe fn RemoveDirectoryFromAppW(lppathname: P0) -> super::super::Found where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn RemoveDirectoryFromAppW ( lppathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn RemoveDirectoryFromAppW ( lppathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); RemoveDirectoryFromAppW(lppathname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2984,7 +2984,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn RemoveDirectoryTransactedA ( lppathname : :: windows::core::PCSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RemoveDirectoryTransactedA ( lppathname : :: windows::core::PCSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); RemoveDirectoryTransactedA(lppathname.into().abi(), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -2995,7 +2995,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn RemoveDirectoryTransactedW ( lppathname : :: windows::core::PCWSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RemoveDirectoryTransactedW ( lppathname : :: windows::core::PCWSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); RemoveDirectoryTransactedW(lppathname.into().abi(), htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3005,7 +3005,7 @@ pub unsafe fn RemoveDirectoryW(lppathname: P0) -> super::super::Foundation:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn RemoveDirectoryW ( lppathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RemoveDirectoryW ( lppathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); RemoveDirectoryW(lppathname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3017,7 +3017,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn RemoveLogContainer ( hlog : super::super::Foundation:: HANDLE , pwszcontainerpath : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn RemoveLogContainer ( hlog : super::super::Foundation:: HANDLE , pwszcontainerpath : :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); RemoveLogContainer(hlog.into(), pwszcontainerpath.into().abi(), fforce.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3028,7 +3028,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn RemoveLogContainerSet ( hlog : super::super::Foundation:: HANDLE , ccontainer : u16 , rgwszcontainerpath : *const :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn RemoveLogContainerSet ( hlog : super::super::Foundation:: HANDLE , ccontainer : u16 , rgwszcontainerpath : *const :: windows::core::PCWSTR , fforce : super::super::Foundation:: BOOL , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); RemoveLogContainerSet(hlog.into(), rgwszcontainerpath.len() as _, ::core::mem::transmute(rgwszcontainerpath.as_ptr()), fforce.into(), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3038,7 +3038,7 @@ pub unsafe fn RemoveLogPolicy(hlog: P0, epolicytype: CLFS_MGMT_POLICY_TYPE) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn RemoveLogPolicy ( hlog : super::super::Foundation:: HANDLE , epolicytype : CLFS_MGMT_POLICY_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn RemoveLogPolicy ( hlog : super::super::Foundation:: HANDLE , epolicytype : CLFS_MGMT_POLICY_TYPE ) -> super::super::Foundation:: BOOL ); RemoveLogPolicy(hlog.into(), epolicytype) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] @@ -3048,7 +3048,7 @@ pub unsafe fn RemoveUsersFromEncryptedFile(lpfilename: P0, phashes: *const E where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RemoveUsersFromEncryptedFile ( lpfilename : :: windows::core::PCWSTR , phashes : *const ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RemoveUsersFromEncryptedFile ( lpfilename : :: windows::core::PCWSTR , phashes : *const ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ); RemoveUsersFromEncryptedFile(lpfilename.into().abi(), phashes) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3058,7 +3058,7 @@ pub unsafe fn RenameTransactionManager(logfilename: P0, existingtransactionm where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RenameTransactionManager ( logfilename : :: windows::core::PCWSTR , existingtransactionmanagerguid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RenameTransactionManager ( logfilename : :: windows::core::PCWSTR , existingtransactionmanagerguid : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); RenameTransactionManager(logfilename.into().abi(), existingtransactionmanagerguid) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3070,7 +3070,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReplaceFileA ( lpreplacedfilename : :: windows::core::PCSTR , lpreplacementfilename : :: windows::core::PCSTR , lpbackupfilename : :: windows::core::PCSTR , dwreplaceflags : REPLACE_FILE_FLAGS , lpexclude : *const ::core::ffi::c_void , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReplaceFileA ( lpreplacedfilename : :: windows::core::PCSTR , lpreplacementfilename : :: windows::core::PCSTR , lpbackupfilename : :: windows::core::PCSTR , dwreplaceflags : REPLACE_FILE_FLAGS , lpexclude : *const ::core::ffi::c_void , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ReplaceFileA(lpreplacedfilename.into().abi(), lpreplacementfilename.into().abi(), lpbackupfilename.into().abi(), dwreplaceflags, ::core::mem::transmute(lpexclude.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3082,7 +3082,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn ReplaceFileFromAppW ( lpreplacedfilename : :: windows::core::PCWSTR , lpreplacementfilename : :: windows::core::PCWSTR , lpbackupfilename : :: windows::core::PCWSTR , dwreplaceflags : u32 , lpexclude : *const ::core::ffi::c_void , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn ReplaceFileFromAppW ( lpreplacedfilename : :: windows::core::PCWSTR , lpreplacementfilename : :: windows::core::PCWSTR , lpbackupfilename : :: windows::core::PCWSTR , dwreplaceflags : u32 , lpexclude : *const ::core::ffi::c_void , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ReplaceFileFromAppW(lpreplacedfilename.into().abi(), lpreplacementfilename.into().abi(), lpbackupfilename.into().abi(), dwreplaceflags, ::core::mem::transmute(lpexclude.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3094,21 +3094,21 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReplaceFileW ( lpreplacedfilename : :: windows::core::PCWSTR , lpreplacementfilename : :: windows::core::PCWSTR , lpbackupfilename : :: windows::core::PCWSTR , dwreplaceflags : REPLACE_FILE_FLAGS , lpexclude : *const ::core::ffi::c_void , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReplaceFileW ( lpreplacedfilename : :: windows::core::PCWSTR , lpreplacementfilename : :: windows::core::PCWSTR , lpbackupfilename : :: windows::core::PCWSTR , dwreplaceflags : REPLACE_FILE_FLAGS , lpexclude : *const ::core::ffi::c_void , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ReplaceFileW(lpreplacedfilename.into().abi(), lpreplacementfilename.into().abi(), lpbackupfilename.into().abi(), dwreplaceflags, ::core::mem::transmute(lpexclude.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn ReserveAndAppendLog(pvmarshal: *mut ::core::ffi::c_void, rgwriteentries: *mut CLS_WRITE_ENTRY, cwriteentries: u32, plsnundonext: *mut CLS_LSN, plsnprevious: *mut CLS_LSN, creserverecords: u32, rgcbreservation: *mut i64, fflags: CLFS_FLAG, plsn: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn ReserveAndAppendLog ( pvmarshal : *mut ::core::ffi::c_void , rgwriteentries : *mut CLS_WRITE_ENTRY , cwriteentries : u32 , plsnundonext : *mut CLS_LSN , plsnprevious : *mut CLS_LSN , creserverecords : u32 , rgcbreservation : *mut i64 , fflags : CLFS_FLAG , plsn : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ReserveAndAppendLog ( pvmarshal : *mut ::core::ffi::c_void , rgwriteentries : *mut CLS_WRITE_ENTRY , cwriteentries : u32 , plsnundonext : *mut CLS_LSN , plsnprevious : *mut CLS_LSN , creserverecords : u32 , rgcbreservation : *mut i64 , fflags : CLFS_FLAG , plsn : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReserveAndAppendLog(pvmarshal, rgwriteentries, cwriteentries, plsnundonext, plsnprevious, creserverecords, rgcbreservation, fflags, plsn, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn ReserveAndAppendLogAligned(pvmarshal: *mut ::core::ffi::c_void, rgwriteentries: *mut CLS_WRITE_ENTRY, cwriteentries: u32, cbentryalignment: u32, plsnundonext: *mut CLS_LSN, plsnprevious: *mut CLS_LSN, creserverecords: u32, rgcbreservation: *mut i64, fflags: CLFS_FLAG, plsn: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn ReserveAndAppendLogAligned ( pvmarshal : *mut ::core::ffi::c_void , rgwriteentries : *mut CLS_WRITE_ENTRY , cwriteentries : u32 , cbentryalignment : u32 , plsnundonext : *mut CLS_LSN , plsnprevious : *mut CLS_LSN , creserverecords : u32 , rgcbreservation : *mut i64 , fflags : CLFS_FLAG , plsn : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ReserveAndAppendLogAligned ( pvmarshal : *mut ::core::ffi::c_void , rgwriteentries : *mut CLS_WRITE_ENTRY , cwriteentries : u32 , cbentryalignment : u32 , plsnundonext : *mut CLS_LSN , plsnprevious : *mut CLS_LSN , creserverecords : u32 , rgcbreservation : *mut i64 , fflags : CLFS_FLAG , plsn : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ReserveAndAppendLogAligned(pvmarshal, rgwriteentries, cwriteentries, cbentryalignment, plsnundonext, plsnprevious, creserverecords, rgcbreservation, fflags, plsn, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3118,7 +3118,7 @@ pub unsafe fn RollbackComplete(enlistmenthandle: P0, tmvirtualclock: *mut i6 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RollbackComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RollbackComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); RollbackComplete(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3128,7 +3128,7 @@ pub unsafe fn RollbackEnlistment(enlistmenthandle: P0, tmvirtualclock: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RollbackEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RollbackEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); RollbackEnlistment(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3138,7 +3138,7 @@ pub unsafe fn RollbackTransaction(transactionhandle: P0) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RollbackTransaction ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RollbackTransaction ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); RollbackTransaction(transactionhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3148,7 +3148,7 @@ pub unsafe fn RollbackTransactionAsync(transactionhandle: P0) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RollbackTransactionAsync ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RollbackTransactionAsync ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); RollbackTransactionAsync(transactionhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3158,14 +3158,14 @@ pub unsafe fn RollforwardTransactionManager(transactionmanagerhandle: P0, tm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn RollforwardTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn RollforwardTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); RollforwardTransactionManager(transactionmanagerhandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ScanLogContainers(pcxscan: *mut CLS_SCAN_CONTEXT, escanmode: u8, preserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn ScanLogContainers ( pcxscan : *mut CLS_SCAN_CONTEXT , escanmode : u8 , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ScanLogContainers ( pcxscan : *mut CLS_SCAN_CONTEXT , escanmode : u8 , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ScanLogContainers(pcxscan, escanmode, preserved) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3176,7 +3176,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SearchPathA ( lppath : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR , lpextension : :: windows::core::PCSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PSTR , lpfilepart : *mut :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SearchPathA ( lppath : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR , lpextension : :: windows::core::PCSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PSTR , lpfilepart : *mut :: windows::core::PSTR ) -> u32 ); SearchPathA(lppath.into().abi(), lpfilename.into().abi(), lpextension.into().abi(), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(lpfilepart.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3187,7 +3187,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SearchPathW ( lppath : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR , lpextension : :: windows::core::PCWSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR , lpfilepart : *mut :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SearchPathW ( lppath : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR , lpextension : :: windows::core::PCWSTR , nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR , lpfilepart : *mut :: windows::core::PWSTR ) -> u32 ); SearchPathW(lppath.into().abi(), lpfilename.into().abi(), lpextension.into().abi(), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(lpfilepart.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] @@ -3197,7 +3197,7 @@ pub unsafe fn SetEncryptedFileMetadata(lpfilename: P0, pboldmetadata: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetEncryptedFileMetadata ( lpfilename : :: windows::core::PCWSTR , pboldmetadata : *const u8 , pbnewmetadata : *const u8 , pownerhash : *const ENCRYPTION_CERTIFICATE_HASH , dwoperation : u32 , pcertificatesadded : *const ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetEncryptedFileMetadata ( lpfilename : :: windows::core::PCWSTR , pboldmetadata : *const u8 , pbnewmetadata : *const u8 , pownerhash : *const ENCRYPTION_CERTIFICATE_HASH , dwoperation : u32 , pcertificatesadded : *const ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ); SetEncryptedFileMetadata(lpfilename.into().abi(), ::core::mem::transmute(pboldmetadata.unwrap_or(::std::ptr::null())), pbnewmetadata, pownerhash, dwoperation, ::core::mem::transmute(pcertificatesadded.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3207,7 +3207,7 @@ pub unsafe fn SetEndOfFile(hfile: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetEndOfFile ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetEndOfFile ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetEndOfFile(hfile.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -3217,7 +3217,7 @@ pub unsafe fn SetEndOfLog(hlog: P0, plsnend: *mut CLS_LSN, lpoverlapped: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn SetEndOfLog ( hlog : super::super::Foundation:: HANDLE , plsnend : *mut CLS_LSN , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn SetEndOfLog ( hlog : super::super::Foundation:: HANDLE , plsnend : *mut CLS_LSN , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); SetEndOfLog(hlog.into(), plsnend, lpoverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3227,19 +3227,19 @@ pub unsafe fn SetEnlistmentRecoveryInformation(enlistmenthandle: P0, buffers where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn SetEnlistmentRecoveryInformation ( enlistmenthandle : super::super::Foundation:: HANDLE , buffersize : u32 , buffer : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn SetEnlistmentRecoveryInformation ( enlistmenthandle : super::super::Foundation:: HANDLE , buffersize : u32 , buffer : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetEnlistmentRecoveryInformation(enlistmenthandle.into(), buffersize, buffer) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn SetFileApisToANSI() { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileApisToANSI ( ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileApisToANSI ( ) -> ( ) ); SetFileApisToANSI() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn SetFileApisToOEM() { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileApisToOEM ( ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileApisToOEM ( ) -> ( ) ); SetFileApisToOEM() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3249,7 +3249,7 @@ pub unsafe fn SetFileAttributesA(lpfilename: P0, dwfileattributes: FILE_FLAG where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileAttributesA ( lpfilename : :: windows::core::PCSTR , dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileAttributesA ( lpfilename : :: windows::core::PCSTR , dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); SetFileAttributesA(lpfilename.into().abi(), dwfileattributes) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3259,7 +3259,7 @@ pub unsafe fn SetFileAttributesFromAppW(lpfilename: P0, dwfileattributes: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn SetFileAttributesFromAppW ( lpfilename : :: windows::core::PCWSTR , dwfileattributes : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-file-fromapp-l1-1-0.dll""system" fn SetFileAttributesFromAppW ( lpfilename : :: windows::core::PCWSTR , dwfileattributes : u32 ) -> super::super::Foundation:: BOOL ); SetFileAttributesFromAppW(lpfilename.into().abi(), dwfileattributes) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3270,7 +3270,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileAttributesTransactedA ( lpfilename : :: windows::core::PCSTR , dwfileattributes : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileAttributesTransactedA ( lpfilename : :: windows::core::PCSTR , dwfileattributes : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetFileAttributesTransactedA(lpfilename.into().abi(), dwfileattributes, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3281,7 +3281,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileAttributesTransactedW ( lpfilename : :: windows::core::PCWSTR , dwfileattributes : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileAttributesTransactedW ( lpfilename : :: windows::core::PCWSTR , dwfileattributes : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetFileAttributesTransactedW(lpfilename.into().abi(), dwfileattributes, htransaction.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3291,7 +3291,7 @@ pub unsafe fn SetFileAttributesW(lpfilename: P0, dwfileattributes: FILE_FLAG where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileAttributesW ( lpfilename : :: windows::core::PCWSTR , dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileAttributesW ( lpfilename : :: windows::core::PCWSTR , dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); SetFileAttributesW(lpfilename.into().abi(), dwfileattributes) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3302,7 +3302,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileBandwidthReservation ( hfile : super::super::Foundation:: HANDLE , nperiodmilliseconds : u32 , nbytesperperiod : u32 , bdiscardable : super::super::Foundation:: BOOL , lptransfersize : *mut u32 , lpnumoutstandingrequests : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileBandwidthReservation ( hfile : super::super::Foundation:: HANDLE , nperiodmilliseconds : u32 , nbytesperperiod : u32 , bdiscardable : super::super::Foundation:: BOOL , lptransfersize : *mut u32 , lpnumoutstandingrequests : *mut u32 ) -> super::super::Foundation:: BOOL ); SetFileBandwidthReservation(hfile.into(), nperiodmilliseconds, nbytesperperiod, bdiscardable.into(), lptransfersize, lpnumoutstandingrequests) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3312,7 +3312,7 @@ pub unsafe fn SetFileCompletionNotificationModes(filehandle: P0, flags: u8) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileCompletionNotificationModes ( filehandle : super::super::Foundation:: HANDLE , flags : u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileCompletionNotificationModes ( filehandle : super::super::Foundation:: HANDLE , flags : u8 ) -> super::super::Foundation:: BOOL ); SetFileCompletionNotificationModes(filehandle.into(), flags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3322,7 +3322,7 @@ pub unsafe fn SetFileInformationByHandle(hfile: P0, fileinformationclass: FI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileInformationByHandle ( hfile : super::super::Foundation:: HANDLE , fileinformationclass : FILE_INFO_BY_HANDLE_CLASS , lpfileinformation : *const ::core::ffi::c_void , dwbuffersize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileInformationByHandle ( hfile : super::super::Foundation:: HANDLE , fileinformationclass : FILE_INFO_BY_HANDLE_CLASS , lpfileinformation : *const ::core::ffi::c_void , dwbuffersize : u32 ) -> super::super::Foundation:: BOOL ); SetFileInformationByHandle(hfile.into(), fileinformationclass, lpfileinformation, dwbuffersize) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3332,7 +3332,7 @@ pub unsafe fn SetFileIoOverlappedRange(filehandle: P0, overlappedrangestart: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileIoOverlappedRange ( filehandle : super::super::Foundation:: HANDLE , overlappedrangestart : *const u8 , length : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileIoOverlappedRange ( filehandle : super::super::Foundation:: HANDLE , overlappedrangestart : *const u8 , length : u32 ) -> super::super::Foundation:: BOOL ); SetFileIoOverlappedRange(filehandle.into(), overlappedrangestart, length) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3342,7 +3342,7 @@ pub unsafe fn SetFilePointer(hfile: P0, ldistancetomove: i32, lpdistancetomo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFilePointer ( hfile : super::super::Foundation:: HANDLE , ldistancetomove : i32 , lpdistancetomovehigh : *mut i32 , dwmovemethod : SET_FILE_POINTER_MOVE_METHOD ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFilePointer ( hfile : super::super::Foundation:: HANDLE , ldistancetomove : i32 , lpdistancetomovehigh : *mut i32 , dwmovemethod : SET_FILE_POINTER_MOVE_METHOD ) -> u32 ); SetFilePointer(hfile.into(), ldistancetomove, ::core::mem::transmute(lpdistancetomovehigh.unwrap_or(::std::ptr::null_mut())), dwmovemethod) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3352,7 +3352,7 @@ pub unsafe fn SetFilePointerEx(hfile: P0, lidistancetomove: i64, lpnewfilepo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFilePointerEx ( hfile : super::super::Foundation:: HANDLE , lidistancetomove : i64 , lpnewfilepointer : *mut i64 , dwmovemethod : SET_FILE_POINTER_MOVE_METHOD ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFilePointerEx ( hfile : super::super::Foundation:: HANDLE , lidistancetomove : i64 , lpnewfilepointer : *mut i64 , dwmovemethod : SET_FILE_POINTER_MOVE_METHOD ) -> super::super::Foundation:: BOOL ); SetFilePointerEx(hfile.into(), lidistancetomove, ::core::mem::transmute(lpnewfilepointer.unwrap_or(::std::ptr::null_mut())), dwmovemethod) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3363,7 +3363,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileShortNameA ( hfile : super::super::Foundation:: HANDLE , lpshortname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileShortNameA ( hfile : super::super::Foundation:: HANDLE , lpshortname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetFileShortNameA(hfile.into(), lpshortname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3374,7 +3374,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileShortNameW ( hfile : super::super::Foundation:: HANDLE , lpshortname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileShortNameW ( hfile : super::super::Foundation:: HANDLE , lpshortname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetFileShortNameW(hfile.into(), lpshortname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3384,7 +3384,7 @@ pub unsafe fn SetFileTime(hfile: P0, lpcreationtime: ::core::option::Option< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileTime ( hfile : super::super::Foundation:: HANDLE , lpcreationtime : *const super::super::Foundation:: FILETIME , lplastaccesstime : *const super::super::Foundation:: FILETIME , lplastwritetime : *const super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileTime ( hfile : super::super::Foundation:: HANDLE , lpcreationtime : *const super::super::Foundation:: FILETIME , lplastaccesstime : *const super::super::Foundation:: FILETIME , lplastwritetime : *const super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); SetFileTime(hfile.into(), ::core::mem::transmute(lpcreationtime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lplastaccesstime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lplastwritetime.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3394,7 +3394,7 @@ pub unsafe fn SetFileValidData(hfile: P0, validdatalength: i64) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFileValidData ( hfile : super::super::Foundation:: HANDLE , validdatalength : i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFileValidData ( hfile : super::super::Foundation:: HANDLE , validdatalength : i64 ) -> super::super::Foundation:: BOOL ); SetFileValidData(hfile.into(), validdatalength) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3404,7 +3404,7 @@ pub unsafe fn SetIoRingCompletionEvent(ioring: *const HIORING__, hevent: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn SetIoRingCompletionEvent ( ioring : *const HIORING__ , hevent : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn SetIoRingCompletionEvent ( ioring : *const HIORING__ , hevent : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); SetIoRingCompletionEvent(ioring, hevent.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3414,7 +3414,7 @@ pub unsafe fn SetLogArchiveMode(hlog: P0, emode: CLFS_LOG_ARCHIVE_MODE) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn SetLogArchiveMode ( hlog : super::super::Foundation:: HANDLE , emode : CLFS_LOG_ARCHIVE_MODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn SetLogArchiveMode ( hlog : super::super::Foundation:: HANDLE , emode : CLFS_LOG_ARCHIVE_MODE ) -> super::super::Foundation:: BOOL ); SetLogArchiveMode(hlog.into(), emode) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3424,7 +3424,7 @@ pub unsafe fn SetLogArchiveTail(hlog: P0, plsnarchivetail: *mut CLS_LSN, pre where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn SetLogArchiveTail ( hlog : super::super::Foundation:: HANDLE , plsnarchivetail : *mut CLS_LSN , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn SetLogArchiveTail ( hlog : super::super::Foundation:: HANDLE , plsnarchivetail : *mut CLS_LSN , preserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetLogArchiveTail(hlog.into(), plsnarchivetail, preserved) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3434,7 +3434,7 @@ pub unsafe fn SetLogFileSizeWithPolicy(hlog: P0, pdesiredsize: *const u64, p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "clfsw32.dll""system" fn SetLogFileSizeWithPolicy ( hlog : super::super::Foundation:: HANDLE , pdesiredsize : *const u64 , presultingsize : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn SetLogFileSizeWithPolicy ( hlog : super::super::Foundation:: HANDLE , pdesiredsize : *const u64 , presultingsize : *mut u64 ) -> super::super::Foundation:: BOOL ); SetLogFileSizeWithPolicy(hlog.into(), pdesiredsize, presultingsize) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3445,14 +3445,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn SetResourceManagerCompletionPort ( resourcemanagerhandle : super::super::Foundation:: HANDLE , iocompletionporthandle : super::super::Foundation:: HANDLE , completionkey : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn SetResourceManagerCompletionPort ( resourcemanagerhandle : super::super::Foundation:: HANDLE , iocompletionporthandle : super::super::Foundation:: HANDLE , completionkey : usize ) -> super::super::Foundation:: BOOL ); SetResourceManagerCompletionPort(resourcemanagerhandle.into(), iocompletionporthandle.into(), completionkey) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetSearchPathMode(flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetSearchPathMode ( flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetSearchPathMode ( flags : u32 ) -> super::super::Foundation:: BOOL ); SetSearchPathMode(flags) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3462,7 +3462,7 @@ pub unsafe fn SetTapeParameters(hdevice: P0, dwoperation: TAPE_INFORMATION_T where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetTapeParameters ( hdevice : super::super::Foundation:: HANDLE , dwoperation : TAPE_INFORMATION_TYPE , lptapeinformation : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetTapeParameters ( hdevice : super::super::Foundation:: HANDLE , dwoperation : TAPE_INFORMATION_TYPE , lptapeinformation : *const ::core::ffi::c_void ) -> u32 ); SetTapeParameters(hdevice.into(), dwoperation, lptapeinformation) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3473,7 +3473,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetTapePosition ( hdevice : super::super::Foundation:: HANDLE , dwpositionmethod : TAPE_POSITION_METHOD , dwpartition : u32 , dwoffsetlow : u32 , dwoffsethigh : u32 , bimmediate : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetTapePosition ( hdevice : super::super::Foundation:: HANDLE , dwpositionmethod : TAPE_POSITION_METHOD , dwpartition : u32 , dwoffsetlow : u32 , dwoffsethigh : u32 , bimmediate : super::super::Foundation:: BOOL ) -> u32 ); SetTapePosition(hdevice.into(), dwpositionmethod, dwpartition, dwoffsetlow, dwoffsethigh, bimmediate.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3484,21 +3484,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ktmw32.dll""system" fn SetTransactionInformation ( transactionhandle : super::super::Foundation:: HANDLE , isolationlevel : u32 , isolationflags : u32 , timeout : u32 , description : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn SetTransactionInformation ( transactionhandle : super::super::Foundation:: HANDLE , isolationlevel : u32 , isolationflags : u32 , timeout : u32 , description : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetTransactionInformation(transactionhandle.into(), isolationlevel, isolationflags, timeout, description.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] #[inline] pub unsafe fn SetUserFileEncryptionKey(pencryptioncertificate: ::core::option::Option<*const ENCRYPTION_CERTIFICATE>) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn SetUserFileEncryptionKey ( pencryptioncertificate : *const ENCRYPTION_CERTIFICATE ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetUserFileEncryptionKey ( pencryptioncertificate : *const ENCRYPTION_CERTIFICATE ) -> u32 ); SetUserFileEncryptionKey(::core::mem::transmute(pencryptioncertificate.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] #[inline] pub unsafe fn SetUserFileEncryptionKeyEx(pencryptioncertificate: ::core::option::Option<*const ENCRYPTION_CERTIFICATE>, dwcapabilities: u32, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn SetUserFileEncryptionKeyEx ( pencryptioncertificate : *const ENCRYPTION_CERTIFICATE , dwcapabilities : u32 , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetUserFileEncryptionKeyEx ( pencryptioncertificate : *const ENCRYPTION_CERTIFICATE , dwcapabilities : u32 , dwflags : u32 , pvreserved : *const ::core::ffi::c_void ) -> u32 ); SetUserFileEncryptionKeyEx(::core::mem::transmute(pencryptioncertificate.unwrap_or(::std::ptr::null())), dwcapabilities, dwflags, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3509,7 +3509,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetVolumeLabelA ( lprootpathname : :: windows::core::PCSTR , lpvolumename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetVolumeLabelA ( lprootpathname : :: windows::core::PCSTR , lpvolumename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetVolumeLabelA(lprootpathname.into().abi(), lpvolumename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3520,7 +3520,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetVolumeLabelW ( lprootpathname : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetVolumeLabelW ( lprootpathname : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetVolumeLabelW(lprootpathname.into().abi(), lpvolumename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3531,7 +3531,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetVolumeMountPointA ( lpszvolumemountpoint : :: windows::core::PCSTR , lpszvolumename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetVolumeMountPointA ( lpszvolumemountpoint : :: windows::core::PCSTR , lpszvolumename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetVolumeMountPointA(lpszvolumemountpoint.into().abi(), lpszvolumename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3542,7 +3542,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetVolumeMountPointW ( lpszvolumemountpoint : :: windows::core::PCWSTR , lpszvolumename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetVolumeMountPointW ( lpszvolumemountpoint : :: windows::core::PCWSTR , lpszvolumename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetVolumeMountPointW(lpszvolumemountpoint.into().abi(), lpszvolumename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3552,40 +3552,40 @@ pub unsafe fn SinglePhaseReject(enlistmenthandle: P0, tmvirtualclock: *mut i where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ktmw32.dll""system" fn SinglePhaseReject ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ktmw32.dll""system" fn SinglePhaseReject ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); SinglePhaseReject(enlistmenthandle.into(), tmvirtualclock) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn SubmitIoRing(ioring: *const HIORING__, waitoperations: u32, milliseconds: u32, submittedentries: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn SubmitIoRing ( ioring : *const HIORING__ , waitoperations : u32 , milliseconds : u32 , submittedentries : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-ioring-l1-1-0.dll""system" fn SubmitIoRing ( ioring : *const HIORING__ , waitoperations : u32 , milliseconds : u32 , submittedentries : *mut u32 ) -> :: windows::core::HRESULT ); SubmitIoRing(ioring, waitoperations, milliseconds, ::core::mem::transmute(submittedentries.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TerminateLogArchive(pvarchivecontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn TerminateLogArchive ( pvarchivecontext : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn TerminateLogArchive ( pvarchivecontext : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); TerminateLogArchive(pvarchivecontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TerminateReadLog(pvcursorcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn TerminateReadLog ( pvcursorcontext : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn TerminateReadLog ( pvcursorcontext : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); TerminateReadLog(pvcursorcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn TruncateLog(pvmarshal: *const ::core::ffi::c_void, plsnend: *const CLS_LSN, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn TruncateLog ( pvmarshal : *const ::core::ffi::c_void , plsnend : *const CLS_LSN , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn TruncateLog ( pvmarshal : *const ::core::ffi::c_void , plsnend : *const CLS_LSN , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); TruncateLog(pvmarshal, plsnend, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn TxfGetThreadMiniVersionForCreate() -> u16 { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfGetThreadMiniVersionForCreate ( miniversion : *mut u16 ) -> ( ) ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfGetThreadMiniVersionForCreate ( miniversion : *mut u16 ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); TxfGetThreadMiniVersionForCreate(&mut result__); ::std::mem::transmute(result__) @@ -3597,7 +3597,7 @@ pub unsafe fn TxfLogCreateFileReadContext(logpath: P0, beginninglsn: CLS_LSN where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfLogCreateFileReadContext ( logpath : :: windows::core::PCWSTR , beginninglsn : CLS_LSN , endinglsn : CLS_LSN , txffileid : *const TXF_ID , txflogcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfLogCreateFileReadContext ( logpath : :: windows::core::PCWSTR , beginninglsn : CLS_LSN , endinglsn : CLS_LSN , txffileid : *const TXF_ID , txflogcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); TxfLogCreateFileReadContext(logpath.into().abi(), ::core::mem::transmute(beginninglsn), ::core::mem::transmute(endinglsn), txffileid, txflogcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3607,35 +3607,35 @@ pub unsafe fn TxfLogCreateRangeReadContext(logpath: P0, beginninglsn: CLS_LS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfLogCreateRangeReadContext ( logpath : :: windows::core::PCWSTR , beginninglsn : CLS_LSN , endinglsn : CLS_LSN , beginningvirtualclock : *const i64 , endingvirtualclock : *const i64 , recordtypemask : u32 , txflogcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfLogCreateRangeReadContext ( logpath : :: windows::core::PCWSTR , beginninglsn : CLS_LSN , endinglsn : CLS_LSN , beginningvirtualclock : *const i64 , endingvirtualclock : *const i64 , recordtypemask : u32 , txflogcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); TxfLogCreateRangeReadContext(logpath.into().abi(), ::core::mem::transmute(beginninglsn), ::core::mem::transmute(endinglsn), beginningvirtualclock, endingvirtualclock, recordtypemask, txflogcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TxfLogDestroyReadContext(txflogcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfLogDestroyReadContext ( txflogcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfLogDestroyReadContext ( txflogcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); TxfLogDestroyReadContext(txflogcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TxfLogReadRecords(txflogcontext: *const ::core::ffi::c_void, bufferlength: u32, buffer: *mut ::core::ffi::c_void, bytesused: *mut u32, recordcount: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfLogReadRecords ( txflogcontext : *const ::core::ffi::c_void , bufferlength : u32 , buffer : *mut ::core::ffi::c_void , bytesused : *mut u32 , recordcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfLogReadRecords ( txflogcontext : *const ::core::ffi::c_void , bufferlength : u32 , buffer : *mut ::core::ffi::c_void , bytesused : *mut u32 , recordcount : *mut u32 ) -> super::super::Foundation:: BOOL ); TxfLogReadRecords(txflogcontext, bufferlength, buffer, bytesused, recordcount) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TxfLogRecordGetFileName(recordbuffer: *const ::core::ffi::c_void, recordbufferlengthinbytes: u32, namebuffer: ::windows::core::PWSTR, namebufferlengthinbytes: *mut u32, txfid: ::core::option::Option<*mut TXF_ID>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfLogRecordGetFileName ( recordbuffer : *const ::core::ffi::c_void , recordbufferlengthinbytes : u32 , namebuffer : :: windows::core::PWSTR , namebufferlengthinbytes : *mut u32 , txfid : *mut TXF_ID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfLogRecordGetFileName ( recordbuffer : *const ::core::ffi::c_void , recordbufferlengthinbytes : u32 , namebuffer : :: windows::core::PWSTR , namebufferlengthinbytes : *mut u32 , txfid : *mut TXF_ID ) -> super::super::Foundation:: BOOL ); TxfLogRecordGetFileName(recordbuffer, recordbufferlengthinbytes, ::core::mem::transmute(namebuffer), namebufferlengthinbytes, ::core::mem::transmute(txfid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TxfLogRecordGetGenericType(recordbuffer: *const ::core::ffi::c_void, recordbufferlengthinbytes: u32, generictype: *mut u32, virtualclock: ::core::option::Option<*mut i64>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfLogRecordGetGenericType ( recordbuffer : *const ::core::ffi::c_void , recordbufferlengthinbytes : u32 , generictype : *mut u32 , virtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfLogRecordGetGenericType ( recordbuffer : *const ::core::ffi::c_void , recordbufferlengthinbytes : u32 , generictype : *mut u32 , virtualclock : *mut i64 ) -> super::super::Foundation:: BOOL ); TxfLogRecordGetGenericType(recordbuffer, recordbufferlengthinbytes, generictype, ::core::mem::transmute(virtualclock.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3645,13 +3645,13 @@ pub unsafe fn TxfReadMetadataInfo(filehandle: P0, txffileid: *mut TXF_ID, la where P0: ::std::convert::Into, { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfReadMetadataInfo ( filehandle : super::super::Foundation:: HANDLE , txffileid : *mut TXF_ID , lastlsn : *mut CLS_LSN , transactionstate : *mut u32 , lockingtransaction : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfReadMetadataInfo ( filehandle : super::super::Foundation:: HANDLE , txffileid : *mut TXF_ID , lastlsn : *mut CLS_LSN , transactionstate : *mut u32 , lockingtransaction : *mut :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); TxfReadMetadataInfo(filehandle.into(), txffileid, lastlsn, transactionstate, lockingtransaction) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn TxfSetThreadMiniVersionForCreate(miniversion: u16) { - ::windows::core::link ! ( "txfw32.dll""system" fn TxfSetThreadMiniVersionForCreate ( miniversion : u16 ) -> ( ) ); + ::windows::imp::link ! ( "txfw32.dll""system" fn TxfSetThreadMiniVersionForCreate ( miniversion : u16 ) -> ( ) ); TxfSetThreadMiniVersionForCreate(miniversion) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3661,7 +3661,7 @@ pub unsafe fn UnlockFile(hfile: P0, dwfileoffsetlow: u32, dwfileoffsethigh: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn UnlockFile ( hfile : super::super::Foundation:: HANDLE , dwfileoffsetlow : u32 , dwfileoffsethigh : u32 , nnumberofbytestounlocklow : u32 , nnumberofbytestounlockhigh : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnlockFile ( hfile : super::super::Foundation:: HANDLE , dwfileoffsetlow : u32 , dwfileoffsethigh : u32 , nnumberofbytestounlocklow : u32 , nnumberofbytestounlockhigh : u32 ) -> super::super::Foundation:: BOOL ); UnlockFile(hfile.into(), dwfileoffsetlow, dwfileoffsethigh, nnumberofbytestounlocklow, nnumberofbytestounlockhigh) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -3671,7 +3671,7 @@ pub unsafe fn UnlockFileEx(hfile: P0, dwreserved: u32, nnumberofbytestounloc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn UnlockFileEx ( hfile : super::super::Foundation:: HANDLE , dwreserved : u32 , nnumberofbytestounlocklow : u32 , nnumberofbytestounlockhigh : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnlockFileEx ( hfile : super::super::Foundation:: HANDLE , dwreserved : u32 , nnumberofbytestounlocklow : u32 , nnumberofbytestounlockhigh : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); UnlockFileEx(hfile.into(), dwreserved, nnumberofbytestounlocklow, nnumberofbytestounlockhigh, lpoverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -3681,7 +3681,7 @@ pub unsafe fn ValidateLog(pszlogfilename: P0, psalogfile: *mut super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "clfsw32.dll""system" fn ValidateLog ( pszlogfilename : :: windows::core::PCWSTR , psalogfile : *mut super::super::Security:: SECURITY_ATTRIBUTES , pinfobuffer : *mut CLS_INFORMATION , pcbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn ValidateLog ( pszlogfilename : :: windows::core::PCWSTR , psalogfile : *mut super::super::Security:: SECURITY_ATTRIBUTES , pinfobuffer : *mut CLS_INFORMATION , pcbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); ValidateLog(pszlogfilename.into().abi(), psalogfile, pinfobuffer, pcbbuffer) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3692,7 +3692,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn VerFindFileA ( uflags : VER_FIND_FILE_FLAGS , szfilename : :: windows::core::PCSTR , szwindir : :: windows::core::PCSTR , szappdir : :: windows::core::PCSTR , szcurdir : :: windows::core::PSTR , pucurdirlen : *mut u32 , szdestdir : :: windows::core::PSTR , pudestdirlen : *mut u32 ) -> VER_FIND_FILE_STATUS ); + ::windows::imp::link ! ( "version.dll""system" fn VerFindFileA ( uflags : VER_FIND_FILE_FLAGS , szfilename : :: windows::core::PCSTR , szwindir : :: windows::core::PCSTR , szappdir : :: windows::core::PCSTR , szcurdir : :: windows::core::PSTR , pucurdirlen : *mut u32 , szdestdir : :: windows::core::PSTR , pudestdirlen : *mut u32 ) -> VER_FIND_FILE_STATUS ); VerFindFileA(uflags, szfilename.into().abi(), szwindir.into().abi(), szappdir.into().abi(), ::core::mem::transmute(szcurdir), pucurdirlen, ::core::mem::transmute(szdestdir), pudestdirlen) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3703,7 +3703,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn VerFindFileW ( uflags : VER_FIND_FILE_FLAGS , szfilename : :: windows::core::PCWSTR , szwindir : :: windows::core::PCWSTR , szappdir : :: windows::core::PCWSTR , szcurdir : :: windows::core::PWSTR , pucurdirlen : *mut u32 , szdestdir : :: windows::core::PWSTR , pudestdirlen : *mut u32 ) -> VER_FIND_FILE_STATUS ); + ::windows::imp::link ! ( "version.dll""system" fn VerFindFileW ( uflags : VER_FIND_FILE_FLAGS , szfilename : :: windows::core::PCWSTR , szwindir : :: windows::core::PCWSTR , szappdir : :: windows::core::PCWSTR , szcurdir : :: windows::core::PWSTR , pucurdirlen : *mut u32 , szdestdir : :: windows::core::PWSTR , pudestdirlen : *mut u32 ) -> VER_FIND_FILE_STATUS ); VerFindFileW(uflags, szfilename.into().abi(), szwindir.into().abi(), szappdir.into().abi(), ::core::mem::transmute(szcurdir), pucurdirlen, ::core::mem::transmute(szdestdir), pudestdirlen) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3716,7 +3716,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn VerInstallFileA ( uflags : VER_INSTALL_FILE_FLAGS , szsrcfilename : :: windows::core::PCSTR , szdestfilename : :: windows::core::PCSTR , szsrcdir : :: windows::core::PCSTR , szdestdir : :: windows::core::PCSTR , szcurdir : :: windows::core::PCSTR , sztmpfile : :: windows::core::PSTR , putmpfilelen : *mut u32 ) -> VER_INSTALL_FILE_STATUS ); + ::windows::imp::link ! ( "version.dll""system" fn VerInstallFileA ( uflags : VER_INSTALL_FILE_FLAGS , szsrcfilename : :: windows::core::PCSTR , szdestfilename : :: windows::core::PCSTR , szsrcdir : :: windows::core::PCSTR , szdestdir : :: windows::core::PCSTR , szcurdir : :: windows::core::PCSTR , sztmpfile : :: windows::core::PSTR , putmpfilelen : *mut u32 ) -> VER_INSTALL_FILE_STATUS ); VerInstallFileA(uflags, szsrcfilename.into().abi(), szdestfilename.into().abi(), szsrcdir.into().abi(), szdestdir.into().abi(), szcurdir.into().abi(), ::core::mem::transmute(sztmpfile), putmpfilelen) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3729,19 +3729,19 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn VerInstallFileW ( uflags : VER_INSTALL_FILE_FLAGS , szsrcfilename : :: windows::core::PCWSTR , szdestfilename : :: windows::core::PCWSTR , szsrcdir : :: windows::core::PCWSTR , szdestdir : :: windows::core::PCWSTR , szcurdir : :: windows::core::PCWSTR , sztmpfile : :: windows::core::PWSTR , putmpfilelen : *mut u32 ) -> VER_INSTALL_FILE_STATUS ); + ::windows::imp::link ! ( "version.dll""system" fn VerInstallFileW ( uflags : VER_INSTALL_FILE_FLAGS , szsrcfilename : :: windows::core::PCWSTR , szdestfilename : :: windows::core::PCWSTR , szsrcdir : :: windows::core::PCWSTR , szdestdir : :: windows::core::PCWSTR , szcurdir : :: windows::core::PCWSTR , sztmpfile : :: windows::core::PWSTR , putmpfilelen : *mut u32 ) -> VER_INSTALL_FILE_STATUS ); VerInstallFileW(uflags, szsrcfilename.into().abi(), szdestfilename.into().abi(), szsrcdir.into().abi(), szdestdir.into().abi(), szcurdir.into().abi(), ::core::mem::transmute(sztmpfile), putmpfilelen) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn VerLanguageNameA(wlang: u32, szlang: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn VerLanguageNameA ( wlang : u32 , szlang : :: windows::core::PSTR , cchlang : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VerLanguageNameA ( wlang : u32 , szlang : :: windows::core::PSTR , cchlang : u32 ) -> u32 ); VerLanguageNameA(wlang, ::core::mem::transmute(szlang.as_ptr()), szlang.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn VerLanguageNameW(wlang: u32, szlang: &mut [u16]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn VerLanguageNameW ( wlang : u32 , szlang : :: windows::core::PWSTR , cchlang : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VerLanguageNameW ( wlang : u32 , szlang : :: windows::core::PWSTR , cchlang : u32 ) -> u32 ); VerLanguageNameW(wlang, ::core::mem::transmute(szlang.as_ptr()), szlang.len() as _) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3751,7 +3751,7 @@ pub unsafe fn VerQueryValueA(pblock: *const ::core::ffi::c_void, lpsubblock: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn VerQueryValueA ( pblock : *const ::core::ffi::c_void , lpsubblock : :: windows::core::PCSTR , lplpbuffer : *mut *mut ::core::ffi::c_void , pulen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "version.dll""system" fn VerQueryValueA ( pblock : *const ::core::ffi::c_void , lpsubblock : :: windows::core::PCSTR , lplpbuffer : *mut *mut ::core::ffi::c_void , pulen : *mut u32 ) -> super::super::Foundation:: BOOL ); VerQueryValueA(pblock, lpsubblock.into().abi(), lplpbuffer, pulen) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3761,7 +3761,7 @@ pub unsafe fn VerQueryValueW(pblock: *const ::core::ffi::c_void, lpsubblock: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "version.dll""system" fn VerQueryValueW ( pblock : *const ::core::ffi::c_void , lpsubblock : :: windows::core::PCWSTR , lplpbuffer : *mut *mut ::core::ffi::c_void , pulen : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "version.dll""system" fn VerQueryValueW ( pblock : *const ::core::ffi::c_void , lpsubblock : :: windows::core::PCWSTR , lplpbuffer : *mut *mut ::core::ffi::c_void , pulen : *mut u32 ) -> super::super::Foundation:: BOOL ); VerQueryValueW(pblock, lpsubblock.into().abi(), lplpbuffer, pulen) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3771,7 +3771,7 @@ pub unsafe fn WofEnumEntries(volumename: P0, provider: u32, enumproc: WofEnu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofEnumEntries ( volumename : :: windows::core::PCWSTR , provider : u32 , enumproc : WofEnumEntryProc , userdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofEnumEntries ( volumename : :: windows::core::PCWSTR , provider : u32 , enumproc : WofEnumEntryProc , userdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WofEnumEntries(volumename.into().abi(), provider, enumproc, ::core::mem::transmute(userdata.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3781,7 +3781,7 @@ pub unsafe fn WofFileEnumFiles(volumename: P0, algorithm: u32, enumproc: Wof where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofFileEnumFiles ( volumename : :: windows::core::PCWSTR , algorithm : u32 , enumproc : WofEnumFilesProc , userdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofFileEnumFiles ( volumename : :: windows::core::PCWSTR , algorithm : u32 , enumproc : WofEnumFilesProc , userdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WofFileEnumFiles(volumename.into().abi(), algorithm, enumproc, ::core::mem::transmute(userdata.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3791,7 +3791,7 @@ pub unsafe fn WofGetDriverVersion(fileorvolumehandle: P0, provider: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofGetDriverVersion ( fileorvolumehandle : super::super::Foundation:: HANDLE , provider : u32 , wofversion : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofGetDriverVersion ( fileorvolumehandle : super::super::Foundation:: HANDLE , provider : u32 , wofversion : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WofGetDriverVersion(fileorvolumehandle.into(), provider, &mut result__).from_abi(result__) } @@ -3802,7 +3802,7 @@ pub unsafe fn WofIsExternalFile(filepath: P0, isexternalfile: ::core::option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofIsExternalFile ( filepath : :: windows::core::PCWSTR , isexternalfile : *mut super::super::Foundation:: BOOL , provider : *mut u32 , externalfileinfo : *mut ::core::ffi::c_void , bufferlength : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofIsExternalFile ( filepath : :: windows::core::PCWSTR , isexternalfile : *mut super::super::Foundation:: BOOL , provider : *mut u32 , externalfileinfo : *mut ::core::ffi::c_void , bufferlength : *mut u32 ) -> :: windows::core::HRESULT ); WofIsExternalFile(filepath.into().abi(), ::core::mem::transmute(isexternalfile.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(provider.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(externalfileinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(bufferlength.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3812,7 +3812,7 @@ pub unsafe fn WofSetFileDataLocation(filehandle: P0, provider: u32, external where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofSetFileDataLocation ( filehandle : super::super::Foundation:: HANDLE , provider : u32 , externalfileinfo : *const ::core::ffi::c_void , length : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofSetFileDataLocation ( filehandle : super::super::Foundation:: HANDLE , provider : u32 , externalfileinfo : *const ::core::ffi::c_void , length : u32 ) -> :: windows::core::HRESULT ); WofSetFileDataLocation(filehandle.into(), provider, externalfileinfo, length).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3822,7 +3822,7 @@ pub unsafe fn WofShouldCompressBinaries(volume: P0, algorithm: *mut u32) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofShouldCompressBinaries ( volume : :: windows::core::PCWSTR , algorithm : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofShouldCompressBinaries ( volume : :: windows::core::PCWSTR , algorithm : *mut u32 ) -> super::super::Foundation:: BOOL ); WofShouldCompressBinaries(volume.into().abi(), algorithm) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3832,7 +3832,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofWimAddEntry ( volumename : :: windows::core::PCWSTR , wimpath : :: windows::core::PCWSTR , wimtype : u32 , wimindex : u32 , datasourceid : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofWimAddEntry ( volumename : :: windows::core::PCWSTR , wimpath : :: windows::core::PCWSTR , wimtype : u32 , wimindex : u32 , datasourceid : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WofWimAddEntry(volumename.into().abi(), wimpath.into().abi(), wimtype, wimindex, &mut result__).from_abi(result__) } @@ -3843,7 +3843,7 @@ pub unsafe fn WofWimEnumFiles(volumename: P0, datasourceid: i64, enumproc: W where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofWimEnumFiles ( volumename : :: windows::core::PCWSTR , datasourceid : i64 , enumproc : WofEnumFilesProc , userdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofWimEnumFiles ( volumename : :: windows::core::PCWSTR , datasourceid : i64 , enumproc : WofEnumFilesProc , userdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WofWimEnumFiles(volumename.into().abi(), datasourceid, enumproc, ::core::mem::transmute(userdata.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3852,7 +3852,7 @@ pub unsafe fn WofWimRemoveEntry(volumename: P0, datasourceid: i64) -> ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofWimRemoveEntry ( volumename : :: windows::core::PCWSTR , datasourceid : i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofWimRemoveEntry ( volumename : :: windows::core::PCWSTR , datasourceid : i64 ) -> :: windows::core::HRESULT ); WofWimRemoveEntry(volumename.into().abi(), datasourceid).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3861,7 +3861,7 @@ pub unsafe fn WofWimSuspendEntry(volumename: P0, datasourceid: i64) -> ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofWimSuspendEntry ( volumename : :: windows::core::PCWSTR , datasourceid : i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofWimSuspendEntry ( volumename : :: windows::core::PCWSTR , datasourceid : i64 ) -> :: windows::core::HRESULT ); WofWimSuspendEntry(volumename.into().abi(), datasourceid).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] @@ -3871,14 +3871,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wofutil.dll""system" fn WofWimUpdateEntry ( volumename : :: windows::core::PCWSTR , datasourceid : i64 , newwimpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wofutil.dll""system" fn WofWimUpdateEntry ( volumename : :: windows::core::PCWSTR , datasourceid : i64 , newwimpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WofWimUpdateEntry(volumename.into().abi(), datasourceid, newwimpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Wow64DisableWow64FsRedirection(oldvalue: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn Wow64DisableWow64FsRedirection ( oldvalue : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Wow64DisableWow64FsRedirection ( oldvalue : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); Wow64DisableWow64FsRedirection(oldvalue) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3888,20 +3888,20 @@ pub unsafe fn Wow64EnableWow64FsRedirection(wow64fsenableredirection: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Wow64EnableWow64FsRedirection ( wow64fsenableredirection : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Wow64EnableWow64FsRedirection ( wow64fsenableredirection : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOLEAN ); Wow64EnableWow64FsRedirection(wow64fsenableredirection.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Wow64RevertWow64FsRedirection(olvalue: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn Wow64RevertWow64FsRedirection ( olvalue : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Wow64RevertWow64FsRedirection ( olvalue : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); Wow64RevertWow64FsRedirection(olvalue) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[inline] pub unsafe fn WriteEncryptedFileRaw(pfimportcallback: PFE_IMPORT_FUNC, pvcallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, pvcontext: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn WriteEncryptedFileRaw ( pfimportcallback : PFE_IMPORT_FUNC , pvcallbackcontext : *const ::core::ffi::c_void , pvcontext : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn WriteEncryptedFileRaw ( pfimportcallback : PFE_IMPORT_FUNC , pvcallbackcontext : *const ::core::ffi::c_void , pvcontext : *const ::core::ffi::c_void ) -> u32 ); WriteEncryptedFileRaw(pfimportcallback, ::core::mem::transmute(pvcallbackcontext.unwrap_or(::std::ptr::null())), pvcontext) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -3911,7 +3911,7 @@ pub unsafe fn WriteFile(hfile: P0, lpbuffer: ::core::option::Option<*const : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteFile ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *const ::core::ffi::c_void , nnumberofbytestowrite : u32 , lpnumberofbyteswritten : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteFile ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *const ::core::ffi::c_void , nnumberofbytestowrite : u32 , lpnumberofbyteswritten : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WriteFile(hfile.into(), ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null())), nnumberofbytestowrite, ::core::mem::transmute(lpnumberofbyteswritten.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -3921,7 +3921,7 @@ pub unsafe fn WriteFileEx(hfile: P0, lpbuffer: ::core::option::Option<*const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteFileEx ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *const ::core::ffi::c_void , nnumberofbytestowrite : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteFileEx ( hfile : super::super::Foundation:: HANDLE , lpbuffer : *const ::core::ffi::c_void , nnumberofbytestowrite : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : super::super::System::IO:: LPOVERLAPPED_COMPLETION_ROUTINE ) -> super::super::Foundation:: BOOL ); WriteFileEx(hfile.into(), ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null())), nnumberofbytestowrite, lpoverlapped, lpcompletionroutine) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -3931,14 +3931,14 @@ pub unsafe fn WriteFileGather(hfile: P0, asegmentarray: *const FILE_SEGMENT_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteFileGather ( hfile : super::super::Foundation:: HANDLE , asegmentarray : *const FILE_SEGMENT_ELEMENT , nnumberofbytestowrite : u32 , lpreserved : *const u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteFileGather ( hfile : super::super::Foundation:: HANDLE , asegmentarray : *const FILE_SEGMENT_ELEMENT , nnumberofbytestowrite : u32 , lpreserved : *const u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WriteFileGather(hfile.into(), asegmentarray, nnumberofbytestowrite, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), lpoverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn WriteLogRestartArea(pvmarshal: *mut ::core::ffi::c_void, pvrestartbuffer: *mut ::core::ffi::c_void, cbrestartbuffer: u32, plsnbase: *mut CLS_LSN, fflags: CLFS_FLAG, pcbwritten: *mut u32, plsnnext: *mut CLS_LSN, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "clfsw32.dll""system" fn WriteLogRestartArea ( pvmarshal : *mut ::core::ffi::c_void , pvrestartbuffer : *mut ::core::ffi::c_void , cbrestartbuffer : u32 , plsnbase : *mut CLS_LSN , fflags : CLFS_FLAG , pcbwritten : *mut u32 , plsnnext : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "clfsw32.dll""system" fn WriteLogRestartArea ( pvmarshal : *mut ::core::ffi::c_void , pvrestartbuffer : *mut ::core::ffi::c_void , cbrestartbuffer : u32 , plsnbase : *mut CLS_LSN , fflags : CLFS_FLAG , pcbwritten : *mut u32 , plsnnext : *mut CLS_LSN , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); WriteLogRestartArea(pvmarshal, pvrestartbuffer, cbrestartbuffer, plsnbase, fflags, pcbwritten, plsnnext, poverlapped) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -3949,7 +3949,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteTapemark ( hdevice : super::super::Foundation:: HANDLE , dwtapemarktype : TAPEMARK_TYPE , dwtapemarkcount : u32 , bimmediate : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteTapemark ( hdevice : super::super::Foundation:: HANDLE , dwtapemarktype : TAPEMARK_TYPE , dwtapemarkcount : u32 , bimmediate : super::super::Foundation:: BOOL ) -> u32 ); WriteTapemark(hdevice.into(), dwtapemarktype, dwtapemarkcount, bimmediate.into()) } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_System_Com\"`*"] @@ -4076,7 +4076,7 @@ impl IDiskQuotaControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiskQuotaControl, ::windows::core::IUnknown, super::super::System::Com::IConnectionPointContainer); +::windows::imp::interface_hierarchy!(IDiskQuotaControl, ::windows::core::IUnknown, super::super::System::Com::IConnectionPointContainer); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiskQuotaControl { fn eq(&self, other: &Self) -> bool { @@ -4155,7 +4155,7 @@ impl IDiskQuotaEvents { (::windows::core::Vtable::vtable(self).OnUserNameChanged)(::windows::core::Vtable::as_raw(self), puser.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDiskQuotaEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDiskQuotaEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDiskQuotaEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4258,7 +4258,7 @@ impl IDiskQuotaUser { (::windows::core::Vtable::vtable(self).GetAccountStatus)(::windows::core::Vtable::as_raw(self), pdwstatus).ok() } } -::windows::core::interface_hierarchy!(IDiskQuotaUser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDiskQuotaUser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDiskQuotaUser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4330,7 +4330,7 @@ impl IDiskQuotaUserBatch { (::windows::core::Vtable::vtable(self).FlushToDisk)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDiskQuotaUserBatch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDiskQuotaUserBatch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDiskQuotaUserBatch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4380,7 +4380,7 @@ impl IEnumDiskQuotaUsers { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDiskQuotaUsers, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDiskQuotaUsers, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDiskQuotaUsers { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs index 1d12efc8a4..40358dc86d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs @@ -1,20 +1,20 @@ #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[inline] pub unsafe fn CloseIMsgSession(lpmsgsess: *mut _MSGSESS) { - ::windows::core::link ! ( "mapi32.dll""system" fn CloseIMsgSession ( lpmsgsess : *mut _MSGSESS ) -> ( ) ); + ::windows::imp::link ! ( "mapi32.dll""system" fn CloseIMsgSession ( lpmsgsess : *mut _MSGSESS ) -> ( ) ); CloseIMsgSession(lpmsgsess) } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_AddressBook\"`*"] #[cfg(feature = "Win32_System_AddressBook")] #[inline] pub unsafe fn GetAttribIMsgOnIStg(lpobject: *mut ::core::ffi::c_void, lpproptagarray: *mut super::super::System::AddressBook::SPropTagArray, lpppropattrarray: *mut *mut SPropAttrArray) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mapi32.dll""system" fn GetAttribIMsgOnIStg ( lpobject : *mut ::core::ffi::c_void , lpproptagarray : *mut super::super::System::AddressBook:: SPropTagArray , lpppropattrarray : *mut *mut SPropAttrArray ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn GetAttribIMsgOnIStg ( lpobject : *mut ::core::ffi::c_void , lpproptagarray : *mut super::super::System::AddressBook:: SPropTagArray , lpppropattrarray : *mut *mut SPropAttrArray ) -> :: windows::core::HRESULT ); GetAttribIMsgOnIStg(lpobject, lpproptagarray, lpppropattrarray).ok() } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[inline] pub unsafe fn MapStorageSCode(stgscode: i32) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn MapStorageSCode ( stgscode : i32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn MapStorageSCode ( stgscode : i32 ) -> i32 ); MapStorageSCode(stgscode) } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -25,7 +25,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn OpenIMsgOnIStg ( lpmsgsess : *mut _MSGSESS , lpallocatebuffer : super::super::System::AddressBook:: LPALLOCATEBUFFER , lpallocatemore : super::super::System::AddressBook:: LPALLOCATEMORE , lpfreebuffer : super::super::System::AddressBook:: LPFREEBUFFER , lpmalloc : * mut::core::ffi::c_void , lpmapisup : *mut ::core::ffi::c_void , lpstg : * mut::core::ffi::c_void , lpfmsgcallrelease : *mut MSGCALLRELEASE , ulcallerdata : u32 , ulflags : u32 , lppmsg : *mut * mut::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn OpenIMsgOnIStg ( lpmsgsess : *mut _MSGSESS , lpallocatebuffer : super::super::System::AddressBook:: LPALLOCATEBUFFER , lpallocatemore : super::super::System::AddressBook:: LPALLOCATEMORE , lpfreebuffer : super::super::System::AddressBook:: LPFREEBUFFER , lpmalloc : * mut::core::ffi::c_void , lpmapisup : *mut ::core::ffi::c_void , lpstg : * mut::core::ffi::c_void , lpfmsgcallrelease : *mut MSGCALLRELEASE , ulcallerdata : u32 , ulflags : u32 , lppmsg : *mut * mut::core::ffi::c_void ) -> i32 ); OpenIMsgOnIStg(lpmsgsess, lpallocatebuffer, lpallocatemore, lpfreebuffer, lpmalloc.into().abi(), lpmapisup, lpstg.into().abi(), lpfmsgcallrelease, ulcallerdata, ulflags, ::core::mem::transmute(lppmsg)) } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] @@ -35,14 +35,14 @@ pub unsafe fn OpenIMsgSession(lpmalloc: P0, ulflags: u32, lppmsgsess: *mut * where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn OpenIMsgSession ( lpmalloc : * mut::core::ffi::c_void , ulflags : u32 , lppmsgsess : *mut *mut _MSGSESS ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn OpenIMsgSession ( lpmalloc : * mut::core::ffi::c_void , ulflags : u32 , lppmsgsess : *mut *mut _MSGSESS ) -> i32 ); OpenIMsgSession(lpmalloc.into().abi(), ulflags, lppmsgsess) } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_AddressBook\"`*"] #[cfg(feature = "Win32_System_AddressBook")] #[inline] pub unsafe fn SetAttribIMsgOnIStg(lpobject: *mut ::core::ffi::c_void, lpproptags: *mut super::super::System::AddressBook::SPropTagArray, lppropattrs: *mut SPropAttrArray, lpppropproblems: *mut *mut super::super::System::AddressBook::SPropProblemArray) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mapi32.dll""system" fn SetAttribIMsgOnIStg ( lpobject : *mut ::core::ffi::c_void , lpproptags : *mut super::super::System::AddressBook:: SPropTagArray , lppropattrs : *mut SPropAttrArray , lpppropproblems : *mut *mut super::super::System::AddressBook:: SPropProblemArray ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn SetAttribIMsgOnIStg ( lpobject : *mut ::core::ffi::c_void , lpproptags : *mut super::super::System::AddressBook:: SPropTagArray , lppropattrs : *mut SPropAttrArray , lpppropproblems : *mut *mut super::super::System::AddressBook:: SPropProblemArray ) -> :: windows::core::HRESULT ); SetAttribIMsgOnIStg(lpobject, lpproptags, lppropattrs, lpppropproblems).ok() } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] @@ -62,7 +62,7 @@ impl DDiscFormat2DataEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DDiscFormat2DataEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DDiscFormat2DataEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DDiscFormat2DataEvents { fn eq(&self, other: &Self) -> bool { @@ -117,7 +117,7 @@ impl DDiscFormat2EraseEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DDiscFormat2EraseEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DDiscFormat2EraseEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DDiscFormat2EraseEvents { fn eq(&self, other: &Self) -> bool { @@ -173,7 +173,7 @@ impl DDiscFormat2RawCDEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DDiscFormat2RawCDEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DDiscFormat2RawCDEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DDiscFormat2RawCDEvents { fn eq(&self, other: &Self) -> bool { @@ -229,7 +229,7 @@ impl DDiscFormat2TrackAtOnceEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DDiscFormat2TrackAtOnceEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DDiscFormat2TrackAtOnceEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DDiscFormat2TrackAtOnceEvents { fn eq(&self, other: &Self) -> bool { @@ -292,7 +292,7 @@ impl DDiscMaster2Events { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DDiscMaster2Events, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DDiscMaster2Events, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DDiscMaster2Events { fn eq(&self, other: &Self) -> bool { @@ -351,7 +351,7 @@ impl DFileSystemImageEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DFileSystemImageEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DFileSystemImageEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DFileSystemImageEvents { fn eq(&self, other: &Self) -> bool { @@ -406,7 +406,7 @@ impl DFileSystemImageImportEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DFileSystemImageImportEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DFileSystemImageImportEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DFileSystemImageImportEvents { fn eq(&self, other: &Self) -> bool { @@ -462,7 +462,7 @@ impl DWriteEngine2Events { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DWriteEngine2Events, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DWriteEngine2Events, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DWriteEngine2Events { fn eq(&self, other: &Self) -> bool { @@ -517,7 +517,7 @@ impl IBlockRange { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBlockRange, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IBlockRange, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBlockRange { fn eq(&self, other: &Self) -> bool { @@ -568,7 +568,7 @@ impl IBlockRangeList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBlockRangeList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IBlockRangeList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBlockRangeList { fn eq(&self, other: &Self) -> bool { @@ -654,7 +654,7 @@ impl IBootOptions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBootOptions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IBootOptions, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBootOptions { fn eq(&self, other: &Self) -> bool { @@ -716,7 +716,7 @@ impl IBurnVerification { (::windows::core::Vtable::vtable(self).BurnVerificationLevel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBurnVerification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBurnVerification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBurnVerification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -790,7 +790,7 @@ impl IDiscFormat2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscFormat2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDiscFormat2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscFormat2 { fn eq(&self, other: &Self) -> bool { @@ -1069,7 +1069,7 @@ impl IDiscFormat2Data { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscFormat2Data, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); +::windows::imp::interface_hierarchy!(IDiscFormat2Data, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscFormat2Data { fn eq(&self, other: &Self) -> bool { @@ -1245,7 +1245,7 @@ impl IDiscFormat2DataEventArgs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscFormat2DataEventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); +::windows::imp::interface_hierarchy!(IDiscFormat2DataEventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscFormat2DataEventArgs { fn eq(&self, other: &Self) -> bool { @@ -1370,7 +1370,7 @@ impl IDiscFormat2Erase { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscFormat2Erase, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); +::windows::imp::interface_hierarchy!(IDiscFormat2Erase, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscFormat2Erase { fn eq(&self, other: &Self) -> bool { @@ -1594,7 +1594,7 @@ impl IDiscFormat2RawCD { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscFormat2RawCD, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); +::windows::imp::interface_hierarchy!(IDiscFormat2RawCD, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscFormat2RawCD { fn eq(&self, other: &Self) -> bool { @@ -1737,7 +1737,7 @@ impl IDiscFormat2RawCDEventArgs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscFormat2RawCDEventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); +::windows::imp::interface_hierarchy!(IDiscFormat2RawCDEventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscFormat2RawCDEventArgs { fn eq(&self, other: &Self) -> bool { @@ -1951,7 +1951,7 @@ impl IDiscFormat2TrackAtOnce { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscFormat2TrackAtOnce, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); +::windows::imp::interface_hierarchy!(IDiscFormat2TrackAtOnce, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscFormat2TrackAtOnce { fn eq(&self, other: &Self) -> bool { @@ -2102,7 +2102,7 @@ impl IDiscFormat2TrackAtOnceEventArgs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscFormat2TrackAtOnceEventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); +::windows::imp::interface_hierarchy!(IDiscFormat2TrackAtOnceEventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscFormat2TrackAtOnceEventArgs { fn eq(&self, other: &Self) -> bool { @@ -2193,7 +2193,7 @@ impl IDiscMaster { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDiscMaster, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDiscMaster, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDiscMaster { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2261,7 +2261,7 @@ impl IDiscMaster2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscMaster2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDiscMaster2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscMaster2 { fn eq(&self, other: &Self) -> bool { @@ -2339,7 +2339,7 @@ impl IDiscMasterProgressEvents { (::windows::core::Vtable::vtable(self).NotifyEraseComplete)(::windows::core::Vtable::as_raw(self), status).ok() } } -::windows::core::interface_hierarchy!(IDiscMasterProgressEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDiscMasterProgressEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDiscMasterProgressEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2438,7 +2438,7 @@ impl IDiscRecorder { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDiscRecorder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDiscRecorder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDiscRecorder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2591,7 +2591,7 @@ impl IDiscRecorder2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDiscRecorder2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDiscRecorder2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDiscRecorder2 { fn eq(&self, other: &Self) -> bool { @@ -2748,7 +2748,7 @@ impl IDiscRecorder2Ex { (::windows::core::Vtable::vtable(self).GetMaximumPageAlignedTransferSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDiscRecorder2Ex, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDiscRecorder2Ex, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDiscRecorder2Ex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2821,7 +2821,7 @@ impl IEnumDiscMasterFormats { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDiscMasterFormats, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDiscMasterFormats, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDiscMasterFormats { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2871,7 +2871,7 @@ impl IEnumDiscRecorders { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDiscRecorders, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDiscRecorders, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDiscRecorders { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2923,7 +2923,7 @@ impl IEnumFsiItems { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumFsiItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumFsiItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumFsiItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2978,7 +2978,7 @@ impl IEnumProgressItems { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumProgressItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumProgressItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumProgressItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3262,7 +3262,7 @@ impl IFileSystemImage { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFileSystemImage, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFileSystemImage, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFileSystemImage { fn eq(&self, other: &Self) -> bool { @@ -3664,7 +3664,7 @@ impl IFileSystemImage2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFileSystemImage2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage); +::windows::imp::interface_hierarchy!(IFileSystemImage2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFileSystemImage2 { fn eq(&self, other: &Self) -> bool { @@ -3987,7 +3987,7 @@ impl IFileSystemImage3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFileSystemImage3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage, IFileSystemImage2); +::windows::imp::interface_hierarchy!(IFileSystemImage3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage, IFileSystemImage2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFileSystemImage3 { fn eq(&self, other: &Self) -> bool { @@ -4066,7 +4066,7 @@ impl IFileSystemImageResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFileSystemImageResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFileSystemImageResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFileSystemImageResult { fn eq(&self, other: &Self) -> bool { @@ -4150,7 +4150,7 @@ impl IFileSystemImageResult2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFileSystemImageResult2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImageResult); +::windows::imp::interface_hierarchy!(IFileSystemImageResult2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImageResult); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFileSystemImageResult2 { fn eq(&self, other: &Self) -> bool { @@ -4301,7 +4301,7 @@ impl IFsiDirectoryItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsiDirectoryItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsiItem); +::windows::imp::interface_hierarchy!(IFsiDirectoryItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsiItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsiDirectoryItem { fn eq(&self, other: &Self) -> bool { @@ -4481,7 +4481,7 @@ impl IFsiDirectoryItem2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsiDirectoryItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsiItem, IFsiDirectoryItem); +::windows::imp::interface_hierarchy!(IFsiDirectoryItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsiItem, IFsiDirectoryItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsiDirectoryItem2 { fn eq(&self, other: &Self) -> bool { @@ -4605,7 +4605,7 @@ impl IFsiFileItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsiFileItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsiItem); +::windows::imp::interface_hierarchy!(IFsiFileItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsiItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsiFileItem { fn eq(&self, other: &Self) -> bool { @@ -4773,7 +4773,7 @@ impl IFsiFileItem2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsiFileItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsiItem, IFsiFileItem); +::windows::imp::interface_hierarchy!(IFsiFileItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IFsiItem, IFsiFileItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsiFileItem2 { fn eq(&self, other: &Self) -> bool { @@ -4888,7 +4888,7 @@ impl IFsiItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsiItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsiItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsiItem { fn eq(&self, other: &Self) -> bool { @@ -4969,7 +4969,7 @@ impl IFsiNamedStreams { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFsiNamedStreams, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFsiNamedStreams, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFsiNamedStreams { fn eq(&self, other: &Self) -> bool { @@ -5046,7 +5046,7 @@ impl IIsoImageManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IIsoImageManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IIsoImageManager, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IIsoImageManager { fn eq(&self, other: &Self) -> bool { @@ -5131,7 +5131,7 @@ impl IJolietDiscMaster { (::windows::core::Vtable::vtable(self).SetJolietProperties)(::windows::core::Vtable::as_raw(self), ppropstg.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IJolietDiscMaster, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJolietDiscMaster, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJolietDiscMaster { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5208,7 +5208,7 @@ impl IMultisession { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMultisession, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMultisession, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMultisession { fn eq(&self, other: &Self) -> bool { @@ -5305,7 +5305,7 @@ impl IMultisessionRandomWrite { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMultisessionRandomWrite, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMultisession); +::windows::imp::interface_hierarchy!(IMultisessionRandomWrite, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMultisession); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMultisessionRandomWrite { fn eq(&self, other: &Self) -> bool { @@ -5399,7 +5399,7 @@ impl IMultisessionSequential { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMultisessionSequential, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMultisession); +::windows::imp::interface_hierarchy!(IMultisessionSequential, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMultisession); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMultisessionSequential { fn eq(&self, other: &Self) -> bool { @@ -5502,7 +5502,7 @@ impl IMultisessionSequential2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMultisessionSequential2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMultisession, IMultisessionSequential); +::windows::imp::interface_hierarchy!(IMultisessionSequential2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IMultisession, IMultisessionSequential); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMultisessionSequential2 { fn eq(&self, other: &Self) -> bool { @@ -5562,7 +5562,7 @@ impl IProgressItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IProgressItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IProgressItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IProgressItem { fn eq(&self, other: &Self) -> bool { @@ -5641,7 +5641,7 @@ impl IProgressItems { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IProgressItems, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IProgressItems, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IProgressItems { fn eq(&self, other: &Self) -> bool { @@ -5799,7 +5799,7 @@ impl IRawCDImageCreator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRawCDImageCreator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRawCDImageCreator, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRawCDImageCreator { fn eq(&self, other: &Self) -> bool { @@ -5941,7 +5941,7 @@ impl IRawCDImageTrackInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRawCDImageTrackInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRawCDImageTrackInfo, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRawCDImageTrackInfo { fn eq(&self, other: &Self) -> bool { @@ -6032,7 +6032,7 @@ impl IRedbookDiscMaster { (::windows::core::Vtable::vtable(self).CloseAudioTrack)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRedbookDiscMaster, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRedbookDiscMaster, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRedbookDiscMaster { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6162,7 +6162,7 @@ impl IStreamConcatenate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IStreamConcatenate, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); +::windows::imp::interface_hierarchy!(IStreamConcatenate, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IStreamConcatenate { fn eq(&self, other: &Self) -> bool { @@ -6285,7 +6285,7 @@ impl IStreamInterleave { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IStreamInterleave, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); +::windows::imp::interface_hierarchy!(IStreamInterleave, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IStreamInterleave { fn eq(&self, other: &Self) -> bool { @@ -6404,7 +6404,7 @@ impl IStreamPseudoRandomBased { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IStreamPseudoRandomBased, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); +::windows::imp::interface_hierarchy!(IStreamPseudoRandomBased, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IStreamPseudoRandomBased { fn eq(&self, other: &Self) -> bool { @@ -6513,7 +6513,7 @@ impl IWriteEngine2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWriteEngine2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWriteEngine2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWriteEngine2 { fn eq(&self, other: &Self) -> bool { @@ -6609,7 +6609,7 @@ impl IWriteEngine2EventArgs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWriteEngine2EventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWriteEngine2EventArgs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWriteEngine2EventArgs { fn eq(&self, other: &Self) -> bool { @@ -6673,7 +6673,7 @@ impl IWriteSpeedDescriptor { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWriteSpeedDescriptor, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWriteSpeedDescriptor, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWriteSpeedDescriptor { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs index 91df95f462..05fe4283e2 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "query.dll""system" fn BindIFilterFromStorage ( pstg : * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void , ppiunk : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "query.dll""system" fn BindIFilterFromStorage ( pstg : * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void , ppiunk : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); BindIFilterFromStorage(pstg.into().abi(), punkouter.into().abi(), ppiunk).ok() } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "query.dll""system" fn BindIFilterFromStream ( pstm : * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void , ppiunk : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "query.dll""system" fn BindIFilterFromStream ( pstm : * mut::core::ffi::c_void , punkouter : * mut::core::ffi::c_void , ppiunk : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); BindIFilterFromStream(pstm.into().abi(), punkouter.into().abi(), ppiunk).ok() } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -27,7 +27,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "query.dll""system" fn LoadIFilter ( pwcspath : :: windows::core::PCWSTR , punkouter : * mut::core::ffi::c_void , ppiunk : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "query.dll""system" fn LoadIFilter ( pwcspath : :: windows::core::PCWSTR , punkouter : * mut::core::ffi::c_void , ppiunk : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); LoadIFilter(pwcspath.into().abi(), punkouter.into().abi(), ppiunk).ok() } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn LoadIFilterEx(pwcspath: P0, dwflags: u32, riid: *const ::windo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "query.dll""system" fn LoadIFilterEx ( pwcspath : :: windows::core::PCWSTR , dwflags : u32 , riid : *const :: windows::core::GUID , ppiunk : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "query.dll""system" fn LoadIFilterEx ( pwcspath : :: windows::core::PCWSTR , dwflags : u32 , riid : *const :: windows::core::GUID , ppiunk : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); LoadIFilterEx(pwcspath.into().abi(), dwflags, riid, ppiunk).ok() } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -65,7 +65,7 @@ impl IFilter { (::windows::core::Vtable::vtable(self).BindRegion)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(origpos), riid, ppunk) } } -::windows::core::interface_hierarchy!(IFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -125,7 +125,7 @@ impl IPhraseSink { (::windows::core::Vtable::vtable(self).PutPhrase)(::windows::core::Vtable::as_raw(self), pwcphrase.into().abi(), cwcphrase).ok() } } -::windows::core::interface_hierarchy!(IPhraseSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPhraseSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPhraseSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs index 8c7b25fec2..0ad3996b91 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs @@ -6,7 +6,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterAttach ( lpfiltername : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR , lpinstancename : :: windows::core::PCWSTR , dwcreatedinstancenamelength : u32 , lpcreatedinstancename : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterAttach ( lpfiltername : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR , lpinstancename : :: windows::core::PCWSTR , dwcreatedinstancenamelength : u32 , lpcreatedinstancename : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); FilterAttach(lpfiltername.into().abi(), lpvolumename.into().abi(), lpinstancename.into().abi(), dwcreatedinstancenamelength, ::core::mem::transmute(lpcreatedinstancename)).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -18,7 +18,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterAttachAtAltitude ( lpfiltername : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR , lpaltitude : :: windows::core::PCWSTR , lpinstancename : :: windows::core::PCWSTR , dwcreatedinstancenamelength : u32 , lpcreatedinstancename : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterAttachAtAltitude ( lpfiltername : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR , lpaltitude : :: windows::core::PCWSTR , lpinstancename : :: windows::core::PCWSTR , dwcreatedinstancenamelength : u32 , lpcreatedinstancename : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); FilterAttachAtAltitude(lpfiltername.into().abi(), lpvolumename.into().abi(), lpaltitude.into().abi(), lpinstancename.into().abi(), dwcreatedinstancenamelength, ::core::mem::transmute(lpcreatedinstancename)).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -27,7 +27,7 @@ pub unsafe fn FilterClose(hfilter: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterClose ( hfilter : HFILTER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterClose ( hfilter : HFILTER ) -> :: windows::core::HRESULT ); FilterClose(hfilter.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn FilterConnectCommunicationPort(lpportname: P0, dwoptions: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterConnectCommunicationPort ( lpportname : :: windows::core::PCWSTR , dwoptions : u32 , lpcontext : *const ::core::ffi::c_void , wsizeofcontext : u16 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , hport : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterConnectCommunicationPort ( lpportname : :: windows::core::PCWSTR , dwoptions : u32 , lpcontext : *const ::core::ffi::c_void , wsizeofcontext : u16 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , hport : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); FilterConnectCommunicationPort(lpportname.into().abi(), dwoptions, ::core::mem::transmute(lpcontext.unwrap_or(::std::ptr::null())), wsizeofcontext, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -47,7 +47,7 @@ pub unsafe fn FilterCreate(lpfiltername: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterCreate ( lpfiltername : :: windows::core::PCWSTR , hfilter : *mut HFILTER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterCreate ( lpfiltername : :: windows::core::PCWSTR , hfilter : *mut HFILTER ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); FilterCreate(lpfiltername.into().abi(), &mut result__).from_abi(result__) } @@ -59,7 +59,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterDetach ( lpfiltername : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR , lpinstancename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterDetach ( lpfiltername : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR , lpinstancename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); FilterDetach(lpfiltername.into().abi(), lpvolumename.into().abi(), lpinstancename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -69,13 +69,13 @@ pub unsafe fn FilterFindClose(hfilterfind: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterFindClose ( hfilterfind : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterFindClose ( hfilterfind : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); FilterFindClose(hfilterfind.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] #[inline] pub unsafe fn FilterFindFirst(dwinformationclass: FILTER_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpfilterfind: *mut FilterFindHandle) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterFindFirst ( dwinformationclass : FILTER_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 , lpfilterfind : *mut FilterFindHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterFindFirst ( dwinformationclass : FILTER_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 , lpfilterfind : *mut FilterFindHandle ) -> :: windows::core::HRESULT ); FilterFindFirst(dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned, lpfilterfind).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -85,7 +85,7 @@ pub unsafe fn FilterFindNext(hfilterfind: P0, dwinformationclass: FILTER_INF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterFindNext ( hfilterfind : super::super::Foundation:: HANDLE , dwinformationclass : FILTER_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterFindNext ( hfilterfind : super::super::Foundation:: HANDLE , dwinformationclass : FILTER_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); FilterFindNext(hfilterfind.into(), dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -94,7 +94,7 @@ pub unsafe fn FilterGetDosName(lpvolumename: P0, lpdosname: &mut [u16]) -> : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterGetDosName ( lpvolumename : :: windows::core::PCWSTR , lpdosname : :: windows::core::PWSTR , dwdosnamebuffersize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterGetDosName ( lpvolumename : :: windows::core::PCWSTR , lpdosname : :: windows::core::PWSTR , dwdosnamebuffersize : u32 ) -> :: windows::core::HRESULT ); FilterGetDosName(lpvolumename.into().abi(), ::core::mem::transmute(lpdosname.as_ptr()), lpdosname.len() as _).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -103,7 +103,7 @@ pub unsafe fn FilterGetInformation(hfilter: P0, dwinformationclass: FILTER_I where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterGetInformation ( hfilter : HFILTER , dwinformationclass : FILTER_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterGetInformation ( hfilter : HFILTER , dwinformationclass : FILTER_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); FilterGetInformation(hfilter.into(), dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -113,7 +113,7 @@ pub unsafe fn FilterGetMessage(hport: P0, lpmessagebuffer: *mut FILTER_MESSA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterGetMessage ( hport : super::super::Foundation:: HANDLE , lpmessagebuffer : *mut FILTER_MESSAGE_HEADER , dwmessagebuffersize : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterGetMessage ( hport : super::super::Foundation:: HANDLE , lpmessagebuffer : *mut FILTER_MESSAGE_HEADER , dwmessagebuffersize : u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> :: windows::core::HRESULT ); FilterGetMessage(hport.into(), lpmessagebuffer, dwmessagebuffersize, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -122,7 +122,7 @@ pub unsafe fn FilterInstanceClose(hinstance: P0) -> ::windows::core::Result< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterInstanceClose ( hinstance : HFILTER_INSTANCE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterInstanceClose ( hinstance : HFILTER_INSTANCE ) -> :: windows::core::HRESULT ); FilterInstanceClose(hinstance.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -133,7 +133,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterInstanceCreate ( lpfiltername : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR , lpinstancename : :: windows::core::PCWSTR , hinstance : *mut HFILTER_INSTANCE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterInstanceCreate ( lpfiltername : :: windows::core::PCWSTR , lpvolumename : :: windows::core::PCWSTR , lpinstancename : :: windows::core::PCWSTR , hinstance : *mut HFILTER_INSTANCE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); FilterInstanceCreate(lpfiltername.into().abi(), lpvolumename.into().abi(), lpinstancename.into().abi(), &mut result__).from_abi(result__) } @@ -144,7 +144,7 @@ pub unsafe fn FilterInstanceFindClose(hfilterinstancefind: P0) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterInstanceFindClose ( hfilterinstancefind : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterInstanceFindClose ( hfilterinstancefind : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); FilterInstanceFindClose(hfilterinstancefind.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -153,7 +153,7 @@ pub unsafe fn FilterInstanceFindFirst(lpfiltername: P0, dwinformationclass: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterInstanceFindFirst ( lpfiltername : :: windows::core::PCWSTR , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 , lpfilterinstancefind : *mut FilterInstanceFindHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterInstanceFindFirst ( lpfiltername : :: windows::core::PCWSTR , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 , lpfilterinstancefind : *mut FilterInstanceFindHandle ) -> :: windows::core::HRESULT ); FilterInstanceFindFirst(lpfiltername.into().abi(), dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned, lpfilterinstancefind).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -163,7 +163,7 @@ pub unsafe fn FilterInstanceFindNext(hfilterinstancefind: P0, dwinformationc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterInstanceFindNext ( hfilterinstancefind : super::super::Foundation:: HANDLE , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterInstanceFindNext ( hfilterinstancefind : super::super::Foundation:: HANDLE , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); FilterInstanceFindNext(hfilterinstancefind.into(), dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -172,7 +172,7 @@ pub unsafe fn FilterInstanceGetInformation(hinstance: P0, dwinformationclass where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterInstanceGetInformation ( hinstance : HFILTER_INSTANCE , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterInstanceGetInformation ( hinstance : HFILTER_INSTANCE , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); FilterInstanceGetInformation(hinstance.into(), dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -181,7 +181,7 @@ pub unsafe fn FilterLoad(lpfiltername: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterLoad ( lpfiltername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterLoad ( lpfiltername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); FilterLoad(lpfiltername.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -191,7 +191,7 @@ pub unsafe fn FilterReplyMessage(hport: P0, lpreplybuffer: *const FILTER_REP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterReplyMessage ( hport : super::super::Foundation:: HANDLE , lpreplybuffer : *const FILTER_REPLY_HEADER , dwreplybuffersize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterReplyMessage ( hport : super::super::Foundation:: HANDLE , lpreplybuffer : *const FILTER_REPLY_HEADER , dwreplybuffersize : u32 ) -> :: windows::core::HRESULT ); FilterReplyMessage(hport.into(), lpreplybuffer, dwreplybuffersize).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -201,7 +201,7 @@ pub unsafe fn FilterSendMessage(hport: P0, lpinbuffer: *const ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterSendMessage ( hport : super::super::Foundation:: HANDLE , lpinbuffer : *const ::core::ffi::c_void , dwinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , dwoutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterSendMessage ( hport : super::super::Foundation:: HANDLE , lpinbuffer : *const ::core::ffi::c_void , dwinbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , dwoutbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); FilterSendMessage(hport.into(), lpinbuffer, dwinbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), dwoutbuffersize, lpbytesreturned).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -210,7 +210,7 @@ pub unsafe fn FilterUnload(lpfiltername: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterUnload ( lpfiltername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterUnload ( lpfiltername : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); FilterUnload(lpfiltername.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -220,13 +220,13 @@ pub unsafe fn FilterVolumeFindClose(hvolumefind: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterVolumeFindClose ( hvolumefind : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterVolumeFindClose ( hvolumefind : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); FilterVolumeFindClose(hvolumefind.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] #[inline] pub unsafe fn FilterVolumeFindFirst(dwinformationclass: FILTER_VOLUME_INFORMATION_CLASS, lpbuffer: *mut ::core::ffi::c_void, dwbuffersize: u32, lpbytesreturned: *mut u32, lpvolumefind: *mut FilterVolumeFindHandle) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterVolumeFindFirst ( dwinformationclass : FILTER_VOLUME_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 , lpvolumefind : *mut FilterVolumeFindHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterVolumeFindFirst ( dwinformationclass : FILTER_VOLUME_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 , lpvolumefind : *mut FilterVolumeFindHandle ) -> :: windows::core::HRESULT ); FilterVolumeFindFirst(dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned, lpvolumefind).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -236,7 +236,7 @@ pub unsafe fn FilterVolumeFindNext(hvolumefind: P0, dwinformationclass: FILT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterVolumeFindNext ( hvolumefind : super::super::Foundation:: HANDLE , dwinformationclass : FILTER_VOLUME_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterVolumeFindNext ( hvolumefind : super::super::Foundation:: HANDLE , dwinformationclass : FILTER_VOLUME_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); FilterVolumeFindNext(hvolumefind.into(), dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -246,7 +246,7 @@ pub unsafe fn FilterVolumeInstanceFindClose(hvolumeinstancefind: P0) -> ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterVolumeInstanceFindClose ( hvolumeinstancefind : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterVolumeInstanceFindClose ( hvolumeinstancefind : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); FilterVolumeInstanceFindClose(hvolumeinstancefind.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] @@ -255,7 +255,7 @@ pub unsafe fn FilterVolumeInstanceFindFirst(lpvolumename: P0, dwinformationc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterVolumeInstanceFindFirst ( lpvolumename : :: windows::core::PCWSTR , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 , lpvolumeinstancefind : *mut FilterVolumeInstanceFindHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterVolumeInstanceFindFirst ( lpvolumename : :: windows::core::PCWSTR , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 , lpvolumeinstancefind : *mut FilterVolumeInstanceFindHandle ) -> :: windows::core::HRESULT ); FilterVolumeInstanceFindFirst(lpvolumename.into().abi(), dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned, lpvolumeinstancefind).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_Foundation\"`*"] @@ -265,7 +265,7 @@ pub unsafe fn FilterVolumeInstanceFindNext(hvolumeinstancefind: P0, dwinform where P0: ::std::convert::Into, { - ::windows::core::link ! ( "fltlib.dll""system" fn FilterVolumeInstanceFindNext ( hvolumeinstancefind : super::super::Foundation:: HANDLE , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "fltlib.dll""system" fn FilterVolumeInstanceFindNext ( hvolumeinstancefind : super::super::Foundation:: HANDLE , dwinformationclass : INSTANCE_INFORMATION_CLASS , lpbuffer : *mut ::core::ffi::c_void , dwbuffersize : u32 , lpbytesreturned : *mut u32 ) -> :: windows::core::HRESULT ); FilterVolumeInstanceFindNext(hvolumeinstancefind.into(), dwinformationclass, lpbuffer, dwbuffersize, lpbytesreturned).ok() } #[doc = "*Required features: `\"Win32_Storage_InstallableFileSystems\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs index 19a2d88de8..a1797f3fdd 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn AddISNSServerA(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddISNSServerA ( address : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddISNSServerA ( address : :: windows::core::PCSTR ) -> u32 ); AddISNSServerA(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -13,20 +13,20 @@ pub unsafe fn AddISNSServerW(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddISNSServerW ( address : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddISNSServerW ( address : :: windows::core::PCWSTR ) -> u32 ); AddISNSServerW(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AddIScsiConnectionA(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, reserved: *mut ::core::ffi::c_void, initiatorportnumber: u32, targetportal: *mut ISCSI_TARGET_PORTALA, securityflags: u64, loginoptions: *mut ISCSI_LOGIN_OPTIONS, key: ::core::option::Option<&[u8]>, connectionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddIScsiConnectionA ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , reserved : *mut ::core::ffi::c_void , initiatorportnumber : u32 , targetportal : *mut ISCSI_TARGET_PORTALA , securityflags : u64 , loginoptions : *mut ISCSI_LOGIN_OPTIONS , keysize : u32 , key : :: windows::core::PCSTR , connectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddIScsiConnectionA ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , reserved : *mut ::core::ffi::c_void , initiatorportnumber : u32 , targetportal : *mut ISCSI_TARGET_PORTALA , securityflags : u64 , loginoptions : *mut ISCSI_LOGIN_OPTIONS , keysize : u32 , key : :: windows::core::PCSTR , connectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); AddIScsiConnectionA(uniquesessionid, reserved, initiatorportnumber, targetportal, securityflags, loginoptions, key.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(key.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), connectionid) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn AddIScsiConnectionW(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, reserved: *mut ::core::ffi::c_void, initiatorportnumber: u32, targetportal: *mut ISCSI_TARGET_PORTALW, securityflags: u64, loginoptions: *mut ISCSI_LOGIN_OPTIONS, key: ::core::option::Option<&[u8]>, connectionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddIScsiConnectionW ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , reserved : *mut ::core::ffi::c_void , initiatorportnumber : u32 , targetportal : *mut ISCSI_TARGET_PORTALW , securityflags : u64 , loginoptions : *mut ISCSI_LOGIN_OPTIONS , keysize : u32 , key : :: windows::core::PCSTR , connectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddIScsiConnectionW ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , reserved : *mut ::core::ffi::c_void , initiatorportnumber : u32 , targetportal : *mut ISCSI_TARGET_PORTALW , securityflags : u64 , loginoptions : *mut ISCSI_LOGIN_OPTIONS , keysize : u32 , key : :: windows::core::PCSTR , connectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); AddIScsiConnectionW(uniquesessionid, reserved, initiatorportnumber, targetportal, securityflags, loginoptions, key.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(key.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), connectionid) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn AddIScsiSendTargetPortalA(initiatorinstance: P0, initiatorport where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddIScsiSendTargetPortalA ( initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , loginoptions : *mut ISCSI_LOGIN_OPTIONS , securityflags : u64 , portal : *mut ISCSI_TARGET_PORTALA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddIScsiSendTargetPortalA ( initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , loginoptions : *mut ISCSI_LOGIN_OPTIONS , securityflags : u64 , portal : *mut ISCSI_TARGET_PORTALA ) -> u32 ); AddIScsiSendTargetPortalA(initiatorinstance.into().abi(), initiatorportnumber, loginoptions, securityflags, portal) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -45,7 +45,7 @@ pub unsafe fn AddIScsiSendTargetPortalW(initiatorinstance: P0, initiatorport where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddIScsiSendTargetPortalW ( initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , loginoptions : *mut ISCSI_LOGIN_OPTIONS , securityflags : u64 , portal : *mut ISCSI_TARGET_PORTALW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddIScsiSendTargetPortalW ( initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , loginoptions : *mut ISCSI_LOGIN_OPTIONS , securityflags : u64 , portal : *mut ISCSI_TARGET_PORTALW ) -> u32 ); AddIScsiSendTargetPortalW(initiatorinstance.into().abi(), initiatorportnumber, loginoptions, securityflags, portal) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -57,7 +57,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddIScsiStaticTargetA ( targetname : :: windows::core::PCSTR , targetalias : :: windows::core::PCSTR , targetflags : u32 , persist : super::super::Foundation:: BOOLEAN , mappings : *mut ISCSI_TARGET_MAPPINGA , loginoptions : *mut ISCSI_LOGIN_OPTIONS , portalgroup : *mut ISCSI_TARGET_PORTAL_GROUPA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddIScsiStaticTargetA ( targetname : :: windows::core::PCSTR , targetalias : :: windows::core::PCSTR , targetflags : u32 , persist : super::super::Foundation:: BOOLEAN , mappings : *mut ISCSI_TARGET_MAPPINGA , loginoptions : *mut ISCSI_LOGIN_OPTIONS , portalgroup : *mut ISCSI_TARGET_PORTAL_GROUPA ) -> u32 ); AddIScsiStaticTargetA(targetname.into().abi(), targetalias.into().abi(), targetflags, persist.into(), mappings, loginoptions, portalgroup) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -69,7 +69,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddIScsiStaticTargetW ( targetname : :: windows::core::PCWSTR , targetalias : :: windows::core::PCWSTR , targetflags : u32 , persist : super::super::Foundation:: BOOLEAN , mappings : *mut ISCSI_TARGET_MAPPINGW , loginoptions : *mut ISCSI_LOGIN_OPTIONS , portalgroup : *mut ISCSI_TARGET_PORTAL_GROUPW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddIScsiStaticTargetW ( targetname : :: windows::core::PCWSTR , targetalias : :: windows::core::PCWSTR , targetflags : u32 , persist : super::super::Foundation:: BOOLEAN , mappings : *mut ISCSI_TARGET_MAPPINGW , loginoptions : *mut ISCSI_LOGIN_OPTIONS , portalgroup : *mut ISCSI_TARGET_PORTAL_GROUPW ) -> u32 ); AddIScsiStaticTargetW(targetname.into().abi(), targetalias.into().abi(), targetflags, persist.into(), mappings, loginoptions, portalgroup) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -78,7 +78,7 @@ pub unsafe fn AddPersistentIScsiDeviceA(devicepath: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddPersistentIScsiDeviceA ( devicepath : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddPersistentIScsiDeviceA ( devicepath : :: windows::core::PCSTR ) -> u32 ); AddPersistentIScsiDeviceA(devicepath.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn AddPersistentIScsiDeviceW(devicepath: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddPersistentIScsiDeviceW ( devicepath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddPersistentIScsiDeviceW ( devicepath : :: windows::core::PCWSTR ) -> u32 ); AddPersistentIScsiDeviceW(devicepath.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -96,7 +96,7 @@ pub unsafe fn AddRadiusServerA(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddRadiusServerA ( address : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddRadiusServerA ( address : :: windows::core::PCSTR ) -> u32 ); AddRadiusServerA(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -105,27 +105,27 @@ pub unsafe fn AddRadiusServerW(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn AddRadiusServerW ( address : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn AddRadiusServerW ( address : :: windows::core::PCWSTR ) -> u32 ); AddRadiusServerW(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ClearPersistentIScsiDevices() -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ClearPersistentIScsiDevices ( ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ClearPersistentIScsiDevices ( ) -> u32 ); ClearPersistentIScsiDevices() } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ioctl\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ioctl"))] #[inline] pub unsafe fn GetDevicesForIScsiSessionA(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, devicecount: *mut u32, devices: *mut ISCSI_DEVICE_ON_SESSIONA) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetDevicesForIScsiSessionA ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , devicecount : *mut u32 , devices : *mut ISCSI_DEVICE_ON_SESSIONA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetDevicesForIScsiSessionA ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , devicecount : *mut u32 , devices : *mut ISCSI_DEVICE_ON_SESSIONA ) -> u32 ); GetDevicesForIScsiSessionA(uniquesessionid, devicecount, devices) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_Ioctl\"`*"] #[cfg(feature = "Win32_System_Ioctl")] #[inline] pub unsafe fn GetDevicesForIScsiSessionW(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, devicecount: *mut u32, devices: *mut ISCSI_DEVICE_ON_SESSIONW) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetDevicesForIScsiSessionW ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , devicecount : *mut u32 , devices : *mut ISCSI_DEVICE_ON_SESSIONW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetDevicesForIScsiSessionW ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , devicecount : *mut u32 , devices : *mut ISCSI_DEVICE_ON_SESSIONW ) -> u32 ); GetDevicesForIScsiSessionW(uniquesessionid, devicecount, devices) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -134,7 +134,7 @@ pub unsafe fn GetIScsiIKEInfoA(initiatorname: P0, initiatorportnumber: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiIKEInfoA ( initiatorname : :: windows::core::PCSTR , initiatorportnumber : u32 , reserved : *mut u32 , authinfo : *mut IKE_AUTHENTICATION_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiIKEInfoA ( initiatorname : :: windows::core::PCSTR , initiatorportnumber : u32 , reserved : *mut u32 , authinfo : *mut IKE_AUTHENTICATION_INFORMATION ) -> u32 ); GetIScsiIKEInfoA(initiatorname.into().abi(), initiatorportnumber, reserved, authinfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -143,38 +143,38 @@ pub unsafe fn GetIScsiIKEInfoW(initiatorname: P0, initiatorportnumber: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiIKEInfoW ( initiatorname : :: windows::core::PCWSTR , initiatorportnumber : u32 , reserved : *mut u32 , authinfo : *mut IKE_AUTHENTICATION_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiIKEInfoW ( initiatorname : :: windows::core::PCWSTR , initiatorportnumber : u32 , reserved : *mut u32 , authinfo : *mut IKE_AUTHENTICATION_INFORMATION ) -> u32 ); GetIScsiIKEInfoW(initiatorname.into().abi(), initiatorportnumber, reserved, authinfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn GetIScsiInitiatorNodeNameA(initiatornodename: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiInitiatorNodeNameA ( initiatornodename : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiInitiatorNodeNameA ( initiatornodename : :: windows::core::PSTR ) -> u32 ); GetIScsiInitiatorNodeNameA(::core::mem::transmute(initiatornodename)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn GetIScsiInitiatorNodeNameW(initiatornodename: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiInitiatorNodeNameW ( initiatornodename : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiInitiatorNodeNameW ( initiatornodename : :: windows::core::PWSTR ) -> u32 ); GetIScsiInitiatorNodeNameW(::core::mem::transmute(initiatornodename)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn GetIScsiSessionListA(buffersize: *mut u32, sessioncount: *mut u32, sessioninfo: *mut ISCSI_SESSION_INFOA) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiSessionListA ( buffersize : *mut u32 , sessioncount : *mut u32 , sessioninfo : *mut ISCSI_SESSION_INFOA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiSessionListA ( buffersize : *mut u32 , sessioncount : *mut u32 , sessioninfo : *mut ISCSI_SESSION_INFOA ) -> u32 ); GetIScsiSessionListA(buffersize, sessioncount, sessioninfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetIScsiSessionListEx(buffersize: *mut u32, sessioncountptr: *mut u32, sessioninfo: *mut ISCSI_SESSION_INFO_EX) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiSessionListEx ( buffersize : *mut u32 , sessioncountptr : *mut u32 , sessioninfo : *mut ISCSI_SESSION_INFO_EX ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiSessionListEx ( buffersize : *mut u32 , sessioncountptr : *mut u32 , sessioninfo : *mut ISCSI_SESSION_INFO_EX ) -> u32 ); GetIScsiSessionListEx(buffersize, sessioncountptr, sessioninfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn GetIScsiSessionListW(buffersize: *mut u32, sessioncount: *mut u32, sessioninfo: *mut ISCSI_SESSION_INFOW) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiSessionListW ( buffersize : *mut u32 , sessioncount : *mut u32 , sessioninfo : *mut ISCSI_SESSION_INFOW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiSessionListW ( buffersize : *mut u32 , sessioncount : *mut u32 , sessioninfo : *mut ISCSI_SESSION_INFOW ) -> u32 ); GetIScsiSessionListW(buffersize, sessioncount, sessioninfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -184,7 +184,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiTargetInformationA ( targetname : :: windows::core::PCSTR , discoverymechanism : :: windows::core::PCSTR , infoclass : TARGET_INFORMATION_CLASS , buffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiTargetInformationA ( targetname : :: windows::core::PCSTR , discoverymechanism : :: windows::core::PCSTR , infoclass : TARGET_INFORMATION_CLASS , buffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); GetIScsiTargetInformationA(targetname.into().abi(), discoverymechanism.into().abi(), infoclass, buffersize, buffer) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -194,13 +194,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiTargetInformationW ( targetname : :: windows::core::PCWSTR , discoverymechanism : :: windows::core::PCWSTR , infoclass : TARGET_INFORMATION_CLASS , buffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiTargetInformationW ( targetname : :: windows::core::PCWSTR , discoverymechanism : :: windows::core::PCWSTR , infoclass : TARGET_INFORMATION_CLASS , buffersize : *mut u32 , buffer : *mut ::core::ffi::c_void ) -> u32 ); GetIScsiTargetInformationW(targetname.into().abi(), discoverymechanism.into().abi(), infoclass, buffersize, buffer) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn GetIScsiVersionInformation(versioninfo: *mut ISCSI_VERSION_INFO) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn GetIScsiVersionInformation ( versioninfo : *mut ISCSI_VERSION_INFO ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn GetIScsiVersionInformation ( versioninfo : *mut ISCSI_VERSION_INFO ) -> u32 ); GetIScsiVersionInformation(versioninfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -213,7 +213,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn LoginIScsiTargetA ( targetname : :: windows::core::PCSTR , isinformationalsession : super::super::Foundation:: BOOLEAN , initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , targetportal : *mut ISCSI_TARGET_PORTALA , securityflags : u64 , mappings : *mut ISCSI_TARGET_MAPPINGA , loginoptions : *mut ISCSI_LOGIN_OPTIONS , keysize : u32 , key : :: windows::core::PCSTR , ispersistent : super::super::Foundation:: BOOLEAN , uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , uniqueconnectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn LoginIScsiTargetA ( targetname : :: windows::core::PCSTR , isinformationalsession : super::super::Foundation:: BOOLEAN , initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , targetportal : *mut ISCSI_TARGET_PORTALA , securityflags : u64 , mappings : *mut ISCSI_TARGET_MAPPINGA , loginoptions : *mut ISCSI_LOGIN_OPTIONS , keysize : u32 , key : :: windows::core::PCSTR , ispersistent : super::super::Foundation:: BOOLEAN , uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , uniqueconnectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); LoginIScsiTargetA(targetname.into().abi(), isinformationalsession.into(), initiatorinstance.into().abi(), initiatorportnumber, targetportal, securityflags, mappings, loginoptions, key.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(key.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ispersistent.into(), uniquesessionid, uniqueconnectionid) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -226,13 +226,13 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn LoginIScsiTargetW ( targetname : :: windows::core::PCWSTR , isinformationalsession : super::super::Foundation:: BOOLEAN , initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , targetportal : *mut ISCSI_TARGET_PORTALW , securityflags : u64 , mappings : *mut ISCSI_TARGET_MAPPINGW , loginoptions : *mut ISCSI_LOGIN_OPTIONS , keysize : u32 , key : :: windows::core::PCSTR , ispersistent : super::super::Foundation:: BOOLEAN , uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , uniqueconnectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn LoginIScsiTargetW ( targetname : :: windows::core::PCWSTR , isinformationalsession : super::super::Foundation:: BOOLEAN , initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , targetportal : *mut ISCSI_TARGET_PORTALW , securityflags : u64 , mappings : *mut ISCSI_TARGET_MAPPINGW , loginoptions : *mut ISCSI_LOGIN_OPTIONS , keysize : u32 , key : :: windows::core::PCSTR , ispersistent : super::super::Foundation:: BOOLEAN , uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , uniqueconnectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); LoginIScsiTargetW(targetname.into().abi(), isinformationalsession.into(), initiatorinstance.into().abi(), initiatorportnumber, targetportal, securityflags, mappings, loginoptions, key.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(key.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ispersistent.into(), uniquesessionid, uniqueconnectionid) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn LogoutIScsiTarget(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn LogoutIScsiTarget ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn LogoutIScsiTarget ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); LogoutIScsiTarget(uniquesessionid) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -241,7 +241,7 @@ pub unsafe fn RefreshISNSServerA(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RefreshISNSServerA ( address : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RefreshISNSServerA ( address : :: windows::core::PCSTR ) -> u32 ); RefreshISNSServerA(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -250,7 +250,7 @@ pub unsafe fn RefreshISNSServerW(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RefreshISNSServerW ( address : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RefreshISNSServerW ( address : :: windows::core::PCWSTR ) -> u32 ); RefreshISNSServerW(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -260,7 +260,7 @@ pub unsafe fn RefreshIScsiSendTargetPortalA(initiatorinstance: P0, initiator where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RefreshIScsiSendTargetPortalA ( initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , portal : *mut ISCSI_TARGET_PORTALA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RefreshIScsiSendTargetPortalA ( initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , portal : *mut ISCSI_TARGET_PORTALA ) -> u32 ); RefreshIScsiSendTargetPortalA(initiatorinstance.into().abi(), initiatorportnumber, portal) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -269,7 +269,7 @@ pub unsafe fn RefreshIScsiSendTargetPortalW(initiatorinstance: P0, initiator where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RefreshIScsiSendTargetPortalW ( initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , portal : *mut ISCSI_TARGET_PORTALW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RefreshIScsiSendTargetPortalW ( initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , portal : *mut ISCSI_TARGET_PORTALW ) -> u32 ); RefreshIScsiSendTargetPortalW(initiatorinstance.into().abi(), initiatorportnumber, portal) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -278,7 +278,7 @@ pub unsafe fn RemoveISNSServerA(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveISNSServerA ( address : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveISNSServerA ( address : :: windows::core::PCSTR ) -> u32 ); RemoveISNSServerA(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -287,13 +287,13 @@ pub unsafe fn RemoveISNSServerW(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveISNSServerW ( address : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveISNSServerW ( address : :: windows::core::PCWSTR ) -> u32 ); RemoveISNSServerW(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn RemoveIScsiConnection(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, connectionid: *mut ISCSI_UNIQUE_SESSION_ID) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveIScsiConnection ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , connectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveIScsiConnection ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , connectionid : *mut ISCSI_UNIQUE_SESSION_ID ) -> u32 ); RemoveIScsiConnection(uniquesessionid, connectionid) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -304,7 +304,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveIScsiPersistentTargetA ( initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , targetname : :: windows::core::PCSTR , portal : *mut ISCSI_TARGET_PORTALA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveIScsiPersistentTargetA ( initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , targetname : :: windows::core::PCSTR , portal : *mut ISCSI_TARGET_PORTALA ) -> u32 ); RemoveIScsiPersistentTargetA(initiatorinstance.into().abi(), initiatorportnumber, targetname.into().abi(), portal) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -314,7 +314,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveIScsiPersistentTargetW ( initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , targetname : :: windows::core::PCWSTR , portal : *mut ISCSI_TARGET_PORTALW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveIScsiPersistentTargetW ( initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , targetname : :: windows::core::PCWSTR , portal : *mut ISCSI_TARGET_PORTALW ) -> u32 ); RemoveIScsiPersistentTargetW(initiatorinstance.into().abi(), initiatorportnumber, targetname.into().abi(), portal) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -324,7 +324,7 @@ pub unsafe fn RemoveIScsiSendTargetPortalA(initiatorinstance: P0, initiatorp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveIScsiSendTargetPortalA ( initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , portal : *mut ISCSI_TARGET_PORTALA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveIScsiSendTargetPortalA ( initiatorinstance : :: windows::core::PCSTR , initiatorportnumber : u32 , portal : *mut ISCSI_TARGET_PORTALA ) -> u32 ); RemoveIScsiSendTargetPortalA(initiatorinstance.into().abi(), initiatorportnumber, portal) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -333,7 +333,7 @@ pub unsafe fn RemoveIScsiSendTargetPortalW(initiatorinstance: P0, initiatorp where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveIScsiSendTargetPortalW ( initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , portal : *mut ISCSI_TARGET_PORTALW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveIScsiSendTargetPortalW ( initiatorinstance : :: windows::core::PCWSTR , initiatorportnumber : u32 , portal : *mut ISCSI_TARGET_PORTALW ) -> u32 ); RemoveIScsiSendTargetPortalW(initiatorinstance.into().abi(), initiatorportnumber, portal) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -342,7 +342,7 @@ pub unsafe fn RemoveIScsiStaticTargetA(targetname: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveIScsiStaticTargetA ( targetname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveIScsiStaticTargetA ( targetname : :: windows::core::PCSTR ) -> u32 ); RemoveIScsiStaticTargetA(targetname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn RemoveIScsiStaticTargetW(targetname: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveIScsiStaticTargetW ( targetname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveIScsiStaticTargetW ( targetname : :: windows::core::PCWSTR ) -> u32 ); RemoveIScsiStaticTargetW(targetname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -360,7 +360,7 @@ pub unsafe fn RemovePersistentIScsiDeviceA(devicepath: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemovePersistentIScsiDeviceA ( devicepath : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemovePersistentIScsiDeviceA ( devicepath : :: windows::core::PCSTR ) -> u32 ); RemovePersistentIScsiDeviceA(devicepath.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -369,7 +369,7 @@ pub unsafe fn RemovePersistentIScsiDeviceW(devicepath: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemovePersistentIScsiDeviceW ( devicepath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemovePersistentIScsiDeviceW ( devicepath : :: windows::core::PCWSTR ) -> u32 ); RemovePersistentIScsiDeviceW(devicepath.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -378,7 +378,7 @@ pub unsafe fn RemoveRadiusServerA(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveRadiusServerA ( address : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveRadiusServerA ( address : :: windows::core::PCSTR ) -> u32 ); RemoveRadiusServerA(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -387,84 +387,84 @@ pub unsafe fn RemoveRadiusServerW(address: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn RemoveRadiusServerW ( address : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn RemoveRadiusServerW ( address : :: windows::core::PCWSTR ) -> u32 ); RemoveRadiusServerW(address.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReportActiveIScsiTargetMappingsA(buffersize: *mut u32, mappingcount: *mut u32, mappings: *mut ISCSI_TARGET_MAPPINGA) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportActiveIScsiTargetMappingsA ( buffersize : *mut u32 , mappingcount : *mut u32 , mappings : *mut ISCSI_TARGET_MAPPINGA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportActiveIScsiTargetMappingsA ( buffersize : *mut u32 , mappingcount : *mut u32 , mappings : *mut ISCSI_TARGET_MAPPINGA ) -> u32 ); ReportActiveIScsiTargetMappingsA(buffersize, mappingcount, mappings) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportActiveIScsiTargetMappingsW(buffersize: *mut u32, mappingcount: *mut u32, mappings: *mut ISCSI_TARGET_MAPPINGW) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportActiveIScsiTargetMappingsW ( buffersize : *mut u32 , mappingcount : *mut u32 , mappings : *mut ISCSI_TARGET_MAPPINGW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportActiveIScsiTargetMappingsW ( buffersize : *mut u32 , mappingcount : *mut u32 , mappings : *mut ISCSI_TARGET_MAPPINGW ) -> u32 ); ReportActiveIScsiTargetMappingsW(buffersize, mappingcount, mappings) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportISNSServerListA(buffersizeinchar: *mut u32, buffer: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportISNSServerListA ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportISNSServerListA ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); ReportISNSServerListA(buffersizeinchar, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportISNSServerListW(buffersizeinchar: *mut u32, buffer: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportISNSServerListW ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportISNSServerListW ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); ReportISNSServerListW(buffersizeinchar, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportIScsiInitiatorListA(buffersize: *mut u32, buffer: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiInitiatorListA ( buffersize : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiInitiatorListA ( buffersize : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); ReportIScsiInitiatorListA(buffersize, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportIScsiInitiatorListW(buffersize: *mut u32, buffer: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiInitiatorListW ( buffersize : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiInitiatorListW ( buffersize : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); ReportIScsiInitiatorListW(buffersize, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReportIScsiPersistentLoginsA(count: *mut u32, persistentlogininfo: *mut PERSISTENT_ISCSI_LOGIN_INFOA, buffersizeinbytes: *mut u32) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiPersistentLoginsA ( count : *mut u32 , persistentlogininfo : *mut PERSISTENT_ISCSI_LOGIN_INFOA , buffersizeinbytes : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiPersistentLoginsA ( count : *mut u32 , persistentlogininfo : *mut PERSISTENT_ISCSI_LOGIN_INFOA , buffersizeinbytes : *mut u32 ) -> u32 ); ReportIScsiPersistentLoginsA(count, persistentlogininfo, buffersizeinbytes) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReportIScsiPersistentLoginsW(count: *mut u32, persistentlogininfo: *mut PERSISTENT_ISCSI_LOGIN_INFOW, buffersizeinbytes: *mut u32) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiPersistentLoginsW ( count : *mut u32 , persistentlogininfo : *mut PERSISTENT_ISCSI_LOGIN_INFOW , buffersizeinbytes : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiPersistentLoginsW ( count : *mut u32 , persistentlogininfo : *mut PERSISTENT_ISCSI_LOGIN_INFOW , buffersizeinbytes : *mut u32 ) -> u32 ); ReportIScsiPersistentLoginsW(count, persistentlogininfo, buffersizeinbytes) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReportIScsiSendTargetPortalsA(portalcount: *mut u32, portalinfo: *mut ISCSI_TARGET_PORTAL_INFOA) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiSendTargetPortalsA ( portalcount : *mut u32 , portalinfo : *mut ISCSI_TARGET_PORTAL_INFOA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiSendTargetPortalsA ( portalcount : *mut u32 , portalinfo : *mut ISCSI_TARGET_PORTAL_INFOA ) -> u32 ); ReportIScsiSendTargetPortalsA(portalcount, portalinfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReportIScsiSendTargetPortalsExA(portalcount: *mut u32, portalinfosize: *mut u32, portalinfo: *mut ISCSI_TARGET_PORTAL_INFO_EXA) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiSendTargetPortalsExA ( portalcount : *mut u32 , portalinfosize : *mut u32 , portalinfo : *mut ISCSI_TARGET_PORTAL_INFO_EXA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiSendTargetPortalsExA ( portalcount : *mut u32 , portalinfosize : *mut u32 , portalinfo : *mut ISCSI_TARGET_PORTAL_INFO_EXA ) -> u32 ); ReportIScsiSendTargetPortalsExA(portalcount, portalinfosize, portalinfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportIScsiSendTargetPortalsExW(portalcount: *mut u32, portalinfosize: *mut u32, portalinfo: *mut ISCSI_TARGET_PORTAL_INFO_EXW) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiSendTargetPortalsExW ( portalcount : *mut u32 , portalinfosize : *mut u32 , portalinfo : *mut ISCSI_TARGET_PORTAL_INFO_EXW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiSendTargetPortalsExW ( portalcount : *mut u32 , portalinfosize : *mut u32 , portalinfo : *mut ISCSI_TARGET_PORTAL_INFO_EXW ) -> u32 ); ReportIScsiSendTargetPortalsExW(portalcount, portalinfosize, portalinfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportIScsiSendTargetPortalsW(portalcount: *mut u32, portalinfo: *mut ISCSI_TARGET_PORTAL_INFOW) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiSendTargetPortalsW ( portalcount : *mut u32 , portalinfo : *mut ISCSI_TARGET_PORTAL_INFOW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiSendTargetPortalsW ( portalcount : *mut u32 , portalinfo : *mut ISCSI_TARGET_PORTAL_INFOW ) -> u32 ); ReportIScsiSendTargetPortalsW(portalcount, portalinfo) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -475,7 +475,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiTargetPortalsA ( initiatorname : :: windows::core::PCSTR , targetname : :: windows::core::PCSTR , targetportaltag : *mut u16 , elementcount : *mut u32 , portals : *mut ISCSI_TARGET_PORTALA ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiTargetPortalsA ( initiatorname : :: windows::core::PCSTR , targetname : :: windows::core::PCSTR , targetportaltag : *mut u16 , elementcount : *mut u32 , portals : *mut ISCSI_TARGET_PORTALA ) -> u32 ); ReportIScsiTargetPortalsA(initiatorname.into().abi(), targetname.into().abi(), targetportaltag, elementcount, portals) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -485,7 +485,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiTargetPortalsW ( initiatorname : :: windows::core::PCWSTR , targetname : :: windows::core::PCWSTR , targetportaltag : *mut u16 , elementcount : *mut u32 , portals : *mut ISCSI_TARGET_PORTALW ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiTargetPortalsW ( initiatorname : :: windows::core::PCWSTR , targetname : :: windows::core::PCWSTR , targetportaltag : *mut u16 , elementcount : *mut u32 , portals : *mut ISCSI_TARGET_PORTALW ) -> u32 ); ReportIScsiTargetPortalsW(initiatorname.into().abi(), targetname.into().abi(), targetportaltag, elementcount, portals) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -495,7 +495,7 @@ pub unsafe fn ReportIScsiTargetsA(forceupdate: P0, buffersize: *mut u32, buf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiTargetsA ( forceupdate : super::super::Foundation:: BOOLEAN , buffersize : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiTargetsA ( forceupdate : super::super::Foundation:: BOOLEAN , buffersize : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); ReportIScsiTargetsA(forceupdate.into(), buffersize, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -505,49 +505,49 @@ pub unsafe fn ReportIScsiTargetsW(forceupdate: P0, buffersize: *mut u32, buf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportIScsiTargetsW ( forceupdate : super::super::Foundation:: BOOLEAN , buffersize : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportIScsiTargetsW ( forceupdate : super::super::Foundation:: BOOLEAN , buffersize : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); ReportIScsiTargetsW(forceupdate.into(), buffersize, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportPersistentIScsiDevicesA(buffersizeinchar: *mut u32, buffer: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportPersistentIScsiDevicesA ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportPersistentIScsiDevicesA ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); ReportPersistentIScsiDevicesA(buffersizeinchar, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportPersistentIScsiDevicesW(buffersizeinchar: *mut u32, buffer: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportPersistentIScsiDevicesW ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportPersistentIScsiDevicesW ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); ReportPersistentIScsiDevicesW(buffersizeinchar, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportRadiusServerListA(buffersizeinchar: *mut u32, buffer: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportRadiusServerListA ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportRadiusServerListA ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PSTR ) -> u32 ); ReportRadiusServerListA(buffersizeinchar, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn ReportRadiusServerListW(buffersizeinchar: *mut u32, buffer: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn ReportRadiusServerListW ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn ReportRadiusServerListW ( buffersizeinchar : *mut u32 , buffer : :: windows::core::PWSTR ) -> u32 ); ReportRadiusServerListW(buffersizeinchar, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn SendScsiInquiry(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, lun: u64, evpdcmddt: u8, pagecode: u8, scsistatus: *mut u8, responsesize: *mut u32, responsebuffer: *mut u8, sensesize: *mut u32, sensebuffer: *mut u8) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SendScsiInquiry ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , lun : u64 , evpdcmddt : u8 , pagecode : u8 , scsistatus : *mut u8 , responsesize : *mut u32 , responsebuffer : *mut u8 , sensesize : *mut u32 , sensebuffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SendScsiInquiry ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , lun : u64 , evpdcmddt : u8 , pagecode : u8 , scsistatus : *mut u8 , responsesize : *mut u32 , responsebuffer : *mut u8 , sensesize : *mut u32 , sensebuffer : *mut u8 ) -> u32 ); SendScsiInquiry(uniquesessionid, lun, evpdcmddt, pagecode, scsistatus, responsesize, responsebuffer, sensesize, sensebuffer) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn SendScsiReadCapacity(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, lun: u64, scsistatus: *mut u8, responsesize: *mut u32, responsebuffer: *mut u8, sensesize: *mut u32, sensebuffer: *mut u8) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SendScsiReadCapacity ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , lun : u64 , scsistatus : *mut u8 , responsesize : *mut u32 , responsebuffer : *mut u8 , sensesize : *mut u32 , sensebuffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SendScsiReadCapacity ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , lun : u64 , scsistatus : *mut u8 , responsesize : *mut u32 , responsebuffer : *mut u8 , sensesize : *mut u32 , sensebuffer : *mut u8 ) -> u32 ); SendScsiReadCapacity(uniquesessionid, lun, scsistatus, responsesize, responsebuffer, sensesize, sensebuffer) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn SendScsiReportLuns(uniquesessionid: *mut ISCSI_UNIQUE_SESSION_ID, scsistatus: *mut u8, responsesize: *mut u32, responsebuffer: *mut u8, sensesize: *mut u32, sensebuffer: *mut u8) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SendScsiReportLuns ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , scsistatus : *mut u8 , responsesize : *mut u32 , responsebuffer : *mut u8 , sensesize : *mut u32 , sensebuffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SendScsiReportLuns ( uniquesessionid : *mut ISCSI_UNIQUE_SESSION_ID , scsistatus : *mut u8 , responsesize : *mut u32 , responsebuffer : *mut u8 , sensesize : *mut u32 , sensebuffer : *mut u8 ) -> u32 ); SendScsiReportLuns(uniquesessionid, scsistatus, responsesize, responsebuffer, sensesize, sensebuffer) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -557,7 +557,7 @@ pub unsafe fn SetIScsiGroupPresharedKey(keylength: u32, key: *mut u8, persis where P0: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiGroupPresharedKey ( keylength : u32 , key : *mut u8 , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiGroupPresharedKey ( keylength : u32 , key : *mut u8 , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); SetIScsiGroupPresharedKey(keylength, key, persist.into()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -568,7 +568,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiIKEInfoA ( initiatorname : :: windows::core::PCSTR , initiatorportnumber : u32 , authinfo : *mut IKE_AUTHENTICATION_INFORMATION , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiIKEInfoA ( initiatorname : :: windows::core::PCSTR , initiatorportnumber : u32 , authinfo : *mut IKE_AUTHENTICATION_INFORMATION , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); SetIScsiIKEInfoA(initiatorname.into().abi(), initiatorportnumber, authinfo, persist.into()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -579,13 +579,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiIKEInfoW ( initiatorname : :: windows::core::PCWSTR , initiatorportnumber : u32 , authinfo : *mut IKE_AUTHENTICATION_INFORMATION , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiIKEInfoW ( initiatorname : :: windows::core::PCWSTR , initiatorportnumber : u32 , authinfo : *mut IKE_AUTHENTICATION_INFORMATION , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); SetIScsiIKEInfoW(initiatorname.into().abi(), initiatorportnumber, authinfo, persist.into()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn SetIScsiInitiatorCHAPSharedSecret(sharedsecretlength: u32, sharedsecret: *mut u8) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiInitiatorCHAPSharedSecret ( sharedsecretlength : u32 , sharedsecret : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiInitiatorCHAPSharedSecret ( sharedsecretlength : u32 , sharedsecret : *mut u8 ) -> u32 ); SetIScsiInitiatorCHAPSharedSecret(sharedsecretlength, sharedsecret) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -594,7 +594,7 @@ pub unsafe fn SetIScsiInitiatorNodeNameA(initiatornodename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiInitiatorNodeNameA ( initiatornodename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiInitiatorNodeNameA ( initiatornodename : :: windows::core::PCSTR ) -> u32 ); SetIScsiInitiatorNodeNameA(initiatornodename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] @@ -603,13 +603,13 @@ pub unsafe fn SetIScsiInitiatorNodeNameW(initiatornodename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiInitiatorNodeNameW ( initiatornodename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiInitiatorNodeNameW ( initiatornodename : :: windows::core::PCWSTR ) -> u32 ); SetIScsiInitiatorNodeNameW(initiatornodename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn SetIScsiInitiatorRADIUSSharedSecret(sharedsecretlength: u32, sharedsecret: *mut u8) -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiInitiatorRADIUSSharedSecret ( sharedsecretlength : u32 , sharedsecret : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiInitiatorRADIUSSharedSecret ( sharedsecretlength : u32 , sharedsecret : *mut u8 ) -> u32 ); SetIScsiInitiatorRADIUSSharedSecret(sharedsecretlength, sharedsecret) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -622,7 +622,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiTunnelModeOuterAddressA ( initiatorname : :: windows::core::PCSTR , initiatorportnumber : u32 , destinationaddress : :: windows::core::PCSTR , outermodeaddress : :: windows::core::PCSTR , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiTunnelModeOuterAddressA ( initiatorname : :: windows::core::PCSTR , initiatorportnumber : u32 , destinationaddress : :: windows::core::PCSTR , outermodeaddress : :: windows::core::PCSTR , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); SetIScsiTunnelModeOuterAddressA(initiatorname.into().abi(), initiatorportnumber, destinationaddress.into().abi(), outermodeaddress.into().abi(), persist.into()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`, `\"Win32_Foundation\"`*"] @@ -635,19 +635,19 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetIScsiTunnelModeOuterAddressW ( initiatorname : :: windows::core::PCWSTR , initiatorportnumber : u32 , destinationaddress : :: windows::core::PCWSTR , outermodeaddress : :: windows::core::PCWSTR , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetIScsiTunnelModeOuterAddressW ( initiatorname : :: windows::core::PCWSTR , initiatorportnumber : u32 , destinationaddress : :: windows::core::PCWSTR , outermodeaddress : :: windows::core::PCWSTR , persist : super::super::Foundation:: BOOLEAN ) -> u32 ); SetIScsiTunnelModeOuterAddressW(initiatorname.into().abi(), initiatorportnumber, destinationaddress.into().abi(), outermodeaddress.into().abi(), persist.into()) } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn SetupPersistentIScsiDevices() -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetupPersistentIScsiDevices ( ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetupPersistentIScsiDevices ( ) -> u32 ); SetupPersistentIScsiDevices() } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] #[inline] pub unsafe fn SetupPersistentIScsiVolumes() -> u32 { - ::windows::core::link ! ( "iscsidsc.dll""system" fn SetupPersistentIScsiVolumes ( ) -> u32 ); + ::windows::imp::link ! ( "iscsidsc.dll""system" fn SetupPersistentIScsiVolumes ( ) -> u32 ); SetupPersistentIScsiVolumes() } #[doc = "*Required features: `\"Win32_Storage_IscsiDisc\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs index 6edb923a5b..195ab03192 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetAddColumnA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const i8 , pcolumndef : *const JET_COLUMNDEF , pvdefault : *const ::core::ffi::c_void , cbdefault : u32 , pcolumnid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetAddColumnA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const i8 , pcolumndef : *const JET_COLUMNDEF , pvdefault : *const ::core::ffi::c_void , cbdefault : u32 , pcolumnid : *mut u32 ) -> i32 ); JetAddColumnA(sesid.into(), tableid.into(), szcolumnname, pcolumndef, ::core::mem::transmute(pvdefault.unwrap_or(::std::ptr::null())), cbdefault, ::core::mem::transmute(pcolumnid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetAddColumnW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const u16 , pcolumndef : *const JET_COLUMNDEF , pvdefault : *const ::core::ffi::c_void , cbdefault : u32 , pcolumnid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetAddColumnW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const u16 , pcolumndef : *const JET_COLUMNDEF , pvdefault : *const ::core::ffi::c_void , cbdefault : u32 , pcolumnid : *mut u32 ) -> i32 ); JetAddColumnW(sesid.into(), tableid.into(), szcolumnname, pcolumndef, ::core::mem::transmute(pvdefault.unwrap_or(::std::ptr::null())), cbdefault, ::core::mem::transmute(pcolumnid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -27,7 +27,7 @@ pub unsafe fn JetAttachDatabase2A(sesid: P0, szfilename: *const i8, cpgdatab where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetAttachDatabase2A ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , cpgdatabasesizemax : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetAttachDatabase2A ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , cpgdatabasesizemax : u32 , grbit : u32 ) -> i32 ); JetAttachDatabase2A(sesid.into(), szfilename, cpgdatabasesizemax, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn JetAttachDatabase2W(sesid: P0, szfilename: *const u16, cpgdata where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetAttachDatabase2W ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , cpgdatabasesizemax : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetAttachDatabase2W ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , cpgdatabasesizemax : u32 , grbit : u32 ) -> i32 ); JetAttachDatabase2W(sesid.into(), szfilename, cpgdatabasesizemax, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -47,7 +47,7 @@ pub unsafe fn JetAttachDatabaseA(sesid: P0, szfilename: *const i8, grbit: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetAttachDatabaseA ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetAttachDatabaseA ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , grbit : u32 ) -> i32 ); JetAttachDatabaseA(sesid.into(), szfilename, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -57,14 +57,14 @@ pub unsafe fn JetAttachDatabaseW(sesid: P0, szfilename: *const u16, grbit: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetAttachDatabaseW ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetAttachDatabaseW ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , grbit : u32 ) -> i32 ); JetAttachDatabaseW(sesid.into(), szfilename, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetBackupA(szbackuppath: *const i8, grbit: u32, pfnstatus: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetBackupA ( szbackuppath : *const i8 , grbit : u32 , pfnstatus : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBackupA ( szbackuppath : *const i8 , grbit : u32 , pfnstatus : JET_PFNSTATUS ) -> i32 ); JetBackupA(szbackuppath, grbit, pfnstatus) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -74,7 +74,7 @@ pub unsafe fn JetBackupInstanceA(instance: P0, szbackuppath: *const i8, grbi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetBackupInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szbackuppath : *const i8 , grbit : u32 , pfnstatus : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBackupInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szbackuppath : *const i8 , grbit : u32 , pfnstatus : JET_PFNSTATUS ) -> i32 ); JetBackupInstanceA(instance.into(), szbackuppath, grbit, pfnstatus) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -84,20 +84,20 @@ pub unsafe fn JetBackupInstanceW(instance: P0, szbackuppath: *const u16, grb where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetBackupInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , szbackuppath : *const u16 , grbit : u32 , pfnstatus : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBackupInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , szbackuppath : *const u16 , grbit : u32 , pfnstatus : JET_PFNSTATUS ) -> i32 ); JetBackupInstanceW(instance.into(), szbackuppath, grbit, pfnstatus) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetBackupW(szbackuppath: *const u16, grbit: u32, pfnstatus: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetBackupW ( szbackuppath : *const u16 , grbit : u32 , pfnstatus : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBackupW ( szbackuppath : *const u16 , grbit : u32 , pfnstatus : JET_PFNSTATUS ) -> i32 ); JetBackupW(szbackuppath, grbit, pfnstatus) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetBeginExternalBackup(grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetBeginExternalBackup ( grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBeginExternalBackup ( grbit : u32 ) -> i32 ); JetBeginExternalBackup(grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -107,7 +107,7 @@ pub unsafe fn JetBeginExternalBackupInstance(instance: P0, grbit: u32) -> i3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetBeginExternalBackupInstance ( instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBeginExternalBackupInstance ( instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); JetBeginExternalBackupInstance(instance.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn JetBeginSessionA(instance: P0, psesid: *mut super::StructuredS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetBeginSessionA ( instance : super::StructuredStorage:: JET_INSTANCE , psesid : *mut super::StructuredStorage:: JET_SESID , szusername : *const i8 , szpassword : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBeginSessionA ( instance : super::StructuredStorage:: JET_INSTANCE , psesid : *mut super::StructuredStorage:: JET_SESID , szusername : *const i8 , szpassword : *const i8 ) -> i32 ); JetBeginSessionA(instance.into(), psesid, ::core::mem::transmute(szusername.unwrap_or(::std::ptr::null())), ::core::mem::transmute(szpassword.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -127,7 +127,7 @@ pub unsafe fn JetBeginSessionW(instance: P0, psesid: *mut super::StructuredS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetBeginSessionW ( instance : super::StructuredStorage:: JET_INSTANCE , psesid : *mut super::StructuredStorage:: JET_SESID , szusername : *const u16 , szpassword : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBeginSessionW ( instance : super::StructuredStorage:: JET_INSTANCE , psesid : *mut super::StructuredStorage:: JET_SESID , szusername : *const u16 , szpassword : *const u16 ) -> i32 ); JetBeginSessionW(instance.into(), psesid, ::core::mem::transmute(szusername.unwrap_or(::std::ptr::null())), ::core::mem::transmute(szpassword.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -137,7 +137,7 @@ pub unsafe fn JetBeginTransaction(sesid: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetBeginTransaction ( sesid : super::StructuredStorage:: JET_SESID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBeginTransaction ( sesid : super::StructuredStorage:: JET_SESID ) -> i32 ); JetBeginTransaction(sesid.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -147,7 +147,7 @@ pub unsafe fn JetBeginTransaction2(sesid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetBeginTransaction2 ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBeginTransaction2 ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); JetBeginTransaction2(sesid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -157,7 +157,7 @@ pub unsafe fn JetBeginTransaction3(sesid: P0, trxid: i64, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetBeginTransaction3 ( sesid : super::StructuredStorage:: JET_SESID , trxid : i64 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetBeginTransaction3 ( sesid : super::StructuredStorage:: JET_SESID , trxid : i64 , grbit : u32 ) -> i32 ); JetBeginTransaction3(sesid.into(), trxid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -167,7 +167,7 @@ pub unsafe fn JetCloseDatabase(sesid: P0, dbid: u32, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCloseDatabase ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCloseDatabase ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , grbit : u32 ) -> i32 ); JetCloseDatabase(sesid.into(), dbid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -177,7 +177,7 @@ pub unsafe fn JetCloseFile(hffile: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCloseFile ( hffile : super::StructuredStorage:: JET_HANDLE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCloseFile ( hffile : super::StructuredStorage:: JET_HANDLE ) -> i32 ); JetCloseFile(hffile.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -188,7 +188,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCloseFileInstance ( instance : super::StructuredStorage:: JET_INSTANCE , hffile : super::StructuredStorage:: JET_HANDLE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCloseFileInstance ( instance : super::StructuredStorage:: JET_INSTANCE , hffile : super::StructuredStorage:: JET_HANDLE ) -> i32 ); JetCloseFileInstance(instance.into(), hffile.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -199,7 +199,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCloseTable ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCloseTable ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID ) -> i32 ); JetCloseTable(sesid.into(), tableid.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -209,7 +209,7 @@ pub unsafe fn JetCommitTransaction(sesid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCommitTransaction ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCommitTransaction ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); JetCommitTransaction(sesid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -219,7 +219,7 @@ pub unsafe fn JetCommitTransaction2(sesid: P0, grbit: u32, cmsecdurablecommi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCommitTransaction2 ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 , cmsecdurablecommit : u32 , pcommitid : *mut JET_COMMIT_ID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCommitTransaction2 ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 , cmsecdurablecommit : u32 , pcommitid : *mut JET_COMMIT_ID ) -> i32 ); JetCommitTransaction2(sesid.into(), grbit, cmsecdurablecommit, ::core::mem::transmute(pcommitid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -229,7 +229,7 @@ pub unsafe fn JetCompactA(sesid: P0, szdatabasesrc: *const i8, szdatabasedes where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCompactA ( sesid : super::StructuredStorage:: JET_SESID , szdatabasesrc : *const i8 , szdatabasedest : *const i8 , pfnstatus : JET_PFNSTATUS , pconvert : *const JET_CONVERT_A , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCompactA ( sesid : super::StructuredStorage:: JET_SESID , szdatabasesrc : *const i8 , szdatabasedest : *const i8 , pfnstatus : JET_PFNSTATUS , pconvert : *const JET_CONVERT_A , grbit : u32 ) -> i32 ); JetCompactA(sesid.into(), szdatabasesrc, szdatabasedest, pfnstatus, ::core::mem::transmute(pconvert.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -239,7 +239,7 @@ pub unsafe fn JetCompactW(sesid: P0, szdatabasesrc: *const u16, szdatabasede where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCompactW ( sesid : super::StructuredStorage:: JET_SESID , szdatabasesrc : *const u16 , szdatabasedest : *const u16 , pfnstatus : JET_PFNSTATUS , pconvert : *const JET_CONVERT_W , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCompactW ( sesid : super::StructuredStorage:: JET_SESID , szdatabasesrc : *const u16 , szdatabasedest : *const u16 , pfnstatus : JET_PFNSTATUS , pconvert : *const JET_CONVERT_W , grbit : u32 ) -> i32 ); JetCompactW(sesid.into(), szdatabasesrc, szdatabasedest, pfnstatus, ::core::mem::transmute(pconvert.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -250,13 +250,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetComputeStats ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetComputeStats ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID ) -> i32 ); JetComputeStats(sesid.into(), tableid.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetConfigureProcessForCrashDump(grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetConfigureProcessForCrashDump ( grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetConfigureProcessForCrashDump ( grbit : u32 ) -> i32 ); JetConfigureProcessForCrashDump(grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -266,7 +266,7 @@ pub unsafe fn JetCreateDatabase2A(sesid: P0, szfilename: *const i8, cpgdatab where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateDatabase2A ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , cpgdatabasesizemax : u32 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateDatabase2A ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , cpgdatabasesizemax : u32 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); JetCreateDatabase2A(sesid.into(), szfilename, cpgdatabasesizemax, pdbid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -276,7 +276,7 @@ pub unsafe fn JetCreateDatabase2W(sesid: P0, szfilename: *const u16, cpgdata where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateDatabase2W ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , cpgdatabasesizemax : u32 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateDatabase2W ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , cpgdatabasesizemax : u32 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); JetCreateDatabase2W(sesid.into(), szfilename, cpgdatabasesizemax, pdbid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -286,7 +286,7 @@ pub unsafe fn JetCreateDatabaseA(sesid: P0, szfilename: *const i8, szconnect where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateDatabaseA ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , szconnect : *const i8 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateDatabaseA ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , szconnect : *const i8 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); JetCreateDatabaseA(sesid.into(), szfilename, ::core::mem::transmute(szconnect.unwrap_or(::std::ptr::null())), pdbid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -296,7 +296,7 @@ pub unsafe fn JetCreateDatabaseW(sesid: P0, szfilename: *const u16, szconnec where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateDatabaseW ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , szconnect : *const u16 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateDatabaseW ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , szconnect : *const u16 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); JetCreateDatabaseW(sesid.into(), szfilename, ::core::mem::transmute(szconnect.unwrap_or(::std::ptr::null())), pdbid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -307,7 +307,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateIndex2A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE_A , cindexcreate : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateIndex2A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE_A , cindexcreate : u32 ) -> i32 ); JetCreateIndex2A(sesid.into(), tableid.into(), ::core::mem::transmute(pindexcreate.as_ptr()), pindexcreate.len() as _) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -318,7 +318,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateIndex2W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE_W , cindexcreate : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateIndex2W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE_W , cindexcreate : u32 ) -> i32 ); JetCreateIndex2W(sesid.into(), tableid.into(), ::core::mem::transmute(pindexcreate.as_ptr()), pindexcreate.len() as _) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -329,7 +329,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateIndex3A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE2_A , cindexcreate : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateIndex3A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE2_A , cindexcreate : u32 ) -> i32 ); JetCreateIndex3A(sesid.into(), tableid.into(), ::core::mem::transmute(pindexcreate.as_ptr()), pindexcreate.len() as _) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -340,7 +340,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateIndex3W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE2_W , cindexcreate : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateIndex3W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE2_W , cindexcreate : u32 ) -> i32 ); JetCreateIndex3W(sesid.into(), tableid.into(), ::core::mem::transmute(pindexcreate.as_ptr()), pindexcreate.len() as _) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -351,7 +351,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateIndex4A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE3_A , cindexcreate : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateIndex4A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE3_A , cindexcreate : u32 ) -> i32 ); JetCreateIndex4A(sesid.into(), tableid.into(), ::core::mem::transmute(pindexcreate.as_ptr()), pindexcreate.len() as _) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -362,7 +362,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateIndex4W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE3_W , cindexcreate : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateIndex4W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pindexcreate : *const JET_INDEXCREATE3_W , cindexcreate : u32 ) -> i32 ); JetCreateIndex4W(sesid.into(), tableid.into(), ::core::mem::transmute(pindexcreate.as_ptr()), pindexcreate.len() as _) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -373,7 +373,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateIndexA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , grbit : u32 , szkey : :: windows::core::PCSTR , cbkey : u32 , ldensity : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateIndexA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , grbit : u32 , szkey : :: windows::core::PCSTR , cbkey : u32 , ldensity : u32 ) -> i32 ); JetCreateIndexA(sesid.into(), tableid.into(), szindexname, grbit, ::core::mem::transmute(szkey.as_ptr()), szkey.len() as _, ldensity) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -385,35 +385,35 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateIndexW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , grbit : u32 , szkey : :: windows::core::PCWSTR , cbkey : u32 , ldensity : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateIndexW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , grbit : u32 , szkey : :: windows::core::PCWSTR , cbkey : u32 , ldensity : u32 ) -> i32 ); JetCreateIndexW(sesid.into(), tableid.into(), szindexname, grbit, szkey.into().abi(), cbkey, ldensity) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetCreateInstance2A(pinstance: *mut super::StructuredStorage::JET_INSTANCE, szinstancename: ::core::option::Option<*const i8>, szdisplayname: ::core::option::Option<*const i8>, grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateInstance2A ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , szinstancename : *const i8 , szdisplayname : *const i8 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateInstance2A ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , szinstancename : *const i8 , szdisplayname : *const i8 , grbit : u32 ) -> i32 ); JetCreateInstance2A(pinstance, ::core::mem::transmute(szinstancename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(szdisplayname.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetCreateInstance2W(pinstance: *mut super::StructuredStorage::JET_INSTANCE, szinstancename: ::core::option::Option<*const u16>, szdisplayname: ::core::option::Option<*const u16>, grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateInstance2W ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , szinstancename : *const u16 , szdisplayname : *const u16 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateInstance2W ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , szinstancename : *const u16 , szdisplayname : *const u16 , grbit : u32 ) -> i32 ); JetCreateInstance2W(pinstance, ::core::mem::transmute(szinstancename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(szdisplayname.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetCreateInstanceA(pinstance: *mut super::StructuredStorage::JET_INSTANCE, szinstancename: ::core::option::Option<*const i8>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateInstanceA ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , szinstancename : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateInstanceA ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , szinstancename : *const i8 ) -> i32 ); JetCreateInstanceA(pinstance, ::core::mem::transmute(szinstancename.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetCreateInstanceW(pinstance: *mut super::StructuredStorage::JET_INSTANCE, szinstancename: ::core::option::Option<*const u16>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateInstanceW ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , szinstancename : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateInstanceW ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , szinstancename : *const u16 ) -> i32 ); JetCreateInstanceW(pinstance, ::core::mem::transmute(szinstancename.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -423,7 +423,7 @@ pub unsafe fn JetCreateTableA(sesid: P0, dbid: u32, sztablename: *const i8, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , lpages : u32 , ldensity : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , lpages : u32 , ldensity : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID ) -> i32 ); JetCreateTableA(sesid.into(), dbid, sztablename, lpages, ldensity, ptableid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -433,7 +433,7 @@ pub unsafe fn JetCreateTableColumnIndex2A(sesid: P0, dbid: u32, ptablecreate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex2A ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE2_A ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex2A ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE2_A ) -> i32 ); JetCreateTableColumnIndex2A(sesid.into(), dbid, ptablecreate) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -443,7 +443,7 @@ pub unsafe fn JetCreateTableColumnIndex2W(sesid: P0, dbid: u32, ptablecreate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex2W ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE2_W ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex2W ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE2_W ) -> i32 ); JetCreateTableColumnIndex2W(sesid.into(), dbid, ptablecreate) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -453,7 +453,7 @@ pub unsafe fn JetCreateTableColumnIndex3A(sesid: P0, dbid: u32, ptablecreate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex3A ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE3_A ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex3A ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE3_A ) -> i32 ); JetCreateTableColumnIndex3A(sesid.into(), dbid, ptablecreate) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -463,7 +463,7 @@ pub unsafe fn JetCreateTableColumnIndex3W(sesid: P0, dbid: u32, ptablecreate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex3W ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE3_W ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex3W ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE3_W ) -> i32 ); JetCreateTableColumnIndex3W(sesid.into(), dbid, ptablecreate) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -473,7 +473,7 @@ pub unsafe fn JetCreateTableColumnIndex4A(sesid: P0, dbid: u32, ptablecreate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex4A ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE4_A ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex4A ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE4_A ) -> i32 ); JetCreateTableColumnIndex4A(sesid.into(), dbid, ptablecreate) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -483,7 +483,7 @@ pub unsafe fn JetCreateTableColumnIndex4W(sesid: P0, dbid: u32, ptablecreate where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex4W ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE4_W ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableColumnIndex4W ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE4_W ) -> i32 ); JetCreateTableColumnIndex4W(sesid.into(), dbid, ptablecreate) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -493,7 +493,7 @@ pub unsafe fn JetCreateTableColumnIndexA(sesid: P0, dbid: u32, ptablecreate: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableColumnIndexA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE_A ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableColumnIndexA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE_A ) -> i32 ); JetCreateTableColumnIndexA(sesid.into(), dbid, ptablecreate) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -503,7 +503,7 @@ pub unsafe fn JetCreateTableColumnIndexW(sesid: P0, dbid: u32, ptablecreate: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableColumnIndexW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE_W ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableColumnIndexW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , ptablecreate : *mut JET_TABLECREATE_W ) -> i32 ); JetCreateTableColumnIndexW(sesid.into(), dbid, ptablecreate) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -513,7 +513,7 @@ pub unsafe fn JetCreateTableW(sesid: P0, dbid: u32, sztablename: *const u16, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetCreateTableW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , lpages : u32 , ldensity : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetCreateTableW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , lpages : u32 , ldensity : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID ) -> i32 ); JetCreateTableW(sesid.into(), dbid, sztablename, lpages, ldensity, ptableid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -523,7 +523,7 @@ pub unsafe fn JetDefragment2A(sesid: P0, dbid: u32, sztablename: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDefragment2A ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , pcpasses : *mut u32 , pcseconds : *mut u32 , callback : JET_CALLBACK , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDefragment2A ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , pcpasses : *mut u32 , pcseconds : *mut u32 , callback : JET_CALLBACK , grbit : u32 ) -> i32 ); JetDefragment2A(sesid.into(), dbid, ::core::mem::transmute(sztablename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcpasses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcseconds.unwrap_or(::std::ptr::null_mut())), callback, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -533,7 +533,7 @@ pub unsafe fn JetDefragment2W(sesid: P0, dbid: u32, sztablename: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDefragment2W ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , pcpasses : *mut u32 , pcseconds : *mut u32 , callback : JET_CALLBACK , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDefragment2W ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , pcpasses : *mut u32 , pcseconds : *mut u32 , callback : JET_CALLBACK , grbit : u32 ) -> i32 ); JetDefragment2W(sesid.into(), dbid, ::core::mem::transmute(sztablename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcpasses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcseconds.unwrap_or(::std::ptr::null_mut())), callback, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -543,7 +543,7 @@ pub unsafe fn JetDefragment3A(sesid: P0, szdatabasename: *const i8, sztablen where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDefragment3A ( sesid : super::StructuredStorage:: JET_SESID , szdatabasename : *const i8 , sztablename : *const i8 , pcpasses : *mut u32 , pcseconds : *mut u32 , callback : JET_CALLBACK , pvcontext : *const ::core::ffi::c_void , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDefragment3A ( sesid : super::StructuredStorage:: JET_SESID , szdatabasename : *const i8 , sztablename : *const i8 , pcpasses : *mut u32 , pcseconds : *mut u32 , callback : JET_CALLBACK , pvcontext : *const ::core::ffi::c_void , grbit : u32 ) -> i32 ); JetDefragment3A(sesid.into(), szdatabasename, ::core::mem::transmute(sztablename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcpasses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcseconds.unwrap_or(::std::ptr::null_mut())), callback, pvcontext, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -553,7 +553,7 @@ pub unsafe fn JetDefragment3W(sesid: P0, szdatabasename: *const u16, sztable where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDefragment3W ( sesid : super::StructuredStorage:: JET_SESID , szdatabasename : *const u16 , sztablename : *const u16 , pcpasses : *mut u32 , pcseconds : *mut u32 , callback : JET_CALLBACK , pvcontext : *const ::core::ffi::c_void , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDefragment3W ( sesid : super::StructuredStorage:: JET_SESID , szdatabasename : *const u16 , sztablename : *const u16 , pcpasses : *mut u32 , pcseconds : *mut u32 , callback : JET_CALLBACK , pvcontext : *const ::core::ffi::c_void , grbit : u32 ) -> i32 ); JetDefragment3W(sesid.into(), szdatabasename, ::core::mem::transmute(sztablename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcpasses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcseconds.unwrap_or(::std::ptr::null_mut())), callback, pvcontext, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -563,7 +563,7 @@ pub unsafe fn JetDefragmentA(sesid: P0, dbid: u32, sztablename: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDefragmentA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , pcpasses : *mut u32 , pcseconds : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDefragmentA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , pcpasses : *mut u32 , pcseconds : *mut u32 , grbit : u32 ) -> i32 ); JetDefragmentA(sesid.into(), dbid, ::core::mem::transmute(sztablename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcpasses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcseconds.unwrap_or(::std::ptr::null_mut())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -573,7 +573,7 @@ pub unsafe fn JetDefragmentW(sesid: P0, dbid: u32, sztablename: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDefragmentW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , pcpasses : *mut u32 , pcseconds : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDefragmentW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , pcpasses : *mut u32 , pcseconds : *mut u32 , grbit : u32 ) -> i32 ); JetDefragmentW(sesid.into(), dbid, ::core::mem::transmute(sztablename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcpasses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcseconds.unwrap_or(::std::ptr::null_mut())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -584,7 +584,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDelete ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDelete ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID ) -> i32 ); JetDelete(sesid.into(), tableid.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -595,7 +595,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDeleteColumn2A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const i8 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDeleteColumn2A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const i8 , grbit : u32 ) -> i32 ); JetDeleteColumn2A(sesid.into(), tableid.into(), szcolumnname, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -606,7 +606,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDeleteColumn2W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const u16 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDeleteColumn2W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const u16 , grbit : u32 ) -> i32 ); JetDeleteColumn2W(sesid.into(), tableid.into(), szcolumnname, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -617,7 +617,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDeleteColumnA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDeleteColumnA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const i8 ) -> i32 ); JetDeleteColumnA(sesid.into(), tableid.into(), szcolumnname) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -628,7 +628,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDeleteColumnW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDeleteColumnW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const u16 ) -> i32 ); JetDeleteColumnW(sesid.into(), tableid.into(), szcolumnname) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -639,7 +639,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDeleteIndexA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDeleteIndexA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 ) -> i32 ); JetDeleteIndexA(sesid.into(), tableid.into(), szindexname) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -650,7 +650,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDeleteIndexW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDeleteIndexW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 ) -> i32 ); JetDeleteIndexW(sesid.into(), tableid.into(), szindexname) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -660,7 +660,7 @@ pub unsafe fn JetDeleteTableA(sesid: P0, dbid: u32, sztablename: *const i8) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDeleteTableA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDeleteTableA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 ) -> i32 ); JetDeleteTableA(sesid.into(), dbid, sztablename) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -670,7 +670,7 @@ pub unsafe fn JetDeleteTableW(sesid: P0, dbid: u32, sztablename: *const u16) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDeleteTableW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDeleteTableW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 ) -> i32 ); JetDeleteTableW(sesid.into(), dbid, sztablename) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -680,7 +680,7 @@ pub unsafe fn JetDetachDatabase2A(sesid: P0, szfilename: ::core::option::Opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDetachDatabase2A ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDetachDatabase2A ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , grbit : u32 ) -> i32 ); JetDetachDatabase2A(sesid.into(), ::core::mem::transmute(szfilename.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -690,7 +690,7 @@ pub unsafe fn JetDetachDatabase2W(sesid: P0, szfilename: ::core::option::Opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDetachDatabase2W ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDetachDatabase2W ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , grbit : u32 ) -> i32 ); JetDetachDatabase2W(sesid.into(), ::core::mem::transmute(szfilename.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -700,7 +700,7 @@ pub unsafe fn JetDetachDatabaseA(sesid: P0, szfilename: ::core::option::Opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDetachDatabaseA ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDetachDatabaseA ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 ) -> i32 ); JetDetachDatabaseA(sesid.into(), ::core::mem::transmute(szfilename.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -710,7 +710,7 @@ pub unsafe fn JetDetachDatabaseW(sesid: P0, szfilename: ::core::option::Opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDetachDatabaseW ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDetachDatabaseW ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 ) -> i32 ); JetDetachDatabaseW(sesid.into(), ::core::mem::transmute(szfilename.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -721,7 +721,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDupCursor ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , ptableid : *mut super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDupCursor ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , ptableid : *mut super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); JetDupCursor(sesid.into(), tableid.into(), ptableid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -731,27 +731,27 @@ pub unsafe fn JetDupSession(sesid: P0, psesid: *mut super::StructuredStorage where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetDupSession ( sesid : super::StructuredStorage:: JET_SESID , psesid : *mut super::StructuredStorage:: JET_SESID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetDupSession ( sesid : super::StructuredStorage:: JET_SESID , psesid : *mut super::StructuredStorage:: JET_SESID ) -> i32 ); JetDupSession(sesid.into(), psesid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetEnableMultiInstanceA(psetsysparam: ::core::option::Option<&[JET_SETSYSPARAM_A]>, pcsetsucceed: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetEnableMultiInstanceA ( psetsysparam : *const JET_SETSYSPARAM_A , csetsysparam : u32 , pcsetsucceed : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetEnableMultiInstanceA ( psetsysparam : *const JET_SETSYSPARAM_A , csetsysparam : u32 , pcsetsucceed : *mut u32 ) -> i32 ); JetEnableMultiInstanceA(::core::mem::transmute(psetsysparam.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psetsysparam.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcsetsucceed.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetEnableMultiInstanceW(psetsysparam: ::core::option::Option<&[JET_SETSYSPARAM_W]>, pcsetsucceed: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetEnableMultiInstanceW ( psetsysparam : *const JET_SETSYSPARAM_W , csetsysparam : u32 , pcsetsucceed : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetEnableMultiInstanceW ( psetsysparam : *const JET_SETSYSPARAM_W , csetsysparam : u32 , pcsetsucceed : *mut u32 ) -> i32 ); JetEnableMultiInstanceW(::core::mem::transmute(psetsysparam.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psetsysparam.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcsetsucceed.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetEndExternalBackup() -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetEndExternalBackup ( ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetEndExternalBackup ( ) -> i32 ); JetEndExternalBackup() } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -761,7 +761,7 @@ pub unsafe fn JetEndExternalBackupInstance(instance: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetEndExternalBackupInstance ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetEndExternalBackupInstance ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); JetEndExternalBackupInstance(instance.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -771,7 +771,7 @@ pub unsafe fn JetEndExternalBackupInstance2(instance: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetEndExternalBackupInstance2 ( instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetEndExternalBackupInstance2 ( instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); JetEndExternalBackupInstance2(instance.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -781,7 +781,7 @@ pub unsafe fn JetEndSession(sesid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetEndSession ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetEndSession ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); JetEndSession(sesid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -792,7 +792,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetEnumerateColumns ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , cenumcolumnid : u32 , rgenumcolumnid : *const JET_ENUMCOLUMNID , pcenumcolumn : *mut u32 , prgenumcolumn : *mut *mut JET_ENUMCOLUMN , pfnrealloc : JET_PFNREALLOC , pvrealloccontext : *const ::core::ffi::c_void , cbdatamost : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetEnumerateColumns ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , cenumcolumnid : u32 , rgenumcolumnid : *const JET_ENUMCOLUMNID , pcenumcolumn : *mut u32 , prgenumcolumn : *mut *mut JET_ENUMCOLUMN , pfnrealloc : JET_PFNREALLOC , pvrealloccontext : *const ::core::ffi::c_void , cbdatamost : u32 , grbit : u32 ) -> i32 ); JetEnumerateColumns(sesid.into(), tableid.into(), rgenumcolumnid.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgenumcolumnid.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcenumcolumn, prgenumcolumn, pfnrealloc, ::core::mem::transmute(pvrealloccontext.unwrap_or(::std::ptr::null())), cbdatamost, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -803,35 +803,35 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetEscrowUpdate ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , columnid : u32 , pv : *const ::core::ffi::c_void , cbmax : u32 , pvold : *mut ::core::ffi::c_void , cboldmax : u32 , pcboldactual : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetEscrowUpdate ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , columnid : u32 , pv : *const ::core::ffi::c_void , cbmax : u32 , pvold : *mut ::core::ffi::c_void , cboldmax : u32 , pcboldactual : *mut u32 , grbit : u32 ) -> i32 ); JetEscrowUpdate(sesid.into(), tableid.into(), columnid, pv, cbmax, ::core::mem::transmute(pvold.unwrap_or(::std::ptr::null_mut())), cboldmax, ::core::mem::transmute(pcboldactual.unwrap_or(::std::ptr::null_mut())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_StructuredStorage"))] #[inline] pub unsafe fn JetExternalRestore2A(szcheckpointfilepath: *const i8, szlogpath: *const i8, rgrstmap: ::core::option::Option<&[JET_RSTMAP_A]>, szbackuplogpath: *const i8, ploginfo: *mut JET_LOGINFO_A, sztargetinstancename: ::core::option::Option<*const i8>, sztargetinstancelogpath: ::core::option::Option<*const i8>, sztargetinstancecheckpointpath: ::core::option::Option<*const i8>, pfn: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetExternalRestore2A ( szcheckpointfilepath : *const i8 , szlogpath : *const i8 , rgrstmap : *const JET_RSTMAP_A , crstfilemap : i32 , szbackuplogpath : *const i8 , ploginfo : *mut JET_LOGINFO_A , sztargetinstancename : *const i8 , sztargetinstancelogpath : *const i8 , sztargetinstancecheckpointpath : *const i8 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetExternalRestore2A ( szcheckpointfilepath : *const i8 , szlogpath : *const i8 , rgrstmap : *const JET_RSTMAP_A , crstfilemap : i32 , szbackuplogpath : *const i8 , ploginfo : *mut JET_LOGINFO_A , sztargetinstancename : *const i8 , sztargetinstancelogpath : *const i8 , sztargetinstancecheckpointpath : *const i8 , pfn : JET_PFNSTATUS ) -> i32 ); JetExternalRestore2A(szcheckpointfilepath, szlogpath, ::core::mem::transmute(rgrstmap.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgrstmap.as_deref().map_or(0, |slice| slice.len() as _), szbackuplogpath, ploginfo, ::core::mem::transmute(sztargetinstancename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sztargetinstancelogpath.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sztargetinstancecheckpointpath.unwrap_or(::std::ptr::null())), pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetExternalRestore2W(szcheckpointfilepath: *const u16, szlogpath: *const u16, rgrstmap: ::core::option::Option<&[JET_RSTMAP_W]>, szbackuplogpath: *const u16, ploginfo: *mut JET_LOGINFO_W, sztargetinstancename: ::core::option::Option<*const u16>, sztargetinstancelogpath: ::core::option::Option<*const u16>, sztargetinstancecheckpointpath: ::core::option::Option<*const u16>, pfn: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetExternalRestore2W ( szcheckpointfilepath : *const u16 , szlogpath : *const u16 , rgrstmap : *const JET_RSTMAP_W , crstfilemap : i32 , szbackuplogpath : *const u16 , ploginfo : *mut JET_LOGINFO_W , sztargetinstancename : *const u16 , sztargetinstancelogpath : *const u16 , sztargetinstancecheckpointpath : *const u16 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetExternalRestore2W ( szcheckpointfilepath : *const u16 , szlogpath : *const u16 , rgrstmap : *const JET_RSTMAP_W , crstfilemap : i32 , szbackuplogpath : *const u16 , ploginfo : *mut JET_LOGINFO_W , sztargetinstancename : *const u16 , sztargetinstancelogpath : *const u16 , sztargetinstancecheckpointpath : *const u16 , pfn : JET_PFNSTATUS ) -> i32 ); JetExternalRestore2W(szcheckpointfilepath, szlogpath, ::core::mem::transmute(rgrstmap.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgrstmap.as_deref().map_or(0, |slice| slice.len() as _), szbackuplogpath, ploginfo, ::core::mem::transmute(sztargetinstancename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sztargetinstancelogpath.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sztargetinstancecheckpointpath.unwrap_or(::std::ptr::null())), pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetExternalRestoreA(szcheckpointfilepath: *const i8, szlogpath: *const i8, rgrstmap: ::core::option::Option<&[JET_RSTMAP_A]>, szbackuplogpath: *const i8, genlow: i32, genhigh: i32, pfn: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetExternalRestoreA ( szcheckpointfilepath : *const i8 , szlogpath : *const i8 , rgrstmap : *const JET_RSTMAP_A , crstfilemap : i32 , szbackuplogpath : *const i8 , genlow : i32 , genhigh : i32 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetExternalRestoreA ( szcheckpointfilepath : *const i8 , szlogpath : *const i8 , rgrstmap : *const JET_RSTMAP_A , crstfilemap : i32 , szbackuplogpath : *const i8 , genlow : i32 , genhigh : i32 , pfn : JET_PFNSTATUS ) -> i32 ); JetExternalRestoreA(szcheckpointfilepath, szlogpath, ::core::mem::transmute(rgrstmap.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgrstmap.as_deref().map_or(0, |slice| slice.len() as _), szbackuplogpath, genlow, genhigh, pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetExternalRestoreW(szcheckpointfilepath: *const u16, szlogpath: *const u16, rgrstmap: ::core::option::Option<&[JET_RSTMAP_W]>, szbackuplogpath: *const u16, genlow: i32, genhigh: i32, pfn: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetExternalRestoreW ( szcheckpointfilepath : *const u16 , szlogpath : *const u16 , rgrstmap : *const JET_RSTMAP_W , crstfilemap : i32 , szbackuplogpath : *const u16 , genlow : i32 , genhigh : i32 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetExternalRestoreW ( szcheckpointfilepath : *const u16 , szlogpath : *const u16 , rgrstmap : *const JET_RSTMAP_W , crstfilemap : i32 , szbackuplogpath : *const u16 , genlow : i32 , genhigh : i32 , pfn : JET_PFNSTATUS ) -> i32 ); JetExternalRestoreW(szcheckpointfilepath, szlogpath, ::core::mem::transmute(rgrstmap.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rgrstmap.as_deref().map_or(0, |slice| slice.len() as _), szbackuplogpath, genlow, genhigh, pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] @@ -840,13 +840,13 @@ pub unsafe fn JetFreeBuffer(pbbuf: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "esent.dll""system" fn JetFreeBuffer ( pbbuf : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetFreeBuffer ( pbbuf : :: windows::core::PCSTR ) -> i32 ); JetFreeBuffer(pbbuf.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetGetAttachInfoA(szzdatabases: ::core::option::Option<&mut [u8]>, pcbactual: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetAttachInfoA ( szzdatabases : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetAttachInfoA ( szzdatabases : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetAttachInfoA(::core::mem::transmute(szzdatabases.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szzdatabases.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -856,7 +856,7 @@ pub unsafe fn JetGetAttachInfoInstanceA(instance: P0, szzdatabases: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetAttachInfoInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szzdatabases : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetAttachInfoInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szzdatabases : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetAttachInfoInstanceA(instance.into(), ::core::mem::transmute(szzdatabases.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szzdatabases.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -866,13 +866,13 @@ pub unsafe fn JetGetAttachInfoInstanceW(instance: P0, szzdatabases: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetAttachInfoInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , szzdatabases : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetAttachInfoInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , szzdatabases : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetAttachInfoInstanceW(instance.into(), ::core::mem::transmute(szzdatabases.unwrap_or(::std::ptr::null_mut())), cbmax, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetGetAttachInfoW(wszzdatabases: ::core::option::Option<*mut u16>, cbmax: u32, pcbactual: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetAttachInfoW ( wszzdatabases : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetAttachInfoW ( wszzdatabases : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetAttachInfoW(::core::mem::transmute(wszzdatabases.unwrap_or(::std::ptr::null_mut())), cbmax, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -883,7 +883,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetBookmark ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvbookmark : *mut ::core::ffi::c_void , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetBookmark ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvbookmark : *mut ::core::ffi::c_void , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetBookmark(sesid.into(), tableid.into(), ::core::mem::transmute(pvbookmark.unwrap_or(::std::ptr::null_mut())), cbmax, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -893,7 +893,7 @@ pub unsafe fn JetGetColumnInfoA(sesid: P0, dbid: u32, sztablename: *const i8 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetColumnInfoA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , pcolumnnameorid : *const i8 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetColumnInfoA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , pcolumnnameorid : *const i8 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetColumnInfoA(sesid.into(), dbid, sztablename, ::core::mem::transmute(pcolumnnameorid.unwrap_or(::std::ptr::null())), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -903,7 +903,7 @@ pub unsafe fn JetGetColumnInfoW(sesid: P0, dbid: u32, sztablename: *const u1 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetColumnInfoW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , pwcolumnnameorid : *const u16 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetColumnInfoW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , pwcolumnnameorid : *const u16 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetColumnInfoW(sesid.into(), dbid, sztablename, ::core::mem::transmute(pwcolumnnameorid.unwrap_or(::std::ptr::null())), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -914,7 +914,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetCurrentIndexA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *mut i8 , cbindexname : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetCurrentIndexA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *mut i8 , cbindexname : u32 ) -> i32 ); JetGetCurrentIndexA(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.as_ptr()), szindexname.len() as _) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -925,7 +925,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetCurrentIndexW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *mut u16 , cbindexname : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetCurrentIndexW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *mut u16 , cbindexname : u32 ) -> i32 ); JetGetCurrentIndexW(sesid.into(), tableid.into(), szindexname, cbindexname) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -936,19 +936,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetCursorInfo ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetCursorInfo ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetCursorInfo(sesid.into(), tableid.into(), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetGetDatabaseFileInfoA(szdatabasename: *const i8, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetDatabaseFileInfoA ( szdatabasename : *const i8 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetDatabaseFileInfoA ( szdatabasename : *const i8 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetDatabaseFileInfoA(szdatabasename, pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetGetDatabaseFileInfoW(szdatabasename: *const u16, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetDatabaseFileInfoW ( szdatabasename : *const u16 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetDatabaseFileInfoW ( szdatabasename : *const u16 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetDatabaseFileInfoW(szdatabasename, pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -958,7 +958,7 @@ pub unsafe fn JetGetDatabaseInfoA(sesid: P0, dbid: u32, pvresult: *mut ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetDatabaseInfoA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetDatabaseInfoA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetDatabaseInfoA(sesid.into(), dbid, pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -968,13 +968,13 @@ pub unsafe fn JetGetDatabaseInfoW(sesid: P0, dbid: u32, pvresult: *mut ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetDatabaseInfoW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetDatabaseInfoW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetDatabaseInfoW(sesid.into(), dbid, pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetGetErrorInfoW(pvcontext: ::core::option::Option<*const ::core::ffi::c_void>, pvresult: *mut ::core::ffi::c_void, cbmax: u32, infolevel: u32, grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetErrorInfoW ( pvcontext : *const ::core::ffi::c_void , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetErrorInfoW ( pvcontext : *const ::core::ffi::c_void , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 , grbit : u32 ) -> i32 ); JetGetErrorInfoW(::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), pvresult, cbmax, infolevel, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -984,7 +984,7 @@ pub unsafe fn JetGetIndexInfoA(sesid: P0, dbid: u32, sztablename: *const i8, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetIndexInfoA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , szindexname : *const i8 , pvresult : *mut ::core::ffi::c_void , cbresult : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetIndexInfoA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , szindexname : *const i8 , pvresult : *mut ::core::ffi::c_void , cbresult : u32 , infolevel : u32 ) -> i32 ); JetGetIndexInfoA(sesid.into(), dbid, sztablename, ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), pvresult, cbresult, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -994,21 +994,21 @@ pub unsafe fn JetGetIndexInfoW(sesid: P0, dbid: u32, sztablename: *const u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetIndexInfoW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , szindexname : *const u16 , pvresult : *mut ::core::ffi::c_void , cbresult : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetIndexInfoW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , szindexname : *const u16 , pvresult : *mut ::core::ffi::c_void , cbresult : u32 , infolevel : u32 ) -> i32 ); JetGetIndexInfoW(sesid.into(), dbid, sztablename, ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), pvresult, cbresult, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetGetInstanceInfoA(pcinstanceinfo: *mut u32, painstanceinfo: *mut *mut JET_INSTANCE_INFO_A) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetInstanceInfoA ( pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_A ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetInstanceInfoA ( pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_A ) -> i32 ); JetGetInstanceInfoA(pcinstanceinfo, painstanceinfo) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetGetInstanceInfoW(pcinstanceinfo: *mut u32, painstanceinfo: *mut *mut JET_INSTANCE_INFO_W) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetInstanceInfoW ( pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_W ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetInstanceInfoW ( pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_W ) -> i32 ); JetGetInstanceInfoW(pcinstanceinfo, painstanceinfo) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1018,7 +1018,7 @@ pub unsafe fn JetGetInstanceMiscInfo(instance: P0, pvresult: *mut ::core::ff where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetInstanceMiscInfo ( instance : super::StructuredStorage:: JET_INSTANCE , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetInstanceMiscInfo ( instance : super::StructuredStorage:: JET_INSTANCE , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetInstanceMiscInfo(instance.into(), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1029,7 +1029,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetLS ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pls : *mut JET_LS , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetLS ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pls : *mut JET_LS , grbit : u32 ) -> i32 ); JetGetLS(sesid.into(), tableid.into(), pls, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1040,13 +1040,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetLock ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetLock ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); JetGetLock(sesid.into(), tableid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetGetLogInfoA(szzlogs: ::core::option::Option<&mut [u8]>, pcbactual: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetLogInfoA ( szzlogs : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetLogInfoA ( szzlogs : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetLogInfoA(::core::mem::transmute(szzlogs.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szzlogs.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1056,7 +1056,7 @@ pub unsafe fn JetGetLogInfoInstance2A(instance: P0, szzlogs: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetLogInfoInstance2A ( instance : super::StructuredStorage:: JET_INSTANCE , szzlogs : *mut i8 , cbmax : u32 , pcbactual : *mut u32 , ploginfo : *mut JET_LOGINFO_A ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetLogInfoInstance2A ( instance : super::StructuredStorage:: JET_INSTANCE , szzlogs : *mut i8 , cbmax : u32 , pcbactual : *mut u32 , ploginfo : *mut JET_LOGINFO_A ) -> i32 ); JetGetLogInfoInstance2A(instance.into(), ::core::mem::transmute(szzlogs.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szzlogs.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ploginfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1066,7 +1066,7 @@ pub unsafe fn JetGetLogInfoInstance2W(instance: P0, wszzlogs: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetLogInfoInstance2W ( instance : super::StructuredStorage:: JET_INSTANCE , wszzlogs : *mut u16 , cbmax : u32 , pcbactual : *mut u32 , ploginfo : *mut JET_LOGINFO_W ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetLogInfoInstance2W ( instance : super::StructuredStorage:: JET_INSTANCE , wszzlogs : *mut u16 , cbmax : u32 , pcbactual : *mut u32 , ploginfo : *mut JET_LOGINFO_W ) -> i32 ); JetGetLogInfoInstance2W(instance.into(), ::core::mem::transmute(wszzlogs.unwrap_or(::std::ptr::null_mut())), cbmax, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ploginfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1076,7 +1076,7 @@ pub unsafe fn JetGetLogInfoInstanceA(instance: P0, szzlogs: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetLogInfoInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szzlogs : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetLogInfoInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szzlogs : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetLogInfoInstanceA(instance.into(), ::core::mem::transmute(szzlogs.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szzlogs.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1086,13 +1086,13 @@ pub unsafe fn JetGetLogInfoInstanceW(instance: P0, wszzlogs: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetLogInfoInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , wszzlogs : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetLogInfoInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , wszzlogs : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetLogInfoInstanceW(instance.into(), ::core::mem::transmute(wszzlogs.unwrap_or(::std::ptr::null_mut())), cbmax, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetGetLogInfoW(szzlogs: ::core::option::Option<*mut u16>, cbmax: u32, pcbactual: ::core::option::Option<*mut u32>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetLogInfoW ( szzlogs : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetLogInfoW ( szzlogs : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetLogInfoW(::core::mem::transmute(szzlogs.unwrap_or(::std::ptr::null_mut())), cbmax, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1102,7 +1102,7 @@ pub unsafe fn JetGetObjectInfoA(sesid: P0, dbid: u32, objtyp: u32, szcontain where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetObjectInfoA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , objtyp : u32 , szcontainername : *const i8 , szobjectname : *const i8 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetObjectInfoA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , objtyp : u32 , szcontainername : *const i8 , szobjectname : *const i8 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetObjectInfoA(sesid.into(), dbid, objtyp, ::core::mem::transmute(szcontainername.unwrap_or(::std::ptr::null())), ::core::mem::transmute(szobjectname.unwrap_or(::std::ptr::null())), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1112,7 +1112,7 @@ pub unsafe fn JetGetObjectInfoW(sesid: P0, dbid: u32, objtyp: u32, szcontain where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetObjectInfoW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , objtyp : u32 , szcontainername : *const u16 , szobjectname : *const u16 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetObjectInfoW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , objtyp : u32 , szcontainername : *const u16 , szobjectname : *const u16 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetObjectInfoW(sesid.into(), dbid, objtyp, ::core::mem::transmute(szcontainername.unwrap_or(::std::ptr::null())), ::core::mem::transmute(szobjectname.unwrap_or(::std::ptr::null())), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1123,7 +1123,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetRecordPosition ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , precpos : *mut JET_RECPOS , cbrecpos : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetRecordPosition ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , precpos : *mut JET_RECPOS , cbrecpos : u32 ) -> i32 ); JetGetRecordPosition(sesid.into(), tableid.into(), precpos, cbrecpos) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1134,7 +1134,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetRecordSize ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , precsize : *mut JET_RECSIZE , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetRecordSize ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , precsize : *mut JET_RECSIZE , grbit : u32 ) -> i32 ); JetGetRecordSize(sesid.into(), tableid.into(), precsize, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1145,7 +1145,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetRecordSize2 ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , precsize : *mut JET_RECSIZE2 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetRecordSize2 ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , precsize : *mut JET_RECSIZE2 , grbit : u32 ) -> i32 ); JetGetRecordSize2(sesid.into(), tableid.into(), precsize, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1156,7 +1156,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetSecondaryIndexBookmark ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvsecondarykey : *mut ::core::ffi::c_void , cbsecondarykeymax : u32 , pcbsecondarykeyactual : *mut u32 , pvprimarybookmark : *mut ::core::ffi::c_void , cbprimarybookmarkmax : u32 , pcbprimarybookmarkactual : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetSecondaryIndexBookmark ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvsecondarykey : *mut ::core::ffi::c_void , cbsecondarykeymax : u32 , pcbsecondarykeyactual : *mut u32 , pvprimarybookmark : *mut ::core::ffi::c_void , cbprimarybookmarkmax : u32 , pcbprimarybookmarkactual : *mut u32 , grbit : u32 ) -> i32 ); JetGetSecondaryIndexBookmark(sesid.into(), tableid.into(), ::core::mem::transmute(pvsecondarykey.unwrap_or(::std::ptr::null_mut())), cbsecondarykeymax, ::core::mem::transmute(pcbsecondarykeyactual.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvprimarybookmark.unwrap_or(::std::ptr::null_mut())), cbprimarybookmarkmax, ::core::mem::transmute(pcbprimarybookmarkactual.unwrap_or(::std::ptr::null_mut())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1166,7 +1166,7 @@ pub unsafe fn JetGetSessionParameter(sesid: P0, sesparamid: u32, pvparam: &m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetSessionParameter ( sesid : super::StructuredStorage:: JET_SESID , sesparamid : u32 , pvparam : *mut ::core::ffi::c_void , cbparammax : u32 , pcbparamactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetSessionParameter ( sesid : super::StructuredStorage:: JET_SESID , sesparamid : u32 , pvparam : *mut ::core::ffi::c_void , cbparammax : u32 , pcbparamactual : *mut u32 ) -> i32 ); JetGetSessionParameter(sesid.into(), sesparamid, ::core::mem::transmute(pvparam.as_ptr()), pvparam.len() as _, ::core::mem::transmute(pcbparamactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1177,7 +1177,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetSystemParameterA ( instance : super::StructuredStorage:: JET_INSTANCE , sesid : super::StructuredStorage:: JET_SESID , paramid : u32 , plparam : *mut super::StructuredStorage:: JET_API_PTR , szparam : *mut i8 , cbmax : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetSystemParameterA ( instance : super::StructuredStorage:: JET_INSTANCE , sesid : super::StructuredStorage:: JET_SESID , paramid : u32 , plparam : *mut super::StructuredStorage:: JET_API_PTR , szparam : *mut i8 , cbmax : u32 ) -> i32 ); JetGetSystemParameterA(instance.into(), sesid.into(), paramid, ::core::mem::transmute(plparam.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szparam.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szparam.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1188,7 +1188,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetSystemParameterW ( instance : super::StructuredStorage:: JET_INSTANCE , sesid : super::StructuredStorage:: JET_SESID , paramid : u32 , plparam : *mut super::StructuredStorage:: JET_API_PTR , szparam : *mut u16 , cbmax : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetSystemParameterW ( instance : super::StructuredStorage:: JET_INSTANCE , sesid : super::StructuredStorage:: JET_SESID , paramid : u32 , plparam : *mut super::StructuredStorage:: JET_API_PTR , szparam : *mut u16 , cbmax : u32 ) -> i32 ); JetGetSystemParameterW(instance.into(), sesid.into(), paramid, ::core::mem::transmute(plparam.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szparam.unwrap_or(::std::ptr::null_mut())), cbmax) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1199,7 +1199,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetTableColumnInfoA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const i8 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetTableColumnInfoA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const i8 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetTableColumnInfoA(sesid.into(), tableid.into(), ::core::mem::transmute(szcolumnname.unwrap_or(::std::ptr::null())), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1210,7 +1210,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetTableColumnInfoW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const u16 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetTableColumnInfoW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szcolumnname : *const u16 , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetTableColumnInfoW(sesid.into(), tableid.into(), ::core::mem::transmute(szcolumnname.unwrap_or(::std::ptr::null())), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1221,7 +1221,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetTableIndexInfoA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , pvresult : *mut ::core::ffi::c_void , cbresult : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetTableIndexInfoA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , pvresult : *mut ::core::ffi::c_void , cbresult : u32 , infolevel : u32 ) -> i32 ); JetGetTableIndexInfoA(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), pvresult, cbresult, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1232,7 +1232,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetTableIndexInfoW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , pvresult : *mut ::core::ffi::c_void , cbresult : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetTableIndexInfoW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , pvresult : *mut ::core::ffi::c_void , cbresult : u32 , infolevel : u32 ) -> i32 ); JetGetTableIndexInfoW(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), pvresult, cbresult, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1243,7 +1243,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetTableInfoA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetTableInfoA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetTableInfoA(sesid.into(), tableid.into(), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1254,13 +1254,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetTableInfoW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetTableInfoW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvresult : *mut ::core::ffi::c_void , cbmax : u32 , infolevel : u32 ) -> i32 ); JetGetTableInfoW(sesid.into(), tableid.into(), pvresult, cbmax, infolevel) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetGetThreadStats(pvresult: *mut ::core::ffi::c_void, cbmax: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetGetThreadStats ( pvresult : *mut ::core::ffi::c_void , cbmax : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetThreadStats ( pvresult : *mut ::core::ffi::c_void , cbmax : u32 ) -> i32 ); JetGetThreadStats(pvresult, cbmax) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1270,7 +1270,7 @@ pub unsafe fn JetGetTruncateLogInfoInstanceA(instance: P0, szzlogs: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetTruncateLogInfoInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szzlogs : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetTruncateLogInfoInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szzlogs : *mut i8 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetTruncateLogInfoInstanceA(instance.into(), ::core::mem::transmute(szzlogs.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szzlogs.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1280,7 +1280,7 @@ pub unsafe fn JetGetTruncateLogInfoInstanceW(instance: P0, wszzlogs: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetTruncateLogInfoInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , wszzlogs : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetTruncateLogInfoInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , wszzlogs : *mut u16 , cbmax : u32 , pcbactual : *mut u32 ) -> i32 ); JetGetTruncateLogInfoInstanceW(instance.into(), ::core::mem::transmute(wszzlogs.unwrap_or(::std::ptr::null_mut())), cbmax, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1290,7 +1290,7 @@ pub unsafe fn JetGetVersion(sesid: P0, pwversion: *mut u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGetVersion ( sesid : super::StructuredStorage:: JET_SESID , pwversion : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGetVersion ( sesid : super::StructuredStorage:: JET_SESID , pwversion : *mut u32 ) -> i32 ); JetGetVersion(sesid.into(), pwversion) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1301,7 +1301,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGotoBookmark ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvbookmark : *const ::core::ffi::c_void , cbbookmark : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGotoBookmark ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvbookmark : *const ::core::ffi::c_void , cbbookmark : u32 ) -> i32 ); JetGotoBookmark(sesid.into(), tableid.into(), pvbookmark, cbbookmark) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1312,7 +1312,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGotoPosition ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , precpos : *const JET_RECPOS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGotoPosition ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , precpos : *const JET_RECPOS ) -> i32 ); JetGotoPosition(sesid.into(), tableid.into(), precpos) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1323,7 +1323,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGotoSecondaryIndexBookmark ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvsecondarykey : *const ::core::ffi::c_void , cbsecondarykey : u32 , pvprimarybookmark : *const ::core::ffi::c_void , cbprimarybookmark : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGotoSecondaryIndexBookmark ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvsecondarykey : *const ::core::ffi::c_void , cbsecondarykey : u32 , pvprimarybookmark : *const ::core::ffi::c_void , cbprimarybookmark : u32 , grbit : u32 ) -> i32 ); JetGotoSecondaryIndexBookmark(sesid.into(), tableid.into(), pvsecondarykey, cbsecondarykey, ::core::mem::transmute(pvprimarybookmark.unwrap_or(::std::ptr::null())), cbprimarybookmark, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1333,7 +1333,7 @@ pub unsafe fn JetGrowDatabase(sesid: P0, dbid: u32, cpg: u32, pcpgreal: *con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetGrowDatabase ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , cpg : u32 , pcpgreal : *const u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetGrowDatabase ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , cpg : u32 , pcpgreal : *const u32 ) -> i32 ); JetGrowDatabase(sesid.into(), dbid, cpg, pcpgreal) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1343,7 +1343,7 @@ pub unsafe fn JetIdle(sesid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetIdle ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetIdle ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); JetIdle(sesid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1354,35 +1354,35 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetIndexRecordCount ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pcrec : *mut u32 , crecmax : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetIndexRecordCount ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pcrec : *mut u32 , crecmax : u32 ) -> i32 ); JetIndexRecordCount(sesid.into(), tableid.into(), pcrec, crecmax) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetInit(pinstance: ::core::option::Option<*mut super::StructuredStorage::JET_INSTANCE>) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetInit ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetInit ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE ) -> i32 ); JetInit(::core::mem::transmute(pinstance.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetInit2(pinstance: ::core::option::Option<*mut super::StructuredStorage::JET_INSTANCE>, grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetInit2 ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetInit2 ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); JetInit2(::core::mem::transmute(pinstance.unwrap_or(::std::ptr::null_mut())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_StructuredStorage"))] #[inline] pub unsafe fn JetInit3A(pinstance: ::core::option::Option<*mut super::StructuredStorage::JET_INSTANCE>, prstinfo: ::core::option::Option<*const JET_RSTINFO_A>, grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetInit3A ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , prstinfo : *const JET_RSTINFO_A , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetInit3A ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , prstinfo : *const JET_RSTINFO_A , grbit : u32 ) -> i32 ); JetInit3A(::core::mem::transmute(pinstance.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prstinfo.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_StructuredStorage"))] #[inline] pub unsafe fn JetInit3W(pinstance: ::core::option::Option<*mut super::StructuredStorage::JET_INSTANCE>, prstinfo: ::core::option::Option<*const JET_RSTINFO_W>, grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetInit3W ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , prstinfo : *const JET_RSTINFO_W , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetInit3W ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , prstinfo : *const JET_RSTINFO_W , grbit : u32 ) -> i32 ); JetInit3W(::core::mem::transmute(pinstance.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prstinfo.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1392,7 +1392,7 @@ pub unsafe fn JetIntersectIndexes(sesid: P0, rgindexrange: &[JET_INDEXRANGE] where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetIntersectIndexes ( sesid : super::StructuredStorage:: JET_SESID , rgindexrange : *const JET_INDEXRANGE , cindexrange : u32 , precordlist : *mut JET_RECORDLIST , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetIntersectIndexes ( sesid : super::StructuredStorage:: JET_SESID , rgindexrange : *const JET_INDEXRANGE , cindexrange : u32 , precordlist : *mut JET_RECORDLIST , grbit : u32 ) -> i32 ); JetIntersectIndexes(sesid.into(), ::core::mem::transmute(rgindexrange.as_ptr()), rgindexrange.len() as _, precordlist, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1403,7 +1403,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetMakeKey ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvdata : *const ::core::ffi::c_void , cbdata : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetMakeKey ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvdata : *const ::core::ffi::c_void , cbdata : u32 , grbit : u32 ) -> i32 ); JetMakeKey(sesid.into(), tableid.into(), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null())), cbdata, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1414,7 +1414,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetMove ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , crow : i32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetMove ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , crow : i32 , grbit : u32 ) -> i32 ); JetMove(sesid.into(), tableid.into(), crow, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] @@ -1423,7 +1423,7 @@ pub unsafe fn JetOSSnapshotAbort(snapid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotAbort ( snapid : JET_OSSNAPID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotAbort ( snapid : JET_OSSNAPID , grbit : u32 ) -> i32 ); JetOSSnapshotAbort(snapid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] @@ -1432,7 +1432,7 @@ pub unsafe fn JetOSSnapshotEnd(snapid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotEnd ( snapid : JET_OSSNAPID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotEnd ( snapid : JET_OSSNAPID , grbit : u32 ) -> i32 ); JetOSSnapshotEnd(snapid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1442,7 +1442,7 @@ pub unsafe fn JetOSSnapshotFreezeA(snapid: P0, pcinstanceinfo: *mut u32, pai where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotFreezeA ( snapid : JET_OSSNAPID , pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_A , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotFreezeA ( snapid : JET_OSSNAPID , pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_A , grbit : u32 ) -> i32 ); JetOSSnapshotFreezeA(snapid.into(), pcinstanceinfo, painstanceinfo, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1452,7 +1452,7 @@ pub unsafe fn JetOSSnapshotFreezeW(snapid: P0, pcinstanceinfo: *mut u32, pai where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotFreezeW ( snapid : JET_OSSNAPID , pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_W , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotFreezeW ( snapid : JET_OSSNAPID , pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_W , grbit : u32 ) -> i32 ); JetOSSnapshotFreezeW(snapid.into(), pcinstanceinfo, painstanceinfo, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1462,7 +1462,7 @@ pub unsafe fn JetOSSnapshotGetFreezeInfoA(snapid: P0, pcinstanceinfo: *mut u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotGetFreezeInfoA ( snapid : JET_OSSNAPID , pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_A , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotGetFreezeInfoA ( snapid : JET_OSSNAPID , pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_A , grbit : u32 ) -> i32 ); JetOSSnapshotGetFreezeInfoA(snapid.into(), pcinstanceinfo, painstanceinfo, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1472,13 +1472,13 @@ pub unsafe fn JetOSSnapshotGetFreezeInfoW(snapid: P0, pcinstanceinfo: *mut u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotGetFreezeInfoW ( snapid : JET_OSSNAPID , pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_W , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotGetFreezeInfoW ( snapid : JET_OSSNAPID , pcinstanceinfo : *mut u32 , painstanceinfo : *mut *mut JET_INSTANCE_INFO_W , grbit : u32 ) -> i32 ); JetOSSnapshotGetFreezeInfoW(snapid.into(), pcinstanceinfo, painstanceinfo, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetOSSnapshotPrepare(psnapid: *mut JET_OSSNAPID, grbit: u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotPrepare ( psnapid : *mut JET_OSSNAPID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotPrepare ( psnapid : *mut JET_OSSNAPID , grbit : u32 ) -> i32 ); JetOSSnapshotPrepare(psnapid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1489,7 +1489,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotPrepareInstance ( snapid : JET_OSSNAPID , instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotPrepareInstance ( snapid : JET_OSSNAPID , instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); JetOSSnapshotPrepareInstance(snapid.into(), instance.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] @@ -1498,7 +1498,7 @@ pub unsafe fn JetOSSnapshotThaw(snapid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotThaw ( snapid : JET_OSSNAPID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotThaw ( snapid : JET_OSSNAPID , grbit : u32 ) -> i32 ); JetOSSnapshotThaw(snapid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] @@ -1507,7 +1507,7 @@ pub unsafe fn JetOSSnapshotTruncateLog(snapid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotTruncateLog ( snapid : JET_OSSNAPID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotTruncateLog ( snapid : JET_OSSNAPID , grbit : u32 ) -> i32 ); JetOSSnapshotTruncateLog(snapid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1518,7 +1518,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOSSnapshotTruncateLogInstance ( snapid : JET_OSSNAPID , instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOSSnapshotTruncateLogInstance ( snapid : JET_OSSNAPID , instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); JetOSSnapshotTruncateLogInstance(snapid.into(), instance.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1528,7 +1528,7 @@ pub unsafe fn JetOpenDatabaseA(sesid: P0, szfilename: *const i8, szconnect: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenDatabaseA ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , szconnect : *const i8 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenDatabaseA ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const i8 , szconnect : *const i8 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); JetOpenDatabaseA(sesid.into(), szfilename, ::core::mem::transmute(szconnect.unwrap_or(::std::ptr::null())), pdbid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1538,14 +1538,14 @@ pub unsafe fn JetOpenDatabaseW(sesid: P0, szfilename: *const u16, szconnect: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenDatabaseW ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , szconnect : *const u16 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenDatabaseW ( sesid : super::StructuredStorage:: JET_SESID , szfilename : *const u16 , szconnect : *const u16 , pdbid : *mut u32 , grbit : u32 ) -> i32 ); JetOpenDatabaseW(sesid.into(), szfilename, ::core::mem::transmute(szconnect.unwrap_or(::std::ptr::null())), pdbid, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetOpenFileA(szfilename: *const i8, phffile: *mut super::StructuredStorage::JET_HANDLE, pulfilesizelow: *mut u32, pulfilesizehigh: *mut u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenFileA ( szfilename : *const i8 , phffile : *mut super::StructuredStorage:: JET_HANDLE , pulfilesizelow : *mut u32 , pulfilesizehigh : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenFileA ( szfilename : *const i8 , phffile : *mut super::StructuredStorage:: JET_HANDLE , pulfilesizelow : *mut u32 , pulfilesizehigh : *mut u32 ) -> i32 ); JetOpenFileA(szfilename, phffile, pulfilesizelow, pulfilesizehigh) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1555,7 +1555,7 @@ pub unsafe fn JetOpenFileInstanceA(instance: P0, szfilename: *const i8, phff where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenFileInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szfilename : *const i8 , phffile : *mut super::StructuredStorage:: JET_HANDLE , pulfilesizelow : *mut u32 , pulfilesizehigh : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenFileInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , szfilename : *const i8 , phffile : *mut super::StructuredStorage:: JET_HANDLE , pulfilesizelow : *mut u32 , pulfilesizehigh : *mut u32 ) -> i32 ); JetOpenFileInstanceA(instance.into(), szfilename, phffile, pulfilesizelow, pulfilesizehigh) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1565,14 +1565,14 @@ pub unsafe fn JetOpenFileInstanceW(instance: P0, szfilename: *const u16, phf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenFileInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , szfilename : *const u16 , phffile : *mut super::StructuredStorage:: JET_HANDLE , pulfilesizelow : *mut u32 , pulfilesizehigh : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenFileInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , szfilename : *const u16 , phffile : *mut super::StructuredStorage:: JET_HANDLE , pulfilesizelow : *mut u32 , pulfilesizehigh : *mut u32 ) -> i32 ); JetOpenFileInstanceW(instance.into(), szfilename, phffile, pulfilesizelow, pulfilesizehigh) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetOpenFileW(szfilename: *const u16, phffile: *mut super::StructuredStorage::JET_HANDLE, pulfilesizelow: *mut u32, pulfilesizehigh: *mut u32) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenFileW ( szfilename : *const u16 , phffile : *mut super::StructuredStorage:: JET_HANDLE , pulfilesizelow : *mut u32 , pulfilesizehigh : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenFileW ( szfilename : *const u16 , phffile : *mut super::StructuredStorage:: JET_HANDLE , pulfilesizelow : *mut u32 , pulfilesizehigh : *mut u32 ) -> i32 ); JetOpenFileW(szfilename, phffile, pulfilesizelow, pulfilesizehigh) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1582,7 +1582,7 @@ pub unsafe fn JetOpenTableA(sesid: P0, dbid: u32, sztablename: *const i8, pv where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenTableA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , pvparameters : *const ::core::ffi::c_void , cbparameters : u32 , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenTableA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , pvparameters : *const ::core::ffi::c_void , cbparameters : u32 , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID ) -> i32 ); JetOpenTableA(sesid.into(), dbid, sztablename, ::core::mem::transmute(pvparameters.unwrap_or(::std::ptr::null())), cbparameters, grbit, ptableid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1592,7 +1592,7 @@ pub unsafe fn JetOpenTableW(sesid: P0, dbid: u32, sztablename: *const u16, p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenTableW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , pvparameters : *const ::core::ffi::c_void , cbparameters : u32 , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenTableW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , pvparameters : *const ::core::ffi::c_void , cbparameters : u32 , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID ) -> i32 ); JetOpenTableW(sesid.into(), dbid, sztablename, ::core::mem::transmute(pvparameters.unwrap_or(::std::ptr::null())), cbparameters, grbit, ptableid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1602,7 +1602,7 @@ pub unsafe fn JetOpenTempTable(sesid: P0, prgcolumndef: *const JET_COLUMNDEF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenTempTable ( sesid : super::StructuredStorage:: JET_SESID , prgcolumndef : *const JET_COLUMNDEF , ccolumn : u32 , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID , prgcolumnid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenTempTable ( sesid : super::StructuredStorage:: JET_SESID , prgcolumndef : *const JET_COLUMNDEF , ccolumn : u32 , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID , prgcolumnid : *mut u32 ) -> i32 ); JetOpenTempTable(sesid.into(), prgcolumndef, ccolumn, grbit, ptableid, prgcolumnid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1612,7 +1612,7 @@ pub unsafe fn JetOpenTempTable2(sesid: P0, prgcolumndef: *const JET_COLUMNDE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenTempTable2 ( sesid : super::StructuredStorage:: JET_SESID , prgcolumndef : *const JET_COLUMNDEF , ccolumn : u32 , lcid : u32 , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID , prgcolumnid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenTempTable2 ( sesid : super::StructuredStorage:: JET_SESID , prgcolumndef : *const JET_COLUMNDEF , ccolumn : u32 , lcid : u32 , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID , prgcolumnid : *mut u32 ) -> i32 ); JetOpenTempTable2(sesid.into(), prgcolumndef, ccolumn, lcid, grbit, ptableid, prgcolumnid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1622,7 +1622,7 @@ pub unsafe fn JetOpenTempTable3(sesid: P0, prgcolumndef: *const JET_COLUMNDE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenTempTable3 ( sesid : super::StructuredStorage:: JET_SESID , prgcolumndef : *const JET_COLUMNDEF , ccolumn : u32 , pidxunicode : *const JET_UNICODEINDEX , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID , prgcolumnid : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenTempTable3 ( sesid : super::StructuredStorage:: JET_SESID , prgcolumndef : *const JET_COLUMNDEF , ccolumn : u32 , pidxunicode : *const JET_UNICODEINDEX , grbit : u32 , ptableid : *mut super::StructuredStorage:: JET_TABLEID , prgcolumnid : *mut u32 ) -> i32 ); JetOpenTempTable3(sesid.into(), prgcolumndef, ccolumn, ::core::mem::transmute(pidxunicode.unwrap_or(::std::ptr::null())), grbit, ptableid, prgcolumnid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1632,7 +1632,7 @@ pub unsafe fn JetOpenTemporaryTable(sesid: P0, popentemporarytable: *const J where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenTemporaryTable ( sesid : super::StructuredStorage:: JET_SESID , popentemporarytable : *const JET_OPENTEMPORARYTABLE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenTemporaryTable ( sesid : super::StructuredStorage:: JET_SESID , popentemporarytable : *const JET_OPENTEMPORARYTABLE ) -> i32 ); JetOpenTemporaryTable(sesid.into(), popentemporarytable) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1642,7 +1642,7 @@ pub unsafe fn JetOpenTemporaryTable2(sesid: P0, popentemporarytable: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetOpenTemporaryTable2 ( sesid : super::StructuredStorage:: JET_SESID , popentemporarytable : *const JET_OPENTEMPORARYTABLE2 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetOpenTemporaryTable2 ( sesid : super::StructuredStorage:: JET_SESID , popentemporarytable : *const JET_OPENTEMPORARYTABLE2 ) -> i32 ); JetOpenTemporaryTable2(sesid.into(), popentemporarytable) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1653,7 +1653,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetPrepareUpdate ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , prep : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetPrepareUpdate ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , prep : u32 ) -> i32 ); JetPrepareUpdate(sesid.into(), tableid.into(), prep) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1664,7 +1664,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetPrereadIndexRanges ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , rgindexranges : *const JET_INDEX_RANGE , cindexranges : u32 , pcrangespreread : *mut u32 , rgcolumnidpreread : *const u32 , ccolumnidpreread : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetPrereadIndexRanges ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , rgindexranges : *const JET_INDEX_RANGE , cindexranges : u32 , pcrangespreread : *mut u32 , rgcolumnidpreread : *const u32 , ccolumnidpreread : u32 , grbit : u32 ) -> i32 ); JetPrereadIndexRanges(sesid.into(), tableid.into(), ::core::mem::transmute(rgindexranges.as_ptr()), rgindexranges.len() as _, ::core::mem::transmute(pcrangespreread.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(rgcolumnidpreread.as_ptr()), rgcolumnidpreread.len() as _, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1675,7 +1675,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetPrereadKeys ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , rgpvkeys : *const *const ::core::ffi::c_void , rgcbkeys : *const u32 , ckeys : i32 , pckeyspreread : *mut i32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetPrereadKeys ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , rgpvkeys : *const *const ::core::ffi::c_void , rgcbkeys : *const u32 , ckeys : i32 , pckeyspreread : *mut i32 , grbit : u32 ) -> i32 ); JetPrereadKeys(sesid.into(), tableid.into(), rgpvkeys, rgcbkeys, ckeys, ::core::mem::transmute(pckeyspreread.unwrap_or(::std::ptr::null_mut())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1685,7 +1685,7 @@ pub unsafe fn JetReadFile(hffile: P0, pv: *mut ::core::ffi::c_void, cb: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetReadFile ( hffile : super::StructuredStorage:: JET_HANDLE , pv : *mut ::core::ffi::c_void , cb : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetReadFile ( hffile : super::StructuredStorage:: JET_HANDLE , pv : *mut ::core::ffi::c_void , cb : u32 , pcbactual : *mut u32 ) -> i32 ); JetReadFile(hffile.into(), pv, cb, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1696,7 +1696,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetReadFileInstance ( instance : super::StructuredStorage:: JET_INSTANCE , hffile : super::StructuredStorage:: JET_HANDLE , pv : *mut ::core::ffi::c_void , cb : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetReadFileInstance ( instance : super::StructuredStorage:: JET_INSTANCE , hffile : super::StructuredStorage:: JET_HANDLE , pv : *mut ::core::ffi::c_void , cb : u32 , pcbactual : *mut u32 ) -> i32 ); JetReadFileInstance(instance.into(), hffile.into(), pv, cb, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1707,7 +1707,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRegisterCallback ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , cbtyp : u32 , pcallback : JET_CALLBACK , pvcontext : *const ::core::ffi::c_void , phcallbackid : *const super::StructuredStorage:: JET_HANDLE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRegisterCallback ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , cbtyp : u32 , pcallback : JET_CALLBACK , pvcontext : *const ::core::ffi::c_void , phcallbackid : *const super::StructuredStorage:: JET_HANDLE ) -> i32 ); JetRegisterCallback(sesid.into(), tableid.into(), cbtyp, pcallback, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), phcallbackid) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1718,7 +1718,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRenameColumnA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szname : *const i8 , sznamenew : *const i8 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRenameColumnA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szname : *const i8 , sznamenew : *const i8 , grbit : u32 ) -> i32 ); JetRenameColumnA(sesid.into(), tableid.into(), szname, sznamenew, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1729,7 +1729,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRenameColumnW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szname : *const u16 , sznamenew : *const u16 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRenameColumnW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szname : *const u16 , sznamenew : *const u16 , grbit : u32 ) -> i32 ); JetRenameColumnW(sesid.into(), tableid.into(), szname, sznamenew, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1739,7 +1739,7 @@ pub unsafe fn JetRenameTableA(sesid: P0, dbid: u32, szname: *const i8, sznam where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRenameTableA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , szname : *const i8 , sznamenew : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRenameTableA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , szname : *const i8 , sznamenew : *const i8 ) -> i32 ); JetRenameTableA(sesid.into(), dbid, szname, sznamenew) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1749,7 +1749,7 @@ pub unsafe fn JetRenameTableW(sesid: P0, dbid: u32, szname: *const u16, szna where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRenameTableW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , szname : *const u16 , sznamenew : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRenameTableW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , szname : *const u16 , sznamenew : *const u16 ) -> i32 ); JetRenameTableW(sesid.into(), dbid, szname, sznamenew) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1759,7 +1759,7 @@ pub unsafe fn JetResetSessionContext(sesid: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetResetSessionContext ( sesid : super::StructuredStorage:: JET_SESID ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetResetSessionContext ( sesid : super::StructuredStorage:: JET_SESID ) -> i32 ); JetResetSessionContext(sesid.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1770,7 +1770,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetResetTableSequential ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetResetTableSequential ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); JetResetTableSequential(sesid.into(), tableid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1780,28 +1780,28 @@ pub unsafe fn JetResizeDatabase(sesid: P0, dbid: u32, cpgtarget: u32, pcpgac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetResizeDatabase ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , cpgtarget : u32 , pcpgactual : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetResizeDatabase ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , cpgtarget : u32 , pcpgactual : *mut u32 , grbit : u32 ) -> i32 ); JetResizeDatabase(sesid.into(), dbid, cpgtarget, pcpgactual, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetRestore2A(sz: *const i8, szdest: ::core::option::Option<*const i8>, pfn: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetRestore2A ( sz : *const i8 , szdest : *const i8 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRestore2A ( sz : *const i8 , szdest : *const i8 , pfn : JET_PFNSTATUS ) -> i32 ); JetRestore2A(sz, ::core::mem::transmute(szdest.unwrap_or(::std::ptr::null())), pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetRestore2W(sz: *const u16, szdest: ::core::option::Option<*const u16>, pfn: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetRestore2W ( sz : *const u16 , szdest : *const u16 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRestore2W ( sz : *const u16 , szdest : *const u16 , pfn : JET_PFNSTATUS ) -> i32 ); JetRestore2W(sz, ::core::mem::transmute(szdest.unwrap_or(::std::ptr::null())), pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetRestoreA(szsource: *const i8, pfn: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetRestoreA ( szsource : *const i8 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRestoreA ( szsource : *const i8 , pfn : JET_PFNSTATUS ) -> i32 ); JetRestoreA(szsource, pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1811,7 +1811,7 @@ pub unsafe fn JetRestoreInstanceA(instance: P0, sz: *const i8, szdest: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRestoreInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , sz : *const i8 , szdest : *const i8 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRestoreInstanceA ( instance : super::StructuredStorage:: JET_INSTANCE , sz : *const i8 , szdest : *const i8 , pfn : JET_PFNSTATUS ) -> i32 ); JetRestoreInstanceA(instance.into(), sz, ::core::mem::transmute(szdest.unwrap_or(::std::ptr::null())), pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1821,14 +1821,14 @@ pub unsafe fn JetRestoreInstanceW(instance: P0, sz: *const u16, szdest: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRestoreInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , sz : *const u16 , szdest : *const u16 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRestoreInstanceW ( instance : super::StructuredStorage:: JET_INSTANCE , sz : *const u16 , szdest : *const u16 , pfn : JET_PFNSTATUS ) -> i32 ); JetRestoreInstanceW(instance.into(), sz, ::core::mem::transmute(szdest.unwrap_or(::std::ptr::null())), pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] #[cfg(feature = "Win32_Storage_StructuredStorage")] #[inline] pub unsafe fn JetRestoreW(szsource: *const u16, pfn: JET_PFNSTATUS) -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetRestoreW ( szsource : *const u16 , pfn : JET_PFNSTATUS ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRestoreW ( szsource : *const u16 , pfn : JET_PFNSTATUS ) -> i32 ); JetRestoreW(szsource, pfn) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1839,7 +1839,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRetrieveColumn ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , columnid : u32 , pvdata : *mut ::core::ffi::c_void , cbdata : u32 , pcbactual : *mut u32 , grbit : u32 , pretinfo : *mut JET_RETINFO ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRetrieveColumn ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , columnid : u32 , pvdata : *mut ::core::ffi::c_void , cbdata : u32 , pcbactual : *mut u32 , grbit : u32 , pretinfo : *mut JET_RETINFO ) -> i32 ); JetRetrieveColumn(sesid.into(), tableid.into(), columnid, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), cbdata, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut())), grbit, ::core::mem::transmute(pretinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1850,7 +1850,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRetrieveColumns ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pretrievecolumn : *mut JET_RETRIEVECOLUMN , cretrievecolumn : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRetrieveColumns ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pretrievecolumn : *mut JET_RETRIEVECOLUMN , cretrievecolumn : u32 ) -> i32 ); JetRetrieveColumns(sesid.into(), tableid.into(), ::core::mem::transmute(pretrievecolumn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pretrievecolumn.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1861,7 +1861,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRetrieveKey ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvkey : *mut ::core::ffi::c_void , cbmax : u32 , pcbactual : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRetrieveKey ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvkey : *mut ::core::ffi::c_void , cbmax : u32 , pcbactual : *mut u32 , grbit : u32 ) -> i32 ); JetRetrieveKey(sesid.into(), tableid.into(), ::core::mem::transmute(pvkey.unwrap_or(::std::ptr::null_mut())), cbmax, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1871,7 +1871,7 @@ pub unsafe fn JetRollback(sesid: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetRollback ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetRollback ( sesid : super::StructuredStorage:: JET_SESID , grbit : u32 ) -> i32 ); JetRollback(sesid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1882,7 +1882,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSeek ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSeek ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); JetSeek(sesid.into(), tableid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1893,7 +1893,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetColumn ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , columnid : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , grbit : u32 , psetinfo : *const JET_SETINFO ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetColumn ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , columnid : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , grbit : u32 , psetinfo : *const JET_SETINFO ) -> i32 ); JetSetColumn(sesid.into(), tableid.into(), columnid, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null())), cbdata, grbit, ::core::mem::transmute(psetinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1903,7 +1903,7 @@ pub unsafe fn JetSetColumnDefaultValueA(sesid: P0, dbid: u32, sztablename: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetColumnDefaultValueA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , szcolumnname : *const i8 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetColumnDefaultValueA ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const i8 , szcolumnname : *const i8 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , grbit : u32 ) -> i32 ); JetSetColumnDefaultValueA(sesid.into(), dbid, sztablename, szcolumnname, pvdata, cbdata, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1913,7 +1913,7 @@ pub unsafe fn JetSetColumnDefaultValueW(sesid: P0, dbid: u32, sztablename: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetColumnDefaultValueW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , szcolumnname : *const u16 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetColumnDefaultValueW ( sesid : super::StructuredStorage:: JET_SESID , dbid : u32 , sztablename : *const u16 , szcolumnname : *const u16 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , grbit : u32 ) -> i32 ); JetSetColumnDefaultValueW(sesid.into(), dbid, sztablename, szcolumnname, pvdata, cbdata, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1924,7 +1924,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetColumns ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , psetcolumn : *const JET_SETCOLUMN , csetcolumn : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetColumns ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , psetcolumn : *const JET_SETCOLUMN , csetcolumn : u32 ) -> i32 ); JetSetColumns(sesid.into(), tableid.into(), ::core::mem::transmute(psetcolumn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psetcolumn.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1935,7 +1935,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCurrentIndex2A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCurrentIndex2A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , grbit : u32 ) -> i32 ); JetSetCurrentIndex2A(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1946,7 +1946,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCurrentIndex2W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCurrentIndex2W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , grbit : u32 ) -> i32 ); JetSetCurrentIndex2W(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1957,7 +1957,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCurrentIndex3A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , grbit : u32 , itagsequence : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCurrentIndex3A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , grbit : u32 , itagsequence : u32 ) -> i32 ); JetSetCurrentIndex3A(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), grbit, itagsequence) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1968,7 +1968,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCurrentIndex3W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , grbit : u32 , itagsequence : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCurrentIndex3W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , grbit : u32 , itagsequence : u32 ) -> i32 ); JetSetCurrentIndex3W(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), grbit, itagsequence) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1979,7 +1979,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCurrentIndex4A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , pindexid : *const JET_INDEXID , grbit : u32 , itagsequence : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCurrentIndex4A ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 , pindexid : *const JET_INDEXID , grbit : u32 , itagsequence : u32 ) -> i32 ); JetSetCurrentIndex4A(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pindexid.unwrap_or(::std::ptr::null())), grbit, itagsequence) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -1990,7 +1990,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCurrentIndex4W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , pindexid : *const JET_INDEXID , grbit : u32 , itagsequence : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCurrentIndex4W ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 , pindexid : *const JET_INDEXID , grbit : u32 , itagsequence : u32 ) -> i32 ); JetSetCurrentIndex4W(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pindexid.unwrap_or(::std::ptr::null())), grbit, itagsequence) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2001,7 +2001,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCurrentIndexA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCurrentIndexA ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const i8 ) -> i32 ); JetSetCurrentIndexA(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2012,7 +2012,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCurrentIndexW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCurrentIndexW ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , szindexname : *const u16 ) -> i32 ); JetSetCurrentIndexW(sesid.into(), tableid.into(), ::core::mem::transmute(szindexname.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2023,7 +2023,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetCursorFilter ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , rgcolumnfilters : *const JET_INDEX_COLUMN , ccolumnfilters : u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetCursorFilter ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , rgcolumnfilters : *const JET_INDEX_COLUMN , ccolumnfilters : u32 , grbit : u32 ) -> i32 ); JetSetCursorFilter(sesid.into(), tableid.into(), ::core::mem::transmute(rgcolumnfilters.as_ptr()), rgcolumnfilters.len() as _, grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2033,7 +2033,7 @@ pub unsafe fn JetSetDatabaseSizeA(sesid: P0, szdatabasename: *const i8, cpg: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetDatabaseSizeA ( sesid : super::StructuredStorage:: JET_SESID , szdatabasename : *const i8 , cpg : u32 , pcpgreal : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetDatabaseSizeA ( sesid : super::StructuredStorage:: JET_SESID , szdatabasename : *const i8 , cpg : u32 , pcpgreal : *mut u32 ) -> i32 ); JetSetDatabaseSizeA(sesid.into(), szdatabasename, cpg, pcpgreal) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2043,7 +2043,7 @@ pub unsafe fn JetSetDatabaseSizeW(sesid: P0, szdatabasename: *const u16, cpg where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetDatabaseSizeW ( sesid : super::StructuredStorage:: JET_SESID , szdatabasename : *const u16 , cpg : u32 , pcpgreal : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetDatabaseSizeW ( sesid : super::StructuredStorage:: JET_SESID , szdatabasename : *const u16 , cpg : u32 , pcpgreal : *mut u32 ) -> i32 ); JetSetDatabaseSizeW(sesid.into(), szdatabasename, cpg, pcpgreal) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2054,7 +2054,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetIndexRange ( sesid : super::StructuredStorage:: JET_SESID , tableidsrc : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetIndexRange ( sesid : super::StructuredStorage:: JET_SESID , tableidsrc : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); JetSetIndexRange(sesid.into(), tableidsrc.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2066,7 +2066,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetLS ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , ls : JET_LS , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetLS ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , ls : JET_LS , grbit : u32 ) -> i32 ); JetSetLS(sesid.into(), tableid.into(), ls.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2077,7 +2077,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetSessionContext ( sesid : super::StructuredStorage:: JET_SESID , ulcontext : super::StructuredStorage:: JET_API_PTR ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetSessionContext ( sesid : super::StructuredStorage:: JET_SESID , ulcontext : super::StructuredStorage:: JET_API_PTR ) -> i32 ); JetSetSessionContext(sesid.into(), ulcontext.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2087,7 +2087,7 @@ pub unsafe fn JetSetSessionParameter(sesid: P0, sesparamid: u32, pvparam: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetSessionParameter ( sesid : super::StructuredStorage:: JET_SESID , sesparamid : u32 , pvparam : *const ::core::ffi::c_void , cbparam : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetSessionParameter ( sesid : super::StructuredStorage:: JET_SESID , sesparamid : u32 , pvparam : *const ::core::ffi::c_void , cbparam : u32 ) -> i32 ); JetSetSessionParameter(sesid.into(), sesparamid, ::core::mem::transmute(pvparam.unwrap_or(::std::ptr::null())), cbparam) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2098,7 +2098,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetSystemParameterA ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , sesid : super::StructuredStorage:: JET_SESID , paramid : u32 , lparam : super::StructuredStorage:: JET_API_PTR , szparam : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetSystemParameterA ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , sesid : super::StructuredStorage:: JET_SESID , paramid : u32 , lparam : super::StructuredStorage:: JET_API_PTR , szparam : *const i8 ) -> i32 ); JetSetSystemParameterA(::core::mem::transmute(pinstance.unwrap_or(::std::ptr::null_mut())), sesid.into(), paramid, lparam.into(), ::core::mem::transmute(szparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2109,7 +2109,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetSystemParameterW ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , sesid : super::StructuredStorage:: JET_SESID , paramid : u32 , lparam : super::StructuredStorage:: JET_API_PTR , szparam : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetSystemParameterW ( pinstance : *mut super::StructuredStorage:: JET_INSTANCE , sesid : super::StructuredStorage:: JET_SESID , paramid : u32 , lparam : super::StructuredStorage:: JET_API_PTR , szparam : *const u16 ) -> i32 ); JetSetSystemParameterW(::core::mem::transmute(pinstance.unwrap_or(::std::ptr::null_mut())), sesid.into(), paramid, lparam.into(), ::core::mem::transmute(szparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2120,13 +2120,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetSetTableSequential ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetSetTableSequential ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , grbit : u32 ) -> i32 ); JetSetTableSequential(sesid.into(), tableid.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetStopBackup() -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetStopBackup ( ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetStopBackup ( ) -> i32 ); JetStopBackup() } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2136,13 +2136,13 @@ pub unsafe fn JetStopBackupInstance(instance: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetStopBackupInstance ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetStopBackupInstance ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); JetStopBackupInstance(instance.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetStopService() -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetStopService ( ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetStopService ( ) -> i32 ); JetStopService() } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2152,7 +2152,7 @@ pub unsafe fn JetStopServiceInstance(instance: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetStopServiceInstance ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetStopServiceInstance ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); JetStopServiceInstance(instance.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2162,7 +2162,7 @@ pub unsafe fn JetStopServiceInstance2(instance: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetStopServiceInstance2 ( instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetStopServiceInstance2 ( instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); JetStopServiceInstance2(instance.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2172,7 +2172,7 @@ pub unsafe fn JetTerm(instance: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetTerm ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetTerm ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); JetTerm(instance.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2182,13 +2182,13 @@ pub unsafe fn JetTerm2(instance: P0, grbit: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetTerm2 ( instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetTerm2 ( instance : super::StructuredStorage:: JET_INSTANCE , grbit : u32 ) -> i32 ); JetTerm2(instance.into(), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] #[inline] pub unsafe fn JetTruncateLog() -> i32 { - ::windows::core::link ! ( "esent.dll""system" fn JetTruncateLog ( ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetTruncateLog ( ) -> i32 ); JetTruncateLog() } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2198,7 +2198,7 @@ pub unsafe fn JetTruncateLogInstance(instance: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetTruncateLogInstance ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetTruncateLogInstance ( instance : super::StructuredStorage:: JET_INSTANCE ) -> i32 ); JetTruncateLogInstance(instance.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2210,7 +2210,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetUnregisterCallback ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , cbtyp : u32 , hcallbackid : super::StructuredStorage:: JET_HANDLE ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetUnregisterCallback ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , cbtyp : u32 , hcallbackid : super::StructuredStorage:: JET_HANDLE ) -> i32 ); JetUnregisterCallback(sesid.into(), tableid.into(), cbtyp, hcallbackid.into()) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2221,7 +2221,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetUpdate ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvbookmark : *mut ::core::ffi::c_void , cbbookmark : u32 , pcbactual : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetUpdate ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvbookmark : *mut ::core::ffi::c_void , cbbookmark : u32 , pcbactual : *mut u32 ) -> i32 ); JetUpdate(sesid.into(), tableid.into(), ::core::mem::transmute(pvbookmark.unwrap_or(::std::ptr::null_mut())), cbbookmark, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`, `\"Win32_Storage_StructuredStorage\"`*"] @@ -2232,7 +2232,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "esent.dll""system" fn JetUpdate2 ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvbookmark : *mut ::core::ffi::c_void , cbbookmark : u32 , pcbactual : *mut u32 , grbit : u32 ) -> i32 ); + ::windows::imp::link ! ( "esent.dll""system" fn JetUpdate2 ( sesid : super::StructuredStorage:: JET_SESID , tableid : super::StructuredStorage:: JET_TABLEID , pvbookmark : *mut ::core::ffi::c_void , cbbookmark : u32 , pcbactual : *mut u32 , grbit : u32 ) -> i32 ); JetUpdate2(sesid.into(), tableid.into(), ::core::mem::transmute(pvbookmark.unwrap_or(::std::ptr::null_mut())), cbbookmark, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null_mut())), grbit) } #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs index 7ba75ef95e..9e441c5cc2 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs @@ -5,27 +5,27 @@ pub unsafe fn OfflineFilesEnable(benable: P0, pbrebootrequired: *mut super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "cscapi.dll""system" fn OfflineFilesEnable ( benable : super::super::Foundation:: BOOL , pbrebootrequired : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "cscapi.dll""system" fn OfflineFilesEnable ( benable : super::super::Foundation:: BOOL , pbrebootrequired : *mut super::super::Foundation:: BOOL ) -> u32 ); OfflineFilesEnable(benable.into(), pbrebootrequired) } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OfflineFilesQueryStatus(pbactive: ::core::option::Option<*mut super::super::Foundation::BOOL>, pbenabled: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> u32 { - ::windows::core::link ! ( "cscapi.dll""system" fn OfflineFilesQueryStatus ( pbactive : *mut super::super::Foundation:: BOOL , pbenabled : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "cscapi.dll""system" fn OfflineFilesQueryStatus ( pbactive : *mut super::super::Foundation:: BOOL , pbenabled : *mut super::super::Foundation:: BOOL ) -> u32 ); OfflineFilesQueryStatus(::core::mem::transmute(pbactive.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbenabled.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OfflineFilesQueryStatusEx(pbactive: ::core::option::Option<*mut super::super::Foundation::BOOL>, pbenabled: ::core::option::Option<*mut super::super::Foundation::BOOL>, pbavailable: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> u32 { - ::windows::core::link ! ( "cscapi.dll""system" fn OfflineFilesQueryStatusEx ( pbactive : *mut super::super::Foundation:: BOOL , pbenabled : *mut super::super::Foundation:: BOOL , pbavailable : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "cscapi.dll""system" fn OfflineFilesQueryStatusEx ( pbactive : *mut super::super::Foundation:: BOOL , pbenabled : *mut super::super::Foundation:: BOOL , pbavailable : *mut super::super::Foundation:: BOOL ) -> u32 ); OfflineFilesQueryStatusEx(::core::mem::transmute(pbactive.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbenabled.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbavailable.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[inline] pub unsafe fn OfflineFilesStart() -> u32 { - ::windows::core::link ! ( "cscapi.dll""system" fn OfflineFilesStart ( ) -> u32 ); + ::windows::imp::link ! ( "cscapi.dll""system" fn OfflineFilesStart ( ) -> u32 ); OfflineFilesStart() } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] @@ -46,7 +46,7 @@ impl IEnumOfflineFilesItems { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumOfflineFilesItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumOfflineFilesItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumOfflineFilesItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -96,7 +96,7 @@ impl IEnumOfflineFilesSettings { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumOfflineFilesSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumOfflineFilesSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumOfflineFilesSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -265,7 +265,7 @@ impl IOfflineFilesCache { (::windows::core::Vtable::vtable(self).IsPathCacheable)(::windows::core::Vtable::as_raw(self), pszpath.into().abi(), pbcacheable, psharecachingmode).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesCache, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesCache, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesCache { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -484,7 +484,7 @@ impl IOfflineFilesCache2 { (::windows::core::Vtable::vtable(self).RenameItemEx)(::windows::core::Vtable::as_raw(self), pszpathoriginal.into().abi(), pszpathnew.into().abi(), breplaceifexists.into()).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesCache2, ::windows::core::IUnknown, IOfflineFilesCache); +::windows::imp::interface_hierarchy!(IOfflineFilesCache2, ::windows::core::IUnknown, IOfflineFilesCache); impl ::core::cmp::PartialEq for IOfflineFilesCache2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -556,7 +556,7 @@ impl IOfflineFilesChangeInfo { (::windows::core::Vtable::vtable(self).IsLocallyModifiedTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesChangeInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesChangeInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesChangeInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -642,7 +642,7 @@ impl IOfflineFilesConnectionInfo { (::windows::core::Vtable::vtable(self).TransitionOffline)(::windows::core::Vtable::as_raw(self), hwndparent.into(), dwflags, bforceopenfilesclosed.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesConnectionInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesConnectionInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesConnectionInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -709,7 +709,7 @@ impl IOfflineFilesDirectoryItem { (::windows::core::Vtable::vtable(self).base__.IsMarkedForDeletion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesDirectoryItem, ::windows::core::IUnknown, IOfflineFilesItem); +::windows::imp::interface_hierarchy!(IOfflineFilesDirectoryItem, ::windows::core::IUnknown, IOfflineFilesItem); impl ::core::cmp::PartialEq for IOfflineFilesDirectoryItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -750,7 +750,7 @@ impl IOfflineFilesDirtyInfo { (::windows::core::Vtable::vtable(self).RemoteDirtyByteCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesDirtyInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesDirtyInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesDirtyInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -795,7 +795,7 @@ impl IOfflineFilesErrorInfo { (::windows::core::Vtable::vtable(self).GetDescription)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -978,7 +978,7 @@ impl IOfflineFilesEvents { (::windows::core::Vtable::vtable(self).Ping)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1226,7 +1226,7 @@ impl IOfflineFilesEvents2 { (::windows::core::Vtable::vtable(self).SettingsChangesApplied)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesEvents2, ::windows::core::IUnknown, IOfflineFilesEvents); +::windows::imp::interface_hierarchy!(IOfflineFilesEvents2, ::windows::core::IUnknown, IOfflineFilesEvents); impl ::core::cmp::PartialEq for IOfflineFilesEvents2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1463,7 +1463,7 @@ impl IOfflineFilesEvents3 { (::windows::core::Vtable::vtable(self).PrefetchFileEnd)(::windows::core::Vtable::as_raw(self), pszpath.into().abi(), hrresult).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesEvents3, ::windows::core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2); +::windows::imp::interface_hierarchy!(IOfflineFilesEvents3, ::windows::core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2); impl ::core::cmp::PartialEq for IOfflineFilesEvents3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1703,7 +1703,7 @@ impl IOfflineFilesEvents4 { (::windows::core::Vtable::vtable(self).PrefetchCloseHandleEnd)(::windows::core::Vtable::as_raw(self), dwclosedhandlecount, dwopenhandlecount, hrresult).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesEvents4, ::windows::core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2, IOfflineFilesEvents3); +::windows::imp::interface_hierarchy!(IOfflineFilesEvents4, ::windows::core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2, IOfflineFilesEvents3); impl ::core::cmp::PartialEq for IOfflineFilesEvents4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1747,7 +1747,7 @@ impl IOfflineFilesEventsFilter { (::windows::core::Vtable::vtable(self).GetExcludedEvents)(::windows::core::Vtable::as_raw(self), celements, prgevents, pcevents).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesEventsFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesEventsFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesEventsFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1816,7 +1816,7 @@ impl IOfflineFilesFileItem { (::windows::core::Vtable::vtable(self).IsEncrypted)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesFileItem, ::windows::core::IUnknown, IOfflineFilesItem); +::windows::imp::interface_hierarchy!(IOfflineFilesFileItem, ::windows::core::IUnknown, IOfflineFilesItem); impl ::core::cmp::PartialEq for IOfflineFilesFileItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1870,7 +1870,7 @@ impl IOfflineFilesFileSysInfo { (::windows::core::Vtable::vtable(self).GetFileSize)(::windows::core::Vtable::as_raw(self), copy, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesFileSysInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesFileSysInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesFileSysInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1915,7 +1915,7 @@ impl IOfflineFilesGhostInfo { (::windows::core::Vtable::vtable(self).IsGhosted)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesGhostInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesGhostInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesGhostInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1973,7 +1973,7 @@ impl IOfflineFilesItem { (::windows::core::Vtable::vtable(self).IsMarkedForDeletion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2028,7 +2028,7 @@ impl IOfflineFilesItemContainer { (::windows::core::Vtable::vtable(self).EnumItemsEx)(::windows::core::Vtable::as_raw(self), pincludefilefilter.into().abi(), pincludedirfilter.into().abi(), pexcludefilefilter.into().abi(), pexcludedirfilter.into().abi(), dwenumflags, dwqueryflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesItemContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesItemContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesItemContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2074,7 +2074,7 @@ impl IOfflineFilesItemFilter { (::windows::core::Vtable::vtable(self).GetPatternFilter)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pszpattern.as_ptr()), pszpattern.len() as _).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesItemFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesItemFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesItemFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2139,7 +2139,7 @@ impl IOfflineFilesPinInfo { (::windows::core::Vtable::vtable(self).IsPinnedForFolderRedirection)(::windows::core::Vtable::as_raw(self), pbpinnedforfolderredirection, pbinherit).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesPinInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesPinInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesPinInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2224,7 +2224,7 @@ impl IOfflineFilesPinInfo2 { (::windows::core::Vtable::vtable(self).IsPartlyPinned)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesPinInfo2, ::windows::core::IUnknown, IOfflineFilesPinInfo); +::windows::imp::interface_hierarchy!(IOfflineFilesPinInfo2, ::windows::core::IUnknown, IOfflineFilesPinInfo); impl ::core::cmp::PartialEq for IOfflineFilesPinInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2276,7 +2276,7 @@ impl IOfflineFilesProgress { (::windows::core::Vtable::vtable(self).End)(::windows::core::Vtable::as_raw(self), hrresult).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesProgress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesProgress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2339,7 +2339,7 @@ impl IOfflineFilesServerItem { (::windows::core::Vtable::vtable(self).base__.IsMarkedForDeletion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesServerItem, ::windows::core::IUnknown, IOfflineFilesItem); +::windows::imp::interface_hierarchy!(IOfflineFilesServerItem, ::windows::core::IUnknown, IOfflineFilesItem); impl ::core::cmp::PartialEq for IOfflineFilesServerItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2411,7 +2411,7 @@ impl IOfflineFilesSetting { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), pvarvalue, pbsetbypolicy).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesSetting, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesSetting, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesSetting { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2479,7 +2479,7 @@ impl IOfflineFilesShareInfo { (::windows::core::Vtable::vtable(self).IsShareDfsJunction)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesShareInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesShareInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesShareInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2539,7 +2539,7 @@ impl IOfflineFilesShareItem { (::windows::core::Vtable::vtable(self).base__.IsMarkedForDeletion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesShareItem, ::windows::core::IUnknown, IOfflineFilesItem); +::windows::imp::interface_hierarchy!(IOfflineFilesShareItem, ::windows::core::IUnknown, IOfflineFilesItem); impl ::core::cmp::PartialEq for IOfflineFilesShareItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2601,7 +2601,7 @@ impl IOfflineFilesSimpleProgress { (::windows::core::Vtable::vtable(self).ItemResult)(::windows::core::Vtable::as_raw(self), pszfile.into().abi(), hrresult, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesSimpleProgress, ::windows::core::IUnknown, IOfflineFilesProgress); +::windows::imp::interface_hierarchy!(IOfflineFilesSimpleProgress, ::windows::core::IUnknown, IOfflineFilesProgress); impl ::core::cmp::PartialEq for IOfflineFilesSimpleProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2644,7 +2644,7 @@ impl IOfflineFilesSuspend { (::windows::core::Vtable::vtable(self).SuspendRoot)(::windows::core::Vtable::as_raw(self), bsuspend.into()).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesSuspend, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesSuspend, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesSuspend { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2686,7 +2686,7 @@ impl IOfflineFilesSuspendInfo { (::windows::core::Vtable::vtable(self).IsSuspended)(::windows::core::Vtable::as_raw(self), pbsuspended, pbsuspendedroot).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesSuspendInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesSuspendInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesSuspendInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2729,7 +2729,7 @@ impl IOfflineFilesSyncConflictHandler { (::windows::core::Vtable::vtable(self).ResolveConflict)(::windows::core::Vtable::as_raw(self), pszpath.into().abi(), fstateknown, state, fchangedetails, pconflictresolution, ppsznewname).ok() } } -::windows::core::interface_hierarchy!(IOfflineFilesSyncConflictHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesSyncConflictHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesSyncConflictHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2803,7 +2803,7 @@ impl IOfflineFilesSyncErrorInfo { (::windows::core::Vtable::vtable(self).GetOriginalInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesSyncErrorInfo, ::windows::core::IUnknown, IOfflineFilesErrorInfo); +::windows::imp::interface_hierarchy!(IOfflineFilesSyncErrorInfo, ::windows::core::IUnknown, IOfflineFilesErrorInfo); impl ::core::cmp::PartialEq for IOfflineFilesSyncErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2862,7 +2862,7 @@ impl IOfflineFilesSyncErrorItemInfo { (::windows::core::Vtable::vtable(self).GetFileSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesSyncErrorItemInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesSyncErrorItemInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesSyncErrorItemInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2931,7 +2931,7 @@ impl IOfflineFilesSyncProgress { (::windows::core::Vtable::vtable(self).SyncItemResult)(::windows::core::Vtable::as_raw(self), pszfile.into().abi(), hrresult, perrorinfo.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesSyncProgress, ::windows::core::IUnknown, IOfflineFilesProgress); +::windows::imp::interface_hierarchy!(IOfflineFilesSyncProgress, ::windows::core::IUnknown, IOfflineFilesProgress); impl ::core::cmp::PartialEq for IOfflineFilesSyncProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2972,7 +2972,7 @@ impl IOfflineFilesTransparentCacheInfo { (::windows::core::Vtable::vtable(self).IsTransparentlyCached)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOfflineFilesTransparentCacheInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOfflineFilesTransparentCacheInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOfflineFilesTransparentCacheInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OperationRecorder/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/OperationRecorder/mod.rs index 734570cf48..bbb9f812de 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OperationRecorder/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OperationRecorder/mod.rs @@ -2,14 +2,14 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OperationEnd(operationendparams: *const OPERATION_END_PARAMETERS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn OperationEnd ( operationendparams : *const OPERATION_END_PARAMETERS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OperationEnd ( operationendparams : *const OPERATION_END_PARAMETERS ) -> super::super::Foundation:: BOOL ); OperationEnd(operationendparams) } #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OperationStart(operationstartparams: *const OPERATION_START_PARAMETERS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn OperationStart ( operationstartparams : *const OPERATION_START_PARAMETERS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OperationStart ( operationstartparams : *const OPERATION_START_PARAMETERS ) -> super::super::Foundation:: BOOL ); OperationStart(operationstartparams) } #[doc = "*Required features: `\"Win32_Storage_OperationRecorder\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs index efaaf15e5d..63049fbc0f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs @@ -1,7 +1,7 @@ #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[inline] pub unsafe fn ActivatePackageVirtualizationContext(context: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn ActivatePackageVirtualizationContext ( context : *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ , cookie : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ActivatePackageVirtualizationContext ( context : *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ , cookie : *mut usize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ActivatePackageVirtualizationContext(context, &mut result__).from_abi(result__) } @@ -11,7 +11,7 @@ pub unsafe fn AddPackageDependency(packagedependencyid: P0, rank: i32, optio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernelbase.dll""system" fn AddPackageDependency ( packagedependencyid : :: windows::core::PCWSTR , rank : i32 , options : AddPackageDependencyOptions , packagedependencycontext : *mut *mut PACKAGEDEPENDENCY_CONTEXT__ , packagefullname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernelbase.dll""system" fn AddPackageDependency ( packagedependencyid : :: windows::core::PCWSTR , rank : i32 , options : AddPackageDependencyOptions , packagedependencycontext : *mut *mut PACKAGEDEPENDENCY_CONTEXT__ , packagefullname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); AddPackageDependency(packagedependencyid.into().abi(), rank, options, packagedependencycontext, ::core::mem::transmute(packagefullname.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -21,7 +21,7 @@ pub unsafe fn AppPolicyGetClrCompat(processtoken: P0, policy: *mut AppPolicy where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AppPolicyGetClrCompat ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyClrCompat ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AppPolicyGetClrCompat ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyClrCompat ) -> super::super::super::Foundation:: WIN32_ERROR ); AppPolicyGetClrCompat(processtoken.into(), policy) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -31,7 +31,7 @@ pub unsafe fn AppPolicyGetCreateFileAccess(processtoken: P0, policy: *mut Ap where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AppPolicyGetCreateFileAccess ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyCreateFileAccess ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AppPolicyGetCreateFileAccess ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyCreateFileAccess ) -> super::super::super::Foundation:: WIN32_ERROR ); AppPolicyGetCreateFileAccess(processtoken.into(), policy) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -41,7 +41,7 @@ pub unsafe fn AppPolicyGetLifecycleManagement(processtoken: P0, policy: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AppPolicyGetLifecycleManagement ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyLifecycleManagement ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AppPolicyGetLifecycleManagement ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyLifecycleManagement ) -> super::super::super::Foundation:: WIN32_ERROR ); AppPolicyGetLifecycleManagement(processtoken.into(), policy) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -51,7 +51,7 @@ pub unsafe fn AppPolicyGetMediaFoundationCodecLoading(processtoken: P0, poli where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AppPolicyGetMediaFoundationCodecLoading ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyMediaFoundationCodecLoading ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AppPolicyGetMediaFoundationCodecLoading ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyMediaFoundationCodecLoading ) -> super::super::super::Foundation:: WIN32_ERROR ); AppPolicyGetMediaFoundationCodecLoading(processtoken.into(), policy) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -61,7 +61,7 @@ pub unsafe fn AppPolicyGetProcessTerminationMethod(processtoken: P0, policy: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AppPolicyGetProcessTerminationMethod ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyProcessTerminationMethod ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AppPolicyGetProcessTerminationMethod ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyProcessTerminationMethod ) -> super::super::super::Foundation:: WIN32_ERROR ); AppPolicyGetProcessTerminationMethod(processtoken.into(), policy) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -71,7 +71,7 @@ pub unsafe fn AppPolicyGetShowDeveloperDiagnostic(processtoken: P0, policy: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AppPolicyGetShowDeveloperDiagnostic ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyShowDeveloperDiagnostic ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AppPolicyGetShowDeveloperDiagnostic ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyShowDeveloperDiagnostic ) -> super::super::super::Foundation:: WIN32_ERROR ); AppPolicyGetShowDeveloperDiagnostic(processtoken.into(), policy) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -81,7 +81,7 @@ pub unsafe fn AppPolicyGetThreadInitializationType(processtoken: P0, policy: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AppPolicyGetThreadInitializationType ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyThreadInitializationType ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AppPolicyGetThreadInitializationType ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyThreadInitializationType ) -> super::super::super::Foundation:: WIN32_ERROR ); AppPolicyGetThreadInitializationType(processtoken.into(), policy) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -91,7 +91,7 @@ pub unsafe fn AppPolicyGetWindowingModel(processtoken: P0, policy: *mut AppP where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AppPolicyGetWindowingModel ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyWindowingModel ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AppPolicyGetWindowingModel ( processtoken : super::super::super::Foundation:: HANDLE , policy : *mut AppPolicyWindowingModel ) -> super::super::super::Foundation:: WIN32_ERROR ); AppPolicyGetWindowingModel(processtoken.into(), policy) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -101,7 +101,7 @@ pub unsafe fn CheckIsMSIXPackage(packagefullname: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CheckIsMSIXPackage ( packagefullname : :: windows::core::PCWSTR , ismsixpackage : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CheckIsMSIXPackage ( packagefullname : :: windows::core::PCWSTR , ismsixpackage : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CheckIsMSIXPackage(packagefullname.into().abi(), &mut result__).from_abi(result__) } @@ -109,7 +109,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ClosePackageInfo(packageinforeference: *const _PACKAGE_INFO_REFERENCE) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn ClosePackageInfo ( packageinforeference : *const _PACKAGE_INFO_REFERENCE ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ClosePackageInfo ( packageinforeference : *const _PACKAGE_INFO_REFERENCE ) -> super::super::super::Foundation:: WIN32_ERROR ); ClosePackageInfo(packageinforeference) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -118,14 +118,14 @@ pub unsafe fn CreatePackageVirtualizationContext(packagefamilyname: P0) -> : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreatePackageVirtualizationContext ( packagefamilyname : :: windows::core::PCWSTR , context : *mut *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreatePackageVirtualizationContext ( packagefamilyname : :: windows::core::PCWSTR , context : *mut *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__>(); CreatePackageVirtualizationContext(packagefamilyname.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[inline] pub unsafe fn DeactivatePackageVirtualizationContext(cookie: usize) { - ::windows::core::link ! ( "kernel32.dll""system" fn DeactivatePackageVirtualizationContext ( cookie : usize ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeactivatePackageVirtualizationContext ( cookie : usize ) -> ( ) ); DeactivatePackageVirtualizationContext(cookie) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -134,13 +134,13 @@ pub unsafe fn DeletePackageDependency(packagedependencyid: P0) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernelbase.dll""system" fn DeletePackageDependency ( packagedependencyid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernelbase.dll""system" fn DeletePackageDependency ( packagedependencyid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DeletePackageDependency(packagedependencyid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[inline] pub unsafe fn DuplicatePackageVirtualizationContext(sourcecontext: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__) -> ::windows::core::Result<*mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__> { - ::windows::core::link ! ( "kernel32.dll""system" fn DuplicatePackageVirtualizationContext ( sourcecontext : *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ , destcontext : *mut *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DuplicatePackageVirtualizationContext ( sourcecontext : *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ , destcontext : *mut *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__>(); DuplicatePackageVirtualizationContext(sourcecontext, &mut result__).from_abi(result__) } @@ -151,7 +151,7 @@ pub unsafe fn FindPackagesByPackageFamily(packagefamilyname: P0, packagefilt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindPackagesByPackageFamily ( packagefamilyname : :: windows::core::PCWSTR , packagefilters : u32 , count : *mut u32 , packagefullnames : *mut :: windows::core::PWSTR , bufferlength : *mut u32 , buffer : :: windows::core::PWSTR , packageproperties : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindPackagesByPackageFamily ( packagefamilyname : :: windows::core::PCWSTR , packagefilters : u32 , count : *mut u32 , packagefullnames : *mut :: windows::core::PWSTR , bufferlength : *mut u32 , buffer : :: windows::core::PWSTR , packageproperties : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); FindPackagesByPackageFamily(packagefamilyname.into().abi(), packagefilters, count, ::core::mem::transmute(packagefullnames.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(buffer), ::core::mem::transmute(packageproperties.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -162,7 +162,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FormatApplicationUserModelId ( packagefamilyname : :: windows::core::PCWSTR , packagerelativeapplicationid : :: windows::core::PCWSTR , applicationusermodelidlength : *mut u32 , applicationusermodelid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FormatApplicationUserModelId ( packagefamilyname : :: windows::core::PCWSTR , packagerelativeapplicationid : :: windows::core::PCWSTR , applicationusermodelidlength : *mut u32 , applicationusermodelid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); FormatApplicationUserModelId(packagefamilyname.into().abi(), packagerelativeapplicationid.into().abi(), applicationusermodelidlength, ::core::mem::transmute(applicationusermodelid)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -172,7 +172,7 @@ pub unsafe fn GetApplicationUserModelId(hprocess: P0, applicationusermodelid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetApplicationUserModelId ( hprocess : super::super::super::Foundation:: HANDLE , applicationusermodelidlength : *mut u32 , applicationusermodelid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetApplicationUserModelId ( hprocess : super::super::super::Foundation:: HANDLE , applicationusermodelidlength : *mut u32 , applicationusermodelid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetApplicationUserModelId(hprocess.into(), applicationusermodelidlength, ::core::mem::transmute(applicationusermodelid)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -182,75 +182,75 @@ pub unsafe fn GetApplicationUserModelIdFromToken(token: P0, applicationuserm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn GetApplicationUserModelIdFromToken ( token : super::super::super::Foundation:: HANDLE , applicationusermodelidlength : *mut u32 , applicationusermodelid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn GetApplicationUserModelIdFromToken ( token : super::super::super::Foundation:: HANDLE , applicationusermodelidlength : *mut u32 , applicationusermodelid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetApplicationUserModelIdFromToken(token.into(), applicationusermodelidlength, ::core::mem::transmute(applicationusermodelid)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentApplicationUserModelId(applicationusermodelidlength: *mut u32, applicationusermodelid: ::windows::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentApplicationUserModelId ( applicationusermodelidlength : *mut u32 , applicationusermodelid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentApplicationUserModelId ( applicationusermodelidlength : *mut u32 , applicationusermodelid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetCurrentApplicationUserModelId(applicationusermodelidlength, ::core::mem::transmute(applicationusermodelid)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentPackageFamilyName(packagefamilynamelength: *mut u32, packagefamilyname: ::windows::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentPackageFamilyName ( packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentPackageFamilyName ( packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetCurrentPackageFamilyName(packagefamilynamelength, ::core::mem::transmute(packagefamilyname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentPackageFullName(packagefullnamelength: *mut u32, packagefullname: ::windows::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentPackageFullName ( packagefullnamelength : *mut u32 , packagefullname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentPackageFullName ( packagefullnamelength : *mut u32 , packagefullname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetCurrentPackageFullName(packagefullnamelength, ::core::mem::transmute(packagefullname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentPackageId(bufferlength: *mut u32, buffer: ::core::option::Option<*mut u8>) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentPackageId ( bufferlength : *mut u32 , buffer : *mut u8 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentPackageId ( bufferlength : *mut u32 , buffer : *mut u8 ) -> super::super::super::Foundation:: WIN32_ERROR ); GetCurrentPackageId(bufferlength, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentPackageInfo(flags: u32, bufferlength: *mut u32, buffer: ::core::option::Option<*mut u8>, count: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentPackageInfo ( flags : u32 , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentPackageInfo ( flags : u32 , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); GetCurrentPackageInfo(flags, bufferlength, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(count.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentPackageInfo2(flags: u32, packagepathtype: PackagePathType, bufferlength: *mut u32, buffer: ::core::option::Option<*mut u8>, count: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetCurrentPackageInfo2 ( flags : u32 , packagepathtype : PackagePathType , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetCurrentPackageInfo2 ( flags : u32 , packagepathtype : PackagePathType , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); GetCurrentPackageInfo2(flags, packagepathtype, bufferlength, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(count.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentPackagePath(pathlength: *mut u32, path: ::windows::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentPackagePath ( pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentPackagePath ( pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetCurrentPackagePath(pathlength, ::core::mem::transmute(path)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentPackagePath2(packagepathtype: PackagePathType, pathlength: *mut u32, path: ::windows::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetCurrentPackagePath2 ( packagepathtype : PackagePathType , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetCurrentPackagePath2 ( packagepathtype : PackagePathType , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetCurrentPackagePath2(packagepathtype, pathlength, ::core::mem::transmute(path)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[inline] pub unsafe fn GetCurrentPackageVirtualizationContext() -> *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentPackageVirtualizationContext ( ) -> *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentPackageVirtualizationContext ( ) -> *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ ); GetCurrentPackageVirtualizationContext() } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[inline] pub unsafe fn GetIdForPackageDependencyContext(packagedependencycontext: *const PACKAGEDEPENDENCY_CONTEXT__) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "kernelbase.dll""system" fn GetIdForPackageDependencyContext ( packagedependencycontext : *const PACKAGEDEPENDENCY_CONTEXT__ , packagedependencyid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernelbase.dll""system" fn GetIdForPackageDependencyContext ( packagedependencycontext : *const PACKAGEDEPENDENCY_CONTEXT__ , packagedependencyid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); GetIdForPackageDependencyContext(packagedependencycontext, &mut result__).from_abi(result__) } @@ -258,7 +258,7 @@ pub unsafe fn GetIdForPackageDependencyContext(packagedependencycontext: *const #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPackageApplicationIds(packageinforeference: *const _PACKAGE_INFO_REFERENCE, bufferlength: *mut u32, buffer: ::core::option::Option<*mut u8>, count: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPackageApplicationIds ( packageinforeference : *const _PACKAGE_INFO_REFERENCE , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPackageApplicationIds ( packageinforeference : *const _PACKAGE_INFO_REFERENCE , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackageApplicationIds(packageinforeference, bufferlength, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(count.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -268,7 +268,7 @@ pub unsafe fn GetPackageFamilyName(hprocess: P0, packagefamilynamelength: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPackageFamilyName ( hprocess : super::super::super::Foundation:: HANDLE , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPackageFamilyName ( hprocess : super::super::super::Foundation:: HANDLE , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackageFamilyName(hprocess.into(), packagefamilynamelength, ::core::mem::transmute(packagefamilyname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -278,7 +278,7 @@ pub unsafe fn GetPackageFamilyNameFromToken(token: P0, packagefamilynameleng where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn GetPackageFamilyNameFromToken ( token : super::super::super::Foundation:: HANDLE , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn GetPackageFamilyNameFromToken ( token : super::super::super::Foundation:: HANDLE , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackageFamilyNameFromToken(token.into(), packagefamilynamelength, ::core::mem::transmute(packagefamilyname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -288,7 +288,7 @@ pub unsafe fn GetPackageFullName(hprocess: P0, packagefullnamelength: *mut u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPackageFullName ( hprocess : super::super::super::Foundation:: HANDLE , packagefullnamelength : *mut u32 , packagefullname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPackageFullName ( hprocess : super::super::super::Foundation:: HANDLE , packagefullnamelength : *mut u32 , packagefullname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackageFullName(hprocess.into(), packagefullnamelength, ::core::mem::transmute(packagefullname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -298,7 +298,7 @@ pub unsafe fn GetPackageFullNameFromToken(token: P0, packagefullnamelength: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn GetPackageFullNameFromToken ( token : super::super::super::Foundation:: HANDLE , packagefullnamelength : *mut u32 , packagefullname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn GetPackageFullNameFromToken ( token : super::super::super::Foundation:: HANDLE , packagefullnamelength : *mut u32 , packagefullname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackageFullNameFromToken(token.into(), packagefullnamelength, ::core::mem::transmute(packagefullname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -308,28 +308,28 @@ pub unsafe fn GetPackageId(hprocess: P0, bufferlength: *mut u32, buffer: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPackageId ( hprocess : super::super::super::Foundation:: HANDLE , bufferlength : *mut u32 , buffer : *mut u8 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPackageId ( hprocess : super::super::super::Foundation:: HANDLE , bufferlength : *mut u32 , buffer : *mut u8 ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackageId(hprocess.into(), bufferlength, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPackageInfo(packageinforeference: *const _PACKAGE_INFO_REFERENCE, flags: u32, bufferlength: *mut u32, buffer: ::core::option::Option<*mut u8>, count: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPackageInfo ( packageinforeference : *const _PACKAGE_INFO_REFERENCE , flags : u32 , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPackageInfo ( packageinforeference : *const _PACKAGE_INFO_REFERENCE , flags : u32 , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackageInfo(packageinforeference, flags, bufferlength, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(count.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPackageInfo2(packageinforeference: *const _PACKAGE_INFO_REFERENCE, flags: u32, packagepathtype: PackagePathType, bufferlength: *mut u32, buffer: ::core::option::Option<*mut u8>, count: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetPackageInfo2 ( packageinforeference : *const _PACKAGE_INFO_REFERENCE , flags : u32 , packagepathtype : PackagePathType , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetPackageInfo2 ( packageinforeference : *const _PACKAGE_INFO_REFERENCE , flags : u32 , packagepathtype : PackagePathType , bufferlength : *mut u32 , buffer : *mut u8 , count : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackageInfo2(packageinforeference, flags, packagepathtype, bufferlength, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(count.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPackagePath(packageid: *const PACKAGE_ID, reserved: u32, pathlength: *mut u32, path: ::windows::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPackagePath ( packageid : *const PACKAGE_ID , reserved : u32 , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPackagePath ( packageid : *const PACKAGE_ID , reserved : u32 , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackagePath(packageid, reserved, pathlength, ::core::mem::transmute(path)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -339,7 +339,7 @@ pub unsafe fn GetPackagePathByFullName(packagefullname: P0, pathlength: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPackagePathByFullName ( packagefullname : :: windows::core::PCWSTR , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPackagePathByFullName ( packagefullname : :: windows::core::PCWSTR , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackagePathByFullName(packagefullname.into().abi(), pathlength, ::core::mem::transmute(path)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -349,7 +349,7 @@ pub unsafe fn GetPackagePathByFullName2(packagefullname: P0, packagepathtype where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetPackagePathByFullName2 ( packagefullname : :: windows::core::PCWSTR , packagepathtype : PackagePathType , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetPackagePathByFullName2 ( packagefullname : :: windows::core::PCWSTR , packagepathtype : PackagePathType , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackagePathByFullName2(packagefullname.into().abi(), packagepathtype, pathlength, ::core::mem::transmute(path)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -359,7 +359,7 @@ pub unsafe fn GetPackagesByPackageFamily(packagefamilyname: P0, count: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPackagesByPackageFamily ( packagefamilyname : :: windows::core::PCWSTR , count : *mut u32 , packagefullnames : *mut :: windows::core::PWSTR , bufferlength : *mut u32 , buffer : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPackagesByPackageFamily ( packagefamilyname : :: windows::core::PCWSTR , count : *mut u32 , packagefullnames : *mut :: windows::core::PWSTR , bufferlength : *mut u32 , buffer : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetPackagesByPackageFamily(packagefamilyname.into().abi(), count, ::core::mem::transmute(packagefullnames.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(buffer)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -369,7 +369,7 @@ pub unsafe fn GetProcessesInVirtualizationContext(packagefamilyname: P0, cou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessesInVirtualizationContext ( packagefamilyname : :: windows::core::PCWSTR , count : *mut u32 , processes : *mut *mut super::super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessesInVirtualizationContext ( packagefamilyname : :: windows::core::PCWSTR , count : *mut u32 , processes : *mut *mut super::super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); GetProcessesInVirtualizationContext(packagefamilyname.into().abi(), count, processes).ok() } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -378,7 +378,7 @@ pub unsafe fn GetResolvedPackageFullNameForPackageDependency(packagedependen where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernelbase.dll""system" fn GetResolvedPackageFullNameForPackageDependency ( packagedependencyid : :: windows::core::PCWSTR , packagefullname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernelbase.dll""system" fn GetResolvedPackageFullNameForPackageDependency ( packagedependencyid : :: windows::core::PCWSTR , packagefullname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); GetResolvedPackageFullNameForPackageDependency(packagedependencyid.into().abi(), &mut result__).from_abi(result__) } @@ -389,7 +389,7 @@ pub unsafe fn GetStagedPackageOrigin(packagefullname: P0, origin: *mut Packa where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn GetStagedPackageOrigin ( packagefullname : :: windows::core::PCWSTR , origin : *mut PackageOrigin ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn GetStagedPackageOrigin ( packagefullname : :: windows::core::PCWSTR , origin : *mut PackageOrigin ) -> super::super::super::Foundation:: WIN32_ERROR ); GetStagedPackageOrigin(packagefullname.into().abi(), origin) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -399,7 +399,7 @@ pub unsafe fn GetStagedPackagePathByFullName(packagefullname: P0, pathlength where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStagedPackagePathByFullName ( packagefullname : :: windows::core::PCWSTR , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStagedPackagePathByFullName ( packagefullname : :: windows::core::PCWSTR , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetStagedPackagePathByFullName(packagefullname.into().abi(), pathlength, ::core::mem::transmute(path)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -409,7 +409,7 @@ pub unsafe fn GetStagedPackagePathByFullName2(packagefullname: P0, packagepa where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetStagedPackagePathByFullName2 ( packagefullname : :: windows::core::PCWSTR , packagepathtype : PackagePathType , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-3.dll""system" fn GetStagedPackagePathByFullName2 ( packagefullname : :: windows::core::PCWSTR , packagepathtype : PackagePathType , pathlength : *mut u32 , path : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); GetStagedPackagePathByFullName2(packagefullname.into().abi(), packagepathtype, pathlength, ::core::mem::transmute(path)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -419,7 +419,7 @@ pub unsafe fn OpenPackageInfoByFullName(packagefullname: P0, reserved: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenPackageInfoByFullName ( packagefullname : :: windows::core::PCWSTR , reserved : u32 , packageinforeference : *mut *mut _PACKAGE_INFO_REFERENCE ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenPackageInfoByFullName ( packagefullname : :: windows::core::PCWSTR , reserved : u32 , packageinforeference : *mut *mut _PACKAGE_INFO_REFERENCE ) -> super::super::super::Foundation:: WIN32_ERROR ); OpenPackageInfoByFullName(packagefullname.into().abi(), reserved, packageinforeference) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -430,7 +430,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn OpenPackageInfoByFullNameForUser ( usersid : super::super::super::Foundation:: PSID , packagefullname : :: windows::core::PCWSTR , reserved : u32 , packageinforeference : *mut *mut _PACKAGE_INFO_REFERENCE ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn OpenPackageInfoByFullNameForUser ( usersid : super::super::super::Foundation:: PSID , packagefullname : :: windows::core::PCWSTR , reserved : u32 , packageinforeference : *mut *mut _PACKAGE_INFO_REFERENCE ) -> super::super::super::Foundation:: WIN32_ERROR ); OpenPackageInfoByFullNameForUser(usersid.into(), packagefullname.into().abi(), reserved, packageinforeference) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -440,21 +440,21 @@ pub unsafe fn PackageFamilyNameFromFullName(packagefullname: P0, packagefami where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn PackageFamilyNameFromFullName ( packagefullname : :: windows::core::PCWSTR , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PackageFamilyNameFromFullName ( packagefullname : :: windows::core::PCWSTR , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); PackageFamilyNameFromFullName(packagefullname.into().abi(), packagefamilynamelength, ::core::mem::transmute(packagefamilyname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PackageFamilyNameFromId(packageid: *const PACKAGE_ID, packagefamilynamelength: *mut u32, packagefamilyname: ::windows::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn PackageFamilyNameFromId ( packageid : *const PACKAGE_ID , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PackageFamilyNameFromId ( packageid : *const PACKAGE_ID , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); PackageFamilyNameFromId(packageid, packagefamilynamelength, ::core::mem::transmute(packagefamilyname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PackageFullNameFromId(packageid: *const PACKAGE_ID, packagefullnamelength: *mut u32, packagefullname: ::windows::core::PWSTR) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "kernel32.dll""system" fn PackageFullNameFromId ( packageid : *const PACKAGE_ID , packagefullnamelength : *mut u32 , packagefullname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PackageFullNameFromId ( packageid : *const PACKAGE_ID , packagefullnamelength : *mut u32 , packagefullname : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); PackageFullNameFromId(packageid, packagefullnamelength, ::core::mem::transmute(packagefullname)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -464,7 +464,7 @@ pub unsafe fn PackageIdFromFullName(packagefullname: P0, flags: u32, bufferl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn PackageIdFromFullName ( packagefullname : :: windows::core::PCWSTR , flags : u32 , bufferlength : *mut u32 , buffer : *mut u8 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PackageIdFromFullName ( packagefullname : :: windows::core::PCWSTR , flags : u32 , bufferlength : *mut u32 , buffer : *mut u8 ) -> super::super::super::Foundation:: WIN32_ERROR ); PackageIdFromFullName(packagefullname.into().abi(), flags, bufferlength, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -474,7 +474,7 @@ pub unsafe fn PackageNameAndPublisherIdFromFamilyName(packagefamilyname: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn PackageNameAndPublisherIdFromFamilyName ( packagefamilyname : :: windows::core::PCWSTR , packagenamelength : *mut u32 , packagename : :: windows::core::PWSTR , packagepublisheridlength : *mut u32 , packagepublisherid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PackageNameAndPublisherIdFromFamilyName ( packagefamilyname : :: windows::core::PCWSTR , packagenamelength : *mut u32 , packagename : :: windows::core::PWSTR , packagepublisheridlength : *mut u32 , packagepublisherid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); PackageNameAndPublisherIdFromFamilyName(packagefamilyname.into().abi(), packagenamelength, ::core::mem::transmute(packagename), packagepublisheridlength, ::core::mem::transmute(packagepublisherid)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -484,19 +484,19 @@ pub unsafe fn ParseApplicationUserModelId(applicationusermodelid: P0, packag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ParseApplicationUserModelId ( applicationusermodelid : :: windows::core::PCWSTR , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR , packagerelativeapplicationidlength : *mut u32 , packagerelativeapplicationid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ParseApplicationUserModelId ( applicationusermodelid : :: windows::core::PCWSTR , packagefamilynamelength : *mut u32 , packagefamilyname : :: windows::core::PWSTR , packagerelativeapplicationidlength : *mut u32 , packagerelativeapplicationid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); ParseApplicationUserModelId(applicationusermodelid.into().abi(), packagefamilynamelength, ::core::mem::transmute(packagefamilyname), packagerelativeapplicationidlength, ::core::mem::transmute(packagerelativeapplicationid)) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[inline] pub unsafe fn ReleasePackageVirtualizationContext(context: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__) { - ::windows::core::link ! ( "kernel32.dll""system" fn ReleasePackageVirtualizationContext ( context : *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReleasePackageVirtualizationContext ( context : *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ ) -> ( ) ); ReleasePackageVirtualizationContext(context) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[inline] pub unsafe fn RemovePackageDependency(packagedependencycontext: *const PACKAGEDEPENDENCY_CONTEXT__) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernelbase.dll""system" fn RemovePackageDependency ( packagedependencycontext : *const PACKAGEDEPENDENCY_CONTEXT__ ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernelbase.dll""system" fn RemovePackageDependency ( packagedependencycontext : *const PACKAGEDEPENDENCY_CONTEXT__ ) -> :: windows::core::HRESULT ); RemovePackageDependency(packagedependencycontext).ok() } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -508,7 +508,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernelbase.dll""system" fn TryCreatePackageDependency ( user : super::super::super::Foundation:: PSID , packagefamilyname : :: windows::core::PCWSTR , minversion : PACKAGE_VERSION , packagedependencyprocessorarchitectures : PackageDependencyProcessorArchitectures , lifetimekind : PackageDependencyLifetimeKind , lifetimeartifact : :: windows::core::PCWSTR , options : CreatePackageDependencyOptions , packagedependencyid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernelbase.dll""system" fn TryCreatePackageDependency ( user : super::super::super::Foundation:: PSID , packagefamilyname : :: windows::core::PCWSTR , minversion : PACKAGE_VERSION , packagedependencyprocessorarchitectures : PackageDependencyProcessorArchitectures , lifetimekind : PackageDependencyLifetimeKind , lifetimeartifact : :: windows::core::PCWSTR , options : CreatePackageDependencyOptions , packagedependencyid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); TryCreatePackageDependency(user.into(), packagefamilyname.into().abi(), ::core::mem::transmute(minversion), packagedependencyprocessorarchitectures, lifetimekind, lifetimeartifact.into().abi(), options, &mut result__).from_abi(result__) } @@ -519,7 +519,7 @@ pub unsafe fn VerifyApplicationUserModelId(applicationusermodelid: P0) -> su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyApplicationUserModelId ( applicationusermodelid : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyApplicationUserModelId ( applicationusermodelid : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); VerifyApplicationUserModelId(applicationusermodelid.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -529,7 +529,7 @@ pub unsafe fn VerifyPackageFamilyName(packagefamilyname: P0) -> super::super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyPackageFamilyName ( packagefamilyname : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyPackageFamilyName ( packagefamilyname : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); VerifyPackageFamilyName(packagefamilyname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -539,14 +539,14 @@ pub unsafe fn VerifyPackageFullName(packagefullname: P0) -> super::super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyPackageFullName ( packagefullname : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyPackageFullName ( packagefullname : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); VerifyPackageFullName(packagefullname.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VerifyPackageId(packageid: *const PACKAGE_ID) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyPackageId ( packageid : *const PACKAGE_ID ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyPackageId ( packageid : *const PACKAGE_ID ) -> super::super::super::Foundation:: WIN32_ERROR ); VerifyPackageId(packageid) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`*"] @@ -556,7 +556,7 @@ pub unsafe fn VerifyPackageRelativeApplicationId(packagerelativeapplicationi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyPackageRelativeApplicationId ( packagerelativeapplicationid : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-appmodel-runtime-l1-1-1.dll""system" fn VerifyPackageRelativeApplicationId ( packagerelativeapplicationid : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: WIN32_ERROR ); VerifyPackageRelativeApplicationId(packagerelativeapplicationid.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -571,7 +571,7 @@ impl IAppxBlockMapBlock { (::windows::core::Vtable::vtable(self).GetCompressedSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBlockMapBlock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBlockMapBlock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBlockMapBlock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -622,7 +622,7 @@ impl IAppxBlockMapBlocksEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBlockMapBlocksEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBlockMapBlocksEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBlockMapBlocksEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -689,7 +689,7 @@ impl IAppxBlockMapFile { (::windows::core::Vtable::vtable(self).ValidateFileHash)(::windows::core::Vtable::as_raw(self), filestream.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBlockMapFile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBlockMapFile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBlockMapFile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -746,7 +746,7 @@ impl IAppxBlockMapFilesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBlockMapFilesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBlockMapFilesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBlockMapFilesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -811,7 +811,7 @@ impl IAppxBlockMapReader { (::windows::core::Vtable::vtable(self).GetStream)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBlockMapReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBlockMapReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBlockMapReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -881,7 +881,7 @@ impl IAppxBundleFactory { (::windows::core::Vtable::vtable(self).CreateBundleManifestReader)(::windows::core::Vtable::as_raw(self), inputstream.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -938,7 +938,7 @@ impl IAppxBundleManifestOptionalBundleInfo { (::windows::core::Vtable::vtable(self).GetPackageInfoItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestOptionalBundleInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -990,7 +990,7 @@ impl IAppxBundleManifestOptionalBundleInfoEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestOptionalBundleInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1056,7 +1056,7 @@ impl IAppxBundleManifestPackageInfo { (::windows::core::Vtable::vtable(self).GetResources)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestPackageInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1113,7 +1113,7 @@ impl IAppxBundleManifestPackageInfo2 { (::windows::core::Vtable::vtable(self).GetIsDefaultApplicablePackage)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestPackageInfo2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1162,7 +1162,7 @@ impl IAppxBundleManifestPackageInfo3 { (::windows::core::Vtable::vtable(self).GetTargetDeviceFamilies)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestPackageInfo3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfo3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1202,7 +1202,7 @@ impl IAppxBundleManifestPackageInfo4 { (::windows::core::Vtable::vtable(self).GetIsStub)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestPackageInfo4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfo4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1255,7 +1255,7 @@ impl IAppxBundleManifestPackageInfoEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestPackageInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestPackageInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1311,7 +1311,7 @@ impl IAppxBundleManifestReader { (::windows::core::Vtable::vtable(self).GetStream)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1354,7 +1354,7 @@ impl IAppxBundleManifestReader2 { (::windows::core::Vtable::vtable(self).GetOptionalBundles)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleManifestReader2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleManifestReader2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleManifestReader2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1411,7 +1411,7 @@ impl IAppxBundleReader { (::windows::core::Vtable::vtable(self).GetPayloadPackage)(::windows::core::Vtable::as_raw(self), filename.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxBundleReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1461,7 +1461,7 @@ impl IAppxBundleWriter { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAppxBundleWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1508,7 +1508,7 @@ impl IAppxBundleWriter2 { (::windows::core::Vtable::vtable(self).AddExternalPackageReference)(::windows::core::Vtable::as_raw(self), filename.into().abi(), inputstream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAppxBundleWriter2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleWriter2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleWriter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1560,7 +1560,7 @@ impl IAppxBundleWriter3 { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self), hashmethodstring.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAppxBundleWriter3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleWriter3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleWriter3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1628,7 +1628,7 @@ impl IAppxBundleWriter4 { (::windows::core::Vtable::vtable(self).AddExternalPackageReference)(::windows::core::Vtable::as_raw(self), filename.into().abi(), inputstream.into().abi(), isdefaultapplicablepackage.into()).ok() } } -::windows::core::interface_hierarchy!(IAppxBundleWriter4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxBundleWriter4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxBundleWriter4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1681,7 +1681,7 @@ impl IAppxContentGroup { (::windows::core::Vtable::vtable(self).GetFiles)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxContentGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxContentGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxContentGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1732,7 +1732,7 @@ impl IAppxContentGroupFilesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxContentGroupFilesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxContentGroupFilesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxContentGroupFilesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1782,7 +1782,7 @@ impl IAppxContentGroupMapReader { (::windows::core::Vtable::vtable(self).GetAutomaticGroups)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxContentGroupMapReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxContentGroupMapReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxContentGroupMapReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1832,7 +1832,7 @@ impl IAppxContentGroupMapWriter { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAppxContentGroupMapWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxContentGroupMapWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxContentGroupMapWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1884,7 +1884,7 @@ impl IAppxContentGroupsEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxContentGroupsEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxContentGroupsEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxContentGroupsEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1938,7 +1938,7 @@ impl IAppxEncryptedBundleWriter { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAppxEncryptedBundleWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptedBundleWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptedBundleWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1985,7 +1985,7 @@ impl IAppxEncryptedBundleWriter2 { (::windows::core::Vtable::vtable(self).AddExternalPackageReference)(::windows::core::Vtable::as_raw(self), filename.into().abi(), inputstream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAppxEncryptedBundleWriter2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptedBundleWriter2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptedBundleWriter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2042,7 +2042,7 @@ impl IAppxEncryptedBundleWriter3 { (::windows::core::Vtable::vtable(self).AddExternalPackageReference)(::windows::core::Vtable::as_raw(self), filename.into().abi(), inputstream.into().abi(), isdefaultapplicablepackage.into()).ok() } } -::windows::core::interface_hierarchy!(IAppxEncryptedBundleWriter3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptedBundleWriter3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptedBundleWriter3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2095,7 +2095,7 @@ impl IAppxEncryptedPackageWriter { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAppxEncryptedPackageWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptedPackageWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptedPackageWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2138,7 +2138,7 @@ impl IAppxEncryptedPackageWriter2 { (::windows::core::Vtable::vtable(self).AddPayloadFilesEncrypted)(::windows::core::Vtable::as_raw(self), payloadfiles.len() as _, ::core::mem::transmute(payloadfiles.as_ptr()), memorylimit).ok() } } -::windows::core::interface_hierarchy!(IAppxEncryptedPackageWriter2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptedPackageWriter2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptedPackageWriter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2248,7 +2248,7 @@ impl IAppxEncryptionFactory { (::windows::core::Vtable::vtable(self).CreateEncryptedBundleReader)(::windows::core::Vtable::as_raw(self), inputstream.into().abi(), keyinfo, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxEncryptionFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptionFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptionFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2324,7 +2324,7 @@ impl IAppxEncryptionFactory2 { (::windows::core::Vtable::vtable(self).CreateEncryptedPackageWriter)(::windows::core::Vtable::as_raw(self), outputstream.into().abi(), manifeststream.into().abi(), contentgroupmapstream.into().abi(), settings, keyinfo, exemptedfiles, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxEncryptionFactory2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptionFactory2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptionFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2399,7 +2399,7 @@ impl IAppxEncryptionFactory3 { (::windows::core::Vtable::vtable(self).CreateEncryptedBundleWriter)(::windows::core::Vtable::as_raw(self), outputstream.into().abi(), bundleversion, settings, keyinfo, exemptedfiles, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxEncryptionFactory3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptionFactory3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptionFactory3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2457,7 +2457,7 @@ impl IAppxEncryptionFactory4 { (::windows::core::Vtable::vtable(self).EncryptPackage)(::windows::core::Vtable::as_raw(self), inputstream.into().abi(), outputstream.into().abi(), settings, keyinfo, exemptedfiles, memorylimit).ok() } } -::windows::core::interface_hierarchy!(IAppxEncryptionFactory4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxEncryptionFactory4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxEncryptionFactory4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2540,7 +2540,7 @@ impl IAppxFactory { (::windows::core::Vtable::vtable(self).CreateValidatedBlockMapReader)(::windows::core::Vtable::as_raw(self), blockmapstream.into().abi(), signaturefilename.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2620,7 +2620,7 @@ impl IAppxFactory2 { (::windows::core::Vtable::vtable(self).CreateContentGroupMapWriter)(::windows::core::Vtable::as_raw(self), stream.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxFactory2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxFactory2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2687,7 +2687,7 @@ impl IAppxFile { (::windows::core::Vtable::vtable(self).GetStream)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxFile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxFile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxFile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2744,7 +2744,7 @@ impl IAppxFilesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxFilesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxFilesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxFilesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2797,7 +2797,7 @@ impl IAppxManifestApplication { (::windows::core::Vtable::vtable(self).GetAppUserModelId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestApplication, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestApplication, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestApplication { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2848,7 +2848,7 @@ impl IAppxManifestApplicationsEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestApplicationsEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestApplicationsEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestApplicationsEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2906,7 +2906,7 @@ impl IAppxManifestCapabilitiesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestCapabilitiesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestCapabilitiesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestCapabilitiesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2964,7 +2964,7 @@ impl IAppxManifestDeviceCapabilitiesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestDeviceCapabilitiesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestDeviceCapabilitiesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestDeviceCapabilitiesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3018,7 +3018,7 @@ impl IAppxManifestDriverConstraint { (::windows::core::Vtable::vtable(self).GetMinDate)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestDriverConstraint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestDriverConstraint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestDriverConstraint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3070,7 +3070,7 @@ impl IAppxManifestDriverConstraintsEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestDriverConstraintsEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestDriverConstraintsEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestDriverConstraintsEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3128,7 +3128,7 @@ impl IAppxManifestDriverDependenciesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestDriverDependenciesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestDriverDependenciesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestDriverDependenciesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3174,7 +3174,7 @@ impl IAppxManifestDriverDependency { (::windows::core::Vtable::vtable(self).GetDriverConstraints)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestDriverDependency, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestDriverDependency, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestDriverDependency { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3224,7 +3224,7 @@ impl IAppxManifestHostRuntimeDependenciesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestHostRuntimeDependenciesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependenciesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestHostRuntimeDependenciesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3278,7 +3278,7 @@ impl IAppxManifestHostRuntimeDependency { (::windows::core::Vtable::vtable(self).GetMinVersion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestHostRuntimeDependency, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependency, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestHostRuntimeDependency { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3318,7 +3318,7 @@ impl IAppxManifestHostRuntimeDependency2 { (::windows::core::Vtable::vtable(self).GetPackageFamilyName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestHostRuntimeDependency2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependency2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestHostRuntimeDependency2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3368,7 +3368,7 @@ impl IAppxManifestMainPackageDependenciesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestMainPackageDependenciesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestMainPackageDependenciesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestMainPackageDependenciesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3422,7 +3422,7 @@ impl IAppxManifestMainPackageDependency { (::windows::core::Vtable::vtable(self).GetPackageFamilyName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestMainPackageDependency, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestMainPackageDependency, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestMainPackageDependency { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3474,7 +3474,7 @@ impl IAppxManifestOSPackageDependenciesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestOSPackageDependenciesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestOSPackageDependenciesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestOSPackageDependenciesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3524,7 +3524,7 @@ impl IAppxManifestOSPackageDependency { (::windows::core::Vtable::vtable(self).GetVersion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestOSPackageDependency, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestOSPackageDependency, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestOSPackageDependency { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3569,7 +3569,7 @@ impl IAppxManifestOptionalPackageInfo { (::windows::core::Vtable::vtable(self).GetMainPackageName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestOptionalPackageInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestOptionalPackageInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestOptionalPackageInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3623,7 +3623,7 @@ impl IAppxManifestPackageDependenciesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestPackageDependenciesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestPackageDependenciesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestPackageDependenciesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3677,7 +3677,7 @@ impl IAppxManifestPackageDependency { (::windows::core::Vtable::vtable(self).GetMinVersion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestPackageDependency, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestPackageDependency, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestPackageDependency { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3729,7 +3729,7 @@ impl IAppxManifestPackageDependency2 { (::windows::core::Vtable::vtable(self).GetMaxMajorVersionTested)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestPackageDependency2, ::windows::core::IUnknown, IAppxManifestPackageDependency); +::windows::imp::interface_hierarchy!(IAppxManifestPackageDependency2, ::windows::core::IUnknown, IAppxManifestPackageDependency); impl ::core::cmp::PartialEq for IAppxManifestPackageDependency2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3769,7 +3769,7 @@ impl IAppxManifestPackageDependency3 { (::windows::core::Vtable::vtable(self).GetIsOptional)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestPackageDependency3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestPackageDependency3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestPackageDependency3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3843,7 +3843,7 @@ impl IAppxManifestPackageId { (::windows::core::Vtable::vtable(self).GetPackageFamilyName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestPackageId, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestPackageId, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestPackageId { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3928,7 +3928,7 @@ impl IAppxManifestPackageId2 { (::windows::core::Vtable::vtable(self).GetArchitecture2)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestPackageId2, ::windows::core::IUnknown, IAppxManifestPackageId); +::windows::imp::interface_hierarchy!(IAppxManifestPackageId2, ::windows::core::IUnknown, IAppxManifestPackageId); impl ::core::cmp::PartialEq for IAppxManifestPackageId2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3978,7 +3978,7 @@ impl IAppxManifestProperties { (::windows::core::Vtable::vtable(self).GetStringValue)(::windows::core::Vtable::as_raw(self), name.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4028,7 +4028,7 @@ impl IAppxManifestQualifiedResource { (::windows::core::Vtable::vtable(self).GetDXFeatureLevel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestQualifiedResource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestQualifiedResource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestQualifiedResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4080,7 +4080,7 @@ impl IAppxManifestQualifiedResourcesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestQualifiedResourcesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestQualifiedResourcesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestQualifiedResourcesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4163,7 +4163,7 @@ impl IAppxManifestReader { (::windows::core::Vtable::vtable(self).GetStream)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4253,7 +4253,7 @@ impl IAppxManifestReader2 { (::windows::core::Vtable::vtable(self).GetQualifiedResources)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestReader2, ::windows::core::IUnknown, IAppxManifestReader); +::windows::imp::interface_hierarchy!(IAppxManifestReader2, ::windows::core::IUnknown, IAppxManifestReader); impl ::core::cmp::PartialEq for IAppxManifestReader2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4340,7 +4340,7 @@ impl IAppxManifestReader3 { (::windows::core::Vtable::vtable(self).GetTargetDeviceFamilies)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestReader3, ::windows::core::IUnknown, IAppxManifestReader, IAppxManifestReader2); +::windows::imp::interface_hierarchy!(IAppxManifestReader3, ::windows::core::IUnknown, IAppxManifestReader, IAppxManifestReader2); impl ::core::cmp::PartialEq for IAppxManifestReader3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4432,7 +4432,7 @@ impl IAppxManifestReader4 { (::windows::core::Vtable::vtable(self).GetOptionalPackageInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestReader4, ::windows::core::IUnknown, IAppxManifestReader, IAppxManifestReader2, IAppxManifestReader3); +::windows::imp::interface_hierarchy!(IAppxManifestReader4, ::windows::core::IUnknown, IAppxManifestReader, IAppxManifestReader2, IAppxManifestReader3); impl ::core::cmp::PartialEq for IAppxManifestReader4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4470,7 +4470,7 @@ impl IAppxManifestReader5 { (::windows::core::Vtable::vtable(self).GetMainPackageDependencies)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestReader5, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestReader5, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestReader5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4510,7 +4510,7 @@ impl IAppxManifestReader6 { (::windows::core::Vtable::vtable(self).GetIsNonQualifiedResourcePackage)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestReader6, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestReader6, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestReader6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4559,7 +4559,7 @@ impl IAppxManifestReader7 { (::windows::core::Vtable::vtable(self).GetHostRuntimeDependencies)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestReader7, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestReader7, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestReader7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4611,7 +4611,7 @@ impl IAppxManifestResourcesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestResourcesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestResourcesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestResourcesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4669,7 +4669,7 @@ impl IAppxManifestTargetDeviceFamiliesEnumerator { (::windows::core::Vtable::vtable(self).MoveNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestTargetDeviceFamiliesEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestTargetDeviceFamiliesEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestTargetDeviceFamiliesEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4723,7 +4723,7 @@ impl IAppxManifestTargetDeviceFamily { (::windows::core::Vtable::vtable(self).GetMaxVersionTested)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxManifestTargetDeviceFamily, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxManifestTargetDeviceFamily, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxManifestTargetDeviceFamily { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4814,7 +4814,7 @@ impl IAppxPackageEditor { (::windows::core::Vtable::vtable(self).UpdatePackageManifest)(::windows::core::Vtable::as_raw(self), packagestream.into().abi(), updatedmanifeststream.into().abi(), ispackageencrypted.into(), options).ok() } } -::windows::core::interface_hierarchy!(IAppxPackageEditor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxPackageEditor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxPackageEditor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4891,7 +4891,7 @@ impl IAppxPackageReader { (::windows::core::Vtable::vtable(self).GetManifest)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxPackageReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxPackageReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxPackageReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4947,7 +4947,7 @@ impl IAppxPackageWriter { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self), manifest.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAppxPackageWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxPackageWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxPackageWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4997,7 +4997,7 @@ impl IAppxPackageWriter2 { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self), manifest.into().abi(), contentgroupmap.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAppxPackageWriter2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxPackageWriter2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxPackageWriter2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5039,7 +5039,7 @@ impl IAppxPackageWriter3 { (::windows::core::Vtable::vtable(self).AddPayloadFiles)(::windows::core::Vtable::as_raw(self), payloadfiles.len() as _, ::core::mem::transmute(payloadfiles.as_ptr()), memorylimit).ok() } } -::windows::core::interface_hierarchy!(IAppxPackageWriter3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxPackageWriter3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxPackageWriter3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5090,7 +5090,7 @@ impl IAppxPackagingDiagnosticEventSink { (::windows::core::Vtable::vtable(self).ReportError)(::windows::core::Vtable::as_raw(self), errormessage.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAppxPackagingDiagnosticEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxPackagingDiagnosticEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxPackagingDiagnosticEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5131,7 +5131,7 @@ impl IAppxPackagingDiagnosticEventSinkManager { (::windows::core::Vtable::vtable(self).SetSinkForProcess)(::windows::core::Vtable::as_raw(self), sink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAppxPackagingDiagnosticEventSinkManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxPackagingDiagnosticEventSinkManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxPackagingDiagnosticEventSinkManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5173,7 +5173,7 @@ impl IAppxSourceContentGroupMapReader { (::windows::core::Vtable::vtable(self).GetAutomaticGroups)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppxSourceContentGroupMapReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppxSourceContentGroupMapReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppxSourceContentGroupMapReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs index b2ba7895ed..4e43d3e3a5 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs @@ -22,7 +22,7 @@ impl IOpcCertificateEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcCertificateEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcCertificateEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcCertificateEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -82,7 +82,7 @@ impl IOpcCertificateSet { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcCertificateSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcCertificateSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcCertificateSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -181,7 +181,7 @@ impl IOpcDigitalSignature { (::windows::core::Vtable::vtable(self).GetSignatureXml)(::windows::core::Vtable::as_raw(self), signaturexml, count).ok() } } -::windows::core::interface_hierarchy!(IOpcDigitalSignature, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcDigitalSignature, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcDigitalSignature { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -252,7 +252,7 @@ impl IOpcDigitalSignatureEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcDigitalSignatureEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcDigitalSignatureEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcDigitalSignatureEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -351,7 +351,7 @@ impl IOpcDigitalSignatureManager { (::windows::core::Vtable::vtable(self).ReplaceSignatureXml)(::windows::core::Vtable::as_raw(self), signaturepartname.into().abi(), newsignaturexml, count, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcDigitalSignatureManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcDigitalSignatureManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcDigitalSignatureManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -463,7 +463,7 @@ impl IOpcFactory { (::windows::core::Vtable::vtable(self).CreateDigitalSignatureManager)(::windows::core::Vtable::as_raw(self), package.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -526,7 +526,7 @@ impl IOpcPackage { (::windows::core::Vtable::vtable(self).GetRelationshipSet)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcPackage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcPackage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcPackage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -585,7 +585,7 @@ impl IOpcPart { (::windows::core::Vtable::vtable(self).GetCompressionOptions)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcPart, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcPart, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcPart { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -649,7 +649,7 @@ impl IOpcPartEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcPartEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcPartEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcPartEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -732,7 +732,7 @@ impl IOpcPartSet { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcPartSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcPartSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcPartSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -980,7 +980,7 @@ impl IOpcPartUri { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IOpcPartUri, ::windows::core::IUnknown, super::super::super::System::Com::IUri, IOpcUri); +::windows::imp::interface_hierarchy!(IOpcPartUri, ::windows::core::IUnknown, super::super::super::System::Com::IUri, IOpcUri); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IOpcPartUri { fn eq(&self, other: &Self) -> bool { @@ -1056,7 +1056,7 @@ impl IOpcRelationship { (::windows::core::Vtable::vtable(self).GetTargetMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcRelationship, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcRelationship, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcRelationship { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1120,7 +1120,7 @@ impl IOpcRelationshipEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcRelationshipEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcRelationshipEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcRelationshipEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1171,7 +1171,7 @@ impl IOpcRelationshipSelector { (::windows::core::Vtable::vtable(self).GetSelectionCriterion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcRelationshipSelector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcRelationshipSelector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcRelationshipSelector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1226,7 +1226,7 @@ impl IOpcRelationshipSelectorEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcRelationshipSelectorEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcRelationshipSelectorEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcRelationshipSelectorEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1286,7 +1286,7 @@ impl IOpcRelationshipSelectorSet { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcRelationshipSelectorSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcRelationshipSelectorSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcRelationshipSelectorSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1372,7 +1372,7 @@ impl IOpcRelationshipSet { (::windows::core::Vtable::vtable(self).GetRelationshipsContentStream)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcRelationshipSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcRelationshipSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcRelationshipSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1424,7 +1424,7 @@ impl IOpcSignatureCustomObject { (::windows::core::Vtable::vtable(self).GetXml)(::windows::core::Vtable::as_raw(self), xmlmarkup, count).ok() } } -::windows::core::interface_hierarchy!(IOpcSignatureCustomObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureCustomObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureCustomObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1478,7 +1478,7 @@ impl IOpcSignatureCustomObjectEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignatureCustomObjectEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureCustomObjectEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureCustomObjectEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1535,7 +1535,7 @@ impl IOpcSignatureCustomObjectSet { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignatureCustomObjectSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureCustomObjectSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureCustomObjectSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1592,7 +1592,7 @@ impl IOpcSignaturePartReference { (::windows::core::Vtable::vtable(self).GetTransformMethod)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignaturePartReference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignaturePartReference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignaturePartReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1653,7 +1653,7 @@ impl IOpcSignaturePartReferenceEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignaturePartReferenceEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignaturePartReferenceEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignaturePartReferenceEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1716,7 +1716,7 @@ impl IOpcSignaturePartReferenceSet { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignaturePartReferenceSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignaturePartReferenceSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignaturePartReferenceSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1780,7 +1780,7 @@ impl IOpcSignatureReference { (::windows::core::Vtable::vtable(self).GetDigestValue)(::windows::core::Vtable::as_raw(self), digestvalue, count).ok() } } -::windows::core::interface_hierarchy!(IOpcSignatureReference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureReference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1842,7 +1842,7 @@ impl IOpcSignatureReferenceEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignatureReferenceEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureReferenceEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureReferenceEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1907,7 +1907,7 @@ impl IOpcSignatureReferenceSet { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignatureReferenceSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureReferenceSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureReferenceSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1971,7 +1971,7 @@ impl IOpcSignatureRelationshipReference { (::windows::core::Vtable::vtable(self).GetRelationshipSelectorEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignatureRelationshipReference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureRelationshipReference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureRelationshipReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2033,7 +2033,7 @@ impl IOpcSignatureRelationshipReferenceEnumerator { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignatureRelationshipReferenceEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureRelationshipReferenceEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureRelationshipReferenceEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2101,7 +2101,7 @@ impl IOpcSignatureRelationshipReferenceSet { (::windows::core::Vtable::vtable(self).GetEnumerator)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpcSignatureRelationshipReferenceSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSignatureRelationshipReferenceSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSignatureRelationshipReferenceSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2219,7 +2219,7 @@ impl IOpcSigningOptions { (::windows::core::Vtable::vtable(self).SetSignaturePartName)(::windows::core::Vtable::as_raw(self), signaturepartname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IOpcSigningOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpcSigningOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpcSigningOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2452,7 +2452,7 @@ impl IOpcUri { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IOpcUri, ::windows::core::IUnknown, super::super::super::System::Com::IUri); +::windows::imp::interface_hierarchy!(IOpcUri, ::windows::core::IUnknown, super::super::super::System::Com::IUri); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IOpcUri { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs index 87be96d5d1..327dab45d7 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn PrjAllocateAlignedBuffer(namespacevirtualizationcontext: P0, s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjAllocateAlignedBuffer ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , size : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjAllocateAlignedBuffer ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , size : usize ) -> *mut ::core::ffi::c_void ); PrjAllocateAlignedBuffer(namespacevirtualizationcontext.into(), size) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -13,7 +13,7 @@ pub unsafe fn PrjClearNegativePathCache(namespacevirtualizationcontext: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjClearNegativePathCache ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , totalentrynumber : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjClearNegativePathCache ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , totalentrynumber : *mut u32 ) -> :: windows::core::HRESULT ); PrjClearNegativePathCache(namespacevirtualizationcontext.into(), ::core::mem::transmute(totalentrynumber.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -22,7 +22,7 @@ pub unsafe fn PrjCompleteCommand(namespacevirtualizationcontext: P0, command where P0: ::std::convert::Into, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjCompleteCommand ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , commandid : i32 , completionresult : :: windows::core::HRESULT , extendedparameters : *const PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjCompleteCommand ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , commandid : i32 , completionresult : :: windows::core::HRESULT , extendedparameters : *const PRJ_COMPLETE_COMMAND_EXTENDED_PARAMETERS ) -> :: windows::core::HRESULT ); PrjCompleteCommand(namespacevirtualizationcontext.into(), commandid, completionresult, ::core::mem::transmute(extendedparameters.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -32,7 +32,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjDeleteFile ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows::core::PCWSTR , updateflags : PRJ_UPDATE_TYPES , failurereason : *mut PRJ_UPDATE_FAILURE_CAUSES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjDeleteFile ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows::core::PCWSTR , updateflags : PRJ_UPDATE_TYPES , failurereason : *mut PRJ_UPDATE_FAILURE_CAUSES ) -> :: windows::core::HRESULT ); PrjDeleteFile(namespacevirtualizationcontext.into(), destinationfilename.into().abi(), updateflags, ::core::mem::transmute(failurereason.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -42,7 +42,7 @@ pub unsafe fn PrjDoesNameContainWildCards(filename: P0) -> super::super::Fou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjDoesNameContainWildCards ( filename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjDoesNameContainWildCards ( filename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOLEAN ); PrjDoesNameContainWildCards(filename.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -52,7 +52,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjFileNameCompare ( filename1 : :: windows::core::PCWSTR , filename2 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjFileNameCompare ( filename1 : :: windows::core::PCWSTR , filename2 : :: windows::core::PCWSTR ) -> i32 ); PrjFileNameCompare(filename1.into().abi(), filename2.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -63,7 +63,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjFileNameMatch ( filenametocheck : :: windows::core::PCWSTR , pattern : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjFileNameMatch ( filenametocheck : :: windows::core::PCWSTR , pattern : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOLEAN ); PrjFileNameMatch(filenametocheck.into().abi(), pattern.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -74,7 +74,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjFillDirEntryBuffer ( filename : :: windows::core::PCWSTR , filebasicinfo : *const PRJ_FILE_BASIC_INFO , direntrybufferhandle : PRJ_DIR_ENTRY_BUFFER_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjFillDirEntryBuffer ( filename : :: windows::core::PCWSTR , filebasicinfo : *const PRJ_FILE_BASIC_INFO , direntrybufferhandle : PRJ_DIR_ENTRY_BUFFER_HANDLE ) -> :: windows::core::HRESULT ); PrjFillDirEntryBuffer(filename.into().abi(), ::core::mem::transmute(filebasicinfo.unwrap_or(::std::ptr::null())), direntrybufferhandle.into()).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -85,13 +85,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjFillDirEntryBuffer2 ( direntrybufferhandle : PRJ_DIR_ENTRY_BUFFER_HANDLE , filename : :: windows::core::PCWSTR , filebasicinfo : *const PRJ_FILE_BASIC_INFO , extendedinfo : *const PRJ_EXTENDED_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjFillDirEntryBuffer2 ( direntrybufferhandle : PRJ_DIR_ENTRY_BUFFER_HANDLE , filename : :: windows::core::PCWSTR , filebasicinfo : *const PRJ_FILE_BASIC_INFO , extendedinfo : *const PRJ_EXTENDED_INFO ) -> :: windows::core::HRESULT ); PrjFillDirEntryBuffer2(direntrybufferhandle.into(), filename.into().abi(), ::core::mem::transmute(filebasicinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(extendedinfo.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] #[inline] pub unsafe fn PrjFreeAlignedBuffer(buffer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjFreeAlignedBuffer ( buffer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjFreeAlignedBuffer ( buffer : *const ::core::ffi::c_void ) -> ( ) ); PrjFreeAlignedBuffer(buffer) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -100,7 +100,7 @@ pub unsafe fn PrjGetOnDiskFileState(destinationfilename: P0) -> ::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjGetOnDiskFileState ( destinationfilename : :: windows::core::PCWSTR , filestate : *mut PRJ_FILE_STATE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjGetOnDiskFileState ( destinationfilename : :: windows::core::PCWSTR , filestate : *mut PRJ_FILE_STATE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PrjGetOnDiskFileState(destinationfilename.into().abi(), &mut result__).from_abi(result__) } @@ -110,7 +110,7 @@ pub unsafe fn PrjGetVirtualizationInstanceInfo(namespacevirtualizationcontex where P0: ::std::convert::Into, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjGetVirtualizationInstanceInfo ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , virtualizationinstanceinfo : *mut PRJ_VIRTUALIZATION_INSTANCE_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjGetVirtualizationInstanceInfo ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , virtualizationinstanceinfo : *mut PRJ_VIRTUALIZATION_INSTANCE_INFO ) -> :: windows::core::HRESULT ); PrjGetVirtualizationInstanceInfo(namespacevirtualizationcontext.into(), virtualizationinstanceinfo).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -120,7 +120,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjMarkDirectoryAsPlaceholder ( rootpathname : :: windows::core::PCWSTR , targetpathname : :: windows::core::PCWSTR , versioninfo : *const PRJ_PLACEHOLDER_VERSION_INFO , virtualizationinstanceid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjMarkDirectoryAsPlaceholder ( rootpathname : :: windows::core::PCWSTR , targetpathname : :: windows::core::PCWSTR , versioninfo : *const PRJ_PLACEHOLDER_VERSION_INFO , virtualizationinstanceid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); PrjMarkDirectoryAsPlaceholder(rootpathname.into().abi(), targetpathname.into().abi(), ::core::mem::transmute(versioninfo.unwrap_or(::std::ptr::null())), virtualizationinstanceid).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -130,7 +130,7 @@ pub unsafe fn PrjStartVirtualizing(virtualizationrootpath: P0, callbacks: *c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjStartVirtualizing ( virtualizationrootpath : :: windows::core::PCWSTR , callbacks : *const PRJ_CALLBACKS , instancecontext : *const ::core::ffi::c_void , options : *const PRJ_STARTVIRTUALIZING_OPTIONS , namespacevirtualizationcontext : *mut PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjStartVirtualizing ( virtualizationrootpath : :: windows::core::PCWSTR , callbacks : *const PRJ_CALLBACKS , instancecontext : *const ::core::ffi::c_void , options : *const PRJ_STARTVIRTUALIZING_OPTIONS , namespacevirtualizationcontext : *mut PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PrjStartVirtualizing(virtualizationrootpath.into().abi(), callbacks, ::core::mem::transmute(instancecontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -140,7 +140,7 @@ pub unsafe fn PrjStopVirtualizing(namespacevirtualizationcontext: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjStopVirtualizing ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjStopVirtualizing ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT ) -> ( ) ); PrjStopVirtualizing(namespacevirtualizationcontext.into()) } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -151,7 +151,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjUpdateFileIfNeeded ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows::core::PCWSTR , placeholderinfo : *const PRJ_PLACEHOLDER_INFO , placeholderinfosize : u32 , updateflags : PRJ_UPDATE_TYPES , failurereason : *mut PRJ_UPDATE_FAILURE_CAUSES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjUpdateFileIfNeeded ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows::core::PCWSTR , placeholderinfo : *const PRJ_PLACEHOLDER_INFO , placeholderinfosize : u32 , updateflags : PRJ_UPDATE_TYPES , failurereason : *mut PRJ_UPDATE_FAILURE_CAUSES ) -> :: windows::core::HRESULT ); PrjUpdateFileIfNeeded(namespacevirtualizationcontext.into(), destinationfilename.into().abi(), placeholderinfo, placeholderinfosize, updateflags, ::core::mem::transmute(failurereason.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] @@ -160,7 +160,7 @@ pub unsafe fn PrjWriteFileData(namespacevirtualizationcontext: P0, datastrea where P0: ::std::convert::Into, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjWriteFileData ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , datastreamid : *const :: windows::core::GUID , buffer : *const ::core::ffi::c_void , byteoffset : u64 , length : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjWriteFileData ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , datastreamid : *const :: windows::core::GUID , buffer : *const ::core::ffi::c_void , byteoffset : u64 , length : u32 ) -> :: windows::core::HRESULT ); PrjWriteFileData(namespacevirtualizationcontext.into(), datastreamid, buffer, byteoffset, length).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -171,7 +171,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjWritePlaceholderInfo ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows::core::PCWSTR , placeholderinfo : *const PRJ_PLACEHOLDER_INFO , placeholderinfosize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjWritePlaceholderInfo ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows::core::PCWSTR , placeholderinfo : *const PRJ_PLACEHOLDER_INFO , placeholderinfosize : u32 ) -> :: windows::core::HRESULT ); PrjWritePlaceholderInfo(namespacevirtualizationcontext.into(), destinationfilename.into().abi(), placeholderinfo, placeholderinfosize).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`, `\"Win32_Foundation\"`*"] @@ -182,7 +182,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "projectedfslib.dll""system" fn PrjWritePlaceholderInfo2 ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows::core::PCWSTR , placeholderinfo : *const PRJ_PLACEHOLDER_INFO , placeholderinfosize : u32 , extendedinfo : *const PRJ_EXTENDED_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "projectedfslib.dll""system" fn PrjWritePlaceholderInfo2 ( namespacevirtualizationcontext : PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT , destinationfilename : :: windows::core::PCWSTR , placeholderinfo : *const PRJ_PLACEHOLDER_INFO , placeholderinfosize : u32 , extendedinfo : *const PRJ_EXTENDED_INFO ) -> :: windows::core::HRESULT ); PrjWritePlaceholderInfo2(namespacevirtualizationcontext.into(), destinationfilename.into().abi(), placeholderinfo, placeholderinfosize, ::core::mem::transmute(extendedinfo.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Storage_ProjectedFileSystem\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vhd/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vhd/mod.rs index 0b31ce40a7..04b9fce3ed 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vhd/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vhd/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "virtdisk.dll""system" fn AddVirtualDiskParent ( virtualdiskhandle : super::super::Foundation:: HANDLE , parentpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn AddVirtualDiskParent ( virtualdiskhandle : super::super::Foundation:: HANDLE , parentpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); AddVirtualDiskParent(virtualdiskhandle.into(), parentpath.into().abi()) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -16,7 +16,7 @@ pub unsafe fn ApplySnapshotVhdSet(virtualdiskhandle: P0, parameters: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn ApplySnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const APPLY_SNAPSHOT_VHDSET_PARAMETERS , flags : APPLY_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn ApplySnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const APPLY_SNAPSHOT_VHDSET_PARAMETERS , flags : APPLY_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR ); ApplySnapshotVhdSet(virtualdiskhandle.into(), parameters, flags) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`*"] @@ -27,7 +27,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn AttachVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , securitydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , flags : ATTACH_VIRTUAL_DISK_FLAG , providerspecificflags : u32 , parameters : *const ATTACH_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn AttachVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , securitydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , flags : ATTACH_VIRTUAL_DISK_FLAG , providerspecificflags : u32 , parameters : *const ATTACH_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); AttachVirtualDisk(virtualdiskhandle.into(), securitydescriptor.into(), flags, providerspecificflags, ::core::mem::transmute(parameters.unwrap_or(::std::ptr::null())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn BreakMirrorVirtualDisk(virtualdiskhandle: P0) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn BreakMirrorVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn BreakMirrorVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); BreakMirrorVirtualDisk(virtualdiskhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -47,7 +47,7 @@ pub unsafe fn CompactVirtualDisk(virtualdiskhandle: P0, flags: COMPACT_VIRTU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn CompactVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : COMPACT_VIRTUAL_DISK_FLAG , parameters : *const COMPACT_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn CompactVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : COMPACT_VIRTUAL_DISK_FLAG , parameters : *const COMPACT_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); CompactVirtualDisk(virtualdiskhandle.into(), flags, ::core::mem::transmute(parameters.unwrap_or(::std::ptr::null())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn CompleteForkVirtualDisk(virtualdiskhandle: P0) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn CompleteForkVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn CompleteForkVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); CompleteForkVirtualDisk(virtualdiskhandle.into()) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`*"] @@ -68,7 +68,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn CreateVirtualDisk ( virtualstoragetype : *const VIRTUAL_STORAGE_TYPE , path : :: windows::core::PCWSTR , virtualdiskaccessmask : VIRTUAL_DISK_ACCESS_MASK , securitydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , flags : CREATE_VIRTUAL_DISK_FLAG , providerspecificflags : u32 , parameters : *const CREATE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED , handle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn CreateVirtualDisk ( virtualstoragetype : *const VIRTUAL_STORAGE_TYPE , path : :: windows::core::PCWSTR , virtualdiskaccessmask : VIRTUAL_DISK_ACCESS_MASK , securitydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , flags : CREATE_VIRTUAL_DISK_FLAG , providerspecificflags : u32 , parameters : *const CREATE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED , handle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); CreateVirtualDisk(virtualstoragetype, path.into().abi(), virtualdiskaccessmask, securitydescriptor.into(), flags, providerspecificflags, parameters, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), handle) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -78,7 +78,7 @@ pub unsafe fn DeleteSnapshotVhdSet(virtualdiskhandle: P0, parameters: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn DeleteSnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const DELETE_SNAPSHOT_VHDSET_PARAMETERS , flags : DELETE_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn DeleteSnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const DELETE_SNAPSHOT_VHDSET_PARAMETERS , flags : DELETE_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR ); DeleteSnapshotVhdSet(virtualdiskhandle.into(), parameters, flags) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -88,7 +88,7 @@ pub unsafe fn DeleteVirtualDiskMetadata(virtualdiskhandle: P0, item: *const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn DeleteVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn DeleteVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); DeleteVirtualDiskMetadata(virtualdiskhandle.into(), item) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -98,7 +98,7 @@ pub unsafe fn DetachVirtualDisk(virtualdiskhandle: P0, flags: DETACH_VIRTUAL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn DetachVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : DETACH_VIRTUAL_DISK_FLAG , providerspecificflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn DetachVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : DETACH_VIRTUAL_DISK_FLAG , providerspecificflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); DetachVirtualDisk(virtualdiskhandle.into(), flags, providerspecificflags) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -108,7 +108,7 @@ pub unsafe fn EnumerateVirtualDiskMetadata(virtualdiskhandle: P0, numberofit where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn EnumerateVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , numberofitems : *mut u32 , items : *mut :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn EnumerateVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , numberofitems : *mut u32 , items : *mut :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); EnumerateVirtualDiskMetadata(virtualdiskhandle.into(), numberofitems, items) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -118,7 +118,7 @@ pub unsafe fn ExpandVirtualDisk(virtualdiskhandle: P0, flags: EXPAND_VIRTUAL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn ExpandVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : EXPAND_VIRTUAL_DISK_FLAG , parameters : *const EXPAND_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn ExpandVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : EXPAND_VIRTUAL_DISK_FLAG , parameters : *const EXPAND_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); ExpandVirtualDisk(virtualdiskhandle.into(), flags, parameters, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -128,14 +128,14 @@ pub unsafe fn ForkVirtualDisk(virtualdiskhandle: P0, flags: FORK_VIRTUAL_DIS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn ForkVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : FORK_VIRTUAL_DISK_FLAG , parameters : *const FORK_VIRTUAL_DISK_PARAMETERS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn ForkVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : FORK_VIRTUAL_DISK_FLAG , parameters : *const FORK_VIRTUAL_DISK_PARAMETERS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); ForkVirtualDisk(virtualdiskhandle.into(), flags, parameters, overlapped) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAllAttachedVirtualDiskPhysicalPaths(pathsbuffersizeinbytes: *mut u32, pathsbuffer: ::windows::core::PWSTR) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "virtdisk.dll""system" fn GetAllAttachedVirtualDiskPhysicalPaths ( pathsbuffersizeinbytes : *mut u32 , pathsbuffer : :: windows::core::PWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn GetAllAttachedVirtualDiskPhysicalPaths ( pathsbuffersizeinbytes : *mut u32 , pathsbuffer : :: windows::core::PWSTR ) -> super::super::Foundation:: WIN32_ERROR ); GetAllAttachedVirtualDiskPhysicalPaths(pathsbuffersizeinbytes, ::core::mem::transmute(pathsbuffer)) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -145,7 +145,7 @@ pub unsafe fn GetStorageDependencyInformation(objecthandle: P0, flags: GET_S where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn GetStorageDependencyInformation ( objecthandle : super::super::Foundation:: HANDLE , flags : GET_STORAGE_DEPENDENCY_FLAG , storagedependencyinfosize : u32 , storagedependencyinfo : *mut STORAGE_DEPENDENCY_INFO , sizeused : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn GetStorageDependencyInformation ( objecthandle : super::super::Foundation:: HANDLE , flags : GET_STORAGE_DEPENDENCY_FLAG , storagedependencyinfosize : u32 , storagedependencyinfo : *mut STORAGE_DEPENDENCY_INFO , sizeused : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetStorageDependencyInformation(objecthandle.into(), flags, storagedependencyinfosize, storagedependencyinfo, ::core::mem::transmute(sizeused.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -155,7 +155,7 @@ pub unsafe fn GetVirtualDiskInformation(virtualdiskhandle: P0, virtualdiskin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn GetVirtualDiskInformation ( virtualdiskhandle : super::super::Foundation:: HANDLE , virtualdiskinfosize : *mut u32 , virtualdiskinfo : *mut GET_VIRTUAL_DISK_INFO , sizeused : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn GetVirtualDiskInformation ( virtualdiskhandle : super::super::Foundation:: HANDLE , virtualdiskinfosize : *mut u32 , virtualdiskinfo : *mut GET_VIRTUAL_DISK_INFO , sizeused : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetVirtualDiskInformation(virtualdiskhandle.into(), virtualdiskinfosize, virtualdiskinfo, ::core::mem::transmute(sizeused.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -165,7 +165,7 @@ pub unsafe fn GetVirtualDiskMetadata(virtualdiskhandle: P0, item: *const ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn GetVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows::core::GUID , metadatasize : *mut u32 , metadata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn GetVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows::core::GUID , metadatasize : *mut u32 , metadata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); GetVirtualDiskMetadata(virtualdiskhandle.into(), item, metadatasize, metadata) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -175,7 +175,7 @@ pub unsafe fn GetVirtualDiskOperationProgress(virtualdiskhandle: P0, overlap where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn GetVirtualDiskOperationProgress ( virtualdiskhandle : super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED , progress : *mut VIRTUAL_DISK_PROGRESS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn GetVirtualDiskOperationProgress ( virtualdiskhandle : super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED , progress : *mut VIRTUAL_DISK_PROGRESS ) -> super::super::Foundation:: WIN32_ERROR ); GetVirtualDiskOperationProgress(virtualdiskhandle.into(), overlapped, progress) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -185,7 +185,7 @@ pub unsafe fn GetVirtualDiskPhysicalPath(virtualdiskhandle: P0, diskpathsize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn GetVirtualDiskPhysicalPath ( virtualdiskhandle : super::super::Foundation:: HANDLE , diskpathsizeinbytes : *mut u32 , diskpath : :: windows::core::PWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn GetVirtualDiskPhysicalPath ( virtualdiskhandle : super::super::Foundation:: HANDLE , diskpathsizeinbytes : *mut u32 , diskpath : :: windows::core::PWSTR ) -> super::super::Foundation:: WIN32_ERROR ); GetVirtualDiskPhysicalPath(virtualdiskhandle.into(), diskpathsizeinbytes, ::core::mem::transmute(diskpath)) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -195,7 +195,7 @@ pub unsafe fn MergeVirtualDisk(virtualdiskhandle: P0, flags: MERGE_VIRTUAL_D where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn MergeVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : MERGE_VIRTUAL_DISK_FLAG , parameters : *const MERGE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn MergeVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : MERGE_VIRTUAL_DISK_FLAG , parameters : *const MERGE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); MergeVirtualDisk(virtualdiskhandle.into(), flags, parameters, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -205,7 +205,7 @@ pub unsafe fn MirrorVirtualDisk(virtualdiskhandle: P0, flags: MIRROR_VIRTUAL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn MirrorVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : MIRROR_VIRTUAL_DISK_FLAG , parameters : *const MIRROR_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn MirrorVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : MIRROR_VIRTUAL_DISK_FLAG , parameters : *const MIRROR_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); MirrorVirtualDisk(virtualdiskhandle.into(), flags, parameters, overlapped) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -215,7 +215,7 @@ pub unsafe fn ModifyVhdSet(virtualdiskhandle: P0, parameters: *const MODIFY_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn ModifyVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const MODIFY_VHDSET_PARAMETERS , flags : MODIFY_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn ModifyVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const MODIFY_VHDSET_PARAMETERS , flags : MODIFY_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR ); ModifyVhdSet(virtualdiskhandle.into(), parameters, flags) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -225,7 +225,7 @@ pub unsafe fn OpenVirtualDisk(virtualstoragetype: *const VIRTUAL_STORAGE_TYP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "virtdisk.dll""system" fn OpenVirtualDisk ( virtualstoragetype : *const VIRTUAL_STORAGE_TYPE , path : :: windows::core::PCWSTR , virtualdiskaccessmask : VIRTUAL_DISK_ACCESS_MASK , flags : OPEN_VIRTUAL_DISK_FLAG , parameters : *const OPEN_VIRTUAL_DISK_PARAMETERS , handle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn OpenVirtualDisk ( virtualstoragetype : *const VIRTUAL_STORAGE_TYPE , path : :: windows::core::PCWSTR , virtualdiskaccessmask : VIRTUAL_DISK_ACCESS_MASK , flags : OPEN_VIRTUAL_DISK_FLAG , parameters : *const OPEN_VIRTUAL_DISK_PARAMETERS , handle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); OpenVirtualDisk(virtualstoragetype, path.into().abi(), virtualdiskaccessmask, flags, ::core::mem::transmute(parameters.unwrap_or(::std::ptr::null())), handle) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -236,7 +236,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "virtdisk.dll""system" fn QueryChangesVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , changetrackingid : :: windows::core::PCWSTR , byteoffset : u64 , bytelength : u64 , flags : QUERY_CHANGES_VIRTUAL_DISK_FLAG , ranges : *mut QUERY_CHANGES_VIRTUAL_DISK_RANGE , rangecount : *mut u32 , processedlength : *mut u64 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn QueryChangesVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , changetrackingid : :: windows::core::PCWSTR , byteoffset : u64 , bytelength : u64 , flags : QUERY_CHANGES_VIRTUAL_DISK_FLAG , ranges : *mut QUERY_CHANGES_VIRTUAL_DISK_RANGE , rangecount : *mut u32 , processedlength : *mut u64 ) -> super::super::Foundation:: WIN32_ERROR ); QueryChangesVirtualDisk(virtualdiskhandle.into(), changetrackingid.into().abi(), byteoffset, bytelength, flags, ranges, rangecount, processedlength) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -246,7 +246,7 @@ pub unsafe fn RawSCSIVirtualDisk(virtualdiskhandle: P0, parameters: *const R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn RawSCSIVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const RAW_SCSI_VIRTUAL_DISK_PARAMETERS , flags : RAW_SCSI_VIRTUAL_DISK_FLAG , response : *mut RAW_SCSI_VIRTUAL_DISK_RESPONSE ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn RawSCSIVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const RAW_SCSI_VIRTUAL_DISK_PARAMETERS , flags : RAW_SCSI_VIRTUAL_DISK_FLAG , response : *mut RAW_SCSI_VIRTUAL_DISK_RESPONSE ) -> super::super::Foundation:: WIN32_ERROR ); RawSCSIVirtualDisk(virtualdiskhandle.into(), parameters, flags, response) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -256,7 +256,7 @@ pub unsafe fn ResizeVirtualDisk(virtualdiskhandle: P0, flags: RESIZE_VIRTUAL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn ResizeVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : RESIZE_VIRTUAL_DISK_FLAG , parameters : *const RESIZE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn ResizeVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : RESIZE_VIRTUAL_DISK_FLAG , parameters : *const RESIZE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR ); ResizeVirtualDisk(virtualdiskhandle.into(), flags, parameters, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -266,7 +266,7 @@ pub unsafe fn SetVirtualDiskInformation(virtualdiskhandle: P0, virtualdiskin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn SetVirtualDiskInformation ( virtualdiskhandle : super::super::Foundation:: HANDLE , virtualdiskinfo : *const SET_VIRTUAL_DISK_INFO ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn SetVirtualDiskInformation ( virtualdiskhandle : super::super::Foundation:: HANDLE , virtualdiskinfo : *const SET_VIRTUAL_DISK_INFO ) -> super::super::Foundation:: WIN32_ERROR ); SetVirtualDiskInformation(virtualdiskhandle.into(), virtualdiskinfo) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -276,7 +276,7 @@ pub unsafe fn SetVirtualDiskMetadata(virtualdiskhandle: P0, item: *const ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn SetVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows::core::GUID , metadatasize : u32 , metadata : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn SetVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows::core::GUID , metadatasize : u32 , metadata : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); SetVirtualDiskMetadata(virtualdiskhandle.into(), item, metadatasize, metadata) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] @@ -286,7 +286,7 @@ pub unsafe fn TakeSnapshotVhdSet(virtualdiskhandle: P0, parameters: *const T where P0: ::std::convert::Into, { - ::windows::core::link ! ( "virtdisk.dll""system" fn TakeSnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const TAKE_SNAPSHOT_VHDSET_PARAMETERS , flags : TAKE_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "virtdisk.dll""system" fn TakeSnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const TAKE_SNAPSHOT_VHDSET_PARAMETERS , flags : TAKE_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR ); TakeSnapshotVhdSet(virtualdiskhandle.into(), parameters, flags) } #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs index b598b85989..fe2e1e6dfb 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs @@ -16,7 +16,7 @@ impl IEnumVdsObject { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumVdsObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumVdsObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumVdsObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -64,7 +64,7 @@ impl IVdsAdmin { (::windows::core::Vtable::vtable(self).UnregisterProvider)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(providerid)).ok() } } -::windows::core::interface_hierarchy!(IVdsAdmin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsAdmin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsAdmin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -102,7 +102,7 @@ impl IVdsAdviseSink { (::windows::core::Vtable::vtable(self).OnNotify)(::windows::core::Vtable::as_raw(self), pnotificationarray.len() as _, ::core::mem::transmute(pnotificationarray.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IVdsAdviseSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsAdviseSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsAdviseSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -145,7 +145,7 @@ impl IVdsAsync { (::windows::core::Vtable::vtable(self).QueryStatus)(::windows::core::Vtable::as_raw(self), phrresult, pulpercentcompleted).ok() } } -::windows::core::interface_hierarchy!(IVdsAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -207,7 +207,7 @@ impl IVdsController { (::windows::core::Vtable::vtable(self).SetStatus)(::windows::core::Vtable::as_raw(self), status).ok() } } -::windows::core::interface_hierarchy!(IVdsController, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsController, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsController { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -252,7 +252,7 @@ impl IVdsControllerControllerPort { (::windows::core::Vtable::vtable(self).QueryControllerPorts)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsControllerControllerPort, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsControllerControllerPort, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsControllerControllerPort { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -303,7 +303,7 @@ impl IVdsControllerPort { (::windows::core::Vtable::vtable(self).SetStatus)(::windows::core::Vtable::as_raw(self), status).ok() } } -::windows::core::interface_hierarchy!(IVdsControllerPort, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsControllerPort, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsControllerPort { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -362,7 +362,7 @@ impl IVdsDrive { (::windows::core::Vtable::vtable(self).SetStatus)(::windows::core::Vtable::as_raw(self), status).ok() } } -::windows::core::interface_hierarchy!(IVdsDrive, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsDrive, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsDrive { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -407,7 +407,7 @@ impl IVdsDrive2 { (::windows::core::Vtable::vtable(self).GetProperties2)(::windows::core::Vtable::as_raw(self), pdriveprop2).ok() } } -::windows::core::interface_hierarchy!(IVdsDrive2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsDrive2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsDrive2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -451,7 +451,7 @@ impl IVdsHwProvider { (::windows::core::Vtable::vtable(self).Refresh)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IVdsHwProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsHwProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsHwProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -496,7 +496,7 @@ impl IVdsHwProviderPrivate { (::windows::core::Vtable::vtable(self).QueryIfCreatedLun)(::windows::core::Vtable::as_raw(self), pwszdevicepath.into().abi(), pvdsluninformation, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsHwProviderPrivate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsHwProviderPrivate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsHwProviderPrivate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -536,7 +536,7 @@ impl IVdsHwProviderPrivateMpio { (::windows::core::Vtable::vtable(self).SetAllPathStatusesFromHbaPort)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(hbaportprop), status).ok() } } -::windows::core::interface_hierarchy!(IVdsHwProviderPrivateMpio, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsHwProviderPrivateMpio, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsHwProviderPrivateMpio { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -591,7 +591,7 @@ impl IVdsHwProviderStoragePools { (::windows::core::Vtable::vtable(self).QueryMaxLunCreateSizeInStoragePool)(::windows::core::Vtable::as_raw(self), r#type, ::core::mem::transmute(storagepoolid), ::core::mem::transmute(phints2.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsHwProviderStoragePools, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsHwProviderStoragePools, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsHwProviderStoragePools { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -640,7 +640,7 @@ impl IVdsHwProviderType { (::windows::core::Vtable::vtable(self).GetProviderType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsHwProviderType, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsHwProviderType, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsHwProviderType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -678,7 +678,7 @@ impl IVdsHwProviderType2 { (::windows::core::Vtable::vtable(self).GetProviderType2)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsHwProviderType2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsHwProviderType2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsHwProviderType2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -736,7 +736,7 @@ impl IVdsIscsiPortal { (::windows::core::Vtable::vtable(self).SetIpsecSecurity)(::windows::core::Vtable::as_raw(self), pinitiatorportaladdress, ullsecurityflags, ::core::mem::transmute(pipseckey.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IVdsIscsiPortal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsIscsiPortal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsIscsiPortal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -799,7 +799,7 @@ impl IVdsIscsiPortalGroup { (::windows::core::Vtable::vtable(self).Delete)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsIscsiPortalGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsIscsiPortalGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsIscsiPortalGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -884,7 +884,7 @@ impl IVdsIscsiTarget { (::windows::core::Vtable::vtable(self).GetConnectedInitiators)(::windows::core::Vtable::as_raw(self), pppwszinitiatorlist, plnumberofinitiators).ok() } } -::windows::core::interface_hierarchy!(IVdsIscsiTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsIscsiTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsIscsiTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -999,7 +999,7 @@ impl IVdsLun { (::windows::core::Vtable::vtable(self).QueryMaxLunExtendSize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdriveidarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriveidarray.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsLun, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsLun, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsLun { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1068,7 +1068,7 @@ impl IVdsLun2 { (::windows::core::Vtable::vtable(self).ApplyHints2)(::windows::core::Vtable::as_raw(self), phints2).ok() } } -::windows::core::interface_hierarchy!(IVdsLun2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsLun2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsLun2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1116,7 +1116,7 @@ impl IVdsLunControllerPorts { (::windows::core::Vtable::vtable(self).QueryActiveControllerPorts)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsLunControllerPorts, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsLunControllerPorts, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsLunControllerPorts { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1158,7 +1158,7 @@ impl IVdsLunIscsi { (::windows::core::Vtable::vtable(self).QueryAssociatedTargets)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsLunIscsi, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsLunIscsi, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsLunIscsi { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1210,7 +1210,7 @@ impl IVdsLunMpio { (::windows::core::Vtable::vtable(self).GetSupportedLbPolicies)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsLunMpio, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsLunMpio, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsLunMpio { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1259,7 +1259,7 @@ impl IVdsLunNaming { (::windows::core::Vtable::vtable(self).SetFriendlyName)(::windows::core::Vtable::as_raw(self), pwszfriendlyname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IVdsLunNaming, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsLunNaming, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsLunNaming { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1297,7 +1297,7 @@ impl IVdsLunNumber { (::windows::core::Vtable::vtable(self).GetLunNumber)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsLunNumber, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsLunNumber, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsLunNumber { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1353,7 +1353,7 @@ impl IVdsLunPlex { (::windows::core::Vtable::vtable(self).ApplyHints)(::windows::core::Vtable::as_raw(self), phints).ok() } } -::windows::core::interface_hierarchy!(IVdsLunPlex, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsLunPlex, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsLunPlex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1409,7 +1409,7 @@ impl IVdsMaintenance { (::windows::core::Vtable::vtable(self).PulseMaintenance)(::windows::core::Vtable::as_raw(self), operation, ulcount).ok() } } -::windows::core::interface_hierarchy!(IVdsMaintenance, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsMaintenance, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsMaintenance { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1448,7 +1448,7 @@ impl IVdsProvider { (::windows::core::Vtable::vtable(self).GetProperties)(::windows::core::Vtable::as_raw(self), pproviderprop).ok() } } -::windows::core::interface_hierarchy!(IVdsProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1501,7 +1501,7 @@ impl IVdsProviderPrivate { (::windows::core::Vtable::vtable(self).OnUnload)(::windows::core::Vtable::as_raw(self), bforceunload.into()).ok() } } -::windows::core::interface_hierarchy!(IVdsProviderPrivate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsProviderPrivate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsProviderPrivate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1544,7 +1544,7 @@ impl IVdsProviderSupport { (::windows::core::Vtable::vtable(self).GetVersionSupport)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsProviderSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsProviderSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsProviderSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1603,7 +1603,7 @@ impl IVdsStoragePool { (::windows::core::Vtable::vtable(self).QueryAllocatedStoragePools)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsStoragePool, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsStoragePool, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsStoragePool { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1698,7 +1698,7 @@ impl IVdsSubSystem { (::windows::core::Vtable::vtable(self).QueryMaxLunCreateSize)(::windows::core::Vtable::as_raw(self), r#type, ::core::mem::transmute(pdriveidarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriveidarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(phints.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsSubSystem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsSubSystem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsSubSystem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1771,7 +1771,7 @@ impl IVdsSubSystem2 { (::windows::core::Vtable::vtable(self).QueryMaxLunCreateSize2)(::windows::core::Vtable::as_raw(self), r#type, ::core::mem::transmute(pdriveidarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdriveidarray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(phints2.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsSubSystem2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsSubSystem2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsSubSystem2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1818,7 +1818,7 @@ impl IVdsSubSystemInterconnect { (::windows::core::Vtable::vtable(self).GetSupportedInterconnects)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVdsSubSystemInterconnect, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsSubSystemInterconnect, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsSubSystemInterconnect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1871,7 +1871,7 @@ impl IVdsSubSystemIscsi { (::windows::core::Vtable::vtable(self).SetIpsecGroupPresharedKey)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pipseckey.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IVdsSubSystemIscsi, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsSubSystemIscsi, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsSubSystemIscsi { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1914,7 +1914,7 @@ impl IVdsSubSystemNaming { (::windows::core::Vtable::vtable(self).SetFriendlyName)(::windows::core::Vtable::as_raw(self), pwszfriendlyname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IVdsSubSystemNaming, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVdsSubSystemNaming, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVdsSubSystemNaming { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs index f37de729a0..cf9d41d04d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs @@ -1,7 +1,7 @@ #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[inline] pub unsafe fn CreateVssExpressWriterInternal() -> ::windows::core::Result { - ::windows::core::link ! ( "vssapi.dll""system" fn CreateVssExpressWriterInternal ( ppwriter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vssapi.dll""system" fn CreateVssExpressWriterInternal ( ppwriter : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateVssExpressWriterInternal(&mut result__).from_abi(result__) } @@ -23,7 +23,7 @@ impl IVssAdmin { (::windows::core::Vtable::vtable(self).AbortAllSnapshotsInProgress)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IVssAdmin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssAdmin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssAdmin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -84,7 +84,7 @@ impl IVssAdminEx { (::windows::core::Vtable::vtable(self).SetProviderContext)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(providerid), lcontext).ok() } } -::windows::core::interface_hierarchy!(IVssAdminEx, ::windows::core::IUnknown, IVssAdmin); +::windows::imp::interface_hierarchy!(IVssAdminEx, ::windows::core::IUnknown, IVssAdmin); impl ::core::cmp::PartialEq for IVssAdminEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -129,7 +129,7 @@ impl IVssAsync { (::windows::core::Vtable::vtable(self).QueryStatus)(::windows::core::Vtable::as_raw(self), phrresult, preserved).ok() } } -::windows::core::interface_hierarchy!(IVssAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -326,7 +326,7 @@ impl IVssComponent { (::windows::core::Vtable::vtable(self).GetDifferencedFile)(::windows::core::Vtable::as_raw(self), idifferencedfile, ::core::mem::transmute(pbstrpath), ::core::mem::transmute(pbstrfilespec), pbrecursive, ::core::mem::transmute(pbstrlsnstring), pftlastmodifytime).ok() } } -::windows::core::interface_hierarchy!(IVssComponent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssComponent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssComponent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -598,7 +598,7 @@ impl IVssComponentEx { (::windows::core::Vtable::vtable(self).GetRestoreName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVssComponentEx, ::windows::core::IUnknown, IVssComponent); +::windows::imp::interface_hierarchy!(IVssComponentEx, ::windows::core::IUnknown, IVssComponent); impl ::core::cmp::PartialEq for IVssComponentEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -839,7 +839,7 @@ impl IVssComponentEx2 { (::windows::core::Vtable::vtable(self).GetFailure)(::windows::core::Vtable::as_raw(self), phr, phrapplication, ::core::mem::transmute(pbstrapplicationmessage), pdwreserved).ok() } } -::windows::core::interface_hierarchy!(IVssComponentEx2, ::windows::core::IUnknown, IVssComponent, IVssComponentEx); +::windows::imp::interface_hierarchy!(IVssComponentEx2, ::windows::core::IUnknown, IVssComponent, IVssComponentEx); impl ::core::cmp::PartialEq for IVssComponentEx2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -922,7 +922,7 @@ impl IVssCreateExpressWriterMetadata { (::windows::core::Vtable::vtable(self).SaveAsXML)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVssCreateExpressWriterMetadata, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssCreateExpressWriterMetadata, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssCreateExpressWriterMetadata { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1114,7 +1114,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt { (::windows::core::Vtable::vtable(self).QueryDiffAreasForSnapshot)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(snapshotid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssDifferentialSoftwareSnapshotMgmt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1193,7 +1193,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt2 { (::windows::core::Vtable::vtable(self).SetSnapshotPriority)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(idsnapshot), priority).ok() } } -::windows::core::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt2, ::windows::core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt); +::windows::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt2, ::windows::core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt); impl ::core::cmp::PartialEq for IVssDifferentialSoftwareSnapshotMgmt2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1290,7 +1290,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt3 { (::windows::core::Vtable::vtable(self).QuerySnapshotDeltaBitmap)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(idsnapshotolder), ::core::mem::transmute(idsnapshotyounger), pcblocksizeperbit, pcbitmaplength, ppbbitmap).ok() } } -::windows::core::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt3, ::windows::core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt2); +::windows::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt3, ::windows::core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt2); impl ::core::cmp::PartialEq for IVssDifferentialSoftwareSnapshotMgmt3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1343,7 +1343,7 @@ impl IVssEnumMgmtObject { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenum)).ok() } } -::windows::core::interface_hierarchy!(IVssEnumMgmtObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssEnumMgmtObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssEnumMgmtObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1392,7 +1392,7 @@ impl IVssEnumObject { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenum)).ok() } } -::windows::core::interface_hierarchy!(IVssEnumObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssEnumObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssEnumObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1448,7 +1448,7 @@ impl IVssExpressWriter { (::windows::core::Vtable::vtable(self).Unregister)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(writerid)).ok() } } -::windows::core::interface_hierarchy!(IVssExpressWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssExpressWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssExpressWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1522,7 +1522,7 @@ impl IVssFileShareSnapshotProvider { (::windows::core::Vtable::vtable(self).SetSnapshotProperty)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(snapshotid), esnapshotpropertyid, ::core::mem::transmute(vproperty)).ok() } } -::windows::core::interface_hierarchy!(IVssFileShareSnapshotProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssFileShareSnapshotProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssFileShareSnapshotProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1605,7 +1605,7 @@ impl IVssHardwareSnapshotProvider { (::windows::core::Vtable::vtable(self).OnLunEmpty)(::windows::core::Vtable::as_raw(self), wszdevicename, pinformation).ok() } } -::windows::core::interface_hierarchy!(IVssHardwareSnapshotProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssHardwareSnapshotProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssHardwareSnapshotProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1712,7 +1712,7 @@ impl IVssHardwareSnapshotProviderEx { (::windows::core::Vtable::vtable(self).OnReuseLuns)(::windows::core::Vtable::as_raw(self), psnapshotluns, poriginalluns, dwcount).ok() } } -::windows::core::interface_hierarchy!(IVssHardwareSnapshotProviderEx, ::windows::core::IUnknown, IVssHardwareSnapshotProvider); +::windows::imp::interface_hierarchy!(IVssHardwareSnapshotProviderEx, ::windows::core::IUnknown, IVssHardwareSnapshotProvider); impl ::core::cmp::PartialEq for IVssHardwareSnapshotProviderEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1779,7 +1779,7 @@ impl IVssProviderCreateSnapshotSet { (::windows::core::Vtable::vtable(self).AbortSnapshots)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(snapshotsetid)).ok() } } -::windows::core::interface_hierarchy!(IVssProviderCreateSnapshotSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssProviderCreateSnapshotSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssProviderCreateSnapshotSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1833,7 +1833,7 @@ impl IVssProviderNotifications { (::windows::core::Vtable::vtable(self).OnUnload)(::windows::core::Vtable::as_raw(self), bforceunload.into()).ok() } } -::windows::core::interface_hierarchy!(IVssProviderNotifications, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssProviderNotifications, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssProviderNotifications { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1883,7 +1883,7 @@ impl IVssSnapshotMgmt { (::windows::core::Vtable::vtable(self).QuerySnapshotsByVolume)(::windows::core::Vtable::as_raw(self), pwszvolumename, ::core::mem::transmute(providerid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVssSnapshotMgmt, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssSnapshotMgmt, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssSnapshotMgmt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1923,7 +1923,7 @@ impl IVssSnapshotMgmt2 { (::windows::core::Vtable::vtable(self).GetMinDiffAreaSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVssSnapshotMgmt2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssSnapshotMgmt2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssSnapshotMgmt2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2001,7 +2001,7 @@ impl IVssSoftwareSnapshotProvider { (::windows::core::Vtable::vtable(self).QueryRevertStatus)(::windows::core::Vtable::as_raw(self), pwszvolume, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVssSoftwareSnapshotProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssSoftwareSnapshotProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssSoftwareSnapshotProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2065,7 +2065,7 @@ impl IVssWMDependency { (::windows::core::Vtable::vtable(self).GetComponentName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrcomponentname)).ok() } } -::windows::core::interface_hierarchy!(IVssWMDependency, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssWMDependency, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssWMDependency { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2121,7 +2121,7 @@ impl IVssWMFiledesc { (::windows::core::Vtable::vtable(self).GetBackupTypeMask)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVssWMFiledesc, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssWMFiledesc, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssWMFiledesc { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2283,7 +2283,7 @@ impl IVssWriterImpl { (::windows::core::Vtable::vtable(self).IsWriterShuttingDown)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IVssWriterImpl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVssWriterImpl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVssWriterImpl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 4ccfc8770f..bbfd7820d3 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 @@ -9,7 +9,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "xpsprint.dll""system" fn StartXpsPrintJob ( printername : :: windows::core::PCWSTR , jobname : :: windows::core::PCWSTR , outputfilename : :: windows::core::PCWSTR , progressevent : super::super::super::Foundation:: HANDLE , completionevent : super::super::super::Foundation:: HANDLE , printablepageson : *const u8 , printablepagesoncount : u32 , xpsprintjob : *mut * mut::core::ffi::c_void , documentstream : *mut * mut::core::ffi::c_void , printticketstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xpsprint.dll""system" fn StartXpsPrintJob ( printername : :: windows::core::PCWSTR , jobname : :: windows::core::PCWSTR , outputfilename : :: windows::core::PCWSTR , progressevent : super::super::super::Foundation:: HANDLE , completionevent : super::super::super::Foundation:: HANDLE , printablepageson : *const u8 , printablepagesoncount : u32 , xpsprintjob : *mut * mut::core::ffi::c_void , documentstream : *mut * mut::core::ffi::c_void , printticketstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); StartXpsPrintJob(printername.into().abi(), jobname.into().abi(), outputfilename.into().abi(), progressevent.into(), completionevent.into(), ::core::mem::transmute(printablepageson.as_ptr()), printablepageson.len() as _, ::core::mem::transmute(xpsprintjob), ::core::mem::transmute(documentstream), ::core::mem::transmute(printticketstream)).ok() } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_Foundation\"`*"] @@ -23,7 +23,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "xpsprint.dll""system" fn StartXpsPrintJob1 ( printername : :: windows::core::PCWSTR , jobname : :: windows::core::PCWSTR , outputfilename : :: windows::core::PCWSTR , progressevent : super::super::super::Foundation:: HANDLE , completionevent : super::super::super::Foundation:: HANDLE , xpsprintjob : *mut * mut::core::ffi::c_void , printcontentreceiver : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xpsprint.dll""system" fn StartXpsPrintJob1 ( printername : :: windows::core::PCWSTR , jobname : :: windows::core::PCWSTR , outputfilename : :: windows::core::PCWSTR , progressevent : super::super::super::Foundation:: HANDLE , completionevent : super::super::super::Foundation:: HANDLE , xpsprintjob : *mut * mut::core::ffi::c_void , printcontentreceiver : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); StartXpsPrintJob1(printername.into().abi(), jobname.into().abi(), outputfilename.into().abi(), progressevent.into(), completionevent.into(), ::core::mem::transmute(xpsprintjob), ::core::mem::transmute(printcontentreceiver)).ok() } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_System_Com\"`*"] @@ -37,7 +37,7 @@ impl IPrintDocumentPackageStatusEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrintDocumentPackageStatusEvent, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrintDocumentPackageStatusEvent, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrintDocumentPackageStatusEvent { fn eq(&self, other: &Self) -> bool { @@ -91,7 +91,7 @@ impl IPrintDocumentPackageTarget { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintDocumentPackageTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintDocumentPackageTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintDocumentPackageTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -139,7 +139,7 @@ impl IPrintDocumentPackageTargetFactory { (::windows::core::Vtable::vtable(self).CreateDocumentPackageTargetForPrintJob)(::windows::core::Vtable::as_raw(self), printername.into().abi(), jobname.into().abi(), joboutputstream.into().abi(), jobprintticketstream.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintDocumentPackageTargetFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintDocumentPackageTargetFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintDocumentPackageTargetFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -182,7 +182,7 @@ impl IXpsPrintJob { (::windows::core::Vtable::vtable(self).GetJobStatus)(::windows::core::Vtable::as_raw(self), jobstatus).ok() } } -::windows::core::interface_hierarchy!(IXpsPrintJob, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsPrintJob, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsPrintJob { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -233,7 +233,7 @@ impl IXpsPrintJobStream { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IXpsPrintJobStream, ::windows::core::IUnknown, super::super::super::System::Com::ISequentialStream); +::windows::imp::interface_hierarchy!(IXpsPrintJobStream, ::windows::core::IUnknown, super::super::super::System::Com::ISequentialStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IXpsPrintJobStream { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs index 147301fd79..41c2399726 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs @@ -7,7 +7,7 @@ pub unsafe fn AbortDoc(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn AbortDoc ( hdc : super::super::Graphics::Gdi:: HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn AbortDoc ( hdc : super::super::Graphics::Gdi:: HDC ) -> i32 ); AbortDoc(hdc.into()) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -18,7 +18,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeviceCapabilitiesA ( pdevice : :: windows::core::PCSTR , pport : :: windows::core::PCSTR , fwcapability : DEVICE_CAPABILITIES , poutput : :: windows::core::PSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEA ) -> i32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeviceCapabilitiesA ( pdevice : :: windows::core::PCSTR , pport : :: windows::core::PCSTR , fwcapability : DEVICE_CAPABILITIES , poutput : :: windows::core::PSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEA ) -> i32 ); DeviceCapabilitiesA(pdevice.into().abi(), pport.into().abi(), fwcapability, ::core::mem::transmute(poutput), ::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -29,7 +29,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "winspool.drv""system" fn DeviceCapabilitiesW ( pdevice : :: windows::core::PCWSTR , pport : :: windows::core::PCWSTR , fwcapability : DEVICE_CAPABILITIES , poutput : :: windows::core::PWSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEW ) -> i32 ); + ::windows::imp::link ! ( "winspool.drv""system" fn DeviceCapabilitiesW ( pdevice : :: windows::core::PCWSTR , pport : :: windows::core::PCWSTR , fwcapability : DEVICE_CAPABILITIES , poutput : :: windows::core::PWSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEW ) -> i32 ); DeviceCapabilitiesW(pdevice.into().abi(), pport.into().abi(), fwcapability, ::core::mem::transmute(poutput), ::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -39,7 +39,7 @@ pub unsafe fn EndDoc(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EndDoc ( hdc : super::super::Graphics::Gdi:: HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EndDoc ( hdc : super::super::Graphics::Gdi:: HDC ) -> i32 ); EndDoc(hdc.into()) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -49,7 +49,7 @@ pub unsafe fn EndPage(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EndPage ( hdc : super::super::Graphics::Gdi:: HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EndPage ( hdc : super::super::Graphics::Gdi:: HDC ) -> i32 ); EndPage(hdc.into()) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -59,7 +59,7 @@ pub unsafe fn Escape(hdc: P0, iescape: i32, pvin: ::core::option::Option<&[u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn Escape ( hdc : super::super::Graphics::Gdi:: HDC , iescape : i32 , cjin : i32 , pvin : :: windows::core::PCSTR , pvout : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn Escape ( hdc : super::super::Graphics::Gdi:: HDC , iescape : i32 , cjin : i32 , pvin : :: windows::core::PCSTR , pvout : *mut ::core::ffi::c_void ) -> i32 ); Escape(hdc.into(), iescape, pvin.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pvin.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pvout.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -69,7 +69,7 @@ pub unsafe fn ExtEscape(hdc: P0, iescape: i32, lpindata: ::core::option::Opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ExtEscape ( hdc : super::super::Graphics::Gdi:: HDC , iescape : i32 , cjinput : i32 , lpindata : :: windows::core::PCSTR , cjoutput : i32 , lpoutdata : :: windows::core::PSTR ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ExtEscape ( hdc : super::super::Graphics::Gdi:: HDC , iescape : i32 , cjinput : i32 , lpindata : :: windows::core::PCSTR , cjoutput : i32 , lpoutdata : :: windows::core::PSTR ) -> i32 ); ExtEscape(hdc.into(), iescape, lpindata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpindata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpoutdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpoutdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -80,7 +80,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PrintWindow ( hwnd : super::super::Foundation:: HWND , hdcblt : super::super::Graphics::Gdi:: HDC , nflags : PRINT_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PrintWindow ( hwnd : super::super::Foundation:: HWND , hdcblt : super::super::Graphics::Gdi:: HDC , nflags : PRINT_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ); PrintWindow(hwnd.into(), hdcblt.into(), nflags) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -90,7 +90,7 @@ pub unsafe fn SetAbortProc(hdc: P0, proc: ABORTPROC) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetAbortProc ( hdc : super::super::Graphics::Gdi:: HDC , proc : ABORTPROC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetAbortProc ( hdc : super::super::Graphics::Gdi:: HDC , proc : ABORTPROC ) -> i32 ); SetAbortProc(hdc.into(), proc) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -100,7 +100,7 @@ pub unsafe fn StartDocA(hdc: P0, lpdi: *const DOCINFOA) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn StartDocA ( hdc : super::super::Graphics::Gdi:: HDC , lpdi : *const DOCINFOA ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn StartDocA ( hdc : super::super::Graphics::Gdi:: HDC , lpdi : *const DOCINFOA ) -> i32 ); StartDocA(hdc.into(), lpdi) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -110,7 +110,7 @@ pub unsafe fn StartDocW(hdc: P0, lpdi: *const DOCINFOW) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn StartDocW ( hdc : super::super::Graphics::Gdi:: HDC , lpdi : *const DOCINFOW ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn StartDocW ( hdc : super::super::Graphics::Gdi:: HDC , lpdi : *const DOCINFOW ) -> i32 ); StartDocW(hdc.into(), lpdi) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -120,7 +120,7 @@ pub unsafe fn StartPage(hdc: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn StartPage ( hdc : super::super::Graphics::Gdi:: HDC ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn StartPage ( hdc : super::super::Graphics::Gdi:: HDC ) -> i32 ); StartPage(hdc.into()) } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] @@ -146,7 +146,7 @@ impl IXpsDocumentPackageTarget { (::windows::core::Vtable::vtable(self).GetXpsType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsDocumentPackageTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsDocumentPackageTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsDocumentPackageTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -201,7 +201,7 @@ impl IXpsDocumentPackageTarget3D { (::windows::core::Vtable::vtable(self).GetXpsOMFactory)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsDocumentPackageTarget3D, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsDocumentPackageTarget3D, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsDocumentPackageTarget3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -254,7 +254,7 @@ impl IXpsOMBrush { (::windows::core::Vtable::vtable(self).SetOpacity)(::windows::core::Vtable::as_raw(self), opacity).ok() } } -::windows::core::interface_hierarchy!(IXpsOMBrush, ::windows::core::IUnknown, IXpsOMShareable); +::windows::imp::interface_hierarchy!(IXpsOMBrush, ::windows::core::IUnknown, IXpsOMShareable); impl ::core::cmp::PartialEq for IXpsOMBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -490,7 +490,7 @@ impl IXpsOMCanvas { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMCanvas, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMVisual); +::windows::imp::interface_hierarchy!(IXpsOMCanvas, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl ::core::cmp::PartialEq for IXpsOMCanvas { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -571,7 +571,7 @@ impl IXpsOMColorProfileResource { (::windows::core::Vtable::vtable(self).SetContent)(::windows::core::Vtable::as_raw(self), sourcestream.into().abi(), partname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMColorProfileResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); +::windows::imp::interface_hierarchy!(IXpsOMColorProfileResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); impl ::core::cmp::PartialEq for IXpsOMColorProfileResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -650,7 +650,7 @@ impl IXpsOMColorProfileResourceCollection { (::windows::core::Vtable::vtable(self).GetByPartName)(::windows::core::Vtable::as_raw(self), partname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMColorProfileResourceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMColorProfileResourceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMColorProfileResourceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -878,7 +878,7 @@ impl IXpsOMCoreProperties { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMCoreProperties, ::windows::core::IUnknown, IXpsOMPart); +::windows::imp::interface_hierarchy!(IXpsOMCoreProperties, ::windows::core::IUnknown, IXpsOMPart); impl ::core::cmp::PartialEq for IXpsOMCoreProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -983,7 +983,7 @@ impl IXpsOMDashCollection { (::windows::core::Vtable::vtable(self).Append)(::windows::core::Vtable::as_raw(self), dash).ok() } } -::windows::core::interface_hierarchy!(IXpsOMDashCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMDashCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMDashCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1076,7 +1076,7 @@ impl IXpsOMDictionary { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMDictionary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMDictionary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMDictionary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1169,7 +1169,7 @@ impl IXpsOMDocument { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMDocument, ::windows::core::IUnknown, IXpsOMPart); +::windows::imp::interface_hierarchy!(IXpsOMDocument, ::windows::core::IUnknown, IXpsOMPart); impl ::core::cmp::PartialEq for IXpsOMDocument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1239,7 +1239,7 @@ impl IXpsOMDocumentCollection { (::windows::core::Vtable::vtable(self).Append)(::windows::core::Vtable::as_raw(self), document.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMDocumentCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMDocumentCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMDocumentCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1310,7 +1310,7 @@ impl IXpsOMDocumentSequence { (::windows::core::Vtable::vtable(self).SetPrintTicketResource)(::windows::core::Vtable::as_raw(self), printticketresource.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMDocumentSequence, ::windows::core::IUnknown, IXpsOMPart); +::windows::imp::interface_hierarchy!(IXpsOMDocumentSequence, ::windows::core::IUnknown, IXpsOMPart); impl ::core::cmp::PartialEq for IXpsOMDocumentSequence { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1380,7 +1380,7 @@ impl IXpsOMDocumentStructureResource { (::windows::core::Vtable::vtable(self).SetContent)(::windows::core::Vtable::as_raw(self), sourcestream.into().abi(), partname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMDocumentStructureResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); +::windows::imp::interface_hierarchy!(IXpsOMDocumentStructureResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); impl ::core::cmp::PartialEq for IXpsOMDocumentStructureResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1455,7 +1455,7 @@ impl IXpsOMFontResource { (::windows::core::Vtable::vtable(self).GetEmbeddingOption)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMFontResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); +::windows::imp::interface_hierarchy!(IXpsOMFontResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); impl ::core::cmp::PartialEq for IXpsOMFontResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1535,7 +1535,7 @@ impl IXpsOMFontResourceCollection { (::windows::core::Vtable::vtable(self).GetByPartName)(::windows::core::Vtable::as_raw(self), partname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMFontResourceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMFontResourceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMFontResourceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1625,7 +1625,7 @@ impl IXpsOMGeometry { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMGeometry, ::windows::core::IUnknown, IXpsOMShareable); +::windows::imp::interface_hierarchy!(IXpsOMGeometry, ::windows::core::IUnknown, IXpsOMShareable); impl ::core::cmp::PartialEq for IXpsOMGeometry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1738,7 +1738,7 @@ impl IXpsOMGeometryFigure { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMGeometryFigure, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMGeometryFigure, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMGeometryFigure { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1833,7 +1833,7 @@ impl IXpsOMGeometryFigureCollection { (::windows::core::Vtable::vtable(self).Append)(::windows::core::Vtable::as_raw(self), geometryfigure.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMGeometryFigureCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMGeometryFigureCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMGeometryFigureCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2116,7 +2116,7 @@ impl IXpsOMGlyphs { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMGlyphs, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMVisual); +::windows::imp::interface_hierarchy!(IXpsOMGlyphs, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl ::core::cmp::PartialEq for IXpsOMGlyphs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2253,7 +2253,7 @@ impl IXpsOMGlyphsEditor { (::windows::core::Vtable::vtable(self).SetDeviceFontName)(::windows::core::Vtable::as_raw(self), devicefontname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMGlyphsEditor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMGlyphsEditor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMGlyphsEditor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2367,7 +2367,7 @@ impl IXpsOMGradientBrush { (::windows::core::Vtable::vtable(self).SetColorInterpolationMode)(::windows::core::Vtable::as_raw(self), colorinterpolationmode).ok() } } -::windows::core::interface_hierarchy!(IXpsOMGradientBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush); +::windows::imp::interface_hierarchy!(IXpsOMGradientBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl ::core::cmp::PartialEq for IXpsOMGradientBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2434,7 +2434,7 @@ impl IXpsOMGradientStop { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMGradientStop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMGradientStop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMGradientStop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2502,7 +2502,7 @@ impl IXpsOMGradientStopCollection { (::windows::core::Vtable::vtable(self).Append)(::windows::core::Vtable::as_raw(self), stop.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMGradientStopCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMGradientStopCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMGradientStopCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2625,7 +2625,7 @@ impl IXpsOMImageBrush { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMImageBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); +::windows::imp::interface_hierarchy!(IXpsOMImageBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); impl ::core::cmp::PartialEq for IXpsOMImageBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2696,7 +2696,7 @@ impl IXpsOMImageResource { (::windows::core::Vtable::vtable(self).GetImageType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMImageResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); +::windows::imp::interface_hierarchy!(IXpsOMImageResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); impl ::core::cmp::PartialEq for IXpsOMImageResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2776,7 +2776,7 @@ impl IXpsOMImageResourceCollection { (::windows::core::Vtable::vtable(self).GetByPartName)(::windows::core::Vtable::as_raw(self), partname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMImageResourceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMImageResourceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMImageResourceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2894,7 +2894,7 @@ impl IXpsOMLinearGradientBrush { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMLinearGradientBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); +::windows::imp::interface_hierarchy!(IXpsOMLinearGradientBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); impl ::core::cmp::PartialEq for IXpsOMLinearGradientBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2951,7 +2951,7 @@ impl IXpsOMMatrixTransform { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMMatrixTransform, ::windows::core::IUnknown, IXpsOMShareable); +::windows::imp::interface_hierarchy!(IXpsOMMatrixTransform, ::windows::core::IUnknown, IXpsOMShareable); impl ::core::cmp::PartialEq for IXpsOMMatrixTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2995,7 +2995,7 @@ impl IXpsOMNameCollection { (::windows::core::Vtable::vtable(self).GetAt)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMNameCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMNameCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMNameCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3327,7 +3327,7 @@ impl IXpsOMObjectFactory { (::windows::core::Vtable::vtable(self).CreateReadOnlyStreamOnFile)(::windows::core::Vtable::as_raw(self), filename.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMObjectFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMObjectFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMObjectFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3869,7 +3869,7 @@ impl IXpsOMObjectFactory1 { (::windows::core::Vtable::vtable(self).CreateRemoteDictionaryResourceFromStream1)(::windows::core::Vtable::as_raw(self), dictionarymarkupstream.into().abi(), parturi.into().abi(), resources.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMObjectFactory1, ::windows::core::IUnknown, IXpsOMObjectFactory); +::windows::imp::interface_hierarchy!(IXpsOMObjectFactory1, ::windows::core::IUnknown, IXpsOMObjectFactory); impl ::core::cmp::PartialEq for IXpsOMObjectFactory1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4000,7 +4000,7 @@ impl IXpsOMPackage { (::windows::core::Vtable::vtable(self).WriteToStream)(::windows::core::Vtable::as_raw(self), stream.into().abi(), optimizemarkupsize.into()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMPackage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMPackage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMPackage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4139,7 +4139,7 @@ impl IXpsOMPackage1 { (::windows::core::Vtable::vtable(self).WriteToStream1)(::windows::core::Vtable::as_raw(self), outputstream.into().abi(), optimizemarkupsize.into(), documenttype).ok() } } -::windows::core::interface_hierarchy!(IXpsOMPackage1, ::windows::core::IUnknown, IXpsOMPackage); +::windows::imp::interface_hierarchy!(IXpsOMPackage1, ::windows::core::IUnknown, IXpsOMPackage); impl ::core::cmp::PartialEq for IXpsOMPackage1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4192,7 +4192,7 @@ impl IXpsOMPackageTarget { (::windows::core::Vtable::vtable(self).CreateXpsOMPackageWriter)(::windows::core::Vtable::as_raw(self), documentsequencepartname.into().abi(), documentsequenceprintticket.into().abi(), discardcontrolpartname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMPackageTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMPackageTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMPackageTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4266,7 +4266,7 @@ impl IXpsOMPackageWriter { (::windows::core::Vtable::vtable(self).IsClosed)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMPackageWriter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMPackageWriter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMPackageWriter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4365,7 +4365,7 @@ impl IXpsOMPackageWriter3D { (::windows::core::Vtable::vtable(self).SetModelPrintTicket)(::windows::core::Vtable::as_raw(self), printticketpartname.into().abi(), printticketdata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMPackageWriter3D, ::windows::core::IUnknown, IXpsOMPackageWriter); +::windows::imp::interface_hierarchy!(IXpsOMPackageWriter3D, ::windows::core::IUnknown, IXpsOMPackageWriter); impl ::core::cmp::PartialEq for IXpsOMPackageWriter3D { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4524,7 +4524,7 @@ impl IXpsOMPage { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMPage, ::windows::core::IUnknown, IXpsOMPart); +::windows::imp::interface_hierarchy!(IXpsOMPage, ::windows::core::IUnknown, IXpsOMPart); impl ::core::cmp::PartialEq for IXpsOMPage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4719,7 +4719,7 @@ impl IXpsOMPage1 { (::windows::core::Vtable::vtable(self).Write1)(::windows::core::Vtable::as_raw(self), stream.into().abi(), optimizemarkupsize.into(), documenttype).ok() } } -::windows::core::interface_hierarchy!(IXpsOMPage1, ::windows::core::IUnknown, IXpsOMPart, IXpsOMPage); +::windows::imp::interface_hierarchy!(IXpsOMPage1, ::windows::core::IUnknown, IXpsOMPart, IXpsOMPage); impl ::core::cmp::PartialEq for IXpsOMPage1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4835,7 +4835,7 @@ impl IXpsOMPageReference { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMPageReference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMPageReference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMPageReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4920,7 +4920,7 @@ impl IXpsOMPageReferenceCollection { (::windows::core::Vtable::vtable(self).Append)(::windows::core::Vtable::as_raw(self), pagereference.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMPageReferenceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMPageReferenceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMPageReferenceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4973,7 +4973,7 @@ impl IXpsOMPart { (::windows::core::Vtable::vtable(self).SetPartName)(::windows::core::Vtable::as_raw(self), parturi.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMPart, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMPart, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMPart { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5030,7 +5030,7 @@ impl IXpsOMPartResources { (::windows::core::Vtable::vtable(self).GetRemoteDictionaryResources)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMPartResources, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMPartResources, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMPartResources { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5104,7 +5104,7 @@ impl IXpsOMPartUriCollection { (::windows::core::Vtable::vtable(self).Append)(::windows::core::Vtable::as_raw(self), parturi.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMPartUriCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMPartUriCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMPartUriCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5453,7 +5453,7 @@ impl IXpsOMPath { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMPath, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMVisual); +::windows::imp::interface_hierarchy!(IXpsOMPath, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl ::core::cmp::PartialEq for IXpsOMPath { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5558,7 +5558,7 @@ impl IXpsOMPrintTicketResource { (::windows::core::Vtable::vtable(self).SetContent)(::windows::core::Vtable::as_raw(self), sourcestream.into().abi(), partname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMPrintTicketResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); +::windows::imp::interface_hierarchy!(IXpsOMPrintTicketResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); impl ::core::cmp::PartialEq for IXpsOMPrintTicketResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5681,7 +5681,7 @@ impl IXpsOMRadialGradientBrush { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMRadialGradientBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); +::windows::imp::interface_hierarchy!(IXpsOMRadialGradientBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); impl ::core::cmp::PartialEq for IXpsOMRadialGradientBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5745,7 +5745,7 @@ impl IXpsOMRemoteDictionaryResource { (::windows::core::Vtable::vtable(self).SetDictionary)(::windows::core::Vtable::as_raw(self), dictionary.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMRemoteDictionaryResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); +::windows::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); impl ::core::cmp::PartialEq for IXpsOMRemoteDictionaryResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5816,7 +5816,7 @@ impl IXpsOMRemoteDictionaryResource1 { (::windows::core::Vtable::vtable(self).Write1)(::windows::core::Vtable::as_raw(self), stream.into().abi(), documenttype).ok() } } -::windows::core::interface_hierarchy!(IXpsOMRemoteDictionaryResource1, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource, IXpsOMRemoteDictionaryResource); +::windows::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResource1, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource, IXpsOMRemoteDictionaryResource); impl ::core::cmp::PartialEq for IXpsOMRemoteDictionaryResource1 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5892,7 +5892,7 @@ impl IXpsOMRemoteDictionaryResourceCollection { (::windows::core::Vtable::vtable(self).GetByPartName)(::windows::core::Vtable::as_raw(self), partname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMRemoteDictionaryResourceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResourceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMRemoteDictionaryResourceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5949,7 +5949,7 @@ impl IXpsOMResource { (::windows::core::Vtable::vtable(self).base__.SetPartName)(::windows::core::Vtable::as_raw(self), parturi.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMResource, ::windows::core::IUnknown, IXpsOMPart); +::windows::imp::interface_hierarchy!(IXpsOMResource, ::windows::core::IUnknown, IXpsOMPart); impl ::core::cmp::PartialEq for IXpsOMResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5990,7 +5990,7 @@ impl IXpsOMShareable { (::windows::core::Vtable::vtable(self).GetType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMShareable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMShareable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMShareable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6058,7 +6058,7 @@ impl IXpsOMSignatureBlockResource { (::windows::core::Vtable::vtable(self).SetContent)(::windows::core::Vtable::as_raw(self), sourcestream.into().abi(), partname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMSignatureBlockResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); +::windows::imp::interface_hierarchy!(IXpsOMSignatureBlockResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); impl ::core::cmp::PartialEq for IXpsOMSignatureBlockResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6138,7 +6138,7 @@ impl IXpsOMSignatureBlockResourceCollection { (::windows::core::Vtable::vtable(self).GetByPartName)(::windows::core::Vtable::as_raw(self), partname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMSignatureBlockResourceCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMSignatureBlockResourceCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMSignatureBlockResourceCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6209,7 +6209,7 @@ impl IXpsOMSolidColorBrush { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMSolidColorBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush); +::windows::imp::interface_hierarchy!(IXpsOMSolidColorBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl ::core::cmp::PartialEq for IXpsOMSolidColorBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6278,7 +6278,7 @@ impl IXpsOMStoryFragmentsResource { (::windows::core::Vtable::vtable(self).SetContent)(::windows::core::Vtable::as_raw(self), sourcestream.into().abi(), partname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMStoryFragmentsResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); +::windows::imp::interface_hierarchy!(IXpsOMStoryFragmentsResource, ::windows::core::IUnknown, IXpsOMPart, IXpsOMResource); impl ::core::cmp::PartialEq for IXpsOMStoryFragmentsResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6330,7 +6330,7 @@ impl IXpsOMThumbnailGenerator { (::windows::core::Vtable::vtable(self).GenerateThumbnail)(::windows::core::Vtable::as_raw(self), page.into().abi(), thumbnailtype, thumbnailsize, imageresourcepartname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMThumbnailGenerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMThumbnailGenerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMThumbnailGenerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6427,7 +6427,7 @@ impl IXpsOMTileBrush { (::windows::core::Vtable::vtable(self).SetTileMode)(::windows::core::Vtable::as_raw(self), tilemode).ok() } } -::windows::core::interface_hierarchy!(IXpsOMTileBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush); +::windows::imp::interface_hierarchy!(IXpsOMTileBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl ::core::cmp::PartialEq for IXpsOMTileBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6606,7 +6606,7 @@ impl IXpsOMVisual { (::windows::core::Vtable::vtable(self).SetLanguage)(::windows::core::Vtable::as_raw(self), language.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMVisual, ::windows::core::IUnknown, IXpsOMShareable); +::windows::imp::interface_hierarchy!(IXpsOMVisual, ::windows::core::IUnknown, IXpsOMShareable); impl ::core::cmp::PartialEq for IXpsOMVisual { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6764,7 +6764,7 @@ impl IXpsOMVisualBrush { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsOMVisualBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); +::windows::imp::interface_hierarchy!(IXpsOMVisualBrush, ::windows::core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); impl ::core::cmp::PartialEq for IXpsOMVisualBrush { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6832,7 +6832,7 @@ impl IXpsOMVisualCollection { (::windows::core::Vtable::vtable(self).Append)(::windows::core::Vtable::as_raw(self), object.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsOMVisualCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsOMVisualCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsOMVisualCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6928,7 +6928,7 @@ impl IXpsSignature { (::windows::core::Vtable::vtable(self).SetSignatureXml)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(signaturexml.as_ptr()), signaturexml.len() as _).ok() } } -::windows::core::interface_hierarchy!(IXpsSignature, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsSignature, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsSignature { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7018,7 +7018,7 @@ impl IXpsSignatureBlock { (::windows::core::Vtable::vtable(self).CreateRequest)(::windows::core::Vtable::as_raw(self), requestid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsSignatureBlock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsSignatureBlock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsSignatureBlock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7073,7 +7073,7 @@ impl IXpsSignatureBlockCollection { (::windows::core::Vtable::vtable(self).RemoveAt)(::windows::core::Vtable::as_raw(self), index).ok() } } -::windows::core::interface_hierarchy!(IXpsSignatureBlockCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsSignatureBlockCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsSignatureBlockCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7120,7 +7120,7 @@ impl IXpsSignatureCollection { (::windows::core::Vtable::vtable(self).RemoveAt)(::windows::core::Vtable::as_raw(self), index).ok() } } -::windows::core::interface_hierarchy!(IXpsSignatureCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsSignatureCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsSignatureCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7230,7 +7230,7 @@ impl IXpsSignatureManager { (::windows::core::Vtable::vtable(self).SavePackageToStream)(::windows::core::Vtable::as_raw(self), stream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXpsSignatureManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsSignatureManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsSignatureManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7351,7 +7351,7 @@ impl IXpsSignatureRequest { (::windows::core::Vtable::vtable(self).GetSignature)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXpsSignatureRequest, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsSignatureRequest, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsSignatureRequest { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7410,7 +7410,7 @@ impl IXpsSignatureRequestCollection { (::windows::core::Vtable::vtable(self).RemoveAt)(::windows::core::Vtable::as_raw(self), index).ok() } } -::windows::core::interface_hierarchy!(IXpsSignatureRequestCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsSignatureRequestCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsSignatureRequestCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7533,7 +7533,7 @@ impl IXpsSigningOptions { (::windows::core::Vtable::vtable(self).SetFlags)(::windows::core::Vtable::as_raw(self), flags).ok() } } -::windows::core::interface_hierarchy!(IXpsSigningOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXpsSigningOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXpsSigningOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs index d89df6bdeb..aabdd21d05 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs @@ -6,38 +6,38 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mapi32.dll""system" fn BuildDisplayTable ( lpallocatebuffer : LPALLOCATEBUFFER , lpallocatemore : LPALLOCATEMORE , lpfreebuffer : LPFREEBUFFER , lpmalloc : * mut::core::ffi::c_void , hinstance : super::super::Foundation:: HINSTANCE , cpages : u32 , lppage : *mut DTPAGE , ulflags : u32 , lpptable : *mut * mut::core::ffi::c_void , lpptbldata : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn BuildDisplayTable ( lpallocatebuffer : LPALLOCATEBUFFER , lpallocatemore : LPALLOCATEMORE , lpfreebuffer : LPFREEBUFFER , lpmalloc : * mut::core::ffi::c_void , hinstance : super::super::Foundation:: HINSTANCE , cpages : u32 , lppage : *mut DTPAGE , ulflags : u32 , lpptable : *mut * mut::core::ffi::c_void , lpptbldata : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); BuildDisplayTable(lpallocatebuffer, lpallocatemore, lpfreebuffer, lpmalloc.into().abi(), hinstance.into(), cpages, lppage, ulflags, ::core::mem::transmute(lpptable), ::core::mem::transmute(lpptbldata)).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ChangeIdleRoutine(ftg: *mut ::core::ffi::c_void, lpfnidle: PFNIDLE, lpvidleparam: *mut ::core::ffi::c_void, priidle: i16, csecidle: u32, iroidle: u16, ircidle: u16) { - ::windows::core::link ! ( "mapi32.dll""system" fn ChangeIdleRoutine ( ftg : *mut ::core::ffi::c_void , lpfnidle : PFNIDLE , lpvidleparam : *mut ::core::ffi::c_void , priidle : i16 , csecidle : u32 , iroidle : u16 , ircidle : u16 ) -> ( ) ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ChangeIdleRoutine ( ftg : *mut ::core::ffi::c_void , lpfnidle : PFNIDLE , lpvidleparam : *mut ::core::ffi::c_void , priidle : i16 , csecidle : u32 , iroidle : u16 , ircidle : u16 ) -> ( ) ); ChangeIdleRoutine(ftg, lpfnidle, lpvidleparam, priidle, csecidle, iroidle, ircidle) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn CreateIProp(lpinterface: *mut ::windows::core::GUID, lpallocatebuffer: LPALLOCATEBUFFER, lpallocatemore: LPALLOCATEMORE, lpfreebuffer: LPFREEBUFFER, lpvreserved: *mut ::core::ffi::c_void, lpppropdata: *mut ::core::option::Option) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn CreateIProp ( lpinterface : *mut :: windows::core::GUID , lpallocatebuffer : LPALLOCATEBUFFER , lpallocatemore : LPALLOCATEMORE , lpfreebuffer : LPFREEBUFFER , lpvreserved : *mut ::core::ffi::c_void , lpppropdata : *mut * mut::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn CreateIProp ( lpinterface : *mut :: windows::core::GUID , lpallocatebuffer : LPALLOCATEBUFFER , lpallocatemore : LPALLOCATEMORE , lpfreebuffer : LPFREEBUFFER , lpvreserved : *mut ::core::ffi::c_void , lpppropdata : *mut * mut::core::ffi::c_void ) -> i32 ); CreateIProp(lpinterface, lpallocatebuffer, lpallocatemore, lpfreebuffer, lpvreserved, ::core::mem::transmute(lpppropdata)) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn CreateTable(lpinterface: *mut ::windows::core::GUID, lpallocatebuffer: LPALLOCATEBUFFER, lpallocatemore: LPALLOCATEMORE, lpfreebuffer: LPFREEBUFFER, lpvreserved: *mut ::core::ffi::c_void, ultabletype: u32, ulproptagindexcolumn: u32, lpsproptagarraycolumns: *mut SPropTagArray, lpptabledata: *mut ::core::option::Option) -> i32 { - ::windows::core::link ! ( "rtm.dll""system" fn CreateTable ( lpinterface : *mut :: windows::core::GUID , lpallocatebuffer : LPALLOCATEBUFFER , lpallocatemore : LPALLOCATEMORE , lpfreebuffer : LPFREEBUFFER , lpvreserved : *mut ::core::ffi::c_void , ultabletype : u32 , ulproptagindexcolumn : u32 , lpsproptagarraycolumns : *mut SPropTagArray , lpptabledata : *mut * mut::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "rtm.dll""system" fn CreateTable ( lpinterface : *mut :: windows::core::GUID , lpallocatebuffer : LPALLOCATEBUFFER , lpallocatemore : LPALLOCATEMORE , lpfreebuffer : LPFREEBUFFER , lpvreserved : *mut ::core::ffi::c_void , ultabletype : u32 , ulproptagindexcolumn : u32 , lpsproptagarraycolumns : *mut SPropTagArray , lpptabledata : *mut * mut::core::ffi::c_void ) -> i32 ); CreateTable(lpinterface, lpallocatebuffer, lpallocatemore, lpfreebuffer, lpvreserved, ultabletype, ulproptagindexcolumn, lpsproptagarraycolumns, ::core::mem::transmute(lpptabledata)) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn DeinitMapiUtil() { - ::windows::core::link ! ( "mapi32.dll""system" fn DeinitMapiUtil ( ) -> ( ) ); + ::windows::imp::link ! ( "mapi32.dll""system" fn DeinitMapiUtil ( ) -> ( ) ); DeinitMapiUtil() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn DeregisterIdleRoutine(ftg: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "mapi32.dll""system" fn DeregisterIdleRoutine ( ftg : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "mapi32.dll""system" fn DeregisterIdleRoutine ( ftg : *mut ::core::ffi::c_void ) -> ( ) ); DeregisterIdleRoutine(ftg) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] @@ -47,28 +47,28 @@ pub unsafe fn EnableIdleRoutine(ftg: *mut ::core::ffi::c_void, fenable: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mapi32.dll""system" fn EnableIdleRoutine ( ftg : *mut ::core::ffi::c_void , fenable : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "mapi32.dll""system" fn EnableIdleRoutine ( ftg : *mut ::core::ffi::c_void , fenable : super::super::Foundation:: BOOL ) -> ( ) ); EnableIdleRoutine(ftg, fenable.into()) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FEqualNames(lpname1: *mut MAPINAMEID, lpname2: *mut MAPINAMEID) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mapi32.dll""system" fn FEqualNames ( lpname1 : *mut MAPINAMEID , lpname2 : *mut MAPINAMEID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FEqualNames ( lpname1 : *mut MAPINAMEID , lpname2 : *mut MAPINAMEID ) -> super::super::Foundation:: BOOL ); FEqualNames(lpname1, lpname2) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn FPropCompareProp(lpspropvalue1: *mut SPropValue, ulrelop: u32, lpspropvalue2: *mut SPropValue) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mapi32.dll""system" fn FPropCompareProp ( lpspropvalue1 : *mut SPropValue , ulrelop : u32 , lpspropvalue2 : *mut SPropValue ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FPropCompareProp ( lpspropvalue1 : *mut SPropValue , ulrelop : u32 , lpspropvalue2 : *mut SPropValue ) -> super::super::Foundation:: BOOL ); FPropCompareProp(lpspropvalue1, ulrelop, lpspropvalue2) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn FPropContainsProp(lpspropvaluedst: *mut SPropValue, lpspropvaluesrc: *mut SPropValue, ulfuzzylevel: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mapi32.dll""system" fn FPropContainsProp ( lpspropvaluedst : *mut SPropValue , lpspropvaluesrc : *mut SPropValue , ulfuzzylevel : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FPropContainsProp ( lpspropvaluedst : *mut SPropValue , lpspropvaluesrc : *mut SPropValue , ulfuzzylevel : u32 ) -> super::super::Foundation:: BOOL ); FPropContainsProp(lpspropvaluedst, lpspropvaluesrc, ulfuzzylevel) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] @@ -78,63 +78,63 @@ pub unsafe fn FPropExists(lpmapiprop: P0, ulproptag: u32) -> super::super::F where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn FPropExists ( lpmapiprop : * mut::core::ffi::c_void , ulproptag : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FPropExists ( lpmapiprop : * mut::core::ffi::c_void , ulproptag : u32 ) -> super::super::Foundation:: BOOL ); FPropExists(lpmapiprop.into().abi(), ulproptag) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn FreePadrlist(lpadrlist: *mut ADRLIST) { - ::windows::core::link ! ( "mapi32.dll""system" fn FreePadrlist ( lpadrlist : *mut ADRLIST ) -> ( ) ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FreePadrlist ( lpadrlist : *mut ADRLIST ) -> ( ) ); FreePadrlist(lpadrlist) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn FreeProws(lprows: *mut SRowSet) { - ::windows::core::link ! ( "mapi32.dll""system" fn FreeProws ( lprows : *mut SRowSet ) -> ( ) ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FreeProws ( lprows : *mut SRowSet ) -> ( ) ); FreeProws(lprows) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FtAddFt(ftaddend1: super::super::Foundation::FILETIME, ftaddend2: super::super::Foundation::FILETIME) -> super::super::Foundation::FILETIME { - ::windows::core::link ! ( "mapi32.dll""system" fn FtAddFt ( ftaddend1 : super::super::Foundation:: FILETIME , ftaddend2 : super::super::Foundation:: FILETIME ) -> super::super::Foundation:: FILETIME ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FtAddFt ( ftaddend1 : super::super::Foundation:: FILETIME , ftaddend2 : super::super::Foundation:: FILETIME ) -> super::super::Foundation:: FILETIME ); FtAddFt(::core::mem::transmute(ftaddend1), ::core::mem::transmute(ftaddend2)) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FtMulDw(ftmultiplier: u32, ftmultiplicand: super::super::Foundation::FILETIME) -> super::super::Foundation::FILETIME { - ::windows::core::link ! ( "mapi32.dll""system" fn FtMulDw ( ftmultiplier : u32 , ftmultiplicand : super::super::Foundation:: FILETIME ) -> super::super::Foundation:: FILETIME ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FtMulDw ( ftmultiplier : u32 , ftmultiplicand : super::super::Foundation:: FILETIME ) -> super::super::Foundation:: FILETIME ); FtMulDw(ftmultiplier, ::core::mem::transmute(ftmultiplicand)) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FtMulDwDw(ftmultiplicand: u32, ftmultiplier: u32) -> super::super::Foundation::FILETIME { - ::windows::core::link ! ( "mapi32.dll""system" fn FtMulDwDw ( ftmultiplicand : u32 , ftmultiplier : u32 ) -> super::super::Foundation:: FILETIME ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FtMulDwDw ( ftmultiplicand : u32 , ftmultiplier : u32 ) -> super::super::Foundation:: FILETIME ); FtMulDwDw(ftmultiplicand, ftmultiplier) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FtNegFt(ft: super::super::Foundation::FILETIME) -> super::super::Foundation::FILETIME { - ::windows::core::link ! ( "mapi32.dll""system" fn FtNegFt ( ft : super::super::Foundation:: FILETIME ) -> super::super::Foundation:: FILETIME ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FtNegFt ( ft : super::super::Foundation:: FILETIME ) -> super::super::Foundation:: FILETIME ); FtNegFt(::core::mem::transmute(ft)) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FtSubFt(ftminuend: super::super::Foundation::FILETIME, ftsubtrahend: super::super::Foundation::FILETIME) -> super::super::Foundation::FILETIME { - ::windows::core::link ! ( "mapi32.dll""system" fn FtSubFt ( ftminuend : super::super::Foundation:: FILETIME , ftsubtrahend : super::super::Foundation:: FILETIME ) -> super::super::Foundation:: FILETIME ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FtSubFt ( ftminuend : super::super::Foundation:: FILETIME , ftsubtrahend : super::super::Foundation:: FILETIME ) -> super::super::Foundation:: FILETIME ); FtSubFt(::core::mem::transmute(ftminuend), ::core::mem::transmute(ftsubtrahend)) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FtgRegisterIdleRoutine(lpfnidle: PFNIDLE, lpvidleparam: *mut ::core::ffi::c_void, priidle: i16, csecidle: u32, iroidle: u16) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "mapi32.dll""system" fn FtgRegisterIdleRoutine ( lpfnidle : PFNIDLE , lpvidleparam : *mut ::core::ffi::c_void , priidle : i16 , csecidle : u32 , iroidle : u16 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "mapi32.dll""system" fn FtgRegisterIdleRoutine ( lpfnidle : PFNIDLE , lpvidleparam : *mut ::core::ffi::c_void , priidle : i16 , csecidle : u32 , iroidle : u16 ) -> *mut ::core::ffi::c_void ); FtgRegisterIdleRoutine(lpfnidle, lpvidleparam, priidle, csecidle, iroidle) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] @@ -143,7 +143,7 @@ pub unsafe fn HrAddColumns(lptbl: P0, lpproptagcolumnsnew: *mut SPropTagArra where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn HrAddColumns ( lptbl : * mut::core::ffi::c_void , lpproptagcolumnsnew : *mut SPropTagArray , lpallocatebuffer : LPALLOCATEBUFFER , lpfreebuffer : LPFREEBUFFER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrAddColumns ( lptbl : * mut::core::ffi::c_void , lpproptagcolumnsnew : *mut SPropTagArray , lpallocatebuffer : LPALLOCATEBUFFER , lpfreebuffer : LPFREEBUFFER ) -> :: windows::core::HRESULT ); HrAddColumns(lptbl.into().abi(), lpproptagcolumnsnew, lpallocatebuffer, lpfreebuffer).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] @@ -152,20 +152,20 @@ pub unsafe fn HrAddColumnsEx(lptbl: P0, lpproptagcolumnsnew: *mut SPropTagAr where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn HrAddColumnsEx ( lptbl : * mut::core::ffi::c_void , lpproptagcolumnsnew : *mut SPropTagArray , lpallocatebuffer : LPALLOCATEBUFFER , lpfreebuffer : LPFREEBUFFER , lpfnfiltercolumns : isize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrAddColumnsEx ( lptbl : * mut::core::ffi::c_void , lpproptagcolumnsnew : *mut SPropTagArray , lpallocatebuffer : LPALLOCATEBUFFER , lpfreebuffer : LPFREEBUFFER , lpfnfiltercolumns : isize ) -> :: windows::core::HRESULT ); HrAddColumnsEx(lptbl.into().abi(), lpproptagcolumnsnew, lpallocatebuffer, lpfreebuffer, lpfnfiltercolumns).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn HrAllocAdviseSink(lpfncallback: LPNOTIFCALLBACK, lpvcontext: *mut ::core::ffi::c_void, lppadvisesink: *mut ::core::option::Option) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mapi32.dll""system" fn HrAllocAdviseSink ( lpfncallback : LPNOTIFCALLBACK , lpvcontext : *mut ::core::ffi::c_void , lppadvisesink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrAllocAdviseSink ( lpfncallback : LPNOTIFCALLBACK , lpvcontext : *mut ::core::ffi::c_void , lppadvisesink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HrAllocAdviseSink(lpfncallback, lpvcontext, ::core::mem::transmute(lppadvisesink)).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn HrDispatchNotifications(ulflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mapi32.dll""system" fn HrDispatchNotifications ( ulflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrDispatchNotifications ( ulflags : u32 ) -> :: windows::core::HRESULT ); HrDispatchNotifications(ulflags).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -175,7 +175,7 @@ pub unsafe fn HrGetOneProp(lpmapiprop: P0, ulproptag: u32, lppprop: *mut *mu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn HrGetOneProp ( lpmapiprop : * mut::core::ffi::c_void , ulproptag : u32 , lppprop : *mut *mut SPropValue ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrGetOneProp ( lpmapiprop : * mut::core::ffi::c_void , ulproptag : u32 , lppprop : *mut *mut SPropValue ) -> :: windows::core::HRESULT ); HrGetOneProp(lpmapiprop.into().abi(), ulproptag, lppprop).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -185,7 +185,7 @@ pub unsafe fn HrIStorageFromStream(lpunkin: P0, lpinterface: *mut ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "mapi32.dll""system" fn HrIStorageFromStream ( lpunkin : * mut::core::ffi::c_void , lpinterface : *mut :: windows::core::GUID , ulflags : u32 , lppstorageout : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrIStorageFromStream ( lpunkin : * mut::core::ffi::c_void , lpinterface : *mut :: windows::core::GUID , ulflags : u32 , lppstorageout : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HrIStorageFromStream(lpunkin.into().abi(), lpinterface, ulflags, ::core::mem::transmute(lppstorageout)).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -195,7 +195,7 @@ pub unsafe fn HrQueryAllRows(lptable: P0, lpproptags: *mut SPropTagArray, lp where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn HrQueryAllRows ( lptable : * mut::core::ffi::c_void , lpproptags : *mut SPropTagArray , lprestriction : *mut SRestriction , lpsortorderset : *mut SSortOrderSet , crowsmax : i32 , lpprows : *mut *mut SRowSet ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrQueryAllRows ( lptable : * mut::core::ffi::c_void , lpproptags : *mut SPropTagArray , lprestriction : *mut SRestriction , lpsortorderset : *mut SSortOrderSet , crowsmax : i32 , lpprows : *mut *mut SRowSet ) -> :: windows::core::HRESULT ); HrQueryAllRows(lptable.into().abi(), lpproptags, lprestriction, lpsortorderset, crowsmax, lpprows).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -205,7 +205,7 @@ pub unsafe fn HrSetOneProp(lpmapiprop: P0, lpprop: *mut SPropValue) -> ::win where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn HrSetOneProp ( lpmapiprop : * mut::core::ffi::c_void , lpprop : *mut SPropValue ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrSetOneProp ( lpmapiprop : * mut::core::ffi::c_void , lpprop : *mut SPropValue ) -> :: windows::core::HRESULT ); HrSetOneProp(lpmapiprop.into().abi(), lpprop).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] @@ -214,7 +214,7 @@ pub unsafe fn HrThisThreadAdviseSink(lpadvisesink: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn HrThisThreadAdviseSink ( lpadvisesink : * mut::core::ffi::c_void , lppadvisesink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn HrThisThreadAdviseSink ( lpadvisesink : * mut::core::ffi::c_void , lppadvisesink : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HrThisThreadAdviseSink(lpadvisesink.into().abi(), &mut result__).from_abi(result__) } @@ -222,40 +222,40 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn LPropCompareProp(lpspropvaluea: *mut SPropValue, lpspropvalueb: *mut SPropValue) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn LPropCompareProp ( lpspropvaluea : *mut SPropValue , lpspropvalueb : *mut SPropValue ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn LPropCompareProp ( lpspropvaluea : *mut SPropValue , lpspropvalueb : *mut SPropValue ) -> i32 ); LPropCompareProp(lpspropvaluea, lpspropvalueb) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn LpValFindProp(ulproptag: u32, cvalues: u32, lpproparray: *mut SPropValue) -> *mut SPropValue { - ::windows::core::link ! ( "mapi32.dll""system" fn LpValFindProp ( ulproptag : u32 , cvalues : u32 , lpproparray : *mut SPropValue ) -> *mut SPropValue ); + ::windows::imp::link ! ( "mapi32.dll""system" fn LpValFindProp ( ulproptag : u32 , cvalues : u32 , lpproparray : *mut SPropValue ) -> *mut SPropValue ); LpValFindProp(ulproptag, cvalues, lpproparray) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn MAPIDeinitIdle() { - ::windows::core::link ! ( "mapi32.dll""system" fn MAPIDeinitIdle ( ) -> ( ) ); + ::windows::imp::link ! ( "mapi32.dll""system" fn MAPIDeinitIdle ( ) -> ( ) ); MAPIDeinitIdle() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn MAPIGetDefaultMalloc() -> ::core::option::Option { - ::windows::core::link ! ( "mapi32.dll""system" fn MAPIGetDefaultMalloc ( ) -> ::core::option::Option < super::Com:: IMalloc > ); + ::windows::imp::link ! ( "mapi32.dll""system" fn MAPIGetDefaultMalloc ( ) -> ::core::option::Option < super::Com:: IMalloc > ); MAPIGetDefaultMalloc() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn MAPIInitIdle(lpvreserved: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn MAPIInitIdle ( lpvreserved : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn MAPIInitIdle ( lpvreserved : *mut ::core::ffi::c_void ) -> i32 ); MAPIInitIdle(lpvreserved) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn OpenStreamOnFile(lpallocatebuffer: LPALLOCATEBUFFER, lpfreebuffer: LPFREEBUFFER, ulflags: u32, lpszfilename: *const i8, lpszprefix: ::core::option::Option<*const i8>) -> ::windows::core::Result { - ::windows::core::link ! ( "mapi32.dll""system" fn OpenStreamOnFile ( lpallocatebuffer : LPALLOCATEBUFFER , lpfreebuffer : LPFREEBUFFER , ulflags : u32 , lpszfilename : *const i8 , lpszprefix : *const i8 , lppstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn OpenStreamOnFile ( lpallocatebuffer : LPALLOCATEBUFFER , lpfreebuffer : LPFREEBUFFER , ulflags : u32 , lpszfilename : *const i8 , lpszprefix : *const i8 , lppstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OpenStreamOnFile(lpallocatebuffer, lpfreebuffer, ulflags, lpszfilename, ::core::mem::transmute(lpszprefix.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -263,14 +263,14 @@ pub unsafe fn OpenStreamOnFile(lpallocatebuffer: LPALLOCATEBUFFER, lpfreebuffer: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn PpropFindProp(lpproparray: *mut SPropValue, cvalues: u32, ulproptag: u32) -> *mut SPropValue { - ::windows::core::link ! ( "mapi32.dll""system" fn PpropFindProp ( lpproparray : *mut SPropValue , cvalues : u32 , ulproptag : u32 ) -> *mut SPropValue ); + ::windows::imp::link ! ( "mapi32.dll""system" fn PpropFindProp ( lpproparray : *mut SPropValue , cvalues : u32 , ulproptag : u32 ) -> *mut SPropValue ); PpropFindProp(lpproparray, cvalues, ulproptag) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn PropCopyMore(lpspropvaluedest: *mut SPropValue, lpspropvaluesrc: *mut SPropValue, lpfallocmore: LPALLOCATEMORE, lpvobject: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn PropCopyMore ( lpspropvaluedest : *mut SPropValue , lpspropvaluesrc : *mut SPropValue , lpfallocmore : LPALLOCATEMORE , lpvobject : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn PropCopyMore ( lpspropvaluedest : *mut SPropValue , lpspropvaluesrc : *mut SPropValue , lpfallocmore : LPALLOCATEMORE , lpvobject : *mut ::core::ffi::c_void ) -> i32 ); PropCopyMore(lpspropvaluedest, lpspropvaluesrc, lpfallocmore, lpvobject) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`*"] @@ -280,54 +280,54 @@ pub unsafe fn RTFSync(lpmessage: P0, ulflags: u32, lpfmessageupdated: *mut s where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn RTFSync ( lpmessage : * mut::core::ffi::c_void , ulflags : u32 , lpfmessageupdated : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn RTFSync ( lpmessage : * mut::core::ffi::c_void , ulflags : u32 , lpfmessageupdated : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); RTFSync(lpmessage.into().abi(), ulflags, lpfmessageupdated).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn ScCopyNotifications(cnotification: i32, lpnotifications: *mut NOTIFICATION, lpvdst: *mut ::core::ffi::c_void, lpcb: *mut u32) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScCopyNotifications ( cnotification : i32 , lpnotifications : *mut NOTIFICATION , lpvdst : *mut ::core::ffi::c_void , lpcb : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScCopyNotifications ( cnotification : i32 , lpnotifications : *mut NOTIFICATION , lpvdst : *mut ::core::ffi::c_void , lpcb : *mut u32 ) -> i32 ); ScCopyNotifications(cnotification, lpnotifications, lpvdst, lpcb) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn ScCopyProps(cvalues: i32, lpproparray: *mut SPropValue, lpvdst: *mut ::core::ffi::c_void, lpcb: *mut u32) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScCopyProps ( cvalues : i32 , lpproparray : *mut SPropValue , lpvdst : *mut ::core::ffi::c_void , lpcb : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScCopyProps ( cvalues : i32 , lpproparray : *mut SPropValue , lpvdst : *mut ::core::ffi::c_void , lpcb : *mut u32 ) -> i32 ); ScCopyProps(cvalues, lpproparray, lpvdst, lpcb) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn ScCountNotifications(cnotifications: i32, lpnotifications: *mut NOTIFICATION, lpcb: *mut u32) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScCountNotifications ( cnotifications : i32 , lpnotifications : *mut NOTIFICATION , lpcb : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScCountNotifications ( cnotifications : i32 , lpnotifications : *mut NOTIFICATION , lpcb : *mut u32 ) -> i32 ); ScCountNotifications(cnotifications, lpnotifications, lpcb) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn ScCountProps(cvalues: i32, lpproparray: *mut SPropValue, lpcb: *mut u32) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScCountProps ( cvalues : i32 , lpproparray : *mut SPropValue , lpcb : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScCountProps ( cvalues : i32 , lpproparray : *mut SPropValue , lpcb : *mut u32 ) -> i32 ); ScCountProps(cvalues, lpproparray, lpcb) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn ScCreateConversationIndex(cbparent: u32, lpbparent: *mut u8, lpcbconvindex: *mut u32, lppbconvindex: *mut *mut u8) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScCreateConversationIndex ( cbparent : u32 , lpbparent : *mut u8 , lpcbconvindex : *mut u32 , lppbconvindex : *mut *mut u8 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScCreateConversationIndex ( cbparent : u32 , lpbparent : *mut u8 , lpcbconvindex : *mut u32 , lppbconvindex : *mut *mut u8 ) -> i32 ); ScCreateConversationIndex(cbparent, lpbparent, lpcbconvindex, lppbconvindex) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn ScDupPropset(cvalues: i32, lpproparray: *mut SPropValue, lpallocatebuffer: LPALLOCATEBUFFER, lppproparray: *mut *mut SPropValue) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScDupPropset ( cvalues : i32 , lpproparray : *mut SPropValue , lpallocatebuffer : LPALLOCATEBUFFER , lppproparray : *mut *mut SPropValue ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScDupPropset ( cvalues : i32 , lpproparray : *mut SPropValue , lpallocatebuffer : LPALLOCATEBUFFER , lppproparray : *mut *mut SPropValue ) -> i32 ); ScDupPropset(cvalues, lpproparray, lpallocatebuffer, lppproparray) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn ScInitMapiUtil(ulflags: u32) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScInitMapiUtil ( ulflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScInitMapiUtil ( ulflags : u32 ) -> i32 ); ScInitMapiUtil(ulflags) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] @@ -336,21 +336,21 @@ pub unsafe fn ScLocalPathFromUNC(lpszunc: P0, lpszlocal: &[u8]) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mapi32.dll""system" fn ScLocalPathFromUNC ( lpszunc : :: windows::core::PCSTR , lpszlocal : :: windows::core::PCSTR , cchlocal : u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScLocalPathFromUNC ( lpszunc : :: windows::core::PCSTR , lpszlocal : :: windows::core::PCSTR , cchlocal : u32 ) -> i32 ); ScLocalPathFromUNC(lpszunc.into().abi(), ::core::mem::transmute(lpszlocal.as_ptr()), lpszlocal.len() as _) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn ScRelocNotifications(cnotification: i32, lpnotifications: *mut NOTIFICATION, lpvbaseold: *mut ::core::ffi::c_void, lpvbasenew: *mut ::core::ffi::c_void, lpcb: *mut u32) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScRelocNotifications ( cnotification : i32 , lpnotifications : *mut NOTIFICATION , lpvbaseold : *mut ::core::ffi::c_void , lpvbasenew : *mut ::core::ffi::c_void , lpcb : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScRelocNotifications ( cnotification : i32 , lpnotifications : *mut NOTIFICATION , lpvbaseold : *mut ::core::ffi::c_void , lpvbasenew : *mut ::core::ffi::c_void , lpcb : *mut u32 ) -> i32 ); ScRelocNotifications(cnotification, lpnotifications, lpvbaseold, lpvbasenew, lpcb) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn ScRelocProps(cvalues: i32, lpproparray: *mut SPropValue, lpvbaseold: *mut ::core::ffi::c_void, lpvbasenew: *mut ::core::ffi::c_void, lpcb: *mut u32) -> i32 { - ::windows::core::link ! ( "mapi32.dll""system" fn ScRelocProps ( cvalues : i32 , lpproparray : *mut SPropValue , lpvbaseold : *mut ::core::ffi::c_void , lpvbasenew : *mut ::core::ffi::c_void , lpcb : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScRelocProps ( cvalues : i32 , lpproparray : *mut SPropValue , lpvbaseold : *mut ::core::ffi::c_void , lpvbasenew : *mut ::core::ffi::c_void , lpcb : *mut u32 ) -> i32 ); ScRelocProps(cvalues, lpproparray, lpvbaseold, lpvbasenew, lpcb) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] @@ -359,50 +359,50 @@ pub unsafe fn ScUNCFromLocalPath(lpszlocal: P0, lpszunc: &[u8]) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mapi32.dll""system" fn ScUNCFromLocalPath ( lpszlocal : :: windows::core::PCSTR , lpszunc : :: windows::core::PCSTR , cchunc : u32 ) -> i32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn ScUNCFromLocalPath ( lpszlocal : :: windows::core::PCSTR , lpszunc : :: windows::core::PCSTR , cchunc : u32 ) -> i32 ); ScUNCFromLocalPath(lpszlocal.into().abi(), ::core::mem::transmute(lpszunc.as_ptr()), lpszunc.len() as _) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn SzFindCh(lpsz: *mut i8, ch: u16) -> *mut i8 { - ::windows::core::link ! ( "mapi32.dll""system" fn SzFindCh ( lpsz : *mut i8 , ch : u16 ) -> *mut i8 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn SzFindCh ( lpsz : *mut i8 , ch : u16 ) -> *mut i8 ); SzFindCh(lpsz, ch) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn SzFindLastCh(lpsz: *mut i8, ch: u16) -> *mut i8 { - ::windows::core::link ! ( "mapi32.dll""system" fn SzFindLastCh ( lpsz : *mut i8 , ch : u16 ) -> *mut i8 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn SzFindLastCh ( lpsz : *mut i8 , ch : u16 ) -> *mut i8 ); SzFindLastCh(lpsz, ch) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn SzFindSz(lpsz: *mut i8, lpszkey: *mut i8) -> *mut i8 { - ::windows::core::link ! ( "mapi32.dll""system" fn SzFindSz ( lpsz : *mut i8 , lpszkey : *mut i8 ) -> *mut i8 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn SzFindSz ( lpsz : *mut i8 , lpszkey : *mut i8 ) -> *mut i8 ); SzFindSz(lpsz, lpszkey) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn UFromSz(lpsz: *mut i8) -> u32 { - ::windows::core::link ! ( "mapi32.dll""system" fn UFromSz ( lpsz : *mut i8 ) -> u32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn UFromSz ( lpsz : *mut i8 ) -> u32 ); UFromSz(lpsz) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn UlAddRef(lpunk: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mapi32.dll""system" fn UlAddRef ( lpunk : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn UlAddRef ( lpunk : *mut ::core::ffi::c_void ) -> u32 ); UlAddRef(lpunk) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn UlPropSize(lpspropvalue: *mut SPropValue) -> u32 { - ::windows::core::link ! ( "mapi32.dll""system" fn UlPropSize ( lpspropvalue : *mut SPropValue ) -> u32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn UlPropSize ( lpspropvalue : *mut SPropValue ) -> u32 ); UlPropSize(lpspropvalue) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn UlRelease(lpunk: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mapi32.dll""system" fn UlRelease ( lpunk : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn UlRelease ( lpunk : *mut ::core::ffi::c_void ) -> u32 ); UlRelease(lpunk) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`*"] @@ -412,14 +412,14 @@ pub unsafe fn WrapCompressedRTFStream(lpcompressedrtfstream: P0, ulflags: u3 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "mapi32.dll""system" fn WrapCompressedRTFStream ( lpcompressedrtfstream : * mut::core::ffi::c_void , ulflags : u32 , lpuncompressedrtfstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn WrapCompressedRTFStream ( lpcompressedrtfstream : * mut::core::ffi::c_void , ulflags : u32 , lpuncompressedrtfstream : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WrapCompressedRTFStream(lpcompressedrtfstream.into().abi(), ulflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[inline] pub unsafe fn WrapStoreEntryID(ulflags: u32, lpszdllname: *const i8, cborigentry: u32, lporigentry: *const ENTRYID, lpcbwrappedentry: *mut u32, lppwrappedentry: *mut *mut ENTRYID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mapi32.dll""system" fn WrapStoreEntryID ( ulflags : u32 , lpszdllname : *const i8 , cborigentry : u32 , lporigentry : *const ENTRYID , lpcbwrappedentry : *mut u32 , lppwrappedentry : *mut *mut ENTRYID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mapi32.dll""system" fn WrapStoreEntryID ( ulflags : u32 , lpszdllname : *const i8 , cborigentry : u32 , lporigentry : *const ENTRYID , lpcbwrappedentry : *mut u32 , lppwrappedentry : *mut *mut ENTRYID ) -> :: windows::core::HRESULT ); WrapStoreEntryID(ulflags, lpszdllname, cborigentry, lporigentry, lpcbwrappedentry, lppwrappedentry).ok() } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] @@ -510,7 +510,7 @@ impl IABContainer { (::windows::core::Vtable::vtable(self).ResolveNames)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(lpproptagarray.unwrap_or(::std::ptr::null())), ulflags, lpadrlist, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IABContainer, ::windows::core::IUnknown, IMAPIProp, IMAPIContainer); +::windows::imp::interface_hierarchy!(IABContainer, ::windows::core::IUnknown, IMAPIProp, IMAPIContainer); impl ::core::cmp::PartialEq for IABContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -664,7 +664,7 @@ impl IAddrBook { (::windows::core::Vtable::vtable(self).PrepareRecips)(::windows::core::Vtable::as_raw(self), ulflags, lpproptagarray, lpreciplist).ok() } } -::windows::core::interface_hierarchy!(IAddrBook, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IAddrBook, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IAddrBook { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -779,7 +779,7 @@ impl IAttach { (::windows::core::Vtable::vtable(self).base__.GetIDsFromNames)(::windows::core::Vtable::as_raw(self), cpropnames, lpppropnames, ulflags, lppproptags).ok() } } -::windows::core::interface_hierarchy!(IAttach, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IAttach, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IAttach { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -895,7 +895,7 @@ impl IDistList { (::windows::core::Vtable::vtable(self).ResolveNames)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(lpproptagarray.unwrap_or(::std::ptr::null())), ulflags, lpadrlist, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDistList, ::windows::core::IUnknown, IMAPIProp, IMAPIContainer); +::windows::imp::interface_hierarchy!(IDistList, ::windows::core::IUnknown, IMAPIProp, IMAPIContainer); impl ::core::cmp::PartialEq for IDistList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -940,7 +940,7 @@ impl IMAPIAdviseSink { (::windows::core::Vtable::vtable(self).OnNotify)(::windows::core::Vtable::as_raw(self), cnotif, lpnotifications) } } -::windows::core::interface_hierarchy!(IMAPIAdviseSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMAPIAdviseSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMAPIAdviseSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1041,7 +1041,7 @@ impl IMAPIContainer { (::windows::core::Vtable::vtable(self).GetSearchCriteria)(::windows::core::Vtable::as_raw(self), ulflags, lpprestriction, lppcontainerlist, ::core::mem::transmute(lpulsearchstate.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMAPIContainer, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IMAPIContainer, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IMAPIContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1095,7 +1095,7 @@ impl IMAPIControl { (::windows::core::Vtable::vtable(self).GetState)(::windows::core::Vtable::as_raw(self), ulflags, lpulstate).ok() } } -::windows::core::interface_hierarchy!(IMAPIControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMAPIControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMAPIControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1249,7 +1249,7 @@ impl IMAPIFolder { (::windows::core::Vtable::vtable(self).EmptyFolder)(::windows::core::Vtable::as_raw(self), uluiparam, lpprogress.into().abi(), ulflags).ok() } } -::windows::core::interface_hierarchy!(IMAPIFolder, ::windows::core::IUnknown, IMAPIProp, IMAPIContainer); +::windows::imp::interface_hierarchy!(IMAPIFolder, ::windows::core::IUnknown, IMAPIProp, IMAPIContainer); impl ::core::cmp::PartialEq for IMAPIFolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1308,7 +1308,7 @@ impl IMAPIProgress { (::windows::core::Vtable::vtable(self).SetLimits)(::windows::core::Vtable::as_raw(self), lpulmin, lpulmax, lpulflags).ok() } } -::windows::core::interface_hierarchy!(IMAPIProgress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMAPIProgress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMAPIProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1389,7 +1389,7 @@ impl IMAPIProp { (::windows::core::Vtable::vtable(self).GetIDsFromNames)(::windows::core::Vtable::as_raw(self), cpropnames, lpppropnames, ulflags, lppproptags).ok() } } -::windows::core::interface_hierarchy!(IMAPIProp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMAPIProp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMAPIProp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1494,7 +1494,7 @@ impl IMAPIStatus { (::windows::core::Vtable::vtable(self).FlushQueues)(::windows::core::Vtable::as_raw(self), uluiparam, lptargettransport.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lptargettransport.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ulflags).ok() } } -::windows::core::interface_hierarchy!(IMAPIStatus, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IMAPIStatus, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IMAPIStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1611,7 +1611,7 @@ impl IMAPITable { (::windows::core::Vtable::vtable(self).SetCollapseState)(::windows::core::Vtable::as_raw(self), ulflags, cbcollapsestate, pbcollapsestate, lpbklocation).ok() } } -::windows::core::interface_hierarchy!(IMAPITable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMAPITable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMAPITable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1722,7 +1722,7 @@ impl IMailUser { (::windows::core::Vtable::vtable(self).base__.GetIDsFromNames)(::windows::core::Vtable::as_raw(self), cpropnames, lpppropnames, ulflags, lppproptags).ok() } } -::windows::core::interface_hierarchy!(IMailUser, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IMailUser, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IMailUser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1830,7 +1830,7 @@ impl IMessage { (::windows::core::Vtable::vtable(self).SetReadFlag)(::windows::core::Vtable::as_raw(self), ulflags).ok() } } -::windows::core::interface_hierarchy!(IMessage, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IMessage, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IMessage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1968,7 +1968,7 @@ impl IMsgStore { (::windows::core::Vtable::vtable(self).NotifyNewMail)(::windows::core::Vtable::as_raw(self), lpnotification).ok() } } -::windows::core::interface_hierarchy!(IMsgStore, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IMsgStore, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IMsgStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2060,7 +2060,7 @@ impl IProfSect { (::windows::core::Vtable::vtable(self).base__.GetIDsFromNames)(::windows::core::Vtable::as_raw(self), cpropnames, lpppropnames, ulflags, lppproptags).ok() } } -::windows::core::interface_hierarchy!(IProfSect, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IProfSect, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IProfSect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2148,7 +2148,7 @@ impl IPropData { (::windows::core::Vtable::vtable(self).HrAddObjProps)(::windows::core::Vtable::as_raw(self), lppproptagarray, lprgulaccess).ok() } } -::windows::core::interface_hierarchy!(IPropData, ::windows::core::IUnknown, IMAPIProp); +::windows::imp::interface_hierarchy!(IPropData, ::windows::core::IUnknown, IMAPIProp); impl ::core::cmp::PartialEq for IPropData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2206,7 +2206,7 @@ impl IProviderAdmin { (::windows::core::Vtable::vtable(self).OpenProfileSection)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(lpuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpinterface.unwrap_or(::std::ptr::null())), ulflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProviderAdmin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProviderAdmin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProviderAdmin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2290,7 +2290,7 @@ impl ITableData { (::windows::core::Vtable::vtable(self).HrDeleteRows)(::windows::core::Vtable::as_raw(self), ulflags, lprowsettodelete, crowsdeleted).ok() } } -::windows::core::interface_hierarchy!(ITableData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITableData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITableData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2361,7 +2361,7 @@ impl IWABExtInit { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), lpwabextdisplay).ok() } } -::windows::core::interface_hierarchy!(IWABExtInit, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWABExtInit, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWABExtInit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2486,7 +2486,7 @@ impl IWABObject { (::windows::core::Vtable::vtable(self).SetMe)(::windows::core::Vtable::as_raw(self), lpiab.into().abi(), ulflags, ::core::mem::transmute(sbeid), hwnd.into()).ok() } } -::windows::core::interface_hierarchy!(IWABObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWABObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWABObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs index 4b433a069b..01e423f7df 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs @@ -5,7 +5,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "amsi.dll""system" fn AmsiCloseSession ( amsicontext : HAMSICONTEXT , amsisession : HAMSISESSION ) -> ( ) ); + ::windows::imp::link ! ( "amsi.dll""system" fn AmsiCloseSession ( amsicontext : HAMSICONTEXT , amsisession : HAMSISESSION ) -> ( ) ); AmsiCloseSession(amsicontext.into(), amsisession.into()) } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] @@ -14,7 +14,7 @@ pub unsafe fn AmsiInitialize(appname: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "amsi.dll""system" fn AmsiInitialize ( appname : :: windows::core::PCWSTR , amsicontext : *mut HAMSICONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "amsi.dll""system" fn AmsiInitialize ( appname : :: windows::core::PCWSTR , amsicontext : *mut HAMSICONTEXT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AmsiInitialize(appname.into().abi(), &mut result__).from_abi(result__) } @@ -25,7 +25,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "amsi.dll""system" fn AmsiNotifyOperation ( amsicontext : HAMSICONTEXT , buffer : *const ::core::ffi::c_void , length : u32 , contentname : :: windows::core::PCWSTR , result : *mut AMSI_RESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "amsi.dll""system" fn AmsiNotifyOperation ( amsicontext : HAMSICONTEXT , buffer : *const ::core::ffi::c_void , length : u32 , contentname : :: windows::core::PCWSTR , result : *mut AMSI_RESULT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AmsiNotifyOperation(amsicontext.into(), buffer, length, contentname.into().abi(), &mut result__).from_abi(result__) } @@ -35,7 +35,7 @@ pub unsafe fn AmsiOpenSession(amsicontext: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "amsi.dll""system" fn AmsiOpenSession ( amsicontext : HAMSICONTEXT , amsisession : *mut HAMSISESSION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "amsi.dll""system" fn AmsiOpenSession ( amsicontext : HAMSICONTEXT , amsisession : *mut HAMSISESSION ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AmsiOpenSession(amsicontext.into(), &mut result__).from_abi(result__) } @@ -47,7 +47,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "amsi.dll""system" fn AmsiScanBuffer ( amsicontext : HAMSICONTEXT , buffer : *const ::core::ffi::c_void , length : u32 , contentname : :: windows::core::PCWSTR , amsisession : HAMSISESSION , result : *mut AMSI_RESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "amsi.dll""system" fn AmsiScanBuffer ( amsicontext : HAMSICONTEXT , buffer : *const ::core::ffi::c_void , length : u32 , contentname : :: windows::core::PCWSTR , amsisession : HAMSISESSION , result : *mut AMSI_RESULT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AmsiScanBuffer(amsicontext.into(), buffer, length, contentname.into().abi(), amsisession.into(), &mut result__).from_abi(result__) } @@ -60,7 +60,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "amsi.dll""system" fn AmsiScanString ( amsicontext : HAMSICONTEXT , string : :: windows::core::PCWSTR , contentname : :: windows::core::PCWSTR , amsisession : HAMSISESSION , result : *mut AMSI_RESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "amsi.dll""system" fn AmsiScanString ( amsicontext : HAMSICONTEXT , string : :: windows::core::PCWSTR , contentname : :: windows::core::PCWSTR , amsisession : HAMSISESSION , result : *mut AMSI_RESULT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AmsiScanString(amsicontext.into(), string.into().abi(), contentname.into().abi(), amsisession.into(), &mut result__).from_abi(result__) } @@ -70,7 +70,7 @@ pub unsafe fn AmsiUninitialize(amsicontext: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "amsi.dll""system" fn AmsiUninitialize ( amsicontext : HAMSICONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "amsi.dll""system" fn AmsiUninitialize ( amsicontext : HAMSICONTEXT ) -> ( ) ); AmsiUninitialize(amsicontext.into()) } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"Win32_Foundation\"`*"] @@ -80,7 +80,7 @@ pub unsafe fn InstallELAMCertificateInfo(elamfile: P0) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn InstallELAMCertificateInfo ( elamfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InstallELAMCertificateInfo ( elamfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); InstallELAMCertificateInfo(elamfile.into()) } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] @@ -94,7 +94,7 @@ impl IAmsiStream { (::windows::core::Vtable::vtable(self).Read)(::windows::core::Vtable::as_raw(self), position, buffer.len() as _, ::core::mem::transmute(buffer.as_ptr()), readsize).ok() } } -::windows::core::interface_hierarchy!(IAmsiStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAmsiStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAmsiStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -138,7 +138,7 @@ impl IAntimalware { (::windows::core::Vtable::vtable(self).CloseSession)(::windows::core::Vtable::as_raw(self), session) } } -::windows::core::interface_hierarchy!(IAntimalware, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAntimalware, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAntimalware { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -190,7 +190,7 @@ impl IAntimalware2 { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), buffer, length, contentname.into().abi(), appname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAntimalware2, ::windows::core::IUnknown, IAntimalware); +::windows::imp::interface_hierarchy!(IAntimalware2, ::windows::core::IUnknown, IAntimalware); impl ::core::cmp::PartialEq for IAntimalware2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -238,7 +238,7 @@ impl IAntimalwareProvider { (::windows::core::Vtable::vtable(self).DisplayName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAntimalwareProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAntimalwareProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAntimalwareProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -296,7 +296,7 @@ impl IAntimalwareProvider2 { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), buffer, length, contentname.into().abi(), appname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAntimalwareProvider2, ::windows::core::IUnknown, IAntimalwareProvider); +::windows::imp::interface_hierarchy!(IAntimalwareProvider2, ::windows::core::IUnknown, IAntimalwareProvider); impl ::core::cmp::PartialEq for IAntimalwareProvider2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -340,7 +340,7 @@ impl IAntimalwareUacProvider { (::windows::core::Vtable::vtable(self).DisplayName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAntimalwareUacProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAntimalwareUacProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAntimalwareUacProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs index 2394f89e63..d1d46524d9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn ActivateActCtx(hactctx: P0, lpcookie: *mut usize) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ActivateActCtx ( hactctx : super::super::Foundation:: HANDLE , lpcookie : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ActivateActCtx ( hactctx : super::super::Foundation:: HANDLE , lpcookie : *mut usize ) -> super::super::Foundation:: BOOL ); ActivateActCtx(hactctx.into(), lpcookie) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn AddRefActCtx(hactctx: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddRefActCtx ( hactctx : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddRefActCtx ( hactctx : super::super::Foundation:: HANDLE ) -> ( ) ); AddRefActCtx(hactctx.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -27,28 +27,28 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msdelta.dll""system" fn ApplyDeltaA ( applyflags : i64 , lpsourcename : :: windows::core::PCSTR , lpdeltaname : :: windows::core::PCSTR , lptargetname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn ApplyDeltaA ( applyflags : i64 , lpsourcename : :: windows::core::PCSTR , lpdeltaname : :: windows::core::PCSTR , lptargetname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); ApplyDeltaA(applyflags, lpsourcename.into().abi(), lpdeltaname.into().abi(), lptargetname.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ApplyDeltaB(applyflags: i64, source: DELTA_INPUT, delta: DELTA_INPUT, lptarget: *mut DELTA_OUTPUT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msdelta.dll""system" fn ApplyDeltaB ( applyflags : i64 , source : DELTA_INPUT , delta : DELTA_INPUT , lptarget : *mut DELTA_OUTPUT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn ApplyDeltaB ( applyflags : i64 , source : DELTA_INPUT , delta : DELTA_INPUT , lptarget : *mut DELTA_OUTPUT ) -> super::super::Foundation:: BOOL ); ApplyDeltaB(applyflags, ::core::mem::transmute(source), ::core::mem::transmute(delta), lptarget) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ApplyDeltaGetReverseB(applyflags: i64, source: DELTA_INPUT, delta: DELTA_INPUT, lpreversefiletime: ::core::option::Option<*const super::super::Foundation::FILETIME>, lptarget: *mut DELTA_OUTPUT, lptargetreverse: *mut DELTA_OUTPUT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msdelta.dll""system" fn ApplyDeltaGetReverseB ( applyflags : i64 , source : DELTA_INPUT , delta : DELTA_INPUT , lpreversefiletime : *const super::super::Foundation:: FILETIME , lptarget : *mut DELTA_OUTPUT , lptargetreverse : *mut DELTA_OUTPUT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn ApplyDeltaGetReverseB ( applyflags : i64 , source : DELTA_INPUT , delta : DELTA_INPUT , lpreversefiletime : *const super::super::Foundation:: FILETIME , lptarget : *mut DELTA_OUTPUT , lptargetreverse : *mut DELTA_OUTPUT ) -> super::super::Foundation:: BOOL ); ApplyDeltaGetReverseB(applyflags, ::core::mem::transmute(source), ::core::mem::transmute(delta), ::core::mem::transmute(lpreversefiletime.unwrap_or(::std::ptr::null())), lptarget, lptargetreverse) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ApplyDeltaProvidedB(applyflags: i64, source: DELTA_INPUT, delta: DELTA_INPUT, lptarget: *mut ::core::ffi::c_void, utargetsize: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msdelta.dll""system" fn ApplyDeltaProvidedB ( applyflags : i64 , source : DELTA_INPUT , delta : DELTA_INPUT , lptarget : *mut ::core::ffi::c_void , utargetsize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn ApplyDeltaProvidedB ( applyflags : i64 , source : DELTA_INPUT , delta : DELTA_INPUT , lptarget : *mut ::core::ffi::c_void , utargetsize : usize ) -> super::super::Foundation:: BOOL ); ApplyDeltaProvidedB(applyflags, ::core::mem::transmute(source), ::core::mem::transmute(delta), lptarget, utargetsize) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -60,7 +60,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdelta.dll""system" fn ApplyDeltaW ( applyflags : i64 , lpsourcename : :: windows::core::PCWSTR , lpdeltaname : :: windows::core::PCWSTR , lptargetname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn ApplyDeltaW ( applyflags : i64 , lpsourcename : :: windows::core::PCWSTR , lpdeltaname : :: windows::core::PCWSTR , lptargetname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ApplyDeltaW(applyflags, lpsourcename.into().abi(), lpdeltaname.into().abi(), lptargetname.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -72,14 +72,14 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileA ( patchfilename : :: windows::core::PCSTR , oldfilename : :: windows::core::PCSTR , newfilename : :: windows::core::PCSTR , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileA ( patchfilename : :: windows::core::PCSTR , oldfilename : :: windows::core::PCSTR , newfilename : :: windows::core::PCSTR , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); ApplyPatchToFileA(patchfilename.into().abi(), oldfilename.into().abi(), newfilename.into().abi(), applyoptionflags) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ApplyPatchToFileByBuffers(patchfilemapped: &[u8], oldfilemapped: ::core::option::Option<&[u8]>, newfilebuffer: &mut [u8], newfileactualsize: ::core::option::Option<*mut u32>, newfiletime: ::core::option::Option<*mut super::super::Foundation::FILETIME>, applyoptionflags: u32, progresscallback: PPATCH_PROGRESS_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileByBuffers ( patchfilemapped : *const u8 , patchfilesize : u32 , oldfilemapped : *const u8 , oldfilesize : u32 , newfilebuffer : *mut *mut u8 , newfilebuffersize : u32 , newfileactualsize : *mut u32 , newfiletime : *mut super::super::Foundation:: FILETIME , applyoptionflags : u32 , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileByBuffers ( patchfilemapped : *const u8 , patchfilesize : u32 , oldfilemapped : *const u8 , oldfilesize : u32 , newfilebuffer : *mut *mut u8 , newfilebuffersize : u32 , newfileactualsize : *mut u32 , newfiletime : *mut super::super::Foundation:: FILETIME , applyoptionflags : u32 , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ApplyPatchToFileByBuffers( ::core::mem::transmute(patchfilemapped.as_ptr()), patchfilemapped.len() as _, @@ -103,7 +103,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileByHandles ( patchfilehandle : super::super::Foundation:: HANDLE , oldfilehandle : super::super::Foundation:: HANDLE , newfilehandle : super::super::Foundation:: HANDLE , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileByHandles ( patchfilehandle : super::super::Foundation:: HANDLE , oldfilehandle : super::super::Foundation:: HANDLE , newfilehandle : super::super::Foundation:: HANDLE , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); ApplyPatchToFileByHandles(patchfilehandle.into(), oldfilehandle.into(), newfilehandle.into(), applyoptionflags) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -115,7 +115,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileByHandlesEx ( patchfilehandle : super::super::Foundation:: HANDLE , oldfilehandle : super::super::Foundation:: HANDLE , newfilehandle : super::super::Foundation:: HANDLE , applyoptionflags : u32 , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileByHandlesEx ( patchfilehandle : super::super::Foundation:: HANDLE , oldfilehandle : super::super::Foundation:: HANDLE , newfilehandle : super::super::Foundation:: HANDLE , applyoptionflags : u32 , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ApplyPatchToFileByHandlesEx(patchfilehandle.into(), oldfilehandle.into(), newfilehandle.into(), applyoptionflags, progresscallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -127,7 +127,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileExA ( patchfilename : :: windows::core::PCSTR , oldfilename : :: windows::core::PCSTR , newfilename : :: windows::core::PCSTR , applyoptionflags : u32 , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileExA ( patchfilename : :: windows::core::PCSTR , oldfilename : :: windows::core::PCSTR , newfilename : :: windows::core::PCSTR , applyoptionflags : u32 , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ApplyPatchToFileExA(patchfilename.into().abi(), oldfilename.into().abi(), newfilename.into().abi(), applyoptionflags, progresscallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -139,7 +139,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileExW ( patchfilename : :: windows::core::PCWSTR , oldfilename : :: windows::core::PCWSTR , newfilename : :: windows::core::PCWSTR , applyoptionflags : u32 , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileExW ( patchfilename : :: windows::core::PCWSTR , oldfilename : :: windows::core::PCWSTR , newfilename : :: windows::core::PCWSTR , applyoptionflags : u32 , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ApplyPatchToFileExW(patchfilename.into().abi(), oldfilename.into().abi(), newfilename.into().abi(), applyoptionflags, progresscallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -151,24 +151,24 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileW ( patchfilename : :: windows::core::PCWSTR , oldfilename : :: windows::core::PCWSTR , newfilename : :: windows::core::PCWSTR , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn ApplyPatchToFileW ( patchfilename : :: windows::core::PCWSTR , oldfilename : :: windows::core::PCWSTR , newfilename : :: windows::core::PCWSTR , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); ApplyPatchToFileW(patchfilename.into().abi(), oldfilename.into().abi(), newfilename.into().abi(), applyoptionflags) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateActCtxA(pactctx: *const ACTCTXA) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateActCtxA ( pactctx : *const ACTCTXA ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateActCtxA ( pactctx : *const ACTCTXA ) -> super::super::Foundation:: HANDLE ); let result__ = CreateActCtxA(pactctx); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateActCtxW(pactctx: *const ACTCTXW) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateActCtxW ( pactctx : *const ACTCTXW ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateActCtxW ( pactctx : *const ACTCTXW ) -> super::super::Foundation:: HANDLE ); let result__ = CreateActCtxW(pactctx); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -181,14 +181,14 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msdelta.dll""system" fn CreateDeltaA ( filetypeset : i64 , setflags : i64 , resetflags : i64 , lpsourcename : :: windows::core::PCSTR , lptargetname : :: windows::core::PCSTR , lpsourceoptionsname : :: windows::core::PCSTR , lptargetoptionsname : :: windows::core::PCSTR , globaloptions : DELTA_INPUT , lptargetfiletime : *const super::super::Foundation:: FILETIME , hashalgid : u32 , lpdeltaname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn CreateDeltaA ( filetypeset : i64 , setflags : i64 , resetflags : i64 , lpsourcename : :: windows::core::PCSTR , lptargetname : :: windows::core::PCSTR , lpsourceoptionsname : :: windows::core::PCSTR , lptargetoptionsname : :: windows::core::PCSTR , globaloptions : DELTA_INPUT , lptargetfiletime : *const super::super::Foundation:: FILETIME , hashalgid : u32 , lpdeltaname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); CreateDeltaA(filetypeset, setflags, resetflags, lpsourcename.into().abi(), lptargetname.into().abi(), lpsourceoptionsname.into().abi(), lptargetoptionsname.into().abi(), ::core::mem::transmute(globaloptions), ::core::mem::transmute(lptargetfiletime.unwrap_or(::std::ptr::null())), hashalgid, lpdeltaname.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateDeltaB(filetypeset: i64, setflags: i64, resetflags: i64, source: DELTA_INPUT, target: DELTA_INPUT, sourceoptions: DELTA_INPUT, targetoptions: DELTA_INPUT, globaloptions: DELTA_INPUT, lptargetfiletime: ::core::option::Option<*const super::super::Foundation::FILETIME>, hashalgid: u32, lpdelta: *mut DELTA_OUTPUT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msdelta.dll""system" fn CreateDeltaB ( filetypeset : i64 , setflags : i64 , resetflags : i64 , source : DELTA_INPUT , target : DELTA_INPUT , sourceoptions : DELTA_INPUT , targetoptions : DELTA_INPUT , globaloptions : DELTA_INPUT , lptargetfiletime : *const super::super::Foundation:: FILETIME , hashalgid : u32 , lpdelta : *mut DELTA_OUTPUT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn CreateDeltaB ( filetypeset : i64 , setflags : i64 , resetflags : i64 , source : DELTA_INPUT , target : DELTA_INPUT , sourceoptions : DELTA_INPUT , targetoptions : DELTA_INPUT , globaloptions : DELTA_INPUT , lptargetfiletime : *const super::super::Foundation:: FILETIME , hashalgid : u32 , lpdelta : *mut DELTA_OUTPUT ) -> super::super::Foundation:: BOOL ); CreateDeltaB(filetypeset, setflags, resetflags, ::core::mem::transmute(source), ::core::mem::transmute(target), ::core::mem::transmute(sourceoptions), ::core::mem::transmute(targetoptions), ::core::mem::transmute(globaloptions), ::core::mem::transmute(lptargetfiletime.unwrap_or(::std::ptr::null())), hashalgid, lpdelta) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -202,7 +202,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdelta.dll""system" fn CreateDeltaW ( filetypeset : i64 , setflags : i64 , resetflags : i64 , lpsourcename : :: windows::core::PCWSTR , lptargetname : :: windows::core::PCWSTR , lpsourceoptionsname : :: windows::core::PCWSTR , lptargetoptionsname : :: windows::core::PCWSTR , globaloptions : DELTA_INPUT , lptargetfiletime : *const super::super::Foundation:: FILETIME , hashalgid : u32 , lpdeltaname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn CreateDeltaW ( filetypeset : i64 , setflags : i64 , resetflags : i64 , lpsourcename : :: windows::core::PCWSTR , lptargetname : :: windows::core::PCWSTR , lpsourceoptionsname : :: windows::core::PCWSTR , lptargetoptionsname : :: windows::core::PCWSTR , globaloptions : DELTA_INPUT , lptargetfiletime : *const super::super::Foundation:: FILETIME , hashalgid : u32 , lpdeltaname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); CreateDeltaW(filetypeset, setflags, resetflags, lpsourcename.into().abi(), lptargetname.into().abi(), lpsourceoptionsname.into().abi(), lptargetoptionsname.into().abi(), ::core::mem::transmute(globaloptions), ::core::mem::transmute(lptargetfiletime.unwrap_or(::std::ptr::null())), hashalgid, lpdeltaname.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -214,7 +214,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mspatchc.dll""system" fn CreatePatchFileA ( oldfilename : :: windows::core::PCSTR , newfilename : :: windows::core::PCSTR , patchfilename : :: windows::core::PCSTR , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn CreatePatchFileA ( oldfilename : :: windows::core::PCSTR , newfilename : :: windows::core::PCSTR , patchfilename : :: windows::core::PCSTR , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA ) -> super::super::Foundation:: BOOL ); CreatePatchFileA(oldfilename.into().abi(), newfilename.into().abi(), patchfilename.into().abi(), optionflags, ::core::mem::transmute(optiondata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -226,7 +226,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mspatchc.dll""system" fn CreatePatchFileByHandles ( oldfilehandle : super::super::Foundation:: HANDLE , newfilehandle : super::super::Foundation:: HANDLE , patchfilehandle : super::super::Foundation:: HANDLE , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn CreatePatchFileByHandles ( oldfilehandle : super::super::Foundation:: HANDLE , newfilehandle : super::super::Foundation:: HANDLE , patchfilehandle : super::super::Foundation:: HANDLE , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA ) -> super::super::Foundation:: BOOL ); CreatePatchFileByHandles(oldfilehandle.into(), newfilehandle.into(), patchfilehandle.into(), optionflags, ::core::mem::transmute(optiondata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -237,7 +237,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mspatchc.dll""system" fn CreatePatchFileByHandlesEx ( oldfilecount : u32 , oldfileinfoarray : *const PATCH_OLD_FILE_INFO_H , newfilehandle : super::super::Foundation:: HANDLE , patchfilehandle : super::super::Foundation:: HANDLE , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn CreatePatchFileByHandlesEx ( oldfilecount : u32 , oldfileinfoarray : *const PATCH_OLD_FILE_INFO_H , newfilehandle : super::super::Foundation:: HANDLE , patchfilehandle : super::super::Foundation:: HANDLE , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CreatePatchFileByHandlesEx(oldfileinfoarray.len() as _, ::core::mem::transmute(oldfileinfoarray.as_ptr()), newfilehandle.into(), patchfilehandle.into(), optionflags, ::core::mem::transmute(optiondata.unwrap_or(::std::ptr::null())), progresscallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -248,7 +248,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mspatchc.dll""system" fn CreatePatchFileExA ( oldfilecount : u32 , oldfileinfoarray : *const PATCH_OLD_FILE_INFO_A , newfilename : :: windows::core::PCSTR , patchfilename : :: windows::core::PCSTR , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn CreatePatchFileExA ( oldfilecount : u32 , oldfileinfoarray : *const PATCH_OLD_FILE_INFO_A , newfilename : :: windows::core::PCSTR , patchfilename : :: windows::core::PCSTR , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CreatePatchFileExA(oldfileinfoarray.len() as _, ::core::mem::transmute(oldfileinfoarray.as_ptr()), newfilename.into().abi(), patchfilename.into().abi(), optionflags, ::core::mem::transmute(optiondata.unwrap_or(::std::ptr::null())), progresscallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -259,7 +259,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mspatchc.dll""system" fn CreatePatchFileExW ( oldfilecount : u32 , oldfileinfoarray : *const PATCH_OLD_FILE_INFO_W , newfilename : :: windows::core::PCWSTR , patchfilename : :: windows::core::PCWSTR , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn CreatePatchFileExW ( oldfilecount : u32 , oldfileinfoarray : *const PATCH_OLD_FILE_INFO_W , newfilename : :: windows::core::PCWSTR , patchfilename : :: windows::core::PCWSTR , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA , progresscallback : PPATCH_PROGRESS_CALLBACK , callbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CreatePatchFileExW(oldfileinfoarray.len() as _, ::core::mem::transmute(oldfileinfoarray.as_ptr()), newfilename.into().abi(), patchfilename.into().abi(), optionflags, ::core::mem::transmute(optiondata.unwrap_or(::std::ptr::null())), progresscallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -271,28 +271,28 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mspatchc.dll""system" fn CreatePatchFileW ( oldfilename : :: windows::core::PCWSTR , newfilename : :: windows::core::PCWSTR , patchfilename : :: windows::core::PCWSTR , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn CreatePatchFileW ( oldfilename : :: windows::core::PCWSTR , newfilename : :: windows::core::PCWSTR , patchfilename : :: windows::core::PCWSTR , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA ) -> super::super::Foundation:: BOOL ); CreatePatchFileW(oldfilename.into().abi(), newfilename.into().abi(), patchfilename.into().abi(), optionflags, ::core::mem::transmute(optiondata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeactivateActCtx(dwflags: u32, ulcookie: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn DeactivateActCtx ( dwflags : u32 , ulcookie : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeactivateActCtx ( dwflags : u32 , ulcookie : usize ) -> super::super::Foundation:: BOOL ); DeactivateActCtx(dwflags, ulcookie) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeltaFree(lpmemory: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msdelta.dll""system" fn DeltaFree ( lpmemory : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn DeltaFree ( lpmemory : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DeltaFree(lpmemory) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeltaNormalizeProvidedB(filetypeset: i64, normalizeflags: i64, normalizeoptions: DELTA_INPUT, lpsource: *mut ::core::ffi::c_void, usourcesize: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msdelta.dll""system" fn DeltaNormalizeProvidedB ( filetypeset : i64 , normalizeflags : i64 , normalizeoptions : DELTA_INPUT , lpsource : *mut ::core::ffi::c_void , usourcesize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn DeltaNormalizeProvidedB ( filetypeset : i64 , normalizeflags : i64 , normalizeoptions : DELTA_INPUT , lpsource : *mut ::core::ffi::c_void , usourcesize : usize ) -> super::super::Foundation:: BOOL ); DeltaNormalizeProvidedB(filetypeset, normalizeflags, ::core::mem::transmute(normalizeoptions), lpsource, usourcesize) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -303,7 +303,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mspatchc.dll""system" fn ExtractPatchHeaderToFileA ( patchfilename : :: windows::core::PCSTR , patchheaderfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn ExtractPatchHeaderToFileA ( patchfilename : :: windows::core::PCSTR , patchheaderfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); ExtractPatchHeaderToFileA(patchfilename.into().abi(), patchheaderfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -314,7 +314,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mspatchc.dll""system" fn ExtractPatchHeaderToFileByHandles ( patchfilehandle : super::super::Foundation:: HANDLE , patchheaderfilehandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn ExtractPatchHeaderToFileByHandles ( patchfilehandle : super::super::Foundation:: HANDLE , patchheaderfilehandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ExtractPatchHeaderToFileByHandles(patchfilehandle.into(), patchheaderfilehandle.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -325,14 +325,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mspatchc.dll""system" fn ExtractPatchHeaderToFileW ( patchfilename : :: windows::core::PCWSTR , patchheaderfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatchc.dll""system" fn ExtractPatchHeaderToFileW ( patchfilename : :: windows::core::PCWSTR , patchheaderfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ExtractPatchHeaderToFileW(patchfilename.into().abi(), patchheaderfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] pub unsafe fn FindActCtxSectionGuid(dwflags: u32, lpextensionguid: ::core::option::Option<*const ::windows::core::GUID>, ulsectionid: u32, lpguidtofind: ::core::option::Option<*const ::windows::core::GUID>, returneddata: *mut ACTCTX_SECTION_KEYED_DATA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FindActCtxSectionGuid ( dwflags : u32 , lpextensionguid : *const :: windows::core::GUID , ulsectionid : u32 , lpguidtofind : *const :: windows::core::GUID , returneddata : *mut ACTCTX_SECTION_KEYED_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindActCtxSectionGuid ( dwflags : u32 , lpextensionguid : *const :: windows::core::GUID , ulsectionid : u32 , lpguidtofind : *const :: windows::core::GUID , returneddata : *mut ACTCTX_SECTION_KEYED_DATA ) -> super::super::Foundation:: BOOL ); FindActCtxSectionGuid(dwflags, ::core::mem::transmute(lpextensionguid.unwrap_or(::std::ptr::null())), ulsectionid, ::core::mem::transmute(lpguidtofind.unwrap_or(::std::ptr::null())), returneddata) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -342,7 +342,7 @@ pub unsafe fn FindActCtxSectionStringA(dwflags: u32, lpextensionguid: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindActCtxSectionStringA ( dwflags : u32 , lpextensionguid : *const :: windows::core::GUID , ulsectionid : u32 , lpstringtofind : :: windows::core::PCSTR , returneddata : *mut ACTCTX_SECTION_KEYED_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindActCtxSectionStringA ( dwflags : u32 , lpextensionguid : *const :: windows::core::GUID , ulsectionid : u32 , lpstringtofind : :: windows::core::PCSTR , returneddata : *mut ACTCTX_SECTION_KEYED_DATA ) -> super::super::Foundation:: BOOL ); FindActCtxSectionStringA(dwflags, ::core::mem::transmute(lpextensionguid.unwrap_or(::std::ptr::null())), ulsectionid, lpstringtofind.into().abi(), returneddata) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] @@ -352,14 +352,14 @@ pub unsafe fn FindActCtxSectionStringW(dwflags: u32, lpextensionguid: ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindActCtxSectionStringW ( dwflags : u32 , lpextensionguid : *const :: windows::core::GUID , ulsectionid : u32 , lpstringtofind : :: windows::core::PCWSTR , returneddata : *mut ACTCTX_SECTION_KEYED_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindActCtxSectionStringW ( dwflags : u32 , lpextensionguid : *const :: windows::core::GUID , ulsectionid : u32 , lpstringtofind : :: windows::core::PCWSTR , returneddata : *mut ACTCTX_SECTION_KEYED_DATA ) -> super::super::Foundation:: BOOL ); FindActCtxSectionStringW(dwflags, ::core::mem::transmute(lpextensionguid.unwrap_or(::std::ptr::null())), ulsectionid, lpstringtofind.into().abi(), returneddata) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentActCtx(lphactctx: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentActCtx ( lphactctx : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentActCtx ( lphactctx : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); GetCurrentActCtx(lphactctx) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -369,14 +369,14 @@ pub unsafe fn GetDeltaInfoA(lpdeltaname: P0, lpheaderinfo: *mut DELTA_HEADER where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msdelta.dll""system" fn GetDeltaInfoA ( lpdeltaname : :: windows::core::PCSTR , lpheaderinfo : *mut DELTA_HEADER_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn GetDeltaInfoA ( lpdeltaname : :: windows::core::PCSTR , lpheaderinfo : *mut DELTA_HEADER_INFO ) -> super::super::Foundation:: BOOL ); GetDeltaInfoA(lpdeltaname.into().abi(), lpheaderinfo) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDeltaInfoB(delta: DELTA_INPUT, lpheaderinfo: *mut DELTA_HEADER_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msdelta.dll""system" fn GetDeltaInfoB ( delta : DELTA_INPUT , lpheaderinfo : *mut DELTA_HEADER_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn GetDeltaInfoB ( delta : DELTA_INPUT , lpheaderinfo : *mut DELTA_HEADER_INFO ) -> super::super::Foundation:: BOOL ); GetDeltaInfoB(::core::mem::transmute(delta), lpheaderinfo) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -386,7 +386,7 @@ pub unsafe fn GetDeltaInfoW(lpdeltaname: P0, lpheaderinfo: *mut DELTA_HEADER where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdelta.dll""system" fn GetDeltaInfoW ( lpdeltaname : :: windows::core::PCWSTR , lpheaderinfo : *mut DELTA_HEADER_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn GetDeltaInfoW ( lpdeltaname : :: windows::core::PCWSTR , lpheaderinfo : *mut DELTA_HEADER_INFO ) -> super::super::Foundation:: BOOL ); GetDeltaInfoW(lpdeltaname.into().abi(), lpheaderinfo) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -396,14 +396,14 @@ pub unsafe fn GetDeltaSignatureA(filetypeset: i64, hashalgid: u32, lpsourcen where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msdelta.dll""system" fn GetDeltaSignatureA ( filetypeset : i64 , hashalgid : u32 , lpsourcename : :: windows::core::PCSTR , lphash : *mut DELTA_HASH ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn GetDeltaSignatureA ( filetypeset : i64 , hashalgid : u32 , lpsourcename : :: windows::core::PCSTR , lphash : *mut DELTA_HASH ) -> super::super::Foundation:: BOOL ); GetDeltaSignatureA(filetypeset, hashalgid, lpsourcename.into().abi(), lphash) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDeltaSignatureB(filetypeset: i64, hashalgid: u32, source: DELTA_INPUT, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "msdelta.dll""system" fn GetDeltaSignatureB ( filetypeset : i64 , hashalgid : u32 , source : DELTA_INPUT , lphash : *mut DELTA_HASH ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn GetDeltaSignatureB ( filetypeset : i64 , hashalgid : u32 , source : DELTA_INPUT , lphash : *mut DELTA_HASH ) -> super::super::Foundation:: BOOL ); GetDeltaSignatureB(filetypeset, hashalgid, ::core::mem::transmute(source), lphash) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -413,7 +413,7 @@ pub unsafe fn GetDeltaSignatureW(filetypeset: i64, hashalgid: u32, lpsourcen where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msdelta.dll""system" fn GetDeltaSignatureW ( filetypeset : i64 , hashalgid : u32 , lpsourcename : :: windows::core::PCWSTR , lphash : *mut DELTA_HASH ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msdelta.dll""system" fn GetDeltaSignatureW ( filetypeset : i64 , hashalgid : u32 , lpsourcename : :: windows::core::PCWSTR , lphash : *mut DELTA_HASH ) -> super::super::Foundation:: BOOL ); GetDeltaSignatureW(filetypeset, hashalgid, lpsourcename.into().abi(), lphash) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -423,7 +423,7 @@ pub unsafe fn GetFilePatchSignatureA(filename: P0, optionflags: u32, optiond where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mspatcha.dll""system" fn GetFilePatchSignatureA ( filename : :: windows::core::PCSTR , optionflags : u32 , optiondata : *const ::core::ffi::c_void , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE , signaturebuffersize : u32 , signaturebuffer : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn GetFilePatchSignatureA ( filename : :: windows::core::PCSTR , optionflags : u32 , optiondata : *const ::core::ffi::c_void , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE , signaturebuffersize : u32 , signaturebuffer : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); GetFilePatchSignatureA( filename.into().abi(), optionflags, @@ -440,7 +440,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetFilePatchSignatureByBuffer(filebufferwritable: &mut [u8], optionflags: u32, optiondata: ::core::option::Option<*const ::core::ffi::c_void>, ignorerangearray: ::core::option::Option<&[PATCH_IGNORE_RANGE]>, retainrangearray: ::core::option::Option<&[PATCH_RETAIN_RANGE]>, signaturebuffer: &mut [u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mspatcha.dll""system" fn GetFilePatchSignatureByBuffer ( filebufferwritable : *mut u8 , filesize : u32 , optionflags : u32 , optiondata : *const ::core::ffi::c_void , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE , signaturebuffersize : u32 , signaturebuffer : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn GetFilePatchSignatureByBuffer ( filebufferwritable : *mut u8 , filesize : u32 , optionflags : u32 , optiondata : *const ::core::ffi::c_void , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE , signaturebuffersize : u32 , signaturebuffer : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); GetFilePatchSignatureByBuffer( ::core::mem::transmute(filebufferwritable.as_ptr()), filebufferwritable.len() as _, @@ -461,7 +461,7 @@ pub unsafe fn GetFilePatchSignatureByHandle(filehandle: P0, optionflags: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mspatcha.dll""system" fn GetFilePatchSignatureByHandle ( filehandle : super::super::Foundation:: HANDLE , optionflags : u32 , optiondata : *const ::core::ffi::c_void , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE , signaturebuffersize : u32 , signaturebuffer : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn GetFilePatchSignatureByHandle ( filehandle : super::super::Foundation:: HANDLE , optionflags : u32 , optiondata : *const ::core::ffi::c_void , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE , signaturebuffersize : u32 , signaturebuffer : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); GetFilePatchSignatureByHandle( filehandle.into(), optionflags, @@ -481,7 +481,7 @@ pub unsafe fn GetFilePatchSignatureW(filename: P0, optionflags: u32, optiond where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mspatcha.dll""system" fn GetFilePatchSignatureW ( filename : :: windows::core::PCWSTR , optionflags : u32 , optiondata : *const ::core::ffi::c_void , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE , signaturebuffersize : u32 , signaturebuffer : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn GetFilePatchSignatureW ( filename : :: windows::core::PCWSTR , optionflags : u32 , optiondata : *const ::core::ffi::c_void , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE , signaturebuffersize : u32 , signaturebuffer : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); GetFilePatchSignatureW( filename.into().abi(), optionflags, @@ -502,7 +502,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiAdvertiseProductA ( szpackagepath : :: windows::core::PCSTR , szscriptfilepath : :: windows::core::PCSTR , sztransforms : :: windows::core::PCSTR , lgidlanguage : u16 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiAdvertiseProductA ( szpackagepath : :: windows::core::PCSTR , szscriptfilepath : :: windows::core::PCSTR , sztransforms : :: windows::core::PCSTR , lgidlanguage : u16 ) -> u32 ); MsiAdvertiseProductA(szpackagepath.into().abi(), szscriptfilepath.into().abi(), sztransforms.into().abi(), lgidlanguage) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -513,7 +513,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiAdvertiseProductExA ( szpackagepath : :: windows::core::PCSTR , szscriptfilepath : :: windows::core::PCSTR , sztransforms : :: windows::core::PCSTR , lgidlanguage : u16 , dwplatform : u32 , dwoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiAdvertiseProductExA ( szpackagepath : :: windows::core::PCSTR , szscriptfilepath : :: windows::core::PCSTR , sztransforms : :: windows::core::PCSTR , lgidlanguage : u16 , dwplatform : u32 , dwoptions : u32 ) -> u32 ); MsiAdvertiseProductExA(szpackagepath.into().abi(), szscriptfilepath.into().abi(), sztransforms.into().abi(), lgidlanguage, dwplatform, dwoptions) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -524,7 +524,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiAdvertiseProductExW ( szpackagepath : :: windows::core::PCWSTR , szscriptfilepath : :: windows::core::PCWSTR , sztransforms : :: windows::core::PCWSTR , lgidlanguage : u16 , dwplatform : u32 , dwoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiAdvertiseProductExW ( szpackagepath : :: windows::core::PCWSTR , szscriptfilepath : :: windows::core::PCWSTR , sztransforms : :: windows::core::PCWSTR , lgidlanguage : u16 , dwplatform : u32 , dwoptions : u32 ) -> u32 ); MsiAdvertiseProductExW(szpackagepath.into().abi(), szscriptfilepath.into().abi(), sztransforms.into().abi(), lgidlanguage, dwplatform, dwoptions) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -535,7 +535,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiAdvertiseProductW ( szpackagepath : :: windows::core::PCWSTR , szscriptfilepath : :: windows::core::PCWSTR , sztransforms : :: windows::core::PCWSTR , lgidlanguage : u16 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiAdvertiseProductW ( szpackagepath : :: windows::core::PCWSTR , szscriptfilepath : :: windows::core::PCWSTR , sztransforms : :: windows::core::PCWSTR , lgidlanguage : u16 ) -> u32 ); MsiAdvertiseProductW(szpackagepath.into().abi(), szscriptfilepath.into().abi(), sztransforms.into().abi(), lgidlanguage) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -546,7 +546,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiAdvertiseScriptA ( szscriptfile : :: windows::core::PCSTR , dwflags : u32 , phregdata : *const super::Registry:: HKEY , fremoveitems : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiAdvertiseScriptA ( szscriptfile : :: windows::core::PCSTR , dwflags : u32 , phregdata : *const super::Registry:: HKEY , fremoveitems : super::super::Foundation:: BOOL ) -> u32 ); MsiAdvertiseScriptA(szscriptfile.into().abi(), dwflags, ::core::mem::transmute(phregdata.unwrap_or(::std::ptr::null())), fremoveitems.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -557,7 +557,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiAdvertiseScriptW ( szscriptfile : :: windows::core::PCWSTR , dwflags : u32 , phregdata : *const super::Registry:: HKEY , fremoveitems : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiAdvertiseScriptW ( szscriptfile : :: windows::core::PCWSTR , dwflags : u32 , phregdata : *const super::Registry:: HKEY , fremoveitems : super::super::Foundation:: BOOL ) -> u32 ); MsiAdvertiseScriptW(szscriptfile.into().abi(), dwflags, ::core::mem::transmute(phregdata.unwrap_or(::std::ptr::null())), fremoveitems.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -568,7 +568,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiApplyMultiplePatchesA ( szpatchpackages : :: windows::core::PCSTR , szproductcode : :: windows::core::PCSTR , szpropertieslist : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiApplyMultiplePatchesA ( szpatchpackages : :: windows::core::PCSTR , szproductcode : :: windows::core::PCSTR , szpropertieslist : :: windows::core::PCSTR ) -> u32 ); MsiApplyMultiplePatchesA(szpatchpackages.into().abi(), szproductcode.into().abi(), szpropertieslist.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -579,7 +579,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiApplyMultiplePatchesW ( szpatchpackages : :: windows::core::PCWSTR , szproductcode : :: windows::core::PCWSTR , szpropertieslist : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiApplyMultiplePatchesW ( szpatchpackages : :: windows::core::PCWSTR , szproductcode : :: windows::core::PCWSTR , szpropertieslist : :: windows::core::PCWSTR ) -> u32 ); MsiApplyMultiplePatchesW(szpatchpackages.into().abi(), szproductcode.into().abi(), szpropertieslist.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -590,7 +590,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiApplyPatchA ( szpatchpackage : :: windows::core::PCSTR , szinstallpackage : :: windows::core::PCSTR , einstalltype : INSTALLTYPE , szcommandline : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiApplyPatchA ( szpatchpackage : :: windows::core::PCSTR , szinstallpackage : :: windows::core::PCSTR , einstalltype : INSTALLTYPE , szcommandline : :: windows::core::PCSTR ) -> u32 ); MsiApplyPatchA(szpatchpackage.into().abi(), szinstallpackage.into().abi(), einstalltype, szcommandline.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -601,7 +601,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiApplyPatchW ( szpatchpackage : :: windows::core::PCWSTR , szinstallpackage : :: windows::core::PCWSTR , einstalltype : INSTALLTYPE , szcommandline : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiApplyPatchW ( szpatchpackage : :: windows::core::PCWSTR , szinstallpackage : :: windows::core::PCWSTR , einstalltype : INSTALLTYPE , szcommandline : :: windows::core::PCWSTR ) -> u32 ); MsiApplyPatchW(szpatchpackage.into().abi(), szinstallpackage.into().abi(), einstalltype, szcommandline.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -611,7 +611,7 @@ pub unsafe fn MsiBeginTransactionA(szname: P0, dwtransactionattributes: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiBeginTransactionA ( szname : :: windows::core::PCSTR , dwtransactionattributes : u32 , phtransactionhandle : *mut MSIHANDLE , phchangeofownerevent : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiBeginTransactionA ( szname : :: windows::core::PCSTR , dwtransactionattributes : u32 , phtransactionhandle : *mut MSIHANDLE , phchangeofownerevent : *mut super::super::Foundation:: HANDLE ) -> u32 ); MsiBeginTransactionA(szname.into().abi(), dwtransactionattributes, phtransactionhandle, phchangeofownerevent) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -621,13 +621,13 @@ pub unsafe fn MsiBeginTransactionW(szname: P0, dwtransactionattributes: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiBeginTransactionW ( szname : :: windows::core::PCWSTR , dwtransactionattributes : u32 , phtransactionhandle : *mut MSIHANDLE , phchangeofownerevent : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiBeginTransactionW ( szname : :: windows::core::PCWSTR , dwtransactionattributes : u32 , phtransactionhandle : *mut MSIHANDLE , phchangeofownerevent : *mut super::super::Foundation:: HANDLE ) -> u32 ); MsiBeginTransactionW(szname.into().abi(), dwtransactionattributes, phtransactionhandle, phchangeofownerevent) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiCloseAllHandles() -> u32 { - ::windows::core::link ! ( "msi.dll""system" fn MsiCloseAllHandles ( ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiCloseAllHandles ( ) -> u32 ); MsiCloseAllHandles() } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -636,7 +636,7 @@ pub unsafe fn MsiCloseHandle(hany: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiCloseHandle ( hany : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiCloseHandle ( hany : MSIHANDLE ) -> u32 ); MsiCloseHandle(hany.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -645,7 +645,7 @@ pub unsafe fn MsiCollectUserInfoA(szproduct: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiCollectUserInfoA ( szproduct : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiCollectUserInfoA ( szproduct : :: windows::core::PCSTR ) -> u32 ); MsiCollectUserInfoA(szproduct.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -654,7 +654,7 @@ pub unsafe fn MsiCollectUserInfoW(szproduct: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiCollectUserInfoW ( szproduct : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiCollectUserInfoW ( szproduct : :: windows::core::PCWSTR ) -> u32 ); MsiCollectUserInfoW(szproduct.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -664,7 +664,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiConfigureFeatureA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , einstallstate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiConfigureFeatureA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , einstallstate : INSTALLSTATE ) -> u32 ); MsiConfigureFeatureA(szproduct.into().abi(), szfeature.into().abi(), einstallstate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -674,7 +674,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiConfigureFeatureW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , einstallstate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiConfigureFeatureW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , einstallstate : INSTALLSTATE ) -> u32 ); MsiConfigureFeatureW(szproduct.into().abi(), szfeature.into().abi(), einstallstate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -683,7 +683,7 @@ pub unsafe fn MsiConfigureProductA(szproduct: P0, iinstalllevel: INSTALLLEVE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiConfigureProductA ( szproduct : :: windows::core::PCSTR , iinstalllevel : INSTALLLEVEL , einstallstate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiConfigureProductA ( szproduct : :: windows::core::PCSTR , iinstalllevel : INSTALLLEVEL , einstallstate : INSTALLSTATE ) -> u32 ); MsiConfigureProductA(szproduct.into().abi(), iinstalllevel, einstallstate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -693,7 +693,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiConfigureProductExA ( szproduct : :: windows::core::PCSTR , iinstalllevel : INSTALLLEVEL , einstallstate : INSTALLSTATE , szcommandline : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiConfigureProductExA ( szproduct : :: windows::core::PCSTR , iinstalllevel : INSTALLLEVEL , einstallstate : INSTALLSTATE , szcommandline : :: windows::core::PCSTR ) -> u32 ); MsiConfigureProductExA(szproduct.into().abi(), iinstalllevel, einstallstate, szcommandline.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -703,7 +703,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiConfigureProductExW ( szproduct : :: windows::core::PCWSTR , iinstalllevel : INSTALLLEVEL , einstallstate : INSTALLSTATE , szcommandline : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiConfigureProductExW ( szproduct : :: windows::core::PCWSTR , iinstalllevel : INSTALLLEVEL , einstallstate : INSTALLSTATE , szcommandline : :: windows::core::PCWSTR ) -> u32 ); MsiConfigureProductExW(szproduct.into().abi(), iinstalllevel, einstallstate, szcommandline.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -712,13 +712,13 @@ pub unsafe fn MsiConfigureProductW(szproduct: P0, iinstalllevel: INSTALLLEVE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiConfigureProductW ( szproduct : :: windows::core::PCWSTR , iinstalllevel : INSTALLLEVEL , einstallstate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiConfigureProductW ( szproduct : :: windows::core::PCWSTR , iinstalllevel : INSTALLLEVEL , einstallstate : INSTALLSTATE ) -> u32 ); MsiConfigureProductW(szproduct.into().abi(), iinstalllevel, einstallstate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiCreateRecord(cparams: u32) -> MSIHANDLE { - ::windows::core::link ! ( "msi.dll""system" fn MsiCreateRecord ( cparams : u32 ) -> MSIHANDLE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiCreateRecord ( cparams : u32 ) -> MSIHANDLE ); MsiCreateRecord(cparams) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -729,7 +729,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiCreateTransformSummaryInfoA ( hdatabase : MSIHANDLE , hdatabasereference : MSIHANDLE , sztransformfile : :: windows::core::PCSTR , ierrorconditions : MSITRANSFORM_ERROR , ivalidation : MSITRANSFORM_VALIDATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiCreateTransformSummaryInfoA ( hdatabase : MSIHANDLE , hdatabasereference : MSIHANDLE , sztransformfile : :: windows::core::PCSTR , ierrorconditions : MSITRANSFORM_ERROR , ivalidation : MSITRANSFORM_VALIDATE ) -> u32 ); MsiCreateTransformSummaryInfoA(hdatabase.into(), hdatabasereference.into(), sztransformfile.into().abi(), ierrorconditions, ivalidation) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -740,7 +740,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiCreateTransformSummaryInfoW ( hdatabase : MSIHANDLE , hdatabasereference : MSIHANDLE , sztransformfile : :: windows::core::PCWSTR , ierrorconditions : MSITRANSFORM_ERROR , ivalidation : MSITRANSFORM_VALIDATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiCreateTransformSummaryInfoW ( hdatabase : MSIHANDLE , hdatabasereference : MSIHANDLE , sztransformfile : :: windows::core::PCWSTR , ierrorconditions : MSITRANSFORM_ERROR , ivalidation : MSITRANSFORM_VALIDATE ) -> u32 ); MsiCreateTransformSummaryInfoW(hdatabase.into(), hdatabasereference.into(), sztransformfile.into().abi(), ierrorconditions, ivalidation) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -750,7 +750,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseApplyTransformA ( hdatabase : MSIHANDLE , sztransformfile : :: windows::core::PCSTR , ierrorconditions : MSITRANSFORM_ERROR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseApplyTransformA ( hdatabase : MSIHANDLE , sztransformfile : :: windows::core::PCSTR , ierrorconditions : MSITRANSFORM_ERROR ) -> u32 ); MsiDatabaseApplyTransformA(hdatabase.into(), sztransformfile.into().abi(), ierrorconditions) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -760,7 +760,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseApplyTransformW ( hdatabase : MSIHANDLE , sztransformfile : :: windows::core::PCWSTR , ierrorconditions : MSITRANSFORM_ERROR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseApplyTransformW ( hdatabase : MSIHANDLE , sztransformfile : :: windows::core::PCWSTR , ierrorconditions : MSITRANSFORM_ERROR ) -> u32 ); MsiDatabaseApplyTransformW(hdatabase.into(), sztransformfile.into().abi(), ierrorconditions) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -769,7 +769,7 @@ pub unsafe fn MsiDatabaseCommit(hdatabase: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseCommit ( hdatabase : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseCommit ( hdatabase : MSIHANDLE ) -> u32 ); MsiDatabaseCommit(hdatabase.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -781,7 +781,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseExportA ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCSTR , szfolderpath : :: windows::core::PCSTR , szfilename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseExportA ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCSTR , szfolderpath : :: windows::core::PCSTR , szfilename : :: windows::core::PCSTR ) -> u32 ); MsiDatabaseExportA(hdatabase.into(), sztablename.into().abi(), szfolderpath.into().abi(), szfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -793,7 +793,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseExportW ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCWSTR , szfolderpath : :: windows::core::PCWSTR , szfilename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseExportW ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCWSTR , szfolderpath : :: windows::core::PCWSTR , szfilename : :: windows::core::PCWSTR ) -> u32 ); MsiDatabaseExportW(hdatabase.into(), sztablename.into().abi(), szfolderpath.into().abi(), szfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -804,7 +804,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseGenerateTransformA ( hdatabase : MSIHANDLE , hdatabasereference : MSIHANDLE , sztransformfile : :: windows::core::PCSTR , ireserved1 : i32 , ireserved2 : i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseGenerateTransformA ( hdatabase : MSIHANDLE , hdatabasereference : MSIHANDLE , sztransformfile : :: windows::core::PCSTR , ireserved1 : i32 , ireserved2 : i32 ) -> u32 ); MsiDatabaseGenerateTransformA(hdatabase.into(), hdatabasereference.into(), sztransformfile.into().abi(), ireserved1, ireserved2) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -815,7 +815,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseGenerateTransformW ( hdatabase : MSIHANDLE , hdatabasereference : MSIHANDLE , sztransformfile : :: windows::core::PCWSTR , ireserved1 : i32 , ireserved2 : i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseGenerateTransformW ( hdatabase : MSIHANDLE , hdatabasereference : MSIHANDLE , sztransformfile : :: windows::core::PCWSTR , ireserved1 : i32 , ireserved2 : i32 ) -> u32 ); MsiDatabaseGenerateTransformW(hdatabase.into(), hdatabasereference.into(), sztransformfile.into().abi(), ireserved1, ireserved2) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -825,7 +825,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseGetPrimaryKeysA ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCSTR , phrecord : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseGetPrimaryKeysA ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCSTR , phrecord : *mut MSIHANDLE ) -> u32 ); MsiDatabaseGetPrimaryKeysA(hdatabase.into(), sztablename.into().abi(), phrecord) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -835,7 +835,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseGetPrimaryKeysW ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCWSTR , phrecord : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseGetPrimaryKeysW ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCWSTR , phrecord : *mut MSIHANDLE ) -> u32 ); MsiDatabaseGetPrimaryKeysW(hdatabase.into(), sztablename.into().abi(), phrecord) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -846,7 +846,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseImportA ( hdatabase : MSIHANDLE , szfolderpath : :: windows::core::PCSTR , szfilename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseImportA ( hdatabase : MSIHANDLE , szfolderpath : :: windows::core::PCSTR , szfilename : :: windows::core::PCSTR ) -> u32 ); MsiDatabaseImportA(hdatabase.into(), szfolderpath.into().abi(), szfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -857,7 +857,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseImportW ( hdatabase : MSIHANDLE , szfolderpath : :: windows::core::PCWSTR , szfilename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseImportW ( hdatabase : MSIHANDLE , szfolderpath : :: windows::core::PCWSTR , szfilename : :: windows::core::PCWSTR ) -> u32 ); MsiDatabaseImportW(hdatabase.into(), szfolderpath.into().abi(), szfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -867,7 +867,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseIsTablePersistentA ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCSTR ) -> MSICONDITION ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseIsTablePersistentA ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCSTR ) -> MSICONDITION ); MsiDatabaseIsTablePersistentA(hdatabase.into(), sztablename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -877,7 +877,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseIsTablePersistentW ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCWSTR ) -> MSICONDITION ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseIsTablePersistentW ( hdatabase : MSIHANDLE , sztablename : :: windows::core::PCWSTR ) -> MSICONDITION ); MsiDatabaseIsTablePersistentW(hdatabase.into(), sztablename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -888,7 +888,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseMergeA ( hdatabase : MSIHANDLE , hdatabasemerge : MSIHANDLE , sztablename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseMergeA ( hdatabase : MSIHANDLE , hdatabasemerge : MSIHANDLE , sztablename : :: windows::core::PCSTR ) -> u32 ); MsiDatabaseMergeA(hdatabase.into(), hdatabasemerge.into(), sztablename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -899,7 +899,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseMergeW ( hdatabase : MSIHANDLE , hdatabasemerge : MSIHANDLE , sztablename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseMergeW ( hdatabase : MSIHANDLE , hdatabasemerge : MSIHANDLE , sztablename : :: windows::core::PCWSTR ) -> u32 ); MsiDatabaseMergeW(hdatabase.into(), hdatabasemerge.into(), sztablename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -909,7 +909,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseOpenViewA ( hdatabase : MSIHANDLE , szquery : :: windows::core::PCSTR , phview : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseOpenViewA ( hdatabase : MSIHANDLE , szquery : :: windows::core::PCSTR , phview : *mut MSIHANDLE ) -> u32 ); MsiDatabaseOpenViewA(hdatabase.into(), szquery.into().abi(), phview) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -919,7 +919,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDatabaseOpenViewW ( hdatabase : MSIHANDLE , szquery : :: windows::core::PCWSTR , phview : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDatabaseOpenViewW ( hdatabase : MSIHANDLE , szquery : :: windows::core::PCWSTR , phview : *mut MSIHANDLE ) -> u32 ); MsiDatabaseOpenViewW(hdatabase.into(), szquery.into().abi(), phview) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -928,7 +928,7 @@ pub unsafe fn MsiDetermineApplicablePatchesA(szproductpackagepath: P0, ppatc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDetermineApplicablePatchesA ( szproductpackagepath : :: windows::core::PCSTR , cpatchinfo : u32 , ppatchinfo : *mut MSIPATCHSEQUENCEINFOA ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDetermineApplicablePatchesA ( szproductpackagepath : :: windows::core::PCSTR , cpatchinfo : u32 , ppatchinfo : *mut MSIPATCHSEQUENCEINFOA ) -> u32 ); MsiDetermineApplicablePatchesA(szproductpackagepath.into().abi(), ppatchinfo.len() as _, ::core::mem::transmute(ppatchinfo.as_ptr())) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -937,7 +937,7 @@ pub unsafe fn MsiDetermineApplicablePatchesW(szproductpackagepath: P0, ppatc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDetermineApplicablePatchesW ( szproductpackagepath : :: windows::core::PCWSTR , cpatchinfo : u32 , ppatchinfo : *mut MSIPATCHSEQUENCEINFOW ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDetermineApplicablePatchesW ( szproductpackagepath : :: windows::core::PCWSTR , cpatchinfo : u32 , ppatchinfo : *mut MSIPATCHSEQUENCEINFOW ) -> u32 ); MsiDetermineApplicablePatchesW(szproductpackagepath.into().abi(), ppatchinfo.len() as _, ::core::mem::transmute(ppatchinfo.as_ptr())) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -947,7 +947,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDeterminePatchSequenceA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , cpatchinfo : u32 , ppatchinfo : *mut MSIPATCHSEQUENCEINFOA ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDeterminePatchSequenceA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , cpatchinfo : u32 , ppatchinfo : *mut MSIPATCHSEQUENCEINFOA ) -> u32 ); MsiDeterminePatchSequenceA(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, ppatchinfo.len() as _, ::core::mem::transmute(ppatchinfo.as_ptr())) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -957,7 +957,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDeterminePatchSequenceW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , cpatchinfo : u32 , ppatchinfo : *mut MSIPATCHSEQUENCEINFOW ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDeterminePatchSequenceW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , cpatchinfo : u32 , ppatchinfo : *mut MSIPATCHSEQUENCEINFOW ) -> u32 ); MsiDeterminePatchSequenceW(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, ppatchinfo.len() as _, ::core::mem::transmute(ppatchinfo.as_ptr())) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -967,7 +967,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDoActionA ( hinstall : MSIHANDLE , szaction : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDoActionA ( hinstall : MSIHANDLE , szaction : :: windows::core::PCSTR ) -> u32 ); MsiDoActionA(hinstall.into(), szaction.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -977,7 +977,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiDoActionW ( hinstall : MSIHANDLE , szaction : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiDoActionW ( hinstall : MSIHANDLE , szaction : :: windows::core::PCWSTR ) -> u32 ); MsiDoActionW(hinstall.into(), szaction.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -986,7 +986,7 @@ pub unsafe fn MsiEnableLogA(dwlogmode: INSTALLLOGMODE, szlogfile: P0, dwloga where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnableLogA ( dwlogmode : INSTALLLOGMODE , szlogfile : :: windows::core::PCSTR , dwlogattributes : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnableLogA ( dwlogmode : INSTALLLOGMODE , szlogfile : :: windows::core::PCSTR , dwlogattributes : u32 ) -> u32 ); MsiEnableLogA(dwlogmode, szlogfile.into().abi(), dwlogattributes) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -995,7 +995,7 @@ pub unsafe fn MsiEnableLogW(dwlogmode: INSTALLLOGMODE, szlogfile: P0, dwloga where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnableLogW ( dwlogmode : INSTALLLOGMODE , szlogfile : :: windows::core::PCWSTR , dwlogattributes : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnableLogW ( dwlogmode : INSTALLLOGMODE , szlogfile : :: windows::core::PCWSTR , dwlogattributes : u32 ) -> u32 ); MsiEnableLogW(dwlogmode, szlogfile.into().abi(), dwlogattributes) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1004,13 +1004,13 @@ pub unsafe fn MsiEnableUIPreview(hdatabase: P0, phpreview: *mut MSIHANDLE) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnableUIPreview ( hdatabase : MSIHANDLE , phpreview : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnableUIPreview ( hdatabase : MSIHANDLE , phpreview : *mut MSIHANDLE ) -> u32 ); MsiEnableUIPreview(hdatabase.into(), phpreview) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiEndTransaction(dwtransactionstate: MSITRANSACTIONSTATE) -> u32 { - ::windows::core::link ! ( "msi.dll""system" fn MsiEndTransaction ( dwtransactionstate : MSITRANSACTIONSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEndTransaction ( dwtransactionstate : MSITRANSACTIONSTATE ) -> u32 ); MsiEndTransaction(dwtransactionstate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1019,7 +1019,7 @@ pub unsafe fn MsiEnumClientsA(szcomponent: P0, iproductindex: u32, lpproduct where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumClientsA ( szcomponent : :: windows::core::PCSTR , iproductindex : u32 , lpproductbuf : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumClientsA ( szcomponent : :: windows::core::PCSTR , iproductindex : u32 , lpproductbuf : :: windows::core::PSTR ) -> u32 ); MsiEnumClientsA(szcomponent.into().abi(), iproductindex, ::core::mem::transmute(lpproductbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1029,7 +1029,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumClientsExA ( szcomponent : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwproductindex : u32 , szproductbuf : :: windows::core::PSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PSTR , pcchsid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumClientsExA ( szcomponent : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwproductindex : u32 , szproductbuf : :: windows::core::PSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PSTR , pcchsid : *mut u32 ) -> u32 ); MsiEnumClientsExA(szcomponent.into().abi(), szusersid.into().abi(), dwcontext, dwproductindex, ::core::mem::transmute(szproductbuf), ::core::mem::transmute(pdwinstalledcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szsid), ::core::mem::transmute(pcchsid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1039,7 +1039,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumClientsExW ( szcomponent : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwproductindex : u32 , szproductbuf : :: windows::core::PWSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PWSTR , pcchsid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumClientsExW ( szcomponent : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwproductindex : u32 , szproductbuf : :: windows::core::PWSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PWSTR , pcchsid : *mut u32 ) -> u32 ); MsiEnumClientsExW(szcomponent.into().abi(), szusersid.into().abi(), dwcontext, dwproductindex, ::core::mem::transmute(szproductbuf), ::core::mem::transmute(pdwinstalledcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szsid), ::core::mem::transmute(pcchsid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1048,7 +1048,7 @@ pub unsafe fn MsiEnumClientsW(szcomponent: P0, iproductindex: u32, lpproduct where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumClientsW ( szcomponent : :: windows::core::PCWSTR , iproductindex : u32 , lpproductbuf : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumClientsW ( szcomponent : :: windows::core::PCWSTR , iproductindex : u32 , lpproductbuf : :: windows::core::PWSTR ) -> u32 ); MsiEnumClientsW(szcomponent.into().abi(), iproductindex, ::core::mem::transmute(lpproductbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1058,7 +1058,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumComponentCostsA ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCSTR , dwindex : u32 , istate : INSTALLSTATE , szdrivebuf : :: windows::core::PSTR , pcchdrivebuf : *mut u32 , picost : *mut i32 , pitempcost : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumComponentCostsA ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCSTR , dwindex : u32 , istate : INSTALLSTATE , szdrivebuf : :: windows::core::PSTR , pcchdrivebuf : *mut u32 , picost : *mut i32 , pitempcost : *mut i32 ) -> u32 ); MsiEnumComponentCostsA(hinstall.into(), szcomponent.into().abi(), dwindex, istate, ::core::mem::transmute(szdrivebuf), pcchdrivebuf, picost, pitempcost) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1068,7 +1068,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumComponentCostsW ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCWSTR , dwindex : u32 , istate : INSTALLSTATE , szdrivebuf : :: windows::core::PWSTR , pcchdrivebuf : *mut u32 , picost : *mut i32 , pitempcost : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumComponentCostsW ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCWSTR , dwindex : u32 , istate : INSTALLSTATE , szdrivebuf : :: windows::core::PWSTR , pcchdrivebuf : *mut u32 , picost : *mut i32 , pitempcost : *mut i32 ) -> u32 ); MsiEnumComponentCostsW(hinstall.into(), szcomponent.into().abi(), dwindex, istate, ::core::mem::transmute(szdrivebuf), pcchdrivebuf, picost, pitempcost) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1077,7 +1077,7 @@ pub unsafe fn MsiEnumComponentQualifiersA(szcomponent: P0, iindex: u32, lpqu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumComponentQualifiersA ( szcomponent : :: windows::core::PCSTR , iindex : u32 , lpqualifierbuf : :: windows::core::PSTR , pcchqualifierbuf : *mut u32 , lpapplicationdatabuf : :: windows::core::PSTR , pcchapplicationdatabuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumComponentQualifiersA ( szcomponent : :: windows::core::PCSTR , iindex : u32 , lpqualifierbuf : :: windows::core::PSTR , pcchqualifierbuf : *mut u32 , lpapplicationdatabuf : :: windows::core::PSTR , pcchapplicationdatabuf : *mut u32 ) -> u32 ); MsiEnumComponentQualifiersA(szcomponent.into().abi(), iindex, ::core::mem::transmute(lpqualifierbuf), pcchqualifierbuf, ::core::mem::transmute(lpapplicationdatabuf), ::core::mem::transmute(pcchapplicationdatabuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1086,13 +1086,13 @@ pub unsafe fn MsiEnumComponentQualifiersW(szcomponent: P0, iindex: u32, lpqu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumComponentQualifiersW ( szcomponent : :: windows::core::PCWSTR , iindex : u32 , lpqualifierbuf : :: windows::core::PWSTR , pcchqualifierbuf : *mut u32 , lpapplicationdatabuf : :: windows::core::PWSTR , pcchapplicationdatabuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumComponentQualifiersW ( szcomponent : :: windows::core::PCWSTR , iindex : u32 , lpqualifierbuf : :: windows::core::PWSTR , pcchqualifierbuf : *mut u32 , lpapplicationdatabuf : :: windows::core::PWSTR , pcchapplicationdatabuf : *mut u32 ) -> u32 ); MsiEnumComponentQualifiersW(szcomponent.into().abi(), iindex, ::core::mem::transmute(lpqualifierbuf), pcchqualifierbuf, ::core::mem::transmute(lpapplicationdatabuf), ::core::mem::transmute(pcchapplicationdatabuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiEnumComponentsA(icomponentindex: u32, lpcomponentbuf: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumComponentsA ( icomponentindex : u32 , lpcomponentbuf : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumComponentsA ( icomponentindex : u32 , lpcomponentbuf : :: windows::core::PSTR ) -> u32 ); MsiEnumComponentsA(icomponentindex, ::core::mem::transmute(lpcomponentbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1101,7 +1101,7 @@ pub unsafe fn MsiEnumComponentsExA(szusersid: P0, dwcontext: u32, dwindex: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumComponentsExA ( szusersid : :: windows::core::PCSTR , dwcontext : u32 , dwindex : u32 , szinstalledcomponentcode : :: windows::core::PSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PSTR , pcchsid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumComponentsExA ( szusersid : :: windows::core::PCSTR , dwcontext : u32 , dwindex : u32 , szinstalledcomponentcode : :: windows::core::PSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PSTR , pcchsid : *mut u32 ) -> u32 ); MsiEnumComponentsExA(szusersid.into().abi(), dwcontext, dwindex, ::core::mem::transmute(szinstalledcomponentcode), ::core::mem::transmute(pdwinstalledcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szsid), ::core::mem::transmute(pcchsid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1110,13 +1110,13 @@ pub unsafe fn MsiEnumComponentsExW(szusersid: P0, dwcontext: u32, dwindex: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumComponentsExW ( szusersid : :: windows::core::PCWSTR , dwcontext : u32 , dwindex : u32 , szinstalledcomponentcode : :: windows::core::PWSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PWSTR , pcchsid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumComponentsExW ( szusersid : :: windows::core::PCWSTR , dwcontext : u32 , dwindex : u32 , szinstalledcomponentcode : :: windows::core::PWSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PWSTR , pcchsid : *mut u32 ) -> u32 ); MsiEnumComponentsExW(szusersid.into().abi(), dwcontext, dwindex, ::core::mem::transmute(szinstalledcomponentcode), ::core::mem::transmute(pdwinstalledcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szsid), ::core::mem::transmute(pcchsid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiEnumComponentsW(icomponentindex: u32, lpcomponentbuf: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumComponentsW ( icomponentindex : u32 , lpcomponentbuf : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumComponentsW ( icomponentindex : u32 , lpcomponentbuf : :: windows::core::PWSTR ) -> u32 ); MsiEnumComponentsW(icomponentindex, ::core::mem::transmute(lpcomponentbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1125,7 +1125,7 @@ pub unsafe fn MsiEnumFeaturesA(szproduct: P0, ifeatureindex: u32, lpfeatureb where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumFeaturesA ( szproduct : :: windows::core::PCSTR , ifeatureindex : u32 , lpfeaturebuf : :: windows::core::PSTR , lpparentbuf : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumFeaturesA ( szproduct : :: windows::core::PCSTR , ifeatureindex : u32 , lpfeaturebuf : :: windows::core::PSTR , lpparentbuf : :: windows::core::PSTR ) -> u32 ); MsiEnumFeaturesA(szproduct.into().abi(), ifeatureindex, ::core::mem::transmute(lpfeaturebuf), ::core::mem::transmute(lpparentbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1134,7 +1134,7 @@ pub unsafe fn MsiEnumFeaturesW(szproduct: P0, ifeatureindex: u32, lpfeatureb where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumFeaturesW ( szproduct : :: windows::core::PCWSTR , ifeatureindex : u32 , lpfeaturebuf : :: windows::core::PWSTR , lpparentbuf : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumFeaturesW ( szproduct : :: windows::core::PCWSTR , ifeatureindex : u32 , lpfeaturebuf : :: windows::core::PWSTR , lpparentbuf : :: windows::core::PWSTR ) -> u32 ); MsiEnumFeaturesW(szproduct.into().abi(), ifeatureindex, ::core::mem::transmute(lpfeaturebuf), ::core::mem::transmute(lpparentbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1143,7 +1143,7 @@ pub unsafe fn MsiEnumPatchesA(szproduct: P0, ipatchindex: u32, lppatchbuf: : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumPatchesA ( szproduct : :: windows::core::PCSTR , ipatchindex : u32 , lppatchbuf : :: windows::core::PSTR , lptransformsbuf : :: windows::core::PSTR , pcchtransformsbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumPatchesA ( szproduct : :: windows::core::PCSTR , ipatchindex : u32 , lppatchbuf : :: windows::core::PSTR , lptransformsbuf : :: windows::core::PSTR , pcchtransformsbuf : *mut u32 ) -> u32 ); MsiEnumPatchesA(szproduct.into().abi(), ipatchindex, ::core::mem::transmute(lppatchbuf), ::core::mem::transmute(lptransformsbuf), pcchtransformsbuf) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1153,7 +1153,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumPatchesExA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : u32 , dwfilter : u32 , dwindex : u32 , szpatchcode : :: windows::core::PSTR , sztargetproductcode : :: windows::core::PSTR , pdwtargetproductcontext : *mut MSIINSTALLCONTEXT , sztargetusersid : :: windows::core::PSTR , pcchtargetusersid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumPatchesExA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : u32 , dwfilter : u32 , dwindex : u32 , szpatchcode : :: windows::core::PSTR , sztargetproductcode : :: windows::core::PSTR , pdwtargetproductcontext : *mut MSIINSTALLCONTEXT , sztargetusersid : :: windows::core::PSTR , pcchtargetusersid : *mut u32 ) -> u32 ); MsiEnumPatchesExA(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, dwfilter, dwindex, ::core::mem::transmute(szpatchcode), ::core::mem::transmute(sztargetproductcode), ::core::mem::transmute(pdwtargetproductcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(sztargetusersid), ::core::mem::transmute(pcchtargetusersid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1163,7 +1163,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumPatchesExW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : u32 , dwfilter : u32 , dwindex : u32 , szpatchcode : :: windows::core::PWSTR , sztargetproductcode : :: windows::core::PWSTR , pdwtargetproductcontext : *mut MSIINSTALLCONTEXT , sztargetusersid : :: windows::core::PWSTR , pcchtargetusersid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumPatchesExW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : u32 , dwfilter : u32 , dwindex : u32 , szpatchcode : :: windows::core::PWSTR , sztargetproductcode : :: windows::core::PWSTR , pdwtargetproductcontext : *mut MSIINSTALLCONTEXT , sztargetusersid : :: windows::core::PWSTR , pcchtargetusersid : *mut u32 ) -> u32 ); MsiEnumPatchesExW(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, dwfilter, dwindex, ::core::mem::transmute(szpatchcode), ::core::mem::transmute(sztargetproductcode), ::core::mem::transmute(pdwtargetproductcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(sztargetusersid), ::core::mem::transmute(pcchtargetusersid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1172,13 +1172,13 @@ pub unsafe fn MsiEnumPatchesW(szproduct: P0, ipatchindex: u32, lppatchbuf: : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumPatchesW ( szproduct : :: windows::core::PCWSTR , ipatchindex : u32 , lppatchbuf : :: windows::core::PWSTR , lptransformsbuf : :: windows::core::PWSTR , pcchtransformsbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumPatchesW ( szproduct : :: windows::core::PCWSTR , ipatchindex : u32 , lppatchbuf : :: windows::core::PWSTR , lptransformsbuf : :: windows::core::PWSTR , pcchtransformsbuf : *mut u32 ) -> u32 ); MsiEnumPatchesW(szproduct.into().abi(), ipatchindex, ::core::mem::transmute(lppatchbuf), ::core::mem::transmute(lptransformsbuf), pcchtransformsbuf) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiEnumProductsA(iproductindex: u32, lpproductbuf: ::windows::core::PSTR) -> u32 { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumProductsA ( iproductindex : u32 , lpproductbuf : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumProductsA ( iproductindex : u32 , lpproductbuf : :: windows::core::PSTR ) -> u32 ); MsiEnumProductsA(iproductindex, ::core::mem::transmute(lpproductbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1188,7 +1188,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumProductsExA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : u32 , dwindex : u32 , szinstalledproductcode : :: windows::core::PSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PSTR , pcchsid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumProductsExA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : u32 , dwindex : u32 , szinstalledproductcode : :: windows::core::PSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PSTR , pcchsid : *mut u32 ) -> u32 ); MsiEnumProductsExA(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, dwindex, ::core::mem::transmute(szinstalledproductcode), ::core::mem::transmute(pdwinstalledcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szsid), ::core::mem::transmute(pcchsid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1198,13 +1198,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumProductsExW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : u32 , dwindex : u32 , szinstalledproductcode : :: windows::core::PWSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PWSTR , pcchsid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumProductsExW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : u32 , dwindex : u32 , szinstalledproductcode : :: windows::core::PWSTR , pdwinstalledcontext : *mut MSIINSTALLCONTEXT , szsid : :: windows::core::PWSTR , pcchsid : *mut u32 ) -> u32 ); MsiEnumProductsExW(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, dwindex, ::core::mem::transmute(szinstalledproductcode), ::core::mem::transmute(pdwinstalledcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szsid), ::core::mem::transmute(pcchsid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiEnumProductsW(iproductindex: u32, lpproductbuf: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumProductsW ( iproductindex : u32 , lpproductbuf : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumProductsW ( iproductindex : u32 , lpproductbuf : :: windows::core::PWSTR ) -> u32 ); MsiEnumProductsW(iproductindex, ::core::mem::transmute(lpproductbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1213,7 +1213,7 @@ pub unsafe fn MsiEnumRelatedProductsA(lpupgradecode: P0, dwreserved: u32, ip where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumRelatedProductsA ( lpupgradecode : :: windows::core::PCSTR , dwreserved : u32 , iproductindex : u32 , lpproductbuf : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumRelatedProductsA ( lpupgradecode : :: windows::core::PCSTR , dwreserved : u32 , iproductindex : u32 , lpproductbuf : :: windows::core::PSTR ) -> u32 ); MsiEnumRelatedProductsA(lpupgradecode.into().abi(), dwreserved, iproductindex, ::core::mem::transmute(lpproductbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1222,7 +1222,7 @@ pub unsafe fn MsiEnumRelatedProductsW(lpupgradecode: P0, dwreserved: u32, ip where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEnumRelatedProductsW ( lpupgradecode : :: windows::core::PCWSTR , dwreserved : u32 , iproductindex : u32 , lpproductbuf : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEnumRelatedProductsW ( lpupgradecode : :: windows::core::PCWSTR , dwreserved : u32 , iproductindex : u32 , lpproductbuf : :: windows::core::PWSTR ) -> u32 ); MsiEnumRelatedProductsW(lpupgradecode.into().abi(), dwreserved, iproductindex, ::core::mem::transmute(lpproductbuf)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1232,7 +1232,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEvaluateConditionA ( hinstall : MSIHANDLE , szcondition : :: windows::core::PCSTR ) -> MSICONDITION ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEvaluateConditionA ( hinstall : MSIHANDLE , szcondition : :: windows::core::PCSTR ) -> MSICONDITION ); MsiEvaluateConditionA(hinstall.into(), szcondition.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1242,7 +1242,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiEvaluateConditionW ( hinstall : MSIHANDLE , szcondition : :: windows::core::PCWSTR ) -> MSICONDITION ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiEvaluateConditionW ( hinstall : MSIHANDLE , szcondition : :: windows::core::PCWSTR ) -> MSICONDITION ); MsiEvaluateConditionW(hinstall.into(), szcondition.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1251,7 +1251,7 @@ pub unsafe fn MsiExtractPatchXMLDataA(szpatchpath: P0, dwreserved: u32, szxm where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiExtractPatchXMLDataA ( szpatchpath : :: windows::core::PCSTR , dwreserved : u32 , szxmldata : :: windows::core::PSTR , pcchxmldata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiExtractPatchXMLDataA ( szpatchpath : :: windows::core::PCSTR , dwreserved : u32 , szxmldata : :: windows::core::PSTR , pcchxmldata : *mut u32 ) -> u32 ); MsiExtractPatchXMLDataA(szpatchpath.into().abi(), dwreserved, ::core::mem::transmute(szxmldata), ::core::mem::transmute(pcchxmldata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1260,7 +1260,7 @@ pub unsafe fn MsiExtractPatchXMLDataW(szpatchpath: P0, dwreserved: u32, szxm where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiExtractPatchXMLDataW ( szpatchpath : :: windows::core::PCWSTR , dwreserved : u32 , szxmldata : :: windows::core::PWSTR , pcchxmldata : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiExtractPatchXMLDataW ( szpatchpath : :: windows::core::PCWSTR , dwreserved : u32 , szxmldata : :: windows::core::PWSTR , pcchxmldata : *mut u32 ) -> u32 ); MsiExtractPatchXMLDataW(szpatchpath.into().abi(), dwreserved, ::core::mem::transmute(szxmldata), ::core::mem::transmute(pcchxmldata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1270,7 +1270,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiFormatRecordA ( hinstall : MSIHANDLE , hrecord : MSIHANDLE , szresultbuf : :: windows::core::PSTR , pcchresultbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiFormatRecordA ( hinstall : MSIHANDLE , hrecord : MSIHANDLE , szresultbuf : :: windows::core::PSTR , pcchresultbuf : *mut u32 ) -> u32 ); MsiFormatRecordA(hinstall.into(), hrecord.into(), ::core::mem::transmute(szresultbuf), ::core::mem::transmute(pcchresultbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1280,7 +1280,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiFormatRecordW ( hinstall : MSIHANDLE , hrecord : MSIHANDLE , szresultbuf : :: windows::core::PWSTR , pcchresultbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiFormatRecordW ( hinstall : MSIHANDLE , hrecord : MSIHANDLE , szresultbuf : :: windows::core::PWSTR , pcchresultbuf : *mut u32 ) -> u32 ); MsiFormatRecordW(hinstall.into(), hrecord.into(), ::core::mem::transmute(szresultbuf), ::core::mem::transmute(pcchresultbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1289,7 +1289,7 @@ pub unsafe fn MsiGetActiveDatabase(hinstall: P0) -> MSIHANDLE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetActiveDatabase ( hinstall : MSIHANDLE ) -> MSIHANDLE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetActiveDatabase ( hinstall : MSIHANDLE ) -> MSIHANDLE ); MsiGetActiveDatabase(hinstall.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1299,7 +1299,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetComponentPathA ( szproduct : :: windows::core::PCSTR , szcomponent : :: windows::core::PCSTR , lppathbuf : :: windows::core::PSTR , pcchbuf : *mut u32 ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetComponentPathA ( szproduct : :: windows::core::PCSTR , szcomponent : :: windows::core::PCSTR , lppathbuf : :: windows::core::PSTR , pcchbuf : *mut u32 ) -> INSTALLSTATE ); MsiGetComponentPathA(szproduct.into().abi(), szcomponent.into().abi(), ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1310,7 +1310,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetComponentPathExA ( szproductcode : :: windows::core::PCSTR , szcomponentcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , lpoutpathbuffer : :: windows::core::PSTR , pcchoutpathbuffer : *mut u32 ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetComponentPathExA ( szproductcode : :: windows::core::PCSTR , szcomponentcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , lpoutpathbuffer : :: windows::core::PSTR , pcchoutpathbuffer : *mut u32 ) -> INSTALLSTATE ); MsiGetComponentPathExA(szproductcode.into().abi(), szcomponentcode.into().abi(), szusersid.into().abi(), dwcontext, ::core::mem::transmute(lpoutpathbuffer), ::core::mem::transmute(pcchoutpathbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1321,7 +1321,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetComponentPathExW ( szproductcode : :: windows::core::PCWSTR , szcomponentcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , lpoutpathbuffer : :: windows::core::PWSTR , pcchoutpathbuffer : *mut u32 ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetComponentPathExW ( szproductcode : :: windows::core::PCWSTR , szcomponentcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , lpoutpathbuffer : :: windows::core::PWSTR , pcchoutpathbuffer : *mut u32 ) -> INSTALLSTATE ); MsiGetComponentPathExW(szproductcode.into().abi(), szcomponentcode.into().abi(), szusersid.into().abi(), dwcontext, ::core::mem::transmute(lpoutpathbuffer), ::core::mem::transmute(pcchoutpathbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1331,7 +1331,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetComponentPathW ( szproduct : :: windows::core::PCWSTR , szcomponent : :: windows::core::PCWSTR , lppathbuf : :: windows::core::PWSTR , pcchbuf : *mut u32 ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetComponentPathW ( szproduct : :: windows::core::PCWSTR , szcomponent : :: windows::core::PCWSTR , lppathbuf : :: windows::core::PWSTR , pcchbuf : *mut u32 ) -> INSTALLSTATE ); MsiGetComponentPathW(szproduct.into().abi(), szcomponent.into().abi(), ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1341,7 +1341,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetComponentStateA ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCSTR , piinstalled : *mut INSTALLSTATE , piaction : *mut INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetComponentStateA ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCSTR , piinstalled : *mut INSTALLSTATE , piaction : *mut INSTALLSTATE ) -> u32 ); MsiGetComponentStateA(hinstall.into(), szcomponent.into().abi(), piinstalled, piaction) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1351,7 +1351,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetComponentStateW ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCWSTR , piinstalled : *mut INSTALLSTATE , piaction : *mut INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetComponentStateW ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCWSTR , piinstalled : *mut INSTALLSTATE , piaction : *mut INSTALLSTATE ) -> u32 ); MsiGetComponentStateW(hinstall.into(), szcomponent.into().abi(), piinstalled, piaction) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1360,7 +1360,7 @@ pub unsafe fn MsiGetDatabaseState(hdatabase: P0) -> MSIDBSTATE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetDatabaseState ( hdatabase : MSIHANDLE ) -> MSIDBSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetDatabaseState ( hdatabase : MSIHANDLE ) -> MSIDBSTATE ); MsiGetDatabaseState(hdatabase.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1370,7 +1370,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureCostA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , icosttree : MSICOSTTREE , istate : INSTALLSTATE , picost : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureCostA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , icosttree : MSICOSTTREE , istate : INSTALLSTATE , picost : *mut i32 ) -> u32 ); MsiGetFeatureCostA(hinstall.into(), szfeature.into().abi(), icosttree, istate, picost) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1380,7 +1380,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureCostW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , icosttree : MSICOSTTREE , istate : INSTALLSTATE , picost : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureCostW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , icosttree : MSICOSTTREE , istate : INSTALLSTATE , picost : *mut i32 ) -> u32 ); MsiGetFeatureCostW(hinstall.into(), szfeature.into().abi(), icosttree, istate, picost) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1390,7 +1390,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureInfoA ( hproduct : MSIHANDLE , szfeature : :: windows::core::PCSTR , lpattributes : *mut u32 , lptitlebuf : :: windows::core::PSTR , pcchtitlebuf : *mut u32 , lphelpbuf : :: windows::core::PSTR , pcchhelpbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureInfoA ( hproduct : MSIHANDLE , szfeature : :: windows::core::PCSTR , lpattributes : *mut u32 , lptitlebuf : :: windows::core::PSTR , pcchtitlebuf : *mut u32 , lphelpbuf : :: windows::core::PSTR , pcchhelpbuf : *mut u32 ) -> u32 ); MsiGetFeatureInfoA(hproduct.into(), szfeature.into().abi(), ::core::mem::transmute(lpattributes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptitlebuf), ::core::mem::transmute(pcchtitlebuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lphelpbuf), ::core::mem::transmute(pcchhelpbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1400,7 +1400,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureInfoW ( hproduct : MSIHANDLE , szfeature : :: windows::core::PCWSTR , lpattributes : *mut u32 , lptitlebuf : :: windows::core::PWSTR , pcchtitlebuf : *mut u32 , lphelpbuf : :: windows::core::PWSTR , pcchhelpbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureInfoW ( hproduct : MSIHANDLE , szfeature : :: windows::core::PCWSTR , lpattributes : *mut u32 , lptitlebuf : :: windows::core::PWSTR , pcchtitlebuf : *mut u32 , lphelpbuf : :: windows::core::PWSTR , pcchhelpbuf : *mut u32 ) -> u32 ); MsiGetFeatureInfoW(hproduct.into(), szfeature.into().abi(), ::core::mem::transmute(lpattributes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptitlebuf), ::core::mem::transmute(pcchtitlebuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lphelpbuf), ::core::mem::transmute(pcchhelpbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1410,7 +1410,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureStateA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , piinstalled : *mut INSTALLSTATE , piaction : *mut INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureStateA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , piinstalled : *mut INSTALLSTATE , piaction : *mut INSTALLSTATE ) -> u32 ); MsiGetFeatureStateA(hinstall.into(), szfeature.into().abi(), piinstalled, piaction) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1420,7 +1420,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureStateW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , piinstalled : *mut INSTALLSTATE , piaction : *mut INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureStateW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , piinstalled : *mut INSTALLSTATE , piaction : *mut INSTALLSTATE ) -> u32 ); MsiGetFeatureStateW(hinstall.into(), szfeature.into().abi(), piinstalled, piaction) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1430,7 +1430,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureUsageA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , pdwusecount : *mut u32 , pwdateused : *mut u16 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureUsageA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , pdwusecount : *mut u32 , pwdateused : *mut u16 ) -> u32 ); MsiGetFeatureUsageA(szproduct.into().abi(), szfeature.into().abi(), ::core::mem::transmute(pdwusecount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pwdateused.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1440,7 +1440,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureUsageW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , pdwusecount : *mut u32 , pwdateused : *mut u16 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureUsageW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , pdwusecount : *mut u32 , pwdateused : *mut u16 ) -> u32 ); MsiGetFeatureUsageW(szproduct.into().abi(), szfeature.into().abi(), ::core::mem::transmute(pdwusecount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pwdateused.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1450,7 +1450,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureValidStatesA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , lpinstallstates : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureValidStatesA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , lpinstallstates : *mut u32 ) -> u32 ); MsiGetFeatureValidStatesA(hinstall.into(), szfeature.into().abi(), lpinstallstates) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1460,7 +1460,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFeatureValidStatesW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , lpinstallstates : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFeatureValidStatesW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , lpinstallstates : *mut u32 ) -> u32 ); MsiGetFeatureValidStatesW(hinstall.into(), szfeature.into().abi(), lpinstallstates) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1469,7 +1469,7 @@ pub unsafe fn MsiGetFileHashA(szfilepath: P0, dwoptions: u32, phash: *mut MS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFileHashA ( szfilepath : :: windows::core::PCSTR , dwoptions : u32 , phash : *mut MSIFILEHASHINFO ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFileHashA ( szfilepath : :: windows::core::PCSTR , dwoptions : u32 , phash : *mut MSIFILEHASHINFO ) -> u32 ); MsiGetFileHashA(szfilepath.into().abi(), dwoptions, phash) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1478,7 +1478,7 @@ pub unsafe fn MsiGetFileHashW(szfilepath: P0, dwoptions: u32, phash: *mut MS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFileHashW ( szfilepath : :: windows::core::PCWSTR , dwoptions : u32 , phash : *mut MSIFILEHASHINFO ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFileHashW ( szfilepath : :: windows::core::PCWSTR , dwoptions : u32 , phash : *mut MSIFILEHASHINFO ) -> u32 ); MsiGetFileHashW(szfilepath.into().abi(), dwoptions, phash) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -1488,7 +1488,7 @@ pub unsafe fn MsiGetFileSignatureInformationA(szsignedobjectpath: P0, dwflag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFileSignatureInformationA ( szsignedobjectpath : :: windows::core::PCSTR , dwflags : u32 , ppccertcontext : *mut *mut super::super::Security::Cryptography:: CERT_CONTEXT , pbhashdata : *mut u8 , pcbhashdata : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFileSignatureInformationA ( szsignedobjectpath : :: windows::core::PCSTR , dwflags : u32 , ppccertcontext : *mut *mut super::super::Security::Cryptography:: CERT_CONTEXT , pbhashdata : *mut u8 , pcbhashdata : *mut u32 ) -> :: windows::core::HRESULT ); MsiGetFileSignatureInformationA(szsignedobjectpath.into().abi(), dwflags, ppccertcontext, ::core::mem::transmute(pbhashdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbhashdata.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -1498,7 +1498,7 @@ pub unsafe fn MsiGetFileSignatureInformationW(szsignedobjectpath: P0, dwflag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFileSignatureInformationW ( szsignedobjectpath : :: windows::core::PCWSTR , dwflags : u32 , ppccertcontext : *mut *mut super::super::Security::Cryptography:: CERT_CONTEXT , pbhashdata : *mut u8 , pcbhashdata : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFileSignatureInformationW ( szsignedobjectpath : :: windows::core::PCWSTR , dwflags : u32 , ppccertcontext : *mut *mut super::super::Security::Cryptography:: CERT_CONTEXT , pbhashdata : *mut u8 , pcbhashdata : *mut u32 ) -> :: windows::core::HRESULT ); MsiGetFileSignatureInformationW(szsignedobjectpath.into().abi(), dwflags, ppccertcontext, ::core::mem::transmute(pbhashdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbhashdata.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1507,7 +1507,7 @@ pub unsafe fn MsiGetFileVersionA(szfilepath: P0, lpversionbuf: ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFileVersionA ( szfilepath : :: windows::core::PCSTR , lpversionbuf : :: windows::core::PSTR , pcchversionbuf : *mut u32 , lplangbuf : :: windows::core::PSTR , pcchlangbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFileVersionA ( szfilepath : :: windows::core::PCSTR , lpversionbuf : :: windows::core::PSTR , pcchversionbuf : *mut u32 , lplangbuf : :: windows::core::PSTR , pcchlangbuf : *mut u32 ) -> u32 ); MsiGetFileVersionA(szfilepath.into().abi(), ::core::mem::transmute(lpversionbuf), ::core::mem::transmute(pcchversionbuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lplangbuf), ::core::mem::transmute(pcchlangbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1516,7 +1516,7 @@ pub unsafe fn MsiGetFileVersionW(szfilepath: P0, lpversionbuf: ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetFileVersionW ( szfilepath : :: windows::core::PCWSTR , lpversionbuf : :: windows::core::PWSTR , pcchversionbuf : *mut u32 , lplangbuf : :: windows::core::PWSTR , pcchlangbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetFileVersionW ( szfilepath : :: windows::core::PCWSTR , lpversionbuf : :: windows::core::PWSTR , pcchversionbuf : *mut u32 , lplangbuf : :: windows::core::PWSTR , pcchlangbuf : *mut u32 ) -> u32 ); MsiGetFileVersionW(szfilepath.into().abi(), ::core::mem::transmute(lpversionbuf), ::core::mem::transmute(pcchversionbuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lplangbuf), ::core::mem::transmute(pcchlangbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1525,13 +1525,13 @@ pub unsafe fn MsiGetLanguage(hinstall: P0) -> u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetLanguage ( hinstall : MSIHANDLE ) -> u16 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetLanguage ( hinstall : MSIHANDLE ) -> u16 ); MsiGetLanguage(hinstall.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiGetLastErrorRecord() -> MSIHANDLE { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetLastErrorRecord ( ) -> MSIHANDLE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetLastErrorRecord ( ) -> MSIHANDLE ); MsiGetLastErrorRecord() } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -1541,7 +1541,7 @@ pub unsafe fn MsiGetMode(hinstall: P0, erunmode: MSIRUNMODE) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetMode ( hinstall : MSIHANDLE , erunmode : MSIRUNMODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetMode ( hinstall : MSIHANDLE , erunmode : MSIRUNMODE ) -> super::super::Foundation:: BOOL ); MsiGetMode(hinstall.into(), erunmode) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1551,7 +1551,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetPatchFileListA ( szproductcode : :: windows::core::PCSTR , szpatchpackages : :: windows::core::PCSTR , pcfiles : *mut u32 , pphfilerecords : *mut *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetPatchFileListA ( szproductcode : :: windows::core::PCSTR , szpatchpackages : :: windows::core::PCSTR , pcfiles : *mut u32 , pphfilerecords : *mut *mut MSIHANDLE ) -> u32 ); MsiGetPatchFileListA(szproductcode.into().abi(), szpatchpackages.into().abi(), pcfiles, pphfilerecords) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1561,7 +1561,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetPatchFileListW ( szproductcode : :: windows::core::PCWSTR , szpatchpackages : :: windows::core::PCWSTR , pcfiles : *mut u32 , pphfilerecords : *mut *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetPatchFileListW ( szproductcode : :: windows::core::PCWSTR , szpatchpackages : :: windows::core::PCWSTR , pcfiles : *mut u32 , pphfilerecords : *mut *mut MSIHANDLE ) -> u32 ); MsiGetPatchFileListW(szproductcode.into().abi(), szpatchpackages.into().abi(), pcfiles, pphfilerecords) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1571,7 +1571,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetPatchInfoA ( szpatch : :: windows::core::PCSTR , szattribute : :: windows::core::PCSTR , lpvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetPatchInfoA ( szpatch : :: windows::core::PCSTR , szattribute : :: windows::core::PCSTR , lpvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiGetPatchInfoA(szpatch.into().abi(), szattribute.into().abi(), ::core::mem::transmute(lpvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1583,7 +1583,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetPatchInfoExA ( szpatchcode : :: windows::core::PCSTR , szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , szproperty : :: windows::core::PCSTR , lpvalue : :: windows::core::PSTR , pcchvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetPatchInfoExA ( szpatchcode : :: windows::core::PCSTR , szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , szproperty : :: windows::core::PCSTR , lpvalue : :: windows::core::PSTR , pcchvalue : *mut u32 ) -> u32 ); MsiGetPatchInfoExA(szpatchcode.into().abi(), szproductcode.into().abi(), szusersid.into().abi(), dwcontext, szproperty.into().abi(), ::core::mem::transmute(lpvalue), ::core::mem::transmute(pcchvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1595,7 +1595,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetPatchInfoExW ( szpatchcode : :: windows::core::PCWSTR , szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , szproperty : :: windows::core::PCWSTR , lpvalue : :: windows::core::PWSTR , pcchvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetPatchInfoExW ( szpatchcode : :: windows::core::PCWSTR , szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , szproperty : :: windows::core::PCWSTR , lpvalue : :: windows::core::PWSTR , pcchvalue : *mut u32 ) -> u32 ); MsiGetPatchInfoExW(szpatchcode.into().abi(), szproductcode.into().abi(), szusersid.into().abi(), dwcontext, szproperty.into().abi(), ::core::mem::transmute(lpvalue), ::core::mem::transmute(pcchvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1605,7 +1605,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetPatchInfoW ( szpatch : :: windows::core::PCWSTR , szattribute : :: windows::core::PCWSTR , lpvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetPatchInfoW ( szpatch : :: windows::core::PCWSTR , szattribute : :: windows::core::PCWSTR , lpvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiGetPatchInfoW(szpatch.into().abi(), szattribute.into().abi(), ::core::mem::transmute(lpvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1614,7 +1614,7 @@ pub unsafe fn MsiGetProductCodeA(szcomponent: P0, lpbuf39: ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductCodeA ( szcomponent : :: windows::core::PCSTR , lpbuf39 : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductCodeA ( szcomponent : :: windows::core::PCSTR , lpbuf39 : :: windows::core::PSTR ) -> u32 ); MsiGetProductCodeA(szcomponent.into().abi(), ::core::mem::transmute(lpbuf39)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1623,7 +1623,7 @@ pub unsafe fn MsiGetProductCodeW(szcomponent: P0, lpbuf39: ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductCodeW ( szcomponent : :: windows::core::PCWSTR , lpbuf39 : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductCodeW ( szcomponent : :: windows::core::PCWSTR , lpbuf39 : :: windows::core::PWSTR ) -> u32 ); MsiGetProductCodeW(szcomponent.into().abi(), ::core::mem::transmute(lpbuf39)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1633,7 +1633,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductInfoA ( szproduct : :: windows::core::PCSTR , szattribute : :: windows::core::PCSTR , lpvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductInfoA ( szproduct : :: windows::core::PCSTR , szattribute : :: windows::core::PCSTR , lpvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiGetProductInfoA(szproduct.into().abi(), szattribute.into().abi(), ::core::mem::transmute(lpvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1644,7 +1644,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductInfoExA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , szproperty : :: windows::core::PCSTR , szvalue : :: windows::core::PSTR , pcchvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductInfoExA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , szproperty : :: windows::core::PCSTR , szvalue : :: windows::core::PSTR , pcchvalue : *mut u32 ) -> u32 ); MsiGetProductInfoExA(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, szproperty.into().abi(), ::core::mem::transmute(szvalue), ::core::mem::transmute(pcchvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1655,7 +1655,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductInfoExW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , szproperty : :: windows::core::PCWSTR , szvalue : :: windows::core::PWSTR , pcchvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductInfoExW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , szproperty : :: windows::core::PCWSTR , szvalue : :: windows::core::PWSTR , pcchvalue : *mut u32 ) -> u32 ); MsiGetProductInfoExW(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, szproperty.into().abi(), ::core::mem::transmute(szvalue), ::core::mem::transmute(pcchvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1664,7 +1664,7 @@ pub unsafe fn MsiGetProductInfoFromScriptA(szscriptfile: P0, lpproductbuf39: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductInfoFromScriptA ( szscriptfile : :: windows::core::PCSTR , lpproductbuf39 : :: windows::core::PSTR , plgidlanguage : *mut u16 , pdwversion : *mut u32 , lpnamebuf : :: windows::core::PSTR , pcchnamebuf : *mut u32 , lppackagebuf : :: windows::core::PSTR , pcchpackagebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductInfoFromScriptA ( szscriptfile : :: windows::core::PCSTR , lpproductbuf39 : :: windows::core::PSTR , plgidlanguage : *mut u16 , pdwversion : *mut u32 , lpnamebuf : :: windows::core::PSTR , pcchnamebuf : *mut u32 , lppackagebuf : :: windows::core::PSTR , pcchpackagebuf : *mut u32 ) -> u32 ); MsiGetProductInfoFromScriptA(szscriptfile.into().abi(), ::core::mem::transmute(lpproductbuf39), ::core::mem::transmute(plgidlanguage.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwversion.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpnamebuf), ::core::mem::transmute(pcchnamebuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lppackagebuf), ::core::mem::transmute(pcchpackagebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1673,7 +1673,7 @@ pub unsafe fn MsiGetProductInfoFromScriptW(szscriptfile: P0, lpproductbuf39: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductInfoFromScriptW ( szscriptfile : :: windows::core::PCWSTR , lpproductbuf39 : :: windows::core::PWSTR , plgidlanguage : *mut u16 , pdwversion : *mut u32 , lpnamebuf : :: windows::core::PWSTR , pcchnamebuf : *mut u32 , lppackagebuf : :: windows::core::PWSTR , pcchpackagebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductInfoFromScriptW ( szscriptfile : :: windows::core::PCWSTR , lpproductbuf39 : :: windows::core::PWSTR , plgidlanguage : *mut u16 , pdwversion : *mut u32 , lpnamebuf : :: windows::core::PWSTR , pcchnamebuf : *mut u32 , lppackagebuf : :: windows::core::PWSTR , pcchpackagebuf : *mut u32 ) -> u32 ); MsiGetProductInfoFromScriptW(szscriptfile.into().abi(), ::core::mem::transmute(lpproductbuf39), ::core::mem::transmute(plgidlanguage.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwversion.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpnamebuf), ::core::mem::transmute(pcchnamebuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lppackagebuf), ::core::mem::transmute(pcchpackagebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1683,7 +1683,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductInfoW ( szproduct : :: windows::core::PCWSTR , szattribute : :: windows::core::PCWSTR , lpvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductInfoW ( szproduct : :: windows::core::PCWSTR , szattribute : :: windows::core::PCWSTR , lpvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiGetProductInfoW(szproduct.into().abi(), szattribute.into().abi(), ::core::mem::transmute(lpvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1693,7 +1693,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductPropertyA ( hproduct : MSIHANDLE , szproperty : :: windows::core::PCSTR , lpvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductPropertyA ( hproduct : MSIHANDLE , szproperty : :: windows::core::PCSTR , lpvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiGetProductPropertyA(hproduct.into(), szproperty.into().abi(), ::core::mem::transmute(lpvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1703,7 +1703,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetProductPropertyW ( hproduct : MSIHANDLE , szproperty : :: windows::core::PCWSTR , lpvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetProductPropertyW ( hproduct : MSIHANDLE , szproperty : :: windows::core::PCWSTR , lpvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiGetProductPropertyW(hproduct.into(), szproperty.into().abi(), ::core::mem::transmute(lpvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1713,7 +1713,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetPropertyA ( hinstall : MSIHANDLE , szname : :: windows::core::PCSTR , szvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetPropertyA ( hinstall : MSIHANDLE , szname : :: windows::core::PCSTR , szvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiGetPropertyA(hinstall.into(), szname.into().abi(), ::core::mem::transmute(szvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1723,7 +1723,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetPropertyW ( hinstall : MSIHANDLE , szname : :: windows::core::PCWSTR , szvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetPropertyW ( hinstall : MSIHANDLE , szname : :: windows::core::PCWSTR , szvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiGetPropertyW(hinstall.into(), szname.into().abi(), ::core::mem::transmute(szvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1732,7 +1732,7 @@ pub unsafe fn MsiGetShortcutTargetA(szshortcutpath: P0, szproductcode: ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetShortcutTargetA ( szshortcutpath : :: windows::core::PCSTR , szproductcode : :: windows::core::PSTR , szfeatureid : :: windows::core::PSTR , szcomponentcode : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetShortcutTargetA ( szshortcutpath : :: windows::core::PCSTR , szproductcode : :: windows::core::PSTR , szfeatureid : :: windows::core::PSTR , szcomponentcode : :: windows::core::PSTR ) -> u32 ); MsiGetShortcutTargetA(szshortcutpath.into().abi(), ::core::mem::transmute(szproductcode), ::core::mem::transmute(szfeatureid), ::core::mem::transmute(szcomponentcode)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1741,7 +1741,7 @@ pub unsafe fn MsiGetShortcutTargetW(szshortcutpath: P0, szproductcode: ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetShortcutTargetW ( szshortcutpath : :: windows::core::PCWSTR , szproductcode : :: windows::core::PWSTR , szfeatureid : :: windows::core::PWSTR , szcomponentcode : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetShortcutTargetW ( szshortcutpath : :: windows::core::PCWSTR , szproductcode : :: windows::core::PWSTR , szfeatureid : :: windows::core::PWSTR , szcomponentcode : :: windows::core::PWSTR ) -> u32 ); MsiGetShortcutTargetW(szshortcutpath.into().abi(), ::core::mem::transmute(szproductcode), ::core::mem::transmute(szfeatureid), ::core::mem::transmute(szcomponentcode)) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1751,7 +1751,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetSourcePathA ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCSTR , szpathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetSourcePathA ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCSTR , szpathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiGetSourcePathA(hinstall.into(), szfolder.into().abi(), ::core::mem::transmute(szpathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1761,7 +1761,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetSourcePathW ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCWSTR , szpathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetSourcePathW ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCWSTR , szpathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiGetSourcePathW(hinstall.into(), szfolder.into().abi(), ::core::mem::transmute(szpathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1771,7 +1771,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetSummaryInformationA ( hdatabase : MSIHANDLE , szdatabasepath : :: windows::core::PCSTR , uiupdatecount : u32 , phsummaryinfo : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetSummaryInformationA ( hdatabase : MSIHANDLE , szdatabasepath : :: windows::core::PCSTR , uiupdatecount : u32 , phsummaryinfo : *mut MSIHANDLE ) -> u32 ); MsiGetSummaryInformationA(hdatabase.into(), szdatabasepath.into().abi(), uiupdatecount, phsummaryinfo) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1781,7 +1781,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetSummaryInformationW ( hdatabase : MSIHANDLE , szdatabasepath : :: windows::core::PCWSTR , uiupdatecount : u32 , phsummaryinfo : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetSummaryInformationW ( hdatabase : MSIHANDLE , szdatabasepath : :: windows::core::PCWSTR , uiupdatecount : u32 , phsummaryinfo : *mut MSIHANDLE ) -> u32 ); MsiGetSummaryInformationW(hdatabase.into(), szdatabasepath.into().abi(), uiupdatecount, phsummaryinfo) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1791,7 +1791,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetTargetPathA ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCSTR , szpathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetTargetPathA ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCSTR , szpathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiGetTargetPathA(hinstall.into(), szfolder.into().abi(), ::core::mem::transmute(szpathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1801,7 +1801,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetTargetPathW ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCWSTR , szpathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetTargetPathW ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCWSTR , szpathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiGetTargetPathW(hinstall.into(), szfolder.into().abi(), ::core::mem::transmute(szpathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1810,7 +1810,7 @@ pub unsafe fn MsiGetUserInfoA(szproduct: P0, lpusernamebuf: ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetUserInfoA ( szproduct : :: windows::core::PCSTR , lpusernamebuf : :: windows::core::PSTR , pcchusernamebuf : *mut u32 , lporgnamebuf : :: windows::core::PSTR , pcchorgnamebuf : *mut u32 , lpserialbuf : :: windows::core::PSTR , pcchserialbuf : *mut u32 ) -> USERINFOSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetUserInfoA ( szproduct : :: windows::core::PCSTR , lpusernamebuf : :: windows::core::PSTR , pcchusernamebuf : *mut u32 , lporgnamebuf : :: windows::core::PSTR , pcchorgnamebuf : *mut u32 , lpserialbuf : :: windows::core::PSTR , pcchserialbuf : *mut u32 ) -> USERINFOSTATE ); MsiGetUserInfoA(szproduct.into().abi(), ::core::mem::transmute(lpusernamebuf), ::core::mem::transmute(pcchusernamebuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lporgnamebuf), ::core::mem::transmute(pcchorgnamebuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpserialbuf), ::core::mem::transmute(pcchserialbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1819,7 +1819,7 @@ pub unsafe fn MsiGetUserInfoW(szproduct: P0, lpusernamebuf: ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiGetUserInfoW ( szproduct : :: windows::core::PCWSTR , lpusernamebuf : :: windows::core::PWSTR , pcchusernamebuf : *mut u32 , lporgnamebuf : :: windows::core::PWSTR , pcchorgnamebuf : *mut u32 , lpserialbuf : :: windows::core::PWSTR , pcchserialbuf : *mut u32 ) -> USERINFOSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiGetUserInfoW ( szproduct : :: windows::core::PCWSTR , lpusernamebuf : :: windows::core::PWSTR , pcchusernamebuf : *mut u32 , lporgnamebuf : :: windows::core::PWSTR , pcchorgnamebuf : *mut u32 , lpserialbuf : :: windows::core::PWSTR , pcchserialbuf : *mut u32 ) -> USERINFOSTATE ); MsiGetUserInfoW(szproduct.into().abi(), ::core::mem::transmute(lpusernamebuf), ::core::mem::transmute(pcchusernamebuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lporgnamebuf), ::core::mem::transmute(pcchorgnamebuf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpserialbuf), ::core::mem::transmute(pcchserialbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1829,7 +1829,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiInstallMissingComponentA ( szproduct : :: windows::core::PCSTR , szcomponent : :: windows::core::PCSTR , einstallstate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiInstallMissingComponentA ( szproduct : :: windows::core::PCSTR , szcomponent : :: windows::core::PCSTR , einstallstate : INSTALLSTATE ) -> u32 ); MsiInstallMissingComponentA(szproduct.into().abi(), szcomponent.into().abi(), einstallstate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1839,7 +1839,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiInstallMissingComponentW ( szproduct : :: windows::core::PCWSTR , szcomponent : :: windows::core::PCWSTR , einstallstate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiInstallMissingComponentW ( szproduct : :: windows::core::PCWSTR , szcomponent : :: windows::core::PCWSTR , einstallstate : INSTALLSTATE ) -> u32 ); MsiInstallMissingComponentW(szproduct.into().abi(), szcomponent.into().abi(), einstallstate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1849,7 +1849,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiInstallMissingFileA ( szproduct : :: windows::core::PCSTR , szfile : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiInstallMissingFileA ( szproduct : :: windows::core::PCSTR , szfile : :: windows::core::PCSTR ) -> u32 ); MsiInstallMissingFileA(szproduct.into().abi(), szfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1859,7 +1859,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiInstallMissingFileW ( szproduct : :: windows::core::PCWSTR , szfile : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiInstallMissingFileW ( szproduct : :: windows::core::PCWSTR , szfile : :: windows::core::PCWSTR ) -> u32 ); MsiInstallMissingFileW(szproduct.into().abi(), szfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1869,7 +1869,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiInstallProductA ( szpackagepath : :: windows::core::PCSTR , szcommandline : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiInstallProductA ( szpackagepath : :: windows::core::PCSTR , szcommandline : :: windows::core::PCSTR ) -> u32 ); MsiInstallProductA(szpackagepath.into().abi(), szcommandline.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1879,7 +1879,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiInstallProductW ( szpackagepath : :: windows::core::PCWSTR , szcommandline : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiInstallProductW ( szpackagepath : :: windows::core::PCWSTR , szcommandline : :: windows::core::PCWSTR ) -> u32 ); MsiInstallProductW(szpackagepath.into().abi(), szcommandline.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -1889,7 +1889,7 @@ pub unsafe fn MsiIsProductElevatedA(szproduct: P0, pfelevated: *mut super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiIsProductElevatedA ( szproduct : :: windows::core::PCSTR , pfelevated : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiIsProductElevatedA ( szproduct : :: windows::core::PCSTR , pfelevated : *mut super::super::Foundation:: BOOL ) -> u32 ); MsiIsProductElevatedA(szproduct.into().abi(), pfelevated) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -1899,7 +1899,7 @@ pub unsafe fn MsiIsProductElevatedW(szproduct: P0, pfelevated: *mut super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiIsProductElevatedW ( szproduct : :: windows::core::PCWSTR , pfelevated : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiIsProductElevatedW ( szproduct : :: windows::core::PCWSTR , pfelevated : *mut super::super::Foundation:: BOOL ) -> u32 ); MsiIsProductElevatedW(szproduct.into().abi(), pfelevated) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -1909,7 +1909,7 @@ pub unsafe fn MsiJoinTransaction(htransactionhandle: P0, dwtransactionattrib where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiJoinTransaction ( htransactionhandle : MSIHANDLE , dwtransactionattributes : u32 , phchangeofownerevent : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiJoinTransaction ( htransactionhandle : MSIHANDLE , dwtransactionattributes : u32 , phchangeofownerevent : *mut super::super::Foundation:: HANDLE ) -> u32 ); MsiJoinTransaction(htransactionhandle.into(), dwtransactionattributes, phchangeofownerevent) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1918,7 +1918,7 @@ pub unsafe fn MsiLocateComponentA(szcomponent: P0, lppathbuf: ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiLocateComponentA ( szcomponent : :: windows::core::PCSTR , lppathbuf : :: windows::core::PSTR , pcchbuf : *mut u32 ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiLocateComponentA ( szcomponent : :: windows::core::PCSTR , lppathbuf : :: windows::core::PSTR , pcchbuf : *mut u32 ) -> INSTALLSTATE ); MsiLocateComponentA(szcomponent.into().abi(), ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1927,7 +1927,7 @@ pub unsafe fn MsiLocateComponentW(szcomponent: P0, lppathbuf: ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiLocateComponentW ( szcomponent : :: windows::core::PCWSTR , lppathbuf : :: windows::core::PWSTR , pcchbuf : *mut u32 ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiLocateComponentW ( szcomponent : :: windows::core::PCWSTR , lppathbuf : :: windows::core::PWSTR , pcchbuf : *mut u32 ) -> INSTALLSTATE ); MsiLocateComponentW(szcomponent.into().abi(), ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1937,7 +1937,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiNotifySidChangeA ( poldsid : :: windows::core::PCSTR , pnewsid : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiNotifySidChangeA ( poldsid : :: windows::core::PCSTR , pnewsid : :: windows::core::PCSTR ) -> u32 ); MsiNotifySidChangeA(poldsid.into().abi(), pnewsid.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1947,7 +1947,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiNotifySidChangeW ( poldsid : :: windows::core::PCWSTR , pnewsid : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiNotifySidChangeW ( poldsid : :: windows::core::PCWSTR , pnewsid : :: windows::core::PCWSTR ) -> u32 ); MsiNotifySidChangeW(poldsid.into().abi(), pnewsid.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1957,7 +1957,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiOpenDatabaseA ( szdatabasepath : :: windows::core::PCSTR , szpersist : :: windows::core::PCSTR , phdatabase : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiOpenDatabaseA ( szdatabasepath : :: windows::core::PCSTR , szpersist : :: windows::core::PCSTR , phdatabase : *mut MSIHANDLE ) -> u32 ); MsiOpenDatabaseA(szdatabasepath.into().abi(), szpersist.into().abi(), phdatabase) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1967,7 +1967,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiOpenDatabaseW ( szdatabasepath : :: windows::core::PCWSTR , szpersist : :: windows::core::PCWSTR , phdatabase : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiOpenDatabaseW ( szdatabasepath : :: windows::core::PCWSTR , szpersist : :: windows::core::PCWSTR , phdatabase : *mut MSIHANDLE ) -> u32 ); MsiOpenDatabaseW(szdatabasepath.into().abi(), szpersist.into().abi(), phdatabase) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1976,7 +1976,7 @@ pub unsafe fn MsiOpenPackageA(szpackagepath: P0, hproduct: *mut MSIHANDLE) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiOpenPackageA ( szpackagepath : :: windows::core::PCSTR , hproduct : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiOpenPackageA ( szpackagepath : :: windows::core::PCSTR , hproduct : *mut MSIHANDLE ) -> u32 ); MsiOpenPackageA(szpackagepath.into().abi(), hproduct) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1985,7 +1985,7 @@ pub unsafe fn MsiOpenPackageExA(szpackagepath: P0, dwoptions: u32, hproduct: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiOpenPackageExA ( szpackagepath : :: windows::core::PCSTR , dwoptions : u32 , hproduct : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiOpenPackageExA ( szpackagepath : :: windows::core::PCSTR , dwoptions : u32 , hproduct : *mut MSIHANDLE ) -> u32 ); MsiOpenPackageExA(szpackagepath.into().abi(), dwoptions, hproduct) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -1994,7 +1994,7 @@ pub unsafe fn MsiOpenPackageExW(szpackagepath: P0, dwoptions: u32, hproduct: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiOpenPackageExW ( szpackagepath : :: windows::core::PCWSTR , dwoptions : u32 , hproduct : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiOpenPackageExW ( szpackagepath : :: windows::core::PCWSTR , dwoptions : u32 , hproduct : *mut MSIHANDLE ) -> u32 ); MsiOpenPackageExW(szpackagepath.into().abi(), dwoptions, hproduct) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2003,7 +2003,7 @@ pub unsafe fn MsiOpenPackageW(szpackagepath: P0, hproduct: *mut MSIHANDLE) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiOpenPackageW ( szpackagepath : :: windows::core::PCWSTR , hproduct : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiOpenPackageW ( szpackagepath : :: windows::core::PCWSTR , hproduct : *mut MSIHANDLE ) -> u32 ); MsiOpenPackageW(szpackagepath.into().abi(), hproduct) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2012,7 +2012,7 @@ pub unsafe fn MsiOpenProductA(szproduct: P0, hproduct: *mut MSIHANDLE) -> u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiOpenProductA ( szproduct : :: windows::core::PCSTR , hproduct : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiOpenProductA ( szproduct : :: windows::core::PCSTR , hproduct : *mut MSIHANDLE ) -> u32 ); MsiOpenProductA(szproduct.into().abi(), hproduct) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2021,7 +2021,7 @@ pub unsafe fn MsiOpenProductW(szproduct: P0, hproduct: *mut MSIHANDLE) -> u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiOpenProductW ( szproduct : :: windows::core::PCWSTR , hproduct : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiOpenProductW ( szproduct : :: windows::core::PCWSTR , hproduct : *mut MSIHANDLE ) -> u32 ); MsiOpenProductW(szproduct.into().abi(), hproduct) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2032,7 +2032,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiPreviewBillboardA ( hpreview : MSIHANDLE , szcontrolname : :: windows::core::PCSTR , szbillboard : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiPreviewBillboardA ( hpreview : MSIHANDLE , szcontrolname : :: windows::core::PCSTR , szbillboard : :: windows::core::PCSTR ) -> u32 ); MsiPreviewBillboardA(hpreview.into(), szcontrolname.into().abi(), szbillboard.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2043,7 +2043,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiPreviewBillboardW ( hpreview : MSIHANDLE , szcontrolname : :: windows::core::PCWSTR , szbillboard : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiPreviewBillboardW ( hpreview : MSIHANDLE , szcontrolname : :: windows::core::PCWSTR , szbillboard : :: windows::core::PCWSTR ) -> u32 ); MsiPreviewBillboardW(hpreview.into(), szcontrolname.into().abi(), szbillboard.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2053,7 +2053,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiPreviewDialogA ( hpreview : MSIHANDLE , szdialogname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiPreviewDialogA ( hpreview : MSIHANDLE , szdialogname : :: windows::core::PCSTR ) -> u32 ); MsiPreviewDialogA(hpreview.into(), szdialogname.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2063,7 +2063,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiPreviewDialogW ( hpreview : MSIHANDLE , szdialogname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiPreviewDialogW ( hpreview : MSIHANDLE , szdialogname : :: windows::core::PCWSTR ) -> u32 ); MsiPreviewDialogW(hpreview.into(), szdialogname.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2077,7 +2077,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProcessAdvertiseScriptA ( szscriptfile : :: windows::core::PCSTR , sziconfolder : :: windows::core::PCSTR , hregdata : super::Registry:: HKEY , fshortcuts : super::super::Foundation:: BOOL , fremoveitems : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProcessAdvertiseScriptA ( szscriptfile : :: windows::core::PCSTR , sziconfolder : :: windows::core::PCSTR , hregdata : super::Registry:: HKEY , fshortcuts : super::super::Foundation:: BOOL , fremoveitems : super::super::Foundation:: BOOL ) -> u32 ); MsiProcessAdvertiseScriptA(szscriptfile.into().abi(), sziconfolder.into().abi(), hregdata.into(), fshortcuts.into(), fremoveitems.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -2091,7 +2091,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProcessAdvertiseScriptW ( szscriptfile : :: windows::core::PCWSTR , sziconfolder : :: windows::core::PCWSTR , hregdata : super::Registry:: HKEY , fshortcuts : super::super::Foundation:: BOOL , fremoveitems : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProcessAdvertiseScriptW ( szscriptfile : :: windows::core::PCWSTR , sziconfolder : :: windows::core::PCWSTR , hregdata : super::Registry:: HKEY , fshortcuts : super::super::Foundation:: BOOL , fremoveitems : super::super::Foundation:: BOOL ) -> u32 ); MsiProcessAdvertiseScriptW(szscriptfile.into().abi(), sziconfolder.into().abi(), hregdata.into(), fshortcuts.into(), fremoveitems.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2101,7 +2101,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProcessMessage ( hinstall : MSIHANDLE , emessagetype : INSTALLMESSAGE , hrecord : MSIHANDLE ) -> i32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProcessMessage ( hinstall : MSIHANDLE , emessagetype : INSTALLMESSAGE , hrecord : MSIHANDLE ) -> i32 ); MsiProcessMessage(hinstall.into(), emessagetype, hrecord.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2111,7 +2111,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProvideAssemblyA ( szassemblyname : :: windows::core::PCSTR , szappcontext : :: windows::core::PCSTR , dwinstallmode : INSTALLMODE , dwassemblyinfo : MSIASSEMBLYINFO , lppathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProvideAssemblyA ( szassemblyname : :: windows::core::PCSTR , szappcontext : :: windows::core::PCSTR , dwinstallmode : INSTALLMODE , dwassemblyinfo : MSIASSEMBLYINFO , lppathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiProvideAssemblyA(szassemblyname.into().abi(), szappcontext.into().abi(), dwinstallmode, dwassemblyinfo, ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2121,7 +2121,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProvideAssemblyW ( szassemblyname : :: windows::core::PCWSTR , szappcontext : :: windows::core::PCWSTR , dwinstallmode : INSTALLMODE , dwassemblyinfo : MSIASSEMBLYINFO , lppathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProvideAssemblyW ( szassemblyname : :: windows::core::PCWSTR , szappcontext : :: windows::core::PCWSTR , dwinstallmode : INSTALLMODE , dwassemblyinfo : MSIASSEMBLYINFO , lppathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiProvideAssemblyW(szassemblyname.into().abi(), szappcontext.into().abi(), dwinstallmode, dwassemblyinfo, ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2132,7 +2132,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProvideComponentA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , szcomponent : :: windows::core::PCSTR , dwinstallmode : INSTALLMODE , lppathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProvideComponentA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , szcomponent : :: windows::core::PCSTR , dwinstallmode : INSTALLMODE , lppathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiProvideComponentA(szproduct.into().abi(), szfeature.into().abi(), szcomponent.into().abi(), dwinstallmode, ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2143,7 +2143,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProvideComponentW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , szcomponent : :: windows::core::PCWSTR , dwinstallmode : INSTALLMODE , lppathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProvideComponentW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , szcomponent : :: windows::core::PCWSTR , dwinstallmode : INSTALLMODE , lppathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiProvideComponentW(szproduct.into().abi(), szfeature.into().abi(), szcomponent.into().abi(), dwinstallmode, ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2153,7 +2153,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProvideQualifiedComponentA ( szcategory : :: windows::core::PCSTR , szqualifier : :: windows::core::PCSTR , dwinstallmode : INSTALLMODE , lppathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProvideQualifiedComponentA ( szcategory : :: windows::core::PCSTR , szqualifier : :: windows::core::PCSTR , dwinstallmode : INSTALLMODE , lppathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiProvideQualifiedComponentA(szcategory.into().abi(), szqualifier.into().abi(), dwinstallmode, ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2164,7 +2164,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProvideQualifiedComponentExA ( szcategory : :: windows::core::PCSTR , szqualifier : :: windows::core::PCSTR , dwinstallmode : INSTALLMODE , szproduct : :: windows::core::PCSTR , dwunused1 : u32 , dwunused2 : u32 , lppathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProvideQualifiedComponentExA ( szcategory : :: windows::core::PCSTR , szqualifier : :: windows::core::PCSTR , dwinstallmode : INSTALLMODE , szproduct : :: windows::core::PCSTR , dwunused1 : u32 , dwunused2 : u32 , lppathbuf : :: windows::core::PSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiProvideQualifiedComponentExA(szcategory.into().abi(), szqualifier.into().abi(), dwinstallmode, szproduct.into().abi(), dwunused1, dwunused2, ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2175,7 +2175,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProvideQualifiedComponentExW ( szcategory : :: windows::core::PCWSTR , szqualifier : :: windows::core::PCWSTR , dwinstallmode : INSTALLMODE , szproduct : :: windows::core::PCWSTR , dwunused1 : u32 , dwunused2 : u32 , lppathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProvideQualifiedComponentExW ( szcategory : :: windows::core::PCWSTR , szqualifier : :: windows::core::PCWSTR , dwinstallmode : INSTALLMODE , szproduct : :: windows::core::PCWSTR , dwunused1 : u32 , dwunused2 : u32 , lppathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiProvideQualifiedComponentExW(szcategory.into().abi(), szqualifier.into().abi(), dwinstallmode, szproduct.into().abi(), dwunused1, dwunused2, ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2185,7 +2185,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiProvideQualifiedComponentW ( szcategory : :: windows::core::PCWSTR , szqualifier : :: windows::core::PCWSTR , dwinstallmode : INSTALLMODE , lppathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiProvideQualifiedComponentW ( szcategory : :: windows::core::PCWSTR , szqualifier : :: windows::core::PCWSTR , dwinstallmode : INSTALLMODE , lppathbuf : :: windows::core::PWSTR , pcchpathbuf : *mut u32 ) -> u32 ); MsiProvideQualifiedComponentW(szcategory.into().abi(), szqualifier.into().abi(), dwinstallmode, ::core::mem::transmute(lppathbuf), ::core::mem::transmute(pcchpathbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2196,7 +2196,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiQueryComponentStateA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , szcomponentcode : :: windows::core::PCSTR , pdwstate : *mut INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiQueryComponentStateA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , szcomponentcode : :: windows::core::PCSTR , pdwstate : *mut INSTALLSTATE ) -> u32 ); MsiQueryComponentStateA(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, szcomponentcode.into().abi(), ::core::mem::transmute(pdwstate.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2207,7 +2207,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiQueryComponentStateW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , szcomponentcode : :: windows::core::PCWSTR , pdwstate : *mut INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiQueryComponentStateW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , szcomponentcode : :: windows::core::PCWSTR , pdwstate : *mut INSTALLSTATE ) -> u32 ); MsiQueryComponentStateW(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, szcomponentcode.into().abi(), ::core::mem::transmute(pdwstate.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2217,7 +2217,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiQueryFeatureStateA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiQueryFeatureStateA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR ) -> INSTALLSTATE ); MsiQueryFeatureStateA(szproduct.into().abi(), szfeature.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2228,7 +2228,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiQueryFeatureStateExA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , szfeature : :: windows::core::PCSTR , pdwstate : *mut INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiQueryFeatureStateExA ( szproductcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , szfeature : :: windows::core::PCSTR , pdwstate : *mut INSTALLSTATE ) -> u32 ); MsiQueryFeatureStateExA(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, szfeature.into().abi(), ::core::mem::transmute(pdwstate.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2239,7 +2239,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiQueryFeatureStateExW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , szfeature : :: windows::core::PCWSTR , pdwstate : *mut INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiQueryFeatureStateExW ( szproductcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , szfeature : :: windows::core::PCWSTR , pdwstate : *mut INSTALLSTATE ) -> u32 ); MsiQueryFeatureStateExW(szproductcode.into().abi(), szusersid.into().abi(), dwcontext, szfeature.into().abi(), ::core::mem::transmute(pdwstate.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2249,7 +2249,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiQueryFeatureStateW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiQueryFeatureStateW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR ) -> INSTALLSTATE ); MsiQueryFeatureStateW(szproduct.into().abi(), szfeature.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2258,7 +2258,7 @@ pub unsafe fn MsiQueryProductStateA(szproduct: P0) -> INSTALLSTATE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiQueryProductStateA ( szproduct : :: windows::core::PCSTR ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiQueryProductStateA ( szproduct : :: windows::core::PCSTR ) -> INSTALLSTATE ); MsiQueryProductStateA(szproduct.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2267,7 +2267,7 @@ pub unsafe fn MsiQueryProductStateW(szproduct: P0) -> INSTALLSTATE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiQueryProductStateW ( szproduct : :: windows::core::PCWSTR ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiQueryProductStateW ( szproduct : :: windows::core::PCWSTR ) -> INSTALLSTATE ); MsiQueryProductStateW(szproduct.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2276,7 +2276,7 @@ pub unsafe fn MsiRecordClearData(hrecord: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordClearData ( hrecord : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordClearData ( hrecord : MSIHANDLE ) -> u32 ); MsiRecordClearData(hrecord.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2285,7 +2285,7 @@ pub unsafe fn MsiRecordDataSize(hrecord: P0, ifield: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordDataSize ( hrecord : MSIHANDLE , ifield : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordDataSize ( hrecord : MSIHANDLE , ifield : u32 ) -> u32 ); MsiRecordDataSize(hrecord.into(), ifield) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2294,7 +2294,7 @@ pub unsafe fn MsiRecordGetFieldCount(hrecord: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordGetFieldCount ( hrecord : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordGetFieldCount ( hrecord : MSIHANDLE ) -> u32 ); MsiRecordGetFieldCount(hrecord.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2303,7 +2303,7 @@ pub unsafe fn MsiRecordGetInteger(hrecord: P0, ifield: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordGetInteger ( hrecord : MSIHANDLE , ifield : u32 ) -> i32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordGetInteger ( hrecord : MSIHANDLE , ifield : u32 ) -> i32 ); MsiRecordGetInteger(hrecord.into(), ifield) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2312,7 +2312,7 @@ pub unsafe fn MsiRecordGetStringA(hrecord: P0, ifield: u32, szvaluebuf: ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordGetStringA ( hrecord : MSIHANDLE , ifield : u32 , szvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordGetStringA ( hrecord : MSIHANDLE , ifield : u32 , szvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiRecordGetStringA(hrecord.into(), ifield, ::core::mem::transmute(szvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2321,7 +2321,7 @@ pub unsafe fn MsiRecordGetStringW(hrecord: P0, ifield: u32, szvaluebuf: ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordGetStringW ( hrecord : MSIHANDLE , ifield : u32 , szvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordGetStringW ( hrecord : MSIHANDLE , ifield : u32 , szvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiRecordGetStringW(hrecord.into(), ifield, ::core::mem::transmute(szvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -2331,7 +2331,7 @@ pub unsafe fn MsiRecordIsNull(hrecord: P0, ifield: u32) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordIsNull ( hrecord : MSIHANDLE , ifield : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordIsNull ( hrecord : MSIHANDLE , ifield : u32 ) -> super::super::Foundation:: BOOL ); MsiRecordIsNull(hrecord.into(), ifield) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2340,7 +2340,7 @@ pub unsafe fn MsiRecordReadStream(hrecord: P0, ifield: u32, szdatabuf: ::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordReadStream ( hrecord : MSIHANDLE , ifield : u32 , szdatabuf : :: windows::core::PSTR , pcbdatabuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordReadStream ( hrecord : MSIHANDLE , ifield : u32 , szdatabuf : :: windows::core::PSTR , pcbdatabuf : *mut u32 ) -> u32 ); MsiRecordReadStream(hrecord.into(), ifield, ::core::mem::transmute(szdatabuf), pcbdatabuf) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2349,7 +2349,7 @@ pub unsafe fn MsiRecordSetInteger(hrecord: P0, ifield: u32, ivalue: i32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordSetInteger ( hrecord : MSIHANDLE , ifield : u32 , ivalue : i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordSetInteger ( hrecord : MSIHANDLE , ifield : u32 , ivalue : i32 ) -> u32 ); MsiRecordSetInteger(hrecord.into(), ifield, ivalue) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2359,7 +2359,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordSetStreamA ( hrecord : MSIHANDLE , ifield : u32 , szfilepath : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordSetStreamA ( hrecord : MSIHANDLE , ifield : u32 , szfilepath : :: windows::core::PCSTR ) -> u32 ); MsiRecordSetStreamA(hrecord.into(), ifield, szfilepath.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2369,7 +2369,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordSetStreamW ( hrecord : MSIHANDLE , ifield : u32 , szfilepath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordSetStreamW ( hrecord : MSIHANDLE , ifield : u32 , szfilepath : :: windows::core::PCWSTR ) -> u32 ); MsiRecordSetStreamW(hrecord.into(), ifield, szfilepath.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2379,7 +2379,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordSetStringA ( hrecord : MSIHANDLE , ifield : u32 , szvalue : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordSetStringA ( hrecord : MSIHANDLE , ifield : u32 , szvalue : :: windows::core::PCSTR ) -> u32 ); MsiRecordSetStringA(hrecord.into(), ifield, szvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2389,7 +2389,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRecordSetStringW ( hrecord : MSIHANDLE , ifield : u32 , szvalue : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRecordSetStringW ( hrecord : MSIHANDLE , ifield : u32 , szvalue : :: windows::core::PCWSTR ) -> u32 ); MsiRecordSetStringW(hrecord.into(), ifield, szvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2399,7 +2399,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiReinstallFeatureA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , dwreinstallmode : REINSTALLMODE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiReinstallFeatureA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , dwreinstallmode : REINSTALLMODE ) -> u32 ); MsiReinstallFeatureA(szproduct.into().abi(), szfeature.into().abi(), dwreinstallmode) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2409,7 +2409,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiReinstallFeatureW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , dwreinstallmode : REINSTALLMODE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiReinstallFeatureW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , dwreinstallmode : REINSTALLMODE ) -> u32 ); MsiReinstallFeatureW(szproduct.into().abi(), szfeature.into().abi(), dwreinstallmode) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2418,7 +2418,7 @@ pub unsafe fn MsiReinstallProductA(szproduct: P0, szreinstallmode: REINSTALL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiReinstallProductA ( szproduct : :: windows::core::PCSTR , szreinstallmode : REINSTALLMODE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiReinstallProductA ( szproduct : :: windows::core::PCSTR , szreinstallmode : REINSTALLMODE ) -> u32 ); MsiReinstallProductA(szproduct.into().abi(), szreinstallmode) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2427,7 +2427,7 @@ pub unsafe fn MsiReinstallProductW(szproduct: P0, szreinstallmode: REINSTALL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiReinstallProductW ( szproduct : :: windows::core::PCWSTR , szreinstallmode : REINSTALLMODE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiReinstallProductW ( szproduct : :: windows::core::PCWSTR , szreinstallmode : REINSTALLMODE ) -> u32 ); MsiReinstallProductW(szproduct.into().abi(), szreinstallmode) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2438,7 +2438,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRemovePatchesA ( szpatchlist : :: windows::core::PCSTR , szproductcode : :: windows::core::PCSTR , euninstalltype : INSTALLTYPE , szpropertylist : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRemovePatchesA ( szpatchlist : :: windows::core::PCSTR , szproductcode : :: windows::core::PCSTR , euninstalltype : INSTALLTYPE , szpropertylist : :: windows::core::PCSTR ) -> u32 ); MsiRemovePatchesA(szpatchlist.into().abi(), szproductcode.into().abi(), euninstalltype, szpropertylist.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2449,7 +2449,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiRemovePatchesW ( szpatchlist : :: windows::core::PCWSTR , szproductcode : :: windows::core::PCWSTR , euninstalltype : INSTALLTYPE , szpropertylist : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiRemovePatchesW ( szpatchlist : :: windows::core::PCWSTR , szproductcode : :: windows::core::PCWSTR , euninstalltype : INSTALLTYPE , szpropertylist : :: windows::core::PCWSTR ) -> u32 ); MsiRemovePatchesW(szpatchlist.into().abi(), szproductcode.into().abi(), euninstalltype, szpropertylist.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2459,7 +2459,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSequenceA ( hinstall : MSIHANDLE , sztable : :: windows::core::PCSTR , isequencemode : i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSequenceA ( hinstall : MSIHANDLE , sztable : :: windows::core::PCSTR , isequencemode : i32 ) -> u32 ); MsiSequenceA(hinstall.into(), sztable.into().abi(), isequencemode) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2469,7 +2469,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSequenceW ( hinstall : MSIHANDLE , sztable : :: windows::core::PCWSTR , isequencemode : i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSequenceW ( hinstall : MSIHANDLE , sztable : :: windows::core::PCWSTR , isequencemode : i32 ) -> u32 ); MsiSequenceW(hinstall.into(), sztable.into().abi(), isequencemode) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2479,7 +2479,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetComponentStateA ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCSTR , istate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetComponentStateA ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCSTR , istate : INSTALLSTATE ) -> u32 ); MsiSetComponentStateA(hinstall.into(), szcomponent.into().abi(), istate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2489,25 +2489,25 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetComponentStateW ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCWSTR , istate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetComponentStateW ( hinstall : MSIHANDLE , szcomponent : :: windows::core::PCWSTR , istate : INSTALLSTATE ) -> u32 ); MsiSetComponentStateW(hinstall.into(), szcomponent.into().abi(), istate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiSetExternalUIA(puihandler: INSTALLUI_HANDLERA, dwmessagefilter: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> INSTALLUI_HANDLERA { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetExternalUIA ( puihandler : INSTALLUI_HANDLERA , dwmessagefilter : u32 , pvcontext : *const ::core::ffi::c_void ) -> INSTALLUI_HANDLERA ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetExternalUIA ( puihandler : INSTALLUI_HANDLERA , dwmessagefilter : u32 , pvcontext : *const ::core::ffi::c_void ) -> INSTALLUI_HANDLERA ); MsiSetExternalUIA(puihandler, dwmessagefilter, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiSetExternalUIRecord(puihandler: PINSTALLUI_HANDLER_RECORD, dwmessagefilter: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>, ppuiprevhandler: PINSTALLUI_HANDLER_RECORD) -> u32 { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetExternalUIRecord ( puihandler : PINSTALLUI_HANDLER_RECORD , dwmessagefilter : u32 , pvcontext : *const ::core::ffi::c_void , ppuiprevhandler : PINSTALLUI_HANDLER_RECORD ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetExternalUIRecord ( puihandler : PINSTALLUI_HANDLER_RECORD , dwmessagefilter : u32 , pvcontext : *const ::core::ffi::c_void , ppuiprevhandler : PINSTALLUI_HANDLER_RECORD ) -> u32 ); MsiSetExternalUIRecord(puihandler, dwmessagefilter, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), ppuiprevhandler) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[inline] pub unsafe fn MsiSetExternalUIW(puihandler: INSTALLUI_HANDLERW, dwmessagefilter: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> INSTALLUI_HANDLERW { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetExternalUIW ( puihandler : INSTALLUI_HANDLERW , dwmessagefilter : u32 , pvcontext : *const ::core::ffi::c_void ) -> INSTALLUI_HANDLERW ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetExternalUIW ( puihandler : INSTALLUI_HANDLERW , dwmessagefilter : u32 , pvcontext : *const ::core::ffi::c_void ) -> INSTALLUI_HANDLERW ); MsiSetExternalUIW(puihandler, dwmessagefilter, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2517,7 +2517,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetFeatureAttributesA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , dwattributes : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetFeatureAttributesA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , dwattributes : u32 ) -> u32 ); MsiSetFeatureAttributesA(hinstall.into(), szfeature.into().abi(), dwattributes) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2527,7 +2527,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetFeatureAttributesW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , dwattributes : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetFeatureAttributesW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , dwattributes : u32 ) -> u32 ); MsiSetFeatureAttributesW(hinstall.into(), szfeature.into().abi(), dwattributes) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2537,7 +2537,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetFeatureStateA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , istate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetFeatureStateA ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCSTR , istate : INSTALLSTATE ) -> u32 ); MsiSetFeatureStateA(hinstall.into(), szfeature.into().abi(), istate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2547,7 +2547,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetFeatureStateW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , istate : INSTALLSTATE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetFeatureStateW ( hinstall : MSIHANDLE , szfeature : :: windows::core::PCWSTR , istate : INSTALLSTATE ) -> u32 ); MsiSetFeatureStateW(hinstall.into(), szfeature.into().abi(), istate) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2556,14 +2556,14 @@ pub unsafe fn MsiSetInstallLevel(hinstall: P0, iinstalllevel: i32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetInstallLevel ( hinstall : MSIHANDLE , iinstalllevel : i32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetInstallLevel ( hinstall : MSIHANDLE , iinstalllevel : i32 ) -> u32 ); MsiSetInstallLevel(hinstall.into(), iinstalllevel) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MsiSetInternalUI(dwuilevel: INSTALLUILEVEL, phwnd: ::core::option::Option<*mut super::super::Foundation::HWND>) -> INSTALLUILEVEL { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetInternalUI ( dwuilevel : INSTALLUILEVEL , phwnd : *mut super::super::Foundation:: HWND ) -> INSTALLUILEVEL ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetInternalUI ( dwuilevel : INSTALLUILEVEL , phwnd : *mut super::super::Foundation:: HWND ) -> INSTALLUILEVEL ); MsiSetInternalUI(dwuilevel, ::core::mem::transmute(phwnd.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -2574,7 +2574,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetMode ( hinstall : MSIHANDLE , erunmode : MSIRUNMODE , fstate : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetMode ( hinstall : MSIHANDLE , erunmode : MSIRUNMODE , fstate : super::super::Foundation:: BOOL ) -> u32 ); MsiSetMode(hinstall.into(), erunmode, fstate.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2585,7 +2585,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetPropertyA ( hinstall : MSIHANDLE , szname : :: windows::core::PCSTR , szvalue : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetPropertyA ( hinstall : MSIHANDLE , szname : :: windows::core::PCSTR , szvalue : :: windows::core::PCSTR ) -> u32 ); MsiSetPropertyA(hinstall.into(), szname.into().abi(), szvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2596,7 +2596,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetPropertyW ( hinstall : MSIHANDLE , szname : :: windows::core::PCWSTR , szvalue : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetPropertyW ( hinstall : MSIHANDLE , szname : :: windows::core::PCWSTR , szvalue : :: windows::core::PCWSTR ) -> u32 ); MsiSetPropertyW(hinstall.into(), szname.into().abi(), szvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2607,7 +2607,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetTargetPathA ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCSTR , szfolderpath : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetTargetPathA ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCSTR , szfolderpath : :: windows::core::PCSTR ) -> u32 ); MsiSetTargetPathA(hinstall.into(), szfolder.into().abi(), szfolderpath.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2618,7 +2618,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSetTargetPathW ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCWSTR , szfolderpath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSetTargetPathW ( hinstall : MSIHANDLE , szfolder : :: windows::core::PCWSTR , szfolderpath : :: windows::core::PCWSTR ) -> u32 ); MsiSetTargetPathW(hinstall.into(), szfolder.into().abi(), szfolderpath.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2630,7 +2630,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListAddMediaDiskA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwdiskid : u32 , szvolumelabel : :: windows::core::PCSTR , szdiskprompt : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListAddMediaDiskA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwdiskid : u32 , szvolumelabel : :: windows::core::PCSTR , szdiskprompt : :: windows::core::PCSTR ) -> u32 ); MsiSourceListAddMediaDiskA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, dwdiskid, szvolumelabel.into().abi(), szdiskprompt.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2642,7 +2642,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListAddMediaDiskW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwdiskid : u32 , szvolumelabel : :: windows::core::PCWSTR , szdiskprompt : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListAddMediaDiskW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwdiskid : u32 , szvolumelabel : :: windows::core::PCWSTR , szdiskprompt : :: windows::core::PCWSTR ) -> u32 ); MsiSourceListAddMediaDiskW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, dwdiskid, szvolumelabel.into().abi(), szdiskprompt.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2653,7 +2653,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListAddSourceA ( szproduct : :: windows::core::PCSTR , szusername : :: windows::core::PCSTR , dwreserved : u32 , szsource : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListAddSourceA ( szproduct : :: windows::core::PCSTR , szusername : :: windows::core::PCSTR , dwreserved : u32 , szsource : :: windows::core::PCSTR ) -> u32 ); MsiSourceListAddSourceA(szproduct.into().abi(), szusername.into().abi(), dwreserved, szsource.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2664,7 +2664,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListAddSourceExA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szsource : :: windows::core::PCSTR , dwindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListAddSourceExA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szsource : :: windows::core::PCSTR , dwindex : u32 ) -> u32 ); MsiSourceListAddSourceExA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, szsource.into().abi(), dwindex) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2675,7 +2675,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListAddSourceExW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szsource : :: windows::core::PCWSTR , dwindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListAddSourceExW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szsource : :: windows::core::PCWSTR , dwindex : u32 ) -> u32 ); MsiSourceListAddSourceExW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, szsource.into().abi(), dwindex) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2686,7 +2686,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListAddSourceW ( szproduct : :: windows::core::PCWSTR , szusername : :: windows::core::PCWSTR , dwreserved : u32 , szsource : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListAddSourceW ( szproduct : :: windows::core::PCWSTR , szusername : :: windows::core::PCWSTR , dwreserved : u32 , szsource : :: windows::core::PCWSTR ) -> u32 ); MsiSourceListAddSourceW(szproduct.into().abi(), szusername.into().abi(), dwreserved, szsource.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2696,7 +2696,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListClearAllA ( szproduct : :: windows::core::PCSTR , szusername : :: windows::core::PCSTR , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListClearAllA ( szproduct : :: windows::core::PCSTR , szusername : :: windows::core::PCSTR , dwreserved : u32 ) -> u32 ); MsiSourceListClearAllA(szproduct.into().abi(), szusername.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2706,7 +2706,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListClearAllExA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListClearAllExA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 ) -> u32 ); MsiSourceListClearAllExA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2716,7 +2716,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListClearAllExW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListClearAllExW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 ) -> u32 ); MsiSourceListClearAllExW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2726,7 +2726,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListClearAllW ( szproduct : :: windows::core::PCWSTR , szusername : :: windows::core::PCWSTR , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListClearAllW ( szproduct : :: windows::core::PCWSTR , szusername : :: windows::core::PCWSTR , dwreserved : u32 ) -> u32 ); MsiSourceListClearAllW(szproduct.into().abi(), szusername.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2736,7 +2736,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListClearMediaDiskA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwdiskid : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListClearMediaDiskA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwdiskid : u32 ) -> u32 ); MsiSourceListClearMediaDiskA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, dwdiskid) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2746,7 +2746,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListClearMediaDiskW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwdiskid : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListClearMediaDiskW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwdiskid : u32 ) -> u32 ); MsiSourceListClearMediaDiskW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, dwdiskid) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2757,7 +2757,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListClearSourceA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szsource : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListClearSourceA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szsource : :: windows::core::PCSTR ) -> u32 ); MsiSourceListClearSourceA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, szsource.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2768,7 +2768,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListClearSourceW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szsource : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListClearSourceW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szsource : :: windows::core::PCWSTR ) -> u32 ); MsiSourceListClearSourceW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, szsource.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2778,7 +2778,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListEnumMediaDisksA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwindex : u32 , pdwdiskid : *mut u32 , szvolumelabel : :: windows::core::PSTR , pcchvolumelabel : *mut u32 , szdiskprompt : :: windows::core::PSTR , pcchdiskprompt : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListEnumMediaDisksA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwindex : u32 , pdwdiskid : *mut u32 , szvolumelabel : :: windows::core::PSTR , pcchvolumelabel : *mut u32 , szdiskprompt : :: windows::core::PSTR , pcchdiskprompt : *mut u32 ) -> u32 ); MsiSourceListEnumMediaDisksA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, dwindex, ::core::mem::transmute(pdwdiskid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szvolumelabel), ::core::mem::transmute(pcchvolumelabel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szdiskprompt), ::core::mem::transmute(pcchdiskprompt.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2788,7 +2788,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListEnumMediaDisksW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwindex : u32 , pdwdiskid : *mut u32 , szvolumelabel : :: windows::core::PWSTR , pcchvolumelabel : *mut u32 , szdiskprompt : :: windows::core::PWSTR , pcchdiskprompt : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListEnumMediaDisksW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwindex : u32 , pdwdiskid : *mut u32 , szvolumelabel : :: windows::core::PWSTR , pcchvolumelabel : *mut u32 , szdiskprompt : :: windows::core::PWSTR , pcchdiskprompt : *mut u32 ) -> u32 ); MsiSourceListEnumMediaDisksW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, dwindex, ::core::mem::transmute(pdwdiskid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szvolumelabel), ::core::mem::transmute(pcchvolumelabel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szdiskprompt), ::core::mem::transmute(pcchdiskprompt.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2798,7 +2798,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListEnumSourcesA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwindex : u32 , szsource : :: windows::core::PSTR , pcchsource : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListEnumSourcesA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwindex : u32 , szsource : :: windows::core::PSTR , pcchsource : *mut u32 ) -> u32 ); MsiSourceListEnumSourcesA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, dwindex, ::core::mem::transmute(szsource), ::core::mem::transmute(pcchsource.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2808,7 +2808,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListEnumSourcesW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwindex : u32 , szsource : :: windows::core::PWSTR , pcchsource : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListEnumSourcesW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , dwindex : u32 , szsource : :: windows::core::PWSTR , pcchsource : *mut u32 ) -> u32 ); MsiSourceListEnumSourcesW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, dwindex, ::core::mem::transmute(szsource), ::core::mem::transmute(pcchsource.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2818,7 +2818,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListForceResolutionA ( szproduct : :: windows::core::PCSTR , szusername : :: windows::core::PCSTR , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListForceResolutionA ( szproduct : :: windows::core::PCSTR , szusername : :: windows::core::PCSTR , dwreserved : u32 ) -> u32 ); MsiSourceListForceResolutionA(szproduct.into().abi(), szusername.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2828,7 +2828,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListForceResolutionExA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListForceResolutionExA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 ) -> u32 ); MsiSourceListForceResolutionExA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2838,7 +2838,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListForceResolutionExW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListForceResolutionExW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 ) -> u32 ); MsiSourceListForceResolutionExW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2848,7 +2848,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListForceResolutionW ( szproduct : :: windows::core::PCWSTR , szusername : :: windows::core::PCWSTR , dwreserved : u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListForceResolutionW ( szproduct : :: windows::core::PCWSTR , szusername : :: windows::core::PCWSTR , dwreserved : u32 ) -> u32 ); MsiSourceListForceResolutionW(szproduct.into().abi(), szusername.into().abi(), dwreserved) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2859,7 +2859,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListGetInfoA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szproperty : :: windows::core::PCSTR , szvalue : :: windows::core::PSTR , pcchvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListGetInfoA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szproperty : :: windows::core::PCSTR , szvalue : :: windows::core::PSTR , pcchvalue : *mut u32 ) -> u32 ); MsiSourceListGetInfoA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, szproperty.into().abi(), ::core::mem::transmute(szvalue), ::core::mem::transmute(pcchvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2870,7 +2870,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListGetInfoW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szproperty : :: windows::core::PCWSTR , szvalue : :: windows::core::PWSTR , pcchvalue : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListGetInfoW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szproperty : :: windows::core::PCWSTR , szvalue : :: windows::core::PWSTR , pcchvalue : *mut u32 ) -> u32 ); MsiSourceListGetInfoW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, szproperty.into().abi(), ::core::mem::transmute(szvalue), ::core::mem::transmute(pcchvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2882,7 +2882,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListSetInfoA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szproperty : :: windows::core::PCSTR , szvalue : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListSetInfoA ( szproductcodeorpatchcode : :: windows::core::PCSTR , szusersid : :: windows::core::PCSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szproperty : :: windows::core::PCSTR , szvalue : :: windows::core::PCSTR ) -> u32 ); MsiSourceListSetInfoA(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, szproperty.into().abi(), szvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2894,7 +2894,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSourceListSetInfoW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szproperty : :: windows::core::PCWSTR , szvalue : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSourceListSetInfoW ( szproductcodeorpatchcode : :: windows::core::PCWSTR , szusersid : :: windows::core::PCWSTR , dwcontext : MSIINSTALLCONTEXT , dwoptions : u32 , szproperty : :: windows::core::PCWSTR , szvalue : :: windows::core::PCWSTR ) -> u32 ); MsiSourceListSetInfoW(szproductcodeorpatchcode.into().abi(), szusersid.into().abi(), dwcontext, dwoptions, szproperty.into().abi(), szvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -2904,7 +2904,7 @@ pub unsafe fn MsiSummaryInfoGetPropertyA(hsummaryinfo: P0, uiproperty: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSummaryInfoGetPropertyA ( hsummaryinfo : MSIHANDLE , uiproperty : u32 , puidatatype : *mut u32 , pivalue : *mut i32 , pftvalue : *mut super::super::Foundation:: FILETIME , szvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSummaryInfoGetPropertyA ( hsummaryinfo : MSIHANDLE , uiproperty : u32 , puidatatype : *mut u32 , pivalue : *mut i32 , pftvalue : *mut super::super::Foundation:: FILETIME , szvaluebuf : :: windows::core::PSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiSummaryInfoGetPropertyA(hsummaryinfo.into(), uiproperty, puidatatype, pivalue, ::core::mem::transmute(pftvalue.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2913,7 +2913,7 @@ pub unsafe fn MsiSummaryInfoGetPropertyCount(hsummaryinfo: P0, puipropertyco where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSummaryInfoGetPropertyCount ( hsummaryinfo : MSIHANDLE , puipropertycount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSummaryInfoGetPropertyCount ( hsummaryinfo : MSIHANDLE , puipropertycount : *mut u32 ) -> u32 ); MsiSummaryInfoGetPropertyCount(hsummaryinfo.into(), puipropertycount) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -2923,7 +2923,7 @@ pub unsafe fn MsiSummaryInfoGetPropertyW(hsummaryinfo: P0, uiproperty: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSummaryInfoGetPropertyW ( hsummaryinfo : MSIHANDLE , uiproperty : u32 , puidatatype : *mut u32 , pivalue : *mut i32 , pftvalue : *mut super::super::Foundation:: FILETIME , szvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSummaryInfoGetPropertyW ( hsummaryinfo : MSIHANDLE , uiproperty : u32 , puidatatype : *mut u32 , pivalue : *mut i32 , pftvalue : *mut super::super::Foundation:: FILETIME , szvaluebuf : :: windows::core::PWSTR , pcchvaluebuf : *mut u32 ) -> u32 ); MsiSummaryInfoGetPropertyW(hsummaryinfo.into(), uiproperty, puidatatype, pivalue, ::core::mem::transmute(pftvalue.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szvaluebuf), ::core::mem::transmute(pcchvaluebuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2932,7 +2932,7 @@ pub unsafe fn MsiSummaryInfoPersist(hsummaryinfo: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSummaryInfoPersist ( hsummaryinfo : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSummaryInfoPersist ( hsummaryinfo : MSIHANDLE ) -> u32 ); MsiSummaryInfoPersist(hsummaryinfo.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -2943,7 +2943,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSummaryInfoSetPropertyA ( hsummaryinfo : MSIHANDLE , uiproperty : u32 , uidatatype : u32 , ivalue : i32 , pftvalue : *mut super::super::Foundation:: FILETIME , szvalue : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSummaryInfoSetPropertyA ( hsummaryinfo : MSIHANDLE , uiproperty : u32 , uidatatype : u32 , ivalue : i32 , pftvalue : *mut super::super::Foundation:: FILETIME , szvalue : :: windows::core::PCSTR ) -> u32 ); MsiSummaryInfoSetPropertyA(hsummaryinfo.into(), uiproperty, uidatatype, ivalue, pftvalue, szvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -2954,7 +2954,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiSummaryInfoSetPropertyW ( hsummaryinfo : MSIHANDLE , uiproperty : u32 , uidatatype : u32 , ivalue : i32 , pftvalue : *mut super::super::Foundation:: FILETIME , szvalue : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiSummaryInfoSetPropertyW ( hsummaryinfo : MSIHANDLE , uiproperty : u32 , uidatatype : u32 , ivalue : i32 , pftvalue : *mut super::super::Foundation:: FILETIME , szvalue : :: windows::core::PCWSTR ) -> u32 ); MsiSummaryInfoSetPropertyW(hsummaryinfo.into(), uiproperty, uidatatype, ivalue, pftvalue, szvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2964,7 +2964,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiUseFeatureA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiUseFeatureA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR ) -> INSTALLSTATE ); MsiUseFeatureA(szproduct.into().abi(), szfeature.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2974,7 +2974,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiUseFeatureExA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , dwinstallmode : u32 , dwreserved : u32 ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiUseFeatureExA ( szproduct : :: windows::core::PCSTR , szfeature : :: windows::core::PCSTR , dwinstallmode : u32 , dwreserved : u32 ) -> INSTALLSTATE ); MsiUseFeatureExA(szproduct.into().abi(), szfeature.into().abi(), dwinstallmode, dwreserved) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2984,7 +2984,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiUseFeatureExW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , dwinstallmode : u32 , dwreserved : u32 ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiUseFeatureExW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR , dwinstallmode : u32 , dwreserved : u32 ) -> INSTALLSTATE ); MsiUseFeatureExW(szproduct.into().abi(), szfeature.into().abi(), dwinstallmode, dwreserved) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -2994,7 +2994,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiUseFeatureW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR ) -> INSTALLSTATE ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiUseFeatureW ( szproduct : :: windows::core::PCWSTR , szfeature : :: windows::core::PCWSTR ) -> INSTALLSTATE ); MsiUseFeatureW(szproduct.into().abi(), szfeature.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3003,7 +3003,7 @@ pub unsafe fn MsiVerifyDiskSpace(hinstall: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiVerifyDiskSpace ( hinstall : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiVerifyDiskSpace ( hinstall : MSIHANDLE ) -> u32 ); MsiVerifyDiskSpace(hinstall.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3012,7 +3012,7 @@ pub unsafe fn MsiVerifyPackageA(szpackagepath: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiVerifyPackageA ( szpackagepath : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiVerifyPackageA ( szpackagepath : :: windows::core::PCSTR ) -> u32 ); MsiVerifyPackageA(szpackagepath.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3021,7 +3021,7 @@ pub unsafe fn MsiVerifyPackageW(szpackagepath: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "msi.dll""system" fn MsiVerifyPackageW ( szpackagepath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiVerifyPackageW ( szpackagepath : :: windows::core::PCWSTR ) -> u32 ); MsiVerifyPackageW(szpackagepath.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3030,7 +3030,7 @@ pub unsafe fn MsiViewClose(hview: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiViewClose ( hview : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiViewClose ( hview : MSIHANDLE ) -> u32 ); MsiViewClose(hview.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3040,7 +3040,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiViewExecute ( hview : MSIHANDLE , hrecord : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiViewExecute ( hview : MSIHANDLE , hrecord : MSIHANDLE ) -> u32 ); MsiViewExecute(hview.into(), hrecord.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3049,7 +3049,7 @@ pub unsafe fn MsiViewFetch(hview: P0, phrecord: *mut MSIHANDLE) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiViewFetch ( hview : MSIHANDLE , phrecord : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiViewFetch ( hview : MSIHANDLE , phrecord : *mut MSIHANDLE ) -> u32 ); MsiViewFetch(hview.into(), phrecord) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3058,7 +3058,7 @@ pub unsafe fn MsiViewGetColumnInfo(hview: P0, ecolumninfo: MSICOLINFO, phrec where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiViewGetColumnInfo ( hview : MSIHANDLE , ecolumninfo : MSICOLINFO , phrecord : *mut MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiViewGetColumnInfo ( hview : MSIHANDLE , ecolumninfo : MSICOLINFO , phrecord : *mut MSIHANDLE ) -> u32 ); MsiViewGetColumnInfo(hview.into(), ecolumninfo, phrecord) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3067,7 +3067,7 @@ pub unsafe fn MsiViewGetErrorA(hview: P0, szcolumnnamebuffer: ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiViewGetErrorA ( hview : MSIHANDLE , szcolumnnamebuffer : :: windows::core::PSTR , pcchbuf : *mut u32 ) -> MSIDBERROR ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiViewGetErrorA ( hview : MSIHANDLE , szcolumnnamebuffer : :: windows::core::PSTR , pcchbuf : *mut u32 ) -> MSIDBERROR ); MsiViewGetErrorA(hview.into(), ::core::mem::transmute(szcolumnnamebuffer), ::core::mem::transmute(pcchbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3076,7 +3076,7 @@ pub unsafe fn MsiViewGetErrorW(hview: P0, szcolumnnamebuffer: ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiViewGetErrorW ( hview : MSIHANDLE , szcolumnnamebuffer : :: windows::core::PWSTR , pcchbuf : *mut u32 ) -> MSIDBERROR ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiViewGetErrorW ( hview : MSIHANDLE , szcolumnnamebuffer : :: windows::core::PWSTR , pcchbuf : *mut u32 ) -> MSIDBERROR ); MsiViewGetErrorW(hview.into(), ::core::mem::transmute(szcolumnnamebuffer), ::core::mem::transmute(pcchbuf.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3086,14 +3086,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "msi.dll""system" fn MsiViewModify ( hview : MSIHANDLE , emodifymode : MSIMODIFY , hrecord : MSIHANDLE ) -> u32 ); + ::windows::imp::link ! ( "msi.dll""system" fn MsiViewModify ( hview : MSIHANDLE , emodifymode : MSIMODIFY , hrecord : MSIHANDLE ) -> u32 ); MsiViewModify(hview.into(), emodifymode, hrecord.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn NormalizeFileForPatchSignature(filebuffer: *mut ::core::ffi::c_void, filesize: u32, optionflags: u32, optiondata: ::core::option::Option<*const PATCH_OPTION_DATA>, newfilecoffbase: u32, newfilecofftime: u32, ignorerangearray: ::core::option::Option<&[PATCH_IGNORE_RANGE]>, retainrangearray: ::core::option::Option<&[PATCH_RETAIN_RANGE]>) -> i32 { - ::windows::core::link ! ( "mspatcha.dll""system" fn NormalizeFileForPatchSignature ( filebuffer : *mut ::core::ffi::c_void , filesize : u32 , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA , newfilecoffbase : u32 , newfilecofftime : u32 , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE ) -> i32 ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn NormalizeFileForPatchSignature ( filebuffer : *mut ::core::ffi::c_void , filesize : u32 , optionflags : u32 , optiondata : *const PATCH_OPTION_DATA , newfilecoffbase : u32 , newfilecofftime : u32 , ignorerangecount : u32 , ignorerangearray : *const PATCH_IGNORE_RANGE , retainrangecount : u32 , retainrangearray : *const PATCH_RETAIN_RANGE ) -> i32 ); NormalizeFileForPatchSignature(filebuffer, filesize, optionflags, ::core::mem::transmute(optiondata.unwrap_or(::std::ptr::null())), newfilecoffbase, newfilecofftime, ignorerangearray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ignorerangearray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), retainrangearray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(retainrangearray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3105,7 +3105,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryActCtxSettingsW ( dwflags : u32 , hactctx : super::super::Foundation:: HANDLE , settingsnamespace : :: windows::core::PCWSTR , settingname : :: windows::core::PCWSTR , pvbuffer : :: windows::core::PWSTR , dwbuffer : usize , pdwwrittenorrequired : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryActCtxSettingsW ( dwflags : u32 , hactctx : super::super::Foundation:: HANDLE , settingsnamespace : :: windows::core::PCWSTR , settingname : :: windows::core::PCWSTR , pvbuffer : :: windows::core::PWSTR , dwbuffer : usize , pdwwrittenorrequired : *mut usize ) -> super::super::Foundation:: BOOL ); QueryActCtxSettingsW(dwflags, hactctx.into(), settingsnamespace.into().abi(), settingname.into().abi(), ::core::mem::transmute(pvbuffer), dwbuffer, ::core::mem::transmute(pdwwrittenorrequired.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3115,7 +3115,7 @@ pub unsafe fn QueryActCtxW(dwflags: u32, hactctx: P0, pvsubinstance: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryActCtxW ( dwflags : u32 , hactctx : super::super::Foundation:: HANDLE , pvsubinstance : *const ::core::ffi::c_void , ulinfoclass : u32 , pvbuffer : *mut ::core::ffi::c_void , cbbuffer : usize , pcbwrittenorrequired : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryActCtxW ( dwflags : u32 , hactctx : super::super::Foundation:: HANDLE , pvsubinstance : *const ::core::ffi::c_void , ulinfoclass : u32 , pvbuffer : *mut ::core::ffi::c_void , cbbuffer : usize , pcbwrittenorrequired : *mut usize ) -> super::super::Foundation:: BOOL ); QueryActCtxW(dwflags, hactctx.into(), ::core::mem::transmute(pvsubinstance.unwrap_or(::std::ptr::null())), ulinfoclass, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null_mut())), cbbuffer, ::core::mem::transmute(pcbwrittenorrequired.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3125,7 +3125,7 @@ pub unsafe fn ReleaseActCtx(hactctx: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReleaseActCtx ( hactctx : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReleaseActCtx ( hactctx : super::super::Foundation:: HANDLE ) -> ( ) ); ReleaseActCtx(hactctx.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3135,7 +3135,7 @@ pub unsafe fn SfcGetNextProtectedFile(rpchandle: P0, protfiledata: *mut PROT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "sfc.dll""system" fn SfcGetNextProtectedFile ( rpchandle : super::super::Foundation:: HANDLE , protfiledata : *mut PROTECTED_FILE_DATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sfc.dll""system" fn SfcGetNextProtectedFile ( rpchandle : super::super::Foundation:: HANDLE , protfiledata : *mut PROTECTED_FILE_DATA ) -> super::super::Foundation:: BOOL ); SfcGetNextProtectedFile(rpchandle.into(), protfiledata) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3146,7 +3146,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "sfc.dll""system" fn SfcIsFileProtected ( rpchandle : super::super::Foundation:: HANDLE , protfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sfc.dll""system" fn SfcIsFileProtected ( rpchandle : super::super::Foundation:: HANDLE , protfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SfcIsFileProtected(rpchandle.into(), protfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3157,7 +3157,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "sfc.dll""system" fn SfcIsKeyProtected ( keyhandle : super::Registry:: HKEY , subkeyname : :: windows::core::PCWSTR , keysam : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sfc.dll""system" fn SfcIsKeyProtected ( keyhandle : super::Registry:: HKEY , subkeyname : :: windows::core::PCWSTR , keysam : u32 ) -> super::super::Foundation:: BOOL ); SfcIsKeyProtected(keyhandle.into(), subkeyname.into().abi(), keysam) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3167,7 +3167,7 @@ pub unsafe fn SfpVerifyFile(pszfilename: P0, pszerror: &[u8]) -> super::supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "sfc.dll""system" fn SfpVerifyFile ( pszfilename : :: windows::core::PCSTR , pszerror : :: windows::core::PCSTR , dwerrsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sfc.dll""system" fn SfpVerifyFile ( pszfilename : :: windows::core::PCSTR , pszerror : :: windows::core::PCSTR , dwerrsize : u32 ) -> super::super::Foundation:: BOOL ); SfpVerifyFile(pszfilename.into().abi(), ::core::mem::transmute(pszerror.as_ptr()), pszerror.len() as _) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3178,14 +3178,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mspatcha.dll""system" fn TestApplyPatchToFileA ( patchfilename : :: windows::core::PCSTR , oldfilename : :: windows::core::PCSTR , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn TestApplyPatchToFileA ( patchfilename : :: windows::core::PCSTR , oldfilename : :: windows::core::PCSTR , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); TestApplyPatchToFileA(patchfilename.into().abi(), oldfilename.into().abi(), applyoptionflags) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TestApplyPatchToFileByBuffers(patchfilebuffer: &[u8], oldfilebuffer: ::core::option::Option<&[u8]>, newfilesize: ::core::option::Option<*mut u32>, applyoptionflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mspatcha.dll""system" fn TestApplyPatchToFileByBuffers ( patchfilebuffer : *const u8 , patchfilesize : u32 , oldfilebuffer : *const u8 , oldfilesize : u32 , newfilesize : *mut u32 , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn TestApplyPatchToFileByBuffers ( patchfilebuffer : *const u8 , patchfilesize : u32 , oldfilebuffer : *const u8 , oldfilesize : u32 , newfilesize : *mut u32 , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); TestApplyPatchToFileByBuffers(::core::mem::transmute(patchfilebuffer.as_ptr()), patchfilebuffer.len() as _, ::core::mem::transmute(oldfilebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), oldfilebuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(newfilesize.unwrap_or(::std::ptr::null_mut())), applyoptionflags) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3196,7 +3196,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mspatcha.dll""system" fn TestApplyPatchToFileByHandles ( patchfilehandle : super::super::Foundation:: HANDLE , oldfilehandle : super::super::Foundation:: HANDLE , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn TestApplyPatchToFileByHandles ( patchfilehandle : super::super::Foundation:: HANDLE , oldfilehandle : super::super::Foundation:: HANDLE , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); TestApplyPatchToFileByHandles(patchfilehandle.into(), oldfilehandle.into(), applyoptionflags) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3207,7 +3207,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mspatcha.dll""system" fn TestApplyPatchToFileW ( patchfilename : :: windows::core::PCWSTR , oldfilename : :: windows::core::PCWSTR , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mspatcha.dll""system" fn TestApplyPatchToFileW ( patchfilename : :: windows::core::PCWSTR , oldfilename : :: windows::core::PCWSTR , applyoptionflags : u32 ) -> super::super::Foundation:: BOOL ); TestApplyPatchToFileW(patchfilename.into().abi(), oldfilename.into().abi(), applyoptionflags) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -3217,7 +3217,7 @@ pub unsafe fn ZombifyActCtx(hactctx: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ZombifyActCtx ( hactctx : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ZombifyActCtx ( hactctx : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ZombifyActCtx(hactctx.into()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] @@ -3253,7 +3253,7 @@ impl IAssemblyCache { (::windows::core::Vtable::vtable(self).InstallAssembly)(::windows::core::Vtable::as_raw(self), dwflags, pszmanifestfilepath.into().abi(), prefdata).ok() } } -::windows::core::interface_hierarchy!(IAssemblyCache, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAssemblyCache, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAssemblyCache { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3305,7 +3305,7 @@ impl IAssemblyCacheItem { (::windows::core::Vtable::vtable(self).AbortItem)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAssemblyCacheItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAssemblyCacheItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAssemblyCacheItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3380,7 +3380,7 @@ impl IAssemblyName { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAssemblyName, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAssemblyName, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAssemblyName { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3437,7 +3437,7 @@ impl IEnumMsmDependency { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumMsmDependency, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumMsmDependency, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumMsmDependency { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3492,7 +3492,7 @@ impl IEnumMsmError { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumMsmError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumMsmError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumMsmError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3545,7 +3545,7 @@ impl IEnumMsmString { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumMsmString, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumMsmString, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumMsmString { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3598,7 +3598,7 @@ impl IMsmDependencies { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMsmDependencies, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMsmDependencies, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMsmDependencies { fn eq(&self, other: &Self) -> bool { @@ -3656,7 +3656,7 @@ impl IMsmDependency { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMsmDependency, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMsmDependency, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMsmDependency { fn eq(&self, other: &Self) -> bool { @@ -3729,7 +3729,7 @@ impl IMsmError { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMsmError, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMsmError, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMsmError { fn eq(&self, other: &Self) -> bool { @@ -3798,7 +3798,7 @@ impl IMsmErrors { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMsmErrors, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMsmErrors, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMsmErrors { fn eq(&self, other: &Self) -> bool { @@ -3853,7 +3853,7 @@ impl IMsmGetFiles { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMsmGetFiles, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMsmGetFiles, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMsmGetFiles { fn eq(&self, other: &Self) -> bool { @@ -3950,7 +3950,7 @@ impl IMsmMerge { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMsmMerge, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMsmMerge, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMsmMerge { fn eq(&self, other: &Self) -> bool { @@ -4025,7 +4025,7 @@ impl IMsmStrings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMsmStrings, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMsmStrings, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMsmStrings { fn eq(&self, other: &Self) -> bool { @@ -4344,7 +4344,7 @@ impl IPMApplicationInfo { (::windows::core::Vtable::vtable(self).set_Title)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(apptitle)).ok() } } -::windows::core::interface_hierarchy!(IPMApplicationInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMApplicationInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMApplicationInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4523,7 +4523,7 @@ impl IPMApplicationInfoEnumerator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMApplicationInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMApplicationInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMApplicationInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4623,7 +4623,7 @@ impl IPMBackgroundServiceAgentInfo { (::windows::core::Vtable::vtable(self).set_IsScheduleAllowed)(::windows::core::Vtable::as_raw(self), isscheduleallowed.into()).ok() } } -::windows::core::interface_hierarchy!(IPMBackgroundServiceAgentInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMBackgroundServiceAgentInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMBackgroundServiceAgentInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4692,7 +4692,7 @@ impl IPMBackgroundServiceAgentInfoEnumerator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMBackgroundServiceAgentInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMBackgroundServiceAgentInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMBackgroundServiceAgentInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4750,7 +4750,7 @@ impl IPMBackgroundWorkerInfo { (::windows::core::Vtable::vtable(self).IsBootWorker)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMBackgroundWorkerInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMBackgroundWorkerInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMBackgroundWorkerInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4796,7 +4796,7 @@ impl IPMBackgroundWorkerInfoEnumerator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMBackgroundWorkerInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMBackgroundWorkerInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMBackgroundWorkerInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4983,7 +4983,7 @@ impl IPMDeploymentManager { (::windows::core::Vtable::vtable(self).FixJunctionsForAppsOnSDCard)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPMDeploymentManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMDeploymentManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMDeploymentManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5139,7 +5139,7 @@ impl IPMEnumerationManager { (::windows::core::Vtable::vtable(self).get_StartAppEnumeratorBlob)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(filter), pcapps, ppappblobs).ok() } } -::windows::core::interface_hierarchy!(IPMEnumerationManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMEnumerationManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMEnumerationManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5202,7 +5202,7 @@ impl IPMExtensionCachedFileUpdaterInfo { (::windows::core::Vtable::vtable(self).SupportsUpdates)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMExtensionCachedFileUpdaterInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionCachedFileUpdaterInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionCachedFileUpdaterInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5242,7 +5242,7 @@ impl IPMExtensionContractInfo { (::windows::core::Vtable::vtable(self).get_InvocationInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(paumid), ::core::mem::transmute(pargs)).ok() } } -::windows::core::interface_hierarchy!(IPMExtensionContractInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionContractInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionContractInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5297,7 +5297,7 @@ impl IPMExtensionFileExtensionInfo { (::windows::core::Vtable::vtable(self).get_AllFileTypes)(::windows::core::Vtable::as_raw(self), pcbtypes, pptypes).ok() } } -::windows::core::interface_hierarchy!(IPMExtensionFileExtensionInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionFileExtensionInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionFileExtensionInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5346,7 +5346,7 @@ impl IPMExtensionFileOpenPickerInfo { (::windows::core::Vtable::vtable(self).SupportsAllFileTypes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMExtensionFileOpenPickerInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionFileOpenPickerInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionFileOpenPickerInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5393,7 +5393,7 @@ impl IPMExtensionFileSavePickerInfo { (::windows::core::Vtable::vtable(self).SupportsAllFileTypes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMExtensionFileSavePickerInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionFileSavePickerInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionFileSavePickerInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5450,7 +5450,7 @@ impl IPMExtensionInfo { (::windows::core::Vtable::vtable(self).get_InvocationInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pimageurn), ::core::mem::transmute(pparameters)).ok() } } -::windows::core::interface_hierarchy!(IPMExtensionInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5493,7 +5493,7 @@ impl IPMExtensionInfoEnumerator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMExtensionInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5533,7 +5533,7 @@ impl IPMExtensionProtocolInfo { (::windows::core::Vtable::vtable(self).get_InvocationInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pimageurn), ::core::mem::transmute(pparameters)).ok() } } -::windows::core::interface_hierarchy!(IPMExtensionProtocolInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionProtocolInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionProtocolInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5580,7 +5580,7 @@ impl IPMExtensionShareTargetInfo { (::windows::core::Vtable::vtable(self).SupportsAllFileTypes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMExtensionShareTargetInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMExtensionShareTargetInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMExtensionShareTargetInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5716,7 +5716,7 @@ impl IPMLiveTileJobInfo { (::windows::core::Vtable::vtable(self).set_DownloadState)(::windows::core::Vtable::as_raw(self), uldownloadstate).ok() } } -::windows::core::interface_hierarchy!(IPMLiveTileJobInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMLiveTileJobInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMLiveTileJobInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5795,7 +5795,7 @@ impl IPMLiveTileJobInfoEnumerator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMLiveTileJobInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMLiveTileJobInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMLiveTileJobInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5912,7 +5912,7 @@ impl IPMTaskInfo { (::windows::core::Vtable::vtable(self).IsOptedForExtendedMem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMTaskInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMTaskInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMTaskInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5982,7 +5982,7 @@ impl IPMTaskInfoEnumerator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMTaskInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMTaskInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMTaskInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6135,7 +6135,7 @@ impl IPMTileInfo { (::windows::core::Vtable::vtable(self).set_IsAutoRestoreDisabled)(::windows::core::Vtable::as_raw(self), autorestoredisabled.into()).ok() } } -::windows::core::interface_hierarchy!(IPMTileInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMTileInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMTileInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6229,7 +6229,7 @@ impl IPMTileInfoEnumerator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMTileInfoEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMTileInfoEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMTileInfoEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6267,7 +6267,7 @@ impl IPMTilePropertyEnumerator { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPMTilePropertyEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMTilePropertyEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMTilePropertyEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6311,7 +6311,7 @@ impl IPMTilePropertyInfo { (::windows::core::Vtable::vtable(self).set_Property)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(propvalue)).ok() } } -::windows::core::interface_hierarchy!(IPMTilePropertyInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPMTilePropertyInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPMTilePropertyInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6381,7 +6381,7 @@ impl IValidate { (::windows::core::Vtable::vtable(self).Validate)(::windows::core::Vtable::as_raw(self), wzices.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IValidate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IValidate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IValidate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationVerifier/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationVerifier/mod.rs index ab4cb1fc24..f489240fe6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationVerifier/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationVerifier/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn VerifierEnumerateResource(process: P0, flags: VERIFIER_ENUM_RE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "verifier.dll""system" fn VerifierEnumerateResource ( process : super::super::Foundation:: HANDLE , flags : VERIFIER_ENUM_RESOURCE_FLAGS , resourcetype : eAvrfResourceTypes , resourcecallback : AVRF_RESOURCE_ENUMERATE_CALLBACK , enumerationcontext : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "verifier.dll""system" fn VerifierEnumerateResource ( process : super::super::Foundation:: HANDLE , flags : VERIFIER_ENUM_RESOURCE_FLAGS , resourcetype : eAvrfResourceTypes , resourcecallback : AVRF_RESOURCE_ENUMERATE_CALLBACK , enumerationcontext : *mut ::core::ffi::c_void ) -> u32 ); VerifierEnumerateResource(process.into(), flags, resourcetype, resourcecallback, enumerationcontext) } #[doc = "*Required features: `\"Win32_System_ApplicationVerifier\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs index e9441f1d6c..d9ac7d4686 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs @@ -134,7 +134,7 @@ impl IAccessibleWinSAT { } } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] -::windows::core::interface_hierarchy!(IAccessibleWinSAT, ::windows::core::IUnknown, super::Com::IDispatch, super::super::UI::Accessibility::IAccessible); +::windows::imp::interface_hierarchy!(IAccessibleWinSAT, ::windows::core::IUnknown, super::Com::IDispatch, super::super::UI::Accessibility::IAccessible); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] impl ::core::cmp::PartialEq for IAccessibleWinSAT { fn eq(&self, other: &Self) -> bool { @@ -197,7 +197,7 @@ impl IInitiateWinSATAssessment { (::windows::core::Vtable::vtable(self).CancelAssessment)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInitiateWinSATAssessment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitiateWinSATAssessment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitiateWinSATAssessment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -254,7 +254,7 @@ impl IProvideWinSATAssessmentInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IProvideWinSATAssessmentInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IProvideWinSATAssessmentInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IProvideWinSATAssessmentInfo { fn eq(&self, other: &Self) -> bool { @@ -324,7 +324,7 @@ impl IProvideWinSATResultsInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IProvideWinSATResultsInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IProvideWinSATResultsInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IProvideWinSATResultsInfo { fn eq(&self, other: &Self) -> bool { @@ -381,7 +381,7 @@ impl IProvideWinSATVisuals { (::windows::core::Vtable::vtable(self).get_Bitmap)(::windows::core::Vtable::as_raw(self), bitmapsize, state, rating, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProvideWinSATVisuals, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProvideWinSATVisuals, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProvideWinSATVisuals { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -427,7 +427,7 @@ impl IQueryAllWinSATAssessments { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IQueryAllWinSATAssessments, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IQueryAllWinSATAssessments, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IQueryAllWinSATAssessments { fn eq(&self, other: &Self) -> bool { @@ -475,7 +475,7 @@ impl IQueryOEMWinSATCustomization { (::windows::core::Vtable::vtable(self).GetOEMPrePopulationInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IQueryOEMWinSATCustomization, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryOEMWinSATCustomization, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryOEMWinSATCustomization { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -524,7 +524,7 @@ impl IQueryRecentWinSATAssessment { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IQueryRecentWinSATAssessment, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IQueryRecentWinSATAssessment, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IQueryRecentWinSATAssessment { fn eq(&self, other: &Self) -> bool { @@ -584,7 +584,7 @@ impl IWinSATInitiateEvents { (::windows::core::Vtable::vtable(self).WinSATUpdate)(::windows::core::Vtable::as_raw(self), ucurrenttick, uticktotal, strcurrentstate.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWinSATInitiateEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinSATInitiateEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinSATInitiateEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs index 923ba4a6d1..bdba58092b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn CoGetInterceptor(iidintercepted: *const ::windows::core::GUID, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetInterceptor ( iidintercepted : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , iid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetInterceptor ( iidintercepted : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , iid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoGetInterceptor(iidintercepted, punkouter.into().abi(), iid, ppv).ok() } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] @@ -14,7 +14,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetInterceptorFromTypeInfo ( iidintercepted : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , typeinfo : * mut::core::ffi::c_void , iid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetInterceptorFromTypeInfo ( iidintercepted : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , typeinfo : * mut::core::ffi::c_void , iid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoGetInterceptorFromTypeInfo(iidintercepted, punkouter.into().abi(), typeinfo.into().abi(), iid, ppv).ok() } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] @@ -115,7 +115,7 @@ impl ICallFrame { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), pvreceiver).ok() } } -::windows::core::interface_hierarchy!(ICallFrame, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICallFrame, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICallFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -197,7 +197,7 @@ impl ICallFrameEvents { (::windows::core::Vtable::vtable(self).OnCall)(::windows::core::Vtable::as_raw(self), pframe.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICallFrameEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICallFrameEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICallFrameEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -240,7 +240,7 @@ impl ICallFrameWalker { (::windows::core::Vtable::vtable(self).OnWalkInterface)(::windows::core::Vtable::as_raw(self), iid, ppvinterface, fin.into(), fout.into()).ok() } } -::windows::core::interface_hierarchy!(ICallFrameWalker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICallFrameWalker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICallFrameWalker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -294,7 +294,7 @@ impl ICallIndirect { (::windows::core::Vtable::vtable(self).GetIID)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(piid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfderivesfromidispatch.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcmethod.unwrap_or(::std::ptr::null_mut())), pwszinterface).ok() } } -::windows::core::interface_hierarchy!(ICallIndirect, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICallIndirect, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICallIndirect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -364,7 +364,7 @@ impl ICallInterceptor { (::windows::core::Vtable::vtable(self).GetRegisteredSink)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICallInterceptor, ::windows::core::IUnknown, ICallIndirect); +::windows::imp::interface_hierarchy!(ICallInterceptor, ::windows::core::IUnknown, ICallIndirect); impl ::core::cmp::PartialEq for ICallInterceptor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -412,7 +412,7 @@ impl ICallUnmarshal { (::windows::core::Vtable::vtable(self).ReleaseMarshalData)(::windows::core::Vtable::as_raw(self), imethod, ::core::mem::transmute(pbuffer.as_ptr()), pbuffer.len() as _, ibfirstrelease, datarep, pcontext).ok() } } -::windows::core::interface_hierarchy!(ICallUnmarshal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICallUnmarshal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICallUnmarshal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -460,7 +460,7 @@ impl IInterfaceRelated { (::windows::core::Vtable::vtable(self).GetIID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IInterfaceRelated, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInterfaceRelated, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInterfaceRelated { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs index b70a40a44b..b94c4d15d5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs @@ -42,7 +42,7 @@ impl IChannelCredentials { (::windows::core::Vtable::vtable(self).SetIssuedToken)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(localissueraddres), ::core::mem::transmute_copy(localissuerbindingtype), ::core::mem::transmute_copy(localissuerbinding)).ok() } } -::windows::core::interface_hierarchy!(IChannelCredentials, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IChannelCredentials, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IChannelCredentials { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs index 38bd566f18..06bf94069a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs @@ -2,7 +2,7 @@ #[repr(transparent)] pub struct IDontSupportEventSubscription(::windows::core::IUnknown); impl IDontSupportEventSubscription {} -::windows::core::interface_hierarchy!(IDontSupportEventSubscription, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDontSupportEventSubscription, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDontSupportEventSubscription { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -48,7 +48,7 @@ impl IEnumEventObject { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), cskipelem).ok() } } -::windows::core::interface_hierarchy!(IEnumEventObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumEventObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumEventObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -134,7 +134,7 @@ impl IEventClass { (::windows::core::Vtable::vtable(self).SetTypeLib)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrtypelib)).ok() } } -::windows::core::interface_hierarchy!(IEventClass, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IEventClass, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IEventClass { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -272,7 +272,7 @@ impl IEventClass2 { (::windows::core::Vtable::vtable(self).SetFireInParallel)(::windows::core::Vtable::as_raw(self), ffireinparallel.into()).ok() } } -::windows::core::interface_hierarchy!(IEventClass2, ::windows::core::IUnknown, super::IDispatch, IEventClass); +::windows::imp::interface_hierarchy!(IEventClass2, ::windows::core::IUnknown, super::IDispatch, IEventClass); impl ::core::cmp::PartialEq for IEventClass2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -353,7 +353,7 @@ impl IEventControl { (::windows::core::Vtable::vtable(self).SetDefaultQuery)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(methodname), ::core::mem::transmute_copy(criteria), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEventControl, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IEventControl, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IEventControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -406,7 +406,7 @@ impl IEventObjectChange { (::windows::core::Vtable::vtable(self).ChangedPublisher)(::windows::core::Vtable::as_raw(self), changetype, ::core::mem::transmute_copy(bstrpublisherid)).ok() } } -::windows::core::interface_hierarchy!(IEventObjectChange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEventObjectChange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEventObjectChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -448,7 +448,7 @@ impl IEventObjectChange2 { (::windows::core::Vtable::vtable(self).ChangedEventClass)(::windows::core::Vtable::as_raw(self), pinfo).ok() } } -::windows::core::interface_hierarchy!(IEventObjectChange2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEventObjectChange2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEventObjectChange2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -509,7 +509,7 @@ impl IEventObjectCollection { (::windows::core::Vtable::vtable(self).Remove)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(objectid)).ok() } } -::windows::core::interface_hierarchy!(IEventObjectCollection, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IEventObjectCollection, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IEventObjectCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -572,7 +572,7 @@ impl IEventProperty { (::windows::core::Vtable::vtable(self).SetValue)(::windows::core::Vtable::as_raw(self), propertyvalue).ok() } } -::windows::core::interface_hierarchy!(IEventProperty, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IEventProperty, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IEventProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -668,7 +668,7 @@ impl IEventPublisher { (::windows::core::Vtable::vtable(self).GetDefaultPropertyCollection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEventPublisher, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IEventPublisher, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IEventPublisher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -865,7 +865,7 @@ impl IEventSubscription { (::windows::core::Vtable::vtable(self).SetInterfaceID)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrinterfaceid)).ok() } } -::windows::core::interface_hierarchy!(IEventSubscription, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IEventSubscription, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IEventSubscription { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -980,7 +980,7 @@ impl IEventSystem { (::windows::core::Vtable::vtable(self).RemoveS)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(progid), ::core::mem::transmute_copy(querycriteria)).ok() } } -::windows::core::interface_hierarchy!(IEventSystem, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IEventSystem, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IEventSystem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1025,7 +1025,7 @@ impl IFiringControl { (::windows::core::Vtable::vtable(self).FireSubscription)(::windows::core::Vtable::as_raw(self), subscription.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFiringControl, ::windows::core::IUnknown, super::IDispatch); +::windows::imp::interface_hierarchy!(IFiringControl, ::windows::core::IUnknown, super::IDispatch); impl ::core::cmp::PartialEq for IFiringControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1101,7 +1101,7 @@ impl IMultiInterfaceEventControl { (::windows::core::Vtable::vtable(self).SetFireInParallel)(::windows::core::Vtable::as_raw(self), ffireinparallel.into()).ok() } } -::windows::core::interface_hierarchy!(IMultiInterfaceEventControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMultiInterfaceEventControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMultiInterfaceEventControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1165,7 +1165,7 @@ impl IMultiInterfacePublisherFilter { (::windows::core::Vtable::vtable(self).PrepareToFire)(::windows::core::Vtable::as_raw(self), iid, ::core::mem::transmute_copy(methodname), firingcontrol.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMultiInterfacePublisherFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMultiInterfacePublisherFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMultiInterfacePublisherFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1212,7 +1212,7 @@ impl IPublisherFilter { (::windows::core::Vtable::vtable(self).PrepareToFire)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(methodname), firingcontrol.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPublisherFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPublisherFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPublisherFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 cac32160ba..93d63d5c80 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 @@ -1,97 +1,97 @@ #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn BSTR_UserFree(param0: *const u32, param1: *const ::windows::core::BSTR) { - ::windows::core::link ! ( "oleaut32.dll""system" fn BSTR_UserFree ( param0 : *const u32 , param1 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BSTR_UserFree ( param0 : *const u32 , param1 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> ( ) ); BSTR_UserFree(param0, ::core::mem::transmute(param1)) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn BSTR_UserFree64(param0: *const u32, param1: *const ::windows::core::BSTR) { - ::windows::core::link ! ( "oleaut32.dll""system" fn BSTR_UserFree64 ( param0 : *const u32 , param1 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BSTR_UserFree64 ( param0 : *const u32 , param1 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> ( ) ); BSTR_UserFree64(param0, ::core::mem::transmute(param1)) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn BSTR_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const ::windows::core::BSTR) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn BSTR_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BSTR_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> *mut u8 ); BSTR_UserMarshal(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn BSTR_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const ::windows::core::BSTR) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn BSTR_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BSTR_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> *mut u8 ); BSTR_UserMarshal64(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn BSTR_UserSize(param0: *const u32, param1: u32, param2: *const ::windows::core::BSTR) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn BSTR_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BSTR_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> u32 ); BSTR_UserSize(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn BSTR_UserSize64(param0: *const u32, param1: u32, param2: *const ::windows::core::BSTR) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn BSTR_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BSTR_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> u32 ); BSTR_UserSize64(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn BSTR_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut ::windows::core::BSTR) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn BSTR_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BSTR_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> *mut u8 ); BSTR_UserUnmarshal(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn BSTR_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut ::windows::core::BSTR) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn BSTR_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BSTR_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> *mut u8 ); BSTR_UserUnmarshal64(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn CLIPFORMAT_UserFree(param0: *const u32, param1: *const u16) { - ::windows::core::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserFree ( param0 : *const u32 , param1 : *const u16 ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserFree ( param0 : *const u32 , param1 : *const u16 ) -> ( ) ); CLIPFORMAT_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn CLIPFORMAT_UserFree64(param0: *const u32, param1: *const u16) { - ::windows::core::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserFree64 ( param0 : *const u32 , param1 : *const u16 ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserFree64 ( param0 : *const u32 , param1 : *const u16 ) -> ( ) ); CLIPFORMAT_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn CLIPFORMAT_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const u16) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const u16 ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const u16 ) -> *mut u8 ); CLIPFORMAT_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn CLIPFORMAT_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const u16) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const u16 ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const u16 ) -> *mut u8 ); CLIPFORMAT_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn CLIPFORMAT_UserSize(param0: *const u32, param1: u32, param2: *const u16) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const u16 ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const u16 ) -> u32 ); CLIPFORMAT_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn CLIPFORMAT_UserSize64(param0: *const u32, param1: u32, param2: *const u16) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const u16 ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const u16 ) -> u32 ); CLIPFORMAT_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn CLIPFORMAT_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut u16) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut u16 ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut u16 ) -> *mut u8 ); CLIPFORMAT_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn CLIPFORMAT_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut u16) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut u16 ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLIPFORMAT_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut u16 ) -> *mut u8 ); CLIPFORMAT_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -100,7 +100,7 @@ pub unsafe fn CoGetMarshalSizeMax(pulsize: *mut u32, riid: *const ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetMarshalSizeMax ( pulsize : *mut u32 , riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , dwdestcontext : u32 , pvdestcontext : *const ::core::ffi::c_void , mshlflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetMarshalSizeMax ( pulsize : *mut u32 , riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , dwdestcontext : u32 , pvdestcontext : *const ::core::ffi::c_void , mshlflags : u32 ) -> :: windows::core::HRESULT ); CoGetMarshalSizeMax(pulsize, riid, punk.into().abi(), dwdestcontext, ::core::mem::transmute(pvdestcontext.unwrap_or(::std::ptr::null())), mshlflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -109,7 +109,7 @@ pub unsafe fn CoGetStandardMarshal(riid: *const ::windows::core::GUID, punk: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetStandardMarshal ( riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , dwdestcontext : u32 , pvdestcontext : *const ::core::ffi::c_void , mshlflags : u32 , ppmarshal : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetStandardMarshal ( riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , dwdestcontext : u32 , pvdestcontext : *const ::core::ffi::c_void , mshlflags : u32 , ppmarshal : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoGetStandardMarshal(riid, punk.into().abi(), dwdestcontext, ::core::mem::transmute(pvdestcontext.unwrap_or(::std::ptr::null())), mshlflags, &mut result__).from_abi(result__) } @@ -119,7 +119,7 @@ pub unsafe fn CoGetStdMarshalEx(punkouter: P0, smexflags: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetStdMarshalEx ( punkouter : * mut::core::ffi::c_void , smexflags : u32 , ppunkinner : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetStdMarshalEx ( punkouter : * mut::core::ffi::c_void , smexflags : u32 , ppunkinner : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CoGetStdMarshalEx(punkouter.into().abi(), smexflags, &mut result__).from_abi(result__) } @@ -129,7 +129,7 @@ pub unsafe fn CoMarshalHresult(pstm: P0, hresult: ::windows::core::HRESULT) where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoMarshalHresult ( pstm : * mut::core::ffi::c_void , hresult : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoMarshalHresult ( pstm : * mut::core::ffi::c_void , hresult : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); CoMarshalHresult(pstm.into().abi(), hresult).ok() } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -138,7 +138,7 @@ pub unsafe fn CoMarshalInterThreadInterfaceInStream(riid: *const ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoMarshalInterThreadInterfaceInStream ( riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoMarshalInterThreadInterfaceInStream ( riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoMarshalInterThreadInterfaceInStream(riid, punk.into().abi(), &mut result__).from_abi(result__) } @@ -149,7 +149,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoMarshalInterface ( pstm : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , dwdestcontext : u32 , pvdestcontext : *const ::core::ffi::c_void , mshlflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoMarshalInterface ( pstm : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , dwdestcontext : u32 , pvdestcontext : *const ::core::ffi::c_void , mshlflags : u32 ) -> :: windows::core::HRESULT ); CoMarshalInterface(pstm.into().abi(), riid, punk.into().abi(), dwdestcontext, ::core::mem::transmute(pvdestcontext.unwrap_or(::std::ptr::null())), mshlflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -158,7 +158,7 @@ pub unsafe fn CoReleaseMarshalData(pstm: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoReleaseMarshalData ( pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoReleaseMarshalData ( pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoReleaseMarshalData(pstm.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -167,7 +167,7 @@ pub unsafe fn CoUnmarshalHresult(pstm: P0) -> ::windows::core::Result<::wind where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoUnmarshalHresult ( pstm : * mut::core::ffi::c_void , phresult : *mut :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoUnmarshalHresult ( pstm : * mut::core::ffi::c_void , phresult : *mut :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HRESULT>(); CoUnmarshalHresult(pstm.into().abi(), &mut result__).from_abi(result__) } @@ -178,7 +178,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -186,648 +186,648 @@ where #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HACCEL_UserFree(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HACCEL) { - ::windows::core::link ! ( "ole32.dll""system" fn HACCEL_UserFree ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HACCEL_UserFree ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> ( ) ); HACCEL_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HACCEL_UserFree64(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HACCEL) { - ::windows::core::link ! ( "ole32.dll""system" fn HACCEL_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HACCEL_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> ( ) ); HACCEL_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HACCEL_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HACCEL_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HACCEL_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> *mut u8 ); HACCEL_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HACCEL_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HACCEL_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HACCEL_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> *mut u8 ); HACCEL_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HACCEL_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HACCEL_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HACCEL_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> u32 ); HACCEL_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HACCEL_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HACCEL_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HACCEL_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> u32 ); HACCEL_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HACCEL_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HACCEL_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HACCEL_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> *mut u8 ); HACCEL_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HACCEL_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HACCEL_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HACCEL_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HACCEL ) -> *mut u8 ); HACCEL_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HBITMAP_UserFree(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HBITMAP) { - ::windows::core::link ! ( "ole32.dll""system" fn HBITMAP_UserFree ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HBITMAP_UserFree ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> ( ) ); HBITMAP_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HBITMAP_UserFree64(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HBITMAP) { - ::windows::core::link ! ( "ole32.dll""system" fn HBITMAP_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HBITMAP_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> ( ) ); HBITMAP_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HBITMAP_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HBITMAP) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HBITMAP_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HBITMAP_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> *mut u8 ); HBITMAP_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HBITMAP_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HBITMAP) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HBITMAP_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HBITMAP_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> *mut u8 ); HBITMAP_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HBITMAP_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HBITMAP) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HBITMAP_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HBITMAP_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> u32 ); HBITMAP_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HBITMAP_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HBITMAP) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HBITMAP_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HBITMAP_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HBITMAP ) -> u32 ); HBITMAP_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HBITMAP_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HBITMAP) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HBITMAP_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HBITMAP ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HBITMAP_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HBITMAP ) -> *mut u8 ); HBITMAP_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HBITMAP_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HBITMAP) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HBITMAP_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HBITMAP ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HBITMAP_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HBITMAP ) -> *mut u8 ); HBITMAP_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HDC_UserFree(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HDC) { - ::windows::core::link ! ( "ole32.dll""system" fn HDC_UserFree ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HDC ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HDC_UserFree ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HDC ) -> ( ) ); HDC_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HDC_UserFree64(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HDC) { - ::windows::core::link ! ( "ole32.dll""system" fn HDC_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HDC ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HDC_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HDC ) -> ( ) ); HDC_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HDC_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HDC) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HDC_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HDC ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HDC_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HDC ) -> *mut u8 ); HDC_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HDC_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HDC) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HDC_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HDC ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HDC_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HDC ) -> *mut u8 ); HDC_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HDC_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HDC) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HDC_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HDC ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HDC_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HDC ) -> u32 ); HDC_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HDC_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HDC) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HDC_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HDC ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HDC_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HDC ) -> u32 ); HDC_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HDC_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HDC) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HDC_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HDC ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HDC_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HDC ) -> *mut u8 ); HDC_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HDC_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HDC) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HDC_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HDC ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HDC_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HDC ) -> *mut u8 ); HDC_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn HGLOBAL_UserFree(param0: *const u32, param1: *const isize) { - ::windows::core::link ! ( "ole32.dll""system" fn HGLOBAL_UserFree ( param0 : *const u32 , param1 : *const isize ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HGLOBAL_UserFree ( param0 : *const u32 , param1 : *const isize ) -> ( ) ); HGLOBAL_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn HGLOBAL_UserFree64(param0: *const u32, param1: *const isize) { - ::windows::core::link ! ( "ole32.dll""system" fn HGLOBAL_UserFree64 ( param0 : *const u32 , param1 : *const isize ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HGLOBAL_UserFree64 ( param0 : *const u32 , param1 : *const isize ) -> ( ) ); HGLOBAL_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn HGLOBAL_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const isize) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HGLOBAL_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const isize ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HGLOBAL_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const isize ) -> *mut u8 ); HGLOBAL_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn HGLOBAL_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const isize) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HGLOBAL_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const isize ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HGLOBAL_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const isize ) -> *mut u8 ); HGLOBAL_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn HGLOBAL_UserSize(param0: *const u32, param1: u32, param2: *const isize) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HGLOBAL_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const isize ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HGLOBAL_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const isize ) -> u32 ); HGLOBAL_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn HGLOBAL_UserSize64(param0: *const u32, param1: u32, param2: *const isize) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HGLOBAL_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const isize ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HGLOBAL_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const isize ) -> u32 ); HGLOBAL_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn HGLOBAL_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut isize) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HGLOBAL_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut isize ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HGLOBAL_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut isize ) -> *mut u8 ); HGLOBAL_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn HGLOBAL_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut isize) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HGLOBAL_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut isize ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HGLOBAL_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut isize ) -> *mut u8 ); HGLOBAL_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HICON_UserFree(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HICON) { - ::windows::core::link ! ( "ole32.dll""system" fn HICON_UserFree ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HICON_UserFree ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> ( ) ); HICON_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HICON_UserFree64(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HICON) { - ::windows::core::link ! ( "ole32.dll""system" fn HICON_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HICON_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> ( ) ); HICON_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HICON_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HICON) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HICON_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HICON_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> *mut u8 ); HICON_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HICON_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HICON) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HICON_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HICON_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> *mut u8 ); HICON_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HICON_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HICON) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HICON_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HICON_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> u32 ); HICON_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HICON_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HICON) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HICON_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HICON_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HICON ) -> u32 ); HICON_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HICON_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HICON) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HICON_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HICON ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HICON_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HICON ) -> *mut u8 ); HICON_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HICON_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HICON) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HICON_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HICON ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HICON_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HICON ) -> *mut u8 ); HICON_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HMENU_UserFree(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HMENU) { - ::windows::core::link ! ( "ole32.dll""system" fn HMENU_UserFree ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMENU_UserFree ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> ( ) ); HMENU_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HMENU_UserFree64(param0: *const u32, param1: *const super::super::super::UI::WindowsAndMessaging::HMENU) { - ::windows::core::link ! ( "ole32.dll""system" fn HMENU_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMENU_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> ( ) ); HMENU_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HMENU_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HMENU) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HMENU_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMENU_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> *mut u8 ); HMENU_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HMENU_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HMENU) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HMENU_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMENU_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> *mut u8 ); HMENU_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HMENU_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HMENU) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HMENU_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMENU_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> u32 ); HMENU_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HMENU_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::UI::WindowsAndMessaging::HMENU) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HMENU_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMENU_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::UI::WindowsAndMessaging:: HMENU ) -> u32 ); HMENU_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HMENU_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HMENU) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HMENU_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HMENU ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMENU_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HMENU ) -> *mut u8 ); HMENU_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn HMENU_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::UI::WindowsAndMessaging::HMENU) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HMENU_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HMENU ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMENU_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::UI::WindowsAndMessaging:: HMENU ) -> *mut u8 ); HMENU_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HPALETTE_UserFree(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HPALETTE) { - ::windows::core::link ! ( "ole32.dll""system" fn HPALETTE_UserFree ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HPALETTE_UserFree ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> ( ) ); HPALETTE_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HPALETTE_UserFree64(param0: *const u32, param1: *const super::super::super::Graphics::Gdi::HPALETTE) { - ::windows::core::link ! ( "ole32.dll""system" fn HPALETTE_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HPALETTE_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> ( ) ); HPALETTE_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HPALETTE_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HPALETTE) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HPALETTE_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HPALETTE_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> *mut u8 ); HPALETTE_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HPALETTE_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Graphics::Gdi::HPALETTE) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HPALETTE_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HPALETTE_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> *mut u8 ); HPALETTE_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HPALETTE_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HPALETTE) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HPALETTE_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HPALETTE_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> u32 ); HPALETTE_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HPALETTE_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Graphics::Gdi::HPALETTE) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HPALETTE_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HPALETTE_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Graphics::Gdi:: HPALETTE ) -> u32 ); HPALETTE_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HPALETTE_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HPALETTE) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HPALETTE_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HPALETTE ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HPALETTE_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HPALETTE ) -> *mut u8 ); HPALETTE_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HPALETTE_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Graphics::Gdi::HPALETTE) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HPALETTE_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HPALETTE ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HPALETTE_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Graphics::Gdi:: HPALETTE ) -> *mut u8 ); HPALETTE_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HWND_UserFree(param0: *const u32, param1: *const super::super::super::Foundation::HWND) { - ::windows::core::link ! ( "ole32.dll""system" fn HWND_UserFree ( param0 : *const u32 , param1 : *const super::super::super::Foundation:: HWND ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HWND_UserFree ( param0 : *const u32 , param1 : *const super::super::super::Foundation:: HWND ) -> ( ) ); HWND_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HWND_UserFree64(param0: *const u32, param1: *const super::super::super::Foundation::HWND) { - ::windows::core::link ! ( "ole32.dll""system" fn HWND_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::Foundation:: HWND ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HWND_UserFree64 ( param0 : *const u32 , param1 : *const super::super::super::Foundation:: HWND ) -> ( ) ); HWND_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HWND_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Foundation::HWND) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HWND_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Foundation:: HWND ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HWND_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Foundation:: HWND ) -> *mut u8 ); HWND_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HWND_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::super::Foundation::HWND) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HWND_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Foundation:: HWND ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HWND_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::super::Foundation:: HWND ) -> *mut u8 ); HWND_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HWND_UserSize(param0: *const u32, param1: u32, param2: *const super::super::super::Foundation::HWND) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HWND_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HWND_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Foundation:: HWND ) -> u32 ); HWND_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HWND_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::super::Foundation::HWND) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HWND_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HWND_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::super::Foundation:: HWND ) -> u32 ); HWND_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HWND_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Foundation::HWND) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HWND_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Foundation:: HWND ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HWND_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Foundation:: HWND ) -> *mut u8 ); HWND_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HWND_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::super::Foundation::HWND) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HWND_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Foundation:: HWND ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HWND_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::super::Foundation:: HWND ) -> *mut u8 ); HWND_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn LPSAFEARRAY_UserFree(param0: *const u32, param1: *const *const super::SAFEARRAY) { - ::windows::core::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserFree ( param0 : *const u32 , param1 : *const *const super:: SAFEARRAY ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserFree ( param0 : *const u32 , param1 : *const *const super:: SAFEARRAY ) -> ( ) ); LPSAFEARRAY_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn LPSAFEARRAY_UserFree64(param0: *const u32, param1: *const *const super::SAFEARRAY) { - ::windows::core::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserFree64 ( param0 : *const u32 , param1 : *const *const super:: SAFEARRAY ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserFree64 ( param0 : *const u32 , param1 : *const *const super:: SAFEARRAY ) -> ( ) ); LPSAFEARRAY_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn LPSAFEARRAY_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const *const super::SAFEARRAY) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const *const super:: SAFEARRAY ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const *const super:: SAFEARRAY ) -> *mut u8 ); LPSAFEARRAY_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn LPSAFEARRAY_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const *const super::SAFEARRAY) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const *const super:: SAFEARRAY ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const *const super:: SAFEARRAY ) -> *mut u8 ); LPSAFEARRAY_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn LPSAFEARRAY_UserSize(param0: *const u32, param1: u32, param2: *const *const super::SAFEARRAY) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const *const super:: SAFEARRAY ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const *const super:: SAFEARRAY ) -> u32 ); LPSAFEARRAY_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn LPSAFEARRAY_UserSize64(param0: *const u32, param1: u32, param2: *const *const super::SAFEARRAY) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const *const super:: SAFEARRAY ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const *const super:: SAFEARRAY ) -> u32 ); LPSAFEARRAY_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn LPSAFEARRAY_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut *mut super::SAFEARRAY) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut *mut super:: SAFEARRAY ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut *mut super:: SAFEARRAY ) -> *mut u8 ); LPSAFEARRAY_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn LPSAFEARRAY_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut *mut super::SAFEARRAY) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut *mut super:: SAFEARRAY ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LPSAFEARRAY_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut *mut super:: SAFEARRAY ) -> *mut u8 ); LPSAFEARRAY_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn SNB_UserFree(param0: *const u32, param1: *const *const *const u16) { - ::windows::core::link ! ( "ole32.dll""system" fn SNB_UserFree ( param0 : *const u32 , param1 : *const *const *const u16 ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn SNB_UserFree ( param0 : *const u32 , param1 : *const *const *const u16 ) -> ( ) ); SNB_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn SNB_UserFree64(param0: *const u32, param1: *const *const *const u16) { - ::windows::core::link ! ( "ole32.dll""system" fn SNB_UserFree64 ( param0 : *const u32 , param1 : *const *const *const u16 ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn SNB_UserFree64 ( param0 : *const u32 , param1 : *const *const *const u16 ) -> ( ) ); SNB_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn SNB_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const *const *const u16) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn SNB_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const *const *const u16 ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn SNB_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const *const *const u16 ) -> *mut u8 ); SNB_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn SNB_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const *const *const u16) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn SNB_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const *const *const u16 ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn SNB_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const *const *const u16 ) -> *mut u8 ); SNB_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn SNB_UserSize(param0: *const u32, param1: u32, param2: *const *const *const u16) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn SNB_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const *const *const u16 ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn SNB_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const *const *const u16 ) -> u32 ); SNB_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn SNB_UserSize64(param0: *const u32, param1: u32, param2: *const *const *const u16) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn SNB_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const *const *const u16 ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn SNB_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const *const *const u16 ) -> u32 ); SNB_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn SNB_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut *mut *mut u16) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn SNB_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut *mut *mut u16 ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn SNB_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut *mut *mut u16 ) -> *mut u8 ); SNB_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[inline] pub unsafe fn SNB_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut *mut *mut u16) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn SNB_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut *mut *mut u16 ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn SNB_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut *mut *mut u16 ) -> *mut u8 ); SNB_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn STGMEDIUM_UserFree(param0: *const u32, param1: *const super::STGMEDIUM) { - ::windows::core::link ! ( "ole32.dll""system" fn STGMEDIUM_UserFree ( param0 : *const u32 , param1 : *const super:: STGMEDIUM ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn STGMEDIUM_UserFree ( param0 : *const u32 , param1 : *const super:: STGMEDIUM ) -> ( ) ); STGMEDIUM_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn STGMEDIUM_UserFree64(param0: *const u32, param1: *const super::STGMEDIUM) { - ::windows::core::link ! ( "ole32.dll""system" fn STGMEDIUM_UserFree64 ( param0 : *const u32 , param1 : *const super:: STGMEDIUM ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn STGMEDIUM_UserFree64 ( param0 : *const u32 , param1 : *const super:: STGMEDIUM ) -> ( ) ); STGMEDIUM_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn STGMEDIUM_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::STGMEDIUM) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn STGMEDIUM_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super:: STGMEDIUM ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn STGMEDIUM_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super:: STGMEDIUM ) -> *mut u8 ); STGMEDIUM_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn STGMEDIUM_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::STGMEDIUM) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn STGMEDIUM_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super:: STGMEDIUM ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn STGMEDIUM_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super:: STGMEDIUM ) -> *mut u8 ); STGMEDIUM_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn STGMEDIUM_UserSize(param0: *const u32, param1: u32, param2: *const super::STGMEDIUM) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn STGMEDIUM_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super:: STGMEDIUM ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn STGMEDIUM_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super:: STGMEDIUM ) -> u32 ); STGMEDIUM_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn STGMEDIUM_UserSize64(param0: *const u32, param1: u32, param2: *const super::STGMEDIUM) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn STGMEDIUM_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super:: STGMEDIUM ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn STGMEDIUM_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super:: STGMEDIUM ) -> u32 ); STGMEDIUM_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn STGMEDIUM_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::STGMEDIUM) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn STGMEDIUM_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super:: STGMEDIUM ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn STGMEDIUM_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super:: STGMEDIUM ) -> *mut u8 ); STGMEDIUM_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn STGMEDIUM_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::STGMEDIUM) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn STGMEDIUM_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super:: STGMEDIUM ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn STGMEDIUM_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super:: STGMEDIUM ) -> *mut u8 ); STGMEDIUM_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VARIANT_UserFree(param0: *const u32, param1: *const super::VARIANT) { - ::windows::core::link ! ( "oleaut32.dll""system" fn VARIANT_UserFree ( param0 : *const u32 , param1 : *const super:: VARIANT ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VARIANT_UserFree ( param0 : *const u32 , param1 : *const super:: VARIANT ) -> ( ) ); VARIANT_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VARIANT_UserFree64(param0: *const u32, param1: *const super::VARIANT) { - ::windows::core::link ! ( "oleaut32.dll""system" fn VARIANT_UserFree64 ( param0 : *const u32 , param1 : *const super:: VARIANT ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VARIANT_UserFree64 ( param0 : *const u32 , param1 : *const super:: VARIANT ) -> ( ) ); VARIANT_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VARIANT_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::VARIANT) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn VARIANT_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super:: VARIANT ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VARIANT_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super:: VARIANT ) -> *mut u8 ); VARIANT_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VARIANT_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::VARIANT) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn VARIANT_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super:: VARIANT ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VARIANT_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super:: VARIANT ) -> *mut u8 ); VARIANT_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VARIANT_UserSize(param0: *const u32, param1: u32, param2: *const super::VARIANT) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn VARIANT_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super:: VARIANT ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VARIANT_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super:: VARIANT ) -> u32 ); VARIANT_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VARIANT_UserSize64(param0: *const u32, param1: u32, param2: *const super::VARIANT) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn VARIANT_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super:: VARIANT ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VARIANT_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super:: VARIANT ) -> u32 ); VARIANT_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VARIANT_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::VARIANT) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn VARIANT_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super:: VARIANT ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VARIANT_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super:: VARIANT ) -> *mut u8 ); VARIANT_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VARIANT_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::VARIANT) -> *mut u8 { - ::windows::core::link ! ( "oleaut32.dll""system" fn VARIANT_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super:: VARIANT ) -> *mut u8 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VARIANT_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super:: VARIANT ) -> *mut u8 ); VARIANT_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] @@ -864,7 +864,7 @@ impl IMarshal { (::windows::core::Vtable::vtable(self).DisconnectObject)(::windows::core::Vtable::as_raw(self), dwreserved).ok() } } -::windows::core::interface_hierarchy!(IMarshal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMarshal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMarshal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -932,7 +932,7 @@ impl IMarshal2 { (::windows::core::Vtable::vtable(self).base__.DisconnectObject)(::windows::core::Vtable::as_raw(self), dwreserved).ok() } } -::windows::core::interface_hierarchy!(IMarshal2, ::windows::core::IUnknown, IMarshal); +::windows::imp::interface_hierarchy!(IMarshal2, ::windows::core::IUnknown, IMarshal); impl ::core::cmp::PartialEq for IMarshal2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1008,7 +1008,7 @@ impl IMarshalingStream { (::windows::core::Vtable::vtable(self).GetMarshalingContextAttribute)(::windows::core::Vtable::as_raw(self), attribute, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMarshalingStream, ::windows::core::IUnknown, super::ISequentialStream, super::IStream); +::windows::imp::interface_hierarchy!(IMarshalingStream, ::windows::core::IUnknown, super::ISequentialStream, super::IStream); impl ::core::cmp::PartialEq for IMarshalingStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 9fda7ce05c..32abc78942 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 @@ -5,7 +5,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetInstanceFromFile ( pserverinfo : *const super:: COSERVERINFO , pclsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , dwclsctx : super:: CLSCTX , grfmode : u32 , pwszname : :: windows::core::PCWSTR , dwcount : u32 , presults : *mut super:: MULTI_QI ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetInstanceFromFile ( pserverinfo : *const super:: COSERVERINFO , pclsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , dwclsctx : super:: CLSCTX , grfmode : u32 , pwszname : :: windows::core::PCWSTR , dwcount : u32 , presults : *mut super:: MULTI_QI ) -> :: windows::core::HRESULT ); CoGetInstanceFromFile(::core::mem::transmute(pserverinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pclsid.unwrap_or(::std::ptr::null())), punkouter.into().abi(), dwclsctx, grfmode, pwszname.into().abi(), presults.len() as _, ::core::mem::transmute(presults.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -15,7 +15,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetInstanceFromIStorage ( pserverinfo : *const super:: COSERVERINFO , pclsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , dwclsctx : super:: CLSCTX , pstg : * mut::core::ffi::c_void , dwcount : u32 , presults : *mut super:: MULTI_QI ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetInstanceFromIStorage ( pserverinfo : *const super:: COSERVERINFO , pclsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , dwclsctx : super:: CLSCTX , pstg : * mut::core::ffi::c_void , dwcount : u32 , presults : *mut super:: MULTI_QI ) -> :: windows::core::HRESULT ); CoGetInstanceFromIStorage(::core::mem::transmute(pserverinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pclsid.unwrap_or(::std::ptr::null())), punkouter.into().abi(), dwclsctx, pstg.into().abi(), presults.len() as _, ::core::mem::transmute(presults.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -25,7 +25,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -36,7 +36,7 @@ pub unsafe fn CreateILockBytesOnHGlobal(hglobal: isize, fdeleteonrelease: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn CreateILockBytesOnHGlobal ( hglobal : isize , fdeleteonrelease : super::super::super::Foundation:: BOOL , pplkbyt : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateILockBytesOnHGlobal ( hglobal : isize , fdeleteonrelease : super::super::super::Foundation:: BOOL , pplkbyt : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateILockBytesOnHGlobal(hglobal, fdeleteonrelease.into(), &mut result__).from_abi(result__) } @@ -47,21 +47,21 @@ pub unsafe fn CreateStreamOnHGlobal(hglobal: isize, fdeleteonrelease: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn CreateStreamOnHGlobal ( hglobal : isize , fdeleteonrelease : super::super::super::Foundation:: BOOL , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateStreamOnHGlobal ( hglobal : isize , fdeleteonrelease : super::super::super::Foundation:: BOOL , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateStreamOnHGlobal(hglobal, fdeleteonrelease.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[inline] pub unsafe fn FmtIdToPropStgName(pfmtid: *const ::windows::core::GUID, oszname: ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn FmtIdToPropStgName ( pfmtid : *const :: windows::core::GUID , oszname : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn FmtIdToPropStgName ( pfmtid : *const :: windows::core::GUID , oszname : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); FmtIdToPropStgName(pfmtid, ::core::mem::transmute(oszname)).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreePropVariantArray(rgvars: &mut [PROPVARIANT]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn FreePropVariantArray ( cvariants : u32 , rgvars : *mut PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn FreePropVariantArray ( cvariants : u32 , rgvars : *mut PROPVARIANT ) -> :: windows::core::HRESULT ); FreePropVariantArray(rgvars.len() as _, ::core::mem::transmute(rgvars.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -70,7 +70,7 @@ pub unsafe fn GetConvertStg(pstg: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn GetConvertStg ( pstg : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn GetConvertStg ( pstg : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); GetConvertStg(pstg.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -79,7 +79,7 @@ pub unsafe fn GetHGlobalFromILockBytes(plkbyt: P0) -> ::windows::core::Resul where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn GetHGlobalFromILockBytes ( plkbyt : * mut::core::ffi::c_void , phglobal : *mut isize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn GetHGlobalFromILockBytes ( plkbyt : * mut::core::ffi::c_void , phglobal : *mut isize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetHGlobalFromILockBytes(plkbyt.into().abi(), &mut result__).from_abi(result__) } @@ -89,7 +89,7 @@ pub unsafe fn GetHGlobalFromStream(pstm: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "ole32.dll""system" fn GetHGlobalFromStream ( pstm : * mut::core::ffi::c_void , phglobal : *mut isize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn GetHGlobalFromStream ( pstm : * mut::core::ffi::c_void , phglobal : *mut isize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetHGlobalFromStream(pstm.into().abi(), &mut result__).from_abi(result__) } @@ -99,7 +99,7 @@ pub unsafe fn OleConvertIStorageToOLESTREAM(pstg: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleConvertIStorageToOLESTREAM ( pstg : * mut::core::ffi::c_void , lpolestream : *mut OLESTREAM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleConvertIStorageToOLESTREAM ( pstg : * mut::core::ffi::c_void , lpolestream : *mut OLESTREAM ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleConvertIStorageToOLESTREAM(pstg.into().abi(), &mut result__).from_abi(result__) } @@ -110,7 +110,7 @@ pub unsafe fn OleConvertIStorageToOLESTREAMEx(pstg: P0, cfformat: u16, lwidt where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleConvertIStorageToOLESTREAMEx ( pstg : * mut::core::ffi::c_void , cfformat : u16 , lwidth : i32 , lheight : i32 , dwsize : u32 , pmedium : *const super:: STGMEDIUM , polestm : *mut OLESTREAM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleConvertIStorageToOLESTREAMEx ( pstg : * mut::core::ffi::c_void , cfformat : u16 , lwidth : i32 , lheight : i32 , dwsize : u32 , pmedium : *const super:: STGMEDIUM , polestm : *mut OLESTREAM ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleConvertIStorageToOLESTREAMEx(pstg.into().abi(), cfformat, lwidth, lheight, dwsize, pmedium, &mut result__).from_abi(result__) } @@ -120,7 +120,7 @@ pub unsafe fn OleConvertOLESTREAMToIStorage(lpolestream: *const OLESTREAM, p where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleConvertOLESTREAMToIStorage ( lpolestream : *const OLESTREAM , pstg : * mut::core::ffi::c_void , ptd : *const super:: DVTARGETDEVICE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleConvertOLESTREAMToIStorage ( lpolestream : *const OLESTREAM , pstg : * mut::core::ffi::c_void , ptd : *const super:: DVTARGETDEVICE ) -> :: windows::core::HRESULT ); OleConvertOLESTREAMToIStorage(lpolestream, pstg.into().abi(), ptd).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -130,7 +130,7 @@ pub unsafe fn OleConvertOLESTREAMToIStorageEx(polestm: *const OLESTREAM, pst where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleConvertOLESTREAMToIStorageEx ( polestm : *const OLESTREAM , pstg : * mut::core::ffi::c_void , pcfformat : *mut u16 , plwwidth : *mut i32 , plheight : *mut i32 , pdwsize : *mut u32 , pmedium : *mut super:: STGMEDIUM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleConvertOLESTREAMToIStorageEx ( polestm : *const OLESTREAM , pstg : * mut::core::ffi::c_void , pcfformat : *mut u16 , plwwidth : *mut i32 , plheight : *mut i32 , pdwsize : *mut u32 , pmedium : *mut super:: STGMEDIUM ) -> :: windows::core::HRESULT ); OleConvertOLESTREAMToIStorageEx(polestm, pstg.into().abi(), pcfformat, plwwidth, plheight, pdwsize, pmedium).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -139,7 +139,7 @@ pub unsafe fn PropStgNameToFmtId(oszname: P0) -> ::windows::core::Result<::w where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn PropStgNameToFmtId ( oszname : :: windows::core::PCWSTR , pfmtid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn PropStgNameToFmtId ( oszname : :: windows::core::PCWSTR , pfmtid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); PropStgNameToFmtId(oszname.into().abi(), &mut result__).from_abi(result__) } @@ -147,14 +147,14 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PropVariantClear(pvar: *mut PROPVARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn PropVariantClear ( pvar : *mut PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn PropVariantClear ( pvar : *mut PROPVARIANT ) -> :: windows::core::HRESULT ); PropVariantClear(pvar).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PropVariantCopy(pvardest: *mut PROPVARIANT, pvarsrc: *const PROPVARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn PropVariantCopy ( pvardest : *mut PROPVARIANT , pvarsrc : *const PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn PropVariantCopy ( pvardest : *mut PROPVARIANT , pvarsrc : *const PROPVARIANT ) -> :: windows::core::HRESULT ); PropVariantCopy(pvardest, pvarsrc).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -163,7 +163,7 @@ pub unsafe fn ReadClassStg(pstg: P0) -> ::windows::core::Result<::windows::c where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn ReadClassStg ( pstg : * mut::core::ffi::c_void , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn ReadClassStg ( pstg : * mut::core::ffi::c_void , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); ReadClassStg(pstg.into().abi(), &mut result__).from_abi(result__) } @@ -173,7 +173,7 @@ pub unsafe fn ReadClassStm(pstm: P0) -> ::windows::core::Result<::windows::c where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn ReadClassStm ( pstm : * mut::core::ffi::c_void , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn ReadClassStm ( pstm : * mut::core::ffi::c_void , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); ReadClassStm(pstm.into().abi(), &mut result__).from_abi(result__) } @@ -183,7 +183,7 @@ pub unsafe fn ReadFmtUserTypeStg(pstg: P0, pcf: *mut u16, lplpszusertype: :: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn ReadFmtUserTypeStg ( pstg : * mut::core::ffi::c_void , pcf : *mut u16 , lplpszusertype : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn ReadFmtUserTypeStg ( pstg : * mut::core::ffi::c_void , pcf : *mut u16 , lplpszusertype : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); ReadFmtUserTypeStg(pstg.into().abi(), pcf, ::core::mem::transmute(lplpszusertype.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] @@ -194,14 +194,14 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn SetConvertStg ( pstg : * mut::core::ffi::c_void , fconvert : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn SetConvertStg ( pstg : * mut::core::ffi::c_void , fconvert : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); SetConvertStg(pstg.into().abi(), fconvert.into()).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn StgConvertPropertyToVariant(pprop: *const SERIALIZEDPROPERTYVALUE, codepage: u16, pvar: *mut PROPVARIANT, pma: *const PMemoryAllocator) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "ole32.dll""system" fn StgConvertPropertyToVariant ( pprop : *const SERIALIZEDPROPERTYVALUE , codepage : u16 , pvar : *mut PROPVARIANT , pma : *const PMemoryAllocator ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgConvertPropertyToVariant ( pprop : *const SERIALIZEDPROPERTYVALUE , codepage : u16 , pvar : *mut PROPVARIANT , pma : *const PMemoryAllocator ) -> super::super::super::Foundation:: BOOLEAN ); StgConvertPropertyToVariant(pprop, codepage, pvar, pma) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] @@ -211,7 +211,7 @@ pub unsafe fn StgConvertVariantToProperty(pvar: *const PROPVARIANT, codepage where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn StgConvertVariantToProperty ( pvar : *const PROPVARIANT , codepage : u16 , pprop : *mut SERIALIZEDPROPERTYVALUE , pcb : *mut u32 , pid : u32 , freserved : super::super::super::Foundation:: BOOLEAN , pcindirect : *mut u32 ) -> *mut SERIALIZEDPROPERTYVALUE ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgConvertVariantToProperty ( pvar : *const PROPVARIANT , codepage : u16 , pprop : *mut SERIALIZEDPROPERTYVALUE , pcb : *mut u32 , pid : u32 , freserved : super::super::super::Foundation:: BOOLEAN , pcindirect : *mut u32 ) -> *mut SERIALIZEDPROPERTYVALUE ); StgConvertVariantToProperty(pvar, codepage, ::core::mem::transmute(pprop.unwrap_or(::std::ptr::null_mut())), pcb, pid, freserved.into(), ::core::mem::transmute(pcindirect.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -220,7 +220,7 @@ pub unsafe fn StgCreateDocfile(pwcsname: P0, grfmode: super::STGM, reserved: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgCreateDocfile ( pwcsname : :: windows::core::PCWSTR , grfmode : super:: STGM , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgCreateDocfile ( pwcsname : :: windows::core::PCWSTR , grfmode : super:: STGM , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgCreateDocfile(pwcsname.into().abi(), grfmode, reserved, &mut result__).from_abi(result__) } @@ -230,7 +230,7 @@ pub unsafe fn StgCreateDocfileOnILockBytes(plkbyt: P0, grfmode: super::STGM, where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgCreateDocfileOnILockBytes ( plkbyt : * mut::core::ffi::c_void , grfmode : super:: STGM , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgCreateDocfileOnILockBytes ( plkbyt : * mut::core::ffi::c_void , grfmode : super:: STGM , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgCreateDocfileOnILockBytes(plkbyt.into().abi(), grfmode, reserved, &mut result__).from_abi(result__) } @@ -240,7 +240,7 @@ pub unsafe fn StgCreatePropSetStg(pstorage: P0, dwreserved: u32) -> ::window where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgCreatePropSetStg ( pstorage : * mut::core::ffi::c_void , dwreserved : u32 , pppropsetstg : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgCreatePropSetStg ( pstorage : * mut::core::ffi::c_void , dwreserved : u32 , pppropsetstg : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgCreatePropSetStg(pstorage.into().abi(), dwreserved, &mut result__).from_abi(result__) } @@ -250,7 +250,7 @@ pub unsafe fn StgCreatePropStg(punk: P0, fmtid: *const ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgCreatePropStg ( punk : * mut::core::ffi::c_void , fmtid : *const :: windows::core::GUID , pclsid : *const :: windows::core::GUID , grfflags : u32 , dwreserved : u32 , pppropstg : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgCreatePropStg ( punk : * mut::core::ffi::c_void , fmtid : *const :: windows::core::GUID , pclsid : *const :: windows::core::GUID , grfflags : u32 , dwreserved : u32 , pppropstg : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgCreatePropStg(punk.into().abi(), fmtid, pclsid, grfflags, dwreserved, &mut result__).from_abi(result__) } @@ -262,14 +262,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn StgCreateStorageEx ( pwcsname : :: windows::core::PCWSTR , grfmode : super:: STGM , stgfmt : STGFMT , grfattrs : u32 , pstgoptions : *mut STGOPTIONS , psecuritydescriptor : super::super::super::Security:: PSECURITY_DESCRIPTOR , riid : *const :: windows::core::GUID , ppobjectopen : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgCreateStorageEx ( pwcsname : :: windows::core::PCWSTR , grfmode : super:: STGM , stgfmt : STGFMT , grfattrs : u32 , pstgoptions : *mut STGOPTIONS , psecuritydescriptor : super::super::super::Security:: PSECURITY_DESCRIPTOR , riid : *const :: windows::core::GUID , ppobjectopen : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); StgCreateStorageEx(pwcsname.into().abi(), grfmode, stgfmt, grfattrs, ::core::mem::transmute(pstgoptions.unwrap_or(::std::ptr::null_mut())), psecuritydescriptor.into(), riid, ppobjectopen).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn StgDeserializePropVariant(pprop: *const SERIALIZEDPROPERTYVALUE, cbmax: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn StgDeserializePropVariant ( pprop : *const SERIALIZEDPROPERTYVALUE , cbmax : u32 , ppropvar : *mut PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn StgDeserializePropVariant ( pprop : *const SERIALIZEDPROPERTYVALUE , cbmax : u32 , ppropvar : *mut PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgDeserializePropVariant(pprop, cbmax, &mut result__).from_abi(result__) } @@ -279,7 +279,7 @@ pub unsafe fn StgGetIFillLockBytesOnFile(pwcsname: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgGetIFillLockBytesOnFile ( pwcsname : :: windows::core::PCWSTR , ppflb : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgGetIFillLockBytesOnFile ( pwcsname : :: windows::core::PCWSTR , ppflb : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgGetIFillLockBytesOnFile(pwcsname.into().abi(), &mut result__).from_abi(result__) } @@ -289,7 +289,7 @@ pub unsafe fn StgGetIFillLockBytesOnILockBytes(pilb: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgGetIFillLockBytesOnILockBytes ( pilb : * mut::core::ffi::c_void , ppflb : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgGetIFillLockBytesOnILockBytes ( pilb : * mut::core::ffi::c_void , ppflb : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgGetIFillLockBytesOnILockBytes(pilb.into().abi(), &mut result__).from_abi(result__) } @@ -299,7 +299,7 @@ pub unsafe fn StgIsStorageFile(pwcsname: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgIsStorageFile ( pwcsname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgIsStorageFile ( pwcsname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); StgIsStorageFile(pwcsname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -308,7 +308,7 @@ pub unsafe fn StgIsStorageILockBytes(plkbyt: P0) -> ::windows::core::Result< where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgIsStorageILockBytes ( plkbyt : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgIsStorageILockBytes ( plkbyt : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); StgIsStorageILockBytes(plkbyt.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -317,7 +317,7 @@ pub unsafe fn StgOpenAsyncDocfileOnIFillLockBytes(pflb: P0, grfmode: u32, as where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgOpenAsyncDocfileOnIFillLockBytes ( pflb : * mut::core::ffi::c_void , grfmode : u32 , asyncflags : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgOpenAsyncDocfileOnIFillLockBytes ( pflb : * mut::core::ffi::c_void , grfmode : u32 , asyncflags : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgOpenAsyncDocfileOnIFillLockBytes(pflb.into().abi(), grfmode, asyncflags, &mut result__).from_abi(result__) } @@ -327,7 +327,7 @@ pub unsafe fn StgOpenLayoutDocfile(pwcsdfname: P0, grfmode: u32, reserved: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dflayout.dll""system" fn StgOpenLayoutDocfile ( pwcsdfname : :: windows::core::PCWSTR , grfmode : u32 , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dflayout.dll""system" fn StgOpenLayoutDocfile ( pwcsdfname : :: windows::core::PCWSTR , grfmode : u32 , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgOpenLayoutDocfile(pwcsdfname.into().abi(), grfmode, reserved, &mut result__).from_abi(result__) } @@ -337,7 +337,7 @@ pub unsafe fn StgOpenPropStg(punk: P0, fmtid: *const ::windows::core::GUID, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgOpenPropStg ( punk : * mut::core::ffi::c_void , fmtid : *const :: windows::core::GUID , grfflags : u32 , dwreserved : u32 , pppropstg : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgOpenPropStg ( punk : * mut::core::ffi::c_void , fmtid : *const :: windows::core::GUID , grfflags : u32 , dwreserved : u32 , pppropstg : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgOpenPropStg(punk.into().abi(), fmtid, grfflags, dwreserved, &mut result__).from_abi(result__) } @@ -348,7 +348,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgOpenStorage ( pwcsname : :: windows::core::PCWSTR , pstgpriority : * mut::core::ffi::c_void , grfmode : super:: STGM , snbexclude : *const *const u16 , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgOpenStorage ( pwcsname : :: windows::core::PCWSTR , pstgpriority : * mut::core::ffi::c_void , grfmode : super:: STGM , snbexclude : *const *const u16 , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgOpenStorage(pwcsname.into().abi(), pstgpriority.into().abi(), grfmode, ::core::mem::transmute(snbexclude.unwrap_or(::std::ptr::null())), reserved, &mut result__).from_abi(result__) } @@ -360,7 +360,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn StgOpenStorageEx ( pwcsname : :: windows::core::PCWSTR , grfmode : super:: STGM , stgfmt : STGFMT , grfattrs : u32 , pstgoptions : *mut STGOPTIONS , psecuritydescriptor : super::super::super::Security:: PSECURITY_DESCRIPTOR , riid : *const :: windows::core::GUID , ppobjectopen : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgOpenStorageEx ( pwcsname : :: windows::core::PCWSTR , grfmode : super:: STGM , stgfmt : STGFMT , grfattrs : u32 , pstgoptions : *mut STGOPTIONS , psecuritydescriptor : super::super::super::Security:: PSECURITY_DESCRIPTOR , riid : *const :: windows::core::GUID , ppobjectopen : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); StgOpenStorageEx(pwcsname.into().abi(), grfmode, stgfmt, grfattrs, ::core::mem::transmute(pstgoptions.unwrap_or(::std::ptr::null_mut())), psecuritydescriptor.into(), riid, ppobjectopen).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -370,21 +370,21 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgOpenStorageOnILockBytes ( plkbyt : * mut::core::ffi::c_void , pstgpriority : * mut::core::ffi::c_void , grfmode : super:: STGM , snbexclude : *const *const u16 , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgOpenStorageOnILockBytes ( plkbyt : * mut::core::ffi::c_void , pstgpriority : * mut::core::ffi::c_void , grfmode : super:: STGM , snbexclude : *const *const u16 , reserved : u32 , ppstgopen : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); StgOpenStorageOnILockBytes(plkbyt.into().abi(), pstgpriority.into().abi(), grfmode, ::core::mem::transmute(snbexclude.unwrap_or(::std::ptr::null())), reserved, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[inline] pub unsafe fn StgPropertyLengthAsVariant(pprop: *const SERIALIZEDPROPERTYVALUE, cbprop: u32, codepage: u16, breserved: u8) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn StgPropertyLengthAsVariant ( pprop : *const SERIALIZEDPROPERTYVALUE , cbprop : u32 , codepage : u16 , breserved : u8 ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgPropertyLengthAsVariant ( pprop : *const SERIALIZEDPROPERTYVALUE , cbprop : u32 , codepage : u16 , breserved : u8 ) -> u32 ); StgPropertyLengthAsVariant(pprop, cbprop, codepage, breserved) } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn StgSerializePropVariant(ppropvar: *const PROPVARIANT, ppprop: *mut *mut SERIALIZEDPROPERTYVALUE, pcb: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn StgSerializePropVariant ( ppropvar : *const PROPVARIANT , ppprop : *mut *mut SERIALIZEDPROPERTYVALUE , pcb : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn StgSerializePropVariant ( ppropvar : *const PROPVARIANT , ppprop : *mut *mut SERIALIZEDPROPERTYVALUE , pcb : *mut u32 ) -> :: windows::core::HRESULT ); StgSerializePropVariant(ppropvar, ppprop, pcb).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`*"] @@ -394,7 +394,7 @@ pub unsafe fn StgSetTimes(lpszname: P0, pctime: ::core::option::Option<*cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn StgSetTimes ( lpszname : :: windows::core::PCWSTR , pctime : *const super::super::super::Foundation:: FILETIME , patime : *const super::super::super::Foundation:: FILETIME , pmtime : *const super::super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StgSetTimes ( lpszname : :: windows::core::PCWSTR , pctime : *const super::super::super::Foundation:: FILETIME , patime : *const super::super::super::Foundation:: FILETIME , pmtime : *const super::super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); StgSetTimes(lpszname.into().abi(), ::core::mem::transmute(pctime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(patime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pmtime.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -403,7 +403,7 @@ pub unsafe fn WriteClassStg(pstg: P0, rclsid: *const ::windows::core::GUID) where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn WriteClassStg ( pstg : * mut::core::ffi::c_void , rclsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn WriteClassStg ( pstg : * mut::core::ffi::c_void , rclsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); WriteClassStg(pstg.into().abi(), rclsid).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -412,7 +412,7 @@ pub unsafe fn WriteClassStm(pstm: P0, rclsid: *const ::windows::core::GUID) where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn WriteClassStm ( pstm : * mut::core::ffi::c_void , rclsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn WriteClassStm ( pstm : * mut::core::ffi::c_void , rclsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); WriteClassStm(pstm.into().abi(), rclsid).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -422,7 +422,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn WriteFmtUserTypeStg ( pstg : * mut::core::ffi::c_void , cf : u16 , lpszusertype : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn WriteFmtUserTypeStg ( pstg : * mut::core::ffi::c_void , cf : u16 , lpszusertype : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WriteFmtUserTypeStg(pstg.into().abi(), cf, lpszusertype.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -439,7 +439,7 @@ impl IDirectWriterLock { (::windows::core::Vtable::vtable(self).HaveWriteAccess)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDirectWriterLock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirectWriterLock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirectWriterLock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -490,7 +490,7 @@ impl IEnumSTATPROPSETSTG { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSTATPROPSETSTG, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSTATPROPSETSTG, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSTATPROPSETSTG { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -543,7 +543,7 @@ impl IEnumSTATPROPSTG { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSTATPROPSTG, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSTATPROPSTG, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSTATPROPSTG { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -595,7 +595,7 @@ impl IEnumSTATSTG { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSTATSTG, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSTATSTG, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSTATSTG { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -654,7 +654,7 @@ impl IFillLockBytes { (::windows::core::Vtable::vtable(self).Terminate)(::windows::core::Vtable::as_raw(self), bcanceled.into()).ok() } } -::windows::core::interface_hierarchy!(IFillLockBytes, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFillLockBytes, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFillLockBytes { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -715,7 +715,7 @@ impl ILayoutStorage { (::windows::core::Vtable::vtable(self).ReLayoutDocfileOnILockBytes)(::windows::core::Vtable::as_raw(self), pilockbytes.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ILayoutStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILayoutStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILayoutStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -776,7 +776,7 @@ impl ILockBytes { (::windows::core::Vtable::vtable(self).Stat)(::windows::core::Vtable::as_raw(self), pstatstg, grfstatflag).ok() } } -::windows::core::interface_hierarchy!(ILockBytes, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILockBytes, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILockBytes { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -856,7 +856,7 @@ impl IPersistStorage { (::windows::core::Vtable::vtable(self).HandsOffStorage)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPersistStorage, ::windows::core::IUnknown, super::IPersist); +::windows::imp::interface_hierarchy!(IPersistStorage, ::windows::core::IUnknown, super::IPersist); impl ::core::cmp::PartialEq for IPersistStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -915,7 +915,7 @@ impl IPropertyBag { (::windows::core::Vtable::vtable(self).Write)(::windows::core::Vtable::as_raw(self), pszpropname.into().abi(), pvar).ok() } } -::windows::core::interface_hierarchy!(IPropertyBag, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyBag, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyBag { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -984,7 +984,7 @@ impl IPropertyBag2 { (::windows::core::Vtable::vtable(self).LoadObject)(::windows::core::Vtable::as_raw(self), pstrname.into().abi(), dwhint, punkobject.into().abi(), perrlog.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IPropertyBag2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyBag2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyBag2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1043,7 +1043,7 @@ impl IPropertySetStorage { (::windows::core::Vtable::vtable(self).Enum)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertySetStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertySetStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertySetStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1125,7 +1125,7 @@ impl IPropertyStorage { (::windows::core::Vtable::vtable(self).Stat)(::windows::core::Vtable::as_raw(self), pstatpsstg).ok() } } -::windows::core::interface_hierarchy!(IPropertyStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1188,7 +1188,7 @@ impl IRootStorage { (::windows::core::Vtable::vtable(self).SwitchToFile)(::windows::core::Vtable::as_raw(self), pszfile.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRootStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRootStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRootStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1307,7 +1307,7 @@ impl IStorage { (::windows::core::Vtable::vtable(self).Stat)(::windows::core::Vtable::as_raw(self), pstatstg, grfstatflag).ok() } } -::windows::core::interface_hierarchy!(IStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs index 7283d54969..33cebfc2e9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs @@ -12,7 +12,7 @@ impl IDummyHICONIncluder { (::windows::core::Vtable::vtable(self).Dummy)(::windows::core::Vtable::as_raw(self), h1.into(), h2.into()).ok() } } -::windows::core::interface_hierarchy!(IDummyHICONIncluder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDummyHICONIncluder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDummyHICONIncluder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -65,7 +65,7 @@ impl IThumbnailExtractor { (::windows::core::Vtable::vtable(self).OnFileUpdated)(::windows::core::Vtable::as_raw(self), pstg.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IThumbnailExtractor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThumbnailExtractor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThumbnailExtractor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs index c24723c3c9..c3d44bae96 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs @@ -6,7 +6,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoGetClassObjectFromURL ( rclassid : *const :: windows::core::GUID , szcode : :: windows::core::PCWSTR , dwfileversionms : u32 , dwfileversionls : u32 , sztype : :: windows::core::PCWSTR , pbindctx : * mut::core::ffi::c_void , dwclscontext : super:: CLSCTX , pvreserved : *const ::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoGetClassObjectFromURL ( rclassid : *const :: windows::core::GUID , szcode : :: windows::core::PCWSTR , dwfileversionms : u32 , dwfileversionls : u32 , sztype : :: windows::core::PCWSTR , pbindctx : * mut::core::ffi::c_void , dwclscontext : super:: CLSCTX , pvreserved : *const ::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoGetClassObjectFromURL(rclassid, szcode.into().abi(), dwfileversionms, dwfileversionls, sztype.into().abi(), pbindctx.into().abi(), dwclscontext, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -16,7 +16,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetCombineIUri ( pbaseuri : * mut::core::ffi::c_void , prelativeuri : * mut::core::ffi::c_void , dwcombineflags : u32 , ppcombineduri : *mut * mut::core::ffi::c_void , dwreserved : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetCombineIUri ( pbaseuri : * mut::core::ffi::c_void , prelativeuri : * mut::core::ffi::c_void , dwcombineflags : u32 , ppcombineduri : *mut * mut::core::ffi::c_void , dwreserved : usize ) -> :: windows::core::HRESULT ); CoInternetCombineIUri(pbaseuri.into().abi(), prelativeuri.into().abi(), dwcombineflags, ::core::mem::transmute(ppcombineduri), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -26,7 +26,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetCombineUrl ( pwzbaseurl : :: windows::core::PCWSTR , pwzrelativeurl : :: windows::core::PCWSTR , dwcombineflags : u32 , pszresult : :: windows::core::PWSTR , cchresult : u32 , pcchresult : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetCombineUrl ( pwzbaseurl : :: windows::core::PCWSTR , pwzrelativeurl : :: windows::core::PCWSTR , dwcombineflags : u32 , pszresult : :: windows::core::PWSTR , cchresult : u32 , pcchresult : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoInternetCombineUrl(pwzbaseurl.into().abi(), pwzrelativeurl.into().abi(), dwcombineflags, ::core::mem::transmute(pszresult.as_ptr()), pszresult.len() as _, ::core::mem::transmute(pcchresult.unwrap_or(::std::ptr::null_mut())), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -36,7 +36,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetCombineUrlEx ( pbaseuri : * mut::core::ffi::c_void , pwzrelativeurl : :: windows::core::PCWSTR , dwcombineflags : u32 , ppcombineduri : *mut * mut::core::ffi::c_void , dwreserved : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetCombineUrlEx ( pbaseuri : * mut::core::ffi::c_void , pwzrelativeurl : :: windows::core::PCWSTR , dwcombineflags : u32 , ppcombineduri : *mut * mut::core::ffi::c_void , dwreserved : usize ) -> :: windows::core::HRESULT ); CoInternetCombineUrlEx(pbaseuri.into().abi(), pwzrelativeurl.into().abi(), dwcombineflags, ::core::mem::transmute(ppcombineduri), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -46,7 +46,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetCompareUrl ( pwzurl1 : :: windows::core::PCWSTR , pwzurl2 : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetCompareUrl ( pwzurl1 : :: windows::core::PCWSTR , pwzurl2 : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); CoInternetCompareUrl(pwzurl1.into().abi(), pwzurl2.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -55,7 +55,7 @@ pub unsafe fn CoInternetCreateSecurityManager(psp: P0, ppsm: *mut ::core::op where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetCreateSecurityManager ( psp : * mut::core::ffi::c_void , ppsm : *mut * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetCreateSecurityManager ( psp : * mut::core::ffi::c_void , ppsm : *mut * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoInternetCreateSecurityManager(psp.into().abi(), ::core::mem::transmute(ppsm), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -64,7 +64,7 @@ pub unsafe fn CoInternetCreateZoneManager(psp: P0, ppzm: *mut ::core::option where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetCreateZoneManager ( psp : * mut::core::ffi::c_void , ppzm : *mut * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetCreateZoneManager ( psp : * mut::core::ffi::c_void , ppzm : *mut * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoInternetCreateZoneManager(psp.into().abi(), ::core::mem::transmute(ppzm), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -73,7 +73,7 @@ pub unsafe fn CoInternetGetProtocolFlags(pwzurl: P0, pdwflags: *mut u32, dwr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetGetProtocolFlags ( pwzurl : :: windows::core::PCWSTR , pdwflags : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetGetProtocolFlags ( pwzurl : :: windows::core::PCWSTR , pdwflags : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoInternetGetProtocolFlags(pwzurl.into().abi(), pdwflags, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -82,7 +82,7 @@ pub unsafe fn CoInternetGetSecurityUrl(pwszurl: P0, ppwszsecurl: *mut ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetGetSecurityUrl ( pwszurl : :: windows::core::PCWSTR , ppwszsecurl : *mut :: windows::core::PWSTR , psuaction : PSUACTION , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetGetSecurityUrl ( pwszurl : :: windows::core::PCWSTR , ppwszsecurl : *mut :: windows::core::PWSTR , psuaction : PSUACTION , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoInternetGetSecurityUrl(pwszurl.into().abi(), ppwszsecurl, psuaction, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -91,19 +91,19 @@ pub unsafe fn CoInternetGetSecurityUrlEx(puri: P0, ppsecuri: *mut ::core::op where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetGetSecurityUrlEx ( puri : * mut::core::ffi::c_void , ppsecuri : *mut * mut::core::ffi::c_void , psuaction : PSUACTION , dwreserved : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetGetSecurityUrlEx ( puri : * mut::core::ffi::c_void , ppsecuri : *mut * mut::core::ffi::c_void , psuaction : PSUACTION , dwreserved : usize ) -> :: windows::core::HRESULT ); CoInternetGetSecurityUrlEx(puri.into().abi(), ::core::mem::transmute(ppsecuri), psuaction, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn CoInternetGetSession(dwsessionmode: u32, ppiinternetsession: *mut ::core::option::Option, dwreserved: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetGetSession ( dwsessionmode : u32 , ppiinternetsession : *mut * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetGetSession ( dwsessionmode : u32 , ppiinternetsession : *mut * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoInternetGetSession(dwsessionmode, ::core::mem::transmute(ppiinternetsession), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn CoInternetIsFeatureEnabled(featureentry: INTERNETFEATURELIST, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetIsFeatureEnabled ( featureentry : INTERNETFEATURELIST , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetIsFeatureEnabled ( featureentry : INTERNETFEATURELIST , dwflags : u32 ) -> :: windows::core::HRESULT ); CoInternetIsFeatureEnabled(featureentry, dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -113,7 +113,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetIsFeatureEnabledForIUri ( featureentry : INTERNETFEATURELIST , dwflags : u32 , piuri : * mut::core::ffi::c_void , psecmgr : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetIsFeatureEnabledForIUri ( featureentry : INTERNETFEATURELIST , dwflags : u32 , piuri : * mut::core::ffi::c_void , psecmgr : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoInternetIsFeatureEnabledForIUri(featureentry, dwflags, piuri.into().abi(), psecmgr.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -123,7 +123,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetIsFeatureEnabledForUrl ( featureentry : INTERNETFEATURELIST , dwflags : u32 , szurl : :: windows::core::PCWSTR , psecmgr : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetIsFeatureEnabledForUrl ( featureentry : INTERNETFEATURELIST , dwflags : u32 , szurl : :: windows::core::PCWSTR , psecmgr : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoInternetIsFeatureEnabledForUrl(featureentry, dwflags, szurl.into().abi(), psecmgr.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -134,7 +134,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetIsFeatureZoneElevationEnabled ( szfromurl : :: windows::core::PCWSTR , sztourl : :: windows::core::PCWSTR , psecmgr : * mut::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetIsFeatureZoneElevationEnabled ( szfromurl : :: windows::core::PCWSTR , sztourl : :: windows::core::PCWSTR , psecmgr : * mut::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); CoInternetIsFeatureZoneElevationEnabled(szfromurl.into().abi(), sztourl.into().abi(), psecmgr.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -143,7 +143,7 @@ pub unsafe fn CoInternetParseIUri(piuri: P0, parseaction: PARSEACTION, dwfla where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetParseIUri ( piuri : * mut::core::ffi::c_void , parseaction : PARSEACTION , dwflags : u32 , pwzresult : :: windows::core::PWSTR , cchresult : u32 , pcchresult : *mut u32 , dwreserved : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetParseIUri ( piuri : * mut::core::ffi::c_void , parseaction : PARSEACTION , dwflags : u32 , pwzresult : :: windows::core::PWSTR , cchresult : u32 , pcchresult : *mut u32 , dwreserved : usize ) -> :: windows::core::HRESULT ); CoInternetParseIUri(piuri.into().abi(), parseaction, dwflags, ::core::mem::transmute(pwzresult.as_ptr()), pwzresult.len() as _, pcchresult, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -152,7 +152,7 @@ pub unsafe fn CoInternetParseUrl(pwzurl: P0, parseaction: PARSEACTION, dwfla where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetParseUrl ( pwzurl : :: windows::core::PCWSTR , parseaction : PARSEACTION , dwflags : u32 , pszresult : :: windows::core::PWSTR , cchresult : u32 , pcchresult : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetParseUrl ( pwzurl : :: windows::core::PCWSTR , parseaction : PARSEACTION , dwflags : u32 , pszresult : :: windows::core::PWSTR , cchresult : u32 , pcchresult : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoInternetParseUrl(pwzurl.into().abi(), parseaction, dwflags, ::core::mem::transmute(pszresult.as_ptr()), pszresult.len() as _, pcchresult, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -161,7 +161,7 @@ pub unsafe fn CoInternetQueryInfo(pwzurl: P0, queryoptions: QUERYOPTION, dwq where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetQueryInfo ( pwzurl : :: windows::core::PCWSTR , queryoptions : QUERYOPTION , dwqueryflags : u32 , pvbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 , pcbbuffer : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetQueryInfo ( pwzurl : :: windows::core::PCWSTR , queryoptions : QUERYOPTION , dwqueryflags : u32 , pvbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 , pcbbuffer : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoInternetQueryInfo(pwzurl.into().abi(), queryoptions, dwqueryflags, pvbuffer, cbbuffer, ::core::mem::transmute(pcbbuffer.unwrap_or(::std::ptr::null_mut())), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] @@ -171,33 +171,33 @@ pub unsafe fn CoInternetSetFeatureEnabled(featureentry: INTERNETFEATURELIST, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "urlmon.dll""system" fn CoInternetSetFeatureEnabled ( featureentry : INTERNETFEATURELIST , dwflags : u32 , fenable : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CoInternetSetFeatureEnabled ( featureentry : INTERNETFEATURELIST , dwflags : u32 , fenable : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); CoInternetSetFeatureEnabled(featureentry, dwflags, fenable.into()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn CompareSecurityIds(pbsecurityid1: &[u8], pbsecurityid2: &[u8], dwreserved: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn CompareSecurityIds ( pbsecurityid1 : *const u8 , dwlen1 : u32 , pbsecurityid2 : *const u8 , dwlen2 : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CompareSecurityIds ( pbsecurityid1 : *const u8 , dwlen1 : u32 , pbsecurityid2 : *const u8 , dwlen2 : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); CompareSecurityIds(::core::mem::transmute(pbsecurityid1.as_ptr()), pbsecurityid1.len() as _, ::core::mem::transmute(pbsecurityid2.as_ptr()), pbsecurityid2.len() as _, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn CompatFlagsFromClsid(pclsid: *const ::windows::core::GUID, pdwcompatflags: *mut u32, pdwmiscstatusflags: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn CompatFlagsFromClsid ( pclsid : *const :: windows::core::GUID , pdwcompatflags : *mut u32 , pdwmiscstatusflags : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CompatFlagsFromClsid ( pclsid : *const :: windows::core::GUID , pdwcompatflags : *mut u32 , pdwmiscstatusflags : *mut u32 ) -> :: windows::core::HRESULT ); CompatFlagsFromClsid(pclsid, pdwcompatflags, pdwmiscstatusflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn CopyBindInfo(pcbisrc: *const super::BINDINFO, pbidest: *mut super::BINDINFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn CopyBindInfo ( pcbisrc : *const super:: BINDINFO , pbidest : *mut super:: BINDINFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CopyBindInfo ( pcbisrc : *const super:: BINDINFO , pbidest : *mut super:: BINDINFO ) -> :: windows::core::HRESULT ); CopyBindInfo(pcbisrc, pbidest).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn CopyStgMedium(pcstgmedsrc: *const super::STGMEDIUM) -> ::windows::core::Result { - ::windows::core::link ! ( "urlmon.dll""system" fn CopyStgMedium ( pcstgmedsrc : *const super:: STGMEDIUM , pstgmeddest : *mut super:: STGMEDIUM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CopyStgMedium ( pcstgmedsrc : *const super:: STGMEDIUM , pstgmeddest : *mut super:: STGMEDIUM ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CopyStgMedium(pcstgmedsrc, &mut result__).from_abi(result__) } @@ -208,7 +208,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateAsyncBindCtx ( reserved : u32 , pbscb : * mut::core::ffi::c_void , pefetc : * mut::core::ffi::c_void , ppbc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateAsyncBindCtx ( reserved : u32 , pbscb : * mut::core::ffi::c_void , pefetc : * mut::core::ffi::c_void , ppbc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateAsyncBindCtx(reserved, pbscb.into().abi(), pefetc.into().abi(), &mut result__).from_abi(result__) } @@ -220,13 +220,13 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateAsyncBindCtxEx ( pbc : * mut::core::ffi::c_void , dwoptions : u32 , pbscb : * mut::core::ffi::c_void , penum : * mut::core::ffi::c_void , ppbc : *mut * mut::core::ffi::c_void , reserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateAsyncBindCtxEx ( pbc : * mut::core::ffi::c_void , dwoptions : u32 , pbscb : * mut::core::ffi::c_void , penum : * mut::core::ffi::c_void , ppbc : *mut * mut::core::ffi::c_void , reserved : u32 ) -> :: windows::core::HRESULT ); CreateAsyncBindCtxEx(pbc.into().abi(), dwoptions, pbscb.into().abi(), penum.into().abi(), ::core::mem::transmute(ppbc), reserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn CreateFormatEnumerator(rgfmtetc: &[super::FORMATETC]) -> ::windows::core::Result { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateFormatEnumerator ( cfmtetc : u32 , rgfmtetc : *const super:: FORMATETC , ppenumfmtetc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateFormatEnumerator ( cfmtetc : u32 , rgfmtetc : *const super:: FORMATETC , ppenumfmtetc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateFormatEnumerator(rgfmtetc.len() as _, ::core::mem::transmute(rgfmtetc.as_ptr()), &mut result__).from_abi(result__) } @@ -237,7 +237,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateURLMoniker ( pmkctx : * mut::core::ffi::c_void , szurl : :: windows::core::PCWSTR , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateURLMoniker ( pmkctx : * mut::core::ffi::c_void , szurl : :: windows::core::PCWSTR , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateURLMoniker(pmkctx.into().abi(), szurl.into().abi(), &mut result__).from_abi(result__) } @@ -248,7 +248,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateURLMonikerEx ( pmkctx : * mut::core::ffi::c_void , szurl : :: windows::core::PCWSTR , ppmk : *mut * mut::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateURLMonikerEx ( pmkctx : * mut::core::ffi::c_void , szurl : :: windows::core::PCWSTR , ppmk : *mut * mut::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); CreateURLMonikerEx(pmkctx.into().abi(), szurl.into().abi(), ::core::mem::transmute(ppmk), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -258,7 +258,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateURLMonikerEx2 ( pmkctx : * mut::core::ffi::c_void , puri : * mut::core::ffi::c_void , ppmk : *mut * mut::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateURLMonikerEx2 ( pmkctx : * mut::core::ffi::c_void , puri : * mut::core::ffi::c_void , ppmk : *mut * mut::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); CreateURLMonikerEx2(pmkctx.into().abi(), puri.into().abi(), ::core::mem::transmute(ppmk), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] @@ -268,7 +268,7 @@ pub unsafe fn FaultInIEFeature(hwnd: P0, pclassspec: *const super::uCLSSPEC, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "urlmon.dll""system" fn FaultInIEFeature ( hwnd : super::super::super::Foundation:: HWND , pclassspec : *const super:: uCLSSPEC , pquery : *mut super:: QUERYCONTEXT , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn FaultInIEFeature ( hwnd : super::super::super::Foundation:: HWND , pclassspec : *const super:: uCLSSPEC , pquery : *mut super:: QUERYCONTEXT , dwflags : u32 ) -> :: windows::core::HRESULT ); FaultInIEFeature(hwnd.into(), pclassspec, ::core::mem::transmute(pquery.unwrap_or(::std::ptr::null_mut())), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -277,7 +277,7 @@ pub unsafe fn FindMediaType(rgsztypes: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn FindMediaType ( rgsztypes : :: windows::core::PCSTR , rgcftypes : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn FindMediaType ( rgsztypes : :: windows::core::PCSTR , rgcftypes : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); FindMediaType(rgsztypes.into().abi(), &mut result__).from_abi(result__) } @@ -288,7 +288,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn FindMediaTypeClass ( pbc : * mut::core::ffi::c_void , sztype : :: windows::core::PCSTR , pclsid : *mut :: windows::core::GUID , reserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn FindMediaTypeClass ( pbc : * mut::core::ffi::c_void , sztype : :: windows::core::PCSTR , pclsid : *mut :: windows::core::GUID , reserved : u32 ) -> :: windows::core::HRESULT ); FindMediaTypeClass(pbc.into().abi(), sztype.into().abi(), pclsid, reserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -299,7 +299,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn FindMimeFromData ( pbc : * mut::core::ffi::c_void , pwzurl : :: windows::core::PCWSTR , pbuffer : *const ::core::ffi::c_void , cbsize : u32 , pwzmimeproposed : :: windows::core::PCWSTR , dwmimeflags : u32 , ppwzmimeout : *mut :: windows::core::PWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn FindMimeFromData ( pbc : * mut::core::ffi::c_void , pwzurl : :: windows::core::PCWSTR , pbuffer : *const ::core::ffi::c_void , cbsize : u32 , pwzmimeproposed : :: windows::core::PCWSTR , dwmimeflags : u32 , ppwzmimeout : *mut :: windows::core::PWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); FindMimeFromData(pbc.into().abi(), pwzurl.into().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null())), cbsize, pwzmimeproposed.into().abi(), dwmimeflags, ppwzmimeout, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -310,7 +310,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn GetClassFileOrMime ( pbc : * mut::core::ffi::c_void , szfilename : :: windows::core::PCWSTR , pbuffer : *const ::core::ffi::c_void , cbsize : u32 , szmime : :: windows::core::PCWSTR , dwreserved : u32 , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn GetClassFileOrMime ( pbc : * mut::core::ffi::c_void , szfilename : :: windows::core::PCWSTR , pbuffer : *const ::core::ffi::c_void , cbsize : u32 , szmime : :: windows::core::PCWSTR , dwreserved : u32 , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); GetClassFileOrMime(pbc.into().abi(), szfilename.into().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null())), cbsize, szmime.into().abi(), dwreserved, &mut result__).from_abi(result__) } @@ -320,14 +320,14 @@ pub unsafe fn GetClassURL(szurl: P0) -> ::windows::core::Result<::windows::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn GetClassURL ( szurl : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn GetClassURL ( szurl : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); GetClassURL(szurl.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn GetComponentIDFromCLSSPEC(pclassspec: *const super::uCLSSPEC) -> ::windows::core::Result<::windows::core::PSTR> { - ::windows::core::link ! ( "urlmon.dll""system" fn GetComponentIDFromCLSSPEC ( pclassspec : *const super:: uCLSSPEC , ppszcomponentid : *mut :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn GetComponentIDFromCLSSPEC ( pclassspec : *const super:: uCLSSPEC , ppszcomponentid : *mut :: windows::core::PSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PSTR>(); GetComponentIDFromCLSSPEC(pclassspec, &mut result__).from_abi(result__) } @@ -337,7 +337,7 @@ pub unsafe fn GetSoftwareUpdateInfo(szdistunit: P0, psdi: *mut SOFTDISTINFO) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn GetSoftwareUpdateInfo ( szdistunit : :: windows::core::PCWSTR , psdi : *mut SOFTDISTINFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn GetSoftwareUpdateInfo ( szdistunit : :: windows::core::PCWSTR , psdi : *mut SOFTDISTINFO ) -> :: windows::core::HRESULT ); GetSoftwareUpdateInfo(szdistunit.into().abi(), psdi).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -346,7 +346,7 @@ pub unsafe fn HlinkGoBack(punk: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn HlinkGoBack ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn HlinkGoBack ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkGoBack(punk.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -355,7 +355,7 @@ pub unsafe fn HlinkGoForward(punk: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn HlinkGoForward ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn HlinkGoForward ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkGoForward(punk.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -365,7 +365,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn HlinkNavigateMoniker ( punk : * mut::core::ffi::c_void , pmktarget : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn HlinkNavigateMoniker ( punk : * mut::core::ffi::c_void , pmktarget : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkNavigateMoniker(punk.into().abi(), pmktarget.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -375,7 +375,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn HlinkNavigateString ( punk : * mut::core::ffi::c_void , sztarget : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn HlinkNavigateString ( punk : * mut::core::ffi::c_void , sztarget : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HlinkNavigateString(punk.into().abi(), sztarget.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -389,7 +389,7 @@ where P4: ::std::convert::Into<::windows::core::InParam>, P5: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn HlinkSimpleNavigateToMoniker ( pmktarget : * mut::core::ffi::c_void , szlocation : :: windows::core::PCWSTR , sztargetframename : :: windows::core::PCWSTR , punk : * mut::core::ffi::c_void , pbc : * mut::core::ffi::c_void , param5 : * mut::core::ffi::c_void , grfhlnf : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn HlinkSimpleNavigateToMoniker ( pmktarget : * mut::core::ffi::c_void , szlocation : :: windows::core::PCWSTR , sztargetframename : :: windows::core::PCWSTR , punk : * mut::core::ffi::c_void , pbc : * mut::core::ffi::c_void , param5 : * mut::core::ffi::c_void , grfhlnf : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); HlinkSimpleNavigateToMoniker(pmktarget.into().abi(), szlocation.into().abi(), sztargetframename.into().abi(), punk.into().abi(), pbc.into().abi(), param5.into().abi(), grfhlnf, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -403,19 +403,19 @@ where P4: ::std::convert::Into<::windows::core::InParam>, P5: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn HlinkSimpleNavigateToString ( sztarget : :: windows::core::PCWSTR , szlocation : :: windows::core::PCWSTR , sztargetframename : :: windows::core::PCWSTR , punk : * mut::core::ffi::c_void , pbc : * mut::core::ffi::c_void , param5 : * mut::core::ffi::c_void , grfhlnf : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn HlinkSimpleNavigateToString ( sztarget : :: windows::core::PCWSTR , szlocation : :: windows::core::PCWSTR , sztargetframename : :: windows::core::PCWSTR , punk : * mut::core::ffi::c_void , pbc : * mut::core::ffi::c_void , param5 : * mut::core::ffi::c_void , grfhlnf : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); HlinkSimpleNavigateToString(sztarget.into().abi(), szlocation.into().abi(), sztargetframename.into().abi(), punk.into().abi(), pbc.into().abi(), param5.into().abi(), grfhlnf, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn IEGetUserPrivateNamespaceName() -> ::windows::core::PWSTR { - ::windows::core::link ! ( "urlmon.dll""system" fn IEGetUserPrivateNamespaceName ( ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "urlmon.dll""system" fn IEGetUserPrivateNamespaceName ( ) -> :: windows::core::PWSTR ); IEGetUserPrivateNamespaceName() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn IEInstallScope() -> ::windows::core::Result { - ::windows::core::link ! ( "urlmon.dll""system" fn IEInstallScope ( pdwscope : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn IEInstallScope ( pdwscope : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IEInstallScope(&mut result__).from_abi(result__) } @@ -425,7 +425,7 @@ pub unsafe fn IsAsyncMoniker(pmk: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn IsAsyncMoniker ( pmk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn IsAsyncMoniker ( pmk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); IsAsyncMoniker(pmk.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] @@ -435,7 +435,7 @@ pub unsafe fn IsLoggingEnabledA(pszurl: P0) -> super::super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn IsLoggingEnabledA ( pszurl : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "urlmon.dll""system" fn IsLoggingEnabledA ( pszurl : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); IsLoggingEnabledA(pszurl.into().abi()) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] @@ -445,7 +445,7 @@ pub unsafe fn IsLoggingEnabledW(pwszurl: P0) -> super::super::super::Foundat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn IsLoggingEnabledW ( pwszurl : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "urlmon.dll""system" fn IsLoggingEnabledW ( pwszurl : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); IsLoggingEnabledW(pwszurl.into().abi()) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -455,7 +455,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn IsValidURL ( pbc : * mut::core::ffi::c_void , szurl : :: windows::core::PCWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn IsValidURL ( pbc : * mut::core::ffi::c_void , szurl : :: windows::core::PCWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); IsValidURL(pbc.into().abi(), szurl.into().abi(), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -465,13 +465,13 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn MkParseDisplayNameEx ( pbc : * mut::core::ffi::c_void , szdisplayname : :: windows::core::PCWSTR , pcheaten : *mut u32 , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn MkParseDisplayNameEx ( pbc : * mut::core::ffi::c_void , szdisplayname : :: windows::core::PCWSTR , pcheaten : *mut u32 , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MkParseDisplayNameEx(pbc.into().abi(), szdisplayname.into().abi(), pcheaten, ::core::mem::transmute(ppmk)).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn ObtainUserAgentString(dwoption: u32, pszuaout: ::windows::core::PSTR, cbsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn ObtainUserAgentString ( dwoption : u32 , pszuaout : :: windows::core::PSTR , cbsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn ObtainUserAgentString ( dwoption : u32 , pszuaout : :: windows::core::PSTR , cbsize : *mut u32 ) -> :: windows::core::HRESULT ); ObtainUserAgentString(dwoption, ::core::mem::transmute(pszuaout), cbsize).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -481,7 +481,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn RegisterBindStatusCallback ( pbc : * mut::core::ffi::c_void , pbscb : * mut::core::ffi::c_void , ppbscbprev : *mut * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn RegisterBindStatusCallback ( pbc : * mut::core::ffi::c_void , pbscb : * mut::core::ffi::c_void , ppbscbprev : *mut * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); RegisterBindStatusCallback(pbc.into().abi(), pbscb.into().abi(), ::core::mem::transmute(ppbscbprev), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -491,7 +491,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn RegisterFormatEnumerator ( pbc : * mut::core::ffi::c_void , pefetc : * mut::core::ffi::c_void , reserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn RegisterFormatEnumerator ( pbc : * mut::core::ffi::c_void , pefetc : * mut::core::ffi::c_void , reserved : u32 ) -> :: windows::core::HRESULT ); RegisterFormatEnumerator(pbc.into().abi(), pefetc.into().abi(), reserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -500,20 +500,20 @@ pub unsafe fn RegisterMediaTypeClass(pbc: P0, ctypes: u32, rgsztypes: *const where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn RegisterMediaTypeClass ( pbc : * mut::core::ffi::c_void , ctypes : u32 , rgsztypes : *const :: windows::core::PCSTR , rgclsid : *const :: windows::core::GUID , reserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn RegisterMediaTypeClass ( pbc : * mut::core::ffi::c_void , ctypes : u32 , rgsztypes : *const :: windows::core::PCSTR , rgclsid : *const :: windows::core::GUID , reserved : u32 ) -> :: windows::core::HRESULT ); RegisterMediaTypeClass(pbc.into().abi(), ctypes, rgsztypes, rgclsid, reserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn RegisterMediaTypes(ctypes: u32, rgsztypes: *const ::windows::core::PCSTR, rgcftypes: *mut u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn RegisterMediaTypes ( ctypes : u32 , rgsztypes : *const :: windows::core::PCSTR , rgcftypes : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn RegisterMediaTypes ( ctypes : u32 , rgsztypes : *const :: windows::core::PCSTR , rgcftypes : *mut u16 ) -> :: windows::core::HRESULT ); RegisterMediaTypes(ctypes, rgsztypes, rgcftypes).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn ReleaseBindInfo(pbindinfo: *mut super::BINDINFO) { - ::windows::core::link ! ( "urlmon.dll""system" fn ReleaseBindInfo ( pbindinfo : *mut super:: BINDINFO ) -> ( ) ); + ::windows::imp::link ! ( "urlmon.dll""system" fn ReleaseBindInfo ( pbindinfo : *mut super:: BINDINFO ) -> ( ) ); ReleaseBindInfo(pbindinfo) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -523,7 +523,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn RevokeBindStatusCallback ( pbc : * mut::core::ffi::c_void , pbscb : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn RevokeBindStatusCallback ( pbc : * mut::core::ffi::c_void , pbscb : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); RevokeBindStatusCallback(pbc.into().abi(), pbscb.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -533,7 +533,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn RevokeFormatEnumerator ( pbc : * mut::core::ffi::c_void , pefetc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn RevokeFormatEnumerator ( pbc : * mut::core::ffi::c_void , pefetc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); RevokeFormatEnumerator(pbc.into().abi(), pefetc.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] @@ -543,7 +543,7 @@ pub unsafe fn SetAccessForIEAppContainer(hobject: P0, ieobjecttype: IEObject where P0: ::std::convert::Into, { - ::windows::core::link ! ( "urlmon.dll""system" fn SetAccessForIEAppContainer ( hobject : super::super::super::Foundation:: HANDLE , ieobjecttype : IEObjectType , dwaccessmask : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn SetAccessForIEAppContainer ( hobject : super::super::super::Foundation:: HANDLE , ieobjecttype : IEObjectType , dwaccessmask : u32 ) -> :: windows::core::HRESULT ); SetAccessForIEAppContainer(hobject.into(), ieobjecttype, dwaccessmask).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -552,7 +552,7 @@ pub unsafe fn SetSoftwareUpdateAdvertisementState(szdistunit: P0, dwadstate: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn SetSoftwareUpdateAdvertisementState ( szdistunit : :: windows::core::PCWSTR , dwadstate : u32 , dwadvertisedversionms : u32 , dwadvertisedversionls : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn SetSoftwareUpdateAdvertisementState ( szdistunit : :: windows::core::PCWSTR , dwadstate : u32 , dwadvertisedversionms : u32 , dwadvertisedversionls : u32 ) -> :: windows::core::HRESULT ); SetSoftwareUpdateAdvertisementState(szdistunit.into().abi(), dwadstate, dwadvertisedversionms, dwadvertisedversionls).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -563,7 +563,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLDownloadToCacheFileA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PSTR , cchfilename : u32 , param4 : u32 , param5 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLDownloadToCacheFileA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PSTR , cchfilename : u32 , param4 : u32 , param5 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLDownloadToCacheFileA(param0.into().abi(), param1.into().abi(), ::core::mem::transmute(param2.as_ptr()), param2.len() as _, param4, param5.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -574,7 +574,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLDownloadToCacheFileW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PWSTR , cchfilename : u32 , param4 : u32 , param5 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLDownloadToCacheFileW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PWSTR , cchfilename : u32 , param4 : u32 , param5 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLDownloadToCacheFileW(param0.into().abi(), param1.into().abi(), ::core::mem::transmute(param2.as_ptr()), param2.len() as _, param4, param5.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -586,7 +586,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLDownloadToFileA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PCSTR , param3 : u32 , param4 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLDownloadToFileA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PCSTR , param3 : u32 , param4 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLDownloadToFileA(param0.into().abi(), param1.into().abi(), param2.into().abi(), param3, param4.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -598,7 +598,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLDownloadToFileW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PCWSTR , param3 : u32 , param4 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLDownloadToFileW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PCWSTR , param3 : u32 , param4 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLDownloadToFileW(param0.into().abi(), param1.into().abi(), param2.into().abi(), param3, param4.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -609,7 +609,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLOpenBlockingStreamA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : *mut * mut::core::ffi::c_void , param3 : u32 , param4 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLOpenBlockingStreamA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : *mut * mut::core::ffi::c_void , param3 : u32 , param4 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLOpenBlockingStreamA(param0.into().abi(), param1.into().abi(), ::core::mem::transmute(param2), param3, param4.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -620,7 +620,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLOpenBlockingStreamW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : *mut * mut::core::ffi::c_void , param3 : u32 , param4 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLOpenBlockingStreamW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : *mut * mut::core::ffi::c_void , param3 : u32 , param4 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLOpenBlockingStreamW(param0.into().abi(), param1.into().abi(), ::core::mem::transmute(param2), param3, param4.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -631,7 +631,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLOpenPullStreamA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : u32 , param3 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLOpenPullStreamA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : u32 , param3 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLOpenPullStreamA(param0.into().abi(), param1.into().abi(), param2, param3.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -642,7 +642,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLOpenPullStreamW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : u32 , param3 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLOpenPullStreamW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : u32 , param3 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLOpenPullStreamW(param0.into().abi(), param1.into().abi(), param2, param3.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -653,7 +653,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLOpenStreamA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : u32 , param3 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLOpenStreamA ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : u32 , param3 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLOpenStreamA(param0.into().abi(), param1.into().abi(), param2, param3.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -664,26 +664,26 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn URLOpenStreamW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : u32 , param3 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn URLOpenStreamW ( param0 : * mut::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : u32 , param3 : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); URLOpenStreamW(param0.into().abi(), param1.into().abi(), param2, param3.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn UrlMkGetSessionOption(dwoption: u32, pbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, dwbufferlength: u32, pdwbufferlengthout: *mut u32, dwreserved: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn UrlMkGetSessionOption ( dwoption : u32 , pbuffer : *mut ::core::ffi::c_void , dwbufferlength : u32 , pdwbufferlengthout : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn UrlMkGetSessionOption ( dwoption : u32 , pbuffer : *mut ::core::ffi::c_void , dwbufferlength : u32 , pdwbufferlengthout : *mut u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); UrlMkGetSessionOption(dwoption, ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), dwbufferlength, pdwbufferlengthout, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[inline] pub unsafe fn UrlMkSetSessionOption(dwoption: u32, pbuffer: ::core::option::Option<*const ::core::ffi::c_void>, dwbufferlength: u32, dwreserved: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "urlmon.dll""system" fn UrlMkSetSessionOption ( dwoption : u32 , pbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn UrlMkSetSessionOption ( dwoption : u32 , pbuffer : *const ::core::ffi::c_void , dwbufferlength : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); UrlMkSetSessionOption(dwoption, ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null())), dwbufferlength, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WriteHitLogging(lplogginginfo: *const HIT_LOGGING_INFO) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "urlmon.dll""system" fn WriteHitLogging ( lplogginginfo : *const HIT_LOGGING_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "urlmon.dll""system" fn WriteHitLogging ( lplogginginfo : *const HIT_LOGGING_INFO ) -> super::super::super::Foundation:: BOOL ); WriteHitLogging(lplogginginfo) } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] @@ -700,7 +700,7 @@ impl IBindCallbackRedirect { (::windows::core::Vtable::vtable(self).Redirect)(::windows::core::Vtable::as_raw(self), lpcurl.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBindCallbackRedirect, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBindCallbackRedirect, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBindCallbackRedirect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -741,7 +741,7 @@ impl IBindHttpSecurity { (::windows::core::Vtable::vtable(self).GetIgnoreCertMask)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBindHttpSecurity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBindHttpSecurity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBindHttpSecurity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -783,7 +783,7 @@ impl IBindProtocol { (::windows::core::Vtable::vtable(self).CreateBinding)(::windows::core::Vtable::as_raw(self), szurl.into().abi(), pbc.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBindProtocol, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBindProtocol, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBindProtocol { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -824,7 +824,7 @@ impl ICatalogFileInfo { (::windows::core::Vtable::vtable(self).GetJavaTrust)(::windows::core::Vtable::as_raw(self), ppjavatrust).ok() } } -::windows::core::interface_hierarchy!(ICatalogFileInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICatalogFileInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICatalogFileInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -872,7 +872,7 @@ impl ICodeInstall { (::windows::core::Vtable::vtable(self).OnCodeInstallProblem)(::windows::core::Vtable::as_raw(self), ulstatuscode, szdestination.into().abi(), szsource.into().abi(), dwreserved).ok() } } -::windows::core::interface_hierarchy!(ICodeInstall, ::windows::core::IUnknown, IWindowForBindingUI); +::windows::imp::interface_hierarchy!(ICodeInstall, ::windows::core::IUnknown, IWindowForBindingUI); impl ::core::cmp::PartialEq for ICodeInstall { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -915,7 +915,7 @@ impl IDataFilter { (::windows::core::Vtable::vtable(self).SetEncodingLevel)(::windows::core::Vtable::as_raw(self), dwenclevel).ok() } } -::windows::core::interface_hierarchy!(IDataFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -967,7 +967,7 @@ impl IEncodingFilterFactory { (::windows::core::Vtable::vtable(self).GetDefaultFilter)(::windows::core::Vtable::as_raw(self), pwzcodein.into().abi(), pwzcodeout.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEncodingFilterFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEncodingFilterFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEncodingFilterFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1008,7 +1008,7 @@ impl IGetBindHandle { (::windows::core::Vtable::vtable(self).GetBindHandle)(::windows::core::Vtable::as_raw(self), enumrequestedhandle, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGetBindHandle, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetBindHandle, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetBindHandle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1061,7 +1061,7 @@ impl IHttpNegotiate { (::windows::core::Vtable::vtable(self).OnResponse)(::windows::core::Vtable::as_raw(self), dwresponsecode, szresponseheaders.into().abi(), szrequestheaders.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHttpNegotiate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHttpNegotiate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHttpNegotiate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1115,7 +1115,7 @@ impl IHttpNegotiate2 { (::windows::core::Vtable::vtable(self).GetRootSecurityId)(::windows::core::Vtable::as_raw(self), pbsecurityid, pcbsecurityid, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IHttpNegotiate2, ::windows::core::IUnknown, IHttpNegotiate); +::windows::imp::interface_hierarchy!(IHttpNegotiate2, ::windows::core::IUnknown, IHttpNegotiate); impl ::core::cmp::PartialEq for IHttpNegotiate2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1171,7 +1171,7 @@ impl IHttpNegotiate3 { (::windows::core::Vtable::vtable(self).GetSerializedClientCertContext)(::windows::core::Vtable::as_raw(self), ppbcert, pcbcert).ok() } } -::windows::core::interface_hierarchy!(IHttpNegotiate3, ::windows::core::IUnknown, IHttpNegotiate, IHttpNegotiate2); +::windows::imp::interface_hierarchy!(IHttpNegotiate3, ::windows::core::IUnknown, IHttpNegotiate, IHttpNegotiate2); impl ::core::cmp::PartialEq for IHttpNegotiate3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1214,7 +1214,7 @@ impl IHttpSecurity { (::windows::core::Vtable::vtable(self).OnSecurityProblem)(::windows::core::Vtable::as_raw(self), dwproblem).ok() } } -::windows::core::interface_hierarchy!(IHttpSecurity, ::windows::core::IUnknown, IWindowForBindingUI); +::windows::imp::interface_hierarchy!(IHttpSecurity, ::windows::core::IUnknown, IWindowForBindingUI); impl ::core::cmp::PartialEq for IHttpSecurity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1247,7 +1247,7 @@ pub struct IHttpSecurity_Vtbl { #[repr(transparent)] pub struct IInternet(::windows::core::IUnknown); impl IInternet {} -::windows::core::interface_hierarchy!(IInternet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1288,7 +1288,7 @@ impl IInternetBindInfo { (::windows::core::Vtable::vtable(self).GetBindString)(::windows::core::Vtable::as_raw(self), ulstringtype, ppwzstr, cel, pcelfetched).ok() } } -::windows::core::interface_hierarchy!(IInternetBindInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetBindInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetBindInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1339,7 +1339,7 @@ impl IInternetBindInfoEx { (::windows::core::Vtable::vtable(self).GetBindInfoEx)(::windows::core::Vtable::as_raw(self), grfbindf, pbindinfo, grfbindf2, pdwreserved).ok() } } -::windows::core::interface_hierarchy!(IInternetBindInfoEx, ::windows::core::IUnknown, IInternetBindInfo); +::windows::imp::interface_hierarchy!(IInternetBindInfoEx, ::windows::core::IUnknown, IInternetBindInfo); impl ::core::cmp::PartialEq for IInternetBindInfoEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1385,7 +1385,7 @@ impl IInternetHostSecurityManager { (::windows::core::Vtable::vtable(self).QueryCustomPolicy)(::windows::core::Vtable::as_raw(self), guidkey, pppolicy, pcbpolicy, ::core::mem::transmute(pcontext.as_ptr()), pcontext.len() as _, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IInternetHostSecurityManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetHostSecurityManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetHostSecurityManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1428,7 +1428,7 @@ impl IInternetPriority { (::windows::core::Vtable::vtable(self).GetPriority)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IInternetPriority, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetPriority, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetPriority { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1502,7 +1502,7 @@ impl IInternetProtocol { (::windows::core::Vtable::vtable(self).UnlockRequest)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInternetProtocol, ::windows::core::IUnknown, IInternetProtocolRoot); +::windows::imp::interface_hierarchy!(IInternetProtocol, ::windows::core::IUnknown, IInternetProtocolRoot); impl ::core::cmp::PartialEq for IInternetProtocol { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1589,7 +1589,7 @@ impl IInternetProtocolEx { (::windows::core::Vtable::vtable(self).StartEx)(::windows::core::Vtable::as_raw(self), puri.into().abi(), poiprotsink.into().abi(), poibindinfo.into().abi(), grfpi, dwreserved.into()).ok() } } -::windows::core::interface_hierarchy!(IInternetProtocolEx, ::windows::core::IUnknown, IInternetProtocolRoot, IInternetProtocol); +::windows::imp::interface_hierarchy!(IInternetProtocolEx, ::windows::core::IUnknown, IInternetProtocolRoot, IInternetProtocol); impl ::core::cmp::PartialEq for IInternetProtocolEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1653,7 +1653,7 @@ impl IInternetProtocolInfo { (::windows::core::Vtable::vtable(self).QueryInfo)(::windows::core::Vtable::as_raw(self), pwzurl.into().abi(), oueryoption, dwqueryflags, pbuffer, cbbuffer, pcbbuf, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IInternetProtocolInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetProtocolInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetProtocolInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1716,7 +1716,7 @@ impl IInternetProtocolRoot { (::windows::core::Vtable::vtable(self).Resume)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInternetProtocolRoot, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetProtocolRoot, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetProtocolRoot { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1776,7 +1776,7 @@ impl IInternetProtocolSink { (::windows::core::Vtable::vtable(self).ReportResult)(::windows::core::Vtable::as_raw(self), hrresult, dwerror, szresult.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IInternetProtocolSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetProtocolSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetProtocolSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1825,7 +1825,7 @@ impl IInternetProtocolSinkStackable { (::windows::core::Vtable::vtable(self).RollbackSwitch)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInternetProtocolSinkStackable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetProtocolSinkStackable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetProtocolSinkStackable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1904,7 +1904,7 @@ impl IInternetSecurityManager { (::windows::core::Vtable::vtable(self).GetZoneMappings)(::windows::core::Vtable::as_raw(self), dwzone, ::core::mem::transmute(ppenumstring), dwflags).ok() } } -::windows::core::interface_hierarchy!(IInternetSecurityManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetSecurityManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetSecurityManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1994,7 +1994,7 @@ impl IInternetSecurityManagerEx { (::windows::core::Vtable::vtable(self).ProcessUrlActionEx)(::windows::core::Vtable::as_raw(self), pwszurl.into().abi(), dwaction, ::core::mem::transmute(ppolicy.as_ptr()), ppolicy.len() as _, pcontext, cbcontext, dwflags, dwreserved, pdwoutflags).ok() } } -::windows::core::interface_hierarchy!(IInternetSecurityManagerEx, ::windows::core::IUnknown, IInternetSecurityManager); +::windows::imp::interface_hierarchy!(IInternetSecurityManagerEx, ::windows::core::IUnknown, IInternetSecurityManager); impl ::core::cmp::PartialEq for IInternetSecurityManagerEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2101,7 +2101,7 @@ impl IInternetSecurityManagerEx2 { (::windows::core::Vtable::vtable(self).QueryCustomPolicyEx2)(::windows::core::Vtable::as_raw(self), puri.into().abi(), guidkey, pppolicy, pcbpolicy, pcontext, cbcontext, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IInternetSecurityManagerEx2, ::windows::core::IUnknown, IInternetSecurityManager, IInternetSecurityManagerEx); +::windows::imp::interface_hierarchy!(IInternetSecurityManagerEx2, ::windows::core::IUnknown, IInternetSecurityManager, IInternetSecurityManagerEx); impl ::core::cmp::PartialEq for IInternetSecurityManagerEx2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2152,7 +2152,7 @@ impl IInternetSecurityMgrSite { (::windows::core::Vtable::vtable(self).EnableModeless)(::windows::core::Vtable::as_raw(self), fenable.into()).ok() } } -::windows::core::interface_hierarchy!(IInternetSecurityMgrSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetSecurityMgrSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetSecurityMgrSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2235,7 +2235,7 @@ impl IInternetSession { (::windows::core::Vtable::vtable(self).GetSessionOption)(::windows::core::Vtable::as_raw(self), dwoption, pbuffer, pdwbufferlength, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IInternetSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2281,7 +2281,7 @@ impl IInternetThreadSwitch { (::windows::core::Vtable::vtable(self).Continue)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInternetThreadSwitch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetThreadSwitch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetThreadSwitch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2364,7 +2364,7 @@ impl IInternetZoneManager { (::windows::core::Vtable::vtable(self).CopyTemplatePoliciesToZone)(::windows::core::Vtable::as_raw(self), dwtemplate, dwzone, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IInternetZoneManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternetZoneManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternetZoneManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2466,7 +2466,7 @@ impl IInternetZoneManagerEx { (::windows::core::Vtable::vtable(self).SetZoneActionPolicyEx)(::windows::core::Vtable::as_raw(self), dwzone, dwaction, ::core::mem::transmute(ppolicy.as_ptr()), ppolicy.len() as _, urlzonereg, dwflags).ok() } } -::windows::core::interface_hierarchy!(IInternetZoneManagerEx, ::windows::core::IUnknown, IInternetZoneManager); +::windows::imp::interface_hierarchy!(IInternetZoneManagerEx, ::windows::core::IUnknown, IInternetZoneManager); impl ::core::cmp::PartialEq for IInternetZoneManagerEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2578,7 +2578,7 @@ impl IInternetZoneManagerEx2 { (::windows::core::Vtable::vtable(self).FixUnsecureSettings)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInternetZoneManagerEx2, ::windows::core::IUnknown, IInternetZoneManager, IInternetZoneManagerEx); +::windows::imp::interface_hierarchy!(IInternetZoneManagerEx2, ::windows::core::IUnknown, IInternetZoneManager, IInternetZoneManagerEx); impl ::core::cmp::PartialEq for IInternetZoneManagerEx2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2627,7 +2627,7 @@ impl IMonikerProp { (::windows::core::Vtable::vtable(self).PutProperty)(::windows::core::Vtable::as_raw(self), mkp, val.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMonikerProp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMonikerProp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMonikerProp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2699,7 +2699,7 @@ impl IPersistMoniker { (::windows::core::Vtable::vtable(self).GetCurMoniker)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPersistMoniker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPersistMoniker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPersistMoniker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2765,7 +2765,7 @@ impl ISoftDistExt { (::windows::core::Vtable::vtable(self).AsyncInstallDistributionUnit)(::windows::core::Vtable::as_raw(self), pbc.into().abi(), pvreserved, flags, lpcbh).ok() } } -::windows::core::interface_hierarchy!(ISoftDistExt, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISoftDistExt, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISoftDistExt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2813,7 +2813,7 @@ impl IUriBuilderFactory { (::windows::core::Vtable::vtable(self).CreateInitializedIUriBuilder)(::windows::core::Vtable::as_raw(self), dwflags, dwreserved, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUriBuilderFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUriBuilderFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUriBuilderFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2852,7 +2852,7 @@ impl IUriContainer { (::windows::core::Vtable::vtable(self).GetIUri)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUriContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUriContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUriContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2892,7 +2892,7 @@ impl IWinInetCacheHints { (::windows::core::Vtable::vtable(self).SetCacheExtension)(::windows::core::Vtable::as_raw(self), pwzext.into().abi(), pszcachefile, pcbcachefile, pdwwinineterror, pdwreserved).ok() } } -::windows::core::interface_hierarchy!(IWinInetCacheHints, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinInetCacheHints, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinInetCacheHints { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2938,7 +2938,7 @@ impl IWinInetCacheHints2 { (::windows::core::Vtable::vtable(self).SetCacheExtension2)(::windows::core::Vtable::as_raw(self), pwzext.into().abi(), ::core::mem::transmute(pwzcachefile), pcchcachefile, pdwwinineterror, pdwreserved).ok() } } -::windows::core::interface_hierarchy!(IWinInetCacheHints2, ::windows::core::IUnknown, IWinInetCacheHints); +::windows::imp::interface_hierarchy!(IWinInetCacheHints2, ::windows::core::IUnknown, IWinInetCacheHints); impl ::core::cmp::PartialEq for IWinInetCacheHints2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2978,7 +2978,7 @@ impl IWinInetFileStream { (::windows::core::Vtable::vtable(self).SetDeleteFile)(::windows::core::Vtable::as_raw(self), dwreserved).ok() } } -::windows::core::interface_hierarchy!(IWinInetFileStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinInetFileStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinInetFileStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3019,7 +3019,7 @@ impl IWinInetHttpInfo { (::windows::core::Vtable::vtable(self).QueryInfo)(::windows::core::Vtable::as_raw(self), dwoption, pbuffer, pcbbuf, pdwflags, pdwreserved).ok() } } -::windows::core::interface_hierarchy!(IWinInetHttpInfo, ::windows::core::IUnknown, IWinInetInfo); +::windows::imp::interface_hierarchy!(IWinInetHttpInfo, ::windows::core::IUnknown, IWinInetInfo); impl ::core::cmp::PartialEq for IWinInetHttpInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3056,7 +3056,7 @@ impl IWinInetHttpTimeouts { (::windows::core::Vtable::vtable(self).GetRequestTimeouts)(::windows::core::Vtable::as_raw(self), pdwconnecttimeout, pdwsendtimeout, pdwreceivetimeout).ok() } } -::windows::core::interface_hierarchy!(IWinInetHttpTimeouts, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinInetHttpTimeouts, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinInetHttpTimeouts { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3093,7 +3093,7 @@ impl IWinInetInfo { (::windows::core::Vtable::vtable(self).QueryOption)(::windows::core::Vtable::as_raw(self), dwoption, pbuffer, pcbbuf).ok() } } -::windows::core::interface_hierarchy!(IWinInetInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWinInetInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWinInetInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3133,7 +3133,7 @@ impl IWindowForBindingUI { (::windows::core::Vtable::vtable(self).GetWindow)(::windows::core::Vtable::as_raw(self), rguidreason, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWindowForBindingUI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWindowForBindingUI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWindowForBindingUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3173,7 +3173,7 @@ impl IWrappedProtocol { (::windows::core::Vtable::vtable(self).GetWrapperCode)(::windows::core::Vtable::as_raw(self), pncode, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IWrappedProtocol, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWrappedProtocol, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWrappedProtocol { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3217,7 +3217,7 @@ impl IZoneIdentifier { (::windows::core::Vtable::vtable(self).Remove)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IZoneIdentifier, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IZoneIdentifier, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IZoneIdentifier { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3286,7 +3286,7 @@ impl IZoneIdentifier2 { (::windows::core::Vtable::vtable(self).RemoveAppZoneId)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IZoneIdentifier2, ::windows::core::IUnknown, IZoneIdentifier); +::windows::imp::interface_hierarchy!(IZoneIdentifier2, ::windows::core::IUnknown, IZoneIdentifier); impl ::core::cmp::PartialEq for IZoneIdentifier2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 50f1529dd5..fbf21b09fa 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -19,7 +19,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), grfopt, &::IID, &mut result__).from_abi(result__) } @@ -29,7 +29,7 @@ pub unsafe fn CLSIDFromProgID(lpszprogid: P0) -> ::windows::core::Result<::w where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CLSIDFromProgID ( lpszprogid : :: windows::core::PCWSTR , lpclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLSIDFromProgID ( lpszprogid : :: windows::core::PCWSTR , lpclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); CLSIDFromProgID(lpszprogid.into().abi(), &mut result__).from_abi(result__) } @@ -39,7 +39,7 @@ pub unsafe fn CLSIDFromProgIDEx(lpszprogid: P0) -> ::windows::core::Result<: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CLSIDFromProgIDEx ( lpszprogid : :: windows::core::PCWSTR , lpclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLSIDFromProgIDEx ( lpszprogid : :: windows::core::PCWSTR , lpclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); CLSIDFromProgIDEx(lpszprogid.into().abi(), &mut result__).from_abi(result__) } @@ -49,14 +49,14 @@ pub unsafe fn CLSIDFromString(lpsz: P0) -> ::windows::core::Result<::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CLSIDFromString ( lpsz : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CLSIDFromString ( lpsz : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); CLSIDFromString(lpsz.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoAddRefServerProcess() -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn CoAddRefServerProcess ( ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoAddRefServerProcess ( ) -> u32 ); CoAddRefServerProcess() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -65,25 +65,25 @@ pub unsafe fn CoAllowSetForegroundWindow(punk: P0, lpvreserved: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoAllowSetForegroundWindow ( punk : * mut::core::ffi::c_void , lpvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoAllowSetForegroundWindow ( punk : * mut::core::ffi::c_void , lpvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoAllowSetForegroundWindow(punk.into().abi(), ::core::mem::transmute(lpvreserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoAllowUnmarshalerCLSID(clsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoAllowUnmarshalerCLSID ( clsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoAllowUnmarshalerCLSID ( clsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); CoAllowUnmarshalerCLSID(clsid).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoBuildVersion() -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn CoBuildVersion ( ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoBuildVersion ( ) -> u32 ); CoBuildVersion() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoCancelCall(dwthreadid: u32, ultimeout: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoCancelCall ( dwthreadid : u32 , ultimeout : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoCancelCall ( dwthreadid : u32 , ultimeout : u32 ) -> :: windows::core::HRESULT ); CoCancelCall(dwthreadid, ultimeout).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -92,7 +92,7 @@ pub unsafe fn CoCopyProxy(pproxy: P0) -> ::windows::core::Result<::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoCopyProxy ( pproxy : * mut::core::ffi::c_void , ppcopy : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoCopyProxy ( pproxy : * mut::core::ffi::c_void , ppcopy : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CoCopyProxy(pproxy.into().abi(), &mut result__).from_abi(result__) } @@ -102,14 +102,14 @@ pub unsafe fn CoCreateFreeThreadedMarshaler(punkouter: P0) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoCreateFreeThreadedMarshaler ( punkouter : * mut::core::ffi::c_void , ppunkmarshal : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoCreateFreeThreadedMarshaler ( punkouter : * mut::core::ffi::c_void , ppunkmarshal : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CoCreateFreeThreadedMarshaler(punkouter.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoCreateGuid() -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "ole32.dll""system" fn CoCreateGuid ( pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoCreateGuid ( pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); CoCreateGuid(&mut result__).from_abi(result__) } @@ -120,7 +120,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), dwclscontext, &::IID, &mut result__).from_abi(result__) } @@ -130,7 +130,7 @@ pub unsafe fn CoCreateInstanceEx(clsid: *const ::windows::core::GUID, punkou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoCreateInstanceEx ( clsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , dwclsctx : CLSCTX , pserverinfo : *const COSERVERINFO , dwcount : u32 , presults : *mut MULTI_QI ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoCreateInstanceEx ( clsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , dwclsctx : CLSCTX , pserverinfo : *const COSERVERINFO , dwcount : u32 , presults : *mut MULTI_QI ) -> :: windows::core::HRESULT ); CoCreateInstanceEx(clsid, punkouter.into().abi(), dwclsctx, ::core::mem::transmute(pserverinfo.unwrap_or(::std::ptr::null())), presults.len() as _, ::core::mem::transmute(presults.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -139,7 +139,7 @@ pub unsafe fn CoCreateInstanceFromApp(clsid: *const ::windows::core::GUID, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoCreateInstanceFromApp ( clsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , dwclsctx : CLSCTX , reserved : *const ::core::ffi::c_void , dwcount : u32 , presults : *mut MULTI_QI ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoCreateInstanceFromApp ( clsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , dwclsctx : CLSCTX , reserved : *const ::core::ffi::c_void , dwcount : u32 , presults : *mut MULTI_QI ) -> :: windows::core::HRESULT ); CoCreateInstanceFromApp(clsid, punkouter.into().abi(), dwclsctx, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), presults.len() as _, ::core::mem::transmute(presults.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -148,19 +148,19 @@ pub unsafe fn CoDecrementMTAUsage(cookie: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn CoDecrementMTAUsage ( cookie : CO_MTA_USAGE_COOKIE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoDecrementMTAUsage ( cookie : CO_MTA_USAGE_COOKIE ) -> :: windows::core::HRESULT ); CoDecrementMTAUsage(cookie.into()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoDisableCallCancellation(preserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoDisableCallCancellation ( preserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoDisableCallCancellation ( preserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoDisableCallCancellation(::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoDisconnectContext(dwtimeout: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoDisconnectContext ( dwtimeout : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoDisconnectContext ( dwtimeout : u32 ) -> :: windows::core::HRESULT ); CoDisconnectContext(dwtimeout).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -169,27 +169,27 @@ pub unsafe fn CoDisconnectObject(punk: P0, dwreserved: u32) -> ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoDisconnectObject ( punk : * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoDisconnectObject ( punk : * mut::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); CoDisconnectObject(punk.into().abi(), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CoDosDateTimeToFileTime(ndosdate: u16, ndostime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "ole32.dll""system" fn CoDosDateTimeToFileTime ( ndosdate : u16 , ndostime : u16 , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoDosDateTimeToFileTime ( ndosdate : u16 , ndostime : u16 , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); CoDosDateTimeToFileTime(ndosdate, ndostime, lpfiletime) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoEnableCallCancellation(preserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoEnableCallCancellation ( preserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoEnableCallCancellation ( preserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoEnableCallCancellation(::core::mem::transmute(preserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CoFileTimeNow() -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CoFileTimeNow ( lpfiletime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoFileTimeNow ( lpfiletime : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoFileTimeNow(&mut result__).from_abi(result__) } @@ -197,13 +197,13 @@ pub unsafe fn CoFileTimeNow() -> ::windows::core::Result super::super::Foundation::BOOL { - ::windows::core::link ! ( "ole32.dll""system" fn CoFileTimeToDosDateTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lpdosdate : *mut u16 , lpdostime : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoFileTimeToDosDateTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lpdosdate : *mut u16 , lpdostime : *mut u16 ) -> super::super::Foundation:: BOOL ); CoFileTimeToDosDateTime(lpfiletime, lpdosdate, lpdostime) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoFreeAllLibraries() { - ::windows::core::link ! ( "ole32.dll""system" fn CoFreeAllLibraries ( ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoFreeAllLibraries ( ) -> ( ) ); CoFreeAllLibraries() } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] @@ -213,25 +213,25 @@ pub unsafe fn CoFreeLibrary(hinst: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn CoFreeLibrary ( hinst : super::super::Foundation:: HINSTANCE ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoFreeLibrary ( hinst : super::super::Foundation:: HINSTANCE ) -> ( ) ); CoFreeLibrary(hinst.into()) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoFreeUnusedLibraries() { - ::windows::core::link ! ( "ole32.dll""system" fn CoFreeUnusedLibraries ( ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoFreeUnusedLibraries ( ) -> ( ) ); CoFreeUnusedLibraries() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoFreeUnusedLibrariesEx(dwunloaddelay: u32, dwreserved: u32) { - ::windows::core::link ! ( "ole32.dll""system" fn CoFreeUnusedLibrariesEx ( dwunloaddelay : u32 , dwreserved : u32 ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoFreeUnusedLibrariesEx ( dwunloaddelay : u32 , dwreserved : u32 ) -> ( ) ); CoFreeUnusedLibrariesEx(dwunloaddelay, dwreserved) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoGetApartmentType(papttype: *mut APTTYPE, paptqualifier: *mut APTTYPEQUALIFIER) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetApartmentType ( papttype : *mut APTTYPE , paptqualifier : *mut APTTYPEQUALIFIER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetApartmentType ( papttype : *mut APTTYPE , paptqualifier : *mut APTTYPEQUALIFIER ) -> :: windows::core::HRESULT ); CoGetApartmentType(papttype, paptqualifier).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -240,14 +240,14 @@ pub unsafe fn CoGetCallContext() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetCallContext ( riid : *const :: windows::core::GUID , ppinterface : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoGetCallerTID() -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetCallerTID ( lpdwtid : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetCallerTID ( lpdwtid : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoGetCallerTID(&mut result__).from_abi(result__) } @@ -257,7 +257,7 @@ pub unsafe fn CoGetCancelObject(dwthreadid: u32) -> ::windows::core::Result :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -267,34 +267,34 @@ pub unsafe fn CoGetClassObject(rclsid: *const ::windows::core::GUID, dwclscon where T: ::windows::core::Interface, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetClassObject ( rclsid : *const :: windows::core::GUID , dwclscontext : CLSCTX , pvreserved : *const ::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetClassObject ( rclsid : *const :: windows::core::GUID , dwclscontext : CLSCTX , 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, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoGetContextToken() -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetContextToken ( ptoken : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetContextToken ( ptoken : *mut usize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoGetContextToken(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoGetCurrentLogicalThreadId() -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetCurrentLogicalThreadId ( pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetCurrentLogicalThreadId ( pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); CoGetCurrentLogicalThreadId(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoGetCurrentProcess() -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetCurrentProcess ( ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetCurrentProcess ( ) -> u32 ); CoGetCurrentProcess() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoGetMalloc(dwmemcontext: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetMalloc ( dwmemcontext : u32 , ppmalloc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetMalloc ( dwmemcontext : u32 , ppmalloc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoGetMalloc(dwmemcontext, &mut result__).from_abi(result__) } @@ -305,7 +305,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), ::core::mem::transmute(pbindoptions.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) } @@ -315,14 +315,14 @@ pub unsafe fn CoGetObjectContext() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetObjectContext ( riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoGetPSClsid(riid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetPSClsid ( riid : *const :: windows::core::GUID , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetPSClsid ( riid : *const :: windows::core::GUID , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); CoGetPSClsid(riid, &mut result__).from_abi(result__) } @@ -330,39 +330,39 @@ pub unsafe fn CoGetPSClsid(riid: *const ::windows::core::GUID) -> ::windows::cor #[cfg(feature = "Win32_Security")] #[inline] pub unsafe fn CoGetSystemSecurityPermissions(comsdtype: COMSD, ppsd: *mut super::super::Security::PSECURITY_DESCRIPTOR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetSystemSecurityPermissions ( comsdtype : COMSD , ppsd : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetSystemSecurityPermissions ( comsdtype : COMSD , ppsd : *mut super::super::Security:: PSECURITY_DESCRIPTOR ) -> :: windows::core::HRESULT ); CoGetSystemSecurityPermissions(comsdtype, ppsd).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoGetTreatAsClass(clsidold: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetTreatAsClass ( clsidold : *const :: windows::core::GUID , pclsidnew : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetTreatAsClass ( clsidold : *const :: windows::core::GUID , pclsidnew : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); CoGetTreatAsClass(clsidold, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoImpersonateClient() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoImpersonateClient ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoImpersonateClient ( ) -> :: windows::core::HRESULT ); CoImpersonateClient().ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoIncrementMTAUsage() -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CoIncrementMTAUsage ( pcookie : *mut CO_MTA_USAGE_COOKIE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoIncrementMTAUsage ( pcookie : *mut CO_MTA_USAGE_COOKIE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoIncrementMTAUsage(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoInitialize(pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoInitialize ( pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoInitialize ( pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoInitialize(::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoInitializeEx(pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, dwcoinit: COINIT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoInitializeEx ( pvreserved : *const ::core::ffi::c_void , dwcoinit : COINIT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoInitializeEx ( pvreserved : *const ::core::ffi::c_void , dwcoinit : COINIT ) -> :: windows::core::HRESULT ); CoInitializeEx(::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), dwcoinit).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Security\"`*"] @@ -372,7 +372,7 @@ pub unsafe fn CoInitializeSecurity(psecdesc: P0, cauthsvc: i32, asauthsvc: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn CoInitializeSecurity ( psecdesc : super::super::Security:: PSECURITY_DESCRIPTOR , cauthsvc : i32 , asauthsvc : *const SOLE_AUTHENTICATION_SERVICE , preserved1 : *const ::core::ffi::c_void , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthlist : *const ::core::ffi::c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES , preserved3 : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoInitializeSecurity ( psecdesc : super::super::Security:: PSECURITY_DESCRIPTOR , cauthsvc : i32 , asauthsvc : *const SOLE_AUTHENTICATION_SERVICE , preserved1 : *const ::core::ffi::c_void , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthlist : *const ::core::ffi::c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES , preserved3 : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoInitializeSecurity(psecdesc.into(), cauthsvc, ::core::mem::transmute(asauthsvc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(preserved1.unwrap_or(::std::ptr::null())), dwauthnlevel, dwimplevel, ::core::mem::transmute(pauthlist.unwrap_or(::std::ptr::null())), dwcapabilities, ::core::mem::transmute(preserved3.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -382,7 +382,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoInstall ( pbc : * mut::core::ffi::c_void , dwflags : u32 , pclassspec : *const uCLSSPEC , pquery : *const QUERYCONTEXT , pszcodebase : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoInstall ( pbc : * mut::core::ffi::c_void , dwflags : u32 , pclassspec : *const uCLSSPEC , pquery : *const QUERYCONTEXT , pszcodebase : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); CoInstall(pbc.into().abi(), dwflags, pclassspec, pquery, pszcodebase.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -391,7 +391,7 @@ pub unsafe fn CoInvalidateRemoteMachineBindings(pszmachinename: P0) -> ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoInvalidateRemoteMachineBindings ( pszmachinename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoInvalidateRemoteMachineBindings ( pszmachinename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); CoInvalidateRemoteMachineBindings(pszmachinename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] @@ -401,14 +401,14 @@ pub unsafe fn CoIsHandlerConnected(punk: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoIsHandlerConnected ( punk : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoIsHandlerConnected ( punk : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CoIsHandlerConnected(punk.into().abi()) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CoIsOle1Class(rclsid: *const ::windows::core::GUID) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "ole32.dll""system" fn CoIsOle1Class ( rclsid : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoIsOle1Class ( rclsid : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); CoIsOle1Class(rclsid) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] @@ -419,7 +419,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn CoLoadLibrary ( lpszlibname : :: windows::core::PCWSTR , bautofree : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoLoadLibrary ( lpszlibname : :: windows::core::PCWSTR , bautofree : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HINSTANCE ); CoLoadLibrary(lpszlibname.into().abi(), bautofree.into()) } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] @@ -431,19 +431,19 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn CoLockObjectExternal ( punk : * mut::core::ffi::c_void , flock : super::super::Foundation:: BOOL , flastunlockreleases : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoLockObjectExternal ( punk : * mut::core::ffi::c_void , flock : super::super::Foundation:: BOOL , flastunlockreleases : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); CoLockObjectExternal(punk.into().abi(), flock.into(), flastunlockreleases.into()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoQueryAuthenticationServices(pcauthsvc: *mut u32, asauthsvc: *mut *mut SOLE_AUTHENTICATION_SERVICE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoQueryAuthenticationServices ( pcauthsvc : *mut u32 , asauthsvc : *mut *mut SOLE_AUTHENTICATION_SERVICE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoQueryAuthenticationServices ( pcauthsvc : *mut u32 , asauthsvc : *mut *mut SOLE_AUTHENTICATION_SERVICE ) -> :: windows::core::HRESULT ); CoQueryAuthenticationServices(pcauthsvc, asauthsvc).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoQueryClientBlanket(pauthnsvc: ::core::option::Option<*mut u32>, pauthzsvc: ::core::option::Option<*mut u32>, pserverprincname: ::core::option::Option<*mut ::windows::core::PWSTR>, pauthnlevel: ::core::option::Option<*mut u32>, pimplevel: ::core::option::Option<*mut u32>, pprivs: ::core::option::Option<*mut *mut ::core::ffi::c_void>, pcapabilities: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoQueryClientBlanket ( pauthnsvc : *mut u32 , pauthzsvc : *mut u32 , pserverprincname : *mut :: windows::core::PWSTR , pauthnlevel : *mut u32 , pimplevel : *mut u32 , pprivs : *mut *mut ::core::ffi::c_void , pcapabilities : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoQueryClientBlanket ( pauthnsvc : *mut u32 , pauthzsvc : *mut u32 , pserverprincname : *mut :: windows::core::PWSTR , pauthnlevel : *mut u32 , pimplevel : *mut u32 , pprivs : *mut *mut ::core::ffi::c_void , pcapabilities : *mut u32 ) -> :: windows::core::HRESULT ); CoQueryClientBlanket( ::core::mem::transmute(pauthnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pauthzsvc.unwrap_or(::std::ptr::null_mut())), @@ -461,7 +461,7 @@ pub unsafe fn CoQueryProxyBlanket(pproxy: P0, pwauthnsvc: ::core::option::Op where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoQueryProxyBlanket ( pproxy : * mut::core::ffi::c_void , pwauthnsvc : *mut u32 , pauthzsvc : *mut u32 , pserverprincname : *mut :: windows::core::PWSTR , pauthnlevel : *mut u32 , pimplevel : *mut u32 , pauthinfo : *mut *mut ::core::ffi::c_void , pcapabilites : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoQueryProxyBlanket ( pproxy : * mut::core::ffi::c_void , pwauthnsvc : *mut u32 , pauthzsvc : *mut u32 , pserverprincname : *mut :: windows::core::PWSTR , pauthnlevel : *mut u32 , pimplevel : *mut u32 , pauthinfo : *mut *mut ::core::ffi::c_void , pcapabilites : *mut u32 ) -> :: windows::core::HRESULT ); CoQueryProxyBlanket( pproxy.into().abi(), ::core::mem::transmute(pwauthnsvc.unwrap_or(::std::ptr::null_mut())), @@ -480,7 +480,7 @@ pub unsafe fn CoRegisterActivationFilter(pactivationfilter: P0) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterActivationFilter ( pactivationfilter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterActivationFilter ( pactivationfilter : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoRegisterActivationFilter(pactivationfilter.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -489,7 +489,7 @@ pub unsafe fn CoRegisterChannelHook(extensionuuid: *const ::windows::core::G where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterChannelHook ( extensionuuid : *const :: windows::core::GUID , pchannelhook : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterChannelHook ( extensionuuid : *const :: windows::core::GUID , pchannelhook : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoRegisterChannelHook(extensionuuid, pchannelhook.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -498,7 +498,7 @@ pub unsafe fn CoRegisterClassObject(rclsid: *const ::windows::core::GUID, pu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterClassObject ( rclsid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , dwclscontext : CLSCTX , flags : REGCLS , lpdwregister : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterClassObject ( rclsid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , dwclscontext : CLSCTX , flags : REGCLS , lpdwregister : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoRegisterClassObject(rclsid, punk.into().abi(), dwclscontext, flags, &mut result__).from_abi(result__) } @@ -508,7 +508,7 @@ pub unsafe fn CoRegisterDeviceCatalog(deviceinstanceid: P0) -> ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterDeviceCatalog ( deviceinstanceid : :: windows::core::PCWSTR , cookie : *mut CO_DEVICE_CATALOG_COOKIE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterDeviceCatalog ( deviceinstanceid : :: windows::core::PCWSTR , cookie : *mut CO_DEVICE_CATALOG_COOKIE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoRegisterDeviceCatalog(deviceinstanceid.into().abi(), &mut result__).from_abi(result__) } @@ -518,7 +518,7 @@ pub unsafe fn CoRegisterInitializeSpy(pspy: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterInitializeSpy ( pspy : * mut::core::ffi::c_void , pulicookie : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterInitializeSpy ( pspy : * mut::core::ffi::c_void , pulicookie : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoRegisterInitializeSpy(pspy.into().abi(), &mut result__).from_abi(result__) } @@ -528,13 +528,13 @@ pub unsafe fn CoRegisterMallocSpy(pmallocspy: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterMallocSpy ( pmallocspy : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterMallocSpy ( pmallocspy : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoRegisterMallocSpy(pmallocspy.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoRegisterPSClsid(riid: *const ::windows::core::GUID, rclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterPSClsid ( riid : *const :: windows::core::GUID , rclsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterPSClsid ( riid : *const :: windows::core::GUID , rclsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); CoRegisterPSClsid(riid, rclsid).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -543,31 +543,31 @@ pub unsafe fn CoRegisterSurrogate(psurrogate: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRegisterSurrogate ( psurrogate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRegisterSurrogate ( psurrogate : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoRegisterSurrogate(psurrogate.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoReleaseServerProcess() -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn CoReleaseServerProcess ( ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoReleaseServerProcess ( ) -> u32 ); CoReleaseServerProcess() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoResumeClassObjects() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoResumeClassObjects ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoResumeClassObjects ( ) -> :: windows::core::HRESULT ); CoResumeClassObjects().ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoRevertToSelf() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoRevertToSelf ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRevertToSelf ( ) -> :: windows::core::HRESULT ); CoRevertToSelf().ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoRevokeClassObject(dwregister: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoRevokeClassObject ( dwregister : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRevokeClassObject ( dwregister : u32 ) -> :: windows::core::HRESULT ); CoRevokeClassObject(dwregister).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -576,19 +576,19 @@ pub unsafe fn CoRevokeDeviceCatalog(cookie: P0) -> ::windows::core::Result<( where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn CoRevokeDeviceCatalog ( cookie : CO_DEVICE_CATALOG_COOKIE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRevokeDeviceCatalog ( cookie : CO_DEVICE_CATALOG_COOKIE ) -> :: windows::core::HRESULT ); CoRevokeDeviceCatalog(cookie.into()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoRevokeInitializeSpy(ulicookie: u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoRevokeInitializeSpy ( ulicookie : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRevokeInitializeSpy ( ulicookie : u64 ) -> :: windows::core::HRESULT ); CoRevokeInitializeSpy(ulicookie).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoRevokeMallocSpy() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoRevokeMallocSpy ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoRevokeMallocSpy ( ) -> :: windows::core::HRESULT ); CoRevokeMallocSpy().ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -597,7 +597,7 @@ pub unsafe fn CoSetCancelObject(punk: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoSetCancelObject ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoSetCancelObject ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoSetCancelObject(punk.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -607,13 +607,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoSetProxyBlanket ( pproxy : * mut::core::ffi::c_void , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : :: windows::core::PCWSTR , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthinfo : *const ::core::ffi::c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoSetProxyBlanket ( pproxy : * mut::core::ffi::c_void , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : :: windows::core::PCWSTR , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthinfo : *const ::core::ffi::c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES ) -> :: windows::core::HRESULT ); CoSetProxyBlanket(pproxy.into().abi(), dwauthnsvc, dwauthzsvc, pserverprincname.into().abi(), dwauthnlevel, dwimplevel, ::core::mem::transmute(pauthinfo.unwrap_or(::std::ptr::null())), dwcapabilities).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoSuspendClassObjects() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoSuspendClassObjects ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoSuspendClassObjects ( ) -> :: windows::core::HRESULT ); CoSuspendClassObjects().ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -622,51 +622,51 @@ pub unsafe fn CoSwitchCallContext(pnewobject: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CoSwitchCallContext ( pnewobject : * mut::core::ffi::c_void , ppoldobject : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoSwitchCallContext ( pnewobject : * mut::core::ffi::c_void , ppoldobject : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); CoSwitchCallContext(pnewobject.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoTaskMemAlloc(cb: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "ole32.dll""system" fn CoTaskMemAlloc ( cb : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoTaskMemAlloc ( cb : usize ) -> *mut ::core::ffi::c_void ); CoTaskMemAlloc(cb) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoTaskMemFree(pv: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "ole32.dll""system" fn CoTaskMemFree ( pv : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoTaskMemFree ( pv : *const ::core::ffi::c_void ) -> ( ) ); CoTaskMemFree(::core::mem::transmute(pv.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoTaskMemRealloc(pv: ::core::option::Option<*const ::core::ffi::c_void>, cb: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "ole32.dll""system" fn CoTaskMemRealloc ( pv : *const ::core::ffi::c_void , cb : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoTaskMemRealloc ( pv : *const ::core::ffi::c_void , cb : usize ) -> *mut ::core::ffi::c_void ); CoTaskMemRealloc(::core::mem::transmute(pv.unwrap_or(::std::ptr::null())), cb) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoTestCancel() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoTestCancel ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoTestCancel ( ) -> :: windows::core::HRESULT ); CoTestCancel().ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoTreatAsClass(clsidold: *const ::windows::core::GUID, clsidnew: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoTreatAsClass ( clsidold : *const :: windows::core::GUID , clsidnew : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoTreatAsClass ( clsidold : *const :: windows::core::GUID , clsidnew : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); CoTreatAsClass(clsidold, clsidnew).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CoUninitialize() { - ::windows::core::link ! ( "ole32.dll""system" fn CoUninitialize ( ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoUninitialize ( ) -> ( ) ); CoUninitialize() } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CoWaitForMultipleHandles(dwflags: u32, dwtimeout: u32, phandles: &[super::super::Foundation::HANDLE]) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CoWaitForMultipleHandles ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : *const super::super::Foundation:: HANDLE , lpdwindex : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoWaitForMultipleHandles ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : *const super::super::Foundation:: HANDLE , lpdwindex : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoWaitForMultipleHandles(dwflags, dwtimeout, phandles.len() as _, ::core::mem::transmute(phandles.as_ptr()), &mut result__).from_abi(result__) } @@ -674,35 +674,35 @@ pub unsafe fn CoWaitForMultipleHandles(dwflags: u32, dwtimeout: u32, phandles: & #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CoWaitForMultipleObjects(dwflags: u32, dwtimeout: u32, phandles: &[super::super::Foundation::HANDLE]) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CoWaitForMultipleObjects ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : *const super::super::Foundation:: HANDLE , lpdwindex : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoWaitForMultipleObjects ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : *const super::super::Foundation:: HANDLE , lpdwindex : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoWaitForMultipleObjects(dwflags, dwtimeout, phandles.len() as _, ::core::mem::transmute(phandles.as_ptr()), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CreateAntiMoniker() -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CreateAntiMoniker ( ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateAntiMoniker ( ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateAntiMoniker(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CreateBindCtx(reserved: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CreateBindCtx ( reserved : u32 , ppbc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateBindCtx ( reserved : u32 , ppbc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateBindCtx(reserved, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CreateClassMoniker(rclsid: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CreateClassMoniker ( rclsid : *const :: windows::core::GUID , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateClassMoniker ( rclsid : *const :: windows::core::GUID , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateClassMoniker(rclsid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn CreateDataAdviseHolder() -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CreateDataAdviseHolder ( ppdaholder : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateDataAdviseHolder ( ppdaholder : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateDataAdviseHolder(&mut result__).from_abi(result__) } @@ -713,7 +713,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), rclsid, &::IID, &mut result__).from_abi(result__) } @@ -723,7 +723,7 @@ pub unsafe fn CreateFileMoniker(lpszpathname: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CreateFileMoniker ( lpszpathname : :: windows::core::PCWSTR , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateFileMoniker ( lpszpathname : :: windows::core::PCWSTR , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateFileMoniker(lpszpathname.into().abi(), &mut result__).from_abi(result__) } @@ -734,7 +734,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CreateGenericComposite ( pmkfirst : * mut::core::ffi::c_void , pmkrest : * mut::core::ffi::c_void , ppmkcomposite : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateGenericComposite ( pmkfirst : * mut::core::ffi::c_void , pmkrest : * mut::core::ffi::c_void , ppmkcomposite : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateGenericComposite(pmkfirst.into().abi(), pmkrest.into().abi(), &mut result__).from_abi(result__) } @@ -744,7 +744,7 @@ pub unsafe fn CreateIUriBuilder(piuri: P0, dwflags: u32, dwreserved: usize) where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateIUriBuilder ( piuri : * mut::core::ffi::c_void , dwflags : u32 , dwreserved : usize , ppiuribuilder : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateIUriBuilder ( piuri : * mut::core::ffi::c_void , dwflags : u32 , dwreserved : usize , ppiuribuilder : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateIUriBuilder(piuri.into().abi(), dwflags, dwreserved, &mut result__).from_abi(result__) } @@ -755,7 +755,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn CreateItemMoniker ( lpszdelim : :: windows::core::PCWSTR , lpszitem : :: windows::core::PCWSTR , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateItemMoniker ( lpszdelim : :: windows::core::PCWSTR , lpszitem : :: windows::core::PCWSTR , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateItemMoniker(lpszdelim.into().abi(), lpszitem.into().abi(), &mut result__).from_abi(result__) } @@ -765,7 +765,7 @@ pub unsafe fn CreateObjrefMoniker(punk: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "ole32.dll""system" fn CreateObjrefMoniker ( punk : * mut::core::ffi::c_void , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateObjrefMoniker ( punk : * mut::core::ffi::c_void , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateObjrefMoniker(punk.into().abi(), &mut result__).from_abi(result__) } @@ -775,7 +775,7 @@ pub unsafe fn CreatePointerMoniker(punk: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "ole32.dll""system" fn CreatePointerMoniker ( punk : * mut::core::ffi::c_void , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreatePointerMoniker ( punk : * mut::core::ffi::c_void , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreatePointerMoniker(punk.into().abi(), &mut result__).from_abi(result__) } @@ -788,7 +788,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn CreateStdProgressIndicator ( hwndparent : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pibsccaller : * mut::core::ffi::c_void , ppibsc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateStdProgressIndicator ( hwndparent : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pibsccaller : * mut::core::ffi::c_void , ppibsc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateStdProgressIndicator(hwndparent.into(), psztitle.into().abi(), pibsccaller.into().abi(), &mut result__).from_abi(result__) } @@ -798,7 +798,7 @@ pub unsafe fn CreateUri(pwzuri: P0, dwflags: URI_CREATE_FLAGS, dwreserved: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateUri ( pwzuri : :: windows::core::PCWSTR , dwflags : URI_CREATE_FLAGS , dwreserved : usize , ppuri : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateUri ( pwzuri : :: windows::core::PCWSTR , dwflags : URI_CREATE_FLAGS , dwreserved : usize , ppuri : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateUri(pwzuri.into().abi(), dwflags, dwreserved, &mut result__).from_abi(result__) } @@ -808,7 +808,7 @@ pub unsafe fn CreateUriFromMultiByteString(pszansiinputuri: P0, dwencodingfl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateUriFromMultiByteString ( pszansiinputuri : :: windows::core::PCSTR , dwencodingflags : u32 , dwcodepage : u32 , dwcreateflags : u32 , dwreserved : usize , ppuri : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateUriFromMultiByteString ( pszansiinputuri : :: windows::core::PCSTR , dwencodingflags : u32 , dwcodepage : u32 , dwcreateflags : u32 , dwreserved : usize , ppuri : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateUriFromMultiByteString(pszansiinputuri.into().abi(), dwencodingflags, dwcodepage, dwcreateflags, dwreserved, &mut result__).from_abi(result__) } @@ -819,14 +819,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "urlmon.dll""system" fn CreateUriWithFragment ( pwzuri : :: windows::core::PCWSTR , pwzfragment : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : usize , ppuri : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "urlmon.dll""system" fn CreateUriWithFragment ( pwzuri : :: windows::core::PCWSTR , pwzfragment : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : usize , ppuri : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateUriWithFragment(pwzuri.into().abi(), pwzfragment.into().abi(), dwflags, dwreserved, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn DcomChannelSetHResult(pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, pulreserved: ::core::option::Option<*const u32>, appshr: ::windows::core::HRESULT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn DcomChannelSetHResult ( pvreserved : *const ::core::ffi::c_void , pulreserved : *const u32 , appshr : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn DcomChannelSetHResult ( pvreserved : *const ::core::ffi::c_void , pulreserved : *const u32 , appshr : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); DcomChannelSetHResult(::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pulreserved.unwrap_or(::std::ptr::null())), appshr).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -835,21 +835,21 @@ pub unsafe fn GetClassFile(szfilename: P0) -> ::windows::core::Result<::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn GetClassFile ( szfilename : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn GetClassFile ( szfilename : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); GetClassFile(szfilename.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn GetErrorInfo(dwreserved: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn GetErrorInfo ( dwreserved : u32 , pperrinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn GetErrorInfo ( dwreserved : u32 , pperrinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetErrorInfo(dwreserved, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn GetRunningObjectTable(reserved: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn GetRunningObjectTable ( reserved : u32 , pprot : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn GetRunningObjectTable ( reserved : u32 , pprot : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetRunningObjectTable(reserved, &mut result__).from_abi(result__) } @@ -859,7 +859,7 @@ pub unsafe fn IIDFromString(lpsz: P0) -> ::windows::core::Result<::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn IIDFromString ( lpsz : :: windows::core::PCWSTR , lpiid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn IIDFromString ( lpsz : :: windows::core::PCWSTR , lpiid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); IIDFromString(lpsz.into().abi(), &mut result__).from_abi(result__) } @@ -870,7 +870,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn MkParseDisplayName ( pbc : * mut::core::ffi::c_void , szusername : :: windows::core::PCWSTR , pcheaten : *mut u32 , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn MkParseDisplayName ( pbc : * mut::core::ffi::c_void , szusername : :: windows::core::PCWSTR , pcheaten : *mut u32 , ppmk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); MkParseDisplayName(pbc.into().abi(), szusername.into().abi(), pcheaten, ::core::mem::transmute(ppmk)).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -880,7 +880,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn MonikerCommonPrefixWith ( pmkthis : * mut::core::ffi::c_void , pmkother : * mut::core::ffi::c_void , ppmkcommon : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn MonikerCommonPrefixWith ( pmkthis : * mut::core::ffi::c_void , pmkother : * mut::core::ffi::c_void , ppmkcommon : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MonikerCommonPrefixWith(pmkthis.into().abi(), pmkother.into().abi(), &mut result__).from_abi(result__) } @@ -893,13 +893,13 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn MonikerRelativePathTo ( pmksrc : * mut::core::ffi::c_void , pmkdest : * mut::core::ffi::c_void , ppmkrelpath : *mut * mut::core::ffi::c_void , dwreserved : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn MonikerRelativePathTo ( pmksrc : * mut::core::ffi::c_void , pmkdest : * mut::core::ffi::c_void , ppmkrelpath : *mut * mut::core::ffi::c_void , dwreserved : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); MonikerRelativePathTo(pmksrc.into().abi(), pmkdest.into().abi(), ::core::mem::transmute(ppmkrelpath), dwreserved.into()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn ProgIDFromCLSID(clsid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "ole32.dll""system" fn ProgIDFromCLSID ( clsid : *const :: windows::core::GUID , lplpszprogid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn ProgIDFromCLSID ( clsid : *const :: windows::core::GUID , lplpszprogid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); ProgIDFromCLSID(clsid, &mut result__).from_abi(result__) } @@ -909,26 +909,26 @@ pub unsafe fn SetErrorInfo(dwreserved: u32, perrinfo: P0) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn SetErrorInfo ( dwreserved : u32 , perrinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SetErrorInfo ( dwreserved : u32 , perrinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SetErrorInfo(dwreserved, perrinfo.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn StringFromCLSID(rclsid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "ole32.dll""system" fn StringFromCLSID ( rclsid : *const :: windows::core::GUID , lplpsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StringFromCLSID ( rclsid : *const :: windows::core::GUID , lplpsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); StringFromCLSID(rclsid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn StringFromGUID2(rguid: *const ::windows::core::GUID, lpsz: &mut [u16]) -> i32 { - ::windows::core::link ! ( "ole32.dll""system" fn StringFromGUID2 ( rguid : *const :: windows::core::GUID , lpsz : :: windows::core::PWSTR , cchmax : i32 ) -> i32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn StringFromGUID2 ( rguid : *const :: windows::core::GUID , lpsz : :: windows::core::PWSTR , cchmax : i32 ) -> i32 ); StringFromGUID2(rguid, ::core::mem::transmute(lpsz.as_ptr()), lpsz.len() as _) } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[inline] pub unsafe fn StringFromIID(rclsid: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "ole32.dll""system" fn StringFromIID ( rclsid : *const :: windows::core::GUID , lplpsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn StringFromIID ( rclsid : *const :: windows::core::GUID , lplpsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); StringFromIID(rclsid, &mut result__).from_abi(result__) } @@ -972,7 +972,7 @@ impl AsyncIAdviseSink { (::windows::core::Vtable::vtable(self).Finish_OnClose)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(AsyncIAdviseSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIAdviseSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIAdviseSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1062,7 +1062,7 @@ impl AsyncIAdviseSink2 { (::windows::core::Vtable::vtable(self).Finish_OnLinkSrcChange)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(AsyncIAdviseSink2, ::windows::core::IUnknown, AsyncIAdviseSink); +::windows::imp::interface_hierarchy!(AsyncIAdviseSink2, ::windows::core::IUnknown, AsyncIAdviseSink); impl ::core::cmp::PartialEq for AsyncIAdviseSink2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1103,7 +1103,7 @@ impl AsyncIMultiQI { (::windows::core::Vtable::vtable(self).Finish_QueryMultipleInterfaces)(::windows::core::Vtable::as_raw(self), pmqis).ok() } } -::windows::core::interface_hierarchy!(AsyncIMultiQI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIMultiQI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIMultiQI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1150,7 +1150,7 @@ impl AsyncIPipeByte { (::windows::core::Vtable::vtable(self).Finish_Push)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIPipeByte, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIPipeByte, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIPipeByte { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1199,7 +1199,7 @@ impl AsyncIPipeDouble { (::windows::core::Vtable::vtable(self).Finish_Push)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIPipeDouble, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIPipeDouble, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIPipeDouble { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1248,7 +1248,7 @@ impl AsyncIPipeLong { (::windows::core::Vtable::vtable(self).Finish_Push)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIPipeLong, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIPipeLong, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIPipeLong { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1303,7 +1303,7 @@ impl AsyncIUnknown { (::windows::core::Vtable::vtable(self).Finish_Release)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(AsyncIUnknown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIUnknown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIUnknown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1346,7 +1346,7 @@ impl IActivationFilter { (::windows::core::Vtable::vtable(self).HandleActivation)(::windows::core::Vtable::as_raw(self), dwactivationtype, rclsid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActivationFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActivationFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActivationFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1389,7 +1389,7 @@ impl IAddrExclusionControl { (::windows::core::Vtable::vtable(self).UpdateAddrExclusionList)(::windows::core::Vtable::as_raw(self), penumerator.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAddrExclusionControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAddrExclusionControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAddrExclusionControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1430,7 +1430,7 @@ impl IAddrTrackingControl { (::windows::core::Vtable::vtable(self).DisableCOMDynamicAddrTracking)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAddrTrackingControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAddrTrackingControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAddrTrackingControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1485,7 +1485,7 @@ impl IAdviseSink { (::windows::core::Vtable::vtable(self).OnClose)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IAdviseSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAdviseSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAdviseSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1552,7 +1552,7 @@ impl IAdviseSink2 { (::windows::core::Vtable::vtable(self).OnLinkSrcChange)(::windows::core::Vtable::as_raw(self), pmk.into().abi()) } } -::windows::core::interface_hierarchy!(IAdviseSink2, ::windows::core::IUnknown, IAdviseSink); +::windows::imp::interface_hierarchy!(IAdviseSink2, ::windows::core::IUnknown, IAdviseSink); impl ::core::cmp::PartialEq for IAdviseSink2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1585,7 +1585,7 @@ pub struct IAdviseSink2_Vtbl { #[repr(transparent)] pub struct IAgileObject(::windows::core::IUnknown); impl IAgileObject {} -::windows::core::interface_hierarchy!(IAgileObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAgileObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAgileObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1628,7 +1628,7 @@ impl IAsyncManager { (::windows::core::Vtable::vtable(self).GetState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAsyncManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAsyncManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAsyncManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1695,7 +1695,7 @@ impl IAsyncRpcChannelBuffer { (::windows::core::Vtable::vtable(self).GetDestCtxEx)(::windows::core::Vtable::as_raw(self), pmsg, pdwdestcontext, ::core::mem::transmute(ppvdestcontext.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IAsyncRpcChannelBuffer, ::windows::core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); +::windows::imp::interface_hierarchy!(IAsyncRpcChannelBuffer, ::windows::core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); impl ::core::cmp::PartialEq for IAsyncRpcChannelBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1736,7 +1736,7 @@ impl IAuthenticate { (::windows::core::Vtable::vtable(self).Authenticate)(::windows::core::Vtable::as_raw(self), phwnd, pszusername, pszpassword).ok() } } -::windows::core::interface_hierarchy!(IAuthenticate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAuthenticate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAuthenticate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1783,7 +1783,7 @@ impl IAuthenticateEx { (::windows::core::Vtable::vtable(self).AuthenticateEx)(::windows::core::Vtable::as_raw(self), phwnd, pszusername, pszpassword, pauthinfo).ok() } } -::windows::core::interface_hierarchy!(IAuthenticateEx, ::windows::core::IUnknown, IAuthenticate); +::windows::imp::interface_hierarchy!(IAuthenticateEx, ::windows::core::IUnknown, IAuthenticate); impl ::core::cmp::PartialEq for IAuthenticateEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1869,7 +1869,7 @@ impl IBindCtx { (::windows::core::Vtable::vtable(self).RevokeObjectParam)(::windows::core::Vtable::as_raw(self), pszkey.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBindCtx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBindCtx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBindCtx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1935,7 +1935,7 @@ impl IBindHost { (::windows::core::Vtable::vtable(self).MonikerBindToObject)(::windows::core::Vtable::as_raw(self), pmk.into().abi(), pbc.into().abi(), pbsc.into().abi(), riid, ppvobj).ok() } } -::windows::core::interface_hierarchy!(IBindHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBindHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBindHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2012,7 +2012,7 @@ impl IBindStatusCallback { (::windows::core::Vtable::vtable(self).OnObjectAvailable)(::windows::core::Vtable::as_raw(self), riid, punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBindStatusCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBindStatusCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBindStatusCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2105,7 +2105,7 @@ impl IBindStatusCallbackEx { (::windows::core::Vtable::vtable(self).GetBindInfoEx)(::windows::core::Vtable::as_raw(self), grfbindf, pbindinfo, grfbindf2, pdwreserved).ok() } } -::windows::core::interface_hierarchy!(IBindStatusCallbackEx, ::windows::core::IUnknown, IBindStatusCallback); +::windows::imp::interface_hierarchy!(IBindStatusCallbackEx, ::windows::core::IUnknown, IBindStatusCallback); impl ::core::cmp::PartialEq for IBindStatusCallbackEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2161,7 +2161,7 @@ impl IBinding { (::windows::core::Vtable::vtable(self).GetBindResult)(::windows::core::Vtable::as_raw(self), pclsidprotocol, pdwresult, pszresult, pdwreserved).ok() } } -::windows::core::interface_hierarchy!(IBinding, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBinding, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBinding { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2206,7 +2206,7 @@ impl IBlockingLock { (::windows::core::Vtable::vtable(self).Unlock)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBlockingLock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBlockingLock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBlockingLock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2248,7 +2248,7 @@ impl ICallFactory { (::windows::core::Vtable::vtable(self).CreateCall)(::windows::core::Vtable::as_raw(self), riid, pctrlunk.into().abi(), riid2, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICallFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICallFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICallFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2288,7 +2288,7 @@ impl ICancelMethodCalls { (::windows::core::Vtable::vtable(self).TestCancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICancelMethodCalls, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICancelMethodCalls, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICancelMethodCalls { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2346,7 +2346,7 @@ impl ICatInformation { (::windows::core::Vtable::vtable(self).EnumReqCategoriesOfClass)(::windows::core::Vtable::as_raw(self), rclsid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICatInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICatInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICatInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2403,7 +2403,7 @@ impl ICatRegister { (::windows::core::Vtable::vtable(self).UnRegisterClassReqCategories)(::windows::core::Vtable::as_raw(self), rclsid, rgcatid.len() as _, ::core::mem::transmute(rgcatid.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ICatRegister, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICatRegister, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICatRegister { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2464,7 +2464,7 @@ impl IChannelHook { (::windows::core::Vtable::vtable(self).ServerFillBuffer)(::windows::core::Vtable::as_raw(self), uextent, riid, pdatasize, pdatabuffer, hrfault) } } -::windows::core::interface_hierarchy!(IChannelHook, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IChannelHook, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IChannelHook { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2510,7 +2510,7 @@ impl IClassActivator { (::windows::core::Vtable::vtable(self).GetClassObject)(::windows::core::Vtable::as_raw(self), rclsid, dwclasscontext, locale, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IClassActivator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IClassActivator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IClassActivator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2560,7 +2560,7 @@ impl IClassFactory { (::windows::core::Vtable::vtable(self).LockServer)(::windows::core::Vtable::as_raw(self), flock.into()).ok() } } -::windows::core::interface_hierarchy!(IClassFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IClassFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IClassFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2618,7 +2618,7 @@ impl IClientSecurity { (::windows::core::Vtable::vtable(self).CopyProxy)(::windows::core::Vtable::as_raw(self), pproxy.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IClientSecurity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IClientSecurity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IClientSecurity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2669,7 +2669,7 @@ impl IComThreadingInfo { (::windows::core::Vtable::vtable(self).SetCurrentLogicalThreadId)(::windows::core::Vtable::as_raw(self), rguid).ok() } } -::windows::core::interface_hierarchy!(IComThreadingInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComThreadingInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComThreadingInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2728,7 +2728,7 @@ impl IConnectionPoint { (::windows::core::Vtable::vtable(self).EnumConnections)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConnectionPoint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConnectionPoint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConnectionPoint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2774,7 +2774,7 @@ impl IConnectionPointContainer { (::windows::core::Vtable::vtable(self).FindConnectionPoint)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConnectionPointContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConnectionPointContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConnectionPointContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2815,7 +2815,7 @@ impl IContextCallback { (::windows::core::Vtable::vtable(self).ContextCallback)(::windows::core::Vtable::as_raw(self), pfncallback, pparam, riid, imethod, punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IContextCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2870,7 +2870,7 @@ impl IDataAdviseHolder { (::windows::core::Vtable::vtable(self).SendOnDataChange)(::windows::core::Vtable::as_raw(self), pdataobject.into().abi(), dwreserved, advf).ok() } } -::windows::core::interface_hierarchy!(IDataAdviseHolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataAdviseHolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataAdviseHolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2950,7 +2950,7 @@ impl IDataObject { (::windows::core::Vtable::vtable(self).EnumDAdvise)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3017,7 +3017,7 @@ impl IDispatch { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), dispidmember, riid, lcid, wflags, pdispparams, ::core::mem::transmute(pvarresult.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pexcepinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(puargerr.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDispatch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDispatch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDispatch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3070,7 +3070,7 @@ impl IEnumCATEGORYINFO { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumCATEGORYINFO, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumCATEGORYINFO, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumCATEGORYINFO { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3120,7 +3120,7 @@ impl IEnumConnectionPoints { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumConnectionPoints, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumConnectionPoints, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumConnectionPoints { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3170,7 +3170,7 @@ impl IEnumConnections { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumConnections, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumConnections, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumConnections { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3220,7 +3220,7 @@ impl IEnumFORMATETC { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumFORMATETC, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumFORMATETC, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumFORMATETC { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3270,7 +3270,7 @@ impl IEnumGUID { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumGUID, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumGUID, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumGUID { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3320,7 +3320,7 @@ impl IEnumMoniker { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumMoniker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumMoniker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumMoniker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3370,7 +3370,7 @@ impl IEnumSTATDATA { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSTATDATA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSTATDATA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSTATDATA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3420,7 +3420,7 @@ impl IEnumString { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumString, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumString, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumString { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3470,7 +3470,7 @@ impl IEnumUnknown { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumUnknown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumUnknown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumUnknown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3527,7 +3527,7 @@ impl IErrorInfo { (::windows::core::Vtable::vtable(self).GetHelpContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3571,7 +3571,7 @@ impl IErrorLog { (::windows::core::Vtable::vtable(self).AddError)(::windows::core::Vtable::as_raw(self), pszpropname.into().abi(), pexcepinfo).ok() } } -::windows::core::interface_hierarchy!(IErrorLog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IErrorLog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IErrorLog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3616,7 +3616,7 @@ impl IExternalConnection { (::windows::core::Vtable::vtable(self).ReleaseConnection)(::windows::core::Vtable::as_raw(self), extconn, reserved, flastreleasecloses.into()) } } -::windows::core::interface_hierarchy!(IExternalConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExternalConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExternalConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3653,7 +3653,7 @@ pub struct IExternalConnection_Vtbl { #[repr(transparent)] pub struct IFastRundown(::windows::core::IUnknown); impl IFastRundown {} -::windows::core::interface_hierarchy!(IFastRundown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFastRundown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFastRundown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3689,7 +3689,7 @@ impl IForegroundTransfer { (::windows::core::Vtable::vtable(self).AllowForegroundTransfer)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(lpvreserved.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IForegroundTransfer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IForegroundTransfer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IForegroundTransfer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3736,7 +3736,7 @@ impl IGlobalInterfaceTable { (::windows::core::Vtable::vtable(self).GetInterfaceFromGlobal)(::windows::core::Vtable::as_raw(self), dwcookie, riid, ppv).ok() } } -::windows::core::interface_hierarchy!(IGlobalInterfaceTable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGlobalInterfaceTable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGlobalInterfaceTable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3779,7 +3779,7 @@ impl IGlobalOptions { (::windows::core::Vtable::vtable(self).Query)(::windows::core::Vtable::as_raw(self), dwproperty, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGlobalOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGlobalOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGlobalOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3826,7 +3826,7 @@ impl IInitializeSpy { (::windows::core::Vtable::vtable(self).PostUninitialize)(::windows::core::Vtable::as_raw(self), dwnewthreadaptrefs).ok() } } -::windows::core::interface_hierarchy!(IInitializeSpy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeSpy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeSpy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3866,7 +3866,7 @@ impl IInternalUnknown { (::windows::core::Vtable::vtable(self).QueryInternalInterface)(::windows::core::Vtable::as_raw(self), riid, ppv).ok() } } -::windows::core::interface_hierarchy!(IInternalUnknown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternalUnknown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternalUnknown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3919,7 +3919,7 @@ impl IMachineGlobalObjectTable { (::windows::core::Vtable::vtable(self).RevokeObject)(::windows::core::Vtable::as_raw(self), token).ok() } } -::windows::core::interface_hierarchy!(IMachineGlobalObjectTable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMachineGlobalObjectTable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMachineGlobalObjectTable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3973,7 +3973,7 @@ impl IMalloc { (::windows::core::Vtable::vtable(self).HeapMinimize)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMalloc, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMalloc, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMalloc { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4088,7 +4088,7 @@ impl IMallocSpy { (::windows::core::Vtable::vtable(self).PostHeapMinimize)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IMallocSpy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMallocSpy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMallocSpy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4288,7 +4288,7 @@ impl IMoniker { (::windows::core::Vtable::vtable(self).IsSystemMoniker)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMoniker, ::windows::core::IUnknown, IPersist, IPersistStream); +::windows::imp::interface_hierarchy!(IMoniker, ::windows::core::IUnknown, IPersist, IPersistStream); impl ::core::cmp::PartialEq for IMoniker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4348,7 +4348,7 @@ impl IMultiQI { (::windows::core::Vtable::vtable(self).QueryMultipleInterfaces)(::windows::core::Vtable::as_raw(self), pmqis.len() as _, ::core::mem::transmute(pmqis.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IMultiQI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMultiQI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMultiQI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4381,7 +4381,7 @@ pub struct IMultiQI_Vtbl { #[repr(transparent)] pub struct INoMarshal(::windows::core::IUnknown); impl INoMarshal {} -::windows::core::interface_hierarchy!(INoMarshal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INoMarshal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INoMarshal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4430,7 +4430,7 @@ impl IOplockStorage { (::windows::core::Vtable::vtable(self).OpenStorageEx)(::windows::core::Vtable::as_raw(self), pwcsname.into().abi(), grfmode, stgfmt, grfattrs, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOplockStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOplockStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOplockStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4478,7 +4478,7 @@ impl IPSFactoryBuffer { (::windows::core::Vtable::vtable(self).CreateStub)(::windows::core::Vtable::as_raw(self), riid, punkserver.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPSFactoryBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPSFactoryBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPSFactoryBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4517,7 +4517,7 @@ impl IPersist { (::windows::core::Vtable::vtable(self).GetClassID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPersist, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPersist, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPersist { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4583,7 +4583,7 @@ impl IPersistFile { (::windows::core::Vtable::vtable(self).GetCurFile)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPersistFile, ::windows::core::IUnknown, IPersist); +::windows::imp::interface_hierarchy!(IPersistFile, ::windows::core::IUnknown, IPersist); impl ::core::cmp::PartialEq for IPersistFile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4649,7 +4649,7 @@ impl IPersistMemory { (::windows::core::Vtable::vtable(self).InitNew)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPersistMemory, ::windows::core::IUnknown, IPersist); +::windows::imp::interface_hierarchy!(IPersistMemory, ::windows::core::IUnknown, IPersist); impl ::core::cmp::PartialEq for IPersistMemory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4716,7 +4716,7 @@ impl IPersistStream { (::windows::core::Vtable::vtable(self).GetSizeMax)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPersistStream, ::windows::core::IUnknown, IPersist); +::windows::imp::interface_hierarchy!(IPersistStream, ::windows::core::IUnknown, IPersist); impl ::core::cmp::PartialEq for IPersistStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4785,7 +4785,7 @@ impl IPersistStreamInit { (::windows::core::Vtable::vtable(self).InitNew)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPersistStreamInit, ::windows::core::IUnknown, IPersist); +::windows::imp::interface_hierarchy!(IPersistStreamInit, ::windows::core::IUnknown, IPersist); impl ::core::cmp::PartialEq for IPersistStreamInit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4832,7 +4832,7 @@ impl IPipeByte { (::windows::core::Vtable::vtable(self).Push)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(buf.as_ptr()), buf.len() as _).ok() } } -::windows::core::interface_hierarchy!(IPipeByte, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPipeByte, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPipeByte { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4873,7 +4873,7 @@ impl IPipeDouble { (::windows::core::Vtable::vtable(self).Push)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(buf.as_ptr()), buf.len() as _).ok() } } -::windows::core::interface_hierarchy!(IPipeDouble, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPipeDouble, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPipeDouble { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4914,7 +4914,7 @@ impl IPipeLong { (::windows::core::Vtable::vtable(self).Push)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(buf.as_ptr()), buf.len() as _).ok() } } -::windows::core::interface_hierarchy!(IPipeLong, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPipeLong, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPipeLong { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4952,7 +4952,7 @@ impl IProcessInitControl { (::windows::core::Vtable::vtable(self).ResetInitializerTimeout)(::windows::core::Vtable::as_raw(self), dwsecondsremaining).ok() } } -::windows::core::interface_hierarchy!(IProcessInitControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProcessInitControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProcessInitControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4992,7 +4992,7 @@ impl IProcessLock { (::windows::core::Vtable::vtable(self).ReleaseRefOnProcess)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IProcessLock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProcessLock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProcessLock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5036,7 +5036,7 @@ impl IProgressNotify { (::windows::core::Vtable::vtable(self).OnProgress)(::windows::core::Vtable::as_raw(self), dwprogresscurrent, dwprogressmaximum, faccurate.into(), fowner.into()).ok() } } -::windows::core::interface_hierarchy!(IProgressNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProgressNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProgressNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5076,7 +5076,7 @@ impl IROTData { (::windows::core::Vtable::vtable(self).GetComparisonData)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, pcbdata).ok() } } -::windows::core::interface_hierarchy!(IROTData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IROTData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IROTData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5116,7 +5116,7 @@ impl IReleaseMarshalBuffers { (::windows::core::Vtable::vtable(self).ReleaseMarshalBuffer)(::windows::core::Vtable::as_raw(self), pmsg, dwflags, pchnl.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IReleaseMarshalBuffers, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IReleaseMarshalBuffers, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IReleaseMarshalBuffers { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5165,7 +5165,7 @@ impl IRpcChannelBuffer { (::windows::core::Vtable::vtable(self).IsConnected)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRpcChannelBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRpcChannelBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRpcChannelBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5222,7 +5222,7 @@ impl IRpcChannelBuffer2 { (::windows::core::Vtable::vtable(self).GetProtocolVersion)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRpcChannelBuffer2, ::windows::core::IUnknown, IRpcChannelBuffer); +::windows::imp::interface_hierarchy!(IRpcChannelBuffer2, ::windows::core::IUnknown, IRpcChannelBuffer); impl ::core::cmp::PartialEq for IRpcChannelBuffer2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5300,7 +5300,7 @@ impl IRpcChannelBuffer3 { (::windows::core::Vtable::vtable(self).RegisterAsync)(::windows::core::Vtable::as_raw(self), pmsg, pasyncmgr.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRpcChannelBuffer3, ::windows::core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); +::windows::imp::interface_hierarchy!(IRpcChannelBuffer3, ::windows::core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); impl ::core::cmp::PartialEq for IRpcChannelBuffer3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5348,7 +5348,7 @@ impl IRpcHelper { (::windows::core::Vtable::vtable(self).GetIIDFromOBJREF)(::windows::core::Vtable::as_raw(self), pobjref, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRpcHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRpcHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRpcHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5396,7 +5396,7 @@ impl IRpcOptions { (::windows::core::Vtable::vtable(self).Query)(::windows::core::Vtable::as_raw(self), pprx.into().abi(), dwproperty, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRpcOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRpcOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRpcOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5440,7 +5440,7 @@ impl IRpcProxyBuffer { (::windows::core::Vtable::vtable(self).Disconnect)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IRpcProxyBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRpcProxyBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRpcProxyBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5502,7 +5502,7 @@ impl IRpcStubBuffer { (::windows::core::Vtable::vtable(self).DebugServerRelease)(::windows::core::Vtable::as_raw(self), pv) } } -::windows::core::interface_hierarchy!(IRpcStubBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRpcStubBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRpcStubBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5545,7 +5545,7 @@ impl IRpcSyntaxNegotiate { (::windows::core::Vtable::vtable(self).NegotiateSyntax)(::windows::core::Vtable::as_raw(self), pmsg).ok() } } -::windows::core::interface_hierarchy!(IRpcSyntaxNegotiate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRpcSyntaxNegotiate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRpcSyntaxNegotiate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5611,7 +5611,7 @@ impl IRunnableObject { (::windows::core::Vtable::vtable(self).SetContainedObject)(::windows::core::Vtable::as_raw(self), fcontained.into()).ok() } } -::windows::core::interface_hierarchy!(IRunnableObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRunnableObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRunnableObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5700,7 +5700,7 @@ impl IRunningObjectTable { (::windows::core::Vtable::vtable(self).EnumRunning)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRunningObjectTable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRunningObjectTable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRunningObjectTable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5752,7 +5752,7 @@ impl ISequentialStream { (::windows::core::Vtable::vtable(self).Write)(::windows::core::Vtable::as_raw(self), pv, cb, ::core::mem::transmute(pcbwritten.unwrap_or(::std::ptr::null_mut()))) } } -::windows::core::interface_hierarchy!(ISequentialStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISequentialStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISequentialStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5801,7 +5801,7 @@ impl IServerSecurity { (::windows::core::Vtable::vtable(self).IsImpersonating)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IServerSecurity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServerSecurity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServerSecurity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5844,7 +5844,7 @@ impl IServiceProvider { (::windows::core::Vtable::vtable(self).QueryService)(::windows::core::Vtable::as_raw(self), guidservice, riid, ppvobject).ok() } } -::windows::core::interface_hierarchy!(IServiceProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5882,7 +5882,7 @@ impl IStdMarshalInfo { (::windows::core::Vtable::vtable(self).GetClassForHandler)(::windows::core::Vtable::as_raw(self), dwdestcontext, ::core::mem::transmute(pvdestcontext.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStdMarshalInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStdMarshalInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStdMarshalInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5955,7 +5955,7 @@ impl IStream { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStream, ::windows::core::IUnknown, ISequentialStream); +::windows::imp::interface_hierarchy!(IStream, ::windows::core::IUnknown, ISequentialStream); impl ::core::cmp::PartialEq for IStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6003,7 +6003,7 @@ impl ISupportErrorInfo { (::windows::core::Vtable::vtable(self).InterfaceSupportsErrorInfo)(::windows::core::Vtable::as_raw(self), riid).ok() } } -::windows::core::interface_hierarchy!(ISupportErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISupportErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISupportErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6043,7 +6043,7 @@ impl ISurrogate { (::windows::core::Vtable::vtable(self).FreeSurrogate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISurrogate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISurrogate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISurrogate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6099,7 +6099,7 @@ impl ISurrogateService { (::windows::core::Vtable::vtable(self).ProcessShutdown)(::windows::core::Vtable::as_raw(self), shutdowntype).ok() } } -::windows::core::interface_hierarchy!(ISurrogateService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISurrogateService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISurrogateService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6149,7 +6149,7 @@ impl ISynchronize { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISynchronize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISynchronize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISynchronize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6195,7 +6195,7 @@ impl ISynchronizeContainer { (::windows::core::Vtable::vtable(self).WaitMultiple)(::windows::core::Vtable::as_raw(self), dwflags, dwtimeout, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISynchronizeContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISynchronizeContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISynchronizeContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6241,7 +6241,7 @@ impl ISynchronizeEvent { (::windows::core::Vtable::vtable(self).SetEventHandle)(::windows::core::Vtable::as_raw(self), ph).ok() } } -::windows::core::interface_hierarchy!(ISynchronizeEvent, ::windows::core::IUnknown, ISynchronizeHandle); +::windows::imp::interface_hierarchy!(ISynchronizeEvent, ::windows::core::IUnknown, ISynchronizeHandle); impl ::core::cmp::PartialEq for ISynchronizeEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6284,7 +6284,7 @@ impl ISynchronizeHandle { (::windows::core::Vtable::vtable(self).GetHandle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISynchronizeHandle, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISynchronizeHandle, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISynchronizeHandle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6333,7 +6333,7 @@ impl ISynchronizeMutex { (::windows::core::Vtable::vtable(self).ReleaseMutex)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISynchronizeMutex, ::windows::core::IUnknown, ISynchronize); +::windows::imp::interface_hierarchy!(ISynchronizeMutex, ::windows::core::IUnknown, ISynchronize); impl ::core::cmp::PartialEq for ISynchronizeMutex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6370,7 +6370,7 @@ impl ITimeAndNoticeControl { (::windows::core::Vtable::vtable(self).SuppressChanges)(::windows::core::Vtable::as_raw(self), res1, res2).ok() } } -::windows::core::interface_hierarchy!(ITimeAndNoticeControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITimeAndNoticeControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITimeAndNoticeControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6418,7 +6418,7 @@ impl ITypeComp { (::windows::core::Vtable::vtable(self).BindType)(::windows::core::Vtable::as_raw(self), szname.into().abi(), lhashval, ::core::mem::transmute(pptinfo), ::core::mem::transmute(pptcomp)).ok() } } -::windows::core::interface_hierarchy!(ITypeComp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITypeComp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITypeComp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6540,7 +6540,7 @@ impl ITypeInfo { (::windows::core::Vtable::vtable(self).ReleaseVarDesc)(::windows::core::Vtable::as_raw(self), pvardesc) } } -::windows::core::interface_hierarchy!(ITypeInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITypeInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITypeInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6776,7 +6776,7 @@ impl ITypeInfo2 { (::windows::core::Vtable::vtable(self).GetAllImplTypeCustData)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITypeInfo2, ::windows::core::IUnknown, ITypeInfo); +::windows::imp::interface_hierarchy!(ITypeInfo2, ::windows::core::IUnknown, ITypeInfo); impl ::core::cmp::PartialEq for ITypeInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6891,7 +6891,7 @@ impl ITypeLib { (::windows::core::Vtable::vtable(self).ReleaseTLibAttr)(::windows::core::Vtable::as_raw(self), ptlibattr) } } -::windows::core::interface_hierarchy!(ITypeLib, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITypeLib, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITypeLib { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6992,7 +6992,7 @@ impl ITypeLib2 { (::windows::core::Vtable::vtable(self).GetAllCustData)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITypeLib2, ::windows::core::IUnknown, ITypeLib); +::windows::imp::interface_hierarchy!(ITypeLib2, ::windows::core::IUnknown, ITypeLib); impl ::core::cmp::PartialEq for ITypeLib2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7067,7 +7067,7 @@ impl ITypeLibRegistration { (::windows::core::Vtable::vtable(self).GetHelpDir)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITypeLibRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITypeLibRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITypeLibRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7112,7 +7112,7 @@ impl ITypeLibRegistrationReader { (::windows::core::Vtable::vtable(self).EnumTypeLibRegistrations)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITypeLibRegistrationReader, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITypeLibRegistrationReader, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITypeLibRegistrationReader { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7250,7 +7250,7 @@ impl IUri { (::windows::core::Vtable::vtable(self).IsEqual)(::windows::core::Vtable::as_raw(self), puri.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUri, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUri, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUri { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7421,7 +7421,7 @@ impl IUriBuilder { (::windows::core::Vtable::vtable(self).HasBeenModified)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUriBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUriBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUriBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7495,7 +7495,7 @@ impl IUrlMon { (::windows::core::Vtable::vtable(self).AsyncGetClassBits)(::windows::core::Vtable::as_raw(self), rclsid, psztype.into().abi(), pszext.into().abi(), dwfileversionms, dwfileversionls, pszcodebase.into().abi(), pbc.into().abi(), dwclasscontext, riid, flags).ok() } } -::windows::core::interface_hierarchy!(IUrlMon, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUrlMon, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUrlMon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7539,7 +7539,7 @@ impl IWaitMultiple { (::windows::core::Vtable::vtable(self).AddSynchronize)(::windows::core::Vtable::as_raw(self), psync.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWaitMultiple, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWaitMultiple, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWaitMultiple { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 52344acf74..9042d95f7c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn CoCreateActivity(piunknown: P0, riid: *const ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "comsvcs.dll""system" fn CoCreateActivity ( piunknown : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comsvcs.dll""system" fn CoCreateActivity ( piunknown : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoCreateActivity(piunknown.into().abi(), riid, ppobj).ok() } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] @@ -13,14 +13,14 @@ pub unsafe fn CoEnterServiceDomain(pconfigobject: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "comsvcs.dll""system" fn CoEnterServiceDomain ( pconfigobject : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comsvcs.dll""system" fn CoEnterServiceDomain ( pconfigobject : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoEnterServiceDomain(pconfigobject.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn CoGetDefaultContext(apttype: super::Com::APTTYPE, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn CoGetDefaultContext ( apttype : super::Com:: APTTYPE , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoGetDefaultContext ( apttype : super::Com:: APTTYPE , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CoGetDefaultContext(apttype, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] @@ -29,32 +29,32 @@ pub unsafe fn CoLeaveServiceDomain(punkstatus: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "comsvcs.dll""system" fn CoLeaveServiceDomain ( punkstatus : * mut::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "comsvcs.dll""system" fn CoLeaveServiceDomain ( punkstatus : * mut::core::ffi::c_void ) -> ( ) ); CoLeaveServiceDomain(punkstatus.into().abi()) } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[inline] pub unsafe fn GetDispenserManager() -> ::windows::core::Result { - ::windows::core::link ! ( "mtxdm.dll""cdecl" fn GetDispenserManager ( param0 : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mtxdm.dll""cdecl" fn GetDispenserManager ( param0 : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetDispenserManager(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[inline] pub unsafe fn GetManagedExtensions(dwexts: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "comsvcs.dll""system" fn GetManagedExtensions ( dwexts : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comsvcs.dll""system" fn GetManagedExtensions ( dwexts : *mut u32 ) -> :: windows::core::HRESULT ); GetManagedExtensions(dwexts).ok() } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[inline] pub unsafe fn MTSCreateActivity(riid: *const ::windows::core::GUID, ppobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "comsvcs.dll""system" fn MTSCreateActivity ( riid : *const :: windows::core::GUID , ppobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comsvcs.dll""system" fn MTSCreateActivity ( riid : *const :: windows::core::GUID , ppobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MTSCreateActivity(riid, ppobj).ok() } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[inline] pub unsafe fn RecycleSurrogate(lreasoncode: i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "comsvcs.dll""cdecl" fn RecycleSurrogate ( lreasoncode : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comsvcs.dll""cdecl" fn RecycleSurrogate ( lreasoncode : i32 ) -> :: windows::core::HRESULT ); RecycleSurrogate(lreasoncode).ok() } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn SafeRef(rid: *const ::windows::core::GUID, punk: P0) -> *mut : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "comsvcs.dll""cdecl" fn SafeRef ( rid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "comsvcs.dll""cdecl" fn SafeRef ( rid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); SafeRef(rid, punk.into().abi()) } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] @@ -96,7 +96,7 @@ impl ContextInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ContextInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ContextInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ContextInfo { fn eq(&self, other: &Self) -> bool { @@ -181,7 +181,7 @@ impl ContextInfo2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ContextInfo2, ::windows::core::IUnknown, super::Com::IDispatch, ContextInfo); +::windows::imp::interface_hierarchy!(ContextInfo2, ::windows::core::IUnknown, super::Com::IDispatch, ContextInfo); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ContextInfo2 { fn eq(&self, other: &Self) -> bool { @@ -239,7 +239,7 @@ impl IAppDomainHelper { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAppDomainHelper, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAppDomainHelper, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAppDomainHelper { fn eq(&self, other: &Self) -> bool { @@ -290,7 +290,7 @@ impl IAssemblyLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAssemblyLocator, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAssemblyLocator, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAssemblyLocator { fn eq(&self, other: &Self) -> bool { @@ -337,7 +337,7 @@ impl IAsyncErrorNotify { (::windows::core::Vtable::vtable(self).OnError)(::windows::core::Vtable::as_raw(self), hr).ok() } } -::windows::core::interface_hierarchy!(IAsyncErrorNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAsyncErrorNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAsyncErrorNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -474,7 +474,7 @@ impl ICOMAdminCatalog { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICOMAdminCatalog, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICOMAdminCatalog, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICOMAdminCatalog { fn eq(&self, other: &Self) -> bool { @@ -809,7 +809,7 @@ impl ICOMAdminCatalog2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICOMAdminCatalog2, ::windows::core::IUnknown, super::Com::IDispatch, ICOMAdminCatalog); +::windows::imp::interface_hierarchy!(ICOMAdminCatalog2, ::windows::core::IUnknown, super::Com::IDispatch, ICOMAdminCatalog); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICOMAdminCatalog2 { fn eq(&self, other: &Self) -> bool { @@ -940,7 +940,7 @@ impl ICOMLBArguments { (::windows::core::Vtable::vtable(self).SetMachineName)(::windows::core::Vtable::as_raw(self), szservername.len() as _, ::core::mem::transmute(szservername.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ICOMLBArguments, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICOMLBArguments, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICOMLBArguments { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1056,7 +1056,7 @@ impl ICatalogCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICatalogCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICatalogCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICatalogCollection { fn eq(&self, other: &Self) -> bool { @@ -1180,7 +1180,7 @@ impl ICatalogObject { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICatalogObject, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICatalogObject, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICatalogObject { fn eq(&self, other: &Self) -> bool { @@ -1256,7 +1256,7 @@ impl ICheckSxsConfig { (::windows::core::Vtable::vtable(self).IsSameSxsConfig)(::windows::core::Vtable::as_raw(self), wszsxsname.into().abi(), wszsxsdirectory.into().abi(), wszsxsappname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICheckSxsConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICheckSxsConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICheckSxsConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1311,7 +1311,7 @@ impl IComActivityEvents { (::windows::core::Vtable::vtable(self).OnActivityLeaveSame)(::windows::core::Vtable::as_raw(self), pinfo, guidcurrent, dwcalldepth).ok() } } -::windows::core::interface_hierarchy!(IComActivityEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComActivityEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComActivityEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1371,7 +1371,7 @@ impl IComApp2Events { (::windows::core::Vtable::vtable(self).OnAppRecycle2)(::windows::core::Vtable::as_raw(self), pinfo, ::core::mem::transmute(guidapp), ::core::mem::transmute(guidprocess), lreason).ok() } } -::windows::core::interface_hierarchy!(IComApp2Events, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComApp2Events, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComApp2Events { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1421,7 +1421,7 @@ impl IComAppEvents { (::windows::core::Vtable::vtable(self).OnAppForceShutdown)(::windows::core::Vtable::as_raw(self), pinfo, ::core::mem::transmute(guidapp)).ok() } } -::windows::core::interface_hierarchy!(IComAppEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComAppEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComAppEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1512,7 +1512,7 @@ impl IComCRMEvents { (::windows::core::Vtable::vtable(self).OnCRMDeliver)(::windows::core::Vtable::as_raw(self), pinfo, ::core::mem::transmute(guidclerkclsid), fvariants.into(), dwrecordsize).ok() } } -::windows::core::interface_hierarchy!(IComCRMEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComCRMEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComCRMEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1572,7 +1572,7 @@ impl IComExceptionEvents { (::windows::core::Vtable::vtable(self).OnExceptionUser)(::windows::core::Vtable::as_raw(self), pinfo, code, address, pszstacktrace.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IComExceptionEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComExceptionEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComExceptionEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1614,7 +1614,7 @@ impl IComIdentityEvents { (::windows::core::Vtable::vtable(self).OnIISRequestInfo)(::windows::core::Vtable::as_raw(self), pinfo, objid, pszclientip.into().abi(), pszserverip.into().abi(), pszurl.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IComIdentityEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComIdentityEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComIdentityEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1654,7 +1654,7 @@ impl IComInstance2Events { (::windows::core::Vtable::vtable(self).OnObjectDestroy2)(::windows::core::Vtable::as_raw(self), pinfo, ctxtid).ok() } } -::windows::core::interface_hierarchy!(IComInstance2Events, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComInstance2Events, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComInstance2Events { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1695,7 +1695,7 @@ impl IComInstanceEvents { (::windows::core::Vtable::vtable(self).OnObjectDestroy)(::windows::core::Vtable::as_raw(self), pinfo, ctxtid).ok() } } -::windows::core::interface_hierarchy!(IComInstanceEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComInstanceEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComInstanceEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1755,7 +1755,7 @@ impl IComLTxEvents { (::windows::core::Vtable::vtable(self).OnLtxTransactionPromote)(::windows::core::Vtable::as_raw(self), pinfo, ::core::mem::transmute(guidltx), ::core::mem::transmute(txnid)).ok() } } -::windows::core::interface_hierarchy!(IComLTxEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComLTxEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComLTxEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1808,7 +1808,7 @@ impl IComMethod2Events { (::windows::core::Vtable::vtable(self).OnMethodException2)(::windows::core::Vtable::as_raw(self), pinfo, oid, guidcid, guidrid, dwthread, imeth).ok() } } -::windows::core::interface_hierarchy!(IComMethod2Events, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComMethod2Events, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComMethod2Events { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1853,7 +1853,7 @@ impl IComMethodEvents { (::windows::core::Vtable::vtable(self).OnMethodException)(::windows::core::Vtable::as_raw(self), pinfo, oid, guidcid, guidrid, imeth).ok() } } -::windows::core::interface_hierarchy!(IComMethodEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComMethodEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComMethodEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1903,7 +1903,7 @@ impl IComMtaThreadPoolKnobs { (::windows::core::Vtable::vtable(self).MTAGetThrottleValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IComMtaThreadPoolKnobs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComMtaThreadPoolKnobs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComMtaThreadPoolKnobs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1946,7 +1946,7 @@ impl IComObjectConstruction2Events { (::windows::core::Vtable::vtable(self).OnObjectConstruct2)(::windows::core::Vtable::as_raw(self), pinfo, guidobject, sconstructstring.into().abi(), oid, guidpartition).ok() } } -::windows::core::interface_hierarchy!(IComObjectConstruction2Events, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComObjectConstruction2Events, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComObjectConstruction2Events { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1986,7 +1986,7 @@ impl IComObjectConstructionEvents { (::windows::core::Vtable::vtable(self).OnObjectConstruct)(::windows::core::Vtable::as_raw(self), pinfo, guidobject, sconstructstring.into().abi(), oid).ok() } } -::windows::core::interface_hierarchy!(IComObjectConstructionEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComObjectConstructionEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComObjectConstructionEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2038,7 +2038,7 @@ impl IComObjectEvents { (::windows::core::Vtable::vtable(self).OnSetAbort)(::windows::core::Vtable::as_raw(self), pinfo, ctxtid).ok() } } -::windows::core::interface_hierarchy!(IComObjectEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComObjectEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComObjectEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2089,7 +2089,7 @@ impl IComObjectPool2Events { (::windows::core::Vtable::vtable(self).OnObjPoolGetFromTx2)(::windows::core::Vtable::as_raw(self), pinfo, guidactivity, guidobject, guidtx, objid, guidpartition).ok() } } -::windows::core::interface_hierarchy!(IComObjectPool2Events, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComObjectPool2Events, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComObjectPool2Events { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2138,7 +2138,7 @@ impl IComObjectPoolEvents { (::windows::core::Vtable::vtable(self).OnObjPoolGetFromTx)(::windows::core::Vtable::as_raw(self), pinfo, guidactivity, guidobject, guidtx, objid).ok() } } -::windows::core::interface_hierarchy!(IComObjectPoolEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComObjectPoolEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComObjectPoolEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2190,7 +2190,7 @@ impl IComObjectPoolEvents2 { (::windows::core::Vtable::vtable(self).OnObjPoolCreatePool)(::windows::core::Vtable::as_raw(self), pinfo, guidobject, dwmin, dwmax, dwtimeout).ok() } } -::windows::core::interface_hierarchy!(IComObjectPoolEvents2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComObjectPoolEvents2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComObjectPoolEvents2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2249,7 +2249,7 @@ impl IComQCEvents { (::windows::core::Vtable::vtable(self).OnQCPlayback)(::windows::core::Vtable::as_raw(self), pinfo, objid, guidmsgid, guidworkflowid, hr).ok() } } -::windows::core::interface_hierarchy!(IComQCEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComQCEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComQCEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2328,7 +2328,7 @@ impl IComResourceEvents { (::windows::core::Vtable::vtable(self).OnResourceTrack)(::windows::core::Vtable::as_raw(self), pinfo, objectid, psztype.into().abi(), resid, enlisted.into()).ok() } } -::windows::core::interface_hierarchy!(IComResourceEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComResourceEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComResourceEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2391,7 +2391,7 @@ impl IComSecurityEvents { (::windows::core::Vtable::vtable(self).OnAuthenticateFail)(::windows::core::Vtable::as_raw(self), pinfo, guidactivity, objectid, guidiid, imeth, psidoriginaluser.len() as _, ::core::mem::transmute(psidoriginaluser.as_ptr()), psidcurrentuser.len() as _, ::core::mem::transmute(psidcurrentuser.as_ptr()), bcurrentuserinpersonatinginproc.into()).ok() } } -::windows::core::interface_hierarchy!(IComSecurityEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComSecurityEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComSecurityEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2471,7 +2471,7 @@ impl IComStaThreadPoolKnobs { (::windows::core::Vtable::vtable(self).SetQueueDepth)(::windows::core::Vtable::as_raw(self), dwqdepth).ok() } } -::windows::core::interface_hierarchy!(IComStaThreadPoolKnobs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComStaThreadPoolKnobs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComStaThreadPoolKnobs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2603,7 +2603,7 @@ impl IComStaThreadPoolKnobs2 { (::windows::core::Vtable::vtable(self).SetWaitTimeForThreadCleanup)(::windows::core::Vtable::as_raw(self), dwthreadcleanupwaittime).ok() } } -::windows::core::interface_hierarchy!(IComStaThreadPoolKnobs2, ::windows::core::IUnknown, IComStaThreadPoolKnobs); +::windows::imp::interface_hierarchy!(IComStaThreadPoolKnobs2, ::windows::core::IUnknown, IComStaThreadPoolKnobs); impl ::core::cmp::PartialEq for IComStaThreadPoolKnobs2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2691,7 +2691,7 @@ impl IComThreadEvents { (::windows::core::Vtable::vtable(self).OnThreadUnassignApartment)(::windows::core::Vtable::as_raw(self), pinfo, aptid).ok() } } -::windows::core::interface_hierarchy!(IComThreadEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComThreadEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComThreadEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2746,7 +2746,7 @@ impl IComTrackingInfoCollection { (::windows::core::Vtable::vtable(self).Item)(::windows::core::Vtable::as_raw(self), ulindex, riid, ppv).ok() } } -::windows::core::interface_hierarchy!(IComTrackingInfoCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComTrackingInfoCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComTrackingInfoCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2788,7 +2788,7 @@ impl IComTrackingInfoEvents { (::windows::core::Vtable::vtable(self).OnNewTrackingInfo)(::windows::core::Vtable::as_raw(self), ptoplevelcollection.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IComTrackingInfoEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComTrackingInfoEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComTrackingInfoEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2831,7 +2831,7 @@ impl IComTrackingInfoObject { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), szpropertyname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IComTrackingInfoObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComTrackingInfoObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComTrackingInfoObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2876,7 +2876,7 @@ impl IComTrackingInfoProperties { (::windows::core::Vtable::vtable(self).GetPropName)(::windows::core::Vtable::as_raw(self), ulindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IComTrackingInfoProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComTrackingInfoProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComTrackingInfoProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2933,7 +2933,7 @@ impl IComTransaction2Events { (::windows::core::Vtable::vtable(self).OnTransactionCommit2)(::windows::core::Vtable::as_raw(self), pinfo, guidtx).ok() } } -::windows::core::interface_hierarchy!(IComTransaction2Events, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComTransaction2Events, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComTransaction2Events { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2998,7 +2998,7 @@ impl IComTransactionEvents { (::windows::core::Vtable::vtable(self).OnTransactionCommit)(::windows::core::Vtable::as_raw(self), pinfo, guidtx).ok() } } -::windows::core::interface_hierarchy!(IComTransactionEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComTransactionEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComTransactionEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3046,7 +3046,7 @@ impl IComUserEvent { (::windows::core::Vtable::vtable(self).OnUserEvent)(::windows::core::Vtable::as_raw(self), pinfo, pvarevent).ok() } } -::windows::core::interface_hierarchy!(IComUserEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComUserEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComUserEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3103,7 +3103,7 @@ impl IContextProperties { (::windows::core::Vtable::vtable(self).RemoveProperty)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(name)).ok() } } -::windows::core::interface_hierarchy!(IContextProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3160,7 +3160,7 @@ impl IContextSecurityPerimeter { (::windows::core::Vtable::vtable(self).SetPerimeterFlag)(::windows::core::Vtable::as_raw(self), fflag.into()).ok() } } -::windows::core::interface_hierarchy!(IContextSecurityPerimeter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextSecurityPerimeter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextSecurityPerimeter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3220,7 +3220,7 @@ impl IContextState { (::windows::core::Vtable::vtable(self).GetMyTransactionVote)(::windows::core::Vtable::as_raw(self), ptxvote).ok() } } -::windows::core::interface_hierarchy!(IContextState, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextState, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3269,7 +3269,7 @@ impl ICreateWithLocalTransaction { (::windows::core::Vtable::vtable(self).CreateInstanceWithSysTx)(::windows::core::Vtable::as_raw(self), ptransaction.into().abi(), rclsid, riid, pobject).ok() } } -::windows::core::interface_hierarchy!(ICreateWithLocalTransaction, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateWithLocalTransaction, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateWithLocalTransaction { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3310,7 +3310,7 @@ impl ICreateWithTipTransactionEx { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrtipurl), rclsid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICreateWithTipTransactionEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateWithTipTransactionEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateWithTipTransactionEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3354,7 +3354,7 @@ impl ICreateWithTransactionEx { (::windows::core::Vtable::vtable(self).CreateInstance)(::windows::core::Vtable::as_raw(self), ptransaction.into().abi(), rclsid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICreateWithTransactionEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateWithTransactionEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateWithTransactionEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3446,7 +3446,7 @@ impl ICrmCompensator { (::windows::core::Vtable::vtable(self).EndAbort)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICrmCompensator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICrmCompensator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICrmCompensator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3562,7 +3562,7 @@ impl ICrmCompensatorVariants { (::windows::core::Vtable::vtable(self).EndAbortVariants)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICrmCompensatorVariants, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICrmCompensatorVariants, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICrmCompensatorVariants { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3645,7 +3645,7 @@ impl ICrmFormatLogRecords { (::windows::core::Vtable::vtable(self).GetColumnVariants)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(logrecord), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICrmFormatLogRecords, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICrmFormatLogRecords, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICrmFormatLogRecords { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3721,7 +3721,7 @@ impl ICrmLogControl { (::windows::core::Vtable::vtable(self).WriteLogRecord)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(rgblob.as_ptr()), rgblob.len() as _).ok() } } -::windows::core::interface_hierarchy!(ICrmLogControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICrmLogControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICrmLogControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3779,7 +3779,7 @@ impl ICrmMonitor { (::windows::core::Vtable::vtable(self).HoldClerk)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(index), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICrmMonitor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICrmMonitor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICrmMonitor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3861,7 +3861,7 @@ impl ICrmMonitorClerks { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICrmMonitorClerks, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICrmMonitorClerks, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICrmMonitorClerks { fn eq(&self, other: &Self) -> bool { @@ -3948,7 +3948,7 @@ impl ICrmMonitorLogRecords { (::windows::core::Vtable::vtable(self).GetLogRecordVariants)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(indexnumber), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICrmMonitorLogRecords, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICrmMonitorLogRecords, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICrmMonitorLogRecords { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4018,7 +4018,7 @@ impl IDispenserDriver { (::windows::core::Vtable::vtable(self).DestroyResourceS)(::windows::core::Vtable::as_raw(self), resid).ok() } } -::windows::core::interface_hierarchy!(IDispenserDriver, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDispenserDriver, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDispenserDriver { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4071,7 +4071,7 @@ impl IDispenserManager { (::windows::core::Vtable::vtable(self).GetContext)(::windows::core::Vtable::as_raw(self), __midl__idispensermanager0002, __midl__idispensermanager0003).ok() } } -::windows::core::interface_hierarchy!(IDispenserManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDispenserManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDispenserManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4119,7 +4119,7 @@ impl IEnumNames { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumNames, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumNames, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumNames { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4168,7 +4168,7 @@ impl IEventServerTrace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEventServerTrace, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IEventServerTrace, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEventServerTrace { fn eq(&self, other: &Self) -> bool { @@ -4240,7 +4240,7 @@ impl IGetAppTrackerData { (::windows::core::Vtable::vtable(self).GetSuggestedPollingInterval)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGetAppTrackerData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetAppTrackerData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetAppTrackerData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4301,7 +4301,7 @@ impl IGetContextProperties { (::windows::core::Vtable::vtable(self).EnumNames)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGetContextProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetContextProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetContextProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4349,7 +4349,7 @@ impl IGetSecurityCallContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGetSecurityCallContext, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGetSecurityCallContext, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGetSecurityCallContext { fn eq(&self, other: &Self) -> bool { @@ -4427,7 +4427,7 @@ impl IHolder { (::windows::core::Vtable::vtable(self).RequestDestroyResource)(::windows::core::Vtable::as_raw(self), __midl__iholder0009).ok() } } -::windows::core::interface_hierarchy!(IHolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4485,7 +4485,7 @@ impl ILBEvents { (::windows::core::Vtable::vtable(self).EngineDefined)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrpropname), varpropvalue, ::core::mem::transmute_copy(bstrclsideng)).ok() } } -::windows::core::interface_hierarchy!(ILBEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILBEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILBEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4545,7 +4545,7 @@ impl IMTSActivity { (::windows::core::Vtable::vtable(self).UnbindFromThread)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMTSActivity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMTSActivity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMTSActivity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4586,7 +4586,7 @@ impl IMTSCall { (::windows::core::Vtable::vtable(self).OnCall)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMTSCall, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMTSCall, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMTSCall { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4627,7 +4627,7 @@ impl IMTSLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMTSLocator, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMTSLocator, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMTSLocator { fn eq(&self, other: &Self) -> bool { @@ -4683,7 +4683,7 @@ impl IManagedActivationEvents { (::windows::core::Vtable::vtable(self).DestroyManagedStub)(::windows::core::Vtable::as_raw(self), pinfo.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IManagedActivationEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IManagedActivationEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IManagedActivationEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4746,7 +4746,7 @@ impl IManagedObjectInfo { (::windows::core::Vtable::vtable(self).SetWrapperStrength)(::windows::core::Vtable::as_raw(self), bstrong.into()).ok() } } -::windows::core::interface_hierarchy!(IManagedObjectInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IManagedObjectInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IManagedObjectInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4792,7 +4792,7 @@ impl IManagedPoolAction { (::windows::core::Vtable::vtable(self).LastRelease)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IManagedPoolAction, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IManagedPoolAction, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IManagedPoolAction { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4834,7 +4834,7 @@ impl IManagedPooledObj { (::windows::core::Vtable::vtable(self).SetHeld)(::windows::core::Vtable::as_raw(self), m_bheld.into()).ok() } } -::windows::core::interface_hierarchy!(IManagedPooledObj, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IManagedPooledObj, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IManagedPooledObj { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4899,7 +4899,7 @@ impl IMessageMover { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMessageMover, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMessageMover, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMessageMover { fn eq(&self, other: &Self) -> bool { @@ -4971,7 +4971,7 @@ impl IMtsEventInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMtsEventInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMtsEventInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMtsEventInfo { fn eq(&self, other: &Self) -> bool { @@ -5045,7 +5045,7 @@ impl IMtsEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMtsEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMtsEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMtsEvents { fn eq(&self, other: &Self) -> bool { @@ -5110,7 +5110,7 @@ impl IMtsGrp { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMtsGrp, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMtsGrp, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMtsGrp { fn eq(&self, other: &Self) -> bool { @@ -5177,7 +5177,7 @@ impl IObjPool { (::windows::core::Vtable::vtable(self).Reserved6)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IObjPool, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjPool, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjPool { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5225,7 +5225,7 @@ impl IObjectConstruct { (::windows::core::Vtable::vtable(self).Construct)(::windows::core::Vtable::as_raw(self), pctorobj.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IObjectConstruct, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectConstruct, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectConstruct { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5268,7 +5268,7 @@ impl IObjectConstructString { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IObjectConstructString, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IObjectConstructString, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IObjectConstructString { fn eq(&self, other: &Self) -> bool { @@ -5339,7 +5339,7 @@ impl IObjectContext { (::windows::core::Vtable::vtable(self).IsCallerInRole)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrrole), pfisinrole).ok() } } -::windows::core::interface_hierarchy!(IObjectContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5392,7 +5392,7 @@ impl IObjectContextActivity { (::windows::core::Vtable::vtable(self).GetActivityId)(::windows::core::Vtable::as_raw(self), pguid).ok() } } -::windows::core::interface_hierarchy!(IObjectContextActivity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectContextActivity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectContextActivity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5444,7 +5444,7 @@ impl IObjectContextInfo { (::windows::core::Vtable::vtable(self).GetContextId)(::windows::core::Vtable::as_raw(self), pguid).ok() } } -::windows::core::interface_hierarchy!(IObjectContextInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectContextInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectContextInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5512,7 +5512,7 @@ impl IObjectContextInfo2 { (::windows::core::Vtable::vtable(self).GetApplicationInstanceId)(::windows::core::Vtable::as_raw(self), pguid).ok() } } -::windows::core::interface_hierarchy!(IObjectContextInfo2, ::windows::core::IUnknown, IObjectContextInfo); +::windows::imp::interface_hierarchy!(IObjectContextInfo2, ::windows::core::IUnknown, IObjectContextInfo); impl ::core::cmp::PartialEq for IObjectContextInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5551,7 +5551,7 @@ impl IObjectContextTip { (::windows::core::Vtable::vtable(self).GetTipUrl)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ptipurl)).ok() } } -::windows::core::interface_hierarchy!(IObjectContextTip, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectContextTip, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectContextTip { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5596,7 +5596,7 @@ impl IObjectControl { (::windows::core::Vtable::vtable(self).CanBePooled)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IObjectControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5641,7 +5641,7 @@ impl IPlaybackControl { (::windows::core::Vtable::vtable(self).FinalServerRetry)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPlaybackControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPlaybackControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPlaybackControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5682,7 +5682,7 @@ impl IPoolManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPoolManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPoolManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPoolManager { fn eq(&self, other: &Self) -> bool { @@ -5732,7 +5732,7 @@ impl IProcessInitializer { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IProcessInitializer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProcessInitializer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProcessInitializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5802,7 +5802,7 @@ impl ISecurityCallContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISecurityCallContext, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISecurityCallContext, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISecurityCallContext { fn eq(&self, other: &Self) -> bool { @@ -5877,7 +5877,7 @@ impl ISecurityCallersColl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISecurityCallersColl, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISecurityCallersColl, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISecurityCallersColl { fn eq(&self, other: &Self) -> bool { @@ -5940,7 +5940,7 @@ impl ISecurityIdentityColl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISecurityIdentityColl, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISecurityIdentityColl, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISecurityIdentityColl { fn eq(&self, other: &Self) -> bool { @@ -6014,7 +6014,7 @@ impl ISecurityProperty { (::windows::core::Vtable::vtable(self).ReleaseSID)(::windows::core::Vtable::as_raw(self), psid.into()).ok() } } -::windows::core::interface_hierarchy!(ISecurityProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISecurityProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISecurityProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6076,7 +6076,7 @@ impl ISelectCOMLBServer { (::windows::core::Vtable::vtable(self).GetLBServer)(::windows::core::Vtable::as_raw(self), punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISelectCOMLBServer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISelectCOMLBServer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISelectCOMLBServer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6117,7 +6117,7 @@ impl ISendMethodEvents { (::windows::core::Vtable::vtable(self).SendMethodReturn)(::windows::core::Vtable::as_raw(self), pidentity, riid, dwmeth, hrcall, hrserver).ok() } } -::windows::core::interface_hierarchy!(ISendMethodEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISendMethodEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISendMethodEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6170,7 +6170,7 @@ impl IServiceActivity { (::windows::core::Vtable::vtable(self).UnbindFromThread)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IServiceActivity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceActivity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceActivity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6210,7 +6210,7 @@ impl IServiceCall { (::windows::core::Vtable::vtable(self).OnCall)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IServiceCall, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceCall, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceCall { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6247,7 +6247,7 @@ impl IServiceComTIIntrinsicsConfig { (::windows::core::Vtable::vtable(self).ComTIIntrinsicsConfig)(::windows::core::Vtable::as_raw(self), comtiintrinsicsconfig).ok() } } -::windows::core::interface_hierarchy!(IServiceComTIIntrinsicsConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceComTIIntrinsicsConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceComTIIntrinsicsConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6284,7 +6284,7 @@ impl IServiceIISIntrinsicsConfig { (::windows::core::Vtable::vtable(self).IISIntrinsicsConfig)(::windows::core::Vtable::as_raw(self), iisintrinsicsconfig).ok() } } -::windows::core::interface_hierarchy!(IServiceIISIntrinsicsConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceIISIntrinsicsConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceIISIntrinsicsConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6321,7 +6321,7 @@ impl IServiceInheritanceConfig { (::windows::core::Vtable::vtable(self).ContainingContextTreatment)(::windows::core::Vtable::as_raw(self), inheritanceconfig).ok() } } -::windows::core::interface_hierarchy!(IServiceInheritanceConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceInheritanceConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceInheritanceConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6361,7 +6361,7 @@ impl IServicePartitionConfig { (::windows::core::Vtable::vtable(self).PartitionID)(::windows::core::Vtable::as_raw(self), guidpartitionid).ok() } } -::windows::core::interface_hierarchy!(IServicePartitionConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServicePartitionConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServicePartitionConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6408,7 +6408,7 @@ impl IServicePool { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IServicePool, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServicePool, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServicePool { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6489,7 +6489,7 @@ impl IServicePoolConfig { (::windows::core::Vtable::vtable(self).ClassFactory)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IServicePoolConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServicePoolConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServicePoolConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6559,7 +6559,7 @@ impl IServiceSxsConfig { (::windows::core::Vtable::vtable(self).SxsDirectory)(::windows::core::Vtable::as_raw(self), szsxsdirectory.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IServiceSxsConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceSxsConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceSxsConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6598,7 +6598,7 @@ impl IServiceSynchronizationConfig { (::windows::core::Vtable::vtable(self).ConfigureSynchronization)(::windows::core::Vtable::as_raw(self), synchconfig).ok() } } -::windows::core::interface_hierarchy!(IServiceSynchronizationConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceSynchronizationConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceSynchronizationConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6667,7 +6667,7 @@ impl IServiceSysTxnConfig { (::windows::core::Vtable::vtable(self).ConfigureBYOTSysTxn)(::windows::core::Vtable::as_raw(self), ptxproxy.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IServiceSysTxnConfig, ::windows::core::IUnknown, IServiceTransactionConfigBase, IServiceTransactionConfig); +::windows::imp::interface_hierarchy!(IServiceSysTxnConfig, ::windows::core::IUnknown, IServiceTransactionConfigBase, IServiceTransactionConfig); impl ::core::cmp::PartialEq for IServiceSysTxnConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6707,7 +6707,7 @@ impl IServiceThreadPoolConfig { (::windows::core::Vtable::vtable(self).SetBindingInfo)(::windows::core::Vtable::as_raw(self), binding).ok() } } -::windows::core::interface_hierarchy!(IServiceThreadPoolConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceThreadPoolConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceThreadPoolConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6749,7 +6749,7 @@ impl IServiceTrackerConfig { (::windows::core::Vtable::vtable(self).TrackerConfig)(::windows::core::Vtable::as_raw(self), trackerconfig, sztrackerappname.into().abi(), sztrackerctxname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IServiceTrackerConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceTrackerConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceTrackerConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6812,7 +6812,7 @@ impl IServiceTransactionConfig { (::windows::core::Vtable::vtable(self).ConfigureBYOT)(::windows::core::Vtable::as_raw(self), pitxbyot.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IServiceTransactionConfig, ::windows::core::IUnknown, IServiceTransactionConfigBase); +::windows::imp::interface_hierarchy!(IServiceTransactionConfig, ::windows::core::IUnknown, IServiceTransactionConfigBase); impl ::core::cmp::PartialEq for IServiceTransactionConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6870,7 +6870,7 @@ impl IServiceTransactionConfigBase { (::windows::core::Vtable::vtable(self).NewTransactionDescription)(::windows::core::Vtable::as_raw(self), sztxdesc.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IServiceTransactionConfigBase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IServiceTransactionConfigBase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IServiceTransactionConfigBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6922,7 +6922,7 @@ impl ISharedProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISharedProperty, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISharedProperty, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISharedProperty { fn eq(&self, other: &Self) -> bool { @@ -6995,7 +6995,7 @@ impl ISharedPropertyGroup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISharedPropertyGroup, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISharedPropertyGroup, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISharedPropertyGroup { fn eq(&self, other: &Self) -> bool { @@ -7069,7 +7069,7 @@ impl ISharedPropertyGroupManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISharedPropertyGroupManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISharedPropertyGroupManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISharedPropertyGroupManager { fn eq(&self, other: &Self) -> bool { @@ -7124,7 +7124,7 @@ impl ISystemAppEventData { (::windows::core::Vtable::vtable(self).OnDataChanged)(::windows::core::Vtable::as_raw(self), dwpid, dwmask, dwnumbersinks, ::core::mem::transmute_copy(bstrdwmethodmask), dwreason, u64tracehandle).ok() } } -::windows::core::interface_hierarchy!(ISystemAppEventData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISystemAppEventData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISystemAppEventData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7189,7 +7189,7 @@ impl IThreadPoolKnobs { (::windows::core::Vtable::vtable(self).SetQueueDepth)(::windows::core::Vtable::as_raw(self), lcqueuedepth).ok() } } -::windows::core::interface_hierarchy!(IThreadPoolKnobs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThreadPoolKnobs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThreadPoolKnobs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7247,7 +7247,7 @@ impl ITransactionContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITransactionContext, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITransactionContext, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITransactionContext { fn eq(&self, other: &Self) -> bool { @@ -7306,7 +7306,7 @@ impl ITransactionContextEx { (::windows::core::Vtable::vtable(self).Abort)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITransactionContextEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionContextEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionContextEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7397,7 +7397,7 @@ impl ITransactionProperty { (::windows::core::Vtable::vtable(self).Reserved17)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ITransactionProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7480,7 +7480,7 @@ impl ITransactionProxy { (::windows::core::Vtable::vtable(self).IsReusable)(::windows::core::Vtable::as_raw(self), pfisreusable).ok() } } -::windows::core::interface_hierarchy!(ITransactionProxy, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionProxy, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionProxy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7543,7 +7543,7 @@ impl ITransactionResourcePool { (::windows::core::Vtable::vtable(self).GetResource)(::windows::core::Vtable::as_raw(self), ppool.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionResourcePool, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionResourcePool, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionResourcePool { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7584,7 +7584,7 @@ impl ITransactionStatus { (::windows::core::Vtable::vtable(self).GetTransactionStatus)(::windows::core::Vtable::as_raw(self), phrstatus).ok() } } -::windows::core::interface_hierarchy!(ITransactionStatus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionStatus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7622,7 +7622,7 @@ impl ITxProxyHolder { (::windows::core::Vtable::vtable(self).GetIdentifier)(::windows::core::Vtable::as_raw(self), pguidltx) } } -::windows::core::interface_hierarchy!(ITxProxyHolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITxProxyHolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITxProxyHolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7721,7 +7721,7 @@ impl ObjectContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ObjectContext, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ObjectContext, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ObjectContext { fn eq(&self, other: &Self) -> bool { @@ -7806,7 +7806,7 @@ impl ObjectControl { (::windows::core::Vtable::vtable(self).CanBePooled)(::windows::core::Vtable::as_raw(self), pbpoolable).ok() } } -::windows::core::interface_hierarchy!(ObjectControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ObjectControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ObjectControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7864,7 +7864,7 @@ impl SecurityProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(SecurityProperty, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(SecurityProperty, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for SecurityProperty { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs index bb35b37ccd..641fdd501e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs @@ -7,7 +7,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddConsoleAliasA ( source : :: windows::core::PCSTR , target : :: windows::core::PCSTR , exename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddConsoleAliasA ( source : :: windows::core::PCSTR , target : :: windows::core::PCSTR , exename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AddConsoleAliasA(source.into().abi(), target.into().abi(), exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -19,21 +19,21 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddConsoleAliasW ( source : :: windows::core::PCWSTR , target : :: windows::core::PCWSTR , exename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddConsoleAliasW ( source : :: windows::core::PCWSTR , target : :: windows::core::PCWSTR , exename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AddConsoleAliasW(source.into().abi(), target.into().abi(), exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AllocConsole() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn AllocConsole ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AllocConsole ( ) -> super::super::Foundation:: BOOL ); AllocConsole() } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AttachConsole(dwprocessid: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn AttachConsole ( dwprocessid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AttachConsole ( dwprocessid : u32 ) -> super::super::Foundation:: BOOL ); AttachConsole(dwprocessid) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -42,16 +42,16 @@ pub unsafe fn ClosePseudoConsole(hpc: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ClosePseudoConsole ( hpc : HPCON ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ClosePseudoConsole ( hpc : HPCON ) -> ( ) ); ClosePseudoConsole(hpc.into()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn CreateConsoleScreenBuffer(dwdesiredaccess: u32, dwsharemode: u32, lpsecurityattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, dwflags: u32, lpscreenbufferdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateConsoleScreenBuffer ( dwdesiredaccess : u32 , dwsharemode : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwflags : u32 , lpscreenbufferdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateConsoleScreenBuffer ( dwdesiredaccess : u32 , dwsharemode : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwflags : u32 , lpscreenbufferdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); let result__ = CreateConsoleScreenBuffer(dwdesiredaccess, dwsharemode, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), dwflags, ::core::mem::transmute(lpscreenbufferdata.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -61,7 +61,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreatePseudoConsole ( size : COORD , hinput : super::super::Foundation:: HANDLE , houtput : super::super::Foundation:: HANDLE , dwflags : u32 , phpc : *mut HPCON ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreatePseudoConsole ( size : COORD , hinput : super::super::Foundation:: HANDLE , houtput : super::super::Foundation:: HANDLE , dwflags : u32 , phpc : *mut HPCON ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreatePseudoConsole(::core::mem::transmute(size), hinput.into(), houtput.into(), dwflags, &mut result__).from_abi(result__) } @@ -71,7 +71,7 @@ pub unsafe fn ExpungeConsoleCommandHistoryA(exename: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ExpungeConsoleCommandHistoryA ( exename : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ExpungeConsoleCommandHistoryA ( exename : :: windows::core::PCSTR ) -> ( ) ); ExpungeConsoleCommandHistoryA(exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -80,7 +80,7 @@ pub unsafe fn ExpungeConsoleCommandHistoryW(exename: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ExpungeConsoleCommandHistoryW ( exename : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ExpungeConsoleCommandHistoryW ( exename : :: windows::core::PCWSTR ) -> ( ) ); ExpungeConsoleCommandHistoryW(exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -90,7 +90,7 @@ pub unsafe fn FillConsoleOutputAttribute(hconsoleoutput: P0, wattribute: u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FillConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , wattribute : u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofattrswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FillConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , wattribute : u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofattrswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); FillConsoleOutputAttribute(hconsoleoutput.into(), wattribute, nlength, ::core::mem::transmute(dwwritecoord), lpnumberofattrswritten) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -101,7 +101,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FillConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , ccharacter : super::super::Foundation:: CHAR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FillConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , ccharacter : super::super::Foundation:: CHAR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); FillConsoleOutputCharacterA(hconsoleoutput.into(), ccharacter.into(), nlength, ::core::mem::transmute(dwwritecoord), lpnumberofcharswritten) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -111,7 +111,7 @@ pub unsafe fn FillConsoleOutputCharacterW(hconsoleoutput: P0, ccharacter: u1 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FillConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , ccharacter : u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FillConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , ccharacter : u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); FillConsoleOutputCharacterW(hconsoleoutput.into(), ccharacter, nlength, ::core::mem::transmute(dwwritecoord), lpnumberofcharswritten) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -121,21 +121,21 @@ pub unsafe fn FlushConsoleInputBuffer(hconsoleinput: P0) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FlushConsoleInputBuffer ( hconsoleinput : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlushConsoleInputBuffer ( hconsoleinput : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); FlushConsoleInputBuffer(hconsoleinput.into()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeConsole() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeConsole ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeConsole ( ) -> super::super::Foundation:: BOOL ); FreeConsole() } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GenerateConsoleCtrlEvent(dwctrlevent: u32, dwprocessgroupid: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GenerateConsoleCtrlEvent ( dwctrlevent : u32 , dwprocessgroupid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GenerateConsoleCtrlEvent ( dwctrlevent : u32 , dwprocessgroupid : u32 ) -> super::super::Foundation:: BOOL ); GenerateConsoleCtrlEvent(dwctrlevent, dwprocessgroupid) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -145,31 +145,31 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasA ( source : :: windows::core::PCSTR , targetbuffer : :: windows::core::PSTR , targetbufferlength : u32 , exename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasA ( source : :: windows::core::PCSTR , targetbuffer : :: windows::core::PSTR , targetbufferlength : u32 , exename : :: windows::core::PCSTR ) -> u32 ); GetConsoleAliasA(source.into().abi(), ::core::mem::transmute(targetbuffer.as_ptr()), targetbuffer.len() as _, exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleAliasExesA(exenamebuffer: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasExesA ( exenamebuffer : :: windows::core::PSTR , exenamebufferlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasExesA ( exenamebuffer : :: windows::core::PSTR , exenamebufferlength : u32 ) -> u32 ); GetConsoleAliasExesA(::core::mem::transmute(exenamebuffer.as_ptr()), exenamebuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleAliasExesLengthA() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasExesLengthA ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasExesLengthA ( ) -> u32 ); GetConsoleAliasExesLengthA() } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleAliasExesLengthW() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasExesLengthW ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasExesLengthW ( ) -> u32 ); GetConsoleAliasExesLengthW() } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleAliasExesW(exenamebuffer: &mut [u16]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasExesW ( exenamebuffer : :: windows::core::PWSTR , exenamebufferlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasExesW ( exenamebuffer : :: windows::core::PWSTR , exenamebufferlength : u32 ) -> u32 ); GetConsoleAliasExesW(::core::mem::transmute(exenamebuffer.as_ptr()), exenamebuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -179,7 +179,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasW ( source : :: windows::core::PCWSTR , targetbuffer : :: windows::core::PWSTR , targetbufferlength : u32 , exename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasW ( source : :: windows::core::PCWSTR , targetbuffer : :: windows::core::PWSTR , targetbufferlength : u32 , exename : :: windows::core::PCWSTR ) -> u32 ); GetConsoleAliasW(source.into().abi(), ::core::mem::transmute(targetbuffer.as_ptr()), targetbuffer.len() as _, exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -188,7 +188,7 @@ pub unsafe fn GetConsoleAliasesA(aliasbuffer: &mut [u8], exename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasesA ( aliasbuffer : :: windows::core::PSTR , aliasbufferlength : u32 , exename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasesA ( aliasbuffer : :: windows::core::PSTR , aliasbufferlength : u32 , exename : :: windows::core::PCSTR ) -> u32 ); GetConsoleAliasesA(::core::mem::transmute(aliasbuffer.as_ptr()), aliasbuffer.len() as _, exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -197,7 +197,7 @@ pub unsafe fn GetConsoleAliasesLengthA(exename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasesLengthA ( exename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasesLengthA ( exename : :: windows::core::PCSTR ) -> u32 ); GetConsoleAliasesLengthA(exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -206,7 +206,7 @@ pub unsafe fn GetConsoleAliasesLengthW(exename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasesLengthW ( exename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasesLengthW ( exename : :: windows::core::PCWSTR ) -> u32 ); GetConsoleAliasesLengthW(exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -215,13 +215,13 @@ pub unsafe fn GetConsoleAliasesW(aliasbuffer: &mut [u16], exename: P0) -> u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleAliasesW ( aliasbuffer : :: windows::core::PWSTR , aliasbufferlength : u32 , exename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleAliasesW ( aliasbuffer : :: windows::core::PWSTR , aliasbufferlength : u32 , exename : :: windows::core::PCWSTR ) -> u32 ); GetConsoleAliasesW(::core::mem::transmute(aliasbuffer.as_ptr()), aliasbuffer.len() as _, exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleCP() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleCP ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleCP ( ) -> u32 ); GetConsoleCP() } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -230,7 +230,7 @@ pub unsafe fn GetConsoleCommandHistoryA(commands: &mut [u8], exename: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleCommandHistoryA ( commands : :: windows::core::PSTR , commandbufferlength : u32 , exename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleCommandHistoryA ( commands : :: windows::core::PSTR , commandbufferlength : u32 , exename : :: windows::core::PCSTR ) -> u32 ); GetConsoleCommandHistoryA(::core::mem::transmute(commands.as_ptr()), commands.len() as _, exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -239,7 +239,7 @@ pub unsafe fn GetConsoleCommandHistoryLengthA(exename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleCommandHistoryLengthA ( exename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleCommandHistoryLengthA ( exename : :: windows::core::PCSTR ) -> u32 ); GetConsoleCommandHistoryLengthA(exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -248,7 +248,7 @@ pub unsafe fn GetConsoleCommandHistoryLengthW(exename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleCommandHistoryLengthW ( exename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleCommandHistoryLengthW ( exename : :: windows::core::PCWSTR ) -> u32 ); GetConsoleCommandHistoryLengthW(exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -257,7 +257,7 @@ pub unsafe fn GetConsoleCommandHistoryW(commands: ::windows::core::PWSTR, co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleCommandHistoryW ( commands : :: windows::core::PWSTR , commandbufferlength : u32 , exename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleCommandHistoryW ( commands : :: windows::core::PWSTR , commandbufferlength : u32 , exename : :: windows::core::PCWSTR ) -> u32 ); GetConsoleCommandHistoryW(::core::mem::transmute(commands), commandbufferlength, exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -267,14 +267,14 @@ pub unsafe fn GetConsoleCursorInfo(hconsoleoutput: P0, lpconsolecursorinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleCursorInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolecursorinfo : *mut CONSOLE_CURSOR_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleCursorInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolecursorinfo : *mut CONSOLE_CURSOR_INFO ) -> super::super::Foundation:: BOOL ); GetConsoleCursorInfo(hconsoleoutput.into(), lpconsolecursorinfo) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetConsoleDisplayMode(lpmodeflags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleDisplayMode ( lpmodeflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleDisplayMode ( lpmodeflags : *mut u32 ) -> super::super::Foundation:: BOOL ); GetConsoleDisplayMode(lpmodeflags) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -284,14 +284,14 @@ pub unsafe fn GetConsoleFontSize(hconsoleoutput: P0, nfont: u32) -> COORD where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleFontSize ( hconsoleoutput : super::super::Foundation:: HANDLE , nfont : u32 ) -> COORD ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleFontSize ( hconsoleoutput : super::super::Foundation:: HANDLE , nfont : u32 ) -> COORD ); GetConsoleFontSize(hconsoleoutput.into(), nfont) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetConsoleHistoryInfo(lpconsolehistoryinfo: *mut CONSOLE_HISTORY_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleHistoryInfo ( lpconsolehistoryinfo : *mut CONSOLE_HISTORY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleHistoryInfo ( lpconsolehistoryinfo : *mut CONSOLE_HISTORY_INFO ) -> super::super::Foundation:: BOOL ); GetConsoleHistoryInfo(lpconsolehistoryinfo) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -301,31 +301,31 @@ pub unsafe fn GetConsoleMode(hconsolehandle: P0, lpmode: *mut CONSOLE_MODE) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleMode ( hconsolehandle : super::super::Foundation:: HANDLE , lpmode : *mut CONSOLE_MODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleMode ( hconsolehandle : super::super::Foundation:: HANDLE , lpmode : *mut CONSOLE_MODE ) -> super::super::Foundation:: BOOL ); GetConsoleMode(hconsolehandle.into(), lpmode) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleOriginalTitleA(lpconsoletitle: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleOriginalTitleA ( lpconsoletitle : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleOriginalTitleA ( lpconsoletitle : :: windows::core::PSTR , nsize : u32 ) -> u32 ); GetConsoleOriginalTitleA(::core::mem::transmute(lpconsoletitle.as_ptr()), lpconsoletitle.len() as _) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleOriginalTitleW(lpconsoletitle: &mut [u16]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleOriginalTitleW ( lpconsoletitle : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleOriginalTitleW ( lpconsoletitle : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); GetConsoleOriginalTitleW(::core::mem::transmute(lpconsoletitle.as_ptr()), lpconsoletitle.len() as _) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleOutputCP() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleOutputCP ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleOutputCP ( ) -> u32 ); GetConsoleOutputCP() } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleProcessList(lpdwprocesslist: &mut [u32]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleProcessList ( lpdwprocesslist : *mut u32 , dwprocesscount : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleProcessList ( lpdwprocesslist : *mut u32 , dwprocesscount : u32 ) -> u32 ); GetConsoleProcessList(::core::mem::transmute(lpdwprocesslist.as_ptr()), lpdwprocesslist.len() as _) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -335,7 +335,7 @@ pub unsafe fn GetConsoleScreenBufferInfo(hconsoleoutput: P0, lpconsolescreen where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleScreenBufferInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfo : *mut CONSOLE_SCREEN_BUFFER_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleScreenBufferInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfo : *mut CONSOLE_SCREEN_BUFFER_INFO ) -> super::super::Foundation:: BOOL ); GetConsoleScreenBufferInfo(hconsoleoutput.into(), lpconsolescreenbufferinfo) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -345,33 +345,33 @@ pub unsafe fn GetConsoleScreenBufferInfoEx(hconsoleoutput: P0, lpconsolescre where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleScreenBufferInfoEx ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfoex : *mut CONSOLE_SCREEN_BUFFER_INFOEX ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleScreenBufferInfoEx ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfoex : *mut CONSOLE_SCREEN_BUFFER_INFOEX ) -> super::super::Foundation:: BOOL ); GetConsoleScreenBufferInfoEx(hconsoleoutput.into(), lpconsolescreenbufferinfoex) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetConsoleSelectionInfo(lpconsoleselectioninfo: *mut CONSOLE_SELECTION_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleSelectionInfo ( lpconsoleselectioninfo : *mut CONSOLE_SELECTION_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleSelectionInfo ( lpconsoleselectioninfo : *mut CONSOLE_SELECTION_INFO ) -> super::super::Foundation:: BOOL ); GetConsoleSelectionInfo(lpconsoleselectioninfo) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleTitleA(lpconsoletitle: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleTitleA ( lpconsoletitle : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleTitleA ( lpconsoletitle : :: windows::core::PSTR , nsize : u32 ) -> u32 ); GetConsoleTitleA(::core::mem::transmute(lpconsoletitle.as_ptr()), lpconsoletitle.len() as _) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] #[inline] pub unsafe fn GetConsoleTitleW(lpconsoletitle: &mut [u16]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleTitleW ( lpconsoletitle : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleTitleW ( lpconsoletitle : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); GetConsoleTitleW(::core::mem::transmute(lpconsoletitle.as_ptr()), lpconsoletitle.len() as _) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetConsoleWindow() -> super::super::Foundation::HWND { - ::windows::core::link ! ( "kernel32.dll""system" fn GetConsoleWindow ( ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetConsoleWindow ( ) -> super::super::Foundation:: HWND ); GetConsoleWindow() } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -382,7 +382,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentConsoleFont ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfont : *mut CONSOLE_FONT_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentConsoleFont ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfont : *mut CONSOLE_FONT_INFO ) -> super::super::Foundation:: BOOL ); GetCurrentConsoleFont(hconsoleoutput.into(), bmaximumwindow.into(), lpconsolecurrentfont) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -393,7 +393,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentConsoleFontEx ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfontex : *mut CONSOLE_FONT_INFOEX ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentConsoleFontEx ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfontex : *mut CONSOLE_FONT_INFOEX ) -> super::super::Foundation:: BOOL ); GetCurrentConsoleFontEx(hconsoleoutput.into(), bmaximumwindow.into(), lpconsolecurrentfontex) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -403,7 +403,7 @@ pub unsafe fn GetLargestConsoleWindowSize(hconsoleoutput: P0) -> COORD where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLargestConsoleWindowSize ( hconsoleoutput : super::super::Foundation:: HANDLE ) -> COORD ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLargestConsoleWindowSize ( hconsoleoutput : super::super::Foundation:: HANDLE ) -> COORD ); GetLargestConsoleWindowSize(hconsoleoutput.into()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -413,23 +413,23 @@ pub unsafe fn GetNumberOfConsoleInputEvents(hconsoleinput: P0, lpnumberofeve where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumberOfConsoleInputEvents ( hconsoleinput : super::super::Foundation:: HANDLE , lpnumberofevents : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumberOfConsoleInputEvents ( hconsoleinput : super::super::Foundation:: HANDLE , lpnumberofevents : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNumberOfConsoleInputEvents(hconsoleinput.into(), lpnumberofevents) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNumberOfConsoleMouseButtons(lpnumberofmousebuttons: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumberOfConsoleMouseButtons ( lpnumberofmousebuttons : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumberOfConsoleMouseButtons ( lpnumberofmousebuttons : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNumberOfConsoleMouseButtons(lpnumberofmousebuttons) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetStdHandle(nstdhandle: STD_HANDLE) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStdHandle ( nstdhandle : STD_HANDLE ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStdHandle ( nstdhandle : STD_HANDLE ) -> super::super::Foundation:: HANDLE ); let result__ = GetStdHandle(nstdhandle); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -438,7 +438,7 @@ pub unsafe fn PeekConsoleInputA(hconsoleinput: P0, lpbuffer: &mut [INPUT_REC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PeekConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PeekConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : *mut u32 ) -> super::super::Foundation:: BOOL ); PeekConsoleInputA(hconsoleinput.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpnumberofeventsread) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -448,7 +448,7 @@ pub unsafe fn PeekConsoleInputW(hconsoleinput: P0, lpbuffer: &mut [INPUT_REC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PeekConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PeekConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : *mut u32 ) -> super::super::Foundation:: BOOL ); PeekConsoleInputW(hconsoleinput.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpnumberofeventsread) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -458,7 +458,7 @@ pub unsafe fn ReadConsoleA(hconsoleinput: P0, lpbuffer: *mut ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nnumberofcharstoread : u32 , lpnumberofcharsread : *mut u32 , pinputcontrol : *const CONSOLE_READCONSOLE_CONTROL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nnumberofcharstoread : u32 , lpnumberofcharsread : *mut u32 , pinputcontrol : *const CONSOLE_READCONSOLE_CONTROL ) -> super::super::Foundation:: BOOL ); ReadConsoleA(hconsoleinput.into(), lpbuffer, nnumberofcharstoread, lpnumberofcharsread, ::core::mem::transmute(pinputcontrol.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -468,7 +468,7 @@ pub unsafe fn ReadConsoleInputA(hconsoleinput: P0, lpbuffer: &mut [INPUT_REC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadConsoleInputA(hconsoleinput.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpnumberofeventsread) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -478,7 +478,7 @@ pub unsafe fn ReadConsoleInputW(hconsoleinput: P0, lpbuffer: &mut [INPUT_REC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadConsoleInputW(hconsoleinput.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpnumberofeventsread) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -488,7 +488,7 @@ pub unsafe fn ReadConsoleOutputA(hconsoleoutput: P0, lpbuffer: *mut CHAR_INF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleOutputA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *mut CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpreadregion : *mut SMALL_RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleOutputA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *mut CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpreadregion : *mut SMALL_RECT ) -> super::super::Foundation:: BOOL ); ReadConsoleOutputA(hconsoleoutput.into(), lpbuffer, ::core::mem::transmute(dwbuffersize), ::core::mem::transmute(dwbuffercoord), lpreadregion) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -498,7 +498,7 @@ pub unsafe fn ReadConsoleOutputAttribute(hconsoleoutput: P0, lpattribute: &m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , lpattribute : *mut u16 , nlength : u32 , dwreadcoord : COORD , lpnumberofattrsread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , lpattribute : *mut u16 , nlength : u32 , dwreadcoord : COORD , lpnumberofattrsread : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadConsoleOutputAttribute(hconsoleoutput.into(), ::core::mem::transmute(lpattribute.as_ptr()), lpattribute.len() as _, ::core::mem::transmute(dwreadcoord), lpnumberofattrsread) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -508,7 +508,7 @@ pub unsafe fn ReadConsoleOutputCharacterA(hconsoleoutput: P0, lpcharacter: & where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : :: windows::core::PSTR , nlength : u32 , dwreadcoord : COORD , lpnumberofcharsread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : :: windows::core::PSTR , nlength : u32 , dwreadcoord : COORD , lpnumberofcharsread : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadConsoleOutputCharacterA(hconsoleoutput.into(), ::core::mem::transmute(lpcharacter.as_ptr()), lpcharacter.len() as _, ::core::mem::transmute(dwreadcoord), lpnumberofcharsread) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -518,7 +518,7 @@ pub unsafe fn ReadConsoleOutputCharacterW(hconsoleoutput: P0, lpcharacter: & where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : :: windows::core::PWSTR , nlength : u32 , dwreadcoord : COORD , lpnumberofcharsread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : :: windows::core::PWSTR , nlength : u32 , dwreadcoord : COORD , lpnumberofcharsread : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadConsoleOutputCharacterW(hconsoleoutput.into(), ::core::mem::transmute(lpcharacter.as_ptr()), lpcharacter.len() as _, ::core::mem::transmute(dwreadcoord), lpnumberofcharsread) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -528,7 +528,7 @@ pub unsafe fn ReadConsoleOutputW(hconsoleoutput: P0, lpbuffer: *mut CHAR_INF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleOutputW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *mut CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpreadregion : *mut SMALL_RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleOutputW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *mut CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpreadregion : *mut SMALL_RECT ) -> super::super::Foundation:: BOOL ); ReadConsoleOutputW(hconsoleoutput.into(), lpbuffer, ::core::mem::transmute(dwbuffersize), ::core::mem::transmute(dwbuffercoord), lpreadregion) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -538,7 +538,7 @@ pub unsafe fn ReadConsoleW(hconsoleinput: P0, lpbuffer: *mut ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadConsoleW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nnumberofcharstoread : u32 , lpnumberofcharsread : *mut u32 , pinputcontrol : *const CONSOLE_READCONSOLE_CONTROL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadConsoleW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nnumberofcharstoread : u32 , lpnumberofcharsread : *mut u32 , pinputcontrol : *const CONSOLE_READCONSOLE_CONTROL ) -> super::super::Foundation:: BOOL ); ReadConsoleW(hconsoleinput.into(), lpbuffer, nnumberofcharstoread, lpnumberofcharsread, ::core::mem::transmute(pinputcontrol.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] @@ -547,7 +547,7 @@ pub unsafe fn ResizePseudoConsole(hpc: P0, size: COORD) -> ::windows::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ResizePseudoConsole ( hpc : HPCON , size : COORD ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ResizePseudoConsole ( hpc : HPCON , size : COORD ) -> :: windows::core::HRESULT ); ResizePseudoConsole(hpc.into(), ::core::mem::transmute(size)).ok() } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -557,7 +557,7 @@ pub unsafe fn ScrollConsoleScreenBufferA(hconsoleoutput: P0, lpscrollrectang where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ScrollConsoleScreenBufferA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpscrollrectangle : *const SMALL_RECT , lpcliprectangle : *const SMALL_RECT , dwdestinationorigin : COORD , lpfill : *const CHAR_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ScrollConsoleScreenBufferA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpscrollrectangle : *const SMALL_RECT , lpcliprectangle : *const SMALL_RECT , dwdestinationorigin : COORD , lpfill : *const CHAR_INFO ) -> super::super::Foundation:: BOOL ); ScrollConsoleScreenBufferA(hconsoleoutput.into(), lpscrollrectangle, ::core::mem::transmute(lpcliprectangle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dwdestinationorigin), lpfill) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -567,7 +567,7 @@ pub unsafe fn ScrollConsoleScreenBufferW(hconsoleoutput: P0, lpscrollrectang where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ScrollConsoleScreenBufferW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpscrollrectangle : *const SMALL_RECT , lpcliprectangle : *const SMALL_RECT , dwdestinationorigin : COORD , lpfill : *const CHAR_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ScrollConsoleScreenBufferW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpscrollrectangle : *const SMALL_RECT , lpcliprectangle : *const SMALL_RECT , dwdestinationorigin : COORD , lpfill : *const CHAR_INFO ) -> super::super::Foundation:: BOOL ); ScrollConsoleScreenBufferW(hconsoleoutput.into(), lpscrollrectangle, ::core::mem::transmute(lpcliprectangle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dwdestinationorigin), lpfill) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -577,14 +577,14 @@ pub unsafe fn SetConsoleActiveScreenBuffer(hconsoleoutput: P0) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleActiveScreenBuffer ( hconsoleoutput : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleActiveScreenBuffer ( hconsoleoutput : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetConsoleActiveScreenBuffer(hconsoleoutput.into()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetConsoleCP(wcodepageid: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleCP ( wcodepageid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleCP ( wcodepageid : u32 ) -> super::super::Foundation:: BOOL ); SetConsoleCP(wcodepageid) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -594,7 +594,7 @@ pub unsafe fn SetConsoleCtrlHandler(handlerroutine: PHANDLER_ROUTINE, add: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleCtrlHandler ( handlerroutine : PHANDLER_ROUTINE , add : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleCtrlHandler ( handlerroutine : PHANDLER_ROUTINE , add : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetConsoleCtrlHandler(handlerroutine, add.into()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -604,7 +604,7 @@ pub unsafe fn SetConsoleCursorInfo(hconsoleoutput: P0, lpconsolecursorinfo: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleCursorInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolecursorinfo : *const CONSOLE_CURSOR_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleCursorInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolecursorinfo : *const CONSOLE_CURSOR_INFO ) -> super::super::Foundation:: BOOL ); SetConsoleCursorInfo(hconsoleoutput.into(), lpconsolecursorinfo) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -614,7 +614,7 @@ pub unsafe fn SetConsoleCursorPosition(hconsoleoutput: P0, dwcursorposition: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleCursorPosition ( hconsoleoutput : super::super::Foundation:: HANDLE , dwcursorposition : COORD ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleCursorPosition ( hconsoleoutput : super::super::Foundation:: HANDLE , dwcursorposition : COORD ) -> super::super::Foundation:: BOOL ); SetConsoleCursorPosition(hconsoleoutput.into(), ::core::mem::transmute(dwcursorposition)) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -624,14 +624,14 @@ pub unsafe fn SetConsoleDisplayMode(hconsoleoutput: P0, dwflags: u32, lpnews where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleDisplayMode ( hconsoleoutput : super::super::Foundation:: HANDLE , dwflags : u32 , lpnewscreenbufferdimensions : *mut COORD ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleDisplayMode ( hconsoleoutput : super::super::Foundation:: HANDLE , dwflags : u32 , lpnewscreenbufferdimensions : *mut COORD ) -> super::super::Foundation:: BOOL ); SetConsoleDisplayMode(hconsoleoutput.into(), dwflags, ::core::mem::transmute(lpnewscreenbufferdimensions.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetConsoleHistoryInfo(lpconsolehistoryinfo: *const CONSOLE_HISTORY_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleHistoryInfo ( lpconsolehistoryinfo : *const CONSOLE_HISTORY_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleHistoryInfo ( lpconsolehistoryinfo : *const CONSOLE_HISTORY_INFO ) -> super::super::Foundation:: BOOL ); SetConsoleHistoryInfo(lpconsolehistoryinfo) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -641,7 +641,7 @@ pub unsafe fn SetConsoleMode(hconsolehandle: P0, dwmode: CONSOLE_MODE) -> su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleMode ( hconsolehandle : super::super::Foundation:: HANDLE , dwmode : CONSOLE_MODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleMode ( hconsolehandle : super::super::Foundation:: HANDLE , dwmode : CONSOLE_MODE ) -> super::super::Foundation:: BOOL ); SetConsoleMode(hconsolehandle.into(), dwmode) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -651,7 +651,7 @@ pub unsafe fn SetConsoleNumberOfCommandsA(number: u32, exename: P0) -> super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleNumberOfCommandsA ( number : u32 , exename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleNumberOfCommandsA ( number : u32 , exename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetConsoleNumberOfCommandsA(number, exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -661,14 +661,14 @@ pub unsafe fn SetConsoleNumberOfCommandsW(number: u32, exename: P0) -> super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleNumberOfCommandsW ( number : u32 , exename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleNumberOfCommandsW ( number : u32 , exename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetConsoleNumberOfCommandsW(number, exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetConsoleOutputCP(wcodepageid: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleOutputCP ( wcodepageid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleOutputCP ( wcodepageid : u32 ) -> super::super::Foundation:: BOOL ); SetConsoleOutputCP(wcodepageid) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -678,7 +678,7 @@ pub unsafe fn SetConsoleScreenBufferInfoEx(hconsoleoutput: P0, lpconsolescre where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleScreenBufferInfoEx ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfoex : *const CONSOLE_SCREEN_BUFFER_INFOEX ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleScreenBufferInfoEx ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfoex : *const CONSOLE_SCREEN_BUFFER_INFOEX ) -> super::super::Foundation:: BOOL ); SetConsoleScreenBufferInfoEx(hconsoleoutput.into(), lpconsolescreenbufferinfoex) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -688,7 +688,7 @@ pub unsafe fn SetConsoleScreenBufferSize(hconsoleoutput: P0, dwsize: COORD) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleScreenBufferSize ( hconsoleoutput : super::super::Foundation:: HANDLE , dwsize : COORD ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleScreenBufferSize ( hconsoleoutput : super::super::Foundation:: HANDLE , dwsize : COORD ) -> super::super::Foundation:: BOOL ); SetConsoleScreenBufferSize(hconsoleoutput.into(), ::core::mem::transmute(dwsize)) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -698,7 +698,7 @@ pub unsafe fn SetConsoleTextAttribute(hconsoleoutput: P0, wattributes: CONSO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleTextAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , wattributes : CONSOLE_CHARACTER_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleTextAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , wattributes : CONSOLE_CHARACTER_ATTRIBUTES ) -> super::super::Foundation:: BOOL ); SetConsoleTextAttribute(hconsoleoutput.into(), wattributes) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -708,7 +708,7 @@ pub unsafe fn SetConsoleTitleA(lpconsoletitle: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleTitleA ( lpconsoletitle : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleTitleA ( lpconsoletitle : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetConsoleTitleA(lpconsoletitle.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -718,7 +718,7 @@ pub unsafe fn SetConsoleTitleW(lpconsoletitle: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleTitleW ( lpconsoletitle : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleTitleW ( lpconsoletitle : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetConsoleTitleW(lpconsoletitle.into().abi()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -729,7 +729,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetConsoleWindowInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , babsolute : super::super::Foundation:: BOOL , lpconsolewindow : *const SMALL_RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetConsoleWindowInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , babsolute : super::super::Foundation:: BOOL , lpconsolewindow : *const SMALL_RECT ) -> super::super::Foundation:: BOOL ); SetConsoleWindowInfo(hconsoleoutput.into(), babsolute.into(), lpconsolewindow) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -740,7 +740,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCurrentConsoleFontEx ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfontex : *const CONSOLE_FONT_INFOEX ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCurrentConsoleFontEx ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfontex : *const CONSOLE_FONT_INFOEX ) -> super::super::Foundation:: BOOL ); SetCurrentConsoleFontEx(hconsoleoutput.into(), bmaximumwindow.into(), lpconsolecurrentfontex) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -750,7 +750,7 @@ pub unsafe fn SetStdHandle(nstdhandle: STD_HANDLE, hhandle: P0) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetStdHandle ( nstdhandle : STD_HANDLE , hhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetStdHandle ( nstdhandle : STD_HANDLE , hhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetStdHandle(nstdhandle, hhandle.into()) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -760,7 +760,7 @@ pub unsafe fn SetStdHandleEx(nstdhandle: STD_HANDLE, hhandle: P0, phprevvalu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetStdHandleEx ( nstdhandle : STD_HANDLE , hhandle : super::super::Foundation:: HANDLE , phprevvalue : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetStdHandleEx ( nstdhandle : STD_HANDLE , hhandle : super::super::Foundation:: HANDLE , phprevvalue : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetStdHandleEx(nstdhandle, hhandle.into(), ::core::mem::transmute(phprevvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -770,7 +770,7 @@ pub unsafe fn WriteConsoleA(hconsoleoutput: P0, lpbuffer: &[u8], lpnumberofc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *const ::core::ffi::c_void , nnumberofcharstowrite : u32 , lpnumberofcharswritten : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *const ::core::ffi::c_void , nnumberofcharstowrite : u32 , lpnumberofcharswritten : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WriteConsoleA(hconsoleoutput.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, ::core::mem::transmute(lpnumberofcharswritten.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -780,7 +780,7 @@ pub unsafe fn WriteConsoleInputA(hconsoleinput: P0, lpbuffer: &[INPUT_RECORD where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *const INPUT_RECORD , nlength : u32 , lpnumberofeventswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *const INPUT_RECORD , nlength : u32 , lpnumberofeventswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); WriteConsoleInputA(hconsoleinput.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpnumberofeventswritten) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -790,7 +790,7 @@ pub unsafe fn WriteConsoleInputW(hconsoleinput: P0, lpbuffer: &[INPUT_RECORD where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *const INPUT_RECORD , nlength : u32 , lpnumberofeventswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : *const INPUT_RECORD , nlength : u32 , lpnumberofeventswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); WriteConsoleInputW(hconsoleinput.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, lpnumberofeventswritten) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -800,7 +800,7 @@ pub unsafe fn WriteConsoleOutputA(hconsoleoutput: P0, lpbuffer: *const CHAR_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleOutputA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *const CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpwriteregion : *mut SMALL_RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleOutputA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *const CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpwriteregion : *mut SMALL_RECT ) -> super::super::Foundation:: BOOL ); WriteConsoleOutputA(hconsoleoutput.into(), lpbuffer, ::core::mem::transmute(dwbuffersize), ::core::mem::transmute(dwbuffercoord), lpwriteregion) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -810,7 +810,7 @@ pub unsafe fn WriteConsoleOutputAttribute(hconsoleoutput: P0, lpattribute: & where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , lpattribute : *const u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofattrswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , lpattribute : *const u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofattrswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); WriteConsoleOutputAttribute(hconsoleoutput.into(), ::core::mem::transmute(lpattribute.as_ptr()), lpattribute.len() as _, ::core::mem::transmute(dwwritecoord), lpnumberofattrswritten) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -820,7 +820,7 @@ pub unsafe fn WriteConsoleOutputCharacterA(hconsoleoutput: P0, lpcharacter: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : :: windows::core::PCSTR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : :: windows::core::PCSTR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); WriteConsoleOutputCharacterA(hconsoleoutput.into(), ::core::mem::transmute(lpcharacter.as_ptr()), lpcharacter.len() as _, ::core::mem::transmute(dwwritecoord), lpnumberofcharswritten) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -830,7 +830,7 @@ pub unsafe fn WriteConsoleOutputCharacterW(hconsoleoutput: P0, lpcharacter: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : :: windows::core::PCWSTR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : :: windows::core::PCWSTR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); WriteConsoleOutputCharacterW(hconsoleoutput.into(), ::core::mem::transmute(lpcharacter.as_ptr()), lpcharacter.len() as _, ::core::mem::transmute(dwwritecoord), lpnumberofcharswritten) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -840,7 +840,7 @@ pub unsafe fn WriteConsoleOutputW(hconsoleoutput: P0, lpbuffer: *const CHAR_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleOutputW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *const CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpwriteregion : *mut SMALL_RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleOutputW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *const CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpwriteregion : *mut SMALL_RECT ) -> super::super::Foundation:: BOOL ); WriteConsoleOutputW(hconsoleoutput.into(), lpbuffer, ::core::mem::transmute(dwbuffersize), ::core::mem::transmute(dwbuffercoord), lpwriteregion) } #[doc = "*Required features: `\"Win32_System_Console\"`, `\"Win32_Foundation\"`*"] @@ -850,7 +850,7 @@ pub unsafe fn WriteConsoleW(hconsoleoutput: P0, lpbuffer: &[u8], lpnumberofc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteConsoleW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *const ::core::ffi::c_void , nnumberofcharstowrite : u32 , lpnumberofcharswritten : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteConsoleW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : *const ::core::ffi::c_void , nnumberofcharstowrite : u32 , lpnumberofcharswritten : *mut u32 , lpreserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WriteConsoleW(hconsoleoutput.into(), ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _, ::core::mem::transmute(lpnumberofcharswritten.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Console\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs index 2824f39c7f..24249b27d3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs @@ -12,7 +12,7 @@ impl IContact { (::windows::core::Vtable::vtable(self).CommitChanges)(::windows::core::Vtable::as_raw(self), dwcommitflags).ok() } } -::windows::core::interface_hierarchy!(IContact, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContact, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContact { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -86,7 +86,7 @@ impl IContactAggregationAggregate { (::windows::core::Vtable::vtable(self).Id)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactAggregationAggregate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationAggregate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationAggregate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -147,7 +147,7 @@ impl IContactAggregationAggregateCollection { (::windows::core::Vtable::vtable(self).Count)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactAggregationAggregateCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationAggregateCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationAggregateCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -260,7 +260,7 @@ impl IContactAggregationContact { (::windows::core::Vtable::vtable(self).SetSyncIdentityHash)(::windows::core::Vtable::as_raw(self), psyncidentityhash).ok() } } -::windows::core::interface_hierarchy!(IContactAggregationContact, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationContact, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationContact { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -345,7 +345,7 @@ impl IContactAggregationContactCollection { (::windows::core::Vtable::vtable(self).FindFirstByRemoteId)(::windows::core::Vtable::as_raw(self), psourcetype.into().abi(), paccountid.into().abi(), premoteobjectid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactAggregationContactCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationContactCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationContactCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -426,7 +426,7 @@ impl IContactAggregationGroup { (::windows::core::Vtable::vtable(self).SetName)(::windows::core::Vtable::as_raw(self), pname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IContactAggregationGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -485,7 +485,7 @@ impl IContactAggregationGroupCollection { (::windows::core::Vtable::vtable(self).Count)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactAggregationGroupCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationGroupCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationGroupCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -600,7 +600,7 @@ impl IContactAggregationLink { (::windows::core::Vtable::vtable(self).SetSyncIdentityHash)(::windows::core::Vtable::as_raw(self), psyncidentityhash).ok() } } -::windows::core::interface_hierarchy!(IContactAggregationLink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationLink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationLink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -676,7 +676,7 @@ impl IContactAggregationLinkCollection { (::windows::core::Vtable::vtable(self).Count)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactAggregationLinkCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationLinkCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationLinkCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -790,7 +790,7 @@ impl IContactAggregationManager { (::windows::core::Vtable::vtable(self).get_ServerContactLinks)(::windows::core::Vtable::as_raw(self), ppersonitemid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactAggregationManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -943,7 +943,7 @@ impl IContactAggregationServerPerson { (::windows::core::Vtable::vtable(self).SetObjectId)(::windows::core::Vtable::as_raw(self), pobjectid.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IContactAggregationServerPerson, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationServerPerson, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationServerPerson { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1038,7 +1038,7 @@ impl IContactAggregationServerPersonCollection { (::windows::core::Vtable::vtable(self).Count)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactAggregationServerPersonCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactAggregationServerPersonCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactAggregationServerPersonCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1087,7 +1087,7 @@ impl IContactCollection { (::windows::core::Vtable::vtable(self).GetCurrent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1158,7 +1158,7 @@ impl IContactManager { (::windows::core::Vtable::vtable(self).GetContactCollection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContactManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1292,7 +1292,7 @@ impl IContactProperties { (::windows::core::Vtable::vtable(self).GetPropertyCollection)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pppropertycollection), dwflags, pszmultivaluename.into().abi(), ppszlabels.len() as _, ::core::mem::transmute(ppszlabels.as_ptr()), fanylabelmatches.into()).ok() } } -::windows::core::interface_hierarchy!(IContactProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1379,7 +1379,7 @@ impl IContactPropertyCollection { (::windows::core::Vtable::vtable(self).GetPropertyArrayElementID)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pszarrayelementid.as_ptr()), pszarrayelementid.len() as _, pdwccharrayelementidrequired).ok() } } -::windows::core::interface_hierarchy!(IContactPropertyCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactPropertyCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactPropertyCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/CorrelationVector/mod.rs b/crates/libs/windows/src/Windows/Win32/System/CorrelationVector/mod.rs index 9023a774bb..7426a2687d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/CorrelationVector/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/CorrelationVector/mod.rs @@ -2,28 +2,28 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlExtendCorrelationVector(correlationvector: *mut CORRELATION_VECTOR) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlExtendCorrelationVector ( correlationvector : *mut CORRELATION_VECTOR ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlExtendCorrelationVector ( correlationvector : *mut CORRELATION_VECTOR ) -> u32 ); RtlExtendCorrelationVector(correlationvector) } #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlIncrementCorrelationVector(correlationvector: *mut CORRELATION_VECTOR) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIncrementCorrelationVector ( correlationvector : *mut CORRELATION_VECTOR ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIncrementCorrelationVector ( correlationvector : *mut CORRELATION_VECTOR ) -> u32 ); RtlIncrementCorrelationVector(correlationvector) } #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlInitializeCorrelationVector(correlationvector: *mut CORRELATION_VECTOR, version: i32, guid: ::core::option::Option<*const ::windows::core::GUID>) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInitializeCorrelationVector ( correlationvector : *mut CORRELATION_VECTOR , version : i32 , guid : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitializeCorrelationVector ( correlationvector : *mut CORRELATION_VECTOR , version : i32 , guid : *const :: windows::core::GUID ) -> u32 ); RtlInitializeCorrelationVector(correlationvector, version, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlValidateCorrelationVector(vector: *const CORRELATION_VECTOR) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlValidateCorrelationVector ( vector : *const CORRELATION_VECTOR ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlValidateCorrelationVector ( vector : *const CORRELATION_VECTOR ) -> u32 ); RtlValidateCorrelationVector(vector) } #[doc = "*Required features: `\"Win32_System_CorrelationVector\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/DataExchange/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DataExchange/mod.rs index 97ec01c5ab..623967bff7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DataExchange/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DataExchange/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn AddAtomA(lpstring: P0) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddAtomA ( lpstring : :: windows::core::PCSTR ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddAtomA ( lpstring : :: windows::core::PCSTR ) -> u16 ); AddAtomA(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -13,7 +13,7 @@ pub unsafe fn AddAtomW(lpstring: P0) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddAtomW ( lpstring : :: windows::core::PCWSTR ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddAtomW ( lpstring : :: windows::core::PCWSTR ) -> u16 ); AddAtomW(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -23,7 +23,7 @@ pub unsafe fn AddClipboardFormatListener(hwnd: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn AddClipboardFormatListener ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AddClipboardFormatListener ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); AddClipboardFormatListener(hwnd.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -34,20 +34,20 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ChangeClipboardChain ( hwndremove : super::super::Foundation:: HWND , hwndnewnext : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeClipboardChain ( hwndremove : super::super::Foundation:: HWND , hwndnewnext : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); ChangeClipboardChain(hwndremove.into(), hwndnewnext.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseClipboard() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn CloseClipboard ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CloseClipboard ( ) -> super::super::Foundation:: BOOL ); CloseClipboard() } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn CountClipboardFormats() -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn CountClipboardFormats ( ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn CountClipboardFormats ( ) -> i32 ); CountClipboardFormats() } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn DdeAbandonTransaction(idinst: u32, hconv: P0, idtransaction: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeAbandonTransaction ( idinst : u32 , hconv : HCONV , idtransaction : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeAbandonTransaction ( idinst : u32 , hconv : HCONV , idtransaction : u32 ) -> super::super::Foundation:: BOOL ); DdeAbandonTransaction(idinst, hconv.into(), idtransaction) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -66,7 +66,7 @@ pub unsafe fn DdeAccessData(hdata: P0, pcbdatasize: ::core::option::Option<* where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeAccessData ( hdata : HDDEDATA , pcbdatasize : *mut u32 ) -> *mut u8 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeAccessData ( hdata : HDDEDATA , pcbdatasize : *mut u32 ) -> *mut u8 ); DdeAccessData(hdata.into(), ::core::mem::transmute(pcbdatasize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -75,7 +75,7 @@ pub unsafe fn DdeAddData(hdata: P0, psrc: &[u8], cboff: u32) -> HDDEDATA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeAddData ( hdata : HDDEDATA , psrc : *const u8 , cb : u32 , cboff : u32 ) -> HDDEDATA ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeAddData ( hdata : HDDEDATA , psrc : *const u8 , cb : u32 , cboff : u32 ) -> HDDEDATA ); DdeAddData(hdata.into(), ::core::mem::transmute(psrc.as_ptr()), psrc.len() as _, cboff) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -85,7 +85,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeClientTransaction ( pdata : *const u8 , cbdata : u32 , hconv : HCONV , hszitem : HSZ , wfmt : u32 , wtype : DDE_CLIENT_TRANSACTION_TYPE , dwtimeout : u32 , pdwresult : *mut u32 ) -> HDDEDATA ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeClientTransaction ( pdata : *const u8 , cbdata : u32 , hconv : HCONV , hszitem : HSZ , wfmt : u32 , wtype : DDE_CLIENT_TRANSACTION_TYPE , dwtimeout : u32 , pdwresult : *mut u32 ) -> HDDEDATA ); DdeClientTransaction(::core::mem::transmute(pdata.unwrap_or(::std::ptr::null())), cbdata, hconv.into(), hszitem.into(), wfmt, wtype, dwtimeout, ::core::mem::transmute(pdwresult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -95,7 +95,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeCmpStringHandles ( hsz1 : HSZ , hsz2 : HSZ ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeCmpStringHandles ( hsz1 : HSZ , hsz2 : HSZ ) -> i32 ); DdeCmpStringHandles(hsz1.into(), hsz2.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -106,7 +106,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeConnect ( idinst : u32 , hszservice : HSZ , hsztopic : HSZ , pcc : *const CONVCONTEXT ) -> HCONV ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeConnect ( idinst : u32 , hszservice : HSZ , hsztopic : HSZ , pcc : *const CONVCONTEXT ) -> HCONV ); DdeConnect(idinst, hszservice.into(), hsztopic.into(), ::core::mem::transmute(pcc.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -118,7 +118,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeConnectList ( idinst : u32 , hszservice : HSZ , hsztopic : HSZ , hconvlist : HCONVLIST , pcc : *const CONVCONTEXT ) -> HCONVLIST ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeConnectList ( idinst : u32 , hszservice : HSZ , hsztopic : HSZ , hconvlist : HCONVLIST , pcc : *const CONVCONTEXT ) -> HCONVLIST ); DdeConnectList(idinst, hszservice.into(), hsztopic.into(), hconvlist.into(), ::core::mem::transmute(pcc.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -127,7 +127,7 @@ pub unsafe fn DdeCreateDataHandle(idinst: u32, psrc: ::core::option::Option< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeCreateDataHandle ( idinst : u32 , psrc : *const u8 , cb : u32 , cboff : u32 , hszitem : HSZ , wfmt : u32 , afcmd : u32 ) -> HDDEDATA ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeCreateDataHandle ( idinst : u32 , psrc : *const u8 , cb : u32 , cboff : u32 , hszitem : HSZ , wfmt : u32 , afcmd : u32 ) -> HDDEDATA ); DdeCreateDataHandle(idinst, ::core::mem::transmute(psrc.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psrc.as_deref().map_or(0, |slice| slice.len() as _), cboff, hszitem.into(), wfmt, afcmd) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -136,7 +136,7 @@ pub unsafe fn DdeCreateStringHandleA(idinst: u32, psz: P0, icodepage: i32) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn DdeCreateStringHandleA ( idinst : u32 , psz : :: windows::core::PCSTR , icodepage : i32 ) -> HSZ ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeCreateStringHandleA ( idinst : u32 , psz : :: windows::core::PCSTR , icodepage : i32 ) -> HSZ ); DdeCreateStringHandleA(idinst, psz.into().abi(), icodepage) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -145,7 +145,7 @@ pub unsafe fn DdeCreateStringHandleW(idinst: u32, psz: P0, icodepage: i32) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn DdeCreateStringHandleW ( idinst : u32 , psz : :: windows::core::PCWSTR , icodepage : i32 ) -> HSZ ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeCreateStringHandleW ( idinst : u32 , psz : :: windows::core::PCWSTR , icodepage : i32 ) -> HSZ ); DdeCreateStringHandleW(idinst, psz.into().abi(), icodepage) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -155,7 +155,7 @@ pub unsafe fn DdeDisconnect(hconv: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeDisconnect ( hconv : HCONV ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeDisconnect ( hconv : HCONV ) -> super::super::Foundation:: BOOL ); DdeDisconnect(hconv.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -165,7 +165,7 @@ pub unsafe fn DdeDisconnectList(hconvlist: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeDisconnectList ( hconvlist : HCONVLIST ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeDisconnectList ( hconvlist : HCONVLIST ) -> super::super::Foundation:: BOOL ); DdeDisconnectList(hconvlist.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -175,7 +175,7 @@ pub unsafe fn DdeEnableCallback(idinst: u32, hconv: P0, wcmd: DDE_ENABLE_CAL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeEnableCallback ( idinst : u32 , hconv : HCONV , wcmd : DDE_ENABLE_CALLBACK_CMD ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeEnableCallback ( idinst : u32 , hconv : HCONV , wcmd : DDE_ENABLE_CALLBACK_CMD ) -> super::super::Foundation:: BOOL ); DdeEnableCallback(idinst, hconv.into(), wcmd) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -185,7 +185,7 @@ pub unsafe fn DdeFreeDataHandle(hdata: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeFreeDataHandle ( hdata : HDDEDATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeFreeDataHandle ( hdata : HDDEDATA ) -> super::super::Foundation:: BOOL ); DdeFreeDataHandle(hdata.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -195,7 +195,7 @@ pub unsafe fn DdeFreeStringHandle(idinst: u32, hsz: P0) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeFreeStringHandle ( idinst : u32 , hsz : HSZ ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeFreeStringHandle ( idinst : u32 , hsz : HSZ ) -> super::super::Foundation:: BOOL ); DdeFreeStringHandle(idinst, hsz.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -204,13 +204,13 @@ pub unsafe fn DdeGetData(hdata: P0, pdst: ::core::option::Option<&mut [u8]>, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeGetData ( hdata : HDDEDATA , pdst : *mut u8 , cbmax : u32 , cboff : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeGetData ( hdata : HDDEDATA , pdst : *mut u8 , cbmax : u32 , cboff : u32 ) -> u32 ); DdeGetData(hdata.into(), ::core::mem::transmute(pdst.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdst.as_deref().map_or(0, |slice| slice.len() as _), cboff) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn DdeGetLastError(idinst: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn DdeGetLastError ( idinst : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeGetLastError ( idinst : u32 ) -> u32 ); DdeGetLastError(idinst) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -220,19 +220,19 @@ pub unsafe fn DdeImpersonateClient(hconv: P0) -> super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeImpersonateClient ( hconv : HCONV ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeImpersonateClient ( hconv : HCONV ) -> super::super::Foundation:: BOOL ); DdeImpersonateClient(hconv.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn DdeInitializeA(pidinst: *mut u32, pfncallback: PFNCALLBACK, afcmd: DDE_INITIALIZE_COMMAND, ulres: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn DdeInitializeA ( pidinst : *mut u32 , pfncallback : PFNCALLBACK , afcmd : DDE_INITIALIZE_COMMAND , ulres : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeInitializeA ( pidinst : *mut u32 , pfncallback : PFNCALLBACK , afcmd : DDE_INITIALIZE_COMMAND , ulres : u32 ) -> u32 ); DdeInitializeA(pidinst, pfncallback, afcmd, ulres) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn DdeInitializeW(pidinst: *mut u32, pfncallback: PFNCALLBACK, afcmd: DDE_INITIALIZE_COMMAND, ulres: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn DdeInitializeW ( pidinst : *mut u32 , pfncallback : PFNCALLBACK , afcmd : DDE_INITIALIZE_COMMAND , ulres : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeInitializeW ( pidinst : *mut u32 , pfncallback : PFNCALLBACK , afcmd : DDE_INITIALIZE_COMMAND , ulres : u32 ) -> u32 ); DdeInitializeW(pidinst, pfncallback, afcmd, ulres) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -242,7 +242,7 @@ pub unsafe fn DdeKeepStringHandle(idinst: u32, hsz: P0) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeKeepStringHandle ( idinst : u32 , hsz : HSZ ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeKeepStringHandle ( idinst : u32 , hsz : HSZ ) -> super::super::Foundation:: BOOL ); DdeKeepStringHandle(idinst, hsz.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -252,7 +252,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeNameService ( idinst : u32 , hsz1 : HSZ , hsz2 : HSZ , afcmd : DDE_NAME_SERVICE_CMD ) -> HDDEDATA ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeNameService ( idinst : u32 , hsz1 : HSZ , hsz2 : HSZ , afcmd : DDE_NAME_SERVICE_CMD ) -> HDDEDATA ); DdeNameService(idinst, hsz1.into(), hsz2.into(), afcmd) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -263,7 +263,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdePostAdvise ( idinst : u32 , hsztopic : HSZ , hszitem : HSZ ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdePostAdvise ( idinst : u32 , hsztopic : HSZ , hszitem : HSZ ) -> super::super::Foundation:: BOOL ); DdePostAdvise(idinst, hsztopic.into(), hszitem.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -273,7 +273,7 @@ pub unsafe fn DdeQueryConvInfo(hconv: P0, idtransaction: u32, pconvinfo: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeQueryConvInfo ( hconv : HCONV , idtransaction : u32 , pconvinfo : *mut CONVINFO ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeQueryConvInfo ( hconv : HCONV , idtransaction : u32 , pconvinfo : *mut CONVINFO ) -> u32 ); DdeQueryConvInfo(hconv.into(), idtransaction, pconvinfo) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -283,7 +283,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeQueryNextServer ( hconvlist : HCONVLIST , hconvprev : HCONV ) -> HCONV ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeQueryNextServer ( hconvlist : HCONVLIST , hconvprev : HCONV ) -> HCONV ); DdeQueryNextServer(hconvlist.into(), hconvprev.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -292,7 +292,7 @@ pub unsafe fn DdeQueryStringA(idinst: u32, hsz: P0, psz: ::core::option::Opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeQueryStringA ( idinst : u32 , hsz : HSZ , psz : :: windows::core::PSTR , cchmax : u32 , icodepage : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeQueryStringA ( idinst : u32 , hsz : HSZ , psz : :: windows::core::PSTR , cchmax : u32 , icodepage : i32 ) -> u32 ); DdeQueryStringA(idinst, hsz.into(), ::core::mem::transmute(psz.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psz.as_deref().map_or(0, |slice| slice.len() as _), icodepage) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -301,7 +301,7 @@ pub unsafe fn DdeQueryStringW(idinst: u32, hsz: P0, psz: ::core::option::Opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeQueryStringW ( idinst : u32 , hsz : HSZ , psz : :: windows::core::PWSTR , cchmax : u32 , icodepage : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeQueryStringW ( idinst : u32 , hsz : HSZ , psz : :: windows::core::PWSTR , cchmax : u32 , icodepage : i32 ) -> u32 ); DdeQueryStringW(idinst, hsz.into(), ::core::mem::transmute(psz.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psz.as_deref().map_or(0, |slice| slice.len() as _), icodepage) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -310,7 +310,7 @@ pub unsafe fn DdeReconnect(hconv: P0) -> HCONV where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeReconnect ( hconv : HCONV ) -> HCONV ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeReconnect ( hconv : HCONV ) -> HCONV ); DdeReconnect(hconv.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -320,7 +320,7 @@ pub unsafe fn DdeSetQualityOfService(hwndclient: P0, pqosnew: *const super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeSetQualityOfService ( hwndclient : super::super::Foundation:: HWND , pqosnew : *const super::super::Security:: SECURITY_QUALITY_OF_SERVICE , pqosprev : *mut super::super::Security:: SECURITY_QUALITY_OF_SERVICE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeSetQualityOfService ( hwndclient : super::super::Foundation:: HWND , pqosnew : *const super::super::Security:: SECURITY_QUALITY_OF_SERVICE , pqosprev : *mut super::super::Security:: SECURITY_QUALITY_OF_SERVICE ) -> super::super::Foundation:: BOOL ); DdeSetQualityOfService(hwndclient.into(), pqosnew, pqosprev) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -330,7 +330,7 @@ pub unsafe fn DdeSetUserHandle(hconv: P0, id: u32, huser: usize) -> super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeSetUserHandle ( hconv : HCONV , id : u32 , huser : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeSetUserHandle ( hconv : HCONV , id : u32 , huser : usize ) -> super::super::Foundation:: BOOL ); DdeSetUserHandle(hconv.into(), id, huser) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -340,33 +340,33 @@ pub unsafe fn DdeUnaccessData(hdata: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DdeUnaccessData ( hdata : HDDEDATA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeUnaccessData ( hdata : HDDEDATA ) -> super::super::Foundation:: BOOL ); DdeUnaccessData(hdata.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DdeUninitialize(idinst: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn DdeUninitialize ( idinst : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DdeUninitialize ( idinst : u32 ) -> super::super::Foundation:: BOOL ); DdeUninitialize(idinst) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn DeleteAtom(natom: u16) -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteAtom ( natom : u16 ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteAtom ( natom : u16 ) -> u16 ); DeleteAtom(natom) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EmptyClipboard() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn EmptyClipboard ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EmptyClipboard ( ) -> super::super::Foundation:: BOOL ); EmptyClipboard() } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn EnumClipboardFormats(format: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn EnumClipboardFormats ( format : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumClipboardFormats ( format : u32 ) -> u32 ); EnumClipboardFormats(format) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -375,7 +375,7 @@ pub unsafe fn FindAtomA(lpstring: P0) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindAtomA ( lpstring : :: windows::core::PCSTR ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindAtomA ( lpstring : :: windows::core::PCSTR ) -> u16 ); FindAtomA(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -384,7 +384,7 @@ pub unsafe fn FindAtomW(lpstring: P0) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindAtomW ( lpstring : :: windows::core::PCWSTR ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindAtomW ( lpstring : :: windows::core::PCWSTR ) -> u16 ); FindAtomW(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -394,79 +394,79 @@ pub unsafe fn FreeDDElParam(msg: u32, lparam: P0) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn FreeDDElParam ( msg : u32 , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn FreeDDElParam ( msg : u32 , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); FreeDDElParam(msg, lparam.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GetAtomNameA(natom: u16, lpbuffer: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetAtomNameA ( natom : u16 , lpbuffer : :: windows::core::PSTR , nsize : i32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetAtomNameA ( natom : u16 , lpbuffer : :: windows::core::PSTR , nsize : i32 ) -> u32 ); GetAtomNameA(natom, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GetAtomNameW(natom: u16, lpbuffer: &mut [u16]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetAtomNameW ( natom : u16 , lpbuffer : :: windows::core::PWSTR , nsize : i32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetAtomNameW ( natom : u16 , lpbuffer : :: windows::core::PWSTR , nsize : i32 ) -> u32 ); GetAtomNameW(natom, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetClipboardData(uformat: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn GetClipboardData ( uformat : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClipboardData ( uformat : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = GetClipboardData(uformat); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GetClipboardFormatNameA(format: u32, lpszformatname: &mut [u8]) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetClipboardFormatNameA ( format : u32 , lpszformatname : :: windows::core::PSTR , cchmaxcount : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClipboardFormatNameA ( format : u32 , lpszformatname : :: windows::core::PSTR , cchmaxcount : i32 ) -> i32 ); GetClipboardFormatNameA(format, ::core::mem::transmute(lpszformatname.as_ptr()), lpszformatname.len() as _) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GetClipboardFormatNameW(format: u32, lpszformatname: &mut [u16]) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetClipboardFormatNameW ( format : u32 , lpszformatname : :: windows::core::PWSTR , cchmaxcount : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClipboardFormatNameW ( format : u32 , lpszformatname : :: windows::core::PWSTR , cchmaxcount : i32 ) -> i32 ); GetClipboardFormatNameW(format, ::core::mem::transmute(lpszformatname.as_ptr()), lpszformatname.len() as _) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetClipboardOwner() -> super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetClipboardOwner ( ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClipboardOwner ( ) -> super::super::Foundation:: HWND ); GetClipboardOwner() } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GetClipboardSequenceNumber() -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetClipboardSequenceNumber ( ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClipboardSequenceNumber ( ) -> u32 ); GetClipboardSequenceNumber() } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetClipboardViewer() -> super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetClipboardViewer ( ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClipboardViewer ( ) -> super::super::Foundation:: HWND ); GetClipboardViewer() } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetOpenClipboardWindow() -> super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetOpenClipboardWindow ( ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetOpenClipboardWindow ( ) -> super::super::Foundation:: HWND ); GetOpenClipboardWindow() } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GetPriorityClipboardFormat(paformatprioritylist: &[u32]) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetPriorityClipboardFormat ( paformatprioritylist : *const u32 , cformats : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPriorityClipboardFormat ( paformatprioritylist : *const u32 , cformats : i32 ) -> i32 ); GetPriorityClipboardFormat(::core::mem::transmute(paformatprioritylist.as_ptr()), paformatprioritylist.len() as _) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUpdatedClipboardFormats(lpuiformats: &mut [u32], pcformatsout: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetUpdatedClipboardFormats ( lpuiformats : *mut u32 , cformats : u32 , pcformatsout : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetUpdatedClipboardFormats ( lpuiformats : *mut u32 , cformats : u32 , pcformatsout : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUpdatedClipboardFormats(::core::mem::transmute(lpuiformats.as_ptr()), lpuiformats.len() as _, pcformatsout) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -475,7 +475,7 @@ pub unsafe fn GlobalAddAtomA(lpstring: P0) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalAddAtomA ( lpstring : :: windows::core::PCSTR ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalAddAtomA ( lpstring : :: windows::core::PCSTR ) -> u16 ); GlobalAddAtomA(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -484,7 +484,7 @@ pub unsafe fn GlobalAddAtomExA(lpstring: P0, flags: u32) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalAddAtomExA ( lpstring : :: windows::core::PCSTR , flags : u32 ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalAddAtomExA ( lpstring : :: windows::core::PCSTR , flags : u32 ) -> u16 ); GlobalAddAtomExA(lpstring.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -493,7 +493,7 @@ pub unsafe fn GlobalAddAtomExW(lpstring: P0, flags: u32) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalAddAtomExW ( lpstring : :: windows::core::PCWSTR , flags : u32 ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalAddAtomExW ( lpstring : :: windows::core::PCWSTR , flags : u32 ) -> u16 ); GlobalAddAtomExW(lpstring.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -502,13 +502,13 @@ pub unsafe fn GlobalAddAtomW(lpstring: P0) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalAddAtomW ( lpstring : :: windows::core::PCWSTR ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalAddAtomW ( lpstring : :: windows::core::PCWSTR ) -> u16 ); GlobalAddAtomW(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GlobalDeleteAtom(natom: u16) -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalDeleteAtom ( natom : u16 ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalDeleteAtom ( natom : u16 ) -> u16 ); GlobalDeleteAtom(natom) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -517,7 +517,7 @@ pub unsafe fn GlobalFindAtomA(lpstring: P0) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalFindAtomA ( lpstring : :: windows::core::PCSTR ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalFindAtomA ( lpstring : :: windows::core::PCSTR ) -> u16 ); GlobalFindAtomA(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -526,19 +526,19 @@ pub unsafe fn GlobalFindAtomW(lpstring: P0) -> u16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalFindAtomW ( lpstring : :: windows::core::PCWSTR ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalFindAtomW ( lpstring : :: windows::core::PCWSTR ) -> u16 ); GlobalFindAtomW(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GlobalGetAtomNameA(natom: u16, lpbuffer: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalGetAtomNameA ( natom : u16 , lpbuffer : :: windows::core::PSTR , nsize : i32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalGetAtomNameA ( natom : u16 , lpbuffer : :: windows::core::PSTR , nsize : i32 ) -> u32 ); GlobalGetAtomNameA(natom, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] #[inline] pub unsafe fn GlobalGetAtomNameW(natom: u16, lpbuffer: &mut [u16]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalGetAtomNameW ( natom : u16 , lpbuffer : :: windows::core::PWSTR , nsize : i32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalGetAtomNameW ( natom : u16 , lpbuffer : :: windows::core::PWSTR , nsize : i32 ) -> u32 ); GlobalGetAtomNameW(natom, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -549,21 +549,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ImpersonateDdeClientWindow ( hwndclient : super::super::Foundation:: HWND , hwndserver : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ImpersonateDdeClientWindow ( hwndclient : super::super::Foundation:: HWND , hwndserver : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); ImpersonateDdeClientWindow(hwndclient.into(), hwndserver.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitAtomTable(nsize: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitAtomTable ( nsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitAtomTable ( nsize : u32 ) -> super::super::Foundation:: BOOL ); InitAtomTable(nsize) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsClipboardFormatAvailable(format: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsClipboardFormatAvailable ( format : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsClipboardFormatAvailable ( format : u32 ) -> super::super::Foundation:: BOOL ); IsClipboardFormatAvailable(format) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -573,14 +573,14 @@ pub unsafe fn OpenClipboard(hwndnewowner: P0) -> super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn OpenClipboard ( hwndnewowner : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn OpenClipboard ( hwndnewowner : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); OpenClipboard(hwndnewowner.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PackDDElParam(msg: u32, uilo: usize, uihi: usize) -> super::super::Foundation::LPARAM { - ::windows::core::link ! ( "user32.dll""system" fn PackDDElParam ( msg : u32 , uilo : usize , uihi : usize ) -> super::super::Foundation:: LPARAM ); + ::windows::imp::link ! ( "user32.dll""system" fn PackDDElParam ( msg : u32 , uilo : usize , uihi : usize ) -> super::super::Foundation:: LPARAM ); PackDDElParam(msg, uilo, uihi) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -589,7 +589,7 @@ pub unsafe fn RegisterClipboardFormatA(lpszformat: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterClipboardFormatA ( lpszformat : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterClipboardFormatA ( lpszformat : :: windows::core::PCSTR ) -> u32 ); RegisterClipboardFormatA(lpszformat.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] @@ -598,7 +598,7 @@ pub unsafe fn RegisterClipboardFormatW(lpszformat: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterClipboardFormatW ( lpszformat : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterClipboardFormatW ( lpszformat : :: windows::core::PCWSTR ) -> u32 ); RegisterClipboardFormatW(lpszformat.into().abi()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -608,7 +608,7 @@ pub unsafe fn RemoveClipboardFormatListener(hwnd: P0) -> super::super::Found where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RemoveClipboardFormatListener ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RemoveClipboardFormatListener ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); RemoveClipboardFormatListener(hwnd.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -618,7 +618,7 @@ pub unsafe fn ReuseDDElParam(lparam: P0, msgin: u32, msgout: u32, uilo: usiz where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ReuseDDElParam ( lparam : super::super::Foundation:: LPARAM , msgin : u32 , msgout : u32 , uilo : usize , uihi : usize ) -> super::super::Foundation:: LPARAM ); + ::windows::imp::link ! ( "user32.dll""system" fn ReuseDDElParam ( lparam : super::super::Foundation:: LPARAM , msgin : u32 , msgout : u32 , uilo : usize , uihi : usize ) -> super::super::Foundation:: LPARAM ); ReuseDDElParam(lparam.into(), msgin, msgout, uilo, uihi) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -628,9 +628,9 @@ pub unsafe fn SetClipboardData(uformat: u32, hmem: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetClipboardData ( uformat : u32 , hmem : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn SetClipboardData ( uformat : u32 , hmem : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ); let result__ = SetClipboardData(uformat, hmem.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -639,7 +639,7 @@ pub unsafe fn SetClipboardViewer(hwndnewviewer: P0) -> super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetClipboardViewer ( hwndnewviewer : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn SetClipboardViewer ( hwndnewviewer : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); SetClipboardViewer(hwndnewviewer.into()) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -649,7 +649,7 @@ pub unsafe fn SetWinMetaFileBits(lpmeta16data: &[u8], hdcref: P0, lpmfp: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetWinMetaFileBits ( nsize : u32 , lpmeta16data : *const u8 , hdcref : super::super::Graphics::Gdi:: HDC , lpmfp : *const METAFILEPICT ) -> super::super::Graphics::Gdi:: HENHMETAFILE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetWinMetaFileBits ( nsize : u32 , lpmeta16data : *const u8 , hdcref : super::super::Graphics::Gdi:: HDC , lpmfp : *const METAFILEPICT ) -> super::super::Graphics::Gdi:: HENHMETAFILE ); SetWinMetaFileBits(lpmeta16data.len() as _, ::core::mem::transmute(lpmeta16data.as_ptr()), hdcref.into(), ::core::mem::transmute(lpmfp.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`, `\"Win32_Foundation\"`*"] @@ -659,7 +659,7 @@ pub unsafe fn UnpackDDElParam(msg: u32, lparam: P0, puilo: *mut usize, puihi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnpackDDElParam ( msg : u32 , lparam : super::super::Foundation:: LPARAM , puilo : *mut usize , puihi : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnpackDDElParam ( msg : u32 , lparam : super::super::Foundation:: LPARAM , puilo : *mut usize , puihi : *mut usize ) -> super::super::Foundation:: BOOL ); UnpackDDElParam(msg, lparam.into(), puilo, puihi) } #[doc = "*Required features: `\"Win32_System_DataExchange\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs index 0b622b59dd..2e8e1aa46b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -5,37 +5,37 @@ pub unsafe fn PxeAsyncRecvDone(hclientrequest: P0, action: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeAsyncRecvDone ( hclientrequest : super::super::Foundation:: HANDLE , action : u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeAsyncRecvDone ( hclientrequest : super::super::Foundation:: HANDLE , action : u32 ) -> u32 ); PxeAsyncRecvDone(hclientrequest.into(), action) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpAppendOption(preplypacket: *mut ::core::ffi::c_void, umaxreplypacketlen: u32, pureplypacketlen: *mut u32, boption: u8, boptionlen: u8, pvalue: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpAppendOption ( preplypacket : *mut ::core::ffi::c_void , umaxreplypacketlen : u32 , pureplypacketlen : *mut u32 , boption : u8 , boptionlen : u8 , pvalue : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpAppendOption ( preplypacket : *mut ::core::ffi::c_void , umaxreplypacketlen : u32 , pureplypacketlen : *mut u32 , boption : u8 , boptionlen : u8 , pvalue : *const ::core::ffi::c_void ) -> u32 ); PxeDhcpAppendOption(preplypacket, umaxreplypacketlen, pureplypacketlen, boption, boptionlen, ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpAppendOptionRaw(preplypacket: *mut ::core::ffi::c_void, umaxreplypacketlen: u32, pureplypacketlen: *mut u32, ubufferlen: u16, pbuffer: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpAppendOptionRaw ( preplypacket : *mut ::core::ffi::c_void , umaxreplypacketlen : u32 , pureplypacketlen : *mut u32 , ubufferlen : u16 , pbuffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpAppendOptionRaw ( preplypacket : *mut ::core::ffi::c_void , umaxreplypacketlen : u32 , pureplypacketlen : *mut u32 , ubufferlen : u16 , pbuffer : *const ::core::ffi::c_void ) -> u32 ); PxeDhcpAppendOptionRaw(preplypacket, umaxreplypacketlen, pureplypacketlen, ubufferlen, pbuffer) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpGetOptionValue(ppacket: *const ::core::ffi::c_void, upacketlen: u32, uinstance: u32, boption: u8, pboptionlen: ::core::option::Option<*mut u8>, ppoptionvalue: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpGetOptionValue ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , uinstance : u32 , boption : u8 , pboptionlen : *mut u8 , ppoptionvalue : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpGetOptionValue ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , uinstance : u32 , boption : u8 , pboptionlen : *mut u8 , ppoptionvalue : *mut *mut ::core::ffi::c_void ) -> u32 ); PxeDhcpGetOptionValue(ppacket, upacketlen, uinstance, boption, ::core::mem::transmute(pboptionlen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppoptionvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpGetVendorOptionValue(ppacket: *const ::core::ffi::c_void, upacketlen: u32, boption: u8, uinstance: u32, pboptionlen: ::core::option::Option<*mut u8>, ppoptionvalue: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpGetVendorOptionValue ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , boption : u8 , uinstance : u32 , pboptionlen : *mut u8 , ppoptionvalue : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpGetVendorOptionValue ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , boption : u8 , uinstance : u32 , pboptionlen : *mut u8 , ppoptionvalue : *mut *mut ::core::ffi::c_void ) -> u32 ); PxeDhcpGetVendorOptionValue(ppacket, upacketlen, boption, uinstance, ::core::mem::transmute(pboptionlen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppoptionvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpInitialize(precvpacket: *const ::core::ffi::c_void, urecvpacketlen: u32, preplypacket: *mut ::core::ffi::c_void, umaxreplypacketlen: u32, pureplypacketlen: *mut u32) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpInitialize ( precvpacket : *const ::core::ffi::c_void , urecvpacketlen : u32 , preplypacket : *mut ::core::ffi::c_void , umaxreplypacketlen : u32 , pureplypacketlen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpInitialize ( precvpacket : *const ::core::ffi::c_void , urecvpacketlen : u32 , preplypacket : *mut ::core::ffi::c_void , umaxreplypacketlen : u32 , pureplypacketlen : *mut u32 ) -> u32 ); PxeDhcpInitialize(precvpacket, urecvpacketlen, preplypacket, umaxreplypacketlen, pureplypacketlen) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -45,43 +45,43 @@ pub unsafe fn PxeDhcpIsValid(ppacket: *const ::core::ffi::c_void, upacketlen where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpIsValid ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , brequestpacket : super::super::Foundation:: BOOL , pbpxeoptionpresent : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpIsValid ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , brequestpacket : super::super::Foundation:: BOOL , pbpxeoptionpresent : *mut super::super::Foundation:: BOOL ) -> u32 ); PxeDhcpIsValid(ppacket, upacketlen, brequestpacket.into(), ::core::mem::transmute(pbpxeoptionpresent.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpv6AppendOption(preply: *mut ::core::ffi::c_void, cbreply: u32, pcbreplyused: *mut u32, woptiontype: u16, cboption: u16, poption: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpv6AppendOption ( preply : *mut ::core::ffi::c_void , cbreply : u32 , pcbreplyused : *mut u32 , woptiontype : u16 , cboption : u16 , poption : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpv6AppendOption ( preply : *mut ::core::ffi::c_void , cbreply : u32 , pcbreplyused : *mut u32 , woptiontype : u16 , cboption : u16 , poption : *const ::core::ffi::c_void ) -> u32 ); PxeDhcpv6AppendOption(preply, cbreply, pcbreplyused, woptiontype, cboption, poption) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpv6AppendOptionRaw(preply: *mut ::core::ffi::c_void, cbreply: u32, pcbreplyused: *mut u32, cbbuffer: u16, pbuffer: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpv6AppendOptionRaw ( preply : *mut ::core::ffi::c_void , cbreply : u32 , pcbreplyused : *mut u32 , cbbuffer : u16 , pbuffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpv6AppendOptionRaw ( preply : *mut ::core::ffi::c_void , cbreply : u32 , pcbreplyused : *mut u32 , cbbuffer : u16 , pbuffer : *const ::core::ffi::c_void ) -> u32 ); PxeDhcpv6AppendOptionRaw(preply, cbreply, pcbreplyused, cbbuffer, pbuffer) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpv6CreateRelayRepl(prelaymessages: &[PXE_DHCPV6_NESTED_RELAY_MESSAGE], pinnerpacket: &[u8], preplybuffer: *mut ::core::ffi::c_void, cbreplybuffer: u32, pcbreplybuffer: *mut u32) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpv6CreateRelayRepl ( prelaymessages : *const PXE_DHCPV6_NESTED_RELAY_MESSAGE , nrelaymessages : u32 , pinnerpacket : *const u8 , cbinnerpacket : u32 , preplybuffer : *mut ::core::ffi::c_void , cbreplybuffer : u32 , pcbreplybuffer : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpv6CreateRelayRepl ( prelaymessages : *const PXE_DHCPV6_NESTED_RELAY_MESSAGE , nrelaymessages : u32 , pinnerpacket : *const u8 , cbinnerpacket : u32 , preplybuffer : *mut ::core::ffi::c_void , cbreplybuffer : u32 , pcbreplybuffer : *mut u32 ) -> u32 ); PxeDhcpv6CreateRelayRepl(::core::mem::transmute(prelaymessages.as_ptr()), prelaymessages.len() as _, ::core::mem::transmute(pinnerpacket.as_ptr()), pinnerpacket.len() as _, preplybuffer, cbreplybuffer, pcbreplybuffer) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpv6GetOptionValue(ppacket: *const ::core::ffi::c_void, upacketlen: u32, uinstance: u32, woption: u16, pwoptionlen: ::core::option::Option<*mut u16>, ppoptionvalue: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpv6GetOptionValue ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , uinstance : u32 , woption : u16 , pwoptionlen : *mut u16 , ppoptionvalue : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpv6GetOptionValue ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , uinstance : u32 , woption : u16 , pwoptionlen : *mut u16 , ppoptionvalue : *mut *mut ::core::ffi::c_void ) -> u32 ); PxeDhcpv6GetOptionValue(ppacket, upacketlen, uinstance, woption, ::core::mem::transmute(pwoptionlen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppoptionvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpv6GetVendorOptionValue(ppacket: *const ::core::ffi::c_void, upacketlen: u32, dwenterprisenumber: u32, woption: u16, uinstance: u32, pwoptionlen: ::core::option::Option<*mut u16>, ppoptionvalue: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpv6GetVendorOptionValue ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , dwenterprisenumber : u32 , woption : u16 , uinstance : u32 , pwoptionlen : *mut u16 , ppoptionvalue : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpv6GetVendorOptionValue ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , dwenterprisenumber : u32 , woption : u16 , uinstance : u32 , pwoptionlen : *mut u16 , ppoptionvalue : *mut *mut ::core::ffi::c_void ) -> u32 ); PxeDhcpv6GetVendorOptionValue(ppacket, upacketlen, dwenterprisenumber, woption, uinstance, ::core::mem::transmute(pwoptionlen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppoptionvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpv6Initialize(prequest: *const ::core::ffi::c_void, cbrequest: u32, preply: *mut ::core::ffi::c_void, cbreply: u32, pcbreplyused: *mut u32) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpv6Initialize ( prequest : *const ::core::ffi::c_void , cbrequest : u32 , preply : *mut ::core::ffi::c_void , cbreply : u32 , pcbreplyused : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpv6Initialize ( prequest : *const ::core::ffi::c_void , cbrequest : u32 , preply : *mut ::core::ffi::c_void , cbreply : u32 , pcbreplyused : *mut u32 ) -> u32 ); PxeDhcpv6Initialize(prequest, cbrequest, preply, cbreply, pcbreplyused) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -91,25 +91,25 @@ pub unsafe fn PxeDhcpv6IsValid(ppacket: *const ::core::ffi::c_void, upacketl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpv6IsValid ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , brequestpacket : super::super::Foundation:: BOOL , pbpxeoptionpresent : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpv6IsValid ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , brequestpacket : super::super::Foundation:: BOOL , pbpxeoptionpresent : *mut super::super::Foundation:: BOOL ) -> u32 ); PxeDhcpv6IsValid(ppacket, upacketlen, brequestpacket.into(), ::core::mem::transmute(pbpxeoptionpresent.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeDhcpv6ParseRelayForw(prelayforwpacket: *const ::core::ffi::c_void, urelayforwpacketlen: u32, prelaymessages: &mut [PXE_DHCPV6_NESTED_RELAY_MESSAGE], pnrelaymessages: *mut u32, ppinnerpacket: *mut *mut u8, pcbinnerpacket: *mut u32) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeDhcpv6ParseRelayForw ( prelayforwpacket : *const ::core::ffi::c_void , urelayforwpacketlen : u32 , prelaymessages : *mut PXE_DHCPV6_NESTED_RELAY_MESSAGE , nrelaymessages : u32 , pnrelaymessages : *mut u32 , ppinnerpacket : *mut *mut u8 , pcbinnerpacket : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeDhcpv6ParseRelayForw ( prelayforwpacket : *const ::core::ffi::c_void , urelayforwpacketlen : u32 , prelaymessages : *mut PXE_DHCPV6_NESTED_RELAY_MESSAGE , nrelaymessages : u32 , pnrelaymessages : *mut u32 , ppinnerpacket : *mut *mut u8 , pcbinnerpacket : *mut u32 ) -> u32 ); PxeDhcpv6ParseRelayForw(prelayforwpacket, urelayforwpacketlen, ::core::mem::transmute(prelaymessages.as_ptr()), prelaymessages.len() as _, pnrelaymessages, ppinnerpacket, pcbinnerpacket) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeGetServerInfo(uinfotype: u32, pbuffer: *mut ::core::ffi::c_void, ubufferlen: u32) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeGetServerInfo ( uinfotype : u32 , pbuffer : *mut ::core::ffi::c_void , ubufferlen : u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeGetServerInfo ( uinfotype : u32 , pbuffer : *mut ::core::ffi::c_void , ubufferlen : u32 ) -> u32 ); PxeGetServerInfo(uinfotype, pbuffer, ubufferlen) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn PxeGetServerInfoEx(uinfotype: u32, pbuffer: *mut ::core::ffi::c_void, ubufferlen: u32, pubufferused: *mut u32) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeGetServerInfoEx ( uinfotype : u32 , pbuffer : *mut ::core::ffi::c_void , ubufferlen : u32 , pubufferused : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeGetServerInfoEx ( uinfotype : u32 , pbuffer : *mut ::core::ffi::c_void , ubufferlen : u32 , pubufferused : *mut u32 ) -> u32 ); PxeGetServerInfoEx(uinfotype, pbuffer, ubufferlen, pubufferused) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -120,7 +120,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxePacketAllocate ( hprovider : super::super::Foundation:: HANDLE , hclientrequest : super::super::Foundation:: HANDLE , usize : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxePacketAllocate ( hprovider : super::super::Foundation:: HANDLE , hclientrequest : super::super::Foundation:: HANDLE , usize : u32 ) -> *mut ::core::ffi::c_void ); PxePacketAllocate(hprovider.into(), hclientrequest.into(), usize) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -131,7 +131,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxePacketFree ( hprovider : super::super::Foundation:: HANDLE , hclientrequest : super::super::Foundation:: HANDLE , ppacket : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxePacketFree ( hprovider : super::super::Foundation:: HANDLE , hclientrequest : super::super::Foundation:: HANDLE , ppacket : *const ::core::ffi::c_void ) -> u32 ); PxePacketFree(hprovider.into(), hclientrequest.into(), ppacket) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -141,14 +141,14 @@ pub unsafe fn PxeProviderEnumClose(henum: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeProviderEnumClose ( henum : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeProviderEnumClose ( henum : super::super::Foundation:: HANDLE ) -> u32 ); PxeProviderEnumClose(henum.into()) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PxeProviderEnumFirst(phenum: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeProviderEnumFirst ( phenum : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeProviderEnumFirst ( phenum : *mut super::super::Foundation:: HANDLE ) -> u32 ); PxeProviderEnumFirst(phenum) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -158,14 +158,14 @@ pub unsafe fn PxeProviderEnumNext(henum: P0, ppprovider: *mut *mut PXE_PROVI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeProviderEnumNext ( henum : super::super::Foundation:: HANDLE , ppprovider : *mut *mut PXE_PROVIDER ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeProviderEnumNext ( henum : super::super::Foundation:: HANDLE , ppprovider : *mut *mut PXE_PROVIDER ) -> u32 ); PxeProviderEnumNext(henum.into(), ppprovider) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PxeProviderFreeInfo(pprovider: *const PXE_PROVIDER) -> u32 { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeProviderFreeInfo ( pprovider : *const PXE_PROVIDER ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeProviderFreeInfo ( pprovider : *const PXE_PROVIDER ) -> u32 ); PxeProviderFreeInfo(pprovider) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] @@ -174,7 +174,7 @@ pub unsafe fn PxeProviderQueryIndex(pszprovidername: P0, puindex: *mut u32) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeProviderQueryIndex ( pszprovidername : :: windows::core::PCWSTR , puindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeProviderQueryIndex ( pszprovidername : :: windows::core::PCWSTR , puindex : *mut u32 ) -> u32 ); PxeProviderQueryIndex(pszprovidername.into().abi(), puindex) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -186,7 +186,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeProviderRegister ( pszprovidername : :: windows::core::PCWSTR , pszmodulepath : :: windows::core::PCWSTR , index : u32 , biscritical : super::super::Foundation:: BOOL , phproviderkey : *mut super::Registry:: HKEY ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeProviderRegister ( pszprovidername : :: windows::core::PCWSTR , pszmodulepath : :: windows::core::PCWSTR , index : u32 , biscritical : super::super::Foundation:: BOOL , phproviderkey : *mut super::Registry:: HKEY ) -> u32 ); PxeProviderRegister(pszprovidername.into().abi(), pszmodulepath.into().abi(), index, biscritical.into(), ::core::mem::transmute(phproviderkey.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -196,7 +196,7 @@ pub unsafe fn PxeProviderSetAttribute(hprovider: P0, attribute: u32, pparame where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeProviderSetAttribute ( hprovider : super::super::Foundation:: HANDLE , attribute : u32 , pparameterbuffer : *const ::core::ffi::c_void , uparamlen : u32 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeProviderSetAttribute ( hprovider : super::super::Foundation:: HANDLE , attribute : u32 , pparameterbuffer : *const ::core::ffi::c_void , uparamlen : u32 ) -> u32 ); PxeProviderSetAttribute(hprovider.into(), attribute, pparameterbuffer, uparamlen) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] @@ -205,7 +205,7 @@ pub unsafe fn PxeProviderUnRegister(pszprovidername: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeProviderUnRegister ( pszprovidername : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeProviderUnRegister ( pszprovidername : :: windows::core::PCWSTR ) -> u32 ); PxeProviderUnRegister(pszprovidername.into().abi()) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -215,7 +215,7 @@ pub unsafe fn PxeRegisterCallback(hprovider: P0, callbacktype: u32, pcallbac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeRegisterCallback ( hprovider : super::super::Foundation:: HANDLE , callbacktype : u32 , pcallbackfunction : *const ::core::ffi::c_void , pcontext : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeRegisterCallback ( hprovider : super::super::Foundation:: HANDLE , callbacktype : u32 , pcallbackfunction : *const ::core::ffi::c_void , pcontext : *const ::core::ffi::c_void ) -> u32 ); PxeRegisterCallback(hprovider.into(), callbacktype, pcallbackfunction, ::core::mem::transmute(pcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -225,7 +225,7 @@ pub unsafe fn PxeSendReply(hclientrequest: P0, ppacket: *const ::core::ffi:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeSendReply ( hclientrequest : super::super::Foundation:: HANDLE , ppacket : *const ::core::ffi::c_void , upacketlen : u32 , paddress : *const PXE_ADDRESS ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeSendReply ( hclientrequest : super::super::Foundation:: HANDLE , ppacket : *const ::core::ffi::c_void , upacketlen : u32 , paddress : *const PXE_ADDRESS ) -> u32 ); PxeSendReply(hclientrequest.into(), ppacket, upacketlen, paddress) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -236,7 +236,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdspxe.dll""cdecl" fn PxeTrace ( hprovider : super::super::Foundation:: HANDLE , severity : u32 , pszformat : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""cdecl" fn PxeTrace ( hprovider : super::super::Foundation:: HANDLE , severity : u32 , pszformat : :: windows::core::PCWSTR ) -> u32 ); PxeTrace(hprovider.into(), severity, pszformat.into().abi()) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -247,7 +247,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdspxe.dll""system" fn PxeTraceV ( hprovider : super::super::Foundation:: HANDLE , severity : u32 , pszformat : :: windows::core::PCWSTR , params : *const i8 ) -> u32 ); + ::windows::imp::link ! ( "wdspxe.dll""system" fn PxeTraceV ( hprovider : super::super::Foundation:: HANDLE , severity : u32 , pszformat : :: windows::core::PCWSTR , params : *const i8 ) -> u32 ); PxeTraceV(hprovider.into(), severity, pszformat.into().abi(), params) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -257,7 +257,7 @@ pub unsafe fn WdsBpAddOption(hhandle: P0, uoption: u32, uvaluelen: u32, pval where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsbp.dll""system" fn WdsBpAddOption ( hhandle : super::super::Foundation:: HANDLE , uoption : u32 , uvaluelen : u32 , pvalue : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdsbp.dll""system" fn WdsBpAddOption ( hhandle : super::super::Foundation:: HANDLE , uoption : u32 , uvaluelen : u32 , pvalue : *const ::core::ffi::c_void ) -> u32 ); WdsBpAddOption(hhandle.into(), uoption, uvaluelen, pvalue) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -267,7 +267,7 @@ pub unsafe fn WdsBpCloseHandle(hhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsbp.dll""system" fn WdsBpCloseHandle ( hhandle : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdsbp.dll""system" fn WdsBpCloseHandle ( hhandle : super::super::Foundation:: HANDLE ) -> u32 ); WdsBpCloseHandle(hhandle.into()) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -277,28 +277,28 @@ pub unsafe fn WdsBpGetOptionBuffer(hhandle: P0, ubufferlen: u32, pbuffer: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsbp.dll""system" fn WdsBpGetOptionBuffer ( hhandle : super::super::Foundation:: HANDLE , ubufferlen : u32 , pbuffer : *mut ::core::ffi::c_void , pubytes : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdsbp.dll""system" fn WdsBpGetOptionBuffer ( hhandle : super::super::Foundation:: HANDLE , ubufferlen : u32 , pbuffer : *mut ::core::ffi::c_void , pubytes : *mut u32 ) -> u32 ); WdsBpGetOptionBuffer(hhandle.into(), ubufferlen, pbuffer, pubytes) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WdsBpInitialize(bpackettype: u8, phhandle: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "wdsbp.dll""system" fn WdsBpInitialize ( bpackettype : u8 , phhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdsbp.dll""system" fn WdsBpInitialize ( bpackettype : u8 , phhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); WdsBpInitialize(bpackettype, phhandle) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WdsBpParseInitialize(ppacket: *const ::core::ffi::c_void, upacketlen: u32, pbpackettype: ::core::option::Option<*mut u8>, phhandle: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "wdsbp.dll""system" fn WdsBpParseInitialize ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , pbpackettype : *mut u8 , phhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdsbp.dll""system" fn WdsBpParseInitialize ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , pbpackettype : *mut u8 , phhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); WdsBpParseInitialize(ppacket, upacketlen, ::core::mem::transmute(pbpackettype.unwrap_or(::std::ptr::null_mut())), phhandle) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WdsBpParseInitializev6(ppacket: *const ::core::ffi::c_void, upacketlen: u32, pbpackettype: ::core::option::Option<*mut u8>, phhandle: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "wdsbp.dll""system" fn WdsBpParseInitializev6 ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , pbpackettype : *mut u8 , phhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdsbp.dll""system" fn WdsBpParseInitializev6 ( ppacket : *const ::core::ffi::c_void , upacketlen : u32 , pbpackettype : *mut u8 , phhandle : *mut super::super::Foundation:: HANDLE ) -> u32 ); WdsBpParseInitializev6(ppacket, upacketlen, ::core::mem::transmute(pbpackettype.unwrap_or(::std::ptr::null_mut())), phhandle) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -308,7 +308,7 @@ pub unsafe fn WdsBpQueryOption(hhandle: P0, uoption: u32, uvaluelen: u32, pv where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsbp.dll""system" fn WdsBpQueryOption ( hhandle : super::super::Foundation:: HANDLE , uoption : u32 , uvaluelen : u32 , pvalue : *mut ::core::ffi::c_void , pubytes : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdsbp.dll""system" fn WdsBpQueryOption ( hhandle : super::super::Foundation:: HANDLE , uoption : u32 , uvaluelen : u32 , pvalue : *mut ::core::ffi::c_void , pubytes : *mut u32 ) -> u32 ); WdsBpQueryOption(hhandle.into(), uoption, uvaluelen, pvalue, ::core::mem::transmute(pubytes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -318,7 +318,7 @@ pub unsafe fn WdsCliAuthorizeSession(hsession: P0, pcred: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliAuthorizeSession ( hsession : super::super::Foundation:: HANDLE , pcred : *const WDS_CLI_CRED ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliAuthorizeSession ( hsession : super::super::Foundation:: HANDLE , pcred : *const WDS_CLI_CRED ) -> :: windows::core::HRESULT ); WdsCliAuthorizeSession(hsession.into(), ::core::mem::transmute(pcred.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -328,7 +328,7 @@ pub unsafe fn WdsCliCancelTransfer(htransfer: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliCancelTransfer ( htransfer : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliCancelTransfer ( htransfer : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WdsCliCancelTransfer(htransfer.into()).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -338,7 +338,7 @@ pub unsafe fn WdsCliClose(handle: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliClose ( handle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliClose ( handle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WdsCliClose(handle.into()).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -348,7 +348,7 @@ pub unsafe fn WdsCliCreateSession(pwszserver: P0, pcred: ::core::option::Opt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliCreateSession ( pwszserver : :: windows::core::PCWSTR , pcred : *const WDS_CLI_CRED , phsession : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliCreateSession ( pwszserver : :: windows::core::PCWSTR , pcred : *const WDS_CLI_CRED , phsession : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliCreateSession(pwszserver.into().abi(), ::core::mem::transmute(pcred.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -359,7 +359,7 @@ pub unsafe fn WdsCliFindFirstImage(hsession: P0) -> ::windows::core::Result< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliFindFirstImage ( hsession : super::super::Foundation:: HANDLE , phfindhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliFindFirstImage ( hsession : super::super::Foundation:: HANDLE , phfindhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliFindFirstImage(hsession.into(), &mut result__).from_abi(result__) } @@ -370,13 +370,13 @@ pub unsafe fn WdsCliFindNextImage(handle: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliFindNextImage ( handle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliFindNextImage ( handle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WdsCliFindNextImage(handle.into()).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn WdsCliFreeStringArray(ppwszarray: ::core::option::Option<&mut [::windows::core::PWSTR]>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliFreeStringArray ( ppwszarray : *mut :: windows::core::PWSTR , ulcount : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliFreeStringArray ( ppwszarray : *mut :: windows::core::PWSTR , ulcount : u32 ) -> :: windows::core::HRESULT ); WdsCliFreeStringArray(::core::mem::transmute(ppwszarray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppwszarray.as_deref().map_or(0, |slice| slice.len() as _)).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] @@ -385,7 +385,7 @@ pub unsafe fn WdsCliGetDriverQueryXml(pwszwindirpath: P0) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetDriverQueryXml ( pwszwindirpath : :: windows::core::PCWSTR , ppwszdriverquery : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetDriverQueryXml ( pwszwindirpath : :: windows::core::PCWSTR , ppwszdriverquery : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetDriverQueryXml(pwszwindirpath.into().abi(), &mut result__).from_abi(result__) } @@ -396,7 +396,7 @@ pub unsafe fn WdsCliGetEnumerationFlags(handle: P0) -> ::windows::core::Resu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetEnumerationFlags ( handle : super::super::Foundation:: HANDLE , pdwflags : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetEnumerationFlags ( handle : super::super::Foundation:: HANDLE , pdwflags : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliGetEnumerationFlags(handle.into(), &mut result__).from_abi(result__) } @@ -407,7 +407,7 @@ pub unsafe fn WdsCliGetImageArchitecture(hifh: P0) -> ::windows::core::Resul where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageArchitecture ( hifh : super::super::Foundation:: HANDLE , pdwvalue : *mut CPU_ARCHITECTURE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageArchitecture ( hifh : super::super::Foundation:: HANDLE , pdwvalue : *mut CPU_ARCHITECTURE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliGetImageArchitecture(hifh.into(), &mut result__).from_abi(result__) } @@ -418,7 +418,7 @@ pub unsafe fn WdsCliGetImageDescription(hifh: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageDescription ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageDescription ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetImageDescription(hifh.into(), &mut result__).from_abi(result__) } @@ -429,7 +429,7 @@ pub unsafe fn WdsCliGetImageFiles(hifh: P0, pppwszfiles: *mut *mut ::windows where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageFiles ( hifh : super::super::Foundation:: HANDLE , pppwszfiles : *mut *mut :: windows::core::PWSTR , pdwcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageFiles ( hifh : super::super::Foundation:: HANDLE , pppwszfiles : *mut *mut :: windows::core::PWSTR , pdwcount : *mut u32 ) -> :: windows::core::HRESULT ); WdsCliGetImageFiles(hifh.into(), pppwszfiles, pdwcount).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -439,7 +439,7 @@ pub unsafe fn WdsCliGetImageGroup(hifh: P0) -> ::windows::core::Result<::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageGroup ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageGroup ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetImageGroup(hifh.into(), &mut result__).from_abi(result__) } @@ -450,7 +450,7 @@ pub unsafe fn WdsCliGetImageHalName(hifh: P0) -> ::windows::core::Result<::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageHalName ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageHalName ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetImageHalName(hifh.into(), &mut result__).from_abi(result__) } @@ -461,7 +461,7 @@ pub unsafe fn WdsCliGetImageHandleFromFindHandle(findhandle: P0) -> ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageHandleFromFindHandle ( findhandle : super::super::Foundation:: HANDLE , phimagehandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageHandleFromFindHandle ( findhandle : super::super::Foundation:: HANDLE , phimagehandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliGetImageHandleFromFindHandle(findhandle.into(), &mut result__).from_abi(result__) } @@ -472,7 +472,7 @@ pub unsafe fn WdsCliGetImageHandleFromTransferHandle(htransfer: P0) -> ::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageHandleFromTransferHandle ( htransfer : super::super::Foundation:: HANDLE , phimagehandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageHandleFromTransferHandle ( htransfer : super::super::Foundation:: HANDLE , phimagehandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliGetImageHandleFromTransferHandle(htransfer.into(), &mut result__).from_abi(result__) } @@ -483,7 +483,7 @@ pub unsafe fn WdsCliGetImageIndex(hifh: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageIndex ( hifh : super::super::Foundation:: HANDLE , pdwvalue : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageIndex ( hifh : super::super::Foundation:: HANDLE , pdwvalue : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliGetImageIndex(hifh.into(), &mut result__).from_abi(result__) } @@ -494,7 +494,7 @@ pub unsafe fn WdsCliGetImageLanguage(hifh: P0) -> ::windows::core::Result<:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageLanguage ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageLanguage ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetImageLanguage(hifh.into(), &mut result__).from_abi(result__) } @@ -505,7 +505,7 @@ pub unsafe fn WdsCliGetImageLanguages(hifh: P0, pppszvalues: *mut *mut *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageLanguages ( hifh : super::super::Foundation:: HANDLE , pppszvalues : *mut *mut *mut i8 , pdwnumvalues : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageLanguages ( hifh : super::super::Foundation:: HANDLE , pppszvalues : *mut *mut *mut i8 , pdwnumvalues : *mut u32 ) -> :: windows::core::HRESULT ); WdsCliGetImageLanguages(hifh.into(), pppszvalues, pdwnumvalues).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -515,7 +515,7 @@ pub unsafe fn WdsCliGetImageLastModifiedTime(hifh: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageLastModifiedTime ( hifh : super::super::Foundation:: HANDLE , ppsystimevalue : *mut *mut super::super::Foundation:: SYSTEMTIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageLastModifiedTime ( hifh : super::super::Foundation:: HANDLE , ppsystimevalue : *mut *mut super::super::Foundation:: SYSTEMTIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut super::super::Foundation::SYSTEMTIME>(); WdsCliGetImageLastModifiedTime(hifh.into(), &mut result__).from_abi(result__) } @@ -526,7 +526,7 @@ pub unsafe fn WdsCliGetImageName(hifh: P0) -> ::windows::core::Result<::wind where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageName ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageName ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetImageName(hifh.into(), &mut result__).from_abi(result__) } @@ -537,7 +537,7 @@ pub unsafe fn WdsCliGetImageNamespace(hifh: P0) -> ::windows::core::Result<: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageNamespace ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageNamespace ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetImageNamespace(hifh.into(), &mut result__).from_abi(result__) } @@ -548,7 +548,7 @@ pub unsafe fn WdsCliGetImageParameter(hifh: P0, paramtype: WDS_CLI_IMAGE_PAR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageParameter ( hifh : super::super::Foundation:: HANDLE , paramtype : WDS_CLI_IMAGE_PARAM_TYPE , presponse : *mut ::core::ffi::c_void , uresponselen : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageParameter ( hifh : super::super::Foundation:: HANDLE , paramtype : WDS_CLI_IMAGE_PARAM_TYPE , presponse : *mut ::core::ffi::c_void , uresponselen : u32 ) -> :: windows::core::HRESULT ); WdsCliGetImageParameter(hifh.into(), paramtype, presponse, uresponselen).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -558,7 +558,7 @@ pub unsafe fn WdsCliGetImagePath(hifh: P0) -> ::windows::core::Result<::wind where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImagePath ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImagePath ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetImagePath(hifh.into(), &mut result__).from_abi(result__) } @@ -569,7 +569,7 @@ pub unsafe fn WdsCliGetImageSize(hifh: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageSize ( hifh : super::super::Foundation:: HANDLE , pullvalue : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageSize ( hifh : super::super::Foundation:: HANDLE , pullvalue : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliGetImageSize(hifh.into(), &mut result__).from_abi(result__) } @@ -580,7 +580,7 @@ pub unsafe fn WdsCliGetImageType(hifh: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageType ( hifh : super::super::Foundation:: HANDLE , pimagetype : *mut WDS_CLI_IMAGE_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageType ( hifh : super::super::Foundation:: HANDLE , pimagetype : *mut WDS_CLI_IMAGE_TYPE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliGetImageType(hifh.into(), &mut result__).from_abi(result__) } @@ -591,7 +591,7 @@ pub unsafe fn WdsCliGetImageVersion(hifh: P0) -> ::windows::core::Result<::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageVersion ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetImageVersion ( hifh : super::super::Foundation:: HANDLE , ppwszvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WdsCliGetImageVersion(hifh.into(), &mut result__).from_abi(result__) } @@ -602,7 +602,7 @@ pub unsafe fn WdsCliGetTransferSize(hifh: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliGetTransferSize ( hifh : super::super::Foundation:: HANDLE , pullvalue : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliGetTransferSize ( hifh : super::super::Foundation:: HANDLE , pullvalue : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliGetTransferSize(hifh.into(), &mut result__).from_abi(result__) } @@ -615,7 +615,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliInitializeLog ( hsession : super::super::Foundation:: HANDLE , ulclientarchitecture : CPU_ARCHITECTURE , pwszclientid : :: windows::core::PCWSTR , pwszclientaddress : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliInitializeLog ( hsession : super::super::Foundation:: HANDLE , ulclientarchitecture : CPU_ARCHITECTURE , pwszclientid : :: windows::core::PCWSTR , pwszclientaddress : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WdsCliInitializeLog(hsession.into(), ulclientarchitecture, pwszclientid.into().abi(), pwszclientaddress.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -625,7 +625,7 @@ pub unsafe fn WdsCliLog(hsession: P0, ulloglevel: u32, ulmessagecode: u32) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""cdecl" fn WdsCliLog ( hsession : super::super::Foundation:: HANDLE , ulloglevel : u32 , ulmessagecode : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""cdecl" fn WdsCliLog ( hsession : super::super::Foundation:: HANDLE , ulloglevel : u32 , ulmessagecode : u32 ) -> :: windows::core::HRESULT ); WdsCliLog(hsession.into(), ulloglevel, ulmessagecode).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -635,7 +635,7 @@ pub unsafe fn WdsCliObtainDriverPackages(himage: P0, ppwszservername: *mut : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliObtainDriverPackages ( himage : super::super::Foundation:: HANDLE , ppwszservername : *mut :: windows::core::PWSTR , pppwszdriverpackages : *mut *mut :: windows::core::PWSTR , pulcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliObtainDriverPackages ( himage : super::super::Foundation:: HANDLE , ppwszservername : *mut :: windows::core::PWSTR , pppwszdriverpackages : *mut *mut :: windows::core::PWSTR , pulcount : *mut u32 ) -> :: windows::core::HRESULT ); WdsCliObtainDriverPackages(himage.into(), ppwszservername, pppwszdriverpackages, pulcount).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -646,19 +646,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliObtainDriverPackagesEx ( hsession : super::super::Foundation:: HANDLE , pwszmachineinfo : :: windows::core::PCWSTR , ppwszservername : *mut :: windows::core::PWSTR , pppwszdriverpackages : *mut *mut :: windows::core::PWSTR , pulcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliObtainDriverPackagesEx ( hsession : super::super::Foundation:: HANDLE , pwszmachineinfo : :: windows::core::PCWSTR , ppwszservername : *mut :: windows::core::PWSTR , pppwszdriverpackages : *mut *mut :: windows::core::PWSTR , pulcount : *mut u32 ) -> :: windows::core::HRESULT ); WdsCliObtainDriverPackagesEx(hsession.into(), pwszmachineinfo.into().abi(), ppwszservername, pppwszdriverpackages, pulcount).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn WdsCliRegisterTrace(pfn: PFN_WdsCliTraceFunction) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliRegisterTrace ( pfn : PFN_WdsCliTraceFunction ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliRegisterTrace ( pfn : PFN_WdsCliTraceFunction ) -> :: windows::core::HRESULT ); WdsCliRegisterTrace(pfn).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn WdsCliSetTransferBufferSize(ulsizeinbytes: u32) { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliSetTransferBufferSize ( ulsizeinbytes : u32 ) -> ( ) ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliSetTransferBufferSize ( ulsizeinbytes : u32 ) -> ( ) ); WdsCliSetTransferBufferSize(ulsizeinbytes) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -671,7 +671,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliTransferFile ( pwszserver : :: windows::core::PCWSTR , pwsznamespace : :: windows::core::PCWSTR , pwszremotefilepath : :: windows::core::PCWSTR , pwszlocalfilepath : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 , pfnwdsclicallback : PFN_WdsCliCallback , pvuserdata : *const ::core::ffi::c_void , phtransfer : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliTransferFile ( pwszserver : :: windows::core::PCWSTR , pwsznamespace : :: windows::core::PCWSTR , pwszremotefilepath : :: windows::core::PCWSTR , pwszlocalfilepath : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 , pfnwdsclicallback : PFN_WdsCliCallback , pvuserdata : *const ::core::ffi::c_void , phtransfer : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliTransferFile(pwszserver.into().abi(), pwsznamespace.into().abi(), pwszremotefilepath.into().abi(), pwszlocalfilepath.into().abi(), dwflags, dwreserved, pfnwdsclicallback, ::core::mem::transmute(pvuserdata.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -683,7 +683,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliTransferImage ( himage : super::super::Foundation:: HANDLE , pwszlocalpath : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 , pfnwdsclicallback : PFN_WdsCliCallback , pvuserdata : *const ::core::ffi::c_void , phtransfer : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliTransferImage ( himage : super::super::Foundation:: HANDLE , pwszlocalpath : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 , pfnwdsclicallback : PFN_WdsCliCallback , pvuserdata : *const ::core::ffi::c_void , phtransfer : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WdsCliTransferImage(himage.into(), pwszlocalpath.into().abi(), dwflags, dwreserved, pfnwdsclicallback, ::core::mem::transmute(pvuserdata.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -694,13 +694,13 @@ pub unsafe fn WdsCliWaitForTransfer(htransfer: P0) -> ::windows::core::Resul where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsclientapi.dll""system" fn WdsCliWaitForTransfer ( htransfer : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsclientapi.dll""system" fn WdsCliWaitForTransfer ( htransfer : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WdsCliWaitForTransfer(htransfer.into()).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn WdsTransportClientAddRefBuffer(pvbuffer: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientAddRefBuffer ( pvbuffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientAddRefBuffer ( pvbuffer : *const ::core::ffi::c_void ) -> u32 ); WdsTransportClientAddRefBuffer(pvbuffer) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -710,7 +710,7 @@ pub unsafe fn WdsTransportClientCancelSession(hsessionkey: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientCancelSession ( hsessionkey : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientCancelSession ( hsessionkey : super::super::Foundation:: HANDLE ) -> u32 ); WdsTransportClientCancelSession(hsessionkey.into()) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -720,7 +720,7 @@ pub unsafe fn WdsTransportClientCancelSessionEx(hsessionkey: P0, dwerrorcode where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientCancelSessionEx ( hsessionkey : super::super::Foundation:: HANDLE , dwerrorcode : u32 ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientCancelSessionEx ( hsessionkey : super::super::Foundation:: HANDLE , dwerrorcode : u32 ) -> u32 ); WdsTransportClientCancelSessionEx(hsessionkey.into(), dwerrorcode) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -730,7 +730,7 @@ pub unsafe fn WdsTransportClientCloseSession(hsessionkey: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientCloseSession ( hsessionkey : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientCloseSession ( hsessionkey : super::super::Foundation:: HANDLE ) -> u32 ); WdsTransportClientCloseSession(hsessionkey.into()) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -740,20 +740,20 @@ pub unsafe fn WdsTransportClientCompleteReceive(hsessionkey: P0, ulsize: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientCompleteReceive ( hsessionkey : super::super::Foundation:: HANDLE , ulsize : u32 , pulloffset : *const u64 ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientCompleteReceive ( hsessionkey : super::super::Foundation:: HANDLE , ulsize : u32 , pulloffset : *const u64 ) -> u32 ); WdsTransportClientCompleteReceive(hsessionkey.into(), ulsize, pulloffset) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn WdsTransportClientInitialize() -> u32 { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientInitialize ( ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientInitialize ( ) -> u32 ); WdsTransportClientInitialize() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WdsTransportClientInitializeSession(psessionrequest: *const WDS_TRANSPORTCLIENT_REQUEST, pcallerdata: *const ::core::ffi::c_void, hsessionkey: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientInitializeSession ( psessionrequest : *const WDS_TRANSPORTCLIENT_REQUEST , pcallerdata : *const ::core::ffi::c_void , hsessionkey : *mut super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientInitializeSession ( psessionrequest : *const WDS_TRANSPORTCLIENT_REQUEST , pcallerdata : *const ::core::ffi::c_void , hsessionkey : *mut super::super::Foundation:: HANDLE ) -> u32 ); WdsTransportClientInitializeSession(psessionrequest, pcallerdata, hsessionkey) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -763,7 +763,7 @@ pub unsafe fn WdsTransportClientQueryStatus(hsessionkey: P0, pustatus: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientQueryStatus ( hsessionkey : super::super::Foundation:: HANDLE , pustatus : *mut u32 , puerrorcode : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientQueryStatus ( hsessionkey : super::super::Foundation:: HANDLE , pustatus : *mut u32 , puerrorcode : *mut u32 ) -> u32 ); WdsTransportClientQueryStatus(hsessionkey.into(), pustatus, puerrorcode) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -773,19 +773,19 @@ pub unsafe fn WdsTransportClientRegisterCallback(hsessionkey: P0, callbackid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientRegisterCallback ( hsessionkey : super::super::Foundation:: HANDLE , callbackid : TRANSPORTCLIENT_CALLBACK_ID , pfncallback : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientRegisterCallback ( hsessionkey : super::super::Foundation:: HANDLE , callbackid : TRANSPORTCLIENT_CALLBACK_ID , pfncallback : *const ::core::ffi::c_void ) -> u32 ); WdsTransportClientRegisterCallback(hsessionkey.into(), callbackid, pfncallback) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn WdsTransportClientReleaseBuffer(pvbuffer: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientReleaseBuffer ( pvbuffer : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientReleaseBuffer ( pvbuffer : *const ::core::ffi::c_void ) -> u32 ); WdsTransportClientReleaseBuffer(pvbuffer) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`*"] #[inline] pub unsafe fn WdsTransportClientShutdown() -> u32 { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientShutdown ( ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientShutdown ( ) -> u32 ); WdsTransportClientShutdown() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -795,7 +795,7 @@ pub unsafe fn WdsTransportClientStartSession(hsessionkey: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientStartSession ( hsessionkey : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientStartSession ( hsessionkey : super::super::Foundation:: HANDLE ) -> u32 ); WdsTransportClientStartSession(hsessionkey.into()) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -805,7 +805,7 @@ pub unsafe fn WdsTransportClientWaitForCompletion(hsessionkey: P0, utimeout: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdstptc.dll""system" fn WdsTransportClientWaitForCompletion ( hsessionkey : super::super::Foundation:: HANDLE , utimeout : u32 ) -> u32 ); + ::windows::imp::link ! ( "wdstptc.dll""system" fn WdsTransportClientWaitForCompletion ( hsessionkey : super::super::Foundation:: HANDLE , utimeout : u32 ) -> u32 ); WdsTransportClientWaitForCompletion(hsessionkey.into(), utimeout) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -815,7 +815,7 @@ pub unsafe fn WdsTransportServerAllocateBuffer(hprovider: P0, ulbuffersize: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsmc.dll""system" fn WdsTransportServerAllocateBuffer ( hprovider : super::super::Foundation:: HANDLE , ulbuffersize : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "wdsmc.dll""system" fn WdsTransportServerAllocateBuffer ( hprovider : super::super::Foundation:: HANDLE , ulbuffersize : u32 ) -> *mut ::core::ffi::c_void ); WdsTransportServerAllocateBuffer(hprovider.into(), ulbuffersize) } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -825,7 +825,7 @@ pub unsafe fn WdsTransportServerCompleteRead(hprovider: P0, ulbytesread: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsmc.dll""system" fn WdsTransportServerCompleteRead ( hprovider : super::super::Foundation:: HANDLE , ulbytesread : u32 , pvuserdata : *const ::core::ffi::c_void , hreadresult : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsmc.dll""system" fn WdsTransportServerCompleteRead ( hprovider : super::super::Foundation:: HANDLE , ulbytesread : u32 , pvuserdata : *const ::core::ffi::c_void , hreadresult : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); WdsTransportServerCompleteRead(hprovider.into(), ulbytesread, pvuserdata, hreadresult).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -835,7 +835,7 @@ pub unsafe fn WdsTransportServerFreeBuffer(hprovider: P0, pvbuffer: *const : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsmc.dll""system" fn WdsTransportServerFreeBuffer ( hprovider : super::super::Foundation:: HANDLE , pvbuffer : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsmc.dll""system" fn WdsTransportServerFreeBuffer ( hprovider : super::super::Foundation:: HANDLE , pvbuffer : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WdsTransportServerFreeBuffer(hprovider.into(), pvbuffer).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -845,7 +845,7 @@ pub unsafe fn WdsTransportServerRegisterCallback(hprovider: P0, callbackid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wdsmc.dll""system" fn WdsTransportServerRegisterCallback ( hprovider : super::super::Foundation:: HANDLE , callbackid : TRANSPORTPROVIDER_CALLBACK_ID , pfncallback : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsmc.dll""system" fn WdsTransportServerRegisterCallback ( hprovider : super::super::Foundation:: HANDLE , callbackid : TRANSPORTPROVIDER_CALLBACK_ID , pfncallback : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WdsTransportServerRegisterCallback(hprovider.into(), callbackid, pfncallback).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -856,7 +856,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdsmc.dll""cdecl" fn WdsTransportServerTrace ( hprovider : super::super::Foundation:: HANDLE , severity : u32 , pwszformat : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsmc.dll""cdecl" fn WdsTransportServerTrace ( hprovider : super::super::Foundation:: HANDLE , severity : u32 , pwszformat : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WdsTransportServerTrace(hprovider.into(), severity, pwszformat.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`*"] @@ -867,7 +867,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wdsmc.dll""system" fn WdsTransportServerTraceV ( hprovider : super::super::Foundation:: HANDLE , severity : u32 , pwszformat : :: windows::core::PCWSTR , params : *const i8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wdsmc.dll""system" fn WdsTransportServerTraceV ( hprovider : super::super::Foundation:: HANDLE , severity : u32 , pwszformat : :: windows::core::PCWSTR , params : *const i8 ) -> :: windows::core::HRESULT ); WdsTransportServerTraceV(hprovider.into(), severity, pwszformat.into().abi(), params).ok() } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] @@ -893,7 +893,7 @@ impl IWdsTransportCacheable { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportCacheable, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportCacheable, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportCacheable { fn eq(&self, other: &Self) -> bool { @@ -992,7 +992,7 @@ impl IWdsTransportClient { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportClient, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportClient, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportClient { fn eq(&self, other: &Self) -> bool { @@ -1064,7 +1064,7 @@ impl IWdsTransportCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportCollection { fn eq(&self, other: &Self) -> bool { @@ -1152,7 +1152,7 @@ impl IWdsTransportConfigurationManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportConfigurationManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportConfigurationManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportConfigurationManager { fn eq(&self, other: &Self) -> bool { @@ -1258,7 +1258,7 @@ impl IWdsTransportConfigurationManager2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportConfigurationManager2, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportConfigurationManager); +::windows::imp::interface_hierarchy!(IWdsTransportConfigurationManager2, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportConfigurationManager); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportConfigurationManager2 { fn eq(&self, other: &Self) -> bool { @@ -1328,7 +1328,7 @@ impl IWdsTransportContent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportContent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportContent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportContent { fn eq(&self, other: &Self) -> bool { @@ -1398,7 +1398,7 @@ impl IWdsTransportContentProvider { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportContentProvider, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportContentProvider, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportContentProvider { fn eq(&self, other: &Self) -> bool { @@ -1481,7 +1481,7 @@ impl IWdsTransportDiagnosticsPolicy { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportDiagnosticsPolicy, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); +::windows::imp::interface_hierarchy!(IWdsTransportDiagnosticsPolicy, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportDiagnosticsPolicy { fn eq(&self, other: &Self) -> bool { @@ -1540,7 +1540,7 @@ impl IWdsTransportManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportManager { fn eq(&self, other: &Self) -> bool { @@ -1637,7 +1637,7 @@ impl IWdsTransportMulticastSessionPolicy { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportMulticastSessionPolicy, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); +::windows::imp::interface_hierarchy!(IWdsTransportMulticastSessionPolicy, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportMulticastSessionPolicy { fn eq(&self, other: &Self) -> bool { @@ -1785,7 +1785,7 @@ impl IWdsTransportNamespace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportNamespace, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportNamespace, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportNamespace { fn eq(&self, other: &Self) -> bool { @@ -1958,7 +1958,7 @@ impl IWdsTransportNamespaceAutoCast { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportNamespaceAutoCast, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace); +::windows::imp::interface_hierarchy!(IWdsTransportNamespaceAutoCast, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportNamespaceAutoCast { fn eq(&self, other: &Self) -> bool { @@ -2022,7 +2022,7 @@ impl IWdsTransportNamespaceManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportNamespaceManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportNamespaceManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportNamespaceManager { fn eq(&self, other: &Self) -> bool { @@ -2171,7 +2171,7 @@ impl IWdsTransportNamespaceScheduledCast { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportNamespaceScheduledCast, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace); +::windows::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCast, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportNamespaceScheduledCast { fn eq(&self, other: &Self) -> bool { @@ -2323,7 +2323,7 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportNamespaceScheduledCastAutoStart, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace, IWdsTransportNamespaceScheduledCast); +::windows::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCastAutoStart, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace, IWdsTransportNamespaceScheduledCast); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportNamespaceScheduledCastAutoStart { fn eq(&self, other: &Self) -> bool { @@ -2464,7 +2464,7 @@ impl IWdsTransportNamespaceScheduledCastManualStart { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportNamespaceScheduledCastManualStart, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace, IWdsTransportNamespaceScheduledCast); +::windows::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCastManualStart, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace, IWdsTransportNamespaceScheduledCast); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportNamespaceScheduledCastManualStart { fn eq(&self, other: &Self) -> bool { @@ -2532,7 +2532,7 @@ impl IWdsTransportServer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportServer, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportServer, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportServer { fn eq(&self, other: &Self) -> bool { @@ -2620,7 +2620,7 @@ impl IWdsTransportServer2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportServer2, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportServer); +::windows::imp::interface_hierarchy!(IWdsTransportServer2, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportServer); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportServer2 { fn eq(&self, other: &Self) -> bool { @@ -2724,7 +2724,7 @@ impl IWdsTransportServicePolicy { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportServicePolicy, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); +::windows::imp::interface_hierarchy!(IWdsTransportServicePolicy, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportServicePolicy { fn eq(&self, other: &Self) -> bool { @@ -2864,7 +2864,7 @@ impl IWdsTransportServicePolicy2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportServicePolicy2, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable, IWdsTransportServicePolicy); +::windows::imp::interface_hierarchy!(IWdsTransportServicePolicy2, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable, IWdsTransportServicePolicy); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportServicePolicy2 { fn eq(&self, other: &Self) -> bool { @@ -2954,7 +2954,7 @@ impl IWdsTransportSession { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportSession, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportSession, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportSession { fn eq(&self, other: &Self) -> bool { @@ -3029,7 +3029,7 @@ impl IWdsTransportSetupManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportSetupManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportSetupManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportSetupManager { fn eq(&self, other: &Self) -> bool { @@ -3105,7 +3105,7 @@ impl IWdsTransportSetupManager2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportSetupManager2, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportSetupManager); +::windows::imp::interface_hierarchy!(IWdsTransportSetupManager2, ::windows::core::IUnknown, super::Com::IDispatch, IWdsTransportSetupManager); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportSetupManager2 { fn eq(&self, other: &Self) -> bool { @@ -3181,7 +3181,7 @@ impl IWdsTransportTftpClient { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportTftpClient, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportTftpClient, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportTftpClient { fn eq(&self, other: &Self) -> bool { @@ -3237,7 +3237,7 @@ impl IWdsTransportTftpManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWdsTransportTftpManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWdsTransportTftpManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWdsTransportTftpManager { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs index fe429fd24f..653fc6c11f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs @@ -38,7 +38,7 @@ impl IRDPSRAPIApplication { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIApplication, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIApplication, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIApplication { fn eq(&self, other: &Self) -> bool { @@ -122,7 +122,7 @@ impl IRDPSRAPIApplicationFilter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIApplicationFilter, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIApplicationFilter, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIApplicationFilter { fn eq(&self, other: &Self) -> bool { @@ -191,7 +191,7 @@ impl IRDPSRAPIApplicationList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIApplicationList, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIApplicationList, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIApplicationList { fn eq(&self, other: &Self) -> bool { @@ -271,7 +271,7 @@ impl IRDPSRAPIAttendee { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIAttendee, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIAttendee, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIAttendee { fn eq(&self, other: &Self) -> bool { @@ -339,7 +339,7 @@ impl IRDPSRAPIAttendeeDisconnectInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIAttendeeDisconnectInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIAttendeeDisconnectInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIAttendeeDisconnectInfo { fn eq(&self, other: &Self) -> bool { @@ -398,7 +398,7 @@ impl IRDPSRAPIAttendeeManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIAttendeeManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIAttendeeManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIAttendeeManager { fn eq(&self, other: &Self) -> bool { @@ -459,7 +459,7 @@ impl IRDPSRAPIAudioStream { (::windows::core::Vtable::vtable(self).FreeBuffer)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRDPSRAPIAudioStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPSRAPIAudioStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPSRAPIAudioStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -506,7 +506,7 @@ impl IRDPSRAPIClipboardUseEvents { (::windows::core::Vtable::vtable(self).OnPasteFromClipboard)(::windows::core::Vtable::as_raw(self), clipboardformat, pattendee.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRDPSRAPIClipboardUseEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPSRAPIClipboardUseEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPSRAPIClipboardUseEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -550,7 +550,7 @@ impl IRDPSRAPIDebug { (::windows::core::Vtable::vtable(self).CLXCmdLine)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRDPSRAPIDebug, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPSRAPIDebug, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPSRAPIDebug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -606,7 +606,7 @@ impl IRDPSRAPIFrameBuffer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIFrameBuffer, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIFrameBuffer, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIFrameBuffer { fn eq(&self, other: &Self) -> bool { @@ -689,7 +689,7 @@ impl IRDPSRAPIInvitation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIInvitation, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIInvitation, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIInvitation { fn eq(&self, other: &Self) -> bool { @@ -765,7 +765,7 @@ impl IRDPSRAPIInvitationManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIInvitationManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIInvitationManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIInvitationManager { fn eq(&self, other: &Self) -> bool { @@ -818,7 +818,7 @@ impl IRDPSRAPIPerfCounterLogger { (::windows::core::Vtable::vtable(self).LogValue)(::windows::core::Vtable::as_raw(self), lvalue).ok() } } -::windows::core::interface_hierarchy!(IRDPSRAPIPerfCounterLogger, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPSRAPIPerfCounterLogger, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPSRAPIPerfCounterLogger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -856,7 +856,7 @@ impl IRDPSRAPIPerfCounterLoggingManager { (::windows::core::Vtable::vtable(self).CreateLogger)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrcountername), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRDPSRAPIPerfCounterLoggingManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPSRAPIPerfCounterLoggingManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPSRAPIPerfCounterLoggingManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -904,7 +904,7 @@ impl IRDPSRAPISessionProperties { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPISessionProperties, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPISessionProperties, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPISessionProperties { fn eq(&self, other: &Self) -> bool { @@ -1013,7 +1013,7 @@ impl IRDPSRAPISharingSession { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPISharingSession, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPISharingSession, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPISharingSession { fn eq(&self, other: &Self) -> bool { @@ -1163,7 +1163,7 @@ impl IRDPSRAPISharingSession2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPISharingSession2, ::windows::core::IUnknown, super::Com::IDispatch, IRDPSRAPISharingSession); +::windows::imp::interface_hierarchy!(IRDPSRAPISharingSession2, ::windows::core::IUnknown, super::Com::IDispatch, IRDPSRAPISharingSession); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPISharingSession2 { fn eq(&self, other: &Self) -> bool { @@ -1235,7 +1235,7 @@ impl IRDPSRAPITcpConnectionInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPITcpConnectionInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPITcpConnectionInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPITcpConnectionInfo { fn eq(&self, other: &Self) -> bool { @@ -1311,7 +1311,7 @@ impl IRDPSRAPITransportStream { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRDPSRAPITransportStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPSRAPITransportStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPSRAPITransportStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1389,7 +1389,7 @@ impl IRDPSRAPITransportStreamBuffer { (::windows::core::Vtable::vtable(self).SetContext)(::windows::core::Vtable::as_raw(self), pcontext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRDPSRAPITransportStreamBuffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPSRAPITransportStreamBuffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPSRAPITransportStreamBuffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1447,7 +1447,7 @@ impl IRDPSRAPITransportStreamEvents { (::windows::core::Vtable::vtable(self).OnStreamClosed)(::windows::core::Vtable::as_raw(self), hrreason) } } -::windows::core::interface_hierarchy!(IRDPSRAPITransportStreamEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPSRAPITransportStreamEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPSRAPITransportStreamEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1553,7 +1553,7 @@ impl IRDPSRAPIViewer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIViewer, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIViewer, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIViewer { fn eq(&self, other: &Self) -> bool { @@ -1649,7 +1649,7 @@ impl IRDPSRAPIVirtualChannel { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIVirtualChannel, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIVirtualChannel, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIVirtualChannel { fn eq(&self, other: &Self) -> bool { @@ -1713,7 +1713,7 @@ impl IRDPSRAPIVirtualChannelManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIVirtualChannelManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIVirtualChannelManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIVirtualChannelManager { fn eq(&self, other: &Self) -> bool { @@ -1800,7 +1800,7 @@ impl IRDPSRAPIWindow { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIWindow, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIWindow, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIWindow { fn eq(&self, other: &Self) -> bool { @@ -1869,7 +1869,7 @@ impl IRDPSRAPIWindowList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRDPSRAPIWindowList, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRDPSRAPIWindowList, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRDPSRAPIWindowList { fn eq(&self, other: &Self) -> bool { @@ -1950,7 +1950,7 @@ impl IRDPViewerInputSink { (::windows::core::Vtable::vtable(self).EndTouchFrame)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRDPViewerInputSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRDPViewerInputSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRDPViewerInputSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1999,7 +1999,7 @@ pub struct _IRDPSessionEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IRDPSessionEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IRDPSessionEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IRDPSessionEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IRDPSessionEvents { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs index e52b31a70b..09a193193d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn AcquireDeveloperLicense(hwndparent: P0) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wsclient.dll""system" fn AcquireDeveloperLicense ( hwndparent : super::super::Foundation:: HWND , pexpiration : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsclient.dll""system" fn AcquireDeveloperLicense ( hwndparent : super::super::Foundation:: HWND , pexpiration : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AcquireDeveloperLicense(hwndparent.into(), &mut result__).from_abi(result__) } @@ -13,7 +13,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CheckDeveloperLicense() -> ::windows::core::Result { - ::windows::core::link ! ( "wsclient.dll""system" fn CheckDeveloperLicense ( pexpiration : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsclient.dll""system" fn CheckDeveloperLicense ( pexpiration : *mut super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CheckDeveloperLicense(&mut result__).from_abi(result__) } @@ -24,7 +24,7 @@ pub unsafe fn RemoveDeveloperLicense(hwndparent: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wsclient.dll""system" fn RemoveDeveloperLicense ( hwndparent : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wsclient.dll""system" fn RemoveDeveloperLicense ( hwndparent : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); RemoveDeveloperLicense(hwndparent.into()).ok() } #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Ceip/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Ceip/mod.rs index 9d9cdcbb5d..8f9456e045 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Ceip/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Ceip/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CeipIsOptedIn() -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn CeipIsOptedIn ( ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CeipIsOptedIn ( ) -> super::super::super::Foundation:: BOOL ); CeipIsOptedIn() } #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 15dc8792cd..a1e7815d45 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -2,21 +2,21 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn AddVectoredContinueHandler(first: u32, handler: PVECTORED_EXCEPTION_HANDLER) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn AddVectoredContinueHandler ( first : u32 , handler : PVECTORED_EXCEPTION_HANDLER ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddVectoredContinueHandler ( first : u32 , handler : PVECTORED_EXCEPTION_HANDLER ) -> *mut ::core::ffi::c_void ); AddVectoredContinueHandler(first, handler) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn AddVectoredExceptionHandler(first: u32, handler: PVECTORED_EXCEPTION_HANDLER) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn AddVectoredExceptionHandler ( first : u32 , handler : PVECTORED_EXCEPTION_HANDLER ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddVectoredExceptionHandler ( first : u32 , handler : PVECTORED_EXCEPTION_HANDLER ) -> *mut ::core::ffi::c_void ); AddVectoredExceptionHandler(first, handler) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Beep(dwfreq: u32, dwduration: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn Beep ( dwfreq : u32 , dwduration : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Beep ( dwfreq : u32 , dwduration : u32 ) -> super::super::super::Foundation:: BOOL ); Beep(dwfreq, dwduration) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -28,7 +28,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imagehlp.dll""system" fn BindImage ( imagename : :: windows::core::PCSTR , dllpath : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn BindImage ( imagename : :: windows::core::PCSTR , dllpath : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); BindImage(imagename.into().abi(), dllpath.into().abi(), symbolpath.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -40,7 +40,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imagehlp.dll""system" fn BindImageEx ( flags : u32 , imagename : :: windows::core::PCSTR , dllpath : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , statusroutine : PIMAGEHLP_STATUS_ROUTINE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn BindImageEx ( flags : u32 , imagename : :: windows::core::PCSTR , dllpath : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , statusroutine : PIMAGEHLP_STATUS_ROUTINE ) -> super::super::super::Foundation:: BOOL ); BindImageEx(flags, imagename.into().abi(), dllpath.into().abi(), symbolpath.into().abi(), statusroutine) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -50,7 +50,7 @@ pub unsafe fn CheckRemoteDebuggerPresent(hprocess: P0, pbdebuggerpresent: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CheckRemoteDebuggerPresent ( hprocess : super::super::super::Foundation:: HANDLE , pbdebuggerpresent : *mut super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CheckRemoteDebuggerPresent ( hprocess : super::super::super::Foundation:: HANDLE , pbdebuggerpresent : *mut super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); CheckRemoteDebuggerPresent(hprocess.into(), pbdebuggerpresent) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] @@ -58,7 +58,7 @@ where #[cfg(feature = "Win32_System_SystemInformation")] #[inline] pub unsafe fn CheckSumMappedFile(baseaddress: *const ::core::ffi::c_void, filelength: u32, headersum: *mut u32, checksum: *mut u32) -> *mut IMAGE_NT_HEADERS64 { - ::windows::core::link ! ( "imagehlp.dll""system" fn CheckSumMappedFile ( baseaddress : *const ::core::ffi::c_void , filelength : u32 , headersum : *mut u32 , checksum : *mut u32 ) -> *mut IMAGE_NT_HEADERS64 ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn CheckSumMappedFile ( baseaddress : *const ::core::ffi::c_void , filelength : u32 , headersum : *mut u32 , checksum : *mut u32 ) -> *mut IMAGE_NT_HEADERS64 ); CheckSumMappedFile(baseaddress, filelength, headersum, checksum) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] @@ -66,13 +66,13 @@ pub unsafe fn CheckSumMappedFile(baseaddress: *const ::core::ffi::c_void, filele #[cfg(feature = "Win32_System_SystemInformation")] #[inline] pub unsafe fn CheckSumMappedFile(baseaddress: *const ::core::ffi::c_void, filelength: u32, headersum: *mut u32, checksum: *mut u32) -> *mut IMAGE_NT_HEADERS32 { - ::windows::core::link ! ( "imagehlp.dll""system" fn CheckSumMappedFile ( baseaddress : *const ::core::ffi::c_void , filelength : u32 , headersum : *mut u32 , checksum : *mut u32 ) -> *mut IMAGE_NT_HEADERS32 ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn CheckSumMappedFile ( baseaddress : *const ::core::ffi::c_void , filelength : u32 , headersum : *mut u32 , checksum : *mut u32 ) -> *mut IMAGE_NT_HEADERS32 ); CheckSumMappedFile(baseaddress, filelength, headersum, checksum) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn CloseThreadWaitChainSession(wcthandle: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "advapi32.dll""system" fn CloseThreadWaitChainSession ( wcthandle : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CloseThreadWaitChainSession ( wcthandle : *const ::core::ffi::c_void ) -> ( ) ); CloseThreadWaitChainSession(wcthandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -82,14 +82,14 @@ pub unsafe fn ContinueDebugEvent(dwprocessid: u32, dwthreadid: u32, dwcontin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ContinueDebugEvent ( dwprocessid : u32 , dwthreadid : u32 , dwcontinuestatus : super::super::super::Foundation:: NTSTATUS ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ContinueDebugEvent ( dwprocessid : u32 , dwthreadid : u32 , dwcontinuestatus : super::super::super::Foundation:: NTSTATUS ) -> super::super::super::Foundation:: BOOL ); ContinueDebugEvent(dwprocessid, dwthreadid, dwcontinuestatus.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn CopyContext(destination: *mut CONTEXT, contextflags: u32, source: *const CONTEXT) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn CopyContext ( destination : *mut CONTEXT , contextflags : u32 , source : *const CONTEXT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CopyContext ( destination : *mut CONTEXT , contextflags : u32 , source : *const CONTEXT ) -> super::super::super::Foundation:: BOOL ); CopyContext(destination, contextflags, source) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -98,7 +98,7 @@ pub unsafe fn CreateDataModelManager(debughost: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "dbgmodel.dll""system" fn CreateDataModelManager ( debughost : * mut::core::ffi::c_void , manager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dbgmodel.dll""system" fn CreateDataModelManager ( debughost : * mut::core::ffi::c_void , manager : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateDataModelManager(debughost.into().abi(), &mut result__).from_abi(result__) } @@ -109,7 +109,7 @@ pub unsafe fn DbgHelpCreateUserDump(filename: P0, callback: PDBGHELP_CREATE_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn DbgHelpCreateUserDump ( filename : :: windows::core::PCSTR , callback : PDBGHELP_CREATE_USER_DUMP_CALLBACK , userdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn DbgHelpCreateUserDump ( filename : :: windows::core::PCSTR , callback : PDBGHELP_CREATE_USER_DUMP_CALLBACK , userdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); DbgHelpCreateUserDump(filename.into().abi(), callback, ::core::mem::transmute(userdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -119,27 +119,27 @@ pub unsafe fn DbgHelpCreateUserDumpW(filename: P0, callback: PDBGHELP_CREATE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn DbgHelpCreateUserDumpW ( filename : :: windows::core::PCWSTR , callback : PDBGHELP_CREATE_USER_DUMP_CALLBACK , userdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn DbgHelpCreateUserDumpW ( filename : :: windows::core::PCWSTR , callback : PDBGHELP_CREATE_USER_DUMP_CALLBACK , userdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); DbgHelpCreateUserDumpW(filename.into().abi(), callback, ::core::mem::transmute(userdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DebugActiveProcess(dwprocessid: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn DebugActiveProcess ( dwprocessid : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DebugActiveProcess ( dwprocessid : u32 ) -> super::super::super::Foundation:: BOOL ); DebugActiveProcess(dwprocessid) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DebugActiveProcessStop(dwprocessid: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn DebugActiveProcessStop ( dwprocessid : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DebugActiveProcessStop ( dwprocessid : u32 ) -> super::super::super::Foundation:: BOOL ); DebugActiveProcessStop(dwprocessid) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn DebugBreak() { - ::windows::core::link ! ( "kernel32.dll""system" fn DebugBreak ( ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DebugBreak ( ) -> ( ) ); DebugBreak() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -149,7 +149,7 @@ pub unsafe fn DebugBreakProcess(process: P0) -> super::super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DebugBreakProcess ( process : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DebugBreakProcess ( process : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); DebugBreakProcess(process.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -158,7 +158,7 @@ pub unsafe fn DebugConnect(remoteoptions: P0, interfaceid: *const ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbgeng.dll""system" fn DebugConnect ( remoteoptions : :: windows::core::PCSTR , interfaceid : *const :: windows::core::GUID , interface : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dbgeng.dll""system" fn DebugConnect ( remoteoptions : :: windows::core::PCSTR , interfaceid : *const :: windows::core::GUID , interface : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DebugConnect(remoteoptions.into().abi(), interfaceid, interface).ok() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -167,7 +167,7 @@ pub unsafe fn DebugConnectWide(remoteoptions: P0, interfaceid: *const ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbgeng.dll""system" fn DebugConnectWide ( remoteoptions : :: windows::core::PCWSTR , interfaceid : *const :: windows::core::GUID , interface : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "dbgeng.dll""system" fn DebugConnectWide ( remoteoptions : :: windows::core::PCWSTR , interfaceid : *const :: windows::core::GUID , interface : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DebugConnectWide(remoteoptions.into().abi(), interfaceid, interface).ok() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -176,7 +176,7 @@ pub unsafe fn DebugCreate() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "dbgeng.dll""system" fn DebugCreate ( interfaceid : *const :: windows::core::GUID , interface : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -186,7 +186,7 @@ pub unsafe fn DebugCreateEx(dbgengoptions: u32) -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "dbgeng.dll""system" fn DebugCreateEx ( interfaceid : *const :: windows::core::GUID , dbgengoptions : u32 , interface : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -197,13 +197,13 @@ pub unsafe fn DebugSetProcessKillOnExit(killonexit: P0) -> super::super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DebugSetProcessKillOnExit ( killonexit : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DebugSetProcessKillOnExit ( killonexit : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); DebugSetProcessKillOnExit(killonexit.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn DecodePointer(ptr: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn DecodePointer ( ptr : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DecodePointer ( ptr : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); DecodePointer(::core::mem::transmute(ptr.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -213,19 +213,19 @@ pub unsafe fn DecodeRemotePointer(processhandle: P0, ptr: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-util-l1-1-1.dll""system" fn DecodeRemotePointer ( processhandle : super::super::super::Foundation:: HANDLE , ptr : *const ::core::ffi::c_void , decodedptr : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-util-l1-1-1.dll""system" fn DecodeRemotePointer ( processhandle : super::super::super::Foundation:: HANDLE , ptr : *const ::core::ffi::c_void , decodedptr : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DecodeRemotePointer(processhandle.into(), ::core::mem::transmute(ptr.unwrap_or(::std::ptr::null())), decodedptr).ok() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn DecodeSystemPointer(ptr: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn DecodeSystemPointer ( ptr : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DecodeSystemPointer ( ptr : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); DecodeSystemPointer(::core::mem::transmute(ptr.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn EncodePointer(ptr: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn EncodePointer ( ptr : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EncodePointer ( ptr : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); EncodePointer(::core::mem::transmute(ptr.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -235,13 +235,13 @@ pub unsafe fn EncodeRemotePointer(processhandle: P0, ptr: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-util-l1-1-1.dll""system" fn EncodeRemotePointer ( processhandle : super::super::super::Foundation:: HANDLE , ptr : *const ::core::ffi::c_void , encodedptr : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-util-l1-1-1.dll""system" fn EncodeRemotePointer ( processhandle : super::super::super::Foundation:: HANDLE , ptr : *const ::core::ffi::c_void , encodedptr : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); EncodeRemotePointer(processhandle.into(), ::core::mem::transmute(ptr.unwrap_or(::std::ptr::null())), encodedptr).ok() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn EncodeSystemPointer(ptr: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn EncodeSystemPointer ( ptr : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EncodeSystemPointer ( ptr : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); EncodeSystemPointer(::core::mem::transmute(ptr.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -253,7 +253,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn EnumDirTree ( hprocess : super::super::super::Foundation:: HANDLE , rootpath : :: windows::core::PCSTR , inputpathname : :: windows::core::PCSTR , outputpathbuffer : :: windows::core::PSTR , cb : PENUMDIRTREE_CALLBACK , data : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn EnumDirTree ( hprocess : super::super::super::Foundation:: HANDLE , rootpath : :: windows::core::PCSTR , inputpathname : :: windows::core::PCSTR , outputpathbuffer : :: windows::core::PSTR , cb : PENUMDIRTREE_CALLBACK , data : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); EnumDirTree(hprocess.into(), rootpath.into().abi(), inputpathname.into().abi(), ::core::mem::transmute(outputpathbuffer), cb, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -265,7 +265,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn EnumDirTreeW ( hprocess : super::super::super::Foundation:: HANDLE , rootpath : :: windows::core::PCWSTR , inputpathname : :: windows::core::PCWSTR , outputpathbuffer : :: windows::core::PWSTR , cb : PENUMDIRTREE_CALLBACKW , data : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn EnumDirTreeW ( hprocess : super::super::super::Foundation:: HANDLE , rootpath : :: windows::core::PCWSTR , inputpathname : :: windows::core::PCWSTR , outputpathbuffer : :: windows::core::PWSTR , cb : PENUMDIRTREE_CALLBACKW , data : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); EnumDirTreeW(hprocess.into(), rootpath.into().abi(), inputpathname.into().abi(), ::core::mem::transmute(outputpathbuffer), cb, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -276,7 +276,7 @@ pub unsafe fn EnumerateLoadedModules(hprocess: P0, enumloadedmodulescallback where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModules ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModules ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); EnumerateLoadedModules(hprocess.into(), enumloadedmodulescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -286,7 +286,7 @@ pub unsafe fn EnumerateLoadedModules64(hprocess: P0, enumloadedmodulescallba where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModules64 ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACK64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModules64 ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACK64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); EnumerateLoadedModules64(hprocess.into(), enumloadedmodulescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -296,7 +296,7 @@ pub unsafe fn EnumerateLoadedModulesEx(hprocess: P0, enumloadedmodulescallba where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModulesEx ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACK64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModulesEx ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACK64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); EnumerateLoadedModulesEx(hprocess.into(), enumloadedmodulescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -306,7 +306,7 @@ pub unsafe fn EnumerateLoadedModulesExW(hprocess: P0, enumloadedmodulescallb where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModulesExW ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACKW64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModulesExW ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACKW64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); EnumerateLoadedModulesExW(hprocess.into(), enumloadedmodulescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -316,7 +316,7 @@ pub unsafe fn EnumerateLoadedModulesW64(hprocess: P0, enumloadedmodulescallb where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModulesW64 ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACKW64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn EnumerateLoadedModulesW64 ( hprocess : super::super::super::Foundation:: HANDLE , enumloadedmodulescallback : PENUMLOADED_MODULES_CALLBACKW64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); EnumerateLoadedModulesW64(hprocess.into(), enumloadedmodulescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -325,7 +325,7 @@ pub unsafe fn FatalAppExitA(uaction: u32, lpmessagetext: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FatalAppExitA ( uaction : u32 , lpmessagetext : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FatalAppExitA ( uaction : u32 , lpmessagetext : :: windows::core::PCSTR ) -> ( ) ); FatalAppExitA(uaction, lpmessagetext.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -334,13 +334,13 @@ pub unsafe fn FatalAppExitW(uaction: u32, lpmessagetext: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FatalAppExitW ( uaction : u32 , lpmessagetext : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FatalAppExitW ( uaction : u32 , lpmessagetext : :: windows::core::PCWSTR ) -> ( ) ); FatalAppExitW(uaction, lpmessagetext.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn FatalExit(exitcode: i32) -> ! { - ::windows::core::link ! ( "kernel32.dll""system" fn FatalExit ( exitcode : i32 ) -> ! ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FatalExit ( exitcode : i32 ) -> ! ); FatalExit(exitcode) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -351,9 +351,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn FindDebugInfoFile ( filename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn FindDebugInfoFile ( filename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR ) -> super::super::super::Foundation:: HANDLE ); let result__ = FindDebugInfoFile(filename.into().abi(), symbolpath.into().abi(), ::core::mem::transmute(debugfilepath)); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -363,9 +363,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn FindDebugInfoFileEx ( filename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR , callback : PFIND_DEBUG_FILE_CALLBACK , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn FindDebugInfoFileEx ( filename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR , callback : PFIND_DEBUG_FILE_CALLBACK , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); let result__ = FindDebugInfoFileEx(filename.into().abi(), symbolpath.into().abi(), ::core::mem::transmute(debugfilepath), callback, ::core::mem::transmute(callerdata.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -375,9 +375,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn FindDebugInfoFileExW ( filename : :: windows::core::PCWSTR , symbolpath : :: windows::core::PCWSTR , debugfilepath : :: windows::core::PWSTR , callback : PFIND_DEBUG_FILE_CALLBACKW , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn FindDebugInfoFileExW ( filename : :: windows::core::PCWSTR , symbolpath : :: windows::core::PCWSTR , debugfilepath : :: windows::core::PWSTR , callback : PFIND_DEBUG_FILE_CALLBACKW , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); let result__ = FindDebugInfoFileExW(filename.into().abi(), symbolpath.into().abi(), ::core::mem::transmute(debugfilepath), callback, ::core::mem::transmute(callerdata.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -387,9 +387,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn FindExecutableImage ( filename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , imagefilepath : :: windows::core::PSTR ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn FindExecutableImage ( filename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , imagefilepath : :: windows::core::PSTR ) -> super::super::super::Foundation:: HANDLE ); let result__ = FindExecutableImage(filename.into().abi(), symbolpath.into().abi(), ::core::mem::transmute(imagefilepath)); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -399,9 +399,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn FindExecutableImageEx ( filename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , imagefilepath : :: windows::core::PSTR , callback : PFIND_EXE_FILE_CALLBACK , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn FindExecutableImageEx ( filename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , imagefilepath : :: windows::core::PSTR , callback : PFIND_EXE_FILE_CALLBACK , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); let result__ = FindExecutableImageEx(filename.into().abi(), symbolpath.into().abi(), ::core::mem::transmute(imagefilepath), callback, ::core::mem::transmute(callerdata.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -411,9 +411,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn FindExecutableImageExW ( filename : :: windows::core::PCWSTR , symbolpath : :: windows::core::PCWSTR , imagefilepath : :: windows::core::PWSTR , callback : PFIND_EXE_FILE_CALLBACKW , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn FindExecutableImageExW ( filename : :: windows::core::PCWSTR , symbolpath : :: windows::core::PCWSTR , imagefilepath : :: windows::core::PWSTR , callback : PFIND_EXE_FILE_CALLBACKW , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); let result__ = FindExecutableImageExW(filename.into().abi(), symbolpath.into().abi(), ::core::mem::transmute(imagefilepath), callback, callerdata); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -424,7 +424,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn FindFileInPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , id : *const ::core::ffi::c_void , two : u32 , three : u32 , flags : u32 , filepath : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn FindFileInPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , id : *const ::core::ffi::c_void , two : u32 , three : u32 , flags : u32 , filepath : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); FindFileInPath(hprocess.into(), searchpatha.into().abi(), filename.into().abi(), id, two, three, flags, ::core::mem::transmute(filepath)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -436,7 +436,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn FindFileInSearchPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , one : u32 , two : u32 , three : u32 , filepath : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn FindFileInSearchPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , one : u32 , two : u32 , three : u32 , filepath : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); FindFileInSearchPath(hprocess.into(), searchpatha.into().abi(), filename.into().abi(), one, two, three, ::core::mem::transmute(filepath)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -446,32 +446,32 @@ pub unsafe fn FlushInstructionCache(hprocess: P0, lpbaseaddress: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FlushInstructionCache ( hprocess : super::super::super::Foundation:: HANDLE , lpbaseaddress : *const ::core::ffi::c_void , dwsize : usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlushInstructionCache ( hprocess : super::super::super::Foundation:: HANDLE , lpbaseaddress : *const ::core::ffi::c_void , dwsize : usize ) -> super::super::super::Foundation:: BOOL ); FlushInstructionCache(hprocess.into(), ::core::mem::transmute(lpbaseaddress.unwrap_or(::std::ptr::null())), dwsize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn FormatMessageA(dwflags: FORMAT_MESSAGE_OPTIONS, lpsource: ::core::option::Option<*const ::core::ffi::c_void>, dwmessageid: u32, dwlanguageid: u32, lpbuffer: ::windows::core::PSTR, nsize: u32, arguments: ::core::option::Option<*const *const i8>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn FormatMessageA ( dwflags : FORMAT_MESSAGE_OPTIONS , lpsource : *const ::core::ffi::c_void , dwmessageid : u32 , dwlanguageid : u32 , lpbuffer : :: windows::core::PSTR , nsize : u32 , arguments : *const *const i8 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FormatMessageA ( dwflags : FORMAT_MESSAGE_OPTIONS , lpsource : *const ::core::ffi::c_void , dwmessageid : u32 , dwlanguageid : u32 , lpbuffer : :: windows::core::PSTR , nsize : u32 , arguments : *const *const i8 ) -> u32 ); FormatMessageA(dwflags, ::core::mem::transmute(lpsource.unwrap_or(::std::ptr::null())), dwmessageid, dwlanguageid, ::core::mem::transmute(lpbuffer), nsize, ::core::mem::transmute(arguments.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn FormatMessageW(dwflags: FORMAT_MESSAGE_OPTIONS, lpsource: ::core::option::Option<*const ::core::ffi::c_void>, dwmessageid: u32, dwlanguageid: u32, lpbuffer: ::windows::core::PWSTR, nsize: u32, arguments: ::core::option::Option<*const *const i8>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn FormatMessageW ( dwflags : FORMAT_MESSAGE_OPTIONS , lpsource : *const ::core::ffi::c_void , dwmessageid : u32 , dwlanguageid : u32 , lpbuffer : :: windows::core::PWSTR , nsize : u32 , arguments : *const *const i8 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FormatMessageW ( dwflags : FORMAT_MESSAGE_OPTIONS , lpsource : *const ::core::ffi::c_void , dwmessageid : u32 , dwlanguageid : u32 , lpbuffer : :: windows::core::PWSTR , nsize : u32 , arguments : *const *const i8 ) -> u32 ); FormatMessageW(dwflags, ::core::mem::transmute(lpsource.unwrap_or(::std::ptr::null())), dwmessageid, dwlanguageid, ::core::mem::transmute(lpbuffer), nsize, ::core::mem::transmute(arguments.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] #[inline] pub unsafe fn GetEnabledXStateFeatures() -> u64 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetEnabledXStateFeatures ( ) -> u64 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetEnabledXStateFeatures ( ) -> u64 ); GetEnabledXStateFeatures() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn GetErrorMode() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetErrorMode ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetErrorMode ( ) -> u32 ); GetErrorMode() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] @@ -479,7 +479,7 @@ pub unsafe fn GetErrorMode() -> u32 { #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn GetImageConfigInformation(loadedimage: *const LOADED_IMAGE, imageconfiginformation: *mut IMAGE_LOAD_CONFIG_DIRECTORY64) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imagehlp.dll""system" fn GetImageConfigInformation ( loadedimage : *const LOADED_IMAGE , imageconfiginformation : *mut IMAGE_LOAD_CONFIG_DIRECTORY64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn GetImageConfigInformation ( loadedimage : *const LOADED_IMAGE , imageconfiginformation : *mut IMAGE_LOAD_CONFIG_DIRECTORY64 ) -> super::super::super::Foundation:: BOOL ); GetImageConfigInformation(loadedimage, imageconfiginformation) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] @@ -487,20 +487,20 @@ pub unsafe fn GetImageConfigInformation(loadedimage: *const LOADED_IMAGE, imagec #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn GetImageConfigInformation(loadedimage: *const LOADED_IMAGE, imageconfiginformation: *mut IMAGE_LOAD_CONFIG_DIRECTORY32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imagehlp.dll""system" fn GetImageConfigInformation ( loadedimage : *const LOADED_IMAGE , imageconfiginformation : *mut IMAGE_LOAD_CONFIG_DIRECTORY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn GetImageConfigInformation ( loadedimage : *const LOADED_IMAGE , imageconfiginformation : *mut IMAGE_LOAD_CONFIG_DIRECTORY32 ) -> super::super::super::Foundation:: BOOL ); GetImageConfigInformation(loadedimage, imageconfiginformation) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn GetImageUnusedHeaderBytes(loadedimage: *const LOADED_IMAGE, sizeunusedheaderbytes: *mut u32) -> u32 { - ::windows::core::link ! ( "imagehlp.dll""system" fn GetImageUnusedHeaderBytes ( loadedimage : *const LOADED_IMAGE , sizeunusedheaderbytes : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn GetImageUnusedHeaderBytes ( loadedimage : *const LOADED_IMAGE , sizeunusedheaderbytes : *mut u32 ) -> u32 ); GetImageUnusedHeaderBytes(loadedimage, sizeunusedheaderbytes) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn GetSymLoadError() -> u32 { - ::windows::core::link ! ( "dbghelp.dll""system" fn GetSymLoadError ( ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn GetSymLoadError ( ) -> u32 ); GetSymLoadError() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -510,13 +510,13 @@ pub unsafe fn GetThreadContext(hthread: P0, lpcontext: *mut CONTEXT) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadContext ( hthread : super::super::super::Foundation:: HANDLE , lpcontext : *mut CONTEXT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadContext ( hthread : super::super::super::Foundation:: HANDLE , lpcontext : *mut CONTEXT ) -> super::super::super::Foundation:: BOOL ); GetThreadContext(hthread.into(), lpcontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn GetThreadErrorMode() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadErrorMode ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadErrorMode ( ) -> u32 ); GetThreadErrorMode() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -526,14 +526,14 @@ pub unsafe fn GetThreadSelectorEntry(hthread: P0, dwselector: u32, lpselecto where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadSelectorEntry ( hthread : super::super::super::Foundation:: HANDLE , dwselector : u32 , lpselectorentry : *mut LDT_ENTRY ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadSelectorEntry ( hthread : super::super::super::Foundation:: HANDLE , dwselector : u32 , lpselectorentry : *mut LDT_ENTRY ) -> super::super::super::Foundation:: BOOL ); GetThreadSelectorEntry(hthread.into(), dwselector, lpselectorentry) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetThreadWaitChain(wcthandle: *const ::core::ffi::c_void, context: usize, flags: WAIT_CHAIN_THREAD_OPTIONS, threadid: u32, nodecount: *mut u32, nodeinfoarray: *mut WAITCHAIN_NODE_INFO, iscycle: *mut i32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn GetThreadWaitChain ( wcthandle : *const ::core::ffi::c_void , context : usize , flags : WAIT_CHAIN_THREAD_OPTIONS , threadid : u32 , nodecount : *mut u32 , nodeinfoarray : *mut WAITCHAIN_NODE_INFO , iscycle : *mut i32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetThreadWaitChain ( wcthandle : *const ::core::ffi::c_void , context : usize , flags : WAIT_CHAIN_THREAD_OPTIONS , threadid : u32 , nodecount : *mut u32 , nodeinfoarray : *mut WAITCHAIN_NODE_INFO , iscycle : *mut i32 ) -> super::super::super::Foundation:: BOOL ); GetThreadWaitChain(wcthandle, context, flags, threadid, nodecount, nodeinfoarray, iscycle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -543,7 +543,7 @@ pub unsafe fn GetTimestampForLoadedLibrary(module: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn GetTimestampForLoadedLibrary ( module : super::super::super::Foundation:: HINSTANCE ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn GetTimestampForLoadedLibrary ( module : super::super::super::Foundation:: HINSTANCE ) -> u32 ); GetTimestampForLoadedLibrary(module.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -551,7 +551,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn GetXStateFeaturesMask(context: *const CONTEXT, featuremask: *mut u64) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetXStateFeaturesMask ( context : *const CONTEXT , featuremask : *mut u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetXStateFeaturesMask ( context : *const CONTEXT , featuremask : *mut u64 ) -> super::super::super::Foundation:: BOOL ); GetXStateFeaturesMask(context, featuremask) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_Security_WinTrust\"`*"] @@ -561,7 +561,7 @@ pub unsafe fn ImageAddCertificate(filehandle: P0, certificate: *const super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ImageAddCertificate ( filehandle : super::super::super::Foundation:: HANDLE , certificate : *const super::super::super::Security::WinTrust:: WIN_CERTIFICATE , index : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ImageAddCertificate ( filehandle : super::super::super::Foundation:: HANDLE , certificate : *const super::super::super::Security::WinTrust:: WIN_CERTIFICATE , index : *mut u32 ) -> super::super::super::Foundation:: BOOL ); ImageAddCertificate(filehandle.into(), certificate, index) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -571,7 +571,7 @@ pub unsafe fn ImageDirectoryEntryToData(base: *const ::core::ffi::c_void, ma where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImageDirectoryEntryToData ( base : *const ::core::ffi::c_void , mappedasimage : super::super::super::Foundation:: BOOLEAN , directoryentry : IMAGE_DIRECTORY_ENTRY , size : *mut u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImageDirectoryEntryToData ( base : *const ::core::ffi::c_void , mappedasimage : super::super::super::Foundation:: BOOLEAN , directoryentry : IMAGE_DIRECTORY_ENTRY , size : *mut u32 ) -> *mut ::core::ffi::c_void ); ImageDirectoryEntryToData(base, mappedasimage.into(), directoryentry, size) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -581,7 +581,7 @@ pub unsafe fn ImageDirectoryEntryToDataEx(base: *const ::core::ffi::c_void, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImageDirectoryEntryToDataEx ( base : *const ::core::ffi::c_void , mappedasimage : super::super::super::Foundation:: BOOLEAN , directoryentry : IMAGE_DIRECTORY_ENTRY , size : *mut u32 , foundheader : *mut *mut IMAGE_SECTION_HEADER ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImageDirectoryEntryToDataEx ( base : *const ::core::ffi::c_void , mappedasimage : super::super::super::Foundation:: BOOLEAN , directoryentry : IMAGE_DIRECTORY_ENTRY , size : *mut u32 , foundheader : *mut *mut IMAGE_SECTION_HEADER ) -> *mut ::core::ffi::c_void ); ImageDirectoryEntryToDataEx(base, mappedasimage.into(), directoryentry, size, ::core::mem::transmute(foundheader.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -591,7 +591,7 @@ pub unsafe fn ImageEnumerateCertificates(filehandle: P0, typefilter: u16, ce where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ImageEnumerateCertificates ( filehandle : super::super::super::Foundation:: HANDLE , typefilter : u16 , certificatecount : *mut u32 , indices : *mut u32 , indexcount : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ImageEnumerateCertificates ( filehandle : super::super::super::Foundation:: HANDLE , typefilter : u16 , certificatecount : *mut u32 , indices : *mut u32 , indexcount : u32 ) -> super::super::super::Foundation:: BOOL ); ImageEnumerateCertificates(filehandle.into(), typefilter, certificatecount, ::core::mem::transmute(indices.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), indices.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_Security_WinTrust\"`*"] @@ -601,7 +601,7 @@ pub unsafe fn ImageGetCertificateData(filehandle: P0, certificateindex: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ImageGetCertificateData ( filehandle : super::super::super::Foundation:: HANDLE , certificateindex : u32 , certificate : *mut super::super::super::Security::WinTrust:: WIN_CERTIFICATE , requiredlength : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ImageGetCertificateData ( filehandle : super::super::super::Foundation:: HANDLE , certificateindex : u32 , certificate : *mut super::super::super::Security::WinTrust:: WIN_CERTIFICATE , requiredlength : *mut u32 ) -> super::super::super::Foundation:: BOOL ); ImageGetCertificateData(filehandle.into(), certificateindex, certificate, requiredlength) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_Security_WinTrust\"`*"] @@ -611,7 +611,7 @@ pub unsafe fn ImageGetCertificateHeader(filehandle: P0, certificateindex: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ImageGetCertificateHeader ( filehandle : super::super::super::Foundation:: HANDLE , certificateindex : u32 , certificateheader : *mut super::super::super::Security::WinTrust:: WIN_CERTIFICATE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ImageGetCertificateHeader ( filehandle : super::super::super::Foundation:: HANDLE , certificateindex : u32 , certificateheader : *mut super::super::super::Security::WinTrust:: WIN_CERTIFICATE ) -> super::super::super::Foundation:: BOOL ); ImageGetCertificateHeader(filehandle.into(), certificateindex, certificateheader) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -621,7 +621,7 @@ pub unsafe fn ImageGetDigestStream(filehandle: P0, digestlevel: u32, digestf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ImageGetDigestStream ( filehandle : super::super::super::Foundation:: HANDLE , digestlevel : u32 , digestfunction : DIGEST_FUNCTION , digesthandle : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ImageGetDigestStream ( filehandle : super::super::super::Foundation:: HANDLE , digestlevel : u32 , digestfunction : DIGEST_FUNCTION , digesthandle : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); ImageGetDigestStream(filehandle.into(), digestlevel, digestfunction, digesthandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] @@ -632,7 +632,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ImageLoad ( dllname : :: windows::core::PCSTR , dllpath : :: windows::core::PCSTR ) -> *mut LOADED_IMAGE ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ImageLoad ( dllname : :: windows::core::PCSTR , dllpath : :: windows::core::PCSTR ) -> *mut LOADED_IMAGE ); ImageLoad(dllname.into().abi(), dllpath.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] @@ -640,7 +640,7 @@ where #[cfg(feature = "Win32_System_SystemInformation")] #[inline] pub unsafe fn ImageNtHeader(base: *const ::core::ffi::c_void) -> *mut IMAGE_NT_HEADERS64 { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImageNtHeader ( base : *const ::core::ffi::c_void ) -> *mut IMAGE_NT_HEADERS64 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImageNtHeader ( base : *const ::core::ffi::c_void ) -> *mut IMAGE_NT_HEADERS64 ); ImageNtHeader(base) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] @@ -648,7 +648,7 @@ pub unsafe fn ImageNtHeader(base: *const ::core::ffi::c_void) -> *mut IMAGE_NT_H #[cfg(feature = "Win32_System_SystemInformation")] #[inline] pub unsafe fn ImageNtHeader(base: *const ::core::ffi::c_void) -> *mut IMAGE_NT_HEADERS32 { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImageNtHeader ( base : *const ::core::ffi::c_void ) -> *mut IMAGE_NT_HEADERS32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImageNtHeader ( base : *const ::core::ffi::c_void ) -> *mut IMAGE_NT_HEADERS32 ); ImageNtHeader(base) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -658,7 +658,7 @@ pub unsafe fn ImageRemoveCertificate(filehandle: P0, index: u32) -> super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ImageRemoveCertificate ( filehandle : super::super::super::Foundation:: HANDLE , index : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ImageRemoveCertificate ( filehandle : super::super::super::Foundation:: HANDLE , index : u32 ) -> super::super::super::Foundation:: BOOL ); ImageRemoveCertificate(filehandle.into(), index) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] @@ -666,7 +666,7 @@ where #[cfg(feature = "Win32_System_SystemInformation")] #[inline] pub unsafe fn ImageRvaToSection(ntheaders: *const IMAGE_NT_HEADERS64, base: *const ::core::ffi::c_void, rva: u32) -> *mut IMAGE_SECTION_HEADER { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImageRvaToSection ( ntheaders : *const IMAGE_NT_HEADERS64 , base : *const ::core::ffi::c_void , rva : u32 ) -> *mut IMAGE_SECTION_HEADER ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImageRvaToSection ( ntheaders : *const IMAGE_NT_HEADERS64 , base : *const ::core::ffi::c_void , rva : u32 ) -> *mut IMAGE_SECTION_HEADER ); ImageRvaToSection(ntheaders, base, rva) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] @@ -674,7 +674,7 @@ pub unsafe fn ImageRvaToSection(ntheaders: *const IMAGE_NT_HEADERS64, base: *con #[cfg(feature = "Win32_System_SystemInformation")] #[inline] pub unsafe fn ImageRvaToSection(ntheaders: *const IMAGE_NT_HEADERS32, base: *const ::core::ffi::c_void, rva: u32) -> *mut IMAGE_SECTION_HEADER { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImageRvaToSection ( ntheaders : *const IMAGE_NT_HEADERS32 , base : *const ::core::ffi::c_void , rva : u32 ) -> *mut IMAGE_SECTION_HEADER ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImageRvaToSection ( ntheaders : *const IMAGE_NT_HEADERS32 , base : *const ::core::ffi::c_void , rva : u32 ) -> *mut IMAGE_SECTION_HEADER ); ImageRvaToSection(ntheaders, base, rva) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] @@ -682,7 +682,7 @@ pub unsafe fn ImageRvaToSection(ntheaders: *const IMAGE_NT_HEADERS32, base: *con #[cfg(feature = "Win32_System_SystemInformation")] #[inline] pub unsafe fn ImageRvaToVa(ntheaders: *const IMAGE_NT_HEADERS64, base: *const ::core::ffi::c_void, rva: u32, lastrvasection: ::core::option::Option<*const *const IMAGE_SECTION_HEADER>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImageRvaToVa ( ntheaders : *const IMAGE_NT_HEADERS64 , base : *const ::core::ffi::c_void , rva : u32 , lastrvasection : *const *const IMAGE_SECTION_HEADER ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImageRvaToVa ( ntheaders : *const IMAGE_NT_HEADERS64 , base : *const ::core::ffi::c_void , rva : u32 , lastrvasection : *const *const IMAGE_SECTION_HEADER ) -> *mut ::core::ffi::c_void ); ImageRvaToVa(ntheaders, base, rva, ::core::mem::transmute(lastrvasection.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_SystemInformation\"`*"] @@ -690,47 +690,47 @@ pub unsafe fn ImageRvaToVa(ntheaders: *const IMAGE_NT_HEADERS64, base: *const :: #[cfg(feature = "Win32_System_SystemInformation")] #[inline] pub unsafe fn ImageRvaToVa(ntheaders: *const IMAGE_NT_HEADERS32, base: *const ::core::ffi::c_void, rva: u32, lastrvasection: ::core::option::Option<*const *const IMAGE_SECTION_HEADER>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImageRvaToVa ( ntheaders : *const IMAGE_NT_HEADERS32 , base : *const ::core::ffi::c_void , rva : u32 , lastrvasection : *const *const IMAGE_SECTION_HEADER ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImageRvaToVa ( ntheaders : *const IMAGE_NT_HEADERS32 , base : *const ::core::ffi::c_void , rva : u32 , lastrvasection : *const *const IMAGE_SECTION_HEADER ) -> *mut ::core::ffi::c_void ); ImageRvaToVa(ntheaders, base, rva, ::core::mem::transmute(lastrvasection.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn ImageUnload(loadedimage: *mut LOADED_IMAGE) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imagehlp.dll""system" fn ImageUnload ( loadedimage : *mut LOADED_IMAGE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ImageUnload ( loadedimage : *mut LOADED_IMAGE ) -> super::super::super::Foundation:: BOOL ); ImageUnload(loadedimage) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn ImagehlpApiVersion() -> *mut API_VERSION { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImagehlpApiVersion ( ) -> *mut API_VERSION ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImagehlpApiVersion ( ) -> *mut API_VERSION ); ImagehlpApiVersion() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn ImagehlpApiVersionEx(appversion: *const API_VERSION) -> *mut API_VERSION { - ::windows::core::link ! ( "dbghelp.dll""system" fn ImagehlpApiVersionEx ( appversion : *const API_VERSION ) -> *mut API_VERSION ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ImagehlpApiVersionEx ( appversion : *const API_VERSION ) -> *mut API_VERSION ); ImagehlpApiVersionEx(appversion) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn InitializeContext(buffer: ::core::option::Option<*mut ::core::ffi::c_void>, contextflags: u32, context: *mut *mut CONTEXT, contextlength: *mut u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeContext ( buffer : *mut ::core::ffi::c_void , contextflags : u32 , context : *mut *mut CONTEXT , contextlength : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeContext ( buffer : *mut ::core::ffi::c_void , contextflags : u32 , context : *mut *mut CONTEXT , contextlength : *mut u32 ) -> super::super::super::Foundation:: BOOL ); InitializeContext(::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), contextflags, context, contextlength) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn InitializeContext2(buffer: ::core::option::Option<*mut ::core::ffi::c_void>, contextflags: u32, context: *mut *mut CONTEXT, contextlength: *mut u32, xstatecompactionmask: u64) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeContext2 ( buffer : *mut ::core::ffi::c_void , contextflags : u32 , context : *mut *mut CONTEXT , contextlength : *mut u32 , xstatecompactionmask : u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeContext2 ( buffer : *mut ::core::ffi::c_void , contextflags : u32 , context : *mut *mut CONTEXT , contextlength : *mut u32 , xstatecompactionmask : u64 ) -> super::super::super::Foundation:: BOOL ); InitializeContext2(::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), contextflags, context, contextlength, xstatecompactionmask) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsDebuggerPresent() -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsDebuggerPresent ( ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsDebuggerPresent ( ) -> super::super::super::Foundation:: BOOL ); IsDebuggerPresent() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] @@ -738,7 +738,7 @@ pub unsafe fn IsDebuggerPresent() -> super::super::super::Foundation::BOOL { #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn LocateXStateFeature(context: *const CONTEXT, featureid: u32, length: ::core::option::Option<*mut u32>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn LocateXStateFeature ( context : *const CONTEXT , featureid : u32 , length : *mut u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocateXStateFeature ( context : *const CONTEXT , featureid : u32 , length : *mut u32 ) -> *mut ::core::ffi::c_void ); LocateXStateFeature(context, featureid, ::core::mem::transmute(length.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -748,7 +748,7 @@ pub unsafe fn MakeSureDirectoryPathExists(dirpath: P0) -> super::super::supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn MakeSureDirectoryPathExists ( dirpath : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn MakeSureDirectoryPathExists ( dirpath : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); MakeSureDirectoryPathExists(dirpath.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] @@ -761,7 +761,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn MapAndLoad ( imagename : :: windows::core::PCSTR , dllpath : :: windows::core::PCSTR , loadedimage : *mut LOADED_IMAGE , dotdll : super::super::super::Foundation:: BOOL , readonly : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn MapAndLoad ( imagename : :: windows::core::PCSTR , dllpath : :: windows::core::PCSTR , loadedimage : *mut LOADED_IMAGE , dotdll : super::super::super::Foundation:: BOOL , readonly : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); MapAndLoad(imagename.into().abi(), dllpath.into().abi(), loadedimage, dotdll.into(), readonly.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -770,7 +770,7 @@ pub unsafe fn MapFileAndCheckSumA(filename: P0, headersum: *mut u32, checksu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imagehlp.dll""system" fn MapFileAndCheckSumA ( filename : :: windows::core::PCSTR , headersum : *mut u32 , checksum : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn MapFileAndCheckSumA ( filename : :: windows::core::PCSTR , headersum : *mut u32 , checksum : *mut u32 ) -> u32 ); MapFileAndCheckSumA(filename.into().abi(), headersum, checksum) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -779,21 +779,21 @@ pub unsafe fn MapFileAndCheckSumW(filename: P0, headersum: *mut u32, checksu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "imagehlp.dll""system" fn MapFileAndCheckSumW ( filename : :: windows::core::PCWSTR , headersum : *mut u32 , checksum : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn MapFileAndCheckSumW ( filename : :: windows::core::PCWSTR , headersum : *mut u32 , checksum : *mut u32 ) -> u32 ); MapFileAndCheckSumW(filename.into().abi(), headersum, checksum) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn MessageBeep(utype: super::super::super::UI::WindowsAndMessaging::MESSAGEBOX_STYLE) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn MessageBeep ( utype : super::super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn MessageBeep ( utype : super::super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE ) -> super::super::super::Foundation:: BOOL ); MessageBeep(utype) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MiniDumpReadDumpStream(baseofdump: *const ::core::ffi::c_void, streamnumber: u32, dir: *mut *mut MINIDUMP_DIRECTORY, streampointer: *mut *mut ::core::ffi::c_void, streamsize: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "dbghelp.dll""system" fn MiniDumpReadDumpStream ( baseofdump : *const ::core::ffi::c_void , streamnumber : u32 , dir : *mut *mut MINIDUMP_DIRECTORY , streampointer : *mut *mut ::core::ffi::c_void , streamsize : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn MiniDumpReadDumpStream ( baseofdump : *const ::core::ffi::c_void , streamnumber : u32 , dir : *mut *mut MINIDUMP_DIRECTORY , streampointer : *mut *mut ::core::ffi::c_void , streamsize : *mut u32 ) -> super::super::super::Foundation:: BOOL ); MiniDumpReadDumpStream(baseofdump, streamnumber, dir, streampointer, ::core::mem::transmute(streamsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Memory\"`*"] @@ -804,14 +804,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn MiniDumpWriteDump ( hprocess : super::super::super::Foundation:: HANDLE , processid : u32 , hfile : super::super::super::Foundation:: HANDLE , dumptype : MINIDUMP_TYPE , exceptionparam : *const MINIDUMP_EXCEPTION_INFORMATION , userstreamparam : *const MINIDUMP_USER_STREAM_INFORMATION , callbackparam : *const MINIDUMP_CALLBACK_INFORMATION ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn MiniDumpWriteDump ( hprocess : super::super::super::Foundation:: HANDLE , processid : u32 , hfile : super::super::super::Foundation:: HANDLE , dumptype : MINIDUMP_TYPE , exceptionparam : *const MINIDUMP_EXCEPTION_INFORMATION , userstreamparam : *const MINIDUMP_USER_STREAM_INFORMATION , callbackparam : *const MINIDUMP_CALLBACK_INFORMATION ) -> super::super::super::Foundation:: BOOL ); MiniDumpWriteDump(hprocess.into(), processid, hfile.into(), dumptype, ::core::mem::transmute(exceptionparam.unwrap_or(::std::ptr::null())), ::core::mem::transmute(userstreamparam.unwrap_or(::std::ptr::null())), ::core::mem::transmute(callbackparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OpenThreadWaitChainSession(flags: OPEN_THREAD_WAIT_CHAIN_SESSION_FLAGS, callback: PWAITCHAINCALLBACK) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenThreadWaitChainSession ( flags : OPEN_THREAD_WAIT_CHAIN_SESSION_FLAGS , callback : PWAITCHAINCALLBACK ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenThreadWaitChainSession ( flags : OPEN_THREAD_WAIT_CHAIN_SESSION_FLAGS , callback : PWAITCHAINCALLBACK ) -> *mut ::core::ffi::c_void ); OpenThreadWaitChainSession(flags, callback) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -820,7 +820,7 @@ pub unsafe fn OutputDebugStringA(lpoutputstring: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OutputDebugStringA ( lpoutputstring : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OutputDebugStringA ( lpoutputstring : :: windows::core::PCSTR ) -> ( ) ); OutputDebugStringA(lpoutputstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -829,20 +829,20 @@ pub unsafe fn OutputDebugStringW(lpoutputstring: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OutputDebugStringW ( lpoutputstring : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OutputDebugStringW ( lpoutputstring : :: windows::core::PCWSTR ) -> ( ) ); OutputDebugStringW(lpoutputstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn RaiseException(dwexceptioncode: u32, dwexceptionflags: u32, lparguments: ::core::option::Option<&[usize]>) { - ::windows::core::link ! ( "kernel32.dll""system" fn RaiseException ( dwexceptioncode : u32 , dwexceptionflags : u32 , nnumberofarguments : u32 , lparguments : *const usize ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RaiseException ( dwexceptioncode : u32 , dwexceptionflags : u32 , nnumberofarguments : u32 , lparguments : *const usize ) -> ( ) ); RaiseException(dwexceptioncode, dwexceptionflags, lparguments.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lparguments.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn RaiseFailFastException(pexceptionrecord: ::core::option::Option<*const EXCEPTION_RECORD>, pcontextrecord: ::core::option::Option<*const CONTEXT>, dwflags: u32) { - ::windows::core::link ! ( "kernel32.dll""system" fn RaiseFailFastException ( pexceptionrecord : *const EXCEPTION_RECORD , pcontextrecord : *const CONTEXT , dwflags : u32 ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RaiseFailFastException ( pexceptionrecord : *const EXCEPTION_RECORD , pcontextrecord : *const CONTEXT , dwflags : u32 ) -> ( ) ); RaiseFailFastException(::core::mem::transmute(pexceptionrecord.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcontextrecord.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -852,40 +852,40 @@ pub unsafe fn RangeMapAddPeImageSections(rmaphandle: *const ::core::ffi::c_v where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn RangeMapAddPeImageSections ( rmaphandle : *const ::core::ffi::c_void , imagename : :: windows::core::PCWSTR , mappedimage : *const ::core::ffi::c_void , mappingbytes : u32 , imagebase : u64 , usertag : u64 , mappingflags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn RangeMapAddPeImageSections ( rmaphandle : *const ::core::ffi::c_void , imagename : :: windows::core::PCWSTR , mappedimage : *const ::core::ffi::c_void , mappingbytes : u32 , imagebase : u64 , usertag : u64 , mappingflags : u32 ) -> super::super::super::Foundation:: BOOL ); RangeMapAddPeImageSections(rmaphandle, imagename.into().abi(), mappedimage, mappingbytes, imagebase, usertag, mappingflags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn RangeMapCreate() -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "dbghelp.dll""system" fn RangeMapCreate ( ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn RangeMapCreate ( ) -> *mut ::core::ffi::c_void ); RangeMapCreate() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn RangeMapFree(rmaphandle: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "dbghelp.dll""system" fn RangeMapFree ( rmaphandle : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn RangeMapFree ( rmaphandle : *const ::core::ffi::c_void ) -> ( ) ); RangeMapFree(::core::mem::transmute(rmaphandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RangeMapRead(rmaphandle: *const ::core::ffi::c_void, offset: u64, buffer: *mut ::core::ffi::c_void, requestbytes: u32, flags: u32, donebytes: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "dbghelp.dll""system" fn RangeMapRead ( rmaphandle : *const ::core::ffi::c_void , offset : u64 , buffer : *mut ::core::ffi::c_void , requestbytes : u32 , flags : u32 , donebytes : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn RangeMapRead ( rmaphandle : *const ::core::ffi::c_void , offset : u64 , buffer : *mut ::core::ffi::c_void , requestbytes : u32 , flags : u32 , donebytes : *mut u32 ) -> super::super::super::Foundation:: BOOL ); RangeMapRead(rmaphandle, offset, buffer, requestbytes, flags, ::core::mem::transmute(donebytes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RangeMapRemove(rmaphandle: *const ::core::ffi::c_void, usertag: u64) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "dbghelp.dll""system" fn RangeMapRemove ( rmaphandle : *const ::core::ffi::c_void , usertag : u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn RangeMapRemove ( rmaphandle : *const ::core::ffi::c_void , usertag : u64 ) -> super::super::super::Foundation:: BOOL ); RangeMapRemove(rmaphandle, usertag) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RangeMapWrite(rmaphandle: *const ::core::ffi::c_void, offset: u64, buffer: *const ::core::ffi::c_void, requestbytes: u32, flags: u32, donebytes: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "dbghelp.dll""system" fn RangeMapWrite ( rmaphandle : *const ::core::ffi::c_void , offset : u64 , buffer : *const ::core::ffi::c_void , requestbytes : u32 , flags : u32 , donebytes : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn RangeMapWrite ( rmaphandle : *const ::core::ffi::c_void , offset : u64 , buffer : *const ::core::ffi::c_void , requestbytes : u32 , flags : u32 , donebytes : *mut u32 ) -> super::super::super::Foundation:: BOOL ); RangeMapWrite(rmaphandle, offset, buffer, requestbytes, flags, ::core::mem::transmute(donebytes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -899,7 +899,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ReBaseImage ( currentimagename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , frebase : super::super::super::Foundation:: BOOL , frebasesysfileok : super::super::super::Foundation:: BOOL , fgoingdown : super::super::super::Foundation:: BOOL , checkimagesize : u32 , oldimagesize : *mut u32 , oldimagebase : *mut usize , newimagesize : *mut u32 , newimagebase : *mut usize , timestamp : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ReBaseImage ( currentimagename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , frebase : super::super::super::Foundation:: BOOL , frebasesysfileok : super::super::super::Foundation:: BOOL , fgoingdown : super::super::super::Foundation:: BOOL , checkimagesize : u32 , oldimagesize : *mut u32 , oldimagebase : *mut usize , newimagesize : *mut u32 , newimagebase : *mut usize , timestamp : u32 ) -> super::super::super::Foundation:: BOOL ); ReBaseImage(currentimagename.into().abi(), symbolpath.into().abi(), frebase.into(), frebasesysfileok.into(), fgoingdown.into(), checkimagesize, oldimagesize, oldimagebase, newimagesize, newimagebase, timestamp) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -913,7 +913,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn ReBaseImage64 ( currentimagename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , frebase : super::super::super::Foundation:: BOOL , frebasesysfileok : super::super::super::Foundation:: BOOL , fgoingdown : super::super::super::Foundation:: BOOL , checkimagesize : u32 , oldimagesize : *mut u32 , oldimagebase : *mut u64 , newimagesize : *mut u32 , newimagebase : *mut u64 , timestamp : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn ReBaseImage64 ( currentimagename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , frebase : super::super::super::Foundation:: BOOL , frebasesysfileok : super::super::super::Foundation:: BOOL , fgoingdown : super::super::super::Foundation:: BOOL , checkimagesize : u32 , oldimagesize : *mut u32 , oldimagebase : *mut u64 , newimagesize : *mut u32 , newimagebase : *mut u64 , timestamp : u32 ) -> super::super::super::Foundation:: BOOL ); ReBaseImage64(currentimagename.into().abi(), symbolpath.into().abi(), frebase.into(), frebasesysfileok.into(), fgoingdown.into(), checkimagesize, oldimagesize, oldimagebase, newimagesize, newimagebase, timestamp) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -923,13 +923,13 @@ pub unsafe fn ReadProcessMemory(hprocess: P0, lpbaseaddress: *const ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadProcessMemory ( hprocess : super::super::super::Foundation:: HANDLE , lpbaseaddress : *const ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , nsize : usize , lpnumberofbytesread : *mut usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadProcessMemory ( hprocess : super::super::super::Foundation:: HANDLE , lpbaseaddress : *const ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , nsize : usize , lpnumberofbytesread : *mut usize ) -> super::super::super::Foundation:: BOOL ); ReadProcessMemory(hprocess.into(), lpbaseaddress, lpbuffer, nsize, ::core::mem::transmute(lpnumberofbytesread.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn RegisterWaitChainCOMCallback(callstatecallback: PCOGETCALLSTATE, activationstatecallback: PCOGETACTIVATIONSTATE) { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterWaitChainCOMCallback ( callstatecallback : PCOGETCALLSTATE , activationstatecallback : PCOGETACTIVATIONSTATE ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterWaitChainCOMCallback ( callstatecallback : PCOGETCALLSTATE , activationstatecallback : PCOGETACTIVATIONSTATE ) -> ( ) ); RegisterWaitChainCOMCallback(callstatecallback, activationstatecallback) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -939,19 +939,19 @@ pub unsafe fn RemoveInvalidModuleList(hprocess: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn RemoveInvalidModuleList ( hprocess : super::super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn RemoveInvalidModuleList ( hprocess : super::super::super::Foundation:: HANDLE ) -> ( ) ); RemoveInvalidModuleList(hprocess.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn RemoveVectoredContinueHandler(handle: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn RemoveVectoredContinueHandler ( handle : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RemoveVectoredContinueHandler ( handle : *const ::core::ffi::c_void ) -> u32 ); RemoveVectoredContinueHandler(handle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn RemoveVectoredExceptionHandler(handle: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn RemoveVectoredExceptionHandler ( handle : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RemoveVectoredExceptionHandler ( handle : *const ::core::ffi::c_void ) -> u32 ); RemoveVectoredExceptionHandler(handle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -962,7 +962,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn ReportSymbolLoadSummary ( hprocess : super::super::super::Foundation:: HANDLE , ploadmodule : :: windows::core::PCWSTR , psymboldata : *const DBGHELP_DATA_REPORT_STRUCT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn ReportSymbolLoadSummary ( hprocess : super::super::super::Foundation:: HANDLE , ploadmodule : :: windows::core::PCWSTR , psymboldata : *const DBGHELP_DATA_REPORT_STRUCT ) -> super::super::super::Foundation:: BOOL ); ReportSymbolLoadSummary(hprocess.into(), ploadmodule.into().abi(), psymboldata) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -970,7 +970,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlAddFunctionTable(functiontable: &[IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY], baseaddress: usize) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlAddFunctionTable ( functiontable : *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY , entrycount : u32 , baseaddress : usize ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlAddFunctionTable ( functiontable : *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY , entrycount : u32 , baseaddress : usize ) -> super::super::super::Foundation:: BOOLEAN ); RtlAddFunctionTable(::core::mem::transmute(functiontable.as_ptr()), functiontable.len() as _, baseaddress) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -978,28 +978,28 @@ pub unsafe fn RtlAddFunctionTable(functiontable: &[IMAGE_ARM64_RUNTIME_FUNCTION_ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlAddFunctionTable(functiontable: &[IMAGE_RUNTIME_FUNCTION_ENTRY], baseaddress: u64) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlAddFunctionTable ( functiontable : *const IMAGE_RUNTIME_FUNCTION_ENTRY , entrycount : u32 , baseaddress : u64 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlAddFunctionTable ( functiontable : *const IMAGE_RUNTIME_FUNCTION_ENTRY , entrycount : u32 , baseaddress : u64 ) -> super::super::super::Foundation:: BOOLEAN ); RtlAddFunctionTable(::core::mem::transmute(functiontable.as_ptr()), functiontable.len() as _, baseaddress) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "aarch64")] #[inline] pub unsafe fn RtlAddGrowableFunctionTable(dynamictable: *mut *mut ::core::ffi::c_void, functiontable: &[IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY], entrycount: u32, rangebase: usize, rangeend: usize) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlAddGrowableFunctionTable ( dynamictable : *mut *mut ::core::ffi::c_void , functiontable : *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY , entrycount : u32 , maximumentrycount : u32 , rangebase : usize , rangeend : usize ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlAddGrowableFunctionTable ( dynamictable : *mut *mut ::core::ffi::c_void , functiontable : *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY , entrycount : u32 , maximumentrycount : u32 , rangebase : usize , rangeend : usize ) -> u32 ); RtlAddGrowableFunctionTable(dynamictable, ::core::mem::transmute(functiontable.as_ptr()), entrycount, functiontable.len() as _, rangebase, rangeend) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "x86_64")] #[inline] pub unsafe fn RtlAddGrowableFunctionTable(dynamictable: *mut *mut ::core::ffi::c_void, functiontable: &[IMAGE_RUNTIME_FUNCTION_ENTRY], entrycount: u32, rangebase: usize, rangeend: usize) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlAddGrowableFunctionTable ( dynamictable : *mut *mut ::core::ffi::c_void , functiontable : *const IMAGE_RUNTIME_FUNCTION_ENTRY , entrycount : u32 , maximumentrycount : u32 , rangebase : usize , rangeend : usize ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlAddGrowableFunctionTable ( dynamictable : *mut *mut ::core::ffi::c_void , functiontable : *const IMAGE_RUNTIME_FUNCTION_ENTRY , entrycount : u32 , maximumentrycount : u32 , rangebase : usize , rangeend : usize ) -> u32 ); RtlAddGrowableFunctionTable(dynamictable, ::core::mem::transmute(functiontable.as_ptr()), entrycount, functiontable.len() as _, rangebase, rangeend) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn RtlCaptureContext(contextrecord: *mut CONTEXT) { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlCaptureContext ( contextrecord : *mut CONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlCaptureContext ( contextrecord : *mut CONTEXT ) -> ( ) ); RtlCaptureContext(contextrecord) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] @@ -1007,13 +1007,13 @@ pub unsafe fn RtlCaptureContext(contextrecord: *mut CONTEXT) { #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn RtlCaptureContext2(contextrecord: *mut CONTEXT) { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlCaptureContext2 ( contextrecord : *mut CONTEXT ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlCaptureContext2 ( contextrecord : *mut CONTEXT ) -> ( ) ); RtlCaptureContext2(contextrecord) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn RtlCaptureStackBackTrace(framestoskip: u32, backtrace: &mut [*mut ::core::ffi::c_void], backtracehash: ::core::option::Option<*mut u32>) -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlCaptureStackBackTrace ( framestoskip : u32 , framestocapture : u32 , backtrace : *mut *mut ::core::ffi::c_void , backtracehash : *mut u32 ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlCaptureStackBackTrace ( framestoskip : u32 , framestocapture : u32 , backtrace : *mut *mut ::core::ffi::c_void , backtracehash : *mut u32 ) -> u16 ); RtlCaptureStackBackTrace(framestoskip, backtrace.len() as _, ::core::mem::transmute(backtrace.as_ptr()), ::core::mem::transmute(backtracehash.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1021,7 +1021,7 @@ pub unsafe fn RtlCaptureStackBackTrace(framestoskip: u32, backtrace: &mut [*mut #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlDeleteFunctionTable(functiontable: *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlDeleteFunctionTable ( functiontable : *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlDeleteFunctionTable ( functiontable : *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY ) -> super::super::super::Foundation:: BOOLEAN ); RtlDeleteFunctionTable(functiontable) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1029,21 +1029,21 @@ pub unsafe fn RtlDeleteFunctionTable(functiontable: *const IMAGE_ARM64_RUNTIME_F #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlDeleteFunctionTable(functiontable: *const IMAGE_RUNTIME_FUNCTION_ENTRY) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlDeleteFunctionTable ( functiontable : *const IMAGE_RUNTIME_FUNCTION_ENTRY ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlDeleteFunctionTable ( functiontable : *const IMAGE_RUNTIME_FUNCTION_ENTRY ) -> super::super::super::Foundation:: BOOLEAN ); RtlDeleteFunctionTable(functiontable) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlDeleteGrowableFunctionTable(dynamictable: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlDeleteGrowableFunctionTable ( dynamictable : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlDeleteGrowableFunctionTable ( dynamictable : *const ::core::ffi::c_void ) -> ( ) ); RtlDeleteGrowableFunctionTable(dynamictable) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlGrowFunctionTable(dynamictable: *mut ::core::ffi::c_void, newentrycount: u32) { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlGrowFunctionTable ( dynamictable : *mut ::core::ffi::c_void , newentrycount : u32 ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlGrowFunctionTable ( dynamictable : *mut ::core::ffi::c_void , newentrycount : u32 ) -> ( ) ); RtlGrowFunctionTable(dynamictable, newentrycount) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1054,7 +1054,7 @@ pub unsafe fn RtlInstallFunctionTableCallback(tableidentifier: u64, baseaddr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlInstallFunctionTableCallback ( tableidentifier : u64 , baseaddress : u64 , length : u32 , callback : PGET_RUNTIME_FUNCTION_CALLBACK , context : *const ::core::ffi::c_void , outofprocesscallbackdll : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlInstallFunctionTableCallback ( tableidentifier : u64 , baseaddress : u64 , length : u32 , callback : PGET_RUNTIME_FUNCTION_CALLBACK , context : *const ::core::ffi::c_void , outofprocesscallbackdll : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOLEAN ); RtlInstallFunctionTableCallback(tableidentifier, baseaddress, length, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), outofprocesscallbackdll.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1065,48 +1065,48 @@ pub unsafe fn RtlInstallFunctionTableCallback(tableidentifier: u64, baseaddr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlInstallFunctionTableCallback ( tableidentifier : u64 , baseaddress : u64 , length : u32 , callback : PGET_RUNTIME_FUNCTION_CALLBACK , context : *const ::core::ffi::c_void , outofprocesscallbackdll : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlInstallFunctionTableCallback ( tableidentifier : u64 , baseaddress : u64 , length : u32 , callback : PGET_RUNTIME_FUNCTION_CALLBACK , context : *const ::core::ffi::c_void , outofprocesscallbackdll : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOLEAN ); RtlInstallFunctionTableCallback(tableidentifier, baseaddress, length, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), outofprocesscallbackdll.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "aarch64")] #[inline] pub unsafe fn RtlLookupFunctionEntry(controlpc: usize, imagebase: *mut usize, historytable: ::core::option::Option<*mut UNWIND_HISTORY_TABLE>) -> *mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlLookupFunctionEntry ( controlpc : usize , imagebase : *mut usize , historytable : *mut UNWIND_HISTORY_TABLE ) -> *mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlLookupFunctionEntry ( controlpc : usize , imagebase : *mut usize , historytable : *mut UNWIND_HISTORY_TABLE ) -> *mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY ); RtlLookupFunctionEntry(controlpc, imagebase, ::core::mem::transmute(historytable.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(target_arch = "x86_64")] #[inline] pub unsafe fn RtlLookupFunctionEntry(controlpc: u64, imagebase: *mut u64, historytable: ::core::option::Option<*mut UNWIND_HISTORY_TABLE>) -> *mut IMAGE_RUNTIME_FUNCTION_ENTRY { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlLookupFunctionEntry ( controlpc : u64 , imagebase : *mut u64 , historytable : *mut UNWIND_HISTORY_TABLE ) -> *mut IMAGE_RUNTIME_FUNCTION_ENTRY ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlLookupFunctionEntry ( controlpc : u64 , imagebase : *mut u64 , historytable : *mut UNWIND_HISTORY_TABLE ) -> *mut IMAGE_RUNTIME_FUNCTION_ENTRY ); RtlLookupFunctionEntry(controlpc, imagebase, ::core::mem::transmute(historytable.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn RtlPcToFileHeader(pcvalue: *const ::core::ffi::c_void, baseofimage: *mut *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlPcToFileHeader ( pcvalue : *const ::core::ffi::c_void , baseofimage : *mut *mut ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlPcToFileHeader ( pcvalue : *const ::core::ffi::c_void , baseofimage : *mut *mut ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); RtlPcToFileHeader(pcvalue, baseofimage) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlRaiseException(exceptionrecord: *const EXCEPTION_RECORD) { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlRaiseException ( exceptionrecord : *const EXCEPTION_RECORD ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlRaiseException ( exceptionrecord : *const EXCEPTION_RECORD ) -> ( ) ); RtlRaiseException(exceptionrecord) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn RtlRestoreContext(contextrecord: *const CONTEXT, exceptionrecord: ::core::option::Option<*const EXCEPTION_RECORD>) { - ::windows::core::link ! ( "kernel32.dll""cdecl" fn RtlRestoreContext ( contextrecord : *const CONTEXT , exceptionrecord : *const EXCEPTION_RECORD ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""cdecl" fn RtlRestoreContext ( contextrecord : *const CONTEXT , exceptionrecord : *const EXCEPTION_RECORD ) -> ( ) ); RtlRestoreContext(contextrecord, ::core::mem::transmute(exceptionrecord.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlUnwind(targetframe: ::core::option::Option<*const ::core::ffi::c_void>, targetip: ::core::option::Option<*const ::core::ffi::c_void>, exceptionrecord: ::core::option::Option<*const EXCEPTION_RECORD>, returnvalue: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlUnwind ( targetframe : *const ::core::ffi::c_void , targetip : *const ::core::ffi::c_void , exceptionrecord : *const EXCEPTION_RECORD , returnvalue : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlUnwind ( targetframe : *const ::core::ffi::c_void , targetip : *const ::core::ffi::c_void , exceptionrecord : *const EXCEPTION_RECORD , returnvalue : *const ::core::ffi::c_void ) -> ( ) ); RtlUnwind(::core::mem::transmute(targetframe.unwrap_or(::std::ptr::null())), ::core::mem::transmute(targetip.unwrap_or(::std::ptr::null())), ::core::mem::transmute(exceptionrecord.unwrap_or(::std::ptr::null())), returnvalue) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1114,7 +1114,7 @@ pub unsafe fn RtlUnwind(targetframe: ::core::option::Option<*const ::core::ffi:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn RtlUnwindEx(targetframe: ::core::option::Option<*const ::core::ffi::c_void>, targetip: ::core::option::Option<*const ::core::ffi::c_void>, exceptionrecord: ::core::option::Option<*const EXCEPTION_RECORD>, returnvalue: *const ::core::ffi::c_void, contextrecord: *const CONTEXT, historytable: ::core::option::Option<*const UNWIND_HISTORY_TABLE>) { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlUnwindEx ( targetframe : *const ::core::ffi::c_void , targetip : *const ::core::ffi::c_void , exceptionrecord : *const EXCEPTION_RECORD , returnvalue : *const ::core::ffi::c_void , contextrecord : *const CONTEXT , historytable : *const UNWIND_HISTORY_TABLE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlUnwindEx ( targetframe : *const ::core::ffi::c_void , targetip : *const ::core::ffi::c_void , exceptionrecord : *const EXCEPTION_RECORD , returnvalue : *const ::core::ffi::c_void , contextrecord : *const CONTEXT , historytable : *const UNWIND_HISTORY_TABLE ) -> ( ) ); RtlUnwindEx(::core::mem::transmute(targetframe.unwrap_or(::std::ptr::null())), ::core::mem::transmute(targetip.unwrap_or(::std::ptr::null())), ::core::mem::transmute(exceptionrecord.unwrap_or(::std::ptr::null())), returnvalue, contextrecord, ::core::mem::transmute(historytable.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1122,7 +1122,7 @@ pub unsafe fn RtlUnwindEx(targetframe: ::core::option::Option<*const ::core::ffi #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn RtlVirtualUnwind(handlertype: RTL_VIRTUAL_UNWIND_HANDLER_TYPE, imagebase: usize, controlpc: usize, functionentry: *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY, contextrecord: *mut CONTEXT, handlerdata: *mut *mut ::core::ffi::c_void, establisherframe: *mut usize, contextpointers: ::core::option::Option<*mut KNONVOLATILE_CONTEXT_POINTERS_ARM64>) -> super::super::Kernel::EXCEPTION_ROUTINE { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlVirtualUnwind ( handlertype : RTL_VIRTUAL_UNWIND_HANDLER_TYPE , imagebase : usize , controlpc : usize , functionentry : *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY , contextrecord : *mut CONTEXT , handlerdata : *mut *mut ::core::ffi::c_void , establisherframe : *mut usize , contextpointers : *mut KNONVOLATILE_CONTEXT_POINTERS_ARM64 ) -> super::super::Kernel:: EXCEPTION_ROUTINE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlVirtualUnwind ( handlertype : RTL_VIRTUAL_UNWIND_HANDLER_TYPE , imagebase : usize , controlpc : usize , functionentry : *const IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY , contextrecord : *mut CONTEXT , handlerdata : *mut *mut ::core::ffi::c_void , establisherframe : *mut usize , contextpointers : *mut KNONVOLATILE_CONTEXT_POINTERS_ARM64 ) -> super::super::Kernel:: EXCEPTION_ROUTINE ); RtlVirtualUnwind(handlertype, imagebase, controlpc, functionentry, contextrecord, handlerdata, establisherframe, ::core::mem::transmute(contextpointers.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1130,7 +1130,7 @@ pub unsafe fn RtlVirtualUnwind(handlertype: RTL_VIRTUAL_UNWIND_HANDLER_TYPE, ima #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn RtlVirtualUnwind(handlertype: RTL_VIRTUAL_UNWIND_HANDLER_TYPE, imagebase: u64, controlpc: u64, functionentry: *const IMAGE_RUNTIME_FUNCTION_ENTRY, contextrecord: *mut CONTEXT, handlerdata: *mut *mut ::core::ffi::c_void, establisherframe: *mut u64, contextpointers: ::core::option::Option<*mut KNONVOLATILE_CONTEXT_POINTERS>) -> super::super::Kernel::EXCEPTION_ROUTINE { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlVirtualUnwind ( handlertype : RTL_VIRTUAL_UNWIND_HANDLER_TYPE , imagebase : u64 , controlpc : u64 , functionentry : *const IMAGE_RUNTIME_FUNCTION_ENTRY , contextrecord : *mut CONTEXT , handlerdata : *mut *mut ::core::ffi::c_void , establisherframe : *mut u64 , contextpointers : *mut KNONVOLATILE_CONTEXT_POINTERS ) -> super::super::Kernel:: EXCEPTION_ROUTINE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlVirtualUnwind ( handlertype : RTL_VIRTUAL_UNWIND_HANDLER_TYPE , imagebase : u64 , controlpc : u64 , functionentry : *const IMAGE_RUNTIME_FUNCTION_ENTRY , contextrecord : *mut CONTEXT , handlerdata : *mut *mut ::core::ffi::c_void , establisherframe : *mut u64 , contextpointers : *mut KNONVOLATILE_CONTEXT_POINTERS ) -> super::super::Kernel:: EXCEPTION_ROUTINE ); RtlVirtualUnwind(handlertype, imagebase, controlpc, functionentry, contextrecord, handlerdata, establisherframe, ::core::mem::transmute(contextpointers.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1141,7 +1141,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SearchTreeForFile ( rootpath : :: windows::core::PCSTR , inputpathname : :: windows::core::PCSTR , outputpathbuffer : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SearchTreeForFile ( rootpath : :: windows::core::PCSTR , inputpathname : :: windows::core::PCSTR , outputpathbuffer : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); SearchTreeForFile(rootpath.into().abi(), inputpathname.into().abi(), ::core::mem::transmute(outputpathbuffer)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1152,19 +1152,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SearchTreeForFileW ( rootpath : :: windows::core::PCWSTR , inputpathname : :: windows::core::PCWSTR , outputpathbuffer : :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SearchTreeForFileW ( rootpath : :: windows::core::PCWSTR , inputpathname : :: windows::core::PCWSTR , outputpathbuffer : :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOL ); SearchTreeForFileW(rootpath.into().abi(), inputpathname.into().abi(), ::core::mem::transmute(outputpathbuffer)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn SetCheckUserInterruptShared(lpstartaddress: LPCALL_BACK_USER_INTERRUPT_ROUTINE) { - ::windows::core::link ! ( "dbghelp.dll""system" fn SetCheckUserInterruptShared ( lpstartaddress : LPCALL_BACK_USER_INTERRUPT_ROUTINE ) -> ( ) ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SetCheckUserInterruptShared ( lpstartaddress : LPCALL_BACK_USER_INTERRUPT_ROUTINE ) -> ( ) ); SetCheckUserInterruptShared(lpstartaddress) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn SetErrorMode(umode: THREAD_ERROR_MODE) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn SetErrorMode ( umode : THREAD_ERROR_MODE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetErrorMode ( umode : THREAD_ERROR_MODE ) -> u32 ); SetErrorMode(umode) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] @@ -1172,7 +1172,7 @@ pub unsafe fn SetErrorMode(umode: THREAD_ERROR_MODE) -> u32 { #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn SetImageConfigInformation(loadedimage: *mut LOADED_IMAGE, imageconfiginformation: *const IMAGE_LOAD_CONFIG_DIRECTORY64) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imagehlp.dll""system" fn SetImageConfigInformation ( loadedimage : *mut LOADED_IMAGE , imageconfiginformation : *const IMAGE_LOAD_CONFIG_DIRECTORY64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn SetImageConfigInformation ( loadedimage : *mut LOADED_IMAGE , imageconfiginformation : *const IMAGE_LOAD_CONFIG_DIRECTORY64 ) -> super::super::super::Foundation:: BOOL ); SetImageConfigInformation(loadedimage, imageconfiginformation) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] @@ -1180,13 +1180,13 @@ pub unsafe fn SetImageConfigInformation(loadedimage: *mut LOADED_IMAGE, imagecon #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn SetImageConfigInformation(loadedimage: *mut LOADED_IMAGE, imageconfiginformation: *const IMAGE_LOAD_CONFIG_DIRECTORY32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imagehlp.dll""system" fn SetImageConfigInformation ( loadedimage : *mut LOADED_IMAGE , imageconfiginformation : *const IMAGE_LOAD_CONFIG_DIRECTORY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn SetImageConfigInformation ( loadedimage : *mut LOADED_IMAGE , imageconfiginformation : *const IMAGE_LOAD_CONFIG_DIRECTORY32 ) -> super::super::super::Foundation:: BOOL ); SetImageConfigInformation(loadedimage, imageconfiginformation) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn SetSymLoadError(error: u32) { - ::windows::core::link ! ( "dbghelp.dll""system" fn SetSymLoadError ( error : u32 ) -> ( ) ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SetSymLoadError ( error : u32 ) -> ( ) ); SetSymLoadError(error) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1196,21 +1196,21 @@ pub unsafe fn SetThreadContext(hthread: P0, lpcontext: *const CONTEXT) -> su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadContext ( hthread : super::super::super::Foundation:: HANDLE , lpcontext : *const CONTEXT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadContext ( hthread : super::super::super::Foundation:: HANDLE , lpcontext : *const CONTEXT ) -> super::super::super::Foundation:: BOOL ); SetThreadContext(hthread.into(), lpcontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetThreadErrorMode(dwnewmode: THREAD_ERROR_MODE, lpoldmode: ::core::option::Option<*const THREAD_ERROR_MODE>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadErrorMode ( dwnewmode : THREAD_ERROR_MODE , lpoldmode : *const THREAD_ERROR_MODE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadErrorMode ( dwnewmode : THREAD_ERROR_MODE , lpoldmode : *const THREAD_ERROR_MODE ) -> super::super::super::Foundation:: BOOL ); SetThreadErrorMode(dwnewmode, ::core::mem::transmute(lpoldmode.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn SetUnhandledExceptionFilter(lptoplevelexceptionfilter: LPTOP_LEVEL_EXCEPTION_FILTER) -> LPTOP_LEVEL_EXCEPTION_FILTER { - ::windows::core::link ! ( "kernel32.dll""system" fn SetUnhandledExceptionFilter ( lptoplevelexceptionfilter : LPTOP_LEVEL_EXCEPTION_FILTER ) -> LPTOP_LEVEL_EXCEPTION_FILTER ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetUnhandledExceptionFilter ( lptoplevelexceptionfilter : LPTOP_LEVEL_EXCEPTION_FILTER ) -> LPTOP_LEVEL_EXCEPTION_FILTER ); SetUnhandledExceptionFilter(lptoplevelexceptionfilter) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1218,7 +1218,7 @@ pub unsafe fn SetUnhandledExceptionFilter(lptoplevelexceptionfilter: LPTOP_LEVEL #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn SetXStateFeaturesMask(context: *mut CONTEXT, featuremask: u64) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetXStateFeaturesMask ( context : *mut CONTEXT , featuremask : u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetXStateFeaturesMask ( context : *mut CONTEXT , featuremask : u64 ) -> super::super::super::Foundation:: BOOL ); SetXStateFeaturesMask(context, featuremask) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1230,7 +1230,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn StackWalk ( machinetype : u32 , hprocess : super::super::super::Foundation:: HANDLE , hthread : super::super::super::Foundation:: HANDLE , stackframe : *mut STACKFRAME , contextrecord : *mut ::core::ffi::c_void , readmemoryroutine : PREAD_PROCESS_MEMORY_ROUTINE , functiontableaccessroutine : PFUNCTION_TABLE_ACCESS_ROUTINE , getmodulebaseroutine : PGET_MODULE_BASE_ROUTINE , translateaddress : PTRANSLATE_ADDRESS_ROUTINE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn StackWalk ( machinetype : u32 , hprocess : super::super::super::Foundation:: HANDLE , hthread : super::super::super::Foundation:: HANDLE , stackframe : *mut STACKFRAME , contextrecord : *mut ::core::ffi::c_void , readmemoryroutine : PREAD_PROCESS_MEMORY_ROUTINE , functiontableaccessroutine : PFUNCTION_TABLE_ACCESS_ROUTINE , getmodulebaseroutine : PGET_MODULE_BASE_ROUTINE , translateaddress : PTRANSLATE_ADDRESS_ROUTINE ) -> super::super::super::Foundation:: BOOL ); StackWalk(machinetype, hprocess.into(), hthread.into(), stackframe, contextrecord, readmemoryroutine, functiontableaccessroutine, getmodulebaseroutine, translateaddress) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1241,7 +1241,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn StackWalk64 ( machinetype : u32 , hprocess : super::super::super::Foundation:: HANDLE , hthread : super::super::super::Foundation:: HANDLE , stackframe : *mut STACKFRAME64 , contextrecord : *mut ::core::ffi::c_void , readmemoryroutine : PREAD_PROCESS_MEMORY_ROUTINE64 , functiontableaccessroutine : PFUNCTION_TABLE_ACCESS_ROUTINE64 , getmodulebaseroutine : PGET_MODULE_BASE_ROUTINE64 , translateaddress : PTRANSLATE_ADDRESS_ROUTINE64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn StackWalk64 ( machinetype : u32 , hprocess : super::super::super::Foundation:: HANDLE , hthread : super::super::super::Foundation:: HANDLE , stackframe : *mut STACKFRAME64 , contextrecord : *mut ::core::ffi::c_void , readmemoryroutine : PREAD_PROCESS_MEMORY_ROUTINE64 , functiontableaccessroutine : PFUNCTION_TABLE_ACCESS_ROUTINE64 , getmodulebaseroutine : PGET_MODULE_BASE_ROUTINE64 , translateaddress : PTRANSLATE_ADDRESS_ROUTINE64 ) -> super::super::super::Foundation:: BOOL ); StackWalk64(machinetype, hprocess.into(), hthread.into(), stackframe, contextrecord, readmemoryroutine, functiontableaccessroutine, getmodulebaseroutine, translateaddress) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1252,7 +1252,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn StackWalkEx ( machinetype : u32 , hprocess : super::super::super::Foundation:: HANDLE , hthread : super::super::super::Foundation:: HANDLE , stackframe : *mut STACKFRAME_EX , contextrecord : *mut ::core::ffi::c_void , readmemoryroutine : PREAD_PROCESS_MEMORY_ROUTINE64 , functiontableaccessroutine : PFUNCTION_TABLE_ACCESS_ROUTINE64 , getmodulebaseroutine : PGET_MODULE_BASE_ROUTINE64 , translateaddress : PTRANSLATE_ADDRESS_ROUTINE64 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn StackWalkEx ( machinetype : u32 , hprocess : super::super::super::Foundation:: HANDLE , hthread : super::super::super::Foundation:: HANDLE , stackframe : *mut STACKFRAME_EX , contextrecord : *mut ::core::ffi::c_void , readmemoryroutine : PREAD_PROCESS_MEMORY_ROUTINE64 , functiontableaccessroutine : PFUNCTION_TABLE_ACCESS_ROUTINE64 , getmodulebaseroutine : PGET_MODULE_BASE_ROUTINE64 , translateaddress : PTRANSLATE_ADDRESS_ROUTINE64 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); StackWalkEx(machinetype, hprocess.into(), hthread.into(), stackframe, contextrecord, readmemoryroutine, functiontableaccessroutine, getmodulebaseroutine, translateaddress, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1263,7 +1263,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymAddSourceStream ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , streamfile : :: windows::core::PCSTR , buffer : *const u8 , size : usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymAddSourceStream ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , streamfile : :: windows::core::PCSTR , buffer : *const u8 , size : usize ) -> super::super::super::Foundation:: BOOL ); SymAddSourceStream(hprocess.into(), base, streamfile.into().abi(), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1274,7 +1274,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymAddSourceStreamA ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , streamfile : :: windows::core::PCSTR , buffer : *const u8 , size : usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymAddSourceStreamA ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , streamfile : :: windows::core::PCSTR , buffer : *const u8 , size : usize ) -> super::super::super::Foundation:: BOOL ); SymAddSourceStreamA(hprocess.into(), base, streamfile.into().abi(), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1285,7 +1285,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymAddSourceStreamW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCWSTR , buffer : *const u8 , size : usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymAddSourceStreamW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCWSTR , buffer : *const u8 , size : usize ) -> super::super::super::Foundation:: BOOL ); SymAddSourceStreamW(hprocess.into(), base, filespec.into().abi(), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1296,7 +1296,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymAddSymbol ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCSTR , address : u64 , size : u32 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymAddSymbol ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCSTR , address : u64 , size : u32 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymAddSymbol(hprocess.into(), baseofdll, name.into().abi(), address, size, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1307,7 +1307,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymAddSymbolW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCWSTR , address : u64 , size : u32 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymAddSymbolW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCWSTR , address : u64 , size : u32 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymAddSymbolW(hprocess.into(), baseofdll, name.into().abi(), address, size, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1317,7 +1317,7 @@ pub unsafe fn SymAddrIncludeInlineTrace(hprocess: P0, address: u64) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymAddrIncludeInlineTrace ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymAddrIncludeInlineTrace ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 ) -> u32 ); SymAddrIncludeInlineTrace(hprocess.into(), address) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1327,7 +1327,7 @@ pub unsafe fn SymCleanup(hprocess: P0) -> super::super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymCleanup ( hprocess : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymCleanup ( hprocess : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); SymCleanup(hprocess.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1337,7 +1337,7 @@ pub unsafe fn SymCompareInlineTrace(hprocess: P0, address1: u64, inlineconte where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymCompareInlineTrace ( hprocess : super::super::super::Foundation:: HANDLE , address1 : u64 , inlinecontext1 : u32 , retaddress1 : u64 , address2 : u64 , retaddress2 : u64 ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymCompareInlineTrace ( hprocess : super::super::super::Foundation:: HANDLE , address1 : u64 , inlinecontext1 : u32 , retaddress1 : u64 , address2 : u64 , retaddress2 : u64 ) -> u32 ); SymCompareInlineTrace(hprocess.into(), address1, inlinecontext1, retaddress1, address2, retaddress2) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1348,7 +1348,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymDeleteSymbol ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCSTR , address : u64 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymDeleteSymbol ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCSTR , address : u64 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymDeleteSymbol(hprocess.into(), baseofdll, name.into().abi(), address, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1359,7 +1359,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymDeleteSymbolW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCWSTR , address : u64 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymDeleteSymbolW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCWSTR , address : u64 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymDeleteSymbolW(hprocess.into(), baseofdll, name.into().abi(), address, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1371,7 +1371,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumLines ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , obj : :: windows::core::PCSTR , file : :: windows::core::PCSTR , enumlinescallback : PSYM_ENUMLINES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumLines ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , obj : :: windows::core::PCSTR , file : :: windows::core::PCSTR , enumlinescallback : PSYM_ENUMLINES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumLines(hprocess.into(), base, obj.into().abi(), file.into().abi(), enumlinescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1383,14 +1383,14 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumLinesW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , obj : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , enumlinescallback : PSYM_ENUMLINES_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumLinesW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , obj : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , enumlinescallback : PSYM_ENUMLINES_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumLinesW(hprocess.into(), base, obj.into().abi(), file.into().abi(), enumlinescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SymEnumProcesses(enumprocessescallback: PSYM_ENUMPROCESSES_CALLBACK, usercontext: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumProcesses ( enumprocessescallback : PSYM_ENUMPROCESSES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumProcesses ( enumprocessescallback : PSYM_ENUMPROCESSES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumProcesses(enumprocessescallback, usercontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1400,7 +1400,7 @@ pub unsafe fn SymEnumSourceFileTokens(hprocess: P0, base: u64, callback: PEN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSourceFileTokens ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , callback : PENUMSOURCEFILETOKENSCALLBACK ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSourceFileTokens ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , callback : PENUMSOURCEFILETOKENSCALLBACK ) -> super::super::super::Foundation:: BOOL ); SymEnumSourceFileTokens(hprocess.into(), base, callback) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1411,7 +1411,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSourceFiles ( hprocess : super::super::super::Foundation:: HANDLE , modbase : u64 , mask : :: windows::core::PCSTR , cbsrcfiles : PSYM_ENUMSOURCEFILES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSourceFiles ( hprocess : super::super::super::Foundation:: HANDLE , modbase : u64 , mask : :: windows::core::PCSTR , cbsrcfiles : PSYM_ENUMSOURCEFILES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSourceFiles(hprocess.into(), modbase, mask.into().abi(), cbsrcfiles, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1422,7 +1422,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSourceFilesW ( hprocess : super::super::super::Foundation:: HANDLE , modbase : u64 , mask : :: windows::core::PCWSTR , cbsrcfiles : PSYM_ENUMSOURCEFILES_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSourceFilesW ( hprocess : super::super::super::Foundation:: HANDLE , modbase : u64 , mask : :: windows::core::PCWSTR , cbsrcfiles : PSYM_ENUMSOURCEFILES_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSourceFilesW(hprocess.into(), modbase, mask.into().abi(), cbsrcfiles, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1434,7 +1434,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSourceLines ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , obj : :: windows::core::PCSTR , file : :: windows::core::PCSTR , line : u32 , flags : u32 , enumlinescallback : PSYM_ENUMLINES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSourceLines ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , obj : :: windows::core::PCSTR , file : :: windows::core::PCSTR , line : u32 , flags : u32 , enumlinescallback : PSYM_ENUMLINES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSourceLines(hprocess.into(), base, obj.into().abi(), file.into().abi(), line, flags, enumlinescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1446,7 +1446,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSourceLinesW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , obj : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , line : u32 , flags : u32 , enumlinescallback : PSYM_ENUMLINES_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSourceLinesW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , obj : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , line : u32 , flags : u32 , enumlinescallback : PSYM_ENUMLINES_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSourceLinesW(hprocess.into(), base, obj.into().abi(), file.into().abi(), line, flags, enumlinescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1456,7 +1456,7 @@ pub unsafe fn SymEnumSym(hprocess: P0, baseofdll: u64, enumsymbolscallback: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSym ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSym ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSym(hprocess.into(), baseofdll, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1467,7 +1467,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSymbols ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSymbols ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSymbols(hprocess.into(), baseofdll, mask.into().abi(), enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1478,7 +1478,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsEx ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void , options : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsEx ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void , options : u32 ) -> super::super::super::Foundation:: BOOL ); SymEnumSymbolsEx(hprocess.into(), baseofdll, mask.into().abi(), enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null())), options) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1489,7 +1489,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsExW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCWSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void , options : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsExW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCWSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void , options : u32 ) -> super::super::super::Foundation:: BOOL ); SymEnumSymbolsExW(hprocess.into(), baseofdll, mask.into().abi(), enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null())), options) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1499,7 +1499,7 @@ pub unsafe fn SymEnumSymbolsForAddr(hprocess: P0, address: u64, enumsymbolsc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsForAddr ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsForAddr ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSymbolsForAddr(hprocess.into(), address, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1509,7 +1509,7 @@ pub unsafe fn SymEnumSymbolsForAddrW(hprocess: P0, address: u64, enumsymbols where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsForAddrW ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsForAddrW ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSymbolsForAddrW(hprocess.into(), address, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1520,7 +1520,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCWSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumSymbolsW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCWSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumSymbolsW(hprocess.into(), baseofdll, mask.into().abi(), enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1530,7 +1530,7 @@ pub unsafe fn SymEnumTypes(hprocess: P0, baseofdll: u64, enumsymbolscallback where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumTypes ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumTypes ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumTypes(hprocess.into(), baseofdll, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1541,7 +1541,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumTypesByName ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumTypesByName ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumTypesByName(hprocess.into(), baseofdll, mask.into().abi(), enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1552,7 +1552,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumTypesByNameW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCWSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumTypesByNameW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , mask : :: windows::core::PCWSTR , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumTypesByNameW(hprocess.into(), baseofdll, mask.into().abi(), enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1562,7 +1562,7 @@ pub unsafe fn SymEnumTypesW(hprocess: P0, baseofdll: u64, enumsymbolscallbac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumTypesW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumTypesW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumTypesW(hprocess.into(), baseofdll, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1573,7 +1573,7 @@ pub unsafe fn SymEnumerateModules(hprocess: P0, enummodulescallback: PSYM_EN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumerateModules ( hprocess : super::super::super::Foundation:: HANDLE , enummodulescallback : PSYM_ENUMMODULES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumerateModules ( hprocess : super::super::super::Foundation:: HANDLE , enummodulescallback : PSYM_ENUMMODULES_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumerateModules(hprocess.into(), enummodulescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1583,7 +1583,7 @@ pub unsafe fn SymEnumerateModules64(hprocess: P0, enummodulescallback: PSYM_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumerateModules64 ( hprocess : super::super::super::Foundation:: HANDLE , enummodulescallback : PSYM_ENUMMODULES_CALLBACK64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumerateModules64 ( hprocess : super::super::super::Foundation:: HANDLE , enummodulescallback : PSYM_ENUMMODULES_CALLBACK64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumerateModules64(hprocess.into(), enummodulescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1593,7 +1593,7 @@ pub unsafe fn SymEnumerateModulesW64(hprocess: P0, enummodulescallback: PSYM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumerateModulesW64 ( hprocess : super::super::super::Foundation:: HANDLE , enummodulescallback : PSYM_ENUMMODULES_CALLBACKW64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumerateModulesW64 ( hprocess : super::super::super::Foundation:: HANDLE , enummodulescallback : PSYM_ENUMMODULES_CALLBACKW64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumerateModulesW64(hprocess.into(), enummodulescallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1604,7 +1604,7 @@ pub unsafe fn SymEnumerateSymbols(hprocess: P0, baseofdll: u32, enumsymbolsc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumerateSymbols ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u32 , enumsymbolscallback : PSYM_ENUMSYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumerateSymbols ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u32 , enumsymbolscallback : PSYM_ENUMSYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumerateSymbols(hprocess.into(), baseofdll, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1614,7 +1614,7 @@ pub unsafe fn SymEnumerateSymbols64(hprocess: P0, baseofdll: u64, enumsymbol where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumerateSymbols64 ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMSYMBOLS_CALLBACK64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumerateSymbols64 ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMSYMBOLS_CALLBACK64 , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumerateSymbols64(hprocess.into(), baseofdll, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1625,7 +1625,7 @@ pub unsafe fn SymEnumerateSymbolsW(hprocess: P0, baseofdll: u32, enumsymbols where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumerateSymbolsW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u32 , enumsymbolscallback : PSYM_ENUMSYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumerateSymbolsW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u32 , enumsymbolscallback : PSYM_ENUMSYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumerateSymbolsW(hprocess.into(), baseofdll, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1635,7 +1635,7 @@ pub unsafe fn SymEnumerateSymbolsW64(hprocess: P0, baseofdll: u64, enumsymbo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymEnumerateSymbolsW64 ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMSYMBOLS_CALLBACK64W , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymEnumerateSymbolsW64 ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , enumsymbolscallback : PSYM_ENUMSYMBOLS_CALLBACK64W , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymEnumerateSymbolsW64(hprocess.into(), baseofdll, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1646,9 +1646,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFindDebugInfoFile ( hprocess : super::super::super::Foundation:: HANDLE , filename : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR , callback : PFIND_DEBUG_FILE_CALLBACK , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFindDebugInfoFile ( hprocess : super::super::super::Foundation:: HANDLE , filename : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR , callback : PFIND_DEBUG_FILE_CALLBACK , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); let result__ = SymFindDebugInfoFile(hprocess.into(), filename.into().abi(), ::core::mem::transmute(debugfilepath), callback, ::core::mem::transmute(callerdata.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1658,9 +1658,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFindDebugInfoFileW ( hprocess : super::super::super::Foundation:: HANDLE , filename : :: windows::core::PCWSTR , debugfilepath : :: windows::core::PWSTR , callback : PFIND_DEBUG_FILE_CALLBACKW , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFindDebugInfoFileW ( hprocess : super::super::super::Foundation:: HANDLE , filename : :: windows::core::PCWSTR , debugfilepath : :: windows::core::PWSTR , callback : PFIND_DEBUG_FILE_CALLBACKW , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); let result__ = SymFindDebugInfoFileW(hprocess.into(), filename.into().abi(), ::core::mem::transmute(debugfilepath), callback, ::core::mem::transmute(callerdata.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1670,9 +1670,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFindExecutableImage ( hprocess : super::super::super::Foundation:: HANDLE , filename : :: windows::core::PCSTR , imagefilepath : :: windows::core::PSTR , callback : PFIND_EXE_FILE_CALLBACK , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFindExecutableImage ( hprocess : super::super::super::Foundation:: HANDLE , filename : :: windows::core::PCSTR , imagefilepath : :: windows::core::PSTR , callback : PFIND_EXE_FILE_CALLBACK , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); let result__ = SymFindExecutableImage(hprocess.into(), filename.into().abi(), ::core::mem::transmute(imagefilepath), callback, callerdata); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1682,9 +1682,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFindExecutableImageW ( hprocess : super::super::super::Foundation:: HANDLE , filename : :: windows::core::PCWSTR , imagefilepath : :: windows::core::PWSTR , callback : PFIND_EXE_FILE_CALLBACKW , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFindExecutableImageW ( hprocess : super::super::super::Foundation:: HANDLE , filename : :: windows::core::PCWSTR , imagefilepath : :: windows::core::PWSTR , callback : PFIND_EXE_FILE_CALLBACKW , callerdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: HANDLE ); let result__ = SymFindExecutableImageW(hprocess.into(), filename.into().abi(), ::core::mem::transmute(imagefilepath), callback, callerdata); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1695,7 +1695,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFindFileInPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , id : *const ::core::ffi::c_void , two : u32 , three : u32 , flags : SYM_FIND_ID_OPTION , foundfile : :: windows::core::PSTR , callback : PFINDFILEINPATHCALLBACK , context : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFindFileInPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , id : *const ::core::ffi::c_void , two : u32 , three : u32 , flags : SYM_FIND_ID_OPTION , foundfile : :: windows::core::PSTR , callback : PFINDFILEINPATHCALLBACK , context : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymFindFileInPath(hprocess.into(), searchpatha.into().abi(), filename.into().abi(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null())), two, three, flags, ::core::mem::transmute(foundfile), callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1707,7 +1707,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFindFileInPathW ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCWSTR , filename : :: windows::core::PCWSTR , id : *const ::core::ffi::c_void , two : u32 , three : u32 , flags : SYM_FIND_ID_OPTION , foundfile : :: windows::core::PWSTR , callback : PFINDFILEINPATHCALLBACKW , context : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFindFileInPathW ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCWSTR , filename : :: windows::core::PCWSTR , id : *const ::core::ffi::c_void , two : u32 , three : u32 , flags : SYM_FIND_ID_OPTION , foundfile : :: windows::core::PWSTR , callback : PFINDFILEINPATHCALLBACKW , context : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymFindFileInPathW(hprocess.into(), searchpatha.into().abi(), filename.into().abi(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null())), two, three, flags, ::core::mem::transmute(foundfile), callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1717,7 +1717,7 @@ pub unsafe fn SymFromAddr(hprocess: P0, address: u64, displacement: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromAddr ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , displacement : *mut u64 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromAddr ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , displacement : *mut u64 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymFromAddr(hprocess.into(), address, ::core::mem::transmute(displacement.unwrap_or(::std::ptr::null_mut())), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1727,7 +1727,7 @@ pub unsafe fn SymFromAddrW(hprocess: P0, address: u64, displacement: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromAddrW ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , displacement : *mut u64 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromAddrW ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , displacement : *mut u64 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymFromAddrW(hprocess.into(), address, ::core::mem::transmute(displacement.unwrap_or(::std::ptr::null_mut())), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1737,7 +1737,7 @@ pub unsafe fn SymFromIndex(hprocess: P0, baseofdll: u64, index: u32, symbol: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromIndex ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromIndex ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymFromIndex(hprocess.into(), baseofdll, index, symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1747,7 +1747,7 @@ pub unsafe fn SymFromIndexW(hprocess: P0, baseofdll: u64, index: u32, symbol where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromIndexW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromIndexW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymFromIndexW(hprocess.into(), baseofdll, index, symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1757,7 +1757,7 @@ pub unsafe fn SymFromInlineContext(hprocess: P0, address: u64, inlinecontext where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromInlineContext ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , inlinecontext : u32 , displacement : *mut u64 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromInlineContext ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , inlinecontext : u32 , displacement : *mut u64 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymFromInlineContext(hprocess.into(), address, inlinecontext, ::core::mem::transmute(displacement.unwrap_or(::std::ptr::null_mut())), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1767,7 +1767,7 @@ pub unsafe fn SymFromInlineContextW(hprocess: P0, address: u64, inlinecontex where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromInlineContextW ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , inlinecontext : u32 , displacement : *mut u64 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromInlineContextW ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , inlinecontext : u32 , displacement : *mut u64 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymFromInlineContextW(hprocess.into(), address, inlinecontext, ::core::mem::transmute(displacement.unwrap_or(::std::ptr::null_mut())), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1778,7 +1778,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromName ( hprocess : super::super::super::Foundation:: HANDLE , name : :: windows::core::PCSTR , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromName ( hprocess : super::super::super::Foundation:: HANDLE , name : :: windows::core::PCSTR , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymFromName(hprocess.into(), name.into().abi(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1789,7 +1789,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromNameW ( hprocess : super::super::super::Foundation:: HANDLE , name : :: windows::core::PCWSTR , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromNameW ( hprocess : super::super::super::Foundation:: HANDLE , name : :: windows::core::PCWSTR , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymFromNameW(hprocess.into(), name.into().abi(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1799,7 +1799,7 @@ pub unsafe fn SymFromToken(hprocess: P0, base: u64, token: u32, symbol: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromToken ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , token : u32 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromToken ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , token : u32 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymFromToken(hprocess.into(), base, token, symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1809,7 +1809,7 @@ pub unsafe fn SymFromTokenW(hprocess: P0, base: u64, token: u32, symbol: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFromTokenW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , token : u32 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFromTokenW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , token : u32 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymFromTokenW(hprocess.into(), base, token, symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1820,7 +1820,7 @@ pub unsafe fn SymFunctionTableAccess(hprocess: P0, addrbase: u32) -> *mut :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFunctionTableAccess ( hprocess : super::super::super::Foundation:: HANDLE , addrbase : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFunctionTableAccess ( hprocess : super::super::super::Foundation:: HANDLE , addrbase : u32 ) -> *mut ::core::ffi::c_void ); SymFunctionTableAccess(hprocess.into(), addrbase) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1830,7 +1830,7 @@ pub unsafe fn SymFunctionTableAccess64(hprocess: P0, addrbase: u64) -> *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFunctionTableAccess64 ( hprocess : super::super::super::Foundation:: HANDLE , addrbase : u64 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFunctionTableAccess64 ( hprocess : super::super::super::Foundation:: HANDLE , addrbase : u64 ) -> *mut ::core::ffi::c_void ); SymFunctionTableAccess64(hprocess.into(), addrbase) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1840,14 +1840,14 @@ pub unsafe fn SymFunctionTableAccess64AccessRoutines(hprocess: P0, addrbase: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymFunctionTableAccess64AccessRoutines ( hprocess : super::super::super::Foundation:: HANDLE , addrbase : u64 , readmemoryroutine : PREAD_PROCESS_MEMORY_ROUTINE64 , getmodulebaseroutine : PGET_MODULE_BASE_ROUTINE64 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymFunctionTableAccess64AccessRoutines ( hprocess : super::super::super::Foundation:: HANDLE , addrbase : u64 , readmemoryroutine : PREAD_PROCESS_MEMORY_ROUTINE64 , getmodulebaseroutine : PGET_MODULE_BASE_ROUTINE64 ) -> *mut ::core::ffi::c_void ); SymFunctionTableAccess64AccessRoutines(hprocess.into(), addrbase, readmemoryroutine, getmodulebaseroutine) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SymGetExtendedOption(option: IMAGEHLP_EXTENDED_OPTIONS) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetExtendedOption ( option : IMAGEHLP_EXTENDED_OPTIONS ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetExtendedOption ( option : IMAGEHLP_EXTENDED_OPTIONS ) -> super::super::super::Foundation:: BOOL ); SymGetExtendedOption(option) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1859,19 +1859,19 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetFileLineOffsets64 ( hprocess : super::super::super::Foundation:: HANDLE , modulename : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , buffer : *mut u64 , bufferlines : u32 ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetFileLineOffsets64 ( hprocess : super::super::super::Foundation:: HANDLE , modulename : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , buffer : *mut u64 , bufferlines : u32 ) -> u32 ); SymGetFileLineOffsets64(hprocess.into(), modulename.into().abi(), filename.into().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn SymGetHomeDirectory(r#type: IMAGEHLP_HD_TYPE, dir: &mut [u8]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetHomeDirectory ( r#type : IMAGEHLP_HD_TYPE , dir : :: windows::core::PSTR , size : usize ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetHomeDirectory ( r#type : IMAGEHLP_HD_TYPE , dir : :: windows::core::PSTR , size : usize ) -> :: windows::core::PSTR ); SymGetHomeDirectory(r#type, ::core::mem::transmute(dir.as_ptr()), dir.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn SymGetHomeDirectoryW(r#type: IMAGEHLP_HD_TYPE, dir: &mut [u16]) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetHomeDirectoryW ( r#type : IMAGEHLP_HD_TYPE , dir : :: windows::core::PWSTR , size : usize ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetHomeDirectoryW ( r#type : IMAGEHLP_HD_TYPE , dir : :: windows::core::PWSTR , size : usize ) -> :: windows::core::PWSTR ); SymGetHomeDirectoryW(r#type, ::core::mem::transmute(dir.as_ptr()), dir.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1882,7 +1882,7 @@ pub unsafe fn SymGetLineFromAddr(hprocess: P0, dwaddr: u32, pdwdisplacement: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineFromAddr ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 , pdwdisplacement : *mut u32 , line : *mut IMAGEHLP_LINE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineFromAddr ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 , pdwdisplacement : *mut u32 , line : *mut IMAGEHLP_LINE ) -> super::super::super::Foundation:: BOOL ); SymGetLineFromAddr(hprocess.into(), dwaddr, pdwdisplacement, line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1892,7 +1892,7 @@ pub unsafe fn SymGetLineFromAddr64(hprocess: P0, qwaddr: u64, pdwdisplacemen where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineFromAddr64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , pdwdisplacement : *mut u32 , line64 : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineFromAddr64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , pdwdisplacement : *mut u32 , line64 : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); SymGetLineFromAddr64(hprocess.into(), qwaddr, pdwdisplacement, line64) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1902,7 +1902,7 @@ pub unsafe fn SymGetLineFromAddrW64(hprocess: P0, dwaddr: u64, pdwdisplaceme where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineFromAddrW64 ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u64 , pdwdisplacement : *mut u32 , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineFromAddrW64 ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u64 , pdwdisplacement : *mut u32 , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); SymGetLineFromAddrW64(hprocess.into(), dwaddr, pdwdisplacement, line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1912,7 +1912,7 @@ pub unsafe fn SymGetLineFromInlineContext(hprocess: P0, qwaddr: u64, inlinec where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineFromInlineContext ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , inlinecontext : u32 , qwmodulebaseaddress : u64 , pdwdisplacement : *mut u32 , line64 : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineFromInlineContext ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , inlinecontext : u32 , qwmodulebaseaddress : u64 , pdwdisplacement : *mut u32 , line64 : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); SymGetLineFromInlineContext(hprocess.into(), qwaddr, inlinecontext, qwmodulebaseaddress, pdwdisplacement, line64) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1922,7 +1922,7 @@ pub unsafe fn SymGetLineFromInlineContextW(hprocess: P0, dwaddr: u64, inline where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineFromInlineContextW ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u64 , inlinecontext : u32 , qwmodulebaseaddress : u64 , pdwdisplacement : *mut u32 , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineFromInlineContextW ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u64 , inlinecontext : u32 , qwmodulebaseaddress : u64 , pdwdisplacement : *mut u32 , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); SymGetLineFromInlineContextW(hprocess.into(), dwaddr, inlinecontext, qwmodulebaseaddress, pdwdisplacement, line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1935,7 +1935,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineFromName ( hprocess : super::super::super::Foundation:: HANDLE , modulename : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , dwlinenumber : u32 , pldisplacement : *mut i32 , line : *mut IMAGEHLP_LINE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineFromName ( hprocess : super::super::super::Foundation:: HANDLE , modulename : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , dwlinenumber : u32 , pldisplacement : *mut i32 , line : *mut IMAGEHLP_LINE ) -> super::super::super::Foundation:: BOOL ); SymGetLineFromName(hprocess.into(), modulename.into().abi(), filename.into().abi(), dwlinenumber, pldisplacement, line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1947,7 +1947,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineFromName64 ( hprocess : super::super::super::Foundation:: HANDLE , modulename : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , dwlinenumber : u32 , pldisplacement : *mut i32 , line : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineFromName64 ( hprocess : super::super::super::Foundation:: HANDLE , modulename : :: windows::core::PCSTR , filename : :: windows::core::PCSTR , dwlinenumber : u32 , pldisplacement : *mut i32 , line : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); SymGetLineFromName64(hprocess.into(), modulename.into().abi(), filename.into().abi(), dwlinenumber, pldisplacement, line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1959,7 +1959,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineFromNameW64 ( hprocess : super::super::super::Foundation:: HANDLE , modulename : :: windows::core::PCWSTR , filename : :: windows::core::PCWSTR , dwlinenumber : u32 , pldisplacement : *mut i32 , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineFromNameW64 ( hprocess : super::super::super::Foundation:: HANDLE , modulename : :: windows::core::PCWSTR , filename : :: windows::core::PCWSTR , dwlinenumber : u32 , pldisplacement : *mut i32 , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); SymGetLineFromNameW64(hprocess.into(), modulename.into().abi(), filename.into().abi(), dwlinenumber, pldisplacement, line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1970,7 +1970,7 @@ pub unsafe fn SymGetLineNext(hprocess: P0, line: *mut IMAGEHLP_LINE) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineNext ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineNext ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINE ) -> super::super::super::Foundation:: BOOL ); SymGetLineNext(hprocess.into(), line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1980,7 +1980,7 @@ pub unsafe fn SymGetLineNext64(hprocess: P0, line: *mut IMAGEHLP_LINE64) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineNext64 ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineNext64 ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); SymGetLineNext64(hprocess.into(), line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -1990,7 +1990,7 @@ pub unsafe fn SymGetLineNextW64(hprocess: P0, line: *mut IMAGEHLP_LINEW64) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLineNextW64 ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLineNextW64 ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); SymGetLineNextW64(hprocess.into(), line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2001,7 +2001,7 @@ pub unsafe fn SymGetLinePrev(hprocess: P0, line: *mut IMAGEHLP_LINE) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLinePrev ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLinePrev ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINE ) -> super::super::super::Foundation:: BOOL ); SymGetLinePrev(hprocess.into(), line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2011,7 +2011,7 @@ pub unsafe fn SymGetLinePrev64(hprocess: P0, line: *mut IMAGEHLP_LINE64) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLinePrev64 ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLinePrev64 ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINE64 ) -> super::super::super::Foundation:: BOOL ); SymGetLinePrev64(hprocess.into(), line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2021,7 +2021,7 @@ pub unsafe fn SymGetLinePrevW64(hprocess: P0, line: *mut IMAGEHLP_LINEW64) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetLinePrevW64 ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetLinePrevW64 ( hprocess : super::super::super::Foundation:: HANDLE , line : *mut IMAGEHLP_LINEW64 ) -> super::super::super::Foundation:: BOOL ); SymGetLinePrevW64(hprocess.into(), line) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2032,7 +2032,7 @@ pub unsafe fn SymGetModuleBase(hprocess: P0, dwaddr: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetModuleBase ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetModuleBase ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 ) -> u32 ); SymGetModuleBase(hprocess.into(), dwaddr) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2042,7 +2042,7 @@ pub unsafe fn SymGetModuleBase64(hprocess: P0, qwaddr: u64) -> u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetModuleBase64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 ) -> u64 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetModuleBase64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 ) -> u64 ); SymGetModuleBase64(hprocess.into(), qwaddr) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2053,7 +2053,7 @@ pub unsafe fn SymGetModuleInfo(hprocess: P0, dwaddr: u32, moduleinfo: *mut I where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetModuleInfo ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 , moduleinfo : *mut IMAGEHLP_MODULE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetModuleInfo ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 , moduleinfo : *mut IMAGEHLP_MODULE ) -> super::super::super::Foundation:: BOOL ); SymGetModuleInfo(hprocess.into(), dwaddr, moduleinfo) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2063,7 +2063,7 @@ pub unsafe fn SymGetModuleInfo64(hprocess: P0, qwaddr: u64, moduleinfo: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetModuleInfo64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , moduleinfo : *mut IMAGEHLP_MODULE64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetModuleInfo64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , moduleinfo : *mut IMAGEHLP_MODULE64 ) -> super::super::super::Foundation:: BOOL ); SymGetModuleInfo64(hprocess.into(), qwaddr, moduleinfo) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2074,7 +2074,7 @@ pub unsafe fn SymGetModuleInfoW(hprocess: P0, dwaddr: u32, moduleinfo: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetModuleInfoW ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 , moduleinfo : *mut IMAGEHLP_MODULEW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetModuleInfoW ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 , moduleinfo : *mut IMAGEHLP_MODULEW ) -> super::super::super::Foundation:: BOOL ); SymGetModuleInfoW(hprocess.into(), dwaddr, moduleinfo) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2084,7 +2084,7 @@ pub unsafe fn SymGetModuleInfoW64(hprocess: P0, qwaddr: u64, moduleinfo: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetModuleInfoW64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , moduleinfo : *mut IMAGEHLP_MODULEW64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetModuleInfoW64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , moduleinfo : *mut IMAGEHLP_MODULEW64 ) -> super::super::super::Foundation:: BOOL ); SymGetModuleInfoW64(hprocess.into(), qwaddr, moduleinfo) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2094,13 +2094,13 @@ pub unsafe fn SymGetOmaps(hprocess: P0, baseofdll: u64, omapto: *mut *mut OM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetOmaps ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , omapto : *mut *mut OMAP , comapto : *mut u64 , omapfrom : *mut *mut OMAP , comapfrom : *mut u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetOmaps ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , omapto : *mut *mut OMAP , comapto : *mut u64 , omapfrom : *mut *mut OMAP , comapfrom : *mut u64 ) -> super::super::super::Foundation:: BOOL ); SymGetOmaps(hprocess.into(), baseofdll, omapto, comapto, omapfrom, comapfrom) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn SymGetOptions() -> u32 { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetOptions ( ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetOptions ( ) -> u32 ); SymGetOptions() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2110,7 +2110,7 @@ pub unsafe fn SymGetScope(hprocess: P0, baseofdll: u64, index: u32, symbol: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetScope ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetScope ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymGetScope(hprocess.into(), baseofdll, index, symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2120,7 +2120,7 @@ pub unsafe fn SymGetScopeW(hprocess: P0, baseofdll: u64, index: u32, symbol: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetScopeW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetScopeW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymGetScopeW(hprocess.into(), baseofdll, index, symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2130,7 +2130,7 @@ pub unsafe fn SymGetSearchPath(hprocess: P0, searchpatha: &mut [u8]) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSearchPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PSTR , searchpathlength : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSearchPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PSTR , searchpathlength : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSearchPath(hprocess.into(), ::core::mem::transmute(searchpatha.as_ptr()), searchpatha.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2140,7 +2140,7 @@ pub unsafe fn SymGetSearchPathW(hprocess: P0, searchpatha: &mut [u16]) -> su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSearchPathW ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PWSTR , searchpathlength : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSearchPathW ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PWSTR , searchpathlength : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSearchPathW(hprocess.into(), ::core::mem::transmute(searchpatha.as_ptr()), searchpatha.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2152,7 +2152,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFile ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , params : :: windows::core::PCSTR , filespec : :: windows::core::PCSTR , filepath : :: windows::core::PSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFile ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , params : :: windows::core::PCSTR , filespec : :: windows::core::PCSTR , filepath : :: windows::core::PSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFile(hprocess.into(), base, params.into().abi(), filespec.into().abi(), ::core::mem::transmute(filepath.as_ptr()), filepath.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2163,7 +2163,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileChecksum ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCSTR , pchecksumtype : *mut u32 , pchecksum : *mut u8 , checksumsize : u32 , pactualbyteswritten : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileChecksum ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCSTR , pchecksumtype : *mut u32 , pchecksum : *mut u8 , checksumsize : u32 , pactualbyteswritten : *mut u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileChecksum(hprocess.into(), base, filespec.into().abi(), pchecksumtype, ::core::mem::transmute(pchecksum.as_ptr()), pchecksum.len() as _, pactualbyteswritten) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2174,7 +2174,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileChecksumW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCWSTR , pchecksumtype : *mut u32 , pchecksum : *mut u8 , checksumsize : u32 , pactualbyteswritten : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileChecksumW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCWSTR , pchecksumtype : *mut u32 , pchecksum : *mut u8 , checksumsize : u32 , pactualbyteswritten : *mut u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileChecksumW(hprocess.into(), base, filespec.into().abi(), pchecksumtype, ::core::mem::transmute(pchecksum.as_ptr()), pchecksum.len() as _, pactualbyteswritten) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2185,7 +2185,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileFromToken ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , params : :: windows::core::PCSTR , filepath : :: windows::core::PSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileFromToken ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , params : :: windows::core::PCSTR , filepath : :: windows::core::PSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileFromToken(hprocess.into(), token, params.into().abi(), ::core::mem::transmute(filepath.as_ptr()), filepath.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2197,7 +2197,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileFromTokenByTokenName ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , tokenname : :: windows::core::PCSTR , params : :: windows::core::PCSTR , filepath : :: windows::core::PSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileFromTokenByTokenName ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , tokenname : :: windows::core::PCSTR , params : :: windows::core::PCSTR , filepath : :: windows::core::PSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileFromTokenByTokenName(hprocess.into(), token, tokenname.into().abi(), params.into().abi(), ::core::mem::transmute(filepath.as_ptr()), filepath.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2209,7 +2209,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileFromTokenByTokenNameW ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , tokenname : :: windows::core::PCWSTR , params : :: windows::core::PCWSTR , filepath : :: windows::core::PWSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileFromTokenByTokenNameW ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , tokenname : :: windows::core::PCWSTR , params : :: windows::core::PCWSTR , filepath : :: windows::core::PWSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileFromTokenByTokenNameW(hprocess.into(), token, tokenname.into().abi(), params.into().abi(), ::core::mem::transmute(filepath.as_ptr()), filepath.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2220,7 +2220,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileFromTokenW ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , params : :: windows::core::PCWSTR , filepath : :: windows::core::PWSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileFromTokenW ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , params : :: windows::core::PCWSTR , filepath : :: windows::core::PWSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileFromTokenW(hprocess.into(), token, params.into().abi(), ::core::mem::transmute(filepath.as_ptr()), filepath.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2231,7 +2231,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileToken ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCSTR , token : *mut *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileToken ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCSTR , token : *mut *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileToken(hprocess.into(), base, filespec.into().abi(), token, size) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2244,7 +2244,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileTokenByTokenName ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCSTR , tokenname : :: windows::core::PCSTR , tokenparameters : :: windows::core::PCSTR , token : *mut *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileTokenByTokenName ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCSTR , tokenname : :: windows::core::PCSTR , tokenparameters : :: windows::core::PCSTR , token : *mut *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileTokenByTokenName(hprocess.into(), base, filespec.into().abi(), tokenname.into().abi(), tokenparameters.into().abi(), token, size) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2257,7 +2257,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileTokenByTokenNameW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCWSTR , tokenname : :: windows::core::PCWSTR , tokenparameters : :: windows::core::PCWSTR , token : *mut *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileTokenByTokenNameW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCWSTR , tokenname : :: windows::core::PCWSTR , tokenparameters : :: windows::core::PCWSTR , token : *mut *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileTokenByTokenNameW(hprocess.into(), base, filespec.into().abi(), tokenname.into().abi(), tokenparameters.into().abi(), token, size) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2268,7 +2268,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileTokenW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCWSTR , token : *mut *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileTokenW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , filespec : :: windows::core::PCWSTR , token : *mut *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileTokenW(hprocess.into(), base, filespec.into().abi(), token, size) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2280,7 +2280,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceFileW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , params : :: windows::core::PCWSTR , filespec : :: windows::core::PCWSTR , filepath : :: windows::core::PWSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceFileW ( hprocess : super::super::super::Foundation:: HANDLE , base : u64 , params : :: windows::core::PCWSTR , filespec : :: windows::core::PCWSTR , filepath : :: windows::core::PWSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceFileW(hprocess.into(), base, params.into().abi(), filespec.into().abi(), ::core::mem::transmute(filepath.as_ptr()), filepath.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2292,7 +2292,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceVarFromToken ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , params : :: windows::core::PCSTR , varname : :: windows::core::PCSTR , value : :: windows::core::PSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceVarFromToken ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , params : :: windows::core::PCSTR , varname : :: windows::core::PCSTR , value : :: windows::core::PSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceVarFromToken(hprocess.into(), token, params.into().abi(), varname.into().abi(), ::core::mem::transmute(value.as_ptr()), value.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2304,7 +2304,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSourceVarFromTokenW ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , params : :: windows::core::PCWSTR , varname : :: windows::core::PCWSTR , value : :: windows::core::PWSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSourceVarFromTokenW ( hprocess : super::super::super::Foundation:: HANDLE , token : *const ::core::ffi::c_void , params : :: windows::core::PCWSTR , varname : :: windows::core::PCWSTR , value : :: windows::core::PWSTR , size : u32 ) -> super::super::super::Foundation:: BOOL ); SymGetSourceVarFromTokenW(hprocess.into(), token, params.into().abi(), varname.into().abi(), ::core::mem::transmute(value.as_ptr()), value.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2315,7 +2315,7 @@ pub unsafe fn SymGetSymFromAddr(hprocess: P0, dwaddr: u32, pdwdisplacement: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymFromAddr ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 , pdwdisplacement : *mut u32 , symbol : *mut IMAGEHLP_SYMBOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymFromAddr ( hprocess : super::super::super::Foundation:: HANDLE , dwaddr : u32 , pdwdisplacement : *mut u32 , symbol : *mut IMAGEHLP_SYMBOL ) -> super::super::super::Foundation:: BOOL ); SymGetSymFromAddr(hprocess.into(), dwaddr, ::core::mem::transmute(pdwdisplacement.unwrap_or(::std::ptr::null_mut())), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2325,7 +2325,7 @@ pub unsafe fn SymGetSymFromAddr64(hprocess: P0, qwaddr: u64, pdwdisplacement where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymFromAddr64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , pdwdisplacement : *mut u64 , symbol : *mut IMAGEHLP_SYMBOL64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymFromAddr64 ( hprocess : super::super::super::Foundation:: HANDLE , qwaddr : u64 , pdwdisplacement : *mut u64 , symbol : *mut IMAGEHLP_SYMBOL64 ) -> super::super::super::Foundation:: BOOL ); SymGetSymFromAddr64(hprocess.into(), qwaddr, ::core::mem::transmute(pdwdisplacement.unwrap_or(::std::ptr::null_mut())), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2337,7 +2337,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymFromName ( hprocess : super::super::super::Foundation:: HANDLE , name : :: windows::core::PCSTR , symbol : *mut IMAGEHLP_SYMBOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymFromName ( hprocess : super::super::super::Foundation:: HANDLE , name : :: windows::core::PCSTR , symbol : *mut IMAGEHLP_SYMBOL ) -> super::super::super::Foundation:: BOOL ); SymGetSymFromName(hprocess.into(), name.into().abi(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2348,7 +2348,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymFromName64 ( hprocess : super::super::super::Foundation:: HANDLE , name : :: windows::core::PCSTR , symbol : *mut IMAGEHLP_SYMBOL64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymFromName64 ( hprocess : super::super::super::Foundation:: HANDLE , name : :: windows::core::PCSTR , symbol : *mut IMAGEHLP_SYMBOL64 ) -> super::super::super::Foundation:: BOOL ); SymGetSymFromName64(hprocess.into(), name.into().abi(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2359,7 +2359,7 @@ pub unsafe fn SymGetSymNext(hprocess: P0, symbol: *mut IMAGEHLP_SYMBOL) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymNext ( hprocess : super::super::super::Foundation:: HANDLE , symbol : *mut IMAGEHLP_SYMBOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymNext ( hprocess : super::super::super::Foundation:: HANDLE , symbol : *mut IMAGEHLP_SYMBOL ) -> super::super::super::Foundation:: BOOL ); SymGetSymNext(hprocess.into(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2369,7 +2369,7 @@ pub unsafe fn SymGetSymNext64(hprocess: P0, symbol: *mut IMAGEHLP_SYMBOL64) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymNext64 ( hprocess : super::super::super::Foundation:: HANDLE , symbol : *mut IMAGEHLP_SYMBOL64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymNext64 ( hprocess : super::super::super::Foundation:: HANDLE , symbol : *mut IMAGEHLP_SYMBOL64 ) -> super::super::super::Foundation:: BOOL ); SymGetSymNext64(hprocess.into(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2380,7 +2380,7 @@ pub unsafe fn SymGetSymPrev(hprocess: P0, symbol: *mut IMAGEHLP_SYMBOL) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymPrev ( hprocess : super::super::super::Foundation:: HANDLE , symbol : *mut IMAGEHLP_SYMBOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymPrev ( hprocess : super::super::super::Foundation:: HANDLE , symbol : *mut IMAGEHLP_SYMBOL ) -> super::super::super::Foundation:: BOOL ); SymGetSymPrev(hprocess.into(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2390,7 +2390,7 @@ pub unsafe fn SymGetSymPrev64(hprocess: P0, symbol: *mut IMAGEHLP_SYMBOL64) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymPrev64 ( hprocess : super::super::super::Foundation:: HANDLE , symbol : *mut IMAGEHLP_SYMBOL64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymPrev64 ( hprocess : super::super::super::Foundation:: HANDLE , symbol : *mut IMAGEHLP_SYMBOL64 ) -> super::super::super::Foundation:: BOOL ); SymGetSymPrev64(hprocess.into(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2402,7 +2402,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymbolFile ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCSTR , imagefile : :: windows::core::PCSTR , r#type : IMAGEHLP_SF_TYPE , symbolfile : :: windows::core::PSTR , csymbolfile : usize , dbgfile : :: windows::core::PSTR , cdbgfile : usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymbolFile ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCSTR , imagefile : :: windows::core::PCSTR , r#type : IMAGEHLP_SF_TYPE , symbolfile : :: windows::core::PSTR , csymbolfile : usize , dbgfile : :: windows::core::PSTR , cdbgfile : usize ) -> super::super::super::Foundation:: BOOL ); SymGetSymbolFile(hprocess.into(), sympath.into().abi(), imagefile.into().abi(), r#type, ::core::mem::transmute(symbolfile.as_ptr()), symbolfile.len() as _, ::core::mem::transmute(dbgfile.as_ptr()), dbgfile.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2414,7 +2414,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetSymbolFileW ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCWSTR , imagefile : :: windows::core::PCWSTR , r#type : IMAGEHLP_SF_TYPE , symbolfile : :: windows::core::PWSTR , csymbolfile : usize , dbgfile : :: windows::core::PWSTR , cdbgfile : usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetSymbolFileW ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCWSTR , imagefile : :: windows::core::PCWSTR , r#type : IMAGEHLP_SF_TYPE , symbolfile : :: windows::core::PWSTR , csymbolfile : usize , dbgfile : :: windows::core::PWSTR , cdbgfile : usize ) -> super::super::super::Foundation:: BOOL ); SymGetSymbolFileW(hprocess.into(), sympath.into().abi(), imagefile.into().abi(), r#type, ::core::mem::transmute(symbolfile.as_ptr()), symbolfile.len() as _, ::core::mem::transmute(dbgfile.as_ptr()), dbgfile.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2425,7 +2425,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetTypeFromName ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCSTR , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetTypeFromName ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCSTR , symbol : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymGetTypeFromName(hprocess.into(), baseofdll, name.into().abi(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2436,7 +2436,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetTypeFromNameW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCWSTR , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetTypeFromNameW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , name : :: windows::core::PCWSTR , symbol : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymGetTypeFromNameW(hprocess.into(), baseofdll, name.into().abi(), symbol) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2446,7 +2446,7 @@ pub unsafe fn SymGetTypeInfo(hprocess: P0, modbase: u64, typeid: u32, gettyp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetTypeInfo ( hprocess : super::super::super::Foundation:: HANDLE , modbase : u64 , typeid : u32 , gettype : IMAGEHLP_SYMBOL_TYPE_INFO , pinfo : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetTypeInfo ( hprocess : super::super::super::Foundation:: HANDLE , modbase : u64 , typeid : u32 , gettype : IMAGEHLP_SYMBOL_TYPE_INFO , pinfo : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymGetTypeInfo(hprocess.into(), modbase, typeid, gettype, pinfo) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2456,7 +2456,7 @@ pub unsafe fn SymGetTypeInfoEx(hprocess: P0, modbase: u64, params: *mut IMAG where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetTypeInfoEx ( hprocess : super::super::super::Foundation:: HANDLE , modbase : u64 , params : *mut IMAGEHLP_GET_TYPE_INFO_PARAMS ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetTypeInfoEx ( hprocess : super::super::super::Foundation:: HANDLE , modbase : u64 , params : *mut IMAGEHLP_GET_TYPE_INFO_PARAMS ) -> super::super::super::Foundation:: BOOL ); SymGetTypeInfoEx(hprocess.into(), modbase, params) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2466,7 +2466,7 @@ pub unsafe fn SymGetUnwindInfo(hprocess: P0, address: u64, buffer: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymGetUnwindInfo ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , buffer : *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymGetUnwindInfo ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , buffer : *mut ::core::ffi::c_void , size : *mut u32 ) -> super::super::super::Foundation:: BOOL ); SymGetUnwindInfo(hprocess.into(), address, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), size) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2478,7 +2478,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymInitialize ( hprocess : super::super::super::Foundation:: HANDLE , usersearchpath : :: windows::core::PCSTR , finvadeprocess : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymInitialize ( hprocess : super::super::super::Foundation:: HANDLE , usersearchpath : :: windows::core::PCSTR , finvadeprocess : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); SymInitialize(hprocess.into(), usersearchpath.into().abi(), finvadeprocess.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2490,7 +2490,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymInitializeW ( hprocess : super::super::super::Foundation:: HANDLE , usersearchpath : :: windows::core::PCWSTR , finvadeprocess : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymInitializeW ( hprocess : super::super::super::Foundation:: HANDLE , usersearchpath : :: windows::core::PCWSTR , finvadeprocess : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); SymInitializeW(hprocess.into(), usersearchpath.into().abi(), finvadeprocess.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2504,7 +2504,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymLoadModule ( hprocess : super::super::super::Foundation:: HANDLE , hfile : super::super::super::Foundation:: HANDLE , imagename : :: windows::core::PCSTR , modulename : :: windows::core::PCSTR , baseofdll : u32 , sizeofdll : u32 ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymLoadModule ( hprocess : super::super::super::Foundation:: HANDLE , hfile : super::super::super::Foundation:: HANDLE , imagename : :: windows::core::PCSTR , modulename : :: windows::core::PCSTR , baseofdll : u32 , sizeofdll : u32 ) -> u32 ); SymLoadModule(hprocess.into(), hfile.into(), imagename.into().abi(), modulename.into().abi(), baseofdll, sizeofdll) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2517,7 +2517,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymLoadModule64 ( hprocess : super::super::super::Foundation:: HANDLE , hfile : super::super::super::Foundation:: HANDLE , imagename : :: windows::core::PCSTR , modulename : :: windows::core::PCSTR , baseofdll : u64 , sizeofdll : u32 ) -> u64 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymLoadModule64 ( hprocess : super::super::super::Foundation:: HANDLE , hfile : super::super::super::Foundation:: HANDLE , imagename : :: windows::core::PCSTR , modulename : :: windows::core::PCSTR , baseofdll : u64 , sizeofdll : u32 ) -> u64 ); SymLoadModule64(hprocess.into(), hfile.into(), imagename.into().abi(), modulename.into().abi(), baseofdll, sizeofdll) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2530,7 +2530,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymLoadModuleEx ( hprocess : super::super::super::Foundation:: HANDLE , hfile : super::super::super::Foundation:: HANDLE , imagename : :: windows::core::PCSTR , modulename : :: windows::core::PCSTR , baseofdll : u64 , dllsize : u32 , data : *const MODLOAD_DATA , flags : SYM_LOAD_FLAGS ) -> u64 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymLoadModuleEx ( hprocess : super::super::super::Foundation:: HANDLE , hfile : super::super::super::Foundation:: HANDLE , imagename : :: windows::core::PCSTR , modulename : :: windows::core::PCSTR , baseofdll : u64 , dllsize : u32 , data : *const MODLOAD_DATA , flags : SYM_LOAD_FLAGS ) -> u64 ); SymLoadModuleEx(hprocess.into(), hfile.into(), imagename.into().abi(), modulename.into().abi(), baseofdll, dllsize, ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2543,7 +2543,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymLoadModuleExW ( hprocess : super::super::super::Foundation:: HANDLE , hfile : super::super::super::Foundation:: HANDLE , imagename : :: windows::core::PCWSTR , modulename : :: windows::core::PCWSTR , baseofdll : u64 , dllsize : u32 , data : *const MODLOAD_DATA , flags : SYM_LOAD_FLAGS ) -> u64 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymLoadModuleExW ( hprocess : super::super::super::Foundation:: HANDLE , hfile : super::super::super::Foundation:: HANDLE , imagename : :: windows::core::PCWSTR , modulename : :: windows::core::PCWSTR , baseofdll : u64 , dllsize : u32 , data : *const MODLOAD_DATA , flags : SYM_LOAD_FLAGS ) -> u64 ); SymLoadModuleExW(hprocess.into(), hfile.into(), imagename.into().abi(), modulename.into().abi(), baseofdll, dllsize, ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2554,7 +2554,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymMatchFileName ( filename : :: windows::core::PCSTR , r#match : :: windows::core::PCSTR , filenamestop : *mut :: windows::core::PSTR , matchstop : *mut :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymMatchFileName ( filename : :: windows::core::PCSTR , r#match : :: windows::core::PCSTR , filenamestop : *mut :: windows::core::PSTR , matchstop : *mut :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); SymMatchFileName(filename.into().abi(), r#match.into().abi(), ::core::mem::transmute(filenamestop.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(matchstop.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2565,7 +2565,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymMatchFileNameW ( filename : :: windows::core::PCWSTR , r#match : :: windows::core::PCWSTR , filenamestop : *mut :: windows::core::PWSTR , matchstop : *mut :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymMatchFileNameW ( filename : :: windows::core::PCWSTR , r#match : :: windows::core::PCWSTR , filenamestop : *mut :: windows::core::PWSTR , matchstop : *mut :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOL ); SymMatchFileNameW(filename.into().abi(), r#match.into().abi(), ::core::mem::transmute(filenamestop.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(matchstop.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2577,7 +2577,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymMatchString ( string : :: windows::core::PCSTR , expression : :: windows::core::PCSTR , fcase : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymMatchString ( string : :: windows::core::PCSTR , expression : :: windows::core::PCSTR , fcase : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); SymMatchString(string.into().abi(), expression.into().abi(), fcase.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2589,7 +2589,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymMatchStringA ( string : :: windows::core::PCSTR , expression : :: windows::core::PCSTR , fcase : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymMatchStringA ( string : :: windows::core::PCSTR , expression : :: windows::core::PCSTR , fcase : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); SymMatchStringA(string.into().abi(), expression.into().abi(), fcase.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2601,7 +2601,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymMatchStringW ( string : :: windows::core::PCWSTR , expression : :: windows::core::PCWSTR , fcase : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymMatchStringW ( string : :: windows::core::PCWSTR , expression : :: windows::core::PCWSTR , fcase : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); SymMatchStringW(string.into().abi(), expression.into().abi(), fcase.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2611,7 +2611,7 @@ pub unsafe fn SymNext(hprocess: P0, si: *mut SYMBOL_INFO) -> super::super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymNext ( hprocess : super::super::super::Foundation:: HANDLE , si : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymNext ( hprocess : super::super::super::Foundation:: HANDLE , si : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymNext(hprocess.into(), si) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2621,7 +2621,7 @@ pub unsafe fn SymNextW(hprocess: P0, siw: *mut SYMBOL_INFOW) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymNextW ( hprocess : super::super::super::Foundation:: HANDLE , siw : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymNextW ( hprocess : super::super::super::Foundation:: HANDLE , siw : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymNextW(hprocess.into(), siw) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2631,7 +2631,7 @@ pub unsafe fn SymPrev(hprocess: P0, si: *mut SYMBOL_INFO) -> super::super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymPrev ( hprocess : super::super::super::Foundation:: HANDLE , si : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymPrev ( hprocess : super::super::super::Foundation:: HANDLE , si : *mut SYMBOL_INFO ) -> super::super::super::Foundation:: BOOL ); SymPrev(hprocess.into(), si) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2641,7 +2641,7 @@ pub unsafe fn SymPrevW(hprocess: P0, siw: *mut SYMBOL_INFOW) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymPrevW ( hprocess : super::super::super::Foundation:: HANDLE , siw : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymPrevW ( hprocess : super::super::super::Foundation:: HANDLE , siw : *mut SYMBOL_INFOW ) -> super::super::super::Foundation:: BOOL ); SymPrevW(hprocess.into(), siw) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2651,7 +2651,7 @@ pub unsafe fn SymQueryInlineTrace(hprocess: P0, startaddress: u64, startcont where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymQueryInlineTrace ( hprocess : super::super::super::Foundation:: HANDLE , startaddress : u64 , startcontext : u32 , startretaddress : u64 , curaddress : u64 , curcontext : *mut u32 , curframeindex : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymQueryInlineTrace ( hprocess : super::super::super::Foundation:: HANDLE , startaddress : u64 , startcontext : u32 , startretaddress : u64 , curaddress : u64 , curcontext : *mut u32 , curframeindex : *mut u32 ) -> super::super::super::Foundation:: BOOL ); SymQueryInlineTrace(hprocess.into(), startaddress, startcontext, startretaddress, curaddress, curcontext, curframeindex) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2661,7 +2661,7 @@ pub unsafe fn SymRefreshModuleList(hprocess: P0) -> super::super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymRefreshModuleList ( hprocess : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymRefreshModuleList ( hprocess : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: BOOL ); SymRefreshModuleList(hprocess.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2672,7 +2672,7 @@ pub unsafe fn SymRegisterCallback(hprocess: P0, callbackfunction: PSYMBOL_RE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymRegisterCallback ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_REGISTERED_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymRegisterCallback ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_REGISTERED_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymRegisterCallback(hprocess.into(), callbackfunction, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2682,7 +2682,7 @@ pub unsafe fn SymRegisterCallback64(hprocess: P0, callbackfunction: PSYMBOL_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymRegisterCallback64 ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_REGISTERED_CALLBACK64 , usercontext : u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymRegisterCallback64 ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_REGISTERED_CALLBACK64 , usercontext : u64 ) -> super::super::super::Foundation:: BOOL ); SymRegisterCallback64(hprocess.into(), callbackfunction, usercontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2692,7 +2692,7 @@ pub unsafe fn SymRegisterCallbackW64(hprocess: P0, callbackfunction: PSYMBOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymRegisterCallbackW64 ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_REGISTERED_CALLBACK64 , usercontext : u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymRegisterCallbackW64 ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_REGISTERED_CALLBACK64 , usercontext : u64 ) -> super::super::super::Foundation:: BOOL ); SymRegisterCallbackW64(hprocess.into(), callbackfunction, usercontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2703,7 +2703,7 @@ pub unsafe fn SymRegisterFunctionEntryCallback(hprocess: P0, callbackfunctio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymRegisterFunctionEntryCallback ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_FUNCENTRY_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymRegisterFunctionEntryCallback ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_FUNCENTRY_CALLBACK , usercontext : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymRegisterFunctionEntryCallback(hprocess.into(), callbackfunction, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2713,7 +2713,7 @@ pub unsafe fn SymRegisterFunctionEntryCallback64(hprocess: P0, callbackfunct where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymRegisterFunctionEntryCallback64 ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_FUNCENTRY_CALLBACK64 , usercontext : u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymRegisterFunctionEntryCallback64 ( hprocess : super::super::super::Foundation:: HANDLE , callbackfunction : PSYMBOL_FUNCENTRY_CALLBACK64 , usercontext : u64 ) -> super::super::super::Foundation:: BOOL ); SymRegisterFunctionEntryCallback64(hprocess.into(), callbackfunction, usercontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2724,7 +2724,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSearch ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symtag : u32 , mask : :: windows::core::PCSTR , address : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void , options : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSearch ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symtag : u32 , mask : :: windows::core::PCSTR , address : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACK , usercontext : *const ::core::ffi::c_void , options : u32 ) -> super::super::super::Foundation:: BOOL ); SymSearch(hprocess.into(), baseofdll, index, symtag, mask.into().abi(), address, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null())), options) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2735,7 +2735,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSearchW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symtag : u32 , mask : :: windows::core::PCWSTR , address : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void , options : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSearchW ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 , symtag : u32 , mask : :: windows::core::PCWSTR , address : u64 , enumsymbolscallback : PSYM_ENUMERATESYMBOLS_CALLBACKW , usercontext : *const ::core::ffi::c_void , options : u32 ) -> super::super::super::Foundation:: BOOL ); SymSearchW(hprocess.into(), baseofdll, index, symtag, mask.into().abi(), address, enumsymbolscallback, ::core::mem::transmute(usercontext.unwrap_or(::std::ptr::null())), options) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2745,7 +2745,7 @@ pub unsafe fn SymSetContext(hprocess: P0, stackframe: *const IMAGEHLP_STACK_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetContext ( hprocess : super::super::super::Foundation:: HANDLE , stackframe : *const IMAGEHLP_STACK_FRAME , context : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetContext ( hprocess : super::super::super::Foundation:: HANDLE , stackframe : *const IMAGEHLP_STACK_FRAME , context : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); SymSetContext(hprocess.into(), stackframe, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2755,7 +2755,7 @@ pub unsafe fn SymSetExtendedOption(option: IMAGEHLP_EXTENDED_OPTIONS, value: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetExtendedOption ( option : IMAGEHLP_EXTENDED_OPTIONS , value : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetExtendedOption ( option : IMAGEHLP_EXTENDED_OPTIONS , value : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); SymSetExtendedOption(option, value.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2766,7 +2766,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetHomeDirectory ( hprocess : super::super::super::Foundation:: HANDLE , dir : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetHomeDirectory ( hprocess : super::super::super::Foundation:: HANDLE , dir : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); SymSetHomeDirectory(hprocess.into(), dir.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2777,13 +2777,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetHomeDirectoryW ( hprocess : super::super::super::Foundation:: HANDLE , dir : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetHomeDirectoryW ( hprocess : super::super::super::Foundation:: HANDLE , dir : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); SymSetHomeDirectoryW(hprocess.into(), dir.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn SymSetOptions(symoptions: u32) -> u32 { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetOptions ( symoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetOptions ( symoptions : u32 ) -> u32 ); SymSetOptions(symoptions) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2793,7 +2793,7 @@ pub unsafe fn SymSetParentWindow(hwnd: P0) -> super::super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetParentWindow ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetParentWindow ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); SymSetParentWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2803,7 +2803,7 @@ pub unsafe fn SymSetScopeFromAddr(hprocess: P0, address: u64) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetScopeFromAddr ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetScopeFromAddr ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 ) -> super::super::super::Foundation:: BOOL ); SymSetScopeFromAddr(hprocess.into(), address) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2813,7 +2813,7 @@ pub unsafe fn SymSetScopeFromIndex(hprocess: P0, baseofdll: u64, index: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetScopeFromIndex ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetScopeFromIndex ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 , index : u32 ) -> super::super::super::Foundation:: BOOL ); SymSetScopeFromIndex(hprocess.into(), baseofdll, index) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2823,7 +2823,7 @@ pub unsafe fn SymSetScopeFromInlineContext(hprocess: P0, address: u64, inlin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetScopeFromInlineContext ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , inlinecontext : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetScopeFromInlineContext ( hprocess : super::super::super::Foundation:: HANDLE , address : u64 , inlinecontext : u32 ) -> super::super::super::Foundation:: BOOL ); SymSetScopeFromInlineContext(hprocess.into(), address, inlinecontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2834,7 +2834,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetSearchPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetSearchPath ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); SymSetSearchPath(hprocess.into(), searchpatha.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2845,7 +2845,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSetSearchPathW ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSetSearchPathW ( hprocess : super::super::super::Foundation:: HANDLE , searchpatha : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); SymSetSearchPathW(hprocess.into(), searchpatha.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2859,7 +2859,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvDeltaName ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCSTR , r#type : :: windows::core::PCSTR , file1 : :: windows::core::PCSTR , file2 : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvDeltaName ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCSTR , r#type : :: windows::core::PCSTR , file1 : :: windows::core::PCSTR , file2 : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); SymSrvDeltaName(hprocess.into(), sympath.into().abi(), r#type.into().abi(), file1.into().abi(), file2.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2873,7 +2873,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvDeltaNameW ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCWSTR , r#type : :: windows::core::PCWSTR , file1 : :: windows::core::PCWSTR , file2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvDeltaNameW ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCWSTR , r#type : :: windows::core::PCWSTR , file1 : :: windows::core::PCWSTR , file2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); SymSrvDeltaNameW(hprocess.into(), sympath.into().abi(), r#type.into().abi(), file1.into().abi(), file2.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2883,7 +2883,7 @@ pub unsafe fn SymSrvGetFileIndexInfo(file: P0, info: *mut SYMSRV_INDEX_INFO, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexInfo ( file : :: windows::core::PCSTR , info : *mut SYMSRV_INDEX_INFO , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexInfo ( file : :: windows::core::PCSTR , info : *mut SYMSRV_INDEX_INFO , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymSrvGetFileIndexInfo(file.into().abi(), info, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2893,7 +2893,7 @@ pub unsafe fn SymSrvGetFileIndexInfoW(file: P0, info: *mut SYMSRV_INDEX_INFO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexInfoW ( file : :: windows::core::PCWSTR , info : *mut SYMSRV_INDEX_INFOW , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexInfoW ( file : :: windows::core::PCWSTR , info : *mut SYMSRV_INDEX_INFOW , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymSrvGetFileIndexInfoW(file.into().abi(), info, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2905,7 +2905,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexString ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCSTR , file : :: windows::core::PCSTR , index : :: windows::core::PSTR , size : usize , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexString ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCSTR , file : :: windows::core::PCSTR , index : :: windows::core::PSTR , size : usize , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymSrvGetFileIndexString(hprocess.into(), srvpath.into().abi(), file.into().abi(), ::core::mem::transmute(index.as_ptr()), index.len() as _, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2917,7 +2917,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexStringW ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , index : :: windows::core::PWSTR , size : usize , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexStringW ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , index : :: windows::core::PWSTR , size : usize , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymSrvGetFileIndexStringW(hprocess.into(), srvpath.into().abi(), file.into().abi(), ::core::mem::transmute(index.as_ptr()), index.len() as _, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2927,7 +2927,7 @@ pub unsafe fn SymSrvGetFileIndexes(file: P0, id: *mut ::windows::core::GUID, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexes ( file : :: windows::core::PCSTR , id : *mut :: windows::core::GUID , val1 : *mut u32 , val2 : *mut u32 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexes ( file : :: windows::core::PCSTR , id : *mut :: windows::core::GUID , val1 : *mut u32 , val2 : *mut u32 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymSrvGetFileIndexes(file.into().abi(), id, val1, ::core::mem::transmute(val2.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2937,7 +2937,7 @@ pub unsafe fn SymSrvGetFileIndexesW(file: P0, id: *mut ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexesW ( file : :: windows::core::PCWSTR , id : *mut :: windows::core::GUID , val1 : *mut u32 , val2 : *mut u32 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvGetFileIndexesW ( file : :: windows::core::PCWSTR , id : *mut :: windows::core::GUID , val1 : *mut u32 , val2 : *mut u32 , flags : u32 ) -> super::super::super::Foundation:: BOOL ); SymSrvGetFileIndexesW(file.into().abi(), id, val1, ::core::mem::transmute(val2.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2950,7 +2950,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvGetSupplement ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCSTR , node : :: windows::core::PCSTR , file : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvGetSupplement ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCSTR , node : :: windows::core::PCSTR , file : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); SymSrvGetSupplement(hprocess.into(), sympath.into().abi(), node.into().abi(), file.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2963,7 +2963,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvGetSupplementW ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCWSTR , node : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvGetSupplementW ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCWSTR , node : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); SymSrvGetSupplementW(hprocess.into(), sympath.into().abi(), node.into().abi(), file.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2974,7 +2974,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvIsStore ( hprocess : super::super::super::Foundation:: HANDLE , path : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvIsStore ( hprocess : super::super::super::Foundation:: HANDLE , path : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); SymSrvIsStore(hprocess.into(), path.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2985,7 +2985,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvIsStoreW ( hprocess : super::super::super::Foundation:: HANDLE , path : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvIsStoreW ( hprocess : super::super::super::Foundation:: HANDLE , path : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); SymSrvIsStoreW(hprocess.into(), path.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -2997,7 +2997,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvStoreFile ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCSTR , file : :: windows::core::PCSTR , flags : SYM_SRV_STORE_FILE_FLAGS ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvStoreFile ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCSTR , file : :: windows::core::PCSTR , flags : SYM_SRV_STORE_FILE_FLAGS ) -> :: windows::core::PSTR ); SymSrvStoreFile(hprocess.into(), srvpath.into().abi(), file.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3009,7 +3009,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvStoreFileW ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , flags : SYM_SRV_STORE_FILE_FLAGS ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvStoreFileW ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , flags : SYM_SRV_STORE_FILE_FLAGS ) -> :: windows::core::PWSTR ); SymSrvStoreFileW(hprocess.into(), srvpath.into().abi(), file.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3022,7 +3022,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvStoreSupplement ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCSTR , node : :: windows::core::PCSTR , file : :: windows::core::PCSTR , flags : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvStoreSupplement ( hprocess : super::super::super::Foundation:: HANDLE , srvpath : :: windows::core::PCSTR , node : :: windows::core::PCSTR , file : :: windows::core::PCSTR , flags : u32 ) -> :: windows::core::PSTR ); SymSrvStoreSupplement(hprocess.into(), srvpath.into().abi(), node.into().abi(), file.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3035,7 +3035,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymSrvStoreSupplementW ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCWSTR , node : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , flags : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymSrvStoreSupplementW ( hprocess : super::super::super::Foundation:: HANDLE , sympath : :: windows::core::PCWSTR , node : :: windows::core::PCWSTR , file : :: windows::core::PCWSTR , flags : u32 ) -> :: windows::core::PWSTR ); SymSrvStoreSupplementW(hprocess.into(), sympath.into().abi(), node.into().abi(), file.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3043,14 +3043,14 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SymUnDName(sym: *const IMAGEHLP_SYMBOL, undecname: &mut [u8]) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymUnDName ( sym : *const IMAGEHLP_SYMBOL , undecname : :: windows::core::PSTR , undecnamelength : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymUnDName ( sym : *const IMAGEHLP_SYMBOL , undecname : :: windows::core::PSTR , undecnamelength : u32 ) -> super::super::super::Foundation:: BOOL ); SymUnDName(sym, ::core::mem::transmute(undecname.as_ptr()), undecname.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SymUnDName64(sym: *const IMAGEHLP_SYMBOL64, undecname: &mut [u8]) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymUnDName64 ( sym : *const IMAGEHLP_SYMBOL64 , undecname : :: windows::core::PSTR , undecnamelength : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymUnDName64 ( sym : *const IMAGEHLP_SYMBOL64 , undecname : :: windows::core::PSTR , undecnamelength : u32 ) -> super::super::super::Foundation:: BOOL ); SymUnDName64(sym, ::core::mem::transmute(undecname.as_ptr()), undecname.len() as _) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3061,7 +3061,7 @@ pub unsafe fn SymUnloadModule(hprocess: P0, baseofdll: u32) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymUnloadModule ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymUnloadModule ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u32 ) -> super::super::super::Foundation:: BOOL ); SymUnloadModule(hprocess.into(), baseofdll) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3071,13 +3071,13 @@ pub unsafe fn SymUnloadModule64(hprocess: P0, baseofdll: u64) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dbghelp.dll""system" fn SymUnloadModule64 ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn SymUnloadModule64 ( hprocess : super::super::super::Foundation:: HANDLE , baseofdll : u64 ) -> super::super::super::Foundation:: BOOL ); SymUnloadModule64(hprocess.into(), baseofdll) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[inline] pub unsafe fn TerminateProcessOnMemoryExhaustion(failedallocationsize: usize) { - ::windows::core::link ! ( "api-ms-win-core-errorhandling-l1-1-3.dll""system" fn TerminateProcessOnMemoryExhaustion ( failedallocationsize : usize ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-errorhandling-l1-1-3.dll""system" fn TerminateProcessOnMemoryExhaustion ( failedallocationsize : usize ) -> ( ) ); TerminateProcessOnMemoryExhaustion(failedallocationsize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3087,7 +3087,7 @@ pub unsafe fn TouchFileTimes(filehandle: P0, psystemtime: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imagehlp.dll""system" fn TouchFileTimes ( filehandle : super::super::super::Foundation:: HANDLE , psystemtime : *const super::super::super::Foundation:: SYSTEMTIME ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn TouchFileTimes ( filehandle : super::super::super::Foundation:: HANDLE , psystemtime : *const super::super::super::Foundation:: SYSTEMTIME ) -> super::super::super::Foundation:: BOOL ); TouchFileTimes(filehandle.into(), ::core::mem::transmute(psystemtime.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -3096,7 +3096,7 @@ pub unsafe fn UnDecorateSymbolName(name: P0, outputstring: &mut [u8], flags: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn UnDecorateSymbolName ( name : :: windows::core::PCSTR , outputstring : :: windows::core::PSTR , maxstringlength : u32 , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn UnDecorateSymbolName ( name : :: windows::core::PCSTR , outputstring : :: windows::core::PSTR , maxstringlength : u32 , flags : u32 ) -> u32 ); UnDecorateSymbolName(name.into().abi(), ::core::mem::transmute(outputstring.as_ptr()), outputstring.len() as _, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -3105,21 +3105,21 @@ pub unsafe fn UnDecorateSymbolNameW(name: P0, outputstring: &mut [u16], flag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "dbghelp.dll""system" fn UnDecorateSymbolNameW ( name : :: windows::core::PCWSTR , outputstring : :: windows::core::PWSTR , maxstringlength : u32 , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "dbghelp.dll""system" fn UnDecorateSymbolNameW ( name : :: windows::core::PCWSTR , outputstring : :: windows::core::PWSTR , maxstringlength : u32 , flags : u32 ) -> u32 ); UnDecorateSymbolNameW(name.into().abi(), ::core::mem::transmute(outputstring.as_ptr()), outputstring.len() as _, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn UnMapAndLoad(loadedimage: *mut LOADED_IMAGE) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imagehlp.dll""system" fn UnMapAndLoad ( loadedimage : *mut LOADED_IMAGE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn UnMapAndLoad ( loadedimage : *mut LOADED_IMAGE ) -> super::super::super::Foundation:: BOOL ); UnMapAndLoad(loadedimage) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn UnhandledExceptionFilter(exceptioninfo: *const EXCEPTION_POINTERS) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn UnhandledExceptionFilter ( exceptioninfo : *const EXCEPTION_POINTERS ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnhandledExceptionFilter ( exceptioninfo : *const EXCEPTION_POINTERS ) -> i32 ); UnhandledExceptionFilter(exceptioninfo) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] @@ -3130,7 +3130,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imagehlp.dll""system" fn UpdateDebugInfoFile ( imagefilename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR , ntheaders : *const IMAGE_NT_HEADERS32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn UpdateDebugInfoFile ( imagefilename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR , ntheaders : *const IMAGE_NT_HEADERS32 ) -> super::super::super::Foundation:: BOOL ); UpdateDebugInfoFile(imagefilename.into().abi(), symbolpath.into().abi(), ::core::mem::transmute(debugfilepath), ntheaders) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] @@ -3141,21 +3141,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imagehlp.dll""system" fn UpdateDebugInfoFileEx ( imagefilename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR , ntheaders : *const IMAGE_NT_HEADERS32 , oldchecksum : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imagehlp.dll""system" fn UpdateDebugInfoFileEx ( imagefilename : :: windows::core::PCSTR , symbolpath : :: windows::core::PCSTR , debugfilepath : :: windows::core::PSTR , ntheaders : *const IMAGE_NT_HEADERS32 , oldchecksum : u32 ) -> super::super::super::Foundation:: BOOL ); UpdateDebugInfoFileEx(imagefilename.into().abi(), symbolpath.into().abi(), ::core::mem::transmute(debugfilepath), ntheaders, oldchecksum) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] pub unsafe fn WaitForDebugEvent(lpdebugevent: *mut DEBUG_EVENT, dwmilliseconds: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForDebugEvent ( lpdebugevent : *mut DEBUG_EVENT , dwmilliseconds : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForDebugEvent ( lpdebugevent : *mut DEBUG_EVENT , dwmilliseconds : u32 ) -> super::super::super::Foundation:: BOOL ); WaitForDebugEvent(lpdebugevent, dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] pub unsafe fn WaitForDebugEventEx(lpdebugevent: *mut DEBUG_EVENT, dwmilliseconds: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForDebugEventEx ( lpdebugevent : *mut DEBUG_EVENT , dwmilliseconds : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForDebugEventEx ( lpdebugevent : *mut DEBUG_EVENT , dwmilliseconds : u32 ) -> super::super::super::Foundation:: BOOL ); WaitForDebugEventEx(lpdebugevent, dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3165,7 +3165,7 @@ pub unsafe fn Wow64GetThreadContext(hthread: P0, lpcontext: *mut WOW64_CONTE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Wow64GetThreadContext ( hthread : super::super::super::Foundation:: HANDLE , lpcontext : *mut WOW64_CONTEXT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Wow64GetThreadContext ( hthread : super::super::super::Foundation:: HANDLE , lpcontext : *mut WOW64_CONTEXT ) -> super::super::super::Foundation:: BOOL ); Wow64GetThreadContext(hthread.into(), lpcontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3175,7 +3175,7 @@ pub unsafe fn Wow64GetThreadSelectorEntry(hthread: P0, dwselector: u32, lpse where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Wow64GetThreadSelectorEntry ( hthread : super::super::super::Foundation:: HANDLE , dwselector : u32 , lpselectorentry : *mut WOW64_LDT_ENTRY ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Wow64GetThreadSelectorEntry ( hthread : super::super::super::Foundation:: HANDLE , dwselector : u32 , lpselectorentry : *mut WOW64_LDT_ENTRY ) -> super::super::super::Foundation:: BOOL ); Wow64GetThreadSelectorEntry(hthread.into(), dwselector, lpselectorentry) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3185,7 +3185,7 @@ pub unsafe fn Wow64SetThreadContext(hthread: P0, lpcontext: *const WOW64_CON where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Wow64SetThreadContext ( hthread : super::super::super::Foundation:: HANDLE , lpcontext : *const WOW64_CONTEXT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Wow64SetThreadContext ( hthread : super::super::super::Foundation:: HANDLE , lpcontext : *const WOW64_CONTEXT ) -> super::super::super::Foundation:: BOOL ); Wow64SetThreadContext(hthread.into(), lpcontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -3195,7 +3195,7 @@ pub unsafe fn WriteProcessMemory(hprocess: P0, lpbaseaddress: *const ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteProcessMemory ( hprocess : super::super::super::Foundation:: HANDLE , lpbaseaddress : *const ::core::ffi::c_void , lpbuffer : *const ::core::ffi::c_void , nsize : usize , lpnumberofbyteswritten : *mut usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProcessMemory ( hprocess : super::super::super::Foundation:: HANDLE , lpbaseaddress : *const ::core::ffi::c_void , lpbuffer : *const ::core::ffi::c_void , nsize : usize , lpnumberofbyteswritten : *mut usize ) -> super::super::super::Foundation:: BOOL ); WriteProcessMemory(hprocess.into(), lpbaseaddress, lpbuffer, nsize, ::core::mem::transmute(lpnumberofbyteswritten.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] @@ -3236,7 +3236,7 @@ impl AsyncIDebugApplicationNodeEvents { (::windows::core::Vtable::vtable(self).Finish_onAttach)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIDebugApplicationNodeEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIDebugApplicationNodeEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIDebugApplicationNodeEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3336,7 +3336,7 @@ impl DebugBaseEventCallbacks { (::windows::core::Vtable::vtable(self).base__.ChangeSymbolState)(::windows::core::Vtable::as_raw(self), flags, argument).ok() } } -::windows::core::interface_hierarchy!(DebugBaseEventCallbacks, ::windows::core::IUnknown, IDebugEventCallbacks); +::windows::imp::interface_hierarchy!(DebugBaseEventCallbacks, ::windows::core::IUnknown, IDebugEventCallbacks); impl ::core::cmp::PartialEq for DebugBaseEventCallbacks { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3428,7 +3428,7 @@ impl DebugBaseEventCallbacksWide { (::windows::core::Vtable::vtable(self).base__.ChangeSymbolState)(::windows::core::Vtable::as_raw(self), flags, argument).ok() } } -::windows::core::interface_hierarchy!(DebugBaseEventCallbacksWide, ::windows::core::IUnknown, IDebugEventCallbacksWide); +::windows::imp::interface_hierarchy!(DebugBaseEventCallbacksWide, ::windows::core::IUnknown, IDebugEventCallbacksWide); impl ::core::cmp::PartialEq for DebugBaseEventCallbacksWide { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3523,7 +3523,7 @@ impl IActiveScript { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScript, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScript, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScript { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3665,7 +3665,7 @@ impl IActiveScriptAuthor { (::windows::core::Vtable::vtable(self).IsCommitChar)(::windows::core::Vtable::as_raw(self), ch, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptAuthor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptAuthor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptAuthor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3734,7 +3734,7 @@ impl IActiveScriptAuthorProcedure { (::windows::core::Vtable::vtable(self).ParseProcedureText)(::windows::core::Vtable::as_raw(self), pszcode.into().abi(), pszformalparams.into().abi(), pszprocedurename.into().abi(), pszitemname.into().abi(), pszdelimiter.into().abi(), dwcookie, dwflags, pdispfor.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptAuthorProcedure, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptAuthorProcedure, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptAuthorProcedure { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3789,7 +3789,7 @@ impl IActiveScriptDebug32 { (::windows::core::Vtable::vtable(self).EnumCodeContextsOfPosition)(::windows::core::Vtable::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptDebug32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptDebug32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptDebug32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3843,7 +3843,7 @@ impl IActiveScriptDebug64 { (::windows::core::Vtable::vtable(self).EnumCodeContextsOfPosition)(::windows::core::Vtable::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptDebug64, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptDebug64, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptDebug64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3894,7 +3894,7 @@ impl IActiveScriptEncode { (::windows::core::Vtable::vtable(self).GetEncodeProgId)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrout)).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptEncode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptEncode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptEncode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3942,7 +3942,7 @@ impl IActiveScriptError { (::windows::core::Vtable::vtable(self).GetSourceLineText)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3996,7 +3996,7 @@ impl IActiveScriptError64 { (::windows::core::Vtable::vtable(self).GetSourcePosition64)(::windows::core::Vtable::as_raw(self), pdwsourcecontext, pullinenumber, plcharacterposition).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptError64, ::windows::core::IUnknown, IActiveScriptError); +::windows::imp::interface_hierarchy!(IActiveScriptError64, ::windows::core::IUnknown, IActiveScriptError); impl ::core::cmp::PartialEq for IActiveScriptError64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4050,7 +4050,7 @@ impl IActiveScriptErrorDebug { (::windows::core::Vtable::vtable(self).GetStackFrame)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptErrorDebug, ::windows::core::IUnknown, IActiveScriptError); +::windows::imp::interface_hierarchy!(IActiveScriptErrorDebug, ::windows::core::IUnknown, IActiveScriptError); impl ::core::cmp::PartialEq for IActiveScriptErrorDebug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4089,7 +4089,7 @@ impl IActiveScriptErrorDebug110 { (::windows::core::Vtable::vtable(self).GetExceptionThrownKind)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptErrorDebug110, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptErrorDebug110, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptErrorDebug110 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4126,7 +4126,7 @@ impl IActiveScriptGarbageCollector { (::windows::core::Vtable::vtable(self).CollectGarbage)(::windows::core::Vtable::as_raw(self), scriptgctype).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptGarbageCollector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptGarbageCollector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptGarbageCollector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4163,7 +4163,7 @@ impl IActiveScriptHostEncode { (::windows::core::Vtable::vtable(self).EncodeScriptHostFile)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrinfile), ::core::mem::transmute(pbstroutfile), cflags, ::core::mem::transmute_copy(bstrdefaultlang)).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptHostEncode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptHostEncode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptHostEncode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4224,7 +4224,7 @@ impl IActiveScriptParse32 { (::windows::core::Vtable::vtable(self).ParseScriptText)(::windows::core::Vtable::as_raw(self), pstrcode.into().abi(), pstritemname.into().abi(), punkcontext.into().abi(), pstrdelimiter.into().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, pvarresult, pexcepinfo).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptParse32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptParse32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptParse32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4293,7 +4293,7 @@ impl IActiveScriptParse64 { (::windows::core::Vtable::vtable(self).ParseScriptText)(::windows::core::Vtable::as_raw(self), pstrcode.into().abi(), pstritemname.into().abi(), punkcontext.into().abi(), pstrdelimiter.into().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, pvarresult, pexcepinfo).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptParse64, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptParse64, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptParse64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4349,7 +4349,7 @@ impl IActiveScriptParseProcedure2_32 { (::windows::core::Vtable::vtable(self).base__.ParseProcedureText)(::windows::core::Vtable::as_raw(self), pstrcode.into().abi(), pstrformalparams.into().abi(), pstrprocedurename.into().abi(), pstritemname.into().abi(), punkcontext.into().abi(), pstrdelimiter.into().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptParseProcedure2_32, ::windows::core::IUnknown, IActiveScriptParseProcedure32); +::windows::imp::interface_hierarchy!(IActiveScriptParseProcedure2_32, ::windows::core::IUnknown, IActiveScriptParseProcedure32); impl ::core::cmp::PartialEq for IActiveScriptParseProcedure2_32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4396,7 +4396,7 @@ impl IActiveScriptParseProcedure2_64 { (::windows::core::Vtable::vtable(self).base__.ParseProcedureText)(::windows::core::Vtable::as_raw(self), pstrcode.into().abi(), pstrformalparams.into().abi(), pstrprocedurename.into().abi(), pstritemname.into().abi(), punkcontext.into().abi(), pstrdelimiter.into().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptParseProcedure2_64, ::windows::core::IUnknown, IActiveScriptParseProcedure64); +::windows::imp::interface_hierarchy!(IActiveScriptParseProcedure2_64, ::windows::core::IUnknown, IActiveScriptParseProcedure64); impl ::core::cmp::PartialEq for IActiveScriptParseProcedure2_64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4443,7 +4443,7 @@ impl IActiveScriptParseProcedure32 { (::windows::core::Vtable::vtable(self).ParseProcedureText)(::windows::core::Vtable::as_raw(self), pstrcode.into().abi(), pstrformalparams.into().abi(), pstrprocedurename.into().abi(), pstritemname.into().abi(), punkcontext.into().abi(), pstrdelimiter.into().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptParseProcedure32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptParseProcedure32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptParseProcedure32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4494,7 +4494,7 @@ impl IActiveScriptParseProcedure64 { (::windows::core::Vtable::vtable(self).ParseProcedureText)(::windows::core::Vtable::as_raw(self), pstrcode.into().abi(), pstrformalparams.into().abi(), pstrprocedurename.into().abi(), pstritemname.into().abi(), punkcontext.into().abi(), pstrdelimiter.into().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptParseProcedure64, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptParseProcedure64, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptParseProcedure64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4544,7 +4544,7 @@ impl IActiveScriptParseProcedureOld32 { (::windows::core::Vtable::vtable(self).ParseProcedureText)(::windows::core::Vtable::as_raw(self), pstrcode.into().abi(), pstrformalparams.into().abi(), pstritemname.into().abi(), punkcontext.into().abi(), pstrdelimiter.into().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptParseProcedureOld32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptParseProcedureOld32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptParseProcedureOld32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4594,7 +4594,7 @@ impl IActiveScriptParseProcedureOld64 { (::windows::core::Vtable::vtable(self).ParseProcedureText)(::windows::core::Vtable::as_raw(self), pstrcode.into().abi(), pstrformalparams.into().abi(), pstritemname.into().abi(), punkcontext.into().abi(), pstrdelimiter.into().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptParseProcedureOld64, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptParseProcedureOld64, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptParseProcedureOld64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4657,7 +4657,7 @@ impl IActiveScriptProfilerCallback { (::windows::core::Vtable::vtable(self).OnFunctionExit)(::windows::core::Vtable::as_raw(self), scriptid, functionid).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptProfilerCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4734,7 +4734,7 @@ impl IActiveScriptProfilerCallback2 { (::windows::core::Vtable::vtable(self).OnFunctionExitByName)(::windows::core::Vtable::as_raw(self), pwszfunctionname.into().abi(), r#type).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerCallback2, ::windows::core::IUnknown, IActiveScriptProfilerCallback); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerCallback2, ::windows::core::IUnknown, IActiveScriptProfilerCallback); impl ::core::cmp::PartialEq for IActiveScriptProfilerCallback2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4810,7 +4810,7 @@ impl IActiveScriptProfilerCallback3 { (::windows::core::Vtable::vtable(self).SetWebWorkerId)(::windows::core::Vtable::as_raw(self), webworkerid).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerCallback3, ::windows::core::IUnknown, IActiveScriptProfilerCallback, IActiveScriptProfilerCallback2); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerCallback3, ::windows::core::IUnknown, IActiveScriptProfilerCallback, IActiveScriptProfilerCallback2); impl ::core::cmp::PartialEq for IActiveScriptProfilerCallback3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4853,7 +4853,7 @@ impl IActiveScriptProfilerControl { (::windows::core::Vtable::vtable(self).StopProfiling)(::windows::core::Vtable::as_raw(self), hrshutdownreason).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptProfilerControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4904,7 +4904,7 @@ impl IActiveScriptProfilerControl2 { (::windows::core::Vtable::vtable(self).PrepareProfilerStop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerControl2, ::windows::core::IUnknown, IActiveScriptProfilerControl); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerControl2, ::windows::core::IUnknown, IActiveScriptProfilerControl); impl ::core::cmp::PartialEq for IActiveScriptProfilerControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4958,7 +4958,7 @@ impl IActiveScriptProfilerControl3 { (::windows::core::Vtable::vtable(self).EnumHeap)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerControl3, ::windows::core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerControl3, ::windows::core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2); impl ::core::cmp::PartialEq for IActiveScriptProfilerControl3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5014,7 +5014,7 @@ impl IActiveScriptProfilerControl4 { (::windows::core::Vtable::vtable(self).SummarizeHeap)(::windows::core::Vtable::as_raw(self), heapsummary).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerControl4, ::windows::core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerControl4, ::windows::core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3); impl ::core::cmp::PartialEq for IActiveScriptProfilerControl4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5074,7 +5074,7 @@ impl IActiveScriptProfilerControl5 { (::windows::core::Vtable::vtable(self).EnumHeap2)(::windows::core::Vtable::as_raw(self), enumflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerControl5, ::windows::core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3, IActiveScriptProfilerControl4); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerControl5, ::windows::core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3, IActiveScriptProfilerControl4); impl ::core::cmp::PartialEq for IActiveScriptProfilerControl5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5120,7 +5120,7 @@ impl IActiveScriptProfilerHeapEnum { (::windows::core::Vtable::vtable(self).GetNameIdMap)(::windows::core::Vtable::as_raw(self), pnamelist, pcelt).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptProfilerHeapEnum, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptProfilerHeapEnum, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptProfilerHeapEnum { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5168,7 +5168,7 @@ impl IActiveScriptProperty { (::windows::core::Vtable::vtable(self).SetProperty)(::windows::core::Vtable::as_raw(self), dwproperty, pvarindex, pvarvalue).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5213,7 +5213,7 @@ impl IActiveScriptSIPInfo { (::windows::core::Vtable::vtable(self).GetSIPOID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptSIPInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSIPInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSIPInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5283,7 +5283,7 @@ impl IActiveScriptSite { (::windows::core::Vtable::vtable(self).OnLeaveScript)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5350,7 +5350,7 @@ impl IActiveScriptSiteDebug32 { (::windows::core::Vtable::vtable(self).OnScriptErrorDebug)(::windows::core::Vtable::as_raw(self), perrordebug.into().abi(), pfenterdebugger, pfcallonscripterrorwhencontinuing).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptSiteDebug32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSiteDebug32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSiteDebug32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5410,7 +5410,7 @@ impl IActiveScriptSiteDebug64 { (::windows::core::Vtable::vtable(self).OnScriptErrorDebug)(::windows::core::Vtable::as_raw(self), perrordebug.into().abi(), pfenterdebugger, pfcallonscripterrorwhencontinuing).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptSiteDebug64, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSiteDebug64, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSiteDebug64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5459,7 +5459,7 @@ impl IActiveScriptSiteDebugEx { (::windows::core::Vtable::vtable(self).OnCanNotJITScriptErrorDebug)(::windows::core::Vtable::as_raw(self), perrordebug.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptSiteDebugEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSiteDebugEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSiteDebugEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5499,7 +5499,7 @@ impl IActiveScriptSiteInterruptPoll { (::windows::core::Vtable::vtable(self).QueryContinue)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptSiteInterruptPoll, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSiteInterruptPoll, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSiteInterruptPoll { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5536,7 +5536,7 @@ impl IActiveScriptSiteTraceInfo { (::windows::core::Vtable::vtable(self).SendScriptTraceInfo)(::windows::core::Vtable::as_raw(self), stieventtype, ::core::mem::transmute(guidcontextid), dwscriptcontextcookie, lscriptstatementstart, lscriptstatementend, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptSiteTraceInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSiteTraceInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSiteTraceInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5574,7 +5574,7 @@ impl IActiveScriptSiteUIControl { (::windows::core::Vtable::vtable(self).GetUIBehavior)(::windows::core::Vtable::as_raw(self), uicitem, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptSiteUIControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSiteUIControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSiteUIControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5622,7 +5622,7 @@ impl IActiveScriptSiteWindow { (::windows::core::Vtable::vtable(self).EnableModeless)(::windows::core::Vtable::as_raw(self), fenable.into()).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptSiteWindow, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptSiteWindow, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptSiteWindow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5672,7 +5672,7 @@ impl IActiveScriptStats { (::windows::core::Vtable::vtable(self).ResetStats)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptStats, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptStats, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptStats { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5712,7 +5712,7 @@ impl IActiveScriptStringCompare { (::windows::core::Vtable::vtable(self).StrComp)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bszstr1), ::core::mem::transmute_copy(bszstr2), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptStringCompare, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptStringCompare, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptStringCompare { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5755,7 +5755,7 @@ impl IActiveScriptTraceInfo { (::windows::core::Vtable::vtable(self).StopScriptTracing)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IActiveScriptTraceInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveScriptTraceInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveScriptTraceInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5814,7 +5814,7 @@ impl IActiveScriptWinRTErrorDebug { (::windows::core::Vtable::vtable(self).GetCapabilitySid)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveScriptWinRTErrorDebug, ::windows::core::IUnknown, IActiveScriptError); +::windows::imp::interface_hierarchy!(IActiveScriptWinRTErrorDebug, ::windows::core::IUnknown, IActiveScriptError); impl ::core::cmp::PartialEq for IActiveScriptWinRTErrorDebug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5882,7 +5882,7 @@ impl IApplicationDebugger { (::windows::core::Vtable::vtable(self).onDebuggerEvent)(::windows::core::Vtable::as_raw(self), riid, punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IApplicationDebugger, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApplicationDebugger, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApplicationDebugger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5933,7 +5933,7 @@ impl IApplicationDebuggerUI { (::windows::core::Vtable::vtable(self).BringDocumentContextToTop)(::windows::core::Vtable::as_raw(self), pddc.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IApplicationDebuggerUI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApplicationDebuggerUI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApplicationDebuggerUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5977,7 +5977,7 @@ impl IBindEventHandler { (::windows::core::Vtable::vtable(self).BindHandler)(::windows::core::Vtable::as_raw(self), pstrevent.into().abi(), pdisp.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBindEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBindEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBindEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6021,7 +6021,7 @@ impl ICodeAddressConcept { (::windows::core::Vtable::vtable(self).GetContainingSymbol)(::windows::core::Vtable::as_raw(self), pcontextobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICodeAddressConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICodeAddressConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICodeAddressConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6063,7 +6063,7 @@ impl IComparableConcept { (::windows::core::Vtable::vtable(self).CompareObjects)(::windows::core::Vtable::as_raw(self), contextobject.into().abi(), otherobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IComparableConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComparableConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComparableConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6109,7 +6109,7 @@ impl IDataModelConcept { (::windows::core::Vtable::vtable(self).GetName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6275,7 +6275,7 @@ impl IDataModelManager { (::windows::core::Vtable::vtable(self).AcquireNamedModel)(::windows::core::Vtable::as_raw(self), modelname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6485,7 +6485,7 @@ impl IDataModelManager2 { (::windows::core::Vtable::vtable(self).CreateTypedIntrinsicObjectEx)(::windows::core::Vtable::as_raw(self), context.into().abi(), intrinsicdata, r#type.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelManager2, ::windows::core::IUnknown, IDataModelManager); +::windows::imp::interface_hierarchy!(IDataModelManager2, ::windows::core::IUnknown, IDataModelManager); impl ::core::cmp::PartialEq for IDataModelManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6551,7 +6551,7 @@ impl IDataModelNameBinder { (::windows::core::Vtable::vtable(self).EnumerateReferences)(::windows::core::Vtable::as_raw(self), contextobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelNameBinder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelNameBinder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelNameBinder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6625,7 +6625,7 @@ impl IDataModelScript { (::windows::core::Vtable::vtable(self).InvokeMain)(::windows::core::Vtable::as_raw(self), client.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDataModelScript, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScript, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScript { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6674,7 +6674,7 @@ impl IDataModelScriptClient { (::windows::core::Vtable::vtable(self).ReportError)(::windows::core::Vtable::as_raw(self), errclass, hrfail, message.into().abi(), line, position).ok() } } -::windows::core::interface_hierarchy!(IDataModelScriptClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6749,7 +6749,7 @@ impl IDataModelScriptDebug { (::windows::core::Vtable::vtable(self).StopDebugging)(::windows::core::Vtable::as_raw(self), debugclient.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDataModelScriptDebug, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptDebug, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptDebug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6840,7 +6840,7 @@ impl IDataModelScriptDebug2 { (::windows::core::Vtable::vtable(self).SetBreakpointAtFunction)(::windows::core::Vtable::as_raw(self), functionname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptDebug2, ::windows::core::IUnknown, IDataModelScriptDebug); +::windows::imp::interface_hierarchy!(IDataModelScriptDebug2, ::windows::core::IUnknown, IDataModelScriptDebug); impl ::core::cmp::PartialEq for IDataModelScriptDebug2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6892,7 +6892,7 @@ impl IDataModelScriptDebugBreakpoint { (::windows::core::Vtable::vtable(self).GetPosition)(::windows::core::Vtable::as_raw(self), position, ::core::mem::transmute(positionspanend.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(linetext.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDataModelScriptDebugBreakpoint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptDebugBreakpoint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptDebugBreakpoint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6938,7 +6938,7 @@ impl IDataModelScriptDebugBreakpointEnumerator { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptDebugBreakpointEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptDebugBreakpointEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptDebugBreakpointEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6980,7 +6980,7 @@ impl IDataModelScriptDebugClient { (::windows::core::Vtable::vtable(self).NotifyDebugEvent)(::windows::core::Vtable::as_raw(self), peventinfo, pscript.into().abi(), peventdataobject.into().abi(), resumeeventkind).ok() } } -::windows::core::interface_hierarchy!(IDataModelScriptDebugClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptDebugClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptDebugClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7021,7 +7021,7 @@ impl IDataModelScriptDebugStack { (::windows::core::Vtable::vtable(self).GetStackFrame)(::windows::core::Vtable::as_raw(self), framenumber, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptDebugStack, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptDebugStack, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptDebugStack { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7085,7 +7085,7 @@ impl IDataModelScriptDebugStackFrame { (::windows::core::Vtable::vtable(self).EnumerateArguments)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptDebugStackFrame, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptDebugStackFrame, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptDebugStackFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7131,7 +7131,7 @@ impl IDataModelScriptDebugVariableSetEnumerator { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(variablename), ::core::mem::transmute(variablevalue.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(variablemetadata.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDataModelScriptDebugVariableSetEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptDebugVariableSetEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptDebugVariableSetEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7176,7 +7176,7 @@ impl IDataModelScriptHostContext { (::windows::core::Vtable::vtable(self).GetNamespaceObject)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptHostContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptHostContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptHostContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7245,7 +7245,7 @@ impl IDataModelScriptManager { (::windows::core::Vtable::vtable(self).EnumerateScriptProviders)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7304,7 +7304,7 @@ impl IDataModelScriptProvider { (::windows::core::Vtable::vtable(self).EnumerateTemplates)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7349,7 +7349,7 @@ impl IDataModelScriptProviderEnumerator { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptProviderEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptProviderEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptProviderEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7398,7 +7398,7 @@ impl IDataModelScriptTemplate { (::windows::core::Vtable::vtable(self).GetContent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptTemplate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptTemplate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptTemplate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7444,7 +7444,7 @@ impl IDataModelScriptTemplateEnumerator { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDataModelScriptTemplateEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataModelScriptTemplateEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataModelScriptTemplateEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7485,7 +7485,7 @@ impl IDebugAdvanced { (::windows::core::Vtable::vtable(self).SetThreadContext)(::windows::core::Vtable::as_raw(self), context, contextsize).ok() } } -::windows::core::interface_hierarchy!(IDebugAdvanced, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugAdvanced, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugAdvanced { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7547,7 +7547,7 @@ impl IDebugAdvanced2 { (::windows::core::Vtable::vtable(self).GetSystemObjectInformation)(::windows::core::Vtable::as_raw(self), which, arg64, arg32, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, ::core::mem::transmute(infosize.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugAdvanced2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugAdvanced2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugAdvanced2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7629,7 +7629,7 @@ impl IDebugAdvanced3 { (::windows::core::Vtable::vtable(self).GetSymbolInformationWide)(::windows::core::Vtable::as_raw(self), which, arg64, arg32, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, ::core::mem::transmute(infosize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(stringbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), stringbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(stringsize.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugAdvanced3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugAdvanced3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugAdvanced3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7730,7 +7730,7 @@ impl IDebugAdvanced4 { .ok() } } -::windows::core::interface_hierarchy!(IDebugAdvanced4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugAdvanced4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugAdvanced4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7803,7 +7803,7 @@ impl IDebugApplication11032 { (::windows::core::Vtable::vtable(self).CallableWaitForHandles)(::windows::core::Vtable::as_raw(self), phandles.len() as _, ::core::mem::transmute(phandles.as_ptr()), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugApplication11032, ::windows::core::IUnknown, IRemoteDebugApplication110); +::windows::imp::interface_hierarchy!(IDebugApplication11032, ::windows::core::IUnknown, IRemoteDebugApplication110); impl ::core::cmp::PartialEq for IDebugApplication11032 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7871,7 +7871,7 @@ impl IDebugApplication11064 { (::windows::core::Vtable::vtable(self).CallableWaitForHandles)(::windows::core::Vtable::as_raw(self), phandles.len() as _, ::core::mem::transmute(phandles.as_ptr()), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugApplication11064, ::windows::core::IUnknown, IRemoteDebugApplication110); +::windows::imp::interface_hierarchy!(IDebugApplication11064, ::windows::core::IUnknown, IRemoteDebugApplication110); impl ::core::cmp::PartialEq for IDebugApplication11064 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8055,7 +8055,7 @@ impl IDebugApplication32 { (::windows::core::Vtable::vtable(self).RemoveGlobalExpressionContextProvider)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(IDebugApplication32, ::windows::core::IUnknown, IRemoteDebugApplication); +::windows::imp::interface_hierarchy!(IDebugApplication32, ::windows::core::IUnknown, IRemoteDebugApplication); impl ::core::cmp::PartialEq for IDebugApplication32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8262,7 +8262,7 @@ impl IDebugApplication64 { (::windows::core::Vtable::vtable(self).RemoveGlobalExpressionContextProvider)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(IDebugApplication64, ::windows::core::IUnknown, IRemoteDebugApplication); +::windows::imp::interface_hierarchy!(IDebugApplication64, ::windows::core::IUnknown, IRemoteDebugApplication); impl ::core::cmp::PartialEq for IDebugApplication64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8362,7 +8362,7 @@ impl IDebugApplicationNode { (::windows::core::Vtable::vtable(self).Detach)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugApplicationNode, ::windows::core::IUnknown, IDebugDocumentInfo, IDebugDocumentProvider); +::windows::imp::interface_hierarchy!(IDebugApplicationNode, ::windows::core::IUnknown, IDebugDocumentInfo, IDebugDocumentProvider); impl ::core::cmp::PartialEq for IDebugApplicationNode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8414,7 +8414,7 @@ impl IDebugApplicationNode100 { (::windows::core::Vtable::vtable(self).QueryIsChildNode)(::windows::core::Vtable::as_raw(self), psearchkey.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugApplicationNode100, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugApplicationNode100, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugApplicationNode100 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8471,7 +8471,7 @@ impl IDebugApplicationNodeEvents { (::windows::core::Vtable::vtable(self).onAttach)(::windows::core::Vtable::as_raw(self), prddpparent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugApplicationNodeEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugApplicationNodeEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugApplicationNodeEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8570,7 +8570,7 @@ impl IDebugApplicationThread { (::windows::core::Vtable::vtable(self).SetStateString)(::windows::core::Vtable::as_raw(self), pstrstate.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugApplicationThread, ::windows::core::IUnknown, IRemoteDebugApplicationThread); +::windows::imp::interface_hierarchy!(IDebugApplicationThread, ::windows::core::IUnknown, IRemoteDebugApplicationThread); impl ::core::cmp::PartialEq for IDebugApplicationThread { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8630,7 +8630,7 @@ impl IDebugApplicationThread11032 { (::windows::core::Vtable::vtable(self).AsynchronousCallIntoThread)(::windows::core::Vtable::as_raw(self), pptc.into().abi(), dwparam1, dwparam2, dwparam3).ok() } } -::windows::core::interface_hierarchy!(IDebugApplicationThread11032, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugApplicationThread11032, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugApplicationThread11032 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8695,7 +8695,7 @@ impl IDebugApplicationThread11064 { (::windows::core::Vtable::vtable(self).AsynchronousCallIntoThread)(::windows::core::Vtable::as_raw(self), pptc.into().abi(), dwparam1, dwparam2, dwparam3).ok() } } -::windows::core::interface_hierarchy!(IDebugApplicationThread11064, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugApplicationThread11064, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugApplicationThread11064 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8806,7 +8806,7 @@ impl IDebugApplicationThread64 { (::windows::core::Vtable::vtable(self).SynchronousCallIntoThread64)(::windows::core::Vtable::as_raw(self), pstcb.into().abi(), dwparam1, dwparam2, dwparam3).ok() } } -::windows::core::interface_hierarchy!(IDebugApplicationThread64, ::windows::core::IUnknown, IRemoteDebugApplicationThread, IDebugApplicationThread); +::windows::imp::interface_hierarchy!(IDebugApplicationThread64, ::windows::core::IUnknown, IRemoteDebugApplicationThread, IDebugApplicationThread); impl ::core::cmp::PartialEq for IDebugApplicationThread64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8852,7 +8852,7 @@ impl IDebugApplicationThreadEvents110 { (::windows::core::Vtable::vtable(self).OnBeginThreadRequest)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugApplicationThreadEvents110, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugApplicationThreadEvents110, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugApplicationThreadEvents110 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8908,7 +8908,7 @@ impl IDebugAsyncOperation { (::windows::core::Vtable::vtable(self).GetResult)(::windows::core::Vtable::as_raw(self), phrresult, ::core::mem::transmute(ppunkresult)).ok() } } -::windows::core::interface_hierarchy!(IDebugAsyncOperation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugAsyncOperation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugAsyncOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8949,7 +8949,7 @@ impl IDebugAsyncOperationCallBack { (::windows::core::Vtable::vtable(self).onComplete)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugAsyncOperationCallBack, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugAsyncOperationCallBack, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugAsyncOperationCallBack { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9059,7 +9059,7 @@ impl IDebugBreakpoint { (::windows::core::Vtable::vtable(self).GetParameters)(::windows::core::Vtable::as_raw(self), params).ok() } } -::windows::core::interface_hierarchy!(IDebugBreakpoint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugBreakpoint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugBreakpoint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9207,7 +9207,7 @@ impl IDebugBreakpoint2 { (::windows::core::Vtable::vtable(self).SetOffsetExpressionWide)(::windows::core::Vtable::as_raw(self), expression.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugBreakpoint2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugBreakpoint2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugBreakpoint2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9363,7 +9363,7 @@ impl IDebugBreakpoint3 { (::windows::core::Vtable::vtable(self).GetGuid)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugBreakpoint3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugBreakpoint3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugBreakpoint3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9637,7 +9637,7 @@ impl IDebugClient { (::windows::core::Vtable::vtable(self).FlushCallbacks)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9961,7 +9961,7 @@ impl IDebugClient2 { (::windows::core::Vtable::vtable(self).AbandonCurrentProcess)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugClient2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugClient2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugClient2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10327,7 +10327,7 @@ impl IDebugClient3 { (::windows::core::Vtable::vtable(self).CreateProcessAndAttachWide)(::windows::core::Vtable::as_raw(self), server, commandline.into().abi(), createflags, processid, attachflags).ok() } } -::windows::core::interface_hierarchy!(IDebugClient3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugClient3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugClient3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10726,7 +10726,7 @@ impl IDebugClient4 { (::windows::core::Vtable::vtable(self).GetDumpFileWide)(::windows::core::Vtable::as_raw(self), index, ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(namesize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(handle.unwrap_or(::std::ptr::null_mut())), r#type).ok() } } -::windows::core::interface_hierarchy!(IDebugClient4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugClient4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugClient4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11288,7 +11288,7 @@ impl IDebugClient5 { (::windows::core::Vtable::vtable(self).SetQuitLockStringWide)(::windows::core::Vtable::as_raw(self), string.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugClient5, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugClient5, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugClient5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11885,7 +11885,7 @@ impl IDebugClient6 { (::windows::core::Vtable::vtable(self).SetEventContextCallbacks)(::windows::core::Vtable::as_raw(self), callbacks.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugClient6, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugClient6, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugClient6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12486,7 +12486,7 @@ impl IDebugClient7 { (::windows::core::Vtable::vtable(self).SetClientContext)(::windows::core::Vtable::as_raw(self), context, contextsize).ok() } } -::windows::core::interface_hierarchy!(IDebugClient7, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugClient7, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugClient7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13094,7 +13094,7 @@ impl IDebugClient8 { (::windows::core::Vtable::vtable(self).OpenDumpFileWide2)(::windows::core::Vtable::as_raw(self), filename.into().abi(), filehandle, alternatearch).ok() } } -::windows::core::interface_hierarchy!(IDebugClient8, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugClient8, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugClient8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13229,7 +13229,7 @@ impl IDebugCodeContext { (::windows::core::Vtable::vtable(self).SetBreakPoint)(::windows::core::Vtable::as_raw(self), bps).ok() } } -::windows::core::interface_hierarchy!(IDebugCodeContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugCodeContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugCodeContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13673,7 +13673,7 @@ impl IDebugControl { (::windows::core::Vtable::vtable(self).GetLastEventInformation)(::windows::core::Vtable::as_raw(self), r#type, processid, threadid, ::core::mem::transmute(extrainformation.unwrap_or(::std::ptr::null_mut())), extrainformationsize, ::core::mem::transmute(extrainformationused.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(description.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), description.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(descriptionused.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14283,7 +14283,7 @@ impl IDebugControl2 { (::windows::core::Vtable::vtable(self).OutputTextReplacements)(::windows::core::Vtable::as_raw(self), outputcontrol, flags).ok() } } -::windows::core::interface_hierarchy!(IDebugControl2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugControl2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14962,7 +14962,7 @@ impl IDebugControl3 { (::windows::core::Vtable::vtable(self).SetNextEventIndex)(::windows::core::Vtable::as_raw(self), relation, value, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugControl3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugControl3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugControl3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15946,7 +15946,7 @@ impl IDebugControl4 { (::windows::core::Vtable::vtable(self).ResetManagedStatus)(::windows::core::Vtable::as_raw(self), flags).ok() } } -::windows::core::interface_hierarchy!(IDebugControl4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugControl4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugControl4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17025,7 +17025,7 @@ impl IDebugControl5 { (::windows::core::Vtable::vtable(self).GetBreakpointByGuid)(::windows::core::Vtable::as_raw(self), guid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugControl5, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugControl5, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugControl5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18128,7 +18128,7 @@ impl IDebugControl6 { (::windows::core::Vtable::vtable(self).GetSynchronizationStatus)(::windows::core::Vtable::as_raw(self), sendsattempted, secondssincelastresponse).ok() } } -::windows::core::interface_hierarchy!(IDebugControl6, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugControl6, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugControl6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19236,7 +19236,7 @@ impl IDebugControl7 { (::windows::core::Vtable::vtable(self).GetDebuggeeType2)(::windows::core::Vtable::as_raw(self), flags, class, qualifier).ok() } } -::windows::core::interface_hierarchy!(IDebugControl7, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugControl7, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugControl7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19506,7 +19506,7 @@ impl IDebugCookie { (::windows::core::Vtable::vtable(self).SetDebugCookie)(::windows::core::Vtable::as_raw(self), dwdebugappcookie).ok() } } -::windows::core::interface_hierarchy!(IDebugCookie, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugCookie, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugCookie { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19602,7 +19602,7 @@ impl IDebugDataSpaces { (::windows::core::Vtable::vtable(self).ReadProcessorSystemData)(::windows::core::Vtable::as_raw(self), processor, index, buffer, buffersize, ::core::mem::transmute(datasize.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugDataSpaces, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDataSpaces, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDataSpaces { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19738,7 +19738,7 @@ impl IDebugDataSpaces2 { (::windows::core::Vtable::vtable(self).QueryVirtual)(::windows::core::Vtable::as_raw(self), offset, info).ok() } } -::windows::core::interface_hierarchy!(IDebugDataSpaces2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDataSpaces2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDataSpaces2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19901,7 +19901,7 @@ impl IDebugDataSpaces3 { (::windows::core::Vtable::vtable(self).EndEnumTagged)(::windows::core::Vtable::as_raw(self), handle).ok() } } -::windows::core::interface_hierarchy!(IDebugDataSpaces3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDataSpaces3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDataSpaces3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20104,7 +20104,7 @@ impl IDebugDataSpaces4 { (::windows::core::Vtable::vtable(self).WritePhysical2)(::windows::core::Vtable::as_raw(self), offset, flags, buffer, buffersize, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugDataSpaces4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDataSpaces4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDataSpaces4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20192,7 +20192,7 @@ impl IDebugDocument { (::windows::core::Vtable::vtable(self).base__.GetDocumentClassId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugDocument, ::windows::core::IUnknown, IDebugDocumentInfo); +::windows::imp::interface_hierarchy!(IDebugDocument, ::windows::core::IUnknown, IDebugDocumentInfo); impl ::core::cmp::PartialEq for IDebugDocument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20233,7 +20233,7 @@ impl IDebugDocumentContext { (::windows::core::Vtable::vtable(self).EnumCodeContexts)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugDocumentContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDocumentContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDocumentContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20357,7 +20357,7 @@ impl IDebugDocumentHelper32 { (::windows::core::Vtable::vtable(self).BringDocumentContextToTop)(::windows::core::Vtable::as_raw(self), pddc.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugDocumentHelper32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDocumentHelper32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDocumentHelper32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20500,7 +20500,7 @@ impl IDebugDocumentHelper64 { (::windows::core::Vtable::vtable(self).BringDocumentContextToTop)(::windows::core::Vtable::as_raw(self), pddc.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugDocumentHelper64, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDocumentHelper64, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDocumentHelper64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20580,7 +20580,7 @@ impl IDebugDocumentHost { (::windows::core::Vtable::vtable(self).NotifyChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugDocumentHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDocumentHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDocumentHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20630,7 +20630,7 @@ impl IDebugDocumentInfo { (::windows::core::Vtable::vtable(self).GetDocumentClassId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugDocumentInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDocumentInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDocumentInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20677,7 +20677,7 @@ impl IDebugDocumentProvider { (::windows::core::Vtable::vtable(self).GetDocument)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugDocumentProvider, ::windows::core::IUnknown, IDebugDocumentInfo); +::windows::imp::interface_hierarchy!(IDebugDocumentProvider, ::windows::core::IUnknown, IDebugDocumentInfo); impl ::core::cmp::PartialEq for IDebugDocumentProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20746,7 +20746,7 @@ impl IDebugDocumentText { (::windows::core::Vtable::vtable(self).GetContextOfPosition)(::windows::core::Vtable::as_raw(self), ccharacterposition, cnumchars, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugDocumentText, ::windows::core::IUnknown, IDebugDocumentInfo, IDebugDocument); +::windows::imp::interface_hierarchy!(IDebugDocumentText, ::windows::core::IUnknown, IDebugDocumentInfo, IDebugDocument); impl ::core::cmp::PartialEq for IDebugDocumentText { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20830,7 +20830,7 @@ impl IDebugDocumentTextAuthor { (::windows::core::Vtable::vtable(self).ReplaceText)(::windows::core::Vtable::as_raw(self), ccharacterposition, pchartext.len() as _, ::core::mem::transmute(pchartext.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IDebugDocumentTextAuthor, ::windows::core::IUnknown, IDebugDocumentInfo, IDebugDocument, IDebugDocumentText); +::windows::imp::interface_hierarchy!(IDebugDocumentTextAuthor, ::windows::core::IUnknown, IDebugDocumentInfo, IDebugDocument, IDebugDocumentText); impl ::core::cmp::PartialEq for IDebugDocumentTextAuthor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20884,7 +20884,7 @@ impl IDebugDocumentTextEvents { (::windows::core::Vtable::vtable(self).onUpdateDocumentAttributes)(::windows::core::Vtable::as_raw(self), textdocattr).ok() } } -::windows::core::interface_hierarchy!(IDebugDocumentTextEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDocumentTextEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDocumentTextEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20935,7 +20935,7 @@ impl IDebugDocumentTextExternalAuthor { (::windows::core::Vtable::vtable(self).NotifyChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugDocumentTextExternalAuthor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugDocumentTextExternalAuthor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugDocumentTextExternalAuthor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21033,7 +21033,7 @@ impl IDebugEventCallbacks { (::windows::core::Vtable::vtable(self).ChangeSymbolState)(::windows::core::Vtable::as_raw(self), flags, argument).ok() } } -::windows::core::interface_hierarchy!(IDebugEventCallbacks, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugEventCallbacks, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugEventCallbacks { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21142,7 +21142,7 @@ impl IDebugEventCallbacksWide { (::windows::core::Vtable::vtable(self).ChangeSymbolState)(::windows::core::Vtable::as_raw(self), flags, argument).ok() } } -::windows::core::interface_hierarchy!(IDebugEventCallbacksWide, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugEventCallbacksWide, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugEventCallbacksWide { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21251,7 +21251,7 @@ impl IDebugEventContextCallbacks { (::windows::core::Vtable::vtable(self).ChangeSymbolState)(::windows::core::Vtable::as_raw(self), flags, argument).ok() } } -::windows::core::interface_hierarchy!(IDebugEventContextCallbacks, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugEventContextCallbacks, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugEventContextCallbacks { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21319,7 +21319,7 @@ impl IDebugExpression { (::windows::core::Vtable::vtable(self).GetResultAsDebugProperty)(::windows::core::Vtable::as_raw(self), phrresult, ::core::mem::transmute(ppdp)).ok() } } -::windows::core::interface_hierarchy!(IDebugExpression, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugExpression, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugExpression { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21360,7 +21360,7 @@ impl IDebugExpressionCallBack { (::windows::core::Vtable::vtable(self).onComplete)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugExpressionCallBack, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugExpressionCallBack, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugExpressionCallBack { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21405,7 +21405,7 @@ impl IDebugExpressionContext { (::windows::core::Vtable::vtable(self).GetLanguageInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrlanguagename), planguageid).ok() } } -::windows::core::interface_hierarchy!(IDebugExpressionContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugExpressionContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugExpressionContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21471,7 +21471,7 @@ impl IDebugExtendedProperty { (::windows::core::Vtable::vtable(self).EnumExtendedMembers)(::windows::core::Vtable::as_raw(self), dwfieldspec, nradix, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugExtendedProperty, ::windows::core::IUnknown, IDebugProperty); +::windows::imp::interface_hierarchy!(IDebugExtendedProperty, ::windows::core::IUnknown, IDebugProperty); impl ::core::cmp::PartialEq for IDebugExtendedProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21530,7 +21530,7 @@ impl IDebugFormatter { (::windows::core::Vtable::vtable(self).GetStringForVarType)(::windows::core::Vtable::as_raw(self), vt, ptdescarraytype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugFormatter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugFormatter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugFormatter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21605,7 +21605,7 @@ impl IDebugHelper { (::windows::core::Vtable::vtable(self).CreateSimpleConnectionPoint)(::windows::core::Vtable::as_raw(self), pdisp.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21662,7 +21662,7 @@ impl IDebugHost { (::windows::core::Vtable::vtable(self).GetDefaultMetadata)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21736,7 +21736,7 @@ impl IDebugHostBaseClass { (::windows::core::Vtable::vtable(self).GetOffset)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostBaseClass, ::windows::core::IUnknown, IDebugHostSymbol); +::windows::imp::interface_hierarchy!(IDebugHostBaseClass, ::windows::core::IUnknown, IDebugHostSymbol); impl ::core::cmp::PartialEq for IDebugHostBaseClass { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21810,7 +21810,7 @@ impl IDebugHostConstant { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostConstant, ::windows::core::IUnknown, IDebugHostSymbol); +::windows::imp::interface_hierarchy!(IDebugHostConstant, ::windows::core::IUnknown, IDebugHostSymbol); impl ::core::cmp::PartialEq for IDebugHostConstant { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21854,7 +21854,7 @@ impl IDebugHostContext { (::windows::core::Vtable::vtable(self).IsEqualTo)(::windows::core::Vtable::as_raw(self), pcontext.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21936,7 +21936,7 @@ impl IDebugHostData { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostData, ::windows::core::IUnknown, IDebugHostSymbol); +::windows::imp::interface_hierarchy!(IDebugHostData, ::windows::core::IUnknown, IDebugHostSymbol); impl ::core::cmp::PartialEq for IDebugHostData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21981,7 +21981,7 @@ impl IDebugHostErrorSink { (::windows::core::Vtable::vtable(self).ReportError)(::windows::core::Vtable::as_raw(self), errclass, hrerror, message.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugHostErrorSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostErrorSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostErrorSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22031,7 +22031,7 @@ impl IDebugHostEvaluator { (::windows::core::Vtable::vtable(self).EvaluateExtendedExpression)(::windows::core::Vtable::as_raw(self), context.into().abi(), expression.into().abi(), bindingcontext.into().abi(), ::core::mem::transmute(result), ::core::mem::transmute(metadata.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugHostEvaluator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostEvaluator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostEvaluator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22089,7 +22089,7 @@ impl IDebugHostEvaluator2 { (::windows::core::Vtable::vtable(self).AssignTo)(::windows::core::Vtable::as_raw(self), assignmentreference.into().abi(), assignmentvalue.into().abi(), ::core::mem::transmute(assignmentresult), ::core::mem::transmute(assignmentmetadata.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugHostEvaluator2, ::windows::core::IUnknown, IDebugHostEvaluator); +::windows::imp::interface_hierarchy!(IDebugHostEvaluator2, ::windows::core::IUnknown, IDebugHostEvaluator); impl ::core::cmp::PartialEq for IDebugHostEvaluator2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22136,7 +22136,7 @@ impl IDebugHostExtensibility { (::windows::core::Vtable::vtable(self).DestroyFunctionAlias)(::windows::core::Vtable::as_raw(self), aliasname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugHostExtensibility, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostExtensibility, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostExtensibility { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22223,7 +22223,7 @@ impl IDebugHostField { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostField, ::windows::core::IUnknown, IDebugHostSymbol); +::windows::imp::interface_hierarchy!(IDebugHostField, ::windows::core::IUnknown, IDebugHostSymbol); impl ::core::cmp::PartialEq for IDebugHostField { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22294,7 +22294,7 @@ impl IDebugHostMemory { (::windows::core::Vtable::vtable(self).GetDisplayStringForLocation)(::windows::core::Vtable::as_raw(self), context.into().abi(), ::core::mem::transmute(location), verbose, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostMemory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostMemory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostMemory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22370,7 +22370,7 @@ impl IDebugHostMemory2 { (::windows::core::Vtable::vtable(self).LinearizeLocation)(::windows::core::Vtable::as_raw(self), context.into().abi(), ::core::mem::transmute(location), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostMemory2, ::windows::core::IUnknown, IDebugHostMemory); +::windows::imp::interface_hierarchy!(IDebugHostMemory2, ::windows::core::IUnknown, IDebugHostMemory); impl ::core::cmp::PartialEq for IDebugHostMemory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22467,7 +22467,7 @@ impl IDebugHostModule { (::windows::core::Vtable::vtable(self).FindSymbolByName)(::windows::core::Vtable::as_raw(self), symbolname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostModule, ::windows::core::IUnknown, IDebugHostSymbol); +::windows::imp::interface_hierarchy!(IDebugHostModule, ::windows::core::IUnknown, IDebugHostSymbol); impl ::core::cmp::PartialEq for IDebugHostModule { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22572,7 +22572,7 @@ impl IDebugHostModule2 { (::windows::core::Vtable::vtable(self).FindContainingSymbolByRVA)(::windows::core::Vtable::as_raw(self), rva, ::core::mem::transmute(symbol), offset).ok() } } -::windows::core::interface_hierarchy!(IDebugHostModule2, ::windows::core::IUnknown, IDebugHostSymbol, IDebugHostModule); +::windows::imp::interface_hierarchy!(IDebugHostModule2, ::windows::core::IUnknown, IDebugHostSymbol, IDebugHostModule); impl ::core::cmp::PartialEq for IDebugHostModule2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22613,7 +22613,7 @@ impl IDebugHostModuleSignature { (::windows::core::Vtable::vtable(self).IsMatch)(::windows::core::Vtable::as_raw(self), pmodule.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostModuleSignature, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostModuleSignature, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostModuleSignature { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22689,7 +22689,7 @@ impl IDebugHostPublic { (::windows::core::Vtable::vtable(self).GetLocation)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostPublic, ::windows::core::IUnknown, IDebugHostSymbol); +::windows::imp::interface_hierarchy!(IDebugHostPublic, ::windows::core::IUnknown, IDebugHostSymbol); impl ::core::cmp::PartialEq for IDebugHostPublic { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22731,7 +22731,7 @@ impl IDebugHostScriptHost { (::windows::core::Vtable::vtable(self).CreateContext)(::windows::core::Vtable::as_raw(self), script.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostScriptHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostScriptHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostScriptHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22769,7 +22769,7 @@ impl IDebugHostStatus { (::windows::core::Vtable::vtable(self).PollUserInterrupt)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostStatus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostStatus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22837,7 +22837,7 @@ impl IDebugHostSymbol { (::windows::core::Vtable::vtable(self).CompareAgainst)(::windows::core::Vtable::as_raw(self), pcomparisonsymbol.into().abi(), comparisonflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostSymbol, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostSymbol, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostSymbol { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22915,7 +22915,7 @@ impl IDebugHostSymbol2 { (::windows::core::Vtable::vtable(self).GetLanguage)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostSymbol2, ::windows::core::IUnknown, IDebugHostSymbol); +::windows::imp::interface_hierarchy!(IDebugHostSymbol2, ::windows::core::IUnknown, IDebugHostSymbol); impl ::core::cmp::PartialEq for IDebugHostSymbol2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22956,7 +22956,7 @@ impl IDebugHostSymbolEnumerator { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostSymbolEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostSymbolEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostSymbolEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23047,7 +23047,7 @@ impl IDebugHostSymbols { (::windows::core::Vtable::vtable(self).GetMostDerivedObject)(::windows::core::Vtable::as_raw(self), pcontext.into().abi(), ::core::mem::transmute(location), objecttype.into().abi(), derivedlocation, ::core::mem::transmute(derivedtype)).ok() } } -::windows::core::interface_hierarchy!(IDebugHostSymbols, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostSymbols, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostSymbols { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23194,7 +23194,7 @@ impl IDebugHostType { (::windows::core::Vtable::vtable(self).GetGenericArgumentAt)(::windows::core::Vtable::as_raw(self), i, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostType, ::windows::core::IUnknown, IDebugHostSymbol); +::windows::imp::interface_hierarchy!(IDebugHostType, ::windows::core::IUnknown, IDebugHostSymbol); impl ::core::cmp::PartialEq for IDebugHostType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23373,7 +23373,7 @@ impl IDebugHostType2 { (::windows::core::Vtable::vtable(self).GetFunctionInstancePointerType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostType2, ::windows::core::IUnknown, IDebugHostSymbol, IDebugHostType); +::windows::imp::interface_hierarchy!(IDebugHostType2, ::windows::core::IUnknown, IDebugHostSymbol, IDebugHostType); impl ::core::cmp::PartialEq for IDebugHostType2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23428,7 +23428,7 @@ impl IDebugHostTypeSignature { (::windows::core::Vtable::vtable(self).CompareAgainst)(::windows::core::Vtable::as_raw(self), typesignature.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugHostTypeSignature, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugHostTypeSignature, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugHostTypeSignature { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23470,7 +23470,7 @@ impl IDebugInputCallbacks { (::windows::core::Vtable::vtable(self).EndInput)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugInputCallbacks, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugInputCallbacks, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugInputCallbacks { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23511,7 +23511,7 @@ impl IDebugOutputCallbacks { (::windows::core::Vtable::vtable(self).Output)(::windows::core::Vtable::as_raw(self), mask, text.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugOutputCallbacks, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugOutputCallbacks, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugOutputCallbacks { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23561,7 +23561,7 @@ impl IDebugOutputCallbacks2 { (::windows::core::Vtable::vtable(self).Output2)(::windows::core::Vtable::as_raw(self), which, flags, arg, text.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugOutputCallbacks2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugOutputCallbacks2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugOutputCallbacks2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23603,7 +23603,7 @@ impl IDebugOutputCallbacksWide { (::windows::core::Vtable::vtable(self).Output)(::windows::core::Vtable::as_raw(self), mask, text.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugOutputCallbacksWide, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugOutputCallbacksWide, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugOutputCallbacksWide { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23643,7 +23643,7 @@ impl IDebugOutputStream { (::windows::core::Vtable::vtable(self).Write)(::windows::core::Vtable::as_raw(self), psz.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugOutputStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugOutputStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugOutputStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23685,7 +23685,7 @@ impl IDebugPlmClient { (::windows::core::Vtable::vtable(self).LaunchPlmPackageForDebugWide)(::windows::core::Vtable::as_raw(self), server, timeout, packagefullname.into().abi(), appname.into().abi(), arguments.into().abi(), processid, threadid).ok() } } -::windows::core::interface_hierarchy!(IDebugPlmClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugPlmClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugPlmClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23734,7 +23734,7 @@ impl IDebugPlmClient2 { (::windows::core::Vtable::vtable(self).LaunchPlmBgTaskForDebugWide)(::windows::core::Vtable::as_raw(self), server, timeout, packagefullname.into().abi(), backgroundtaskid.into().abi(), processid, threadid).ok() } } -::windows::core::interface_hierarchy!(IDebugPlmClient2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugPlmClient2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugPlmClient2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23842,7 +23842,7 @@ impl IDebugPlmClient3 { (::windows::core::Vtable::vtable(self).ActivateAndDebugPlmBgTaskWide)(::windows::core::Vtable::as_raw(self), server, packagefullname.into().abi(), backgroundtaskid.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugPlmClient3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugPlmClient3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugPlmClient3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23908,7 +23908,7 @@ impl IDebugProperty { (::windows::core::Vtable::vtable(self).GetParent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23953,7 +23953,7 @@ impl IDebugPropertyEnumType_All { (::windows::core::Vtable::vtable(self).GetName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugPropertyEnumType_All, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugPropertyEnumType_All, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugPropertyEnumType_All { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23991,7 +23991,7 @@ impl IDebugPropertyEnumType_Arguments { (::windows::core::Vtable::vtable(self).base__.GetName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugPropertyEnumType_Arguments, ::windows::core::IUnknown, IDebugPropertyEnumType_All); +::windows::imp::interface_hierarchy!(IDebugPropertyEnumType_Arguments, ::windows::core::IUnknown, IDebugPropertyEnumType_All); impl ::core::cmp::PartialEq for IDebugPropertyEnumType_Arguments { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24028,7 +24028,7 @@ impl IDebugPropertyEnumType_Locals { (::windows::core::Vtable::vtable(self).base__.GetName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugPropertyEnumType_Locals, ::windows::core::IUnknown, IDebugPropertyEnumType_All); +::windows::imp::interface_hierarchy!(IDebugPropertyEnumType_Locals, ::windows::core::IUnknown, IDebugPropertyEnumType_All); impl ::core::cmp::PartialEq for IDebugPropertyEnumType_Locals { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24065,7 +24065,7 @@ impl IDebugPropertyEnumType_LocalsPlusArgs { (::windows::core::Vtable::vtable(self).base__.GetName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugPropertyEnumType_LocalsPlusArgs, ::windows::core::IUnknown, IDebugPropertyEnumType_All); +::windows::imp::interface_hierarchy!(IDebugPropertyEnumType_LocalsPlusArgs, ::windows::core::IUnknown, IDebugPropertyEnumType_All); impl ::core::cmp::PartialEq for IDebugPropertyEnumType_LocalsPlusArgs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24102,7 +24102,7 @@ impl IDebugPropertyEnumType_Registers { (::windows::core::Vtable::vtable(self).base__.GetName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugPropertyEnumType_Registers, ::windows::core::IUnknown, IDebugPropertyEnumType_All); +::windows::imp::interface_hierarchy!(IDebugPropertyEnumType_Registers, ::windows::core::IUnknown, IDebugPropertyEnumType_All); impl ::core::cmp::PartialEq for IDebugPropertyEnumType_Registers { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24184,7 +24184,7 @@ impl IDebugRegisters { (::windows::core::Vtable::vtable(self).GetFrameOffset)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugRegisters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugRegisters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugRegisters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24358,7 +24358,7 @@ impl IDebugRegisters2 { (::windows::core::Vtable::vtable(self).GetFrameOffset2)(::windows::core::Vtable::as_raw(self), source, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugRegisters2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugRegisters2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugRegisters2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24447,7 +24447,7 @@ impl IDebugSessionProvider { (::windows::core::Vtable::vtable(self).StartDebugSession)(::windows::core::Vtable::as_raw(self), pda.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugSessionProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSessionProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSessionProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24511,7 +24511,7 @@ impl IDebugStackFrame { (::windows::core::Vtable::vtable(self).GetDebugProperty)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugStackFrame, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugStackFrame, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugStackFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24593,7 +24593,7 @@ impl IDebugStackFrame110 { (::windows::core::Vtable::vtable(self).GetScriptInvocationContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugStackFrame110, ::windows::core::IUnknown, IDebugStackFrame); +::windows::imp::interface_hierarchy!(IDebugStackFrame110, ::windows::core::IUnknown, IDebugStackFrame); impl ::core::cmp::PartialEq for IDebugStackFrame110 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24632,7 +24632,7 @@ impl IDebugStackFrameSniffer { (::windows::core::Vtable::vtable(self).EnumStackFrames)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugStackFrameSniffer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugStackFrameSniffer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugStackFrameSniffer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24674,7 +24674,7 @@ impl IDebugStackFrameSnifferEx32 { (::windows::core::Vtable::vtable(self).EnumStackFramesEx32)(::windows::core::Vtable::as_raw(self), dwspmin, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugStackFrameSnifferEx32, ::windows::core::IUnknown, IDebugStackFrameSniffer); +::windows::imp::interface_hierarchy!(IDebugStackFrameSnifferEx32, ::windows::core::IUnknown, IDebugStackFrameSniffer); impl ::core::cmp::PartialEq for IDebugStackFrameSnifferEx32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24716,7 +24716,7 @@ impl IDebugStackFrameSnifferEx64 { (::windows::core::Vtable::vtable(self).EnumStackFramesEx64)(::windows::core::Vtable::as_raw(self), dwspmin, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDebugStackFrameSnifferEx64, ::windows::core::IUnknown, IDebugStackFrameSniffer); +::windows::imp::interface_hierarchy!(IDebugStackFrameSnifferEx64, ::windows::core::IUnknown, IDebugStackFrameSniffer); impl ::core::cmp::PartialEq for IDebugStackFrameSnifferEx64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24798,7 +24798,7 @@ impl IDebugSymbolGroup { (::windows::core::Vtable::vtable(self).OutputAsType)(::windows::core::Vtable::as_raw(self), index, r#type.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDebugSymbolGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSymbolGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSymbolGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24946,7 +24946,7 @@ impl IDebugSymbolGroup2 { (::windows::core::Vtable::vtable(self).GetSymbolEntryInformation)(::windows::core::Vtable::as_raw(self), index, entry).ok() } } -::windows::core::interface_hierarchy!(IDebugSymbolGroup2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSymbolGroup2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSymbolGroup2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25235,7 +25235,7 @@ impl IDebugSymbols { (::windows::core::Vtable::vtable(self).GetSourceFileLineOffsets)(::windows::core::Vtable::as_raw(self), file.into().abi(), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(filelines.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugSymbols, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSymbols, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSymbols { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25581,7 +25581,7 @@ impl IDebugSymbols2 { (::windows::core::Vtable::vtable(self).SetTypeOptions)(::windows::core::Vtable::as_raw(self), options).ok() } } -::windows::core::interface_hierarchy!(IDebugSymbols2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSymbols2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSymbols2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26239,7 +26239,7 @@ impl IDebugSymbols3 { (::windows::core::Vtable::vtable(self).GetSourceEntryBySourceEntry)(::windows::core::Vtable::as_raw(self), fromentry, flags, toentry).ok() } } -::windows::core::interface_hierarchy!(IDebugSymbols3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSymbols3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSymbols3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26988,7 +26988,7 @@ impl IDebugSymbols4 { (::windows::core::Vtable::vtable(self).OutputSymbolByInlineContext)(::windows::core::Vtable::as_raw(self), outputcontrol, flags, offset, inlinecontext).ok() } } -::windows::core::interface_hierarchy!(IDebugSymbols4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSymbols4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSymbols4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27757,7 +27757,7 @@ impl IDebugSymbols5 { (::windows::core::Vtable::vtable(self).SetScopeFrameByIndexEx)(::windows::core::Vtable::as_raw(self), flags, index).ok() } } -::windows::core::interface_hierarchy!(IDebugSymbols5, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSymbols5, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSymbols5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27945,7 +27945,7 @@ impl IDebugSyncOperation { (::windows::core::Vtable::vtable(self).InProgressAbort)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDebugSyncOperation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSyncOperation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSyncOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28091,7 +28091,7 @@ impl IDebugSystemObjects { (::windows::core::Vtable::vtable(self).GetCurrentProcessExecutableName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(exesize.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugSystemObjects, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSystemObjects, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSystemObjects { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28281,7 +28281,7 @@ impl IDebugSystemObjects2 { (::windows::core::Vtable::vtable(self).SetImplicitProcessDataOffset)(::windows::core::Vtable::as_raw(self), offset).ok() } } -::windows::core::interface_hierarchy!(IDebugSystemObjects2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSystemObjects2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSystemObjects2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28508,7 +28508,7 @@ impl IDebugSystemObjects3 { (::windows::core::Vtable::vtable(self).GetCurrentSystemServerName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(namesize.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugSystemObjects3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSystemObjects3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSystemObjects3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28750,7 +28750,7 @@ impl IDebugSystemObjects4 { (::windows::core::Vtable::vtable(self).GetCurrentSystemServerNameWide)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(namesize.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDebugSystemObjects4, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugSystemObjects4, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugSystemObjects4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28831,7 +28831,7 @@ impl IDebugThreadCall32 { (::windows::core::Vtable::vtable(self).ThreadCallHandler)(::windows::core::Vtable::as_raw(self), dwparam1, dwparam2, dwparam3).ok() } } -::windows::core::interface_hierarchy!(IDebugThreadCall32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugThreadCall32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugThreadCall32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28868,7 +28868,7 @@ impl IDebugThreadCall64 { (::windows::core::Vtable::vtable(self).ThreadCallHandler)(::windows::core::Vtable::as_raw(self), dwparam1, dwparam2, dwparam3).ok() } } -::windows::core::interface_hierarchy!(IDebugThreadCall64, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDebugThreadCall64, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDebugThreadCall64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28931,7 +28931,7 @@ impl IDynamicConceptProviderConcept { (::windows::core::Vtable::vtable(self).NotifyDestruct)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDynamicConceptProviderConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDynamicConceptProviderConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDynamicConceptProviderConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -28992,7 +28992,7 @@ impl IDynamicKeyProviderConcept { (::windows::core::Vtable::vtable(self).EnumerateKeys)(::windows::core::Vtable::as_raw(self), contextobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDynamicKeyProviderConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDynamicKeyProviderConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDynamicKeyProviderConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29041,7 +29041,7 @@ impl IEnumDebugApplicationNodes { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDebugApplicationNodes, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDebugApplicationNodes, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDebugApplicationNodes { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29091,7 +29091,7 @@ impl IEnumDebugCodeContexts { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDebugCodeContexts, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDebugCodeContexts, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDebugCodeContexts { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29141,7 +29141,7 @@ impl IEnumDebugExpressionContexts { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDebugExpressionContexts, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDebugExpressionContexts, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDebugExpressionContexts { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29197,7 +29197,7 @@ impl IEnumDebugExtendedPropertyInfo { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDebugExtendedPropertyInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDebugExtendedPropertyInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDebugExtendedPropertyInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29255,7 +29255,7 @@ impl IEnumDebugPropertyInfo { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDebugPropertyInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDebugPropertyInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDebugPropertyInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29308,7 +29308,7 @@ impl IEnumDebugStackFrames { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumDebugStackFrames, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumDebugStackFrames, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumDebugStackFrames { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29368,7 +29368,7 @@ impl IEnumDebugStackFrames64 { (::windows::core::Vtable::vtable(self).Next64)(::windows::core::Vtable::as_raw(self), celt, prgdsfd, pceltfetched).ok() } } -::windows::core::interface_hierarchy!(IEnumDebugStackFrames64, ::windows::core::IUnknown, IEnumDebugStackFrames); +::windows::imp::interface_hierarchy!(IEnumDebugStackFrames64, ::windows::core::IUnknown, IEnumDebugStackFrames); impl ::core::cmp::PartialEq for IEnumDebugStackFrames64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29411,7 +29411,7 @@ impl IEnumJsStackFrames { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IEnumJsStackFrames, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumJsStackFrames, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumJsStackFrames { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29459,7 +29459,7 @@ impl IEnumRemoteDebugApplicationThreads { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumRemoteDebugApplicationThreads, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumRemoteDebugApplicationThreads, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumRemoteDebugApplicationThreads { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29509,7 +29509,7 @@ impl IEnumRemoteDebugApplications { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumRemoteDebugApplications, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumRemoteDebugApplications, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumRemoteDebugApplications { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29554,7 +29554,7 @@ impl IEquatableConcept { (::windows::core::Vtable::vtable(self).AreObjectsEqual)(::windows::core::Vtable::as_raw(self), contextobject.into().abi(), otherobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEquatableConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEquatableConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEquatableConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29591,7 +29591,7 @@ impl IHostDataModelAccess { (::windows::core::Vtable::vtable(self).GetDataModel)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(manager), ::core::mem::transmute(host)).ok() } } -::windows::core::interface_hierarchy!(IHostDataModelAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHostDataModelAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHostDataModelAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29645,7 +29645,7 @@ impl IIndexableConcept { (::windows::core::Vtable::vtable(self).SetAt)(::windows::core::Vtable::as_raw(self), contextobject.into().abi(), indexers.len() as _, ::core::mem::transmute(indexers.as_ptr()), value.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IIndexableConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIndexableConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIndexableConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29695,7 +29695,7 @@ impl IIterableConcept { (::windows::core::Vtable::vtable(self).GetIterator)(::windows::core::Vtable::as_raw(self), contextobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIterableConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIterableConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIterableConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29737,7 +29737,7 @@ impl IJsDebug { (::windows::core::Vtable::vtable(self).OpenVirtualProcess)(::windows::core::Vtable::as_raw(self), processid, runtimejsbaseaddress, pdatatarget.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IJsDebug, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJsDebug, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJsDebug { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29789,7 +29789,7 @@ impl IJsDebugBreakPoint { (::windows::core::Vtable::vtable(self).GetDocumentPosition)(::windows::core::Vtable::as_raw(self), pdocumentid, pcharacteroffset, pstatementcharcount).ok() } } -::windows::core::interface_hierarchy!(IJsDebugBreakPoint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJsDebugBreakPoint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJsDebugBreakPoint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29862,7 +29862,7 @@ impl IJsDebugDataTarget { (::windows::core::Vtable::vtable(self).GetThreadContext)(::windows::core::Vtable::as_raw(self), threadid, contextflags, pcontext.len() as _, ::core::mem::transmute(pcontext.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IJsDebugDataTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJsDebugDataTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJsDebugDataTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29931,7 +29931,7 @@ impl IJsDebugFrame { (::windows::core::Vtable::vtable(self).Evaluate)(::windows::core::Vtable::as_raw(self), pexpressiontext.into().abi(), ::core::mem::transmute(ppdebugproperty), ::core::mem::transmute(perror)).ok() } } -::windows::core::interface_hierarchy!(IJsDebugFrame, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJsDebugFrame, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJsDebugFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29991,7 +29991,7 @@ impl IJsDebugProcess { (::windows::core::Vtable::vtable(self).GetExternalStepAddress)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IJsDebugProcess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJsDebugProcess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJsDebugProcess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30038,7 +30038,7 @@ impl IJsDebugProperty { (::windows::core::Vtable::vtable(self).GetMembers)(::windows::core::Vtable::as_raw(self), members, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IJsDebugProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJsDebugProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJsDebugProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30077,7 +30077,7 @@ impl IJsDebugStackWalker { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IJsDebugStackWalker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJsDebugStackWalker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJsDebugStackWalker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30118,7 +30118,7 @@ impl IJsEnumDebugProperty { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IJsEnumDebugProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IJsEnumDebugProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IJsEnumDebugProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30159,7 +30159,7 @@ impl IKeyEnumerator { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(key), ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(metadata.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IKeyEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKeyEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKeyEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30224,7 +30224,7 @@ impl IKeyStore { (::windows::core::Vtable::vtable(self).ClearKeys)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IKeyStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKeyStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKeyStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30276,7 +30276,7 @@ impl IMachineDebugManager { (::windows::core::Vtable::vtable(self).EnumApplications)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMachineDebugManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMachineDebugManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMachineDebugManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30326,7 +30326,7 @@ impl IMachineDebugManagerCookie { (::windows::core::Vtable::vtable(self).EnumApplications)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMachineDebugManagerCookie, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMachineDebugManagerCookie, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMachineDebugManagerCookie { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30374,7 +30374,7 @@ impl IMachineDebugManagerEvents { (::windows::core::Vtable::vtable(self).onRemoveApplication)(::windows::core::Vtable::as_raw(self), pda.into().abi(), dwappcookie).ok() } } -::windows::core::interface_hierarchy!(IMachineDebugManagerEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMachineDebugManagerEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMachineDebugManagerEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30415,7 +30415,7 @@ impl IModelIterator { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(object), indexers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(indexers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(metadata.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IModelIterator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IModelIterator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IModelIterator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30481,7 +30481,7 @@ impl IModelKeyReference { (::windows::core::Vtable::vtable(self).SetKeyValue)(::windows::core::Vtable::as_raw(self), object.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IModelKeyReference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IModelKeyReference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IModelKeyReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30558,7 +30558,7 @@ impl IModelKeyReference2 { (::windows::core::Vtable::vtable(self).OverrideContextObject)(::windows::core::Vtable::as_raw(self), newcontextobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IModelKeyReference2, ::windows::core::IUnknown, IModelKeyReference); +::windows::imp::interface_hierarchy!(IModelKeyReference2, ::windows::core::IUnknown, IModelKeyReference); impl ::core::cmp::PartialEq for IModelKeyReference2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30598,7 +30598,7 @@ impl IModelMethod { (::windows::core::Vtable::vtable(self).Call)(::windows::core::Vtable::as_raw(self), pcontextobject.into().abi(), pparguments.len() as _, ::core::mem::transmute(pparguments.as_ptr()), ::core::mem::transmute(ppresult), ::core::mem::transmute(ppmetadata.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IModelMethod, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IModelMethod, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IModelMethod { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30801,7 +30801,7 @@ impl IModelObject { (::windows::core::Vtable::vtable(self).IsEqualTo)(::windows::core::Vtable::as_raw(self), other.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IModelObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IModelObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IModelObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30889,7 +30889,7 @@ impl IModelPropertyAccessor { (::windows::core::Vtable::vtable(self).SetValue)(::windows::core::Vtable::as_raw(self), key.into().abi(), contextobject.into().abi(), value.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IModelPropertyAccessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IModelPropertyAccessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IModelPropertyAccessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30930,7 +30930,7 @@ impl IObjectSafety { (::windows::core::Vtable::vtable(self).SetInterfaceSafetyOptions)(::windows::core::Vtable::as_raw(self), riid, dwoptionsetmask, dwenabledoptions).ok() } } -::windows::core::interface_hierarchy!(IObjectSafety, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectSafety, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectSafety { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30981,7 +30981,7 @@ impl IPerPropertyBrowsing2 { (::windows::core::Vtable::vtable(self).SetPredefinedValue)(::windows::core::Vtable::as_raw(self), dispid, dwcookie).ok() } } -::windows::core::interface_hierarchy!(IPerPropertyBrowsing2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPerPropertyBrowsing2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPerPropertyBrowsing2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31028,7 +31028,7 @@ impl IPreferredRuntimeTypeConcept { (::windows::core::Vtable::vtable(self).CastToPreferredRuntimeType)(::windows::core::Vtable::as_raw(self), contextobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPreferredRuntimeTypeConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPreferredRuntimeTypeConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPreferredRuntimeTypeConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31087,7 +31087,7 @@ impl IProcessDebugManager32 { (::windows::core::Vtable::vtable(self).CreateDebugDocumentHelper)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProcessDebugManager32, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProcessDebugManager32, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProcessDebugManager32 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31150,7 +31150,7 @@ impl IProcessDebugManager64 { (::windows::core::Vtable::vtable(self).CreateDebugDocumentHelper)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProcessDebugManager64, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProcessDebugManager64, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProcessDebugManager64 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31192,7 +31192,7 @@ impl IProvideExpressionContexts { (::windows::core::Vtable::vtable(self).EnumExpressionContexts)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProvideExpressionContexts, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProvideExpressionContexts, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProvideExpressionContexts { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31232,7 +31232,7 @@ impl IRawEnumerator { (::windows::core::Vtable::vtable(self).GetNext)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(name.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(kind.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IRawEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRawEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRawEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31315,7 +31315,7 @@ impl IRemoteDebugApplication { (::windows::core::Vtable::vtable(self).EnumGlobalExpressionContexts)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRemoteDebugApplication, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRemoteDebugApplication, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRemoteDebugApplication { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31370,7 +31370,7 @@ impl IRemoteDebugApplication110 { (::windows::core::Vtable::vtable(self).GetMainThread)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRemoteDebugApplication110, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRemoteDebugApplication110, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRemoteDebugApplication110 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31460,7 +31460,7 @@ impl IRemoteDebugApplicationEvents { (::windows::core::Vtable::vtable(self).OnBreakFlagChange)(::windows::core::Vtable::as_raw(self), abf, prdatsteppingthread.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRemoteDebugApplicationEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRemoteDebugApplicationEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRemoteDebugApplicationEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31541,7 +31541,7 @@ impl IRemoteDebugApplicationThread { (::windows::core::Vtable::vtable(self).GetSuspendCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRemoteDebugApplicationThread, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRemoteDebugApplicationThread, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRemoteDebugApplicationThread { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31586,7 +31586,7 @@ impl IRemoteDebugCriticalErrorEvent110 { (::windows::core::Vtable::vtable(self).GetErrorInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrsource), pmessageid, ::core::mem::transmute(pbstrmessage), ::core::mem::transmute(pplocation)).ok() } } -::windows::core::interface_hierarchy!(IRemoteDebugCriticalErrorEvent110, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRemoteDebugCriticalErrorEvent110, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRemoteDebugCriticalErrorEvent110 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31623,7 +31623,7 @@ impl IRemoteDebugInfoEvent110 { (::windows::core::Vtable::vtable(self).GetEventInfo)(::windows::core::Vtable::as_raw(self), pmessagetype, ::core::mem::transmute(pbstrmessage), ::core::mem::transmute(pbstrurl), ::core::mem::transmute(pplocation)).ok() } } -::windows::core::interface_hierarchy!(IRemoteDebugInfoEvent110, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRemoteDebugInfoEvent110, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRemoteDebugInfoEvent110 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31762,7 +31762,7 @@ impl IScriptEntry { (::windows::core::Vtable::vtable(self).GetRange)(::windows::core::Vtable::as_raw(self), pichmin, pcch).ok() } } -::windows::core::interface_hierarchy!(IScriptEntry, ::windows::core::IUnknown, IScriptNode); +::windows::imp::interface_hierarchy!(IScriptEntry, ::windows::core::IUnknown, IScriptNode); impl ::core::cmp::PartialEq for IScriptEntry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31824,7 +31824,7 @@ impl IScriptInvocationContext { (::windows::core::Vtable::vtable(self).GetContextObject)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IScriptInvocationContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IScriptInvocationContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IScriptInvocationContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31909,7 +31909,7 @@ impl IScriptNode { (::windows::core::Vtable::vtable(self).CreateChildHandler)(::windows::core::Vtable::as_raw(self), pszdefaultname.into().abi(), ::core::mem::transmute(prgpsznames.as_ptr()), prgpsznames.len() as _, pszevent.into().abi(), pszdelimiter.into().abi(), ptisignature.into().abi(), imethodsignature, isn, dwcookie, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IScriptNode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IScriptNode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IScriptNode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32090,7 +32090,7 @@ impl IScriptScriptlet { (::windows::core::Vtable::vtable(self).SetSimpleEventName)(::windows::core::Vtable::as_raw(self), psz.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IScriptScriptlet, ::windows::core::IUnknown, IScriptNode, IScriptEntry); +::windows::imp::interface_hierarchy!(IScriptScriptlet, ::windows::core::IUnknown, IScriptNode, IScriptEntry); impl ::core::cmp::PartialEq for IScriptScriptlet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32148,7 +32148,7 @@ impl ISimpleConnectionPoint { (::windows::core::Vtable::vtable(self).Unadvise)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(ISimpleConnectionPoint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimpleConnectionPoint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimpleConnectionPoint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32196,7 +32196,7 @@ impl IStringDisplayableConcept { (::windows::core::Vtable::vtable(self).ToDisplayString)(::windows::core::Vtable::as_raw(self), contextobject.into().abi(), metadata.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStringDisplayableConcept, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStringDisplayableConcept, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStringDisplayableConcept { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32238,7 +32238,7 @@ impl ITridentEventSink { (::windows::core::Vtable::vtable(self).FireEvent)(::windows::core::Vtable::as_raw(self), pstrevent.into().abi(), pdp, pvarres, pei).ok() } } -::windows::core::interface_hierarchy!(ITridentEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITridentEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITridentEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32284,7 +32284,7 @@ impl IWebAppDiagnosticsObjectInitialization { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), hpassedhandle.into(), pdebugapplication.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWebAppDiagnosticsObjectInitialization, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWebAppDiagnosticsObjectInitialization, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWebAppDiagnosticsObjectInitialization { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32330,7 +32330,7 @@ impl IWebAppDiagnosticsSetup { (::windows::core::Vtable::vtable(self).CreateObjectWithSiteAtWebApp)(::windows::core::Vtable::as_raw(self), rclsid, dwclscontext, riid, hpasstoobject).ok() } } -::windows::core::interface_hierarchy!(IWebAppDiagnosticsSetup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWebAppDiagnosticsSetup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWebAppDiagnosticsSetup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs index 74bfa5cebb..4151ea38bf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn CloseTrace(tracehandle: P0) -> super::super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CloseTrace ( tracehandle : PROCESSTRACE_HANDLE ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CloseTrace ( tracehandle : PROCESSTRACE_HANDLE ) -> super::super::super::Foundation:: WIN32_ERROR ); CloseTrace(tracehandle.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -16,7 +16,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ControlTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES , controlcode : EVENT_TRACE_CONTROL ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ControlTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES , controlcode : EVENT_TRACE_CONTROL ) -> super::super::super::Foundation:: WIN32_ERROR ); ControlTraceA(tracehandle.into(), instancename.into().abi(), properties, controlcode) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -27,7 +27,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ControlTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES , controlcode : EVENT_TRACE_CONTROL ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ControlTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES , controlcode : EVENT_TRACE_CONTROL ) -> super::super::super::Foundation:: WIN32_ERROR ); ControlTraceW(tracehandle.into(), instancename.into().abi(), properties, controlcode) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn CreateTraceInstanceId(reghandle: P0, instinfo: *mut EVENT_INST where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateTraceInstanceId ( reghandle : super::super::super::Foundation:: HANDLE , instinfo : *mut EVENT_INSTANCE_INFO ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateTraceInstanceId ( reghandle : super::super::super::Foundation:: HANDLE , instinfo : *mut EVENT_INSTANCE_INFO ) -> super::super::super::Foundation:: WIN32_ERROR ); CreateTraceInstanceId(reghandle.into(), instinfo) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -47,7 +47,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CveEventWrite ( cveid : :: windows::core::PCWSTR , additionaldetails : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CveEventWrite ( cveid : :: windows::core::PCWSTR , additionaldetails : :: windows::core::PCWSTR ) -> i32 ); CveEventWrite(cveid.into().abi(), additionaldetails.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn EnableTrace(enable: u32, enableflag: u32, enablelevel: u32, co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnableTrace ( enable : u32 , enableflag : u32 , enablelevel : u32 , controlguid : *const :: windows::core::GUID , tracehandle : CONTROLTRACE_HANDLE ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnableTrace ( enable : u32 , enableflag : u32 , enablelevel : u32 , controlguid : *const :: windows::core::GUID , tracehandle : CONTROLTRACE_HANDLE ) -> super::super::super::Foundation:: WIN32_ERROR ); EnableTrace(enable, enableflag, enablelevel, controlguid, tracehandle.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -67,7 +67,7 @@ pub unsafe fn EnableTraceEx(providerid: *const ::windows::core::GUID, source where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnableTraceEx ( providerid : *const :: windows::core::GUID , sourceid : *const :: windows::core::GUID , tracehandle : CONTROLTRACE_HANDLE , isenabled : u32 , level : u8 , matchanykeyword : u64 , matchallkeyword : u64 , enableproperty : u32 , enablefilterdesc : *const EVENT_FILTER_DESCRIPTOR ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnableTraceEx ( providerid : *const :: windows::core::GUID , sourceid : *const :: windows::core::GUID , tracehandle : CONTROLTRACE_HANDLE , isenabled : u32 , level : u8 , matchanykeyword : u64 , matchallkeyword : u64 , enableproperty : u32 , enablefilterdesc : *const EVENT_FILTER_DESCRIPTOR ) -> super::super::super::Foundation:: WIN32_ERROR ); EnableTraceEx(providerid, ::core::mem::transmute(sourceid.unwrap_or(::std::ptr::null())), tracehandle.into(), isenabled, level, matchanykeyword, matchallkeyword, enableproperty, ::core::mem::transmute(enablefilterdesc.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -77,21 +77,21 @@ pub unsafe fn EnableTraceEx2(tracehandle: P0, providerid: *const ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnableTraceEx2 ( tracehandle : CONTROLTRACE_HANDLE , providerid : *const :: windows::core::GUID , controlcode : u32 , level : u8 , matchanykeyword : u64 , matchallkeyword : u64 , timeout : u32 , enableparameters : *const ENABLE_TRACE_PARAMETERS ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnableTraceEx2 ( tracehandle : CONTROLTRACE_HANDLE , providerid : *const :: windows::core::GUID , controlcode : u32 , level : u8 , matchanykeyword : u64 , matchallkeyword : u64 , timeout : u32 , enableparameters : *const ENABLE_TRACE_PARAMETERS ) -> super::super::super::Foundation:: WIN32_ERROR ); EnableTraceEx2(tracehandle.into(), providerid, controlcode, level, matchanykeyword, matchallkeyword, timeout, ::core::mem::transmute(enableparameters.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumerateTraceGuids(guidpropertiesarray: &mut [*mut TRACE_GUID_PROPERTIES], guidcount: *mut u32) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumerateTraceGuids ( guidpropertiesarray : *mut *mut TRACE_GUID_PROPERTIES , propertyarraycount : u32 , guidcount : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumerateTraceGuids ( guidpropertiesarray : *mut *mut TRACE_GUID_PROPERTIES , propertyarraycount : u32 , guidcount : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); EnumerateTraceGuids(::core::mem::transmute(guidpropertiesarray.as_ptr()), guidpropertiesarray.len() as _, guidcount) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumerateTraceGuidsEx(tracequeryinfoclass: TRACE_QUERY_INFO_CLASS, inbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inbuffersize: u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outbuffersize: u32, returnlength: *mut u32) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumerateTraceGuidsEx ( tracequeryinfoclass : TRACE_QUERY_INFO_CLASS , inbuffer : *const ::core::ffi::c_void , inbuffersize : u32 , outbuffer : *mut ::core::ffi::c_void , outbuffersize : u32 , returnlength : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumerateTraceGuidsEx ( tracequeryinfoclass : TRACE_QUERY_INFO_CLASS , inbuffer : *const ::core::ffi::c_void , inbuffersize : u32 , outbuffer : *mut ::core::ffi::c_void , outbuffersize : u32 , returnlength : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); EnumerateTraceGuidsEx(tracequeryinfoclass, ::core::mem::transmute(inbuffer.unwrap_or(::std::ptr::null())), inbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut())), outbuffersize, returnlength) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -102,70 +102,70 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EventAccessControl ( guid : *const :: windows::core::GUID , operation : u32 , sid : super::super::super::Foundation:: PSID , rights : u32 , allowordeny : super::super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventAccessControl ( guid : *const :: windows::core::GUID , operation : u32 , sid : super::super::super::Foundation:: PSID , rights : u32 , allowordeny : super::super::super::Foundation:: BOOLEAN ) -> u32 ); EventAccessControl(guid, operation, sid.into(), rights, allowordeny.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] #[inline] pub unsafe fn EventAccessQuery(guid: *const ::windows::core::GUID, buffer: super::super::super::Security::PSECURITY_DESCRIPTOR, buffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventAccessQuery ( guid : *const :: windows::core::GUID , buffer : super::super::super::Security:: PSECURITY_DESCRIPTOR , buffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventAccessQuery ( guid : *const :: windows::core::GUID , buffer : super::super::super::Security:: PSECURITY_DESCRIPTOR , buffersize : *mut u32 ) -> u32 ); EventAccessQuery(guid, buffer, buffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn EventAccessRemove(guid: *const ::windows::core::GUID) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventAccessRemove ( guid : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventAccessRemove ( guid : *const :: windows::core::GUID ) -> u32 ); EventAccessRemove(guid) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn EventActivityIdControl(controlcode: u32, activityid: *mut ::windows::core::GUID) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventActivityIdControl ( controlcode : u32 , activityid : *mut :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventActivityIdControl ( controlcode : u32 , activityid : *mut :: windows::core::GUID ) -> u32 ); EventActivityIdControl(controlcode, activityid) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EventEnabled(reghandle: u64, eventdescriptor: *const EVENT_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn EventEnabled ( reghandle : u64 , eventdescriptor : *const EVENT_DESCRIPTOR ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventEnabled ( reghandle : u64 , eventdescriptor : *const EVENT_DESCRIPTOR ) -> super::super::super::Foundation:: BOOLEAN ); EventEnabled(reghandle, eventdescriptor) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EventProviderEnabled(reghandle: u64, level: u8, keyword: u64) -> super::super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "advapi32.dll""system" fn EventProviderEnabled ( reghandle : u64 , level : u8 , keyword : u64 ) -> super::super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventProviderEnabled ( reghandle : u64 , level : u8 , keyword : u64 ) -> super::super::super::Foundation:: BOOLEAN ); EventProviderEnabled(reghandle, level, keyword) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn EventRegister(providerid: *const ::windows::core::GUID, enablecallback: PENABLECALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, reghandle: *mut u64) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventRegister ( providerid : *const :: windows::core::GUID , enablecallback : PENABLECALLBACK , callbackcontext : *const ::core::ffi::c_void , reghandle : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventRegister ( providerid : *const :: windows::core::GUID , enablecallback : PENABLECALLBACK , callbackcontext : *const ::core::ffi::c_void , reghandle : *mut u64 ) -> u32 ); EventRegister(providerid, enablecallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), reghandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn EventSetInformation(reghandle: u64, informationclass: EVENT_INFO_CLASS, eventinformation: *const ::core::ffi::c_void, informationlength: u32) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventSetInformation ( reghandle : u64 , informationclass : EVENT_INFO_CLASS , eventinformation : *const ::core::ffi::c_void , informationlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventSetInformation ( reghandle : u64 , informationclass : EVENT_INFO_CLASS , eventinformation : *const ::core::ffi::c_void , informationlength : u32 ) -> u32 ); EventSetInformation(reghandle, informationclass, eventinformation, informationlength) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn EventUnregister(reghandle: u64) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventUnregister ( reghandle : u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventUnregister ( reghandle : u64 ) -> u32 ); EventUnregister(reghandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn EventWrite(reghandle: u64, eventdescriptor: *const EVENT_DESCRIPTOR, userdata: ::core::option::Option<&[EVENT_DATA_DESCRIPTOR]>) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventWrite ( reghandle : u64 , eventdescriptor : *const EVENT_DESCRIPTOR , userdatacount : u32 , userdata : *const EVENT_DATA_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventWrite ( reghandle : u64 , eventdescriptor : *const EVENT_DESCRIPTOR , userdatacount : u32 , userdata : *const EVENT_DATA_DESCRIPTOR ) -> u32 ); EventWrite(reghandle, eventdescriptor, userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn EventWriteEx(reghandle: u64, eventdescriptor: *const EVENT_DESCRIPTOR, filter: u64, flags: u32, activityid: ::core::option::Option<*const ::windows::core::GUID>, relatedactivityid: ::core::option::Option<*const ::windows::core::GUID>, userdata: ::core::option::Option<&[EVENT_DATA_DESCRIPTOR]>) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventWriteEx ( reghandle : u64 , eventdescriptor : *const EVENT_DESCRIPTOR , filter : u64 , flags : u32 , activityid : *const :: windows::core::GUID , relatedactivityid : *const :: windows::core::GUID , userdatacount : u32 , userdata : *const EVENT_DATA_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventWriteEx ( reghandle : u64 , eventdescriptor : *const EVENT_DESCRIPTOR , filter : u64 , flags : u32 , activityid : *const :: windows::core::GUID , relatedactivityid : *const :: windows::core::GUID , userdatacount : u32 , userdata : *const EVENT_DATA_DESCRIPTOR ) -> u32 ); EventWriteEx(reghandle, eventdescriptor, filter, flags, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(relatedactivityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -174,13 +174,13 @@ pub unsafe fn EventWriteString(reghandle: u64, level: u8, keyword: u64, stri where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn EventWriteString ( reghandle : u64 , level : u8 , keyword : u64 , string : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventWriteString ( reghandle : u64 , level : u8 , keyword : u64 , string : :: windows::core::PCWSTR ) -> u32 ); EventWriteString(reghandle, level, keyword, string.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn EventWriteTransfer(reghandle: u64, eventdescriptor: *const EVENT_DESCRIPTOR, activityid: ::core::option::Option<*const ::windows::core::GUID>, relatedactivityid: ::core::option::Option<*const ::windows::core::GUID>, userdata: ::core::option::Option<&[EVENT_DATA_DESCRIPTOR]>) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EventWriteTransfer ( reghandle : u64 , eventdescriptor : *const EVENT_DESCRIPTOR , activityid : *const :: windows::core::GUID , relatedactivityid : *const :: windows::core::GUID , userdatacount : u32 , userdata : *const EVENT_DATA_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EventWriteTransfer ( reghandle : u64 , eventdescriptor : *const EVENT_DESCRIPTOR , activityid : *const :: windows::core::GUID , relatedactivityid : *const :: windows::core::GUID , userdatacount : u32 , userdata : *const EVENT_DATA_DESCRIPTOR ) -> u32 ); EventWriteTransfer(reghandle, eventdescriptor, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(relatedactivityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -191,7 +191,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn FlushTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FlushTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); FlushTraceA(tracehandle.into(), instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -202,60 +202,60 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn FlushTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn FlushTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); FlushTraceW(tracehandle.into(), instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn GetTraceEnableFlags(tracehandle: u64) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTraceEnableFlags ( tracehandle : u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTraceEnableFlags ( tracehandle : u64 ) -> u32 ); GetTraceEnableFlags(tracehandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn GetTraceEnableLevel(tracehandle: u64) -> u8 { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTraceEnableLevel ( tracehandle : u64 ) -> u8 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTraceEnableLevel ( tracehandle : u64 ) -> u8 ); GetTraceEnableLevel(tracehandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn GetTraceLoggerHandle(buffer: *const ::core::ffi::c_void) -> u64 { - ::windows::core::link ! ( "advapi32.dll""system" fn GetTraceLoggerHandle ( buffer : *const ::core::ffi::c_void ) -> u64 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetTraceLoggerHandle ( buffer : *const ::core::ffi::c_void ) -> u64 ); GetTraceLoggerHandle(buffer) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`, `\"Win32_System_Time\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Time"))] #[inline] pub unsafe fn OpenTraceA(logfile: *mut EVENT_TRACE_LOGFILEA) -> PROCESSTRACE_HANDLE { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenTraceA ( logfile : *mut EVENT_TRACE_LOGFILEA ) -> PROCESSTRACE_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenTraceA ( logfile : *mut EVENT_TRACE_LOGFILEA ) -> PROCESSTRACE_HANDLE ); OpenTraceA(logfile) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`, `\"Win32_System_Time\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Time"))] #[inline] pub unsafe fn OpenTraceW(logfile: *mut EVENT_TRACE_LOGFILEW) -> PROCESSTRACE_HANDLE { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenTraceW ( logfile : *mut EVENT_TRACE_LOGFILEW ) -> PROCESSTRACE_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenTraceW ( logfile : *mut EVENT_TRACE_LOGFILEW ) -> PROCESSTRACE_HANDLE ); OpenTraceW(logfile) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ProcessTrace(handlearray: &[PROCESSTRACE_HANDLE], starttime: ::core::option::Option<*const super::super::super::Foundation::FILETIME>, endtime: ::core::option::Option<*const super::super::super::Foundation::FILETIME>) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn ProcessTrace ( handlearray : *const PROCESSTRACE_HANDLE , handlecount : u32 , starttime : *const super::super::super::Foundation:: FILETIME , endtime : *const super::super::super::Foundation:: FILETIME ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ProcessTrace ( handlearray : *const PROCESSTRACE_HANDLE , handlecount : u32 , starttime : *const super::super::super::Foundation:: FILETIME , endtime : *const super::super::super::Foundation:: FILETIME ) -> super::super::super::Foundation:: WIN32_ERROR ); ProcessTrace(::core::mem::transmute(handlearray.as_ptr()), handlearray.len() as _, ::core::mem::transmute(starttime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(endtime.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryAllTracesA(propertyarray: &mut [*mut EVENT_TRACE_PROPERTIES], loggercount: *mut u32) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryAllTracesA ( propertyarray : *mut *mut EVENT_TRACE_PROPERTIES , propertyarraycount : u32 , loggercount : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryAllTracesA ( propertyarray : *mut *mut EVENT_TRACE_PROPERTIES , propertyarraycount : u32 , loggercount : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); QueryAllTracesA(::core::mem::transmute(propertyarray.as_ptr()), propertyarray.len() as _, loggercount) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryAllTracesW(propertyarray: &mut [*mut EVENT_TRACE_PROPERTIES], loggercount: *mut u32) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryAllTracesW ( propertyarray : *mut *mut EVENT_TRACE_PROPERTIES , propertyarraycount : u32 , loggercount : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryAllTracesW ( propertyarray : *mut *mut EVENT_TRACE_PROPERTIES , propertyarraycount : u32 , loggercount : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); QueryAllTracesW(::core::mem::transmute(propertyarray.as_ptr()), propertyarray.len() as _, loggercount) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -266,7 +266,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); QueryTraceA(tracehandle.into(), instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -276,7 +276,7 @@ pub unsafe fn QueryTraceProcessingHandle(processinghandle: P0, informationcl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryTraceProcessingHandle ( processinghandle : PROCESSTRACE_HANDLE , informationclass : ETW_PROCESS_HANDLE_INFO_TYPE , inbuffer : *const ::core::ffi::c_void , inbuffersize : u32 , outbuffer : *mut ::core::ffi::c_void , outbuffersize : u32 , returnlength : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryTraceProcessingHandle ( processinghandle : PROCESSTRACE_HANDLE , informationclass : ETW_PROCESS_HANDLE_INFO_TYPE , inbuffer : *const ::core::ffi::c_void , inbuffersize : u32 , outbuffer : *mut ::core::ffi::c_void , outbuffersize : u32 , returnlength : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); QueryTraceProcessingHandle(processinghandle.into(), informationclass, ::core::mem::transmute(inbuffer.unwrap_or(::std::ptr::null())), inbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut())), outbuffersize, returnlength) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -287,7 +287,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); QueryTraceW(tracehandle.into(), instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -298,7 +298,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterTraceGuidsA ( requestaddress : WMIDPREQUEST , requestcontext : *const ::core::ffi::c_void , controlguid : *const :: windows::core::GUID , guidcount : u32 , traceguidreg : *const TRACE_GUID_REGISTRATION , mofimagepath : :: windows::core::PCSTR , mofresourcename : :: windows::core::PCSTR , registrationhandle : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterTraceGuidsA ( requestaddress : WMIDPREQUEST , requestcontext : *const ::core::ffi::c_void , controlguid : *const :: windows::core::GUID , guidcount : u32 , traceguidreg : *const TRACE_GUID_REGISTRATION , mofimagepath : :: windows::core::PCSTR , mofresourcename : :: windows::core::PCSTR , registrationhandle : *mut u64 ) -> u32 ); RegisterTraceGuidsA(requestaddress, ::core::mem::transmute(requestcontext.unwrap_or(::std::ptr::null())), controlguid, traceguidreg.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(traceguidreg.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), mofimagepath.into().abi(), mofresourcename.into().abi(), registrationhandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -309,21 +309,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterTraceGuidsW ( requestaddress : WMIDPREQUEST , requestcontext : *const ::core::ffi::c_void , controlguid : *const :: windows::core::GUID , guidcount : u32 , traceguidreg : *const TRACE_GUID_REGISTRATION , mofimagepath : :: windows::core::PCWSTR , mofresourcename : :: windows::core::PCWSTR , registrationhandle : *mut u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterTraceGuidsW ( requestaddress : WMIDPREQUEST , requestcontext : *const ::core::ffi::c_void , controlguid : *const :: windows::core::GUID , guidcount : u32 , traceguidreg : *const TRACE_GUID_REGISTRATION , mofimagepath : :: windows::core::PCWSTR , mofresourcename : :: windows::core::PCWSTR , registrationhandle : *mut u64 ) -> u32 ); RegisterTraceGuidsW(requestaddress, ::core::mem::transmute(requestcontext.unwrap_or(::std::ptr::null())), controlguid, traceguidreg.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(traceguidreg.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), mofimagepath.into().abi(), mofresourcename.into().abi(), registrationhandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RemoveTraceCallback(pguid: *const ::windows::core::GUID) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn RemoveTraceCallback ( pguid : *const :: windows::core::GUID ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RemoveTraceCallback ( pguid : *const :: windows::core::GUID ) -> super::super::super::Foundation:: WIN32_ERROR ); RemoveTraceCallback(pguid) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetTraceCallback(pguid: *const ::windows::core::GUID, eventcallback: PEVENT_CALLBACK) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn SetTraceCallback ( pguid : *const :: windows::core::GUID , eventcallback : PEVENT_CALLBACK ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetTraceCallback ( pguid : *const :: windows::core::GUID , eventcallback : PEVENT_CALLBACK ) -> super::super::super::Foundation:: WIN32_ERROR ); SetTraceCallback(pguid, eventcallback) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -333,7 +333,7 @@ pub unsafe fn StartTraceA(tracehandle: *mut CONTROLTRACE_HANDLE, instancenam where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn StartTraceA ( tracehandle : *mut CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn StartTraceA ( tracehandle : *mut CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); StartTraceA(tracehandle, instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -343,7 +343,7 @@ pub unsafe fn StartTraceW(tracehandle: *mut CONTROLTRACE_HANDLE, instancenam where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn StartTraceW ( tracehandle : *mut CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn StartTraceW ( tracehandle : *mut CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); StartTraceW(tracehandle, instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -354,7 +354,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn StopTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn StopTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); StopTraceA(tracehandle.into(), instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -365,20 +365,20 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn StopTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn StopTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); StopTraceW(tracehandle.into(), instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TdhAggregatePayloadFilters(payloadfiltercount: u32, payloadfilterptrs: *const *const ::core::ffi::c_void, eventmatchallflags: ::core::option::Option<*const super::super::super::Foundation::BOOLEAN>, eventfilterdescriptor: *mut EVENT_FILTER_DESCRIPTOR) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhAggregatePayloadFilters ( payloadfiltercount : u32 , payloadfilterptrs : *const *const ::core::ffi::c_void , eventmatchallflags : *const super::super::super::Foundation:: BOOLEAN , eventfilterdescriptor : *mut EVENT_FILTER_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhAggregatePayloadFilters ( payloadfiltercount : u32 , payloadfilterptrs : *const *const ::core::ffi::c_void , eventmatchallflags : *const super::super::super::Foundation:: BOOLEAN , eventfilterdescriptor : *mut EVENT_FILTER_DESCRIPTOR ) -> u32 ); TdhAggregatePayloadFilters(payloadfiltercount, payloadfilterptrs, ::core::mem::transmute(eventmatchallflags.unwrap_or(::std::ptr::null())), eventfilterdescriptor) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhCleanupPayloadEventFilterDescriptor(eventfilterdescriptor: *mut EVENT_FILTER_DESCRIPTOR) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhCleanupPayloadEventFilterDescriptor ( eventfilterdescriptor : *mut EVENT_FILTER_DESCRIPTOR ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhCleanupPayloadEventFilterDescriptor ( eventfilterdescriptor : *mut EVENT_FILTER_DESCRIPTOR ) -> u32 ); TdhCleanupPayloadEventFilterDescriptor(eventfilterdescriptor) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -387,7 +387,7 @@ pub unsafe fn TdhCloseDecodingHandle(handle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhCloseDecodingHandle ( handle : TDH_HANDLE ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhCloseDecodingHandle ( handle : TDH_HANDLE ) -> u32 ); TdhCloseDecodingHandle(handle.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -397,49 +397,49 @@ pub unsafe fn TdhCreatePayloadFilter(providerguid: *const ::windows::core::G where P0: ::std::convert::Into, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhCreatePayloadFilter ( providerguid : *const :: windows::core::GUID , eventdescriptor : *const EVENT_DESCRIPTOR , eventmatchany : super::super::super::Foundation:: BOOLEAN , payloadpredicatecount : u32 , payloadpredicates : *const PAYLOAD_FILTER_PREDICATE , payloadfilter : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhCreatePayloadFilter ( providerguid : *const :: windows::core::GUID , eventdescriptor : *const EVENT_DESCRIPTOR , eventmatchany : super::super::super::Foundation:: BOOLEAN , payloadpredicatecount : u32 , payloadpredicates : *const PAYLOAD_FILTER_PREDICATE , payloadfilter : *mut *mut ::core::ffi::c_void ) -> u32 ); TdhCreatePayloadFilter(providerguid, eventdescriptor, eventmatchany.into(), payloadpredicates.len() as _, ::core::mem::transmute(payloadpredicates.as_ptr()), payloadfilter) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhDeletePayloadFilter(payloadfilter: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhDeletePayloadFilter ( payloadfilter : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhDeletePayloadFilter ( payloadfilter : *mut *mut ::core::ffi::c_void ) -> u32 ); TdhDeletePayloadFilter(payloadfilter) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhEnumerateManifestProviderEvents(providerguid: *const ::windows::core::GUID, buffer: ::core::option::Option<*mut PROVIDER_EVENT_INFO>, buffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhEnumerateManifestProviderEvents ( providerguid : *const :: windows::core::GUID , buffer : *mut PROVIDER_EVENT_INFO , buffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhEnumerateManifestProviderEvents ( providerguid : *const :: windows::core::GUID , buffer : *mut PROVIDER_EVENT_INFO , buffersize : *mut u32 ) -> u32 ); TdhEnumerateManifestProviderEvents(providerguid, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhEnumerateProviderFieldInformation(pguid: *const ::windows::core::GUID, eventfieldtype: EVENT_FIELD_TYPE, pbuffer: ::core::option::Option<*mut PROVIDER_FIELD_INFOARRAY>, pbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhEnumerateProviderFieldInformation ( pguid : *const :: windows::core::GUID , eventfieldtype : EVENT_FIELD_TYPE , pbuffer : *mut PROVIDER_FIELD_INFOARRAY , pbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhEnumerateProviderFieldInformation ( pguid : *const :: windows::core::GUID , eventfieldtype : EVENT_FIELD_TYPE , pbuffer : *mut PROVIDER_FIELD_INFOARRAY , pbuffersize : *mut u32 ) -> u32 ); TdhEnumerateProviderFieldInformation(pguid, eventfieldtype, ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), pbuffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhEnumerateProviderFilters(guid: *const ::windows::core::GUID, tdhcontext: ::core::option::Option<&[TDH_CONTEXT]>, filtercount: *mut u32, buffer: ::core::option::Option<*mut *mut PROVIDER_FILTER_INFO>, buffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhEnumerateProviderFilters ( guid : *const :: windows::core::GUID , tdhcontextcount : u32 , tdhcontext : *const TDH_CONTEXT , filtercount : *mut u32 , buffer : *mut *mut PROVIDER_FILTER_INFO , buffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhEnumerateProviderFilters ( guid : *const :: windows::core::GUID , tdhcontextcount : u32 , tdhcontext : *const TDH_CONTEXT , filtercount : *mut u32 , buffer : *mut *mut PROVIDER_FILTER_INFO , buffersize : *mut u32 ) -> u32 ); TdhEnumerateProviderFilters(guid, tdhcontext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(tdhcontext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), filtercount, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhEnumerateProviders(pbuffer: ::core::option::Option<*mut PROVIDER_ENUMERATION_INFO>, pbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhEnumerateProviders ( pbuffer : *mut PROVIDER_ENUMERATION_INFO , pbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhEnumerateProviders ( pbuffer : *mut PROVIDER_ENUMERATION_INFO , pbuffersize : *mut u32 ) -> u32 ); TdhEnumerateProviders(::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), pbuffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhEnumerateProvidersForDecodingSource(filter: DECODING_SOURCE, buffer: ::core::option::Option<*mut PROVIDER_ENUMERATION_INFO>, buffersize: u32, bufferrequired: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhEnumerateProvidersForDecodingSource ( filter : DECODING_SOURCE , buffer : *mut PROVIDER_ENUMERATION_INFO , buffersize : u32 , bufferrequired : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhEnumerateProvidersForDecodingSource ( filter : DECODING_SOURCE , buffer : *mut PROVIDER_ENUMERATION_INFO , buffersize : u32 , bufferrequired : *mut u32 ) -> u32 ); TdhEnumerateProvidersForDecodingSource(filter, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bufferrequired) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhFormatProperty(eventinfo: *const TRACE_EVENT_INFO, mapinfo: ::core::option::Option<*const EVENT_MAP_INFO>, pointersize: u32, propertyintype: u16, propertyouttype: u16, propertylength: u16, userdata: &[u8], buffersize: *mut u32, buffer: ::windows::core::PWSTR, userdataconsumed: *mut u16) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhFormatProperty ( eventinfo : *const TRACE_EVENT_INFO , mapinfo : *const EVENT_MAP_INFO , pointersize : u32 , propertyintype : u16 , propertyouttype : u16 , propertylength : u16 , userdatalength : u16 , userdata : *const u8 , buffersize : *mut u32 , buffer : :: windows::core::PWSTR , userdataconsumed : *mut u16 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhFormatProperty ( eventinfo : *const TRACE_EVENT_INFO , mapinfo : *const EVENT_MAP_INFO , pointersize : u32 , propertyintype : u16 , propertyouttype : u16 , propertylength : u16 , userdatalength : u16 , userdata : *const u8 , buffersize : *mut u32 , buffer : :: windows::core::PWSTR , userdataconsumed : *mut u16 ) -> u32 ); TdhFormatProperty(eventinfo, ::core::mem::transmute(mapinfo.unwrap_or(::std::ptr::null())), pointersize, propertyintype, propertyouttype, propertylength, userdata.len() as _, ::core::mem::transmute(userdata.as_ptr()), buffersize, ::core::mem::transmute(buffer), userdataconsumed) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -448,13 +448,13 @@ pub unsafe fn TdhGetDecodingParameter(handle: P0, tdhcontext: *mut TDH_CONTE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhGetDecodingParameter ( handle : TDH_HANDLE , tdhcontext : *mut TDH_CONTEXT ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhGetDecodingParameter ( handle : TDH_HANDLE , tdhcontext : *mut TDH_CONTEXT ) -> u32 ); TdhGetDecodingParameter(handle.into(), tdhcontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhGetEventInformation(event: *const EVENT_RECORD, tdhcontext: ::core::option::Option<&[TDH_CONTEXT]>, buffer: ::core::option::Option<*mut TRACE_EVENT_INFO>, buffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhGetEventInformation ( event : *const EVENT_RECORD , tdhcontextcount : u32 , tdhcontext : *const TDH_CONTEXT , buffer : *mut TRACE_EVENT_INFO , buffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhGetEventInformation ( event : *const EVENT_RECORD , tdhcontextcount : u32 , tdhcontext : *const TDH_CONTEXT , buffer : *mut TRACE_EVENT_INFO , buffersize : *mut u32 ) -> u32 ); TdhGetEventInformation(event, tdhcontext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(tdhcontext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -463,25 +463,25 @@ pub unsafe fn TdhGetEventMapInformation(pevent: *const EVENT_RECORD, pmapnam where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhGetEventMapInformation ( pevent : *const EVENT_RECORD , pmapname : :: windows::core::PCWSTR , pbuffer : *mut EVENT_MAP_INFO , pbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhGetEventMapInformation ( pevent : *const EVENT_RECORD , pmapname : :: windows::core::PCWSTR , pbuffer : *mut EVENT_MAP_INFO , pbuffersize : *mut u32 ) -> u32 ); TdhGetEventMapInformation(pevent, pmapname.into().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), pbuffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhGetManifestEventInformation(providerguid: *const ::windows::core::GUID, eventdescriptor: *const EVENT_DESCRIPTOR, buffer: ::core::option::Option<*mut TRACE_EVENT_INFO>, buffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhGetManifestEventInformation ( providerguid : *const :: windows::core::GUID , eventdescriptor : *const EVENT_DESCRIPTOR , buffer : *mut TRACE_EVENT_INFO , buffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhGetManifestEventInformation ( providerguid : *const :: windows::core::GUID , eventdescriptor : *const EVENT_DESCRIPTOR , buffer : *mut TRACE_EVENT_INFO , buffersize : *mut u32 ) -> u32 ); TdhGetManifestEventInformation(providerguid, eventdescriptor, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhGetProperty(pevent: *const EVENT_RECORD, ptdhcontext: ::core::option::Option<&[TDH_CONTEXT]>, ppropertydata: &[PROPERTY_DATA_DESCRIPTOR], pbuffer: &mut [u8]) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhGetProperty ( pevent : *const EVENT_RECORD , tdhcontextcount : u32 , ptdhcontext : *const TDH_CONTEXT , propertydatacount : u32 , ppropertydata : *const PROPERTY_DATA_DESCRIPTOR , buffersize : u32 , pbuffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhGetProperty ( pevent : *const EVENT_RECORD , tdhcontextcount : u32 , ptdhcontext : *const TDH_CONTEXT , propertydatacount : u32 , ppropertydata : *const PROPERTY_DATA_DESCRIPTOR , buffersize : u32 , pbuffer : *mut u8 ) -> u32 ); TdhGetProperty(pevent, ptdhcontext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ptdhcontext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppropertydata.len() as _, ::core::mem::transmute(ppropertydata.as_ptr()), pbuffer.len() as _, ::core::mem::transmute(pbuffer.as_ptr())) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhGetPropertySize(pevent: *const EVENT_RECORD, ptdhcontext: ::core::option::Option<&[TDH_CONTEXT]>, ppropertydata: &[PROPERTY_DATA_DESCRIPTOR], ppropertysize: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhGetPropertySize ( pevent : *const EVENT_RECORD , tdhcontextcount : u32 , ptdhcontext : *const TDH_CONTEXT , propertydatacount : u32 , ppropertydata : *const PROPERTY_DATA_DESCRIPTOR , ppropertysize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhGetPropertySize ( pevent : *const EVENT_RECORD , tdhcontextcount : u32 , ptdhcontext : *const TDH_CONTEXT , propertydatacount : u32 , ppropertydata : *const PROPERTY_DATA_DESCRIPTOR , ppropertysize : *mut u32 ) -> u32 ); TdhGetPropertySize(pevent, ptdhcontext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ptdhcontext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppropertydata.len() as _, ::core::mem::transmute(ppropertydata.as_ptr()), ppropertysize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -490,7 +490,7 @@ pub unsafe fn TdhGetWppMessage(handle: P0, eventrecord: *const EVENT_RECORD, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhGetWppMessage ( handle : TDH_HANDLE , eventrecord : *const EVENT_RECORD , buffersize : *mut u32 , buffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhGetWppMessage ( handle : TDH_HANDLE , eventrecord : *const EVENT_RECORD , buffersize : *mut u32 , buffer : *mut u8 ) -> u32 ); TdhGetWppMessage(handle.into(), eventrecord, buffersize, buffer) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -500,7 +500,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhGetWppProperty ( handle : TDH_HANDLE , eventrecord : *const EVENT_RECORD , propertyname : :: windows::core::PCWSTR , buffersize : *mut u32 , buffer : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhGetWppProperty ( handle : TDH_HANDLE , eventrecord : *const EVENT_RECORD , propertyname : :: windows::core::PCWSTR , buffersize : *mut u32 , buffer : *mut u8 ) -> u32 ); TdhGetWppProperty(handle.into(), eventrecord, propertyname.into().abi(), buffersize, buffer) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -509,7 +509,7 @@ pub unsafe fn TdhLoadManifest(manifest: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhLoadManifest ( manifest : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhLoadManifest ( manifest : :: windows::core::PCWSTR ) -> u32 ); TdhLoadManifest(manifest.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -518,25 +518,25 @@ pub unsafe fn TdhLoadManifestFromBinary(binarypath: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhLoadManifestFromBinary ( binarypath : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhLoadManifestFromBinary ( binarypath : :: windows::core::PCWSTR ) -> u32 ); TdhLoadManifestFromBinary(binarypath.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhLoadManifestFromMemory(pdata: *const ::core::ffi::c_void, cbdata: u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhLoadManifestFromMemory ( pdata : *const ::core::ffi::c_void , cbdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhLoadManifestFromMemory ( pdata : *const ::core::ffi::c_void , cbdata : u32 ) -> u32 ); TdhLoadManifestFromMemory(pdata, cbdata) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhOpenDecodingHandle(handle: *mut TDH_HANDLE) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhOpenDecodingHandle ( handle : *mut TDH_HANDLE ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhOpenDecodingHandle ( handle : *mut TDH_HANDLE ) -> u32 ); TdhOpenDecodingHandle(handle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhQueryProviderFieldInformation(pguid: *const ::windows::core::GUID, eventfieldvalue: u64, eventfieldtype: EVENT_FIELD_TYPE, pbuffer: ::core::option::Option<*mut PROVIDER_FIELD_INFOARRAY>, pbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhQueryProviderFieldInformation ( pguid : *const :: windows::core::GUID , eventfieldvalue : u64 , eventfieldtype : EVENT_FIELD_TYPE , pbuffer : *mut PROVIDER_FIELD_INFOARRAY , pbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhQueryProviderFieldInformation ( pguid : *const :: windows::core::GUID , eventfieldvalue : u64 , eventfieldtype : EVENT_FIELD_TYPE , pbuffer : *mut PROVIDER_FIELD_INFOARRAY , pbuffersize : *mut u32 ) -> u32 ); TdhQueryProviderFieldInformation(pguid, eventfieldvalue, eventfieldtype, ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), pbuffersize) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -545,7 +545,7 @@ pub unsafe fn TdhSetDecodingParameter(handle: P0, tdhcontext: *const TDH_CON where P0: ::std::convert::Into, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhSetDecodingParameter ( handle : TDH_HANDLE , tdhcontext : *const TDH_CONTEXT ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhSetDecodingParameter ( handle : TDH_HANDLE , tdhcontext : *const TDH_CONTEXT ) -> u32 ); TdhSetDecodingParameter(handle.into(), tdhcontext) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -554,41 +554,41 @@ pub unsafe fn TdhUnloadManifest(manifest: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "tdh.dll""system" fn TdhUnloadManifest ( manifest : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhUnloadManifest ( manifest : :: windows::core::PCWSTR ) -> u32 ); TdhUnloadManifest(manifest.into().abi()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn TdhUnloadManifestFromMemory(pdata: *const ::core::ffi::c_void, cbdata: u32) -> u32 { - ::windows::core::link ! ( "tdh.dll""system" fn TdhUnloadManifestFromMemory ( pdata : *const ::core::ffi::c_void , cbdata : u32 ) -> u32 ); + ::windows::imp::link ! ( "tdh.dll""system" fn TdhUnloadManifestFromMemory ( pdata : *const ::core::ffi::c_void , cbdata : u32 ) -> u32 ); TdhUnloadManifestFromMemory(pdata, cbdata) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TraceEvent(tracehandle: u64, eventtrace: *const EVENT_TRACE_HEADER) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn TraceEvent ( tracehandle : u64 , eventtrace : *const EVENT_TRACE_HEADER ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TraceEvent ( tracehandle : u64 , eventtrace : *const EVENT_TRACE_HEADER ) -> super::super::super::Foundation:: WIN32_ERROR ); TraceEvent(tracehandle, eventtrace) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TraceEventInstance(tracehandle: u64, eventtrace: *const EVENT_INSTANCE_HEADER, instinfo: *const EVENT_INSTANCE_INFO, parentinstinfo: ::core::option::Option<*const EVENT_INSTANCE_INFO>) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn TraceEventInstance ( tracehandle : u64 , eventtrace : *const EVENT_INSTANCE_HEADER , instinfo : *const EVENT_INSTANCE_INFO , parentinstinfo : *const EVENT_INSTANCE_INFO ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TraceEventInstance ( tracehandle : u64 , eventtrace : *const EVENT_INSTANCE_HEADER , instinfo : *const EVENT_INSTANCE_INFO , parentinstinfo : *const EVENT_INSTANCE_INFO ) -> u32 ); TraceEventInstance(tracehandle, eventtrace, instinfo, ::core::mem::transmute(parentinstinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TraceMessage(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, messageguid: *const ::windows::core::GUID, messagenumber: u16) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""cdecl" fn TraceMessage ( loggerhandle : u64 , messageflags : TRACE_MESSAGE_FLAGS , messageguid : *const :: windows::core::GUID , messagenumber : u16 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""cdecl" fn TraceMessage ( loggerhandle : u64 , messageflags : TRACE_MESSAGE_FLAGS , messageguid : *const :: windows::core::GUID , messagenumber : u16 ) -> super::super::super::Foundation:: WIN32_ERROR ); TraceMessage(loggerhandle, messageflags, messageguid, messagenumber) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TraceMessageVa(loggerhandle: u64, messageflags: TRACE_MESSAGE_FLAGS, messageguid: *const ::windows::core::GUID, messagenumber: u16, messagearglist: *const i8) -> super::super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn TraceMessageVa ( loggerhandle : u64 , messageflags : TRACE_MESSAGE_FLAGS , messageguid : *const :: windows::core::GUID , messagenumber : u16 , messagearglist : *const i8 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TraceMessageVa ( loggerhandle : u64 , messageflags : TRACE_MESSAGE_FLAGS , messageguid : *const :: windows::core::GUID , messagenumber : u16 , messagearglist : *const i8 ) -> super::super::super::Foundation:: WIN32_ERROR ); TraceMessageVa(loggerhandle, messageflags, messageguid, messagenumber, messagearglist) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -598,7 +598,7 @@ pub unsafe fn TraceQueryInformation(sessionhandle: P0, informationclass: TRA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn TraceQueryInformation ( sessionhandle : CONTROLTRACE_HANDLE , informationclass : TRACE_QUERY_INFO_CLASS , traceinformation : *mut ::core::ffi::c_void , informationlength : u32 , returnlength : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TraceQueryInformation ( sessionhandle : CONTROLTRACE_HANDLE , informationclass : TRACE_QUERY_INFO_CLASS , traceinformation : *mut ::core::ffi::c_void , informationlength : u32 , returnlength : *mut u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); TraceQueryInformation(sessionhandle.into(), informationclass, traceinformation, informationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -608,13 +608,13 @@ pub unsafe fn TraceSetInformation(sessionhandle: P0, informationclass: TRACE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn TraceSetInformation ( sessionhandle : CONTROLTRACE_HANDLE , informationclass : TRACE_QUERY_INFO_CLASS , traceinformation : *const ::core::ffi::c_void , informationlength : u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn TraceSetInformation ( sessionhandle : CONTROLTRACE_HANDLE , informationclass : TRACE_QUERY_INFO_CLASS , traceinformation : *const ::core::ffi::c_void , informationlength : u32 ) -> super::super::super::Foundation:: WIN32_ERROR ); TraceSetInformation(sessionhandle.into(), informationclass, traceinformation, informationlength) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[inline] pub unsafe fn UnregisterTraceGuids(registrationhandle: u64) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn UnregisterTraceGuids ( registrationhandle : u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn UnregisterTraceGuids ( registrationhandle : u64 ) -> u32 ); UnregisterTraceGuids(registrationhandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -625,7 +625,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn UpdateTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn UpdateTraceA ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); UpdateTraceA(tracehandle.into(), instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`*"] @@ -636,7 +636,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn UpdateTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn UpdateTraceW ( tracehandle : CONTROLTRACE_HANDLE , instancename : :: windows::core::PCWSTR , properties : *mut EVENT_TRACE_PROPERTIES ) -> super::super::super::Foundation:: WIN32_ERROR ); UpdateTraceW(tracehandle.into(), instancename.into().abi(), properties) } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] @@ -683,7 +683,7 @@ impl ITraceEvent { (::windows::core::Vtable::vtable(self).SetProviderId)(::windows::core::Vtable::as_raw(self), providerid).ok() } } -::windows::core::interface_hierarchy!(ITraceEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITraceEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITraceEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -748,7 +748,7 @@ impl ITraceEventCallback { (::windows::core::Vtable::vtable(self).OnEvent)(::windows::core::Vtable::as_raw(self), event.into().abi(), relogger.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITraceEventCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITraceEventCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITraceEventCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -828,7 +828,7 @@ impl ITraceRelogger { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITraceRelogger, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITraceRelogger, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITraceRelogger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs index d049b2f3eb..b95c0462e7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn PssCaptureSnapshot(processhandle: P0, captureflags: PSS_CAPTUR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssCaptureSnapshot ( processhandle : super::super::super::Foundation:: HANDLE , captureflags : PSS_CAPTURE_FLAGS , threadcontextflags : u32 , snapshothandle : *mut HPSS ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssCaptureSnapshot ( processhandle : super::super::super::Foundation:: HANDLE , captureflags : PSS_CAPTURE_FLAGS , threadcontextflags : u32 , snapshothandle : *mut HPSS ) -> u32 ); PssCaptureSnapshot(processhandle.into(), captureflags, threadcontextflags, snapshothandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssDuplicateSnapshot ( sourceprocesshandle : super::super::super::Foundation:: HANDLE , snapshothandle : HPSS , targetprocesshandle : super::super::super::Foundation:: HANDLE , targetsnapshothandle : *mut HPSS , flags : PSS_DUPLICATE_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssDuplicateSnapshot ( sourceprocesshandle : super::super::super::Foundation:: HANDLE , snapshothandle : HPSS , targetprocesshandle : super::super::super::Foundation:: HANDLE , targetsnapshothandle : *mut HPSS , flags : PSS_DUPLICATE_FLAGS ) -> u32 ); PssDuplicateSnapshot(sourceprocesshandle.into(), snapshothandle.into(), targetprocesshandle.into(), targetsnapshothandle, flags) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] @@ -28,7 +28,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssFreeSnapshot ( processhandle : super::super::super::Foundation:: HANDLE , snapshothandle : HPSS ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssFreeSnapshot ( processhandle : super::super::super::Foundation:: HANDLE , snapshothandle : HPSS ) -> u32 ); PssFreeSnapshot(processhandle.into(), snapshothandle.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] @@ -37,13 +37,13 @@ pub unsafe fn PssQuerySnapshot(snapshothandle: P0, informationclass: PSS_QUE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssQuerySnapshot ( snapshothandle : HPSS , informationclass : PSS_QUERY_INFORMATION_CLASS , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssQuerySnapshot ( snapshothandle : HPSS , informationclass : PSS_QUERY_INFORMATION_CLASS , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> u32 ); PssQuerySnapshot(snapshothandle.into(), informationclass, buffer, bufferlength) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] #[inline] pub unsafe fn PssWalkMarkerCreate(allocator: ::core::option::Option<*const PSS_ALLOCATOR>, walkmarkerhandle: *mut HPSSWALK) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn PssWalkMarkerCreate ( allocator : *const PSS_ALLOCATOR , walkmarkerhandle : *mut HPSSWALK ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssWalkMarkerCreate ( allocator : *const PSS_ALLOCATOR , walkmarkerhandle : *mut HPSSWALK ) -> u32 ); PssWalkMarkerCreate(::core::mem::transmute(allocator.unwrap_or(::std::ptr::null())), walkmarkerhandle) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] @@ -52,7 +52,7 @@ pub unsafe fn PssWalkMarkerFree(walkmarkerhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssWalkMarkerFree ( walkmarkerhandle : HPSSWALK ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssWalkMarkerFree ( walkmarkerhandle : HPSSWALK ) -> u32 ); PssWalkMarkerFree(walkmarkerhandle.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] @@ -61,7 +61,7 @@ pub unsafe fn PssWalkMarkerGetPosition(walkmarkerhandle: P0, position: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssWalkMarkerGetPosition ( walkmarkerhandle : HPSSWALK , position : *mut usize ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssWalkMarkerGetPosition ( walkmarkerhandle : HPSSWALK , position : *mut usize ) -> u32 ); PssWalkMarkerGetPosition(walkmarkerhandle.into(), position) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] @@ -70,7 +70,7 @@ pub unsafe fn PssWalkMarkerSeekToBeginning(walkmarkerhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssWalkMarkerSeekToBeginning ( walkmarkerhandle : HPSSWALK ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssWalkMarkerSeekToBeginning ( walkmarkerhandle : HPSSWALK ) -> u32 ); PssWalkMarkerSeekToBeginning(walkmarkerhandle.into()) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] @@ -79,7 +79,7 @@ pub unsafe fn PssWalkMarkerSetPosition(walkmarkerhandle: P0, position: usize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssWalkMarkerSetPosition ( walkmarkerhandle : HPSSWALK , position : usize ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssWalkMarkerSetPosition ( walkmarkerhandle : HPSSWALK , position : usize ) -> u32 ); PssWalkMarkerSetPosition(walkmarkerhandle.into(), position) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] @@ -89,7 +89,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PssWalkSnapshot ( snapshothandle : HPSS , informationclass : PSS_WALK_INFORMATION_CLASS , walkmarkerhandle : HPSSWALK , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PssWalkSnapshot ( snapshothandle : HPSS , informationclass : PSS_WALK_INFORMATION_CLASS , walkmarkerhandle : HPSSWALK , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> u32 ); PssWalkSnapshot(snapshothandle.into(), informationclass, walkmarkerhandle.into(), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs index f57bdf0dc2..06885abfd2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs @@ -2,15 +2,15 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateToolhelp32Snapshot(dwflags: CREATE_TOOLHELP_SNAPSHOT_FLAGS, th32processid: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateToolhelp32Snapshot ( dwflags : CREATE_TOOLHELP_SNAPSHOT_FLAGS , th32processid : u32 ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateToolhelp32Snapshot ( dwflags : CREATE_TOOLHELP_SNAPSHOT_FLAGS , th32processid : u32 ) -> super::super::super::Foundation:: HANDLE ); let result__ = CreateToolhelp32Snapshot(dwflags, th32processid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Heap32First(lphe: *mut HEAPENTRY32, th32processid: u32, th32heapid: usize) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn Heap32First ( lphe : *mut HEAPENTRY32 , th32processid : u32 , th32heapid : usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Heap32First ( lphe : *mut HEAPENTRY32 , th32processid : u32 , th32heapid : usize ) -> super::super::super::Foundation:: BOOL ); Heap32First(lphe, th32processid, th32heapid) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -20,7 +20,7 @@ pub unsafe fn Heap32ListFirst(hsnapshot: P0, lphl: *mut HEAPLIST32) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Heap32ListFirst ( hsnapshot : super::super::super::Foundation:: HANDLE , lphl : *mut HEAPLIST32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Heap32ListFirst ( hsnapshot : super::super::super::Foundation:: HANDLE , lphl : *mut HEAPLIST32 ) -> super::super::super::Foundation:: BOOL ); Heap32ListFirst(hsnapshot.into(), lphl) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -30,14 +30,14 @@ pub unsafe fn Heap32ListNext(hsnapshot: P0, lphl: *mut HEAPLIST32) -> super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Heap32ListNext ( hsnapshot : super::super::super::Foundation:: HANDLE , lphl : *mut HEAPLIST32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Heap32ListNext ( hsnapshot : super::super::super::Foundation:: HANDLE , lphl : *mut HEAPLIST32 ) -> super::super::super::Foundation:: BOOL ); Heap32ListNext(hsnapshot.into(), lphl) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Heap32Next(lphe: *mut HEAPENTRY32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn Heap32Next ( lphe : *mut HEAPENTRY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Heap32Next ( lphe : *mut HEAPENTRY32 ) -> super::super::super::Foundation:: BOOL ); Heap32Next(lphe) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -47,7 +47,7 @@ pub unsafe fn Module32First(hsnapshot: P0, lpme: *mut MODULEENTRY32) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Module32First ( hsnapshot : super::super::super::Foundation:: HANDLE , lpme : *mut MODULEENTRY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Module32First ( hsnapshot : super::super::super::Foundation:: HANDLE , lpme : *mut MODULEENTRY32 ) -> super::super::super::Foundation:: BOOL ); Module32First(hsnapshot.into(), lpme) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn Module32FirstW(hsnapshot: P0, lpme: *mut MODULEENTRY32W) -> su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Module32FirstW ( hsnapshot : super::super::super::Foundation:: HANDLE , lpme : *mut MODULEENTRY32W ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Module32FirstW ( hsnapshot : super::super::super::Foundation:: HANDLE , lpme : *mut MODULEENTRY32W ) -> super::super::super::Foundation:: BOOL ); Module32FirstW(hsnapshot.into(), lpme) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -67,7 +67,7 @@ pub unsafe fn Module32Next(hsnapshot: P0, lpme: *mut MODULEENTRY32) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Module32Next ( hsnapshot : super::super::super::Foundation:: HANDLE , lpme : *mut MODULEENTRY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Module32Next ( hsnapshot : super::super::super::Foundation:: HANDLE , lpme : *mut MODULEENTRY32 ) -> super::super::super::Foundation:: BOOL ); Module32Next(hsnapshot.into(), lpme) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -77,7 +77,7 @@ pub unsafe fn Module32NextW(hsnapshot: P0, lpme: *mut MODULEENTRY32W) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Module32NextW ( hsnapshot : super::super::super::Foundation:: HANDLE , lpme : *mut MODULEENTRY32W ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Module32NextW ( hsnapshot : super::super::super::Foundation:: HANDLE , lpme : *mut MODULEENTRY32W ) -> super::super::super::Foundation:: BOOL ); Module32NextW(hsnapshot.into(), lpme) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn Process32First(hsnapshot: P0, lppe: *mut PROCESSENTRY32) -> su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Process32First ( hsnapshot : super::super::super::Foundation:: HANDLE , lppe : *mut PROCESSENTRY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Process32First ( hsnapshot : super::super::super::Foundation:: HANDLE , lppe : *mut PROCESSENTRY32 ) -> super::super::super::Foundation:: BOOL ); Process32First(hsnapshot.into(), lppe) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -97,7 +97,7 @@ pub unsafe fn Process32FirstW(hsnapshot: P0, lppe: *mut PROCESSENTRY32W) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Process32FirstW ( hsnapshot : super::super::super::Foundation:: HANDLE , lppe : *mut PROCESSENTRY32W ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Process32FirstW ( hsnapshot : super::super::super::Foundation:: HANDLE , lppe : *mut PROCESSENTRY32W ) -> super::super::super::Foundation:: BOOL ); Process32FirstW(hsnapshot.into(), lppe) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -107,7 +107,7 @@ pub unsafe fn Process32Next(hsnapshot: P0, lppe: *mut PROCESSENTRY32) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Process32Next ( hsnapshot : super::super::super::Foundation:: HANDLE , lppe : *mut PROCESSENTRY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Process32Next ( hsnapshot : super::super::super::Foundation:: HANDLE , lppe : *mut PROCESSENTRY32 ) -> super::super::super::Foundation:: BOOL ); Process32Next(hsnapshot.into(), lppe) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn Process32NextW(hsnapshot: P0, lppe: *mut PROCESSENTRY32W) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Process32NextW ( hsnapshot : super::super::super::Foundation:: HANDLE , lppe : *mut PROCESSENTRY32W ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Process32NextW ( hsnapshot : super::super::super::Foundation:: HANDLE , lppe : *mut PROCESSENTRY32W ) -> super::super::super::Foundation:: BOOL ); Process32NextW(hsnapshot.into(), lppe) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -127,7 +127,7 @@ pub unsafe fn Thread32First(hsnapshot: P0, lpte: *mut THREADENTRY32) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Thread32First ( hsnapshot : super::super::super::Foundation:: HANDLE , lpte : *mut THREADENTRY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Thread32First ( hsnapshot : super::super::super::Foundation:: HANDLE , lpte : *mut THREADENTRY32 ) -> super::super::super::Foundation:: BOOL ); Thread32First(hsnapshot.into(), lpte) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] @@ -137,14 +137,14 @@ pub unsafe fn Thread32Next(hsnapshot: P0, lpte: *mut THREADENTRY32) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Thread32Next ( hsnapshot : super::super::super::Foundation:: HANDLE , lpte : *mut THREADENTRY32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Thread32Next ( hsnapshot : super::super::super::Foundation:: HANDLE , lpte : *mut THREADENTRY32 ) -> super::super::super::Foundation:: BOOL ); Thread32Next(hsnapshot.into(), lpte) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Toolhelp32ReadProcessMemory(th32processid: u32, lpbaseaddress: *const ::core::ffi::c_void, lpbuffer: *mut ::core::ffi::c_void, cbread: usize, lpnumberofbytesread: *mut usize) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn Toolhelp32ReadProcessMemory ( th32processid : u32 , lpbaseaddress : *const ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , cbread : usize , lpnumberofbytesread : *mut usize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Toolhelp32ReadProcessMemory ( th32processid : u32 , lpbaseaddress : *const ::core::ffi::c_void , lpbuffer : *mut ::core::ffi::c_void , cbread : usize , lpnumberofbytesread : *mut usize ) -> super::super::super::Foundation:: BOOL ); Toolhelp32ReadProcessMemory(th32processid, lpbaseaddress, lpbuffer, cbread, lpnumberofbytesread) } #[doc = "*Required features: `\"Win32_System_Diagnostics_ToolHelp\"`*"] 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 2f15aabd30..331cbb61ba 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -5,7 +5,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "xolehlp.dll""cdecl" fn DtcGetTransactionManager ( i_pszhost : :: windows::core::PCSTR , i_psztmname : :: windows::core::PCSTR , i_riid : *const :: windows::core::GUID , i_dwreserved1 : u32 , i_wcbreserved2 : u16 , i_pvreserved2 : *const ::core::ffi::c_void , o_ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xolehlp.dll""cdecl" fn DtcGetTransactionManager ( i_pszhost : :: windows::core::PCSTR , i_psztmname : :: windows::core::PCSTR , i_riid : *const :: windows::core::GUID , i_dwreserved1 : u32 , i_wcbreserved2 : u16 , i_pvreserved2 : *const ::core::ffi::c_void , o_ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DtcGetTransactionManager(i_pszhost.into().abi(), i_psztmname.into().abi(), i_riid, i_dwreserved1, i_wcbreserved2, ::core::mem::transmute(i_pvreserved2.unwrap_or(::std::ptr::null())), o_ppvobject).ok() } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -15,7 +15,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "xolehlp.dll""cdecl" fn DtcGetTransactionManagerC ( i_pszhost : :: windows::core::PCSTR , i_psztmname : :: windows::core::PCSTR , i_riid : *const :: windows::core::GUID , i_dwreserved1 : u32 , i_wcbreserved2 : u16 , i_pvreserved2 : *const ::core::ffi::c_void , o_ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xolehlp.dll""cdecl" fn DtcGetTransactionManagerC ( i_pszhost : :: windows::core::PCSTR , i_psztmname : :: windows::core::PCSTR , i_riid : *const :: windows::core::GUID , i_dwreserved1 : u32 , i_wcbreserved2 : u16 , i_pvreserved2 : *const ::core::ffi::c_void , o_ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DtcGetTransactionManagerC(i_pszhost.into().abi(), i_psztmname.into().abi(), i_riid, i_dwreserved1, i_wcbreserved2, ::core::mem::transmute(i_pvreserved2.unwrap_or(::std::ptr::null())), o_ppvobject).ok() } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -25,7 +25,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "xolehlp.dll""cdecl" fn DtcGetTransactionManagerExA ( i_pszhost : :: windows::core::PCSTR , i_psztmname : :: windows::core::PCSTR , i_riid : *const :: windows::core::GUID , i_grfoptions : u32 , i_pvconfigparams : *mut ::core::ffi::c_void , o_ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xolehlp.dll""cdecl" fn DtcGetTransactionManagerExA ( i_pszhost : :: windows::core::PCSTR , i_psztmname : :: windows::core::PCSTR , i_riid : *const :: windows::core::GUID , i_grfoptions : u32 , i_pvconfigparams : *mut ::core::ffi::c_void , o_ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DtcGetTransactionManagerExA(i_pszhost.into().abi(), i_psztmname.into().abi(), i_riid, i_grfoptions, i_pvconfigparams, o_ppvobject).ok() } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -35,7 +35,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "xolehlp.dll""cdecl" fn DtcGetTransactionManagerExW ( i_pwszhost : :: windows::core::PCWSTR , i_pwsztmname : :: windows::core::PCWSTR , i_riid : *const :: windows::core::GUID , i_grfoptions : u32 , i_pvconfigparams : *mut ::core::ffi::c_void , o_ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "xolehlp.dll""cdecl" fn DtcGetTransactionManagerExW ( i_pwszhost : :: windows::core::PCWSTR , i_pwsztmname : :: windows::core::PCWSTR , i_riid : *const :: windows::core::GUID , i_grfoptions : u32 , i_pvconfigparams : *mut ::core::ffi::c_void , o_ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DtcGetTransactionManagerExW(i_pwszhost.into().abi(), i_pwsztmname.into().abi(), i_riid, i_grfoptions, i_pvconfigparams, o_ppvobject).ok() } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -49,7 +49,7 @@ impl IDtcLuConfigure { (::windows::core::Vtable::vtable(self).Delete)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(puclupair.as_ptr()), puclupair.len() as _).ok() } } -::windows::core::interface_hierarchy!(IDtcLuConfigure, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuConfigure, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuConfigure { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -83,7 +83,7 @@ pub struct IDtcLuConfigure_Vtbl { #[repr(transparent)] pub struct IDtcLuRecovery(::windows::core::IUnknown); impl IDtcLuRecovery {} -::windows::core::interface_hierarchy!(IDtcLuRecovery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRecovery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRecovery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -120,7 +120,7 @@ impl IDtcLuRecoveryFactory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(puclupair.as_ptr()), puclupair.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDtcLuRecoveryFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRecoveryFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRecoveryFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -157,7 +157,7 @@ impl IDtcLuRecoveryInitiatedByDtc { (::windows::core::Vtable::vtable(self).GetWork)(::windows::core::Vtable::as_raw(self), pwork, ppv).ok() } } -::windows::core::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtc, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtc, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByDtc { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -194,7 +194,7 @@ impl IDtcLuRecoveryInitiatedByDtcStatusWork { (::windows::core::Vtable::vtable(self).HandleCheckLuStatus)(::windows::core::Vtable::as_raw(self), lrecoveryseqnum).ok() } } -::windows::core::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcStatusWork, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcStatusWork, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByDtcStatusWork { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -269,7 +269,7 @@ impl IDtcLuRecoveryInitiatedByDtcTransWork { (::windows::core::Vtable::vtable(self).ObsoleteRecoverySeqNum)(::windows::core::Vtable::as_raw(self), lnewrecoveryseqnum).ok() } } -::windows::core::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcTransWork, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcTransWork, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByDtcTransWork { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -322,7 +322,7 @@ impl IDtcLuRecoveryInitiatedByLu { (::windows::core::Vtable::vtable(self).GetObjectToHandleWorkFromLu)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDtcLuRecoveryInitiatedByLu, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByLu, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByLu { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -380,7 +380,7 @@ impl IDtcLuRecoveryInitiatedByLuWork { (::windows::core::Vtable::vtable(self).ConversationLost)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDtcLuRecoveryInitiatedByLuWork, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByLuWork, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByLuWork { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -444,7 +444,7 @@ impl IDtcLuRmEnlistment { (::windows::core::Vtable::vtable(self).RequestCommit)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDtcLuRmEnlistment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRmEnlistment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRmEnlistment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -493,7 +493,7 @@ impl IDtcLuRmEnlistmentFactory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), puclupair, cblupair, pitransaction.into().abi(), ptransid, cbtransid, prmenlistmentsink.into().abi(), ::core::mem::transmute(pprmenlistment)).ok() } } -::windows::core::interface_hierarchy!(IDtcLuRmEnlistmentFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRmEnlistmentFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRmEnlistmentFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -554,7 +554,7 @@ impl IDtcLuRmEnlistmentSink { (::windows::core::Vtable::vtable(self).RequestCommit)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDtcLuRmEnlistmentSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuRmEnlistmentSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuRmEnlistmentSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -622,7 +622,7 @@ impl IDtcLuSubordinateDtc { (::windows::core::Vtable::vtable(self).RequestCommit)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDtcLuSubordinateDtc, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuSubordinateDtc, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuSubordinateDtc { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -673,7 +673,7 @@ impl IDtcLuSubordinateDtcFactory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), puclupair, cblupair, punktransactionouter.into().abi(), isolevel, isoflags, poptions.into().abi(), ::core::mem::transmute(pptransaction), ptransid, cbtransid, psubordinatedtcsink.into().abi(), ::core::mem::transmute(ppsubordinatedtc)).ok() } } -::windows::core::interface_hierarchy!(IDtcLuSubordinateDtcFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuSubordinateDtcFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuSubordinateDtcFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -731,7 +731,7 @@ impl IDtcLuSubordinateDtcSink { (::windows::core::Vtable::vtable(self).RequestCommit)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDtcLuSubordinateDtcSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcLuSubordinateDtcSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcLuSubordinateDtcSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -859,7 +859,7 @@ impl IDtcNetworkAccessConfig { (::windows::core::Vtable::vtable(self).RestartDtcService)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDtcNetworkAccessConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcNetworkAccessConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcNetworkAccessConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1063,7 +1063,7 @@ impl IDtcNetworkAccessConfig2 { (::windows::core::Vtable::vtable(self).SetAuthenticationLevel)(::windows::core::Vtable::as_raw(self), authlevel).ok() } } -::windows::core::interface_hierarchy!(IDtcNetworkAccessConfig2, ::windows::core::IUnknown, IDtcNetworkAccessConfig); +::windows::imp::interface_hierarchy!(IDtcNetworkAccessConfig2, ::windows::core::IUnknown, IDtcNetworkAccessConfig); impl ::core::cmp::PartialEq for IDtcNetworkAccessConfig2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1250,7 +1250,7 @@ impl IDtcNetworkAccessConfig3 { (::windows::core::Vtable::vtable(self).SetLUAccess)(::windows::core::Vtable::as_raw(self), bluaccess.into()).ok() } } -::windows::core::interface_hierarchy!(IDtcNetworkAccessConfig3, ::windows::core::IUnknown, IDtcNetworkAccessConfig, IDtcNetworkAccessConfig2); +::windows::imp::interface_hierarchy!(IDtcNetworkAccessConfig3, ::windows::core::IUnknown, IDtcNetworkAccessConfig, IDtcNetworkAccessConfig2); impl ::core::cmp::PartialEq for IDtcNetworkAccessConfig3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1307,7 +1307,7 @@ impl IDtcToXaHelper { (::windows::core::Vtable::vtable(self).TranslateTridToXid)(::windows::core::Vtable::as_raw(self), pitransaction.into().abi(), pguidbqual, pxid).ok() } } -::windows::core::interface_hierarchy!(IDtcToXaHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcToXaHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcToXaHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1355,7 +1355,7 @@ impl IDtcToXaHelperFactory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), pszdsn.into().abi(), pszclientdllname.into().abi(), pguidrm, ::core::mem::transmute(ppxahelper)).ok() } } -::windows::core::interface_hierarchy!(IDtcToXaHelperFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcToXaHelperFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcToXaHelperFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1417,7 +1417,7 @@ impl IDtcToXaHelperSinglePipe { (::windows::core::Vtable::vtable(self).ReleaseRMCookie)(::windows::core::Vtable::as_raw(self), i_dwrmcookie, i_fnormal.into()) } } -::windows::core::interface_hierarchy!(IDtcToXaHelperSinglePipe, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcToXaHelperSinglePipe, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcToXaHelperSinglePipe { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1478,7 +1478,7 @@ impl IDtcToXaMapper { (::windows::core::Vtable::vtable(self).ReleaseResourceManager)(::windows::core::Vtable::as_raw(self), dwrmcookie).ok() } } -::windows::core::interface_hierarchy!(IDtcToXaMapper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDtcToXaMapper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDtcToXaMapper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1521,7 +1521,7 @@ impl IGetDispenser { (::windows::core::Vtable::vtable(self).GetDispenser)(::windows::core::Vtable::as_raw(self), iid, ppvobject).ok() } } -::windows::core::interface_hierarchy!(IGetDispenser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetDispenser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetDispenser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1561,7 +1561,7 @@ impl IKernelTransaction { (::windows::core::Vtable::vtable(self).GetHandle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IKernelTransaction, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKernelTransaction, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKernelTransaction { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1604,7 +1604,7 @@ impl ILastResourceManager { (::windows::core::Vtable::vtable(self).RecoveryDone)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ILastResourceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILastResourceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILastResourceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1645,7 +1645,7 @@ impl IPrepareInfo { (::windows::core::Vtable::vtable(self).GetPrepareInfo)(::windows::core::Vtable::as_raw(self), pprepinfo).ok() } } -::windows::core::interface_hierarchy!(IPrepareInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrepareInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrepareInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1687,7 +1687,7 @@ impl IPrepareInfo2 { (::windows::core::Vtable::vtable(self).GetPrepareInfo)(::windows::core::Vtable::as_raw(self), pprepinfo.len() as _, ::core::mem::transmute(pprepinfo.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IPrepareInfo2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrepareInfo2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrepareInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1735,7 +1735,7 @@ impl IRMHelper { (::windows::core::Vtable::vtable(self).RMInfo)(::windows::core::Vtable::as_raw(self), pxa_switch, fcdeclcallingconv.into(), pszopenstring.into().abi(), pszclosestring.into().abi(), ::core::mem::transmute(guidrmrecovery)).ok() } } -::windows::core::interface_hierarchy!(IRMHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRMHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRMHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1790,7 +1790,7 @@ impl IResourceManager { (::windows::core::Vtable::vtable(self).GetDistributedTransactionManager)(::windows::core::Vtable::as_raw(self), iid, ppvobject).ok() } } -::windows::core::interface_hierarchy!(IResourceManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResourceManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResourceManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1859,7 +1859,7 @@ impl IResourceManager2 { (::windows::core::Vtable::vtable(self).Reenlist2)(::windows::core::Vtable::as_raw(self), pxid, dwtimeout, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IResourceManager2, ::windows::core::IUnknown, IResourceManager); +::windows::imp::interface_hierarchy!(IResourceManager2, ::windows::core::IUnknown, IResourceManager); impl ::core::cmp::PartialEq for IResourceManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1908,7 +1908,7 @@ impl IResourceManagerFactory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), pguidrm, pszrmname.into().abi(), piresmgrsink.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IResourceManagerFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResourceManagerFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResourceManagerFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1957,7 +1957,7 @@ impl IResourceManagerFactory2 { (::windows::core::Vtable::vtable(self).CreateEx)(::windows::core::Vtable::as_raw(self), pguidrm, pszrmname.into().abi(), piresmgrsink.into().abi(), riidrequested, ppvresmgr).ok() } } -::windows::core::interface_hierarchy!(IResourceManagerFactory2, ::windows::core::IUnknown, IResourceManagerFactory); +::windows::imp::interface_hierarchy!(IResourceManagerFactory2, ::windows::core::IUnknown, IResourceManagerFactory); impl ::core::cmp::PartialEq for IResourceManagerFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2027,7 +2027,7 @@ impl IResourceManagerRejoinable { (::windows::core::Vtable::vtable(self).Rejoin)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pprepinfo.as_ptr()), pprepinfo.len() as _, ltimeout, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IResourceManagerRejoinable, ::windows::core::IUnknown, IResourceManager, IResourceManager2); +::windows::imp::interface_hierarchy!(IResourceManagerRejoinable, ::windows::core::IUnknown, IResourceManager, IResourceManager2); impl ::core::cmp::PartialEq for IResourceManagerRejoinable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2064,7 +2064,7 @@ impl IResourceManagerSink { (::windows::core::Vtable::vtable(self).TMDown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IResourceManagerSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResourceManagerSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResourceManagerSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2113,7 +2113,7 @@ impl ITipHelper { (::windows::core::Vtable::vtable(self).GetLocalTmUrl)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITipHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITipHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITipHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2152,7 +2152,7 @@ impl ITipPullSink { (::windows::core::Vtable::vtable(self).PullComplete)(::windows::core::Vtable::as_raw(self), i_hrpull).ok() } } -::windows::core::interface_hierarchy!(ITipPullSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITipPullSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITipPullSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2194,7 +2194,7 @@ impl ITipTransaction { (::windows::core::Vtable::vtable(self).GetTransactionUrl)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITipTransaction, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITipTransaction, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITipTransaction { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2236,7 +2236,7 @@ impl ITmNodeName { (::windows::core::Vtable::vtable(self).GetNodeName)(::windows::core::Vtable::as_raw(self), cbnodenamebuffersize, ::core::mem::transmute(pnodenamebuffer)).ok() } } -::windows::core::interface_hierarchy!(ITmNodeName, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITmNodeName, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITmNodeName { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2291,7 +2291,7 @@ impl ITransaction { (::windows::core::Vtable::vtable(self).GetTransactionInfo)(::windows::core::Vtable::as_raw(self), pinfo).ok() } } -::windows::core::interface_hierarchy!(ITransaction, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransaction, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransaction { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2360,7 +2360,7 @@ impl ITransaction2 { (::windows::core::Vtable::vtable(self).GetTransactionInfo2)(::windows::core::Vtable::as_raw(self), pinfo).ok() } } -::windows::core::interface_hierarchy!(ITransaction2, ::windows::core::IUnknown, ITransaction, ITransactionCloner); +::windows::imp::interface_hierarchy!(ITransaction2, ::windows::core::IUnknown, ITransaction, ITransactionCloner); impl ::core::cmp::PartialEq for ITransaction2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2418,7 +2418,7 @@ impl ITransactionCloner { (::windows::core::Vtable::vtable(self).CloneWithCommitDisabled)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionCloner, ::windows::core::IUnknown, ITransaction); +::windows::imp::interface_hierarchy!(ITransactionCloner, ::windows::core::IUnknown, ITransaction); impl ::core::cmp::PartialEq for ITransactionCloner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2464,7 +2464,7 @@ impl ITransactionDispenser { (::windows::core::Vtable::vtable(self).BeginTransaction)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), isolevel, isoflags, poptions.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionDispenser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionDispenser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionDispenser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2513,7 +2513,7 @@ impl ITransactionEnlistmentAsync { (::windows::core::Vtable::vtable(self).AbortRequestDone)(::windows::core::Vtable::as_raw(self), hr).ok() } } -::windows::core::interface_hierarchy!(ITransactionEnlistmentAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionEnlistmentAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionEnlistmentAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2565,7 +2565,7 @@ impl ITransactionExport { (::windows::core::Vtable::vtable(self).GetTransactionCookie)(::windows::core::Vtable::as_raw(self), punktransaction.into().abi(), rgbtransactioncookie.len() as _, ::core::mem::transmute(rgbtransactioncookie.as_ptr()), pcbused).ok() } } -::windows::core::interface_hierarchy!(ITransactionExport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionExport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionExport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2608,7 +2608,7 @@ impl ITransactionExportFactory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), rgbwhereabouts.len() as _, ::core::mem::transmute(rgbwhereabouts.as_ptr()), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionExportFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionExportFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionExportFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2650,7 +2650,7 @@ impl ITransactionImport { (::windows::core::Vtable::vtable(self).Import)(::windows::core::Vtable::as_raw(self), rgbtransactioncookie.len() as _, ::core::mem::transmute(rgbtransactioncookie.as_ptr()), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionImport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionImport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionImport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2691,7 +2691,7 @@ impl ITransactionImportWhereabouts { (::windows::core::Vtable::vtable(self).GetWhereabouts)(::windows::core::Vtable::as_raw(self), rgbwhereabouts.len() as _, ::core::mem::transmute(rgbwhereabouts.as_ptr()), pcbused).ok() } } -::windows::core::interface_hierarchy!(ITransactionImportWhereabouts, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionImportWhereabouts, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionImportWhereabouts { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2729,7 +2729,7 @@ impl ITransactionLastEnlistmentAsync { (::windows::core::Vtable::vtable(self).TransactionOutcome)(::windows::core::Vtable::as_raw(self), xactstat, pboidreason).ok() } } -::windows::core::interface_hierarchy!(ITransactionLastEnlistmentAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionLastEnlistmentAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionLastEnlistmentAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2769,7 +2769,7 @@ impl ITransactionLastResourceAsync { (::windows::core::Vtable::vtable(self).ForgetRequest)(::windows::core::Vtable::as_raw(self), pnewuow).ok() } } -::windows::core::interface_hierarchy!(ITransactionLastResourceAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionLastResourceAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionLastResourceAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2810,7 +2810,7 @@ impl ITransactionOptions { (::windows::core::Vtable::vtable(self).GetOptions)(::windows::core::Vtable::as_raw(self), poptions).ok() } } -::windows::core::interface_hierarchy!(ITransactionOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2867,7 +2867,7 @@ impl ITransactionOutcomeEvents { (::windows::core::Vtable::vtable(self).Indoubt)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITransactionOutcomeEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionOutcomeEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionOutcomeEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2926,7 +2926,7 @@ impl ITransactionPhase0EnlistmentAsync { (::windows::core::Vtable::vtable(self).GetTransaction)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionPhase0EnlistmentAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionPhase0EnlistmentAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionPhase0EnlistmentAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2971,7 +2971,7 @@ impl ITransactionPhase0Factory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), pphase0notify.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionPhase0Factory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionPhase0Factory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionPhase0Factory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3016,7 +3016,7 @@ impl ITransactionPhase0NotifyAsync { (::windows::core::Vtable::vtable(self).EnlistCompleted)(::windows::core::Vtable::as_raw(self), status).ok() } } -::windows::core::interface_hierarchy!(ITransactionPhase0NotifyAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionPhase0NotifyAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionPhase0NotifyAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3068,7 +3068,7 @@ impl ITransactionReceiver { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITransactionReceiver, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionReceiver, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionReceiver { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3109,7 +3109,7 @@ impl ITransactionReceiverFactory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionReceiverFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionReceiverFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionReceiverFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3167,7 +3167,7 @@ impl ITransactionResource { (::windows::core::Vtable::vtable(self).TMDown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITransactionResource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionResource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3234,7 +3234,7 @@ impl ITransactionResourceAsync { (::windows::core::Vtable::vtable(self).TMDown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITransactionResourceAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionResourceAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionResourceAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3296,7 +3296,7 @@ impl ITransactionTransmitter { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITransactionTransmitter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionTransmitter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionTransmitter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3338,7 +3338,7 @@ impl ITransactionTransmitterFactory { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionTransmitterFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionTransmitterFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionTransmitterFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3375,7 +3375,7 @@ impl ITransactionVoterBallotAsync2 { (::windows::core::Vtable::vtable(self).VoteRequestDone)(::windows::core::Vtable::as_raw(self), hr, ::core::mem::transmute(pboidreason.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(ITransactionVoterBallotAsync2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionVoterBallotAsync2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionVoterBallotAsync2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3417,7 +3417,7 @@ impl ITransactionVoterFactory2 { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), ptransaction.into().abi(), pvoternotify.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionVoterFactory2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionVoterFactory2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionVoterFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3476,7 +3476,7 @@ impl ITransactionVoterNotifyAsync2 { (::windows::core::Vtable::vtable(self).VoteRequest)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITransactionVoterNotifyAsync2, ::windows::core::IUnknown, ITransactionOutcomeEvents); +::windows::imp::interface_hierarchy!(ITransactionVoterNotifyAsync2, ::windows::core::IUnknown, ITransactionOutcomeEvents); impl ::core::cmp::PartialEq for ITransactionVoterNotifyAsync2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3516,7 +3516,7 @@ impl IXAConfig { (::windows::core::Vtable::vtable(self).Terminate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IXAConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXAConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXAConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3557,7 +3557,7 @@ impl IXAObtainRMInfo { (::windows::core::Vtable::vtable(self).ObtainRMInfo)(::windows::core::Vtable::as_raw(self), pirmhelper.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IXAObtainRMInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXAObtainRMInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXAObtainRMInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3595,7 +3595,7 @@ impl IXATransLookup { (::windows::core::Vtable::vtable(self).Lookup)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXATransLookup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXATransLookup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXATransLookup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3635,7 +3635,7 @@ impl IXATransLookup2 { (::windows::core::Vtable::vtable(self).Lookup)(::windows::core::Vtable::as_raw(self), pxid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IXATransLookup2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IXATransLookup2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IXATransLookup2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs index be3f89878d..5a1c17347f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn CallEnclave(lproutine: isize, lpparameter: *const ::core::ffi: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "vertdll.dll""system" fn CallEnclave ( lproutine : isize , lpparameter : *const ::core::ffi::c_void , fwaitforthread : super::super::Foundation:: BOOL , lpreturnvalue : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "vertdll.dll""system" fn CallEnclave ( lproutine : isize , lpparameter : *const ::core::ffi::c_void , fwaitforthread : super::super::Foundation:: BOOL , lpreturnvalue : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CallEnclave(lproutine, lpparameter, fwaitforthread.into(), lpreturnvalue) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn CreateEnclave(hprocess: P0, lpaddress: ::core::option::Option< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateEnclave ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , dwsize : usize , dwinitialcommitment : usize , flenclavetype : u32 , lpenclaveinformation : *const ::core::ffi::c_void , dwinfolength : u32 , lpenclaveerror : *mut u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateEnclave ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , dwsize : usize , dwinitialcommitment : usize , flenclavetype : u32 , lpenclaveinformation : *const ::core::ffi::c_void , dwinfolength : u32 , lpenclaveerror : *mut u32 ) -> *mut ::core::ffi::c_void ); CreateEnclave(hprocess.into(), ::core::mem::transmute(lpaddress.unwrap_or(::std::ptr::null())), dwsize, dwinitialcommitment, flenclavetype, lpenclaveinformation, dwinfolength, ::core::mem::transmute(lpenclaveerror.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -26,51 +26,51 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn CreateEnvironmentBlock ( lpenvironment : *mut *mut ::core::ffi::c_void , htoken : super::super::Foundation:: HANDLE , binherit : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn CreateEnvironmentBlock ( lpenvironment : *mut *mut ::core::ffi::c_void , htoken : super::super::Foundation:: HANDLE , binherit : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); CreateEnvironmentBlock(lpenvironment, htoken.into(), binherit.into()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteEnclave(lpaddress: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-enclave-l1-1-1.dll""system" fn DeleteEnclave ( lpaddress : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-enclave-l1-1-1.dll""system" fn DeleteEnclave ( lpaddress : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DeleteEnclave(lpaddress) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DestroyEnvironmentBlock(lpenvironment: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn DestroyEnvironmentBlock ( lpenvironment : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn DestroyEnvironmentBlock ( lpenvironment : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DestroyEnvironmentBlock(lpenvironment) } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn EnclaveGetAttestationReport(enclavedata: ::core::option::Option<*const u8>, report: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, outputsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vertdll.dll""system" fn EnclaveGetAttestationReport ( enclavedata : *const u8 , report : *mut ::core::ffi::c_void , buffersize : u32 , outputsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vertdll.dll""system" fn EnclaveGetAttestationReport ( enclavedata : *const u8 , report : *mut ::core::ffi::c_void , buffersize : u32 , outputsize : *mut u32 ) -> :: windows::core::HRESULT ); EnclaveGetAttestationReport(::core::mem::transmute(enclavedata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(report.unwrap_or(::std::ptr::null_mut())), buffersize, outputsize).ok() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn EnclaveGetEnclaveInformation(informationsize: u32, enclaveinformation: *mut ENCLAVE_INFORMATION) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vertdll.dll""system" fn EnclaveGetEnclaveInformation ( informationsize : u32 , enclaveinformation : *mut ENCLAVE_INFORMATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vertdll.dll""system" fn EnclaveGetEnclaveInformation ( informationsize : u32 , enclaveinformation : *mut ENCLAVE_INFORMATION ) -> :: windows::core::HRESULT ); EnclaveGetEnclaveInformation(informationsize, enclaveinformation).ok() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn EnclaveSealData(datatoencrypt: *const ::core::ffi::c_void, datatoencryptsize: u32, identitypolicy: ENCLAVE_SEALING_IDENTITY_POLICY, runtimepolicy: u32, protectedblob: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, protectedblobsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vertdll.dll""system" fn EnclaveSealData ( datatoencrypt : *const ::core::ffi::c_void , datatoencryptsize : u32 , identitypolicy : ENCLAVE_SEALING_IDENTITY_POLICY , runtimepolicy : u32 , protectedblob : *mut ::core::ffi::c_void , buffersize : u32 , protectedblobsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vertdll.dll""system" fn EnclaveSealData ( datatoencrypt : *const ::core::ffi::c_void , datatoencryptsize : u32 , identitypolicy : ENCLAVE_SEALING_IDENTITY_POLICY , runtimepolicy : u32 , protectedblob : *mut ::core::ffi::c_void , buffersize : u32 , protectedblobsize : *mut u32 ) -> :: windows::core::HRESULT ); EnclaveSealData(datatoencrypt, datatoencryptsize, identitypolicy, runtimepolicy, ::core::mem::transmute(protectedblob.unwrap_or(::std::ptr::null_mut())), buffersize, protectedblobsize).ok() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn EnclaveUnsealData(protectedblob: *const ::core::ffi::c_void, protectedblobsize: u32, decrypteddata: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, decrypteddatasize: *mut u32, sealingidentity: ::core::option::Option<*mut ENCLAVE_IDENTITY>, unsealingflags: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vertdll.dll""system" fn EnclaveUnsealData ( protectedblob : *const ::core::ffi::c_void , protectedblobsize : u32 , decrypteddata : *mut ::core::ffi::c_void , buffersize : u32 , decrypteddatasize : *mut u32 , sealingidentity : *mut ENCLAVE_IDENTITY , unsealingflags : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vertdll.dll""system" fn EnclaveUnsealData ( protectedblob : *const ::core::ffi::c_void , protectedblobsize : u32 , decrypteddata : *mut ::core::ffi::c_void , buffersize : u32 , decrypteddatasize : *mut u32 , sealingidentity : *mut ENCLAVE_IDENTITY , unsealingflags : *mut u32 ) -> :: windows::core::HRESULT ); EnclaveUnsealData(protectedblob, protectedblobsize, ::core::mem::transmute(decrypteddata.unwrap_or(::std::ptr::null_mut())), buffersize, decrypteddatasize, ::core::mem::transmute(sealingidentity.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(unsealingflags.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn EnclaveVerifyAttestationReport(enclavetype: u32, report: *const ::core::ffi::c_void, reportsize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vertdll.dll""system" fn EnclaveVerifyAttestationReport ( enclavetype : u32 , report : *const ::core::ffi::c_void , reportsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vertdll.dll""system" fn EnclaveVerifyAttestationReport ( enclavetype : u32 , report : *const ::core::ffi::c_void , reportsize : u32 ) -> :: windows::core::HRESULT ); EnclaveVerifyAttestationReport(enclavetype, report, reportsize).ok() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] @@ -79,7 +79,7 @@ pub unsafe fn ExpandEnvironmentStringsA(lpsrc: P0, lpdst: ::core::option::Op where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ExpandEnvironmentStringsA ( lpsrc : :: windows::core::PCSTR , lpdst : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ExpandEnvironmentStringsA ( lpsrc : :: windows::core::PCSTR , lpdst : :: windows::core::PSTR , nsize : u32 ) -> u32 ); ExpandEnvironmentStringsA(lpsrc.into().abi(), ::core::mem::transmute(lpdst.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdst.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -90,7 +90,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn ExpandEnvironmentStringsForUserA ( htoken : super::super::Foundation:: HANDLE , lpsrc : :: windows::core::PCSTR , lpdest : :: windows::core::PSTR , dwsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn ExpandEnvironmentStringsForUserA ( htoken : super::super::Foundation:: HANDLE , lpsrc : :: windows::core::PCSTR , lpdest : :: windows::core::PSTR , dwsize : u32 ) -> super::super::Foundation:: BOOL ); ExpandEnvironmentStringsForUserA(htoken.into(), lpsrc.into().abi(), ::core::mem::transmute(lpdest.as_ptr()), lpdest.len() as _) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -101,7 +101,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn ExpandEnvironmentStringsForUserW ( htoken : super::super::Foundation:: HANDLE , lpsrc : :: windows::core::PCWSTR , lpdest : :: windows::core::PWSTR , dwsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn ExpandEnvironmentStringsForUserW ( htoken : super::super::Foundation:: HANDLE , lpsrc : :: windows::core::PCWSTR , lpdest : :: windows::core::PWSTR , dwsize : u32 ) -> super::super::Foundation:: BOOL ); ExpandEnvironmentStringsForUserW(htoken.into(), lpsrc.into().abi(), ::core::mem::transmute(lpdest.as_ptr()), lpdest.len() as _) } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] @@ -110,7 +110,7 @@ pub unsafe fn ExpandEnvironmentStringsW(lpsrc: P0, lpdst: ::core::option::Op where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ExpandEnvironmentStringsW ( lpsrc : :: windows::core::PCWSTR , lpdst : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ExpandEnvironmentStringsW ( lpsrc : :: windows::core::PCWSTR , lpdst : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); ExpandEnvironmentStringsW(lpsrc.into().abi(), ::core::mem::transmute(lpdst.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdst.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -120,7 +120,7 @@ pub unsafe fn FreeEnvironmentStringsA(penv: P0) -> super::super::Foundation: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeEnvironmentStringsA ( penv : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeEnvironmentStringsA ( penv : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); FreeEnvironmentStringsA(penv.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -130,43 +130,43 @@ pub unsafe fn FreeEnvironmentStringsW(penv: P0) -> super::super::Foundation: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeEnvironmentStringsW ( penv : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeEnvironmentStringsW ( penv : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); FreeEnvironmentStringsW(penv.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn GetCommandLineA() -> ::windows::core::PSTR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCommandLineA ( ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCommandLineA ( ) -> :: windows::core::PSTR ); GetCommandLineA() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn GetCommandLineW() -> ::windows::core::PWSTR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCommandLineW ( ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCommandLineW ( ) -> :: windows::core::PWSTR ); GetCommandLineW() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn GetCurrentDirectoryA(lpbuffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentDirectoryA ( nbufferlength : u32 , lpbuffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentDirectoryA ( nbufferlength : u32 , lpbuffer : :: windows::core::PSTR ) -> u32 ); GetCurrentDirectoryA(lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn GetCurrentDirectoryW(lpbuffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentDirectoryW ( nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentDirectoryW ( nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR ) -> u32 ); GetCurrentDirectoryW(lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn GetEnvironmentStrings() -> ::windows::core::PSTR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetEnvironmentStrings ( ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetEnvironmentStrings ( ) -> :: windows::core::PSTR ); GetEnvironmentStrings() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] #[inline] pub unsafe fn GetEnvironmentStringsW() -> ::windows::core::PWSTR { - ::windows::core::link ! ( "kernel32.dll""system" fn GetEnvironmentStringsW ( ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetEnvironmentStringsW ( ) -> :: windows::core::PWSTR ); GetEnvironmentStringsW() } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] @@ -175,7 +175,7 @@ pub unsafe fn GetEnvironmentVariableA(lpname: P0, lpbuffer: ::core::option:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpbuffer : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpbuffer : :: windows::core::PSTR , nsize : u32 ) -> u32 ); GetEnvironmentVariableA(lpname.into().abi(), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] @@ -184,7 +184,7 @@ pub unsafe fn GetEnvironmentVariableW(lpname: P0, lpbuffer: ::core::option:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpbuffer : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpbuffer : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); GetEnvironmentVariableW(lpname.into().abi(), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -194,14 +194,14 @@ pub unsafe fn InitializeEnclave(hprocess: P0, lpaddress: *const ::core::ffi: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeEnclave ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , lpenclaveinformation : *const ::core::ffi::c_void , dwinfolength : u32 , lpenclaveerror : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeEnclave ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , lpenclaveinformation : *const ::core::ffi::c_void , dwinfolength : u32 , lpenclaveerror : *mut u32 ) -> super::super::Foundation:: BOOL ); InitializeEnclave(hprocess.into(), lpaddress, lpenclaveinformation, dwinfolength, ::core::mem::transmute(lpenclaveerror.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsEnclaveTypeSupported(flenclavetype: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsEnclaveTypeSupported ( flenclavetype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsEnclaveTypeSupported ( flenclavetype : u32 ) -> super::super::Foundation:: BOOL ); IsEnclaveTypeSupported(flenclavetype) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -211,7 +211,7 @@ pub unsafe fn LoadEnclaveData(hprocess: P0, lpaddress: *const ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn LoadEnclaveData ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , lpbuffer : *const ::core::ffi::c_void , nsize : usize , flprotect : u32 , lppageinformation : *const ::core::ffi::c_void , dwinfolength : u32 , lpnumberofbyteswritten : *mut usize , lpenclaveerror : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LoadEnclaveData ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , lpbuffer : *const ::core::ffi::c_void , nsize : usize , flprotect : u32 , lppageinformation : *const ::core::ffi::c_void , dwinfolength : u32 , lpnumberofbyteswritten : *mut usize , lpenclaveerror : *mut u32 ) -> super::super::Foundation:: BOOL ); LoadEnclaveData(hprocess.into(), lpaddress, lpbuffer, nsize, flprotect, lppageinformation, dwinfolength, lpnumberofbyteswritten, ::core::mem::transmute(lpenclaveerror.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -221,7 +221,7 @@ pub unsafe fn LoadEnclaveImageA(lpenclaveaddress: *const ::core::ffi::c_void where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-enclave-l1-1-1.dll""system" fn LoadEnclaveImageA ( lpenclaveaddress : *const ::core::ffi::c_void , lpimagename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-enclave-l1-1-1.dll""system" fn LoadEnclaveImageA ( lpenclaveaddress : *const ::core::ffi::c_void , lpimagename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); LoadEnclaveImageA(lpenclaveaddress, lpimagename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -231,7 +231,7 @@ pub unsafe fn LoadEnclaveImageW(lpenclaveaddress: *const ::core::ffi::c_void where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-enclave-l1-1-1.dll""system" fn LoadEnclaveImageW ( lpenclaveaddress : *const ::core::ffi::c_void , lpimagename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-enclave-l1-1-1.dll""system" fn LoadEnclaveImageW ( lpenclaveaddress : *const ::core::ffi::c_void , lpimagename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); LoadEnclaveImageW(lpenclaveaddress, lpimagename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -241,7 +241,7 @@ pub unsafe fn NeedCurrentDirectoryForExePathA(exename: P0) -> super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn NeedCurrentDirectoryForExePathA ( exename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn NeedCurrentDirectoryForExePathA ( exename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); NeedCurrentDirectoryForExePathA(exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -251,7 +251,7 @@ pub unsafe fn NeedCurrentDirectoryForExePathW(exename: P0) -> super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn NeedCurrentDirectoryForExePathW ( exename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn NeedCurrentDirectoryForExePathW ( exename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); NeedCurrentDirectoryForExePathW(exename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -261,7 +261,7 @@ pub unsafe fn SetCurrentDirectoryA(lppathname: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCurrentDirectoryA ( lppathname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCurrentDirectoryA ( lppathname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetCurrentDirectoryA(lppathname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -271,7 +271,7 @@ pub unsafe fn SetCurrentDirectoryW(lppathname: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCurrentDirectoryW ( lppathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCurrentDirectoryW ( lppathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetCurrentDirectoryW(lppathname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -281,7 +281,7 @@ pub unsafe fn SetEnvironmentStringsW(newenvironment: P0) -> super::super::Fo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetEnvironmentStringsW ( newenvironment : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetEnvironmentStringsW ( newenvironment : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetEnvironmentStringsW(newenvironment.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -292,7 +292,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpvalue : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpvalue : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetEnvironmentVariableA(lpname.into().abi(), lpvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -303,7 +303,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpvalue : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpvalue : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetEnvironmentVariableW(lpname.into().abi(), lpvalue.into().abi()) } #[doc = "*Required features: `\"Win32_System_Environment\"`, `\"Win32_Foundation\"`*"] @@ -313,7 +313,7 @@ pub unsafe fn TerminateEnclave(lpaddress: *const ::core::ffi::c_void, fwait: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "vertdll.dll""system" fn TerminateEnclave ( lpaddress : *const ::core::ffi::c_void , fwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "vertdll.dll""system" fn TerminateEnclave ( lpaddress : *const ::core::ffi::c_void , fwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); TerminateEnclave(lpaddress, fwait.into()) } #[doc = "*Required features: `\"Win32_System_Environment\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs index 9880afddba..c516e5e228 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn AddERExcludedApplicationA(szapplication: P0) -> super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "faultrep.dll""system" fn AddERExcludedApplicationA ( szapplication : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "faultrep.dll""system" fn AddERExcludedApplicationA ( szapplication : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AddERExcludedApplicationA(szapplication.into().abi()) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -15,14 +15,14 @@ pub unsafe fn AddERExcludedApplicationW(wszapplication: P0) -> super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "faultrep.dll""system" fn AddERExcludedApplicationW ( wszapplication : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "faultrep.dll""system" fn AddERExcludedApplicationW ( wszapplication : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AddERExcludedApplicationW(wszapplication.into().abi()) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn ReportFault(pep: *const super::Diagnostics::Debug::EXCEPTION_POINTERS, dwopt: u32) -> EFaultRepRetVal { - ::windows::core::link ! ( "faultrep.dll""system" fn ReportFault ( pep : *const super::Diagnostics::Debug:: EXCEPTION_POINTERS , dwopt : u32 ) -> EFaultRepRetVal ); + ::windows::imp::link ! ( "faultrep.dll""system" fn ReportFault ( pep : *const super::Diagnostics::Debug:: EXCEPTION_POINTERS , dwopt : u32 ) -> EFaultRepRetVal ); ReportFault(pep, dwopt) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -33,7 +33,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerAddExcludedApplication ( pwzexename : :: windows::core::PCWSTR , ballusers : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerAddExcludedApplication ( pwzexename : :: windows::core::PCWSTR , ballusers : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); WerAddExcludedApplication(pwzexename.into().abi(), ballusers.into()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -42,7 +42,7 @@ pub unsafe fn WerFreeString(pwszstr: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerFreeString ( pwszstr : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "wer.dll""system" fn WerFreeString ( pwszstr : :: windows::core::PCWSTR ) -> ( ) ); WerFreeString(pwszstr.into().abi()) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -52,14 +52,14 @@ pub unsafe fn WerGetFlags(hprocess: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "kernel32.dll""system" fn WerGetFlags ( hprocess : super::super::Foundation:: HANDLE , pdwflags : *mut WER_FAULT_REPORTING ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerGetFlags ( hprocess : super::super::Foundation:: HANDLE , pdwflags : *mut WER_FAULT_REPORTING ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WerGetFlags(hprocess.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerRegisterAdditionalProcess(processid: u32, captureextrainfoforthreadid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn WerRegisterAdditionalProcess ( processid : u32 , captureextrainfoforthreadid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterAdditionalProcess ( processid : u32 , captureextrainfoforthreadid : u32 ) -> :: windows::core::HRESULT ); WerRegisterAdditionalProcess(processid, captureextrainfoforthreadid).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -68,7 +68,7 @@ pub unsafe fn WerRegisterAppLocalDump(localappdatarelativepath: P0) -> ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WerRegisterAppLocalDump ( localappdatarelativepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterAppLocalDump ( localappdatarelativepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WerRegisterAppLocalDump(localappdatarelativepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -78,13 +78,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WerRegisterCustomMetadata ( key : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterCustomMetadata ( key : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WerRegisterCustomMetadata(key.into().abi(), value.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerRegisterExcludedMemoryBlock(address: *const ::core::ffi::c_void, size: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn WerRegisterExcludedMemoryBlock ( address : *const ::core::ffi::c_void , size : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterExcludedMemoryBlock ( address : *const ::core::ffi::c_void , size : u32 ) -> :: windows::core::HRESULT ); WerRegisterExcludedMemoryBlock(address, size).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -93,13 +93,13 @@ pub unsafe fn WerRegisterFile(pwzfile: P0, regfiletype: WER_REGISTER_FILE_TY where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WerRegisterFile ( pwzfile : :: windows::core::PCWSTR , regfiletype : WER_REGISTER_FILE_TYPE , dwflags : WER_FILE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterFile ( pwzfile : :: windows::core::PCWSTR , regfiletype : WER_REGISTER_FILE_TYPE , dwflags : WER_FILE ) -> :: windows::core::HRESULT ); WerRegisterFile(pwzfile.into().abi(), regfiletype, dwflags).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerRegisterMemoryBlock(pvaddress: *const ::core::ffi::c_void, dwsize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn WerRegisterMemoryBlock ( pvaddress : *const ::core::ffi::c_void , dwsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterMemoryBlock ( pvaddress : *const ::core::ffi::c_void , dwsize : u32 ) -> :: windows::core::HRESULT ); WerRegisterMemoryBlock(pvaddress, dwsize).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -108,7 +108,7 @@ pub unsafe fn WerRegisterRuntimeExceptionModule(pwszoutofprocesscallbackdll: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WerRegisterRuntimeExceptionModule ( pwszoutofprocesscallbackdll : :: windows::core::PCWSTR , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterRuntimeExceptionModule ( pwszoutofprocesscallbackdll : :: windows::core::PCWSTR , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WerRegisterRuntimeExceptionModule(pwszoutofprocesscallbackdll.into().abi(), pcontext).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -119,7 +119,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerRemoveExcludedApplication ( pwzexename : :: windows::core::PCWSTR , ballusers : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerRemoveExcludedApplication ( pwzexename : :: windows::core::PCWSTR , ballusers : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); WerRemoveExcludedApplication(pwzexename.into().abi(), ballusers.into()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"] @@ -131,7 +131,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerReportAddDump ( hreporthandle : HREPORT , hprocess : super::super::Foundation:: HANDLE , hthread : super::super::Foundation:: HANDLE , dumptype : WER_DUMP_TYPE , pexceptionparam : *const WER_EXCEPTION_INFORMATION , pdumpcustomoptions : *const WER_DUMP_CUSTOM_OPTIONS , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerReportAddDump ( hreporthandle : HREPORT , hprocess : super::super::Foundation:: HANDLE , hthread : super::super::Foundation:: HANDLE , dumptype : WER_DUMP_TYPE , pexceptionparam : *const WER_EXCEPTION_INFORMATION , pdumpcustomoptions : *const WER_DUMP_CUSTOM_OPTIONS , dwflags : u32 ) -> :: windows::core::HRESULT ); WerReportAddDump(hreporthandle.into(), hprocess.into(), hthread.into(), dumptype, ::core::mem::transmute(pexceptionparam.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdumpcustomoptions.unwrap_or(::std::ptr::null())), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -141,7 +141,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerReportAddFile ( hreporthandle : HREPORT , pwzpath : :: windows::core::PCWSTR , repfiletype : WER_FILE_TYPE , dwfileflags : WER_FILE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerReportAddFile ( hreporthandle : HREPORT , pwzpath : :: windows::core::PCWSTR , repfiletype : WER_FILE_TYPE , dwfileflags : WER_FILE ) -> :: windows::core::HRESULT ); WerReportAddFile(hreporthandle.into(), pwzpath.into().abi(), repfiletype, dwfileflags).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -150,7 +150,7 @@ pub unsafe fn WerReportCloseHandle(hreporthandle: P0) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerReportCloseHandle ( hreporthandle : HREPORT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerReportCloseHandle ( hreporthandle : HREPORT ) -> :: windows::core::HRESULT ); WerReportCloseHandle(hreporthandle.into()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -160,7 +160,7 @@ pub unsafe fn WerReportCreate(pwzeventtype: P0, reptype: WER_REPORT_TYPE, pr where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerReportCreate ( pwzeventtype : :: windows::core::PCWSTR , reptype : WER_REPORT_TYPE , preportinformation : *const WER_REPORT_INFORMATION , phreporthandle : *mut HREPORT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerReportCreate ( pwzeventtype : :: windows::core::PCWSTR , reptype : WER_REPORT_TYPE , preportinformation : *const WER_REPORT_INFORMATION , phreporthandle : *mut HREPORT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WerReportCreate(pwzeventtype.into().abi(), reptype, ::core::mem::transmute(preportinformation.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -172,7 +172,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "faultrep.dll""system" fn WerReportHang ( hwndhungapp : super::super::Foundation:: HWND , pwzhungapplicationname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "faultrep.dll""system" fn WerReportHang ( hwndhungapp : super::super::Foundation:: HWND , pwzhungapplicationname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WerReportHang(hwndhungapp.into(), pwzhungapplicationname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -183,7 +183,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerReportSetParameter ( hreporthandle : HREPORT , dwparamid : u32 , pwzname : :: windows::core::PCWSTR , pwzvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerReportSetParameter ( hreporthandle : HREPORT , dwparamid : u32 , pwzname : :: windows::core::PCWSTR , pwzvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WerReportSetParameter(hreporthandle.into(), dwparamid, pwzname.into().abi(), pwzvalue.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -193,7 +193,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerReportSetUIOption ( hreporthandle : HREPORT , repuitypeid : WER_REPORT_UI , pwzvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerReportSetUIOption ( hreporthandle : HREPORT , repuitypeid : WER_REPORT_UI , pwzvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WerReportSetUIOption(hreporthandle.into(), repuitypeid, pwzvalue.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -202,13 +202,13 @@ pub unsafe fn WerReportSubmit(hreporthandle: P0, consent: WER_CONSENT, dwfla where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerReportSubmit ( hreporthandle : HREPORT , consent : WER_CONSENT , dwflags : WER_SUBMIT_FLAGS , psubmitresult : *mut WER_SUBMIT_RESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerReportSubmit ( hreporthandle : HREPORT , consent : WER_CONSENT , dwflags : WER_SUBMIT_FLAGS , psubmitresult : *mut WER_SUBMIT_RESULT ) -> :: windows::core::HRESULT ); WerReportSubmit(hreporthandle.into(), consent, dwflags, ::core::mem::transmute(psubmitresult.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerSetFlags(dwflags: WER_FAULT_REPORTING) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn WerSetFlags ( dwflags : WER_FAULT_REPORTING ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerSetFlags ( dwflags : WER_FAULT_REPORTING ) -> :: windows::core::HRESULT ); WerSetFlags(dwflags).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -217,7 +217,7 @@ pub unsafe fn WerStoreClose(hreportstore: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreClose ( hreportstore : HREPORTSTORE ) -> ( ) ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreClose ( hreportstore : HREPORTSTORE ) -> ( ) ); WerStoreClose(hreportstore.into()) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -226,7 +226,7 @@ pub unsafe fn WerStoreGetFirstReportKey(hreportstore: P0, ppszreportkey: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreGetFirstReportKey ( hreportstore : HREPORTSTORE , ppszreportkey : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreGetFirstReportKey ( hreportstore : HREPORTSTORE , ppszreportkey : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); WerStoreGetFirstReportKey(hreportstore.into(), ::core::mem::transmute(ppszreportkey.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -235,7 +235,7 @@ pub unsafe fn WerStoreGetNextReportKey(hreportstore: P0, ppszreportkey: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreGetNextReportKey ( hreportstore : HREPORTSTORE , ppszreportkey : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreGetNextReportKey ( hreportstore : HREPORTSTORE , ppszreportkey : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); WerStoreGetNextReportKey(hreportstore.into(), ::core::mem::transmute(ppszreportkey.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -244,7 +244,7 @@ pub unsafe fn WerStoreGetReportCount(hreportstore: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreGetReportCount ( hreportstore : HREPORTSTORE , pdwreportcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreGetReportCount ( hreportstore : HREPORTSTORE , pdwreportcount : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WerStoreGetReportCount(hreportstore.into(), &mut result__).from_abi(result__) } @@ -254,21 +254,21 @@ pub unsafe fn WerStoreGetSizeOnDisk(hreportstore: P0) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreGetSizeOnDisk ( hreportstore : HREPORTSTORE , pqwsizeinbytes : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreGetSizeOnDisk ( hreportstore : HREPORTSTORE , pqwsizeinbytes : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WerStoreGetSizeOnDisk(hreportstore.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES) -> ::windows::core::Result { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreOpen ( repstoretype : REPORT_STORE_TYPES , phreportstore : *mut HREPORTSTORE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreOpen ( repstoretype : REPORT_STORE_TYPES , phreportstore : *mut HREPORTSTORE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WerStoreOpen(repstoretype, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerStorePurge() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wer.dll""system" fn WerStorePurge ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStorePurge ( ) -> :: windows::core::HRESULT ); WerStorePurge().ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -279,7 +279,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV1 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V1 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV1 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V1 ) -> :: windows::core::HRESULT ); WerStoreQueryReportMetadataV1(hreportstore.into(), pszreportkey.into().abi(), preportmetadata).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -290,7 +290,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV2 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V2 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV2 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V2 ) -> :: windows::core::HRESULT ); WerStoreQueryReportMetadataV2(hreportstore.into(), pszreportkey.into().abi(), preportmetadata).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"] @@ -301,7 +301,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV3 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V3 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV3 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V3 ) -> :: windows::core::HRESULT ); WerStoreQueryReportMetadataV3(hreportstore.into(), pszreportkey.into().abi(), preportmetadata).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -311,19 +311,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wer.dll""system" fn WerStoreUploadReport ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , dwflags : u32 , psubmitresult : *mut WER_SUBMIT_RESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wer.dll""system" fn WerStoreUploadReport ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , dwflags : u32 , psubmitresult : *mut WER_SUBMIT_RESULT ) -> :: windows::core::HRESULT ); WerStoreUploadReport(hreportstore.into(), pszreportkey.into().abi(), dwflags, ::core::mem::transmute(psubmitresult.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerUnregisterAdditionalProcess(processid: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn WerUnregisterAdditionalProcess ( processid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterAdditionalProcess ( processid : u32 ) -> :: windows::core::HRESULT ); WerUnregisterAdditionalProcess(processid).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerUnregisterAppLocalDump() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn WerUnregisterAppLocalDump ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterAppLocalDump ( ) -> :: windows::core::HRESULT ); WerUnregisterAppLocalDump().ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -332,13 +332,13 @@ pub unsafe fn WerUnregisterCustomMetadata(key: P0) -> ::windows::core::Resul where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WerUnregisterCustomMetadata ( key : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterCustomMetadata ( key : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WerUnregisterCustomMetadata(key.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerUnregisterExcludedMemoryBlock(address: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn WerUnregisterExcludedMemoryBlock ( address : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterExcludedMemoryBlock ( address : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WerUnregisterExcludedMemoryBlock(address).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -347,13 +347,13 @@ pub unsafe fn WerUnregisterFile(pwzfilepath: P0) -> ::windows::core::Result< where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WerUnregisterFile ( pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterFile ( pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WerUnregisterFile(pwzfilepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] #[inline] pub unsafe fn WerUnregisterMemoryBlock(pvaddress: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn WerUnregisterMemoryBlock ( pvaddress : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterMemoryBlock ( pvaddress : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WerUnregisterMemoryBlock(pvaddress).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] @@ -362,7 +362,7 @@ pub unsafe fn WerUnregisterRuntimeExceptionModule(pwszoutofprocesscallbackdl where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WerUnregisterRuntimeExceptionModule ( pwszoutofprocesscallbackdll : :: windows::core::PCWSTR , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterRuntimeExceptionModule ( pwszoutofprocesscallbackdll : :: windows::core::PCWSTR , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WerUnregisterRuntimeExceptionModule(pwszoutofprocesscallbackdll.into().abi(), pcontext).ok() } #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/EventCollector/mod.rs b/crates/libs/windows/src/Windows/Win32/System/EventCollector/mod.rs index efdcdb9404..7545295b9a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventCollector/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventCollector/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcClose(object: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcClose ( object : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcClose ( object : isize ) -> super::super::Foundation:: BOOL ); EcClose(object) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] @@ -12,35 +12,35 @@ pub unsafe fn EcDeleteSubscription(subscriptionname: P0, flags: u32) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wecapi.dll""system" fn EcDeleteSubscription ( subscriptionname : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcDeleteSubscription ( subscriptionname : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); EcDeleteSubscription(subscriptionname.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcEnumNextSubscription(subscriptionenum: isize, subscriptionnamebuffer: ::core::option::Option<&mut [u16]>, subscriptionnamebufferused: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcEnumNextSubscription ( subscriptionenum : isize , subscriptionnamebuffersize : u32 , subscriptionnamebuffer : :: windows::core::PWSTR , subscriptionnamebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcEnumNextSubscription ( subscriptionenum : isize , subscriptionnamebuffersize : u32 , subscriptionnamebuffer : :: windows::core::PWSTR , subscriptionnamebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EcEnumNextSubscription(subscriptionenum, subscriptionnamebuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(subscriptionnamebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), subscriptionnamebufferused) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcGetObjectArrayProperty(objectarray: isize, propertyid: EC_SUBSCRIPTION_PROPERTY_ID, arrayindex: u32, flags: u32, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EC_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcGetObjectArrayProperty ( objectarray : isize , propertyid : EC_SUBSCRIPTION_PROPERTY_ID , arrayindex : u32 , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EC_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcGetObjectArrayProperty ( objectarray : isize , propertyid : EC_SUBSCRIPTION_PROPERTY_ID , arrayindex : u32 , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EC_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EcGetObjectArrayProperty(objectarray, propertyid, arrayindex, flags, propertyvaluebuffersize, propertyvaluebuffer, propertyvaluebufferused) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcGetObjectArraySize(objectarray: isize, objectarraysize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcGetObjectArraySize ( objectarray : isize , objectarraysize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcGetObjectArraySize ( objectarray : isize , objectarraysize : *mut u32 ) -> super::super::Foundation:: BOOL ); EcGetObjectArraySize(objectarray, objectarraysize) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcGetSubscriptionProperty(subscription: isize, propertyid: EC_SUBSCRIPTION_PROPERTY_ID, flags: u32, propertyvaluebuffersize: u32, propertyvaluebuffer: *mut EC_VARIANT, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcGetSubscriptionProperty ( subscription : isize , propertyid : EC_SUBSCRIPTION_PROPERTY_ID , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EC_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcGetSubscriptionProperty ( subscription : isize , propertyid : EC_SUBSCRIPTION_PROPERTY_ID , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EC_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EcGetSubscriptionProperty(subscription, propertyid, flags, propertyvaluebuffersize, propertyvaluebuffer, propertyvaluebufferused) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] @@ -51,14 +51,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wecapi.dll""system" fn EcGetSubscriptionRunTimeStatus ( subscriptionname : :: windows::core::PCWSTR , statusinfoid : EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID , eventsourcename : :: windows::core::PCWSTR , flags : u32 , statusvaluebuffersize : u32 , statusvaluebuffer : *mut EC_VARIANT , statusvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcGetSubscriptionRunTimeStatus ( subscriptionname : :: windows::core::PCWSTR , statusinfoid : EC_SUBSCRIPTION_RUNTIME_STATUS_INFO_ID , eventsourcename : :: windows::core::PCWSTR , flags : u32 , statusvaluebuffersize : u32 , statusvaluebuffer : *mut EC_VARIANT , statusvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EcGetSubscriptionRunTimeStatus(subscriptionname.into().abi(), statusinfoid, eventsourcename.into().abi(), flags, statusvaluebuffersize, statusvaluebuffer, statusvaluebufferused) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcInsertObjectArrayElement(objectarray: isize, arrayindex: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcInsertObjectArrayElement ( objectarray : isize , arrayindex : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcInsertObjectArrayElement ( objectarray : isize , arrayindex : u32 ) -> super::super::Foundation:: BOOL ); EcInsertObjectArrayElement(objectarray, arrayindex) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`*"] @@ -67,20 +67,20 @@ pub unsafe fn EcOpenSubscription(subscriptionname: P0, accessmask: u32, flag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wecapi.dll""system" fn EcOpenSubscription ( subscriptionname : :: windows::core::PCWSTR , accessmask : u32 , flags : u32 ) -> isize ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcOpenSubscription ( subscriptionname : :: windows::core::PCWSTR , accessmask : u32 , flags : u32 ) -> isize ); EcOpenSubscription(subscriptionname.into().abi(), accessmask, flags) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`*"] #[inline] pub unsafe fn EcOpenSubscriptionEnum(flags: u32) -> isize { - ::windows::core::link ! ( "wecapi.dll""system" fn EcOpenSubscriptionEnum ( flags : u32 ) -> isize ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcOpenSubscriptionEnum ( flags : u32 ) -> isize ); EcOpenSubscriptionEnum(flags) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcRemoveObjectArrayElement(objectarray: isize, arrayindex: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcRemoveObjectArrayElement ( objectarray : isize , arrayindex : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcRemoveObjectArrayElement ( objectarray : isize , arrayindex : u32 ) -> super::super::Foundation:: BOOL ); EcRemoveObjectArrayElement(objectarray, arrayindex) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] @@ -91,28 +91,28 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wecapi.dll""system" fn EcRetrySubscription ( subscriptionname : :: windows::core::PCWSTR , eventsourcename : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcRetrySubscription ( subscriptionname : :: windows::core::PCWSTR , eventsourcename : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); EcRetrySubscription(subscriptionname.into().abi(), eventsourcename.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcSaveSubscription(subscription: isize, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcSaveSubscription ( subscription : isize , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcSaveSubscription ( subscription : isize , flags : u32 ) -> super::super::Foundation:: BOOL ); EcSaveSubscription(subscription, flags) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcSetObjectArrayProperty(objectarray: isize, propertyid: EC_SUBSCRIPTION_PROPERTY_ID, arrayindex: u32, flags: u32, propertyvalue: *mut EC_VARIANT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcSetObjectArrayProperty ( objectarray : isize , propertyid : EC_SUBSCRIPTION_PROPERTY_ID , arrayindex : u32 , flags : u32 , propertyvalue : *mut EC_VARIANT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcSetObjectArrayProperty ( objectarray : isize , propertyid : EC_SUBSCRIPTION_PROPERTY_ID , arrayindex : u32 , flags : u32 , propertyvalue : *mut EC_VARIANT ) -> super::super::Foundation:: BOOL ); EcSetObjectArrayProperty(objectarray, propertyid, arrayindex, flags, propertyvalue) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EcSetSubscriptionProperty(subscription: isize, propertyid: EC_SUBSCRIPTION_PROPERTY_ID, flags: u32, propertyvalue: *mut EC_VARIANT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wecapi.dll""system" fn EcSetSubscriptionProperty ( subscription : isize , propertyid : EC_SUBSCRIPTION_PROPERTY_ID , flags : u32 , propertyvalue : *mut EC_VARIANT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wecapi.dll""system" fn EcSetSubscriptionProperty ( subscription : isize , propertyid : EC_SUBSCRIPTION_PROPERTY_ID , flags : u32 , propertyvalue : *mut EC_VARIANT ) -> super::super::Foundation:: BOOL ); EcSetSubscriptionProperty(subscription, propertyid, flags, propertyvalue) } #[doc = "*Required features: `\"Win32_System_EventCollector\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/EventLog/mod.rs b/crates/libs/windows/src/Windows/Win32/System/EventLog/mod.rs index 897abca6dd..79638415c3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventLog/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventLog/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BackupEventLogA ( heventlog : EventLogHandle , lpbackupfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BackupEventLogA ( heventlog : EventLogHandle , lpbackupfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); BackupEventLogA(heventlog.into(), lpbackupfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn BackupEventLogW ( heventlog : EventLogHandle , lpbackupfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn BackupEventLogW ( heventlog : EventLogHandle , lpbackupfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); BackupEventLogW(heventlog.into(), lpbackupfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -28,7 +28,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ClearEventLogA ( heventlog : EventLogHandle , lpbackupfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ClearEventLogA ( heventlog : EventLogHandle , lpbackupfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); ClearEventLogA(heventlog.into(), lpbackupfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -39,7 +39,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ClearEventLogW ( heventlog : EventLogHandle , lpbackupfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ClearEventLogW ( heventlog : EventLogHandle , lpbackupfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ClearEventLogW(heventlog.into(), lpbackupfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -49,7 +49,7 @@ pub unsafe fn CloseEventLog(heventlog: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CloseEventLog ( heventlog : EventLogHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CloseEventLog ( heventlog : EventLogHandle ) -> super::super::Foundation:: BOOL ); CloseEventLog(heventlog.into()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -59,7 +59,7 @@ pub unsafe fn DeregisterEventSource(heventlog: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn DeregisterEventSource ( heventlog : EventSourceHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DeregisterEventSource ( heventlog : EventSourceHandle ) -> super::super::Foundation:: BOOL ); DeregisterEventSource(heventlog.into()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -70,7 +70,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtArchiveExportedLog ( session : EVT_HANDLE , logfilepath : :: windows::core::PCWSTR , locale : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtArchiveExportedLog ( session : EVT_HANDLE , logfilepath : :: windows::core::PCWSTR , locale : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); EvtArchiveExportedLog(session.into(), logfilepath.into().abi(), locale, flags) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -80,7 +80,7 @@ pub unsafe fn EvtCancel(object: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtCancel ( object : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtCancel ( object : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); EvtCancel(object.into()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -92,7 +92,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtClearLog ( session : EVT_HANDLE , channelpath : :: windows::core::PCWSTR , targetfilepath : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtClearLog ( session : EVT_HANDLE , channelpath : :: windows::core::PCWSTR , targetfilepath : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); EvtClearLog(session.into(), channelpath.into().abi(), targetfilepath.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -102,7 +102,7 @@ pub unsafe fn EvtClose(object: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtClose ( object : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtClose ( object : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); EvtClose(object.into()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] @@ -111,16 +111,16 @@ pub unsafe fn EvtCreateBookmark(bookmarkxml: P0) -> ::windows::core::Result< where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtCreateBookmark ( bookmarkxml : :: windows::core::PCWSTR ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtCreateBookmark ( bookmarkxml : :: windows::core::PCWSTR ) -> EVT_HANDLE ); let result__ = EvtCreateBookmark(bookmarkxml.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] pub unsafe fn EvtCreateRenderContext(valuepaths: ::core::option::Option<&[::windows::core::PCWSTR]>, flags: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtCreateRenderContext ( valuepathscount : u32 , valuepaths : *const :: windows::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtCreateRenderContext ( valuepathscount : u32 , valuepaths : *const :: windows::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtCreateRenderContext(valuepaths.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(valuepaths.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -132,7 +132,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtExportLog ( session : EVT_HANDLE , path : :: windows::core::PCWSTR , query : :: windows::core::PCWSTR , targetfilepath : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtExportLog ( session : EVT_HANDLE , path : :: windows::core::PCWSTR , query : :: windows::core::PCWSTR , targetfilepath : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); EvtExportLog(session.into(), path.into().abi(), query.into().abi(), targetfilepath.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -143,7 +143,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtFormatMessage ( publishermetadata : EVT_HANDLE , event : EVT_HANDLE , messageid : u32 , valuecount : u32 , values : *const EVT_VARIANT , flags : u32 , buffersize : u32 , buffer : :: windows::core::PWSTR , bufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtFormatMessage ( publishermetadata : EVT_HANDLE , event : EVT_HANDLE , messageid : u32 , valuecount : u32 , values : *const EVT_VARIANT , flags : u32 , buffersize : u32 , buffer : :: windows::core::PWSTR , bufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtFormatMessage(publishermetadata.into(), event.into(), messageid, values.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(values.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), flags, buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), bufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -153,7 +153,7 @@ pub unsafe fn EvtGetChannelConfigProperty(channelconfig: P0, propertyid: EVT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetChannelConfigProperty ( channelconfig : EVT_HANDLE , propertyid : EVT_CHANNEL_CONFIG_PROPERTY_ID , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetChannelConfigProperty ( channelconfig : EVT_HANDLE , propertyid : EVT_CHANNEL_CONFIG_PROPERTY_ID , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtGetChannelConfigProperty(channelconfig.into(), propertyid, flags, propertyvaluebuffersize, ::core::mem::transmute(propertyvaluebuffer.unwrap_or(::std::ptr::null_mut())), propertyvaluebufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -163,7 +163,7 @@ pub unsafe fn EvtGetEventInfo(event: P0, propertyid: EVT_EVENT_PROPERTY_ID, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetEventInfo ( event : EVT_HANDLE , propertyid : EVT_EVENT_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetEventInfo ( event : EVT_HANDLE , propertyid : EVT_EVENT_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtGetEventInfo(event.into(), propertyid, propertyvaluebuffersize, ::core::mem::transmute(propertyvaluebuffer.unwrap_or(::std::ptr::null_mut())), propertyvaluebufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -173,13 +173,13 @@ pub unsafe fn EvtGetEventMetadataProperty(eventmetadata: P0, propertyid: EVT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetEventMetadataProperty ( eventmetadata : EVT_HANDLE , propertyid : EVT_EVENT_METADATA_PROPERTY_ID , flags : u32 , eventmetadatapropertybuffersize : u32 , eventmetadatapropertybuffer : *mut EVT_VARIANT , eventmetadatapropertybufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetEventMetadataProperty ( eventmetadata : EVT_HANDLE , propertyid : EVT_EVENT_METADATA_PROPERTY_ID , flags : u32 , eventmetadatapropertybuffersize : u32 , eventmetadatapropertybuffer : *mut EVT_VARIANT , eventmetadatapropertybufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtGetEventMetadataProperty(eventmetadata.into(), propertyid, flags, eventmetadatapropertybuffersize, ::core::mem::transmute(eventmetadatapropertybuffer.unwrap_or(::std::ptr::null_mut())), eventmetadatapropertybufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] pub unsafe fn EvtGetExtendedStatus(buffer: ::core::option::Option<&mut [u16]>, bufferused: *mut u32) -> u32 { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetExtendedStatus ( buffersize : u32 , buffer : :: windows::core::PWSTR , bufferused : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetExtendedStatus ( buffersize : u32 , buffer : :: windows::core::PWSTR , bufferused : *mut u32 ) -> u32 ); EvtGetExtendedStatus(buffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(buffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), bufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -189,21 +189,21 @@ pub unsafe fn EvtGetLogInfo(log: P0, propertyid: EVT_LOG_PROPERTY_ID, proper where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetLogInfo ( log : EVT_HANDLE , propertyid : EVT_LOG_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetLogInfo ( log : EVT_HANDLE , propertyid : EVT_LOG_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtGetLogInfo(log.into(), propertyid, propertyvaluebuffersize, ::core::mem::transmute(propertyvaluebuffer.unwrap_or(::std::ptr::null_mut())), propertyvaluebufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EvtGetObjectArrayProperty(objectarray: isize, propertyid: u32, arrayindex: u32, flags: u32, propertyvaluebuffersize: u32, propertyvaluebuffer: ::core::option::Option<*mut EVT_VARIANT>, propertyvaluebufferused: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetObjectArrayProperty ( objectarray : isize , propertyid : u32 , arrayindex : u32 , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetObjectArrayProperty ( objectarray : isize , propertyid : u32 , arrayindex : u32 , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtGetObjectArrayProperty(objectarray, propertyid, arrayindex, flags, propertyvaluebuffersize, ::core::mem::transmute(propertyvaluebuffer.unwrap_or(::std::ptr::null_mut())), propertyvaluebufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EvtGetObjectArraySize(objectarray: isize, objectarraysize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetObjectArraySize ( objectarray : isize , objectarraysize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetObjectArraySize ( objectarray : isize , objectarraysize : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtGetObjectArraySize(objectarray, objectarraysize) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -213,7 +213,7 @@ pub unsafe fn EvtGetPublisherMetadataProperty(publishermetadata: P0, propert where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetPublisherMetadataProperty ( publishermetadata : EVT_HANDLE , propertyid : EVT_PUBLISHER_METADATA_PROPERTY_ID , flags : u32 , publishermetadatapropertybuffersize : u32 , publishermetadatapropertybuffer : *mut EVT_VARIANT , publishermetadatapropertybufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetPublisherMetadataProperty ( publishermetadata : EVT_HANDLE , propertyid : EVT_PUBLISHER_METADATA_PROPERTY_ID , flags : u32 , publishermetadatapropertybuffersize : u32 , publishermetadatapropertybuffer : *mut EVT_VARIANT , publishermetadatapropertybufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtGetPublisherMetadataProperty(publishermetadata.into(), propertyid, flags, publishermetadatapropertybuffersize, ::core::mem::transmute(publishermetadatapropertybuffer.unwrap_or(::std::ptr::null_mut())), publishermetadatapropertybufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -223,7 +223,7 @@ pub unsafe fn EvtGetQueryInfo(queryorsubscription: P0, propertyid: EVT_QUERY where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtGetQueryInfo ( queryorsubscription : EVT_HANDLE , propertyid : EVT_QUERY_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtGetQueryInfo ( queryorsubscription : EVT_HANDLE , propertyid : EVT_QUERY_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtGetQueryInfo(queryorsubscription.into(), propertyid, propertyvaluebuffersize, ::core::mem::transmute(propertyvaluebuffer.unwrap_or(::std::ptr::null_mut())), propertyvaluebufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -233,7 +233,7 @@ pub unsafe fn EvtNext(resultset: P0, events: &mut [isize], timeout: u32, fla where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtNext ( resultset : EVT_HANDLE , eventssize : u32 , events : *mut isize , timeout : u32 , flags : u32 , returned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtNext ( resultset : EVT_HANDLE , eventssize : u32 , events : *mut isize , timeout : u32 , flags : u32 , returned : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtNext(resultset.into(), events.len() as _, ::core::mem::transmute(events.as_ptr()), timeout, flags, returned) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -243,7 +243,7 @@ pub unsafe fn EvtNextChannelPath(channelenum: P0, channelpathbuffer: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtNextChannelPath ( channelenum : EVT_HANDLE , channelpathbuffersize : u32 , channelpathbuffer : :: windows::core::PWSTR , channelpathbufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtNextChannelPath ( channelenum : EVT_HANDLE , channelpathbuffersize : u32 , channelpathbuffer : :: windows::core::PWSTR , channelpathbufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtNextChannelPath(channelenum.into(), channelpathbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(channelpathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), channelpathbufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] @@ -252,9 +252,9 @@ pub unsafe fn EvtNextEventMetadata(eventmetadataenum: P0, flags: u32) -> ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtNextEventMetadata ( eventmetadataenum : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtNextEventMetadata ( eventmetadataenum : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtNextEventMetadata(eventmetadataenum.into(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -263,7 +263,7 @@ pub unsafe fn EvtNextPublisherId(publisherenum: P0, publisheridbuffer: ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtNextPublisherId ( publisherenum : EVT_HANDLE , publisheridbuffersize : u32 , publisheridbuffer : :: windows::core::PWSTR , publisheridbufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtNextPublisherId ( publisherenum : EVT_HANDLE , publisheridbuffersize : u32 , publisheridbuffer : :: windows::core::PWSTR , publisheridbufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtNextPublisherId(publisherenum.into(), publisheridbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(publisheridbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), publisheridbufferused) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] @@ -273,9 +273,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtOpenChannelConfig ( session : EVT_HANDLE , channelpath : :: windows::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtOpenChannelConfig ( session : EVT_HANDLE , channelpath : :: windows::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtOpenChannelConfig(session.into(), channelpath.into().abi(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -283,9 +283,9 @@ pub unsafe fn EvtOpenChannelEnum(session: P0, flags: u32) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtOpenChannelEnum ( session : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtOpenChannelEnum ( session : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtOpenChannelEnum(session.into(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -293,9 +293,9 @@ pub unsafe fn EvtOpenEventMetadataEnum(publishermetadata: P0, flags: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtOpenEventMetadataEnum ( publishermetadata : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtOpenEventMetadataEnum ( publishermetadata : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtOpenEventMetadataEnum(publishermetadata.into(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -304,9 +304,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtOpenLog ( session : EVT_HANDLE , path : :: windows::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtOpenLog ( session : EVT_HANDLE , path : :: windows::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtOpenLog(session.into(), path.into().abi(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -314,9 +314,9 @@ pub unsafe fn EvtOpenPublisherEnum(session: P0, flags: u32) -> ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtOpenPublisherEnum ( session : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtOpenPublisherEnum ( session : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtOpenPublisherEnum(session.into(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -326,16 +326,16 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtOpenPublisherMetadata ( session : EVT_HANDLE , publisherid : :: windows::core::PCWSTR , logfilepath : :: windows::core::PCWSTR , locale : u32 , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtOpenPublisherMetadata ( session : EVT_HANDLE , publisherid : :: windows::core::PCWSTR , logfilepath : :: windows::core::PCWSTR , locale : u32 , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtOpenPublisherMetadata(session.into(), publisherid.into().abi(), logfilepath.into().abi(), locale, flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] pub unsafe fn EvtOpenSession(loginclass: EVT_LOGIN_CLASS, login: *const ::core::ffi::c_void, timeout: u32, flags: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtOpenSession ( loginclass : EVT_LOGIN_CLASS , login : *const ::core::ffi::c_void , timeout : u32 , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtOpenSession ( loginclass : EVT_LOGIN_CLASS , login : *const ::core::ffi::c_void , timeout : u32 , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtOpenSession(loginclass, login, timeout, flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -345,9 +345,9 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtQuery ( session : EVT_HANDLE , path : :: windows::core::PCWSTR , query : :: windows::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtQuery ( session : EVT_HANDLE , path : :: windows::core::PCWSTR , query : :: windows::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtQuery(session.into(), path.into().abi(), query.into().abi(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -357,7 +357,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtRender ( context : EVT_HANDLE , fragment : EVT_HANDLE , flags : u32 , buffersize : u32 , buffer : *mut ::core::ffi::c_void , bufferused : *mut u32 , propertycount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtRender ( context : EVT_HANDLE , fragment : EVT_HANDLE , flags : u32 , buffersize : u32 , buffer : *mut ::core::ffi::c_void , bufferused : *mut u32 , propertycount : *mut u32 ) -> super::super::Foundation:: BOOL ); EvtRender(context.into(), fragment.into(), flags, buffersize, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), bufferused, propertycount) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -367,7 +367,7 @@ pub unsafe fn EvtSaveChannelConfig(channelconfig: P0, flags: u32) -> super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtSaveChannelConfig ( channelconfig : EVT_HANDLE , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtSaveChannelConfig ( channelconfig : EVT_HANDLE , flags : u32 ) -> super::super::Foundation:: BOOL ); EvtSaveChannelConfig(channelconfig.into(), flags) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -378,7 +378,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtSeek ( resultset : EVT_HANDLE , position : i64 , bookmark : EVT_HANDLE , timeout : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtSeek ( resultset : EVT_HANDLE , position : i64 , bookmark : EVT_HANDLE , timeout : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); EvtSeek(resultset.into(), position, bookmark.into(), timeout, flags) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -388,7 +388,7 @@ pub unsafe fn EvtSetChannelConfigProperty(channelconfig: P0, propertyid: EVT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtSetChannelConfigProperty ( channelconfig : EVT_HANDLE , propertyid : EVT_CHANNEL_CONFIG_PROPERTY_ID , flags : u32 , propertyvalue : *const EVT_VARIANT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtSetChannelConfigProperty ( channelconfig : EVT_HANDLE , propertyid : EVT_CHANNEL_CONFIG_PROPERTY_ID , flags : u32 , propertyvalue : *const EVT_VARIANT ) -> super::super::Foundation:: BOOL ); EvtSetChannelConfigProperty(channelconfig.into(), propertyid, flags, propertyvalue) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -402,9 +402,9 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtSubscribe ( session : EVT_HANDLE , signalevent : super::super::Foundation:: HANDLE , channelpath : :: windows::core::PCWSTR , query : :: windows::core::PCWSTR , bookmark : EVT_HANDLE , context : *const ::core::ffi::c_void , callback : EVT_SUBSCRIBE_CALLBACK , flags : u32 ) -> EVT_HANDLE ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtSubscribe ( session : EVT_HANDLE , signalevent : super::super::Foundation:: HANDLE , channelpath : :: windows::core::PCWSTR , query : :: windows::core::PCWSTR , bookmark : EVT_HANDLE , context : *const ::core::ffi::c_void , callback : EVT_SUBSCRIBE_CALLBACK , flags : u32 ) -> EVT_HANDLE ); let result__ = EvtSubscribe(session.into(), signalevent.into(), channelpath.into().abi(), query.into().abi(), bookmark.into(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), callback, flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -414,7 +414,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wevtapi.dll""system" fn EvtUpdateBookmark ( bookmark : EVT_HANDLE , event : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wevtapi.dll""system" fn EvtUpdateBookmark ( bookmark : EVT_HANDLE , event : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); EvtUpdateBookmark(bookmark.into(), event.into()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -424,7 +424,7 @@ pub unsafe fn GetEventLogInformation(heventlog: P0, dwinfolevel: u32, lpbuff where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetEventLogInformation ( heventlog : EventLogHandle , dwinfolevel : u32 , lpbuffer : *mut ::core::ffi::c_void , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetEventLogInformation ( heventlog : EventLogHandle , dwinfolevel : u32 , lpbuffer : *mut ::core::ffi::c_void , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetEventLogInformation(heventlog.into(), dwinfolevel, lpbuffer, cbbufsize, pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -434,7 +434,7 @@ pub unsafe fn GetNumberOfEventLogRecords(heventlog: P0, numberofrecords: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetNumberOfEventLogRecords ( heventlog : EventLogHandle , numberofrecords : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetNumberOfEventLogRecords ( heventlog : EventLogHandle , numberofrecords : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNumberOfEventLogRecords(heventlog.into(), numberofrecords) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -444,7 +444,7 @@ pub unsafe fn GetOldestEventLogRecord(heventlog: P0, oldestrecord: *mut u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetOldestEventLogRecord ( heventlog : EventLogHandle , oldestrecord : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetOldestEventLogRecord ( heventlog : EventLogHandle , oldestrecord : *mut u32 ) -> super::super::Foundation:: BOOL ); GetOldestEventLogRecord(heventlog.into(), oldestrecord) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -455,7 +455,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn NotifyChangeEventLog ( heventlog : EventLogHandle , hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn NotifyChangeEventLog ( heventlog : EventLogHandle , hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); NotifyChangeEventLog(heventlog.into(), hevent.into()) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] @@ -465,9 +465,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenBackupEventLogA ( lpuncservername : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR ) -> EventLogHandle ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenBackupEventLogA ( lpuncservername : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR ) -> EventLogHandle ); let result__ = OpenBackupEventLogA(lpuncservername.into().abi(), lpfilename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -476,9 +476,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenBackupEventLogW ( lpuncservername : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> EventLogHandle ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenBackupEventLogW ( lpuncservername : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> EventLogHandle ); let result__ = OpenBackupEventLogW(lpuncservername.into().abi(), lpfilename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -487,9 +487,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenEventLogA ( lpuncservername : :: windows::core::PCSTR , lpsourcename : :: windows::core::PCSTR ) -> EventLogHandle ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenEventLogA ( lpuncservername : :: windows::core::PCSTR , lpsourcename : :: windows::core::PCSTR ) -> EventLogHandle ); let result__ = OpenEventLogA(lpuncservername.into().abi(), lpsourcename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -498,9 +498,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenEventLogW ( lpuncservername : :: windows::core::PCWSTR , lpsourcename : :: windows::core::PCWSTR ) -> EventLogHandle ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenEventLogW ( lpuncservername : :: windows::core::PCWSTR , lpsourcename : :: windows::core::PCWSTR ) -> EventLogHandle ); let result__ = OpenEventLogW(lpuncservername.into().abi(), lpsourcename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -509,7 +509,7 @@ pub unsafe fn ReadEventLogA(heventlog: P0, dwreadflags: READ_EVENT_LOG_READ_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ReadEventLogA ( heventlog : EventLogHandle , dwreadflags : READ_EVENT_LOG_READ_FLAGS , dwrecordoffset : u32 , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , pnbytesread : *mut u32 , pnminnumberofbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ReadEventLogA ( heventlog : EventLogHandle , dwreadflags : READ_EVENT_LOG_READ_FLAGS , dwrecordoffset : u32 , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , pnbytesread : *mut u32 , pnminnumberofbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadEventLogA(heventlog.into(), dwreadflags, dwrecordoffset, lpbuffer, nnumberofbytestoread, pnbytesread, pnminnumberofbytesneeded) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -519,7 +519,7 @@ pub unsafe fn ReadEventLogW(heventlog: P0, dwreadflags: READ_EVENT_LOG_READ_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ReadEventLogW ( heventlog : EventLogHandle , dwreadflags : READ_EVENT_LOG_READ_FLAGS , dwrecordoffset : u32 , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , pnbytesread : *mut u32 , pnminnumberofbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ReadEventLogW ( heventlog : EventLogHandle , dwreadflags : READ_EVENT_LOG_READ_FLAGS , dwrecordoffset : u32 , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , pnbytesread : *mut u32 , pnminnumberofbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); ReadEventLogW(heventlog.into(), dwreadflags, dwrecordoffset, lpbuffer, nnumberofbytestoread, pnbytesread, pnminnumberofbytesneeded) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] @@ -529,9 +529,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterEventSourceA ( lpuncservername : :: windows::core::PCSTR , lpsourcename : :: windows::core::PCSTR ) -> EventSourceHandle ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterEventSourceA ( lpuncservername : :: windows::core::PCSTR , lpsourcename : :: windows::core::PCSTR ) -> EventSourceHandle ); let result__ = RegisterEventSourceA(lpuncservername.into().abi(), lpsourcename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] #[inline] @@ -540,9 +540,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterEventSourceW ( lpuncservername : :: windows::core::PCWSTR , lpsourcename : :: windows::core::PCWSTR ) -> EventSourceHandle ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterEventSourceW ( lpuncservername : :: windows::core::PCWSTR , lpsourcename : :: windows::core::PCWSTR ) -> EventSourceHandle ); let result__ = RegisterEventSourceW(lpuncservername.into().abi(), lpsourcename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -552,7 +552,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ReportEventA ( heventlog : EventSourceHandle , wtype : REPORT_EVENT_TYPE , wcategory : u16 , dweventid : u32 , lpusersid : super::super::Foundation:: PSID , wnumstrings : u16 , dwdatasize : u32 , lpstrings : *const :: windows::core::PCSTR , lprawdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ReportEventA ( heventlog : EventSourceHandle , wtype : REPORT_EVENT_TYPE , wcategory : u16 , dweventid : u32 , lpusersid : super::super::Foundation:: PSID , wnumstrings : u16 , dwdatasize : u32 , lpstrings : *const :: windows::core::PCSTR , lprawdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ReportEventA(heventlog.into(), wtype, wcategory, dweventid, lpusersid.into(), lpstrings.as_deref().map_or(0, |slice| slice.len() as _), dwdatasize, ::core::mem::transmute(lpstrings.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(lprawdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] @@ -563,7 +563,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ReportEventW ( heventlog : EventSourceHandle , wtype : REPORT_EVENT_TYPE , wcategory : u16 , dweventid : u32 , lpusersid : super::super::Foundation:: PSID , wnumstrings : u16 , dwdatasize : u32 , lpstrings : *const :: windows::core::PCWSTR , lprawdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ReportEventW ( heventlog : EventSourceHandle , wtype : REPORT_EVENT_TYPE , wcategory : u16 , dweventid : u32 , lpusersid : super::super::Foundation:: PSID , wnumstrings : u16 , dwdatasize : u32 , lpstrings : *const :: windows::core::PCWSTR , lprawdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ReportEventW(heventlog.into(), wtype, wcategory, dweventid, lpusersid.into(), lpstrings.as_deref().map_or(0, |slice| slice.len() as _), dwdatasize, ::core::mem::transmute(lpstrings.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(lprawdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs index 5d80671dd9..0d564a53ee 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn IsDestinationReachableA(lpszdestination: P0, lpqocinfo: *mut Q where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "sensapi.dll""system" fn IsDestinationReachableA ( lpszdestination : :: windows::core::PCSTR , lpqocinfo : *mut QOCINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sensapi.dll""system" fn IsDestinationReachableA ( lpszdestination : :: windows::core::PCSTR , lpqocinfo : *mut QOCINFO ) -> super::super::Foundation:: BOOL ); IsDestinationReachableA(lpszdestination.into().abi(), lpqocinfo) } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] @@ -15,14 +15,14 @@ pub unsafe fn IsDestinationReachableW(lpszdestination: P0, lpqocinfo: *mut Q where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "sensapi.dll""system" fn IsDestinationReachableW ( lpszdestination : :: windows::core::PCWSTR , lpqocinfo : *mut QOCINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sensapi.dll""system" fn IsDestinationReachableW ( lpszdestination : :: windows::core::PCWSTR , lpqocinfo : *mut QOCINFO ) -> super::super::Foundation:: BOOL ); IsDestinationReachableW(lpszdestination.into().abi(), lpqocinfo) } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsNetworkAlive(lpdwflags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "sensapi.dll""system" fn IsNetworkAlive ( lpdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sensapi.dll""system" fn IsNetworkAlive ( lpdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); IsNetworkAlive(lpdwflags) } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_System_Com\"`*"] @@ -54,7 +54,7 @@ impl ISensLogon { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISensLogon, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISensLogon, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISensLogon { fn eq(&self, other: &Self) -> bool { @@ -119,7 +119,7 @@ impl ISensLogon2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISensLogon2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISensLogon2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISensLogon2 { fn eq(&self, other: &Self) -> bool { @@ -182,7 +182,7 @@ impl ISensNetwork { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISensNetwork, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISensNetwork, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISensNetwork { fn eq(&self, other: &Self) -> bool { @@ -239,7 +239,7 @@ impl ISensOnNow { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISensOnNow, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISensOnNow, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISensOnNow { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs index 611ca95efe..bcc3b89fc1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BrowseForGPO(lpbrowseinfo: *mut GPOBROWSEINFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "gpedit.dll""system" fn BrowseForGPO ( lpbrowseinfo : *mut GPOBROWSEINFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "gpedit.dll""system" fn BrowseForGPO ( lpbrowseinfo : *mut GPOBROWSEINFO ) -> :: windows::core::HRESULT ); BrowseForGPO(lpbrowseinfo).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -11,7 +11,7 @@ pub unsafe fn CommandLineFromMsiDescriptor(descriptor: P0, commandline: ::wi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CommandLineFromMsiDescriptor ( descriptor : :: windows::core::PCWSTR , commandline : :: windows::core::PWSTR , commandlinelength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CommandLineFromMsiDescriptor ( descriptor : :: windows::core::PCWSTR , commandline : :: windows::core::PWSTR , commandlinelength : *mut u32 ) -> u32 ); CommandLineFromMsiDescriptor(descriptor.into().abi(), ::core::mem::transmute(commandline), commandlinelength) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -23,7 +23,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "gpedit.dll""system" fn CreateGPOLink ( lpgpo : :: windows::core::PCWSTR , lpcontainer : :: windows::core::PCWSTR , fhighpriority : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "gpedit.dll""system" fn CreateGPOLink ( lpgpo : :: windows::core::PCWSTR , lpcontainer : :: windows::core::PCWSTR , fhighpriority : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); CreateGPOLink(lpgpo.into().abi(), lpcontainer.into().abi(), fhighpriority.into()).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -32,7 +32,7 @@ pub unsafe fn DeleteAllGPOLinks(lpcontainer: P0) -> ::windows::core::Result< where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gpedit.dll""system" fn DeleteAllGPOLinks ( lpcontainer : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "gpedit.dll""system" fn DeleteAllGPOLinks ( lpcontainer : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DeleteAllGPOLinks(lpcontainer.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -42,7 +42,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gpedit.dll""system" fn DeleteGPOLink ( lpgpo : :: windows::core::PCWSTR , lpcontainer : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "gpedit.dll""system" fn DeleteGPOLink ( lpgpo : :: windows::core::PCWSTR , lpcontainer : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); DeleteGPOLink(lpgpo.into().abi(), lpcontainer.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -52,9 +52,9 @@ pub unsafe fn EnterCriticalPolicySection(bmachine: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn EnterCriticalPolicySection ( bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "userenv.dll""system" fn EnterCriticalPolicySection ( bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); let result__ = EnterCriticalPolicySection(bmachine.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] #[inline] @@ -63,21 +63,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gpedit.dll""system" fn ExportRSoPData ( lpnamespace : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "gpedit.dll""system" fn ExportRSoPData ( lpnamespace : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); ExportRSoPData(lpnamespace.into().abi(), lpfilename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeGPOListA(pgpolist: *const GROUP_POLICY_OBJECTA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn FreeGPOListA ( pgpolist : *const GROUP_POLICY_OBJECTA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn FreeGPOListA ( pgpolist : *const GROUP_POLICY_OBJECTA ) -> super::super::Foundation:: BOOL ); FreeGPOListA(pgpolist) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeGPOListW(pgpolist: *const GROUP_POLICY_OBJECTW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn FreeGPOListW ( pgpolist : *const GROUP_POLICY_OBJECTW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn FreeGPOListW ( pgpolist : *const GROUP_POLICY_OBJECTW ) -> super::super::Foundation:: BOOL ); FreeGPOListW(pgpolist) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -88,7 +88,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn GenerateGPNotification ( bmachine : super::super::Foundation:: BOOL , lpwszmgmtproduct : :: windows::core::PCWSTR , dwmgmtproductoptions : u32 ) -> u32 ); + ::windows::imp::link ! ( "userenv.dll""system" fn GenerateGPNotification ( bmachine : super::super::Foundation:: BOOL , lpwszmgmtproduct : :: windows::core::PCWSTR , dwmgmtproductoptions : u32 ) -> u32 ); GenerateGPNotification(bmachine.into(), lpwszmgmtproduct.into().abi(), dwmgmtproductoptions) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -99,7 +99,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn GetAppliedGPOListA ( dwflags : u32 , pmachinename : :: windows::core::PCSTR , psiduser : super::super::Foundation:: PSID , pguidextension : *const :: windows::core::GUID , ppgpolist : *mut *mut GROUP_POLICY_OBJECTA ) -> u32 ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetAppliedGPOListA ( dwflags : u32 , pmachinename : :: windows::core::PCSTR , psiduser : super::super::Foundation:: PSID , pguidextension : *const :: windows::core::GUID , ppgpolist : *mut *mut GROUP_POLICY_OBJECTA ) -> u32 ); GetAppliedGPOListA(dwflags, pmachinename.into().abi(), psiduser.into(), pguidextension, ppgpolist) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -110,7 +110,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn GetAppliedGPOListW ( dwflags : u32 , pmachinename : :: windows::core::PCWSTR , psiduser : super::super::Foundation:: PSID , pguidextension : *const :: windows::core::GUID , ppgpolist : *mut *mut GROUP_POLICY_OBJECTW ) -> u32 ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetAppliedGPOListW ( dwflags : u32 , pmachinename : :: windows::core::PCWSTR , psiduser : super::super::Foundation:: PSID , pguidextension : *const :: windows::core::GUID , ppgpolist : *mut *mut GROUP_POLICY_OBJECTW ) -> u32 ); GetAppliedGPOListW(dwflags, pmachinename.into().abi(), psiduser.into(), pguidextension, ppgpolist) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -123,7 +123,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn GetGPOListA ( htoken : super::super::Foundation:: HANDLE , lpname : :: windows::core::PCSTR , lphostname : :: windows::core::PCSTR , lpcomputername : :: windows::core::PCSTR , dwflags : u32 , pgpolist : *mut *mut GROUP_POLICY_OBJECTA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetGPOListA ( htoken : super::super::Foundation:: HANDLE , lpname : :: windows::core::PCSTR , lphostname : :: windows::core::PCSTR , lpcomputername : :: windows::core::PCSTR , dwflags : u32 , pgpolist : *mut *mut GROUP_POLICY_OBJECTA ) -> super::super::Foundation:: BOOL ); GetGPOListA(htoken.into(), lpname.into().abi(), lphostname.into().abi(), lpcomputername.into().abi(), dwflags, pgpolist) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -136,7 +136,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn GetGPOListW ( htoken : super::super::Foundation:: HANDLE , lpname : :: windows::core::PCWSTR , lphostname : :: windows::core::PCWSTR , lpcomputername : :: windows::core::PCWSTR , dwflags : u32 , pgpolist : *mut *mut GROUP_POLICY_OBJECTW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetGPOListW ( htoken : super::super::Foundation:: HANDLE , lpname : :: windows::core::PCWSTR , lphostname : :: windows::core::PCWSTR , lpcomputername : :: windows::core::PCWSTR , dwflags : u32 , pgpolist : *mut *mut GROUP_POLICY_OBJECTW ) -> super::super::Foundation:: BOOL ); GetGPOListW(htoken.into(), lpname.into().abi(), lphostname.into().abi(), lpcomputername.into().abi(), dwflags, pgpolist) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -145,7 +145,7 @@ pub unsafe fn GetLocalManagedApplicationData(productcode: P0, displayname: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetLocalManagedApplicationData ( productcode : :: windows::core::PCWSTR , displayname : *mut :: windows::core::PWSTR , supporturl : *mut :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetLocalManagedApplicationData ( productcode : :: windows::core::PCWSTR , displayname : *mut :: windows::core::PWSTR , supporturl : *mut :: windows::core::PWSTR ) -> ( ) ); GetLocalManagedApplicationData(productcode.into().abi(), displayname, supporturl) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -155,21 +155,21 @@ pub unsafe fn GetLocalManagedApplications(buserapps: P0, pdwapps: *mut u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetLocalManagedApplications ( buserapps : super::super::Foundation:: BOOL , pdwapps : *mut u32 , prglocalapps : *mut *mut LOCALMANAGEDAPPLICATION ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetLocalManagedApplications ( buserapps : super::super::Foundation:: BOOL , pdwapps : *mut u32 , prglocalapps : *mut *mut LOCALMANAGEDAPPLICATION ) -> u32 ); GetLocalManagedApplications(buserapps.into(), pdwapps, prglocalapps) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_UI_Shell\"`*"] #[cfg(feature = "Win32_UI_Shell")] #[inline] pub unsafe fn GetManagedApplicationCategories(dwreserved: u32, pappcategory: *mut super::super::UI::Shell::APPCATEGORYINFOLIST) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn GetManagedApplicationCategories ( dwreserved : u32 , pappcategory : *mut super::super::UI::Shell:: APPCATEGORYINFOLIST ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetManagedApplicationCategories ( dwreserved : u32 , pappcategory : *mut super::super::UI::Shell:: APPCATEGORYINFOLIST ) -> u32 ); GetManagedApplicationCategories(dwreserved, pappcategory) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetManagedApplications(pcategory: *const ::windows::core::GUID, dwqueryflags: u32, dwinfolevel: u32, pdwapps: *mut u32, prgmanagedapps: *mut *mut MANAGEDAPPLICATION) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn GetManagedApplications ( pcategory : *const :: windows::core::GUID , dwqueryflags : u32 , dwinfolevel : u32 , pdwapps : *mut u32 , prgmanagedapps : *mut *mut MANAGEDAPPLICATION ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetManagedApplications ( pcategory : *const :: windows::core::GUID , dwqueryflags : u32 , dwinfolevel : u32 , pdwapps : *mut u32 , prgmanagedapps : *mut *mut MANAGEDAPPLICATION ) -> u32 ); GetManagedApplications(pcategory, dwqueryflags, dwinfolevel, pdwapps, prgmanagedapps) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -179,13 +179,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gpedit.dll""system" fn ImportRSoPData ( lpnamespace : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "gpedit.dll""system" fn ImportRSoPData ( lpnamespace : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); ImportRSoPData(lpnamespace.into().abi(), lpfilename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] #[inline] pub unsafe fn InstallApplication(pinstallinfo: *const INSTALLDATA) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn InstallApplication ( pinstallinfo : *const INSTALLDATA ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InstallApplication ( pinstallinfo : *const INSTALLDATA ) -> u32 ); InstallApplication(pinstallinfo) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -195,19 +195,19 @@ pub unsafe fn LeaveCriticalPolicySection(hsection: P0) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn LeaveCriticalPolicySection ( hsection : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn LeaveCriticalPolicySection ( hsection : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); LeaveCriticalPolicySection(hsection.into()) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] #[inline] pub unsafe fn ProcessGroupPolicyCompleted(extensionid: *const ::windows::core::GUID, pasynchandle: usize, dwstatus: u32) -> u32 { - ::windows::core::link ! ( "userenv.dll""system" fn ProcessGroupPolicyCompleted ( extensionid : *const :: windows::core::GUID , pasynchandle : usize , dwstatus : u32 ) -> u32 ); + ::windows::imp::link ! ( "userenv.dll""system" fn ProcessGroupPolicyCompleted ( extensionid : *const :: windows::core::GUID , pasynchandle : usize , dwstatus : u32 ) -> u32 ); ProcessGroupPolicyCompleted(extensionid, pasynchandle, dwstatus) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] #[inline] pub unsafe fn ProcessGroupPolicyCompletedEx(extensionid: *const ::windows::core::GUID, pasynchandle: usize, dwstatus: u32, rsopstatus: ::windows::core::HRESULT) -> u32 { - ::windows::core::link ! ( "userenv.dll""system" fn ProcessGroupPolicyCompletedEx ( extensionid : *const :: windows::core::GUID , pasynchandle : usize , dwstatus : u32 , rsopstatus : :: windows::core::HRESULT ) -> u32 ); + ::windows::imp::link ! ( "userenv.dll""system" fn ProcessGroupPolicyCompletedEx ( extensionid : *const :: windows::core::GUID , pasynchandle : usize , dwstatus : u32 , rsopstatus : :: windows::core::HRESULT ) -> u32 ); ProcessGroupPolicyCompletedEx(extensionid, pasynchandle, dwstatus, rsopstatus) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -217,7 +217,7 @@ pub unsafe fn RefreshPolicy(bmachine: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn RefreshPolicy ( bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn RefreshPolicy ( bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); RefreshPolicy(bmachine.into()) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -227,7 +227,7 @@ pub unsafe fn RefreshPolicyEx(bmachine: P0, dwoptions: u32) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn RefreshPolicyEx ( bmachine : super::super::Foundation:: BOOL , dwoptions : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn RefreshPolicyEx ( bmachine : super::super::Foundation:: BOOL , dwoptions : u32 ) -> super::super::Foundation:: BOOL ); RefreshPolicyEx(bmachine.into(), dwoptions) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -238,7 +238,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn RegisterGPNotification ( hevent : super::super::Foundation:: HANDLE , bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn RegisterGPNotification ( hevent : super::super::Foundation:: HANDLE , bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); RegisterGPNotification(hevent.into(), bmachine.into()) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -249,7 +249,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn RsopAccessCheckByType ( psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , pprincipalselfsid : super::super::Foundation:: PSID , prsoptoken : *const ::core::ffi::c_void , dwdesiredaccessmask : u32 , pobjecttypelist : *const super::super::Security:: OBJECT_TYPE_LIST , objecttypelistlength : u32 , pgenericmapping : *const super::super::Security:: GENERIC_MAPPING , pprivilegeset : *const super::super::Security:: PRIVILEGE_SET , pdwprivilegesetlength : *const u32 , pdwgrantedaccessmask : *mut u32 , pbaccessstatus : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn RsopAccessCheckByType ( psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , pprincipalselfsid : super::super::Foundation:: PSID , prsoptoken : *const ::core::ffi::c_void , dwdesiredaccessmask : u32 , pobjecttypelist : *const super::super::Security:: OBJECT_TYPE_LIST , objecttypelistlength : u32 , pgenericmapping : *const super::super::Security:: GENERIC_MAPPING , pprivilegeset : *const super::super::Security:: PRIVILEGE_SET , pdwprivilegesetlength : *const u32 , pdwgrantedaccessmask : *mut u32 , pbaccessstatus : *mut i32 ) -> :: windows::core::HRESULT ); RsopAccessCheckByType(psecuritydescriptor.into(), pprincipalselfsid.into(), prsoptoken, dwdesiredaccessmask, ::core::mem::transmute(pobjecttypelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pobjecttypelist.as_deref().map_or(0, |slice| slice.len() as _), pgenericmapping, ::core::mem::transmute(pprivilegeset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdwprivilegesetlength.unwrap_or(::std::ptr::null())), pdwgrantedaccessmask, pbaccessstatus).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -258,7 +258,7 @@ pub unsafe fn RsopFileAccessCheck(pszfilename: P0, prsoptoken: *const ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn RsopFileAccessCheck ( pszfilename : :: windows::core::PCWSTR , prsoptoken : *const ::core::ffi::c_void , dwdesiredaccessmask : u32 , pdwgrantedaccessmask : *mut u32 , pbaccessstatus : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn RsopFileAccessCheck ( pszfilename : :: windows::core::PCWSTR , prsoptoken : *const ::core::ffi::c_void , dwdesiredaccessmask : u32 , pdwgrantedaccessmask : *mut u32 , pbaccessstatus : *mut i32 ) -> :: windows::core::HRESULT ); RsopFileAccessCheck(pszfilename.into().abi(), prsoptoken, dwdesiredaccessmask, pdwgrantedaccessmask, pbaccessstatus).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Wmi\"`*"] @@ -269,7 +269,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "userenv.dll""system" fn RsopResetPolicySettingStatus ( dwflags : u32 , pservices : * mut::core::ffi::c_void , psettinginstance : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn RsopResetPolicySettingStatus ( dwflags : u32 , pservices : * mut::core::ffi::c_void , psettinginstance : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); RsopResetPolicySettingStatus(dwflags, pservices.into().abi(), psettinginstance.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Wmi\"`*"] @@ -280,7 +280,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "userenv.dll""system" fn RsopSetPolicySettingStatus ( dwflags : u32 , pservices : * mut::core::ffi::c_void , psettinginstance : * mut::core::ffi::c_void , ninfo : u32 , pstatus : *const POLICYSETTINGSTATUSINFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn RsopSetPolicySettingStatus ( dwflags : u32 , pservices : * mut::core::ffi::c_void , psettinginstance : * mut::core::ffi::c_void , ninfo : u32 , pstatus : *const POLICYSETTINGSTATUSINFO ) -> :: windows::core::HRESULT ); RsopSetPolicySettingStatus(dwflags, pservices.into().abi(), psettinginstance.into().abi(), pstatus.len() as _, ::core::mem::transmute(pstatus.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -289,7 +289,7 @@ pub unsafe fn UninstallApplication(productcode: P0, dwstatus: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn UninstallApplication ( productcode : :: windows::core::PCWSTR , dwstatus : u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn UninstallApplication ( productcode : :: windows::core::PCWSTR , dwstatus : u32 ) -> u32 ); UninstallApplication(productcode.into().abi(), dwstatus) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] @@ -299,7 +299,7 @@ pub unsafe fn UnregisterGPNotification(hevent: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn UnregisterGPNotification ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn UnregisterGPNotification ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); UnregisterGPNotification(hevent.into()) } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -342,7 +342,7 @@ impl IGPEInformation { (::windows::core::Vtable::vtable(self).PolicyChanged)(::windows::core::Vtable::as_raw(self), bmachine.into(), badd.into(), pguidextension, pguidsnapin).ok() } } -::windows::core::interface_hierarchy!(IGPEInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGPEInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGPEInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -465,7 +465,7 @@ impl IGPM { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPM, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPM, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPM { fn eq(&self, other: &Self) -> bool { @@ -634,7 +634,7 @@ impl IGPM2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPM2, ::windows::core::IUnknown, super::Com::IDispatch, IGPM); +::windows::imp::interface_hierarchy!(IGPM2, ::windows::core::IUnknown, super::Com::IDispatch, IGPM); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPM2 { fn eq(&self, other: &Self) -> bool { @@ -685,7 +685,7 @@ impl IGPMAsyncCancel { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMAsyncCancel, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMAsyncCancel, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMAsyncCancel { fn eq(&self, other: &Self) -> bool { @@ -737,7 +737,7 @@ impl IGPMAsyncProgress { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMAsyncProgress, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMAsyncProgress, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMAsyncProgress { fn eq(&self, other: &Self) -> bool { @@ -826,7 +826,7 @@ impl IGPMBackup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMBackup, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMBackup, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMBackup { fn eq(&self, other: &Self) -> bool { @@ -901,7 +901,7 @@ impl IGPMBackupCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMBackupCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMBackupCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMBackupCollection { fn eq(&self, other: &Self) -> bool { @@ -972,7 +972,7 @@ impl IGPMBackupDir { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMBackupDir, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMBackupDir, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMBackupDir { fn eq(&self, other: &Self) -> bool { @@ -1047,7 +1047,7 @@ impl IGPMBackupDirEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMBackupDirEx, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMBackupDirEx, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMBackupDirEx { fn eq(&self, other: &Self) -> bool { @@ -1116,7 +1116,7 @@ impl IGPMCSECollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMCSECollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMCSECollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMCSECollection { fn eq(&self, other: &Self) -> bool { @@ -1188,7 +1188,7 @@ impl IGPMClientSideExtension { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMClientSideExtension, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMClientSideExtension, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMClientSideExtension { fn eq(&self, other: &Self) -> bool { @@ -1494,7 +1494,7 @@ impl IGPMConstants { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMConstants, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMConstants, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMConstants { fn eq(&self, other: &Self) -> bool { @@ -1916,7 +1916,7 @@ impl IGPMConstants2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMConstants2, ::windows::core::IUnknown, super::Com::IDispatch, IGPMConstants); +::windows::imp::interface_hierarchy!(IGPMConstants2, ::windows::core::IUnknown, super::Com::IDispatch, IGPMConstants); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMConstants2 { fn eq(&self, other: &Self) -> bool { @@ -2041,7 +2041,7 @@ impl IGPMDomain { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMDomain, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMDomain, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMDomain { fn eq(&self, other: &Self) -> bool { @@ -2231,7 +2231,7 @@ impl IGPMDomain2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMDomain2, ::windows::core::IUnknown, super::Com::IDispatch, IGPMDomain); +::windows::imp::interface_hierarchy!(IGPMDomain2, ::windows::core::IUnknown, super::Com::IDispatch, IGPMDomain); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMDomain2 { fn eq(&self, other: &Self) -> bool { @@ -2426,7 +2426,7 @@ impl IGPMDomain3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMDomain3, ::windows::core::IUnknown, super::Com::IDispatch, IGPMDomain, IGPMDomain2); +::windows::imp::interface_hierarchy!(IGPMDomain3, ::windows::core::IUnknown, super::Com::IDispatch, IGPMDomain, IGPMDomain2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMDomain3 { fn eq(&self, other: &Self) -> bool { @@ -2633,7 +2633,7 @@ impl IGPMGPO { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMGPO, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMGPO, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMGPO { fn eq(&self, other: &Self) -> bool { @@ -2917,7 +2917,7 @@ impl IGPMGPO2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMGPO2, ::windows::core::IUnknown, super::Com::IDispatch, IGPMGPO); +::windows::imp::interface_hierarchy!(IGPMGPO2, ::windows::core::IUnknown, super::Com::IDispatch, IGPMGPO); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMGPO2 { fn eq(&self, other: &Self) -> bool { @@ -3136,7 +3136,7 @@ impl IGPMGPO3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMGPO3, ::windows::core::IUnknown, super::Com::IDispatch, IGPMGPO, IGPMGPO2); +::windows::imp::interface_hierarchy!(IGPMGPO3, ::windows::core::IUnknown, super::Com::IDispatch, IGPMGPO, IGPMGPO2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMGPO3 { fn eq(&self, other: &Self) -> bool { @@ -3198,7 +3198,7 @@ impl IGPMGPOCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMGPOCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMGPOCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMGPOCollection { fn eq(&self, other: &Self) -> bool { @@ -3299,7 +3299,7 @@ impl IGPMGPOLink { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMGPOLink, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMGPOLink, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMGPOLink { fn eq(&self, other: &Self) -> bool { @@ -3382,7 +3382,7 @@ impl IGPMGPOLinksCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMGPOLinksCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMGPOLinksCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMGPOLinksCollection { fn eq(&self, other: &Self) -> bool { @@ -3450,7 +3450,7 @@ impl IGPMMapEntry { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMMapEntry, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMMapEntry, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMMapEntry { fn eq(&self, other: &Self) -> bool { @@ -3513,7 +3513,7 @@ impl IGPMMapEntryCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMMapEntryCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMMapEntryCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMMapEntryCollection { fn eq(&self, other: &Self) -> bool { @@ -3606,7 +3606,7 @@ impl IGPMMigrationTable { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMMigrationTable, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMMigrationTable, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMMigrationTable { fn eq(&self, other: &Self) -> bool { @@ -3703,7 +3703,7 @@ impl IGPMPermission { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMPermission, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMPermission, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMPermission { fn eq(&self, other: &Self) -> bool { @@ -3908,7 +3908,7 @@ impl IGPMRSOP { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMRSOP, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMRSOP, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMRSOP { fn eq(&self, other: &Self) -> bool { @@ -4034,7 +4034,7 @@ impl IGPMResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMResult, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMResult, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMResult { fn eq(&self, other: &Self) -> bool { @@ -4147,7 +4147,7 @@ impl IGPMSOM { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMSOM, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMSOM, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMSOM { fn eq(&self, other: &Self) -> bool { @@ -4237,7 +4237,7 @@ impl IGPMSOMCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMSOMCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMSOMCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMSOMCollection { fn eq(&self, other: &Self) -> bool { @@ -4294,7 +4294,7 @@ impl IGPMSearchCriteria { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMSearchCriteria, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMSearchCriteria, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMSearchCriteria { fn eq(&self, other: &Self) -> bool { @@ -4376,7 +4376,7 @@ impl IGPMSecurityInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMSecurityInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMSecurityInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMSecurityInfo { fn eq(&self, other: &Self) -> bool { @@ -4464,7 +4464,7 @@ impl IGPMSitesContainer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMSitesContainer, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMSitesContainer, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMSitesContainer { fn eq(&self, other: &Self) -> bool { @@ -4617,7 +4617,7 @@ impl IGPMStarterGPO { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMStarterGPO, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMStarterGPO, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMStarterGPO { fn eq(&self, other: &Self) -> bool { @@ -4748,7 +4748,7 @@ impl IGPMStarterGPOBackup { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMStarterGPOBackup, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMStarterGPOBackup, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMStarterGPOBackup { fn eq(&self, other: &Self) -> bool { @@ -4824,7 +4824,7 @@ impl IGPMStarterGPOBackupCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMStarterGPOBackupCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMStarterGPOBackupCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMStarterGPOBackupCollection { fn eq(&self, other: &Self) -> bool { @@ -4892,7 +4892,7 @@ impl IGPMStarterGPOCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMStarterGPOCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMStarterGPOCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMStarterGPOCollection { fn eq(&self, other: &Self) -> bool { @@ -4966,7 +4966,7 @@ impl IGPMStatusMessage { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMStatusMessage, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMStatusMessage, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMStatusMessage { fn eq(&self, other: &Self) -> bool { @@ -5031,7 +5031,7 @@ impl IGPMStatusMsgCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMStatusMsgCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMStatusMsgCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMStatusMsgCollection { fn eq(&self, other: &Self) -> bool { @@ -5103,7 +5103,7 @@ impl IGPMTrustee { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMTrustee, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMTrustee, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMTrustee { fn eq(&self, other: &Self) -> bool { @@ -5189,7 +5189,7 @@ impl IGPMWMIFilter { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMWMIFilter, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMWMIFilter, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMWMIFilter { fn eq(&self, other: &Self) -> bool { @@ -5265,7 +5265,7 @@ impl IGPMWMIFilterCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IGPMWMIFilterCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IGPMWMIFilterCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IGPMWMIFilterCollection { fn eq(&self, other: &Self) -> bool { @@ -5391,7 +5391,7 @@ impl IGroupPolicyObject { (::windows::core::Vtable::vtable(self).GetPropertySheetPages)(::windows::core::Vtable::as_raw(self), hpages, upagecount).ok() } } -::windows::core::interface_hierarchy!(IGroupPolicyObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGroupPolicyObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGroupPolicyObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5466,7 +5466,7 @@ impl IRSOPInformation { (::windows::core::Vtable::vtable(self).GetEventLogEntryText)(::windows::core::Vtable::as_raw(self), pszeventsource.into().abi(), pszeventlogname.into().abi(), pszeventtime.into().abi(), dweventid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRSOPInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRSOPInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRSOPInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs b/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs index 0a609fceca..2c60a4d0e5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs @@ -1,31 +1,31 @@ #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnCloseEndpoint(endpoint: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCloseEndpoint ( endpoint : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCloseEndpoint ( endpoint : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnCloseEndpoint(endpoint).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnCloseGuestNetworkService(guestnetworkservice: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCloseGuestNetworkService ( guestnetworkservice : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCloseGuestNetworkService ( guestnetworkservice : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnCloseGuestNetworkService(guestnetworkservice).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnCloseLoadBalancer(loadbalancer: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCloseLoadBalancer ( loadbalancer : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCloseLoadBalancer ( loadbalancer : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnCloseLoadBalancer(loadbalancer).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnCloseNamespace(namespace: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCloseNamespace ( namespace : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCloseNamespace ( namespace : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnCloseNamespace(namespace).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnCloseNetwork(network: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCloseNetwork ( network : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCloseNetwork ( network : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnCloseNetwork(network).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -34,7 +34,7 @@ pub unsafe fn HcnCreateEndpoint(network: *const ::core::ffi::c_void, id: *co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCreateEndpoint ( network : *const ::core::ffi::c_void , id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , endpoint : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCreateEndpoint ( network : *const ::core::ffi::c_void , id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , endpoint : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnCreateEndpoint(network, id, settings.into().abi(), endpoint, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -43,7 +43,7 @@ pub unsafe fn HcnCreateGuestNetworkService(id: *const ::windows::core::GUID, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCreateGuestNetworkService ( id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , guestnetworkservice : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCreateGuestNetworkService ( id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , guestnetworkservice : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnCreateGuestNetworkService(id, settings.into().abi(), guestnetworkservice, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -52,7 +52,7 @@ pub unsafe fn HcnCreateLoadBalancer(id: *const ::windows::core::GUID, settin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCreateLoadBalancer ( id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , loadbalancer : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCreateLoadBalancer ( id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , loadbalancer : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnCreateLoadBalancer(id, settings.into().abi(), loadbalancer, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -61,7 +61,7 @@ pub unsafe fn HcnCreateNamespace(id: *const ::windows::core::GUID, settings: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCreateNamespace ( id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , namespace : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCreateNamespace ( id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , namespace : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnCreateNamespace(id, settings.into().abi(), namespace, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -70,37 +70,37 @@ pub unsafe fn HcnCreateNetwork(id: *const ::windows::core::GUID, settings: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnCreateNetwork ( id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , network : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnCreateNetwork ( id : *const :: windows::core::GUID , settings : :: windows::core::PCWSTR , network : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnCreateNetwork(id, settings.into().abi(), network, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnDeleteEndpoint(id: *const ::windows::core::GUID, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnDeleteEndpoint ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnDeleteEndpoint ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnDeleteEndpoint(id, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnDeleteGuestNetworkService(id: *const ::windows::core::GUID, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnDeleteGuestNetworkService ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnDeleteGuestNetworkService ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnDeleteGuestNetworkService(id, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnDeleteLoadBalancer(id: *const ::windows::core::GUID, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnDeleteLoadBalancer ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnDeleteLoadBalancer ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnDeleteLoadBalancer(id, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnDeleteNamespace(id: *const ::windows::core::GUID, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnDeleteNamespace ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnDeleteNamespace ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnDeleteNamespace(id, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnDeleteNetwork(id: *const ::windows::core::GUID, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnDeleteNetwork ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnDeleteNetwork ( id : *const :: windows::core::GUID , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnDeleteNetwork(id, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -109,13 +109,13 @@ pub unsafe fn HcnEnumerateEndpoints(query: P0, endpoints: *mut ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnEnumerateEndpoints ( query : :: windows::core::PCWSTR , endpoints : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnEnumerateEndpoints ( query : :: windows::core::PCWSTR , endpoints : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnEnumerateEndpoints(query.into().abi(), endpoints, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnEnumerateGuestNetworkPortReservations(returncount: *mut u32, portentries: *mut *mut HCN_PORT_RANGE_ENTRY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnEnumerateGuestNetworkPortReservations ( returncount : *mut u32 , portentries : *mut *mut HCN_PORT_RANGE_ENTRY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnEnumerateGuestNetworkPortReservations ( returncount : *mut u32 , portentries : *mut *mut HCN_PORT_RANGE_ENTRY ) -> :: windows::core::HRESULT ); HcnEnumerateGuestNetworkPortReservations(returncount, portentries).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -124,7 +124,7 @@ pub unsafe fn HcnEnumerateLoadBalancers(query: P0, loadbalancer: *mut ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnEnumerateLoadBalancers ( query : :: windows::core::PCWSTR , loadbalancer : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnEnumerateLoadBalancers ( query : :: windows::core::PCWSTR , loadbalancer : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnEnumerateLoadBalancers(query.into().abi(), loadbalancer, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -133,7 +133,7 @@ pub unsafe fn HcnEnumerateNamespaces(query: P0, namespaces: *mut ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnEnumerateNamespaces ( query : :: windows::core::PCWSTR , namespaces : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnEnumerateNamespaces ( query : :: windows::core::PCWSTR , namespaces : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnEnumerateNamespaces(query.into().abi(), namespaces, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -142,13 +142,13 @@ pub unsafe fn HcnEnumerateNetworks(query: P0, networks: *mut ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnEnumerateNetworks ( query : :: windows::core::PCWSTR , networks : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnEnumerateNetworks ( query : :: windows::core::PCWSTR , networks : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnEnumerateNetworks(query.into().abi(), networks, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnFreeGuestNetworkPortReservations(portentries: ::core::option::Option<*mut HCN_PORT_RANGE_ENTRY>) { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnFreeGuestNetworkPortReservations ( portentries : *mut HCN_PORT_RANGE_ENTRY ) -> ( ) ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnFreeGuestNetworkPortReservations ( portentries : *mut HCN_PORT_RANGE_ENTRY ) -> ( ) ); HcnFreeGuestNetworkPortReservations(::core::mem::transmute(portentries.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -157,7 +157,7 @@ pub unsafe fn HcnModifyEndpoint(endpoint: *const ::core::ffi::c_void, settin where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnModifyEndpoint ( endpoint : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnModifyEndpoint ( endpoint : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnModifyEndpoint(endpoint, settings.into().abi(), ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -166,7 +166,7 @@ pub unsafe fn HcnModifyGuestNetworkService(guestnetworkservice: *const ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnModifyGuestNetworkService ( guestnetworkservice : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnModifyGuestNetworkService ( guestnetworkservice : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnModifyGuestNetworkService(guestnetworkservice, settings.into().abi(), ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -175,7 +175,7 @@ pub unsafe fn HcnModifyLoadBalancer(loadbalancer: *const ::core::ffi::c_void where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnModifyLoadBalancer ( loadbalancer : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnModifyLoadBalancer ( loadbalancer : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnModifyLoadBalancer(loadbalancer, settings.into().abi(), ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -184,7 +184,7 @@ pub unsafe fn HcnModifyNamespace(namespace: *const ::core::ffi::c_void, sett where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnModifyNamespace ( namespace : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnModifyNamespace ( namespace : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnModifyNamespace(namespace, settings.into().abi(), ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -193,31 +193,31 @@ pub unsafe fn HcnModifyNetwork(network: *const ::core::ffi::c_void, settings where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnModifyNetwork ( network : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnModifyNetwork ( network : *const ::core::ffi::c_void , settings : :: windows::core::PCWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnModifyNetwork(network, settings.into().abi(), ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnOpenEndpoint(id: *const ::windows::core::GUID, endpoint: *mut *mut ::core::ffi::c_void, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnOpenEndpoint ( id : *const :: windows::core::GUID , endpoint : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnOpenEndpoint ( id : *const :: windows::core::GUID , endpoint : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnOpenEndpoint(id, endpoint, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnOpenLoadBalancer(id: *const ::windows::core::GUID, loadbalancer: *mut *mut ::core::ffi::c_void, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnOpenLoadBalancer ( id : *const :: windows::core::GUID , loadbalancer : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnOpenLoadBalancer ( id : *const :: windows::core::GUID , loadbalancer : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnOpenLoadBalancer(id, loadbalancer, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnOpenNamespace(id: *const ::windows::core::GUID, namespace: *mut *mut ::core::ffi::c_void, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnOpenNamespace ( id : *const :: windows::core::GUID , namespace : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnOpenNamespace ( id : *const :: windows::core::GUID , namespace : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnOpenNamespace(id, namespace, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnOpenNetwork(id: *const ::windows::core::GUID, network: *mut *mut ::core::ffi::c_void, errorrecord: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnOpenNetwork ( id : *const :: windows::core::GUID , network : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnOpenNetwork ( id : *const :: windows::core::GUID , network : *mut *mut ::core::ffi::c_void , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnOpenNetwork(id, network, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -226,7 +226,7 @@ pub unsafe fn HcnQueryEndpointProperties(endpoint: *const ::core::ffi::c_voi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnQueryEndpointProperties ( endpoint : *const ::core::ffi::c_void , query : :: windows::core::PCWSTR , properties : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnQueryEndpointProperties ( endpoint : *const ::core::ffi::c_void , query : :: windows::core::PCWSTR , properties : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnQueryEndpointProperties(endpoint, query.into().abi(), properties, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -235,7 +235,7 @@ pub unsafe fn HcnQueryLoadBalancerProperties(loadbalancer: *const ::core::ff where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnQueryLoadBalancerProperties ( loadbalancer : *const ::core::ffi::c_void , query : :: windows::core::PCWSTR , properties : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnQueryLoadBalancerProperties ( loadbalancer : *const ::core::ffi::c_void , query : :: windows::core::PCWSTR , properties : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnQueryLoadBalancerProperties(loadbalancer, query.into().abi(), properties, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -244,7 +244,7 @@ pub unsafe fn HcnQueryNamespaceProperties(namespace: *const ::core::ffi::c_v where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnQueryNamespaceProperties ( namespace : *const ::core::ffi::c_void , query : :: windows::core::PCWSTR , properties : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnQueryNamespaceProperties ( namespace : *const ::core::ffi::c_void , query : :: windows::core::PCWSTR , properties : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnQueryNamespaceProperties(namespace, query.into().abi(), properties, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] @@ -253,19 +253,19 @@ pub unsafe fn HcnQueryNetworkProperties(network: *const ::core::ffi::c_void, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnQueryNetworkProperties ( network : *const ::core::ffi::c_void , query : :: windows::core::PCWSTR , properties : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnQueryNetworkProperties ( network : *const ::core::ffi::c_void , query : :: windows::core::PCWSTR , properties : *mut :: windows::core::PWSTR , errorrecord : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcnQueryNetworkProperties(network, query.into().abi(), properties, ::core::mem::transmute(errorrecord.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnRegisterGuestNetworkServiceCallback(guestnetworkservice: *const ::core::ffi::c_void, callback: HCN_NOTIFICATION_CALLBACK, context: *const ::core::ffi::c_void, callbackhandle: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnRegisterGuestNetworkServiceCallback ( guestnetworkservice : *const ::core::ffi::c_void , callback : HCN_NOTIFICATION_CALLBACK , context : *const ::core::ffi::c_void , callbackhandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnRegisterGuestNetworkServiceCallback ( guestnetworkservice : *const ::core::ffi::c_void , callback : HCN_NOTIFICATION_CALLBACK , context : *const ::core::ffi::c_void , callbackhandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnRegisterGuestNetworkServiceCallback(guestnetworkservice, callback, context, callbackhandle).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnRegisterServiceCallback(callback: HCN_NOTIFICATION_CALLBACK, context: *const ::core::ffi::c_void, callbackhandle: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnRegisterServiceCallback ( callback : HCN_NOTIFICATION_CALLBACK , context : *const ::core::ffi::c_void , callbackhandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnRegisterServiceCallback ( callback : HCN_NOTIFICATION_CALLBACK , context : *const ::core::ffi::c_void , callbackhandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnRegisterServiceCallback(callback, context, callbackhandle).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`, `\"Win32_Foundation\"`*"] @@ -275,14 +275,14 @@ pub unsafe fn HcnReleaseGuestNetworkServicePortReservationHandle(portreserva where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnReleaseGuestNetworkServicePortReservationHandle ( portreservationhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnReleaseGuestNetworkServicePortReservationHandle ( portreservationhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); HcnReleaseGuestNetworkServicePortReservationHandle(portreservationhandle.into()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HcnReserveGuestNetworkServicePort(guestnetworkservice: *const ::core::ffi::c_void, protocol: HCN_PORT_PROTOCOL, access: HCN_PORT_ACCESS, port: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnReserveGuestNetworkServicePort ( guestnetworkservice : *const ::core::ffi::c_void , protocol : HCN_PORT_PROTOCOL , access : HCN_PORT_ACCESS , port : u16 , portreservationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnReserveGuestNetworkServicePort ( guestnetworkservice : *const ::core::ffi::c_void , protocol : HCN_PORT_PROTOCOL , access : HCN_PORT_ACCESS , port : u16 , portreservationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HcnReserveGuestNetworkServicePort(guestnetworkservice, protocol, access, port, &mut result__).from_abi(result__) } @@ -290,19 +290,19 @@ pub unsafe fn HcnReserveGuestNetworkServicePort(guestnetworkservice: *const ::co #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HcnReserveGuestNetworkServicePortRange(guestnetworkservice: *const ::core::ffi::c_void, portcount: u16, portrangereservation: *mut HCN_PORT_RANGE_RESERVATION, portreservationhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnReserveGuestNetworkServicePortRange ( guestnetworkservice : *const ::core::ffi::c_void , portcount : u16 , portrangereservation : *mut HCN_PORT_RANGE_RESERVATION , portreservationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnReserveGuestNetworkServicePortRange ( guestnetworkservice : *const ::core::ffi::c_void , portcount : u16 , portrangereservation : *mut HCN_PORT_RANGE_RESERVATION , portreservationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); HcnReserveGuestNetworkServicePortRange(guestnetworkservice, portcount, portrangereservation, portreservationhandle).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnUnregisterGuestNetworkServiceCallback(callbackhandle: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnUnregisterGuestNetworkServiceCallback ( callbackhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnUnregisterGuestNetworkServiceCallback ( callbackhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnUnregisterGuestNetworkServiceCallback(callbackhandle).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] #[inline] pub unsafe fn HcnUnregisterServiceCallback(callbackhandle: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "computenetwork.dll""system" fn HcnUnregisterServiceCallback ( callbackhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computenetwork.dll""system" fn HcnUnregisterServiceCallback ( callbackhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcnUnregisterServiceCallback(callbackhandle).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeNetwork\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs index 8af3dbb1bb..c78461b938 100644 --- a/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs @@ -5,7 +5,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsAttachLayerStorageFilter ( layerpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsAttachLayerStorageFilter ( layerpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsAttachLayerStorageFilter(layerpath.into().abi(), layerdata.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -14,7 +14,7 @@ pub unsafe fn HcsCancelOperation(operation: P0) -> ::windows::core::Result<( where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCancelOperation ( operation : HCS_OPERATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCancelOperation ( operation : HCS_OPERATION ) -> :: windows::core::HRESULT ); HcsCancelOperation(operation.into()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -23,7 +23,7 @@ pub unsafe fn HcsCloseComputeSystem(computesystem: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCloseComputeSystem ( computesystem : HCS_SYSTEM ) -> ( ) ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCloseComputeSystem ( computesystem : HCS_SYSTEM ) -> ( ) ); HcsCloseComputeSystem(computesystem.into()) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -32,7 +32,7 @@ pub unsafe fn HcsCloseOperation(operation: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCloseOperation ( operation : HCS_OPERATION ) -> ( ) ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCloseOperation ( operation : HCS_OPERATION ) -> ( ) ); HcsCloseOperation(operation.into()) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -41,7 +41,7 @@ pub unsafe fn HcsCloseProcess(process: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCloseProcess ( process : HCS_PROCESS ) -> ( ) ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCloseProcess ( process : HCS_PROCESS ) -> ( ) ); HcsCloseProcess(process.into()) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -52,7 +52,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCrashComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCrashComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsCrashComputeSystem(computesystem.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -64,7 +64,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCreateComputeSystem ( id : :: windows::core::PCWSTR , configuration : :: windows::core::PCWSTR , operation : HCS_OPERATION , securitydescriptor : *const super::super::Security:: SECURITY_DESCRIPTOR , computesystem : *mut HCS_SYSTEM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCreateComputeSystem ( id : :: windows::core::PCWSTR , configuration : :: windows::core::PCWSTR , operation : HCS_OPERATION , securitydescriptor : *const super::super::Security:: SECURITY_DESCRIPTOR , computesystem : *mut HCS_SYSTEM ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HcsCreateComputeSystem(id.into().abi(), configuration.into().abi(), operation.into(), ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -77,7 +77,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCreateComputeSystemInNamespace ( idnamespace : :: windows::core::PCWSTR , id : :: windows::core::PCWSTR , configuration : :: windows::core::PCWSTR , operation : HCS_OPERATION , options : *const HCS_CREATE_OPTIONS , computesystem : *mut HCS_SYSTEM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCreateComputeSystemInNamespace ( idnamespace : :: windows::core::PCWSTR , id : :: windows::core::PCWSTR , configuration : :: windows::core::PCWSTR , operation : HCS_OPERATION , options : *const HCS_CREATE_OPTIONS , computesystem : *mut HCS_SYSTEM ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HcsCreateComputeSystemInNamespace(idnamespace.into().abi(), id.into().abi(), configuration.into().abi(), operation.into(), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -87,7 +87,7 @@ pub unsafe fn HcsCreateEmptyGuestStateFile(gueststatefilepath: P0) -> ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCreateEmptyGuestStateFile ( gueststatefilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCreateEmptyGuestStateFile ( gueststatefilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsCreateEmptyGuestStateFile(gueststatefilepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -96,13 +96,13 @@ pub unsafe fn HcsCreateEmptyRuntimeStateFile(runtimestatefilepath: P0) -> :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCreateEmptyRuntimeStateFile ( runtimestatefilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCreateEmptyRuntimeStateFile ( runtimestatefilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsCreateEmptyRuntimeStateFile(runtimestatefilepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] #[inline] pub unsafe fn HcsCreateOperation(context: ::core::option::Option<*const ::core::ffi::c_void>, callback: HCS_OPERATION_COMPLETION) -> HCS_OPERATION { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCreateOperation ( context : *const ::core::ffi::c_void , callback : HCS_OPERATION_COMPLETION ) -> HCS_OPERATION ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCreateOperation ( context : *const ::core::ffi::c_void , callback : HCS_OPERATION_COMPLETION ) -> HCS_OPERATION ); HcsCreateOperation(::core::mem::transmute(context.unwrap_or(::std::ptr::null())), callback) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -114,7 +114,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsCreateProcess ( computesystem : HCS_SYSTEM , processparameters : :: windows::core::PCWSTR , operation : HCS_OPERATION , securitydescriptor : *const super::super::Security:: SECURITY_DESCRIPTOR , process : *mut HCS_PROCESS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsCreateProcess ( computesystem : HCS_SYSTEM , processparameters : :: windows::core::PCWSTR , operation : HCS_OPERATION , securitydescriptor : *const super::super::Security:: SECURITY_DESCRIPTOR , process : *mut HCS_PROCESS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HcsCreateProcess(computesystem.into(), processparameters.into().abi(), operation.into(), ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -124,7 +124,7 @@ pub unsafe fn HcsDestroyLayer(layerpath: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsDestroyLayer ( layerpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsDestroyLayer ( layerpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsDestroyLayer(layerpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -133,7 +133,7 @@ pub unsafe fn HcsDetachLayerStorageFilter(layerpath: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsDetachLayerStorageFilter ( layerpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsDetachLayerStorageFilter ( layerpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsDetachLayerStorageFilter(layerpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -143,7 +143,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsEnumerateComputeSystems ( query : :: windows::core::PCWSTR , operation : HCS_OPERATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsEnumerateComputeSystems ( query : :: windows::core::PCWSTR , operation : HCS_OPERATION ) -> :: windows::core::HRESULT ); HcsEnumerateComputeSystems(query.into().abi(), operation.into()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -154,7 +154,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsEnumerateComputeSystemsInNamespace ( idnamespace : :: windows::core::PCWSTR , query : :: windows::core::PCWSTR , operation : HCS_OPERATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsEnumerateComputeSystemsInNamespace ( idnamespace : :: windows::core::PCWSTR , query : :: windows::core::PCWSTR , operation : HCS_OPERATION ) -> :: windows::core::HRESULT ); HcsEnumerateComputeSystemsInNamespace(idnamespace.into().abi(), query.into().abi(), operation.into()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -166,7 +166,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsExportLayer ( layerpath : :: windows::core::PCWSTR , exportfolderpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsExportLayer ( layerpath : :: windows::core::PCWSTR , exportfolderpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsExportLayer(layerpath.into().abi(), exportfolderpath.into().abi(), layerdata.into().abi(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -178,7 +178,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsExportLegacyWritableLayer ( writablelayermountpath : :: windows::core::PCWSTR , writablelayerfolderpath : :: windows::core::PCWSTR , exportfolderpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsExportLegacyWritableLayer ( writablelayermountpath : :: windows::core::PCWSTR , writablelayerfolderpath : :: windows::core::PCWSTR , exportfolderpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsExportLegacyWritableLayer(writablelayermountpath.into().abi(), writablelayerfolderpath.into().abi(), exportfolderpath.into().abi(), layerdata.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] @@ -188,7 +188,7 @@ pub unsafe fn HcsFormatWritableLayerVhd(vhdhandle: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsFormatWritableLayerVhd ( vhdhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsFormatWritableLayerVhd ( vhdhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); HcsFormatWritableLayerVhd(vhdhandle.into()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -197,7 +197,7 @@ pub unsafe fn HcsGetComputeSystemFromOperation(operation: P0) -> HCS_SYSTEM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetComputeSystemFromOperation ( operation : HCS_OPERATION ) -> HCS_SYSTEM ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetComputeSystemFromOperation ( operation : HCS_OPERATION ) -> HCS_SYSTEM ); HcsGetComputeSystemFromOperation(operation.into()) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -208,7 +208,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetComputeSystemProperties ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , propertyquery : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetComputeSystemProperties ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , propertyquery : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsGetComputeSystemProperties(computesystem.into(), operation.into(), propertyquery.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] @@ -218,7 +218,7 @@ pub unsafe fn HcsGetLayerVhdMountPath(vhdhandle: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsGetLayerVhdMountPath ( vhdhandle : super::super::Foundation:: HANDLE , mountpath : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsGetLayerVhdMountPath ( vhdhandle : super::super::Foundation:: HANDLE , mountpath : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); HcsGetLayerVhdMountPath(vhdhandle.into(), &mut result__).from_abi(result__) } @@ -228,7 +228,7 @@ pub unsafe fn HcsGetOperationContext(operation: P0) -> *mut ::core::ffi::c_v where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetOperationContext ( operation : HCS_OPERATION ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetOperationContext ( operation : HCS_OPERATION ) -> *mut ::core::ffi::c_void ); HcsGetOperationContext(operation.into()) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -237,7 +237,7 @@ pub unsafe fn HcsGetOperationId(operation: P0) -> u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetOperationId ( operation : HCS_OPERATION ) -> u64 ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetOperationId ( operation : HCS_OPERATION ) -> u64 ); HcsGetOperationId(operation.into()) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -246,7 +246,7 @@ pub unsafe fn HcsGetOperationResult(operation: P0, resultdocument: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetOperationResult ( operation : HCS_OPERATION , resultdocument : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetOperationResult ( operation : HCS_OPERATION , resultdocument : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcsGetOperationResult(operation.into(), ::core::mem::transmute(resultdocument.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] @@ -256,7 +256,7 @@ pub unsafe fn HcsGetOperationResultAndProcessInfo(operation: P0, processinfo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetOperationResultAndProcessInfo ( operation : HCS_OPERATION , processinformation : *mut HCS_PROCESS_INFORMATION , resultdocument : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetOperationResultAndProcessInfo ( operation : HCS_OPERATION , processinformation : *mut HCS_PROCESS_INFORMATION , resultdocument : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcsGetOperationResultAndProcessInfo(operation.into(), ::core::mem::transmute(processinformation.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(resultdocument.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -265,7 +265,7 @@ pub unsafe fn HcsGetOperationType(operation: P0) -> HCS_OPERATION_TYPE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetOperationType ( operation : HCS_OPERATION ) -> HCS_OPERATION_TYPE ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetOperationType ( operation : HCS_OPERATION ) -> HCS_OPERATION_TYPE ); HcsGetOperationType(operation.into()) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -274,7 +274,7 @@ pub unsafe fn HcsGetProcessFromOperation(operation: P0) -> HCS_PROCESS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetProcessFromOperation ( operation : HCS_OPERATION ) -> HCS_PROCESS ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetProcessFromOperation ( operation : HCS_OPERATION ) -> HCS_PROCESS ); HcsGetProcessFromOperation(operation.into()) } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -284,7 +284,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetProcessInfo ( process : HCS_PROCESS , operation : HCS_OPERATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetProcessInfo ( process : HCS_PROCESS , operation : HCS_OPERATION ) -> :: windows::core::HRESULT ); HcsGetProcessInfo(process.into(), operation.into()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -295,7 +295,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetProcessProperties ( process : HCS_PROCESS , operation : HCS_OPERATION , propertyquery : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetProcessProperties ( process : HCS_PROCESS , operation : HCS_OPERATION , propertyquery : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsGetProcessProperties(process.into(), operation.into(), propertyquery.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -304,7 +304,7 @@ pub unsafe fn HcsGetProcessorCompatibilityFromSavedState(runtimefilename: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetProcessorCompatibilityFromSavedState ( runtimefilename : :: windows::core::PCWSTR , processorfeaturesstring : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetProcessorCompatibilityFromSavedState ( runtimefilename : :: windows::core::PCWSTR , processorfeaturesstring : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcsGetProcessorCompatibilityFromSavedState(runtimefilename.into().abi(), ::core::mem::transmute(processorfeaturesstring.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -313,7 +313,7 @@ pub unsafe fn HcsGetServiceProperties(propertyquery: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGetServiceProperties ( propertyquery : :: windows::core::PCWSTR , result : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGetServiceProperties ( propertyquery : :: windows::core::PCWSTR , result : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); HcsGetServiceProperties(propertyquery.into().abi(), &mut result__).from_abi(result__) } @@ -324,7 +324,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGrantVmAccess ( vmid : :: windows::core::PCWSTR , filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGrantVmAccess ( vmid : :: windows::core::PCWSTR , filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsGrantVmAccess(vmid.into().abi(), filepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -333,7 +333,7 @@ pub unsafe fn HcsGrantVmGroupAccess(filepath: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsGrantVmGroupAccess ( filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsGrantVmGroupAccess ( filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsGrantVmGroupAccess(filepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -344,7 +344,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsImportLayer ( layerpath : :: windows::core::PCWSTR , sourcefolderpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsImportLayer ( layerpath : :: windows::core::PCWSTR , sourcefolderpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsImportLayer(layerpath.into().abi(), sourcefolderpath.into().abi(), layerdata.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -356,7 +356,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsInitializeLegacyWritableLayer ( writablelayermountpath : :: windows::core::PCWSTR , writablelayerfolderpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsInitializeLegacyWritableLayer ( writablelayermountpath : :: windows::core::PCWSTR , writablelayerfolderpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsInitializeLegacyWritableLayer(writablelayermountpath.into().abi(), writablelayerfolderpath.into().abi(), layerdata.into().abi(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -367,7 +367,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsInitializeWritableLayer ( writablelayerpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsInitializeWritableLayer ( writablelayerpath : :: windows::core::PCWSTR , layerdata : :: windows::core::PCWSTR , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsInitializeWritableLayer(writablelayerpath.into().abi(), layerdata.into().abi(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] @@ -380,7 +380,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsModifyComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , configuration : :: windows::core::PCWSTR , identity : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsModifyComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , configuration : :: windows::core::PCWSTR , identity : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); HcsModifyComputeSystem(computesystem.into(), operation.into(), configuration.into().abi(), identity.into()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -391,7 +391,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsModifyProcess ( process : HCS_PROCESS , operation : HCS_OPERATION , settings : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsModifyProcess ( process : HCS_PROCESS , operation : HCS_OPERATION , settings : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsModifyProcess(process.into(), operation.into(), settings.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -400,7 +400,7 @@ pub unsafe fn HcsModifyServiceSettings(settings: P0, result: ::core::option: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsModifyServiceSettings ( settings : :: windows::core::PCWSTR , result : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsModifyServiceSettings ( settings : :: windows::core::PCWSTR , result : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcsModifyServiceSettings(settings.into().abi(), ::core::mem::transmute(result.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -409,7 +409,7 @@ pub unsafe fn HcsOpenComputeSystem(id: P0, requestedaccess: u32) -> ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsOpenComputeSystem ( id : :: windows::core::PCWSTR , requestedaccess : u32 , computesystem : *mut HCS_SYSTEM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsOpenComputeSystem ( id : :: windows::core::PCWSTR , requestedaccess : u32 , computesystem : *mut HCS_SYSTEM ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HcsOpenComputeSystem(id.into().abi(), requestedaccess, &mut result__).from_abi(result__) } @@ -420,7 +420,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsOpenComputeSystemInNamespace ( idnamespace : :: windows::core::PCWSTR , id : :: windows::core::PCWSTR , requestedaccess : u32 , computesystem : *mut HCS_SYSTEM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsOpenComputeSystemInNamespace ( idnamespace : :: windows::core::PCWSTR , id : :: windows::core::PCWSTR , requestedaccess : u32 , computesystem : *mut HCS_SYSTEM ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HcsOpenComputeSystemInNamespace(idnamespace.into().abi(), id.into().abi(), requestedaccess, &mut result__).from_abi(result__) } @@ -430,7 +430,7 @@ pub unsafe fn HcsOpenProcess(computesystem: P0, processid: u32, requestedacc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsOpenProcess ( computesystem : HCS_SYSTEM , processid : u32 , requestedaccess : u32 , process : *mut HCS_PROCESS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsOpenProcess ( computesystem : HCS_SYSTEM , processid : u32 , requestedaccess : u32 , process : *mut HCS_PROCESS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HcsOpenProcess(computesystem.into(), processid, requestedaccess, &mut result__).from_abi(result__) } @@ -442,7 +442,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsPauseComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsPauseComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsPauseComputeSystem(computesystem.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -453,7 +453,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsResumeComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsResumeComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsResumeComputeSystem(computesystem.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -463,7 +463,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsRevokeVmAccess ( vmid : :: windows::core::PCWSTR , filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsRevokeVmAccess ( vmid : :: windows::core::PCWSTR , filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsRevokeVmAccess(vmid.into().abi(), filepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -472,7 +472,7 @@ pub unsafe fn HcsRevokeVmGroupAccess(filepath: P0) -> ::windows::core::Resul where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsRevokeVmGroupAccess ( filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsRevokeVmGroupAccess ( filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsRevokeVmGroupAccess(filepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -483,7 +483,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsSaveComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsSaveComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsSaveComputeSystem(computesystem.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -492,7 +492,7 @@ pub unsafe fn HcsSetComputeSystemCallback(computesystem: P0, callbackoptions where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsSetComputeSystemCallback ( computesystem : HCS_SYSTEM , callbackoptions : HCS_EVENT_OPTIONS , context : *const ::core::ffi::c_void , callback : HCS_EVENT_CALLBACK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsSetComputeSystemCallback ( computesystem : HCS_SYSTEM , callbackoptions : HCS_EVENT_OPTIONS , context : *const ::core::ffi::c_void , callback : HCS_EVENT_CALLBACK ) -> :: windows::core::HRESULT ); HcsSetComputeSystemCallback(computesystem.into(), callbackoptions, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), callback).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -501,7 +501,7 @@ pub unsafe fn HcsSetOperationCallback(operation: P0, context: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsSetOperationCallback ( operation : HCS_OPERATION , context : *const ::core::ffi::c_void , callback : HCS_OPERATION_COMPLETION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsSetOperationCallback ( operation : HCS_OPERATION , context : *const ::core::ffi::c_void , callback : HCS_OPERATION_COMPLETION ) -> :: windows::core::HRESULT ); HcsSetOperationCallback(operation.into(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), callback).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -510,7 +510,7 @@ pub unsafe fn HcsSetOperationContext(operation: P0, context: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsSetOperationContext ( operation : HCS_OPERATION , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsSetOperationContext ( operation : HCS_OPERATION , context : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HcsSetOperationContext(operation.into(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -519,7 +519,7 @@ pub unsafe fn HcsSetProcessCallback(process: P0, callbackoptions: HCS_EVENT_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsSetProcessCallback ( process : HCS_PROCESS , callbackoptions : HCS_EVENT_OPTIONS , context : *const ::core::ffi::c_void , callback : HCS_EVENT_CALLBACK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsSetProcessCallback ( process : HCS_PROCESS , callbackoptions : HCS_EVENT_OPTIONS , context : *const ::core::ffi::c_void , callback : HCS_EVENT_CALLBACK ) -> :: windows::core::HRESULT ); HcsSetProcessCallback(process.into(), callbackoptions, context, callback).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] @@ -531,7 +531,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsSetupBaseOSLayer ( layerpath : :: windows::core::PCWSTR , vhdhandle : super::super::Foundation:: HANDLE , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsSetupBaseOSLayer ( layerpath : :: windows::core::PCWSTR , vhdhandle : super::super::Foundation:: HANDLE , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsSetupBaseOSLayer(layerpath.into().abi(), vhdhandle.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -542,7 +542,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computestorage.dll""system" fn HcsSetupBaseOSVolume ( layerpath : :: windows::core::PCWSTR , volumepath : :: windows::core::PCWSTR , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computestorage.dll""system" fn HcsSetupBaseOSVolume ( layerpath : :: windows::core::PCWSTR , volumepath : :: windows::core::PCWSTR , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsSetupBaseOSVolume(layerpath.into().abi(), volumepath.into().abi(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -553,7 +553,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsShutDownComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsShutDownComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsShutDownComputeSystem(computesystem.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -564,7 +564,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsSignalProcess ( process : HCS_PROCESS , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsSignalProcess ( process : HCS_PROCESS , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsSignalProcess(process.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -575,7 +575,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsStartComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsStartComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsStartComputeSystem(computesystem.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -584,7 +584,7 @@ pub unsafe fn HcsSubmitWerReport(settings: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsSubmitWerReport ( settings : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsSubmitWerReport ( settings : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsSubmitWerReport(settings.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -595,7 +595,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsTerminateComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsTerminateComputeSystem ( computesystem : HCS_SYSTEM , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsTerminateComputeSystem(computesystem.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -606,7 +606,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsTerminateProcess ( process : HCS_PROCESS , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsTerminateProcess ( process : HCS_PROCESS , operation : HCS_OPERATION , options : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HcsTerminateProcess(process.into(), operation.into(), options.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -615,7 +615,7 @@ pub unsafe fn HcsWaitForComputeSystemExit(computesystem: P0, timeoutms: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsWaitForComputeSystemExit ( computesystem : HCS_SYSTEM , timeoutms : u32 , result : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsWaitForComputeSystemExit ( computesystem : HCS_SYSTEM , timeoutms : u32 , result : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcsWaitForComputeSystemExit(computesystem.into(), timeoutms, ::core::mem::transmute(result.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -624,7 +624,7 @@ pub unsafe fn HcsWaitForOperationResult(operation: P0, timeoutms: u32, resul where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsWaitForOperationResult ( operation : HCS_OPERATION , timeoutms : u32 , resultdocument : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsWaitForOperationResult ( operation : HCS_OPERATION , timeoutms : u32 , resultdocument : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcsWaitForOperationResult(operation.into(), timeoutms, ::core::mem::transmute(resultdocument.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`, `\"Win32_Foundation\"`*"] @@ -634,7 +634,7 @@ pub unsafe fn HcsWaitForOperationResultAndProcessInfo(operation: P0, timeout where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsWaitForOperationResultAndProcessInfo ( operation : HCS_OPERATION , timeoutms : u32 , processinformation : *mut HCS_PROCESS_INFORMATION , resultdocument : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsWaitForOperationResultAndProcessInfo ( operation : HCS_OPERATION , timeoutms : u32 , processinformation : *mut HCS_PROCESS_INFORMATION , resultdocument : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcsWaitForOperationResultAndProcessInfo(operation.into(), timeoutms, ::core::mem::transmute(processinformation.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(resultdocument.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] @@ -643,7 +643,7 @@ pub unsafe fn HcsWaitForProcessExit(computesystem: P0, timeoutms: u32, resul where P0: ::std::convert::Into, { - ::windows::core::link ! ( "computecore.dll""system" fn HcsWaitForProcessExit ( computesystem : HCS_PROCESS , timeoutms : u32 , result : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "computecore.dll""system" fn HcsWaitForProcessExit ( computesystem : HCS_PROCESS , timeoutms : u32 , result : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HcsWaitForProcessExit(computesystem.into(), timeoutms, ::core::mem::transmute(result.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_HostComputeSystem\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs index aa0c052739..98a89829f1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs @@ -1,7 +1,7 @@ #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn ApplyGuestMemoryFix(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualaddress: u64, fixbuffer: *const ::core::ffi::c_void, fixbuffersize: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ApplyGuestMemoryFix ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualaddress : u64 , fixbuffer : *const ::core::ffi::c_void , fixbuffersize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ApplyGuestMemoryFix ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualaddress : u64 , fixbuffer : *const ::core::ffi::c_void , fixbuffersize : u32 ) -> :: windows::core::HRESULT ); ApplyGuestMemoryFix(vmsavedstatedumphandle, vpid, virtualaddress, fixbuffer, fixbuffersize).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -10,13 +10,13 @@ pub unsafe fn ApplyPendingSavedStateFileReplayLog(vmrsfile: P0) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ApplyPendingSavedStateFileReplayLog ( vmrsfile : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ApplyPendingSavedStateFileReplayLog ( vmrsfile : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); ApplyPendingSavedStateFileReplayLog(vmrsfile.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn CallStackUnwind(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, imageinfo: *const MODULE_INFO, imageinfocount: u32, framecount: u32, callstack: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn CallStackUnwind ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , imageinfo : *const MODULE_INFO , imageinfocount : u32 , framecount : u32 , callstack : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn CallStackUnwind ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , imageinfo : *const MODULE_INFO , imageinfocount : u32 , framecount : u32 , callstack : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); CallStackUnwind(vmsavedstatedumphandle, vpid, imageinfo, imageinfocount, framecount, callstack).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -27,19 +27,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn FindSavedStateSymbolFieldInType ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , typename : :: windows::core::PCSTR , fieldname : :: windows::core::PCWSTR , offset : *mut u32 , found : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn FindSavedStateSymbolFieldInType ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , typename : :: windows::core::PCSTR , fieldname : :: windows::core::PCWSTR , offset : *mut u32 , found : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); FindSavedStateSymbolFieldInType(vmsavedstatedumphandle, vpid, typename.into().abi(), fieldname.into().abi(), offset, found).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn ForceActiveVirtualTrustLevel(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualtrustlevel: u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ForceActiveVirtualTrustLevel ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualtrustlevel : u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ForceActiveVirtualTrustLevel ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualtrustlevel : u8 ) -> :: windows::core::HRESULT ); ForceActiveVirtualTrustLevel(vmsavedstatedumphandle, vpid, virtualtrustlevel).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn ForceArchitecture(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, architecture: VIRTUAL_PROCESSOR_ARCH) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ForceArchitecture ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , architecture : VIRTUAL_PROCESSOR_ARCH ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ForceArchitecture ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , architecture : VIRTUAL_PROCESSOR_ARCH ) -> :: windows::core::HRESULT ); ForceArchitecture(vmsavedstatedumphandle, vpid, architecture).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -49,80 +49,80 @@ pub unsafe fn ForceNestedHostMode(vmsavedstatedumphandle: *mut ::core::ffi:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ForceNestedHostMode ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , hostmode : super::super::Foundation:: BOOL , oldmode : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ForceNestedHostMode ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , hostmode : super::super::Foundation:: BOOL , oldmode : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); ForceNestedHostMode(vmsavedstatedumphandle, vpid, hostmode.into(), ::core::mem::transmute(oldmode.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn ForcePagingMode(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, pagingmode: PAGING_MODE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ForcePagingMode ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , pagingmode : PAGING_MODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ForcePagingMode ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , pagingmode : PAGING_MODE ) -> :: windows::core::HRESULT ); ForcePagingMode(vmsavedstatedumphandle, vpid, pagingmode).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetActiveVirtualTrustLevel(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualtrustlevel: *mut u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetActiveVirtualTrustLevel ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualtrustlevel : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetActiveVirtualTrustLevel ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualtrustlevel : *mut u8 ) -> :: windows::core::HRESULT ); GetActiveVirtualTrustLevel(vmsavedstatedumphandle, vpid, virtualtrustlevel).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetArchitecture(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, architecture: *mut VIRTUAL_PROCESSOR_ARCH) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetArchitecture ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , architecture : *mut VIRTUAL_PROCESSOR_ARCH ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetArchitecture ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , architecture : *mut VIRTUAL_PROCESSOR_ARCH ) -> :: windows::core::HRESULT ); GetArchitecture(vmsavedstatedumphandle, vpid, architecture).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetEnabledVirtualTrustLevels(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualtrustlevels: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetEnabledVirtualTrustLevels ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualtrustlevels : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetEnabledVirtualTrustLevels ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualtrustlevels : *mut u32 ) -> :: windows::core::HRESULT ); GetEnabledVirtualTrustLevels(vmsavedstatedumphandle, vpid, virtualtrustlevels).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetGuestEnabledVirtualTrustLevels(vmsavedstatedumphandle: *mut ::core::ffi::c_void, virtualtrustlevels: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetGuestEnabledVirtualTrustLevels ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , virtualtrustlevels : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetGuestEnabledVirtualTrustLevels ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , virtualtrustlevels : *mut u32 ) -> :: windows::core::HRESULT ); GetGuestEnabledVirtualTrustLevels(vmsavedstatedumphandle, virtualtrustlevels).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetGuestOsInfo(vmsavedstatedumphandle: *mut ::core::ffi::c_void, virtualtrustlevel: u8, guestosinfo: *mut GUEST_OS_INFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetGuestOsInfo ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , virtualtrustlevel : u8 , guestosinfo : *mut GUEST_OS_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetGuestOsInfo ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , virtualtrustlevel : u8 , guestosinfo : *mut GUEST_OS_INFO ) -> :: windows::core::HRESULT ); GetGuestOsInfo(vmsavedstatedumphandle, virtualtrustlevel, guestosinfo).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetGuestPhysicalMemoryChunks(vmsavedstatedumphandle: *mut ::core::ffi::c_void, memorychunkpagesize: *mut u64, memorychunks: *mut GPA_MEMORY_CHUNK, memorychunkcount: *mut u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetGuestPhysicalMemoryChunks ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , memorychunkpagesize : *mut u64 , memorychunks : *mut GPA_MEMORY_CHUNK , memorychunkcount : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetGuestPhysicalMemoryChunks ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , memorychunkpagesize : *mut u64 , memorychunks : *mut GPA_MEMORY_CHUNK , memorychunkcount : *mut u64 ) -> :: windows::core::HRESULT ); GetGuestPhysicalMemoryChunks(vmsavedstatedumphandle, memorychunkpagesize, memorychunks, memorychunkcount).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetGuestRawSavedMemorySize(vmsavedstatedumphandle: *mut ::core::ffi::c_void, guestrawsavedmemorysize: *mut u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetGuestRawSavedMemorySize ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , guestrawsavedmemorysize : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetGuestRawSavedMemorySize ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , guestrawsavedmemorysize : *mut u64 ) -> :: windows::core::HRESULT ); GetGuestRawSavedMemorySize(vmsavedstatedumphandle, guestrawsavedmemorysize).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetMemoryBlockCacheLimit(vmsavedstatedumphandle: *mut ::core::ffi::c_void, memoryblockcachelimit: *mut u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetMemoryBlockCacheLimit ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , memoryblockcachelimit : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetMemoryBlockCacheLimit ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , memoryblockcachelimit : *mut u64 ) -> :: windows::core::HRESULT ); GetMemoryBlockCacheLimit(vmsavedstatedumphandle, memoryblockcachelimit).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNestedVirtualizationMode(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, enabled: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetNestedVirtualizationMode ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , enabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetNestedVirtualizationMode ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , enabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); GetNestedVirtualizationMode(vmsavedstatedumphandle, vpid, enabled).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetPagingMode(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, pagingmode: *mut PAGING_MODE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetPagingMode ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , pagingmode : *mut PAGING_MODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetPagingMode ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , pagingmode : *mut PAGING_MODE ) -> :: windows::core::HRESULT ); GetPagingMode(vmsavedstatedumphandle, vpid, pagingmode).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetRegisterValue(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, registerid: u32, registervalue: *mut VIRTUAL_PROCESSOR_REGISTER) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetRegisterValue ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , registerid : u32 , registervalue : *mut VIRTUAL_PROCESSOR_REGISTER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetRegisterValue ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , registerid : u32 , registervalue : *mut VIRTUAL_PROCESSOR_REGISTER ) -> :: windows::core::HRESULT ); GetRegisterValue(vmsavedstatedumphandle, vpid, registerid, registervalue).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -131,14 +131,14 @@ pub unsafe fn GetSavedStateSymbolFieldInfo(vmsavedstatedumphandle: *mut ::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetSavedStateSymbolFieldInfo ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , typename : :: windows::core::PCSTR , typefieldinfomap : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetSavedStateSymbolFieldInfo ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , typename : :: windows::core::PCSTR , typefieldinfomap : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); GetSavedStateSymbolFieldInfo(vmsavedstatedumphandle, vpid, typename.into().abi(), typefieldinfomap).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSavedStateSymbolProviderHandle(vmsavedstatedumphandle: *mut ::core::ffi::c_void) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetSavedStateSymbolProviderHandle ( vmsavedstatedumphandle : *mut ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetSavedStateSymbolProviderHandle ( vmsavedstatedumphandle : *mut ::core::ffi::c_void ) -> super::super::Foundation:: HANDLE ); GetSavedStateSymbolProviderHandle(vmsavedstatedumphandle) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -147,31 +147,31 @@ pub unsafe fn GetSavedStateSymbolTypeSize(vmsavedstatedumphandle: *mut ::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetSavedStateSymbolTypeSize ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , typename : :: windows::core::PCSTR , size : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetSavedStateSymbolTypeSize ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , typename : :: windows::core::PCSTR , size : *mut u32 ) -> :: windows::core::HRESULT ); GetSavedStateSymbolTypeSize(vmsavedstatedumphandle, vpid, typename.into().abi(), size).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GetVpCount(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpcount: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetVpCount ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GetVpCount ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpcount : *mut u32 ) -> :: windows::core::HRESULT ); GetVpCount(vmsavedstatedumphandle, vpcount).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GuestPhysicalAddressToRawSavedMemoryOffset(vmsavedstatedumphandle: *mut ::core::ffi::c_void, physicaladdress: u64, rawsavedmemoryoffset: *mut u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GuestPhysicalAddressToRawSavedMemoryOffset ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , physicaladdress : u64 , rawsavedmemoryoffset : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GuestPhysicalAddressToRawSavedMemoryOffset ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , physicaladdress : u64 , rawsavedmemoryoffset : *mut u64 ) -> :: windows::core::HRESULT ); GuestPhysicalAddressToRawSavedMemoryOffset(vmsavedstatedumphandle, physicaladdress, rawsavedmemoryoffset).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn GuestVirtualAddressToPhysicalAddress(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, virtualaddress: u64, physicaladdress: *mut u64, unmappedregionsize: ::core::option::Option<*mut u64>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn GuestVirtualAddressToPhysicalAddress ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualaddress : u64 , physicaladdress : *mut u64 , unmappedregionsize : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn GuestVirtualAddressToPhysicalAddress ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , virtualaddress : u64 , physicaladdress : *mut u64 , unmappedregionsize : *mut u64 ) -> :: windows::core::HRESULT ); GuestVirtualAddressToPhysicalAddress(vmsavedstatedumphandle, vpid, virtualaddress, physicaladdress, ::core::mem::transmute(unmappedregionsize.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn HdvCreateDeviceInstance(devicehosthandle: *const ::core::ffi::c_void, devicetype: HDV_DEVICE_TYPE, deviceclassid: *const ::windows::core::GUID, deviceinstanceid: *const ::windows::core::GUID, deviceinterface: *const ::core::ffi::c_void, devicecontext: ::core::option::Option<*const ::core::ffi::c_void>, devicehandle: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvCreateDeviceInstance ( devicehosthandle : *const ::core::ffi::c_void , devicetype : HDV_DEVICE_TYPE , deviceclassid : *const :: windows::core::GUID , deviceinstanceid : *const :: windows::core::GUID , deviceinterface : *const ::core::ffi::c_void , devicecontext : *const ::core::ffi::c_void , devicehandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvCreateDeviceInstance ( devicehosthandle : *const ::core::ffi::c_void , devicetype : HDV_DEVICE_TYPE , deviceclassid : *const :: windows::core::GUID , deviceinstanceid : *const :: windows::core::GUID , deviceinterface : *const ::core::ffi::c_void , devicecontext : *const ::core::ffi::c_void , devicehandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HdvCreateDeviceInstance(devicehosthandle, devicetype, deviceclassid, deviceinstanceid, deviceinterface, ::core::mem::transmute(devicecontext.unwrap_or(::std::ptr::null())), devicehandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -181,7 +181,7 @@ pub unsafe fn HdvCreateGuestMemoryAperture(requestor: *const ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvCreateGuestMemoryAperture ( requestor : *const ::core::ffi::c_void , guestphysicaladdress : u64 , bytecount : u32 , writeprotected : super::super::Foundation:: BOOL , mappedaddress : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvCreateGuestMemoryAperture ( requestor : *const ::core::ffi::c_void , guestphysicaladdress : u64 , bytecount : u32 , writeprotected : super::super::Foundation:: BOOL , mappedaddress : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HdvCreateGuestMemoryAperture(requestor, guestphysicaladdress, bytecount, writeprotected.into(), mappedaddress).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -191,25 +191,25 @@ pub unsafe fn HdvCreateSectionBackedMmioRange(requestor: *const ::core::ffi: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvCreateSectionBackedMmioRange ( requestor : *const ::core::ffi::c_void , barindex : HDV_PCI_BAR_SELECTOR , offsetinpages : u64 , lengthinpages : u64 , mappingflags : HDV_MMIO_MAPPING_FLAGS , sectionhandle : super::super::Foundation:: HANDLE , sectionoffsetinpages : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvCreateSectionBackedMmioRange ( requestor : *const ::core::ffi::c_void , barindex : HDV_PCI_BAR_SELECTOR , offsetinpages : u64 , lengthinpages : u64 , mappingflags : HDV_MMIO_MAPPING_FLAGS , sectionhandle : super::super::Foundation:: HANDLE , sectionoffsetinpages : u64 ) -> :: windows::core::HRESULT ); HdvCreateSectionBackedMmioRange(requestor, barindex, offsetinpages, lengthinpages, mappingflags, sectionhandle.into(), sectionoffsetinpages).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn HdvDeliverGuestInterrupt(requestor: *const ::core::ffi::c_void, msiaddress: u64, msidata: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvDeliverGuestInterrupt ( requestor : *const ::core::ffi::c_void , msiaddress : u64 , msidata : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvDeliverGuestInterrupt ( requestor : *const ::core::ffi::c_void , msiaddress : u64 , msidata : u32 ) -> :: windows::core::HRESULT ); HdvDeliverGuestInterrupt(requestor, msiaddress, msidata).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn HdvDestroyGuestMemoryAperture(requestor: *const ::core::ffi::c_void, mappedaddress: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvDestroyGuestMemoryAperture ( requestor : *const ::core::ffi::c_void , mappedaddress : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvDestroyGuestMemoryAperture ( requestor : *const ::core::ffi::c_void , mappedaddress : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HdvDestroyGuestMemoryAperture(requestor, mappedaddress).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn HdvDestroySectionBackedMmioRange(requestor: *const ::core::ffi::c_void, barindex: HDV_PCI_BAR_SELECTOR, offsetinpages: u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvDestroySectionBackedMmioRange ( requestor : *const ::core::ffi::c_void , barindex : HDV_PCI_BAR_SELECTOR , offsetinpages : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvDestroySectionBackedMmioRange ( requestor : *const ::core::ffi::c_void , barindex : HDV_PCI_BAR_SELECTOR , offsetinpages : u64 ) -> :: windows::core::HRESULT ); HdvDestroySectionBackedMmioRange(requestor, barindex, offsetinpages).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_System_HostComputeSystem\"`*"] @@ -219,13 +219,13 @@ pub unsafe fn HdvInitializeDeviceHost(computesystem: P0, devicehosthandle: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvInitializeDeviceHost ( computesystem : super::HostComputeSystem:: HCS_SYSTEM , devicehosthandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvInitializeDeviceHost ( computesystem : super::HostComputeSystem:: HCS_SYSTEM , devicehosthandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HdvInitializeDeviceHost(computesystem.into(), devicehosthandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn HdvReadGuestMemory(requestor: *const ::core::ffi::c_void, guestphysicaladdress: u64, buffer: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvReadGuestMemory ( requestor : *const ::core::ffi::c_void , guestphysicaladdress : u64 , bytecount : u32 , buffer : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvReadGuestMemory ( requestor : *const ::core::ffi::c_void , guestphysicaladdress : u64 , bytecount : u32 , buffer : *mut u8 ) -> :: windows::core::HRESULT ); HdvReadGuestMemory(requestor, guestphysicaladdress, buffer.len() as _, ::core::mem::transmute(buffer.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -235,46 +235,46 @@ pub unsafe fn HdvRegisterDoorbell(requestor: *const ::core::ffi::c_void, bar where P0: ::std::convert::Into, { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvRegisterDoorbell ( requestor : *const ::core::ffi::c_void , barindex : HDV_PCI_BAR_SELECTOR , baroffset : u64 , triggervalue : u64 , flags : u64 , doorbellevent : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvRegisterDoorbell ( requestor : *const ::core::ffi::c_void , barindex : HDV_PCI_BAR_SELECTOR , baroffset : u64 , triggervalue : u64 , flags : u64 , doorbellevent : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); HdvRegisterDoorbell(requestor, barindex, baroffset, triggervalue, flags, doorbellevent.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn HdvTeardownDeviceHost(devicehosthandle: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvTeardownDeviceHost ( devicehosthandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvTeardownDeviceHost ( devicehosthandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HdvTeardownDeviceHost(devicehosthandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn HdvUnregisterDoorbell(requestor: *const ::core::ffi::c_void, barindex: HDV_PCI_BAR_SELECTOR, baroffset: u64, triggervalue: u64, flags: u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvUnregisterDoorbell ( requestor : *const ::core::ffi::c_void , barindex : HDV_PCI_BAR_SELECTOR , baroffset : u64 , triggervalue : u64 , flags : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvUnregisterDoorbell ( requestor : *const ::core::ffi::c_void , barindex : HDV_PCI_BAR_SELECTOR , baroffset : u64 , triggervalue : u64 , flags : u64 ) -> :: windows::core::HRESULT ); HdvUnregisterDoorbell(requestor, barindex, baroffset, triggervalue, flags).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn HdvWriteGuestMemory(requestor: *const ::core::ffi::c_void, guestphysicaladdress: u64, buffer: &[u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmdevicehost.dll""system" fn HdvWriteGuestMemory ( requestor : *const ::core::ffi::c_void , guestphysicaladdress : u64 , bytecount : u32 , buffer : *const u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmdevicehost.dll""system" fn HdvWriteGuestMemory ( requestor : *const ::core::ffi::c_void , guestphysicaladdress : u64 , bytecount : u32 , buffer : *const u8 ) -> :: windows::core::HRESULT ); HdvWriteGuestMemory(requestor, guestphysicaladdress, buffer.len() as _, ::core::mem::transmute(buffer.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InKernelSpace(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, inkernelspace: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn InKernelSpace ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , inkernelspace : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn InKernelSpace ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , inkernelspace : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); InKernelSpace(vmsavedstatedumphandle, vpid, inkernelspace).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsActiveVirtualTrustLevelEnabled(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, activevirtualtrustlevelenabled: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn IsActiveVirtualTrustLevelEnabled ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , activevirtualtrustlevelenabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn IsActiveVirtualTrustLevelEnabled ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , activevirtualtrustlevelenabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); IsActiveVirtualTrustLevelEnabled(vmsavedstatedumphandle, vpid, activevirtualtrustlevelenabled).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsNestedVirtualizationEnabled(vmsavedstatedumphandle: *mut ::core::ffi::c_void, enabled: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn IsNestedVirtualizationEnabled ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , enabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn IsNestedVirtualizationEnabled ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , enabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); IsNestedVirtualizationEnabled(vmsavedstatedumphandle, enabled).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -283,7 +283,7 @@ pub unsafe fn LoadSavedStateFile(vmrsfile: P0, vmsavedstatedumphandle: *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateFile ( vmrsfile : :: windows::core::PCWSTR , vmsavedstatedumphandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateFile ( vmrsfile : :: windows::core::PCWSTR , vmsavedstatedumphandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); LoadSavedStateFile(vmrsfile.into().abi(), vmsavedstatedumphandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -293,7 +293,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateFiles ( binfile : :: windows::core::PCWSTR , vsvfile : :: windows::core::PCWSTR , vmsavedstatedumphandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateFiles ( binfile : :: windows::core::PCWSTR , vsvfile : :: windows::core::PCWSTR , vmsavedstatedumphandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); LoadSavedStateFiles(binfile.into().abi(), vsvfile.into().abi(), vmsavedstatedumphandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -303,7 +303,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateModuleSymbols ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , imagename : :: windows::core::PCSTR , modulename : :: windows::core::PCSTR , baseaddress : u64 , sizeofbase : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateModuleSymbols ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , imagename : :: windows::core::PCSTR , modulename : :: windows::core::PCSTR , baseaddress : u64 , sizeofbase : u32 ) -> :: windows::core::HRESULT ); LoadSavedStateModuleSymbols(vmsavedstatedumphandle, imagename.into().abi(), modulename.into().abi(), baseaddress, sizeofbase).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -313,7 +313,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateModuleSymbolsEx ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , imagename : :: windows::core::PCSTR , imagetimestamp : u32 , modulename : :: windows::core::PCSTR , baseaddress : u64 , sizeofbase : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateModuleSymbolsEx ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , imagename : :: windows::core::PCSTR , imagetimestamp : u32 , modulename : :: windows::core::PCSTR , baseaddress : u64 , sizeofbase : u32 ) -> :: windows::core::HRESULT ); LoadSavedStateModuleSymbolsEx(vmsavedstatedumphandle, imagename.into().abi(), imagetimestamp, modulename.into().abi(), baseaddress, sizeofbase).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -324,7 +324,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateSymbolProvider ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , usersymbols : :: windows::core::PCWSTR , force : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn LoadSavedStateSymbolProvider ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , usersymbols : :: windows::core::PCWSTR , force : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); LoadSavedStateSymbolProvider(vmsavedstatedumphandle, usersymbols.into().abi(), force.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -334,19 +334,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn LocateSavedStateFiles ( vmname : :: windows::core::PCWSTR , snapshotname : :: windows::core::PCWSTR , binpath : *mut :: windows::core::PWSTR , vsvpath : *mut :: windows::core::PWSTR , vmrspath : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn LocateSavedStateFiles ( vmname : :: windows::core::PCWSTR , snapshotname : :: windows::core::PCWSTR , binpath : *mut :: windows::core::PWSTR , vsvpath : *mut :: windows::core::PWSTR , vmrspath : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); LocateSavedStateFiles(vmname.into().abi(), snapshotname.into().abi(), binpath, vsvpath, vmrspath).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn ReadGuestPhysicalAddress(vmsavedstatedumphandle: *mut ::core::ffi::c_void, physicaladdress: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReadGuestPhysicalAddress ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , physicaladdress : u64 , buffer : *mut ::core::ffi::c_void , buffersize : u32 , bytesread : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReadGuestPhysicalAddress ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , physicaladdress : u64 , buffer : *mut ::core::ffi::c_void , buffersize : u32 , bytesread : *mut u32 ) -> :: windows::core::HRESULT ); ReadGuestPhysicalAddress(vmsavedstatedumphandle, physicaladdress, buffer, buffersize, ::core::mem::transmute(bytesread.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn ReadGuestRawSavedMemory(vmsavedstatedumphandle: *mut ::core::ffi::c_void, rawsavedmemoryoffset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReadGuestRawSavedMemory ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , rawsavedmemoryoffset : u64 , buffer : *mut ::core::ffi::c_void , buffersize : u32 , bytesread : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReadGuestRawSavedMemory ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , rawsavedmemoryoffset : u64 , buffer : *mut ::core::ffi::c_void , buffersize : u32 , bytesread : *mut u32 ) -> :: windows::core::HRESULT ); ReadGuestRawSavedMemory(vmsavedstatedumphandle, rawsavedmemoryoffset, buffer, buffersize, ::core::mem::transmute(bytesread.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -355,19 +355,19 @@ pub unsafe fn ReadSavedStateGlobalVariable(vmsavedstatedumphandle: *mut ::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReadSavedStateGlobalVariable ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , globalname : :: windows::core::PCSTR , buffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReadSavedStateGlobalVariable ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , globalname : :: windows::core::PCSTR , buffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> :: windows::core::HRESULT ); ReadSavedStateGlobalVariable(vmsavedstatedumphandle, vpid, globalname.into().abi(), buffer, buffersize).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn ReleaseSavedStateFiles(vmsavedstatedumphandle: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReleaseSavedStateFiles ( vmsavedstatedumphandle : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReleaseSavedStateFiles ( vmsavedstatedumphandle : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ReleaseSavedStateFiles(vmsavedstatedumphandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn ReleaseSavedStateSymbolProvider(vmsavedstatedumphandle: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReleaseSavedStateSymbolProvider ( vmsavedstatedumphandle : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ReleaseSavedStateSymbolProvider ( vmsavedstatedumphandle : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ReleaseSavedStateSymbolProvider(vmsavedstatedumphandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -376,26 +376,26 @@ pub unsafe fn ResolveSavedStateGlobalVariableAddress(vmsavedstatedumphandle: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ResolveSavedStateGlobalVariableAddress ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , globalname : :: windows::core::PCSTR , virtualaddress : *mut u64 , size : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ResolveSavedStateGlobalVariableAddress ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , globalname : :: windows::core::PCSTR , virtualaddress : *mut u64 , size : *mut u32 ) -> :: windows::core::HRESULT ); ResolveSavedStateGlobalVariableAddress(vmsavedstatedumphandle, vpid, globalname.into().abi(), virtualaddress, ::core::mem::transmute(size.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ScanMemoryForDosImages(vmsavedstatedumphandle: *mut ::core::ffi::c_void, vpid: u32, startaddress: u64, endaddress: u64, callbackcontext: *mut ::core::ffi::c_void, foundimagecallback: FOUND_IMAGE_CALLBACK, standaloneaddress: *const u64, standaloneaddresscount: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn ScanMemoryForDosImages ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , startaddress : u64 , endaddress : u64 , callbackcontext : *mut ::core::ffi::c_void , foundimagecallback : FOUND_IMAGE_CALLBACK , standaloneaddress : *const u64 , standaloneaddresscount : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn ScanMemoryForDosImages ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , vpid : u32 , startaddress : u64 , endaddress : u64 , callbackcontext : *mut ::core::ffi::c_void , foundimagecallback : FOUND_IMAGE_CALLBACK , standaloneaddress : *const u64 , standaloneaddresscount : u32 ) -> :: windows::core::HRESULT ); ScanMemoryForDosImages(vmsavedstatedumphandle, vpid, startaddress, endaddress, callbackcontext, foundimagecallback, standaloneaddress, standaloneaddresscount).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn SetMemoryBlockCacheLimit(vmsavedstatedumphandle: *mut ::core::ffi::c_void, memoryblockcachelimit: u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn SetMemoryBlockCacheLimit ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , memoryblockcachelimit : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn SetMemoryBlockCacheLimit ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , memoryblockcachelimit : u64 ) -> :: windows::core::HRESULT ); SetMemoryBlockCacheLimit(vmsavedstatedumphandle, memoryblockcachelimit).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn SetSavedStateSymbolProviderDebugInfoCallback(vmsavedstatedumphandle: *mut ::core::ffi::c_void, callback: GUEST_SYMBOLS_PROVIDER_DEBUG_INFO_CALLBACK) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "vmsavedstatedumpprovider.dll""system" fn SetSavedStateSymbolProviderDebugInfoCallback ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , callback : GUEST_SYMBOLS_PROVIDER_DEBUG_INFO_CALLBACK ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "vmsavedstatedumpprovider.dll""system" fn SetSavedStateSymbolProviderDebugInfoCallback ( vmsavedstatedumphandle : *mut ::core::ffi::c_void , callback : GUEST_SYMBOLS_PROVIDER_DEBUG_INFO_CALLBACK ) -> :: windows::core::HRESULT ); SetSavedStateSymbolProviderDebugInfoCallback(vmsavedstatedumphandle, callback).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -405,7 +405,7 @@ pub unsafe fn WHvAcceptPartitionMigration(migrationhandle: P0) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvAcceptPartitionMigration ( migrationhandle : super::super::Foundation:: HANDLE , partition : *mut WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvAcceptPartitionMigration ( migrationhandle : super::super::Foundation:: HANDLE , partition : *mut WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WHvAcceptPartitionMigration(migrationhandle.into(), &mut result__).from_abi(result__) } @@ -415,14 +415,14 @@ pub unsafe fn WHvAdviseGpaRange(partition: P0, gparanges: &[WHV_MEMORY_RANGE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvAdviseGpaRange ( partition : WHV_PARTITION_HANDLE , gparanges : *const WHV_MEMORY_RANGE_ENTRY , gparangescount : u32 , advice : WHV_ADVISE_GPA_RANGE_CODE , advicebuffer : *const ::core::ffi::c_void , advicebuffersizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvAdviseGpaRange ( partition : WHV_PARTITION_HANDLE , gparanges : *const WHV_MEMORY_RANGE_ENTRY , gparangescount : u32 , advice : WHV_ADVISE_GPA_RANGE_CODE , advicebuffer : *const ::core::ffi::c_void , advicebuffersizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvAdviseGpaRange(partition.into(), ::core::mem::transmute(gparanges.as_ptr()), gparanges.len() as _, advice, advicebuffer, advicebuffersizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WHvAllocateVpciResource(providerid: ::core::option::Option<*const ::windows::core::GUID>, flags: WHV_ALLOCATE_VPCI_RESOURCE_FLAGS, resourcedescriptor: ::core::option::Option<&[u8]>) -> ::windows::core::Result { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvAllocateVpciResource ( providerid : *const :: windows::core::GUID , flags : WHV_ALLOCATE_VPCI_RESOURCE_FLAGS , resourcedescriptor : *const ::core::ffi::c_void , resourcedescriptorsizeinbytes : u32 , vpciresource : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvAllocateVpciResource ( providerid : *const :: windows::core::GUID , flags : WHV_ALLOCATE_VPCI_RESOURCE_FLAGS , resourcedescriptor : *const ::core::ffi::c_void , resourcedescriptorsizeinbytes : u32 , vpciresource : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WHvAllocateVpciResource(::core::mem::transmute(providerid.unwrap_or(::std::ptr::null())), flags, ::core::mem::transmute(resourcedescriptor.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), resourcedescriptor.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -432,7 +432,7 @@ pub unsafe fn WHvCancelPartitionMigration(partition: P0) -> ::windows::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCancelPartitionMigration ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCancelPartitionMigration ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); WHvCancelPartitionMigration(partition.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -441,7 +441,7 @@ pub unsafe fn WHvCancelRunVirtualProcessor(partition: P0, vpindex: u32, flag where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCancelRunVirtualProcessor ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCancelRunVirtualProcessor ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , flags : u32 ) -> :: windows::core::HRESULT ); WHvCancelRunVirtualProcessor(partition.into(), vpindex, flags).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -450,7 +450,7 @@ pub unsafe fn WHvCompletePartitionMigration(partition: P0) -> ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCompletePartitionMigration ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCompletePartitionMigration ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); WHvCompletePartitionMigration(partition.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -461,13 +461,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCreateNotificationPort ( partition : WHV_PARTITION_HANDLE , parameters : *const WHV_NOTIFICATION_PORT_PARAMETERS , eventhandle : super::super::Foundation:: HANDLE , porthandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCreateNotificationPort ( partition : WHV_PARTITION_HANDLE , parameters : *const WHV_NOTIFICATION_PORT_PARAMETERS , eventhandle : super::super::Foundation:: HANDLE , porthandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WHvCreateNotificationPort(partition.into(), parameters, eventhandle.into(), porthandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn WHvCreatePartition() -> ::windows::core::Result { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCreatePartition ( partition : *mut WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCreatePartition ( partition : *mut WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WHvCreatePartition(&mut result__).from_abi(result__) } @@ -478,7 +478,7 @@ pub unsafe fn WHvCreateTrigger(partition: P0, parameters: *const WHV_TRIGGER where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCreateTrigger ( partition : WHV_PARTITION_HANDLE , parameters : *const WHV_TRIGGER_PARAMETERS , triggerhandle : *mut *mut ::core::ffi::c_void , eventhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCreateTrigger ( partition : WHV_PARTITION_HANDLE , parameters : *const WHV_TRIGGER_PARAMETERS , triggerhandle : *mut *mut ::core::ffi::c_void , eventhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WHvCreateTrigger(partition.into(), parameters, triggerhandle, eventhandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -487,7 +487,7 @@ pub unsafe fn WHvCreateVirtualProcessor(partition: P0, vpindex: u32, flags: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCreateVirtualProcessor ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCreateVirtualProcessor ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , flags : u32 ) -> :: windows::core::HRESULT ); WHvCreateVirtualProcessor(partition.into(), vpindex, flags).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -496,7 +496,7 @@ pub unsafe fn WHvCreateVirtualProcessor2(partition: P0, vpindex: u32, proper where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCreateVirtualProcessor2 ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , properties : *const WHV_VIRTUAL_PROCESSOR_PROPERTY , propertycount : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCreateVirtualProcessor2 ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , properties : *const WHV_VIRTUAL_PROCESSOR_PROPERTY , propertycount : u32 ) -> :: windows::core::HRESULT ); WHvCreateVirtualProcessor2(partition.into(), vpindex, ::core::mem::transmute(properties.as_ptr()), properties.len() as _).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -508,7 +508,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvCreateVpciDevice ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , vpciresource : super::super::Foundation:: HANDLE , flags : WHV_CREATE_VPCI_DEVICE_FLAGS , notificationeventhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvCreateVpciDevice ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , vpciresource : super::super::Foundation:: HANDLE , flags : WHV_CREATE_VPCI_DEVICE_FLAGS , notificationeventhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WHvCreateVpciDevice(partition.into(), logicaldeviceid, vpciresource.into(), flags, notificationeventhandle.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -517,7 +517,7 @@ pub unsafe fn WHvDeleteNotificationPort(partition: P0, porthandle: *const :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvDeleteNotificationPort ( partition : WHV_PARTITION_HANDLE , porthandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvDeleteNotificationPort ( partition : WHV_PARTITION_HANDLE , porthandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WHvDeleteNotificationPort(partition.into(), porthandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -526,7 +526,7 @@ pub unsafe fn WHvDeletePartition(partition: P0) -> ::windows::core::Result<( where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvDeletePartition ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvDeletePartition ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); WHvDeletePartition(partition.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -535,7 +535,7 @@ pub unsafe fn WHvDeleteTrigger(partition: P0, triggerhandle: *const ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvDeleteTrigger ( partition : WHV_PARTITION_HANDLE , triggerhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvDeleteTrigger ( partition : WHV_PARTITION_HANDLE , triggerhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WHvDeleteTrigger(partition.into(), triggerhandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -544,7 +544,7 @@ pub unsafe fn WHvDeleteVirtualProcessor(partition: P0, vpindex: u32) -> ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvDeleteVirtualProcessor ( partition : WHV_PARTITION_HANDLE , vpindex : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvDeleteVirtualProcessor ( partition : WHV_PARTITION_HANDLE , vpindex : u32 ) -> :: windows::core::HRESULT ); WHvDeleteVirtualProcessor(partition.into(), vpindex).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -553,39 +553,39 @@ pub unsafe fn WHvDeleteVpciDevice(partition: P0, logicaldeviceid: u64) -> :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvDeleteVpciDevice ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvDeleteVpciDevice ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 ) -> :: windows::core::HRESULT ); WHvDeleteVpciDevice(partition.into(), logicaldeviceid).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn WHvEmulatorCreateEmulator(callbacks: *const WHV_EMULATOR_CALLBACKS, emulator: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winhvemulation.dll""system" fn WHvEmulatorCreateEmulator ( callbacks : *const WHV_EMULATOR_CALLBACKS , emulator : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvemulation.dll""system" fn WHvEmulatorCreateEmulator ( callbacks : *const WHV_EMULATOR_CALLBACKS , emulator : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WHvEmulatorCreateEmulator(callbacks, emulator).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn WHvEmulatorDestroyEmulator(emulator: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winhvemulation.dll""system" fn WHvEmulatorDestroyEmulator ( emulator : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvemulation.dll""system" fn WHvEmulatorDestroyEmulator ( emulator : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WHvEmulatorDestroyEmulator(emulator).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn WHvEmulatorTryIoEmulation(emulator: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void, vpcontext: *const WHV_VP_EXIT_CONTEXT, ioinstructioncontext: *const WHV_X64_IO_PORT_ACCESS_CONTEXT) -> ::windows::core::Result { - ::windows::core::link ! ( "winhvemulation.dll""system" fn WHvEmulatorTryIoEmulation ( emulator : *const ::core::ffi::c_void , context : *const ::core::ffi::c_void , vpcontext : *const WHV_VP_EXIT_CONTEXT , ioinstructioncontext : *const WHV_X64_IO_PORT_ACCESS_CONTEXT , emulatorreturnstatus : *mut WHV_EMULATOR_STATUS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvemulation.dll""system" fn WHvEmulatorTryIoEmulation ( emulator : *const ::core::ffi::c_void , context : *const ::core::ffi::c_void , vpcontext : *const WHV_VP_EXIT_CONTEXT , ioinstructioncontext : *const WHV_X64_IO_PORT_ACCESS_CONTEXT , emulatorreturnstatus : *mut WHV_EMULATOR_STATUS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WHvEmulatorTryIoEmulation(emulator, context, vpcontext, ioinstructioncontext, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn WHvEmulatorTryMmioEmulation(emulator: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void, vpcontext: *const WHV_VP_EXIT_CONTEXT, mmioinstructioncontext: *const WHV_MEMORY_ACCESS_CONTEXT) -> ::windows::core::Result { - ::windows::core::link ! ( "winhvemulation.dll""system" fn WHvEmulatorTryMmioEmulation ( emulator : *const ::core::ffi::c_void , context : *const ::core::ffi::c_void , vpcontext : *const WHV_VP_EXIT_CONTEXT , mmioinstructioncontext : *const WHV_MEMORY_ACCESS_CONTEXT , emulatorreturnstatus : *mut WHV_EMULATOR_STATUS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvemulation.dll""system" fn WHvEmulatorTryMmioEmulation ( emulator : *const ::core::ffi::c_void , context : *const ::core::ffi::c_void , vpcontext : *const WHV_VP_EXIT_CONTEXT , mmioinstructioncontext : *const WHV_MEMORY_ACCESS_CONTEXT , emulatorreturnstatus : *mut WHV_EMULATOR_STATUS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WHvEmulatorTryMmioEmulation(emulator, context, vpcontext, mmioinstructioncontext, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] #[inline] pub unsafe fn WHvGetCapability(capabilitycode: WHV_CAPABILITY_CODE, capabilitybuffer: *mut ::core::ffi::c_void, capabilitybuffersizeinbytes: u32, writtensizeinbytes: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetCapability ( capabilitycode : WHV_CAPABILITY_CODE , capabilitybuffer : *mut ::core::ffi::c_void , capabilitybuffersizeinbytes : u32 , writtensizeinbytes : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetCapability ( capabilitycode : WHV_CAPABILITY_CODE , capabilitybuffer : *mut ::core::ffi::c_void , capabilitybuffersizeinbytes : u32 , writtensizeinbytes : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetCapability(capabilitycode, capabilitybuffer, capabilitybuffersizeinbytes, ::core::mem::transmute(writtensizeinbytes.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -594,7 +594,7 @@ pub unsafe fn WHvGetInterruptTargetVpSet(partition: P0, destination: u64, de where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetInterruptTargetVpSet ( partition : WHV_PARTITION_HANDLE , destination : u64 , destinationmode : WHV_INTERRUPT_DESTINATION_MODE , targetvps : *mut u32 , vpcount : u32 , targetvpcount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetInterruptTargetVpSet ( partition : WHV_PARTITION_HANDLE , destination : u64 , destinationmode : WHV_INTERRUPT_DESTINATION_MODE , targetvps : *mut u32 , vpcount : u32 , targetvpcount : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetInterruptTargetVpSet(partition.into(), destination, destinationmode, ::core::mem::transmute(targetvps.as_ptr()), targetvps.len() as _, targetvpcount).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -603,7 +603,7 @@ pub unsafe fn WHvGetPartitionCounters(partition: P0, counterset: WHV_PARTITI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetPartitionCounters ( partition : WHV_PARTITION_HANDLE , counterset : WHV_PARTITION_COUNTER_SET , buffer : *mut ::core::ffi::c_void , buffersizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetPartitionCounters ( partition : WHV_PARTITION_HANDLE , counterset : WHV_PARTITION_COUNTER_SET , buffer : *mut ::core::ffi::c_void , buffersizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetPartitionCounters(partition.into(), counterset, buffer, buffersizeinbytes, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -612,7 +612,7 @@ pub unsafe fn WHvGetPartitionProperty(partition: P0, propertycode: WHV_PARTI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetPartitionProperty ( partition : WHV_PARTITION_HANDLE , propertycode : WHV_PARTITION_PROPERTY_CODE , propertybuffer : *mut ::core::ffi::c_void , propertybuffersizeinbytes : u32 , writtensizeinbytes : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetPartitionProperty ( partition : WHV_PARTITION_HANDLE , propertycode : WHV_PARTITION_PROPERTY_CODE , propertybuffer : *mut ::core::ffi::c_void , propertybuffersizeinbytes : u32 , writtensizeinbytes : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetPartitionProperty(partition.into(), propertycode, propertybuffer, propertybuffersizeinbytes, ::core::mem::transmute(writtensizeinbytes.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -621,7 +621,7 @@ pub unsafe fn WHvGetVirtualProcessorCounters(partition: P0, vpindex: u32, co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorCounters ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , counterset : WHV_PROCESSOR_COUNTER_SET , buffer : *mut ::core::ffi::c_void , buffersizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorCounters ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , counterset : WHV_PROCESSOR_COUNTER_SET , buffer : *mut ::core::ffi::c_void , buffersizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetVirtualProcessorCounters(partition.into(), vpindex, counterset, buffer, buffersizeinbytes, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -630,7 +630,7 @@ pub unsafe fn WHvGetVirtualProcessorCpuidOutput(partition: P0, vpindex: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorCpuidOutput ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , eax : u32 , ecx : u32 , cpuidoutput : *mut WHV_CPUID_OUTPUT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorCpuidOutput ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , eax : u32 , ecx : u32 , cpuidoutput : *mut WHV_CPUID_OUTPUT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WHvGetVirtualProcessorCpuidOutput(partition.into(), vpindex, eax, ecx, &mut result__).from_abi(result__) } @@ -640,7 +640,7 @@ pub unsafe fn WHvGetVirtualProcessorInterruptControllerState(partition: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorInterruptControllerState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , state : *mut ::core::ffi::c_void , statesize : u32 , writtensize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorInterruptControllerState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , state : *mut ::core::ffi::c_void , statesize : u32 , writtensize : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetVirtualProcessorInterruptControllerState(partition.into(), vpindex, state, statesize, ::core::mem::transmute(writtensize.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -649,7 +649,7 @@ pub unsafe fn WHvGetVirtualProcessorInterruptControllerState2(partition: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorInterruptControllerState2 ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , state : *mut ::core::ffi::c_void , statesize : u32 , writtensize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorInterruptControllerState2 ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , state : *mut ::core::ffi::c_void , statesize : u32 , writtensize : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetVirtualProcessorInterruptControllerState2(partition.into(), vpindex, state, statesize, ::core::mem::transmute(writtensize.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -658,7 +658,7 @@ pub unsafe fn WHvGetVirtualProcessorRegisters(partition: P0, vpindex: u32, r where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorRegisters ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , registernames : *const WHV_REGISTER_NAME , registercount : u32 , registervalues : *mut WHV_REGISTER_VALUE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorRegisters ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , registernames : *const WHV_REGISTER_NAME , registercount : u32 , registervalues : *mut WHV_REGISTER_VALUE ) -> :: windows::core::HRESULT ); WHvGetVirtualProcessorRegisters(partition.into(), vpindex, registernames, registercount, registervalues).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -667,7 +667,7 @@ pub unsafe fn WHvGetVirtualProcessorState(partition: P0, vpindex: u32, state where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , statetype : WHV_VIRTUAL_PROCESSOR_STATE_TYPE , buffer : *mut ::core::ffi::c_void , buffersizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , statetype : WHV_VIRTUAL_PROCESSOR_STATE_TYPE , buffer : *mut ::core::ffi::c_void , buffersizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetVirtualProcessorState(partition.into(), vpindex, statetype, buffer, buffersizeinbytes, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -676,7 +676,7 @@ pub unsafe fn WHvGetVirtualProcessorXsaveState(partition: P0, vpindex: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorXsaveState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , buffer : *mut ::core::ffi::c_void , buffersizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVirtualProcessorXsaveState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , buffer : *mut ::core::ffi::c_void , buffersizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetVirtualProcessorXsaveState(partition.into(), vpindex, buffer, buffersizeinbytes, byteswritten).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -685,7 +685,7 @@ pub unsafe fn WHvGetVpciDeviceInterruptTarget(partition: P0, logicaldeviceid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVpciDeviceInterruptTarget ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , index : u32 , multimessagenumber : u32 , target : *mut WHV_VPCI_INTERRUPT_TARGET , targetsizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVpciDeviceInterruptTarget ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , index : u32 , multimessagenumber : u32 , target : *mut WHV_VPCI_INTERRUPT_TARGET , targetsizeinbytes : u32 , byteswritten : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetVpciDeviceInterruptTarget(partition.into(), logicaldeviceid, index, multimessagenumber, target, targetsizeinbytes, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -694,7 +694,7 @@ pub unsafe fn WHvGetVpciDeviceNotification(partition: P0, logicaldeviceid: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVpciDeviceNotification ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , notification : *mut WHV_VPCI_DEVICE_NOTIFICATION , notificationsizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVpciDeviceNotification ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , notification : *mut WHV_VPCI_DEVICE_NOTIFICATION , notificationsizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvGetVpciDeviceNotification(partition.into(), logicaldeviceid, notification, notificationsizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -703,7 +703,7 @@ pub unsafe fn WHvGetVpciDeviceProperty(partition: P0, logicaldeviceid: u64, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvGetVpciDeviceProperty ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , propertycode : WHV_VPCI_DEVICE_PROPERTY_CODE , propertybuffer : *mut ::core::ffi::c_void , propertybuffersizeinbytes : u32 , writtensizeinbytes : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvGetVpciDeviceProperty ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , propertycode : WHV_VPCI_DEVICE_PROPERTY_CODE , propertybuffer : *mut ::core::ffi::c_void , propertybuffersizeinbytes : u32 , writtensizeinbytes : *mut u32 ) -> :: windows::core::HRESULT ); WHvGetVpciDeviceProperty(partition.into(), logicaldeviceid, propertycode, propertybuffer, propertybuffersizeinbytes, ::core::mem::transmute(writtensizeinbytes.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -712,7 +712,7 @@ pub unsafe fn WHvMapGpaRange(partition: P0, sourceaddress: *const ::core::ff where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvMapGpaRange ( partition : WHV_PARTITION_HANDLE , sourceaddress : *const ::core::ffi::c_void , guestaddress : u64 , sizeinbytes : u64 , flags : WHV_MAP_GPA_RANGE_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvMapGpaRange ( partition : WHV_PARTITION_HANDLE , sourceaddress : *const ::core::ffi::c_void , guestaddress : u64 , sizeinbytes : u64 , flags : WHV_MAP_GPA_RANGE_FLAGS ) -> :: windows::core::HRESULT ); WHvMapGpaRange(partition.into(), sourceaddress, guestaddress, sizeinbytes, flags).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -723,7 +723,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvMapGpaRange2 ( partition : WHV_PARTITION_HANDLE , process : super::super::Foundation:: HANDLE , sourceaddress : *const ::core::ffi::c_void , guestaddress : u64 , sizeinbytes : u64 , flags : WHV_MAP_GPA_RANGE_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvMapGpaRange2 ( partition : WHV_PARTITION_HANDLE , process : super::super::Foundation:: HANDLE , sourceaddress : *const ::core::ffi::c_void , guestaddress : u64 , sizeinbytes : u64 , flags : WHV_MAP_GPA_RANGE_FLAGS ) -> :: windows::core::HRESULT ); WHvMapGpaRange2(partition.into(), process.into(), sourceaddress, guestaddress, sizeinbytes, flags).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -732,7 +732,7 @@ pub unsafe fn WHvMapVpciDeviceInterrupt(partition: P0, logicaldeviceid: u64, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvMapVpciDeviceInterrupt ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , index : u32 , messagecount : u32 , target : *const WHV_VPCI_INTERRUPT_TARGET , msiaddress : *mut u64 , msidata : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvMapVpciDeviceInterrupt ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , index : u32 , messagecount : u32 , target : *const WHV_VPCI_INTERRUPT_TARGET , msiaddress : *mut u64 , msidata : *mut u32 ) -> :: windows::core::HRESULT ); WHvMapVpciDeviceInterrupt(partition.into(), logicaldeviceid, index, messagecount, target, msiaddress, msidata).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -741,7 +741,7 @@ pub unsafe fn WHvMapVpciDeviceMmioRanges(partition: P0, logicaldeviceid: u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvMapVpciDeviceMmioRanges ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , mappingcount : *mut u32 , mappings : *mut *mut WHV_VPCI_MMIO_MAPPING ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvMapVpciDeviceMmioRanges ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , mappingcount : *mut u32 , mappings : *mut *mut WHV_VPCI_MMIO_MAPPING ) -> :: windows::core::HRESULT ); WHvMapVpciDeviceMmioRanges(partition.into(), logicaldeviceid, mappingcount, mappings).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -750,7 +750,7 @@ pub unsafe fn WHvPostVirtualProcessorSynicMessage(partition: P0, vpindex: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvPostVirtualProcessorSynicMessage ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , sintindex : u32 , message : *const ::core::ffi::c_void , messagesizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvPostVirtualProcessorSynicMessage ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , sintindex : u32 , message : *const ::core::ffi::c_void , messagesizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvPostVirtualProcessorSynicMessage(partition.into(), vpindex, sintindex, message, messagesizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -759,7 +759,7 @@ pub unsafe fn WHvQueryGpaRangeDirtyBitmap(partition: P0, guestaddress: u64, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvQueryGpaRangeDirtyBitmap ( partition : WHV_PARTITION_HANDLE , guestaddress : u64 , rangesizeinbytes : u64 , bitmap : *mut u64 , bitmapsizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvQueryGpaRangeDirtyBitmap ( partition : WHV_PARTITION_HANDLE , guestaddress : u64 , rangesizeinbytes : u64 , bitmap : *mut u64 , bitmapsizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvQueryGpaRangeDirtyBitmap(partition.into(), guestaddress, rangesizeinbytes, ::core::mem::transmute(bitmap.unwrap_or(::std::ptr::null_mut())), bitmapsizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -768,7 +768,7 @@ pub unsafe fn WHvReadGpaRange(partition: P0, vpindex: u32, guestaddress: u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvReadGpaRange ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , guestaddress : u64 , controls : WHV_ACCESS_GPA_CONTROLS , data : *mut ::core::ffi::c_void , datasizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvReadGpaRange ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , guestaddress : u64 , controls : WHV_ACCESS_GPA_CONTROLS , data : *mut ::core::ffi::c_void , datasizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvReadGpaRange(partition.into(), vpindex, guestaddress, ::core::mem::transmute(controls), data, datasizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -777,7 +777,7 @@ pub unsafe fn WHvReadVpciDeviceRegister(partition: P0, logicaldeviceid: u64, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvReadVpciDeviceRegister ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , register : *const WHV_VPCI_DEVICE_REGISTER , data : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvReadVpciDeviceRegister ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , register : *const WHV_VPCI_DEVICE_REGISTER , data : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WHvReadVpciDeviceRegister(partition.into(), logicaldeviceid, register, data).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -788,7 +788,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvRegisterPartitionDoorbellEvent ( partition : WHV_PARTITION_HANDLE , matchdata : *const WHV_DOORBELL_MATCH_DATA , eventhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvRegisterPartitionDoorbellEvent ( partition : WHV_PARTITION_HANDLE , matchdata : *const WHV_DOORBELL_MATCH_DATA , eventhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WHvRegisterPartitionDoorbellEvent(partition.into(), matchdata, eventhandle.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -797,7 +797,7 @@ pub unsafe fn WHvRequestInterrupt(partition: P0, interrupt: *const WHV_INTER where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvRequestInterrupt ( partition : WHV_PARTITION_HANDLE , interrupt : *const WHV_INTERRUPT_CONTROL , interruptcontrolsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvRequestInterrupt ( partition : WHV_PARTITION_HANDLE , interrupt : *const WHV_INTERRUPT_CONTROL , interruptcontrolsize : u32 ) -> :: windows::core::HRESULT ); WHvRequestInterrupt(partition.into(), interrupt, interruptcontrolsize).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -806,7 +806,7 @@ pub unsafe fn WHvRequestVpciDeviceInterrupt(partition: P0, logicaldeviceid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvRequestVpciDeviceInterrupt ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , msiaddress : u64 , msidata : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvRequestVpciDeviceInterrupt ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , msiaddress : u64 , msidata : u32 ) -> :: windows::core::HRESULT ); WHvRequestVpciDeviceInterrupt(partition.into(), logicaldeviceid, msiaddress, msidata).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -815,7 +815,7 @@ pub unsafe fn WHvResetPartition(partition: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvResetPartition ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvResetPartition ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); WHvResetPartition(partition.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -824,7 +824,7 @@ pub unsafe fn WHvResumePartitionTime(partition: P0) -> ::windows::core::Resu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvResumePartitionTime ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvResumePartitionTime ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); WHvResumePartitionTime(partition.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -833,7 +833,7 @@ pub unsafe fn WHvRetargetVpciDeviceInterrupt(partition: P0, logicaldeviceid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvRetargetVpciDeviceInterrupt ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , msiaddress : u64 , msidata : u32 , target : *const WHV_VPCI_INTERRUPT_TARGET ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvRetargetVpciDeviceInterrupt ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , msiaddress : u64 , msidata : u32 , target : *const WHV_VPCI_INTERRUPT_TARGET ) -> :: windows::core::HRESULT ); WHvRetargetVpciDeviceInterrupt(partition.into(), logicaldeviceid, msiaddress, msidata, target).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -842,7 +842,7 @@ pub unsafe fn WHvRunVirtualProcessor(partition: P0, vpindex: u32, exitcontex where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvRunVirtualProcessor ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , exitcontext : *mut ::core::ffi::c_void , exitcontextsizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvRunVirtualProcessor ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , exitcontext : *mut ::core::ffi::c_void , exitcontextsizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvRunVirtualProcessor(partition.into(), vpindex, exitcontext, exitcontextsizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -851,7 +851,7 @@ pub unsafe fn WHvSetNotificationPortProperty(partition: P0, porthandle: *con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetNotificationPortProperty ( partition : WHV_PARTITION_HANDLE , porthandle : *const ::core::ffi::c_void , propertycode : WHV_NOTIFICATION_PORT_PROPERTY_CODE , propertyvalue : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetNotificationPortProperty ( partition : WHV_PARTITION_HANDLE , porthandle : *const ::core::ffi::c_void , propertycode : WHV_NOTIFICATION_PORT_PROPERTY_CODE , propertyvalue : u64 ) -> :: windows::core::HRESULT ); WHvSetNotificationPortProperty(partition.into(), porthandle, propertycode, propertyvalue).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -860,7 +860,7 @@ pub unsafe fn WHvSetPartitionProperty(partition: P0, propertycode: WHV_PARTI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetPartitionProperty ( partition : WHV_PARTITION_HANDLE , propertycode : WHV_PARTITION_PROPERTY_CODE , propertybuffer : *const ::core::ffi::c_void , propertybuffersizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetPartitionProperty ( partition : WHV_PARTITION_HANDLE , propertycode : WHV_PARTITION_PROPERTY_CODE , propertybuffer : *const ::core::ffi::c_void , propertybuffersizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvSetPartitionProperty(partition.into(), propertycode, propertybuffer, propertybuffersizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -869,7 +869,7 @@ pub unsafe fn WHvSetVirtualProcessorInterruptControllerState(partition: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorInterruptControllerState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , state : *const ::core::ffi::c_void , statesize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorInterruptControllerState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , state : *const ::core::ffi::c_void , statesize : u32 ) -> :: windows::core::HRESULT ); WHvSetVirtualProcessorInterruptControllerState(partition.into(), vpindex, state, statesize).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -878,7 +878,7 @@ pub unsafe fn WHvSetVirtualProcessorInterruptControllerState2(partition: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorInterruptControllerState2 ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , state : *const ::core::ffi::c_void , statesize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorInterruptControllerState2 ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , state : *const ::core::ffi::c_void , statesize : u32 ) -> :: windows::core::HRESULT ); WHvSetVirtualProcessorInterruptControllerState2(partition.into(), vpindex, state, statesize).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -887,7 +887,7 @@ pub unsafe fn WHvSetVirtualProcessorRegisters(partition: P0, vpindex: u32, r where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorRegisters ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , registernames : *const WHV_REGISTER_NAME , registercount : u32 , registervalues : *const WHV_REGISTER_VALUE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorRegisters ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , registernames : *const WHV_REGISTER_NAME , registercount : u32 , registervalues : *const WHV_REGISTER_VALUE ) -> :: windows::core::HRESULT ); WHvSetVirtualProcessorRegisters(partition.into(), vpindex, registernames, registercount, registervalues).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -896,7 +896,7 @@ pub unsafe fn WHvSetVirtualProcessorState(partition: P0, vpindex: u32, state where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , statetype : WHV_VIRTUAL_PROCESSOR_STATE_TYPE , buffer : *const ::core::ffi::c_void , buffersizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , statetype : WHV_VIRTUAL_PROCESSOR_STATE_TYPE , buffer : *const ::core::ffi::c_void , buffersizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvSetVirtualProcessorState(partition.into(), vpindex, statetype, buffer, buffersizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -905,7 +905,7 @@ pub unsafe fn WHvSetVirtualProcessorXsaveState(partition: P0, vpindex: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorXsaveState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , buffer : *const ::core::ffi::c_void , buffersizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetVirtualProcessorXsaveState ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , buffer : *const ::core::ffi::c_void , buffersizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvSetVirtualProcessorXsaveState(partition.into(), vpindex, buffer, buffersizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_System_Power\"`*"] @@ -915,7 +915,7 @@ pub unsafe fn WHvSetVpciDevicePowerState(partition: P0, logicaldeviceid: u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetVpciDevicePowerState ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , powerstate : super::Power:: DEVICE_POWER_STATE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetVpciDevicePowerState ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , powerstate : super::Power:: DEVICE_POWER_STATE ) -> :: windows::core::HRESULT ); WHvSetVpciDevicePowerState(partition.into(), logicaldeviceid, powerstate).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -924,7 +924,7 @@ pub unsafe fn WHvSetupPartition(partition: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSetupPartition ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSetupPartition ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); WHvSetupPartition(partition.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -934,7 +934,7 @@ pub unsafe fn WHvSignalVirtualProcessorSynicEvent(partition: P0, synicevent: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSignalVirtualProcessorSynicEvent ( partition : WHV_PARTITION_HANDLE , synicevent : WHV_SYNIC_EVENT_PARAMETERS , newlysignaled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSignalVirtualProcessorSynicEvent ( partition : WHV_PARTITION_HANDLE , synicevent : WHV_SYNIC_EVENT_PARAMETERS , newlysignaled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); WHvSignalVirtualProcessorSynicEvent(partition.into(), ::core::mem::transmute(synicevent), ::core::mem::transmute(newlysignaled.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`, `\"Win32_Foundation\"`*"] @@ -944,7 +944,7 @@ pub unsafe fn WHvStartPartitionMigration(partition: P0) -> ::windows::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvStartPartitionMigration ( partition : WHV_PARTITION_HANDLE , migrationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvStartPartitionMigration ( partition : WHV_PARTITION_HANDLE , migrationhandle : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WHvStartPartitionMigration(partition.into(), &mut result__).from_abi(result__) } @@ -954,7 +954,7 @@ pub unsafe fn WHvSuspendPartitionTime(partition: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvSuspendPartitionTime ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvSuspendPartitionTime ( partition : WHV_PARTITION_HANDLE ) -> :: windows::core::HRESULT ); WHvSuspendPartitionTime(partition.into()).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -963,7 +963,7 @@ pub unsafe fn WHvTranslateGva(partition: P0, vpindex: u32, gva: u64, transla where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvTranslateGva ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , gva : u64 , translateflags : WHV_TRANSLATE_GVA_FLAGS , translationresult : *mut WHV_TRANSLATE_GVA_RESULT , gpa : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvTranslateGva ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , gva : u64 , translateflags : WHV_TRANSLATE_GVA_FLAGS , translationresult : *mut WHV_TRANSLATE_GVA_RESULT , gpa : *mut u64 ) -> :: windows::core::HRESULT ); WHvTranslateGva(partition.into(), vpindex, gva, translateflags, translationresult, gpa).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -972,7 +972,7 @@ pub unsafe fn WHvUnmapGpaRange(partition: P0, guestaddress: u64, sizeinbytes where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvUnmapGpaRange ( partition : WHV_PARTITION_HANDLE , guestaddress : u64 , sizeinbytes : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvUnmapGpaRange ( partition : WHV_PARTITION_HANDLE , guestaddress : u64 , sizeinbytes : u64 ) -> :: windows::core::HRESULT ); WHvUnmapGpaRange(partition.into(), guestaddress, sizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -981,7 +981,7 @@ pub unsafe fn WHvUnmapVpciDeviceInterrupt(partition: P0, logicaldeviceid: u6 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvUnmapVpciDeviceInterrupt ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , index : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvUnmapVpciDeviceInterrupt ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , index : u32 ) -> :: windows::core::HRESULT ); WHvUnmapVpciDeviceInterrupt(partition.into(), logicaldeviceid, index).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -990,7 +990,7 @@ pub unsafe fn WHvUnmapVpciDeviceMmioRanges(partition: P0, logicaldeviceid: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvUnmapVpciDeviceMmioRanges ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvUnmapVpciDeviceMmioRanges ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 ) -> :: windows::core::HRESULT ); WHvUnmapVpciDeviceMmioRanges(partition.into(), logicaldeviceid).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -999,7 +999,7 @@ pub unsafe fn WHvUnregisterPartitionDoorbellEvent(partition: P0, matchdata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvUnregisterPartitionDoorbellEvent ( partition : WHV_PARTITION_HANDLE , matchdata : *const WHV_DOORBELL_MATCH_DATA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvUnregisterPartitionDoorbellEvent ( partition : WHV_PARTITION_HANDLE , matchdata : *const WHV_DOORBELL_MATCH_DATA ) -> :: windows::core::HRESULT ); WHvUnregisterPartitionDoorbellEvent(partition.into(), matchdata).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -1008,7 +1008,7 @@ pub unsafe fn WHvUpdateTriggerParameters(partition: P0, parameters: *const W where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvUpdateTriggerParameters ( partition : WHV_PARTITION_HANDLE , parameters : *const WHV_TRIGGER_PARAMETERS , triggerhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvUpdateTriggerParameters ( partition : WHV_PARTITION_HANDLE , parameters : *const WHV_TRIGGER_PARAMETERS , triggerhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WHvUpdateTriggerParameters(partition.into(), parameters, triggerhandle).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -1017,7 +1017,7 @@ pub unsafe fn WHvWriteGpaRange(partition: P0, vpindex: u32, guestaddress: u6 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvWriteGpaRange ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , guestaddress : u64 , controls : WHV_ACCESS_GPA_CONTROLS , data : *const ::core::ffi::c_void , datasizeinbytes : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvWriteGpaRange ( partition : WHV_PARTITION_HANDLE , vpindex : u32 , guestaddress : u64 , controls : WHV_ACCESS_GPA_CONTROLS , data : *const ::core::ffi::c_void , datasizeinbytes : u32 ) -> :: windows::core::HRESULT ); WHvWriteGpaRange(partition.into(), vpindex, guestaddress, ::core::mem::transmute(controls), data, datasizeinbytes).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] @@ -1026,7 +1026,7 @@ pub unsafe fn WHvWriteVpciDeviceRegister(partition: P0, logicaldeviceid: u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "winhvplatform.dll""system" fn WHvWriteVpciDeviceRegister ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , register : *const WHV_VPCI_DEVICE_REGISTER , data : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "winhvplatform.dll""system" fn WHvWriteVpciDeviceRegister ( partition : WHV_PARTITION_HANDLE , logicaldeviceid : u64 , register : *const WHV_VPCI_DEVICE_REGISTER , data : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WHvWriteVpciDeviceRegister(partition.into(), logicaldeviceid, register, data).ok() } #[doc = "*Required features: `\"Win32_System_Hypervisor\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/IO/mod.rs b/crates/libs/windows/src/Windows/Win32/System/IO/mod.rs index 79b1d68cb5..a8c540f330 100644 --- a/crates/libs/windows/src/Windows/Win32/System/IO/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/IO/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn BindIoCompletionCallback(filehandle: P0, function: LPOVERLAPPE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn BindIoCompletionCallback ( filehandle : super::super::Foundation:: HANDLE , function : LPOVERLAPPED_COMPLETION_ROUTINE , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BindIoCompletionCallback ( filehandle : super::super::Foundation:: HANDLE , function : LPOVERLAPPED_COMPLETION_ROUTINE , flags : u32 ) -> super::super::Foundation:: BOOL ); BindIoCompletionCallback(filehandle.into(), function, flags) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn CancelIo(hfile: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CancelIo ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CancelIo ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CancelIo(hfile.into()) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn CancelIoEx(hfile: P0, lpoverlapped: ::core::option::Option<*co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CancelIoEx ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : *const OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CancelIoEx ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : *const OVERLAPPED ) -> super::super::Foundation:: BOOL ); CancelIoEx(hfile.into(), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -35,7 +35,7 @@ pub unsafe fn CancelSynchronousIo(hthread: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CancelSynchronousIo ( hthread : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CancelSynchronousIo ( hthread : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CancelSynchronousIo(hthread.into()) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -46,9 +46,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateIoCompletionPort ( filehandle : super::super::Foundation:: HANDLE , existingcompletionport : super::super::Foundation:: HANDLE , completionkey : usize , numberofconcurrentthreads : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateIoCompletionPort ( filehandle : super::super::Foundation:: HANDLE , existingcompletionport : super::super::Foundation:: HANDLE , completionkey : usize , numberofconcurrentthreads : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateIoCompletionPort(filehandle.into(), existingcompletionport.into(), completionkey, numberofconcurrentthreads); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -57,7 +57,7 @@ pub unsafe fn DeviceIoControl(hdevice: P0, dwiocontrolcode: u32, lpinbuffer: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeviceIoControl ( hdevice : super::super::Foundation:: HANDLE , dwiocontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 , lpoverlapped : *mut OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeviceIoControl ( hdevice : super::super::Foundation:: HANDLE , dwiocontrolcode : u32 , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesreturned : *mut u32 , lpoverlapped : *mut OVERLAPPED ) -> super::super::Foundation:: BOOL ); DeviceIoControl(hdevice.into(), dwiocontrolcode, ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, ::core::mem::transmute(lpbytesreturned.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -68,7 +68,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetOverlappedResult ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : *const OVERLAPPED , lpnumberofbytestransferred : *mut u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetOverlappedResult ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : *const OVERLAPPED , lpnumberofbytestransferred : *mut u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetOverlappedResult(hfile.into(), lpoverlapped, lpnumberofbytestransferred, bwait.into()) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -79,7 +79,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetOverlappedResultEx ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : *const OVERLAPPED , lpnumberofbytestransferred : *mut u32 , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetOverlappedResultEx ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : *const OVERLAPPED , lpnumberofbytestransferred : *mut u32 , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetOverlappedResultEx(hfile.into(), lpoverlapped, lpnumberofbytestransferred, dwmilliseconds, balertable.into()) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -89,7 +89,7 @@ pub unsafe fn GetQueuedCompletionStatus(completionport: P0, lpnumberofbytest where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetQueuedCompletionStatus ( completionport : super::super::Foundation:: HANDLE , lpnumberofbytestransferred : *mut u32 , lpcompletionkey : *mut usize , lpoverlapped : *mut *mut OVERLAPPED , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetQueuedCompletionStatus ( completionport : super::super::Foundation:: HANDLE , lpnumberofbytestransferred : *mut u32 , lpcompletionkey : *mut usize , lpoverlapped : *mut *mut OVERLAPPED , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ); GetQueuedCompletionStatus(completionport.into(), lpnumberofbytestransferred, lpcompletionkey, lpoverlapped, dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -100,7 +100,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetQueuedCompletionStatusEx ( completionport : super::super::Foundation:: HANDLE , lpcompletionportentries : *mut OVERLAPPED_ENTRY , ulcount : u32 , ulnumentriesremoved : *mut u32 , dwmilliseconds : u32 , falertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetQueuedCompletionStatusEx ( completionport : super::super::Foundation:: HANDLE , lpcompletionportentries : *mut OVERLAPPED_ENTRY , ulcount : u32 , ulnumentriesremoved : *mut u32 , dwmilliseconds : u32 , falertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetQueuedCompletionStatusEx(completionport.into(), ::core::mem::transmute(lpcompletionportentries.as_ptr()), lpcompletionportentries.len() as _, ulnumentriesremoved, dwmilliseconds, falertable.into()) } #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] @@ -110,7 +110,7 @@ pub unsafe fn PostQueuedCompletionStatus(completionport: P0, dwnumberofbytes where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PostQueuedCompletionStatus ( completionport : super::super::Foundation:: HANDLE , dwnumberofbytestransferred : u32 , dwcompletionkey : usize , lpoverlapped : *const OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PostQueuedCompletionStatus ( completionport : super::super::Foundation:: HANDLE , dwnumberofbytestransferred : u32 , dwcompletionkey : usize , lpoverlapped : *const OVERLAPPED ) -> super::super::Foundation:: BOOL ); PostQueuedCompletionStatus(completionport.into(), dwnumberofbytestransferred, dwcompletionkey, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null()))) } #[repr(C)] diff --git a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs index e83ce4ee2b..4ecdf65b6a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs @@ -2,28 +2,28 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetExtensionVersion(pver: *mut HSE_VERSION_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "rpcproxy.dll""system" fn GetExtensionVersion ( pver : *mut HSE_VERSION_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "rpcproxy.dll""system" fn GetExtensionVersion ( pver : *mut HSE_VERSION_INFO ) -> super::super::Foundation:: BOOL ); GetExtensionVersion(pver) } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetFilterVersion(pver: *mut HTTP_FILTER_VERSION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "rpcproxy.dll""system" fn GetFilterVersion ( pver : *mut HTTP_FILTER_VERSION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "rpcproxy.dll""system" fn GetFilterVersion ( pver : *mut HTTP_FILTER_VERSION ) -> super::super::Foundation:: BOOL ); GetFilterVersion(pver) } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpExtensionProc(pecb: *const EXTENSION_CONTROL_BLOCK) -> u32 { - ::windows::core::link ! ( "rpcproxy.dll""system" fn HttpExtensionProc ( pecb : *const EXTENSION_CONTROL_BLOCK ) -> u32 ); + ::windows::imp::link ! ( "rpcproxy.dll""system" fn HttpExtensionProc ( pecb : *const EXTENSION_CONTROL_BLOCK ) -> u32 ); HttpExtensionProc(pecb) } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn HttpFilterProc(pfc: *mut HTTP_FILTER_CONTEXT, notificationtype: u32, pvnotification: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "rpcproxy.dll""system" fn HttpFilterProc ( pfc : *mut HTTP_FILTER_CONTEXT , notificationtype : u32 , pvnotification : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "rpcproxy.dll""system" fn HttpFilterProc ( pfc : *mut HTTP_FILTER_CONTEXT , notificationtype : u32 , pvnotification : *mut ::core::ffi::c_void ) -> u32 ); HttpFilterProc(pfc, notificationtype, pvnotification) } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] @@ -45,7 +45,7 @@ impl AsyncIFtpAuthenticationProvider { (::windows::core::Vtable::vtable(self).Finish_AuthenticateUser)(::windows::core::Vtable::as_raw(self), ppszcanonicalusername, pfauthenticated).ok() } } -::windows::core::interface_hierarchy!(AsyncIFtpAuthenticationProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIFtpAuthenticationProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIFtpAuthenticationProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -96,7 +96,7 @@ impl AsyncIFtpAuthorizationProvider { (::windows::core::Vtable::vtable(self).Finish_GetUserAccessPermission)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(AsyncIFtpAuthorizationProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIFtpAuthorizationProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIFtpAuthorizationProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -143,7 +143,7 @@ impl AsyncIFtpHomeDirectoryProvider { (::windows::core::Vtable::vtable(self).Finish_GetUserHomeDirectoryData)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(AsyncIFtpHomeDirectoryProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIFtpHomeDirectoryProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIFtpHomeDirectoryProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -184,7 +184,7 @@ impl AsyncIFtpLogProvider { (::windows::core::Vtable::vtable(self).Finish_Log)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIFtpLogProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIFtpLogProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIFtpLogProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -228,7 +228,7 @@ impl AsyncIFtpPostprocessProvider { (::windows::core::Vtable::vtable(self).Finish_HandlePostprocess)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(AsyncIFtpPostprocessProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIFtpPostprocessProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIFtpPostprocessProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -275,7 +275,7 @@ impl AsyncIFtpPreprocessProvider { (::windows::core::Vtable::vtable(self).Finish_HandlePreprocess)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(AsyncIFtpPreprocessProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIFtpPreprocessProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIFtpPreprocessProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -328,7 +328,7 @@ impl AsyncIFtpRoleProvider { (::windows::core::Vtable::vtable(self).Finish_IsUserInRole)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(AsyncIFtpRoleProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIFtpRoleProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIFtpRoleProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -378,7 +378,7 @@ impl AsyncIMSAdminBaseSinkW { (::windows::core::Vtable::vtable(self).Finish_ShutdownNotify)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(AsyncIMSAdminBaseSinkW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(AsyncIMSAdminBaseSinkW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for AsyncIMSAdminBaseSinkW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -424,7 +424,7 @@ impl IADMEXT { (::windows::core::Vtable::vtable(self).Terminate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IADMEXT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IADMEXT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IADMEXT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -471,7 +471,7 @@ impl IFtpAuthenticationProvider { (::windows::core::Vtable::vtable(self).AuthenticateUser)(::windows::core::Vtable::as_raw(self), pszsessionid.into().abi(), pszsitename.into().abi(), pszusername.into().abi(), pszpassword.into().abi(), ppszcanonicalusername, pfauthenticated).ok() } } -::windows::core::interface_hierarchy!(IFtpAuthenticationProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFtpAuthenticationProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFtpAuthenticationProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -518,7 +518,7 @@ impl IFtpAuthorizationProvider { (::windows::core::Vtable::vtable(self).GetUserAccessPermission)(::windows::core::Vtable::as_raw(self), pszsessionid.into().abi(), pszsitename.into().abi(), pszvirtualpath.into().abi(), pszusername.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFtpAuthorizationProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFtpAuthorizationProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFtpAuthorizationProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -561,7 +561,7 @@ impl IFtpHomeDirectoryProvider { (::windows::core::Vtable::vtable(self).GetUserHomeDirectoryData)(::windows::core::Vtable::as_raw(self), pszsessionid.into().abi(), pszsitename.into().abi(), pszusername.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFtpHomeDirectoryProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFtpHomeDirectoryProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFtpHomeDirectoryProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -598,7 +598,7 @@ impl IFtpLogProvider { (::windows::core::Vtable::vtable(self).Log)(::windows::core::Vtable::as_raw(self), ploggingparameters).ok() } } -::windows::core::interface_hierarchy!(IFtpLogProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFtpLogProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFtpLogProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -638,7 +638,7 @@ impl IFtpPostprocessProvider { (::windows::core::Vtable::vtable(self).HandlePostprocess)(::windows::core::Vtable::as_raw(self), ppostprocessparameters, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFtpPostprocessProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFtpPostprocessProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFtpPostprocessProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -681,7 +681,7 @@ impl IFtpPreprocessProvider { (::windows::core::Vtable::vtable(self).HandlePreprocess)(::windows::core::Vtable::as_raw(self), ppreprocessparameters, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFtpPreprocessProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFtpPreprocessProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFtpPreprocessProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -723,7 +723,7 @@ impl IFtpProviderConstruct { (::windows::core::Vtable::vtable(self).Construct)(::windows::core::Vtable::as_raw(self), configurationentries).ok() } } -::windows::core::interface_hierarchy!(IFtpProviderConstruct, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFtpProviderConstruct, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFtpProviderConstruct { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -772,7 +772,7 @@ impl IFtpRoleProvider { (::windows::core::Vtable::vtable(self).IsUserInRole)(::windows::core::Vtable::as_raw(self), pszsessionid.into().abi(), pszsitename.into().abi(), pszusername.into().abi(), pszrole.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFtpRoleProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFtpRoleProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFtpRoleProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1030,7 +1030,7 @@ impl IMSAdminBase2W { (::windows::core::Vtable::vtable(self).EnumHistory)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pszmdhistorylocation.as_ptr()), pdwmdmajorversion, pdwmdminorversion, pftmdhistorytime, dwmdenumindex).ok() } } -::windows::core::interface_hierarchy!(IMSAdminBase2W, ::windows::core::IUnknown, IMSAdminBaseW); +::windows::imp::interface_hierarchy!(IMSAdminBase2W, ::windows::core::IUnknown, IMSAdminBaseW); impl ::core::cmp::PartialEq for IMSAdminBase2W { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1299,7 +1299,7 @@ impl IMSAdminBase3W { (::windows::core::Vtable::vtable(self).GetChildPaths)(::windows::core::Vtable::as_raw(self), hmdhandle, pszmdpath.into().abi(), pszbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pszbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pcchmdrequiredbuffersize.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMSAdminBase3W, ::windows::core::IUnknown, IMSAdminBaseW, IMSAdminBase2W); +::windows::imp::interface_hierarchy!(IMSAdminBase3W, ::windows::core::IUnknown, IMSAdminBaseW, IMSAdminBase2W); impl ::core::cmp::PartialEq for IMSAdminBase3W { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1339,7 +1339,7 @@ impl IMSAdminBaseSinkW { (::windows::core::Vtable::vtable(self).ShutdownNotify)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMSAdminBaseSinkW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMSAdminBaseSinkW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMSAdminBaseSinkW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1553,7 +1553,7 @@ impl IMSAdminBaseW { (::windows::core::Vtable::vtable(self).GetServerGuid)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMSAdminBaseW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMSAdminBaseW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMSAdminBaseW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1639,7 +1639,7 @@ impl IMSImpExpHelpW { (::windows::core::Vtable::vtable(self).EnumeratePathsInFile)(::windows::core::Vtable::as_raw(self), pszfilename.into().abi(), pszkeytype.into().abi(), pszbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pszbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdwmdrequiredbuffersize).ok() } } -::windows::core::interface_hierarchy!(IMSImpExpHelpW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMSImpExpHelpW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMSImpExpHelpW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/JobObjects/mod.rs b/crates/libs/windows/src/Windows/Win32/System/JobObjects/mod.rs index c85e4cf476..ad57d93d79 100644 --- a/crates/libs/windows/src/Windows/Win32/System/JobObjects/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/JobObjects/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AssignProcessToJobObject ( hjob : super::super::Foundation:: HANDLE , hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AssignProcessToJobObject ( hjob : super::super::Foundation:: HANDLE , hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); AssignProcessToJobObject(hjob.into(), hprocess.into()) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -16,9 +16,9 @@ pub unsafe fn CreateJobObjectA(lpjobattributes: ::core::option::Option<*cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateJobObjectA ( lpjobattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateJobObjectA ( lpjobattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateJobObjectA(::core::mem::transmute(lpjobattributes.unwrap_or(::std::ptr::null())), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -27,21 +27,21 @@ pub unsafe fn CreateJobObjectW(lpjobattributes: ::core::option::Option<*cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateJobObjectW ( lpjobattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateJobObjectW ( lpjobattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateJobObjectW(::core::mem::transmute(lpjobattributes.unwrap_or(::std::ptr::null())), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateJobSet(userjobset: &[JOB_SET_ARRAY], flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateJobSet ( numjob : u32 , userjobset : *const JOB_SET_ARRAY , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateJobSet ( numjob : u32 , userjobset : *const JOB_SET_ARRAY , flags : u32 ) -> super::super::Foundation:: BOOL ); CreateJobSet(userjobset.len() as _, ::core::mem::transmute(userjobset.as_ptr()), flags) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`*"] #[inline] pub unsafe fn FreeMemoryJobObject(buffer: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeMemoryJobObject ( buffer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeMemoryJobObject ( buffer : *const ::core::ffi::c_void ) -> ( ) ); FreeMemoryJobObject(buffer) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] @@ -52,7 +52,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn IsProcessInJob ( processhandle : super::super::Foundation:: HANDLE , jobhandle : super::super::Foundation:: HANDLE , result : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsProcessInJob ( processhandle : super::super::Foundation:: HANDLE , jobhandle : super::super::Foundation:: HANDLE , result : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); IsProcessInJob(processhandle.into(), jobhandle.into(), result) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] @@ -63,9 +63,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenJobObjectA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenJobObjectA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenJobObjectA(dwdesiredaccess, binherithandle.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -75,9 +75,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenJobObjectW ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenJobObjectW ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenJobObjectW(dwdesiredaccess, binherithandle.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -86,7 +86,7 @@ pub unsafe fn QueryInformationJobObject(hjob: P0, jobobjectinformationclass: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryInformationJobObject ( hjob : super::super::Foundation:: HANDLE , jobobjectinformationclass : JOBOBJECTINFOCLASS , lpjobobjectinformation : *mut ::core::ffi::c_void , cbjobobjectinformationlength : u32 , lpreturnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryInformationJobObject ( hjob : super::super::Foundation:: HANDLE , jobobjectinformationclass : JOBOBJECTINFOCLASS , lpjobobjectinformation : *mut ::core::ffi::c_void , cbjobobjectinformationlength : u32 , lpreturnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryInformationJobObject(hjob.into(), jobobjectinformationclass, lpjobobjectinformation, cbjobobjectinformationlength, ::core::mem::transmute(lpreturnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] @@ -97,7 +97,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryIoRateControlInformationJobObject ( hjob : super::super::Foundation:: HANDLE , volumename : :: windows::core::PCWSTR , infoblocks : *mut *mut JOBOBJECT_IO_RATE_CONTROL_INFORMATION , infoblockcount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryIoRateControlInformationJobObject ( hjob : super::super::Foundation:: HANDLE , volumename : :: windows::core::PCWSTR , infoblocks : *mut *mut JOBOBJECT_IO_RATE_CONTROL_INFORMATION , infoblockcount : *mut u32 ) -> u32 ); QueryIoRateControlInformationJobObject(hjob.into(), volumename.into().abi(), infoblocks, infoblockcount) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] @@ -107,7 +107,7 @@ pub unsafe fn SetInformationJobObject(hjob: P0, jobobjectinformationclass: J where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetInformationJobObject ( hjob : super::super::Foundation:: HANDLE , jobobjectinformationclass : JOBOBJECTINFOCLASS , lpjobobjectinformation : *const ::core::ffi::c_void , cbjobobjectinformationlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetInformationJobObject ( hjob : super::super::Foundation:: HANDLE , jobobjectinformationclass : JOBOBJECTINFOCLASS , lpjobobjectinformation : *const ::core::ffi::c_void , cbjobobjectinformationlength : u32 ) -> super::super::Foundation:: BOOL ); SetInformationJobObject(hjob.into(), jobobjectinformationclass, lpjobobjectinformation, cbjobobjectinformationlength) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn SetIoRateControlInformationJobObject(hjob: P0, ioratecontrolin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetIoRateControlInformationJobObject ( hjob : super::super::Foundation:: HANDLE , ioratecontrolinfo : *const JOBOBJECT_IO_RATE_CONTROL_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetIoRateControlInformationJobObject ( hjob : super::super::Foundation:: HANDLE , ioratecontrolinfo : *const JOBOBJECT_IO_RATE_CONTROL_INFORMATION ) -> u32 ); SetIoRateControlInformationJobObject(hjob.into(), ioratecontrolinfo) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] @@ -127,7 +127,7 @@ pub unsafe fn TerminateJobObject(hjob: P0, uexitcode: u32) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn TerminateJobObject ( hjob : super::super::Foundation:: HANDLE , uexitcode : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TerminateJobObject ( hjob : super::super::Foundation:: HANDLE , uexitcode : u32 ) -> super::super::Foundation:: BOOL ); TerminateJobObject(hjob.into(), uexitcode) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`, `\"Win32_Foundation\"`*"] @@ -139,7 +139,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UserHandleGrantAccess ( huserhandle : super::super::Foundation:: HANDLE , hjob : super::super::Foundation:: HANDLE , bgrant : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UserHandleGrantAccess ( huserhandle : super::super::Foundation:: HANDLE , hjob : super::super::Foundation:: HANDLE , bgrant : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); UserHandleGrantAccess(huserhandle.into(), hjob.into(), bgrant.into()) } #[doc = "*Required features: `\"Win32_System_JobObjects\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Js/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Js/mod.rs index 9c1518fda4..b5ff4eed1d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Js/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Js/mod.rs @@ -1,67 +1,67 @@ #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsAddRef(r#ref: *const ::core::ffi::c_void, count: ::core::option::Option<*mut u32>) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsAddRef ( r#ref : *const ::core::ffi::c_void , count : *mut u32 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsAddRef ( r#ref : *const ::core::ffi::c_void , count : *mut u32 ) -> JsErrorCode ); JsAddRef(r#ref, ::core::mem::transmute(count.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsBoolToBoolean(value: u8, booleanvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsBoolToBoolean ( value : u8 , booleanvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsBoolToBoolean ( value : u8 , booleanvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsBoolToBoolean(value, booleanvalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsBooleanToBool(value: *const ::core::ffi::c_void, boolvalue: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsBooleanToBool ( value : *const ::core::ffi::c_void , boolvalue : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsBooleanToBool ( value : *const ::core::ffi::c_void , boolvalue : *mut bool ) -> JsErrorCode ); JsBooleanToBool(value, boolvalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCallFunction(function: *const ::core::ffi::c_void, arguments: &[*const ::core::ffi::c_void], result: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCallFunction ( function : *const ::core::ffi::c_void , arguments : *const *const ::core::ffi::c_void , argumentcount : u16 , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCallFunction ( function : *const ::core::ffi::c_void , arguments : *const *const ::core::ffi::c_void , argumentcount : u16 , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCallFunction(function, ::core::mem::transmute(arguments.as_ptr()), arguments.len() as _, ::core::mem::transmute(result.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCollectGarbage(runtime: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCollectGarbage ( runtime : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCollectGarbage ( runtime : *const ::core::ffi::c_void ) -> JsErrorCode ); JsCollectGarbage(runtime) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsConstructObject(function: *const ::core::ffi::c_void, arguments: &[*const ::core::ffi::c_void], result: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsConstructObject ( function : *const ::core::ffi::c_void , arguments : *const *const ::core::ffi::c_void , argumentcount : u16 , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsConstructObject ( function : *const ::core::ffi::c_void , arguments : *const *const ::core::ffi::c_void , argumentcount : u16 , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsConstructObject(function, ::core::mem::transmute(arguments.as_ptr()), arguments.len() as _, result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsConvertValueToBoolean(value: *const ::core::ffi::c_void, booleanvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsConvertValueToBoolean ( value : *const ::core::ffi::c_void , booleanvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsConvertValueToBoolean ( value : *const ::core::ffi::c_void , booleanvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsConvertValueToBoolean(value, booleanvalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsConvertValueToNumber(value: *const ::core::ffi::c_void, numbervalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsConvertValueToNumber ( value : *const ::core::ffi::c_void , numbervalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsConvertValueToNumber ( value : *const ::core::ffi::c_void , numbervalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsConvertValueToNumber(value, numbervalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsConvertValueToObject(value: *const ::core::ffi::c_void, object: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsConvertValueToObject ( value : *const ::core::ffi::c_void , object : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsConvertValueToObject ( value : *const ::core::ffi::c_void , object : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsConvertValueToObject(value, object) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsConvertValueToString(value: *const ::core::ffi::c_void, stringvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsConvertValueToString ( value : *const ::core::ffi::c_void , stringvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsConvertValueToString ( value : *const ::core::ffi::c_void , stringvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsConvertValueToString(value, stringvalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateArray(length: u32, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateArray ( length : u32 , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateArray ( length : u32 , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateArray(length, result) } #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -72,7 +72,7 @@ pub unsafe fn JsCreateContext(runtime: *const ::core::ffi::c_void, debugappl where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateContext ( runtime : *const ::core::ffi::c_void , debugapplication : * mut::core::ffi::c_void , newcontext : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateContext ( runtime : *const ::core::ffi::c_void , debugapplication : * mut::core::ffi::c_void , newcontext : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateContext(runtime, debugapplication.into().abi(), newcontext) } #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -83,188 +83,188 @@ pub unsafe fn JsCreateContext(runtime: *const ::core::ffi::c_void, debugappl where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateContext ( runtime : *const ::core::ffi::c_void , debugapplication : * mut::core::ffi::c_void , newcontext : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateContext ( runtime : *const ::core::ffi::c_void , debugapplication : * mut::core::ffi::c_void , newcontext : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateContext(runtime, debugapplication.into().abi(), newcontext) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateError(message, error) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateExternalObject(data: ::core::option::Option<*const ::core::ffi::c_void>, finalizecallback: JsFinalizeCallback, object: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateExternalObject ( data : *const ::core::ffi::c_void , finalizecallback : JsFinalizeCallback , object : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateExternalObject ( data : *const ::core::ffi::c_void , finalizecallback : JsFinalizeCallback , object : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateExternalObject(::core::mem::transmute(data.unwrap_or(::std::ptr::null())), finalizecallback, object) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateFunction(nativefunction: JsNativeFunction, callbackstate: ::core::option::Option<*const ::core::ffi::c_void>, function: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateFunction ( nativefunction : JsNativeFunction , callbackstate : *const ::core::ffi::c_void , function : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateFunction ( nativefunction : JsNativeFunction , callbackstate : *const ::core::ffi::c_void , function : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateFunction(nativefunction, ::core::mem::transmute(callbackstate.unwrap_or(::std::ptr::null())), function) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateObject(object: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateObject ( object : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateObject ( object : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateObject(object) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateRangeError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateRangeError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateRangeError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateRangeError(message, error) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateReferenceError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateReferenceError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateReferenceError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateReferenceError(message, error) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateRuntime(attributes: JsRuntimeAttributes, runtimeversion: JsRuntimeVersion, threadservice: JsThreadServiceCallback, runtime: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateRuntime ( attributes : JsRuntimeAttributes , runtimeversion : JsRuntimeVersion , threadservice : JsThreadServiceCallback , runtime : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateRuntime ( attributes : JsRuntimeAttributes , runtimeversion : JsRuntimeVersion , threadservice : JsThreadServiceCallback , runtime : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateRuntime(attributes, runtimeversion, threadservice, runtime) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateSyntaxError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateSyntaxError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateSyntaxError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateSyntaxError(message, error) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateTypeError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateTypeError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateTypeError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateTypeError(message, error) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsCreateURIError(message: *const ::core::ffi::c_void, error: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsCreateURIError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsCreateURIError ( message : *const ::core::ffi::c_void , error : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsCreateURIError(message, error) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsDefineProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, propertydescriptor: *const ::core::ffi::c_void, result: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsDefineProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , propertydescriptor : *const ::core::ffi::c_void , result : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsDefineProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , propertydescriptor : *const ::core::ffi::c_void , result : *mut bool ) -> JsErrorCode ); JsDefineProperty(object, propertyid, propertydescriptor, result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsDeleteIndexedProperty(object: *const ::core::ffi::c_void, index: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsDeleteIndexedProperty ( object : *const ::core::ffi::c_void , index : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsDeleteIndexedProperty ( object : *const ::core::ffi::c_void , index : *const ::core::ffi::c_void ) -> JsErrorCode ); JsDeleteIndexedProperty(object, index) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsDeleteProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, usestrictrules: u8, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsDeleteProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , usestrictrules : u8 , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsDeleteProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , usestrictrules : u8 , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsDeleteProperty(object, propertyid, usestrictrules, result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsDisableRuntimeExecution(runtime: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsDisableRuntimeExecution ( runtime : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsDisableRuntimeExecution ( runtime : *const ::core::ffi::c_void ) -> JsErrorCode ); JsDisableRuntimeExecution(runtime) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsDisposeRuntime(runtime: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsDisposeRuntime ( runtime : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsDisposeRuntime ( runtime : *const ::core::ffi::c_void ) -> JsErrorCode ); JsDisposeRuntime(runtime) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsDoubleToNumber(doublevalue: f64, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsDoubleToNumber ( doublevalue : f64 , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsDoubleToNumber ( doublevalue : f64 , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsDoubleToNumber(doublevalue, value) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsEnableRuntimeExecution(runtime: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsEnableRuntimeExecution ( runtime : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsEnableRuntimeExecution ( runtime : *const ::core::ffi::c_void ) -> JsErrorCode ); JsEnableRuntimeExecution(runtime) } #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(feature = "Win32_System_Diagnostics_Debug")] #[inline] pub unsafe fn JsEnumerateHeap(enumerator: *mut ::core::option::Option) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsEnumerateHeap ( enumerator : *mut * mut::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsEnumerateHeap ( enumerator : *mut * mut::core::ffi::c_void ) -> JsErrorCode ); JsEnumerateHeap(::core::mem::transmute(enumerator)) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsEquals(object1: *const ::core::ffi::c_void, object2: *const ::core::ffi::c_void, result: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsEquals ( object1 : *const ::core::ffi::c_void , object2 : *const ::core::ffi::c_void , result : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsEquals ( object1 : *const ::core::ffi::c_void , object2 : *const ::core::ffi::c_void , result : *mut bool ) -> JsErrorCode ); JsEquals(object1, object2, result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetAndClearException(exception: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetAndClearException ( exception : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetAndClearException ( exception : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetAndClearException(exception) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetCurrentContext(currentcontext: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetCurrentContext ( currentcontext : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetCurrentContext ( currentcontext : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetCurrentContext(currentcontext) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetExtensionAllowed(object: *const ::core::ffi::c_void, value: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetExtensionAllowed ( object : *const ::core::ffi::c_void , value : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetExtensionAllowed ( object : *const ::core::ffi::c_void , value : *mut bool ) -> JsErrorCode ); JsGetExtensionAllowed(object, value) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetExternalData(object: *const ::core::ffi::c_void, externaldata: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetExternalData ( object : *const ::core::ffi::c_void , externaldata : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetExternalData ( object : *const ::core::ffi::c_void , externaldata : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetExternalData(object, externaldata) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetFalseValue(falsevalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetFalseValue ( falsevalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetFalseValue ( falsevalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetFalseValue(falsevalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetGlobalObject(globalobject: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetGlobalObject ( globalobject : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetGlobalObject ( globalobject : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetGlobalObject(globalobject) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetIndexedProperty(object: *const ::core::ffi::c_void, index: *const ::core::ffi::c_void, result: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetIndexedProperty ( object : *const ::core::ffi::c_void , index : *const ::core::ffi::c_void , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetIndexedProperty ( object : *const ::core::ffi::c_void , index : *const ::core::ffi::c_void , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetIndexedProperty(object, index, result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetNullValue(nullvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetNullValue ( nullvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetNullValue ( nullvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetNullValue(nullvalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetOwnPropertyDescriptor(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, propertydescriptor: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetOwnPropertyDescriptor ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , propertydescriptor : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetOwnPropertyDescriptor ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , propertydescriptor : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetOwnPropertyDescriptor(object, propertyid, propertydescriptor) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetOwnPropertyNames(object: *const ::core::ffi::c_void, propertynames: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetOwnPropertyNames ( object : *const ::core::ffi::c_void , propertynames : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetOwnPropertyNames ( object : *const ::core::ffi::c_void , propertynames : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetOwnPropertyNames(object, propertynames) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetProperty(object, propertyid, value) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] @@ -273,115 +273,115 @@ pub unsafe fn JsGetPropertyIdFromName(name: P0, propertyid: *mut *mut ::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetPropertyIdFromName ( name : :: windows::core::PCWSTR , propertyid : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetPropertyIdFromName ( name : :: windows::core::PCWSTR , propertyid : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetPropertyIdFromName(name.into().abi(), propertyid) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetPropertyNameFromId(propertyid: *const ::core::ffi::c_void, name: *mut *mut u16) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetPropertyNameFromId ( propertyid : *const ::core::ffi::c_void , name : *mut *mut u16 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetPropertyNameFromId ( propertyid : *const ::core::ffi::c_void , name : *mut *mut u16 ) -> JsErrorCode ); JsGetPropertyNameFromId(propertyid, name) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetPrototype(object: *const ::core::ffi::c_void, prototypeobject: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetPrototype ( object : *const ::core::ffi::c_void , prototypeobject : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetPrototype ( object : *const ::core::ffi::c_void , prototypeobject : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetPrototype(object, prototypeobject) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetRuntime(context: *const ::core::ffi::c_void, runtime: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetRuntime ( context : *const ::core::ffi::c_void , runtime : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetRuntime ( context : *const ::core::ffi::c_void , runtime : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetRuntime(context, runtime) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetRuntimeMemoryLimit(runtime: *const ::core::ffi::c_void, memorylimit: *mut usize) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetRuntimeMemoryLimit ( runtime : *const ::core::ffi::c_void , memorylimit : *mut usize ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetRuntimeMemoryLimit ( runtime : *const ::core::ffi::c_void , memorylimit : *mut usize ) -> JsErrorCode ); JsGetRuntimeMemoryLimit(runtime, memorylimit) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetRuntimeMemoryUsage(runtime: *const ::core::ffi::c_void, memoryusage: *mut usize) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetRuntimeMemoryUsage ( runtime : *const ::core::ffi::c_void , memoryusage : *mut usize ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetRuntimeMemoryUsage ( runtime : *const ::core::ffi::c_void , memoryusage : *mut usize ) -> JsErrorCode ); JsGetRuntimeMemoryUsage(runtime, memoryusage) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetStringLength(stringvalue: *const ::core::ffi::c_void, length: *mut i32) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetStringLength ( stringvalue : *const ::core::ffi::c_void , length : *mut i32 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetStringLength ( stringvalue : *const ::core::ffi::c_void , length : *mut i32 ) -> JsErrorCode ); JsGetStringLength(stringvalue, length) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetTrueValue(truevalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetTrueValue ( truevalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetTrueValue ( truevalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetTrueValue(truevalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetUndefinedValue(undefinedvalue: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetUndefinedValue ( undefinedvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetUndefinedValue ( undefinedvalue : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsGetUndefinedValue(undefinedvalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsGetValueType(value: *const ::core::ffi::c_void, r#type: *mut JsValueType) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsGetValueType ( value : *const ::core::ffi::c_void , r#type : *mut JsValueType ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsGetValueType ( value : *const ::core::ffi::c_void , r#type : *mut JsValueType ) -> JsErrorCode ); JsGetValueType(value, r#type) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsHasException(hasexception: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsHasException ( hasexception : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsHasException ( hasexception : *mut bool ) -> JsErrorCode ); JsHasException(hasexception) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsHasExternalData(object: *const ::core::ffi::c_void, value: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsHasExternalData ( object : *const ::core::ffi::c_void , value : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsHasExternalData ( object : *const ::core::ffi::c_void , value : *mut bool ) -> JsErrorCode ); JsHasExternalData(object, value) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsHasIndexedProperty(object: *const ::core::ffi::c_void, index: *const ::core::ffi::c_void, result: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsHasIndexedProperty ( object : *const ::core::ffi::c_void , index : *const ::core::ffi::c_void , result : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsHasIndexedProperty ( object : *const ::core::ffi::c_void , index : *const ::core::ffi::c_void , result : *mut bool ) -> JsErrorCode ); JsHasIndexedProperty(object, index, result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsHasProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, hasproperty: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsHasProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , hasproperty : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsHasProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , hasproperty : *mut bool ) -> JsErrorCode ); JsHasProperty(object, propertyid, hasproperty) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsIdle(nextidletick: ::core::option::Option<*mut u32>) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsIdle ( nextidletick : *mut u32 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsIdle ( nextidletick : *mut u32 ) -> JsErrorCode ); JsIdle(::core::mem::transmute(nextidletick.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsIntToNumber(intvalue: i32, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsIntToNumber ( intvalue : i32 , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsIntToNumber ( intvalue : i32 , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsIntToNumber(intvalue, value) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsIsEnumeratingHeap(isenumeratingheap: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsIsEnumeratingHeap ( isenumeratingheap : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsIsEnumeratingHeap ( isenumeratingheap : *mut bool ) -> JsErrorCode ); JsIsEnumeratingHeap(isenumeratingheap) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsIsRuntimeExecutionDisabled(runtime: *const ::core::ffi::c_void, isdisabled: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsIsRuntimeExecutionDisabled ( runtime : *const ::core::ffi::c_void , isdisabled : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsIsRuntimeExecutionDisabled ( runtime : *const ::core::ffi::c_void , isdisabled : *mut bool ) -> JsErrorCode ); JsIsRuntimeExecutionDisabled(runtime, isdisabled) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsNumberToDouble(value: *const ::core::ffi::c_void, doublevalue: *mut f64) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsNumberToDouble ( value : *const ::core::ffi::c_void , doublevalue : *mut f64 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsNumberToDouble ( value : *const ::core::ffi::c_void , doublevalue : *mut f64 ) -> JsErrorCode ); JsNumberToDouble(value, doublevalue) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] @@ -391,7 +391,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsParseScript ( script : :: windows::core::PCWSTR , sourcecontext : usize , sourceurl : :: windows::core::PCWSTR , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsParseScript ( script : :: windows::core::PCWSTR , sourcecontext : usize , sourceurl : :: windows::core::PCWSTR , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsParseScript(script.into().abi(), sourcecontext, sourceurl.into().abi(), result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] @@ -401,25 +401,25 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsParseSerializedScript ( script : :: windows::core::PCWSTR , buffer : *const u8 , sourcecontext : usize , sourceurl : :: windows::core::PCWSTR , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsParseSerializedScript ( script : :: windows::core::PCWSTR , buffer : *const u8 , sourcecontext : usize , sourceurl : :: windows::core::PCWSTR , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsParseSerializedScript(script.into().abi(), buffer, sourcecontext, sourceurl.into().abi(), result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsPointerToString(stringvalue: &[u16], value: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsPointerToString ( stringvalue : :: windows::core::PCWSTR , stringlength : usize , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsPointerToString ( stringvalue : :: windows::core::PCWSTR , stringlength : usize , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsPointerToString(::core::mem::transmute(stringvalue.as_ptr()), stringvalue.len() as _, value) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsPreventExtension(object: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsPreventExtension ( object : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsPreventExtension ( object : *const ::core::ffi::c_void ) -> JsErrorCode ); JsPreventExtension(object) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsRelease(r#ref: *const ::core::ffi::c_void, count: ::core::option::Option<*mut u32>) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsRelease ( r#ref : *const ::core::ffi::c_void , count : *mut u32 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsRelease ( r#ref : *const ::core::ffi::c_void , count : *mut u32 ) -> JsErrorCode ); JsRelease(r#ref, ::core::mem::transmute(count.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] @@ -429,7 +429,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsRunScript ( script : :: windows::core::PCWSTR , sourcecontext : usize , sourceurl : :: windows::core::PCWSTR , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsRunScript ( script : :: windows::core::PCWSTR , sourcecontext : usize , sourceurl : :: windows::core::PCWSTR , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsRunScript(script.into().abi(), sourcecontext, sourceurl.into().abi(), result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] @@ -439,7 +439,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsRunSerializedScript ( script : :: windows::core::PCWSTR , buffer : *const u8 , sourcecontext : usize , sourceurl : :: windows::core::PCWSTR , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsRunSerializedScript ( script : :: windows::core::PCWSTR , buffer : *const u8 , sourcecontext : usize , sourceurl : :: windows::core::PCWSTR , result : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsRunSerializedScript(script.into().abi(), buffer, sourcecontext, sourceurl.into().abi(), result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] @@ -448,61 +448,61 @@ pub unsafe fn JsSerializeScript(script: P0, buffer: ::core::option::Option<* where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsSerializeScript ( script : :: windows::core::PCWSTR , buffer : *mut u8 , buffersize : *mut u32 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSerializeScript ( script : :: windows::core::PCWSTR , buffer : *mut u8 , buffersize : *mut u32 ) -> JsErrorCode ); JsSerializeScript(script.into().abi(), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetCurrentContext(context: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetCurrentContext ( context : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetCurrentContext ( context : *const ::core::ffi::c_void ) -> JsErrorCode ); JsSetCurrentContext(context) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetException(exception: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetException ( exception : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetException ( exception : *const ::core::ffi::c_void ) -> JsErrorCode ); JsSetException(exception) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetExternalData(object: *const ::core::ffi::c_void, externaldata: ::core::option::Option<*const ::core::ffi::c_void>) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetExternalData ( object : *const ::core::ffi::c_void , externaldata : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetExternalData ( object : *const ::core::ffi::c_void , externaldata : *const ::core::ffi::c_void ) -> JsErrorCode ); JsSetExternalData(object, ::core::mem::transmute(externaldata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetIndexedProperty(object: *const ::core::ffi::c_void, index: *const ::core::ffi::c_void, value: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetIndexedProperty ( object : *const ::core::ffi::c_void , index : *const ::core::ffi::c_void , value : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetIndexedProperty ( object : *const ::core::ffi::c_void , index : *const ::core::ffi::c_void , value : *const ::core::ffi::c_void ) -> JsErrorCode ); JsSetIndexedProperty(object, index, value) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetProperty(object: *const ::core::ffi::c_void, propertyid: *const ::core::ffi::c_void, value: *const ::core::ffi::c_void, usestrictrules: u8) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , value : *const ::core::ffi::c_void , usestrictrules : u8 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetProperty ( object : *const ::core::ffi::c_void , propertyid : *const ::core::ffi::c_void , value : *const ::core::ffi::c_void , usestrictrules : u8 ) -> JsErrorCode ); JsSetProperty(object, propertyid, value, usestrictrules) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetPrototype(object: *const ::core::ffi::c_void, prototypeobject: *const ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetPrototype ( object : *const ::core::ffi::c_void , prototypeobject : *const ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetPrototype ( object : *const ::core::ffi::c_void , prototypeobject : *const ::core::ffi::c_void ) -> JsErrorCode ); JsSetPrototype(object, prototypeobject) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetRuntimeBeforeCollectCallback(runtime: *const ::core::ffi::c_void, callbackstate: ::core::option::Option<*const ::core::ffi::c_void>, beforecollectcallback: JsBeforeCollectCallback) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetRuntimeBeforeCollectCallback ( runtime : *const ::core::ffi::c_void , callbackstate : *const ::core::ffi::c_void , beforecollectcallback : JsBeforeCollectCallback ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetRuntimeBeforeCollectCallback ( runtime : *const ::core::ffi::c_void , callbackstate : *const ::core::ffi::c_void , beforecollectcallback : JsBeforeCollectCallback ) -> JsErrorCode ); JsSetRuntimeBeforeCollectCallback(runtime, ::core::mem::transmute(callbackstate.unwrap_or(::std::ptr::null())), beforecollectcallback) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetRuntimeMemoryAllocationCallback(runtime: *const ::core::ffi::c_void, callbackstate: ::core::option::Option<*const ::core::ffi::c_void>, allocationcallback: JsMemoryAllocationCallback) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetRuntimeMemoryAllocationCallback ( runtime : *const ::core::ffi::c_void , callbackstate : *const ::core::ffi::c_void , allocationcallback : JsMemoryAllocationCallback ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetRuntimeMemoryAllocationCallback ( runtime : *const ::core::ffi::c_void , callbackstate : *const ::core::ffi::c_void , allocationcallback : JsMemoryAllocationCallback ) -> JsErrorCode ); JsSetRuntimeMemoryAllocationCallback(runtime, ::core::mem::transmute(callbackstate.unwrap_or(::std::ptr::null())), allocationcallback) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsSetRuntimeMemoryLimit(runtime: *const ::core::ffi::c_void, memorylimit: usize) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsSetRuntimeMemoryLimit ( runtime : *const ::core::ffi::c_void , memorylimit : usize ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsSetRuntimeMemoryLimit ( runtime : *const ::core::ffi::c_void , memorylimit : usize ) -> JsErrorCode ); JsSetRuntimeMemoryLimit(runtime, memorylimit) } #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -513,7 +513,7 @@ pub unsafe fn JsStartDebugging(debugapplication: P0) -> JsErrorCode where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsStartDebugging ( debugapplication : * mut::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsStartDebugging ( debugapplication : * mut::core::ffi::c_void ) -> JsErrorCode ); JsStartDebugging(debugapplication.into().abi()) } #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -524,7 +524,7 @@ pub unsafe fn JsStartDebugging(debugapplication: P0) -> JsErrorCode where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsStartDebugging ( debugapplication : * mut::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsStartDebugging ( debugapplication : * mut::core::ffi::c_void ) -> JsErrorCode ); JsStartDebugging(debugapplication.into().abi()) } #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_System_Diagnostics_Debug\"`*"] @@ -534,39 +534,39 @@ pub unsafe fn JsStartProfiling(callback: P0, eventmask: super::Diagnostics:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "chakra.dll""system" fn JsStartProfiling ( callback : * mut::core::ffi::c_void , eventmask : super::Diagnostics::Debug:: PROFILER_EVENT_MASK , context : u32 ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsStartProfiling ( callback : * mut::core::ffi::c_void , eventmask : super::Diagnostics::Debug:: PROFILER_EVENT_MASK , context : u32 ) -> JsErrorCode ); JsStartProfiling(callback.into().abi(), eventmask, context) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsStopProfiling(reason: ::windows::core::HRESULT) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsStopProfiling ( reason : :: windows::core::HRESULT ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsStopProfiling ( reason : :: windows::core::HRESULT ) -> JsErrorCode ); JsStopProfiling(reason) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsStrictEquals(object1: *const ::core::ffi::c_void, object2: *const ::core::ffi::c_void, result: *mut bool) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsStrictEquals ( object1 : *const ::core::ffi::c_void , object2 : *const ::core::ffi::c_void , result : *mut bool ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsStrictEquals ( object1 : *const ::core::ffi::c_void , object2 : *const ::core::ffi::c_void , result : *mut bool ) -> JsErrorCode ); JsStrictEquals(object1, object2, result) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] #[inline] pub unsafe fn JsStringToPointer(value: *const ::core::ffi::c_void, stringvalue: *mut *mut u16, stringlength: *mut usize) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsStringToPointer ( value : *const ::core::ffi::c_void , stringvalue : *mut *mut u16 , stringlength : *mut usize ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsStringToPointer ( value : *const ::core::ffi::c_void , stringvalue : *mut *mut u16 , stringlength : *mut usize ) -> JsErrorCode ); JsStringToPointer(value, stringvalue, stringlength) } #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn JsValueToVariant(object: *const ::core::ffi::c_void, variant: *mut super::Com::VARIANT) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsValueToVariant ( object : *const ::core::ffi::c_void , variant : *mut super::Com:: VARIANT ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsValueToVariant ( object : *const ::core::ffi::c_void , variant : *mut super::Com:: VARIANT ) -> JsErrorCode ); JsValueToVariant(object, variant) } #[doc = "*Required features: `\"Win32_System_Js\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn JsVariantToValue(variant: *const super::Com::VARIANT, value: *mut *mut ::core::ffi::c_void) -> JsErrorCode { - ::windows::core::link ! ( "chakra.dll""system" fn JsVariantToValue ( variant : *const super::Com:: VARIANT , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); + ::windows::imp::link ! ( "chakra.dll""system" fn JsVariantToValue ( variant : *const super::Com:: VARIANT , value : *mut *mut ::core::ffi::c_void ) -> JsErrorCode ); JsVariantToValue(variant, value) } #[doc = "*Required features: `\"Win32_System_Js\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs index 04bae5e4cd..2bbb26fefd 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs @@ -1,13 +1,13 @@ #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] #[inline] pub unsafe fn RtlFirstEntrySList(listhead: *const SLIST_HEADER) -> *mut SLIST_ENTRY { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlFirstEntrySList ( listhead : *const SLIST_HEADER ) -> *mut SLIST_ENTRY ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFirstEntrySList ( listhead : *const SLIST_HEADER ) -> *mut SLIST_ENTRY ); RtlFirstEntrySList(listhead) } #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] #[inline] pub unsafe fn RtlInitializeSListHead() -> SLIST_HEADER { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInitializeSListHead ( listhead : *mut SLIST_HEADER ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitializeSListHead ( listhead : *mut SLIST_HEADER ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); RtlInitializeSListHead(&mut result__); ::std::mem::transmute(result__) @@ -15,31 +15,31 @@ pub unsafe fn RtlInitializeSListHead() -> SLIST_HEADER { #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] #[inline] pub unsafe fn RtlInterlockedFlushSList(listhead: *mut SLIST_HEADER) -> *mut SLIST_ENTRY { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInterlockedFlushSList ( listhead : *mut SLIST_HEADER ) -> *mut SLIST_ENTRY ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInterlockedFlushSList ( listhead : *mut SLIST_HEADER ) -> *mut SLIST_ENTRY ); RtlInterlockedFlushSList(listhead) } #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] #[inline] pub unsafe fn RtlInterlockedPopEntrySList(listhead: *mut SLIST_HEADER) -> *mut SLIST_ENTRY { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInterlockedPopEntrySList ( listhead : *mut SLIST_HEADER ) -> *mut SLIST_ENTRY ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInterlockedPopEntrySList ( listhead : *mut SLIST_HEADER ) -> *mut SLIST_ENTRY ); RtlInterlockedPopEntrySList(listhead) } #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] #[inline] pub unsafe fn RtlInterlockedPushEntrySList(listhead: *mut SLIST_HEADER, listentry: *mut SLIST_ENTRY) -> *mut SLIST_ENTRY { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInterlockedPushEntrySList ( listhead : *mut SLIST_HEADER , listentry : *mut SLIST_ENTRY ) -> *mut SLIST_ENTRY ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInterlockedPushEntrySList ( listhead : *mut SLIST_HEADER , listentry : *mut SLIST_ENTRY ) -> *mut SLIST_ENTRY ); RtlInterlockedPushEntrySList(listhead, listentry) } #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] #[inline] pub unsafe fn RtlInterlockedPushListSListEx(listhead: *mut SLIST_HEADER, list: *mut SLIST_ENTRY, listend: *mut SLIST_ENTRY, count: u32) -> *mut SLIST_ENTRY { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInterlockedPushListSListEx ( listhead : *mut SLIST_HEADER , list : *mut SLIST_ENTRY , listend : *mut SLIST_ENTRY , count : u32 ) -> *mut SLIST_ENTRY ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInterlockedPushListSListEx ( listhead : *mut SLIST_HEADER , list : *mut SLIST_ENTRY , listend : *mut SLIST_ENTRY , count : u32 ) -> *mut SLIST_ENTRY ); RtlInterlockedPushListSListEx(listhead, list, listend, count) } #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] #[inline] pub unsafe fn RtlQueryDepthSList(listhead: *const SLIST_HEADER) -> u16 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlQueryDepthSList ( listhead : *const SLIST_HEADER ) -> u16 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlQueryDepthSList ( listhead : *const SLIST_HEADER ) -> u16 ); RtlQueryDepthSList(listhead) } #[doc = "*Required features: `\"Win32_System_Kernel\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/LibraryLoader/mod.rs b/crates/libs/windows/src/Windows/Win32/System/LibraryLoader/mod.rs index 6329d56aba..d092584875 100644 --- a/crates/libs/windows/src/Windows/Win32/System/LibraryLoader/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/LibraryLoader/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn AddDllDirectory(newdirectory: P0) -> *mut ::core::ffi::c_void where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddDllDirectory ( newdirectory : :: windows::core::PCWSTR ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddDllDirectory ( newdirectory : :: windows::core::PCWSTR ) -> *mut ::core::ffi::c_void ); AddDllDirectory(newdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -15,9 +15,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn BeginUpdateResourceA ( pfilename : :: windows::core::PCSTR , bdeleteexistingresources : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BeginUpdateResourceA ( pfilename : :: windows::core::PCSTR , bdeleteexistingresources : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); let result__ = BeginUpdateResourceA(pfilename.into().abi(), bdeleteexistingresources.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -27,9 +27,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn BeginUpdateResourceW ( pfilename : :: windows::core::PCWSTR , bdeleteexistingresources : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn BeginUpdateResourceW ( pfilename : :: windows::core::PCWSTR , bdeleteexistingresources : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); let result__ = BeginUpdateResourceW(pfilename.into().abi(), bdeleteexistingresources.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -38,7 +38,7 @@ pub unsafe fn DisableThreadLibraryCalls(hlibmodule: P0) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DisableThreadLibraryCalls ( hlibmodule : super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DisableThreadLibraryCalls ( hlibmodule : super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); DisableThreadLibraryCalls(hlibmodule.into()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -49,7 +49,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EndUpdateResourceA ( hupdate : super::super::Foundation:: HANDLE , fdiscard : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EndUpdateResourceA ( hupdate : super::super::Foundation:: HANDLE , fdiscard : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); EndUpdateResourceA(hupdate.into(), fdiscard.into()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -60,7 +60,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EndUpdateResourceW ( hupdate : super::super::Foundation:: HANDLE , fdiscard : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EndUpdateResourceW ( hupdate : super::super::Foundation:: HANDLE , fdiscard : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); EndUpdateResourceW(hupdate.into(), fdiscard.into()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -72,7 +72,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceLanguagesA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , lpenumfunc : ENUMRESLANGPROCA , lparam : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceLanguagesA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , lpenumfunc : ENUMRESLANGPROCA , lparam : isize ) -> super::super::Foundation:: BOOL ); EnumResourceLanguagesA(hmodule.into(), lptype.into().abi(), lpname.into().abi(), lpenumfunc, lparam) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -84,7 +84,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceLanguagesExA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , lpenumfunc : ENUMRESLANGPROCA , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceLanguagesExA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , lpenumfunc : ENUMRESLANGPROCA , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); EnumResourceLanguagesExA(hmodule.into(), lptype.into().abi(), lpname.into().abi(), lpenumfunc, lparam, dwflags, langid) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -96,7 +96,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceLanguagesExW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpenumfunc : ENUMRESLANGPROCW , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceLanguagesExW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpenumfunc : ENUMRESLANGPROCW , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); EnumResourceLanguagesExW(hmodule.into(), lptype.into().abi(), lpname.into().abi(), lpenumfunc, lparam, dwflags, langid) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -108,7 +108,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceLanguagesW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpenumfunc : ENUMRESLANGPROCW , lparam : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceLanguagesW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , lpenumfunc : ENUMRESLANGPROCW , lparam : isize ) -> super::super::Foundation:: BOOL ); EnumResourceLanguagesW(hmodule.into(), lptype.into().abi(), lpname.into().abi(), lpenumfunc, lparam) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -119,7 +119,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceNamesA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpenumfunc : ENUMRESNAMEPROCA , lparam : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceNamesA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpenumfunc : ENUMRESNAMEPROCA , lparam : isize ) -> super::super::Foundation:: BOOL ); EnumResourceNamesA(hmodule.into(), lptype.into().abi(), lpenumfunc, lparam) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -130,7 +130,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceNamesExA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpenumfunc : ENUMRESNAMEPROCA , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceNamesExA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpenumfunc : ENUMRESNAMEPROCA , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); EnumResourceNamesExA(hmodule.into(), lptype.into().abi(), lpenumfunc, lparam, dwflags, langid) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -141,7 +141,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceNamesExW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpenumfunc : ENUMRESNAMEPROCW , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceNamesExW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpenumfunc : ENUMRESNAMEPROCW , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); EnumResourceNamesExW(hmodule.into(), lptype.into().abi(), lpenumfunc, lparam, dwflags, langid) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -152,7 +152,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceNamesW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpenumfunc : ENUMRESNAMEPROCW , lparam : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceNamesW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpenumfunc : ENUMRESNAMEPROCW , lparam : isize ) -> super::super::Foundation:: BOOL ); EnumResourceNamesW(hmodule.into(), lptype.into().abi(), lpenumfunc, lparam) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -162,7 +162,7 @@ pub unsafe fn EnumResourceTypesA(hmodule: P0, lpenumfunc: ENUMRESTYPEPROCA, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceTypesA ( hmodule : super::super::Foundation:: HINSTANCE , lpenumfunc : ENUMRESTYPEPROCA , lparam : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceTypesA ( hmodule : super::super::Foundation:: HINSTANCE , lpenumfunc : ENUMRESTYPEPROCA , lparam : isize ) -> super::super::Foundation:: BOOL ); EnumResourceTypesA(hmodule.into(), lpenumfunc, lparam) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -172,7 +172,7 @@ pub unsafe fn EnumResourceTypesExA(hmodule: P0, lpenumfunc: ENUMRESTYPEPROCA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceTypesExA ( hmodule : super::super::Foundation:: HINSTANCE , lpenumfunc : ENUMRESTYPEPROCA , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceTypesExA ( hmodule : super::super::Foundation:: HINSTANCE , lpenumfunc : ENUMRESTYPEPROCA , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); EnumResourceTypesExA(hmodule.into(), lpenumfunc, lparam, dwflags, langid) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -182,7 +182,7 @@ pub unsafe fn EnumResourceTypesExW(hmodule: P0, lpenumfunc: ENUMRESTYPEPROCW where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceTypesExW ( hmodule : super::super::Foundation:: HINSTANCE , lpenumfunc : ENUMRESTYPEPROCW , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceTypesExW ( hmodule : super::super::Foundation:: HINSTANCE , lpenumfunc : ENUMRESTYPEPROCW , lparam : isize , dwflags : u32 , langid : u16 ) -> super::super::Foundation:: BOOL ); EnumResourceTypesExW(hmodule.into(), lpenumfunc, lparam, dwflags, langid) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -192,7 +192,7 @@ pub unsafe fn EnumResourceTypesW(hmodule: P0, lpenumfunc: ENUMRESTYPEPROCW, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumResourceTypesW ( hmodule : super::super::Foundation:: HINSTANCE , lpenumfunc : ENUMRESTYPEPROCW , lparam : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumResourceTypesW ( hmodule : super::super::Foundation:: HINSTANCE , lpenumfunc : ENUMRESTYPEPROCW , lparam : isize ) -> super::super::Foundation:: BOOL ); EnumResourceTypesW(hmodule.into(), lpenumfunc, lparam) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -204,9 +204,9 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindResourceA ( hmodule : super::super::Foundation:: HINSTANCE , lpname : :: windows::core::PCSTR , lptype : :: windows::core::PCSTR ) -> super::super::Foundation:: HRSRC ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindResourceA ( hmodule : super::super::Foundation:: HINSTANCE , lpname : :: windows::core::PCSTR , lptype : :: windows::core::PCSTR ) -> super::super::Foundation:: HRSRC ); let result__ = FindResourceA(hmodule.into(), lpname.into().abi(), lptype.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -217,9 +217,9 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindResourceExA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , wlanguage : u16 ) -> super::super::Foundation:: HRSRC ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindResourceExA ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , wlanguage : u16 ) -> super::super::Foundation:: HRSRC ); let result__ = FindResourceExA(hmodule.into(), lptype.into().abi(), lpname.into().abi(), wlanguage); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -230,7 +230,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindResourceExW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , wlanguage : u16 ) -> super::super::Foundation:: HRSRC ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindResourceExW ( hmodule : super::super::Foundation:: HINSTANCE , lptype : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , wlanguage : u16 ) -> super::super::Foundation:: HRSRC ); FindResourceExW(hmodule.into(), lptype.into().abi(), lpname.into().abi(), wlanguage) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -242,7 +242,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn FindResourceW ( hmodule : super::super::Foundation:: HINSTANCE , lpname : :: windows::core::PCWSTR , lptype : :: windows::core::PCWSTR ) -> super::super::Foundation:: HRSRC ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FindResourceW ( hmodule : super::super::Foundation:: HINSTANCE , lpname : :: windows::core::PCWSTR , lptype : :: windows::core::PCWSTR ) -> super::super::Foundation:: HRSRC ); FindResourceW(hmodule.into(), lpname.into().abi(), lptype.into().abi()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -252,7 +252,7 @@ pub unsafe fn FreeLibrary(hlibmodule: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeLibrary ( hlibmodule : super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeLibrary ( hlibmodule : super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); FreeLibrary(hlibmodule.into()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -262,26 +262,26 @@ pub unsafe fn FreeLibraryAndExitThread(hlibmodule: P0, dwexitcode: u32) -> ! where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeLibraryAndExitThread ( hlibmodule : super::super::Foundation:: HINSTANCE , dwexitcode : u32 ) -> ! ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeLibraryAndExitThread ( hlibmodule : super::super::Foundation:: HINSTANCE , dwexitcode : u32 ) -> ! ); FreeLibraryAndExitThread(hlibmodule.into(), dwexitcode) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FreeResource(hresdata: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeResource ( hresdata : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeResource ( hresdata : isize ) -> super::super::Foundation:: BOOL ); FreeResource(hresdata) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] #[inline] pub unsafe fn GetDllDirectoryA(lpbuffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDllDirectoryA ( nbufferlength : u32 , lpbuffer : :: windows::core::PSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDllDirectoryA ( nbufferlength : u32 , lpbuffer : :: windows::core::PSTR ) -> u32 ); GetDllDirectoryA(lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] #[inline] pub unsafe fn GetDllDirectoryW(lpbuffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDllDirectoryW ( nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDllDirectoryW ( nbufferlength : u32 , lpbuffer : :: windows::core::PWSTR ) -> u32 ); GetDllDirectoryW(lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -291,7 +291,7 @@ pub unsafe fn GetModuleFileNameA(hmodule: P0, lpfilename: &mut [u8]) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetModuleFileNameA ( hmodule : super::super::Foundation:: HINSTANCE , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetModuleFileNameA ( hmodule : super::super::Foundation:: HINSTANCE , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); GetModuleFileNameA(hmodule.into(), ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -301,7 +301,7 @@ pub unsafe fn GetModuleFileNameW(hmodule: P0, lpfilename: &mut [u16]) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetModuleFileNameW ( hmodule : super::super::Foundation:: HINSTANCE , lpfilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetModuleFileNameW ( hmodule : super::super::Foundation:: HINSTANCE , lpfilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); GetModuleFileNameW(hmodule.into(), ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -311,9 +311,9 @@ pub unsafe fn GetModuleHandleA(lpmodulename: P0) -> ::windows::core::Result< where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetModuleHandleA ( lpmodulename : :: windows::core::PCSTR ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetModuleHandleA ( lpmodulename : :: windows::core::PCSTR ) -> super::super::Foundation:: HINSTANCE ); let result__ = GetModuleHandleA(lpmodulename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -322,7 +322,7 @@ pub unsafe fn GetModuleHandleExA(dwflags: u32, lpmodulename: P0, phmodule: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetModuleHandleExA ( dwflags : u32 , lpmodulename : :: windows::core::PCSTR , phmodule : *mut super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetModuleHandleExA ( dwflags : u32 , lpmodulename : :: windows::core::PCSTR , phmodule : *mut super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); GetModuleHandleExA(dwflags, lpmodulename.into().abi(), phmodule) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -332,7 +332,7 @@ pub unsafe fn GetModuleHandleExW(dwflags: u32, lpmodulename: P0, phmodule: * where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetModuleHandleExW ( dwflags : u32 , lpmodulename : :: windows::core::PCWSTR , phmodule : *mut super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetModuleHandleExW ( dwflags : u32 , lpmodulename : :: windows::core::PCWSTR , phmodule : *mut super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); GetModuleHandleExW(dwflags, lpmodulename.into().abi(), phmodule) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -342,9 +342,9 @@ pub unsafe fn GetModuleHandleW(lpmodulename: P0) -> ::windows::core::Result< where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetModuleHandleW ( lpmodulename : :: windows::core::PCWSTR ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetModuleHandleW ( lpmodulename : :: windows::core::PCWSTR ) -> super::super::Foundation:: HINSTANCE ); let result__ = GetModuleHandleW(lpmodulename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -354,7 +354,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcAddress ( hmodule : super::super::Foundation:: HINSTANCE , lpprocname : :: windows::core::PCSTR ) -> super::super::Foundation:: FARPROC ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcAddress ( hmodule : super::super::Foundation:: HINSTANCE , lpprocname : :: windows::core::PCSTR ) -> super::super::Foundation:: FARPROC ); GetProcAddress(hmodule.into(), lpprocname.into().abi()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -364,9 +364,9 @@ pub unsafe fn LoadLibraryA(lplibfilename: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "kernel32.dll""system" fn LoadLibraryA ( lplibfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LoadLibraryA ( lplibfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: HINSTANCE ); let result__ = LoadLibraryA(lplibfilename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -376,9 +376,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn LoadLibraryExA ( lplibfilename : :: windows::core::PCSTR , hfile : super::super::Foundation:: HANDLE , dwflags : LOAD_LIBRARY_FLAGS ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LoadLibraryExA ( lplibfilename : :: windows::core::PCSTR , hfile : super::super::Foundation:: HANDLE , dwflags : LOAD_LIBRARY_FLAGS ) -> super::super::Foundation:: HINSTANCE ); let result__ = LoadLibraryExA(lplibfilename.into().abi(), hfile.into(), dwflags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -388,9 +388,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn LoadLibraryExW ( lplibfilename : :: windows::core::PCWSTR , hfile : super::super::Foundation:: HANDLE , dwflags : LOAD_LIBRARY_FLAGS ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LoadLibraryExW ( lplibfilename : :: windows::core::PCWSTR , hfile : super::super::Foundation:: HANDLE , dwflags : LOAD_LIBRARY_FLAGS ) -> super::super::Foundation:: HINSTANCE ); let result__ = LoadLibraryExW(lplibfilename.into().abi(), hfile.into(), dwflags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -399,9 +399,9 @@ pub unsafe fn LoadLibraryW(lplibfilename: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "kernel32.dll""system" fn LoadLibraryW ( lplibfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LoadLibraryW ( lplibfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: HINSTANCE ); let result__ = LoadLibraryW(lplibfilename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] #[inline] @@ -409,7 +409,7 @@ pub unsafe fn LoadModule(lpmodulename: P0, lpparameterblock: *const ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn LoadModule ( lpmodulename : :: windows::core::PCSTR , lpparameterblock : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LoadModule ( lpmodulename : :: windows::core::PCSTR , lpparameterblock : *const ::core::ffi::c_void ) -> u32 ); LoadModule(lpmodulename.into().abi(), lpparameterblock) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -419,9 +419,9 @@ pub unsafe fn LoadPackagedLibrary(lpwlibfilename: P0, reserved: u32) -> ::wi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn LoadPackagedLibrary ( lpwlibfilename : :: windows::core::PCWSTR , reserved : u32 ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LoadPackagedLibrary ( lpwlibfilename : :: windows::core::PCWSTR , reserved : u32 ) -> super::super::Foundation:: HINSTANCE ); let result__ = LoadPackagedLibrary(lpwlibfilename.into().abi(), reserved); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -431,27 +431,27 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn LoadResource ( hmodule : super::super::Foundation:: HINSTANCE , hresinfo : super::super::Foundation:: HRSRC ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LoadResource ( hmodule : super::super::Foundation:: HINSTANCE , hresinfo : super::super::Foundation:: HRSRC ) -> isize ); LoadResource(hmodule.into(), hresinfo.into()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] #[inline] pub unsafe fn LockResource(hresdata: isize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn LockResource ( hresdata : isize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LockResource ( hresdata : isize ) -> *mut ::core::ffi::c_void ); LockResource(hresdata) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RemoveDllDirectory(cookie: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn RemoveDllDirectory ( cookie : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RemoveDllDirectory ( cookie : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); RemoveDllDirectory(cookie) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetDefaultDllDirectories(directoryflags: LOAD_LIBRARY_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetDefaultDllDirectories ( directoryflags : LOAD_LIBRARY_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetDefaultDllDirectories ( directoryflags : LOAD_LIBRARY_FLAGS ) -> super::super::Foundation:: BOOL ); SetDefaultDllDirectories(directoryflags) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -461,7 +461,7 @@ pub unsafe fn SetDllDirectoryA(lppathname: P0) -> super::super::Foundation:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetDllDirectoryA ( lppathname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetDllDirectoryA ( lppathname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetDllDirectoryA(lppathname.into().abi()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -471,7 +471,7 @@ pub unsafe fn SetDllDirectoryW(lppathname: P0) -> super::super::Foundation:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetDllDirectoryW ( lppathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetDllDirectoryW ( lppathname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetDllDirectoryW(lppathname.into().abi()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -482,7 +482,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SizeofResource ( hmodule : super::super::Foundation:: HINSTANCE , hresinfo : super::super::Foundation:: HRSRC ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SizeofResource ( hmodule : super::super::Foundation:: HINSTANCE , hresinfo : super::super::Foundation:: HRSRC ) -> u32 ); SizeofResource(hmodule.into(), hresinfo.into()) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -494,7 +494,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn UpdateResourceA ( hupdate : super::super::Foundation:: HANDLE , lptype : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , wlanguage : u16 , lpdata : *const ::core::ffi::c_void , cb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UpdateResourceA ( hupdate : super::super::Foundation:: HANDLE , lptype : :: windows::core::PCSTR , lpname : :: windows::core::PCSTR , wlanguage : u16 , lpdata : *const ::core::ffi::c_void , cb : u32 ) -> super::super::Foundation:: BOOL ); UpdateResourceA(hupdate.into(), lptype.into().abi(), lpname.into().abi(), wlanguage, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), cb) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`, `\"Win32_Foundation\"`*"] @@ -506,7 +506,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn UpdateResourceW ( hupdate : super::super::Foundation:: HANDLE , lptype : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , wlanguage : u16 , lpdata : *const ::core::ffi::c_void , cb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UpdateResourceW ( hupdate : super::super::Foundation:: HANDLE , lptype : :: windows::core::PCWSTR , lpname : :: windows::core::PCWSTR , wlanguage : u16 , lpdata : *const ::core::ffi::c_void , cb : u32 ) -> super::super::Foundation:: BOOL ); UpdateResourceW(hupdate.into(), lptype.into().abi(), lpname.into().abi(), wlanguage, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), cb) } #[doc = "*Required features: `\"Win32_System_LibraryLoader\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Mailslots/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Mailslots/mod.rs index bf66c0ddf0..6638216344 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mailslots/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mailslots/mod.rs @@ -5,9 +5,9 @@ pub unsafe fn CreateMailslotA(lpname: P0, nmaxmessagesize: u32, lreadtimeout where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateMailslotA ( lpname : :: windows::core::PCSTR , nmaxmessagesize : u32 , lreadtimeout : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateMailslotA ( lpname : :: windows::core::PCSTR , nmaxmessagesize : u32 , lreadtimeout : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); let result__ = CreateMailslotA(lpname.into().abi(), nmaxmessagesize, lreadtimeout, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Mailslots\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -16,9 +16,9 @@ pub unsafe fn CreateMailslotW(lpname: P0, nmaxmessagesize: u32, lreadtimeout where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateMailslotW ( lpname : :: windows::core::PCWSTR , nmaxmessagesize : u32 , lreadtimeout : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateMailslotW ( lpname : :: windows::core::PCWSTR , nmaxmessagesize : u32 , lreadtimeout : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); let result__ = CreateMailslotW(lpname.into().abi(), nmaxmessagesize, lreadtimeout, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Mailslots\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -27,7 +27,7 @@ pub unsafe fn GetMailslotInfo(hmailslot: P0, lpmaxmessagesize: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetMailslotInfo ( hmailslot : super::super::Foundation:: HANDLE , lpmaxmessagesize : *mut u32 , lpnextsize : *mut u32 , lpmessagecount : *mut u32 , lpreadtimeout : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetMailslotInfo ( hmailslot : super::super::Foundation:: HANDLE , lpmaxmessagesize : *mut u32 , lpnextsize : *mut u32 , lpmessagecount : *mut u32 , lpreadtimeout : *mut u32 ) -> super::super::Foundation:: BOOL ); GetMailslotInfo(hmailslot.into(), ::core::mem::transmute(lpmaxmessagesize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpnextsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpmessagecount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpreadtimeout.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Mailslots\"`, `\"Win32_Foundation\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn SetMailslotInfo(hmailslot: P0, lreadtimeout: u32) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetMailslotInfo ( hmailslot : super::super::Foundation:: HANDLE , lreadtimeout : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetMailslotInfo ( hmailslot : super::super::Foundation:: HANDLE , lreadtimeout : u32 ) -> super::super::Foundation:: BOOL ); SetMailslotInfo(hmailslot.into(), lreadtimeout) } #[cfg(feature = "implement")] diff --git a/crates/libs/windows/src/Windows/Win32/System/Mapi/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Mapi/mod.rs index b16d935597..98dfa23735 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mapi/mod.rs @@ -1,7 +1,7 @@ #[doc = "*Required features: `\"Win32_System_Mapi\"`*"] #[inline] pub unsafe fn MAPIFreeBuffer(pv: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "mapi32.dll""system" fn MAPIFreeBuffer ( pv : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "mapi32.dll""system" fn MAPIFreeBuffer ( pv : *mut ::core::ffi::c_void ) -> u32 ); MAPIFreeBuffer(pv) } #[doc = "*Required features: `\"Win32_System_Mapi\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Memory/NonVolatile/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Memory/NonVolatile/mod.rs index 5e42912753..47cb097a34 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Memory/NonVolatile/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Memory/NonVolatile/mod.rs @@ -2,49 +2,49 @@ #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlDrainNonVolatileFlush(nvtoken: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlDrainNonVolatileFlush ( nvtoken : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlDrainNonVolatileFlush ( nvtoken : *const ::core::ffi::c_void ) -> u32 ); RtlDrainNonVolatileFlush(nvtoken) } #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlFillNonVolatileMemory(nvtoken: *const ::core::ffi::c_void, nvdestination: *mut ::core::ffi::c_void, size: usize, value: u8, flags: u32) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlFillNonVolatileMemory ( nvtoken : *const ::core::ffi::c_void , nvdestination : *mut ::core::ffi::c_void , size : usize , value : u8 , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFillNonVolatileMemory ( nvtoken : *const ::core::ffi::c_void , nvdestination : *mut ::core::ffi::c_void , size : usize , value : u8 , flags : u32 ) -> u32 ); RtlFillNonVolatileMemory(nvtoken, nvdestination, size, value, flags) } #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlFlushNonVolatileMemory(nvtoken: *const ::core::ffi::c_void, nvbuffer: *const ::core::ffi::c_void, size: usize, flags: u32) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlFlushNonVolatileMemory ( nvtoken : *const ::core::ffi::c_void , nvbuffer : *const ::core::ffi::c_void , size : usize , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFlushNonVolatileMemory ( nvtoken : *const ::core::ffi::c_void , nvbuffer : *const ::core::ffi::c_void , size : usize , flags : u32 ) -> u32 ); RtlFlushNonVolatileMemory(nvtoken, nvbuffer, size, flags) } #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlFlushNonVolatileMemoryRanges(nvtoken: *const ::core::ffi::c_void, nvranges: &[NV_MEMORY_RANGE], flags: u32) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlFlushNonVolatileMemoryRanges ( nvtoken : *const ::core::ffi::c_void , nvranges : *const NV_MEMORY_RANGE , numranges : usize , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFlushNonVolatileMemoryRanges ( nvtoken : *const ::core::ffi::c_void , nvranges : *const NV_MEMORY_RANGE , numranges : usize , flags : u32 ) -> u32 ); RtlFlushNonVolatileMemoryRanges(nvtoken, ::core::mem::transmute(nvranges.as_ptr()), nvranges.len() as _, flags) } #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlFreeNonVolatileToken(nvtoken: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlFreeNonVolatileToken ( nvtoken : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFreeNonVolatileToken ( nvtoken : *const ::core::ffi::c_void ) -> u32 ); RtlFreeNonVolatileToken(nvtoken) } #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlGetNonVolatileToken(nvbuffer: *const ::core::ffi::c_void, size: usize, nvtoken: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlGetNonVolatileToken ( nvbuffer : *const ::core::ffi::c_void , size : usize , nvtoken : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlGetNonVolatileToken ( nvbuffer : *const ::core::ffi::c_void , size : usize , nvtoken : *mut *mut ::core::ffi::c_void ) -> u32 ); RtlGetNonVolatileToken(nvbuffer, size, nvtoken) } #[doc = "*Required features: `\"Win32_System_Memory_NonVolatile\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn RtlWriteNonVolatileMemory(nvtoken: *const ::core::ffi::c_void, nvdestination: *mut ::core::ffi::c_void, source: *const ::core::ffi::c_void, size: usize, flags: u32) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlWriteNonVolatileMemory ( nvtoken : *const ::core::ffi::c_void , nvdestination : *mut ::core::ffi::c_void , source : *const ::core::ffi::c_void , size : usize , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlWriteNonVolatileMemory ( nvtoken : *const ::core::ffi::c_void , nvdestination : *mut ::core::ffi::c_void , source : *const ::core::ffi::c_void , size : usize , flags : u32 ) -> u32 ); RtlWriteNonVolatileMemory(nvtoken, nvdestination, source, size, flags) } #[repr(C)] diff --git a/crates/libs/windows/src/Windows/Win32/System/Memory/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Memory/mod.rs index 781a676ccc..3e0a6a888f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Memory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Memory/mod.rs @@ -4,7 +4,7 @@ pub mod NonVolatile; #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AddSecureMemoryCacheCallback(pfncallback: PSECURE_MEMORY_CACHE_CALLBACK) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn AddSecureMemoryCacheCallback ( pfncallback : PSECURE_MEMORY_CACHE_CALLBACK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddSecureMemoryCacheCallback ( pfncallback : PSECURE_MEMORY_CACHE_CALLBACK ) -> super::super::Foundation:: BOOL ); AddSecureMemoryCacheCallback(pfncallback) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -14,7 +14,7 @@ pub unsafe fn AllocateUserPhysicalPages(hprocess: P0, numberofpages: *mut us where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AllocateUserPhysicalPages ( hprocess : super::super::Foundation:: HANDLE , numberofpages : *mut usize , pagearray : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AllocateUserPhysicalPages ( hprocess : super::super::Foundation:: HANDLE , numberofpages : *mut usize , pagearray : *mut usize ) -> super::super::Foundation:: BOOL ); AllocateUserPhysicalPages(hprocess.into(), numberofpages, pagearray) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -24,7 +24,7 @@ pub unsafe fn AllocateUserPhysicalPages2(objecthandle: P0, numberofpages: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-8.dll""system" fn AllocateUserPhysicalPages2 ( objecthandle : super::super::Foundation:: HANDLE , numberofpages : *mut usize , pagearray : *mut usize , extendedparameters : *mut MEM_EXTENDED_PARAMETER , extendedparametercount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-8.dll""system" fn AllocateUserPhysicalPages2 ( objecthandle : super::super::Foundation:: HANDLE , numberofpages : *mut usize , pagearray : *mut usize , extendedparameters : *mut MEM_EXTENDED_PARAMETER , extendedparametercount : u32 ) -> super::super::Foundation:: BOOL ); AllocateUserPhysicalPages2(objecthandle.into(), numberofpages, pagearray, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -34,7 +34,7 @@ pub unsafe fn AllocateUserPhysicalPagesNuma(hprocess: P0, numberofpages: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AllocateUserPhysicalPagesNuma ( hprocess : super::super::Foundation:: HANDLE , numberofpages : *mut usize , pagearray : *mut usize , nndpreferred : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AllocateUserPhysicalPagesNuma ( hprocess : super::super::Foundation:: HANDLE , numberofpages : *mut usize , pagearray : *mut usize , nndpreferred : u32 ) -> super::super::Foundation:: BOOL ); AllocateUserPhysicalPagesNuma(hprocess.into(), numberofpages, pagearray, nndpreferred) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -45,9 +45,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-7.dll""system" fn CreateFileMapping2 ( file : super::super::Foundation:: HANDLE , securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , desiredaccess : u32 , pageprotection : PAGE_PROTECTION_FLAGS , allocationattributes : u32 , maximumsize : u64 , name : :: windows::core::PCWSTR , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-7.dll""system" fn CreateFileMapping2 ( file : super::super::Foundation:: HANDLE , securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , desiredaccess : u32 , pageprotection : PAGE_PROTECTION_FLAGS , allocationattributes : u32 , maximumsize : u64 , name : :: windows::core::PCWSTR , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileMapping2(file.into(), ::core::mem::transmute(securityattributes.unwrap_or(::std::ptr::null())), desiredaccess, pageprotection, allocationattributes, maximumsize, name.into().abi(), ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -57,9 +57,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileMappingA ( hfile : super::super::Foundation:: HANDLE , lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flprotect : PAGE_PROTECTION_FLAGS , dwmaximumsizehigh : u32 , dwmaximumsizelow : u32 , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileMappingA ( hfile : super::super::Foundation:: HANDLE , lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flprotect : PAGE_PROTECTION_FLAGS , dwmaximumsizehigh : u32 , dwmaximumsizelow : u32 , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileMappingA(hfile.into(), ::core::mem::transmute(lpfilemappingattributes.unwrap_or(::std::ptr::null())), flprotect, dwmaximumsizehigh, dwmaximumsizelow, lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -69,9 +69,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileMappingFromApp ( hfile : super::super::Foundation:: HANDLE , securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , pageprotection : PAGE_PROTECTION_FLAGS , maximumsize : u64 , name : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileMappingFromApp ( hfile : super::super::Foundation:: HANDLE , securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , pageprotection : PAGE_PROTECTION_FLAGS , maximumsize : u64 , name : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileMappingFromApp(hfile.into(), ::core::mem::transmute(securityattributes.unwrap_or(::std::ptr::null())), pageprotection, maximumsize, name.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -81,9 +81,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileMappingNumaA ( hfile : super::super::Foundation:: HANDLE , lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flprotect : PAGE_PROTECTION_FLAGS , dwmaximumsizehigh : u32 , dwmaximumsizelow : u32 , lpname : :: windows::core::PCSTR , nndpreferred : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileMappingNumaA ( hfile : super::super::Foundation:: HANDLE , lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flprotect : PAGE_PROTECTION_FLAGS , dwmaximumsizehigh : u32 , dwmaximumsizelow : u32 , lpname : :: windows::core::PCSTR , nndpreferred : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileMappingNumaA(hfile.into(), ::core::mem::transmute(lpfilemappingattributes.unwrap_or(::std::ptr::null())), flprotect, dwmaximumsizehigh, dwmaximumsizelow, lpname.into().abi(), nndpreferred); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -93,9 +93,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileMappingNumaW ( hfile : super::super::Foundation:: HANDLE , lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flprotect : PAGE_PROTECTION_FLAGS , dwmaximumsizehigh : u32 , dwmaximumsizelow : u32 , lpname : :: windows::core::PCWSTR , nndpreferred : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileMappingNumaW ( hfile : super::super::Foundation:: HANDLE , lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flprotect : PAGE_PROTECTION_FLAGS , dwmaximumsizehigh : u32 , dwmaximumsizelow : u32 , lpname : :: windows::core::PCWSTR , nndpreferred : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileMappingNumaW(hfile.into(), ::core::mem::transmute(lpfilemappingattributes.unwrap_or(::std::ptr::null())), flprotect, dwmaximumsizehigh, dwmaximumsizelow, lpname.into().abi(), nndpreferred); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -105,29 +105,29 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFileMappingW ( hfile : super::super::Foundation:: HANDLE , lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flprotect : PAGE_PROTECTION_FLAGS , dwmaximumsizehigh : u32 , dwmaximumsizelow : u32 , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFileMappingW ( hfile : super::super::Foundation:: HANDLE , lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flprotect : PAGE_PROTECTION_FLAGS , dwmaximumsizehigh : u32 , dwmaximumsizelow : u32 , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateFileMappingW(hfile.into(), ::core::mem::transmute(lpfilemappingattributes.unwrap_or(::std::ptr::null())), flprotect, dwmaximumsizehigh, dwmaximumsizelow, lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateMemoryResourceNotification(notificationtype: MEMORY_RESOURCE_NOTIFICATION_TYPE) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateMemoryResourceNotification ( notificationtype : MEMORY_RESOURCE_NOTIFICATION_TYPE ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateMemoryResourceNotification ( notificationtype : MEMORY_RESOURCE_NOTIFICATION_TYPE ) -> super::super::Foundation:: HANDLE ); let result__ = CreateMemoryResourceNotification(notificationtype); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn DiscardVirtualMemory(virtualaddress: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn DiscardVirtualMemory ( virtualaddress : *mut ::core::ffi::c_void , size : usize ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DiscardVirtualMemory ( virtualaddress : *mut ::core::ffi::c_void , size : usize ) -> u32 ); DiscardVirtualMemory(::core::mem::transmute(virtualaddress.as_ptr()), virtualaddress.len() as _) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FlushViewOfFile(lpbaseaddress: *const ::core::ffi::c_void, dwnumberofbytestoflush: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FlushViewOfFile ( lpbaseaddress : *const ::core::ffi::c_void , dwnumberofbytestoflush : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlushViewOfFile ( lpbaseaddress : *const ::core::ffi::c_void , dwnumberofbytestoflush : usize ) -> super::super::Foundation:: BOOL ); FlushViewOfFile(lpbaseaddress, dwnumberofbytestoflush) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -137,33 +137,33 @@ pub unsafe fn FreeUserPhysicalPages(hprocess: P0, numberofpages: *mut usize, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeUserPhysicalPages ( hprocess : super::super::Foundation:: HANDLE , numberofpages : *mut usize , pagearray : *const usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeUserPhysicalPages ( hprocess : super::super::Foundation:: HANDLE , numberofpages : *mut usize , pagearray : *const usize ) -> super::super::Foundation:: BOOL ); FreeUserPhysicalPages(hprocess.into(), numberofpages, pagearray) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GetLargePageMinimum() -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLargePageMinimum ( ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLargePageMinimum ( ) -> usize ); GetLargePageMinimum() } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetMemoryErrorHandlingCapabilities(capabilities: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetMemoryErrorHandlingCapabilities ( capabilities : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetMemoryErrorHandlingCapabilities ( capabilities : *mut u32 ) -> super::super::Foundation:: BOOL ); GetMemoryErrorHandlingCapabilities(capabilities) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GetProcessHeap() -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessHeap ( ) -> HeapHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessHeap ( ) -> HeapHandle ); let result__ = GetProcessHeap(); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GetProcessHeaps(processheaps: &mut [HeapHandle]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessHeaps ( numberofheaps : u32 , processheaps : *mut HeapHandle ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessHeaps ( numberofheaps : u32 , processheaps : *mut HeapHandle ) -> u32 ); GetProcessHeaps(processheaps.len() as _, ::core::mem::transmute(processheaps.as_ptr())) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -173,69 +173,69 @@ pub unsafe fn GetProcessWorkingSetSizeEx(hprocess: P0, lpminimumworkingsetsi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessWorkingSetSizeEx ( hprocess : super::super::Foundation:: HANDLE , lpminimumworkingsetsize : *mut usize , lpmaximumworkingsetsize : *mut usize , flags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessWorkingSetSizeEx ( hprocess : super::super::Foundation:: HANDLE , lpminimumworkingsetsize : *mut usize , lpmaximumworkingsetsize : *mut usize , flags : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProcessWorkingSetSizeEx(hprocess.into(), lpminimumworkingsetsize, lpmaximumworkingsetsize, flags) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemFileCacheSize(lpminimumfilecachesize: *mut usize, lpmaximumfilecachesize: *mut usize, lpflags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemFileCacheSize ( lpminimumfilecachesize : *mut usize , lpmaximumfilecachesize : *mut usize , lpflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemFileCacheSize ( lpminimumfilecachesize : *mut usize , lpmaximumfilecachesize : *mut usize , lpflags : *mut u32 ) -> super::super::Foundation:: BOOL ); GetSystemFileCacheSize(lpminimumfilecachesize, lpmaximumfilecachesize, lpflags) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GetWriteWatch(dwflags: u32, lpbaseaddress: *const ::core::ffi::c_void, dwregionsize: usize, lpaddresses: ::core::option::Option<*mut *mut ::core::ffi::c_void>, lpdwcount: ::core::option::Option<*mut usize>, lpdwgranularity: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetWriteWatch ( dwflags : u32 , lpbaseaddress : *const ::core::ffi::c_void , dwregionsize : usize , lpaddresses : *mut *mut ::core::ffi::c_void , lpdwcount : *mut usize , lpdwgranularity : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetWriteWatch ( dwflags : u32 , lpbaseaddress : *const ::core::ffi::c_void , dwregionsize : usize , lpaddresses : *mut *mut ::core::ffi::c_void , lpdwcount : *mut usize , lpdwgranularity : *mut u32 ) -> u32 ); GetWriteWatch(dwflags, lpbaseaddress, dwregionsize, ::core::mem::transmute(lpaddresses.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdwcount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdwgranularity.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GlobalAlloc(uflags: GLOBAL_ALLOC_FLAGS, dwbytes: usize) -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalAlloc ( uflags : GLOBAL_ALLOC_FLAGS , dwbytes : usize ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalAlloc ( uflags : GLOBAL_ALLOC_FLAGS , dwbytes : usize ) -> isize ); GlobalAlloc(uflags, dwbytes) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GlobalFlags(hmem: isize) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalFlags ( hmem : isize ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalFlags ( hmem : isize ) -> u32 ); GlobalFlags(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GlobalFree(hmem: isize) -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalFree ( hmem : isize ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalFree ( hmem : isize ) -> isize ); GlobalFree(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GlobalHandle(pmem: *const ::core::ffi::c_void) -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalHandle ( pmem : *const ::core::ffi::c_void ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalHandle ( pmem : *const ::core::ffi::c_void ) -> isize ); GlobalHandle(pmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GlobalLock(hmem: isize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalLock ( hmem : isize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalLock ( hmem : isize ) -> *mut ::core::ffi::c_void ); GlobalLock(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GlobalReAlloc(hmem: isize, dwbytes: usize, uflags: u32) -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalReAlloc ( hmem : isize , dwbytes : usize , uflags : u32 ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalReAlloc ( hmem : isize , dwbytes : usize , uflags : u32 ) -> isize ); GlobalReAlloc(hmem, dwbytes, uflags) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn GlobalSize(hmem: isize) -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalSize ( hmem : isize ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalSize ( hmem : isize ) -> usize ); GlobalSize(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GlobalUnlock(hmem: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalUnlock ( hmem : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalUnlock ( hmem : isize ) -> super::super::Foundation:: BOOL ); GlobalUnlock(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] @@ -244,7 +244,7 @@ pub unsafe fn HeapAlloc(hheap: P0, dwflags: HEAP_FLAGS, dwbytes: usize) -> * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapAlloc ( hheap : HeapHandle , dwflags : HEAP_FLAGS , dwbytes : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapAlloc ( hheap : HeapHandle , dwflags : HEAP_FLAGS , dwbytes : usize ) -> *mut ::core::ffi::c_void ); HeapAlloc(hheap.into(), dwflags, dwbytes) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] @@ -253,15 +253,15 @@ pub unsafe fn HeapCompact(hheap: P0, dwflags: HEAP_FLAGS) -> usize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapCompact ( hheap : HeapHandle , dwflags : HEAP_FLAGS ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapCompact ( hheap : HeapHandle , dwflags : HEAP_FLAGS ) -> usize ); HeapCompact(hheap.into(), dwflags) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn HeapCreate(floptions: HEAP_FLAGS, dwinitialsize: usize, dwmaximumsize: usize) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapCreate ( floptions : HEAP_FLAGS , dwinitialsize : usize , dwmaximumsize : usize ) -> HeapHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapCreate ( floptions : HEAP_FLAGS , dwinitialsize : usize , dwmaximumsize : usize ) -> HeapHandle ); let result__ = HeapCreate(floptions, dwinitialsize, dwmaximumsize); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -270,7 +270,7 @@ pub unsafe fn HeapDestroy(hheap: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapDestroy ( hheap : HeapHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapDestroy ( hheap : HeapHandle ) -> super::super::Foundation:: BOOL ); HeapDestroy(hheap.into()) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -280,7 +280,7 @@ pub unsafe fn HeapFree(hheap: P0, dwflags: HEAP_FLAGS, lpmem: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapFree ( hheap : HeapHandle , dwflags : HEAP_FLAGS , lpmem : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapFree ( hheap : HeapHandle , dwflags : HEAP_FLAGS , lpmem : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); HeapFree(hheap.into(), dwflags, ::core::mem::transmute(lpmem.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -290,7 +290,7 @@ pub unsafe fn HeapLock(hheap: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapLock ( hheap : HeapHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapLock ( hheap : HeapHandle ) -> super::super::Foundation:: BOOL ); HeapLock(hheap.into()) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -300,7 +300,7 @@ pub unsafe fn HeapQueryInformation(heaphandle: P0, heapinformationclass: HEA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapQueryInformation ( heaphandle : HeapHandle , heapinformationclass : HEAP_INFORMATION_CLASS , heapinformation : *mut ::core::ffi::c_void , heapinformationlength : usize , returnlength : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapQueryInformation ( heaphandle : HeapHandle , heapinformationclass : HEAP_INFORMATION_CLASS , heapinformation : *mut ::core::ffi::c_void , heapinformationlength : usize , returnlength : *mut usize ) -> super::super::Foundation:: BOOL ); HeapQueryInformation(heaphandle.into(), heapinformationclass, ::core::mem::transmute(heapinformation.unwrap_or(::std::ptr::null_mut())), heapinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] @@ -309,7 +309,7 @@ pub unsafe fn HeapReAlloc(hheap: P0, dwflags: HEAP_FLAGS, lpmem: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapReAlloc ( hheap : HeapHandle , dwflags : HEAP_FLAGS , lpmem : *const ::core::ffi::c_void , dwbytes : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapReAlloc ( hheap : HeapHandle , dwflags : HEAP_FLAGS , lpmem : *const ::core::ffi::c_void , dwbytes : usize ) -> *mut ::core::ffi::c_void ); HeapReAlloc(hheap.into(), dwflags, ::core::mem::transmute(lpmem.unwrap_or(::std::ptr::null())), dwbytes) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -319,7 +319,7 @@ pub unsafe fn HeapSetInformation(heaphandle: P0, heapinformationclass: HEAP_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapSetInformation ( heaphandle : HeapHandle , heapinformationclass : HEAP_INFORMATION_CLASS , heapinformation : *const ::core::ffi::c_void , heapinformationlength : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapSetInformation ( heaphandle : HeapHandle , heapinformationclass : HEAP_INFORMATION_CLASS , heapinformation : *const ::core::ffi::c_void , heapinformationlength : usize ) -> super::super::Foundation:: BOOL ); HeapSetInformation(heaphandle.into(), heapinformationclass, ::core::mem::transmute(heapinformation.unwrap_or(::std::ptr::null())), heapinformationlength) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] @@ -328,7 +328,7 @@ pub unsafe fn HeapSize(hheap: P0, dwflags: HEAP_FLAGS, lpmem: *const ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapSize ( hheap : HeapHandle , dwflags : HEAP_FLAGS , lpmem : *const ::core::ffi::c_void ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapSize ( hheap : HeapHandle , dwflags : HEAP_FLAGS , lpmem : *const ::core::ffi::c_void ) -> usize ); HeapSize(hheap.into(), dwflags, lpmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -338,7 +338,7 @@ pub unsafe fn HeapSummary(hheap: P0, dwflags: u32, lpsummary: *mut HEAP_SUMM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapSummary ( hheap : super::super::Foundation:: HANDLE , dwflags : u32 , lpsummary : *mut HEAP_SUMMARY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapSummary ( hheap : super::super::Foundation:: HANDLE , dwflags : u32 , lpsummary : *mut HEAP_SUMMARY ) -> super::super::Foundation:: BOOL ); HeapSummary(hheap.into(), dwflags, lpsummary) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -348,7 +348,7 @@ pub unsafe fn HeapUnlock(hheap: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapUnlock ( hheap : HeapHandle ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapUnlock ( hheap : HeapHandle ) -> super::super::Foundation:: BOOL ); HeapUnlock(hheap.into()) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -358,7 +358,7 @@ pub unsafe fn HeapValidate(hheap: P0, dwflags: HEAP_FLAGS, lpmem: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapValidate ( hheap : HeapHandle , dwflags : HEAP_FLAGS , lpmem : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapValidate ( hheap : HeapHandle , dwflags : HEAP_FLAGS , lpmem : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); HeapValidate(hheap.into(), dwflags, ::core::mem::transmute(lpmem.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -368,21 +368,21 @@ pub unsafe fn HeapWalk(hheap: P0, lpentry: *mut PROCESS_HEAP_ENTRY) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn HeapWalk ( hheap : HeapHandle , lpentry : *mut PROCESS_HEAP_ENTRY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn HeapWalk ( hheap : HeapHandle , lpentry : *mut PROCESS_HEAP_ENTRY ) -> super::super::Foundation:: BOOL ); HeapWalk(hheap.into(), lpentry) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsBadCodePtr(lpfn: super::super::Foundation::FARPROC) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsBadCodePtr ( lpfn : super::super::Foundation:: FARPROC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadCodePtr ( lpfn : super::super::Foundation:: FARPROC ) -> super::super::Foundation:: BOOL ); IsBadCodePtr(lpfn) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsBadReadPtr(lp: ::core::option::Option<*const ::core::ffi::c_void>, ucb: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsBadReadPtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadReadPtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL ); IsBadReadPtr(::core::mem::transmute(lp.unwrap_or(::std::ptr::null())), ucb) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -392,7 +392,7 @@ pub unsafe fn IsBadStringPtrA(lpsz: P0, ucchmax: usize) -> super::super::Fou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn IsBadStringPtrA ( lpsz : :: windows::core::PCSTR , ucchmax : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadStringPtrA ( lpsz : :: windows::core::PCSTR , ucchmax : usize ) -> super::super::Foundation:: BOOL ); IsBadStringPtrA(lpsz.into().abi(), ucchmax) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -402,77 +402,77 @@ pub unsafe fn IsBadStringPtrW(lpsz: P0, ucchmax: usize) -> super::super::Fou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn IsBadStringPtrW ( lpsz : :: windows::core::PCWSTR , ucchmax : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadStringPtrW ( lpsz : :: windows::core::PCWSTR , ucchmax : usize ) -> super::super::Foundation:: BOOL ); IsBadStringPtrW(lpsz.into().abi(), ucchmax) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsBadWritePtr(lp: ::core::option::Option<*const ::core::ffi::c_void>, ucb: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsBadWritePtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadWritePtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL ); IsBadWritePtr(::core::mem::transmute(lp.unwrap_or(::std::ptr::null())), ucb) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn LocalAlloc(uflags: LOCAL_ALLOC_FLAGS, ubytes: usize) -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalAlloc ( uflags : LOCAL_ALLOC_FLAGS , ubytes : usize ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalAlloc ( uflags : LOCAL_ALLOC_FLAGS , ubytes : usize ) -> isize ); LocalAlloc(uflags, ubytes) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn LocalFlags(hmem: isize) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalFlags ( hmem : isize ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalFlags ( hmem : isize ) -> u32 ); LocalFlags(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn LocalFree(hmem: isize) -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalFree ( hmem : isize ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalFree ( hmem : isize ) -> isize ); LocalFree(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn LocalHandle(pmem: *const ::core::ffi::c_void) -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalHandle ( pmem : *const ::core::ffi::c_void ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalHandle ( pmem : *const ::core::ffi::c_void ) -> isize ); LocalHandle(pmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn LocalLock(hmem: isize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalLock ( hmem : isize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalLock ( hmem : isize ) -> *mut ::core::ffi::c_void ); LocalLock(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn LocalReAlloc(hmem: isize, ubytes: usize, uflags: u32) -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalReAlloc ( hmem : isize , ubytes : usize , uflags : u32 ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalReAlloc ( hmem : isize , ubytes : usize , uflags : u32 ) -> isize ); LocalReAlloc(hmem, ubytes, uflags) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn LocalSize(hmem: isize) -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalSize ( hmem : isize ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalSize ( hmem : isize ) -> usize ); LocalSize(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LocalUnlock(hmem: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalUnlock ( hmem : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalUnlock ( hmem : isize ) -> super::super::Foundation:: BOOL ); LocalUnlock(hmem) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MapUserPhysicalPages(virtualaddress: *const ::core::ffi::c_void, pagearray: ::core::option::Option<&[usize]>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn MapUserPhysicalPages ( virtualaddress : *const ::core::ffi::c_void , numberofpages : usize , pagearray : *const usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MapUserPhysicalPages ( virtualaddress : *const ::core::ffi::c_void , numberofpages : usize , pagearray : *const usize ) -> super::super::Foundation:: BOOL ); MapUserPhysicalPages(virtualaddress, pagearray.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pagearray.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MapUserPhysicalPagesScatter(virtualaddresses: *const *const ::core::ffi::c_void, numberofpages: usize, pagearray: ::core::option::Option<*const usize>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn MapUserPhysicalPagesScatter ( virtualaddresses : *const *const ::core::ffi::c_void , numberofpages : usize , pagearray : *const usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MapUserPhysicalPagesScatter ( virtualaddresses : *const *const ::core::ffi::c_void , numberofpages : usize , pagearray : *const usize ) -> super::super::Foundation:: BOOL ); MapUserPhysicalPagesScatter(virtualaddresses, numberofpages, ::core::mem::transmute(pagearray.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -482,7 +482,7 @@ pub unsafe fn MapViewOfFile(hfilemappingobject: P0, dwdesiredaccess: FILE_MA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn MapViewOfFile ( hfilemappingobject : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_MAP , dwfileoffsethigh : u32 , dwfileoffsetlow : u32 , dwnumberofbytestomap : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MapViewOfFile ( hfilemappingobject : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_MAP , dwfileoffsethigh : u32 , dwfileoffsetlow : u32 , dwnumberofbytestomap : usize ) -> *mut ::core::ffi::c_void ); MapViewOfFile(hfilemappingobject.into(), dwdesiredaccess, dwfileoffsethigh, dwfileoffsetlow, dwnumberofbytestomap) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -493,7 +493,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-6.dll""system" fn MapViewOfFile3 ( filemapping : super::super::Foundation:: HANDLE , process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , offset : u64 , viewsize : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , pageprotection : u32 , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-6.dll""system" fn MapViewOfFile3 ( filemapping : super::super::Foundation:: HANDLE , process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , offset : u64 , viewsize : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , pageprotection : u32 , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> *mut ::core::ffi::c_void ); MapViewOfFile3(filemapping.into(), process.into(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), offset, viewsize, allocationtype, pageprotection, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -504,7 +504,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-6.dll""system" fn MapViewOfFile3FromApp ( filemapping : super::super::Foundation:: HANDLE , process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , offset : u64 , viewsize : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , pageprotection : u32 , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-6.dll""system" fn MapViewOfFile3FromApp ( filemapping : super::super::Foundation:: HANDLE , process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , offset : u64 , viewsize : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , pageprotection : u32 , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> *mut ::core::ffi::c_void ); MapViewOfFile3FromApp(filemapping.into(), process.into(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), offset, viewsize, allocationtype, pageprotection, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -514,7 +514,7 @@ pub unsafe fn MapViewOfFileEx(hfilemappingobject: P0, dwdesiredaccess: FILE_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn MapViewOfFileEx ( hfilemappingobject : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_MAP , dwfileoffsethigh : u32 , dwfileoffsetlow : u32 , dwnumberofbytestomap : usize , lpbaseaddress : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MapViewOfFileEx ( hfilemappingobject : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_MAP , dwfileoffsethigh : u32 , dwfileoffsetlow : u32 , dwnumberofbytestomap : usize , lpbaseaddress : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); MapViewOfFileEx(hfilemappingobject.into(), dwdesiredaccess, dwfileoffsethigh, dwfileoffsetlow, dwnumberofbytestomap, ::core::mem::transmute(lpbaseaddress.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -524,7 +524,7 @@ pub unsafe fn MapViewOfFileExNuma(hfilemappingobject: P0, dwdesiredaccess: F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn MapViewOfFileExNuma ( hfilemappingobject : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_MAP , dwfileoffsethigh : u32 , dwfileoffsetlow : u32 , dwnumberofbytestomap : usize , lpbaseaddress : *const ::core::ffi::c_void , nndpreferred : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MapViewOfFileExNuma ( hfilemappingobject : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_MAP , dwfileoffsethigh : u32 , dwfileoffsetlow : u32 , dwnumberofbytestomap : usize , lpbaseaddress : *const ::core::ffi::c_void , nndpreferred : u32 ) -> *mut ::core::ffi::c_void ); MapViewOfFileExNuma(hfilemappingobject.into(), dwdesiredaccess, dwfileoffsethigh, dwfileoffsetlow, dwnumberofbytestomap, ::core::mem::transmute(lpbaseaddress.unwrap_or(::std::ptr::null())), nndpreferred) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -534,7 +534,7 @@ pub unsafe fn MapViewOfFileFromApp(hfilemappingobject: P0, desiredaccess: FI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn MapViewOfFileFromApp ( hfilemappingobject : super::super::Foundation:: HANDLE , desiredaccess : FILE_MAP , fileoffset : u64 , numberofbytestomap : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MapViewOfFileFromApp ( hfilemappingobject : super::super::Foundation:: HANDLE , desiredaccess : FILE_MAP , fileoffset : u64 , numberofbytestomap : usize ) -> *mut ::core::ffi::c_void ); MapViewOfFileFromApp(hfilemappingobject.into(), desiredaccess, fileoffset, numberofbytestomap) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -545,13 +545,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-5.dll""system" fn MapViewOfFileNuma2 ( filemappinghandle : super::super::Foundation:: HANDLE , processhandle : super::super::Foundation:: HANDLE , offset : u64 , baseaddress : *const ::core::ffi::c_void , viewsize : usize , allocationtype : u32 , pageprotection : u32 , preferrednode : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-5.dll""system" fn MapViewOfFileNuma2 ( filemappinghandle : super::super::Foundation:: HANDLE , processhandle : super::super::Foundation:: HANDLE , offset : u64 , baseaddress : *const ::core::ffi::c_void , viewsize : usize , allocationtype : u32 , pageprotection : u32 , preferrednode : u32 ) -> *mut ::core::ffi::c_void ); MapViewOfFileNuma2(filemappinghandle.into(), processhandle.into(), offset, ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), viewsize, allocationtype, pageprotection, preferrednode) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn OfferVirtualMemory(virtualaddress: &mut [u8], priority: OFFER_PRIORITY) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn OfferVirtualMemory ( virtualaddress : *mut ::core::ffi::c_void , size : usize , priority : OFFER_PRIORITY ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OfferVirtualMemory ( virtualaddress : *mut ::core::ffi::c_void , size : usize , priority : OFFER_PRIORITY ) -> u32 ); OfferVirtualMemory(::core::mem::transmute(virtualaddress.as_ptr()), virtualaddress.len() as _, priority) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -562,7 +562,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-8.dll""system" fn OpenDedicatedMemoryPartition ( partition : super::super::Foundation:: HANDLE , dedicatedmemorytypeid : u64 , desiredaccess : u32 , inherithandle : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-8.dll""system" fn OpenDedicatedMemoryPartition ( partition : super::super::Foundation:: HANDLE , dedicatedmemorytypeid : u64 , desiredaccess : u32 , inherithandle : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); OpenDedicatedMemoryPartition(partition.into(), dedicatedmemorytypeid, desiredaccess, inherithandle.into()) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -573,9 +573,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenFileMappingA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenFileMappingA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenFileMappingA(dwdesiredaccess, binherithandle.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -585,9 +585,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-3.dll""system" fn OpenFileMappingFromApp ( desiredaccess : u32 , inherithandle : super::super::Foundation:: BOOL , name : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-3.dll""system" fn OpenFileMappingFromApp ( desiredaccess : u32 , inherithandle : super::super::Foundation:: BOOL , name : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenFileMappingFromApp(desiredaccess, inherithandle.into(), name.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -597,9 +597,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenFileMappingW ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenFileMappingW ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenFileMappingW(dwdesiredaccess, binherithandle.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -608,7 +608,7 @@ pub unsafe fn PrefetchVirtualMemory(hprocess: P0, virtualaddresses: &[WIN32_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PrefetchVirtualMemory ( hprocess : super::super::Foundation:: HANDLE , numberofentries : usize , virtualaddresses : *const WIN32_MEMORY_RANGE_ENTRY , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PrefetchVirtualMemory ( hprocess : super::super::Foundation:: HANDLE , numberofentries : usize , virtualaddresses : *const WIN32_MEMORY_RANGE_ENTRY , flags : u32 ) -> super::super::Foundation:: BOOL ); PrefetchVirtualMemory(hprocess.into(), virtualaddresses.len() as _, ::core::mem::transmute(virtualaddresses.as_ptr()), flags) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -618,7 +618,7 @@ pub unsafe fn QueryMemoryResourceNotification(resourcenotificationhandle: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryMemoryResourceNotification ( resourcenotificationhandle : super::super::Foundation:: HANDLE , resourcestate : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryMemoryResourceNotification ( resourcenotificationhandle : super::super::Foundation:: HANDLE , resourcestate : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); QueryMemoryResourceNotification(resourcenotificationhandle.into(), resourcestate) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -628,7 +628,7 @@ pub unsafe fn QueryPartitionInformation(partition: P0, partitioninformationc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-8.dll""system" fn QueryPartitionInformation ( partition : super::super::Foundation:: HANDLE , partitioninformationclass : WIN32_MEMORY_PARTITION_INFORMATION_CLASS , partitioninformation : *mut ::core::ffi::c_void , partitioninformationlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-8.dll""system" fn QueryPartitionInformation ( partition : super::super::Foundation:: HANDLE , partitioninformationclass : WIN32_MEMORY_PARTITION_INFORMATION_CLASS , partitioninformation : *mut ::core::ffi::c_void , partitioninformationlength : u32 ) -> super::super::Foundation:: BOOL ); QueryPartitionInformation(partition.into(), partitioninformationclass, partitioninformation, partitioninformationlength) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -638,57 +638,57 @@ pub unsafe fn QueryVirtualMemoryInformation(process: P0, virtualaddress: *co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-4.dll""system" fn QueryVirtualMemoryInformation ( process : super::super::Foundation:: HANDLE , virtualaddress : *const ::core::ffi::c_void , memoryinformationclass : WIN32_MEMORY_INFORMATION_CLASS , memoryinformation : *mut ::core::ffi::c_void , memoryinformationsize : usize , returnsize : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-4.dll""system" fn QueryVirtualMemoryInformation ( process : super::super::Foundation:: HANDLE , virtualaddress : *const ::core::ffi::c_void , memoryinformationclass : WIN32_MEMORY_INFORMATION_CLASS , memoryinformation : *mut ::core::ffi::c_void , memoryinformationsize : usize , returnsize : *mut usize ) -> super::super::Foundation:: BOOL ); QueryVirtualMemoryInformation(process.into(), virtualaddress, memoryinformationclass, memoryinformation, memoryinformationsize, ::core::mem::transmute(returnsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn ReclaimVirtualMemory(virtualaddress: &[u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn ReclaimVirtualMemory ( virtualaddress : *const ::core::ffi::c_void , size : usize ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReclaimVirtualMemory ( virtualaddress : *const ::core::ffi::c_void , size : usize ) -> u32 ); ReclaimVirtualMemory(::core::mem::transmute(virtualaddress.as_ptr()), virtualaddress.len() as _) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn RegisterBadMemoryNotification(callback: PBAD_MEMORY_CALLBACK_ROUTINE) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn RegisterBadMemoryNotification ( callback : PBAD_MEMORY_CALLBACK_ROUTINE ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RegisterBadMemoryNotification ( callback : PBAD_MEMORY_CALLBACK_ROUTINE ) -> *mut ::core::ffi::c_void ); RegisterBadMemoryNotification(callback) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RemoveSecureMemoryCacheCallback(pfncallback: PSECURE_MEMORY_CACHE_CALLBACK) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn RemoveSecureMemoryCacheCallback ( pfncallback : PSECURE_MEMORY_CACHE_CALLBACK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RemoveSecureMemoryCacheCallback ( pfncallback : PSECURE_MEMORY_CACHE_CALLBACK ) -> super::super::Foundation:: BOOL ); RemoveSecureMemoryCacheCallback(pfncallback) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn ResetWriteWatch(lpbaseaddress: *const ::core::ffi::c_void, dwregionsize: usize) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn ResetWriteWatch ( lpbaseaddress : *const ::core::ffi::c_void , dwregionsize : usize ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ResetWriteWatch ( lpbaseaddress : *const ::core::ffi::c_void , dwregionsize : usize ) -> u32 ); ResetWriteWatch(lpbaseaddress, dwregionsize) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn RtlCompareMemory(source1: *const ::core::ffi::c_void, source2: *const ::core::ffi::c_void, length: usize) -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn RtlCompareMemory ( source1 : *const ::core::ffi::c_void , source2 : *const ::core::ffi::c_void , length : usize ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RtlCompareMemory ( source1 : *const ::core::ffi::c_void , source2 : *const ::core::ffi::c_void , length : usize ) -> usize ); RtlCompareMemory(source1, source2, length) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn RtlCrc32(buffer: *const ::core::ffi::c_void, size: usize, initialcrc: u32) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlCrc32 ( buffer : *const ::core::ffi::c_void , size : usize , initialcrc : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlCrc32 ( buffer : *const ::core::ffi::c_void , size : usize , initialcrc : u32 ) -> u32 ); RtlCrc32(buffer, size, initialcrc) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn RtlCrc64(buffer: *const ::core::ffi::c_void, size: usize, initialcrc: u64) -> u64 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlCrc64 ( buffer : *const ::core::ffi::c_void , size : usize , initialcrc : u64 ) -> u64 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlCrc64 ( buffer : *const ::core::ffi::c_void , size : usize , initialcrc : u64 ) -> u64 ); RtlCrc64(buffer, size, initialcrc) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlIsZeroMemory(buffer: *const ::core::ffi::c_void, length: usize) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIsZeroMemory ( buffer : *const ::core::ffi::c_void , length : usize ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIsZeroMemory ( buffer : *const ::core::ffi::c_void , length : usize ) -> super::super::Foundation:: BOOLEAN ); RtlIsZeroMemory(buffer, length) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -698,7 +698,7 @@ pub unsafe fn SetProcessValidCallTargets(hprocess: P0, virtualaddress: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-3.dll""system" fn SetProcessValidCallTargets ( hprocess : super::super::Foundation:: HANDLE , virtualaddress : *const ::core::ffi::c_void , regionsize : usize , numberofoffsets : u32 , offsetinformation : *mut CFG_CALL_TARGET_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-3.dll""system" fn SetProcessValidCallTargets ( hprocess : super::super::Foundation:: HANDLE , virtualaddress : *const ::core::ffi::c_void , regionsize : usize , numberofoffsets : u32 , offsetinformation : *mut CFG_CALL_TARGET_INFO ) -> super::super::Foundation:: BOOL ); SetProcessValidCallTargets(hprocess.into(), virtualaddress, regionsize, offsetinformation.len() as _, ::core::mem::transmute(offsetinformation.as_ptr())) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -709,7 +709,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-7.dll""system" fn SetProcessValidCallTargetsForMappedView ( process : super::super::Foundation:: HANDLE , virtualaddress : *const ::core::ffi::c_void , regionsize : usize , numberofoffsets : u32 , offsetinformation : *mut CFG_CALL_TARGET_INFO , section : super::super::Foundation:: HANDLE , expectedfileoffset : u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-7.dll""system" fn SetProcessValidCallTargetsForMappedView ( process : super::super::Foundation:: HANDLE , virtualaddress : *const ::core::ffi::c_void , regionsize : usize , numberofoffsets : u32 , offsetinformation : *mut CFG_CALL_TARGET_INFO , section : super::super::Foundation:: HANDLE , expectedfileoffset : u64 ) -> super::super::Foundation:: BOOL ); SetProcessValidCallTargetsForMappedView(process.into(), virtualaddress, regionsize, offsetinformation.len() as _, ::core::mem::transmute(offsetinformation.as_ptr()), section.into(), expectedfileoffset) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -719,21 +719,21 @@ pub unsafe fn SetProcessWorkingSetSizeEx(hprocess: P0, dwminimumworkingsetsi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessWorkingSetSizeEx ( hprocess : super::super::Foundation:: HANDLE , dwminimumworkingsetsize : usize , dwmaximumworkingsetsize : usize , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessWorkingSetSizeEx ( hprocess : super::super::Foundation:: HANDLE , dwminimumworkingsetsize : usize , dwmaximumworkingsetsize : usize , flags : u32 ) -> super::super::Foundation:: BOOL ); SetProcessWorkingSetSizeEx(hprocess.into(), dwminimumworkingsetsize, dwmaximumworkingsetsize, flags) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetSystemFileCacheSize(minimumfilecachesize: usize, maximumfilecachesize: usize, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetSystemFileCacheSize ( minimumfilecachesize : usize , maximumfilecachesize : usize , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetSystemFileCacheSize ( minimumfilecachesize : usize , maximumfilecachesize : usize , flags : u32 ) -> super::super::Foundation:: BOOL ); SetSystemFileCacheSize(minimumfilecachesize, maximumfilecachesize, flags) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UnmapViewOfFile(lpbaseaddress: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn UnmapViewOfFile ( lpbaseaddress : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnmapViewOfFile ( lpbaseaddress : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); UnmapViewOfFile(lpbaseaddress) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -743,27 +743,27 @@ pub unsafe fn UnmapViewOfFile2(process: P0, baseaddress: *const ::core::ffi: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-5.dll""system" fn UnmapViewOfFile2 ( process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , unmapflags : UNMAP_VIEW_OF_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-5.dll""system" fn UnmapViewOfFile2 ( process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , unmapflags : UNMAP_VIEW_OF_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); UnmapViewOfFile2(process.into(), baseaddress, unmapflags) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UnmapViewOfFileEx(baseaddress: *const ::core::ffi::c_void, unmapflags: UNMAP_VIEW_OF_FILE_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn UnmapViewOfFileEx ( baseaddress : *const ::core::ffi::c_void , unmapflags : UNMAP_VIEW_OF_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnmapViewOfFileEx ( baseaddress : *const ::core::ffi::c_void , unmapflags : UNMAP_VIEW_OF_FILE_FLAGS ) -> super::super::Foundation:: BOOL ); UnmapViewOfFileEx(baseaddress, unmapflags) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UnregisterBadMemoryNotification(registrationhandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn UnregisterBadMemoryNotification ( registrationhandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnregisterBadMemoryNotification ( registrationhandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); UnregisterBadMemoryNotification(registrationhandle) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn VirtualAlloc(lpaddress: ::core::option::Option<*const ::core::ffi::c_void>, dwsize: usize, flallocationtype: VIRTUAL_ALLOCATION_TYPE, flprotect: PAGE_PROTECTION_FLAGS) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualAlloc ( lpaddress : *const ::core::ffi::c_void , dwsize : usize , flallocationtype : VIRTUAL_ALLOCATION_TYPE , flprotect : PAGE_PROTECTION_FLAGS ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualAlloc ( lpaddress : *const ::core::ffi::c_void , dwsize : usize , flallocationtype : VIRTUAL_ALLOCATION_TYPE , flprotect : PAGE_PROTECTION_FLAGS ) -> *mut ::core::ffi::c_void ); VirtualAlloc(::core::mem::transmute(lpaddress.unwrap_or(::std::ptr::null())), dwsize, flallocationtype, flprotect) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -773,7 +773,7 @@ pub unsafe fn VirtualAlloc2(process: P0, baseaddress: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-6.dll""system" fn VirtualAlloc2 ( process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , size : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , pageprotection : u32 , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-6.dll""system" fn VirtualAlloc2 ( process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , size : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , pageprotection : u32 , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> *mut ::core::ffi::c_void ); VirtualAlloc2(process.into(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), size, allocationtype, pageprotection, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -783,7 +783,7 @@ pub unsafe fn VirtualAlloc2FromApp(process: P0, baseaddress: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-6.dll""system" fn VirtualAlloc2FromApp ( process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , size : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , pageprotection : u32 , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-6.dll""system" fn VirtualAlloc2FromApp ( process : super::super::Foundation:: HANDLE , baseaddress : *const ::core::ffi::c_void , size : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , pageprotection : u32 , extendedparameters : *mut MEM_EXTENDED_PARAMETER , parametercount : u32 ) -> *mut ::core::ffi::c_void ); VirtualAlloc2FromApp(process.into(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), size, allocationtype, pageprotection, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -793,7 +793,7 @@ pub unsafe fn VirtualAllocEx(hprocess: P0, lpaddress: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualAllocEx ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , dwsize : usize , flallocationtype : VIRTUAL_ALLOCATION_TYPE , flprotect : PAGE_PROTECTION_FLAGS ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualAllocEx ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , dwsize : usize , flallocationtype : VIRTUAL_ALLOCATION_TYPE , flprotect : PAGE_PROTECTION_FLAGS ) -> *mut ::core::ffi::c_void ); VirtualAllocEx(hprocess.into(), ::core::mem::transmute(lpaddress.unwrap_or(::std::ptr::null())), dwsize, flallocationtype, flprotect) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -803,20 +803,20 @@ pub unsafe fn VirtualAllocExNuma(hprocess: P0, lpaddress: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualAllocExNuma ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , dwsize : usize , flallocationtype : VIRTUAL_ALLOCATION_TYPE , flprotect : u32 , nndpreferred : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualAllocExNuma ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , dwsize : usize , flallocationtype : VIRTUAL_ALLOCATION_TYPE , flprotect : u32 , nndpreferred : u32 ) -> *mut ::core::ffi::c_void ); VirtualAllocExNuma(hprocess.into(), ::core::mem::transmute(lpaddress.unwrap_or(::std::ptr::null())), dwsize, flallocationtype, flprotect, nndpreferred) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn VirtualAllocFromApp(baseaddress: ::core::option::Option<*const ::core::ffi::c_void>, size: usize, allocationtype: VIRTUAL_ALLOCATION_TYPE, protection: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-3.dll""system" fn VirtualAllocFromApp ( baseaddress : *const ::core::ffi::c_void , size : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , protection : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-3.dll""system" fn VirtualAllocFromApp ( baseaddress : *const ::core::ffi::c_void , size : usize , allocationtype : VIRTUAL_ALLOCATION_TYPE , protection : u32 ) -> *mut ::core::ffi::c_void ); VirtualAllocFromApp(::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), size, allocationtype, protection) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VirtualFree(lpaddress: *mut ::core::ffi::c_void, dwsize: usize, dwfreetype: VIRTUAL_FREE_TYPE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualFree ( lpaddress : *mut ::core::ffi::c_void , dwsize : usize , dwfreetype : VIRTUAL_FREE_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualFree ( lpaddress : *mut ::core::ffi::c_void , dwsize : usize , dwfreetype : VIRTUAL_FREE_TYPE ) -> super::super::Foundation:: BOOL ); VirtualFree(lpaddress, dwsize, dwfreetype) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -826,21 +826,21 @@ pub unsafe fn VirtualFreeEx(hprocess: P0, lpaddress: *mut ::core::ffi::c_voi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualFreeEx ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *mut ::core::ffi::c_void , dwsize : usize , dwfreetype : VIRTUAL_FREE_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualFreeEx ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *mut ::core::ffi::c_void , dwsize : usize , dwfreetype : VIRTUAL_FREE_TYPE ) -> super::super::Foundation:: BOOL ); VirtualFreeEx(hprocess.into(), lpaddress, dwsize, dwfreetype) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VirtualLock(lpaddress: *const ::core::ffi::c_void, dwsize: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualLock ( lpaddress : *const ::core::ffi::c_void , dwsize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualLock ( lpaddress : *const ::core::ffi::c_void , dwsize : usize ) -> super::super::Foundation:: BOOL ); VirtualLock(lpaddress, dwsize) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VirtualProtect(lpaddress: *const ::core::ffi::c_void, dwsize: usize, flnewprotect: PAGE_PROTECTION_FLAGS, lpfloldprotect: *mut PAGE_PROTECTION_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualProtect ( lpaddress : *const ::core::ffi::c_void , dwsize : usize , flnewprotect : PAGE_PROTECTION_FLAGS , lpfloldprotect : *mut PAGE_PROTECTION_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualProtect ( lpaddress : *const ::core::ffi::c_void , dwsize : usize , flnewprotect : PAGE_PROTECTION_FLAGS , lpfloldprotect : *mut PAGE_PROTECTION_FLAGS ) -> super::super::Foundation:: BOOL ); VirtualProtect(lpaddress, dwsize, flnewprotect, lpfloldprotect) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -850,20 +850,20 @@ pub unsafe fn VirtualProtectEx(hprocess: P0, lpaddress: *const ::core::ffi:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualProtectEx ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , dwsize : usize , flnewprotect : PAGE_PROTECTION_FLAGS , lpfloldprotect : *mut PAGE_PROTECTION_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualProtectEx ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , dwsize : usize , flnewprotect : PAGE_PROTECTION_FLAGS , lpfloldprotect : *mut PAGE_PROTECTION_FLAGS ) -> super::super::Foundation:: BOOL ); VirtualProtectEx(hprocess.into(), lpaddress, dwsize, flnewprotect, lpfloldprotect) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VirtualProtectFromApp(address: *const ::core::ffi::c_void, size: usize, newprotection: u32, oldprotection: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-3.dll""system" fn VirtualProtectFromApp ( address : *const ::core::ffi::c_void , size : usize , newprotection : u32 , oldprotection : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-3.dll""system" fn VirtualProtectFromApp ( address : *const ::core::ffi::c_void , size : usize , newprotection : u32 , oldprotection : *mut u32 ) -> super::super::Foundation:: BOOL ); VirtualProtectFromApp(address, size, newprotection, oldprotection) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[inline] pub unsafe fn VirtualQuery(lpaddress: ::core::option::Option<*const ::core::ffi::c_void>, lpbuffer: *mut MEMORY_BASIC_INFORMATION, dwlength: usize) -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualQuery ( lpaddress : *const ::core::ffi::c_void , lpbuffer : *mut MEMORY_BASIC_INFORMATION , dwlength : usize ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualQuery ( lpaddress : *const ::core::ffi::c_void , lpbuffer : *mut MEMORY_BASIC_INFORMATION , dwlength : usize ) -> usize ); VirtualQuery(::core::mem::transmute(lpaddress.unwrap_or(::std::ptr::null())), lpbuffer, dwlength) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -873,14 +873,14 @@ pub unsafe fn VirtualQueryEx(hprocess: P0, lpaddress: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualQueryEx ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , lpbuffer : *mut MEMORY_BASIC_INFORMATION , dwlength : usize ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualQueryEx ( hprocess : super::super::Foundation:: HANDLE , lpaddress : *const ::core::ffi::c_void , lpbuffer : *mut MEMORY_BASIC_INFORMATION , dwlength : usize ) -> usize ); VirtualQueryEx(hprocess.into(), ::core::mem::transmute(lpaddress.unwrap_or(::std::ptr::null())), lpbuffer, dwlength) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VirtualUnlock(lpaddress: *const ::core::ffi::c_void, dwsize: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn VirtualUnlock ( lpaddress : *const ::core::ffi::c_void , dwsize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VirtualUnlock ( lpaddress : *const ::core::ffi::c_void , dwsize : usize ) -> super::super::Foundation:: BOOL ); VirtualUnlock(lpaddress, dwsize) } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -890,7 +890,7 @@ pub unsafe fn VirtualUnlockEx(process: P0, address: *const ::core::ffi::c_vo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-memory-l1-1-5.dll""system" fn VirtualUnlockEx ( process : super::super::Foundation:: HANDLE , address : *const ::core::ffi::c_void , size : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-memory-l1-1-5.dll""system" fn VirtualUnlockEx ( process : super::super::Foundation:: HANDLE , address : *const ::core::ffi::c_void , size : usize ) -> super::super::Foundation:: BOOL ); VirtualUnlockEx(process.into(), address, size) } #[doc = "*Required features: `\"Win32_System_Memory\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs index cd74e3aa53..f90fc3de11 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -10,7 +10,7 @@ impl IMSMQApplication { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQApplication, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQApplication, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQApplication { fn eq(&self, other: &Self) -> bool { @@ -91,7 +91,7 @@ impl IMSMQApplication2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQApplication2, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQApplication); +::windows::imp::interface_hierarchy!(IMSMQApplication2, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQApplication); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQApplication2 { fn eq(&self, other: &Self) -> bool { @@ -231,7 +231,7 @@ impl IMSMQApplication3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQApplication3, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQApplication, IMSMQApplication2); +::windows::imp::interface_hierarchy!(IMSMQApplication3, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQApplication, IMSMQApplication2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQApplication3 { fn eq(&self, other: &Self) -> bool { @@ -310,7 +310,7 @@ impl IMSMQCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQCollection { fn eq(&self, other: &Self) -> bool { @@ -365,7 +365,7 @@ impl IMSMQCoordinatedTransactionDispenser { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQCoordinatedTransactionDispenser { fn eq(&self, other: &Self) -> bool { @@ -424,7 +424,7 @@ impl IMSMQCoordinatedTransactionDispenser2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQCoordinatedTransactionDispenser2 { fn eq(&self, other: &Self) -> bool { @@ -487,7 +487,7 @@ impl IMSMQCoordinatedTransactionDispenser3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser3, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser3, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQCoordinatedTransactionDispenser3 { fn eq(&self, other: &Self) -> bool { @@ -605,7 +605,7 @@ impl IMSMQDestination { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQDestination, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQDestination, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQDestination { fn eq(&self, other: &Self) -> bool { @@ -679,7 +679,7 @@ pub struct IMSMQEvent(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQEvent {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQEvent { fn eq(&self, other: &Self) -> bool { @@ -728,7 +728,7 @@ impl IMSMQEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQEvent); +::windows::imp::interface_hierarchy!(IMSMQEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQEvent2 { fn eq(&self, other: &Self) -> bool { @@ -781,7 +781,7 @@ impl IMSMQEvent3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQEvent3, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQEvent, IMSMQEvent2); +::windows::imp::interface_hierarchy!(IMSMQEvent3, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQEvent, IMSMQEvent2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQEvent3 { fn eq(&self, other: &Self) -> bool { @@ -865,7 +865,7 @@ impl IMSMQManagement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQManagement, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQManagement, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQManagement { fn eq(&self, other: &Self) -> bool { @@ -1142,7 +1142,7 @@ impl IMSMQMessage { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQMessage, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQMessage, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQMessage { fn eq(&self, other: &Self) -> bool { @@ -1626,7 +1626,7 @@ impl IMSMQMessage2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQMessage2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQMessage2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQMessage2 { fn eq(&self, other: &Self) -> bool { @@ -2269,7 +2269,7 @@ impl IMSMQMessage3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQMessage3, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQMessage3, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQMessage3 { fn eq(&self, other: &Self) -> bool { @@ -2964,7 +2964,7 @@ impl IMSMQMessage4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQMessage4, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQMessage4, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQMessage4 { fn eq(&self, other: &Self) -> bool { @@ -3290,7 +3290,7 @@ impl IMSMQOutgoingQueueManagement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQOutgoingQueueManagement, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQManagement); +::windows::imp::interface_hierarchy!(IMSMQOutgoingQueueManagement, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQManagement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQOutgoingQueueManagement { fn eq(&self, other: &Self) -> bool { @@ -3356,7 +3356,7 @@ impl IMSMQPrivateDestination { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQPrivateDestination, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQPrivateDestination, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQPrivateDestination { fn eq(&self, other: &Self) -> bool { @@ -3427,7 +3427,7 @@ impl IMSMQPrivateEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQPrivateEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQPrivateEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQPrivateEvent { fn eq(&self, other: &Self) -> bool { @@ -3485,7 +3485,7 @@ impl IMSMQQuery { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQuery, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQuery, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQuery { fn eq(&self, other: &Self) -> bool { @@ -3544,7 +3544,7 @@ impl IMSMQQuery2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQuery2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQuery2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQuery2 { fn eq(&self, other: &Self) -> bool { @@ -3613,7 +3613,7 @@ impl IMSMQQuery3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQuery3, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQuery3, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQuery3 { fn eq(&self, other: &Self) -> bool { @@ -3686,7 +3686,7 @@ impl IMSMQQuery4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQuery4, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQuery4, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQuery4 { fn eq(&self, other: &Self) -> bool { @@ -3807,7 +3807,7 @@ impl IMSMQQueue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueue, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueue, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueue { fn eq(&self, other: &Self) -> bool { @@ -3986,7 +3986,7 @@ impl IMSMQQueue2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueue2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueue2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueue2 { fn eq(&self, other: &Self) -> bool { @@ -4264,7 +4264,7 @@ impl IMSMQQueue3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueue3, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueue3, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueue3 { fn eq(&self, other: &Self) -> bool { @@ -4597,7 +4597,7 @@ impl IMSMQQueue4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueue4, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueue4, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueue4 { fn eq(&self, other: &Self) -> bool { @@ -4865,7 +4865,7 @@ impl IMSMQQueueInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueueInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueInfo { fn eq(&self, other: &Self) -> bool { @@ -5085,7 +5085,7 @@ impl IMSMQQueueInfo2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueInfo2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueueInfo2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueInfo2 { fn eq(&self, other: &Self) -> bool { @@ -5341,7 +5341,7 @@ impl IMSMQQueueInfo3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueInfo3, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueueInfo3, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueInfo3 { fn eq(&self, other: &Self) -> bool { @@ -5608,7 +5608,7 @@ impl IMSMQQueueInfo4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueInfo4, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueueInfo4, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueInfo4 { fn eq(&self, other: &Self) -> bool { @@ -5726,7 +5726,7 @@ impl IMSMQQueueInfos { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueInfos, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueueInfos, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueInfos { fn eq(&self, other: &Self) -> bool { @@ -5789,7 +5789,7 @@ impl IMSMQQueueInfos2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueInfos2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueueInfos2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueInfos2 { fn eq(&self, other: &Self) -> bool { @@ -5856,7 +5856,7 @@ impl IMSMQQueueInfos3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueInfos3, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueueInfos3, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueInfos3 { fn eq(&self, other: &Self) -> bool { @@ -5923,7 +5923,7 @@ impl IMSMQQueueInfos4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueInfos4, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQQueueInfos4, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueInfos4 { fn eq(&self, other: &Self) -> bool { @@ -6032,7 +6032,7 @@ impl IMSMQQueueManagement { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQQueueManagement, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQManagement); +::windows::imp::interface_hierarchy!(IMSMQQueueManagement, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQManagement); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQQueueManagement { fn eq(&self, other: &Self) -> bool { @@ -6098,7 +6098,7 @@ impl IMSMQTransaction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQTransaction, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQTransaction, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQTransaction { fn eq(&self, other: &Self) -> bool { @@ -6175,7 +6175,7 @@ impl IMSMQTransaction2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQTransaction2, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQTransaction); +::windows::imp::interface_hierarchy!(IMSMQTransaction2, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQTransaction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQTransaction2 { fn eq(&self, other: &Self) -> bool { @@ -6257,7 +6257,7 @@ impl IMSMQTransaction3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQTransaction3, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQTransaction, IMSMQTransaction2); +::windows::imp::interface_hierarchy!(IMSMQTransaction3, ::windows::core::IUnknown, super::Com::IDispatch, IMSMQTransaction, IMSMQTransaction2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQTransaction3 { fn eq(&self, other: &Self) -> bool { @@ -6310,7 +6310,7 @@ impl IMSMQTransactionDispenser { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQTransactionDispenser, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQTransactionDispenser, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQTransactionDispenser { fn eq(&self, other: &Self) -> bool { @@ -6369,7 +6369,7 @@ impl IMSMQTransactionDispenser2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQTransactionDispenser2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQTransactionDispenser2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQTransactionDispenser2 { fn eq(&self, other: &Self) -> bool { @@ -6432,7 +6432,7 @@ impl IMSMQTransactionDispenser3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMSMQTransactionDispenser3, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMSMQTransactionDispenser3, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMSMQTransactionDispenser3 { fn eq(&self, other: &Self) -> bool { @@ -6482,7 +6482,7 @@ pub struct _DMSMQEventEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _DMSMQEventEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_DMSMQEventEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(_DMSMQEventEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _DMSMQEventEvents { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs index ec286a524b..84fc351ef7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs @@ -5,7 +5,7 @@ pub struct AppEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl AppEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(AppEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(AppEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for AppEvents { fn eq(&self, other: &Self) -> bool { @@ -89,7 +89,7 @@ impl Column { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Column, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Column, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Column { fn eq(&self, other: &Self) -> bool { @@ -164,7 +164,7 @@ impl Columns { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Columns, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Columns, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Columns { fn eq(&self, other: &Self) -> bool { @@ -227,7 +227,7 @@ impl ContextMenu { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ContextMenu, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ContextMenu, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ContextMenu { fn eq(&self, other: &Self) -> bool { @@ -356,7 +356,7 @@ impl Document { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Document, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Document, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Document { fn eq(&self, other: &Self) -> bool { @@ -480,7 +480,7 @@ impl Extension { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Extension, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Extension, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Extension { fn eq(&self, other: &Self) -> bool { @@ -553,7 +553,7 @@ impl Extensions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Extensions, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Extensions, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Extensions { fn eq(&self, other: &Self) -> bool { @@ -639,7 +639,7 @@ impl Frame { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Frame, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Frame, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Frame { fn eq(&self, other: &Self) -> bool { @@ -704,7 +704,7 @@ impl IColumnData { (::windows::core::Vtable::vtable(self).GetColumnSortData)(::windows::core::Vtable::as_raw(self), pcolid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IColumnData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IColumnData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IColumnData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -783,7 +783,7 @@ impl IComponent { (::windows::core::Vtable::vtable(self).CompareObjects)(::windows::core::Vtable::as_raw(self), lpdataobjecta.into().abi(), lpdataobjectb.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IComponent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComponent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComponent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -889,7 +889,7 @@ impl IComponent2 { (::windows::core::Vtable::vtable(self).RestoreResultView)(::windows::core::Vtable::as_raw(self), cookie, presultviewtype).ok() } } -::windows::core::interface_hierarchy!(IComponent2, ::windows::core::IUnknown, IComponent); +::windows::imp::interface_hierarchy!(IComponent2, ::windows::core::IUnknown, IComponent); impl ::core::cmp::PartialEq for IComponent2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -971,7 +971,7 @@ impl IComponentData { (::windows::core::Vtable::vtable(self).CompareObjects)(::windows::core::Vtable::as_raw(self), lpdataobjecta.into().abi(), lpdataobjectb.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IComponentData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComponentData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComponentData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1072,7 +1072,7 @@ impl IComponentData2 { (::windows::core::Vtable::vtable(self).QueryDispatch)(::windows::core::Vtable::as_raw(self), cookie, r#type, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IComponentData2, ::windows::core::IUnknown, IComponentData); +::windows::imp::interface_hierarchy!(IComponentData2, ::windows::core::IUnknown, IComponentData); impl ::core::cmp::PartialEq for IComponentData2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1166,7 +1166,7 @@ impl IConsole { (::windows::core::Vtable::vtable(self).NewWindow)(::windows::core::Vtable::as_raw(self), hscopeitem, loptions).ok() } } -::windows::core::interface_hierarchy!(IConsole, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConsole, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConsole { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1290,7 +1290,7 @@ impl IConsole2 { (::windows::core::Vtable::vtable(self).SetStatusText)(::windows::core::Vtable::as_raw(self), pszstatustext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IConsole2, ::windows::core::IUnknown, IConsole); +::windows::imp::interface_hierarchy!(IConsole2, ::windows::core::IUnknown, IConsole); impl ::core::cmp::PartialEq for IConsole2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1406,7 +1406,7 @@ impl IConsole3 { (::windows::core::Vtable::vtable(self).RenameScopeItem)(::windows::core::Vtable::as_raw(self), hscopeitem).ok() } } -::windows::core::interface_hierarchy!(IConsole3, ::windows::core::IUnknown, IConsole, IConsole2); +::windows::imp::interface_hierarchy!(IConsole3, ::windows::core::IUnknown, IConsole, IConsole2); impl ::core::cmp::PartialEq for IConsole3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1467,7 +1467,7 @@ impl IConsoleNameSpace { (::windows::core::Vtable::vtable(self).GetParentItem)(::windows::core::Vtable::as_raw(self), item, pitemparent, pcookie).ok() } } -::windows::core::interface_hierarchy!(IConsoleNameSpace, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConsoleNameSpace, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConsoleNameSpace { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1549,7 +1549,7 @@ impl IConsoleNameSpace2 { (::windows::core::Vtable::vtable(self).AddExtension)(::windows::core::Vtable::as_raw(self), hitem, lpclsid).ok() } } -::windows::core::interface_hierarchy!(IConsoleNameSpace2, ::windows::core::IUnknown, IConsoleNameSpace); +::windows::imp::interface_hierarchy!(IConsoleNameSpace2, ::windows::core::IUnknown, IConsoleNameSpace); impl ::core::cmp::PartialEq for IConsoleNameSpace2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1590,7 +1590,7 @@ impl IConsolePower { (::windows::core::Vtable::vtable(self).ResetIdleTimer)(::windows::core::Vtable::as_raw(self), dwflags).ok() } } -::windows::core::interface_hierarchy!(IConsolePower, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConsolePower, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConsolePower { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1634,7 +1634,7 @@ impl IConsolePowerSink { (::windows::core::Vtable::vtable(self).OnPowerBroadcast)(::windows::core::Vtable::as_raw(self), nevent, lparam.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConsolePowerSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConsolePowerSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConsolePowerSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1692,7 +1692,7 @@ impl IConsoleVerb { (::windows::core::Vtable::vtable(self).GetDefaultVerb)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConsoleVerb, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConsoleVerb, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConsoleVerb { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1738,7 +1738,7 @@ impl IContextMenuCallback { (::windows::core::Vtable::vtable(self).AddItem)(::windows::core::Vtable::as_raw(self), pitem).ok() } } -::windows::core::interface_hierarchy!(IContextMenuCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextMenuCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextMenuCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1775,7 +1775,7 @@ impl IContextMenuCallback2 { (::windows::core::Vtable::vtable(self).AddItem)(::windows::core::Vtable::as_raw(self), pitem).ok() } } -::windows::core::interface_hierarchy!(IContextMenuCallback2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextMenuCallback2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextMenuCallback2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1841,7 +1841,7 @@ impl IContextMenuProvider { (::windows::core::Vtable::vtable(self).ShowContextMenu)(::windows::core::Vtable::as_raw(self), hwndparent.into(), xpos, ypos, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContextMenuProvider, ::windows::core::IUnknown, IContextMenuCallback); +::windows::imp::interface_hierarchy!(IContextMenuProvider, ::windows::core::IUnknown, IContextMenuCallback); impl ::core::cmp::PartialEq for IContextMenuProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1906,7 +1906,7 @@ impl IControlbar { (::windows::core::Vtable::vtable(self).Detach)(::windows::core::Vtable::as_raw(self), lpunknown.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IControlbar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IControlbar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IControlbar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1948,7 +1948,7 @@ impl IDisplayHelp { (::windows::core::Vtable::vtable(self).ShowTopic)(::windows::core::Vtable::as_raw(self), pszhelptopic.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDisplayHelp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDisplayHelp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDisplayHelp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1995,7 +1995,7 @@ impl IEnumTASK { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumTASK, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTASK, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTASK { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2049,7 +2049,7 @@ impl IExtendContextMenu { (::windows::core::Vtable::vtable(self).Command)(::windows::core::Vtable::as_raw(self), lcommandid, pidataobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IExtendContextMenu, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtendContextMenu, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtendContextMenu { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2105,7 +2105,7 @@ impl IExtendControlbar { (::windows::core::Vtable::vtable(self).ControlbarNotify)(::windows::core::Vtable::as_raw(self), event, arg.into(), param2.into()).ok() } } -::windows::core::interface_hierarchy!(IExtendControlbar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtendControlbar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtendControlbar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2160,7 +2160,7 @@ impl IExtendPropertySheet { (::windows::core::Vtable::vtable(self).QueryPagesFor)(::windows::core::Vtable::as_raw(self), lpdataobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IExtendPropertySheet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtendPropertySheet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtendPropertySheet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2226,7 +2226,7 @@ impl IExtendPropertySheet2 { (::windows::core::Vtable::vtable(self).GetWatermarks)(::windows::core::Vtable::as_raw(self), lpidataobject.into().abi(), lphwatermark, lphheader, lphpalette, bstretch).ok() } } -::windows::core::interface_hierarchy!(IExtendPropertySheet2, ::windows::core::IUnknown, IExtendPropertySheet); +::windows::imp::interface_hierarchy!(IExtendPropertySheet2, ::windows::core::IUnknown, IExtendPropertySheet); impl ::core::cmp::PartialEq for IExtendPropertySheet2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2309,7 +2309,7 @@ impl IExtendTaskPad { (::windows::core::Vtable::vtable(self).GetListPadInfo)(::windows::core::Vtable::as_raw(self), pszgroup.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExtendTaskPad, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtendTaskPad, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtendTaskPad { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2363,7 +2363,7 @@ impl IExtendView { (::windows::core::Vtable::vtable(self).GetViews)(::windows::core::Vtable::as_raw(self), pdataobject.into().abi(), pviewextensioncallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IExtendView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtendView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtendView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2426,7 +2426,7 @@ impl IHeaderCtrl { (::windows::core::Vtable::vtable(self).GetColumnWidth)(::windows::core::Vtable::as_raw(self), ncol, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHeaderCtrl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHeaderCtrl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHeaderCtrl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2500,7 +2500,7 @@ impl IHeaderCtrl2 { (::windows::core::Vtable::vtable(self).GetColumnFilter)(::windows::core::Vtable::as_raw(self), ncolumn, pdwtype, pfilterdata).ok() } } -::windows::core::interface_hierarchy!(IHeaderCtrl2, ::windows::core::IUnknown, IHeaderCtrl); +::windows::imp::interface_hierarchy!(IHeaderCtrl2, ::windows::core::IUnknown, IHeaderCtrl); impl ::core::cmp::PartialEq for IHeaderCtrl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2547,7 +2547,7 @@ impl IImageList { (::windows::core::Vtable::vtable(self).ImageListSetStrip)(::windows::core::Vtable::as_raw(self), pbmapsm, pbmaplg, nstartloc, cmask.into()).ok() } } -::windows::core::interface_hierarchy!(IImageList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IImageList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IImageList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2588,7 +2588,7 @@ impl IMMCVersionInfo { (::windows::core::Vtable::vtable(self).GetMMCVersion)(::windows::core::Vtable::as_raw(self), pversionmajor, pversionminor).ok() } } -::windows::core::interface_hierarchy!(IMMCVersionInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMMCVersionInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMMCVersionInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2644,7 +2644,7 @@ impl IMenuButton { (::windows::core::Vtable::vtable(self).SetButtonState)(::windows::core::Vtable::as_raw(self), idcommand, nstate, bstate.into()).ok() } } -::windows::core::interface_hierarchy!(IMenuButton, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMenuButton, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMenuButton { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2701,7 +2701,7 @@ impl IMessageView { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMessageView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMessageView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMessageView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2747,7 +2747,7 @@ impl INodeProperties { (::windows::core::Vtable::vtable(self).GetProperty)(::windows::core::Vtable::as_raw(self), pdataobject.into().abi(), ::core::mem::transmute_copy(szpropertyname), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(INodeProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INodeProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INodeProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2800,7 +2800,7 @@ impl IPropertySheetCallback { (::windows::core::Vtable::vtable(self).RemovePage)(::windows::core::Vtable::as_raw(self), hpage.into()).ok() } } -::windows::core::interface_hierarchy!(IPropertySheetCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertySheetCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertySheetCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2876,7 +2876,7 @@ impl IPropertySheetProvider { (::windows::core::Vtable::vtable(self).Show)(::windows::core::Vtable::as_raw(self), window, page).ok() } } -::windows::core::interface_hierarchy!(IPropertySheetProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertySheetProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertySheetProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2934,7 +2934,7 @@ impl IRequiredExtensions { (::windows::core::Vtable::vtable(self).GetNextExtension)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRequiredExtensions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRequiredExtensions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRequiredExtensions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3038,7 +3038,7 @@ impl IResultData { (::windows::core::Vtable::vtable(self).SetItemCount)(::windows::core::Vtable::as_raw(self), nitemcount, dwoptions).ok() } } -::windows::core::interface_hierarchy!(IResultData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResultData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResultData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3175,7 +3175,7 @@ impl IResultData2 { (::windows::core::Vtable::vtable(self).RenameResultItem)(::windows::core::Vtable::as_raw(self), itemid).ok() } } -::windows::core::interface_hierarchy!(IResultData2, ::windows::core::IUnknown, IResultData); +::windows::imp::interface_hierarchy!(IResultData2, ::windows::core::IUnknown, IResultData); impl ::core::cmp::PartialEq for IResultData2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3217,7 +3217,7 @@ impl IResultDataCompare { (::windows::core::Vtable::vtable(self).Compare)(::windows::core::Vtable::as_raw(self), luserparam.into(), cookiea, cookieb, pnresult).ok() } } -::windows::core::interface_hierarchy!(IResultDataCompare, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResultDataCompare, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResultDataCompare { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3260,7 +3260,7 @@ impl IResultDataCompareEx { (::windows::core::Vtable::vtable(self).Compare)(::windows::core::Vtable::as_raw(self), prdc, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IResultDataCompareEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResultDataCompareEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResultDataCompareEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3312,7 +3312,7 @@ impl IResultOwnerData { (::windows::core::Vtable::vtable(self).SortItems)(::windows::core::Vtable::as_raw(self), ncolumn, dwsortoptions, luserparam.into()).ok() } } -::windows::core::interface_hierarchy!(IResultOwnerData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResultOwnerData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResultOwnerData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3374,7 +3374,7 @@ impl ISnapinAbout { (::windows::core::Vtable::vtable(self).GetStaticFolderImage)(::windows::core::Vtable::as_raw(self), hsmallimage, hsmallimageopen, hlargeimage, cmask).ok() } } -::windows::core::interface_hierarchy!(ISnapinAbout, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISnapinAbout, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISnapinAbout { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3422,7 +3422,7 @@ impl ISnapinHelp { (::windows::core::Vtable::vtable(self).GetHelpTopic)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISnapinHelp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISnapinHelp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISnapinHelp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3464,7 +3464,7 @@ impl ISnapinHelp2 { (::windows::core::Vtable::vtable(self).GetLinkedTopics)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISnapinHelp2, ::windows::core::IUnknown, ISnapinHelp); +::windows::imp::interface_hierarchy!(ISnapinHelp2, ::windows::core::IUnknown, ISnapinHelp); impl ::core::cmp::PartialEq for ISnapinHelp2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3517,7 +3517,7 @@ impl ISnapinProperties { (::windows::core::Vtable::vtable(self).PropertiesChanged)(::windows::core::Vtable::as_raw(self), pproperties.len() as _, ::core::mem::transmute(pproperties.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ISnapinProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISnapinProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISnapinProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3565,7 +3565,7 @@ impl ISnapinPropertiesCallback { (::windows::core::Vtable::vtable(self).AddPropertyName)(::windows::core::Vtable::as_raw(self), pszpropname.into().abi(), dwflags).ok() } } -::windows::core::interface_hierarchy!(ISnapinPropertiesCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISnapinPropertiesCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISnapinPropertiesCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3632,7 +3632,7 @@ impl IStringTable { (::windows::core::Vtable::vtable(self).Enumerate)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStringTable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStringTable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStringTable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3707,7 +3707,7 @@ impl IToolbar { (::windows::core::Vtable::vtable(self).SetButtonState)(::windows::core::Vtable::as_raw(self), idcommand, nstate, bstate.into()).ok() } } -::windows::core::interface_hierarchy!(IToolbar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IToolbar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IToolbar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3760,7 +3760,7 @@ impl IViewExtensionCallback { (::windows::core::Vtable::vtable(self).AddView)(::windows::core::Vtable::as_raw(self), pextviewdata).ok() } } -::windows::core::interface_hierarchy!(IViewExtensionCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IViewExtensionCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IViewExtensionCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3825,7 +3825,7 @@ impl MenuItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(MenuItem, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(MenuItem, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for MenuItem { fn eq(&self, other: &Self) -> bool { @@ -3899,7 +3899,7 @@ impl Node { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Node, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Node, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Node { fn eq(&self, other: &Self) -> bool { @@ -3964,7 +3964,7 @@ impl Nodes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Nodes, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Nodes, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Nodes { fn eq(&self, other: &Self) -> bool { @@ -4030,7 +4030,7 @@ impl Properties { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Properties, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Properties, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Properties { fn eq(&self, other: &Self) -> bool { @@ -4095,7 +4095,7 @@ impl Property { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Property, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Property, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Property { fn eq(&self, other: &Self) -> bool { @@ -4188,7 +4188,7 @@ impl ScopeNamespace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ScopeNamespace, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ScopeNamespace, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ScopeNamespace { fn eq(&self, other: &Self) -> bool { @@ -4287,7 +4287,7 @@ impl SnapIn { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(SnapIn, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(SnapIn, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for SnapIn { fn eq(&self, other: &Self) -> bool { @@ -4374,7 +4374,7 @@ impl SnapIns { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(SnapIns, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(SnapIns, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for SnapIns { fn eq(&self, other: &Self) -> bool { @@ -4645,7 +4645,7 @@ impl View { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(View, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(View, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for View { fn eq(&self, other: &Self) -> bool { @@ -4827,7 +4827,7 @@ impl Views { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Views, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(Views, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Views { fn eq(&self, other: &Self) -> bool { @@ -4976,7 +4976,7 @@ impl _AppEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_AppEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(_AppEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _AppEvents { fn eq(&self, other: &Self) -> bool { @@ -5119,7 +5119,7 @@ impl _Application { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_Application, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(_Application, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _Application { fn eq(&self, other: &Self) -> bool { @@ -5200,7 +5200,7 @@ impl _EventConnector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_EventConnector, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(_EventConnector, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _EventConnector { fn eq(&self, other: &Self) -> bool { 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 6515e9c077..706833c449 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn BstrFromVector(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn BstrFromVector ( psa : *const super::Com:: SAFEARRAY , pbstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn BstrFromVector ( psa : *const super::Com:: SAFEARRAY , pbstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); BstrFromVector(psa, &mut result__).from_abi(result__) } @@ -10,27 +10,27 @@ pub unsafe fn BstrFromVector(psa: *const super::Com::SAFEARRAY) -> ::windows::co #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn ClearCustData(pcustdata: *mut super::Com::CUSTDATA) { - ::windows::core::link ! ( "oleaut32.dll""system" fn ClearCustData ( pcustdata : *mut super::Com:: CUSTDATA ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn ClearCustData ( pcustdata : *mut super::Com:: CUSTDATA ) -> ( ) ); ClearCustData(pcustdata) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn CreateDispTypeInfo(pidata: *mut INTERFACEDATA, lcid: u32, pptinfo: *mut ::core::option::Option) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn CreateDispTypeInfo ( pidata : *mut INTERFACEDATA , lcid : u32 , pptinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn CreateDispTypeInfo ( pidata : *mut INTERFACEDATA , lcid : u32 , pptinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateDispTypeInfo(pidata, lcid, ::core::mem::transmute(pptinfo)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn CreateErrorInfo() -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn CreateErrorInfo ( pperrinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn CreateErrorInfo ( pperrinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateErrorInfo(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn CreateOleAdviseHolder() -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CreateOleAdviseHolder ( ppoaholder : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CreateOleAdviseHolder ( ppoaholder : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateOleAdviseHolder(&mut result__).from_abi(result__) } @@ -42,7 +42,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn CreateStdDispatch ( punkouter : * mut::core::ffi::c_void , pvthis : *mut ::core::ffi::c_void , ptinfo : * mut::core::ffi::c_void , ppunkstddisp : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn CreateStdDispatch ( punkouter : * mut::core::ffi::c_void , pvthis : *mut ::core::ffi::c_void , ptinfo : * mut::core::ffi::c_void , ppunkstddisp : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateStdDispatch(punkouter.into().abi(), pvthis, ptinfo.into().abi(), ::core::mem::transmute(ppunkstddisp)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -52,7 +52,7 @@ pub unsafe fn CreateTypeLib(syskind: super::Com::SYSKIND, szfile: P0) -> ::w where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn CreateTypeLib ( syskind : super::Com:: SYSKIND , szfile : :: windows::core::PCWSTR , ppctlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn CreateTypeLib ( syskind : super::Com:: SYSKIND , szfile : :: windows::core::PCWSTR , ppctlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateTypeLib(syskind, szfile.into().abi(), &mut result__).from_abi(result__) } @@ -63,7 +63,7 @@ pub unsafe fn CreateTypeLib2(syskind: super::Com::SYSKIND, szfile: P0) -> :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn CreateTypeLib2 ( syskind : super::Com:: SYSKIND , szfile : :: windows::core::PCWSTR , ppctlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn CreateTypeLib2 ( syskind : super::Com:: SYSKIND , szfile : :: windows::core::PCWSTR , ppctlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateTypeLib2(syskind, szfile.into().abi(), &mut result__).from_abi(result__) } @@ -71,7 +71,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn DispCallFunc(pvinstance: ::core::option::Option<*const ::core::ffi::c_void>, ovft: usize, cc: super::Com::CALLCONV, vtreturn: super::Com::VARENUM, cactuals: u32, prgvt: *const u16, prgpvarg: *const *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn DispCallFunc ( pvinstance : *const ::core::ffi::c_void , ovft : usize , cc : super::Com:: CALLCONV , vtreturn : super::Com:: VARENUM , cactuals : u32 , prgvt : *const u16 , prgpvarg : *const *const super::Com:: VARIANT , pvargresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn DispCallFunc ( pvinstance : *const ::core::ffi::c_void , ovft : usize , cc : super::Com:: CALLCONV , vtreturn : super::Com:: VARENUM , cactuals : u32 , prgvt : *const u16 , prgpvarg : *const *const super::Com:: VARIANT , pvargresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); DispCallFunc(::core::mem::transmute(pvinstance.unwrap_or(::std::ptr::null())), ovft, cc, vtreturn, cactuals, prgvt, prgpvarg, &mut result__).from_abi(result__) } @@ -82,14 +82,14 @@ pub unsafe fn DispGetIDsOfNames(ptinfo: P0, rgsznames: *const ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn DispGetIDsOfNames ( ptinfo : * mut::core::ffi::c_void , rgsznames : *const :: windows::core::PCWSTR , cnames : u32 , rgdispid : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn DispGetIDsOfNames ( ptinfo : * mut::core::ffi::c_void , rgsznames : *const :: windows::core::PCWSTR , cnames : u32 , rgdispid : *mut i32 ) -> :: windows::core::HRESULT ); DispGetIDsOfNames(ptinfo.into().abi(), rgsznames, cnames, rgdispid).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn DispGetParam(pdispparams: *const super::Com::DISPPARAMS, position: u32, vttarg: super::Com::VARENUM, pvarresult: *mut super::Com::VARIANT, puargerr: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn DispGetParam ( pdispparams : *const super::Com:: DISPPARAMS , position : u32 , vttarg : super::Com:: VARENUM , pvarresult : *mut super::Com:: VARIANT , puargerr : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn DispGetParam ( pdispparams : *const super::Com:: DISPPARAMS , position : u32 , vttarg : super::Com:: VARENUM , pvarresult : *mut super::Com:: VARIANT , puargerr : *mut u32 ) -> :: windows::core::HRESULT ); DispGetParam(pdispparams, position, vttarg, pvarresult, ::core::mem::transmute(puargerr.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -99,7 +99,7 @@ pub unsafe fn DispInvoke(_this: *mut ::core::ffi::c_void, ptinfo: P0, dispid where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn DispInvoke ( _this : *mut ::core::ffi::c_void , ptinfo : * mut::core::ffi::c_void , dispidmember : i32 , wflags : u16 , pparams : *mut super::Com:: DISPPARAMS , pvarresult : *mut super::Com:: VARIANT , pexcepinfo : *mut super::Com:: EXCEPINFO , puargerr : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn DispInvoke ( _this : *mut ::core::ffi::c_void , ptinfo : * mut::core::ffi::c_void , dispidmember : i32 , wflags : u16 , pparams : *mut super::Com:: DISPPARAMS , pvarresult : *mut super::Com:: VARIANT , pexcepinfo : *mut super::Com:: EXCEPINFO , puargerr : *mut u32 ) -> :: windows::core::HRESULT ); DispInvoke(_this, ptinfo.into().abi(), dispidmember, wflags, pparams, pvarresult, pexcepinfo, puargerr).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -110,32 +110,32 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn DoDragDrop ( pdataobj : * mut::core::ffi::c_void , pdropsource : * mut::core::ffi::c_void , dwokeffects : DROPEFFECT , pdweffect : *mut DROPEFFECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn DoDragDrop ( pdataobj : * mut::core::ffi::c_void , pdropsource : * mut::core::ffi::c_void , dwokeffects : DROPEFFECT , pdweffect : *mut DROPEFFECT ) -> :: windows::core::HRESULT ); DoDragDrop(pdataobj.into().abi(), pdropsource.into().abi(), dwokeffects, pdweffect) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn DosDateTimeToVariantTime(wdosdate: u16, wdostime: u16, pvtime: *mut f64) -> i32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn DosDateTimeToVariantTime ( wdosdate : u16 , wdostime : u16 , pvtime : *mut f64 ) -> i32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn DosDateTimeToVariantTime ( wdosdate : u16 , wdostime : u16 , pvtime : *mut f64 ) -> i32 ); DosDateTimeToVariantTime(wdosdate, wdostime, pvtime) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn GetActiveObject(rclsid: *const ::windows::core::GUID, pvreserved: *mut ::core::ffi::c_void, ppunk: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn GetActiveObject ( rclsid : *const :: windows::core::GUID , pvreserved : *mut ::core::ffi::c_void , ppunk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn GetActiveObject ( rclsid : *const :: windows::core::GUID , pvreserved : *mut ::core::ffi::c_void , ppunk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); GetActiveObject(rclsid, pvreserved, ::core::mem::transmute(ppunk)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn GetAltMonthNames(lcid: u32) -> ::windows::core::Result<*mut ::windows::core::PWSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn GetAltMonthNames ( lcid : u32 , prgp : *mut *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn GetAltMonthNames ( lcid : u32 , prgp : *mut *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut ::windows::core::PWSTR>(); GetAltMonthNames(lcid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn GetRecordInfoFromGuids(rguidtypelib: *const ::windows::core::GUID, uvermajor: u32, uverminor: u32, lcid: u32, rguidtypeinfo: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn GetRecordInfoFromGuids ( rguidtypelib : *const :: windows::core::GUID , uvermajor : u32 , uverminor : u32 , lcid : u32 , rguidtypeinfo : *const :: windows::core::GUID , pprecinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn GetRecordInfoFromGuids ( rguidtypelib : *const :: windows::core::GUID , uvermajor : u32 , uverminor : u32 , lcid : u32 , rguidtypeinfo : *const :: windows::core::GUID , pprecinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetRecordInfoFromGuids(rguidtypelib, uvermajor, uverminor, lcid, rguidtypeinfo, &mut result__).from_abi(result__) } @@ -146,7 +146,7 @@ pub unsafe fn GetRecordInfoFromTypeInfo(ptypeinfo: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn GetRecordInfoFromTypeInfo ( ptypeinfo : * mut::core::ffi::c_void , pprecinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn GetRecordInfoFromTypeInfo ( ptypeinfo : * mut::core::ffi::c_void , pprecinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetRecordInfoFromTypeInfo(ptypeinfo.into().abi(), &mut result__).from_abi(result__) } @@ -154,56 +154,56 @@ where #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HRGN_UserFree(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN) { - ::windows::core::link ! ( "ole32.dll""system" fn HRGN_UserFree ( param0 : *const u32 , param1 : *const super::super::Graphics::Gdi:: HRGN ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HRGN_UserFree ( param0 : *const u32 , param1 : *const super::super::Graphics::Gdi:: HRGN ) -> ( ) ); HRGN_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HRGN_UserFree64(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN) { - ::windows::core::link ! ( "api-ms-win-core-marshal-l1-1-0.dll""system" fn HRGN_UserFree64 ( param0 : *const u32 , param1 : *const super::super::Graphics::Gdi:: HRGN ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-marshal-l1-1-0.dll""system" fn HRGN_UserFree64 ( param0 : *const u32 , param1 : *const super::super::Graphics::Gdi:: HRGN ) -> ( ) ); HRGN_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HRGN_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HRGN_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::Graphics::Gdi:: HRGN ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HRGN_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::Graphics::Gdi:: HRGN ) -> *mut u8 ); HRGN_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HRGN_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8 { - ::windows::core::link ! ( "api-ms-win-core-marshal-l1-1-0.dll""system" fn HRGN_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::Graphics::Gdi:: HRGN ) -> *mut u8 ); + ::windows::imp::link ! ( "api-ms-win-core-marshal-l1-1-0.dll""system" fn HRGN_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::Graphics::Gdi:: HRGN ) -> *mut u8 ); HRGN_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HRGN_UserSize(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HRGN_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::Graphics::Gdi:: HRGN ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HRGN_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::Graphics::Gdi:: HRGN ) -> u32 ); HRGN_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HRGN_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-marshal-l1-1-0.dll""system" fn HRGN_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::Graphics::Gdi:: HRGN ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-marshal-l1-1-0.dll""system" fn HRGN_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::Graphics::Gdi:: HRGN ) -> u32 ); HRGN_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HRGN_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HRGN_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::Graphics::Gdi:: HRGN ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HRGN_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::Graphics::Gdi:: HRGN ) -> *mut u8 ); HRGN_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HRGN_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8 { - ::windows::core::link ! ( "api-ms-win-core-marshal-l1-1-0.dll""system" fn HRGN_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::Graphics::Gdi:: HRGN ) -> *mut u8 ); + ::windows::imp::link ! ( "api-ms-win-core-marshal-l1-1-0.dll""system" fn HRGN_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::Graphics::Gdi:: HRGN ) -> *mut u8 ); HRGN_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -213,7 +213,7 @@ pub unsafe fn IsAccelerator(haccel: P0, caccelentries: i32, lpmsg: *const su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn IsAccelerator ( haccel : super::super::UI::WindowsAndMessaging:: HACCEL , caccelentries : i32 , lpmsg : *const super::super::UI::WindowsAndMessaging:: MSG , lpwcmd : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ole32.dll""system" fn IsAccelerator ( haccel : super::super::UI::WindowsAndMessaging:: HACCEL , caccelentries : i32 , lpmsg : *const super::super::UI::WindowsAndMessaging:: MSG , lpwcmd : *mut u16 ) -> super::super::Foundation:: BOOL ); IsAccelerator(haccel.into(), caccelentries, lpmsg, lpwcmd) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -223,7 +223,7 @@ pub unsafe fn LHashValOfNameSys(syskind: super::Com::SYSKIND, lcid: u32, szn where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn LHashValOfNameSys ( syskind : super::Com:: SYSKIND , lcid : u32 , szname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LHashValOfNameSys ( syskind : super::Com:: SYSKIND , lcid : u32 , szname : :: windows::core::PCWSTR ) -> u32 ); LHashValOfNameSys(syskind, lcid, szname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -233,14 +233,14 @@ pub unsafe fn LHashValOfNameSysA(syskind: super::Com::SYSKIND, lcid: u32, sz where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn LHashValOfNameSysA ( syskind : super::Com:: SYSKIND , lcid : u32 , szname : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LHashValOfNameSysA ( syskind : super::Com:: SYSKIND , lcid : u32 , szname : :: windows::core::PCSTR ) -> u32 ); LHashValOfNameSysA(syskind, lcid, szname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn LoadRegTypeLib(rguid: *const ::windows::core::GUID, wvermajor: u16, wverminor: u16, lcid: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn LoadRegTypeLib ( rguid : *const :: windows::core::GUID , wvermajor : u16 , wverminor : u16 , lcid : u32 , pptlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LoadRegTypeLib ( rguid : *const :: windows::core::GUID , wvermajor : u16 , wverminor : u16 , lcid : u32 , pptlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); LoadRegTypeLib(rguid, wvermajor, wverminor, lcid, &mut result__).from_abi(result__) } @@ -251,7 +251,7 @@ pub unsafe fn LoadTypeLib(szfile: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn LoadTypeLib ( szfile : :: windows::core::PCWSTR , pptlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LoadTypeLib ( szfile : :: windows::core::PCWSTR , pptlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); LoadTypeLib(szfile.into().abi(), &mut result__).from_abi(result__) } @@ -262,26 +262,26 @@ pub unsafe fn LoadTypeLibEx(szfile: P0, regkind: REGKIND) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn LoadTypeLibEx ( szfile : :: windows::core::PCWSTR , regkind : REGKIND , pptlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn LoadTypeLibEx ( szfile : :: windows::core::PCWSTR , regkind : REGKIND , pptlib : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); LoadTypeLibEx(szfile.into().abi(), regkind, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OaBuildVersion() -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn OaBuildVersion ( ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OaBuildVersion ( ) -> u32 ); OaBuildVersion() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OaEnablePerUserTLibRegistration() { - ::windows::core::link ! ( "oleaut32.dll""system" fn OaEnablePerUserTLibRegistration ( ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OaEnablePerUserTLibRegistration ( ) -> ( ) ); OaEnablePerUserTLibRegistration() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleBuildVersion() -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn OleBuildVersion ( ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleBuildVersion ( ) -> u32 ); OleBuildVersion() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -292,7 +292,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreate ( rclsid : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , renderopt : OLERENDER , pformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreate ( rclsid : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , renderopt : OLERENDER , pformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreate(rclsid, riid, renderopt, pformatetc, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -301,7 +301,7 @@ pub unsafe fn OleCreateDefaultHandler(clsid: *const ::windows::core::GUID, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateDefaultHandler ( clsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , lplpobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateDefaultHandler ( clsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , lplpobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateDefaultHandler(clsid, punkouter.into().abi(), riid, lplpobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -312,7 +312,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateEmbeddingHelper ( clsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , flags : EMBDHLP_FLAGS , pcf : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , lplpobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateEmbeddingHelper ( clsid : *const :: windows::core::GUID , punkouter : * mut::core::ffi::c_void , flags : EMBDHLP_FLAGS , pcf : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , lplpobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateEmbeddingHelper(clsid, punkouter.into().abi(), flags, pcf.into().abi(), riid, lplpobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -324,14 +324,14 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateEx ( rclsid : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateEx ( rclsid : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateEx(rclsid, riid, dwflags, renderopt, cformats, rgadvf, rgformatetc, lpadvisesink.into().abi(), rgdwconnection, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn OleCreateFontIndirect(lpfontdesc: *const FONTDESC, riid: *const ::windows::core::GUID, lplpvobj: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleCreateFontIndirect ( lpfontdesc : *const FONTDESC , riid : *const :: windows::core::GUID , lplpvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleCreateFontIndirect ( lpfontdesc : *const FONTDESC , riid : *const :: windows::core::GUID , lplpvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateFontIndirect(lpfontdesc, riid, lplpvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -343,7 +343,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateFromData ( psrcdataobj : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , renderopt : OLERENDER , pformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateFromData ( psrcdataobj : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , renderopt : OLERENDER , pformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateFromData(psrcdataobj.into().abi(), riid, renderopt, pformatetc, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -356,7 +356,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateFromDataEx ( psrcdataobj : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateFromDataEx ( psrcdataobj : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateFromDataEx(psrcdataobj.into().abi(), riid, dwflags, renderopt, cformats, rgadvf, rgformatetc, lpadvisesink.into().abi(), rgdwconnection, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -368,7 +368,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateFromFile ( rclsid : *const :: windows::core::GUID , lpszfilename : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , renderopt : OLERENDER , lpformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateFromFile ( rclsid : *const :: windows::core::GUID , lpszfilename : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , renderopt : OLERENDER , lpformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateFromFile(rclsid, lpszfilename.into().abi(), riid, renderopt, lpformatetc, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -381,7 +381,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateFromFileEx ( rclsid : *const :: windows::core::GUID , lpszfilename : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateFromFileEx ( rclsid : *const :: windows::core::GUID , lpszfilename : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateFromFileEx(rclsid, lpszfilename.into().abi(), riid, dwflags, renderopt, cformats, rgadvf, rgformatetc, lpadvisesink.into().abi(), rgdwconnection, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -393,7 +393,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateLink ( pmklinksrc : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , renderopt : OLERENDER , lpformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateLink ( pmklinksrc : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , renderopt : OLERENDER , lpformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateLink(pmklinksrc.into().abi(), riid, renderopt, lpformatetc, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -406,7 +406,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateLinkEx ( pmklinksrc : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateLinkEx ( pmklinksrc : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateLinkEx(pmklinksrc.into().abi(), riid, dwflags, renderopt, cformats, rgadvf, rgformatetc, lpadvisesink.into().abi(), rgdwconnection, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -418,7 +418,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateLinkFromData ( psrcdataobj : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , renderopt : OLERENDER , pformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateLinkFromData ( psrcdataobj : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , renderopt : OLERENDER , pformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateLinkFromData(psrcdataobj.into().abi(), riid, renderopt, pformatetc, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -431,7 +431,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateLinkFromDataEx ( psrcdataobj : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateLinkFromDataEx ( psrcdataobj : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateLinkFromDataEx(psrcdataobj.into().abi(), riid, dwflags, renderopt, cformats, rgadvf, rgformatetc, lpadvisesink.into().abi(), rgdwconnection, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -443,7 +443,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateLinkToFile ( lpszfilename : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , renderopt : OLERENDER , lpformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateLinkToFile ( lpszfilename : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , renderopt : OLERENDER , lpformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateLinkToFile(lpszfilename.into().abi(), riid, renderopt, lpformatetc, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -456,7 +456,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateLinkToFileEx ( lpszfilename : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateLinkToFileEx ( lpszfilename : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , dwflags : OLECREATE , renderopt : OLERENDER , cformats : u32 , rgadvf : *const u32 , rgformatetc : *const super::Com:: FORMATETC , lpadvisesink : * mut::core::ffi::c_void , rgdwconnection : *mut u32 , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateLinkToFileEx(lpszfilename.into().abi(), riid, dwflags, renderopt, cformats, rgadvf, rgformatetc, lpadvisesink.into().abi(), rgdwconnection, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -466,7 +466,7 @@ pub unsafe fn OleCreateMenuDescriptor(hmenucombined: P0, lpmenuwidths: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateMenuDescriptor ( hmenucombined : super::super::UI::WindowsAndMessaging:: HMENU , lpmenuwidths : *const OLEMENUGROUPWIDTHS ) -> isize ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateMenuDescriptor ( hmenucombined : super::super::UI::WindowsAndMessaging:: HMENU , lpmenuwidths : *const OLEMENUGROUPWIDTHS ) -> isize ); OleCreateMenuDescriptor(hmenucombined.into(), lpmenuwidths) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -477,7 +477,7 @@ where P0: ::std::convert::Into, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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(), &mut result__).from_abi(result__) } @@ -489,14 +489,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleCreatePropertyFrame ( hwndowner : super::super::Foundation:: HWND , x : u32 , y : u32 , lpszcaption : :: windows::core::PCWSTR , cobjects : u32 , ppunk : *const * mut::core::ffi::c_void , cpages : u32 , ppageclsid : *const :: windows::core::GUID , lcid : u32 , dwreserved : u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleCreatePropertyFrame ( hwndowner : super::super::Foundation:: HWND , x : u32 , y : u32 , lpszcaption : :: windows::core::PCWSTR , cobjects : u32 , ppunk : *const * mut::core::ffi::c_void , cpages : u32 , ppageclsid : *const :: windows::core::GUID , lcid : u32 , dwreserved : u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreatePropertyFrame(hwndowner.into(), x, y, lpszcaption.into().abi(), cobjects, ::core::mem::transmute(ppunk), cpages, ppageclsid, lcid, dwreserved, pvreserved).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OleCreatePropertyFrameIndirect(lpparams: *const OCPFIPARAMS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleCreatePropertyFrameIndirect ( lpparams : *const OCPFIPARAMS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleCreatePropertyFrameIndirect ( lpparams : *const OCPFIPARAMS ) -> :: windows::core::HRESULT ); OleCreatePropertyFrameIndirect(lpparams).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -508,13 +508,13 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleCreateStaticFromData ( psrcdataobj : * mut::core::ffi::c_void , iid : *const :: windows::core::GUID , renderopt : OLERENDER , pformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleCreateStaticFromData ( psrcdataobj : * mut::core::ffi::c_void , iid : *const :: windows::core::GUID , renderopt : OLERENDER , pformatetc : *const super::Com:: FORMATETC , pclientsite : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleCreateStaticFromData(psrcdataobj.into().abi(), iid, renderopt, pformatetc, pclientsite.into().abi(), pstg.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleDestroyMenuDescriptor(holemenu: isize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn OleDestroyMenuDescriptor ( holemenu : isize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleDestroyMenuDescriptor ( holemenu : isize ) -> :: windows::core::HRESULT ); OleDestroyMenuDescriptor(holemenu).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -524,7 +524,7 @@ pub unsafe fn OleDoAutoConvert(pstg: P0) -> ::windows::core::Result<::window where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleDoAutoConvert ( pstg : * mut::core::ffi::c_void , pclsidnew : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleDoAutoConvert ( pstg : * mut::core::ffi::c_void , pclsidnew : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); OleDoAutoConvert(pstg.into().abi(), &mut result__).from_abi(result__) } @@ -536,7 +536,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleDraw ( punknown : * mut::core::ffi::c_void , dwaspect : u32 , hdcdraw : super::super::Graphics::Gdi:: HDC , lprcbounds : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleDraw ( punknown : * mut::core::ffi::c_void , dwaspect : u32 , hdcdraw : super::super::Graphics::Gdi:: HDC , lprcbounds : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); OleDraw(punknown.into().abi(), dwaspect, hdcdraw.into(), lprcbounds).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Memory\"`*"] @@ -546,19 +546,19 @@ pub unsafe fn OleDuplicateData(hsrc: P0, cfformat: CLIPBOARD_FORMAT, uiflags where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleDuplicateData ( hsrc : super::super::Foundation:: HANDLE , cfformat : CLIPBOARD_FORMAT , uiflags : super::Memory:: GLOBAL_ALLOC_FLAGS ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleDuplicateData ( hsrc : super::super::Foundation:: HANDLE , cfformat : CLIPBOARD_FORMAT , uiflags : super::Memory:: GLOBAL_ALLOC_FLAGS ) -> super::super::Foundation:: HANDLE ); OleDuplicateData(hsrc.into(), cfformat, uiflags) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleFlushClipboard() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn OleFlushClipboard ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleFlushClipboard ( ) -> :: windows::core::HRESULT ); OleFlushClipboard().ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleGetAutoConvert(clsidold: *const ::windows::core::GUID) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "ole32.dll""system" fn OleGetAutoConvert ( clsidold : *const :: windows::core::GUID , pclsidnew : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleGetAutoConvert ( clsidold : *const :: windows::core::GUID , pclsidnew : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); OleGetAutoConvert(clsidold, &mut result__).from_abi(result__) } @@ -566,7 +566,7 @@ pub unsafe fn OleGetAutoConvert(clsidold: *const ::windows::core::GUID) -> ::win #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn OleGetClipboard() -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn OleGetClipboard ( ppdataobj : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleGetClipboard ( ppdataobj : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleGetClipboard(&mut result__).from_abi(result__) } @@ -574,7 +574,7 @@ pub unsafe fn OleGetClipboard() -> ::windows::core::Result, dataenterpriseid: *mut ::windows::core::PWSTR, sourcedescription: *mut ::windows::core::PWSTR, targetdescription: *mut ::windows::core::PWSTR, datadescription: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn OleGetClipboardWithEnterpriseInfo ( dataobject : *mut * mut::core::ffi::c_void , dataenterpriseid : *mut :: windows::core::PWSTR , sourcedescription : *mut :: windows::core::PWSTR , targetdescription : *mut :: windows::core::PWSTR , datadescription : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleGetClipboardWithEnterpriseInfo ( dataobject : *mut * mut::core::ffi::c_void , dataenterpriseid : *mut :: windows::core::PWSTR , sourcedescription : *mut :: windows::core::PWSTR , targetdescription : *mut :: windows::core::PWSTR , datadescription : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); OleGetClipboardWithEnterpriseInfo(::core::mem::transmute(dataobject), dataenterpriseid, sourcedescription, targetdescription, datadescription).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -585,7 +585,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleGetIconOfClass ( rclsid : *const :: windows::core::GUID , lpszlabel : :: windows::core::PCWSTR , fusetypeaslabel : super::super::Foundation:: BOOL ) -> isize ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleGetIconOfClass ( rclsid : *const :: windows::core::GUID , lpszlabel : :: windows::core::PCWSTR , fusetypeaslabel : super::super::Foundation:: BOOL ) -> isize ); OleGetIconOfClass(rclsid, lpszlabel.into().abi(), fusetypeaslabel.into()) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -596,7 +596,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleGetIconOfFile ( lpszpath : :: windows::core::PCWSTR , fusefileaslabel : super::super::Foundation:: BOOL ) -> isize ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleGetIconOfFile ( lpszpath : :: windows::core::PCWSTR , fusefileaslabel : super::super::Foundation:: BOOL ) -> isize ); OleGetIconOfFile(lpszpath.into().abi(), fusefileaslabel.into()) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -607,13 +607,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleIconToCursor ( hinstexe : super::super::Foundation:: HINSTANCE , hicon : super::super::UI::WindowsAndMessaging:: HICON ) -> super::super::UI::WindowsAndMessaging:: HCURSOR ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleIconToCursor ( hinstexe : super::super::Foundation:: HINSTANCE , hicon : super::super::UI::WindowsAndMessaging:: HICON ) -> super::super::UI::WindowsAndMessaging:: HCURSOR ); OleIconToCursor(hinstexe.into(), hicon.into()) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleInitialize(pvreserved: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn OleInitialize ( pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleInitialize ( pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleInitialize(pvreserved).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -623,7 +623,7 @@ pub unsafe fn OleIsCurrentClipboard(pdataobj: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleIsCurrentClipboard ( pdataobj : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleIsCurrentClipboard ( pdataobj : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleIsCurrentClipboard(pdataobj.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -633,7 +633,7 @@ pub unsafe fn OleIsRunning(pobject: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleIsRunning ( pobject : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleIsRunning ( pobject : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); OleIsRunning(pobject.into().abi()) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -644,7 +644,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleLoad ( pstg : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , pclientsite : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleLoad ( pstg : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , pclientsite : * mut::core::ffi::c_void , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleLoad(pstg.into().abi(), riid, pclientsite.into().abi(), ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -654,7 +654,7 @@ pub unsafe fn OleLoadFromStream(pstm: P0, iidinterface: *const ::windows::co where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleLoadFromStream ( pstm : * mut::core::ffi::c_void , iidinterface : *const :: windows::core::GUID , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleLoadFromStream ( pstm : * mut::core::ffi::c_void , iidinterface : *const :: windows::core::GUID , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleLoadFromStream(pstm.into().abi(), iidinterface, ppvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -665,7 +665,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleLoadPicture ( lpstream : * mut::core::ffi::c_void , lsize : i32 , frunmode : super::super::Foundation:: BOOL , riid : *const :: windows::core::GUID , lplpvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleLoadPicture ( lpstream : * mut::core::ffi::c_void , lsize : i32 , frunmode : super::super::Foundation:: BOOL , riid : *const :: windows::core::GUID , lplpvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleLoadPicture(lpstream.into().abi(), lsize, frunmode.into(), riid, lplpvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -676,14 +676,14 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleLoadPictureEx ( lpstream : * mut::core::ffi::c_void , lsize : i32 , frunmode : super::super::Foundation:: BOOL , riid : *const :: windows::core::GUID , xsizedesired : u32 , ysizedesired : u32 , dwflags : LOAD_PICTURE_FLAGS , lplpvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleLoadPictureEx ( lpstream : * mut::core::ffi::c_void , lsize : i32 , frunmode : super::super::Foundation:: BOOL , riid : *const :: windows::core::GUID , xsizedesired : u32 , ysizedesired : u32 , dwflags : LOAD_PICTURE_FLAGS , lplpvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleLoadPictureEx(lpstream.into().abi(), lsize, frunmode.into(), riid, xsizedesired, ysizedesired, dwflags, lplpvobj).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn OleLoadPictureFile(varfilename: super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleLoadPictureFile ( varfilename : super::Com:: VARIANT , lplpdisppicture : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleLoadPictureFile ( varfilename : super::Com:: VARIANT , lplpdisppicture : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleLoadPictureFile(::core::mem::transmute(varfilename), &mut result__).from_abi(result__) } @@ -691,7 +691,7 @@ pub unsafe fn OleLoadPictureFile(varfilename: super::Com::VARIANT) -> ::windows: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn OleLoadPictureFileEx(varfilename: super::Com::VARIANT, xsizedesired: u32, ysizedesired: u32, dwflags: LOAD_PICTURE_FLAGS) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleLoadPictureFileEx ( varfilename : super::Com:: VARIANT , xsizedesired : u32 , ysizedesired : u32 , dwflags : LOAD_PICTURE_FLAGS , lplpdisppicture : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleLoadPictureFileEx ( varfilename : super::Com:: VARIANT , xsizedesired : u32 , ysizedesired : u32 , dwflags : LOAD_PICTURE_FLAGS , lplpdisppicture : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleLoadPictureFileEx(::core::mem::transmute(varfilename), xsizedesired, ysizedesired, dwflags, &mut result__).from_abi(result__) } @@ -702,7 +702,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleLoadPicturePath ( szurlorpath : :: windows::core::PCWSTR , punkcaller : * mut::core::ffi::c_void , dwreserved : u32 , clrreserved : u32 , riid : *const :: windows::core::GUID , ppvret : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleLoadPicturePath ( szurlorpath : :: windows::core::PCWSTR , punkcaller : * mut::core::ffi::c_void , dwreserved : u32 , clrreserved : u32 , riid : *const :: windows::core::GUID , ppvret : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleLoadPicturePath(szurlorpath.into().abi(), punkcaller.into().abi(), dwreserved, clrreserved, riid, ppvret).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -714,7 +714,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleLockRunning ( punknown : * mut::core::ffi::c_void , flock : super::super::Foundation:: BOOL , flastunlockcloses : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleLockRunning ( punknown : * mut::core::ffi::c_void , flock : super::super::Foundation:: BOOL , flastunlockcloses : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); OleLockRunning(punknown.into().abi(), flock.into(), flastunlockcloses.into()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -726,7 +726,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleMetafilePictFromIconAndLabel ( hicon : super::super::UI::WindowsAndMessaging:: HICON , lpszlabel : :: windows::core::PCWSTR , lpszsourcefile : :: windows::core::PCWSTR , iiconindex : u32 ) -> isize ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleMetafilePictFromIconAndLabel ( hicon : super::super::UI::WindowsAndMessaging:: HICON , lpszlabel : :: windows::core::PCWSTR , lpszsourcefile : :: windows::core::PCWSTR , iiconindex : u32 ) -> isize ); OleMetafilePictFromIconAndLabel(hicon.into(), lpszlabel.into().abi(), lpszsourcefile.into().abi(), iiconindex) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -737,7 +737,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleNoteObjectVisible ( punknown : * mut::core::ffi::c_void , fvisible : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleNoteObjectVisible ( punknown : * mut::core::ffi::c_void , fvisible : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); OleNoteObjectVisible(punknown.into().abi(), fvisible.into()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -747,7 +747,7 @@ pub unsafe fn OleQueryCreateFromData(psrcdataobject: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleQueryCreateFromData ( psrcdataobject : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleQueryCreateFromData ( psrcdataobject : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleQueryCreateFromData(psrcdataobject.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -757,35 +757,35 @@ pub unsafe fn OleQueryLinkFromData(psrcdataobject: P0) -> ::windows::core::R where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleQueryLinkFromData ( psrcdataobject : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleQueryLinkFromData ( psrcdataobject : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleQueryLinkFromData(psrcdataobject.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn OleRegEnumFormatEtc(clsid: *const ::windows::core::GUID, dwdirection: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn OleRegEnumFormatEtc ( clsid : *const :: windows::core::GUID , dwdirection : u32 , ppenum : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleRegEnumFormatEtc ( clsid : *const :: windows::core::GUID , dwdirection : u32 , ppenum : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleRegEnumFormatEtc(clsid, dwdirection, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleRegEnumVerbs(clsid: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn OleRegEnumVerbs ( clsid : *const :: windows::core::GUID , ppenum : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleRegEnumVerbs ( clsid : *const :: windows::core::GUID , ppenum : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleRegEnumVerbs(clsid, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleRegGetMiscStatus(clsid: *const ::windows::core::GUID, dwaspect: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn OleRegGetMiscStatus ( clsid : *const :: windows::core::GUID , dwaspect : u32 , pdwstatus : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleRegGetMiscStatus ( clsid : *const :: windows::core::GUID , dwaspect : u32 , pdwstatus : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleRegGetMiscStatus(clsid, dwaspect, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleRegGetUserType(clsid: *const ::windows::core::GUID, dwformoftype: USERCLASSTYPE) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "ole32.dll""system" fn OleRegGetUserType ( clsid : *const :: windows::core::GUID , dwformoftype : USERCLASSTYPE , pszusertype : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleRegGetUserType ( clsid : *const :: windows::core::GUID , dwformoftype : USERCLASSTYPE , pszusertype : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); OleRegGetUserType(clsid, dwformoftype, &mut result__).from_abi(result__) } @@ -795,7 +795,7 @@ pub unsafe fn OleRun(punknown: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleRun ( punknown : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleRun ( punknown : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleRun(punknown.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -807,7 +807,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleSave ( pps : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , fsameasload : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleSave ( pps : * mut::core::ffi::c_void , pstg : * mut::core::ffi::c_void , fsameasload : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); OleSave(pps.into().abi(), pstg.into().abi(), fsameasload.into()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -817,7 +817,7 @@ pub unsafe fn OleSavePictureFile(lpdisppicture: P0, bstrfilename: &::windows where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleSavePictureFile ( lpdisppicture : * mut::core::ffi::c_void , bstrfilename : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleSavePictureFile ( lpdisppicture : * mut::core::ffi::c_void , bstrfilename : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); OleSavePictureFile(lpdisppicture.into().abi(), ::core::mem::transmute_copy(bstrfilename)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -828,13 +828,13 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleSaveToStream ( ppstm : * mut::core::ffi::c_void , pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleSaveToStream ( ppstm : * mut::core::ffi::c_void , pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleSaveToStream(ppstm.into().abi(), pstm.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleSetAutoConvert(clsidold: *const ::windows::core::GUID, clsidnew: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ole32.dll""system" fn OleSetAutoConvert ( clsidold : *const :: windows::core::GUID , clsidnew : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleSetAutoConvert ( clsidold : *const :: windows::core::GUID , clsidnew : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); OleSetAutoConvert(clsidold, clsidnew).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -844,7 +844,7 @@ pub unsafe fn OleSetClipboard(pdataobj: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleSetClipboard ( pdataobj : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleSetClipboard ( pdataobj : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleSetClipboard(pdataobj.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -855,7 +855,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn OleSetContainedObject ( punknown : * mut::core::ffi::c_void , fcontained : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleSetContainedObject ( punknown : * mut::core::ffi::c_void , fcontained : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); OleSetContainedObject(punknown.into().abi(), fcontained.into()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -868,7 +868,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleSetMenuDescriptor ( holemenu : isize , hwndframe : super::super::Foundation:: HWND , hwndactiveobject : super::super::Foundation:: HWND , lpframe : * mut::core::ffi::c_void , lpactiveobj : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleSetMenuDescriptor ( holemenu : isize , hwndframe : super::super::Foundation:: HWND , hwndactiveobject : super::super::Foundation:: HWND , lpframe : * mut::core::ffi::c_void , lpactiveobj : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); OleSetMenuDescriptor(holemenu, hwndframe.into(), hwndactiveobject.into(), lpframe.into().abi(), lpactiveobj.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -878,7 +878,7 @@ pub unsafe fn OleTranslateAccelerator(lpframe: P0, lpframeinfo: *const OLEIN where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn OleTranslateAccelerator ( lpframe : * mut::core::ffi::c_void , lpframeinfo : *const OLEINPLACEFRAMEINFO , lpmsg : *const super::super::UI::WindowsAndMessaging:: MSG ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleTranslateAccelerator ( lpframe : * mut::core::ffi::c_void , lpframeinfo : *const OLEINPLACEFRAMEINFO , lpmsg : *const super::super::UI::WindowsAndMessaging:: MSG ) -> :: windows::core::HRESULT ); OleTranslateAccelerator(lpframe.into().abi(), lpframeinfo, lpmsg).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -888,7 +888,7 @@ pub unsafe fn OleTranslateColor(clr: u32, hpal: P0) -> ::windows::core::Resu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn OleTranslateColor ( clr : u32 , hpal : super::super::Graphics::Gdi:: HPALETTE , lpcolorref : *mut super::super::Foundation:: COLORREF ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn OleTranslateColor ( clr : u32 , hpal : super::super::Graphics::Gdi:: HPALETTE , lpcolorref : *mut super::super::Foundation:: COLORREF ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); OleTranslateColor(clr, hpal.into(), &mut result__).from_abi(result__) } @@ -902,7 +902,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIAddVerbMenuA ( lpoleobj : * mut::core::ffi::c_void , lpszshorttype : :: windows::core::PCSTR , hmenu : super::super::UI::WindowsAndMessaging:: HMENU , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : super::super::Foundation:: BOOL , idconvert : u32 , lphmenu : *mut super::super::UI::WindowsAndMessaging:: HMENU ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIAddVerbMenuA ( lpoleobj : * mut::core::ffi::c_void , lpszshorttype : :: windows::core::PCSTR , hmenu : super::super::UI::WindowsAndMessaging:: HMENU , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : super::super::Foundation:: BOOL , idconvert : u32 , lphmenu : *mut super::super::UI::WindowsAndMessaging:: HMENU ) -> super::super::Foundation:: BOOL ); OleUIAddVerbMenuA(lpoleobj.into().abi(), lpszshorttype.into().abi(), hmenu.into(), upos, uidverbmin, uidverbmax, baddconvert.into(), idconvert, lphmenu) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -915,21 +915,21 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIAddVerbMenuW ( lpoleobj : * mut::core::ffi::c_void , lpszshorttype : :: windows::core::PCWSTR , hmenu : super::super::UI::WindowsAndMessaging:: HMENU , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : super::super::Foundation:: BOOL , idconvert : u32 , lphmenu : *mut super::super::UI::WindowsAndMessaging:: HMENU ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIAddVerbMenuW ( lpoleobj : * mut::core::ffi::c_void , lpszshorttype : :: windows::core::PCWSTR , hmenu : super::super::UI::WindowsAndMessaging:: HMENU , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : super::super::Foundation:: BOOL , idconvert : u32 , lphmenu : *mut super::super::UI::WindowsAndMessaging:: HMENU ) -> super::super::Foundation:: BOOL ); OleUIAddVerbMenuW(lpoleobj.into().abi(), lpszshorttype.into().abi(), hmenu.into(), upos, uidverbmin, uidverbmax, baddconvert.into(), idconvert, lphmenu) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Media\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media"))] #[inline] pub unsafe fn OleUIBusyA(param0: *const OLEUIBUSYA) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIBusyA ( param0 : *const OLEUIBUSYA ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIBusyA ( param0 : *const OLEUIBUSYA ) -> u32 ); OleUIBusyA(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Media\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media"))] #[inline] pub unsafe fn OleUIBusyW(param0: *const OLEUIBUSYW) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIBusyW ( param0 : *const OLEUIBUSYW ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIBusyW ( param0 : *const OLEUIBUSYW ) -> u32 ); OleUIBusyW(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -939,105 +939,105 @@ pub unsafe fn OleUICanConvertOrActivateAs(rclsid: *const ::windows::core::GU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUICanConvertOrActivateAs ( rclsid : *const :: windows::core::GUID , fislinkedobject : super::super::Foundation:: BOOL , wformat : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUICanConvertOrActivateAs ( rclsid : *const :: windows::core::GUID , fislinkedobject : super::super::Foundation:: BOOL , wformat : u16 ) -> super::super::Foundation:: BOOL ); OleUICanConvertOrActivateAs(rclsid, fislinkedobject.into(), wformat) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OleUIChangeIconA(param0: *const OLEUICHANGEICONA) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIChangeIconA ( param0 : *const OLEUICHANGEICONA ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIChangeIconA ( param0 : *const OLEUICHANGEICONA ) -> u32 ); OleUIChangeIconA(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OleUIChangeIconW(param0: *const OLEUICHANGEICONW) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIChangeIconW ( param0 : *const OLEUICHANGEICONW ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIChangeIconW ( param0 : *const OLEUICHANGEICONW ) -> u32 ); OleUIChangeIconW(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] #[inline] pub unsafe fn OleUIChangeSourceA(param0: *const OLEUICHANGESOURCEA) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIChangeSourceA ( param0 : *const OLEUICHANGESOURCEA ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIChangeSourceA ( param0 : *const OLEUICHANGESOURCEA ) -> u32 ); OleUIChangeSourceA(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls_Dialogs\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls_Dialogs"))] #[inline] pub unsafe fn OleUIChangeSourceW(param0: *const OLEUICHANGESOURCEW) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIChangeSourceW ( param0 : *const OLEUICHANGESOURCEW ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIChangeSourceW ( param0 : *const OLEUICHANGESOURCEW ) -> u32 ); OleUIChangeSourceW(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OleUIConvertA(param0: *const OLEUICONVERTA) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIConvertA ( param0 : *const OLEUICONVERTA ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIConvertA ( param0 : *const OLEUICONVERTA ) -> u32 ); OleUIConvertA(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OleUIConvertW(param0: *const OLEUICONVERTW) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIConvertW ( param0 : *const OLEUICONVERTW ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIConvertW ( param0 : *const OLEUICONVERTW ) -> u32 ); OleUIConvertW(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OleUIEditLinksA(param0: *const OLEUIEDITLINKSA) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIEditLinksA ( param0 : *const OLEUIEDITLINKSA ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIEditLinksA ( param0 : *const OLEUIEDITLINKSA ) -> u32 ); OleUIEditLinksA(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OleUIEditLinksW(param0: *const OLEUIEDITLINKSW) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIEditLinksW ( param0 : *const OLEUIEDITLINKSW ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIEditLinksW ( param0 : *const OLEUIEDITLINKSW ) -> u32 ); OleUIEditLinksW(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn OleUIInsertObjectA(param0: *const OLEUIINSERTOBJECTA) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIInsertObjectA ( param0 : *const OLEUIINSERTOBJECTA ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIInsertObjectA ( param0 : *const OLEUIINSERTOBJECTA ) -> u32 ); OleUIInsertObjectA(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn OleUIInsertObjectW(param0: *const OLEUIINSERTOBJECTW) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIInsertObjectW ( param0 : *const OLEUIINSERTOBJECTW ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIInsertObjectW ( param0 : *const OLEUIINSERTOBJECTW ) -> u32 ); OleUIInsertObjectW(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn OleUIObjectPropertiesA(param0: *const OLEUIOBJECTPROPSA) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIObjectPropertiesA ( param0 : *const OLEUIOBJECTPROPSA ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIObjectPropertiesA ( param0 : *const OLEUIOBJECTPROPSA ) -> u32 ); OleUIObjectPropertiesA(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn OleUIObjectPropertiesW(param0: *const OLEUIOBJECTPROPSW) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIObjectPropertiesW ( param0 : *const OLEUIOBJECTPROPSW ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIObjectPropertiesW ( param0 : *const OLEUIOBJECTPROPSW ) -> u32 ); OleUIObjectPropertiesW(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn OleUIPasteSpecialA(param0: *const OLEUIPASTESPECIALA) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIPasteSpecialA ( param0 : *const OLEUIPASTESPECIALA ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIPasteSpecialA ( param0 : *const OLEUIPASTESPECIALA ) -> u32 ); OleUIPasteSpecialA(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn OleUIPasteSpecialW(param0: *const OLEUIPASTESPECIALW) -> u32 { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIPasteSpecialW ( param0 : *const OLEUIPASTESPECIALW ) -> u32 ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIPasteSpecialW ( param0 : *const OLEUIPASTESPECIALW ) -> u32 ); OleUIPasteSpecialW(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -1047,7 +1047,7 @@ pub unsafe fn OleUIPromptUserA(ntemplate: i32, hwndparent: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oledlg.dll""cdecl" fn OleUIPromptUserA ( ntemplate : i32 , hwndparent : super::super::Foundation:: HWND ) -> i32 ); + ::windows::imp::link ! ( "oledlg.dll""cdecl" fn OleUIPromptUserA ( ntemplate : i32 , hwndparent : super::super::Foundation:: HWND ) -> i32 ); OleUIPromptUserA(ntemplate, hwndparent.into()) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -1057,7 +1057,7 @@ pub unsafe fn OleUIPromptUserW(ntemplate: i32, hwndparent: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oledlg.dll""cdecl" fn OleUIPromptUserW ( ntemplate : i32 , hwndparent : super::super::Foundation:: HWND ) -> i32 ); + ::windows::imp::link ! ( "oledlg.dll""cdecl" fn OleUIPromptUserW ( ntemplate : i32 , hwndparent : super::super::Foundation:: HWND ) -> i32 ); OleUIPromptUserW(ntemplate, hwndparent.into()) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -1069,7 +1069,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIUpdateLinksA ( lpoleuilinkcntr : * mut::core::ffi::c_void , hwndparent : super::super::Foundation:: HWND , lpsztitle : :: windows::core::PCSTR , clinks : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIUpdateLinksA ( lpoleuilinkcntr : * mut::core::ffi::c_void , hwndparent : super::super::Foundation:: HWND , lpsztitle : :: windows::core::PCSTR , clinks : i32 ) -> super::super::Foundation:: BOOL ); OleUIUpdateLinksA(lpoleuilinkcntr.into().abi(), hwndparent.into(), lpsztitle.into().abi(), clinks) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -1081,19 +1081,19 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oledlg.dll""system" fn OleUIUpdateLinksW ( lpoleuilinkcntr : * mut::core::ffi::c_void , hwndparent : super::super::Foundation:: HWND , lpsztitle : :: windows::core::PCWSTR , clinks : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "oledlg.dll""system" fn OleUIUpdateLinksW ( lpoleuilinkcntr : * mut::core::ffi::c_void , hwndparent : super::super::Foundation:: HWND , lpsztitle : :: windows::core::PCWSTR , clinks : i32 ) -> super::super::Foundation:: BOOL ); OleUIUpdateLinksW(lpoleuilinkcntr.into().abi(), hwndparent.into(), lpsztitle.into().abi(), clinks) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn OleUninitialize() { - ::windows::core::link ! ( "ole32.dll""system" fn OleUninitialize ( ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn OleUninitialize ( ) -> ( ) ); OleUninitialize() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn QueryPathOfRegTypeLib(guid: *const ::windows::core::GUID, wmaj: u16, wmin: u16, lcid: u32) -> ::windows::core::Result<*mut u16> { - ::windows::core::link ! ( "oleaut32.dll""system" fn QueryPathOfRegTypeLib ( guid : *const :: windows::core::GUID , wmaj : u16 , wmin : u16 , lcid : u32 , lpbstrpathname : *mut *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn QueryPathOfRegTypeLib ( guid : *const :: windows::core::GUID , wmaj : u16 , wmin : u16 , lcid : u32 , lpbstrpathname : *mut *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut u16>(); QueryPathOfRegTypeLib(guid, wmaj, wmin, lcid, &mut result__).from_abi(result__) } @@ -1103,7 +1103,7 @@ pub unsafe fn RegisterActiveObject(punk: P0, rclsid: *const ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn RegisterActiveObject ( punk : * mut::core::ffi::c_void , rclsid : *const :: windows::core::GUID , dwflags : ACTIVEOBJECT_FLAGS , pdwregister : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn RegisterActiveObject ( punk : * mut::core::ffi::c_void , rclsid : *const :: windows::core::GUID , dwflags : ACTIVEOBJECT_FLAGS , pdwregister : *mut u32 ) -> :: windows::core::HRESULT ); RegisterActiveObject(punk.into().abi(), rclsid, dwflags, pdwregister).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -1114,7 +1114,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "ole32.dll""system" fn RegisterDragDrop ( hwnd : super::super::Foundation:: HWND , pdroptarget : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn RegisterDragDrop ( hwnd : super::super::Foundation:: HWND , pdroptarget : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); RegisterDragDrop(hwnd.into(), pdroptarget.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -1126,7 +1126,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn RegisterTypeLib ( ptlib : * mut::core::ffi::c_void , szfullpath : :: windows::core::PCWSTR , szhelpdir : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn RegisterTypeLib ( ptlib : * mut::core::ffi::c_void , szfullpath : :: windows::core::PCWSTR , szhelpdir : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); RegisterTypeLib(ptlib.into().abi(), szfullpath.into().abi(), szhelpdir.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -1138,20 +1138,20 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn RegisterTypeLibForUser ( ptlib : * mut::core::ffi::c_void , szfullpath : :: windows::core::PCWSTR , szhelpdir : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn RegisterTypeLibForUser ( ptlib : * mut::core::ffi::c_void , szfullpath : :: windows::core::PCWSTR , szhelpdir : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); RegisterTypeLibForUser(ptlib.into().abi(), szfullpath.into().abi(), szhelpdir.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn ReleaseStgMedium(param0: *mut super::Com::STGMEDIUM) { - ::windows::core::link ! ( "ole32.dll""system" fn ReleaseStgMedium ( param0 : *mut super::Com:: STGMEDIUM ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn ReleaseStgMedium ( param0 : *mut super::Com:: STGMEDIUM ) -> ( ) ); ReleaseStgMedium(param0) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn RevokeActiveObject(dwregister: u32, pvreserved: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn RevokeActiveObject ( dwregister : u32 , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn RevokeActiveObject ( dwregister : u32 , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); RevokeActiveObject(dwregister, pvreserved).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -1161,35 +1161,35 @@ pub unsafe fn RevokeDragDrop(hwnd: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ole32.dll""system" fn RevokeDragDrop ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn RevokeDragDrop ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); RevokeDragDrop(hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayAccessData(psa: *const super::Com::SAFEARRAY, ppvdata: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayAccessData ( psa : *const super::Com:: SAFEARRAY , ppvdata : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayAccessData ( psa : *const super::Com:: SAFEARRAY , ppvdata : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SafeArrayAccessData(psa, ppvdata).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayAddRef(psa: *const super::Com::SAFEARRAY, ppdatatorelease: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayAddRef ( psa : *const super::Com:: SAFEARRAY , ppdatatorelease : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayAddRef ( psa : *const super::Com:: SAFEARRAY , ppdatatorelease : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SafeArrayAddRef(psa, ppdatatorelease).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayAllocData(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayAllocData ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayAllocData ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); SafeArrayAllocData(psa).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayAllocDescriptor(cdims: u32) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayAllocDescriptor ( cdims : u32 , ppsaout : *mut *mut super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayAllocDescriptor ( cdims : u32 , ppsaout : *mut *mut super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut super::Com::SAFEARRAY>(); SafeArrayAllocDescriptor(cdims, &mut result__).from_abi(result__) } @@ -1197,7 +1197,7 @@ pub unsafe fn SafeArrayAllocDescriptor(cdims: u32) -> ::windows::core::Result<*m #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayAllocDescriptorEx(vt: super::Com::VARENUM, cdims: u32) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayAllocDescriptorEx ( vt : super::Com:: VARENUM , cdims : u32 , ppsaout : *mut *mut super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayAllocDescriptorEx ( vt : super::Com:: VARENUM , cdims : u32 , ppsaout : *mut *mut super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut super::Com::SAFEARRAY>(); SafeArrayAllocDescriptorEx(vt, cdims, &mut result__).from_abi(result__) } @@ -1205,7 +1205,7 @@ pub unsafe fn SafeArrayAllocDescriptorEx(vt: super::Com::VARENUM, cdims: u32) -> #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayCopy(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayCopy ( psa : *const super::Com:: SAFEARRAY , ppsaout : *mut *mut super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayCopy ( psa : *const super::Com:: SAFEARRAY , ppsaout : *mut *mut super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut super::Com::SAFEARRAY>(); SafeArrayCopy(psa, &mut result__).from_abi(result__) } @@ -1213,84 +1213,84 @@ pub unsafe fn SafeArrayCopy(psa: *const super::Com::SAFEARRAY) -> ::windows::cor #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayCopyData(psasource: *const super::Com::SAFEARRAY, psatarget: *const super::Com::SAFEARRAY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayCopyData ( psasource : *const super::Com:: SAFEARRAY , psatarget : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayCopyData ( psasource : *const super::Com:: SAFEARRAY , psatarget : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); SafeArrayCopyData(psasource, psatarget).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayCreate(vt: super::Com::VARENUM, cdims: u32, rgsabound: *const super::Com::SAFEARRAYBOUND) -> *mut super::Com::SAFEARRAY { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayCreate ( vt : super::Com:: VARENUM , cdims : u32 , rgsabound : *const super::Com:: SAFEARRAYBOUND ) -> *mut super::Com:: SAFEARRAY ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayCreate ( vt : super::Com:: VARENUM , cdims : u32 , rgsabound : *const super::Com:: SAFEARRAYBOUND ) -> *mut super::Com:: SAFEARRAY ); SafeArrayCreate(vt, cdims, rgsabound) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayCreateEx(vt: super::Com::VARENUM, cdims: u32, rgsabound: *const super::Com::SAFEARRAYBOUND, pvextra: *const ::core::ffi::c_void) -> *mut super::Com::SAFEARRAY { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayCreateEx ( vt : super::Com:: VARENUM , cdims : u32 , rgsabound : *const super::Com:: SAFEARRAYBOUND , pvextra : *const ::core::ffi::c_void ) -> *mut super::Com:: SAFEARRAY ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayCreateEx ( vt : super::Com:: VARENUM , cdims : u32 , rgsabound : *const super::Com:: SAFEARRAYBOUND , pvextra : *const ::core::ffi::c_void ) -> *mut super::Com:: SAFEARRAY ); SafeArrayCreateEx(vt, cdims, rgsabound, pvextra) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayCreateVector(vt: super::Com::VARENUM, llbound: i32, celements: u32) -> *mut super::Com::SAFEARRAY { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayCreateVector ( vt : super::Com:: VARENUM , llbound : i32 , celements : u32 ) -> *mut super::Com:: SAFEARRAY ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayCreateVector ( vt : super::Com:: VARENUM , llbound : i32 , celements : u32 ) -> *mut super::Com:: SAFEARRAY ); SafeArrayCreateVector(vt, llbound, celements) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayCreateVectorEx(vt: super::Com::VARENUM, llbound: i32, celements: u32, pvextra: *const ::core::ffi::c_void) -> *mut super::Com::SAFEARRAY { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayCreateVectorEx ( vt : super::Com:: VARENUM , llbound : i32 , celements : u32 , pvextra : *const ::core::ffi::c_void ) -> *mut super::Com:: SAFEARRAY ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayCreateVectorEx ( vt : super::Com:: VARENUM , llbound : i32 , celements : u32 , pvextra : *const ::core::ffi::c_void ) -> *mut super::Com:: SAFEARRAY ); SafeArrayCreateVectorEx(vt, llbound, celements, pvextra) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayDestroy(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayDestroy ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayDestroy ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); SafeArrayDestroy(psa).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayDestroyData(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayDestroyData ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayDestroyData ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); SafeArrayDestroyData(psa).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayDestroyDescriptor(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayDestroyDescriptor ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayDestroyDescriptor ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); SafeArrayDestroyDescriptor(psa).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetDim(psa: *const super::Com::SAFEARRAY) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayGetDim ( psa : *const super::Com:: SAFEARRAY ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayGetDim ( psa : *const super::Com:: SAFEARRAY ) -> u32 ); SafeArrayGetDim(psa) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetElement(psa: *const super::Com::SAFEARRAY, rgindices: *const i32, pv: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayGetElement ( psa : *const super::Com:: SAFEARRAY , rgindices : *const i32 , pv : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayGetElement ( psa : *const super::Com:: SAFEARRAY , rgindices : *const i32 , pv : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SafeArrayGetElement(psa, rgindices, pv).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetElemsize(psa: *const super::Com::SAFEARRAY) -> u32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayGetElemsize ( psa : *const super::Com:: SAFEARRAY ) -> u32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayGetElemsize ( psa : *const super::Com:: SAFEARRAY ) -> u32 ); SafeArrayGetElemsize(psa) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetIID(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayGetIID ( psa : *const super::Com:: SAFEARRAY , pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayGetIID ( psa : *const super::Com:: SAFEARRAY , pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); SafeArrayGetIID(psa, &mut result__).from_abi(result__) } @@ -1298,7 +1298,7 @@ pub unsafe fn SafeArrayGetIID(psa: *const super::Com::SAFEARRAY) -> ::windows::c #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetLBound(psa: *const super::Com::SAFEARRAY, ndim: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayGetLBound ( psa : *const super::Com:: SAFEARRAY , ndim : u32 , pllbound : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayGetLBound ( psa : *const super::Com:: SAFEARRAY , ndim : u32 , pllbound : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SafeArrayGetLBound(psa, ndim, &mut result__).from_abi(result__) } @@ -1306,7 +1306,7 @@ pub unsafe fn SafeArrayGetLBound(psa: *const super::Com::SAFEARRAY, ndim: u32) - #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetRecordInfo(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayGetRecordInfo ( psa : *const super::Com:: SAFEARRAY , prinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayGetRecordInfo ( psa : *const super::Com:: SAFEARRAY , prinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SafeArrayGetRecordInfo(psa, &mut result__).from_abi(result__) } @@ -1314,7 +1314,7 @@ pub unsafe fn SafeArrayGetRecordInfo(psa: *const super::Com::SAFEARRAY) -> ::win #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetUBound(psa: *const super::Com::SAFEARRAY, ndim: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayGetUBound ( psa : *const super::Com:: SAFEARRAY , ndim : u32 , plubound : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayGetUBound ( psa : *const super::Com:: SAFEARRAY , ndim : u32 , plubound : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SafeArrayGetUBound(psa, ndim, &mut result__).from_abi(result__) } @@ -1322,7 +1322,7 @@ pub unsafe fn SafeArrayGetUBound(psa: *const super::Com::SAFEARRAY, ndim: u32) - #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetVartype(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayGetVartype ( psa : *const super::Com:: SAFEARRAY , pvt : *mut super::Com:: VARENUM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayGetVartype ( psa : *const super::Com:: SAFEARRAY , pvt : *mut super::Com:: VARENUM ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SafeArrayGetVartype(psa, &mut result__).from_abi(result__) } @@ -1330,48 +1330,48 @@ pub unsafe fn SafeArrayGetVartype(psa: *const super::Com::SAFEARRAY) -> ::window #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayLock(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayLock ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayLock ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); SafeArrayLock(psa).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayPtrOfIndex(psa: *const super::Com::SAFEARRAY, rgindices: *const i32, ppvdata: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayPtrOfIndex ( psa : *const super::Com:: SAFEARRAY , rgindices : *const i32 , ppvdata : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayPtrOfIndex ( psa : *const super::Com:: SAFEARRAY , rgindices : *const i32 , ppvdata : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SafeArrayPtrOfIndex(psa, rgindices, ppvdata).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayPutElement(psa: *const super::Com::SAFEARRAY, rgindices: *const i32, pv: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayPutElement ( psa : *const super::Com:: SAFEARRAY , rgindices : *const i32 , pv : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayPutElement ( psa : *const super::Com:: SAFEARRAY , rgindices : *const i32 , pv : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SafeArrayPutElement(psa, rgindices, pv).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayRedim(psa: *mut super::Com::SAFEARRAY, psaboundnew: *const super::Com::SAFEARRAYBOUND) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayRedim ( psa : *mut super::Com:: SAFEARRAY , psaboundnew : *const super::Com:: SAFEARRAYBOUND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayRedim ( psa : *mut super::Com:: SAFEARRAY , psaboundnew : *const super::Com:: SAFEARRAYBOUND ) -> :: windows::core::HRESULT ); SafeArrayRedim(psa, psaboundnew).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn SafeArrayReleaseData(pdata: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayReleaseData ( pdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayReleaseData ( pdata : *const ::core::ffi::c_void ) -> ( ) ); SafeArrayReleaseData(pdata) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayReleaseDescriptor(psa: *const super::Com::SAFEARRAY) { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayReleaseDescriptor ( psa : *const super::Com:: SAFEARRAY ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayReleaseDescriptor ( psa : *const super::Com:: SAFEARRAY ) -> ( ) ); SafeArrayReleaseDescriptor(psa) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArraySetIID(psa: *const super::Com::SAFEARRAY, guid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArraySetIID ( psa : *const super::Com:: SAFEARRAY , guid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArraySetIID ( psa : *const super::Com:: SAFEARRAY , guid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); SafeArraySetIID(psa, guid).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -1381,49 +1381,49 @@ pub unsafe fn SafeArraySetRecordInfo(psa: *const super::Com::SAFEARRAY, prin where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArraySetRecordInfo ( psa : *const super::Com:: SAFEARRAY , prinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArraySetRecordInfo ( psa : *const super::Com:: SAFEARRAY , prinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SafeArraySetRecordInfo(psa, prinfo.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayUnaccessData(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayUnaccessData ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayUnaccessData ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); SafeArrayUnaccessData(psa).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayUnlock(psa: *const super::Com::SAFEARRAY) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn SafeArrayUnlock ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SafeArrayUnlock ( psa : *const super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); SafeArrayUnlock(psa).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemTimeToVariantTime(lpsystemtime: *const super::super::Foundation::SYSTEMTIME, pvtime: *mut f64) -> i32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn SystemTimeToVariantTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME , pvtime : *mut f64 ) -> i32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn SystemTimeToVariantTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME , pvtime : *mut f64 ) -> i32 ); SystemTimeToVariantTime(lpsystemtime, pvtime) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn UnRegisterTypeLib(libid: *const ::windows::core::GUID, wvermajor: u16, wverminor: u16, lcid: u32, syskind: super::Com::SYSKIND) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn UnRegisterTypeLib ( libid : *const :: windows::core::GUID , wvermajor : u16 , wverminor : u16 , lcid : u32 , syskind : super::Com:: SYSKIND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn UnRegisterTypeLib ( libid : *const :: windows::core::GUID , wvermajor : u16 , wverminor : u16 , lcid : u32 , syskind : super::Com:: SYSKIND ) -> :: windows::core::HRESULT ); UnRegisterTypeLib(libid, wvermajor, wverminor, lcid, syskind).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn UnRegisterTypeLibForUser(libid: *const ::windows::core::GUID, wmajorvernum: u16, wminorvernum: u16, lcid: u32, syskind: super::Com::SYSKIND) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn UnRegisterTypeLibForUser ( libid : *const :: windows::core::GUID , wmajorvernum : u16 , wminorvernum : u16 , lcid : u32 , syskind : super::Com:: SYSKIND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn UnRegisterTypeLibForUser ( libid : *const :: windows::core::GUID , wmajorvernum : u16 , wminorvernum : u16 , lcid : u32 , syskind : super::Com:: SYSKIND ) -> :: windows::core::HRESULT ); UnRegisterTypeLibForUser(libid, wmajorvernum, wminorvernum, lcid, syskind).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarAbs(pvarin: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarAbs ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarAbs ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarAbs(pvarin, &mut result__).from_abi(result__) } @@ -1431,7 +1431,7 @@ pub unsafe fn VarAbs(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarAdd(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarAdd ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarAdd ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarAdd(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -1439,7 +1439,7 @@ pub unsafe fn VarAdd(pvarleft: *const super::Com::VARIANT, pvarright: *const sup #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarAnd(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarAnd ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarAnd ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarAnd(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -1447,7 +1447,7 @@ pub unsafe fn VarAnd(pvarleft: *const super::Com::VARIANT, pvarright: *const sup #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarBoolFromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromCy ( cyin : super::Com:: CY , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromCy ( cyin : super::Com:: CY , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } @@ -1455,7 +1455,7 @@ pub unsafe fn VarBoolFromCy(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromDate ( datein : f64 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromDate ( datein : f64 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromDate(datein, &mut result__).from_abi(result__) } @@ -1463,7 +1463,7 @@ pub unsafe fn VarBoolFromDate(datein: f64) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromDec(pdecin, &mut result__).from_abi(result__) } @@ -1474,7 +1474,7 @@ pub unsafe fn VarBoolFromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -1485,7 +1485,7 @@ pub unsafe fn VarBoolFromI1(cin: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromI1 ( cin : super::super::Foundation:: CHAR , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromI1 ( cin : super::super::Foundation:: CHAR , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromI1(cin.into(), &mut result__).from_abi(result__) } @@ -1493,7 +1493,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarBoolFromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromI2 ( sin : i16 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromI2 ( sin : i16 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromI2(sin, &mut result__).from_abi(result__) } @@ -1501,7 +1501,7 @@ pub unsafe fn VarBoolFromI2(sin: i16) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromI4 ( lin : i32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromI4 ( lin : i32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromI4(lin, &mut result__).from_abi(result__) } @@ -1509,7 +1509,7 @@ pub unsafe fn VarBoolFromI4(lin: i32) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromI8 ( i64in : i64 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromI8 ( i64in : i64 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromI8(i64in, &mut result__).from_abi(result__) } @@ -1517,7 +1517,7 @@ pub unsafe fn VarBoolFromI8(i64in: i64) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromR4 ( fltin : f32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromR4 ( fltin : f32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromR4(fltin, &mut result__).from_abi(result__) } @@ -1525,7 +1525,7 @@ pub unsafe fn VarBoolFromR4(fltin: f32) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromR8 ( dblin : f64 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromR8 ( dblin : f64 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromR8(dblin, &mut result__).from_abi(result__) } @@ -1536,7 +1536,7 @@ pub unsafe fn VarBoolFromStr(strin: P0, lcid: u32, dwflags: u32) -> ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } @@ -1544,7 +1544,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarBoolFromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromUI1 ( bin : u8 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromUI1 ( bin : u8 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromUI1(bin, &mut result__).from_abi(result__) } @@ -1552,7 +1552,7 @@ pub unsafe fn VarBoolFromUI1(bin: u8) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromUI2 ( uiin : u16 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromUI2 ( uiin : u16 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromUI2(uiin, &mut result__).from_abi(result__) } @@ -1560,7 +1560,7 @@ pub unsafe fn VarBoolFromUI2(uiin: u16) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromUI4 ( ulin : u32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromUI4 ( ulin : u32 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromUI4(ulin, &mut result__).from_abi(result__) } @@ -1568,21 +1568,21 @@ pub unsafe fn VarBoolFromUI4(ulin: u32) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBoolFromUI8 ( i64in : u64 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBoolFromUI8 ( i64in : u64 , pboolout : *mut super::super::Foundation:: VARIANT_BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarBoolFromUI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrCat(bstrleft: &::windows::core::BSTR, bstrright: &::windows::core::BSTR) -> ::windows::core::Result<*mut u16> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrCat ( bstrleft : ::std::mem::MaybeUninit <::windows::core::BSTR > , bstrright : ::std::mem::MaybeUninit <::windows::core::BSTR > , pbstrresult : *mut *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrCat ( bstrleft : ::std::mem::MaybeUninit <::windows::core::BSTR > , bstrright : ::std::mem::MaybeUninit <::windows::core::BSTR > , pbstrresult : *mut *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut u16>(); VarBstrCat(::core::mem::transmute_copy(bstrleft), ::core::mem::transmute_copy(bstrright), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrCmp(bstrleft: &::windows::core::BSTR, bstrright: &::windows::core::BSTR, lcid: u32, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrCmp ( bstrleft : ::std::mem::MaybeUninit <::windows::core::BSTR > , bstrright : ::std::mem::MaybeUninit <::windows::core::BSTR > , lcid : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrCmp ( bstrleft : ::std::mem::MaybeUninit <::windows::core::BSTR > , bstrright : ::std::mem::MaybeUninit <::windows::core::BSTR > , lcid : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); VarBstrCmp(::core::mem::transmute_copy(bstrleft), ::core::mem::transmute_copy(bstrright), lcid, dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -1592,7 +1592,7 @@ pub unsafe fn VarBstrFromBool(boolin: P0, lcid: u32, dwflags: u32) -> ::wind where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromBool(boolin.into(), lcid, dwflags, &mut result__).from_abi(result__) } @@ -1600,14 +1600,14 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarBstrFromCy(cyin: super::Com::CY, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromCy ( cyin : super::Com:: CY , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromCy ( cyin : super::Com:: CY , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromCy(::core::mem::transmute(cyin), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromDate(datein: f64, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromDate ( datein : f64 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromDate ( datein : f64 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromDate(datein, lcid, dwflags, &mut result__).from_abi(result__) } @@ -1615,7 +1615,7 @@ pub unsafe fn VarBstrFromDate(datein: f64, lcid: u32, dwflags: u32) -> ::windows #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarBstrFromDec(pdecin: *const super::super::Foundation::DECIMAL, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromDec ( pdecin : *const super::super::Foundation:: DECIMAL , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromDec ( pdecin : *const super::super::Foundation:: DECIMAL , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromDec(pdecin, lcid, dwflags, &mut result__).from_abi(result__) } @@ -1626,7 +1626,7 @@ pub unsafe fn VarBstrFromDisp(pdispin: P0, lcid: u32, dwflags: u32) -> ::win where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromDisp(pdispin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } @@ -1637,70 +1637,70 @@ pub unsafe fn VarBstrFromI1(cin: P0, lcid: u32, dwflags: u32) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromI1 ( cin : super::super::Foundation:: CHAR , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromI1 ( cin : super::super::Foundation:: CHAR , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromI1(cin.into(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromI2(ival: i16, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromI2 ( ival : i16 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromI2 ( ival : i16 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromI2(ival, lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromI4(lin: i32, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromI4 ( lin : i32 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromI4 ( lin : i32 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromI4(lin, lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromI8(i64in: i64, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromI8 ( i64in : i64 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromI8 ( i64in : i64 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromI8(i64in, lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromR4(fltin: f32, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromR4 ( fltin : f32 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromR4 ( fltin : f32 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromR4(fltin, lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromR8(dblin: f64, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromR8 ( dblin : f64 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromR8 ( dblin : f64 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromR8(dblin, lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromUI1(bval: u8, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromUI1 ( bval : u8 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromUI1 ( bval : u8 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromUI1(bval, lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromUI2(uiin: u16, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromUI2 ( uiin : u16 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromUI2 ( uiin : u16 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromUI2(uiin, lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromUI4(ulin: u32, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromUI4 ( ulin : u32 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromUI4 ( ulin : u32 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromUI4(ulin, lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarBstrFromUI8(ui64in: u64, lcid: u32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarBstrFromUI8 ( ui64in : u64 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarBstrFromUI8 ( ui64in : u64 , lcid : u32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarBstrFromUI8(ui64in, lcid, dwflags, &mut result__).from_abi(result__) } @@ -1708,7 +1708,7 @@ pub unsafe fn VarBstrFromUI8(ui64in: u64, lcid: u32, dwflags: u32) -> ::windows: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarCat(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCat ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCat ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCat(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -1716,14 +1716,14 @@ pub unsafe fn VarCat(pvarleft: *const super::Com::VARIANT, pvarright: *const sup #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarCmp(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT, lcid: u32, dwflags: u32) -> VARCMP { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCmp ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , lcid : u32 , dwflags : u32 ) -> VARCMP ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCmp ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , lcid : u32 , dwflags : u32 ) -> VARCMP ); VarCmp(pvarleft, pvarright, lcid, dwflags) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyAbs(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyAbs ( cyin : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyAbs ( cyin : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyAbs(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } @@ -1731,7 +1731,7 @@ pub unsafe fn VarCyAbs(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyAdd ( cyleft : super::Com:: CY , cyright : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyAdd ( cyleft : super::Com:: CY , cyright : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyAdd(::core::mem::transmute(cyleft), ::core::mem::transmute(cyright), &mut result__).from_abi(result__) } @@ -1739,21 +1739,21 @@ pub unsafe fn VarCyAdd(cyleft: super::Com::CY, cyright: super::Com::CY) -> ::win #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyCmp(cyleft: super::Com::CY, cyright: super::Com::CY) -> VARCMP { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyCmp ( cyleft : super::Com:: CY , cyright : super::Com:: CY ) -> VARCMP ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyCmp ( cyleft : super::Com:: CY , cyright : super::Com:: CY ) -> VARCMP ); VarCyCmp(::core::mem::transmute(cyleft), ::core::mem::transmute(cyright)) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyCmpR8(cyleft: super::Com::CY, dblright: f64) -> VARCMP { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyCmpR8 ( cyleft : super::Com:: CY , dblright : f64 ) -> VARCMP ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyCmpR8 ( cyleft : super::Com:: CY , dblright : f64 ) -> VARCMP ); VarCyCmpR8(::core::mem::transmute(cyleft), dblright) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFix(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFix ( cyin : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFix ( cyin : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFix(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } @@ -1764,7 +1764,7 @@ pub unsafe fn VarCyFromBool(boolin: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -1772,7 +1772,7 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromDate ( datein : f64 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromDate ( datein : f64 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromDate(datein, &mut result__).from_abi(result__) } @@ -1780,7 +1780,7 @@ pub unsafe fn VarCyFromDate(datein: f64) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromDec(pdecin, &mut result__).from_abi(result__) } @@ -1791,7 +1791,7 @@ pub unsafe fn VarCyFromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -1802,7 +1802,7 @@ pub unsafe fn VarCyFromI1(cin: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromI1 ( cin : super::super::Foundation:: CHAR , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromI1 ( cin : super::super::Foundation:: CHAR , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromI1(cin.into(), &mut result__).from_abi(result__) } @@ -1810,7 +1810,7 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromI2 ( sin : i16 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromI2 ( sin : i16 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromI2(sin, &mut result__).from_abi(result__) } @@ -1818,7 +1818,7 @@ pub unsafe fn VarCyFromI2(sin: i16) -> ::windows::core::Result { #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromI4(lin: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromI4 ( lin : i32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromI4 ( lin : i32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromI4(lin, &mut result__).from_abi(result__) } @@ -1826,7 +1826,7 @@ pub unsafe fn VarCyFromI4(lin: i32) -> ::windows::core::Result { #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromI8 ( i64in : i64 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromI8 ( i64in : i64 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromI8(i64in, &mut result__).from_abi(result__) } @@ -1834,7 +1834,7 @@ pub unsafe fn VarCyFromI8(i64in: i64) -> ::windows::core::Result #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromR4 ( fltin : f32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromR4 ( fltin : f32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromR4(fltin, &mut result__).from_abi(result__) } @@ -1842,7 +1842,7 @@ pub unsafe fn VarCyFromR4(fltin: f32) -> ::windows::core::Result #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromR8 ( dblin : f64 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromR8 ( dblin : f64 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromR8(dblin, &mut result__).from_abi(result__) } @@ -1853,7 +1853,7 @@ pub unsafe fn VarCyFromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } @@ -1861,7 +1861,7 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromUI1 ( bin : u8 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromUI1 ( bin : u8 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromUI1(bin, &mut result__).from_abi(result__) } @@ -1869,7 +1869,7 @@ pub unsafe fn VarCyFromUI1(bin: u8) -> ::windows::core::Result { #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromUI2 ( uiin : u16 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromUI2 ( uiin : u16 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromUI2(uiin, &mut result__).from_abi(result__) } @@ -1877,7 +1877,7 @@ pub unsafe fn VarCyFromUI2(uiin: u16) -> ::windows::core::Result #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromUI4 ( ulin : u32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromUI4 ( ulin : u32 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromUI4(ulin, &mut result__).from_abi(result__) } @@ -1885,7 +1885,7 @@ pub unsafe fn VarCyFromUI4(ulin: u32) -> ::windows::core::Result #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyFromUI8 ( ui64in : u64 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyFromUI8 ( ui64in : u64 , pcyout : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyFromUI8(ui64in, &mut result__).from_abi(result__) } @@ -1893,7 +1893,7 @@ pub unsafe fn VarCyFromUI8(ui64in: u64) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyInt ( cyin : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyInt ( cyin : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyInt(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } @@ -1901,7 +1901,7 @@ pub unsafe fn VarCyInt(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyMul ( cyleft : super::Com:: CY , cyright : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyMul ( cyleft : super::Com:: CY , cyright : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyMul(::core::mem::transmute(cyleft), ::core::mem::transmute(cyright), &mut result__).from_abi(result__) } @@ -1909,7 +1909,7 @@ pub unsafe fn VarCyMul(cyleft: super::Com::CY, cyright: super::Com::CY) -> ::win #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyMulI4(cyleft: super::Com::CY, lright: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyMulI4 ( cyleft : super::Com:: CY , lright : i32 , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyMulI4 ( cyleft : super::Com:: CY , lright : i32 , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyMulI4(::core::mem::transmute(cyleft), lright, &mut result__).from_abi(result__) } @@ -1917,7 +1917,7 @@ pub unsafe fn VarCyMulI4(cyleft: super::Com::CY, lright: i32) -> ::windows::core #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyMulI8(cyleft: super::Com::CY, lright: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyMulI8 ( cyleft : super::Com:: CY , lright : i64 , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyMulI8 ( cyleft : super::Com:: CY , lright : i64 , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyMulI8(::core::mem::transmute(cyleft), lright, &mut result__).from_abi(result__) } @@ -1925,7 +1925,7 @@ pub unsafe fn VarCyMulI8(cyleft: super::Com::CY, lright: i64) -> ::windows::core #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyNeg(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyNeg ( cyin : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyNeg ( cyin : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyNeg(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } @@ -1933,7 +1933,7 @@ pub unsafe fn VarCyNeg(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCyRound ( cyin : super::Com:: CY , cdecimals : i32 , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCyRound ( cyin : super::Com:: CY , cdecimals : i32 , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCyRound(::core::mem::transmute(cyin), cdecimals, &mut result__).from_abi(result__) } @@ -1941,7 +1941,7 @@ pub unsafe fn VarCyRound(cyin: super::Com::CY, cdecimals: i32) -> ::windows::cor #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCySub(cyleft: super::Com::CY, cyright: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarCySub ( cyleft : super::Com:: CY , cyright : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarCySub ( cyleft : super::Com:: CY , cyright : super::Com:: CY , pcyresult : *mut super::Com:: CY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarCySub(::core::mem::transmute(cyleft), ::core::mem::transmute(cyright), &mut result__).from_abi(result__) } @@ -1952,7 +1952,7 @@ pub unsafe fn VarDateFromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -1960,7 +1960,7 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarDateFromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromCy ( cyin : super::Com:: CY , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromCy ( cyin : super::Com:: CY , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } @@ -1968,7 +1968,7 @@ pub unsafe fn VarDateFromCy(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromDec(pdecin, &mut result__).from_abi(result__) } @@ -1979,7 +1979,7 @@ pub unsafe fn VarDateFromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -1990,42 +1990,42 @@ pub unsafe fn VarDateFromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromI1 ( cin : super::super::Foundation:: CHAR , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromI1 ( cin : super::super::Foundation:: CHAR , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromI2 ( sin : i16 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromI2 ( sin : i16 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromI2(sin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromI4(lin: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromI4 ( lin : i32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromI4 ( lin : i32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromI4(lin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromI8 ( i64in : i64 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromI8 ( i64in : i64 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromR4 ( fltin : f32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromR4 ( fltin : f32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromR4(fltin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromR8 ( dblin : f64 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromR8 ( dblin : f64 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromR8(dblin, &mut result__).from_abi(result__) } @@ -2035,35 +2035,35 @@ pub unsafe fn VarDateFromStr(strin: P0, lcid: u32, dwflags: u32) -> ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromUI1 ( bin : u8 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromUI1 ( bin : u8 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromUI2 ( uiin : u16 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromUI2 ( uiin : u16 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromUI4 ( ulin : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromUI4 ( ulin : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromUI4(ulin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarDateFromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromUI8 ( ui64in : u64 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromUI8 ( ui64in : u64 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromUI8(ui64in, &mut result__).from_abi(result__) } @@ -2071,7 +2071,7 @@ pub unsafe fn VarDateFromUI8(ui64in: u64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDateFromUdate(pudatein: *const UDATE, dwflags: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromUdate ( pudatein : *const UDATE , dwflags : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromUdate ( pudatein : *const UDATE , dwflags : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromUdate(pudatein, dwflags, &mut result__).from_abi(result__) } @@ -2079,7 +2079,7 @@ pub unsafe fn VarDateFromUdate(pudatein: *const UDATE, dwflags: u32) -> ::window #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDateFromUdateEx(pudatein: *const UDATE, lcid: u32, dwflags: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDateFromUdateEx ( pudatein : *const UDATE , lcid : u32 , dwflags : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDateFromUdateEx ( pudatein : *const UDATE , lcid : u32 , dwflags : u32 , pdateout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDateFromUdateEx(pudatein, lcid, dwflags, &mut result__).from_abi(result__) } @@ -2087,7 +2087,7 @@ pub unsafe fn VarDateFromUdateEx(pudatein: *const UDATE, lcid: u32, dwflags: u32 #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecAbs(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecAbs ( pdecin : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecAbs ( pdecin : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecAbs(pdecin, &mut result__).from_abi(result__) } @@ -2095,7 +2095,7 @@ pub unsafe fn VarDecAbs(pdecin: *const super::super::Foundation::DECIMAL) -> ::w #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecAdd(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecAdd ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecAdd ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecAdd(pdecleft, pdecright, &mut result__).from_abi(result__) } @@ -2103,21 +2103,21 @@ pub unsafe fn VarDecAdd(pdecleft: *const super::super::Foundation::DECIMAL, pdec #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecCmp(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> VARCMP { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecCmp ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL ) -> VARCMP ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecCmp ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL ) -> VARCMP ); VarDecCmp(pdecleft, pdecright) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecCmpR8(pdecleft: *const super::super::Foundation::DECIMAL, dblright: f64) -> VARCMP { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecCmpR8 ( pdecleft : *const super::super::Foundation:: DECIMAL , dblright : f64 ) -> VARCMP ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecCmpR8 ( pdecleft : *const super::super::Foundation:: DECIMAL , dblright : f64 ) -> VARCMP ); VarDecCmpR8(pdecleft, dblright) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecDiv(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecDiv ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecDiv ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecDiv(pdecleft, pdecright, &mut result__).from_abi(result__) } @@ -2125,7 +2125,7 @@ pub unsafe fn VarDecDiv(pdecleft: *const super::super::Foundation::DECIMAL, pdec #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecFix(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFix ( pdecin : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFix ( pdecin : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFix(pdecin, &mut result__).from_abi(result__) } @@ -2136,7 +2136,7 @@ pub unsafe fn VarDecFromBool(boolin: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -2144,7 +2144,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarDecFromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromCy ( cyin : super::Com:: CY , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromCy ( cyin : super::Com:: CY , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } @@ -2152,7 +2152,7 @@ pub unsafe fn VarDecFromCy(cyin: super::Com::CY) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromDate ( datein : f64 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromDate ( datein : f64 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromDate(datein, &mut result__).from_abi(result__) } @@ -2163,7 +2163,7 @@ pub unsafe fn VarDecFromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Res where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -2174,7 +2174,7 @@ pub unsafe fn VarDecFromI1(cin: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromI1 ( cin : super::super::Foundation:: CHAR , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromI1 ( cin : super::super::Foundation:: CHAR , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromI1(cin.into(), &mut result__).from_abi(result__) } @@ -2182,7 +2182,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecFromI2(uiin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromI2 ( uiin : i16 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromI2 ( uiin : i16 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromI2(uiin, &mut result__).from_abi(result__) } @@ -2190,7 +2190,7 @@ pub unsafe fn VarDecFromI2(uiin: i16) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromI4 ( lin : i32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromI4 ( lin : i32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromI4(lin, &mut result__).from_abi(result__) } @@ -2198,7 +2198,7 @@ pub unsafe fn VarDecFromI4(lin: i32) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromI8 ( i64in : i64 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromI8 ( i64in : i64 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromI8(i64in, &mut result__).from_abi(result__) } @@ -2206,7 +2206,7 @@ pub unsafe fn VarDecFromI8(i64in: i64) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromR4 ( fltin : f32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromR4 ( fltin : f32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromR4(fltin, &mut result__).from_abi(result__) } @@ -2214,7 +2214,7 @@ pub unsafe fn VarDecFromR4(fltin: f32) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromR8 ( dblin : f64 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromR8 ( dblin : f64 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromR8(dblin, &mut result__).from_abi(result__) } @@ -2225,7 +2225,7 @@ pub unsafe fn VarDecFromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } @@ -2233,7 +2233,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecFromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromUI1 ( bin : u8 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromUI1 ( bin : u8 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromUI1(bin, &mut result__).from_abi(result__) } @@ -2241,7 +2241,7 @@ pub unsafe fn VarDecFromUI1(bin: u8) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromUI2 ( uiin : u16 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromUI2 ( uiin : u16 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromUI2(uiin, &mut result__).from_abi(result__) } @@ -2249,7 +2249,7 @@ pub unsafe fn VarDecFromUI2(uiin: u16) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromUI4 ( ulin : u32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromUI4 ( ulin : u32 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromUI4(ulin, &mut result__).from_abi(result__) } @@ -2257,7 +2257,7 @@ pub unsafe fn VarDecFromUI4(ulin: u32) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecFromUI8 ( ui64in : u64 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecFromUI8 ( ui64in : u64 , pdecout : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecFromUI8(ui64in, &mut result__).from_abi(result__) } @@ -2265,7 +2265,7 @@ pub unsafe fn VarDecFromUI8(ui64in: u64) -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecInt ( pdecin : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecInt ( pdecin : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecInt(pdecin, &mut result__).from_abi(result__) } @@ -2273,7 +2273,7 @@ pub unsafe fn VarDecInt(pdecin: *const super::super::Foundation::DECIMAL) -> ::w #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecMul(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecMul ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecMul ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecMul(pdecleft, pdecright, &mut result__).from_abi(result__) } @@ -2281,7 +2281,7 @@ pub unsafe fn VarDecMul(pdecleft: *const super::super::Foundation::DECIMAL, pdec #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecNeg(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecNeg ( pdecin : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecNeg ( pdecin : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecNeg(pdecin, &mut result__).from_abi(result__) } @@ -2289,7 +2289,7 @@ pub unsafe fn VarDecNeg(pdecin: *const super::super::Foundation::DECIMAL) -> ::w #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecRound(pdecin: *const super::super::Foundation::DECIMAL, cdecimals: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecRound ( pdecin : *const super::super::Foundation:: DECIMAL , cdecimals : i32 , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecRound ( pdecin : *const super::super::Foundation:: DECIMAL , cdecimals : i32 , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecRound(pdecin, cdecimals, &mut result__).from_abi(result__) } @@ -2297,7 +2297,7 @@ pub unsafe fn VarDecRound(pdecin: *const super::super::Foundation::DECIMAL, cdec #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarDecSub(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDecSub ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDecSub ( pdecleft : *const super::super::Foundation:: DECIMAL , pdecright : *const super::super::Foundation:: DECIMAL , pdecresult : *mut super::super::Foundation:: DECIMAL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDecSub(pdecleft, pdecright, &mut result__).from_abi(result__) } @@ -2305,7 +2305,7 @@ pub unsafe fn VarDecSub(pdecleft: *const super::super::Foundation::DECIMAL, pdec #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarDiv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarDiv ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarDiv ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarDiv(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -2313,7 +2313,7 @@ pub unsafe fn VarDiv(pvarleft: *const super::Com::VARIANT, pvarright: *const sup #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarEqv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarEqv ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarEqv ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarEqv(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -2321,7 +2321,7 @@ pub unsafe fn VarEqv(pvarleft: *const super::Com::VARIANT, pvarright: *const sup #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarFix(pvarin: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarFix ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarFix ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarFix(pvarin, &mut result__).from_abi(result__) } @@ -2332,7 +2332,7 @@ pub unsafe fn VarFormat(pvarin: *const super::Com::VARIANT, pstrformat: P0, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarFormat ( pvarin : *const super::Com:: VARIANT , pstrformat : :: windows::core::PCWSTR , ifirstday : VARFORMAT_FIRST_DAY , ifirstweek : VARFORMAT_FIRST_WEEK , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarFormat ( pvarin : *const super::Com:: VARIANT , pstrformat : :: windows::core::PCWSTR , ifirstday : VARFORMAT_FIRST_DAY , ifirstweek : VARFORMAT_FIRST_WEEK , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarFormat(pvarin, pstrformat.into().abi(), ifirstday, ifirstweek, dwflags, &mut result__).from_abi(result__) } @@ -2340,7 +2340,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarFormatCurrency(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: i32, iuseparens: i32, igroup: i32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarFormatCurrency ( pvarin : *const super::Com:: VARIANT , inumdig : i32 , iinclead : i32 , iuseparens : i32 , igroup : i32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarFormatCurrency ( pvarin : *const super::Com:: VARIANT , inumdig : i32 , iinclead : i32 , iuseparens : i32 , igroup : i32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarFormatCurrency(pvarin, inumdig, iinclead, iuseparens, igroup, dwflags, &mut result__).from_abi(result__) } @@ -2348,7 +2348,7 @@ pub unsafe fn VarFormatCurrency(pvarin: *const super::Com::VARIANT, inumdig: i32 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarFormatDateTime(pvarin: *const super::Com::VARIANT, inamedformat: VARFORMAT_NAMED_FORMAT, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarFormatDateTime ( pvarin : *const super::Com:: VARIANT , inamedformat : VARFORMAT_NAMED_FORMAT , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarFormatDateTime ( pvarin : *const super::Com:: VARIANT , inamedformat : VARFORMAT_NAMED_FORMAT , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarFormatDateTime(pvarin, inamedformat, dwflags, &mut result__).from_abi(result__) } @@ -2359,14 +2359,14 @@ pub unsafe fn VarFormatFromTokens(pvarin: *const super::Com::VARIANT, pstrfo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarFormatFromTokens ( pvarin : *const super::Com:: VARIANT , pstrformat : :: windows::core::PCWSTR , pbtokcur : *const u8 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > , lcid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarFormatFromTokens ( pvarin : *const super::Com:: VARIANT , pstrformat : :: windows::core::PCWSTR , pbtokcur : *const u8 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > , lcid : u32 ) -> :: windows::core::HRESULT ); VarFormatFromTokens(pvarin, pstrformat.into().abi(), pbtokcur, dwflags, ::core::mem::transmute(pbstrout), lcid).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarFormatNumber(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: VARFORMAT_LEADING_DIGIT, iuseparens: VARFORMAT_PARENTHESES, igroup: VARFORMAT_GROUP, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarFormatNumber ( pvarin : *const super::Com:: VARIANT , inumdig : i32 , iinclead : VARFORMAT_LEADING_DIGIT , iuseparens : VARFORMAT_PARENTHESES , igroup : VARFORMAT_GROUP , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarFormatNumber ( pvarin : *const super::Com:: VARIANT , inumdig : i32 , iinclead : VARFORMAT_LEADING_DIGIT , iuseparens : VARFORMAT_PARENTHESES , igroup : VARFORMAT_GROUP , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarFormatNumber(pvarin, inumdig, iinclead, iuseparens, igroup, dwflags, &mut result__).from_abi(result__) } @@ -2374,7 +2374,7 @@ pub unsafe fn VarFormatNumber(pvarin: *const super::Com::VARIANT, inumdig: i32, #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarFormatPercent(pvarin: *const super::Com::VARIANT, inumdig: i32, iinclead: VARFORMAT_LEADING_DIGIT, iuseparens: VARFORMAT_PARENTHESES, igroup: VARFORMAT_GROUP, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarFormatPercent ( pvarin : *const super::Com:: VARIANT , inumdig : i32 , iinclead : VARFORMAT_LEADING_DIGIT , iuseparens : VARFORMAT_PARENTHESES , igroup : VARFORMAT_GROUP , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarFormatPercent ( pvarin : *const super::Com:: VARIANT , inumdig : i32 , iinclead : VARFORMAT_LEADING_DIGIT , iuseparens : VARFORMAT_PARENTHESES , igroup : VARFORMAT_GROUP , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarFormatPercent(pvarin, inumdig, iinclead, iuseparens, igroup, dwflags, &mut result__).from_abi(result__) } @@ -2385,27 +2385,27 @@ pub unsafe fn VarI1FromBool(boolin: P0, pcout: ::windows::core::PSTR) -> ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromBool(boolin.into(), ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarI1FromCy(cyin: super::Com::CY, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromCy ( cyin : super::Com:: CY , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromCy ( cyin : super::Com:: CY , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromCy(::core::mem::transmute(cyin), ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromDate(datein: f64, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromDate ( datein : f64 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromDate ( datein : f64 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromDate(datein, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarI1FromDec(pdecin: *const super::super::Foundation::DECIMAL, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromDec(pdecin, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] @@ -2415,37 +2415,37 @@ pub unsafe fn VarI1FromDisp(pdispin: P0, lcid: u32, pcout: ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromDisp(pdispin.into().abi(), lcid, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromI2(uiin: i16, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromI2 ( uiin : i16 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromI2 ( uiin : i16 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromI2(uiin, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromI4(lin: i32, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromI4 ( lin : i32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromI4 ( lin : i32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromI4(lin, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromI8(i64in: i64, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromI8 ( i64in : i64 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromI8 ( i64in : i64 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromI8(i64in, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromR4(fltin: f32, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromR4 ( fltin : f32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromR4 ( fltin : f32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromR4(fltin, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromR8(dblin: f64, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromR8 ( dblin : f64 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromR8 ( dblin : f64 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromR8(dblin, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -2454,31 +2454,31 @@ pub unsafe fn VarI1FromStr(strin: P0, lcid: u32, dwflags: u32, pcout: ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromStr(strin.into().abi(), lcid, dwflags, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromUI1(bin: u8, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromUI1 ( bin : u8 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromUI1 ( bin : u8 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromUI1(bin, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromUI2(uiin: u16, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromUI2 ( uiin : u16 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromUI2 ( uiin : u16 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromUI2(uiin, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromUI4(ulin: u32, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromUI4 ( ulin : u32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromUI4 ( ulin : u32 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromUI4(ulin, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI1FromUI8(i64in: u64, pcout: ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI1FromUI8 ( i64in : u64 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI1FromUI8 ( i64in : u64 , pcout : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); VarI1FromUI8(i64in, ::core::mem::transmute(pcout)).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -2488,7 +2488,7 @@ pub unsafe fn VarI2FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -2496,13 +2496,13 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarI2FromCy(cyin: super::Com::CY, psout: *mut i16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromCy ( cyin : super::Com:: CY , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromCy ( cyin : super::Com:: CY , psout : *mut i16 ) -> :: windows::core::HRESULT ); VarI2FromCy(::core::mem::transmute(cyin), psout).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromDate ( datein : f64 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromDate ( datein : f64 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromDate(datein, &mut result__).from_abi(result__) } @@ -2510,7 +2510,7 @@ pub unsafe fn VarI2FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarI2FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromDec(pdecin, &mut result__).from_abi(result__) } @@ -2521,7 +2521,7 @@ pub unsafe fn VarI2FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -2532,35 +2532,35 @@ pub unsafe fn VarI2FromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromI1 ( cin : super::super::Foundation:: CHAR , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromI1 ( cin : super::super::Foundation:: CHAR , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromI4(lin: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromI4 ( lin : i32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromI4 ( lin : i32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromI4(lin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromI8 ( i64in : i64 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromI8 ( i64in : i64 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromR4 ( fltin : f32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromR4 ( fltin : f32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromR4(fltin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromR8 ( dblin : f64 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromR8 ( dblin : f64 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromR8(dblin, &mut result__).from_abi(result__) } @@ -2570,35 +2570,35 @@ pub unsafe fn VarI2FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromUI1 ( bin : u8 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromUI1 ( bin : u8 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromUI2 ( uiin : u16 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromUI2 ( uiin : u16 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromUI4 ( ulin : u32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromUI4 ( ulin : u32 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromUI4(ulin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI2FromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI2FromUI8 ( ui64in : u64 , psout : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI2FromUI8 ( ui64in : u64 , psout : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI2FromUI8(ui64in, &mut result__).from_abi(result__) } @@ -2609,7 +2609,7 @@ pub unsafe fn VarI4FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -2617,14 +2617,14 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarI4FromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromCy ( cyin : super::Com:: CY , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromCy ( cyin : super::Com:: CY , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromDate ( datein : f64 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromDate ( datein : f64 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromDate(datein, &mut result__).from_abi(result__) } @@ -2632,7 +2632,7 @@ pub unsafe fn VarI4FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarI4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromDec(pdecin, &mut result__).from_abi(result__) } @@ -2643,7 +2643,7 @@ pub unsafe fn VarI4FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -2654,35 +2654,35 @@ pub unsafe fn VarI4FromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromI1 ( cin : super::super::Foundation:: CHAR , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromI1 ( cin : super::super::Foundation:: CHAR , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromI2 ( sin : i16 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromI2 ( sin : i16 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromI2(sin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromI8 ( i64in : i64 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromI8 ( i64in : i64 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromR4 ( fltin : f32 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromR4 ( fltin : f32 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromR4(fltin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromR8 ( dblin : f64 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromR8 ( dblin : f64 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromR8(dblin, &mut result__).from_abi(result__) } @@ -2692,35 +2692,35 @@ pub unsafe fn VarI4FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromUI1 ( bin : u8 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromUI1 ( bin : u8 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromUI2 ( uiin : u16 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromUI2 ( uiin : u16 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromUI4 ( ulin : u32 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromUI4 ( ulin : u32 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromUI4(ulin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI4FromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI4FromUI8 ( ui64in : u64 , plout : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI4FromUI8 ( ui64in : u64 , plout : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI4FromUI8(ui64in, &mut result__).from_abi(result__) } @@ -2731,7 +2731,7 @@ pub unsafe fn VarI8FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -2739,14 +2739,14 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarI8FromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromCy ( cyin : super::Com:: CY , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromCy ( cyin : super::Com:: CY , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI8FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromDate ( datein : f64 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromDate ( datein : f64 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromDate(datein, &mut result__).from_abi(result__) } @@ -2754,7 +2754,7 @@ pub unsafe fn VarI8FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarI8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromDec(pdecin, &mut result__).from_abi(result__) } @@ -2765,7 +2765,7 @@ pub unsafe fn VarI8FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -2776,28 +2776,28 @@ pub unsafe fn VarI8FromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromI1 ( cin : super::super::Foundation:: CHAR , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromI1 ( cin : super::super::Foundation:: CHAR , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI8FromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromI2 ( sin : i16 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromI2 ( sin : i16 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromI2(sin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI8FromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromR4 ( fltin : f32 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromR4 ( fltin : f32 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromR4(fltin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI8FromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromR8 ( dblin : f64 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromR8 ( dblin : f64 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromR8(dblin, &mut result__).from_abi(result__) } @@ -2807,35 +2807,35 @@ pub unsafe fn VarI8FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI8FromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromUI1 ( bin : u8 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromUI1 ( bin : u8 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI8FromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromUI2 ( uiin : u16 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromUI2 ( uiin : u16 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI8FromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromUI4 ( ulin : u32 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromUI4 ( ulin : u32 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromUI4(ulin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarI8FromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarI8FromUI8 ( ui64in : u64 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarI8FromUI8 ( ui64in : u64 , pi64out : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarI8FromUI8(ui64in, &mut result__).from_abi(result__) } @@ -2843,7 +2843,7 @@ pub unsafe fn VarI8FromUI8(ui64in: u64) -> ::windows::core::Result { #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarIdiv(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarIdiv ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarIdiv ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarIdiv(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -2851,7 +2851,7 @@ pub unsafe fn VarIdiv(pvarleft: *const super::Com::VARIANT, pvarright: *const su #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarImp(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarImp ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarImp ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarImp(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -2859,7 +2859,7 @@ pub unsafe fn VarImp(pvarleft: *const super::Com::VARIANT, pvarright: *const sup #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarInt(pvarin: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarInt ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarInt ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarInt(pvarin, &mut result__).from_abi(result__) } @@ -2867,14 +2867,14 @@ pub unsafe fn VarInt(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarMod(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarMod ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarMod ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarMod(pvarleft, pvarright, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarMonthName(imonth: i32, fabbrev: i32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarMonthName ( imonth : i32 , fabbrev : i32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarMonthName ( imonth : i32 , fabbrev : i32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarMonthName(imonth, fabbrev, dwflags, &mut result__).from_abi(result__) } @@ -2882,7 +2882,7 @@ pub unsafe fn VarMonthName(imonth: i32, fabbrev: i32, dwflags: u32) -> ::windows #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarMul(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarMul ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarMul ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarMul(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -2890,7 +2890,7 @@ pub unsafe fn VarMul(pvarleft: *const super::Com::VARIANT, pvarright: *const sup #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarNeg(pvarin: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarNeg ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarNeg ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarNeg(pvarin, &mut result__).from_abi(result__) } @@ -2898,7 +2898,7 @@ pub unsafe fn VarNeg(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarNot(pvarin: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarNot ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarNot ( pvarin : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarNot(pvarin, &mut result__).from_abi(result__) } @@ -2906,7 +2906,7 @@ pub unsafe fn VarNot(pvarin: *const super::Com::VARIANT) -> ::windows::core::Res #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarNumFromParseNum(pnumprs: *const NUMPARSE, rgbdig: *const u8, dwvtbits: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarNumFromParseNum ( pnumprs : *const NUMPARSE , rgbdig : *const u8 , dwvtbits : u32 , pvar : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarNumFromParseNum ( pnumprs : *const NUMPARSE , rgbdig : *const u8 , dwvtbits : u32 , pvar : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarNumFromParseNum(pnumprs, rgbdig, dwvtbits, &mut result__).from_abi(result__) } @@ -2914,7 +2914,7 @@ pub unsafe fn VarNumFromParseNum(pnumprs: *const NUMPARSE, rgbdig: *const u8, dw #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarOr(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarOr ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarOr ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarOr(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -2924,21 +2924,21 @@ pub unsafe fn VarParseNumFromStr(strin: P0, lcid: u32, dwflags: u32, pnumprs where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarParseNumFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pnumprs : *mut NUMPARSE , rgbdig : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarParseNumFromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pnumprs : *mut NUMPARSE , rgbdig : *mut u8 ) -> :: windows::core::HRESULT ); VarParseNumFromStr(strin.into().abi(), lcid, dwflags, pnumprs, rgbdig).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarPow(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarPow ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarPow ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarPow(pvarleft, pvarright, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4CmpR8(fltleft: f32, dblright: f64) -> VARCMP { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4CmpR8 ( fltleft : f32 , dblright : f64 ) -> VARCMP ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4CmpR8 ( fltleft : f32 , dblright : f64 ) -> VARCMP ); VarR4CmpR8(fltleft, dblright) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -2948,7 +2948,7 @@ pub unsafe fn VarR4FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -2956,13 +2956,13 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarR4FromCy(cyin: super::Com::CY, pfltout: *mut f32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromCy ( cyin : super::Com:: CY , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromCy ( cyin : super::Com:: CY , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); VarR4FromCy(::core::mem::transmute(cyin), pfltout).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromDate ( datein : f64 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromDate ( datein : f64 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromDate(datein, &mut result__).from_abi(result__) } @@ -2970,7 +2970,7 @@ pub unsafe fn VarR4FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarR4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromDec(pdecin, &mut result__).from_abi(result__) } @@ -2981,7 +2981,7 @@ pub unsafe fn VarR4FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -2992,35 +2992,35 @@ pub unsafe fn VarR4FromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromI1 ( cin : super::super::Foundation:: CHAR , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromI1 ( cin : super::super::Foundation:: CHAR , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromI2 ( sin : i16 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromI2 ( sin : i16 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromI2(sin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromI4(lin: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromI4 ( lin : i32 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromI4 ( lin : i32 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromI4(lin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromI8 ( i64in : i64 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromI8 ( i64in : i64 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromR8 ( dblin : f64 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromR8 ( dblin : f64 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromR8(dblin, &mut result__).from_abi(result__) } @@ -3030,35 +3030,35 @@ pub unsafe fn VarR4FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromUI1 ( bin : u8 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromUI1 ( bin : u8 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromUI2 ( uiin : u16 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromUI2 ( uiin : u16 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromUI4 ( ulin : u32 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromUI4 ( ulin : u32 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromUI4(ulin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR4FromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR4FromUI8 ( ui64in : u64 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR4FromUI8 ( ui64in : u64 , pfltout : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR4FromUI8(ui64in, &mut result__).from_abi(result__) } @@ -3069,7 +3069,7 @@ pub unsafe fn VarR8FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -3077,13 +3077,13 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarR8FromCy(cyin: super::Com::CY, pdblout: *mut f64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromCy ( cyin : super::Com:: CY , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromCy ( cyin : super::Com:: CY , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); VarR8FromCy(::core::mem::transmute(cyin), pdblout).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromDate ( datein : f64 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromDate ( datein : f64 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromDate(datein, &mut result__).from_abi(result__) } @@ -3091,7 +3091,7 @@ pub unsafe fn VarR8FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarR8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromDec(pdecin, &mut result__).from_abi(result__) } @@ -3102,7 +3102,7 @@ pub unsafe fn VarR8FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -3113,34 +3113,34 @@ pub unsafe fn VarR8FromI1(cin: P0, pdblout: *mut f64) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromI1 ( cin : super::super::Foundation:: CHAR , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromI1 ( cin : super::super::Foundation:: CHAR , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); VarR8FromI1(cin.into(), pdblout).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromI2 ( sin : i16 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromI2 ( sin : i16 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromI2(sin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromI4(lin: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromI4 ( lin : i32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromI4 ( lin : i32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromI4(lin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromI8 ( i64in : i64 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromI8 ( i64in : i64 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromR4 ( fltin : f32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromR4 ( fltin : f32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromR4(fltin, &mut result__).from_abi(result__) } @@ -3150,49 +3150,49 @@ pub unsafe fn VarR8FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromUI1 ( bin : u8 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromUI1 ( bin : u8 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromUI2 ( uiin : u16 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromUI2 ( uiin : u16 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromUI4 ( ulin : u32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromUI4 ( ulin : u32 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromUI4(ulin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8FromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8FromUI8 ( ui64in : u64 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8FromUI8 ( ui64in : u64 , pdblout : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8FromUI8(ui64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8Pow(dblleft: f64, dblright: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8Pow ( dblleft : f64 , dblright : f64 , pdblresult : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8Pow ( dblleft : f64 , dblright : f64 , pdblresult : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8Pow(dblleft, dblright, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarR8Round(dblin: f64, cdecimals: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarR8Round ( dblin : f64 , cdecimals : i32 , pdblresult : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarR8Round ( dblin : f64 , cdecimals : i32 , pdblresult : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarR8Round(dblin, cdecimals, &mut result__).from_abi(result__) } @@ -3200,7 +3200,7 @@ pub unsafe fn VarR8Round(dblin: f64, cdecimals: i32) -> ::windows::core::Result< #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarRound(pvarin: *const super::Com::VARIANT, cdecimals: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarRound ( pvarin : *const super::Com:: VARIANT , cdecimals : i32 , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarRound ( pvarin : *const super::Com:: VARIANT , cdecimals : i32 , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarRound(pvarin, cdecimals, &mut result__).from_abi(result__) } @@ -3208,7 +3208,7 @@ pub unsafe fn VarRound(pvarin: *const super::Com::VARIANT, cdecimals: i32) -> :: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarSub(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarSub ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarSub ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarSub(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -3218,7 +3218,7 @@ pub unsafe fn VarTokenizeFormatString(pstrformat: P0, rgbtok: &mut [u8], ifi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarTokenizeFormatString ( pstrformat : :: windows::core::PCWSTR , rgbtok : *mut u8 , cbtok : i32 , ifirstday : VARFORMAT_FIRST_DAY , ifirstweek : VARFORMAT_FIRST_WEEK , lcid : u32 , pcbactual : *const i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarTokenizeFormatString ( pstrformat : :: windows::core::PCWSTR , rgbtok : *mut u8 , cbtok : i32 , ifirstday : VARFORMAT_FIRST_DAY , ifirstweek : VARFORMAT_FIRST_WEEK , lcid : u32 , pcbactual : *const i32 ) -> :: windows::core::HRESULT ); VarTokenizeFormatString(pstrformat.into().abi(), ::core::mem::transmute(rgbtok.as_ptr()), rgbtok.len() as _, ifirstday, ifirstweek, lcid, ::core::mem::transmute(pcbactual.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] @@ -3228,7 +3228,7 @@ pub unsafe fn VarUI1FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -3236,14 +3236,14 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarUI1FromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromCy ( cyin : super::Com:: CY , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromCy ( cyin : super::Com:: CY , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromDate ( datein : f64 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromDate ( datein : f64 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromDate(datein, &mut result__).from_abi(result__) } @@ -3251,7 +3251,7 @@ pub unsafe fn VarUI1FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarUI1FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromDec(pdecin, &mut result__).from_abi(result__) } @@ -3262,7 +3262,7 @@ pub unsafe fn VarUI1FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Res where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -3273,42 +3273,42 @@ pub unsafe fn VarUI1FromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromI1 ( cin : super::super::Foundation:: CHAR , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromI1 ( cin : super::super::Foundation:: CHAR , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromI2 ( sin : i16 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromI2 ( sin : i16 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromI2(sin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromI4(lin: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromI4 ( lin : i32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromI4 ( lin : i32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromI4(lin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromI8 ( i64in : i64 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromI8 ( i64in : i64 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromR4 ( fltin : f32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromR4 ( fltin : f32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromR4(fltin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromR8 ( dblin : f64 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromR8 ( dblin : f64 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromR8(dblin, &mut result__).from_abi(result__) } @@ -3318,28 +3318,28 @@ pub unsafe fn VarUI1FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromUI2 ( uiin : u16 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromUI2 ( uiin : u16 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromUI4 ( ulin : u32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromUI4 ( ulin : u32 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromUI4(ulin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI1FromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI1FromUI8 ( ui64in : u64 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI1FromUI8 ( ui64in : u64 , pbout : *mut u8 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI1FromUI8(ui64in, &mut result__).from_abi(result__) } @@ -3350,7 +3350,7 @@ pub unsafe fn VarUI2FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -3358,14 +3358,14 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarUI2FromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromCy ( cyin : super::Com:: CY , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromCy ( cyin : super::Com:: CY , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromDate ( datein : f64 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromDate ( datein : f64 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromDate(datein, &mut result__).from_abi(result__) } @@ -3373,7 +3373,7 @@ pub unsafe fn VarUI2FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarUI2FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromDec(pdecin, &mut result__).from_abi(result__) } @@ -3384,7 +3384,7 @@ pub unsafe fn VarUI2FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Res where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -3395,42 +3395,42 @@ pub unsafe fn VarUI2FromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromI1 ( cin : super::super::Foundation:: CHAR , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromI1 ( cin : super::super::Foundation:: CHAR , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromI2(uiin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromI2 ( uiin : i16 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromI2 ( uiin : i16 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromI4(lin: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromI4 ( lin : i32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromI4 ( lin : i32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromI4(lin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromI8 ( i64in : i64 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromI8 ( i64in : i64 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromR4 ( fltin : f32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromR4 ( fltin : f32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromR4(fltin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromR8(dblin: f64, puiout: *mut u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromR8 ( dblin : f64 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromR8 ( dblin : f64 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); VarUI2FromR8(dblin, puiout).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -3439,28 +3439,28 @@ pub unsafe fn VarUI2FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromUI1 ( bin : u8 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromUI1 ( bin : u8 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromUI4 ( ulin : u32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromUI4 ( ulin : u32 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromUI4(ulin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI2FromUI8(i64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI2FromUI8 ( i64in : u64 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI2FromUI8 ( i64in : u64 , puiout : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI2FromUI8(i64in, &mut result__).from_abi(result__) } @@ -3471,7 +3471,7 @@ pub unsafe fn VarUI4FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -3479,14 +3479,14 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarUI4FromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromCy ( cyin : super::Com:: CY , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromCy ( cyin : super::Com:: CY , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromDate ( datein : f64 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromDate ( datein : f64 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromDate(datein, &mut result__).from_abi(result__) } @@ -3494,7 +3494,7 @@ pub unsafe fn VarUI4FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarUI4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromDec(pdecin, &mut result__).from_abi(result__) } @@ -3505,7 +3505,7 @@ pub unsafe fn VarUI4FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Res where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -3516,42 +3516,42 @@ pub unsafe fn VarUI4FromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromI1 ( cin : super::super::Foundation:: CHAR , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromI1 ( cin : super::super::Foundation:: CHAR , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromI2(uiin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromI2 ( uiin : i16 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromI2 ( uiin : i16 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromI4(lin: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromI4 ( lin : i32 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromI4 ( lin : i32 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromI4(lin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromI8(i64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromI8 ( i64in : i64 , plout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromI8 ( i64in : i64 , plout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromI8(i64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromR4 ( fltin : f32 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromR4 ( fltin : f32 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromR4(fltin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromR8 ( dblin : f64 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromR8 ( dblin : f64 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromR8(dblin, &mut result__).from_abi(result__) } @@ -3561,28 +3561,28 @@ pub unsafe fn VarUI4FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromUI1 ( bin : u8 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromUI1 ( bin : u8 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromUI2 ( uiin : u16 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromUI2 ( uiin : u16 , pulout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI4FromUI8(ui64in: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI4FromUI8 ( ui64in : u64 , plout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI4FromUI8 ( ui64in : u64 , plout : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI4FromUI8(ui64in, &mut result__).from_abi(result__) } @@ -3593,7 +3593,7 @@ pub unsafe fn VarUI8FromBool(boolin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromBool ( boolin : super::super::Foundation:: VARIANT_BOOL , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromBool(boolin.into(), &mut result__).from_abi(result__) } @@ -3601,14 +3601,14 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarUI8FromCy(cyin: super::Com::CY) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromCy ( cyin : super::Com:: CY , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromCy ( cyin : super::Com:: CY , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromCy(::core::mem::transmute(cyin), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI8FromDate(datein: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromDate ( datein : f64 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromDate ( datein : f64 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromDate(datein, &mut result__).from_abi(result__) } @@ -3616,7 +3616,7 @@ pub unsafe fn VarUI8FromDate(datein: f64) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarUI8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromDec ( pdecin : *const super::super::Foundation:: DECIMAL , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromDec(pdecin, &mut result__).from_abi(result__) } @@ -3627,7 +3627,7 @@ pub unsafe fn VarUI8FromDisp(pdispin: P0, lcid: u32) -> ::windows::core::Res where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromDisp ( pdispin : * mut::core::ffi::c_void , lcid : u32 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromDisp(pdispin.into().abi(), lcid, &mut result__).from_abi(result__) } @@ -3638,35 +3638,35 @@ pub unsafe fn VarUI8FromI1(cin: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromI1 ( cin : super::super::Foundation:: CHAR , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromI1 ( cin : super::super::Foundation:: CHAR , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromI1(cin.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI8FromI2(sin: i16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromI2 ( sin : i16 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromI2 ( sin : i16 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromI2(sin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI8FromI8(ui64in: i64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromI8 ( ui64in : i64 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromI8 ( ui64in : i64 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromI8(ui64in, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI8FromR4(fltin: f32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromR4 ( fltin : f32 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromR4 ( fltin : f32 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromR4(fltin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI8FromR8(dblin: f64) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromR8 ( dblin : f64 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromR8 ( dblin : f64 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromR8(dblin, &mut result__).from_abi(result__) } @@ -3676,28 +3676,28 @@ pub unsafe fn VarUI8FromStr(strin: P0, lcid: u32, dwflags: u32) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromStr ( strin : :: windows::core::PCWSTR , lcid : u32 , dwflags : u32 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromStr(strin.into().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI8FromUI1(bin: u8) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromUI1 ( bin : u8 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromUI1 ( bin : u8 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromUI1(bin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI8FromUI2(uiin: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromUI2 ( uiin : u16 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromUI2 ( uiin : u16 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromUI2(uiin, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarUI8FromUI4(ulin: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUI8FromUI4 ( ulin : u32 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUI8FromUI4 ( ulin : u32 , pi64out : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarUI8FromUI4(ulin, &mut result__).from_abi(result__) } @@ -3705,13 +3705,13 @@ pub unsafe fn VarUI8FromUI4(ulin: u32) -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VarUdateFromDate(datein: f64, dwflags: u32, pudateout: *mut UDATE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarUdateFromDate ( datein : f64 , dwflags : u32 , pudateout : *mut UDATE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarUdateFromDate ( datein : f64 , dwflags : u32 , pudateout : *mut UDATE ) -> :: windows::core::HRESULT ); VarUdateFromDate(datein, dwflags, pudateout).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VarWeekdayName(iweekday: i32, fabbrev: i32, ifirstday: i32, dwflags: u32) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarWeekdayName ( iweekday : i32 , fabbrev : i32 , ifirstday : i32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarWeekdayName ( iweekday : i32 , fabbrev : i32 , ifirstday : i32 , dwflags : u32 , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); VarWeekdayName(iweekday, fabbrev, ifirstday, dwflags, &mut result__).from_abi(result__) } @@ -3719,7 +3719,7 @@ pub unsafe fn VarWeekdayName(iweekday: i32, fabbrev: i32, ifirstday: i32, dwflag #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VarXor(pvarleft: *const super::Com::VARIANT, pvarright: *const super::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "oleaut32.dll""system" fn VarXor ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VarXor ( pvarleft : *const super::Com:: VARIANT , pvarright : *const super::Com:: VARIANT , pvarresult : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VarXor(pvarleft, pvarright, &mut result__).from_abi(result__) } @@ -3727,42 +3727,42 @@ pub unsafe fn VarXor(pvarleft: *const super::Com::VARIANT, pvarright: *const sup #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VariantChangeType(pvargdest: *mut super::Com::VARIANT, pvarsrc: *const super::Com::VARIANT, wflags: u16, vt: super::Com::VARENUM) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VariantChangeType ( pvargdest : *mut super::Com:: VARIANT , pvarsrc : *const super::Com:: VARIANT , wflags : u16 , vt : super::Com:: VARENUM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VariantChangeType ( pvargdest : *mut super::Com:: VARIANT , pvarsrc : *const super::Com:: VARIANT , wflags : u16 , vt : super::Com:: VARENUM ) -> :: windows::core::HRESULT ); VariantChangeType(pvargdest, pvarsrc, wflags, vt).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VariantChangeTypeEx(pvargdest: *mut super::Com::VARIANT, pvarsrc: *const super::Com::VARIANT, lcid: u32, wflags: u16, vt: super::Com::VARENUM) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VariantChangeTypeEx ( pvargdest : *mut super::Com:: VARIANT , pvarsrc : *const super::Com:: VARIANT , lcid : u32 , wflags : u16 , vt : super::Com:: VARENUM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VariantChangeTypeEx ( pvargdest : *mut super::Com:: VARIANT , pvarsrc : *const super::Com:: VARIANT , lcid : u32 , wflags : u16 , vt : super::Com:: VARENUM ) -> :: windows::core::HRESULT ); VariantChangeTypeEx(pvargdest, pvarsrc, lcid, wflags, vt).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VariantClear(pvarg: *mut super::Com::VARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VariantClear ( pvarg : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VariantClear ( pvarg : *mut super::Com:: VARIANT ) -> :: windows::core::HRESULT ); VariantClear(pvarg).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VariantCopy(pvargdest: *mut super::Com::VARIANT, pvargsrc: *const super::Com::VARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VariantCopy ( pvargdest : *mut super::Com:: VARIANT , pvargsrc : *const super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VariantCopy ( pvargdest : *mut super::Com:: VARIANT , pvargsrc : *const super::Com:: VARIANT ) -> :: windows::core::HRESULT ); VariantCopy(pvargdest, pvargsrc).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VariantCopyInd(pvardest: *mut super::Com::VARIANT, pvargsrc: *const super::Com::VARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VariantCopyInd ( pvardest : *mut super::Com:: VARIANT , pvargsrc : *const super::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VariantCopyInd ( pvardest : *mut super::Com:: VARIANT , pvargsrc : *const super::Com:: VARIANT ) -> :: windows::core::HRESULT ); VariantCopyInd(pvardest, pvargsrc).ok() } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn VariantInit() -> super::Com::VARIANT { - ::windows::core::link ! ( "oleaut32.dll""system" fn VariantInit ( pvarg : *mut super::Com:: VARIANT ) -> ( ) ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VariantInit ( pvarg : *mut super::Com:: VARIANT ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); VariantInit(&mut result__); ::std::mem::transmute(result__) @@ -3770,21 +3770,21 @@ pub unsafe fn VariantInit() -> super::Com::VARIANT { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[inline] pub unsafe fn VariantTimeToDosDateTime(vtime: f64, pwdosdate: *mut u16, pwdostime: *mut u16) -> i32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn VariantTimeToDosDateTime ( vtime : f64 , pwdosdate : *mut u16 , pwdostime : *mut u16 ) -> i32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VariantTimeToDosDateTime ( vtime : f64 , pwdosdate : *mut u16 , pwdostime : *mut u16 ) -> i32 ); VariantTimeToDosDateTime(vtime, pwdosdate, pwdostime) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VariantTimeToSystemTime(vtime: f64, lpsystemtime: *mut super::super::Foundation::SYSTEMTIME) -> i32 { - ::windows::core::link ! ( "oleaut32.dll""system" fn VariantTimeToSystemTime ( vtime : f64 , lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> i32 ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VariantTimeToSystemTime ( vtime : f64 , lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> i32 ); VariantTimeToSystemTime(vtime, lpsystemtime) } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VectorFromBstr(bstr: &::windows::core::BSTR) -> ::windows::core::Result<*mut super::Com::SAFEARRAY> { - ::windows::core::link ! ( "oleaut32.dll""system" fn VectorFromBstr ( bstr : ::std::mem::MaybeUninit <::windows::core::BSTR > , ppsa : *mut *mut super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleaut32.dll""system" fn VectorFromBstr ( bstr : ::std::mem::MaybeUninit <::windows::core::BSTR > , ppsa : *mut *mut super::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut super::Com::SAFEARRAY>(); VectorFromBstr(::core::mem::transmute_copy(bstr), &mut result__).from_abi(result__) } @@ -3827,7 +3827,7 @@ impl IAdviseSinkEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAdviseSinkEx, ::windows::core::IUnknown, super::Com::IAdviseSink); +::windows::imp::interface_hierarchy!(IAdviseSinkEx, ::windows::core::IUnknown, super::Com::IAdviseSink); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAdviseSinkEx { fn eq(&self, other: &Self) -> bool { @@ -3873,7 +3873,7 @@ impl ICanHandleException { (::windows::core::Vtable::vtable(self).CanHandleException)(::windows::core::Vtable::as_raw(self), pexcepinfo, pvar).ok() } } -::windows::core::interface_hierarchy!(ICanHandleException, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICanHandleException, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICanHandleException { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3949,7 +3949,7 @@ impl IClassFactory2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IClassFactory2, ::windows::core::IUnknown, super::Com::IClassFactory); +::windows::imp::interface_hierarchy!(IClassFactory2, ::windows::core::IUnknown, super::Com::IClassFactory); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IClassFactory2 { fn eq(&self, other: &Self) -> bool { @@ -3998,7 +3998,7 @@ impl IContinue { (::windows::core::Vtable::vtable(self).FContinue)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IContinue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContinue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContinue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4041,7 +4041,7 @@ impl IContinueCallback { (::windows::core::Vtable::vtable(self).FContinuePrinting)(::windows::core::Vtable::as_raw(self), ncntprinted, ncurpage, pwszprintstatus.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IContinueCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContinueCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContinueCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4100,7 +4100,7 @@ impl ICreateErrorInfo { (::windows::core::Vtable::vtable(self).SetHelpContext)(::windows::core::Vtable::as_raw(self), dwhelpcontext).ok() } } -::windows::core::interface_hierarchy!(ICreateErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4241,7 +4241,7 @@ impl ICreateTypeInfo { (::windows::core::Vtable::vtable(self).LayOut)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICreateTypeInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateTypeInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateTypeInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4478,7 +4478,7 @@ impl ICreateTypeInfo2 { (::windows::core::Vtable::vtable(self).SetName)(::windows::core::Vtable::as_raw(self), szname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICreateTypeInfo2, ::windows::core::IUnknown, ICreateTypeInfo); +::windows::imp::interface_hierarchy!(ICreateTypeInfo2, ::windows::core::IUnknown, ICreateTypeInfo); impl ::core::cmp::PartialEq for ICreateTypeInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4589,7 +4589,7 @@ impl ICreateTypeLib { (::windows::core::Vtable::vtable(self).SaveAllChanges)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICreateTypeLib, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateTypeLib, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateTypeLib { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4700,7 +4700,7 @@ impl ICreateTypeLib2 { (::windows::core::Vtable::vtable(self).SetHelpStringDll)(::windows::core::Vtable::as_raw(self), szfilename.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICreateTypeLib2, ::windows::core::IUnknown, ICreateTypeLib); +::windows::imp::interface_hierarchy!(ICreateTypeLib2, ::windows::core::IUnknown, ICreateTypeLib); impl ::core::cmp::PartialEq for ICreateTypeLib2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4763,7 +4763,7 @@ impl IDispError { (::windows::core::Vtable::vtable(self).GetDescription)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDispError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDispError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDispError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4839,7 +4839,7 @@ impl IDispatchEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDispatchEx, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDispatchEx, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDispatchEx { fn eq(&self, other: &Self) -> bool { @@ -4901,7 +4901,7 @@ impl IDropSource { (::windows::core::Vtable::vtable(self).GiveFeedback)(::windows::core::Vtable::as_raw(self), dweffect) } } -::windows::core::interface_hierarchy!(IDropSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDropSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDropSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4950,7 +4950,7 @@ impl IDropSourceNotify { (::windows::core::Vtable::vtable(self).DragLeaveTarget)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDropSourceNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDropSourceNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDropSourceNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5012,7 +5012,7 @@ impl IDropTarget { (::windows::core::Vtable::vtable(self).Drop)(::windows::core::Vtable::as_raw(self), pdataobj.into().abi(), grfkeystate, ::core::mem::transmute(pt), pdweffect).ok() } } -::windows::core::interface_hierarchy!(IDropTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDropTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDropTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5070,7 +5070,7 @@ impl IEnterpriseDropTarget { (::windows::core::Vtable::vtable(self).IsEvaluatingEdpPolicy)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnterpriseDropTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnterpriseDropTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnterpriseDropTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5123,7 +5123,7 @@ impl IEnumOLEVERB { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumOLEVERB, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumOLEVERB, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumOLEVERB { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5176,7 +5176,7 @@ impl IEnumOleDocumentViews { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumOleDocumentViews, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumOleDocumentViews, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumOleDocumentViews { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5226,7 +5226,7 @@ impl IEnumOleUndoUnits { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumOleUndoUnits, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumOleUndoUnits, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumOleUndoUnits { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5278,7 +5278,7 @@ impl IEnumVARIANT { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumVARIANT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumVARIANT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumVARIANT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5454,7 +5454,7 @@ impl IFont { (::windows::core::Vtable::vtable(self).SetHdc)(::windows::core::Vtable::as_raw(self), hdc.into()).ok() } } -::windows::core::interface_hierarchy!(IFont, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFont, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFont { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5558,7 +5558,7 @@ pub struct IFontDisp(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFontDisp {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFontDisp, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFontDisp, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFontDisp { fn eq(&self, other: &Self) -> bool { @@ -5600,7 +5600,7 @@ pub struct IFontEventsDisp(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFontEventsDisp {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFontEventsDisp, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFontEventsDisp, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFontEventsDisp { fn eq(&self, other: &Self) -> bool { @@ -5643,7 +5643,7 @@ impl IGetOleObject { (::windows::core::Vtable::vtable(self).GetOleObject)(::windows::core::Vtable::as_raw(self), riid, ppvobj).ok() } } -::windows::core::interface_hierarchy!(IGetOleObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetOleObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetOleObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5680,7 +5680,7 @@ impl IGetVBAObject { (::windows::core::Vtable::vtable(self).GetObject)(::windows::core::Vtable::as_raw(self), riid, ppvobj, dwreserved).ok() } } -::windows::core::interface_hierarchy!(IGetVBAObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetVBAObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetVBAObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5720,7 +5720,7 @@ impl IObjectIdentity { (::windows::core::Vtable::vtable(self).IsEqualObject)(::windows::core::Vtable::as_raw(self), punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IObjectIdentity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectIdentity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectIdentity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5767,7 +5767,7 @@ impl IObjectWithSite { (::windows::core::Vtable::vtable(self).GetSite)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectWithSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectWithSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectWithSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5834,7 +5834,7 @@ impl IOleAdviseHolder { (::windows::core::Vtable::vtable(self).SendOnClose)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOleAdviseHolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleAdviseHolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleAdviseHolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5913,7 +5913,7 @@ impl IOleCache { (::windows::core::Vtable::vtable(self).SetData)(::windows::core::Vtable::as_raw(self), pformatetc, pmedium, frelease.into()).ok() } } -::windows::core::interface_hierarchy!(IOleCache, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleCache, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleCache { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6005,7 +6005,7 @@ impl IOleCache2 { (::windows::core::Vtable::vtable(self).DiscardCache)(::windows::core::Vtable::as_raw(self), dwdiscardoptions).ok() } } -::windows::core::interface_hierarchy!(IOleCache2, ::windows::core::IUnknown, IOleCache); +::windows::imp::interface_hierarchy!(IOleCache2, ::windows::core::IUnknown, IOleCache); impl ::core::cmp::PartialEq for IOleCache2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6054,7 +6054,7 @@ impl IOleCacheControl { (::windows::core::Vtable::vtable(self).OnStop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOleCacheControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleCacheControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleCacheControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6119,7 +6119,7 @@ impl IOleClientSite { (::windows::core::Vtable::vtable(self).RequestNewObjectLayout)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOleClientSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleClientSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleClientSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6172,7 +6172,7 @@ impl IOleCommandTarget { (::windows::core::Vtable::vtable(self).Exec)(::windows::core::Vtable::as_raw(self), pguidcmdgroup, ncmdid, ncmdexecopt, pvain, pvaout).ok() } } -::windows::core::interface_hierarchy!(IOleCommandTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleCommandTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleCommandTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6233,7 +6233,7 @@ impl IOleContainer { (::windows::core::Vtable::vtable(self).LockContainer)(::windows::core::Vtable::as_raw(self), flock.into()).ok() } } -::windows::core::interface_hierarchy!(IOleContainer, ::windows::core::IUnknown, IParseDisplayName); +::windows::imp::interface_hierarchy!(IOleContainer, ::windows::core::IUnknown, IParseDisplayName); impl ::core::cmp::PartialEq for IOleContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6295,7 +6295,7 @@ impl IOleControl { (::windows::core::Vtable::vtable(self).FreezeEvents)(::windows::core::Vtable::as_raw(self), bfreeze.into()).ok() } } -::windows::core::interface_hierarchy!(IOleControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6379,7 +6379,7 @@ impl IOleControlSite { (::windows::core::Vtable::vtable(self).ShowPropertyFrame)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOleControlSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleControlSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleControlSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6451,7 +6451,7 @@ impl IOleDocument { (::windows::core::Vtable::vtable(self).EnumViews)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenum), ::core::mem::transmute(ppview)).ok() } } -::windows::core::interface_hierarchy!(IOleDocument, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleDocument, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleDocument { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6496,7 +6496,7 @@ impl IOleDocumentSite { (::windows::core::Vtable::vtable(self).ActivateMe)(::windows::core::Vtable::as_raw(self), pviewtoactivate.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IOleDocumentSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleDocumentSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleDocumentSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6605,7 +6605,7 @@ impl IOleDocumentView { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), pipsitenew.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOleDocumentView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleDocumentView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleDocumentView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6724,7 +6724,7 @@ impl IOleInPlaceActiveObject { (::windows::core::Vtable::vtable(self).EnableModeless)(::windows::core::Vtable::as_raw(self), fenable.into()).ok() } } -::windows::core::interface_hierarchy!(IOleInPlaceActiveObject, ::windows::core::IUnknown, IOleWindow); +::windows::imp::interface_hierarchy!(IOleInPlaceActiveObject, ::windows::core::IUnknown, IOleWindow); impl ::core::cmp::PartialEq for IOleInPlaceActiveObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6858,7 +6858,7 @@ impl IOleInPlaceFrame { (::windows::core::Vtable::vtable(self).TranslateAccelerator)(::windows::core::Vtable::as_raw(self), lpmsg, wid).ok() } } -::windows::core::interface_hierarchy!(IOleInPlaceFrame, ::windows::core::IUnknown, IOleWindow, IOleInPlaceUIWindow); +::windows::imp::interface_hierarchy!(IOleInPlaceFrame, ::windows::core::IUnknown, IOleWindow, IOleInPlaceUIWindow); impl ::core::cmp::PartialEq for IOleInPlaceFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6940,7 +6940,7 @@ impl IOleInPlaceObject { (::windows::core::Vtable::vtable(self).ReactivateAndUndo)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOleInPlaceObject, ::windows::core::IUnknown, IOleWindow); +::windows::imp::interface_hierarchy!(IOleInPlaceObject, ::windows::core::IUnknown, IOleWindow); impl ::core::cmp::PartialEq for IOleInPlaceObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7022,7 +7022,7 @@ impl IOleInPlaceObjectWindowless { (::windows::core::Vtable::vtable(self).GetDropTarget)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOleInPlaceObjectWindowless, ::windows::core::IUnknown, IOleWindow, IOleInPlaceObject); +::windows::imp::interface_hierarchy!(IOleInPlaceObjectWindowless, ::windows::core::IUnknown, IOleWindow, IOleInPlaceObject); impl ::core::cmp::PartialEq for IOleInPlaceObjectWindowless { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7115,7 +7115,7 @@ impl IOleInPlaceSite { (::windows::core::Vtable::vtable(self).OnPosRectChange)(::windows::core::Vtable::as_raw(self), lprcposrect).ok() } } -::windows::core::interface_hierarchy!(IOleInPlaceSite, ::windows::core::IUnknown, IOleWindow); +::windows::imp::interface_hierarchy!(IOleInPlaceSite, ::windows::core::IUnknown, IOleWindow); impl ::core::cmp::PartialEq for IOleInPlaceSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7241,7 +7241,7 @@ impl IOleInPlaceSiteEx { (::windows::core::Vtable::vtable(self).RequestUIActivate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOleInPlaceSiteEx, ::windows::core::IUnknown, IOleWindow, IOleInPlaceSite); +::windows::imp::interface_hierarchy!(IOleInPlaceSiteEx, ::windows::core::IUnknown, IOleWindow, IOleInPlaceSite); impl ::core::cmp::PartialEq for IOleInPlaceSiteEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7430,7 +7430,7 @@ impl IOleInPlaceSiteWindowless { (::windows::core::Vtable::vtable(self).OnDefWindowMessage)(::windows::core::Vtable::as_raw(self), msg, wparam.into(), lparam.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOleInPlaceSiteWindowless, ::windows::core::IUnknown, IOleWindow, IOleInPlaceSite, IOleInPlaceSiteEx); +::windows::imp::interface_hierarchy!(IOleInPlaceSiteWindowless, ::windows::core::IUnknown, IOleWindow, IOleInPlaceSite, IOleInPlaceSiteEx); impl ::core::cmp::PartialEq for IOleInPlaceSiteWindowless { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7539,7 +7539,7 @@ impl IOleInPlaceUIWindow { (::windows::core::Vtable::vtable(self).SetActiveObject)(::windows::core::Vtable::as_raw(self), pactiveobject.into().abi(), pszobjname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IOleInPlaceUIWindow, ::windows::core::IUnknown, IOleWindow); +::windows::imp::interface_hierarchy!(IOleInPlaceUIWindow, ::windows::core::IUnknown, IOleWindow); impl ::core::cmp::PartialEq for IOleInPlaceUIWindow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7636,7 +7636,7 @@ impl IOleItemContainer { (::windows::core::Vtable::vtable(self).IsRunning)(::windows::core::Vtable::as_raw(self), pszitem.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IOleItemContainer, ::windows::core::IUnknown, IParseDisplayName, IOleContainer); +::windows::imp::interface_hierarchy!(IOleItemContainer, ::windows::core::IUnknown, IParseDisplayName, IOleContainer); impl ::core::cmp::PartialEq for IOleItemContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7735,7 +7735,7 @@ impl IOleLink { (::windows::core::Vtable::vtable(self).Update)(::windows::core::Vtable::as_raw(self), pbc.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IOleLink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleLink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleLink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7907,7 +7907,7 @@ impl IOleObject { (::windows::core::Vtable::vtable(self).SetColorScheme)(::windows::core::Vtable::as_raw(self), plogpal).ok() } } -::windows::core::interface_hierarchy!(IOleObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8041,7 +8041,7 @@ impl IOleParentUndoUnit { (::windows::core::Vtable::vtable(self).GetParentState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOleParentUndoUnit, ::windows::core::IUnknown, IOleUndoUnit); +::windows::imp::interface_hierarchy!(IOleParentUndoUnit, ::windows::core::IUnknown, IOleUndoUnit); impl ::core::cmp::PartialEq for IOleParentUndoUnit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8121,7 +8121,7 @@ impl IOleUILinkContainerA { (::windows::core::Vtable::vtable(self).CancelLink)(::windows::core::Vtable::as_raw(self), dwlink).ok() } } -::windows::core::interface_hierarchy!(IOleUILinkContainerA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleUILinkContainerA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleUILinkContainerA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8210,7 +8210,7 @@ impl IOleUILinkContainerW { (::windows::core::Vtable::vtable(self).CancelLink)(::windows::core::Vtable::as_raw(self), dwlink).ok() } } -::windows::core::interface_hierarchy!(IOleUILinkContainerW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleUILinkContainerW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleUILinkContainerW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8305,7 +8305,7 @@ impl IOleUILinkInfoA { (::windows::core::Vtable::vtable(self).GetLastUpdate)(::windows::core::Vtable::as_raw(self), dwlink, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOleUILinkInfoA, ::windows::core::IUnknown, IOleUILinkContainerA); +::windows::imp::interface_hierarchy!(IOleUILinkInfoA, ::windows::core::IUnknown, IOleUILinkContainerA); impl ::core::cmp::PartialEq for IOleUILinkInfoA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8387,7 +8387,7 @@ impl IOleUILinkInfoW { (::windows::core::Vtable::vtable(self).GetLastUpdate)(::windows::core::Vtable::as_raw(self), dwlink, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOleUILinkInfoW, ::windows::core::IUnknown, IOleUILinkContainerW); +::windows::imp::interface_hierarchy!(IOleUILinkInfoW, ::windows::core::IUnknown, IOleUILinkContainerW); impl ::core::cmp::PartialEq for IOleUILinkInfoW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8444,7 +8444,7 @@ impl IOleUIObjInfoA { (::windows::core::Vtable::vtable(self).SetViewInfo)(::windows::core::Vtable::as_raw(self), dwobject, hmetapict, dvaspect, ncurrentscale, brelativetoorig.into()).ok() } } -::windows::core::interface_hierarchy!(IOleUIObjInfoA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleUIObjInfoA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleUIObjInfoA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8505,7 +8505,7 @@ impl IOleUIObjInfoW { (::windows::core::Vtable::vtable(self).SetViewInfo)(::windows::core::Vtable::as_raw(self), dwobject, hmetapict, dvaspect, ncurrentscale, brelativetoorig.into()).ok() } } -::windows::core::interface_hierarchy!(IOleUIObjInfoW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleUIObjInfoW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleUIObjInfoW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8613,7 +8613,7 @@ impl IOleUndoManager { (::windows::core::Vtable::vtable(self).Enable)(::windows::core::Vtable::as_raw(self), fenable.into()).ok() } } -::windows::core::interface_hierarchy!(IOleUndoManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleUndoManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleUndoManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8680,7 +8680,7 @@ impl IOleUndoUnit { (::windows::core::Vtable::vtable(self).OnNextAdd)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOleUndoUnit, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleUndoUnit, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleUndoUnit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8731,7 +8731,7 @@ impl IOleWindow { (::windows::core::Vtable::vtable(self).ContextSensitiveHelp)(::windows::core::Vtable::as_raw(self), fentermode.into()).ok() } } -::windows::core::interface_hierarchy!(IOleWindow, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOleWindow, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOleWindow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8781,7 +8781,7 @@ impl IParseDisplayName { (::windows::core::Vtable::vtable(self).ParseDisplayName)(::windows::core::Vtable::as_raw(self), pbc.into().abi(), pszdisplayname.into().abi(), pcheaten, ::core::mem::transmute(ppmkout)).ok() } } -::windows::core::interface_hierarchy!(IParseDisplayName, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IParseDisplayName, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IParseDisplayName { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8835,7 +8835,7 @@ impl IPerPropertyBrowsing { (::windows::core::Vtable::vtable(self).GetPredefinedValue)(::windows::core::Vtable::as_raw(self), dispid, dwcookie, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPerPropertyBrowsing, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPerPropertyBrowsing, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPerPropertyBrowsing { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8906,7 +8906,7 @@ impl IPersistPropertyBag { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistPropertyBag, ::windows::core::IUnknown, super::Com::IPersist); +::windows::imp::interface_hierarchy!(IPersistPropertyBag, ::windows::core::IUnknown, super::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistPropertyBag { fn eq(&self, other: &Self) -> bool { @@ -8989,7 +8989,7 @@ impl IPersistPropertyBag2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistPropertyBag2, ::windows::core::IUnknown, super::Com::IPersist); +::windows::imp::interface_hierarchy!(IPersistPropertyBag2, ::windows::core::IUnknown, super::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistPropertyBag2 { fn eq(&self, other: &Self) -> bool { @@ -9118,7 +9118,7 @@ impl IPicture { (::windows::core::Vtable::vtable(self).Attributes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPicture, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPicture, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPicture { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9259,7 +9259,7 @@ impl IPicture2 { (::windows::core::Vtable::vtable(self).Attributes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPicture2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPicture2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPicture2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9326,7 +9326,7 @@ pub struct IPictureDisp(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPictureDisp {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPictureDisp, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPictureDisp, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPictureDisp { fn eq(&self, other: &Self) -> bool { @@ -9383,7 +9383,7 @@ impl IPointerInactive { (::windows::core::Vtable::vtable(self).OnInactiveSetCursor)(::windows::core::Vtable::as_raw(self), prectbounds, x, y, dwmousemsg, fsetalways.into()).ok() } } -::windows::core::interface_hierarchy!(IPointerInactive, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPointerInactive, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPointerInactive { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9439,7 +9439,7 @@ impl IPrint { (::windows::core::Vtable::vtable(self).Print)(::windows::core::Vtable::as_raw(self), grfflags, pptd, pppageset, pstgmoptions, pcallback.into().abi(), nfirstpage, pcpagesprinted, pnlastpage).ok() } } -::windows::core::interface_hierarchy!(IPrint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9484,7 +9484,7 @@ impl IPropertyNotifySink { (::windows::core::Vtable::vtable(self).OnRequestEdit)(::windows::core::Vtable::as_raw(self), dispid).ok() } } -::windows::core::interface_hierarchy!(IPropertyNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9570,7 +9570,7 @@ impl IPropertyPage { (::windows::core::Vtable::vtable(self).TranslateAccelerator)(::windows::core::Vtable::as_raw(self), pmsg).ok() } } -::windows::core::interface_hierarchy!(IPropertyPage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyPage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyPage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9680,7 +9680,7 @@ impl IPropertyPage2 { (::windows::core::Vtable::vtable(self).EditProperty)(::windows::core::Vtable::as_raw(self), dispid).ok() } } -::windows::core::interface_hierarchy!(IPropertyPage2, ::windows::core::IUnknown, IPropertyPage); +::windows::imp::interface_hierarchy!(IPropertyPage2, ::windows::core::IUnknown, IPropertyPage); impl ::core::cmp::PartialEq for IPropertyPage2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9730,7 +9730,7 @@ impl IPropertyPageSite { (::windows::core::Vtable::vtable(self).TranslateAccelerator)(::windows::core::Vtable::as_raw(self), pmsg).ok() } } -::windows::core::interface_hierarchy!(IPropertyPageSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyPageSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyPageSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9776,7 +9776,7 @@ impl IProtectFocus { (::windows::core::Vtable::vtable(self).AllowFocusChange)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProtectFocus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProtectFocus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProtectFocus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9838,7 +9838,7 @@ impl IProtectedModeMenuServices { (::windows::core::Vtable::vtable(self).LoadMenuID)(::windows::core::Vtable::as_raw(self), pszmodulename.into().abi(), wresourceid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProtectedModeMenuServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProtectedModeMenuServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProtectedModeMenuServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9889,7 +9889,7 @@ impl IProvideClassInfo { (::windows::core::Vtable::vtable(self).GetClassInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProvideClassInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProvideClassInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProvideClassInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9936,7 +9936,7 @@ impl IProvideClassInfo2 { (::windows::core::Vtable::vtable(self).GetGUID)(::windows::core::Vtable::as_raw(self), dwguidkind, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProvideClassInfo2, ::windows::core::IUnknown, IProvideClassInfo); +::windows::imp::interface_hierarchy!(IProvideClassInfo2, ::windows::core::IUnknown, IProvideClassInfo); impl ::core::cmp::PartialEq for IProvideClassInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9989,7 +9989,7 @@ impl IProvideMultipleClassInfo { (::windows::core::Vtable::vtable(self).GetInfoOfIndex)(::windows::core::Vtable::as_raw(self), iti, dwflags, ::core::mem::transmute(ppticoclass), pdwtiflags, pcdispidreserved, piidprimary, piidsource).ok() } } -::windows::core::interface_hierarchy!(IProvideMultipleClassInfo, ::windows::core::IUnknown, IProvideClassInfo, IProvideClassInfo2); +::windows::imp::interface_hierarchy!(IProvideMultipleClassInfo, ::windows::core::IUnknown, IProvideClassInfo, IProvideClassInfo2); impl ::core::cmp::PartialEq for IProvideMultipleClassInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10032,7 +10032,7 @@ impl IProvideRuntimeContext { (::windows::core::Vtable::vtable(self).GetCurrentSourceContext)(::windows::core::Vtable::as_raw(self), pdwcontext, pfexecutingglobalcode).ok() } } -::windows::core::interface_hierarchy!(IProvideRuntimeContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProvideRuntimeContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProvideRuntimeContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10085,7 +10085,7 @@ impl IQuickActivate { (::windows::core::Vtable::vtable(self).GetContentExtent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IQuickActivate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQuickActivate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQuickActivate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10210,7 +10210,7 @@ impl IRecordInfo { (::windows::core::Vtable::vtable(self).RecordDestroy)(::windows::core::Vtable::as_raw(self), pvrecord).ok() } } -::windows::core::interface_hierarchy!(IRecordInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRecordInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRecordInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10297,7 +10297,7 @@ impl ISimpleFrameSite { (::windows::core::Vtable::vtable(self).PostMessageFilter)(::windows::core::Vtable::as_raw(self), hwnd.into(), msg, wp.into(), lp.into(), plresult, dwcookie).ok() } } -::windows::core::interface_hierarchy!(ISimpleFrameSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimpleFrameSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimpleFrameSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10342,7 +10342,7 @@ impl ISpecifyPropertyPages { (::windows::core::Vtable::vtable(self).GetPages)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpecifyPropertyPages, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpecifyPropertyPages, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpecifyPropertyPages { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10395,7 +10395,7 @@ impl ITypeChangeEvents { (::windows::core::Vtable::vtable(self).AfterTypeChange)(::windows::core::Vtable::as_raw(self), changekind, ptinfoafter.into().abi(), pstrname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITypeChangeEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITypeChangeEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITypeChangeEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10445,7 +10445,7 @@ impl ITypeFactory { (::windows::core::Vtable::vtable(self).CreateFromTypeInfo)(::windows::core::Vtable::as_raw(self), ptypeinfo.into().abi(), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITypeFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITypeFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITypeFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10495,7 +10495,7 @@ impl ITypeMarshal { (::windows::core::Vtable::vtable(self).Free)(::windows::core::Vtable::as_raw(self), pvtype).ok() } } -::windows::core::interface_hierarchy!(ITypeMarshal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITypeMarshal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITypeMarshal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10537,7 +10537,7 @@ impl IVBFormat { (::windows::core::Vtable::vtable(self).Format)(::windows::core::Vtable::as_raw(self), vdata, ::core::mem::transmute_copy(bstrformat), lpbuffer, cb, lcid, sfirstdayofweek, sfirstweekofyear, rcb).ok() } } -::windows::core::interface_hierarchy!(IVBFormat, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVBFormat, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVBFormat { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10580,7 +10580,7 @@ impl IVBGetControl { (::windows::core::Vtable::vtable(self).EnumControls)(::windows::core::Vtable::as_raw(self), dwolecontf, dwwhich, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVBGetControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVBGetControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVBGetControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10622,7 +10622,7 @@ impl IVariantChangeType { (::windows::core::Vtable::vtable(self).ChangeType)(::windows::core::Vtable::as_raw(self), pvardst, pvarsrc, lcid, vtnew).ok() } } -::windows::core::interface_hierarchy!(IVariantChangeType, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVariantChangeType, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVariantChangeType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10697,7 +10697,7 @@ impl IViewObject { (::windows::core::Vtable::vtable(self).GetAdvise)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(paspects.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(padvf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppadvsink)).ok() } } -::windows::core::interface_hierarchy!(IViewObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IViewObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IViewObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10795,7 +10795,7 @@ impl IViewObject2 { (::windows::core::Vtable::vtable(self).GetExtent)(::windows::core::Vtable::as_raw(self), dwdrawaspect, lindex, ptd, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IViewObject2, ::windows::core::IUnknown, IViewObject); +::windows::imp::interface_hierarchy!(IViewObject2, ::windows::core::IUnknown, IViewObject); impl ::core::cmp::PartialEq for IViewObject2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10907,7 +10907,7 @@ impl IViewObjectEx { (::windows::core::Vtable::vtable(self).GetNaturalExtent)(::windows::core::Vtable::as_raw(self), dwaspect, lindex, ptd, hictargetdev.into(), pextentinfo, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IViewObjectEx, ::windows::core::IUnknown, IViewObject, IViewObject2); +::windows::imp::interface_hierarchy!(IViewObjectEx, ::windows::core::IUnknown, IViewObject, IViewObject2); impl ::core::cmp::PartialEq for IViewObjectEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10960,7 +10960,7 @@ impl IZoomEvents { (::windows::core::Vtable::vtable(self).OnZoomPercentChanged)(::windows::core::Vtable::as_raw(self), ulzoompercent).ok() } } -::windows::core::interface_hierarchy!(IZoomEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IZoomEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IZoomEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs index 111edebb3b..83bd613622 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs @@ -23,7 +23,7 @@ impl IWPCGamesSettings { (::windows::core::Vtable::vtable(self).IsBlocked)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(guidappid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWPCGamesSettings, ::windows::core::IUnknown, IWPCSettings); +::windows::imp::interface_hierarchy!(IWPCGamesSettings, ::windows::core::IUnknown, IWPCSettings); impl ::core::cmp::PartialEq for IWPCGamesSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -77,7 +77,7 @@ impl IWPCProviderConfig { (::windows::core::Vtable::vtable(self).RequestOverride)(::windows::core::Vtable::as_raw(self), hwnd.into(), ::core::mem::transmute_copy(bstrpath), dwflags).ok() } } -::windows::core::interface_hierarchy!(IWPCProviderConfig, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWPCProviderConfig, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWPCProviderConfig { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -125,7 +125,7 @@ impl IWPCProviderState { (::windows::core::Vtable::vtable(self).Disable)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWPCProviderState, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWPCProviderState, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWPCProviderState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -164,7 +164,7 @@ impl IWPCProviderSupport { (::windows::core::Vtable::vtable(self).GetCurrent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWPCProviderSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWPCProviderSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWPCProviderSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -214,7 +214,7 @@ impl IWPCSettings { (::windows::core::Vtable::vtable(self).GetRestrictions)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWPCSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWPCSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWPCSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -286,7 +286,7 @@ impl IWPCWebSettings { (::windows::core::Vtable::vtable(self).RequestURLOverride)(::windows::core::Vtable::as_raw(self), hwnd.into(), pcszurl.into().abi(), ppcszsuburls.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppcszsuburls.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWPCWebSettings, ::windows::core::IUnknown, IWPCSettings); +::windows::imp::interface_hierarchy!(IWPCWebSettings, ::windows::core::IUnknown, IWPCSettings); impl ::core::cmp::PartialEq for IWPCWebSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -352,7 +352,7 @@ impl IWindowsParentalControls { (::windows::core::Vtable::vtable(self).GetGamesSettings)(::windows::core::Vtable::as_raw(self), pcszsid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWindowsParentalControls, ::windows::core::IUnknown, IWindowsParentalControlsCore); +::windows::imp::interface_hierarchy!(IWindowsParentalControls, ::windows::core::IUnknown, IWindowsParentalControlsCore); impl ::core::cmp::PartialEq for IWindowsParentalControls { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -407,7 +407,7 @@ impl IWindowsParentalControlsCore { (::windows::core::Vtable::vtable(self).GetWebFilterInfo)(::windows::core::Vtable::as_raw(self), pguidid, ::core::mem::transmute(ppszname.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IWindowsParentalControlsCore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWindowsParentalControlsCore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWindowsParentalControlsCore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/PasswordManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/System/PasswordManagement/mod.rs index 6cca7af7bf..f4722e3f9a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/PasswordManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/PasswordManagement/mod.rs @@ -7,7 +7,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn MSChapSrvChangePassword ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , lmoldpresent : super::super::Foundation:: BOOLEAN , lmoldowfpassword : *const LM_OWF_PASSWORD , lmnewowfpassword : *const LM_OWF_PASSWORD , ntoldowfpassword : *const LM_OWF_PASSWORD , ntnewowfpassword : *const LM_OWF_PASSWORD ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn MSChapSrvChangePassword ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , lmoldpresent : super::super::Foundation:: BOOLEAN , lmoldowfpassword : *const LM_OWF_PASSWORD , lmnewowfpassword : *const LM_OWF_PASSWORD , ntoldowfpassword : *const LM_OWF_PASSWORD , ntnewowfpassword : *const LM_OWF_PASSWORD ) -> u32 ); MSChapSrvChangePassword(servername.into().abi(), username.into().abi(), lmoldpresent.into(), lmoldowfpassword, lmnewowfpassword, ntoldowfpassword, ntnewowfpassword) } #[doc = "*Required features: `\"Win32_System_PasswordManagement\"`, `\"Win32_Foundation\"`*"] @@ -19,7 +19,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn MSChapSrvChangePassword2 ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , newpasswordencryptedwitholdnt : *const SAMPR_ENCRYPTED_USER_PASSWORD , oldntowfpasswordencryptedwithnewnt : *const ENCRYPTED_LM_OWF_PASSWORD , lmpresent : super::super::Foundation:: BOOLEAN , newpasswordencryptedwitholdlm : *const SAMPR_ENCRYPTED_USER_PASSWORD , oldlmowfpasswordencryptedwithnewlmornt : *const ENCRYPTED_LM_OWF_PASSWORD ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn MSChapSrvChangePassword2 ( servername : :: windows::core::PCWSTR , username : :: windows::core::PCWSTR , newpasswordencryptedwitholdnt : *const SAMPR_ENCRYPTED_USER_PASSWORD , oldntowfpasswordencryptedwithnewnt : *const ENCRYPTED_LM_OWF_PASSWORD , lmpresent : super::super::Foundation:: BOOLEAN , newpasswordencryptedwitholdlm : *const SAMPR_ENCRYPTED_USER_PASSWORD , oldlmowfpasswordencryptedwithnewlmornt : *const ENCRYPTED_LM_OWF_PASSWORD ) -> u32 ); MSChapSrvChangePassword2(servername.into().abi(), username.into().abi(), newpasswordencryptedwitholdnt, oldntowfpasswordencryptedwithnewnt, lmpresent.into(), newpasswordencryptedwitholdlm, oldlmowfpasswordencryptedwithnewlmornt) } #[repr(C)] diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs index f6fdbebdc4..41c8bff23a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/HardwareCounterProfiling/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn DisableThreadProfiling(performancedatahandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DisableThreadProfiling ( performancedatahandle : super::super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DisableThreadProfiling ( performancedatahandle : super::super::super::Foundation:: HANDLE ) -> u32 ); DisableThreadProfiling(performancedatahandle.into()) } #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn EnableThreadProfiling(threadhandle: P0, flags: u32, hardwareco where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn EnableThreadProfiling ( threadhandle : super::super::super::Foundation:: HANDLE , flags : u32 , hardwarecounters : u64 , performancedatahandle : *mut super::super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnableThreadProfiling ( threadhandle : super::super::super::Foundation:: HANDLE , flags : u32 , hardwarecounters : u64 , performancedatahandle : *mut super::super::super::Foundation:: HANDLE ) -> u32 ); EnableThreadProfiling(threadhandle.into(), flags, hardwarecounters, performancedatahandle) } #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn QueryThreadProfiling(threadhandle: P0, enabled: *mut super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryThreadProfiling ( threadhandle : super::super::super::Foundation:: HANDLE , enabled : *mut super::super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryThreadProfiling ( threadhandle : super::super::super::Foundation:: HANDLE , enabled : *mut super::super::super::Foundation:: BOOLEAN ) -> u32 ); QueryThreadProfiling(threadhandle.into(), enabled) } #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`, `\"Win32_Foundation\"`*"] @@ -35,7 +35,7 @@ pub unsafe fn ReadThreadProfilingData(performancedatahandle: P0, flags: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReadThreadProfilingData ( performancedatahandle : super::super::super::Foundation:: HANDLE , flags : u32 , performancedata : *mut PERFORMANCE_DATA ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReadThreadProfilingData ( performancedatahandle : super::super::super::Foundation:: HANDLE , flags : u32 , performancedata : *mut PERFORMANCE_DATA ) -> u32 ); ReadThreadProfilingData(performancedatahandle.into(), flags, performancedata) } #[doc = "*Required features: `\"Win32_System_Performance_HardwareCounterProfiling\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs index d7d2dd9ed4..d2f3b1228e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -7,7 +7,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "loadperf.dll""system" fn BackupPerfRegistryToFileW ( szfilename : :: windows::core::PCWSTR , szcommentstring : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn BackupPerfRegistryToFileW ( szfilename : :: windows::core::PCWSTR , szcommentstring : :: windows::core::PCWSTR ) -> u32 ); BackupPerfRegistryToFileW(szfilename.into().abi(), szcommentstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "loadperf.dll""system" fn InstallPerfDllA ( szcomputername : :: windows::core::PCSTR , lpinifile : :: windows::core::PCSTR , dwflags : usize ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn InstallPerfDllA ( szcomputername : :: windows::core::PCSTR , lpinifile : :: windows::core::PCSTR , dwflags : usize ) -> u32 ); InstallPerfDllA(szcomputername.into().abi(), lpinifile.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -27,7 +27,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "loadperf.dll""system" fn InstallPerfDllW ( szcomputername : :: windows::core::PCWSTR , lpinifile : :: windows::core::PCWSTR , dwflags : usize ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn InstallPerfDllW ( szcomputername : :: windows::core::PCWSTR , lpinifile : :: windows::core::PCWSTR , dwflags : usize ) -> u32 ); InstallPerfDllW(szcomputername.into().abi(), lpinifile.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -38,7 +38,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "loadperf.dll""system" fn LoadPerfCounterTextStringsA ( lpcommandline : :: windows::core::PCSTR , bquietmodearg : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn LoadPerfCounterTextStringsA ( lpcommandline : :: windows::core::PCSTR , bquietmodearg : super::super::Foundation:: BOOL ) -> u32 ); LoadPerfCounterTextStringsA(lpcommandline.into().abi(), bquietmodearg.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -49,7 +49,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "loadperf.dll""system" fn LoadPerfCounterTextStringsW ( lpcommandline : :: windows::core::PCWSTR , bquietmodearg : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn LoadPerfCounterTextStringsW ( lpcommandline : :: windows::core::PCWSTR , bquietmodearg : super::super::Foundation:: BOOL ) -> u32 ); LoadPerfCounterTextStringsW(lpcommandline.into().abi(), bquietmodearg.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -58,7 +58,7 @@ pub unsafe fn PdhAddCounterA(hquery: isize, szfullcounterpath: P0, dwuserdat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhAddCounterA ( hquery : isize , szfullcounterpath : :: windows::core::PCSTR , dwuserdata : usize , phcounter : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhAddCounterA ( hquery : isize , szfullcounterpath : :: windows::core::PCSTR , dwuserdata : usize , phcounter : *mut isize ) -> u32 ); PdhAddCounterA(hquery, szfullcounterpath.into().abi(), dwuserdata, phcounter) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -67,7 +67,7 @@ pub unsafe fn PdhAddCounterW(hquery: isize, szfullcounterpath: P0, dwuserdat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhAddCounterW ( hquery : isize , szfullcounterpath : :: windows::core::PCWSTR , dwuserdata : usize , phcounter : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhAddCounterW ( hquery : isize , szfullcounterpath : :: windows::core::PCWSTR , dwuserdata : usize , phcounter : *mut isize ) -> u32 ); PdhAddCounterW(hquery, szfullcounterpath.into().abi(), dwuserdata, phcounter) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -76,7 +76,7 @@ pub unsafe fn PdhAddEnglishCounterA(hquery: isize, szfullcounterpath: P0, dw where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhAddEnglishCounterA ( hquery : isize , szfullcounterpath : :: windows::core::PCSTR , dwuserdata : usize , phcounter : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhAddEnglishCounterA ( hquery : isize , szfullcounterpath : :: windows::core::PCSTR , dwuserdata : usize , phcounter : *mut isize ) -> u32 ); PdhAddEnglishCounterA(hquery, szfullcounterpath.into().abi(), dwuserdata, phcounter) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -85,7 +85,7 @@ pub unsafe fn PdhAddEnglishCounterW(hquery: isize, szfullcounterpath: P0, dw where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhAddEnglishCounterW ( hquery : isize , szfullcounterpath : :: windows::core::PCWSTR , dwuserdata : usize , phcounter : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhAddEnglishCounterW ( hquery : isize , szfullcounterpath : :: windows::core::PCWSTR , dwuserdata : usize , phcounter : *mut isize ) -> u32 ); PdhAddEnglishCounterW(hquery, szfullcounterpath.into().abi(), dwuserdata, phcounter) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -94,7 +94,7 @@ pub unsafe fn PdhBindInputDataSourceA(phdatasource: *mut isize, logfilenamel where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhBindInputDataSourceA ( phdatasource : *mut isize , logfilenamelist : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhBindInputDataSourceA ( phdatasource : *mut isize , logfilenamelist : :: windows::core::PCSTR ) -> u32 ); PdhBindInputDataSourceA(phdatasource, logfilenamelist.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -103,60 +103,60 @@ pub unsafe fn PdhBindInputDataSourceW(phdatasource: *mut isize, logfilenamel where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhBindInputDataSourceW ( phdatasource : *mut isize , logfilenamelist : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhBindInputDataSourceW ( phdatasource : *mut isize , logfilenamelist : :: windows::core::PCWSTR ) -> u32 ); PdhBindInputDataSourceW(phdatasource, logfilenamelist.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhBrowseCountersA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_A) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhBrowseCountersA ( pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_A ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhBrowseCountersA ( pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_A ) -> u32 ); PdhBrowseCountersA(pbrowsedlgdata) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhBrowseCountersHA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HA) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhBrowseCountersHA ( pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_HA ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhBrowseCountersHA ( pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_HA ) -> u32 ); PdhBrowseCountersHA(pbrowsedlgdata) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhBrowseCountersHW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HW) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhBrowseCountersHW ( pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_HW ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhBrowseCountersHW ( pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_HW ) -> u32 ); PdhBrowseCountersHW(pbrowsedlgdata) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhBrowseCountersW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_W) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhBrowseCountersW ( pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_W ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhBrowseCountersW ( pbrowsedlgdata : *const PDH_BROWSE_DLG_CONFIG_W ) -> u32 ); PdhBrowseCountersW(pbrowsedlgdata) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhCalculateCounterFromRawValue(hcounter: isize, dwformat: PDH_FMT, rawvalue1: *const PDH_RAW_COUNTER, rawvalue2: *const PDH_RAW_COUNTER, fmtvalue: *mut PDH_FMT_COUNTERVALUE) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhCalculateCounterFromRawValue ( hcounter : isize , dwformat : PDH_FMT , rawvalue1 : *const PDH_RAW_COUNTER , rawvalue2 : *const PDH_RAW_COUNTER , fmtvalue : *mut PDH_FMT_COUNTERVALUE ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhCalculateCounterFromRawValue ( hcounter : isize , dwformat : PDH_FMT , rawvalue1 : *const PDH_RAW_COUNTER , rawvalue2 : *const PDH_RAW_COUNTER , fmtvalue : *mut PDH_FMT_COUNTERVALUE ) -> u32 ); PdhCalculateCounterFromRawValue(hcounter, dwformat, rawvalue1, rawvalue2, fmtvalue) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhCloseLog(hlog: isize, dwflags: u32) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhCloseLog ( hlog : isize , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhCloseLog ( hlog : isize , dwflags : u32 ) -> u32 ); PdhCloseLog(hlog, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhCloseQuery(hquery: isize) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhCloseQuery ( hquery : isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhCloseQuery ( hquery : isize ) -> u32 ); PdhCloseQuery(hquery) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhCollectQueryData(hquery: isize) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhCollectQueryData ( hquery : isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhCollectQueryData ( hquery : isize ) -> u32 ); PdhCollectQueryData(hquery) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -166,20 +166,20 @@ pub unsafe fn PdhCollectQueryDataEx(hquery: isize, dwintervaltime: u32, hnew where P0: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhCollectQueryDataEx ( hquery : isize , dwintervaltime : u32 , hnewdataevent : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhCollectQueryDataEx ( hquery : isize , dwintervaltime : u32 , hnewdataevent : super::super::Foundation:: HANDLE ) -> u32 ); PdhCollectQueryDataEx(hquery, dwintervaltime, hnewdataevent.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhCollectQueryDataWithTime(hquery: isize, plltimestamp: *mut i64) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhCollectQueryDataWithTime ( hquery : isize , plltimestamp : *mut i64 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhCollectQueryDataWithTime ( hquery : isize , plltimestamp : *mut i64 ) -> u32 ); PdhCollectQueryDataWithTime(hquery, plltimestamp) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhComputeCounterStatistics(hcounter: isize, dwformat: PDH_FMT, dwfirstentry: u32, dwnumentries: u32, lprawvaluearray: *const PDH_RAW_COUNTER, data: *mut PDH_STATISTICS) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhComputeCounterStatistics ( hcounter : isize , dwformat : PDH_FMT , dwfirstentry : u32 , dwnumentries : u32 , lprawvaluearray : *const PDH_RAW_COUNTER , data : *mut PDH_STATISTICS ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhComputeCounterStatistics ( hcounter : isize , dwformat : PDH_FMT , dwfirstentry : u32 , dwnumentries : u32 , lprawvaluearray : *const PDH_RAW_COUNTER , data : *mut PDH_STATISTICS ) -> u32 ); PdhComputeCounterStatistics(hcounter, dwformat, dwfirstentry, dwnumentries, lprawvaluearray, data) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -188,7 +188,7 @@ pub unsafe fn PdhConnectMachineA(szmachinename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhConnectMachineA ( szmachinename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhConnectMachineA ( szmachinename : :: windows::core::PCSTR ) -> u32 ); PdhConnectMachineA(szmachinename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -197,7 +197,7 @@ pub unsafe fn PdhConnectMachineW(szmachinename: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhConnectMachineW ( szmachinename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhConnectMachineW ( szmachinename : :: windows::core::PCWSTR ) -> u32 ); PdhConnectMachineW(szmachinename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -206,7 +206,7 @@ pub unsafe fn PdhCreateSQLTablesA(szdatasource: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhCreateSQLTablesA ( szdatasource : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhCreateSQLTablesA ( szdatasource : :: windows::core::PCSTR ) -> u32 ); PdhCreateSQLTablesA(szdatasource.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -215,7 +215,7 @@ pub unsafe fn PdhCreateSQLTablesW(szdatasource: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhCreateSQLTablesW ( szdatasource : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhCreateSQLTablesW ( szdatasource : :: windows::core::PCWSTR ) -> u32 ); PdhCreateSQLTablesW(szdatasource.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -224,7 +224,7 @@ pub unsafe fn PdhEnumLogSetNamesA(szdatasource: P0, mszdatasetnamelist: ::wi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumLogSetNamesA ( szdatasource : :: windows::core::PCSTR , mszdatasetnamelist : :: windows::core::PSTR , pcchbufferlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumLogSetNamesA ( szdatasource : :: windows::core::PCSTR , mszdatasetnamelist : :: windows::core::PSTR , pcchbufferlength : *mut u32 ) -> u32 ); PdhEnumLogSetNamesA(szdatasource.into().abi(), ::core::mem::transmute(mszdatasetnamelist), pcchbufferlength) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -233,7 +233,7 @@ pub unsafe fn PdhEnumLogSetNamesW(szdatasource: P0, mszdatasetnamelist: ::wi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumLogSetNamesW ( szdatasource : :: windows::core::PCWSTR , mszdatasetnamelist : :: windows::core::PWSTR , pcchbufferlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumLogSetNamesW ( szdatasource : :: windows::core::PCWSTR , mszdatasetnamelist : :: windows::core::PWSTR , pcchbufferlength : *mut u32 ) -> u32 ); PdhEnumLogSetNamesW(szdatasource.into().abi(), ::core::mem::transmute(mszdatasetnamelist), pcchbufferlength) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -242,19 +242,19 @@ pub unsafe fn PdhEnumMachinesA(szdatasource: P0, mszmachinelist: ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumMachinesA ( szdatasource : :: windows::core::PCSTR , mszmachinelist : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumMachinesA ( szdatasource : :: windows::core::PCSTR , mszmachinelist : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhEnumMachinesA(szdatasource.into().abi(), ::core::mem::transmute(mszmachinelist), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhEnumMachinesHA(hdatasource: isize, mszmachinelist: ::windows::core::PSTR, pcchbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumMachinesHA ( hdatasource : isize , mszmachinelist : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumMachinesHA ( hdatasource : isize , mszmachinelist : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhEnumMachinesHA(hdatasource, ::core::mem::transmute(mszmachinelist), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhEnumMachinesHW(hdatasource: isize, mszmachinelist: ::windows::core::PWSTR, pcchbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumMachinesHW ( hdatasource : isize , mszmachinelist : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumMachinesHW ( hdatasource : isize , mszmachinelist : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhEnumMachinesHW(hdatasource, ::core::mem::transmute(mszmachinelist), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -263,7 +263,7 @@ pub unsafe fn PdhEnumMachinesW(szdatasource: P0, mszmachinelist: ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumMachinesW ( szdatasource : :: windows::core::PCWSTR , mszmachinelist : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumMachinesW ( szdatasource : :: windows::core::PCWSTR , mszmachinelist : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhEnumMachinesW(szdatasource.into().abi(), ::core::mem::transmute(mszmachinelist), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -274,7 +274,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumObjectItemsA ( szdatasource : :: windows::core::PCSTR , szmachinename : :: windows::core::PCSTR , szobjectname : :: windows::core::PCSTR , mszcounterlist : :: windows::core::PSTR , pcchcounterlistlength : *mut u32 , mszinstancelist : :: windows::core::PSTR , pcchinstancelistlength : *mut u32 , dwdetaillevel : PERF_DETAIL , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumObjectItemsA ( szdatasource : :: windows::core::PCSTR , szmachinename : :: windows::core::PCSTR , szobjectname : :: windows::core::PCSTR , mszcounterlist : :: windows::core::PSTR , pcchcounterlistlength : *mut u32 , mszinstancelist : :: windows::core::PSTR , pcchinstancelistlength : *mut u32 , dwdetaillevel : PERF_DETAIL , dwflags : u32 ) -> u32 ); PdhEnumObjectItemsA(szdatasource.into().abi(), szmachinename.into().abi(), szobjectname.into().abi(), ::core::mem::transmute(mszcounterlist), pcchcounterlistlength, ::core::mem::transmute(mszinstancelist), pcchinstancelistlength, dwdetaillevel, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -284,7 +284,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumObjectItemsHA ( hdatasource : isize , szmachinename : :: windows::core::PCSTR , szobjectname : :: windows::core::PCSTR , mszcounterlist : :: windows::core::PSTR , pcchcounterlistlength : *mut u32 , mszinstancelist : :: windows::core::PSTR , pcchinstancelistlength : *mut u32 , dwdetaillevel : PERF_DETAIL , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumObjectItemsHA ( hdatasource : isize , szmachinename : :: windows::core::PCSTR , szobjectname : :: windows::core::PCSTR , mszcounterlist : :: windows::core::PSTR , pcchcounterlistlength : *mut u32 , mszinstancelist : :: windows::core::PSTR , pcchinstancelistlength : *mut u32 , dwdetaillevel : PERF_DETAIL , dwflags : u32 ) -> u32 ); PdhEnumObjectItemsHA(hdatasource, szmachinename.into().abi(), szobjectname.into().abi(), ::core::mem::transmute(mszcounterlist), pcchcounterlistlength, ::core::mem::transmute(mszinstancelist), pcchinstancelistlength, dwdetaillevel, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -294,7 +294,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumObjectItemsHW ( hdatasource : isize , szmachinename : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , mszcounterlist : :: windows::core::PWSTR , pcchcounterlistlength : *mut u32 , mszinstancelist : :: windows::core::PWSTR , pcchinstancelistlength : *mut u32 , dwdetaillevel : PERF_DETAIL , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumObjectItemsHW ( hdatasource : isize , szmachinename : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , mszcounterlist : :: windows::core::PWSTR , pcchcounterlistlength : *mut u32 , mszinstancelist : :: windows::core::PWSTR , pcchinstancelistlength : *mut u32 , dwdetaillevel : PERF_DETAIL , dwflags : u32 ) -> u32 ); PdhEnumObjectItemsHW(hdatasource, szmachinename.into().abi(), szobjectname.into().abi(), ::core::mem::transmute(mszcounterlist), pcchcounterlistlength, ::core::mem::transmute(mszinstancelist), pcchinstancelistlength, dwdetaillevel, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -305,7 +305,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumObjectItemsW ( szdatasource : :: windows::core::PCWSTR , szmachinename : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , mszcounterlist : :: windows::core::PWSTR , pcchcounterlistlength : *mut u32 , mszinstancelist : :: windows::core::PWSTR , pcchinstancelistlength : *mut u32 , dwdetaillevel : PERF_DETAIL , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumObjectItemsW ( szdatasource : :: windows::core::PCWSTR , szmachinename : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , mszcounterlist : :: windows::core::PWSTR , pcchcounterlistlength : *mut u32 , mszinstancelist : :: windows::core::PWSTR , pcchinstancelistlength : *mut u32 , dwdetaillevel : PERF_DETAIL , dwflags : u32 ) -> u32 ); PdhEnumObjectItemsW(szdatasource.into().abi(), szmachinename.into().abi(), szobjectname.into().abi(), ::core::mem::transmute(mszcounterlist), pcchcounterlistlength, ::core::mem::transmute(mszinstancelist), pcchinstancelistlength, dwdetaillevel, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -317,7 +317,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumObjectsA ( szdatasource : :: windows::core::PCSTR , szmachinename : :: windows::core::PCSTR , mszobjectlist : :: windows::core::PSTR , pcchbuffersize : *mut u32 , dwdetaillevel : PERF_DETAIL , brefresh : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumObjectsA ( szdatasource : :: windows::core::PCSTR , szmachinename : :: windows::core::PCSTR , mszobjectlist : :: windows::core::PSTR , pcchbuffersize : *mut u32 , dwdetaillevel : PERF_DETAIL , brefresh : super::super::Foundation:: BOOL ) -> u32 ); PdhEnumObjectsA(szdatasource.into().abi(), szmachinename.into().abi(), ::core::mem::transmute(mszobjectlist), pcchbuffersize, dwdetaillevel, brefresh.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -328,7 +328,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumObjectsHA ( hdatasource : isize , szmachinename : :: windows::core::PCSTR , mszobjectlist : :: windows::core::PSTR , pcchbuffersize : *mut u32 , dwdetaillevel : PERF_DETAIL , brefresh : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumObjectsHA ( hdatasource : isize , szmachinename : :: windows::core::PCSTR , mszobjectlist : :: windows::core::PSTR , pcchbuffersize : *mut u32 , dwdetaillevel : PERF_DETAIL , brefresh : super::super::Foundation:: BOOL ) -> u32 ); PdhEnumObjectsHA(hdatasource, szmachinename.into().abi(), ::core::mem::transmute(mszobjectlist), pcchbuffersize, dwdetaillevel, brefresh.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -339,7 +339,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumObjectsHW ( hdatasource : isize , szmachinename : :: windows::core::PCWSTR , mszobjectlist : :: windows::core::PWSTR , pcchbuffersize : *mut u32 , dwdetaillevel : PERF_DETAIL , brefresh : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumObjectsHW ( hdatasource : isize , szmachinename : :: windows::core::PCWSTR , mszobjectlist : :: windows::core::PWSTR , pcchbuffersize : *mut u32 , dwdetaillevel : PERF_DETAIL , brefresh : super::super::Foundation:: BOOL ) -> u32 ); PdhEnumObjectsHW(hdatasource, szmachinename.into().abi(), ::core::mem::transmute(mszobjectlist), pcchbuffersize, dwdetaillevel, brefresh.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -351,7 +351,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhEnumObjectsW ( szdatasource : :: windows::core::PCWSTR , szmachinename : :: windows::core::PCWSTR , mszobjectlist : :: windows::core::PWSTR , pcchbuffersize : *mut u32 , dwdetaillevel : PERF_DETAIL , brefresh : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhEnumObjectsW ( szdatasource : :: windows::core::PCWSTR , szmachinename : :: windows::core::PCWSTR , mszobjectlist : :: windows::core::PWSTR , pcchbuffersize : *mut u32 , dwdetaillevel : PERF_DETAIL , brefresh : super::super::Foundation:: BOOL ) -> u32 ); PdhEnumObjectsW(szdatasource.into().abi(), szmachinename.into().abi(), ::core::mem::transmute(mszobjectlist), pcchbuffersize, dwdetaillevel, brefresh.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -360,7 +360,7 @@ pub unsafe fn PdhExpandCounterPathA(szwildcardpath: P0, mszexpandedpathlist: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhExpandCounterPathA ( szwildcardpath : :: windows::core::PCSTR , mszexpandedpathlist : :: windows::core::PSTR , pcchpathlistlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhExpandCounterPathA ( szwildcardpath : :: windows::core::PCSTR , mszexpandedpathlist : :: windows::core::PSTR , pcchpathlistlength : *mut u32 ) -> u32 ); PdhExpandCounterPathA(szwildcardpath.into().abi(), ::core::mem::transmute(mszexpandedpathlist), pcchpathlistlength) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -369,7 +369,7 @@ pub unsafe fn PdhExpandCounterPathW(szwildcardpath: P0, mszexpandedpathlist: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhExpandCounterPathW ( szwildcardpath : :: windows::core::PCWSTR , mszexpandedpathlist : :: windows::core::PWSTR , pcchpathlistlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhExpandCounterPathW ( szwildcardpath : :: windows::core::PCWSTR , mszexpandedpathlist : :: windows::core::PWSTR , pcchpathlistlength : *mut u32 ) -> u32 ); PdhExpandCounterPathW(szwildcardpath.into().abi(), ::core::mem::transmute(mszexpandedpathlist), pcchpathlistlength) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -379,7 +379,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhExpandWildCardPathA ( szdatasource : :: windows::core::PCSTR , szwildcardpath : :: windows::core::PCSTR , mszexpandedpathlist : :: windows::core::PSTR , pcchpathlistlength : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhExpandWildCardPathA ( szdatasource : :: windows::core::PCSTR , szwildcardpath : :: windows::core::PCSTR , mszexpandedpathlist : :: windows::core::PSTR , pcchpathlistlength : *mut u32 , dwflags : u32 ) -> u32 ); PdhExpandWildCardPathA(szdatasource.into().abi(), szwildcardpath.into().abi(), ::core::mem::transmute(mszexpandedpathlist), pcchpathlistlength, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -388,7 +388,7 @@ pub unsafe fn PdhExpandWildCardPathHA(hdatasource: isize, szwildcardpath: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhExpandWildCardPathHA ( hdatasource : isize , szwildcardpath : :: windows::core::PCSTR , mszexpandedpathlist : :: windows::core::PSTR , pcchpathlistlength : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhExpandWildCardPathHA ( hdatasource : isize , szwildcardpath : :: windows::core::PCSTR , mszexpandedpathlist : :: windows::core::PSTR , pcchpathlistlength : *mut u32 , dwflags : u32 ) -> u32 ); PdhExpandWildCardPathHA(hdatasource, szwildcardpath.into().abi(), ::core::mem::transmute(mszexpandedpathlist), pcchpathlistlength, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -397,7 +397,7 @@ pub unsafe fn PdhExpandWildCardPathHW(hdatasource: isize, szwildcardpath: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhExpandWildCardPathHW ( hdatasource : isize , szwildcardpath : :: windows::core::PCWSTR , mszexpandedpathlist : :: windows::core::PWSTR , pcchpathlistlength : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhExpandWildCardPathHW ( hdatasource : isize , szwildcardpath : :: windows::core::PCWSTR , mszexpandedpathlist : :: windows::core::PWSTR , pcchpathlistlength : *mut u32 , dwflags : u32 ) -> u32 ); PdhExpandWildCardPathHW(hdatasource, szwildcardpath.into().abi(), ::core::mem::transmute(mszexpandedpathlist), pcchpathlistlength, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -407,14 +407,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhExpandWildCardPathW ( szdatasource : :: windows::core::PCWSTR , szwildcardpath : :: windows::core::PCWSTR , mszexpandedpathlist : :: windows::core::PWSTR , pcchpathlistlength : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhExpandWildCardPathW ( szdatasource : :: windows::core::PCWSTR , szwildcardpath : :: windows::core::PCWSTR , mszexpandedpathlist : :: windows::core::PWSTR , pcchpathlistlength : *mut u32 , dwflags : u32 ) -> u32 ); PdhExpandWildCardPathW(szdatasource.into().abi(), szwildcardpath.into().abi(), ::core::mem::transmute(mszexpandedpathlist), pcchpathlistlength, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhFormatFromRawValue(dwcountertype: u32, dwformat: PDH_FMT, ptimebase: ::core::option::Option<*const i64>, prawvalue1: *const PDH_RAW_COUNTER, prawvalue2: *const PDH_RAW_COUNTER, pfmtvalue: *mut PDH_FMT_COUNTERVALUE) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhFormatFromRawValue ( dwcountertype : u32 , dwformat : PDH_FMT , ptimebase : *const i64 , prawvalue1 : *const PDH_RAW_COUNTER , prawvalue2 : *const PDH_RAW_COUNTER , pfmtvalue : *mut PDH_FMT_COUNTERVALUE ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhFormatFromRawValue ( dwcountertype : u32 , dwformat : PDH_FMT , ptimebase : *const i64 , prawvalue1 : *const PDH_RAW_COUNTER , prawvalue2 : *const PDH_RAW_COUNTER , pfmtvalue : *mut PDH_FMT_COUNTERVALUE ) -> u32 ); PdhFormatFromRawValue(dwcountertype, dwformat, ::core::mem::transmute(ptimebase.unwrap_or(::std::ptr::null())), prawvalue1, prawvalue2, pfmtvalue) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -424,7 +424,7 @@ pub unsafe fn PdhGetCounterInfoA(hcounter: isize, bretrieveexplaintext: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetCounterInfoA ( hcounter : isize , bretrieveexplaintext : super::super::Foundation:: BOOLEAN , pdwbuffersize : *mut u32 , lpbuffer : *mut PDH_COUNTER_INFO_A ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetCounterInfoA ( hcounter : isize , bretrieveexplaintext : super::super::Foundation:: BOOLEAN , pdwbuffersize : *mut u32 , lpbuffer : *mut PDH_COUNTER_INFO_A ) -> u32 ); PdhGetCounterInfoA(hcounter, bretrieveexplaintext.into(), pdwbuffersize, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -434,13 +434,13 @@ pub unsafe fn PdhGetCounterInfoW(hcounter: isize, bretrieveexplaintext: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetCounterInfoW ( hcounter : isize , bretrieveexplaintext : super::super::Foundation:: BOOLEAN , pdwbuffersize : *mut u32 , lpbuffer : *mut PDH_COUNTER_INFO_W ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetCounterInfoW ( hcounter : isize , bretrieveexplaintext : super::super::Foundation:: BOOLEAN , pdwbuffersize : *mut u32 , lpbuffer : *mut PDH_COUNTER_INFO_W ) -> u32 ); PdhGetCounterInfoW(hcounter, bretrieveexplaintext.into(), pdwbuffersize, ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhGetCounterTimeBase(hcounter: isize, ptimebase: *mut i64) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetCounterTimeBase ( hcounter : isize , ptimebase : *mut i64 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetCounterTimeBase ( hcounter : isize , ptimebase : *mut i64 ) -> u32 ); PdhGetCounterTimeBase(hcounter, ptimebase) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -449,13 +449,13 @@ pub unsafe fn PdhGetDataSourceTimeRangeA(szdatasource: P0, pdwnumentries: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDataSourceTimeRangeA ( szdatasource : :: windows::core::PCSTR , pdwnumentries : *mut u32 , pinfo : *mut PDH_TIME_INFO , pdwbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDataSourceTimeRangeA ( szdatasource : :: windows::core::PCSTR , pdwnumentries : *mut u32 , pinfo : *mut PDH_TIME_INFO , pdwbuffersize : *mut u32 ) -> u32 ); PdhGetDataSourceTimeRangeA(szdatasource.into().abi(), pdwnumentries, pinfo, pdwbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhGetDataSourceTimeRangeH(hdatasource: isize, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDataSourceTimeRangeH ( hdatasource : isize , pdwnumentries : *mut u32 , pinfo : *mut PDH_TIME_INFO , pdwbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDataSourceTimeRangeH ( hdatasource : isize , pdwnumentries : *mut u32 , pinfo : *mut PDH_TIME_INFO , pdwbuffersize : *mut u32 ) -> u32 ); PdhGetDataSourceTimeRangeH(hdatasource, pdwnumentries, pinfo, pdwbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -464,7 +464,7 @@ pub unsafe fn PdhGetDataSourceTimeRangeW(szdatasource: P0, pdwnumentries: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDataSourceTimeRangeW ( szdatasource : :: windows::core::PCWSTR , pdwnumentries : *mut u32 , pinfo : *mut PDH_TIME_INFO , pdwbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDataSourceTimeRangeW ( szdatasource : :: windows::core::PCWSTR , pdwnumentries : *mut u32 , pinfo : *mut PDH_TIME_INFO , pdwbuffersize : *mut u32 ) -> u32 ); PdhGetDataSourceTimeRangeW(szdatasource.into().abi(), pdwnumentries, pinfo, pdwbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -475,7 +475,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfCounterA ( szdatasource : :: windows::core::PCSTR , szmachinename : :: windows::core::PCSTR , szobjectname : :: windows::core::PCSTR , szdefaultcountername : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfCounterA ( szdatasource : :: windows::core::PCSTR , szmachinename : :: windows::core::PCSTR , szobjectname : :: windows::core::PCSTR , szdefaultcountername : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhGetDefaultPerfCounterA(szdatasource.into().abi(), szmachinename.into().abi(), szobjectname.into().abi(), ::core::mem::transmute(szdefaultcountername), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -485,7 +485,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfCounterHA ( hdatasource : isize , szmachinename : :: windows::core::PCSTR , szobjectname : :: windows::core::PCSTR , szdefaultcountername : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfCounterHA ( hdatasource : isize , szmachinename : :: windows::core::PCSTR , szobjectname : :: windows::core::PCSTR , szdefaultcountername : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhGetDefaultPerfCounterHA(hdatasource, szmachinename.into().abi(), szobjectname.into().abi(), ::core::mem::transmute(szdefaultcountername), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -495,7 +495,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfCounterHW ( hdatasource : isize , szmachinename : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , szdefaultcountername : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfCounterHW ( hdatasource : isize , szmachinename : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , szdefaultcountername : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhGetDefaultPerfCounterHW(hdatasource, szmachinename.into().abi(), szobjectname.into().abi(), ::core::mem::transmute(szdefaultcountername), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -506,7 +506,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfCounterW ( szdatasource : :: windows::core::PCWSTR , szmachinename : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , szdefaultcountername : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfCounterW ( szdatasource : :: windows::core::PCWSTR , szmachinename : :: windows::core::PCWSTR , szobjectname : :: windows::core::PCWSTR , szdefaultcountername : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhGetDefaultPerfCounterW(szdatasource.into().abi(), szmachinename.into().abi(), szobjectname.into().abi(), ::core::mem::transmute(szdefaultcountername), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -516,7 +516,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfObjectA ( szdatasource : :: windows::core::PCSTR , szmachinename : :: windows::core::PCSTR , szdefaultobjectname : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfObjectA ( szdatasource : :: windows::core::PCSTR , szmachinename : :: windows::core::PCSTR , szdefaultobjectname : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhGetDefaultPerfObjectA(szdatasource.into().abi(), szmachinename.into().abi(), ::core::mem::transmute(szdefaultobjectname), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -525,7 +525,7 @@ pub unsafe fn PdhGetDefaultPerfObjectHA(hdatasource: isize, szmachinename: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfObjectHA ( hdatasource : isize , szmachinename : :: windows::core::PCSTR , szdefaultobjectname : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfObjectHA ( hdatasource : isize , szmachinename : :: windows::core::PCSTR , szdefaultobjectname : :: windows::core::PSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhGetDefaultPerfObjectHA(hdatasource, szmachinename.into().abi(), ::core::mem::transmute(szdefaultobjectname), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -534,7 +534,7 @@ pub unsafe fn PdhGetDefaultPerfObjectHW(hdatasource: isize, szmachinename: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfObjectHW ( hdatasource : isize , szmachinename : :: windows::core::PCWSTR , szdefaultobjectname : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfObjectHW ( hdatasource : isize , szmachinename : :: windows::core::PCWSTR , szdefaultobjectname : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhGetDefaultPerfObjectHW(hdatasource, szmachinename.into().abi(), ::core::mem::transmute(szdefaultobjectname), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -544,71 +544,71 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfObjectW ( szdatasource : :: windows::core::PCWSTR , szmachinename : :: windows::core::PCWSTR , szdefaultobjectname : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDefaultPerfObjectW ( szdatasource : :: windows::core::PCWSTR , szmachinename : :: windows::core::PCWSTR , szdefaultobjectname : :: windows::core::PWSTR , pcchbuffersize : *mut u32 ) -> u32 ); PdhGetDefaultPerfObjectW(szdatasource.into().abi(), szmachinename.into().abi(), ::core::mem::transmute(szdefaultobjectname), pcchbuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhGetDllVersion(lpdwversion: ::core::option::Option<*mut PDH_DLL_VERSION>) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetDllVersion ( lpdwversion : *mut PDH_DLL_VERSION ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetDllVersion ( lpdwversion : *mut PDH_DLL_VERSION ) -> u32 ); PdhGetDllVersion(::core::mem::transmute(lpdwversion.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhGetFormattedCounterArrayA(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: ::core::option::Option<*mut PDH_FMT_COUNTERVALUE_ITEM_A>) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetFormattedCounterArrayA ( hcounter : isize , dwformat : PDH_FMT , lpdwbuffersize : *mut u32 , lpdwitemcount : *mut u32 , itembuffer : *mut PDH_FMT_COUNTERVALUE_ITEM_A ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetFormattedCounterArrayA ( hcounter : isize , dwformat : PDH_FMT , lpdwbuffersize : *mut u32 , lpdwitemcount : *mut u32 , itembuffer : *mut PDH_FMT_COUNTERVALUE_ITEM_A ) -> u32 ); PdhGetFormattedCounterArrayA(hcounter, dwformat, lpdwbuffersize, lpdwitemcount, ::core::mem::transmute(itembuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhGetFormattedCounterArrayW(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: ::core::option::Option<*mut PDH_FMT_COUNTERVALUE_ITEM_W>) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetFormattedCounterArrayW ( hcounter : isize , dwformat : PDH_FMT , lpdwbuffersize : *mut u32 , lpdwitemcount : *mut u32 , itembuffer : *mut PDH_FMT_COUNTERVALUE_ITEM_W ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetFormattedCounterArrayW ( hcounter : isize , dwformat : PDH_FMT , lpdwbuffersize : *mut u32 , lpdwitemcount : *mut u32 , itembuffer : *mut PDH_FMT_COUNTERVALUE_ITEM_W ) -> u32 ); PdhGetFormattedCounterArrayW(hcounter, dwformat, lpdwbuffersize, lpdwitemcount, ::core::mem::transmute(itembuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhGetFormattedCounterValue(hcounter: isize, dwformat: PDH_FMT, lpdwtype: ::core::option::Option<*mut u32>, pvalue: *mut PDH_FMT_COUNTERVALUE) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetFormattedCounterValue ( hcounter : isize , dwformat : PDH_FMT , lpdwtype : *mut u32 , pvalue : *mut PDH_FMT_COUNTERVALUE ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetFormattedCounterValue ( hcounter : isize , dwformat : PDH_FMT , lpdwtype : *mut u32 , pvalue : *mut PDH_FMT_COUNTERVALUE ) -> u32 ); PdhGetFormattedCounterValue(hcounter, dwformat, ::core::mem::transmute(lpdwtype.unwrap_or(::std::ptr::null_mut())), pvalue) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhGetLogFileSize(hlog: isize, llsize: *mut i64) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetLogFileSize ( hlog : isize , llsize : *mut i64 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetLogFileSize ( hlog : isize , llsize : *mut i64 ) -> u32 ); PdhGetLogFileSize(hlog, llsize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhGetLogSetGUID(hlog: isize, pguid: ::core::option::Option<*mut ::windows::core::GUID>, prunid: ::core::option::Option<*mut i32>) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetLogSetGUID ( hlog : isize , pguid : *mut :: windows::core::GUID , prunid : *mut i32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetLogSetGUID ( hlog : isize , pguid : *mut :: windows::core::GUID , prunid : *mut i32 ) -> u32 ); PdhGetLogSetGUID(hlog, ::core::mem::transmute(pguid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prunid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhGetRawCounterArrayA(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: ::core::option::Option<*mut PDH_RAW_COUNTER_ITEM_A>) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetRawCounterArrayA ( hcounter : isize , lpdwbuffersize : *mut u32 , lpdwitemcount : *mut u32 , itembuffer : *mut PDH_RAW_COUNTER_ITEM_A ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetRawCounterArrayA ( hcounter : isize , lpdwbuffersize : *mut u32 , lpdwitemcount : *mut u32 , itembuffer : *mut PDH_RAW_COUNTER_ITEM_A ) -> u32 ); PdhGetRawCounterArrayA(hcounter, lpdwbuffersize, lpdwitemcount, ::core::mem::transmute(itembuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhGetRawCounterArrayW(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: ::core::option::Option<*mut PDH_RAW_COUNTER_ITEM_W>) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetRawCounterArrayW ( hcounter : isize , lpdwbuffersize : *mut u32 , lpdwitemcount : *mut u32 , itembuffer : *mut PDH_RAW_COUNTER_ITEM_W ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetRawCounterArrayW ( hcounter : isize , lpdwbuffersize : *mut u32 , lpdwitemcount : *mut u32 , itembuffer : *mut PDH_RAW_COUNTER_ITEM_W ) -> u32 ); PdhGetRawCounterArrayW(hcounter, lpdwbuffersize, lpdwitemcount, ::core::mem::transmute(itembuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhGetRawCounterValue(hcounter: isize, lpdwtype: ::core::option::Option<*mut u32>, pvalue: *mut PDH_RAW_COUNTER) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhGetRawCounterValue ( hcounter : isize , lpdwtype : *mut u32 , pvalue : *mut PDH_RAW_COUNTER ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhGetRawCounterValue ( hcounter : isize , lpdwtype : *mut u32 , pvalue : *mut PDH_RAW_COUNTER ) -> u32 ); PdhGetRawCounterValue(hcounter, ::core::mem::transmute(lpdwtype.unwrap_or(::std::ptr::null_mut())), pvalue) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhIsRealTimeQuery(hquery: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "pdh.dll""system" fn PdhIsRealTimeQuery ( hquery : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhIsRealTimeQuery ( hquery : isize ) -> super::super::Foundation:: BOOL ); PdhIsRealTimeQuery(hquery) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -618,7 +618,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhLookupPerfIndexByNameA ( szmachinename : :: windows::core::PCSTR , sznamebuffer : :: windows::core::PCSTR , pdwindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhLookupPerfIndexByNameA ( szmachinename : :: windows::core::PCSTR , sznamebuffer : :: windows::core::PCSTR , pdwindex : *mut u32 ) -> u32 ); PdhLookupPerfIndexByNameA(szmachinename.into().abi(), sznamebuffer.into().abi(), pdwindex) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -628,7 +628,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhLookupPerfIndexByNameW ( szmachinename : :: windows::core::PCWSTR , sznamebuffer : :: windows::core::PCWSTR , pdwindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhLookupPerfIndexByNameW ( szmachinename : :: windows::core::PCWSTR , sznamebuffer : :: windows::core::PCWSTR , pdwindex : *mut u32 ) -> u32 ); PdhLookupPerfIndexByNameW(szmachinename.into().abi(), sznamebuffer.into().abi(), pdwindex) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -637,7 +637,7 @@ pub unsafe fn PdhLookupPerfNameByIndexA(szmachinename: P0, dwnameindex: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhLookupPerfNameByIndexA ( szmachinename : :: windows::core::PCSTR , dwnameindex : u32 , sznamebuffer : :: windows::core::PSTR , pcchnamebuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhLookupPerfNameByIndexA ( szmachinename : :: windows::core::PCSTR , dwnameindex : u32 , sznamebuffer : :: windows::core::PSTR , pcchnamebuffersize : *mut u32 ) -> u32 ); PdhLookupPerfNameByIndexA(szmachinename.into().abi(), dwnameindex, ::core::mem::transmute(sznamebuffer), pcchnamebuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -646,19 +646,19 @@ pub unsafe fn PdhLookupPerfNameByIndexW(szmachinename: P0, dwnameindex: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhLookupPerfNameByIndexW ( szmachinename : :: windows::core::PCWSTR , dwnameindex : u32 , sznamebuffer : :: windows::core::PWSTR , pcchnamebuffersize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhLookupPerfNameByIndexW ( szmachinename : :: windows::core::PCWSTR , dwnameindex : u32 , sznamebuffer : :: windows::core::PWSTR , pcchnamebuffersize : *mut u32 ) -> u32 ); PdhLookupPerfNameByIndexW(szmachinename.into().abi(), dwnameindex, ::core::mem::transmute(sznamebuffer), pcchnamebuffersize) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhMakeCounterPathA(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_A, szfullpathbuffer: ::windows::core::PSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhMakeCounterPathA ( pcounterpathelements : *const PDH_COUNTER_PATH_ELEMENTS_A , szfullpathbuffer : :: windows::core::PSTR , pcchbuffersize : *mut u32 , dwflags : PDH_PATH_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhMakeCounterPathA ( pcounterpathelements : *const PDH_COUNTER_PATH_ELEMENTS_A , szfullpathbuffer : :: windows::core::PSTR , pcchbuffersize : *mut u32 , dwflags : PDH_PATH_FLAGS ) -> u32 ); PdhMakeCounterPathA(pcounterpathelements, ::core::mem::transmute(szfullpathbuffer), pcchbuffersize, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhMakeCounterPathW(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_W, szfullpathbuffer: ::windows::core::PWSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhMakeCounterPathW ( pcounterpathelements : *const PDH_COUNTER_PATH_ELEMENTS_W , szfullpathbuffer : :: windows::core::PWSTR , pcchbuffersize : *mut u32 , dwflags : PDH_PATH_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhMakeCounterPathW ( pcounterpathelements : *const PDH_COUNTER_PATH_ELEMENTS_W , szfullpathbuffer : :: windows::core::PWSTR , pcchbuffersize : *mut u32 , dwflags : PDH_PATH_FLAGS ) -> u32 ); PdhMakeCounterPathW(pcounterpathelements, ::core::mem::transmute(szfullpathbuffer), pcchbuffersize, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -668,7 +668,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhOpenLogA ( szlogfilename : :: windows::core::PCSTR , dwaccessflags : PDH_LOG , lpdwlogtype : *mut PDH_LOG_TYPE , hquery : isize , dwmaxsize : u32 , szusercaption : :: windows::core::PCSTR , phlog : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhOpenLogA ( szlogfilename : :: windows::core::PCSTR , dwaccessflags : PDH_LOG , lpdwlogtype : *mut PDH_LOG_TYPE , hquery : isize , dwmaxsize : u32 , szusercaption : :: windows::core::PCSTR , phlog : *mut isize ) -> u32 ); PdhOpenLogA(szlogfilename.into().abi(), dwaccessflags, lpdwlogtype, hquery, dwmaxsize, szusercaption.into().abi(), phlog) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -678,7 +678,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhOpenLogW ( szlogfilename : :: windows::core::PCWSTR , dwaccessflags : PDH_LOG , lpdwlogtype : *mut PDH_LOG_TYPE , hquery : isize , dwmaxsize : u32 , szusercaption : :: windows::core::PCWSTR , phlog : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhOpenLogW ( szlogfilename : :: windows::core::PCWSTR , dwaccessflags : PDH_LOG , lpdwlogtype : *mut PDH_LOG_TYPE , hquery : isize , dwmaxsize : u32 , szusercaption : :: windows::core::PCWSTR , phlog : *mut isize ) -> u32 ); PdhOpenLogW(szlogfilename.into().abi(), dwaccessflags, lpdwlogtype, hquery, dwmaxsize, szusercaption.into().abi(), phlog) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -687,13 +687,13 @@ pub unsafe fn PdhOpenQueryA(szdatasource: P0, dwuserdata: usize, phquery: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhOpenQueryA ( szdatasource : :: windows::core::PCSTR , dwuserdata : usize , phquery : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhOpenQueryA ( szdatasource : :: windows::core::PCSTR , dwuserdata : usize , phquery : *mut isize ) -> u32 ); PdhOpenQueryA(szdatasource.into().abi(), dwuserdata, phquery) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhOpenQueryH(hdatasource: isize, dwuserdata: usize, phquery: *mut isize) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhOpenQueryH ( hdatasource : isize , dwuserdata : usize , phquery : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhOpenQueryH ( hdatasource : isize , dwuserdata : usize , phquery : *mut isize ) -> u32 ); PdhOpenQueryH(hdatasource, dwuserdata, phquery) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -702,7 +702,7 @@ pub unsafe fn PdhOpenQueryW(szdatasource: P0, dwuserdata: usize, phquery: *m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhOpenQueryW ( szdatasource : :: windows::core::PCWSTR , dwuserdata : usize , phquery : *mut isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhOpenQueryW ( szdatasource : :: windows::core::PCWSTR , dwuserdata : usize , phquery : *mut isize ) -> u32 ); PdhOpenQueryW(szdatasource.into().abi(), dwuserdata, phquery) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -711,7 +711,7 @@ pub unsafe fn PdhParseCounterPathA(szfullpathbuffer: P0, pcounterpathelement where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhParseCounterPathA ( szfullpathbuffer : :: windows::core::PCSTR , pcounterpathelements : *mut PDH_COUNTER_PATH_ELEMENTS_A , pdwbuffersize : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhParseCounterPathA ( szfullpathbuffer : :: windows::core::PCSTR , pcounterpathelements : *mut PDH_COUNTER_PATH_ELEMENTS_A , pdwbuffersize : *mut u32 , dwflags : u32 ) -> u32 ); PdhParseCounterPathA(szfullpathbuffer.into().abi(), ::core::mem::transmute(pcounterpathelements.unwrap_or(::std::ptr::null_mut())), pdwbuffersize, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -720,7 +720,7 @@ pub unsafe fn PdhParseCounterPathW(szfullpathbuffer: P0, pcounterpathelement where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhParseCounterPathW ( szfullpathbuffer : :: windows::core::PCWSTR , pcounterpathelements : *mut PDH_COUNTER_PATH_ELEMENTS_W , pdwbuffersize : *mut u32 , dwflags : u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhParseCounterPathW ( szfullpathbuffer : :: windows::core::PCWSTR , pcounterpathelements : *mut PDH_COUNTER_PATH_ELEMENTS_W , pdwbuffersize : *mut u32 , dwflags : u32 ) -> u32 ); PdhParseCounterPathW(szfullpathbuffer.into().abi(), ::core::mem::transmute(pcounterpathelements.unwrap_or(::std::ptr::null_mut())), pdwbuffersize, dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -729,7 +729,7 @@ pub unsafe fn PdhParseInstanceNameA(szinstancestring: P0, szinstancename: :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhParseInstanceNameA ( szinstancestring : :: windows::core::PCSTR , szinstancename : :: windows::core::PSTR , pcchinstancenamelength : *mut u32 , szparentname : :: windows::core::PSTR , pcchparentnamelength : *mut u32 , lpindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhParseInstanceNameA ( szinstancestring : :: windows::core::PCSTR , szinstancename : :: windows::core::PSTR , pcchinstancenamelength : *mut u32 , szparentname : :: windows::core::PSTR , pcchparentnamelength : *mut u32 , lpindex : *mut u32 ) -> u32 ); PdhParseInstanceNameA(szinstancestring.into().abi(), ::core::mem::transmute(szinstancename), pcchinstancenamelength, ::core::mem::transmute(szparentname), pcchparentnamelength, lpindex) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -738,20 +738,20 @@ pub unsafe fn PdhParseInstanceNameW(szinstancestring: P0, szinstancename: :: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhParseInstanceNameW ( szinstancestring : :: windows::core::PCWSTR , szinstancename : :: windows::core::PWSTR , pcchinstancenamelength : *mut u32 , szparentname : :: windows::core::PWSTR , pcchparentnamelength : *mut u32 , lpindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhParseInstanceNameW ( szinstancestring : :: windows::core::PCWSTR , szinstancename : :: windows::core::PWSTR , pcchinstancenamelength : *mut u32 , szparentname : :: windows::core::PWSTR , pcchparentnamelength : *mut u32 , lpindex : *mut u32 ) -> u32 ); PdhParseInstanceNameW(szinstancestring.into().abi(), ::core::mem::transmute(szinstancename), pcchinstancenamelength, ::core::mem::transmute(szparentname), pcchparentnamelength, lpindex) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PdhReadRawLogRecord(hlog: isize, ftrecord: super::super::Foundation::FILETIME, prawlogrecord: ::core::option::Option<*mut PDH_RAW_LOG_RECORD>, pdwbufferlength: *mut u32) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhReadRawLogRecord ( hlog : isize , ftrecord : super::super::Foundation:: FILETIME , prawlogrecord : *mut PDH_RAW_LOG_RECORD , pdwbufferlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhReadRawLogRecord ( hlog : isize , ftrecord : super::super::Foundation:: FILETIME , prawlogrecord : *mut PDH_RAW_LOG_RECORD , pdwbufferlength : *mut u32 ) -> u32 ); PdhReadRawLogRecord(hlog, ::core::mem::transmute(ftrecord), ::core::mem::transmute(prawlogrecord.unwrap_or(::std::ptr::null_mut())), pdwbufferlength) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhRemoveCounter(hcounter: isize) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhRemoveCounter ( hcounter : isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhRemoveCounter ( hcounter : isize ) -> u32 ); PdhRemoveCounter(hcounter) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -761,7 +761,7 @@ pub unsafe fn PdhSelectDataSourceA(hwndowner: P0, dwflags: PDH_SELECT_DATA_S where P0: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhSelectDataSourceA ( hwndowner : super::super::Foundation:: HWND , dwflags : PDH_SELECT_DATA_SOURCE_FLAGS , szdatasource : :: windows::core::PSTR , pcchbufferlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhSelectDataSourceA ( hwndowner : super::super::Foundation:: HWND , dwflags : PDH_SELECT_DATA_SOURCE_FLAGS , szdatasource : :: windows::core::PSTR , pcchbufferlength : *mut u32 ) -> u32 ); PdhSelectDataSourceA(hwndowner.into(), dwflags, ::core::mem::transmute(szdatasource), pcchbufferlength) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -771,31 +771,31 @@ pub unsafe fn PdhSelectDataSourceW(hwndowner: P0, dwflags: PDH_SELECT_DATA_S where P0: ::std::convert::Into, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhSelectDataSourceW ( hwndowner : super::super::Foundation:: HWND , dwflags : PDH_SELECT_DATA_SOURCE_FLAGS , szdatasource : :: windows::core::PWSTR , pcchbufferlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhSelectDataSourceW ( hwndowner : super::super::Foundation:: HWND , dwflags : PDH_SELECT_DATA_SOURCE_FLAGS , szdatasource : :: windows::core::PWSTR , pcchbufferlength : *mut u32 ) -> u32 ); PdhSelectDataSourceW(hwndowner.into(), dwflags, ::core::mem::transmute(szdatasource), pcchbufferlength) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhSetCounterScaleFactor(hcounter: isize, lfactor: i32) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhSetCounterScaleFactor ( hcounter : isize , lfactor : i32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhSetCounterScaleFactor ( hcounter : isize , lfactor : i32 ) -> u32 ); PdhSetCounterScaleFactor(hcounter, lfactor) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhSetDefaultRealTimeDataSource(dwdatasourceid: REAL_TIME_DATA_SOURCE_ID_FLAGS) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhSetDefaultRealTimeDataSource ( dwdatasourceid : REAL_TIME_DATA_SOURCE_ID_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhSetDefaultRealTimeDataSource ( dwdatasourceid : REAL_TIME_DATA_SOURCE_ID_FLAGS ) -> u32 ); PdhSetDefaultRealTimeDataSource(dwdatasourceid) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhSetLogSetRunID(hlog: isize, runid: i32) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhSetLogSetRunID ( hlog : isize , runid : i32 ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhSetLogSetRunID ( hlog : isize , runid : i32 ) -> u32 ); PdhSetLogSetRunID(hlog, runid) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhSetQueryTimeRange(hquery: isize, pinfo: *const PDH_TIME_INFO) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhSetQueryTimeRange ( hquery : isize , pinfo : *const PDH_TIME_INFO ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhSetQueryTimeRange ( hquery : isize , pinfo : *const PDH_TIME_INFO ) -> u32 ); PdhSetQueryTimeRange(hquery, pinfo) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -804,13 +804,13 @@ pub unsafe fn PdhUpdateLogA(hlog: isize, szuserstring: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhUpdateLogA ( hlog : isize , szuserstring : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhUpdateLogA ( hlog : isize , szuserstring : :: windows::core::PCSTR ) -> u32 ); PdhUpdateLogA(hlog, szuserstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PdhUpdateLogFileCatalog(hlog: isize) -> u32 { - ::windows::core::link ! ( "pdh.dll""system" fn PdhUpdateLogFileCatalog ( hlog : isize ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhUpdateLogFileCatalog ( hlog : isize ) -> u32 ); PdhUpdateLogFileCatalog(hlog) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -819,7 +819,7 @@ pub unsafe fn PdhUpdateLogW(hlog: isize, szuserstring: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhUpdateLogW ( hlog : isize , szuserstring : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhUpdateLogW ( hlog : isize , szuserstring : :: windows::core::PCWSTR ) -> u32 ); PdhUpdateLogW(hlog, szuserstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -828,7 +828,7 @@ pub unsafe fn PdhValidatePathA(szfullpathbuffer: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhValidatePathA ( szfullpathbuffer : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhValidatePathA ( szfullpathbuffer : :: windows::core::PCSTR ) -> u32 ); PdhValidatePathA(szfullpathbuffer.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -837,7 +837,7 @@ pub unsafe fn PdhValidatePathExA(hdatasource: isize, szfullpathbuffer: P0) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhValidatePathExA ( hdatasource : isize , szfullpathbuffer : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhValidatePathExA ( hdatasource : isize , szfullpathbuffer : :: windows::core::PCSTR ) -> u32 ); PdhValidatePathExA(hdatasource, szfullpathbuffer.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -846,7 +846,7 @@ pub unsafe fn PdhValidatePathExW(hdatasource: isize, szfullpathbuffer: P0) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhValidatePathExW ( hdatasource : isize , szfullpathbuffer : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhValidatePathExW ( hdatasource : isize , szfullpathbuffer : :: windows::core::PCWSTR ) -> u32 ); PdhValidatePathExW(hdatasource, szfullpathbuffer.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -855,7 +855,7 @@ pub unsafe fn PdhValidatePathW(szfullpathbuffer: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhValidatePathW ( szfullpathbuffer : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhValidatePathW ( szfullpathbuffer : :: windows::core::PCWSTR ) -> u32 ); PdhValidatePathW(szfullpathbuffer.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -864,7 +864,7 @@ pub unsafe fn PdhVerifySQLDBA(szdatasource: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhVerifySQLDBA ( szdatasource : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhVerifySQLDBA ( szdatasource : :: windows::core::PCSTR ) -> u32 ); PdhVerifySQLDBA(szdatasource.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -873,7 +873,7 @@ pub unsafe fn PdhVerifySQLDBW(szdatasource: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "pdh.dll""system" fn PdhVerifySQLDBW ( szdatasource : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "pdh.dll""system" fn PdhVerifySQLDBW ( szdatasource : :: windows::core::PCWSTR ) -> u32 ); PdhVerifySQLDBW(szdatasource.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -882,7 +882,7 @@ pub unsafe fn PerfAddCounters(hquery: P0, pcounters: *mut PERF_COUNTER_IDENT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfAddCounters ( hquery : PerfQueryHandle , pcounters : *mut PERF_COUNTER_IDENTIFIER , cbcounters : u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfAddCounters ( hquery : PerfQueryHandle , pcounters : *mut PERF_COUNTER_IDENTIFIER , cbcounters : u32 ) -> u32 ); PerfAddCounters(hquery.into(), pcounters, cbcounters) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -892,7 +892,7 @@ pub unsafe fn PerfCloseQueryHandle(hquery: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfCloseQueryHandle ( hquery : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfCloseQueryHandle ( hquery : super::super::Foundation:: HANDLE ) -> u32 ); PerfCloseQueryHandle(hquery.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -902,7 +902,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfCreateInstance ( providerhandle : PerfProviderHandle , countersetguid : *const :: windows::core::GUID , name : :: windows::core::PCWSTR , id : u32 ) -> *mut PERF_COUNTERSET_INSTANCE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfCreateInstance ( providerhandle : PerfProviderHandle , countersetguid : *const :: windows::core::GUID , name : :: windows::core::PCWSTR , id : u32 ) -> *mut PERF_COUNTERSET_INSTANCE ); PerfCreateInstance(providerhandle.into(), countersetguid, name.into().abi(), id) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -912,7 +912,7 @@ pub unsafe fn PerfDecrementULongCounterValue(provider: P0, instance: *mut PE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfDecrementULongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfDecrementULongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u32 ) -> u32 ); PerfDecrementULongCounterValue(provider.into(), instance, counterid, value) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -922,7 +922,7 @@ pub unsafe fn PerfDecrementULongLongCounterValue(provider: P0, instance: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfDecrementULongLongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfDecrementULongLongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u64 ) -> u32 ); PerfDecrementULongLongCounterValue(provider.into(), instance, counterid, value) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -931,7 +931,7 @@ pub unsafe fn PerfDeleteCounters(hquery: P0, pcounters: *mut PERF_COUNTER_ID where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfDeleteCounters ( hquery : PerfQueryHandle , pcounters : *mut PERF_COUNTER_IDENTIFIER , cbcounters : u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfDeleteCounters ( hquery : PerfQueryHandle , pcounters : *mut PERF_COUNTER_IDENTIFIER , cbcounters : u32 ) -> u32 ); PerfDeleteCounters(hquery.into(), pcounters, cbcounters) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -940,7 +940,7 @@ pub unsafe fn PerfDeleteInstance(provider: P0, instanceblock: *const PERF_CO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfDeleteInstance ( provider : PerfProviderHandle , instanceblock : *const PERF_COUNTERSET_INSTANCE ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfDeleteInstance ( provider : PerfProviderHandle , instanceblock : *const PERF_COUNTERSET_INSTANCE ) -> u32 ); PerfDeleteInstance(provider.into(), instanceblock) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -949,7 +949,7 @@ pub unsafe fn PerfEnumerateCounterSet(szmachine: P0, pcountersetids: ::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfEnumerateCounterSet ( szmachine : :: windows::core::PCWSTR , pcountersetids : *mut :: windows::core::GUID , ccountersetids : u32 , pccountersetidsactual : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfEnumerateCounterSet ( szmachine : :: windows::core::PCWSTR , pcountersetids : *mut :: windows::core::GUID , ccountersetids : u32 , pccountersetidsactual : *mut u32 ) -> u32 ); PerfEnumerateCounterSet(szmachine.into().abi(), ::core::mem::transmute(pcountersetids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcountersetids.as_deref().map_or(0, |slice| slice.len() as _), pccountersetidsactual) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -958,7 +958,7 @@ pub unsafe fn PerfEnumerateCounterSetInstances(szmachine: P0, pcountersetid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfEnumerateCounterSetInstances ( szmachine : :: windows::core::PCWSTR , pcountersetid : *const :: windows::core::GUID , pinstances : *mut PERF_INSTANCE_HEADER , cbinstances : u32 , pcbinstancesactual : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfEnumerateCounterSetInstances ( szmachine : :: windows::core::PCWSTR , pcountersetid : *const :: windows::core::GUID , pinstances : *mut PERF_INSTANCE_HEADER , cbinstances : u32 , pcbinstancesactual : *mut u32 ) -> u32 ); PerfEnumerateCounterSetInstances(szmachine.into().abi(), pcountersetid, ::core::mem::transmute(pinstances.unwrap_or(::std::ptr::null_mut())), cbinstances, pcbinstancesactual) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -968,7 +968,7 @@ pub unsafe fn PerfIncrementULongCounterValue(provider: P0, instance: *mut PE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfIncrementULongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfIncrementULongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u32 ) -> u32 ); PerfIncrementULongCounterValue(provider.into(), instance, counterid, value) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -978,7 +978,7 @@ pub unsafe fn PerfIncrementULongLongCounterValue(provider: P0, instance: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfIncrementULongLongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfIncrementULongLongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u64 ) -> u32 ); PerfIncrementULongLongCounterValue(provider.into(), instance, counterid, value) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -987,7 +987,7 @@ pub unsafe fn PerfOpenQueryHandle(szmachine: P0, phquery: *mut PerfQueryHand where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfOpenQueryHandle ( szmachine : :: windows::core::PCWSTR , phquery : *mut PerfQueryHandle ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfOpenQueryHandle ( szmachine : :: windows::core::PCWSTR , phquery : *mut PerfQueryHandle ) -> u32 ); PerfOpenQueryHandle(szmachine.into().abi(), phquery) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -997,7 +997,7 @@ pub unsafe fn PerfQueryCounterData(hquery: P0, pcounterblock: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfQueryCounterData ( hquery : PerfQueryHandle , pcounterblock : *mut PERF_DATA_HEADER , cbcounterblock : u32 , pcbcounterblockactual : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfQueryCounterData ( hquery : PerfQueryHandle , pcounterblock : *mut PERF_DATA_HEADER , cbcounterblock : u32 , pcbcounterblockactual : *mut u32 ) -> u32 ); PerfQueryCounterData(hquery.into(), ::core::mem::transmute(pcounterblock.unwrap_or(::std::ptr::null_mut())), cbcounterblock, pcbcounterblockactual) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -1006,7 +1006,7 @@ pub unsafe fn PerfQueryCounterInfo(hquery: P0, pcounters: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfQueryCounterInfo ( hquery : PerfQueryHandle , pcounters : *mut PERF_COUNTER_IDENTIFIER , cbcounters : u32 , pcbcountersactual : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfQueryCounterInfo ( hquery : PerfQueryHandle , pcounters : *mut PERF_COUNTER_IDENTIFIER , cbcounters : u32 , pcbcountersactual : *mut u32 ) -> u32 ); PerfQueryCounterInfo(hquery.into(), ::core::mem::transmute(pcounters.unwrap_or(::std::ptr::null_mut())), cbcounters, pcbcountersactual) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -1015,7 +1015,7 @@ pub unsafe fn PerfQueryCounterSetRegistrationInfo(szmachine: P0, pcounterset where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfQueryCounterSetRegistrationInfo ( szmachine : :: windows::core::PCWSTR , pcountersetid : *const :: windows::core::GUID , requestcode : PerfRegInfoType , requestlangid : u32 , pbreginfo : *mut u8 , cbreginfo : u32 , pcbreginfoactual : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfQueryCounterSetRegistrationInfo ( szmachine : :: windows::core::PCWSTR , pcountersetid : *const :: windows::core::GUID , requestcode : PerfRegInfoType , requestlangid : u32 , pbreginfo : *mut u8 , cbreginfo : u32 , pcbreginfoactual : *mut u32 ) -> u32 ); PerfQueryCounterSetRegistrationInfo(szmachine.into().abi(), pcountersetid, requestcode, requestlangid, ::core::mem::transmute(pbreginfo.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbreginfo.as_deref().map_or(0, |slice| slice.len() as _), pcbreginfoactual) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -1026,7 +1026,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfQueryInstance ( providerhandle : super::super::Foundation:: HANDLE , countersetguid : *const :: windows::core::GUID , name : :: windows::core::PCWSTR , id : u32 ) -> *mut PERF_COUNTERSET_INSTANCE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfQueryInstance ( providerhandle : super::super::Foundation:: HANDLE , countersetguid : *const :: windows::core::GUID , name : :: windows::core::PCWSTR , id : u32 ) -> *mut PERF_COUNTERSET_INSTANCE ); PerfQueryInstance(providerhandle.into(), countersetguid, name.into().abi(), id) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -1036,7 +1036,7 @@ pub unsafe fn PerfSetCounterRefValue(provider: P0, instance: *mut PERF_COUNT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfSetCounterRefValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , address : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfSetCounterRefValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , address : *const ::core::ffi::c_void ) -> u32 ); PerfSetCounterRefValue(provider.into(), instance, counterid, address) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -1046,7 +1046,7 @@ pub unsafe fn PerfSetCounterSetInfo(providerhandle: P0, template: *mut PERF_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfSetCounterSetInfo ( providerhandle : super::super::Foundation:: HANDLE , template : *mut PERF_COUNTERSET_INFO , templatesize : u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfSetCounterSetInfo ( providerhandle : super::super::Foundation:: HANDLE , template : *mut PERF_COUNTERSET_INFO , templatesize : u32 ) -> u32 ); PerfSetCounterSetInfo(providerhandle.into(), template, templatesize) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -1056,7 +1056,7 @@ pub unsafe fn PerfSetULongCounterValue(provider: P0, instance: *mut PERF_COU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfSetULongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfSetULongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u32 ) -> u32 ); PerfSetULongCounterValue(provider.into(), instance, counterid, value) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -1066,19 +1066,19 @@ pub unsafe fn PerfSetULongLongCounterValue(provider: P0, instance: *mut PERF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfSetULongLongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u64 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfSetULongLongCounterValue ( provider : super::super::Foundation:: HANDLE , instance : *mut PERF_COUNTERSET_INSTANCE , counterid : u32 , value : u64 ) -> u32 ); PerfSetULongLongCounterValue(provider.into(), instance, counterid, value) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PerfStartProvider(providerguid: *const ::windows::core::GUID, controlcallback: PERFLIBREQUEST, phprovider: *mut PerfProviderHandle) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfStartProvider ( providerguid : *const :: windows::core::GUID , controlcallback : PERFLIBREQUEST , phprovider : *mut PerfProviderHandle ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfStartProvider ( providerguid : *const :: windows::core::GUID , controlcallback : PERFLIBREQUEST , phprovider : *mut PerfProviderHandle ) -> u32 ); PerfStartProvider(providerguid, controlcallback, phprovider) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[inline] pub unsafe fn PerfStartProviderEx(providerguid: *const ::windows::core::GUID, providercontext: ::core::option::Option<*const PERF_PROVIDER_CONTEXT>, provider: *mut PerfProviderHandle) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfStartProviderEx ( providerguid : *const :: windows::core::GUID , providercontext : *const PERF_PROVIDER_CONTEXT , provider : *mut PerfProviderHandle ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfStartProviderEx ( providerguid : *const :: windows::core::GUID , providercontext : *const PERF_PROVIDER_CONTEXT , provider : *mut PerfProviderHandle ) -> u32 ); PerfStartProviderEx(providerguid, ::core::mem::transmute(providercontext.unwrap_or(::std::ptr::null())), provider) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -1087,21 +1087,21 @@ pub unsafe fn PerfStopProvider(providerhandle: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn PerfStopProvider ( providerhandle : PerfProviderHandle ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn PerfStopProvider ( providerhandle : PerfProviderHandle ) -> u32 ); PerfStopProvider(providerhandle.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryPerformanceCounter(lpperformancecount: *mut i64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryPerformanceCounter ( lpperformancecount : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryPerformanceCounter ( lpperformancecount : *mut i64 ) -> super::super::Foundation:: BOOL ); QueryPerformanceCounter(lpperformancecount) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryPerformanceFrequency(lpfrequency: *mut i64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryPerformanceFrequency ( lpfrequency : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryPerformanceFrequency ( lpfrequency : *mut i64 ) -> super::super::Foundation:: BOOL ); QueryPerformanceFrequency(lpfrequency) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -1111,7 +1111,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "loadperf.dll""system" fn RestorePerfRegistryFromFileW ( szfilename : :: windows::core::PCWSTR , szlangid : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn RestorePerfRegistryFromFileW ( szfilename : :: windows::core::PCWSTR , szlangid : :: windows::core::PCWSTR ) -> u32 ); RestorePerfRegistryFromFileW(szfilename.into().abi(), szlangid.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -1121,7 +1121,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "loadperf.dll""system" fn SetServiceAsTrustedA ( szreserved : :: windows::core::PCSTR , szservicename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn SetServiceAsTrustedA ( szreserved : :: windows::core::PCSTR , szservicename : :: windows::core::PCSTR ) -> u32 ); SetServiceAsTrustedA(szreserved.into().abi(), szservicename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -1131,7 +1131,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "loadperf.dll""system" fn SetServiceAsTrustedW ( szreserved : :: windows::core::PCWSTR , szservicename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn SetServiceAsTrustedW ( szreserved : :: windows::core::PCWSTR , szservicename : :: windows::core::PCWSTR ) -> u32 ); SetServiceAsTrustedW(szreserved.into().abi(), szservicename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -1142,7 +1142,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "loadperf.dll""system" fn UnloadPerfCounterTextStringsA ( lpcommandline : :: windows::core::PCSTR , bquietmodearg : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn UnloadPerfCounterTextStringsA ( lpcommandline : :: windows::core::PCSTR , bquietmodearg : super::super::Foundation:: BOOL ) -> u32 ); UnloadPerfCounterTextStringsA(lpcommandline.into().abi(), bquietmodearg.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`*"] @@ -1153,7 +1153,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "loadperf.dll""system" fn UnloadPerfCounterTextStringsW ( lpcommandline : :: windows::core::PCWSTR , bquietmodearg : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn UnloadPerfCounterTextStringsW ( lpcommandline : :: windows::core::PCWSTR , bquietmodearg : super::super::Foundation:: BOOL ) -> u32 ); UnloadPerfCounterTextStringsW(lpcommandline.into().abi(), bquietmodearg.into()) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -1164,7 +1164,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "loadperf.dll""system" fn UpdatePerfNameFilesA ( sznewctrfilepath : :: windows::core::PCSTR , sznewhlpfilepath : :: windows::core::PCSTR , szlanguageid : :: windows::core::PCSTR , dwflags : usize ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn UpdatePerfNameFilesA ( sznewctrfilepath : :: windows::core::PCSTR , sznewhlpfilepath : :: windows::core::PCSTR , szlanguageid : :: windows::core::PCSTR , dwflags : usize ) -> u32 ); UpdatePerfNameFilesA(sznewctrfilepath.into().abi(), sznewhlpfilepath.into().abi(), szlanguageid.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] @@ -1175,7 +1175,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "loadperf.dll""system" fn UpdatePerfNameFilesW ( sznewctrfilepath : :: windows::core::PCWSTR , sznewhlpfilepath : :: windows::core::PCWSTR , szlanguageid : :: windows::core::PCWSTR , dwflags : usize ) -> u32 ); + ::windows::imp::link ! ( "loadperf.dll""system" fn UpdatePerfNameFilesW ( sznewctrfilepath : :: windows::core::PCWSTR , sznewhlpfilepath : :: windows::core::PCWSTR , szlanguageid : :: windows::core::PCWSTR , dwflags : usize ) -> u32 ); UpdatePerfNameFilesW(sznewctrfilepath.into().abi(), sznewhlpfilepath.into().abi(), szlanguageid.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] @@ -1185,7 +1185,7 @@ pub struct DICounterItem(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DICounterItem {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DICounterItem, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(DICounterItem, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DICounterItem { fn eq(&self, other: &Self) -> bool { @@ -1227,7 +1227,7 @@ pub struct DILogFileItem(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DILogFileItem {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DILogFileItem, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(DILogFileItem, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DILogFileItem { fn eq(&self, other: &Self) -> bool { @@ -1269,7 +1269,7 @@ pub struct DISystemMonitor(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DISystemMonitor {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DISystemMonitor, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(DISystemMonitor, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DISystemMonitor { fn eq(&self, other: &Self) -> bool { @@ -1311,7 +1311,7 @@ pub struct DISystemMonitorEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DISystemMonitorEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DISystemMonitorEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(DISystemMonitorEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DISystemMonitorEvents { fn eq(&self, other: &Self) -> bool { @@ -1353,7 +1353,7 @@ pub struct DISystemMonitorInternal(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DISystemMonitorInternal {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DISystemMonitorInternal, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(DISystemMonitorInternal, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DISystemMonitorInternal { fn eq(&self, other: &Self) -> bool { @@ -1595,7 +1595,7 @@ impl IAlertDataCollector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAlertDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); +::windows::imp::interface_hierarchy!(IAlertDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAlertDataCollector { fn eq(&self, other: &Self) -> bool { @@ -1872,7 +1872,7 @@ impl IApiTracingDataCollector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IApiTracingDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); +::windows::imp::interface_hierarchy!(IApiTracingDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IApiTracingDataCollector { fn eq(&self, other: &Self) -> bool { @@ -2166,7 +2166,7 @@ impl IConfigurationDataCollector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IConfigurationDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); +::windows::imp::interface_hierarchy!(IConfigurationDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IConfigurationDataCollector { fn eq(&self, other: &Self) -> bool { @@ -2290,7 +2290,7 @@ impl ICounterItem { (::windows::core::Vtable::vtable(self).GetStatistics)(::windows::core::Vtable::as_raw(self), max, min, avg, status).ok() } } -::windows::core::interface_hierarchy!(ICounterItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICounterItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICounterItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2411,7 +2411,7 @@ impl ICounterItem2 { (::windows::core::Vtable::vtable(self).GetDataAt)(::windows::core::Vtable::as_raw(self), iindex, iwhich, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICounterItem2, ::windows::core::IUnknown, ICounterItem); +::windows::imp::interface_hierarchy!(ICounterItem2, ::windows::core::IUnknown, ICounterItem); impl ::core::cmp::PartialEq for ICounterItem2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2492,7 +2492,7 @@ impl ICounters { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICounters, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICounters, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICounters { fn eq(&self, other: &Self) -> bool { @@ -2674,7 +2674,7 @@ impl IDataCollector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDataCollector, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDataCollector, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDataCollector { fn eq(&self, other: &Self) -> bool { @@ -2821,7 +2821,7 @@ impl IDataCollectorCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDataCollectorCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDataCollectorCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDataCollectorCollection { fn eq(&self, other: &Self) -> bool { @@ -3157,7 +3157,7 @@ impl IDataCollectorSet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDataCollectorSet, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDataCollectorSet, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDataCollectorSet { fn eq(&self, other: &Self) -> bool { @@ -3352,7 +3352,7 @@ impl IDataCollectorSetCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDataCollectorSetCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDataCollectorSetCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDataCollectorSetCollection { fn eq(&self, other: &Self) -> bool { @@ -3521,7 +3521,7 @@ impl IDataManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDataManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDataManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDataManager { fn eq(&self, other: &Self) -> bool { @@ -3635,7 +3635,7 @@ impl IFolderAction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFolderAction, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFolderAction, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFolderAction { fn eq(&self, other: &Self) -> bool { @@ -3730,7 +3730,7 @@ impl IFolderActionCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFolderActionCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFolderActionCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFolderActionCollection { fn eq(&self, other: &Self) -> bool { @@ -3797,7 +3797,7 @@ impl ILogFileItem { (::windows::core::Vtable::vtable(self).Path)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILogFileItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILogFileItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILogFileItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3859,7 +3859,7 @@ impl ILogFiles { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ILogFiles, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ILogFiles, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ILogFiles { fn eq(&self, other: &Self) -> bool { @@ -4080,7 +4080,7 @@ impl IPerformanceCounterDataCollector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPerformanceCounterDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); +::windows::imp::interface_hierarchy!(IPerformanceCounterDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPerformanceCounterDataCollector { fn eq(&self, other: &Self) -> bool { @@ -4179,7 +4179,7 @@ impl ISchedule { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISchedule, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISchedule, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISchedule { fn eq(&self, other: &Self) -> bool { @@ -4292,7 +4292,7 @@ impl IScheduleCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IScheduleCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IScheduleCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IScheduleCollection { fn eq(&self, other: &Self) -> bool { @@ -4703,7 +4703,7 @@ impl ISystemMonitor { (::windows::core::Vtable::vtable(self).SqlLogSetName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISystemMonitor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISystemMonitor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISystemMonitor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5337,7 +5337,7 @@ impl ISystemMonitor2 { (::windows::core::Vtable::vtable(self).LoadSettings)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrsettingfilename)).ok() } } -::windows::core::interface_hierarchy!(ISystemMonitor2, ::windows::core::IUnknown, ISystemMonitor); +::windows::imp::interface_hierarchy!(ISystemMonitor2, ::windows::core::IUnknown, ISystemMonitor); impl ::core::cmp::PartialEq for ISystemMonitor2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5435,7 +5435,7 @@ impl ISystemMonitorEvents { (::windows::core::Vtable::vtable(self).OnDblClick)(::windows::core::Vtable::as_raw(self), index) } } -::windows::core::interface_hierarchy!(ISystemMonitorEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISystemMonitorEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISystemMonitorEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5760,7 +5760,7 @@ impl ITraceDataCollector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITraceDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); +::windows::imp::interface_hierarchy!(ITraceDataCollector, ::windows::core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITraceDataCollector { fn eq(&self, other: &Self) -> bool { @@ -5955,7 +5955,7 @@ impl ITraceDataProvider { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITraceDataProvider, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITraceDataProvider, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITraceDataProvider { fn eq(&self, other: &Self) -> bool { @@ -6097,7 +6097,7 @@ impl ITraceDataProviderCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITraceDataProviderCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITraceDataProviderCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITraceDataProviderCollection { fn eq(&self, other: &Self) -> bool { @@ -6231,7 +6231,7 @@ impl IValueMap { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IValueMap, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IValueMap, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IValueMap { fn eq(&self, other: &Self) -> bool { @@ -6355,7 +6355,7 @@ impl IValueMapItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IValueMapItem, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IValueMapItem, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IValueMapItem { fn eq(&self, other: &Self) -> bool { @@ -6493,7 +6493,7 @@ impl _ICounterItemUnion { (::windows::core::Vtable::vtable(self).GetDataAt)(::windows::core::Vtable::as_raw(self), iindex, iwhich, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(_ICounterItemUnion, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(_ICounterItemUnion, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for _ICounterItemUnion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7011,7 +7011,7 @@ impl _ISystemMonitorUnion { (::windows::core::Vtable::vtable(self).LoadSettings)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrsettingfilename)).ok() } } -::windows::core::interface_hierarchy!(_ISystemMonitorUnion, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(_ISystemMonitorUnion, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for _ISystemMonitorUnion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Pipes/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Pipes/mod.rs index d26e9d5f19..13f511c3b5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Pipes/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Pipes/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn CallNamedPipeA(lpnamedpipename: P0, lpinbuffer: ::core::option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CallNamedPipeA ( lpnamedpipename : :: windows::core::PCSTR , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesread : *mut u32 , ntimeout : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CallNamedPipeA ( lpnamedpipename : :: windows::core::PCSTR , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesread : *mut u32 , ntimeout : u32 ) -> super::super::Foundation:: BOOL ); CallNamedPipeA(lpnamedpipename.into().abi(), ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, lpbytesread, ntimeout) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn CallNamedPipeW(lpnamedpipename: P0, lpinbuffer: ::core::option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CallNamedPipeW ( lpnamedpipename : :: windows::core::PCWSTR , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesread : *mut u32 , ntimeout : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CallNamedPipeW ( lpnamedpipename : :: windows::core::PCWSTR , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesread : *mut u32 , ntimeout : u32 ) -> super::super::Foundation:: BOOL ); CallNamedPipeW(lpnamedpipename.into().abi(), ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, lpbytesread, ntimeout) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn ConnectNamedPipe(hnamedpipe: P0, lpoverlapped: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ConnectNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpoverlapped : *mut super::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ConnectNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpoverlapped : *mut super::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); ConnectNamedPipe(hnamedpipe.into(), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`*"] @@ -35,9 +35,9 @@ pub unsafe fn CreateNamedPipeA(lpname: P0, dwopenmode: super::super::Storage where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateNamedPipeA ( lpname : :: windows::core::PCSTR , dwopenmode : super::super::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES , dwpipemode : NAMED_PIPE_MODE , nmaxinstances : u32 , noutbuffersize : u32 , ninbuffersize : u32 , ndefaulttimeout : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateNamedPipeA ( lpname : :: windows::core::PCSTR , dwopenmode : super::super::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES , dwpipemode : NAMED_PIPE_MODE , nmaxinstances : u32 , noutbuffersize : u32 , ninbuffersize : u32 , ndefaulttimeout : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); let result__ = CreateNamedPipeA(lpname.into().abi(), dwopenmode, dwpipemode, nmaxinstances, noutbuffersize, ninbuffersize, ndefaulttimeout, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem"))] @@ -46,14 +46,14 @@ pub unsafe fn CreateNamedPipeW(lpname: P0, dwopenmode: super::super::Storage where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateNamedPipeW ( lpname : :: windows::core::PCWSTR , dwopenmode : super::super::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES , dwpipemode : NAMED_PIPE_MODE , nmaxinstances : u32 , noutbuffersize : u32 , ninbuffersize : u32 , ndefaulttimeout : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateNamedPipeW ( lpname : :: windows::core::PCWSTR , dwopenmode : super::super::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES , dwpipemode : NAMED_PIPE_MODE , nmaxinstances : u32 , noutbuffersize : u32 , ninbuffersize : u32 , ndefaulttimeout : u32 , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ); CreateNamedPipeW(lpname.into().abi(), dwopenmode, dwpipemode, nmaxinstances, noutbuffersize, ninbuffersize, ndefaulttimeout, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn CreatePipe(hreadpipe: *mut super::super::Foundation::HANDLE, hwritepipe: *mut super::super::Foundation::HANDLE, lppipeattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, nsize: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn CreatePipe ( hreadpipe : *mut super::super::Foundation:: HANDLE , hwritepipe : *mut super::super::Foundation:: HANDLE , lppipeattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , nsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreatePipe ( hreadpipe : *mut super::super::Foundation:: HANDLE , hwritepipe : *mut super::super::Foundation:: HANDLE , lppipeattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , nsize : u32 ) -> super::super::Foundation:: BOOL ); CreatePipe(hreadpipe, hwritepipe, ::core::mem::transmute(lppipeattributes.unwrap_or(::std::ptr::null())), nsize) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn DisconnectNamedPipe(hnamedpipe: P0) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DisconnectNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DisconnectNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DisconnectNamedPipe(hnamedpipe.into()) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -73,7 +73,7 @@ pub unsafe fn GetNamedPipeClientComputerNameA(pipe: P0, clientcomputername: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeClientComputerNameA ( pipe : super::super::Foundation:: HANDLE , clientcomputername : :: windows::core::PSTR , clientcomputernamelength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeClientComputerNameA ( pipe : super::super::Foundation:: HANDLE , clientcomputername : :: windows::core::PSTR , clientcomputernamelength : u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeClientComputerNameA(pipe.into(), ::core::mem::transmute(clientcomputername.as_ptr()), clientcomputername.len() as _) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -83,7 +83,7 @@ pub unsafe fn GetNamedPipeClientComputerNameW(pipe: P0, clientcomputername: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeClientComputerNameW ( pipe : super::super::Foundation:: HANDLE , clientcomputername : :: windows::core::PWSTR , clientcomputernamelength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeClientComputerNameW ( pipe : super::super::Foundation:: HANDLE , clientcomputername : :: windows::core::PWSTR , clientcomputernamelength : u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeClientComputerNameW(pipe.into(), ::core::mem::transmute(clientcomputername), clientcomputernamelength) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -93,7 +93,7 @@ pub unsafe fn GetNamedPipeClientProcessId(pipe: P0, clientprocessid: *mut u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeClientProcessId ( pipe : super::super::Foundation:: HANDLE , clientprocessid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeClientProcessId ( pipe : super::super::Foundation:: HANDLE , clientprocessid : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeClientProcessId(pipe.into(), clientprocessid) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -103,7 +103,7 @@ pub unsafe fn GetNamedPipeClientSessionId(pipe: P0, clientsessionid: *mut u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeClientSessionId ( pipe : super::super::Foundation:: HANDLE , clientsessionid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeClientSessionId ( pipe : super::super::Foundation:: HANDLE , clientsessionid : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeClientSessionId(pipe.into(), clientsessionid) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -113,7 +113,7 @@ pub unsafe fn GetNamedPipeHandleStateA(hnamedpipe: P0, lpstate: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeHandleStateA ( hnamedpipe : super::super::Foundation:: HANDLE , lpstate : *mut NAMED_PIPE_MODE , lpcurinstances : *mut u32 , lpmaxcollectioncount : *mut u32 , lpcollectdatatimeout : *mut u32 , lpusername : :: windows::core::PSTR , nmaxusernamesize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeHandleStateA ( hnamedpipe : super::super::Foundation:: HANDLE , lpstate : *mut NAMED_PIPE_MODE , lpcurinstances : *mut u32 , lpmaxcollectioncount : *mut u32 , lpcollectdatatimeout : *mut u32 , lpusername : :: windows::core::PSTR , nmaxusernamesize : u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeHandleStateA(hnamedpipe.into(), ::core::mem::transmute(lpstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcurinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpmaxcollectioncount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcollectdatatimeout.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpusername.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpusername.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -123,7 +123,7 @@ pub unsafe fn GetNamedPipeHandleStateW(hnamedpipe: P0, lpstate: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeHandleStateW ( hnamedpipe : super::super::Foundation:: HANDLE , lpstate : *mut NAMED_PIPE_MODE , lpcurinstances : *mut u32 , lpmaxcollectioncount : *mut u32 , lpcollectdatatimeout : *mut u32 , lpusername : :: windows::core::PWSTR , nmaxusernamesize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeHandleStateW ( hnamedpipe : super::super::Foundation:: HANDLE , lpstate : *mut NAMED_PIPE_MODE , lpcurinstances : *mut u32 , lpmaxcollectioncount : *mut u32 , lpcollectdatatimeout : *mut u32 , lpusername : :: windows::core::PWSTR , nmaxusernamesize : u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeHandleStateW(hnamedpipe.into(), ::core::mem::transmute(lpstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcurinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpmaxcollectioncount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcollectdatatimeout.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpusername.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpusername.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -133,7 +133,7 @@ pub unsafe fn GetNamedPipeInfo(hnamedpipe: P0, lpflags: ::core::option::Opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeInfo ( hnamedpipe : super::super::Foundation:: HANDLE , lpflags : *mut NAMED_PIPE_MODE , lpoutbuffersize : *mut u32 , lpinbuffersize : *mut u32 , lpmaxinstances : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeInfo ( hnamedpipe : super::super::Foundation:: HANDLE , lpflags : *mut NAMED_PIPE_MODE , lpoutbuffersize : *mut u32 , lpinbuffersize : *mut u32 , lpmaxinstances : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeInfo(hnamedpipe.into(), ::core::mem::transmute(lpflags.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoutbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpinbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpmaxinstances.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -143,7 +143,7 @@ pub unsafe fn GetNamedPipeServerProcessId(pipe: P0, serverprocessid: *mut u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeServerProcessId ( pipe : super::super::Foundation:: HANDLE , serverprocessid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeServerProcessId ( pipe : super::super::Foundation:: HANDLE , serverprocessid : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeServerProcessId(pipe.into(), serverprocessid) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -153,7 +153,7 @@ pub unsafe fn GetNamedPipeServerSessionId(pipe: P0, serversessionid: *mut u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNamedPipeServerSessionId ( pipe : super::super::Foundation:: HANDLE , serversessionid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNamedPipeServerSessionId ( pipe : super::super::Foundation:: HANDLE , serversessionid : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNamedPipeServerSessionId(pipe.into(), serversessionid) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -163,7 +163,7 @@ pub unsafe fn ImpersonateNamedPipeClient(hnamedpipe: P0) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ImpersonateNamedPipeClient ( hnamedpipe : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ImpersonateNamedPipeClient ( hnamedpipe : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ImpersonateNamedPipeClient(hnamedpipe.into()) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -173,7 +173,7 @@ pub unsafe fn PeekNamedPipe(hnamedpipe: P0, lpbuffer: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PeekNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nbuffersize : u32 , lpbytesread : *mut u32 , lptotalbytesavail : *mut u32 , lpbytesleftthismessage : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PeekNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpbuffer : *mut ::core::ffi::c_void , nbuffersize : u32 , lpbytesread : *mut u32 , lptotalbytesavail : *mut u32 , lpbytesleftthismessage : *mut u32 ) -> super::super::Foundation:: BOOL ); PeekNamedPipe(hnamedpipe.into(), ::core::mem::transmute(lpbuffer.unwrap_or(::std::ptr::null_mut())), nbuffersize, ::core::mem::transmute(lpbytesread.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptotalbytesavail.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpbytesleftthismessage.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -183,7 +183,7 @@ pub unsafe fn SetNamedPipeHandleState(hnamedpipe: P0, lpmode: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetNamedPipeHandleState ( hnamedpipe : super::super::Foundation:: HANDLE , lpmode : *const NAMED_PIPE_MODE , lpmaxcollectioncount : *const u32 , lpcollectdatatimeout : *const u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetNamedPipeHandleState ( hnamedpipe : super::super::Foundation:: HANDLE , lpmode : *const NAMED_PIPE_MODE , lpmaxcollectioncount : *const u32 , lpcollectdatatimeout : *const u32 ) -> super::super::Foundation:: BOOL ); SetNamedPipeHandleState(hnamedpipe.into(), ::core::mem::transmute(lpmode.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpmaxcollectioncount.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcollectdatatimeout.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -193,7 +193,7 @@ pub unsafe fn TransactNamedPipe(hnamedpipe: P0, lpinbuffer: ::core::option:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn TransactNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesread : *mut u32 , lpoverlapped : *mut super::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TransactNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpinbuffer : *const ::core::ffi::c_void , ninbuffersize : u32 , lpoutbuffer : *mut ::core::ffi::c_void , noutbuffersize : u32 , lpbytesread : *mut u32 , lpoverlapped : *mut super::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); TransactNamedPipe(hnamedpipe.into(), ::core::mem::transmute(lpinbuffer.unwrap_or(::std::ptr::null())), ninbuffersize, ::core::mem::transmute(lpoutbuffer.unwrap_or(::std::ptr::null_mut())), noutbuffersize, lpbytesread, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -203,7 +203,7 @@ pub unsafe fn WaitNamedPipeA(lpnamedpipename: P0, ntimeout: u32) -> super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitNamedPipeA ( lpnamedpipename : :: windows::core::PCSTR , ntimeout : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitNamedPipeA ( lpnamedpipename : :: windows::core::PCSTR , ntimeout : u32 ) -> super::super::Foundation:: BOOL ); WaitNamedPipeA(lpnamedpipename.into().abi(), ntimeout) } #[doc = "*Required features: `\"Win32_System_Pipes\"`, `\"Win32_Foundation\"`*"] @@ -213,7 +213,7 @@ pub unsafe fn WaitNamedPipeW(lpnamedpipename: P0, ntimeout: u32) -> super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitNamedPipeW ( lpnamedpipename : :: windows::core::PCWSTR , ntimeout : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitNamedPipeW ( lpnamedpipename : :: windows::core::PCWSTR , ntimeout : u32 ) -> super::super::Foundation:: BOOL ); WaitNamedPipeW(lpnamedpipename.into().abi(), ntimeout) } #[doc = "*Required features: `\"Win32_System_Pipes\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs index dd6d5739e2..94bdc445d7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs @@ -2,42 +2,42 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CallNtPowerInformation(informationlevel: POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "powrprof.dll""system" fn CallNtPowerInformation ( informationlevel : POWER_INFORMATION_LEVEL , inputbuffer : *const ::core::ffi::c_void , inputbufferlength : u32 , outputbuffer : *mut ::core::ffi::c_void , outputbufferlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "powrprof.dll""system" fn CallNtPowerInformation ( informationlevel : POWER_INFORMATION_LEVEL , inputbuffer : *const ::core::ffi::c_void , inputbufferlength : u32 , outputbuffer : *mut ::core::ffi::c_void , outputbufferlength : u32 ) -> super::super::Foundation:: NTSTATUS ); CallNtPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CanUserWritePwrScheme() -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn CanUserWritePwrScheme ( ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn CanUserWritePwrScheme ( ) -> super::super::Foundation:: BOOLEAN ); CanUserWritePwrScheme() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeletePwrScheme(uiid: u32) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn DeletePwrScheme ( uiid : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn DeletePwrScheme ( uiid : u32 ) -> super::super::Foundation:: BOOLEAN ); DeletePwrScheme(uiid) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DevicePowerClose() -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn DevicePowerClose ( ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn DevicePowerClose ( ) -> super::super::Foundation:: BOOLEAN ); DevicePowerClose() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DevicePowerEnumDevices(queryindex: u32, queryinterpretationflags: u32, queryflags: u32, preturnbuffer: ::core::option::Option<*mut u8>, pbuffersize: *mut u32) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn DevicePowerEnumDevices ( queryindex : u32 , queryinterpretationflags : u32 , queryflags : u32 , preturnbuffer : *mut u8 , pbuffersize : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn DevicePowerEnumDevices ( queryindex : u32 , queryinterpretationflags : u32 , queryflags : u32 , preturnbuffer : *mut u8 , pbuffersize : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); DevicePowerEnumDevices(queryindex, queryinterpretationflags, queryflags, ::core::mem::transmute(preturnbuffer.unwrap_or(::std::ptr::null_mut())), pbuffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DevicePowerOpen(debugmask: u32) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn DevicePowerOpen ( debugmask : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn DevicePowerOpen ( debugmask : u32 ) -> super::super::Foundation:: BOOLEAN ); DevicePowerOpen(debugmask) } #[doc = "*Required features: `\"Win32_System_Power\"`*"] @@ -46,7 +46,7 @@ pub unsafe fn DevicePowerSetDeviceState(devicedescription: P0, setflags: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "powrprof.dll""system" fn DevicePowerSetDeviceState ( devicedescription : :: windows::core::PCWSTR , setflags : u32 , setdata : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn DevicePowerSetDeviceState ( devicedescription : :: windows::core::PCWSTR , setflags : u32 , setdata : *const ::core::ffi::c_void ) -> u32 ); DevicePowerSetDeviceState(devicedescription.into().abi(), setflags, ::core::mem::transmute(setdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -56,21 +56,21 @@ pub unsafe fn EnumPwrSchemes(lpfn: PWRSCHEMESENUMPROC, lparam: P0) -> super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn EnumPwrSchemes ( lpfn : PWRSCHEMESENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn EnumPwrSchemes ( lpfn : PWRSCHEMESENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOLEAN ); EnumPwrSchemes(lpfn, lparam.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetActivePwrScheme(puiid: *mut u32) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn GetActivePwrScheme ( puiid : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn GetActivePwrScheme ( puiid : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); GetActivePwrScheme(puiid) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentPowerPolicies(pglobalpowerpolicy: *mut GLOBAL_POWER_POLICY, ppowerpolicy: *mut POWER_POLICY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn GetCurrentPowerPolicies ( pglobalpowerpolicy : *mut GLOBAL_POWER_POLICY , ppowerpolicy : *mut POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn GetCurrentPowerPolicies ( pglobalpowerpolicy : *mut GLOBAL_POWER_POLICY , ppowerpolicy : *mut POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); GetCurrentPowerPolicies(pglobalpowerpolicy, ppowerpolicy) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -80,70 +80,70 @@ pub unsafe fn GetDevicePowerState(hdevice: P0, pfon: *mut super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDevicePowerState ( hdevice : super::super::Foundation:: HANDLE , pfon : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDevicePowerState ( hdevice : super::super::Foundation:: HANDLE , pfon : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetDevicePowerState(hdevice.into(), pfon) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPwrCapabilities(lpspc: *mut SYSTEM_POWER_CAPABILITIES) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn GetPwrCapabilities ( lpspc : *mut SYSTEM_POWER_CAPABILITIES ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn GetPwrCapabilities ( lpspc : *mut SYSTEM_POWER_CAPABILITIES ) -> super::super::Foundation:: BOOLEAN ); GetPwrCapabilities(lpspc) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPwrDiskSpindownRange(puimax: *mut u32, puimin: *mut u32) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn GetPwrDiskSpindownRange ( puimax : *mut u32 , puimin : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn GetPwrDiskSpindownRange ( puimax : *mut u32 , puimin : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); GetPwrDiskSpindownRange(puimax, puimin) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemPowerStatus(lpsystempowerstatus: *mut SYSTEM_POWER_STATUS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemPowerStatus ( lpsystempowerstatus : *mut SYSTEM_POWER_STATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemPowerStatus ( lpsystempowerstatus : *mut SYSTEM_POWER_STATUS ) -> super::super::Foundation:: BOOL ); GetSystemPowerStatus(lpsystempowerstatus) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsAdminOverrideActive(papp: *const ADMINISTRATOR_POWER_POLICY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn IsAdminOverrideActive ( papp : *const ADMINISTRATOR_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn IsAdminOverrideActive ( papp : *const ADMINISTRATOR_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); IsAdminOverrideActive(papp) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsPwrHibernateAllowed() -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn IsPwrHibernateAllowed ( ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn IsPwrHibernateAllowed ( ) -> super::super::Foundation:: BOOLEAN ); IsPwrHibernateAllowed() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsPwrShutdownAllowed() -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn IsPwrShutdownAllowed ( ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn IsPwrShutdownAllowed ( ) -> super::super::Foundation:: BOOLEAN ); IsPwrShutdownAllowed() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsPwrSuspendAllowed() -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn IsPwrSuspendAllowed ( ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn IsPwrSuspendAllowed ( ) -> super::super::Foundation:: BOOLEAN ); IsPwrSuspendAllowed() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsSystemResumeAutomatic() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsSystemResumeAutomatic ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsSystemResumeAutomatic ( ) -> super::super::Foundation:: BOOL ); IsSystemResumeAutomatic() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PowerCanRestoreIndividualDefaultPowerScheme(schemeguid: *const ::windows::core::GUID) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerCanRestoreIndividualDefaultPowerScheme ( schemeguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerCanRestoreIndividualDefaultPowerScheme ( schemeguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerCanRestoreIndividualDefaultPowerScheme(schemeguid) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -153,7 +153,7 @@ pub unsafe fn PowerClearRequest(powerrequest: P0, requesttype: POWER_REQUEST where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PowerClearRequest ( powerrequest : super::super::Foundation:: HANDLE , requesttype : POWER_REQUEST_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PowerClearRequest ( powerrequest : super::super::Foundation:: HANDLE , requesttype : POWER_REQUEST_TYPE ) -> super::super::Foundation:: BOOL ); PowerClearRequest(powerrequest.into(), requesttype) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -163,16 +163,16 @@ pub unsafe fn PowerCreatePossibleSetting(rootsystempowerkey: P0, subgroupofp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerCreatePossibleSetting ( rootsystempowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerCreatePossibleSetting ( rootsystempowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerCreatePossibleSetting(rootsystempowerkey.into(), subgroupofpowersettingsguid, powersettingguid, possiblesettingindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] pub unsafe fn PowerCreateRequest(context: *const super::Threading::REASON_CONTEXT) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn PowerCreateRequest ( context : *const super::Threading:: REASON_CONTEXT ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PowerCreateRequest ( context : *const super::Threading:: REASON_CONTEXT ) -> super::super::Foundation:: HANDLE ); let result__ = PowerCreateRequest(context); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] @@ -181,7 +181,7 @@ pub unsafe fn PowerCreateSetting(rootsystempowerkey: P0, subgroupofpowersett where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerCreateSetting ( rootsystempowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerCreateSetting ( rootsystempowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerCreateSetting(rootsystempowerkey.into(), subgroupofpowersettingsguid, powersettingguid) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -191,19 +191,19 @@ pub unsafe fn PowerDeleteScheme(rootpowerkey: P0, schemeguid: *const ::windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerDeleteScheme ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerDeleteScheme ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerDeleteScheme(rootpowerkey.into(), schemeguid) } #[doc = "*Required features: `\"Win32_System_Power\"`*"] #[inline] pub unsafe fn PowerDeterminePlatformRole() -> POWER_PLATFORM_ROLE { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerDeterminePlatformRole ( ) -> POWER_PLATFORM_ROLE ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerDeterminePlatformRole ( ) -> POWER_PLATFORM_ROLE ); PowerDeterminePlatformRole() } #[doc = "*Required features: `\"Win32_System_Power\"`*"] #[inline] pub unsafe fn PowerDeterminePlatformRoleEx(version: POWER_PLATFORM_ROLE_VERSION) -> POWER_PLATFORM_ROLE { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerDeterminePlatformRoleEx ( version : POWER_PLATFORM_ROLE_VERSION ) -> POWER_PLATFORM_ROLE ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerDeterminePlatformRoleEx ( version : POWER_PLATFORM_ROLE_VERSION ) -> POWER_PLATFORM_ROLE ); PowerDeterminePlatformRoleEx(version) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -213,7 +213,7 @@ pub unsafe fn PowerDuplicateScheme(rootpowerkey: P0, sourceschemeguid: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerDuplicateScheme ( rootpowerkey : super::Registry:: HKEY , sourceschemeguid : *const :: windows::core::GUID , destinationschemeguid : *mut *mut :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerDuplicateScheme ( rootpowerkey : super::Registry:: HKEY , sourceschemeguid : *const :: windows::core::GUID , destinationschemeguid : *mut *mut :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerDuplicateScheme(rootpowerkey.into(), sourceschemeguid, destinationschemeguid) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -223,7 +223,7 @@ pub unsafe fn PowerEnumerate(rootpowerkey: P0, schemeguid: ::core::option::O where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerEnumerate ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , accessflags : POWER_DATA_ACCESSOR , index : u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerEnumerate ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , accessflags : POWER_DATA_ACCESSOR , index : u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerEnumerate(rootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), accessflags, index, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -233,7 +233,7 @@ pub unsafe fn PowerGetActiveScheme(userrootpowerkey: P0, activepolicyguid: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerGetActiveScheme ( userrootpowerkey : super::Registry:: HKEY , activepolicyguid : *mut *mut :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerGetActiveScheme ( userrootpowerkey : super::Registry:: HKEY , activepolicyguid : *mut *mut :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerGetActiveScheme(userrootpowerkey.into(), activepolicyguid) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -244,14 +244,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerImportPowerScheme ( rootpowerkey : super::Registry:: HKEY , importfilenamepath : :: windows::core::PCWSTR , destinationschemeguid : *mut *mut :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerImportPowerScheme ( rootpowerkey : super::Registry:: HKEY , importfilenamepath : :: windows::core::PCWSTR , destinationschemeguid : *mut *mut :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerImportPowerScheme(rootpowerkey.into(), importfilenamepath.into().abi(), destinationschemeguid) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PowerIsSettingRangeDefined(subkeyguid: ::core::option::Option<*const ::windows::core::GUID>, settingguid: ::core::option::Option<*const ::windows::core::GUID>) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerIsSettingRangeDefined ( subkeyguid : *const :: windows::core::GUID , settingguid : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerIsSettingRangeDefined ( subkeyguid : *const :: windows::core::GUID , settingguid : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOLEAN ); PowerIsSettingRangeDefined(::core::mem::transmute(subkeyguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(settingguid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -261,7 +261,7 @@ pub unsafe fn PowerOpenSystemPowerKey(phsystempowerkey: *mut super::Registry where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerOpenSystemPowerKey ( phsystempowerkey : *mut super::Registry:: HKEY , access : u32 , openexisting : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerOpenSystemPowerKey ( phsystempowerkey : *mut super::Registry:: HKEY , access : u32 , openexisting : super::super::Foundation:: BOOL ) -> u32 ); PowerOpenSystemPowerKey(phsystempowerkey, access, openexisting.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -271,7 +271,7 @@ pub unsafe fn PowerOpenUserPowerKey(phuserpowerkey: *mut super::Registry::HK where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerOpenUserPowerKey ( phuserpowerkey : *mut super::Registry:: HKEY , access : u32 , openexisting : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerOpenUserPowerKey ( phuserpowerkey : *mut super::Registry:: HKEY , access : u32 , openexisting : super::super::Foundation:: BOOL ) -> u32 ); PowerOpenUserPowerKey(phuserpowerkey, access, openexisting.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] @@ -281,7 +281,7 @@ pub unsafe fn PowerReadACDefaultIndex(rootpowerkey: P0, schemepersonalitygui where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadACDefaultIndex ( rootpowerkey : super::Registry:: HKEY , schemepersonalityguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , acdefaultindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadACDefaultIndex ( rootpowerkey : super::Registry:: HKEY , schemepersonalityguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , acdefaultindex : *mut u32 ) -> u32 ); PowerReadACDefaultIndex(rootpowerkey.into(), schemepersonalityguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), powersettingguid, acdefaultindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -291,7 +291,7 @@ pub unsafe fn PowerReadACValue(rootpowerkey: P0, schemeguid: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadACValue ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , r#type : *mut u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadACValue ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , r#type : *mut u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadACValue(rootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(r#type.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffersize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] @@ -301,7 +301,7 @@ pub unsafe fn PowerReadACValueIndex(rootpowerkey: P0, schemeguid: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadACValueIndex ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , acvalueindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadACValueIndex ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , acvalueindex : *mut u32 ) -> u32 ); PowerReadACValueIndex(rootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), acvalueindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] @@ -311,7 +311,7 @@ pub unsafe fn PowerReadDCDefaultIndex(rootpowerkey: P0, schemepersonalitygui where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadDCDefaultIndex ( rootpowerkey : super::Registry:: HKEY , schemepersonalityguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , dcdefaultindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadDCDefaultIndex ( rootpowerkey : super::Registry:: HKEY , schemepersonalityguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , dcdefaultindex : *mut u32 ) -> u32 ); PowerReadDCDefaultIndex(rootpowerkey.into(), schemepersonalityguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), powersettingguid, dcdefaultindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -321,7 +321,7 @@ pub unsafe fn PowerReadDCValue(rootpowerkey: P0, schemeguid: ::core::option: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadDCValue ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , r#type : *mut u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadDCValue ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , r#type : *mut u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadDCValue(rootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(r#type.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] @@ -331,7 +331,7 @@ pub unsafe fn PowerReadDCValueIndex(rootpowerkey: P0, schemeguid: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadDCValueIndex ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , dcvalueindex : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadDCValueIndex ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , dcvalueindex : *mut u32 ) -> u32 ); PowerReadDCValueIndex(rootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), dcvalueindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -341,7 +341,7 @@ pub unsafe fn PowerReadDescription(rootpowerkey: P0, schemeguid: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadDescription ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadDescription ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadDescription(rootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn PowerReadFriendlyName(rootpowerkey: P0, schemeguid: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadFriendlyName ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadFriendlyName ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadFriendlyName(rootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -361,7 +361,7 @@ pub unsafe fn PowerReadIconResourceSpecifier(rootpowerkey: P0, schemeguid: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadIconResourceSpecifier ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadIconResourceSpecifier ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadIconResourceSpecifier(rootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -371,7 +371,7 @@ pub unsafe fn PowerReadPossibleDescription(rootpowerkey: P0, subgroupofpower where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadPossibleDescription ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadPossibleDescription ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadPossibleDescription(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), possiblesettingindex, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -381,7 +381,7 @@ pub unsafe fn PowerReadPossibleFriendlyName(rootpowerkey: P0, subgroupofpowe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadPossibleFriendlyName ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadPossibleFriendlyName ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadPossibleFriendlyName(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), possiblesettingindex, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -391,13 +391,13 @@ pub unsafe fn PowerReadPossibleValue(rootpowerkey: P0, subgroupofpowersettin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadPossibleValue ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , r#type : *mut u32 , possiblesettingindex : u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadPossibleValue ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , r#type : *mut u32 , possiblesettingindex : u32 , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadPossibleValue(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(r#type.unwrap_or(::std::ptr::null_mut())), possiblesettingindex, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`*"] #[inline] pub unsafe fn PowerReadSettingAttributes(subgroupguid: ::core::option::Option<*const ::windows::core::GUID>, powersettingguid: ::core::option::Option<*const ::windows::core::GUID>) -> u32 { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadSettingAttributes ( subgroupguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadSettingAttributes ( subgroupguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID ) -> u32 ); PowerReadSettingAttributes(::core::mem::transmute(subgroupguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -407,7 +407,7 @@ pub unsafe fn PowerReadValueIncrement(rootpowerkey: P0, subgroupofpowersetti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadValueIncrement ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valueincrement : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadValueIncrement ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valueincrement : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadValueIncrement(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), valueincrement) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -417,7 +417,7 @@ pub unsafe fn PowerReadValueMax(rootpowerkey: P0, subgroupofpowersettingsgui where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadValueMax ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valuemaximum : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadValueMax ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valuemaximum : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadValueMax(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), valuemaximum) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -427,7 +427,7 @@ pub unsafe fn PowerReadValueMin(rootpowerkey: P0, subgroupofpowersettingsgui where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadValueMin ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valueminimum : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadValueMin ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valueminimum : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadValueMin(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), valueminimum) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -437,13 +437,13 @@ pub unsafe fn PowerReadValueUnitsSpecifier(rootpowerkey: P0, subgroupofpower where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReadValueUnitsSpecifier ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReadValueUnitsSpecifier ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *mut u8 , buffersize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerReadValueUnitsSpecifier(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_Power\"`*"] #[inline] pub unsafe fn PowerRegisterForEffectivePowerModeNotifications(version: u32, callback: EFFECTIVE_POWER_MODE_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, registrationhandle: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerRegisterForEffectivePowerModeNotifications ( version : u32 , callback : EFFECTIVE_POWER_MODE_CALLBACK , context : *const ::core::ffi::c_void , registrationhandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerRegisterForEffectivePowerModeNotifications ( version : u32 , callback : EFFECTIVE_POWER_MODE_CALLBACK , context : *const ::core::ffi::c_void , registrationhandle : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PowerRegisterForEffectivePowerModeNotifications(version, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), registrationhandle).ok() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -453,41 +453,41 @@ pub unsafe fn PowerRegisterSuspendResumeNotification(flags: u32, recipient: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerRegisterSuspendResumeNotification ( flags : u32 , recipient : super::super::Foundation:: HANDLE , registrationhandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerRegisterSuspendResumeNotification ( flags : u32 , recipient : super::super::Foundation:: HANDLE , registrationhandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); PowerRegisterSuspendResumeNotification(flags, recipient.into(), registrationhandle) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PowerRemovePowerSetting(powersettingsubkeyguid: *const ::windows::core::GUID, powersettingguid: *const ::windows::core::GUID) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerRemovePowerSetting ( powersettingsubkeyguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerRemovePowerSetting ( powersettingsubkeyguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerRemovePowerSetting(powersettingsubkeyguid, powersettingguid) } #[doc = "*Required features: `\"Win32_System_Power\"`*"] #[inline] pub unsafe fn PowerReplaceDefaultPowerSchemes() -> u32 { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReplaceDefaultPowerSchemes ( ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReplaceDefaultPowerSchemes ( ) -> u32 ); PowerReplaceDefaultPowerSchemes() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PowerReportThermalEvent(event: *const THERMAL_EVENT) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerReportThermalEvent ( event : *const THERMAL_EVENT ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerReportThermalEvent ( event : *const THERMAL_EVENT ) -> super::super::Foundation:: WIN32_ERROR ); PowerReportThermalEvent(event) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PowerRestoreDefaultPowerSchemes() -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerRestoreDefaultPowerSchemes ( ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerRestoreDefaultPowerSchemes ( ) -> super::super::Foundation:: WIN32_ERROR ); PowerRestoreDefaultPowerSchemes() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PowerRestoreIndividualDefaultPowerScheme(schemeguid: *const ::windows::core::GUID) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerRestoreIndividualDefaultPowerScheme ( schemeguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerRestoreIndividualDefaultPowerScheme ( schemeguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerRestoreIndividualDefaultPowerScheme(schemeguid) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -497,7 +497,7 @@ pub unsafe fn PowerSetActiveScheme(userrootpowerkey: P0, schemeguid: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerSetActiveScheme ( userrootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerSetActiveScheme ( userrootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerSetActiveScheme(userrootpowerkey.into(), ::core::mem::transmute(schemeguid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -507,21 +507,21 @@ pub unsafe fn PowerSetRequest(powerrequest: P0, requesttype: POWER_REQUEST_T where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PowerSetRequest ( powerrequest : super::super::Foundation:: HANDLE , requesttype : POWER_REQUEST_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PowerSetRequest ( powerrequest : super::super::Foundation:: HANDLE , requesttype : POWER_REQUEST_TYPE ) -> super::super::Foundation:: BOOL ); PowerSetRequest(powerrequest.into(), requesttype) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PowerSettingAccessCheck(accessflags: POWER_DATA_ACCESSOR, powerguid: ::core::option::Option<*const ::windows::core::GUID>) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerSettingAccessCheck ( accessflags : POWER_DATA_ACCESSOR , powerguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerSettingAccessCheck ( accessflags : POWER_DATA_ACCESSOR , powerguid : *const :: windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); PowerSettingAccessCheck(accessflags, ::core::mem::transmute(powerguid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] #[inline] pub unsafe fn PowerSettingAccessCheckEx(accessflags: POWER_DATA_ACCESSOR, powerguid: ::core::option::Option<*const ::windows::core::GUID>, accesstype: super::Registry::REG_SAM_FLAGS) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerSettingAccessCheckEx ( accessflags : POWER_DATA_ACCESSOR , powerguid : *const :: windows::core::GUID , accesstype : super::Registry:: REG_SAM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerSettingAccessCheckEx ( accessflags : POWER_DATA_ACCESSOR , powerguid : *const :: windows::core::GUID , accesstype : super::Registry:: REG_SAM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); PowerSettingAccessCheckEx(accessflags, ::core::mem::transmute(powerguid.unwrap_or(::std::ptr::null())), accesstype) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -531,7 +531,7 @@ pub unsafe fn PowerSettingRegisterNotification(settingguid: *const ::windows where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerSettingRegisterNotification ( settingguid : *const :: windows::core::GUID , flags : POWER_SETTING_REGISTER_NOTIFICATION_FLAGS , recipient : super::super::Foundation:: HANDLE , registrationhandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerSettingRegisterNotification ( settingguid : *const :: windows::core::GUID , flags : POWER_SETTING_REGISTER_NOTIFICATION_FLAGS , recipient : super::super::Foundation:: HANDLE , registrationhandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); PowerSettingRegisterNotification(settingguid, flags, recipient.into(), registrationhandle) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -541,13 +541,13 @@ pub unsafe fn PowerSettingUnregisterNotification(registrationhandle: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerSettingUnregisterNotification ( registrationhandle : HPOWERNOTIFY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerSettingUnregisterNotification ( registrationhandle : HPOWERNOTIFY ) -> super::super::Foundation:: WIN32_ERROR ); PowerSettingUnregisterNotification(registrationhandle.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`*"] #[inline] pub unsafe fn PowerUnregisterFromEffectivePowerModeNotifications(registrationhandle: *const ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerUnregisterFromEffectivePowerModeNotifications ( registrationhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerUnregisterFromEffectivePowerModeNotifications ( registrationhandle : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PowerUnregisterFromEffectivePowerModeNotifications(registrationhandle).ok() } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -557,7 +557,7 @@ pub unsafe fn PowerUnregisterSuspendResumeNotification(registrationhandle: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerUnregisterSuspendResumeNotification ( registrationhandle : HPOWERNOTIFY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerUnregisterSuspendResumeNotification ( registrationhandle : HPOWERNOTIFY ) -> super::super::Foundation:: WIN32_ERROR ); PowerUnregisterSuspendResumeNotification(registrationhandle.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] @@ -567,7 +567,7 @@ pub unsafe fn PowerWriteACDefaultIndex(rootsystempowerkey: P0, schemepersona where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteACDefaultIndex ( rootsystempowerkey : super::Registry:: HKEY , schemepersonalityguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , defaultacindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteACDefaultIndex ( rootsystempowerkey : super::Registry:: HKEY , schemepersonalityguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , defaultacindex : u32 ) -> u32 ); PowerWriteACDefaultIndex(rootsystempowerkey.into(), schemepersonalityguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), powersettingguid, defaultacindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] @@ -577,7 +577,7 @@ pub unsafe fn PowerWriteACValueIndex(rootpowerkey: P0, schemeguid: *const :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteACValueIndex ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , acvalueindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteACValueIndex ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , acvalueindex : u32 ) -> u32 ); PowerWriteACValueIndex(rootpowerkey.into(), schemeguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), acvalueindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] @@ -587,7 +587,7 @@ pub unsafe fn PowerWriteDCDefaultIndex(rootsystempowerkey: P0, schemepersona where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteDCDefaultIndex ( rootsystempowerkey : super::Registry:: HKEY , schemepersonalityguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , defaultdcindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteDCDefaultIndex ( rootsystempowerkey : super::Registry:: HKEY , schemepersonalityguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , defaultdcindex : u32 ) -> u32 ); PowerWriteDCDefaultIndex(rootsystempowerkey.into(), schemepersonalityguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), powersettingguid, defaultdcindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_System_Registry\"`*"] @@ -597,7 +597,7 @@ pub unsafe fn PowerWriteDCValueIndex(rootpowerkey: P0, schemeguid: *const :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteDCValueIndex ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , dcvalueindex : u32 ) -> u32 ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteDCValueIndex ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , dcvalueindex : u32 ) -> u32 ); PowerWriteDCValueIndex(rootpowerkey.into(), schemeguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), dcvalueindex) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -607,7 +607,7 @@ pub unsafe fn PowerWriteDescription(rootpowerkey: P0, schemeguid: *const ::w where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteDescription ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteDescription ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWriteDescription(rootpowerkey.into(), schemeguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -617,7 +617,7 @@ pub unsafe fn PowerWriteFriendlyName(rootpowerkey: P0, schemeguid: *const :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteFriendlyName ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteFriendlyName ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWriteFriendlyName(rootpowerkey.into(), schemeguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -627,7 +627,7 @@ pub unsafe fn PowerWriteIconResourceSpecifier(rootpowerkey: P0, schemeguid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteIconResourceSpecifier ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteIconResourceSpecifier ( rootpowerkey : super::Registry:: HKEY , schemeguid : *const :: windows::core::GUID , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWriteIconResourceSpecifier(rootpowerkey.into(), schemeguid, ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -637,7 +637,7 @@ pub unsafe fn PowerWritePossibleDescription(rootpowerkey: P0, subgroupofpowe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWritePossibleDescription ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWritePossibleDescription ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWritePossibleDescription(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), possiblesettingindex, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -647,7 +647,7 @@ pub unsafe fn PowerWritePossibleFriendlyName(rootpowerkey: P0, subgroupofpow where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWritePossibleFriendlyName ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWritePossibleFriendlyName ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , possiblesettingindex : u32 , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWritePossibleFriendlyName(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), possiblesettingindex, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -657,14 +657,14 @@ pub unsafe fn PowerWritePossibleValue(rootpowerkey: P0, subgroupofpowersetti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWritePossibleValue ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , r#type : u32 , possiblesettingindex : u32 , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWritePossibleValue ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , r#type : u32 , possiblesettingindex : u32 , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWritePossibleValue(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), r#type, possiblesettingindex, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PowerWriteSettingAttributes(subgroupguid: ::core::option::Option<*const ::windows::core::GUID>, powersettingguid: ::core::option::Option<*const ::windows::core::GUID>, attributes: u32) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteSettingAttributes ( subgroupguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , attributes : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteSettingAttributes ( subgroupguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , attributes : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWriteSettingAttributes(::core::mem::transmute(subgroupguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), attributes) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -674,7 +674,7 @@ pub unsafe fn PowerWriteValueIncrement(rootpowerkey: P0, subgroupofpowersett where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteValueIncrement ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valueincrement : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteValueIncrement ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valueincrement : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWriteValueIncrement(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), valueincrement) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -684,7 +684,7 @@ pub unsafe fn PowerWriteValueMax(rootpowerkey: P0, subgroupofpowersettingsgu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteValueMax ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valuemaximum : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteValueMax ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valuemaximum : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWriteValueMax(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), valuemaximum) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -694,7 +694,7 @@ pub unsafe fn PowerWriteValueMin(rootpowerkey: P0, subgroupofpowersettingsgu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteValueMin ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valueminimum : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteValueMin ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , valueminimum : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWriteValueMin(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), valueminimum) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -704,28 +704,28 @@ pub unsafe fn PowerWriteValueUnitsSpecifier(rootpowerkey: P0, subgroupofpowe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn PowerWriteValueUnitsSpecifier ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "powrprof.dll""system" fn PowerWriteValueUnitsSpecifier ( rootpowerkey : super::Registry:: HKEY , subgroupofpowersettingsguid : *const :: windows::core::GUID , powersettingguid : *const :: windows::core::GUID , buffer : *const u8 , buffersize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); PowerWriteValueUnitsSpecifier(rootpowerkey.into(), ::core::mem::transmute(subgroupofpowersettingsguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(powersettingguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReadGlobalPwrPolicy(pglobalpowerpolicy: *const GLOBAL_POWER_POLICY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn ReadGlobalPwrPolicy ( pglobalpowerpolicy : *const GLOBAL_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn ReadGlobalPwrPolicy ( pglobalpowerpolicy : *const GLOBAL_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); ReadGlobalPwrPolicy(pglobalpowerpolicy) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReadProcessorPwrScheme(uiid: u32, pmachineprocessorpowerpolicy: *mut MACHINE_PROCESSOR_POWER_POLICY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn ReadProcessorPwrScheme ( uiid : u32 , pmachineprocessorpowerpolicy : *mut MACHINE_PROCESSOR_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn ReadProcessorPwrScheme ( uiid : u32 , pmachineprocessorpowerpolicy : *mut MACHINE_PROCESSOR_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); ReadProcessorPwrScheme(uiid, pmachineprocessorpowerpolicy) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReadPwrScheme(uiid: u32, ppowerpolicy: *mut POWER_POLICY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn ReadPwrScheme ( uiid : u32 , ppowerpolicy : *mut POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn ReadPwrScheme ( uiid : u32 , ppowerpolicy : *mut POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); ReadPwrScheme(uiid, ppowerpolicy) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -735,9 +735,9 @@ pub unsafe fn RegisterPowerSettingNotification(hrecipient: P0, powersettingg where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterPowerSettingNotification ( hrecipient : super::super::Foundation:: HANDLE , powersettingguid : *const :: windows::core::GUID , flags : u32 ) -> HPOWERNOTIFY ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterPowerSettingNotification ( hrecipient : super::super::Foundation:: HANDLE , powersettingguid : *const :: windows::core::GUID , flags : u32 ) -> HPOWERNOTIFY ); let result__ = RegisterPowerSettingNotification(hrecipient.into(), powersettingguid, flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -746,22 +746,22 @@ pub unsafe fn RegisterSuspendResumeNotification(hrecipient: P0, flags: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterSuspendResumeNotification ( hrecipient : super::super::Foundation:: HANDLE , flags : u32 ) -> HPOWERNOTIFY ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterSuspendResumeNotification ( hrecipient : super::super::Foundation:: HANDLE , flags : u32 ) -> HPOWERNOTIFY ); let result__ = RegisterSuspendResumeNotification(hrecipient.into(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RequestWakeupLatency(latency: LATENCY_TIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn RequestWakeupLatency ( latency : LATENCY_TIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RequestWakeupLatency ( latency : LATENCY_TIME ) -> super::super::Foundation:: BOOL ); RequestWakeupLatency(latency) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetActivePwrScheme(uiid: u32, pglobalpowerpolicy: ::core::option::Option<*const GLOBAL_POWER_POLICY>, ppowerpolicy: ::core::option::Option<*const POWER_POLICY>) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn SetActivePwrScheme ( uiid : u32 , pglobalpowerpolicy : *const GLOBAL_POWER_POLICY , ppowerpolicy : *const POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn SetActivePwrScheme ( uiid : u32 , pglobalpowerpolicy : *const GLOBAL_POWER_POLICY , ppowerpolicy : *const POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); SetActivePwrScheme(uiid, ::core::mem::transmute(pglobalpowerpolicy.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppowerpolicy.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -773,7 +773,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "powrprof.dll""system" fn SetSuspendState ( bhibernate : super::super::Foundation:: BOOLEAN , bforce : super::super::Foundation:: BOOLEAN , bwakeupeventsdisabled : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn SetSuspendState ( bhibernate : super::super::Foundation:: BOOLEAN , bforce : super::super::Foundation:: BOOLEAN , bwakeupeventsdisabled : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOLEAN ); SetSuspendState(bhibernate.into(), bforce.into(), bwakeupeventsdisabled.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -784,13 +784,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetSystemPowerState ( fsuspend : super::super::Foundation:: BOOL , fforce : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetSystemPowerState ( fsuspend : super::super::Foundation:: BOOL , fforce : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetSystemPowerState(fsuspend.into(), fforce.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`*"] #[inline] pub unsafe fn SetThreadExecutionState(esflags: EXECUTION_STATE) -> EXECUTION_STATE { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadExecutionState ( esflags : EXECUTION_STATE ) -> EXECUTION_STATE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadExecutionState ( esflags : EXECUTION_STATE ) -> EXECUTION_STATE ); SetThreadExecutionState(esflags) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -800,7 +800,7 @@ pub unsafe fn UnregisterPowerSettingNotification(handle: P0) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterPowerSettingNotification ( handle : HPOWERNOTIFY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterPowerSettingNotification ( handle : HPOWERNOTIFY ) -> super::super::Foundation:: BOOL ); UnregisterPowerSettingNotification(handle.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -810,28 +810,28 @@ pub unsafe fn UnregisterSuspendResumeNotification(handle: P0) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterSuspendResumeNotification ( handle : HPOWERNOTIFY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterSuspendResumeNotification ( handle : HPOWERNOTIFY ) -> super::super::Foundation:: BOOL ); UnregisterSuspendResumeNotification(handle.into()) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ValidatePowerPolicies(pglobalpowerpolicy: ::core::option::Option<*mut GLOBAL_POWER_POLICY>, ppowerpolicy: ::core::option::Option<*mut POWER_POLICY>) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn ValidatePowerPolicies ( pglobalpowerpolicy : *mut GLOBAL_POWER_POLICY , ppowerpolicy : *mut POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn ValidatePowerPolicies ( pglobalpowerpolicy : *mut GLOBAL_POWER_POLICY , ppowerpolicy : *mut POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); ValidatePowerPolicies(::core::mem::transmute(pglobalpowerpolicy.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppowerpolicy.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WriteGlobalPwrPolicy(pglobalpowerpolicy: *const GLOBAL_POWER_POLICY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn WriteGlobalPwrPolicy ( pglobalpowerpolicy : *const GLOBAL_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn WriteGlobalPwrPolicy ( pglobalpowerpolicy : *const GLOBAL_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); WriteGlobalPwrPolicy(pglobalpowerpolicy) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WriteProcessorPwrScheme(uiid: u32, pmachineprocessorpowerpolicy: *const MACHINE_PROCESSOR_POWER_POLICY) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "powrprof.dll""system" fn WriteProcessorPwrScheme ( uiid : u32 , pmachineprocessorpowerpolicy : *const MACHINE_PROCESSOR_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn WriteProcessorPwrScheme ( uiid : u32 , pmachineprocessorpowerpolicy : *const MACHINE_PROCESSOR_POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); WriteProcessorPwrScheme(uiid, pmachineprocessorpowerpolicy) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] @@ -842,7 +842,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "powrprof.dll""system" fn WritePwrScheme ( puiid : *const u32 , lpszschemename : :: windows::core::PCWSTR , lpszdescription : :: windows::core::PCWSTR , lpscheme : *const POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "powrprof.dll""system" fn WritePwrScheme ( puiid : *const u32 , lpszschemename : :: windows::core::PCWSTR , lpszdescription : :: windows::core::PCWSTR , lpscheme : *const POWER_POLICY ) -> super::super::Foundation:: BOOLEAN ); WritePwrScheme(puiid, lpszschemename.into().abi(), lpszdescription.into().abi(), lpscheme) } #[doc = "*Required features: `\"Win32_System_Power\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/ProcessStatus/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ProcessStatus/mod.rs index 875d0e477a..1f48a67205 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ProcessStatus/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ProcessStatus/mod.rs @@ -5,28 +5,28 @@ pub unsafe fn K32EmptyWorkingSet(hprocess: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32EmptyWorkingSet ( hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32EmptyWorkingSet ( hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); K32EmptyWorkingSet(hprocess.into()) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn K32EnumDeviceDrivers(lpimagebase: *mut *mut ::core::ffi::c_void, cb: u32, lpcbneeded: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn K32EnumDeviceDrivers ( lpimagebase : *mut *mut ::core::ffi::c_void , cb : u32 , lpcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32EnumDeviceDrivers ( lpimagebase : *mut *mut ::core::ffi::c_void , cb : u32 , lpcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); K32EnumDeviceDrivers(lpimagebase, cb, lpcbneeded) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn K32EnumPageFilesA(pcallbackroutine: PENUM_PAGE_FILE_CALLBACKA, pcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn K32EnumPageFilesA ( pcallbackroutine : PENUM_PAGE_FILE_CALLBACKA , pcontext : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32EnumPageFilesA ( pcallbackroutine : PENUM_PAGE_FILE_CALLBACKA , pcontext : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); K32EnumPageFilesA(pcallbackroutine, pcontext) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn K32EnumPageFilesW(pcallbackroutine: PENUM_PAGE_FILE_CALLBACKW, pcontext: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn K32EnumPageFilesW ( pcallbackroutine : PENUM_PAGE_FILE_CALLBACKW , pcontext : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32EnumPageFilesW ( pcallbackroutine : PENUM_PAGE_FILE_CALLBACKW , pcontext : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); K32EnumPageFilesW(pcallbackroutine, pcontext) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -36,7 +36,7 @@ pub unsafe fn K32EnumProcessModules(hprocess: P0, lphmodule: *mut super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32EnumProcessModules ( hprocess : super::super::Foundation:: HANDLE , lphmodule : *mut super::super::Foundation:: HINSTANCE , cb : u32 , lpcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32EnumProcessModules ( hprocess : super::super::Foundation:: HANDLE , lphmodule : *mut super::super::Foundation:: HINSTANCE , cb : u32 , lpcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); K32EnumProcessModules(hprocess.into(), lphmodule, cb, lpcbneeded) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -46,38 +46,38 @@ pub unsafe fn K32EnumProcessModulesEx(hprocess: P0, lphmodule: *mut super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32EnumProcessModulesEx ( hprocess : super::super::Foundation:: HANDLE , lphmodule : *mut super::super::Foundation:: HINSTANCE , cb : u32 , lpcbneeded : *mut u32 , dwfilterflag : ENUM_PROCESS_MODULES_EX_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32EnumProcessModulesEx ( hprocess : super::super::Foundation:: HANDLE , lphmodule : *mut super::super::Foundation:: HINSTANCE , cb : u32 , lpcbneeded : *mut u32 , dwfilterflag : ENUM_PROCESS_MODULES_EX_FLAGS ) -> super::super::Foundation:: BOOL ); K32EnumProcessModulesEx(hprocess.into(), lphmodule, cb, lpcbneeded, dwfilterflag) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn K32EnumProcesses(lpidprocess: *mut u32, cb: u32, lpcbneeded: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn K32EnumProcesses ( lpidprocess : *mut u32 , cb : u32 , lpcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32EnumProcesses ( lpidprocess : *mut u32 , cb : u32 , lpcbneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); K32EnumProcesses(lpidprocess, cb, lpcbneeded) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] #[inline] pub unsafe fn K32GetDeviceDriverBaseNameA(imagebase: *const ::core::ffi::c_void, lpfilename: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetDeviceDriverBaseNameA ( imagebase : *const ::core::ffi::c_void , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetDeviceDriverBaseNameA ( imagebase : *const ::core::ffi::c_void , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); K32GetDeviceDriverBaseNameA(imagebase, ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] #[inline] pub unsafe fn K32GetDeviceDriverBaseNameW(imagebase: *const ::core::ffi::c_void, lpbasename: &mut [u16]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetDeviceDriverBaseNameW ( imagebase : *const ::core::ffi::c_void , lpbasename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetDeviceDriverBaseNameW ( imagebase : *const ::core::ffi::c_void , lpbasename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); K32GetDeviceDriverBaseNameW(imagebase, ::core::mem::transmute(lpbasename.as_ptr()), lpbasename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] #[inline] pub unsafe fn K32GetDeviceDriverFileNameA(imagebase: *const ::core::ffi::c_void, lpfilename: &mut [u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetDeviceDriverFileNameA ( imagebase : *const ::core::ffi::c_void , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetDeviceDriverFileNameA ( imagebase : *const ::core::ffi::c_void , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); K32GetDeviceDriverFileNameA(imagebase, ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] #[inline] pub unsafe fn K32GetDeviceDriverFileNameW(imagebase: *const ::core::ffi::c_void, lpfilename: &mut [u16]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetDeviceDriverFileNameW ( imagebase : *const ::core::ffi::c_void , lpfilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetDeviceDriverFileNameW ( imagebase : *const ::core::ffi::c_void , lpfilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); K32GetDeviceDriverFileNameW(imagebase, ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn K32GetMappedFileNameA(hprocess: P0, lpv: *const ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetMappedFileNameA ( hprocess : super::super::Foundation:: HANDLE , lpv : *const ::core::ffi::c_void , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetMappedFileNameA ( hprocess : super::super::Foundation:: HANDLE , lpv : *const ::core::ffi::c_void , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); K32GetMappedFileNameA(hprocess.into(), lpv, ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -97,7 +97,7 @@ pub unsafe fn K32GetMappedFileNameW(hprocess: P0, lpv: *const ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetMappedFileNameW ( hprocess : super::super::Foundation:: HANDLE , lpv : *const ::core::ffi::c_void , lpfilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetMappedFileNameW ( hprocess : super::super::Foundation:: HANDLE , lpv : *const ::core::ffi::c_void , lpfilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); K32GetMappedFileNameW(hprocess.into(), lpv, ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -108,7 +108,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetModuleBaseNameA ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpbasename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetModuleBaseNameA ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpbasename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); K32GetModuleBaseNameA(hprocess.into(), hmodule.into(), ::core::mem::transmute(lpbasename.as_ptr()), lpbasename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -119,7 +119,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetModuleBaseNameW ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpbasename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetModuleBaseNameW ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpbasename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); K32GetModuleBaseNameW(hprocess.into(), hmodule.into(), ::core::mem::transmute(lpbasename.as_ptr()), lpbasename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -130,7 +130,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetModuleFileNameExA ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetModuleFileNameExA ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpfilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); K32GetModuleFileNameExA(hprocess.into(), hmodule.into(), ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -141,7 +141,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetModuleFileNameExW ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpfilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetModuleFileNameExW ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpfilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); K32GetModuleFileNameExW(hprocess.into(), hmodule.into(), ::core::mem::transmute(lpfilename.as_ptr()), lpfilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -152,14 +152,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetModuleInformation ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpmodinfo : *mut MODULEINFO , cb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetModuleInformation ( hprocess : super::super::Foundation:: HANDLE , hmodule : super::super::Foundation:: HINSTANCE , lpmodinfo : *mut MODULEINFO , cb : u32 ) -> super::super::Foundation:: BOOL ); K32GetModuleInformation(hprocess.into(), hmodule.into(), lpmodinfo, cb) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn K32GetPerformanceInfo(pperformanceinformation: *mut PERFORMANCE_INFORMATION, cb: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetPerformanceInfo ( pperformanceinformation : *mut PERFORMANCE_INFORMATION , cb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetPerformanceInfo ( pperformanceinformation : *mut PERFORMANCE_INFORMATION , cb : u32 ) -> super::super::Foundation:: BOOL ); K32GetPerformanceInfo(pperformanceinformation, cb) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -169,7 +169,7 @@ pub unsafe fn K32GetProcessImageFileNameA(hprocess: P0, lpimagefilename: &mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetProcessImageFileNameA ( hprocess : super::super::Foundation:: HANDLE , lpimagefilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetProcessImageFileNameA ( hprocess : super::super::Foundation:: HANDLE , lpimagefilename : :: windows::core::PSTR , nsize : u32 ) -> u32 ); K32GetProcessImageFileNameA(hprocess.into(), ::core::mem::transmute(lpimagefilename.as_ptr()), lpimagefilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -179,7 +179,7 @@ pub unsafe fn K32GetProcessImageFileNameW(hprocess: P0, lpimagefilename: &mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetProcessImageFileNameW ( hprocess : super::super::Foundation:: HANDLE , lpimagefilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetProcessImageFileNameW ( hprocess : super::super::Foundation:: HANDLE , lpimagefilename : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); K32GetProcessImageFileNameW(hprocess.into(), ::core::mem::transmute(lpimagefilename.as_ptr()), lpimagefilename.len() as _) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -189,7 +189,7 @@ pub unsafe fn K32GetProcessMemoryInfo(process: P0, ppsmemcounters: *mut PROC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetProcessMemoryInfo ( process : super::super::Foundation:: HANDLE , ppsmemcounters : *mut PROCESS_MEMORY_COUNTERS , cb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetProcessMemoryInfo ( process : super::super::Foundation:: HANDLE , ppsmemcounters : *mut PROCESS_MEMORY_COUNTERS , cb : u32 ) -> super::super::Foundation:: BOOL ); K32GetProcessMemoryInfo(process.into(), ppsmemcounters, cb) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -199,7 +199,7 @@ pub unsafe fn K32GetWsChanges(hprocess: P0, lpwatchinfo: *mut PSAPI_WS_WATCH where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetWsChanges ( hprocess : super::super::Foundation:: HANDLE , lpwatchinfo : *mut PSAPI_WS_WATCH_INFORMATION , cb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetWsChanges ( hprocess : super::super::Foundation:: HANDLE , lpwatchinfo : *mut PSAPI_WS_WATCH_INFORMATION , cb : u32 ) -> super::super::Foundation:: BOOL ); K32GetWsChanges(hprocess.into(), lpwatchinfo, cb) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -209,7 +209,7 @@ pub unsafe fn K32GetWsChangesEx(hprocess: P0, lpwatchinfoex: *mut PSAPI_WS_W where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32GetWsChangesEx ( hprocess : super::super::Foundation:: HANDLE , lpwatchinfoex : *mut PSAPI_WS_WATCH_INFORMATION_EX , cb : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32GetWsChangesEx ( hprocess : super::super::Foundation:: HANDLE , lpwatchinfoex : *mut PSAPI_WS_WATCH_INFORMATION_EX , cb : *mut u32 ) -> super::super::Foundation:: BOOL ); K32GetWsChangesEx(hprocess.into(), lpwatchinfoex, cb) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -219,7 +219,7 @@ pub unsafe fn K32InitializeProcessForWsWatch(hprocess: P0) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32InitializeProcessForWsWatch ( hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32InitializeProcessForWsWatch ( hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); K32InitializeProcessForWsWatch(hprocess.into()) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -229,7 +229,7 @@ pub unsafe fn K32QueryWorkingSet(hprocess: P0, pv: *mut ::core::ffi::c_void, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32QueryWorkingSet ( hprocess : super::super::Foundation:: HANDLE , pv : *mut ::core::ffi::c_void , cb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32QueryWorkingSet ( hprocess : super::super::Foundation:: HANDLE , pv : *mut ::core::ffi::c_void , cb : u32 ) -> super::super::Foundation:: BOOL ); K32QueryWorkingSet(hprocess.into(), pv, cb) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`, `\"Win32_Foundation\"`*"] @@ -239,7 +239,7 @@ pub unsafe fn K32QueryWorkingSetEx(hprocess: P0, pv: *mut ::core::ffi::c_voi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn K32QueryWorkingSetEx ( hprocess : super::super::Foundation:: HANDLE , pv : *mut ::core::ffi::c_void , cb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn K32QueryWorkingSetEx ( hprocess : super::super::Foundation:: HANDLE , pv : *mut ::core::ffi::c_void , cb : u32 ) -> super::super::Foundation:: BOOL ); K32QueryWorkingSetEx(hprocess.into(), pv, cb) } #[doc = "*Required features: `\"Win32_System_ProcessStatus\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs index 8e0ae94cde..202a549a9b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs @@ -13,7 +13,7 @@ impl INetworkTransportSettings { (::windows::core::Vtable::vtable(self).QuerySetting)(::windows::core::Vtable::as_raw(self), settingid, valuein.len() as _, ::core::mem::transmute(valuein.as_ptr()), lengthout, valueout).ok() } } -::windows::core::interface_hierarchy!(INetworkTransportSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkTransportSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkTransportSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -60,7 +60,7 @@ impl INotificationTransportSync { (::windows::core::Vtable::vtable(self).Flush)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(INotificationTransportSync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INotificationTransportSync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INotificationTransportSync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -138,7 +138,7 @@ impl IRTCBuddy { (::windows::core::Vtable::vtable(self).Notes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCBuddy, ::windows::core::IUnknown, IRTCPresenceContact); +::windows::imp::interface_hierarchy!(IRTCBuddy, ::windows::core::IUnknown, IRTCPresenceContact); impl ::core::cmp::PartialEq for IRTCBuddy { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -251,7 +251,7 @@ impl IRTCBuddy2 { (::windows::core::Vtable::vtable(self).SubscriptionType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCBuddy2, ::windows::core::IUnknown, IRTCPresenceContact, IRTCBuddy); +::windows::imp::interface_hierarchy!(IRTCBuddy2, ::windows::core::IUnknown, IRTCPresenceContact, IRTCBuddy); impl ::core::cmp::PartialEq for IRTCBuddy2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -305,7 +305,7 @@ impl IRTCBuddyEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCBuddyEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCBuddyEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCBuddyEvent { fn eq(&self, other: &Self) -> bool { @@ -365,7 +365,7 @@ impl IRTCBuddyEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCBuddyEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCBuddyEvent); +::windows::imp::interface_hierarchy!(IRTCBuddyEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCBuddyEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCBuddyEvent2 { fn eq(&self, other: &Self) -> bool { @@ -448,7 +448,7 @@ impl IRTCBuddyGroup { (::windows::core::Vtable::vtable(self).Profile)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCBuddyGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCBuddyGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCBuddyGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -512,7 +512,7 @@ impl IRTCBuddyGroupEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCBuddyGroupEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCBuddyGroupEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCBuddyGroupEvent { fn eq(&self, other: &Self) -> bool { @@ -742,7 +742,7 @@ impl IRTCClient { (::windows::core::Vtable::vtable(self).IsTuned)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1089,7 +1089,7 @@ impl IRTCClient2 { (::windows::core::Vtable::vtable(self).get_AllowedPorts)(::windows::core::Vtable::as_raw(self), ltransport, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCClient2, ::windows::core::IUnknown, IRTCClient); +::windows::imp::interface_hierarchy!(IRTCClient2, ::windows::core::IUnknown, IRTCClient); impl ::core::cmp::PartialEq for IRTCClient2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1149,7 +1149,7 @@ impl IRTCClientEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCClientEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCClientEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCClientEvent { fn eq(&self, other: &Self) -> bool { @@ -1200,7 +1200,7 @@ impl IRTCClientPortManagement { (::windows::core::Vtable::vtable(self).GetPortRange)(::windows::core::Vtable::as_raw(self), enporttype, plminvalue, plmaxvalue).ok() } } -::windows::core::interface_hierarchy!(IRTCClientPortManagement, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCClientPortManagement, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCClientPortManagement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1334,7 +1334,7 @@ impl IRTCClientPresence { (::windows::core::Vtable::vtable(self).SetPrivacyMode)(::windows::core::Vtable::as_raw(self), enmode).ok() } } -::windows::core::interface_hierarchy!(IRTCClientPresence, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCClientPresence, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCClientPresence { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1582,7 +1582,7 @@ impl IRTCClientPresence2 { (::windows::core::Vtable::vtable(self).AddBuddyEx)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrpresentityuri), ::core::mem::transmute_copy(bstrusername), ::core::mem::transmute_copy(bstrdata), fpersistent.into(), ensubscriptiontype, pprofile.into().abi(), lflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCClientPresence2, ::windows::core::IUnknown, IRTCClientPresence); +::windows::imp::interface_hierarchy!(IRTCClientPresence2, ::windows::core::IUnknown, IRTCClientPresence); impl ::core::cmp::PartialEq for IRTCClientPresence2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1675,7 +1675,7 @@ impl IRTCClientProvisioning { (::windows::core::Vtable::vtable(self).SessionCapabilities)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCClientProvisioning, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCClientProvisioning, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCClientProvisioning { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1757,7 +1757,7 @@ impl IRTCClientProvisioning2 { (::windows::core::Vtable::vtable(self).EnableProfileEx)(::windows::core::Vtable::as_raw(self), pprofile.into().abi(), lregisterflags, lroamingflags).ok() } } -::windows::core::interface_hierarchy!(IRTCClientProvisioning2, ::windows::core::IUnknown, IRTCClientProvisioning); +::windows::imp::interface_hierarchy!(IRTCClientProvisioning2, ::windows::core::IUnknown, IRTCClientProvisioning); impl ::core::cmp::PartialEq for IRTCClientProvisioning2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1808,7 +1808,7 @@ impl IRTCCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCCollection { fn eq(&self, other: &Self) -> bool { @@ -1856,7 +1856,7 @@ pub struct IRTCDispatchEventNotification(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCDispatchEventNotification {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCDispatchEventNotification, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCDispatchEventNotification, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCDispatchEventNotification { fn eq(&self, other: &Self) -> bool { @@ -1909,7 +1909,7 @@ impl IRTCEnumBuddies { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCEnumBuddies, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCEnumBuddies, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCEnumBuddies { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1959,7 +1959,7 @@ impl IRTCEnumGroups { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCEnumGroups, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCEnumGroups, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCEnumGroups { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2009,7 +2009,7 @@ impl IRTCEnumParticipants { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCEnumParticipants, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCEnumParticipants, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCEnumParticipants { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2059,7 +2059,7 @@ impl IRTCEnumPresenceDevices { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCEnumPresenceDevices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCEnumPresenceDevices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCEnumPresenceDevices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2109,7 +2109,7 @@ impl IRTCEnumProfiles { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCEnumProfiles, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCEnumProfiles, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCEnumProfiles { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2159,7 +2159,7 @@ impl IRTCEnumUserSearchResults { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCEnumUserSearchResults, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCEnumUserSearchResults, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCEnumUserSearchResults { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2209,7 +2209,7 @@ impl IRTCEnumWatchers { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCEnumWatchers, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCEnumWatchers, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCEnumWatchers { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2254,7 +2254,7 @@ impl IRTCEventNotification { (::windows::core::Vtable::vtable(self).Event)(::windows::core::Vtable::as_raw(self), rtcevent, pevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRTCEventNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCEventNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCEventNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2310,7 +2310,7 @@ impl IRTCInfoEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCInfoEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCInfoEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCInfoEvent { fn eq(&self, other: &Self) -> bool { @@ -2373,7 +2373,7 @@ impl IRTCIntensityEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCIntensityEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCIntensityEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCIntensityEvent { fn eq(&self, other: &Self) -> bool { @@ -2432,7 +2432,7 @@ impl IRTCMediaEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCMediaEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCMediaEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCMediaEvent { fn eq(&self, other: &Self) -> bool { @@ -2504,7 +2504,7 @@ impl IRTCMediaRequestEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCMediaRequestEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCMediaRequestEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCMediaRequestEvent { fn eq(&self, other: &Self) -> bool { @@ -2578,7 +2578,7 @@ impl IRTCMessagingEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCMessagingEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCMessagingEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCMessagingEvent { fn eq(&self, other: &Self) -> bool { @@ -2646,7 +2646,7 @@ impl IRTCParticipant { (::windows::core::Vtable::vtable(self).Session)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCParticipant, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCParticipant, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCParticipant { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2702,7 +2702,7 @@ impl IRTCParticipantStateChangeEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCParticipantStateChangeEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCParticipantStateChangeEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCParticipantStateChangeEvent { fn eq(&self, other: &Self) -> bool { @@ -2754,7 +2754,7 @@ impl IRTCPortManager { (::windows::core::Vtable::vtable(self).ReleaseMapping)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrinternallocaladdress), linternallocalport, ::core::mem::transmute_copy(bstrexternallocaladdress), lexternallocaladdress).ok() } } -::windows::core::interface_hierarchy!(IRTCPortManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCPortManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCPortManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2825,7 +2825,7 @@ impl IRTCPresenceContact { (::windows::core::Vtable::vtable(self).SetPersistent)(::windows::core::Vtable::as_raw(self), fpersistent.into()).ok() } } -::windows::core::interface_hierarchy!(IRTCPresenceContact, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCPresenceContact, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCPresenceContact { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2886,7 +2886,7 @@ impl IRTCPresenceDataEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCPresenceDataEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCPresenceDataEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCPresenceDataEvent { fn eq(&self, other: &Self) -> bool { @@ -2944,7 +2944,7 @@ impl IRTCPresenceDevice { (::windows::core::Vtable::vtable(self).GetPresenceData)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrnamespace), ::core::mem::transmute(pbstrdata)).ok() } } -::windows::core::interface_hierarchy!(IRTCPresenceDevice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCPresenceDevice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCPresenceDevice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3000,7 +3000,7 @@ impl IRTCPresencePropertyEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCPresencePropertyEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCPresencePropertyEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCPresencePropertyEvent { fn eq(&self, other: &Self) -> bool { @@ -3058,7 +3058,7 @@ impl IRTCPresenceStatusEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCPresenceStatusEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCPresenceStatusEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCPresenceStatusEvent { fn eq(&self, other: &Self) -> bool { @@ -3174,7 +3174,7 @@ impl IRTCProfile { (::windows::core::Vtable::vtable(self).State)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCProfile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCProfile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCProfile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3315,7 +3315,7 @@ impl IRTCProfile2 { (::windows::core::Vtable::vtable(self).SetAllowedAuth)(::windows::core::Vtable::as_raw(self), lallowedauth).ok() } } -::windows::core::interface_hierarchy!(IRTCProfile2, ::windows::core::IUnknown, IRTCProfile); +::windows::imp::interface_hierarchy!(IRTCProfile2, ::windows::core::IUnknown, IRTCProfile); impl ::core::cmp::PartialEq for IRTCProfile2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3367,7 +3367,7 @@ impl IRTCProfileEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCProfileEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCProfileEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCProfileEvent { fn eq(&self, other: &Self) -> bool { @@ -3429,7 +3429,7 @@ impl IRTCProfileEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCProfileEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCProfileEvent); +::windows::imp::interface_hierarchy!(IRTCProfileEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCProfileEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCProfileEvent2 { fn eq(&self, other: &Self) -> bool { @@ -3490,7 +3490,7 @@ impl IRTCReInviteEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCReInviteEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCReInviteEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCReInviteEvent { fn eq(&self, other: &Self) -> bool { @@ -3554,7 +3554,7 @@ impl IRTCRegistrationStateChangeEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCRegistrationStateChangeEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCRegistrationStateChangeEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCRegistrationStateChangeEvent { fn eq(&self, other: &Self) -> bool { @@ -3617,7 +3617,7 @@ impl IRTCRoamingEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCRoamingEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCRoamingEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCRoamingEvent { fn eq(&self, other: &Self) -> bool { @@ -3741,7 +3741,7 @@ impl IRTCSession { (::windows::core::Vtable::vtable(self).put_EncryptionKey)(::windows::core::Vtable::as_raw(self), lmediatype, ::core::mem::transmute_copy(encryptionkey)).ok() } } -::windows::core::interface_hierarchy!(IRTCSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3902,7 +3902,7 @@ impl IRTCSession2 { (::windows::core::Vtable::vtable(self).ReInviteWithSessionDescription)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrcontenttype), ::core::mem::transmute_copy(bstrsessiondescription), lcookie).ok() } } -::windows::core::interface_hierarchy!(IRTCSession2, ::windows::core::IUnknown, IRTCSession); +::windows::imp::interface_hierarchy!(IRTCSession2, ::windows::core::IUnknown, IRTCSession); impl ::core::cmp::PartialEq for IRTCSession2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3976,7 +3976,7 @@ impl IRTCSessionCallControl { (::windows::core::Vtable::vtable(self).IsReferred)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCSessionCallControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCSessionCallControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCSessionCallControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4026,7 +4026,7 @@ impl IRTCSessionDescriptionManager { (::windows::core::Vtable::vtable(self).EvaluateSessionDescription)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrcontenttype), ::core::mem::transmute_copy(bstrsessiondescription), pfapplicationsession).ok() } } -::windows::core::interface_hierarchy!(IRTCSessionDescriptionManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCSessionDescriptionManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCSessionDescriptionManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4082,7 +4082,7 @@ impl IRTCSessionOperationCompleteEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCSessionOperationCompleteEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCSessionOperationCompleteEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCSessionOperationCompleteEvent { fn eq(&self, other: &Self) -> bool { @@ -4152,7 +4152,7 @@ impl IRTCSessionOperationCompleteEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCSessionOperationCompleteEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCSessionOperationCompleteEvent); +::windows::imp::interface_hierarchy!(IRTCSessionOperationCompleteEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCSessionOperationCompleteEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCSessionOperationCompleteEvent2 { fn eq(&self, other: &Self) -> bool { @@ -4200,7 +4200,7 @@ impl IRTCSessionPortManagement { (::windows::core::Vtable::vtable(self).SetPortManager)(::windows::core::Vtable::as_raw(self), pportmanager.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRTCSessionPortManagement, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCSessionPortManagement, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCSessionPortManagement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4253,7 +4253,7 @@ impl IRTCSessionReferStatusEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCSessionReferStatusEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCSessionReferStatusEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCSessionReferStatusEvent { fn eq(&self, other: &Self) -> bool { @@ -4325,7 +4325,7 @@ impl IRTCSessionReferredEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCSessionReferredEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCSessionReferredEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCSessionReferredEvent { fn eq(&self, other: &Self) -> bool { @@ -4391,7 +4391,7 @@ impl IRTCSessionStateChangeEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCSessionStateChangeEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCSessionStateChangeEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCSessionStateChangeEvent { fn eq(&self, other: &Self) -> bool { @@ -4471,7 +4471,7 @@ impl IRTCSessionStateChangeEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCSessionStateChangeEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCSessionStateChangeEvent); +::windows::imp::interface_hierarchy!(IRTCSessionStateChangeEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCSessionStateChangeEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCSessionStateChangeEvent2 { fn eq(&self, other: &Self) -> bool { @@ -4529,7 +4529,7 @@ impl IRTCUserSearch { (::windows::core::Vtable::vtable(self).ExecuteSearch)(::windows::core::Vtable::as_raw(self), pquery.into().abi(), pprofile.into().abi(), lcookie).ok() } } -::windows::core::interface_hierarchy!(IRTCUserSearch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCUserSearch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCUserSearch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4589,7 +4589,7 @@ impl IRTCUserSearchQuery { (::windows::core::Vtable::vtable(self).SearchDomain)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCUserSearchQuery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCUserSearchQuery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCUserSearchQuery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4633,7 +4633,7 @@ impl IRTCUserSearchResult { (::windows::core::Vtable::vtable(self).get_Value)(::windows::core::Vtable::as_raw(self), encolumn, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCUserSearchResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRTCUserSearchResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRTCUserSearchResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4702,7 +4702,7 @@ impl IRTCUserSearchResultsEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCUserSearchResultsEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCUserSearchResultsEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCUserSearchResultsEvent { fn eq(&self, other: &Self) -> bool { @@ -4797,7 +4797,7 @@ impl IRTCWatcher { (::windows::core::Vtable::vtable(self).SetState)(::windows::core::Vtable::as_raw(self), enstate).ok() } } -::windows::core::interface_hierarchy!(IRTCWatcher, ::windows::core::IUnknown, IRTCPresenceContact); +::windows::imp::interface_hierarchy!(IRTCWatcher, ::windows::core::IUnknown, IRTCPresenceContact); impl ::core::cmp::PartialEq for IRTCWatcher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4882,7 +4882,7 @@ impl IRTCWatcher2 { (::windows::core::Vtable::vtable(self).Scope)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRTCWatcher2, ::windows::core::IUnknown, IRTCPresenceContact, IRTCWatcher); +::windows::imp::interface_hierarchy!(IRTCWatcher2, ::windows::core::IUnknown, IRTCPresenceContact, IRTCWatcher); impl ::core::cmp::PartialEq for IRTCWatcher2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4924,7 +4924,7 @@ impl IRTCWatcherEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCWatcherEvent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRTCWatcherEvent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCWatcherEvent { fn eq(&self, other: &Self) -> bool { @@ -4980,7 +4980,7 @@ impl IRTCWatcherEvent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRTCWatcherEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCWatcherEvent); +::windows::imp::interface_hierarchy!(IRTCWatcherEvent2, ::windows::core::IUnknown, super::Com::IDispatch, IRTCWatcherEvent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRTCWatcherEvent2 { fn eq(&self, other: &Self) -> bool { @@ -5032,7 +5032,7 @@ impl ITransportSettingsInternal { (::windows::core::Vtable::vtable(self).QuerySetting)(::windows::core::Vtable::as_raw(self), setting).ok() } } -::windows::core::interface_hierarchy!(ITransportSettingsInternal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransportSettingsInternal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransportSettingsInternal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs index f2d93270b4..aa8fee646e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs @@ -5,14 +5,14 @@ pub unsafe fn ApplicationRecoveryFinished(bsuccess: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ApplicationRecoveryFinished ( bsuccess : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ApplicationRecoveryFinished ( bsuccess : super::super::Foundation:: BOOL ) -> ( ) ); ApplicationRecoveryFinished(bsuccess.into()) } #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ApplicationRecoveryInProgress() -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn ApplicationRecoveryInProgress ( pbcancelled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ApplicationRecoveryInProgress ( pbcancelled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ApplicationRecoveryInProgress(&mut result__).from_abi(result__) } @@ -23,7 +23,7 @@ pub unsafe fn GetApplicationRecoveryCallback(hprocess: P0, precoverycallback where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetApplicationRecoveryCallback ( hprocess : super::super::Foundation:: HANDLE , precoverycallback : *mut super::WindowsProgramming:: APPLICATION_RECOVERY_CALLBACK , ppvparameter : *mut *mut ::core::ffi::c_void , pdwpinginterval : *mut u32 , pdwflags : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetApplicationRecoveryCallback ( hprocess : super::super::Foundation:: HANDLE , precoverycallback : *mut super::WindowsProgramming:: APPLICATION_RECOVERY_CALLBACK , ppvparameter : *mut *mut ::core::ffi::c_void , pdwpinginterval : *mut u32 , pdwflags : *mut u32 ) -> :: windows::core::HRESULT ); GetApplicationRecoveryCallback(hprocess.into(), precoverycallback, ::core::mem::transmute(ppvparameter.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwpinginterval.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_Foundation\"`*"] @@ -33,14 +33,14 @@ pub unsafe fn GetApplicationRestartSettings(hprocess: P0, pwzcommandline: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetApplicationRestartSettings ( hprocess : super::super::Foundation:: HANDLE , pwzcommandline : :: windows::core::PWSTR , pcchsize : *mut u32 , pdwflags : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetApplicationRestartSettings ( hprocess : super::super::Foundation:: HANDLE , pwzcommandline : :: windows::core::PWSTR , pcchsize : *mut u32 , pdwflags : *mut u32 ) -> :: windows::core::HRESULT ); GetApplicationRestartSettings(hprocess.into(), ::core::mem::transmute(pwzcommandline), pcchsize, ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_Recovery\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(feature = "Win32_System_WindowsProgramming")] #[inline] pub unsafe fn RegisterApplicationRecoveryCallback(precoveycallback: super::WindowsProgramming::APPLICATION_RECOVERY_CALLBACK, pvparameter: ::core::option::Option<*const ::core::ffi::c_void>, dwpinginterval: u32, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn RegisterApplicationRecoveryCallback ( precoveycallback : super::WindowsProgramming:: APPLICATION_RECOVERY_CALLBACK , pvparameter : *const ::core::ffi::c_void , dwpinginterval : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RegisterApplicationRecoveryCallback ( precoveycallback : super::WindowsProgramming:: APPLICATION_RECOVERY_CALLBACK , pvparameter : *const ::core::ffi::c_void , dwpinginterval : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); RegisterApplicationRecoveryCallback(precoveycallback, ::core::mem::transmute(pvparameter.unwrap_or(::std::ptr::null())), dwpinginterval, dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Recovery\"`*"] @@ -49,19 +49,19 @@ pub unsafe fn RegisterApplicationRestart(pwzcommandline: P0, dwflags: REGIST where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn RegisterApplicationRestart ( pwzcommandline : :: windows::core::PCWSTR , dwflags : REGISTER_APPLICATION_RESTART_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RegisterApplicationRestart ( pwzcommandline : :: windows::core::PCWSTR , dwflags : REGISTER_APPLICATION_RESTART_FLAGS ) -> :: windows::core::HRESULT ); RegisterApplicationRestart(pwzcommandline.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_Recovery\"`*"] #[inline] pub unsafe fn UnregisterApplicationRecoveryCallback() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn UnregisterApplicationRecoveryCallback ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnregisterApplicationRecoveryCallback ( ) -> :: windows::core::HRESULT ); UnregisterApplicationRecoveryCallback().ok() } #[doc = "*Required features: `\"Win32_System_Recovery\"`*"] #[inline] pub unsafe fn UnregisterApplicationRestart() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "kernel32.dll""system" fn UnregisterApplicationRestart ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnregisterApplicationRestart ( ) -> :: windows::core::HRESULT ); UnregisterApplicationRestart().ok() } #[doc = "*Required features: `\"Win32_System_Recovery\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs index ea267747b6..f1cce9aead 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs @@ -9,7 +9,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-state-helpers-l1-1-0.dll""system" fn GetRegistryValueWithFallbackW ( hkeyprimary : HKEY , pwszprimarysubkey : :: windows::core::PCWSTR , hkeyfallback : HKEY , pwszfallbacksubkey : :: windows::core::PCWSTR , pwszvalue : :: windows::core::PCWSTR , dwflags : u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , cbdatain : u32 , pcbdataout : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "api-ms-win-core-state-helpers-l1-1-0.dll""system" fn GetRegistryValueWithFallbackW ( hkeyprimary : HKEY , pwszprimarysubkey : :: windows::core::PCWSTR , hkeyfallback : HKEY , pwszfallbacksubkey : :: windows::core::PCWSTR , pwszvalue : :: windows::core::PCWSTR , dwflags : u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , cbdatain : u32 , pcbdataout : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); GetRegistryValueWithFallbackW(hkeyprimary.into(), pwszprimarysubkey.into().abi(), hkeyfallback.into(), pwszfallbacksubkey.into().abi(), pwszvalue.into().abi(), dwflags, ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), cbdatain, ::core::mem::transmute(pcbdataout.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -19,7 +19,7 @@ pub unsafe fn RegCloseKey(hkey: P0) -> super::super::Foundation::WIN32_ERROR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCloseKey ( hkey : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCloseKey ( hkey : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegCloseKey(hkey.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -30,7 +30,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegConnectRegistryA ( lpmachinename : :: windows::core::PCSTR , hkey : HKEY , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegConnectRegistryA ( lpmachinename : :: windows::core::PCSTR , hkey : HKEY , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegConnectRegistryA(lpmachinename.into().abi(), hkey.into(), phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -40,7 +40,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegConnectRegistryExA ( lpmachinename : :: windows::core::PCSTR , hkey : HKEY , flags : u32 , phkresult : *mut HKEY ) -> i32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegConnectRegistryExA ( lpmachinename : :: windows::core::PCSTR , hkey : HKEY , flags : u32 , phkresult : *mut HKEY ) -> i32 ); RegConnectRegistryExA(lpmachinename.into().abi(), hkey.into(), flags, phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -50,7 +50,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegConnectRegistryExW ( lpmachinename : :: windows::core::PCWSTR , hkey : HKEY , flags : u32 , phkresult : *mut HKEY ) -> i32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegConnectRegistryExW ( lpmachinename : :: windows::core::PCWSTR , hkey : HKEY , flags : u32 , phkresult : *mut HKEY ) -> i32 ); RegConnectRegistryExW(lpmachinename.into().abi(), hkey.into(), flags, phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -61,7 +61,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegConnectRegistryW ( lpmachinename : :: windows::core::PCWSTR , hkey : HKEY , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegConnectRegistryW ( lpmachinename : :: windows::core::PCWSTR , hkey : HKEY , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegConnectRegistryW(lpmachinename.into().abi(), hkey.into(), phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -73,7 +73,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCopyTreeA ( hkeysrc : HKEY , lpsubkey : :: windows::core::PCSTR , hkeydest : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCopyTreeA ( hkeysrc : HKEY , lpsubkey : :: windows::core::PCSTR , hkeydest : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegCopyTreeA(hkeysrc.into(), lpsubkey.into().abi(), hkeydest.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -85,7 +85,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCopyTreeW ( hkeysrc : HKEY , lpsubkey : :: windows::core::PCWSTR , hkeydest : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCopyTreeW ( hkeysrc : HKEY , lpsubkey : :: windows::core::PCWSTR , hkeydest : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegCopyTreeW(hkeysrc.into(), lpsubkey.into().abi(), hkeydest.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -96,7 +96,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCreateKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCreateKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegCreateKeyA(hkey.into(), lpsubkey.into().abi(), phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -108,7 +108,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCreateKeyExA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , reserved : u32 , lpclass : :: windows::core::PCSTR , dwoptions : REG_OPEN_CREATE_OPTIONS , samdesired : REG_SAM_FLAGS , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut HKEY , lpdwdisposition : *mut REG_CREATE_KEY_DISPOSITION ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCreateKeyExA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , reserved : u32 , lpclass : :: windows::core::PCSTR , dwoptions : REG_OPEN_CREATE_OPTIONS , samdesired : REG_SAM_FLAGS , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut HKEY , lpdwdisposition : *mut REG_CREATE_KEY_DISPOSITION ) -> super::super::Foundation:: WIN32_ERROR ); RegCreateKeyExA(hkey.into(), lpsubkey.into().abi(), reserved, lpclass.into().abi(), dwoptions, samdesired, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), phkresult, ::core::mem::transmute(lpdwdisposition.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -120,7 +120,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCreateKeyExW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , reserved : u32 , lpclass : :: windows::core::PCWSTR , dwoptions : REG_OPEN_CREATE_OPTIONS , samdesired : REG_SAM_FLAGS , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut HKEY , lpdwdisposition : *mut REG_CREATE_KEY_DISPOSITION ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCreateKeyExW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , reserved : u32 , lpclass : :: windows::core::PCWSTR , dwoptions : REG_OPEN_CREATE_OPTIONS , samdesired : REG_SAM_FLAGS , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut HKEY , lpdwdisposition : *mut REG_CREATE_KEY_DISPOSITION ) -> super::super::Foundation:: WIN32_ERROR ); RegCreateKeyExW(hkey.into(), lpsubkey.into().abi(), reserved, lpclass.into().abi(), dwoptions, samdesired, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), phkresult, ::core::mem::transmute(lpdwdisposition.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -133,7 +133,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCreateKeyTransactedA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , reserved : u32 , lpclass : :: windows::core::PCSTR , dwoptions : REG_OPEN_CREATE_OPTIONS , samdesired : REG_SAM_FLAGS , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut HKEY , lpdwdisposition : *mut REG_CREATE_KEY_DISPOSITION , htransaction : super::super::Foundation:: HANDLE , pextendedparemeter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCreateKeyTransactedA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , reserved : u32 , lpclass : :: windows::core::PCSTR , dwoptions : REG_OPEN_CREATE_OPTIONS , samdesired : REG_SAM_FLAGS , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut HKEY , lpdwdisposition : *mut REG_CREATE_KEY_DISPOSITION , htransaction : super::super::Foundation:: HANDLE , pextendedparemeter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); RegCreateKeyTransactedA(hkey.into(), lpsubkey.into().abi(), reserved, lpclass.into().abi(), dwoptions, samdesired, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), phkresult, ::core::mem::transmute(lpdwdisposition.unwrap_or(::std::ptr::null_mut())), htransaction.into(), ::core::mem::transmute(pextendedparemeter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -146,7 +146,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCreateKeyTransactedW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , reserved : u32 , lpclass : :: windows::core::PCWSTR , dwoptions : REG_OPEN_CREATE_OPTIONS , samdesired : REG_SAM_FLAGS , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut HKEY , lpdwdisposition : *mut REG_CREATE_KEY_DISPOSITION , htransaction : super::super::Foundation:: HANDLE , pextendedparemeter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCreateKeyTransactedW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , reserved : u32 , lpclass : :: windows::core::PCWSTR , dwoptions : REG_OPEN_CREATE_OPTIONS , samdesired : REG_SAM_FLAGS , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , phkresult : *mut HKEY , lpdwdisposition : *mut REG_CREATE_KEY_DISPOSITION , htransaction : super::super::Foundation:: HANDLE , pextendedparemeter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); RegCreateKeyTransactedW(hkey.into(), lpsubkey.into().abi(), reserved, lpclass.into().abi(), dwoptions, samdesired, ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), phkresult, ::core::mem::transmute(lpdwdisposition.unwrap_or(::std::ptr::null_mut())), htransaction.into(), ::core::mem::transmute(pextendedparemeter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -157,7 +157,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegCreateKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegCreateKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegCreateKeyW(hkey.into(), lpsubkey.into().abi(), phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -168,7 +168,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteKeyA(hkey.into(), lpsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -179,7 +179,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteKeyExA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , samdesired : u32 , reserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteKeyExA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , samdesired : u32 , reserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteKeyExA(hkey.into(), lpsubkey.into().abi(), samdesired, reserved) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -190,7 +190,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteKeyExW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , samdesired : u32 , reserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteKeyExW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , samdesired : u32 , reserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteKeyExW(hkey.into(), lpsubkey.into().abi(), samdesired, reserved) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -202,7 +202,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteKeyTransactedA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , samdesired : u32 , reserved : u32 , htransaction : super::super::Foundation:: HANDLE , pextendedparameter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteKeyTransactedA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , samdesired : u32 , reserved : u32 , htransaction : super::super::Foundation:: HANDLE , pextendedparameter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteKeyTransactedA(hkey.into(), lpsubkey.into().abi(), samdesired, reserved, htransaction.into(), ::core::mem::transmute(pextendedparameter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -214,7 +214,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteKeyTransactedW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , samdesired : u32 , reserved : u32 , htransaction : super::super::Foundation:: HANDLE , pextendedparameter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteKeyTransactedW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , samdesired : u32 , reserved : u32 , htransaction : super::super::Foundation:: HANDLE , pextendedparameter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteKeyTransactedW(hkey.into(), lpsubkey.into().abi(), samdesired, reserved, htransaction.into(), ::core::mem::transmute(pextendedparameter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -226,7 +226,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteKeyValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpvaluename : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteKeyValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpvaluename : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteKeyValueA(hkey.into(), lpsubkey.into().abi(), lpvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -238,7 +238,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteKeyValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpvaluename : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteKeyValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpvaluename : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteKeyValueW(hkey.into(), lpsubkey.into().abi(), lpvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -249,7 +249,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteKeyW(hkey.into(), lpsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -260,7 +260,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteTreeA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteTreeA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteTreeA(hkey.into(), lpsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -271,7 +271,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteTreeW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteTreeW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteTreeW(hkey.into(), lpsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -282,7 +282,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteValueA ( hkey : HKEY , lpvaluename : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteValueA ( hkey : HKEY , lpvaluename : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteValueA(hkey.into(), lpvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -293,21 +293,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDeleteValueW ( hkey : HKEY , lpvaluename : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDeleteValueW ( hkey : HKEY , lpvaluename : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegDeleteValueW(hkey.into(), lpvaluename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RegDisablePredefinedCache() -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDisablePredefinedCache ( ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDisablePredefinedCache ( ) -> super::super::Foundation:: WIN32_ERROR ); RegDisablePredefinedCache() } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RegDisablePredefinedCacheEx() -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDisablePredefinedCacheEx ( ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDisablePredefinedCacheEx ( ) -> super::super::Foundation:: WIN32_ERROR ); RegDisablePredefinedCacheEx() } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -317,7 +317,7 @@ pub unsafe fn RegDisableReflectionKey(hbase: P0) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegDisableReflectionKey ( hbase : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegDisableReflectionKey ( hbase : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegDisableReflectionKey(hbase.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -327,7 +327,7 @@ pub unsafe fn RegEnableReflectionKey(hbase: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegEnableReflectionKey ( hbase : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegEnableReflectionKey ( hbase : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegEnableReflectionKey(hbase.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -337,7 +337,7 @@ pub unsafe fn RegEnumKeyA(hkey: P0, dwindex: u32, lpname: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegEnumKeyA ( hkey : HKEY , dwindex : u32 , lpname : :: windows::core::PSTR , cchname : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegEnumKeyA ( hkey : HKEY , dwindex : u32 , lpname : :: windows::core::PSTR , cchname : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegEnumKeyA(hkey.into(), dwindex, ::core::mem::transmute(lpname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpname.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -347,7 +347,7 @@ pub unsafe fn RegEnumKeyExA(hkey: P0, dwindex: u32, lpname: ::windows::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegEnumKeyExA ( hkey : HKEY , dwindex : u32 , lpname : :: windows::core::PSTR , lpcchname : *mut u32 , lpreserved : *const u32 , lpclass : :: windows::core::PSTR , lpcchclass : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegEnumKeyExA ( hkey : HKEY , dwindex : u32 , lpname : :: windows::core::PSTR , lpcchname : *mut u32 , lpreserved : *const u32 , lpclass : :: windows::core::PSTR , lpcchclass : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: WIN32_ERROR ); RegEnumKeyExA(hkey.into(), dwindex, ::core::mem::transmute(lpname), lpcchname, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpclass), ::core::mem::transmute(lpcchclass.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpftlastwritetime.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -357,7 +357,7 @@ pub unsafe fn RegEnumKeyExW(hkey: P0, dwindex: u32, lpname: ::windows::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegEnumKeyExW ( hkey : HKEY , dwindex : u32 , lpname : :: windows::core::PWSTR , lpcchname : *mut u32 , lpreserved : *const u32 , lpclass : :: windows::core::PWSTR , lpcchclass : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegEnumKeyExW ( hkey : HKEY , dwindex : u32 , lpname : :: windows::core::PWSTR , lpcchname : *mut u32 , lpreserved : *const u32 , lpclass : :: windows::core::PWSTR , lpcchclass : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: WIN32_ERROR ); RegEnumKeyExW(hkey.into(), dwindex, ::core::mem::transmute(lpname), lpcchname, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpclass), ::core::mem::transmute(lpcchclass.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpftlastwritetime.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -367,7 +367,7 @@ pub unsafe fn RegEnumKeyW(hkey: P0, dwindex: u32, lpname: ::core::option::Op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegEnumKeyW ( hkey : HKEY , dwindex : u32 , lpname : :: windows::core::PWSTR , cchname : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegEnumKeyW ( hkey : HKEY , dwindex : u32 , lpname : :: windows::core::PWSTR , cchname : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegEnumKeyW(hkey.into(), dwindex, ::core::mem::transmute(lpname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpname.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -377,7 +377,7 @@ pub unsafe fn RegEnumValueA(hkey: P0, dwindex: u32, lpvaluename: ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegEnumValueA ( hkey : HKEY , dwindex : u32 , lpvaluename : :: windows::core::PSTR , lpcchvaluename : *mut u32 , lpreserved : *const u32 , lptype : *mut u32 , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegEnumValueA ( hkey : HKEY , dwindex : u32 , lpvaluename : :: windows::core::PSTR , lpcchvaluename : *mut u32 , lpreserved : *const u32 , lptype : *mut u32 , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegEnumValueA(hkey.into(), dwindex, ::core::mem::transmute(lpvaluename), lpcchvaluename, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -387,7 +387,7 @@ pub unsafe fn RegEnumValueW(hkey: P0, dwindex: u32, lpvaluename: ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegEnumValueW ( hkey : HKEY , dwindex : u32 , lpvaluename : :: windows::core::PWSTR , lpcchvaluename : *mut u32 , lpreserved : *const u32 , lptype : *mut u32 , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegEnumValueW ( hkey : HKEY , dwindex : u32 , lpvaluename : :: windows::core::PWSTR , lpcchvaluename : *mut u32 , lpreserved : *const u32 , lptype : *mut u32 , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegEnumValueW(hkey.into(), dwindex, ::core::mem::transmute(lpvaluename), lpcchvaluename, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -397,7 +397,7 @@ pub unsafe fn RegFlushKey(hkey: P0) -> super::super::Foundation::WIN32_ERROR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegFlushKey ( hkey : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegFlushKey ( hkey : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegFlushKey(hkey.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -407,7 +407,7 @@ pub unsafe fn RegGetKeySecurity(hkey: P0, securityinformation: u32, psecurit where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegGetKeySecurity ( hkey : HKEY , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegGetKeySecurity ( hkey : HKEY , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , lpcbsecuritydescriptor : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegGetKeySecurity(hkey.into(), securityinformation, psecuritydescriptor, lpcbsecuritydescriptor) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -419,7 +419,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegGetValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpvalue : :: windows::core::PCSTR , dwflags : REG_ROUTINE_FLAGS , pdwtype : *mut REG_VALUE_TYPE , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegGetValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpvalue : :: windows::core::PCSTR , dwflags : REG_ROUTINE_FLAGS , pdwtype : *mut REG_VALUE_TYPE , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegGetValueA(hkey.into(), lpsubkey.into().abi(), lpvalue.into().abi(), dwflags, ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -431,7 +431,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegGetValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpvalue : :: windows::core::PCWSTR , dwflags : REG_ROUTINE_FLAGS , pdwtype : *mut REG_VALUE_TYPE , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegGetValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpvalue : :: windows::core::PCWSTR , dwflags : REG_ROUTINE_FLAGS , pdwtype : *mut REG_VALUE_TYPE , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegGetValueW(hkey.into(), lpsubkey.into().abi(), lpvalue.into().abi(), dwflags, ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -441,7 +441,7 @@ pub unsafe fn RegLoadAppKeyA(lpfile: P0, phkresult: *mut HKEY, samdesired: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegLoadAppKeyA ( lpfile : :: windows::core::PCSTR , phkresult : *mut HKEY , samdesired : u32 , dwoptions : u32 , reserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegLoadAppKeyA ( lpfile : :: windows::core::PCSTR , phkresult : *mut HKEY , samdesired : u32 , dwoptions : u32 , reserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegLoadAppKeyA(lpfile.into().abi(), phkresult, samdesired, dwoptions, reserved) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -451,7 +451,7 @@ pub unsafe fn RegLoadAppKeyW(lpfile: P0, phkresult: *mut HKEY, samdesired: u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegLoadAppKeyW ( lpfile : :: windows::core::PCWSTR , phkresult : *mut HKEY , samdesired : u32 , dwoptions : u32 , reserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegLoadAppKeyW ( lpfile : :: windows::core::PCWSTR , phkresult : *mut HKEY , samdesired : u32 , dwoptions : u32 , reserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegLoadAppKeyW(lpfile.into().abi(), phkresult, samdesired, dwoptions, reserved) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -463,7 +463,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegLoadKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpfile : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegLoadKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpfile : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegLoadKeyA(hkey.into(), lpsubkey.into().abi(), lpfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -475,7 +475,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegLoadKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegLoadKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegLoadKeyW(hkey.into(), lpsubkey.into().abi(), lpfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -487,7 +487,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegLoadMUIStringA ( hkey : HKEY , pszvalue : :: windows::core::PCSTR , pszoutbuf : :: windows::core::PSTR , cboutbuf : u32 , pcbdata : *mut u32 , flags : u32 , pszdirectory : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegLoadMUIStringA ( hkey : HKEY , pszvalue : :: windows::core::PCSTR , pszoutbuf : :: windows::core::PSTR , cboutbuf : u32 , pcbdata : *mut u32 , flags : u32 , pszdirectory : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegLoadMUIStringA(hkey.into(), pszvalue.into().abi(), ::core::mem::transmute(pszoutbuf.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszoutbuf.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut())), flags, pszdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -499,7 +499,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegLoadMUIStringW ( hkey : HKEY , pszvalue : :: windows::core::PCWSTR , pszoutbuf : :: windows::core::PWSTR , cboutbuf : u32 , pcbdata : *mut u32 , flags : u32 , pszdirectory : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegLoadMUIStringW ( hkey : HKEY , pszvalue : :: windows::core::PCWSTR , pszoutbuf : :: windows::core::PWSTR , cboutbuf : u32 , pcbdata : *mut u32 , flags : u32 , pszdirectory : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegLoadMUIStringW(hkey.into(), pszvalue.into().abi(), ::core::mem::transmute(pszoutbuf), cboutbuf, ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut())), flags, pszdirectory.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -512,14 +512,14 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegNotifyChangeKeyValue ( hkey : HKEY , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : REG_NOTIFY_FILTER , hevent : super::super::Foundation:: HANDLE , fasynchronous : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegNotifyChangeKeyValue ( hkey : HKEY , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : REG_NOTIFY_FILTER , hevent : super::super::Foundation:: HANDLE , fasynchronous : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); RegNotifyChangeKeyValue(hkey.into(), bwatchsubtree.into(), dwnotifyfilter, hevent.into(), fasynchronous.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RegOpenCurrentUser(samdesired: u32, phkresult: *mut HKEY) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOpenCurrentUser ( samdesired : u32 , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOpenCurrentUser ( samdesired : u32 , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegOpenCurrentUser(samdesired, phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -530,7 +530,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOpenKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOpenKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegOpenKeyA(hkey.into(), lpsubkey.into().abi(), phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -541,7 +541,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOpenKeyExA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , uloptions : u32 , samdesired : REG_SAM_FLAGS , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOpenKeyExA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , uloptions : u32 , samdesired : REG_SAM_FLAGS , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegOpenKeyExA(hkey.into(), lpsubkey.into().abi(), uloptions, samdesired, phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -552,7 +552,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOpenKeyExW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , uloptions : u32 , samdesired : REG_SAM_FLAGS , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOpenKeyExW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , uloptions : u32 , samdesired : REG_SAM_FLAGS , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegOpenKeyExW(hkey.into(), lpsubkey.into().abi(), uloptions, samdesired, phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -564,7 +564,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOpenKeyTransactedA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , uloptions : u32 , samdesired : REG_SAM_FLAGS , phkresult : *mut HKEY , htransaction : super::super::Foundation:: HANDLE , pextendedparemeter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOpenKeyTransactedA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , uloptions : u32 , samdesired : REG_SAM_FLAGS , phkresult : *mut HKEY , htransaction : super::super::Foundation:: HANDLE , pextendedparemeter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); RegOpenKeyTransactedA(hkey.into(), lpsubkey.into().abi(), uloptions, samdesired, phkresult, htransaction.into(), ::core::mem::transmute(pextendedparemeter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -576,7 +576,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOpenKeyTransactedW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , uloptions : u32 , samdesired : REG_SAM_FLAGS , phkresult : *mut HKEY , htransaction : super::super::Foundation:: HANDLE , pextendedparemeter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOpenKeyTransactedW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , uloptions : u32 , samdesired : REG_SAM_FLAGS , phkresult : *mut HKEY , htransaction : super::super::Foundation:: HANDLE , pextendedparemeter : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); RegOpenKeyTransactedW(hkey.into(), lpsubkey.into().abi(), uloptions, samdesired, phkresult, htransaction.into(), ::core::mem::transmute(pextendedparemeter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -587,7 +587,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOpenKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOpenKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegOpenKeyW(hkey.into(), lpsubkey.into().abi(), phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -597,7 +597,7 @@ pub unsafe fn RegOpenUserClassesRoot(htoken: P0, dwoptions: u32, samdesired: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOpenUserClassesRoot ( htoken : super::super::Foundation:: HANDLE , dwoptions : u32 , samdesired : u32 , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOpenUserClassesRoot ( htoken : super::super::Foundation:: HANDLE , dwoptions : u32 , samdesired : u32 , phkresult : *mut HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegOpenUserClassesRoot(htoken.into(), dwoptions, samdesired, phkresult) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -608,7 +608,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegOverridePredefKey ( hkey : HKEY , hnewhkey : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegOverridePredefKey ( hkey : HKEY , hnewhkey : HKEY ) -> super::super::Foundation:: WIN32_ERROR ); RegOverridePredefKey(hkey.into(), hnewhkey.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -618,7 +618,7 @@ pub unsafe fn RegQueryInfoKeyA(hkey: P0, lpclass: ::windows::core::PSTR, lpc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryInfoKeyA ( hkey : HKEY , lpclass : :: windows::core::PSTR , lpcchclass : *mut u32 , lpreserved : *const u32 , lpcsubkeys : *mut u32 , lpcbmaxsubkeylen : *mut u32 , lpcbmaxclasslen : *mut u32 , lpcvalues : *mut u32 , lpcbmaxvaluenamelen : *mut u32 , lpcbmaxvaluelen : *mut u32 , lpcbsecuritydescriptor : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryInfoKeyA ( hkey : HKEY , lpclass : :: windows::core::PSTR , lpcchclass : *mut u32 , lpreserved : *const u32 , lpcsubkeys : *mut u32 , lpcbmaxsubkeylen : *mut u32 , lpcbmaxclasslen : *mut u32 , lpcvalues : *mut u32 , lpcbmaxvaluenamelen : *mut u32 , lpcbmaxvaluelen : *mut u32 , lpcbsecuritydescriptor : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryInfoKeyA( hkey.into(), ::core::mem::transmute(lpclass), @@ -641,7 +641,7 @@ pub unsafe fn RegQueryInfoKeyW(hkey: P0, lpclass: ::windows::core::PWSTR, lp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryInfoKeyW ( hkey : HKEY , lpclass : :: windows::core::PWSTR , lpcchclass : *mut u32 , lpreserved : *const u32 , lpcsubkeys : *mut u32 , lpcbmaxsubkeylen : *mut u32 , lpcbmaxclasslen : *mut u32 , lpcvalues : *mut u32 , lpcbmaxvaluenamelen : *mut u32 , lpcbmaxvaluelen : *mut u32 , lpcbsecuritydescriptor : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryInfoKeyW ( hkey : HKEY , lpclass : :: windows::core::PWSTR , lpcchclass : *mut u32 , lpreserved : *const u32 , lpcsubkeys : *mut u32 , lpcbmaxsubkeylen : *mut u32 , lpcbmaxclasslen : *mut u32 , lpcvalues : *mut u32 , lpcbmaxvaluenamelen : *mut u32 , lpcbmaxvaluelen : *mut u32 , lpcbsecuritydescriptor : *mut u32 , lpftlastwritetime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryInfoKeyW( hkey.into(), ::core::mem::transmute(lpclass), @@ -664,7 +664,7 @@ pub unsafe fn RegQueryMultipleValuesA(hkey: P0, val_list: &mut [VALENTA], lp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryMultipleValuesA ( hkey : HKEY , val_list : *mut VALENTA , num_vals : u32 , lpvaluebuf : :: windows::core::PSTR , ldwtotsize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryMultipleValuesA ( hkey : HKEY , val_list : *mut VALENTA , num_vals : u32 , lpvaluebuf : :: windows::core::PSTR , ldwtotsize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryMultipleValuesA(hkey.into(), ::core::mem::transmute(val_list.as_ptr()), val_list.len() as _, ::core::mem::transmute(lpvaluebuf), ::core::mem::transmute(ldwtotsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -674,7 +674,7 @@ pub unsafe fn RegQueryMultipleValuesW(hkey: P0, val_list: &mut [VALENTW], lp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryMultipleValuesW ( hkey : HKEY , val_list : *mut VALENTW , num_vals : u32 , lpvaluebuf : :: windows::core::PWSTR , ldwtotsize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryMultipleValuesW ( hkey : HKEY , val_list : *mut VALENTW , num_vals : u32 , lpvaluebuf : :: windows::core::PWSTR , ldwtotsize : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryMultipleValuesW(hkey.into(), ::core::mem::transmute(val_list.as_ptr()), val_list.len() as _, ::core::mem::transmute(lpvaluebuf), ::core::mem::transmute(ldwtotsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -684,7 +684,7 @@ pub unsafe fn RegQueryReflectionKey(hbase: P0, bisreflectiondisabled: *mut s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryReflectionKey ( hbase : HKEY , bisreflectiondisabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryReflectionKey ( hbase : HKEY , bisreflectiondisabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryReflectionKey(hbase.into(), bisreflectiondisabled) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -695,7 +695,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpdata : :: windows::core::PSTR , lpcbdata : *mut i32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpdata : :: windows::core::PSTR , lpcbdata : *mut i32 ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryValueA(hkey.into(), lpsubkey.into().abi(), ::core::mem::transmute(lpdata), ::core::mem::transmute(lpcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -706,7 +706,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryValueExA ( hkey : HKEY , lpvaluename : :: windows::core::PCSTR , lpreserved : *const u32 , lptype : *mut REG_VALUE_TYPE , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryValueExA ( hkey : HKEY , lpvaluename : :: windows::core::PCSTR , lpreserved : *const u32 , lptype : *mut REG_VALUE_TYPE , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryValueExA(hkey.into(), lpvaluename.into().abi(), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -717,7 +717,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryValueExW ( hkey : HKEY , lpvaluename : :: windows::core::PCWSTR , lpreserved : *const u32 , lptype : *mut REG_VALUE_TYPE , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryValueExW ( hkey : HKEY , lpvaluename : :: windows::core::PCWSTR , lpreserved : *const u32 , lptype : *mut REG_VALUE_TYPE , lpdata : *mut u8 , lpcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryValueExW(hkey.into(), lpvaluename.into().abi(), ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -728,7 +728,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegQueryValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpdata : :: windows::core::PWSTR , lpcbdata : *mut i32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegQueryValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpdata : :: windows::core::PWSTR , lpcbdata : *mut i32 ) -> super::super::Foundation:: WIN32_ERROR ); RegQueryValueW(hkey.into(), lpsubkey.into().abi(), ::core::mem::transmute(lpdata), ::core::mem::transmute(lpcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -740,7 +740,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegRenameKey ( hkey : HKEY , lpsubkeyname : :: windows::core::PCWSTR , lpnewkeyname : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegRenameKey ( hkey : HKEY , lpsubkeyname : :: windows::core::PCWSTR , lpnewkeyname : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegRenameKey(hkey.into(), lpsubkeyname.into().abi(), lpnewkeyname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -753,7 +753,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegReplaceKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpnewfile : :: windows::core::PCSTR , lpoldfile : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegReplaceKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpnewfile : :: windows::core::PCSTR , lpoldfile : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegReplaceKeyA(hkey.into(), lpsubkey.into().abi(), lpnewfile.into().abi(), lpoldfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -766,7 +766,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegReplaceKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpnewfile : :: windows::core::PCWSTR , lpoldfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegReplaceKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpnewfile : :: windows::core::PCWSTR , lpoldfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegReplaceKeyW(hkey.into(), lpsubkey.into().abi(), lpnewfile.into().abi(), lpoldfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -777,7 +777,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegRestoreKeyA ( hkey : HKEY , lpfile : :: windows::core::PCSTR , dwflags : REG_RESTORE_KEY_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegRestoreKeyA ( hkey : HKEY , lpfile : :: windows::core::PCSTR , dwflags : REG_RESTORE_KEY_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); RegRestoreKeyA(hkey.into(), lpfile.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -788,7 +788,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegRestoreKeyW ( hkey : HKEY , lpfile : :: windows::core::PCWSTR , dwflags : REG_RESTORE_KEY_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegRestoreKeyW ( hkey : HKEY , lpfile : :: windows::core::PCWSTR , dwflags : REG_RESTORE_KEY_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); RegRestoreKeyW(hkey.into(), lpfile.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -799,7 +799,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSaveKeyA ( hkey : HKEY , lpfile : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSaveKeyA ( hkey : HKEY , lpfile : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: WIN32_ERROR ); RegSaveKeyA(hkey.into(), lpfile.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -810,7 +810,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSaveKeyExA ( hkey : HKEY , lpfile : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flags : REG_SAVE_FORMAT ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSaveKeyExA ( hkey : HKEY , lpfile : :: windows::core::PCSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flags : REG_SAVE_FORMAT ) -> super::super::Foundation:: WIN32_ERROR ); RegSaveKeyExA(hkey.into(), lpfile.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -821,7 +821,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSaveKeyExW ( hkey : HKEY , lpfile : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flags : REG_SAVE_FORMAT ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSaveKeyExW ( hkey : HKEY , lpfile : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , flags : REG_SAVE_FORMAT ) -> super::super::Foundation:: WIN32_ERROR ); RegSaveKeyExW(hkey.into(), lpfile.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -832,7 +832,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSaveKeyW ( hkey : HKEY , lpfile : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSaveKeyW ( hkey : HKEY , lpfile : :: windows::core::PCWSTR , lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: WIN32_ERROR ); RegSaveKeyW(hkey.into(), lpfile.into().abi(), ::core::mem::transmute(lpsecurityattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -843,7 +843,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSetKeySecurity ( hkey : HKEY , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSetKeySecurity ( hkey : HKEY , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); RegSetKeySecurity(hkey.into(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -855,7 +855,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSetKeyValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpvaluename : :: windows::core::PCSTR , dwtype : u32 , lpdata : *const ::core::ffi::c_void , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSetKeyValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , lpvaluename : :: windows::core::PCSTR , dwtype : u32 , lpdata : *const ::core::ffi::c_void , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegSetKeyValueA(hkey.into(), lpsubkey.into().abi(), lpvaluename.into().abi(), dwtype, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), cbdata) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -867,7 +867,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSetKeyValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpvaluename : :: windows::core::PCWSTR , dwtype : u32 , lpdata : *const ::core::ffi::c_void , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSetKeyValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , lpvaluename : :: windows::core::PCWSTR , dwtype : u32 , lpdata : *const ::core::ffi::c_void , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegSetKeyValueW(hkey.into(), lpsubkey.into().abi(), lpvaluename.into().abi(), dwtype, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), cbdata) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -878,7 +878,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSetValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , dwtype : REG_VALUE_TYPE , lpdata : :: windows::core::PCSTR , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSetValueA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR , dwtype : REG_VALUE_TYPE , lpdata : :: windows::core::PCSTR , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegSetValueA(hkey.into(), lpsubkey.into().abi(), dwtype, ::core::mem::transmute(lpdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -889,7 +889,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSetValueExA ( hkey : HKEY , lpvaluename : :: windows::core::PCSTR , reserved : u32 , dwtype : REG_VALUE_TYPE , lpdata : *const u8 , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSetValueExA ( hkey : HKEY , lpvaluename : :: windows::core::PCSTR , reserved : u32 , dwtype : REG_VALUE_TYPE , lpdata : *const u8 , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegSetValueExA(hkey.into(), lpvaluename.into().abi(), reserved, dwtype, ::core::mem::transmute(lpdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -900,7 +900,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSetValueExW ( hkey : HKEY , lpvaluename : :: windows::core::PCWSTR , reserved : u32 , dwtype : REG_VALUE_TYPE , lpdata : *const u8 , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSetValueExW ( hkey : HKEY , lpvaluename : :: windows::core::PCWSTR , reserved : u32 , dwtype : REG_VALUE_TYPE , lpdata : *const u8 , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegSetValueExW(hkey.into(), lpvaluename.into().abi(), reserved, dwtype, ::core::mem::transmute(lpdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpdata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -912,7 +912,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegSetValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , dwtype : REG_VALUE_TYPE , lpdata : :: windows::core::PCWSTR , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegSetValueW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR , dwtype : REG_VALUE_TYPE , lpdata : :: windows::core::PCWSTR , cbdata : u32 ) -> super::super::Foundation:: WIN32_ERROR ); RegSetValueW(hkey.into(), lpsubkey.into().abi(), dwtype, lpdata.into().abi(), cbdata) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -923,7 +923,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegUnLoadKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegUnLoadKeyA ( hkey : HKEY , lpsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegUnLoadKeyA(hkey.into(), lpsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -934,7 +934,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegUnLoadKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegUnLoadKeyW ( hkey : HKEY , lpsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); RegUnLoadKeyW(hkey.into(), lpsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_System_Registry\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs index 6c7634a6b9..279111dbe6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs @@ -5,7 +5,7 @@ pub struct DRendezvousSessionEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DRendezvousSessionEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DRendezvousSessionEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(DRendezvousSessionEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DRendezvousSessionEvents { fn eq(&self, other: &Self) -> bool { @@ -51,7 +51,7 @@ impl IRendezvousApplication { (::windows::core::Vtable::vtable(self).SetRendezvousSession)(::windows::core::Vtable::as_raw(self), prendezvoussession.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRendezvousApplication, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRendezvousApplication, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRendezvousApplication { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -103,7 +103,7 @@ impl IRendezvousSession { (::windows::core::Vtable::vtable(self).Terminate)(::windows::core::Vtable::as_raw(self), hr, ::core::mem::transmute_copy(bstrappdata)).ok() } } -::windows::core::interface_hierarchy!(IRendezvousSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRendezvousSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRendezvousSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 e403a57d74..9268db2671 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ProcessIdToSessionId(dwprocessid: u32, psessionid: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn ProcessIdToSessionId ( dwprocessid : u32 , psessionid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ProcessIdToSessionId ( dwprocessid : u32 , psessionid : *mut u32 ) -> super::super::Foundation:: BOOL ); ProcessIdToSessionId(dwprocessid, psessionid) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -12,7 +12,7 @@ pub unsafe fn WTSCloseServer(hserver: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSCloseServer ( hserver : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSCloseServer ( hserver : super::super::Foundation:: HANDLE ) -> ( ) ); WTSCloseServer(hserver.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -23,7 +23,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSConnectSessionA ( logonid : u32 , targetlogonid : u32 , ppassword : :: windows::core::PCSTR , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSConnectSessionA ( logonid : u32 , targetlogonid : u32 , ppassword : :: windows::core::PCSTR , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WTSConnectSessionA(logonid, targetlogonid, ppassword.into().abi(), bwait.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -34,7 +34,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSConnectSessionW ( logonid : u32 , targetlogonid : u32 , ppassword : :: windows::core::PCWSTR , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSConnectSessionW ( logonid : u32 , targetlogonid : u32 , ppassword : :: windows::core::PCWSTR , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WTSConnectSessionW(logonid, targetlogonid, ppassword.into().abi(), bwait.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -45,7 +45,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSCreateListenerA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCSTR , pbuffer : *const WTSLISTENERCONFIGA , flag : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSCreateListenerA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCSTR , pbuffer : *const WTSLISTENERCONFIGA , flag : u32 ) -> super::super::Foundation:: BOOL ); WTSCreateListenerA(hserver.into(), preserved, reserved, plistenername.into().abi(), pbuffer, flag) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -56,7 +56,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSCreateListenerW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCWSTR , pbuffer : *const WTSLISTENERCONFIGW , flag : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSCreateListenerW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCWSTR , pbuffer : *const WTSLISTENERCONFIGW , flag : u32 ) -> super::super::Foundation:: BOOL ); WTSCreateListenerW(hserver.into(), preserved, reserved, plistenername.into().abi(), pbuffer, flag) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -67,7 +67,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSDisconnectSession ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSDisconnectSession ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WTSDisconnectSession(hserver.into(), sessionid, bwait.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -77,7 +77,7 @@ pub unsafe fn WTSEnableChildSessions(benable: P0) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnableChildSessions ( benable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnableChildSessions ( benable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WTSEnableChildSessions(benable.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn WTSEnumerateListenersA(hserver: P0, preserved: *const ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateListenersA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plisteners : *mut *mut i8 , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateListenersA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plisteners : *mut *mut i8 , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateListenersA(hserver.into(), preserved, reserved, ::core::mem::transmute(plisteners.unwrap_or(::std::ptr::null_mut())), pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -97,7 +97,7 @@ pub unsafe fn WTSEnumerateListenersW(hserver: P0, preserved: *const ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateListenersW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plisteners : *mut *mut u16 , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateListenersW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plisteners : *mut *mut u16 , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateListenersW(hserver.into(), preserved, reserved, ::core::mem::transmute(plisteners.unwrap_or(::std::ptr::null_mut())), pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -107,7 +107,7 @@ pub unsafe fn WTSEnumerateProcessesA(hserver: P0, reserved: u32, version: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateProcessesA ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppprocessinfo : *mut *mut WTS_PROCESS_INFOA , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateProcessesA ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppprocessinfo : *mut *mut WTS_PROCESS_INFOA , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateProcessesA(hserver.into(), reserved, version, ppprocessinfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn WTSEnumerateProcessesExA(hserver: P0, plevel: *mut u32, sessio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateProcessesExA ( hserver : super::super::Foundation:: HANDLE , plevel : *mut u32 , sessionid : u32 , ppprocessinfo : *mut :: windows::core::PSTR , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateProcessesExA ( hserver : super::super::Foundation:: HANDLE , plevel : *mut u32 , sessionid : u32 , ppprocessinfo : *mut :: windows::core::PSTR , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateProcessesExA(hserver.into(), plevel, sessionid, ppprocessinfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -127,7 +127,7 @@ pub unsafe fn WTSEnumerateProcessesExW(hserver: P0, plevel: *mut u32, sessio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateProcessesExW ( hserver : super::super::Foundation:: HANDLE , plevel : *mut u32 , sessionid : u32 , ppprocessinfo : *mut :: windows::core::PWSTR , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateProcessesExW ( hserver : super::super::Foundation:: HANDLE , plevel : *mut u32 , sessionid : u32 , ppprocessinfo : *mut :: windows::core::PWSTR , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateProcessesExW(hserver.into(), plevel, sessionid, ppprocessinfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -137,7 +137,7 @@ pub unsafe fn WTSEnumerateProcessesW(hserver: P0, reserved: u32, version: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateProcessesW ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppprocessinfo : *mut *mut WTS_PROCESS_INFOW , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateProcessesW ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppprocessinfo : *mut *mut WTS_PROCESS_INFOW , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateProcessesW(hserver.into(), reserved, version, ppprocessinfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -147,7 +147,7 @@ pub unsafe fn WTSEnumerateServersA(pdomainname: P0, reserved: u32, version: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateServersA ( pdomainname : :: windows::core::PCSTR , reserved : u32 , version : u32 , ppserverinfo : *mut *mut WTS_SERVER_INFOA , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateServersA ( pdomainname : :: windows::core::PCSTR , reserved : u32 , version : u32 , ppserverinfo : *mut *mut WTS_SERVER_INFOA , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateServersA(pdomainname.into().abi(), reserved, version, ppserverinfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -157,7 +157,7 @@ pub unsafe fn WTSEnumerateServersW(pdomainname: P0, reserved: u32, version: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateServersW ( pdomainname : :: windows::core::PCWSTR , reserved : u32 , version : u32 , ppserverinfo : *mut *mut WTS_SERVER_INFOW , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateServersW ( pdomainname : :: windows::core::PCWSTR , reserved : u32 , version : u32 , ppserverinfo : *mut *mut WTS_SERVER_INFOW , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateServersW(pdomainname.into().abi(), reserved, version, ppserverinfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -167,7 +167,7 @@ pub unsafe fn WTSEnumerateSessionsA(hserver: P0, reserved: u32, version: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateSessionsA ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppsessioninfo : *mut *mut WTS_SESSION_INFOA , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateSessionsA ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppsessioninfo : *mut *mut WTS_SESSION_INFOA , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateSessionsA(hserver.into(), reserved, version, ppsessioninfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -177,7 +177,7 @@ pub unsafe fn WTSEnumerateSessionsExA(hserver: P0, plevel: *mut u32, filter: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateSessionsExA ( hserver : super::super::Foundation:: HANDLE , plevel : *mut u32 , filter : u32 , ppsessioninfo : *mut *mut WTS_SESSION_INFO_1A , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateSessionsExA ( hserver : super::super::Foundation:: HANDLE , plevel : *mut u32 , filter : u32 , ppsessioninfo : *mut *mut WTS_SESSION_INFO_1A , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateSessionsExA(hserver.into(), plevel, filter, ppsessioninfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -187,7 +187,7 @@ pub unsafe fn WTSEnumerateSessionsExW(hserver: P0, plevel: *mut u32, filter: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateSessionsExW ( hserver : super::super::Foundation:: HANDLE , plevel : *mut u32 , filter : u32 , ppsessioninfo : *mut *mut WTS_SESSION_INFO_1W , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateSessionsExW ( hserver : super::super::Foundation:: HANDLE , plevel : *mut u32 , filter : u32 , ppsessioninfo : *mut *mut WTS_SESSION_INFO_1W , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateSessionsExW(hserver.into(), plevel, filter, ppsessioninfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -197,40 +197,40 @@ pub unsafe fn WTSEnumerateSessionsW(hserver: P0, reserved: u32, version: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSEnumerateSessionsW ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppsessioninfo : *mut *mut WTS_SESSION_INFOW , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSEnumerateSessionsW ( hserver : super::super::Foundation:: HANDLE , reserved : u32 , version : u32 , ppsessioninfo : *mut *mut WTS_SESSION_INFOW , pcount : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSEnumerateSessionsW(hserver.into(), reserved, version, ppsessioninfo, pcount) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[inline] pub unsafe fn WTSFreeMemory(pmemory: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSFreeMemory ( pmemory : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSFreeMemory ( pmemory : *mut ::core::ffi::c_void ) -> ( ) ); WTSFreeMemory(pmemory) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WTSFreeMemoryExA(wtstypeclass: WTS_TYPE_CLASS, pmemory: *const ::core::ffi::c_void, numberofentries: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSFreeMemoryExA ( wtstypeclass : WTS_TYPE_CLASS , pmemory : *const ::core::ffi::c_void , numberofentries : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSFreeMemoryExA ( wtstypeclass : WTS_TYPE_CLASS , pmemory : *const ::core::ffi::c_void , numberofentries : u32 ) -> super::super::Foundation:: BOOL ); WTSFreeMemoryExA(wtstypeclass, pmemory, numberofentries) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WTSFreeMemoryExW(wtstypeclass: WTS_TYPE_CLASS, pmemory: *const ::core::ffi::c_void, numberofentries: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSFreeMemoryExW ( wtstypeclass : WTS_TYPE_CLASS , pmemory : *const ::core::ffi::c_void , numberofentries : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSFreeMemoryExW ( wtstypeclass : WTS_TYPE_CLASS , pmemory : *const ::core::ffi::c_void , numberofentries : u32 ) -> super::super::Foundation:: BOOL ); WTSFreeMemoryExW(wtstypeclass, pmemory, numberofentries) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[inline] pub unsafe fn WTSGetActiveConsoleSessionId() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn WTSGetActiveConsoleSessionId ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WTSGetActiveConsoleSessionId ( ) -> u32 ); WTSGetActiveConsoleSessionId() } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WTSGetChildSessionId(psessionid: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSGetChildSessionId ( psessionid : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSGetChildSessionId ( psessionid : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSGetChildSessionId(psessionid) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -241,7 +241,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSGetListenerSecurityA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSGetListenerSecurityA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSGetListenerSecurityA(hserver.into(), preserved, reserved, plistenername.into().abi(), securityinformation, psecuritydescriptor, nlength, lpnlengthneeded) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -252,14 +252,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSGetListenerSecurityW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSGetListenerSecurityW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSGetListenerSecurityW(hserver.into(), preserved, reserved, plistenername.into().abi(), securityinformation, psecuritydescriptor, nlength, lpnlengthneeded) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WTSIsChildSessionsEnabled(pbenabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSIsChildSessionsEnabled ( pbenabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSIsChildSessionsEnabled ( pbenabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WTSIsChildSessionsEnabled(pbenabled) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -270,7 +270,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSLogoffSession ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSLogoffSession ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WTSLogoffSession(hserver.into(), sessionid, bwait.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -280,7 +280,7 @@ pub unsafe fn WTSOpenServerA(pservername: P0) -> super::super::Foundation::H where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSOpenServerA ( pservername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSOpenServerA ( pservername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); WTSOpenServerA(pservername.into().abi()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -290,7 +290,7 @@ pub unsafe fn WTSOpenServerExA(pservername: P0) -> super::super::Foundation: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSOpenServerExA ( pservername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSOpenServerExA ( pservername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); WTSOpenServerExA(pservername.into().abi()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -300,7 +300,7 @@ pub unsafe fn WTSOpenServerExW(pservername: P0) -> super::super::Foundation: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSOpenServerExW ( pservername : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSOpenServerExW ( pservername : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); WTSOpenServerExW(pservername.into().abi()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -310,7 +310,7 @@ pub unsafe fn WTSOpenServerW(pservername: P0) -> super::super::Foundation::H where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSOpenServerW ( pservername : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSOpenServerW ( pservername : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); WTSOpenServerW(pservername.into().abi()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -321,7 +321,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSQueryListenerConfigA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCSTR , pbuffer : *mut WTSLISTENERCONFIGA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSQueryListenerConfigA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCSTR , pbuffer : *mut WTSLISTENERCONFIGA ) -> super::super::Foundation:: BOOL ); WTSQueryListenerConfigA(hserver.into(), preserved, reserved, plistenername.into().abi(), pbuffer) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -332,7 +332,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSQueryListenerConfigW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCWSTR , pbuffer : *mut WTSLISTENERCONFIGW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSQueryListenerConfigW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCWSTR , pbuffer : *mut WTSLISTENERCONFIGW ) -> super::super::Foundation:: BOOL ); WTSQueryListenerConfigW(hserver.into(), preserved, reserved, plistenername.into().abi(), pbuffer) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -342,7 +342,7 @@ pub unsafe fn WTSQuerySessionInformationA(hserver: P0, sessionid: u32, wtsin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSQuerySessionInformationA ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : *mut :: windows::core::PSTR , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSQuerySessionInformationA ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : *mut :: windows::core::PSTR , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSQuerySessionInformationA(hserver.into(), sessionid, wtsinfoclass, ppbuffer, pbytesreturned) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -352,7 +352,7 @@ pub unsafe fn WTSQuerySessionInformationW(hserver: P0, sessionid: u32, wtsin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSQuerySessionInformationW ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : *mut :: windows::core::PWSTR , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSQuerySessionInformationW ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , wtsinfoclass : WTS_INFO_CLASS , ppbuffer : *mut :: windows::core::PWSTR , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSQuerySessionInformationW(hserver.into(), sessionid, wtsinfoclass, ppbuffer, pbytesreturned) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -363,7 +363,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSQueryUserConfigA ( pservername : :: windows::core::PCSTR , pusername : :: windows::core::PCSTR , wtsconfigclass : WTS_CONFIG_CLASS , ppbuffer : *mut :: windows::core::PSTR , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSQueryUserConfigA ( pservername : :: windows::core::PCSTR , pusername : :: windows::core::PCSTR , wtsconfigclass : WTS_CONFIG_CLASS , ppbuffer : *mut :: windows::core::PSTR , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSQueryUserConfigA(pservername.into().abi(), pusername.into().abi(), wtsconfigclass, ppbuffer, pbytesreturned) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -374,14 +374,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSQueryUserConfigW ( pservername : :: windows::core::PCWSTR , pusername : :: windows::core::PCWSTR , wtsconfigclass : WTS_CONFIG_CLASS , ppbuffer : *mut :: windows::core::PWSTR , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSQueryUserConfigW ( pservername : :: windows::core::PCWSTR , pusername : :: windows::core::PCWSTR , wtsconfigclass : WTS_CONFIG_CLASS , ppbuffer : *mut :: windows::core::PWSTR , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSQueryUserConfigW(pservername.into().abi(), pusername.into().abi(), wtsconfigclass, ppbuffer, pbytesreturned) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WTSQueryUserToken(sessionid: u32, phtoken: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSQueryUserToken ( sessionid : u32 , phtoken : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSQueryUserToken ( sessionid : u32 , phtoken : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); WTSQueryUserToken(sessionid, phtoken) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -391,7 +391,7 @@ pub unsafe fn WTSRegisterSessionNotification(hwnd: P0, dwflags: u32) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSRegisterSessionNotification ( hwnd : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSRegisterSessionNotification ( hwnd : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); WTSRegisterSessionNotification(hwnd.into(), dwflags) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -402,7 +402,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSRegisterSessionNotificationEx ( hserver : super::super::Foundation:: HANDLE , hwnd : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSRegisterSessionNotificationEx ( hserver : super::super::Foundation:: HANDLE , hwnd : super::super::Foundation:: HWND , dwflags : u32 ) -> super::super::Foundation:: BOOL ); WTSRegisterSessionNotificationEx(hserver.into(), hwnd.into(), dwflags) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -413,7 +413,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSSendMessageA ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , ptitle : :: windows::core::PCSTR , titlelength : u32 , pmessage : :: windows::core::PCSTR , messagelength : u32 , style : super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE , timeout : u32 , presponse : *mut super::super::UI::WindowsAndMessaging:: MESSAGEBOX_RESULT , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSSendMessageA ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , ptitle : :: windows::core::PCSTR , titlelength : u32 , pmessage : :: windows::core::PCSTR , messagelength : u32 , style : super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE , timeout : u32 , presponse : *mut super::super::UI::WindowsAndMessaging:: MESSAGEBOX_RESULT , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WTSSendMessageA(hserver.into(), sessionid, ::core::mem::transmute(ptitle.as_ptr()), ptitle.len() as _, ::core::mem::transmute(pmessage.as_ptr()), pmessage.len() as _, style, timeout, presponse, bwait.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -426,7 +426,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSSendMessageW ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , ptitle : :: windows::core::PCWSTR , titlelength : u32 , pmessage : :: windows::core::PCWSTR , messagelength : u32 , style : super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE , timeout : u32 , presponse : *mut super::super::UI::WindowsAndMessaging:: MESSAGEBOX_RESULT , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSSendMessageW ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , ptitle : :: windows::core::PCWSTR , titlelength : u32 , pmessage : :: windows::core::PCWSTR , messagelength : u32 , style : super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE , timeout : u32 , presponse : *mut super::super::UI::WindowsAndMessaging:: MESSAGEBOX_RESULT , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WTSSendMessageW(hserver.into(), sessionid, ptitle.into().abi(), titlelength, pmessage.into().abi(), messagelength, style, timeout, presponse, bwait.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -438,7 +438,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSSetListenerSecurityA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSSetListenerSecurityA ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: BOOL ); WTSSetListenerSecurityA(hserver.into(), preserved, reserved, plistenername.into().abi(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -450,7 +450,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSSetListenerSecurityW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSSetListenerSecurityW ( hserver : super::super::Foundation:: HANDLE , preserved : *const ::core::ffi::c_void , reserved : u32 , plistenername : :: windows::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: BOOL ); WTSSetListenerSecurityW(hserver.into(), preserved, reserved, plistenername.into().abi(), securityinformation, psecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -460,7 +460,7 @@ pub unsafe fn WTSSetRenderHint(prenderhintid: *mut u64, hwndowner: P0, rende where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSSetRenderHint ( prenderhintid : *mut u64 , hwndowner : super::super::Foundation:: HWND , renderhinttype : u32 , cbhintdatalength : u32 , phintdata : *const u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSSetRenderHint ( prenderhintid : *mut u64 , hwndowner : super::super::Foundation:: HWND , renderhinttype : u32 , cbhintdatalength : u32 , phintdata : *const u8 ) -> :: windows::core::HRESULT ); WTSSetRenderHint(prenderhintid, hwndowner.into(), renderhinttype, phintdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(phintdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -471,7 +471,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSSetUserConfigA ( pservername : :: windows::core::PCSTR , pusername : :: windows::core::PCSTR , wtsconfigclass : WTS_CONFIG_CLASS , pbuffer : :: windows::core::PCSTR , datalength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSSetUserConfigA ( pservername : :: windows::core::PCSTR , pusername : :: windows::core::PCSTR , wtsconfigclass : WTS_CONFIG_CLASS , pbuffer : :: windows::core::PCSTR , datalength : u32 ) -> super::super::Foundation:: BOOL ); WTSSetUserConfigA(pservername.into().abi(), pusername.into().abi(), wtsconfigclass, ::core::mem::transmute(pbuffer.as_ptr()), pbuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -483,7 +483,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSSetUserConfigW ( pservername : :: windows::core::PCWSTR , pusername : :: windows::core::PCWSTR , wtsconfigclass : WTS_CONFIG_CLASS , pbuffer : :: windows::core::PCWSTR , datalength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSSetUserConfigW ( pservername : :: windows::core::PCWSTR , pusername : :: windows::core::PCWSTR , wtsconfigclass : WTS_CONFIG_CLASS , pbuffer : :: windows::core::PCWSTR , datalength : u32 ) -> super::super::Foundation:: BOOL ); WTSSetUserConfigW(pservername.into().abi(), pusername.into().abi(), wtsconfigclass, pbuffer.into().abi(), datalength) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -493,7 +493,7 @@ pub unsafe fn WTSShutdownSystem(hserver: P0, shutdownflag: u32) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSShutdownSystem ( hserver : super::super::Foundation:: HANDLE , shutdownflag : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSShutdownSystem ( hserver : super::super::Foundation:: HANDLE , shutdownflag : u32 ) -> super::super::Foundation:: BOOL ); WTSShutdownSystem(hserver.into(), shutdownflag) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -503,7 +503,7 @@ pub unsafe fn WTSStartRemoteControlSessionA(ptargetservername: P0, targetlog where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSStartRemoteControlSessionA ( ptargetservername : :: windows::core::PCSTR , targetlogonid : u32 , hotkeyvk : u8 , hotkeymodifiers : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSStartRemoteControlSessionA ( ptargetservername : :: windows::core::PCSTR , targetlogonid : u32 , hotkeyvk : u8 , hotkeymodifiers : u16 ) -> super::super::Foundation:: BOOL ); WTSStartRemoteControlSessionA(ptargetservername.into().abi(), targetlogonid, hotkeyvk, hotkeymodifiers) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -513,14 +513,14 @@ pub unsafe fn WTSStartRemoteControlSessionW(ptargetservername: P0, targetlog where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSStartRemoteControlSessionW ( ptargetservername : :: windows::core::PCWSTR , targetlogonid : u32 , hotkeyvk : u8 , hotkeymodifiers : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSStartRemoteControlSessionW ( ptargetservername : :: windows::core::PCWSTR , targetlogonid : u32 , hotkeyvk : u8 , hotkeymodifiers : u16 ) -> super::super::Foundation:: BOOL ); WTSStartRemoteControlSessionW(ptargetservername.into().abi(), targetlogonid, hotkeyvk, hotkeymodifiers) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WTSStopRemoteControlSession(logonid: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSStopRemoteControlSession ( logonid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSStopRemoteControlSession ( logonid : u32 ) -> super::super::Foundation:: BOOL ); WTSStopRemoteControlSession(logonid) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -530,7 +530,7 @@ pub unsafe fn WTSTerminateProcess(hserver: P0, processid: u32, exitcode: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSTerminateProcess ( hserver : super::super::Foundation:: HANDLE , processid : u32 , exitcode : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSTerminateProcess ( hserver : super::super::Foundation:: HANDLE , processid : u32 , exitcode : u32 ) -> super::super::Foundation:: BOOL ); WTSTerminateProcess(hserver.into(), processid, exitcode) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -540,7 +540,7 @@ pub unsafe fn WTSUnRegisterSessionNotification(hwnd: P0) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSUnRegisterSessionNotification ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSUnRegisterSessionNotification ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); WTSUnRegisterSessionNotification(hwnd.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -551,7 +551,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSUnRegisterSessionNotificationEx ( hserver : super::super::Foundation:: HANDLE , hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSUnRegisterSessionNotificationEx ( hserver : super::super::Foundation:: HANDLE , hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); WTSUnRegisterSessionNotificationEx(hserver.into(), hwnd.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -561,7 +561,7 @@ pub unsafe fn WTSVirtualChannelClose(hchannelhandle: P0) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelClose ( hchannelhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelClose ( hchannelhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); WTSVirtualChannelClose(hchannelhandle.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -572,9 +572,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelOpen ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , pvirtualname : :: windows::core::PCSTR ) -> HwtsVirtualChannelHandle ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelOpen ( hserver : super::super::Foundation:: HANDLE , sessionid : u32 , pvirtualname : :: windows::core::PCSTR ) -> HwtsVirtualChannelHandle ); let result__ = WTSVirtualChannelOpen(hserver.into(), sessionid, pvirtualname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[inline] @@ -582,9 +582,9 @@ pub unsafe fn WTSVirtualChannelOpenEx(sessionid: u32, pvirtualname: P0, flag where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelOpenEx ( sessionid : u32 , pvirtualname : :: windows::core::PCSTR , flags : u32 ) -> HwtsVirtualChannelHandle ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelOpenEx ( sessionid : u32 , pvirtualname : :: windows::core::PCSTR , flags : u32 ) -> HwtsVirtualChannelHandle ); let result__ = WTSVirtualChannelOpenEx(sessionid, pvirtualname.into().abi(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -593,7 +593,7 @@ pub unsafe fn WTSVirtualChannelPurgeInput(hchannelhandle: P0) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelPurgeInput ( hchannelhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelPurgeInput ( hchannelhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); WTSVirtualChannelPurgeInput(hchannelhandle.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -603,7 +603,7 @@ pub unsafe fn WTSVirtualChannelPurgeOutput(hchannelhandle: P0) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelPurgeOutput ( hchannelhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelPurgeOutput ( hchannelhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); WTSVirtualChannelPurgeOutput(hchannelhandle.into()) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -613,7 +613,7 @@ pub unsafe fn WTSVirtualChannelQuery(hchannelhandle: P0, param1: WTS_VIRTUAL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelQuery ( hchannelhandle : super::super::Foundation:: HANDLE , param1 : WTS_VIRTUAL_CLASS , ppbuffer : *mut *mut ::core::ffi::c_void , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelQuery ( hchannelhandle : super::super::Foundation:: HANDLE , param1 : WTS_VIRTUAL_CLASS , ppbuffer : *mut *mut ::core::ffi::c_void , pbytesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSVirtualChannelQuery(hchannelhandle.into(), param1, ppbuffer, pbytesreturned) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -623,7 +623,7 @@ pub unsafe fn WTSVirtualChannelRead(hchannelhandle: P0, timeout: u32, buffer where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelRead ( hchannelhandle : super::super::Foundation:: HANDLE , timeout : u32 , buffer : :: windows::core::PSTR , buffersize : u32 , pbytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelRead ( hchannelhandle : super::super::Foundation:: HANDLE , timeout : u32 , buffer : :: windows::core::PSTR , buffersize : u32 , pbytesread : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSVirtualChannelRead(hchannelhandle.into(), timeout, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, pbytesread) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -633,7 +633,7 @@ pub unsafe fn WTSVirtualChannelWrite(hchannelhandle: P0, buffer: &[u8], pbyt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelWrite ( hchannelhandle : super::super::Foundation:: HANDLE , buffer : :: windows::core::PCSTR , length : u32 , pbyteswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSVirtualChannelWrite ( hchannelhandle : super::super::Foundation:: HANDLE , buffer : :: windows::core::PCSTR , length : u32 , pbyteswritten : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSVirtualChannelWrite(hchannelhandle.into(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, pbyteswritten) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -643,7 +643,7 @@ pub unsafe fn WTSWaitSystemEvent(hserver: P0, eventmask: u32, peventflags: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wtsapi32.dll""system" fn WTSWaitSystemEvent ( hserver : super::super::Foundation:: HANDLE , eventmask : u32 , peventflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "wtsapi32.dll""system" fn WTSWaitSystemEvent ( hserver : super::super::Foundation:: HANDLE , eventmask : u32 , peventflags : *mut u32 ) -> super::super::Foundation:: BOOL ); WTSWaitSystemEvent(hserver.into(), eventmask, peventflags) } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] @@ -759,7 +759,7 @@ impl IADsTSUserEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IADsTSUserEx, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IADsTSUserEx, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IADsTSUserEx { fn eq(&self, other: &Self) -> bool { @@ -847,7 +847,7 @@ impl IAudioDeviceEndpoint { (::windows::core::Vtable::vtable(self).WriteExclusiveModeParametersToSharedMemory)(::windows::core::Vtable::as_raw(self), htargetprocess, hnsperiod, hnsbufferduration, u32latencycoefficient, pu32sharedmemorysize, phsharedmemory).ok() } } -::windows::core::interface_hierarchy!(IAudioDeviceEndpoint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioDeviceEndpoint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioDeviceEndpoint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -915,7 +915,7 @@ impl IAudioEndpoint { (::windows::core::Vtable::vtable(self).SetEventHandle)(::windows::core::Vtable::as_raw(self), eventhandle.into()).ok() } } -::windows::core::interface_hierarchy!(IAudioEndpoint, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpoint, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpoint { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -968,7 +968,7 @@ impl IAudioEndpointControl { (::windows::core::Vtable::vtable(self).Stop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAudioEndpointControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1016,7 +1016,7 @@ impl IAudioEndpointRT { (::windows::core::Vtable::vtable(self).SetPinActive)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAudioEndpointRT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioEndpointRT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioEndpointRT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1064,7 +1064,7 @@ impl IAudioInputEndpointRT { (::windows::core::Vtable::vtable(self).PulseEndpoint)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IAudioInputEndpointRT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioInputEndpointRT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioInputEndpointRT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1114,7 +1114,7 @@ impl IAudioOutputEndpointRT { (::windows::core::Vtable::vtable(self).PulseEndpoint)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IAudioOutputEndpointRT, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAudioOutputEndpointRT, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAudioOutputEndpointRT { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1205,7 +1205,7 @@ impl IRemoteDesktopClient { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRemoteDesktopClient, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRemoteDesktopClient, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRemoteDesktopClient { fn eq(&self, other: &Self) -> bool { @@ -1286,7 +1286,7 @@ impl IRemoteDesktopClientActions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRemoteDesktopClientActions, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRemoteDesktopClientActions, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRemoteDesktopClientActions { fn eq(&self, other: &Self) -> bool { @@ -1351,7 +1351,7 @@ impl IRemoteDesktopClientSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRemoteDesktopClientSettings, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRemoteDesktopClientSettings, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRemoteDesktopClientSettings { fn eq(&self, other: &Self) -> bool { @@ -1439,7 +1439,7 @@ impl IRemoteDesktopClientTouchPointer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRemoteDesktopClientTouchPointer, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRemoteDesktopClientTouchPointer, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRemoteDesktopClientTouchPointer { fn eq(&self, other: &Self) -> bool { @@ -1504,7 +1504,7 @@ impl IRemoteSystemAdditionalInfoProvider { (::windows::core::Vtable::vtable(self).GetAdditionalInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(deduplicationid), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRemoteSystemAdditionalInfoProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRemoteSystemAdditionalInfoProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRemoteSystemAdditionalInfoProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1541,7 +1541,7 @@ impl ITSGAccountingEngine { (::windows::core::Vtable::vtable(self).DoAccounting)(::windows::core::Vtable::as_raw(self), accountingdatatype, ::core::mem::transmute(accountingdata)).ok() } } -::windows::core::interface_hierarchy!(ITSGAccountingEngine, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITSGAccountingEngine, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITSGAccountingEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1592,7 +1592,7 @@ impl ITSGAuthenticateUserSink { (::windows::core::Vtable::vtable(self).DisconnectUser)(::windows::core::Vtable::as_raw(self), context).ok() } } -::windows::core::interface_hierarchy!(ITSGAuthenticateUserSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITSGAuthenticateUserSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITSGAuthenticateUserSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1641,7 +1641,7 @@ impl ITSGAuthenticationEngine { (::windows::core::Vtable::vtable(self).CancelAuthentication)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(mainsessionid), context).ok() } } -::windows::core::interface_hierarchy!(ITSGAuthenticationEngine, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITSGAuthenticationEngine, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITSGAuthenticationEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1679,7 +1679,7 @@ impl ITSGAuthorizeConnectionSink { (::windows::core::Vtable::vtable(self).OnConnectionAuthorized)(::windows::core::Vtable::as_raw(self), hrin, ::core::mem::transmute(mainsessionid), pbsohresponse.len() as _, ::core::mem::transmute(pbsohresponse.as_ptr()), idletimeout, sessiontimeout, sessiontimeoutaction, trustclass, policyattributes).ok() } } -::windows::core::interface_hierarchy!(ITSGAuthorizeConnectionSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITSGAuthorizeConnectionSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITSGAuthorizeConnectionSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1716,7 +1716,7 @@ impl ITSGAuthorizeResourceSink { (::windows::core::Vtable::vtable(self).OnChannelAuthorized)(::windows::core::Vtable::as_raw(self), hrin, ::core::mem::transmute(mainsessionid), subsessionid, ::core::mem::transmute(allowedresourcenames.as_ptr()), allowedresourcenames.len() as _, ::core::mem::transmute(failedresourcenames.as_ptr()), failedresourcenames.len() as _).ok() } } -::windows::core::interface_hierarchy!(ITSGAuthorizeResourceSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITSGAuthorizeResourceSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITSGAuthorizeResourceSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1774,7 +1774,7 @@ impl ITSGPolicyEngine { (::windows::core::Vtable::vtable(self).IsQuarantineEnabled)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITSGPolicyEngine, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITSGPolicyEngine, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITSGPolicyEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1823,7 +1823,7 @@ impl ITsSbBaseNotifySink { (::windows::core::Vtable::vtable(self).OnReportStatus)(::windows::core::Vtable::as_raw(self), messagetype, messageid).ok() } } -::windows::core::interface_hierarchy!(ITsSbBaseNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbBaseNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbBaseNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1924,7 +1924,7 @@ impl ITsSbClientConnection { (::windows::core::Vtable::vtable(self).GetDisconnectedSession)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITsSbClientConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbClientConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbClientConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2004,7 +2004,7 @@ impl ITsSbClientConnectionPropertySet { } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows::core::interface_hierarchy!(ITsSbClientConnectionPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); +::windows::imp::interface_hierarchy!(ITsSbClientConnectionPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for ITsSbClientConnectionPropertySet { fn eq(&self, other: &Self) -> bool { @@ -2066,7 +2066,7 @@ impl ITsSbEnvironment { (::windows::core::Vtable::vtable(self).SetEnvironmentPropertySet)(::windows::core::Vtable::as_raw(self), pval.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITsSbEnvironment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbEnvironment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbEnvironment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2129,7 +2129,7 @@ impl ITsSbEnvironmentPropertySet { } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows::core::interface_hierarchy!(ITsSbEnvironmentPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); +::windows::imp::interface_hierarchy!(ITsSbEnvironmentPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for ITsSbEnvironmentPropertySet { fn eq(&self, other: &Self) -> bool { @@ -2186,7 +2186,7 @@ impl ITsSbFilterPluginStore { (::windows::core::Vtable::vtable(self).DeleteProperties)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(propertyname)).ok() } } -::windows::core::interface_hierarchy!(ITsSbFilterPluginStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbFilterPluginStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbFilterPluginStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2237,7 +2237,7 @@ impl ITsSbGenericNotifySink { (::windows::core::Vtable::vtable(self).GetWaitTimeout)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITsSbGenericNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbGenericNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbGenericNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2302,7 +2302,7 @@ impl ITsSbGlobalStore { (::windows::core::Vtable::vtable(self).GetFarmProperty)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(farmname), ::core::mem::transmute_copy(propertyname), pvarvalue).ok() } } -::windows::core::interface_hierarchy!(ITsSbGlobalStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbGlobalStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbGlobalStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2352,7 +2352,7 @@ impl ITsSbLoadBalanceResult { (::windows::core::Vtable::vtable(self).TargetName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITsSbLoadBalanceResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbLoadBalanceResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbLoadBalanceResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2406,7 +2406,7 @@ impl ITsSbLoadBalancing { (::windows::core::Vtable::vtable(self).GetMostSuitableTarget)(::windows::core::Vtable::as_raw(self), pconnection.into().abi(), plbsink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITsSbLoadBalancing, ::windows::core::IUnknown, ITsSbPlugin); +::windows::imp::interface_hierarchy!(ITsSbLoadBalancing, ::windows::core::IUnknown, ITsSbPlugin); impl ::core::cmp::PartialEq for ITsSbLoadBalancing { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2455,7 +2455,7 @@ impl ITsSbLoadBalancingNotifySink { (::windows::core::Vtable::vtable(self).OnGetMostSuitableTarget)(::windows::core::Vtable::as_raw(self), plbresult.into().abi(), fisnewconnection.into()).ok() } } -::windows::core::interface_hierarchy!(ITsSbLoadBalancingNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); +::windows::imp::interface_hierarchy!(ITsSbLoadBalancingNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); impl ::core::cmp::PartialEq for ITsSbLoadBalancingNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2512,7 +2512,7 @@ impl ITsSbOrchestration { (::windows::core::Vtable::vtable(self).PrepareTargetForConnect)(::windows::core::Vtable::as_raw(self), pconnection.into().abi(), porchestrationnotifysink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITsSbOrchestration, ::windows::core::IUnknown, ITsSbPlugin); +::windows::imp::interface_hierarchy!(ITsSbOrchestration, ::windows::core::IUnknown, ITsSbPlugin); impl ::core::cmp::PartialEq for ITsSbOrchestration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2558,7 +2558,7 @@ impl ITsSbOrchestrationNotifySink { (::windows::core::Vtable::vtable(self).OnReadyToConnect)(::windows::core::Vtable::as_raw(self), ptarget.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITsSbOrchestrationNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); +::windows::imp::interface_hierarchy!(ITsSbOrchestrationNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); impl ::core::cmp::PartialEq for ITsSbOrchestrationNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2612,7 +2612,7 @@ impl ITsSbPlacement { (::windows::core::Vtable::vtable(self).QueryEnvironmentForTarget)(::windows::core::Vtable::as_raw(self), pconnection.into().abi(), pplacementsink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITsSbPlacement, ::windows::core::IUnknown, ITsSbPlugin); +::windows::imp::interface_hierarchy!(ITsSbPlacement, ::windows::core::IUnknown, ITsSbPlugin); impl ::core::cmp::PartialEq for ITsSbPlacement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2658,7 +2658,7 @@ impl ITsSbPlacementNotifySink { (::windows::core::Vtable::vtable(self).OnQueryEnvironmentCompleted)(::windows::core::Vtable::as_raw(self), penvironment.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITsSbPlacementNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); +::windows::imp::interface_hierarchy!(ITsSbPlacementNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); impl ::core::cmp::PartialEq for ITsSbPlacementNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2705,7 +2705,7 @@ impl ITsSbPlugin { (::windows::core::Vtable::vtable(self).Terminate)(::windows::core::Vtable::as_raw(self), hr).ok() } } -::windows::core::interface_hierarchy!(ITsSbPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2755,7 +2755,7 @@ impl ITsSbPluginNotifySink { (::windows::core::Vtable::vtable(self).OnTerminated)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITsSbPluginNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); +::windows::imp::interface_hierarchy!(ITsSbPluginNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); impl ::core::cmp::PartialEq for ITsSbPluginNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2810,7 +2810,7 @@ impl ITsSbPluginPropertySet { } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows::core::interface_hierarchy!(ITsSbPluginPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); +::windows::imp::interface_hierarchy!(ITsSbPluginPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for ITsSbPluginPropertySet { fn eq(&self, other: &Self) -> bool { @@ -2870,7 +2870,7 @@ impl ITsSbPropertySet { } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows::core::interface_hierarchy!(ITsSbPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag); +::windows::imp::interface_hierarchy!(ITsSbPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for ITsSbPropertySet { fn eq(&self, other: &Self) -> bool { @@ -2965,7 +2965,7 @@ impl ITsSbProvider { (::windows::core::Vtable::vtable(self).CreateEnvironmentPropertySetObject)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITsSbProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3053,7 +3053,7 @@ impl ITsSbProvisioning { (::windows::core::Vtable::vtable(self).CancelJob)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(jobguid)).ok() } } -::windows::core::interface_hierarchy!(ITsSbProvisioning, ::windows::core::IUnknown, ITsSbPlugin); +::windows::imp::interface_hierarchy!(ITsSbProvisioning, ::windows::core::IUnknown, ITsSbPlugin); impl ::core::cmp::PartialEq for ITsSbProvisioning { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3108,7 +3108,7 @@ impl ITsSbProvisioningPluginNotifySink { (::windows::core::Vtable::vtable(self).OnVirtualMachineHostStatusChanged)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(vmhost), vmhostnotifystatus, errorcode, ::core::mem::transmute_copy(errordescr)).ok() } } -::windows::core::interface_hierarchy!(ITsSbProvisioningPluginNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbProvisioningPluginNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbProvisioningPluginNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3165,7 +3165,7 @@ impl ITsSbResourceNotification { (::windows::core::Vtable::vtable(self).NotifyClientConnectionStateChange)(::windows::core::Vtable::as_raw(self), changetype, pconnection.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITsSbResourceNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbResourceNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbResourceNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3210,7 +3210,7 @@ impl ITsSbResourceNotificationEx { (::windows::core::Vtable::vtable(self).NotifyClientConnectionStateChangeEx)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(username), ::core::mem::transmute_copy(domain), ::core::mem::transmute_copy(initialprogram), ::core::mem::transmute_copy(poolname), ::core::mem::transmute_copy(targetname), connectionchangetype).ok() } } -::windows::core::interface_hierarchy!(ITsSbResourceNotificationEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbResourceNotificationEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbResourceNotificationEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3259,7 +3259,7 @@ impl ITsSbResourcePlugin { (::windows::core::Vtable::vtable(self).base__.Terminate)(::windows::core::Vtable::as_raw(self), hr).ok() } } -::windows::core::interface_hierarchy!(ITsSbResourcePlugin, ::windows::core::IUnknown, ITsSbPlugin); +::windows::imp::interface_hierarchy!(ITsSbResourcePlugin, ::windows::core::IUnknown, ITsSbPlugin); impl ::core::cmp::PartialEq for ITsSbResourcePlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3436,7 +3436,7 @@ impl ITsSbResourcePluginStore { (::windows::core::Vtable::vtable(self).SetServerDrainMode)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(serverfqdn), drainmode).ok() } } -::windows::core::interface_hierarchy!(ITsSbResourcePluginStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbResourcePluginStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbResourcePluginStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3530,7 +3530,7 @@ impl ITsSbServiceNotification { (::windows::core::Vtable::vtable(self).NotifyServiceSuccess)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITsSbServiceNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbServiceNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbServiceNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3634,7 +3634,7 @@ impl ITsSbSession { (::windows::core::Vtable::vtable(self).SetProtocolType)(::windows::core::Vtable::as_raw(self), val).ok() } } -::windows::core::interface_hierarchy!(ITsSbSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3770,7 +3770,7 @@ impl ITsSbTarget { (::windows::core::Vtable::vtable(self).TargetLoad)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITsSbTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3848,7 +3848,7 @@ impl ITsSbTargetPropertySet { } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows::core::interface_hierarchy!(ITsSbTargetPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); +::windows::imp::interface_hierarchy!(ITsSbTargetPropertySet, ::windows::core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ::core::cmp::PartialEq for ITsSbTargetPropertySet { fn eq(&self, other: &Self) -> bool { @@ -3932,7 +3932,7 @@ impl ITsSbTaskInfo { (::windows::core::Vtable::vtable(self).Status)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITsSbTaskInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITsSbTaskInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITsSbTaskInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4008,7 +4008,7 @@ impl ITsSbTaskPlugin { (::windows::core::Vtable::vtable(self).SetTaskQueue)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(pszhostname), pitssbtaskinfo.len() as _, ::core::mem::transmute(pitssbtaskinfo.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ITsSbTaskPlugin, ::windows::core::IUnknown, ITsSbPlugin); +::windows::imp::interface_hierarchy!(ITsSbTaskPlugin, ::windows::core::IUnknown, ITsSbPlugin); impl ::core::cmp::PartialEq for ITsSbTaskPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4063,7 +4063,7 @@ impl ITsSbTaskPluginNotifySink { (::windows::core::Vtable::vtable(self).OnReportTasks)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(szhostname)).ok() } } -::windows::core::interface_hierarchy!(ITsSbTaskPluginNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); +::windows::imp::interface_hierarchy!(ITsSbTaskPluginNotifySink, ::windows::core::IUnknown, ITsSbBaseNotifySink); impl ::core::cmp::PartialEq for ITsSbTaskPluginNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4107,7 +4107,7 @@ impl IWRdsEnhancedFastReconnectArbitrator { (::windows::core::Vtable::vtable(self).GetSessionForEnhancedFastReconnect)(::windows::core::Vtable::as_raw(self), psessionidarray, dwsessioncount, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWRdsEnhancedFastReconnectArbitrator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsEnhancedFastReconnectArbitrator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsEnhancedFastReconnectArbitrator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4157,7 +4157,7 @@ impl IWRdsGraphicsChannel { (::windows::core::Vtable::vtable(self).Open)(::windows::core::Vtable::as_raw(self), pchannelevents.into().abi(), popencontext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWRdsGraphicsChannel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsGraphicsChannel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsGraphicsChannel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4217,7 +4217,7 @@ impl IWRdsGraphicsChannelEvents { (::windows::core::Vtable::vtable(self).OnMetricsUpdate)(::windows::core::Vtable::as_raw(self), bandwidth, rtt, lastsentbyteindex).ok() } } -::windows::core::interface_hierarchy!(IWRdsGraphicsChannelEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsGraphicsChannelEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsGraphicsChannelEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4262,7 +4262,7 @@ impl IWRdsGraphicsChannelManager { (::windows::core::Vtable::vtable(self).CreateChannel)(::windows::core::Vtable::as_raw(self), pszchannelname, channeltype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWRdsGraphicsChannelManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsGraphicsChannelManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsGraphicsChannelManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4411,7 +4411,7 @@ impl IWRdsProtocolConnection { (::windows::core::Vtable::vtable(self).NotifyCommandProcessCreated)(::windows::core::Vtable::as_raw(self), sessionid).ok() } } -::windows::core::interface_hierarchy!(IWRdsProtocolConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4508,7 +4508,7 @@ impl IWRdsProtocolConnectionCallback { (::windows::core::Vtable::vtable(self).GetConnectionId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWRdsProtocolConnectionCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolConnectionCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolConnectionCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4552,7 +4552,7 @@ impl IWRdsProtocolConnectionSettings { (::windows::core::Vtable::vtable(self).GetConnectionSetting)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(propertyid), ppropertyentriesout).ok() } } -::windows::core::interface_hierarchy!(IWRdsProtocolConnectionSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolConnectionSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolConnectionSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4601,7 +4601,7 @@ impl IWRdsProtocolLicenseConnection { (::windows::core::Vtable::vtable(self).ProtocolComplete)(::windows::core::Vtable::as_raw(self), ulcomplete).ok() } } -::windows::core::interface_hierarchy!(IWRdsProtocolLicenseConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolLicenseConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolLicenseConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4654,7 +4654,7 @@ impl IWRdsProtocolListener { (::windows::core::Vtable::vtable(self).StopListen)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWRdsProtocolListener, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolListener, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolListener { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4699,7 +4699,7 @@ impl IWRdsProtocolListenerCallback { (::windows::core::Vtable::vtable(self).OnConnected)(::windows::core::Vtable::as_raw(self), pconnection.into().abi(), pwrdsconnectionsettings, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWRdsProtocolListenerCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolListenerCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolListenerCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4762,7 +4762,7 @@ impl IWRdsProtocolLogonErrorRedirector { (::windows::core::Vtable::vtable(self).RedirectLogonError)(::windows::core::Vtable::as_raw(self), ntsstatus, ntssubstatus, pszcaption.into().abi(), pszmessage.into().abi(), utype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWRdsProtocolLogonErrorRedirector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolLogonErrorRedirector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolLogonErrorRedirector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4834,7 +4834,7 @@ impl IWRdsProtocolManager { (::windows::core::Vtable::vtable(self).Uninitialize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWRdsProtocolManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4891,7 +4891,7 @@ impl IWRdsProtocolSettings { (::windows::core::Vtable::vtable(self).MergeSettings)(::windows::core::Vtable::as_raw(self), pwrdssettings, wrdsconnectionsettinglevel, pwrdsconnectionsettings).ok() } } -::windows::core::interface_hierarchy!(IWRdsProtocolSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4942,7 +4942,7 @@ impl IWRdsProtocolShadowCallback { (::windows::core::Vtable::vtable(self).InvokeTargetShadow)(::windows::core::Vtable::as_raw(self), ptargetservername.into().abi(), targetsessionid, ::core::mem::transmute(pparam1.as_ptr()), pparam1.len() as _, ::core::mem::transmute(pparam2.as_ptr()), pparam2.len() as _, ::core::mem::transmute(pparam3.as_ptr()), pparam3.len() as _, ::core::mem::transmute(pparam4.as_ptr()), pparam4.len() as _, pclientname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWRdsProtocolShadowCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolShadowCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolShadowCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4993,7 +4993,7 @@ impl IWRdsProtocolShadowConnection { (::windows::core::Vtable::vtable(self).DoTarget)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pparam1.as_ptr()), pparam1.len() as _, ::core::mem::transmute(pparam2.as_ptr()), pparam2.len() as _, ::core::mem::transmute(pparam3.as_ptr()), pparam3.len() as _, ::core::mem::transmute(pparam4.as_ptr()), pparam4.len() as _, pclientname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWRdsProtocolShadowConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsProtocolShadowConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsProtocolShadowConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5051,7 +5051,7 @@ impl IWRdsWddmIddProps { (::windows::core::Vtable::vtable(self).EnableWddmIdd)(::windows::core::Vtable::as_raw(self), enabled.into()).ok() } } -::windows::core::interface_hierarchy!(IWRdsWddmIddProps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWRdsWddmIddProps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWRdsWddmIddProps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5101,7 +5101,7 @@ impl IWTSBitmapRenderService { (::windows::core::Vtable::vtable(self).GetMappedRenderer)(::windows::core::Vtable::as_raw(self), mappingid, pmappedrenderercallback.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWTSBitmapRenderService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSBitmapRenderService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSBitmapRenderService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5145,7 +5145,7 @@ impl IWTSBitmapRenderer { (::windows::core::Vtable::vtable(self).RemoveMapping)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWTSBitmapRenderer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSBitmapRenderer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSBitmapRenderer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5186,7 +5186,7 @@ impl IWTSBitmapRendererCallback { (::windows::core::Vtable::vtable(self).OnTargetSizeChanged)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(rcnewsize)).ok() } } -::windows::core::interface_hierarchy!(IWTSBitmapRendererCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSBitmapRendererCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSBitmapRendererCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5229,7 +5229,7 @@ impl IWTSListener { (::windows::core::Vtable::vtable(self).GetConfiguration)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWTSListener, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSListener, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSListener { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5274,7 +5274,7 @@ impl IWTSListenerCallback { (::windows::core::Vtable::vtable(self).OnNewChannelConnection)(::windows::core::Vtable::as_raw(self), pchannel.into().abi(), ::core::mem::transmute_copy(data), pbaccept, ::core::mem::transmute(ppcallback)).ok() } } -::windows::core::interface_hierarchy!(IWTSListenerCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSListenerCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSListenerCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5326,7 +5326,7 @@ impl IWTSPlugin { (::windows::core::Vtable::vtable(self).Terminated)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWTSPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5367,7 +5367,7 @@ impl IWTSPluginServiceProvider { (::windows::core::Vtable::vtable(self).GetService)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(serviceid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWTSPluginServiceProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSPluginServiceProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSPluginServiceProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5509,7 +5509,7 @@ impl IWTSProtocolConnection { (::windows::core::Vtable::vtable(self).GetShadowConnection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWTSProtocolConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5604,7 +5604,7 @@ impl IWTSProtocolConnectionCallback { (::windows::core::Vtable::vtable(self).DisplayIOCtl)(::windows::core::Vtable::as_raw(self), displayioctl).ok() } } -::windows::core::interface_hierarchy!(IWTSProtocolConnectionCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolConnectionCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolConnectionCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5656,7 +5656,7 @@ impl IWTSProtocolLicenseConnection { (::windows::core::Vtable::vtable(self).ProtocolComplete)(::windows::core::Vtable::as_raw(self), ulcomplete).ok() } } -::windows::core::interface_hierarchy!(IWTSProtocolLicenseConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolLicenseConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolLicenseConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5705,7 +5705,7 @@ impl IWTSProtocolListener { (::windows::core::Vtable::vtable(self).StopListen)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWTSProtocolListener, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolListener, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolListener { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5747,7 +5747,7 @@ impl IWTSProtocolListenerCallback { (::windows::core::Vtable::vtable(self).OnConnected)(::windows::core::Vtable::as_raw(self), pconnection.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWTSProtocolListenerCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolListenerCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolListenerCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5807,7 +5807,7 @@ impl IWTSProtocolLogonErrorRedirector { (::windows::core::Vtable::vtable(self).RedirectLogonError)(::windows::core::Vtable::as_raw(self), ntsstatus, ntssubstatus, pszcaption.into().abi(), pszmessage.into().abi(), utype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWTSProtocolLogonErrorRedirector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolLogonErrorRedirector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolLogonErrorRedirector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5863,7 +5863,7 @@ impl IWTSProtocolManager { (::windows::core::Vtable::vtable(self).NotifySessionStateChange)(::windows::core::Vtable::as_raw(self), sessionid, eventid).ok() } } -::windows::core::interface_hierarchy!(IWTSProtocolManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5911,7 +5911,7 @@ impl IWTSProtocolShadowCallback { (::windows::core::Vtable::vtable(self).InvokeTargetShadow)(::windows::core::Vtable::as_raw(self), ptargetservername.into().abi(), targetsessionid, ::core::mem::transmute(pparam1.as_ptr()), pparam1.len() as _, ::core::mem::transmute(pparam2.as_ptr()), pparam2.len() as _, ::core::mem::transmute(pparam3.as_ptr()), pparam3.len() as _, ::core::mem::transmute(pparam4.as_ptr()), pparam4.len() as _, pclientname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWTSProtocolShadowCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolShadowCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolShadowCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5962,7 +5962,7 @@ impl IWTSProtocolShadowConnection { (::windows::core::Vtable::vtable(self).DoTarget)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pparam1.as_ptr()), pparam1.len() as _, ::core::mem::transmute(pparam2.as_ptr()), pparam2.len() as _, ::core::mem::transmute(pparam3.as_ptr()), pparam3.len() as _, ::core::mem::transmute(pparam4.as_ptr()), pparam4.len() as _, pclientname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWTSProtocolShadowConnection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSProtocolShadowConnection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSProtocolShadowConnection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6030,7 +6030,7 @@ impl IWTSSBPlugin { (::windows::core::Vtable::vtable(self).WTSSBX_GetUserExternalSession)(::windows::core::Vtable::as_raw(self), username.into().abi(), domainname.into().abi(), applicationtype.into().abi(), redirectorinternalip, psessionid, pmachineconnectinfo).ok() } } -::windows::core::interface_hierarchy!(IWTSSBPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSSBPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSSBPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6081,7 +6081,7 @@ impl IWTSVirtualChannel { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWTSVirtualChannel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSVirtualChannel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSVirtualChannel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6122,7 +6122,7 @@ impl IWTSVirtualChannelCallback { (::windows::core::Vtable::vtable(self).OnClose)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWTSVirtualChannelCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSVirtualChannelCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSVirtualChannelCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6165,7 +6165,7 @@ impl IWTSVirtualChannelManager { (::windows::core::Vtable::vtable(self).CreateListener)(::windows::core::Vtable::as_raw(self), pszchannelname.into().abi(), uflags, plistenercallback.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWTSVirtualChannelManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWTSVirtualChannelManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWTSVirtualChannelManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6214,7 +6214,7 @@ impl IWorkspace { (::windows::core::Vtable::vtable(self).GetProcessId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWorkspace, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWorkspace, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWorkspace { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6279,7 +6279,7 @@ impl IWorkspace2 { (::windows::core::Vtable::vtable(self).StartRemoteApplicationEx)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrworkspaceid), ::core::mem::transmute_copy(bstrrequestingappid), ::core::mem::transmute_copy(bstrrequestingappfamilyname), blaunchintoimmersiveclient.into(), ::core::mem::transmute_copy(bstrimmersiveclientactivationcontext), psaparams).ok() } } -::windows::core::interface_hierarchy!(IWorkspace2, ::windows::core::IUnknown, IWorkspace); +::windows::imp::interface_hierarchy!(IWorkspace2, ::windows::core::IUnknown, IWorkspace); impl ::core::cmp::PartialEq for IWorkspace2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6348,7 +6348,7 @@ impl IWorkspace3 { (::windows::core::Vtable::vtable(self).SetClaimsToken)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstraccesstoken), ullaccesstokenexpiration, ::core::mem::transmute_copy(bstrrefreshtoken)).ok() } } -::windows::core::interface_hierarchy!(IWorkspace3, ::windows::core::IUnknown, IWorkspace, IWorkspace2); +::windows::imp::interface_hierarchy!(IWorkspace3, ::windows::core::IUnknown, IWorkspace, IWorkspace2); impl ::core::cmp::PartialEq for IWorkspace3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6397,7 +6397,7 @@ impl IWorkspaceClientExt { (::windows::core::Vtable::vtable(self).IssueDisconnect)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWorkspaceClientExt, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWorkspaceClientExt, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWorkspaceClientExt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6443,7 +6443,7 @@ impl IWorkspaceRegistration { (::windows::core::Vtable::vtable(self).RemoveResource)(::windows::core::Vtable::as_raw(self), dwcookieconnection).ok() } } -::windows::core::interface_hierarchy!(IWorkspaceRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWorkspaceRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWorkspaceRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6497,7 +6497,7 @@ impl IWorkspaceRegistration2 { (::windows::core::Vtable::vtable(self).RemoveResourceEx)(::windows::core::Vtable::as_raw(self), dwcookieconnection, ::core::mem::transmute(correlationid)).ok() } } -::windows::core::interface_hierarchy!(IWorkspaceRegistration2, ::windows::core::IUnknown, IWorkspaceRegistration); +::windows::imp::interface_hierarchy!(IWorkspaceRegistration2, ::windows::core::IUnknown, IWorkspaceRegistration); impl ::core::cmp::PartialEq for IWorkspaceRegistration2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6544,7 +6544,7 @@ impl IWorkspaceReportMessage { (::windows::core::Vtable::vtable(self).RegisterErrorEvent)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrwkspid), dwerrortype, ::core::mem::transmute_copy(bstrerrormessagetype), dwerrorcode).ok() } } -::windows::core::interface_hierarchy!(IWorkspaceReportMessage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWorkspaceReportMessage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWorkspaceReportMessage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6628,7 +6628,7 @@ impl IWorkspaceResTypeRegistry { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWorkspaceResTypeRegistry, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWorkspaceResTypeRegistry, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWorkspaceResTypeRegistry { fn eq(&self, other: &Self) -> bool { @@ -6721,7 +6721,7 @@ impl IWorkspaceScriptable { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWorkspaceScriptable, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWorkspaceScriptable, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWorkspaceScriptable { fn eq(&self, other: &Self) -> bool { @@ -6813,7 +6813,7 @@ impl IWorkspaceScriptable2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWorkspaceScriptable2, ::windows::core::IUnknown, super::Com::IDispatch, IWorkspaceScriptable); +::windows::imp::interface_hierarchy!(IWorkspaceScriptable2, ::windows::core::IUnknown, super::Com::IDispatch, IWorkspaceScriptable); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWorkspaceScriptable2 { fn eq(&self, other: &Self) -> bool { @@ -6911,7 +6911,7 @@ impl IWorkspaceScriptable3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWorkspaceScriptable3, ::windows::core::IUnknown, super::Com::IDispatch, IWorkspaceScriptable, IWorkspaceScriptable2); +::windows::imp::interface_hierarchy!(IWorkspaceScriptable3, ::windows::core::IUnknown, super::Com::IDispatch, IWorkspaceScriptable, IWorkspaceScriptable2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWorkspaceScriptable3 { fn eq(&self, other: &Self) -> bool { @@ -6983,7 +6983,7 @@ impl ItsPubPlugin { (::windows::core::Vtable::vtable(self).ResolveResource)(::windows::core::Vtable::as_raw(self), resourcetype, ::core::mem::transmute(resourcelocation), ::core::mem::transmute(endpointname), userid.into().abi(), alias.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ItsPubPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ItsPubPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ItsPubPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7080,7 +7080,7 @@ impl ItsPubPlugin2 { (::windows::core::Vtable::vtable(self).DeletePersonalDesktopAssignment)(::windows::core::Vtable::as_raw(self), userid.into().abi(), poolid.into().abi(), endpointname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ItsPubPlugin2, ::windows::core::IUnknown, ItsPubPlugin); +::windows::imp::interface_hierarchy!(ItsPubPlugin2, ::windows::core::IUnknown, ItsPubPlugin); impl ::core::cmp::PartialEq for ItsPubPlugin2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7119,7 +7119,7 @@ pub struct _ITSWkspEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ITSWkspEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_ITSWkspEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(_ITSWkspEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _ITSWkspEvents { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs index 14c3ecc82d..8c4b59c49b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -1,25 +1,25 @@ #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManCloseCommand(commandhandle: ::core::option::Option<*mut WSMAN_COMMAND>, flags: u32, r#async: *const WSMAN_SHELL_ASYNC) { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManCloseCommand ( commandhandle : *mut WSMAN_COMMAND , flags : u32 , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManCloseCommand ( commandhandle : *mut WSMAN_COMMAND , flags : u32 , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); WSManCloseCommand(::core::mem::transmute(commandhandle.unwrap_or(::std::ptr::null_mut())), flags, r#async) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManCloseOperation(operationhandle: ::core::option::Option<*mut WSMAN_OPERATION>, flags: u32) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManCloseOperation ( operationhandle : *mut WSMAN_OPERATION , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManCloseOperation ( operationhandle : *mut WSMAN_OPERATION , flags : u32 ) -> u32 ); WSManCloseOperation(::core::mem::transmute(operationhandle.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManCloseSession(session: ::core::option::Option<*mut WSMAN_SESSION>, flags: u32) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManCloseSession ( session : *mut WSMAN_SESSION , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManCloseSession ( session : *mut WSMAN_SESSION , flags : u32 ) -> u32 ); WSManCloseSession(::core::mem::transmute(session.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManCloseShell(shellhandle: ::core::option::Option<*mut WSMAN_SHELL>, flags: u32, r#async: *const WSMAN_SHELL_ASYNC) { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManCloseShell ( shellhandle : *mut WSMAN_SHELL , flags : u32 , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManCloseShell ( shellhandle : *mut WSMAN_SHELL , flags : u32 , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); WSManCloseShell(::core::mem::transmute(shellhandle.unwrap_or(::std::ptr::null_mut())), flags, r#async) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -30,7 +30,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManConnectShell ( session : *mut WSMAN_SESSION , flags : u32 , resourceuri : :: windows::core::PCWSTR , shellid : :: windows::core::PCWSTR , options : *const WSMAN_OPTION_SET , connectxml : *const WSMAN_DATA , r#async : *const WSMAN_SHELL_ASYNC , shell : *mut *mut WSMAN_SHELL ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManConnectShell ( session : *mut WSMAN_SESSION , flags : u32 , resourceuri : :: windows::core::PCWSTR , shellid : :: windows::core::PCWSTR , options : *const WSMAN_OPTION_SET , connectxml : *const WSMAN_DATA , r#async : *const WSMAN_SHELL_ASYNC , shell : *mut *mut WSMAN_SHELL ) -> ( ) ); WSManConnectShell(session, flags, resourceuri.into().abi(), shellid.into().abi(), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), ::core::mem::transmute(connectxml.unwrap_or(::std::ptr::null())), r#async, shell) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -40,7 +40,7 @@ pub unsafe fn WSManConnectShellCommand(shell: *mut WSMAN_SHELL, flags: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManConnectShellCommand ( shell : *mut WSMAN_SHELL , flags : u32 , commandid : :: windows::core::PCWSTR , options : *const WSMAN_OPTION_SET , connectxml : *const WSMAN_DATA , r#async : *const WSMAN_SHELL_ASYNC , command : *mut *mut WSMAN_COMMAND ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManConnectShellCommand ( shell : *mut WSMAN_SHELL , flags : u32 , commandid : :: windows::core::PCWSTR , options : *const WSMAN_OPTION_SET , connectxml : *const WSMAN_DATA , r#async : *const WSMAN_SHELL_ASYNC , command : *mut *mut WSMAN_COMMAND ) -> ( ) ); WSManConnectShellCommand(shell, flags, commandid.into().abi(), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), ::core::mem::transmute(connectxml.unwrap_or(::std::ptr::null())), r#async, command) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] @@ -49,7 +49,7 @@ pub unsafe fn WSManCreateSession(apihandle: *const WSMAN_API, connection: P0 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManCreateSession ( apihandle : *const WSMAN_API , connection : :: windows::core::PCWSTR , flags : u32 , serverauthenticationcredentials : *const WSMAN_AUTHENTICATION_CREDENTIALS , proxyinfo : *const WSMAN_PROXY_INFO , session : *mut *mut WSMAN_SESSION ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManCreateSession ( apihandle : *const WSMAN_API , connection : :: windows::core::PCWSTR , flags : u32 , serverauthenticationcredentials : *const WSMAN_AUTHENTICATION_CREDENTIALS , proxyinfo : *const WSMAN_PROXY_INFO , session : *mut *mut WSMAN_SESSION ) -> u32 ); WSManCreateSession(apihandle, connection.into().abi(), flags, ::core::mem::transmute(serverauthenticationcredentials.unwrap_or(::std::ptr::null())), ::core::mem::transmute(proxyinfo.unwrap_or(::std::ptr::null())), session) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -59,7 +59,7 @@ pub unsafe fn WSManCreateShell(session: *mut WSMAN_SESSION, flags: u32, reso where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManCreateShell ( session : *mut WSMAN_SESSION , flags : u32 , resourceuri : :: windows::core::PCWSTR , startupinfo : *const WSMAN_SHELL_STARTUP_INFO_V11 , options : *const WSMAN_OPTION_SET , createxml : *const WSMAN_DATA , r#async : *const WSMAN_SHELL_ASYNC , shell : *mut *mut WSMAN_SHELL ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManCreateShell ( session : *mut WSMAN_SESSION , flags : u32 , resourceuri : :: windows::core::PCWSTR , startupinfo : *const WSMAN_SHELL_STARTUP_INFO_V11 , options : *const WSMAN_OPTION_SET , createxml : *const WSMAN_DATA , r#async : *const WSMAN_SHELL_ASYNC , shell : *mut *mut WSMAN_SHELL ) -> ( ) ); WSManCreateShell(session, flags, resourceuri.into().abi(), ::core::mem::transmute(startupinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), ::core::mem::transmute(createxml.unwrap_or(::std::ptr::null())), r#async, shell) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -70,19 +70,19 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManCreateShellEx ( session : *mut WSMAN_SESSION , flags : u32 , resourceuri : :: windows::core::PCWSTR , shellid : :: windows::core::PCWSTR , startupinfo : *const WSMAN_SHELL_STARTUP_INFO_V11 , options : *const WSMAN_OPTION_SET , createxml : *const WSMAN_DATA , r#async : *const WSMAN_SHELL_ASYNC , shell : *mut *mut WSMAN_SHELL ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManCreateShellEx ( session : *mut WSMAN_SESSION , flags : u32 , resourceuri : :: windows::core::PCWSTR , shellid : :: windows::core::PCWSTR , startupinfo : *const WSMAN_SHELL_STARTUP_INFO_V11 , options : *const WSMAN_OPTION_SET , createxml : *const WSMAN_DATA , r#async : *const WSMAN_SHELL_ASYNC , shell : *mut *mut WSMAN_SHELL ) -> ( ) ); WSManCreateShellEx(session, flags, resourceuri.into().abi(), shellid.into().abi(), ::core::mem::transmute(startupinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), ::core::mem::transmute(createxml.unwrap_or(::std::ptr::null())), r#async, shell) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManDeinitialize(apihandle: ::core::option::Option<*mut WSMAN_API>, flags: u32) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManDeinitialize ( apihandle : *mut WSMAN_API , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManDeinitialize ( apihandle : *mut WSMAN_API , flags : u32 ) -> u32 ); WSManDeinitialize(::core::mem::transmute(apihandle.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManDisconnectShell(shell: *mut WSMAN_SHELL, flags: u32, disconnectinfo: *const WSMAN_SHELL_DISCONNECT_INFO, r#async: *const WSMAN_SHELL_ASYNC) { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManDisconnectShell ( shell : *mut WSMAN_SHELL , flags : u32 , disconnectinfo : *const WSMAN_SHELL_DISCONNECT_INFO , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManDisconnectShell ( shell : *mut WSMAN_SHELL , flags : u32 , disconnectinfo : *const WSMAN_SHELL_DISCONNECT_INFO , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); WSManDisconnectShell(shell, flags, disconnectinfo, r#async) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] @@ -91,25 +91,25 @@ pub unsafe fn WSManGetErrorMessage(apihandle: *const WSMAN_API, flags: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManGetErrorMessage ( apihandle : *const WSMAN_API , flags : u32 , languagecode : :: windows::core::PCWSTR , errorcode : u32 , messagelength : u32 , message : :: windows::core::PWSTR , messagelengthused : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManGetErrorMessage ( apihandle : *const WSMAN_API , flags : u32 , languagecode : :: windows::core::PCWSTR , errorcode : u32 , messagelength : u32 , message : :: windows::core::PWSTR , messagelengthused : *mut u32 ) -> u32 ); WSManGetErrorMessage(apihandle, flags, languagecode.into().abi(), errorcode, message.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(message.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), messagelengthused) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManGetSessionOptionAsDword(session: *const WSMAN_SESSION, option: WSManSessionOption, value: *mut u32) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManGetSessionOptionAsDword ( session : *const WSMAN_SESSION , option : WSManSessionOption , value : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManGetSessionOptionAsDword ( session : *const WSMAN_SESSION , option : WSManSessionOption , value : *mut u32 ) -> u32 ); WSManGetSessionOptionAsDword(session, option, value) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManGetSessionOptionAsString(session: *const WSMAN_SESSION, option: WSManSessionOption, string: ::core::option::Option<&mut [u16]>, stringlengthused: *mut u32) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManGetSessionOptionAsString ( session : *const WSMAN_SESSION , option : WSManSessionOption , stringlength : u32 , string : :: windows::core::PWSTR , stringlengthused : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManGetSessionOptionAsString ( session : *const WSMAN_SESSION , option : WSManSessionOption , stringlength : u32 , string : :: windows::core::PWSTR , stringlengthused : *mut u32 ) -> u32 ); WSManGetSessionOptionAsString(session, option, string.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(string.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), stringlengthused) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManInitialize(flags: u32, apihandle: *mut *mut WSMAN_API) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManInitialize ( flags : u32 , apihandle : *mut *mut WSMAN_API ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManInitialize ( flags : u32 , apihandle : *mut *mut WSMAN_API ) -> u32 ); WSManInitialize(flags, apihandle) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -119,7 +119,7 @@ pub unsafe fn WSManPluginAuthzOperationComplete(senderdetails: *const WSMAN_ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginAuthzOperationComplete ( senderdetails : *const WSMAN_SENDER_DETAILS , flags : u32 , userauthorizationcontext : *const ::core::ffi::c_void , errorcode : u32 , extendederrorinformation : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginAuthzOperationComplete ( senderdetails : *const WSMAN_SENDER_DETAILS , flags : u32 , userauthorizationcontext : *const ::core::ffi::c_void , errorcode : u32 , extendederrorinformation : :: windows::core::PCWSTR ) -> u32 ); WSManPluginAuthzOperationComplete(senderdetails, flags, ::core::mem::transmute(userauthorizationcontext.unwrap_or(::std::ptr::null())), errorcode, extendederrorinformation.into().abi()) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -129,7 +129,7 @@ pub unsafe fn WSManPluginAuthzQueryQuotaComplete(senderdetails: *const WSMAN where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginAuthzQueryQuotaComplete ( senderdetails : *const WSMAN_SENDER_DETAILS , flags : u32 , quota : *const WSMAN_AUTHZ_QUOTA , errorcode : u32 , extendederrorinformation : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginAuthzQueryQuotaComplete ( senderdetails : *const WSMAN_SENDER_DETAILS , flags : u32 , quota : *const WSMAN_AUTHZ_QUOTA , errorcode : u32 , extendederrorinformation : :: windows::core::PCWSTR ) -> u32 ); WSManPluginAuthzQueryQuotaComplete(senderdetails, flags, ::core::mem::transmute(quota.unwrap_or(::std::ptr::null())), errorcode, extendederrorinformation.into().abi()) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -141,27 +141,27 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginAuthzUserComplete ( senderdetails : *const WSMAN_SENDER_DETAILS , flags : u32 , userauthorizationcontext : *const ::core::ffi::c_void , impersonationtoken : super::super::Foundation:: HANDLE , userisadministrator : super::super::Foundation:: BOOL , errorcode : u32 , extendederrorinformation : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginAuthzUserComplete ( senderdetails : *const WSMAN_SENDER_DETAILS , flags : u32 , userauthorizationcontext : *const ::core::ffi::c_void , impersonationtoken : super::super::Foundation:: HANDLE , userisadministrator : super::super::Foundation:: BOOL , errorcode : u32 , extendederrorinformation : :: windows::core::PCWSTR ) -> u32 ); WSManPluginAuthzUserComplete(senderdetails, flags, ::core::mem::transmute(userauthorizationcontext.unwrap_or(::std::ptr::null())), impersonationtoken.into(), userisadministrator.into(), errorcode, extendederrorinformation.into().abi()) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSManPluginFreeRequestDetails(requestdetails: *const WSMAN_PLUGIN_REQUEST) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginFreeRequestDetails ( requestdetails : *const WSMAN_PLUGIN_REQUEST ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginFreeRequestDetails ( requestdetails : *const WSMAN_PLUGIN_REQUEST ) -> u32 ); WSManPluginFreeRequestDetails(requestdetails) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManPluginGetConfiguration(plugincontext: *const ::core::ffi::c_void, flags: u32, data: *mut WSMAN_DATA) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginGetConfiguration ( plugincontext : *const ::core::ffi::c_void , flags : u32 , data : *mut WSMAN_DATA ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginGetConfiguration ( plugincontext : *const ::core::ffi::c_void , flags : u32 , data : *mut WSMAN_DATA ) -> u32 ); WSManPluginGetConfiguration(plugincontext, flags, data) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSManPluginGetOperationParameters(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, data: *mut WSMAN_DATA) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginGetOperationParameters ( requestdetails : *const WSMAN_PLUGIN_REQUEST , flags : u32 , data : *mut WSMAN_DATA ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginGetOperationParameters ( requestdetails : *const WSMAN_PLUGIN_REQUEST , flags : u32 , data : *mut WSMAN_DATA ) -> u32 ); WSManPluginGetOperationParameters(requestdetails, flags, data) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -171,7 +171,7 @@ pub unsafe fn WSManPluginOperationComplete(requestdetails: *const WSMAN_PLUG where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginOperationComplete ( requestdetails : *const WSMAN_PLUGIN_REQUEST , flags : u32 , errorcode : u32 , extendedinformation : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginOperationComplete ( requestdetails : *const WSMAN_PLUGIN_REQUEST , flags : u32 , errorcode : u32 , extendedinformation : :: windows::core::PCWSTR ) -> u32 ); WSManPluginOperationComplete(requestdetails, flags, errorcode, extendedinformation.into().abi()) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -182,38 +182,38 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginReceiveResult ( requestdetails : *const WSMAN_PLUGIN_REQUEST , flags : u32 , stream : :: windows::core::PCWSTR , streamresult : *const WSMAN_DATA , commandstate : :: windows::core::PCWSTR , exitcode : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginReceiveResult ( requestdetails : *const WSMAN_PLUGIN_REQUEST , flags : u32 , stream : :: windows::core::PCWSTR , streamresult : *const WSMAN_DATA , commandstate : :: windows::core::PCWSTR , exitcode : u32 ) -> u32 ); WSManPluginReceiveResult(requestdetails, flags, stream.into().abi(), ::core::mem::transmute(streamresult.unwrap_or(::std::ptr::null())), commandstate.into().abi(), exitcode) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManPluginReportCompletion(plugincontext: *const ::core::ffi::c_void, flags: u32) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginReportCompletion ( plugincontext : *const ::core::ffi::c_void , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginReportCompletion ( plugincontext : *const ::core::ffi::c_void , flags : u32 ) -> u32 ); WSManPluginReportCompletion(plugincontext, flags) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WSManPluginReportContext(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, context: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManPluginReportContext ( requestdetails : *const WSMAN_PLUGIN_REQUEST , flags : u32 , context : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManPluginReportContext ( requestdetails : *const WSMAN_PLUGIN_REQUEST , flags : u32 , context : *const ::core::ffi::c_void ) -> u32 ); WSManPluginReportContext(requestdetails, flags, context) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManReceiveShellOutput(shell: *mut WSMAN_SHELL, command: ::core::option::Option<*const WSMAN_COMMAND>, flags: u32, desiredstreamset: ::core::option::Option<*const WSMAN_STREAM_ID_SET>, r#async: *const WSMAN_SHELL_ASYNC, receiveoperation: *mut *mut WSMAN_OPERATION) { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManReceiveShellOutput ( shell : *mut WSMAN_SHELL , command : *const WSMAN_COMMAND , flags : u32 , desiredstreamset : *const WSMAN_STREAM_ID_SET , r#async : *const WSMAN_SHELL_ASYNC , receiveoperation : *mut *mut WSMAN_OPERATION ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManReceiveShellOutput ( shell : *mut WSMAN_SHELL , command : *const WSMAN_COMMAND , flags : u32 , desiredstreamset : *const WSMAN_STREAM_ID_SET , r#async : *const WSMAN_SHELL_ASYNC , receiveoperation : *mut *mut WSMAN_OPERATION ) -> ( ) ); WSManReceiveShellOutput(shell, ::core::mem::transmute(command.unwrap_or(::std::ptr::null())), flags, ::core::mem::transmute(desiredstreamset.unwrap_or(::std::ptr::null())), r#async, receiveoperation) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManReconnectShell(shell: *mut WSMAN_SHELL, flags: u32, r#async: *const WSMAN_SHELL_ASYNC) { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManReconnectShell ( shell : *mut WSMAN_SHELL , flags : u32 , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManReconnectShell ( shell : *mut WSMAN_SHELL , flags : u32 , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); WSManReconnectShell(shell, flags, r#async) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManReconnectShellCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const WSMAN_SHELL_ASYNC) { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManReconnectShellCommand ( commandhandle : *mut WSMAN_COMMAND , flags : u32 , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManReconnectShellCommand ( commandhandle : *mut WSMAN_COMMAND , flags : u32 , r#async : *const WSMAN_SHELL_ASYNC ) -> ( ) ); WSManReconnectShellCommand(commandhandle, flags, r#async) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -223,7 +223,7 @@ pub unsafe fn WSManRunShellCommand(shell: *mut WSMAN_SHELL, flags: u32, comm where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManRunShellCommand ( shell : *mut WSMAN_SHELL , flags : u32 , commandline : :: windows::core::PCWSTR , args : *const WSMAN_COMMAND_ARG_SET , options : *const WSMAN_OPTION_SET , r#async : *const WSMAN_SHELL_ASYNC , command : *mut *mut WSMAN_COMMAND ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManRunShellCommand ( shell : *mut WSMAN_SHELL , flags : u32 , commandline : :: windows::core::PCWSTR , args : *const WSMAN_COMMAND_ARG_SET , options : *const WSMAN_OPTION_SET , r#async : *const WSMAN_SHELL_ASYNC , command : *mut *mut WSMAN_COMMAND ) -> ( ) ); WSManRunShellCommand(shell, flags, commandline.into().abi(), ::core::mem::transmute(args.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), r#async, command) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -234,7 +234,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManRunShellCommandEx ( shell : *mut WSMAN_SHELL , flags : u32 , commandid : :: windows::core::PCWSTR , commandline : :: windows::core::PCWSTR , args : *const WSMAN_COMMAND_ARG_SET , options : *const WSMAN_OPTION_SET , r#async : *const WSMAN_SHELL_ASYNC , command : *mut *mut WSMAN_COMMAND ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManRunShellCommandEx ( shell : *mut WSMAN_SHELL , flags : u32 , commandid : :: windows::core::PCWSTR , commandline : :: windows::core::PCWSTR , args : *const WSMAN_COMMAND_ARG_SET , options : *const WSMAN_OPTION_SET , r#async : *const WSMAN_SHELL_ASYNC , command : *mut *mut WSMAN_COMMAND ) -> ( ) ); WSManRunShellCommandEx(shell, flags, commandid.into().abi(), commandline.into().abi(), ::core::mem::transmute(args.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), r#async, command) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`*"] @@ -245,7 +245,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManSendShellInput ( shell : *const WSMAN_SHELL , command : *const WSMAN_COMMAND , flags : u32 , streamid : :: windows::core::PCWSTR , streamdata : *const WSMAN_DATA , endofstream : super::super::Foundation:: BOOL , r#async : *const WSMAN_SHELL_ASYNC , sendoperation : *mut *mut WSMAN_OPERATION ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManSendShellInput ( shell : *const WSMAN_SHELL , command : *const WSMAN_COMMAND , flags : u32 , streamid : :: windows::core::PCWSTR , streamdata : *const WSMAN_DATA , endofstream : super::super::Foundation:: BOOL , r#async : *const WSMAN_SHELL_ASYNC , sendoperation : *mut *mut WSMAN_OPERATION ) -> ( ) ); let mut result__ = ::windows::core::zeroed::<*mut WSMAN_OPERATION>(); WSManSendShellInput(shell, ::core::mem::transmute(command.unwrap_or(::std::ptr::null())), flags, streamid.into().abi(), streamdata, endofstream.into(), r#async, &mut result__); ::std::mem::transmute(result__) @@ -253,7 +253,7 @@ where #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[inline] pub unsafe fn WSManSetSessionOption(session: *const WSMAN_SESSION, option: WSManSessionOption, data: *const WSMAN_DATA) -> u32 { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManSetSessionOption ( session : *const WSMAN_SESSION , option : WSManSessionOption , data : *const WSMAN_DATA ) -> u32 ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManSetSessionOption ( session : *const WSMAN_SESSION , option : WSManSessionOption , data : *const WSMAN_DATA ) -> u32 ); WSManSetSessionOption(session, option, data) } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] @@ -262,7 +262,7 @@ pub unsafe fn WSManSignalShell(shell: *const WSMAN_SHELL, command: ::core::o where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "wsmsvc.dll""system" fn WSManSignalShell ( shell : *const WSMAN_SHELL , command : *const WSMAN_COMMAND , flags : u32 , code : :: windows::core::PCWSTR , r#async : *const WSMAN_SHELL_ASYNC , signaloperation : *mut *mut WSMAN_OPERATION ) -> ( ) ); + ::windows::imp::link ! ( "wsmsvc.dll""system" fn WSManSignalShell ( shell : *const WSMAN_SHELL , command : *const WSMAN_COMMAND , flags : u32 , code : :: windows::core::PCWSTR , r#async : *const WSMAN_SHELL_ASYNC , signaloperation : *mut *mut WSMAN_OPERATION ) -> ( ) ); let mut result__ = ::windows::core::zeroed::<*mut WSMAN_OPERATION>(); WSManSignalShell(shell, ::core::mem::transmute(command.unwrap_or(::std::ptr::null())), flags, code.into().abi(), r#async, &mut result__); ::std::mem::transmute(result__) @@ -298,7 +298,7 @@ impl IWSMan { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSMan, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWSMan, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSMan { fn eq(&self, other: &Self) -> bool { @@ -361,7 +361,7 @@ impl IWSManConnectionOptions { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManConnectionOptions, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWSManConnectionOptions, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManConnectionOptions { fn eq(&self, other: &Self) -> bool { @@ -424,7 +424,7 @@ impl IWSManConnectionOptionsEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManConnectionOptionsEx, ::windows::core::IUnknown, super::Com::IDispatch, IWSManConnectionOptions); +::windows::imp::interface_hierarchy!(IWSManConnectionOptionsEx, ::windows::core::IUnknown, super::Com::IDispatch, IWSManConnectionOptions); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManConnectionOptionsEx { fn eq(&self, other: &Self) -> bool { @@ -517,7 +517,7 @@ impl IWSManConnectionOptionsEx2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManConnectionOptionsEx2, ::windows::core::IUnknown, super::Com::IDispatch, IWSManConnectionOptions, IWSManConnectionOptionsEx); +::windows::imp::interface_hierarchy!(IWSManConnectionOptionsEx2, ::windows::core::IUnknown, super::Com::IDispatch, IWSManConnectionOptions, IWSManConnectionOptionsEx); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManConnectionOptionsEx2 { fn eq(&self, other: &Self) -> bool { @@ -582,7 +582,7 @@ impl IWSManEnumerator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManEnumerator, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWSManEnumerator, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManEnumerator { fn eq(&self, other: &Self) -> bool { @@ -736,7 +736,7 @@ impl IWSManEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManEx, ::windows::core::IUnknown, super::Com::IDispatch, IWSMan); +::windows::imp::interface_hierarchy!(IWSManEx, ::windows::core::IUnknown, super::Com::IDispatch, IWSMan); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManEx { fn eq(&self, other: &Self) -> bool { @@ -911,7 +911,7 @@ impl IWSManEx2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManEx2, ::windows::core::IUnknown, super::Com::IDispatch, IWSMan, IWSManEx); +::windows::imp::interface_hierarchy!(IWSManEx2, ::windows::core::IUnknown, super::Com::IDispatch, IWSMan, IWSManEx); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManEx2 { fn eq(&self, other: &Self) -> bool { @@ -1092,7 +1092,7 @@ impl IWSManEx3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManEx3, ::windows::core::IUnknown, super::Com::IDispatch, IWSMan, IWSManEx, IWSManEx2); +::windows::imp::interface_hierarchy!(IWSManEx3, ::windows::core::IUnknown, super::Com::IDispatch, IWSMan, IWSManEx, IWSManEx2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManEx3 { fn eq(&self, other: &Self) -> bool { @@ -1151,7 +1151,7 @@ impl IWSManInternal { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManInternal, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWSManInternal, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManInternal { fn eq(&self, other: &Self) -> bool { @@ -1256,7 +1256,7 @@ impl IWSManResourceLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManResourceLocator, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWSManResourceLocator, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManResourceLocator { fn eq(&self, other: &Self) -> bool { @@ -1320,7 +1320,7 @@ pub struct IWSManResourceLocator_Vtbl { #[repr(transparent)] pub struct IWSManResourceLocatorInternal(::windows::core::IUnknown); impl IWSManResourceLocatorInternal {} -::windows::core::interface_hierarchy!(IWSManResourceLocatorInternal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWSManResourceLocatorInternal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWSManResourceLocatorInternal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1413,7 +1413,7 @@ impl IWSManSession { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSManSession, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWSManSession, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSManSession { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/RestartManager/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RestartManager/mod.rs index 5893e3bf73..cba6ab433e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RestartManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RestartManager/mod.rs @@ -6,32 +6,32 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmAddFilter ( dwsessionhandle : u32 , strmodulename : :: windows::core::PCWSTR , pprocess : *const RM_UNIQUE_PROCESS , strserviceshortname : :: windows::core::PCWSTR , filteraction : RM_FILTER_ACTION ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmAddFilter ( dwsessionhandle : u32 , strmodulename : :: windows::core::PCWSTR , pprocess : *const RM_UNIQUE_PROCESS , strserviceshortname : :: windows::core::PCWSTR , filteraction : RM_FILTER_ACTION ) -> u32 ); RmAddFilter(dwsessionhandle, strmodulename.into().abi(), ::core::mem::transmute(pprocess.unwrap_or(::std::ptr::null())), strserviceshortname.into().abi(), filteraction) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] #[inline] pub unsafe fn RmCancelCurrentTask(dwsessionhandle: u32) -> u32 { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmCancelCurrentTask ( dwsessionhandle : u32 ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmCancelCurrentTask ( dwsessionhandle : u32 ) -> u32 ); RmCancelCurrentTask(dwsessionhandle) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] #[inline] pub unsafe fn RmEndSession(dwsessionhandle: u32) -> u32 { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmEndSession ( dwsessionhandle : u32 ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmEndSession ( dwsessionhandle : u32 ) -> u32 ); RmEndSession(dwsessionhandle) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] #[inline] pub unsafe fn RmGetFilterList(dwsessionhandle: u32, pbfilterbuf: ::core::option::Option<&mut [u8]>, cbfilterbufneeded: *mut u32) -> u32 { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmGetFilterList ( dwsessionhandle : u32 , pbfilterbuf : *mut u8 , cbfilterbuf : u32 , cbfilterbufneeded : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmGetFilterList ( dwsessionhandle : u32 , pbfilterbuf : *mut u8 , cbfilterbuf : u32 , cbfilterbufneeded : *mut u32 ) -> u32 ); RmGetFilterList(dwsessionhandle, ::core::mem::transmute(pbfilterbuf.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbfilterbuf.as_deref().map_or(0, |slice| slice.len() as _), cbfilterbufneeded) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RmGetList(dwsessionhandle: u32, pnprocinfoneeded: *mut u32, pnprocinfo: *mut u32, rgaffectedapps: ::core::option::Option<*mut RM_PROCESS_INFO>, lpdwrebootreasons: *mut u32) -> u32 { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmGetList ( dwsessionhandle : u32 , pnprocinfoneeded : *mut u32 , pnprocinfo : *mut u32 , rgaffectedapps : *mut RM_PROCESS_INFO , lpdwrebootreasons : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmGetList ( dwsessionhandle : u32 , pnprocinfoneeded : *mut u32 , pnprocinfo : *mut u32 , rgaffectedapps : *mut RM_PROCESS_INFO , lpdwrebootreasons : *mut u32 ) -> u32 ); RmGetList(dwsessionhandle, pnprocinfoneeded, pnprocinfo, ::core::mem::transmute(rgaffectedapps.unwrap_or(::std::ptr::null_mut())), lpdwrebootreasons) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] @@ -40,14 +40,14 @@ pub unsafe fn RmJoinSession(psessionhandle: *mut u32, strsessionkey: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmJoinSession ( psessionhandle : *mut u32 , strsessionkey : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmJoinSession ( psessionhandle : *mut u32 , strsessionkey : :: windows::core::PCWSTR ) -> u32 ); RmJoinSession(psessionhandle, strsessionkey.into().abi()) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RmRegisterResources(dwsessionhandle: u32, rgsfilenames: ::core::option::Option<&[::windows::core::PCWSTR]>, rgapplications: ::core::option::Option<&[RM_UNIQUE_PROCESS]>, rgsservicenames: ::core::option::Option<&[::windows::core::PCWSTR]>) -> u32 { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmRegisterResources ( dwsessionhandle : u32 , nfiles : u32 , rgsfilenames : *const :: windows::core::PCWSTR , napplications : u32 , rgapplications : *const RM_UNIQUE_PROCESS , nservices : u32 , rgsservicenames : *const :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmRegisterResources ( dwsessionhandle : u32 , nfiles : u32 , rgsfilenames : *const :: windows::core::PCWSTR , napplications : u32 , rgapplications : *const RM_UNIQUE_PROCESS , nservices : u32 , rgsservicenames : *const :: windows::core::PCWSTR ) -> u32 ); RmRegisterResources( dwsessionhandle, rgsfilenames.as_deref().map_or(0, |slice| slice.len() as _), @@ -66,25 +66,25 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmRemoveFilter ( dwsessionhandle : u32 , strmodulename : :: windows::core::PCWSTR , pprocess : *const RM_UNIQUE_PROCESS , strserviceshortname : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmRemoveFilter ( dwsessionhandle : u32 , strmodulename : :: windows::core::PCWSTR , pprocess : *const RM_UNIQUE_PROCESS , strserviceshortname : :: windows::core::PCWSTR ) -> u32 ); RmRemoveFilter(dwsessionhandle, strmodulename.into().abi(), ::core::mem::transmute(pprocess.unwrap_or(::std::ptr::null())), strserviceshortname.into().abi()) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] #[inline] pub unsafe fn RmRestart(dwsessionhandle: u32, dwrestartflags: u32, fnstatus: RM_WRITE_STATUS_CALLBACK) -> u32 { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmRestart ( dwsessionhandle : u32 , dwrestartflags : u32 , fnstatus : RM_WRITE_STATUS_CALLBACK ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmRestart ( dwsessionhandle : u32 , dwrestartflags : u32 , fnstatus : RM_WRITE_STATUS_CALLBACK ) -> u32 ); RmRestart(dwsessionhandle, dwrestartflags, fnstatus) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] #[inline] pub unsafe fn RmShutdown(dwsessionhandle: u32, lactionflags: u32, fnstatus: RM_WRITE_STATUS_CALLBACK) -> u32 { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmShutdown ( dwsessionhandle : u32 , lactionflags : u32 , fnstatus : RM_WRITE_STATUS_CALLBACK ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmShutdown ( dwsessionhandle : u32 , lactionflags : u32 , fnstatus : RM_WRITE_STATUS_CALLBACK ) -> u32 ); RmShutdown(dwsessionhandle, lactionflags, fnstatus) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] #[inline] pub unsafe fn RmStartSession(psessionhandle: *mut u32, dwsessionflags: u32, strsessionkey: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "rstrtmgr.dll""system" fn RmStartSession ( psessionhandle : *mut u32 , dwsessionflags : u32 , strsessionkey : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "rstrtmgr.dll""system" fn RmStartSession ( psessionhandle : *mut u32 , dwsessionflags : u32 , strsessionkey : :: windows::core::PWSTR ) -> u32 ); RmStartSession(psessionhandle, dwsessionflags, ::core::mem::transmute(strsessionkey)) } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs index a929de12d6..f865b34f7a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs @@ -2,14 +2,14 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SRSetRestorePointA(prestoreptspec: *const RESTOREPOINTINFOA, psmgrstatus: *mut STATEMGRSTATUS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "sfc.dll""system" fn SRSetRestorePointA ( prestoreptspec : *const RESTOREPOINTINFOA , psmgrstatus : *mut STATEMGRSTATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sfc.dll""system" fn SRSetRestorePointA ( prestoreptspec : *const RESTOREPOINTINFOA , psmgrstatus : *mut STATEMGRSTATUS ) -> super::super::Foundation:: BOOL ); SRSetRestorePointA(prestoreptspec, psmgrstatus) } #[doc = "*Required features: `\"Win32_System_Restore\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SRSetRestorePointW(prestoreptspec: *const RESTOREPOINTINFOW, psmgrstatus: *mut STATEMGRSTATUS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "sfc.dll""system" fn SRSetRestorePointW ( prestoreptspec : *const RESTOREPOINTINFOW , psmgrstatus : *mut STATEMGRSTATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "sfc.dll""system" fn SRSetRestorePointW ( prestoreptspec : *const RESTOREPOINTINFOW , psmgrstatus : *mut STATEMGRSTATUS ) -> super::super::Foundation:: BOOL ); SRSetRestorePointW(prestoreptspec, psmgrstatus) } #[doc = "*Required features: `\"Win32_System_Restore\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs index 1c93485ba8..8242dcc30c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs @@ -1,13 +1,13 @@ #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn DceErrorInqTextA(rpcstatus: RPC_STATUS, errortext: &mut [u8; 256]) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn DceErrorInqTextA ( rpcstatus : RPC_STATUS , errortext : *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn DceErrorInqTextA ( rpcstatus : RPC_STATUS , errortext : *mut u8 ) -> RPC_STATUS ); DceErrorInqTextA(rpcstatus, ::core::mem::transmute(errortext.as_ptr())) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn DceErrorInqTextW(rpcstatus: RPC_STATUS, errortext: &mut [u16; 256]) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn DceErrorInqTextW ( rpcstatus : RPC_STATUS , errortext : *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn DceErrorInqTextW ( rpcstatus : RPC_STATUS , errortext : *mut u16 ) -> RPC_STATUS ); DceErrorInqTextW(rpcstatus, ::core::mem::transmute(errortext.as_ptr())) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] @@ -16,7 +16,7 @@ pub unsafe fn IUnknown_AddRef_Proxy(this: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn IUnknown_AddRef_Proxy ( this : * mut::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn IUnknown_AddRef_Proxy ( this : * mut::core::ffi::c_void ) -> u32 ); IUnknown_AddRef_Proxy(this.into().abi()) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn IUnknown_QueryInterface_Proxy(this: P0, riid: *const ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn IUnknown_QueryInterface_Proxy ( this : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn IUnknown_QueryInterface_Proxy ( this : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); IUnknown_QueryInterface_Proxy(this.into().abi(), riid, ppvobject).ok() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] @@ -34,576 +34,576 @@ pub unsafe fn IUnknown_Release_Proxy(this: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn IUnknown_Release_Proxy ( this : * mut::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn IUnknown_Release_Proxy ( this : * mut::core::ffi::c_void ) -> u32 ); IUnknown_Release_Proxy(this.into().abi()) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcAllocate(size: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcAllocate ( size : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcAllocate ( size : u32 ) -> *mut ::core::ffi::c_void ); I_RpcAllocate(size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn I_RpcAsyncAbortCall(pasync: *const RPC_ASYNC_STATE, exceptioncode: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcAsyncAbortCall ( pasync : *const RPC_ASYNC_STATE , exceptioncode : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcAsyncAbortCall ( pasync : *const RPC_ASYNC_STATE , exceptioncode : u32 ) -> RPC_STATUS ); I_RpcAsyncAbortCall(pasync, exceptioncode) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn I_RpcAsyncSetHandle(message: *const RPC_MESSAGE, pasync: *const RPC_ASYNC_STATE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcAsyncSetHandle ( message : *const RPC_MESSAGE , pasync : *const RPC_ASYNC_STATE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcAsyncSetHandle ( message : *const RPC_MESSAGE , pasync : *const RPC_ASYNC_STATE ) -> RPC_STATUS ); I_RpcAsyncSetHandle(message, pasync) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingCopy(sourcebinding: *mut ::core::ffi::c_void, destinationbinding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingCopy ( sourcebinding : *mut ::core::ffi::c_void , destinationbinding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingCopy ( sourcebinding : *mut ::core::ffi::c_void , destinationbinding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcBindingCopy(sourcebinding, destinationbinding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingCreateNP(servername: *const u16, servicename: *const u16, networkoptions: *const u16, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingCreateNP ( servername : *const u16 , servicename : *const u16 , networkoptions : *const u16 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingCreateNP ( servername : *const u16 , servicename : *const u16 , networkoptions : *const u16 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcBindingCreateNP(servername, servicename, networkoptions, binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingHandleToAsyncHandle(binding: *mut ::core::ffi::c_void, asynchandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingHandleToAsyncHandle ( binding : *mut ::core::ffi::c_void , asynchandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingHandleToAsyncHandle ( binding : *mut ::core::ffi::c_void , asynchandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcBindingHandleToAsyncHandle(binding, asynchandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn I_RpcBindingInqClientTokenAttributes(binding: *const ::core::ffi::c_void, tokenid: ::core::option::Option<*mut super::super::Foundation::LUID>, authenticationid: ::core::option::Option<*mut super::super::Foundation::LUID>, modifiedid: ::core::option::Option<*mut super::super::Foundation::LUID>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqClientTokenAttributes ( binding : *const ::core::ffi::c_void , tokenid : *mut super::super::Foundation:: LUID , authenticationid : *mut super::super::Foundation:: LUID , modifiedid : *mut super::super::Foundation:: LUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqClientTokenAttributes ( binding : *const ::core::ffi::c_void , tokenid : *mut super::super::Foundation:: LUID , authenticationid : *mut super::super::Foundation:: LUID , modifiedid : *mut super::super::Foundation:: LUID ) -> RPC_STATUS ); I_RpcBindingInqClientTokenAttributes(binding, ::core::mem::transmute(tokenid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authenticationid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(modifiedid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingInqDynamicEndpointA(binding: *const ::core::ffi::c_void, dynamicendpoint: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqDynamicEndpointA ( binding : *const ::core::ffi::c_void , dynamicendpoint : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqDynamicEndpointA ( binding : *const ::core::ffi::c_void , dynamicendpoint : *mut *mut u8 ) -> RPC_STATUS ); I_RpcBindingInqDynamicEndpointA(binding, dynamicendpoint) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingInqDynamicEndpointW(binding: *const ::core::ffi::c_void, dynamicendpoint: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqDynamicEndpointW ( binding : *const ::core::ffi::c_void , dynamicendpoint : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqDynamicEndpointW ( binding : *const ::core::ffi::c_void , dynamicendpoint : *mut *mut u16 ) -> RPC_STATUS ); I_RpcBindingInqDynamicEndpointW(binding, dynamicendpoint) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingInqLocalClientPID(binding: *mut ::core::ffi::c_void, pid: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqLocalClientPID ( binding : *mut ::core::ffi::c_void , pid : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqLocalClientPID ( binding : *mut ::core::ffi::c_void , pid : *mut u32 ) -> RPC_STATUS ); I_RpcBindingInqLocalClientPID(binding, pid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingInqMarshalledTargetInfo(binding: *const ::core::ffi::c_void, marshalledtargetinfosize: *mut u32, marshalledtargetinfo: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqMarshalledTargetInfo ( binding : *const ::core::ffi::c_void , marshalledtargetinfosize : *mut u32 , marshalledtargetinfo : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqMarshalledTargetInfo ( binding : *const ::core::ffi::c_void , marshalledtargetinfosize : *mut u32 , marshalledtargetinfo : *mut *mut u8 ) -> RPC_STATUS ); I_RpcBindingInqMarshalledTargetInfo(binding, marshalledtargetinfosize, marshalledtargetinfo) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingInqSecurityContext(binding: *mut ::core::ffi::c_void, securitycontexthandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqSecurityContext ( binding : *mut ::core::ffi::c_void , securitycontexthandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqSecurityContext ( binding : *mut ::core::ffi::c_void , securitycontexthandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcBindingInqSecurityContext(binding, securitycontexthandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingInqSecurityContextKeyInfo(binding: ::core::option::Option<*const ::core::ffi::c_void>, keyinfo: *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqSecurityContextKeyInfo ( binding : *const ::core::ffi::c_void , keyinfo : *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqSecurityContextKeyInfo ( binding : *const ::core::ffi::c_void , keyinfo : *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcBindingInqSecurityContextKeyInfo(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), keyinfo) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingInqTransportType(binding: *mut ::core::ffi::c_void, r#type: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqTransportType ( binding : *mut ::core::ffi::c_void , r#type : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqTransportType ( binding : *mut ::core::ffi::c_void , r#type : *mut u32 ) -> RPC_STATUS ); I_RpcBindingInqTransportType(binding, r#type) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingInqWireIdForSnego(binding: *const ::core::ffi::c_void, wireid: *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqWireIdForSnego ( binding : *const ::core::ffi::c_void , wireid : *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingInqWireIdForSnego ( binding : *const ::core::ffi::c_void , wireid : *mut u8 ) -> RPC_STATUS ); I_RpcBindingInqWireIdForSnego(binding, wireid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingIsClientLocal(bindinghandle: *mut ::core::ffi::c_void, clientlocalflag: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingIsClientLocal ( bindinghandle : *mut ::core::ffi::c_void , clientlocalflag : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingIsClientLocal ( bindinghandle : *mut ::core::ffi::c_void , clientlocalflag : *mut u32 ) -> RPC_STATUS ); I_RpcBindingIsClientLocal(bindinghandle, clientlocalflag) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingIsServerLocal(binding: *const ::core::ffi::c_void, serverlocalflag: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingIsServerLocal ( binding : *const ::core::ffi::c_void , serverlocalflag : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingIsServerLocal ( binding : *const ::core::ffi::c_void , serverlocalflag : *mut u32 ) -> RPC_STATUS ); I_RpcBindingIsServerLocal(binding, serverlocalflag) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingSetPrivateOption(hbinding: *const ::core::ffi::c_void, option: u32, optionvalue: usize) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingSetPrivateOption ( hbinding : *const ::core::ffi::c_void , option : u32 , optionvalue : usize ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingSetPrivateOption ( hbinding : *const ::core::ffi::c_void , option : u32 , optionvalue : usize ) -> RPC_STATUS ); I_RpcBindingSetPrivateOption(hbinding, option, optionvalue) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcBindingToStaticStringBindingW(binding: *mut ::core::ffi::c_void, stringbinding: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcBindingToStaticStringBindingW ( binding : *mut ::core::ffi::c_void , stringbinding : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcBindingToStaticStringBindingW ( binding : *mut ::core::ffi::c_void , stringbinding : *mut *mut u16 ) -> RPC_STATUS ); I_RpcBindingToStaticStringBindingW(binding, stringbinding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcClearMutex(mutex: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcClearMutex ( mutex : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcClearMutex ( mutex : *mut ::core::ffi::c_void ) -> ( ) ); I_RpcClearMutex(mutex) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcDeleteMutex(mutex: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcDeleteMutex ( mutex : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcDeleteMutex ( mutex : *mut ::core::ffi::c_void ) -> ( ) ); I_RpcDeleteMutex(mutex) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcExceptionFilter(exceptioncode: u32) -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcExceptionFilter ( exceptioncode : u32 ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcExceptionFilter ( exceptioncode : u32 ) -> i32 ); I_RpcExceptionFilter(exceptioncode) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcFree(object: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcFree ( object : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcFree ( object : *mut ::core::ffi::c_void ) -> ( ) ); I_RpcFree(object) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcFreeBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcFreeBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcFreeBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); I_RpcFreeBuffer(message) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcFreePipeBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcFreePipeBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcFreePipeBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); I_RpcFreePipeBuffer(message) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcGetBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcGetBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcGetBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); I_RpcGetBuffer(message) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcGetBufferWithObject(message: *mut RPC_MESSAGE, objectuuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcGetBufferWithObject ( message : *mut RPC_MESSAGE , objectuuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcGetBufferWithObject ( message : *mut RPC_MESSAGE , objectuuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); I_RpcGetBufferWithObject(message, objectuuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcGetCurrentCallHandle() -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcGetCurrentCallHandle ( ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcGetCurrentCallHandle ( ) -> *mut ::core::ffi::c_void ); I_RpcGetCurrentCallHandle() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcGetDefaultSD(ppsecuritydescriptor: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcGetDefaultSD ( ppsecuritydescriptor : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcGetDefaultSD ( ppsecuritydescriptor : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcGetDefaultSD(ppsecuritydescriptor) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcGetExtendedError() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcGetExtendedError ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcGetExtendedError ( ) -> RPC_STATUS ); I_RpcGetExtendedError() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcIfInqTransferSyntaxes(rpcifhandle: *mut ::core::ffi::c_void, transfersyntaxes: *mut RPC_TRANSFER_SYNTAX, transfersyntaxsize: u32, transfersyntaxcount: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcIfInqTransferSyntaxes ( rpcifhandle : *mut ::core::ffi::c_void , transfersyntaxes : *mut RPC_TRANSFER_SYNTAX , transfersyntaxsize : u32 , transfersyntaxcount : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcIfInqTransferSyntaxes ( rpcifhandle : *mut ::core::ffi::c_void , transfersyntaxes : *mut RPC_TRANSFER_SYNTAX , transfersyntaxsize : u32 , transfersyntaxcount : *mut u32 ) -> RPC_STATUS ); I_RpcIfInqTransferSyntaxes(rpcifhandle, transfersyntaxes, transfersyntaxsize, transfersyntaxcount) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcMapWin32Status(status: RPC_STATUS) -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcMapWin32Status ( status : RPC_STATUS ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcMapWin32Status ( status : RPC_STATUS ) -> i32 ); I_RpcMapWin32Status(status) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcMgmtEnableDedicatedThreadPool() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcMgmtEnableDedicatedThreadPool ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcMgmtEnableDedicatedThreadPool ( ) -> RPC_STATUS ); I_RpcMgmtEnableDedicatedThreadPool() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcNegotiateTransferSyntax(message: *mut RPC_MESSAGE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcNegotiateTransferSyntax ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcNegotiateTransferSyntax ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); I_RpcNegotiateTransferSyntax(message) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcNsBindingSetEntryNameA(binding: *const ::core::ffi::c_void, entrynamesyntax: u32, entryname: *const u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcNsBindingSetEntryNameA ( binding : *const ::core::ffi::c_void , entrynamesyntax : u32 , entryname : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcNsBindingSetEntryNameA ( binding : *const ::core::ffi::c_void , entrynamesyntax : u32 , entryname : *const u8 ) -> RPC_STATUS ); I_RpcNsBindingSetEntryNameA(binding, entrynamesyntax, entryname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcNsBindingSetEntryNameW(binding: *const ::core::ffi::c_void, entrynamesyntax: u32, entryname: *const u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcNsBindingSetEntryNameW ( binding : *const ::core::ffi::c_void , entrynamesyntax : u32 , entryname : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcNsBindingSetEntryNameW ( binding : *const ::core::ffi::c_void , entrynamesyntax : u32 , entryname : *const u16 ) -> RPC_STATUS ); I_RpcNsBindingSetEntryNameW(binding, entrynamesyntax, entryname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcNsGetBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn I_RpcNsGetBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn I_RpcNsGetBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); I_RpcNsGetBuffer(message) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcNsInterfaceExported(entrynamesyntax: u32, entryname: *const u16, rpcinterfaceinformation: *const RPC_SERVER_INTERFACE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcNsInterfaceExported ( entrynamesyntax : u32 , entryname : *const u16 , rpcinterfaceinformation : *const RPC_SERVER_INTERFACE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcNsInterfaceExported ( entrynamesyntax : u32 , entryname : *const u16 , rpcinterfaceinformation : *const RPC_SERVER_INTERFACE ) -> RPC_STATUS ); I_RpcNsInterfaceExported(entrynamesyntax, entryname, rpcinterfaceinformation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcNsInterfaceUnexported(entrynamesyntax: u32, entryname: *mut u16, rpcinterfaceinformation: *mut RPC_SERVER_INTERFACE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcNsInterfaceUnexported ( entrynamesyntax : u32 , entryname : *mut u16 , rpcinterfaceinformation : *mut RPC_SERVER_INTERFACE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcNsInterfaceUnexported ( entrynamesyntax : u32 , entryname : *mut u16 , rpcinterfaceinformation : *mut RPC_SERVER_INTERFACE ) -> RPC_STATUS ); I_RpcNsInterfaceUnexported(entrynamesyntax, entryname, rpcinterfaceinformation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcNsRaiseException(message: *mut RPC_MESSAGE, status: RPC_STATUS) { - ::windows::core::link ! ( "rpcns4.dll""system" fn I_RpcNsRaiseException ( message : *mut RPC_MESSAGE , status : RPC_STATUS ) -> ( ) ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn I_RpcNsRaiseException ( message : *mut RPC_MESSAGE , status : RPC_STATUS ) -> ( ) ); I_RpcNsRaiseException(message, status) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcNsSendReceive(message: *mut RPC_MESSAGE, handle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn I_RpcNsSendReceive ( message : *mut RPC_MESSAGE , handle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn I_RpcNsSendReceive ( message : *mut RPC_MESSAGE , handle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcNsSendReceive(message, handle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcOpenClientProcess(binding: ::core::option::Option<*const ::core::ffi::c_void>, desiredaccess: u32, clientprocess: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcOpenClientProcess ( binding : *const ::core::ffi::c_void , desiredaccess : u32 , clientprocess : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcOpenClientProcess ( binding : *const ::core::ffi::c_void , desiredaccess : u32 , clientprocess : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcOpenClientProcess(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), desiredaccess, clientprocess) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcPauseExecution(milliseconds: u32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcPauseExecution ( milliseconds : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcPauseExecution ( milliseconds : u32 ) -> ( ) ); I_RpcPauseExecution(milliseconds) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcReBindBuffer(message: *mut RPC_MESSAGE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn I_RpcReBindBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn I_RpcReBindBuffer ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); I_RpcReBindBuffer(message) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcReallocPipeBuffer(message: *const RPC_MESSAGE, newsize: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcReallocPipeBuffer ( message : *const RPC_MESSAGE , newsize : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcReallocPipeBuffer ( message : *const RPC_MESSAGE , newsize : u32 ) -> RPC_STATUS ); I_RpcReallocPipeBuffer(message, newsize) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcReceive(message: *mut RPC_MESSAGE, size: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcReceive ( message : *mut RPC_MESSAGE , size : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcReceive ( message : *mut RPC_MESSAGE , size : u32 ) -> RPC_STATUS ); I_RpcReceive(message, size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcRecordCalloutFailure(rpcstatus: RPC_STATUS, calloutstate: *mut RDR_CALLOUT_STATE, dllname: *mut u16) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcRecordCalloutFailure ( rpcstatus : RPC_STATUS , calloutstate : *mut RDR_CALLOUT_STATE , dllname : *mut u16 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcRecordCalloutFailure ( rpcstatus : RPC_STATUS , calloutstate : *mut RDR_CALLOUT_STATE , dllname : *mut u16 ) -> ( ) ); I_RpcRecordCalloutFailure(rpcstatus, calloutstate, dllname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcRequestMutex(mutex: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcRequestMutex ( mutex : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcRequestMutex ( mutex : *mut *mut ::core::ffi::c_void ) -> ( ) ); I_RpcRequestMutex(mutex) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcSend(message: *mut RPC_MESSAGE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcSend ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcSend ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); I_RpcSend(message) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcSendReceive(message: *mut RPC_MESSAGE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcSendReceive ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcSendReceive ( message : *mut RPC_MESSAGE ) -> RPC_STATUS ); I_RpcSendReceive(message) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerCheckClientRestriction(context: *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerCheckClientRestriction ( context : *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerCheckClientRestriction ( context : *mut ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcServerCheckClientRestriction(context) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerDisableExceptionFilter() -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerDisableExceptionFilter ( ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerDisableExceptionFilter ( ) -> i32 ); I_RpcServerDisableExceptionFilter() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerGetAssociationID(binding: ::core::option::Option<*const ::core::ffi::c_void>, associationid: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerGetAssociationID ( binding : *const ::core::ffi::c_void , associationid : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerGetAssociationID ( binding : *const ::core::ffi::c_void , associationid : *mut u32 ) -> RPC_STATUS ); I_RpcServerGetAssociationID(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), associationid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerInqAddressChangeFn() -> *mut RPC_ADDRESS_CHANGE_FN { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerInqAddressChangeFn ( ) -> *mut RPC_ADDRESS_CHANGE_FN ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerInqAddressChangeFn ( ) -> *mut RPC_ADDRESS_CHANGE_FN ); I_RpcServerInqAddressChangeFn() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerInqLocalConnAddress(binding: *mut ::core::ffi::c_void, buffer: *mut ::core::ffi::c_void, buffersize: *mut u32, addressformat: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerInqLocalConnAddress ( binding : *mut ::core::ffi::c_void , buffer : *mut ::core::ffi::c_void , buffersize : *mut u32 , addressformat : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerInqLocalConnAddress ( binding : *mut ::core::ffi::c_void , buffer : *mut ::core::ffi::c_void , buffersize : *mut u32 , addressformat : *mut u32 ) -> RPC_STATUS ); I_RpcServerInqLocalConnAddress(binding, buffer, buffersize, addressformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerInqRemoteConnAddress(binding: *mut ::core::ffi::c_void, buffer: *mut ::core::ffi::c_void, buffersize: *mut u32, addressformat: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerInqRemoteConnAddress ( binding : *mut ::core::ffi::c_void , buffer : *mut ::core::ffi::c_void , buffersize : *mut u32 , addressformat : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerInqRemoteConnAddress ( binding : *mut ::core::ffi::c_void , buffer : *mut ::core::ffi::c_void , buffersize : *mut u32 , addressformat : *mut u32 ) -> RPC_STATUS ); I_RpcServerInqRemoteConnAddress(binding, buffer, buffersize, addressformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerInqTransportType(r#type: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerInqTransportType ( r#type : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerInqTransportType ( r#type : *mut u32 ) -> RPC_STATUS ); I_RpcServerInqTransportType(r#type) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerRegisterForwardFunction(pforwardfunction: *mut RPC_FORWARD_FUNCTION) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerRegisterForwardFunction ( pforwardfunction : *mut RPC_FORWARD_FUNCTION ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerRegisterForwardFunction ( pforwardfunction : *mut RPC_FORWARD_FUNCTION ) -> RPC_STATUS ); I_RpcServerRegisterForwardFunction(pforwardfunction) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerSetAddressChangeFn(paddresschangefn: *mut RPC_ADDRESS_CHANGE_FN) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerSetAddressChangeFn ( paddresschangefn : *mut RPC_ADDRESS_CHANGE_FN ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerSetAddressChangeFn ( paddresschangefn : *mut RPC_ADDRESS_CHANGE_FN ) -> RPC_STATUS ); I_RpcServerSetAddressChangeFn(paddresschangefn) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerStartService(protseq: *const u16, endpoint: *const u16, ifspec: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerStartService ( protseq : *const u16 , endpoint : *const u16 , ifspec : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerStartService ( protseq : *const u16 , endpoint : *const u16 , ifspec : *const ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcServerStartService(protseq, endpoint, ifspec) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerSubscribeForDisconnectNotification(binding: ::core::option::Option<*const ::core::ffi::c_void>, hevent: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerSubscribeForDisconnectNotification ( binding : *const ::core::ffi::c_void , hevent : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerSubscribeForDisconnectNotification ( binding : *const ::core::ffi::c_void , hevent : *const ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcServerSubscribeForDisconnectNotification(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), ::core::mem::transmute(hevent.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerSubscribeForDisconnectNotification2(binding: ::core::option::Option<*const ::core::ffi::c_void>, hevent: *const ::core::ffi::c_void, subscriptionid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerSubscribeForDisconnectNotification2 ( binding : *const ::core::ffi::c_void , hevent : *const ::core::ffi::c_void , subscriptionid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerSubscribeForDisconnectNotification2 ( binding : *const ::core::ffi::c_void , hevent : *const ::core::ffi::c_void , subscriptionid : *mut :: windows::core::GUID ) -> RPC_STATUS ); I_RpcServerSubscribeForDisconnectNotification2(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), hevent, subscriptionid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerUnsubscribeForDisconnectNotification(binding: ::core::option::Option<*const ::core::ffi::c_void>, subscriptionid: ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerUnsubscribeForDisconnectNotification ( binding : *const ::core::ffi::c_void , subscriptionid : :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerUnsubscribeForDisconnectNotification ( binding : *const ::core::ffi::c_void , subscriptionid : :: windows::core::GUID ) -> RPC_STATUS ); I_RpcServerUnsubscribeForDisconnectNotification(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), ::core::mem::transmute(subscriptionid)) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerUseProtseq2A(networkaddress: ::core::option::Option<*const u8>, protseq: *const u8, maxcalls: u32, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerUseProtseq2A ( networkaddress : *const u8 , protseq : *const u8 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerUseProtseq2A ( networkaddress : *const u8 , protseq : *const u8 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcServerUseProtseq2A(::core::mem::transmute(networkaddress.unwrap_or(::std::ptr::null())), protseq, maxcalls, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerUseProtseq2W(networkaddress: ::core::option::Option<*const u16>, protseq: *const u16, maxcalls: u32, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerUseProtseq2W ( networkaddress : *const u16 , protseq : *const u16 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerUseProtseq2W ( networkaddress : *const u16 , protseq : *const u16 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcServerUseProtseq2W(::core::mem::transmute(networkaddress.unwrap_or(::std::ptr::null())), protseq, maxcalls, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerUseProtseqEp2A(networkaddress: ::core::option::Option<*const u8>, protseq: *const u8, maxcalls: u32, endpoint: *const u8, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerUseProtseqEp2A ( networkaddress : *const u8 , protseq : *const u8 , maxcalls : u32 , endpoint : *const u8 , securitydescriptor : *const ::core::ffi::c_void , policy : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerUseProtseqEp2A ( networkaddress : *const u8 , protseq : *const u8 , maxcalls : u32 , endpoint : *const u8 , securitydescriptor : *const ::core::ffi::c_void , policy : *const ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcServerUseProtseqEp2A(::core::mem::transmute(networkaddress.unwrap_or(::std::ptr::null())), protseq, maxcalls, endpoint, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcServerUseProtseqEp2W(networkaddress: ::core::option::Option<*const u16>, protseq: *const u16, maxcalls: u32, endpoint: *const u16, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcServerUseProtseqEp2W ( networkaddress : *const u16 , protseq : *const u16 , maxcalls : u32 , endpoint : *const u16 , securitydescriptor : *const ::core::ffi::c_void , policy : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcServerUseProtseqEp2W ( networkaddress : *const u16 , protseq : *const u16 , maxcalls : u32 , endpoint : *const u16 , securitydescriptor : *const ::core::ffi::c_void , policy : *const ::core::ffi::c_void ) -> RPC_STATUS ); I_RpcServerUseProtseqEp2W(::core::mem::transmute(networkaddress.unwrap_or(::std::ptr::null())), protseq, maxcalls, endpoint, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcSessionStrictContextHandle() { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcSessionStrictContextHandle ( ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcSessionStrictContextHandle ( ) -> ( ) ); I_RpcSessionStrictContextHandle() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcSsDontSerializeContext() { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcSsDontSerializeContext ( ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcSsDontSerializeContext ( ) -> ( ) ); I_RpcSsDontSerializeContext() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcSystemHandleTypeSpecificWork(handle: *mut ::core::ffi::c_void, actualtype: u8, idltype: u8, marshaldirection: LRPC_SYSTEM_HANDLE_MARSHAL_DIRECTION) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcSystemHandleTypeSpecificWork ( handle : *mut ::core::ffi::c_void , actualtype : u8 , idltype : u8 , marshaldirection : LRPC_SYSTEM_HANDLE_MARSHAL_DIRECTION ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcSystemHandleTypeSpecificWork ( handle : *mut ::core::ffi::c_void , actualtype : u8 , idltype : u8 , marshaldirection : LRPC_SYSTEM_HANDLE_MARSHAL_DIRECTION ) -> RPC_STATUS ); I_RpcSystemHandleTypeSpecificWork(handle, actualtype, idltype, marshaldirection) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_RpcTurnOnEEInfoPropagation() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_RpcTurnOnEEInfoPropagation ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_RpcTurnOnEEInfoPropagation ( ) -> RPC_STATUS ); I_RpcTurnOnEEInfoPropagation() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn I_UuidCreate(uuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn I_UuidCreate ( uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn I_UuidCreate ( uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); I_UuidCreate(uuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesBufferHandleReset(handle: *const ::core::ffi::c_void, handlestyle: u32, operation: MIDL_ES_CODE, pbuffer: ::core::option::Option<&[u8]>, pencodedsize: ::core::option::Option<*mut u32>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesBufferHandleReset ( handle : *const ::core::ffi::c_void , handlestyle : u32 , operation : MIDL_ES_CODE , pbuffer : *const *const i8 , buffersize : u32 , pencodedsize : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesBufferHandleReset ( handle : *const ::core::ffi::c_void , handlestyle : u32 , operation : MIDL_ES_CODE , pbuffer : *const *const i8 , buffersize : u32 , pencodedsize : *mut u32 ) -> RPC_STATUS ); MesBufferHandleReset(handle, handlestyle, operation, ::core::mem::transmute(pbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pencodedsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesDecodeBufferHandleCreate(buffer: &[u8], phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesDecodeBufferHandleCreate ( buffer : :: windows::core::PCSTR , buffersize : u32 , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesDecodeBufferHandleCreate ( buffer : :: windows::core::PCSTR , buffersize : u32 , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); MesDecodeBufferHandleCreate(::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, phandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesDecodeIncrementalHandleCreate(userstate: *mut ::core::ffi::c_void, readfn: MIDL_ES_READ, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesDecodeIncrementalHandleCreate ( userstate : *mut ::core::ffi::c_void , readfn : MIDL_ES_READ , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesDecodeIncrementalHandleCreate ( userstate : *mut ::core::ffi::c_void , readfn : MIDL_ES_READ , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); MesDecodeIncrementalHandleCreate(userstate, readfn, phandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesEncodeDynBufferHandleCreate(pbuffer: *mut *mut i8, pencodedsize: *mut u32, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesEncodeDynBufferHandleCreate ( pbuffer : *mut *mut i8 , pencodedsize : *mut u32 , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesEncodeDynBufferHandleCreate ( pbuffer : *mut *mut i8 , pencodedsize : *mut u32 , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); MesEncodeDynBufferHandleCreate(pbuffer, pencodedsize, phandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesEncodeFixedBufferHandleCreate(pbuffer: &mut [u8], pencodedsize: *mut u32, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesEncodeFixedBufferHandleCreate ( pbuffer : :: windows::core::PSTR , buffersize : u32 , pencodedsize : *mut u32 , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesEncodeFixedBufferHandleCreate ( pbuffer : :: windows::core::PSTR , buffersize : u32 , pencodedsize : *mut u32 , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); MesEncodeFixedBufferHandleCreate(::core::mem::transmute(pbuffer.as_ptr()), pbuffer.len() as _, pencodedsize, phandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesEncodeIncrementalHandleCreate(userstate: *mut ::core::ffi::c_void, allocfn: MIDL_ES_ALLOC, writefn: MIDL_ES_WRITE, phandle: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesEncodeIncrementalHandleCreate ( userstate : *mut ::core::ffi::c_void , allocfn : MIDL_ES_ALLOC , writefn : MIDL_ES_WRITE , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesEncodeIncrementalHandleCreate ( userstate : *mut ::core::ffi::c_void , allocfn : MIDL_ES_ALLOC , writefn : MIDL_ES_WRITE , phandle : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); MesEncodeIncrementalHandleCreate(userstate, allocfn, writefn, phandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesHandleFree(handle: *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesHandleFree ( handle : *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesHandleFree ( handle : *mut ::core::ffi::c_void ) -> RPC_STATUS ); MesHandleFree(handle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesIncrementalHandleReset(handle: *mut ::core::ffi::c_void, userstate: *mut ::core::ffi::c_void, allocfn: MIDL_ES_ALLOC, writefn: MIDL_ES_WRITE, readfn: MIDL_ES_READ, operation: MIDL_ES_CODE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesIncrementalHandleReset ( handle : *mut ::core::ffi::c_void , userstate : *mut ::core::ffi::c_void , allocfn : MIDL_ES_ALLOC , writefn : MIDL_ES_WRITE , readfn : MIDL_ES_READ , operation : MIDL_ES_CODE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesIncrementalHandleReset ( handle : *mut ::core::ffi::c_void , userstate : *mut ::core::ffi::c_void , allocfn : MIDL_ES_ALLOC , writefn : MIDL_ES_WRITE , readfn : MIDL_ES_READ , operation : MIDL_ES_CODE ) -> RPC_STATUS ); MesIncrementalHandleReset(handle, userstate, allocfn, writefn, readfn, operation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn MesInqProcEncodingId(handle: *mut ::core::ffi::c_void, pinterfaceid: *mut RPC_SYNTAX_IDENTIFIER, pprocnum: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn MesInqProcEncodingId ( handle : *mut ::core::ffi::c_void , pinterfaceid : *mut RPC_SYNTAX_IDENTIFIER , pprocnum : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn MesInqProcEncodingId ( handle : *mut ::core::ffi::c_void , pinterfaceid : *mut RPC_SYNTAX_IDENTIFIER , pprocnum : *mut u32 ) -> RPC_STATUS ); MesInqProcEncodingId(handle, pinterfaceid, pprocnum) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRCContextBinding(ccontext: isize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRCContextBinding ( ccontext : isize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRCContextBinding ( ccontext : isize ) -> *mut ::core::ffi::c_void ); NDRCContextBinding(ccontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRCContextMarshall(ccontext: isize, pbuff: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRCContextMarshall ( ccontext : isize , pbuff : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRCContextMarshall ( ccontext : isize , pbuff : *mut ::core::ffi::c_void ) -> ( ) ); NDRCContextMarshall(ccontext, pbuff) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRCContextUnmarshall(pccontext: ::core::option::Option<*mut isize>, hbinding: *const ::core::ffi::c_void, pbuff: *const ::core::ffi::c_void, datarepresentation: u32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRCContextUnmarshall ( pccontext : *mut isize , hbinding : *const ::core::ffi::c_void , pbuff : *const ::core::ffi::c_void , datarepresentation : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRCContextUnmarshall ( pccontext : *mut isize , hbinding : *const ::core::ffi::c_void , pbuff : *const ::core::ffi::c_void , datarepresentation : u32 ) -> ( ) ); NDRCContextUnmarshall(::core::mem::transmute(pccontext.unwrap_or(::std::ptr::null_mut())), hbinding, pbuff, datarepresentation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRSContextMarshall(ccontext: *const NDR_SCONTEXT_1, pbuff: *mut ::core::ffi::c_void, userrundownin: NDR_RUNDOWN) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRSContextMarshall ( ccontext : *const NDR_SCONTEXT_1 , pbuff : *mut ::core::ffi::c_void , userrundownin : NDR_RUNDOWN ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRSContextMarshall ( ccontext : *const NDR_SCONTEXT_1 , pbuff : *mut ::core::ffi::c_void , userrundownin : NDR_RUNDOWN ) -> ( ) ); NDRSContextMarshall(ccontext, pbuff, userrundownin) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRSContextMarshall2(bindinghandle: *const ::core::ffi::c_void, ccontext: *const NDR_SCONTEXT_1, pbuff: *mut ::core::ffi::c_void, userrundownin: NDR_RUNDOWN, ctxguard: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRSContextMarshall2 ( bindinghandle : *const ::core::ffi::c_void , ccontext : *const NDR_SCONTEXT_1 , pbuff : *mut ::core::ffi::c_void , userrundownin : NDR_RUNDOWN , ctxguard : *const ::core::ffi::c_void , flags : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRSContextMarshall2 ( bindinghandle : *const ::core::ffi::c_void , ccontext : *const NDR_SCONTEXT_1 , pbuff : *mut ::core::ffi::c_void , userrundownin : NDR_RUNDOWN , ctxguard : *const ::core::ffi::c_void , flags : u32 ) -> ( ) ); NDRSContextMarshall2(bindinghandle, ccontext, pbuff, userrundownin, ::core::mem::transmute(ctxguard.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRSContextMarshallEx(bindinghandle: *const ::core::ffi::c_void, ccontext: *const NDR_SCONTEXT_1, pbuff: *mut ::core::ffi::c_void, userrundownin: NDR_RUNDOWN) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRSContextMarshallEx ( bindinghandle : *const ::core::ffi::c_void , ccontext : *const NDR_SCONTEXT_1 , pbuff : *mut ::core::ffi::c_void , userrundownin : NDR_RUNDOWN ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRSContextMarshallEx ( bindinghandle : *const ::core::ffi::c_void , ccontext : *const NDR_SCONTEXT_1 , pbuff : *mut ::core::ffi::c_void , userrundownin : NDR_RUNDOWN ) -> ( ) ); NDRSContextMarshallEx(bindinghandle, ccontext, pbuff, userrundownin) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRSContextUnmarshall(pbuff: *const ::core::ffi::c_void, datarepresentation: u32) -> *mut NDR_SCONTEXT_1 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRSContextUnmarshall ( pbuff : *const ::core::ffi::c_void , datarepresentation : u32 ) -> *mut NDR_SCONTEXT_1 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRSContextUnmarshall ( pbuff : *const ::core::ffi::c_void , datarepresentation : u32 ) -> *mut NDR_SCONTEXT_1 ); NDRSContextUnmarshall(pbuff, datarepresentation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRSContextUnmarshall2(bindinghandle: *const ::core::ffi::c_void, pbuff: ::core::option::Option<*const ::core::ffi::c_void>, datarepresentation: u32, ctxguard: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32) -> *mut NDR_SCONTEXT_1 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRSContextUnmarshall2 ( bindinghandle : *const ::core::ffi::c_void , pbuff : *const ::core::ffi::c_void , datarepresentation : u32 , ctxguard : *const ::core::ffi::c_void , flags : u32 ) -> *mut NDR_SCONTEXT_1 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRSContextUnmarshall2 ( bindinghandle : *const ::core::ffi::c_void , pbuff : *const ::core::ffi::c_void , datarepresentation : u32 , ctxguard : *const ::core::ffi::c_void , flags : u32 ) -> *mut NDR_SCONTEXT_1 ); NDRSContextUnmarshall2(bindinghandle, ::core::mem::transmute(pbuff.unwrap_or(::std::ptr::null())), datarepresentation, ::core::mem::transmute(ctxguard.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NDRSContextUnmarshallEx(bindinghandle: *const ::core::ffi::c_void, pbuff: *const ::core::ffi::c_void, datarepresentation: u32) -> *mut NDR_SCONTEXT_1 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NDRSContextUnmarshallEx ( bindinghandle : *const ::core::ffi::c_void , pbuff : *const ::core::ffi::c_void , datarepresentation : u32 ) -> *mut NDR_SCONTEXT_1 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NDRSContextUnmarshallEx ( bindinghandle : *const ::core::ffi::c_void , pbuff : *const ::core::ffi::c_void , datarepresentation : u32 ) -> *mut NDR_SCONTEXT_1 ); NDRSContextUnmarshallEx(bindinghandle, pbuff, datarepresentation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn Ndr64AsyncClientCall(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn Ndr64AsyncClientCall ( pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO , nprocnum : u32 , preturnvalue : *mut ::core::ffi::c_void ) -> CLIENT_CALL_RETURN ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn Ndr64AsyncClientCall ( pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO , nprocnum : u32 , preturnvalue : *mut ::core::ffi::c_void ) -> CLIENT_CALL_RETURN ); Ndr64AsyncClientCall(pproxyinfo, nprocnum, preturnvalue) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn Ndr64AsyncServerCall64(prpcmsg: *mut RPC_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn Ndr64AsyncServerCall64 ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn Ndr64AsyncServerCall64 ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); Ndr64AsyncServerCall64(prpcmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn Ndr64AsyncServerCallAll(prpcmsg: *mut RPC_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn Ndr64AsyncServerCallAll ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn Ndr64AsyncServerCallAll ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); Ndr64AsyncServerCallAll(prpcmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn Ndr64DcomAsyncClientCall(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn Ndr64DcomAsyncClientCall ( pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO , nprocnum : u32 , preturnvalue : *mut ::core::ffi::c_void ) -> CLIENT_CALL_RETURN ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn Ndr64DcomAsyncClientCall ( pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO , nprocnum : u32 , preturnvalue : *mut ::core::ffi::c_void ) -> CLIENT_CALL_RETURN ); Ndr64DcomAsyncClientCall(pproxyinfo, nprocnum, preturnvalue) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] @@ -614,391 +614,391 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn Ndr64DcomAsyncStubCall ( pthis : * mut::core::ffi::c_void , pchannel : * mut::core::ffi::c_void , prpcmsg : *mut RPC_MESSAGE , pdwstubphase : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn Ndr64DcomAsyncStubCall ( pthis : * mut::core::ffi::c_void , pchannel : * mut::core::ffi::c_void , prpcmsg : *mut RPC_MESSAGE , pdwstubphase : *mut u32 ) -> i32 ); Ndr64DcomAsyncStubCall(pthis.into().abi(), pchannel.into().abi(), prpcmsg, pdwstubphase) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrAllocate(pstubmsg: *mut MIDL_STUB_MESSAGE, len: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrAllocate ( pstubmsg : *mut MIDL_STUB_MESSAGE , len : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrAllocate ( pstubmsg : *mut MIDL_STUB_MESSAGE , len : usize ) -> *mut ::core::ffi::c_void ); NdrAllocate(pstubmsg, len) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrAsyncClientCall(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn NdrAsyncClientCall ( pstubdescriptor : *mut MIDL_STUB_DESC , pformat : *mut u8 ) -> CLIENT_CALL_RETURN ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn NdrAsyncClientCall ( pstubdescriptor : *mut MIDL_STUB_DESC , pformat : *mut u8 ) -> CLIENT_CALL_RETURN ); NdrAsyncClientCall(pstubdescriptor, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrAsyncServerCall(prpcmsg: *mut RPC_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrAsyncServerCall ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrAsyncServerCall ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); NdrAsyncServerCall(prpcmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrByteCountPointerBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrByteCountPointerBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrByteCountPointerBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrByteCountPointerBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrByteCountPointerFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrByteCountPointerFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrByteCountPointerFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrByteCountPointerFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrByteCountPointerMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrByteCountPointerMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrByteCountPointerMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrByteCountPointerMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrByteCountPointerUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrByteCountPointerUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrByteCountPointerUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrByteCountPointerUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrClearOutParameters(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8, argaddr: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrClearOutParameters ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 , argaddr : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrClearOutParameters ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 , argaddr : *mut ::core::ffi::c_void ) -> ( ) ); NdrClearOutParameters(pstubmsg, pformat, argaddr) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrClientCall2(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn NdrClientCall2 ( pstubdescriptor : *mut MIDL_STUB_DESC , pformat : *mut u8 ) -> CLIENT_CALL_RETURN ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn NdrClientCall2 ( pstubdescriptor : *mut MIDL_STUB_DESC , pformat : *mut u8 ) -> CLIENT_CALL_RETURN ); NdrClientCall2(pstubdescriptor, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrClientCall3(pproxyinfo: *mut MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn NdrClientCall3 ( pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO , nprocnum : u32 , preturnvalue : *mut ::core::ffi::c_void ) -> CLIENT_CALL_RETURN ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn NdrClientCall3 ( pproxyinfo : *mut MIDL_STUBLESS_PROXY_INFO , nprocnum : u32 , preturnvalue : *mut ::core::ffi::c_void ) -> CLIENT_CALL_RETURN ); NdrClientCall3(pproxyinfo, nprocnum, preturnvalue) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrClientContextMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, contexthandle: isize, fcheck: i32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrClientContextMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , contexthandle : isize , fcheck : i32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrClientContextMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , contexthandle : isize , fcheck : i32 ) -> ( ) ); NdrClientContextMarshall(pstubmsg, contexthandle, fcheck) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrClientContextUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pcontexthandle: *mut isize, bindhandle: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrClientContextUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pcontexthandle : *mut isize , bindhandle : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrClientContextUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pcontexthandle : *mut isize , bindhandle : *mut ::core::ffi::c_void ) -> ( ) ); NdrClientContextUnmarshall(pstubmsg, pcontexthandle, bindhandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrClientInitialize(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC, procnum: u32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrClientInitialize ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC , procnum : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrClientInitialize ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC , procnum : u32 ) -> ( ) ); NdrClientInitialize(prpcmsg, pstubmsg, pstubdescriptor, procnum) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrClientInitializeNew(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC, procnum: u32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrClientInitializeNew ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC , procnum : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrClientInitializeNew ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC , procnum : u32 ) -> ( ) ); NdrClientInitializeNew(prpcmsg, pstubmsg, pstubdescriptor, procnum) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrComplexArrayBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrComplexArrayFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrComplexArrayMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrComplexArrayMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrComplexArrayUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexStructBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexStructBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexStructBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrComplexStructBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexStructFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexStructFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexStructFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrComplexStructFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexStructMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexStructMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexStructMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrComplexStructMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexStructMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexStructMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexStructMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrComplexStructMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrComplexStructUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrComplexStructUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrComplexStructUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrComplexStructUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantArrayBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantArrayFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrConformantArrayMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrConformantArrayMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrConformantArrayUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStringBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStringBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStringBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantStringBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStringMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStringMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStringMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrConformantStringMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStringMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStringMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStringMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrConformantStringMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStringUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStringUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStringUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrConformantStringUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStructBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStructBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStructBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantStructBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStructFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStructFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStructFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantStructFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStructMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStructMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStructMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrConformantStructMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStructMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStructMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStructMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrConformantStructMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantStructUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantStructUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantStructUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrConformantStructUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantVaryingArrayBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantVaryingArrayFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrConformantVaryingArrayMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrConformantVaryingArrayMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrConformantVaryingArrayUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingStructBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantVaryingStructBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingStructFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrConformantVaryingStructFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingStructMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrConformantVaryingStructMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingStructMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrConformantVaryingStructMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConformantVaryingStructUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConformantVaryingStructUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrConformantVaryingStructUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrContextHandleInitialize(pstubmsg: *const MIDL_STUB_MESSAGE, pformat: *const u8) -> *mut NDR_SCONTEXT_1 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrContextHandleInitialize ( pstubmsg : *const MIDL_STUB_MESSAGE , pformat : *const u8 ) -> *mut NDR_SCONTEXT_1 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrContextHandleInitialize ( pstubmsg : *const MIDL_STUB_MESSAGE , pformat : *const u8 ) -> *mut NDR_SCONTEXT_1 ); NdrContextHandleInitialize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrContextHandleSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrContextHandleSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrContextHandleSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrContextHandleSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConvert(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConvert ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConvert ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> ( ) ); NdrConvert(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrConvert2(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8, numberparams: i32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrConvert2 ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 , numberparams : i32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrConvert2 ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 , numberparams : i32 ) -> ( ) ); NdrConvert2(pstubmsg, pformat, numberparams) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrCorrelationFree(pstubmsg: *mut MIDL_STUB_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrCorrelationFree ( pstubmsg : *mut MIDL_STUB_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrCorrelationFree ( pstubmsg : *mut MIDL_STUB_MESSAGE ) -> ( ) ); NdrCorrelationFree(pstubmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrCorrelationInitialize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut ::core::ffi::c_void, cachesize: u32, flags: u32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrCorrelationInitialize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut ::core::ffi::c_void , cachesize : u32 , flags : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrCorrelationInitialize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut ::core::ffi::c_void , cachesize : u32 , flags : u32 ) -> ( ) ); NdrCorrelationInitialize(pstubmsg, pmemory, cachesize, flags) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrCorrelationPass(pstubmsg: *mut MIDL_STUB_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrCorrelationPass ( pstubmsg : *mut MIDL_STUB_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrCorrelationPass ( pstubmsg : *mut MIDL_STUB_MESSAGE ) -> ( ) ); NdrCorrelationPass(pstubmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] @@ -1008,14 +1008,14 @@ pub unsafe fn NdrCreateServerInterfaceFromStub(pstub: P0, pserverif: *mut RP where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrCreateServerInterfaceFromStub ( pstub : * mut::core::ffi::c_void , pserverif : *mut RPC_SERVER_INTERFACE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrCreateServerInterfaceFromStub ( pstub : * mut::core::ffi::c_void , pserverif : *mut RPC_SERVER_INTERFACE ) -> RPC_STATUS ); NdrCreateServerInterfaceFromStub(pstub.into().abi(), pserverif) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrDcomAsyncClientCall(pstubdescriptor: *mut MIDL_STUB_DESC, pformat: *mut u8) -> CLIENT_CALL_RETURN { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn NdrDcomAsyncClientCall ( pstubdescriptor : *mut MIDL_STUB_DESC , pformat : *mut u8 ) -> CLIENT_CALL_RETURN ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn NdrDcomAsyncClientCall ( pstubdescriptor : *mut MIDL_STUB_DESC , pformat : *mut u8 ) -> CLIENT_CALL_RETURN ); NdrDcomAsyncClientCall(pstubdescriptor, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] @@ -1026,768 +1026,768 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrDcomAsyncStubCall ( pthis : * mut::core::ffi::c_void , pchannel : * mut::core::ffi::c_void , prpcmsg : *mut RPC_MESSAGE , pdwstubphase : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrDcomAsyncStubCall ( pthis : * mut::core::ffi::c_void , pchannel : * mut::core::ffi::c_void , prpcmsg : *mut RPC_MESSAGE , pdwstubphase : *mut u32 ) -> i32 ); NdrDcomAsyncStubCall(pthis.into().abi(), pchannel.into().abi(), prpcmsg, pdwstubphase) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrEncapsulatedUnionBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrEncapsulatedUnionBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrEncapsulatedUnionFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrEncapsulatedUnionFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrEncapsulatedUnionMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrEncapsulatedUnionMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrEncapsulatedUnionMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrEncapsulatedUnionMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrEncapsulatedUnionUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrEncapsulatedUnionUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrEncapsulatedUnionUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrFixedArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrFixedArrayBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrFixedArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrFixedArrayFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrFixedArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrFixedArrayMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrFixedArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrFixedArrayMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrFixedArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrFixedArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrFixedArrayUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrFreeBuffer(pstubmsg: *mut MIDL_STUB_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrFreeBuffer ( pstubmsg : *mut MIDL_STUB_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrFreeBuffer ( pstubmsg : *mut MIDL_STUB_MESSAGE ) -> ( ) ); NdrFreeBuffer(pstubmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrFullPointerXlatFree(pxlattables: *mut FULL_PTR_XLAT_TABLES) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrFullPointerXlatFree ( pxlattables : *mut FULL_PTR_XLAT_TABLES ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrFullPointerXlatFree ( pxlattables : *mut FULL_PTR_XLAT_TABLES ) -> ( ) ); NdrFullPointerXlatFree(pxlattables) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrFullPointerXlatInit(numberofpointers: u32, xlatside: XLAT_SIDE) -> *mut FULL_PTR_XLAT_TABLES { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrFullPointerXlatInit ( numberofpointers : u32 , xlatside : XLAT_SIDE ) -> *mut FULL_PTR_XLAT_TABLES ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrFullPointerXlatInit ( numberofpointers : u32 , xlatside : XLAT_SIDE ) -> *mut FULL_PTR_XLAT_TABLES ); NdrFullPointerXlatInit(numberofpointers, xlatside) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrGetBuffer(pstubmsg: *mut MIDL_STUB_MESSAGE, bufferlength: u32, handle: *mut ::core::ffi::c_void) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrGetBuffer ( pstubmsg : *mut MIDL_STUB_MESSAGE , bufferlength : u32 , handle : *mut ::core::ffi::c_void ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrGetBuffer ( pstubmsg : *mut MIDL_STUB_MESSAGE , bufferlength : u32 , handle : *mut ::core::ffi::c_void ) -> *mut u8 ); NdrGetBuffer(pstubmsg, bufferlength, handle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrGetDcomProtocolVersion(pstubmsg: *mut MIDL_STUB_MESSAGE, pversion: *mut RPC_VERSION) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrGetDcomProtocolVersion ( pstubmsg : *mut MIDL_STUB_MESSAGE , pversion : *mut RPC_VERSION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrGetDcomProtocolVersion ( pstubmsg : *mut MIDL_STUB_MESSAGE , pversion : *mut RPC_VERSION ) -> :: windows::core::HRESULT ); NdrGetDcomProtocolVersion(pstubmsg, pversion).ok() } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrGetUserMarshalInfo(pflags: *const u32, informationlevel: u32, pmarshalinfo: *mut NDR_USER_MARSHAL_INFO) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrGetUserMarshalInfo ( pflags : *const u32 , informationlevel : u32 , pmarshalinfo : *mut NDR_USER_MARSHAL_INFO ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrGetUserMarshalInfo ( pflags : *const u32 , informationlevel : u32 , pmarshalinfo : *mut NDR_USER_MARSHAL_INFO ) -> RPC_STATUS ); NdrGetUserMarshalInfo(pflags, informationlevel, pmarshalinfo) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrInterfacePointerBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrInterfacePointerBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrInterfacePointerFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrInterfacePointerFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrInterfacePointerMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrInterfacePointerMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrInterfacePointerMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrInterfacePointerMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrInterfacePointerUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrInterfacePointerUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrInterfacePointerUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMapCommAndFaultStatus(pstubmsg: *mut MIDL_STUB_MESSAGE, pcommstatus: *mut u32, pfaultstatus: *mut u32, status: RPC_STATUS) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMapCommAndFaultStatus ( pstubmsg : *mut MIDL_STUB_MESSAGE , pcommstatus : *mut u32 , pfaultstatus : *mut u32 , status : RPC_STATUS ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMapCommAndFaultStatus ( pstubmsg : *mut MIDL_STUB_MESSAGE , pcommstatus : *mut u32 , pfaultstatus : *mut u32 , status : RPC_STATUS ) -> RPC_STATUS ); NdrMapCommAndFaultStatus(pstubmsg, pcommstatus, pfaultstatus, status) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesProcEncodeDecode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn NdrMesProcEncodeDecode ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn NdrMesProcEncodeDecode ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 ) -> ( ) ); NdrMesProcEncodeDecode(handle, pstubdesc, pformatstring) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesProcEncodeDecode2(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8) -> CLIENT_CALL_RETURN { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn NdrMesProcEncodeDecode2 ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 ) -> CLIENT_CALL_RETURN ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn NdrMesProcEncodeDecode2 ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 ) -> CLIENT_CALL_RETURN ); NdrMesProcEncodeDecode2(handle, pstubdesc, pformatstring) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesProcEncodeDecode3(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, nprocnum: u32, preturnvalue: *mut ::core::ffi::c_void) -> CLIENT_CALL_RETURN { - ::windows::core::link ! ( "rpcrt4.dll""cdecl" fn NdrMesProcEncodeDecode3 ( handle : *mut ::core::ffi::c_void , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , nprocnum : u32 , preturnvalue : *mut ::core::ffi::c_void ) -> CLIENT_CALL_RETURN ); + ::windows::imp::link ! ( "rpcrt4.dll""cdecl" fn NdrMesProcEncodeDecode3 ( handle : *mut ::core::ffi::c_void , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , nprocnum : u32 , preturnvalue : *mut ::core::ffi::c_void ) -> CLIENT_CALL_RETURN ); NdrMesProcEncodeDecode3(handle, pproxyinfo, nprocnum, preturnvalue) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrMesSimpleTypeAlignSize(param0: *mut ::core::ffi::c_void) -> usize { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeAlignSize ( param0 : *mut ::core::ffi::c_void ) -> usize ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeAlignSize ( param0 : *mut ::core::ffi::c_void ) -> usize ); NdrMesSimpleTypeAlignSize(param0) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesSimpleTypeAlignSizeAll(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO) -> usize { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeAlignSizeAll ( handle : *mut ::core::ffi::c_void , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO ) -> usize ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeAlignSizeAll ( handle : *mut ::core::ffi::c_void , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO ) -> usize ); NdrMesSimpleTypeAlignSizeAll(handle, pproxyinfo) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrMesSimpleTypeDecode(handle: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, size: i16) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeDecode ( handle : *mut ::core::ffi::c_void , pobject : *mut ::core::ffi::c_void , size : i16 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeDecode ( handle : *mut ::core::ffi::c_void , pobject : *mut ::core::ffi::c_void , size : i16 ) -> ( ) ); NdrMesSimpleTypeDecode(handle, pobject, size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesSimpleTypeDecodeAll(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, pobject: *mut ::core::ffi::c_void, size: i16) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeDecodeAll ( handle : *mut ::core::ffi::c_void , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , pobject : *mut ::core::ffi::c_void , size : i16 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeDecodeAll ( handle : *mut ::core::ffi::c_void , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , pobject : *mut ::core::ffi::c_void , size : i16 ) -> ( ) ); NdrMesSimpleTypeDecodeAll(handle, pproxyinfo, pobject, size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesSimpleTypeEncode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pobject: *const ::core::ffi::c_void, size: i16) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeEncode ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pobject : *const ::core::ffi::c_void , size : i16 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeEncode ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pobject : *const ::core::ffi::c_void , size : i16 ) -> ( ) ); NdrMesSimpleTypeEncode(handle, pstubdesc, pobject, size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesSimpleTypeEncodeAll(handle: *mut ::core::ffi::c_void, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, pobject: *const ::core::ffi::c_void, size: i16) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeEncodeAll ( handle : *mut ::core::ffi::c_void , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , pobject : *const ::core::ffi::c_void , size : i16 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesSimpleTypeEncodeAll ( handle : *mut ::core::ffi::c_void , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , pobject : *const ::core::ffi::c_void , size : i16 ) -> ( ) ); NdrMesSimpleTypeEncodeAll(handle, pproxyinfo, pobject, size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeAlignSize(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *const ::core::ffi::c_void) -> usize { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeAlignSize ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *const ::core::ffi::c_void ) -> usize ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeAlignSize ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *const ::core::ffi::c_void ) -> usize ); NdrMesTypeAlignSize(handle, pstubdesc, pformatstring, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeAlignSize2(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *const ::core::ffi::c_void) -> usize { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeAlignSize2 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *const ::core::ffi::c_void ) -> usize ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeAlignSize2 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *const ::core::ffi::c_void ) -> usize ); NdrMesTypeAlignSize2(handle, ppicklinginfo, pstubdesc, pformatstring, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeAlignSize3(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset: *const *const u32, ntypeindex: u32, pobject: *const ::core::ffi::c_void) -> usize { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeAlignSize3 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , arrtypeoffset : *const *const u32 , ntypeindex : u32 , pobject : *const ::core::ffi::c_void ) -> usize ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeAlignSize3 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , arrtypeoffset : *const *const u32 , ntypeindex : u32 , pobject : *const ::core::ffi::c_void ) -> usize ); NdrMesTypeAlignSize3(handle, ppicklinginfo, pproxyinfo, arrtypeoffset, ntypeindex, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeDecode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeDecode ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeDecode ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); NdrMesTypeDecode(handle, pstubdesc, pformatstring, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeDecode2(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeDecode2 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeDecode2 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); NdrMesTypeDecode2(handle, ppicklinginfo, pstubdesc, pformatstring, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeDecode3(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset: *const *const u32, ntypeindex: u32, pobject: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeDecode3 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , arrtypeoffset : *const *const u32 , ntypeindex : u32 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeDecode3 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , arrtypeoffset : *const *const u32 , ntypeindex : u32 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); NdrMesTypeDecode3(handle, ppicklinginfo, pproxyinfo, arrtypeoffset, ntypeindex, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeEncode(handle: *mut ::core::ffi::c_void, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeEncode ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeEncode ( handle : *mut ::core::ffi::c_void , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *const ::core::ffi::c_void ) -> ( ) ); NdrMesTypeEncode(handle, pstubdesc, pformatstring, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeEncode2(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeEncode2 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeEncode2 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *const ::core::ffi::c_void ) -> ( ) ); NdrMesTypeEncode2(handle, ppicklinginfo, pstubdesc, pformatstring, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeEncode3(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset: *const *const u32, ntypeindex: u32, pobject: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeEncode3 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , arrtypeoffset : *const *const u32 , ntypeindex : u32 , pobject : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeEncode3 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , arrtypeoffset : *const *const u32 , ntypeindex : u32 , pobject : *const ::core::ffi::c_void ) -> ( ) ); NdrMesTypeEncode3(handle, ppicklinginfo, pproxyinfo, arrtypeoffset, ntypeindex, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeFree2(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pstubdesc: *const MIDL_STUB_DESC, pformatstring: *mut u8, pobject: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeFree2 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeFree2 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pstubdesc : *const MIDL_STUB_DESC , pformatstring : *mut u8 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); NdrMesTypeFree2(handle, ppicklinginfo, pstubdesc, pformatstring, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrMesTypeFree3(handle: *mut ::core::ffi::c_void, ppicklinginfo: *const MIDL_TYPE_PICKLING_INFO, pproxyinfo: *const MIDL_STUBLESS_PROXY_INFO, arrtypeoffset: *const *const u32, ntypeindex: u32, pobject: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrMesTypeFree3 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , arrtypeoffset : *const *const u32 , ntypeindex : u32 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrMesTypeFree3 ( handle : *mut ::core::ffi::c_void , ppicklinginfo : *const MIDL_TYPE_PICKLING_INFO , pproxyinfo : *const MIDL_STUBLESS_PROXY_INFO , arrtypeoffset : *const *const u32 , ntypeindex : u32 , pobject : *mut ::core::ffi::c_void ) -> ( ) ); NdrMesTypeFree3(handle, ppicklinginfo, pproxyinfo, arrtypeoffset, ntypeindex, pobject) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonConformantStringBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonConformantStringBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonConformantStringBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrNonConformantStringBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonConformantStringMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonConformantStringMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonConformantStringMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrNonConformantStringMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonConformantStringMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonConformantStringMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonConformantStringMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrNonConformantStringMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonConformantStringUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonConformantStringUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonConformantStringUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrNonConformantStringUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonEncapsulatedUnionBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrNonEncapsulatedUnionBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonEncapsulatedUnionFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrNonEncapsulatedUnionFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonEncapsulatedUnionMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrNonEncapsulatedUnionMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonEncapsulatedUnionMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrNonEncapsulatedUnionMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNonEncapsulatedUnionUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNonEncapsulatedUnionUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrNonEncapsulatedUnionUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNsGetBuffer(pstubmsg: *mut MIDL_STUB_MESSAGE, bufferlength: u32, handle: *mut ::core::ffi::c_void) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNsGetBuffer ( pstubmsg : *mut MIDL_STUB_MESSAGE , bufferlength : u32 , handle : *mut ::core::ffi::c_void ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNsGetBuffer ( pstubmsg : *mut MIDL_STUB_MESSAGE , bufferlength : u32 , handle : *mut ::core::ffi::c_void ) -> *mut u8 ); NdrNsGetBuffer(pstubmsg, bufferlength, handle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrNsSendReceive(pstubmsg: *mut MIDL_STUB_MESSAGE, pbufferend: *mut u8, pautohandle: *mut *mut ::core::ffi::c_void) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrNsSendReceive ( pstubmsg : *mut MIDL_STUB_MESSAGE , pbufferend : *mut u8 , pautohandle : *mut *mut ::core::ffi::c_void ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrNsSendReceive ( pstubmsg : *mut MIDL_STUB_MESSAGE , pbufferend : *mut u8 , pautohandle : *mut *mut ::core::ffi::c_void ) -> *mut u8 ); NdrNsSendReceive(pstubmsg, pbufferend, pautohandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrOleAllocate(size: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrOleAllocate ( size : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrOleAllocate ( size : usize ) -> *mut ::core::ffi::c_void ); NdrOleAllocate(size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrOleFree(nodetofree: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrOleFree ( nodetofree : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrOleFree ( nodetofree : *const ::core::ffi::c_void ) -> ( ) ); NdrOleFree(nodetofree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPartialIgnoreClientBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPartialIgnoreClientBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPartialIgnoreClientBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut ::core::ffi::c_void ) -> ( ) ); NdrPartialIgnoreClientBufferSize(pstubmsg, pmemory) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPartialIgnoreClientMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPartialIgnoreClientMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPartialIgnoreClientMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut ::core::ffi::c_void ) -> ( ) ); NdrPartialIgnoreClientMarshall(pstubmsg, pmemory) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPartialIgnoreServerInitialize(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut ::core::ffi::c_void, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPartialIgnoreServerInitialize ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut ::core::ffi::c_void , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPartialIgnoreServerInitialize ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut ::core::ffi::c_void , pformat : *mut u8 ) -> ( ) ); NdrPartialIgnoreServerInitialize(pstubmsg, ppmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPartialIgnoreServerUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPartialIgnoreServerUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPartialIgnoreServerUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut ::core::ffi::c_void ) -> ( ) ); NdrPartialIgnoreServerUnmarshall(pstubmsg, ppmemory) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPointerBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPointerBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPointerBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrPointerBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPointerFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPointerFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPointerFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrPointerFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPointerMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPointerMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPointerMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrPointerMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPointerMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPointerMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPointerMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrPointerMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrPointerUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrPointerUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrPointerUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrPointerUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrRangeUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrRangeUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrRangeUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrRangeUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrRpcSmClientAllocate(size: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrRpcSmClientAllocate ( size : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrRpcSmClientAllocate ( size : usize ) -> *mut ::core::ffi::c_void ); NdrRpcSmClientAllocate(size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrRpcSmClientFree(nodetofree: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrRpcSmClientFree ( nodetofree : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrRpcSmClientFree ( nodetofree : *const ::core::ffi::c_void ) -> ( ) ); NdrRpcSmClientFree(nodetofree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrRpcSmSetClientToOsf(pmessage: *mut MIDL_STUB_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrRpcSmSetClientToOsf ( pmessage : *mut MIDL_STUB_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrRpcSmSetClientToOsf ( pmessage : *mut MIDL_STUB_MESSAGE ) -> ( ) ); NdrRpcSmSetClientToOsf(pmessage) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrRpcSsDefaultAllocate(size: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrRpcSsDefaultAllocate ( size : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrRpcSsDefaultAllocate ( size : usize ) -> *mut ::core::ffi::c_void ); NdrRpcSsDefaultAllocate(size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrRpcSsDefaultFree(nodetofree: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrRpcSsDefaultFree ( nodetofree : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrRpcSsDefaultFree ( nodetofree : *const ::core::ffi::c_void ) -> ( ) ); NdrRpcSsDefaultFree(nodetofree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrRpcSsDisableAllocate(pmessage: *mut MIDL_STUB_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrRpcSsDisableAllocate ( pmessage : *mut MIDL_STUB_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrRpcSsDisableAllocate ( pmessage : *mut MIDL_STUB_MESSAGE ) -> ( ) ); NdrRpcSsDisableAllocate(pmessage) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrRpcSsEnableAllocate(pmessage: *mut MIDL_STUB_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrRpcSsEnableAllocate ( pmessage : *mut MIDL_STUB_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrRpcSsEnableAllocate ( pmessage : *mut MIDL_STUB_MESSAGE ) -> ( ) ); NdrRpcSsEnableAllocate(pmessage) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrSendReceive(pstubmsg: *mut MIDL_STUB_MESSAGE, pbufferend: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrSendReceive ( pstubmsg : *mut MIDL_STUB_MESSAGE , pbufferend : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrSendReceive ( pstubmsg : *mut MIDL_STUB_MESSAGE , pbufferend : *mut u8 ) -> *mut u8 ); NdrSendReceive(pstubmsg, pbufferend) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrServerCall2(prpcmsg: *mut RPC_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerCall2 ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerCall2 ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); NdrServerCall2(prpcmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrServerCallAll(prpcmsg: *mut RPC_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerCallAll ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerCallAll ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); NdrServerCallAll(prpcmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrServerCallNdr64(prpcmsg: *mut RPC_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerCallNdr64 ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerCallNdr64 ( prpcmsg : *mut RPC_MESSAGE ) -> ( ) ); NdrServerCallNdr64(prpcmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerContextMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, contexthandle: *mut NDR_SCONTEXT_1, rundownroutine: NDR_RUNDOWN) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerContextMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , contexthandle : *mut NDR_SCONTEXT_1 , rundownroutine : NDR_RUNDOWN ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerContextMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , contexthandle : *mut NDR_SCONTEXT_1 , rundownroutine : NDR_RUNDOWN ) -> ( ) ); NdrServerContextMarshall(pstubmsg, contexthandle, rundownroutine) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerContextNewMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, contexthandle: *mut NDR_SCONTEXT_1, rundownroutine: NDR_RUNDOWN, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerContextNewMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , contexthandle : *mut NDR_SCONTEXT_1 , rundownroutine : NDR_RUNDOWN , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerContextNewMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , contexthandle : *mut NDR_SCONTEXT_1 , rundownroutine : NDR_RUNDOWN , pformat : *mut u8 ) -> ( ) ); NdrServerContextNewMarshall(pstubmsg, contexthandle, rundownroutine, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerContextNewUnmarshall(pstubmsg: *const MIDL_STUB_MESSAGE, pformat: *const u8) -> *mut NDR_SCONTEXT_1 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerContextNewUnmarshall ( pstubmsg : *const MIDL_STUB_MESSAGE , pformat : *const u8 ) -> *mut NDR_SCONTEXT_1 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerContextNewUnmarshall ( pstubmsg : *const MIDL_STUB_MESSAGE , pformat : *const u8 ) -> *mut NDR_SCONTEXT_1 ); NdrServerContextNewUnmarshall(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerContextUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE) -> *mut NDR_SCONTEXT_1 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerContextUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE ) -> *mut NDR_SCONTEXT_1 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerContextUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE ) -> *mut NDR_SCONTEXT_1 ); NdrServerContextUnmarshall(pstubmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerInitialize(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerInitialize ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerInitialize ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC ) -> *mut u8 ); NdrServerInitialize(prpcmsg, pstubmsg, pstubdescriptor) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerInitializeMarshall(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerInitializeMarshall ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerInitializeMarshall ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE ) -> ( ) ); NdrServerInitializeMarshall(prpcmsg, pstubmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerInitializeNew(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerInitializeNew ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerInitializeNew ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC ) -> *mut u8 ); NdrServerInitializeNew(prpcmsg, pstubmsg, pstubdescriptor) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerInitializePartial(prpcmsg: *mut RPC_MESSAGE, pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC, requestedbuffersize: u32) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerInitializePartial ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC , requestedbuffersize : u32 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerInitializePartial ( prpcmsg : *mut RPC_MESSAGE , pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC , requestedbuffersize : u32 ) -> ( ) ); NdrServerInitializePartial(prpcmsg, pstubmsg, pstubdescriptor, requestedbuffersize) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrServerInitializeUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pstubdescriptor: *mut MIDL_STUB_DESC, prpcmsg: *mut RPC_MESSAGE) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrServerInitializeUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC , prpcmsg : *mut RPC_MESSAGE ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrServerInitializeUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pstubdescriptor : *mut MIDL_STUB_DESC , prpcmsg : *mut RPC_MESSAGE ) -> *mut u8 ); NdrServerInitializeUnmarshall(pstubmsg, pstubdescriptor, prpcmsg) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrSimpleStructBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrSimpleStructBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrSimpleStructFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrSimpleStructFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrSimpleStructMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrSimpleStructMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrSimpleStructMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrSimpleStructMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrSimpleStructUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrSimpleStructUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrSimpleStructUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrSimpleTypeMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, formatchar: u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrSimpleTypeMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , formatchar : u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrSimpleTypeMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , formatchar : u8 ) -> ( ) ); NdrSimpleTypeMarshall(pstubmsg, pmemory, formatchar) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrSimpleTypeUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, formatchar: u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrSimpleTypeUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , formatchar : u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrSimpleTypeUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , formatchar : u8 ) -> ( ) ); NdrSimpleTypeUnmarshall(pstubmsg, pmemory, formatchar) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrStubCall2(pthis: *mut ::core::ffi::c_void, pchannel: *mut ::core::ffi::c_void, prpcmsg: *mut RPC_MESSAGE, pdwstubphase: *mut u32) -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrStubCall2 ( pthis : *mut ::core::ffi::c_void , pchannel : *mut ::core::ffi::c_void , prpcmsg : *mut RPC_MESSAGE , pdwstubphase : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrStubCall2 ( pthis : *mut ::core::ffi::c_void , pchannel : *mut ::core::ffi::c_void , prpcmsg : *mut RPC_MESSAGE , pdwstubphase : *mut u32 ) -> i32 ); NdrStubCall2(pthis, pchannel, prpcmsg, pdwstubphase) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrStubCall3(pthis: *mut ::core::ffi::c_void, pchannel: *mut ::core::ffi::c_void, prpcmsg: *mut RPC_MESSAGE, pdwstubphase: *mut u32) -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrStubCall3 ( pthis : *mut ::core::ffi::c_void , pchannel : *mut ::core::ffi::c_void , prpcmsg : *mut RPC_MESSAGE , pdwstubphase : *mut u32 ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrStubCall3 ( pthis : *mut ::core::ffi::c_void , pchannel : *mut ::core::ffi::c_void , prpcmsg : *mut RPC_MESSAGE , pdwstubphase : *mut u32 ) -> i32 ); NdrStubCall3(pthis, pchannel, prpcmsg, pdwstubphase) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrUserMarshalBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrUserMarshalBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrUserMarshalFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrUserMarshalFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrUserMarshalMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrUserMarshalMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrUserMarshalMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrUserMarshalMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn NdrUserMarshalSimpleTypeConvert(pflags: *mut u32, pbuffer: *mut u8, formatchar: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalSimpleTypeConvert ( pflags : *mut u32 , pbuffer : *mut u8 , formatchar : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalSimpleTypeConvert ( pflags : *mut u32 , pbuffer : *mut u8 , formatchar : u8 ) -> *mut u8 ); NdrUserMarshalSimpleTypeConvert(pflags, pbuffer, formatchar) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrUserMarshalUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrUserMarshalUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrUserMarshalUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrVaryingArrayBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrVaryingArrayBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrVaryingArrayFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrVaryingArrayFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrVaryingArrayMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrVaryingArrayMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrVaryingArrayMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrVaryingArrayMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrVaryingArrayUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrVaryingArrayUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrVaryingArrayUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrXmitOrRepAsBufferSize(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsBufferSize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrXmitOrRepAsBufferSize(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrXmitOrRepAsFree(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsFree ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> ( ) ); NdrXmitOrRepAsFree(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrXmitOrRepAsMarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, pmemory: *mut u8, pformat: *mut u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsMarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , pmemory : *mut u8 , pformat : *mut u8 ) -> *mut u8 ); NdrXmitOrRepAsMarshall(pstubmsg, pmemory, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrXmitOrRepAsMemorySize(pstubmsg: *mut MIDL_STUB_MESSAGE, pformat: *mut u8) -> u32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsMemorySize ( pstubmsg : *mut MIDL_STUB_MESSAGE , pformat : *mut u8 ) -> u32 ); NdrXmitOrRepAsMemorySize(pstubmsg, pformat) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn NdrXmitOrRepAsUnmarshall(pstubmsg: *mut MIDL_STUB_MESSAGE, ppmemory: *mut *mut u8, pformat: *mut u8, fmustalloc: u8) -> *mut u8 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn NdrXmitOrRepAsUnmarshall ( pstubmsg : *mut MIDL_STUB_MESSAGE , ppmemory : *mut *mut u8 , pformat : *mut u8 , fmustalloc : u8 ) -> *mut u8 ); NdrXmitOrRepAsUnmarshall(pstubmsg, ppmemory, pformat, fmustalloc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn RpcAsyncAbortCall(pasync: *mut RPC_ASYNC_STATE, exceptioncode: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcAsyncAbortCall ( pasync : *mut RPC_ASYNC_STATE , exceptioncode : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcAsyncAbortCall ( pasync : *mut RPC_ASYNC_STATE , exceptioncode : u32 ) -> RPC_STATUS ); RpcAsyncAbortCall(pasync, exceptioncode) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] @@ -1797,303 +1797,303 @@ pub unsafe fn RpcAsyncCancelCall(pasync: *mut RPC_ASYNC_STATE, fabort: P0) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcAsyncCancelCall ( pasync : *mut RPC_ASYNC_STATE , fabort : super::super::Foundation:: BOOL ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcAsyncCancelCall ( pasync : *mut RPC_ASYNC_STATE , fabort : super::super::Foundation:: BOOL ) -> RPC_STATUS ); RpcAsyncCancelCall(pasync, fabort.into()) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn RpcAsyncCompleteCall(pasync: *mut RPC_ASYNC_STATE, reply: ::core::option::Option<*mut ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcAsyncCompleteCall ( pasync : *mut RPC_ASYNC_STATE , reply : *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcAsyncCompleteCall ( pasync : *mut RPC_ASYNC_STATE , reply : *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcAsyncCompleteCall(pasync, ::core::mem::transmute(reply.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn RpcAsyncGetCallStatus(pasync: *const RPC_ASYNC_STATE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcAsyncGetCallStatus ( pasync : *const RPC_ASYNC_STATE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcAsyncGetCallStatus ( pasync : *const RPC_ASYNC_STATE ) -> RPC_STATUS ); RpcAsyncGetCallStatus(pasync) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn RpcAsyncInitializeHandle(pasync: *mut RPC_ASYNC_STATE, size: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcAsyncInitializeHandle ( pasync : *mut RPC_ASYNC_STATE , size : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcAsyncInitializeHandle ( pasync : *mut RPC_ASYNC_STATE , size : u32 ) -> RPC_STATUS ); RpcAsyncInitializeHandle(pasync, size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn RpcAsyncRegisterInfo(pasync: *const RPC_ASYNC_STATE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcAsyncRegisterInfo ( pasync : *const RPC_ASYNC_STATE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcAsyncRegisterInfo ( pasync : *const RPC_ASYNC_STATE ) -> RPC_STATUS ); RpcAsyncRegisterInfo(pasync) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn RpcBindingBind(pasync: ::core::option::Option<*const RPC_ASYNC_STATE>, binding: *const ::core::ffi::c_void, ifspec: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingBind ( pasync : *const RPC_ASYNC_STATE , binding : *const ::core::ffi::c_void , ifspec : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingBind ( pasync : *const RPC_ASYNC_STATE , binding : *const ::core::ffi::c_void , ifspec : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingBind(::core::mem::transmute(pasync.unwrap_or(::std::ptr::null())), binding, ifspec) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingCopy(sourcebinding: *const ::core::ffi::c_void, destinationbinding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingCopy ( sourcebinding : *const ::core::ffi::c_void , destinationbinding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingCopy ( sourcebinding : *const ::core::ffi::c_void , destinationbinding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingCopy(sourcebinding, destinationbinding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn RpcBindingCreateA(template: *const RPC_BINDING_HANDLE_TEMPLATE_V1_A, security: ::core::option::Option<*const RPC_BINDING_HANDLE_SECURITY_V1_A>, options: ::core::option::Option<*const RPC_BINDING_HANDLE_OPTIONS_V1>, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingCreateA ( template : *const RPC_BINDING_HANDLE_TEMPLATE_V1_A , security : *const RPC_BINDING_HANDLE_SECURITY_V1_A , options : *const RPC_BINDING_HANDLE_OPTIONS_V1 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingCreateA ( template : *const RPC_BINDING_HANDLE_TEMPLATE_V1_A , security : *const RPC_BINDING_HANDLE_SECURITY_V1_A , options : *const RPC_BINDING_HANDLE_OPTIONS_V1 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingCreateA(template, ::core::mem::transmute(security.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn RpcBindingCreateW(template: *const RPC_BINDING_HANDLE_TEMPLATE_V1_W, security: ::core::option::Option<*const RPC_BINDING_HANDLE_SECURITY_V1_W>, options: ::core::option::Option<*const RPC_BINDING_HANDLE_OPTIONS_V1>, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingCreateW ( template : *const RPC_BINDING_HANDLE_TEMPLATE_V1_W , security : *const RPC_BINDING_HANDLE_SECURITY_V1_W , options : *const RPC_BINDING_HANDLE_OPTIONS_V1 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingCreateW ( template : *const RPC_BINDING_HANDLE_TEMPLATE_V1_W , security : *const RPC_BINDING_HANDLE_SECURITY_V1_W , options : *const RPC_BINDING_HANDLE_OPTIONS_V1 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingCreateW(template, ::core::mem::transmute(security.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingFree(binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingFree ( binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingFree ( binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingFree(binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingFromStringBindingA(stringbinding: *const u8, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingFromStringBindingA ( stringbinding : *const u8 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingFromStringBindingA ( stringbinding : *const u8 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingFromStringBindingA(stringbinding, binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingFromStringBindingW(stringbinding: *const u16, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingFromStringBindingW ( stringbinding : *const u16 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingFromStringBindingW ( stringbinding : *const u16 , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingFromStringBindingW(stringbinding, binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqAuthClientA(clientbinding: ::core::option::Option<*const ::core::ffi::c_void>, privs: *mut *mut ::core::ffi::c_void, serverprincname: ::core::option::Option<*mut *mut u8>, authnlevel: ::core::option::Option<*mut u32>, authnsvc: ::core::option::Option<*mut u32>, authzsvc: ::core::option::Option<*mut u32>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthClientA ( clientbinding : *const ::core::ffi::c_void , privs : *mut *mut ::core::ffi::c_void , serverprincname : *mut *mut u8 , authnlevel : *mut u32 , authnsvc : *mut u32 , authzsvc : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthClientA ( clientbinding : *const ::core::ffi::c_void , privs : *mut *mut ::core::ffi::c_void , serverprincname : *mut *mut u8 , authnlevel : *mut u32 , authnsvc : *mut u32 , authzsvc : *mut u32 ) -> RPC_STATUS ); RpcBindingInqAuthClientA(::core::mem::transmute(clientbinding.unwrap_or(::std::ptr::null())), privs, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnlevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authzsvc.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqAuthClientExA(clientbinding: ::core::option::Option<*const ::core::ffi::c_void>, privs: *mut *mut ::core::ffi::c_void, serverprincname: ::core::option::Option<*mut *mut u8>, authnlevel: ::core::option::Option<*mut u32>, authnsvc: ::core::option::Option<*mut u32>, authzsvc: ::core::option::Option<*mut u32>, flags: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthClientExA ( clientbinding : *const ::core::ffi::c_void , privs : *mut *mut ::core::ffi::c_void , serverprincname : *mut *mut u8 , authnlevel : *mut u32 , authnsvc : *mut u32 , authzsvc : *mut u32 , flags : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthClientExA ( clientbinding : *const ::core::ffi::c_void , privs : *mut *mut ::core::ffi::c_void , serverprincname : *mut *mut u8 , authnlevel : *mut u32 , authnsvc : *mut u32 , authzsvc : *mut u32 , flags : u32 ) -> RPC_STATUS ); RpcBindingInqAuthClientExA(::core::mem::transmute(clientbinding.unwrap_or(::std::ptr::null())), privs, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnlevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authzsvc.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqAuthClientExW(clientbinding: ::core::option::Option<*const ::core::ffi::c_void>, privs: *mut *mut ::core::ffi::c_void, serverprincname: ::core::option::Option<*mut *mut u16>, authnlevel: ::core::option::Option<*mut u32>, authnsvc: ::core::option::Option<*mut u32>, authzsvc: ::core::option::Option<*mut u32>, flags: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthClientExW ( clientbinding : *const ::core::ffi::c_void , privs : *mut *mut ::core::ffi::c_void , serverprincname : *mut *mut u16 , authnlevel : *mut u32 , authnsvc : *mut u32 , authzsvc : *mut u32 , flags : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthClientExW ( clientbinding : *const ::core::ffi::c_void , privs : *mut *mut ::core::ffi::c_void , serverprincname : *mut *mut u16 , authnlevel : *mut u32 , authnsvc : *mut u32 , authzsvc : *mut u32 , flags : u32 ) -> RPC_STATUS ); RpcBindingInqAuthClientExW(::core::mem::transmute(clientbinding.unwrap_or(::std::ptr::null())), privs, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnlevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authzsvc.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqAuthClientW(clientbinding: ::core::option::Option<*const ::core::ffi::c_void>, privs: *mut *mut ::core::ffi::c_void, serverprincname: ::core::option::Option<*mut *mut u16>, authnlevel: ::core::option::Option<*mut u32>, authnsvc: ::core::option::Option<*mut u32>, authzsvc: ::core::option::Option<*mut u32>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthClientW ( clientbinding : *const ::core::ffi::c_void , privs : *mut *mut ::core::ffi::c_void , serverprincname : *mut *mut u16 , authnlevel : *mut u32 , authnsvc : *mut u32 , authzsvc : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthClientW ( clientbinding : *const ::core::ffi::c_void , privs : *mut *mut ::core::ffi::c_void , serverprincname : *mut *mut u16 , authnlevel : *mut u32 , authnsvc : *mut u32 , authzsvc : *mut u32 ) -> RPC_STATUS ); RpcBindingInqAuthClientW(::core::mem::transmute(clientbinding.unwrap_or(::std::ptr::null())), privs, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnlevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authzsvc.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqAuthInfoA(binding: *const ::core::ffi::c_void, serverprincname: ::core::option::Option<*mut *mut u8>, authnlevel: ::core::option::Option<*mut u32>, authnsvc: ::core::option::Option<*mut u32>, authidentity: ::core::option::Option<*mut *mut ::core::ffi::c_void>, authzsvc: ::core::option::Option<*mut u32>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthInfoA ( binding : *const ::core::ffi::c_void , serverprincname : *mut *mut u8 , authnlevel : *mut u32 , authnsvc : *mut u32 , authidentity : *mut *mut ::core::ffi::c_void , authzsvc : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthInfoA ( binding : *const ::core::ffi::c_void , serverprincname : *mut *mut u8 , authnlevel : *mut u32 , authnsvc : *mut u32 , authidentity : *mut *mut ::core::ffi::c_void , authzsvc : *mut u32 ) -> RPC_STATUS ); RpcBindingInqAuthInfoA(binding, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnlevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authzsvc.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn RpcBindingInqAuthInfoExA(binding: *const ::core::ffi::c_void, serverprincname: ::core::option::Option<*mut *mut u8>, authnlevel: ::core::option::Option<*mut u32>, authnsvc: ::core::option::Option<*mut u32>, authidentity: ::core::option::Option<*mut *mut ::core::ffi::c_void>, authzsvc: ::core::option::Option<*mut u32>, rpcqosversion: u32, securityqos: ::core::option::Option<*mut RPC_SECURITY_QOS>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthInfoExA ( binding : *const ::core::ffi::c_void , serverprincname : *mut *mut u8 , authnlevel : *mut u32 , authnsvc : *mut u32 , authidentity : *mut *mut ::core::ffi::c_void , authzsvc : *mut u32 , rpcqosversion : u32 , securityqos : *mut RPC_SECURITY_QOS ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthInfoExA ( binding : *const ::core::ffi::c_void , serverprincname : *mut *mut u8 , authnlevel : *mut u32 , authnsvc : *mut u32 , authidentity : *mut *mut ::core::ffi::c_void , authzsvc : *mut u32 , rpcqosversion : u32 , securityqos : *mut RPC_SECURITY_QOS ) -> RPC_STATUS ); RpcBindingInqAuthInfoExA(binding, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnlevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authzsvc.unwrap_or(::std::ptr::null_mut())), rpcqosversion, ::core::mem::transmute(securityqos.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn RpcBindingInqAuthInfoExW(binding: *const ::core::ffi::c_void, serverprincname: ::core::option::Option<*mut *mut u16>, authnlevel: ::core::option::Option<*mut u32>, authnsvc: ::core::option::Option<*mut u32>, authidentity: ::core::option::Option<*mut *mut ::core::ffi::c_void>, authzsvc: ::core::option::Option<*mut u32>, rpcqosversion: u32, securityqos: ::core::option::Option<*mut RPC_SECURITY_QOS>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthInfoExW ( binding : *const ::core::ffi::c_void , serverprincname : *mut *mut u16 , authnlevel : *mut u32 , authnsvc : *mut u32 , authidentity : *mut *mut ::core::ffi::c_void , authzsvc : *mut u32 , rpcqosversion : u32 , securityqos : *mut RPC_SECURITY_QOS ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthInfoExW ( binding : *const ::core::ffi::c_void , serverprincname : *mut *mut u16 , authnlevel : *mut u32 , authnsvc : *mut u32 , authidentity : *mut *mut ::core::ffi::c_void , authzsvc : *mut u32 , rpcqosversion : u32 , securityqos : *mut RPC_SECURITY_QOS ) -> RPC_STATUS ); RpcBindingInqAuthInfoExW(binding, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnlevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authzsvc.unwrap_or(::std::ptr::null_mut())), rpcqosversion, ::core::mem::transmute(securityqos.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqAuthInfoW(binding: *const ::core::ffi::c_void, serverprincname: ::core::option::Option<*mut *mut u16>, authnlevel: ::core::option::Option<*mut u32>, authnsvc: ::core::option::Option<*mut u32>, authidentity: ::core::option::Option<*mut *mut ::core::ffi::c_void>, authzsvc: ::core::option::Option<*mut u32>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthInfoW ( binding : *const ::core::ffi::c_void , serverprincname : *mut *mut u16 , authnlevel : *mut u32 , authnsvc : *mut u32 , authidentity : *mut *mut ::core::ffi::c_void , authzsvc : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqAuthInfoW ( binding : *const ::core::ffi::c_void , serverprincname : *mut *mut u16 , authnlevel : *mut u32 , authnsvc : *mut u32 , authidentity : *mut *mut ::core::ffi::c_void , authzsvc : *mut u32 ) -> RPC_STATUS ); RpcBindingInqAuthInfoW(binding, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnlevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authnsvc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(authzsvc.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqMaxCalls(binding: *const ::core::ffi::c_void, maxcalls: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqMaxCalls ( binding : *const ::core::ffi::c_void , maxcalls : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqMaxCalls ( binding : *const ::core::ffi::c_void , maxcalls : *mut u32 ) -> RPC_STATUS ); RpcBindingInqMaxCalls(binding, maxcalls) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqObject(binding: *const ::core::ffi::c_void, objectuuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqObject ( binding : *const ::core::ffi::c_void , objectuuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqObject ( binding : *const ::core::ffi::c_void , objectuuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); RpcBindingInqObject(binding, objectuuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingInqOption(hbinding: *const ::core::ffi::c_void, option: u32, poptionvalue: *mut usize) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingInqOption ( hbinding : *const ::core::ffi::c_void , option : u32 , poptionvalue : *mut usize ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingInqOption ( hbinding : *const ::core::ffi::c_void , option : u32 , poptionvalue : *mut usize ) -> RPC_STATUS ); RpcBindingInqOption(hbinding, option, poptionvalue) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingReset(binding: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingReset ( binding : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingReset ( binding : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingReset(binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingServerFromClient(clientbinding: ::core::option::Option<*const ::core::ffi::c_void>, serverbinding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingServerFromClient ( clientbinding : *const ::core::ffi::c_void , serverbinding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingServerFromClient ( clientbinding : *const ::core::ffi::c_void , serverbinding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingServerFromClient(::core::mem::transmute(clientbinding.unwrap_or(::std::ptr::null())), serverbinding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingSetAuthInfoA(binding: *const ::core::ffi::c_void, serverprincname: ::core::option::Option<*const u8>, authnlevel: u32, authnsvc: u32, authidentity: ::core::option::Option<*const ::core::ffi::c_void>, authzsvc: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingSetAuthInfoA ( binding : *const ::core::ffi::c_void , serverprincname : *const u8 , authnlevel : u32 , authnsvc : u32 , authidentity : *const ::core::ffi::c_void , authzsvc : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingSetAuthInfoA ( binding : *const ::core::ffi::c_void , serverprincname : *const u8 , authnlevel : u32 , authnsvc : u32 , authidentity : *const ::core::ffi::c_void , authzsvc : u32 ) -> RPC_STATUS ); RpcBindingSetAuthInfoA(binding, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null())), authnlevel, authnsvc, ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), authzsvc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn RpcBindingSetAuthInfoExA(binding: *const ::core::ffi::c_void, serverprincname: ::core::option::Option<*const u8>, authnlevel: u32, authnsvc: u32, authidentity: ::core::option::Option<*const ::core::ffi::c_void>, authzsvc: u32, securityqos: ::core::option::Option<*const RPC_SECURITY_QOS>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingSetAuthInfoExA ( binding : *const ::core::ffi::c_void , serverprincname : *const u8 , authnlevel : u32 , authnsvc : u32 , authidentity : *const ::core::ffi::c_void , authzsvc : u32 , securityqos : *const RPC_SECURITY_QOS ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingSetAuthInfoExA ( binding : *const ::core::ffi::c_void , serverprincname : *const u8 , authnlevel : u32 , authnsvc : u32 , authidentity : *const ::core::ffi::c_void , authzsvc : u32 , securityqos : *const RPC_SECURITY_QOS ) -> RPC_STATUS ); RpcBindingSetAuthInfoExA(binding, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null())), authnlevel, authnsvc, ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), authzsvc, ::core::mem::transmute(securityqos.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn RpcBindingSetAuthInfoExW(binding: *const ::core::ffi::c_void, serverprincname: ::core::option::Option<*const u16>, authnlevel: u32, authnsvc: u32, authidentity: ::core::option::Option<*const ::core::ffi::c_void>, authzsvc: u32, securityqos: ::core::option::Option<*const RPC_SECURITY_QOS>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingSetAuthInfoExW ( binding : *const ::core::ffi::c_void , serverprincname : *const u16 , authnlevel : u32 , authnsvc : u32 , authidentity : *const ::core::ffi::c_void , authzsvc : u32 , securityqos : *const RPC_SECURITY_QOS ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingSetAuthInfoExW ( binding : *const ::core::ffi::c_void , serverprincname : *const u16 , authnlevel : u32 , authnsvc : u32 , authidentity : *const ::core::ffi::c_void , authzsvc : u32 , securityqos : *const RPC_SECURITY_QOS ) -> RPC_STATUS ); RpcBindingSetAuthInfoExW(binding, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null())), authnlevel, authnsvc, ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), authzsvc, ::core::mem::transmute(securityqos.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingSetAuthInfoW(binding: *const ::core::ffi::c_void, serverprincname: ::core::option::Option<*const u16>, authnlevel: u32, authnsvc: u32, authidentity: ::core::option::Option<*const ::core::ffi::c_void>, authzsvc: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingSetAuthInfoW ( binding : *const ::core::ffi::c_void , serverprincname : *const u16 , authnlevel : u32 , authnsvc : u32 , authidentity : *const ::core::ffi::c_void , authzsvc : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingSetAuthInfoW ( binding : *const ::core::ffi::c_void , serverprincname : *const u16 , authnlevel : u32 , authnsvc : u32 , authidentity : *const ::core::ffi::c_void , authzsvc : u32 ) -> RPC_STATUS ); RpcBindingSetAuthInfoW(binding, ::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null())), authnlevel, authnsvc, ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), authzsvc) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingSetObject(binding: *const ::core::ffi::c_void, objectuuid: *const ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingSetObject ( binding : *const ::core::ffi::c_void , objectuuid : *const :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingSetObject ( binding : *const ::core::ffi::c_void , objectuuid : *const :: windows::core::GUID ) -> RPC_STATUS ); RpcBindingSetObject(binding, objectuuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingSetOption(hbinding: *const ::core::ffi::c_void, option: u32, optionvalue: usize) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingSetOption ( hbinding : *const ::core::ffi::c_void , option : u32 , optionvalue : usize ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingSetOption ( hbinding : *const ::core::ffi::c_void , option : u32 , optionvalue : usize ) -> RPC_STATUS ); RpcBindingSetOption(hbinding, option, optionvalue) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingToStringBindingA(binding: *const ::core::ffi::c_void, stringbinding: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingToStringBindingA ( binding : *const ::core::ffi::c_void , stringbinding : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingToStringBindingA ( binding : *const ::core::ffi::c_void , stringbinding : *mut *mut u8 ) -> RPC_STATUS ); RpcBindingToStringBindingA(binding, stringbinding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingToStringBindingW(binding: *const ::core::ffi::c_void, stringbinding: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingToStringBindingW ( binding : *const ::core::ffi::c_void , stringbinding : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingToStringBindingW ( binding : *const ::core::ffi::c_void , stringbinding : *mut *mut u16 ) -> RPC_STATUS ); RpcBindingToStringBindingW(binding, stringbinding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingUnbind(binding: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingUnbind ( binding : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingUnbind ( binding : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcBindingUnbind(binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcBindingVectorFree(bindingvector: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcBindingVectorFree ( bindingvector : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcBindingVectorFree ( bindingvector : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); RpcBindingVectorFree(bindingvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcCancelThread(thread: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcCancelThread ( thread : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcCancelThread ( thread : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcCancelThread(thread) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcCancelThreadEx(thread: *const ::core::ffi::c_void, timeout: i32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcCancelThreadEx ( thread : *const ::core::ffi::c_void , timeout : i32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcCancelThreadEx ( thread : *const ::core::ffi::c_void , timeout : i32 ) -> RPC_STATUS ); RpcCancelThreadEx(thread, timeout) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn RpcCertGeneratePrincipalNameA(context: *const super::super::Security::Cryptography::CERT_CONTEXT, flags: u32, pbuffer: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcCertGeneratePrincipalNameA ( context : *const super::super::Security::Cryptography:: CERT_CONTEXT , flags : u32 , pbuffer : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcCertGeneratePrincipalNameA ( context : *const super::super::Security::Cryptography:: CERT_CONTEXT , flags : u32 , pbuffer : *mut *mut u8 ) -> RPC_STATUS ); RpcCertGeneratePrincipalNameA(context, flags, pbuffer) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn RpcCertGeneratePrincipalNameW(context: *const super::super::Security::Cryptography::CERT_CONTEXT, flags: u32, pbuffer: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcCertGeneratePrincipalNameW ( context : *const super::super::Security::Cryptography:: CERT_CONTEXT , flags : u32 , pbuffer : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcCertGeneratePrincipalNameW ( context : *const super::super::Security::Cryptography:: CERT_CONTEXT , flags : u32 , pbuffer : *mut *mut u16 ) -> RPC_STATUS ); RpcCertGeneratePrincipalNameW(context, flags, pbuffer) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcEpRegisterA(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: ::core::option::Option<*const UUID_VECTOR>, annotation: ::core::option::Option<*const u8>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcEpRegisterA ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR , annotation : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcEpRegisterA ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR , annotation : *const u8 ) -> RPC_STATUS ); RpcEpRegisterA(ifspec, bindingvector, ::core::mem::transmute(uuidvector.unwrap_or(::std::ptr::null())), ::core::mem::transmute(annotation.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcEpRegisterNoReplaceA(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: ::core::option::Option<*const UUID_VECTOR>, annotation: ::core::option::Option<*const u8>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcEpRegisterNoReplaceA ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR , annotation : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcEpRegisterNoReplaceA ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR , annotation : *const u8 ) -> RPC_STATUS ); RpcEpRegisterNoReplaceA(ifspec, bindingvector, ::core::mem::transmute(uuidvector.unwrap_or(::std::ptr::null())), ::core::mem::transmute(annotation.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcEpRegisterNoReplaceW(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: ::core::option::Option<*const UUID_VECTOR>, annotation: ::core::option::Option<*const u16>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcEpRegisterNoReplaceW ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR , annotation : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcEpRegisterNoReplaceW ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR , annotation : *const u16 ) -> RPC_STATUS ); RpcEpRegisterNoReplaceW(ifspec, bindingvector, ::core::mem::transmute(uuidvector.unwrap_or(::std::ptr::null())), ::core::mem::transmute(annotation.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcEpRegisterW(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: ::core::option::Option<*const UUID_VECTOR>, annotation: ::core::option::Option<*const u16>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcEpRegisterW ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR , annotation : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcEpRegisterW ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR , annotation : *const u16 ) -> RPC_STATUS ); RpcEpRegisterW(ifspec, bindingvector, ::core::mem::transmute(uuidvector.unwrap_or(::std::ptr::null())), ::core::mem::transmute(annotation.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcEpResolveBinding(binding: *const ::core::ffi::c_void, ifspec: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcEpResolveBinding ( binding : *const ::core::ffi::c_void , ifspec : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcEpResolveBinding ( binding : *const ::core::ffi::c_void , ifspec : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcEpResolveBinding(binding, ifspec) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcEpUnregister(ifspec: *const ::core::ffi::c_void, bindingvector: *const RPC_BINDING_VECTOR, uuidvector: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcEpUnregister ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcEpUnregister ( ifspec : *const ::core::ffi::c_void , bindingvector : *const RPC_BINDING_VECTOR , uuidvector : *const UUID_VECTOR ) -> RPC_STATUS ); RpcEpUnregister(ifspec, bindingvector, ::core::mem::transmute(uuidvector.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RpcErrorAddRecord(errorinfo: *const RPC_EXTENDED_ERROR_INFO) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorAddRecord ( errorinfo : *const RPC_EXTENDED_ERROR_INFO ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorAddRecord ( errorinfo : *const RPC_EXTENDED_ERROR_INFO ) -> RPC_STATUS ); RpcErrorAddRecord(errorinfo) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcErrorClearInformation() { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorClearInformation ( ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorClearInformation ( ) -> ( ) ); RpcErrorClearInformation() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcErrorEndEnumeration(enumhandle: *mut RPC_ERROR_ENUM_HANDLE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorEndEnumeration ( enumhandle : *mut RPC_ERROR_ENUM_HANDLE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorEndEnumeration ( enumhandle : *mut RPC_ERROR_ENUM_HANDLE ) -> RPC_STATUS ); RpcErrorEndEnumeration(enumhandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`*"] @@ -2103,49 +2103,49 @@ pub unsafe fn RpcErrorGetNextRecord(enumhandle: *const RPC_ERROR_ENUM_HANDLE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorGetNextRecord ( enumhandle : *const RPC_ERROR_ENUM_HANDLE , copystrings : super::super::Foundation:: BOOL , errorinfo : *mut RPC_EXTENDED_ERROR_INFO ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorGetNextRecord ( enumhandle : *const RPC_ERROR_ENUM_HANDLE , copystrings : super::super::Foundation:: BOOL , errorinfo : *mut RPC_EXTENDED_ERROR_INFO ) -> RPC_STATUS ); RpcErrorGetNextRecord(enumhandle, copystrings.into(), errorinfo) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcErrorGetNumberOfRecords(enumhandle: *const RPC_ERROR_ENUM_HANDLE, records: *mut i32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorGetNumberOfRecords ( enumhandle : *const RPC_ERROR_ENUM_HANDLE , records : *mut i32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorGetNumberOfRecords ( enumhandle : *const RPC_ERROR_ENUM_HANDLE , records : *mut i32 ) -> RPC_STATUS ); RpcErrorGetNumberOfRecords(enumhandle, records) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcErrorLoadErrorInfo(errorblob: *const ::core::ffi::c_void, blobsize: usize, enumhandle: *mut RPC_ERROR_ENUM_HANDLE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorLoadErrorInfo ( errorblob : *const ::core::ffi::c_void , blobsize : usize , enumhandle : *mut RPC_ERROR_ENUM_HANDLE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorLoadErrorInfo ( errorblob : *const ::core::ffi::c_void , blobsize : usize , enumhandle : *mut RPC_ERROR_ENUM_HANDLE ) -> RPC_STATUS ); RpcErrorLoadErrorInfo(errorblob, blobsize, enumhandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcErrorResetEnumeration(enumhandle: *mut RPC_ERROR_ENUM_HANDLE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorResetEnumeration ( enumhandle : *mut RPC_ERROR_ENUM_HANDLE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorResetEnumeration ( enumhandle : *mut RPC_ERROR_ENUM_HANDLE ) -> RPC_STATUS ); RpcErrorResetEnumeration(enumhandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcErrorSaveErrorInfo(enumhandle: *const RPC_ERROR_ENUM_HANDLE, errorblob: *mut *mut ::core::ffi::c_void, blobsize: *mut usize) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorSaveErrorInfo ( enumhandle : *const RPC_ERROR_ENUM_HANDLE , errorblob : *mut *mut ::core::ffi::c_void , blobsize : *mut usize ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorSaveErrorInfo ( enumhandle : *const RPC_ERROR_ENUM_HANDLE , errorblob : *mut *mut ::core::ffi::c_void , blobsize : *mut usize ) -> RPC_STATUS ); RpcErrorSaveErrorInfo(enumhandle, errorblob, blobsize) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcErrorStartEnumeration(enumhandle: *mut RPC_ERROR_ENUM_HANDLE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcErrorStartEnumeration ( enumhandle : *mut RPC_ERROR_ENUM_HANDLE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcErrorStartEnumeration ( enumhandle : *mut RPC_ERROR_ENUM_HANDLE ) -> RPC_STATUS ); RpcErrorStartEnumeration(enumhandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcExceptionFilter(exceptioncode: u32) -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcExceptionFilter ( exceptioncode : u32 ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcExceptionFilter ( exceptioncode : u32 ) -> i32 ); RpcExceptionFilter(exceptioncode) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcFreeAuthorizationContext(pauthzclientcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcFreeAuthorizationContext ( pauthzclientcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcFreeAuthorizationContext ( pauthzclientcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcFreeAuthorizationContext(pauthzclientcontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`*"] @@ -2155,1100 +2155,1100 @@ pub unsafe fn RpcGetAuthorizationContextForClient(clientbinding: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcGetAuthorizationContextForClient ( clientbinding : *const ::core::ffi::c_void , impersonateonreturn : super::super::Foundation:: BOOL , reserved1 : *const ::core::ffi::c_void , pexpirationtime : *const i64 , reserved2 : super::super::Foundation:: LUID , reserved3 : u32 , reserved4 : *const ::core::ffi::c_void , pauthzclientcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcGetAuthorizationContextForClient ( clientbinding : *const ::core::ffi::c_void , impersonateonreturn : super::super::Foundation:: BOOL , reserved1 : *const ::core::ffi::c_void , pexpirationtime : *const i64 , reserved2 : super::super::Foundation:: LUID , reserved3 : u32 , reserved4 : *const ::core::ffi::c_void , pauthzclientcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcGetAuthorizationContextForClient(::core::mem::transmute(clientbinding.unwrap_or(::std::ptr::null())), impersonateonreturn.into(), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pexpirationtime.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2), reserved3, ::core::mem::transmute(reserved4.unwrap_or(::std::ptr::null())), pauthzclientcontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcIfIdVectorFree(ifidvector: *mut *mut RPC_IF_ID_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcIfIdVectorFree ( ifidvector : *mut *mut RPC_IF_ID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcIfIdVectorFree ( ifidvector : *mut *mut RPC_IF_ID_VECTOR ) -> RPC_STATUS ); RpcIfIdVectorFree(ifidvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcIfInqId(rpcifhandle: *const ::core::ffi::c_void, rpcifid: *mut RPC_IF_ID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcIfInqId ( rpcifhandle : *const ::core::ffi::c_void , rpcifid : *mut RPC_IF_ID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcIfInqId ( rpcifhandle : *const ::core::ffi::c_void , rpcifid : *mut RPC_IF_ID ) -> RPC_STATUS ); RpcIfInqId(rpcifhandle, rpcifid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcImpersonateClient(bindinghandle: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcImpersonateClient ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcImpersonateClient ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcImpersonateClient(::core::mem::transmute(bindinghandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcImpersonateClient2(bindinghandle: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcImpersonateClient2 ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcImpersonateClient2 ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcImpersonateClient2(::core::mem::transmute(bindinghandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcImpersonateClientContainer(bindinghandle: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcImpersonateClientContainer ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcImpersonateClientContainer ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcImpersonateClientContainer(::core::mem::transmute(bindinghandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtEnableIdleCleanup() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtEnableIdleCleanup ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtEnableIdleCleanup ( ) -> RPC_STATUS ); RpcMgmtEnableIdleCleanup() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtEpEltInqBegin(epbinding: ::core::option::Option<*const ::core::ffi::c_void>, inquirytype: u32, ifid: ::core::option::Option<*const RPC_IF_ID>, versoption: u32, objectuuid: ::core::option::Option<*const ::windows::core::GUID>, inquirycontext: *mut *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpEltInqBegin ( epbinding : *const ::core::ffi::c_void , inquirytype : u32 , ifid : *const RPC_IF_ID , versoption : u32 , objectuuid : *const :: windows::core::GUID , inquirycontext : *mut *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpEltInqBegin ( epbinding : *const ::core::ffi::c_void , inquirytype : u32 , ifid : *const RPC_IF_ID , versoption : u32 , objectuuid : *const :: windows::core::GUID , inquirycontext : *mut *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcMgmtEpEltInqBegin(::core::mem::transmute(epbinding.unwrap_or(::std::ptr::null())), inquirytype, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), versoption, ::core::mem::transmute(objectuuid.unwrap_or(::std::ptr::null())), inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtEpEltInqDone(inquirycontext: *mut *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpEltInqDone ( inquirycontext : *mut *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpEltInqDone ( inquirycontext : *mut *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcMgmtEpEltInqDone(inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtEpEltInqNextA(inquirycontext: *const *const ::core::ffi::c_void, ifid: *mut RPC_IF_ID, binding: ::core::option::Option<*mut *mut ::core::ffi::c_void>, objectuuid: ::core::option::Option<*mut ::windows::core::GUID>, annotation: ::core::option::Option<*mut *mut u8>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpEltInqNextA ( inquirycontext : *const *const ::core::ffi::c_void , ifid : *mut RPC_IF_ID , binding : *mut *mut ::core::ffi::c_void , objectuuid : *mut :: windows::core::GUID , annotation : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpEltInqNextA ( inquirycontext : *const *const ::core::ffi::c_void , ifid : *mut RPC_IF_ID , binding : *mut *mut ::core::ffi::c_void , objectuuid : *mut :: windows::core::GUID , annotation : *mut *mut u8 ) -> RPC_STATUS ); RpcMgmtEpEltInqNextA(inquirycontext, ifid, ::core::mem::transmute(binding.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(objectuuid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(annotation.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtEpEltInqNextW(inquirycontext: *const *const ::core::ffi::c_void, ifid: *mut RPC_IF_ID, binding: ::core::option::Option<*mut *mut ::core::ffi::c_void>, objectuuid: ::core::option::Option<*mut ::windows::core::GUID>, annotation: ::core::option::Option<*mut *mut u16>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpEltInqNextW ( inquirycontext : *const *const ::core::ffi::c_void , ifid : *mut RPC_IF_ID , binding : *mut *mut ::core::ffi::c_void , objectuuid : *mut :: windows::core::GUID , annotation : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpEltInqNextW ( inquirycontext : *const *const ::core::ffi::c_void , ifid : *mut RPC_IF_ID , binding : *mut *mut ::core::ffi::c_void , objectuuid : *mut :: windows::core::GUID , annotation : *mut *mut u16 ) -> RPC_STATUS ); RpcMgmtEpEltInqNextW(inquirycontext, ifid, ::core::mem::transmute(binding.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(objectuuid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(annotation.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtEpUnregister(epbinding: ::core::option::Option<*const ::core::ffi::c_void>, ifid: *const RPC_IF_ID, binding: *const ::core::ffi::c_void, objectuuid: ::core::option::Option<*const ::windows::core::GUID>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpUnregister ( epbinding : *const ::core::ffi::c_void , ifid : *const RPC_IF_ID , binding : *const ::core::ffi::c_void , objectuuid : *const :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtEpUnregister ( epbinding : *const ::core::ffi::c_void , ifid : *const RPC_IF_ID , binding : *const ::core::ffi::c_void , objectuuid : *const :: windows::core::GUID ) -> RPC_STATUS ); RpcMgmtEpUnregister(::core::mem::transmute(epbinding.unwrap_or(::std::ptr::null())), ifid, binding, ::core::mem::transmute(objectuuid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtInqComTimeout(binding: *const ::core::ffi::c_void, timeout: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqComTimeout ( binding : *const ::core::ffi::c_void , timeout : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqComTimeout ( binding : *const ::core::ffi::c_void , timeout : *mut u32 ) -> RPC_STATUS ); RpcMgmtInqComTimeout(binding, timeout) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtInqDefaultProtectLevel(authnsvc: u32, authnlevel: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqDefaultProtectLevel ( authnsvc : u32 , authnlevel : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqDefaultProtectLevel ( authnsvc : u32 , authnlevel : *mut u32 ) -> RPC_STATUS ); RpcMgmtInqDefaultProtectLevel(authnsvc, authnlevel) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtInqIfIds(binding: ::core::option::Option<*const ::core::ffi::c_void>, ifidvector: *mut *mut RPC_IF_ID_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqIfIds ( binding : *const ::core::ffi::c_void , ifidvector : *mut *mut RPC_IF_ID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqIfIds ( binding : *const ::core::ffi::c_void , ifidvector : *mut *mut RPC_IF_ID_VECTOR ) -> RPC_STATUS ); RpcMgmtInqIfIds(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), ifidvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtInqServerPrincNameA(binding: ::core::option::Option<*const ::core::ffi::c_void>, authnsvc: u32, serverprincname: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqServerPrincNameA ( binding : *const ::core::ffi::c_void , authnsvc : u32 , serverprincname : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqServerPrincNameA ( binding : *const ::core::ffi::c_void , authnsvc : u32 , serverprincname : *mut *mut u8 ) -> RPC_STATUS ); RpcMgmtInqServerPrincNameA(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), authnsvc, serverprincname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtInqServerPrincNameW(binding: ::core::option::Option<*const ::core::ffi::c_void>, authnsvc: u32, serverprincname: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqServerPrincNameW ( binding : *const ::core::ffi::c_void , authnsvc : u32 , serverprincname : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqServerPrincNameW ( binding : *const ::core::ffi::c_void , authnsvc : u32 , serverprincname : *mut *mut u16 ) -> RPC_STATUS ); RpcMgmtInqServerPrincNameW(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), authnsvc, serverprincname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtInqStats(binding: ::core::option::Option<*const ::core::ffi::c_void>, statistics: *mut *mut RPC_STATS_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqStats ( binding : *const ::core::ffi::c_void , statistics : *mut *mut RPC_STATS_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtInqStats ( binding : *const ::core::ffi::c_void , statistics : *mut *mut RPC_STATS_VECTOR ) -> RPC_STATUS ); RpcMgmtInqStats(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), statistics) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtIsServerListening(binding: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtIsServerListening ( binding : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtIsServerListening ( binding : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcMgmtIsServerListening(::core::mem::transmute(binding.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtSetAuthorizationFn(authorizationfn: RPC_MGMT_AUTHORIZATION_FN) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtSetAuthorizationFn ( authorizationfn : RPC_MGMT_AUTHORIZATION_FN ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtSetAuthorizationFn ( authorizationfn : RPC_MGMT_AUTHORIZATION_FN ) -> RPC_STATUS ); RpcMgmtSetAuthorizationFn(authorizationfn) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtSetCancelTimeout(timeout: i32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtSetCancelTimeout ( timeout : i32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtSetCancelTimeout ( timeout : i32 ) -> RPC_STATUS ); RpcMgmtSetCancelTimeout(timeout) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtSetComTimeout(binding: *const ::core::ffi::c_void, timeout: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtSetComTimeout ( binding : *const ::core::ffi::c_void , timeout : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtSetComTimeout ( binding : *const ::core::ffi::c_void , timeout : u32 ) -> RPC_STATUS ); RpcMgmtSetComTimeout(binding, timeout) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtSetServerStackSize(threadstacksize: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtSetServerStackSize ( threadstacksize : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtSetServerStackSize ( threadstacksize : u32 ) -> RPC_STATUS ); RpcMgmtSetServerStackSize(threadstacksize) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtStatsVectorFree(statsvector: *mut *mut RPC_STATS_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtStatsVectorFree ( statsvector : *mut *mut RPC_STATS_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtStatsVectorFree ( statsvector : *mut *mut RPC_STATS_VECTOR ) -> RPC_STATUS ); RpcMgmtStatsVectorFree(statsvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtStopServerListening(binding: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtStopServerListening ( binding : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtStopServerListening ( binding : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcMgmtStopServerListening(::core::mem::transmute(binding.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcMgmtWaitServerListen() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcMgmtWaitServerListen ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcMgmtWaitServerListen ( ) -> RPC_STATUS ); RpcMgmtWaitServerListen() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNetworkInqProtseqsA(protseqvector: *mut *mut RPC_PROTSEQ_VECTORA) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcNetworkInqProtseqsA ( protseqvector : *mut *mut RPC_PROTSEQ_VECTORA ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcNetworkInqProtseqsA ( protseqvector : *mut *mut RPC_PROTSEQ_VECTORA ) -> RPC_STATUS ); RpcNetworkInqProtseqsA(protseqvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNetworkInqProtseqsW(protseqvector: *mut *mut RPC_PROTSEQ_VECTORW) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcNetworkInqProtseqsW ( protseqvector : *mut *mut RPC_PROTSEQ_VECTORW ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcNetworkInqProtseqsW ( protseqvector : *mut *mut RPC_PROTSEQ_VECTORW ) -> RPC_STATUS ); RpcNetworkInqProtseqsW(protseqvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNetworkIsProtseqValidA(protseq: *const u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcNetworkIsProtseqValidA ( protseq : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcNetworkIsProtseqValidA ( protseq : *const u8 ) -> RPC_STATUS ); RpcNetworkIsProtseqValidA(protseq) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNetworkIsProtseqValidW(protseq: *const u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcNetworkIsProtseqValidW ( protseq : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcNetworkIsProtseqValidW ( protseq : *const u16 ) -> RPC_STATUS ); RpcNetworkIsProtseqValidW(protseq) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingExportA(entrynamesyntax: u32, entryname: ::core::option::Option<*const u8>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, bindingvec: ::core::option::Option<*const RPC_BINDING_VECTOR>, objectuuidvec: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingExportA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , bindingvec : *const RPC_BINDING_VECTOR , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingExportA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , bindingvec : *const RPC_BINDING_VECTOR , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsBindingExportA(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(bindingvec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectuuidvec.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingExportPnPA(entrynamesyntax: u32, entryname: ::core::option::Option<*const u8>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objectvector: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingExportPnPA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objectvector : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingExportPnPA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objectvector : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsBindingExportPnPA(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectvector.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingExportPnPW(entrynamesyntax: u32, entryname: ::core::option::Option<*const u16>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objectvector: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingExportPnPW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objectvector : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingExportPnPW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objectvector : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsBindingExportPnPW(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectvector.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingExportW(entrynamesyntax: u32, entryname: ::core::option::Option<*const u16>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, bindingvec: ::core::option::Option<*const RPC_BINDING_VECTOR>, objectuuidvec: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingExportW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , bindingvec : *const RPC_BINDING_VECTOR , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingExportW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , bindingvec : *const RPC_BINDING_VECTOR , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsBindingExportW(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(bindingvec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectuuidvec.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingImportBeginA(entrynamesyntax: u32, entryname: ::core::option::Option<*const u8>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objuuid: ::core::option::Option<*const ::windows::core::GUID>, importcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingImportBeginA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objuuid : *const :: windows::core::GUID , importcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingImportBeginA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objuuid : *const :: windows::core::GUID , importcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsBindingImportBeginA(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objuuid.unwrap_or(::std::ptr::null())), importcontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingImportBeginW(entrynamesyntax: u32, entryname: ::core::option::Option<*const u16>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objuuid: ::core::option::Option<*const ::windows::core::GUID>, importcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingImportBeginW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objuuid : *const :: windows::core::GUID , importcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingImportBeginW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objuuid : *const :: windows::core::GUID , importcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsBindingImportBeginW(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objuuid.unwrap_or(::std::ptr::null())), importcontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingImportDone(importcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingImportDone ( importcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingImportDone ( importcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsBindingImportDone(importcontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingImportNext(importcontext: *mut ::core::ffi::c_void, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingImportNext ( importcontext : *mut ::core::ffi::c_void , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingImportNext ( importcontext : *mut ::core::ffi::c_void , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsBindingImportNext(importcontext, binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingInqEntryNameA(binding: *const ::core::ffi::c_void, entrynamesyntax: u32, entryname: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcNsBindingInqEntryNameA ( binding : *const ::core::ffi::c_void , entrynamesyntax : u32 , entryname : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcNsBindingInqEntryNameA ( binding : *const ::core::ffi::c_void , entrynamesyntax : u32 , entryname : *mut *mut u8 ) -> RPC_STATUS ); RpcNsBindingInqEntryNameA(binding, entrynamesyntax, entryname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingInqEntryNameW(binding: *const ::core::ffi::c_void, entrynamesyntax: u32, entryname: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcNsBindingInqEntryNameW ( binding : *const ::core::ffi::c_void , entrynamesyntax : u32 , entryname : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcNsBindingInqEntryNameW ( binding : *const ::core::ffi::c_void , entrynamesyntax : u32 , entryname : *mut *mut u16 ) -> RPC_STATUS ); RpcNsBindingInqEntryNameW(binding, entrynamesyntax, entryname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingLookupBeginA(entrynamesyntax: u32, entryname: ::core::option::Option<*const u8>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objuuid: ::core::option::Option<*const ::windows::core::GUID>, bindingmaxcount: u32, lookupcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingLookupBeginA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objuuid : *const :: windows::core::GUID , bindingmaxcount : u32 , lookupcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingLookupBeginA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objuuid : *const :: windows::core::GUID , bindingmaxcount : u32 , lookupcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsBindingLookupBeginA(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objuuid.unwrap_or(::std::ptr::null())), bindingmaxcount, lookupcontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingLookupBeginW(entrynamesyntax: u32, entryname: ::core::option::Option<*const u16>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objuuid: ::core::option::Option<*const ::windows::core::GUID>, bindingmaxcount: u32, lookupcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingLookupBeginW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objuuid : *const :: windows::core::GUID , bindingmaxcount : u32 , lookupcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingLookupBeginW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objuuid : *const :: windows::core::GUID , bindingmaxcount : u32 , lookupcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsBindingLookupBeginW(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objuuid.unwrap_or(::std::ptr::null())), bindingmaxcount, lookupcontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingLookupDone(lookupcontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingLookupDone ( lookupcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingLookupDone ( lookupcontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsBindingLookupDone(lookupcontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingLookupNext(lookupcontext: *mut ::core::ffi::c_void, bindingvec: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingLookupNext ( lookupcontext : *mut ::core::ffi::c_void , bindingvec : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingLookupNext ( lookupcontext : *mut ::core::ffi::c_void , bindingvec : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); RpcNsBindingLookupNext(lookupcontext, bindingvec) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingSelect(bindingvec: *mut RPC_BINDING_VECTOR, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingSelect ( bindingvec : *mut RPC_BINDING_VECTOR , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingSelect ( bindingvec : *mut RPC_BINDING_VECTOR , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsBindingSelect(bindingvec, binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingUnexportA(entrynamesyntax: u32, entryname: ::core::option::Option<*const u8>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objectuuidvec: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingUnexportA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingUnexportA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsBindingUnexportA(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectuuidvec.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingUnexportPnPA(entrynamesyntax: u32, entryname: ::core::option::Option<*const u8>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objectvector: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingUnexportPnPA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objectvector : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingUnexportPnPA ( entrynamesyntax : u32 , entryname : *const u8 , ifspec : *const ::core::ffi::c_void , objectvector : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsBindingUnexportPnPA(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectvector.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingUnexportPnPW(entrynamesyntax: u32, entryname: ::core::option::Option<*const u16>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objectvector: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingUnexportPnPW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objectvector : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingUnexportPnPW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objectvector : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsBindingUnexportPnPW(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectvector.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsBindingUnexportW(entrynamesyntax: u32, entryname: ::core::option::Option<*const u16>, ifspec: ::core::option::Option<*const ::core::ffi::c_void>, objectuuidvec: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsBindingUnexportW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsBindingUnexportW ( entrynamesyntax : u32 , entryname : *const u16 , ifspec : *const ::core::ffi::c_void , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsBindingUnexportW(entrynamesyntax, ::core::mem::transmute(entryname.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectuuidvec.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsEntryExpandNameA(entrynamesyntax: u32, entryname: *const u8, expandedname: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsEntryExpandNameA ( entrynamesyntax : u32 , entryname : *const u8 , expandedname : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsEntryExpandNameA ( entrynamesyntax : u32 , entryname : *const u8 , expandedname : *mut *mut u8 ) -> RPC_STATUS ); RpcNsEntryExpandNameA(entrynamesyntax, entryname, expandedname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsEntryExpandNameW(entrynamesyntax: u32, entryname: *const u16, expandedname: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsEntryExpandNameW ( entrynamesyntax : u32 , entryname : *const u16 , expandedname : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsEntryExpandNameW ( entrynamesyntax : u32 , entryname : *const u16 , expandedname : *mut *mut u16 ) -> RPC_STATUS ); RpcNsEntryExpandNameW(entrynamesyntax, entryname, expandedname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsEntryObjectInqBeginA(entrynamesyntax: u32, entryname: *const u8, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsEntryObjectInqBeginA ( entrynamesyntax : u32 , entryname : *const u8 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsEntryObjectInqBeginA ( entrynamesyntax : u32 , entryname : *const u8 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsEntryObjectInqBeginA(entrynamesyntax, entryname, inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsEntryObjectInqBeginW(entrynamesyntax: u32, entryname: *const u16, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsEntryObjectInqBeginW ( entrynamesyntax : u32 , entryname : *const u16 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsEntryObjectInqBeginW ( entrynamesyntax : u32 , entryname : *const u16 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsEntryObjectInqBeginW(entrynamesyntax, entryname, inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsEntryObjectInqDone(inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsEntryObjectInqDone ( inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsEntryObjectInqDone ( inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsEntryObjectInqDone(inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsEntryObjectInqNext(inquirycontext: *mut ::core::ffi::c_void, objuuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsEntryObjectInqNext ( inquirycontext : *mut ::core::ffi::c_void , objuuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsEntryObjectInqNext ( inquirycontext : *mut ::core::ffi::c_void , objuuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); RpcNsEntryObjectInqNext(inquirycontext, objuuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupDeleteA(groupnamesyntax: GROUP_NAME_SYNTAX, groupname: ::core::option::Option<*const u8>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupDeleteA ( groupnamesyntax : GROUP_NAME_SYNTAX , groupname : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupDeleteA ( groupnamesyntax : GROUP_NAME_SYNTAX , groupname : *const u8 ) -> RPC_STATUS ); RpcNsGroupDeleteA(groupnamesyntax, ::core::mem::transmute(groupname.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupDeleteW(groupnamesyntax: GROUP_NAME_SYNTAX, groupname: ::core::option::Option<*const u16>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupDeleteW ( groupnamesyntax : GROUP_NAME_SYNTAX , groupname : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupDeleteW ( groupnamesyntax : GROUP_NAME_SYNTAX , groupname : *const u16 ) -> RPC_STATUS ); RpcNsGroupDeleteW(groupnamesyntax, ::core::mem::transmute(groupname.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrAddA(groupnamesyntax: u32, groupname: *const u8, membernamesyntax: u32, membername: *const u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrAddA ( groupnamesyntax : u32 , groupname : *const u8 , membernamesyntax : u32 , membername : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrAddA ( groupnamesyntax : u32 , groupname : *const u8 , membernamesyntax : u32 , membername : *const u8 ) -> RPC_STATUS ); RpcNsGroupMbrAddA(groupnamesyntax, groupname, membernamesyntax, membername) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrAddW(groupnamesyntax: u32, groupname: *const u16, membernamesyntax: u32, membername: *const u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrAddW ( groupnamesyntax : u32 , groupname : *const u16 , membernamesyntax : u32 , membername : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrAddW ( groupnamesyntax : u32 , groupname : *const u16 , membernamesyntax : u32 , membername : *const u16 ) -> RPC_STATUS ); RpcNsGroupMbrAddW(groupnamesyntax, groupname, membernamesyntax, membername) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrInqBeginA(groupnamesyntax: u32, groupname: *const u8, membernamesyntax: u32, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqBeginA ( groupnamesyntax : u32 , groupname : *const u8 , membernamesyntax : u32 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqBeginA ( groupnamesyntax : u32 , groupname : *const u8 , membernamesyntax : u32 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsGroupMbrInqBeginA(groupnamesyntax, groupname, membernamesyntax, inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrInqBeginW(groupnamesyntax: u32, groupname: *const u16, membernamesyntax: u32, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqBeginW ( groupnamesyntax : u32 , groupname : *const u16 , membernamesyntax : u32 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqBeginW ( groupnamesyntax : u32 , groupname : *const u16 , membernamesyntax : u32 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsGroupMbrInqBeginW(groupnamesyntax, groupname, membernamesyntax, inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrInqDone(inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqDone ( inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqDone ( inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsGroupMbrInqDone(inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrInqNextA(inquirycontext: *mut ::core::ffi::c_void, membername: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqNextA ( inquirycontext : *mut ::core::ffi::c_void , membername : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqNextA ( inquirycontext : *mut ::core::ffi::c_void , membername : *mut *mut u8 ) -> RPC_STATUS ); RpcNsGroupMbrInqNextA(inquirycontext, membername) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrInqNextW(inquirycontext: *mut ::core::ffi::c_void, membername: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqNextW ( inquirycontext : *mut ::core::ffi::c_void , membername : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrInqNextW ( inquirycontext : *mut ::core::ffi::c_void , membername : *mut *mut u16 ) -> RPC_STATUS ); RpcNsGroupMbrInqNextW(inquirycontext, membername) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrRemoveA(groupnamesyntax: u32, groupname: *const u8, membernamesyntax: u32, membername: *const u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrRemoveA ( groupnamesyntax : u32 , groupname : *const u8 , membernamesyntax : u32 , membername : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrRemoveA ( groupnamesyntax : u32 , groupname : *const u8 , membernamesyntax : u32 , membername : *const u8 ) -> RPC_STATUS ); RpcNsGroupMbrRemoveA(groupnamesyntax, groupname, membernamesyntax, membername) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsGroupMbrRemoveW(groupnamesyntax: u32, groupname: *const u16, membernamesyntax: u32, membername: *const u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrRemoveW ( groupnamesyntax : u32 , groupname : *const u16 , membernamesyntax : u32 , membername : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsGroupMbrRemoveW ( groupnamesyntax : u32 , groupname : *const u16 , membernamesyntax : u32 , membername : *const u16 ) -> RPC_STATUS ); RpcNsGroupMbrRemoveW(groupnamesyntax, groupname, membernamesyntax, membername) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtBindingUnexportA(entrynamesyntax: u32, entryname: *const u8, ifid: ::core::option::Option<*const RPC_IF_ID>, versoption: u32, objectuuidvec: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtBindingUnexportA ( entrynamesyntax : u32 , entryname : *const u8 , ifid : *const RPC_IF_ID , versoption : u32 , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtBindingUnexportA ( entrynamesyntax : u32 , entryname : *const u8 , ifid : *const RPC_IF_ID , versoption : u32 , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsMgmtBindingUnexportA(entrynamesyntax, entryname, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), versoption, ::core::mem::transmute(objectuuidvec.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtBindingUnexportW(entrynamesyntax: u32, entryname: *const u16, ifid: ::core::option::Option<*const RPC_IF_ID>, versoption: u32, objectuuidvec: ::core::option::Option<*const UUID_VECTOR>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtBindingUnexportW ( entrynamesyntax : u32 , entryname : *const u16 , ifid : *const RPC_IF_ID , versoption : u32 , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtBindingUnexportW ( entrynamesyntax : u32 , entryname : *const u16 , ifid : *const RPC_IF_ID , versoption : u32 , objectuuidvec : *const UUID_VECTOR ) -> RPC_STATUS ); RpcNsMgmtBindingUnexportW(entrynamesyntax, entryname, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), versoption, ::core::mem::transmute(objectuuidvec.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtEntryCreateA(entrynamesyntax: u32, entryname: *const u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryCreateA ( entrynamesyntax : u32 , entryname : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryCreateA ( entrynamesyntax : u32 , entryname : *const u8 ) -> RPC_STATUS ); RpcNsMgmtEntryCreateA(entrynamesyntax, entryname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtEntryCreateW(entrynamesyntax: u32, entryname: *const u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryCreateW ( entrynamesyntax : u32 , entryname : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryCreateW ( entrynamesyntax : u32 , entryname : *const u16 ) -> RPC_STATUS ); RpcNsMgmtEntryCreateW(entrynamesyntax, entryname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtEntryDeleteA(entrynamesyntax: u32, entryname: *const u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryDeleteA ( entrynamesyntax : u32 , entryname : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryDeleteA ( entrynamesyntax : u32 , entryname : *const u8 ) -> RPC_STATUS ); RpcNsMgmtEntryDeleteA(entrynamesyntax, entryname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtEntryDeleteW(entrynamesyntax: u32, entryname: *const u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryDeleteW ( entrynamesyntax : u32 , entryname : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryDeleteW ( entrynamesyntax : u32 , entryname : *const u16 ) -> RPC_STATUS ); RpcNsMgmtEntryDeleteW(entrynamesyntax, entryname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtEntryInqIfIdsA(entrynamesyntax: u32, entryname: *const u8, ifidvec: *mut *mut RPC_IF_ID_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryInqIfIdsA ( entrynamesyntax : u32 , entryname : *const u8 , ifidvec : *mut *mut RPC_IF_ID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryInqIfIdsA ( entrynamesyntax : u32 , entryname : *const u8 , ifidvec : *mut *mut RPC_IF_ID_VECTOR ) -> RPC_STATUS ); RpcNsMgmtEntryInqIfIdsA(entrynamesyntax, entryname, ifidvec) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtEntryInqIfIdsW(entrynamesyntax: u32, entryname: *const u16, ifidvec: *mut *mut RPC_IF_ID_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryInqIfIdsW ( entrynamesyntax : u32 , entryname : *const u16 , ifidvec : *mut *mut RPC_IF_ID_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtEntryInqIfIdsW ( entrynamesyntax : u32 , entryname : *const u16 , ifidvec : *mut *mut RPC_IF_ID_VECTOR ) -> RPC_STATUS ); RpcNsMgmtEntryInqIfIdsW(entrynamesyntax, entryname, ifidvec) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtHandleSetExpAge(nshandle: *mut ::core::ffi::c_void, expirationage: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtHandleSetExpAge ( nshandle : *mut ::core::ffi::c_void , expirationage : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtHandleSetExpAge ( nshandle : *mut ::core::ffi::c_void , expirationage : u32 ) -> RPC_STATUS ); RpcNsMgmtHandleSetExpAge(nshandle, expirationage) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtInqExpAge(expirationage: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtInqExpAge ( expirationage : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtInqExpAge ( expirationage : *mut u32 ) -> RPC_STATUS ); RpcNsMgmtInqExpAge(expirationage) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsMgmtSetExpAge(expirationage: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsMgmtSetExpAge ( expirationage : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsMgmtSetExpAge ( expirationage : u32 ) -> RPC_STATUS ); RpcNsMgmtSetExpAge(expirationage) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileDeleteA(profilenamesyntax: u32, profilename: *const u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileDeleteA ( profilenamesyntax : u32 , profilename : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileDeleteA ( profilenamesyntax : u32 , profilename : *const u8 ) -> RPC_STATUS ); RpcNsProfileDeleteA(profilenamesyntax, profilename) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileDeleteW(profilenamesyntax: u32, profilename: *const u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileDeleteW ( profilenamesyntax : u32 , profilename : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileDeleteW ( profilenamesyntax : u32 , profilename : *const u16 ) -> RPC_STATUS ); RpcNsProfileDeleteW(profilenamesyntax, profilename) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltAddA(profilenamesyntax: u32, profilename: *const u8, ifid: ::core::option::Option<*const RPC_IF_ID>, membernamesyntax: u32, membername: *const u8, priority: u32, annotation: ::core::option::Option<*const u8>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltAddA ( profilenamesyntax : u32 , profilename : *const u8 , ifid : *const RPC_IF_ID , membernamesyntax : u32 , membername : *const u8 , priority : u32 , annotation : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltAddA ( profilenamesyntax : u32 , profilename : *const u8 , ifid : *const RPC_IF_ID , membernamesyntax : u32 , membername : *const u8 , priority : u32 , annotation : *const u8 ) -> RPC_STATUS ); RpcNsProfileEltAddA(profilenamesyntax, profilename, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), membernamesyntax, membername, priority, ::core::mem::transmute(annotation.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltAddW(profilenamesyntax: u32, profilename: *const u16, ifid: ::core::option::Option<*const RPC_IF_ID>, membernamesyntax: u32, membername: *const u16, priority: u32, annotation: ::core::option::Option<*const u16>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltAddW ( profilenamesyntax : u32 , profilename : *const u16 , ifid : *const RPC_IF_ID , membernamesyntax : u32 , membername : *const u16 , priority : u32 , annotation : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltAddW ( profilenamesyntax : u32 , profilename : *const u16 , ifid : *const RPC_IF_ID , membernamesyntax : u32 , membername : *const u16 , priority : u32 , annotation : *const u16 ) -> RPC_STATUS ); RpcNsProfileEltAddW(profilenamesyntax, profilename, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), membernamesyntax, membername, priority, ::core::mem::transmute(annotation.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltInqBeginA(profilenamesyntax: u32, profilename: *const u8, inquirytype: u32, ifid: ::core::option::Option<*const RPC_IF_ID>, versoption: u32, membernamesyntax: u32, membername: ::core::option::Option<*const u8>, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqBeginA ( profilenamesyntax : u32 , profilename : *const u8 , inquirytype : u32 , ifid : *const RPC_IF_ID , versoption : u32 , membernamesyntax : u32 , membername : *const u8 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqBeginA ( profilenamesyntax : u32 , profilename : *const u8 , inquirytype : u32 , ifid : *const RPC_IF_ID , versoption : u32 , membernamesyntax : u32 , membername : *const u8 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsProfileEltInqBeginA(profilenamesyntax, profilename, inquirytype, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), versoption, membernamesyntax, ::core::mem::transmute(membername.unwrap_or(::std::ptr::null())), inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltInqBeginW(profilenamesyntax: u32, profilename: *const u16, inquirytype: u32, ifid: ::core::option::Option<*const RPC_IF_ID>, versoption: u32, membernamesyntax: u32, membername: ::core::option::Option<*const u16>, inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqBeginW ( profilenamesyntax : u32 , profilename : *const u16 , inquirytype : u32 , ifid : *const RPC_IF_ID , versoption : u32 , membernamesyntax : u32 , membername : *const u16 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqBeginW ( profilenamesyntax : u32 , profilename : *const u16 , inquirytype : u32 , ifid : *const RPC_IF_ID , versoption : u32 , membernamesyntax : u32 , membername : *const u16 , inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsProfileEltInqBeginW(profilenamesyntax, profilename, inquirytype, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), versoption, membernamesyntax, ::core::mem::transmute(membername.unwrap_or(::std::ptr::null())), inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltInqDone(inquirycontext: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqDone ( inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqDone ( inquirycontext : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcNsProfileEltInqDone(inquirycontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltInqNextA(inquirycontext: *const ::core::ffi::c_void, ifid: ::core::option::Option<*mut RPC_IF_ID>, membername: *mut *mut u8, priority: *mut u32, annotation: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqNextA ( inquirycontext : *const ::core::ffi::c_void , ifid : *mut RPC_IF_ID , membername : *mut *mut u8 , priority : *mut u32 , annotation : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqNextA ( inquirycontext : *const ::core::ffi::c_void , ifid : *mut RPC_IF_ID , membername : *mut *mut u8 , priority : *mut u32 , annotation : *mut *mut u8 ) -> RPC_STATUS ); RpcNsProfileEltInqNextA(inquirycontext, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null_mut())), membername, priority, annotation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltInqNextW(inquirycontext: *const ::core::ffi::c_void, ifid: ::core::option::Option<*mut RPC_IF_ID>, membername: *mut *mut u16, priority: *mut u32, annotation: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqNextW ( inquirycontext : *const ::core::ffi::c_void , ifid : *mut RPC_IF_ID , membername : *mut *mut u16 , priority : *mut u32 , annotation : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltInqNextW ( inquirycontext : *const ::core::ffi::c_void , ifid : *mut RPC_IF_ID , membername : *mut *mut u16 , priority : *mut u32 , annotation : *mut *mut u16 ) -> RPC_STATUS ); RpcNsProfileEltInqNextW(inquirycontext, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null_mut())), membername, priority, annotation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltRemoveA(profilenamesyntax: u32, profilename: *const u8, ifid: ::core::option::Option<*const RPC_IF_ID>, membernamesyntax: u32, membername: *const u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltRemoveA ( profilenamesyntax : u32 , profilename : *const u8 , ifid : *const RPC_IF_ID , membernamesyntax : u32 , membername : *const u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltRemoveA ( profilenamesyntax : u32 , profilename : *const u8 , ifid : *const RPC_IF_ID , membernamesyntax : u32 , membername : *const u8 ) -> RPC_STATUS ); RpcNsProfileEltRemoveA(profilenamesyntax, profilename, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), membernamesyntax, membername) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcNsProfileEltRemoveW(profilenamesyntax: u32, profilename: *const u16, ifid: ::core::option::Option<*const RPC_IF_ID>, membernamesyntax: u32, membername: *const u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltRemoveW ( profilenamesyntax : u32 , profilename : *const u16 , ifid : *const RPC_IF_ID , membernamesyntax : u32 , membername : *const u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcns4.dll""system" fn RpcNsProfileEltRemoveW ( profilenamesyntax : u32 , profilename : *const u16 , ifid : *const RPC_IF_ID , membernamesyntax : u32 , membername : *const u16 ) -> RPC_STATUS ); RpcNsProfileEltRemoveW(profilenamesyntax, profilename, ::core::mem::transmute(ifid.unwrap_or(::std::ptr::null())), membernamesyntax, membername) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcObjectInqType(objuuid: *const ::windows::core::GUID, typeuuid: ::core::option::Option<*mut ::windows::core::GUID>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcObjectInqType ( objuuid : *const :: windows::core::GUID , typeuuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcObjectInqType ( objuuid : *const :: windows::core::GUID , typeuuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); RpcObjectInqType(objuuid, ::core::mem::transmute(typeuuid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcObjectSetInqFn(inquiryfn: RPC_OBJECT_INQ_FN) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcObjectSetInqFn ( inquiryfn : RPC_OBJECT_INQ_FN ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcObjectSetInqFn ( inquiryfn : RPC_OBJECT_INQ_FN ) -> RPC_STATUS ); RpcObjectSetInqFn(inquiryfn) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcObjectSetType(objuuid: *const ::windows::core::GUID, typeuuid: ::core::option::Option<*const ::windows::core::GUID>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcObjectSetType ( objuuid : *const :: windows::core::GUID , typeuuid : *const :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcObjectSetType ( objuuid : *const :: windows::core::GUID , typeuuid : *const :: windows::core::GUID ) -> RPC_STATUS ); RpcObjectSetType(objuuid, ::core::mem::transmute(typeuuid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcProtseqVectorFreeA(protseqvector: *mut *mut RPC_PROTSEQ_VECTORA) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcProtseqVectorFreeA ( protseqvector : *mut *mut RPC_PROTSEQ_VECTORA ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcProtseqVectorFreeA ( protseqvector : *mut *mut RPC_PROTSEQ_VECTORA ) -> RPC_STATUS ); RpcProtseqVectorFreeA(protseqvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcProtseqVectorFreeW(protseqvector: *mut *mut RPC_PROTSEQ_VECTORW) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcProtseqVectorFreeW ( protseqvector : *mut *mut RPC_PROTSEQ_VECTORW ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcProtseqVectorFreeW ( protseqvector : *mut *mut RPC_PROTSEQ_VECTORW ) -> RPC_STATUS ); RpcProtseqVectorFreeW(protseqvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcRaiseException(exception: RPC_STATUS) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcRaiseException ( exception : RPC_STATUS ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcRaiseException ( exception : RPC_STATUS ) -> ( ) ); RpcRaiseException(exception) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcRevertContainerImpersonation() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcRevertContainerImpersonation ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcRevertContainerImpersonation ( ) -> RPC_STATUS ); RpcRevertContainerImpersonation() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcRevertToSelf() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcRevertToSelf ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcRevertToSelf ( ) -> RPC_STATUS ); RpcRevertToSelf() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcRevertToSelfEx(bindinghandle: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcRevertToSelfEx ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcRevertToSelfEx ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcRevertToSelfEx(::core::mem::transmute(bindinghandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerCompleteSecurityCallback(bindinghandle: *const ::core::ffi::c_void, status: RPC_STATUS) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerCompleteSecurityCallback ( bindinghandle : *const ::core::ffi::c_void , status : RPC_STATUS ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerCompleteSecurityCallback ( bindinghandle : *const ::core::ffi::c_void , status : RPC_STATUS ) -> RPC_STATUS ); RpcServerCompleteSecurityCallback(bindinghandle, status) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInqBindingHandle(binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInqBindingHandle ( binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInqBindingHandle ( binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerInqBindingHandle(binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInqBindings(bindingvector: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInqBindings ( bindingvector : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInqBindings ( bindingvector : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); RpcServerInqBindings(bindingvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInqBindingsEx(securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, bindingvector: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInqBindingsEx ( securitydescriptor : *const ::core::ffi::c_void , bindingvector : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInqBindingsEx ( securitydescriptor : *const ::core::ffi::c_void , bindingvector : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); RpcServerInqBindingsEx(::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), bindingvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInqCallAttributesA(clientbinding: ::core::option::Option<*const ::core::ffi::c_void>, rpccallattributes: *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInqCallAttributesA ( clientbinding : *const ::core::ffi::c_void , rpccallattributes : *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInqCallAttributesA ( clientbinding : *const ::core::ffi::c_void , rpccallattributes : *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerInqCallAttributesA(::core::mem::transmute(clientbinding.unwrap_or(::std::ptr::null())), rpccallattributes) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInqCallAttributesW(clientbinding: ::core::option::Option<*const ::core::ffi::c_void>, rpccallattributes: *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInqCallAttributesW ( clientbinding : *const ::core::ffi::c_void , rpccallattributes : *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInqCallAttributesW ( clientbinding : *const ::core::ffi::c_void , rpccallattributes : *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerInqCallAttributesW(::core::mem::transmute(clientbinding.unwrap_or(::std::ptr::null())), rpccallattributes) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInqDefaultPrincNameA(authnsvc: u32, princname: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInqDefaultPrincNameA ( authnsvc : u32 , princname : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInqDefaultPrincNameA ( authnsvc : u32 , princname : *mut *mut u8 ) -> RPC_STATUS ); RpcServerInqDefaultPrincNameA(authnsvc, princname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInqDefaultPrincNameW(authnsvc: u32, princname: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInqDefaultPrincNameW ( authnsvc : u32 , princname : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInqDefaultPrincNameW ( authnsvc : u32 , princname : *mut *mut u16 ) -> RPC_STATUS ); RpcServerInqDefaultPrincNameW(authnsvc, princname) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInqIf(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: ::core::option::Option<*const ::windows::core::GUID>, mgrepv: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInqIf ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInqIf ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerInqIf(ifspec, ::core::mem::transmute(mgrtypeuuid.unwrap_or(::std::ptr::null())), mgrepv) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInterfaceGroupActivate(ifgroup: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupActivate ( ifgroup : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupActivate ( ifgroup : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerInterfaceGroupActivate(ifgroup) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInterfaceGroupClose(ifgroup: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupClose ( ifgroup : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupClose ( ifgroup : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerInterfaceGroupClose(ifgroup) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInterfaceGroupCreateA(interfaces: &[RPC_INTERFACE_TEMPLATEA], endpoints: &[RPC_ENDPOINT_TEMPLATEA], idleperiod: u32, idlecallbackfn: RPC_INTERFACE_GROUP_IDLE_CALLBACK_FN, idlecallbackcontext: *const ::core::ffi::c_void, ifgroup: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupCreateA ( interfaces : *const RPC_INTERFACE_TEMPLATEA , numifs : u32 , endpoints : *const RPC_ENDPOINT_TEMPLATEA , numendpoints : u32 , idleperiod : u32 , idlecallbackfn : RPC_INTERFACE_GROUP_IDLE_CALLBACK_FN , idlecallbackcontext : *const ::core::ffi::c_void , ifgroup : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupCreateA ( interfaces : *const RPC_INTERFACE_TEMPLATEA , numifs : u32 , endpoints : *const RPC_ENDPOINT_TEMPLATEA , numendpoints : u32 , idleperiod : u32 , idlecallbackfn : RPC_INTERFACE_GROUP_IDLE_CALLBACK_FN , idlecallbackcontext : *const ::core::ffi::c_void , ifgroup : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerInterfaceGroupCreateA(::core::mem::transmute(interfaces.as_ptr()), interfaces.len() as _, ::core::mem::transmute(endpoints.as_ptr()), endpoints.len() as _, idleperiod, idlecallbackfn, idlecallbackcontext, ifgroup) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInterfaceGroupCreateW(interfaces: &[RPC_INTERFACE_TEMPLATEW], endpoints: &[RPC_ENDPOINT_TEMPLATEW], idleperiod: u32, idlecallbackfn: RPC_INTERFACE_GROUP_IDLE_CALLBACK_FN, idlecallbackcontext: *const ::core::ffi::c_void, ifgroup: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupCreateW ( interfaces : *const RPC_INTERFACE_TEMPLATEW , numifs : u32 , endpoints : *const RPC_ENDPOINT_TEMPLATEW , numendpoints : u32 , idleperiod : u32 , idlecallbackfn : RPC_INTERFACE_GROUP_IDLE_CALLBACK_FN , idlecallbackcontext : *const ::core::ffi::c_void , ifgroup : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupCreateW ( interfaces : *const RPC_INTERFACE_TEMPLATEW , numifs : u32 , endpoints : *const RPC_ENDPOINT_TEMPLATEW , numendpoints : u32 , idleperiod : u32 , idlecallbackfn : RPC_INTERFACE_GROUP_IDLE_CALLBACK_FN , idlecallbackcontext : *const ::core::ffi::c_void , ifgroup : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerInterfaceGroupCreateW(::core::mem::transmute(interfaces.as_ptr()), interfaces.len() as _, ::core::mem::transmute(endpoints.as_ptr()), endpoints.len() as _, idleperiod, idlecallbackfn, idlecallbackcontext, ifgroup) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInterfaceGroupDeactivate(ifgroup: *const ::core::ffi::c_void, forcedeactivation: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupDeactivate ( ifgroup : *const ::core::ffi::c_void , forcedeactivation : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupDeactivate ( ifgroup : *const ::core::ffi::c_void , forcedeactivation : u32 ) -> RPC_STATUS ); RpcServerInterfaceGroupDeactivate(ifgroup, forcedeactivation) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerInterfaceGroupInqBindings(ifgroup: *const ::core::ffi::c_void, bindingvector: *mut *mut RPC_BINDING_VECTOR) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupInqBindings ( ifgroup : *const ::core::ffi::c_void , bindingvector : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerInterfaceGroupInqBindings ( ifgroup : *const ::core::ffi::c_void , bindingvector : *mut *mut RPC_BINDING_VECTOR ) -> RPC_STATUS ); RpcServerInterfaceGroupInqBindings(ifgroup, bindingvector) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerListen(minimumcallthreads: u32, maxcalls: u32, dontwait: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerListen ( minimumcallthreads : u32 , maxcalls : u32 , dontwait : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerListen ( minimumcallthreads : u32 , maxcalls : u32 , dontwait : u32 ) -> RPC_STATUS ); RpcServerListen(minimumcallthreads, maxcalls, dontwait) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerRegisterAuthInfoA(serverprincname: ::core::option::Option<*const u8>, authnsvc: u32, getkeyfn: RPC_AUTH_KEY_RETRIEVAL_FN, arg: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterAuthInfoA ( serverprincname : *const u8 , authnsvc : u32 , getkeyfn : RPC_AUTH_KEY_RETRIEVAL_FN , arg : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterAuthInfoA ( serverprincname : *const u8 , authnsvc : u32 , getkeyfn : RPC_AUTH_KEY_RETRIEVAL_FN , arg : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerRegisterAuthInfoA(::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null())), authnsvc, getkeyfn, ::core::mem::transmute(arg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerRegisterAuthInfoW(serverprincname: ::core::option::Option<*const u16>, authnsvc: u32, getkeyfn: RPC_AUTH_KEY_RETRIEVAL_FN, arg: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterAuthInfoW ( serverprincname : *const u16 , authnsvc : u32 , getkeyfn : RPC_AUTH_KEY_RETRIEVAL_FN , arg : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterAuthInfoW ( serverprincname : *const u16 , authnsvc : u32 , getkeyfn : RPC_AUTH_KEY_RETRIEVAL_FN , arg : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerRegisterAuthInfoW(::core::mem::transmute(serverprincname.unwrap_or(::std::ptr::null())), authnsvc, getkeyfn, ::core::mem::transmute(arg.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerRegisterIf(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: ::core::option::Option<*const ::windows::core::GUID>, mgrepv: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterIf ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterIf ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerRegisterIf(ifspec, ::core::mem::transmute(mgrtypeuuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mgrepv.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerRegisterIf2(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: ::core::option::Option<*const ::windows::core::GUID>, mgrepv: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32, maxcalls: u32, maxrpcsize: u32, ifcallbackfn: RPC_IF_CALLBACK_FN) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterIf2 ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *const ::core::ffi::c_void , flags : u32 , maxcalls : u32 , maxrpcsize : u32 , ifcallbackfn : RPC_IF_CALLBACK_FN ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterIf2 ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *const ::core::ffi::c_void , flags : u32 , maxcalls : u32 , maxrpcsize : u32 , ifcallbackfn : RPC_IF_CALLBACK_FN ) -> RPC_STATUS ); RpcServerRegisterIf2(ifspec, ::core::mem::transmute(mgrtypeuuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mgrepv.unwrap_or(::std::ptr::null())), flags, maxcalls, maxrpcsize, ifcallbackfn) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerRegisterIf3(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: ::core::option::Option<*const ::windows::core::GUID>, mgrepv: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32, maxcalls: u32, maxrpcsize: u32, ifcallback: RPC_IF_CALLBACK_FN, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterIf3 ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *const ::core::ffi::c_void , flags : u32 , maxcalls : u32 , maxrpcsize : u32 , ifcallback : RPC_IF_CALLBACK_FN , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterIf3 ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *const ::core::ffi::c_void , flags : u32 , maxcalls : u32 , maxrpcsize : u32 , ifcallback : RPC_IF_CALLBACK_FN , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerRegisterIf3(ifspec, ::core::mem::transmute(mgrtypeuuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mgrepv.unwrap_or(::std::ptr::null())), flags, maxcalls, maxrpcsize, ifcallback, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerRegisterIfEx(ifspec: *const ::core::ffi::c_void, mgrtypeuuid: ::core::option::Option<*const ::windows::core::GUID>, mgrepv: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32, maxcalls: u32, ifcallback: RPC_IF_CALLBACK_FN) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterIfEx ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *const ::core::ffi::c_void , flags : u32 , maxcalls : u32 , ifcallback : RPC_IF_CALLBACK_FN ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerRegisterIfEx ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , mgrepv : *const ::core::ffi::c_void , flags : u32 , maxcalls : u32 , ifcallback : RPC_IF_CALLBACK_FN ) -> RPC_STATUS ); RpcServerRegisterIfEx(ifspec, ::core::mem::transmute(mgrtypeuuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mgrepv.unwrap_or(::std::ptr::null())), flags, maxcalls, ifcallback) } #[doc = "*Required features: `\"Win32_System_Rpc\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] pub unsafe fn RpcServerSubscribeForNotification(binding: ::core::option::Option<*const ::core::ffi::c_void>, notification: RPC_NOTIFICATIONS, notificationtype: RPC_NOTIFICATION_TYPES, notificationinfo: *const RPC_ASYNC_NOTIFICATION_INFO) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerSubscribeForNotification ( binding : *const ::core::ffi::c_void , notification : RPC_NOTIFICATIONS , notificationtype : RPC_NOTIFICATION_TYPES , notificationinfo : *const RPC_ASYNC_NOTIFICATION_INFO ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerSubscribeForNotification ( binding : *const ::core::ffi::c_void , notification : RPC_NOTIFICATIONS , notificationtype : RPC_NOTIFICATION_TYPES , notificationinfo : *const RPC_ASYNC_NOTIFICATION_INFO ) -> RPC_STATUS ); RpcServerSubscribeForNotification(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), notification, notificationtype, notificationinfo) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerTestCancel(bindinghandle: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerTestCancel ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerTestCancel ( bindinghandle : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerTestCancel(::core::mem::transmute(bindinghandle.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUnregisterIf(ifspec: ::core::option::Option<*const ::core::ffi::c_void>, mgrtypeuuid: ::core::option::Option<*const ::windows::core::GUID>, waitforcallstocomplete: u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUnregisterIf ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , waitforcallstocomplete : u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUnregisterIf ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , waitforcallstocomplete : u32 ) -> RPC_STATUS ); RpcServerUnregisterIf(::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mgrtypeuuid.unwrap_or(::std::ptr::null())), waitforcallstocomplete) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUnregisterIfEx(ifspec: ::core::option::Option<*const ::core::ffi::c_void>, mgrtypeuuid: ::core::option::Option<*const ::windows::core::GUID>, rundowncontexthandles: i32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUnregisterIfEx ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , rundowncontexthandles : i32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUnregisterIfEx ( ifspec : *const ::core::ffi::c_void , mgrtypeuuid : *const :: windows::core::GUID , rundowncontexthandles : i32 ) -> RPC_STATUS ); RpcServerUnregisterIfEx(::core::mem::transmute(ifspec.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mgrtypeuuid.unwrap_or(::std::ptr::null())), rundowncontexthandles) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUnsubscribeForNotification(binding: ::core::option::Option<*const ::core::ffi::c_void>, notification: RPC_NOTIFICATIONS, notificationsqueued: *mut u32) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUnsubscribeForNotification ( binding : *const ::core::ffi::c_void , notification : RPC_NOTIFICATIONS , notificationsqueued : *mut u32 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUnsubscribeForNotification ( binding : *const ::core::ffi::c_void , notification : RPC_NOTIFICATIONS , notificationsqueued : *mut u32 ) -> RPC_STATUS ); RpcServerUnsubscribeForNotification(::core::mem::transmute(binding.unwrap_or(::std::ptr::null())), notification, notificationsqueued) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseAllProtseqs(maxcalls: u32, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseAllProtseqs ( maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseAllProtseqs ( maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerUseAllProtseqs(maxcalls, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseAllProtseqsEx(maxcalls: u32, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const RPC_POLICY) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseAllProtseqsEx ( maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseAllProtseqsEx ( maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); RpcServerUseAllProtseqsEx(maxcalls, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseAllProtseqsIf(maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseAllProtseqsIf ( maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseAllProtseqsIf ( maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerUseAllProtseqsIf(maxcalls, ifspec, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseAllProtseqsIfEx(maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const RPC_POLICY) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseAllProtseqsIfEx ( maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseAllProtseqsIfEx ( maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); RpcServerUseAllProtseqsIfEx(maxcalls, ifspec, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqA(protseq: *const u8, maxcalls: u32, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqA ( protseq : *const u8 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqA ( protseq : *const u8 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerUseProtseqA(protseq, maxcalls, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqEpA(protseq: *const u8, maxcalls: u32, endpoint: *const u8, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqEpA ( protseq : *const u8 , maxcalls : u32 , endpoint : *const u8 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqEpA ( protseq : *const u8 , maxcalls : u32 , endpoint : *const u8 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerUseProtseqEpA(protseq, maxcalls, endpoint, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqEpExA(protseq: *const u8, maxcalls: u32, endpoint: *const u8, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const RPC_POLICY) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqEpExA ( protseq : *const u8 , maxcalls : u32 , endpoint : *const u8 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqEpExA ( protseq : *const u8 , maxcalls : u32 , endpoint : *const u8 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); RpcServerUseProtseqEpExA(protseq, maxcalls, endpoint, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqEpExW(protseq: *const u16, maxcalls: u32, endpoint: *const u16, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const RPC_POLICY) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqEpExW ( protseq : *const u16 , maxcalls : u32 , endpoint : *const u16 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqEpExW ( protseq : *const u16 , maxcalls : u32 , endpoint : *const u16 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); RpcServerUseProtseqEpExW(protseq, maxcalls, endpoint, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqEpW(protseq: *const u16, maxcalls: u32, endpoint: *const u16, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqEpW ( protseq : *const u16 , maxcalls : u32 , endpoint : *const u16 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqEpW ( protseq : *const u16 , maxcalls : u32 , endpoint : *const u16 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerUseProtseqEpW(protseq, maxcalls, endpoint, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqExA(protseq: *const u8, maxcalls: u32, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const RPC_POLICY) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqExA ( protseq : *const u8 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqExA ( protseq : *const u8 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); RpcServerUseProtseqExA(protseq, maxcalls, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqExW(protseq: *const u16, maxcalls: u32, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const RPC_POLICY) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqExW ( protseq : *const u16 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqExW ( protseq : *const u16 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); RpcServerUseProtseqExW(protseq, maxcalls, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqIfA(protseq: *const u8, maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqIfA ( protseq : *const u8 , maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqIfA ( protseq : *const u8 , maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerUseProtseqIfA(protseq, maxcalls, ifspec, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqIfExA(protseq: *const u8, maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const RPC_POLICY) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqIfExA ( protseq : *const u8 , maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqIfExA ( protseq : *const u8 , maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); RpcServerUseProtseqIfExA(protseq, maxcalls, ifspec, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqIfExW(protseq: *const u16, maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>, policy: *const RPC_POLICY) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqIfExW ( protseq : *const u16 , maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqIfExW ( protseq : *const u16 , maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void , policy : *const RPC_POLICY ) -> RPC_STATUS ); RpcServerUseProtseqIfExW(protseq, maxcalls, ifspec, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null())), policy) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqIfW(protseq: *const u16, maxcalls: u32, ifspec: *const ::core::ffi::c_void, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqIfW ( protseq : *const u16 , maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqIfW ( protseq : *const u16 , maxcalls : u32 , ifspec : *const ::core::ffi::c_void , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerUseProtseqIfW(protseq, maxcalls, ifspec, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerUseProtseqW(protseq: *const u16, maxcalls: u32, securitydescriptor: ::core::option::Option<*const ::core::ffi::c_void>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqW ( protseq : *const u16 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerUseProtseqW ( protseq : *const u16 , maxcalls : u32 , securitydescriptor : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcServerUseProtseqW(protseq, maxcalls, ::core::mem::transmute(securitydescriptor.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcServerYield() { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcServerYield ( ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcServerYield ( ) -> ( ) ); RpcServerYield() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmAllocate(size: usize, pstatus: *mut RPC_STATUS) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmAllocate ( size : usize , pstatus : *mut RPC_STATUS ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmAllocate ( size : usize , pstatus : *mut RPC_STATUS ) -> *mut ::core::ffi::c_void ); RpcSmAllocate(size, pstatus) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmClientFree(pnodetofree: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmClientFree ( pnodetofree : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmClientFree ( pnodetofree : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcSmClientFree(pnodetofree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmDestroyClientContext(contexthandle: *const *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmDestroyClientContext ( contexthandle : *const *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmDestroyClientContext ( contexthandle : *const *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcSmDestroyClientContext(contexthandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmDisableAllocate() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmDisableAllocate ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmDisableAllocate ( ) -> RPC_STATUS ); RpcSmDisableAllocate() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmEnableAllocate() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmEnableAllocate ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmEnableAllocate ( ) -> RPC_STATUS ); RpcSmEnableAllocate() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmFree(nodetofree: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmFree ( nodetofree : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmFree ( nodetofree : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcSmFree(nodetofree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmGetThreadHandle(pstatus: *mut RPC_STATUS) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmGetThreadHandle ( pstatus : *mut RPC_STATUS ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmGetThreadHandle ( pstatus : *mut RPC_STATUS ) -> *mut ::core::ffi::c_void ); RpcSmGetThreadHandle(pstatus) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmSetClientAllocFree(clientalloc: RPC_CLIENT_ALLOC, clientfree: RPC_CLIENT_FREE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmSetClientAllocFree ( clientalloc : RPC_CLIENT_ALLOC , clientfree : RPC_CLIENT_FREE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmSetClientAllocFree ( clientalloc : RPC_CLIENT_ALLOC , clientfree : RPC_CLIENT_FREE ) -> RPC_STATUS ); RpcSmSetClientAllocFree(clientalloc, clientfree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmSetThreadHandle(id: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmSetThreadHandle ( id : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmSetThreadHandle ( id : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcSmSetThreadHandle(id) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSmSwapClientAllocFree(clientalloc: RPC_CLIENT_ALLOC, clientfree: RPC_CLIENT_FREE, oldclientalloc: *mut RPC_CLIENT_ALLOC, oldclientfree: *mut RPC_CLIENT_FREE) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSmSwapClientAllocFree ( clientalloc : RPC_CLIENT_ALLOC , clientfree : RPC_CLIENT_FREE , oldclientalloc : *mut RPC_CLIENT_ALLOC , oldclientfree : *mut RPC_CLIENT_FREE ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSmSwapClientAllocFree ( clientalloc : RPC_CLIENT_ALLOC , clientfree : RPC_CLIENT_FREE , oldclientalloc : *mut RPC_CLIENT_ALLOC , oldclientfree : *mut RPC_CLIENT_FREE ) -> RPC_STATUS ); RpcSmSwapClientAllocFree(clientalloc, clientfree, oldclientalloc, oldclientfree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsAllocate(size: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsAllocate ( size : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsAllocate ( size : usize ) -> *mut ::core::ffi::c_void ); RpcSsAllocate(size) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsContextLockExclusive(serverbindinghandle: ::core::option::Option<*const ::core::ffi::c_void>, usercontext: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsContextLockExclusive ( serverbindinghandle : *const ::core::ffi::c_void , usercontext : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsContextLockExclusive ( serverbindinghandle : *const ::core::ffi::c_void , usercontext : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcSsContextLockExclusive(::core::mem::transmute(serverbindinghandle.unwrap_or(::std::ptr::null())), usercontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsContextLockShared(serverbindinghandle: *const ::core::ffi::c_void, usercontext: *const ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsContextLockShared ( serverbindinghandle : *const ::core::ffi::c_void , usercontext : *const ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsContextLockShared ( serverbindinghandle : *const ::core::ffi::c_void , usercontext : *const ::core::ffi::c_void ) -> RPC_STATUS ); RpcSsContextLockShared(serverbindinghandle, usercontext) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsDestroyClientContext(contexthandle: *const *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsDestroyClientContext ( contexthandle : *const *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsDestroyClientContext ( contexthandle : *const *const ::core::ffi::c_void ) -> ( ) ); RpcSsDestroyClientContext(contexthandle) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsDisableAllocate() { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsDisableAllocate ( ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsDisableAllocate ( ) -> ( ) ); RpcSsDisableAllocate() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsDontSerializeContext() { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsDontSerializeContext ( ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsDontSerializeContext ( ) -> ( ) ); RpcSsDontSerializeContext() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsEnableAllocate() { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsEnableAllocate ( ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsEnableAllocate ( ) -> ( ) ); RpcSsEnableAllocate() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsFree(nodetofree: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsFree ( nodetofree : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsFree ( nodetofree : *const ::core::ffi::c_void ) -> ( ) ); RpcSsFree(nodetofree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsGetContextBinding(contexthandle: *const ::core::ffi::c_void, binding: *mut *mut ::core::ffi::c_void) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsGetContextBinding ( contexthandle : *const ::core::ffi::c_void , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsGetContextBinding ( contexthandle : *const ::core::ffi::c_void , binding : *mut *mut ::core::ffi::c_void ) -> RPC_STATUS ); RpcSsGetContextBinding(contexthandle, binding) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsGetThreadHandle() -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsGetThreadHandle ( ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsGetThreadHandle ( ) -> *mut ::core::ffi::c_void ); RpcSsGetThreadHandle() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsSetClientAllocFree(clientalloc: RPC_CLIENT_ALLOC, clientfree: RPC_CLIENT_FREE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsSetClientAllocFree ( clientalloc : RPC_CLIENT_ALLOC , clientfree : RPC_CLIENT_FREE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsSetClientAllocFree ( clientalloc : RPC_CLIENT_ALLOC , clientfree : RPC_CLIENT_FREE ) -> ( ) ); RpcSsSetClientAllocFree(clientalloc, clientfree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsSetThreadHandle(id: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsSetThreadHandle ( id : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsSetThreadHandle ( id : *const ::core::ffi::c_void ) -> ( ) ); RpcSsSetThreadHandle(id) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcSsSwapClientAllocFree(clientalloc: RPC_CLIENT_ALLOC, clientfree: RPC_CLIENT_FREE, oldclientalloc: *mut RPC_CLIENT_ALLOC, oldclientfree: *mut RPC_CLIENT_FREE) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcSsSwapClientAllocFree ( clientalloc : RPC_CLIENT_ALLOC , clientfree : RPC_CLIENT_FREE , oldclientalloc : *mut RPC_CLIENT_ALLOC , oldclientfree : *mut RPC_CLIENT_FREE ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcSsSwapClientAllocFree ( clientalloc : RPC_CLIENT_ALLOC , clientfree : RPC_CLIENT_FREE , oldclientalloc : *mut RPC_CLIENT_ALLOC , oldclientfree : *mut RPC_CLIENT_FREE ) -> ( ) ); RpcSsSwapClientAllocFree(clientalloc, clientfree, oldclientalloc, oldclientfree) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcStringBindingComposeA(objuuid: ::core::option::Option<*const u8>, protseq: ::core::option::Option<*const u8>, networkaddr: ::core::option::Option<*const u8>, endpoint: ::core::option::Option<*const u8>, options: ::core::option::Option<*const u8>, stringbinding: ::core::option::Option<*mut *mut u8>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcStringBindingComposeA ( objuuid : *const u8 , protseq : *const u8 , networkaddr : *const u8 , endpoint : *const u8 , options : *const u8 , stringbinding : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcStringBindingComposeA ( objuuid : *const u8 , protseq : *const u8 , networkaddr : *const u8 , endpoint : *const u8 , options : *const u8 , stringbinding : *mut *mut u8 ) -> RPC_STATUS ); RpcStringBindingComposeA(::core::mem::transmute(objuuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(protseq.unwrap_or(::std::ptr::null())), ::core::mem::transmute(networkaddr.unwrap_or(::std::ptr::null())), ::core::mem::transmute(endpoint.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), ::core::mem::transmute(stringbinding.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcStringBindingComposeW(objuuid: ::core::option::Option<*const u16>, protseq: ::core::option::Option<*const u16>, networkaddr: ::core::option::Option<*const u16>, endpoint: ::core::option::Option<*const u16>, options: ::core::option::Option<*const u16>, stringbinding: ::core::option::Option<*mut *mut u16>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcStringBindingComposeW ( objuuid : *const u16 , protseq : *const u16 , networkaddr : *const u16 , endpoint : *const u16 , options : *const u16 , stringbinding : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcStringBindingComposeW ( objuuid : *const u16 , protseq : *const u16 , networkaddr : *const u16 , endpoint : *const u16 , options : *const u16 , stringbinding : *mut *mut u16 ) -> RPC_STATUS ); RpcStringBindingComposeW(::core::mem::transmute(objuuid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(protseq.unwrap_or(::std::ptr::null())), ::core::mem::transmute(networkaddr.unwrap_or(::std::ptr::null())), ::core::mem::transmute(endpoint.unwrap_or(::std::ptr::null())), ::core::mem::transmute(options.unwrap_or(::std::ptr::null())), ::core::mem::transmute(stringbinding.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcStringBindingParseA(stringbinding: *const u8, objuuid: ::core::option::Option<*mut *mut u8>, protseq: ::core::option::Option<*mut *mut u8>, networkaddr: ::core::option::Option<*mut *mut u8>, endpoint: ::core::option::Option<*mut *mut u8>, networkoptions: ::core::option::Option<*mut *mut u8>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcStringBindingParseA ( stringbinding : *const u8 , objuuid : *mut *mut u8 , protseq : *mut *mut u8 , networkaddr : *mut *mut u8 , endpoint : *mut *mut u8 , networkoptions : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcStringBindingParseA ( stringbinding : *const u8 , objuuid : *mut *mut u8 , protseq : *mut *mut u8 , networkaddr : *mut *mut u8 , endpoint : *mut *mut u8 , networkoptions : *mut *mut u8 ) -> RPC_STATUS ); RpcStringBindingParseA(stringbinding, ::core::mem::transmute(objuuid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(protseq.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(networkaddr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(endpoint.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(networkoptions.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcStringBindingParseW(stringbinding: *const u16, objuuid: ::core::option::Option<*mut *mut u16>, protseq: ::core::option::Option<*mut *mut u16>, networkaddr: ::core::option::Option<*mut *mut u16>, endpoint: ::core::option::Option<*mut *mut u16>, networkoptions: ::core::option::Option<*mut *mut u16>) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcStringBindingParseW ( stringbinding : *const u16 , objuuid : *mut *mut u16 , protseq : *mut *mut u16 , networkaddr : *mut *mut u16 , endpoint : *mut *mut u16 , networkoptions : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcStringBindingParseW ( stringbinding : *const u16 , objuuid : *mut *mut u16 , protseq : *mut *mut u16 , networkaddr : *mut *mut u16 , endpoint : *mut *mut u16 , networkoptions : *mut *mut u16 ) -> RPC_STATUS ); RpcStringBindingParseW(stringbinding, ::core::mem::transmute(objuuid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(protseq.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(networkaddr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(endpoint.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(networkoptions.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcStringFreeA(string: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcStringFreeA ( string : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcStringFreeA ( string : *mut *mut u8 ) -> RPC_STATUS ); RpcStringFreeA(string) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcStringFreeW(string: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcStringFreeW ( string : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcStringFreeW ( string : *mut *mut u16 ) -> RPC_STATUS ); RpcStringFreeW(string) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcTestCancel() -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcTestCancel ( ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcTestCancel ( ) -> RPC_STATUS ); RpcTestCancel() } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn RpcUserFree(asynchandle: *mut ::core::ffi::c_void, pbuffer: *mut ::core::ffi::c_void) { - ::windows::core::link ! ( "rpcrt4.dll""system" fn RpcUserFree ( asynchandle : *mut ::core::ffi::c_void , pbuffer : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn RpcUserFree ( asynchandle : *mut ::core::ffi::c_void , pbuffer : *mut ::core::ffi::c_void ) -> ( ) ); RpcUserFree(asynchandle, pbuffer) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidCompare(uuid1: *const ::windows::core::GUID, uuid2: *const ::windows::core::GUID, status: *mut RPC_STATUS) -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidCompare ( uuid1 : *const :: windows::core::GUID , uuid2 : *const :: windows::core::GUID , status : *mut RPC_STATUS ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidCompare ( uuid1 : *const :: windows::core::GUID , uuid2 : *const :: windows::core::GUID , status : *mut RPC_STATUS ) -> i32 ); UuidCompare(uuid1, uuid2, status) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidCreate(uuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidCreate ( uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidCreate ( uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); UuidCreate(uuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidCreateNil(niluuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidCreateNil ( niluuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidCreateNil ( niluuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); UuidCreateNil(niluuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidCreateSequential(uuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidCreateSequential ( uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidCreateSequential ( uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); UuidCreateSequential(uuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidEqual(uuid1: *const ::windows::core::GUID, uuid2: *const ::windows::core::GUID, status: *mut RPC_STATUS) -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidEqual ( uuid1 : *const :: windows::core::GUID , uuid2 : *const :: windows::core::GUID , status : *mut RPC_STATUS ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidEqual ( uuid1 : *const :: windows::core::GUID , uuid2 : *const :: windows::core::GUID , status : *mut RPC_STATUS ) -> i32 ); UuidEqual(uuid1, uuid2, status) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidFromStringA(stringuuid: ::core::option::Option<*const u8>, uuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidFromStringA ( stringuuid : *const u8 , uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidFromStringA ( stringuuid : *const u8 , uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); UuidFromStringA(::core::mem::transmute(stringuuid.unwrap_or(::std::ptr::null())), uuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidFromStringW(stringuuid: ::core::option::Option<*const u16>, uuid: *mut ::windows::core::GUID) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidFromStringW ( stringuuid : *const u16 , uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidFromStringW ( stringuuid : *const u16 , uuid : *mut :: windows::core::GUID ) -> RPC_STATUS ); UuidFromStringW(::core::mem::transmute(stringuuid.unwrap_or(::std::ptr::null())), uuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidHash(uuid: *const ::windows::core::GUID, status: *mut RPC_STATUS) -> u16 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidHash ( uuid : *const :: windows::core::GUID , status : *mut RPC_STATUS ) -> u16 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidHash ( uuid : *const :: windows::core::GUID , status : *mut RPC_STATUS ) -> u16 ); UuidHash(uuid, status) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidIsNil(uuid: *const ::windows::core::GUID, status: *mut RPC_STATUS) -> i32 { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidIsNil ( uuid : *const :: windows::core::GUID , status : *mut RPC_STATUS ) -> i32 ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidIsNil ( uuid : *const :: windows::core::GUID , status : *mut RPC_STATUS ) -> i32 ); UuidIsNil(uuid, status) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidToStringA(uuid: *const ::windows::core::GUID, stringuuid: *mut *mut u8) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidToStringA ( uuid : *const :: windows::core::GUID , stringuuid : *mut *mut u8 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidToStringA ( uuid : *const :: windows::core::GUID , stringuuid : *mut *mut u8 ) -> RPC_STATUS ); UuidToStringA(uuid, stringuuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] #[inline] pub unsafe fn UuidToStringW(uuid: *const ::windows::core::GUID, stringuuid: *mut *mut u16) -> RPC_STATUS { - ::windows::core::link ! ( "rpcrt4.dll""system" fn UuidToStringW ( uuid : *const :: windows::core::GUID , stringuuid : *mut *mut u16 ) -> RPC_STATUS ); + ::windows::imp::link ! ( "rpcrt4.dll""system" fn UuidToStringW ( uuid : *const :: windows::core::GUID , stringuuid : *mut *mut u16 ) -> RPC_STATUS ); UuidToStringW(uuid, stringuuid) } #[doc = "*Required features: `\"Win32_System_Rpc\"`*"] 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 de3e764c33..033c4f59e4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -3,128 +3,128 @@ pub mod Common; #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn ODBCGetTryWaitValue() -> u32 { - ::windows::core::link ! ( "odbc32.dll""system" fn ODBCGetTryWaitValue ( ) -> u32 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn ODBCGetTryWaitValue ( ) -> u32 ); ODBCGetTryWaitValue() } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ODBCSetTryWaitValue(dwvalue: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "odbc32.dll""system" fn ODBCSetTryWaitValue ( dwvalue : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "odbc32.dll""system" fn ODBCSetTryWaitValue ( dwvalue : u32 ) -> super::super::Foundation:: BOOL ); ODBCSetTryWaitValue(dwvalue) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLAllocConnect(environmenthandle: *mut ::core::ffi::c_void, connectionhandle: *mut *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLAllocConnect ( environmenthandle : *mut ::core::ffi::c_void , connectionhandle : *mut *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLAllocConnect ( environmenthandle : *mut ::core::ffi::c_void , connectionhandle : *mut *mut ::core::ffi::c_void ) -> i16 ); SQLAllocConnect(environmenthandle, connectionhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLAllocEnv(environmenthandle: *mut *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLAllocEnv ( environmenthandle : *mut *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLAllocEnv ( environmenthandle : *mut *mut ::core::ffi::c_void ) -> i16 ); SQLAllocEnv(environmenthandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLAllocHandle(handletype: i16, inputhandle: *mut ::core::ffi::c_void, outputhandle: *mut *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLAllocHandle ( handletype : i16 , inputhandle : *mut ::core::ffi::c_void , outputhandle : *mut *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLAllocHandle ( handletype : i16 , inputhandle : *mut ::core::ffi::c_void , outputhandle : *mut *mut ::core::ffi::c_void ) -> i16 ); SQLAllocHandle(handletype, inputhandle, outputhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLAllocHandleStd(fhandletype: i16, hinput: *mut ::core::ffi::c_void, phoutput: *mut *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLAllocHandleStd ( fhandletype : i16 , hinput : *mut ::core::ffi::c_void , phoutput : *mut *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLAllocHandleStd ( fhandletype : i16 , hinput : *mut ::core::ffi::c_void , phoutput : *mut *mut ::core::ffi::c_void ) -> i16 ); SQLAllocHandleStd(fhandletype, hinput, phoutput) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLAllocStmt(connectionhandle: *mut ::core::ffi::c_void, statementhandle: *mut *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLAllocStmt ( connectionhandle : *mut ::core::ffi::c_void , statementhandle : *mut *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLAllocStmt ( connectionhandle : *mut ::core::ffi::c_void , statementhandle : *mut *mut ::core::ffi::c_void ) -> i16 ); SQLAllocStmt(connectionhandle, statementhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLBindCol(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, targettype: i16, targetvalue: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i64, strlen_or_ind: ::core::option::Option<*mut i64>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBindCol ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , targettype : i16 , targetvalue : *mut ::core::ffi::c_void , bufferlength : i64 , strlen_or_ind : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBindCol ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , targettype : i16 , targetvalue : *mut ::core::ffi::c_void , bufferlength : i64 , strlen_or_ind : *mut i64 ) -> i16 ); SQLBindCol(statementhandle, columnnumber, targettype, ::core::mem::transmute(targetvalue.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(strlen_or_ind.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLBindCol(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, targettype: i16, targetvalue: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i32, strlen_or_ind: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBindCol ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , targettype : i16 , targetvalue : *mut ::core::ffi::c_void , bufferlength : i32 , strlen_or_ind : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBindCol ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , targettype : i16 , targetvalue : *mut ::core::ffi::c_void , bufferlength : i32 , strlen_or_ind : *mut i32 ) -> i16 ); SQLBindCol(statementhandle, columnnumber, targettype, ::core::mem::transmute(targetvalue.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(strlen_or_ind.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLBindParam(statementhandle: *mut ::core::ffi::c_void, parameternumber: u16, valuetype: i16, parametertype: i16, lengthprecision: u64, parameterscale: i16, parametervalue: *mut ::core::ffi::c_void, strlen_or_ind: *mut i64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBindParam ( statementhandle : *mut ::core::ffi::c_void , parameternumber : u16 , valuetype : i16 , parametertype : i16 , lengthprecision : u64 , parameterscale : i16 , parametervalue : *mut ::core::ffi::c_void , strlen_or_ind : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBindParam ( statementhandle : *mut ::core::ffi::c_void , parameternumber : u16 , valuetype : i16 , parametertype : i16 , lengthprecision : u64 , parameterscale : i16 , parametervalue : *mut ::core::ffi::c_void , strlen_or_ind : *mut i64 ) -> i16 ); SQLBindParam(statementhandle, parameternumber, valuetype, parametertype, lengthprecision, parameterscale, parametervalue, strlen_or_ind) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLBindParam(statementhandle: *mut ::core::ffi::c_void, parameternumber: u16, valuetype: i16, parametertype: i16, lengthprecision: u32, parameterscale: i16, parametervalue: *mut ::core::ffi::c_void, strlen_or_ind: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBindParam ( statementhandle : *mut ::core::ffi::c_void , parameternumber : u16 , valuetype : i16 , parametertype : i16 , lengthprecision : u32 , parameterscale : i16 , parametervalue : *mut ::core::ffi::c_void , strlen_or_ind : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBindParam ( statementhandle : *mut ::core::ffi::c_void , parameternumber : u16 , valuetype : i16 , parametertype : i16 , lengthprecision : u32 , parameterscale : i16 , parametervalue : *mut ::core::ffi::c_void , strlen_or_ind : *mut i32 ) -> i16 ); SQLBindParam(statementhandle, parameternumber, valuetype, parametertype, lengthprecision, parameterscale, parametervalue, strlen_or_ind) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLBindParameter(hstmt: *mut ::core::ffi::c_void, ipar: u16, fparamtype: i16, fctype: i16, fsqltype: i16, cbcoldef: u64, ibscale: i16, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i64, pcbvalue: *mut i64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBindParameter ( hstmt : *mut ::core::ffi::c_void , ipar : u16 , fparamtype : i16 , fctype : i16 , fsqltype : i16 , cbcoldef : u64 , ibscale : i16 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i64 , pcbvalue : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBindParameter ( hstmt : *mut ::core::ffi::c_void , ipar : u16 , fparamtype : i16 , fctype : i16 , fsqltype : i16 , cbcoldef : u64 , ibscale : i16 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i64 , pcbvalue : *mut i64 ) -> i16 ); SQLBindParameter(hstmt, ipar, fparamtype, fctype, fsqltype, cbcoldef, ibscale, rgbvalue, cbvaluemax, pcbvalue) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLBindParameter(hstmt: *mut ::core::ffi::c_void, ipar: u16, fparamtype: i16, fctype: i16, fsqltype: i16, cbcoldef: u32, ibscale: i16, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32, pcbvalue: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBindParameter ( hstmt : *mut ::core::ffi::c_void , ipar : u16 , fparamtype : i16 , fctype : i16 , fsqltype : i16 , cbcoldef : u32 , ibscale : i16 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBindParameter ( hstmt : *mut ::core::ffi::c_void , ipar : u16 , fparamtype : i16 , fctype : i16 , fsqltype : i16 , cbcoldef : u32 , ibscale : i16 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); SQLBindParameter(hstmt, ipar, fparamtype, fctype, fsqltype, cbcoldef, ibscale, rgbvalue, cbvaluemax, pcbvalue) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLBrowseConnect(hdbc: *mut ::core::ffi::c_void, szconnstrin: &[u8], szconnstrout: ::core::option::Option<&mut [u8]>, pcchconnstrout: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBrowseConnect ( hdbc : *mut ::core::ffi::c_void , szconnstrin : *const u8 , cchconnstrin : i16 , szconnstrout : *mut u8 , cchconnstroutmax : i16 , pcchconnstrout : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBrowseConnect ( hdbc : *mut ::core::ffi::c_void , szconnstrin : *const u8 , cchconnstrin : i16 , szconnstrout : *mut u8 , cchconnstroutmax : i16 , pcchconnstrout : *mut i16 ) -> i16 ); SQLBrowseConnect(hdbc, ::core::mem::transmute(szconnstrin.as_ptr()), szconnstrin.len() as _, ::core::mem::transmute(szconnstrout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szconnstrout.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcchconnstrout.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLBrowseConnectA(hdbc: *mut ::core::ffi::c_void, szconnstrin: &[u8], szconnstrout: ::core::option::Option<&mut [u8]>, pcbconnstrout: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBrowseConnectA ( hdbc : *mut ::core::ffi::c_void , szconnstrin : *const u8 , cbconnstrin : i16 , szconnstrout : *mut u8 , cbconnstroutmax : i16 , pcbconnstrout : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBrowseConnectA ( hdbc : *mut ::core::ffi::c_void , szconnstrin : *const u8 , cbconnstrin : i16 , szconnstrout : *mut u8 , cbconnstroutmax : i16 , pcbconnstrout : *mut i16 ) -> i16 ); SQLBrowseConnectA(hdbc, ::core::mem::transmute(szconnstrin.as_ptr()), szconnstrin.len() as _, ::core::mem::transmute(szconnstrout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szconnstrout.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbconnstrout.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLBrowseConnectW(hdbc: *mut ::core::ffi::c_void, szconnstrin: &[u16], szconnstrout: ::core::option::Option<&mut [u16]>, pcchconnstrout: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBrowseConnectW ( hdbc : *mut ::core::ffi::c_void , szconnstrin : *const u16 , cchconnstrin : i16 , szconnstrout : *mut u16 , cchconnstroutmax : i16 , pcchconnstrout : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBrowseConnectW ( hdbc : *mut ::core::ffi::c_void , szconnstrin : *const u16 , cchconnstrin : i16 , szconnstrout : *mut u16 , cchconnstroutmax : i16 , pcchconnstrout : *mut i16 ) -> i16 ); SQLBrowseConnectW(hdbc, ::core::mem::transmute(szconnstrin.as_ptr()), szconnstrin.len() as _, ::core::mem::transmute(szconnstrout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szconnstrout.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcchconnstrout.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLBulkOperations(statementhandle: *mut ::core::ffi::c_void, operation: i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLBulkOperations ( statementhandle : *mut ::core::ffi::c_void , operation : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLBulkOperations ( statementhandle : *mut ::core::ffi::c_void , operation : i16 ) -> i16 ); SQLBulkOperations(statementhandle, operation) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLCancel(statementhandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLCancel ( statementhandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLCancel ( statementhandle : *mut ::core::ffi::c_void ) -> i16 ); SQLCancel(statementhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLCancelHandle(handletype: i16, inputhandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLCancelHandle ( handletype : i16 , inputhandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLCancelHandle ( handletype : i16 , inputhandle : *mut ::core::ffi::c_void ) -> i16 ); SQLCancelHandle(handletype, inputhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLCloseCursor(statementhandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLCloseCursor ( statementhandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLCloseCursor ( statementhandle : *mut ::core::ffi::c_void ) -> i16 ); SQLCloseCursor(statementhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`*"] @@ -134,97 +134,97 @@ pub unsafe fn SQLCloseEnumServers(henumhandle: P0) -> i16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn SQLCloseEnumServers ( henumhandle : super::super::Foundation:: HANDLE ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn SQLCloseEnumServers ( henumhandle : super::super::Foundation:: HANDLE ) -> i16 ); SQLCloseEnumServers(henumhandle.into()) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLColAttribute(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, fieldidentifier: u16, characterattribute: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i16, stringlength: ::core::option::Option<*mut i16>, numericattribute: ::core::option::Option<*mut i64>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttribute ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , fieldidentifier : u16 , characterattribute : *mut ::core::ffi::c_void , bufferlength : i16 , stringlength : *mut i16 , numericattribute : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttribute ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , fieldidentifier : u16 , characterattribute : *mut ::core::ffi::c_void , bufferlength : i16 , stringlength : *mut i16 , numericattribute : *mut i64 ) -> i16 ); SQLColAttribute(statementhandle, columnnumber, fieldidentifier, ::core::mem::transmute(characterattribute.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(numericattribute.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLColAttribute(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, fieldidentifier: u16, characterattribute: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i16, stringlength: ::core::option::Option<*mut i16>, numericattribute: ::core::option::Option<*mut ::core::ffi::c_void>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttribute ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , fieldidentifier : u16 , characterattribute : *mut ::core::ffi::c_void , bufferlength : i16 , stringlength : *mut i16 , numericattribute : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttribute ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , fieldidentifier : u16 , characterattribute : *mut ::core::ffi::c_void , bufferlength : i16 , stringlength : *mut i16 , numericattribute : *mut ::core::ffi::c_void ) -> i16 ); SQLColAttribute(statementhandle, columnnumber, fieldidentifier, ::core::mem::transmute(characterattribute.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(numericattribute.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLColAttributeA(hstmt: *mut ::core::ffi::c_void, icol: i16, ifield: i16, pcharattr: ::core::option::Option<*mut ::core::ffi::c_void>, cbcharattrmax: i16, pcbcharattr: ::core::option::Option<*mut i16>, pnumattr: ::core::option::Option<*mut i64>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributeA ( hstmt : *mut ::core::ffi::c_void , icol : i16 , ifield : i16 , pcharattr : *mut ::core::ffi::c_void , cbcharattrmax : i16 , pcbcharattr : *mut i16 , pnumattr : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributeA ( hstmt : *mut ::core::ffi::c_void , icol : i16 , ifield : i16 , pcharattr : *mut ::core::ffi::c_void , cbcharattrmax : i16 , pcbcharattr : *mut i16 , pnumattr : *mut i64 ) -> i16 ); SQLColAttributeA(hstmt, icol, ifield, ::core::mem::transmute(pcharattr.unwrap_or(::std::ptr::null_mut())), cbcharattrmax, ::core::mem::transmute(pcbcharattr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumattr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLColAttributeA(hstmt: *mut ::core::ffi::c_void, icol: i16, ifield: i16, pcharattr: ::core::option::Option<*mut ::core::ffi::c_void>, cbcharattrmax: i16, pcbcharattr: ::core::option::Option<*mut i16>, pnumattr: ::core::option::Option<*mut ::core::ffi::c_void>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributeA ( hstmt : *mut ::core::ffi::c_void , icol : i16 , ifield : i16 , pcharattr : *mut ::core::ffi::c_void , cbcharattrmax : i16 , pcbcharattr : *mut i16 , pnumattr : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributeA ( hstmt : *mut ::core::ffi::c_void , icol : i16 , ifield : i16 , pcharattr : *mut ::core::ffi::c_void , cbcharattrmax : i16 , pcbcharattr : *mut i16 , pnumattr : *mut ::core::ffi::c_void ) -> i16 ); SQLColAttributeA(hstmt, icol, ifield, ::core::mem::transmute(pcharattr.unwrap_or(::std::ptr::null_mut())), cbcharattrmax, ::core::mem::transmute(pcbcharattr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumattr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLColAttributeW(hstmt: *mut ::core::ffi::c_void, icol: u16, ifield: u16, pcharattr: ::core::option::Option<*mut ::core::ffi::c_void>, cbdescmax: i16, pcbcharattr: ::core::option::Option<*mut i16>, pnumattr: ::core::option::Option<*mut i64>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributeW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , ifield : u16 , pcharattr : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbcharattr : *mut i16 , pnumattr : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributeW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , ifield : u16 , pcharattr : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbcharattr : *mut i16 , pnumattr : *mut i64 ) -> i16 ); SQLColAttributeW(hstmt, icol, ifield, ::core::mem::transmute(pcharattr.unwrap_or(::std::ptr::null_mut())), cbdescmax, ::core::mem::transmute(pcbcharattr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumattr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLColAttributeW(hstmt: *mut ::core::ffi::c_void, icol: u16, ifield: u16, pcharattr: ::core::option::Option<*mut ::core::ffi::c_void>, cbdescmax: i16, pcbcharattr: ::core::option::Option<*mut i16>, pnumattr: ::core::option::Option<*mut ::core::ffi::c_void>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributeW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , ifield : u16 , pcharattr : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbcharattr : *mut i16 , pnumattr : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributeW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , ifield : u16 , pcharattr : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbcharattr : *mut i16 , pnumattr : *mut ::core::ffi::c_void ) -> i16 ); SQLColAttributeW(hstmt, icol, ifield, ::core::mem::transmute(pcharattr.unwrap_or(::std::ptr::null_mut())), cbdescmax, ::core::mem::transmute(pcbcharattr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumattr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLColAttributes(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: *mut ::core::ffi::c_void, cbdescmax: i16, pcbdesc: *mut i16, pfdesc: *mut i64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributes ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributes ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i64 ) -> i16 ); SQLColAttributes(hstmt, icol, fdesctype, rgbdesc, cbdescmax, pcbdesc, pfdesc) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLColAttributes(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: *mut ::core::ffi::c_void, cbdescmax: i16, pcbdesc: *mut i16, pfdesc: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributes ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributes ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i32 ) -> i16 ); SQLColAttributes(hstmt, icol, fdesctype, rgbdesc, cbdescmax, pcbdesc, pfdesc) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLColAttributesA(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: ::core::option::Option<*mut ::core::ffi::c_void>, cbdescmax: i16, pcbdesc: ::core::option::Option<*mut i16>, pfdesc: ::core::option::Option<*mut i64>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributesA ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributesA ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i64 ) -> i16 ); SQLColAttributesA(hstmt, icol, fdesctype, ::core::mem::transmute(rgbdesc.unwrap_or(::std::ptr::null_mut())), cbdescmax, ::core::mem::transmute(pcbdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfdesc.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLColAttributesA(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: ::core::option::Option<*mut ::core::ffi::c_void>, cbdescmax: i16, pcbdesc: ::core::option::Option<*mut i16>, pfdesc: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributesA ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributesA ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i32 ) -> i16 ); SQLColAttributesA(hstmt, icol, fdesctype, ::core::mem::transmute(rgbdesc.unwrap_or(::std::ptr::null_mut())), cbdescmax, ::core::mem::transmute(pcbdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfdesc.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLColAttributesW(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: ::core::option::Option<*mut ::core::ffi::c_void>, cbdescmax: i16, pcbdesc: ::core::option::Option<*mut i16>, pfdesc: ::core::option::Option<*mut i64>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributesW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributesW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i64 ) -> i16 ); SQLColAttributesW(hstmt, icol, fdesctype, ::core::mem::transmute(rgbdesc.unwrap_or(::std::ptr::null_mut())), cbdescmax, ::core::mem::transmute(pcbdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfdesc.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLColAttributesW(hstmt: *mut ::core::ffi::c_void, icol: u16, fdesctype: u16, rgbdesc: ::core::option::Option<*mut ::core::ffi::c_void>, cbdescmax: i16, pcbdesc: ::core::option::Option<*mut i16>, pfdesc: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColAttributesW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColAttributesW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , fdesctype : u16 , rgbdesc : *mut ::core::ffi::c_void , cbdescmax : i16 , pcbdesc : *mut i16 , pfdesc : *mut i32 ) -> i16 ); SQLColAttributesW(hstmt, icol, fdesctype, ::core::mem::transmute(rgbdesc.unwrap_or(::std::ptr::null_mut())), cbdescmax, ::core::mem::transmute(pcbdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfdesc.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLColumnPrivileges(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>, szcolumnname: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColumnPrivileges ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , sztablename : *const u8 , cchtablename : i16 , szcolumnname : *const u8 , cchcolumnname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColumnPrivileges ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , sztablename : *const u8 , cchtablename : i16 , szcolumnname : *const u8 , cchcolumnname : i16 ) -> i16 ); SQLColumnPrivileges( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -240,7 +240,7 @@ pub unsafe fn SQLColumnPrivileges(hstmt: *mut ::core::ffi::c_void, szcatalogname #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLColumnPrivilegesA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>, szcolumnname: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColumnPrivilegesA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , szcolumnname : *const u8 , cbcolumnname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColumnPrivilegesA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , szcolumnname : *const u8 , cbcolumnname : i16 ) -> i16 ); SQLColumnPrivilegesA( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -256,7 +256,7 @@ pub unsafe fn SQLColumnPrivilegesA(hstmt: *mut ::core::ffi::c_void, szcatalognam #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLColumnPrivilegesW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, sztablename: ::core::option::Option<&[u16]>, szcolumnname: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColumnPrivilegesW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , szcolumnname : *const u16 , cchcolumnname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColumnPrivilegesW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , szcolumnname : *const u16 , cchcolumnname : i16 ) -> i16 ); SQLColumnPrivilegesW( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -272,7 +272,7 @@ pub unsafe fn SQLColumnPrivilegesW(hstmt: *mut ::core::ffi::c_void, szcatalognam #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLColumns(statementhandle: *mut ::core::ffi::c_void, catalogname: ::core::option::Option<&[u8]>, schemaname: ::core::option::Option<&[u8]>, tablename: ::core::option::Option<&[u8]>, columnname: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColumns ( statementhandle : *mut ::core::ffi::c_void , catalogname : *const u8 , namelength1 : i16 , schemaname : *const u8 , namelength2 : i16 , tablename : *const u8 , namelength3 : i16 , columnname : *const u8 , namelength4 : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColumns ( statementhandle : *mut ::core::ffi::c_void , catalogname : *const u8 , namelength1 : i16 , schemaname : *const u8 , namelength2 : i16 , tablename : *const u8 , namelength3 : i16 , columnname : *const u8 , namelength4 : i16 ) -> i16 ); SQLColumns( statementhandle, ::core::mem::transmute(catalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -288,7 +288,7 @@ pub unsafe fn SQLColumns(statementhandle: *mut ::core::ffi::c_void, catalogname: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLColumnsA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>, szcolumnname: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColumnsA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , szcolumnname : *const u8 , cbcolumnname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColumnsA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , szcolumnname : *const u8 , cbcolumnname : i16 ) -> i16 ); SQLColumnsA( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -304,7 +304,7 @@ pub unsafe fn SQLColumnsA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLColumnsW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, sztablename: ::core::option::Option<&[u16]>, szcolumnname: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLColumnsW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , szcolumnname : *const u16 , cchcolumnname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLColumnsW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , szcolumnname : *const u16 , cchcolumnname : i16 ) -> i16 ); SQLColumnsW( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -320,37 +320,37 @@ pub unsafe fn SQLColumnsW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLCompleteAsync(handletype: i16, handle: *mut ::core::ffi::c_void, asyncretcodeptr: *mut i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLCompleteAsync ( handletype : i16 , handle : *mut ::core::ffi::c_void , asyncretcodeptr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLCompleteAsync ( handletype : i16 , handle : *mut ::core::ffi::c_void , asyncretcodeptr : *mut i16 ) -> i16 ); SQLCompleteAsync(handletype, handle, asyncretcodeptr) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLConnect(connectionhandle: *mut ::core::ffi::c_void, servername: &[u8], username: &[u8], authentication: &[u8]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLConnect ( connectionhandle : *mut ::core::ffi::c_void , servername : *const u8 , namelength1 : i16 , username : *const u8 , namelength2 : i16 , authentication : *const u8 , namelength3 : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLConnect ( connectionhandle : *mut ::core::ffi::c_void , servername : *const u8 , namelength1 : i16 , username : *const u8 , namelength2 : i16 , authentication : *const u8 , namelength3 : i16 ) -> i16 ); SQLConnect(connectionhandle, ::core::mem::transmute(servername.as_ptr()), servername.len() as _, ::core::mem::transmute(username.as_ptr()), username.len() as _, ::core::mem::transmute(authentication.as_ptr()), authentication.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLConnectA(hdbc: *mut ::core::ffi::c_void, szdsn: &[u8], szuid: &[u8], szauthstr: &[u8]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLConnectA ( hdbc : *mut ::core::ffi::c_void , szdsn : *const u8 , cbdsn : i16 , szuid : *const u8 , cbuid : i16 , szauthstr : *const u8 , cbauthstr : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLConnectA ( hdbc : *mut ::core::ffi::c_void , szdsn : *const u8 , cbdsn : i16 , szuid : *const u8 , cbuid : i16 , szauthstr : *const u8 , cbauthstr : i16 ) -> i16 ); SQLConnectA(hdbc, ::core::mem::transmute(szdsn.as_ptr()), szdsn.len() as _, ::core::mem::transmute(szuid.as_ptr()), szuid.len() as _, ::core::mem::transmute(szauthstr.as_ptr()), szauthstr.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLConnectW(hdbc: *mut ::core::ffi::c_void, szdsn: &[u16], szuid: &[u16], szauthstr: &[u16]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLConnectW ( hdbc : *mut ::core::ffi::c_void , szdsn : *const u16 , cchdsn : i16 , szuid : *const u16 , cchuid : i16 , szauthstr : *const u16 , cchauthstr : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLConnectW ( hdbc : *mut ::core::ffi::c_void , szdsn : *const u16 , cchdsn : i16 , szuid : *const u16 , cchuid : i16 , szauthstr : *const u16 , cchauthstr : i16 ) -> i16 ); SQLConnectW(hdbc, ::core::mem::transmute(szdsn.as_ptr()), szdsn.len() as _, ::core::mem::transmute(szuid.as_ptr()), szuid.len() as _, ::core::mem::transmute(szauthstr.as_ptr()), szauthstr.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLCopyDesc(sourcedeschandle: *mut ::core::ffi::c_void, targetdeschandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLCopyDesc ( sourcedeschandle : *mut ::core::ffi::c_void , targetdeschandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLCopyDesc ( sourcedeschandle : *mut ::core::ffi::c_void , targetdeschandle : *mut ::core::ffi::c_void ) -> i16 ); SQLCopyDesc(sourcedeschandle, targetdeschandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDataSources(environmenthandle: *mut ::core::ffi::c_void, direction: u16, servername: ::core::option::Option<&mut [u8]>, namelength1ptr: ::core::option::Option<*mut i16>, description: ::core::option::Option<&mut [u8]>, namelength2ptr: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDataSources ( environmenthandle : *mut ::core::ffi::c_void , direction : u16 , servername : *mut u8 , bufferlength1 : i16 , namelength1ptr : *mut i16 , description : *mut u8 , bufferlength2 : i16 , namelength2ptr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDataSources ( environmenthandle : *mut ::core::ffi::c_void , direction : u16 , servername : *mut u8 , bufferlength1 : i16 , namelength1ptr : *mut i16 , description : *mut u8 , bufferlength2 : i16 , namelength2ptr : *mut i16 ) -> i16 ); SQLDataSources( environmenthandle, direction, @@ -365,20 +365,20 @@ pub unsafe fn SQLDataSources(environmenthandle: *mut ::core::ffi::c_void, direct #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDataSourcesA(henv: *mut ::core::ffi::c_void, fdirection: u16, szdsn: ::core::option::Option<&mut [u8]>, pcbdsn: *mut i16, szdescription: ::core::option::Option<&mut [u8]>, pcbdescription: *mut i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDataSourcesA ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdsn : *mut u8 , cbdsnmax : i16 , pcbdsn : *mut i16 , szdescription : *mut u8 , cbdescriptionmax : i16 , pcbdescription : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDataSourcesA ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdsn : *mut u8 , cbdsnmax : i16 , pcbdsn : *mut i16 , szdescription : *mut u8 , cbdescriptionmax : i16 , pcbdescription : *mut i16 ) -> i16 ); SQLDataSourcesA(henv, fdirection, ::core::mem::transmute(szdsn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szdsn.as_deref().map_or(0, |slice| slice.len() as _), pcbdsn, ::core::mem::transmute(szdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szdescription.as_deref().map_or(0, |slice| slice.len() as _), pcbdescription) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDataSourcesW(henv: *mut ::core::ffi::c_void, fdirection: u16, szdsn: ::core::option::Option<&mut [u16]>, pcchdsn: ::core::option::Option<*mut i16>, wszdescription: ::core::option::Option<&mut [u16]>, pcchdescription: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDataSourcesW ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdsn : *mut u16 , cchdsnmax : i16 , pcchdsn : *mut i16 , wszdescription : *mut u16 , cchdescriptionmax : i16 , pcchdescription : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDataSourcesW ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdsn : *mut u16 , cchdsnmax : i16 , pcchdsn : *mut i16 , wszdescription : *mut u16 , cchdescriptionmax : i16 , pcchdescription : *mut i16 ) -> i16 ); SQLDataSourcesW(henv, fdirection, ::core::mem::transmute(szdsn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szdsn.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcchdsn.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(wszdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), wszdescription.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcchdescription.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLDescribeCol(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, columnname: ::core::option::Option<&mut [u8]>, namelength: ::core::option::Option<*mut i16>, datatype: ::core::option::Option<*mut i16>, columnsize: ::core::option::Option<*mut u64>, decimaldigits: ::core::option::Option<*mut i16>, nullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDescribeCol ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , columnname : *mut u8 , bufferlength : i16 , namelength : *mut i16 , datatype : *mut i16 , columnsize : *mut u64 , decimaldigits : *mut i16 , nullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDescribeCol ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , columnname : *mut u8 , bufferlength : i16 , namelength : *mut i16 , datatype : *mut i16 , columnsize : *mut u64 , decimaldigits : *mut i16 , nullable : *mut i16 ) -> i16 ); SQLDescribeCol( statementhandle, columnnumber, @@ -395,7 +395,7 @@ pub unsafe fn SQLDescribeCol(statementhandle: *mut ::core::ffi::c_void, columnnu #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLDescribeCol(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, columnname: ::core::option::Option<&mut [u8]>, namelength: ::core::option::Option<*mut i16>, datatype: ::core::option::Option<*mut i16>, columnsize: ::core::option::Option<*mut u32>, decimaldigits: ::core::option::Option<*mut i16>, nullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDescribeCol ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , columnname : *mut u8 , bufferlength : i16 , namelength : *mut i16 , datatype : *mut i16 , columnsize : *mut u32 , decimaldigits : *mut i16 , nullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDescribeCol ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , columnname : *mut u8 , bufferlength : i16 , namelength : *mut i16 , datatype : *mut i16 , columnsize : *mut u32 , decimaldigits : *mut i16 , nullable : *mut i16 ) -> i16 ); SQLDescribeCol( statementhandle, columnnumber, @@ -412,7 +412,7 @@ pub unsafe fn SQLDescribeCol(statementhandle: *mut ::core::ffi::c_void, columnnu #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLDescribeColA(hstmt: *mut ::core::ffi::c_void, icol: u16, szcolname: ::core::option::Option<&mut [u8]>, pcbcolname: ::core::option::Option<*mut i16>, pfsqltype: ::core::option::Option<*mut i16>, pcbcoldef: ::core::option::Option<*mut u64>, pibscale: ::core::option::Option<*mut i16>, pfnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDescribeColA ( hstmt : *mut ::core::ffi::c_void , icol : u16 , szcolname : *mut u8 , cbcolnamemax : i16 , pcbcolname : *mut i16 , pfsqltype : *mut i16 , pcbcoldef : *mut u64 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDescribeColA ( hstmt : *mut ::core::ffi::c_void , icol : u16 , szcolname : *mut u8 , cbcolnamemax : i16 , pcbcolname : *mut i16 , pfsqltype : *mut i16 , pcbcoldef : *mut u64 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); SQLDescribeColA( hstmt, icol, @@ -429,7 +429,7 @@ pub unsafe fn SQLDescribeColA(hstmt: *mut ::core::ffi::c_void, icol: u16, szcoln #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLDescribeColA(hstmt: *mut ::core::ffi::c_void, icol: u16, szcolname: ::core::option::Option<&mut [u8]>, pcbcolname: ::core::option::Option<*mut i16>, pfsqltype: ::core::option::Option<*mut i16>, pcbcoldef: ::core::option::Option<*mut u32>, pibscale: ::core::option::Option<*mut i16>, pfnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDescribeColA ( hstmt : *mut ::core::ffi::c_void , icol : u16 , szcolname : *mut u8 , cbcolnamemax : i16 , pcbcolname : *mut i16 , pfsqltype : *mut i16 , pcbcoldef : *mut u32 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDescribeColA ( hstmt : *mut ::core::ffi::c_void , icol : u16 , szcolname : *mut u8 , cbcolnamemax : i16 , pcbcolname : *mut i16 , pfsqltype : *mut i16 , pcbcoldef : *mut u32 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); SQLDescribeColA( hstmt, icol, @@ -446,7 +446,7 @@ pub unsafe fn SQLDescribeColA(hstmt: *mut ::core::ffi::c_void, icol: u16, szcoln #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLDescribeColW(hstmt: *mut ::core::ffi::c_void, icol: u16, szcolname: ::core::option::Option<&mut [u16]>, pcchcolname: ::core::option::Option<*mut i16>, pfsqltype: ::core::option::Option<*mut i16>, pcbcoldef: ::core::option::Option<*mut u64>, pibscale: ::core::option::Option<*mut i16>, pfnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDescribeColW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , szcolname : *mut u16 , cchcolnamemax : i16 , pcchcolname : *mut i16 , pfsqltype : *mut i16 , pcbcoldef : *mut u64 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDescribeColW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , szcolname : *mut u16 , cchcolnamemax : i16 , pcchcolname : *mut i16 , pfsqltype : *mut i16 , pcbcoldef : *mut u64 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); SQLDescribeColW( hstmt, icol, @@ -463,7 +463,7 @@ pub unsafe fn SQLDescribeColW(hstmt: *mut ::core::ffi::c_void, icol: u16, szcoln #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLDescribeColW(hstmt: *mut ::core::ffi::c_void, icol: u16, szcolname: ::core::option::Option<&mut [u16]>, pcchcolname: ::core::option::Option<*mut i16>, pfsqltype: ::core::option::Option<*mut i16>, pcbcoldef: ::core::option::Option<*mut u32>, pibscale: ::core::option::Option<*mut i16>, pfnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDescribeColW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , szcolname : *mut u16 , cchcolnamemax : i16 , pcchcolname : *mut i16 , pfsqltype : *mut i16 , pcbcoldef : *mut u32 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDescribeColW ( hstmt : *mut ::core::ffi::c_void , icol : u16 , szcolname : *mut u16 , cchcolnamemax : i16 , pcchcolname : *mut i16 , pfsqltype : *mut i16 , pcbcoldef : *mut u32 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); SQLDescribeColW( hstmt, icol, @@ -480,44 +480,44 @@ pub unsafe fn SQLDescribeColW(hstmt: *mut ::core::ffi::c_void, icol: u16, szcoln #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLDescribeParam(hstmt: *mut ::core::ffi::c_void, ipar: u16, pfsqltype: ::core::option::Option<*mut i16>, pcbparamdef: ::core::option::Option<*mut u64>, pibscale: ::core::option::Option<*mut i16>, pfnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDescribeParam ( hstmt : *mut ::core::ffi::c_void , ipar : u16 , pfsqltype : *mut i16 , pcbparamdef : *mut u64 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDescribeParam ( hstmt : *mut ::core::ffi::c_void , ipar : u16 , pfsqltype : *mut i16 , pcbparamdef : *mut u64 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); SQLDescribeParam(hstmt, ipar, ::core::mem::transmute(pfsqltype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbparamdef.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pibscale.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfnullable.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLDescribeParam(hstmt: *mut ::core::ffi::c_void, ipar: u16, pfsqltype: ::core::option::Option<*mut i16>, pcbparamdef: ::core::option::Option<*mut u32>, pibscale: ::core::option::Option<*mut i16>, pfnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDescribeParam ( hstmt : *mut ::core::ffi::c_void , ipar : u16 , pfsqltype : *mut i16 , pcbparamdef : *mut u32 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDescribeParam ( hstmt : *mut ::core::ffi::c_void , ipar : u16 , pfsqltype : *mut i16 , pcbparamdef : *mut u32 , pibscale : *mut i16 , pfnullable : *mut i16 ) -> i16 ); SQLDescribeParam(hstmt, ipar, ::core::mem::transmute(pfsqltype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbparamdef.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pibscale.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfnullable.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDisconnect(connectionhandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDisconnect ( connectionhandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDisconnect ( connectionhandle : *mut ::core::ffi::c_void ) -> i16 ); SQLDisconnect(connectionhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDriverConnect(hdbc: *mut ::core::ffi::c_void, hwnd: isize, szconnstrin: &[u8], szconnstrout: ::core::option::Option<&mut [u8]>, pcchconnstrout: ::core::option::Option<*mut i16>, fdrivercompletion: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDriverConnect ( hdbc : *mut ::core::ffi::c_void , hwnd : isize , szconnstrin : *const u8 , cchconnstrin : i16 , szconnstrout : *mut u8 , cchconnstroutmax : i16 , pcchconnstrout : *mut i16 , fdrivercompletion : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDriverConnect ( hdbc : *mut ::core::ffi::c_void , hwnd : isize , szconnstrin : *const u8 , cchconnstrin : i16 , szconnstrout : *mut u8 , cchconnstroutmax : i16 , pcchconnstrout : *mut i16 , fdrivercompletion : u16 ) -> i16 ); SQLDriverConnect(hdbc, hwnd, ::core::mem::transmute(szconnstrin.as_ptr()), szconnstrin.len() as _, ::core::mem::transmute(szconnstrout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szconnstrout.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcchconnstrout.unwrap_or(::std::ptr::null_mut())), fdrivercompletion) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDriverConnectA(hdbc: *mut ::core::ffi::c_void, hwnd: isize, szconnstrin: &[u8], szconnstrout: ::core::option::Option<&mut [u8]>, pcbconnstrout: ::core::option::Option<*mut i16>, fdrivercompletion: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDriverConnectA ( hdbc : *mut ::core::ffi::c_void , hwnd : isize , szconnstrin : *const u8 , cbconnstrin : i16 , szconnstrout : *mut u8 , cbconnstroutmax : i16 , pcbconnstrout : *mut i16 , fdrivercompletion : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDriverConnectA ( hdbc : *mut ::core::ffi::c_void , hwnd : isize , szconnstrin : *const u8 , cbconnstrin : i16 , szconnstrout : *mut u8 , cbconnstroutmax : i16 , pcbconnstrout : *mut i16 , fdrivercompletion : u16 ) -> i16 ); SQLDriverConnectA(hdbc, hwnd, ::core::mem::transmute(szconnstrin.as_ptr()), szconnstrin.len() as _, ::core::mem::transmute(szconnstrout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szconnstrout.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbconnstrout.unwrap_or(::std::ptr::null_mut())), fdrivercompletion) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDriverConnectW(hdbc: *mut ::core::ffi::c_void, hwnd: isize, szconnstrin: &[u16], szconnstrout: ::core::option::Option<&mut [u16]>, pcchconnstrout: ::core::option::Option<*mut i16>, fdrivercompletion: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDriverConnectW ( hdbc : *mut ::core::ffi::c_void , hwnd : isize , szconnstrin : *const u16 , cchconnstrin : i16 , szconnstrout : *mut u16 , cchconnstroutmax : i16 , pcchconnstrout : *mut i16 , fdrivercompletion : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDriverConnectW ( hdbc : *mut ::core::ffi::c_void , hwnd : isize , szconnstrin : *const u16 , cchconnstrin : i16 , szconnstrout : *mut u16 , cchconnstroutmax : i16 , pcchconnstrout : *mut i16 , fdrivercompletion : u16 ) -> i16 ); SQLDriverConnectW(hdbc, hwnd, ::core::mem::transmute(szconnstrin.as_ptr()), szconnstrin.len() as _, ::core::mem::transmute(szconnstrout.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szconnstrout.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcchconnstrout.unwrap_or(::std::ptr::null_mut())), fdrivercompletion) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDrivers(henv: *mut ::core::ffi::c_void, fdirection: u16, szdriverdesc: ::core::option::Option<&mut [u8]>, pcchdriverdesc: ::core::option::Option<*mut i16>, szdriverattributes: ::core::option::Option<&mut [u8]>, pcchdrvrattr: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDrivers ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdriverdesc : *mut u8 , cchdriverdescmax : i16 , pcchdriverdesc : *mut i16 , szdriverattributes : *mut u8 , cchdrvrattrmax : i16 , pcchdrvrattr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDrivers ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdriverdesc : *mut u8 , cchdriverdescmax : i16 , pcchdriverdesc : *mut i16 , szdriverattributes : *mut u8 , cchdrvrattrmax : i16 , pcchdrvrattr : *mut i16 ) -> i16 ); SQLDrivers( henv, fdirection, @@ -532,7 +532,7 @@ pub unsafe fn SQLDrivers(henv: *mut ::core::ffi::c_void, fdirection: u16, szdriv #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDriversA(henv: *mut ::core::ffi::c_void, fdirection: u16, szdriverdesc: ::core::option::Option<&mut [u8]>, pcbdriverdesc: ::core::option::Option<*mut i16>, szdriverattributes: ::core::option::Option<&mut [u8]>, pcbdrvrattr: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDriversA ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdriverdesc : *mut u8 , cbdriverdescmax : i16 , pcbdriverdesc : *mut i16 , szdriverattributes : *mut u8 , cbdrvrattrmax : i16 , pcbdrvrattr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDriversA ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdriverdesc : *mut u8 , cbdriverdescmax : i16 , pcbdriverdesc : *mut i16 , szdriverattributes : *mut u8 , cbdrvrattrmax : i16 , pcbdrvrattr : *mut i16 ) -> i16 ); SQLDriversA( henv, fdirection, @@ -547,7 +547,7 @@ pub unsafe fn SQLDriversA(henv: *mut ::core::ffi::c_void, fdirection: u16, szdri #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLDriversW(henv: *mut ::core::ffi::c_void, fdirection: u16, szdriverdesc: ::core::option::Option<&mut [u16]>, pcchdriverdesc: ::core::option::Option<*mut i16>, szdriverattributes: ::core::option::Option<&mut [u16]>, pcchdrvrattr: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLDriversW ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdriverdesc : *mut u16 , cchdriverdescmax : i16 , pcchdriverdesc : *mut i16 , szdriverattributes : *mut u16 , cchdrvrattrmax : i16 , pcchdrvrattr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLDriversW ( henv : *mut ::core::ffi::c_void , fdirection : u16 , szdriverdesc : *mut u16 , cchdriverdescmax : i16 , pcchdriverdesc : *mut i16 , szdriverattributes : *mut u16 , cchdrvrattrmax : i16 , pcchdrvrattr : *mut i16 ) -> i16 ); SQLDriversW( henv, fdirection, @@ -562,89 +562,89 @@ pub unsafe fn SQLDriversW(henv: *mut ::core::ffi::c_void, fdirection: u16, szdri #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLEndTran(handletype: i16, handle: *mut ::core::ffi::c_void, completiontype: i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLEndTran ( handletype : i16 , handle : *mut ::core::ffi::c_void , completiontype : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLEndTran ( handletype : i16 , handle : *mut ::core::ffi::c_void , completiontype : i16 ) -> i16 ); SQLEndTran(handletype, handle, completiontype) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLError(environmenthandle: *mut ::core::ffi::c_void, connectionhandle: *mut ::core::ffi::c_void, statementhandle: *mut ::core::ffi::c_void, sqlstate: &mut [u8; 6], nativeerror: ::core::option::Option<*mut i32>, messagetext: ::core::option::Option<&mut [u8]>, textlength: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLError ( environmenthandle : *mut ::core::ffi::c_void , connectionhandle : *mut ::core::ffi::c_void , statementhandle : *mut ::core::ffi::c_void , sqlstate : *mut u8 , nativeerror : *mut i32 , messagetext : *mut u8 , bufferlength : i16 , textlength : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLError ( environmenthandle : *mut ::core::ffi::c_void , connectionhandle : *mut ::core::ffi::c_void , statementhandle : *mut ::core::ffi::c_void , sqlstate : *mut u8 , nativeerror : *mut i32 , messagetext : *mut u8 , bufferlength : i16 , textlength : *mut i16 ) -> i16 ); SQLError(environmenthandle, connectionhandle, statementhandle, ::core::mem::transmute(sqlstate.as_ptr()), ::core::mem::transmute(nativeerror.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(messagetext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), messagetext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(textlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLErrorA(henv: *mut ::core::ffi::c_void, hdbc: *mut ::core::ffi::c_void, hstmt: *mut ::core::ffi::c_void, szsqlstate: *mut u8, pfnativeerror: ::core::option::Option<*mut i32>, szerrormsg: ::core::option::Option<&mut [u8]>, pcberrormsg: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLErrorA ( henv : *mut ::core::ffi::c_void , hdbc : *mut ::core::ffi::c_void , hstmt : *mut ::core::ffi::c_void , szsqlstate : *mut u8 , pfnativeerror : *mut i32 , szerrormsg : *mut u8 , cberrormsgmax : i16 , pcberrormsg : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLErrorA ( henv : *mut ::core::ffi::c_void , hdbc : *mut ::core::ffi::c_void , hstmt : *mut ::core::ffi::c_void , szsqlstate : *mut u8 , pfnativeerror : *mut i32 , szerrormsg : *mut u8 , cberrormsgmax : i16 , pcberrormsg : *mut i16 ) -> i16 ); SQLErrorA(henv, hdbc, hstmt, szsqlstate, ::core::mem::transmute(pfnativeerror.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szerrormsg.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szerrormsg.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcberrormsg.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLErrorW(henv: *mut ::core::ffi::c_void, hdbc: *mut ::core::ffi::c_void, hstmt: *mut ::core::ffi::c_void, wszsqlstate: &mut [u16; 6], pfnativeerror: ::core::option::Option<*mut i32>, wszerrormsg: ::core::option::Option<&mut [u16]>, pccherrormsg: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLErrorW ( henv : *mut ::core::ffi::c_void , hdbc : *mut ::core::ffi::c_void , hstmt : *mut ::core::ffi::c_void , wszsqlstate : *mut u16 , pfnativeerror : *mut i32 , wszerrormsg : *mut u16 , ccherrormsgmax : i16 , pccherrormsg : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLErrorW ( henv : *mut ::core::ffi::c_void , hdbc : *mut ::core::ffi::c_void , hstmt : *mut ::core::ffi::c_void , wszsqlstate : *mut u16 , pfnativeerror : *mut i32 , wszerrormsg : *mut u16 , ccherrormsgmax : i16 , pccherrormsg : *mut i16 ) -> i16 ); SQLErrorW(henv, hdbc, hstmt, ::core::mem::transmute(wszsqlstate.as_ptr()), ::core::mem::transmute(pfnativeerror.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(wszerrormsg.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), wszerrormsg.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pccherrormsg.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLExecDirect(statementhandle: *mut ::core::ffi::c_void, statementtext: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLExecDirect ( statementhandle : *mut ::core::ffi::c_void , statementtext : *const u8 , textlength : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLExecDirect ( statementhandle : *mut ::core::ffi::c_void , statementtext : *const u8 , textlength : i32 ) -> i16 ); SQLExecDirect(statementhandle, ::core::mem::transmute(statementtext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), statementtext.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLExecDirectA(hstmt: *mut ::core::ffi::c_void, szsqlstr: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLExecDirectA ( hstmt : *mut ::core::ffi::c_void , szsqlstr : *const u8 , cbsqlstr : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLExecDirectA ( hstmt : *mut ::core::ffi::c_void , szsqlstr : *const u8 , cbsqlstr : i32 ) -> i16 ); SQLExecDirectA(hstmt, ::core::mem::transmute(szsqlstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szsqlstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLExecDirectW(hstmt: *mut ::core::ffi::c_void, szsqlstr: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLExecDirectW ( hstmt : *mut ::core::ffi::c_void , szsqlstr : *const u16 , textlength : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLExecDirectW ( hstmt : *mut ::core::ffi::c_void , szsqlstr : *const u16 , textlength : i32 ) -> i16 ); SQLExecDirectW(hstmt, ::core::mem::transmute(szsqlstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szsqlstr.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLExecute(statementhandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLExecute ( statementhandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLExecute ( statementhandle : *mut ::core::ffi::c_void ) -> i16 ); SQLExecute(statementhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLExtendedFetch(hstmt: *mut ::core::ffi::c_void, ffetchtype: u16, irow: i64, pcrow: ::core::option::Option<*mut u64>, rgfrowstatus: ::core::option::Option<*mut u16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLExtendedFetch ( hstmt : *mut ::core::ffi::c_void , ffetchtype : u16 , irow : i64 , pcrow : *mut u64 , rgfrowstatus : *mut u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLExtendedFetch ( hstmt : *mut ::core::ffi::c_void , ffetchtype : u16 , irow : i64 , pcrow : *mut u64 , rgfrowstatus : *mut u16 ) -> i16 ); SQLExtendedFetch(hstmt, ffetchtype, irow, ::core::mem::transmute(pcrow.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(rgfrowstatus.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLExtendedFetch(hstmt: *mut ::core::ffi::c_void, ffetchtype: u16, irow: i32, pcrow: ::core::option::Option<*mut u32>, rgfrowstatus: ::core::option::Option<*mut u16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLExtendedFetch ( hstmt : *mut ::core::ffi::c_void , ffetchtype : u16 , irow : i32 , pcrow : *mut u32 , rgfrowstatus : *mut u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLExtendedFetch ( hstmt : *mut ::core::ffi::c_void , ffetchtype : u16 , irow : i32 , pcrow : *mut u32 , rgfrowstatus : *mut u16 ) -> i16 ); SQLExtendedFetch(hstmt, ffetchtype, irow, ::core::mem::transmute(pcrow.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(rgfrowstatus.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLFetch(statementhandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLFetch ( statementhandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLFetch ( statementhandle : *mut ::core::ffi::c_void ) -> i16 ); SQLFetch(statementhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLFetchScroll(statementhandle: *mut ::core::ffi::c_void, fetchorientation: i16, fetchoffset: i64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLFetchScroll ( statementhandle : *mut ::core::ffi::c_void , fetchorientation : i16 , fetchoffset : i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLFetchScroll ( statementhandle : *mut ::core::ffi::c_void , fetchorientation : i16 , fetchoffset : i64 ) -> i16 ); SQLFetchScroll(statementhandle, fetchorientation, fetchoffset) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLFetchScroll(statementhandle: *mut ::core::ffi::c_void, fetchorientation: i16, fetchoffset: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLFetchScroll ( statementhandle : *mut ::core::ffi::c_void , fetchorientation : i16 , fetchoffset : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLFetchScroll ( statementhandle : *mut ::core::ffi::c_void , fetchorientation : i16 , fetchoffset : i32 ) -> i16 ); SQLFetchScroll(statementhandle, fetchorientation, fetchoffset) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLForeignKeys(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: ::core::option::Option<&[u8]>, szpkschemaname: ::core::option::Option<&[u8]>, szpktablename: ::core::option::Option<&[u8]>, szfkcatalogname: ::core::option::Option<&[u8]>, szfkschemaname: ::core::option::Option<&[u8]>, szfktablename: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLForeignKeys ( hstmt : *mut ::core::ffi::c_void , szpkcatalogname : *const u8 , cchpkcatalogname : i16 , szpkschemaname : *const u8 , cchpkschemaname : i16 , szpktablename : *const u8 , cchpktablename : i16 , szfkcatalogname : *const u8 , cchfkcatalogname : i16 , szfkschemaname : *const u8 , cchfkschemaname : i16 , szfktablename : *const u8 , cchfktablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLForeignKeys ( hstmt : *mut ::core::ffi::c_void , szpkcatalogname : *const u8 , cchpkcatalogname : i16 , szpkschemaname : *const u8 , cchpkschemaname : i16 , szpktablename : *const u8 , cchpktablename : i16 , szfkcatalogname : *const u8 , cchfkcatalogname : i16 , szfkschemaname : *const u8 , cchfkschemaname : i16 , szfktablename : *const u8 , cchfktablename : i16 ) -> i16 ); SQLForeignKeys( hstmt, ::core::mem::transmute(szpkcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -664,7 +664,7 @@ pub unsafe fn SQLForeignKeys(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: : #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLForeignKeysA(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: ::core::option::Option<&[u8]>, szpkschemaname: ::core::option::Option<&[u8]>, szpktablename: ::core::option::Option<&[u8]>, szfkcatalogname: ::core::option::Option<&[u8]>, szfkschemaname: ::core::option::Option<&[u8]>, szfktablename: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLForeignKeysA ( hstmt : *mut ::core::ffi::c_void , szpkcatalogname : *const u8 , cbpkcatalogname : i16 , szpkschemaname : *const u8 , cbpkschemaname : i16 , szpktablename : *const u8 , cbpktablename : i16 , szfkcatalogname : *const u8 , cbfkcatalogname : i16 , szfkschemaname : *const u8 , cbfkschemaname : i16 , szfktablename : *const u8 , cbfktablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLForeignKeysA ( hstmt : *mut ::core::ffi::c_void , szpkcatalogname : *const u8 , cbpkcatalogname : i16 , szpkschemaname : *const u8 , cbpkschemaname : i16 , szpktablename : *const u8 , cbpktablename : i16 , szfkcatalogname : *const u8 , cbfkcatalogname : i16 , szfkschemaname : *const u8 , cbfkschemaname : i16 , szfktablename : *const u8 , cbfktablename : i16 ) -> i16 ); SQLForeignKeysA( hstmt, ::core::mem::transmute(szpkcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -684,7 +684,7 @@ pub unsafe fn SQLForeignKeysA(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLForeignKeysW(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: ::core::option::Option<&[u16]>, szpkschemaname: ::core::option::Option<&[u16]>, szpktablename: ::core::option::Option<&[u16]>, szfkcatalogname: ::core::option::Option<&[u16]>, szfkschemaname: ::core::option::Option<&[u16]>, szfktablename: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLForeignKeysW ( hstmt : *mut ::core::ffi::c_void , szpkcatalogname : *const u16 , cchpkcatalogname : i16 , szpkschemaname : *const u16 , cchpkschemaname : i16 , szpktablename : *const u16 , cchpktablename : i16 , szfkcatalogname : *const u16 , cchfkcatalogname : i16 , szfkschemaname : *const u16 , cchfkschemaname : i16 , szfktablename : *const u16 , cchfktablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLForeignKeysW ( hstmt : *mut ::core::ffi::c_void , szpkcatalogname : *const u16 , cchpkcatalogname : i16 , szpkschemaname : *const u16 , cchpkschemaname : i16 , szpktablename : *const u16 , cchpktablename : i16 , szfkcatalogname : *const u16 , cchfkcatalogname : i16 , szfkschemaname : *const u16 , cchfkschemaname : i16 , szfktablename : *const u16 , cchfktablename : i16 ) -> i16 ); SQLForeignKeysW( hstmt, ::core::mem::transmute(szpkcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -704,118 +704,118 @@ pub unsafe fn SQLForeignKeysW(hstmt: *mut ::core::ffi::c_void, szpkcatalogname: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLFreeConnect(connectionhandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLFreeConnect ( connectionhandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLFreeConnect ( connectionhandle : *mut ::core::ffi::c_void ) -> i16 ); SQLFreeConnect(connectionhandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLFreeEnv(environmenthandle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLFreeEnv ( environmenthandle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLFreeEnv ( environmenthandle : *mut ::core::ffi::c_void ) -> i16 ); SQLFreeEnv(environmenthandle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLFreeHandle(handletype: i16, handle: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLFreeHandle ( handletype : i16 , handle : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLFreeHandle ( handletype : i16 , handle : *mut ::core::ffi::c_void ) -> i16 ); SQLFreeHandle(handletype, handle) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLFreeStmt(statementhandle: *mut ::core::ffi::c_void, option: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLFreeStmt ( statementhandle : *mut ::core::ffi::c_void , option : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLFreeStmt ( statementhandle : *mut ::core::ffi::c_void , option : u16 ) -> i16 ); SQLFreeStmt(statementhandle, option) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetConnectAttr(connectionhandle: *mut ::core::ffi::c_void, attribute: i32, value: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i32, stringlengthptr: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetConnectAttr ( connectionhandle : *mut ::core::ffi::c_void , attribute : i32 , value : *mut ::core::ffi::c_void , bufferlength : i32 , stringlengthptr : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetConnectAttr ( connectionhandle : *mut ::core::ffi::c_void , attribute : i32 , value : *mut ::core::ffi::c_void , bufferlength : i32 , stringlengthptr : *mut i32 ) -> i16 ); SQLGetConnectAttr(connectionhandle, attribute, ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(stringlengthptr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetConnectAttrA(hdbc: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: ::core::option::Option<*mut ::core::ffi::c_void>, cbvaluemax: i32, pcbvalue: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetConnectAttrA ( hdbc : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetConnectAttrA ( hdbc : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); SQLGetConnectAttrA(hdbc, fattribute, ::core::mem::transmute(rgbvalue.unwrap_or(::std::ptr::null_mut())), cbvaluemax, ::core::mem::transmute(pcbvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetConnectAttrW(hdbc: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: ::core::option::Option<*mut ::core::ffi::c_void>, cbvaluemax: i32, pcbvalue: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetConnectAttrW ( hdbc : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetConnectAttrW ( hdbc : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); SQLGetConnectAttrW(hdbc, fattribute, ::core::mem::transmute(rgbvalue.unwrap_or(::std::ptr::null_mut())), cbvaluemax, ::core::mem::transmute(pcbvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetConnectOption(connectionhandle: *mut ::core::ffi::c_void, option: u16, value: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetConnectOption ( connectionhandle : *mut ::core::ffi::c_void , option : u16 , value : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetConnectOption ( connectionhandle : *mut ::core::ffi::c_void , option : u16 , value : *mut ::core::ffi::c_void ) -> i16 ); SQLGetConnectOption(connectionhandle, option, value) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetConnectOptionA(hdbc: *mut ::core::ffi::c_void, foption: u16, pvparam: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetConnectOptionA ( hdbc : *mut ::core::ffi::c_void , foption : u16 , pvparam : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetConnectOptionA ( hdbc : *mut ::core::ffi::c_void , foption : u16 , pvparam : *mut ::core::ffi::c_void ) -> i16 ); SQLGetConnectOptionA(hdbc, foption, pvparam) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetConnectOptionW(hdbc: *mut ::core::ffi::c_void, foption: u16, pvparam: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetConnectOptionW ( hdbc : *mut ::core::ffi::c_void , foption : u16 , pvparam : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetConnectOptionW ( hdbc : *mut ::core::ffi::c_void , foption : u16 , pvparam : *mut ::core::ffi::c_void ) -> i16 ); SQLGetConnectOptionW(hdbc, foption, pvparam) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetCursorName(statementhandle: *mut ::core::ffi::c_void, cursorname: ::core::option::Option<&mut [u8]>, namelengthptr: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetCursorName ( statementhandle : *mut ::core::ffi::c_void , cursorname : *mut u8 , bufferlength : i16 , namelengthptr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetCursorName ( statementhandle : *mut ::core::ffi::c_void , cursorname : *mut u8 , bufferlength : i16 , namelengthptr : *mut i16 ) -> i16 ); SQLGetCursorName(statementhandle, ::core::mem::transmute(cursorname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), cursorname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(namelengthptr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetCursorNameA(hstmt: *mut ::core::ffi::c_void, szcursor: ::core::option::Option<&mut [u8]>, pcbcursor: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetCursorNameA ( hstmt : *mut ::core::ffi::c_void , szcursor : *mut u8 , cbcursormax : i16 , pcbcursor : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetCursorNameA ( hstmt : *mut ::core::ffi::c_void , szcursor : *mut u8 , cbcursormax : i16 , pcbcursor : *mut i16 ) -> i16 ); SQLGetCursorNameA(hstmt, ::core::mem::transmute(szcursor.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szcursor.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcbcursor.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetCursorNameW(hstmt: *mut ::core::ffi::c_void, szcursor: ::core::option::Option<&mut [u16]>, pcchcursor: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetCursorNameW ( hstmt : *mut ::core::ffi::c_void , szcursor : *mut u16 , cchcursormax : i16 , pcchcursor : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetCursorNameW ( hstmt : *mut ::core::ffi::c_void , szcursor : *mut u16 , cchcursormax : i16 , pcchcursor : *mut i16 ) -> i16 ); SQLGetCursorNameW(hstmt, ::core::mem::transmute(szcursor.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szcursor.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pcchcursor.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLGetData(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, targettype: i16, targetvalue: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i64, strlen_or_indptr: ::core::option::Option<*mut i64>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetData ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , targettype : i16 , targetvalue : *mut ::core::ffi::c_void , bufferlength : i64 , strlen_or_indptr : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetData ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , targettype : i16 , targetvalue : *mut ::core::ffi::c_void , bufferlength : i64 , strlen_or_indptr : *mut i64 ) -> i16 ); SQLGetData(statementhandle, columnnumber, targettype, ::core::mem::transmute(targetvalue.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(strlen_or_indptr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLGetData(statementhandle: *mut ::core::ffi::c_void, columnnumber: u16, targettype: i16, targetvalue: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i32, strlen_or_indptr: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetData ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , targettype : i16 , targetvalue : *mut ::core::ffi::c_void , bufferlength : i32 , strlen_or_indptr : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetData ( statementhandle : *mut ::core::ffi::c_void , columnnumber : u16 , targettype : i16 , targetvalue : *mut ::core::ffi::c_void , bufferlength : i32 , strlen_or_indptr : *mut i32 ) -> i16 ); SQLGetData(statementhandle, columnnumber, targettype, ::core::mem::transmute(targetvalue.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(strlen_or_indptr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDescField(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, fieldidentifier: i16, value: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i32, stringlength: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescField ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , fieldidentifier : i16 , value : *mut ::core::ffi::c_void , bufferlength : i32 , stringlength : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescField ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , fieldidentifier : i16 , value : *mut ::core::ffi::c_void , bufferlength : i32 , stringlength : *mut i32 ) -> i16 ); SQLGetDescField(descriptorhandle, recnumber, fieldidentifier, ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDescFieldA(hdesc: *mut ::core::ffi::c_void, irecord: i16, ifield: i16, rgbvalue: ::core::option::Option<*mut ::core::ffi::c_void>, cbbufferlength: i32, stringlength: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescFieldA ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , ifield : i16 , rgbvalue : *mut ::core::ffi::c_void , cbbufferlength : i32 , stringlength : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescFieldA ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , ifield : i16 , rgbvalue : *mut ::core::ffi::c_void , cbbufferlength : i32 , stringlength : *mut i32 ) -> i16 ); SQLGetDescFieldA(hdesc, irecord, ifield, ::core::mem::transmute(rgbvalue.unwrap_or(::std::ptr::null_mut())), cbbufferlength, ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDescFieldW(hdesc: *mut ::core::ffi::c_void, irecord: i16, ifield: i16, rgbvalue: ::core::option::Option<*mut ::core::ffi::c_void>, cbbufferlength: i32, stringlength: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescFieldW ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , ifield : i16 , rgbvalue : *mut ::core::ffi::c_void , cbbufferlength : i32 , stringlength : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescFieldW ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , ifield : i16 , rgbvalue : *mut ::core::ffi::c_void , cbbufferlength : i32 , stringlength : *mut i32 ) -> i16 ); SQLGetDescFieldW(hdesc, irecord, ifield, ::core::mem::transmute(rgbvalue.unwrap_or(::std::ptr::null_mut())), cbbufferlength, ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLGetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, name: ::core::option::Option<&mut [u8]>, stringlengthptr: ::core::option::Option<*mut i16>, typeptr: ::core::option::Option<*mut i16>, subtypeptr: ::core::option::Option<*mut i16>, lengthptr: ::core::option::Option<*mut i64>, precisionptr: ::core::option::Option<*mut i16>, scaleptr: ::core::option::Option<*mut i16>, nullableptr: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescRec ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , name : *mut u8 , bufferlength : i16 , stringlengthptr : *mut i16 , typeptr : *mut i16 , subtypeptr : *mut i16 , lengthptr : *mut i64 , precisionptr : *mut i16 , scaleptr : *mut i16 , nullableptr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescRec ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , name : *mut u8 , bufferlength : i16 , stringlengthptr : *mut i16 , typeptr : *mut i16 , subtypeptr : *mut i16 , lengthptr : *mut i64 , precisionptr : *mut i16 , scaleptr : *mut i16 , nullableptr : *mut i16 ) -> i16 ); SQLGetDescRec( descriptorhandle, recnumber, @@ -834,7 +834,7 @@ pub unsafe fn SQLGetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumbe #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLGetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, name: ::core::option::Option<&mut [u8]>, stringlengthptr: ::core::option::Option<*mut i16>, typeptr: ::core::option::Option<*mut i16>, subtypeptr: ::core::option::Option<*mut i16>, lengthptr: ::core::option::Option<*mut i32>, precisionptr: ::core::option::Option<*mut i16>, scaleptr: ::core::option::Option<*mut i16>, nullableptr: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescRec ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , name : *mut u8 , bufferlength : i16 , stringlengthptr : *mut i16 , typeptr : *mut i16 , subtypeptr : *mut i16 , lengthptr : *mut i32 , precisionptr : *mut i16 , scaleptr : *mut i16 , nullableptr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescRec ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , name : *mut u8 , bufferlength : i16 , stringlengthptr : *mut i16 , typeptr : *mut i16 , subtypeptr : *mut i16 , lengthptr : *mut i32 , precisionptr : *mut i16 , scaleptr : *mut i16 , nullableptr : *mut i16 ) -> i16 ); SQLGetDescRec( descriptorhandle, recnumber, @@ -853,7 +853,7 @@ pub unsafe fn SQLGetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumbe #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLGetDescRecA(hdesc: *mut ::core::ffi::c_void, irecord: i16, szname: ::core::option::Option<&mut [u8]>, pcbname: ::core::option::Option<*mut i16>, pftype: ::core::option::Option<*mut i16>, pfsubtype: ::core::option::Option<*mut i16>, plength: ::core::option::Option<*mut i64>, pprecision: ::core::option::Option<*mut i16>, pscale: ::core::option::Option<*mut i16>, pnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescRecA ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , szname : *mut u8 , cbnamemax : i16 , pcbname : *mut i16 , pftype : *mut i16 , pfsubtype : *mut i16 , plength : *mut i64 , pprecision : *mut i16 , pscale : *mut i16 , pnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescRecA ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , szname : *mut u8 , cbnamemax : i16 , pcbname : *mut i16 , pftype : *mut i16 , pfsubtype : *mut i16 , plength : *mut i64 , pprecision : *mut i16 , pscale : *mut i16 , pnullable : *mut i16 ) -> i16 ); SQLGetDescRecA( hdesc, irecord, @@ -872,7 +872,7 @@ pub unsafe fn SQLGetDescRecA(hdesc: *mut ::core::ffi::c_void, irecord: i16, szna #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLGetDescRecA(hdesc: *mut ::core::ffi::c_void, irecord: i16, szname: ::core::option::Option<&mut [u8]>, pcbname: ::core::option::Option<*mut i16>, pftype: ::core::option::Option<*mut i16>, pfsubtype: ::core::option::Option<*mut i16>, plength: ::core::option::Option<*mut i32>, pprecision: ::core::option::Option<*mut i16>, pscale: ::core::option::Option<*mut i16>, pnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescRecA ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , szname : *mut u8 , cbnamemax : i16 , pcbname : *mut i16 , pftype : *mut i16 , pfsubtype : *mut i16 , plength : *mut i32 , pprecision : *mut i16 , pscale : *mut i16 , pnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescRecA ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , szname : *mut u8 , cbnamemax : i16 , pcbname : *mut i16 , pftype : *mut i16 , pfsubtype : *mut i16 , plength : *mut i32 , pprecision : *mut i16 , pscale : *mut i16 , pnullable : *mut i16 ) -> i16 ); SQLGetDescRecA( hdesc, irecord, @@ -891,7 +891,7 @@ pub unsafe fn SQLGetDescRecA(hdesc: *mut ::core::ffi::c_void, irecord: i16, szna #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLGetDescRecW(hdesc: *mut ::core::ffi::c_void, irecord: i16, szname: ::core::option::Option<&mut [u16]>, pcchname: ::core::option::Option<*mut i16>, pftype: ::core::option::Option<*mut i16>, pfsubtype: ::core::option::Option<*mut i16>, plength: ::core::option::Option<*mut i64>, pprecision: ::core::option::Option<*mut i16>, pscale: ::core::option::Option<*mut i16>, pnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescRecW ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , szname : *mut u16 , cchnamemax : i16 , pcchname : *mut i16 , pftype : *mut i16 , pfsubtype : *mut i16 , plength : *mut i64 , pprecision : *mut i16 , pscale : *mut i16 , pnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescRecW ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , szname : *mut u16 , cchnamemax : i16 , pcchname : *mut i16 , pftype : *mut i16 , pfsubtype : *mut i16 , plength : *mut i64 , pprecision : *mut i16 , pscale : *mut i16 , pnullable : *mut i16 ) -> i16 ); SQLGetDescRecW( hdesc, irecord, @@ -910,7 +910,7 @@ pub unsafe fn SQLGetDescRecW(hdesc: *mut ::core::ffi::c_void, irecord: i16, szna #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLGetDescRecW(hdesc: *mut ::core::ffi::c_void, irecord: i16, szname: ::core::option::Option<&mut [u16]>, pcchname: ::core::option::Option<*mut i16>, pftype: ::core::option::Option<*mut i16>, pfsubtype: ::core::option::Option<*mut i16>, plength: ::core::option::Option<*mut i32>, pprecision: ::core::option::Option<*mut i16>, pscale: ::core::option::Option<*mut i16>, pnullable: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDescRecW ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , szname : *mut u16 , cchnamemax : i16 , pcchname : *mut i16 , pftype : *mut i16 , pfsubtype : *mut i16 , plength : *mut i32 , pprecision : *mut i16 , pscale : *mut i16 , pnullable : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDescRecW ( hdesc : *mut ::core::ffi::c_void , irecord : i16 , szname : *mut u16 , cchnamemax : i16 , pcchname : *mut i16 , pftype : *mut i16 , pfsubtype : *mut i16 , plength : *mut i32 , pprecision : *mut i16 , pscale : *mut i16 , pnullable : *mut i16 ) -> i16 ); SQLGetDescRecW( hdesc, irecord, @@ -928,67 +928,67 @@ pub unsafe fn SQLGetDescRecW(hdesc: *mut ::core::ffi::c_void, irecord: i16, szna #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDiagField(handletype: i16, handle: *mut ::core::ffi::c_void, recnumber: i16, diagidentifier: i16, diaginfo: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i16, stringlength: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDiagField ( handletype : i16 , handle : *mut ::core::ffi::c_void , recnumber : i16 , diagidentifier : i16 , diaginfo : *mut ::core::ffi::c_void , bufferlength : i16 , stringlength : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDiagField ( handletype : i16 , handle : *mut ::core::ffi::c_void , recnumber : i16 , diagidentifier : i16 , diaginfo : *mut ::core::ffi::c_void , bufferlength : i16 , stringlength : *mut i16 ) -> i16 ); SQLGetDiagField(handletype, handle, recnumber, diagidentifier, ::core::mem::transmute(diaginfo.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDiagFieldA(fhandletype: i16, handle: *mut ::core::ffi::c_void, irecord: i16, fdiagfield: i16, rgbdiaginfo: ::core::option::Option<*mut ::core::ffi::c_void>, cbdiaginfomax: i16, pcbdiaginfo: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDiagFieldA ( fhandletype : i16 , handle : *mut ::core::ffi::c_void , irecord : i16 , fdiagfield : i16 , rgbdiaginfo : *mut ::core::ffi::c_void , cbdiaginfomax : i16 , pcbdiaginfo : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDiagFieldA ( fhandletype : i16 , handle : *mut ::core::ffi::c_void , irecord : i16 , fdiagfield : i16 , rgbdiaginfo : *mut ::core::ffi::c_void , cbdiaginfomax : i16 , pcbdiaginfo : *mut i16 ) -> i16 ); SQLGetDiagFieldA(fhandletype, handle, irecord, fdiagfield, ::core::mem::transmute(rgbdiaginfo.unwrap_or(::std::ptr::null_mut())), cbdiaginfomax, ::core::mem::transmute(pcbdiaginfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDiagFieldW(fhandletype: i16, handle: *mut ::core::ffi::c_void, irecord: i16, fdiagfield: i16, rgbdiaginfo: ::core::option::Option<*mut ::core::ffi::c_void>, cbbufferlength: i16, pcbstringlength: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDiagFieldW ( fhandletype : i16 , handle : *mut ::core::ffi::c_void , irecord : i16 , fdiagfield : i16 , rgbdiaginfo : *mut ::core::ffi::c_void , cbbufferlength : i16 , pcbstringlength : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDiagFieldW ( fhandletype : i16 , handle : *mut ::core::ffi::c_void , irecord : i16 , fdiagfield : i16 , rgbdiaginfo : *mut ::core::ffi::c_void , cbbufferlength : i16 , pcbstringlength : *mut i16 ) -> i16 ); SQLGetDiagFieldW(fhandletype, handle, irecord, fdiagfield, ::core::mem::transmute(rgbdiaginfo.unwrap_or(::std::ptr::null_mut())), cbbufferlength, ::core::mem::transmute(pcbstringlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDiagRec(handletype: i16, handle: *mut ::core::ffi::c_void, recnumber: i16, sqlstate: ::core::option::Option<&mut [u8; 6]>, nativeerror: *mut i32, messagetext: ::core::option::Option<&mut [u8]>, textlength: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDiagRec ( handletype : i16 , handle : *mut ::core::ffi::c_void , recnumber : i16 , sqlstate : *mut u8 , nativeerror : *mut i32 , messagetext : *mut u8 , bufferlength : i16 , textlength : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDiagRec ( handletype : i16 , handle : *mut ::core::ffi::c_void , recnumber : i16 , sqlstate : *mut u8 , nativeerror : *mut i32 , messagetext : *mut u8 , bufferlength : i16 , textlength : *mut i16 ) -> i16 ); SQLGetDiagRec(handletype, handle, recnumber, ::core::mem::transmute(sqlstate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), nativeerror, ::core::mem::transmute(messagetext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), messagetext.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(textlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDiagRecA(fhandletype: i16, handle: *mut ::core::ffi::c_void, irecord: i16, szsqlstate: ::core::option::Option<&mut [u8; 6]>, pfnativeerror: *mut i32, szerrormsg: ::core::option::Option<&mut [u8]>, pcberrormsg: *mut i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDiagRecA ( fhandletype : i16 , handle : *mut ::core::ffi::c_void , irecord : i16 , szsqlstate : *mut u8 , pfnativeerror : *mut i32 , szerrormsg : *mut u8 , cberrormsgmax : i16 , pcberrormsg : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDiagRecA ( fhandletype : i16 , handle : *mut ::core::ffi::c_void , irecord : i16 , szsqlstate : *mut u8 , pfnativeerror : *mut i32 , szerrormsg : *mut u8 , cberrormsgmax : i16 , pcberrormsg : *mut i16 ) -> i16 ); SQLGetDiagRecA(fhandletype, handle, irecord, ::core::mem::transmute(szsqlstate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pfnativeerror, ::core::mem::transmute(szerrormsg.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szerrormsg.as_deref().map_or(0, |slice| slice.len() as _), pcberrormsg) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetDiagRecW(fhandletype: i16, handle: *mut ::core::ffi::c_void, irecord: i16, szsqlstate: ::core::option::Option<&mut [u16; 6]>, pfnativeerror: *mut i32, szerrormsg: ::core::option::Option<&mut [u16]>, pccherrormsg: *mut i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetDiagRecW ( fhandletype : i16 , handle : *mut ::core::ffi::c_void , irecord : i16 , szsqlstate : *mut u16 , pfnativeerror : *mut i32 , szerrormsg : *mut u16 , ccherrormsgmax : i16 , pccherrormsg : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetDiagRecW ( fhandletype : i16 , handle : *mut ::core::ffi::c_void , irecord : i16 , szsqlstate : *mut u16 , pfnativeerror : *mut i32 , szerrormsg : *mut u16 , ccherrormsgmax : i16 , pccherrormsg : *mut i16 ) -> i16 ); SQLGetDiagRecW(fhandletype, handle, irecord, ::core::mem::transmute(szsqlstate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pfnativeerror, ::core::mem::transmute(szerrormsg.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szerrormsg.as_deref().map_or(0, |slice| slice.len() as _), pccherrormsg) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetEnvAttr(environmenthandle: *mut ::core::ffi::c_void, attribute: i32, value: *mut ::core::ffi::c_void, bufferlength: i32, stringlength: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetEnvAttr ( environmenthandle : *mut ::core::ffi::c_void , attribute : i32 , value : *mut ::core::ffi::c_void , bufferlength : i32 , stringlength : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetEnvAttr ( environmenthandle : *mut ::core::ffi::c_void , attribute : i32 , value : *mut ::core::ffi::c_void , bufferlength : i32 , stringlength : *mut i32 ) -> i16 ); SQLGetEnvAttr(environmenthandle, attribute, value, bufferlength, ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetFunctions(connectionhandle: *mut ::core::ffi::c_void, functionid: u16, supported: ::core::option::Option<*mut u16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetFunctions ( connectionhandle : *mut ::core::ffi::c_void , functionid : u16 , supported : *mut u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetFunctions ( connectionhandle : *mut ::core::ffi::c_void , functionid : u16 , supported : *mut u16 ) -> i16 ); SQLGetFunctions(connectionhandle, functionid, ::core::mem::transmute(supported.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetInfo(connectionhandle: *mut ::core::ffi::c_void, infotype: u16, infovalue: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i16, stringlengthptr: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetInfo ( connectionhandle : *mut ::core::ffi::c_void , infotype : u16 , infovalue : *mut ::core::ffi::c_void , bufferlength : i16 , stringlengthptr : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetInfo ( connectionhandle : *mut ::core::ffi::c_void , infotype : u16 , infovalue : *mut ::core::ffi::c_void , bufferlength : i16 , stringlengthptr : *mut i16 ) -> i16 ); SQLGetInfo(connectionhandle, infotype, ::core::mem::transmute(infovalue.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(stringlengthptr.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetInfoA(hdbc: *mut ::core::ffi::c_void, finfotype: u16, rgbinfovalue: ::core::option::Option<*mut ::core::ffi::c_void>, cbinfovaluemax: i16, pcbinfovalue: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetInfoA ( hdbc : *mut ::core::ffi::c_void , finfotype : u16 , rgbinfovalue : *mut ::core::ffi::c_void , cbinfovaluemax : i16 , pcbinfovalue : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetInfoA ( hdbc : *mut ::core::ffi::c_void , finfotype : u16 , rgbinfovalue : *mut ::core::ffi::c_void , cbinfovaluemax : i16 , pcbinfovalue : *mut i16 ) -> i16 ); SQLGetInfoA(hdbc, finfotype, ::core::mem::transmute(rgbinfovalue.unwrap_or(::std::ptr::null_mut())), cbinfovaluemax, ::core::mem::transmute(pcbinfovalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetInfoW(hdbc: *mut ::core::ffi::c_void, finfotype: u16, rgbinfovalue: ::core::option::Option<*mut ::core::ffi::c_void>, cbinfovaluemax: i16, pcbinfovalue: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetInfoW ( hdbc : *mut ::core::ffi::c_void , finfotype : u16 , rgbinfovalue : *mut ::core::ffi::c_void , cbinfovaluemax : i16 , pcbinfovalue : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetInfoW ( hdbc : *mut ::core::ffi::c_void , finfotype : u16 , rgbinfovalue : *mut ::core::ffi::c_void , cbinfovaluemax : i16 , pcbinfovalue : *mut i16 ) -> i16 ); SQLGetInfoW(hdbc, finfotype, ::core::mem::transmute(rgbinfovalue.unwrap_or(::std::ptr::null_mut())), cbinfovaluemax, ::core::mem::transmute(pcbinfovalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`*"] @@ -998,49 +998,49 @@ pub unsafe fn SQLGetNextEnumeration(henumhandle: P0, prgenumdata: *mut u8, p where P0: ::std::convert::Into, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn SQLGetNextEnumeration ( henumhandle : super::super::Foundation:: HANDLE , prgenumdata : *mut u8 , pienumlength : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn SQLGetNextEnumeration ( henumhandle : super::super::Foundation:: HANDLE , prgenumdata : *mut u8 , pienumlength : *mut i32 ) -> i16 ); SQLGetNextEnumeration(henumhandle.into(), prgenumdata, pienumlength) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetStmtAttr(statementhandle: *mut ::core::ffi::c_void, attribute: i32, value: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: i32, stringlength: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetStmtAttr ( statementhandle : *mut ::core::ffi::c_void , attribute : i32 , value : *mut ::core::ffi::c_void , bufferlength : i32 , stringlength : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetStmtAttr ( statementhandle : *mut ::core::ffi::c_void , attribute : i32 , value : *mut ::core::ffi::c_void , bufferlength : i32 , stringlength : *mut i32 ) -> i16 ); SQLGetStmtAttr(statementhandle, attribute, ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetStmtAttrA(hstmt: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32, pcbvalue: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetStmtAttrA ( hstmt : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetStmtAttrA ( hstmt : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); SQLGetStmtAttrA(hstmt, fattribute, rgbvalue, cbvaluemax, pcbvalue) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetStmtAttrW(hstmt: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32, pcbvalue: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetStmtAttrW ( hstmt : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetStmtAttrW ( hstmt : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 , pcbvalue : *mut i32 ) -> i16 ); SQLGetStmtAttrW(hstmt, fattribute, rgbvalue, cbvaluemax, pcbvalue) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetStmtOption(statementhandle: *mut ::core::ffi::c_void, option: u16, value: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetStmtOption ( statementhandle : *mut ::core::ffi::c_void , option : u16 , value : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetStmtOption ( statementhandle : *mut ::core::ffi::c_void , option : u16 , value : *mut ::core::ffi::c_void ) -> i16 ); SQLGetStmtOption(statementhandle, option, value) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetTypeInfo(statementhandle: *mut ::core::ffi::c_void, datatype: i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetTypeInfo ( statementhandle : *mut ::core::ffi::c_void , datatype : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetTypeInfo ( statementhandle : *mut ::core::ffi::c_void , datatype : i16 ) -> i16 ); SQLGetTypeInfo(statementhandle, datatype) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetTypeInfoA(statementhandle: *mut ::core::ffi::c_void, datatype: i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetTypeInfoA ( statementhandle : *mut ::core::ffi::c_void , datatype : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetTypeInfoA ( statementhandle : *mut ::core::ffi::c_void , datatype : i16 ) -> i16 ); SQLGetTypeInfoA(statementhandle, datatype) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLGetTypeInfoW(statementhandle: *mut ::core::ffi::c_void, datatype: i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLGetTypeInfoW ( statementhandle : *mut ::core::ffi::c_void , datatype : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLGetTypeInfoW ( statementhandle : *mut ::core::ffi::c_void , datatype : i16 ) -> i16 ); SQLGetTypeInfoW(statementhandle, datatype) } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`*"] @@ -1051,7 +1051,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn SQLInitEnumServers ( pwchservername : :: windows::core::PCWSTR , pwchinstancename : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn SQLInitEnumServers ( pwchservername : :: windows::core::PCWSTR , pwchinstancename : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); SQLInitEnumServers(pwchservername.into().abi(), pwchinstancename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1060,7 +1060,7 @@ pub unsafe fn SQLLinkedCatalogsA(param0: *mut ::core::ffi::c_void, param1: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn SQLLinkedCatalogsA ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn SQLLinkedCatalogsA ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : i16 ) -> i16 ); SQLLinkedCatalogsA(param0, param1.into().abi(), param2) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1069,93 +1069,93 @@ pub unsafe fn SQLLinkedCatalogsW(param0: *mut ::core::ffi::c_void, param1: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn SQLLinkedCatalogsW ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn SQLLinkedCatalogsW ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : i16 ) -> i16 ); SQLLinkedCatalogsW(param0, param1.into().abi(), param2) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLLinkedServers(param0: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn SQLLinkedServers ( param0 : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn SQLLinkedServers ( param0 : *mut ::core::ffi::c_void ) -> i16 ); SQLLinkedServers(param0) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLMoreResults(hstmt: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLMoreResults ( hstmt : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLMoreResults ( hstmt : *mut ::core::ffi::c_void ) -> i16 ); SQLMoreResults(hstmt) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLNativeSql(hdbc: *mut ::core::ffi::c_void, szsqlstrin: &[u8], szsqlstr: ::core::option::Option<&mut [u8]>, pcbsqlstr: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLNativeSql ( hdbc : *mut ::core::ffi::c_void , szsqlstrin : *const u8 , cchsqlstrin : i32 , szsqlstr : *mut u8 , cchsqlstrmax : i32 , pcbsqlstr : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLNativeSql ( hdbc : *mut ::core::ffi::c_void , szsqlstrin : *const u8 , cchsqlstrin : i32 , szsqlstr : *mut u8 , cchsqlstrmax : i32 , pcbsqlstr : *mut i32 ) -> i16 ); SQLNativeSql(hdbc, ::core::mem::transmute(szsqlstrin.as_ptr()), szsqlstrin.len() as _, ::core::mem::transmute(szsqlstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szsqlstr.as_deref().map_or(0, |slice| slice.len() as _), pcbsqlstr) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLNativeSqlA(hdbc: *mut ::core::ffi::c_void, szsqlstrin: &[u8], szsqlstr: ::core::option::Option<&mut [u8]>, pcbsqlstr: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLNativeSqlA ( hdbc : *mut ::core::ffi::c_void , szsqlstrin : *const u8 , cbsqlstrin : i32 , szsqlstr : *mut u8 , cbsqlstrmax : i32 , pcbsqlstr : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLNativeSqlA ( hdbc : *mut ::core::ffi::c_void , szsqlstrin : *const u8 , cbsqlstrin : i32 , szsqlstr : *mut u8 , cbsqlstrmax : i32 , pcbsqlstr : *mut i32 ) -> i16 ); SQLNativeSqlA(hdbc, ::core::mem::transmute(szsqlstrin.as_ptr()), szsqlstrin.len() as _, ::core::mem::transmute(szsqlstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szsqlstr.as_deref().map_or(0, |slice| slice.len() as _), pcbsqlstr) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLNativeSqlW(hdbc: *mut ::core::ffi::c_void, szsqlstrin: &[u16], szsqlstr: ::core::option::Option<&mut [u16]>, pcchsqlstr: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLNativeSqlW ( hdbc : *mut ::core::ffi::c_void , szsqlstrin : *const u16 , cchsqlstrin : i32 , szsqlstr : *mut u16 , cchsqlstrmax : i32 , pcchsqlstr : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLNativeSqlW ( hdbc : *mut ::core::ffi::c_void , szsqlstrin : *const u16 , cchsqlstrin : i32 , szsqlstr : *mut u16 , cchsqlstrmax : i32 , pcchsqlstr : *mut i32 ) -> i16 ); SQLNativeSqlW(hdbc, ::core::mem::transmute(szsqlstrin.as_ptr()), szsqlstrin.len() as _, ::core::mem::transmute(szsqlstr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), szsqlstr.as_deref().map_or(0, |slice| slice.len() as _), pcchsqlstr) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLNumParams(hstmt: *mut ::core::ffi::c_void, pcpar: ::core::option::Option<*mut i16>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLNumParams ( hstmt : *mut ::core::ffi::c_void , pcpar : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLNumParams ( hstmt : *mut ::core::ffi::c_void , pcpar : *mut i16 ) -> i16 ); SQLNumParams(hstmt, ::core::mem::transmute(pcpar.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLNumResultCols(statementhandle: *mut ::core::ffi::c_void, columncount: *mut i16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLNumResultCols ( statementhandle : *mut ::core::ffi::c_void , columncount : *mut i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLNumResultCols ( statementhandle : *mut ::core::ffi::c_void , columncount : *mut i16 ) -> i16 ); SQLNumResultCols(statementhandle, columncount) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLParamData(statementhandle: *mut ::core::ffi::c_void, value: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLParamData ( statementhandle : *mut ::core::ffi::c_void , value : *mut *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLParamData ( statementhandle : *mut ::core::ffi::c_void , value : *mut *mut ::core::ffi::c_void ) -> i16 ); SQLParamData(statementhandle, ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLParamOptions(hstmt: *mut ::core::ffi::c_void, crow: u64, pirow: *mut u64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLParamOptions ( hstmt : *mut ::core::ffi::c_void , crow : u64 , pirow : *mut u64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLParamOptions ( hstmt : *mut ::core::ffi::c_void , crow : u64 , pirow : *mut u64 ) -> i16 ); SQLParamOptions(hstmt, crow, pirow) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLParamOptions(hstmt: *mut ::core::ffi::c_void, crow: u32, pirow: *mut u32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLParamOptions ( hstmt : *mut ::core::ffi::c_void , crow : u32 , pirow : *mut u32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLParamOptions ( hstmt : *mut ::core::ffi::c_void , crow : u32 , pirow : *mut u32 ) -> i16 ); SQLParamOptions(hstmt, crow, pirow) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLPrepare(statementhandle: *mut ::core::ffi::c_void, statementtext: &[u8]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLPrepare ( statementhandle : *mut ::core::ffi::c_void , statementtext : *const u8 , textlength : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLPrepare ( statementhandle : *mut ::core::ffi::c_void , statementtext : *const u8 , textlength : i32 ) -> i16 ); SQLPrepare(statementhandle, ::core::mem::transmute(statementtext.as_ptr()), statementtext.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLPrepareA(hstmt: *mut ::core::ffi::c_void, szsqlstr: &[u8]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLPrepareA ( hstmt : *mut ::core::ffi::c_void , szsqlstr : *const u8 , cbsqlstr : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLPrepareA ( hstmt : *mut ::core::ffi::c_void , szsqlstr : *const u8 , cbsqlstr : i32 ) -> i16 ); SQLPrepareA(hstmt, ::core::mem::transmute(szsqlstr.as_ptr()), szsqlstr.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLPrepareW(hstmt: *mut ::core::ffi::c_void, szsqlstr: &[u16]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLPrepareW ( hstmt : *mut ::core::ffi::c_void , szsqlstr : *const u16 , cchsqlstr : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLPrepareW ( hstmt : *mut ::core::ffi::c_void , szsqlstr : *const u16 , cchsqlstr : i32 ) -> i16 ); SQLPrepareW(hstmt, ::core::mem::transmute(szsqlstr.as_ptr()), szsqlstr.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLPrimaryKeys(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLPrimaryKeys ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , sztablename : *const u8 , cchtablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLPrimaryKeys ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , sztablename : *const u8 , cchtablename : i16 ) -> i16 ); SQLPrimaryKeys( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1169,7 +1169,7 @@ pub unsafe fn SQLPrimaryKeys(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::c #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLPrimaryKeysA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLPrimaryKeysA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLPrimaryKeysA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 ) -> i16 ); SQLPrimaryKeysA( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1183,7 +1183,7 @@ pub unsafe fn SQLPrimaryKeysA(hstmt: *mut ::core::ffi::c_void, szcatalogname: :: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLPrimaryKeysW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, sztablename: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLPrimaryKeysW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLPrimaryKeysW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 ) -> i16 ); SQLPrimaryKeysW( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1197,7 +1197,7 @@ pub unsafe fn SQLPrimaryKeysW(hstmt: *mut ::core::ffi::c_void, szcatalogname: :: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLProcedureColumns(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, szprocname: ::core::option::Option<&[u8]>, szcolumnname: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLProcedureColumns ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , szprocname : *const u8 , cchprocname : i16 , szcolumnname : *const u8 , cchcolumnname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLProcedureColumns ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , szprocname : *const u8 , cchprocname : i16 , szcolumnname : *const u8 , cchcolumnname : i16 ) -> i16 ); SQLProcedureColumns( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1213,7 +1213,7 @@ pub unsafe fn SQLProcedureColumns(hstmt: *mut ::core::ffi::c_void, szcatalogname #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLProcedureColumnsA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, szprocname: ::core::option::Option<&[u8]>, szcolumnname: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLProcedureColumnsA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , szprocname : *const u8 , cbprocname : i16 , szcolumnname : *const u8 , cbcolumnname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLProcedureColumnsA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , szprocname : *const u8 , cbprocname : i16 , szcolumnname : *const u8 , cbcolumnname : i16 ) -> i16 ); SQLProcedureColumnsA( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1229,7 +1229,7 @@ pub unsafe fn SQLProcedureColumnsA(hstmt: *mut ::core::ffi::c_void, szcatalognam #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLProcedureColumnsW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, szprocname: ::core::option::Option<&[u16]>, szcolumnname: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLProcedureColumnsW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , szprocname : *const u16 , cchprocname : i16 , szcolumnname : *const u16 , cchcolumnname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLProcedureColumnsW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , szprocname : *const u16 , cchprocname : i16 , szcolumnname : *const u16 , cchcolumnname : i16 ) -> i16 ); SQLProcedureColumnsW( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1245,7 +1245,7 @@ pub unsafe fn SQLProcedureColumnsW(hstmt: *mut ::core::ffi::c_void, szcatalognam #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLProcedures(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, szprocname: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLProcedures ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , szprocname : *const u8 , cchprocname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLProcedures ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , szprocname : *const u8 , cchprocname : i16 ) -> i16 ); SQLProcedures( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1259,7 +1259,7 @@ pub unsafe fn SQLProcedures(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::co #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLProceduresA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, szprocname: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLProceduresA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , szprocname : *const u8 , cbprocname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLProceduresA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , szprocname : *const u8 , cbprocname : i16 ) -> i16 ); SQLProceduresA( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1273,7 +1273,7 @@ pub unsafe fn SQLProceduresA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::c #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLProceduresW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, szprocname: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLProceduresW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , szprocname : *const u16 , cchprocname : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLProceduresW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , szprocname : *const u16 , cchprocname : i16 ) -> i16 ); SQLProceduresW( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1288,212 +1288,212 @@ pub unsafe fn SQLProceduresW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::c #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLPutData(statementhandle: *mut ::core::ffi::c_void, data: *const ::core::ffi::c_void, strlen_or_ind: i64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLPutData ( statementhandle : *mut ::core::ffi::c_void , data : *const ::core::ffi::c_void , strlen_or_ind : i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLPutData ( statementhandle : *mut ::core::ffi::c_void , data : *const ::core::ffi::c_void , strlen_or_ind : i64 ) -> i16 ); SQLPutData(statementhandle, data, strlen_or_ind) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLPutData(statementhandle: *mut ::core::ffi::c_void, data: *const ::core::ffi::c_void, strlen_or_ind: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLPutData ( statementhandle : *mut ::core::ffi::c_void , data : *const ::core::ffi::c_void , strlen_or_ind : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLPutData ( statementhandle : *mut ::core::ffi::c_void , data : *const ::core::ffi::c_void , strlen_or_ind : i32 ) -> i16 ); SQLPutData(statementhandle, data, strlen_or_ind) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLRowCount(statementhandle: *const ::core::ffi::c_void, rowcount: *mut i64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLRowCount ( statementhandle : *const ::core::ffi::c_void , rowcount : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLRowCount ( statementhandle : *const ::core::ffi::c_void , rowcount : *mut i64 ) -> i16 ); SQLRowCount(statementhandle, rowcount) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLRowCount(statementhandle: *const ::core::ffi::c_void, rowcount: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLRowCount ( statementhandle : *const ::core::ffi::c_void , rowcount : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLRowCount ( statementhandle : *const ::core::ffi::c_void , rowcount : *mut i32 ) -> i16 ); SQLRowCount(statementhandle, rowcount) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetConnectAttr(connectionhandle: *mut ::core::ffi::c_void, attribute: i32, value: ::core::option::Option<*const ::core::ffi::c_void>, stringlength: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectAttr ( connectionhandle : *mut ::core::ffi::c_void , attribute : i32 , value : *const ::core::ffi::c_void , stringlength : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectAttr ( connectionhandle : *mut ::core::ffi::c_void , attribute : i32 , value : *const ::core::ffi::c_void , stringlength : i32 ) -> i16 ); SQLSetConnectAttr(connectionhandle, attribute, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), stringlength) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetConnectAttrA(hdbc: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: ::core::option::Option<*const ::core::ffi::c_void>, cbvalue: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectAttrA ( hdbc : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *const ::core::ffi::c_void , cbvalue : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectAttrA ( hdbc : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *const ::core::ffi::c_void , cbvalue : i32 ) -> i16 ); SQLSetConnectAttrA(hdbc, fattribute, ::core::mem::transmute(rgbvalue.unwrap_or(::std::ptr::null())), cbvalue) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetConnectAttrW(hdbc: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: ::core::option::Option<*const ::core::ffi::c_void>, cbvalue: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectAttrW ( hdbc : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *const ::core::ffi::c_void , cbvalue : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectAttrW ( hdbc : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *const ::core::ffi::c_void , cbvalue : i32 ) -> i16 ); SQLSetConnectAttrW(hdbc, fattribute, ::core::mem::transmute(rgbvalue.unwrap_or(::std::ptr::null())), cbvalue) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLSetConnectOption(connectionhandle: *mut ::core::ffi::c_void, option: u16, value: u64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectOption ( connectionhandle : *mut ::core::ffi::c_void , option : u16 , value : u64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectOption ( connectionhandle : *mut ::core::ffi::c_void , option : u16 , value : u64 ) -> i16 ); SQLSetConnectOption(connectionhandle, option, value) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLSetConnectOption(connectionhandle: *mut ::core::ffi::c_void, option: u16, value: u32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectOption ( connectionhandle : *mut ::core::ffi::c_void , option : u16 , value : u32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectOption ( connectionhandle : *mut ::core::ffi::c_void , option : u16 , value : u32 ) -> i16 ); SQLSetConnectOption(connectionhandle, option, value) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLSetConnectOptionA(hdbc: *mut ::core::ffi::c_void, foption: u16, vparam: u64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectOptionA ( hdbc : *mut ::core::ffi::c_void , foption : u16 , vparam : u64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectOptionA ( hdbc : *mut ::core::ffi::c_void , foption : u16 , vparam : u64 ) -> i16 ); SQLSetConnectOptionA(hdbc, foption, vparam) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLSetConnectOptionA(hdbc: *mut ::core::ffi::c_void, foption: u16, vparam: u32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectOptionA ( hdbc : *mut ::core::ffi::c_void , foption : u16 , vparam : u32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectOptionA ( hdbc : *mut ::core::ffi::c_void , foption : u16 , vparam : u32 ) -> i16 ); SQLSetConnectOptionA(hdbc, foption, vparam) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLSetConnectOptionW(hdbc: *mut ::core::ffi::c_void, foption: u16, vparam: u64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectOptionW ( hdbc : *mut ::core::ffi::c_void , foption : u16 , vparam : u64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectOptionW ( hdbc : *mut ::core::ffi::c_void , foption : u16 , vparam : u64 ) -> i16 ); SQLSetConnectOptionW(hdbc, foption, vparam) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLSetConnectOptionW(hdbc: *mut ::core::ffi::c_void, foption: u16, vparam: u32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetConnectOptionW ( hdbc : *mut ::core::ffi::c_void , foption : u16 , vparam : u32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetConnectOptionW ( hdbc : *mut ::core::ffi::c_void , foption : u16 , vparam : u32 ) -> i16 ); SQLSetConnectOptionW(hdbc, foption, vparam) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetCursorName(statementhandle: *mut ::core::ffi::c_void, cursorname: &[u8]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetCursorName ( statementhandle : *mut ::core::ffi::c_void , cursorname : *const u8 , namelength : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetCursorName ( statementhandle : *mut ::core::ffi::c_void , cursorname : *const u8 , namelength : i16 ) -> i16 ); SQLSetCursorName(statementhandle, ::core::mem::transmute(cursorname.as_ptr()), cursorname.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetCursorNameA(hstmt: *mut ::core::ffi::c_void, szcursor: &[u8]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetCursorNameA ( hstmt : *mut ::core::ffi::c_void , szcursor : *const u8 , cbcursor : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetCursorNameA ( hstmt : *mut ::core::ffi::c_void , szcursor : *const u8 , cbcursor : i16 ) -> i16 ); SQLSetCursorNameA(hstmt, ::core::mem::transmute(szcursor.as_ptr()), szcursor.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetCursorNameW(hstmt: *mut ::core::ffi::c_void, szcursor: &[u16]) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetCursorNameW ( hstmt : *mut ::core::ffi::c_void , szcursor : *const u16 , cchcursor : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetCursorNameW ( hstmt : *mut ::core::ffi::c_void , szcursor : *const u16 , cchcursor : i16 ) -> i16 ); SQLSetCursorNameW(hstmt, ::core::mem::transmute(szcursor.as_ptr()), szcursor.len() as _) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetDescField(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, fieldidentifier: i16, value: *const ::core::ffi::c_void, bufferlength: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetDescField ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , fieldidentifier : i16 , value : *const ::core::ffi::c_void , bufferlength : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetDescField ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , fieldidentifier : i16 , value : *const ::core::ffi::c_void , bufferlength : i32 ) -> i16 ); SQLSetDescField(descriptorhandle, recnumber, fieldidentifier, value, bufferlength) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetDescFieldW(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, fieldidentifier: i16, value: *mut ::core::ffi::c_void, bufferlength: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetDescFieldW ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , fieldidentifier : i16 , value : *mut ::core::ffi::c_void , bufferlength : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetDescFieldW ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , fieldidentifier : i16 , value : *mut ::core::ffi::c_void , bufferlength : i32 ) -> i16 ); SQLSetDescFieldW(descriptorhandle, recnumber, fieldidentifier, value, bufferlength) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLSetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, r#type: i16, subtype: i16, length: i64, precision: i16, scale: i16, data: ::core::option::Option<*mut ::core::ffi::c_void>, stringlength: ::core::option::Option<*mut i64>, indicator: ::core::option::Option<*mut i64>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetDescRec ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , r#type : i16 , subtype : i16 , length : i64 , precision : i16 , scale : i16 , data : *mut ::core::ffi::c_void , stringlength : *mut i64 , indicator : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetDescRec ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , r#type : i16 , subtype : i16 , length : i64 , precision : i16 , scale : i16 , data : *mut ::core::ffi::c_void , stringlength : *mut i64 , indicator : *mut i64 ) -> i16 ); SQLSetDescRec(descriptorhandle, recnumber, r#type, subtype, length, precision, scale, ::core::mem::transmute(data.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(indicator.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLSetDescRec(descriptorhandle: *mut ::core::ffi::c_void, recnumber: i16, r#type: i16, subtype: i16, length: i32, precision: i16, scale: i16, data: ::core::option::Option<*mut ::core::ffi::c_void>, stringlength: ::core::option::Option<*mut i32>, indicator: ::core::option::Option<*mut i32>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetDescRec ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , r#type : i16 , subtype : i16 , length : i32 , precision : i16 , scale : i16 , data : *mut ::core::ffi::c_void , stringlength : *mut i32 , indicator : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetDescRec ( descriptorhandle : *mut ::core::ffi::c_void , recnumber : i16 , r#type : i16 , subtype : i16 , length : i32 , precision : i16 , scale : i16 , data : *mut ::core::ffi::c_void , stringlength : *mut i32 , indicator : *mut i32 ) -> i16 ); SQLSetDescRec(descriptorhandle, recnumber, r#type, subtype, length, precision, scale, ::core::mem::transmute(data.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(stringlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(indicator.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetEnvAttr(environmenthandle: *mut ::core::ffi::c_void, attribute: i32, value: ::core::option::Option<*const ::core::ffi::c_void>, stringlength: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetEnvAttr ( environmenthandle : *mut ::core::ffi::c_void , attribute : i32 , value : *const ::core::ffi::c_void , stringlength : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetEnvAttr ( environmenthandle : *mut ::core::ffi::c_void , attribute : i32 , value : *const ::core::ffi::c_void , stringlength : i32 ) -> i16 ); SQLSetEnvAttr(environmenthandle, attribute, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), stringlength) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLSetParam(statementhandle: *mut ::core::ffi::c_void, parameternumber: u16, valuetype: i16, parametertype: i16, lengthprecision: u64, parameterscale: i16, parametervalue: *const ::core::ffi::c_void, strlen_or_ind: *mut i64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetParam ( statementhandle : *mut ::core::ffi::c_void , parameternumber : u16 , valuetype : i16 , parametertype : i16 , lengthprecision : u64 , parameterscale : i16 , parametervalue : *const ::core::ffi::c_void , strlen_or_ind : *mut i64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetParam ( statementhandle : *mut ::core::ffi::c_void , parameternumber : u16 , valuetype : i16 , parametertype : i16 , lengthprecision : u64 , parameterscale : i16 , parametervalue : *const ::core::ffi::c_void , strlen_or_ind : *mut i64 ) -> i16 ); SQLSetParam(statementhandle, parameternumber, valuetype, parametertype, lengthprecision, parameterscale, parametervalue, strlen_or_ind) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLSetParam(statementhandle: *mut ::core::ffi::c_void, parameternumber: u16, valuetype: i16, parametertype: i16, lengthprecision: u32, parameterscale: i16, parametervalue: *const ::core::ffi::c_void, strlen_or_ind: *mut i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetParam ( statementhandle : *mut ::core::ffi::c_void , parameternumber : u16 , valuetype : i16 , parametertype : i16 , lengthprecision : u32 , parameterscale : i16 , parametervalue : *const ::core::ffi::c_void , strlen_or_ind : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetParam ( statementhandle : *mut ::core::ffi::c_void , parameternumber : u16 , valuetype : i16 , parametertype : i16 , lengthprecision : u32 , parameterscale : i16 , parametervalue : *const ::core::ffi::c_void , strlen_or_ind : *mut i32 ) -> i16 ); SQLSetParam(statementhandle, parameternumber, valuetype, parametertype, lengthprecision, parameterscale, parametervalue, strlen_or_ind) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLSetPos(hstmt: *mut ::core::ffi::c_void, irow: u64, foption: u16, flock: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetPos ( hstmt : *mut ::core::ffi::c_void , irow : u64 , foption : u16 , flock : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetPos ( hstmt : *mut ::core::ffi::c_void , irow : u64 , foption : u16 , flock : u16 ) -> i16 ); SQLSetPos(hstmt, irow, foption, flock) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLSetPos(hstmt: *mut ::core::ffi::c_void, irow: u16, foption: u16, flock: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetPos ( hstmt : *mut ::core::ffi::c_void , irow : u16 , foption : u16 , flock : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetPos ( hstmt : *mut ::core::ffi::c_void , irow : u16 , foption : u16 , flock : u16 ) -> i16 ); SQLSetPos(hstmt, irow, foption, flock) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLSetScrollOptions(hstmt: *mut ::core::ffi::c_void, fconcurrency: u16, crowkeyset: i64, crowrowset: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetScrollOptions ( hstmt : *mut ::core::ffi::c_void , fconcurrency : u16 , crowkeyset : i64 , crowrowset : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetScrollOptions ( hstmt : *mut ::core::ffi::c_void , fconcurrency : u16 , crowkeyset : i64 , crowrowset : u16 ) -> i16 ); SQLSetScrollOptions(hstmt, fconcurrency, crowkeyset, crowrowset) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLSetScrollOptions(hstmt: *mut ::core::ffi::c_void, fconcurrency: u16, crowkeyset: i32, crowrowset: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetScrollOptions ( hstmt : *mut ::core::ffi::c_void , fconcurrency : u16 , crowkeyset : i32 , crowrowset : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetScrollOptions ( hstmt : *mut ::core::ffi::c_void , fconcurrency : u16 , crowkeyset : i32 , crowrowset : u16 ) -> i16 ); SQLSetScrollOptions(hstmt, fconcurrency, crowkeyset, crowrowset) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetStmtAttr(statementhandle: *mut ::core::ffi::c_void, attribute: i32, value: *const ::core::ffi::c_void, stringlength: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetStmtAttr ( statementhandle : *mut ::core::ffi::c_void , attribute : i32 , value : *const ::core::ffi::c_void , stringlength : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetStmtAttr ( statementhandle : *mut ::core::ffi::c_void , attribute : i32 , value : *const ::core::ffi::c_void , stringlength : i32 ) -> i16 ); SQLSetStmtAttr(statementhandle, attribute, value, stringlength) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSetStmtAttrW(hstmt: *mut ::core::ffi::c_void, fattribute: i32, rgbvalue: *mut ::core::ffi::c_void, cbvaluemax: i32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetStmtAttrW ( hstmt : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetStmtAttrW ( hstmt : *mut ::core::ffi::c_void , fattribute : i32 , rgbvalue : *mut ::core::ffi::c_void , cbvaluemax : i32 ) -> i16 ); SQLSetStmtAttrW(hstmt, fattribute, rgbvalue, cbvaluemax) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn SQLSetStmtOption(statementhandle: *mut ::core::ffi::c_void, option: u16, value: u64) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetStmtOption ( statementhandle : *mut ::core::ffi::c_void , option : u16 , value : u64 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetStmtOption ( statementhandle : *mut ::core::ffi::c_void , option : u16 , value : u64 ) -> i16 ); SQLSetStmtOption(statementhandle, option, value) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[cfg(target_arch = "x86")] #[inline] pub unsafe fn SQLSetStmtOption(statementhandle: *mut ::core::ffi::c_void, option: u16, value: u32) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSetStmtOption ( statementhandle : *mut ::core::ffi::c_void , option : u16 , value : u32 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSetStmtOption ( statementhandle : *mut ::core::ffi::c_void , option : u16 , value : u32 ) -> i16 ); SQLSetStmtOption(statementhandle, option, value) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSpecialColumns(statementhandle: *mut ::core::ffi::c_void, identifiertype: u16, catalogname: ::core::option::Option<&[u8]>, schemaname: ::core::option::Option<&[u8]>, tablename: ::core::option::Option<&[u8]>, scope: u16, nullable: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSpecialColumns ( statementhandle : *mut ::core::ffi::c_void , identifiertype : u16 , catalogname : *const u8 , namelength1 : i16 , schemaname : *const u8 , namelength2 : i16 , tablename : *const u8 , namelength3 : i16 , scope : u16 , nullable : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSpecialColumns ( statementhandle : *mut ::core::ffi::c_void , identifiertype : u16 , catalogname : *const u8 , namelength1 : i16 , schemaname : *const u8 , namelength2 : i16 , tablename : *const u8 , namelength3 : i16 , scope : u16 , nullable : u16 ) -> i16 ); SQLSpecialColumns( statementhandle, identifiertype, @@ -1510,7 +1510,7 @@ pub unsafe fn SQLSpecialColumns(statementhandle: *mut ::core::ffi::c_void, ident #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSpecialColumnsA(hstmt: *mut ::core::ffi::c_void, fcoltype: u16, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>, fscope: u16, fnullable: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSpecialColumnsA ( hstmt : *mut ::core::ffi::c_void , fcoltype : u16 , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , fscope : u16 , fnullable : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSpecialColumnsA ( hstmt : *mut ::core::ffi::c_void , fcoltype : u16 , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , fscope : u16 , fnullable : u16 ) -> i16 ); SQLSpecialColumnsA( hstmt, fcoltype, @@ -1527,7 +1527,7 @@ pub unsafe fn SQLSpecialColumnsA(hstmt: *mut ::core::ffi::c_void, fcoltype: u16, #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLSpecialColumnsW(hstmt: *mut ::core::ffi::c_void, fcoltype: u16, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, sztablename: ::core::option::Option<&[u16]>, fscope: u16, fnullable: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLSpecialColumnsW ( hstmt : *mut ::core::ffi::c_void , fcoltype : u16 , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , fscope : u16 , fnullable : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLSpecialColumnsW ( hstmt : *mut ::core::ffi::c_void , fcoltype : u16 , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , fscope : u16 , fnullable : u16 ) -> i16 ); SQLSpecialColumnsW( hstmt, fcoltype, @@ -1544,7 +1544,7 @@ pub unsafe fn SQLSpecialColumnsW(hstmt: *mut ::core::ffi::c_void, fcoltype: u16, #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLStatistics(statementhandle: *mut ::core::ffi::c_void, catalogname: ::core::option::Option<&[u8]>, schemaname: ::core::option::Option<&[u8]>, tablename: ::core::option::Option<&[u8]>, unique: u16, reserved: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLStatistics ( statementhandle : *mut ::core::ffi::c_void , catalogname : *const u8 , namelength1 : i16 , schemaname : *const u8 , namelength2 : i16 , tablename : *const u8 , namelength3 : i16 , unique : u16 , reserved : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLStatistics ( statementhandle : *mut ::core::ffi::c_void , catalogname : *const u8 , namelength1 : i16 , schemaname : *const u8 , namelength2 : i16 , tablename : *const u8 , namelength3 : i16 , unique : u16 , reserved : u16 ) -> i16 ); SQLStatistics( statementhandle, ::core::mem::transmute(catalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1560,7 +1560,7 @@ pub unsafe fn SQLStatistics(statementhandle: *mut ::core::ffi::c_void, catalogna #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLStatisticsA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>, funique: u16, faccuracy: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLStatisticsA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , funique : u16 , faccuracy : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLStatisticsA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , funique : u16 , faccuracy : u16 ) -> i16 ); SQLStatisticsA( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1576,7 +1576,7 @@ pub unsafe fn SQLStatisticsA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::c #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLStatisticsW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, sztablename: ::core::option::Option<&[u16]>, funique: u16, faccuracy: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLStatisticsW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , funique : u16 , faccuracy : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLStatisticsW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , funique : u16 , faccuracy : u16 ) -> i16 ); SQLStatisticsW( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1592,7 +1592,7 @@ pub unsafe fn SQLStatisticsW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::c #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLTablePrivileges(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLTablePrivileges ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , sztablename : *const u8 , cchtablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLTablePrivileges ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cchcatalogname : i16 , szschemaname : *const u8 , cchschemaname : i16 , sztablename : *const u8 , cchtablename : i16 ) -> i16 ); SQLTablePrivileges( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1606,7 +1606,7 @@ pub unsafe fn SQLTablePrivileges(hstmt: *mut ::core::ffi::c_void, szcatalogname: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLTablePrivilegesA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLTablePrivilegesA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLTablePrivilegesA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 ) -> i16 ); SQLTablePrivilegesA( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1620,7 +1620,7 @@ pub unsafe fn SQLTablePrivilegesA(hstmt: *mut ::core::ffi::c_void, szcatalogname #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLTablePrivilegesW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, sztablename: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLTablePrivilegesW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLTablePrivilegesW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 ) -> i16 ); SQLTablePrivilegesW( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1634,7 +1634,7 @@ pub unsafe fn SQLTablePrivilegesW(hstmt: *mut ::core::ffi::c_void, szcatalogname #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLTables(statementhandle: *mut ::core::ffi::c_void, catalogname: ::core::option::Option<&[u8]>, schemaname: ::core::option::Option<&[u8]>, tablename: ::core::option::Option<&[u8]>, tabletype: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLTables ( statementhandle : *mut ::core::ffi::c_void , catalogname : *const u8 , namelength1 : i16 , schemaname : *const u8 , namelength2 : i16 , tablename : *const u8 , namelength3 : i16 , tabletype : *const u8 , namelength4 : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLTables ( statementhandle : *mut ::core::ffi::c_void , catalogname : *const u8 , namelength1 : i16 , schemaname : *const u8 , namelength2 : i16 , tablename : *const u8 , namelength3 : i16 , tabletype : *const u8 , namelength4 : i16 ) -> i16 ); SQLTables( statementhandle, ::core::mem::transmute(catalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1650,7 +1650,7 @@ pub unsafe fn SQLTables(statementhandle: *mut ::core::ffi::c_void, catalogname: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLTablesA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u8]>, szschemaname: ::core::option::Option<&[u8]>, sztablename: ::core::option::Option<&[u8]>, sztabletype: ::core::option::Option<&[u8]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLTablesA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , sztabletype : *const u8 , cbtabletype : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLTablesA ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u8 , cbcatalogname : i16 , szschemaname : *const u8 , cbschemaname : i16 , sztablename : *const u8 , cbtablename : i16 , sztabletype : *const u8 , cbtabletype : i16 ) -> i16 ); SQLTablesA( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1666,7 +1666,7 @@ pub unsafe fn SQLTablesA(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLTablesW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core::option::Option<&[u16]>, szschemaname: ::core::option::Option<&[u16]>, sztablename: ::core::option::Option<&[u16]>, sztabletype: ::core::option::Option<&[u16]>) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLTablesW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , sztabletype : *const u16 , cchtabletype : i16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLTablesW ( hstmt : *mut ::core::ffi::c_void , szcatalogname : *const u16 , cchcatalogname : i16 , szschemaname : *const u16 , cchschemaname : i16 , sztablename : *const u16 , cchtablename : i16 , sztabletype : *const u16 , cchtabletype : i16 ) -> i16 ); SQLTablesW( hstmt, ::core::mem::transmute(szcatalogname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), @@ -1682,67 +1682,67 @@ pub unsafe fn SQLTablesW(hstmt: *mut ::core::ffi::c_void, szcatalogname: ::core: #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn SQLTransact(environmenthandle: *mut ::core::ffi::c_void, connectionhandle: *mut ::core::ffi::c_void, completiontype: u16) -> i16 { - ::windows::core::link ! ( "odbc32.dll""system" fn SQLTransact ( environmenthandle : *mut ::core::ffi::c_void , connectionhandle : *mut ::core::ffi::c_void , completiontype : u16 ) -> i16 ); + ::windows::imp::link ! ( "odbc32.dll""system" fn SQLTransact ( environmenthandle : *mut ::core::ffi::c_void , connectionhandle : *mut ::core::ffi::c_void , completiontype : u16 ) -> i16 ); SQLTransact(environmenthandle, connectionhandle, completiontype) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_batch(param0: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_batch ( param0 : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_batch ( param0 : *mut ::core::ffi::c_void ) -> i32 ); bcp_batch(param0) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_bind(param0: *mut ::core::ffi::c_void, param1: *mut u8, param2: i32, param3: i32, param4: *mut u8, param5: i32, param6: i32, param7: i32) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_bind ( param0 : *mut ::core::ffi::c_void , param1 : *mut u8 , param2 : i32 , param3 : i32 , param4 : *mut u8 , param5 : i32 , param6 : i32 , param7 : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_bind ( param0 : *mut ::core::ffi::c_void , param1 : *mut u8 , param2 : i32 , param3 : i32 , param4 : *mut u8 , param5 : i32 , param6 : i32 , param7 : i32 ) -> i16 ); bcp_bind(param0, param1, param2, param3, param4, param5, param6, param7) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_colfmt(param0: *mut ::core::ffi::c_void, param1: i32, param2: u8, param3: i32, param4: i32, param5: *mut u8, param6: i32, param7: i32) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_colfmt ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : u8 , param3 : i32 , param4 : i32 , param5 : *mut u8 , param6 : i32 , param7 : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_colfmt ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : u8 , param3 : i32 , param4 : i32 , param5 : *mut u8 , param6 : i32 , param7 : i32 ) -> i16 ); bcp_colfmt(param0, param1, param2, param3, param4, param5, param6, param7) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_collen(param0: *mut ::core::ffi::c_void, param1: i32, param2: i32) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_collen ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_collen ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : i32 ) -> i16 ); bcp_collen(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_colptr(param0: *mut ::core::ffi::c_void, param1: *mut u8, param2: i32) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_colptr ( param0 : *mut ::core::ffi::c_void , param1 : *mut u8 , param2 : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_colptr ( param0 : *mut ::core::ffi::c_void , param1 : *mut u8 , param2 : i32 ) -> i16 ); bcp_colptr(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_columns(param0: *mut ::core::ffi::c_void, param1: i32) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_columns ( param0 : *mut ::core::ffi::c_void , param1 : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_columns ( param0 : *mut ::core::ffi::c_void , param1 : i32 ) -> i16 ); bcp_columns(param0, param1) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_control(param0: *mut ::core::ffi::c_void, param1: i32, param2: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_control ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_control ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : *mut ::core::ffi::c_void ) -> i16 ); bcp_control(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_done(param0: *mut ::core::ffi::c_void) -> i32 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_done ( param0 : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_done ( param0 : *mut ::core::ffi::c_void ) -> i32 ); bcp_done(param0) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_exec(param0: *mut ::core::ffi::c_void, param1: *mut i32) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_exec ( param0 : *mut ::core::ffi::c_void , param1 : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_exec ( param0 : *mut ::core::ffi::c_void , param1 : *mut i32 ) -> i16 ); bcp_exec(param0, param1) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_getcolfmt(param0: *mut ::core::ffi::c_void, param1: i32, param2: i32, param3: *mut ::core::ffi::c_void, param4: i32, param5: *mut i32) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_getcolfmt ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : i32 , param3 : *mut ::core::ffi::c_void , param4 : i32 , param5 : *mut i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_getcolfmt ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : i32 , param3 : *mut ::core::ffi::c_void , param4 : i32 , param5 : *mut i32 ) -> i16 ); bcp_getcolfmt(param0, param1, param2, param3, param4, param5) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1753,7 +1753,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_initA ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PCSTR , param3 : :: windows::core::PCSTR , param4 : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_initA ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCSTR , param2 : :: windows::core::PCSTR , param3 : :: windows::core::PCSTR , param4 : i32 ) -> i16 ); bcp_initA(param0, param1.into().abi(), param2.into().abi(), param3.into().abi(), param4) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1764,13 +1764,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_initW ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PCWSTR , param3 : :: windows::core::PCWSTR , param4 : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_initW ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCWSTR , param2 : :: windows::core::PCWSTR , param3 : :: windows::core::PCWSTR , param4 : i32 ) -> i16 ); bcp_initW(param0, param1.into().abi(), param2.into().abi(), param3.into().abi(), param4) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_moretext(param0: *mut ::core::ffi::c_void, param1: i32, param2: *mut u8) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_moretext ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : *mut u8 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_moretext ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : *mut u8 ) -> i16 ); bcp_moretext(param0, param1, param2) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1779,7 +1779,7 @@ pub unsafe fn bcp_readfmtA(param0: *mut ::core::ffi::c_void, param1: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_readfmtA ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCSTR ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_readfmtA ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCSTR ) -> i16 ); bcp_readfmtA(param0, param1.into().abi()) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1788,19 +1788,19 @@ pub unsafe fn bcp_readfmtW(param0: *mut ::core::ffi::c_void, param1: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_readfmtW ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCWSTR ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_readfmtW ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCWSTR ) -> i16 ); bcp_readfmtW(param0, param1.into().abi()) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_sendrow(param0: *mut ::core::ffi::c_void) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_sendrow ( param0 : *mut ::core::ffi::c_void ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_sendrow ( param0 : *mut ::core::ffi::c_void ) -> i16 ); bcp_sendrow(param0) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn bcp_setcolfmt(param0: *mut ::core::ffi::c_void, param1: i32, param2: i32, param3: *mut ::core::ffi::c_void, param4: i32) -> i16 { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_setcolfmt ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : i32 , param3 : *mut ::core::ffi::c_void , param4 : i32 ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_setcolfmt ( param0 : *mut ::core::ffi::c_void , param1 : i32 , param2 : i32 , param3 : *mut ::core::ffi::c_void , param4 : i32 ) -> i16 ); bcp_setcolfmt(param0, param1, param2, param3, param4) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1809,7 +1809,7 @@ pub unsafe fn bcp_writefmtA(param0: *mut ::core::ffi::c_void, param1: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_writefmtA ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCSTR ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_writefmtA ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCSTR ) -> i16 ); bcp_writefmtA(param0, param1.into().abi()) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1818,19 +1818,19 @@ pub unsafe fn bcp_writefmtW(param0: *mut ::core::ffi::c_void, param1: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "odbcbcp.dll""system" fn bcp_writefmtW ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCWSTR ) -> i16 ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn bcp_writefmtW ( param0 : *mut ::core::ffi::c_void , param1 : :: windows::core::PCWSTR ) -> i16 ); bcp_writefmtW(param0, param1.into().abi()) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn dbprtypeA(param0: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "odbcbcp.dll""system" fn dbprtypeA ( param0 : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn dbprtypeA ( param0 : i32 ) -> :: windows::core::PSTR ); dbprtypeA(param0) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[inline] pub unsafe fn dbprtypeW(param0: i32) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "odbcbcp.dll""system" fn dbprtypeW ( param0 : i32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "odbcbcp.dll""system" fn dbprtypeW ( param0 : i32 ) -> :: windows::core::PWSTR ); dbprtypeW(param0) } #[doc = "*Required features: `\"Win32_System_Search\"`*"] @@ -1862,7 +1862,7 @@ impl DataSource { (::windows::core::Vtable::vtable(self).removeDataSourceListener)(::windows::core::Vtable::as_raw(self), pdsl.into().abi()).ok() } } -::windows::core::interface_hierarchy!(DataSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(DataSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for DataSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1909,7 +1909,7 @@ impl DataSourceListener { (::windows::core::Vtable::vtable(self).dataMemberRemoved)(::windows::core::Vtable::as_raw(self), bstrdm).ok() } } -::windows::core::interface_hierarchy!(DataSourceListener, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(DataSourceListener, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for DataSourceListener { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1947,7 +1947,7 @@ pub struct DataSourceObject(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DataSourceObject {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DataSourceObject, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(DataSourceObject, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DataSourceObject { fn eq(&self, other: &Self) -> bool { @@ -2012,7 +2012,7 @@ impl IAccessor { (::windows::core::Vtable::vtable(self).ReleaseAccessor)(::windows::core::Vtable::as_raw(self), haccessor.into(), ::core::mem::transmute(pcrefcount.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IAccessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2060,7 +2060,7 @@ impl IAlterIndex { (::windows::core::Vtable::vtable(self).AlterIndex)(::windows::core::Vtable::as_raw(self), ptableid, pindexid, pnewindexid, cpropertysets, rgpropertysets).ok() } } -::windows::core::interface_hierarchy!(IAlterIndex, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAlterIndex, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAlterIndex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2107,7 +2107,7 @@ impl IAlterTable { (::windows::core::Vtable::vtable(self).AlterTable)(::windows::core::Vtable::as_raw(self), ptableid, pnewtableid, cpropertysets, rgpropertysets).ok() } } -::windows::core::interface_hierarchy!(IAlterTable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAlterTable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAlterTable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2158,7 +2158,7 @@ impl IBindResource { (::windows::core::Vtable::vtable(self).Bind)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), pwszurl.into().abi(), dwbindurlflags, rguid, riid, pauthenticate.into().abi(), ::core::mem::transmute(pimplsession.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwbindstatus.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppunk)).ok() } } -::windows::core::interface_hierarchy!(IBindResource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBindResource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBindResource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2201,7 +2201,7 @@ impl IChapteredRowset { (::windows::core::Vtable::vtable(self).ReleaseChapter)(::windows::core::Vtable::as_raw(self), hchapter, ::core::mem::transmute(pcrefcount.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IChapteredRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IChapteredRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IChapteredRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2257,7 +2257,7 @@ impl IColumnMapper { (::windows::core::Vtable::vtable(self).IsMapUpToDate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IColumnMapper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IColumnMapper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IColumnMapper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2311,7 +2311,7 @@ impl IColumnMapperCreator { (::windows::core::Vtable::vtable(self).GetColumnMapper)(::windows::core::Vtable::as_raw(self), wcsmachinename.into().abi(), wcscatalogname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IColumnMapperCreator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IColumnMapperCreator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IColumnMapperCreator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2355,7 +2355,7 @@ impl IColumnsInfo { (::windows::core::Vtable::vtable(self).MapColumnIDs)(::windows::core::Vtable::as_raw(self), ccolumnids, ::core::mem::transmute(rgcolumnids.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgcolumns.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IColumnsInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IColumnsInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IColumnsInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2411,7 +2411,7 @@ impl IColumnsInfo2 { (::windows::core::Vtable::vtable(self).GetRestrictedColumnInfo)(::windows::core::Vtable::as_raw(self), rgcolumnidmasks.len() as _, ::core::mem::transmute(rgcolumnidmasks.as_ptr()), dwflags, pccolumns, prgcolumnids, prgcolumninfo, ::core::mem::transmute(ppstringsbuffer.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IColumnsInfo2, ::windows::core::IUnknown, IColumnsInfo); +::windows::imp::interface_hierarchy!(IColumnsInfo2, ::windows::core::IUnknown, IColumnsInfo); impl ::core::cmp::PartialEq for IColumnsInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2461,7 +2461,7 @@ impl IColumnsRowset { (::windows::core::Vtable::vtable(self).GetColumnsRowset)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), rgoptcolumns.len() as _, ::core::mem::transmute(rgoptcolumns.as_ptr()), riid, rgpropertysets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpropertysets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ppcolrowset)).ok() } } -::windows::core::interface_hierarchy!(IColumnsRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IColumnsRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IColumnsRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2515,7 +2515,7 @@ impl ICommand { (::windows::core::Vtable::vtable(self).GetDBSession)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2587,7 +2587,7 @@ impl ICommandCost { (::windows::core::Vtable::vtable(self).SetCostLimits)(::windows::core::Vtable::as_raw(self), pwszrowsetname.into().abi(), ccostlimits, prgcostlimits, dwexecutionflags).ok() } } -::windows::core::interface_hierarchy!(ICommandCost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommandCost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommandCost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2646,7 +2646,7 @@ impl ICommandPersist { (::windows::core::Vtable::vtable(self).SaveCommand)(::windows::core::Vtable::as_raw(self), pcommandid, dwflags).ok() } } -::windows::core::interface_hierarchy!(ICommandPersist, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommandPersist, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommandPersist { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2701,7 +2701,7 @@ impl ICommandPrepare { (::windows::core::Vtable::vtable(self).Unprepare)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICommandPrepare, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommandPrepare, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommandPrepare { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2746,7 +2746,7 @@ impl ICommandProperties { (::windows::core::Vtable::vtable(self).SetProperties)(::windows::core::Vtable::as_raw(self), rgpropertysets.len() as _, ::core::mem::transmute(rgpropertysets.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ICommandProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommandProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommandProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2796,7 +2796,7 @@ impl ICommandStream { (::windows::core::Vtable::vtable(self).SetCommandStream)(::windows::core::Vtable::as_raw(self), riid, rguiddialect, pcommandstream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICommandStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommandStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommandStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2853,7 +2853,7 @@ impl ICommandText { (::windows::core::Vtable::vtable(self).SetCommandText)(::windows::core::Vtable::as_raw(self), rguiddialect, pwszcommand.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICommandText, ::windows::core::IUnknown, ICommand); +::windows::imp::interface_hierarchy!(ICommandText, ::windows::core::IUnknown, ICommand); impl ::core::cmp::PartialEq for ICommandText { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2894,7 +2894,7 @@ impl ICommandValidate { (::windows::core::Vtable::vtable(self).ValidateSyntax)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICommandValidate, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommandValidate, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommandValidate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2940,7 +2940,7 @@ impl ICommandWithParameters { (::windows::core::Vtable::vtable(self).SetParameterInfo)(::windows::core::Vtable::as_raw(self), cparams, ::core::mem::transmute(rgparamordinals.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgparambindinfo.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(ICommandWithParameters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommandWithParameters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommandWithParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3051,7 +3051,7 @@ impl ICondition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICondition, ::windows::core::IUnknown, super::Com::IPersist, super::Com::IPersistStream); +::windows::imp::interface_hierarchy!(ICondition, ::windows::core::IUnknown, super::Com::IPersist, super::Com::IPersistStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICondition { fn eq(&self, other: &Self) -> bool { @@ -3188,7 +3188,7 @@ impl ICondition2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICondition2, ::windows::core::IUnknown, super::Com::IPersist, super::Com::IPersistStream, ICondition); +::windows::imp::interface_hierarchy!(ICondition2, ::windows::core::IUnknown, super::Com::IPersist, super::Com::IPersistStream, ICondition); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICondition2 { fn eq(&self, other: &Self) -> bool { @@ -3276,7 +3276,7 @@ impl IConditionFactory { (::windows::core::Vtable::vtable(self).Resolve)(::windows::core::Vtable::as_raw(self), pc.into().abi(), sqro, ::core::mem::transmute(pstreferencetime.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConditionFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConditionFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConditionFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3461,7 +3461,7 @@ impl IConditionFactory2 { (::windows::core::Vtable::vtable(self).ResolveCondition)(::windows::core::Vtable::as_raw(self), pc.into().abi(), sqro, ::core::mem::transmute(pstreferencetime.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IConditionFactory2, ::windows::core::IUnknown, IConditionFactory); +::windows::imp::interface_hierarchy!(IConditionFactory2, ::windows::core::IUnknown, IConditionFactory); impl ::core::cmp::PartialEq for IConditionFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3569,7 +3569,7 @@ impl IConditionGenerator { (::windows::core::Vtable::vtable(self).DefaultPhrase)(::windows::core::Vtable::as_raw(self), pszvaluetype.into().abi(), ppropvar, fuseenglish.into(), ::core::mem::transmute(ppszphrase.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IConditionGenerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConditionGenerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConditionGenerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3615,7 +3615,7 @@ impl IConvertType { (::windows::core::Vtable::vtable(self).CanConvert)(::windows::core::Vtable::as_raw(self), wfromtype, wtotype, dwconvertflags).ok() } } -::windows::core::interface_hierarchy!(IConvertType, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConvertType, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConvertType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3659,7 +3659,7 @@ impl ICreateRow { (::windows::core::Vtable::vtable(self).CreateRow)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), pwszurl.into().abi(), dwbindurlflags, rguid, riid, pauthenticate.into().abi(), ::core::mem::transmute(pimplsession.unwrap_or(::std::ptr::null_mut())), pdwbindstatus, ::core::mem::transmute(ppwsznewurl.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppunk)).ok() } } -::windows::core::interface_hierarchy!(ICreateRow, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateRow, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateRow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3711,7 +3711,7 @@ impl IDBAsynchNotify { (::windows::core::Vtable::vtable(self).OnStop)(::windows::core::Vtable::as_raw(self), hchapter, eoperation, hrstatus, pwszstatustext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDBAsynchNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBAsynchNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBAsynchNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3753,7 +3753,7 @@ impl IDBAsynchStatus { (::windows::core::Vtable::vtable(self).GetStatus)(::windows::core::Vtable::as_raw(self), hchapter, eoperation, ::core::mem::transmute(pulprogress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pulprogressmax.unwrap_or(::std::ptr::null_mut())), peasynchphase, ::core::mem::transmute(ppwszstatustext.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IDBAsynchStatus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBAsynchStatus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBAsynchStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3806,7 +3806,7 @@ impl IDBBinderProperties { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDBBinderProperties, ::windows::core::IUnknown, IDBProperties); +::windows::imp::interface_hierarchy!(IDBBinderProperties, ::windows::core::IUnknown, IDBProperties); impl ::core::cmp::PartialEq for IDBBinderProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3847,7 +3847,7 @@ impl IDBCreateCommand { (::windows::core::Vtable::vtable(self).CreateCommand)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDBCreateCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBCreateCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBCreateCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3888,7 +3888,7 @@ impl IDBCreateSession { (::windows::core::Vtable::vtable(self).CreateSession)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDBCreateSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBCreateSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBCreateSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3943,7 +3943,7 @@ impl IDBDataSourceAdmin { (::windows::core::Vtable::vtable(self).ModifyDataSource)(::windows::core::Vtable::as_raw(self), rgpropertysets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpropertysets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } } -::windows::core::interface_hierarchy!(IDBDataSourceAdmin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBDataSourceAdmin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBDataSourceAdmin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3998,7 +3998,7 @@ impl IDBInfo { (::windows::core::Vtable::vtable(self).GetLiteralInfo)(::windows::core::Vtable::as_raw(self), rgliterals.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgliterals.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pcliteralinfo, prgliteralinfo, ppcharbuffer).ok() } } -::windows::core::interface_hierarchy!(IDBInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4042,7 +4042,7 @@ impl IDBInitialize { (::windows::core::Vtable::vtable(self).Uninitialize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IDBInitialize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBInitialize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBInitialize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4098,7 +4098,7 @@ impl IDBPromptInitialize { (::windows::core::Vtable::vtable(self).PromptFileName)(::windows::core::Vtable::as_raw(self), hwndparent.into(), dwpromptoptions, pwszinitialdirectory.into().abi(), pwszinitialfile.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDBPromptInitialize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBPromptInitialize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBPromptInitialize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4154,7 +4154,7 @@ impl IDBProperties { (::windows::core::Vtable::vtable(self).SetProperties)(::windows::core::Vtable::as_raw(self), rgpropertysets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpropertysets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } } -::windows::core::interface_hierarchy!(IDBProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4209,7 +4209,7 @@ impl IDBSchemaCommand { (::windows::core::Vtable::vtable(self).GetSchemas)(::windows::core::Vtable::as_raw(self), pcschemas, prgschemas).ok() } } -::windows::core::interface_hierarchy!(IDBSchemaCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBSchemaCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBSchemaCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4255,7 +4255,7 @@ impl IDBSchemaRowset { (::windows::core::Vtable::vtable(self).GetSchemas)(::windows::core::Vtable::as_raw(self), pcschemas, prgschemas, prgrestrictionsupport).ok() } } -::windows::core::interface_hierarchy!(IDBSchemaRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDBSchemaRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDBSchemaRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4303,7 +4303,7 @@ impl IDCInfo { (::windows::core::Vtable::vtable(self).SetInfo)(::windows::core::Vtable::as_raw(self), rginfo.len() as _, ::core::mem::transmute(rginfo.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IDCInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDCInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDCInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4353,7 +4353,7 @@ impl IDataConvert { (::windows::core::Vtable::vtable(self).GetConversionSize)(::windows::core::Vtable::as_raw(self), wsrctype, wdsttype, ::core::mem::transmute(pcbsrclength.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pcbdstlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(psrc.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IDataConvert, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataConvert, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataConvert { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4434,7 +4434,7 @@ impl IDataInitialize { (::windows::core::Vtable::vtable(self).WriteStringToStorage)(::windows::core::Vtable::as_raw(self), pwszfilename.into().abi(), pwszinitializationstring.into().abi(), dwcreationdisposition).ok() } } -::windows::core::interface_hierarchy!(IDataInitialize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataInitialize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataInitialize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4504,7 +4504,7 @@ impl IDataSourceLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDataSourceLocator, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDataSourceLocator, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDataSourceLocator { fn eq(&self, other: &Self) -> bool { @@ -4605,7 +4605,7 @@ impl IEntity { (::windows::core::Vtable::vtable(self).DefaultPhrase)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppszphrase.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IEntity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEntity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEntity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4665,7 +4665,7 @@ impl IEnumItemProperties { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumItemProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumItemProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumItemProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4719,7 +4719,7 @@ impl IEnumSearchRoots { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSearchRoots, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSearchRoots, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSearchRoots { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4769,7 +4769,7 @@ impl IEnumSearchScopeRules { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSearchScopeRules, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSearchScopeRules, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSearchScopeRules { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4823,7 +4823,7 @@ impl IEnumSubscription { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSubscription, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSubscription, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSubscription { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4872,7 +4872,7 @@ impl IErrorLookup { (::windows::core::Vtable::vtable(self).ReleaseErrors)(::windows::core::Vtable::as_raw(self), dwdynamicerrorid).ok() } } -::windows::core::interface_hierarchy!(IErrorLookup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IErrorLookup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IErrorLookup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4942,7 +4942,7 @@ impl IErrorRecords { (::windows::core::Vtable::vtable(self).GetRecordCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IErrorRecords, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IErrorRecords, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IErrorRecords { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4994,7 +4994,7 @@ impl IGetDataSource { (::windows::core::Vtable::vtable(self).GetDataSource)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGetDataSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetDataSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetDataSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5039,7 +5039,7 @@ impl IGetRow { (::windows::core::Vtable::vtable(self).GetURLFromHROW)(::windows::core::Vtable::as_raw(self), hrow, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGetRow, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetRow, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetRow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5078,7 +5078,7 @@ impl IGetSession { (::windows::core::Vtable::vtable(self).GetSession)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGetSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5116,7 +5116,7 @@ impl IGetSourceRow { (::windows::core::Vtable::vtable(self).GetSourceRow)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGetSourceRow, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetSourceRow, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetSourceRow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5160,7 +5160,7 @@ impl IIndexDefinition { (::windows::core::Vtable::vtable(self).DropIndex)(::windows::core::Vtable::as_raw(self), ptableid, ::core::mem::transmute(pindexid.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IIndexDefinition, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIndexDefinition, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIndexDefinition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5206,7 +5206,7 @@ impl IInterval { (::windows::core::Vtable::vtable(self).GetLimits)(::windows::core::Vtable::as_raw(self), pilklower, ppropvarlower, pilkupper, ppropvarupper).ok() } } -::windows::core::interface_hierarchy!(IInterval, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInterval, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInterval { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5274,7 +5274,7 @@ impl ILoadFilter { (::windows::core::Vtable::vtable(self).LoadIFilterFromStream)(::windows::core::Vtable::as_raw(self), pstm.into().abi(), pfilteredsources, punkouter.into().abi(), fusedefault.into(), pfilterclsid, searchdecsize, pwcssearchdesc, ::core::mem::transmute(ppifilt)).ok() } } -::windows::core::interface_hierarchy!(ILoadFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILoadFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILoadFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5358,7 +5358,7 @@ impl ILoadFilterWithPrivateComActivation { (::windows::core::Vtable::vtable(self).LoadIFilterWithPrivateComActivation)(::windows::core::Vtable::as_raw(self), filteredsources, usedefault.into(), filterclsid, isfilterprivatecomactivated, ::core::mem::transmute(filterobj)).ok() } } -::windows::core::interface_hierarchy!(ILoadFilterWithPrivateComActivation, ::windows::core::IUnknown, ILoadFilter); +::windows::imp::interface_hierarchy!(ILoadFilterWithPrivateComActivation, ::windows::core::IUnknown, ILoadFilter); impl ::core::cmp::PartialEq for ILoadFilterWithPrivateComActivation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5419,7 +5419,7 @@ impl IMDDataset { (::windows::core::Vtable::vtable(self).GetSpecification)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMDDataset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDDataset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDDataset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5466,7 +5466,7 @@ impl IMDFind { (::windows::core::Vtable::vtable(self).FindTuple)(::windows::core::Vtable::as_raw(self), ulaxisidentifier, ulstartingordinal, cmembers, rgpwszmember, pultupleordinal).ok() } } -::windows::core::interface_hierarchy!(IMDFind, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDFind, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDFind { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5509,7 +5509,7 @@ impl IMDRangeRowset { (::windows::core::Vtable::vtable(self).GetRangeRowset)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), ulstartcell, ulendcell, riid, cpropertysets, rgpropertysets, ::core::mem::transmute(pprowset)).ok() } } -::windows::core::interface_hierarchy!(IMDRangeRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMDRangeRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMDRangeRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5549,7 +5549,7 @@ impl IMetaData { (::windows::core::Vtable::vtable(self).GetData)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppszkey.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppszvalue.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMetaData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMetaData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMetaData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5589,7 +5589,7 @@ impl IMultipleResults { (::windows::core::Vtable::vtable(self).GetResult)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), lresultflag, riid, ::core::mem::transmute(pcrowsaffected.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pprowset.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IMultipleResults, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMultipleResults, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMultipleResults { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5630,7 +5630,7 @@ impl INamedEntity { (::windows::core::Vtable::vtable(self).DefaultPhrase)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppszphrase.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(INamedEntity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INamedEntity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INamedEntity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5672,7 +5672,7 @@ impl INamedEntityCollector { (::windows::core::Vtable::vtable(self).Add)(::windows::core::Vtable::as_raw(self), beginspan, endspan, beginactual, endactual, ptype.into().abi(), pszvalue.into().abi(), certainty).ok() } } -::windows::core::interface_hierarchy!(INamedEntityCollector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INamedEntityCollector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INamedEntityCollector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5731,7 +5731,7 @@ impl IObjectAccessControl { (::windows::core::Vtable::vtable(self).SetObjectOwner)(::windows::core::Vtable::as_raw(self), pobject, powner).ok() } } -::windows::core::interface_hierarchy!(IObjectAccessControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectAccessControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectAccessControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5802,7 +5802,7 @@ impl IOpLockStatus { (::windows::core::Vtable::vtable(self).GetOplockEventHandle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpLockStatus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpLockStatus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpLockStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5855,7 +5855,7 @@ impl IOpenRowset { (::windows::core::Vtable::vtable(self).OpenRowset)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(ptableid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pindexid.unwrap_or(::std::ptr::null())), riid, rgpropertysets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpropertysets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pprowset.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IOpenRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpenRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpenRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5899,7 +5899,7 @@ impl IParentRowset { (::windows::core::Vtable::vtable(self).GetChildRowset)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), iordinal, riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IParentRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IParentRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IParentRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5942,7 +5942,7 @@ impl IProtocolHandlerSite { (::windows::core::Vtable::vtable(self).GetFilter)(::windows::core::Vtable::as_raw(self), pclsidobj, pcwszcontenttype.into().abi(), pcwszextension.into().abi(), ::core::mem::transmute(ppfilter)).ok() } } -::windows::core::interface_hierarchy!(IProtocolHandlerSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProtocolHandlerSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProtocolHandlerSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5985,7 +5985,7 @@ impl IProvideMoniker { (::windows::core::Vtable::vtable(self).GetMoniker)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProvideMoniker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProvideMoniker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProvideMoniker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6082,7 +6082,7 @@ impl IQueryParser { (::windows::core::Vtable::vtable(self).RestatePropertyValueToString)(::windows::core::Vtable::as_raw(self), pcondition.into().abi(), fuseenglish.into(), ppszpropertyname, ppszquerystring).ok() } } -::windows::core::interface_hierarchy!(IQueryParser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryParser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryParser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6164,7 +6164,7 @@ impl IQueryParserManager { (::windows::core::Vtable::vtable(self).SetOption)(::windows::core::Vtable::as_raw(self), option, poptionvalue).ok() } } -::windows::core::interface_hierarchy!(IQueryParserManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryParserManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryParserManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6264,7 +6264,7 @@ impl IQuerySolution { (::windows::core::Vtable::vtable(self).GetLexicalData)(::windows::core::Vtable::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() } } -::windows::core::interface_hierarchy!(IQuerySolution, ::windows::core::IUnknown, IConditionFactory); +::windows::imp::interface_hierarchy!(IQuerySolution, ::windows::core::IUnknown, IConditionFactory); impl ::core::cmp::PartialEq for IQuerySolution { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6312,7 +6312,7 @@ impl IReadData { (::windows::core::Vtable::vtable(self).ReleaseChapter)(::windows::core::Vtable::as_raw(self), hchapter).ok() } } -::windows::core::interface_hierarchy!(IReadData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IReadData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IReadData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6366,7 +6366,7 @@ impl IRegisterProvider { (::windows::core::Vtable::vtable(self).UnregisterProvider)(::windows::core::Vtable::as_raw(self), pwszurl.into().abi(), dwreserved, ::core::mem::transmute(rclsidprovider.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IRegisterProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRegisterProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRegisterProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6425,7 +6425,7 @@ impl IRelationship { (::windows::core::Vtable::vtable(self).DefaultPhrase)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppszphrase.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IRelationship, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRelationship, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRelationship { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6471,7 +6471,7 @@ impl IRichChunk { (::windows::core::Vtable::vtable(self).GetData)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pfirstpos.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsz.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IRichChunk, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRichChunk, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRichChunk { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6524,7 +6524,7 @@ impl IRow { (::windows::core::Vtable::vtable(self).Open)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), pcolumnid, rguidcolumntype, dwbindflags, riid, ::core::mem::transmute(ppunk.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IRow, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRow, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6571,7 +6571,7 @@ impl IRowChange { (::windows::core::Vtable::vtable(self).SetColumns)(::windows::core::Vtable::as_raw(self), rgcolumns.len() as _, ::core::mem::transmute(rgcolumns.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IRowChange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowChange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6627,7 +6627,7 @@ impl IRowPosition { (::windows::core::Vtable::vtable(self).SetRowPosition)(::windows::core::Vtable::as_raw(self), hchapter, hrow, dwpositionflags).ok() } } -::windows::core::interface_hierarchy!(IRowPosition, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowPosition, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowPosition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6673,7 +6673,7 @@ impl IRowPositionChange { (::windows::core::Vtable::vtable(self).OnRowPositionChange)(::windows::core::Vtable::as_raw(self), ereason, ephase, fcantdeny.into()).ok() } } -::windows::core::interface_hierarchy!(IRowPositionChange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowPositionChange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowPositionChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6725,7 +6725,7 @@ impl IRowSchemaChange { (::windows::core::Vtable::vtable(self).AddColumns)(::windows::core::Vtable::as_raw(self), ccolumns, rgnewcolumninfo, rgcolumns).ok() } } -::windows::core::interface_hierarchy!(IRowSchemaChange, ::windows::core::IUnknown, IRowChange); +::windows::imp::interface_hierarchy!(IRowSchemaChange, ::windows::core::IUnknown, IRowChange); impl ::core::cmp::PartialEq for IRowSchemaChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6784,7 +6784,7 @@ impl IRowset { (::windows::core::Vtable::vtable(self).RestartPosition)(::windows::core::Vtable::as_raw(self), hreserved).ok() } } -::windows::core::interface_hierarchy!(IRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6830,7 +6830,7 @@ impl IRowsetAsynch { (::windows::core::Vtable::vtable(self).Stop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRowsetAsynch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetAsynch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetAsynch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6871,7 +6871,7 @@ impl IRowsetBookmark { (::windows::core::Vtable::vtable(self).PositionOnBookmark)(::windows::core::Vtable::as_raw(self), hchapter, pbookmark.len() as _, ::core::mem::transmute(pbookmark.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IRowsetBookmark, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetBookmark, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetBookmark { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6920,7 +6920,7 @@ impl IRowsetChange { (::windows::core::Vtable::vtable(self).InsertRow)(::windows::core::Vtable::as_raw(self), hreserved, haccessor.into(), pdata, phrow).ok() } } -::windows::core::interface_hierarchy!(IRowsetChange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetChange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6962,7 +6962,7 @@ impl IRowsetChangeExtInfo { (::windows::core::Vtable::vtable(self).GetPendingColumns)(::windows::core::Vtable::as_raw(self), hreserved, hrow, ccolumnordinals, rgiordinals, rgcolumnstatus).ok() } } -::windows::core::interface_hierarchy!(IRowsetChangeExtInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetChangeExtInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetChangeExtInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7000,7 +7000,7 @@ impl IRowsetChapterMember { (::windows::core::Vtable::vtable(self).IsRowInChapter)(::windows::core::Vtable::as_raw(self), hchapter, hrow).ok() } } -::windows::core::interface_hierarchy!(IRowsetChapterMember, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetChapterMember, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetChapterMember { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7049,7 +7049,7 @@ impl IRowsetCopyRows { (::windows::core::Vtable::vtable(self).DefineSource)(::windows::core::Vtable::as_raw(self), prowsetsource.into().abi(), ccolids, rgsourcecolumns, rgtargetcolumns, phsourceid).ok() } } -::windows::core::interface_hierarchy!(IRowsetCopyRows, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetCopyRows, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetCopyRows { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7113,7 +7113,7 @@ impl IRowsetCurrentIndex { (::windows::core::Vtable::vtable(self).SetIndex)(::windows::core::Vtable::as_raw(self), pindexid).ok() } } -::windows::core::interface_hierarchy!(IRowsetCurrentIndex, ::windows::core::IUnknown, IRowsetIndex); +::windows::imp::interface_hierarchy!(IRowsetCurrentIndex, ::windows::core::IUnknown, IRowsetIndex); impl ::core::cmp::PartialEq for IRowsetCurrentIndex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7174,7 +7174,7 @@ impl IRowsetEvents { (::windows::core::Vtable::vtable(self).OnRowsetEvent)(::windows::core::Vtable::as_raw(self), eventtype, eventdata).ok() } } -::windows::core::interface_hierarchy!(IRowsetEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7237,7 +7237,7 @@ impl IRowsetFastLoad { (::windows::core::Vtable::vtable(self).Commit)(::windows::core::Vtable::as_raw(self), fdone.into()).ok() } } -::windows::core::interface_hierarchy!(IRowsetFastLoad, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetFastLoad, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetFastLoad { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7281,7 +7281,7 @@ impl IRowsetFind { (::windows::core::Vtable::vtable(self).FindNextRow)(::windows::core::Vtable::as_raw(self), hchapter, haccessor.into(), pfindvalue, compareop, cbbookmark, pbookmark, lrowsoffset, crows, pcrowsobtained, prghrows).ok() } } -::windows::core::interface_hierarchy!(IRowsetFind, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetFind, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetFind { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7318,7 +7318,7 @@ impl IRowsetIdentity { (::windows::core::Vtable::vtable(self).IsSameRow)(::windows::core::Vtable::as_raw(self), hthisrow, hthatrow).ok() } } -::windows::core::interface_hierarchy!(IRowsetIdentity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetIdentity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetIdentity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7369,7 +7369,7 @@ impl IRowsetIndex { (::windows::core::Vtable::vtable(self).SetRange)(::windows::core::Vtable::as_raw(self), haccessor.into(), cstartkeycolumns, pstartdata, cendkeycolumns, penddata, dwrangeoptions).ok() } } -::windows::core::interface_hierarchy!(IRowsetIndex, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetIndex, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetIndex { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7421,7 +7421,7 @@ impl IRowsetInfo { (::windows::core::Vtable::vtable(self).GetSpecification)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRowsetInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7463,7 +7463,7 @@ impl IRowsetKeys { (::windows::core::Vtable::vtable(self).ListKeys)(::windows::core::Vtable::as_raw(self), pccolumns, prgcolumns).ok() } } -::windows::core::interface_hierarchy!(IRowsetKeys, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetKeys, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetKeys { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7527,7 +7527,7 @@ impl IRowsetLocate { (::windows::core::Vtable::vtable(self).Hash)(::windows::core::Vtable::as_raw(self), hreserved, cbookmarks, rgcbbookmarks, rgpbookmarks, rghashedvalues, rgbookmarkstatus).ok() } } -::windows::core::interface_hierarchy!(IRowsetLocate, ::windows::core::IUnknown, IRowset); +::windows::imp::interface_hierarchy!(IRowsetLocate, ::windows::core::IUnknown, IRowset); impl ::core::cmp::PartialEq for IRowsetLocate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7570,7 +7570,7 @@ impl IRowsetNewRowAfter { (::windows::core::Vtable::vtable(self).SetNewDataAfter)(::windows::core::Vtable::as_raw(self), hchapter, cbbmprevious, pbmprevious, haccessor.into(), pdata, phrow).ok() } } -::windows::core::interface_hierarchy!(IRowsetNewRowAfter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetNewRowAfter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetNewRowAfter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7611,7 +7611,7 @@ impl IRowsetNextRowset { (::windows::core::Vtable::vtable(self).GetNextRowset)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRowsetNextRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetNextRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetNextRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7672,7 +7672,7 @@ impl IRowsetNotify { (::windows::core::Vtable::vtable(self).OnRowsetChange)(::windows::core::Vtable::as_raw(self), prowset.into().abi(), ereason, ephase, fcantdeny.into()).ok() } } -::windows::core::interface_hierarchy!(IRowsetNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7726,7 +7726,7 @@ impl IRowsetPrioritization { (::windows::core::Vtable::vtable(self).GetScopeStatistics)(::windows::core::Vtable::as_raw(self), indexeddocumentcount, oustandingaddcount, oustandingmodifycount).ok() } } -::windows::core::interface_hierarchy!(IRowsetPrioritization, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetPrioritization, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetPrioritization { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7768,7 +7768,7 @@ impl IRowsetQueryStatus { (::windows::core::Vtable::vtable(self).GetStatusEx)(::windows::core::Vtable::as_raw(self), pdwstatus, pcfiltereddocuments, pcdocumentstofilter, pdwratiofinisheddenominator, pdwratiofinishednumerator, cbbmk, pbmk, pirowbmk, pcrowstotal).ok() } } -::windows::core::interface_hierarchy!(IRowsetQueryStatus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetQueryStatus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetQueryStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7817,7 +7817,7 @@ impl IRowsetRefresh { (::windows::core::Vtable::vtable(self).GetLastVisibleData)(::windows::core::Vtable::as_raw(self), hrow, haccessor.into(), pdata).ok() } } -::windows::core::interface_hierarchy!(IRowsetRefresh, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetRefresh, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetRefresh { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7864,7 +7864,7 @@ impl IRowsetResynch { (::windows::core::Vtable::vtable(self).ResynchRows)(::windows::core::Vtable::as_raw(self), crows, rghrows, pcrowsresynched, prghrowsresynched, prgrowstatus).ok() } } -::windows::core::interface_hierarchy!(IRowsetResynch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetResynch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetResynch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7935,7 +7935,7 @@ impl IRowsetScroll { (::windows::core::Vtable::vtable(self).GetRowsAtRatio)(::windows::core::Vtable::as_raw(self), hreserved1, hreserved2, ulnumerator, uldenominator, crows, pcrowsobtained, prghrows).ok() } } -::windows::core::interface_hierarchy!(IRowsetScroll, ::windows::core::IUnknown, IRowset, IRowsetLocate); +::windows::imp::interface_hierarchy!(IRowsetScroll, ::windows::core::IUnknown, IRowset, IRowsetLocate); impl ::core::cmp::PartialEq for IRowsetScroll { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8003,7 +8003,7 @@ impl IRowsetUpdate { (::windows::core::Vtable::vtable(self).Update)(::windows::core::Vtable::as_raw(self), hreserved, crows, rghrows, pcrows, prgrows, prgrowstatus).ok() } } -::windows::core::interface_hierarchy!(IRowsetUpdate, ::windows::core::IUnknown, IRowsetChange); +::windows::imp::interface_hierarchy!(IRowsetUpdate, ::windows::core::IUnknown, IRowsetChange); impl ::core::cmp::PartialEq for IRowsetUpdate { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8051,7 +8051,7 @@ impl IRowsetView { (::windows::core::Vtable::vtable(self).GetView)(::windows::core::Vtable::as_raw(self), hchapter, riid, phchaptersource, ::core::mem::transmute(ppview)).ok() } } -::windows::core::interface_hierarchy!(IRowsetView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8095,7 +8095,7 @@ impl IRowsetWatchAll { (::windows::core::Vtable::vtable(self).StopWatching)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRowsetWatchAll, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetWatchAll, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetWatchAll { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8137,7 +8137,7 @@ impl IRowsetWatchNotify { (::windows::core::Vtable::vtable(self).OnChange)(::windows::core::Vtable::as_raw(self), prowset.into().abi(), echangereason).ok() } } -::windows::core::interface_hierarchy!(IRowsetWatchNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetWatchNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetWatchNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8198,7 +8198,7 @@ impl IRowsetWatchRegion { (::windows::core::Vtable::vtable(self).ShrinkWatchRegion)(::windows::core::Vtable::as_raw(self), hregion, hchapter, cbbookmark, pbookmark, crows).ok() } } -::windows::core::interface_hierarchy!(IRowsetWatchRegion, ::windows::core::IUnknown, IRowsetWatchAll); +::windows::imp::interface_hierarchy!(IRowsetWatchRegion, ::windows::core::IUnknown, IRowsetWatchAll); impl ::core::cmp::PartialEq for IRowsetWatchRegion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8245,7 +8245,7 @@ impl IRowsetWithParameters { (::windows::core::Vtable::vtable(self).Requery)(::windows::core::Vtable::as_raw(self), pparams, pulerrorparam, phreserved).ok() } } -::windows::core::interface_hierarchy!(IRowsetWithParameters, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRowsetWithParameters, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRowsetWithParameters { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8286,7 +8286,7 @@ impl ISQLErrorInfo { (::windows::core::Vtable::vtable(self).GetSQLInfo)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pbstrsqlstate), plnativeerror).ok() } } -::windows::core::interface_hierarchy!(ISQLErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISQLErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISQLErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8325,7 +8325,7 @@ impl ISQLGetDiagField { (::windows::core::Vtable::vtable(self).GetDiagField)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdiaginfo.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(ISQLGetDiagField, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISQLGetDiagField, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISQLGetDiagField { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8367,7 +8367,7 @@ impl ISQLRequestDiagFields { (::windows::core::Vtable::vtable(self).RequestDiagFields)(::windows::core::Vtable::as_raw(self), rgdiagfields.len() as _, ::core::mem::transmute(rgdiagfields.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ISQLRequestDiagFields, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISQLRequestDiagFields, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISQLRequestDiagFields { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8407,7 +8407,7 @@ impl ISQLServerErrorInfo { (::windows::core::Vtable::vtable(self).GetErrorInfo)(::windows::core::Vtable::as_raw(self), pperrorinfo, ppstringsbuffer).ok() } } -::windows::core::interface_hierarchy!(ISQLServerErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISQLServerErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISQLServerErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8448,7 +8448,7 @@ impl ISchemaLocalizerSupport { (::windows::core::Vtable::vtable(self).Localize)(::windows::core::Vtable::as_raw(self), pszglobalstring.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISchemaLocalizerSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISchemaLocalizerSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISchemaLocalizerSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8495,7 +8495,7 @@ impl ISchemaLock { (::windows::core::Vtable::vtable(self).ReleaseSchemaLock)(::windows::core::Vtable::as_raw(self), hlockhandle.into()).ok() } } -::windows::core::interface_hierarchy!(ISchemaLock, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISchemaLock, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISchemaLock { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8581,7 +8581,7 @@ impl ISchemaProvider { (::windows::core::Vtable::vtable(self).LookupAuthoredNamedEntity)(::windows::core::Vtable::as_raw(self), pentity.into().abi(), pszinputstring.into().abi(), ptokencollection.into().abi(), ctokensbegin, pctokenslength, ppszvalue).ok() } } -::windows::core::interface_hierarchy!(ISchemaProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISchemaProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISchemaProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8658,7 +8658,7 @@ impl IScopedOperations { (::windows::core::Vtable::vtable(self).OpenRowset)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), ::core::mem::transmute(ptableid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pindexid.unwrap_or(::std::ptr::null())), riid, rgpropertysets.len() as _, ::core::mem::transmute(rgpropertysets.as_ptr()), ::core::mem::transmute(pprowset.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IScopedOperations, ::windows::core::IUnknown, IBindResource); +::windows::imp::interface_hierarchy!(IScopedOperations, ::windows::core::IUnknown, IBindResource); impl ::core::cmp::PartialEq for IScopedOperations { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8836,7 +8836,7 @@ impl ISearchCatalogManager { (::windows::core::Vtable::vtable(self).GetCrawlScopeManager)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchCatalogManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchCatalogManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchCatalogManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9051,7 +9051,7 @@ impl ISearchCatalogManager2 { (::windows::core::Vtable::vtable(self).PrioritizeMatchingURLs)(::windows::core::Vtable::as_raw(self), pszpattern.into().abi(), dwprioritizeflags).ok() } } -::windows::core::interface_hierarchy!(ISearchCatalogManager2, ::windows::core::IUnknown, ISearchCatalogManager); +::windows::imp::interface_hierarchy!(ISearchCatalogManager2, ::windows::core::IUnknown, ISearchCatalogManager); impl ::core::cmp::PartialEq for ISearchCatalogManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9195,7 +9195,7 @@ impl ISearchCrawlScopeManager { (::windows::core::Vtable::vtable(self).RemoveDefaultScopeRule)(::windows::core::Vtable::as_raw(self), pszurl.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISearchCrawlScopeManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchCrawlScopeManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchCrawlScopeManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9380,7 +9380,7 @@ impl ISearchCrawlScopeManager2 { (::windows::core::Vtable::vtable(self).GetVersion)(::windows::core::Vtable::as_raw(self), plversion, phfilemapping).ok() } } -::windows::core::interface_hierarchy!(ISearchCrawlScopeManager2, ::windows::core::IUnknown, ISearchCrawlScopeManager); +::windows::imp::interface_hierarchy!(ISearchCrawlScopeManager2, ::windows::core::IUnknown, ISearchCrawlScopeManager); impl ::core::cmp::PartialEq for ISearchCrawlScopeManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9434,7 +9434,7 @@ impl ISearchItemsChangedSink { (::windows::core::Vtable::vtable(self).OnItemsChanged)(::windows::core::Vtable::as_raw(self), dwnumberofchanges, rgdatachangeentries, rgdwdocids, rghrcompletioncodes).ok() } } -::windows::core::interface_hierarchy!(ISearchItemsChangedSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchItemsChangedSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchItemsChangedSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9497,7 +9497,7 @@ impl ISearchLanguageSupport { (::windows::core::Vtable::vtable(self).IsPrefixNormalized)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwcsquerytoken.as_ptr()), pwcsquerytoken.len() as _, ::core::mem::transmute(pwcsdocumenttoken.as_ptr()), pwcsdocumenttoken.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchLanguageSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchLanguageSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchLanguageSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9614,7 +9614,7 @@ impl ISearchManager { (::windows::core::Vtable::vtable(self).PortNumber)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9758,7 +9758,7 @@ impl ISearchManager2 { (::windows::core::Vtable::vtable(self).DeleteCatalog)(::windows::core::Vtable::as_raw(self), pszcatalog.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISearchManager2, ::windows::core::IUnknown, ISearchManager); +::windows::imp::interface_hierarchy!(ISearchManager2, ::windows::core::IUnknown, ISearchManager); impl ::core::cmp::PartialEq for ISearchManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9799,7 +9799,7 @@ impl ISearchNotifyInlineSite { (::windows::core::Vtable::vtable(self).OnCatalogStatusChange)(::windows::core::Vtable::as_raw(self), guidcatalogresetsignature, guidcheckpointsignature, dwlastcheckpointnumber).ok() } } -::windows::core::interface_hierarchy!(ISearchNotifyInlineSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchNotifyInlineSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchNotifyInlineSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9849,7 +9849,7 @@ impl ISearchPersistentItemsChangedSink { (::windows::core::Vtable::vtable(self).OnItemsChanged)(::windows::core::Vtable::as_raw(self), dwnumberofchanges, datachangeentries, hrcompletioncodes).ok() } } -::windows::core::interface_hierarchy!(ISearchPersistentItemsChangedSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchPersistentItemsChangedSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchPersistentItemsChangedSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9910,7 +9910,7 @@ impl ISearchProtocol { (::windows::core::Vtable::vtable(self).ShutDown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISearchProtocol, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchProtocol, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchProtocol { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9986,7 +9986,7 @@ impl ISearchProtocol2 { (::windows::core::Vtable::vtable(self).CreateAccessorEx)(::windows::core::Vtable::as_raw(self), pcwszurl.into().abi(), pauthenticationinfo, pincrementalaccessinfo, piteminfo, puserdata, ::core::mem::transmute(ppaccessor)).ok() } } -::windows::core::interface_hierarchy!(ISearchProtocol2, ::windows::core::IUnknown, ISearchProtocol); +::windows::imp::interface_hierarchy!(ISearchProtocol2, ::windows::core::IUnknown, ISearchProtocol); impl ::core::cmp::PartialEq for ISearchProtocol2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10032,7 +10032,7 @@ impl ISearchProtocolThreadContext { (::windows::core::Vtable::vtable(self).ThreadIdle)(::windows::core::Vtable::as_raw(self), dwtimeelaspedsincelastcallinms).ok() } } -::windows::core::interface_hierarchy!(ISearchProtocolThreadContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchProtocolThreadContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchProtocolThreadContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10159,7 +10159,7 @@ impl ISearchQueryHelper { (::windows::core::Vtable::vtable(self).QueryMaxResults)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchQueryHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchQueryHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchQueryHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10234,7 +10234,7 @@ impl ISearchQueryHits { (::windows::core::Vtable::vtable(self).NextHitOffset)(::windows::core::Vtable::as_raw(self), pcregion, paregion) } } -::windows::core::interface_hierarchy!(ISearchQueryHits, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchQueryHits, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchQueryHits { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10396,7 +10396,7 @@ impl ISearchRoot { (::windows::core::Vtable::vtable(self).Password)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchRoot, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchRoot, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchRoot { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10495,7 +10495,7 @@ impl ISearchScopeRule { (::windows::core::Vtable::vtable(self).FollowFlags)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchScopeRule, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchScopeRule, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchScopeRule { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10543,7 +10543,7 @@ impl ISearchViewChangedSink { (::windows::core::Vtable::vtable(self).OnChange)(::windows::core::Vtable::as_raw(self), pdwdocid, pchange, pfinview).ok() } } -::windows::core::interface_hierarchy!(ISearchViewChangedSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchViewChangedSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchViewChangedSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10591,7 +10591,7 @@ impl ISecurityInfo { (::windows::core::Vtable::vtable(self).GetPermissions)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(objecttype), ppermissions).ok() } } -::windows::core::interface_hierarchy!(ISecurityInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISecurityInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISecurityInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10636,7 +10636,7 @@ impl IService { (::windows::core::Vtable::vtable(self).InvokeService)(::windows::core::Vtable::as_raw(self), punkinner.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10680,7 +10680,7 @@ impl ISessionProperties { (::windows::core::Vtable::vtable(self).SetProperties)(::windows::core::Vtable::as_raw(self), rgpropertysets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpropertysets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() } } -::windows::core::interface_hierarchy!(ISessionProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISessionProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISessionProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10740,7 +10740,7 @@ impl ISimpleCommandCreator { (::windows::core::Vtable::vtable(self).GetDefaultCatalog)(::windows::core::Vtable::as_raw(self), pwszcatalogname.into().abi(), cwcin, pcwcout).ok() } } -::windows::core::interface_hierarchy!(ISimpleCommandCreator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISimpleCommandCreator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISimpleCommandCreator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10784,7 +10784,7 @@ impl ISourcesRowset { (::windows::core::Vtable::vtable(self).GetSourcesRowset)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), riid, rgproperties.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgproperties.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ppsourcesrowset)).ok() } } -::windows::core::interface_hierarchy!(ISourcesRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISourcesRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISourcesRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10836,7 +10836,7 @@ impl IStemmer { (::windows::core::Vtable::vtable(self).GetLicenseToUse)(::windows::core::Vtable::as_raw(self), ppwcslicense).ok() } } -::windows::core::interface_hierarchy!(IStemmer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStemmer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStemmer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10902,7 +10902,7 @@ impl ISubscriptionItem { (::windows::core::Vtable::vtable(self).NotifyChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISubscriptionItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISubscriptionItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISubscriptionItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11007,7 +11007,7 @@ impl ISubscriptionMgr { (::windows::core::Vtable::vtable(self).CreateSubscription)(::windows::core::Vtable::as_raw(self), hwnd.into(), pwszurl.into().abi(), pwszfriendlyname.into().abi(), dwflags, substype, pinfo).ok() } } -::windows::core::interface_hierarchy!(ISubscriptionMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISubscriptionMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISubscriptionMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11152,7 +11152,7 @@ impl ISubscriptionMgr2 { (::windows::core::Vtable::vtable(self).AbortAll)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISubscriptionMgr2, ::windows::core::IUnknown, ISubscriptionMgr); +::windows::imp::interface_hierarchy!(ISubscriptionMgr2, ::windows::core::IUnknown, ISubscriptionMgr); impl ::core::cmp::PartialEq for ISubscriptionMgr2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11243,7 +11243,7 @@ impl ITableCreation { .ok() } } -::windows::core::interface_hierarchy!(ITableCreation, ::windows::core::IUnknown, ITableDefinition); +::windows::imp::interface_hierarchy!(ITableCreation, ::windows::core::IUnknown, ITableDefinition); impl ::core::cmp::PartialEq for ITableCreation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11315,7 +11315,7 @@ impl ITableDefinition { (::windows::core::Vtable::vtable(self).DropColumn)(::windows::core::Vtable::as_raw(self), ptableid, pcolumnid).ok() } } -::windows::core::interface_hierarchy!(ITableDefinition, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITableDefinition, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITableDefinition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11433,7 +11433,7 @@ impl ITableDefinitionWithConstraints { (::windows::core::Vtable::vtable(self).DropConstraint)(::windows::core::Vtable::as_raw(self), ptableid, pconstraintid).ok() } } -::windows::core::interface_hierarchy!(ITableDefinitionWithConstraints, ::windows::core::IUnknown, ITableDefinition, ITableCreation); +::windows::imp::interface_hierarchy!(ITableDefinitionWithConstraints, ::windows::core::IUnknown, ITableDefinition, ITableCreation); impl ::core::cmp::PartialEq for ITableDefinitionWithConstraints { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11488,7 +11488,7 @@ impl ITableRename { (::windows::core::Vtable::vtable(self).RenameTable)(::windows::core::Vtable::as_raw(self), poldtableid, poldindexid, pnewtableid, pnewindexid).ok() } } -::windows::core::interface_hierarchy!(ITableRename, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITableRename, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITableRename { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11535,7 +11535,7 @@ impl ITokenCollection { (::windows::core::Vtable::vtable(self).GetToken)(::windows::core::Vtable::as_raw(self), i, ::core::mem::transmute(pbegin.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsz.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(ITokenCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITokenCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITokenCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11585,7 +11585,7 @@ impl ITransactionJoin { (::windows::core::Vtable::vtable(self).JoinTransaction)(::windows::core::Vtable::as_raw(self), punktransactioncoord.into().abi(), isolevel, isoflags, potheroptions.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITransactionJoin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionJoin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionJoin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11665,7 +11665,7 @@ impl ITransactionLocal { } } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -::windows::core::interface_hierarchy!(ITransactionLocal, ::windows::core::IUnknown, super::DistributedTransactionCoordinator::ITransaction); +::windows::imp::interface_hierarchy!(ITransactionLocal, ::windows::core::IUnknown, super::DistributedTransactionCoordinator::ITransaction); #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] impl ::core::cmp::PartialEq for ITransactionLocal { fn eq(&self, other: &Self) -> bool { @@ -11719,7 +11719,7 @@ impl ITransactionObject { (::windows::core::Vtable::vtable(self).GetTransactionObject)(::windows::core::Vtable::as_raw(self), ultransactionlevel, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransactionObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransactionObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransactionObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11781,7 +11781,7 @@ impl ITrusteeAdmin { (::windows::core::Vtable::vtable(self).GetTrusteeProperties)(::windows::core::Vtable::as_raw(self), ptrustee, cpropertyidsets, rgpropertyidsets, pcpropertysets, prgpropertysets).ok() } } -::windows::core::interface_hierarchy!(ITrusteeAdmin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITrusteeAdmin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITrusteeAdmin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11859,7 +11859,7 @@ impl ITrusteeGroupAdmin { (::windows::core::Vtable::vtable(self).GetMemberships)(::windows::core::Vtable::as_raw(self), ptrustee, pcmemberships, prgmemberships).ok() } } -::windows::core::interface_hierarchy!(ITrusteeGroupAdmin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITrusteeGroupAdmin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITrusteeGroupAdmin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11968,7 +11968,7 @@ impl IUMSInitialize { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pums).ok() } } -::windows::core::interface_hierarchy!(IUMSInitialize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUMSInitialize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUMSInitialize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12055,7 +12055,7 @@ impl IUrlAccessor { (::windows::core::Vtable::vtable(self).BindToFilter)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUrlAccessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUrlAccessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUrlAccessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12175,7 +12175,7 @@ impl IUrlAccessor2 { (::windows::core::Vtable::vtable(self).GetCodePage)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(wszcodepage), dwsize, pdwlength).ok() } } -::windows::core::interface_hierarchy!(IUrlAccessor2, ::windows::core::IUnknown, IUrlAccessor); +::windows::imp::interface_hierarchy!(IUrlAccessor2, ::windows::core::IUnknown, IUrlAccessor); impl ::core::cmp::PartialEq for IUrlAccessor2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12281,7 +12281,7 @@ impl IUrlAccessor3 { (::windows::core::Vtable::vtable(self).GetImpersonationSidBlobs)(::windows::core::Vtable::as_raw(self), pcwszurl.into().abi(), pcsidcount, ppsidblobs).ok() } } -::windows::core::interface_hierarchy!(IUrlAccessor3, ::windows::core::IUnknown, IUrlAccessor, IUrlAccessor2); +::windows::imp::interface_hierarchy!(IUrlAccessor3, ::windows::core::IUnknown, IUrlAccessor, IUrlAccessor2); impl ::core::cmp::PartialEq for IUrlAccessor3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12400,7 +12400,7 @@ impl IUrlAccessor4 { (::windows::core::Vtable::vtable(self).ShouldIndexProperty)(::windows::core::Vtable::as_raw(self), key, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUrlAccessor4, ::windows::core::IUnknown, IUrlAccessor, IUrlAccessor2, IUrlAccessor3); +::windows::imp::interface_hierarchy!(IUrlAccessor4, ::windows::core::IUnknown, IUrlAccessor, IUrlAccessor2, IUrlAccessor3); impl ::core::cmp::PartialEq for IUrlAccessor4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12448,7 +12448,7 @@ impl IViewChapter { (::windows::core::Vtable::vtable(self).OpenViewChapter)(::windows::core::Vtable::as_raw(self), hsource, ::core::mem::transmute(phviewchapter.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IViewChapter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IViewChapter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IViewChapter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12500,7 +12500,7 @@ impl IViewFilter { (::windows::core::Vtable::vtable(self).SetFilter)(::windows::core::Vtable::as_raw(self), haccessor.into(), compareops.len() as _, ::core::mem::transmute(compareops.as_ptr()), pcriteriadata).ok() } } -::windows::core::interface_hierarchy!(IViewFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IViewFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IViewFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12550,7 +12550,7 @@ impl IViewRowset { (::windows::core::Vtable::vtable(self).OpenViewRowset)(::windows::core::Vtable::as_raw(self), punkouter.into().abi(), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IViewRowset, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IViewRowset, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IViewRowset { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12591,7 +12591,7 @@ impl IViewSort { (::windows::core::Vtable::vtable(self).SetSortOrder)(::windows::core::Vtable::as_raw(self), cvalues, rgcolumns, rgorders).ok() } } -::windows::core::interface_hierarchy!(IViewSort, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IViewSort, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IViewSort { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12654,7 +12654,7 @@ impl IWordBreaker { (::windows::core::Vtable::vtable(self).GetLicenseToUse)(::windows::core::Vtable::as_raw(self), ppwcslicense).ok() } } -::windows::core::interface_hierarchy!(IWordBreaker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWordBreaker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWordBreaker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12709,7 +12709,7 @@ impl IWordFormSink { (::windows::core::Vtable::vtable(self).PutWord)(::windows::core::Vtable::as_raw(self), pwcinbuf.into().abi(), cwc).ok() } } -::windows::core::interface_hierarchy!(IWordFormSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWordFormSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWordFormSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12767,7 +12767,7 @@ impl IWordSink { (::windows::core::Vtable::vtable(self).PutBreak)(::windows::core::Vtable::as_raw(self), breaktype).ok() } } -::windows::core::interface_hierarchy!(IWordSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWordSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWordSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12874,7 +12874,7 @@ impl OLEDBSimpleProvider { (::windows::core::Vtable::vtable(self).stopTransfer)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(OLEDBSimpleProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(OLEDBSimpleProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for OLEDBSimpleProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12957,7 +12957,7 @@ impl OLEDBSimpleProviderListener { (::windows::core::Vtable::vtable(self).transferComplete)(::windows::core::Vtable::as_raw(self), xfer).ok() } } -::windows::core::interface_hierarchy!(OLEDBSimpleProviderListener, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(OLEDBSimpleProviderListener, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for OLEDBSimpleProviderListener { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs index d961cc493d..efec9345bf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -1,33 +1,33 @@ #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] #[inline] pub unsafe fn WscGetAntiMalwareUri() -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "wscapi.dll""system" fn WscGetAntiMalwareUri ( ppszuri : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wscapi.dll""system" fn WscGetAntiMalwareUri ( ppszuri : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); WscGetAntiMalwareUri(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] #[inline] pub unsafe fn WscGetSecurityProviderHealth(providers: u32, phealth: *mut WSC_SECURITY_PROVIDER_HEALTH) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wscapi.dll""system" fn WscGetSecurityProviderHealth ( providers : u32 , phealth : *mut WSC_SECURITY_PROVIDER_HEALTH ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wscapi.dll""system" fn WscGetSecurityProviderHealth ( providers : u32 , phealth : *mut WSC_SECURITY_PROVIDER_HEALTH ) -> :: windows::core::HRESULT ); WscGetSecurityProviderHealth(providers, phealth).ok() } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] #[inline] pub unsafe fn WscQueryAntiMalwareUri() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wscapi.dll""system" fn WscQueryAntiMalwareUri ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wscapi.dll""system" fn WscQueryAntiMalwareUri ( ) -> :: windows::core::HRESULT ); WscQueryAntiMalwareUri().ok() } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] pub unsafe fn WscRegisterForChanges(reserved: *mut ::core::ffi::c_void, phcallbackregistration: *mut super::super::Foundation::HANDLE, lpcallbackaddress: super::Threading::LPTHREAD_START_ROUTINE, pcontext: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wscapi.dll""system" fn WscRegisterForChanges ( reserved : *mut ::core::ffi::c_void , phcallbackregistration : *mut super::super::Foundation:: HANDLE , lpcallbackaddress : super::Threading:: LPTHREAD_START_ROUTINE , pcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wscapi.dll""system" fn WscRegisterForChanges ( reserved : *mut ::core::ffi::c_void , phcallbackregistration : *mut super::super::Foundation:: HANDLE , lpcallbackaddress : super::Threading:: LPTHREAD_START_ROUTINE , pcontext : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); WscRegisterForChanges(reserved, phcallbackregistration, lpcallbackaddress, pcontext).ok() } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`*"] #[inline] pub unsafe fn WscRegisterForUserNotifications() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wscapi.dll""system" fn WscRegisterForUserNotifications ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wscapi.dll""system" fn WscRegisterForUserNotifications ( ) -> :: windows::core::HRESULT ); WscRegisterForUserNotifications().ok() } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn WscUnRegisterChanges(hregistrationhandle: P0) -> ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wscapi.dll""system" fn WscUnRegisterChanges ( hregistrationhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wscapi.dll""system" fn WscUnRegisterChanges ( hregistrationhandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WscUnRegisterChanges(hregistrationhandle.into()).ok() } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_System_Com\"`*"] @@ -51,7 +51,7 @@ impl IWSCDefaultProduct { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSCDefaultProduct, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWSCDefaultProduct, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSCDefaultProduct { fn eq(&self, other: &Self) -> bool { @@ -108,7 +108,7 @@ impl IWSCProductList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWSCProductList, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWSCProductList, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWSCProductList { fn eq(&self, other: &Self) -> bool { @@ -187,7 +187,7 @@ impl IWscProduct { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWscProduct, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWscProduct, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWscProduct { fn eq(&self, other: &Self) -> bool { @@ -294,7 +294,7 @@ impl IWscProduct2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWscProduct2, ::windows::core::IUnknown, super::Com::IDispatch, IWscProduct); +::windows::imp::interface_hierarchy!(IWscProduct2, ::windows::core::IUnknown, super::Com::IDispatch, IWscProduct); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWscProduct2 { fn eq(&self, other: &Self) -> bool { @@ -401,7 +401,7 @@ impl IWscProduct3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWscProduct3, ::windows::core::IUnknown, super::Com::IDispatch, IWscProduct, IWscProduct2); +::windows::imp::interface_hierarchy!(IWscProduct3, ::windows::core::IUnknown, super::Com::IDispatch, IWscProduct, IWscProduct2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWscProduct3 { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs index 5d4da56609..2daf91b614 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs @@ -10,7 +10,7 @@ impl IWsbApplicationAsync { (::windows::core::Vtable::vtable(self).Abort)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWsbApplicationAsync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWsbApplicationAsync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWsbApplicationAsync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -54,7 +54,7 @@ impl IWsbApplicationBackupSupport { (::windows::core::Vtable::vtable(self).CheckConsistency)(::windows::core::Vtable::as_raw(self), wszwritermetadata.into().abi(), wszcomponentname.into().abi(), wszcomponentlogicalpath.into().abi(), cvolumes, rgwszsourcevolumepath, rgwszsnapshotvolumepath, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWsbApplicationBackupSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWsbApplicationBackupSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWsbApplicationBackupSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -117,7 +117,7 @@ impl IWsbApplicationRestoreSupport { (::windows::core::Vtable::vtable(self).IsRollForwardSupported)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWsbApplicationRestoreSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWsbApplicationRestoreSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWsbApplicationRestoreSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs index 04fcbd7a21..73f4934884 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn ChangeServiceConfig2A(hservice: P0, dwinfolevel: SERVICE_CONFI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ChangeServiceConfig2A ( hservice : super::super::Security:: SC_HANDLE , dwinfolevel : SERVICE_CONFIG , lpinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ChangeServiceConfig2A ( hservice : super::super::Security:: SC_HANDLE , dwinfolevel : SERVICE_CONFIG , lpinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ChangeServiceConfig2A(hservice.into(), dwinfolevel, ::core::mem::transmute(lpinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn ChangeServiceConfig2W(hservice: P0, dwinfolevel: SERVICE_CONFI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ChangeServiceConfig2W ( hservice : super::super::Security:: SC_HANDLE , dwinfolevel : SERVICE_CONFIG , lpinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ChangeServiceConfig2W ( hservice : super::super::Security:: SC_HANDLE , dwinfolevel : SERVICE_CONFIG , lpinfo : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ChangeServiceConfig2W(hservice.into(), dwinfolevel, ::core::mem::transmute(lpinfo.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -31,7 +31,7 @@ where P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ChangeServiceConfigA ( hservice : super::super::Security:: SC_HANDLE , dwservicetype : u32 , dwstarttype : SERVICE_START_TYPE , dwerrorcontrol : SERVICE_ERROR , lpbinarypathname : :: windows::core::PCSTR , lploadordergroup : :: windows::core::PCSTR , lpdwtagid : *mut u32 , lpdependencies : :: windows::core::PCSTR , lpservicestartname : :: windows::core::PCSTR , lppassword : :: windows::core::PCSTR , lpdisplayname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ChangeServiceConfigA ( hservice : super::super::Security:: SC_HANDLE , dwservicetype : u32 , dwstarttype : SERVICE_START_TYPE , dwerrorcontrol : SERVICE_ERROR , lpbinarypathname : :: windows::core::PCSTR , lploadordergroup : :: windows::core::PCSTR , lpdwtagid : *mut u32 , lpdependencies : :: windows::core::PCSTR , lpservicestartname : :: windows::core::PCSTR , lppassword : :: windows::core::PCSTR , lpdisplayname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); ChangeServiceConfigA(hservice.into(), dwservicetype, dwstarttype, dwerrorcontrol, lpbinarypathname.into().abi(), lploadordergroup.into().abi(), ::core::mem::transmute(lpdwtagid.unwrap_or(::std::ptr::null_mut())), lpdependencies.into().abi(), lpservicestartname.into().abi(), lppassword.into().abi(), lpdisplayname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -47,7 +47,7 @@ where P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn ChangeServiceConfigW ( hservice : super::super::Security:: SC_HANDLE , dwservicetype : u32 , dwstarttype : SERVICE_START_TYPE , dwerrorcontrol : SERVICE_ERROR , lpbinarypathname : :: windows::core::PCWSTR , lploadordergroup : :: windows::core::PCWSTR , lpdwtagid : *mut u32 , lpdependencies : :: windows::core::PCWSTR , lpservicestartname : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , lpdisplayname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ChangeServiceConfigW ( hservice : super::super::Security:: SC_HANDLE , dwservicetype : u32 , dwstarttype : SERVICE_START_TYPE , dwerrorcontrol : SERVICE_ERROR , lpbinarypathname : :: windows::core::PCWSTR , lploadordergroup : :: windows::core::PCWSTR , lpdwtagid : *mut u32 , lpdependencies : :: windows::core::PCWSTR , lpservicestartname : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , lpdisplayname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ChangeServiceConfigW(hservice.into(), dwservicetype, dwstarttype, dwerrorcontrol, lpbinarypathname.into().abi(), lploadordergroup.into().abi(), ::core::mem::transmute(lpdwtagid.unwrap_or(::std::ptr::null_mut())), lpdependencies.into().abi(), lpservicestartname.into().abi(), lppassword.into().abi(), lpdisplayname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -57,7 +57,7 @@ pub unsafe fn CloseServiceHandle(hscobject: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CloseServiceHandle ( hscobject : super::super::Security:: SC_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CloseServiceHandle ( hscobject : super::super::Security:: SC_HANDLE ) -> super::super::Foundation:: BOOL ); CloseServiceHandle(hscobject.into()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -67,7 +67,7 @@ pub unsafe fn ControlService(hservice: P0, dwcontrol: u32, lpservicestatus: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ControlService ( hservice : super::super::Security:: SC_HANDLE , dwcontrol : u32 , lpservicestatus : *mut SERVICE_STATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ControlService ( hservice : super::super::Security:: SC_HANDLE , dwcontrol : u32 , lpservicestatus : *mut SERVICE_STATUS ) -> super::super::Foundation:: BOOL ); ControlService(hservice.into(), dwcontrol, lpservicestatus) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -77,7 +77,7 @@ pub unsafe fn ControlServiceExA(hservice: P0, dwcontrol: u32, dwinfolevel: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ControlServiceExA ( hservice : super::super::Security:: SC_HANDLE , dwcontrol : u32 , dwinfolevel : u32 , pcontrolparams : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ControlServiceExA ( hservice : super::super::Security:: SC_HANDLE , dwcontrol : u32 , dwinfolevel : u32 , pcontrolparams : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ControlServiceExA(hservice.into(), dwcontrol, dwinfolevel, pcontrolparams) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn ControlServiceExW(hservice: P0, dwcontrol: u32, dwinfolevel: u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn ControlServiceExW ( hservice : super::super::Security:: SC_HANDLE , dwcontrol : u32 , dwinfolevel : u32 , pcontrolparams : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn ControlServiceExW ( hservice : super::super::Security:: SC_HANDLE , dwcontrol : u32 , dwinfolevel : u32 , pcontrolparams : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ControlServiceExW(hservice.into(), dwcontrol, dwinfolevel, pcontrolparams) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] @@ -104,9 +104,9 @@ where P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P7: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateServiceA ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCSTR , lpdisplayname : :: windows::core::PCSTR , dwdesiredaccess : u32 , dwservicetype : ENUM_SERVICE_TYPE , dwstarttype : SERVICE_START_TYPE , dwerrorcontrol : SERVICE_ERROR , lpbinarypathname : :: windows::core::PCSTR , lploadordergroup : :: windows::core::PCSTR , lpdwtagid : *mut u32 , lpdependencies : :: windows::core::PCSTR , lpservicestartname : :: windows::core::PCSTR , lppassword : :: windows::core::PCSTR ) -> super::super::Security:: SC_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateServiceA ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCSTR , lpdisplayname : :: windows::core::PCSTR , dwdesiredaccess : u32 , dwservicetype : ENUM_SERVICE_TYPE , dwstarttype : SERVICE_START_TYPE , dwerrorcontrol : SERVICE_ERROR , lpbinarypathname : :: windows::core::PCSTR , lploadordergroup : :: windows::core::PCSTR , lpdwtagid : *mut u32 , lpdependencies : :: windows::core::PCSTR , lpservicestartname : :: windows::core::PCSTR , lppassword : :: windows::core::PCSTR ) -> super::super::Security:: SC_HANDLE ); let result__ = CreateServiceA(hscmanager.into(), lpservicename.into().abi(), lpdisplayname.into().abi(), dwdesiredaccess, dwservicetype, dwstarttype, dwerrorcontrol, lpbinarypathname.into().abi(), lploadordergroup.into().abi(), ::core::mem::transmute(lpdwtagid.unwrap_or(::std::ptr::null_mut())), lpdependencies.into().abi(), lpservicestartname.into().abi(), lppassword.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] @@ -122,9 +122,9 @@ where P6: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P7: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateServiceW ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCWSTR , lpdisplayname : :: windows::core::PCWSTR , dwdesiredaccess : u32 , dwservicetype : ENUM_SERVICE_TYPE , dwstarttype : SERVICE_START_TYPE , dwerrorcontrol : SERVICE_ERROR , lpbinarypathname : :: windows::core::PCWSTR , lploadordergroup : :: windows::core::PCWSTR , lpdwtagid : *mut u32 , lpdependencies : :: windows::core::PCWSTR , lpservicestartname : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR ) -> super::super::Security:: SC_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateServiceW ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCWSTR , lpdisplayname : :: windows::core::PCWSTR , dwdesiredaccess : u32 , dwservicetype : ENUM_SERVICE_TYPE , dwstarttype : SERVICE_START_TYPE , dwerrorcontrol : SERVICE_ERROR , lpbinarypathname : :: windows::core::PCWSTR , lploadordergroup : :: windows::core::PCWSTR , lpdwtagid : *mut u32 , lpdependencies : :: windows::core::PCWSTR , lpservicestartname : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR ) -> super::super::Security:: SC_HANDLE ); let result__ = CreateServiceW(hscmanager.into(), lpservicename.into().abi(), lpdisplayname.into().abi(), dwdesiredaccess, dwservicetype, dwstarttype, dwerrorcontrol, lpbinarypathname.into().abi(), lploadordergroup.into().abi(), ::core::mem::transmute(lpdwtagid.unwrap_or(::std::ptr::null_mut())), lpdependencies.into().abi(), lpservicestartname.into().abi(), lppassword.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -133,7 +133,7 @@ pub unsafe fn DeleteService(hservice: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn DeleteService ( hservice : super::super::Security:: SC_HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn DeleteService ( hservice : super::super::Security:: SC_HANDLE ) -> super::super::Foundation:: BOOL ); DeleteService(hservice.into()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -143,7 +143,7 @@ pub unsafe fn EnumDependentServicesA(hservice: P0, dwservicestate: ENUM_SERV where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumDependentServicesA ( hservice : super::super::Security:: SC_HANDLE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut ENUM_SERVICE_STATUSA , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumDependentServicesA ( hservice : super::super::Security:: SC_HANDLE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut ENUM_SERVICE_STATUSA , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumDependentServicesA(hservice.into(), dwservicestate, ::core::mem::transmute(lpservices.unwrap_or(::std::ptr::null_mut())), cbbufsize, pcbbytesneeded, lpservicesreturned) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -153,7 +153,7 @@ pub unsafe fn EnumDependentServicesW(hservice: P0, dwservicestate: ENUM_SERV where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumDependentServicesW ( hservice : super::super::Security:: SC_HANDLE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut ENUM_SERVICE_STATUSW , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumDependentServicesW ( hservice : super::super::Security:: SC_HANDLE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut ENUM_SERVICE_STATUSW , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumDependentServicesW(hservice.into(), dwservicestate, ::core::mem::transmute(lpservices.unwrap_or(::std::ptr::null_mut())), cbbufsize, pcbbytesneeded, lpservicesreturned) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -163,7 +163,7 @@ pub unsafe fn EnumServicesStatusA(hscmanager: P0, dwservicetype: ENUM_SERVIC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumServicesStatusA ( hscmanager : super::super::Security:: SC_HANDLE , dwservicetype : ENUM_SERVICE_TYPE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut ENUM_SERVICE_STATUSA , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 , lpresumehandle : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumServicesStatusA ( hscmanager : super::super::Security:: SC_HANDLE , dwservicetype : ENUM_SERVICE_TYPE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut ENUM_SERVICE_STATUSA , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 , lpresumehandle : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumServicesStatusA(hscmanager.into(), dwservicetype, dwservicestate, ::core::mem::transmute(lpservices.unwrap_or(::std::ptr::null_mut())), cbbufsize, pcbbytesneeded, lpservicesreturned, ::core::mem::transmute(lpresumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -174,7 +174,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumServicesStatusExA ( hscmanager : super::super::Security:: SC_HANDLE , infolevel : SC_ENUM_TYPE , dwservicetype : ENUM_SERVICE_TYPE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 , lpresumehandle : *mut u32 , pszgroupname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumServicesStatusExA ( hscmanager : super::super::Security:: SC_HANDLE , infolevel : SC_ENUM_TYPE , dwservicetype : ENUM_SERVICE_TYPE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 , lpresumehandle : *mut u32 , pszgroupname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); EnumServicesStatusExA(hscmanager.into(), infolevel, dwservicetype, dwservicestate, ::core::mem::transmute(lpservices.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpservices.as_deref().map_or(0, |slice| slice.len() as _), pcbbytesneeded, lpservicesreturned, ::core::mem::transmute(lpresumehandle.unwrap_or(::std::ptr::null_mut())), pszgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -185,7 +185,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumServicesStatusExW ( hscmanager : super::super::Security:: SC_HANDLE , infolevel : SC_ENUM_TYPE , dwservicetype : ENUM_SERVICE_TYPE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 , lpresumehandle : *mut u32 , pszgroupname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumServicesStatusExW ( hscmanager : super::super::Security:: SC_HANDLE , infolevel : SC_ENUM_TYPE , dwservicetype : ENUM_SERVICE_TYPE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 , lpresumehandle : *mut u32 , pszgroupname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); EnumServicesStatusExW(hscmanager.into(), infolevel, dwservicetype, dwservicestate, ::core::mem::transmute(lpservices.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpservices.as_deref().map_or(0, |slice| slice.len() as _), pcbbytesneeded, lpservicesreturned, ::core::mem::transmute(lpresumehandle.unwrap_or(::std::ptr::null_mut())), pszgroupname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -195,7 +195,7 @@ pub unsafe fn EnumServicesStatusW(hscmanager: P0, dwservicetype: ENUM_SERVIC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumServicesStatusW ( hscmanager : super::super::Security:: SC_HANDLE , dwservicetype : ENUM_SERVICE_TYPE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut ENUM_SERVICE_STATUSW , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 , lpresumehandle : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumServicesStatusW ( hscmanager : super::super::Security:: SC_HANDLE , dwservicetype : ENUM_SERVICE_TYPE , dwservicestate : ENUM_SERVICE_STATE , lpservices : *mut ENUM_SERVICE_STATUSW , cbbufsize : u32 , pcbbytesneeded : *mut u32 , lpservicesreturned : *mut u32 , lpresumehandle : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumServicesStatusW(hscmanager.into(), dwservicetype, dwservicestate, ::core::mem::transmute(lpservices.unwrap_or(::std::ptr::null_mut())), cbbufsize, pcbbytesneeded, lpservicesreturned, ::core::mem::transmute(lpresumehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Services\"`*"] @@ -204,7 +204,7 @@ pub unsafe fn GetServiceDirectory(hservicestatus: P0, edirectorytype: SERVIC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-service-core-l1-1-4.dll""system" fn GetServiceDirectory ( hservicestatus : SERVICE_STATUS_HANDLE , edirectorytype : SERVICE_DIRECTORY_TYPE , lppathbuffer : :: windows::core::PWSTR , cchpathbufferlength : u32 , lpcchrequiredbufferlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-service-core-l1-1-4.dll""system" fn GetServiceDirectory ( hservicestatus : SERVICE_STATUS_HANDLE , edirectorytype : SERVICE_DIRECTORY_TYPE , lppathbuffer : :: windows::core::PWSTR , cchpathbufferlength : u32 , lpcchrequiredbufferlength : *mut u32 ) -> u32 ); GetServiceDirectory(hservicestatus.into(), edirectorytype, ::core::mem::transmute(lppathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lppathbuffer.as_deref().map_or(0, |slice| slice.len() as _), lpcchrequiredbufferlength) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -215,7 +215,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetServiceDisplayNameA ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCSTR , lpdisplayname : :: windows::core::PSTR , lpcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetServiceDisplayNameA ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCSTR , lpdisplayname : :: windows::core::PSTR , lpcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetServiceDisplayNameA(hscmanager.into(), lpservicename.into().abi(), ::core::mem::transmute(lpdisplayname), lpcchbuffer) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -226,7 +226,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetServiceDisplayNameW ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCWSTR , lpdisplayname : :: windows::core::PWSTR , lpcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetServiceDisplayNameW ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCWSTR , lpdisplayname : :: windows::core::PWSTR , lpcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetServiceDisplayNameW(hscmanager.into(), lpservicename.into().abi(), ::core::mem::transmute(lpdisplayname), lpcchbuffer) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -237,7 +237,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetServiceKeyNameA ( hscmanager : super::super::Security:: SC_HANDLE , lpdisplayname : :: windows::core::PCSTR , lpservicename : :: windows::core::PSTR , lpcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetServiceKeyNameA ( hscmanager : super::super::Security:: SC_HANDLE , lpdisplayname : :: windows::core::PCSTR , lpservicename : :: windows::core::PSTR , lpcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetServiceKeyNameA(hscmanager.into(), lpdisplayname.into().abi(), ::core::mem::transmute(lpservicename), lpcchbuffer) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -248,7 +248,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn GetServiceKeyNameW ( hscmanager : super::super::Security:: SC_HANDLE , lpdisplayname : :: windows::core::PCWSTR , lpservicename : :: windows::core::PWSTR , lpcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetServiceKeyNameW ( hscmanager : super::super::Security:: SC_HANDLE , lpdisplayname : :: windows::core::PCWSTR , lpservicename : :: windows::core::PWSTR , lpcchbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetServiceKeyNameW(hscmanager.into(), lpdisplayname.into().abi(), ::core::mem::transmute(lpservicename), lpcchbuffer) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_System_Registry\"`*"] @@ -258,7 +258,7 @@ pub unsafe fn GetServiceRegistryStateKey(servicestatushandle: P0, statetype: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-service-core-l1-1-3.dll""system" fn GetServiceRegistryStateKey ( servicestatushandle : SERVICE_STATUS_HANDLE , statetype : SERVICE_REGISTRY_STATE_TYPE , accessmask : u32 , servicestatekey : *mut super::Registry:: HKEY ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-service-core-l1-1-3.dll""system" fn GetServiceRegistryStateKey ( servicestatushandle : SERVICE_STATUS_HANDLE , statetype : SERVICE_REGISTRY_STATE_TYPE , accessmask : u32 , servicestatekey : *mut super::Registry:: HKEY ) -> u32 ); GetServiceRegistryStateKey(servicestatushandle.into(), statetype, accessmask, servicestatekey) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] @@ -268,7 +268,7 @@ pub unsafe fn GetSharedServiceDirectory(servicehandle: P0, directorytype: SE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-service-core-l1-1-5.dll""system" fn GetSharedServiceDirectory ( servicehandle : super::super::Security:: SC_HANDLE , directorytype : SERVICE_SHARED_DIRECTORY_TYPE , pathbuffer : :: windows::core::PWSTR , pathbufferlength : u32 , requiredbufferlength : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-service-core-l1-1-5.dll""system" fn GetSharedServiceDirectory ( servicehandle : super::super::Security:: SC_HANDLE , directorytype : SERVICE_SHARED_DIRECTORY_TYPE , pathbuffer : :: windows::core::PWSTR , pathbufferlength : u32 , requiredbufferlength : *mut u32 ) -> u32 ); GetSharedServiceDirectory(servicehandle.into(), directorytype, ::core::mem::transmute(pathbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pathbuffer.as_deref().map_or(0, |slice| slice.len() as _), requiredbufferlength) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] @@ -278,7 +278,7 @@ pub unsafe fn GetSharedServiceRegistryStateKey(servicehandle: P0, statetype: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-service-core-l1-1-5.dll""system" fn GetSharedServiceRegistryStateKey ( servicehandle : super::super::Security:: SC_HANDLE , statetype : SERVICE_SHARED_REGISTRY_STATE_TYPE , accessmask : u32 , servicestatekey : *mut super::Registry:: HKEY ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-service-core-l1-1-5.dll""system" fn GetSharedServiceRegistryStateKey ( servicehandle : super::super::Security:: SC_HANDLE , statetype : SERVICE_SHARED_REGISTRY_STATE_TYPE , accessmask : u32 , servicestatekey : *mut super::Registry:: HKEY ) -> u32 ); GetSharedServiceRegistryStateKey(servicehandle.into(), statetype, accessmask, servicestatekey) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] @@ -288,7 +288,7 @@ pub unsafe fn LockServiceDatabase(hscmanager: P0) -> *mut ::core::ffi::c_voi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn LockServiceDatabase ( hscmanager : super::super::Security:: SC_HANDLE ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "advapi32.dll""system" fn LockServiceDatabase ( hscmanager : super::super::Security:: SC_HANDLE ) -> *mut ::core::ffi::c_void ); LockServiceDatabase(hscmanager.into()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] @@ -298,7 +298,7 @@ pub unsafe fn NotifyBootConfigStatus(bootacceptable: P0) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn NotifyBootConfigStatus ( bootacceptable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn NotifyBootConfigStatus ( bootacceptable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); NotifyBootConfigStatus(bootacceptable.into()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] @@ -308,7 +308,7 @@ pub unsafe fn NotifyServiceStatusChangeA(hservice: P0, dwnotifymask: SERVICE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn NotifyServiceStatusChangeA ( hservice : super::super::Security:: SC_HANDLE , dwnotifymask : SERVICE_NOTIFY , pnotifybuffer : *const SERVICE_NOTIFY_2A ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn NotifyServiceStatusChangeA ( hservice : super::super::Security:: SC_HANDLE , dwnotifymask : SERVICE_NOTIFY , pnotifybuffer : *const SERVICE_NOTIFY_2A ) -> u32 ); NotifyServiceStatusChangeA(hservice.into(), dwnotifymask, pnotifybuffer) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] @@ -318,7 +318,7 @@ pub unsafe fn NotifyServiceStatusChangeW(hservice: P0, dwnotifymask: SERVICE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn NotifyServiceStatusChangeW ( hservice : super::super::Security:: SC_HANDLE , dwnotifymask : SERVICE_NOTIFY , pnotifybuffer : *const SERVICE_NOTIFY_2W ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn NotifyServiceStatusChangeW ( hservice : super::super::Security:: SC_HANDLE , dwnotifymask : SERVICE_NOTIFY , pnotifybuffer : *const SERVICE_NOTIFY_2W ) -> u32 ); NotifyServiceStatusChangeW(hservice.into(), dwnotifymask, pnotifybuffer) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] @@ -329,9 +329,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenSCManagerA ( lpmachinename : :: windows::core::PCSTR , lpdatabasename : :: windows::core::PCSTR , dwdesiredaccess : u32 ) -> super::super::Security:: SC_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenSCManagerA ( lpmachinename : :: windows::core::PCSTR , lpdatabasename : :: windows::core::PCSTR , dwdesiredaccess : u32 ) -> super::super::Security:: SC_HANDLE ); let result__ = OpenSCManagerA(lpmachinename.into().abi(), lpdatabasename.into().abi(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] @@ -341,9 +341,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenSCManagerW ( lpmachinename : :: windows::core::PCWSTR , lpdatabasename : :: windows::core::PCWSTR , dwdesiredaccess : u32 ) -> super::super::Security:: SC_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenSCManagerW ( lpmachinename : :: windows::core::PCWSTR , lpdatabasename : :: windows::core::PCWSTR , dwdesiredaccess : u32 ) -> super::super::Security:: SC_HANDLE ); let result__ = OpenSCManagerW(lpmachinename.into().abi(), lpdatabasename.into().abi(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] @@ -353,9 +353,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenServiceA ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCSTR , dwdesiredaccess : u32 ) -> super::super::Security:: SC_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenServiceA ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCSTR , dwdesiredaccess : u32 ) -> super::super::Security:: SC_HANDLE ); let result__ = OpenServiceA(hscmanager.into(), lpservicename.into().abi(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] @@ -365,9 +365,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenServiceW ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCWSTR , dwdesiredaccess : u32 ) -> super::super::Security:: SC_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenServiceW ( hscmanager : super::super::Security:: SC_HANDLE , lpservicename : :: windows::core::PCWSTR , dwdesiredaccess : u32 ) -> super::super::Security:: SC_HANDLE ); let result__ = OpenServiceW(hscmanager.into(), lpservicename.into().abi(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -376,7 +376,7 @@ pub unsafe fn QueryServiceConfig2A(hservice: P0, dwinfolevel: SERVICE_CONFIG where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceConfig2A ( hservice : super::super::Security:: SC_HANDLE , dwinfolevel : SERVICE_CONFIG , lpbuffer : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceConfig2A ( hservice : super::super::Security:: SC_HANDLE , dwinfolevel : SERVICE_CONFIG , lpbuffer : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryServiceConfig2A(hservice.into(), dwinfolevel, ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -386,7 +386,7 @@ pub unsafe fn QueryServiceConfig2W(hservice: P0, dwinfolevel: SERVICE_CONFIG where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceConfig2W ( hservice : super::super::Security:: SC_HANDLE , dwinfolevel : SERVICE_CONFIG , lpbuffer : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceConfig2W ( hservice : super::super::Security:: SC_HANDLE , dwinfolevel : SERVICE_CONFIG , lpbuffer : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryServiceConfig2W(hservice.into(), dwinfolevel, ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -396,7 +396,7 @@ pub unsafe fn QueryServiceConfigA(hservice: P0, lpserviceconfig: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceConfigA ( hservice : super::super::Security:: SC_HANDLE , lpserviceconfig : *mut QUERY_SERVICE_CONFIGA , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceConfigA ( hservice : super::super::Security:: SC_HANDLE , lpserviceconfig : *mut QUERY_SERVICE_CONFIGA , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryServiceConfigA(hservice.into(), ::core::mem::transmute(lpserviceconfig.unwrap_or(::std::ptr::null_mut())), cbbufsize, pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -406,7 +406,7 @@ pub unsafe fn QueryServiceConfigW(hservice: P0, lpserviceconfig: ::core::opt where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceConfigW ( hservice : super::super::Security:: SC_HANDLE , lpserviceconfig : *mut QUERY_SERVICE_CONFIGW , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceConfigW ( hservice : super::super::Security:: SC_HANDLE , lpserviceconfig : *mut QUERY_SERVICE_CONFIGW , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryServiceConfigW(hservice.into(), ::core::mem::transmute(lpserviceconfig.unwrap_or(::std::ptr::null_mut())), cbbufsize, pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] @@ -416,7 +416,7 @@ pub unsafe fn QueryServiceDynamicInformation(hservicestatus: P0, dwinfolevel where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceDynamicInformation ( hservicestatus : SERVICE_STATUS_HANDLE , dwinfolevel : u32 , ppdynamicinfo : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceDynamicInformation ( hservicestatus : SERVICE_STATUS_HANDLE , dwinfolevel : u32 , ppdynamicinfo : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); QueryServiceDynamicInformation(hservicestatus.into(), dwinfolevel, ppdynamicinfo) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -426,7 +426,7 @@ pub unsafe fn QueryServiceLockStatusA(hscmanager: P0, lplockstatus: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceLockStatusA ( hscmanager : super::super::Security:: SC_HANDLE , lplockstatus : *mut QUERY_SERVICE_LOCK_STATUSA , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceLockStatusA ( hscmanager : super::super::Security:: SC_HANDLE , lplockstatus : *mut QUERY_SERVICE_LOCK_STATUSA , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryServiceLockStatusA(hscmanager.into(), ::core::mem::transmute(lplockstatus.unwrap_or(::std::ptr::null_mut())), cbbufsize, pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -436,7 +436,7 @@ pub unsafe fn QueryServiceLockStatusW(hscmanager: P0, lplockstatus: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceLockStatusW ( hscmanager : super::super::Security:: SC_HANDLE , lplockstatus : *mut QUERY_SERVICE_LOCK_STATUSW , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceLockStatusW ( hscmanager : super::super::Security:: SC_HANDLE , lplockstatus : *mut QUERY_SERVICE_LOCK_STATUSW , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryServiceLockStatusW(hscmanager.into(), ::core::mem::transmute(lplockstatus.unwrap_or(::std::ptr::null_mut())), cbbufsize, pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -446,7 +446,7 @@ pub unsafe fn QueryServiceObjectSecurity(hservice: P0, dwsecurityinformation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceObjectSecurity ( hservice : super::super::Security:: SC_HANDLE , dwsecurityinformation : u32 , lpsecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceObjectSecurity ( hservice : super::super::Security:: SC_HANDLE , dwsecurityinformation : u32 , lpsecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryServiceObjectSecurity(hservice.into(), dwsecurityinformation, lpsecuritydescriptor, cbbufsize, pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -456,7 +456,7 @@ pub unsafe fn QueryServiceStatus(hservice: P0, lpservicestatus: *mut SERVICE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceStatus ( hservice : super::super::Security:: SC_HANDLE , lpservicestatus : *mut SERVICE_STATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceStatus ( hservice : super::super::Security:: SC_HANDLE , lpservicestatus : *mut SERVICE_STATUS ) -> super::super::Foundation:: BOOL ); QueryServiceStatus(hservice.into(), lpservicestatus) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -466,7 +466,7 @@ pub unsafe fn QueryServiceStatusEx(hservice: P0, infolevel: SC_STATUS_TYPE, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn QueryServiceStatusEx ( hservice : super::super::Security:: SC_HANDLE , infolevel : SC_STATUS_TYPE , lpbuffer : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn QueryServiceStatusEx ( hservice : super::super::Security:: SC_HANDLE , infolevel : SC_STATUS_TYPE , lpbuffer : *mut u8 , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryServiceStatusEx(hservice.into(), infolevel, ::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), pcbbytesneeded) } #[doc = "*Required features: `\"Win32_System_Services\"`*"] @@ -475,9 +475,9 @@ pub unsafe fn RegisterServiceCtrlHandlerA(lpservicename: P0, lphandlerproc: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterServiceCtrlHandlerA ( lpservicename : :: windows::core::PCSTR , lphandlerproc : LPHANDLER_FUNCTION ) -> SERVICE_STATUS_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterServiceCtrlHandlerA ( lpservicename : :: windows::core::PCSTR , lphandlerproc : LPHANDLER_FUNCTION ) -> SERVICE_STATUS_HANDLE ); let result__ = RegisterServiceCtrlHandlerA(lpservicename.into().abi(), lphandlerproc); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`*"] #[inline] @@ -485,9 +485,9 @@ pub unsafe fn RegisterServiceCtrlHandlerExA(lpservicename: P0, lphandlerproc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterServiceCtrlHandlerExA ( lpservicename : :: windows::core::PCSTR , lphandlerproc : LPHANDLER_FUNCTION_EX , lpcontext : *const ::core::ffi::c_void ) -> SERVICE_STATUS_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterServiceCtrlHandlerExA ( lpservicename : :: windows::core::PCSTR , lphandlerproc : LPHANDLER_FUNCTION_EX , lpcontext : *const ::core::ffi::c_void ) -> SERVICE_STATUS_HANDLE ); let result__ = RegisterServiceCtrlHandlerExA(lpservicename.into().abi(), lphandlerproc, ::core::mem::transmute(lpcontext.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`*"] #[inline] @@ -495,9 +495,9 @@ pub unsafe fn RegisterServiceCtrlHandlerExW(lpservicename: P0, lphandlerproc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterServiceCtrlHandlerExW ( lpservicename : :: windows::core::PCWSTR , lphandlerproc : LPHANDLER_FUNCTION_EX , lpcontext : *const ::core::ffi::c_void ) -> SERVICE_STATUS_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterServiceCtrlHandlerExW ( lpservicename : :: windows::core::PCWSTR , lphandlerproc : LPHANDLER_FUNCTION_EX , lpcontext : *const ::core::ffi::c_void ) -> SERVICE_STATUS_HANDLE ); let result__ = RegisterServiceCtrlHandlerExW(lpservicename.into().abi(), lphandlerproc, ::core::mem::transmute(lpcontext.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`*"] #[inline] @@ -505,9 +505,9 @@ pub unsafe fn RegisterServiceCtrlHandlerW(lpservicename: P0, lphandlerproc: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn RegisterServiceCtrlHandlerW ( lpservicename : :: windows::core::PCWSTR , lphandlerproc : LPHANDLER_FUNCTION ) -> SERVICE_STATUS_HANDLE ); + ::windows::imp::link ! ( "advapi32.dll""system" fn RegisterServiceCtrlHandlerW ( lpservicename : :: windows::core::PCWSTR , lphandlerproc : LPHANDLER_FUNCTION ) -> SERVICE_STATUS_HANDLE ); let result__ = RegisterServiceCtrlHandlerW(lpservicename.into().abi(), lphandlerproc); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -518,7 +518,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetServiceBits ( hservicestatus : SERVICE_STATUS_HANDLE , dwservicebits : u32 , bsetbitson : super::super::Foundation:: BOOL , bupdateimmediately : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetServiceBits ( hservicestatus : SERVICE_STATUS_HANDLE , dwservicebits : u32 , bsetbitson : super::super::Foundation:: BOOL , bupdateimmediately : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetServiceBits(hservicestatus.into(), dwservicebits, bsetbitson.into(), bupdateimmediately.into()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -529,7 +529,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetServiceObjectSecurity ( hservice : super::super::Security:: SC_HANDLE , dwsecurityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION , lpsecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetServiceObjectSecurity ( hservice : super::super::Security:: SC_HANDLE , dwsecurityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION , lpsecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: BOOL ); SetServiceObjectSecurity(hservice.into(), dwsecurityinformation, lpsecuritydescriptor.into()) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] @@ -539,7 +539,7 @@ pub unsafe fn SetServiceStatus(hservicestatus: P0, lpservicestatus: *const S where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetServiceStatus ( hservicestatus : SERVICE_STATUS_HANDLE , lpservicestatus : *const SERVICE_STATUS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetServiceStatus ( hservicestatus : SERVICE_STATUS_HANDLE , lpservicestatus : *const SERVICE_STATUS ) -> super::super::Foundation:: BOOL ); SetServiceStatus(hservicestatus.into(), lpservicestatus) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -549,21 +549,21 @@ pub unsafe fn StartServiceA(hservice: P0, lpserviceargvectors: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn StartServiceA ( hservice : super::super::Security:: SC_HANDLE , dwnumserviceargs : u32 , lpserviceargvectors : *const :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn StartServiceA ( hservice : super::super::Security:: SC_HANDLE , dwnumserviceargs : u32 , lpserviceargvectors : *const :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); StartServiceA(hservice.into(), lpserviceargvectors.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpserviceargvectors.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn StartServiceCtrlDispatcherA(lpservicestarttable: *const SERVICE_TABLE_ENTRYA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn StartServiceCtrlDispatcherA ( lpservicestarttable : *const SERVICE_TABLE_ENTRYA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn StartServiceCtrlDispatcherA ( lpservicestarttable : *const SERVICE_TABLE_ENTRYA ) -> super::super::Foundation:: BOOL ); StartServiceCtrlDispatcherA(lpservicestarttable) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn StartServiceCtrlDispatcherW(lpservicestarttable: *const SERVICE_TABLE_ENTRYW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn StartServiceCtrlDispatcherW ( lpservicestarttable : *const SERVICE_TABLE_ENTRYW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn StartServiceCtrlDispatcherW ( lpservicestarttable : *const SERVICE_TABLE_ENTRYW ) -> super::super::Foundation:: BOOL ); StartServiceCtrlDispatcherW(lpservicestarttable) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -573,14 +573,14 @@ pub unsafe fn StartServiceW(hservice: P0, lpserviceargvectors: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn StartServiceW ( hservice : super::super::Security:: SC_HANDLE , dwnumserviceargs : u32 , lpserviceargvectors : *const :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn StartServiceW ( hservice : super::super::Security:: SC_HANDLE , dwnumserviceargs : u32 , lpserviceargvectors : *const :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); StartServiceW(hservice.into(), lpserviceargvectors.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpserviceargvectors.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UnlockServiceDatabase(sclock: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn UnlockServiceDatabase ( sclock : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn UnlockServiceDatabase ( sclock : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); UnlockServiceDatabase(sclock) } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -591,7 +591,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn WaitServiceState ( hservice : super::super::Security:: SC_HANDLE , dwnotify : u32 , dwtimeout : u32 , hcancelevent : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn WaitServiceState ( hservice : super::super::Security:: SC_HANDLE , dwnotify : u32 , dwtimeout : u32 , hcancelevent : super::super::Foundation:: HANDLE ) -> u32 ); WaitServiceState(hservice.into(), dwnotify, dwtimeout, hcancelevent.into()) } #[doc = "*Required features: `\"Win32_System_Services\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs index d2295dbb9c..e6ac8fcaa2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs @@ -18,7 +18,7 @@ impl IItemEnumerator { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IItemEnumerator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IItemEnumerator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IItemEnumerator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -102,7 +102,7 @@ impl ISettingsContext { (::windows::core::Vtable::vtable(self).RevertSetting)(::windows::core::Vtable::as_raw(self), pidentity.into().abi(), pwzsetting.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISettingsContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISettingsContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISettingsContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -231,7 +231,7 @@ impl ISettingsEngine { (::windows::core::Vtable::vtable(self).GetSettingsContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISettingsEngine, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISettingsEngine, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISettingsEngine { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -307,7 +307,7 @@ impl ISettingsIdentity { (::windows::core::Vtable::vtable(self).SetFlags)(::windows::core::Vtable::as_raw(self), flags).ok() } } -::windows::core::interface_hierarchy!(ISettingsIdentity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISettingsIdentity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISettingsIdentity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -458,7 +458,7 @@ impl ISettingsItem { (::windows::core::Vtable::vtable(self).GetKeyValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISettingsItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISettingsItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISettingsItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -580,7 +580,7 @@ impl ISettingsNamespace { (::windows::core::Vtable::vtable(self).GetAttribute)(::windows::core::Vtable::as_raw(self), name.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISettingsNamespace, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISettingsNamespace, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISettingsNamespace { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -650,7 +650,7 @@ impl ISettingsResult { (::windows::core::Vtable::vtable(self).GetSource)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISettingsResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISettingsResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISettingsResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -817,7 +817,7 @@ impl ITargetInfo { (::windows::core::Vtable::vtable(self).GetSchemaHiveMountName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITargetInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITargetInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITargetInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/SetupAndMigration/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SetupAndMigration/mod.rs index 7ed42e6a2b..fc6283d80b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SetupAndMigration/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SetupAndMigration/mod.rs @@ -2,21 +2,21 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn OOBEComplete(isoobecomplete: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn OOBEComplete ( isoobecomplete : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OOBEComplete ( isoobecomplete : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); OOBEComplete(isoobecomplete) } #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RegisterWaitUntilOOBECompleted(oobecompletedcallback: OOBE_COMPLETED_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, waithandle: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn RegisterWaitUntilOOBECompleted ( oobecompletedcallback : OOBE_COMPLETED_CALLBACK , callbackcontext : *const ::core::ffi::c_void , waithandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RegisterWaitUntilOOBECompleted ( oobecompletedcallback : OOBE_COMPLETED_CALLBACK , callbackcontext : *const ::core::ffi::c_void , waithandle : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); RegisterWaitUntilOOBECompleted(oobecompletedcallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), waithandle) } #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UnregisterWaitUntilOOBECompleted(waithandle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn UnregisterWaitUntilOOBECompleted ( waithandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnregisterWaitUntilOOBECompleted ( waithandle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); UnregisterWaitUntilOOBECompleted(waithandle) } #[doc = "*Required features: `\"Win32_System_SetupAndMigration\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Shutdown/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Shutdown/mod.rs index 04b2fb41d8..a2ed9ae280 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Shutdown/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Shutdown/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn AbortSystemShutdownA(lpmachinename: P0) -> super::super::Found where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn AbortSystemShutdownA ( lpmachinename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AbortSystemShutdownA ( lpmachinename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AbortSystemShutdownA(lpmachinename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn AbortSystemShutdownW(lpmachinename: P0) -> super::super::Found where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn AbortSystemShutdownW ( lpmachinename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn AbortSystemShutdownW ( lpmachinename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AbortSystemShutdownW(lpmachinename.into().abi()) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -25,14 +25,14 @@ pub unsafe fn CheckForHiberboot(phiberboot: *mut super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn CheckForHiberboot ( phiberboot : *mut super::super::Foundation:: BOOLEAN , bclearflag : super::super::Foundation:: BOOLEAN ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CheckForHiberboot ( phiberboot : *mut super::super::Foundation:: BOOLEAN , bclearflag : super::super::Foundation:: BOOLEAN ) -> u32 ); CheckForHiberboot(phiberboot, bclearflag.into()) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ExitWindowsEx(uflags: EXIT_WINDOWS_FLAGS, dwreason: SHUTDOWN_REASON) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn ExitWindowsEx ( uflags : EXIT_WINDOWS_FLAGS , dwreason : SHUTDOWN_REASON ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ExitWindowsEx ( uflags : EXIT_WINDOWS_FLAGS , dwreason : SHUTDOWN_REASON ) -> super::super::Foundation:: BOOL ); ExitWindowsEx(uflags, dwreason) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] @@ -42,7 +42,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn InitiateShutdownA ( lpmachinename : :: windows::core::PCSTR , lpmessage : :: windows::core::PCSTR , dwgraceperiod : u32 , dwshutdownflags : SHUTDOWN_FLAGS , dwreason : SHUTDOWN_REASON ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitiateShutdownA ( lpmachinename : :: windows::core::PCSTR , lpmessage : :: windows::core::PCSTR , dwgraceperiod : u32 , dwshutdownflags : SHUTDOWN_FLAGS , dwreason : SHUTDOWN_REASON ) -> u32 ); InitiateShutdownA(lpmachinename.into().abi(), lpmessage.into().abi(), dwgraceperiod, dwshutdownflags, dwreason) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] @@ -52,7 +52,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn InitiateShutdownW ( lpmachinename : :: windows::core::PCWSTR , lpmessage : :: windows::core::PCWSTR , dwgraceperiod : u32 , dwshutdownflags : SHUTDOWN_FLAGS , dwreason : SHUTDOWN_REASON ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitiateShutdownW ( lpmachinename : :: windows::core::PCWSTR , lpmessage : :: windows::core::PCWSTR , dwgraceperiod : u32 , dwshutdownflags : SHUTDOWN_FLAGS , dwreason : SHUTDOWN_REASON ) -> u32 ); InitiateShutdownW(lpmachinename.into().abi(), lpmessage.into().abi(), dwgraceperiod, dwshutdownflags, dwreason) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -65,7 +65,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn InitiateSystemShutdownA ( lpmachinename : :: windows::core::PCSTR , lpmessage : :: windows::core::PCSTR , dwtimeout : u32 , bforceappsclosed : super::super::Foundation:: BOOL , brebootaftershutdown : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitiateSystemShutdownA ( lpmachinename : :: windows::core::PCSTR , lpmessage : :: windows::core::PCSTR , dwtimeout : u32 , bforceappsclosed : super::super::Foundation:: BOOL , brebootaftershutdown : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); InitiateSystemShutdownA(lpmachinename.into().abi(), lpmessage.into().abi(), dwtimeout, bforceappsclosed.into(), brebootaftershutdown.into()) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -78,7 +78,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn InitiateSystemShutdownExA ( lpmachinename : :: windows::core::PCSTR , lpmessage : :: windows::core::PCSTR , dwtimeout : u32 , bforceappsclosed : super::super::Foundation:: BOOL , brebootaftershutdown : super::super::Foundation:: BOOL , dwreason : SHUTDOWN_REASON ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitiateSystemShutdownExA ( lpmachinename : :: windows::core::PCSTR , lpmessage : :: windows::core::PCSTR , dwtimeout : u32 , bforceappsclosed : super::super::Foundation:: BOOL , brebootaftershutdown : super::super::Foundation:: BOOL , dwreason : SHUTDOWN_REASON ) -> super::super::Foundation:: BOOL ); InitiateSystemShutdownExA(lpmachinename.into().abi(), lpmessage.into().abi(), dwtimeout, bforceappsclosed.into(), brebootaftershutdown.into(), dwreason) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -91,7 +91,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn InitiateSystemShutdownExW ( lpmachinename : :: windows::core::PCWSTR , lpmessage : :: windows::core::PCWSTR , dwtimeout : u32 , bforceappsclosed : super::super::Foundation:: BOOL , brebootaftershutdown : super::super::Foundation:: BOOL , dwreason : SHUTDOWN_REASON ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitiateSystemShutdownExW ( lpmachinename : :: windows::core::PCWSTR , lpmessage : :: windows::core::PCWSTR , dwtimeout : u32 , bforceappsclosed : super::super::Foundation:: BOOL , brebootaftershutdown : super::super::Foundation:: BOOL , dwreason : SHUTDOWN_REASON ) -> super::super::Foundation:: BOOL ); InitiateSystemShutdownExW(lpmachinename.into().abi(), lpmessage.into().abi(), dwtimeout, bforceappsclosed.into(), brebootaftershutdown.into(), dwreason) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -104,14 +104,14 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn InitiateSystemShutdownW ( lpmachinename : :: windows::core::PCWSTR , lpmessage : :: windows::core::PCWSTR , dwtimeout : u32 , bforceappsclosed : super::super::Foundation:: BOOL , brebootaftershutdown : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn InitiateSystemShutdownW ( lpmachinename : :: windows::core::PCWSTR , lpmessage : :: windows::core::PCWSTR , dwtimeout : u32 , bforceappsclosed : super::super::Foundation:: BOOL , brebootaftershutdown : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); InitiateSystemShutdownW(lpmachinename.into().abi(), lpmessage.into().abi(), dwtimeout, bforceappsclosed.into(), brebootaftershutdown.into()) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LockWorkStation() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn LockWorkStation ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn LockWorkStation ( ) -> super::super::Foundation:: BOOL ); LockWorkStation() } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -122,7 +122,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn ShutdownBlockReasonCreate ( hwnd : super::super::Foundation:: HWND , pwszreason : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ShutdownBlockReasonCreate ( hwnd : super::super::Foundation:: HWND , pwszreason : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ShutdownBlockReasonCreate(hwnd.into(), pwszreason.into().abi()) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -132,7 +132,7 @@ pub unsafe fn ShutdownBlockReasonDestroy(hwnd: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ShutdownBlockReasonDestroy ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ShutdownBlockReasonDestroy ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); ShutdownBlockReasonDestroy(hwnd.into()) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] @@ -142,7 +142,7 @@ pub unsafe fn ShutdownBlockReasonQuery(hwnd: P0, pwszbuff: ::windows::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ShutdownBlockReasonQuery ( hwnd : super::super::Foundation:: HWND , pwszbuff : :: windows::core::PWSTR , pcchbuff : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ShutdownBlockReasonQuery ( hwnd : super::super::Foundation:: HWND , pwszbuff : :: windows::core::PWSTR , pcchbuff : *mut u32 ) -> super::super::Foundation:: BOOL ); ShutdownBlockReasonQuery(hwnd.into(), ::core::mem::transmute(pwszbuff), pcchbuff) } #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs index 3d0b62eb58..9d8ff46e07 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs @@ -14,7 +14,7 @@ impl ISideShowBulkCapabilities { (::windows::core::Vtable::vtable(self).GetCapabilities)(::windows::core::Vtable::as_raw(self), in_keycollection.into().abi(), ::core::mem::transmute(inout_pvalues)).ok() } } -::windows::core::interface_hierarchy!(ISideShowBulkCapabilities, ::windows::core::IUnknown, ISideShowCapabilities); +::windows::imp::interface_hierarchy!(ISideShowBulkCapabilities, ::windows::core::IUnknown, ISideShowCapabilities); impl ::core::cmp::PartialEq for ISideShowBulkCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -53,7 +53,7 @@ impl ISideShowCapabilities { (::windows::core::Vtable::vtable(self).GetCapability)(::windows::core::Vtable::as_raw(self), in_keycapability, inout_pvalue).ok() } } -::windows::core::interface_hierarchy!(ISideShowCapabilities, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowCapabilities, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -98,7 +98,7 @@ impl ISideShowCapabilitiesCollection { (::windows::core::Vtable::vtable(self).GetAt)(::windows::core::Vtable::as_raw(self), in_dwindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISideShowCapabilitiesCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowCapabilitiesCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowCapabilitiesCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -149,7 +149,7 @@ impl ISideShowContent { (::windows::core::Vtable::vtable(self).DifferentiateContent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISideShowContent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowContent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowContent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -210,7 +210,7 @@ impl ISideShowContentManager { (::windows::core::Vtable::vtable(self).GetDeviceCapabilities)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISideShowContentManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowContentManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowContentManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -270,7 +270,7 @@ impl ISideShowEvents { (::windows::core::Vtable::vtable(self).DeviceRemoved)(::windows::core::Vtable::as_raw(self), in_pidevice.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISideShowEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -326,7 +326,7 @@ impl ISideShowKeyCollection { (::windows::core::Vtable::vtable(self).RemoveAt)(::windows::core::Vtable::as_raw(self), dwindex).ok() } } -::windows::core::interface_hierarchy!(ISideShowKeyCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowKeyCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowKeyCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -422,7 +422,7 @@ impl ISideShowNotification { (::windows::core::Vtable::vtable(self).SetExpirationTime)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(in_ptime.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(ISideShowNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -489,7 +489,7 @@ impl ISideShowNotificationManager { (::windows::core::Vtable::vtable(self).RevokeAll)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISideShowNotificationManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowNotificationManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowNotificationManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -544,7 +544,7 @@ impl ISideShowPropVariantCollection { (::windows::core::Vtable::vtable(self).RemoveAt)(::windows::core::Vtable::as_raw(self), dwindex).ok() } } -::windows::core::interface_hierarchy!(ISideShowPropVariantCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowPropVariantCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowPropVariantCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -596,7 +596,7 @@ impl ISideShowSession { (::windows::core::Vtable::vtable(self).RegisterNotifications)(::windows::core::Vtable::as_raw(self), in_applicationid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISideShowSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISideShowSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISideShowSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/StationsAndDesktops/mod.rs b/crates/libs/windows/src/Windows/Win32/System/StationsAndDesktops/mod.rs index 1b43750d19..b42d843ca1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/StationsAndDesktops/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/StationsAndDesktops/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn BroadcastSystemMessageA ( flags : u32 , lpinfo : *mut u32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn BroadcastSystemMessageA ( flags : u32 , lpinfo : *mut u32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> i32 ); BroadcastSystemMessageA(flags, ::core::mem::transmute(lpinfo.unwrap_or(::std::ptr::null_mut())), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn BroadcastSystemMessageExA ( flags : BROADCAST_SYSTEM_MESSAGE_FLAGS , lpinfo : *mut BROADCAST_SYSTEM_MESSAGE_INFO , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , pbsminfo : *mut BSMINFO ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn BroadcastSystemMessageExA ( flags : BROADCAST_SYSTEM_MESSAGE_FLAGS , lpinfo : *mut BROADCAST_SYSTEM_MESSAGE_INFO , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , pbsminfo : *mut BSMINFO ) -> i32 ); BroadcastSystemMessageExA(flags, ::core::mem::transmute(lpinfo.unwrap_or(::std::ptr::null_mut())), msg, wparam.into(), lparam.into(), ::core::mem::transmute(pbsminfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -28,7 +28,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn BroadcastSystemMessageExW ( flags : BROADCAST_SYSTEM_MESSAGE_FLAGS , lpinfo : *mut BROADCAST_SYSTEM_MESSAGE_INFO , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , pbsminfo : *mut BSMINFO ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn BroadcastSystemMessageExW ( flags : BROADCAST_SYSTEM_MESSAGE_FLAGS , lpinfo : *mut BROADCAST_SYSTEM_MESSAGE_INFO , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , pbsminfo : *mut BSMINFO ) -> i32 ); BroadcastSystemMessageExW(flags, ::core::mem::transmute(lpinfo.unwrap_or(::std::ptr::null_mut())), msg, wparam.into(), lparam.into(), ::core::mem::transmute(pbsminfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -39,7 +39,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn BroadcastSystemMessageW ( flags : BROADCAST_SYSTEM_MESSAGE_FLAGS , lpinfo : *mut BROADCAST_SYSTEM_MESSAGE_INFO , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn BroadcastSystemMessageW ( flags : BROADCAST_SYSTEM_MESSAGE_FLAGS , lpinfo : *mut BROADCAST_SYSTEM_MESSAGE_INFO , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> i32 ); BroadcastSystemMessageW(flags, ::core::mem::transmute(lpinfo.unwrap_or(::std::ptr::null_mut())), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -49,7 +49,7 @@ pub unsafe fn CloseDesktop(hdesktop: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CloseDesktop ( hdesktop : HDESK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CloseDesktop ( hdesktop : HDESK ) -> super::super::Foundation:: BOOL ); CloseDesktop(hdesktop.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -59,7 +59,7 @@ pub unsafe fn CloseWindowStation(hwinsta: P0) -> super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CloseWindowStation ( hwinsta : HWINSTA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CloseWindowStation ( hwinsta : HWINSTA ) -> super::super::Foundation:: BOOL ); CloseWindowStation(hwinsta.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"] @@ -70,9 +70,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CreateDesktopA ( lpszdesktop : :: windows::core::PCSTR , lpszdevice : :: windows::core::PCSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEA , dwflags : DESKTOP_CONTROL_FLAGS , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> HDESK ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateDesktopA ( lpszdesktop : :: windows::core::PCSTR , lpszdevice : :: windows::core::PCSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEA , dwflags : DESKTOP_CONTROL_FLAGS , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> HDESK ); let result__ = CreateDesktopA(lpszdesktop.into().abi(), lpszdevice.into().abi(), ::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null())), dwflags, dwdesiredaccess, ::core::mem::transmute(lpsa.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] @@ -82,9 +82,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CreateDesktopExA ( lpszdesktop : :: windows::core::PCSTR , lpszdevice : :: windows::core::PCSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEA , dwflags : DESKTOP_CONTROL_FLAGS , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES , ulheapsize : u32 , pvoid : *const ::core::ffi::c_void ) -> HDESK ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateDesktopExA ( lpszdesktop : :: windows::core::PCSTR , lpszdevice : :: windows::core::PCSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEA , dwflags : DESKTOP_CONTROL_FLAGS , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES , ulheapsize : u32 , pvoid : *const ::core::ffi::c_void ) -> HDESK ); let result__ = CreateDesktopExA(lpszdesktop.into().abi(), lpszdevice.into().abi(), ::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null())), dwflags, dwdesiredaccess, ::core::mem::transmute(lpsa.unwrap_or(::std::ptr::null())), ulheapsize, ::core::mem::transmute(pvoid.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] @@ -94,9 +94,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CreateDesktopExW ( lpszdesktop : :: windows::core::PCWSTR , lpszdevice : :: windows::core::PCWSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEW , dwflags : DESKTOP_CONTROL_FLAGS , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES , ulheapsize : u32 , pvoid : *const ::core::ffi::c_void ) -> HDESK ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateDesktopExW ( lpszdesktop : :: windows::core::PCWSTR , lpszdevice : :: windows::core::PCWSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEW , dwflags : DESKTOP_CONTROL_FLAGS , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES , ulheapsize : u32 , pvoid : *const ::core::ffi::c_void ) -> HDESK ); let result__ = CreateDesktopExW(lpszdesktop.into().abi(), lpszdevice.into().abi(), ::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null())), dwflags, dwdesiredaccess, ::core::mem::transmute(lpsa.unwrap_or(::std::ptr::null())), ulheapsize, ::core::mem::transmute(pvoid.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security"))] @@ -106,9 +106,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CreateDesktopW ( lpszdesktop : :: windows::core::PCWSTR , lpszdevice : :: windows::core::PCWSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEW , dwflags : DESKTOP_CONTROL_FLAGS , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> HDESK ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateDesktopW ( lpszdesktop : :: windows::core::PCWSTR , lpszdevice : :: windows::core::PCWSTR , pdevmode : *const super::super::Graphics::Gdi:: DEVMODEW , dwflags : DESKTOP_CONTROL_FLAGS , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> HDESK ); let result__ = CreateDesktopW(lpszdesktop.into().abi(), lpszdevice.into().abi(), ::core::mem::transmute(pdevmode.unwrap_or(::std::ptr::null())), dwflags, dwdesiredaccess, ::core::mem::transmute(lpsa.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -117,9 +117,9 @@ pub unsafe fn CreateWindowStationA(lpwinsta: P0, dwflags: u32, dwdesiredacce where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CreateWindowStationA ( lpwinsta : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> HWINSTA ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateWindowStationA ( lpwinsta : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> HWINSTA ); let result__ = CreateWindowStationA(lpwinsta.into().abi(), dwflags, dwdesiredaccess, ::core::mem::transmute(lpsa.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -128,9 +128,9 @@ pub unsafe fn CreateWindowStationW(lpwinsta: P0, dwflags: u32, dwdesiredacce where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CreateWindowStationW ( lpwinsta : :: windows::core::PCWSTR , dwflags : u32 , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> HWINSTA ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateWindowStationW ( lpwinsta : :: windows::core::PCWSTR , dwflags : u32 , dwdesiredaccess : u32 , lpsa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> HWINSTA ); let result__ = CreateWindowStationW(lpwinsta.into().abi(), dwflags, dwdesiredaccess, ::core::mem::transmute(lpsa.unwrap_or(::std::ptr::null()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] @@ -140,7 +140,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDesktopWindows ( hdesktop : HDESK , lpfn : super::super::UI::WindowsAndMessaging:: WNDENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDesktopWindows ( hdesktop : HDESK , lpfn : super::super::UI::WindowsAndMessaging:: WNDENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumDesktopWindows(hdesktop.into(), lpfn, lparam.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -151,7 +151,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDesktopsA ( hwinsta : HWINSTA , lpenumfunc : DESKTOPENUMPROCA , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDesktopsA ( hwinsta : HWINSTA , lpenumfunc : DESKTOPENUMPROCA , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumDesktopsA(hwinsta.into(), lpenumfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -162,7 +162,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumDesktopsW ( hwinsta : HWINSTA , lpenumfunc : DESKTOPENUMPROCW , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumDesktopsW ( hwinsta : HWINSTA , lpenumfunc : DESKTOPENUMPROCW , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumDesktopsW(hwinsta.into(), lpenumfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -172,7 +172,7 @@ pub unsafe fn EnumWindowStationsA(lpenumfunc: WINSTAENUMPROCA, lparam: P0) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumWindowStationsA ( lpenumfunc : WINSTAENUMPROCA , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumWindowStationsA ( lpenumfunc : WINSTAENUMPROCA , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumWindowStationsA(lpenumfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -182,22 +182,22 @@ pub unsafe fn EnumWindowStationsW(lpenumfunc: WINSTAENUMPROCW, lparam: P0) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumWindowStationsW ( lpenumfunc : WINSTAENUMPROCW , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumWindowStationsW ( lpenumfunc : WINSTAENUMPROCW , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumWindowStationsW(lpenumfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`*"] #[inline] pub unsafe fn GetProcessWindowStation() -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn GetProcessWindowStation ( ) -> HWINSTA ); + ::windows::imp::link ! ( "user32.dll""system" fn GetProcessWindowStation ( ) -> HWINSTA ); let result__ = GetProcessWindowStation(); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`*"] #[inline] pub unsafe fn GetThreadDesktop(dwthreadid: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn GetThreadDesktop ( dwthreadid : u32 ) -> HDESK ); + ::windows::imp::link ! ( "user32.dll""system" fn GetThreadDesktop ( dwthreadid : u32 ) -> HDESK ); let result__ = GetThreadDesktop(dwthreadid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -206,7 +206,7 @@ pub unsafe fn GetUserObjectInformationA(hobj: P0, nindex: USER_OBJECT_INFORM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetUserObjectInformationA ( hobj : super::super::Foundation:: HANDLE , nindex : USER_OBJECT_INFORMATION_INDEX , pvinfo : *mut ::core::ffi::c_void , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetUserObjectInformationA ( hobj : super::super::Foundation:: HANDLE , nindex : USER_OBJECT_INFORMATION_INDEX , pvinfo : *mut ::core::ffi::c_void , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUserObjectInformationA(hobj.into(), nindex, ::core::mem::transmute(pvinfo.unwrap_or(::std::ptr::null_mut())), nlength, ::core::mem::transmute(lpnlengthneeded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -216,7 +216,7 @@ pub unsafe fn GetUserObjectInformationW(hobj: P0, nindex: USER_OBJECT_INFORM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetUserObjectInformationW ( hobj : super::super::Foundation:: HANDLE , nindex : USER_OBJECT_INFORMATION_INDEX , pvinfo : *mut ::core::ffi::c_void , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetUserObjectInformationW ( hobj : super::super::Foundation:: HANDLE , nindex : USER_OBJECT_INFORMATION_INDEX , pvinfo : *mut ::core::ffi::c_void , nlength : u32 , lpnlengthneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUserObjectInformationW(hobj.into(), nindex, ::core::mem::transmute(pvinfo.unwrap_or(::std::ptr::null_mut())), nlength, ::core::mem::transmute(lpnlengthneeded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -227,9 +227,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn OpenDesktopA ( lpszdesktop : :: windows::core::PCSTR , dwflags : DESKTOP_CONTROL_FLAGS , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> HDESK ); + ::windows::imp::link ! ( "user32.dll""system" fn OpenDesktopA ( lpszdesktop : :: windows::core::PCSTR , dwflags : DESKTOP_CONTROL_FLAGS , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> HDESK ); let result__ = OpenDesktopA(lpszdesktop.into().abi(), dwflags, finherit.into(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -239,9 +239,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn OpenDesktopW ( lpszdesktop : :: windows::core::PCWSTR , dwflags : DESKTOP_CONTROL_FLAGS , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> HDESK ); + ::windows::imp::link ! ( "user32.dll""system" fn OpenDesktopW ( lpszdesktop : :: windows::core::PCWSTR , dwflags : DESKTOP_CONTROL_FLAGS , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> HDESK ); let result__ = OpenDesktopW(lpszdesktop.into().abi(), dwflags, finherit.into(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -250,9 +250,9 @@ pub unsafe fn OpenInputDesktop(dwflags: DESKTOP_CONTROL_FLAGS, finherit: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn OpenInputDesktop ( dwflags : DESKTOP_CONTROL_FLAGS , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : DESKTOP_ACCESS_FLAGS ) -> HDESK ); + ::windows::imp::link ! ( "user32.dll""system" fn OpenInputDesktop ( dwflags : DESKTOP_CONTROL_FLAGS , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : DESKTOP_ACCESS_FLAGS ) -> HDESK ); let result__ = OpenInputDesktop(dwflags, finherit.into(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -262,9 +262,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn OpenWindowStationA ( lpszwinsta : :: windows::core::PCSTR , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> HWINSTA ); + ::windows::imp::link ! ( "user32.dll""system" fn OpenWindowStationA ( lpszwinsta : :: windows::core::PCSTR , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> HWINSTA ); let result__ = OpenWindowStationA(lpszwinsta.into().abi(), finherit.into(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -274,9 +274,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn OpenWindowStationW ( lpszwinsta : :: windows::core::PCWSTR , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> HWINSTA ); + ::windows::imp::link ! ( "user32.dll""system" fn OpenWindowStationW ( lpszwinsta : :: windows::core::PCWSTR , finherit : super::super::Foundation:: BOOL , dwdesiredaccess : u32 ) -> HWINSTA ); let result__ = OpenWindowStationW(lpszwinsta.into().abi(), finherit.into(), dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -285,7 +285,7 @@ pub unsafe fn SetProcessWindowStation(hwinsta: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetProcessWindowStation ( hwinsta : HWINSTA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetProcessWindowStation ( hwinsta : HWINSTA ) -> super::super::Foundation:: BOOL ); SetProcessWindowStation(hwinsta.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -295,7 +295,7 @@ pub unsafe fn SetThreadDesktop(hdesktop: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetThreadDesktop ( hdesktop : HDESK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetThreadDesktop ( hdesktop : HDESK ) -> super::super::Foundation:: BOOL ); SetThreadDesktop(hdesktop.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -305,7 +305,7 @@ pub unsafe fn SetUserObjectInformationA(hobj: P0, nindex: i32, pvinfo: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetUserObjectInformationA ( hobj : super::super::Foundation:: HANDLE , nindex : i32 , pvinfo : *const ::core::ffi::c_void , nlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetUserObjectInformationA ( hobj : super::super::Foundation:: HANDLE , nindex : i32 , pvinfo : *const ::core::ffi::c_void , nlength : u32 ) -> super::super::Foundation:: BOOL ); SetUserObjectInformationA(hobj.into(), nindex, pvinfo, nlength) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -315,7 +315,7 @@ pub unsafe fn SetUserObjectInformationW(hobj: P0, nindex: i32, pvinfo: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetUserObjectInformationW ( hobj : super::super::Foundation:: HANDLE , nindex : i32 , pvinfo : *const ::core::ffi::c_void , nlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetUserObjectInformationW ( hobj : super::super::Foundation:: HANDLE , nindex : i32 , pvinfo : *const ::core::ffi::c_void , nlength : u32 ) -> super::super::Foundation:: BOOL ); SetUserObjectInformationW(hobj.into(), nindex, pvinfo, nlength) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`, `\"Win32_Foundation\"`*"] @@ -325,7 +325,7 @@ pub unsafe fn SwitchDesktop(hdesktop: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SwitchDesktop ( hdesktop : HDESK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SwitchDesktop ( hdesktop : HDESK ) -> super::super::Foundation:: BOOL ); SwitchDesktop(hdesktop.into()) } #[doc = "*Required features: `\"Win32_System_StationsAndDesktops\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs index 14339b0052..32d67e6adb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn WslConfigureDistribution(distributionname: P0, defaultuid: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslConfigureDistribution ( distributionname : :: windows::core::PCWSTR , defaultuid : u32 , wsldistributionflags : WSL_DISTRIBUTION_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslConfigureDistribution ( distributionname : :: windows::core::PCWSTR , defaultuid : u32 , wsldistributionflags : WSL_DISTRIBUTION_FLAGS ) -> :: windows::core::HRESULT ); WslConfigureDistribution(distributionname.into().abi(), defaultuid, wsldistributionflags).ok() } #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] @@ -13,7 +13,7 @@ pub unsafe fn WslGetDistributionConfiguration(distributionname: P0, distribu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslGetDistributionConfiguration ( distributionname : :: windows::core::PCWSTR , distributionversion : *mut u32 , defaultuid : *mut u32 , wsldistributionflags : *mut WSL_DISTRIBUTION_FLAGS , defaultenvironmentvariables : *mut *mut :: windows::core::PSTR , defaultenvironmentvariablecount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslGetDistributionConfiguration ( distributionname : :: windows::core::PCWSTR , distributionversion : *mut u32 , defaultuid : *mut u32 , wsldistributionflags : *mut WSL_DISTRIBUTION_FLAGS , defaultenvironmentvariables : *mut *mut :: windows::core::PSTR , defaultenvironmentvariablecount : *mut u32 ) -> :: windows::core::HRESULT ); WslGetDistributionConfiguration(distributionname.into().abi(), distributionversion, defaultuid, wsldistributionflags, defaultenvironmentvariables, defaultenvironmentvariablecount).ok() } #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] @@ -23,7 +23,7 @@ pub unsafe fn WslIsDistributionRegistered(distributionname: P0) -> super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslIsDistributionRegistered ( distributionname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslIsDistributionRegistered ( distributionname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WslIsDistributionRegistered(distributionname.into().abi()) } #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`, `\"Win32_Foundation\"`*"] @@ -38,7 +38,7 @@ where P4: ::std::convert::Into, P5: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslLaunch ( distributionname : :: windows::core::PCWSTR , command : :: windows::core::PCWSTR , usecurrentworkingdirectory : super::super::Foundation:: BOOL , stdin : super::super::Foundation:: HANDLE , stdout : super::super::Foundation:: HANDLE , stderr : super::super::Foundation:: HANDLE , process : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslLaunch ( distributionname : :: windows::core::PCWSTR , command : :: windows::core::PCWSTR , usecurrentworkingdirectory : super::super::Foundation:: BOOL , stdin : super::super::Foundation:: HANDLE , stdout : super::super::Foundation:: HANDLE , stderr : super::super::Foundation:: HANDLE , process : *mut super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WslLaunch(distributionname.into().abi(), command.into().abi(), usecurrentworkingdirectory.into(), stdin.into(), stdout.into(), stderr.into(), &mut result__).from_abi(result__) } @@ -51,7 +51,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslLaunchInteractive ( distributionname : :: windows::core::PCWSTR , command : :: windows::core::PCWSTR , usecurrentworkingdirectory : super::super::Foundation:: BOOL , exitcode : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslLaunchInteractive ( distributionname : :: windows::core::PCWSTR , command : :: windows::core::PCWSTR , usecurrentworkingdirectory : super::super::Foundation:: BOOL , exitcode : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WslLaunchInteractive(distributionname.into().abi(), command.into().abi(), usecurrentworkingdirectory.into(), &mut result__).from_abi(result__) } @@ -62,7 +62,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslRegisterDistribution ( distributionname : :: windows::core::PCWSTR , targzfilename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslRegisterDistribution ( distributionname : :: windows::core::PCWSTR , targzfilename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WslRegisterDistribution(distributionname.into().abi(), targzfilename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] @@ -71,7 +71,7 @@ pub unsafe fn WslUnregisterDistribution(distributionname: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslUnregisterDistribution ( distributionname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-wsl-api-l1-1-0.dll""system" fn WslUnregisterDistribution ( distributionname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); WslUnregisterDistribution(distributionname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_SubsystemForLinux\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs index 41c6eb5eb4..0c8cadb17e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs @@ -5,40 +5,40 @@ pub unsafe fn DnsHostnameToComputerNameExW(hostname: P0, computername: ::win where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DnsHostnameToComputerNameExW ( hostname : :: windows::core::PCWSTR , computername : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DnsHostnameToComputerNameExW ( hostname : :: windows::core::PCWSTR , computername : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); DnsHostnameToComputerNameExW(hostname.into().abi(), ::core::mem::transmute(computername), nsize) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn EnumSystemFirmwareTables(firmwaretableprovidersignature: FIRMWARE_TABLE_PROVIDER, pfirmwaretableenumbuffer: ::core::option::Option<*mut FIRMWARE_TABLE_ID>, buffersize: u32) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn EnumSystemFirmwareTables ( firmwaretableprovidersignature : FIRMWARE_TABLE_PROVIDER , pfirmwaretableenumbuffer : *mut FIRMWARE_TABLE_ID , buffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnumSystemFirmwareTables ( firmwaretableprovidersignature : FIRMWARE_TABLE_PROVIDER , pfirmwaretableenumbuffer : *mut FIRMWARE_TABLE_ID , buffersize : u32 ) -> u32 ); EnumSystemFirmwareTables(firmwaretableprovidersignature, ::core::mem::transmute(pfirmwaretableenumbuffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetComputerNameExA(nametype: COMPUTER_NAME_FORMAT, lpbuffer: ::windows::core::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetComputerNameExA ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetComputerNameExA ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetComputerNameExA(nametype, ::core::mem::transmute(lpbuffer), nsize) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetComputerNameExW(nametype: COMPUTER_NAME_FORMAT, lpbuffer: ::windows::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetComputerNameExW ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetComputerNameExW ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetComputerNameExW(nametype, ::core::mem::transmute(lpbuffer), nsize) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetFirmwareType(firmwaretype: *mut FIRMWARE_TYPE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFirmwareType ( firmwaretype : *mut FIRMWARE_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareType ( firmwaretype : *mut FIRMWARE_TYPE ) -> super::super::Foundation:: BOOL ); GetFirmwareType(firmwaretype) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetIntegratedDisplaySize() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-sysinfo-l1-2-3.dll""system" fn GetIntegratedDisplaySize ( sizeininches : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-sysinfo-l1-2-3.dll""system" fn GetIntegratedDisplaySize ( sizeininches : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetIntegratedDisplaySize(&mut result__).from_abi(result__) } @@ -46,7 +46,7 @@ pub unsafe fn GetIntegratedDisplaySize() -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetLocalTime() -> super::super::Foundation::SYSTEMTIME { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLocalTime ( lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLocalTime ( lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); GetLocalTime(&mut result__); ::std::mem::transmute(result__) @@ -55,56 +55,56 @@ pub unsafe fn GetLocalTime() -> super::super::Foundation::SYSTEMTIME { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetLogicalProcessorInformation(buffer: ::core::option::Option<*mut SYSTEM_LOGICAL_PROCESSOR_INFORMATION>, returnedlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLogicalProcessorInformation ( buffer : *mut SYSTEM_LOGICAL_PROCESSOR_INFORMATION , returnedlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLogicalProcessorInformation ( buffer : *mut SYSTEM_LOGICAL_PROCESSOR_INFORMATION , returnedlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GetLogicalProcessorInformation(::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), returnedlength) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetLogicalProcessorInformationEx(relationshiptype: LOGICAL_PROCESSOR_RELATIONSHIP, buffer: ::core::option::Option<*mut SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX>, returnedlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetLogicalProcessorInformationEx ( relationshiptype : LOGICAL_PROCESSOR_RELATIONSHIP , buffer : *mut SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX , returnedlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetLogicalProcessorInformationEx ( relationshiptype : LOGICAL_PROCESSOR_RELATIONSHIP , buffer : *mut SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX , returnedlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GetLogicalProcessorInformationEx(relationshiptype, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), returnedlength) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(feature = "Win32_System_Diagnostics_Debug")] #[inline] pub unsafe fn GetNativeSystemInfo(lpsysteminfo: *mut SYSTEM_INFO) { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNativeSystemInfo ( lpsysteminfo : *mut SYSTEM_INFO ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNativeSystemInfo ( lpsysteminfo : *mut SYSTEM_INFO ) -> ( ) ); GetNativeSystemInfo(lpsysteminfo) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetOsManufacturingMode(pbenabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-sysinfo-l1-2-3.dll""system" fn GetOsManufacturingMode ( pbenabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-sysinfo-l1-2-3.dll""system" fn GetOsManufacturingMode ( pbenabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetOsManufacturingMode(pbenabled) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetOsSafeBootMode(flags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-sysinfo-l1-2-0.dll""system" fn GetOsSafeBootMode ( flags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-sysinfo-l1-2-0.dll""system" fn GetOsSafeBootMode ( flags : *mut u32 ) -> super::super::Foundation:: BOOL ); GetOsSafeBootMode(flags) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPhysicallyInstalledSystemMemory(totalmemoryinkilobytes: *mut u64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPhysicallyInstalledSystemMemory ( totalmemoryinkilobytes : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPhysicallyInstalledSystemMemory ( totalmemoryinkilobytes : *mut u64 ) -> super::super::Foundation:: BOOL ); GetPhysicallyInstalledSystemMemory(totalmemoryinkilobytes) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetProcessorSystemCycleTime(group: u16, buffer: ::core::option::Option<*mut SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION>, returnedlength: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessorSystemCycleTime ( group : u16 , buffer : *mut SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION , returnedlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessorSystemCycleTime ( group : u16 , buffer : *mut SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION , returnedlength : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProcessorSystemCycleTime(group, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), returnedlength) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetProductInfo(dwosmajorversion: u32, dwosminorversion: u32, dwspmajorversion: u32, dwspminorversion: u32, pdwreturnedproducttype: *mut OS_PRODUCT_TYPE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProductInfo ( dwosmajorversion : u32 , dwosminorversion : u32 , dwspmajorversion : u32 , dwspminorversion : u32 , pdwreturnedproducttype : *mut OS_PRODUCT_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProductInfo ( dwosmajorversion : u32 , dwosminorversion : u32 , dwspmajorversion : u32 , dwspminorversion : u32 , pdwreturnedproducttype : *mut OS_PRODUCT_TYPE ) -> super::super::Foundation:: BOOL ); GetProductInfo(dwosmajorversion, dwosminorversion, dwspmajorversion, dwspminorversion, pdwreturnedproducttype) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -114,25 +114,25 @@ pub unsafe fn GetSystemCpuSetInformation(information: ::core::option::Option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemCpuSetInformation ( information : *mut SYSTEM_CPU_SET_INFORMATION , bufferlength : u32 , returnedlength : *mut u32 , process : super::super::Foundation:: HANDLE , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemCpuSetInformation ( information : *mut SYSTEM_CPU_SET_INFORMATION , bufferlength : u32 , returnedlength : *mut u32 , process : super::super::Foundation:: HANDLE , flags : u32 ) -> super::super::Foundation:: BOOL ); GetSystemCpuSetInformation(::core::mem::transmute(information.unwrap_or(::std::ptr::null_mut())), bufferlength, returnedlength, process.into(), flags) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemDEPPolicy() -> DEP_SYSTEM_POLICY_TYPE { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemDEPPolicy ( ) -> DEP_SYSTEM_POLICY_TYPE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemDEPPolicy ( ) -> DEP_SYSTEM_POLICY_TYPE ); GetSystemDEPPolicy() } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemDirectoryA(lpbuffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemDirectoryA ( lpbuffer : :: windows::core::PSTR , usize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemDirectoryA ( lpbuffer : :: windows::core::PSTR , usize : u32 ) -> u32 ); GetSystemDirectoryA(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemDirectoryW(lpbuffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemDirectoryW ( lpbuffer : :: windows::core::PWSTR , usize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemDirectoryW ( lpbuffer : :: windows::core::PWSTR , usize : u32 ) -> u32 ); GetSystemDirectoryW(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] @@ -141,28 +141,28 @@ pub unsafe fn GetSystemFirmwareTable(firmwaretableprovidersignature: FIRMWAR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemFirmwareTable ( firmwaretableprovidersignature : FIRMWARE_TABLE_PROVIDER , firmwaretableid : FIRMWARE_TABLE_ID , pfirmwaretablebuffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemFirmwareTable ( firmwaretableprovidersignature : FIRMWARE_TABLE_PROVIDER , firmwaretableid : FIRMWARE_TABLE_ID , pfirmwaretablebuffer : *mut ::core::ffi::c_void , buffersize : u32 ) -> u32 ); GetSystemFirmwareTable(firmwaretableprovidersignature, firmwaretableid.into(), ::core::mem::transmute(pfirmwaretablebuffer.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(feature = "Win32_System_Diagnostics_Debug")] #[inline] pub unsafe fn GetSystemInfo(lpsysteminfo: *mut SYSTEM_INFO) { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemInfo ( lpsysteminfo : *mut SYSTEM_INFO ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemInfo ( lpsysteminfo : *mut SYSTEM_INFO ) -> ( ) ); GetSystemInfo(lpsysteminfo) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemLeapSecondInformation(enabled: *mut super::super::Foundation::BOOL, flags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemLeapSecondInformation ( enabled : *mut super::super::Foundation:: BOOL , flags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemLeapSecondInformation ( enabled : *mut super::super::Foundation:: BOOL , flags : *mut u32 ) -> super::super::Foundation:: BOOL ); GetSystemLeapSecondInformation(enabled, flags) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemTime() -> super::super::Foundation::SYSTEMTIME { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemTime ( lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemTime ( lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); GetSystemTime(&mut result__); ::std::mem::transmute(result__) @@ -171,21 +171,21 @@ pub unsafe fn GetSystemTime() -> super::super::Foundation::SYSTEMTIME { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemTimeAdjustment(lptimeadjustment: *mut u32, lptimeincrement: *mut u32, lptimeadjustmentdisabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemTimeAdjustment ( lptimeadjustment : *mut u32 , lptimeincrement : *mut u32 , lptimeadjustmentdisabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemTimeAdjustment ( lptimeadjustment : *mut u32 , lptimeincrement : *mut u32 , lptimeadjustmentdisabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetSystemTimeAdjustment(lptimeadjustment, lptimeincrement, lptimeadjustmentdisabled) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemTimeAdjustmentPrecise(lptimeadjustment: *mut u64, lptimeincrement: *mut u64, lptimeadjustmentdisabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-sysinfo-l1-2-4.dll""system" fn GetSystemTimeAdjustmentPrecise ( lptimeadjustment : *mut u64 , lptimeincrement : *mut u64 , lptimeadjustmentdisabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-sysinfo-l1-2-4.dll""system" fn GetSystemTimeAdjustmentPrecise ( lptimeadjustment : *mut u64 , lptimeincrement : *mut u64 , lptimeadjustmentdisabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetSystemTimeAdjustmentPrecise(lptimeadjustment, lptimeincrement, lptimeadjustmentdisabled) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemTimeAsFileTime() -> super::super::Foundation::FILETIME { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemTimeAsFileTime ( lpsystemtimeasfiletime : *mut super::super::Foundation:: FILETIME ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemTimeAsFileTime ( lpsystemtimeasfiletime : *mut super::super::Foundation:: FILETIME ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); GetSystemTimeAsFileTime(&mut result__); ::std::mem::transmute(result__) @@ -194,7 +194,7 @@ pub unsafe fn GetSystemTimeAsFileTime() -> super::super::Foundation::FILETIME { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemTimePreciseAsFileTime() -> super::super::Foundation::FILETIME { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemTimePreciseAsFileTime ( lpsystemtimeasfiletime : *mut super::super::Foundation:: FILETIME ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemTimePreciseAsFileTime ( lpsystemtimeasfiletime : *mut super::super::Foundation:: FILETIME ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); GetSystemTimePreciseAsFileTime(&mut result__); ::std::mem::transmute(result__) @@ -202,146 +202,146 @@ pub unsafe fn GetSystemTimePreciseAsFileTime() -> super::super::Foundation::FILE #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemWindowsDirectoryA(lpbuffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemWindowsDirectoryA ( lpbuffer : :: windows::core::PSTR , usize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemWindowsDirectoryA ( lpbuffer : :: windows::core::PSTR , usize : u32 ) -> u32 ); GetSystemWindowsDirectoryA(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemWindowsDirectoryW(lpbuffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemWindowsDirectoryW ( lpbuffer : :: windows::core::PWSTR , usize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemWindowsDirectoryW ( lpbuffer : :: windows::core::PWSTR , usize : u32 ) -> u32 ); GetSystemWindowsDirectoryW(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemWow64Directory2A(lpbuffer: ::core::option::Option<&mut [u8]>, imagefilemachinetype: IMAGE_FILE_MACHINE) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-wow64-l1-1-1.dll""system" fn GetSystemWow64Directory2A ( lpbuffer : :: windows::core::PSTR , usize : u32 , imagefilemachinetype : IMAGE_FILE_MACHINE ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-wow64-l1-1-1.dll""system" fn GetSystemWow64Directory2A ( lpbuffer : :: windows::core::PSTR , usize : u32 , imagefilemachinetype : IMAGE_FILE_MACHINE ) -> u32 ); GetSystemWow64Directory2A(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), imagefilemachinetype) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemWow64Directory2W(lpbuffer: ::core::option::Option<&mut [u16]>, imagefilemachinetype: IMAGE_FILE_MACHINE) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-wow64-l1-1-1.dll""system" fn GetSystemWow64Directory2W ( lpbuffer : :: windows::core::PWSTR , usize : u32 , imagefilemachinetype : IMAGE_FILE_MACHINE ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-wow64-l1-1-1.dll""system" fn GetSystemWow64Directory2W ( lpbuffer : :: windows::core::PWSTR , usize : u32 , imagefilemachinetype : IMAGE_FILE_MACHINE ) -> u32 ); GetSystemWow64Directory2W(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _), imagefilemachinetype) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemWow64DirectoryA(lpbuffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemWow64DirectoryA ( lpbuffer : :: windows::core::PSTR , usize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemWow64DirectoryA ( lpbuffer : :: windows::core::PSTR , usize : u32 ) -> u32 ); GetSystemWow64DirectoryA(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetSystemWow64DirectoryW(lpbuffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemWow64DirectoryW ( lpbuffer : :: windows::core::PWSTR , usize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemWow64DirectoryW ( lpbuffer : :: windows::core::PWSTR , usize : u32 ) -> u32 ); GetSystemWow64DirectoryW(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetTickCount() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTickCount ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTickCount ( ) -> u32 ); GetTickCount() } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetTickCount64() -> u64 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTickCount64 ( ) -> u64 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTickCount64 ( ) -> u64 ); GetTickCount64() } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetVersion() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVersion ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVersion ( ) -> u32 ); GetVersion() } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetVersionExA(lpversioninformation: *mut OSVERSIONINFOA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVersionExA ( lpversioninformation : *mut OSVERSIONINFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVersionExA ( lpversioninformation : *mut OSVERSIONINFOA ) -> super::super::Foundation:: BOOL ); GetVersionExA(lpversioninformation) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetVersionExW(lpversioninformation: *mut OSVERSIONINFOW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetVersionExW ( lpversioninformation : *mut OSVERSIONINFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetVersionExW ( lpversioninformation : *mut OSVERSIONINFOW ) -> super::super::Foundation:: BOOL ); GetVersionExW(lpversioninformation) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetWindowsDirectoryA(lpbuffer: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetWindowsDirectoryA ( lpbuffer : :: windows::core::PSTR , usize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetWindowsDirectoryA ( lpbuffer : :: windows::core::PSTR , usize : u32 ) -> u32 ); GetWindowsDirectoryA(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GetWindowsDirectoryW(lpbuffer: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetWindowsDirectoryW ( lpbuffer : :: windows::core::PWSTR , usize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetWindowsDirectoryW ( lpbuffer : :: windows::core::PWSTR , usize : u32 ) -> u32 ); GetWindowsDirectoryW(::core::mem::transmute(lpbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuffer.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn GlobalMemoryStatus(lpbuffer: *mut MEMORYSTATUS) { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalMemoryStatus ( lpbuffer : *mut MEMORYSTATUS ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalMemoryStatus ( lpbuffer : *mut MEMORYSTATUS ) -> ( ) ); GlobalMemoryStatus(lpbuffer) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GlobalMemoryStatusEx(lpbuffer: *mut MEMORYSTATUSEX) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalMemoryStatusEx ( lpbuffer : *mut MEMORYSTATUSEX ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalMemoryStatusEx ( lpbuffer : *mut MEMORYSTATUSEX ) -> super::super::Foundation:: BOOL ); GlobalMemoryStatusEx(lpbuffer) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsUserCetAvailableInEnvironment(usercetenvironment: USER_CET_ENVIRONMENT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsUserCetAvailableInEnvironment ( usercetenvironment : USER_CET_ENVIRONMENT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsUserCetAvailableInEnvironment ( usercetenvironment : USER_CET_ENVIRONMENT ) -> super::super::Foundation:: BOOL ); IsUserCetAvailableInEnvironment(usercetenvironment) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsWow64GuestMachineSupported(wowguestmachine: IMAGE_FILE_MACHINE) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn IsWow64GuestMachineSupported ( wowguestmachine : IMAGE_FILE_MACHINE , machineissupported : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsWow64GuestMachineSupported ( wowguestmachine : IMAGE_FILE_MACHINE , machineissupported : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IsWow64GuestMachineSupported(wowguestmachine, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn RtlConvertDeviceFamilyInfoToString(puldevicefamilybuffersize: *mut u32, puldeviceformbuffersize: *mut u32, devicefamily: ::windows::core::PWSTR, deviceform: ::windows::core::PWSTR) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlConvertDeviceFamilyInfoToString ( puldevicefamilybuffersize : *mut u32 , puldeviceformbuffersize : *mut u32 , devicefamily : :: windows::core::PWSTR , deviceform : :: windows::core::PWSTR ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlConvertDeviceFamilyInfoToString ( puldevicefamilybuffersize : *mut u32 , puldeviceformbuffersize : *mut u32 , devicefamily : :: windows::core::PWSTR , deviceform : :: windows::core::PWSTR ) -> u32 ); RtlConvertDeviceFamilyInfoToString(puldevicefamilybuffersize, puldeviceformbuffersize, ::core::mem::transmute(devicefamily), ::core::mem::transmute(deviceform)) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn RtlGetDeviceFamilyInfoEnum(pulluapinfo: ::core::option::Option<*mut u64>, puldevicefamily: ::core::option::Option<*mut DEVICEFAMILYINFOENUM>, puldeviceform: ::core::option::Option<*mut DEVICEFAMILYDEVICEFORM>) { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlGetDeviceFamilyInfoEnum ( pulluapinfo : *mut u64 , puldevicefamily : *mut DEVICEFAMILYINFOENUM , puldeviceform : *mut DEVICEFAMILYDEVICEFORM ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlGetDeviceFamilyInfoEnum ( pulluapinfo : *mut u64 , puldevicefamily : *mut DEVICEFAMILYINFOENUM , puldeviceform : *mut DEVICEFAMILYDEVICEFORM ) -> ( ) ); RtlGetDeviceFamilyInfoEnum(::core::mem::transmute(pulluapinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(puldevicefamily.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(puldeviceform.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlGetProductInfo(osmajorversion: u32, osminorversion: u32, spmajorversion: u32, spminorversion: u32, returnedproducttype: *mut u32) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlGetProductInfo ( osmajorversion : u32 , osminorversion : u32 , spmajorversion : u32 , spminorversion : u32 , returnedproducttype : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlGetProductInfo ( osmajorversion : u32 , osminorversion : u32 , spmajorversion : u32 , spminorversion : u32 , returnedproducttype : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); RtlGetProductInfo(osmajorversion, osminorversion, spmajorversion, spminorversion, returnedproducttype) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn RtlGetSystemGlobalData(dataid: RTL_SYSTEM_GLOBAL_DATA_ID, buffer: *mut ::core::ffi::c_void, size: u32) -> u32 { - ::windows::core::link ! ( "ntdllk.dll""system" fn RtlGetSystemGlobalData ( dataid : RTL_SYSTEM_GLOBAL_DATA_ID , buffer : *mut ::core::ffi::c_void , size : u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdllk.dll""system" fn RtlGetSystemGlobalData ( dataid : RTL_SYSTEM_GLOBAL_DATA_ID , buffer : *mut ::core::ffi::c_void , size : u32 ) -> u32 ); RtlGetSystemGlobalData(dataid, buffer, size) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn RtlOsDeploymentState(flags: u32) -> OS_DEPLOYEMENT_STATE_VALUES { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlOsDeploymentState ( flags : u32 ) -> OS_DEPLOYEMENT_STATE_VALUES ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlOsDeploymentState ( flags : u32 ) -> OS_DEPLOYEMENT_STATE_VALUES ); RtlOsDeploymentState(flags) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn RtlSwitchedVVI(versioninfo: *const OSVERSIONINFOEXW, typemask: u32, conditionmask: u64) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlSwitchedVVI ( versioninfo : *const OSVERSIONINFOEXW , typemask : u32 , conditionmask : u64 ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlSwitchedVVI ( versioninfo : *const OSVERSIONINFOEXW , typemask : u32 , conditionmask : u64 ) -> u32 ); RtlSwitchedVVI(versioninfo, typemask, conditionmask) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn SetComputerNameA(lpcomputername: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetComputerNameA ( lpcomputername : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetComputerNameA ( lpcomputername : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetComputerNameA(lpcomputername.into().abi()) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -361,7 +361,7 @@ pub unsafe fn SetComputerNameEx2W(nametype: COMPUTER_NAME_FORMAT, flags: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetComputerNameEx2W ( nametype : COMPUTER_NAME_FORMAT , flags : u32 , lpbuffer : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetComputerNameEx2W ( nametype : COMPUTER_NAME_FORMAT , flags : u32 , lpbuffer : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetComputerNameEx2W(nametype, flags, lpbuffer.into().abi()) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -371,7 +371,7 @@ pub unsafe fn SetComputerNameExA(nametype: COMPUTER_NAME_FORMAT, lpbuffer: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetComputerNameExA ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetComputerNameExA ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetComputerNameExA(nametype, lpbuffer.into().abi()) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -381,7 +381,7 @@ pub unsafe fn SetComputerNameExW(nametype: COMPUTER_NAME_FORMAT, lpbuffer: P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetComputerNameExW ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetComputerNameExW ( nametype : COMPUTER_NAME_FORMAT , lpbuffer : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetComputerNameExW(nametype, lpbuffer.into().abi()) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -391,21 +391,21 @@ pub unsafe fn SetComputerNameW(lpcomputername: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetComputerNameW ( lpcomputername : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetComputerNameW ( lpcomputername : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetComputerNameW(lpcomputername.into().abi()) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetLocalTime(lpsystemtime: *const super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetLocalTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetLocalTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); SetLocalTime(lpsystemtime) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetSystemTime(lpsystemtime: *const super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetSystemTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetSystemTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); SetSystemTime(lpsystemtime) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -415,7 +415,7 @@ pub unsafe fn SetSystemTimeAdjustment(dwtimeadjustment: u32, btimeadjustment where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetSystemTimeAdjustment ( dwtimeadjustment : u32 , btimeadjustmentdisabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetSystemTimeAdjustment ( dwtimeadjustment : u32 , btimeadjustmentdisabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetSystemTimeAdjustment(dwtimeadjustment, btimeadjustmentdisabled.into()) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] @@ -425,27 +425,27 @@ pub unsafe fn SetSystemTimeAdjustmentPrecise(dwtimeadjustment: u64, btimeadj where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-sysinfo-l1-2-4.dll""system" fn SetSystemTimeAdjustmentPrecise ( dwtimeadjustment : u64 , btimeadjustmentdisabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-sysinfo-l1-2-4.dll""system" fn SetSystemTimeAdjustmentPrecise ( dwtimeadjustment : u64 , btimeadjustmentdisabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetSystemTimeAdjustmentPrecise(dwtimeadjustment, btimeadjustmentdisabled.into()) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] #[inline] pub unsafe fn VerSetConditionMask(conditionmask: u64, typemask: VER_FLAGS, condition: u8) -> u64 { - ::windows::core::link ! ( "kernel32.dll""system" fn VerSetConditionMask ( conditionmask : u64 , typemask : VER_FLAGS , condition : u8 ) -> u64 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VerSetConditionMask ( conditionmask : u64 , typemask : VER_FLAGS , condition : u8 ) -> u64 ); VerSetConditionMask(conditionmask, typemask, condition) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VerifyVersionInfoA(lpversioninformation: *mut OSVERSIONINFOEXA, dwtypemask: VER_FLAGS, dwlconditionmask: u64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn VerifyVersionInfoA ( lpversioninformation : *mut OSVERSIONINFOEXA , dwtypemask : VER_FLAGS , dwlconditionmask : u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VerifyVersionInfoA ( lpversioninformation : *mut OSVERSIONINFOEXA , dwtypemask : VER_FLAGS , dwlconditionmask : u64 ) -> super::super::Foundation:: BOOL ); VerifyVersionInfoA(lpversioninformation, dwtypemask, dwlconditionmask) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn VerifyVersionInfoW(lpversioninformation: *mut OSVERSIONINFOEXW, dwtypemask: VER_FLAGS, dwlconditionmask: u64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn VerifyVersionInfoW ( lpversioninformation : *mut OSVERSIONINFOEXW , dwtypemask : VER_FLAGS , dwlconditionmask : u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn VerifyVersionInfoW ( lpversioninformation : *mut OSVERSIONINFOEXW , dwtypemask : VER_FLAGS , dwlconditionmask : u64 ) -> super::super::Foundation:: BOOL ); VerifyVersionInfoW(lpversioninformation, dwtypemask, dwlconditionmask) } #[doc = "*Required features: `\"Win32_System_SystemInformation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs index 7506f0d79d..dee2dc7c9d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs @@ -2,7 +2,7 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UnregisterDeviceNotification(handle: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterDeviceNotification ( handle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterDeviceNotification ( handle : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); UnregisterDeviceNotification(handle) } #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs index 14f942040b..a48d2cff54 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs @@ -15,7 +15,7 @@ impl IAction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAction, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAction, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAction { fn eq(&self, other: &Self) -> bool { @@ -100,7 +100,7 @@ impl IActionCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IActionCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IActionCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IActionCollection { fn eq(&self, other: &Self) -> bool { @@ -222,7 +222,7 @@ impl IBootTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IBootTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(IBootTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IBootTrigger { fn eq(&self, other: &Self) -> bool { @@ -288,7 +288,7 @@ impl IComHandlerAction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IComHandlerAction, ::windows::core::IUnknown, super::Com::IDispatch, IAction); +::windows::imp::interface_hierarchy!(IComHandlerAction, ::windows::core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IComHandlerAction { fn eq(&self, other: &Self) -> bool { @@ -401,7 +401,7 @@ impl IDailyTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDailyTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(IDailyTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDailyTrigger { fn eq(&self, other: &Self) -> bool { @@ -529,7 +529,7 @@ impl IEmailAction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEmailAction, ::windows::core::IUnknown, super::Com::IDispatch, IAction); +::windows::imp::interface_hierarchy!(IEmailAction, ::windows::core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEmailAction { fn eq(&self, other: &Self) -> bool { @@ -614,7 +614,7 @@ impl IEnumWorkItems { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumWorkItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumWorkItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumWorkItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -734,7 +734,7 @@ impl IEventTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEventTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(IEventTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEventTrigger { fn eq(&self, other: &Self) -> bool { @@ -816,7 +816,7 @@ impl IExecAction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IExecAction, ::windows::core::IUnknown, super::Com::IDispatch, IAction); +::windows::imp::interface_hierarchy!(IExecAction, ::windows::core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IExecAction { fn eq(&self, other: &Self) -> bool { @@ -905,7 +905,7 @@ impl IExecAction2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IExecAction2, ::windows::core::IUnknown, super::Com::IDispatch, IAction, IExecAction); +::windows::imp::interface_hierarchy!(IExecAction2, ::windows::core::IUnknown, super::Com::IDispatch, IAction, IExecAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IExecAction2 { fn eq(&self, other: &Self) -> bool { @@ -994,7 +994,7 @@ impl IIdleSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IIdleSettings, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IIdleSettings, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IIdleSettings { fn eq(&self, other: &Self) -> bool { @@ -1111,7 +1111,7 @@ impl IIdleTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IIdleTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(IIdleTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IIdleTrigger { fn eq(&self, other: &Self) -> bool { @@ -1220,7 +1220,7 @@ impl ILogonTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ILogonTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(ILogonTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ILogonTrigger { fn eq(&self, other: &Self) -> bool { @@ -1292,7 +1292,7 @@ impl IMaintenanceSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMaintenanceSettings, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMaintenanceSettings, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMaintenanceSettings { fn eq(&self, other: &Self) -> bool { @@ -1438,7 +1438,7 @@ impl IMonthlyDOWTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMonthlyDOWTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(IMonthlyDOWTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMonthlyDOWTrigger { fn eq(&self, other: &Self) -> bool { @@ -1582,7 +1582,7 @@ impl IMonthlyTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMonthlyTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(IMonthlyTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMonthlyTrigger { fn eq(&self, other: &Self) -> bool { @@ -1651,7 +1651,7 @@ impl INetworkSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INetworkSettings, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(INetworkSettings, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INetworkSettings { fn eq(&self, other: &Self) -> bool { @@ -1734,7 +1734,7 @@ impl IPrincipal { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrincipal, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrincipal, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrincipal { fn eq(&self, other: &Self) -> bool { @@ -1804,7 +1804,7 @@ impl IPrincipal2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPrincipal2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPrincipal2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPrincipal2 { fn eq(&self, other: &Self) -> bool { @@ -1858,7 +1858,7 @@ impl IProvideTaskPage { (::windows::core::Vtable::vtable(self).GetPage)(::windows::core::Vtable::as_raw(self), tptype, fpersistchanges.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IProvideTaskPage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProvideTaskPage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProvideTaskPage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1983,7 +1983,7 @@ impl IRegisteredTask { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRegisteredTask, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRegisteredTask, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRegisteredTask { fn eq(&self, other: &Self) -> bool { @@ -2079,7 +2079,7 @@ impl IRegisteredTaskCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRegisteredTaskCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRegisteredTaskCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRegisteredTaskCollection { fn eq(&self, other: &Self) -> bool { @@ -2186,7 +2186,7 @@ impl IRegistrationInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRegistrationInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRegistrationInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRegistrationInfo { fn eq(&self, other: &Self) -> bool { @@ -2313,7 +2313,7 @@ impl IRegistrationTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRegistrationTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(IRegistrationTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRegistrationTrigger { fn eq(&self, other: &Self) -> bool { @@ -2383,7 +2383,7 @@ impl IRepetitionPattern { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRepetitionPattern, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRepetitionPattern, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRepetitionPattern { fn eq(&self, other: &Self) -> bool { @@ -2468,7 +2468,7 @@ impl IRunningTask { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRunningTask, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRunningTask, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRunningTask { fn eq(&self, other: &Self) -> bool { @@ -2533,7 +2533,7 @@ impl IRunningTaskCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRunningTaskCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRunningTaskCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRunningTaskCollection { fn eq(&self, other: &Self) -> bool { @@ -2699,7 +2699,7 @@ impl IScheduledWorkItem { (::windows::core::Vtable::vtable(self).GetAccountInformation)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IScheduledWorkItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IScheduledWorkItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IScheduledWorkItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2848,7 +2848,7 @@ impl ISessionStateChangeTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISessionStateChangeTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(ISessionStateChangeTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISessionStateChangeTrigger { fn eq(&self, other: &Self) -> bool { @@ -2918,7 +2918,7 @@ impl IShowMessageAction { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShowMessageAction, ::windows::core::IUnknown, super::Com::IDispatch, IAction); +::windows::imp::interface_hierarchy!(IShowMessageAction, ::windows::core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShowMessageAction { fn eq(&self, other: &Self) -> bool { @@ -3133,7 +3133,7 @@ impl ITask { (::windows::core::Vtable::vtable(self).GetMaxRunTime)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITask, ::windows::core::IUnknown, IScheduledWorkItem); +::windows::imp::interface_hierarchy!(ITask, ::windows::core::IUnknown, IScheduledWorkItem); impl ::core::cmp::PartialEq for ITask { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3263,7 +3263,7 @@ impl ITaskDefinition { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskDefinition, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITaskDefinition, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskDefinition { fn eq(&self, other: &Self) -> bool { @@ -3416,7 +3416,7 @@ impl ITaskFolder { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskFolder, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITaskFolder, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskFolder { fn eq(&self, other: &Self) -> bool { @@ -3507,7 +3507,7 @@ impl ITaskFolderCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskFolderCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITaskFolderCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskFolderCollection { fn eq(&self, other: &Self) -> bool { @@ -3569,7 +3569,7 @@ impl ITaskHandler { (::windows::core::Vtable::vtable(self).Resume)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITaskHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITaskHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITaskHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3612,7 +3612,7 @@ impl ITaskHandlerStatus { (::windows::core::Vtable::vtable(self).TaskCompleted)(::windows::core::Vtable::as_raw(self), taskerrcode).ok() } } -::windows::core::interface_hierarchy!(ITaskHandlerStatus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITaskHandlerStatus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITaskHandlerStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3675,7 +3675,7 @@ impl ITaskNamedValueCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskNamedValueCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITaskNamedValueCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskNamedValueCollection { fn eq(&self, other: &Self) -> bool { @@ -3742,7 +3742,7 @@ impl ITaskNamedValuePair { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskNamedValuePair, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITaskNamedValuePair, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskNamedValuePair { fn eq(&self, other: &Self) -> bool { @@ -3833,7 +3833,7 @@ impl ITaskScheduler { (::windows::core::Vtable::vtable(self).IsOfType)(::windows::core::Vtable::as_raw(self), pwszname.into().abi(), riid).ok() } } -::windows::core::interface_hierarchy!(ITaskScheduler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITaskScheduler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITaskScheduler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3922,7 +3922,7 @@ impl ITaskService { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskService, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITaskService, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskService { fn eq(&self, other: &Self) -> bool { @@ -4195,7 +4195,7 @@ impl ITaskSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskSettings, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITaskSettings, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskSettings { fn eq(&self, other: &Self) -> bool { @@ -4376,7 +4376,7 @@ impl ITaskSettings2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskSettings2, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITaskSettings2, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskSettings2 { fn eq(&self, other: &Self) -> bool { @@ -4700,7 +4700,7 @@ impl ITaskSettings3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITaskSettings3, ::windows::core::IUnknown, super::Com::IDispatch, ITaskSettings); +::windows::imp::interface_hierarchy!(ITaskSettings3, ::windows::core::IUnknown, super::Com::IDispatch, ITaskSettings); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITaskSettings3 { fn eq(&self, other: &Self) -> bool { @@ -4786,7 +4786,7 @@ impl ITaskTrigger { (::windows::core::Vtable::vtable(self).GetTriggerString)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITaskTrigger, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITaskTrigger, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITaskTrigger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4833,7 +4833,7 @@ impl ITaskVariables { (::windows::core::Vtable::vtable(self).GetContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITaskVariables, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITaskVariables, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITaskVariables { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4932,7 +4932,7 @@ impl ITimeTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITimeTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(ITimeTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITimeTrigger { fn eq(&self, other: &Self) -> bool { @@ -5031,7 +5031,7 @@ impl ITrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITrigger, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITrigger, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITrigger { fn eq(&self, other: &Self) -> bool { @@ -5126,7 +5126,7 @@ impl ITriggerCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITriggerCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITriggerCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITriggerCollection { fn eq(&self, other: &Self) -> bool { @@ -5256,7 +5256,7 @@ impl IWeeklyTrigger { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWeeklyTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); +::windows::imp::interface_hierarchy!(IWeeklyTrigger, ::windows::core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWeeklyTrigger { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs index 9926a41146..552600121f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs @@ -1,13 +1,13 @@ #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn AcquireSRWLockExclusive(srwlock: *mut RTL_SRWLOCK) { - ::windows::core::link ! ( "kernel32.dll""system" fn AcquireSRWLockExclusive ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AcquireSRWLockExclusive ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); AcquireSRWLockExclusive(srwlock) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn AcquireSRWLockShared(srwlock: *mut RTL_SRWLOCK) { - ::windows::core::link ! ( "kernel32.dll""system" fn AcquireSRWLockShared ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AcquireSRWLockShared ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); AcquireSRWLockShared(srwlock) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -17,7 +17,7 @@ pub unsafe fn AddIntegrityLabelToBoundaryDescriptor(boundarydescriptor: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddIntegrityLabelToBoundaryDescriptor ( boundarydescriptor : *mut super::super::Foundation:: HANDLE , integritylabel : super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddIntegrityLabelToBoundaryDescriptor ( boundarydescriptor : *mut super::super::Foundation:: HANDLE , integritylabel : super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); AddIntegrityLabelToBoundaryDescriptor(boundarydescriptor, integritylabel.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -27,7 +27,7 @@ pub unsafe fn AddSIDToBoundaryDescriptor(boundarydescriptor: *mut super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn AddSIDToBoundaryDescriptor ( boundarydescriptor : *mut super::super::Foundation:: HANDLE , requiredsid : super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn AddSIDToBoundaryDescriptor ( boundarydescriptor : *mut super::super::Foundation:: HANDLE , requiredsid : super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); AddSIDToBoundaryDescriptor(boundarydescriptor, requiredsid.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -37,7 +37,7 @@ pub unsafe fn AttachThreadInput(idattach: u32, idattachto: u32, fattach: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn AttachThreadInput ( idattach : u32 , idattachto : u32 , fattach : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AttachThreadInput ( idattach : u32 , idattachto : u32 , fattach : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); AttachThreadInput(idattach, idattachto, fattach.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -47,7 +47,7 @@ pub unsafe fn AvQuerySystemResponsiveness(avrthandle: P0, systemresponsivene where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avrt.dll""system" fn AvQuerySystemResponsiveness ( avrthandle : super::super::Foundation:: HANDLE , systemresponsivenessvalue : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvQuerySystemResponsiveness ( avrthandle : super::super::Foundation:: HANDLE , systemresponsivenessvalue : *mut u32 ) -> super::super::Foundation:: BOOL ); AvQuerySystemResponsiveness(avrthandle.into(), systemresponsivenessvalue) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -57,14 +57,14 @@ pub unsafe fn AvRevertMmThreadCharacteristics(avrthandle: P0) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avrt.dll""system" fn AvRevertMmThreadCharacteristics ( avrthandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvRevertMmThreadCharacteristics ( avrthandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); AvRevertMmThreadCharacteristics(avrthandle.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AvRtCreateThreadOrderingGroup(context: *mut super::super::Foundation::HANDLE, period: *const i64, threadorderingguid: *mut ::windows::core::GUID, timeout: ::core::option::Option<*const i64>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "avrt.dll""system" fn AvRtCreateThreadOrderingGroup ( context : *mut super::super::Foundation:: HANDLE , period : *const i64 , threadorderingguid : *mut :: windows::core::GUID , timeout : *const i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvRtCreateThreadOrderingGroup ( context : *mut super::super::Foundation:: HANDLE , period : *const i64 , threadorderingguid : *mut :: windows::core::GUID , timeout : *const i64 ) -> super::super::Foundation:: BOOL ); AvRtCreateThreadOrderingGroup(context, period, threadorderingguid, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -74,7 +74,7 @@ pub unsafe fn AvRtCreateThreadOrderingGroupExA(context: *mut super::super::F where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "avrt.dll""system" fn AvRtCreateThreadOrderingGroupExA ( context : *mut super::super::Foundation:: HANDLE , period : *const i64 , threadorderingguid : *mut :: windows::core::GUID , timeout : *const i64 , taskname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvRtCreateThreadOrderingGroupExA ( context : *mut super::super::Foundation:: HANDLE , period : *const i64 , threadorderingguid : *mut :: windows::core::GUID , timeout : *const i64 , taskname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AvRtCreateThreadOrderingGroupExA(context, period, threadorderingguid, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), taskname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -84,7 +84,7 @@ pub unsafe fn AvRtCreateThreadOrderingGroupExW(context: *mut super::super::F where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "avrt.dll""system" fn AvRtCreateThreadOrderingGroupExW ( context : *mut super::super::Foundation:: HANDLE , period : *const i64 , threadorderingguid : *mut :: windows::core::GUID , timeout : *const i64 , taskname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvRtCreateThreadOrderingGroupExW ( context : *mut super::super::Foundation:: HANDLE , period : *const i64 , threadorderingguid : *mut :: windows::core::GUID , timeout : *const i64 , taskname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AvRtCreateThreadOrderingGroupExW(context, period, threadorderingguid, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), taskname.into().abi()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -94,7 +94,7 @@ pub unsafe fn AvRtDeleteThreadOrderingGroup(context: P0) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avrt.dll""system" fn AvRtDeleteThreadOrderingGroup ( context : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvRtDeleteThreadOrderingGroup ( context : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); AvRtDeleteThreadOrderingGroup(context.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -104,7 +104,7 @@ pub unsafe fn AvRtJoinThreadOrderingGroup(context: *mut super::super::Founda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avrt.dll""system" fn AvRtJoinThreadOrderingGroup ( context : *mut super::super::Foundation:: HANDLE , threadorderingguid : *const :: windows::core::GUID , before : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvRtJoinThreadOrderingGroup ( context : *mut super::super::Foundation:: HANDLE , threadorderingguid : *const :: windows::core::GUID , before : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); AvRtJoinThreadOrderingGroup(context, threadorderingguid, before.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -114,7 +114,7 @@ pub unsafe fn AvRtLeaveThreadOrderingGroup(context: P0) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avrt.dll""system" fn AvRtLeaveThreadOrderingGroup ( context : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvRtLeaveThreadOrderingGroup ( context : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); AvRtLeaveThreadOrderingGroup(context.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -124,7 +124,7 @@ pub unsafe fn AvRtWaitOnThreadOrderingGroup(context: P0) -> super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avrt.dll""system" fn AvRtWaitOnThreadOrderingGroup ( context : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvRtWaitOnThreadOrderingGroup ( context : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); AvRtWaitOnThreadOrderingGroup(context.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -135,9 +135,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "avrt.dll""system" fn AvSetMmMaxThreadCharacteristicsA ( firsttask : :: windows::core::PCSTR , secondtask : :: windows::core::PCSTR , taskindex : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvSetMmMaxThreadCharacteristicsA ( firsttask : :: windows::core::PCSTR , secondtask : :: windows::core::PCSTR , taskindex : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = AvSetMmMaxThreadCharacteristicsA(firsttask.into().abi(), secondtask.into().abi(), taskindex); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -147,9 +147,9 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "avrt.dll""system" fn AvSetMmMaxThreadCharacteristicsW ( firsttask : :: windows::core::PCWSTR , secondtask : :: windows::core::PCWSTR , taskindex : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvSetMmMaxThreadCharacteristicsW ( firsttask : :: windows::core::PCWSTR , secondtask : :: windows::core::PCWSTR , taskindex : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = AvSetMmMaxThreadCharacteristicsW(firsttask.into().abi(), secondtask.into().abi(), taskindex); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -158,9 +158,9 @@ pub unsafe fn AvSetMmThreadCharacteristicsA(taskname: P0, taskindex: *mut u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "avrt.dll""system" fn AvSetMmThreadCharacteristicsA ( taskname : :: windows::core::PCSTR , taskindex : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvSetMmThreadCharacteristicsA ( taskname : :: windows::core::PCSTR , taskindex : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = AvSetMmThreadCharacteristicsA(taskname.into().abi(), taskindex); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -169,9 +169,9 @@ pub unsafe fn AvSetMmThreadCharacteristicsW(taskname: P0, taskindex: *mut u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "avrt.dll""system" fn AvSetMmThreadCharacteristicsW ( taskname : :: windows::core::PCWSTR , taskindex : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvSetMmThreadCharacteristicsW ( taskname : :: windows::core::PCWSTR , taskindex : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = AvSetMmThreadCharacteristicsW(taskname.into().abi(), taskindex); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -180,20 +180,20 @@ pub unsafe fn AvSetMmThreadPriority(avrthandle: P0, priority: AVRT_PRIORITY) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "avrt.dll""system" fn AvSetMmThreadPriority ( avrthandle : super::super::Foundation:: HANDLE , priority : AVRT_PRIORITY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "avrt.dll""system" fn AvSetMmThreadPriority ( avrthandle : super::super::Foundation:: HANDLE , priority : AVRT_PRIORITY ) -> super::super::Foundation:: BOOL ); AvSetMmThreadPriority(avrthandle.into(), priority) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CallbackMayRunLong(pci: *mut TP_CALLBACK_INSTANCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn CallbackMayRunLong ( pci : *mut TP_CALLBACK_INSTANCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CallbackMayRunLong ( pci : *mut TP_CALLBACK_INSTANCE ) -> super::super::Foundation:: BOOL ); CallbackMayRunLong(pci) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CancelThreadpoolIo(pio: *mut TP_IO) { - ::windows::core::link ! ( "kernel32.dll""system" fn CancelThreadpoolIo ( pio : *mut TP_IO ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CancelThreadpoolIo ( pio : *mut TP_IO ) -> ( ) ); CancelThreadpoolIo(pio) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -203,7 +203,7 @@ pub unsafe fn CancelWaitableTimer(htimer: P0) -> super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CancelWaitableTimer ( htimer : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CancelWaitableTimer ( htimer : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CancelWaitableTimer(htimer.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -214,7 +214,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ChangeTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE , duetime : u32 , period : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ChangeTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE , duetime : u32 , period : u32 ) -> super::super::Foundation:: BOOL ); ChangeTimerQueueTimer(timerqueue.into(), timer.into(), duetime, period) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -224,7 +224,7 @@ pub unsafe fn ClosePrivateNamespace(handle: P0, flags: u32) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ClosePrivateNamespace ( handle : NamespaceHandle , flags : u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ClosePrivateNamespace ( handle : NamespaceHandle , flags : u32 ) -> super::super::Foundation:: BOOLEAN ); ClosePrivateNamespace(handle.into(), flags) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] @@ -233,13 +233,13 @@ pub unsafe fn CloseThreadpool(ptpp: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CloseThreadpool ( ptpp : PTP_POOL ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CloseThreadpool ( ptpp : PTP_POOL ) -> ( ) ); CloseThreadpool(ptpp.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CloseThreadpoolCleanupGroup(ptpcg: isize) { - ::windows::core::link ! ( "kernel32.dll""system" fn CloseThreadpoolCleanupGroup ( ptpcg : isize ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CloseThreadpoolCleanupGroup ( ptpcg : isize ) -> ( ) ); CloseThreadpoolCleanupGroup(ptpcg) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -249,50 +249,50 @@ pub unsafe fn CloseThreadpoolCleanupGroupMembers(ptpcg: isize, fcancelpendin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CloseThreadpoolCleanupGroupMembers ( ptpcg : isize , fcancelpendingcallbacks : super::super::Foundation:: BOOL , pvcleanupcontext : *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CloseThreadpoolCleanupGroupMembers ( ptpcg : isize , fcancelpendingcallbacks : super::super::Foundation:: BOOL , pvcleanupcontext : *mut ::core::ffi::c_void ) -> ( ) ); CloseThreadpoolCleanupGroupMembers(ptpcg, fcancelpendingcallbacks.into(), ::core::mem::transmute(pvcleanupcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CloseThreadpoolIo(pio: *mut TP_IO) { - ::windows::core::link ! ( "kernel32.dll""system" fn CloseThreadpoolIo ( pio : *mut TP_IO ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CloseThreadpoolIo ( pio : *mut TP_IO ) -> ( ) ); CloseThreadpoolIo(pio) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CloseThreadpoolTimer(pti: *mut TP_TIMER) { - ::windows::core::link ! ( "kernel32.dll""system" fn CloseThreadpoolTimer ( pti : *mut TP_TIMER ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CloseThreadpoolTimer ( pti : *mut TP_TIMER ) -> ( ) ); CloseThreadpoolTimer(pti) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CloseThreadpoolWait(pwa: *mut TP_WAIT) { - ::windows::core::link ! ( "kernel32.dll""system" fn CloseThreadpoolWait ( pwa : *mut TP_WAIT ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CloseThreadpoolWait ( pwa : *mut TP_WAIT ) -> ( ) ); CloseThreadpoolWait(pwa) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CloseThreadpoolWork(pwk: *mut TP_WORK) { - ::windows::core::link ! ( "kernel32.dll""system" fn CloseThreadpoolWork ( pwk : *mut TP_WORK ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CloseThreadpoolWork ( pwk : *mut TP_WORK ) -> ( ) ); CloseThreadpoolWork(pwk) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ConvertFiberToThread() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn ConvertFiberToThread ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ConvertFiberToThread ( ) -> super::super::Foundation:: BOOL ); ConvertFiberToThread() } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn ConvertThreadToFiber(lpparameter: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn ConvertThreadToFiber ( lpparameter : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ConvertThreadToFiber ( lpparameter : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); ConvertThreadToFiber(::core::mem::transmute(lpparameter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn ConvertThreadToFiberEx(lpparameter: ::core::option::Option<*const ::core::ffi::c_void>, dwflags: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn ConvertThreadToFiberEx ( lpparameter : *const ::core::ffi::c_void , dwflags : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ConvertThreadToFiberEx ( lpparameter : *const ::core::ffi::c_void , dwflags : u32 ) -> *mut ::core::ffi::c_void ); ConvertThreadToFiberEx(::core::mem::transmute(lpparameter.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] @@ -301,9 +301,9 @@ pub unsafe fn CreateBoundaryDescriptorA(name: P0, flags: u32) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateBoundaryDescriptorA ( name : :: windows::core::PCSTR , flags : u32 ) -> BoundaryDescriptorHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateBoundaryDescriptorA ( name : :: windows::core::PCSTR , flags : u32 ) -> BoundaryDescriptorHandle ); let result__ = CreateBoundaryDescriptorA(name.into().abi(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] @@ -311,7 +311,7 @@ pub unsafe fn CreateBoundaryDescriptorW(name: P0, flags: u32) -> BoundaryDes where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateBoundaryDescriptorW ( name : :: windows::core::PCWSTR , flags : u32 ) -> BoundaryDescriptorHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateBoundaryDescriptorW ( name : :: windows::core::PCWSTR , flags : u32 ) -> BoundaryDescriptorHandle ); CreateBoundaryDescriptorW(name.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -323,9 +323,9 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateEventA ( lpeventattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , binitialstate : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateEventA ( lpeventattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , binitialstate : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateEventA(::core::mem::transmute(lpeventattributes.unwrap_or(::std::ptr::null())), bmanualreset.into(), binitialstate.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -334,9 +334,9 @@ pub unsafe fn CreateEventExA(lpeventattributes: ::core::option::Option<*cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateEventExA ( lpeventattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCSTR , dwflags : CREATE_EVENT , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateEventExA ( lpeventattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCSTR , dwflags : CREATE_EVENT , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateEventExA(::core::mem::transmute(lpeventattributes.unwrap_or(::std::ptr::null())), lpname.into().abi(), dwflags, dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -345,9 +345,9 @@ pub unsafe fn CreateEventExW(lpeventattributes: ::core::option::Option<*cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateEventExW ( lpeventattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCWSTR , dwflags : CREATE_EVENT , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateEventExW ( lpeventattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCWSTR , dwflags : CREATE_EVENT , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateEventExW(::core::mem::transmute(lpeventattributes.unwrap_or(::std::ptr::null())), lpname.into().abi(), dwflags, dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -358,20 +358,20 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateEventW ( lpeventattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , binitialstate : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateEventW ( lpeventattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , binitialstate : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateEventW(::core::mem::transmute(lpeventattributes.unwrap_or(::std::ptr::null())), bmanualreset.into(), binitialstate.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CreateFiber(dwstacksize: usize, lpstartaddress: LPFIBER_START_ROUTINE, lpparameter: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFiber ( dwstacksize : usize , lpstartaddress : LPFIBER_START_ROUTINE , lpparameter : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFiber ( dwstacksize : usize , lpstartaddress : LPFIBER_START_ROUTINE , lpparameter : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); CreateFiber(dwstacksize, lpstartaddress, ::core::mem::transmute(lpparameter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CreateFiberEx(dwstackcommitsize: usize, dwstackreservesize: usize, dwflags: u32, lpstartaddress: LPFIBER_START_ROUTINE, lpparameter: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateFiberEx ( dwstackcommitsize : usize , dwstackreservesize : usize , dwflags : u32 , lpstartaddress : LPFIBER_START_ROUTINE , lpparameter : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateFiberEx ( dwstackcommitsize : usize , dwstackreservesize : usize , dwflags : u32 , lpstartaddress : LPFIBER_START_ROUTINE , lpparameter : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); CreateFiberEx(dwstackcommitsize, dwstackreservesize, dwflags, lpstartaddress, ::core::mem::transmute(lpparameter.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -382,9 +382,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateMutexA ( lpmutexattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binitialowner : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateMutexA ( lpmutexattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binitialowner : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateMutexA(::core::mem::transmute(lpmutexattributes.unwrap_or(::std::ptr::null())), binitialowner.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -393,9 +393,9 @@ pub unsafe fn CreateMutexExA(lpmutexattributes: ::core::option::Option<*cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateMutexExA ( lpmutexattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateMutexExA ( lpmutexattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateMutexExA(::core::mem::transmute(lpmutexattributes.unwrap_or(::std::ptr::null())), lpname.into().abi(), dwflags, dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -404,9 +404,9 @@ pub unsafe fn CreateMutexExW(lpmutexattributes: ::core::option::Option<*cons where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateMutexExW ( lpmutexattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateMutexExW ( lpmutexattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpname : :: windows::core::PCWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateMutexExW(::core::mem::transmute(lpmutexattributes.unwrap_or(::std::ptr::null())), lpname.into().abi(), dwflags, dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -416,9 +416,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateMutexW ( lpmutexattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binitialowner : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateMutexW ( lpmutexattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binitialowner : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateMutexW(::core::mem::transmute(lpmutexattributes.unwrap_or(::std::ptr::null())), binitialowner.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -427,9 +427,9 @@ pub unsafe fn CreatePrivateNamespaceA(lpprivatenamespaceattributes: ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreatePrivateNamespaceA ( lpprivatenamespaceattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpboundarydescriptor : *const ::core::ffi::c_void , lpaliasprefix : :: windows::core::PCSTR ) -> NamespaceHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreatePrivateNamespaceA ( lpprivatenamespaceattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpboundarydescriptor : *const ::core::ffi::c_void , lpaliasprefix : :: windows::core::PCSTR ) -> NamespaceHandle ); let result__ = CreatePrivateNamespaceA(::core::mem::transmute(lpprivatenamespaceattributes.unwrap_or(::std::ptr::null())), lpboundarydescriptor, lpaliasprefix.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -438,7 +438,7 @@ pub unsafe fn CreatePrivateNamespaceW(lpprivatenamespaceattributes: ::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreatePrivateNamespaceW ( lpprivatenamespaceattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpboundarydescriptor : *const ::core::ffi::c_void , lpaliasprefix : :: windows::core::PCWSTR ) -> NamespaceHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreatePrivateNamespaceW ( lpprivatenamespaceattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpboundarydescriptor : *const ::core::ffi::c_void , lpaliasprefix : :: windows::core::PCWSTR ) -> NamespaceHandle ); CreatePrivateNamespaceW(::core::mem::transmute(lpprivatenamespaceattributes.unwrap_or(::std::ptr::null())), lpboundarydescriptor, lpaliasprefix.into().abi()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -450,7 +450,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateProcessA ( lpapplicationname : :: windows::core::PCSTR , lpcommandline : :: windows::core::PSTR , lpprocessattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCSTR , lpstartupinfo : *const STARTUPINFOA , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateProcessA ( lpapplicationname : :: windows::core::PCSTR , lpcommandline : :: windows::core::PSTR , lpprocessattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCSTR , lpstartupinfo : *const STARTUPINFOA , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); CreateProcessA(lpapplicationname.into().abi(), ::core::mem::transmute(lpcommandline), ::core::mem::transmute(lpprocessattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpthreadattributes.unwrap_or(::std::ptr::null())), binherithandles.into(), dwcreationflags, ::core::mem::transmute(lpenvironment.unwrap_or(::std::ptr::null())), lpcurrentdirectory.into().abi(), lpstartupinfo, lpprocessinformation) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -463,7 +463,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateProcessAsUserA ( htoken : super::super::Foundation:: HANDLE , lpapplicationname : :: windows::core::PCSTR , lpcommandline : :: windows::core::PSTR , lpprocessattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCSTR , lpstartupinfo : *const STARTUPINFOA , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateProcessAsUserA ( htoken : super::super::Foundation:: HANDLE , lpapplicationname : :: windows::core::PCSTR , lpcommandline : :: windows::core::PSTR , lpprocessattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCSTR , lpstartupinfo : *const STARTUPINFOA , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); CreateProcessAsUserA(htoken.into(), lpapplicationname.into().abi(), ::core::mem::transmute(lpcommandline), ::core::mem::transmute(lpprocessattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpthreadattributes.unwrap_or(::std::ptr::null())), binherithandles.into(), dwcreationflags, ::core::mem::transmute(lpenvironment.unwrap_or(::std::ptr::null())), lpcurrentdirectory.into().abi(), lpstartupinfo, lpprocessinformation) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -476,7 +476,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateProcessAsUserW ( htoken : super::super::Foundation:: HANDLE , lpapplicationname : :: windows::core::PCWSTR , lpcommandline : :: windows::core::PWSTR , lpprocessattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCWSTR , lpstartupinfo : *const STARTUPINFOW , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateProcessAsUserW ( htoken : super::super::Foundation:: HANDLE , lpapplicationname : :: windows::core::PCWSTR , lpcommandline : :: windows::core::PWSTR , lpprocessattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCWSTR , lpstartupinfo : *const STARTUPINFOW , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); CreateProcessAsUserW(htoken.into(), lpapplicationname.into().abi(), ::core::mem::transmute(lpcommandline), ::core::mem::transmute(lpprocessattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpthreadattributes.unwrap_or(::std::ptr::null())), binherithandles.into(), dwcreationflags, ::core::mem::transmute(lpenvironment.unwrap_or(::std::ptr::null())), lpcurrentdirectory.into().abi(), lpstartupinfo, lpprocessinformation) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -488,7 +488,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateProcessW ( lpapplicationname : :: windows::core::PCWSTR , lpcommandline : :: windows::core::PWSTR , lpprocessattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCWSTR , lpstartupinfo : *const STARTUPINFOW , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateProcessW ( lpapplicationname : :: windows::core::PCWSTR , lpcommandline : :: windows::core::PWSTR , lpprocessattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCWSTR , lpstartupinfo : *const STARTUPINFOW , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); CreateProcessW(lpapplicationname.into().abi(), ::core::mem::transmute(lpcommandline), ::core::mem::transmute(lpprocessattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpthreadattributes.unwrap_or(::std::ptr::null())), binherithandles.into(), dwcreationflags, ::core::mem::transmute(lpenvironment.unwrap_or(::std::ptr::null())), lpcurrentdirectory.into().abi(), lpstartupinfo, lpprocessinformation) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -502,7 +502,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateProcessWithLogonW ( lpusername : :: windows::core::PCWSTR , lpdomain : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , dwlogonflags : CREATE_PROCESS_LOGON_FLAGS , lpapplicationname : :: windows::core::PCWSTR , lpcommandline : :: windows::core::PWSTR , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCWSTR , lpstartupinfo : *const STARTUPINFOW , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateProcessWithLogonW ( lpusername : :: windows::core::PCWSTR , lpdomain : :: windows::core::PCWSTR , lppassword : :: windows::core::PCWSTR , dwlogonflags : CREATE_PROCESS_LOGON_FLAGS , lpapplicationname : :: windows::core::PCWSTR , lpcommandline : :: windows::core::PWSTR , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCWSTR , lpstartupinfo : *const STARTUPINFOW , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); CreateProcessWithLogonW(lpusername.into().abi(), lpdomain.into().abi(), lppassword.into().abi(), dwlogonflags, lpapplicationname.into().abi(), ::core::mem::transmute(lpcommandline), dwcreationflags, ::core::mem::transmute(lpenvironment.unwrap_or(::std::ptr::null())), lpcurrentdirectory.into().abi(), lpstartupinfo, lpprocessinformation) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -514,7 +514,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advapi32.dll""system" fn CreateProcessWithTokenW ( htoken : super::super::Foundation:: HANDLE , dwlogonflags : CREATE_PROCESS_LOGON_FLAGS , lpapplicationname : :: windows::core::PCWSTR , lpcommandline : :: windows::core::PWSTR , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCWSTR , lpstartupinfo : *const STARTUPINFOW , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn CreateProcessWithTokenW ( htoken : super::super::Foundation:: HANDLE , dwlogonflags : CREATE_PROCESS_LOGON_FLAGS , lpapplicationname : :: windows::core::PCWSTR , lpcommandline : :: windows::core::PWSTR , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : *const ::core::ffi::c_void , lpcurrentdirectory : :: windows::core::PCWSTR , lpstartupinfo : *const STARTUPINFOW , lpprocessinformation : *mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ); CreateProcessWithTokenW(htoken.into(), dwlogonflags, lpapplicationname.into().abi(), ::core::mem::transmute(lpcommandline), dwcreationflags, ::core::mem::transmute(lpenvironment.unwrap_or(::std::ptr::null())), lpcurrentdirectory.into().abi(), lpstartupinfo, lpprocessinformation) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -524,9 +524,9 @@ pub unsafe fn CreateRemoteThread(hprocess: P0, lpthreadattributes: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateRemoteThread ( hprocess : super::super::Foundation:: HANDLE , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : LPTHREAD_START_ROUTINE , lpparameter : *const ::core::ffi::c_void , dwcreationflags : u32 , lpthreadid : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateRemoteThread ( hprocess : super::super::Foundation:: HANDLE , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : LPTHREAD_START_ROUTINE , lpparameter : *const ::core::ffi::c_void , dwcreationflags : u32 , lpthreadid : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateRemoteThread(hprocess.into(), ::core::mem::transmute(lpthreadattributes.unwrap_or(::std::ptr::null())), dwstacksize, lpstartaddress, ::core::mem::transmute(lpparameter.unwrap_or(::std::ptr::null())), dwcreationflags, ::core::mem::transmute(lpthreadid.unwrap_or(::std::ptr::null_mut()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -536,9 +536,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateRemoteThreadEx ( hprocess : super::super::Foundation:: HANDLE , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : LPTHREAD_START_ROUTINE , lpparameter : *const ::core::ffi::c_void , dwcreationflags : u32 , lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , lpthreadid : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateRemoteThreadEx ( hprocess : super::super::Foundation:: HANDLE , lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : LPTHREAD_START_ROUTINE , lpparameter : *const ::core::ffi::c_void , dwcreationflags : u32 , lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , lpthreadid : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateRemoteThreadEx(hprocess.into(), ::core::mem::transmute(lpthreadattributes.unwrap_or(::std::ptr::null())), dwstacksize, lpstartaddress, ::core::mem::transmute(lpparameter.unwrap_or(::std::ptr::null())), dwcreationflags, lpattributelist.into(), ::core::mem::transmute(lpthreadid.unwrap_or(::std::ptr::null_mut()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -547,9 +547,9 @@ pub unsafe fn CreateSemaphoreA(lpsemaphoreattributes: ::core::option::Option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateSemaphoreA ( lpsemaphoreattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateSemaphoreA ( lpsemaphoreattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateSemaphoreA(::core::mem::transmute(lpsemaphoreattributes.unwrap_or(::std::ptr::null())), linitialcount, lmaximumcount, lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -558,9 +558,9 @@ pub unsafe fn CreateSemaphoreExA(lpsemaphoreattributes: ::core::option::Opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateSemaphoreExA ( lpsemaphoreattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateSemaphoreExA ( lpsemaphoreattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateSemaphoreExA(::core::mem::transmute(lpsemaphoreattributes.unwrap_or(::std::ptr::null())), linitialcount, lmaximumcount, lpname.into().abi(), dwflags, dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -569,9 +569,9 @@ pub unsafe fn CreateSemaphoreExW(lpsemaphoreattributes: ::core::option::Opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateSemaphoreExW ( lpsemaphoreattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : :: windows::core::PCWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateSemaphoreExW ( lpsemaphoreattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : :: windows::core::PCWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateSemaphoreExW(::core::mem::transmute(lpsemaphoreattributes.unwrap_or(::std::ptr::null())), linitialcount, lmaximumcount, lpname.into().abi(), dwflags, dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -580,28 +580,28 @@ pub unsafe fn CreateSemaphoreW(lpsemaphoreattributes: ::core::option::Option where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateSemaphoreW ( lpsemaphoreattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateSemaphoreW ( lpsemaphoreattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateSemaphoreW(::core::mem::transmute(lpsemaphoreattributes.unwrap_or(::std::ptr::null())), linitialcount, lmaximumcount, lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] pub unsafe fn CreateThread(lpthreadattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, dwstacksize: usize, lpstartaddress: LPTHREAD_START_ROUTINE, lpparameter: ::core::option::Option<*const ::core::ffi::c_void>, dwcreationflags: THREAD_CREATION_FLAGS, lpthreadid: ::core::option::Option<*mut u32>) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateThread ( lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : LPTHREAD_START_ROUTINE , lpparameter : *const ::core::ffi::c_void , dwcreationflags : THREAD_CREATION_FLAGS , lpthreadid : *mut u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateThread ( lpthreadattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : LPTHREAD_START_ROUTINE , lpparameter : *const ::core::ffi::c_void , dwcreationflags : THREAD_CREATION_FLAGS , lpthreadid : *mut u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateThread(::core::mem::transmute(lpthreadattributes.unwrap_or(::std::ptr::null())), dwstacksize, lpstartaddress, ::core::mem::transmute(lpparameter.unwrap_or(::std::ptr::null())), dwcreationflags, ::core::mem::transmute(lpthreadid.unwrap_or(::std::ptr::null_mut()))); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CreateThreadpool(reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> PTP_POOL { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateThreadpool ( reserved : *const ::core::ffi::c_void ) -> PTP_POOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateThreadpool ( reserved : *const ::core::ffi::c_void ) -> PTP_POOL ); CreateThreadpool(::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CreateThreadpoolCleanupGroup() -> isize { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateThreadpoolCleanupGroup ( ) -> isize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateThreadpoolCleanupGroup ( ) -> isize ); CreateThreadpoolCleanupGroup() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -611,34 +611,34 @@ pub unsafe fn CreateThreadpoolIo(fl: P0, pfnio: PTP_WIN32_IO_CALLBACK, pv: : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateThreadpoolIo ( fl : super::super::Foundation:: HANDLE , pfnio : PTP_WIN32_IO_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> *mut TP_IO ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateThreadpoolIo ( fl : super::super::Foundation:: HANDLE , pfnio : PTP_WIN32_IO_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> *mut TP_IO ); CreateThreadpoolIo(fl.into(), pfnio, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbe.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CreateThreadpoolTimer(pfnti: PTP_TIMER_CALLBACK, pv: ::core::option::Option<*mut ::core::ffi::c_void>, pcbe: ::core::option::Option<*const TP_CALLBACK_ENVIRON_V3>) -> *mut TP_TIMER { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateThreadpoolTimer ( pfnti : PTP_TIMER_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> *mut TP_TIMER ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateThreadpoolTimer ( pfnti : PTP_TIMER_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> *mut TP_TIMER ); CreateThreadpoolTimer(pfnti, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbe.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CreateThreadpoolWait(pfnwa: PTP_WAIT_CALLBACK, pv: ::core::option::Option<*mut ::core::ffi::c_void>, pcbe: ::core::option::Option<*const TP_CALLBACK_ENVIRON_V3>) -> *mut TP_WAIT { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateThreadpoolWait ( pfnwa : PTP_WAIT_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> *mut TP_WAIT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateThreadpoolWait ( pfnwa : PTP_WAIT_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> *mut TP_WAIT ); CreateThreadpoolWait(pfnwa, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbe.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn CreateThreadpoolWork(pfnwk: PTP_WORK_CALLBACK, pv: ::core::option::Option<*mut ::core::ffi::c_void>, pcbe: ::core::option::Option<*const TP_CALLBACK_ENVIRON_V3>) -> *mut TP_WORK { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateThreadpoolWork ( pfnwk : PTP_WORK_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> *mut TP_WORK ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateThreadpoolWork ( pfnwk : PTP_WORK_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> *mut TP_WORK ); CreateThreadpoolWork(pfnwk, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbe.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateTimerQueue() -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateTimerQueue ( ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateTimerQueue ( ) -> super::super::Foundation:: HANDLE ); let result__ = CreateTimerQueue(); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -647,21 +647,21 @@ pub unsafe fn CreateTimerQueueTimer(phnewtimer: *mut super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateTimerQueueTimer ( phnewtimer : *mut super::super::Foundation:: HANDLE , timerqueue : super::super::Foundation:: HANDLE , callback : WAITORTIMERCALLBACK , parameter : *const ::core::ffi::c_void , duetime : u32 , period : u32 , flags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateTimerQueueTimer ( phnewtimer : *mut super::super::Foundation:: HANDLE , timerqueue : super::super::Foundation:: HANDLE , callback : WAITORTIMERCALLBACK , parameter : *const ::core::ffi::c_void , duetime : u32 , period : u32 , flags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ); CreateTimerQueueTimer(phnewtimer, timerqueue.into(), callback, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null())), duetime, period, flags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateUmsCompletionList(umscompletionlist: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateUmsCompletionList ( umscompletionlist : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateUmsCompletionList ( umscompletionlist : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CreateUmsCompletionList(umscompletionlist) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateUmsThreadContext(lpumsthread: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateUmsThreadContext ( lpumsthread : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateUmsThreadContext ( lpumsthread : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CreateUmsThreadContext(lpumsthread) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -671,9 +671,9 @@ pub unsafe fn CreateWaitableTimerExW(lptimerattributes: ::core::option::Opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateWaitableTimerExW ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lptimername : :: windows::core::PCWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateWaitableTimerExW ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lptimername : :: windows::core::PCWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = CreateWaitableTimerExW(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), lptimername.into().abi(), dwflags, dwdesiredaccess); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -683,9 +683,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateWaitableTimerW ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateWaitableTimerW ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = CreateWaitableTimerW(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), bmanualreset.into(), lptimername.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] @@ -693,33 +693,33 @@ pub unsafe fn DeleteBoundaryDescriptor(boundarydescriptor: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteBoundaryDescriptor ( boundarydescriptor : BoundaryDescriptorHandle ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteBoundaryDescriptor ( boundarydescriptor : BoundaryDescriptorHandle ) -> ( ) ); DeleteBoundaryDescriptor(boundarydescriptor.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn DeleteCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION) { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> ( ) ); DeleteCriticalSection(lpcriticalsection) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn DeleteFiber(lpfiber: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteFiber ( lpfiber : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteFiber ( lpfiber : *const ::core::ffi::c_void ) -> ( ) ); DeleteFiber(lpfiber) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn DeleteProcThreadAttributeList(lpattributelist: LPPROC_THREAD_ATTRIBUTE_LIST) { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteProcThreadAttributeList ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteProcThreadAttributeList ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST ) -> ( ) ); DeleteProcThreadAttributeList(lpattributelist) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteSynchronizationBarrier(lpbarrier: *mut RTL_BARRIER) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteSynchronizationBarrier ( lpbarrier : *mut RTL_BARRIER ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteSynchronizationBarrier ( lpbarrier : *mut RTL_BARRIER ) -> super::super::Foundation:: BOOL ); DeleteSynchronizationBarrier(lpbarrier) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -729,7 +729,7 @@ pub unsafe fn DeleteTimerQueue(timerqueue: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteTimerQueue ( timerqueue : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteTimerQueue ( timerqueue : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeleteTimerQueue(timerqueue.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -740,7 +740,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteTimerQueueEx ( timerqueue : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteTimerQueueEx ( timerqueue : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeleteTimerQueueEx(timerqueue.into(), completionevent.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -752,106 +752,106 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DeleteTimerQueueTimer(timerqueue.into(), timer.into(), completionevent.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteUmsCompletionList(umscompletionlist: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteUmsCompletionList ( umscompletionlist : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteUmsCompletionList ( umscompletionlist : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DeleteUmsCompletionList(umscompletionlist) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteUmsThreadContext(umsthread: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn DeleteUmsThreadContext ( umsthread : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DeleteUmsThreadContext ( umsthread : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DeleteUmsThreadContext(umsthread) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DequeueUmsCompletionListItems(umscompletionlist: *const ::core::ffi::c_void, waittimeout: u32, umsthreadlist: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn DequeueUmsCompletionListItems ( umscompletionlist : *const ::core::ffi::c_void , waittimeout : u32 , umsthreadlist : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DequeueUmsCompletionListItems ( umscompletionlist : *const ::core::ffi::c_void , waittimeout : u32 , umsthreadlist : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DequeueUmsCompletionListItems(umscompletionlist, waittimeout, umsthreadlist) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn DisassociateCurrentThreadFromCallback(pci: *mut TP_CALLBACK_INSTANCE) { - ::windows::core::link ! ( "kernel32.dll""system" fn DisassociateCurrentThreadFromCallback ( pci : *mut TP_CALLBACK_INSTANCE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DisassociateCurrentThreadFromCallback ( pci : *mut TP_CALLBACK_INSTANCE ) -> ( ) ); DisassociateCurrentThreadFromCallback(pci) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn EnterCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION) { - ::windows::core::link ! ( "kernel32.dll""system" fn EnterCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnterCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> ( ) ); EnterCriticalSection(lpcriticalsection) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnterSynchronizationBarrier(lpbarrier: *mut RTL_BARRIER, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnterSynchronizationBarrier ( lpbarrier : *mut RTL_BARRIER , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnterSynchronizationBarrier ( lpbarrier : *mut RTL_BARRIER , dwflags : u32 ) -> super::super::Foundation:: BOOL ); EnterSynchronizationBarrier(lpbarrier, dwflags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] pub unsafe fn EnterUmsSchedulingMode(schedulerstartupinfo: *const UMS_SCHEDULER_STARTUP_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnterUmsSchedulingMode ( schedulerstartupinfo : *const UMS_SCHEDULER_STARTUP_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnterUmsSchedulingMode ( schedulerstartupinfo : *const UMS_SCHEDULER_STARTUP_INFO ) -> super::super::Foundation:: BOOL ); EnterUmsSchedulingMode(schedulerstartupinfo) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ExecuteUmsThread(umsthread: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn ExecuteUmsThread ( umsthread : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ExecuteUmsThread ( umsthread : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ExecuteUmsThread(umsthread) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn ExitProcess(uexitcode: u32) -> ! { - ::windows::core::link ! ( "kernel32.dll""system" fn ExitProcess ( uexitcode : u32 ) -> ! ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ExitProcess ( uexitcode : u32 ) -> ! ); ExitProcess(uexitcode) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn ExitThread(dwexitcode: u32) -> ! { - ::windows::core::link ! ( "kernel32.dll""system" fn ExitThread ( dwexitcode : u32 ) -> ! ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ExitThread ( dwexitcode : u32 ) -> ! ); ExitThread(dwexitcode) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn FlsAlloc(lpcallback: PFLS_CALLBACK_FUNCTION) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn FlsAlloc ( lpcallback : PFLS_CALLBACK_FUNCTION ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlsAlloc ( lpcallback : PFLS_CALLBACK_FUNCTION ) -> u32 ); FlsAlloc(lpcallback) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FlsFree(dwflsindex: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FlsFree ( dwflsindex : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlsFree ( dwflsindex : u32 ) -> super::super::Foundation:: BOOL ); FlsFree(dwflsindex) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn FlsGetValue(dwflsindex: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn FlsGetValue ( dwflsindex : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlsGetValue ( dwflsindex : u32 ) -> *mut ::core::ffi::c_void ); FlsGetValue(dwflsindex) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FlsSetValue(dwflsindex: u32, lpflsdata: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FlsSetValue ( dwflsindex : u32 , lpflsdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlsSetValue ( dwflsindex : u32 , lpflsdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); FlsSetValue(dwflsindex, ::core::mem::transmute(lpflsdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn FlushProcessWriteBuffers() { - ::windows::core::link ! ( "kernel32.dll""system" fn FlushProcessWriteBuffers ( ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FlushProcessWriteBuffers ( ) -> ( ) ); FlushProcessWriteBuffers() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -861,45 +861,45 @@ pub unsafe fn FreeLibraryWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn FreeLibraryWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , r#mod : super::super::Foundation:: HINSTANCE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FreeLibraryWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , r#mod : super::super::Foundation:: HINSTANCE ) -> ( ) ); FreeLibraryWhenCallbackReturns(pci, r#mod.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetActiveProcessorCount(groupnumber: u16) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetActiveProcessorCount ( groupnumber : u16 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetActiveProcessorCount ( groupnumber : u16 ) -> u32 ); GetActiveProcessorCount(groupnumber) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetActiveProcessorGroupCount() -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetActiveProcessorGroupCount ( ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetActiveProcessorGroupCount ( ) -> u16 ); GetActiveProcessorGroupCount() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentProcess() -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentProcess ( ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentProcess ( ) -> super::super::Foundation:: HANDLE ); GetCurrentProcess() } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetCurrentProcessId() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentProcessId ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentProcessId ( ) -> u32 ); GetCurrentProcessId() } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetCurrentProcessorNumber() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentProcessorNumber ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentProcessorNumber ( ) -> u32 ); GetCurrentProcessorNumber() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn GetCurrentProcessorNumberEx() -> super::Kernel::PROCESSOR_NUMBER { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentProcessorNumberEx ( procnumber : *mut super::Kernel:: PROCESSOR_NUMBER ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentProcessorNumberEx ( procnumber : *mut super::Kernel:: PROCESSOR_NUMBER ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); GetCurrentProcessorNumberEx(&mut result__); ::std::mem::transmute(result__) @@ -908,25 +908,25 @@ pub unsafe fn GetCurrentProcessorNumberEx() -> super::Kernel::PROCESSOR_NUMBER { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentThread() -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentThread ( ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentThread ( ) -> super::super::Foundation:: HANDLE ); GetCurrentThread() } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetCurrentThreadId() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentThreadId ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentThreadId ( ) -> u32 ); GetCurrentThreadId() } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetCurrentThreadStackLimits(lowlimit: *mut usize, highlimit: *mut usize) { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentThreadStackLimits ( lowlimit : *mut usize , highlimit : *mut usize ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentThreadStackLimits ( lowlimit : *mut usize , highlimit : *mut usize ) -> ( ) ); GetCurrentThreadStackLimits(lowlimit, highlimit) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetCurrentUmsThread() -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn GetCurrentUmsThread ( ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetCurrentUmsThread ( ) -> *mut ::core::ffi::c_void ); GetCurrentUmsThread() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -936,7 +936,7 @@ pub unsafe fn GetExitCodeProcess(hprocess: P0, lpexitcode: *mut u32) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetExitCodeProcess ( hprocess : super::super::Foundation:: HANDLE , lpexitcode : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetExitCodeProcess ( hprocess : super::super::Foundation:: HANDLE , lpexitcode : *mut u32 ) -> super::super::Foundation:: BOOL ); GetExitCodeProcess(hprocess.into(), lpexitcode) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -946,7 +946,7 @@ pub unsafe fn GetExitCodeThread(hthread: P0, lpexitcode: *mut u32) -> super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetExitCodeThread ( hthread : super::super::Foundation:: HANDLE , lpexitcode : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetExitCodeThread ( hthread : super::super::Foundation:: HANDLE , lpexitcode : *mut u32 ) -> super::super::Foundation:: BOOL ); GetExitCodeThread(hthread.into(), lpexitcode) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -956,53 +956,53 @@ pub unsafe fn GetGuiResources(hprocess: P0, uiflags: GET_GUI_RESOURCES_FLAGS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetGuiResources ( hprocess : super::super::Foundation:: HANDLE , uiflags : GET_GUI_RESOURCES_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetGuiResources ( hprocess : super::super::Foundation:: HANDLE , uiflags : GET_GUI_RESOURCES_FLAGS ) -> u32 ); GetGuiResources(hprocess.into(), uiflags) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetMachineTypeAttributes(machine: u16) -> ::windows::core::Result { - ::windows::core::link ! ( "kernel32.dll""system" fn GetMachineTypeAttributes ( machine : u16 , machinetypeattributes : *mut MACHINE_ATTRIBUTES ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetMachineTypeAttributes ( machine : u16 , machinetypeattributes : *mut MACHINE_ATTRIBUTES ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetMachineTypeAttributes(machine, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetMaximumProcessorCount(groupnumber: u16) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetMaximumProcessorCount ( groupnumber : u16 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetMaximumProcessorCount ( groupnumber : u16 ) -> u32 ); GetMaximumProcessorCount(groupnumber) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetMaximumProcessorGroupCount() -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetMaximumProcessorGroupCount ( ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetMaximumProcessorGroupCount ( ) -> u16 ); GetMaximumProcessorGroupCount() } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetNextUmsListItem(umscontext: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNextUmsListItem ( umscontext : *mut ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNextUmsListItem ( umscontext : *mut ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); GetNextUmsListItem(umscontext) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNumaAvailableMemoryNode(node: u8, availablebytes: *mut u64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaAvailableMemoryNode ( node : u8 , availablebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaAvailableMemoryNode ( node : u8 , availablebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); GetNumaAvailableMemoryNode(node, availablebytes) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNumaAvailableMemoryNodeEx(node: u16, availablebytes: *mut u64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaAvailableMemoryNodeEx ( node : u16 , availablebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaAvailableMemoryNodeEx ( node : u16 , availablebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); GetNumaAvailableMemoryNodeEx(node, availablebytes) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNumaHighestNodeNumber(highestnodenumber: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaHighestNodeNumber ( highestnodenumber : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaHighestNodeNumber ( highestnodenumber : *mut u32 ) -> super::super::Foundation:: BOOL ); GetNumaHighestNodeNumber(highestnodenumber) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1012,56 +1012,56 @@ pub unsafe fn GetNumaNodeNumberFromHandle(hfile: P0, nodenumber: *mut u16) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaNodeNumberFromHandle ( hfile : super::super::Foundation:: HANDLE , nodenumber : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaNodeNumberFromHandle ( hfile : super::super::Foundation:: HANDLE , nodenumber : *mut u16 ) -> super::super::Foundation:: BOOL ); GetNumaNodeNumberFromHandle(hfile.into(), nodenumber) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNumaNodeProcessorMask(node: u8, processormask: *mut u64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaNodeProcessorMask ( node : u8 , processormask : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaNodeProcessorMask ( node : u8 , processormask : *mut u64 ) -> super::super::Foundation:: BOOL ); GetNumaNodeProcessorMask(node, processormask) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn GetNumaNodeProcessorMask2(nodenumber: u16, processormasks: ::core::option::Option<&mut [super::SystemInformation::GROUP_AFFINITY]>, requiredmaskcount: *mut u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaNodeProcessorMask2 ( nodenumber : u16 , processormasks : *mut super::SystemInformation:: GROUP_AFFINITY , processormaskcount : u16 , requiredmaskcount : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaNodeProcessorMask2 ( nodenumber : u16 , processormasks : *mut super::SystemInformation:: GROUP_AFFINITY , processormaskcount : u16 , requiredmaskcount : *mut u16 ) -> super::super::Foundation:: BOOL ); GetNumaNodeProcessorMask2(nodenumber, ::core::mem::transmute(processormasks.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), processormasks.as_deref().map_or(0, |slice| slice.len() as _), requiredmaskcount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] pub unsafe fn GetNumaNodeProcessorMaskEx(node: u16, processormask: *mut super::SystemInformation::GROUP_AFFINITY) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaNodeProcessorMaskEx ( node : u16 , processormask : *mut super::SystemInformation:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaNodeProcessorMaskEx ( node : u16 , processormask : *mut super::SystemInformation:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ); GetNumaNodeProcessorMaskEx(node, processormask) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNumaProcessorNode(processor: u8, nodenumber: *mut u8) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaProcessorNode ( processor : u8 , nodenumber : *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaProcessorNode ( processor : u8 , nodenumber : *mut u8 ) -> super::super::Foundation:: BOOL ); GetNumaProcessorNode(processor, nodenumber) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn GetNumaProcessorNodeEx(processor: *const super::Kernel::PROCESSOR_NUMBER, nodenumber: *mut u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaProcessorNodeEx ( processor : *const super::Kernel:: PROCESSOR_NUMBER , nodenumber : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaProcessorNodeEx ( processor : *const super::Kernel:: PROCESSOR_NUMBER , nodenumber : *mut u16 ) -> super::super::Foundation:: BOOL ); GetNumaProcessorNodeEx(processor, nodenumber) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNumaProximityNode(proximityid: u32, nodenumber: *mut u8) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaProximityNode ( proximityid : u32 , nodenumber : *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaProximityNode ( proximityid : u32 , nodenumber : *mut u8 ) -> super::super::Foundation:: BOOL ); GetNumaProximityNode(proximityid, nodenumber) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNumaProximityNodeEx(proximityid: u32, nodenumber: *mut u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetNumaProximityNodeEx ( proximityid : u32 , nodenumber : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetNumaProximityNodeEx ( proximityid : u32 , nodenumber : *mut u16 ) -> super::super::Foundation:: BOOL ); GetNumaProximityNodeEx(proximityid, nodenumber) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1071,7 +1071,7 @@ pub unsafe fn GetPriorityClass(hprocess: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPriorityClass ( hprocess : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPriorityClass ( hprocess : super::super::Foundation:: HANDLE ) -> u32 ); GetPriorityClass(hprocess.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1081,7 +1081,7 @@ pub unsafe fn GetProcessAffinityMask(hprocess: P0, lpprocessaffinitymask: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessAffinityMask ( hprocess : super::super::Foundation:: HANDLE , lpprocessaffinitymask : *mut usize , lpsystemaffinitymask : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessAffinityMask ( hprocess : super::super::Foundation:: HANDLE , lpprocessaffinitymask : *mut usize , lpsystemaffinitymask : *mut usize ) -> super::super::Foundation:: BOOL ); GetProcessAffinityMask(hprocess.into(), lpprocessaffinitymask, lpsystemaffinitymask) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1091,7 +1091,7 @@ pub unsafe fn GetProcessDEPPolicy(hprocess: P0, lpflags: *mut u32, lppermane where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessDEPPolicy ( hprocess : super::super::Foundation:: HANDLE , lpflags : *mut u32 , lppermanent : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessDEPPolicy ( hprocess : super::super::Foundation:: HANDLE , lpflags : *mut u32 , lppermanent : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetProcessDEPPolicy(hprocess.into(), lpflags, lppermanent) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] @@ -1101,7 +1101,7 @@ pub unsafe fn GetProcessDefaultCpuSetMasks(process: P0, cpusetmasks: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessDefaultCpuSetMasks ( process : super::super::Foundation:: HANDLE , cpusetmasks : *mut super::SystemInformation:: GROUP_AFFINITY , cpusetmaskcount : u16 , requiredmaskcount : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessDefaultCpuSetMasks ( process : super::super::Foundation:: HANDLE , cpusetmasks : *mut super::SystemInformation:: GROUP_AFFINITY , cpusetmaskcount : u16 , requiredmaskcount : *mut u16 ) -> super::super::Foundation:: BOOL ); GetProcessDefaultCpuSetMasks(process.into(), ::core::mem::transmute(cpusetmasks.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), cpusetmasks.as_deref().map_or(0, |slice| slice.len() as _), requiredmaskcount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1111,7 +1111,7 @@ pub unsafe fn GetProcessDefaultCpuSets(process: P0, cpusetids: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessDefaultCpuSets ( process : super::super::Foundation:: HANDLE , cpusetids : *mut u32 , cpusetidcount : u32 , requiredidcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessDefaultCpuSets ( process : super::super::Foundation:: HANDLE , cpusetids : *mut u32 , cpusetidcount : u32 , requiredidcount : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProcessDefaultCpuSets(process.into(), ::core::mem::transmute(cpusetids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), cpusetids.as_deref().map_or(0, |slice| slice.len() as _), requiredidcount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1121,7 +1121,7 @@ pub unsafe fn GetProcessGroupAffinity(hprocess: P0, groupcount: *mut u16, gr where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessGroupAffinity ( hprocess : super::super::Foundation:: HANDLE , groupcount : *mut u16 , grouparray : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessGroupAffinity ( hprocess : super::super::Foundation:: HANDLE , groupcount : *mut u16 , grouparray : *mut u16 ) -> super::super::Foundation:: BOOL ); GetProcessGroupAffinity(hprocess.into(), groupcount, grouparray) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1131,7 +1131,7 @@ pub unsafe fn GetProcessHandleCount(hprocess: P0, pdwhandlecount: *mut u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessHandleCount ( hprocess : super::super::Foundation:: HANDLE , pdwhandlecount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessHandleCount ( hprocess : super::super::Foundation:: HANDLE , pdwhandlecount : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProcessHandleCount(hprocess.into(), pdwhandlecount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1141,7 +1141,7 @@ pub unsafe fn GetProcessId(process: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessId ( process : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessId ( process : super::super::Foundation:: HANDLE ) -> u32 ); GetProcessId(process.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1151,7 +1151,7 @@ pub unsafe fn GetProcessIdOfThread(thread: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessIdOfThread ( thread : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessIdOfThread ( thread : super::super::Foundation:: HANDLE ) -> u32 ); GetProcessIdOfThread(thread.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1161,7 +1161,7 @@ pub unsafe fn GetProcessInformation(hprocess: P0, processinformationclass: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessInformation ( hprocess : super::super::Foundation:: HANDLE , processinformationclass : PROCESS_INFORMATION_CLASS , processinformation : *mut ::core::ffi::c_void , processinformationsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessInformation ( hprocess : super::super::Foundation:: HANDLE , processinformationclass : PROCESS_INFORMATION_CLASS , processinformation : *mut ::core::ffi::c_void , processinformationsize : u32 ) -> super::super::Foundation:: BOOL ); GetProcessInformation(hprocess.into(), processinformationclass, processinformation, processinformationsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1171,7 +1171,7 @@ pub unsafe fn GetProcessIoCounters(hprocess: P0, lpiocounters: *mut IO_COUNT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessIoCounters ( hprocess : super::super::Foundation:: HANDLE , lpiocounters : *mut IO_COUNTERS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessIoCounters ( hprocess : super::super::Foundation:: HANDLE , lpiocounters : *mut IO_COUNTERS ) -> super::super::Foundation:: BOOL ); GetProcessIoCounters(hprocess.into(), lpiocounters) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1181,7 +1181,7 @@ pub unsafe fn GetProcessMitigationPolicy(hprocess: P0, mitigationpolicy: PRO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessMitigationPolicy ( hprocess : super::super::Foundation:: HANDLE , mitigationpolicy : PROCESS_MITIGATION_POLICY , lpbuffer : *mut ::core::ffi::c_void , dwlength : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessMitigationPolicy ( hprocess : super::super::Foundation:: HANDLE , mitigationpolicy : PROCESS_MITIGATION_POLICY , lpbuffer : *mut ::core::ffi::c_void , dwlength : usize ) -> super::super::Foundation:: BOOL ); GetProcessMitigationPolicy(hprocess.into(), mitigationpolicy, lpbuffer, dwlength) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1191,14 +1191,14 @@ pub unsafe fn GetProcessPriorityBoost(hprocess: P0, pdisablepriorityboost: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessPriorityBoost ( hprocess : super::super::Foundation:: HANDLE , pdisablepriorityboost : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessPriorityBoost ( hprocess : super::super::Foundation:: HANDLE , pdisablepriorityboost : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetProcessPriorityBoost(hprocess.into(), pdisablepriorityboost) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetProcessShutdownParameters(lpdwlevel: *mut u32, lpdwflags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessShutdownParameters ( lpdwlevel : *mut u32 , lpdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessShutdownParameters ( lpdwlevel : *mut u32 , lpdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProcessShutdownParameters(lpdwlevel, lpdwflags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1208,13 +1208,13 @@ pub unsafe fn GetProcessTimes(hprocess: P0, lpcreationtime: *mut super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessTimes ( hprocess : super::super::Foundation:: HANDLE , lpcreationtime : *mut super::super::Foundation:: FILETIME , lpexittime : *mut super::super::Foundation:: FILETIME , lpkerneltime : *mut super::super::Foundation:: FILETIME , lpusertime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessTimes ( hprocess : super::super::Foundation:: HANDLE , lpcreationtime : *mut super::super::Foundation:: FILETIME , lpexittime : *mut super::super::Foundation:: FILETIME , lpkerneltime : *mut super::super::Foundation:: FILETIME , lpusertime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); GetProcessTimes(hprocess.into(), lpcreationtime, lpexittime, lpkerneltime, lpusertime) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn GetProcessVersion(processid: u32) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessVersion ( processid : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessVersion ( processid : u32 ) -> u32 ); GetProcessVersion(processid) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1224,28 +1224,28 @@ pub unsafe fn GetProcessWorkingSetSize(hprocess: P0, lpminimumworkingsetsize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProcessWorkingSetSize ( hprocess : super::super::Foundation:: HANDLE , lpminimumworkingsetsize : *mut usize , lpmaximumworkingsetsize : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProcessWorkingSetSize ( hprocess : super::super::Foundation:: HANDLE , lpminimumworkingsetsize : *mut usize , lpmaximumworkingsetsize : *mut usize ) -> super::super::Foundation:: BOOL ); GetProcessWorkingSetSize(hprocess.into(), lpminimumworkingsetsize, lpmaximumworkingsetsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetStartupInfoA(lpstartupinfo: *mut STARTUPINFOA) { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStartupInfoA ( lpstartupinfo : *mut STARTUPINFOA ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStartupInfoA ( lpstartupinfo : *mut STARTUPINFOA ) -> ( ) ); GetStartupInfoA(lpstartupinfo) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetStartupInfoW(lpstartupinfo: *mut STARTUPINFOW) { - ::windows::core::link ! ( "kernel32.dll""system" fn GetStartupInfoW ( lpstartupinfo : *mut STARTUPINFOW ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetStartupInfoW ( lpstartupinfo : *mut STARTUPINFOW ) -> ( ) ); GetStartupInfoW(lpstartupinfo) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemTimes(lpidletime: ::core::option::Option<*mut super::super::Foundation::FILETIME>, lpkerneltime: ::core::option::Option<*mut super::super::Foundation::FILETIME>, lpusertime: ::core::option::Option<*mut super::super::Foundation::FILETIME>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemTimes ( lpidletime : *mut super::super::Foundation:: FILETIME , lpkerneltime : *mut super::super::Foundation:: FILETIME , lpusertime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemTimes ( lpidletime : *mut super::super::Foundation:: FILETIME , lpkerneltime : *mut super::super::Foundation:: FILETIME , lpusertime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); GetSystemTimes(::core::mem::transmute(lpidletime.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpkerneltime.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpusertime.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1255,7 +1255,7 @@ pub unsafe fn GetThreadDescription(hthread: P0) -> ::windows::core::Result<: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadDescription ( hthread : super::super::Foundation:: HANDLE , ppszthreaddescription : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadDescription ( hthread : super::super::Foundation:: HANDLE , ppszthreaddescription : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); GetThreadDescription(hthread.into(), &mut result__).from_abi(result__) } @@ -1266,7 +1266,7 @@ pub unsafe fn GetThreadGroupAffinity(hthread: P0, groupaffinity: *mut super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadGroupAffinity ( hthread : super::super::Foundation:: HANDLE , groupaffinity : *mut super::SystemInformation:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadGroupAffinity ( hthread : super::super::Foundation:: HANDLE , groupaffinity : *mut super::SystemInformation:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ); GetThreadGroupAffinity(hthread.into(), groupaffinity) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1276,7 +1276,7 @@ pub unsafe fn GetThreadIOPendingFlag(hthread: P0, lpioispending: *mut super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadIOPendingFlag ( hthread : super::super::Foundation:: HANDLE , lpioispending : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadIOPendingFlag ( hthread : super::super::Foundation:: HANDLE , lpioispending : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetThreadIOPendingFlag(hthread.into(), lpioispending) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1286,7 +1286,7 @@ pub unsafe fn GetThreadId(thread: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadId ( thread : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadId ( thread : super::super::Foundation:: HANDLE ) -> u32 ); GetThreadId(thread.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1296,7 +1296,7 @@ pub unsafe fn GetThreadIdealProcessorEx(hthread: P0, lpidealprocessor: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadIdealProcessorEx ( hthread : super::super::Foundation:: HANDLE , lpidealprocessor : *mut super::Kernel:: PROCESSOR_NUMBER ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadIdealProcessorEx ( hthread : super::super::Foundation:: HANDLE , lpidealprocessor : *mut super::Kernel:: PROCESSOR_NUMBER ) -> super::super::Foundation:: BOOL ); GetThreadIdealProcessorEx(hthread.into(), lpidealprocessor) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1306,7 +1306,7 @@ pub unsafe fn GetThreadInformation(hthread: P0, threadinformationclass: THRE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadInformation ( hthread : super::super::Foundation:: HANDLE , threadinformationclass : THREAD_INFORMATION_CLASS , threadinformation : *mut ::core::ffi::c_void , threadinformationsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadInformation ( hthread : super::super::Foundation:: HANDLE , threadinformationclass : THREAD_INFORMATION_CLASS , threadinformation : *mut ::core::ffi::c_void , threadinformationsize : u32 ) -> super::super::Foundation:: BOOL ); GetThreadInformation(hthread.into(), threadinformationclass, threadinformation, threadinformationsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1316,7 +1316,7 @@ pub unsafe fn GetThreadPriority(hthread: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadPriority ( hthread : super::super::Foundation:: HANDLE ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadPriority ( hthread : super::super::Foundation:: HANDLE ) -> i32 ); GetThreadPriority(hthread.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1326,7 +1326,7 @@ pub unsafe fn GetThreadPriorityBoost(hthread: P0, pdisablepriorityboost: *mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadPriorityBoost ( hthread : super::super::Foundation:: HANDLE , pdisablepriorityboost : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadPriorityBoost ( hthread : super::super::Foundation:: HANDLE , pdisablepriorityboost : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetThreadPriorityBoost(hthread.into(), pdisablepriorityboost) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] @@ -1336,7 +1336,7 @@ pub unsafe fn GetThreadSelectedCpuSetMasks(thread: P0, cpusetmasks: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadSelectedCpuSetMasks ( thread : super::super::Foundation:: HANDLE , cpusetmasks : *mut super::SystemInformation:: GROUP_AFFINITY , cpusetmaskcount : u16 , requiredmaskcount : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadSelectedCpuSetMasks ( thread : super::super::Foundation:: HANDLE , cpusetmasks : *mut super::SystemInformation:: GROUP_AFFINITY , cpusetmaskcount : u16 , requiredmaskcount : *mut u16 ) -> super::super::Foundation:: BOOL ); GetThreadSelectedCpuSetMasks(thread.into(), ::core::mem::transmute(cpusetmasks.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), cpusetmasks.as_deref().map_or(0, |slice| slice.len() as _), requiredmaskcount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1346,7 +1346,7 @@ pub unsafe fn GetThreadSelectedCpuSets(thread: P0, cpusetids: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadSelectedCpuSets ( thread : super::super::Foundation:: HANDLE , cpusetids : *mut u32 , cpusetidcount : u32 , requiredidcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadSelectedCpuSets ( thread : super::super::Foundation:: HANDLE , cpusetids : *mut u32 , cpusetidcount : u32 , requiredidcount : *mut u32 ) -> super::super::Foundation:: BOOL ); GetThreadSelectedCpuSets(thread.into(), ::core::mem::transmute(cpusetids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), cpusetids.as_deref().map_or(0, |slice| slice.len() as _), requiredidcount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1356,14 +1356,14 @@ pub unsafe fn GetThreadTimes(hthread: P0, lpcreationtime: *mut super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadTimes ( hthread : super::super::Foundation:: HANDLE , lpcreationtime : *mut super::super::Foundation:: FILETIME , lpexittime : *mut super::super::Foundation:: FILETIME , lpkerneltime : *mut super::super::Foundation:: FILETIME , lpusertime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadTimes ( hthread : super::super::Foundation:: HANDLE , lpcreationtime : *mut super::super::Foundation:: FILETIME , lpexittime : *mut super::super::Foundation:: FILETIME , lpkerneltime : *mut super::super::Foundation:: FILETIME , lpusertime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); GetThreadTimes(hthread.into(), lpcreationtime, lpexittime, lpkerneltime, lpusertime) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUmsCompletionListEvent(umscompletionlist: *const ::core::ffi::c_void, umscompletionevent: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUmsCompletionListEvent ( umscompletionlist : *const ::core::ffi::c_void , umscompletionevent : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUmsCompletionListEvent ( umscompletionlist : *const ::core::ffi::c_void , umscompletionevent : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); GetUmsCompletionListEvent(umscompletionlist, umscompletionevent) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1373,34 +1373,34 @@ pub unsafe fn GetUmsSystemThreadInformation(threadhandle: P0, systemthreadin where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetUmsSystemThreadInformation ( threadhandle : super::super::Foundation:: HANDLE , systemthreadinfo : *mut UMS_SYSTEM_THREAD_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetUmsSystemThreadInformation ( threadhandle : super::super::Foundation:: HANDLE , systemthreadinfo : *mut UMS_SYSTEM_THREAD_INFORMATION ) -> super::super::Foundation:: BOOL ); GetUmsSystemThreadInformation(threadhandle.into(), systemthreadinfo) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitOnceBeginInitialize(lpinitonce: *mut RTL_RUN_ONCE, dwflags: u32, fpending: *mut super::super::Foundation::BOOL, lpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitOnceBeginInitialize ( lpinitonce : *mut RTL_RUN_ONCE , dwflags : u32 , fpending : *mut super::super::Foundation:: BOOL , lpcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitOnceBeginInitialize ( lpinitonce : *mut RTL_RUN_ONCE , dwflags : u32 , fpending : *mut super::super::Foundation:: BOOL , lpcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); InitOnceBeginInitialize(lpinitonce, dwflags, fpending, ::core::mem::transmute(lpcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitOnceComplete(lpinitonce: *mut RTL_RUN_ONCE, dwflags: u32, lpcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitOnceComplete ( lpinitonce : *mut RTL_RUN_ONCE , dwflags : u32 , lpcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitOnceComplete ( lpinitonce : *mut RTL_RUN_ONCE , dwflags : u32 , lpcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); InitOnceComplete(lpinitonce, dwflags, ::core::mem::transmute(lpcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitOnceExecuteOnce(initonce: *mut RTL_RUN_ONCE, initfn: PINIT_ONCE_FN, parameter: ::core::option::Option<*mut ::core::ffi::c_void>, context: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitOnceExecuteOnce ( initonce : *mut RTL_RUN_ONCE , initfn : PINIT_ONCE_FN , parameter : *mut ::core::ffi::c_void , context : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitOnceExecuteOnce ( initonce : *mut RTL_RUN_ONCE , initfn : PINIT_ONCE_FN , parameter : *mut ::core::ffi::c_void , context : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); InitOnceExecuteOnce(initonce, initfn, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn InitOnceInitialize() -> RTL_RUN_ONCE { - ::windows::core::link ! ( "kernel32.dll""system" fn InitOnceInitialize ( initonce : *mut RTL_RUN_ONCE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitOnceInitialize ( initonce : *mut RTL_RUN_ONCE ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); InitOnceInitialize(&mut result__); ::std::mem::transmute(result__) @@ -1408,7 +1408,7 @@ pub unsafe fn InitOnceInitialize() -> RTL_RUN_ONCE { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn InitializeConditionVariable() -> RTL_CONDITION_VARIABLE { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeConditionVariable ( conditionvariable : *mut RTL_CONDITION_VARIABLE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeConditionVariable ( conditionvariable : *mut RTL_CONDITION_VARIABLE ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); InitializeConditionVariable(&mut result__); ::std::mem::transmute(result__) @@ -1417,35 +1417,35 @@ pub unsafe fn InitializeConditionVariable() -> RTL_CONDITION_VARIABLE { #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn InitializeCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION) { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> ( ) ); InitializeCriticalSection(lpcriticalsection) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn InitializeCriticalSectionAndSpinCount(lpcriticalsection: *mut RTL_CRITICAL_SECTION, dwspincount: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeCriticalSectionAndSpinCount ( lpcriticalsection : *mut RTL_CRITICAL_SECTION , dwspincount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeCriticalSectionAndSpinCount ( lpcriticalsection : *mut RTL_CRITICAL_SECTION , dwspincount : u32 ) -> super::super::Foundation:: BOOL ); InitializeCriticalSectionAndSpinCount(lpcriticalsection, dwspincount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn InitializeCriticalSectionEx(lpcriticalsection: *mut RTL_CRITICAL_SECTION, dwspincount: u32, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeCriticalSectionEx ( lpcriticalsection : *mut RTL_CRITICAL_SECTION , dwspincount : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeCriticalSectionEx ( lpcriticalsection : *mut RTL_CRITICAL_SECTION , dwspincount : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); InitializeCriticalSectionEx(lpcriticalsection, dwspincount, flags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitializeProcThreadAttributeList(lpattributelist: LPPROC_THREAD_ATTRIBUTE_LIST, dwattributecount: u32, dwflags: u32, lpsize: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeProcThreadAttributeList ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , dwattributecount : u32 , dwflags : u32 , lpsize : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeProcThreadAttributeList ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , dwattributecount : u32 , dwflags : u32 , lpsize : *mut usize ) -> super::super::Foundation:: BOOL ); InitializeProcThreadAttributeList(lpattributelist, dwattributecount, dwflags, lpsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn InitializeSListHead() -> super::Kernel::SLIST_HEADER { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeSListHead ( listhead : *mut super::Kernel:: SLIST_HEADER ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeSListHead ( listhead : *mut super::Kernel:: SLIST_HEADER ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); InitializeSListHead(&mut result__); ::std::mem::transmute(result__) @@ -1453,7 +1453,7 @@ pub unsafe fn InitializeSListHead() -> super::Kernel::SLIST_HEADER { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn InitializeSRWLock() -> RTL_SRWLOCK { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeSRWLock ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeSRWLock ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); InitializeSRWLock(&mut result__); ::std::mem::transmute(result__) @@ -1462,35 +1462,35 @@ pub unsafe fn InitializeSRWLock() -> RTL_SRWLOCK { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitializeSynchronizationBarrier(lpbarrier: *mut RTL_BARRIER, ltotalthreads: i32, lspincount: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn InitializeSynchronizationBarrier ( lpbarrier : *mut RTL_BARRIER , ltotalthreads : i32 , lspincount : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InitializeSynchronizationBarrier ( lpbarrier : *mut RTL_BARRIER , ltotalthreads : i32 , lspincount : i32 ) -> super::super::Foundation:: BOOL ); InitializeSynchronizationBarrier(lpbarrier, ltotalthreads, lspincount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn InterlockedFlushSList(listhead: *mut super::Kernel::SLIST_HEADER) -> *mut super::Kernel::SLIST_ENTRY { - ::windows::core::link ! ( "kernel32.dll""system" fn InterlockedFlushSList ( listhead : *mut super::Kernel:: SLIST_HEADER ) -> *mut super::Kernel:: SLIST_ENTRY ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InterlockedFlushSList ( listhead : *mut super::Kernel:: SLIST_HEADER ) -> *mut super::Kernel:: SLIST_ENTRY ); InterlockedFlushSList(listhead) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn InterlockedPopEntrySList(listhead: *mut super::Kernel::SLIST_HEADER) -> *mut super::Kernel::SLIST_ENTRY { - ::windows::core::link ! ( "kernel32.dll""system" fn InterlockedPopEntrySList ( listhead : *mut super::Kernel:: SLIST_HEADER ) -> *mut super::Kernel:: SLIST_ENTRY ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InterlockedPopEntrySList ( listhead : *mut super::Kernel:: SLIST_HEADER ) -> *mut super::Kernel:: SLIST_ENTRY ); InterlockedPopEntrySList(listhead) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn InterlockedPushEntrySList(listhead: *mut super::Kernel::SLIST_HEADER, listentry: *mut super::Kernel::SLIST_ENTRY) -> *mut super::Kernel::SLIST_ENTRY { - ::windows::core::link ! ( "kernel32.dll""system" fn InterlockedPushEntrySList ( listhead : *mut super::Kernel:: SLIST_HEADER , listentry : *mut super::Kernel:: SLIST_ENTRY ) -> *mut super::Kernel:: SLIST_ENTRY ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InterlockedPushEntrySList ( listhead : *mut super::Kernel:: SLIST_HEADER , listentry : *mut super::Kernel:: SLIST_ENTRY ) -> *mut super::Kernel:: SLIST_ENTRY ); InterlockedPushEntrySList(listhead, listentry) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn InterlockedPushListSListEx(listhead: *mut super::Kernel::SLIST_HEADER, list: *mut super::Kernel::SLIST_ENTRY, listend: *mut super::Kernel::SLIST_ENTRY, count: u32) -> *mut super::Kernel::SLIST_ENTRY { - ::windows::core::link ! ( "kernel32.dll""system" fn InterlockedPushListSListEx ( listhead : *mut super::Kernel:: SLIST_HEADER , list : *mut super::Kernel:: SLIST_ENTRY , listend : *mut super::Kernel:: SLIST_ENTRY , count : u32 ) -> *mut super::Kernel:: SLIST_ENTRY ); + ::windows::imp::link ! ( "kernel32.dll""system" fn InterlockedPushListSListEx ( listhead : *mut super::Kernel:: SLIST_HEADER , list : *mut super::Kernel:: SLIST_ENTRY , listend : *mut super::Kernel:: SLIST_ENTRY , count : u32 ) -> *mut super::Kernel:: SLIST_ENTRY ); InterlockedPushListSListEx(listhead, list, listend, count) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1500,7 +1500,7 @@ pub unsafe fn IsImmersiveProcess(hprocess: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsImmersiveProcess ( hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsImmersiveProcess ( hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); IsImmersiveProcess(hprocess.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1510,28 +1510,28 @@ pub unsafe fn IsProcessCritical(hprocess: P0, critical: *mut super::super::F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn IsProcessCritical ( hprocess : super::super::Foundation:: HANDLE , critical : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsProcessCritical ( hprocess : super::super::Foundation:: HANDLE , critical : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); IsProcessCritical(hprocess.into(), critical) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsProcessorFeaturePresent(processorfeature: PROCESSOR_FEATURE_ID) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsProcessorFeaturePresent ( processorfeature : PROCESSOR_FEATURE_ID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsProcessorFeaturePresent ( processorfeature : PROCESSOR_FEATURE_ID ) -> super::super::Foundation:: BOOL ); IsProcessorFeaturePresent(processorfeature) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsThreadAFiber() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsThreadAFiber ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsThreadAFiber ( ) -> super::super::Foundation:: BOOL ); IsThreadAFiber() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsThreadpoolTimerSet(pti: *mut TP_TIMER) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsThreadpoolTimerSet ( pti : *mut TP_TIMER ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsThreadpoolTimerSet ( pti : *mut TP_TIMER ) -> super::super::Foundation:: BOOL ); IsThreadpoolTimerSet(pti) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1541,7 +1541,7 @@ pub unsafe fn IsWow64Process(hprocess: P0, wow64process: *mut super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn IsWow64Process ( hprocess : super::super::Foundation:: HANDLE , wow64process : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsWow64Process ( hprocess : super::super::Foundation:: HANDLE , wow64process : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); IsWow64Process(hprocess.into(), wow64process) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] @@ -1551,21 +1551,21 @@ pub unsafe fn IsWow64Process2(hprocess: P0, pprocessmachine: *mut super::Sys where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn IsWow64Process2 ( hprocess : super::super::Foundation:: HANDLE , pprocessmachine : *mut super::SystemInformation:: IMAGE_FILE_MACHINE , pnativemachine : *mut super::SystemInformation:: IMAGE_FILE_MACHINE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsWow64Process2 ( hprocess : super::super::Foundation:: HANDLE , pprocessmachine : *mut super::SystemInformation:: IMAGE_FILE_MACHINE , pnativemachine : *mut super::SystemInformation:: IMAGE_FILE_MACHINE ) -> super::super::Foundation:: BOOL ); IsWow64Process2(hprocess.into(), pprocessmachine, ::core::mem::transmute(pnativemachine.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn LeaveCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION) { - ::windows::core::link ! ( "kernel32.dll""system" fn LeaveCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LeaveCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> ( ) ); LeaveCriticalSection(lpcriticalsection) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn LeaveCriticalSectionWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE, pcs: *mut RTL_CRITICAL_SECTION) { - ::windows::core::link ! ( "kernel32.dll""system" fn LeaveCriticalSectionWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , pcs : *mut RTL_CRITICAL_SECTION ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LeaveCriticalSectionWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , pcs : *mut RTL_CRITICAL_SECTION ) -> ( ) ); LeaveCriticalSectionWhenCallbackReturns(pci, pcs) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1575,7 +1575,7 @@ pub unsafe fn NtQueryInformationProcess(processhandle: P0, processinformatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtQueryInformationProcess ( processhandle : super::super::Foundation:: HANDLE , processinformationclass : PROCESSINFOCLASS , processinformation : *mut ::core::ffi::c_void , processinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtQueryInformationProcess ( processhandle : super::super::Foundation:: HANDLE , processinformationclass : PROCESSINFOCLASS , processinformation : *mut ::core::ffi::c_void , processinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); NtQueryInformationProcess(processhandle.into(), processinformationclass, processinformation, processinformationlength, returnlength).ok() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1585,7 +1585,7 @@ pub unsafe fn NtQueryInformationThread(threadhandle: P0, threadinformationcl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtQueryInformationThread ( threadhandle : super::super::Foundation:: HANDLE , threadinformationclass : THREADINFOCLASS , threadinformation : *mut ::core::ffi::c_void , threadinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtQueryInformationThread ( threadhandle : super::super::Foundation:: HANDLE , threadinformationclass : THREADINFOCLASS , threadinformation : *mut ::core::ffi::c_void , threadinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); NtQueryInformationThread(threadhandle.into(), threadinformationclass, threadinformation, threadinformationlength, returnlength).ok() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1595,7 +1595,7 @@ pub unsafe fn NtSetInformationThread(threadhandle: P0, threadinformationclas where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtSetInformationThread ( threadhandle : super::super::Foundation:: HANDLE , threadinformationclass : THREADINFOCLASS , threadinformation : *const ::core::ffi::c_void , threadinformationlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtSetInformationThread ( threadhandle : super::super::Foundation:: HANDLE , threadinformationclass : THREADINFOCLASS , threadinformation : *const ::core::ffi::c_void , threadinformationlength : u32 ) -> super::super::Foundation:: NTSTATUS ); NtSetInformationThread(threadhandle.into(), threadinformationclass, threadinformation, threadinformationlength).ok() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1606,9 +1606,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenEventA ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenEventA ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenEventA(dwdesiredaccess, binherithandle.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1618,9 +1618,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenEventW ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenEventW ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenEventW(dwdesiredaccess, binherithandle.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1630,9 +1630,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenMutexW ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenMutexW ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenMutexW(dwdesiredaccess, binherithandle.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] @@ -1640,7 +1640,7 @@ pub unsafe fn OpenPrivateNamespaceA(lpboundarydescriptor: *const ::core::ffi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenPrivateNamespaceA ( lpboundarydescriptor : *const ::core::ffi::c_void , lpaliasprefix : :: windows::core::PCSTR ) -> NamespaceHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenPrivateNamespaceA ( lpboundarydescriptor : *const ::core::ffi::c_void , lpaliasprefix : :: windows::core::PCSTR ) -> NamespaceHandle ); OpenPrivateNamespaceA(lpboundarydescriptor, lpaliasprefix.into().abi()) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] @@ -1649,7 +1649,7 @@ pub unsafe fn OpenPrivateNamespaceW(lpboundarydescriptor: *const ::core::ffi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenPrivateNamespaceW ( lpboundarydescriptor : *const ::core::ffi::c_void , lpaliasprefix : :: windows::core::PCWSTR ) -> NamespaceHandle ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenPrivateNamespaceW ( lpboundarydescriptor : *const ::core::ffi::c_void , lpaliasprefix : :: windows::core::PCWSTR ) -> NamespaceHandle ); OpenPrivateNamespaceW(lpboundarydescriptor, lpaliasprefix.into().abi()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1659,9 +1659,9 @@ pub unsafe fn OpenProcess(dwdesiredaccess: PROCESS_ACCESS_RIGHTS, binheritha where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenProcess ( dwdesiredaccess : PROCESS_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , dwprocessid : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenProcess ( dwdesiredaccess : PROCESS_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , dwprocessid : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = OpenProcess(dwdesiredaccess, binherithandle.into(), dwprocessid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -1670,7 +1670,7 @@ pub unsafe fn OpenProcessToken(processhandle: P0, desiredaccess: super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenProcessToken ( processhandle : super::super::Foundation:: HANDLE , desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK , tokenhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenProcessToken ( processhandle : super::super::Foundation:: HANDLE , desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK , tokenhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); OpenProcessToken(processhandle.into(), desiredaccess, tokenhandle) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1681,9 +1681,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenSemaphoreW ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenSemaphoreW ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenSemaphoreW(dwdesiredaccess, binherithandle.into(), lpname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1692,9 +1692,9 @@ pub unsafe fn OpenThread(dwdesiredaccess: THREAD_ACCESS_RIGHTS, binherithand where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenThread ( dwdesiredaccess : THREAD_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , dwthreadid : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenThread ( dwdesiredaccess : THREAD_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , dwthreadid : u32 ) -> super::super::Foundation:: HANDLE ); let result__ = OpenThread(dwdesiredaccess, binherithandle.into(), dwthreadid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -1704,7 +1704,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn OpenThreadToken ( threadhandle : super::super::Foundation:: HANDLE , desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK , openasself : super::super::Foundation:: BOOL , tokenhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn OpenThreadToken ( threadhandle : super::super::Foundation:: HANDLE , desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK , openasself : super::super::Foundation:: BOOL , tokenhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); OpenThreadToken(threadhandle.into(), desiredaccess, openasself.into(), tokenhandle) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1715,9 +1715,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenWaitableTimerW ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenWaitableTimerW ( dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = OpenWaitableTimerW(dwdesiredaccess, binherithandle.into(), lptimername.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1726,14 +1726,14 @@ pub unsafe fn PulseEvent(hevent: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn PulseEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn PulseEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); PulseEvent(hevent.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn QueryDepthSList(listhead: *const super::Kernel::SLIST_HEADER) -> u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryDepthSList ( listhead : *const super::Kernel:: SLIST_HEADER ) -> u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryDepthSList ( listhead : *const super::Kernel:: SLIST_HEADER ) -> u16 ); QueryDepthSList(listhead) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1743,7 +1743,7 @@ pub unsafe fn QueryFullProcessImageNameA(hprocess: P0, dwflags: PROCESS_NAME where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryFullProcessImageNameA ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_NAME_FORMAT , lpexename : :: windows::core::PSTR , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryFullProcessImageNameA ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_NAME_FORMAT , lpexename : :: windows::core::PSTR , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryFullProcessImageNameA(hprocess.into(), dwflags, ::core::mem::transmute(lpexename), lpdwsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1753,7 +1753,7 @@ pub unsafe fn QueryFullProcessImageNameW(hprocess: P0, dwflags: PROCESS_NAME where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryFullProcessImageNameW ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_NAME_FORMAT , lpexename : :: windows::core::PWSTR , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryFullProcessImageNameW ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_NAME_FORMAT , lpexename : :: windows::core::PWSTR , lpdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryFullProcessImageNameW(hprocess.into(), dwflags, ::core::mem::transmute(lpexename), lpdwsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1763,14 +1763,14 @@ pub unsafe fn QueryProcessAffinityUpdateMode(hprocess: P0, lpdwflags: ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryProcessAffinityUpdateMode ( hprocess : super::super::Foundation:: HANDLE , lpdwflags : *mut PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryProcessAffinityUpdateMode ( hprocess : super::super::Foundation:: HANDLE , lpdwflags : *mut PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ); QueryProcessAffinityUpdateMode(hprocess.into(), ::core::mem::transmute(lpdwflags.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryProtectedPolicy(policyguid: *const ::windows::core::GUID, policyvalue: *mut usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryProtectedPolicy ( policyguid : *const :: windows::core::GUID , policyvalue : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryProtectedPolicy ( policyguid : *const :: windows::core::GUID , policyvalue : *mut usize ) -> super::super::Foundation:: BOOL ); QueryProtectedPolicy(policyguid, policyvalue) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1780,14 +1780,14 @@ pub unsafe fn QueryThreadpoolStackInformation(ptpp: P0, ptpsi: *mut TP_POOL_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryThreadpoolStackInformation ( ptpp : PTP_POOL , ptpsi : *mut TP_POOL_STACK_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryThreadpoolStackInformation ( ptpp : PTP_POOL , ptpsi : *mut TP_POOL_STACK_INFORMATION ) -> super::super::Foundation:: BOOL ); QueryThreadpoolStackInformation(ptpp.into(), ptpsi) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryUmsThreadInformation(umsthread: *const ::core::ffi::c_void, umsthreadinfoclass: RTL_UMS_THREAD_INFO_CLASS, umsthreadinformation: *mut ::core::ffi::c_void, umsthreadinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryUmsThreadInformation ( umsthread : *const ::core::ffi::c_void , umsthreadinfoclass : RTL_UMS_THREAD_INFO_CLASS , umsthreadinformation : *mut ::core::ffi::c_void , umsthreadinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryUmsThreadInformation ( umsthread : *const ::core::ffi::c_void , umsthreadinfoclass : RTL_UMS_THREAD_INFO_CLASS , umsthreadinformation : *mut ::core::ffi::c_void , umsthreadinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: BOOL ); QueryUmsThreadInformation(umsthread, umsthreadinfoclass, umsthreadinformation, umsthreadinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1797,7 +1797,7 @@ pub unsafe fn QueueUserAPC(pfnapc: super::super::Foundation::PAPCFUNC, hthre where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueueUserAPC ( pfnapc : super::super::Foundation:: PAPCFUNC , hthread : super::super::Foundation:: HANDLE , dwdata : usize ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueueUserAPC ( pfnapc : super::super::Foundation:: PAPCFUNC , hthread : super::super::Foundation:: HANDLE , dwdata : usize ) -> u32 ); QueueUserAPC(pfnapc, hthread.into(), dwdata) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1807,14 +1807,14 @@ pub unsafe fn QueueUserAPC2(apcroutine: super::super::Foundation::PAPCFUNC, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueueUserAPC2 ( apcroutine : super::super::Foundation:: PAPCFUNC , thread : super::super::Foundation:: HANDLE , data : usize , flags : QUEUE_USER_APC_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueueUserAPC2 ( apcroutine : super::super::Foundation:: PAPCFUNC , thread : super::super::Foundation:: HANDLE , data : usize , flags : QUEUE_USER_APC_FLAGS ) -> super::super::Foundation:: BOOL ); QueueUserAPC2(apcroutine, thread.into(), data, flags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueueUserWorkItem(function: LPTHREAD_START_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>, flags: WORKER_THREAD_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn QueueUserWorkItem ( function : LPTHREAD_START_ROUTINE , context : *const ::core::ffi::c_void , flags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueueUserWorkItem ( function : LPTHREAD_START_ROUTINE , context : *const ::core::ffi::c_void , flags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ); QueueUserWorkItem(function, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1824,7 +1824,7 @@ pub unsafe fn RegisterWaitForSingleObject(phnewwaitobject: *mut super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn RegisterWaitForSingleObject ( phnewwaitobject : *mut super::super::Foundation:: HANDLE , hobject : super::super::Foundation:: HANDLE , callback : WAITORTIMERCALLBACK , context : *const ::core::ffi::c_void , dwmilliseconds : u32 , dwflags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RegisterWaitForSingleObject ( phnewwaitobject : *mut super::super::Foundation:: HANDLE , hobject : super::super::Foundation:: HANDLE , callback : WAITORTIMERCALLBACK , context : *const ::core::ffi::c_void , dwmilliseconds : u32 , dwflags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ); RegisterWaitForSingleObject(phnewwaitobject, hobject.into(), callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), dwmilliseconds, dwflags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1834,7 +1834,7 @@ pub unsafe fn ReleaseMutex(hmutex: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReleaseMutex ( hmutex : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReleaseMutex ( hmutex : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ReleaseMutex(hmutex.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1844,19 +1844,19 @@ pub unsafe fn ReleaseMutexWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReleaseMutexWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , r#mut : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReleaseMutexWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , r#mut : super::super::Foundation:: HANDLE ) -> ( ) ); ReleaseMutexWhenCallbackReturns(pci, r#mut.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn ReleaseSRWLockExclusive(srwlock: *mut RTL_SRWLOCK) { - ::windows::core::link ! ( "kernel32.dll""system" fn ReleaseSRWLockExclusive ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReleaseSRWLockExclusive ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); ReleaseSRWLockExclusive(srwlock) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn ReleaseSRWLockShared(srwlock: *mut RTL_SRWLOCK) { - ::windows::core::link ! ( "kernel32.dll""system" fn ReleaseSRWLockShared ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReleaseSRWLockShared ( srwlock : *mut RTL_SRWLOCK ) -> ( ) ); ReleaseSRWLockShared(srwlock) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1866,7 +1866,7 @@ pub unsafe fn ReleaseSemaphore(hsemaphore: P0, lreleasecount: i32, lppreviou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReleaseSemaphore ( hsemaphore : super::super::Foundation:: HANDLE , lreleasecount : i32 , lppreviouscount : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReleaseSemaphore ( hsemaphore : super::super::Foundation:: HANDLE , lreleasecount : i32 , lppreviouscount : *mut i32 ) -> super::super::Foundation:: BOOL ); ReleaseSemaphore(hsemaphore.into(), lreleasecount, ::core::mem::transmute(lppreviouscount.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1876,7 +1876,7 @@ pub unsafe fn ReleaseSemaphoreWhenCallbackReturns(pci: *mut TP_CALLBACK_INST where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReleaseSemaphoreWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , sem : super::super::Foundation:: HANDLE , crel : u32 ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReleaseSemaphoreWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , sem : super::super::Foundation:: HANDLE , crel : u32 ) -> ( ) ); ReleaseSemaphoreWhenCallbackReturns(pci, sem.into(), crel) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1886,7 +1886,7 @@ pub unsafe fn ResetEvent(hevent: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ResetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ResetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); ResetEvent(hevent.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1896,14 +1896,14 @@ pub unsafe fn ResumeThread(hthread: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn ResumeThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ResumeThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ); ResumeThread(hthread.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn SetCriticalSectionSpinCount(lpcriticalsection: *mut RTL_CRITICAL_SECTION, dwspincount: u32) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn SetCriticalSectionSpinCount ( lpcriticalsection : *mut RTL_CRITICAL_SECTION , dwspincount : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetCriticalSectionSpinCount ( lpcriticalsection : *mut RTL_CRITICAL_SECTION , dwspincount : u32 ) -> u32 ); SetCriticalSectionSpinCount(lpcriticalsection, dwspincount) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1913,7 +1913,7 @@ pub unsafe fn SetEvent(hevent: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetEvent(hevent.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1923,7 +1923,7 @@ pub unsafe fn SetEventWhenCallbackReturns(pci: *mut TP_CALLBACK_INSTANCE, ev where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetEventWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , evt : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetEventWhenCallbackReturns ( pci : *mut TP_CALLBACK_INSTANCE , evt : super::super::Foundation:: HANDLE ) -> ( ) ); SetEventWhenCallbackReturns(pci, evt.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1933,7 +1933,7 @@ pub unsafe fn SetPriorityClass(hprocess: P0, dwpriorityclass: PROCESS_CREATI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetPriorityClass ( hprocess : super::super::Foundation:: HANDLE , dwpriorityclass : PROCESS_CREATION_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetPriorityClass ( hprocess : super::super::Foundation:: HANDLE , dwpriorityclass : PROCESS_CREATION_FLAGS ) -> super::super::Foundation:: BOOL ); SetPriorityClass(hprocess.into(), dwpriorityclass) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1943,7 +1943,7 @@ pub unsafe fn SetProcessAffinityMask(hprocess: P0, dwprocessaffinitymask: us where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessAffinityMask ( hprocess : super::super::Foundation:: HANDLE , dwprocessaffinitymask : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessAffinityMask ( hprocess : super::super::Foundation:: HANDLE , dwprocessaffinitymask : usize ) -> super::super::Foundation:: BOOL ); SetProcessAffinityMask(hprocess.into(), dwprocessaffinitymask) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1953,14 +1953,14 @@ pub unsafe fn SetProcessAffinityUpdateMode(hprocess: P0, dwflags: PROCESS_AF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessAffinityUpdateMode ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessAffinityUpdateMode ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ); SetProcessAffinityUpdateMode(hprocess.into(), dwflags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetProcessDEPPolicy(dwflags: PROCESS_DEP_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessDEPPolicy ( dwflags : PROCESS_DEP_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessDEPPolicy ( dwflags : PROCESS_DEP_FLAGS ) -> super::super::Foundation:: BOOL ); SetProcessDEPPolicy(dwflags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] @@ -1970,7 +1970,7 @@ pub unsafe fn SetProcessDefaultCpuSetMasks(process: P0, cpusetmasks: ::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessDefaultCpuSetMasks ( process : super::super::Foundation:: HANDLE , cpusetmasks : *const super::SystemInformation:: GROUP_AFFINITY , cpusetmaskcount : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessDefaultCpuSetMasks ( process : super::super::Foundation:: HANDLE , cpusetmasks : *const super::SystemInformation:: GROUP_AFFINITY , cpusetmaskcount : u16 ) -> super::super::Foundation:: BOOL ); SetProcessDefaultCpuSetMasks(process.into(), ::core::mem::transmute(cpusetmasks.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), cpusetmasks.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1980,7 +1980,7 @@ pub unsafe fn SetProcessDefaultCpuSets(process: P0, cpusetids: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessDefaultCpuSets ( process : super::super::Foundation:: HANDLE , cpusetids : *const u32 , cpusetidcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessDefaultCpuSets ( process : super::super::Foundation:: HANDLE , cpusetids : *const u32 , cpusetidcount : u32 ) -> super::super::Foundation:: BOOL ); SetProcessDefaultCpuSets(process.into(), ::core::mem::transmute(cpusetids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), cpusetids.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -1990,7 +1990,7 @@ pub unsafe fn SetProcessDynamicEHContinuationTargets(process: P0, targets: & where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessDynamicEHContinuationTargets ( process : super::super::Foundation:: HANDLE , numberoftargets : u16 , targets : *mut PROCESS_DYNAMIC_EH_CONTINUATION_TARGET ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessDynamicEHContinuationTargets ( process : super::super::Foundation:: HANDLE , numberoftargets : u16 , targets : *mut PROCESS_DYNAMIC_EH_CONTINUATION_TARGET ) -> super::super::Foundation:: BOOL ); SetProcessDynamicEHContinuationTargets(process.into(), targets.len() as _, ::core::mem::transmute(targets.as_ptr())) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2000,7 +2000,7 @@ pub unsafe fn SetProcessDynamicEnforcedCetCompatibleRanges(process: P0, rang where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessDynamicEnforcedCetCompatibleRanges ( process : super::super::Foundation:: HANDLE , numberofranges : u16 , ranges : *mut PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessDynamicEnforcedCetCompatibleRanges ( process : super::super::Foundation:: HANDLE , numberofranges : u16 , ranges : *mut PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGE ) -> super::super::Foundation:: BOOL ); SetProcessDynamicEnforcedCetCompatibleRanges(process.into(), ranges.len() as _, ::core::mem::transmute(ranges.as_ptr())) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2010,14 +2010,14 @@ pub unsafe fn SetProcessInformation(hprocess: P0, processinformationclass: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessInformation ( hprocess : super::super::Foundation:: HANDLE , processinformationclass : PROCESS_INFORMATION_CLASS , processinformation : *const ::core::ffi::c_void , processinformationsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessInformation ( hprocess : super::super::Foundation:: HANDLE , processinformationclass : PROCESS_INFORMATION_CLASS , processinformation : *const ::core::ffi::c_void , processinformationsize : u32 ) -> super::super::Foundation:: BOOL ); SetProcessInformation(hprocess.into(), processinformationclass, processinformation, processinformationsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetProcessMitigationPolicy(mitigationpolicy: PROCESS_MITIGATION_POLICY, lpbuffer: *const ::core::ffi::c_void, dwlength: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessMitigationPolicy ( mitigationpolicy : PROCESS_MITIGATION_POLICY , lpbuffer : *const ::core::ffi::c_void , dwlength : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessMitigationPolicy ( mitigationpolicy : PROCESS_MITIGATION_POLICY , lpbuffer : *const ::core::ffi::c_void , dwlength : usize ) -> super::super::Foundation:: BOOL ); SetProcessMitigationPolicy(mitigationpolicy, lpbuffer, dwlength) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2028,7 +2028,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessPriorityBoost ( hprocess : super::super::Foundation:: HANDLE , bdisablepriorityboost : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessPriorityBoost ( hprocess : super::super::Foundation:: HANDLE , bdisablepriorityboost : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetProcessPriorityBoost(hprocess.into(), bdisablepriorityboost.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2038,14 +2038,14 @@ pub unsafe fn SetProcessRestrictionExemption(fenableexemption: P0) -> super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetProcessRestrictionExemption ( fenableexemption : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetProcessRestrictionExemption ( fenableexemption : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetProcessRestrictionExemption(fenableexemption.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetProcessShutdownParameters(dwlevel: u32, dwflags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessShutdownParameters ( dwlevel : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessShutdownParameters ( dwlevel : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); SetProcessShutdownParameters(dwlevel, dwflags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2055,14 +2055,14 @@ pub unsafe fn SetProcessWorkingSetSize(hprocess: P0, dwminimumworkingsetsize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProcessWorkingSetSize ( hprocess : super::super::Foundation:: HANDLE , dwminimumworkingsetsize : usize , dwmaximumworkingsetsize : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProcessWorkingSetSize ( hprocess : super::super::Foundation:: HANDLE , dwminimumworkingsetsize : usize , dwmaximumworkingsetsize : usize ) -> super::super::Foundation:: BOOL ); SetProcessWorkingSetSize(hprocess.into(), dwminimumworkingsetsize, dwmaximumworkingsetsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetProtectedPolicy(policyguid: *const ::windows::core::GUID, policyvalue: usize, oldpolicyvalue: ::core::option::Option<*mut usize>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetProtectedPolicy ( policyguid : *const :: windows::core::GUID , policyvalue : usize , oldpolicyvalue : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetProtectedPolicy ( policyguid : *const :: windows::core::GUID , policyvalue : usize , oldpolicyvalue : *mut usize ) -> super::super::Foundation:: BOOL ); SetProtectedPolicy(policyguid, policyvalue, ::core::mem::transmute(oldpolicyvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2072,7 +2072,7 @@ pub unsafe fn SetThreadAffinityMask(hthread: P0, dwthreadaffinitymask: usize where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadAffinityMask ( hthread : super::super::Foundation:: HANDLE , dwthreadaffinitymask : usize ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadAffinityMask ( hthread : super::super::Foundation:: HANDLE , dwthreadaffinitymask : usize ) -> usize ); SetThreadAffinityMask(hthread.into(), dwthreadaffinitymask) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2083,7 +2083,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadDescription ( hthread : super::super::Foundation:: HANDLE , lpthreaddescription : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadDescription ( hthread : super::super::Foundation:: HANDLE , lpthreaddescription : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SetThreadDescription(hthread.into(), lpthreaddescription.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] @@ -2093,7 +2093,7 @@ pub unsafe fn SetThreadGroupAffinity(hthread: P0, groupaffinity: *const supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadGroupAffinity ( hthread : super::super::Foundation:: HANDLE , groupaffinity : *const super::SystemInformation:: GROUP_AFFINITY , previousgroupaffinity : *mut super::SystemInformation:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadGroupAffinity ( hthread : super::super::Foundation:: HANDLE , groupaffinity : *const super::SystemInformation:: GROUP_AFFINITY , previousgroupaffinity : *mut super::SystemInformation:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ); SetThreadGroupAffinity(hthread.into(), groupaffinity, ::core::mem::transmute(previousgroupaffinity.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2103,7 +2103,7 @@ pub unsafe fn SetThreadIdealProcessor(hthread: P0, dwidealprocessor: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadIdealProcessor ( hthread : super::super::Foundation:: HANDLE , dwidealprocessor : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadIdealProcessor ( hthread : super::super::Foundation:: HANDLE , dwidealprocessor : u32 ) -> u32 ); SetThreadIdealProcessor(hthread.into(), dwidealprocessor) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -2113,7 +2113,7 @@ pub unsafe fn SetThreadIdealProcessorEx(hthread: P0, lpidealprocessor: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadIdealProcessorEx ( hthread : super::super::Foundation:: HANDLE , lpidealprocessor : *const super::Kernel:: PROCESSOR_NUMBER , lppreviousidealprocessor : *mut super::Kernel:: PROCESSOR_NUMBER ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadIdealProcessorEx ( hthread : super::super::Foundation:: HANDLE , lpidealprocessor : *const super::Kernel:: PROCESSOR_NUMBER , lppreviousidealprocessor : *mut super::Kernel:: PROCESSOR_NUMBER ) -> super::super::Foundation:: BOOL ); SetThreadIdealProcessorEx(hthread.into(), lpidealprocessor, ::core::mem::transmute(lppreviousidealprocessor.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2123,7 +2123,7 @@ pub unsafe fn SetThreadInformation(hthread: P0, threadinformationclass: THRE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadInformation ( hthread : super::super::Foundation:: HANDLE , threadinformationclass : THREAD_INFORMATION_CLASS , threadinformation : *const ::core::ffi::c_void , threadinformationsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadInformation ( hthread : super::super::Foundation:: HANDLE , threadinformationclass : THREAD_INFORMATION_CLASS , threadinformation : *const ::core::ffi::c_void , threadinformationsize : u32 ) -> super::super::Foundation:: BOOL ); SetThreadInformation(hthread.into(), threadinformationclass, threadinformation, threadinformationsize) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2133,7 +2133,7 @@ pub unsafe fn SetThreadPriority(hthread: P0, npriority: THREAD_PRIORITY) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadPriority ( hthread : super::super::Foundation:: HANDLE , npriority : THREAD_PRIORITY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadPriority ( hthread : super::super::Foundation:: HANDLE , npriority : THREAD_PRIORITY ) -> super::super::Foundation:: BOOL ); SetThreadPriority(hthread.into(), npriority) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2144,7 +2144,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadPriorityBoost ( hthread : super::super::Foundation:: HANDLE , bdisablepriorityboost : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadPriorityBoost ( hthread : super::super::Foundation:: HANDLE , bdisablepriorityboost : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetThreadPriorityBoost(hthread.into(), bdisablepriorityboost.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] @@ -2154,7 +2154,7 @@ pub unsafe fn SetThreadSelectedCpuSetMasks(thread: P0, cpusetmasks: ::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadSelectedCpuSetMasks ( thread : super::super::Foundation:: HANDLE , cpusetmasks : *const super::SystemInformation:: GROUP_AFFINITY , cpusetmaskcount : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadSelectedCpuSetMasks ( thread : super::super::Foundation:: HANDLE , cpusetmasks : *const super::SystemInformation:: GROUP_AFFINITY , cpusetmaskcount : u16 ) -> super::super::Foundation:: BOOL ); SetThreadSelectedCpuSetMasks(thread.into(), ::core::mem::transmute(cpusetmasks.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), cpusetmasks.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2164,14 +2164,14 @@ pub unsafe fn SetThreadSelectedCpuSets(thread: P0, cpusetids: &[u32]) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadSelectedCpuSets ( thread : super::super::Foundation:: HANDLE , cpusetids : *const u32 , cpusetidcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadSelectedCpuSets ( thread : super::super::Foundation:: HANDLE , cpusetids : *const u32 , cpusetidcount : u32 ) -> super::super::Foundation:: BOOL ); SetThreadSelectedCpuSets(thread.into(), ::core::mem::transmute(cpusetids.as_ptr()), cpusetids.len() as _) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetThreadStackGuarantee(stacksizeinbytes: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadStackGuarantee ( stacksizeinbytes : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadStackGuarantee ( stacksizeinbytes : *mut u32 ) -> super::super::Foundation:: BOOL ); SetThreadStackGuarantee(stacksizeinbytes) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2181,7 +2181,7 @@ pub unsafe fn SetThreadToken(thread: ::core::option::Option<*const super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn SetThreadToken ( thread : *const super::super::Foundation:: HANDLE , token : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn SetThreadToken ( thread : *const super::super::Foundation:: HANDLE , token : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetThreadToken(::core::mem::transmute(thread.unwrap_or(::std::ptr::null())), token.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2191,7 +2191,7 @@ pub unsafe fn SetThreadpoolStackInformation(ptpp: P0, ptpsi: *const TP_POOL_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadpoolStackInformation ( ptpp : PTP_POOL , ptpsi : *const TP_POOL_STACK_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadpoolStackInformation ( ptpp : PTP_POOL , ptpsi : *const TP_POOL_STACK_INFORMATION ) -> super::super::Foundation:: BOOL ); SetThreadpoolStackInformation(ptpp.into(), ptpsi) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] @@ -2200,7 +2200,7 @@ pub unsafe fn SetThreadpoolThreadMaximum(ptpp: P0, cthrdmost: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadpoolThreadMaximum ( ptpp : PTP_POOL , cthrdmost : u32 ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadpoolThreadMaximum ( ptpp : PTP_POOL , cthrdmost : u32 ) -> ( ) ); SetThreadpoolThreadMaximum(ptpp.into(), cthrdmost) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2210,21 +2210,21 @@ pub unsafe fn SetThreadpoolThreadMinimum(ptpp: P0, cthrdmic: u32) -> super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadpoolThreadMinimum ( ptpp : PTP_POOL , cthrdmic : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadpoolThreadMinimum ( ptpp : PTP_POOL , cthrdmic : u32 ) -> super::super::Foundation:: BOOL ); SetThreadpoolThreadMinimum(ptpp.into(), cthrdmic) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetThreadpoolTimer(pti: *mut TP_TIMER, pftduetime: ::core::option::Option<*const super::super::Foundation::FILETIME>, msperiod: u32, mswindowlength: u32) { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadpoolTimer ( pti : *mut TP_TIMER , pftduetime : *const super::super::Foundation:: FILETIME , msperiod : u32 , mswindowlength : u32 ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadpoolTimer ( pti : *mut TP_TIMER , pftduetime : *const super::super::Foundation:: FILETIME , msperiod : u32 , mswindowlength : u32 ) -> ( ) ); SetThreadpoolTimer(pti, ::core::mem::transmute(pftduetime.unwrap_or(::std::ptr::null())), msperiod, mswindowlength) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetThreadpoolTimerEx(pti: *mut TP_TIMER, pftduetime: ::core::option::Option<*const super::super::Foundation::FILETIME>, msperiod: u32, mswindowlength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadpoolTimerEx ( pti : *mut TP_TIMER , pftduetime : *const super::super::Foundation:: FILETIME , msperiod : u32 , mswindowlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadpoolTimerEx ( pti : *mut TP_TIMER , pftduetime : *const super::super::Foundation:: FILETIME , msperiod : u32 , mswindowlength : u32 ) -> super::super::Foundation:: BOOL ); SetThreadpoolTimerEx(pti, ::core::mem::transmute(pftduetime.unwrap_or(::std::ptr::null())), msperiod, mswindowlength) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2234,7 +2234,7 @@ pub unsafe fn SetThreadpoolWait(pwa: *mut TP_WAIT, h: P0, pfttimeout: ::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadpoolWait ( pwa : *mut TP_WAIT , h : super::super::Foundation:: HANDLE , pfttimeout : *const super::super::Foundation:: FILETIME ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadpoolWait ( pwa : *mut TP_WAIT , h : super::super::Foundation:: HANDLE , pfttimeout : *const super::super::Foundation:: FILETIME ) -> ( ) ); SetThreadpoolWait(pwa, h.into(), ::core::mem::transmute(pfttimeout.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2244,7 +2244,7 @@ pub unsafe fn SetThreadpoolWaitEx(pwa: *mut TP_WAIT, h: P0, pfttimeout: ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetThreadpoolWaitEx ( pwa : *mut TP_WAIT , h : super::super::Foundation:: HANDLE , pfttimeout : *const super::super::Foundation:: FILETIME , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetThreadpoolWaitEx ( pwa : *mut TP_WAIT , h : super::super::Foundation:: HANDLE , pfttimeout : *const super::super::Foundation:: FILETIME , reserved : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetThreadpoolWaitEx(pwa, h.into(), ::core::mem::transmute(pfttimeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2255,14 +2255,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , callback : WAITORTIMERCALLBACK , parameter : *const ::core::ffi::c_void , duetime : u32 , period : u32 , preferio : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , callback : WAITORTIMERCALLBACK , parameter : *const ::core::ffi::c_void , duetime : u32 , period : u32 , preferio : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); SetTimerQueueTimer(timerqueue.into(), callback, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null())), duetime, period, preferio.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetUmsThreadInformation(umsthread: *const ::core::ffi::c_void, umsthreadinfoclass: RTL_UMS_THREAD_INFO_CLASS, umsthreadinformation: *const ::core::ffi::c_void, umsthreadinformationlength: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetUmsThreadInformation ( umsthread : *const ::core::ffi::c_void , umsthreadinfoclass : RTL_UMS_THREAD_INFO_CLASS , umsthreadinformation : *const ::core::ffi::c_void , umsthreadinformationlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetUmsThreadInformation ( umsthread : *const ::core::ffi::c_void , umsthreadinfoclass : RTL_UMS_THREAD_INFO_CLASS , umsthreadinformation : *const ::core::ffi::c_void , umsthreadinformationlength : u32 ) -> super::super::Foundation:: BOOL ); SetUmsThreadInformation(umsthread, umsthreadinfoclass, umsthreadinformation, umsthreadinformationlength) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2273,7 +2273,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetWaitableTimer ( htimer : super::super::Foundation:: HANDLE , lpduetime : *const i64 , lperiod : i32 , pfncompletionroutine : PTIMERAPCROUTINE , lpargtocompletionroutine : *const ::core::ffi::c_void , fresume : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetWaitableTimer ( htimer : super::super::Foundation:: HANDLE , lpduetime : *const i64 , lperiod : i32 , pfncompletionroutine : PTIMERAPCROUTINE , lpargtocompletionroutine : *const ::core::ffi::c_void , fresume : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetWaitableTimer(htimer.into(), lpduetime, lperiod, pfncompletionroutine, ::core::mem::transmute(lpargtocompletionroutine.unwrap_or(::std::ptr::null())), fresume.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2283,27 +2283,27 @@ pub unsafe fn SetWaitableTimerEx(htimer: P0, lpduetime: *const i64, lperiod: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetWaitableTimerEx ( htimer : super::super::Foundation:: HANDLE , lpduetime : *const i64 , lperiod : i32 , pfncompletionroutine : PTIMERAPCROUTINE , lpargtocompletionroutine : *const ::core::ffi::c_void , wakecontext : *const REASON_CONTEXT , tolerabledelay : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetWaitableTimerEx ( htimer : super::super::Foundation:: HANDLE , lpduetime : *const i64 , lperiod : i32 , pfncompletionroutine : PTIMERAPCROUTINE , lpargtocompletionroutine : *const ::core::ffi::c_void , wakecontext : *const REASON_CONTEXT , tolerabledelay : u32 ) -> super::super::Foundation:: BOOL ); SetWaitableTimerEx(htimer.into(), lpduetime, lperiod, pfncompletionroutine, ::core::mem::transmute(lpargtocompletionroutine.unwrap_or(::std::ptr::null())), ::core::mem::transmute(wakecontext.unwrap_or(::std::ptr::null())), tolerabledelay) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn Sleep(dwmilliseconds: u32) { - ::windows::core::link ! ( "kernel32.dll""system" fn Sleep ( dwmilliseconds : u32 ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Sleep ( dwmilliseconds : u32 ) -> ( ) ); Sleep(dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn SleepConditionVariableCS(conditionvariable: *mut RTL_CONDITION_VARIABLE, criticalsection: *mut RTL_CRITICAL_SECTION, dwmilliseconds: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SleepConditionVariableCS ( conditionvariable : *mut RTL_CONDITION_VARIABLE , criticalsection : *mut RTL_CRITICAL_SECTION , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SleepConditionVariableCS ( conditionvariable : *mut RTL_CONDITION_VARIABLE , criticalsection : *mut RTL_CRITICAL_SECTION , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ); SleepConditionVariableCS(conditionvariable, criticalsection, dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SleepConditionVariableSRW(conditionvariable: *mut RTL_CONDITION_VARIABLE, srwlock: *mut RTL_SRWLOCK, dwmilliseconds: u32, flags: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SleepConditionVariableSRW ( conditionvariable : *mut RTL_CONDITION_VARIABLE , srwlock : *mut RTL_SRWLOCK , dwmilliseconds : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SleepConditionVariableSRW ( conditionvariable : *mut RTL_CONDITION_VARIABLE , srwlock : *mut RTL_SRWLOCK , dwmilliseconds : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); SleepConditionVariableSRW(conditionvariable, srwlock, dwmilliseconds, flags) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2313,19 +2313,19 @@ pub unsafe fn SleepEx(dwmilliseconds: u32, balertable: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SleepEx ( dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SleepEx ( dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> u32 ); SleepEx(dwmilliseconds, balertable.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn StartThreadpoolIo(pio: *mut TP_IO) { - ::windows::core::link ! ( "kernel32.dll""system" fn StartThreadpoolIo ( pio : *mut TP_IO ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn StartThreadpoolIo ( pio : *mut TP_IO ) -> ( ) ); StartThreadpoolIo(pio) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn SubmitThreadpoolWork(pwk: *mut TP_WORK) { - ::windows::core::link ! ( "kernel32.dll""system" fn SubmitThreadpoolWork ( pwk : *mut TP_WORK ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SubmitThreadpoolWork ( pwk : *mut TP_WORK ) -> ( ) ); SubmitThreadpoolWork(pwk) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2335,20 +2335,20 @@ pub unsafe fn SuspendThread(hthread: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SuspendThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SuspendThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ); SuspendThread(hthread.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn SwitchToFiber(lpfiber: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "kernel32.dll""system" fn SwitchToFiber ( lpfiber : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SwitchToFiber ( lpfiber : *const ::core::ffi::c_void ) -> ( ) ); SwitchToFiber(lpfiber) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SwitchToThread() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SwitchToThread ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SwitchToThread ( ) -> super::super::Foundation:: BOOL ); SwitchToThread() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2358,7 +2358,7 @@ pub unsafe fn TerminateProcess(hprocess: P0, uexitcode: u32) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn TerminateProcess ( hprocess : super::super::Foundation:: HANDLE , uexitcode : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TerminateProcess ( hprocess : super::super::Foundation:: HANDLE , uexitcode : u32 ) -> super::super::Foundation:: BOOL ); TerminateProcess(hprocess.into(), uexitcode) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2368,68 +2368,68 @@ pub unsafe fn TerminateThread(hthread: P0, dwexitcode: u32) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn TerminateThread ( hthread : super::super::Foundation:: HANDLE , dwexitcode : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TerminateThread ( hthread : super::super::Foundation:: HANDLE , dwexitcode : u32 ) -> super::super::Foundation:: BOOL ); TerminateThread(hthread.into(), dwexitcode) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn TlsAlloc() -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn TlsAlloc ( ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TlsAlloc ( ) -> u32 ); TlsAlloc() } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TlsFree(dwtlsindex: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn TlsFree ( dwtlsindex : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TlsFree ( dwtlsindex : u32 ) -> super::super::Foundation:: BOOL ); TlsFree(dwtlsindex) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn TlsGetValue(dwtlsindex: u32) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn TlsGetValue ( dwtlsindex : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TlsGetValue ( dwtlsindex : u32 ) -> *mut ::core::ffi::c_void ); TlsGetValue(dwtlsindex) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TlsSetValue(dwtlsindex: u32, lptlsvalue: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn TlsSetValue ( dwtlsindex : u32 , lptlsvalue : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TlsSetValue ( dwtlsindex : u32 , lptlsvalue : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); TlsSetValue(dwtlsindex, ::core::mem::transmute(lptlsvalue.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TryAcquireSRWLockExclusive(srwlock: *mut RTL_SRWLOCK) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "kernel32.dll""system" fn TryAcquireSRWLockExclusive ( srwlock : *mut RTL_SRWLOCK ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TryAcquireSRWLockExclusive ( srwlock : *mut RTL_SRWLOCK ) -> super::super::Foundation:: BOOLEAN ); TryAcquireSRWLockExclusive(srwlock) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TryAcquireSRWLockShared(srwlock: *mut RTL_SRWLOCK) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "kernel32.dll""system" fn TryAcquireSRWLockShared ( srwlock : *mut RTL_SRWLOCK ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TryAcquireSRWLockShared ( srwlock : *mut RTL_SRWLOCK ) -> super::super::Foundation:: BOOLEAN ); TryAcquireSRWLockShared(srwlock) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn TryEnterCriticalSection(lpcriticalsection: *mut RTL_CRITICAL_SECTION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn TryEnterCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TryEnterCriticalSection ( lpcriticalsection : *mut RTL_CRITICAL_SECTION ) -> super::super::Foundation:: BOOL ); TryEnterCriticalSection(lpcriticalsection) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TrySubmitThreadpoolCallback(pfns: PTP_SIMPLE_CALLBACK, pv: ::core::option::Option<*mut ::core::ffi::c_void>, pcbe: ::core::option::Option<*const TP_CALLBACK_ENVIRON_V3>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn TrySubmitThreadpoolCallback ( pfns : PTP_SIMPLE_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TrySubmitThreadpoolCallback ( pfns : PTP_SIMPLE_CALLBACK , pv : *mut ::core::ffi::c_void , pcbe : *const TP_CALLBACK_ENVIRON_V3 ) -> super::super::Foundation:: BOOL ); TrySubmitThreadpoolCallback(pfns, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbe.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UmsThreadYield(schedulerparam: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn UmsThreadYield ( schedulerparam : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UmsThreadYield ( schedulerparam : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); UmsThreadYield(schedulerparam) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2439,7 +2439,7 @@ pub unsafe fn UnregisterWait(waithandle: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn UnregisterWait ( waithandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnregisterWait ( waithandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); UnregisterWait(waithandle.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2450,14 +2450,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn UnregisterWaitEx ( waithandle : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UnregisterWaitEx ( waithandle : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); UnregisterWaitEx(waithandle.into(), completionevent.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UpdateProcThreadAttribute(lpattributelist: LPPROC_THREAD_ATTRIBUTE_LIST, dwflags: u32, attribute: usize, lpvalue: ::core::option::Option<*const ::core::ffi::c_void>, cbsize: usize, lppreviousvalue: ::core::option::Option<*mut ::core::ffi::c_void>, lpreturnsize: ::core::option::Option<*const usize>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn UpdateProcThreadAttribute ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , dwflags : u32 , attribute : usize , lpvalue : *const ::core::ffi::c_void , cbsize : usize , lppreviousvalue : *mut ::core::ffi::c_void , lpreturnsize : *const usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn UpdateProcThreadAttribute ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , dwflags : u32 , attribute : usize , lpvalue : *const ::core::ffi::c_void , cbsize : usize , lppreviousvalue : *mut ::core::ffi::c_void , lpreturnsize : *const usize ) -> super::super::Foundation:: BOOL ); UpdateProcThreadAttribute(lpattributelist, dwflags, attribute, ::core::mem::transmute(lpvalue.unwrap_or(::std::ptr::null())), cbsize, ::core::mem::transmute(lppreviousvalue.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpreturnsize.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2467,7 +2467,7 @@ pub unsafe fn WaitForInputIdle(hprocess: P0, dwmilliseconds: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn WaitForInputIdle ( hprocess : super::super::Foundation:: HANDLE , dwmilliseconds : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn WaitForInputIdle ( hprocess : super::super::Foundation:: HANDLE , dwmilliseconds : u32 ) -> u32 ); WaitForInputIdle(hprocess.into(), dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2477,7 +2477,7 @@ pub unsafe fn WaitForMultipleObjects(lphandles: &[super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForMultipleObjects ( ncount : u32 , lphandles : *const super::super::Foundation:: HANDLE , bwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForMultipleObjects ( ncount : u32 , lphandles : *const super::super::Foundation:: HANDLE , bwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 ) -> super::super::Foundation:: WIN32_ERROR ); WaitForMultipleObjects(lphandles.len() as _, ::core::mem::transmute(lphandles.as_ptr()), bwaitall.into(), dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2488,7 +2488,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForMultipleObjectsEx ( ncount : u32 , lphandles : *const super::super::Foundation:: HANDLE , bwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForMultipleObjectsEx ( ncount : u32 , lphandles : *const super::super::Foundation:: HANDLE , bwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); WaitForMultipleObjectsEx(lphandles.len() as _, ::core::mem::transmute(lphandles.as_ptr()), bwaitall.into(), dwmilliseconds, balertable.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2498,7 +2498,7 @@ pub unsafe fn WaitForSingleObject(hhandle: P0, dwmilliseconds: u32) -> super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForSingleObject ( hhandle : super::super::Foundation:: HANDLE , dwmilliseconds : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForSingleObject ( hhandle : super::super::Foundation:: HANDLE , dwmilliseconds : u32 ) -> super::super::Foundation:: WIN32_ERROR ); WaitForSingleObject(hhandle.into(), dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2509,7 +2509,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForSingleObjectEx ( hhandle : super::super::Foundation:: HANDLE , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForSingleObjectEx ( hhandle : super::super::Foundation:: HANDLE , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); WaitForSingleObjectEx(hhandle.into(), dwmilliseconds, balertable.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2519,7 +2519,7 @@ pub unsafe fn WaitForThreadpoolIoCallbacks(pio: *mut TP_IO, fcancelpendingca where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForThreadpoolIoCallbacks ( pio : *mut TP_IO , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForThreadpoolIoCallbacks ( pio : *mut TP_IO , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) -> ( ) ); WaitForThreadpoolIoCallbacks(pio, fcancelpendingcallbacks.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2529,7 +2529,7 @@ pub unsafe fn WaitForThreadpoolTimerCallbacks(pti: *mut TP_TIMER, fcancelpen where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForThreadpoolTimerCallbacks ( pti : *mut TP_TIMER , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForThreadpoolTimerCallbacks ( pti : *mut TP_TIMER , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) -> ( ) ); WaitForThreadpoolTimerCallbacks(pti, fcancelpendingcallbacks.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2539,7 +2539,7 @@ pub unsafe fn WaitForThreadpoolWaitCallbacks(pwa: *mut TP_WAIT, fcancelpendi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForThreadpoolWaitCallbacks ( pwa : *mut TP_WAIT , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForThreadpoolWaitCallbacks ( pwa : *mut TP_WAIT , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) -> ( ) ); WaitForThreadpoolWaitCallbacks(pwa, fcancelpendingcallbacks.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2549,38 +2549,38 @@ pub unsafe fn WaitForThreadpoolWorkCallbacks(pwk: *mut TP_WORK, fcancelpendi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn WaitForThreadpoolWorkCallbacks ( pwk : *mut TP_WORK , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WaitForThreadpoolWorkCallbacks ( pwk : *mut TP_WORK , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) -> ( ) ); WaitForThreadpoolWorkCallbacks(pwk, fcancelpendingcallbacks.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WaitOnAddress(address: *const ::core::ffi::c_void, compareaddress: *const ::core::ffi::c_void, addresssize: usize, dwmilliseconds: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-synch-l1-2-0.dll""system" fn WaitOnAddress ( address : *const ::core::ffi::c_void , compareaddress : *const ::core::ffi::c_void , addresssize : usize , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-synch-l1-2-0.dll""system" fn WaitOnAddress ( address : *const ::core::ffi::c_void , compareaddress : *const ::core::ffi::c_void , addresssize : usize , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ); WaitOnAddress(address, compareaddress, addresssize, dwmilliseconds) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn WakeAllConditionVariable(conditionvariable: *mut RTL_CONDITION_VARIABLE) { - ::windows::core::link ! ( "kernel32.dll""system" fn WakeAllConditionVariable ( conditionvariable : *mut RTL_CONDITION_VARIABLE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WakeAllConditionVariable ( conditionvariable : *mut RTL_CONDITION_VARIABLE ) -> ( ) ); WakeAllConditionVariable(conditionvariable) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn WakeByAddressAll(address: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "api-ms-win-core-synch-l1-2-0.dll""system" fn WakeByAddressAll ( address : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-synch-l1-2-0.dll""system" fn WakeByAddressAll ( address : *const ::core::ffi::c_void ) -> ( ) ); WakeByAddressAll(address) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn WakeByAddressSingle(address: *const ::core::ffi::c_void) { - ::windows::core::link ! ( "api-ms-win-core-synch-l1-2-0.dll""system" fn WakeByAddressSingle ( address : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-synch-l1-2-0.dll""system" fn WakeByAddressSingle ( address : *const ::core::ffi::c_void ) -> ( ) ); WakeByAddressSingle(address) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn WakeConditionVariable(conditionvariable: *mut RTL_CONDITION_VARIABLE) { - ::windows::core::link ! ( "kernel32.dll""system" fn WakeConditionVariable ( conditionvariable : *mut RTL_CONDITION_VARIABLE ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WakeConditionVariable ( conditionvariable : *mut RTL_CONDITION_VARIABLE ) -> ( ) ); WakeConditionVariable(conditionvariable) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] @@ -2589,13 +2589,13 @@ pub unsafe fn WinExec(lpcmdline: P0, ucmdshow: u32) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WinExec ( lpcmdline : :: windows::core::PCSTR , ucmdshow : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WinExec ( lpcmdline : :: windows::core::PCSTR , ucmdshow : u32 ) -> u32 ); WinExec(lpcmdline.into().abi(), ucmdshow) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[inline] pub unsafe fn Wow64SetThreadDefaultGuestMachine(machine: u16) -> u16 { - ::windows::core::link ! ( "api-ms-win-core-wow64-l1-1-1.dll""system" fn Wow64SetThreadDefaultGuestMachine ( machine : u16 ) -> u16 ); + ::windows::imp::link ! ( "api-ms-win-core-wow64-l1-1-1.dll""system" fn Wow64SetThreadDefaultGuestMachine ( machine : u16 ) -> u16 ); Wow64SetThreadDefaultGuestMachine(machine) } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] @@ -2605,7 +2605,7 @@ pub unsafe fn Wow64SuspendThread(hthread: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn Wow64SuspendThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn Wow64SuspendThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ); Wow64SuspendThread(hthread.into()) } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Time/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Time/mod.rs index 9368f2ebb0..4442fe31b5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Time/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Time/mod.rs @@ -2,105 +2,105 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnumDynamicTimeZoneInformation(dwindex: u32, lptimezoneinformation: *mut DYNAMIC_TIME_ZONE_INFORMATION) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn EnumDynamicTimeZoneInformation ( dwindex : u32 , lptimezoneinformation : *mut DYNAMIC_TIME_ZONE_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn EnumDynamicTimeZoneInformation ( dwindex : u32 , lptimezoneinformation : *mut DYNAMIC_TIME_ZONE_INFORMATION ) -> u32 ); EnumDynamicTimeZoneInformation(dwindex, lptimezoneinformation) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FileTimeToSystemTime(lpfiletime: *const super::super::Foundation::FILETIME, lpsystemtime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FileTimeToSystemTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FileTimeToSystemTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); FileTimeToSystemTime(lpfiletime, lpsystemtime) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDynamicTimeZoneInformation(ptimezoneinformation: *mut DYNAMIC_TIME_ZONE_INFORMATION) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetDynamicTimeZoneInformation ( ptimezoneinformation : *mut DYNAMIC_TIME_ZONE_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetDynamicTimeZoneInformation ( ptimezoneinformation : *mut DYNAMIC_TIME_ZONE_INFORMATION ) -> u32 ); GetDynamicTimeZoneInformation(ptimezoneinformation) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDynamicTimeZoneInformationEffectiveYears(lptimezoneinformation: *const DYNAMIC_TIME_ZONE_INFORMATION, firstyear: *mut u32, lastyear: *mut u32) -> u32 { - ::windows::core::link ! ( "advapi32.dll""system" fn GetDynamicTimeZoneInformationEffectiveYears ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , firstyear : *mut u32 , lastyear : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetDynamicTimeZoneInformationEffectiveYears ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , firstyear : *mut u32 , lastyear : *mut u32 ) -> u32 ); GetDynamicTimeZoneInformationEffectiveYears(lptimezoneinformation, firstyear, lastyear) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetTimeZoneInformation(lptimezoneinformation: *mut TIME_ZONE_INFORMATION) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTimeZoneInformation ( lptimezoneinformation : *mut TIME_ZONE_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTimeZoneInformation ( lptimezoneinformation : *mut TIME_ZONE_INFORMATION ) -> u32 ); GetTimeZoneInformation(lptimezoneinformation) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetTimeZoneInformationForYear(wyear: u16, pdtzi: ::core::option::Option<*const DYNAMIC_TIME_ZONE_INFORMATION>, ptzi: *mut TIME_ZONE_INFORMATION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetTimeZoneInformationForYear ( wyear : u16 , pdtzi : *const DYNAMIC_TIME_ZONE_INFORMATION , ptzi : *mut TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetTimeZoneInformationForYear ( wyear : u16 , pdtzi : *const DYNAMIC_TIME_ZONE_INFORMATION , ptzi : *mut TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL ); GetTimeZoneInformationForYear(wyear, ::core::mem::transmute(pdtzi.unwrap_or(::std::ptr::null())), ptzi) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LocalFileTimeToLocalSystemTime(timezoneinformation: ::core::option::Option<*const TIME_ZONE_INFORMATION>, localfiletime: *const super::super::Foundation::FILETIME, localsystemtime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalFileTimeToLocalSystemTime ( timezoneinformation : *const TIME_ZONE_INFORMATION , localfiletime : *const super::super::Foundation:: FILETIME , localsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalFileTimeToLocalSystemTime ( timezoneinformation : *const TIME_ZONE_INFORMATION , localfiletime : *const super::super::Foundation:: FILETIME , localsystemtime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); LocalFileTimeToLocalSystemTime(::core::mem::transmute(timezoneinformation.unwrap_or(::std::ptr::null())), localfiletime, localsystemtime) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LocalSystemTimeToLocalFileTime(timezoneinformation: ::core::option::Option<*const TIME_ZONE_INFORMATION>, localsystemtime: *const super::super::Foundation::SYSTEMTIME, localfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalSystemTimeToLocalFileTime ( timezoneinformation : *const TIME_ZONE_INFORMATION , localsystemtime : *const super::super::Foundation:: SYSTEMTIME , localfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalSystemTimeToLocalFileTime ( timezoneinformation : *const TIME_ZONE_INFORMATION , localsystemtime : *const super::super::Foundation:: SYSTEMTIME , localfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); LocalSystemTimeToLocalFileTime(::core::mem::transmute(timezoneinformation.unwrap_or(::std::ptr::null())), localsystemtime, localfiletime) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetDynamicTimeZoneInformation(lptimezoneinformation: *const DYNAMIC_TIME_ZONE_INFORMATION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetDynamicTimeZoneInformation ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetDynamicTimeZoneInformation ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL ); SetDynamicTimeZoneInformation(lptimezoneinformation) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetTimeZoneInformation(lptimezoneinformation: *const TIME_ZONE_INFORMATION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SetTimeZoneInformation ( lptimezoneinformation : *const TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetTimeZoneInformation ( lptimezoneinformation : *const TIME_ZONE_INFORMATION ) -> super::super::Foundation:: BOOL ); SetTimeZoneInformation(lptimezoneinformation) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemTimeToFileTime(lpsystemtime: *const super::super::Foundation::SYSTEMTIME, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SystemTimeToFileTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SystemTimeToFileTime ( lpsystemtime : *const super::super::Foundation:: SYSTEMTIME , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); SystemTimeToFileTime(lpsystemtime, lpfiletime) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemTimeToTzSpecificLocalTime(lptimezoneinformation: ::core::option::Option<*const TIME_ZONE_INFORMATION>, lpuniversaltime: *const super::super::Foundation::SYSTEMTIME, lplocaltime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SystemTimeToTzSpecificLocalTime ( lptimezoneinformation : *const TIME_ZONE_INFORMATION , lpuniversaltime : *const super::super::Foundation:: SYSTEMTIME , lplocaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SystemTimeToTzSpecificLocalTime ( lptimezoneinformation : *const TIME_ZONE_INFORMATION , lpuniversaltime : *const super::super::Foundation:: SYSTEMTIME , lplocaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); SystemTimeToTzSpecificLocalTime(::core::mem::transmute(lptimezoneinformation.unwrap_or(::std::ptr::null())), lpuniversaltime, lplocaltime) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemTimeToTzSpecificLocalTimeEx(lptimezoneinformation: ::core::option::Option<*const DYNAMIC_TIME_ZONE_INFORMATION>, lpuniversaltime: *const super::super::Foundation::SYSTEMTIME, lplocaltime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn SystemTimeToTzSpecificLocalTimeEx ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , lpuniversaltime : *const super::super::Foundation:: SYSTEMTIME , lplocaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SystemTimeToTzSpecificLocalTimeEx ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , lpuniversaltime : *const super::super::Foundation:: SYSTEMTIME , lplocaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); SystemTimeToTzSpecificLocalTimeEx(::core::mem::transmute(lptimezoneinformation.unwrap_or(::std::ptr::null())), lpuniversaltime, lplocaltime) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TzSpecificLocalTimeToSystemTime(lptimezoneinformation: ::core::option::Option<*const TIME_ZONE_INFORMATION>, lplocaltime: *const super::super::Foundation::SYSTEMTIME, lpuniversaltime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn TzSpecificLocalTimeToSystemTime ( lptimezoneinformation : *const TIME_ZONE_INFORMATION , lplocaltime : *const super::super::Foundation:: SYSTEMTIME , lpuniversaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TzSpecificLocalTimeToSystemTime ( lptimezoneinformation : *const TIME_ZONE_INFORMATION , lplocaltime : *const super::super::Foundation:: SYSTEMTIME , lpuniversaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); TzSpecificLocalTimeToSystemTime(::core::mem::transmute(lptimezoneinformation.unwrap_or(::std::ptr::null())), lplocaltime, lpuniversaltime) } #[doc = "*Required features: `\"Win32_System_Time\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TzSpecificLocalTimeToSystemTimeEx(lptimezoneinformation: ::core::option::Option<*const DYNAMIC_TIME_ZONE_INFORMATION>, lplocaltime: *const super::super::Foundation::SYSTEMTIME, lpuniversaltime: *mut super::super::Foundation::SYSTEMTIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn TzSpecificLocalTimeToSystemTimeEx ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , lplocaltime : *const super::super::Foundation:: SYSTEMTIME , lpuniversaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn TzSpecificLocalTimeToSystemTimeEx ( lptimezoneinformation : *const DYNAMIC_TIME_ZONE_INFORMATION , lplocaltime : *const super::super::Foundation:: SYSTEMTIME , lpuniversaltime : *mut super::super::Foundation:: SYSTEMTIME ) -> super::super::Foundation:: BOOL ); TzSpecificLocalTimeToSystemTimeEx(::core::mem::transmute(lptimezoneinformation.unwrap_or(::std::ptr::null())), lplocaltime, lpuniversaltime) } #[doc = "*Required features: `\"Win32_System_Time\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/TpmBaseServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TpmBaseServices/mod.rs index 2c65b321c8..7d36485791 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TpmBaseServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TpmBaseServices/mod.rs @@ -2,80 +2,80 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDeviceID(pbwindowsaik: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, pfprotectedbytpm: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "tbs.dll""system" fn GetDeviceID ( pbwindowsaik : *mut u8 , cbwindowsaik : u32 , pcbresult : *mut u32 , pfprotectedbytpm : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tbs.dll""system" fn GetDeviceID ( pbwindowsaik : *mut u8 , cbwindowsaik : u32 , pcbresult : *mut u32 , pfprotectedbytpm : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); GetDeviceID(::core::mem::transmute(pbwindowsaik.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbwindowsaik.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, ::core::mem::transmute(pfprotectedbytpm.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDeviceIDString(pszwindowsaik: ::core::option::Option<&mut [u16]>, pcchresult: *mut u32, pfprotectedbytpm: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "tbs.dll""system" fn GetDeviceIDString ( pszwindowsaik : :: windows::core::PWSTR , cchwindowsaik : u32 , pcchresult : *mut u32 , pfprotectedbytpm : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "tbs.dll""system" fn GetDeviceIDString ( pszwindowsaik : :: windows::core::PWSTR , cchwindowsaik : u32 , pcchresult : *mut u32 , pfprotectedbytpm : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); GetDeviceIDString(::core::mem::transmute(pszwindowsaik.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszwindowsaik.as_deref().map_or(0, |slice| slice.len() as _), pcchresult, ::core::mem::transmute(pfprotectedbytpm.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsi_Context_Create(pcontextparams: *const TBS_CONTEXT_PARAMS, phcontext: *mut *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsi_Context_Create ( pcontextparams : *const TBS_CONTEXT_PARAMS , phcontext : *mut *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsi_Context_Create ( pcontextparams : *const TBS_CONTEXT_PARAMS , phcontext : *mut *mut ::core::ffi::c_void ) -> u32 ); Tbsi_Context_Create(pcontextparams, phcontext) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsi_Create_Windows_Key(keyhandle: u32) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsi_Create_Windows_Key ( keyhandle : u32 ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsi_Create_Windows_Key ( keyhandle : u32 ) -> u32 ); Tbsi_Create_Windows_Key(keyhandle) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsi_GetDeviceInfo(size: u32, info: *mut ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsi_GetDeviceInfo ( size : u32 , info : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsi_GetDeviceInfo ( size : u32 , info : *mut ::core::ffi::c_void ) -> u32 ); Tbsi_GetDeviceInfo(size, info) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsi_Get_OwnerAuth(hcontext: *const ::core::ffi::c_void, ownerauthtype: u32, poutputbuf: ::core::option::Option<*mut u8>, poutputbuflen: *mut u32) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsi_Get_OwnerAuth ( hcontext : *const ::core::ffi::c_void , ownerauthtype : u32 , poutputbuf : *mut u8 , poutputbuflen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsi_Get_OwnerAuth ( hcontext : *const ::core::ffi::c_void , ownerauthtype : u32 , poutputbuf : *mut u8 , poutputbuflen : *mut u32 ) -> u32 ); Tbsi_Get_OwnerAuth(hcontext, ownerauthtype, ::core::mem::transmute(poutputbuf.unwrap_or(::std::ptr::null_mut())), poutputbuflen) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsi_Get_TCG_Log(hcontext: *const ::core::ffi::c_void, poutputbuf: ::core::option::Option<*mut u8>, poutputbuflen: *mut u32) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsi_Get_TCG_Log ( hcontext : *const ::core::ffi::c_void , poutputbuf : *mut u8 , poutputbuflen : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsi_Get_TCG_Log ( hcontext : *const ::core::ffi::c_void , poutputbuf : *mut u8 , poutputbuflen : *mut u32 ) -> u32 ); Tbsi_Get_TCG_Log(hcontext, ::core::mem::transmute(poutputbuf.unwrap_or(::std::ptr::null_mut())), poutputbuflen) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsi_Get_TCG_Log_Ex(logtype: u32, pboutput: ::core::option::Option<*mut u8>, pcboutput: *mut u32) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsi_Get_TCG_Log_Ex ( logtype : u32 , pboutput : *mut u8 , pcboutput : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsi_Get_TCG_Log_Ex ( logtype : u32 , pboutput : *mut u8 , pcboutput : *mut u32 ) -> u32 ); Tbsi_Get_TCG_Log_Ex(logtype, ::core::mem::transmute(pboutput.unwrap_or(::std::ptr::null_mut())), pcboutput) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsi_Physical_Presence_Command(hcontext: *const ::core::ffi::c_void, pabinput: &[u8], paboutput: *mut u8, pcboutput: *mut u32) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsi_Physical_Presence_Command ( hcontext : *const ::core::ffi::c_void , pabinput : *const u8 , cbinput : u32 , paboutput : *mut u8 , pcboutput : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsi_Physical_Presence_Command ( hcontext : *const ::core::ffi::c_void , pabinput : *const u8 , cbinput : u32 , paboutput : *mut u8 , pcboutput : *mut u32 ) -> u32 ); Tbsi_Physical_Presence_Command(hcontext, ::core::mem::transmute(pabinput.as_ptr()), pabinput.len() as _, paboutput, pcboutput) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsi_Revoke_Attestation() -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsi_Revoke_Attestation ( ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsi_Revoke_Attestation ( ) -> u32 ); Tbsi_Revoke_Attestation() } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsip_Cancel_Commands(hcontext: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsip_Cancel_Commands ( hcontext : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsip_Cancel_Commands ( hcontext : *const ::core::ffi::c_void ) -> u32 ); Tbsip_Cancel_Commands(hcontext) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsip_Context_Close(hcontext: *const ::core::ffi::c_void) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsip_Context_Close ( hcontext : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsip_Context_Close ( hcontext : *const ::core::ffi::c_void ) -> u32 ); Tbsip_Context_Close(hcontext) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] #[inline] pub unsafe fn Tbsip_Submit_Command(hcontext: *const ::core::ffi::c_void, locality: TBS_COMMAND_LOCALITY, priority: TBS_COMMAND_PRIORITY, pabcommand: &[u8], pabresult: *mut u8, pcbresult: *mut u32) -> u32 { - ::windows::core::link ! ( "tbs.dll""system" fn Tbsip_Submit_Command ( hcontext : *const ::core::ffi::c_void , locality : TBS_COMMAND_LOCALITY , priority : TBS_COMMAND_PRIORITY , pabcommand : *const u8 , cbcommand : u32 , pabresult : *mut u8 , pcbresult : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "tbs.dll""system" fn Tbsip_Submit_Command ( hcontext : *const ::core::ffi::c_void , locality : TBS_COMMAND_LOCALITY , priority : TBS_COMMAND_PRIORITY , pabcommand : *const u8 , cbcommand : u32 , pabresult : *mut u8 , pcbresult : *mut u32 ) -> u32 ); Tbsip_Submit_Command(hcontext, locality, priority, ::core::mem::transmute(pabcommand.as_ptr()), pabcommand.len() as _, pabresult, pcbresult) } #[doc = "*Required features: `\"Win32_System_TpmBaseServices\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs index 9881313b5a..946c6c6a8c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs @@ -24,7 +24,7 @@ impl ICatalog { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICatalog, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICatalog, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICatalog { fn eq(&self, other: &Self) -> bool { @@ -91,7 +91,7 @@ impl IComponentUtil { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IComponentUtil, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IComponentUtil, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IComponentUtil { fn eq(&self, other: &Self) -> bool { @@ -150,7 +150,7 @@ impl IPackageUtil { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPackageUtil, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPackageUtil, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPackageUtil { fn eq(&self, other: &Self) -> bool { @@ -202,7 +202,7 @@ impl IRemoteComponentUtil { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRemoteComponentUtil, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRemoteComponentUtil, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRemoteComponentUtil { fn eq(&self, other: &Self) -> bool { @@ -253,7 +253,7 @@ impl IRoleAssociationUtil { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IRoleAssociationUtil, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IRoleAssociationUtil, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IRoleAssociationUtil { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs index d92c827cb9..4fc5751f7d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs @@ -33,7 +33,7 @@ impl IAutomaticUpdates { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAutomaticUpdates, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAutomaticUpdates, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAutomaticUpdates { fn eq(&self, other: &Self) -> bool { @@ -122,7 +122,7 @@ impl IAutomaticUpdates2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAutomaticUpdates2, ::windows::core::IUnknown, super::Com::IDispatch, IAutomaticUpdates); +::windows::imp::interface_hierarchy!(IAutomaticUpdates2, ::windows::core::IUnknown, super::Com::IDispatch, IAutomaticUpdates); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAutomaticUpdates2 { fn eq(&self, other: &Self) -> bool { @@ -181,7 +181,7 @@ impl IAutomaticUpdatesResults { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAutomaticUpdatesResults, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAutomaticUpdatesResults, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAutomaticUpdatesResults { fn eq(&self, other: &Self) -> bool { @@ -271,7 +271,7 @@ impl IAutomaticUpdatesSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAutomaticUpdatesSettings, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAutomaticUpdatesSettings, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAutomaticUpdatesSettings { fn eq(&self, other: &Self) -> bool { @@ -389,7 +389,7 @@ impl IAutomaticUpdatesSettings2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAutomaticUpdatesSettings2, ::windows::core::IUnknown, super::Com::IDispatch, IAutomaticUpdatesSettings); +::windows::imp::interface_hierarchy!(IAutomaticUpdatesSettings2, ::windows::core::IUnknown, super::Com::IDispatch, IAutomaticUpdatesSettings); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAutomaticUpdatesSettings2 { fn eq(&self, other: &Self) -> bool { @@ -531,7 +531,7 @@ impl IAutomaticUpdatesSettings3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAutomaticUpdatesSettings3, ::windows::core::IUnknown, super::Com::IDispatch, IAutomaticUpdatesSettings, IAutomaticUpdatesSettings2); +::windows::imp::interface_hierarchy!(IAutomaticUpdatesSettings3, ::windows::core::IUnknown, super::Com::IDispatch, IAutomaticUpdatesSettings, IAutomaticUpdatesSettings2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAutomaticUpdatesSettings3 { fn eq(&self, other: &Self) -> bool { @@ -634,7 +634,7 @@ impl ICategory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICategory, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICategory, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICategory { fn eq(&self, other: &Self) -> bool { @@ -712,7 +712,7 @@ impl ICategoryCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ICategoryCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ICategoryCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ICategoryCollection { fn eq(&self, other: &Self) -> bool { @@ -767,7 +767,7 @@ impl IDownloadCompletedCallback { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), downloadjob.into().abi(), callbackargs.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDownloadCompletedCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDownloadCompletedCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDownloadCompletedCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -806,7 +806,7 @@ pub struct IDownloadCompletedCallbackArgs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDownloadCompletedCallbackArgs {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDownloadCompletedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDownloadCompletedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDownloadCompletedCallbackArgs { fn eq(&self, other: &Self) -> bool { @@ -879,7 +879,7 @@ impl IDownloadJob { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDownloadJob, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDownloadJob, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDownloadJob { fn eq(&self, other: &Self) -> bool { @@ -986,7 +986,7 @@ impl IDownloadProgress { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDownloadProgress, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDownloadProgress, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDownloadProgress { fn eq(&self, other: &Self) -> bool { @@ -1059,7 +1059,7 @@ impl IDownloadProgressChangedCallback { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), downloadjob.into().abi(), callbackargs.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDownloadProgressChangedCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDownloadProgressChangedCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDownloadProgressChangedCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1105,7 +1105,7 @@ impl IDownloadProgressChangedCallbackArgs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDownloadProgressChangedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDownloadProgressChangedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDownloadProgressChangedCallbackArgs { fn eq(&self, other: &Self) -> bool { @@ -1166,7 +1166,7 @@ impl IDownloadResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IDownloadResult, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IDownloadResult, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IDownloadResult { fn eq(&self, other: &Self) -> bool { @@ -1231,7 +1231,7 @@ impl IImageInformation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IImageInformation, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IImageInformation, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IImageInformation { fn eq(&self, other: &Self) -> bool { @@ -1286,7 +1286,7 @@ impl IInstallationAgent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInstallationAgent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInstallationAgent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInstallationAgent { fn eq(&self, other: &Self) -> bool { @@ -1353,7 +1353,7 @@ impl IInstallationBehavior { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInstallationBehavior, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInstallationBehavior, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInstallationBehavior { fn eq(&self, other: &Self) -> bool { @@ -1412,7 +1412,7 @@ impl IInstallationCompletedCallback { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), installationjob.into().abi(), callbackargs.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IInstallationCompletedCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInstallationCompletedCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInstallationCompletedCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1451,7 +1451,7 @@ pub struct IInstallationCompletedCallbackArgs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationCompletedCallbackArgs {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInstallationCompletedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInstallationCompletedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInstallationCompletedCallbackArgs { fn eq(&self, other: &Self) -> bool { @@ -1524,7 +1524,7 @@ impl IInstallationJob { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInstallationJob, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInstallationJob, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInstallationJob { fn eq(&self, other: &Self) -> bool { @@ -1603,7 +1603,7 @@ impl IInstallationProgress { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInstallationProgress, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInstallationProgress, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInstallationProgress { fn eq(&self, other: &Self) -> bool { @@ -1659,7 +1659,7 @@ impl IInstallationProgressChangedCallback { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), installationjob.into().abi(), callbackargs.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IInstallationProgressChangedCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInstallationProgressChangedCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInstallationProgressChangedCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1705,7 +1705,7 @@ impl IInstallationProgressChangedCallbackArgs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInstallationProgressChangedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInstallationProgressChangedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInstallationProgressChangedCallbackArgs { fn eq(&self, other: &Self) -> bool { @@ -1772,7 +1772,7 @@ impl IInstallationResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInstallationResult, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInstallationResult, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInstallationResult { fn eq(&self, other: &Self) -> bool { @@ -1841,7 +1841,7 @@ impl IInvalidProductLicenseException { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInvalidProductLicenseException, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateException); +::windows::imp::interface_hierarchy!(IInvalidProductLicenseException, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateException); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInvalidProductLicenseException { fn eq(&self, other: &Self) -> bool { @@ -1891,7 +1891,7 @@ impl ISearchCompletedCallback { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self), searchjob.into().abi(), callbackargs.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISearchCompletedCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchCompletedCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchCompletedCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1930,7 +1930,7 @@ pub struct ISearchCompletedCallbackArgs(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISearchCompletedCallbackArgs {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISearchCompletedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISearchCompletedCallbackArgs, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISearchCompletedCallbackArgs { fn eq(&self, other: &Self) -> bool { @@ -1991,7 +1991,7 @@ impl ISearchJob { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISearchJob, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISearchJob, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISearchJob { fn eq(&self, other: &Self) -> bool { @@ -2066,7 +2066,7 @@ impl ISearchResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISearchResult, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISearchResult, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISearchResult { fn eq(&self, other: &Self) -> bool { @@ -2162,7 +2162,7 @@ impl IStringCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IStringCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IStringCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IStringCollection { fn eq(&self, other: &Self) -> bool { @@ -2231,7 +2231,7 @@ impl ISystemInformation { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISystemInformation, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISystemInformation, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISystemInformation { fn eq(&self, other: &Self) -> bool { @@ -2520,7 +2520,7 @@ impl IUpdate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdate, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdate, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdate { fn eq(&self, other: &Self) -> bool { @@ -2962,7 +2962,7 @@ impl IUpdate2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdate2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate); +::windows::imp::interface_hierarchy!(IUpdate2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdate2 { fn eq(&self, other: &Self) -> bool { @@ -3294,7 +3294,7 @@ impl IUpdate3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdate3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2); +::windows::imp::interface_hierarchy!(IUpdate3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdate3 { fn eq(&self, other: &Self) -> bool { @@ -3620,7 +3620,7 @@ impl IUpdate4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdate4, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2, IUpdate3); +::windows::imp::interface_hierarchy!(IUpdate4, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2, IUpdate3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdate4 { fn eq(&self, other: &Self) -> bool { @@ -3954,7 +3954,7 @@ impl IUpdate5 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdate5, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2, IUpdate3, IUpdate4); +::windows::imp::interface_hierarchy!(IUpdate5, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2, IUpdate3, IUpdate4); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdate5 { fn eq(&self, other: &Self) -> bool { @@ -4056,7 +4056,7 @@ impl IUpdateCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateCollection { fn eq(&self, other: &Self) -> bool { @@ -4131,7 +4131,7 @@ impl IUpdateDownloadContent { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateDownloadContent, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateDownloadContent, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateDownloadContent { fn eq(&self, other: &Self) -> bool { @@ -4185,7 +4185,7 @@ impl IUpdateDownloadContent2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateDownloadContent2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateDownloadContent); +::windows::imp::interface_hierarchy!(IUpdateDownloadContent2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateDownloadContent); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateDownloadContent2 { fn eq(&self, other: &Self) -> bool { @@ -4246,7 +4246,7 @@ impl IUpdateDownloadContentCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateDownloadContentCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateDownloadContentCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateDownloadContentCollection { fn eq(&self, other: &Self) -> bool { @@ -4303,7 +4303,7 @@ impl IUpdateDownloadResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateDownloadResult, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateDownloadResult, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateDownloadResult { fn eq(&self, other: &Self) -> bool { @@ -4415,7 +4415,7 @@ impl IUpdateDownloader { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateDownloader, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateDownloader, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateDownloader { fn eq(&self, other: &Self) -> bool { @@ -4502,7 +4502,7 @@ impl IUpdateException { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateException, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateException, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateException { fn eq(&self, other: &Self) -> bool { @@ -4562,7 +4562,7 @@ impl IUpdateExceptionCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateExceptionCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateExceptionCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateExceptionCollection { fn eq(&self, other: &Self) -> bool { @@ -4671,7 +4671,7 @@ impl IUpdateHistoryEntry { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateHistoryEntry, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateHistoryEntry, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateHistoryEntry { fn eq(&self, other: &Self) -> bool { @@ -4800,7 +4800,7 @@ impl IUpdateHistoryEntry2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateHistoryEntry2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateHistoryEntry); +::windows::imp::interface_hierarchy!(IUpdateHistoryEntry2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateHistoryEntry); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateHistoryEntry2 { fn eq(&self, other: &Self) -> bool { @@ -4861,7 +4861,7 @@ impl IUpdateHistoryEntryCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateHistoryEntryCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateHistoryEntryCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateHistoryEntryCollection { fn eq(&self, other: &Self) -> bool { @@ -4918,7 +4918,7 @@ impl IUpdateIdentity { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateIdentity, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateIdentity, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateIdentity { fn eq(&self, other: &Self) -> bool { @@ -4977,7 +4977,7 @@ impl IUpdateInstallationResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateInstallationResult, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateInstallationResult, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateInstallationResult { fn eq(&self, other: &Self) -> bool { @@ -5167,7 +5167,7 @@ impl IUpdateInstaller { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateInstaller, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateInstaller, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateInstaller { fn eq(&self, other: &Self) -> bool { @@ -5437,7 +5437,7 @@ impl IUpdateInstaller2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateInstaller2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateInstaller); +::windows::imp::interface_hierarchy!(IUpdateInstaller2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateInstaller); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateInstaller2 { fn eq(&self, other: &Self) -> bool { @@ -5657,7 +5657,7 @@ impl IUpdateInstaller3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateInstaller3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateInstaller, IUpdateInstaller2); +::windows::imp::interface_hierarchy!(IUpdateInstaller3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateInstaller, IUpdateInstaller2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateInstaller3 { fn eq(&self, other: &Self) -> bool { @@ -5880,7 +5880,7 @@ impl IUpdateInstaller4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateInstaller4, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateInstaller, IUpdateInstaller2, IUpdateInstaller3); +::windows::imp::interface_hierarchy!(IUpdateInstaller4, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateInstaller, IUpdateInstaller2, IUpdateInstaller3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateInstaller4 { fn eq(&self, other: &Self) -> bool { @@ -5924,7 +5924,7 @@ impl IUpdateLockdown { (::windows::core::Vtable::vtable(self).LockDown)(::windows::core::Vtable::as_raw(self), flags).ok() } } -::windows::core::interface_hierarchy!(IUpdateLockdown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUpdateLockdown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUpdateLockdown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6062,7 +6062,7 @@ impl IUpdateSearcher { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateSearcher, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateSearcher, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateSearcher { fn eq(&self, other: &Self) -> bool { @@ -6268,7 +6268,7 @@ impl IUpdateSearcher2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateSearcher2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateSearcher); +::windows::imp::interface_hierarchy!(IUpdateSearcher2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateSearcher); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateSearcher2 { fn eq(&self, other: &Self) -> bool { @@ -6441,7 +6441,7 @@ impl IUpdateSearcher3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateSearcher3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateSearcher, IUpdateSearcher2); +::windows::imp::interface_hierarchy!(IUpdateSearcher3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateSearcher, IUpdateSearcher2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateSearcher3 { fn eq(&self, other: &Self) -> bool { @@ -6552,7 +6552,7 @@ impl IUpdateService { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateService, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateService, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateService { fn eq(&self, other: &Self) -> bool { @@ -6701,7 +6701,7 @@ impl IUpdateService2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateService2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateService); +::windows::imp::interface_hierarchy!(IUpdateService2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateService); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateService2 { fn eq(&self, other: &Self) -> bool { @@ -6762,7 +6762,7 @@ impl IUpdateServiceCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateServiceCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateServiceCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateServiceCollection { fn eq(&self, other: &Self) -> bool { @@ -6843,7 +6843,7 @@ impl IUpdateServiceManager { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateServiceManager, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateServiceManager, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateServiceManager { fn eq(&self, other: &Self) -> bool { @@ -6956,7 +6956,7 @@ impl IUpdateServiceManager2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateServiceManager2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateServiceManager); +::windows::imp::interface_hierarchy!(IUpdateServiceManager2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateServiceManager); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateServiceManager2 { fn eq(&self, other: &Self) -> bool { @@ -7029,7 +7029,7 @@ impl IUpdateServiceRegistration { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateServiceRegistration, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateServiceRegistration, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateServiceRegistration { fn eq(&self, other: &Self) -> bool { @@ -7127,7 +7127,7 @@ impl IUpdateSession { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateSession, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IUpdateSession, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateSession { fn eq(&self, other: &Self) -> bool { @@ -7248,7 +7248,7 @@ impl IUpdateSession2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateSession2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateSession); +::windows::imp::interface_hierarchy!(IUpdateSession2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateSession); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateSession2 { fn eq(&self, other: &Self) -> bool { @@ -7357,7 +7357,7 @@ impl IUpdateSession3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IUpdateSession3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateSession, IUpdateSession2); +::windows::imp::interface_hierarchy!(IUpdateSession3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdateSession, IUpdateSession2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IUpdateSession3 { fn eq(&self, other: &Self) -> bool { @@ -7487,7 +7487,7 @@ impl IWebProxy { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWebProxy, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWebProxy, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWebProxy { fn eq(&self, other: &Self) -> bool { @@ -7841,7 +7841,7 @@ impl IWindowsDriverUpdate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsDriverUpdate, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate); +::windows::imp::interface_hierarchy!(IWindowsDriverUpdate, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsDriverUpdate { fn eq(&self, other: &Self) -> bool { @@ -8191,7 +8191,7 @@ impl IWindowsDriverUpdate2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsDriverUpdate2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate); +::windows::imp::interface_hierarchy!(IWindowsDriverUpdate2, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsDriverUpdate2 { fn eq(&self, other: &Self) -> bool { @@ -8555,7 +8555,7 @@ impl IWindowsDriverUpdate3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsDriverUpdate3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2); +::windows::imp::interface_hierarchy!(IWindowsDriverUpdate3, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsDriverUpdate3 { fn eq(&self, other: &Self) -> bool { @@ -8919,7 +8919,7 @@ impl IWindowsDriverUpdate4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsDriverUpdate4, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2, IWindowsDriverUpdate3); +::windows::imp::interface_hierarchy!(IWindowsDriverUpdate4, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2, IWindowsDriverUpdate3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsDriverUpdate4 { fn eq(&self, other: &Self) -> bool { @@ -9295,7 +9295,7 @@ impl IWindowsDriverUpdate5 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsDriverUpdate5, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2, IWindowsDriverUpdate3, IWindowsDriverUpdate4); +::windows::imp::interface_hierarchy!(IWindowsDriverUpdate5, ::windows::core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2, IWindowsDriverUpdate3, IWindowsDriverUpdate4); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsDriverUpdate5 { fn eq(&self, other: &Self) -> bool { @@ -9372,7 +9372,7 @@ impl IWindowsDriverUpdateEntry { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsDriverUpdateEntry, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWindowsDriverUpdateEntry, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsDriverUpdateEntry { fn eq(&self, other: &Self) -> bool { @@ -9437,7 +9437,7 @@ impl IWindowsDriverUpdateEntryCollection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsDriverUpdateEntryCollection, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWindowsDriverUpdateEntryCollection, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsDriverUpdateEntryCollection { fn eq(&self, other: &Self) -> bool { @@ -9492,7 +9492,7 @@ impl IWindowsUpdateAgentInfo { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWindowsUpdateAgentInfo, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWindowsUpdateAgentInfo, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWindowsUpdateAgentInfo { fn eq(&self, other: &Self) -> bool { diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs index 3e0b2a8a68..ac38ff556c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs @@ -9,7 +9,7 @@ impl IWaaSAssessor { (::windows::core::Vtable::vtable(self).GetOSUpdateAssessment)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWaaSAssessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWaaSAssessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWaaSAssessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/UserAccessLogging/mod.rs b/crates/libs/windows/src/Windows/Win32/System/UserAccessLogging/mod.rs index c2ff354046..7b410a1665 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UserAccessLogging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UserAccessLogging/mod.rs @@ -2,7 +2,7 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn UalInstrument(data: *const UAL_DATA_BLOB) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ualapi.dll""system" fn UalInstrument ( data : *const UAL_DATA_BLOB ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ualapi.dll""system" fn UalInstrument ( data : *const UAL_DATA_BLOB ) -> :: windows::core::HRESULT ); UalInstrument(data).ok() } #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`*"] @@ -13,21 +13,21 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ualapi.dll""system" fn UalRegisterProduct ( wszproductname : :: windows::core::PCWSTR , wszrolename : :: windows::core::PCWSTR , wszguid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ualapi.dll""system" fn UalRegisterProduct ( wszproductname : :: windows::core::PCWSTR , wszrolename : :: windows::core::PCWSTR , wszguid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); UalRegisterProduct(wszproductname.into().abi(), wszrolename.into().abi(), wszguid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn UalStart(data: *const UAL_DATA_BLOB) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ualapi.dll""system" fn UalStart ( data : *const UAL_DATA_BLOB ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ualapi.dll""system" fn UalStart ( data : *const UAL_DATA_BLOB ) -> :: windows::core::HRESULT ); UalStart(data).ok() } #[doc = "*Required features: `\"Win32_System_UserAccessLogging\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] #[inline] pub unsafe fn UalStop(data: *const UAL_DATA_BLOB) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ualapi.dll""system" fn UalStop ( data : *const UAL_DATA_BLOB ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ualapi.dll""system" fn UalStop ( data : *const UAL_DATA_BLOB ) -> :: windows::core::HRESULT ); UalStop(data).ok() } #[repr(C)] 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 602486adfd..bcc951dbdc 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 @@ -10,7 +10,7 @@ impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop { (::windows::core::Vtable::vtable(self).CreateFromWin32Handle)(::windows::core::Vtable::as_raw(self), win32handle, enableaboutdata, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -48,7 +48,7 @@ impl IWindowsDevicesAllJoynBusAttachmentInterop { (::windows::core::Vtable::vtable(self).Win32Handle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWindowsDevicesAllJoynBusAttachmentInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -89,7 +89,7 @@ impl IWindowsDevicesAllJoynBusObjectFactoryInterop { (::windows::core::Vtable::vtable(self).CreateFromWin32Handle)(::windows::core::Vtable::as_raw(self), win32handle, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectFactoryInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectFactoryInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWindowsDevicesAllJoynBusObjectFactoryInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -133,7 +133,7 @@ impl IWindowsDevicesAllJoynBusObjectInterop { (::windows::core::Vtable::vtable(self).Win32Handle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWindowsDevicesAllJoynBusObjectInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 dcdf9f7536..0cc8f7ce63 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 @@ -12,7 +12,7 @@ impl ICompositionCapabilitiesInteropFactory { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), hwnd.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICompositionCapabilitiesInteropFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICompositionCapabilitiesInteropFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICompositionCapabilitiesInteropFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -77,7 +77,7 @@ impl ICompositionDrawingSurfaceInterop { (::windows::core::Vtable::vtable(self).SuspendDraw)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICompositionDrawingSurfaceInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICompositionDrawingSurfaceInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICompositionDrawingSurfaceInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -161,7 +161,7 @@ impl ICompositionDrawingSurfaceInterop2 { (::windows::core::Vtable::vtable(self).CopySurface)(::windows::core::Vtable::as_raw(self), destinationresource.into().abi(), destinationoffsetx, destinationoffsety, ::core::mem::transmute(sourcerectangle.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(ICompositionDrawingSurfaceInterop2, ::windows::core::IUnknown, ICompositionDrawingSurfaceInterop); +::windows::imp::interface_hierarchy!(ICompositionDrawingSurfaceInterop2, ::windows::core::IUnknown, ICompositionDrawingSurfaceInterop); impl ::core::cmp::PartialEq for ICompositionDrawingSurfaceInterop2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -208,7 +208,7 @@ impl ICompositionGraphicsDeviceInterop { (::windows::core::Vtable::vtable(self).SetRenderingDevice)(::windows::core::Vtable::as_raw(self), value.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICompositionGraphicsDeviceInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICompositionGraphicsDeviceInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICompositionGraphicsDeviceInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -256,7 +256,7 @@ impl ICompositorDesktopInterop { (::windows::core::Vtable::vtable(self).EnsureOnThread)(::windows::core::Vtable::as_raw(self), threadid).ok() } } -::windows::core::interface_hierarchy!(ICompositorDesktopInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICompositorDesktopInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICompositorDesktopInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -321,7 +321,7 @@ impl ICompositorInterop { (::windows::core::Vtable::vtable(self).CreateGraphicsDevice)(::windows::core::Vtable::as_raw(self), renderingdevice.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICompositorInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICompositorInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICompositorInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -372,7 +372,7 @@ impl IDesktopWindowTargetInterop { (::windows::core::Vtable::vtable(self).Hwnd)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDesktopWindowTargetInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDesktopWindowTargetInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDesktopWindowTargetInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -415,7 +415,7 @@ impl ISwapChainInterop { (::windows::core::Vtable::vtable(self).SetSwapChain)(::windows::core::Vtable::as_raw(self), swapchain.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISwapChainInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISwapChainInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISwapChainInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -454,7 +454,7 @@ impl IVisualInteractionSourceInterop { (::windows::core::Vtable::vtable(self).TryRedirectForManipulation)(::windows::core::Vtable::as_raw(self), pointerinfo).ok() } } -::windows::core::interface_hierarchy!(IVisualInteractionSourceInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVisualInteractionSourceInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVisualInteractionSourceInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 9c361e6591..c737b329e4 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 @@ -13,7 +13,7 @@ impl ICoreFrameworkInputViewInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), appwindow.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICoreFrameworkInputViewInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreFrameworkInputViewInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreFrameworkInputViewInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 00dd1314d7..67a04b5a24 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 @@ -5,7 +5,7 @@ pub unsafe fn CreateDirect3D11DeviceFromDXGIDevice(dxgidevice: P0) -> ::wind where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d11.dll""system" fn CreateDirect3D11DeviceFromDXGIDevice ( dxgidevice : * mut::core::ffi::c_void , graphicsdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d11.dll""system" fn CreateDirect3D11DeviceFromDXGIDevice ( dxgidevice : * mut::core::ffi::c_void , graphicsdevice : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>(); CreateDirect3D11DeviceFromDXGIDevice(dxgidevice.into().abi(), &mut result__).from_abi(result__) } @@ -16,7 +16,7 @@ pub unsafe fn CreateDirect3D11SurfaceFromDXGISurface(dgxisurface: P0) -> ::w where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "d3d11.dll""system" fn CreateDirect3D11SurfaceFromDXGISurface ( dgxisurface : * mut::core::ffi::c_void , graphicssurface : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "d3d11.dll""system" fn CreateDirect3D11SurfaceFromDXGISurface ( dgxisurface : * mut::core::ffi::c_void , graphicssurface : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>(); CreateDirect3D11SurfaceFromDXGISurface(dgxisurface.into().abi(), &mut result__).from_abi(result__) } @@ -32,7 +32,7 @@ impl IDirect3DDxgiInterfaceAccess { (::windows::core::Vtable::vtable(self).GetInterface)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDirect3DDxgiInterfaceAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDirect3DDxgiInterfaceAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDirect3DDxgiInterfaceAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs index 0556dd1b09..80841dd2c7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs @@ -21,7 +21,7 @@ impl IDisplayDeviceInterop { (::windows::core::Vtable::vtable(self).OpenSharedHandle)(::windows::core::Vtable::as_raw(self), nthandle.into(), ::core::mem::transmute(riid), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDisplayDeviceInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDisplayDeviceInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDisplayDeviceInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -72,7 +72,7 @@ impl IDisplayPathInterop { (::windows::core::Vtable::vtable(self).GetSourceId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDisplayPathInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDisplayPathInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDisplayPathInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 b165513a39..552c961d30 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 @@ -23,7 +23,7 @@ impl IGraphicsCaptureItemInterop { (::windows::core::Vtable::vtable(self).CreateForMonitor)(::windows::core::Vtable::as_raw(self), monitor.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGraphicsCaptureItemInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGraphicsCaptureItemInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGraphicsCaptureItemInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs index 44e2bcbcfa..0e68a8a563 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs @@ -18,7 +18,7 @@ impl IGeometrySource2DInterop { (::windows::core::Vtable::vtable(self).TryGetGeometryUsingFactory)(::windows::core::Vtable::as_raw(self), factory.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGeometrySource2DInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGeometrySource2DInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGeometrySource2DInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -89,7 +89,7 @@ impl IGraphicsEffectD2D1Interop { (::windows::core::Vtable::vtable(self).GetSourceCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGraphicsEffectD2D1Interop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGraphicsEffectD2D1Interop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGraphicsEffectD2D1Interop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 bd57a36432..866b9463b7 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 @@ -10,7 +10,7 @@ impl ISoftwareBitmapNative { (::windows::core::Vtable::vtable(self).GetData)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISoftwareBitmapNative, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISoftwareBitmapNative, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISoftwareBitmapNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -66,7 +66,7 @@ impl ISoftwareBitmapNativeFactory { (::windows::core::Vtable::vtable(self).CreateFromMF2DBuffer2)(::windows::core::Vtable::as_raw(self), data.into().abi(), subtype, width, height, forcereadonly.into(), ::core::mem::transmute(mindisplayaperture.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISoftwareBitmapNativeFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISoftwareBitmapNativeFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISoftwareBitmapNativeFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs index 01320e2563..a7d5c04ca6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs @@ -48,7 +48,7 @@ impl IHolographicCameraInterop { (::windows::core::Vtable::vtable(self).UnacquireDirect3D12BufferResource)(::windows::core::Vtable::as_raw(self), presourcetounacquire.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IHolographicCameraInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IHolographicCameraInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IHolographicCameraInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -121,7 +121,7 @@ impl IHolographicCameraRenderingParametersInterop { (::windows::core::Vtable::vtable(self).CommitDirect3D12ResourceWithDepthData)(::windows::core::Vtable::as_raw(self), pcolorresourcetocommit.into().abi(), pcolorresourcefence.into().abi(), colorresourcefencesignalvalue, pdepthresourcetocommit.into().abi(), pdepthresourcefence.into().abi(), depthresourcefencesignalvalue).ok() } } -::windows::core::interface_hierarchy!(IHolographicCameraRenderingParametersInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IHolographicCameraRenderingParametersInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IHolographicCameraRenderingParametersInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -207,7 +207,7 @@ impl IHolographicQuadLayerInterop { (::windows::core::Vtable::vtable(self).UnacquireDirect3D12BufferResource)(::windows::core::Vtable::as_raw(self), presourcetounacquire.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IHolographicQuadLayerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IHolographicQuadLayerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IHolographicQuadLayerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -269,7 +269,7 @@ impl IHolographicQuadLayerUpdateParametersInterop { (::windows::core::Vtable::vtable(self).CommitDirect3D12Resource)(::windows::core::Vtable::as_raw(self), pcolorresourcetocommit.into().abi(), pcolorresourcefence.into().abi(), colorresourcefencesignalvalue).ok() } } -::windows::core::interface_hierarchy!(IHolographicQuadLayerUpdateParametersInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IHolographicQuadLayerUpdateParametersInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IHolographicQuadLayerUpdateParametersInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs index 6d5013c771..b77c44a9e7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs @@ -12,7 +12,7 @@ impl IIsolatedEnvironmentInterop { (::windows::core::Vtable::vtable(self).GetHostHwndInterop)(::windows::core::Vtable::as_raw(self), containerhwnd.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIsolatedEnvironmentInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIsolatedEnvironmentInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIsolatedEnvironmentInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs index 0d6f8acd3d..10c2703b9b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs @@ -12,7 +12,7 @@ impl ILearningModelDeviceFactoryNative { (::windows::core::Vtable::vtable(self).CreateFromD3D12CommandQueue)(::windows::core::Vtable::as_raw(self), value.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILearningModelDeviceFactoryNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILearningModelDeviceFactoryNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILearningModelDeviceFactoryNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -55,7 +55,7 @@ impl ILearningModelOperatorProviderNative { (::windows::core::Vtable::vtable(self).GetRegistry)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILearningModelOperatorProviderNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILearningModelOperatorProviderNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILearningModelOperatorProviderNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -95,7 +95,7 @@ impl ILearningModelSessionOptionsNative { (::windows::core::Vtable::vtable(self).SetIntraOpNumThreadsOverride)(::windows::core::Vtable::as_raw(self), intraopnumthreads).ok() } } -::windows::core::interface_hierarchy!(ILearningModelSessionOptionsNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILearningModelSessionOptionsNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILearningModelSessionOptionsNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -138,7 +138,7 @@ impl ITensorNative { (::windows::core::Vtable::vtable(self).GetD3D12Resource)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITensorNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITensorNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITensorNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -184,7 +184,7 @@ impl ITensorStaticsNative { (::windows::core::Vtable::vtable(self).CreateFromD3D12Resource)(::windows::core::Vtable::as_raw(self), value.into().abi(), shape, shapecount, ::core::mem::transmute(result)).ok() } } -::windows::core::interface_hierarchy!(ITensorStaticsNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITensorStaticsNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITensorStaticsNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 60ca74a213..b2adff0e63 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 @@ -10,7 +10,7 @@ impl IAudioFrameNative { (::windows::core::Vtable::vtable(self).GetData)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioFrameNative, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAudioFrameNative, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAudioFrameNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -55,7 +55,7 @@ impl IAudioFrameNativeFactory { (::windows::core::Vtable::vtable(self).CreateFromMFSample)(::windows::core::Vtable::as_raw(self), data.into().abi(), forcereadonly.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAudioFrameNativeFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAudioFrameNativeFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAudioFrameNativeFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -106,7 +106,7 @@ impl IVideoFrameNative { (::windows::core::Vtable::vtable(self).GetDevice)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVideoFrameNative, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVideoFrameNative, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVideoFrameNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -153,7 +153,7 @@ impl IVideoFrameNativeFactory { (::windows::core::Vtable::vtable(self).CreateFromMFSample)(::windows::core::Vtable::as_raw(self), data.into().abi(), subtype, width, height, forcereadonly.into(), ::core::mem::transmute(mindisplayaperture.unwrap_or(::std::ptr::null())), device.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVideoFrameNativeFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IVideoFrameNativeFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IVideoFrameNativeFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs index c3aff51fd9..394196979d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn PdfCreateRenderer(pdevice: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "windows.data.pdf.dll""system" fn PdfCreateRenderer ( pdevice : * mut::core::ffi::c_void , pprenderer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "windows.data.pdf.dll""system" fn PdfCreateRenderer ( pdevice : * mut::core::ffi::c_void , pprenderer : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PdfCreateRenderer(pdevice.into().abi(), &mut result__).from_abi(result__) } @@ -32,7 +32,7 @@ impl IPdfRendererNative { (::windows::core::Vtable::vtable(self).RenderPageToDeviceContext)(::windows::core::Vtable::as_raw(self), pdfpage.into().abi(), pd2ddevicecontext.into().abi(), ::core::mem::transmute(prenderparams.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IPdfRendererNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPdfRendererNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPdfRendererNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 b4d78d42e8..8af50428bd 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 @@ -23,7 +23,7 @@ impl IPrintManagerInterop { (::windows::core::Vtable::vtable(self).ShowPrintUIForWindowAsync)(::windows::core::Vtable::as_raw(self), appwindow.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrintManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPrintManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -82,7 +82,7 @@ impl IPrintWorkflowConfigurationNative { (::windows::core::Vtable::vtable(self).UserProperties)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintWorkflowConfigurationNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintWorkflowConfigurationNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintWorkflowConfigurationNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -139,7 +139,7 @@ impl IPrintWorkflowObjectModelSourceFileContentNative { (::windows::core::Vtable::vtable(self).ObjectFactory)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintWorkflowObjectModelSourceFileContentNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintWorkflowObjectModelSourceFileContentNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintWorkflowObjectModelSourceFileContentNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -183,7 +183,7 @@ impl IPrintWorkflowXpsObjectModelTargetPackageNative { (::windows::core::Vtable::vtable(self).DocumentPackageTarget)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrintWorkflowXpsObjectModelTargetPackageNative, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintWorkflowXpsObjectModelTargetPackageNative, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintWorkflowXpsObjectModelTargetPackageNative { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -255,7 +255,7 @@ impl IPrintWorkflowXpsReceiver { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPrintWorkflowXpsReceiver, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintWorkflowXpsReceiver, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintWorkflowXpsReceiver { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -340,7 +340,7 @@ impl IPrintWorkflowXpsReceiver2 { (::windows::core::Vtable::vtable(self).Failed)(::windows::core::Vtable::as_raw(self), xpserror).ok() } } -::windows::core::interface_hierarchy!(IPrintWorkflowXpsReceiver2, ::windows::core::IUnknown, IPrintWorkflowXpsReceiver); +::windows::imp::interface_hierarchy!(IPrintWorkflowXpsReceiver2, ::windows::core::IUnknown, IPrintWorkflowXpsReceiver); impl ::core::cmp::PartialEq for IPrintWorkflowXpsReceiver2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -394,7 +394,7 @@ impl IPrinting3DManagerInterop { (::windows::core::Vtable::vtable(self).ShowPrintUIForWindowAsync)(::windows::core::Vtable::as_raw(self), appwindow.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPrinting3DManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPrinting3DManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPrinting3DManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs index 4650d85cda..d9cfee9c20 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs @@ -18,7 +18,7 @@ impl IDDEInitializer { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), fileextensionorprotocol.into().abi(), method, currentdirectory.into().abi(), exectarget.into().abi(), site.into().abi(), application.into().abi(), targetfile.into().abi(), arguments.into().abi(), verb.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDDEInitializer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDDEInitializer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDDEInitializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs index 2941afc5f4..09ccbf3fde 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs @@ -6,7 +6,7 @@ impl IOplockBreakingHandler { (::windows::core::Vtable::vtable(self).OplockBreaking)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IOplockBreakingHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOplockBreakingHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOplockBreakingHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -44,7 +44,7 @@ impl IRandomAccessStreamFileAccessMode { (::windows::core::Vtable::vtable(self).GetMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRandomAccessStreamFileAccessMode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRandomAccessStreamFileAccessMode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRandomAccessStreamFileAccessMode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -88,7 +88,7 @@ impl IStorageFolderHandleAccess { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), filename.into().abi(), creationoptions, accessoptions, sharingoptions, options, oplockbreakinghandler.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStorageFolderHandleAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStorageFolderHandleAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStorageFolderHandleAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -134,7 +134,7 @@ impl IStorageItemHandleAccess { (::windows::core::Vtable::vtable(self).Create)(::windows::core::Vtable::as_raw(self), accessoptions, sharingoptions, options, oplockbreakinghandler.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStorageItemHandleAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStorageItemHandleAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStorageItemHandleAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -174,7 +174,7 @@ impl IUnbufferedFileHandleOplockCallback { (::windows::core::Vtable::vtable(self).OnBrokenCallback)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUnbufferedFileHandleOplockCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUnbufferedFileHandleOplockCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUnbufferedFileHandleOplockCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -218,7 +218,7 @@ impl IUnbufferedFileHandleProvider { (::windows::core::Vtable::vtable(self).CloseUnbufferedFileHandle)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUnbufferedFileHandleProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUnbufferedFileHandleProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUnbufferedFileHandleProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 5e0c952446..39525c84cc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs @@ -29,7 +29,7 @@ pub mod Storage; #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn CoDecodeProxy(dwclientpid: u32, ui64proxyaddress: u64) -> ::windows::core::Result { - ::windows::core::link ! ( "ole32.dll""system" fn CoDecodeProxy ( dwclientpid : u32 , ui64proxyaddress : u64 , pserverinformation : *mut ServerInformation ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn CoDecodeProxy ( dwclientpid : u32 , ui64proxyaddress : u64 , pserverinformation : *mut ServerInformation ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CoDecodeProxy(dwclientpid, ui64proxyaddress, &mut result__).from_abi(result__) } @@ -39,7 +39,7 @@ pub unsafe fn CreateControlInput() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "windows.ui.dll""cdecl" fn CreateControlInput ( riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -50,7 +50,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -58,7 +58,7 @@ where #[cfg(feature = "System")] #[inline] pub unsafe fn CreateDispatcherQueueController(options: DispatcherQueueOptions) -> ::windows::core::Result { - ::windows::core::link ! ( "coremessaging.dll""system" fn CreateDispatcherQueueController ( options : DispatcherQueueOptions , dispatcherqueuecontroller : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "coremessaging.dll""system" fn CreateDispatcherQueueController ( options : DispatcherQueueOptions , dispatcherqueuecontroller : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateDispatcherQueueController(::core::mem::transmute(options), &mut result__).from_abi(result__) } @@ -69,7 +69,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), accessmode, &::IID, &mut result__).from_abi(result__) } @@ -81,7 +81,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), options, &::IID, &mut result__).from_abi(result__) } @@ -92,101 +92,101 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn GetRestrictedErrorInfo() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn GetRestrictedErrorInfo ( pprestrictederrorinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn GetRestrictedErrorInfo ( pprestrictederrorinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetRestrictedErrorInfo(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn HSTRING_UserFree(param0: *const u32, param1: *const ::windows::core::HSTRING) { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserFree ( param0 : *const u32 , param1 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserFree ( param0 : *const u32 , param1 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> ( ) ); HSTRING_UserFree(param0, ::core::mem::transmute(param1)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn HSTRING_UserFree64(param0: *const u32, param1: *const ::windows::core::HSTRING) { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserFree64 ( param0 : *const u32 , param1 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserFree64 ( param0 : *const u32 , param1 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> ( ) ); HSTRING_UserFree64(param0, ::core::mem::transmute(param1)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn HSTRING_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const ::windows::core::HSTRING) -> *mut u8 { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> *mut u8 ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> *mut u8 ); HSTRING_UserMarshal(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn HSTRING_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const ::windows::core::HSTRING) -> *mut u8 { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> *mut u8 ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> *mut u8 ); HSTRING_UserMarshal64(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn HSTRING_UserSize(param0: *const u32, param1: u32, param2: *const ::windows::core::HSTRING) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> u32 ); HSTRING_UserSize(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn HSTRING_UserSize64(param0: *const u32, param1: u32, param2: *const ::windows::core::HSTRING) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> u32 ); HSTRING_UserSize64(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn HSTRING_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut ::windows::core::HSTRING) -> *mut u8 { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> *mut u8 ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> *mut u8 ); HSTRING_UserUnmarshal(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn HSTRING_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut ::windows::core::HSTRING) -> *mut u8 { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> *mut u8 ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn HSTRING_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> *mut u8 ); HSTRING_UserUnmarshal64(param0, param1, ::core::mem::transmute(param2)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsErrorPropagationEnabled() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn IsErrorPropagationEnabled ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn IsErrorPropagationEnabled ( ) -> super::super::Foundation:: BOOL ); IsErrorPropagationEnabled() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn MetaDataGetDispenser(rclsid: *const ::windows::core::GUID, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "rometadata.dll""system" fn MetaDataGetDispenser ( rclsid : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "rometadata.dll""system" fn MetaDataGetDispenser ( rclsid : *const :: windows::core::GUID , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); MetaDataGetDispenser(rclsid, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoActivateInstance(activatableclassid: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::IInspectable> { - ::windows::core::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoActivateInstance ( activatableclassid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , instance : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoActivateInstance ( activatableclassid : ::std::mem::MaybeUninit <::windows::core::HSTRING > , instance : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IInspectable>(); RoActivateInstance(::core::mem::transmute_copy(activatableclassid), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoCaptureErrorContext(hr: ::windows::core::HRESULT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoCaptureErrorContext ( hr : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoCaptureErrorContext ( hr : :: windows::core::HRESULT ) -> :: windows::core::HRESULT ); RoCaptureErrorContext(hr).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoClearError() { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoClearError ( ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoClearError ( ) -> ( ) ); RoClearError() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoFailFastWithErrorContext(hrerror: ::windows::core::HRESULT) { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoFailFastWithErrorContext ( hrerror : :: windows::core::HRESULT ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoFailFastWithErrorContext ( hrerror : :: windows::core::HRESULT ) -> ( ) ); RoFailFastWithErrorContext(hrerror) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -195,7 +195,7 @@ pub unsafe fn RoFreeParameterizedTypeExtra(extra: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll""system" fn RoFreeParameterizedTypeExtra ( extra : ROPARAMIIDHANDLE ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll""system" fn RoFreeParameterizedTypeExtra ( extra : ROPARAMIIDHANDLE ) -> ( ) ); RoFreeParameterizedTypeExtra(extra.into()) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -204,7 +204,7 @@ pub unsafe fn RoGetActivationFactory(activatableclassid: &::windows::core::HS where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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__) } @@ -214,14 +214,14 @@ pub unsafe fn RoGetAgileReference(options: AgileReferenceOptions, riid: *con where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "ole32.dll""system" fn RoGetAgileReference ( options : AgileReferenceOptions , riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , ppagilereference : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ole32.dll""system" fn RoGetAgileReference ( options : AgileReferenceOptions , riid : *const :: windows::core::GUID , punk : * mut::core::ffi::c_void , ppagilereference : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RoGetAgileReference(options, riid, punk.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoGetApartmentIdentifier() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoGetApartmentIdentifier ( apartmentidentifier : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoGetApartmentIdentifier ( apartmentidentifier : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RoGetApartmentIdentifier(&mut result__).from_abi(result__) } @@ -229,21 +229,21 @@ pub unsafe fn RoGetApartmentIdentifier() -> ::windows::core::Result { #[cfg(feature = "Win32_System_Com_Marshal")] #[inline] pub unsafe fn RoGetBufferMarshaler() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-robuffer-l1-1-0.dll""system" fn RoGetBufferMarshaler ( buffermarshaler : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-robuffer-l1-1-0.dll""system" fn RoGetBufferMarshaler ( buffermarshaler : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RoGetBufferMarshaler(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoGetErrorReportingFlags() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoGetErrorReportingFlags ( pflags : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoGetErrorReportingFlags ( pflags : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RoGetErrorReportingFlags(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoGetMatchingRestrictedErrorInfo(hrin: ::windows::core::HRESULT) -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoGetMatchingRestrictedErrorInfo ( hrin : :: windows::core::HRESULT , pprestrictederrorinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoGetMatchingRestrictedErrorInfo ( hrin : :: windows::core::HRESULT , pprestrictederrorinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RoGetMatchingRestrictedErrorInfo(hrin, &mut result__).from_abi(result__) } @@ -253,31 +253,31 @@ pub unsafe fn RoGetParameterizedTypeInstanceIID(nameelements: &[::windows::c where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll""system" fn RoGetParameterizedTypeInstanceIID ( nameelementcount : u32 , nameelements : *const :: windows::core::PCWSTR , metadatalocator : * mut::core::ffi::c_void , iid : *mut :: windows::core::GUID , pextra : *mut ROPARAMIIDHANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll""system" fn RoGetParameterizedTypeInstanceIID ( nameelementcount : u32 , nameelements : *const :: windows::core::PCWSTR , metadatalocator : * mut::core::ffi::c_void , iid : *mut :: windows::core::GUID , pextra : *mut ROPARAMIIDHANDLE ) -> :: windows::core::HRESULT ); RoGetParameterizedTypeInstanceIID(nameelements.len() as _, ::core::mem::transmute(nameelements.as_ptr()), metadatalocator.into().abi(), iid, ::core::mem::transmute(pextra.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoGetServerActivatableClasses(servername: &::windows::core::HSTRING, activatableclassids: *mut *mut ::windows::core::HSTRING, count: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-registration-l1-1-0.dll""system" fn RoGetServerActivatableClasses ( servername : ::std::mem::MaybeUninit <::windows::core::HSTRING > , activatableclassids : *mut *mut :: windows::core::HSTRING , count : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-registration-l1-1-0.dll""system" fn RoGetServerActivatableClasses ( servername : ::std::mem::MaybeUninit <::windows::core::HSTRING > , activatableclassids : *mut *mut :: windows::core::HSTRING , count : *mut u32 ) -> :: windows::core::HRESULT ); RoGetServerActivatableClasses(::core::mem::transmute_copy(servername), activatableclassids, count).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoInitialize(inittype: RO_INIT_TYPE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoInitialize ( inittype : RO_INIT_TYPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoInitialize ( inittype : RO_INIT_TYPE ) -> :: windows::core::HRESULT ); RoInitialize(inittype).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoInspectCapturedStackBackTrace(targeterrorinfoaddress: usize, machine: u16, readmemorycallback: PINSPECT_MEMORY_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, framecount: *mut u32, targetbacktraceaddress: *mut usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoInspectCapturedStackBackTrace ( targeterrorinfoaddress : usize , machine : u16 , readmemorycallback : PINSPECT_MEMORY_CALLBACK , context : *const ::core::ffi::c_void , framecount : *mut u32 , targetbacktraceaddress : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoInspectCapturedStackBackTrace ( targeterrorinfoaddress : usize , machine : u16 , readmemorycallback : PINSPECT_MEMORY_CALLBACK , context : *const ::core::ffi::c_void , framecount : *mut u32 , targetbacktraceaddress : *mut usize ) -> :: windows::core::HRESULT ); RoInspectCapturedStackBackTrace(targeterrorinfoaddress, machine, readmemorycallback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), framecount, targetbacktraceaddress).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoInspectThreadErrorInfo(targettebaddress: usize, machine: u16, readmemorycallback: PINSPECT_MEMORY_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoInspectThreadErrorInfo ( targettebaddress : usize , machine : u16 , readmemorycallback : PINSPECT_MEMORY_CALLBACK , context : *const ::core::ffi::c_void , targeterrorinfoaddress : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoInspectThreadErrorInfo ( targettebaddress : usize , machine : u16 , readmemorycallback : PINSPECT_MEMORY_CALLBACK , context : *const ::core::ffi::c_void , targeterrorinfoaddress : *mut usize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RoInspectThreadErrorInfo(targettebaddress, machine, readmemorycallback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -285,14 +285,14 @@ pub unsafe fn RoInspectThreadErrorInfo(targettebaddress: usize, machine: u16, re #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RoOriginateError(error: ::windows::core::HRESULT, message: &::windows::core::HSTRING) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoOriginateError ( error : :: windows::core::HRESULT , message : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoOriginateError ( error : :: windows::core::HRESULT , message : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> super::super::Foundation:: BOOL ); RoOriginateError(error, ::core::mem::transmute_copy(message)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RoOriginateErrorW(error: ::windows::core::HRESULT, cchmax: u32, message: ::core::option::Option<&[u16; 512]>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoOriginateErrorW ( error : :: windows::core::HRESULT , cchmax : u32 , message : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoOriginateErrorW ( error : :: windows::core::HRESULT , cchmax : u32 , message : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); RoOriginateErrorW(error, cchmax, ::core::mem::transmute(message.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] @@ -302,7 +302,7 @@ pub unsafe fn RoOriginateLanguageException(error: ::windows::core::HRESULT, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoOriginateLanguageException ( error : :: windows::core::HRESULT , message : ::std::mem::MaybeUninit <::windows::core::HSTRING > , languageexception : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoOriginateLanguageException ( error : :: windows::core::HRESULT , message : ::std::mem::MaybeUninit <::windows::core::HSTRING > , languageexception : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); RoOriginateLanguageException(error, ::core::mem::transmute_copy(message), languageexception.into().abi()) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -311,13 +311,13 @@ pub unsafe fn RoParameterizedTypeExtraGetTypeSignature(extra: P0) -> ::windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll""system" fn RoParameterizedTypeExtraGetTypeSignature ( extra : ROPARAMIIDHANDLE ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll""system" fn RoParameterizedTypeExtraGetTypeSignature ( extra : ROPARAMIIDHANDLE ) -> :: windows::core::PSTR ); RoParameterizedTypeExtraGetTypeSignature(extra.into()) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoRegisterActivationFactories(activatableclassids: *const ::windows::core::HSTRING, activationfactorycallbacks: *const isize, count: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoRegisterActivationFactories ( activatableclassids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , activationfactorycallbacks : *const isize , count : u32 , cookie : *mut isize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoRegisterActivationFactories ( activatableclassids : *const ::std::mem::MaybeUninit <::windows::core::HSTRING > , activationfactorycallbacks : *const isize , count : u32 , cookie : *mut isize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RoRegisterActivationFactories(::core::mem::transmute(activatableclassids), activationfactorycallbacks, count, &mut result__).from_abi(result__) } @@ -327,7 +327,7 @@ pub unsafe fn RoRegisterForApartmentShutdown(callbackobject: P0, apartmentid where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoRegisterForApartmentShutdown ( callbackobject : * mut::core::ffi::c_void , apartmentidentifier : *mut u64 , regcookie : *mut APARTMENT_SHUTDOWN_REGISTRATION_COOKIE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoRegisterForApartmentShutdown ( callbackobject : * mut::core::ffi::c_void , apartmentidentifier : *mut u64 , regcookie : *mut APARTMENT_SHUTDOWN_REGISTRATION_COOKIE ) -> :: windows::core::HRESULT ); RoRegisterForApartmentShutdown(callbackobject.into().abi(), apartmentidentifier, regcookie).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -337,7 +337,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoReportFailedDelegate ( punkdelegate : * mut::core::ffi::c_void , prestrictederrorinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoReportFailedDelegate ( punkdelegate : * mut::core::ffi::c_void , prestrictederrorinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); RoReportFailedDelegate(punkdelegate.into().abi(), prestrictederrorinfo.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -346,7 +346,7 @@ pub unsafe fn RoReportUnhandledError(prestrictederrorinfo: P0) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoReportUnhandledError ( prestrictederrorinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-1.dll""system" fn RoReportUnhandledError ( prestrictederrorinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); RoReportUnhandledError(prestrictederrorinfo.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -355,40 +355,40 @@ pub unsafe fn RoResolveRestrictedErrorInfoReference(reference: P0) -> ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoResolveRestrictedErrorInfoReference ( reference : :: windows::core::PCWSTR , pprestrictederrorinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoResolveRestrictedErrorInfoReference ( reference : :: windows::core::PCWSTR , pprestrictederrorinfo : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RoResolveRestrictedErrorInfoReference(reference.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoRevokeActivationFactories(cookie: isize) { - ::windows::core::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoRevokeActivationFactories ( cookie : isize ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoRevokeActivationFactories ( cookie : isize ) -> ( ) ); RoRevokeActivationFactories(cookie) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoSetErrorReportingFlags(flags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoSetErrorReportingFlags ( flags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoSetErrorReportingFlags ( flags : u32 ) -> :: windows::core::HRESULT ); RoSetErrorReportingFlags(flags).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RoTransformError(olderror: ::windows::core::HRESULT, newerror: ::windows::core::HRESULT, message: &::windows::core::HSTRING) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoTransformError ( olderror : :: windows::core::HRESULT , newerror : :: windows::core::HRESULT , message : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoTransformError ( olderror : :: windows::core::HRESULT , newerror : :: windows::core::HRESULT , message : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> super::super::Foundation:: BOOL ); RoTransformError(olderror, newerror, ::core::mem::transmute_copy(message)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RoTransformErrorW(olderror: ::windows::core::HRESULT, newerror: ::windows::core::HRESULT, cchmax: u32, message: ::core::option::Option<&[u16; 512]>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoTransformErrorW ( olderror : :: windows::core::HRESULT , newerror : :: windows::core::HRESULT , cchmax : u32 , message : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn RoTransformErrorW ( olderror : :: windows::core::HRESULT , newerror : :: windows::core::HRESULT , cchmax : u32 , message : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); RoTransformErrorW(olderror, newerror, cchmax, ::core::mem::transmute(message.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn RoUninitialize() { - ::windows::core::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoUninitialize ( ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoUninitialize ( ) -> ( ) ); RoUninitialize() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -397,7 +397,7 @@ pub unsafe fn RoUnregisterForApartmentShutdown(regcookie: P0) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoUnregisterForApartmentShutdown ( regcookie : APARTMENT_SHUTDOWN_REGISTRATION_COOKIE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-l1-1-0.dll""system" fn RoUnregisterForApartmentShutdown ( regcookie : APARTMENT_SHUTDOWN_REGISTRATION_COOKIE ) -> :: windows::core::HRESULT ); RoUnregisterForApartmentShutdown(regcookie.into()).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -406,27 +406,27 @@ pub unsafe fn SetRestrictedErrorInfo(prestrictederrorinfo: P0) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn SetRestrictedErrorInfo ( prestrictederrorinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-error-l1-1-0.dll""system" fn SetRestrictedErrorInfo ( prestrictederrorinfo : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SetRestrictedErrorInfo(prestrictederrorinfo.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsCompareStringOrdinal(string1: &::windows::core::HSTRING, string2: &::windows::core::HSTRING) -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsCompareStringOrdinal ( string1 : ::std::mem::MaybeUninit <::windows::core::HSTRING > , string2 : ::std::mem::MaybeUninit <::windows::core::HSTRING > , result : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsCompareStringOrdinal ( string1 : ::std::mem::MaybeUninit <::windows::core::HSTRING > , string2 : ::std::mem::MaybeUninit <::windows::core::HSTRING > , result : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WindowsCompareStringOrdinal(::core::mem::transmute_copy(string1), ::core::mem::transmute_copy(string2), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsConcatString(string1: &::windows::core::HSTRING, string2: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::HSTRING> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsConcatString ( string1 : ::std::mem::MaybeUninit <::windows::core::HSTRING > , string2 : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsConcatString ( string1 : ::std::mem::MaybeUninit <::windows::core::HSTRING > , string2 : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsConcatString(::core::mem::transmute_copy(string1), ::core::mem::transmute_copy(string2), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsCreateString(sourcestring: ::core::option::Option<&[u16]>) -> ::windows::core::Result<::windows::core::HSTRING> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsCreateString ( sourcestring : :: windows::core::PCWSTR , length : u32 , string : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsCreateString ( sourcestring : :: windows::core::PCWSTR , length : u32 , string : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsCreateString(::core::mem::transmute(sourcestring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), sourcestring.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -436,13 +436,13 @@ pub unsafe fn WindowsCreateStringReference(sourcestring: P0, length: u32, hs where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsCreateStringReference ( sourcestring : :: windows::core::PCWSTR , length : u32 , hstringheader : *mut HSTRING_HEADER , string : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsCreateStringReference ( sourcestring : :: windows::core::PCWSTR , length : u32 , hstringheader : *mut HSTRING_HEADER , string : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); WindowsCreateStringReference(sourcestring.into().abi(), length, hstringheader, ::core::mem::transmute(string)).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsDeleteString(string: &::windows::core::HSTRING) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsDeleteString ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsDeleteString ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); WindowsDeleteString(::core::mem::transmute_copy(string)).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -451,51 +451,51 @@ pub unsafe fn WindowsDeleteStringBuffer(bufferhandle: P0) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsDeleteStringBuffer ( bufferhandle : HSTRING_BUFFER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsDeleteStringBuffer ( bufferhandle : HSTRING_BUFFER ) -> :: windows::core::HRESULT ); WindowsDeleteStringBuffer(bufferhandle.into()).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsDuplicateString(string: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::HSTRING> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsDuplicateString ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsDuplicateString ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsDuplicateString(::core::mem::transmute_copy(string), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsGetStringLen(string: &::windows::core::HSTRING) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsGetStringLen ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsGetStringLen ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> u32 ); WindowsGetStringLen(::core::mem::transmute_copy(string)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsGetStringRawBuffer(string: &::windows::core::HSTRING, length: ::core::option::Option<*mut u32>) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsGetStringRawBuffer ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , length : *mut u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsGetStringRawBuffer ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , length : *mut u32 ) -> :: windows::core::PWSTR ); WindowsGetStringRawBuffer(::core::mem::transmute_copy(string), ::core::mem::transmute(length.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsInspectString(targethstring: usize, machine: u16, callback: PINSPECT_HSTRING_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, length: *mut u32, targetstringaddress: *mut usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsInspectString ( targethstring : usize , machine : u16 , callback : PINSPECT_HSTRING_CALLBACK , context : *const ::core::ffi::c_void , length : *mut u32 , targetstringaddress : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsInspectString ( targethstring : usize , machine : u16 , callback : PINSPECT_HSTRING_CALLBACK , context : *const ::core::ffi::c_void , length : *mut u32 , targetstringaddress : *mut usize ) -> :: windows::core::HRESULT ); WindowsInspectString(targethstring, machine, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), length, targetstringaddress).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsInspectString2(targethstring: u64, machine: u16, callback: PINSPECT_HSTRING_CALLBACK2, context: ::core::option::Option<*const ::core::ffi::c_void>, length: *mut u32, targetstringaddress: *mut u64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-1.dll""system" fn WindowsInspectString2 ( targethstring : u64 , machine : u16 , callback : PINSPECT_HSTRING_CALLBACK2 , context : *const ::core::ffi::c_void , length : *mut u32 , targetstringaddress : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-1.dll""system" fn WindowsInspectString2 ( targethstring : u64 , machine : u16 , callback : PINSPECT_HSTRING_CALLBACK2 , context : *const ::core::ffi::c_void , length : *mut u32 , targetstringaddress : *mut u64 ) -> :: windows::core::HRESULT ); WindowsInspectString2(targethstring, machine, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), length, targetstringaddress).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WindowsIsStringEmpty(string: &::windows::core::HSTRING) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsIsStringEmpty ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsIsStringEmpty ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> super::super::Foundation:: BOOL ); WindowsIsStringEmpty(::core::mem::transmute_copy(string)) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsPreallocateStringBuffer(length: u32, charbuffer: *mut *mut u16, bufferhandle: *mut HSTRING_BUFFER) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsPreallocateStringBuffer ( length : u32 , charbuffer : *mut *mut u16 , bufferhandle : *mut HSTRING_BUFFER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsPreallocateStringBuffer ( length : u32 , charbuffer : *mut *mut u16 , bufferhandle : *mut HSTRING_BUFFER ) -> :: windows::core::HRESULT ); WindowsPreallocateStringBuffer(length, charbuffer, bufferhandle).ok() } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] @@ -504,14 +504,14 @@ pub unsafe fn WindowsPromoteStringBuffer(bufferhandle: P0) -> ::windows::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsPromoteStringBuffer ( bufferhandle : HSTRING_BUFFER , string : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsPromoteStringBuffer ( bufferhandle : HSTRING_BUFFER , string : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsPromoteStringBuffer(bufferhandle.into(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsReplaceString(string: &::windows::core::HSTRING, stringreplaced: &::windows::core::HSTRING, stringreplacewith: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::HSTRING> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsReplaceString ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , stringreplaced : ::std::mem::MaybeUninit <::windows::core::HSTRING > , stringreplacewith : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsReplaceString ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , stringreplaced : ::std::mem::MaybeUninit <::windows::core::HSTRING > , stringreplacewith : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsReplaceString(::core::mem::transmute_copy(string), ::core::mem::transmute_copy(stringreplaced), ::core::mem::transmute_copy(stringreplacewith), &mut result__).from_abi(result__) } @@ -519,35 +519,35 @@ pub unsafe fn WindowsReplaceString(string: &::windows::core::HSTRING, stringrepl #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WindowsStringHasEmbeddedNull(string: &::windows::core::HSTRING) -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsStringHasEmbeddedNull ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , hasembednull : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsStringHasEmbeddedNull ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , hasembednull : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WindowsStringHasEmbeddedNull(::core::mem::transmute_copy(string), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsSubstring(string: &::windows::core::HSTRING, startindex: u32) -> ::windows::core::Result<::windows::core::HSTRING> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsSubstring ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , startindex : u32 , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsSubstring ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , startindex : u32 , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsSubstring(::core::mem::transmute_copy(string), startindex, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsSubstringWithSpecifiedLength(string: &::windows::core::HSTRING, startindex: u32, length: u32) -> ::windows::core::Result<::windows::core::HSTRING> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsSubstringWithSpecifiedLength ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , startindex : u32 , length : u32 , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsSubstringWithSpecifiedLength ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , startindex : u32 , length : u32 , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsSubstringWithSpecifiedLength(::core::mem::transmute_copy(string), startindex, length, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsTrimStringEnd(string: &::windows::core::HSTRING, trimstring: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::HSTRING> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsTrimStringEnd ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , trimstring : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsTrimStringEnd ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , trimstring : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsTrimStringEnd(::core::mem::transmute_copy(string), ::core::mem::transmute_copy(trimstring), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[inline] pub unsafe fn WindowsTrimStringStart(string: &::windows::core::HSTRING, trimstring: &::windows::core::HSTRING) -> ::windows::core::Result<::windows::core::HSTRING> { - ::windows::core::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsTrimStringStart ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , trimstring : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-winrt-string-l1-1-0.dll""system" fn WindowsTrimStringStart ( string : ::std::mem::MaybeUninit <::windows::core::HSTRING > , trimstring : ::std::mem::MaybeUninit <::windows::core::HSTRING > , newstring : *mut ::std::mem::MaybeUninit <::windows::core::HSTRING > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::HSTRING>(); WindowsTrimStringStart(::core::mem::transmute_copy(string), ::core::mem::transmute_copy(trimstring), &mut result__).from_abi(result__) } @@ -586,7 +586,7 @@ impl IAccountsSettingsPaneInterop { (::windows::core::Vtable::vtable(self).ShowAddAccountForWindowAsync)(::windows::core::Vtable::as_raw(self), appwindow.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAccountsSettingsPaneInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IAccountsSettingsPaneInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IAccountsSettingsPaneInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -635,7 +635,7 @@ impl IActivationFactory { (::windows::core::Vtable::vtable(self).ActivateInstance)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActivationFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IActivationFactory, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IActivationFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -676,7 +676,7 @@ impl IAgileReference { (::windows::core::Vtable::vtable(self).Resolve)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAgileReference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAgileReference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAgileReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -713,7 +713,7 @@ impl IApartmentShutdown { (::windows::core::Vtable::vtable(self).OnUninitialize)(::windows::core::Vtable::as_raw(self), ui64apartmentidentifier) } } -::windows::core::interface_hierarchy!(IApartmentShutdown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApartmentShutdown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApartmentShutdown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -754,7 +754,7 @@ impl IAppServiceConnectionExtendedExecution { (::windows::core::Vtable::vtable(self).OpenForExtendedExecutionAsync)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppServiceConnectionExtendedExecution, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppServiceConnectionExtendedExecution, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppServiceConnectionExtendedExecution { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -792,7 +792,7 @@ impl IBufferByteAccess { (::windows::core::Vtable::vtable(self).Buffer)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBufferByteAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBufferByteAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBufferByteAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -849,7 +849,7 @@ impl ICastingController { (::windows::core::Vtable::vtable(self).UnAdvise)(::windows::core::Vtable::as_raw(self), cookie).ok() } } -::windows::core::interface_hierarchy!(ICastingController, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICastingController, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICastingController { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -896,7 +896,7 @@ impl ICastingEventHandler { (::windows::core::Vtable::vtable(self).OnError)(::windows::core::Vtable::as_raw(self), errorstatus, errormessage.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICastingEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICastingEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICastingEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -941,7 +941,7 @@ impl ICastingSourceInfo { (::windows::core::Vtable::vtable(self).GetProperties)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICastingSourceInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICastingSourceInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICastingSourceInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -988,7 +988,7 @@ impl ICoreInputInterop { (::windows::core::Vtable::vtable(self).SetMessageHandled)(::windows::core::Vtable::as_raw(self), value).ok() } } -::windows::core::interface_hierarchy!(ICoreInputInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICoreInputInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICoreInputInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1057,7 +1057,7 @@ impl ICoreWindowAdapterInterop { (::windows::core::Vtable::vtable(self).SetWindowClientAdapter)(::windows::core::Vtable::as_raw(self), value.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICoreWindowAdapterInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICoreWindowAdapterInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICoreWindowAdapterInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1111,7 +1111,7 @@ impl ICoreWindowComponentInterop { (::windows::core::Vtable::vtable(self).GetViewInstanceId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICoreWindowComponentInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICoreWindowComponentInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICoreWindowComponentInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1158,7 +1158,7 @@ impl ICoreWindowInterop { (::windows::core::Vtable::vtable(self).SetMessageHandled)(::windows::core::Vtable::as_raw(self), value).ok() } } -::windows::core::interface_hierarchy!(ICoreWindowInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICoreWindowInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICoreWindowInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1207,7 +1207,7 @@ impl ICorrelationVectorInformation { (::windows::core::Vtable::vtable(self).SetNextCorrelationVectorForThread)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(cv)).ok() } } -::windows::core::interface_hierarchy!(ICorrelationVectorInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ICorrelationVectorInformation, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ICorrelationVectorInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1247,7 +1247,7 @@ impl ICorrelationVectorSource { (::windows::core::Vtable::vtable(self).CorrelationVector)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICorrelationVectorSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICorrelationVectorSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICorrelationVectorSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1291,7 +1291,7 @@ impl IDragDropManagerInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), hwnd.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDragDropManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IDragDropManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IDragDropManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1338,7 +1338,7 @@ impl IHolographicSpaceInterop { (::windows::core::Vtable::vtable(self).CreateForWindow)(::windows::core::Vtable::as_raw(self), window.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHolographicSpaceInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IHolographicSpaceInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IHolographicSpaceInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1385,7 +1385,7 @@ impl IInputPaneInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), appwindow.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IInputPaneInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IInputPaneInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IInputPaneInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1426,7 +1426,7 @@ impl ILanguageExceptionErrorInfo { (::windows::core::Vtable::vtable(self).GetLanguageException)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILanguageExceptionErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILanguageExceptionErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILanguageExceptionErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1478,7 +1478,7 @@ impl ILanguageExceptionErrorInfo2 { (::windows::core::Vtable::vtable(self).GetPropagationContextHead)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILanguageExceptionErrorInfo2, ::windows::core::IUnknown, ILanguageExceptionErrorInfo); +::windows::imp::interface_hierarchy!(ILanguageExceptionErrorInfo2, ::windows::core::IUnknown, ILanguageExceptionErrorInfo); impl ::core::cmp::PartialEq for ILanguageExceptionErrorInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1517,7 +1517,7 @@ impl ILanguageExceptionStackBackTrace { (::windows::core::Vtable::vtable(self).GetStackBackTrace)(::windows::core::Vtable::as_raw(self), maxframestocapture, stackbacktrace, framescaptured).ok() } } -::windows::core::interface_hierarchy!(ILanguageExceptionStackBackTrace, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILanguageExceptionStackBackTrace, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILanguageExceptionStackBackTrace { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1555,7 +1555,7 @@ impl ILanguageExceptionTransform { (::windows::core::Vtable::vtable(self).GetTransformedRestrictedErrorInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILanguageExceptionTransform, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILanguageExceptionTransform, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILanguageExceptionTransform { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1592,7 +1592,7 @@ impl IMemoryBufferByteAccess { (::windows::core::Vtable::vtable(self).GetBuffer)(::windows::core::Vtable::as_raw(self), value, capacity).ok() } } -::windows::core::interface_hierarchy!(IMemoryBufferByteAccess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMemoryBufferByteAccess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMemoryBufferByteAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1629,7 +1629,7 @@ impl IMessageDispatcher { (::windows::core::Vtable::vtable(self).PumpMessages)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IMessageDispatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IMessageDispatcher, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IMessageDispatcher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1681,7 +1681,7 @@ impl IPlayToManagerInterop { (::windows::core::Vtable::vtable(self).ShowPlayToUIForWindow)(::windows::core::Vtable::as_raw(self), appwindow.into()).ok() } } -::windows::core::interface_hierarchy!(IPlayToManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IPlayToManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IPlayToManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1729,7 +1729,7 @@ impl IRestrictedErrorInfo { (::windows::core::Vtable::vtable(self).GetReference)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRestrictedErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRestrictedErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRestrictedErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1897,7 +1897,7 @@ impl IShareWindowCommandEventArgsInterop { (::windows::core::Vtable::vtable(self).GetWindow)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShareWindowCommandEventArgsInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShareWindowCommandEventArgsInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShareWindowCommandEventArgsInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1944,7 +1944,7 @@ impl IShareWindowCommandSourceInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), appwindow.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShareWindowCommandSourceInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShareWindowCommandSourceInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShareWindowCommandSourceInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1991,7 +1991,7 @@ impl ISpatialInteractionManagerInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), window.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpatialInteractionManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISpatialInteractionManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISpatialInteractionManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2038,7 +2038,7 @@ impl ISystemMediaTransportControlsInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), appwindow.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISystemMediaTransportControlsInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(ISystemMediaTransportControlsInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for ISystemMediaTransportControlsInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2085,7 +2085,7 @@ impl IUIViewSettingsInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), hwnd.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIViewSettingsInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUIViewSettingsInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUIViewSettingsInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2132,7 +2132,7 @@ impl IUserActivityInterop { (::windows::core::Vtable::vtable(self).CreateSessionForWindow)(::windows::core::Vtable::as_raw(self), window.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUserActivityInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUserActivityInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUserActivityInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2179,7 +2179,7 @@ impl IUserActivityRequestManagerInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), window.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUserActivityRequestManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUserActivityRequestManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUserActivityRequestManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2219,7 +2219,7 @@ impl IUserActivitySourceHostInterop { (::windows::core::Vtable::vtable(self).SetActivitySourceHost)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(activitysourcehost)).ok() } } -::windows::core::interface_hierarchy!(IUserActivitySourceHostInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUserActivitySourceHostInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUserActivitySourceHostInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2263,7 +2263,7 @@ impl IUserConsentVerifierInterop { (::windows::core::Vtable::vtable(self).RequestVerificationForWindowAsync)(::windows::core::Vtable::as_raw(self), appwindow.into(), ::core::mem::transmute_copy(message), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUserConsentVerifierInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IUserConsentVerifierInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IUserConsentVerifierInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2307,7 +2307,7 @@ impl IWeakReference { (::windows::core::Vtable::vtable(self).Resolve)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWeakReference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWeakReference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWeakReference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2345,7 +2345,7 @@ impl IWeakReferenceSource { (::windows::core::Vtable::vtable(self).GetWeakReference)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWeakReferenceSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWeakReferenceSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWeakReferenceSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2402,7 +2402,7 @@ impl IWebAuthenticationCoreManagerInterop { (::windows::core::Vtable::vtable(self).RequestTokenWithWebAccountForWindowAsync)(::windows::core::Vtable::as_raw(self), appwindow.into(), request.into().abi(), webaccount.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWebAuthenticationCoreManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IWebAuthenticationCoreManagerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IWebAuthenticationCoreManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs index ceac119920..c4b2885b3e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -6,7 +6,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn AddDelBackupEntryA ( lpcszfilelist : :: windows::core::PCSTR , lpcszbackupdir : :: windows::core::PCSTR , lpcszbasename : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn AddDelBackupEntryA ( lpcszfilelist : :: windows::core::PCSTR , lpcszbackupdir : :: windows::core::PCSTR , lpcszbasename : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); AddDelBackupEntryA(lpcszfilelist.into().abi(), lpcszbackupdir.into().abi(), lpcszbasename.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -17,7 +17,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn AddDelBackupEntryW ( lpcszfilelist : :: windows::core::PCWSTR , lpcszbackupdir : :: windows::core::PCWSTR , lpcszbasename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn AddDelBackupEntryW ( lpcszfilelist : :: windows::core::PCWSTR , lpcszbackupdir : :: windows::core::PCWSTR , lpcszbasename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); AddDelBackupEntryW(lpcszfilelist.into().abi(), lpcszbackupdir.into().abi(), lpcszbasename.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -31,7 +31,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn AdvInstallFileA ( hwnd : super::super::Foundation:: HWND , lpszsourcedir : :: windows::core::PCSTR , lpszsourcefile : :: windows::core::PCSTR , lpszdestdir : :: windows::core::PCSTR , lpszdestfile : :: windows::core::PCSTR , dwflags : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn AdvInstallFileA ( hwnd : super::super::Foundation:: HWND , lpszsourcedir : :: windows::core::PCSTR , lpszsourcefile : :: windows::core::PCSTR , lpszdestdir : :: windows::core::PCSTR , lpszdestfile : :: windows::core::PCSTR , dwflags : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); AdvInstallFileA(hwnd.into(), lpszsourcedir.into().abi(), lpszsourcefile.into().abi(), lpszdestdir.into().abi(), lpszdestfile.into().abi(), dwflags, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -45,7 +45,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn AdvInstallFileW ( hwnd : super::super::Foundation:: HWND , lpszsourcedir : :: windows::core::PCWSTR , lpszsourcefile : :: windows::core::PCWSTR , lpszdestdir : :: windows::core::PCWSTR , lpszdestfile : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn AdvInstallFileW ( hwnd : super::super::Foundation:: HWND , lpszsourcedir : :: windows::core::PCWSTR , lpszsourcefile : :: windows::core::PCWSTR , lpszdestdir : :: windows::core::PCWSTR , lpszdestfile : :: windows::core::PCWSTR , dwflags : u32 , dwreserved : u32 ) -> :: windows::core::HRESULT ); AdvInstallFileW(hwnd.into(), lpszsourcedir.into().abi(), lpszsourcefile.into().abi(), lpszdestdir.into().abi(), lpszdestfile.into().abi(), dwflags, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -55,7 +55,7 @@ pub unsafe fn ApphelpCheckShellObject(objectclsid: *const ::windows::core::G where P0: ::std::convert::Into, { - ::windows::core::link ! ( "apphelp.dll""system" fn ApphelpCheckShellObject ( objectclsid : *const :: windows::core::GUID , bshimifnecessary : super::super::Foundation:: BOOL , pullflags : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "apphelp.dll""system" fn ApphelpCheckShellObject ( objectclsid : *const :: windows::core::GUID , bshimifnecessary : super::super::Foundation:: BOOL , pullflags : *mut u64 ) -> super::super::Foundation:: BOOL ); ApphelpCheckShellObject(objectclsid, bshimifnecessary.into(), pullflags) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -65,7 +65,7 @@ pub unsafe fn CancelDeviceWakeupRequest(hdevice: P0) -> super::super::Founda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CancelDeviceWakeupRequest ( hdevice : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CancelDeviceWakeupRequest ( hdevice : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CancelDeviceWakeupRequest(hdevice.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -76,25 +76,25 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn CancelTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CancelTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); CancelTimerQueueTimer(timerqueue.into(), timer.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn CloseINFEngine(hinf: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advpack.dll""system" fn CloseINFEngine ( hinf : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn CloseINFEngine ( hinf : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CloseINFEngine(hinf).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue: u64, lpperformancecountervalue: *mut u64, lpconversionerror: ::core::option::Option<*mut u64>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn ConvertAuxiliaryCounterToPerformanceCounter ( ullauxiliarycountervalue : u64 , lpperformancecountervalue : *mut u64 , lpconversionerror : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn ConvertAuxiliaryCounterToPerformanceCounter ( ullauxiliarycountervalue : u64 , lpperformancecountervalue : *mut u64 , lpconversionerror : *mut u64 ) -> :: windows::core::HRESULT ); ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue, lpperformancecountervalue, ::core::mem::transmute(lpconversionerror.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue: u64, lpauxiliarycountervalue: *mut u64, lpconversionerror: ::core::option::Option<*mut u64>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn ConvertPerformanceCounterToAuxiliaryCounter ( ullperformancecountervalue : u64 , lpauxiliarycountervalue : *mut u64 , lpconversionerror : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn ConvertPerformanceCounterToAuxiliaryCounter ( ullperformancecountervalue : u64 , lpauxiliarycountervalue : *mut u64 , lpconversionerror : *mut u64 ) -> :: windows::core::HRESULT ); ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue, lpauxiliarycountervalue, ::core::mem::transmute(lpconversionerror.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -105,7 +105,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateWaitableTimerA ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateWaitableTimerA ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); CreateWaitableTimerA(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), bmanualreset.into(), lptimername.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -115,13 +115,13 @@ pub unsafe fn CreateWaitableTimerExA(lptimerattributes: ::core::option::Opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn CreateWaitableTimerExA ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lptimername : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn CreateWaitableTimerExA ( lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES , lptimername : :: windows::core::PCSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ); CreateWaitableTimerExA(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), lptimername.into().abi(), dwflags, dwdesiredaccess) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i32 { - ::windows::core::link ! ( "dciman32.dll""system" fn DCIBeginAccess ( pdci : *mut DCISURFACEINFO , x : i32 , y : i32 , dx : i32 , dy : i32 ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCIBeginAccess ( pdci : *mut DCISURFACEINFO , x : i32 , y : i32 , dx : i32 , dy : i32 ) -> i32 ); DCIBeginAccess(pdci, x, y, dx, dy) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -131,7 +131,7 @@ pub unsafe fn DCICloseProvider(hdc: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn DCICloseProvider ( hdc : super::super::Graphics::Gdi:: HDC ) -> ( ) ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCICloseProvider ( hdc : super::super::Graphics::Gdi:: HDC ) -> ( ) ); DCICloseProvider(hdc.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -141,7 +141,7 @@ pub unsafe fn DCICreateOffscreen(hdc: P0, dwcompression: u32, dwredmask: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn DCICreateOffscreen ( hdc : super::super::Graphics::Gdi:: HDC , dwcompression : u32 , dwredmask : u32 , dwgreenmask : u32 , dwbluemask : u32 , dwwidth : u32 , dwheight : u32 , dwdcicaps : u32 , dwbitcount : u32 , lplpsurface : *mut *mut DCIOFFSCREEN ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCICreateOffscreen ( hdc : super::super::Graphics::Gdi:: HDC , dwcompression : u32 , dwredmask : u32 , dwgreenmask : u32 , dwbluemask : u32 , dwwidth : u32 , dwheight : u32 , dwdcicaps : u32 , dwbitcount : u32 , lplpsurface : *mut *mut DCIOFFSCREEN ) -> i32 ); DCICreateOffscreen(hdc.into(), dwcompression, dwredmask, dwgreenmask, dwbluemask, dwwidth, dwheight, dwdcicaps, dwbitcount, lplpsurface) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -151,7 +151,7 @@ pub unsafe fn DCICreateOverlay(hdc: P0, lpoffscreensurf: *mut ::core::ffi::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn DCICreateOverlay ( hdc : super::super::Graphics::Gdi:: HDC , lpoffscreensurf : *mut ::core::ffi::c_void , lplpsurface : *mut *mut DCIOVERLAY ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCICreateOverlay ( hdc : super::super::Graphics::Gdi:: HDC , lpoffscreensurf : *mut ::core::ffi::c_void , lplpsurface : *mut *mut DCIOVERLAY ) -> i32 ); DCICreateOverlay(hdc.into(), lpoffscreensurf, lplpsurface) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -161,25 +161,25 @@ pub unsafe fn DCICreatePrimary(hdc: P0, lplpsurface: *mut *mut DCISURFACEINF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn DCICreatePrimary ( hdc : super::super::Graphics::Gdi:: HDC , lplpsurface : *mut *mut DCISURFACEINFO ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCICreatePrimary ( hdc : super::super::Graphics::Gdi:: HDC , lplpsurface : *mut *mut DCISURFACEINFO ) -> i32 ); DCICreatePrimary(hdc.into(), lplpsurface) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn DCIDestroy(pdci: *mut DCISURFACEINFO) { - ::windows::core::link ! ( "dciman32.dll""system" fn DCIDestroy ( pdci : *mut DCISURFACEINFO ) -> ( ) ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCIDestroy ( pdci : *mut DCISURFACEINFO ) -> ( ) ); DCIDestroy(pdci) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn DCIDraw(pdci: *mut DCIOFFSCREEN) -> i32 { - ::windows::core::link ! ( "dciman32.dll""system" fn DCIDraw ( pdci : *mut DCIOFFSCREEN ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCIDraw ( pdci : *mut DCIOFFSCREEN ) -> i32 ); DCIDraw(pdci) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn DCIEndAccess(pdci: *mut DCISURFACEINFO) { - ::windows::core::link ! ( "dciman32.dll""system" fn DCIEndAccess ( pdci : *mut DCISURFACEINFO ) -> ( ) ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCIEndAccess ( pdci : *mut DCISURFACEINFO ) -> ( ) ); DCIEndAccess(pdci) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -189,35 +189,35 @@ pub unsafe fn DCIEnum(hdc: P0, lprdst: *mut super::super::Foundation::RECT, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn DCIEnum ( hdc : super::super::Graphics::Gdi:: HDC , lprdst : *mut super::super::Foundation:: RECT , lprsrc : *mut super::super::Foundation:: RECT , lpfncallback : *mut ::core::ffi::c_void , lpcontext : *mut ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCIEnum ( hdc : super::super::Graphics::Gdi:: HDC , lprdst : *mut super::super::Foundation:: RECT , lprsrc : *mut super::super::Foundation:: RECT , lpfncallback : *mut ::core::ffi::c_void , lpcontext : *mut ::core::ffi::c_void ) -> i32 ); DCIEnum(hdc.into(), lprdst, lprsrc, lpfncallback, lpcontext) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn DCIOpenProvider() -> super::super::Graphics::Gdi::HDC { - ::windows::core::link ! ( "dciman32.dll""system" fn DCIOpenProvider ( ) -> super::super::Graphics::Gdi:: HDC ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCIOpenProvider ( ) -> super::super::Graphics::Gdi:: HDC ); DCIOpenProvider() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn DCISetClipList(pdci: *mut DCIOFFSCREEN, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32 { - ::windows::core::link ! ( "dciman32.dll""system" fn DCISetClipList ( pdci : *mut DCIOFFSCREEN , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCISetClipList ( pdci : *mut DCIOFFSCREEN , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> i32 ); DCISetClipList(pdci, prd) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DCISetDestination(pdci: *mut DCIOFFSCREEN, dst: *mut super::super::Foundation::RECT, src: *mut super::super::Foundation::RECT) -> i32 { - ::windows::core::link ! ( "dciman32.dll""system" fn DCISetDestination ( pdci : *mut DCIOFFSCREEN , dst : *mut super::super::Foundation:: RECT , src : *mut super::super::Foundation:: RECT ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCISetDestination ( pdci : *mut DCIOFFSCREEN , dst : *mut super::super::Foundation:: RECT , src : *mut super::super::Foundation:: RECT ) -> i32 ); DCISetDestination(pdci, dst, src) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn DCISetSrcDestClip(pdci: *mut DCIOFFSCREEN, srcrc: *mut super::super::Foundation::RECT, destrc: *mut super::super::Foundation::RECT, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32 { - ::windows::core::link ! ( "dciman32.dll""system" fn DCISetSrcDestClip ( pdci : *mut DCIOFFSCREEN , srcrc : *mut super::super::Foundation:: RECT , destrc : *mut super::super::Foundation:: RECT , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> i32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn DCISetSrcDestClip ( pdci : *mut DCIOFFSCREEN , srcrc : *mut super::super::Foundation:: RECT , destrc : *mut super::super::Foundation:: RECT , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> i32 ); DCISetSrcDestClip(pdci, srcrc, destrc, prd) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -226,7 +226,7 @@ pub unsafe fn DelNodeA(pszfileordirname: P0, dwflags: u32) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn DelNodeA ( pszfileordirname : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn DelNodeA ( pszfileordirname : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); DelNodeA(pszfileordirname.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -237,7 +237,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn DelNodeRunDLL32W ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PWSTR , nshow : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn DelNodeRunDLL32W ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PWSTR , nshow : i32 ) -> :: windows::core::HRESULT ); DelNodeRunDLL32W(hwnd.into(), hinstance.into(), ::core::mem::transmute(pszparms), nshow).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -246,7 +246,7 @@ pub unsafe fn DelNodeW(pszfileordirname: P0, dwflags: u32) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn DelNodeW ( pszfileordirname : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn DelNodeW ( pszfileordirname : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); DelNodeW(pszfileordirname.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -256,7 +256,7 @@ pub unsafe fn DnsHostnameToComputerNameA(hostname: P0, computername: ::windo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DnsHostnameToComputerNameA ( hostname : :: windows::core::PCSTR , computername : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DnsHostnameToComputerNameA ( hostname : :: windows::core::PCSTR , computername : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); DnsHostnameToComputerNameA(hostname.into().abi(), ::core::mem::transmute(computername), nsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -266,14 +266,14 @@ pub unsafe fn DnsHostnameToComputerNameW(hostname: P0, computername: ::windo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn DnsHostnameToComputerNameW ( hostname : :: windows::core::PCWSTR , computername : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DnsHostnameToComputerNameW ( hostname : :: windows::core::PCWSTR , computername : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); DnsHostnameToComputerNameW(hostname.into().abi(), ::core::mem::transmute(computername), nsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn DosDateTimeToFileTime ( wfatdate : u16 , wfattime : u16 , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn DosDateTimeToFileTime ( wfatdate : u16 , wfattime : u16 , lpfiletime : *mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ); DosDateTimeToFileTime(wfatdate, wfattime, lpfiletime) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -281,7 +281,7 @@ pub unsafe fn DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *m #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EnableProcessOptionalXStateFeatures(features: u64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn EnableProcessOptionalXStateFeatures ( features : u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn EnableProcessOptionalXStateFeatures ( features : u64 ) -> super::super::Foundation:: BOOL ); EnableProcessOptionalXStateFeatures(features) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -291,7 +291,7 @@ pub unsafe fn ExecuteCabA(hwnd: P0, pcab: *mut CABINFOA, preserved: *mut ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn ExecuteCabA ( hwnd : super::super::Foundation:: HWND , pcab : *mut CABINFOA , preserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn ExecuteCabA ( hwnd : super::super::Foundation:: HWND , pcab : *mut CABINFOA , preserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ExecuteCabA(hwnd.into(), pcab, preserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -301,7 +301,7 @@ pub unsafe fn ExecuteCabW(hwnd: P0, pcab: *mut CABINFOW, preserved: *mut ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn ExecuteCabW ( hwnd : super::super::Foundation:: HWND , pcab : *mut CABINFOW , preserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn ExecuteCabW ( hwnd : super::super::Foundation:: HWND , pcab : *mut CABINFOW , preserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ExecuteCabW(hwnd.into(), pcab, preserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -312,7 +312,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn ExtractFilesA ( pszcabname : :: windows::core::PCSTR , pszexpanddir : :: windows::core::PCSTR , dwflags : u32 , pszfilelist : :: windows::core::PCSTR , lpreserved : *mut ::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn ExtractFilesA ( pszcabname : :: windows::core::PCSTR , pszexpanddir : :: windows::core::PCSTR , dwflags : u32 , pszfilelist : :: windows::core::PCSTR , lpreserved : *mut ::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); ExtractFilesA(pszcabname.into().abi(), pszexpanddir.into().abi(), dwflags, pszfilelist.into().abi(), lpreserved, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -323,7 +323,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn ExtractFilesW ( pszcabname : :: windows::core::PCWSTR , pszexpanddir : :: windows::core::PCWSTR , dwflags : u32 , pszfilelist : :: windows::core::PCWSTR , lpreserved : *mut ::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn ExtractFilesW ( pszcabname : :: windows::core::PCWSTR , pszexpanddir : :: windows::core::PCWSTR , dwflags : u32 , pszfilelist : :: windows::core::PCWSTR , lpreserved : *mut ::core::ffi::c_void , dwreserved : u32 ) -> :: windows::core::HRESULT ); ExtractFilesW(pszcabname.into().abi(), pszexpanddir.into().abi(), dwflags, pszfilelist.into().abi(), lpreserved, dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -334,7 +334,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn FileSaveMarkNotExistA ( lpfilelist : :: windows::core::PCSTR , lpdir : :: windows::core::PCSTR , lpbasename : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveMarkNotExistA ( lpfilelist : :: windows::core::PCSTR , lpdir : :: windows::core::PCSTR , lpbasename : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); FileSaveMarkNotExistA(lpfilelist.into().abi(), lpdir.into().abi(), lpbasename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -345,7 +345,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn FileSaveMarkNotExistW ( lpfilelist : :: windows::core::PCWSTR , lpdir : :: windows::core::PCWSTR , lpbasename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveMarkNotExistW ( lpfilelist : :: windows::core::PCWSTR , lpdir : :: windows::core::PCWSTR , lpbasename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); FileSaveMarkNotExistW(lpfilelist.into().abi(), lpdir.into().abi(), lpbasename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -360,7 +360,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn FileSaveRestoreOnINFA ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCSTR , pszinf : :: windows::core::PCSTR , pszsection : :: windows::core::PCSTR , pszbackupdir : :: windows::core::PCSTR , pszbasebackupfile : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveRestoreOnINFA ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCSTR , pszinf : :: windows::core::PCSTR , pszsection : :: windows::core::PCSTR , pszbackupdir : :: windows::core::PCSTR , pszbasebackupfile : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); FileSaveRestoreOnINFA(hwnd.into(), psztitle.into().abi(), pszinf.into().abi(), pszsection.into().abi(), pszbackupdir.into().abi(), pszbasebackupfile.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -375,7 +375,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn FileSaveRestoreOnINFW ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pszinf : :: windows::core::PCWSTR , pszsection : :: windows::core::PCWSTR , pszbackupdir : :: windows::core::PCWSTR , pszbasebackupfile : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveRestoreOnINFW ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pszinf : :: windows::core::PCWSTR , pszsection : :: windows::core::PCWSTR , pszbackupdir : :: windows::core::PCWSTR , pszbasebackupfile : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); FileSaveRestoreOnINFW(hwnd.into(), psztitle.into().abi(), pszinf.into().abi(), pszsection.into().abi(), pszbackupdir.into().abi(), pszbasebackupfile.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -388,48 +388,48 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn FileSaveRestoreW ( hdlg : super::super::Foundation:: HWND , lpfilelist : :: windows::core::PCWSTR , lpdir : :: windows::core::PCWSTR , lpbasename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn FileSaveRestoreW ( hdlg : super::super::Foundation:: HWND , lpfilelist : :: windows::core::PCWSTR , lpdir : :: windows::core::PCWSTR , lpbasename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); FileSaveRestoreW(hdlg.into(), lpfilelist.into().abi(), lpdir.into().abi(), lpbasename.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpfatdate: *mut u16, lpfattime: *mut u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn FileTimeToDosDateTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lpfatdate : *mut u16 , lpfattime : *mut u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn FileTimeToDosDateTime ( lpfiletime : *const super::super::Foundation:: FILETIME , lpfatdate : *mut u16 , lpfattime : *mut u16 ) -> super::super::Foundation:: BOOL ); FileTimeToDosDateTime(lpfiletime, lpfatdate, lpfattime) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn GdiEntry13() -> u32 { - ::windows::core::link ! ( "api-ms-win-dx-d3dkmt-l1-1-0.dll""system" fn GdiEntry13 ( ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-dx-d3dkmt-l1-1-0.dll""system" fn GdiEntry13 ( ) -> u32 ); GdiEntry13() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetComputerNameA(lpbuffer: ::windows::core::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetComputerNameA ( lpbuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetComputerNameA ( lpbuffer : :: windows::core::PSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetComputerNameA(::core::mem::transmute(lpbuffer), nsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetComputerNameW(lpbuffer: ::windows::core::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetComputerNameW ( lpbuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetComputerNameW ( lpbuffer : :: windows::core::PWSTR , nsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetComputerNameW(::core::mem::transmute(lpbuffer), nsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentHwProfileA(lphwprofileinfo: *mut HW_PROFILE_INFOA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn GetCurrentHwProfileA ( lphwprofileinfo : *mut HW_PROFILE_INFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetCurrentHwProfileA ( lphwprofileinfo : *mut HW_PROFILE_INFOA ) -> super::super::Foundation:: BOOL ); GetCurrentHwProfileA(lphwprofileinfo) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentHwProfileW(lphwprofileinfo: *mut HW_PROFILE_INFOW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn GetCurrentHwProfileW ( lphwprofileinfo : *mut HW_PROFILE_INFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetCurrentHwProfileW ( lphwprofileinfo : *mut HW_PROFILE_INFOW ) -> super::super::Foundation:: BOOL ); GetCurrentHwProfileW(lphwprofileinfo) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -439,20 +439,20 @@ pub unsafe fn GetDCRegionData(hdc: P0, size: u32, prd: *mut super::super::Gr where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn GetDCRegionData ( hdc : super::super::Graphics::Gdi:: HDC , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn GetDCRegionData ( hdc : super::super::Graphics::Gdi:: HDC , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 ); GetDCRegionData(hdc.into(), size, prd) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE { - ::windows::core::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn GetFeatureEnabledState ( featureid : u32 , changetime : FEATURE_CHANGE_TIME ) -> FEATURE_ENABLED_STATE ); + ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn GetFeatureEnabledState ( featureid : u32 , changetime : FEATURE_CHANGE_TIME ) -> FEATURE_ENABLED_STATE ); GetFeatureEnabledState(featureid, changetime) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-featurestaging-l1-1-1.dll""system" fn GetFeatureVariant ( featureid : u32 , changetime : FEATURE_CHANGE_TIME , payloadid : *mut u32 , hasnotification : *mut super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-1.dll""system" fn GetFeatureVariant ( featureid : u32 , changetime : FEATURE_CHANGE_TIME , payloadid : *mut u32 , hasnotification : *mut super::super::Foundation:: BOOL ) -> u32 ); GetFeatureVariant(featureid, changetime, payloadid, hasnotification) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -462,7 +462,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 ) -> u32 ); GetFirmwareEnvironmentVariableA(lpname.into().abi(), lpguid.into().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), nsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -472,7 +472,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableExA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 , pdwattribubutes : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableExA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 , pdwattribubutes : *mut u32 ) -> u32 ); GetFirmwareEnvironmentVariableExA(lpname.into().abi(), lpguid.into().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), nsize, ::core::mem::transmute(pdwattribubutes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -482,7 +482,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableExW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 , pdwattribubutes : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableExW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 , pdwattribubutes : *mut u32 ) -> u32 ); GetFirmwareEnvironmentVariableExW(lpname.into().abi(), lpguid.into().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), nsize, ::core::mem::transmute(pdwattribubutes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -492,7 +492,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetFirmwareEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pbuffer : *mut ::core::ffi::c_void , nsize : u32 ) -> u32 ); GetFirmwareEnvironmentVariableW(lpname.into().abi(), lpguid.into().abi(), ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), nsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -503,7 +503,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileIntA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , ndefault : i32 , lpfilename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileIntA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , ndefault : i32 , lpfilename : :: windows::core::PCSTR ) -> u32 ); GetPrivateProfileIntA(lpappname.into().abi(), lpkeyname.into().abi(), ndefault, lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -514,7 +514,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileIntW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , ndefault : i32 , lpfilename : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileIntW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , ndefault : i32 , lpfilename : :: windows::core::PCWSTR ) -> i32 ); GetPrivateProfileIntW(lpappname.into().abi(), lpkeyname.into().abi(), ndefault, lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -524,7 +524,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionA ( lpappname : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionA ( lpappname : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 ); GetPrivateProfileSectionA(lpappname.into().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -533,7 +533,7 @@ pub unsafe fn GetPrivateProfileSectionNamesA(lpszreturnbuffer: ::core::optio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionNamesA ( lpszreturnbuffer : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionNamesA ( lpszreturnbuffer : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 ); GetPrivateProfileSectionNamesA(::core::mem::transmute(lpszreturnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszreturnbuffer.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -542,7 +542,7 @@ pub unsafe fn GetPrivateProfileSectionNamesW(lpszreturnbuffer: ::core::optio where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionNamesW ( lpszreturnbuffer : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionNamesW ( lpszreturnbuffer : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 ); GetPrivateProfileSectionNamesW(::core::mem::transmute(lpszreturnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszreturnbuffer.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -552,7 +552,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 ); GetPrivateProfileSectionW(lpappname.into().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -564,7 +564,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpdefault : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpdefault : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 , lpfilename : :: windows::core::PCSTR ) -> u32 ); GetPrivateProfileStringA(lpappname.into().abi(), lpkeyname.into().abi(), lpdefault.into().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -576,7 +576,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpdefault : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpdefault : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 , lpfilename : :: windows::core::PCWSTR ) -> u32 ); GetPrivateProfileStringW(lpappname.into().abi(), lpkeyname.into().abi(), lpdefault.into().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -588,7 +588,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileStructA ( lpszsection : :: windows::core::PCSTR , lpszkey : :: windows::core::PCSTR , lpstruct : *mut ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileStructA ( lpszsection : :: windows::core::PCSTR , lpszkey : :: windows::core::PCSTR , lpstruct : *mut ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); GetPrivateProfileStructA(lpszsection.into().abi(), lpszkey.into().abi(), ::core::mem::transmute(lpstruct.unwrap_or(::std::ptr::null_mut())), usizestruct, szfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -600,7 +600,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetPrivateProfileStructW ( lpszsection : :: windows::core::PCWSTR , lpszkey : :: windows::core::PCWSTR , lpstruct : *mut ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetPrivateProfileStructW ( lpszsection : :: windows::core::PCWSTR , lpszkey : :: windows::core::PCWSTR , lpstruct : *mut ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); GetPrivateProfileStructW(lpszsection.into().abi(), lpszkey.into().abi(), ::core::mem::transmute(lpstruct.unwrap_or(::std::ptr::null_mut())), usizestruct, szfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -610,7 +610,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProfileIntA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , ndefault : i32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileIntA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , ndefault : i32 ) -> u32 ); GetProfileIntA(lpappname.into().abi(), lpkeyname.into().abi(), ndefault) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -620,7 +620,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProfileIntW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , ndefault : i32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileIntW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , ndefault : i32 ) -> u32 ); GetProfileIntW(lpappname.into().abi(), lpkeyname.into().abi(), ndefault) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -629,7 +629,7 @@ pub unsafe fn GetProfileSectionA(lpappname: P0, lpreturnedstring: ::core::op where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProfileSectionA ( lpappname : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileSectionA ( lpappname : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 ) -> u32 ); GetProfileSectionA(lpappname.into().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -638,7 +638,7 @@ pub unsafe fn GetProfileSectionW(lpappname: P0, lpreturnedstring: ::core::op where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); GetProfileSectionW(lpappname.into().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -649,7 +649,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpdefault : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpdefault : :: windows::core::PCSTR , lpreturnedstring : :: windows::core::PSTR , nsize : u32 ) -> u32 ); GetProfileStringA(lpappname.into().abi(), lpkeyname.into().abi(), lpdefault.into().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -660,35 +660,35 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn GetProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpdefault : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpdefault : :: windows::core::PCWSTR , lpreturnedstring : :: windows::core::PWSTR , nsize : u32 ) -> u32 ); GetProfileStringW(lpappname.into().abi(), lpkeyname.into().abi(), lpdefault.into().abi(), ::core::mem::transmute(lpreturnedstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpreturnedstring.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSystemRegistryQuota(pdwquotaallowed: ::core::option::Option<*mut u32>, pdwquotaused: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GetSystemRegistryQuota ( pdwquotaallowed : *mut u32 , pdwquotaused : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetSystemRegistryQuota ( pdwquotaallowed : *mut u32 , pdwquotaused : *mut u32 ) -> super::super::Foundation:: BOOL ); GetSystemRegistryQuota(::core::mem::transmute(pdwquotaallowed.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwquotaused.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] #[inline] pub unsafe fn GetThreadEnabledXStateFeatures() -> u64 { - ::windows::core::link ! ( "kernel32.dll""system" fn GetThreadEnabledXStateFeatures ( ) -> u64 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GetThreadEnabledXStateFeatures ( ) -> u64 ); GetThreadEnabledXStateFeatures() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUserNameA(lpbuffer: ::windows::core::PSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn GetUserNameA ( lpbuffer : :: windows::core::PSTR , pcbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetUserNameA ( lpbuffer : :: windows::core::PSTR , pcbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUserNameA(::core::mem::transmute(lpbuffer), pcbbuffer) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetUserNameW(lpbuffer: ::windows::core::PWSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advapi32.dll""system" fn GetUserNameW ( lpbuffer : :: windows::core::PWSTR , pcbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn GetUserNameW ( lpbuffer : :: windows::core::PWSTR , pcbbuffer : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUserNameW(::core::mem::transmute(lpbuffer), pcbbuffer) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -699,7 +699,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn GetVersionFromFileA ( lpszfilename : :: windows::core::PCSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn GetVersionFromFileA ( lpszfilename : :: windows::core::PCSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); GetVersionFromFileA(lpszfilename.into().abi(), pdwmsver, pdwlsver, bversion.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -710,7 +710,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn GetVersionFromFileExA ( lpszfilename : :: windows::core::PCSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn GetVersionFromFileExA ( lpszfilename : :: windows::core::PCSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); GetVersionFromFileExA(lpszfilename.into().abi(), pdwmsver, pdwlsver, bversion.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -721,7 +721,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn GetVersionFromFileExW ( lpszfilename : :: windows::core::PCWSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn GetVersionFromFileExW ( lpszfilename : :: windows::core::PCWSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); GetVersionFromFileExW(lpszfilename.into().abi(), pdwmsver, pdwlsver, bversion.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -732,7 +732,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn GetVersionFromFileW ( lpszfilename : :: windows::core::PCWSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn GetVersionFromFileW ( lpszfilename : :: windows::core::PCWSTR , pdwmsver : *mut u32 , pdwlsver : *mut u32 , bversion : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); GetVersionFromFileW(lpszfilename.into().abi(), pdwmsver, pdwlsver, bversion.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -742,38 +742,38 @@ pub unsafe fn GetWindowRegionData(hwnd: P0, size: u32, prd: *mut super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn GetWindowRegionData ( hwnd : super::super::Foundation:: HWND , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn GetWindowRegionData ( hwnd : super::super::Foundation:: HWND , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 ); GetWindowRegionData(hwnd.into(), size, prd) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn GlobalCompact(dwminfree: u32) -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalCompact ( dwminfree : u32 ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalCompact ( dwminfree : u32 ) -> usize ); GlobalCompact(dwminfree) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn GlobalFix(hmem: isize) { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalFix ( hmem : isize ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalFix ( hmem : isize ) -> ( ) ); GlobalFix(hmem) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GlobalUnWire(hmem: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalUnWire ( hmem : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalUnWire ( hmem : isize ) -> super::super::Foundation:: BOOL ); GlobalUnWire(hmem) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn GlobalUnfix(hmem: isize) { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalUnfix ( hmem : isize ) -> ( ) ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalUnfix ( hmem : isize ) -> ( ) ); GlobalUnfix(hmem) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn GlobalWire(hmem: isize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "kernel32.dll""system" fn GlobalWire ( hmem : isize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "kernel32.dll""system" fn GlobalWire ( hmem : isize ) -> *mut ::core::ffi::c_void ); GlobalWire(hmem) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -783,7 +783,7 @@ pub unsafe fn IMPGetIMEA(param0: P0, param1: *mut IMEPROA) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IMPGetIMEA ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IMPGetIMEA ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROA ) -> super::super::Foundation:: BOOL ); IMPGetIMEA(param0.into(), param1) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -793,21 +793,21 @@ pub unsafe fn IMPGetIMEW(param0: P0, param1: *mut IMEPROW) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IMPGetIMEW ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IMPGetIMEW ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROW ) -> super::super::Foundation:: BOOL ); IMPGetIMEW(param0.into(), param1) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IMPQueryIMEA(param0: *mut IMEPROA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IMPQueryIMEA ( param0 : *mut IMEPROA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IMPQueryIMEA ( param0 : *mut IMEPROA ) -> super::super::Foundation:: BOOL ); IMPQueryIMEA(param0) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IMPQueryIMEW(param0: *mut IMEPROW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IMPQueryIMEW ( param0 : *mut IMEPROW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IMPQueryIMEW ( param0 : *mut IMEPROW ) -> super::super::Foundation:: BOOL ); IMPQueryIMEW(param0) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -817,7 +817,7 @@ pub unsafe fn IMPSetIMEA(param0: P0, param1: *mut IMEPROA) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IMPSetIMEA ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IMPSetIMEA ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROA ) -> super::super::Foundation:: BOOL ); IMPSetIMEA(param0.into(), param1) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -827,7 +827,7 @@ pub unsafe fn IMPSetIMEW(param0: P0, param1: *mut IMEPROW) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IMPSetIMEW ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IMPSetIMEW ( param0 : super::super::Foundation:: HWND , param1 : *mut IMEPROW ) -> super::super::Foundation:: BOOL ); IMPSetIMEW(param0.into(), param1) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -837,35 +837,35 @@ pub unsafe fn IsApiSetImplemented(contract: P0) -> super::super::Foundation: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-apiquery-l2-1-0.dll""system" fn IsApiSetImplemented ( contract : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-apiquery-l2-1-0.dll""system" fn IsApiSetImplemented ( contract : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); IsApiSetImplemented(contract.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsBadHugeReadPtr(lp: ::core::option::Option<*const ::core::ffi::c_void>, ucb: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsBadHugeReadPtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadHugeReadPtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL ); IsBadHugeReadPtr(::core::mem::transmute(lp.unwrap_or(::std::ptr::null())), ucb) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsBadHugeWritePtr(lp: ::core::option::Option<*const ::core::ffi::c_void>, ucb: usize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsBadHugeWritePtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsBadHugeWritePtr ( lp : *const ::core::ffi::c_void , ucb : usize ) -> super::super::Foundation:: BOOL ); IsBadHugeWritePtr(::core::mem::transmute(lp.unwrap_or(::std::ptr::null())), ucb) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsNTAdmin(dwreserved: u32, lpdwreserved: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advpack.dll""system" fn IsNTAdmin ( dwreserved : u32 , lpdwreserved : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advpack.dll""system" fn IsNTAdmin ( dwreserved : u32 , lpdwreserved : *mut u32 ) -> super::super::Foundation:: BOOL ); IsNTAdmin(dwreserved, lpdwreserved) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsNativeVhdBoot(nativevhdboot: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn IsNativeVhdBoot ( nativevhdboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn IsNativeVhdBoot ( nativevhdboot : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); IsNativeVhdBoot(nativevhdboot) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -875,7 +875,7 @@ pub unsafe fn IsTokenUntrusted(tokenhandle: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "advapi32.dll""system" fn IsTokenUntrusted ( tokenhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advapi32.dll""system" fn IsTokenUntrusted ( tokenhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); IsTokenUntrusted(tokenhandle.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -887,7 +887,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn LaunchINFSectionExW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn LaunchINFSectionExW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT ); LaunchINFSectionExW(hwnd.into(), hinstance.into(), pszparms.into().abi(), nshow).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -898,38 +898,38 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn LaunchINFSectionW ( hwndowner : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparams : :: windows::core::PWSTR , nshow : i32 ) -> i32 ); + ::windows::imp::link ! ( "advpack.dll""system" fn LaunchINFSectionW ( hwndowner : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparams : :: windows::core::PWSTR , nshow : i32 ) -> i32 ); LaunchINFSectionW(hwndowner.into(), hinstance.into(), ::core::mem::transmute(pszparams), nshow) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn LocalCompact(uminfree: u32) -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalCompact ( uminfree : u32 ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalCompact ( uminfree : u32 ) -> usize ); LocalCompact(uminfree) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn LocalShrink(hmem: isize, cbnewsize: u32) -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn LocalShrink ( hmem : isize , cbnewsize : u32 ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn LocalShrink ( hmem : isize , cbnewsize : u32 ) -> usize ); LocalShrink(hmem, cbnewsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn MulDiv(nnumber: i32, nnumerator: i32, ndenominator: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn MulDiv ( nnumber : i32 , nnumerator : i32 , ndenominator : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn MulDiv ( nnumber : i32 , nnumerator : i32 , ndenominator : i32 ) -> i32 ); MulDiv(nnumber, nnumerator, ndenominator) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn NeedReboot(dwrebootcheck: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "advpack.dll""system" fn NeedReboot ( dwrebootcheck : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "advpack.dll""system" fn NeedReboot ( dwrebootcheck : u32 ) -> super::super::Foundation:: BOOL ); NeedReboot(dwrebootcheck) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn NeedRebootInit() -> u32 { - ::windows::core::link ! ( "advpack.dll""system" fn NeedRebootInit ( ) -> u32 ); + ::windows::imp::link ! ( "advpack.dll""system" fn NeedRebootInit ( ) -> u32 ); NeedRebootInit() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -939,7 +939,7 @@ pub unsafe fn NtClose(handle: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtClose ( handle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtClose ( handle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); NtClose(handle.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -950,7 +950,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtDeviceIoControlFile ( filehandle : super::super::Foundation:: HANDLE , event : super::super::Foundation:: HANDLE , apcroutine : PIO_APC_ROUTINE , apccontext : *mut ::core::ffi::c_void , iostatusblock : *mut IO_STATUS_BLOCK , iocontrolcode : u32 , inputbuffer : *mut ::core::ffi::c_void , inputbufferlength : u32 , outputbuffer : *mut ::core::ffi::c_void , outputbufferlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtDeviceIoControlFile ( filehandle : super::super::Foundation:: HANDLE , event : super::super::Foundation:: HANDLE , apcroutine : PIO_APC_ROUTINE , apccontext : *mut ::core::ffi::c_void , iostatusblock : *mut IO_STATUS_BLOCK , iocontrolcode : u32 , inputbuffer : *mut ::core::ffi::c_void , inputbufferlength : u32 , outputbuffer : *mut ::core::ffi::c_void , outputbufferlength : u32 ) -> super::super::Foundation:: NTSTATUS ); NtDeviceIoControlFile(filehandle.into(), event.into(), apcroutine, apccontext, iostatusblock, iocontrolcode, inputbuffer, inputbufferlength, outputbuffer, outputbufferlength).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -963,14 +963,14 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtNotifyChangeMultipleKeys ( masterkeyhandle : super::super::Foundation:: HANDLE , count : u32 , subordinateobjects : *const OBJECT_ATTRIBUTES , event : super::super::Foundation:: HANDLE , apcroutine : PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , iostatusblock : *mut IO_STATUS_BLOCK , completionfilter : u32 , watchtree : super::super::Foundation:: BOOLEAN , buffer : *mut ::core::ffi::c_void , buffersize : u32 , asynchronous : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtNotifyChangeMultipleKeys ( masterkeyhandle : super::super::Foundation:: HANDLE , count : u32 , subordinateobjects : *const OBJECT_ATTRIBUTES , event : super::super::Foundation:: HANDLE , apcroutine : PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , iostatusblock : *mut IO_STATUS_BLOCK , completionfilter : u32 , watchtree : super::super::Foundation:: BOOLEAN , buffer : *mut ::core::ffi::c_void , buffersize : u32 , asynchronous : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS ); NtNotifyChangeMultipleKeys(masterkeyhandle.into(), subordinateobjects.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(subordinateobjects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), event.into(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, completionfilter, watchtree.into(), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, asynchronous.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn NtOpenFile(filehandle: *mut super::super::Foundation::HANDLE, desiredaccess: u32, objectattributes: *mut OBJECT_ATTRIBUTES, iostatusblock: *mut IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn NtOpenFile ( filehandle : *mut super::super::Foundation:: HANDLE , desiredaccess : u32 , objectattributes : *mut OBJECT_ATTRIBUTES , iostatusblock : *mut IO_STATUS_BLOCK , shareaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtOpenFile ( filehandle : *mut super::super::Foundation:: HANDLE , desiredaccess : u32 , objectattributes : *mut OBJECT_ATTRIBUTES , iostatusblock : *mut IO_STATUS_BLOCK , shareaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: NTSTATUS ); NtOpenFile(filehandle, desiredaccess, objectattributes, iostatusblock, shareaccess, openoptions).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -980,7 +980,7 @@ pub unsafe fn NtQueryMultipleValueKey(keyhandle: P0, valueentries: &mut [KEY where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtQueryMultipleValueKey ( keyhandle : super::super::Foundation:: HANDLE , valueentries : *mut KEY_VALUE_ENTRY , entrycount : u32 , valuebuffer : *mut ::core::ffi::c_void , bufferlength : *mut u32 , requiredbufferlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtQueryMultipleValueKey ( keyhandle : super::super::Foundation:: HANDLE , valueentries : *mut KEY_VALUE_ENTRY , entrycount : u32 , valuebuffer : *mut ::core::ffi::c_void , bufferlength : *mut u32 , requiredbufferlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); NtQueryMultipleValueKey(keyhandle.into(), ::core::mem::transmute(valueentries.as_ptr()), valueentries.len() as _, valuebuffer, bufferlength, ::core::mem::transmute(requiredbufferlength.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -990,28 +990,28 @@ pub unsafe fn NtQueryObject(handle: P0, objectinformationclass: OBJECT_INFOR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtQueryObject ( handle : super::super::Foundation:: HANDLE , objectinformationclass : OBJECT_INFORMATION_CLASS , objectinformation : *mut ::core::ffi::c_void , objectinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtQueryObject ( handle : super::super::Foundation:: HANDLE , objectinformationclass : OBJECT_INFORMATION_CLASS , objectinformation : *mut ::core::ffi::c_void , objectinformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); NtQueryObject(handle.into(), objectinformationclass, ::core::mem::transmute(objectinformation.unwrap_or(::std::ptr::null_mut())), objectinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn NtQuerySystemInformation(systeminformationclass: SYSTEM_INFORMATION_CLASS, systeminformation: *mut ::core::ffi::c_void, systeminformationlength: u32, returnlength: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn NtQuerySystemInformation ( systeminformationclass : SYSTEM_INFORMATION_CLASS , systeminformation : *mut ::core::ffi::c_void , systeminformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtQuerySystemInformation ( systeminformationclass : SYSTEM_INFORMATION_CLASS , systeminformation : *mut ::core::ffi::c_void , systeminformationlength : u32 , returnlength : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); NtQuerySystemInformation(systeminformationclass, systeminformation, systeminformationlength, returnlength).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn NtQuerySystemTime(systemtime: *mut i64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn NtQuerySystemTime ( systemtime : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtQuerySystemTime ( systemtime : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); NtQuerySystemTime(systemtime).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn NtQueryTimerResolution(maximumtime: *mut u32, minimumtime: *mut u32, currenttime: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn NtQueryTimerResolution ( maximumtime : *mut u32 , minimumtime : *mut u32 , currenttime : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtQueryTimerResolution ( maximumtime : *mut u32 , minimumtime : *mut u32 , currenttime : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); NtQueryTimerResolution(maximumtime, minimumtime, currenttime).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1021,7 +1021,7 @@ pub unsafe fn NtRenameKey(keyhandle: P0, newname: *const super::super::Found where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtRenameKey ( keyhandle : super::super::Foundation:: HANDLE , newname : *const super::super::Foundation:: UNICODE_STRING ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtRenameKey ( keyhandle : super::super::Foundation:: HANDLE , newname : *const super::super::Foundation:: UNICODE_STRING ) -> super::super::Foundation:: NTSTATUS ); NtRenameKey(keyhandle.into(), newname).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1031,7 +1031,7 @@ pub unsafe fn NtSetInformationKey(keyhandle: P0, keysetinformationclass: KEY where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtSetInformationKey ( keyhandle : super::super::Foundation:: HANDLE , keysetinformationclass : KEY_SET_INFORMATION_CLASS , keysetinformation : *const ::core::ffi::c_void , keysetinformationlength : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtSetInformationKey ( keyhandle : super::super::Foundation:: HANDLE , keysetinformationclass : KEY_SET_INFORMATION_CLASS , keysetinformation : *const ::core::ffi::c_void , keysetinformationlength : u32 ) -> super::super::Foundation:: NTSTATUS ); NtSetInformationKey(keyhandle.into(), keysetinformationclass, keysetinformation, keysetinformationlength).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1042,7 +1042,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn NtWaitForSingleObject ( handle : super::super::Foundation:: HANDLE , alertable : super::super::Foundation:: BOOLEAN , timeout : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn NtWaitForSingleObject ( handle : super::super::Foundation:: HANDLE , alertable : super::super::Foundation:: BOOLEAN , timeout : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); NtWaitForSingleObject(handle.into(), alertable.into(), timeout).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1052,7 +1052,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn OpenINFEngineA ( pszinffilename : :: windows::core::PCSTR , pszinstallsection : :: windows::core::PCSTR , dwflags : u32 , phinf : *mut *mut ::core::ffi::c_void , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn OpenINFEngineA ( pszinffilename : :: windows::core::PCSTR , pszinstallsection : :: windows::core::PCSTR , dwflags : u32 , phinf : *mut *mut ::core::ffi::c_void , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OpenINFEngineA(pszinffilename.into().abi(), pszinstallsection.into().abi(), dwflags, phinf, pvreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1062,7 +1062,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn OpenINFEngineW ( pszinffilename : :: windows::core::PCWSTR , pszinstallsection : :: windows::core::PCWSTR , dwflags : u32 , phinf : *mut *mut ::core::ffi::c_void , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn OpenINFEngineW ( pszinffilename : :: windows::core::PCWSTR , pszinstallsection : :: windows::core::PCWSTR , dwflags : u32 , phinf : *mut *mut ::core::ffi::c_void , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); OpenINFEngineW(pszinffilename.into().abi(), pszinstallsection.into().abi(), dwflags, phinf, pvreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1073,7 +1073,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenMutexA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenMutexA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); OpenMutexA(dwdesiredaccess, binherithandle.into(), lpname.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1084,7 +1084,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenSemaphoreA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenSemaphoreA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); OpenSemaphoreA(dwdesiredaccess, binherithandle.into(), lpname.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1095,13 +1095,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn OpenWaitableTimerA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "kernel32.dll""system" fn OpenWaitableTimerA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lptimername : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); OpenWaitableTimerA(dwdesiredaccess, binherithandle.into(), lptimername.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn QueryAuxiliaryCounterFrequency() -> ::windows::core::Result { - ::windows::core::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn QueryAuxiliaryCounterFrequency ( lpauxiliarycounterfrequency : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-2.dll""system" fn QueryAuxiliaryCounterFrequency ( lpauxiliarycounterfrequency : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); QueryAuxiliaryCounterFrequency(&mut result__).from_abi(result__) } @@ -1109,20 +1109,20 @@ pub unsafe fn QueryAuxiliaryCounterFrequency() -> ::windows::core::Result { #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryIdleProcessorCycleTime(bufferlength: *mut u32, processoridlecycletime: ::core::option::Option<*mut u64>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryIdleProcessorCycleTime ( bufferlength : *mut u32 , processoridlecycletime : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryIdleProcessorCycleTime ( bufferlength : *mut u32 , processoridlecycletime : *mut u64 ) -> super::super::Foundation:: BOOL ); QueryIdleProcessorCycleTime(bufferlength, ::core::mem::transmute(processoridlecycletime.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryIdleProcessorCycleTimeEx(group: u16, bufferlength: *mut u32, processoridlecycletime: ::core::option::Option<*mut u64>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryIdleProcessorCycleTimeEx ( group : u16 , bufferlength : *mut u32 , processoridlecycletime : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryIdleProcessorCycleTimeEx ( group : u16 , bufferlength : *mut u32 , processoridlecycletime : *mut u64 ) -> super::super::Foundation:: BOOL ); QueryIdleProcessorCycleTimeEx(group, bufferlength, ::core::mem::transmute(processoridlecycletime.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn QueryInterruptTime() -> u64 { - ::windows::core::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryInterruptTime ( lpinterrupttime : *mut u64 ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryInterruptTime ( lpinterrupttime : *mut u64 ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); QueryInterruptTime(&mut result__); ::std::mem::transmute(result__) @@ -1130,7 +1130,7 @@ pub unsafe fn QueryInterruptTime() -> u64 { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn QueryInterruptTimePrecise() -> u64 { - ::windows::core::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryInterruptTimePrecise ( lpinterrupttimeprecise : *mut u64 ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryInterruptTimePrecise ( lpinterrupttimeprecise : *mut u64 ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); QueryInterruptTimePrecise(&mut result__); ::std::mem::transmute(result__) @@ -1142,7 +1142,7 @@ pub unsafe fn QueryProcessCycleTime(processhandle: P0, cycletime: *mut u64) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryProcessCycleTime ( processhandle : super::super::Foundation:: HANDLE , cycletime : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryProcessCycleTime ( processhandle : super::super::Foundation:: HANDLE , cycletime : *mut u64 ) -> super::super::Foundation:: BOOL ); QueryProcessCycleTime(processhandle.into(), cycletime) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1152,20 +1152,20 @@ pub unsafe fn QueryThreadCycleTime(threadhandle: P0, cycletime: *mut u64) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryThreadCycleTime ( threadhandle : super::super::Foundation:: HANDLE , cycletime : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryThreadCycleTime ( threadhandle : super::super::Foundation:: HANDLE , cycletime : *mut u64 ) -> super::super::Foundation:: BOOL ); QueryThreadCycleTime(threadhandle.into(), cycletime) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn QueryUnbiasedInterruptTime(unbiasedtime: *mut u64) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "kernel32.dll""system" fn QueryUnbiasedInterruptTime ( unbiasedtime : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn QueryUnbiasedInterruptTime ( unbiasedtime : *mut u64 ) -> super::super::Foundation:: BOOL ); QueryUnbiasedInterruptTime(unbiasedtime) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn QueryUnbiasedInterruptTimePrecise() -> u64 { - ::windows::core::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryUnbiasedInterruptTimePrecise ( lpunbiasedinterrupttimeprecise : *mut u64 ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-realtime-l1-1-1.dll""system" fn QueryUnbiasedInterruptTimePrecise ( lpunbiasedinterrupttimeprecise : *mut u64 ) -> ( ) ); let mut result__ = ::windows::core::zeroed::(); QueryUnbiasedInterruptTimePrecise(&mut result__); ::std::mem::transmute(result__) @@ -1173,7 +1173,7 @@ pub unsafe fn QueryUnbiasedInterruptTimePrecise() -> u64 { #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn RaiseCustomSystemEventTrigger(customsystemeventtriggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-backgroundtask-l1-1-0.dll""system" fn RaiseCustomSystemEventTrigger ( customsystemeventtriggerconfig : *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-backgroundtask-l1-1-0.dll""system" fn RaiseCustomSystemEventTrigger ( customsystemeventtriggerconfig : *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG ) -> u32 ); RaiseCustomSystemEventTrigger(customsystemeventtriggerconfig) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1185,7 +1185,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn RebootCheckOnInstallA ( hwnd : super::super::Foundation:: HWND , pszinf : :: windows::core::PCSTR , pszsec : :: windows::core::PCSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RebootCheckOnInstallA ( hwnd : super::super::Foundation:: HWND , pszinf : :: windows::core::PCSTR , pszsec : :: windows::core::PCSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); RebootCheckOnInstallA(hwnd.into(), pszinf.into().abi(), pszsec.into().abi(), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1197,13 +1197,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn RebootCheckOnInstallW ( hwnd : super::super::Foundation:: HWND , pszinf : :: windows::core::PCWSTR , pszsec : :: windows::core::PCWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RebootCheckOnInstallW ( hwnd : super::super::Foundation:: HWND , pszinf : :: windows::core::PCWSTR , pszsec : :: windows::core::PCWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); RebootCheckOnInstallW(hwnd.into(), pszinf.into().abi(), pszsec.into().abi(), dwreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn RecordFeatureError(featureid: u32, error: *const FEATURE_ERROR) { - ::windows::core::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn RecordFeatureError ( featureid : u32 , error : *const FEATURE_ERROR ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn RecordFeatureError ( featureid : u32 , error : *const FEATURE_ERROR ) -> ( ) ); RecordFeatureError(featureid, error) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1212,7 +1212,7 @@ pub unsafe fn RecordFeatureUsage(featureid: u32, kind: u32, addend: u32, ori where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn RecordFeatureUsage ( featureid : u32 , kind : u32 , addend : u32 , originname : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn RecordFeatureUsage ( featureid : u32 , kind : u32 , addend : u32 , originname : :: windows::core::PCSTR ) -> ( ) ); RecordFeatureUsage(featureid, kind, addend, originname.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1223,7 +1223,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn RegInstallA ( hmod : super::super::Foundation:: HINSTANCE , pszsection : :: windows::core::PCSTR , psttable : *const STRTABLEA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RegInstallA ( hmod : super::super::Foundation:: HINSTANCE , pszsection : :: windows::core::PCSTR , psttable : *const STRTABLEA ) -> :: windows::core::HRESULT ); RegInstallA(hmod.into(), pszsection.into().abi(), psttable).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1234,7 +1234,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn RegInstallW ( hmod : super::super::Foundation:: HINSTANCE , pszsection : :: windows::core::PCWSTR , psttable : *const STRTABLEW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RegInstallW ( hmod : super::super::Foundation:: HINSTANCE , pszsection : :: windows::core::PCWSTR , psttable : *const STRTABLEW ) -> :: windows::core::HRESULT ); RegInstallW(hmod.into(), pszsection.into().abi(), psttable).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -1246,7 +1246,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn RegRestoreAllA ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCSTR , hkbckupkey : super::Registry:: HKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RegRestoreAllA ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCSTR , hkbckupkey : super::Registry:: HKEY ) -> :: windows::core::HRESULT ); RegRestoreAllA(hwnd.into(), psztitlestring.into().abi(), hkbckupkey.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -1258,7 +1258,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn RegRestoreAllW ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCWSTR , hkbckupkey : super::Registry:: HKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RegRestoreAllW ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCWSTR , hkbckupkey : super::Registry:: HKEY ) -> :: windows::core::HRESULT ); RegRestoreAllW(hwnd.into(), psztitlestring.into().abi(), hkbckupkey.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -1273,7 +1273,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn RegSaveRestoreA ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCSTR , hkbckupkey : super::Registry:: HKEY , pcszrootkey : :: windows::core::PCSTR , pcszsubkey : :: windows::core::PCSTR , pcszvaluename : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RegSaveRestoreA ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCSTR , hkbckupkey : super::Registry:: HKEY , pcszrootkey : :: windows::core::PCSTR , pcszsubkey : :: windows::core::PCSTR , pcszvaluename : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); RegSaveRestoreA(hwnd.into(), psztitlestring.into().abi(), hkbckupkey.into(), pcszrootkey.into().abi(), pcszsubkey.into().abi(), pcszvaluename.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -1288,7 +1288,7 @@ where P4: ::std::convert::Into, P5: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn RegSaveRestoreOnINFA ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCSTR , pszinf : :: windows::core::PCSTR , pszsection : :: windows::core::PCSTR , hhklmbackkey : super::Registry:: HKEY , hhkcubackkey : super::Registry:: HKEY , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RegSaveRestoreOnINFA ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCSTR , pszinf : :: windows::core::PCSTR , pszsection : :: windows::core::PCSTR , hhklmbackkey : super::Registry:: HKEY , hhkcubackkey : super::Registry:: HKEY , dwflags : u32 ) -> :: windows::core::HRESULT ); RegSaveRestoreOnINFA(hwnd.into(), psztitle.into().abi(), pszinf.into().abi(), pszsection.into().abi(), hhklmbackkey.into(), hhkcubackkey.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -1303,7 +1303,7 @@ where P4: ::std::convert::Into, P5: ::std::convert::Into, { - ::windows::core::link ! ( "advpack.dll""system" fn RegSaveRestoreOnINFW ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pszinf : :: windows::core::PCWSTR , pszsection : :: windows::core::PCWSTR , hhklmbackkey : super::Registry:: HKEY , hhkcubackkey : super::Registry:: HKEY , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RegSaveRestoreOnINFW ( hwnd : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pszinf : :: windows::core::PCWSTR , pszsection : :: windows::core::PCWSTR , hhklmbackkey : super::Registry:: HKEY , hhkcubackkey : super::Registry:: HKEY , dwflags : u32 ) -> :: windows::core::HRESULT ); RegSaveRestoreOnINFW(hwnd.into(), psztitle.into().abi(), pszinf.into().abi(), pszsection.into().abi(), hhklmbackkey.into(), hhkcubackkey.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -1318,7 +1318,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn RegSaveRestoreW ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCWSTR , hkbckupkey : super::Registry:: HKEY , pcszrootkey : :: windows::core::PCWSTR , pcszsubkey : :: windows::core::PCWSTR , pcszvaluename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RegSaveRestoreW ( hwnd : super::super::Foundation:: HWND , psztitlestring : :: windows::core::PCWSTR , hkbckupkey : super::Registry:: HKEY , pcszrootkey : :: windows::core::PCWSTR , pcszsubkey : :: windows::core::PCWSTR , pcszvaluename : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); RegSaveRestoreW(hwnd.into(), psztitlestring.into().abi(), hkbckupkey.into(), pcszrootkey.into().abi(), pcszsubkey.into().abi(), pcszvaluename.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1329,7 +1329,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn ReplacePartitionUnit ( targetpartition : :: windows::core::PCWSTR , sparepartition : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn ReplacePartitionUnit ( targetpartition : :: windows::core::PCWSTR , sparepartition : :: windows::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); ReplacePartitionUnit(targetpartition.into().abi(), sparepartition.into().abi(), flags) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1339,7 +1339,7 @@ pub unsafe fn RequestDeviceWakeup(hdevice: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn RequestDeviceWakeup ( hdevice : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn RequestDeviceWakeup ( hdevice : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); RequestDeviceWakeup(hdevice.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1349,69 +1349,69 @@ pub unsafe fn RtlAnsiStringToUnicodeString(destinationstring: *mut super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlAnsiStringToUnicodeString ( destinationstring : *mut super::super::Foundation:: UNICODE_STRING , sourcestring : *mut super::Kernel:: STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlAnsiStringToUnicodeString ( destinationstring : *mut super::super::Foundation:: UNICODE_STRING , sourcestring : *mut super::Kernel:: STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS ); RtlAnsiStringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlCharToInteger(string: *mut i8, base: u32, value: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlCharToInteger ( string : *mut i8 , base : u32 , value : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlCharToInteger ( string : *mut i8 , base : u32 , value : *mut u32 ) -> super::super::Foundation:: NTSTATUS ); RtlCharToInteger(string, base, value).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn RtlFreeAnsiString(ansistring: *mut super::Kernel::STRING) { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlFreeAnsiString ( ansistring : *mut super::Kernel:: STRING ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFreeAnsiString ( ansistring : *mut super::Kernel:: STRING ) -> ( ) ); RtlFreeAnsiString(ansistring) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn RtlFreeOemString(oemstring: *mut super::Kernel::STRING) { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlFreeOemString ( oemstring : *mut super::Kernel:: STRING ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFreeOemString ( oemstring : *mut super::Kernel:: STRING ) -> ( ) ); RtlFreeOemString(oemstring) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlFreeUnicodeString(unicodestring: *mut super::super::Foundation::UNICODE_STRING) { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlFreeUnicodeString ( unicodestring : *mut super::super::Foundation:: UNICODE_STRING ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlFreeUnicodeString ( unicodestring : *mut super::super::Foundation:: UNICODE_STRING ) -> ( ) ); RtlFreeUnicodeString(unicodestring) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn RtlGetReturnAddressHijackTarget() -> usize { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlGetReturnAddressHijackTarget ( ) -> usize ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlGetReturnAddressHijackTarget ( ) -> usize ); RtlGetReturnAddressHijackTarget() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn RtlInitAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInitAnsiString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitAnsiString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> ( ) ); RtlInitAnsiString(destinationstring, sourcestring) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn RtlInitAnsiStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInitAnsiStringEx ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitAnsiStringEx ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> super::super::Foundation:: NTSTATUS ); RtlInitAnsiStringEx(destinationstring, sourcestring).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] #[inline] pub unsafe fn RtlInitString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInitString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> ( ) ); RtlInitString(destinationstring, sourcestring) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn RtlInitStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInitStringEx ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitStringEx ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut i8 ) -> super::super::Foundation:: NTSTATUS ); RtlInitStringEx(destinationstring, sourcestring).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1421,34 +1421,34 @@ pub unsafe fn RtlInitUnicodeString(destinationstring: *mut super::super::Fou where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlInitUnicodeString ( destinationstring : *mut super::super::Foundation:: UNICODE_STRING , sourcestring : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlInitUnicodeString ( destinationstring : *mut super::super::Foundation:: UNICODE_STRING , sourcestring : :: windows::core::PCWSTR ) -> ( ) ); RtlInitUnicodeString(destinationstring, sourcestring.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] pub unsafe fn RtlIsNameLegalDOS8Dot3(name: *mut super::super::Foundation::UNICODE_STRING, oemname: *mut super::Kernel::STRING, namecontainsspaces: *mut super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlIsNameLegalDOS8Dot3 ( name : *mut super::super::Foundation:: UNICODE_STRING , oemname : *mut super::Kernel:: STRING , namecontainsspaces : *mut super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIsNameLegalDOS8Dot3 ( name : *mut super::super::Foundation:: UNICODE_STRING , oemname : *mut super::Kernel:: STRING , namecontainsspaces : *mut super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOLEAN ); RtlIsNameLegalDOS8Dot3(name, oemname, namecontainsspaces) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlLocalTimeToSystemTime(localtime: *mut i64, systemtime: *mut i64) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlLocalTimeToSystemTime ( localtime : *mut i64 , systemtime : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlLocalTimeToSystemTime ( localtime : *mut i64 , systemtime : *mut i64 ) -> super::super::Foundation:: NTSTATUS ); RtlLocalTimeToSystemTime(localtime, systemtime).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn RtlRaiseCustomSystemEventTrigger(triggerconfig: *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlRaiseCustomSystemEventTrigger ( triggerconfig : *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlRaiseCustomSystemEventTrigger ( triggerconfig : *const CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG ) -> u32 ); RtlRaiseCustomSystemEventTrigger(triggerconfig) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RtlTimeToSecondsSince1970(time: *mut i64, elapsedseconds: *mut u32) -> super::super::Foundation::BOOLEAN { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlTimeToSecondsSince1970 ( time : *mut i64 , elapsedseconds : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlTimeToSecondsSince1970 ( time : *mut i64 , elapsedseconds : *mut u32 ) -> super::super::Foundation:: BOOLEAN ); RtlTimeToSecondsSince1970(time, elapsedseconds) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1458,7 +1458,7 @@ pub unsafe fn RtlUnicodeStringToAnsiString(destinationstring: *mut super::Ke where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlUnicodeStringToAnsiString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut super::super::Foundation:: UNICODE_STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlUnicodeStringToAnsiString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut super::super::Foundation:: UNICODE_STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS ); RtlUnicodeStringToAnsiString(destinationstring, sourcestring, allocatedestinationstring.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -1468,7 +1468,7 @@ pub unsafe fn RtlUnicodeStringToOemString(destinationstring: *mut super::Ker where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlUnicodeStringToOemString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut super::super::Foundation:: UNICODE_STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlUnicodeStringToOemString ( destinationstring : *mut super::Kernel:: STRING , sourcestring : *mut super::super::Foundation:: UNICODE_STRING , allocatedestinationstring : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: NTSTATUS ); RtlUnicodeStringToOemString(destinationstring, sourcestring, allocatedestinationstring.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1478,13 +1478,13 @@ pub unsafe fn RtlUnicodeToMultiByteSize(bytesinmultibytestring: *mut u32, un where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlUnicodeToMultiByteSize ( bytesinmultibytestring : *mut u32 , unicodestring : :: windows::core::PCWSTR , bytesinunicodestring : u32 ) -> super::super::Foundation:: NTSTATUS ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlUnicodeToMultiByteSize ( bytesinmultibytestring : *mut u32 , unicodestring : :: windows::core::PCWSTR , bytesinunicodestring : u32 ) -> super::super::Foundation:: NTSTATUS ); RtlUnicodeToMultiByteSize(bytesinmultibytestring, unicodestring.into().abi(), bytesinunicodestring).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn RtlUniform(seed: *mut u32) -> u32 { - ::windows::core::link ! ( "ntdll.dll""system" fn RtlUniform ( seed : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "ntdll.dll""system" fn RtlUniform ( seed : *mut u32 ) -> u32 ); RtlUniform(seed) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1498,7 +1498,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn RunSetupCommandA ( hwnd : super::super::Foundation:: HWND , szcmdname : :: windows::core::PCSTR , szinfsection : :: windows::core::PCSTR , szdir : :: windows::core::PCSTR , lpsztitle : :: windows::core::PCSTR , phexe : *mut super::super::Foundation:: HANDLE , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RunSetupCommandA ( hwnd : super::super::Foundation:: HWND , szcmdname : :: windows::core::PCSTR , szinfsection : :: windows::core::PCSTR , szdir : :: windows::core::PCSTR , lpsztitle : :: windows::core::PCSTR , phexe : *mut super::super::Foundation:: HANDLE , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); RunSetupCommandA(hwnd.into(), szcmdname.into().abi(), szinfsection.into().abi(), szdir.into().abi(), lpsztitle.into().abi(), phexe, dwflags, pvreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1512,7 +1512,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn RunSetupCommandW ( hwnd : super::super::Foundation:: HWND , szcmdname : :: windows::core::PCWSTR , szinfsection : :: windows::core::PCWSTR , szdir : :: windows::core::PCWSTR , lpsztitle : :: windows::core::PCWSTR , phexe : *mut super::super::Foundation:: HANDLE , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn RunSetupCommandW ( hwnd : super::super::Foundation:: HWND , szcmdname : :: windows::core::PCWSTR , szinfsection : :: windows::core::PCWSTR , szdir : :: windows::core::PCWSTR , lpsztitle : :: windows::core::PCWSTR , phexe : *mut super::super::Foundation:: HANDLE , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); RunSetupCommandW(hwnd.into(), szcmdname.into().abi(), szinfsection.into().abi(), szdir.into().abi(), lpsztitle.into().abi(), phexe, dwflags, pvreserved).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1523,7 +1523,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendIMEMessageExA ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn SendIMEMessageExA ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SendIMEMessageExA(param0.into(), param1.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1534,7 +1534,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendIMEMessageExW ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn SendIMEMessageExW ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SendIMEMessageExW(param0.into(), param1.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1544,7 +1544,7 @@ pub unsafe fn SetEnvironmentStringsA(newenvironment: P0) -> super::super::Fo where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetEnvironmentStringsA ( newenvironment : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetEnvironmentStringsA ( newenvironment : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetEnvironmentStringsA(newenvironment.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1555,7 +1555,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 ) -> super::super::Foundation:: BOOL ); SetFirmwareEnvironmentVariableA(lpname.into().abi(), lpguid.into().abi(), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null())), nsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1566,7 +1566,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableExA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 , dwattributes : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableExA ( lpname : :: windows::core::PCSTR , lpguid : :: windows::core::PCSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 , dwattributes : u32 ) -> super::super::Foundation:: BOOL ); SetFirmwareEnvironmentVariableExA(lpname.into().abi(), lpguid.into().abi(), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null())), nsize, dwattributes) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1577,7 +1577,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableExW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 , dwattributes : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableExW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 , dwattributes : u32 ) -> super::super::Foundation:: BOOL ); SetFirmwareEnvironmentVariableExW(lpname.into().abi(), lpguid.into().abi(), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null())), nsize, dwattributes) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1588,13 +1588,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetFirmwareEnvironmentVariableW ( lpname : :: windows::core::PCWSTR , lpguid : :: windows::core::PCWSTR , pvalue : *const ::core::ffi::c_void , nsize : u32 ) -> super::super::Foundation:: BOOL ); SetFirmwareEnvironmentVariableW(lpname.into().abi(), lpguid.into().abi(), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null())), nsize) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn SetHandleCount(unumber: u32) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn SetHandleCount ( unumber : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetHandleCount ( unumber : u32 ) -> u32 ); SetHandleCount(unumber) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1604,21 +1604,21 @@ pub unsafe fn SetMessageWaitingIndicator(hmsgindicator: P0, ulmsgcount: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SetMessageWaitingIndicator ( hmsgindicator : super::super::Foundation:: HANDLE , ulmsgcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SetMessageWaitingIndicator ( hmsgindicator : super::super::Foundation:: HANDLE , ulmsgcount : u32 ) -> super::super::Foundation:: BOOL ); SetMessageWaitingIndicator(hmsgindicator.into(), ulmsgcount) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetPerUserSecValuesA(pperuser: *mut PERUSERSECTIONA) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advpack.dll""system" fn SetPerUserSecValuesA ( pperuser : *mut PERUSERSECTIONA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn SetPerUserSecValuesA ( pperuser : *mut PERUSERSECTIONA ) -> :: windows::core::HRESULT ); SetPerUserSecValuesA(pperuser).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetPerUserSecValuesW(pperuser: *mut PERUSERSECTIONW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "advpack.dll""system" fn SetPerUserSecValuesW ( pperuser : *mut PERUSERSECTIONW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn SetPerUserSecValuesW ( pperuser : *mut PERUSERSECTIONW ) -> :: windows::core::HRESULT ); SetPerUserSecValuesW(pperuser).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1630,13 +1630,13 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "kernel32.dll""system" fn SignalObjectAndWait ( hobjecttosignal : super::super::Foundation:: HANDLE , hobjecttowaiton : super::super::Foundation:: HANDLE , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "kernel32.dll""system" fn SignalObjectAndWait ( hobjecttosignal : super::super::Foundation:: HANDLE , hobjecttowaiton : super::super::Foundation:: HANDLE , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); SignalObjectAndWait(hobjecttosignal.into(), hobjecttowaiton.into(), dwmilliseconds, balertable.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn SubscribeFeatureStateChangeNotification(subscription: *mut FEATURE_STATE_CHANGE_SUBSCRIPTION, callback: PFEATURE_STATE_CHANGE_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn SubscribeFeatureStateChangeNotification ( subscription : *mut FEATURE_STATE_CHANGE_SUBSCRIPTION , callback : PFEATURE_STATE_CHANGE_CALLBACK , context : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn SubscribeFeatureStateChangeNotification ( subscription : *mut FEATURE_STATE_CHANGE_SUBSCRIPTION , callback : PFEATURE_STATE_CHANGE_CALLBACK , context : *const ::core::ffi::c_void ) -> ( ) ); SubscribeFeatureStateChangeNotification(subscription, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1648,7 +1648,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn TranslateInfStringA ( pszinffilename : :: windows::core::PCSTR , pszinstallsection : :: windows::core::PCSTR , psztranslatesection : :: windows::core::PCSTR , psztranslatekey : :: windows::core::PCSTR , pszbuffer : :: windows::core::PSTR , cchbuffer : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn TranslateInfStringA ( pszinffilename : :: windows::core::PCSTR , pszinstallsection : :: windows::core::PCSTR , psztranslatesection : :: windows::core::PCSTR , psztranslatekey : :: windows::core::PCSTR , pszbuffer : :: windows::core::PSTR , cchbuffer : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); TranslateInfStringA(pszinffilename.into().abi(), pszinstallsection.into().abi(), psztranslatesection.into().abi(), psztranslatekey.into().abi(), ::core::mem::transmute(pszbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszbuffer.as_deref().map_or(0, |slice| slice.len() as _), pdwrequiredsize, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1659,7 +1659,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn TranslateInfStringExA ( hinf : *mut ::core::ffi::c_void , pszinffilename : :: windows::core::PCSTR , psztranslatesection : :: windows::core::PCSTR , psztranslatekey : :: windows::core::PCSTR , pszbuffer : :: windows::core::PSTR , dwbuffersize : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn TranslateInfStringExA ( hinf : *mut ::core::ffi::c_void , pszinffilename : :: windows::core::PCSTR , psztranslatesection : :: windows::core::PCSTR , psztranslatekey : :: windows::core::PCSTR , pszbuffer : :: windows::core::PSTR , dwbuffersize : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); TranslateInfStringExA(hinf, pszinffilename.into().abi(), psztranslatesection.into().abi(), psztranslatekey.into().abi(), ::core::mem::transmute(pszbuffer.as_ptr()), pszbuffer.len() as _, pdwrequiredsize, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1670,7 +1670,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn TranslateInfStringExW ( hinf : *mut ::core::ffi::c_void , pszinffilename : :: windows::core::PCWSTR , psztranslatesection : :: windows::core::PCWSTR , psztranslatekey : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , dwbuffersize : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn TranslateInfStringExW ( hinf : *mut ::core::ffi::c_void , pszinffilename : :: windows::core::PCWSTR , psztranslatesection : :: windows::core::PCWSTR , psztranslatekey : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , dwbuffersize : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); TranslateInfStringExW(hinf, pszinffilename.into().abi(), psztranslatesection.into().abi(), psztranslatekey.into().abi(), ::core::mem::transmute(pszbuffer.as_ptr()), pszbuffer.len() as _, pdwrequiredsize, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1682,7 +1682,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn TranslateInfStringW ( pszinffilename : :: windows::core::PCWSTR , pszinstallsection : :: windows::core::PCWSTR , psztranslatesection : :: windows::core::PCWSTR , psztranslatekey : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , cchbuffer : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn TranslateInfStringW ( pszinffilename : :: windows::core::PCWSTR , pszinstallsection : :: windows::core::PCWSTR , psztranslatesection : :: windows::core::PCWSTR , psztranslatekey : :: windows::core::PCWSTR , pszbuffer : :: windows::core::PWSTR , cchbuffer : u32 , pdwrequiredsize : *mut u32 , pvreserved : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); TranslateInfStringW(pszinffilename.into().abi(), pszinstallsection.into().abi(), psztranslatesection.into().abi(), psztranslatekey.into().abi(), ::core::mem::transmute(pszbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszbuffer.as_deref().map_or(0, |slice| slice.len() as _), pdwrequiredsize, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1691,7 +1691,7 @@ pub unsafe fn UnsubscribeFeatureStateChangeNotification(subscription: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn UnsubscribeFeatureStateChangeNotification ( subscription : FEATURE_STATE_CHANGE_SUBSCRIPTION ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-featurestaging-l1-1-0.dll""system" fn UnsubscribeFeatureStateChangeNotification ( subscription : FEATURE_STATE_CHANGE_SUBSCRIPTION ) -> ( ) ); UnsubscribeFeatureStateChangeNotification(subscription.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1703,7 +1703,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn UserInstStubWrapperA ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCSTR , nshow : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn UserInstStubWrapperA ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCSTR , nshow : i32 ) -> :: windows::core::HRESULT ); UserInstStubWrapperA(hwnd.into(), hinstance.into(), pszparms.into().abi(), nshow).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1715,7 +1715,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn UserInstStubWrapperW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn UserInstStubWrapperW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT ); UserInstStubWrapperW(hwnd.into(), hinstance.into(), pszparms.into().abi(), nshow).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1727,7 +1727,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn UserUnInstStubWrapperA ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCSTR , nshow : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn UserUnInstStubWrapperA ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCSTR , nshow : i32 ) -> :: windows::core::HRESULT ); UserUnInstStubWrapperA(hwnd.into(), hinstance.into(), pszparms.into().abi(), nshow).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1739,7 +1739,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "advpack.dll""system" fn UserUnInstStubWrapperW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "advpack.dll""system" fn UserUnInstStubWrapperW ( hwnd : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszparms : :: windows::core::PCWSTR , nshow : i32 ) -> :: windows::core::HRESULT ); UserUnInstStubWrapperW(hwnd.into(), hinstance.into(), pszparms.into().abi(), nshow).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1750,7 +1750,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn WINNLSEnableIME ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn WINNLSEnableIME ( param0 : super::super::Foundation:: HWND , param1 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WINNLSEnableIME(param0.into(), param1.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1760,7 +1760,7 @@ pub unsafe fn WINNLSGetEnableStatus(param0: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn WINNLSGetEnableStatus ( param0 : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn WINNLSGetEnableStatus ( param0 : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); WINNLSGetEnableStatus(param0.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1770,7 +1770,7 @@ pub unsafe fn WINNLSGetIMEHotkey(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn WINNLSGetIMEHotkey ( param0 : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn WINNLSGetIMEHotkey ( param0 : super::super::Foundation:: HWND ) -> u32 ); WINNLSGetIMEHotkey(param0.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -1779,7 +1779,7 @@ pub unsafe fn WinWatchClose(hww: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn WinWatchClose ( hww : HWINWATCH ) -> ( ) ); + ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchClose ( hww : HWINWATCH ) -> ( ) ); WinWatchClose(hww.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1789,7 +1789,7 @@ pub unsafe fn WinWatchDidStatusChange(hww: P0) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn WinWatchDidStatusChange ( hww : HWINWATCH ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchDidStatusChange ( hww : HWINWATCH ) -> super::super::Foundation:: BOOL ); WinWatchDidStatusChange(hww.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1799,7 +1799,7 @@ pub unsafe fn WinWatchGetClipList(hww: P0, prc: *mut super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn WinWatchGetClipList ( hww : HWINWATCH , prc : *mut super::super::Foundation:: RECT , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 ); + ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchGetClipList ( hww : HWINWATCH , prc : *mut super::super::Foundation:: RECT , size : u32 , prd : *mut super::super::Graphics::Gdi:: RGNDATA ) -> u32 ); WinWatchGetClipList(hww.into(), prc, size, prd) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1810,7 +1810,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn WinWatchNotify ( hww : HWINWATCH , notifycallback : WINWATCHNOTIFYPROC , notifyparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchNotify ( hww : HWINWATCH , notifycallback : WINWATCHNOTIFYPROC , notifyparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); WinWatchNotify(hww.into(), notifycallback, notifyparam.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1820,35 +1820,35 @@ pub unsafe fn WinWatchOpen(hwnd: P0) -> HWINWATCH where P0: ::std::convert::Into, { - ::windows::core::link ! ( "dciman32.dll""system" fn WinWatchOpen ( hwnd : super::super::Foundation:: HWND ) -> HWINWATCH ); + ::windows::imp::link ! ( "dciman32.dll""system" fn WinWatchOpen ( hwnd : super::super::Foundation:: HWND ) -> HWINWATCH ); WinWatchOpen(hwnd.into()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WldpGetLockdownPolicy(hostinformation: ::core::option::Option<*const WLDP_HOST_INFORMATION>, lockdownstate: *mut u32, lockdownflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wldp.dll""system" fn WldpGetLockdownPolicy ( hostinformation : *const WLDP_HOST_INFORMATION , lockdownstate : *mut u32 , lockdownflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wldp.dll""system" fn WldpGetLockdownPolicy ( hostinformation : *const WLDP_HOST_INFORMATION , lockdownstate : *mut u32 , lockdownflags : u32 ) -> :: windows::core::HRESULT ); WldpGetLockdownPolicy(::core::mem::transmute(hostinformation.unwrap_or(::std::ptr::null())), lockdownstate, lockdownflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WldpIsClassInApprovedList(classid: *const ::windows::core::GUID, hostinformation: *const WLDP_HOST_INFORMATION, isapproved: *mut super::super::Foundation::BOOL, optionalflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wldp.dll""system" fn WldpIsClassInApprovedList ( classid : *const :: windows::core::GUID , hostinformation : *const WLDP_HOST_INFORMATION , isapproved : *mut super::super::Foundation:: BOOL , optionalflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wldp.dll""system" fn WldpIsClassInApprovedList ( classid : *const :: windows::core::GUID , hostinformation : *const WLDP_HOST_INFORMATION , isapproved : *mut super::super::Foundation:: BOOL , optionalflags : u32 ) -> :: windows::core::HRESULT ); WldpIsClassInApprovedList(classid, hostinformation, isapproved, optionalflags).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WldpIsDynamicCodePolicyEnabled() -> ::windows::core::Result { - ::windows::core::link ! ( "wldp.dll""system" fn WldpIsDynamicCodePolicyEnabled ( isenabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wldp.dll""system" fn WldpIsDynamicCodePolicyEnabled ( isenabled : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WldpIsDynamicCodePolicyEnabled(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn WldpQueryDeviceSecurityInformation(information: ::core::option::Option<&mut [WLDP_DEVICE_SECURITY_INFORMATION]>, returnlength: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "wldp.dll""system" fn WldpQueryDeviceSecurityInformation ( information : *mut WLDP_DEVICE_SECURITY_INFORMATION , informationlength : u32 , returnlength : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wldp.dll""system" fn WldpQueryDeviceSecurityInformation ( information : *mut WLDP_DEVICE_SECURITY_INFORMATION , informationlength : u32 , returnlength : *mut u32 ) -> :: windows::core::HRESULT ); WldpQueryDeviceSecurityInformation(::core::mem::transmute(information.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), information.as_deref().map_or(0, |slice| slice.len() as _), returnlength).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1858,7 +1858,7 @@ pub unsafe fn WldpQueryDynamicCodeTrust(filehandle: P0, baseimage: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldp.dll""system" fn WldpQueryDynamicCodeTrust ( filehandle : super::super::Foundation:: HANDLE , baseimage : *const ::core::ffi::c_void , imagesize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wldp.dll""system" fn WldpQueryDynamicCodeTrust ( filehandle : super::super::Foundation:: HANDLE , baseimage : *const ::core::ffi::c_void , imagesize : u32 ) -> :: windows::core::HRESULT ); WldpQueryDynamicCodeTrust(filehandle.into(), ::core::mem::transmute(baseimage.unwrap_or(::std::ptr::null())), imagesize).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1868,7 +1868,7 @@ pub unsafe fn WldpSetDynamicCodeTrust(filehandle: P0) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "wldp.dll""system" fn WldpSetDynamicCodeTrust ( filehandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "wldp.dll""system" fn WldpSetDynamicCodeTrust ( filehandle : super::super::Foundation:: HANDLE ) -> :: windows::core::HRESULT ); WldpSetDynamicCodeTrust(filehandle.into()).ok() } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1880,7 +1880,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WritePrivateProfileSectionA ( lpappname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileSectionA ( lpappname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); WritePrivateProfileSectionA(lpappname.into().abi(), lpstring.into().abi(), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1892,7 +1892,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WritePrivateProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WritePrivateProfileSectionW(lpappname.into().abi(), lpstring.into().abi(), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1905,7 +1905,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WritePrivateProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR , lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); WritePrivateProfileStringA(lpappname.into().abi(), lpkeyname.into().abi(), lpstring.into().abi(), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1918,7 +1918,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WritePrivateProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR , lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WritePrivateProfileStringW(lpappname.into().abi(), lpkeyname.into().abi(), lpstring.into().abi(), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1930,7 +1930,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WritePrivateProfileStructA ( lpszsection : :: windows::core::PCSTR , lpszkey : :: windows::core::PCSTR , lpstruct : *const ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileStructA ( lpszsection : :: windows::core::PCSTR , lpszkey : :: windows::core::PCSTR , lpstruct : *const ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); WritePrivateProfileStructA(lpszsection.into().abi(), lpszkey.into().abi(), ::core::mem::transmute(lpstruct.unwrap_or(::std::ptr::null())), usizestruct, szfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1942,7 +1942,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WritePrivateProfileStructW ( lpszsection : :: windows::core::PCWSTR , lpszkey : :: windows::core::PCWSTR , lpstruct : *const ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WritePrivateProfileStructW ( lpszsection : :: windows::core::PCWSTR , lpszkey : :: windows::core::PCWSTR , lpstruct : *const ::core::ffi::c_void , usizestruct : u32 , szfile : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WritePrivateProfileStructW(lpszsection.into().abi(), lpszkey.into().abi(), ::core::mem::transmute(lpstruct.unwrap_or(::std::ptr::null())), usizestruct, szfile.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1953,7 +1953,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteProfileSectionA ( lpappname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProfileSectionA ( lpappname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); WriteProfileSectionA(lpappname.into().abi(), lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1964,7 +1964,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProfileSectionW ( lpappname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WriteProfileSectionW(lpappname.into().abi(), lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1976,7 +1976,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProfileStringA ( lpappname : :: windows::core::PCSTR , lpkeyname : :: windows::core::PCSTR , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); WriteProfileStringA(lpappname.into().abi(), lpkeyname.into().abi(), lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] @@ -1988,25 +1988,25 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn WriteProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "kernel32.dll""system" fn WriteProfileStringW ( lpappname : :: windows::core::PCWSTR , lpkeyname : :: windows::core::PCWSTR , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WriteProfileStringW(lpappname.into().abi(), lpkeyname.into().abi(), lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn _hread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, lbytes: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn _hread ( hfile : i32 , lpbuffer : *mut ::core::ffi::c_void , lbytes : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn _hread ( hfile : i32 , lpbuffer : *mut ::core::ffi::c_void , lbytes : i32 ) -> i32 ); _hread(hfile, lpbuffer, lbytes) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn _hwrite(hfile: i32, lpbuffer: &[u8]) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn _hwrite ( hfile : i32 , lpbuffer : :: windows::core::PCSTR , lbytes : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn _hwrite ( hfile : i32 , lpbuffer : :: windows::core::PCSTR , lbytes : i32 ) -> i32 ); _hwrite(hfile, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn _lclose(hfile: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn _lclose ( hfile : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn _lclose ( hfile : i32 ) -> i32 ); _lclose(hfile) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -2015,13 +2015,13 @@ pub unsafe fn _lcreat(lppathname: P0, iattribute: i32) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn _lcreat ( lppathname : :: windows::core::PCSTR , iattribute : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn _lcreat ( lppathname : :: windows::core::PCSTR , iattribute : i32 ) -> i32 ); _lcreat(lppathname.into().abi(), iattribute) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn _llseek(hfile: i32, loffset: i32, iorigin: i32) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn _llseek ( hfile : i32 , loffset : i32 , iorigin : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn _llseek ( hfile : i32 , loffset : i32 , iorigin : i32 ) -> i32 ); _llseek(hfile, loffset, iorigin) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -2030,75 +2030,75 @@ pub unsafe fn _lopen(lppathname: P0, ireadwrite: i32) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "kernel32.dll""system" fn _lopen ( lppathname : :: windows::core::PCSTR , ireadwrite : i32 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn _lopen ( lppathname : :: windows::core::PCSTR , ireadwrite : i32 ) -> i32 ); _lopen(lppathname.into().abi(), ireadwrite) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn _lread(hfile: i32, lpbuffer: *mut ::core::ffi::c_void, ubytes: u32) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn _lread ( hfile : i32 , lpbuffer : *mut ::core::ffi::c_void , ubytes : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn _lread ( hfile : i32 , lpbuffer : *mut ::core::ffi::c_void , ubytes : u32 ) -> u32 ); _lread(hfile, lpbuffer, ubytes) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn _lwrite(hfile: i32, lpbuffer: &[u8]) -> u32 { - ::windows::core::link ! ( "kernel32.dll""system" fn _lwrite ( hfile : i32 , lpbuffer : :: windows::core::PCSTR , ubytes : u32 ) -> u32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn _lwrite ( hfile : i32 , lpbuffer : :: windows::core::PCSTR , ubytes : u32 ) -> u32 ); _lwrite(hfile, ::core::mem::transmute(lpbuffer.as_ptr()), lpbuffer.len() as _) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn uaw_lstrcmpW(string1: *const u16, string2: *const u16) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn uaw_lstrcmpW ( string1 : *const u16 , string2 : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_lstrcmpW ( string1 : *const u16 , string2 : *const u16 ) -> i32 ); uaw_lstrcmpW(string1, string2) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn uaw_lstrcmpiW(string1: *const u16, string2: *const u16) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn uaw_lstrcmpiW ( string1 : *const u16 , string2 : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_lstrcmpiW ( string1 : *const u16 , string2 : *const u16 ) -> i32 ); uaw_lstrcmpiW(string1, string2) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn uaw_lstrlenW(string: *const u16) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn uaw_lstrlenW ( string : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_lstrlenW ( string : *const u16 ) -> i32 ); uaw_lstrlenW(string) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn uaw_wcschr(string: *const u16, character: u16) -> *mut u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn uaw_wcschr ( string : *const u16 , character : u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcschr ( string : *const u16 , character : u16 ) -> *mut u16 ); uaw_wcschr(string, character) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn uaw_wcscpy(destination: *mut u16, source: *const u16) -> *mut u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn uaw_wcscpy ( destination : *mut u16 , source : *const u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcscpy ( destination : *mut u16 , source : *const u16 ) -> *mut u16 ); uaw_wcscpy(destination, source) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn uaw_wcsicmp(string1: *const u16, string2: *const u16) -> i32 { - ::windows::core::link ! ( "kernel32.dll""system" fn uaw_wcsicmp ( string1 : *const u16 , string2 : *const u16 ) -> i32 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcsicmp ( string1 : *const u16 , string2 : *const u16 ) -> i32 ); uaw_wcsicmp(string1, string2) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn uaw_wcslen(string: *const u16) -> usize { - ::windows::core::link ! ( "kernel32.dll""system" fn uaw_wcslen ( string : *const u16 ) -> usize ); + ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcslen ( string : *const u16 ) -> usize ); uaw_wcslen(string) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[inline] pub unsafe fn uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16 { - ::windows::core::link ! ( "kernel32.dll""system" fn uaw_wcsrchr ( string : *const u16 , character : u16 ) -> *mut u16 ); + ::windows::imp::link ! ( "kernel32.dll""system" fn uaw_wcsrchr ( string : *const u16 , character : u16 ) -> *mut u16 ); uaw_wcsrchr(string, character) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] @@ -2147,7 +2147,7 @@ impl ICameraUIControl { (::windows::core::Vtable::vtable(self).RemoveCapturedItem)(::windows::core::Vtable::as_raw(self), pszpath.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICameraUIControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICameraUIControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICameraUIControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2218,7 +2218,7 @@ impl ICameraUIControlEventCallback { (::windows::core::Vtable::vtable(self).OnClosed)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(ICameraUIControlEventCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICameraUIControlEventCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICameraUIControlEventCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2259,7 +2259,7 @@ impl IClipServiceNotificationHelper { (::windows::core::Vtable::vtable(self).ShowToast)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(titletext), ::core::mem::transmute_copy(bodytext), ::core::mem::transmute_copy(packagename), ::core::mem::transmute_copy(appid), ::core::mem::transmute_copy(launchcommand)).ok() } } -::windows::core::interface_hierarchy!(IClipServiceNotificationHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IClipServiceNotificationHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IClipServiceNotificationHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2299,7 +2299,7 @@ impl IContainerActivationHelper { (::windows::core::Vtable::vtable(self).CanActivateClientVM)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IContainerActivationHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContainerActivationHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContainerActivationHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2341,7 +2341,7 @@ impl IDefaultBrowserSyncSettings { (::windows::core::Vtable::vtable(self).IsEnabled)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IDefaultBrowserSyncSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDefaultBrowserSyncSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDefaultBrowserSyncSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2381,7 +2381,7 @@ impl IDeleteBrowsingHistory { (::windows::core::Vtable::vtable(self).DeleteBrowsingHistory)(::windows::core::Vtable::as_raw(self), dwflags).ok() } } -::windows::core::interface_hierarchy!(IDeleteBrowsingHistory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDeleteBrowsingHistory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDeleteBrowsingHistory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2432,7 +2432,7 @@ impl IEditionUpgradeBroker { (::windows::core::Vtable::vtable(self).CanUpgrade)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IEditionUpgradeBroker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEditionUpgradeBroker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEditionUpgradeBroker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2497,7 +2497,7 @@ impl IEditionUpgradeHelper { (::windows::core::Vtable::vtable(self).GetGenuineLocalStatus)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEditionUpgradeHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEditionUpgradeHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEditionUpgradeHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2547,7 +2547,7 @@ impl IWindowsLockModeHelper { (::windows::core::Vtable::vtable(self).GetSMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWindowsLockModeHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWindowsLockModeHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWindowsLockModeHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs index 350986de1c..434f07a5b0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs @@ -26,7 +26,7 @@ impl IAsynchronousDataRetriever { (::windows::core::Vtable::vtable(self).LoadChangeData)(::windows::core::Vtable::as_raw(self), ploadchangecontext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAsynchronousDataRetriever, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAsynchronousDataRetriever, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAsynchronousDataRetriever { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -100,7 +100,7 @@ impl IChangeConflict { (::windows::core::Vtable::vtable(self).SetResolveActionForChangeUnit)(::windows::core::Vtable::as_raw(self), pchangeunit.into().abi(), resolveaction).ok() } } -::windows::core::interface_hierarchy!(IChangeConflict, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IChangeConflict, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IChangeConflict { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -150,7 +150,7 @@ impl IChangeUnitException { (::windows::core::Vtable::vtable(self).GetClockVector)(::windows::core::Vtable::as_raw(self), riid, ppunk).ok() } } -::windows::core::interface_hierarchy!(IChangeUnitException, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IChangeUnitException, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IChangeUnitException { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -198,7 +198,7 @@ impl IChangeUnitListFilterInfo { (::windows::core::Vtable::vtable(self).GetChangeUnitId)(::windows::core::Vtable::as_raw(self), dwchangeunitidindex, pbchangeunitid, pcbidsize).ok() } } -::windows::core::interface_hierarchy!(IChangeUnitListFilterInfo, ::windows::core::IUnknown, ISyncFilterInfo); +::windows::imp::interface_hierarchy!(IChangeUnitListFilterInfo, ::windows::core::IUnknown, ISyncFilterInfo); impl ::core::cmp::PartialEq for IChangeUnitListFilterInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -240,7 +240,7 @@ impl IClockVector { (::windows::core::Vtable::vtable(self).GetClockVectorElementCount)(::windows::core::Vtable::as_raw(self), pdwcount).ok() } } -::windows::core::interface_hierarchy!(IClockVector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IClockVector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IClockVector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -281,7 +281,7 @@ impl IClockVectorElement { (::windows::core::Vtable::vtable(self).GetTickCount)(::windows::core::Vtable::as_raw(self), pulltickcount).ok() } } -::windows::core::interface_hierarchy!(IClockVectorElement, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IClockVectorElement, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IClockVectorElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -329,7 +329,7 @@ impl ICombinedFilterInfo { (::windows::core::Vtable::vtable(self).GetFilterCombinationType)(::windows::core::Vtable::as_raw(self), pfiltercombinationtype).ok() } } -::windows::core::interface_hierarchy!(ICombinedFilterInfo, ::windows::core::IUnknown, ISyncFilterInfo); +::windows::imp::interface_hierarchy!(ICombinedFilterInfo, ::windows::core::IUnknown, ISyncFilterInfo); impl ::core::cmp::PartialEq for ICombinedFilterInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -413,7 +413,7 @@ impl IConstraintConflict { (::windows::core::Vtable::vtable(self).IsTemporary)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IConstraintConflict, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConstraintConflict, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConstraintConflict { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -461,7 +461,7 @@ impl IConstructReplicaKeyMap { (::windows::core::Vtable::vtable(self).FindOrAddReplica)(::windows::core::Vtable::as_raw(self), pbreplicaid, pdwreplicakey).ok() } } -::windows::core::interface_hierarchy!(IConstructReplicaKeyMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IConstructReplicaKeyMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IConstructReplicaKeyMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -510,7 +510,7 @@ impl ICoreFragment { (::windows::core::Vtable::vtable(self).GetRangeCount)(::windows::core::Vtable::as_raw(self), prangecount).ok() } } -::windows::core::interface_hierarchy!(ICoreFragment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICoreFragment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICoreFragment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -554,7 +554,7 @@ impl ICoreFragmentInspector { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICoreFragmentInspector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICoreFragmentInspector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICoreFragmentInspector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -596,7 +596,7 @@ impl ICustomFilterInfo { (::windows::core::Vtable::vtable(self).GetSyncFilter)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICustomFilterInfo, ::windows::core::IUnknown, ISyncFilterInfo); +::windows::imp::interface_hierarchy!(ICustomFilterInfo, ::windows::core::IUnknown, ISyncFilterInfo); impl ::core::cmp::PartialEq for ICustomFilterInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -639,7 +639,7 @@ impl IDataRetrieverCallback { (::windows::core::Vtable::vtable(self).LoadChangeDataError)(::windows::core::Vtable::as_raw(self), hrerror).ok() } } -::windows::core::interface_hierarchy!(IDataRetrieverCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataRetrieverCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataRetrieverCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -687,7 +687,7 @@ impl IEnumChangeUnitExceptions { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumChangeUnitExceptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumChangeUnitExceptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumChangeUnitExceptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -737,7 +737,7 @@ impl IEnumClockVector { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumClockVector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumClockVector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumClockVector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -787,7 +787,7 @@ impl IEnumFeedClockVector { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumFeedClockVector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumFeedClockVector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumFeedClockVector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -827,7 +827,7 @@ impl IEnumItemIds { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), pbitemid, pcbitemidsize).ok() } } -::windows::core::interface_hierarchy!(IEnumItemIds, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumItemIds, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumItemIds { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -874,7 +874,7 @@ impl IEnumRangeExceptions { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumRangeExceptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumRangeExceptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumRangeExceptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -924,7 +924,7 @@ impl IEnumSingleItemExceptions { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSingleItemExceptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSingleItemExceptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSingleItemExceptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -974,7 +974,7 @@ impl IEnumSyncChangeUnits { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSyncChangeUnits, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSyncChangeUnits, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSyncChangeUnits { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1024,7 +1024,7 @@ impl IEnumSyncChanges { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSyncChanges, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSyncChanges, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSyncChanges { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1076,7 +1076,7 @@ impl IEnumSyncProviderConfigUIInfos { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSyncProviderConfigUIInfos, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSyncProviderConfigUIInfos, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSyncProviderConfigUIInfos { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1131,7 +1131,7 @@ impl IEnumSyncProviderInfos { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSyncProviderInfos, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSyncProviderInfos, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSyncProviderInfos { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1185,7 +1185,7 @@ impl IFeedClockVector { (::windows::core::Vtable::vtable(self).IsNoConflictsSpecified)(::windows::core::Vtable::as_raw(self), pfisnoconflictsspecified).ok() } } -::windows::core::interface_hierarchy!(IFeedClockVector, ::windows::core::IUnknown, IClockVector); +::windows::imp::interface_hierarchy!(IFeedClockVector, ::windows::core::IUnknown, IClockVector); impl ::core::cmp::PartialEq for IFeedClockVector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1235,7 +1235,7 @@ impl IFeedClockVectorElement { (::windows::core::Vtable::vtable(self).GetFlags)(::windows::core::Vtable::as_raw(self), pbflags).ok() } } -::windows::core::interface_hierarchy!(IFeedClockVectorElement, ::windows::core::IUnknown, IClockVectorElement); +::windows::imp::interface_hierarchy!(IFeedClockVectorElement, ::windows::core::IUnknown, IClockVectorElement); impl ::core::cmp::PartialEq for IFeedClockVectorElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1286,7 +1286,7 @@ impl IFilterKeyMap { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), pbfilterkeymap, pcbfilterkeymap).ok() } } -::windows::core::interface_hierarchy!(IFilterKeyMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterKeyMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterKeyMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1329,7 +1329,7 @@ impl IFilterRequestCallback { (::windows::core::Vtable::vtable(self).RequestFilter)(::windows::core::Vtable::as_raw(self), pfilter.into().abi(), filteringtype).ok() } } -::windows::core::interface_hierarchy!(IFilterRequestCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterRequestCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterRequestCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1375,7 +1375,7 @@ impl IFilterTrackingProvider { (::windows::core::Vtable::vtable(self).AddTrackedFilter)(::windows::core::Vtable::as_raw(self), pfilter.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFilterTrackingProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterTrackingProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterTrackingProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1416,7 +1416,7 @@ impl IFilterTrackingRequestCallback { (::windows::core::Vtable::vtable(self).RequestTrackedFilter)(::windows::core::Vtable::as_raw(self), pfilter.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFilterTrackingRequestCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterTrackingRequestCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterTrackingRequestCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1458,7 +1458,7 @@ impl IFilterTrackingSyncChangeBuilder { (::windows::core::Vtable::vtable(self).SetAllChangeUnitsPresentFlag)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFilterTrackingSyncChangeBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFilterTrackingSyncChangeBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFilterTrackingSyncChangeBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1597,7 +1597,7 @@ impl IForgottenKnowledge { (::windows::core::Vtable::vtable(self).ForgetToVersion)(::windows::core::Vtable::as_raw(self), pknowledge.into().abi(), pversion).ok() } } -::windows::core::interface_hierarchy!(IForgottenKnowledge, ::windows::core::IUnknown, ISyncKnowledge); +::windows::imp::interface_hierarchy!(IForgottenKnowledge, ::windows::core::IUnknown, ISyncKnowledge); impl ::core::cmp::PartialEq for IForgottenKnowledge { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1679,7 +1679,7 @@ impl IKnowledgeSyncProvider { (::windows::core::Vtable::vtable(self).EndSession)(::windows::core::Vtable::as_raw(self), psessionstate.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IKnowledgeSyncProvider, ::windows::core::IUnknown, ISyncProvider); +::windows::imp::interface_hierarchy!(IKnowledgeSyncProvider, ::windows::core::IUnknown, ISyncProvider); impl ::core::cmp::PartialEq for IKnowledgeSyncProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1736,7 +1736,7 @@ impl ILoadChangeContext { (::windows::core::Vtable::vtable(self).SetRecoverableErrorOnChangeUnit)(::windows::core::Vtable::as_raw(self), hrerror, pchangeunit.into().abi(), perrordata.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ILoadChangeContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILoadChangeContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILoadChangeContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1778,7 +1778,7 @@ impl IProviderConverter { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pisyncprovider.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IProviderConverter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProviderConverter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProviderConverter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1821,7 +1821,7 @@ impl IRangeException { (::windows::core::Vtable::vtable(self).GetClockVector)(::windows::core::Vtable::as_raw(self), riid, ppunk).ok() } } -::windows::core::interface_hierarchy!(IRangeException, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRangeException, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRangeException { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1876,7 +1876,7 @@ impl IRecoverableError { (::windows::core::Vtable::vtable(self).GetRecoverableErrorDataForChangeUnit)(::windows::core::Vtable::as_raw(self), pchangeunit.into().abi(), phrerror, ::core::mem::transmute(pperrordata)).ok() } } -::windows::core::interface_hierarchy!(IRecoverableError, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRecoverableError, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRecoverableError { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1933,7 +1933,7 @@ impl IRecoverableErrorData { (::windows::core::Vtable::vtable(self).GetErrorDescription)(::windows::core::Vtable::as_raw(self), pszerrordescription.into().abi(), pccherrordescription).ok() } } -::windows::core::interface_hierarchy!(IRecoverableErrorData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRecoverableErrorData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRecoverableErrorData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1984,7 +1984,7 @@ impl IRegisteredSyncProvider { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRegisteredSyncProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRegisteredSyncProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRegisteredSyncProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2032,7 +2032,7 @@ impl IReplicaKeyMap { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), pbreplicakeymap, pcbreplicakeymap).ok() } } -::windows::core::interface_hierarchy!(IReplicaKeyMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IReplicaKeyMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IReplicaKeyMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2074,7 +2074,7 @@ impl IRequestFilteredSync { (::windows::core::Vtable::vtable(self).SpecifyFilter)(::windows::core::Vtable::as_raw(self), pcallback.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IRequestFilteredSync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRequestFilteredSync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRequestFilteredSync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2114,7 +2114,7 @@ impl ISingleItemException { (::windows::core::Vtable::vtable(self).GetClockVector)(::windows::core::Vtable::as_raw(self), riid, ppunk).ok() } } -::windows::core::interface_hierarchy!(ISingleItemException, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISingleItemException, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISingleItemException { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2155,7 +2155,7 @@ impl ISupportFilteredSync { (::windows::core::Vtable::vtable(self).AddFilter)(::windows::core::Vtable::as_raw(self), pfilter.into().abi(), filteringtype).ok() } } -::windows::core::interface_hierarchy!(ISupportFilteredSync, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISupportFilteredSync, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISupportFilteredSync { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2195,7 +2195,7 @@ impl ISupportLastWriteTime { (::windows::core::Vtable::vtable(self).GetChangeUnitChangeTime)(::windows::core::Vtable::as_raw(self), pbitemid, pbchangeunitid, pulltimestamp).ok() } } -::windows::core::interface_hierarchy!(ISupportLastWriteTime, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISupportLastWriteTime, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISupportLastWriteTime { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2254,7 +2254,7 @@ impl ISyncCallback { (::windows::core::Vtable::vtable(self).OnRecoverableError)(::windows::core::Vtable::as_raw(self), precoverableerror.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISyncCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2322,7 +2322,7 @@ impl ISyncCallback2 { (::windows::core::Vtable::vtable(self).OnChangeFailed)(::windows::core::Vtable::as_raw(self), dwchangesapplied, dwchangesfailed).ok() } } -::windows::core::interface_hierarchy!(ISyncCallback2, ::windows::core::IUnknown, ISyncCallback); +::windows::imp::interface_hierarchy!(ISyncCallback2, ::windows::core::IUnknown, ISyncCallback); impl ::core::cmp::PartialEq for ISyncCallback2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2390,7 +2390,7 @@ impl ISyncChange { (::windows::core::Vtable::vtable(self).SetWorkEstimate)(::windows::core::Vtable::as_raw(self), dwwork).ok() } } -::windows::core::interface_hierarchy!(ISyncChange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncChange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2504,7 +2504,7 @@ impl ISyncChangeBatch { (::windows::core::Vtable::vtable(self).AddLoggedConflict)(::windows::core::Vtable::as_raw(self), pbownerreplicaid, pbitemid, pchangeversion, pcreationversion, dwflags, dwworkforchange, pconflictknowledge.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncChangeBatch, ::windows::core::IUnknown, ISyncChangeBatchBase); +::windows::imp::interface_hierarchy!(ISyncChangeBatch, ::windows::core::IUnknown, ISyncChangeBatchBase); impl ::core::cmp::PartialEq for ISyncChangeBatch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2625,7 +2625,7 @@ impl ISyncChangeBatch2 { (::windows::core::Vtable::vtable(self).AddMergeTombstoneLoggedConflict)(::windows::core::Vtable::as_raw(self), pbownerreplicaid, pbwinneritemid, pbitemid, pchangeversion, pcreationversion, dwworkforchange, pconflictknowledge.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncChangeBatch2, ::windows::core::IUnknown, ISyncChangeBatchBase, ISyncChangeBatch); +::windows::imp::interface_hierarchy!(ISyncChangeBatch2, ::windows::core::IUnknown, ISyncChangeBatchBase, ISyncChangeBatch); impl ::core::cmp::PartialEq for ISyncChangeBatch2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2676,7 +2676,7 @@ impl ISyncChangeBatchAdvanced { (::windows::core::Vtable::vtable(self).GetBatchLevelKnowledgeShouldBeApplied)(::windows::core::Vtable::as_raw(self), pfbatchknowledgeshouldbeapplied).ok() } } -::windows::core::interface_hierarchy!(ISyncChangeBatchAdvanced, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncChangeBatchAdvanced, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncChangeBatchAdvanced { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2768,7 +2768,7 @@ impl ISyncChangeBatchBase { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), pbchangebatch, pcbchangebatch).ok() } } -::windows::core::interface_hierarchy!(ISyncChangeBatchBase, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncChangeBatchBase, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncChangeBatchBase { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2873,7 +2873,7 @@ impl ISyncChangeBatchBase2 { (::windows::core::Vtable::vtable(self).SerializeWithOptions)(::windows::core::Vtable::as_raw(self), targetformatversion, dwflags, pbbuffer, pdwserializedsize).ok() } } -::windows::core::interface_hierarchy!(ISyncChangeBatchBase2, ::windows::core::IUnknown, ISyncChangeBatchBase); +::windows::imp::interface_hierarchy!(ISyncChangeBatchBase2, ::windows::core::IUnknown, ISyncChangeBatchBase); impl ::core::cmp::PartialEq for ISyncChangeBatchBase2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2963,7 +2963,7 @@ impl ISyncChangeBatchWithFilterKeyMap { (::windows::core::Vtable::vtable(self).GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete)(::windows::core::Vtable::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), dwfilterkey, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncChangeBatchWithFilterKeyMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncChangeBatchWithFilterKeyMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncChangeBatchWithFilterKeyMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3073,7 +3073,7 @@ impl ISyncChangeBatchWithPrerequisite { (::windows::core::Vtable::vtable(self).GetLearnedForgottenKnowledge)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncChangeBatchWithPrerequisite, ::windows::core::IUnknown, ISyncChangeBatchBase); +::windows::imp::interface_hierarchy!(ISyncChangeBatchWithPrerequisite, ::windows::core::IUnknown, ISyncChangeBatchBase); impl ::core::cmp::PartialEq for ISyncChangeBatchWithPrerequisite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3112,7 +3112,7 @@ impl ISyncChangeBuilder { (::windows::core::Vtable::vtable(self).AddChangeUnitMetadata)(::windows::core::Vtable::as_raw(self), pbchangeunitid, pchangeunitversion).ok() } } -::windows::core::interface_hierarchy!(ISyncChangeBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncChangeBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncChangeBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3156,7 +3156,7 @@ impl ISyncChangeUnit { (::windows::core::Vtable::vtable(self).GetChangeUnitVersion)(::windows::core::Vtable::as_raw(self), pbcurrentreplicaid, pversion).ok() } } -::windows::core::interface_hierarchy!(ISyncChangeUnit, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncChangeUnit, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncChangeUnit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3249,7 +3249,7 @@ impl ISyncChangeWithFilterKeyMap { (::windows::core::Vtable::vtable(self).GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete)(::windows::core::Vtable::as_raw(self), pdestinationknowledge.into().abi(), pnewmoveins.into().abi(), dwfilterkey, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncChangeWithFilterKeyMap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncChangeWithFilterKeyMap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncChangeWithFilterKeyMap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3308,7 +3308,7 @@ impl ISyncChangeWithPrerequisite { (::windows::core::Vtable::vtable(self).GetLearnedKnowledgeWithPrerequisite)(::windows::core::Vtable::as_raw(self), pdestinationknowledge.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncChangeWithPrerequisite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncChangeWithPrerequisite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncChangeWithPrerequisite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3349,7 +3349,7 @@ impl ISyncConstraintCallback { (::windows::core::Vtable::vtable(self).OnConstraintConflict)(::windows::core::Vtable::as_raw(self), pconflict.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISyncConstraintCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncConstraintCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncConstraintCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3415,7 +3415,7 @@ impl ISyncDataConverter { (::windows::core::Vtable::vtable(self).ConvertDataToProviderFormat)(::windows::core::Vtable::as_raw(self), pdatacontext.into().abi(), punkdataout.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncDataConverter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncDataConverter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncDataConverter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3461,7 +3461,7 @@ impl ISyncFilter { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), pbsyncfilter, pcbsyncfilter).ok() } } -::windows::core::interface_hierarchy!(ISyncFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3500,7 +3500,7 @@ impl ISyncFilterDeserializer { (::windows::core::Vtable::vtable(self).DeserializeSyncFilter)(::windows::core::Vtable::as_raw(self), pbsyncfilter, dwcbsyncfilter, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncFilterDeserializer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncFilterDeserializer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncFilterDeserializer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3537,7 +3537,7 @@ impl ISyncFilterInfo { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), pbbuffer, pcbbuffer).ok() } } -::windows::core::interface_hierarchy!(ISyncFilterInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncFilterInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncFilterInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3577,7 +3577,7 @@ impl ISyncFilterInfo2 { (::windows::core::Vtable::vtable(self).GetFlags)(::windows::core::Vtable::as_raw(self), pdwflags).ok() } } -::windows::core::interface_hierarchy!(ISyncFilterInfo2, ::windows::core::IUnknown, ISyncFilterInfo); +::windows::imp::interface_hierarchy!(ISyncFilterInfo2, ::windows::core::IUnknown, ISyncFilterInfo); impl ::core::cmp::PartialEq for ISyncFilterInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3619,7 +3619,7 @@ impl ISyncFullEnumerationChange { (::windows::core::Vtable::vtable(self).GetLearnedForgottenKnowledge)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncFullEnumerationChange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncFullEnumerationChange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncFullEnumerationChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3716,7 +3716,7 @@ impl ISyncFullEnumerationChangeBatch { (::windows::core::Vtable::vtable(self).GetClosedUpperBoundItemId)(::windows::core::Vtable::as_raw(self), pbclosedupperbounditemid, pcbidsize).ok() } } -::windows::core::interface_hierarchy!(ISyncFullEnumerationChangeBatch, ::windows::core::IUnknown, ISyncChangeBatchBase); +::windows::imp::interface_hierarchy!(ISyncFullEnumerationChangeBatch, ::windows::core::IUnknown, ISyncChangeBatchBase); impl ::core::cmp::PartialEq for ISyncFullEnumerationChangeBatch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3818,7 +3818,7 @@ impl ISyncFullEnumerationChangeBatch2 { (::windows::core::Vtable::vtable(self).AddMergeTombstoneMetadataToGroup)(::windows::core::Vtable::as_raw(self), pbownerreplicaid, pbwinneritemid, pbitemid, pchangeversion, pcreationversion, dwworkforchange, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncFullEnumerationChangeBatch2, ::windows::core::IUnknown, ISyncChangeBatchBase, ISyncFullEnumerationChangeBatch); +::windows::imp::interface_hierarchy!(ISyncFullEnumerationChangeBatch2, ::windows::core::IUnknown, ISyncChangeBatchBase, ISyncFullEnumerationChangeBatch); impl ::core::cmp::PartialEq for ISyncFullEnumerationChangeBatch2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3947,7 +3947,7 @@ impl ISyncKnowledge { (::windows::core::Vtable::vtable(self).GetVersion)(::windows::core::Vtable::as_raw(self), pdwversion).ok() } } -::windows::core::interface_hierarchy!(ISyncKnowledge, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncKnowledge, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncKnowledge { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4172,7 +4172,7 @@ impl ISyncKnowledge2 { (::windows::core::Vtable::vtable(self).CompareToKnowledgeCookie)(::windows::core::Vtable::as_raw(self), pknowledgecookie.into().abi(), presult).ok() } } -::windows::core::interface_hierarchy!(ISyncKnowledge2, ::windows::core::IUnknown, ISyncKnowledge); +::windows::imp::interface_hierarchy!(ISyncKnowledge2, ::windows::core::IUnknown, ISyncKnowledge); impl ::core::cmp::PartialEq for ISyncKnowledge2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4225,7 +4225,7 @@ impl ISyncMergeTombstoneChange { (::windows::core::Vtable::vtable(self).GetWinnerItemId)(::windows::core::Vtable::as_raw(self), pbwinneritemid, pcbidsize).ok() } } -::windows::core::interface_hierarchy!(ISyncMergeTombstoneChange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMergeTombstoneChange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMergeTombstoneChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4264,7 +4264,7 @@ impl ISyncProvider { (::windows::core::Vtable::vtable(self).GetIdParameters)(::windows::core::Vtable::as_raw(self), pidparameters).ok() } } -::windows::core::interface_hierarchy!(ISyncProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4335,7 +4335,7 @@ impl ISyncProviderConfigUI { (::windows::core::Vtable::vtable(self).ModifySyncProvider)(::windows::core::Vtable::as_raw(self), hwndparent.into(), punkcontext.into().abi(), pproviderinfo.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISyncProviderConfigUI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncProviderConfigUI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncProviderConfigUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4418,7 +4418,7 @@ impl ISyncProviderConfigUIInfo { } } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -::windows::core::interface_hierarchy!(ISyncProviderConfigUIInfo, ::windows::core::IUnknown, super::super::UI::Shell::PropertiesSystem::IPropertyStore); +::windows::imp::interface_hierarchy!(ISyncProviderConfigUIInfo, ::windows::core::IUnknown, super::super::UI::Shell::PropertiesSystem::IPropertyStore); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl ::core::cmp::PartialEq for ISyncProviderConfigUIInfo { fn eq(&self, other: &Self) -> bool { @@ -4493,7 +4493,7 @@ impl ISyncProviderInfo { } } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -::windows::core::interface_hierarchy!(ISyncProviderInfo, ::windows::core::IUnknown, super::super::UI::Shell::PropertiesSystem::IPropertyStore); +::windows::imp::interface_hierarchy!(ISyncProviderInfo, ::windows::core::IUnknown, super::super::UI::Shell::PropertiesSystem::IPropertyStore); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl ::core::cmp::PartialEq for ISyncProviderInfo { fn eq(&self, other: &Self) -> bool { @@ -4615,7 +4615,7 @@ impl ISyncProviderRegistration { (::windows::core::Vtable::vtable(self).GetChange)(::windows::core::Vtable::as_raw(self), hevent.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncProviderRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncProviderRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncProviderRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4696,7 +4696,7 @@ impl ISyncRegistrationChange { (::windows::core::Vtable::vtable(self).GetInstanceId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncRegistrationChange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncRegistrationChange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncRegistrationChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4735,7 +4735,7 @@ impl ISyncSessionExtendedErrorInfo { (::windows::core::Vtable::vtable(self).GetSyncProviderWithError)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncSessionExtendedErrorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncSessionExtendedErrorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncSessionExtendedErrorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4792,7 +4792,7 @@ impl ISyncSessionState { (::windows::core::Vtable::vtable(self).OnProgress)(::windows::core::Vtable::as_raw(self), provider, syncstage, dwcompletedwork, dwtotalwork).ok() } } -::windows::core::interface_hierarchy!(ISyncSessionState, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncSessionState, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncSessionState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4869,7 +4869,7 @@ impl ISyncSessionState2 { (::windows::core::Vtable::vtable(self).GetSessionErrorStatus)(::windows::core::Vtable::as_raw(self), phrsessionerror).ok() } } -::windows::core::interface_hierarchy!(ISyncSessionState2, ::windows::core::IUnknown, ISyncSessionState); +::windows::imp::interface_hierarchy!(ISyncSessionState2, ::windows::core::IUnknown, ISyncSessionState); impl ::core::cmp::PartialEq for ISyncSessionState2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4919,7 +4919,7 @@ impl ISynchronousDataRetriever { (::windows::core::Vtable::vtable(self).LoadChangeData)(::windows::core::Vtable::as_raw(self), ploadchangecontext.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISynchronousDataRetriever, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISynchronousDataRetriever, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISynchronousDataRetriever { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 f3b1aab39e..c7250bec4e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -1,7 +1,7 @@ #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[inline] pub unsafe fn MI_Application_InitializeV1(flags: u32, applicationid: ::core::option::Option<*const u16>, extendederror: ::core::option::Option<*mut *mut MI_Instance>, application: *mut MI_Application) -> MI_Result { - ::windows::core::link ! ( "mi.dll""cdecl" fn MI_Application_InitializeV1 ( flags : u32 , applicationid : *const u16 , extendederror : *mut *mut MI_Instance , application : *mut MI_Application ) -> MI_Result ); + ::windows::imp::link ! ( "mi.dll""cdecl" fn MI_Application_InitializeV1 ( flags : u32 , applicationid : *const u16 , extendederror : *mut *mut MI_Instance , application : *mut MI_Application ) -> MI_Result ); MI_Application_InitializeV1(flags, ::core::mem::transmute(applicationid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(extendederror.unwrap_or(::std::ptr::null_mut())), application) } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] @@ -28,7 +28,7 @@ impl IEnumWbemClassObject { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ltimeout, ncount) } } -::windows::core::interface_hierarchy!(IEnumWbemClassObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumWbemClassObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumWbemClassObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -93,7 +93,7 @@ impl IMofCompiler { (::windows::core::Vtable::vtable(self).CreateBMOF)(::windows::core::Vtable::as_raw(self), textfilename.into().abi(), bmoffilename.into().abi(), serverandnamespace.into().abi(), loptionflags, lclassflags, linstanceflags, pinfo).ok() } } -::windows::core::interface_hierarchy!(IMofCompiler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMofCompiler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMofCompiler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -355,7 +355,7 @@ impl ISWbemDateTime { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemDateTime, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemDateTime, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemDateTime { fn eq(&self, other: &Self) -> bool { @@ -516,7 +516,7 @@ impl ISWbemEventSource { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemEventSource, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemEventSource, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemEventSource { fn eq(&self, other: &Self) -> bool { @@ -776,7 +776,7 @@ impl ISWbemLastError { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemLastError, ::windows::core::IUnknown, super::Com::IDispatch, ISWbemObject); +::windows::imp::interface_hierarchy!(ISWbemLastError, ::windows::core::IUnknown, super::Com::IDispatch, ISWbemObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemLastError { fn eq(&self, other: &Self) -> bool { @@ -834,7 +834,7 @@ impl ISWbemLocator { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemLocator, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemLocator, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemLocator { fn eq(&self, other: &Self) -> bool { @@ -911,7 +911,7 @@ impl ISWbemMethod { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemMethod, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemMethod, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemMethod { fn eq(&self, other: &Self) -> bool { @@ -982,7 +982,7 @@ impl ISWbemMethodSet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemMethodSet, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemMethodSet, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemMethodSet { fn eq(&self, other: &Self) -> bool { @@ -1046,7 +1046,7 @@ impl ISWbemNamedValue { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemNamedValue, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemNamedValue, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemNamedValue { fn eq(&self, other: &Self) -> bool { @@ -1130,7 +1130,7 @@ impl ISWbemNamedValueSet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemNamedValueSet, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemNamedValueSet, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemNamedValueSet { fn eq(&self, other: &Self) -> bool { @@ -1398,7 +1398,7 @@ impl ISWbemObject { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemObject, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemObject, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemObject { fn eq(&self, other: &Self) -> bool { @@ -1778,7 +1778,7 @@ impl ISWbemObjectEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemObjectEx, ::windows::core::IUnknown, super::Com::IDispatch, ISWbemObject); +::windows::imp::interface_hierarchy!(ISWbemObjectEx, ::windows::core::IUnknown, super::Com::IDispatch, ISWbemObject); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemObjectEx { fn eq(&self, other: &Self) -> bool { @@ -1927,7 +1927,7 @@ impl ISWbemObjectPath { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemObjectPath, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemObjectPath, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemObjectPath { fn eq(&self, other: &Self) -> bool { @@ -2031,7 +2031,7 @@ impl ISWbemObjectSet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemObjectSet, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemObjectSet, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemObjectSet { fn eq(&self, other: &Self) -> bool { @@ -2114,7 +2114,7 @@ impl ISWbemPrivilege { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemPrivilege, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemPrivilege, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemPrivilege { fn eq(&self, other: &Self) -> bool { @@ -2206,7 +2206,7 @@ impl ISWbemPrivilegeSet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemPrivilegeSet, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemPrivilegeSet, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemPrivilegeSet { fn eq(&self, other: &Self) -> bool { @@ -2306,7 +2306,7 @@ impl ISWbemProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemProperty, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemProperty, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemProperty { fn eq(&self, other: &Self) -> bool { @@ -2398,7 +2398,7 @@ impl ISWbemPropertySet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemPropertySet, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemPropertySet, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemPropertySet { fn eq(&self, other: &Self) -> bool { @@ -2521,7 +2521,7 @@ impl ISWbemQualifier { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemQualifier, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemQualifier, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemQualifier { fn eq(&self, other: &Self) -> bool { @@ -2633,7 +2633,7 @@ impl ISWbemQualifierSet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemQualifierSet, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemQualifierSet, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemQualifierSet { fn eq(&self, other: &Self) -> bool { @@ -2718,7 +2718,7 @@ impl ISWbemRefreshableItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemRefreshableItem, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemRefreshableItem, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemRefreshableItem { fn eq(&self, other: &Self) -> bool { @@ -2836,7 +2836,7 @@ impl ISWbemRefresher { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemRefresher, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemRefresher, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemRefresher { fn eq(&self, other: &Self) -> bool { @@ -2924,7 +2924,7 @@ impl ISWbemSecurity { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemSecurity, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemSecurity, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemSecurity { fn eq(&self, other: &Self) -> bool { @@ -3177,7 +3177,7 @@ impl ISWbemServices { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemServices, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemServices, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemServices { fn eq(&self, other: &Self) -> bool { @@ -3534,7 +3534,7 @@ impl ISWbemServicesEx { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemServicesEx, ::windows::core::IUnknown, super::Com::IDispatch, ISWbemServices); +::windows::imp::interface_hierarchy!(ISWbemServicesEx, ::windows::core::IUnknown, super::Com::IDispatch, ISWbemServices); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemServicesEx { fn eq(&self, other: &Self) -> bool { @@ -3588,7 +3588,7 @@ impl ISWbemSink { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemSink, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemSink, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemSink { fn eq(&self, other: &Self) -> bool { @@ -3631,7 +3631,7 @@ pub struct ISWbemSinkEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemSinkEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISWbemSinkEvents, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISWbemSinkEvents, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISWbemSinkEvents { fn eq(&self, other: &Self) -> bool { @@ -3678,7 +3678,7 @@ impl IUnsecuredApartment { (::windows::core::Vtable::vtable(self).CreateObjectStub)(::windows::core::Vtable::as_raw(self), pobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUnsecuredApartment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUnsecuredApartment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUnsecuredApartment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3731,7 +3731,7 @@ impl IWMIExtension { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWMIExtension, ::windows::core::IUnknown, super::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWMIExtension, ::windows::core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWMIExtension { fn eq(&self, other: &Self) -> bool { @@ -3786,7 +3786,7 @@ impl IWbemAddressResolution { (::windows::core::Vtable::vtable(self).Resolve)(::windows::core::Vtable::as_raw(self), wsznamespacepath.into().abi(), ::core::mem::transmute(wszaddresstype), pdwaddresslength, pabbinaryaddress).ok() } } -::windows::core::interface_hierarchy!(IWbemAddressResolution, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemAddressResolution, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemAddressResolution { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3832,7 +3832,7 @@ impl IWbemBackupRestore { (::windows::core::Vtable::vtable(self).Restore)(::windows::core::Vtable::as_raw(self), strrestorefromfile.into().abi(), lflags).ok() } } -::windows::core::interface_hierarchy!(IWbemBackupRestore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemBackupRestore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemBackupRestore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3885,7 +3885,7 @@ impl IWbemBackupRestoreEx { (::windows::core::Vtable::vtable(self).Resume)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWbemBackupRestoreEx, ::windows::core::IUnknown, IWbemBackupRestore); +::windows::imp::interface_hierarchy!(IWbemBackupRestoreEx, ::windows::core::IUnknown, IWbemBackupRestore); impl ::core::cmp::PartialEq for IWbemBackupRestoreEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3936,7 +3936,7 @@ impl IWbemCallResult { (::windows::core::Vtable::vtable(self).GetCallStatus)(::windows::core::Vtable::as_raw(self), ltimeout, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemCallResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemCallResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemCallResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4104,7 +4104,7 @@ impl IWbemClassObject { (::windows::core::Vtable::vtable(self).GetMethodOrigin)(::windows::core::Vtable::as_raw(self), wszmethodname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemClassObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemClassObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemClassObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4194,7 +4194,7 @@ impl IWbemClientConnectionTransport { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self), lflags, phandler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWbemClientConnectionTransport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemClientConnectionTransport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemClientConnectionTransport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4237,7 +4237,7 @@ impl IWbemClientTransport { (::windows::core::Vtable::vtable(self).ConnectServer)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(straddresstype), abbinaryaddress.len() as _, ::core::mem::transmute(abbinaryaddress.as_ptr()), ::core::mem::transmute_copy(strnetworkresource), ::core::mem::transmute_copy(struser), ::core::mem::transmute_copy(strpassword), ::core::mem::transmute_copy(strlocale), lsecurityflags, ::core::mem::transmute_copy(strauthority), pctx.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemClientTransport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemClientTransport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemClientTransport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4304,7 +4304,7 @@ impl IWbemConfigureRefresher { (::windows::core::Vtable::vtable(self).AddEnum)(::windows::core::Vtable::as_raw(self), pnamespace.into().abi(), wszclassname.into().abi(), lflags, pcontext.into().abi(), ::core::mem::transmute(ppenum), plid).ok() } } -::windows::core::interface_hierarchy!(IWbemConfigureRefresher, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemConfigureRefresher, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemConfigureRefresher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4352,7 +4352,7 @@ impl IWbemConnectorLogin { (::windows::core::Vtable::vtable(self).ConnectorLogin)(::windows::core::Vtable::as_raw(self), wsznetworkresource.into().abi(), wszpreferredlocale.into().abi(), lflags, pctx.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemConnectorLogin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemConnectorLogin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemConnectorLogin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4408,7 +4408,7 @@ impl IWbemConstructClassObject { (::windows::core::Vtable::vtable(self).SetServerNamespace)(::windows::core::Vtable::as_raw(self), wszserver.into().abi(), wsznamespace.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWbemConstructClassObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemConstructClassObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemConstructClassObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4492,7 +4492,7 @@ impl IWbemContext { (::windows::core::Vtable::vtable(self).DeleteAll)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWbemContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4574,7 +4574,7 @@ impl IWbemDecoupledBasicEventProvider { (::windows::core::Vtable::vtable(self).GetService)(::windows::core::Vtable::as_raw(self), a_flags, a_context.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemDecoupledBasicEventProvider, ::windows::core::IUnknown, IWbemDecoupledRegistrar); +::windows::imp::interface_hierarchy!(IWbemDecoupledBasicEventProvider, ::windows::core::IUnknown, IWbemDecoupledRegistrar); impl ::core::cmp::PartialEq for IWbemDecoupledBasicEventProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4623,7 +4623,7 @@ impl IWbemDecoupledRegistrar { (::windows::core::Vtable::vtable(self).UnRegister)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWbemDecoupledRegistrar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemDecoupledRegistrar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemDecoupledRegistrar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4665,7 +4665,7 @@ impl IWbemEventConsumerProvider { (::windows::core::Vtable::vtable(self).FindConsumer)(::windows::core::Vtable::as_raw(self), plogicalconsumer.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemEventConsumerProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemEventConsumerProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemEventConsumerProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4705,7 +4705,7 @@ impl IWbemEventProvider { (::windows::core::Vtable::vtable(self).ProvideEvents)(::windows::core::Vtable::as_raw(self), psink.into().abi(), lflags).ok() } } -::windows::core::interface_hierarchy!(IWbemEventProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemEventProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemEventProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4745,7 +4745,7 @@ impl IWbemEventProviderQuerySink { (::windows::core::Vtable::vtable(self).CancelQuery)(::windows::core::Vtable::as_raw(self), dwid).ok() } } -::windows::core::interface_hierarchy!(IWbemEventProviderQuerySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemEventProviderQuerySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemEventProviderQuerySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4783,7 +4783,7 @@ impl IWbemEventProviderSecurity { (::windows::core::Vtable::vtable(self).AccessCheck)(::windows::core::Vtable::as_raw(self), wszquerylanguage, wszquery, psid.len() as _, ::core::mem::transmute(psid.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IWbemEventProviderSecurity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemEventProviderSecurity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemEventProviderSecurity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4842,7 +4842,7 @@ impl IWbemEventSink { (::windows::core::Vtable::vtable(self).SetBatchingParameters)(::windows::core::Vtable::as_raw(self), lflags, dwmaxbuffersize, dwmaxsendlatency).ok() } } -::windows::core::interface_hierarchy!(IWbemEventSink, ::windows::core::IUnknown, IWbemObjectSink); +::windows::imp::interface_hierarchy!(IWbemEventSink, ::windows::core::IUnknown, IWbemObjectSink); impl ::core::cmp::PartialEq for IWbemEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4891,7 +4891,7 @@ impl IWbemHiPerfEnum { (::windows::core::Vtable::vtable(self).RemoveAll)(::windows::core::Vtable::as_raw(self), lflags).ok() } } -::windows::core::interface_hierarchy!(IWbemHiPerfEnum, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemHiPerfEnum, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemHiPerfEnum { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4977,7 +4977,7 @@ impl IWbemHiPerfProvider { (::windows::core::Vtable::vtable(self).GetObjects)(::windows::core::Vtable::as_raw(self), pnamespace.into().abi(), apobj.len() as _, ::core::mem::transmute(apobj.as_ptr()), lflags, pcontext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWbemHiPerfProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemHiPerfProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemHiPerfProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5048,7 +5048,7 @@ impl IWbemLevel1Login { (::windows::core::Vtable::vtable(self).NTLMLogin)(::windows::core::Vtable::as_raw(self), wsznetworkresource.into().abi(), wszpreferredlocale.into().abi(), lflags, pctx.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemLevel1Login, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemLevel1Login, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemLevel1Login { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5092,7 +5092,7 @@ impl IWbemLocator { (::windows::core::Vtable::vtable(self).ConnectServer)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(strnetworkresource), ::core::mem::transmute_copy(struser), ::core::mem::transmute_copy(strpassword), ::core::mem::transmute_copy(strlocale), lsecurityflags, ::core::mem::transmute_copy(strauthority), pctx.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemLocator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemLocator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemLocator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5292,7 +5292,7 @@ impl IWbemObjectAccess { (::windows::core::Vtable::vtable(self).Unlock)(::windows::core::Vtable::as_raw(self), lflags).ok() } } -::windows::core::interface_hierarchy!(IWbemObjectAccess, ::windows::core::IUnknown, IWbemClassObject); +::windows::imp::interface_hierarchy!(IWbemObjectAccess, ::windows::core::IUnknown, IWbemClassObject); impl ::core::cmp::PartialEq for IWbemObjectAccess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5344,7 +5344,7 @@ impl IWbemObjectSink { (::windows::core::Vtable::vtable(self).SetStatus)(::windows::core::Vtable::as_raw(self), lflags, hresult, ::core::mem::transmute_copy(strparam), pobjparam.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWbemObjectSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemObjectSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemObjectSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5410,7 +5410,7 @@ impl IWbemObjectSinkEx { (::windows::core::Vtable::vtable(self).WriteStreamParameter)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(strname), vtvalue, ultype, ulflags).ok() } } -::windows::core::interface_hierarchy!(IWbemObjectSinkEx, ::windows::core::IUnknown, IWbemObjectSink); +::windows::imp::interface_hierarchy!(IWbemObjectSinkEx, ::windows::core::IUnknown, IWbemObjectSink); impl ::core::cmp::PartialEq for IWbemObjectSinkEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5466,7 +5466,7 @@ impl IWbemObjectTextSrc { (::windows::core::Vtable::vtable(self).CreateFromText)(::windows::core::Vtable::as_raw(self), lflags, ::core::mem::transmute_copy(strtext), uobjtextformat, pctx.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemObjectTextSrc, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemObjectTextSrc, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemObjectTextSrc { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5626,7 +5626,7 @@ impl IWbemPath { (::windows::core::Vtable::vtable(self).IsSameClassName)(::windows::core::Vtable::as_raw(self), wszclass.into().abi()) } } -::windows::core::interface_hierarchy!(IWbemPath, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemPath, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemPath { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5742,7 +5742,7 @@ impl IWbemPathKeyList { (::windows::core::Vtable::vtable(self).GetText)(::windows::core::Vtable::as_raw(self), lflags, pubufflength, ::core::mem::transmute(psztext)).ok() } } -::windows::core::interface_hierarchy!(IWbemPathKeyList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemPathKeyList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemPathKeyList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5802,7 +5802,7 @@ impl IWbemPropertyProvider { (::windows::core::Vtable::vtable(self).PutProperty)(::windows::core::Vtable::as_raw(self), lflags, ::core::mem::transmute_copy(strlocale), ::core::mem::transmute_copy(strclassmapping), ::core::mem::transmute_copy(strinstmapping), ::core::mem::transmute_copy(strpropmapping), pvvalue).ok() } } -::windows::core::interface_hierarchy!(IWbemPropertyProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemPropertyProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemPropertyProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5849,7 +5849,7 @@ impl IWbemProviderIdentity { (::windows::core::Vtable::vtable(self).SetRegistrationObject)(::windows::core::Vtable::as_raw(self), lflags, pprovreg.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWbemProviderIdentity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemProviderIdentity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemProviderIdentity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5894,7 +5894,7 @@ impl IWbemProviderInit { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), wszuser.into().abi(), lflags, wsznamespace.into().abi(), wszlocale.into().abi(), pnamespace.into().abi(), pctx.into().abi(), pinitsink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWbemProviderInit, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemProviderInit, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemProviderInit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5931,7 +5931,7 @@ impl IWbemProviderInitSink { (::windows::core::Vtable::vtable(self).SetStatus)(::windows::core::Vtable::as_raw(self), lstatus, lflags).ok() } } -::windows::core::interface_hierarchy!(IWbemProviderInitSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemProviderInitSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemProviderInitSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6004,7 +6004,7 @@ impl IWbemQualifierSet { (::windows::core::Vtable::vtable(self).EndEnumeration)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWbemQualifierSet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemQualifierSet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemQualifierSet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6081,7 +6081,7 @@ impl IWbemQuery { (::windows::core::Vtable::vtable(self).GetQueryInfo)(::windows::core::Vtable::as_raw(self), uanalysistype, uinfoid, ubufsize, pdestbuf).ok() } } -::windows::core::interface_hierarchy!(IWbemQuery, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemQuery, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemQuery { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6124,7 +6124,7 @@ impl IWbemRefresher { (::windows::core::Vtable::vtable(self).Refresh)(::windows::core::Vtable::as_raw(self), lflags).ok() } } -::windows::core::interface_hierarchy!(IWbemRefresher, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemRefresher, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemRefresher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6314,7 +6314,7 @@ impl IWbemServices { (::windows::core::Vtable::vtable(self).ExecMethodAsync)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(strobjectpath), ::core::mem::transmute_copy(strmethodname), lflags, pctx.into().abi(), pinparams.into().abi(), presponsehandler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWbemServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6376,7 +6376,7 @@ impl IWbemShutdown { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self), ureason, umaxmilliseconds, pctx.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWbemShutdown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemShutdown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemShutdown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6418,7 +6418,7 @@ impl IWbemStatusCodeText { (::windows::core::Vtable::vtable(self).GetFacilityCodeText)(::windows::core::Vtable::as_raw(self), hres, localeid, lflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemStatusCodeText, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemStatusCodeText, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemStatusCodeText { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6456,7 +6456,7 @@ impl IWbemTransport { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IWbemTransport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemTransport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemTransport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6496,7 +6496,7 @@ impl IWbemUnboundObjectSink { (::windows::core::Vtable::vtable(self).IndicateToConsumer)(::windows::core::Vtable::as_raw(self), plogicalconsumer.into().abi(), apobjects.len() as _, ::core::mem::transmute(apobjects.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IWbemUnboundObjectSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWbemUnboundObjectSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWbemUnboundObjectSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6545,7 +6545,7 @@ impl IWbemUnsecuredApartment { (::windows::core::Vtable::vtable(self).CreateSinkStub)(::windows::core::Vtable::as_raw(self), psink.into().abi(), dwflags, wszreserved.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWbemUnsecuredApartment, ::windows::core::IUnknown, IUnsecuredApartment); +::windows::imp::interface_hierarchy!(IWbemUnsecuredApartment, ::windows::core::IUnknown, IUnsecuredApartment); impl ::core::cmp::PartialEq for IWbemUnsecuredApartment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 187f505e59..b25ed85d85 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "oleacc.dll""system" fn AccNotifyTouchInteraction ( hwndapp : super::super::Foundation:: HWND , hwndtarget : super::super::Foundation:: HWND , pttarget : super::super::Foundation:: POINT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn AccNotifyTouchInteraction ( hwndapp : super::super::Foundation:: HWND , hwndtarget : super::super::Foundation:: HWND , pttarget : super::super::Foundation:: POINT ) -> :: windows::core::HRESULT ); AccNotifyTouchInteraction(hwndapp.into(), hwndtarget.into(), ::core::mem::transmute(pttarget)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -16,7 +16,7 @@ pub unsafe fn AccSetRunningUtilityState(hwndapp: P0, dwutilitystatemask: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleacc.dll""system" fn AccSetRunningUtilityState ( hwndapp : super::super::Foundation:: HWND , dwutilitystatemask : u32 , dwutilitystate : ACC_UTILITY_STATE_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn AccSetRunningUtilityState ( hwndapp : super::super::Foundation:: HWND , dwutilitystatemask : u32 , dwutilitystate : ACC_UTILITY_STATE_FLAGS ) -> :: windows::core::HRESULT ); AccSetRunningUtilityState(hwndapp.into(), dwutilitystatemask, dwutilitystate).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -26,7 +26,7 @@ pub unsafe fn AccessibleChildren(pacccontainer: P0, ichildstart: i32, rgvarc where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleacc.dll""system" fn AccessibleChildren ( pacccontainer : * mut::core::ffi::c_void , ichildstart : i32 , cchildren : i32 , rgvarchildren : *mut super::super::System::Com:: VARIANT , pcobtained : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn AccessibleChildren ( pacccontainer : * mut::core::ffi::c_void , ichildstart : i32 , cchildren : i32 , rgvarchildren : *mut super::super::System::Com:: VARIANT , pcobtained : *mut i32 ) -> :: windows::core::HRESULT ); AccessibleChildren(pacccontainer.into().abi(), ichildstart, rgvarchildren.len() as _, ::core::mem::transmute(rgvarchildren.as_ptr()), pcobtained).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -36,14 +36,14 @@ pub unsafe fn AccessibleObjectFromEvent(hwnd: P0, dwid: u32, dwchildid: u32, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleacc.dll""system" fn AccessibleObjectFromEvent ( hwnd : super::super::Foundation:: HWND , dwid : u32 , dwchildid : u32 , ppacc : *mut * mut::core::ffi::c_void , pvarchild : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn AccessibleObjectFromEvent ( hwnd : super::super::Foundation:: HWND , dwid : u32 , dwchildid : u32 , ppacc : *mut * mut::core::ffi::c_void , pvarchild : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); AccessibleObjectFromEvent(hwnd.into(), dwid, dwchildid, ::core::mem::transmute(ppacc), pvarchild).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn AccessibleObjectFromPoint(ptscreen: super::super::Foundation::POINT, ppacc: *mut ::core::option::Option, pvarchild: *mut super::super::System::Com::VARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "oleacc.dll""system" fn AccessibleObjectFromPoint ( ptscreen : super::super::Foundation:: POINT , ppacc : *mut * mut::core::ffi::c_void , pvarchild : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn AccessibleObjectFromPoint ( ptscreen : super::super::Foundation:: POINT , ppacc : *mut * mut::core::ffi::c_void , pvarchild : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); AccessibleObjectFromPoint(::core::mem::transmute(ptscreen), ::core::mem::transmute(ppacc), pvarchild).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -53,7 +53,7 @@ pub unsafe fn AccessibleObjectFromWindow(hwnd: P0, dwid: u32, riid: *const : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleacc.dll""system" fn AccessibleObjectFromWindow ( hwnd : super::super::Foundation:: HWND , dwid : u32 , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn AccessibleObjectFromWindow ( hwnd : super::super::Foundation:: HWND , dwid : u32 , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); AccessibleObjectFromWindow(hwnd.into(), dwid, riid, ppvobject).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn CreateStdAccessibleObject(hwnd: P0, idobject: i32, riid: *cons where P0: ::std::convert::Into, { - ::windows::core::link ! ( "oleacc.dll""system" fn CreateStdAccessibleObject ( hwnd : super::super::Foundation:: HWND , idobject : i32 , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn CreateStdAccessibleObject ( hwnd : super::super::Foundation:: HWND , idobject : i32 , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateStdAccessibleObject(hwnd.into(), idobject, riid, ppvobject).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -74,7 +74,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "oleacc.dll""system" fn CreateStdAccessibleProxyA ( hwnd : super::super::Foundation:: HWND , pclassname : :: windows::core::PCSTR , idobject : i32 , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn CreateStdAccessibleProxyA ( hwnd : super::super::Foundation:: HWND , pclassname : :: windows::core::PCSTR , idobject : i32 , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateStdAccessibleProxyA(hwnd.into(), pclassname.into().abi(), idobject, riid, ppvobject).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -85,7 +85,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "oleacc.dll""system" fn CreateStdAccessibleProxyW ( hwnd : super::super::Foundation:: HWND , pclassname : :: windows::core::PCWSTR , idobject : i32 , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn CreateStdAccessibleProxyW ( hwnd : super::super::Foundation:: HWND , pclassname : :: windows::core::PCWSTR , idobject : i32 , riid : *const :: windows::core::GUID , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateStdAccessibleProxyW(hwnd.into(), pclassname.into().abi(), idobject, riid, ppvobject).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -94,7 +94,7 @@ pub unsafe fn DockPattern_SetDockPosition(hobj: P0, dockposition: DockPositi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn DockPattern_SetDockPosition ( hobj : HUIAPATTERNOBJECT , dockposition : DockPosition ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn DockPattern_SetDockPosition ( hobj : HUIAPATTERNOBJECT , dockposition : DockPosition ) -> :: windows::core::HRESULT ); DockPattern_SetDockPosition(hobj.into(), dockposition).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -103,7 +103,7 @@ pub unsafe fn ExpandCollapsePattern_Collapse(hobj: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn ExpandCollapsePattern_Collapse ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn ExpandCollapsePattern_Collapse ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); ExpandCollapsePattern_Collapse(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -112,37 +112,37 @@ pub unsafe fn ExpandCollapsePattern_Expand(hobj: P0) -> ::windows::core::Res where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn ExpandCollapsePattern_Expand ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn ExpandCollapsePattern_Expand ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); ExpandCollapsePattern_Expand(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn GetOleaccVersionInfo(pver: *mut u32, pbuild: *mut u32) { - ::windows::core::link ! ( "oleacc.dll""system" fn GetOleaccVersionInfo ( pver : *mut u32 , pbuild : *mut u32 ) -> ( ) ); + ::windows::imp::link ! ( "oleacc.dll""system" fn GetOleaccVersionInfo ( pver : *mut u32 , pbuild : *mut u32 ) -> ( ) ); GetOleaccVersionInfo(pver, pbuild) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn GetRoleTextA(lrole: u32, lpszrole: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "oleacc.dll""system" fn GetRoleTextA ( lrole : u32 , lpszrole : :: windows::core::PSTR , cchrolemax : u32 ) -> u32 ); + ::windows::imp::link ! ( "oleacc.dll""system" fn GetRoleTextA ( lrole : u32 , lpszrole : :: windows::core::PSTR , cchrolemax : u32 ) -> u32 ); GetRoleTextA(lrole, ::core::mem::transmute(lpszrole.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszrole.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn GetRoleTextW(lrole: u32, lpszrole: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "oleacc.dll""system" fn GetRoleTextW ( lrole : u32 , lpszrole : :: windows::core::PWSTR , cchrolemax : u32 ) -> u32 ); + ::windows::imp::link ! ( "oleacc.dll""system" fn GetRoleTextW ( lrole : u32 , lpszrole : :: windows::core::PWSTR , cchrolemax : u32 ) -> u32 ); GetRoleTextW(lrole, ::core::mem::transmute(lpszrole.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszrole.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn GetStateTextA(lstatebit: u32, lpszstate: ::core::option::Option<&mut [u8]>) -> u32 { - ::windows::core::link ! ( "oleacc.dll""system" fn GetStateTextA ( lstatebit : u32 , lpszstate : :: windows::core::PSTR , cchstate : u32 ) -> u32 ); + ::windows::imp::link ! ( "oleacc.dll""system" fn GetStateTextA ( lstatebit : u32 , lpszstate : :: windows::core::PSTR , cchstate : u32 ) -> u32 ); GetStateTextA(lstatebit, ::core::mem::transmute(lpszstate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszstate.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn GetStateTextW(lstatebit: u32, lpszstate: ::core::option::Option<&mut [u16]>) -> u32 { - ::windows::core::link ! ( "oleacc.dll""system" fn GetStateTextW ( lstatebit : u32 , lpszstate : :: windows::core::PWSTR , cchstate : u32 ) -> u32 ); + ::windows::imp::link ! ( "oleacc.dll""system" fn GetStateTextW ( lstatebit : u32 , lpszstate : :: windows::core::PWSTR , cchstate : u32 ) -> u32 ); GetStateTextW(lstatebit, ::core::mem::transmute(lpszstate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszstate.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -151,7 +151,7 @@ pub unsafe fn GridPattern_GetItem(hobj: P0, row: i32, column: i32, presult: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn GridPattern_GetItem ( hobj : HUIAPATTERNOBJECT , row : i32 , column : i32 , presult : *mut HUIANODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn GridPattern_GetItem ( hobj : HUIAPATTERNOBJECT , row : i32 , column : i32 , presult : *mut HUIANODE ) -> :: windows::core::HRESULT ); GridPattern_GetItem(hobj.into(), row, column, presult).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -160,14 +160,14 @@ pub unsafe fn InvokePattern_Invoke(hobj: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn InvokePattern_Invoke ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn InvokePattern_Invoke ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); InvokePattern_Invoke(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsWinEventHookInstalled(event: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsWinEventHookInstalled ( event : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsWinEventHookInstalled ( event : u32 ) -> super::super::Foundation:: BOOL ); IsWinEventHookInstalled(event) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -178,7 +178,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn ItemContainerPattern_FindItemByProperty ( hobj : HUIAPATTERNOBJECT , hnodestartafter : HUIANODE , propertyid : i32 , value : super::super::System::Com:: VARIANT , pfound : *mut HUIANODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn ItemContainerPattern_FindItemByProperty ( hobj : HUIAPATTERNOBJECT , hnodestartafter : HUIANODE , propertyid : i32 , value : super::super::System::Com:: VARIANT , pfound : *mut HUIANODE ) -> :: windows::core::HRESULT ); ItemContainerPattern_FindItemByProperty(hobj.into(), hnodestartafter.into(), propertyid, ::core::mem::transmute(value), pfound).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -187,7 +187,7 @@ pub unsafe fn LegacyIAccessiblePattern_DoDefaultAction(hobj: P0) -> ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn LegacyIAccessiblePattern_DoDefaultAction ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn LegacyIAccessiblePattern_DoDefaultAction ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); LegacyIAccessiblePattern_DoDefaultAction(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -197,7 +197,7 @@ pub unsafe fn LegacyIAccessiblePattern_GetIAccessible(hobj: P0) -> ::windows where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn LegacyIAccessiblePattern_GetIAccessible ( hobj : HUIAPATTERNOBJECT , paccessible : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn LegacyIAccessiblePattern_GetIAccessible ( hobj : HUIAPATTERNOBJECT , paccessible : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); LegacyIAccessiblePattern_GetIAccessible(hobj.into(), &mut result__).from_abi(result__) } @@ -207,7 +207,7 @@ pub unsafe fn LegacyIAccessiblePattern_Select(hobj: P0, flagsselect: i32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn LegacyIAccessiblePattern_Select ( hobj : HUIAPATTERNOBJECT , flagsselect : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn LegacyIAccessiblePattern_Select ( hobj : HUIAPATTERNOBJECT , flagsselect : i32 ) -> :: windows::core::HRESULT ); LegacyIAccessiblePattern_Select(hobj.into(), flagsselect).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -217,7 +217,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn LegacyIAccessiblePattern_SetValue ( hobj : HUIAPATTERNOBJECT , szvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn LegacyIAccessiblePattern_SetValue ( hobj : HUIAPATTERNOBJECT , szvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); LegacyIAccessiblePattern_SetValue(hobj.into(), szvalue.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -228,7 +228,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "oleacc.dll""system" fn LresultFromObject ( riid : *const :: windows::core::GUID , wparam : super::super::Foundation:: WPARAM , punk : * mut::core::ffi::c_void ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn LresultFromObject ( riid : *const :: windows::core::GUID , wparam : super::super::Foundation:: WPARAM , punk : * mut::core::ffi::c_void ) -> super::super::Foundation:: LRESULT ); LresultFromObject(riid, wparam.into(), punk.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -237,7 +237,7 @@ pub unsafe fn MultipleViewPattern_GetViewName(hobj: P0, viewid: i32, ppstr: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn MultipleViewPattern_GetViewName ( hobj : HUIAPATTERNOBJECT , viewid : i32 , ppstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn MultipleViewPattern_GetViewName ( hobj : HUIAPATTERNOBJECT , viewid : i32 , ppstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); MultipleViewPattern_GetViewName(hobj.into(), viewid, ::core::mem::transmute(ppstr)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -246,7 +246,7 @@ pub unsafe fn MultipleViewPattern_SetCurrentView(hobj: P0, viewid: i32) -> : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn MultipleViewPattern_SetCurrentView ( hobj : HUIAPATTERNOBJECT , viewid : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn MultipleViewPattern_SetCurrentView ( hobj : HUIAPATTERNOBJECT , viewid : i32 ) -> :: windows::core::HRESULT ); MultipleViewPattern_SetCurrentView(hobj.into(), viewid).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -256,7 +256,7 @@ pub unsafe fn NotifyWinEvent(event: u32, hwnd: P0, idobject: i32, idchild: i where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn NotifyWinEvent ( event : u32 , hwnd : super::super::Foundation:: HWND , idobject : i32 , idchild : i32 ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn NotifyWinEvent ( event : u32 , hwnd : super::super::Foundation:: HWND , idobject : i32 , idchild : i32 ) -> ( ) ); NotifyWinEvent(event, hwnd.into(), idobject, idchild) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -267,7 +267,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "oleacc.dll""system" fn ObjectFromLresult ( lresult : super::super::Foundation:: LRESULT , riid : *const :: windows::core::GUID , wparam : super::super::Foundation:: WPARAM , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn ObjectFromLresult ( lresult : super::super::Foundation:: LRESULT , riid : *const :: windows::core::GUID , wparam : super::super::Foundation:: WPARAM , ppvobject : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ObjectFromLresult(lresult.into(), riid, wparam.into(), ppvobject).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -276,7 +276,7 @@ pub unsafe fn RangeValuePattern_SetValue(hobj: P0, val: f64) -> ::windows::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn RangeValuePattern_SetValue ( hobj : HUIAPATTERNOBJECT , val : f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn RangeValuePattern_SetValue ( hobj : HUIAPATTERNOBJECT , val : f64 ) -> :: windows::core::HRESULT ); RangeValuePattern_SetValue(hobj.into(), val).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -286,7 +286,7 @@ pub unsafe fn RegisterPointerInputTarget(hwnd: P0, pointertype: super::Windo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterPointerInputTarget ( hwnd : super::super::Foundation:: HWND , pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterPointerInputTarget ( hwnd : super::super::Foundation:: HWND , pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE ) -> super::super::Foundation:: BOOL ); RegisterPointerInputTarget(hwnd.into(), pointertype) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -297,7 +297,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterPointerInputTargetEx ( hwnd : super::super::Foundation:: HWND , pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE , fobserve : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterPointerInputTargetEx ( hwnd : super::super::Foundation:: HWND , pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE , fobserve : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); RegisterPointerInputTargetEx(hwnd.into(), pointertype, fobserve.into()) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -306,7 +306,7 @@ pub unsafe fn ScrollItemPattern_ScrollIntoView(hobj: P0) -> ::windows::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn ScrollItemPattern_ScrollIntoView ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn ScrollItemPattern_ScrollIntoView ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); ScrollItemPattern_ScrollIntoView(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -315,7 +315,7 @@ pub unsafe fn ScrollPattern_Scroll(hobj: P0, horizontalamount: ScrollAmount, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn ScrollPattern_Scroll ( hobj : HUIAPATTERNOBJECT , horizontalamount : ScrollAmount , verticalamount : ScrollAmount ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn ScrollPattern_Scroll ( hobj : HUIAPATTERNOBJECT , horizontalamount : ScrollAmount , verticalamount : ScrollAmount ) -> :: windows::core::HRESULT ); ScrollPattern_Scroll(hobj.into(), horizontalamount, verticalamount).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -324,7 +324,7 @@ pub unsafe fn ScrollPattern_SetScrollPercent(hobj: P0, horizontalpercent: f6 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn ScrollPattern_SetScrollPercent ( hobj : HUIAPATTERNOBJECT , horizontalpercent : f64 , verticalpercent : f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn ScrollPattern_SetScrollPercent ( hobj : HUIAPATTERNOBJECT , horizontalpercent : f64 , verticalpercent : f64 ) -> :: windows::core::HRESULT ); ScrollPattern_SetScrollPercent(hobj.into(), horizontalpercent, verticalpercent).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -333,7 +333,7 @@ pub unsafe fn SelectionItemPattern_AddToSelection(hobj: P0) -> ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn SelectionItemPattern_AddToSelection ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn SelectionItemPattern_AddToSelection ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); SelectionItemPattern_AddToSelection(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -342,7 +342,7 @@ pub unsafe fn SelectionItemPattern_RemoveFromSelection(hobj: P0) -> ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn SelectionItemPattern_RemoveFromSelection ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn SelectionItemPattern_RemoveFromSelection ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); SelectionItemPattern_RemoveFromSelection(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn SelectionItemPattern_Select(hobj: P0) -> ::windows::core::Resu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn SelectionItemPattern_Select ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn SelectionItemPattern_Select ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); SelectionItemPattern_Select(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -361,7 +361,7 @@ pub unsafe fn SetWinEventHook(eventmin: u32, eventmax: u32, hmodwineventproc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWinEventHook ( eventmin : u32 , eventmax : u32 , hmodwineventproc : super::super::Foundation:: HINSTANCE , pfnwineventproc : WINEVENTPROC , idprocess : u32 , idthread : u32 , dwflags : u32 ) -> HWINEVENTHOOK ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWinEventHook ( eventmin : u32 , eventmax : u32 , hmodwineventproc : super::super::Foundation:: HINSTANCE , pfnwineventproc : WINEVENTPROC , idprocess : u32 , idthread : u32 , dwflags : u32 ) -> HWINEVENTHOOK ); SetWinEventHook(eventmin, eventmax, hmodwineventproc.into(), pfnwineventproc, idprocess, idthread, dwflags) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -370,7 +370,7 @@ pub unsafe fn SynchronizedInputPattern_Cancel(hobj: P0) -> ::windows::core:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn SynchronizedInputPattern_Cancel ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn SynchronizedInputPattern_Cancel ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); SynchronizedInputPattern_Cancel(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -379,7 +379,7 @@ pub unsafe fn SynchronizedInputPattern_StartListening(hobj: P0, inputtype: S where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn SynchronizedInputPattern_StartListening ( hobj : HUIAPATTERNOBJECT , inputtype : SynchronizedInputType ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn SynchronizedInputPattern_StartListening ( hobj : HUIAPATTERNOBJECT , inputtype : SynchronizedInputType ) -> :: windows::core::HRESULT ); SynchronizedInputPattern_StartListening(hobj.into(), inputtype).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -389,7 +389,7 @@ pub unsafe fn TextPattern_GetSelection(hobj: P0, pretval: *mut *mut super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextPattern_GetSelection ( hobj : HUIAPATTERNOBJECT , pretval : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextPattern_GetSelection ( hobj : HUIAPATTERNOBJECT , pretval : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); TextPattern_GetSelection(hobj.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -399,7 +399,7 @@ pub unsafe fn TextPattern_GetVisibleRanges(hobj: P0, pretval: *mut *mut supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextPattern_GetVisibleRanges ( hobj : HUIAPATTERNOBJECT , pretval : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextPattern_GetVisibleRanges ( hobj : HUIAPATTERNOBJECT , pretval : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); TextPattern_GetVisibleRanges(hobj.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -409,7 +409,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextPattern_RangeFromChild ( hobj : HUIAPATTERNOBJECT , hnodechild : HUIANODE , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextPattern_RangeFromChild ( hobj : HUIAPATTERNOBJECT , hnodechild : HUIANODE , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextPattern_RangeFromChild(hobj.into(), hnodechild.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -418,7 +418,7 @@ pub unsafe fn TextPattern_RangeFromPoint(hobj: P0, point: UiaPoint, pretval: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextPattern_RangeFromPoint ( hobj : HUIAPATTERNOBJECT , point : UiaPoint , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextPattern_RangeFromPoint ( hobj : HUIAPATTERNOBJECT , point : UiaPoint , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextPattern_RangeFromPoint(hobj.into(), ::core::mem::transmute(point), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -427,7 +427,7 @@ pub unsafe fn TextPattern_get_DocumentRange(hobj: P0, pretval: *mut HUIATEXT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextPattern_get_DocumentRange ( hobj : HUIAPATTERNOBJECT , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextPattern_get_DocumentRange ( hobj : HUIAPATTERNOBJECT , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextPattern_get_DocumentRange(hobj.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -436,7 +436,7 @@ pub unsafe fn TextPattern_get_SupportedTextSelection(hobj: P0, pretval: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextPattern_get_SupportedTextSelection ( hobj : HUIAPATTERNOBJECT , pretval : *mut SupportedTextSelection ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextPattern_get_SupportedTextSelection ( hobj : HUIAPATTERNOBJECT , pretval : *mut SupportedTextSelection ) -> :: windows::core::HRESULT ); TextPattern_get_SupportedTextSelection(hobj.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -445,7 +445,7 @@ pub unsafe fn TextRange_AddToSelection(hobj: P0) -> ::windows::core::Result< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_AddToSelection ( hobj : HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_AddToSelection ( hobj : HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextRange_AddToSelection(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -454,7 +454,7 @@ pub unsafe fn TextRange_Clone(hobj: P0, pretval: *mut HUIATEXTRANGE) -> ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_Clone ( hobj : HUIATEXTRANGE , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_Clone ( hobj : HUIATEXTRANGE , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextRange_Clone(hobj.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -465,7 +465,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_Compare ( hobj : HUIATEXTRANGE , range : HUIATEXTRANGE , pretval : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_Compare ( hobj : HUIATEXTRANGE , range : HUIATEXTRANGE , pretval : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); TextRange_Compare(hobj.into(), range.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -475,7 +475,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_CompareEndpoints ( hobj : HUIATEXTRANGE , endpoint : TextPatternRangeEndpoint , targetrange : HUIATEXTRANGE , targetendpoint : TextPatternRangeEndpoint , pretval : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_CompareEndpoints ( hobj : HUIATEXTRANGE , endpoint : TextPatternRangeEndpoint , targetrange : HUIATEXTRANGE , targetendpoint : TextPatternRangeEndpoint , pretval : *mut i32 ) -> :: windows::core::HRESULT ); TextRange_CompareEndpoints(hobj.into(), endpoint, targetrange.into(), targetendpoint, pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -484,7 +484,7 @@ pub unsafe fn TextRange_ExpandToEnclosingUnit(hobj: P0, unit: TextUnit) -> : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_ExpandToEnclosingUnit ( hobj : HUIATEXTRANGE , unit : TextUnit ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_ExpandToEnclosingUnit ( hobj : HUIATEXTRANGE , unit : TextUnit ) -> :: windows::core::HRESULT ); TextRange_ExpandToEnclosingUnit(hobj.into(), unit).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -495,7 +495,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_FindAttribute ( hobj : HUIATEXTRANGE , attributeid : i32 , val : super::super::System::Com:: VARIANT , backward : super::super::Foundation:: BOOL , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_FindAttribute ( hobj : HUIATEXTRANGE , attributeid : i32 , val : super::super::System::Com:: VARIANT , backward : super::super::Foundation:: BOOL , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextRange_FindAttribute(hobj.into(), attributeid, ::core::mem::transmute(val), backward.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -507,7 +507,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_FindText ( hobj : HUIATEXTRANGE , text : ::std::mem::MaybeUninit <::windows::core::BSTR > , backward : super::super::Foundation:: BOOL , ignorecase : super::super::Foundation:: BOOL , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_FindText ( hobj : HUIATEXTRANGE , text : ::std::mem::MaybeUninit <::windows::core::BSTR > , backward : super::super::Foundation:: BOOL , ignorecase : super::super::Foundation:: BOOL , pretval : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextRange_FindText(hobj.into(), ::core::mem::transmute_copy(text), backward.into(), ignorecase.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -517,7 +517,7 @@ pub unsafe fn TextRange_GetAttributeValue(hobj: P0, attributeid: i32, pretva where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_GetAttributeValue ( hobj : HUIATEXTRANGE , attributeid : i32 , pretval : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_GetAttributeValue ( hobj : HUIATEXTRANGE , attributeid : i32 , pretval : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); TextRange_GetAttributeValue(hobj.into(), attributeid, pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -527,7 +527,7 @@ pub unsafe fn TextRange_GetBoundingRectangles(hobj: P0, pretval: *mut *mut s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_GetBoundingRectangles ( hobj : HUIATEXTRANGE , pretval : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_GetBoundingRectangles ( hobj : HUIATEXTRANGE , pretval : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); TextRange_GetBoundingRectangles(hobj.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -537,7 +537,7 @@ pub unsafe fn TextRange_GetChildren(hobj: P0, pretval: *mut *mut super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_GetChildren ( hobj : HUIATEXTRANGE , pretval : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_GetChildren ( hobj : HUIATEXTRANGE , pretval : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); TextRange_GetChildren(hobj.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -546,7 +546,7 @@ pub unsafe fn TextRange_GetEnclosingElement(hobj: P0, pretval: *mut HUIANODE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_GetEnclosingElement ( hobj : HUIATEXTRANGE , pretval : *mut HUIANODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_GetEnclosingElement ( hobj : HUIATEXTRANGE , pretval : *mut HUIANODE ) -> :: windows::core::HRESULT ); TextRange_GetEnclosingElement(hobj.into(), pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -555,7 +555,7 @@ pub unsafe fn TextRange_GetText(hobj: P0, maxlength: i32, pretval: *mut ::wi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_GetText ( hobj : HUIATEXTRANGE , maxlength : i32 , pretval : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_GetText ( hobj : HUIATEXTRANGE , maxlength : i32 , pretval : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); TextRange_GetText(hobj.into(), maxlength, ::core::mem::transmute(pretval)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -564,7 +564,7 @@ pub unsafe fn TextRange_Move(hobj: P0, unit: TextUnit, count: i32, pretval: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_Move ( hobj : HUIATEXTRANGE , unit : TextUnit , count : i32 , pretval : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_Move ( hobj : HUIATEXTRANGE , unit : TextUnit , count : i32 , pretval : *mut i32 ) -> :: windows::core::HRESULT ); TextRange_Move(hobj.into(), unit, count, pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -574,7 +574,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_MoveEndpointByRange ( hobj : HUIATEXTRANGE , endpoint : TextPatternRangeEndpoint , targetrange : HUIATEXTRANGE , targetendpoint : TextPatternRangeEndpoint ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_MoveEndpointByRange ( hobj : HUIATEXTRANGE , endpoint : TextPatternRangeEndpoint , targetrange : HUIATEXTRANGE , targetendpoint : TextPatternRangeEndpoint ) -> :: windows::core::HRESULT ); TextRange_MoveEndpointByRange(hobj.into(), endpoint, targetrange.into(), targetendpoint).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -583,7 +583,7 @@ pub unsafe fn TextRange_MoveEndpointByUnit(hobj: P0, endpoint: TextPatternRa where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_MoveEndpointByUnit ( hobj : HUIATEXTRANGE , endpoint : TextPatternRangeEndpoint , unit : TextUnit , count : i32 , pretval : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_MoveEndpointByUnit ( hobj : HUIATEXTRANGE , endpoint : TextPatternRangeEndpoint , unit : TextUnit , count : i32 , pretval : *mut i32 ) -> :: windows::core::HRESULT ); TextRange_MoveEndpointByUnit(hobj.into(), endpoint, unit, count, pretval).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -592,7 +592,7 @@ pub unsafe fn TextRange_RemoveFromSelection(hobj: P0) -> ::windows::core::Re where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_RemoveFromSelection ( hobj : HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_RemoveFromSelection ( hobj : HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextRange_RemoveFromSelection(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -603,7 +603,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_ScrollIntoView ( hobj : HUIATEXTRANGE , aligntotop : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_ScrollIntoView ( hobj : HUIATEXTRANGE , aligntotop : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); TextRange_ScrollIntoView(hobj.into(), aligntotop.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -612,7 +612,7 @@ pub unsafe fn TextRange_Select(hobj: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TextRange_Select ( hobj : HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TextRange_Select ( hobj : HUIATEXTRANGE ) -> :: windows::core::HRESULT ); TextRange_Select(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -621,7 +621,7 @@ pub unsafe fn TogglePattern_Toggle(hobj: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TogglePattern_Toggle ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TogglePattern_Toggle ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); TogglePattern_Toggle(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -630,7 +630,7 @@ pub unsafe fn TransformPattern_Move(hobj: P0, x: f64, y: f64) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TransformPattern_Move ( hobj : HUIAPATTERNOBJECT , x : f64 , y : f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TransformPattern_Move ( hobj : HUIAPATTERNOBJECT , x : f64 , y : f64 ) -> :: windows::core::HRESULT ); TransformPattern_Move(hobj.into(), x, y).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -639,7 +639,7 @@ pub unsafe fn TransformPattern_Resize(hobj: P0, width: f64, height: f64) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TransformPattern_Resize ( hobj : HUIAPATTERNOBJECT , width : f64 , height : f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TransformPattern_Resize ( hobj : HUIAPATTERNOBJECT , width : f64 , height : f64 ) -> :: windows::core::HRESULT ); TransformPattern_Resize(hobj.into(), width, height).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -648,7 +648,7 @@ pub unsafe fn TransformPattern_Rotate(hobj: P0, degrees: f64) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn TransformPattern_Rotate ( hobj : HUIAPATTERNOBJECT , degrees : f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn TransformPattern_Rotate ( hobj : HUIAPATTERNOBJECT , degrees : f64 ) -> :: windows::core::HRESULT ); TransformPattern_Rotate(hobj.into(), degrees).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -658,20 +658,20 @@ pub unsafe fn UiaAddEvent(hnode: P0, eventid: i32, pcallback: *mut UiaEventC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaAddEvent ( hnode : HUIANODE , eventid : i32 , pcallback : *mut UiaEventCallback , scope : TreeScope , pproperties : *mut i32 , cproperties : i32 , prequest : *mut UiaCacheRequest , phevent : *mut HUIAEVENT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaAddEvent ( hnode : HUIANODE , eventid : i32 , pcallback : *mut UiaEventCallback , scope : TreeScope , pproperties : *mut i32 , cproperties : i32 , prequest : *mut UiaCacheRequest , phevent : *mut HUIAEVENT ) -> :: windows::core::HRESULT ); UiaAddEvent(hnode.into(), eventid, pcallback, scope, pproperties, cproperties, prequest, phevent).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UiaClientsAreListening() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaClientsAreListening ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaClientsAreListening ( ) -> super::super::Foundation:: BOOL ); UiaClientsAreListening() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn UiaDisconnectAllProviders() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaDisconnectAllProviders ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaDisconnectAllProviders ( ) -> :: windows::core::HRESULT ); UiaDisconnectAllProviders().ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -680,7 +680,7 @@ pub unsafe fn UiaDisconnectProvider(pprovider: P0) -> ::windows::core::Resul where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaDisconnectProvider ( pprovider : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaDisconnectProvider ( pprovider : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); UiaDisconnectProvider(pprovider.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -691,7 +691,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaEventAddWindow ( hevent : HUIAEVENT , hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaEventAddWindow ( hevent : HUIAEVENT , hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); UiaEventAddWindow(hevent.into(), hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -702,7 +702,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaEventRemoveWindow ( hevent : HUIAEVENT , hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaEventRemoveWindow ( hevent : HUIAEVENT , hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); UiaEventRemoveWindow(hevent.into(), hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -712,14 +712,14 @@ pub unsafe fn UiaFind(hnode: P0, pparams: *mut UiaFindParams, prequest: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaFind ( hnode : HUIANODE , pparams : *mut UiaFindParams , prequest : *mut UiaCacheRequest , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , ppoffsets : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructures : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaFind ( hnode : HUIANODE , pparams : *mut UiaFindParams , prequest : *mut UiaCacheRequest , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , ppoffsets : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructures : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); UiaFind(hnode.into(), pparams, prequest, pprequesteddata, ppoffsets, pptreestructures).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UiaGetErrorDescription(pdescription: *mut ::windows::core::BSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaGetErrorDescription ( pdescription : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaGetErrorDescription ( pdescription : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> super::super::Foundation:: BOOL ); UiaGetErrorDescription(::core::mem::transmute(pdescription)) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -728,7 +728,7 @@ pub unsafe fn UiaGetPatternProvider(hnode: P0, patternid: i32, phobj: *mut H where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaGetPatternProvider ( hnode : HUIANODE , patternid : i32 , phobj : *mut HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaGetPatternProvider ( hnode : HUIANODE , patternid : i32 , phobj : *mut HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); UiaGetPatternProvider(hnode.into(), patternid, phobj).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -738,27 +738,27 @@ pub unsafe fn UiaGetPropertyValue(hnode: P0, propertyid: i32, pvalue: *mut s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaGetPropertyValue ( hnode : HUIANODE , propertyid : i32 , pvalue : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaGetPropertyValue ( hnode : HUIANODE , propertyid : i32 , pvalue : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); UiaGetPropertyValue(hnode.into(), propertyid, pvalue).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn UiaGetReservedMixedAttributeValue() -> ::windows::core::Result<::windows::core::IUnknown> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaGetReservedMixedAttributeValue ( punkmixedattributevalue : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaGetReservedMixedAttributeValue ( punkmixedattributevalue : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); UiaGetReservedMixedAttributeValue(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn UiaGetReservedNotSupportedValue() -> ::windows::core::Result<::windows::core::IUnknown> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaGetReservedNotSupportedValue ( punknotsupportedvalue : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaGetReservedNotSupportedValue ( punknotsupportedvalue : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); UiaGetReservedNotSupportedValue(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn UiaGetRootNode(phnode: *mut HUIANODE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaGetRootNode ( phnode : *mut HUIANODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaGetRootNode ( phnode : *mut HUIANODE ) -> :: windows::core::HRESULT ); UiaGetRootNode(phnode).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -768,7 +768,7 @@ pub unsafe fn UiaGetRuntimeId(hnode: P0, pruntimeid: *mut *mut super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaGetRuntimeId ( hnode : HUIANODE , pruntimeid : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaGetRuntimeId ( hnode : HUIANODE , pruntimeid : *mut *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); UiaGetRuntimeId(hnode.into(), pruntimeid).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -778,28 +778,28 @@ pub unsafe fn UiaGetUpdatedCache(hnode: P0, prequest: *mut UiaCacheRequest, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaGetUpdatedCache ( hnode : HUIANODE , prequest : *mut UiaCacheRequest , normalizestate : NormalizeState , pnormalizecondition : *mut UiaCondition , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructure : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaGetUpdatedCache ( hnode : HUIANODE , prequest : *mut UiaCacheRequest , normalizestate : NormalizeState , pnormalizecondition : *mut UiaCondition , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructure : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); UiaGetUpdatedCache(hnode.into(), prequest, normalizestate, pnormalizecondition, pprequesteddata, ::core::mem::transmute(pptreestructure)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn UiaHPatternObjectFromVariant(pvar: *mut super::super::System::Com::VARIANT, phobj: *mut HUIAPATTERNOBJECT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaHPatternObjectFromVariant ( pvar : *mut super::super::System::Com:: VARIANT , phobj : *mut HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaHPatternObjectFromVariant ( pvar : *mut super::super::System::Com:: VARIANT , phobj : *mut HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); UiaHPatternObjectFromVariant(pvar, phobj).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn UiaHTextRangeFromVariant(pvar: *mut super::super::System::Com::VARIANT, phtextrange: *mut HUIATEXTRANGE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaHTextRangeFromVariant ( pvar : *mut super::super::System::Com:: VARIANT , phtextrange : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaHTextRangeFromVariant ( pvar : *mut super::super::System::Com:: VARIANT , phtextrange : *mut HUIATEXTRANGE ) -> :: windows::core::HRESULT ); UiaHTextRangeFromVariant(pvar, phtextrange).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn UiaHUiaNodeFromVariant(pvar: *mut super::super::System::Com::VARIANT, phnode: *mut HUIANODE) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaHUiaNodeFromVariant ( pvar : *mut super::super::System::Com:: VARIANT , phnode : *mut HUIANODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaHUiaNodeFromVariant ( pvar : *mut super::super::System::Com:: VARIANT , phnode : *mut HUIANODE ) -> :: windows::core::HRESULT ); UiaHUiaNodeFromVariant(pvar, phnode).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -809,7 +809,7 @@ pub unsafe fn UiaHasServerSideProvider(hwnd: P0) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaHasServerSideProvider ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaHasServerSideProvider ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); UiaHasServerSideProvider(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -819,7 +819,7 @@ pub unsafe fn UiaHostProviderFromHwnd(hwnd: P0) -> ::windows::core::Result, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaHostProviderFromHwnd ( hwnd : super::super::Foundation:: HWND , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaHostProviderFromHwnd ( hwnd : super::super::Foundation:: HWND , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); UiaHostProviderFromHwnd(hwnd.into(), &mut result__).from_abi(result__) } @@ -830,13 +830,13 @@ pub unsafe fn UiaIAccessibleFromProvider(pprovider: P0, dwflags: u32, ppacce where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaIAccessibleFromProvider ( pprovider : * mut::core::ffi::c_void , dwflags : u32 , ppaccessible : *mut * mut::core::ffi::c_void , pvarchild : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaIAccessibleFromProvider ( pprovider : * mut::core::ffi::c_void , dwflags : u32 , ppaccessible : *mut * mut::core::ffi::c_void , pvarchild : *mut super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); UiaIAccessibleFromProvider(pprovider.into().abi(), dwflags, ::core::mem::transmute(ppaccessible), pvarchild).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[inline] pub unsafe fn UiaLookupId(r#type: AutomationIdentifierType, pguid: *const ::windows::core::GUID) -> i32 { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaLookupId ( r#type : AutomationIdentifierType , pguid : *const :: windows::core::GUID ) -> i32 ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaLookupId ( r#type : AutomationIdentifierType , pguid : *const :: windows::core::GUID ) -> i32 ); UiaLookupId(r#type, pguid) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -846,14 +846,14 @@ pub unsafe fn UiaNavigate(hnode: P0, direction: NavigateDirection, pconditio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaNavigate ( hnode : HUIANODE , direction : NavigateDirection , pcondition : *mut UiaCondition , prequest : *mut UiaCacheRequest , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructure : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaNavigate ( hnode : HUIANODE , direction : NavigateDirection , pcondition : *mut UiaCondition , prequest : *mut UiaCacheRequest , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructure : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); UiaNavigate(hnode.into(), direction, pcondition, prequest, pprequesteddata, ::core::mem::transmute(pptreestructure)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn UiaNodeFromFocus(prequest: *mut UiaCacheRequest, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructure: *mut ::windows::core::BSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaNodeFromFocus ( prequest : *mut UiaCacheRequest , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructure : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaNodeFromFocus ( prequest : *mut UiaCacheRequest , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructure : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); UiaNodeFromFocus(prequest, pprequesteddata, ::core::mem::transmute(pptreestructure)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -863,14 +863,14 @@ pub unsafe fn UiaNodeFromHandle(hwnd: P0, phnode: *mut HUIANODE) -> ::window where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaNodeFromHandle ( hwnd : super::super::Foundation:: HWND , phnode : *mut HUIANODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaNodeFromHandle ( hwnd : super::super::Foundation:: HWND , phnode : *mut HUIANODE ) -> :: windows::core::HRESULT ); UiaNodeFromHandle(hwnd.into(), phnode).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn UiaNodeFromPoint(x: f64, y: f64, prequest: *mut UiaCacheRequest, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructure: *mut ::windows::core::BSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaNodeFromPoint ( x : f64 , y : f64 , prequest : *mut UiaCacheRequest , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructure : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaNodeFromPoint ( x : f64 , y : f64 , prequest : *mut UiaCacheRequest , pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY , pptreestructure : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); UiaNodeFromPoint(x, y, prequest, pprequesteddata, ::core::mem::transmute(pptreestructure)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -879,7 +879,7 @@ pub unsafe fn UiaNodeFromProvider(pprovider: P0, phnode: *mut HUIANODE) -> : where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaNodeFromProvider ( pprovider : * mut::core::ffi::c_void , phnode : *mut HUIANODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaNodeFromProvider ( pprovider : * mut::core::ffi::c_void , phnode : *mut HUIANODE ) -> :: windows::core::HRESULT ); UiaNodeFromProvider(pprovider.into().abi(), phnode).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -889,7 +889,7 @@ pub unsafe fn UiaNodeRelease(hnode: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaNodeRelease ( hnode : HUIANODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaNodeRelease ( hnode : HUIANODE ) -> super::super::Foundation:: BOOL ); UiaNodeRelease(hnode.into()) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -899,7 +899,7 @@ pub unsafe fn UiaPatternRelease(hobj: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaPatternRelease ( hobj : HUIAPATTERNOBJECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaPatternRelease ( hobj : HUIAPATTERNOBJECT ) -> super::super::Foundation:: BOOL ); UiaPatternRelease(hobj.into()) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -909,7 +909,7 @@ pub unsafe fn UiaProviderForNonClient(hwnd: P0, idobject: i32, idchild: i32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaProviderForNonClient ( hwnd : super::super::Foundation:: HWND , idobject : i32 , idchild : i32 , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaProviderForNonClient ( hwnd : super::super::Foundation:: HWND , idobject : i32 , idchild : i32 , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); UiaProviderForNonClient(hwnd.into(), idobject, idchild, &mut result__).from_abi(result__) } @@ -920,7 +920,7 @@ pub unsafe fn UiaProviderFromIAccessible(paccessible: P0, idchild: i32, dwfl where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaProviderFromIAccessible ( paccessible : * mut::core::ffi::c_void , idchild : i32 , dwflags : u32 , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaProviderFromIAccessible ( paccessible : * mut::core::ffi::c_void , idchild : i32 , dwflags : u32 , ppprovider : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); UiaProviderFromIAccessible(paccessible.into().abi(), idchild, dwflags, &mut result__).from_abi(result__) } @@ -931,7 +931,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRaiseActiveTextPositionChangedEvent ( provider : * mut::core::ffi::c_void , textrange : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRaiseActiveTextPositionChangedEvent ( provider : * mut::core::ffi::c_void , textrange : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); UiaRaiseActiveTextPositionChangedEvent(provider.into().abi(), textrange.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -940,7 +940,7 @@ pub unsafe fn UiaRaiseAsyncContentLoadedEvent(pprovider: P0, asynccontentloa where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRaiseAsyncContentLoadedEvent ( pprovider : * mut::core::ffi::c_void , asynccontentloadedstate : AsyncContentLoadedState , percentcomplete : f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRaiseAsyncContentLoadedEvent ( pprovider : * mut::core::ffi::c_void , asynccontentloadedstate : AsyncContentLoadedState , percentcomplete : f64 ) -> :: windows::core::HRESULT ); UiaRaiseAsyncContentLoadedEvent(pprovider.into().abi(), asynccontentloadedstate, percentcomplete).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -949,7 +949,7 @@ pub unsafe fn UiaRaiseAutomationEvent(pprovider: P0, id: UIA_EVENT_ID) -> :: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRaiseAutomationEvent ( pprovider : * mut::core::ffi::c_void , id : UIA_EVENT_ID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRaiseAutomationEvent ( pprovider : * mut::core::ffi::c_void , id : UIA_EVENT_ID ) -> :: windows::core::HRESULT ); UiaRaiseAutomationEvent(pprovider.into().abi(), id).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -959,7 +959,7 @@ pub unsafe fn UiaRaiseAutomationPropertyChangedEvent(pprovider: P0, id: UIA_ where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRaiseAutomationPropertyChangedEvent ( pprovider : * mut::core::ffi::c_void , id : UIA_PROPERTY_ID , oldvalue : super::super::System::Com:: VARIANT , newvalue : super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRaiseAutomationPropertyChangedEvent ( pprovider : * mut::core::ffi::c_void , id : UIA_PROPERTY_ID , oldvalue : super::super::System::Com:: VARIANT , newvalue : super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); UiaRaiseAutomationPropertyChangedEvent(pprovider.into().abi(), id, ::core::mem::transmute(oldvalue), ::core::mem::transmute(newvalue)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -969,7 +969,7 @@ pub unsafe fn UiaRaiseChangesEvent(pprovider: P0, eventidcount: i32, puiacha where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRaiseChangesEvent ( pprovider : * mut::core::ffi::c_void , eventidcount : i32 , puiachanges : *mut UiaChangeInfo ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRaiseChangesEvent ( pprovider : * mut::core::ffi::c_void , eventidcount : i32 , puiachanges : *mut UiaChangeInfo ) -> :: windows::core::HRESULT ); UiaRaiseChangesEvent(pprovider.into().abi(), eventidcount, puiachanges).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -978,7 +978,7 @@ pub unsafe fn UiaRaiseNotificationEvent(provider: P0, notificationkind: Noti where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRaiseNotificationEvent ( provider : * mut::core::ffi::c_void , notificationkind : NotificationKind , notificationprocessing : NotificationProcessing , displaystring : ::std::mem::MaybeUninit <::windows::core::BSTR > , activityid : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRaiseNotificationEvent ( provider : * mut::core::ffi::c_void , notificationkind : NotificationKind , notificationprocessing : NotificationProcessing , displaystring : ::std::mem::MaybeUninit <::windows::core::BSTR > , activityid : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); UiaRaiseNotificationEvent(provider.into().abi(), notificationkind, notificationprocessing, ::core::mem::transmute_copy(displaystring), ::core::mem::transmute_copy(activityid)).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -987,7 +987,7 @@ pub unsafe fn UiaRaiseStructureChangedEvent(pprovider: P0, structurechangety where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRaiseStructureChangedEvent ( pprovider : * mut::core::ffi::c_void , structurechangetype : StructureChangeType , pruntimeid : *mut i32 , cruntimeidlen : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRaiseStructureChangedEvent ( pprovider : * mut::core::ffi::c_void , structurechangetype : StructureChangeType , pruntimeid : *mut i32 , cruntimeidlen : i32 ) -> :: windows::core::HRESULT ); UiaRaiseStructureChangedEvent(pprovider.into().abi(), structurechangetype, pruntimeid, cruntimeidlen).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] @@ -997,14 +997,14 @@ pub unsafe fn UiaRaiseTextEditTextChangedEvent(pprovider: P0, texteditchange where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRaiseTextEditTextChangedEvent ( pprovider : * mut::core::ffi::c_void , texteditchangetype : TextEditChangeType , pchangeddata : *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRaiseTextEditTextChangedEvent ( pprovider : * mut::core::ffi::c_void , texteditchangetype : TextEditChangeType , pchangeddata : *mut super::super::System::Com:: SAFEARRAY ) -> :: windows::core::HRESULT ); UiaRaiseTextEditTextChangedEvent(pprovider.into().abi(), texteditchangetype, pchangeddata).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] #[inline] pub unsafe fn UiaRegisterProviderCallback(pcallback: *mut UiaProviderCallback) { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRegisterProviderCallback ( pcallback : *mut UiaProviderCallback ) -> ( ) ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRegisterProviderCallback ( pcallback : *mut UiaProviderCallback ) -> ( ) ); UiaRegisterProviderCallback(pcallback) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -1013,7 +1013,7 @@ pub unsafe fn UiaRemoveEvent(hevent: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaRemoveEvent ( hevent : HUIAEVENT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaRemoveEvent ( hevent : HUIAEVENT ) -> :: windows::core::HRESULT ); UiaRemoveEvent(hevent.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -1026,7 +1026,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaReturnRawElementProvider ( hwnd : super::super::Foundation:: HWND , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , el : * mut::core::ffi::c_void ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaReturnRawElementProvider ( hwnd : super::super::Foundation:: HWND , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , el : * mut::core::ffi::c_void ) -> super::super::Foundation:: LRESULT ); UiaReturnRawElementProvider(hwnd.into(), wparam.into(), lparam.into(), el.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -1035,7 +1035,7 @@ pub unsafe fn UiaSetFocus(hnode: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaSetFocus ( hnode : HUIANODE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaSetFocus ( hnode : HUIANODE ) -> :: windows::core::HRESULT ); UiaSetFocus(hnode.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -1045,7 +1045,7 @@ pub unsafe fn UiaTextRangeRelease(hobj: P0) -> super::super::Foundation::BOO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn UiaTextRangeRelease ( hobj : HUIATEXTRANGE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn UiaTextRangeRelease ( hobj : HUIATEXTRANGE ) -> super::super::Foundation:: BOOL ); UiaTextRangeRelease(hobj.into()) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -1055,7 +1055,7 @@ pub unsafe fn UnhookWinEvent(hwineventhook: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnhookWinEvent ( hwineventhook : HWINEVENTHOOK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnhookWinEvent ( hwineventhook : HWINEVENTHOOK ) -> super::super::Foundation:: BOOL ); UnhookWinEvent(hwineventhook.into()) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1065,7 +1065,7 @@ pub unsafe fn UnregisterPointerInputTarget(hwnd: P0, pointertype: super::Win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterPointerInputTarget ( hwnd : super::super::Foundation:: HWND , pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterPointerInputTarget ( hwnd : super::super::Foundation:: HWND , pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE ) -> super::super::Foundation:: BOOL ); UnregisterPointerInputTarget(hwnd.into(), pointertype) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1075,7 +1075,7 @@ pub unsafe fn UnregisterPointerInputTargetEx(hwnd: P0, pointertype: super::W where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterPointerInputTargetEx ( hwnd : super::super::Foundation:: HWND , pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterPointerInputTargetEx ( hwnd : super::super::Foundation:: HWND , pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE ) -> super::super::Foundation:: BOOL ); UnregisterPointerInputTargetEx(hwnd.into(), pointertype) } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -1085,7 +1085,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn ValuePattern_SetValue ( hobj : HUIAPATTERNOBJECT , pval : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn ValuePattern_SetValue ( hobj : HUIAPATTERNOBJECT , pval : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); ValuePattern_SetValue(hobj.into(), pval.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -1094,7 +1094,7 @@ pub unsafe fn VirtualizedItemPattern_Realize(hobj: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn VirtualizedItemPattern_Realize ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn VirtualizedItemPattern_Realize ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); VirtualizedItemPattern_Realize(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1104,7 +1104,7 @@ pub unsafe fn WindowFromAccessibleObject(param0: P0, phwnd: ::core::option:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "oleacc.dll""system" fn WindowFromAccessibleObject ( param0 : * mut::core::ffi::c_void , phwnd : *mut super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "oleacc.dll""system" fn WindowFromAccessibleObject ( param0 : * mut::core::ffi::c_void , phwnd : *mut super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); WindowFromAccessibleObject(param0.into().abi(), ::core::mem::transmute(phwnd.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -1113,7 +1113,7 @@ pub unsafe fn WindowPattern_Close(hobj: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn WindowPattern_Close ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn WindowPattern_Close ( hobj : HUIAPATTERNOBJECT ) -> :: windows::core::HRESULT ); WindowPattern_Close(hobj.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -1122,7 +1122,7 @@ pub unsafe fn WindowPattern_SetWindowVisualState(hobj: P0, state: WindowVisu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn WindowPattern_SetWindowVisualState ( hobj : HUIAPATTERNOBJECT , state : WindowVisualState ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn WindowPattern_SetWindowVisualState ( hobj : HUIAPATTERNOBJECT , state : WindowVisualState ) -> :: windows::core::HRESULT ); WindowPattern_SetWindowVisualState(hobj.into(), state).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`*"] @@ -1132,7 +1132,7 @@ pub unsafe fn WindowPattern_WaitForInputIdle(hobj: P0, milliseconds: i32, pr where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uiautomationcore.dll""system" fn WindowPattern_WaitForInputIdle ( hobj : HUIAPATTERNOBJECT , milliseconds : i32 , presult : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uiautomationcore.dll""system" fn WindowPattern_WaitForInputIdle ( hobj : HUIAPATTERNOBJECT , milliseconds : i32 , presult : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); WindowPattern_WaitForInputIdle(hobj.into(), milliseconds, presult).ok() } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] @@ -1143,7 +1143,7 @@ impl IAccIdentity { (::windows::core::Vtable::vtable(self).GetIdentityString)(::windows::core::Vtable::as_raw(self), dwidchild, ppidstring, pdwidstringlen).ok() } } -::windows::core::interface_hierarchy!(IAccIdentity, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccIdentity, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccIdentity { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1182,7 +1182,7 @@ impl IAccPropServer { (::windows::core::Vtable::vtable(self).GetPropValue)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pidstring.as_ptr()), pidstring.len() as _, ::core::mem::transmute(idprop), pvarvalue, pfhasprop).ok() } } -::windows::core::interface_hierarchy!(IAccPropServer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccPropServer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccPropServer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1327,7 +1327,7 @@ impl IAccPropServices { (::windows::core::Vtable::vtable(self).DecomposeHmenuIdentityString)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pidstring.as_ptr()), pidstring.len() as _, phmenu, pidchild).ok() } } -::windows::core::interface_hierarchy!(IAccPropServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccPropServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccPropServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1535,7 +1535,7 @@ impl IAccessible { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IAccessible, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IAccessible, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IAccessible { fn eq(&self, other: &Self) -> bool { @@ -1678,7 +1678,7 @@ impl IAccessibleEx { (::windows::core::Vtable::vtable(self).ConvertReturnedElement)(::windows::core::Vtable::as_raw(self), pin.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAccessibleEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccessibleEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccessibleEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1727,7 +1727,7 @@ impl IAccessibleHandler { (::windows::core::Vtable::vtable(self).AccessibleObjectFromID)(::windows::core::Vtable::as_raw(self), hwnd, lobjectid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAccessibleHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccessibleHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccessibleHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1777,7 +1777,7 @@ impl IAccessibleHostingElementProviders { (::windows::core::Vtable::vtable(self).GetObjectIdForProvider)(::windows::core::Vtable::as_raw(self), pprovider.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAccessibleHostingElementProviders, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccessibleHostingElementProviders, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccessibleHostingElementProviders { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1843,7 +1843,7 @@ impl IAccessibleWindowlessSite { (::windows::core::Vtable::vtable(self).GetParentAccessible)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAccessibleWindowlessSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccessibleWindowlessSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccessibleWindowlessSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1906,7 +1906,7 @@ impl IAnnotationProvider { (::windows::core::Vtable::vtable(self).Target)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAnnotationProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAnnotationProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAnnotationProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1948,7 +1948,7 @@ impl ICustomNavigationProvider { (::windows::core::Vtable::vtable(self).Navigate)(::windows::core::Vtable::as_raw(self), direction, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICustomNavigationProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICustomNavigationProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICustomNavigationProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1989,7 +1989,7 @@ impl IDockProvider { (::windows::core::Vtable::vtable(self).DockPosition)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDockProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDockProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDockProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2046,7 +2046,7 @@ impl IDragProvider { (::windows::core::Vtable::vtable(self).GetGrabbedItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDragProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDragProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDragProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2102,7 +2102,7 @@ impl IDropTargetProvider { (::windows::core::Vtable::vtable(self).DropTargetEffects)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDropTargetProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDropTargetProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDropTargetProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2150,7 +2150,7 @@ impl IExpandCollapseProvider { (::windows::core::Vtable::vtable(self).ExpandCollapseState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExpandCollapseProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExpandCollapseProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExpandCollapseProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2206,7 +2206,7 @@ impl IGridItemProvider { (::windows::core::Vtable::vtable(self).ContainingGrid)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGridItemProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGridItemProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGridItemProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2256,7 +2256,7 @@ impl IGridProvider { (::windows::core::Vtable::vtable(self).ColumnCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IGridProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGridProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGridProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2295,7 +2295,7 @@ impl IInvokeProvider { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInvokeProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInvokeProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInvokeProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2338,7 +2338,7 @@ impl IItemContainerProvider { (::windows::core::Vtable::vtable(self).FindItemByProperty)(::windows::core::Vtable::as_raw(self), pstartafter.into().abi(), propertyid, ::core::mem::transmute(value), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IItemContainerProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IItemContainerProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IItemContainerProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2435,7 +2435,7 @@ impl ILegacyIAccessibleProvider { (::windows::core::Vtable::vtable(self).DefaultAction)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILegacyIAccessibleProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILegacyIAccessibleProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILegacyIAccessibleProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2505,7 +2505,7 @@ impl IMultipleViewProvider { (::windows::core::Vtable::vtable(self).GetSupportedViews)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMultipleViewProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMultipleViewProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMultipleViewProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2549,7 +2549,7 @@ impl IObjectModelProvider { (::windows::core::Vtable::vtable(self).GetUnderlyingObjectModel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectModelProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectModelProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectModelProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2592,7 +2592,7 @@ impl IProxyProviderWinEventHandler { (::windows::core::Vtable::vtable(self).RespondToWinEvent)(::windows::core::Vtable::as_raw(self), idwinevent, hwnd.into(), idobject, idchild, psink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IProxyProviderWinEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProxyProviderWinEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProxyProviderWinEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2651,7 +2651,7 @@ impl IProxyProviderWinEventSink { (::windows::core::Vtable::vtable(self).AddStructureChangedEvent)(::windows::core::Vtable::as_raw(self), pprovider.into().abi(), structurechangetype, runtimeid).ok() } } -::windows::core::interface_hierarchy!(IProxyProviderWinEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProxyProviderWinEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProxyProviderWinEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2722,7 +2722,7 @@ impl IRangeValueProvider { (::windows::core::Vtable::vtable(self).SmallChange)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRangeValueProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRangeValueProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRangeValueProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2775,7 +2775,7 @@ impl IRawElementProviderAdviseEvents { (::windows::core::Vtable::vtable(self).AdviseEventRemoved)(::windows::core::Vtable::as_raw(self), eventid, propertyids).ok() } } -::windows::core::interface_hierarchy!(IRawElementProviderAdviseEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRawElementProviderAdviseEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRawElementProviderAdviseEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2843,7 +2843,7 @@ impl IRawElementProviderFragment { (::windows::core::Vtable::vtable(self).FragmentRoot)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRawElementProviderFragment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRawElementProviderFragment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRawElementProviderFragment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2896,7 +2896,7 @@ impl IRawElementProviderFragmentRoot { (::windows::core::Vtable::vtable(self).GetFocus)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRawElementProviderFragmentRoot, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRawElementProviderFragmentRoot, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRawElementProviderFragmentRoot { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2937,7 +2937,7 @@ impl IRawElementProviderHostingAccessibles { (::windows::core::Vtable::vtable(self).GetEmbeddedAccessibles)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRawElementProviderHostingAccessibles, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRawElementProviderHostingAccessibles, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRawElementProviderHostingAccessibles { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2983,7 +2983,7 @@ impl IRawElementProviderHwndOverride { (::windows::core::Vtable::vtable(self).GetOverrideProviderForHwnd)(::windows::core::Vtable::as_raw(self), hwnd.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRawElementProviderHwndOverride, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRawElementProviderHwndOverride, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRawElementProviderHwndOverride { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3038,7 +3038,7 @@ impl IRawElementProviderSimple { (::windows::core::Vtable::vtable(self).HostRawElementProvider)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRawElementProviderSimple, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRawElementProviderSimple, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRawElementProviderSimple { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3099,7 +3099,7 @@ impl IRawElementProviderSimple2 { (::windows::core::Vtable::vtable(self).ShowContextMenu)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRawElementProviderSimple2, ::windows::core::IUnknown, IRawElementProviderSimple); +::windows::imp::interface_hierarchy!(IRawElementProviderSimple2, ::windows::core::IUnknown, IRawElementProviderSimple); impl ::core::cmp::PartialEq for IRawElementProviderSimple2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3160,7 +3160,7 @@ impl IRawElementProviderSimple3 { (::windows::core::Vtable::vtable(self).GetMetadataValue)(::windows::core::Vtable::as_raw(self), targetid, metadataid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRawElementProviderSimple3, ::windows::core::IUnknown, IRawElementProviderSimple, IRawElementProviderSimple2); +::windows::imp::interface_hierarchy!(IRawElementProviderSimple3, ::windows::core::IUnknown, IRawElementProviderSimple, IRawElementProviderSimple2); impl ::core::cmp::PartialEq for IRawElementProviderSimple3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3207,7 +3207,7 @@ impl IRawElementProviderWindowlessSite { (::windows::core::Vtable::vtable(self).GetRuntimeIdPrefix)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRawElementProviderWindowlessSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRawElementProviderWindowlessSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRawElementProviderWindowlessSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3251,7 +3251,7 @@ impl IRichEditUiaInformation { (::windows::core::Vtable::vtable(self).IsVisible)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IRichEditUiaInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRichEditUiaInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRichEditUiaInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3293,7 +3293,7 @@ impl IRicheditWindowlessAccessibility { (::windows::core::Vtable::vtable(self).CreateProvider)(::windows::core::Vtable::as_raw(self), psite.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRicheditWindowlessAccessibility, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRicheditWindowlessAccessibility, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRicheditWindowlessAccessibility { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3330,7 +3330,7 @@ impl IScrollItemProvider { (::windows::core::Vtable::vtable(self).ScrollIntoView)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IScrollItemProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IScrollItemProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IScrollItemProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3398,7 +3398,7 @@ impl IScrollProvider { (::windows::core::Vtable::vtable(self).VerticallyScrollable)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IScrollProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IScrollProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IScrollProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3464,7 +3464,7 @@ impl ISelectionItemProvider { (::windows::core::Vtable::vtable(self).SelectionContainer)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISelectionItemProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISelectionItemProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISelectionItemProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3523,7 +3523,7 @@ impl ISelectionProvider { (::windows::core::Vtable::vtable(self).IsSelectionRequired)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISelectionProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISelectionProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISelectionProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3602,7 +3602,7 @@ impl ISelectionProvider2 { (::windows::core::Vtable::vtable(self).ItemCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISelectionProvider2, ::windows::core::IUnknown, ISelectionProvider); +::windows::imp::interface_hierarchy!(ISelectionProvider2, ::windows::core::IUnknown, ISelectionProvider); impl ::core::cmp::PartialEq for ISelectionProvider2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3655,7 +3655,7 @@ impl ISpreadsheetItemProvider { (::windows::core::Vtable::vtable(self).GetAnnotationTypes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpreadsheetItemProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpreadsheetItemProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpreadsheetItemProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3704,7 +3704,7 @@ impl ISpreadsheetProvider { (::windows::core::Vtable::vtable(self).GetItemByName)(::windows::core::Vtable::as_raw(self), name.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISpreadsheetProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpreadsheetProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpreadsheetProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3766,7 +3766,7 @@ impl IStylesProvider { (::windows::core::Vtable::vtable(self).ExtendedProperties)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStylesProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStylesProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStylesProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3812,7 +3812,7 @@ impl ISynchronizedInputProvider { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISynchronizedInputProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISynchronizedInputProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISynchronizedInputProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3859,7 +3859,7 @@ impl ITableItemProvider { (::windows::core::Vtable::vtable(self).GetColumnHeaderItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITableItemProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITableItemProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITableItemProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3916,7 +3916,7 @@ impl ITableProvider { (::windows::core::Vtable::vtable(self).RowOrColumnMajor)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITableProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITableProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITableProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3966,7 +3966,7 @@ impl ITextChildProvider { (::windows::core::Vtable::vtable(self).TextRange)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITextChildProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextChildProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextChildProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4040,7 +4040,7 @@ impl ITextEditProvider { (::windows::core::Vtable::vtable(self).GetConversionTarget)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITextEditProvider, ::windows::core::IUnknown, ITextProvider); +::windows::imp::interface_hierarchy!(ITextEditProvider, ::windows::core::IUnknown, ITextProvider); impl ::core::cmp::PartialEq for ITextEditProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4106,7 +4106,7 @@ impl ITextProvider { (::windows::core::Vtable::vtable(self).SupportedTextSelection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITextProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4194,7 +4194,7 @@ impl ITextProvider2 { (::windows::core::Vtable::vtable(self).GetCaretRange)(::windows::core::Vtable::as_raw(self), isactive, ::core::mem::transmute(pretval)).ok() } } -::windows::core::interface_hierarchy!(ITextProvider2, ::windows::core::IUnknown, ITextProvider); +::windows::imp::interface_hierarchy!(ITextProvider2, ::windows::core::IUnknown, ITextProvider); impl ::core::cmp::PartialEq for ITextProvider2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4331,7 +4331,7 @@ impl ITextRangeProvider { (::windows::core::Vtable::vtable(self).GetChildren)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITextRangeProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextRangeProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextRangeProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4505,7 +4505,7 @@ impl ITextRangeProvider2 { (::windows::core::Vtable::vtable(self).ShowContextMenu)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITextRangeProvider2, ::windows::core::IUnknown, ITextRangeProvider); +::windows::imp::interface_hierarchy!(ITextRangeProvider2, ::windows::core::IUnknown, ITextRangeProvider); impl ::core::cmp::PartialEq for ITextRangeProvider2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4546,7 +4546,7 @@ impl IToggleProvider { (::windows::core::Vtable::vtable(self).ToggleState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IToggleProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IToggleProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IToggleProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4608,7 +4608,7 @@ impl ITransformProvider { (::windows::core::Vtable::vtable(self).CanRotate)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransformProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransformProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransformProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4707,7 +4707,7 @@ impl ITransformProvider2 { (::windows::core::Vtable::vtable(self).ZoomByUnit)(::windows::core::Vtable::as_raw(self), zoomunit).ok() } } -::windows::core::interface_hierarchy!(ITransformProvider2, ::windows::core::IUnknown, ITransformProvider); +::windows::imp::interface_hierarchy!(ITransformProvider2, ::windows::core::IUnknown, ITransformProvider); impl ::core::cmp::PartialEq for ITransformProvider2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5086,7 +5086,7 @@ impl IUIAutomation { (::windows::core::Vtable::vtable(self).ElementFromIAccessibleBuildCache)(::windows::core::Vtable::as_raw(self), accessible.into().abi(), childid, cacherequest.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5602,7 +5602,7 @@ impl IUIAutomation2 { (::windows::core::Vtable::vtable(self).SetTransactionTimeout)(::windows::core::Vtable::as_raw(self), timeout).ok() } } -::windows::core::interface_hierarchy!(IUIAutomation2, ::windows::core::IUnknown, IUIAutomation); +::windows::imp::interface_hierarchy!(IUIAutomation2, ::windows::core::IUnknown, IUIAutomation); impl ::core::cmp::PartialEq for IUIAutomation2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6027,7 +6027,7 @@ impl IUIAutomation3 { (::windows::core::Vtable::vtable(self).RemoveTextEditTextChangedEventHandler)(::windows::core::Vtable::as_raw(self), element.into().abi(), handler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAutomation3, ::windows::core::IUnknown, IUIAutomation, IUIAutomation2); +::windows::imp::interface_hierarchy!(IUIAutomation3, ::windows::core::IUnknown, IUIAutomation, IUIAutomation2); impl ::core::cmp::PartialEq for IUIAutomation3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6457,7 +6457,7 @@ impl IUIAutomation4 { (::windows::core::Vtable::vtable(self).RemoveChangesEventHandler)(::windows::core::Vtable::as_raw(self), element.into().abi(), handler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAutomation4, ::windows::core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3); +::windows::imp::interface_hierarchy!(IUIAutomation4, ::windows::core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3); impl ::core::cmp::PartialEq for IUIAutomation4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6902,7 +6902,7 @@ impl IUIAutomation5 { (::windows::core::Vtable::vtable(self).RemoveNotificationEventHandler)(::windows::core::Vtable::as_raw(self), element.into().abi(), handler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAutomation5, ::windows::core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4); +::windows::imp::interface_hierarchy!(IUIAutomation5, ::windows::core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4); impl ::core::cmp::PartialEq for IUIAutomation5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7394,7 +7394,7 @@ impl IUIAutomation6 { (::windows::core::Vtable::vtable(self).RemoveActiveTextPositionChangedEventHandler)(::windows::core::Vtable::as_raw(self), element.into().abi(), handler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAutomation6, ::windows::core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4, IUIAutomation5); +::windows::imp::interface_hierarchy!(IUIAutomation6, ::windows::core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4, IUIAutomation5); impl ::core::cmp::PartialEq for IUIAutomation6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7443,7 +7443,7 @@ impl IUIAutomationActiveTextPositionChangedEventHandler { (::windows::core::Vtable::vtable(self).HandleActiveTextPositionChangedEvent)(::windows::core::Vtable::as_raw(self), sender.into().abi(), range.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationActiveTextPositionChangedEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationActiveTextPositionChangedEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationActiveTextPositionChangedEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7490,7 +7490,7 @@ impl IUIAutomationAndCondition { (::windows::core::Vtable::vtable(self).GetChildren)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationAndCondition, ::windows::core::IUnknown, IUIAutomationCondition); +::windows::imp::interface_hierarchy!(IUIAutomationAndCondition, ::windows::core::IUnknown, IUIAutomationCondition); impl ::core::cmp::PartialEq for IUIAutomationAndCondition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7569,7 +7569,7 @@ impl IUIAutomationAnnotationPattern { (::windows::core::Vtable::vtable(self).CachedTarget)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationAnnotationPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationAnnotationPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationAnnotationPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7618,7 +7618,7 @@ impl IUIAutomationBoolCondition { (::windows::core::Vtable::vtable(self).BooleanValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationBoolCondition, ::windows::core::IUnknown, IUIAutomationCondition); +::windows::imp::interface_hierarchy!(IUIAutomationBoolCondition, ::windows::core::IUnknown, IUIAutomationCondition); impl ::core::cmp::PartialEq for IUIAutomationBoolCondition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7689,7 +7689,7 @@ impl IUIAutomationCacheRequest { (::windows::core::Vtable::vtable(self).SetAutomationElementMode)(::windows::core::Vtable::as_raw(self), mode).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationCacheRequest, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationCacheRequest, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationCacheRequest { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7739,7 +7739,7 @@ impl IUIAutomationChangesEventHandler { (::windows::core::Vtable::vtable(self).HandleChangesEvent)(::windows::core::Vtable::as_raw(self), sender.into().abi(), ::core::mem::transmute(uiachanges.as_ptr()), uiachanges.len() as _).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationChangesEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationChangesEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationChangesEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7775,7 +7775,7 @@ pub struct IUIAutomationChangesEventHandler_Vtbl { #[repr(transparent)] pub struct IUIAutomationCondition(::windows::core::IUnknown); impl IUIAutomationCondition {} -::windows::core::interface_hierarchy!(IUIAutomationCondition, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationCondition, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationCondition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7812,7 +7812,7 @@ impl IUIAutomationCustomNavigationPattern { (::windows::core::Vtable::vtable(self).Navigate)(::windows::core::Vtable::as_raw(self), direction, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationCustomNavigationPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationCustomNavigationPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationCustomNavigationPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7857,7 +7857,7 @@ impl IUIAutomationDockPattern { (::windows::core::Vtable::vtable(self).CachedDockPosition)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationDockPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationDockPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationDockPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7933,7 +7933,7 @@ impl IUIAutomationDragPattern { (::windows::core::Vtable::vtable(self).GetCachedGrabbedItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationDragPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationDragPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationDragPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8006,7 +8006,7 @@ impl IUIAutomationDropTargetPattern { (::windows::core::Vtable::vtable(self).CachedDropTargetEffects)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationDropTargetPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationDropTargetPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationDropTargetPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8460,7 +8460,7 @@ impl IUIAutomationElement { (::windows::core::Vtable::vtable(self).GetClickablePoint)(::windows::core::Vtable::as_raw(self), clickable, gotclickable).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationElement, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationElement, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9098,7 +9098,7 @@ impl IUIAutomationElement2 { (::windows::core::Vtable::vtable(self).CachedFlowsFrom)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElement2, ::windows::core::IUnknown, IUIAutomationElement); +::windows::imp::interface_hierarchy!(IUIAutomationElement2, ::windows::core::IUnknown, IUIAutomationElement); impl ::core::cmp::PartialEq for IUIAutomationElement2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9597,7 +9597,7 @@ impl IUIAutomationElement3 { (::windows::core::Vtable::vtable(self).CachedIsPeripheral)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElement3, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2); +::windows::imp::interface_hierarchy!(IUIAutomationElement3, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2); impl ::core::cmp::PartialEq for IUIAutomationElement3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10137,7 +10137,7 @@ impl IUIAutomationElement4 { (::windows::core::Vtable::vtable(self).CachedAnnotationObjects)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElement4, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3); +::windows::imp::interface_hierarchy!(IUIAutomationElement4, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3); impl ::core::cmp::PartialEq for IUIAutomationElement4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10700,7 +10700,7 @@ impl IUIAutomationElement5 { (::windows::core::Vtable::vtable(self).CachedLocalizedLandmarkType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElement5, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4); +::windows::imp::interface_hierarchy!(IUIAutomationElement5, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4); impl ::core::cmp::PartialEq for IUIAutomationElement5 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11259,7 +11259,7 @@ impl IUIAutomationElement6 { (::windows::core::Vtable::vtable(self).CachedFullDescription)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElement6, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5); +::windows::imp::interface_hierarchy!(IUIAutomationElement6, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5); impl ::core::cmp::PartialEq for IUIAutomationElement6 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11856,7 +11856,7 @@ impl IUIAutomationElement7 { (::windows::core::Vtable::vtable(self).GetCurrentMetadataValue)(::windows::core::Vtable::as_raw(self), targetid, metadataid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElement7, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6); +::windows::imp::interface_hierarchy!(IUIAutomationElement7, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6); impl ::core::cmp::PartialEq for IUIAutomationElement7 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12467,7 +12467,7 @@ impl IUIAutomationElement8 { (::windows::core::Vtable::vtable(self).CachedHeadingLevel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElement8, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7); +::windows::imp::interface_hierarchy!(IUIAutomationElement8, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7); impl ::core::cmp::PartialEq for IUIAutomationElement8 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13084,7 +13084,7 @@ impl IUIAutomationElement9 { (::windows::core::Vtable::vtable(self).CachedIsDialog)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElement9, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7, IUIAutomationElement8); +::windows::imp::interface_hierarchy!(IUIAutomationElement9, ::windows::core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7, IUIAutomationElement8); impl ::core::cmp::PartialEq for IUIAutomationElement9 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13133,7 +13133,7 @@ impl IUIAutomationElementArray { (::windows::core::Vtable::vtable(self).GetElement)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationElementArray, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationElementArray, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationElementArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13174,7 +13174,7 @@ impl IUIAutomationEventHandler { (::windows::core::Vtable::vtable(self).HandleAutomationEvent)(::windows::core::Vtable::as_raw(self), sender.into().abi(), eventid).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13257,7 +13257,7 @@ impl IUIAutomationEventHandlerGroup { (::windows::core::Vtable::vtable(self).AddTextEditTextChangedEventHandler)(::windows::core::Vtable::as_raw(self), scope, texteditchangetype, cacherequest.into().abi(), handler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationEventHandlerGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationEventHandlerGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationEventHandlerGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13311,7 +13311,7 @@ impl IUIAutomationExpandCollapsePattern { (::windows::core::Vtable::vtable(self).CachedExpandCollapseState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationExpandCollapsePattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationExpandCollapsePattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationExpandCollapsePattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13354,7 +13354,7 @@ impl IUIAutomationFocusChangedEventHandler { (::windows::core::Vtable::vtable(self).HandleFocusChangedEvent)(::windows::core::Vtable::as_raw(self), sender.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationFocusChangedEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationFocusChangedEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationFocusChangedEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13428,7 +13428,7 @@ impl IUIAutomationGridItemPattern { (::windows::core::Vtable::vtable(self).CachedColumnSpan)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationGridItemPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationGridItemPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationGridItemPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13491,7 +13491,7 @@ impl IUIAutomationGridPattern { (::windows::core::Vtable::vtable(self).CachedColumnCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationGridPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationGridPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationGridPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13532,7 +13532,7 @@ impl IUIAutomationInvokePattern { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationInvokePattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationInvokePattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationInvokePattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13575,7 +13575,7 @@ impl IUIAutomationItemContainerPattern { (::windows::core::Vtable::vtable(self).FindItemByProperty)(::windows::core::Vtable::as_raw(self), pstartafter.into().abi(), propertyid, ::core::mem::transmute(value), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationItemContainerPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationItemContainerPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationItemContainerPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13710,7 +13710,7 @@ impl IUIAutomationLegacyIAccessiblePattern { (::windows::core::Vtable::vtable(self).GetIAccessible)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationLegacyIAccessiblePattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationLegacyIAccessiblePattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationLegacyIAccessiblePattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13797,7 +13797,7 @@ impl IUIAutomationMultipleViewPattern { (::windows::core::Vtable::vtable(self).GetCachedSupportedViews)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationMultipleViewPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationMultipleViewPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationMultipleViewPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13846,7 +13846,7 @@ impl IUIAutomationNotCondition { (::windows::core::Vtable::vtable(self).GetChild)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationNotCondition, ::windows::core::IUnknown, IUIAutomationCondition); +::windows::imp::interface_hierarchy!(IUIAutomationNotCondition, ::windows::core::IUnknown, IUIAutomationCondition); impl ::core::cmp::PartialEq for IUIAutomationNotCondition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13886,7 +13886,7 @@ impl IUIAutomationNotificationEventHandler { (::windows::core::Vtable::vtable(self).HandleNotificationEvent)(::windows::core::Vtable::as_raw(self), sender.into().abi(), notificationkind, notificationprocessing, ::core::mem::transmute_copy(displaystring), ::core::mem::transmute_copy(activityid)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationNotificationEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationNotificationEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationNotificationEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13924,7 +13924,7 @@ impl IUIAutomationObjectModelPattern { (::windows::core::Vtable::vtable(self).GetUnderlyingObjectModel)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationObjectModelPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationObjectModelPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationObjectModelPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13971,7 +13971,7 @@ impl IUIAutomationOrCondition { (::windows::core::Vtable::vtable(self).GetChildren)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationOrCondition, ::windows::core::IUnknown, IUIAutomationCondition); +::windows::imp::interface_hierarchy!(IUIAutomationOrCondition, ::windows::core::IUnknown, IUIAutomationCondition); impl ::core::cmp::PartialEq for IUIAutomationOrCondition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14023,7 +14023,7 @@ impl IUIAutomationPatternHandler { (::windows::core::Vtable::vtable(self).Dispatch)(::windows::core::Vtable::as_raw(self), ptarget.into().abi(), index, pparams, cparams).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationPatternHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationPatternHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationPatternHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14069,7 +14069,7 @@ impl IUIAutomationPatternInstance { (::windows::core::Vtable::vtable(self).CallMethod)(::windows::core::Vtable::as_raw(self), index, pparams, cparams).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationPatternInstance, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationPatternInstance, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationPatternInstance { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14115,7 +14115,7 @@ impl IUIAutomationPropertyChangedEventHandler { (::windows::core::Vtable::vtable(self).HandlePropertyChangedEvent)(::windows::core::Vtable::as_raw(self), sender.into().abi(), propertyid, ::core::mem::transmute(newvalue)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationPropertyChangedEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationPropertyChangedEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationPropertyChangedEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14166,7 +14166,7 @@ impl IUIAutomationPropertyCondition { (::windows::core::Vtable::vtable(self).PropertyConditionFlags)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationPropertyCondition, ::windows::core::IUnknown, IUIAutomationCondition); +::windows::imp::interface_hierarchy!(IUIAutomationPropertyCondition, ::windows::core::IUnknown, IUIAutomationCondition); impl ::core::cmp::PartialEq for IUIAutomationPropertyCondition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14218,7 +14218,7 @@ impl IUIAutomationProxyFactory { (::windows::core::Vtable::vtable(self).ProxyFactoryId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationProxyFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationProxyFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationProxyFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14333,7 +14333,7 @@ impl IUIAutomationProxyFactoryEntry { (::windows::core::Vtable::vtable(self).GetWinEventsForAutomationEvent)(::windows::core::Vtable::as_raw(self), eventid, propertyid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationProxyFactoryEntry, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationProxyFactoryEntry, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationProxyFactoryEntry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14442,7 +14442,7 @@ impl IUIAutomationProxyFactoryMapping { (::windows::core::Vtable::vtable(self).RestoreDefaultTable)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationProxyFactoryMapping, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationProxyFactoryMapping, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationProxyFactoryMapping { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14548,7 +14548,7 @@ impl IUIAutomationRangeValuePattern { (::windows::core::Vtable::vtable(self).CachedSmallChange)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationRangeValuePattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationRangeValuePattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationRangeValuePattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14613,7 +14613,7 @@ impl IUIAutomationRegistrar { (::windows::core::Vtable::vtable(self).RegisterPattern)(::windows::core::Vtable::as_raw(self), pattern, ppatternid, ppatternavailablepropertyid, ppropertyids.len() as _, ::core::mem::transmute(ppropertyids.as_ptr()), peventids.len() as _, ::core::mem::transmute(peventids.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationRegistrar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationRegistrar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationRegistrar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14655,7 +14655,7 @@ impl IUIAutomationScrollItemPattern { (::windows::core::Vtable::vtable(self).ScrollIntoView)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationScrollItemPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationScrollItemPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationScrollItemPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14751,7 +14751,7 @@ impl IUIAutomationScrollPattern { (::windows::core::Vtable::vtable(self).CachedVerticallyScrollable)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationScrollPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationScrollPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationScrollPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14839,7 +14839,7 @@ impl IUIAutomationSelectionItemPattern { (::windows::core::Vtable::vtable(self).CachedSelectionContainer)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationSelectionItemPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationSelectionItemPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationSelectionItemPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14917,7 +14917,7 @@ impl IUIAutomationSelectionPattern { (::windows::core::Vtable::vtable(self).CachedIsSelectionRequired)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationSelectionPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationSelectionPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationSelectionPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15032,7 +15032,7 @@ impl IUIAutomationSelectionPattern2 { (::windows::core::Vtable::vtable(self).CachedItemCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationSelectionPattern2, ::windows::core::IUnknown, IUIAutomationSelectionPattern); +::windows::imp::interface_hierarchy!(IUIAutomationSelectionPattern2, ::windows::core::IUnknown, IUIAutomationSelectionPattern); impl ::core::cmp::PartialEq for IUIAutomationSelectionPattern2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15101,7 +15101,7 @@ impl IUIAutomationSpreadsheetItemPattern { (::windows::core::Vtable::vtable(self).GetCachedAnnotationTypes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationSpreadsheetItemPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationSpreadsheetItemPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationSpreadsheetItemPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15150,7 +15150,7 @@ impl IUIAutomationSpreadsheetPattern { (::windows::core::Vtable::vtable(self).GetItemByName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(name), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationSpreadsheetPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationSpreadsheetPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationSpreadsheetPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15192,7 +15192,7 @@ impl IUIAutomationStructureChangedEventHandler { (::windows::core::Vtable::vtable(self).HandleStructureChangedEvent)(::windows::core::Vtable::as_raw(self), sender.into().abi(), changetype, runtimeid).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationStructureChangedEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationStructureChangedEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationStructureChangedEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15291,7 +15291,7 @@ impl IUIAutomationStylesPattern { (::windows::core::Vtable::vtable(self).GetCachedExtendedPropertiesAsArray)(::windows::core::Vtable::as_raw(self), propertyarray, propertycount).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationStylesPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationStylesPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationStylesPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15346,7 +15346,7 @@ impl IUIAutomationSynchronizedInputPattern { (::windows::core::Vtable::vtable(self).Cancel)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationSynchronizedInputPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationSynchronizedInputPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationSynchronizedInputPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15397,7 +15397,7 @@ impl IUIAutomationTableItemPattern { (::windows::core::Vtable::vtable(self).GetCachedColumnHeaderItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTableItemPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTableItemPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTableItemPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15458,7 +15458,7 @@ impl IUIAutomationTablePattern { (::windows::core::Vtable::vtable(self).CachedRowOrColumnMajor)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTablePattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTablePattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTablePattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15505,7 +15505,7 @@ impl IUIAutomationTextChildPattern { (::windows::core::Vtable::vtable(self).TextRange)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTextChildPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTextChildPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTextChildPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15577,7 +15577,7 @@ impl IUIAutomationTextEditPattern { (::windows::core::Vtable::vtable(self).GetConversionTarget)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTextEditPattern, ::windows::core::IUnknown, IUIAutomationTextPattern); +::windows::imp::interface_hierarchy!(IUIAutomationTextEditPattern, ::windows::core::IUnknown, IUIAutomationTextPattern); impl ::core::cmp::PartialEq for IUIAutomationTextEditPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15620,7 +15620,7 @@ impl IUIAutomationTextEditTextChangedEventHandler { (::windows::core::Vtable::vtable(self).HandleTextEditTextChangedEvent)(::windows::core::Vtable::as_raw(self), sender.into().abi(), texteditchangetype, eventstrings).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationTextEditTextChangedEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTextEditTextChangedEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTextEditTextChangedEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15686,7 +15686,7 @@ impl IUIAutomationTextPattern { (::windows::core::Vtable::vtable(self).SupportedTextSelection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTextPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTextPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTextPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15769,7 +15769,7 @@ impl IUIAutomationTextPattern2 { (::windows::core::Vtable::vtable(self).GetCaretRange)(::windows::core::Vtable::as_raw(self), isactive, ::core::mem::transmute(range)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationTextPattern2, ::windows::core::IUnknown, IUIAutomationTextPattern); +::windows::imp::interface_hierarchy!(IUIAutomationTextPattern2, ::windows::core::IUnknown, IUIAutomationTextPattern); impl ::core::cmp::PartialEq for IUIAutomationTextPattern2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15904,7 +15904,7 @@ impl IUIAutomationTextRange { (::windows::core::Vtable::vtable(self).GetChildren)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTextRange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTextRange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTextRange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16073,7 +16073,7 @@ impl IUIAutomationTextRange2 { (::windows::core::Vtable::vtable(self).ShowContextMenu)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationTextRange2, ::windows::core::IUnknown, IUIAutomationTextRange); +::windows::imp::interface_hierarchy!(IUIAutomationTextRange2, ::windows::core::IUnknown, IUIAutomationTextRange); impl ::core::cmp::PartialEq for IUIAutomationTextRange2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16227,7 +16227,7 @@ impl IUIAutomationTextRange3 { (::windows::core::Vtable::vtable(self).GetAttributeValues)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(attributeids.as_ptr()), attributeids.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTextRange3, ::windows::core::IUnknown, IUIAutomationTextRange, IUIAutomationTextRange2); +::windows::imp::interface_hierarchy!(IUIAutomationTextRange3, ::windows::core::IUnknown, IUIAutomationTextRange, IUIAutomationTextRange2); impl ::core::cmp::PartialEq for IUIAutomationTextRange3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16274,7 +16274,7 @@ impl IUIAutomationTextRangeArray { (::windows::core::Vtable::vtable(self).GetElement)(::windows::core::Vtable::as_raw(self), index, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTextRangeArray, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTextRangeArray, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTextRangeArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16320,7 +16320,7 @@ impl IUIAutomationTogglePattern { (::windows::core::Vtable::vtable(self).CachedToggleState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTogglePattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTogglePattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTogglePattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16401,7 +16401,7 @@ impl IUIAutomationTransformPattern { (::windows::core::Vtable::vtable(self).CachedCanRotate)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTransformPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTransformPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTransformPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16548,7 +16548,7 @@ impl IUIAutomationTransformPattern2 { (::windows::core::Vtable::vtable(self).CachedZoomMaximum)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTransformPattern2, ::windows::core::IUnknown, IUIAutomationTransformPattern); +::windows::imp::interface_hierarchy!(IUIAutomationTransformPattern2, ::windows::core::IUnknown, IUIAutomationTransformPattern); impl ::core::cmp::PartialEq for IUIAutomationTransformPattern2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16691,7 +16691,7 @@ impl IUIAutomationTreeWalker { (::windows::core::Vtable::vtable(self).Condition)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationTreeWalker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationTreeWalker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationTreeWalker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16760,7 +16760,7 @@ impl IUIAutomationValuePattern { (::windows::core::Vtable::vtable(self).CachedIsReadOnly)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationValuePattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationValuePattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationValuePattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16807,7 +16807,7 @@ impl IUIAutomationVirtualizedItemPattern { (::windows::core::Vtable::vtable(self).Realize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAutomationVirtualizedItemPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationVirtualizedItemPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationVirtualizedItemPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16917,7 +16917,7 @@ impl IUIAutomationWindowPattern { (::windows::core::Vtable::vtable(self).CachedWindowInteractionState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAutomationWindowPattern, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAutomationWindowPattern, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAutomationWindowPattern { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17008,7 +17008,7 @@ impl IValueProvider { (::windows::core::Vtable::vtable(self).IsReadOnly)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IValueProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IValueProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IValueProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17050,7 +17050,7 @@ impl IVirtualizedItemProvider { (::windows::core::Vtable::vtable(self).Realize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IVirtualizedItemProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVirtualizedItemProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVirtualizedItemProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17128,7 +17128,7 @@ impl IWindowProvider { (::windows::core::Vtable::vtable(self).IsTopmost)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWindowProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWindowProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWindowProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs index e4ad5ab2d1..52572ce6ea 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs @@ -28,7 +28,7 @@ impl IUIAnimationInterpolator { (::windows::core::Vtable::vtable(self).GetDependencies)(::windows::core::Vtable::as_raw(self), initialvaluedependencies, initialvelocitydependencies, durationdependencies).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationInterpolator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationInterpolator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationInterpolator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -100,7 +100,7 @@ impl IUIAnimationInterpolator2 { (::windows::core::Vtable::vtable(self).GetDependencies)(::windows::core::Vtable::as_raw(self), initialvaluedependencies, initialvelocitydependencies, durationdependencies).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationInterpolator2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationInterpolator2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationInterpolator2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -148,7 +148,7 @@ impl IUIAnimationLoopIterationChangeHandler2 { (::windows::core::Vtable::vtable(self).OnLoopIterationChanged)(::windows::core::Vtable::as_raw(self), storyboard.into().abi(), id, newiterationcount, olditerationcount).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationLoopIterationChangeHandler2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationLoopIterationChangeHandler2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationLoopIterationChangeHandler2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -269,7 +269,7 @@ impl IUIAnimationManager { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -419,7 +419,7 @@ impl IUIAnimationManager2 { (::windows::core::Vtable::vtable(self).Shutdown)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationManager2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationManager2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationManager2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -479,7 +479,7 @@ impl IUIAnimationManagerEventHandler { (::windows::core::Vtable::vtable(self).OnManagerStatusChanged)(::windows::core::Vtable::as_raw(self), newstatus, previousstatus).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationManagerEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationManagerEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationManagerEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -516,7 +516,7 @@ impl IUIAnimationManagerEventHandler2 { (::windows::core::Vtable::vtable(self).OnManagerStatusChanged)(::windows::core::Vtable::as_raw(self), newstatus, previousstatus).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationManagerEventHandler2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationManagerEventHandler2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationManagerEventHandler2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -556,7 +556,7 @@ impl IUIAnimationPrimitiveInterpolation { (::windows::core::Vtable::vtable(self).AddSinusoidal)(::windows::core::Vtable::as_raw(self), dimension, beginoffset, bias, amplitude, frequency, phase).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationPrimitiveInterpolation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationPrimitiveInterpolation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationPrimitiveInterpolation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -598,7 +598,7 @@ impl IUIAnimationPriorityComparison { (::windows::core::Vtable::vtable(self).HasPriority)(::windows::core::Vtable::as_raw(self), scheduledstoryboard.into().abi(), newstoryboard.into().abi(), priorityeffect).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationPriorityComparison, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationPriorityComparison, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationPriorityComparison { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -639,7 +639,7 @@ impl IUIAnimationPriorityComparison2 { (::windows::core::Vtable::vtable(self).HasPriority)(::windows::core::Vtable::as_raw(self), scheduledstoryboard.into().abi(), newstoryboard.into().abi(), priorityeffect).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationPriorityComparison2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationPriorityComparison2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationPriorityComparison2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -762,7 +762,7 @@ impl IUIAnimationStoryboard { (::windows::core::Vtable::vtable(self).SetStoryboardEventHandler)(::windows::core::Vtable::as_raw(self), handler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationStoryboard, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationStoryboard, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationStoryboard { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -912,7 +912,7 @@ impl IUIAnimationStoryboard2 { (::windows::core::Vtable::vtable(self).SetStoryboardEventHandler)(::windows::core::Vtable::as_raw(self), handler.into().abi(), fregisterstatuschangefornextanimationevent.into(), fregisterupdatefornextanimationevent.into()).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationStoryboard2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationStoryboard2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationStoryboard2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -981,7 +981,7 @@ impl IUIAnimationStoryboardEventHandler { (::windows::core::Vtable::vtable(self).OnStoryboardUpdated)(::windows::core::Vtable::as_raw(self), storyboard.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationStoryboardEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationStoryboardEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationStoryboardEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1028,7 +1028,7 @@ impl IUIAnimationStoryboardEventHandler2 { (::windows::core::Vtable::vtable(self).OnStoryboardUpdated)(::windows::core::Vtable::as_raw(self), storyboard.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationStoryboardEventHandler2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationStoryboardEventHandler2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationStoryboardEventHandler2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1091,7 +1091,7 @@ impl IUIAnimationTimer { (::windows::core::Vtable::vtable(self).SetFrameRateThreshold)(::windows::core::Vtable::as_raw(self), framespersecond).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationTimer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTimer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTimer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1134,7 +1134,7 @@ impl IUIAnimationTimerClientEventHandler { (::windows::core::Vtable::vtable(self).OnTimerClientStatusChanged)(::windows::core::Vtable::as_raw(self), newstatus, previousstatus).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationTimerClientEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTimerClientEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTimerClientEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1177,7 +1177,7 @@ impl IUIAnimationTimerEventHandler { (::windows::core::Vtable::vtable(self).OnRenderingTooSlow)(::windows::core::Vtable::as_raw(self), framespersecond).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationTimerEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTimerEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTimerEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1226,7 +1226,7 @@ impl IUIAnimationTimerUpdateHandler { (::windows::core::Vtable::vtable(self).ClearTimerClientEventHandler)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationTimerUpdateHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTimerUpdateHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTimerUpdateHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1275,7 +1275,7 @@ impl IUIAnimationTransition { (::windows::core::Vtable::vtable(self).GetDuration)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAnimationTransition, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTransition, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTransition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1335,7 +1335,7 @@ impl IUIAnimationTransition2 { (::windows::core::Vtable::vtable(self).GetDuration)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAnimationTransition2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTransition2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTransition2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1382,7 +1382,7 @@ impl IUIAnimationTransitionFactory { (::windows::core::Vtable::vtable(self).CreateTransition)(::windows::core::Vtable::as_raw(self), interpolator.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAnimationTransitionFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTransitionFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTransitionFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1423,7 +1423,7 @@ impl IUIAnimationTransitionFactory2 { (::windows::core::Vtable::vtable(self).CreateTransition)(::windows::core::Vtable::as_raw(self), interpolator.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAnimationTransitionFactory2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTransitionFactory2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTransitionFactory2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1505,7 +1505,7 @@ impl IUIAnimationTransitionLibrary { (::windows::core::Vtable::vtable(self).CreateParabolicTransitionFromAcceleration)(::windows::core::Vtable::as_raw(self), finalvalue, finalvelocity, acceleration, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAnimationTransitionLibrary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTransitionLibrary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTransitionLibrary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1626,7 +1626,7 @@ impl IUIAnimationTransitionLibrary2 { (::windows::core::Vtable::vtable(self).CreateCubicBezierLinearVectorTransition)(::windows::core::Vtable::as_raw(self), duration, ::core::mem::transmute(finalvalue.as_ptr()), finalvalue.len() as _, x1, y1, x2, y2, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIAnimationTransitionLibrary2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationTransitionLibrary2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationTransitionLibrary2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1736,7 +1736,7 @@ impl IUIAnimationVariable { (::windows::core::Vtable::vtable(self).SetVariableIntegerChangeHandler)(::windows::core::Vtable::as_raw(self), handler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationVariable, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationVariable, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationVariable { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1894,7 +1894,7 @@ impl IUIAnimationVariable2 { (::windows::core::Vtable::vtable(self).SetVariableCurveChangeHandler)(::windows::core::Vtable::as_raw(self), handler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationVariable2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationVariable2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationVariable2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1972,7 +1972,7 @@ impl IUIAnimationVariableChangeHandler { (::windows::core::Vtable::vtable(self).OnValueChanged)(::windows::core::Vtable::as_raw(self), storyboard.into().abi(), variable.into().abi(), newvalue, previousvalue).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationVariableChangeHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationVariableChangeHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationVariableChangeHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2013,7 +2013,7 @@ impl IUIAnimationVariableChangeHandler2 { (::windows::core::Vtable::vtable(self).OnValueChanged)(::windows::core::Vtable::as_raw(self), storyboard.into().abi(), variable.into().abi(), newvalue, previousvalue, cdimension).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationVariableChangeHandler2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationVariableChangeHandler2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationVariableChangeHandler2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2053,7 +2053,7 @@ impl IUIAnimationVariableCurveChangeHandler2 { (::windows::core::Vtable::vtable(self).OnCurveChanged)(::windows::core::Vtable::as_raw(self), variable.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationVariableCurveChangeHandler2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationVariableCurveChangeHandler2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationVariableCurveChangeHandler2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2094,7 +2094,7 @@ impl IUIAnimationVariableIntegerChangeHandler { (::windows::core::Vtable::vtable(self).OnIntegerValueChanged)(::windows::core::Vtable::as_raw(self), storyboard.into().abi(), variable.into().abi(), newvalue, previousvalue).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationVariableIntegerChangeHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2135,7 +2135,7 @@ impl IUIAnimationVariableIntegerChangeHandler2 { (::windows::core::Vtable::vtable(self).OnIntegerValueChanged)(::windows::core::Vtable::as_raw(self), storyboard.into().abi(), variable.into().abi(), newvalue, previousvalue, cdimension).ok() } } -::windows::core::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIAnimationVariableIntegerChangeHandler2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs index 58a5001878..7af668fda6 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -7,7 +7,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn AssociateColorProfileWithDeviceA ( pmachinename : :: windows::core::PCSTR , pprofilename : :: windows::core::PCSTR , pdevicename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn AssociateColorProfileWithDeviceA ( pmachinename : :: windows::core::PCSTR , pprofilename : :: windows::core::PCSTR , pdevicename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AssociateColorProfileWithDeviceA(pmachinename.into().abi(), pprofilename.into().abi(), pdevicename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -19,21 +19,21 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn AssociateColorProfileWithDeviceW ( pmachinename : :: windows::core::PCWSTR , pprofilename : :: windows::core::PCWSTR , pdevicename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn AssociateColorProfileWithDeviceW ( pmachinename : :: windows::core::PCWSTR , pprofilename : :: windows::core::PCWSTR , pdevicename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AssociateColorProfileWithDeviceW(pmachinename.into().abi(), pprofilename.into().abi(), pdevicename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMCheckColors(hcmtransform: isize, lpainputcolors: *const COLOR, ncolors: u32, ctinput: COLORTYPE, lparesult: *mut u8) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMCheckColors ( hcmtransform : isize , lpainputcolors : *const COLOR , ncolors : u32 , ctinput : COLORTYPE , lparesult : *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCheckColors ( hcmtransform : isize , lpainputcolors : *const COLOR , ncolors : u32 , ctinput : COLORTYPE , lparesult : *mut u8 ) -> super::super::Foundation:: BOOL ); CMCheckColors(hcmtransform, lpainputcolors, ncolors, ctinput, lparesult) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CMCheckColorsInGamut(hcmtransform: isize, lpargbtriple: *const super::super::Graphics::Gdi::RGBTRIPLE, lparesult: *mut u8, ncount: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMCheckColorsInGamut ( hcmtransform : isize , lpargbtriple : *const super::super::Graphics::Gdi:: RGBTRIPLE , lparesult : *mut u8 , ncount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCheckColorsInGamut ( hcmtransform : isize , lpargbtriple : *const super::super::Graphics::Gdi:: RGBTRIPLE , lparesult : *mut u8 , ncount : u32 ) -> super::super::Foundation:: BOOL ); CMCheckColorsInGamut(hcmtransform, lpargbtriple, lparesult, ncount) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -43,110 +43,110 @@ pub unsafe fn CMCheckRGBs(hcmtransform: isize, lpsrcbits: *const ::core::ffi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "icm32.dll""system" fn CMCheckRGBs ( hcmtransform : isize , lpsrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwstride : u32 , lparesult : *mut u8 , pfncallback : LPBMCALLBACKFN , ulcallbackdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCheckRGBs ( hcmtransform : isize , lpsrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwstride : u32 , lparesult : *mut u8 , pfncallback : LPBMCALLBACKFN , ulcallbackdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); CMCheckRGBs(hcmtransform, lpsrcbits, bminput, dwwidth, dwheight, dwstride, lparesult, pfncallback, ulcallbackdata.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMConvertColorNameToIndex(hprofile: isize, pacolorname: *const *const i8, paindex: *mut u32, dwcount: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMConvertColorNameToIndex ( hprofile : isize , pacolorname : *const *const i8 , paindex : *mut u32 , dwcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMConvertColorNameToIndex ( hprofile : isize , pacolorname : *const *const i8 , paindex : *mut u32 , dwcount : u32 ) -> super::super::Foundation:: BOOL ); CMConvertColorNameToIndex(hprofile, pacolorname, paindex, dwcount) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMConvertIndexToColorName(hprofile: isize, paindex: *const u32, pacolorname: *mut *mut i8, dwcount: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMConvertIndexToColorName ( hprofile : isize , paindex : *const u32 , pacolorname : *mut *mut i8 , dwcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMConvertIndexToColorName ( hprofile : isize , paindex : *const u32 , pacolorname : *mut *mut i8 , dwcount : u32 ) -> super::super::Foundation:: BOOL ); CMConvertIndexToColorName(hprofile, paindex, pacolorname, dwcount) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMCreateDeviceLinkProfile(pahprofiles: &[isize], padwintents: &[u32], dwflags: u32, lpprofiledata: *mut *mut u8) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMCreateDeviceLinkProfile ( pahprofiles : *const isize , nprofiles : u32 , padwintents : *const u32 , nintents : u32 , dwflags : u32 , lpprofiledata : *mut *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCreateDeviceLinkProfile ( pahprofiles : *const isize , nprofiles : u32 , padwintents : *const u32 , nintents : u32 , dwflags : u32 , lpprofiledata : *mut *mut u8 ) -> super::super::Foundation:: BOOL ); CMCreateDeviceLinkProfile(::core::mem::transmute(pahprofiles.as_ptr()), pahprofiles.len() as _, ::core::mem::transmute(padwintents.as_ptr()), padwintents.len() as _, dwflags, lpprofiledata) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn CMCreateMultiProfileTransform(pahprofiles: &[isize], padwintents: &[u32], dwflags: u32) -> isize { - ::windows::core::link ! ( "icm32.dll""system" fn CMCreateMultiProfileTransform ( pahprofiles : *const isize , nprofiles : u32 , padwintents : *const u32 , nintents : u32 , dwflags : u32 ) -> isize ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCreateMultiProfileTransform ( pahprofiles : *const isize , nprofiles : u32 , padwintents : *const u32 , nintents : u32 , dwflags : u32 ) -> isize ); CMCreateMultiProfileTransform(::core::mem::transmute(pahprofiles.as_ptr()), pahprofiles.len() as _, ::core::mem::transmute(padwintents.as_ptr()), padwintents.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CMCreateProfile(lpcolorspace: *mut LOGCOLORSPACEA, lpprofiledata: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMCreateProfile ( lpcolorspace : *mut LOGCOLORSPACEA , lpprofiledata : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCreateProfile ( lpcolorspace : *mut LOGCOLORSPACEA , lpprofiledata : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CMCreateProfile(lpcolorspace, lpprofiledata) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CMCreateProfileW(lpcolorspace: *mut LOGCOLORSPACEW, lpprofiledata: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMCreateProfileW ( lpcolorspace : *mut LOGCOLORSPACEW , lpprofiledata : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCreateProfileW ( lpcolorspace : *mut LOGCOLORSPACEW , lpprofiledata : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); CMCreateProfileW(lpcolorspace, lpprofiledata) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CMCreateTransform(lpcolorspace: *const LOGCOLORSPACEA, lpdevcharacter: *const ::core::ffi::c_void, lptargetdevcharacter: *const ::core::ffi::c_void) -> isize { - ::windows::core::link ! ( "icm32.dll""system" fn CMCreateTransform ( lpcolorspace : *const LOGCOLORSPACEA , lpdevcharacter : *const ::core::ffi::c_void , lptargetdevcharacter : *const ::core::ffi::c_void ) -> isize ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCreateTransform ( lpcolorspace : *const LOGCOLORSPACEA , lpdevcharacter : *const ::core::ffi::c_void , lptargetdevcharacter : *const ::core::ffi::c_void ) -> isize ); CMCreateTransform(lpcolorspace, lpdevcharacter, lptargetdevcharacter) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CMCreateTransformExt(lpcolorspace: *const LOGCOLORSPACEA, lpdevcharacter: *const ::core::ffi::c_void, lptargetdevcharacter: *const ::core::ffi::c_void, dwflags: u32) -> isize { - ::windows::core::link ! ( "icm32.dll""system" fn CMCreateTransformExt ( lpcolorspace : *const LOGCOLORSPACEA , lpdevcharacter : *const ::core::ffi::c_void , lptargetdevcharacter : *const ::core::ffi::c_void , dwflags : u32 ) -> isize ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCreateTransformExt ( lpcolorspace : *const LOGCOLORSPACEA , lpdevcharacter : *const ::core::ffi::c_void , lptargetdevcharacter : *const ::core::ffi::c_void , dwflags : u32 ) -> isize ); CMCreateTransformExt(lpcolorspace, lpdevcharacter, lptargetdevcharacter, dwflags) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn CMCreateTransformExtW(lpcolorspace: *const LOGCOLORSPACEW, lpdevcharacter: *const ::core::ffi::c_void, lptargetdevcharacter: *const ::core::ffi::c_void, dwflags: u32) -> isize { - ::windows::core::link ! ( "icm32.dll""system" fn CMCreateTransformExtW ( lpcolorspace : *const LOGCOLORSPACEW , lpdevcharacter : *const ::core::ffi::c_void , lptargetdevcharacter : *const ::core::ffi::c_void , dwflags : u32 ) -> isize ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCreateTransformExtW ( lpcolorspace : *const LOGCOLORSPACEW , lpdevcharacter : *const ::core::ffi::c_void , lptargetdevcharacter : *const ::core::ffi::c_void , dwflags : u32 ) -> isize ); CMCreateTransformExtW(lpcolorspace, lpdevcharacter, lptargetdevcharacter, dwflags) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn CMCreateTransformW(lpcolorspace: *const LOGCOLORSPACEW, lpdevcharacter: *const ::core::ffi::c_void, lptargetdevcharacter: *const ::core::ffi::c_void) -> isize { - ::windows::core::link ! ( "icm32.dll""system" fn CMCreateTransformW ( lpcolorspace : *const LOGCOLORSPACEW , lpdevcharacter : *const ::core::ffi::c_void , lptargetdevcharacter : *const ::core::ffi::c_void ) -> isize ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMCreateTransformW ( lpcolorspace : *const LOGCOLORSPACEW , lpdevcharacter : *const ::core::ffi::c_void , lptargetdevcharacter : *const ::core::ffi::c_void ) -> isize ); CMCreateTransformW(lpcolorspace, lpdevcharacter, lptargetdevcharacter) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMDeleteTransform(hcmtransform: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMDeleteTransform ( hcmtransform : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMDeleteTransform ( hcmtransform : isize ) -> super::super::Foundation:: BOOL ); CMDeleteTransform(hcmtransform) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn CMGetInfo(dwinfo: u32) -> u32 { - ::windows::core::link ! ( "icm32.dll""system" fn CMGetInfo ( dwinfo : u32 ) -> u32 ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMGetInfo ( dwinfo : u32 ) -> u32 ); CMGetInfo(dwinfo) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMGetNamedProfileInfo(hprofile: isize, pnamedprofileinfo: *mut NAMED_PROFILE_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMGetNamedProfileInfo ( hprofile : isize , pnamedprofileinfo : *mut NAMED_PROFILE_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMGetNamedProfileInfo ( hprofile : isize , pnamedprofileinfo : *mut NAMED_PROFILE_INFO ) -> super::super::Foundation:: BOOL ); CMGetNamedProfileInfo(hprofile, pnamedprofileinfo) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMIsProfileValid(hprofile: isize, lpbvalid: *mut i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMIsProfileValid ( hprofile : isize , lpbvalid : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMIsProfileValid ( hprofile : isize , lpbvalid : *mut i32 ) -> super::super::Foundation:: BOOL ); CMIsProfileValid(hprofile, lpbvalid) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMTranslateColors(hcmtransform: isize, lpainputcolors: *const COLOR, ncolors: u32, ctinput: COLORTYPE, lpaoutputcolors: *mut COLOR, ctoutput: COLORTYPE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMTranslateColors ( hcmtransform : isize , lpainputcolors : *const COLOR , ncolors : u32 , ctinput : COLORTYPE , lpaoutputcolors : *mut COLOR , ctoutput : COLORTYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMTranslateColors ( hcmtransform : isize , lpainputcolors : *const COLOR , ncolors : u32 , ctinput : COLORTYPE , lpaoutputcolors : *mut COLOR , ctoutput : COLORTYPE ) -> super::super::Foundation:: BOOL ); CMTranslateColors(hcmtransform, lpainputcolors, ncolors, ctinput, lpaoutputcolors, ctoutput) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -156,14 +156,14 @@ pub unsafe fn CMTranslateRGB(hcmtransform: isize, colorref: P0, lpcolorref: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "icm32.dll""system" fn CMTranslateRGB ( hcmtransform : isize , colorref : super::super::Foundation:: COLORREF , lpcolorref : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMTranslateRGB ( hcmtransform : isize , colorref : super::super::Foundation:: COLORREF , lpcolorref : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); CMTranslateRGB(hcmtransform, colorref.into(), lpcolorref, dwflags) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CMTranslateRGBs(hcmtransform: isize, lpsrcbits: *const ::core::ffi::c_void, bminput: BMFORMAT, dwwidth: u32, dwheight: u32, dwstride: u32, lpdestbits: *mut ::core::ffi::c_void, bmoutput: BMFORMAT, dwtranslatedirection: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icm32.dll""system" fn CMTranslateRGBs ( hcmtransform : isize , lpsrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwstride : u32 , lpdestbits : *mut ::core::ffi::c_void , bmoutput : BMFORMAT , dwtranslatedirection : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMTranslateRGBs ( hcmtransform : isize , lpsrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwstride : u32 , lpdestbits : *mut ::core::ffi::c_void , bmoutput : BMFORMAT , dwtranslatedirection : u32 ) -> super::super::Foundation:: BOOL ); CMTranslateRGBs(hcmtransform, lpsrcbits, bminput, dwwidth, dwheight, dwstride, lpdestbits, bmoutput, dwtranslatedirection) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -173,7 +173,7 @@ pub unsafe fn CMTranslateRGBsExt(hcmtransform: isize, lpsrcbits: *const ::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "icm32.dll""system" fn CMTranslateRGBsExt ( hcmtransform : isize , lpsrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwinputstride : u32 , lpdestbits : *mut ::core::ffi::c_void , bmoutput : BMFORMAT , dwoutputstride : u32 , lpfncallback : LPBMCALLBACKFN , ulcallbackdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icm32.dll""system" fn CMTranslateRGBsExt ( hcmtransform : isize , lpsrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwinputstride : u32 , lpdestbits : *mut ::core::ffi::c_void , bmoutput : BMFORMAT , dwoutputstride : u32 , lpfncallback : LPBMCALLBACKFN , ulcallbackdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); CMTranslateRGBsExt(hcmtransform, lpsrcbits, bminput, dwwidth, dwheight, dwinputstride, lpdestbits, bmoutput, dwoutputstride, lpfncallback, ulcallbackdata.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -183,14 +183,14 @@ pub unsafe fn CheckBitmapBits(hcolortransform: isize, psrcbits: *const ::cor where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mscms.dll""system" fn CheckBitmapBits ( hcolortransform : isize , psrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwstride : u32 , paresult : *mut u8 , pfncallback : LPBMCALLBACKFN , lpcallbackdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn CheckBitmapBits ( hcolortransform : isize , psrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwstride : u32 , paresult : *mut u8 , pfncallback : LPBMCALLBACKFN , lpcallbackdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); CheckBitmapBits(hcolortransform, psrcbits, bminput, dwwidth, dwheight, dwstride, paresult, pfncallback, lpcallbackdata.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CheckColors(hcolortransform: isize, painputcolors: *const COLOR, ncolors: u32, ctinput: COLORTYPE, paresult: *mut u8) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn CheckColors ( hcolortransform : isize , painputcolors : *const COLOR , ncolors : u32 , ctinput : COLORTYPE , paresult : *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn CheckColors ( hcolortransform : isize , painputcolors : *const COLOR , ncolors : u32 , ctinput : COLORTYPE , paresult : *mut u8 ) -> super::super::Foundation:: BOOL ); CheckColors(hcolortransform, painputcolors, ncolors, ctinput, paresult) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -200,14 +200,14 @@ pub unsafe fn CheckColorsInGamut(hdc: P0, lprgbtriple: *const super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn CheckColorsInGamut ( hdc : super::super::Graphics::Gdi:: HDC , lprgbtriple : *const super::super::Graphics::Gdi:: RGBTRIPLE , dlpbuffer : *mut ::core::ffi::c_void , ncount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CheckColorsInGamut ( hdc : super::super::Graphics::Gdi:: HDC , lprgbtriple : *const super::super::Graphics::Gdi:: RGBTRIPLE , dlpbuffer : *mut ::core::ffi::c_void , ncount : u32 ) -> super::super::Foundation:: BOOL ); CheckColorsInGamut(hdc.into(), lprgbtriple, dlpbuffer, ncount) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CloseColorProfile(hprofile: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn CloseColorProfile ( hprofile : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn CloseColorProfile ( hprofile : isize ) -> super::super::Foundation:: BOOL ); CloseColorProfile(hprofile) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -218,7 +218,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ColorCorrectPalette ( hdc : super::super::Graphics::Gdi:: HDC , hpal : super::super::Graphics::Gdi:: HPALETTE , defirst : u32 , num : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ColorCorrectPalette ( hdc : super::super::Graphics::Gdi:: HDC , hpal : super::super::Graphics::Gdi:: HPALETTE , defirst : u32 , num : u32 ) -> super::super::Foundation:: BOOL ); ColorCorrectPalette(hdc.into(), hpal.into(), defirst, num) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -229,7 +229,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn ColorMatchToTarget ( hdc : super::super::Graphics::Gdi:: HDC , hdctarget : super::super::Graphics::Gdi:: HDC , action : COLOR_MATCH_TO_TARGET_ACTION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn ColorMatchToTarget ( hdc : super::super::Graphics::Gdi:: HDC , hdctarget : super::super::Graphics::Gdi:: HDC , action : COLOR_MATCH_TO_TARGET_ACTION ) -> super::super::Foundation:: BOOL ); ColorMatchToTarget(hdc.into(), hdctarget.into(), action) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -241,14 +241,14 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mscms.dll""system" fn ColorProfileAddDisplayAssociation ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , profilename : :: windows::core::PCWSTR , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , setasdefault : super::super::Foundation:: BOOL , associateasadvancedcolor : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mscms.dll""system" fn ColorProfileAddDisplayAssociation ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , profilename : :: windows::core::PCWSTR , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , setasdefault : super::super::Foundation:: BOOL , associateasadvancedcolor : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); ColorProfileAddDisplayAssociation(scope, profilename.into().abi(), ::core::mem::transmute(targetadapterid), sourceid, setasdefault.into(), associateasadvancedcolor.into()).ok() } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ColorProfileGetDisplayDefault(scope: WCS_PROFILE_MANAGEMENT_SCOPE, targetadapterid: super::super::Foundation::LUID, sourceid: u32, profiletype: COLORPROFILETYPE, profilesubtype: COLORPROFILESUBTYPE) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "mscms.dll""system" fn ColorProfileGetDisplayDefault ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , profiletype : COLORPROFILETYPE , profilesubtype : COLORPROFILESUBTYPE , profilename : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mscms.dll""system" fn ColorProfileGetDisplayDefault ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , profiletype : COLORPROFILETYPE , profilesubtype : COLORPROFILESUBTYPE , profilename : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); ColorProfileGetDisplayDefault(scope, ::core::mem::transmute(targetadapterid), sourceid, profiletype, profilesubtype, &mut result__).from_abi(result__) } @@ -256,14 +256,14 @@ pub unsafe fn ColorProfileGetDisplayDefault(scope: WCS_PROFILE_MANAGEMENT_SCOPE, #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ColorProfileGetDisplayList(scope: WCS_PROFILE_MANAGEMENT_SCOPE, targetadapterid: super::super::Foundation::LUID, sourceid: u32, profilelist: *mut *mut ::windows::core::PWSTR, profilecount: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mscms.dll""system" fn ColorProfileGetDisplayList ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , profilelist : *mut *mut :: windows::core::PWSTR , profilecount : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mscms.dll""system" fn ColorProfileGetDisplayList ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , profilelist : *mut *mut :: windows::core::PWSTR , profilecount : *mut u32 ) -> :: windows::core::HRESULT ); ColorProfileGetDisplayList(scope, ::core::mem::transmute(targetadapterid), sourceid, profilelist, profilecount).ok() } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ColorProfileGetDisplayUserScope(targetadapterid: super::super::Foundation::LUID, sourceid: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "mscms.dll""system" fn ColorProfileGetDisplayUserScope ( targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , scope : *mut WCS_PROFILE_MANAGEMENT_SCOPE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mscms.dll""system" fn ColorProfileGetDisplayUserScope ( targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , scope : *mut WCS_PROFILE_MANAGEMENT_SCOPE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); ColorProfileGetDisplayUserScope(::core::mem::transmute(targetadapterid), sourceid, &mut result__).from_abi(result__) } @@ -275,7 +275,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mscms.dll""system" fn ColorProfileRemoveDisplayAssociation ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , profilename : :: windows::core::PCWSTR , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , dissociateadvancedcolor : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mscms.dll""system" fn ColorProfileRemoveDisplayAssociation ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , profilename : :: windows::core::PCWSTR , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 , dissociateadvancedcolor : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); ColorProfileRemoveDisplayAssociation(scope, profilename.into().abi(), ::core::mem::transmute(targetadapterid), sourceid, dissociateadvancedcolor.into()).ok() } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -285,76 +285,76 @@ pub unsafe fn ColorProfileSetDisplayDefaultAssociation(scope: WCS_PROFILE_MA where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn ColorProfileSetDisplayDefaultAssociation ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , profilename : :: windows::core::PCWSTR , profiletype : COLORPROFILETYPE , profilesubtype : COLORPROFILESUBTYPE , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mscms.dll""system" fn ColorProfileSetDisplayDefaultAssociation ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , profilename : :: windows::core::PCWSTR , profiletype : COLORPROFILETYPE , profilesubtype : COLORPROFILESUBTYPE , targetadapterid : super::super::Foundation:: LUID , sourceid : u32 ) -> :: windows::core::HRESULT ); ColorProfileSetDisplayDefaultAssociation(scope, profilename.into().abi(), profiletype, profilesubtype, ::core::mem::transmute(targetadapterid), sourceid).ok() } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ConvertColorNameToIndex(hprofile: isize, pacolorname: *const *const i8, paindex: *mut u32, dwcount: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn ConvertColorNameToIndex ( hprofile : isize , pacolorname : *const *const i8 , paindex : *mut u32 , dwcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn ConvertColorNameToIndex ( hprofile : isize , pacolorname : *const *const i8 , paindex : *mut u32 , dwcount : u32 ) -> super::super::Foundation:: BOOL ); ConvertColorNameToIndex(hprofile, pacolorname, paindex, dwcount) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ConvertIndexToColorName(hprofile: isize, paindex: *const u32, pacolorname: *mut *mut i8, dwcount: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn ConvertIndexToColorName ( hprofile : isize , paindex : *const u32 , pacolorname : *mut *mut i8 , dwcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn ConvertIndexToColorName ( hprofile : isize , paindex : *const u32 , pacolorname : *mut *mut i8 , dwcount : u32 ) -> super::super::Foundation:: BOOL ); ConvertIndexToColorName(hprofile, paindex, pacolorname, dwcount) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CreateColorSpaceA(lplcs: *const LOGCOLORSPACEA) -> HCOLORSPACE { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateColorSpaceA ( lplcs : *const LOGCOLORSPACEA ) -> HCOLORSPACE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateColorSpaceA ( lplcs : *const LOGCOLORSPACEA ) -> HCOLORSPACE ); CreateColorSpaceA(lplcs) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn CreateColorSpaceW(lplcs: *const LOGCOLORSPACEW) -> HCOLORSPACE { - ::windows::core::link ! ( "gdi32.dll""system" fn CreateColorSpaceW ( lplcs : *const LOGCOLORSPACEW ) -> HCOLORSPACE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn CreateColorSpaceW ( lplcs : *const LOGCOLORSPACEW ) -> HCOLORSPACE ); CreateColorSpaceW(lplcs) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CreateColorTransformA(plogcolorspace: *const LOGCOLORSPACEA, hdestprofile: isize, htargetprofile: isize, dwflags: u32) -> isize { - ::windows::core::link ! ( "mscms.dll""system" fn CreateColorTransformA ( plogcolorspace : *const LOGCOLORSPACEA , hdestprofile : isize , htargetprofile : isize , dwflags : u32 ) -> isize ); + ::windows::imp::link ! ( "mscms.dll""system" fn CreateColorTransformA ( plogcolorspace : *const LOGCOLORSPACEA , hdestprofile : isize , htargetprofile : isize , dwflags : u32 ) -> isize ); CreateColorTransformA(plogcolorspace, hdestprofile, htargetprofile, dwflags) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn CreateColorTransformW(plogcolorspace: *const LOGCOLORSPACEW, hdestprofile: isize, htargetprofile: isize, dwflags: u32) -> isize { - ::windows::core::link ! ( "mscms.dll""system" fn CreateColorTransformW ( plogcolorspace : *const LOGCOLORSPACEW , hdestprofile : isize , htargetprofile : isize , dwflags : u32 ) -> isize ); + ::windows::imp::link ! ( "mscms.dll""system" fn CreateColorTransformW ( plogcolorspace : *const LOGCOLORSPACEW , hdestprofile : isize , htargetprofile : isize , dwflags : u32 ) -> isize ); CreateColorTransformW(plogcolorspace, hdestprofile, htargetprofile, dwflags) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CreateDeviceLinkProfile(hprofile: &[isize], padwintent: &[u32], dwflags: u32, pprofiledata: *mut *mut u8, indexpreferredcmm: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn CreateDeviceLinkProfile ( hprofile : *const isize , nprofiles : u32 , padwintent : *const u32 , nintents : u32 , dwflags : u32 , pprofiledata : *mut *mut u8 , indexpreferredcmm : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn CreateDeviceLinkProfile ( hprofile : *const isize , nprofiles : u32 , padwintent : *const u32 , nintents : u32 , dwflags : u32 , pprofiledata : *mut *mut u8 , indexpreferredcmm : u32 ) -> super::super::Foundation:: BOOL ); CreateDeviceLinkProfile(::core::mem::transmute(hprofile.as_ptr()), hprofile.len() as _, ::core::mem::transmute(padwintent.as_ptr()), padwintent.len() as _, dwflags, pprofiledata, indexpreferredcmm) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn CreateMultiProfileTransform(pahprofiles: &[isize], padwintent: &[u32], dwflags: u32, indexpreferredcmm: u32) -> isize { - ::windows::core::link ! ( "mscms.dll""system" fn CreateMultiProfileTransform ( pahprofiles : *const isize , nprofiles : u32 , padwintent : *const u32 , nintents : u32 , dwflags : u32 , indexpreferredcmm : u32 ) -> isize ); + ::windows::imp::link ! ( "mscms.dll""system" fn CreateMultiProfileTransform ( pahprofiles : *const isize , nprofiles : u32 , padwintent : *const u32 , nintents : u32 , dwflags : u32 , indexpreferredcmm : u32 ) -> isize ); CreateMultiProfileTransform(::core::mem::transmute(pahprofiles.as_ptr()), pahprofiles.len() as _, ::core::mem::transmute(padwintent.as_ptr()), padwintent.len() as _, dwflags, indexpreferredcmm) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CreateProfileFromLogColorSpaceA(plogcolorspace: *const LOGCOLORSPACEA, pprofile: *mut *mut u8) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn CreateProfileFromLogColorSpaceA ( plogcolorspace : *const LOGCOLORSPACEA , pprofile : *mut *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn CreateProfileFromLogColorSpaceA ( plogcolorspace : *const LOGCOLORSPACEA , pprofile : *mut *mut u8 ) -> super::super::Foundation:: BOOL ); CreateProfileFromLogColorSpaceA(plogcolorspace, pprofile) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CreateProfileFromLogColorSpaceW(plogcolorspace: *const LOGCOLORSPACEW, pprofile: *mut *mut u8) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn CreateProfileFromLogColorSpaceW ( plogcolorspace : *const LOGCOLORSPACEW , pprofile : *mut *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn CreateProfileFromLogColorSpaceW ( plogcolorspace : *const LOGCOLORSPACEW , pprofile : *mut *mut u8 ) -> super::super::Foundation:: BOOL ); CreateProfileFromLogColorSpaceW(plogcolorspace, pprofile) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -364,14 +364,14 @@ pub unsafe fn DeleteColorSpace(hcs: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn DeleteColorSpace ( hcs : HCOLORSPACE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn DeleteColorSpace ( hcs : HCOLORSPACE ) -> super::super::Foundation:: BOOL ); DeleteColorSpace(hcs.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DeleteColorTransform(hxform: isize) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn DeleteColorTransform ( hxform : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn DeleteColorTransform ( hxform : isize ) -> super::super::Foundation:: BOOL ); DeleteColorTransform(hxform) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -383,7 +383,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn DisassociateColorProfileFromDeviceA ( pmachinename : :: windows::core::PCSTR , pprofilename : :: windows::core::PCSTR , pdevicename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn DisassociateColorProfileFromDeviceA ( pmachinename : :: windows::core::PCSTR , pprofilename : :: windows::core::PCSTR , pdevicename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DisassociateColorProfileFromDeviceA(pmachinename.into().abi(), pprofilename.into().abi(), pdevicename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -395,7 +395,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn DisassociateColorProfileFromDeviceW ( pmachinename : :: windows::core::PCWSTR , pprofilename : :: windows::core::PCWSTR , pdevicename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn DisassociateColorProfileFromDeviceW ( pmachinename : :: windows::core::PCWSTR , pprofilename : :: windows::core::PCWSTR , pdevicename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DisassociateColorProfileFromDeviceW(pmachinename.into().abi(), pprofilename.into().abi(), pdevicename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -405,7 +405,7 @@ pub unsafe fn EnumColorProfilesA(pmachinename: P0, penumrecord: *const ENUMT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn EnumColorProfilesA ( pmachinename : :: windows::core::PCSTR , penumrecord : *const ENUMTYPEA , penumerationbuffer : *mut u8 , pdwsizeofenumerationbuffer : *mut u32 , pnprofiles : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn EnumColorProfilesA ( pmachinename : :: windows::core::PCSTR , penumrecord : *const ENUMTYPEA , penumerationbuffer : *mut u8 , pdwsizeofenumerationbuffer : *mut u32 , pnprofiles : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumColorProfilesA(pmachinename.into().abi(), penumrecord, ::core::mem::transmute(penumerationbuffer.unwrap_or(::std::ptr::null_mut())), pdwsizeofenumerationbuffer, ::core::mem::transmute(pnprofiles.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -415,7 +415,7 @@ pub unsafe fn EnumColorProfilesW(pmachinename: P0, penumrecord: *const ENUMT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn EnumColorProfilesW ( pmachinename : :: windows::core::PCWSTR , penumrecord : *const ENUMTYPEW , penumerationbuffer : *mut u8 , pdwsizeofenumerationbuffer : *mut u32 , pnprofiles : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn EnumColorProfilesW ( pmachinename : :: windows::core::PCWSTR , penumrecord : *const ENUMTYPEW , penumerationbuffer : *mut u8 , pdwsizeofenumerationbuffer : *mut u32 , pnprofiles : *mut u32 ) -> super::super::Foundation:: BOOL ); EnumColorProfilesW(pmachinename.into().abi(), penumrecord, ::core::mem::transmute(penumerationbuffer.unwrap_or(::std::ptr::null_mut())), pdwsizeofenumerationbuffer, ::core::mem::transmute(pnprofiles.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -426,7 +426,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumICMProfilesA ( hdc : super::super::Graphics::Gdi:: HDC , proc : ICMENUMPROCA , param2 : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumICMProfilesA ( hdc : super::super::Graphics::Gdi:: HDC , proc : ICMENUMPROCA , param2 : super::super::Foundation:: LPARAM ) -> i32 ); EnumICMProfilesA(hdc.into(), proc, param2.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -437,13 +437,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn EnumICMProfilesW ( hdc : super::super::Graphics::Gdi:: HDC , proc : ICMENUMPROCW , param2 : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn EnumICMProfilesW ( hdc : super::super::Graphics::Gdi:: HDC , proc : ICMENUMPROCW , param2 : super::super::Foundation:: LPARAM ) -> i32 ); EnumICMProfilesW(hdc.into(), proc, param2.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn GetCMMInfo(hcolortransform: isize, param1: u32) -> u32 { - ::windows::core::link ! ( "mscms.dll""system" fn GetCMMInfo ( hcolortransform : isize , param1 : u32 ) -> u32 ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetCMMInfo ( hcolortransform : isize , param1 : u32 ) -> u32 ); GetCMMInfo(hcolortransform, param1) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -453,7 +453,7 @@ pub unsafe fn GetColorDirectoryA(pmachinename: P0, pbuffer: ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn GetColorDirectoryA ( pmachinename : :: windows::core::PCSTR , pbuffer : :: windows::core::PSTR , pdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetColorDirectoryA ( pmachinename : :: windows::core::PCSTR , pbuffer : :: windows::core::PSTR , pdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetColorDirectoryA(pmachinename.into().abi(), ::core::mem::transmute(pbuffer), pdwsize) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -463,35 +463,35 @@ pub unsafe fn GetColorDirectoryW(pmachinename: P0, pbuffer: ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn GetColorDirectoryW ( pmachinename : :: windows::core::PCWSTR , pbuffer : :: windows::core::PWSTR , pdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetColorDirectoryW ( pmachinename : :: windows::core::PCWSTR , pbuffer : :: windows::core::PWSTR , pdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetColorDirectoryW(pmachinename.into().abi(), ::core::mem::transmute(pbuffer), pdwsize) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetColorProfileElement(hprofile: isize, tag: u32, dwoffset: u32, pcbelement: *mut u32, pelement: ::core::option::Option<*mut ::core::ffi::c_void>, pbreference: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetColorProfileElement ( hprofile : isize , tag : u32 , dwoffset : u32 , pcbelement : *mut u32 , pelement : *mut ::core::ffi::c_void , pbreference : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetColorProfileElement ( hprofile : isize , tag : u32 , dwoffset : u32 , pcbelement : *mut u32 , pelement : *mut ::core::ffi::c_void , pbreference : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetColorProfileElement(hprofile, tag, dwoffset, pcbelement, ::core::mem::transmute(pelement.unwrap_or(::std::ptr::null_mut())), pbreference) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetColorProfileElementTag(hprofile: isize, dwindex: u32, ptag: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetColorProfileElementTag ( hprofile : isize , dwindex : u32 , ptag : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetColorProfileElementTag ( hprofile : isize , dwindex : u32 , ptag : *mut u32 ) -> super::super::Foundation:: BOOL ); GetColorProfileElementTag(hprofile, dwindex, ptag) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetColorProfileFromHandle(hprofile: isize, pprofile: ::core::option::Option<*mut u8>, pcbprofile: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetColorProfileFromHandle ( hprofile : isize , pprofile : *mut u8 , pcbprofile : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetColorProfileFromHandle ( hprofile : isize , pprofile : *mut u8 , pcbprofile : *mut u32 ) -> super::super::Foundation:: BOOL ); GetColorProfileFromHandle(hprofile, ::core::mem::transmute(pprofile.unwrap_or(::std::ptr::null_mut())), pcbprofile) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn GetColorProfileHeader(hprofile: isize, pheader: *mut PROFILEHEADER) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetColorProfileHeader ( hprofile : isize , pheader : *mut PROFILEHEADER ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetColorProfileHeader ( hprofile : isize , pheader : *mut PROFILEHEADER ) -> super::super::Foundation:: BOOL ); GetColorProfileHeader(hprofile, pheader) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -501,14 +501,14 @@ pub unsafe fn GetColorSpace(hdc: P0) -> HCOLORSPACE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetColorSpace ( hdc : super::super::Graphics::Gdi:: HDC ) -> HCOLORSPACE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetColorSpace ( hdc : super::super::Graphics::Gdi:: HDC ) -> HCOLORSPACE ); GetColorSpace(hdc.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCountColorProfileElements(hprofile: isize, pnelementcount: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetCountColorProfileElements ( hprofile : isize , pnelementcount : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetCountColorProfileElements ( hprofile : isize , pnelementcount : *mut u32 ) -> super::super::Foundation:: BOOL ); GetCountColorProfileElements(hprofile, pnelementcount) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -518,7 +518,7 @@ pub unsafe fn GetDeviceGammaRamp(hdc: P0, lpramp: *mut ::core::ffi::c_void) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetDeviceGammaRamp ( hdc : super::super::Graphics::Gdi:: HDC , lpramp : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetDeviceGammaRamp ( hdc : super::super::Graphics::Gdi:: HDC , lpramp : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetDeviceGammaRamp(hdc.into(), lpramp) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -528,7 +528,7 @@ pub unsafe fn GetICMProfileA(hdc: P0, pbufsize: *mut u32, pszfilename: ::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetICMProfileA ( hdc : super::super::Graphics::Gdi:: HDC , pbufsize : *mut u32 , pszfilename : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetICMProfileA ( hdc : super::super::Graphics::Gdi:: HDC , pbufsize : *mut u32 , pszfilename : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); GetICMProfileA(hdc.into(), pbufsize, ::core::mem::transmute(pszfilename)) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -538,7 +538,7 @@ pub unsafe fn GetICMProfileW(hdc: P0, pbufsize: *mut u32, pszfilename: ::win where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetICMProfileW ( hdc : super::super::Graphics::Gdi:: HDC , pbufsize : *mut u32 , pszfilename : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetICMProfileW ( hdc : super::super::Graphics::Gdi:: HDC , pbufsize : *mut u32 , pszfilename : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); GetICMProfileW(hdc.into(), pbufsize, ::core::mem::transmute(pszfilename)) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -548,7 +548,7 @@ pub unsafe fn GetLogColorSpaceA(hcolorspace: P0, lpbuffer: *mut LOGCOLORSPAC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetLogColorSpaceA ( hcolorspace : HCOLORSPACE , lpbuffer : *mut LOGCOLORSPACEA , nsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetLogColorSpaceA ( hcolorspace : HCOLORSPACE , lpbuffer : *mut LOGCOLORSPACEA , nsize : u32 ) -> super::super::Foundation:: BOOL ); GetLogColorSpaceA(hcolorspace.into(), lpbuffer, nsize) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -558,35 +558,35 @@ pub unsafe fn GetLogColorSpaceW(hcolorspace: P0, lpbuffer: *mut LOGCOLORSPAC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn GetLogColorSpaceW ( hcolorspace : HCOLORSPACE , lpbuffer : *mut LOGCOLORSPACEW , nsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn GetLogColorSpaceW ( hcolorspace : HCOLORSPACE , lpbuffer : *mut LOGCOLORSPACEW , nsize : u32 ) -> super::super::Foundation:: BOOL ); GetLogColorSpaceW(hcolorspace.into(), lpbuffer, nsize) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetNamedProfileInfo(hprofile: isize, pnamedprofileinfo: *mut NAMED_PROFILE_INFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetNamedProfileInfo ( hprofile : isize , pnamedprofileinfo : *mut NAMED_PROFILE_INFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetNamedProfileInfo ( hprofile : isize , pnamedprofileinfo : *mut NAMED_PROFILE_INFO ) -> super::super::Foundation:: BOOL ); GetNamedProfileInfo(hprofile, pnamedprofileinfo) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPS2ColorRenderingDictionary(hprofile: isize, dwintent: u32, pps2colorrenderingdictionary: ::core::option::Option<*mut u8>, pcbps2colorrenderingdictionary: *mut u32, pbbinary: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetPS2ColorRenderingDictionary ( hprofile : isize , dwintent : u32 , pps2colorrenderingdictionary : *mut u8 , pcbps2colorrenderingdictionary : *mut u32 , pbbinary : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetPS2ColorRenderingDictionary ( hprofile : isize , dwintent : u32 , pps2colorrenderingdictionary : *mut u8 , pcbps2colorrenderingdictionary : *mut u32 , pbbinary : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetPS2ColorRenderingDictionary(hprofile, dwintent, ::core::mem::transmute(pps2colorrenderingdictionary.unwrap_or(::std::ptr::null_mut())), pcbps2colorrenderingdictionary, pbbinary) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPS2ColorRenderingIntent(hprofile: isize, dwintent: u32, pbuffer: ::core::option::Option<*mut u8>, pcbps2colorrenderingintent: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetPS2ColorRenderingIntent ( hprofile : isize , dwintent : u32 , pbuffer : *mut u8 , pcbps2colorrenderingintent : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetPS2ColorRenderingIntent ( hprofile : isize , dwintent : u32 , pbuffer : *mut u8 , pcbps2colorrenderingintent : *mut u32 ) -> super::super::Foundation:: BOOL ); GetPS2ColorRenderingIntent(hprofile, dwintent, ::core::mem::transmute(pbuffer.unwrap_or(::std::ptr::null_mut())), pcbps2colorrenderingintent) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPS2ColorSpaceArray(hprofile: isize, dwintent: u32, dwcsatype: u32, pps2colorspacearray: ::core::option::Option<*mut u8>, pcbps2colorspacearray: *mut u32, pbbinary: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn GetPS2ColorSpaceArray ( hprofile : isize , dwintent : u32 , dwcsatype : u32 , pps2colorspacearray : *mut u8 , pcbps2colorspacearray : *mut u32 , pbbinary : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetPS2ColorSpaceArray ( hprofile : isize , dwintent : u32 , dwcsatype : u32 , pps2colorspacearray : *mut u8 , pcbps2colorspacearray : *mut u32 , pbbinary : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); GetPS2ColorSpaceArray(hprofile, dwintent, dwcsatype, ::core::mem::transmute(pps2colorspacearray.unwrap_or(::std::ptr::null_mut())), pcbps2colorspacearray, pbbinary) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -596,7 +596,7 @@ pub unsafe fn GetStandardColorSpaceProfileA(pmachinename: P0, dwscs: u32, pb where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn GetStandardColorSpaceProfileA ( pmachinename : :: windows::core::PCSTR , dwscs : u32 , pbuffer : :: windows::core::PSTR , pcbsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetStandardColorSpaceProfileA ( pmachinename : :: windows::core::PCSTR , dwscs : u32 , pbuffer : :: windows::core::PSTR , pcbsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetStandardColorSpaceProfileA(pmachinename.into().abi(), dwscs, ::core::mem::transmute(pbuffer), pcbsize) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -606,7 +606,7 @@ pub unsafe fn GetStandardColorSpaceProfileW(pmachinename: P0, dwscs: u32, pb where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn GetStandardColorSpaceProfileW ( pmachinename : :: windows::core::PCWSTR , dwscs : u32 , pbuffer : :: windows::core::PWSTR , pcbsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn GetStandardColorSpaceProfileW ( pmachinename : :: windows::core::PCWSTR , dwscs : u32 , pbuffer : :: windows::core::PWSTR , pcbsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetStandardColorSpaceProfileW(pmachinename.into().abi(), dwscs, ::core::mem::transmute(pbuffer), pcbsize) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -617,7 +617,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn InstallColorProfileA ( pmachinename : :: windows::core::PCSTR , pprofilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn InstallColorProfileA ( pmachinename : :: windows::core::PCSTR , pprofilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); InstallColorProfileA(pmachinename.into().abi(), pprofilename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -628,33 +628,33 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn InstallColorProfileW ( pmachinename : :: windows::core::PCWSTR , pprofilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn InstallColorProfileW ( pmachinename : :: windows::core::PCWSTR , pprofilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); InstallColorProfileW(pmachinename.into().abi(), pprofilename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsColorProfileTagPresent(hprofile: isize, tag: u32, pbpresent: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn IsColorProfileTagPresent ( hprofile : isize , tag : u32 , pbpresent : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn IsColorProfileTagPresent ( hprofile : isize , tag : u32 , pbpresent : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); IsColorProfileTagPresent(hprofile, tag, pbpresent) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsColorProfileValid(hprofile: isize, pbvalid: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn IsColorProfileValid ( hprofile : isize , pbvalid : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn IsColorProfileValid ( hprofile : isize , pbvalid : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); IsColorProfileValid(hprofile, pbvalid) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn OpenColorProfileA(pprofile: *const PROFILE, dwdesiredaccess: u32, dwsharemode: u32, dwcreationmode: u32) -> isize { - ::windows::core::link ! ( "mscms.dll""system" fn OpenColorProfileA ( pprofile : *const PROFILE , dwdesiredaccess : u32 , dwsharemode : u32 , dwcreationmode : u32 ) -> isize ); + ::windows::imp::link ! ( "mscms.dll""system" fn OpenColorProfileA ( pprofile : *const PROFILE , dwdesiredaccess : u32 , dwsharemode : u32 , dwcreationmode : u32 ) -> isize ); OpenColorProfileA(pprofile, dwdesiredaccess, dwsharemode, dwcreationmode) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn OpenColorProfileW(pprofile: *const PROFILE, dwdesiredaccess: u32, dwsharemode: u32, dwcreationmode: u32) -> isize { - ::windows::core::link ! ( "mscms.dll""system" fn OpenColorProfileW ( pprofile : *const PROFILE , dwdesiredaccess : u32 , dwsharemode : u32 , dwcreationmode : u32 ) -> isize ); + ::windows::imp::link ! ( "mscms.dll""system" fn OpenColorProfileW ( pprofile : *const PROFILE , dwdesiredaccess : u32 , dwsharemode : u32 , dwcreationmode : u32 ) -> isize ); OpenColorProfileW(pprofile, dwdesiredaccess, dwsharemode, dwcreationmode) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -665,7 +665,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn RegisterCMMA ( pmachinename : :: windows::core::PCSTR , cmmid : u32 , pcmmdll : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn RegisterCMMA ( pmachinename : :: windows::core::PCSTR , cmmid : u32 , pcmmdll : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); RegisterCMMA(pmachinename.into().abi(), cmmid, pcmmdll.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -676,42 +676,42 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn RegisterCMMW ( pmachinename : :: windows::core::PCWSTR , cmmid : u32 , pcmmdll : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn RegisterCMMW ( pmachinename : :: windows::core::PCWSTR , cmmid : u32 , pcmmdll : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); RegisterCMMW(pmachinename.into().abi(), cmmid, pcmmdll.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SelectCMM(dwcmmtype: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn SelectCMM ( dwcmmtype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn SelectCMM ( dwcmmtype : u32 ) -> super::super::Foundation:: BOOL ); SelectCMM(dwcmmtype) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetColorProfileElement(hprofile: isize, tag: u32, dwoffset: u32, pcbelement: *const u32, pelement: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn SetColorProfileElement ( hprofile : isize , tag : u32 , dwoffset : u32 , pcbelement : *const u32 , pelement : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn SetColorProfileElement ( hprofile : isize , tag : u32 , dwoffset : u32 , pcbelement : *const u32 , pelement : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetColorProfileElement(hprofile, tag, dwoffset, pcbelement, pelement) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetColorProfileElementReference(hprofile: isize, newtag: u32, reftag: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn SetColorProfileElementReference ( hprofile : isize , newtag : u32 , reftag : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn SetColorProfileElementReference ( hprofile : isize , newtag : u32 , reftag : u32 ) -> super::super::Foundation:: BOOL ); SetColorProfileElementReference(hprofile, newtag, reftag) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetColorProfileElementSize(hprofile: isize, tagtype: u32, pcbelement: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn SetColorProfileElementSize ( hprofile : isize , tagtype : u32 , pcbelement : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn SetColorProfileElementSize ( hprofile : isize , tagtype : u32 , pcbelement : u32 ) -> super::super::Foundation:: BOOL ); SetColorProfileElementSize(hprofile, tagtype, pcbelement) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn SetColorProfileHeader(hprofile: isize, pheader: *const PROFILEHEADER) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn SetColorProfileHeader ( hprofile : isize , pheader : *const PROFILEHEADER ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn SetColorProfileHeader ( hprofile : isize , pheader : *const PROFILEHEADER ) -> super::super::Foundation:: BOOL ); SetColorProfileHeader(hprofile, pheader) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -722,7 +722,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetColorSpace ( hdc : super::super::Graphics::Gdi:: HDC , hcs : HCOLORSPACE ) -> HCOLORSPACE ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetColorSpace ( hdc : super::super::Graphics::Gdi:: HDC , hcs : HCOLORSPACE ) -> HCOLORSPACE ); SetColorSpace(hdc.into(), hcs.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -732,7 +732,7 @@ pub unsafe fn SetDeviceGammaRamp(hdc: P0, lpramp: *const ::core::ffi::c_void where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetDeviceGammaRamp ( hdc : super::super::Graphics::Gdi:: HDC , lpramp : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetDeviceGammaRamp ( hdc : super::super::Graphics::Gdi:: HDC , lpramp : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetDeviceGammaRamp(hdc.into(), lpramp) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -742,7 +742,7 @@ pub unsafe fn SetICMMode(hdc: P0, mode: ICM_MODE) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetICMMode ( hdc : super::super::Graphics::Gdi:: HDC , mode : ICM_MODE ) -> i32 ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetICMMode ( hdc : super::super::Graphics::Gdi:: HDC , mode : ICM_MODE ) -> i32 ); SetICMMode(hdc.into(), mode) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -753,7 +753,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetICMProfileA ( hdc : super::super::Graphics::Gdi:: HDC , lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetICMProfileA ( hdc : super::super::Graphics::Gdi:: HDC , lpfilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetICMProfileA(hdc.into(), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -764,7 +764,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn SetICMProfileW ( hdc : super::super::Graphics::Gdi:: HDC , lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn SetICMProfileW ( hdc : super::super::Graphics::Gdi:: HDC , lpfilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetICMProfileW(hdc.into(), lpfilename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -775,7 +775,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn SetStandardColorSpaceProfileA ( pmachinename : :: windows::core::PCSTR , dwprofileid : u32 , pprofilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn SetStandardColorSpaceProfileA ( pmachinename : :: windows::core::PCSTR , dwprofileid : u32 , pprofilename : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetStandardColorSpaceProfileA(pmachinename.into().abi(), dwprofileid, pprofilename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -786,21 +786,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn SetStandardColorSpaceProfileW ( pmachinename : :: windows::core::PCWSTR , dwprofileid : u32 , pprofilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn SetStandardColorSpaceProfileW ( pmachinename : :: windows::core::PCWSTR , dwprofileid : u32 , pprofilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetStandardColorSpaceProfileW(pmachinename.into().abi(), dwprofileid, pprofilename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn SetupColorMatchingA(pcms: *mut COLORMATCHSETUPA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icmui.dll""system" fn SetupColorMatchingA ( pcms : *mut COLORMATCHSETUPA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icmui.dll""system" fn SetupColorMatchingA ( pcms : *mut COLORMATCHSETUPA ) -> super::super::Foundation:: BOOL ); SetupColorMatchingA(pcms) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn SetupColorMatchingW(pcms: *mut COLORMATCHSETUPW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "icmui.dll""system" fn SetupColorMatchingW ( pcms : *mut COLORMATCHSETUPW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "icmui.dll""system" fn SetupColorMatchingW ( pcms : *mut COLORMATCHSETUPW ) -> super::super::Foundation:: BOOL ); SetupColorMatchingW(pcms) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -810,14 +810,14 @@ pub unsafe fn TranslateBitmapBits(hcolortransform: isize, psrcbits: *const : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mscms.dll""system" fn TranslateBitmapBits ( hcolortransform : isize , psrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwinputstride : u32 , pdestbits : *mut ::core::ffi::c_void , bmoutput : BMFORMAT , dwoutputstride : u32 , pfncallback : LPBMCALLBACKFN , ulcallbackdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn TranslateBitmapBits ( hcolortransform : isize , psrcbits : *const ::core::ffi::c_void , bminput : BMFORMAT , dwwidth : u32 , dwheight : u32 , dwinputstride : u32 , pdestbits : *mut ::core::ffi::c_void , bmoutput : BMFORMAT , dwoutputstride : u32 , pfncallback : LPBMCALLBACKFN , ulcallbackdata : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); TranslateBitmapBits(hcolortransform, psrcbits, bminput, dwwidth, dwheight, dwinputstride, pdestbits, bmoutput, dwoutputstride, pfncallback, ulcallbackdata.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TranslateColors(hcolortransform: isize, painputcolors: *const COLOR, ncolors: u32, ctinput: COLORTYPE, paoutputcolors: *mut COLOR, ctoutput: COLORTYPE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn TranslateColors ( hcolortransform : isize , painputcolors : *const COLOR , ncolors : u32 , ctinput : COLORTYPE , paoutputcolors : *mut COLOR , ctoutput : COLORTYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn TranslateColors ( hcolortransform : isize , painputcolors : *const COLOR , ncolors : u32 , ctinput : COLORTYPE , paoutputcolors : *mut COLOR , ctoutput : COLORTYPE ) -> super::super::Foundation:: BOOL ); TranslateColors(hcolortransform, painputcolors, ncolors, ctinput, paoutputcolors, ctoutput) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -829,7 +829,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mscms.dll""system" fn UninstallColorProfileA ( pmachinename : :: windows::core::PCSTR , pprofilename : :: windows::core::PCSTR , bdelete : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn UninstallColorProfileA ( pmachinename : :: windows::core::PCSTR , pprofilename : :: windows::core::PCSTR , bdelete : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); UninstallColorProfileA(pmachinename.into().abi(), pprofilename.into().abi(), bdelete.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -841,7 +841,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "mscms.dll""system" fn UninstallColorProfileW ( pmachinename : :: windows::core::PCWSTR , pprofilename : :: windows::core::PCWSTR , bdelete : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn UninstallColorProfileW ( pmachinename : :: windows::core::PCWSTR , pprofilename : :: windows::core::PCWSTR , bdelete : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); UninstallColorProfileW(pmachinename.into().abi(), pprofilename.into().abi(), bdelete.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -851,7 +851,7 @@ pub unsafe fn UnregisterCMMA(pmachinename: P0, cmmid: u32) -> super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn UnregisterCMMA ( pmachinename : :: windows::core::PCSTR , cmmid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn UnregisterCMMA ( pmachinename : :: windows::core::PCSTR , cmmid : u32 ) -> super::super::Foundation:: BOOL ); UnregisterCMMA(pmachinename.into().abi(), cmmid) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -861,7 +861,7 @@ pub unsafe fn UnregisterCMMW(pmachinename: P0, cmmid: u32) -> super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn UnregisterCMMW ( pmachinename : :: windows::core::PCWSTR , cmmid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn UnregisterCMMW ( pmachinename : :: windows::core::PCWSTR , cmmid : u32 ) -> super::super::Foundation:: BOOL ); UnregisterCMMW(pmachinename.into().abi(), cmmid) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -872,7 +872,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn UpdateICMRegKeyA ( reserved : u32 , lpszcmid : :: windows::core::PCSTR , lpszfilename : :: windows::core::PCSTR , command : ICM_COMMAND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn UpdateICMRegKeyA ( reserved : u32 , lpszcmid : :: windows::core::PCSTR , lpszfilename : :: windows::core::PCSTR , command : ICM_COMMAND ) -> super::super::Foundation:: BOOL ); UpdateICMRegKeyA(reserved, lpszcmid.into().abi(), lpszfilename.into().abi(), command) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -883,7 +883,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "gdi32.dll""system" fn UpdateICMRegKeyW ( reserved : u32 , lpszcmid : :: windows::core::PCWSTR , lpszfilename : :: windows::core::PCWSTR , command : ICM_COMMAND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "gdi32.dll""system" fn UpdateICMRegKeyW ( reserved : u32 , lpszcmid : :: windows::core::PCWSTR , lpszfilename : :: windows::core::PCWSTR , command : ICM_COMMAND ) -> super::super::Foundation:: BOOL ); UpdateICMRegKeyW(reserved, lpszcmid.into().abi(), lpszfilename.into().abi(), command) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -894,20 +894,20 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn WcsAssociateColorProfileWithDevice ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pprofilename : :: windows::core::PCWSTR , pdevicename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsAssociateColorProfileWithDevice ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pprofilename : :: windows::core::PCWSTR , pdevicename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WcsAssociateColorProfileWithDevice(scope, pprofilename.into().abi(), pdevicename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WcsCheckColors(hcolortransform: isize, ninputchannels: u32, cdtinput: COLORDATATYPE, cbinput: u32, pinputdata: *const ::core::ffi::c_void, paresult: &mut [u8]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn WcsCheckColors ( hcolortransform : isize , ncolors : u32 , ninputchannels : u32 , cdtinput : COLORDATATYPE , cbinput : u32 , pinputdata : *const ::core::ffi::c_void , paresult : *mut u8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsCheckColors ( hcolortransform : isize , ncolors : u32 , ninputchannels : u32 , cdtinput : COLORDATATYPE , cbinput : u32 , pinputdata : *const ::core::ffi::c_void , paresult : *mut u8 ) -> super::super::Foundation:: BOOL ); WcsCheckColors(hcolortransform, paresult.len() as _, ninputchannels, cdtinput, cbinput, pinputdata, ::core::mem::transmute(paresult.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn WcsCreateIccProfile(hwcsprofile: isize, dwoptions: u32) -> isize { - ::windows::core::link ! ( "mscms.dll""system" fn WcsCreateIccProfile ( hwcsprofile : isize , dwoptions : u32 ) -> isize ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsCreateIccProfile ( hwcsprofile : isize , dwoptions : u32 ) -> isize ); WcsCreateIccProfile(hwcsprofile, dwoptions) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -918,28 +918,28 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn WcsDisassociateColorProfileFromDevice ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pprofilename : :: windows::core::PCWSTR , pdevicename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsDisassociateColorProfileFromDevice ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pprofilename : :: windows::core::PCWSTR , pdevicename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WcsDisassociateColorProfileFromDevice(scope, pprofilename.into().abi(), pdevicename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WcsEnumColorProfiles(scope: WCS_PROFILE_MANAGEMENT_SCOPE, penumrecord: *const ENUMTYPEW, pbuffer: &mut [u8], pnprofiles: ::core::option::Option<*mut u32>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn WcsEnumColorProfiles ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , penumrecord : *const ENUMTYPEW , pbuffer : *mut u8 , dwsize : u32 , pnprofiles : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsEnumColorProfiles ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , penumrecord : *const ENUMTYPEW , pbuffer : *mut u8 , dwsize : u32 , pnprofiles : *mut u32 ) -> super::super::Foundation:: BOOL ); WcsEnumColorProfiles(scope, penumrecord, ::core::mem::transmute(pbuffer.as_ptr()), pbuffer.len() as _, ::core::mem::transmute(pnprofiles.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WcsEnumColorProfilesSize(scope: WCS_PROFILE_MANAGEMENT_SCOPE, penumrecord: *const ENUMTYPEW, pdwsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn WcsEnumColorProfilesSize ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , penumrecord : *const ENUMTYPEW , pdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsEnumColorProfilesSize ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , penumrecord : *const ENUMTYPEW , pdwsize : *mut u32 ) -> super::super::Foundation:: BOOL ); WcsEnumColorProfilesSize(scope, penumrecord, pdwsize) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WcsGetCalibrationManagementState(pbisenabled: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn WcsGetCalibrationManagementState ( pbisenabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsGetCalibrationManagementState ( pbisenabled : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WcsGetCalibrationManagementState(pbisenabled) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -949,7 +949,7 @@ pub unsafe fn WcsGetDefaultColorProfile(scope: WCS_PROFILE_MANAGEMENT_SCOPE, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn WcsGetDefaultColorProfile ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pdevicename : :: windows::core::PCWSTR , cptcolorprofiletype : COLORPROFILETYPE , cpstcolorprofilesubtype : COLORPROFILESUBTYPE , dwprofileid : u32 , cbprofilename : u32 , pprofilename : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsGetDefaultColorProfile ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pdevicename : :: windows::core::PCWSTR , cptcolorprofiletype : COLORPROFILETYPE , cpstcolorprofilesubtype : COLORPROFILESUBTYPE , dwprofileid : u32 , cbprofilename : u32 , pprofilename : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); WcsGetDefaultColorProfile(scope, pdevicename.into().abi(), cptcolorprofiletype, cpstcolorprofilesubtype, dwprofileid, cbprofilename, ::core::mem::transmute(pprofilename)) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -959,14 +959,14 @@ pub unsafe fn WcsGetDefaultColorProfileSize(scope: WCS_PROFILE_MANAGEMENT_SC where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn WcsGetDefaultColorProfileSize ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pdevicename : :: windows::core::PCWSTR , cptcolorprofiletype : COLORPROFILETYPE , cpstcolorprofilesubtype : COLORPROFILESUBTYPE , dwprofileid : u32 , pcbprofilename : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsGetDefaultColorProfileSize ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pdevicename : :: windows::core::PCWSTR , cptcolorprofiletype : COLORPROFILETYPE , cpstcolorprofilesubtype : COLORPROFILESUBTYPE , dwprofileid : u32 , pcbprofilename : *mut u32 ) -> super::super::Foundation:: BOOL ); WcsGetDefaultColorProfileSize(scope, pdevicename.into().abi(), cptcolorprofiletype, cpstcolorprofilesubtype, dwprofileid, pcbprofilename) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WcsGetDefaultRenderingIntent(scope: WCS_PROFILE_MANAGEMENT_SCOPE, pdwrenderingintent: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn WcsGetDefaultRenderingIntent ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pdwrenderingintent : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsGetDefaultRenderingIntent ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pdwrenderingintent : *mut u32 ) -> super::super::Foundation:: BOOL ); WcsGetDefaultRenderingIntent(scope, pdwrenderingintent) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -976,19 +976,19 @@ pub unsafe fn WcsGetUsePerUserProfiles(pdevicename: P0, dwdeviceclass: u32, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn WcsGetUsePerUserProfiles ( pdevicename : :: windows::core::PCWSTR , dwdeviceclass : u32 , puseperuserprofiles : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsGetUsePerUserProfiles ( pdevicename : :: windows::core::PCWSTR , dwdeviceclass : u32 , puseperuserprofiles : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WcsGetUsePerUserProfiles(pdevicename.into().abi(), dwdeviceclass, puseperuserprofiles) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn WcsOpenColorProfileA(pcdmpprofile: *const PROFILE, pcampprofile: ::core::option::Option<*const PROFILE>, pgmmpprofile: ::core::option::Option<*const PROFILE>, dwdesireaccess: u32, dwsharemode: u32, dwcreationmode: u32, dwflags: u32) -> isize { - ::windows::core::link ! ( "mscms.dll""system" fn WcsOpenColorProfileA ( pcdmpprofile : *const PROFILE , pcampprofile : *const PROFILE , pgmmpprofile : *const PROFILE , dwdesireaccess : u32 , dwsharemode : u32 , dwcreationmode : u32 , dwflags : u32 ) -> isize ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsOpenColorProfileA ( pcdmpprofile : *const PROFILE , pcampprofile : *const PROFILE , pgmmpprofile : *const PROFILE , dwdesireaccess : u32 , dwsharemode : u32 , dwcreationmode : u32 , dwflags : u32 ) -> isize ); WcsOpenColorProfileA(pcdmpprofile, ::core::mem::transmute(pcampprofile.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pgmmpprofile.unwrap_or(::std::ptr::null())), dwdesireaccess, dwsharemode, dwcreationmode, dwflags) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[inline] pub unsafe fn WcsOpenColorProfileW(pcdmpprofile: *const PROFILE, pcampprofile: ::core::option::Option<*const PROFILE>, pgmmpprofile: ::core::option::Option<*const PROFILE>, dwdesireaccess: u32, dwsharemode: u32, dwcreationmode: u32, dwflags: u32) -> isize { - ::windows::core::link ! ( "mscms.dll""system" fn WcsOpenColorProfileW ( pcdmpprofile : *const PROFILE , pcampprofile : *const PROFILE , pgmmpprofile : *const PROFILE , dwdesireaccess : u32 , dwsharemode : u32 , dwcreationmode : u32 , dwflags : u32 ) -> isize ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsOpenColorProfileW ( pcdmpprofile : *const PROFILE , pcampprofile : *const PROFILE , pgmmpprofile : *const PROFILE , dwdesireaccess : u32 , dwsharemode : u32 , dwcreationmode : u32 , dwflags : u32 ) -> isize ); WcsOpenColorProfileW(pcdmpprofile, ::core::mem::transmute(pcampprofile.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pgmmpprofile.unwrap_or(::std::ptr::null())), dwdesireaccess, dwsharemode, dwcreationmode, dwflags) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -998,7 +998,7 @@ pub unsafe fn WcsSetCalibrationManagementState(bisenabled: P0) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "mscms.dll""system" fn WcsSetCalibrationManagementState ( bisenabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsSetCalibrationManagementState ( bisenabled : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WcsSetCalibrationManagementState(bisenabled.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -1009,14 +1009,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mscms.dll""system" fn WcsSetDefaultColorProfile ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pdevicename : :: windows::core::PCWSTR , cptcolorprofiletype : COLORPROFILETYPE , cpstcolorprofilesubtype : COLORPROFILESUBTYPE , dwprofileid : u32 , pprofilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsSetDefaultColorProfile ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , pdevicename : :: windows::core::PCWSTR , cptcolorprofiletype : COLORPROFILETYPE , cpstcolorprofilesubtype : COLORPROFILESUBTYPE , dwprofileid : u32 , pprofilename : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); WcsSetDefaultColorProfile(scope, pdevicename.into().abi(), cptcolorprofiletype, cpstcolorprofilesubtype, dwprofileid, pprofilename.into().abi()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WcsSetDefaultRenderingIntent(scope: WCS_PROFILE_MANAGEMENT_SCOPE, dwrenderingintent: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn WcsSetDefaultRenderingIntent ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , dwrenderingintent : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsSetDefaultRenderingIntent ( scope : WCS_PROFILE_MANAGEMENT_SCOPE , dwrenderingintent : u32 ) -> super::super::Foundation:: BOOL ); WcsSetDefaultRenderingIntent(scope, dwrenderingintent) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] @@ -1027,14 +1027,14 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "mscms.dll""system" fn WcsSetUsePerUserProfiles ( pdevicename : :: windows::core::PCWSTR , dwdeviceclass : u32 , useperuserprofiles : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsSetUsePerUserProfiles ( pdevicename : :: windows::core::PCWSTR , dwdeviceclass : u32 , useperuserprofiles : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); WcsSetUsePerUserProfiles(pdevicename.into().abi(), dwdeviceclass, useperuserprofiles.into()) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WcsTranslateColors(hcolortransform: isize, ncolors: u32, ninputchannels: u32, cdtinput: COLORDATATYPE, cbinput: u32, pinputdata: *const ::core::ffi::c_void, noutputchannels: u32, cdtoutput: COLORDATATYPE, cboutput: u32, poutputdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "mscms.dll""system" fn WcsTranslateColors ( hcolortransform : isize , ncolors : u32 , ninputchannels : u32 , cdtinput : COLORDATATYPE , cbinput : u32 , pinputdata : *const ::core::ffi::c_void , noutputchannels : u32 , cdtoutput : COLORDATATYPE , cboutput : u32 , poutputdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "mscms.dll""system" fn WcsTranslateColors ( hcolortransform : isize , ncolors : u32 , ninputchannels : u32 , cdtinput : COLORDATATYPE , cbinput : u32 , pinputdata : *const ::core::ffi::c_void , noutputchannels : u32 , cdtoutput : COLORDATATYPE , cboutput : u32 , poutputdata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); WcsTranslateColors(hcolortransform, ncolors, ninputchannels, cdtinput, cbinput, pinputdata, noutputchannels, cdtoutput, cboutput, poutputdata) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] @@ -1084,7 +1084,7 @@ impl IDeviceModelPlugIn { (::windows::core::Vtable::vtable(self).GetNeutralAxis)(::windows::core::Vtable::as_raw(self), pxyzcolors.len() as _, ::core::mem::transmute(pxyzcolors.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(IDeviceModelPlugIn, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDeviceModelPlugIn, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDeviceModelPlugIn { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1141,7 +1141,7 @@ impl IGamutMapModelPlugIn { (::windows::core::Vtable::vtable(self).SourceToDestinationAppearanceColors)(::windows::core::Vtable::as_raw(self), ccolors, pinputcolors, poutputcolors).ok() } } -::windows::core::interface_hierarchy!(IGamutMapModelPlugIn, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGamutMapModelPlugIn, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGamutMapModelPlugIn { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs index 413eb42cb6..92f4cd1081 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -2,48 +2,48 @@ #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ChooseColorA(param0: *mut CHOOSECOLORA) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn ChooseColorA ( param0 : *mut CHOOSECOLORA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn ChooseColorA ( param0 : *mut CHOOSECOLORA ) -> super::super::super::Foundation:: BOOL ); ChooseColorA(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ChooseColorW(param0: *mut CHOOSECOLORW) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn ChooseColorW ( param0 : *mut CHOOSECOLORW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn ChooseColorW ( param0 : *mut CHOOSECOLORW ) -> super::super::super::Foundation:: BOOL ); ChooseColorW(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn ChooseFontA(param0: *mut CHOOSEFONTA) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn ChooseFontA ( param0 : *mut CHOOSEFONTA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn ChooseFontA ( param0 : *mut CHOOSEFONTA ) -> super::super::super::Foundation:: BOOL ); ChooseFontA(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn ChooseFontW(param0: *mut CHOOSEFONTW) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn ChooseFontW ( param0 : *mut CHOOSEFONTW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn ChooseFontW ( param0 : *mut CHOOSEFONTW ) -> super::super::super::Foundation:: BOOL ); ChooseFontW(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] #[inline] pub unsafe fn CommDlgExtendedError() -> COMMON_DLG_ERRORS { - ::windows::core::link ! ( "comdlg32.dll""system" fn CommDlgExtendedError ( ) -> COMMON_DLG_ERRORS ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn CommDlgExtendedError ( ) -> COMMON_DLG_ERRORS ); CommDlgExtendedError() } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FindTextA(param0: *mut FINDREPLACEA) -> super::super::super::Foundation::HWND { - ::windows::core::link ! ( "comdlg32.dll""system" fn FindTextA ( param0 : *mut FINDREPLACEA ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn FindTextA ( param0 : *mut FINDREPLACEA ) -> super::super::super::Foundation:: HWND ); FindTextA(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FindTextW(param0: *mut FINDREPLACEW) -> super::super::super::Foundation::HWND { - ::windows::core::link ! ( "comdlg32.dll""system" fn FindTextW ( param0 : *mut FINDREPLACEW ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn FindTextW ( param0 : *mut FINDREPLACEW ) -> super::super::super::Foundation:: HWND ); FindTextW(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] @@ -52,7 +52,7 @@ pub unsafe fn GetFileTitleA(param0: P0, buf: &mut [u8]) -> i16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "comdlg32.dll""system" fn GetFileTitleA ( param0 : :: windows::core::PCSTR , buf : :: windows::core::PSTR , cchsize : u16 ) -> i16 ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn GetFileTitleA ( param0 : :: windows::core::PCSTR , buf : :: windows::core::PSTR , cchsize : u16 ) -> i16 ); GetFileTitleA(param0.into().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] @@ -61,91 +61,91 @@ pub unsafe fn GetFileTitleW(param0: P0, buf: &mut [u16]) -> i16 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "comdlg32.dll""system" fn GetFileTitleW ( param0 : :: windows::core::PCWSTR , buf : :: windows::core::PWSTR , cchsize : u16 ) -> i16 ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn GetFileTitleW ( param0 : :: windows::core::PCWSTR , buf : :: windows::core::PWSTR , cchsize : u16 ) -> i16 ); GetFileTitleW(param0.into().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetOpenFileNameA(param0: *mut OPENFILENAMEA) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn GetOpenFileNameA ( param0 : *mut OPENFILENAMEA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn GetOpenFileNameA ( param0 : *mut OPENFILENAMEA ) -> super::super::super::Foundation:: BOOL ); GetOpenFileNameA(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetOpenFileNameW(param0: *mut OPENFILENAMEW) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn GetOpenFileNameW ( param0 : *mut OPENFILENAMEW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn GetOpenFileNameW ( param0 : *mut OPENFILENAMEW ) -> super::super::super::Foundation:: BOOL ); GetOpenFileNameW(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSaveFileNameA(param0: *mut OPENFILENAMEA) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn GetSaveFileNameA ( param0 : *mut OPENFILENAMEA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn GetSaveFileNameA ( param0 : *mut OPENFILENAMEA ) -> super::super::super::Foundation:: BOOL ); GetSaveFileNameA(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetSaveFileNameW(param0: *mut OPENFILENAMEW) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn GetSaveFileNameW ( param0 : *mut OPENFILENAMEW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn GetSaveFileNameW ( param0 : *mut OPENFILENAMEW ) -> super::super::super::Foundation:: BOOL ); GetSaveFileNameW(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PageSetupDlgA(param0: *mut PAGESETUPDLGA) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn PageSetupDlgA ( param0 : *mut PAGESETUPDLGA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn PageSetupDlgA ( param0 : *mut PAGESETUPDLGA ) -> super::super::super::Foundation:: BOOL ); PageSetupDlgA(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PageSetupDlgW(param0: *mut PAGESETUPDLGW) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn PageSetupDlgW ( param0 : *mut PAGESETUPDLGW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn PageSetupDlgW ( param0 : *mut PAGESETUPDLGW ) -> super::super::super::Foundation:: BOOL ); PageSetupDlgW(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn PrintDlgA(ppd: *mut PRINTDLGA) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn PrintDlgA ( ppd : *mut PRINTDLGA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn PrintDlgA ( ppd : *mut PRINTDLGA ) -> super::super::super::Foundation:: BOOL ); PrintDlgA(ppd) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn PrintDlgExA(ppd: *mut PRINTDLGEXA) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "comdlg32.dll""system" fn PrintDlgExA ( ppd : *mut PRINTDLGEXA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn PrintDlgExA ( ppd : *mut PRINTDLGEXA ) -> :: windows::core::HRESULT ); PrintDlgExA(ppd).ok() } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn PrintDlgExW(ppd: *mut PRINTDLGEXW) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "comdlg32.dll""system" fn PrintDlgExW ( ppd : *mut PRINTDLGEXW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn PrintDlgExW ( ppd : *mut PRINTDLGEXW ) -> :: windows::core::HRESULT ); PrintDlgExW(ppd).ok() } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn PrintDlgW(ppd: *mut PRINTDLGW) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comdlg32.dll""system" fn PrintDlgW ( ppd : *mut PRINTDLGW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn PrintDlgW ( ppd : *mut PRINTDLGW ) -> super::super::super::Foundation:: BOOL ); PrintDlgW(ppd) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReplaceTextA(param0: *mut FINDREPLACEA) -> super::super::super::Foundation::HWND { - ::windows::core::link ! ( "comdlg32.dll""system" fn ReplaceTextA ( param0 : *mut FINDREPLACEA ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn ReplaceTextA ( param0 : *mut FINDREPLACEA ) -> super::super::super::Foundation:: HWND ); ReplaceTextA(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReplaceTextW(param0: *mut FINDREPLACEW) -> super::super::super::Foundation::HWND { - ::windows::core::link ! ( "comdlg32.dll""system" fn ReplaceTextW ( param0 : *mut FINDREPLACEW ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "comdlg32.dll""system" fn ReplaceTextW ( param0 : *mut FINDREPLACEW ) -> super::super::super::Foundation:: HWND ); ReplaceTextW(param0) } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] @@ -169,7 +169,7 @@ impl IPrintDialogCallback { (::windows::core::Vtable::vtable(self).HandleMessage)(::windows::core::Vtable::as_raw(self), hdlg.into(), umsg, wparam.into(), lparam.into(), presult).ok() } } -::windows::core::interface_hierarchy!(IPrintDialogCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintDialogCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintDialogCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -219,7 +219,7 @@ impl IPrintDialogServices { (::windows::core::Vtable::vtable(self).GetCurrentPortName)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pportname), pcchsize).ok() } } -::windows::core::interface_hierarchy!(IPrintDialogServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPrintDialogServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPrintDialogServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs index 3a19c73a75..c24ba39fc5 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs @@ -87,7 +87,7 @@ impl IRichEditOle { (::windows::core::Vtable::vtable(self).ImportDataObject)(::windows::core::Vtable::as_raw(self), lpdataobj.into().abi(), cf, hmetapict).ok() } } -::windows::core::interface_hierarchy!(IRichEditOle, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRichEditOle, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRichEditOle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -233,7 +233,7 @@ impl IRichEditOleCallback { (::windows::core::Vtable::vtable(self).GetContextMenu)(::windows::core::Vtable::as_raw(self), seltype, lpoleobj.into().abi(), lpchrg, lphmenu).ok() } } -::windows::core::interface_hierarchy!(IRichEditOleCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRichEditOleCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRichEditOleCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -311,7 +311,7 @@ impl IRicheditUiaOverrides { (::windows::core::Vtable::vtable(self).GetPropertyOverrideValue)(::windows::core::Vtable::as_raw(self), propertyid, pretvalue).ok() } } -::windows::core::interface_hierarchy!(IRicheditUiaOverrides, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRicheditUiaOverrides, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRicheditUiaOverrides { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -350,7 +350,7 @@ pub struct ITextDisplays(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextDisplays {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextDisplays, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITextDisplays, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextDisplays { fn eq(&self, other: &Self) -> bool { @@ -474,7 +474,7 @@ impl ITextDocument { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextDocument, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITextDocument, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextDocument { fn eq(&self, other: &Self) -> bool { @@ -826,7 +826,7 @@ impl ITextDocument2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextDocument2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextDocument); +::windows::imp::interface_hierarchy!(ITextDocument2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextDocument); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextDocument2 { fn eq(&self, other: &Self) -> bool { @@ -1125,7 +1125,7 @@ impl ITextDocument2Old { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextDocument2Old, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextDocument); +::windows::imp::interface_hierarchy!(ITextDocument2Old, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextDocument); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextDocument2Old { fn eq(&self, other: &Self) -> bool { @@ -1412,7 +1412,7 @@ impl ITextFont { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextFont, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITextFont, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextFont { fn eq(&self, other: &Self) -> bool { @@ -1896,7 +1896,7 @@ impl ITextFont2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextFont2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextFont); +::windows::imp::interface_hierarchy!(ITextFont2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextFont); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextFont2 { fn eq(&self, other: &Self) -> bool { @@ -2196,7 +2196,7 @@ impl ITextHost { (::windows::core::Vtable::vtable(self).TxGetSelectionBarWidth)(::windows::core::Vtable::as_raw(self), lselbarwidth).ok() } } -::windows::core::interface_hierarchy!(ITextHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2602,7 +2602,7 @@ impl ITextHost2 { (::windows::core::Vtable::vtable(self).TxGetHorzExtent)(::windows::core::Vtable::as_raw(self), plhorzextent).ok() } } -::windows::core::interface_hierarchy!(ITextHost2, ::windows::core::IUnknown, ITextHost); +::windows::imp::interface_hierarchy!(ITextHost2, ::windows::core::IUnknown, ITextHost); impl ::core::cmp::PartialEq for ITextHost2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2845,7 +2845,7 @@ impl ITextPara { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextPara, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITextPara, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextPara { fn eq(&self, other: &Self) -> bool { @@ -3193,7 +3193,7 @@ impl ITextPara2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextPara2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextPara); +::windows::imp::interface_hierarchy!(ITextPara2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextPara); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextPara2 { fn eq(&self, other: &Self) -> bool { @@ -3507,7 +3507,7 @@ impl ITextRange { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextRange, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITextRange, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextRange { fn eq(&self, other: &Self) -> bool { @@ -4117,7 +4117,7 @@ impl ITextRange2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextRange2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange, ITextSelection); +::windows::imp::interface_hierarchy!(ITextRange2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange, ITextSelection); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextRange2 { fn eq(&self, other: &Self) -> bool { @@ -4394,7 +4394,7 @@ impl ITextRow { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextRow, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITextRow, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextRow { fn eq(&self, other: &Self) -> bool { @@ -4770,7 +4770,7 @@ impl ITextSelection { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextSelection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange); +::windows::imp::interface_hierarchy!(ITextSelection, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextSelection { fn eq(&self, other: &Self) -> bool { @@ -5279,7 +5279,7 @@ impl ITextSelection2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextSelection2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange, ITextSelection, ITextRange2); +::windows::imp::interface_hierarchy!(ITextSelection2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange, ITextSelection, ITextRange2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextSelection2 { fn eq(&self, other: &Self) -> bool { @@ -5415,7 +5415,7 @@ impl ITextServices { (::windows::core::Vtable::vtable(self).TxGetCachedSize)(::windows::core::Vtable::as_raw(self), pdwwidth, pdwheight).ok() } } -::windows::core::interface_hierarchy!(ITextServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5606,7 +5606,7 @@ impl ITextServices2 { (::windows::core::Vtable::vtable(self).TxDrawD2D)(::windows::core::Vtable::as_raw(self), prendertarget.into().abi(), lprcbounds, lprcupdate, lviewid).ok() } } -::windows::core::interface_hierarchy!(ITextServices2, ::windows::core::IUnknown, ITextServices); +::windows::imp::interface_hierarchy!(ITextServices2, ::windows::core::IUnknown, ITextServices); impl ::core::cmp::PartialEq for ITextServices2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5695,7 +5695,7 @@ impl ITextStory { (::windows::core::Vtable::vtable(self).SetText)(::windows::core::Vtable::as_raw(self), flags, ::core::mem::transmute_copy(bstr)).ok() } } -::windows::core::interface_hierarchy!(ITextStory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5760,7 +5760,7 @@ impl ITextStoryRanges { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextStoryRanges, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITextStoryRanges, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextStoryRanges { fn eq(&self, other: &Self) -> bool { @@ -5829,7 +5829,7 @@ impl ITextStoryRanges2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextStoryRanges2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextStoryRanges); +::windows::imp::interface_hierarchy!(ITextStoryRanges2, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch, ITextStoryRanges); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextStoryRanges2 { fn eq(&self, other: &Self) -> bool { @@ -5958,7 +5958,7 @@ impl ITextStrings { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ITextStrings, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ITextStrings, ::windows::core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ITextStrings { fn eq(&self, other: &Self) -> bool { 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 a67f88a700..6277b1527a 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -10,7 +10,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn BeginBufferedAnimation ( hwnd : super::super::Foundation:: HWND , hdctarget : super::super::Graphics::Gdi:: HDC , prctarget : *const super::super::Foundation:: RECT , dwformat : BP_BUFFERFORMAT , ppaintparams : *const BP_PAINTPARAMS , panimationparams : *const BP_ANIMATIONPARAMS , phdcfrom : *mut super::super::Graphics::Gdi:: HDC , phdcto : *mut super::super::Graphics::Gdi:: HDC ) -> isize ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BeginBufferedAnimation ( hwnd : super::super::Foundation:: HWND , hdctarget : super::super::Graphics::Gdi:: HDC , prctarget : *const super::super::Foundation:: RECT , dwformat : BP_BUFFERFORMAT , ppaintparams : *const BP_PAINTPARAMS , panimationparams : *const BP_ANIMATIONPARAMS , phdcfrom : *mut super::super::Graphics::Gdi:: HDC , phdcto : *mut super::super::Graphics::Gdi:: HDC ) -> isize ); BeginBufferedAnimation(hwnd.into(), hdctarget.into(), prctarget, dwformat, ::core::mem::transmute(ppaintparams.unwrap_or(::std::ptr::null())), panimationparams, phdcfrom, phdcto) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -20,7 +20,7 @@ pub unsafe fn BeginBufferedPaint(hdctarget: P0, prctarget: *const super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn BeginBufferedPaint ( hdctarget : super::super::Graphics::Gdi:: HDC , prctarget : *const super::super::Foundation:: RECT , dwformat : BP_BUFFERFORMAT , ppaintparams : *const BP_PAINTPARAMS , phdc : *mut super::super::Graphics::Gdi:: HDC ) -> isize ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BeginBufferedPaint ( hdctarget : super::super::Graphics::Gdi:: HDC , prctarget : *const super::super::Foundation:: RECT , dwformat : BP_BUFFERFORMAT , ppaintparams : *const BP_PAINTPARAMS , phdc : *mut super::super::Graphics::Gdi:: HDC ) -> isize ); BeginBufferedPaint(hdctarget.into(), prctarget, dwformat, ::core::mem::transmute(ppaintparams.unwrap_or(::std::ptr::null())), phdc) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -30,20 +30,20 @@ pub unsafe fn BeginPanningFeedback(hwnd: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn BeginPanningFeedback ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BeginPanningFeedback ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); BeginPanningFeedback(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BufferedPaintClear(hbufferedpaint: isize, prc: ::core::option::Option<*const super::super::Foundation::RECT>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uxtheme.dll""system" fn BufferedPaintClear ( hbufferedpaint : isize , prc : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BufferedPaintClear ( hbufferedpaint : isize , prc : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); BufferedPaintClear(hbufferedpaint, ::core::mem::transmute(prc.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn BufferedPaintInit() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uxtheme.dll""system" fn BufferedPaintInit ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BufferedPaintInit ( ) -> :: windows::core::HRESULT ); BufferedPaintInit().ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -54,14 +54,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn BufferedPaintRenderAnimation ( hwnd : super::super::Foundation:: HWND , hdctarget : super::super::Graphics::Gdi:: HDC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BufferedPaintRenderAnimation ( hwnd : super::super::Foundation:: HWND , hdctarget : super::super::Graphics::Gdi:: HDC ) -> super::super::Foundation:: BOOL ); BufferedPaintRenderAnimation(hwnd.into(), hdctarget.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn BufferedPaintSetAlpha(hbufferedpaint: isize, prc: ::core::option::Option<*const super::super::Foundation::RECT>, alpha: u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uxtheme.dll""system" fn BufferedPaintSetAlpha ( hbufferedpaint : isize , prc : *const super::super::Foundation:: RECT , alpha : u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BufferedPaintSetAlpha ( hbufferedpaint : isize , prc : *const super::super::Foundation:: RECT , alpha : u8 ) -> :: windows::core::HRESULT ); BufferedPaintSetAlpha(hbufferedpaint, ::core::mem::transmute(prc.unwrap_or(::std::ptr::null())), alpha).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -71,13 +71,13 @@ pub unsafe fn BufferedPaintStopAllAnimations(hwnd: P0) -> ::windows::core::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn BufferedPaintStopAllAnimations ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BufferedPaintStopAllAnimations ( hwnd : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); BufferedPaintStopAllAnimations(hwnd.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn BufferedPaintUnInit() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uxtheme.dll""system" fn BufferedPaintUnInit ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn BufferedPaintUnInit ( ) -> :: windows::core::HRESULT ); BufferedPaintUnInit().ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -87,7 +87,7 @@ pub unsafe fn CheckDlgButton(hdlg: P0, nidbutton: i32, ucheck: DLG_BUTTON_CH where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CheckDlgButton ( hdlg : super::super::Foundation:: HWND , nidbutton : i32 , ucheck : DLG_BUTTON_CHECK_STATE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CheckDlgButton ( hdlg : super::super::Foundation:: HWND , nidbutton : i32 , ucheck : DLG_BUTTON_CHECK_STATE ) -> super::super::Foundation:: BOOL ); CheckDlgButton(hdlg.into(), nidbutton, ucheck) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -97,7 +97,7 @@ pub unsafe fn CheckRadioButton(hdlg: P0, nidfirstbutton: i32, nidlastbutton: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CheckRadioButton ( hdlg : super::super::Foundation:: HWND , nidfirstbutton : i32 , nidlastbutton : i32 , nidcheckbutton : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CheckRadioButton ( hdlg : super::super::Foundation:: HWND , nidfirstbutton : i32 , nidlastbutton : i32 , nidcheckbutton : i32 ) -> super::super::Foundation:: BOOL ); CheckRadioButton(hdlg.into(), nidfirstbutton, nidlastbutton, nidcheckbutton) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -106,7 +106,7 @@ pub unsafe fn CloseThemeData(htheme: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn CloseThemeData ( htheme : HTHEME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn CloseThemeData ( htheme : HTHEME ) -> :: windows::core::HRESULT ); CloseThemeData(htheme.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -116,22 +116,22 @@ pub unsafe fn CreateMappedBitmap(hinstance: P0, idbitmap: isize, wflags: u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn CreateMappedBitmap ( hinstance : super::super::Foundation:: HINSTANCE , idbitmap : isize , wflags : u32 , lpcolormap : *const COLORMAP , inummaps : i32 ) -> super::super::Graphics::Gdi:: HBITMAP ); + ::windows::imp::link ! ( "comctl32.dll""system" fn CreateMappedBitmap ( hinstance : super::super::Foundation:: HINSTANCE , idbitmap : isize , wflags : u32 , lpcolormap : *const COLORMAP , inummaps : i32 ) -> super::super::Graphics::Gdi:: HBITMAP ); let result__ = CreateMappedBitmap(hinstance.into(), idbitmap, wflags, ::core::mem::transmute(lpcolormap.unwrap_or(::std::ptr::null())), inummaps); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn CreatePropertySheetPageA(constpropsheetpagepointer: *mut PROPSHEETPAGEA) -> HPROPSHEETPAGE { - ::windows::core::link ! ( "comctl32.dll""system" fn CreatePropertySheetPageA ( constpropsheetpagepointer : *mut PROPSHEETPAGEA ) -> HPROPSHEETPAGE ); + ::windows::imp::link ! ( "comctl32.dll""system" fn CreatePropertySheetPageA ( constpropsheetpagepointer : *mut PROPSHEETPAGEA ) -> HPROPSHEETPAGE ); CreatePropertySheetPageA(constpropsheetpagepointer) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn CreatePropertySheetPageW(constpropsheetpagepointer: *mut PROPSHEETPAGEW) -> HPROPSHEETPAGE { - ::windows::core::link ! ( "comctl32.dll""system" fn CreatePropertySheetPageW ( constpropsheetpagepointer : *mut PROPSHEETPAGEW ) -> HPROPSHEETPAGE ); + ::windows::imp::link ! ( "comctl32.dll""system" fn CreatePropertySheetPageW ( constpropsheetpagepointer : *mut PROPSHEETPAGEW ) -> HPROPSHEETPAGE ); CreatePropertySheetPageW(constpropsheetpagepointer) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -142,7 +142,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn CreateStatusWindowA ( style : i32 , lpsztext : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , wid : u32 ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "comctl32.dll""system" fn CreateStatusWindowA ( style : i32 , lpsztext : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , wid : u32 ) -> super::super::Foundation:: HWND ); CreateStatusWindowA(style, lpsztext.into().abi(), hwndparent.into(), wid) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -153,16 +153,16 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn CreateStatusWindowW ( style : i32 , lpsztext : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , wid : u32 ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "comctl32.dll""system" fn CreateStatusWindowW ( style : i32 , lpsztext : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , wid : u32 ) -> super::super::Foundation:: HWND ); CreateStatusWindowW(style, lpsztext.into().abi(), hwndparent.into(), wid) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn CreateSyntheticPointerDevice(pointertype: super::WindowsAndMessaging::POINTER_INPUT_TYPE, maxcount: u32, mode: POINTER_FEEDBACK_MODE) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn CreateSyntheticPointerDevice ( pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE , maxcount : u32 , mode : POINTER_FEEDBACK_MODE ) -> HSYNTHETICPOINTERDEVICE ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateSyntheticPointerDevice ( pointertype : super::WindowsAndMessaging:: POINTER_INPUT_TYPE , maxcount : u32 , mode : POINTER_FEEDBACK_MODE ) -> HSYNTHETICPOINTERDEVICE ); let result__ = CreateSyntheticPointerDevice(pointertype, maxcount, mode); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -172,7 +172,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn CreateToolbarEx ( hwnd : super::super::Foundation:: HWND , ws : u32 , wid : u32 , nbitmaps : i32 , hbminst : super::super::Foundation:: HINSTANCE , wbmid : usize , lpbuttons : *mut TBBUTTON , inumbuttons : i32 , dxbutton : i32 , dybutton : i32 , dxbitmap : i32 , dybitmap : i32 , ustructsize : u32 ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "comctl32.dll""system" fn CreateToolbarEx ( hwnd : super::super::Foundation:: HWND , ws : u32 , wid : u32 , nbitmaps : i32 , hbminst : super::super::Foundation:: HINSTANCE , wbmid : usize , lpbuttons : *mut TBBUTTON , inumbuttons : i32 , dxbutton : i32 , dybutton : i32 , dxbitmap : i32 , dybitmap : i32 , ustructsize : u32 ) -> super::super::Foundation:: HWND ); CreateToolbarEx(hwnd.into(), ws, wid, nbitmaps, hbminst.into(), wbmid, lpbuttons, inumbuttons, dxbutton, dybutton, dxbitmap, dybitmap, ustructsize) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -184,7 +184,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn CreateUpDownControl ( dwstyle : u32 , x : i32 , y : i32 , cx : i32 , cy : i32 , hparent : super::super::Foundation:: HWND , nid : i32 , hinst : super::super::Foundation:: HINSTANCE , hbuddy : super::super::Foundation:: HWND , nupper : i32 , nlower : i32 , npos : i32 ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "comctl32.dll""system" fn CreateUpDownControl ( dwstyle : u32 , x : i32 , y : i32 , cx : i32 , cy : i32 , hparent : super::super::Foundation:: HWND , nid : i32 , hinst : super::super::Foundation:: HINSTANCE , hbuddy : super::super::Foundation:: HWND , nupper : i32 , nlower : i32 , npos : i32 ) -> super::super::Foundation:: HWND ); CreateUpDownControl(dwstyle, x, y, cx, cy, hparent.into(), nid, hinst.into(), hbuddy.into(), nupper, nlower, npos) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -194,13 +194,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_Clone ( hdpa : HDPA , hdpanew : HDPA ) -> HDPA ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_Clone ( hdpa : HDPA , hdpanew : HDPA ) -> HDPA ); DPA_Clone(hdpa.into(), hdpanew.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn DPA_Create(citemgrow: i32) -> HDPA { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_Create ( citemgrow : i32 ) -> HDPA ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_Create ( citemgrow : i32 ) -> HDPA ); DPA_Create(citemgrow) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -210,7 +210,7 @@ pub unsafe fn DPA_CreateEx(cpgrow: i32, hheap: P0) -> HDPA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_CreateEx ( cpgrow : i32 , hheap : super::super::Foundation:: HANDLE ) -> HDPA ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_CreateEx ( cpgrow : i32 , hheap : super::super::Foundation:: HANDLE ) -> HDPA ); DPA_CreateEx(cpgrow, hheap.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -220,7 +220,7 @@ pub unsafe fn DPA_DeleteAllPtrs(hdpa: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_DeleteAllPtrs ( hdpa : HDPA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_DeleteAllPtrs ( hdpa : HDPA ) -> super::super::Foundation:: BOOL ); DPA_DeleteAllPtrs(hdpa.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -229,7 +229,7 @@ pub unsafe fn DPA_DeletePtr(hdpa: P0, i: i32) -> *mut ::core::ffi::c_void where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_DeletePtr ( hdpa : HDPA , i : i32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_DeletePtr ( hdpa : HDPA , i : i32 ) -> *mut ::core::ffi::c_void ); DPA_DeletePtr(hdpa.into(), i) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -239,7 +239,7 @@ pub unsafe fn DPA_Destroy(hdpa: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_Destroy ( hdpa : HDPA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_Destroy ( hdpa : HDPA ) -> super::super::Foundation:: BOOL ); DPA_Destroy(hdpa.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -248,7 +248,7 @@ pub unsafe fn DPA_DestroyCallback(hdpa: P0, pfncb: PFNDAENUMCALLBACK, pdata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_DestroyCallback ( hdpa : HDPA , pfncb : PFNDAENUMCALLBACK , pdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_DestroyCallback ( hdpa : HDPA , pfncb : PFNDAENUMCALLBACK , pdata : *const ::core::ffi::c_void ) -> ( ) ); DPA_DestroyCallback(hdpa.into(), pfncb, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -257,7 +257,7 @@ pub unsafe fn DPA_EnumCallback(hdpa: P0, pfncb: PFNDAENUMCALLBACK, pdata: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_EnumCallback ( hdpa : HDPA , pfncb : PFNDAENUMCALLBACK , pdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_EnumCallback ( hdpa : HDPA , pfncb : PFNDAENUMCALLBACK , pdata : *const ::core::ffi::c_void ) -> ( ) ); DPA_EnumCallback(hdpa.into(), pfncb, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -266,7 +266,7 @@ pub unsafe fn DPA_GetPtr(hdpa: P0, i: isize) -> *mut ::core::ffi::c_void where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_GetPtr ( hdpa : HDPA , i : isize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_GetPtr ( hdpa : HDPA , i : isize ) -> *mut ::core::ffi::c_void ); DPA_GetPtr(hdpa.into(), i) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -275,7 +275,7 @@ pub unsafe fn DPA_GetPtrIndex(hdpa: P0, p: ::core::option::Option<*const ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_GetPtrIndex ( hdpa : HDPA , p : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_GetPtrIndex ( hdpa : HDPA , p : *const ::core::ffi::c_void ) -> i32 ); DPA_GetPtrIndex(hdpa.into(), ::core::mem::transmute(p.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -284,7 +284,7 @@ pub unsafe fn DPA_GetSize(hdpa: P0) -> u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_GetSize ( hdpa : HDPA ) -> u64 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_GetSize ( hdpa : HDPA ) -> u64 ); DPA_GetSize(hdpa.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -294,7 +294,7 @@ pub unsafe fn DPA_Grow(pdpa: P0, cp: i32) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_Grow ( pdpa : HDPA , cp : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_Grow ( pdpa : HDPA , cp : i32 ) -> super::super::Foundation:: BOOL ); DPA_Grow(pdpa.into(), cp) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -303,7 +303,7 @@ pub unsafe fn DPA_InsertPtr(hdpa: P0, i: i32, p: ::core::option::Option<*con where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_InsertPtr ( hdpa : HDPA , i : i32 , p : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_InsertPtr ( hdpa : HDPA , i : i32 , p : *const ::core::ffi::c_void ) -> i32 ); DPA_InsertPtr(hdpa.into(), i, ::core::mem::transmute(p.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] @@ -313,7 +313,7 @@ pub unsafe fn DPA_LoadStream(phdpa: *mut HDPA, pfn: PFNDPASTREAM, pstream: P where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_LoadStream ( phdpa : *mut HDPA , pfn : PFNDPASTREAM , pstream : * mut::core::ffi::c_void , pvinstdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_LoadStream ( phdpa : *mut HDPA , pfn : PFNDPASTREAM , pstream : * mut::core::ffi::c_void , pvinstdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DPA_LoadStream(phdpa, pfn, pstream.into().abi(), ::core::mem::transmute(pvinstdata.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -325,7 +325,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_Merge ( hdpadest : HDPA , hdpasrc : HDPA , dwflags : u32 , pfncompare : PFNDACOMPARE , pfnmerge : PFNDPAMERGE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_Merge ( hdpadest : HDPA , hdpasrc : HDPA , dwflags : u32 , pfncompare : PFNDACOMPARE , pfnmerge : PFNDPAMERGE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); DPA_Merge(hdpadest.into(), hdpasrc.into(), dwflags, pfncompare, pfnmerge, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] @@ -336,7 +336,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_SaveStream ( hdpa : HDPA , pfn : PFNDPASTREAM , pstream : * mut::core::ffi::c_void , pvinstdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_SaveStream ( hdpa : HDPA , pfn : PFNDPASTREAM , pstream : * mut::core::ffi::c_void , pvinstdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); DPA_SaveStream(hdpa.into(), pfn, pstream.into().abi(), ::core::mem::transmute(pvinstdata.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -347,7 +347,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_Search ( hdpa : HDPA , pfind : *const ::core::ffi::c_void , istart : i32 , pfncompare : PFNDACOMPARE , lparam : super::super::Foundation:: LPARAM , options : u32 ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_Search ( hdpa : HDPA , pfind : *const ::core::ffi::c_void , istart : i32 , pfncompare : PFNDACOMPARE , lparam : super::super::Foundation:: LPARAM , options : u32 ) -> i32 ); DPA_Search(hdpa.into(), ::core::mem::transmute(pfind.unwrap_or(::std::ptr::null())), istart, pfncompare, lparam.into(), options) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -357,7 +357,7 @@ pub unsafe fn DPA_SetPtr(hdpa: P0, i: i32, p: ::core::option::Option<*const where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_SetPtr ( hdpa : HDPA , i : i32 , p : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_SetPtr ( hdpa : HDPA , i : i32 , p : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DPA_SetPtr(hdpa.into(), i, ::core::mem::transmute(p.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -368,7 +368,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DPA_Sort ( hdpa : HDPA , pfncompare : PFNDACOMPARE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DPA_Sort ( hdpa : HDPA , pfncompare : PFNDACOMPARE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); DPA_Sort(hdpa.into(), pfncompare, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -377,13 +377,13 @@ pub unsafe fn DSA_Clone(hdsa: P0) -> HDSA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_Clone ( hdsa : HDSA ) -> HDSA ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_Clone ( hdsa : HDSA ) -> HDSA ); DSA_Clone(hdsa.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn DSA_Create(cbitem: i32, citemgrow: i32) -> HDSA { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_Create ( cbitem : i32 , citemgrow : i32 ) -> HDSA ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_Create ( cbitem : i32 , citemgrow : i32 ) -> HDSA ); DSA_Create(cbitem, citemgrow) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -393,7 +393,7 @@ pub unsafe fn DSA_DeleteAllItems(hdsa: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_DeleteAllItems ( hdsa : HDSA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_DeleteAllItems ( hdsa : HDSA ) -> super::super::Foundation:: BOOL ); DSA_DeleteAllItems(hdsa.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -403,7 +403,7 @@ pub unsafe fn DSA_DeleteItem(hdsa: P0, i: i32) -> super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_DeleteItem ( hdsa : HDSA , i : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_DeleteItem ( hdsa : HDSA , i : i32 ) -> super::super::Foundation:: BOOL ); DSA_DeleteItem(hdsa.into(), i) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -413,7 +413,7 @@ pub unsafe fn DSA_Destroy(hdsa: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_Destroy ( hdsa : HDSA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_Destroy ( hdsa : HDSA ) -> super::super::Foundation:: BOOL ); DSA_Destroy(hdsa.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -422,7 +422,7 @@ pub unsafe fn DSA_DestroyCallback(hdsa: P0, pfncb: PFNDAENUMCALLBACK, pdata: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_DestroyCallback ( hdsa : HDSA , pfncb : PFNDAENUMCALLBACK , pdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_DestroyCallback ( hdsa : HDSA , pfncb : PFNDAENUMCALLBACK , pdata : *const ::core::ffi::c_void ) -> ( ) ); DSA_DestroyCallback(hdsa.into(), pfncb, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -431,7 +431,7 @@ pub unsafe fn DSA_EnumCallback(hdsa: P0, pfncb: PFNDAENUMCALLBACK, pdata: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_EnumCallback ( hdsa : HDSA , pfncb : PFNDAENUMCALLBACK , pdata : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_EnumCallback ( hdsa : HDSA , pfncb : PFNDAENUMCALLBACK , pdata : *const ::core::ffi::c_void ) -> ( ) ); DSA_EnumCallback(hdsa.into(), pfncb, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -441,7 +441,7 @@ pub unsafe fn DSA_GetItem(hdsa: P0, i: i32, pitem: *mut ::core::ffi::c_void) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_GetItem ( hdsa : HDSA , i : i32 , pitem : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_GetItem ( hdsa : HDSA , i : i32 , pitem : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DSA_GetItem(hdsa.into(), i, pitem) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -450,7 +450,7 @@ pub unsafe fn DSA_GetItemPtr(hdsa: P0, i: i32) -> *mut ::core::ffi::c_void where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_GetItemPtr ( hdsa : HDSA , i : i32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_GetItemPtr ( hdsa : HDSA , i : i32 ) -> *mut ::core::ffi::c_void ); DSA_GetItemPtr(hdsa.into(), i) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -459,7 +459,7 @@ pub unsafe fn DSA_GetSize(hdsa: P0) -> u64 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_GetSize ( hdsa : HDSA ) -> u64 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_GetSize ( hdsa : HDSA ) -> u64 ); DSA_GetSize(hdsa.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -468,7 +468,7 @@ pub unsafe fn DSA_InsertItem(hdsa: P0, i: i32, pitem: *const ::core::ffi::c_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_InsertItem ( hdsa : HDSA , i : i32 , pitem : *const ::core::ffi::c_void ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_InsertItem ( hdsa : HDSA , i : i32 , pitem : *const ::core::ffi::c_void ) -> i32 ); DSA_InsertItem(hdsa.into(), i, pitem) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -478,7 +478,7 @@ pub unsafe fn DSA_SetItem(hdsa: P0, i: i32, pitem: *const ::core::ffi::c_voi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_SetItem ( hdsa : HDSA , i : i32 , pitem : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_SetItem ( hdsa : HDSA , i : i32 , pitem : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DSA_SetItem(hdsa.into(), i, pitem) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -489,7 +489,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DSA_Sort ( pdsa : HDSA , pfncompare : PFNDACOMPARE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DSA_Sort ( pdsa : HDSA , pfncompare : PFNDACOMPARE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); DSA_Sort(pdsa.into(), pfncompare, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -499,7 +499,7 @@ pub unsafe fn DestroyPropertySheetPage(param0: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DestroyPropertySheetPage ( param0 : HPROPSHEETPAGE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DestroyPropertySheetPage ( param0 : HPROPSHEETPAGE ) -> super::super::Foundation:: BOOL ); DestroyPropertySheetPage(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -508,7 +508,7 @@ pub unsafe fn DestroySyntheticPointerDevice(device: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DestroySyntheticPointerDevice ( device : HSYNTHETICPOINTERDEVICE ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn DestroySyntheticPointerDevice ( device : HSYNTHETICPOINTERDEVICE ) -> ( ) ); DestroySyntheticPointerDevice(device.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -518,7 +518,7 @@ pub unsafe fn DlgDirListA(hdlg: P0, lppathspec: ::windows::core::PSTR, nidli where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DlgDirListA ( hdlg : super::super::Foundation:: HWND , lppathspec : :: windows::core::PSTR , nidlistbox : i32 , nidstaticpath : i32 , ufiletype : DLG_DIR_LIST_FILE_TYPE ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DlgDirListA ( hdlg : super::super::Foundation:: HWND , lppathspec : :: windows::core::PSTR , nidlistbox : i32 , nidstaticpath : i32 , ufiletype : DLG_DIR_LIST_FILE_TYPE ) -> i32 ); DlgDirListA(hdlg.into(), ::core::mem::transmute(lppathspec), nidlistbox, nidstaticpath, ufiletype) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -528,7 +528,7 @@ pub unsafe fn DlgDirListComboBoxA(hdlg: P0, lppathspec: ::windows::core::PST where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DlgDirListComboBoxA ( hdlg : super::super::Foundation:: HWND , lppathspec : :: windows::core::PSTR , nidcombobox : i32 , nidstaticpath : i32 , ufiletype : DLG_DIR_LIST_FILE_TYPE ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DlgDirListComboBoxA ( hdlg : super::super::Foundation:: HWND , lppathspec : :: windows::core::PSTR , nidcombobox : i32 , nidstaticpath : i32 , ufiletype : DLG_DIR_LIST_FILE_TYPE ) -> i32 ); DlgDirListComboBoxA(hdlg.into(), ::core::mem::transmute(lppathspec), nidcombobox, nidstaticpath, ufiletype) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -538,7 +538,7 @@ pub unsafe fn DlgDirListComboBoxW(hdlg: P0, lppathspec: ::windows::core::PWS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DlgDirListComboBoxW ( hdlg : super::super::Foundation:: HWND , lppathspec : :: windows::core::PWSTR , nidcombobox : i32 , nidstaticpath : i32 , ufiletype : DLG_DIR_LIST_FILE_TYPE ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DlgDirListComboBoxW ( hdlg : super::super::Foundation:: HWND , lppathspec : :: windows::core::PWSTR , nidcombobox : i32 , nidstaticpath : i32 , ufiletype : DLG_DIR_LIST_FILE_TYPE ) -> i32 ); DlgDirListComboBoxW(hdlg.into(), ::core::mem::transmute(lppathspec), nidcombobox, nidstaticpath, ufiletype) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -548,7 +548,7 @@ pub unsafe fn DlgDirListW(hdlg: P0, lppathspec: ::windows::core::PWSTR, nidl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DlgDirListW ( hdlg : super::super::Foundation:: HWND , lppathspec : :: windows::core::PWSTR , nidlistbox : i32 , nidstaticpath : i32 , ufiletype : DLG_DIR_LIST_FILE_TYPE ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DlgDirListW ( hdlg : super::super::Foundation:: HWND , lppathspec : :: windows::core::PWSTR , nidlistbox : i32 , nidstaticpath : i32 , ufiletype : DLG_DIR_LIST_FILE_TYPE ) -> i32 ); DlgDirListW(hdlg.into(), ::core::mem::transmute(lppathspec), nidlistbox, nidstaticpath, ufiletype) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -558,7 +558,7 @@ pub unsafe fn DlgDirSelectComboBoxExA(hwnddlg: P0, lpstring: &mut [u8], idco where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DlgDirSelectComboBoxExA ( hwnddlg : super::super::Foundation:: HWND , lpstring : :: windows::core::PSTR , cchout : i32 , idcombobox : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DlgDirSelectComboBoxExA ( hwnddlg : super::super::Foundation:: HWND , lpstring : :: windows::core::PSTR , cchout : i32 , idcombobox : i32 ) -> super::super::Foundation:: BOOL ); DlgDirSelectComboBoxExA(hwnddlg.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, idcombobox) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -568,7 +568,7 @@ pub unsafe fn DlgDirSelectComboBoxExW(hwnddlg: P0, lpstring: &mut [u16], idc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DlgDirSelectComboBoxExW ( hwnddlg : super::super::Foundation:: HWND , lpstring : :: windows::core::PWSTR , cchout : i32 , idcombobox : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DlgDirSelectComboBoxExW ( hwnddlg : super::super::Foundation:: HWND , lpstring : :: windows::core::PWSTR , cchout : i32 , idcombobox : i32 ) -> super::super::Foundation:: BOOL ); DlgDirSelectComboBoxExW(hwnddlg.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, idcombobox) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -578,7 +578,7 @@ pub unsafe fn DlgDirSelectExA(hwnddlg: P0, lpstring: &mut [u8], idlistbox: i where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DlgDirSelectExA ( hwnddlg : super::super::Foundation:: HWND , lpstring : :: windows::core::PSTR , chcount : i32 , idlistbox : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DlgDirSelectExA ( hwnddlg : super::super::Foundation:: HWND , lpstring : :: windows::core::PSTR , chcount : i32 , idlistbox : i32 ) -> super::super::Foundation:: BOOL ); DlgDirSelectExA(hwnddlg.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, idlistbox) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -588,7 +588,7 @@ pub unsafe fn DlgDirSelectExW(hwnddlg: P0, lpstring: &mut [u16], idlistbox: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DlgDirSelectExW ( hwnddlg : super::super::Foundation:: HWND , lpstring : :: windows::core::PWSTR , chcount : i32 , idlistbox : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DlgDirSelectExW ( hwnddlg : super::super::Foundation:: HWND , lpstring : :: windows::core::PWSTR , chcount : i32 , idlistbox : i32 ) -> super::super::Foundation:: BOOL ); DlgDirSelectExW(hwnddlg.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, idlistbox) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -599,7 +599,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DrawInsert ( handparent : super::super::Foundation:: HWND , hlb : super::super::Foundation:: HWND , nitem : i32 ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DrawInsert ( handparent : super::super::Foundation:: HWND , hlb : super::super::Foundation:: HWND , nitem : i32 ) -> ( ) ); DrawInsert(handparent.into(), hlb.into(), nitem) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -611,7 +611,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DrawShadowText ( hdc : super::super::Graphics::Gdi:: HDC , psztext : :: windows::core::PCWSTR , cch : u32 , prc : *const super::super::Foundation:: RECT , dwflags : u32 , crtext : super::super::Foundation:: COLORREF , crshadow : super::super::Foundation:: COLORREF , ixoffset : i32 , iyoffset : i32 ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DrawShadowText ( hdc : super::super::Graphics::Gdi:: HDC , psztext : :: windows::core::PCWSTR , cch : u32 , prc : *const super::super::Foundation:: RECT , dwflags : u32 , crtext : super::super::Foundation:: COLORREF , crshadow : super::super::Foundation:: COLORREF , ixoffset : i32 , iyoffset : i32 ) -> i32 ); DrawShadowText(hdc.into(), ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _, prc, dwflags, crtext.into(), crshadow.into(), ixoffset, iyoffset) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -622,7 +622,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "comctl32.dll""system" fn DrawStatusTextA ( hdc : super::super::Graphics::Gdi:: HDC , lprc : *mut super::super::Foundation:: RECT , psztext : :: windows::core::PCSTR , uflags : u32 ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DrawStatusTextA ( hdc : super::super::Graphics::Gdi:: HDC , lprc : *mut super::super::Foundation:: RECT , psztext : :: windows::core::PCSTR , uflags : u32 ) -> ( ) ); DrawStatusTextA(hdc.into(), lprc, psztext.into().abi(), uflags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -633,7 +633,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "comctl32.dll""system" fn DrawStatusTextW ( hdc : super::super::Graphics::Gdi:: HDC , lprc : *mut super::super::Foundation:: RECT , psztext : :: windows::core::PCWSTR , uflags : u32 ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DrawStatusTextW ( hdc : super::super::Graphics::Gdi:: HDC , lprc : *mut super::super::Foundation:: RECT , psztext : :: windows::core::PCWSTR , uflags : u32 ) -> ( ) ); DrawStatusTextW(hdc.into(), lprc, psztext.into().abi(), uflags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -644,7 +644,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn DrawThemeBackground ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prect : *const super::super::Foundation:: RECT , pcliprect : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn DrawThemeBackground ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prect : *const super::super::Foundation:: RECT , pcliprect : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); DrawThemeBackground(htheme.into(), hdc.into(), ipartid, istateid, prect, ::core::mem::transmute(pcliprect.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -655,7 +655,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn DrawThemeBackgroundEx ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prect : *const super::super::Foundation:: RECT , poptions : *const DTBGOPTS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn DrawThemeBackgroundEx ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prect : *const super::super::Foundation:: RECT , poptions : *const DTBGOPTS ) -> :: windows::core::HRESULT ); DrawThemeBackgroundEx(htheme.into(), hdc.into(), ipartid, istateid, prect, ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -666,7 +666,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn DrawThemeEdge ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , pdestrect : *const super::super::Foundation:: RECT , uedge : super::super::Graphics::Gdi:: DRAWEDGE_FLAGS , uflags : super::super::Graphics::Gdi:: DRAW_EDGE_FLAGS , pcontentrect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn DrawThemeEdge ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , pdestrect : *const super::super::Foundation:: RECT , uedge : super::super::Graphics::Gdi:: DRAWEDGE_FLAGS , uflags : super::super::Graphics::Gdi:: DRAW_EDGE_FLAGS , pcontentrect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); DrawThemeEdge(htheme.into(), hdc.into(), ipartid, istateid, pdestrect, uedge, uflags, ::core::mem::transmute(pcontentrect.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -678,7 +678,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn DrawThemeIcon ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prect : *const super::super::Foundation:: RECT , himl : HIMAGELIST , iimageindex : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn DrawThemeIcon ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prect : *const super::super::Foundation:: RECT , himl : HIMAGELIST , iimageindex : i32 ) -> :: windows::core::HRESULT ); DrawThemeIcon(htheme.into(), hdc.into(), ipartid, istateid, prect, himl.into(), iimageindex).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -689,7 +689,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn DrawThemeParentBackground ( hwnd : super::super::Foundation:: HWND , hdc : super::super::Graphics::Gdi:: HDC , prc : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn DrawThemeParentBackground ( hwnd : super::super::Foundation:: HWND , hdc : super::super::Graphics::Gdi:: HDC , prc : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); DrawThemeParentBackground(hwnd.into(), hdc.into(), ::core::mem::transmute(prc.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -700,7 +700,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn DrawThemeParentBackgroundEx ( hwnd : super::super::Foundation:: HWND , hdc : super::super::Graphics::Gdi:: HDC , dwflags : DRAW_THEME_PARENT_BACKGROUND_FLAGS , prc : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn DrawThemeParentBackgroundEx ( hwnd : super::super::Foundation:: HWND , hdc : super::super::Graphics::Gdi:: HDC , dwflags : DRAW_THEME_PARENT_BACKGROUND_FLAGS , prc : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); DrawThemeParentBackgroundEx(hwnd.into(), hdc.into(), dwflags, ::core::mem::transmute(prc.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -711,7 +711,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn DrawThemeText ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , psztext : :: windows::core::PCWSTR , cchtext : i32 , dwtextflags : super::super::Graphics::Gdi:: DRAW_TEXT_FORMAT , dwtextflags2 : u32 , prect : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn DrawThemeText ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , psztext : :: windows::core::PCWSTR , cchtext : i32 , dwtextflags : super::super::Graphics::Gdi:: DRAW_TEXT_FORMAT , dwtextflags2 : u32 , prect : *const super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); DrawThemeText(htheme.into(), hdc.into(), ipartid, istateid, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _, dwtextflags, dwtextflags2, prect).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -722,7 +722,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn DrawThemeTextEx ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , psztext : :: windows::core::PCWSTR , cchtext : i32 , dwtextflags : super::super::Graphics::Gdi:: DRAW_TEXT_FORMAT , prect : *mut super::super::Foundation:: RECT , poptions : *const DTTOPTS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn DrawThemeTextEx ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , psztext : :: windows::core::PCWSTR , cchtext : i32 , dwtextflags : super::super::Graphics::Gdi:: DRAW_TEXT_FORMAT , prect : *mut super::super::Foundation:: RECT , poptions : *const DTTOPTS ) -> :: windows::core::HRESULT ); DrawThemeTextEx(htheme.into(), hdc.into(), ipartid, istateid, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _, dwtextflags, prect, ::core::mem::transmute(poptions.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -732,7 +732,7 @@ pub unsafe fn EnableScrollBar(hwnd: P0, wsbflags: super::WindowsAndMessaging where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnableScrollBar ( hwnd : super::super::Foundation:: HWND , wsbflags : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , warrows : ENABLE_SCROLL_BAR_ARROWS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnableScrollBar ( hwnd : super::super::Foundation:: HWND , wsbflags : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , warrows : ENABLE_SCROLL_BAR_ARROWS ) -> super::super::Foundation:: BOOL ); EnableScrollBar(hwnd.into(), wsbflags, warrows) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -742,7 +742,7 @@ pub unsafe fn EnableThemeDialogTexture(hwnd: P0, dwflags: u32) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn EnableThemeDialogTexture ( hwnd : super::super::Foundation:: HWND , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn EnableThemeDialogTexture ( hwnd : super::super::Foundation:: HWND , dwflags : u32 ) -> :: windows::core::HRESULT ); EnableThemeDialogTexture(hwnd.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -752,7 +752,7 @@ pub unsafe fn EnableTheming(fenable: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn EnableTheming ( fenable : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn EnableTheming ( fenable : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); EnableTheming(fenable.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -762,7 +762,7 @@ pub unsafe fn EndBufferedAnimation(hbpanimation: isize, fupdatetarget: P0) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn EndBufferedAnimation ( hbpanimation : isize , fupdatetarget : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn EndBufferedAnimation ( hbpanimation : isize , fupdatetarget : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); EndBufferedAnimation(hbpanimation, fupdatetarget.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -772,7 +772,7 @@ pub unsafe fn EndBufferedPaint(hbufferedpaint: isize, fupdatetarget: P0) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn EndBufferedPaint ( hbufferedpaint : isize , fupdatetarget : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn EndBufferedPaint ( hbufferedpaint : isize , fupdatetarget : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); EndBufferedPaint(hbufferedpaint, fupdatetarget.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -783,21 +783,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn EndPanningFeedback ( hwnd : super::super::Foundation:: HWND , fanimateback : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn EndPanningFeedback ( hwnd : super::super::Foundation:: HWND , fanimateback : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); EndPanningFeedback(hwnd.into(), fanimateback.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EvaluateProximityToPolygon(controlpolygon: &[super::super::Foundation::POINT], phittestinginput: *const TOUCH_HIT_TESTING_INPUT, pproximityeval: *mut TOUCH_HIT_TESTING_PROXIMITY_EVALUATION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn EvaluateProximityToPolygon ( numvertices : u32 , controlpolygon : *const super::super::Foundation:: POINT , phittestinginput : *const TOUCH_HIT_TESTING_INPUT , pproximityeval : *mut TOUCH_HIT_TESTING_PROXIMITY_EVALUATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EvaluateProximityToPolygon ( numvertices : u32 , controlpolygon : *const super::super::Foundation:: POINT , phittestinginput : *const TOUCH_HIT_TESTING_INPUT , pproximityeval : *mut TOUCH_HIT_TESTING_PROXIMITY_EVALUATION ) -> super::super::Foundation:: BOOL ); EvaluateProximityToPolygon(controlpolygon.len() as _, ::core::mem::transmute(controlpolygon.as_ptr()), phittestinginput, pproximityeval) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EvaluateProximityToRect(controlboundingbox: *const super::super::Foundation::RECT, phittestinginput: *const TOUCH_HIT_TESTING_INPUT, pproximityeval: *mut TOUCH_HIT_TESTING_PROXIMITY_EVALUATION) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn EvaluateProximityToRect ( controlboundingbox : *const super::super::Foundation:: RECT , phittestinginput : *const TOUCH_HIT_TESTING_INPUT , pproximityeval : *mut TOUCH_HIT_TESTING_PROXIMITY_EVALUATION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EvaluateProximityToRect ( controlboundingbox : *const super::super::Foundation:: RECT , phittestinginput : *const TOUCH_HIT_TESTING_INPUT , pproximityeval : *mut TOUCH_HIT_TESTING_PROXIMITY_EVALUATION ) -> super::super::Foundation:: BOOL ); EvaluateProximityToRect(controlboundingbox, phittestinginput, pproximityeval) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -807,7 +807,7 @@ pub unsafe fn FlatSB_EnableScrollBar(param0: P0, param1: i32, param2: u32) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_EnableScrollBar ( param0 : super::super::Foundation:: HWND , param1 : i32 , param2 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_EnableScrollBar ( param0 : super::super::Foundation:: HWND , param1 : i32 , param2 : u32 ) -> super::super::Foundation:: BOOL ); FlatSB_EnableScrollBar(param0.into(), param1, param2) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -817,7 +817,7 @@ pub unsafe fn FlatSB_GetScrollInfo(param0: P0, code: super::WindowsAndMessag where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_GetScrollInfo ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , param2 : *mut super::WindowsAndMessaging:: SCROLLINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_GetScrollInfo ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , param2 : *mut super::WindowsAndMessaging:: SCROLLINFO ) -> super::super::Foundation:: BOOL ); FlatSB_GetScrollInfo(param0.into(), code, param2) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -827,7 +827,7 @@ pub unsafe fn FlatSB_GetScrollPos(param0: P0, code: super::WindowsAndMessagi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_GetScrollPos ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_GetScrollPos ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS ) -> i32 ); FlatSB_GetScrollPos(param0.into(), code) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -837,7 +837,7 @@ pub unsafe fn FlatSB_GetScrollProp(param0: P0, propindex: WSB_PROP, param2: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_GetScrollProp ( param0 : super::super::Foundation:: HWND , propindex : WSB_PROP , param2 : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_GetScrollProp ( param0 : super::super::Foundation:: HWND , propindex : WSB_PROP , param2 : *mut i32 ) -> super::super::Foundation:: BOOL ); FlatSB_GetScrollProp(param0.into(), propindex, param2) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -847,7 +847,7 @@ pub unsafe fn FlatSB_GetScrollRange(param0: P0, code: super::WindowsAndMessa where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_GetScrollRange ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , param2 : *mut i32 , param3 : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_GetScrollRange ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , param2 : *mut i32 , param3 : *mut i32 ) -> super::super::Foundation:: BOOL ); FlatSB_GetScrollRange(param0.into(), code, param2, param3) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -858,7 +858,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_SetScrollInfo ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , psi : *mut super::WindowsAndMessaging:: SCROLLINFO , fredraw : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_SetScrollInfo ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , psi : *mut super::WindowsAndMessaging:: SCROLLINFO , fredraw : super::super::Foundation:: BOOL ) -> i32 ); FlatSB_SetScrollInfo(param0.into(), code, psi, fredraw.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -869,7 +869,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_SetScrollPos ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , pos : i32 , fredraw : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_SetScrollPos ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , pos : i32 , fredraw : super::super::Foundation:: BOOL ) -> i32 ); FlatSB_SetScrollPos(param0.into(), code, pos, fredraw.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -880,7 +880,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_SetScrollProp ( param0 : super::super::Foundation:: HWND , index : WSB_PROP , newvalue : isize , param3 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_SetScrollProp ( param0 : super::super::Foundation:: HWND , index : WSB_PROP , newvalue : isize , param3 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); FlatSB_SetScrollProp(param0.into(), index, newvalue, param3.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -891,7 +891,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_SetScrollRange ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , min : i32 , max : i32 , fredraw : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_SetScrollRange ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , min : i32 , max : i32 , fredraw : super::super::Foundation:: BOOL ) -> i32 ); FlatSB_SetScrollRange(param0.into(), code, min, max, fredraw.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -902,35 +902,35 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn FlatSB_ShowScrollBar ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , param2 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn FlatSB_ShowScrollBar ( param0 : super::super::Foundation:: HWND , code : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , param2 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); FlatSB_ShowScrollBar(param0.into(), code, param2.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn GetBufferedPaintBits(hbufferedpaint: isize, ppbbuffer: *mut *mut super::super::Graphics::Gdi::RGBQUAD, pcxrow: *mut i32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetBufferedPaintBits ( hbufferedpaint : isize , ppbbuffer : *mut *mut super::super::Graphics::Gdi:: RGBQUAD , pcxrow : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetBufferedPaintBits ( hbufferedpaint : isize , ppbbuffer : *mut *mut super::super::Graphics::Gdi:: RGBQUAD , pcxrow : *mut i32 ) -> :: windows::core::HRESULT ); GetBufferedPaintBits(hbufferedpaint, ppbbuffer, pcxrow).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn GetBufferedPaintDC(hbufferedpaint: isize) -> super::super::Graphics::Gdi::HDC { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetBufferedPaintDC ( hbufferedpaint : isize ) -> super::super::Graphics::Gdi:: HDC ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetBufferedPaintDC ( hbufferedpaint : isize ) -> super::super::Graphics::Gdi:: HDC ); GetBufferedPaintDC(hbufferedpaint) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn GetBufferedPaintTargetDC(hbufferedpaint: isize) -> super::super::Graphics::Gdi::HDC { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetBufferedPaintTargetDC ( hbufferedpaint : isize ) -> super::super::Graphics::Gdi:: HDC ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetBufferedPaintTargetDC ( hbufferedpaint : isize ) -> super::super::Graphics::Gdi:: HDC ); GetBufferedPaintTargetDC(hbufferedpaint) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetBufferedPaintTargetRect(hbufferedpaint: isize) -> ::windows::core::Result { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetBufferedPaintTargetRect ( hbufferedpaint : isize , prc : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetBufferedPaintTargetRect ( hbufferedpaint : isize , prc : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetBufferedPaintTargetRect(hbufferedpaint, &mut result__).from_abi(result__) } @@ -941,13 +941,13 @@ pub unsafe fn GetComboBoxInfo(hwndcombo: P0, pcbi: *mut COMBOBOXINFO) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetComboBoxInfo ( hwndcombo : super::super::Foundation:: HWND , pcbi : *mut COMBOBOXINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetComboBoxInfo ( hwndcombo : super::super::Foundation:: HWND , pcbi : *mut COMBOBOXINFO ) -> super::super::Foundation:: BOOL ); GetComboBoxInfo(hwndcombo.into(), pcbi) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn GetCurrentThemeName(pszthemefilename: &mut [u16], pszcolorbuff: ::core::option::Option<&mut [u16]>, pszsizebuff: ::core::option::Option<&mut [u16]>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetCurrentThemeName ( pszthemefilename : :: windows::core::PWSTR , cchmaxnamechars : i32 , pszcolorbuff : :: windows::core::PWSTR , cchmaxcolorchars : i32 , pszsizebuff : :: windows::core::PWSTR , cchmaxsizechars : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetCurrentThemeName ( pszthemefilename : :: windows::core::PWSTR , cchmaxnamechars : i32 , pszcolorbuff : :: windows::core::PWSTR , cchmaxcolorchars : i32 , pszsizebuff : :: windows::core::PWSTR , cchmaxsizechars : i32 ) -> :: windows::core::HRESULT ); GetCurrentThemeName(::core::mem::transmute(pszthemefilename.as_ptr()), pszthemefilename.len() as _, ::core::mem::transmute(pszcolorbuff.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszcolorbuff.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pszsizebuff.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszsizebuff.as_deref().map_or(0, |slice| slice.len() as _)).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -957,7 +957,7 @@ pub unsafe fn GetEffectiveClientRect(hwnd: P0, lprc: *mut super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn GetEffectiveClientRect ( hwnd : super::super::Foundation:: HWND , lprc : *mut super::super::Foundation:: RECT , lpinfo : *const i32 ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn GetEffectiveClientRect ( hwnd : super::super::Foundation:: HWND , lprc : *mut super::super::Foundation:: RECT , lpinfo : *const i32 ) -> ( ) ); GetEffectiveClientRect(hwnd.into(), lprc, lpinfo) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -967,13 +967,13 @@ pub unsafe fn GetListBoxInfo(hwnd: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetListBoxInfo ( hwnd : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetListBoxInfo ( hwnd : super::super::Foundation:: HWND ) -> u32 ); GetListBoxInfo(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn GetMUILanguage() -> u16 { - ::windows::core::link ! ( "comctl32.dll""system" fn GetMUILanguage ( ) -> u16 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn GetMUILanguage ( ) -> u16 ); GetMUILanguage() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -982,7 +982,7 @@ pub unsafe fn GetThemeAnimationProperty(htheme: P0, istoryboardid: i32, itar where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeAnimationProperty ( htheme : HTHEME , istoryboardid : i32 , itargetid : i32 , eproperty : TA_PROPERTY , pvproperty : *mut ::core::ffi::c_void , cbsize : u32 , pcbsizeout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeAnimationProperty ( htheme : HTHEME , istoryboardid : i32 , itargetid : i32 , eproperty : TA_PROPERTY , pvproperty : *mut ::core::ffi::c_void , cbsize : u32 , pcbsizeout : *mut u32 ) -> :: windows::core::HRESULT ); GetThemeAnimationProperty(htheme.into(), istoryboardid, itargetid, eproperty, ::core::mem::transmute(pvproperty.unwrap_or(::std::ptr::null_mut())), cbsize, pcbsizeout).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -991,13 +991,13 @@ pub unsafe fn GetThemeAnimationTransform(htheme: P0, istoryboardid: i32, ita where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeAnimationTransform ( htheme : HTHEME , istoryboardid : i32 , itargetid : i32 , dwtransformindex : u32 , ptransform : *mut TA_TRANSFORM , cbsize : u32 , pcbsizeout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeAnimationTransform ( htheme : HTHEME , istoryboardid : i32 , itargetid : i32 , dwtransformindex : u32 , ptransform : *mut TA_TRANSFORM , cbsize : u32 , pcbsizeout : *mut u32 ) -> :: windows::core::HRESULT ); GetThemeAnimationTransform(htheme.into(), istoryboardid, itargetid, dwtransformindex, ::core::mem::transmute(ptransform.unwrap_or(::std::ptr::null_mut())), cbsize, pcbsizeout).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn GetThemeAppProperties() -> SET_THEME_APP_PROPERTIES_FLAGS { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeAppProperties ( ) -> SET_THEME_APP_PROPERTIES_FLAGS ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeAppProperties ( ) -> SET_THEME_APP_PROPERTIES_FLAGS ); GetThemeAppProperties() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1008,7 +1008,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeBackgroundContentRect ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , pboundingrect : *const super::super::Foundation:: RECT , pcontentrect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeBackgroundContentRect ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , pboundingrect : *const super::super::Foundation:: RECT , pcontentrect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeBackgroundContentRect(htheme.into(), hdc.into(), ipartid, istateid, pboundingrect, &mut result__).from_abi(result__) } @@ -1020,7 +1020,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeBackgroundExtent ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , pcontentrect : *const super::super::Foundation:: RECT , pextentrect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeBackgroundExtent ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , pcontentrect : *const super::super::Foundation:: RECT , pextentrect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeBackgroundExtent(htheme.into(), hdc.into(), ipartid, istateid, pcontentrect, &mut result__).from_abi(result__) } @@ -1032,7 +1032,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeBackgroundRegion ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prect : *const super::super::Foundation:: RECT , pregion : *mut super::super::Graphics::Gdi:: HRGN ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeBackgroundRegion ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prect : *const super::super::Foundation:: RECT , pregion : *mut super::super::Graphics::Gdi:: HRGN ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeBackgroundRegion(htheme.into(), hdc.into(), ipartid, istateid, prect, &mut result__).from_abi(result__) } @@ -1043,7 +1043,7 @@ pub unsafe fn GetThemeBitmap(htheme: P0, ipartid: i32, istateid: i32, ipropi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeBitmap ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , dwflags : GET_THEME_BITMAP_FLAGS , phbitmap : *mut super::super::Graphics::Gdi:: HBITMAP ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeBitmap ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , dwflags : GET_THEME_BITMAP_FLAGS , phbitmap : *mut super::super::Graphics::Gdi:: HBITMAP ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeBitmap(htheme.into(), ipartid, istateid, ipropid, dwflags, &mut result__).from_abi(result__) } @@ -1054,7 +1054,7 @@ pub unsafe fn GetThemeBool(htheme: P0, ipartid: i32, istateid: i32, ipropid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeBool ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pfval : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeBool ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pfval : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeBool(htheme.into(), ipartid, istateid, ipropid, &mut result__).from_abi(result__) } @@ -1065,7 +1065,7 @@ pub unsafe fn GetThemeColor(htheme: P0, ipartid: i32, istateid: i32, ipropid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeColor ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pcolor : *mut super::super::Foundation:: COLORREF ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeColor ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pcolor : *mut super::super::Foundation:: COLORREF ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeColor(htheme.into(), ipartid, istateid, ipropid, &mut result__).from_abi(result__) } @@ -1076,7 +1076,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeDocumentationProperty ( pszthemename : :: windows::core::PCWSTR , pszpropertyname : :: windows::core::PCWSTR , pszvaluebuff : :: windows::core::PWSTR , cchmaxvalchars : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeDocumentationProperty ( pszthemename : :: windows::core::PCWSTR , pszpropertyname : :: windows::core::PCWSTR , pszvaluebuff : :: windows::core::PWSTR , cchmaxvalchars : i32 ) -> :: windows::core::HRESULT ); GetThemeDocumentationProperty(pszthemename.into().abi(), pszpropertyname.into().abi(), ::core::mem::transmute(pszvaluebuff.as_ptr()), pszvaluebuff.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1085,7 +1085,7 @@ pub unsafe fn GetThemeEnumValue(htheme: P0, ipartid: i32, istateid: i32, ipr where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeEnumValue ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pival : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeEnumValue ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pival : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeEnumValue(htheme.into(), ipartid, istateid, ipropid, &mut result__).from_abi(result__) } @@ -1095,7 +1095,7 @@ pub unsafe fn GetThemeFilename(htheme: P0, ipartid: i32, istateid: i32, ipro where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeFilename ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pszthemefilename : :: windows::core::PWSTR , cchmaxbuffchars : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeFilename ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pszthemefilename : :: windows::core::PWSTR , cchmaxbuffchars : i32 ) -> :: windows::core::HRESULT ); GetThemeFilename(htheme.into(), ipartid, istateid, ipropid, ::core::mem::transmute(pszthemefilename.as_ptr()), pszthemefilename.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1106,7 +1106,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeFont ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , ipropid : i32 , pfont : *mut super::super::Graphics::Gdi:: LOGFONTW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeFont ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , ipropid : i32 , pfont : *mut super::super::Graphics::Gdi:: LOGFONTW ) -> :: windows::core::HRESULT ); GetThemeFont(htheme.into(), hdc.into(), ipartid, istateid, ipropid, pfont).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1115,7 +1115,7 @@ pub unsafe fn GetThemeInt(htheme: P0, ipartid: i32, istateid: i32, ipropid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeInt ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pival : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeInt ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pival : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeInt(htheme.into(), ipartid, istateid, ipropid, &mut result__).from_abi(result__) } @@ -1125,7 +1125,7 @@ pub unsafe fn GetThemeIntList(htheme: P0, ipartid: i32, istateid: i32, iprop where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeIntList ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pintlist : *mut INTLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeIntList ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pintlist : *mut INTLIST ) -> :: windows::core::HRESULT ); GetThemeIntList(htheme.into(), ipartid, istateid, ipropid, pintlist).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1136,7 +1136,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeMargins ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , prc : *const super::super::Foundation:: RECT , pmargins : *mut MARGINS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeMargins ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , prc : *const super::super::Foundation:: RECT , pmargins : *mut MARGINS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeMargins(htheme.into(), hdc.into(), ipartid, istateid, ipropid, ::core::mem::transmute(prc.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -1148,7 +1148,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeMetric ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pival : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeMetric ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , pival : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeMetric(htheme.into(), hdc.into(), ipartid, istateid, ipropid, &mut result__).from_abi(result__) } @@ -1160,7 +1160,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemePartSize ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prc : *const super::super::Foundation:: RECT , esize : THEMESIZE , psz : *mut super::super::Foundation:: SIZE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemePartSize ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , prc : *const super::super::Foundation:: RECT , esize : THEMESIZE , psz : *mut super::super::Foundation:: SIZE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemePartSize(htheme.into(), hdc.into(), ipartid, istateid, ::core::mem::transmute(prc.unwrap_or(::std::ptr::null())), esize, &mut result__).from_abi(result__) } @@ -1171,7 +1171,7 @@ pub unsafe fn GetThemePosition(htheme: P0, ipartid: i32, istateid: i32, ipro where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemePosition ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , ppoint : *mut super::super::Foundation:: POINT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemePosition ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : THEME_PROPERTY_SYMBOL_ID , ppoint : *mut super::super::Foundation:: POINT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemePosition(htheme.into(), ipartid, istateid, ipropid, &mut result__).from_abi(result__) } @@ -1181,7 +1181,7 @@ pub unsafe fn GetThemePropertyOrigin(htheme: P0, ipartid: i32, istateid: i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemePropertyOrigin ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : i32 , porigin : *mut PROPERTYORIGIN ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemePropertyOrigin ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : i32 , porigin : *mut PROPERTYORIGIN ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemePropertyOrigin(htheme.into(), ipartid, istateid, ipropid, &mut result__).from_abi(result__) } @@ -1192,7 +1192,7 @@ pub unsafe fn GetThemeRect(htheme: P0, ipartid: i32, istateid: i32, ipropid: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeRect ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : i32 , prect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeRect ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : i32 , prect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeRect(htheme.into(), ipartid, istateid, ipropid, &mut result__).from_abi(result__) } @@ -1204,7 +1204,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeStream ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : i32 , ppvstream : *mut *mut ::core::ffi::c_void , pcbstream : *mut u32 , hinst : super::super::Foundation:: HINSTANCE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeStream ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : i32 , ppvstream : *mut *mut ::core::ffi::c_void , pcbstream : *mut u32 , hinst : super::super::Foundation:: HINSTANCE ) -> :: windows::core::HRESULT ); GetThemeStream(htheme.into(), ipartid, istateid, ipropid, ppvstream, ::core::mem::transmute(pcbstream.unwrap_or(::std::ptr::null_mut())), hinst.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1213,7 +1213,7 @@ pub unsafe fn GetThemeString(htheme: P0, ipartid: i32, istateid: i32, ipropi where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeString ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : i32 , pszbuff : :: windows::core::PWSTR , cchmaxbuffchars : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeString ( htheme : HTHEME , ipartid : i32 , istateid : i32 , ipropid : i32 , pszbuff : :: windows::core::PWSTR , cchmaxbuffchars : i32 ) -> :: windows::core::HRESULT ); GetThemeString(htheme.into(), ipartid, istateid, ipropid, ::core::mem::transmute(pszbuff.as_ptr()), pszbuff.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1223,7 +1223,7 @@ pub unsafe fn GetThemeSysBool(htheme: P0, iboolid: THEME_PROPERTY_SYMBOL_ID) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeSysBool ( htheme : HTHEME , iboolid : THEME_PROPERTY_SYMBOL_ID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeSysBool ( htheme : HTHEME , iboolid : THEME_PROPERTY_SYMBOL_ID ) -> super::super::Foundation:: BOOL ); GetThemeSysBool(htheme.into(), iboolid) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1233,7 +1233,7 @@ pub unsafe fn GetThemeSysColor(htheme: P0, icolorid: i32) -> super::super::F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeSysColor ( htheme : HTHEME , icolorid : i32 ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeSysColor ( htheme : HTHEME , icolorid : i32 ) -> super::super::Foundation:: COLORREF ); GetThemeSysColor(htheme.into(), icolorid) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1243,7 +1243,7 @@ pub unsafe fn GetThemeSysColorBrush(htheme: P0, icolorid: THEME_PROPERTY_SYM where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeSysColorBrush ( htheme : HTHEME , icolorid : THEME_PROPERTY_SYMBOL_ID ) -> super::super::Graphics::Gdi:: HBRUSH ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeSysColorBrush ( htheme : HTHEME , icolorid : THEME_PROPERTY_SYMBOL_ID ) -> super::super::Graphics::Gdi:: HBRUSH ); GetThemeSysColorBrush(htheme.into(), icolorid) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1253,7 +1253,7 @@ pub unsafe fn GetThemeSysFont(htheme: P0, ifontid: THEME_PROPERTY_SYMBOL_ID, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeSysFont ( htheme : HTHEME , ifontid : THEME_PROPERTY_SYMBOL_ID , plf : *mut super::super::Graphics::Gdi:: LOGFONTW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeSysFont ( htheme : HTHEME , ifontid : THEME_PROPERTY_SYMBOL_ID , plf : *mut super::super::Graphics::Gdi:: LOGFONTW ) -> :: windows::core::HRESULT ); GetThemeSysFont(htheme.into(), ifontid, plf).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1262,7 +1262,7 @@ pub unsafe fn GetThemeSysInt(htheme: P0, iintid: THEME_PROPERTY_SYMBOL_ID) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeSysInt ( htheme : HTHEME , iintid : THEME_PROPERTY_SYMBOL_ID , pivalue : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeSysInt ( htheme : HTHEME , iintid : THEME_PROPERTY_SYMBOL_ID , pivalue : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeSysInt(htheme.into(), iintid, &mut result__).from_abi(result__) } @@ -1272,7 +1272,7 @@ pub unsafe fn GetThemeSysSize(htheme: P0, isizeid: i32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeSysSize ( htheme : HTHEME , isizeid : i32 ) -> i32 ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeSysSize ( htheme : HTHEME , isizeid : i32 ) -> i32 ); GetThemeSysSize(htheme.into(), isizeid) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1281,7 +1281,7 @@ pub unsafe fn GetThemeSysString(htheme: P0, istringid: THEME_PROPERTY_SYMBOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeSysString ( htheme : HTHEME , istringid : THEME_PROPERTY_SYMBOL_ID , pszstringbuff : :: windows::core::PWSTR , cchmaxstringchars : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeSysString ( htheme : HTHEME , istringid : THEME_PROPERTY_SYMBOL_ID , pszstringbuff : :: windows::core::PWSTR , cchmaxstringchars : i32 ) -> :: windows::core::HRESULT ); GetThemeSysString(htheme.into(), istringid, ::core::mem::transmute(pszstringbuff.as_ptr()), pszstringbuff.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1292,7 +1292,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeTextExtent ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , psztext : :: windows::core::PCWSTR , cchcharcount : i32 , dwtextflags : super::super::Graphics::Gdi:: DRAW_TEXT_FORMAT , pboundingrect : *const super::super::Foundation:: RECT , pextentrect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeTextExtent ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , psztext : :: windows::core::PCWSTR , cchcharcount : i32 , dwtextflags : super::super::Graphics::Gdi:: DRAW_TEXT_FORMAT , pboundingrect : *const super::super::Foundation:: RECT , pextentrect : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeTextExtent(htheme.into(), hdc.into(), ipartid, istateid, ::core::mem::transmute(psztext.as_ptr()), psztext.len() as _, dwtextflags, ::core::mem::transmute(pboundingrect.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -1304,7 +1304,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeTextMetrics ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , ptm : *mut super::super::Graphics::Gdi:: TEXTMETRICW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeTextMetrics ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , ptm : *mut super::super::Graphics::Gdi:: TEXTMETRICW ) -> :: windows::core::HRESULT ); GetThemeTextMetrics(htheme.into(), hdc.into(), ipartid, istateid, ptm).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1313,7 +1313,7 @@ pub unsafe fn GetThemeTimingFunction(htheme: P0, itimingfunctionid: i32, pti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeTimingFunction ( htheme : HTHEME , itimingfunctionid : i32 , ptimingfunction : *mut TA_TIMINGFUNCTION , cbsize : u32 , pcbsizeout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeTimingFunction ( htheme : HTHEME , itimingfunctionid : i32 , ptimingfunction : *mut TA_TIMINGFUNCTION , cbsize : u32 , pcbsizeout : *mut u32 ) -> :: windows::core::HRESULT ); GetThemeTimingFunction(htheme.into(), itimingfunctionid, ::core::mem::transmute(ptimingfunction.unwrap_or(::std::ptr::null_mut())), cbsize, pcbsizeout).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1322,7 +1322,7 @@ pub unsafe fn GetThemeTransitionDuration(htheme: P0, ipartid: i32, istateidf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetThemeTransitionDuration ( htheme : HTHEME , ipartid : i32 , istateidfrom : i32 , istateidto : i32 , ipropid : i32 , pdwduration : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetThemeTransitionDuration ( htheme : HTHEME , ipartid : i32 , istateidfrom : i32 , istateidto : i32 , ipropid : i32 , pdwduration : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetThemeTransitionDuration(htheme.into(), ipartid, istateidfrom, istateidto, ipropid, &mut result__).from_abi(result__) } @@ -1333,7 +1333,7 @@ pub unsafe fn GetWindowFeedbackSetting(hwnd: P0, feedback: FEEDBACK_TYPE, dw where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowFeedbackSetting ( hwnd : super::super::Foundation:: HWND , feedback : FEEDBACK_TYPE , dwflags : u32 , psize : *mut u32 , config : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowFeedbackSetting ( hwnd : super::super::Foundation:: HWND , feedback : FEEDBACK_TYPE , dwflags : u32 , psize : *mut u32 , config : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); GetWindowFeedbackSetting(hwnd.into(), feedback, dwflags, psize, ::core::mem::transmute(config.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1343,7 +1343,7 @@ pub unsafe fn GetWindowTheme(hwnd: P0) -> HTHEME where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn GetWindowTheme ( hwnd : super::super::Foundation:: HWND ) -> HTHEME ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn GetWindowTheme ( hwnd : super::super::Foundation:: HWND ) -> HTHEME ); GetWindowTheme(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1352,7 +1352,7 @@ pub unsafe fn HIMAGELIST_QueryInterface(himl: P0, riid: *const ::windows::co where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn HIMAGELIST_QueryInterface ( himl : HIMAGELIST , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn HIMAGELIST_QueryInterface ( himl : HIMAGELIST , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); HIMAGELIST_QueryInterface(himl.into(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1364,7 +1364,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn HitTestThemeBackground ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , dwoptions : HIT_TEST_BACKGROUND_OPTIONS , prect : *const super::super::Foundation:: RECT , hrgn : super::super::Graphics::Gdi:: HRGN , pttest : super::super::Foundation:: POINT , pwhittestcode : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn HitTestThemeBackground ( htheme : HTHEME , hdc : super::super::Graphics::Gdi:: HDC , ipartid : i32 , istateid : i32 , dwoptions : HIT_TEST_BACKGROUND_OPTIONS , prect : *const super::super::Foundation:: RECT , hrgn : super::super::Graphics::Gdi:: HRGN , pttest : super::super::Foundation:: POINT , pwhittestcode : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HitTestThemeBackground(htheme.into(), hdc.into(), ipartid, istateid, dwoptions, prect, hrgn.into(), ::core::mem::transmute(pttest), &mut result__).from_abi(result__) } @@ -1377,7 +1377,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Add ( himl : HIMAGELIST , hbmimage : super::super::Graphics::Gdi:: HBITMAP , hbmmask : super::super::Graphics::Gdi:: HBITMAP ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Add ( himl : HIMAGELIST , hbmimage : super::super::Graphics::Gdi:: HBITMAP , hbmmask : super::super::Graphics::Gdi:: HBITMAP ) -> i32 ); ImageList_Add(himl.into(), hbmimage.into(), hbmmask.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1389,7 +1389,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_AddMasked ( himl : HIMAGELIST , hbmimage : super::super::Graphics::Gdi:: HBITMAP , crmask : super::super::Foundation:: COLORREF ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_AddMasked ( himl : HIMAGELIST , hbmimage : super::super::Graphics::Gdi:: HBITMAP , crmask : super::super::Foundation:: COLORREF ) -> i32 ); ImageList_AddMasked(himl.into(), hbmimage.into(), crmask.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1399,7 +1399,7 @@ pub unsafe fn ImageList_BeginDrag(himltrack: P0, itrack: i32, dxhotspot: i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_BeginDrag ( himltrack : HIMAGELIST , itrack : i32 , dxhotspot : i32 , dyhotspot : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_BeginDrag ( himltrack : HIMAGELIST , itrack : i32 , dxhotspot : i32 , dyhotspot : i32 ) -> super::super::Foundation:: BOOL ); ImageList_BeginDrag(himltrack.into(), itrack, dxhotspot, dyhotspot) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1409,7 +1409,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -1421,13 +1421,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Copy ( himldst : HIMAGELIST , idst : i32 , himlsrc : HIMAGELIST , isrc : i32 , uflags : IMAGE_LIST_COPY_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Copy ( himldst : HIMAGELIST , idst : i32 , himlsrc : HIMAGELIST , isrc : i32 , uflags : IMAGE_LIST_COPY_FLAGS ) -> super::super::Foundation:: BOOL ); ImageList_Copy(himldst.into(), idst, himlsrc.into(), isrc, uflags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn ImageList_Create(cx: i32, cy: i32, flags: IMAGELIST_CREATION_FLAGS, cinitial: i32, cgrow: i32) -> HIMAGELIST { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Create ( cx : i32 , cy : i32 , flags : IMAGELIST_CREATION_FLAGS , cinitial : i32 , cgrow : i32 ) -> HIMAGELIST ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Create ( cx : i32 , cy : i32 , flags : IMAGELIST_CREATION_FLAGS , cinitial : i32 , cgrow : i32 ) -> HIMAGELIST ); ImageList_Create(cx, cy, flags, cinitial, cgrow) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1437,7 +1437,7 @@ pub unsafe fn ImageList_Destroy(himl: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Destroy ( himl : HIMAGELIST ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Destroy ( himl : HIMAGELIST ) -> super::super::Foundation:: BOOL ); ImageList_Destroy(himl.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1447,7 +1447,7 @@ pub unsafe fn ImageList_DragEnter(hwndlock: P0, x: i32, y: i32) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_DragEnter ( hwndlock : super::super::Foundation:: HWND , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_DragEnter ( hwndlock : super::super::Foundation:: HWND , x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); ImageList_DragEnter(hwndlock.into(), x, y) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1457,14 +1457,14 @@ pub unsafe fn ImageList_DragLeave(hwndlock: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_DragLeave ( hwndlock : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_DragLeave ( hwndlock : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); ImageList_DragLeave(hwndlock.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ImageList_DragMove(x: i32, y: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_DragMove ( x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_DragMove ( x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); ImageList_DragMove(x, y) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1474,7 +1474,7 @@ pub unsafe fn ImageList_DragShowNolock(fshow: P0) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_DragShowNolock ( fshow : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_DragShowNolock ( fshow : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); ImageList_DragShowNolock(fshow.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1485,7 +1485,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Draw ( himl : HIMAGELIST , i : i32 , hdcdst : super::super::Graphics::Gdi:: HDC , x : i32 , y : i32 , fstyle : IMAGE_LIST_DRAW_STYLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Draw ( himl : HIMAGELIST , i : i32 , hdcdst : super::super::Graphics::Gdi:: HDC , x : i32 , y : i32 , fstyle : IMAGE_LIST_DRAW_STYLE ) -> super::super::Foundation:: BOOL ); ImageList_Draw(himl.into(), i, hdcdst.into(), x, y, fstyle) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1498,14 +1498,14 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_DrawEx ( himl : HIMAGELIST , i : i32 , hdcdst : super::super::Graphics::Gdi:: HDC , x : i32 , y : i32 , dx : i32 , dy : i32 , rgbbk : super::super::Foundation:: COLORREF , rgbfg : super::super::Foundation:: COLORREF , fstyle : IMAGE_LIST_DRAW_STYLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_DrawEx ( himl : HIMAGELIST , i : i32 , hdcdst : super::super::Graphics::Gdi:: HDC , x : i32 , y : i32 , dx : i32 , dy : i32 , rgbbk : super::super::Foundation:: COLORREF , rgbfg : super::super::Foundation:: COLORREF , fstyle : IMAGE_LIST_DRAW_STYLE ) -> super::super::Foundation:: BOOL ); ImageList_DrawEx(himl.into(), i, hdcdst.into(), x, y, dx, dy, rgbbk.into(), rgbfg.into(), fstyle) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn ImageList_DrawIndirect(pimldp: *const IMAGELISTDRAWPARAMS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_DrawIndirect ( pimldp : *const IMAGELISTDRAWPARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_DrawIndirect ( pimldp : *const IMAGELISTDRAWPARAMS ) -> super::super::Foundation:: BOOL ); ImageList_DrawIndirect(pimldp) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1514,13 +1514,13 @@ pub unsafe fn ImageList_Duplicate(himl: P0) -> HIMAGELIST where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Duplicate ( himl : HIMAGELIST ) -> HIMAGELIST ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Duplicate ( himl : HIMAGELIST ) -> HIMAGELIST ); ImageList_Duplicate(himl.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn ImageList_EndDrag() { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_EndDrag ( ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_EndDrag ( ) -> ( ) ); ImageList_EndDrag() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1530,14 +1530,14 @@ pub unsafe fn ImageList_GetBkColor(himl: P0) -> super::super::Foundation::CO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_GetBkColor ( himl : HIMAGELIST ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_GetBkColor ( himl : HIMAGELIST ) -> super::super::Foundation:: COLORREF ); ImageList_GetBkColor(himl.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ImageList_GetDragImage(ppt: ::core::option::Option<*mut super::super::Foundation::POINT>, ppthotspot: ::core::option::Option<*mut super::super::Foundation::POINT>) -> HIMAGELIST { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_GetDragImage ( ppt : *mut super::super::Foundation:: POINT , ppthotspot : *mut super::super::Foundation:: POINT ) -> HIMAGELIST ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_GetDragImage ( ppt : *mut super::super::Foundation:: POINT , ppthotspot : *mut super::super::Foundation:: POINT ) -> HIMAGELIST ); ImageList_GetDragImage(::core::mem::transmute(ppt.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppthotspot.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1547,7 +1547,7 @@ pub unsafe fn ImageList_GetIcon(himl: P0, i: i32, flags: u32) -> super::Wind where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_GetIcon ( himl : HIMAGELIST , i : i32 , flags : u32 ) -> super::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_GetIcon ( himl : HIMAGELIST , i : i32 , flags : u32 ) -> super::WindowsAndMessaging:: HICON ); ImageList_GetIcon(himl.into(), i, flags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1557,7 +1557,7 @@ pub unsafe fn ImageList_GetIconSize(himl: P0, cx: ::core::option::Option<*mu where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_GetIconSize ( himl : HIMAGELIST , cx : *mut i32 , cy : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_GetIconSize ( himl : HIMAGELIST , cx : *mut i32 , cy : *mut i32 ) -> super::super::Foundation:: BOOL ); ImageList_GetIconSize(himl.into(), ::core::mem::transmute(cx.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(cy.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1566,7 +1566,7 @@ pub unsafe fn ImageList_GetImageCount(himl: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_GetImageCount ( himl : HIMAGELIST ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_GetImageCount ( himl : HIMAGELIST ) -> i32 ); ImageList_GetImageCount(himl.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1576,7 +1576,7 @@ pub unsafe fn ImageList_GetImageInfo(himl: P0, i: i32, pimageinfo: *mut IMAG where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_GetImageInfo ( himl : HIMAGELIST , i : i32 , pimageinfo : *mut IMAGEINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_GetImageInfo ( himl : HIMAGELIST , i : i32 , pimageinfo : *mut IMAGEINFO ) -> super::super::Foundation:: BOOL ); ImageList_GetImageInfo(himl.into(), i, pimageinfo) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1588,7 +1588,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_LoadImageA ( hi : super::super::Foundation:: HINSTANCE , lpbmp : :: windows::core::PCSTR , cx : i32 , cgrow : i32 , crmask : super::super::Foundation:: COLORREF , utype : u32 , uflags : super::WindowsAndMessaging:: IMAGE_FLAGS ) -> HIMAGELIST ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_LoadImageA ( hi : super::super::Foundation:: HINSTANCE , lpbmp : :: windows::core::PCSTR , cx : i32 , cgrow : i32 , crmask : super::super::Foundation:: COLORREF , utype : u32 , uflags : super::WindowsAndMessaging:: IMAGE_FLAGS ) -> HIMAGELIST ); ImageList_LoadImageA(hi.into(), lpbmp.into().abi(), cx, cgrow, crmask.into(), utype, uflags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1600,7 +1600,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_LoadImageW ( hi : super::super::Foundation:: HINSTANCE , lpbmp : :: windows::core::PCWSTR , cx : i32 , cgrow : i32 , crmask : super::super::Foundation:: COLORREF , utype : u32 , uflags : super::WindowsAndMessaging:: IMAGE_FLAGS ) -> HIMAGELIST ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_LoadImageW ( hi : super::super::Foundation:: HINSTANCE , lpbmp : :: windows::core::PCWSTR , cx : i32 , cgrow : i32 , crmask : super::super::Foundation:: COLORREF , utype : u32 , uflags : super::WindowsAndMessaging:: IMAGE_FLAGS ) -> HIMAGELIST ); ImageList_LoadImageW(hi.into(), lpbmp.into().abi(), cx, cgrow, crmask.into(), utype, uflags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -1610,7 +1610,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Merge ( himl1 : HIMAGELIST , i1 : i32 , himl2 : HIMAGELIST , i2 : i32 , dx : i32 , dy : i32 ) -> HIMAGELIST ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Merge ( himl1 : HIMAGELIST , i1 : i32 , himl2 : HIMAGELIST , i2 : i32 , dx : i32 , dy : i32 ) -> HIMAGELIST ); ImageList_Merge(himl1.into(), i1, himl2.into(), i2, dx, dy) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] @@ -1620,7 +1620,7 @@ pub unsafe fn ImageList_Read(pstm: P0) -> HIMAGELIST where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Read ( pstm : * mut::core::ffi::c_void ) -> HIMAGELIST ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Read ( pstm : * mut::core::ffi::c_void ) -> HIMAGELIST ); ImageList_Read(pstm.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] @@ -1630,7 +1630,7 @@ pub unsafe fn ImageList_ReadEx(dwflags: u32, pstm: P0, riid: *const ::window where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_ReadEx ( dwflags : u32 , pstm : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_ReadEx ( dwflags : u32 , pstm : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); ImageList_ReadEx(dwflags, pstm.into().abi(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1640,7 +1640,7 @@ pub unsafe fn ImageList_Remove(himl: P0, i: i32) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Remove ( himl : HIMAGELIST , i : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Remove ( himl : HIMAGELIST , i : i32 ) -> super::super::Foundation:: BOOL ); ImageList_Remove(himl.into(), i) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1652,7 +1652,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Replace ( himl : HIMAGELIST , i : i32 , hbmimage : super::super::Graphics::Gdi:: HBITMAP , hbmmask : super::super::Graphics::Gdi:: HBITMAP ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Replace ( himl : HIMAGELIST , i : i32 , hbmimage : super::super::Graphics::Gdi:: HBITMAP , hbmmask : super::super::Graphics::Gdi:: HBITMAP ) -> super::super::Foundation:: BOOL ); ImageList_Replace(himl.into(), i, hbmimage.into(), hbmmask.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1663,7 +1663,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_ReplaceIcon ( himl : HIMAGELIST , i : i32 , hicon : super::WindowsAndMessaging:: HICON ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_ReplaceIcon ( himl : HIMAGELIST , i : i32 , hicon : super::WindowsAndMessaging:: HICON ) -> i32 ); ImageList_ReplaceIcon(himl.into(), i, hicon.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1674,7 +1674,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_SetBkColor ( himl : HIMAGELIST , clrbk : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_SetBkColor ( himl : HIMAGELIST , clrbk : super::super::Foundation:: COLORREF ) -> super::super::Foundation:: COLORREF ); ImageList_SetBkColor(himl.into(), clrbk.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1684,7 +1684,7 @@ pub unsafe fn ImageList_SetDragCursorImage(himldrag: P0, idrag: i32, dxhotsp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_SetDragCursorImage ( himldrag : HIMAGELIST , idrag : i32 , dxhotspot : i32 , dyhotspot : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_SetDragCursorImage ( himldrag : HIMAGELIST , idrag : i32 , dxhotspot : i32 , dyhotspot : i32 ) -> super::super::Foundation:: BOOL ); ImageList_SetDragCursorImage(himldrag.into(), idrag, dxhotspot, dyhotspot) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1694,7 +1694,7 @@ pub unsafe fn ImageList_SetIconSize(himl: P0, cx: i32, cy: i32) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_SetIconSize ( himl : HIMAGELIST , cx : i32 , cy : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_SetIconSize ( himl : HIMAGELIST , cx : i32 , cy : i32 ) -> super::super::Foundation:: BOOL ); ImageList_SetIconSize(himl.into(), cx, cy) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1704,7 +1704,7 @@ pub unsafe fn ImageList_SetImageCount(himl: P0, unewcount: u32) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_SetImageCount ( himl : HIMAGELIST , unewcount : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_SetImageCount ( himl : HIMAGELIST , unewcount : u32 ) -> super::super::Foundation:: BOOL ); ImageList_SetImageCount(himl.into(), unewcount) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1714,7 +1714,7 @@ pub unsafe fn ImageList_SetOverlayImage(himl: P0, iimage: i32, ioverlay: i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_SetOverlayImage ( himl : HIMAGELIST , iimage : i32 , ioverlay : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_SetOverlayImage ( himl : HIMAGELIST , iimage : i32 , ioverlay : i32 ) -> super::super::Foundation:: BOOL ); ImageList_SetOverlayImage(himl.into(), iimage, ioverlay) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1725,7 +1725,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_Write ( himl : HIMAGELIST , pstm : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_Write ( himl : HIMAGELIST , pstm : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); ImageList_Write(himl.into(), pstm.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_System_Com\"`*"] @@ -1736,26 +1736,26 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "comctl32.dll""system" fn ImageList_WriteEx ( himl : HIMAGELIST , dwflags : IMAGE_LIST_WRITE_STREAM_FLAGS , pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ImageList_WriteEx ( himl : HIMAGELIST , dwflags : IMAGE_LIST_WRITE_STREAM_FLAGS , pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); ImageList_WriteEx(himl.into(), dwflags, pstm.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn InitCommonControls() { - ::windows::core::link ! ( "comctl32.dll""system" fn InitCommonControls ( ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn InitCommonControls ( ) -> ( ) ); InitCommonControls() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitCommonControlsEx(picce: *const INITCOMMONCONTROLSEX) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "comctl32.dll""system" fn InitCommonControlsEx ( picce : *const INITCOMMONCONTROLSEX ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn InitCommonControlsEx ( picce : *const INITCOMMONCONTROLSEX ) -> super::super::Foundation:: BOOL ); InitCommonControlsEx(picce) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn InitMUILanguage(uilang: u16) { - ::windows::core::link ! ( "comctl32.dll""system" fn InitMUILanguage ( uilang : u16 ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn InitMUILanguage ( uilang : u16 ) -> ( ) ); InitMUILanguage(uilang) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1765,28 +1765,28 @@ pub unsafe fn InitializeFlatSB(param0: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn InitializeFlatSB ( param0 : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn InitializeFlatSB ( param0 : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); InitializeFlatSB(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsAppThemed() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "uxtheme.dll""system" fn IsAppThemed ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn IsAppThemed ( ) -> super::super::Foundation:: BOOL ); IsAppThemed() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsCharLowerW(ch: u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsCharLowerW ( ch : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsCharLowerW ( ch : u16 ) -> super::super::Foundation:: BOOL ); IsCharLowerW(ch) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsCompositionActive() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "uxtheme.dll""system" fn IsCompositionActive ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn IsCompositionActive ( ) -> super::super::Foundation:: BOOL ); IsCompositionActive() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1796,14 +1796,14 @@ pub unsafe fn IsDlgButtonChecked(hdlg: P0, nidbutton: i32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsDlgButtonChecked ( hdlg : super::super::Foundation:: HWND , nidbutton : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn IsDlgButtonChecked ( hdlg : super::super::Foundation:: HWND , nidbutton : i32 ) -> u32 ); IsDlgButtonChecked(hdlg.into(), nidbutton) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsThemeActive() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "uxtheme.dll""system" fn IsThemeActive ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn IsThemeActive ( ) -> super::super::Foundation:: BOOL ); IsThemeActive() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1813,7 +1813,7 @@ pub unsafe fn IsThemeBackgroundPartiallyTransparent(htheme: P0, ipartid: i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn IsThemeBackgroundPartiallyTransparent ( htheme : HTHEME , ipartid : i32 , istateid : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn IsThemeBackgroundPartiallyTransparent ( htheme : HTHEME , ipartid : i32 , istateid : i32 ) -> super::super::Foundation:: BOOL ); IsThemeBackgroundPartiallyTransparent(htheme.into(), ipartid, istateid) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1823,7 +1823,7 @@ pub unsafe fn IsThemeDialogTextureEnabled(hwnd: P0) -> super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn IsThemeDialogTextureEnabled ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn IsThemeDialogTextureEnabled ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); IsThemeDialogTextureEnabled(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1833,7 +1833,7 @@ pub unsafe fn IsThemePartDefined(htheme: P0, ipartid: i32, istateid: i32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn IsThemePartDefined ( htheme : HTHEME , ipartid : i32 , istateid : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn IsThemePartDefined ( htheme : HTHEME , ipartid : i32 , istateid : i32 ) -> super::super::Foundation:: BOOL ); IsThemePartDefined(htheme.into(), ipartid, istateid) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1844,7 +1844,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn LBItemFromPt ( hlb : super::super::Foundation:: HWND , pt : super::super::Foundation:: POINT , bautoscroll : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "comctl32.dll""system" fn LBItemFromPt ( hlb : super::super::Foundation:: HWND , pt : super::super::Foundation:: POINT , bautoscroll : super::super::Foundation:: BOOL ) -> i32 ); LBItemFromPt(hlb.into(), ::core::mem::transmute(pt), bautoscroll.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1855,7 +1855,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "comctl32.dll""system" fn LoadIconMetric ( hinst : super::super::Foundation:: HINSTANCE , pszname : :: windows::core::PCWSTR , lims : _LI_METRIC , phico : *mut super::WindowsAndMessaging:: HICON ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn LoadIconMetric ( hinst : super::super::Foundation:: HINSTANCE , pszname : :: windows::core::PCWSTR , lims : _LI_METRIC , phico : *mut super::WindowsAndMessaging:: HICON ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); LoadIconMetric(hinst.into(), pszname.into().abi(), lims, &mut result__).from_abi(result__) } @@ -1867,7 +1867,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "comctl32.dll""system" fn LoadIconWithScaleDown ( hinst : super::super::Foundation:: HINSTANCE , pszname : :: windows::core::PCWSTR , cx : i32 , cy : i32 , phico : *mut super::WindowsAndMessaging:: HICON ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn LoadIconWithScaleDown ( hinst : super::super::Foundation:: HINSTANCE , pszname : :: windows::core::PCWSTR , cx : i32 , cy : i32 , phico : *mut super::WindowsAndMessaging:: HICON ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); LoadIconWithScaleDown(hinst.into(), pszname.into().abi(), cx, cy, &mut result__).from_abi(result__) } @@ -1878,7 +1878,7 @@ pub unsafe fn MakeDragList(hlb: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn MakeDragList ( hlb : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn MakeDragList ( hlb : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); MakeDragList(hlb.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1892,7 +1892,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn MenuHelp ( umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , hmainmenu : super::WindowsAndMessaging:: HMENU , hinst : super::super::Foundation:: HINSTANCE , hwndstatus : super::super::Foundation:: HWND , lpwids : *const u32 ) -> ( ) ); + ::windows::imp::link ! ( "comctl32.dll""system" fn MenuHelp ( umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , hmainmenu : super::WindowsAndMessaging:: HMENU , hinst : super::super::Foundation:: HINSTANCE , hwndstatus : super::super::Foundation:: HWND , lpwids : *const u32 ) -> ( ) ); MenuHelp(umsg, wparam.into(), lparam.into(), hmainmenu.into(), hinst.into(), hwndstatus.into(), lpwids) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1903,7 +1903,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "uxtheme.dll""system" fn OpenThemeData ( hwnd : super::super::Foundation:: HWND , pszclasslist : :: windows::core::PCWSTR ) -> HTHEME ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn OpenThemeData ( hwnd : super::super::Foundation:: HWND , pszclasslist : :: windows::core::PCWSTR ) -> HTHEME ); OpenThemeData(hwnd.into(), pszclasslist.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1914,28 +1914,28 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "uxtheme.dll""system" fn OpenThemeDataEx ( hwnd : super::super::Foundation:: HWND , pszclasslist : :: windows::core::PCWSTR , dwflags : OPEN_THEME_DATA_FLAGS ) -> HTHEME ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn OpenThemeDataEx ( hwnd : super::super::Foundation:: HWND , pszclasslist : :: windows::core::PCWSTR , dwflags : OPEN_THEME_DATA_FLAGS ) -> HTHEME ); OpenThemeDataEx(hwnd.into(), pszclasslist.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PackTouchHitTestingProximityEvaluation(phittestinginput: *const TOUCH_HIT_TESTING_INPUT, pproximityeval: *const TOUCH_HIT_TESTING_PROXIMITY_EVALUATION) -> super::super::Foundation::LRESULT { - ::windows::core::link ! ( "user32.dll""system" fn PackTouchHitTestingProximityEvaluation ( phittestinginput : *const TOUCH_HIT_TESTING_INPUT , pproximityeval : *const TOUCH_HIT_TESTING_PROXIMITY_EVALUATION ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn PackTouchHitTestingProximityEvaluation ( phittestinginput : *const TOUCH_HIT_TESTING_INPUT , pproximityeval : *const TOUCH_HIT_TESTING_PROXIMITY_EVALUATION ) -> super::super::Foundation:: LRESULT ); PackTouchHitTestingProximityEvaluation(phittestinginput, pproximityeval) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn PropertySheetA(param0: *mut PROPSHEETHEADERA_V2) -> isize { - ::windows::core::link ! ( "comctl32.dll""system" fn PropertySheetA ( param0 : *mut PROPSHEETHEADERA_V2 ) -> isize ); + ::windows::imp::link ! ( "comctl32.dll""system" fn PropertySheetA ( param0 : *mut PROPSHEETHEADERA_V2 ) -> isize ); PropertySheetA(param0) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn PropertySheetW(param0: *mut PROPSHEETHEADERW_V2) -> isize { - ::windows::core::link ! ( "comctl32.dll""system" fn PropertySheetW ( param0 : *mut PROPSHEETHEADERW_V2 ) -> isize ); + ::windows::imp::link ! ( "comctl32.dll""system" fn PropertySheetW ( param0 : *mut PROPSHEETHEADERW_V2 ) -> isize ); PropertySheetW(param0) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1946,7 +1946,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterPointerDeviceNotifications ( window : super::super::Foundation:: HWND , notifyrange : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterPointerDeviceNotifications ( window : super::super::Foundation:: HWND , notifyrange : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); RegisterPointerDeviceNotifications(window.into(), notifyrange.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -1956,7 +1956,7 @@ pub unsafe fn RegisterTouchHitTestingWindow(hwnd: P0, value: u32) -> super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterTouchHitTestingWindow ( hwnd : super::super::Foundation:: HWND , value : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterTouchHitTestingWindow ( hwnd : super::super::Foundation:: HWND , value : u32 ) -> super::super::Foundation:: BOOL ); RegisterTouchHitTestingWindow(hwnd.into(), value) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1967,7 +1967,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetScrollInfo ( hwnd : super::super::Foundation:: HWND , nbar : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , lpsi : *const super::WindowsAndMessaging:: SCROLLINFO , redraw : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetScrollInfo ( hwnd : super::super::Foundation:: HWND , nbar : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , lpsi : *const super::WindowsAndMessaging:: SCROLLINFO , redraw : super::super::Foundation:: BOOL ) -> i32 ); SetScrollInfo(hwnd.into(), nbar, lpsi, redraw.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1978,7 +1978,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetScrollPos ( hwnd : super::super::Foundation:: HWND , nbar : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , npos : i32 , bredraw : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetScrollPos ( hwnd : super::super::Foundation:: HWND , nbar : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , npos : i32 , bredraw : super::super::Foundation:: BOOL ) -> i32 ); SetScrollPos(hwnd.into(), nbar, npos, bredraw.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1989,13 +1989,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetScrollRange ( hwnd : super::super::Foundation:: HWND , nbar : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , nminpos : i32 , nmaxpos : i32 , bredraw : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetScrollRange ( hwnd : super::super::Foundation:: HWND , nbar : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , nminpos : i32 , nmaxpos : i32 , bredraw : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetScrollRange(hwnd.into(), nbar, nminpos, nmaxpos, bredraw.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[inline] pub unsafe fn SetThemeAppProperties(dwflags: SET_THEME_APP_PROPERTIES_FLAGS) { - ::windows::core::link ! ( "uxtheme.dll""system" fn SetThemeAppProperties ( dwflags : SET_THEME_APP_PROPERTIES_FLAGS ) -> ( ) ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn SetThemeAppProperties ( dwflags : SET_THEME_APP_PROPERTIES_FLAGS ) -> ( ) ); SetThemeAppProperties(dwflags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -2005,7 +2005,7 @@ pub unsafe fn SetWindowFeedbackSetting(hwnd: P0, feedback: FEEDBACK_TYPE, dw where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowFeedbackSetting ( hwnd : super::super::Foundation:: HWND , feedback : FEEDBACK_TYPE , dwflags : u32 , size : u32 , configuration : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowFeedbackSetting ( hwnd : super::super::Foundation:: HWND , feedback : FEEDBACK_TYPE , dwflags : u32 , size : u32 , configuration : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SetWindowFeedbackSetting(hwnd.into(), feedback, dwflags, size, ::core::mem::transmute(configuration.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -2017,7 +2017,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "uxtheme.dll""system" fn SetWindowTheme ( hwnd : super::super::Foundation:: HWND , pszsubappname : :: windows::core::PCWSTR , pszsubidlist : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn SetWindowTheme ( hwnd : super::super::Foundation:: HWND , pszsubappname : :: windows::core::PCWSTR , pszsubidlist : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SetWindowTheme(hwnd.into(), pszsubappname.into().abi(), pszsubidlist.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -2027,7 +2027,7 @@ pub unsafe fn SetWindowThemeAttribute(hwnd: P0, eattribute: WINDOWTHEMEATTRI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn SetWindowThemeAttribute ( hwnd : super::super::Foundation:: HWND , eattribute : WINDOWTHEMEATTRIBUTETYPE , pvattribute : *const ::core::ffi::c_void , cbattribute : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn SetWindowThemeAttribute ( hwnd : super::super::Foundation:: HWND , eattribute : WINDOWTHEMEATTRIBUTETYPE , pvattribute : *const ::core::ffi::c_void , cbattribute : u32 ) -> :: windows::core::HRESULT ); SetWindowThemeAttribute(hwnd.into(), eattribute, pvattribute, cbattribute).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -2037,7 +2037,7 @@ pub unsafe fn ShowHideMenuCtl(hwnd: P0, uflags: usize, lpinfo: *const i32) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn ShowHideMenuCtl ( hwnd : super::super::Foundation:: HWND , uflags : usize , lpinfo : *const i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn ShowHideMenuCtl ( hwnd : super::super::Foundation:: HWND , uflags : usize , lpinfo : *const i32 ) -> super::super::Foundation:: BOOL ); ShowHideMenuCtl(hwnd.into(), uflags, lpinfo) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2048,7 +2048,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ShowScrollBar ( hwnd : super::super::Foundation:: HWND , wbar : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , bshow : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ShowScrollBar ( hwnd : super::super::Foundation:: HWND , wbar : super::WindowsAndMessaging:: SCROLLBAR_CONSTANTS , bshow : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); ShowScrollBar(hwnd.into(), wbar, bshow.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -2058,7 +2058,7 @@ pub unsafe fn Str_SetPtrW(ppsz: *mut ::windows::core::PWSTR, psz: P0) -> sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "comctl32.dll""system" fn Str_SetPtrW ( ppsz : *mut :: windows::core::PWSTR , psz : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn Str_SetPtrW ( ppsz : *mut :: windows::core::PWSTR , psz : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); Str_SetPtrW(ppsz, psz.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -2073,14 +2073,14 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P5: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "comctl32.dll""system" fn TaskDialog ( hwndowner : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszwindowtitle : :: windows::core::PCWSTR , pszmaininstruction : :: windows::core::PCWSTR , pszcontent : :: windows::core::PCWSTR , dwcommonbuttons : TASKDIALOG_COMMON_BUTTON_FLAGS , pszicon : :: windows::core::PCWSTR , pnbutton : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn TaskDialog ( hwndowner : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , pszwindowtitle : :: windows::core::PCWSTR , pszmaininstruction : :: windows::core::PCWSTR , pszcontent : :: windows::core::PCWSTR , dwcommonbuttons : TASKDIALOG_COMMON_BUTTON_FLAGS , pszicon : :: windows::core::PCWSTR , pnbutton : *mut i32 ) -> :: windows::core::HRESULT ); TaskDialog(hwndowner.into(), hinstance.into(), pszwindowtitle.into().abi(), pszmaininstruction.into().abi(), pszcontent.into().abi(), dwcommonbuttons, pszicon.into().abi(), ::core::mem::transmute(pnbutton.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn TaskDialogIndirect(ptaskconfig: *const TASKDIALOGCONFIG, pnbutton: ::core::option::Option<*mut i32>, pnradiobutton: ::core::option::Option<*mut i32>, pfverificationflagchecked: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "comctl32.dll""system" fn TaskDialogIndirect ( ptaskconfig : *const TASKDIALOGCONFIG , pnbutton : *mut i32 , pnradiobutton : *mut i32 , pfverificationflagchecked : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn TaskDialogIndirect ( ptaskconfig : *const TASKDIALOGCONFIG , pnbutton : *mut i32 , pnradiobutton : *mut i32 , pfverificationflagchecked : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); TaskDialogIndirect(ptaskconfig, ::core::mem::transmute(pnbutton.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnradiobutton.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfverificationflagchecked.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -2090,7 +2090,7 @@ pub unsafe fn UninitializeFlatSB(param0: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn UninitializeFlatSB ( param0 : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn UninitializeFlatSB ( param0 : super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); UninitializeFlatSB(param0.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -2101,7 +2101,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "uxtheme.dll""system" fn UpdatePanningFeedback ( hwnd : super::super::Foundation:: HWND , ltotaloverpanoffsetx : i32 , ltotaloverpanoffsety : i32 , fininertia : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn UpdatePanningFeedback ( hwnd : super::super::Foundation:: HWND , ltotaloverpanoffsetx : i32 , ltotaloverpanoffsety : i32 , fininertia : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); UpdatePanningFeedback(hwnd.into(), ltotaloverpanoffsetx, ltotaloverpanoffsety, fininertia.into()) } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -2270,7 +2270,7 @@ impl IImageList { (::windows::core::Vtable::vtable(self).GetOverlayImage)(::windows::core::Vtable::as_raw(self), ioverlay, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IImageList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IImageList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IImageList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2587,7 +2587,7 @@ impl IImageList2 { (::windows::core::Vtable::vtable(self).ReplaceFromImageList)(::windows::core::Vtable::as_raw(self), i, pil.into().abi(), isrc, punk.into().abi(), dwflags).ok() } } -::windows::core::interface_hierarchy!(IImageList2, ::windows::core::IUnknown, IImageList); +::windows::imp::interface_hierarchy!(IImageList2, ::windows::core::IUnknown, IImageList); impl ::core::cmp::PartialEq for IImageList2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs index 9c06919fb6..93156dacf1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn AdjustWindowRectExForDpi(lprect: *mut super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn AdjustWindowRectExForDpi ( lprect : *mut super::super::Foundation:: RECT , dwstyle : super::WindowsAndMessaging:: WINDOW_STYLE , bmenu : super::super::Foundation:: BOOL , dwexstyle : super::WindowsAndMessaging:: WINDOW_EX_STYLE , dpi : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AdjustWindowRectExForDpi ( lprect : *mut super::super::Foundation:: RECT , dwstyle : super::WindowsAndMessaging:: WINDOW_STYLE , bmenu : super::super::Foundation:: BOOL , dwexstyle : super::WindowsAndMessaging:: WINDOW_EX_STYLE , dpi : u32 ) -> super::super::Foundation:: BOOL ); AdjustWindowRectExForDpi(lprect, dwstyle, bmenu.into(), dwexstyle, dpi) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -16,7 +16,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn AreDpiAwarenessContextsEqual ( dpicontexta : DPI_AWARENESS_CONTEXT , dpicontextb : DPI_AWARENESS_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AreDpiAwarenessContextsEqual ( dpicontexta : DPI_AWARENESS_CONTEXT , dpicontextb : DPI_AWARENESS_CONTEXT ) -> super::super::Foundation:: BOOL ); AreDpiAwarenessContextsEqual(dpicontexta.into(), dpicontextb.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -26,7 +26,7 @@ pub unsafe fn EnableNonClientDpiScaling(hwnd: P0) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnableNonClientDpiScaling ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnableNonClientDpiScaling ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); EnableNonClientDpiScaling(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] @@ -35,7 +35,7 @@ pub unsafe fn GetAwarenessFromDpiAwarenessContext(value: P0) -> DPI_AWARENES where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetAwarenessFromDpiAwarenessContext ( value : DPI_AWARENESS_CONTEXT ) -> DPI_AWARENESS ); + ::windows::imp::link ! ( "user32.dll""system" fn GetAwarenessFromDpiAwarenessContext ( value : DPI_AWARENESS_CONTEXT ) -> DPI_AWARENESS ); GetAwarenessFromDpiAwarenessContext(value.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -45,7 +45,7 @@ pub unsafe fn GetDialogControlDpiChangeBehavior(hwnd: P0) -> DIALOG_CONTROL_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDialogControlDpiChangeBehavior ( hwnd : super::super::Foundation:: HWND ) -> DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDialogControlDpiChangeBehavior ( hwnd : super::super::Foundation:: HWND ) -> DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS ); GetDialogControlDpiChangeBehavior(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -55,7 +55,7 @@ pub unsafe fn GetDialogDpiChangeBehavior(hdlg: P0) -> DIALOG_DPI_CHANGE_BEHA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDialogDpiChangeBehavior ( hdlg : super::super::Foundation:: HWND ) -> DIALOG_DPI_CHANGE_BEHAVIORS ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDialogDpiChangeBehavior ( hdlg : super::super::Foundation:: HWND ) -> DIALOG_DPI_CHANGE_BEHAVIORS ); GetDialogDpiChangeBehavior(hdlg.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -65,7 +65,7 @@ pub unsafe fn GetDpiAwarenessContextForProcess(hprocess: P0) -> DPI_AWARENES where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDpiAwarenessContextForProcess ( hprocess : super::super::Foundation:: HANDLE ) -> DPI_AWARENESS_CONTEXT ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDpiAwarenessContextForProcess ( hprocess : super::super::Foundation:: HANDLE ) -> DPI_AWARENESS_CONTEXT ); GetDpiAwarenessContextForProcess(hprocess.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -75,13 +75,13 @@ pub unsafe fn GetDpiForMonitor(hmonitor: P0, dpitype: MONITOR_DPI_TYPE, dpix where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn GetDpiForMonitor ( hmonitor : super::super::Graphics::Gdi:: HMONITOR , dpitype : MONITOR_DPI_TYPE , dpix : *mut u32 , dpiy : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn GetDpiForMonitor ( hmonitor : super::super::Graphics::Gdi:: HMONITOR , dpitype : MONITOR_DPI_TYPE , dpix : *mut u32 , dpiy : *mut u32 ) -> :: windows::core::HRESULT ); GetDpiForMonitor(hmonitor.into(), dpitype, dpix, dpiy).ok() } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] #[inline] pub unsafe fn GetDpiForSystem() -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetDpiForSystem ( ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDpiForSystem ( ) -> u32 ); GetDpiForSystem() } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -91,7 +91,7 @@ pub unsafe fn GetDpiForWindow(hwnd: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDpiForWindow ( hwnd : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDpiForWindow ( hwnd : super::super::Foundation:: HWND ) -> u32 ); GetDpiForWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] @@ -100,7 +100,7 @@ pub unsafe fn GetDpiFromDpiAwarenessContext(value: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDpiFromDpiAwarenessContext ( value : DPI_AWARENESS_CONTEXT ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDpiFromDpiAwarenessContext ( value : DPI_AWARENESS_CONTEXT ) -> u32 ); GetDpiFromDpiAwarenessContext(value.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -110,7 +110,7 @@ pub unsafe fn GetProcessDpiAwareness(hprocess: P0) -> ::windows::core::Resul where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn GetProcessDpiAwareness ( hprocess : super::super::Foundation:: HANDLE , value : *mut PROCESS_DPI_AWARENESS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn GetProcessDpiAwareness ( hprocess : super::super::Foundation:: HANDLE , value : *mut PROCESS_DPI_AWARENESS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetProcessDpiAwareness(hprocess.into(), &mut result__).from_abi(result__) } @@ -121,26 +121,26 @@ pub unsafe fn GetSystemDpiForProcess(hprocess: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetSystemDpiForProcess ( hprocess : super::super::Foundation:: HANDLE ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetSystemDpiForProcess ( hprocess : super::super::Foundation:: HANDLE ) -> u32 ); GetSystemDpiForProcess(hprocess.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn GetSystemMetricsForDpi(nindex: super::WindowsAndMessaging::SYSTEM_METRICS_INDEX, dpi: u32) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetSystemMetricsForDpi ( nindex : super::WindowsAndMessaging:: SYSTEM_METRICS_INDEX , dpi : u32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetSystemMetricsForDpi ( nindex : super::WindowsAndMessaging:: SYSTEM_METRICS_INDEX , dpi : u32 ) -> i32 ); GetSystemMetricsForDpi(nindex, dpi) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] #[inline] pub unsafe fn GetThreadDpiAwarenessContext() -> DPI_AWARENESS_CONTEXT { - ::windows::core::link ! ( "user32.dll""system" fn GetThreadDpiAwarenessContext ( ) -> DPI_AWARENESS_CONTEXT ); + ::windows::imp::link ! ( "user32.dll""system" fn GetThreadDpiAwarenessContext ( ) -> DPI_AWARENESS_CONTEXT ); GetThreadDpiAwarenessContext() } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] #[inline] pub unsafe fn GetThreadDpiHostingBehavior() -> DPI_HOSTING_BEHAVIOR { - ::windows::core::link ! ( "user32.dll""system" fn GetThreadDpiHostingBehavior ( ) -> DPI_HOSTING_BEHAVIOR ); + ::windows::imp::link ! ( "user32.dll""system" fn GetThreadDpiHostingBehavior ( ) -> DPI_HOSTING_BEHAVIOR ); GetThreadDpiHostingBehavior() } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -150,7 +150,7 @@ pub unsafe fn GetWindowDpiAwarenessContext(hwnd: P0) -> DPI_AWARENESS_CONTEX where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowDpiAwarenessContext ( hwnd : super::super::Foundation:: HWND ) -> DPI_AWARENESS_CONTEXT ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowDpiAwarenessContext ( hwnd : super::super::Foundation:: HWND ) -> DPI_AWARENESS_CONTEXT ); GetWindowDpiAwarenessContext(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -160,7 +160,7 @@ pub unsafe fn GetWindowDpiHostingBehavior(hwnd: P0) -> DPI_HOSTING_BEHAVIOR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowDpiHostingBehavior ( hwnd : super::super::Foundation:: HWND ) -> DPI_HOSTING_BEHAVIOR ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowDpiHostingBehavior ( hwnd : super::super::Foundation:: HWND ) -> DPI_HOSTING_BEHAVIOR ); GetWindowDpiHostingBehavior(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -170,7 +170,7 @@ pub unsafe fn IsValidDpiAwarenessContext(value: P0) -> super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsValidDpiAwarenessContext ( value : DPI_AWARENESS_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsValidDpiAwarenessContext ( value : DPI_AWARENESS_CONTEXT ) -> super::super::Foundation:: BOOL ); IsValidDpiAwarenessContext(value.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -180,7 +180,7 @@ pub unsafe fn LogicalToPhysicalPointForPerMonitorDPI(hwnd: P0, lppoint: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn LogicalToPhysicalPointForPerMonitorDPI ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn LogicalToPhysicalPointForPerMonitorDPI ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); LogicalToPhysicalPointForPerMonitorDPI(hwnd.into(), lppoint) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -191,7 +191,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "uxtheme.dll""system" fn OpenThemeDataForDpi ( hwnd : super::super::Foundation:: HWND , pszclasslist : :: windows::core::PCWSTR , dpi : u32 ) -> super::Controls:: HTHEME ); + ::windows::imp::link ! ( "uxtheme.dll""system" fn OpenThemeDataForDpi ( hwnd : super::super::Foundation:: HWND , pszclasslist : :: windows::core::PCWSTR , dpi : u32 ) -> super::Controls:: HTHEME ); OpenThemeDataForDpi(hwnd.into(), pszclasslist.into().abi(), dpi) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -201,7 +201,7 @@ pub unsafe fn PhysicalToLogicalPointForPerMonitorDPI(hwnd: P0, lppoint: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PhysicalToLogicalPointForPerMonitorDPI ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PhysicalToLogicalPointForPerMonitorDPI ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); PhysicalToLogicalPointForPerMonitorDPI(hwnd.into(), lppoint) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -211,7 +211,7 @@ pub unsafe fn SetDialogControlDpiChangeBehavior(hwnd: P0, mask: DIALOG_CONTR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetDialogControlDpiChangeBehavior ( hwnd : super::super::Foundation:: HWND , mask : DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS , values : DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDialogControlDpiChangeBehavior ( hwnd : super::super::Foundation:: HWND , mask : DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS , values : DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS ) -> super::super::Foundation:: BOOL ); SetDialogControlDpiChangeBehavior(hwnd.into(), mask, values) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -221,13 +221,13 @@ pub unsafe fn SetDialogDpiChangeBehavior(hdlg: P0, mask: DIALOG_DPI_CHANGE_B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetDialogDpiChangeBehavior ( hdlg : super::super::Foundation:: HWND , mask : DIALOG_DPI_CHANGE_BEHAVIORS , values : DIALOG_DPI_CHANGE_BEHAVIORS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDialogDpiChangeBehavior ( hdlg : super::super::Foundation:: HWND , mask : DIALOG_DPI_CHANGE_BEHAVIORS , values : DIALOG_DPI_CHANGE_BEHAVIORS ) -> super::super::Foundation:: BOOL ); SetDialogDpiChangeBehavior(hdlg.into(), mask, values) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] #[inline] pub unsafe fn SetProcessDpiAwareness(value: PROCESS_DPI_AWARENESS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn SetProcessDpiAwareness ( value : PROCESS_DPI_AWARENESS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn SetProcessDpiAwareness ( value : PROCESS_DPI_AWARENESS ) -> :: windows::core::HRESULT ); SetProcessDpiAwareness(value).ok() } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] @@ -237,7 +237,7 @@ pub unsafe fn SetProcessDpiAwarenessContext(value: P0) -> super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetProcessDpiAwarenessContext ( value : DPI_AWARENESS_CONTEXT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetProcessDpiAwarenessContext ( value : DPI_AWARENESS_CONTEXT ) -> super::super::Foundation:: BOOL ); SetProcessDpiAwarenessContext(value.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] @@ -246,20 +246,20 @@ pub unsafe fn SetThreadDpiAwarenessContext(dpicontext: P0) -> DPI_AWARENESS_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetThreadDpiAwarenessContext ( dpicontext : DPI_AWARENESS_CONTEXT ) -> DPI_AWARENESS_CONTEXT ); + ::windows::imp::link ! ( "user32.dll""system" fn SetThreadDpiAwarenessContext ( dpicontext : DPI_AWARENESS_CONTEXT ) -> DPI_AWARENESS_CONTEXT ); SetThreadDpiAwarenessContext(dpicontext.into()) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] #[inline] pub unsafe fn SetThreadDpiHostingBehavior(value: DPI_HOSTING_BEHAVIOR) -> DPI_HOSTING_BEHAVIOR { - ::windows::core::link ! ( "user32.dll""system" fn SetThreadDpiHostingBehavior ( value : DPI_HOSTING_BEHAVIOR ) -> DPI_HOSTING_BEHAVIOR ); + ::windows::imp::link ! ( "user32.dll""system" fn SetThreadDpiHostingBehavior ( value : DPI_HOSTING_BEHAVIOR ) -> DPI_HOSTING_BEHAVIOR ); SetThreadDpiHostingBehavior(value) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemParametersInfoForDpi(uiaction: u32, uiparam: u32, pvparam: ::core::option::Option<*const ::core::ffi::c_void>, fwinini: u32, dpi: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SystemParametersInfoForDpi ( uiaction : u32 , uiparam : u32 , pvparam : *const ::core::ffi::c_void , fwinini : u32 , dpi : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SystemParametersInfoForDpi ( uiaction : u32 , uiparam : u32 , pvparam : *const ::core::ffi::c_void , fwinini : u32 , dpi : u32 ) -> super::super::Foundation:: BOOL ); SystemParametersInfoForDpi(uiaction, uiparam, ::core::mem::transmute(pvparam.unwrap_or(::std::ptr::null())), fwinini, dpi) } #[doc = "*Required features: `\"Win32_UI_HiDpi\"`*"] 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 70101f796f..52e7fea0b1 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 @@ -6,7 +6,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmAssociateContext ( param0 : super::super::super::Foundation:: HWND , param1 : super::super::super::Globalization:: HIMC ) -> super::super::super::Globalization:: HIMC ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmAssociateContext ( param0 : super::super::super::Foundation:: HWND , param1 : super::super::super::Globalization:: HIMC ) -> super::super::super::Globalization:: HIMC ); ImmAssociateContext(param0.into(), param1.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -17,7 +17,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmAssociateContextEx ( param0 : super::super::super::Foundation:: HWND , param1 : super::super::super::Globalization:: HIMC , param2 : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmAssociateContextEx ( param0 : super::super::super::Foundation:: HWND , param1 : super::super::super::Globalization:: HIMC , param2 : u32 ) -> super::super::super::Foundation:: BOOL ); ImmAssociateContextEx(param0.into(), param1.into(), param2) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -28,7 +28,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmConfigureIMEA ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Foundation:: HWND , param2 : u32 , param3 : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmConfigureIMEA ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Foundation:: HWND , param2 : u32 , param3 : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); ImmConfigureIMEA(param0.into(), param1.into(), param2, param3) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -39,21 +39,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmConfigureIMEW ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Foundation:: HWND , param2 : u32 , param3 : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmConfigureIMEW ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Foundation:: HWND , param2 : u32 , param3 : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOL ); ImmConfigureIMEW(param0.into(), param1.into(), param2, param3) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] #[inline] pub unsafe fn ImmCreateContext() -> super::super::super::Globalization::HIMC { - ::windows::core::link ! ( "imm32.dll""system" fn ImmCreateContext ( ) -> super::super::super::Globalization:: HIMC ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmCreateContext ( ) -> super::super::super::Globalization:: HIMC ); ImmCreateContext() } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] #[cfg(feature = "Win32_Globalization")] #[inline] pub unsafe fn ImmCreateIMCC(param0: u32) -> super::super::super::Globalization::HIMCC { - ::windows::core::link ! ( "imm32.dll""system" fn ImmCreateIMCC ( param0 : u32 ) -> super::super::super::Globalization:: HIMCC ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmCreateIMCC ( param0 : u32 ) -> super::super::super::Globalization:: HIMCC ); ImmCreateIMCC(param0) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] @@ -63,7 +63,7 @@ pub unsafe fn ImmCreateSoftKeyboard(param0: u32, param1: P0, param2: i32, pa where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmCreateSoftKeyboard ( param0 : u32 , param1 : super::super::super::Foundation:: HWND , param2 : i32 , param3 : i32 ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmCreateSoftKeyboard ( param0 : u32 , param1 : super::super::super::Foundation:: HWND , param2 : i32 , param3 : i32 ) -> super::super::super::Foundation:: HWND ); ImmCreateSoftKeyboard(param0, param1.into(), param2, param3) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -73,7 +73,7 @@ pub unsafe fn ImmDestroyContext(param0: P0) -> super::super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmDestroyContext ( param0 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmDestroyContext ( param0 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); ImmDestroyContext(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -83,7 +83,7 @@ pub unsafe fn ImmDestroyIMCC(param0: P0) -> super::super::super::Globalizati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmDestroyIMCC ( param0 : super::super::super::Globalization:: HIMCC ) -> super::super::super::Globalization:: HIMCC ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmDestroyIMCC ( param0 : super::super::super::Globalization:: HIMCC ) -> super::super::super::Globalization:: HIMCC ); ImmDestroyIMCC(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] @@ -93,28 +93,28 @@ pub unsafe fn ImmDestroySoftKeyboard(param0: P0) -> super::super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmDestroySoftKeyboard ( param0 : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmDestroySoftKeyboard ( param0 : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); ImmDestroySoftKeyboard(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ImmDisableIME(param0: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imm32.dll""system" fn ImmDisableIME ( param0 : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmDisableIME ( param0 : u32 ) -> super::super::super::Foundation:: BOOL ); ImmDisableIME(param0) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ImmDisableLegacyIME() -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imm32.dll""system" fn ImmDisableLegacyIME ( ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmDisableLegacyIME ( ) -> super::super::super::Foundation:: BOOL ); ImmDisableLegacyIME() } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ImmDisableTextFrameService(idthread: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imm32.dll""system" fn ImmDisableTextFrameService ( idthread : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmDisableTextFrameService ( idthread : u32 ) -> super::super::super::Foundation:: BOOL ); ImmDisableTextFrameService(idthread) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -124,7 +124,7 @@ pub unsafe fn ImmEnumInputContext(idthread: u32, lpfn: IMCENUMPROC, lparam: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmEnumInputContext ( idthread : u32 , lpfn : IMCENUMPROC , lparam : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmEnumInputContext ( idthread : u32 , lpfn : IMCENUMPROC , lparam : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: BOOL ); ImmEnumInputContext(idthread, lpfn, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -136,7 +136,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmEnumRegisterWordA ( param0 : super::super::TextServices:: HKL , param1 : REGISTERWORDENUMPROCA , lpszreading : :: windows::core::PCSTR , param3 : u32 , lpszregister : :: windows::core::PCSTR , param5 : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmEnumRegisterWordA ( param0 : super::super::TextServices:: HKL , param1 : REGISTERWORDENUMPROCA , lpszreading : :: windows::core::PCSTR , param3 : u32 , lpszregister : :: windows::core::PCSTR , param5 : *mut ::core::ffi::c_void ) -> u32 ); ImmEnumRegisterWordA(param0.into(), param1, lpszreading.into().abi(), param3, lpszregister.into().abi(), param5) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -148,7 +148,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmEnumRegisterWordW ( param0 : super::super::TextServices:: HKL , param1 : REGISTERWORDENUMPROCW , lpszreading : :: windows::core::PCWSTR , param3 : u32 , lpszregister : :: windows::core::PCWSTR , param5 : *mut ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmEnumRegisterWordW ( param0 : super::super::TextServices:: HKL , param1 : REGISTERWORDENUMPROCW , lpszreading : :: windows::core::PCWSTR , param3 : u32 , lpszregister : :: windows::core::PCWSTR , param5 : *mut ::core::ffi::c_void ) -> u32 ); ImmEnumRegisterWordW(param0.into(), param1, lpszreading.into().abi(), param3, lpszregister.into().abi(), param5) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] @@ -159,7 +159,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmEscapeA ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Globalization:: HIMC , param2 : IME_ESCAPE , param3 : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmEscapeA ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Globalization:: HIMC , param2 : IME_ESCAPE , param3 : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: LRESULT ); ImmEscapeA(param0.into(), param1.into(), param2, param3) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] @@ -170,7 +170,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmEscapeW ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Globalization:: HIMC , param2 : IME_ESCAPE , param3 : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmEscapeW ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Globalization:: HIMC , param2 : IME_ESCAPE , param3 : *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: LRESULT ); ImmEscapeW(param0.into(), param1.into(), param2, param3) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -180,7 +180,7 @@ pub unsafe fn ImmGenerateMessage(param0: P0) -> super::super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGenerateMessage ( param0 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGenerateMessage ( param0 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); ImmGenerateMessage(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -190,7 +190,7 @@ pub unsafe fn ImmGetCandidateListA(param0: P0, deindex: u32, lpcandlist: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCandidateListA ( param0 : super::super::super::Globalization:: HIMC , deindex : u32 , lpcandlist : *mut CANDIDATELIST , dwbuflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCandidateListA ( param0 : super::super::super::Globalization:: HIMC , deindex : u32 , lpcandlist : *mut CANDIDATELIST , dwbuflen : u32 ) -> u32 ); ImmGetCandidateListA(param0.into(), deindex, ::core::mem::transmute(lpcandlist.unwrap_or(::std::ptr::null_mut())), dwbuflen) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -200,7 +200,7 @@ pub unsafe fn ImmGetCandidateListCountA(param0: P0, lpdwlistcount: *mut u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCandidateListCountA ( param0 : super::super::super::Globalization:: HIMC , lpdwlistcount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCandidateListCountA ( param0 : super::super::super::Globalization:: HIMC , lpdwlistcount : *mut u32 ) -> u32 ); ImmGetCandidateListCountA(param0.into(), lpdwlistcount) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -210,7 +210,7 @@ pub unsafe fn ImmGetCandidateListCountW(param0: P0, lpdwlistcount: *mut u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCandidateListCountW ( param0 : super::super::super::Globalization:: HIMC , lpdwlistcount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCandidateListCountW ( param0 : super::super::super::Globalization:: HIMC , lpdwlistcount : *mut u32 ) -> u32 ); ImmGetCandidateListCountW(param0.into(), lpdwlistcount) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -220,7 +220,7 @@ pub unsafe fn ImmGetCandidateListW(param0: P0, deindex: u32, lpcandlist: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCandidateListW ( param0 : super::super::super::Globalization:: HIMC , deindex : u32 , lpcandlist : *mut CANDIDATELIST , dwbuflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCandidateListW ( param0 : super::super::super::Globalization:: HIMC , deindex : u32 , lpcandlist : *mut CANDIDATELIST , dwbuflen : u32 ) -> u32 ); ImmGetCandidateListW(param0.into(), deindex, ::core::mem::transmute(lpcandlist.unwrap_or(::std::ptr::null_mut())), dwbuflen) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -230,7 +230,7 @@ pub unsafe fn ImmGetCandidateWindow(param0: P0, param1: u32, lpcandidate: *m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCandidateWindow ( param0 : super::super::super::Globalization:: HIMC , param1 : u32 , lpcandidate : *mut CANDIDATEFORM ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCandidateWindow ( param0 : super::super::super::Globalization:: HIMC , param1 : u32 , lpcandidate : *mut CANDIDATEFORM ) -> super::super::super::Foundation:: BOOL ); ImmGetCandidateWindow(param0.into(), param1, lpcandidate) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -240,7 +240,7 @@ pub unsafe fn ImmGetCompositionFontA(param0: P0, lplf: *mut super::super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCompositionFontA ( param0 : super::super::super::Globalization:: HIMC , lplf : *mut super::super::super::Graphics::Gdi:: LOGFONTA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCompositionFontA ( param0 : super::super::super::Globalization:: HIMC , lplf : *mut super::super::super::Graphics::Gdi:: LOGFONTA ) -> super::super::super::Foundation:: BOOL ); ImmGetCompositionFontA(param0.into(), lplf) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -250,7 +250,7 @@ pub unsafe fn ImmGetCompositionFontW(param0: P0, lplf: *mut super::super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCompositionFontW ( param0 : super::super::super::Globalization:: HIMC , lplf : *mut super::super::super::Graphics::Gdi:: LOGFONTW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCompositionFontW ( param0 : super::super::super::Globalization:: HIMC , lplf : *mut super::super::super::Graphics::Gdi:: LOGFONTW ) -> super::super::super::Foundation:: BOOL ); ImmGetCompositionFontW(param0.into(), lplf) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -260,7 +260,7 @@ pub unsafe fn ImmGetCompositionStringA(param0: P0, param1: IME_COMPOSITION_S where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCompositionStringA ( param0 : super::super::super::Globalization:: HIMC , param1 : IME_COMPOSITION_STRING , lpbuf : *mut ::core::ffi::c_void , dwbuflen : u32 ) -> i32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCompositionStringA ( param0 : super::super::super::Globalization:: HIMC , param1 : IME_COMPOSITION_STRING , lpbuf : *mut ::core::ffi::c_void , dwbuflen : u32 ) -> i32 ); ImmGetCompositionStringA(param0.into(), param1, ::core::mem::transmute(lpbuf.unwrap_or(::std::ptr::null_mut())), dwbuflen) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -270,7 +270,7 @@ pub unsafe fn ImmGetCompositionStringW(param0: P0, param1: IME_COMPOSITION_S where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCompositionStringW ( param0 : super::super::super::Globalization:: HIMC , param1 : IME_COMPOSITION_STRING , lpbuf : *mut ::core::ffi::c_void , dwbuflen : u32 ) -> i32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCompositionStringW ( param0 : super::super::super::Globalization:: HIMC , param1 : IME_COMPOSITION_STRING , lpbuf : *mut ::core::ffi::c_void , dwbuflen : u32 ) -> i32 ); ImmGetCompositionStringW(param0.into(), param1, ::core::mem::transmute(lpbuf.unwrap_or(::std::ptr::null_mut())), dwbuflen) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -280,7 +280,7 @@ pub unsafe fn ImmGetCompositionWindow(param0: P0, lpcompform: *mut COMPOSITI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetCompositionWindow ( param0 : super::super::super::Globalization:: HIMC , lpcompform : *mut COMPOSITIONFORM ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetCompositionWindow ( param0 : super::super::super::Globalization:: HIMC , lpcompform : *mut COMPOSITIONFORM ) -> super::super::super::Foundation:: BOOL ); ImmGetCompositionWindow(param0.into(), lpcompform) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -290,7 +290,7 @@ pub unsafe fn ImmGetContext(param0: P0) -> super::super::super::Globalizatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetContext ( param0 : super::super::super::Foundation:: HWND ) -> super::super::super::Globalization:: HIMC ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetContext ( param0 : super::super::super::Foundation:: HWND ) -> super::super::super::Globalization:: HIMC ); ImmGetContext(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] @@ -302,7 +302,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetConversionListA ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Globalization:: HIMC , lpsrc : :: windows::core::PCSTR , lpdst : *mut CANDIDATELIST , dwbuflen : u32 , uflag : GET_CONVERSION_LIST_FLAG ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetConversionListA ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Globalization:: HIMC , lpsrc : :: windows::core::PCSTR , lpdst : *mut CANDIDATELIST , dwbuflen : u32 , uflag : GET_CONVERSION_LIST_FLAG ) -> u32 ); ImmGetConversionListA(param0.into(), param1.into(), lpsrc.into().abi(), lpdst, dwbuflen, uflag) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`*"] @@ -314,7 +314,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetConversionListW ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Globalization:: HIMC , lpsrc : :: windows::core::PCWSTR , lpdst : *mut CANDIDATELIST , dwbuflen : u32 , uflag : GET_CONVERSION_LIST_FLAG ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetConversionListW ( param0 : super::super::TextServices:: HKL , param1 : super::super::super::Globalization:: HIMC , lpsrc : :: windows::core::PCWSTR , lpdst : *mut CANDIDATELIST , dwbuflen : u32 , uflag : GET_CONVERSION_LIST_FLAG ) -> u32 ); ImmGetConversionListW(param0.into(), param1.into(), lpsrc.into().abi(), lpdst, dwbuflen, uflag) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -324,7 +324,7 @@ pub unsafe fn ImmGetConversionStatus(param0: P0, lpfdwconversion: ::core::op where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetConversionStatus ( param0 : super::super::super::Globalization:: HIMC , lpfdwconversion : *mut IME_CONVERSION_MODE , lpfdwsentence : *mut IME_SENTENCE_MODE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetConversionStatus ( param0 : super::super::super::Globalization:: HIMC , lpfdwconversion : *mut IME_CONVERSION_MODE , lpfdwsentence : *mut IME_SENTENCE_MODE ) -> super::super::super::Foundation:: BOOL ); ImmGetConversionStatus(param0.into(), ::core::mem::transmute(lpfdwconversion.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpfdwsentence.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] @@ -334,7 +334,7 @@ pub unsafe fn ImmGetDefaultIMEWnd(param0: P0) -> super::super::super::Founda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetDefaultIMEWnd ( param0 : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetDefaultIMEWnd ( param0 : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); ImmGetDefaultIMEWnd(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -344,7 +344,7 @@ pub unsafe fn ImmGetDescriptionA(param0: P0, lpszdescription: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetDescriptionA ( param0 : super::super::TextServices:: HKL , lpszdescription : :: windows::core::PSTR , ubuflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetDescriptionA ( param0 : super::super::TextServices:: HKL , lpszdescription : :: windows::core::PSTR , ubuflen : u32 ) -> u32 ); ImmGetDescriptionA(param0.into(), ::core::mem::transmute(lpszdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszdescription.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -354,7 +354,7 @@ pub unsafe fn ImmGetDescriptionW(param0: P0, lpszdescription: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetDescriptionW ( param0 : super::super::TextServices:: HKL , lpszdescription : :: windows::core::PWSTR , ubuflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetDescriptionW ( param0 : super::super::TextServices:: HKL , lpszdescription : :: windows::core::PWSTR , ubuflen : u32 ) -> u32 ); ImmGetDescriptionW(param0.into(), ::core::mem::transmute(lpszdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszdescription.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -364,7 +364,7 @@ pub unsafe fn ImmGetGuideLineA(param0: P0, dwindex: GET_GUIDE_LINE_TYPE, lpb where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetGuideLineA ( param0 : super::super::super::Globalization:: HIMC , dwindex : GET_GUIDE_LINE_TYPE , lpbuf : :: windows::core::PSTR , dwbuflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetGuideLineA ( param0 : super::super::super::Globalization:: HIMC , dwindex : GET_GUIDE_LINE_TYPE , lpbuf : :: windows::core::PSTR , dwbuflen : u32 ) -> u32 ); ImmGetGuideLineA(param0.into(), dwindex, ::core::mem::transmute(lpbuf.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpbuf.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -374,14 +374,14 @@ pub unsafe fn ImmGetGuideLineW(param0: P0, dwindex: GET_GUIDE_LINE_TYPE, lpb where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetGuideLineW ( param0 : super::super::super::Globalization:: HIMC , dwindex : GET_GUIDE_LINE_TYPE , lpbuf : :: windows::core::PWSTR , dwbuflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetGuideLineW ( param0 : super::super::super::Globalization:: HIMC , dwindex : GET_GUIDE_LINE_TYPE , lpbuf : :: windows::core::PWSTR , dwbuflen : u32 ) -> u32 ); ImmGetGuideLineW(param0.into(), dwindex, ::core::mem::transmute(lpbuf), dwbuflen) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ImmGetHotKey(param0: u32, lpumodifiers: *mut u32, lpuvkey: *mut u32, phkl: *mut isize) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetHotKey ( param0 : u32 , lpumodifiers : *mut u32 , lpuvkey : *mut u32 , phkl : *mut isize ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetHotKey ( param0 : u32 , lpumodifiers : *mut u32 , lpuvkey : *mut u32 , phkl : *mut isize ) -> super::super::super::Foundation:: BOOL ); ImmGetHotKey(param0, lpumodifiers, lpuvkey, phkl) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -391,7 +391,7 @@ pub unsafe fn ImmGetIMCCLockCount(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetIMCCLockCount ( param0 : super::super::super::Globalization:: HIMCC ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetIMCCLockCount ( param0 : super::super::super::Globalization:: HIMCC ) -> u32 ); ImmGetIMCCLockCount(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -401,7 +401,7 @@ pub unsafe fn ImmGetIMCCSize(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetIMCCSize ( param0 : super::super::super::Globalization:: HIMCC ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetIMCCSize ( param0 : super::super::super::Globalization:: HIMCC ) -> u32 ); ImmGetIMCCSize(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -411,7 +411,7 @@ pub unsafe fn ImmGetIMCLockCount(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetIMCLockCount ( param0 : super::super::super::Globalization:: HIMC ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetIMCLockCount ( param0 : super::super::super::Globalization:: HIMC ) -> u32 ); ImmGetIMCLockCount(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -421,7 +421,7 @@ pub unsafe fn ImmGetIMEFileNameA(param0: P0, lpszfilename: ::core::option::O where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetIMEFileNameA ( param0 : super::super::TextServices:: HKL , lpszfilename : :: windows::core::PSTR , ubuflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetIMEFileNameA ( param0 : super::super::TextServices:: HKL , lpszfilename : :: windows::core::PSTR , ubuflen : u32 ) -> u32 ); ImmGetIMEFileNameA(param0.into(), ::core::mem::transmute(lpszfilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszfilename.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -431,7 +431,7 @@ pub unsafe fn ImmGetIMEFileNameW(param0: P0, lpszfilename: ::core::option::O where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetIMEFileNameW ( param0 : super::super::TextServices:: HKL , lpszfilename : :: windows::core::PWSTR , ubuflen : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetIMEFileNameW ( param0 : super::super::TextServices:: HKL , lpszfilename : :: windows::core::PWSTR , ubuflen : u32 ) -> u32 ); ImmGetIMEFileNameW(param0.into(), ::core::mem::transmute(lpszfilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszfilename.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -441,7 +441,7 @@ pub unsafe fn ImmGetImeMenuItemsA(param0: P0, param1: u32, param2: u32, lpim where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetImeMenuItemsA ( param0 : super::super::super::Globalization:: HIMC , param1 : u32 , param2 : u32 , lpimeparentmenu : *mut IMEMENUITEMINFOA , lpimemenu : *mut IMEMENUITEMINFOA , dwsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetImeMenuItemsA ( param0 : super::super::super::Globalization:: HIMC , param1 : u32 , param2 : u32 , lpimeparentmenu : *mut IMEMENUITEMINFOA , lpimemenu : *mut IMEMENUITEMINFOA , dwsize : u32 ) -> u32 ); ImmGetImeMenuItemsA(param0.into(), param1, param2, ::core::mem::transmute(lpimeparentmenu.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpimemenu.unwrap_or(::std::ptr::null_mut())), dwsize) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -451,7 +451,7 @@ pub unsafe fn ImmGetImeMenuItemsW(param0: P0, param1: u32, param2: u32, lpim where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetImeMenuItemsW ( param0 : super::super::super::Globalization:: HIMC , param1 : u32 , param2 : u32 , lpimeparentmenu : *mut IMEMENUITEMINFOW , lpimemenu : *mut IMEMENUITEMINFOW , dwsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetImeMenuItemsW ( param0 : super::super::super::Globalization:: HIMC , param1 : u32 , param2 : u32 , lpimeparentmenu : *mut IMEMENUITEMINFOW , lpimemenu : *mut IMEMENUITEMINFOW , dwsize : u32 ) -> u32 ); ImmGetImeMenuItemsW(param0.into(), param1, param2, ::core::mem::transmute(lpimeparentmenu.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpimemenu.unwrap_or(::std::ptr::null_mut())), dwsize) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -461,7 +461,7 @@ pub unsafe fn ImmGetOpenStatus(param0: P0) -> super::super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetOpenStatus ( param0 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetOpenStatus ( param0 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); ImmGetOpenStatus(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -471,7 +471,7 @@ pub unsafe fn ImmGetProperty(param0: P0, param1: u32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetProperty ( param0 : super::super::TextServices:: HKL , param1 : u32 ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetProperty ( param0 : super::super::TextServices:: HKL , param1 : u32 ) -> u32 ); ImmGetProperty(param0.into(), param1) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -481,7 +481,7 @@ pub unsafe fn ImmGetRegisterWordStyleA(param0: P0, lpstylebuf: &mut [STYLEBU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetRegisterWordStyleA ( param0 : super::super::TextServices:: HKL , nitem : u32 , lpstylebuf : *mut STYLEBUFA ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetRegisterWordStyleA ( param0 : super::super::TextServices:: HKL , nitem : u32 , lpstylebuf : *mut STYLEBUFA ) -> u32 ); ImmGetRegisterWordStyleA(param0.into(), lpstylebuf.len() as _, ::core::mem::transmute(lpstylebuf.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -491,7 +491,7 @@ pub unsafe fn ImmGetRegisterWordStyleW(param0: P0, lpstylebuf: &mut [STYLEBU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetRegisterWordStyleW ( param0 : super::super::TextServices:: HKL , nitem : u32 , lpstylebuf : *mut STYLEBUFW ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetRegisterWordStyleW ( param0 : super::super::TextServices:: HKL , nitem : u32 , lpstylebuf : *mut STYLEBUFW ) -> u32 ); ImmGetRegisterWordStyleW(param0.into(), lpstylebuf.len() as _, ::core::mem::transmute(lpstylebuf.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -501,7 +501,7 @@ pub unsafe fn ImmGetStatusWindowPos(param0: P0, lpptpos: *mut super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetStatusWindowPos ( param0 : super::super::super::Globalization:: HIMC , lpptpos : *mut super::super::super::Foundation:: POINT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetStatusWindowPos ( param0 : super::super::super::Globalization:: HIMC , lpptpos : *mut super::super::super::Foundation:: POINT ) -> super::super::super::Foundation:: BOOL ); ImmGetStatusWindowPos(param0.into(), lpptpos) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] @@ -511,7 +511,7 @@ pub unsafe fn ImmGetVirtualKey(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmGetVirtualKey ( param0 : super::super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmGetVirtualKey ( param0 : super::super::super::Foundation:: HWND ) -> u32 ); ImmGetVirtualKey(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -522,7 +522,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmInstallIMEA ( lpszimefilename : :: windows::core::PCSTR , lpszlayouttext : :: windows::core::PCSTR ) -> super::super::TextServices:: HKL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmInstallIMEA ( lpszimefilename : :: windows::core::PCSTR , lpszlayouttext : :: windows::core::PCSTR ) -> super::super::TextServices:: HKL ); ImmInstallIMEA(lpszimefilename.into().abi(), lpszlayouttext.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_UI_TextServices\"`*"] @@ -533,7 +533,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmInstallIMEW ( lpszimefilename : :: windows::core::PCWSTR , lpszlayouttext : :: windows::core::PCWSTR ) -> super::super::TextServices:: HKL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmInstallIMEW ( lpszimefilename : :: windows::core::PCWSTR , lpszlayouttext : :: windows::core::PCWSTR ) -> super::super::TextServices:: HKL ); ImmInstallIMEW(lpszimefilename.into().abi(), lpszlayouttext.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -543,7 +543,7 @@ pub unsafe fn ImmIsIME(param0: P0) -> super::super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmIsIME ( param0 : super::super::TextServices:: HKL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmIsIME ( param0 : super::super::TextServices:: HKL ) -> super::super::super::Foundation:: BOOL ); ImmIsIME(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] @@ -555,7 +555,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmIsUIMessageA ( param0 : super::super::super::Foundation:: HWND , param1 : u32 , param2 : super::super::super::Foundation:: WPARAM , param3 : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmIsUIMessageA ( param0 : super::super::super::Foundation:: HWND , param1 : u32 , param2 : super::super::super::Foundation:: WPARAM , param3 : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: BOOL ); ImmIsUIMessageA(param0.into(), param1, param2.into(), param3.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] @@ -567,7 +567,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmIsUIMessageW ( param0 : super::super::super::Foundation:: HWND , param1 : u32 , param2 : super::super::super::Foundation:: WPARAM , param3 : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmIsUIMessageW ( param0 : super::super::super::Foundation:: HWND , param1 : u32 , param2 : super::super::super::Foundation:: WPARAM , param3 : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: BOOL ); ImmIsUIMessageW(param0.into(), param1, param2.into(), param3.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -577,7 +577,7 @@ pub unsafe fn ImmLockIMC(param0: P0) -> *mut INPUTCONTEXT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmLockIMC ( param0 : super::super::super::Globalization:: HIMC ) -> *mut INPUTCONTEXT ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmLockIMC ( param0 : super::super::super::Globalization:: HIMC ) -> *mut INPUTCONTEXT ); ImmLockIMC(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -587,7 +587,7 @@ pub unsafe fn ImmLockIMCC(param0: P0) -> *mut ::core::ffi::c_void where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmLockIMCC ( param0 : super::super::super::Globalization:: HIMCC ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmLockIMCC ( param0 : super::super::super::Globalization:: HIMCC ) -> *mut ::core::ffi::c_void ); ImmLockIMCC(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -597,7 +597,7 @@ pub unsafe fn ImmNotifyIME(param0: P0, dwaction: NOTIFY_IME_ACTION, dwindex: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmNotifyIME ( param0 : super::super::super::Globalization:: HIMC , dwaction : NOTIFY_IME_ACTION , dwindex : NOTIFY_IME_INDEX , dwvalue : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmNotifyIME ( param0 : super::super::super::Globalization:: HIMC , dwaction : NOTIFY_IME_ACTION , dwindex : NOTIFY_IME_INDEX , dwvalue : u32 ) -> super::super::super::Foundation:: BOOL ); ImmNotifyIME(param0.into(), dwaction, dwindex, dwvalue) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`*"] @@ -607,7 +607,7 @@ pub unsafe fn ImmReSizeIMCC(param0: P0, param1: u32) -> super::super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmReSizeIMCC ( param0 : super::super::super::Globalization:: HIMCC , param1 : u32 ) -> super::super::super::Globalization:: HIMCC ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmReSizeIMCC ( param0 : super::super::super::Globalization:: HIMCC , param1 : u32 ) -> super::super::super::Globalization:: HIMCC ); ImmReSizeIMCC(param0.into(), param1) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -619,7 +619,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmRegisterWordA ( param0 : super::super::TextServices:: HKL , lpszreading : :: windows::core::PCSTR , param2 : u32 , lpszregister : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmRegisterWordA ( param0 : super::super::TextServices:: HKL , lpszreading : :: windows::core::PCSTR , param2 : u32 , lpszregister : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); ImmRegisterWordA(param0.into(), lpszreading.into().abi(), param2, lpszregister.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -631,7 +631,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmRegisterWordW ( param0 : super::super::TextServices:: HKL , lpszreading : :: windows::core::PCWSTR , param2 : u32 , lpszregister : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmRegisterWordW ( param0 : super::super::TextServices:: HKL , lpszreading : :: windows::core::PCWSTR , param2 : u32 , lpszregister : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); ImmRegisterWordW(param0.into(), lpszreading.into().abi(), param2, lpszregister.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -642,7 +642,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmReleaseContext ( param0 : super::super::super::Foundation:: HWND , param1 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmReleaseContext ( param0 : super::super::super::Foundation:: HWND , param1 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); ImmReleaseContext(param0.into(), param1.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -654,7 +654,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmRequestMessageA ( param0 : super::super::super::Globalization:: HIMC , param1 : super::super::super::Foundation:: WPARAM , param2 : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmRequestMessageA ( param0 : super::super::super::Globalization:: HIMC , param1 : super::super::super::Foundation:: WPARAM , param2 : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: LRESULT ); ImmRequestMessageA(param0.into(), param1.into(), param2.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -666,7 +666,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmRequestMessageW ( param0 : super::super::super::Globalization:: HIMC , param1 : super::super::super::Foundation:: WPARAM , param2 : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmRequestMessageW ( param0 : super::super::super::Globalization:: HIMC , param1 : super::super::super::Foundation:: WPARAM , param2 : super::super::super::Foundation:: LPARAM ) -> super::super::super::Foundation:: LRESULT ); ImmRequestMessageW(param0.into(), param1.into(), param2.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -676,7 +676,7 @@ pub unsafe fn ImmSetCandidateWindow(param0: P0, lpcandidate: *const CANDIDAT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetCandidateWindow ( param0 : super::super::super::Globalization:: HIMC , lpcandidate : *const CANDIDATEFORM ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetCandidateWindow ( param0 : super::super::super::Globalization:: HIMC , lpcandidate : *const CANDIDATEFORM ) -> super::super::super::Foundation:: BOOL ); ImmSetCandidateWindow(param0.into(), lpcandidate) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -686,7 +686,7 @@ pub unsafe fn ImmSetCompositionFontA(param0: P0, lplf: *const super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetCompositionFontA ( param0 : super::super::super::Globalization:: HIMC , lplf : *const super::super::super::Graphics::Gdi:: LOGFONTA ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetCompositionFontA ( param0 : super::super::super::Globalization:: HIMC , lplf : *const super::super::super::Graphics::Gdi:: LOGFONTA ) -> super::super::super::Foundation:: BOOL ); ImmSetCompositionFontA(param0.into(), lplf) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -696,7 +696,7 @@ pub unsafe fn ImmSetCompositionFontW(param0: P0, lplf: *const super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetCompositionFontW ( param0 : super::super::super::Globalization:: HIMC , lplf : *const super::super::super::Graphics::Gdi:: LOGFONTW ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetCompositionFontW ( param0 : super::super::super::Globalization:: HIMC , lplf : *const super::super::super::Graphics::Gdi:: LOGFONTW ) -> super::super::super::Foundation:: BOOL ); ImmSetCompositionFontW(param0.into(), lplf) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -706,7 +706,7 @@ pub unsafe fn ImmSetCompositionStringA(param0: P0, dwindex: SET_COMPOSITION_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetCompositionStringA ( param0 : super::super::super::Globalization:: HIMC , dwindex : SET_COMPOSITION_STRING_TYPE , lpcomp : *const ::core::ffi::c_void , dwcomplen : u32 , lpread : *const ::core::ffi::c_void , dwreadlen : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetCompositionStringA ( param0 : super::super::super::Globalization:: HIMC , dwindex : SET_COMPOSITION_STRING_TYPE , lpcomp : *const ::core::ffi::c_void , dwcomplen : u32 , lpread : *const ::core::ffi::c_void , dwreadlen : u32 ) -> super::super::super::Foundation:: BOOL ); ImmSetCompositionStringA(param0.into(), dwindex, ::core::mem::transmute(lpcomp.unwrap_or(::std::ptr::null())), dwcomplen, ::core::mem::transmute(lpread.unwrap_or(::std::ptr::null())), dwreadlen) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -716,7 +716,7 @@ pub unsafe fn ImmSetCompositionStringW(param0: P0, dwindex: SET_COMPOSITION_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetCompositionStringW ( param0 : super::super::super::Globalization:: HIMC , dwindex : SET_COMPOSITION_STRING_TYPE , lpcomp : *const ::core::ffi::c_void , dwcomplen : u32 , lpread : *const ::core::ffi::c_void , dwreadlen : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetCompositionStringW ( param0 : super::super::super::Globalization:: HIMC , dwindex : SET_COMPOSITION_STRING_TYPE , lpcomp : *const ::core::ffi::c_void , dwcomplen : u32 , lpread : *const ::core::ffi::c_void , dwreadlen : u32 ) -> super::super::super::Foundation:: BOOL ); ImmSetCompositionStringW(param0.into(), dwindex, ::core::mem::transmute(lpcomp.unwrap_or(::std::ptr::null())), dwcomplen, ::core::mem::transmute(lpread.unwrap_or(::std::ptr::null())), dwreadlen) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -726,7 +726,7 @@ pub unsafe fn ImmSetCompositionWindow(param0: P0, lpcompform: *const COMPOSI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetCompositionWindow ( param0 : super::super::super::Globalization:: HIMC , lpcompform : *const COMPOSITIONFORM ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetCompositionWindow ( param0 : super::super::super::Globalization:: HIMC , lpcompform : *const COMPOSITIONFORM ) -> super::super::super::Foundation:: BOOL ); ImmSetCompositionWindow(param0.into(), lpcompform) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -736,7 +736,7 @@ pub unsafe fn ImmSetConversionStatus(param0: P0, param1: IME_CONVERSION_MODE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetConversionStatus ( param0 : super::super::super::Globalization:: HIMC , param1 : IME_CONVERSION_MODE , param2 : IME_SENTENCE_MODE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetConversionStatus ( param0 : super::super::super::Globalization:: HIMC , param1 : IME_CONVERSION_MODE , param2 : IME_SENTENCE_MODE ) -> super::super::super::Foundation:: BOOL ); ImmSetConversionStatus(param0.into(), param1, param2) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -746,7 +746,7 @@ pub unsafe fn ImmSetHotKey(param0: u32, param1: u32, param2: u32, param3: P0 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetHotKey ( param0 : u32 , param1 : u32 , param2 : u32 , param3 : super::super::TextServices:: HKL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetHotKey ( param0 : u32 , param1 : u32 , param2 : u32 , param3 : super::super::TextServices:: HKL ) -> super::super::super::Foundation:: BOOL ); ImmSetHotKey(param0, param1, param2, param3.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -757,7 +757,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetOpenStatus ( param0 : super::super::super::Globalization:: HIMC , param1 : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetOpenStatus ( param0 : super::super::super::Globalization:: HIMC , param1 : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); ImmSetOpenStatus(param0.into(), param1.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -767,7 +767,7 @@ pub unsafe fn ImmSetStatusWindowPos(param0: P0, lpptpos: *const super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSetStatusWindowPos ( param0 : super::super::super::Globalization:: HIMC , lpptpos : *const super::super::super::Foundation:: POINT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSetStatusWindowPos ( param0 : super::super::super::Globalization:: HIMC , lpptpos : *const super::super::super::Foundation:: POINT ) -> super::super::super::Foundation:: BOOL ); ImmSetStatusWindowPos(param0.into(), lpptpos) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] @@ -777,7 +777,7 @@ pub unsafe fn ImmShowSoftKeyboard(param0: P0, param1: i32) -> super::super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmShowSoftKeyboard ( param0 : super::super::super::Foundation:: HWND , param1 : i32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmShowSoftKeyboard ( param0 : super::super::super::Foundation:: HWND , param1 : i32 ) -> super::super::super::Foundation:: BOOL ); ImmShowSoftKeyboard(param0.into(), param1) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`*"] @@ -787,7 +787,7 @@ pub unsafe fn ImmSimulateHotKey(param0: P0, param1: IME_HOTKEY_IDENTIFIER) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmSimulateHotKey ( param0 : super::super::super::Foundation:: HWND , param1 : IME_HOTKEY_IDENTIFIER ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmSimulateHotKey ( param0 : super::super::super::Foundation:: HWND , param1 : IME_HOTKEY_IDENTIFIER ) -> super::super::super::Foundation:: BOOL ); ImmSimulateHotKey(param0.into(), param1) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -797,7 +797,7 @@ pub unsafe fn ImmUnlockIMC(param0: P0) -> super::super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmUnlockIMC ( param0 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmUnlockIMC ( param0 : super::super::super::Globalization:: HIMC ) -> super::super::super::Foundation:: BOOL ); ImmUnlockIMC(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -807,7 +807,7 @@ pub unsafe fn ImmUnlockIMCC(param0: P0) -> super::super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmUnlockIMCC ( param0 : super::super::super::Globalization:: HIMCC ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmUnlockIMCC ( param0 : super::super::super::Globalization:: HIMCC ) -> super::super::super::Foundation:: BOOL ); ImmUnlockIMCC(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -819,7 +819,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmUnregisterWordA ( param0 : super::super::TextServices:: HKL , lpszreading : :: windows::core::PCSTR , param2 : u32 , lpszunregister : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmUnregisterWordA ( param0 : super::super::TextServices:: HKL , lpszreading : :: windows::core::PCSTR , param2 : u32 , lpszunregister : :: windows::core::PCSTR ) -> super::super::super::Foundation:: BOOL ); ImmUnregisterWordA(param0.into(), lpszreading.into().abi(), param2, lpszunregister.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -831,7 +831,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "imm32.dll""system" fn ImmUnregisterWordW ( param0 : super::super::TextServices:: HKL , lpszreading : :: windows::core::PCWSTR , param2 : u32 , lpszunregister : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "imm32.dll""system" fn ImmUnregisterWordW ( param0 : super::super::TextServices:: HKL , lpszreading : :: windows::core::PCWSTR , param2 : u32 , lpszunregister : :: windows::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); ImmUnregisterWordW(param0.into(), lpszreading.into().abi(), param2, lpszunregister.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] @@ -954,7 +954,7 @@ impl IActiveIME { (::windows::core::Vtable::vtable(self).GetLangId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveIME, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveIME, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveIME { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1157,7 +1157,7 @@ impl IActiveIME2 { (::windows::core::Vtable::vtable(self).Unsleep)(::windows::core::Vtable::as_raw(self), fdead.into()).ok() } } -::windows::core::interface_hierarchy!(IActiveIME2, ::windows::core::IUnknown, IActiveIME); +::windows::imp::interface_hierarchy!(IActiveIME2, ::windows::core::IUnknown, IActiveIME); impl ::core::cmp::PartialEq for IActiveIME2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1763,7 +1763,7 @@ impl IActiveIMMApp { (::windows::core::Vtable::vtable(self).EnumInputContext)(::windows::core::Vtable::as_raw(self), idthread, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IActiveIMMApp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveIMMApp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveIMMApp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2784,7 +2784,7 @@ impl IActiveIMMIME { (::windows::core::Vtable::vtable(self).IsSleeping)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IActiveIMMIME, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveIMMIME, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveIMMIME { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3169,7 +3169,7 @@ impl IActiveIMMMessagePumpOwner { (::windows::core::Vtable::vtable(self).Resume)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(IActiveIMMMessagePumpOwner, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveIMMMessagePumpOwner, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveIMMMessagePumpOwner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3220,7 +3220,7 @@ impl IActiveIMMRegistrar { (::windows::core::Vtable::vtable(self).UnregisterIME)(::windows::core::Vtable::as_raw(self), rclsid).ok() } } -::windows::core::interface_hierarchy!(IActiveIMMRegistrar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveIMMRegistrar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveIMMRegistrar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3270,7 +3270,7 @@ impl IEnumInputContext { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumInputContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumInputContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumInputContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3323,7 +3323,7 @@ impl IEnumRegisterWordA { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumRegisterWordA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumRegisterWordA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumRegisterWordA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3373,7 +3373,7 @@ impl IEnumRegisterWordW { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumRegisterWordW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumRegisterWordW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumRegisterWordW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3431,7 +3431,7 @@ impl IFEClassFactory { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFEClassFactory, ::windows::core::IUnknown, super::super::super::System::Com::IClassFactory); +::windows::imp::interface_hierarchy!(IFEClassFactory, ::windows::core::IUnknown, super::super::super::System::Com::IClassFactory); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFEClassFactory { fn eq(&self, other: &Self) -> bool { @@ -3487,7 +3487,7 @@ impl IFECommon { (::windows::core::Vtable::vtable(self).InvokeDictToolDialog)(::windows::core::Vtable::as_raw(self), pimedlg).ok() } } -::windows::core::interface_hierarchy!(IFECommon, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFECommon, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFECommon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3613,7 +3613,7 @@ impl IFEDictionary { (::windows::core::Vtable::vtable(self).ConvertFromUserToSys)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFEDictionary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFEDictionary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFEDictionary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3702,7 +3702,7 @@ impl IFELanguage { (::windows::core::Vtable::vtable(self).GetConversion)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(string), start, length, ::core::mem::transmute(result)).ok() } } -::windows::core::interface_hierarchy!(IFELanguage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFELanguage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFELanguage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3751,7 +3751,7 @@ impl IImePad { (::windows::core::Vtable::vtable(self).Request)(::windows::core::Vtable::as_raw(self), piimepadapplet.into().abi(), reqid, wparam.into(), lparam.into()).ok() } } -::windows::core::interface_hierarchy!(IImePad, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IImePad, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IImePad { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3820,7 +3820,7 @@ impl IImePadApplet { (::windows::core::Vtable::vtable(self).Notify)(::windows::core::Vtable::as_raw(self), lpimepad.into().abi(), notify, wparam.into(), lparam.into()).ok() } } -::windows::core::interface_hierarchy!(IImePadApplet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IImePadApplet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IImePadApplet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3875,7 +3875,7 @@ impl IImePlugInDictDictionaryList { (::windows::core::Vtable::vtable(self).DeleteDictionary)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrdictionaryguid)).ok() } } -::windows::core::interface_hierarchy!(IImePlugInDictDictionaryList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IImePlugInDictDictionaryList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IImePlugInDictDictionaryList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3916,7 +3916,7 @@ impl IImeSpecifyApplets { (::windows::core::Vtable::vtable(self).GetAppletIIDList)(::windows::core::Vtable::as_raw(self), refiid, lpiidlist).ok() } } -::windows::core::interface_hierarchy!(IImeSpecifyApplets, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IImeSpecifyApplets, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IImeSpecifyApplets { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 b54237c300..6adc2b09ea 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 @@ -6,7 +6,7 @@ impl IInkCommitRequestHandler { (::windows::core::Vtable::vtable(self).OnCommitRequested)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInkCommitRequestHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInkCommitRequestHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInkCommitRequestHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -50,7 +50,7 @@ impl IInkD2DRenderer { (::windows::core::Vtable::vtable(self).Draw)(::windows::core::Vtable::as_raw(self), pd2d1devicecontext.into().abi(), pinkstrokeiterable.into().abi(), fhighcontrast.into()).ok() } } -::windows::core::interface_hierarchy!(IInkD2DRenderer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInkD2DRenderer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInkD2DRenderer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -94,7 +94,7 @@ impl IInkD2DRenderer2 { (::windows::core::Vtable::vtable(self).Draw)(::windows::core::Vtable::as_raw(self), pd2d1devicecontext.into().abi(), pinkstrokeiterable.into().abi(), highcontrastadjustment).ok() } } -::windows::core::interface_hierarchy!(IInkD2DRenderer2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInkD2DRenderer2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInkD2DRenderer2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -149,7 +149,7 @@ impl IInkDesktopHost { (::windows::core::Vtable::vtable(self).CreateAndInitializeInkPresenter)(::windows::core::Vtable::as_raw(self), rootvisual.into().abi(), width, height, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IInkDesktopHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInkDesktopHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInkDesktopHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -188,7 +188,7 @@ impl IInkHostWorkItem { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInkHostWorkItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInkHostWorkItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInkHostWorkItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -244,7 +244,7 @@ impl IInkPresenterDesktop { (::windows::core::Vtable::vtable(self).OnHighContrastChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInkPresenterDesktop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInkPresenterDesktop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInkPresenterDesktop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs index 28a2c2f3f4..8a66703094 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs @@ -5,9 +5,9 @@ pub unsafe fn ActivateKeyboardLayout(hkl: P0, flags: ACTIVATE_KEYBOARD_LAYOU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ActivateKeyboardLayout ( hkl : super::super::TextServices:: HKL , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); + ::windows::imp::link ! ( "user32.dll""system" fn ActivateKeyboardLayout ( hkl : super::super::TextServices:: HKL , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); let result__ = ActivateKeyboardLayout(hkl.into(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -16,7 +16,7 @@ pub unsafe fn BlockInput(fblockit: P0) -> super::super::super::Foundation::B where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn BlockInput ( fblockit : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn BlockInput ( fblockit : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); BlockInput(fblockit.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -26,7 +26,7 @@ pub unsafe fn DragDetect(hwnd: P0, pt: super::super::super::Foundation::POIN where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DragDetect ( hwnd : super::super::super::Foundation:: HWND , pt : super::super::super::Foundation:: POINT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DragDetect ( hwnd : super::super::super::Foundation:: HWND , pt : super::super::super::Foundation:: POINT ) -> super::super::super::Foundation:: BOOL ); DragDetect(hwnd.into(), ::core::mem::transmute(pt)) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -37,118 +37,118 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnableWindow ( hwnd : super::super::super::Foundation:: HWND , benable : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnableWindow ( hwnd : super::super::super::Foundation:: HWND , benable : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); EnableWindow(hwnd.into(), benable.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetActiveWindow() -> super::super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetActiveWindow ( ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetActiveWindow ( ) -> super::super::super::Foundation:: HWND ); GetActiveWindow() } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn GetAsyncKeyState(vkey: i32) -> i16 { - ::windows::core::link ! ( "user32.dll""system" fn GetAsyncKeyState ( vkey : i32 ) -> i16 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetAsyncKeyState ( vkey : i32 ) -> i16 ); GetAsyncKeyState(vkey) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCapture() -> super::super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetCapture ( ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetCapture ( ) -> super::super::super::Foundation:: HWND ); GetCapture() } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn GetDoubleClickTime() -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetDoubleClickTime ( ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDoubleClickTime ( ) -> u32 ); GetDoubleClickTime() } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetFocus() -> super::super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetFocus ( ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetFocus ( ) -> super::super::super::Foundation:: HWND ); GetFocus() } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn GetKBCodePage() -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetKBCodePage ( ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKBCodePage ( ) -> u32 ); GetKBCodePage() } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn GetKeyNameTextA(lparam: i32, lpstring: &mut [u8]) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyNameTextA ( lparam : i32 , lpstring : :: windows::core::PSTR , cchsize : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyNameTextA ( lparam : i32 , lpstring : :: windows::core::PSTR , cchsize : i32 ) -> i32 ); GetKeyNameTextA(lparam, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn GetKeyNameTextW(lparam: i32, lpstring: &mut [u16]) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyNameTextW ( lparam : i32 , lpstring : :: windows::core::PWSTR , cchsize : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyNameTextW ( lparam : i32 , lpstring : :: windows::core::PWSTR , cchsize : i32 ) -> i32 ); GetKeyNameTextW(lparam, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn GetKeyState(nvirtkey: i32) -> i16 { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyState ( nvirtkey : i32 ) -> i16 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyState ( nvirtkey : i32 ) -> i16 ); GetKeyState(nvirtkey) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] #[inline] pub unsafe fn GetKeyboardLayout(idthread: u32) -> super::super::TextServices::HKL { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyboardLayout ( idthread : u32 ) -> super::super::TextServices:: HKL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardLayout ( idthread : u32 ) -> super::super::TextServices:: HKL ); GetKeyboardLayout(idthread) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] #[inline] pub unsafe fn GetKeyboardLayoutList(lplist: ::core::option::Option<&mut [super::super::TextServices::HKL]>) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyboardLayoutList ( nbuff : i32 , lplist : *mut super::super::TextServices:: HKL ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardLayoutList ( nbuff : i32 , lplist : *mut super::super::TextServices:: HKL ) -> i32 ); GetKeyboardLayoutList(lplist.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lplist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetKeyboardLayoutNameA(pwszklid: &mut [u8; 9]) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyboardLayoutNameA ( pwszklid : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardLayoutNameA ( pwszklid : :: windows::core::PSTR ) -> super::super::super::Foundation:: BOOL ); GetKeyboardLayoutNameA(::core::mem::transmute(pwszklid.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetKeyboardLayoutNameW(pwszklid: &mut [u16; 9]) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyboardLayoutNameW ( pwszklid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardLayoutNameW ( pwszklid : :: windows::core::PWSTR ) -> super::super::super::Foundation:: BOOL ); GetKeyboardLayoutNameW(::core::mem::transmute(pwszklid.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetKeyboardState(lpkeystate: &mut [u8; 256]) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyboardState ( lpkeystate : *mut u8 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardState ( lpkeystate : *mut u8 ) -> super::super::super::Foundation:: BOOL ); GetKeyboardState(::core::mem::transmute(lpkeystate.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn GetKeyboardType(ntypeflag: i32) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetKeyboardType ( ntypeflag : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetKeyboardType ( ntypeflag : i32 ) -> i32 ); GetKeyboardType(ntypeflag) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetLastInputInfo(plii: *mut LASTINPUTINFO) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetLastInputInfo ( plii : *mut LASTINPUTINFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetLastInputInfo ( plii : *mut LASTINPUTINFO ) -> super::super::super::Foundation:: BOOL ); GetLastInputInfo(plii) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn GetMouseMovePointsEx(cbsize: u32, lppt: *const MOUSEMOVEPOINT, lpptbuf: &mut [MOUSEMOVEPOINT], resolution: GET_MOUSE_MOVE_POINTS_EX_RESOLUTION) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetMouseMovePointsEx ( cbsize : u32 , lppt : *const MOUSEMOVEPOINT , lpptbuf : *mut MOUSEMOVEPOINT , nbufpoints : i32 , resolution : GET_MOUSE_MOVE_POINTS_EX_RESOLUTION ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMouseMovePointsEx ( cbsize : u32 , lppt : *const MOUSEMOVEPOINT , lpptbuf : *mut MOUSEMOVEPOINT , nbufpoints : i32 , resolution : GET_MOUSE_MOVE_POINTS_EX_RESOLUTION ) -> i32 ); GetMouseMovePointsEx(cbsize, lppt, ::core::mem::transmute(lpptbuf.as_ptr()), lpptbuf.len() as _, resolution) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -158,7 +158,7 @@ pub unsafe fn IsWindowEnabled(hwnd: P0) -> super::super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsWindowEnabled ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsWindowEnabled ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); IsWindowEnabled(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] @@ -168,9 +168,9 @@ pub unsafe fn LoadKeyboardLayoutA(pwszklid: P0, flags: ACTIVATE_KEYBOARD_LAY where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadKeyboardLayoutA ( pwszklid : :: windows::core::PCSTR , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadKeyboardLayoutA ( pwszklid : :: windows::core::PCSTR , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); let result__ = LoadKeyboardLayoutA(pwszklid.into().abi(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] #[cfg(feature = "Win32_UI_TextServices")] @@ -179,14 +179,14 @@ pub unsafe fn LoadKeyboardLayoutW(pwszklid: P0, flags: ACTIVATE_KEYBOARD_LAY where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadKeyboardLayoutW ( pwszklid : :: windows::core::PCWSTR , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadKeyboardLayoutW ( pwszklid : :: windows::core::PCWSTR , flags : ACTIVATE_KEYBOARD_LAYOUT_FLAGS ) -> super::super::TextServices:: HKL ); let result__ = LoadKeyboardLayoutW(pwszklid.into().abi(), flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn MapVirtualKeyA(ucode: u32, umaptype: MAP_VIRTUAL_KEY_TYPE) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn MapVirtualKeyA ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn MapVirtualKeyA ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE ) -> u32 ); MapVirtualKeyA(ucode, umaptype) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] @@ -196,7 +196,7 @@ pub unsafe fn MapVirtualKeyExA(ucode: u32, umaptype: MAP_VIRTUAL_KEY_TYPE, d where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn MapVirtualKeyExA ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE , dwhkl : super::super::TextServices:: HKL ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn MapVirtualKeyExA ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE , dwhkl : super::super::TextServices:: HKL ) -> u32 ); MapVirtualKeyExA(ucode, umaptype, dwhkl.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] @@ -206,19 +206,19 @@ pub unsafe fn MapVirtualKeyExW(ucode: u32, umaptype: MAP_VIRTUAL_KEY_TYPE, d where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn MapVirtualKeyExW ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE , dwhkl : super::super::TextServices:: HKL ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn MapVirtualKeyExW ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE , dwhkl : super::super::TextServices:: HKL ) -> u32 ); MapVirtualKeyExW(ucode, umaptype, dwhkl.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn MapVirtualKeyW(ucode: u32, umaptype: MAP_VIRTUAL_KEY_TYPE) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn MapVirtualKeyW ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn MapVirtualKeyW ( ucode : u32 , umaptype : MAP_VIRTUAL_KEY_TYPE ) -> u32 ); MapVirtualKeyW(ucode, umaptype) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn OemKeyScan(woemchar: u16) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn OemKeyScan ( woemchar : u16 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn OemKeyScan ( woemchar : u16 ) -> u32 ); OemKeyScan(woemchar) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -228,20 +228,20 @@ pub unsafe fn RegisterHotKey(hwnd: P0, id: i32, fsmodifiers: HOT_KEY_MODIFIE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterHotKey ( hwnd : super::super::super::Foundation:: HWND , id : i32 , fsmodifiers : HOT_KEY_MODIFIERS , vk : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterHotKey ( hwnd : super::super::super::Foundation:: HWND , id : i32 , fsmodifiers : HOT_KEY_MODIFIERS , vk : u32 ) -> super::super::super::Foundation:: BOOL ); RegisterHotKey(hwnd.into(), id, fsmodifiers, vk) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReleaseCapture() -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn ReleaseCapture ( ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ReleaseCapture ( ) -> super::super::super::Foundation:: BOOL ); ReleaseCapture() } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn SendInput(pinputs: &[INPUT], cbsize: i32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn SendInput ( cinputs : u32 , pinputs : *const INPUT , cbsize : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SendInput ( cinputs : u32 , pinputs : *const INPUT , cbsize : i32 ) -> u32 ); SendInput(pinputs.len() as _, ::core::mem::transmute(pinputs.as_ptr()), cbsize) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -251,7 +251,7 @@ pub unsafe fn SetActiveWindow(hwnd: P0) -> super::super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetActiveWindow ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn SetActiveWindow ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); SetActiveWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -261,14 +261,14 @@ pub unsafe fn SetCapture(hwnd: P0) -> super::super::super::Foundation::HWND where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetCapture ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn SetCapture ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); SetCapture(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetDoubleClickTime(param0: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetDoubleClickTime ( param0 : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDoubleClickTime ( param0 : u32 ) -> super::super::super::Foundation:: BOOL ); SetDoubleClickTime(param0) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -278,14 +278,14 @@ pub unsafe fn SetFocus(hwnd: P0) -> super::super::super::Foundation::HWND where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetFocus ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn SetFocus ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: HWND ); SetFocus(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetKeyboardState(lpkeystate: &[u8; 256]) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetKeyboardState ( lpkeystate : *const u8 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetKeyboardState ( lpkeystate : *const u8 ) -> super::super::super::Foundation:: BOOL ); SetKeyboardState(::core::mem::transmute(lpkeystate.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -295,13 +295,13 @@ pub unsafe fn SwapMouseButton(fswap: P0) -> super::super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SwapMouseButton ( fswap : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SwapMouseButton ( fswap : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); SwapMouseButton(fswap.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn ToAscii(uvirtkey: u32, uscancode: u32, lpkeystate: ::core::option::Option<&[u8; 256]>, lpchar: *mut u16, uflags: u32) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn ToAscii ( uvirtkey : u32 , uscancode : u32 , lpkeystate : *const u8 , lpchar : *mut u16 , uflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ToAscii ( uvirtkey : u32 , uscancode : u32 , lpkeystate : *const u8 , lpchar : *mut u16 , uflags : u32 ) -> i32 ); ToAscii(uvirtkey, uscancode, ::core::mem::transmute(lpkeystate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpchar, uflags) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] @@ -311,13 +311,13 @@ pub unsafe fn ToAsciiEx(uvirtkey: u32, uscancode: u32, lpkeystate: ::core::o where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ToAsciiEx ( uvirtkey : u32 , uscancode : u32 , lpkeystate : *const u8 , lpchar : *mut u16 , uflags : u32 , dwhkl : super::super::TextServices:: HKL ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ToAsciiEx ( uvirtkey : u32 , uscancode : u32 , lpkeystate : *const u8 , lpchar : *mut u16 , uflags : u32 , dwhkl : super::super::TextServices:: HKL ) -> i32 ); ToAsciiEx(uvirtkey, uscancode, ::core::mem::transmute(lpkeystate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpchar, uflags, dwhkl.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn ToUnicode(wvirtkey: u32, wscancode: u32, lpkeystate: ::core::option::Option<&[u8; 256]>, pwszbuff: &mut [u16], wflags: u32) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn ToUnicode ( wvirtkey : u32 , wscancode : u32 , lpkeystate : *const u8 , pwszbuff : :: windows::core::PWSTR , cchbuff : i32 , wflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ToUnicode ( wvirtkey : u32 , wscancode : u32 , lpkeystate : *const u8 , pwszbuff : :: windows::core::PWSTR , cchbuff : i32 , wflags : u32 ) -> i32 ); ToUnicode(wvirtkey, wscancode, ::core::mem::transmute(lpkeystate.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pwszbuff.as_ptr()), pwszbuff.len() as _, wflags) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] @@ -327,14 +327,14 @@ pub unsafe fn ToUnicodeEx(wvirtkey: u32, wscancode: u32, lpkeystate: &[u8; 2 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ToUnicodeEx ( wvirtkey : u32 , wscancode : u32 , lpkeystate : *const u8 , pwszbuff : :: windows::core::PWSTR , cchbuff : i32 , wflags : u32 , dwhkl : super::super::TextServices:: HKL ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ToUnicodeEx ( wvirtkey : u32 , wscancode : u32 , lpkeystate : *const u8 , pwszbuff : :: windows::core::PWSTR , cchbuff : i32 , wflags : u32 , dwhkl : super::super::TextServices:: HKL ) -> i32 ); ToUnicodeEx(wvirtkey, wscancode, ::core::mem::transmute(lpkeystate.as_ptr()), ::core::mem::transmute(pwszbuff.as_ptr()), pwszbuff.len() as _, wflags, dwhkl.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TrackMouseEvent(lpeventtrack: *mut TRACKMOUSEEVENT) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn TrackMouseEvent ( lpeventtrack : *mut TRACKMOUSEEVENT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn TrackMouseEvent ( lpeventtrack : *mut TRACKMOUSEEVENT ) -> super::super::super::Foundation:: BOOL ); TrackMouseEvent(lpeventtrack) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -344,7 +344,7 @@ pub unsafe fn UnloadKeyboardLayout(hkl: P0) -> super::super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnloadKeyboardLayout ( hkl : super::super::TextServices:: HKL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnloadKeyboardLayout ( hkl : super::super::TextServices:: HKL ) -> super::super::super::Foundation:: BOOL ); UnloadKeyboardLayout(hkl.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -354,7 +354,7 @@ pub unsafe fn UnregisterHotKey(hwnd: P0, id: i32) -> super::super::super::Fo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterHotKey ( hwnd : super::super::super::Foundation:: HWND , id : i32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterHotKey ( hwnd : super::super::super::Foundation:: HWND , id : i32 ) -> super::super::super::Foundation:: BOOL ); UnregisterHotKey(hwnd.into(), id) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] @@ -364,7 +364,7 @@ pub unsafe fn VkKeyScanA(ch: P0) -> i16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn VkKeyScanA ( ch : super::super::super::Foundation:: CHAR ) -> i16 ); + ::windows::imp::link ! ( "user32.dll""system" fn VkKeyScanA ( ch : super::super::super::Foundation:: CHAR ) -> i16 ); VkKeyScanA(ch.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`, `\"Win32_UI_TextServices\"`*"] @@ -375,7 +375,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn VkKeyScanExA ( ch : super::super::super::Foundation:: CHAR , dwhkl : super::super::TextServices:: HKL ) -> i16 ); + ::windows::imp::link ! ( "user32.dll""system" fn VkKeyScanExA ( ch : super::super::super::Foundation:: CHAR , dwhkl : super::super::TextServices:: HKL ) -> i16 ); VkKeyScanExA(ch.into(), dwhkl.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_UI_TextServices\"`*"] @@ -385,32 +385,32 @@ pub unsafe fn VkKeyScanExW(ch: u16, dwhkl: P0) -> i16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn VkKeyScanExW ( ch : u16 , dwhkl : super::super::TextServices:: HKL ) -> i16 ); + ::windows::imp::link ! ( "user32.dll""system" fn VkKeyScanExW ( ch : u16 , dwhkl : super::super::TextServices:: HKL ) -> i16 ); VkKeyScanExW(ch, dwhkl.into()) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn VkKeyScanW(ch: u16) -> i16 { - ::windows::core::link ! ( "user32.dll""system" fn VkKeyScanW ( ch : u16 ) -> i16 ); + ::windows::imp::link ! ( "user32.dll""system" fn VkKeyScanW ( ch : u16 ) -> i16 ); VkKeyScanW(ch) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn _TrackMouseEvent(lpeventtrack: *mut TRACKMOUSEEVENT) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "comctl32.dll""system" fn _TrackMouseEvent ( lpeventtrack : *mut TRACKMOUSEEVENT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn _TrackMouseEvent ( lpeventtrack : *mut TRACKMOUSEEVENT ) -> super::super::super::Foundation:: BOOL ); _TrackMouseEvent(lpeventtrack) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn keybd_event(bvk: u8, bscan: u8, dwflags: KEYBD_EVENT_FLAGS, dwextrainfo: usize) { - ::windows::core::link ! ( "user32.dll""system" fn keybd_event ( bvk : u8 , bscan : u8 , dwflags : KEYBD_EVENT_FLAGS , dwextrainfo : usize ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn keybd_event ( bvk : u8 , bscan : u8 , dwflags : KEYBD_EVENT_FLAGS , dwextrainfo : usize ) -> ( ) ); keybd_event(bvk, bscan, dwflags, dwextrainfo) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] #[inline] pub unsafe fn mouse_event(dwflags: MOUSE_EVENT_FLAGS, dx: i32, dy: i32, dwdata: i32, dwextrainfo: usize) { - ::windows::core::link ! ( "user32.dll""system" fn mouse_event ( dwflags : MOUSE_EVENT_FLAGS , dx : i32 , dy : i32 , dwdata : i32 , dwextrainfo : usize ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn mouse_event ( dwflags : MOUSE_EVENT_FLAGS , dx : i32 , dy : i32 , dwdata : i32 , dwextrainfo : usize ) -> ( ) ); mouse_event(dwflags, dx, dy, dwdata, dwextrainfo) } #[doc = "*Required features: `\"Win32_UI_Input_KeyboardAndMouse\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Pointer/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Pointer/mod.rs index 9176f60698..9d0dff1912 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Pointer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Pointer/mod.rs @@ -5,14 +5,14 @@ pub unsafe fn EnableMouseInPointer(fenable: P0) -> super::super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnableMouseInPointer ( fenable : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnableMouseInPointer ( fenable : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); EnableMouseInPointer(fenable.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPointerCursorId(pointerid: u32, cursorid: *mut u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerCursorId ( pointerid : u32 , cursorid : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerCursorId ( pointerid : u32 , cursorid : *mut u32 ) -> super::super::super::Foundation:: BOOL ); GetPointerCursorId(pointerid, cursorid) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`*"] @@ -22,7 +22,7 @@ pub unsafe fn GetPointerDevice(device: P0, pointerdevice: *mut super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerDevice ( device : super::super::super::Foundation:: HANDLE , pointerdevice : *mut super::super::Controls:: POINTER_DEVICE_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerDevice ( device : super::super::super::Foundation:: HANDLE , pointerdevice : *mut super::super::Controls:: POINTER_DEVICE_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerDevice(device.into(), pointerdevice) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -32,7 +32,7 @@ pub unsafe fn GetPointerDeviceCursors(device: P0, cursorcount: *mut u32, dev where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerDeviceCursors ( device : super::super::super::Foundation:: HANDLE , cursorcount : *mut u32 , devicecursors : *mut super::super::Controls:: POINTER_DEVICE_CURSOR_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerDeviceCursors ( device : super::super::super::Foundation:: HANDLE , cursorcount : *mut u32 , devicecursors : *mut super::super::Controls:: POINTER_DEVICE_CURSOR_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerDeviceCursors(device.into(), cursorcount, ::core::mem::transmute(devicecursors.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -42,7 +42,7 @@ pub unsafe fn GetPointerDeviceProperties(device: P0, propertycount: *mut u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerDeviceProperties ( device : super::super::super::Foundation:: HANDLE , propertycount : *mut u32 , pointerproperties : *mut super::super::Controls:: POINTER_DEVICE_PROPERTY ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerDeviceProperties ( device : super::super::super::Foundation:: HANDLE , propertycount : *mut u32 , pointerproperties : *mut super::super::Controls:: POINTER_DEVICE_PROPERTY ) -> super::super::super::Foundation:: BOOL ); GetPointerDeviceProperties(device.into(), propertycount, ::core::mem::transmute(pointerproperties.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] @@ -52,132 +52,132 @@ pub unsafe fn GetPointerDeviceRects(device: P0, pointerdevicerect: *mut supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerDeviceRects ( device : super::super::super::Foundation:: HANDLE , pointerdevicerect : *mut super::super::super::Foundation:: RECT , displayrect : *mut super::super::super::Foundation:: RECT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerDeviceRects ( device : super::super::super::Foundation:: HANDLE , pointerdevicerect : *mut super::super::super::Foundation:: RECT , displayrect : *mut super::super::super::Foundation:: RECT ) -> super::super::super::Foundation:: BOOL ); GetPointerDeviceRects(device.into(), pointerdevicerect, displayrect) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls"))] #[inline] pub unsafe fn GetPointerDevices(devicecount: *mut u32, pointerdevices: ::core::option::Option<*mut super::super::Controls::POINTER_DEVICE_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerDevices ( devicecount : *mut u32 , pointerdevices : *mut super::super::Controls:: POINTER_DEVICE_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerDevices ( devicecount : *mut u32 , pointerdevices : *mut super::super::Controls:: POINTER_DEVICE_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerDevices(devicecount, ::core::mem::transmute(pointerdevices.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerFrameInfo(pointerid: u32, pointercount: *mut u32, pointerinfo: ::core::option::Option<*mut POINTER_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerFrameInfo ( pointerid : u32 , pointercount : *mut u32 , pointerinfo : *mut POINTER_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerFrameInfo ( pointerid : u32 , pointercount : *mut u32 , pointerinfo : *mut POINTER_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerFrameInfo(pointerid, pointercount, ::core::mem::transmute(pointerinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerFrameInfoHistory(pointerid: u32, entriescount: *mut u32, pointercount: *mut u32, pointerinfo: ::core::option::Option<*mut POINTER_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerFrameInfoHistory ( pointerid : u32 , entriescount : *mut u32 , pointercount : *mut u32 , pointerinfo : *mut POINTER_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerFrameInfoHistory ( pointerid : u32 , entriescount : *mut u32 , pointercount : *mut u32 , pointerinfo : *mut POINTER_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerFrameInfoHistory(pointerid, entriescount, pointercount, ::core::mem::transmute(pointerinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerFramePenInfo(pointerid: u32, pointercount: *mut u32, peninfo: ::core::option::Option<*mut POINTER_PEN_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerFramePenInfo ( pointerid : u32 , pointercount : *mut u32 , peninfo : *mut POINTER_PEN_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerFramePenInfo ( pointerid : u32 , pointercount : *mut u32 , peninfo : *mut POINTER_PEN_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerFramePenInfo(pointerid, pointercount, ::core::mem::transmute(peninfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerFramePenInfoHistory(pointerid: u32, entriescount: *mut u32, pointercount: *mut u32, peninfo: ::core::option::Option<*mut POINTER_PEN_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerFramePenInfoHistory ( pointerid : u32 , entriescount : *mut u32 , pointercount : *mut u32 , peninfo : *mut POINTER_PEN_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerFramePenInfoHistory ( pointerid : u32 , entriescount : *mut u32 , pointercount : *mut u32 , peninfo : *mut POINTER_PEN_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerFramePenInfoHistory(pointerid, entriescount, pointercount, ::core::mem::transmute(peninfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerFrameTouchInfo(pointerid: u32, pointercount: *mut u32, touchinfo: ::core::option::Option<*mut POINTER_TOUCH_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerFrameTouchInfo ( pointerid : u32 , pointercount : *mut u32 , touchinfo : *mut POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerFrameTouchInfo ( pointerid : u32 , pointercount : *mut u32 , touchinfo : *mut POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerFrameTouchInfo(pointerid, pointercount, ::core::mem::transmute(touchinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerFrameTouchInfoHistory(pointerid: u32, entriescount: *mut u32, pointercount: *mut u32, touchinfo: ::core::option::Option<*mut POINTER_TOUCH_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerFrameTouchInfoHistory ( pointerid : u32 , entriescount : *mut u32 , pointercount : *mut u32 , touchinfo : *mut POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerFrameTouchInfoHistory ( pointerid : u32 , entriescount : *mut u32 , pointercount : *mut u32 , touchinfo : *mut POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerFrameTouchInfoHistory(pointerid, entriescount, pointercount, ::core::mem::transmute(touchinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerInfo(pointerid: u32, pointerinfo: *mut POINTER_INFO) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerInfo ( pointerid : u32 , pointerinfo : *mut POINTER_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerInfo ( pointerid : u32 , pointerinfo : *mut POINTER_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerInfo(pointerid, pointerinfo) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerInfoHistory(pointerid: u32, entriescount: *mut u32, pointerinfo: ::core::option::Option<*mut POINTER_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerInfoHistory ( pointerid : u32 , entriescount : *mut u32 , pointerinfo : *mut POINTER_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerInfoHistory ( pointerid : u32 , entriescount : *mut u32 , pointerinfo : *mut POINTER_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerInfoHistory(pointerid, entriescount, ::core::mem::transmute(pointerinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPointerInputTransform(pointerid: u32, inputtransform: &mut [INPUT_TRANSFORM]) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerInputTransform ( pointerid : u32 , historycount : u32 , inputtransform : *mut INPUT_TRANSFORM ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerInputTransform ( pointerid : u32 , historycount : u32 , inputtransform : *mut INPUT_TRANSFORM ) -> super::super::super::Foundation:: BOOL ); GetPointerInputTransform(pointerid, inputtransform.len() as _, ::core::mem::transmute(inputtransform.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerPenInfo(pointerid: u32, peninfo: *mut POINTER_PEN_INFO) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerPenInfo ( pointerid : u32 , peninfo : *mut POINTER_PEN_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerPenInfo ( pointerid : u32 , peninfo : *mut POINTER_PEN_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerPenInfo(pointerid, peninfo) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerPenInfoHistory(pointerid: u32, entriescount: *mut u32, peninfo: ::core::option::Option<*mut POINTER_PEN_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerPenInfoHistory ( pointerid : u32 , entriescount : *mut u32 , peninfo : *mut POINTER_PEN_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerPenInfoHistory ( pointerid : u32 , entriescount : *mut u32 , peninfo : *mut POINTER_PEN_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerPenInfoHistory(pointerid, entriescount, ::core::mem::transmute(peninfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerTouchInfo(pointerid: u32, touchinfo: *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerTouchInfo ( pointerid : u32 , touchinfo : *mut POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerTouchInfo ( pointerid : u32 , touchinfo : *mut POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerTouchInfo(pointerid, touchinfo) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerTouchInfoHistory(pointerid: u32, entriescount: *mut u32, touchinfo: ::core::option::Option<*mut POINTER_TOUCH_INFO>) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerTouchInfoHistory ( pointerid : u32 , entriescount : *mut u32 , touchinfo : *mut POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerTouchInfoHistory ( pointerid : u32 , entriescount : *mut u32 , touchinfo : *mut POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); GetPointerTouchInfoHistory(pointerid, entriescount, ::core::mem::transmute(touchinfo.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn GetPointerType(pointerid: u32, pointertype: *mut super::super::WindowsAndMessaging::POINTER_INPUT_TYPE) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPointerType ( pointerid : u32 , pointertype : *mut super::super::WindowsAndMessaging:: POINTER_INPUT_TYPE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPointerType ( pointerid : u32 , pointertype : *mut super::super::WindowsAndMessaging:: POINTER_INPUT_TYPE ) -> super::super::super::Foundation:: BOOL ); GetPointerType(pointerid, pointertype) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] #[inline] pub unsafe fn GetRawPointerDeviceData(pointerid: u32, historycount: u32, pproperties: &[super::super::Controls::POINTER_DEVICE_PROPERTY], pvalues: *mut i32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetRawPointerDeviceData ( pointerid : u32 , historycount : u32 , propertiescount : u32 , pproperties : *const super::super::Controls:: POINTER_DEVICE_PROPERTY , pvalues : *mut i32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetRawPointerDeviceData ( pointerid : u32 , historycount : u32 , propertiescount : u32 , pproperties : *const super::super::Controls:: POINTER_DEVICE_PROPERTY , pvalues : *mut i32 ) -> super::super::super::Foundation:: BOOL ); GetRawPointerDeviceData(pointerid, historycount, pproperties.len() as _, ::core::mem::transmute(pproperties.as_ptr()), pvalues) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`*"] #[inline] pub unsafe fn GetUnpredictedMessagePos() -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetUnpredictedMessagePos ( ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetUnpredictedMessagePos ( ) -> u32 ); GetUnpredictedMessagePos() } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitializeTouchInjection(maxcount: u32, dwmode: TOUCH_FEEDBACK_MODE) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn InitializeTouchInjection ( maxcount : u32 , dwmode : TOUCH_FEEDBACK_MODE ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InitializeTouchInjection ( maxcount : u32 , dwmode : TOUCH_FEEDBACK_MODE ) -> super::super::super::Foundation:: BOOL ); InitializeTouchInjection(maxcount, dwmode) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -187,28 +187,28 @@ pub unsafe fn InjectSyntheticPointerInput(device: P0, pointerinfo: &[super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn InjectSyntheticPointerInput ( device : super::super::Controls:: HSYNTHETICPOINTERDEVICE , pointerinfo : *const super::super::Controls:: POINTER_TYPE_INFO , count : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InjectSyntheticPointerInput ( device : super::super::Controls:: HSYNTHETICPOINTERDEVICE , pointerinfo : *const super::super::Controls:: POINTER_TYPE_INFO , count : u32 ) -> super::super::super::Foundation:: BOOL ); InjectSyntheticPointerInput(device.into(), ::core::mem::transmute(pointerinfo.as_ptr()), pointerinfo.len() as _) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn InjectTouchInput(contacts: &[POINTER_TOUCH_INFO]) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn InjectTouchInput ( count : u32 , contacts : *const POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InjectTouchInput ( count : u32 , contacts : *const POINTER_TOUCH_INFO ) -> super::super::super::Foundation:: BOOL ); InjectTouchInput(contacts.len() as _, ::core::mem::transmute(contacts.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsMouseInPointerEnabled() -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsMouseInPointerEnabled ( ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsMouseInPointerEnabled ( ) -> super::super::super::Foundation:: BOOL ); IsMouseInPointerEnabled() } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SkipPointerFrameMessages(pointerid: u32) -> super::super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SkipPointerFrameMessages ( pointerid : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SkipPointerFrameMessages ( pointerid : u32 ) -> super::super::super::Foundation:: BOOL ); SkipPointerFrameMessages(pointerid) } #[doc = "*Required features: `\"Win32_UI_Input_Pointer\"`*"] 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 a8db891d5f..abfd887678 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 @@ -13,7 +13,7 @@ impl IRadialControllerConfigurationInterop { (::windows::core::Vtable::vtable(self).GetForWindow)(::windows::core::Vtable::as_raw(self), hwnd.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRadialControllerConfigurationInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IRadialControllerConfigurationInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IRadialControllerConfigurationInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -60,7 +60,7 @@ impl IRadialControllerIndependentInputSourceInterop { (::windows::core::Vtable::vtable(self).CreateForWindow)(::windows::core::Vtable::as_raw(self), hwnd.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRadialControllerIndependentInputSourceInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IRadialControllerIndependentInputSourceInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IRadialControllerIndependentInputSourceInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -107,7 +107,7 @@ impl IRadialControllerInterop { (::windows::core::Vtable::vtable(self).CreateForWindow)(::windows::core::Vtable::as_raw(self), hwnd.into(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRadialControllerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(IRadialControllerInterop, ::windows::core::IUnknown, ::windows::core::IInspectable); impl ::core::cmp::PartialEq for IRadialControllerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs index fe6220929c..4f7b967aaa 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn CloseGestureInfoHandle(hgestureinfo: P0) -> super::super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CloseGestureInfoHandle ( hgestureinfo : HGESTUREINFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CloseGestureInfoHandle ( hgestureinfo : HGESTUREINFO ) -> super::super::super::Foundation:: BOOL ); CloseGestureInfoHandle(hgestureinfo.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -15,7 +15,7 @@ pub unsafe fn CloseTouchInputHandle(htouchinput: P0) -> super::super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CloseTouchInputHandle ( htouchinput : HTOUCHINPUT ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CloseTouchInputHandle ( htouchinput : HTOUCHINPUT ) -> super::super::super::Foundation:: BOOL ); CloseTouchInputHandle(htouchinput.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -25,7 +25,7 @@ pub unsafe fn GetGestureConfig(hwnd: P0, dwreserved: u32, dwflags: u32, pcid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetGestureConfig ( hwnd : super::super::super::Foundation:: HWND , dwreserved : u32 , dwflags : u32 , pcids : *const u32 , pgestureconfig : *mut GESTURECONFIG , cbsize : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetGestureConfig ( hwnd : super::super::super::Foundation:: HWND , dwreserved : u32 , dwflags : u32 , pcids : *const u32 , pgestureconfig : *mut GESTURECONFIG , cbsize : u32 ) -> super::super::super::Foundation:: BOOL ); GetGestureConfig(hwnd.into(), dwreserved, dwflags, pcids, pgestureconfig, cbsize) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -35,7 +35,7 @@ pub unsafe fn GetGestureExtraArgs(hgestureinfo: P0, pextraargs: &mut [u8]) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetGestureExtraArgs ( hgestureinfo : HGESTUREINFO , cbextraargs : u32 , pextraargs : *mut u8 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetGestureExtraArgs ( hgestureinfo : HGESTUREINFO , cbextraargs : u32 , pextraargs : *mut u8 ) -> super::super::super::Foundation:: BOOL ); GetGestureExtraArgs(hgestureinfo.into(), pextraargs.len() as _, ::core::mem::transmute(pextraargs.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -45,7 +45,7 @@ pub unsafe fn GetGestureInfo(hgestureinfo: P0, pgestureinfo: *mut GESTUREINF where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetGestureInfo ( hgestureinfo : HGESTUREINFO , pgestureinfo : *mut GESTUREINFO ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetGestureInfo ( hgestureinfo : HGESTUREINFO , pgestureinfo : *mut GESTUREINFO ) -> super::super::super::Foundation:: BOOL ); GetGestureInfo(hgestureinfo.into(), pgestureinfo) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -55,7 +55,7 @@ pub unsafe fn GetTouchInputInfo(htouchinput: P0, pinputs: &mut [TOUCHINPUT], where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetTouchInputInfo ( htouchinput : HTOUCHINPUT , cinputs : u32 , pinputs : *mut TOUCHINPUT , cbsize : i32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetTouchInputInfo ( htouchinput : HTOUCHINPUT , cinputs : u32 , pinputs : *mut TOUCHINPUT , cbsize : i32 ) -> super::super::super::Foundation:: BOOL ); GetTouchInputInfo(htouchinput.into(), pinputs.len() as _, ::core::mem::transmute(pinputs.as_ptr()), cbsize) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -65,7 +65,7 @@ pub unsafe fn IsTouchWindow(hwnd: P0, pulflags: ::core::option::Option<*mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsTouchWindow ( hwnd : super::super::super::Foundation:: HWND , pulflags : *mut u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsTouchWindow ( hwnd : super::super::super::Foundation:: HWND , pulflags : *mut u32 ) -> super::super::super::Foundation:: BOOL ); IsTouchWindow(hwnd.into(), ::core::mem::transmute(pulflags.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -75,7 +75,7 @@ pub unsafe fn RegisterTouchWindow(hwnd: P0, ulflags: REGISTER_TOUCH_WINDOW_F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterTouchWindow ( hwnd : super::super::super::Foundation:: HWND , ulflags : REGISTER_TOUCH_WINDOW_FLAGS ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterTouchWindow ( hwnd : super::super::super::Foundation:: HWND , ulflags : REGISTER_TOUCH_WINDOW_FLAGS ) -> super::super::super::Foundation:: BOOL ); RegisterTouchWindow(hwnd.into(), ulflags) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -85,7 +85,7 @@ pub unsafe fn SetGestureConfig(hwnd: P0, dwreserved: u32, pgestureconfig: &[ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetGestureConfig ( hwnd : super::super::super::Foundation:: HWND , dwreserved : u32 , cids : u32 , pgestureconfig : *const GESTURECONFIG , cbsize : u32 ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetGestureConfig ( hwnd : super::super::super::Foundation:: HWND , dwreserved : u32 , cids : u32 , pgestureconfig : *const GESTURECONFIG , cbsize : u32 ) -> super::super::super::Foundation:: BOOL ); SetGestureConfig(hwnd.into(), dwreserved, pgestureconfig.len() as _, ::core::mem::transmute(pgestureconfig.as_ptr()), cbsize) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] @@ -95,7 +95,7 @@ pub unsafe fn UnregisterTouchWindow(hwnd: P0) -> super::super::super::Founda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterTouchWindow ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterTouchWindow ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL ); UnregisterTouchWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"] @@ -278,7 +278,7 @@ impl IInertiaProcessor { (::windows::core::Vtable::vtable(self).CompleteTime)(::windows::core::Vtable::as_raw(self), timestamp).ok() } } -::windows::core::interface_hierarchy!(IInertiaProcessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInertiaProcessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInertiaProcessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -438,7 +438,7 @@ impl IManipulationProcessor { (::windows::core::Vtable::vtable(self).SetMinimumScaleRotateRadius)(::windows::core::Vtable::as_raw(self), minradius).ok() } } -::windows::core::interface_hierarchy!(IManipulationProcessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IManipulationProcessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IManipulationProcessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -501,7 +501,7 @@ impl _IManipulationEvents { (::windows::core::Vtable::vtable(self).ManipulationCompleted)(::windows::core::Vtable::as_raw(self), x, y, cumulativetranslationx, cumulativetranslationy, cumulativescale, cumulativeexpansion, cumulativerotation).ok() } } -::windows::core::interface_hierarchy!(_IManipulationEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(_IManipulationEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for _IManipulationEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/XboxController/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/XboxController/mod.rs index d9be1775d1..7a9eb805da 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/XboxController/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/XboxController/mod.rs @@ -5,43 +5,43 @@ pub unsafe fn XInputEnable(enable: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "xinput1_4.dll""system" fn XInputEnable ( enable : super::super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "xinput1_4.dll""system" fn XInputEnable ( enable : super::super::super::Foundation:: BOOL ) -> ( ) ); XInputEnable(enable.into()) } #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] #[inline] pub unsafe fn XInputGetAudioDeviceIds(dwuserindex: u32, prenderdeviceid: ::windows::core::PWSTR, prendercount: ::core::option::Option<*mut u32>, pcapturedeviceid: ::windows::core::PWSTR, pcapturecount: ::core::option::Option<*mut u32>) -> u32 { - ::windows::core::link ! ( "xinput1_4.dll""system" fn XInputGetAudioDeviceIds ( dwuserindex : u32 , prenderdeviceid : :: windows::core::PWSTR , prendercount : *mut u32 , pcapturedeviceid : :: windows::core::PWSTR , pcapturecount : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "xinput1_4.dll""system" fn XInputGetAudioDeviceIds ( dwuserindex : u32 , prenderdeviceid : :: windows::core::PWSTR , prendercount : *mut u32 , pcapturedeviceid : :: windows::core::PWSTR , pcapturecount : *mut u32 ) -> u32 ); XInputGetAudioDeviceIds(dwuserindex, ::core::mem::transmute(prenderdeviceid), ::core::mem::transmute(prendercount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcapturedeviceid), ::core::mem::transmute(pcapturecount.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] #[inline] pub unsafe fn XInputGetBatteryInformation(dwuserindex: u32, devtype: BATTERY_DEVTYPE, pbatteryinformation: *mut XINPUT_BATTERY_INFORMATION) -> u32 { - ::windows::core::link ! ( "xinput1_4.dll""system" fn XInputGetBatteryInformation ( dwuserindex : u32 , devtype : BATTERY_DEVTYPE , pbatteryinformation : *mut XINPUT_BATTERY_INFORMATION ) -> u32 ); + ::windows::imp::link ! ( "xinput1_4.dll""system" fn XInputGetBatteryInformation ( dwuserindex : u32 , devtype : BATTERY_DEVTYPE , pbatteryinformation : *mut XINPUT_BATTERY_INFORMATION ) -> u32 ); XInputGetBatteryInformation(dwuserindex, devtype, pbatteryinformation) } #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] #[inline] pub unsafe fn XInputGetCapabilities(dwuserindex: u32, dwflags: XINPUT_FLAG, pcapabilities: *mut XINPUT_CAPABILITIES) -> u32 { - ::windows::core::link ! ( "xinput1_4.dll""system" fn XInputGetCapabilities ( dwuserindex : u32 , dwflags : XINPUT_FLAG , pcapabilities : *mut XINPUT_CAPABILITIES ) -> u32 ); + ::windows::imp::link ! ( "xinput1_4.dll""system" fn XInputGetCapabilities ( dwuserindex : u32 , dwflags : XINPUT_FLAG , pcapabilities : *mut XINPUT_CAPABILITIES ) -> u32 ); XInputGetCapabilities(dwuserindex, dwflags, pcapabilities) } #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] #[inline] pub unsafe fn XInputGetKeystroke(dwuserindex: u32, dwreserved: u32, pkeystroke: *mut XINPUT_KEYSTROKE) -> u32 { - ::windows::core::link ! ( "xinput1_4.dll""system" fn XInputGetKeystroke ( dwuserindex : u32 , dwreserved : u32 , pkeystroke : *mut XINPUT_KEYSTROKE ) -> u32 ); + ::windows::imp::link ! ( "xinput1_4.dll""system" fn XInputGetKeystroke ( dwuserindex : u32 , dwreserved : u32 , pkeystroke : *mut XINPUT_KEYSTROKE ) -> u32 ); XInputGetKeystroke(dwuserindex, dwreserved, pkeystroke) } #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] #[inline] pub unsafe fn XInputGetState(dwuserindex: u32, pstate: *mut XINPUT_STATE) -> u32 { - ::windows::core::link ! ( "xinput1_4.dll""system" fn XInputGetState ( dwuserindex : u32 , pstate : *mut XINPUT_STATE ) -> u32 ); + ::windows::imp::link ! ( "xinput1_4.dll""system" fn XInputGetState ( dwuserindex : u32 , pstate : *mut XINPUT_STATE ) -> u32 ); XInputGetState(dwuserindex, pstate) } #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] #[inline] pub unsafe fn XInputSetState(dwuserindex: u32, pvibration: *const XINPUT_VIBRATION) -> u32 { - ::windows::core::link ! ( "xinput1_4.dll""system" fn XInputSetState ( dwuserindex : u32 , pvibration : *const XINPUT_VIBRATION ) -> u32 ); + ::windows::imp::link ! ( "xinput1_4.dll""system" fn XInputSetState ( dwuserindex : u32 , pvibration : *const XINPUT_VIBRATION ) -> u32 ); XInputSetState(dwuserindex, pvibration) } #[doc = "*Required features: `\"Win32_UI_Input_XboxController\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/mod.rs index 8d20c0ff8a..89b7b4a988 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/mod.rs @@ -16,28 +16,28 @@ pub mod XboxController; #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DefRawInputProc(parawinput: &[*const RAWINPUT], cbsizeheader: u32) -> super::super::Foundation::LRESULT { - ::windows::core::link ! ( "user32.dll""system" fn DefRawInputProc ( parawinput : *const *const RAWINPUT , ninput : i32 , cbsizeheader : u32 ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefRawInputProc ( parawinput : *const *const RAWINPUT , ninput : i32 , cbsizeheader : u32 ) -> super::super::Foundation:: LRESULT ); DefRawInputProc(::core::mem::transmute(parawinput.as_ptr()), parawinput.len() as _, cbsizeheader) } #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCIMSSM(inputmessagesource: *mut INPUT_MESSAGE_SOURCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetCIMSSM ( inputmessagesource : *mut INPUT_MESSAGE_SOURCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetCIMSSM ( inputmessagesource : *mut INPUT_MESSAGE_SOURCE ) -> super::super::Foundation:: BOOL ); GetCIMSSM(inputmessagesource) } #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCurrentInputMessageSource(inputmessagesource: *mut INPUT_MESSAGE_SOURCE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetCurrentInputMessageSource ( inputmessagesource : *mut INPUT_MESSAGE_SOURCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetCurrentInputMessageSource ( inputmessagesource : *mut INPUT_MESSAGE_SOURCE ) -> super::super::Foundation:: BOOL ); GetCurrentInputMessageSource(inputmessagesource) } #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetRawInputBuffer(pdata: ::core::option::Option<*mut RAWINPUT>, pcbsize: *mut u32, cbsizeheader: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetRawInputBuffer ( pdata : *mut RAWINPUT , pcbsize : *mut u32 , cbsizeheader : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetRawInputBuffer ( pdata : *mut RAWINPUT , pcbsize : *mut u32 , cbsizeheader : u32 ) -> u32 ); GetRawInputBuffer(::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), pcbsize, cbsizeheader) } #[doc = "*Required features: `\"Win32_UI_Input\"`*"] @@ -46,7 +46,7 @@ pub unsafe fn GetRawInputData(hrawinput: P0, uicommand: RAW_INPUT_DATA_COMMA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetRawInputData ( hrawinput : HRAWINPUT , uicommand : RAW_INPUT_DATA_COMMAND_FLAGS , pdata : *mut ::core::ffi::c_void , pcbsize : *mut u32 , cbsizeheader : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetRawInputData ( hrawinput : HRAWINPUT , uicommand : RAW_INPUT_DATA_COMMAND_FLAGS , pdata : *mut ::core::ffi::c_void , pcbsize : *mut u32 , cbsizeheader : u32 ) -> u32 ); GetRawInputData(hrawinput.into(), uicommand, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), pcbsize, cbsizeheader) } #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] @@ -56,7 +56,7 @@ pub unsafe fn GetRawInputDeviceInfoA(hdevice: P0, uicommand: RAW_INPUT_DEVIC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetRawInputDeviceInfoA ( hdevice : super::super::Foundation:: HANDLE , uicommand : RAW_INPUT_DEVICE_INFO_COMMAND , pdata : *mut ::core::ffi::c_void , pcbsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetRawInputDeviceInfoA ( hdevice : super::super::Foundation:: HANDLE , uicommand : RAW_INPUT_DEVICE_INFO_COMMAND , pdata : *mut ::core::ffi::c_void , pcbsize : *mut u32 ) -> u32 ); GetRawInputDeviceInfoA(hdevice.into(), uicommand, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), pcbsize) } #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] @@ -66,28 +66,28 @@ pub unsafe fn GetRawInputDeviceInfoW(hdevice: P0, uicommand: RAW_INPUT_DEVIC where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetRawInputDeviceInfoW ( hdevice : super::super::Foundation:: HANDLE , uicommand : RAW_INPUT_DEVICE_INFO_COMMAND , pdata : *mut ::core::ffi::c_void , pcbsize : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetRawInputDeviceInfoW ( hdevice : super::super::Foundation:: HANDLE , uicommand : RAW_INPUT_DEVICE_INFO_COMMAND , pdata : *mut ::core::ffi::c_void , pcbsize : *mut u32 ) -> u32 ); GetRawInputDeviceInfoW(hdevice.into(), uicommand, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), pcbsize) } #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetRawInputDeviceList(prawinputdevicelist: ::core::option::Option<*mut RAWINPUTDEVICELIST>, puinumdevices: *mut u32, cbsize: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetRawInputDeviceList ( prawinputdevicelist : *mut RAWINPUTDEVICELIST , puinumdevices : *mut u32 , cbsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetRawInputDeviceList ( prawinputdevicelist : *mut RAWINPUTDEVICELIST , puinumdevices : *mut u32 , cbsize : u32 ) -> u32 ); GetRawInputDeviceList(::core::mem::transmute(prawinputdevicelist.unwrap_or(::std::ptr::null_mut())), puinumdevices, cbsize) } #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetRegisteredRawInputDevices(prawinputdevices: ::core::option::Option<*mut RAWINPUTDEVICE>, puinumdevices: *mut u32, cbsize: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetRegisteredRawInputDevices ( prawinputdevices : *mut RAWINPUTDEVICE , puinumdevices : *mut u32 , cbsize : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetRegisteredRawInputDevices ( prawinputdevices : *mut RAWINPUTDEVICE , puinumdevices : *mut u32 , cbsize : u32 ) -> u32 ); GetRegisteredRawInputDevices(::core::mem::transmute(prawinputdevices.unwrap_or(::std::ptr::null_mut())), puinumdevices, cbsize) } #[doc = "*Required features: `\"Win32_UI_Input\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RegisterRawInputDevices(prawinputdevices: &[RAWINPUTDEVICE], cbsize: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn RegisterRawInputDevices ( prawinputdevices : *const RAWINPUTDEVICE , uinumdevices : u32 , cbsize : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterRawInputDevices ( prawinputdevices : *const RAWINPUTDEVICE , uinumdevices : u32 , cbsize : u32 ) -> super::super::Foundation:: BOOL ); RegisterRawInputDevices(::core::mem::transmute(prawinputdevices.as_ptr()), prawinputdevices.len() as _, cbsize) } #[doc = "*Required features: `\"Win32_UI_Input\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs index 92d84de06c..40bb010f3a 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn AddPointerInteractionContext(interactioncontext: P0, pointerid where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn AddPointerInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , pointerid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn AddPointerInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , pointerid : u32 ) -> :: windows::core::HRESULT ); AddPointerInteractionContext(interactioncontext.into(), pointerid).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -14,13 +14,13 @@ pub unsafe fn BufferPointerPacketsInteractionContext(interactioncontext: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn BufferPointerPacketsInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , entriescount : u32 , pointerinfo : *const super::Input::Pointer:: POINTER_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn BufferPointerPacketsInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , entriescount : u32 , pointerinfo : *const super::Input::Pointer:: POINTER_INFO ) -> :: windows::core::HRESULT ); BufferPointerPacketsInteractionContext(interactioncontext.into(), pointerinfo.len() as _, ::core::mem::transmute(pointerinfo.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] #[inline] pub unsafe fn CreateInteractionContext() -> ::windows::core::Result { - ::windows::core::link ! ( "ninput.dll""system" fn CreateInteractionContext ( interactioncontext : *mut HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn CreateInteractionContext ( interactioncontext : *mut HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CreateInteractionContext(&mut result__).from_abi(result__) } @@ -30,7 +30,7 @@ pub unsafe fn DestroyInteractionContext(interactioncontext: P0) -> ::windows where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn DestroyInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn DestroyInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); DestroyInteractionContext(interactioncontext.into()).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -39,7 +39,7 @@ pub unsafe fn GetCrossSlideParameterInteractionContext(interactioncontext: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetCrossSlideParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , threshold : CROSS_SLIDE_THRESHOLD , distance : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetCrossSlideParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , threshold : CROSS_SLIDE_THRESHOLD , distance : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetCrossSlideParameterInteractionContext(interactioncontext.into(), threshold, &mut result__).from_abi(result__) } @@ -49,7 +49,7 @@ pub unsafe fn GetHoldParameterInteractionContext(interactioncontext: P0, par where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetHoldParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : HOLD_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetHoldParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : HOLD_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetHoldParameterInteractionContext(interactioncontext.into(), parameter, &mut result__).from_abi(result__) } @@ -59,7 +59,7 @@ pub unsafe fn GetInertiaParameterInteractionContext(interactioncontext: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetInertiaParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , inertiaparameter : INERTIA_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetInertiaParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , inertiaparameter : INERTIA_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetInertiaParameterInteractionContext(interactioncontext.into(), inertiaparameter, &mut result__).from_abi(result__) } @@ -69,7 +69,7 @@ pub unsafe fn GetInteractionConfigurationInteractionContext(interactionconte where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetInteractionConfigurationInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , configurationcount : u32 , configuration : *mut INTERACTION_CONTEXT_CONFIGURATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetInteractionConfigurationInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , configurationcount : u32 , configuration : *mut INTERACTION_CONTEXT_CONFIGURATION ) -> :: windows::core::HRESULT ); GetInteractionConfigurationInteractionContext(interactioncontext.into(), configuration.len() as _, ::core::mem::transmute(configuration.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -78,7 +78,7 @@ pub unsafe fn GetMouseWheelParameterInteractionContext(interactioncontext: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetMouseWheelParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : MOUSE_WHEEL_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetMouseWheelParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : MOUSE_WHEEL_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetMouseWheelParameterInteractionContext(interactioncontext.into(), parameter, &mut result__).from_abi(result__) } @@ -88,7 +88,7 @@ pub unsafe fn GetPropertyInteractionContext(interactioncontext: P0, contextp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetPropertyInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , contextproperty : INTERACTION_CONTEXT_PROPERTY , value : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetPropertyInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , contextproperty : INTERACTION_CONTEXT_PROPERTY , value : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetPropertyInteractionContext(interactioncontext.into(), contextproperty, &mut result__).from_abi(result__) } @@ -99,7 +99,7 @@ pub unsafe fn GetStateInteractionContext(interactioncontext: P0, pointerinfo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetStateInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , pointerinfo : *const super::Input::Pointer:: POINTER_INFO , state : *mut INTERACTION_STATE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetStateInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , pointerinfo : *const super::Input::Pointer:: POINTER_INFO , state : *mut INTERACTION_STATE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetStateInteractionContext(interactioncontext.into(), ::core::mem::transmute(pointerinfo.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } @@ -109,7 +109,7 @@ pub unsafe fn GetTapParameterInteractionContext(interactioncontext: P0, para where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetTapParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : TAP_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetTapParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : TAP_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetTapParameterInteractionContext(interactioncontext.into(), parameter, &mut result__).from_abi(result__) } @@ -119,7 +119,7 @@ pub unsafe fn GetTranslationParameterInteractionContext(interactioncontext: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn GetTranslationParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : TRANSLATION_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn GetTranslationParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : TRANSLATION_PARAMETER , value : *mut f32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetTranslationParameterInteractionContext(interactioncontext.into(), parameter, &mut result__).from_abi(result__) } @@ -129,7 +129,7 @@ pub unsafe fn ProcessBufferedPacketsInteractionContext(interactioncontext: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn ProcessBufferedPacketsInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn ProcessBufferedPacketsInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); ProcessBufferedPacketsInteractionContext(interactioncontext.into()).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -138,7 +138,7 @@ pub unsafe fn ProcessInertiaInteractionContext(interactioncontext: P0) -> :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn ProcessInertiaInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn ProcessInertiaInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); ProcessInertiaInteractionContext(interactioncontext.into()).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -148,7 +148,7 @@ pub unsafe fn ProcessPointerFramesInteractionContext(interactioncontext: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn ProcessPointerFramesInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , entriescount : u32 , pointercount : u32 , pointerinfo : *const super::Input::Pointer:: POINTER_INFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn ProcessPointerFramesInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , entriescount : u32 , pointercount : u32 , pointerinfo : *const super::Input::Pointer:: POINTER_INFO ) -> :: windows::core::HRESULT ); ProcessPointerFramesInteractionContext(interactioncontext.into(), entriescount, pointercount, pointerinfo).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -158,7 +158,7 @@ pub unsafe fn RegisterOutputCallbackInteractionContext(interactioncontext: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn RegisterOutputCallbackInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , outputcallback : INTERACTION_CONTEXT_OUTPUT_CALLBACK , clientdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn RegisterOutputCallbackInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , outputcallback : INTERACTION_CONTEXT_OUTPUT_CALLBACK , clientdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); RegisterOutputCallbackInteractionContext(interactioncontext.into(), outputcallback, ::core::mem::transmute(clientdata.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -168,7 +168,7 @@ pub unsafe fn RegisterOutputCallbackInteractionContext2(interactioncontext: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn RegisterOutputCallbackInteractionContext2 ( interactioncontext : HINTERACTIONCONTEXT , outputcallback : INTERACTION_CONTEXT_OUTPUT_CALLBACK2 , clientdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn RegisterOutputCallbackInteractionContext2 ( interactioncontext : HINTERACTIONCONTEXT , outputcallback : INTERACTION_CONTEXT_OUTPUT_CALLBACK2 , clientdata : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); RegisterOutputCallbackInteractionContext2(interactioncontext.into(), outputcallback, ::core::mem::transmute(clientdata.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -177,7 +177,7 @@ pub unsafe fn RemovePointerInteractionContext(interactioncontext: P0, pointe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn RemovePointerInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , pointerid : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn RemovePointerInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , pointerid : u32 ) -> :: windows::core::HRESULT ); RemovePointerInteractionContext(interactioncontext.into(), pointerid).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -186,7 +186,7 @@ pub unsafe fn ResetInteractionContext(interactioncontext: P0) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn ResetInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn ResetInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); ResetInteractionContext(interactioncontext.into()).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -195,7 +195,7 @@ pub unsafe fn SetCrossSlideParametersInteractionContext(interactioncontext: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetCrossSlideParametersInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parametercount : u32 , crossslideparameters : *const CROSS_SLIDE_PARAMETER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetCrossSlideParametersInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parametercount : u32 , crossslideparameters : *const CROSS_SLIDE_PARAMETER ) -> :: windows::core::HRESULT ); SetCrossSlideParametersInteractionContext(interactioncontext.into(), crossslideparameters.len() as _, ::core::mem::transmute(crossslideparameters.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -204,7 +204,7 @@ pub unsafe fn SetHoldParameterInteractionContext(interactioncontext: P0, par where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetHoldParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : HOLD_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetHoldParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : HOLD_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); SetHoldParameterInteractionContext(interactioncontext.into(), parameter, value).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -213,7 +213,7 @@ pub unsafe fn SetInertiaParameterInteractionContext(interactioncontext: P0, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetInertiaParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , inertiaparameter : INERTIA_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetInertiaParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , inertiaparameter : INERTIA_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); SetInertiaParameterInteractionContext(interactioncontext.into(), inertiaparameter, value).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -222,7 +222,7 @@ pub unsafe fn SetInteractionConfigurationInteractionContext(interactionconte where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetInteractionConfigurationInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , configurationcount : u32 , configuration : *const INTERACTION_CONTEXT_CONFIGURATION ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetInteractionConfigurationInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , configurationcount : u32 , configuration : *const INTERACTION_CONTEXT_CONFIGURATION ) -> :: windows::core::HRESULT ); SetInteractionConfigurationInteractionContext(interactioncontext.into(), configuration.len() as _, ::core::mem::transmute(configuration.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -231,7 +231,7 @@ pub unsafe fn SetMouseWheelParameterInteractionContext(interactioncontext: P where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetMouseWheelParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : MOUSE_WHEEL_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetMouseWheelParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : MOUSE_WHEEL_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); SetMouseWheelParameterInteractionContext(interactioncontext.into(), parameter, value).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -240,7 +240,7 @@ pub unsafe fn SetPivotInteractionContext(interactioncontext: P0, x: f32, y: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetPivotInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , x : f32 , y : f32 , radius : f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetPivotInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , x : f32 , y : f32 , radius : f32 ) -> :: windows::core::HRESULT ); SetPivotInteractionContext(interactioncontext.into(), x, y, radius).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -249,7 +249,7 @@ pub unsafe fn SetPropertyInteractionContext(interactioncontext: P0, contextp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetPropertyInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , contextproperty : INTERACTION_CONTEXT_PROPERTY , value : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetPropertyInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , contextproperty : INTERACTION_CONTEXT_PROPERTY , value : u32 ) -> :: windows::core::HRESULT ); SetPropertyInteractionContext(interactioncontext.into(), contextproperty, value).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -258,7 +258,7 @@ pub unsafe fn SetTapParameterInteractionContext(interactioncontext: P0, para where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetTapParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : TAP_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetTapParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : TAP_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); SetTapParameterInteractionContext(interactioncontext.into(), parameter, value).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -267,7 +267,7 @@ pub unsafe fn SetTranslationParameterInteractionContext(interactioncontext: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn SetTranslationParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : TRANSLATION_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn SetTranslationParameterInteractionContext ( interactioncontext : HINTERACTIONCONTEXT , parameter : TRANSLATION_PARAMETER , value : f32 ) -> :: windows::core::HRESULT ); SetTranslationParameterInteractionContext(interactioncontext.into(), parameter, value).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] @@ -276,7 +276,7 @@ pub unsafe fn StopInteractionContext(interactioncontext: P0) -> ::windows::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "ninput.dll""system" fn StopInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "ninput.dll""system" fn StopInteractionContext ( interactioncontext : HINTERACTIONCONTEXT ) -> :: windows::core::HRESULT ); StopInteractionContext(interactioncontext.into()).ok() } #[doc = "*Required features: `\"Win32_UI_InteractionContext\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs index fe8f8314b5..206937ac20 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs @@ -20,7 +20,7 @@ impl IADesktopP2 { (::windows::core::Vtable::vtable(self).MakeDynamicChanges)(::windows::core::Vtable::as_raw(self), poleobj.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IADesktopP2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IADesktopP2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IADesktopP2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -75,7 +75,7 @@ impl IActiveDesktopP { (::windows::core::Vtable::vtable(self).GetScheme)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwszschemename), pdwcchbuffer, dwflags).ok() } } -::windows::core::interface_hierarchy!(IActiveDesktopP, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActiveDesktopP, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActiveDesktopP { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -120,7 +120,7 @@ impl IBriefcaseInitiator { (::windows::core::Vtable::vtable(self).IsMonikerInBriefcase)(::windows::core::Vtable::as_raw(self), pmk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IBriefcaseInitiator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBriefcaseInitiator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBriefcaseInitiator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -190,7 +190,7 @@ impl IEmptyVolumeCache { (::windows::core::Vtable::vtable(self).Deactivate)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEmptyVolumeCache, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEmptyVolumeCache, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEmptyVolumeCache { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -277,7 +277,7 @@ impl IEmptyVolumeCache2 { (::windows::core::Vtable::vtable(self).InitializeEx)(::windows::core::Vtable::as_raw(self), hkregkey.into(), pcwszvolume.into().abi(), pcwszkeyname.into().abi(), ppwszdisplayname, ppwszdescription, ppwszbtntext, pdwflags).ok() } } -::windows::core::interface_hierarchy!(IEmptyVolumeCache2, ::windows::core::IUnknown, IEmptyVolumeCache); +::windows::imp::interface_hierarchy!(IEmptyVolumeCache2, ::windows::core::IUnknown, IEmptyVolumeCache); impl ::core::cmp::PartialEq for IEmptyVolumeCache2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -326,7 +326,7 @@ impl IEmptyVolumeCacheCallBack { (::windows::core::Vtable::vtable(self).PurgeProgress)(::windows::core::Vtable::as_raw(self), dwlspacefreed, dwlspacetofree, dwflags, pcwszstatus.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IEmptyVolumeCacheCallBack, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEmptyVolumeCacheCallBack, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEmptyVolumeCacheCallBack { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -376,7 +376,7 @@ impl IReconcilableObject { (::windows::core::Vtable::vtable(self).GetProgressFeedbackMaxEstimate)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IReconcilableObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IReconcilableObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IReconcilableObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -423,7 +423,7 @@ impl IReconcileInitiator { (::windows::core::Vtable::vtable(self).SetProgressFeedback)(::windows::core::Vtable::as_raw(self), ulprogress, ulprogressmax).ok() } } -::windows::core::interface_hierarchy!(IReconcileInitiator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IReconcileInitiator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IReconcileInitiator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/Magnification/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Magnification/mod.rs index b7313a550e..0d60a9ccc4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Magnification/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Magnification/mod.rs @@ -5,21 +5,21 @@ pub unsafe fn MagGetColorEffect(hwnd: P0, peffect: *mut MAGCOLOREFFECT) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagGetColorEffect ( hwnd : super::super::Foundation:: HWND , peffect : *mut MAGCOLOREFFECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagGetColorEffect ( hwnd : super::super::Foundation:: HWND , peffect : *mut MAGCOLOREFFECT ) -> super::super::Foundation:: BOOL ); MagGetColorEffect(hwnd.into(), peffect) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MagGetFullscreenColorEffect(peffect: *mut MAGCOLOREFFECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "magnification.dll""system" fn MagGetFullscreenColorEffect ( peffect : *mut MAGCOLOREFFECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagGetFullscreenColorEffect ( peffect : *mut MAGCOLOREFFECT ) -> super::super::Foundation:: BOOL ); MagGetFullscreenColorEffect(peffect) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MagGetFullscreenTransform(pmaglevel: *mut f32, pxoffset: *mut i32, pyoffset: *mut i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "magnification.dll""system" fn MagGetFullscreenTransform ( pmaglevel : *mut f32 , pxoffset : *mut i32 , pyoffset : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagGetFullscreenTransform ( pmaglevel : *mut f32 , pxoffset : *mut i32 , pyoffset : *mut i32 ) -> super::super::Foundation:: BOOL ); MagGetFullscreenTransform(pmaglevel, pxoffset, pyoffset) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -29,14 +29,14 @@ pub unsafe fn MagGetImageScalingCallback(hwnd: P0) -> MagImageScalingCallbac where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagGetImageScalingCallback ( hwnd : super::super::Foundation:: HWND ) -> MagImageScalingCallback ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagGetImageScalingCallback ( hwnd : super::super::Foundation:: HWND ) -> MagImageScalingCallback ); MagGetImageScalingCallback(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MagGetInputTransform(pfenabled: *mut super::super::Foundation::BOOL, prectsource: *mut super::super::Foundation::RECT, prectdest: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "magnification.dll""system" fn MagGetInputTransform ( pfenabled : *mut super::super::Foundation:: BOOL , prectsource : *mut super::super::Foundation:: RECT , prectdest : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagGetInputTransform ( pfenabled : *mut super::super::Foundation:: BOOL , prectsource : *mut super::super::Foundation:: RECT , prectdest : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); MagGetInputTransform(pfenabled, prectsource, prectdest) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -46,7 +46,7 @@ pub unsafe fn MagGetWindowFilterList(hwnd: P0, pdwfiltermode: *mut MW_FILTER where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagGetWindowFilterList ( hwnd : super::super::Foundation:: HWND , pdwfiltermode : *mut MW_FILTERMODE , count : i32 , phwnd : *mut super::super::Foundation:: HWND ) -> i32 ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagGetWindowFilterList ( hwnd : super::super::Foundation:: HWND , pdwfiltermode : *mut MW_FILTERMODE , count : i32 , phwnd : *mut super::super::Foundation:: HWND ) -> i32 ); MagGetWindowFilterList(hwnd.into(), pdwfiltermode, count, phwnd) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -56,7 +56,7 @@ pub unsafe fn MagGetWindowSource(hwnd: P0, prect: *mut super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagGetWindowSource ( hwnd : super::super::Foundation:: HWND , prect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagGetWindowSource ( hwnd : super::super::Foundation:: HWND , prect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); MagGetWindowSource(hwnd.into(), prect) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -66,14 +66,14 @@ pub unsafe fn MagGetWindowTransform(hwnd: P0, ptransform: *mut MAGTRANSFORM) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagGetWindowTransform ( hwnd : super::super::Foundation:: HWND , ptransform : *mut MAGTRANSFORM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagGetWindowTransform ( hwnd : super::super::Foundation:: HWND , ptransform : *mut MAGTRANSFORM ) -> super::super::Foundation:: BOOL ); MagGetWindowTransform(hwnd.into(), ptransform) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MagInitialize() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "magnification.dll""system" fn MagInitialize ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagInitialize ( ) -> super::super::Foundation:: BOOL ); MagInitialize() } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -83,21 +83,21 @@ pub unsafe fn MagSetColorEffect(hwnd: P0, peffect: *mut MAGCOLOREFFECT) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagSetColorEffect ( hwnd : super::super::Foundation:: HWND , peffect : *mut MAGCOLOREFFECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagSetColorEffect ( hwnd : super::super::Foundation:: HWND , peffect : *mut MAGCOLOREFFECT ) -> super::super::Foundation:: BOOL ); MagSetColorEffect(hwnd.into(), peffect) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MagSetFullscreenColorEffect(peffect: *const MAGCOLOREFFECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "magnification.dll""system" fn MagSetFullscreenColorEffect ( peffect : *const MAGCOLOREFFECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagSetFullscreenColorEffect ( peffect : *const MAGCOLOREFFECT ) -> super::super::Foundation:: BOOL ); MagSetFullscreenColorEffect(peffect) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MagSetFullscreenTransform(maglevel: f32, xoffset: i32, yoffset: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "magnification.dll""system" fn MagSetFullscreenTransform ( maglevel : f32 , xoffset : i32 , yoffset : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagSetFullscreenTransform ( maglevel : f32 , xoffset : i32 , yoffset : i32 ) -> super::super::Foundation:: BOOL ); MagSetFullscreenTransform(maglevel, xoffset, yoffset) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -107,7 +107,7 @@ pub unsafe fn MagSetImageScalingCallback(hwnd: P0, callback: MagImageScaling where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagSetImageScalingCallback ( hwnd : super::super::Foundation:: HWND , callback : MagImageScalingCallback ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagSetImageScalingCallback ( hwnd : super::super::Foundation:: HWND , callback : MagImageScalingCallback ) -> super::super::Foundation:: BOOL ); MagSetImageScalingCallback(hwnd.into(), callback) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -117,7 +117,7 @@ pub unsafe fn MagSetInputTransform(fenabled: P0, prectsource: *const super:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagSetInputTransform ( fenabled : super::super::Foundation:: BOOL , prectsource : *const super::super::Foundation:: RECT , prectdest : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagSetInputTransform ( fenabled : super::super::Foundation:: BOOL , prectsource : *const super::super::Foundation:: RECT , prectdest : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); MagSetInputTransform(fenabled.into(), prectsource, prectdest) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -127,7 +127,7 @@ pub unsafe fn MagSetWindowFilterList(hwnd: P0, dwfiltermode: MW_FILTERMODE, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagSetWindowFilterList ( hwnd : super::super::Foundation:: HWND , dwfiltermode : MW_FILTERMODE , count : i32 , phwnd : *mut super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagSetWindowFilterList ( hwnd : super::super::Foundation:: HWND , dwfiltermode : MW_FILTERMODE , count : i32 , phwnd : *mut super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); MagSetWindowFilterList(hwnd.into(), dwfiltermode, count, phwnd) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -137,7 +137,7 @@ pub unsafe fn MagSetWindowSource(hwnd: P0, rect: super::super::Foundation::R where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagSetWindowSource ( hwnd : super::super::Foundation:: HWND , rect : super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagSetWindowSource ( hwnd : super::super::Foundation:: HWND , rect : super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); MagSetWindowSource(hwnd.into(), ::core::mem::transmute(rect)) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -147,7 +147,7 @@ pub unsafe fn MagSetWindowTransform(hwnd: P0, ptransform: *mut MAGTRANSFORM) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagSetWindowTransform ( hwnd : super::super::Foundation:: HWND , ptransform : *mut MAGTRANSFORM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagSetWindowTransform ( hwnd : super::super::Foundation:: HWND , ptransform : *mut MAGTRANSFORM ) -> super::super::Foundation:: BOOL ); MagSetWindowTransform(hwnd.into(), ptransform) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] @@ -157,14 +157,14 @@ pub unsafe fn MagShowSystemCursor(fshowcursor: P0) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "magnification.dll""system" fn MagShowSystemCursor ( fshowcursor : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagShowSystemCursor ( fshowcursor : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); MagShowSystemCursor(fshowcursor.into()) } #[doc = "*Required features: `\"Win32_UI_Magnification\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MagUninitialize() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "magnification.dll""system" fn MagUninitialize ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "magnification.dll""system" fn MagUninitialize ( ) -> super::super::Foundation:: BOOL ); MagUninitialize() } #[doc = "*Required features: `\"Win32_UI_Magnification\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs index 12a6a13212..9796274c85 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs @@ -10,7 +10,7 @@ impl INotificationActivationCallback { (::windows::core::Vtable::vtable(self).Activate)(::windows::core::Vtable::as_raw(self), appusermodelid.into().abi(), invokedargs.into().abi(), ::core::mem::transmute(data.as_ptr()), data.len() as _).ok() } } -::windows::core::interface_hierarchy!(INotificationActivationCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INotificationActivationCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INotificationActivationCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs index 416c855998..97d079213b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs @@ -19,7 +19,7 @@ impl IUIApplication { (::windows::core::Vtable::vtable(self).OnDestroyUICommand)(::windows::core::Vtable::as_raw(self), commandid, typeid, commandhandler.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIApplication, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIApplication, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIApplication { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -87,7 +87,7 @@ impl IUICollection { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUICollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUICollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUICollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -134,7 +134,7 @@ impl IUICollectionChangedEvent { (::windows::core::Vtable::vtable(self).OnChanged)(::windows::core::Vtable::as_raw(self), action, oldindex, olditem.into().abi(), newindex, newitem.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUICollectionChangedEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUICollectionChangedEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUICollectionChangedEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -182,7 +182,7 @@ impl IUICommandHandler { (::windows::core::Vtable::vtable(self).UpdateProperty)(::windows::core::Vtable::as_raw(self), commandid, key, ::core::mem::transmute(currentvalue.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUICommandHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUICommandHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUICommandHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -226,7 +226,7 @@ impl IUIContextualUI { (::windows::core::Vtable::vtable(self).ShowAtLocation)(::windows::core::Vtable::as_raw(self), x, y).ok() } } -::windows::core::interface_hierarchy!(IUIContextualUI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIContextualUI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIContextualUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -263,7 +263,7 @@ impl IUIEventLogger { (::windows::core::Vtable::vtable(self).OnUIEvent)(::windows::core::Vtable::as_raw(self), peventparams) } } -::windows::core::interface_hierarchy!(IUIEventLogger, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIEventLogger, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIEventLogger { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -303,7 +303,7 @@ impl IUIEventingManager { (::windows::core::Vtable::vtable(self).SetEventLogger)(::windows::core::Vtable::as_raw(self), eventlogger.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIEventingManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIEventingManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIEventingManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -383,7 +383,7 @@ impl IUIFramework { (::windows::core::Vtable::vtable(self).SetModes)(::windows::core::Vtable::as_raw(self), imodes).ok() } } -::windows::core::interface_hierarchy!(IUIFramework, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIFramework, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIFramework { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -446,7 +446,7 @@ impl IUIImage { (::windows::core::Vtable::vtable(self).GetBitmap)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIImage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIImage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIImage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -492,7 +492,7 @@ impl IUIImageFromBitmap { (::windows::core::Vtable::vtable(self).CreateImage)(::windows::core::Vtable::as_raw(self), bitmap.into(), options, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUIImageFromBitmap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIImageFromBitmap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIImageFromBitmap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -549,7 +549,7 @@ impl IUIRibbon { (::windows::core::Vtable::vtable(self).SaveSettingsToStream)(::windows::core::Vtable::as_raw(self), pstream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUIRibbon, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIRibbon, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIRibbon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -597,7 +597,7 @@ impl IUISimplePropertySet { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), key, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUISimplePropertySet, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUISimplePropertySet, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUISimplePropertySet { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 d12aae48fe..53565947ef 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 @@ -14,7 +14,7 @@ impl IObjectArray { (::windows::core::Vtable::vtable(self).GetAt)(::windows::core::Vtable::as_raw(self), uiindex, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectArray, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectArray, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -78,7 +78,7 @@ impl IObjectCollection { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IObjectCollection, ::windows::core::IUnknown, IObjectArray); +::windows::imp::interface_hierarchy!(IObjectCollection, ::windows::core::IUnknown, IObjectArray); impl ::core::cmp::PartialEq for IObjectCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 e2b1f4b2e2..37badf1d40 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 @@ -2,21 +2,21 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn ClearPropVariantArray(rgpropvar: &mut [super::super::super::System::Com::StructuredStorage::PROPVARIANT]) { - ::windows::core::link ! ( "propsys.dll""system" fn ClearPropVariantArray ( rgpropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT , cvars : u32 ) -> ( ) ); + ::windows::imp::link ! ( "propsys.dll""system" fn ClearPropVariantArray ( rgpropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT , cvars : u32 ) -> ( ) ); ClearPropVariantArray(::core::mem::transmute(rgpropvar.as_ptr()), rgpropvar.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn ClearVariantArray(pvars: &mut [super::super::super::System::Com::VARIANT]) { - ::windows::core::link ! ( "propsys.dll""system" fn ClearVariantArray ( pvars : *mut super::super::super::System::Com:: VARIANT , cvars : u32 ) -> ( ) ); + ::windows::imp::link ! ( "propsys.dll""system" fn ClearVariantArray ( pvars : *mut super::super::super::System::Com:: VARIANT , cvars : u32 ) -> ( ) ); ClearVariantArray(::core::mem::transmute(pvars.as_ptr()), pvars.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromBooleanVector(prgf: ::core::option::Option<&[super::super::super::Foundation::BOOL]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromBooleanVector ( prgf : *const super::super::super::Foundation:: BOOL , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromBooleanVector ( prgf : *const super::super::super::Foundation:: BOOL , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromBooleanVector(::core::mem::transmute(prgf.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgf.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -24,7 +24,7 @@ pub unsafe fn InitPropVariantFromBooleanVector(prgf: ::core::option::Option<&[su #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromBuffer ( pv : *const ::core::ffi::c_void , cb : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromBuffer ( pv : *const ::core::ffi::c_void , cb : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromBuffer(pv, cb, &mut result__).from_abi(result__) } @@ -32,7 +32,7 @@ pub unsafe fn InitPropVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32) #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromCLSID(clsid: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromCLSID ( clsid : *const :: windows::core::GUID , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromCLSID ( clsid : *const :: windows::core::GUID , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromCLSID(clsid, &mut result__).from_abi(result__) } @@ -40,7 +40,7 @@ pub unsafe fn InitPropVariantFromCLSID(clsid: *const ::windows::core::GUID) -> : #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromDoubleVector(prgn: ::core::option::Option<&[f64]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromDoubleVector ( prgn : *const f64 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromDoubleVector ( prgn : *const f64 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromDoubleVector(::core::mem::transmute(prgn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -48,7 +48,7 @@ pub unsafe fn InitPropVariantFromDoubleVector(prgn: ::core::option::Option<&[f64 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromFileTime(pftin: *const super::super::super::Foundation::FILETIME) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromFileTime ( pftin : *const super::super::super::Foundation:: FILETIME , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromFileTime ( pftin : *const super::super::super::Foundation:: FILETIME , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromFileTime(pftin, &mut result__).from_abi(result__) } @@ -56,7 +56,7 @@ pub unsafe fn InitPropVariantFromFileTime(pftin: *const super::super::super::Fou #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromFileTimeVector(prgft: ::core::option::Option<&[super::super::super::Foundation::FILETIME]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromFileTimeVector ( prgft : *const super::super::super::Foundation:: FILETIME , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromFileTimeVector ( prgft : *const super::super::super::Foundation:: FILETIME , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromFileTimeVector(::core::mem::transmute(prgft.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgft.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -64,7 +64,7 @@ pub unsafe fn InitPropVariantFromFileTimeVector(prgft: ::core::option::Option<&[ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromGUIDAsString(guid: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromGUIDAsString ( guid : *const :: windows::core::GUID , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromGUIDAsString ( guid : *const :: windows::core::GUID , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromGUIDAsString(guid, &mut result__).from_abi(result__) } @@ -72,7 +72,7 @@ pub unsafe fn InitPropVariantFromGUIDAsString(guid: *const ::windows::core::GUID #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromInt16Vector(prgn: ::core::option::Option<&[i16]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromInt16Vector ( prgn : *const i16 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromInt16Vector ( prgn : *const i16 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromInt16Vector(::core::mem::transmute(prgn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -80,7 +80,7 @@ pub unsafe fn InitPropVariantFromInt16Vector(prgn: ::core::option::Option<&[i16] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromInt32Vector(prgn: ::core::option::Option<&[i32]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromInt32Vector ( prgn : *const i32 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromInt32Vector ( prgn : *const i32 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromInt32Vector(::core::mem::transmute(prgn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -88,7 +88,7 @@ pub unsafe fn InitPropVariantFromInt32Vector(prgn: ::core::option::Option<&[i32] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromInt64Vector(prgn: ::core::option::Option<&[i64]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromInt64Vector ( prgn : *const i64 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromInt64Vector ( prgn : *const i64 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromInt64Vector(::core::mem::transmute(prgn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -96,7 +96,7 @@ pub unsafe fn InitPropVariantFromInt64Vector(prgn: ::core::option::Option<&[i64] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromPropVariantVectorElem(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromPropVariantVectorElem ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromPropVariantVectorElem ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromPropVariantVectorElem(propvarin, ielem, &mut result__).from_abi(result__) } @@ -107,7 +107,7 @@ pub unsafe fn InitPropVariantFromResource(hinst: P0, id: u32) -> ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromResource ( hinst : super::super::super::Foundation:: HINSTANCE , id : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromResource ( hinst : super::super::super::Foundation:: HINSTANCE , id : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromResource(hinst.into(), id, &mut result__).from_abi(result__) } @@ -115,7 +115,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn InitPropVariantFromStrRet(pstrret: *mut super::Common::STRRET, pidl: ::core::option::Option<*const super::Common::ITEMIDLIST>, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromStrRet ( pstrret : *mut super::Common:: STRRET , pidl : *const super::Common:: ITEMIDLIST , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromStrRet ( pstrret : *mut super::Common:: STRRET , pidl : *const super::Common:: ITEMIDLIST , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); InitPropVariantFromStrRet(pstrret, ::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), ppropvar).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -125,7 +125,7 @@ pub unsafe fn InitPropVariantFromStringAsVector(psz: P0) -> ::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromStringAsVector ( psz : :: windows::core::PCWSTR , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromStringAsVector ( psz : :: windows::core::PCWSTR , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromStringAsVector(psz.into().abi(), &mut result__).from_abi(result__) } @@ -133,7 +133,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromStringVector(prgsz: ::core::option::Option<&[::windows::core::PCWSTR]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromStringVector ( prgsz : *const :: windows::core::PCWSTR , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromStringVector ( prgsz : *const :: windows::core::PCWSTR , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromStringVector(::core::mem::transmute(prgsz.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgsz.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -141,7 +141,7 @@ pub unsafe fn InitPropVariantFromStringVector(prgsz: ::core::option::Option<&[:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromUInt16Vector(prgn: ::core::option::Option<&[u16]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromUInt16Vector ( prgn : *const u16 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromUInt16Vector ( prgn : *const u16 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromUInt16Vector(::core::mem::transmute(prgn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -149,7 +149,7 @@ pub unsafe fn InitPropVariantFromUInt16Vector(prgn: ::core::option::Option<&[u16 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromUInt32Vector(prgn: ::core::option::Option<&[u32]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromUInt32Vector ( prgn : *const u32 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromUInt32Vector ( prgn : *const u32 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromUInt32Vector(::core::mem::transmute(prgn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -157,7 +157,7 @@ pub unsafe fn InitPropVariantFromUInt32Vector(prgn: ::core::option::Option<&[u32 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantFromUInt64Vector(prgn: ::core::option::Option<&[u64]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantFromUInt64Vector ( prgn : *const u64 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantFromUInt64Vector ( prgn : *const u64 , celems : u32 , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantFromUInt64Vector(::core::mem::transmute(prgn.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -165,7 +165,7 @@ pub unsafe fn InitPropVariantFromUInt64Vector(prgn: ::core::option::Option<&[u64 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn InitPropVariantVectorFromPropVariant(propvarsingle: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitPropVariantVectorFromPropVariant ( propvarsingle : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ppropvarvector : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitPropVariantVectorFromPropVariant ( propvarsingle : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ppropvarvector : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitPropVariantVectorFromPropVariant(propvarsingle, &mut result__).from_abi(result__) } @@ -173,7 +173,7 @@ pub unsafe fn InitPropVariantVectorFromPropVariant(propvarsingle: *const super:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromBooleanArray(prgf: &[super::super::super::Foundation::BOOL]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromBooleanArray ( prgf : *const super::super::super::Foundation:: BOOL , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromBooleanArray ( prgf : *const super::super::super::Foundation:: BOOL , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromBooleanArray(::core::mem::transmute(prgf.as_ptr()), prgf.len() as _, &mut result__).from_abi(result__) } @@ -181,7 +181,7 @@ pub unsafe fn InitVariantFromBooleanArray(prgf: &[super::super::super::Foundatio #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromBuffer ( pv : *const ::core::ffi::c_void , cb : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromBuffer ( pv : *const ::core::ffi::c_void , cb : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromBuffer(pv, cb, &mut result__).from_abi(result__) } @@ -189,7 +189,7 @@ pub unsafe fn InitVariantFromBuffer(pv: *const ::core::ffi::c_void, cb: u32) -> #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromDoubleArray(prgn: &[f64]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromDoubleArray ( prgn : *const f64 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromDoubleArray ( prgn : *const f64 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromDoubleArray(::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, &mut result__).from_abi(result__) } @@ -197,7 +197,7 @@ pub unsafe fn InitVariantFromDoubleArray(prgn: &[f64]) -> ::windows::core::Resul #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromFileTime(pft: *const super::super::super::Foundation::FILETIME) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromFileTime ( pft : *const super::super::super::Foundation:: FILETIME , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromFileTime ( pft : *const super::super::super::Foundation:: FILETIME , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromFileTime(pft, &mut result__).from_abi(result__) } @@ -205,7 +205,7 @@ pub unsafe fn InitVariantFromFileTime(pft: *const super::super::super::Foundatio #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromFileTimeArray(prgft: ::core::option::Option<&[super::super::super::Foundation::FILETIME]>) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromFileTimeArray ( prgft : *const super::super::super::Foundation:: FILETIME , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromFileTimeArray ( prgft : *const super::super::super::Foundation:: FILETIME , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromFileTimeArray(::core::mem::transmute(prgft.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prgft.as_deref().map_or(0, |slice| slice.len() as _), &mut result__).from_abi(result__) } @@ -213,7 +213,7 @@ pub unsafe fn InitVariantFromFileTimeArray(prgft: ::core::option::Option<&[super #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromGUIDAsString(guid: *const ::windows::core::GUID) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromGUIDAsString ( guid : *const :: windows::core::GUID , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromGUIDAsString ( guid : *const :: windows::core::GUID , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromGUIDAsString(guid, &mut result__).from_abi(result__) } @@ -221,7 +221,7 @@ pub unsafe fn InitVariantFromGUIDAsString(guid: *const ::windows::core::GUID) -> #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromInt16Array(prgn: &[i16]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromInt16Array ( prgn : *const i16 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromInt16Array ( prgn : *const i16 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromInt16Array(::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, &mut result__).from_abi(result__) } @@ -229,7 +229,7 @@ pub unsafe fn InitVariantFromInt16Array(prgn: &[i16]) -> ::windows::core::Result #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromInt32Array(prgn: &[i32]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromInt32Array ( prgn : *const i32 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromInt32Array ( prgn : *const i32 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromInt32Array(::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, &mut result__).from_abi(result__) } @@ -237,7 +237,7 @@ pub unsafe fn InitVariantFromInt32Array(prgn: &[i32]) -> ::windows::core::Result #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromInt64Array(prgn: &[i64]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromInt64Array ( prgn : *const i64 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromInt64Array ( prgn : *const i64 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromInt64Array(::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, &mut result__).from_abi(result__) } @@ -248,7 +248,7 @@ pub unsafe fn InitVariantFromResource(hinst: P0, id: u32) -> ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromResource ( hinst : super::super::super::Foundation:: HINSTANCE , id : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromResource ( hinst : super::super::super::Foundation:: HINSTANCE , id : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromResource(hinst.into(), id, &mut result__).from_abi(result__) } @@ -256,7 +256,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn InitVariantFromStrRet(pstrret: *const super::Common::STRRET, pidl: *const super::Common::ITEMIDLIST) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromStrRet ( pstrret : *const super::Common:: STRRET , pidl : *const super::Common:: ITEMIDLIST , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromStrRet ( pstrret : *const super::Common:: STRRET , pidl : *const super::Common:: ITEMIDLIST , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromStrRet(pstrret, pidl, &mut result__).from_abi(result__) } @@ -264,7 +264,7 @@ pub unsafe fn InitVariantFromStrRet(pstrret: *const super::Common::STRRET, pidl: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromStringArray(prgsz: &[::windows::core::PCWSTR]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromStringArray ( prgsz : *const :: windows::core::PCWSTR , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromStringArray ( prgsz : *const :: windows::core::PCWSTR , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromStringArray(::core::mem::transmute(prgsz.as_ptr()), prgsz.len() as _, &mut result__).from_abi(result__) } @@ -272,7 +272,7 @@ pub unsafe fn InitVariantFromStringArray(prgsz: &[::windows::core::PCWSTR]) -> : #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromUInt16Array(prgn: &[u16]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromUInt16Array ( prgn : *const u16 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromUInt16Array ( prgn : *const u16 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromUInt16Array(::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, &mut result__).from_abi(result__) } @@ -280,7 +280,7 @@ pub unsafe fn InitVariantFromUInt16Array(prgn: &[u16]) -> ::windows::core::Resul #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromUInt32Array(prgn: &[u32]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromUInt32Array ( prgn : *const u32 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromUInt32Array ( prgn : *const u32 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromUInt32Array(::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, &mut result__).from_abi(result__) } @@ -288,7 +288,7 @@ pub unsafe fn InitVariantFromUInt32Array(prgn: &[u32]) -> ::windows::core::Resul #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromUInt64Array(prgn: &[u64]) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromUInt64Array ( prgn : *const u64 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromUInt64Array ( prgn : *const u64 , celems : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromUInt64Array(::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, &mut result__).from_abi(result__) } @@ -296,7 +296,7 @@ pub unsafe fn InitVariantFromUInt64Array(prgn: &[u64]) -> ::windows::core::Resul #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn InitVariantFromVariantArrayElem(varin: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn InitVariantFromVariantArrayElem ( varin : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn InitVariantFromVariantArrayElem ( varin : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); InitVariantFromVariantArrayElem(varin, ielem, &mut result__).from_abi(result__) } @@ -304,7 +304,7 @@ pub unsafe fn InitVariantFromVariantArrayElem(varin: *const super::super::super: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PSCoerceToCanonicalValue(key: *const PROPERTYKEY, ppropvar: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSCoerceToCanonicalValue ( key : *const PROPERTYKEY , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCoerceToCanonicalValue ( key : *const PROPERTYKEY , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); PSCoerceToCanonicalValue(key, ppropvar).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -313,7 +313,7 @@ pub unsafe fn PSCreateAdapterFromPropertyStore(pps: P0, riid: *const ::windo where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSCreateAdapterFromPropertyStore ( pps : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCreateAdapterFromPropertyStore ( pps : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSCreateAdapterFromPropertyStore(pps.into().abi(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -322,26 +322,26 @@ pub unsafe fn PSCreateDelayedMultiplexPropertyStore(flags: GETPROPERTYSTOREF where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSCreateDelayedMultiplexPropertyStore ( flags : GETPROPERTYSTOREFLAGS , pdpsf : * mut::core::ffi::c_void , rgstoreids : *const u32 , cstores : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCreateDelayedMultiplexPropertyStore ( flags : GETPROPERTYSTOREFLAGS , pdpsf : * mut::core::ffi::c_void , rgstoreids : *const u32 , cstores : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSCreateDelayedMultiplexPropertyStore(flags, pdpsf.into().abi(), ::core::mem::transmute(rgstoreids.as_ptr()), rgstoreids.len() as _, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[inline] pub unsafe fn PSCreateMemoryPropertyStore(riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSCreateMemoryPropertyStore ( riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCreateMemoryPropertyStore ( riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSCreateMemoryPropertyStore(riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[inline] pub unsafe fn PSCreateMultiplexPropertyStore(prgpunkstores: &[::core::option::Option<::windows::core::IUnknown>], riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSCreateMultiplexPropertyStore ( prgpunkstores : *const * mut::core::ffi::c_void , cstores : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCreateMultiplexPropertyStore ( prgpunkstores : *const * mut::core::ffi::c_void , cstores : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSCreateMultiplexPropertyStore(::core::mem::transmute(prgpunkstores.as_ptr()), prgpunkstores.len() as _, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PSCreatePropertyChangeArray(rgpropkey: ::core::option::Option<*const PROPERTYKEY>, rgflags: ::core::option::Option<*const PKA_FLAGS>, rgpropvar: ::core::option::Option<*const super::super::super::System::Com::StructuredStorage::PROPVARIANT>, cchanges: u32, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSCreatePropertyChangeArray ( rgpropkey : *const PROPERTYKEY , rgflags : *const PKA_FLAGS , rgpropvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , cchanges : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCreatePropertyChangeArray ( rgpropkey : *const PROPERTYKEY , rgflags : *const PKA_FLAGS , rgpropvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , cchanges : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSCreatePropertyChangeArray(::core::mem::transmute(rgpropkey.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgflags.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rgpropvar.unwrap_or(::std::ptr::null())), cchanges, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -350,7 +350,7 @@ pub unsafe fn PSCreatePropertyStoreFromObject(punk: P0, grfmode: u32, riid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSCreatePropertyStoreFromObject ( punk : * mut::core::ffi::c_void , grfmode : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCreatePropertyStoreFromObject ( punk : * mut::core::ffi::c_void , grfmode : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSCreatePropertyStoreFromObject(punk.into().abi(), grfmode, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -360,34 +360,34 @@ pub unsafe fn PSCreatePropertyStoreFromPropertySetStorage(ppss: P0, grfmode: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSCreatePropertyStoreFromPropertySetStorage ( ppss : * mut::core::ffi::c_void , grfmode : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCreatePropertyStoreFromPropertySetStorage ( ppss : * mut::core::ffi::c_void , grfmode : u32 , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSCreatePropertyStoreFromPropertySetStorage(ppss.into().abi(), grfmode, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PSCreateSimplePropertyChange(flags: PKA_FLAGS, key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSCreateSimplePropertyChange ( flags : PKA_FLAGS , key : *const PROPERTYKEY , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSCreateSimplePropertyChange ( flags : PKA_FLAGS , key : *const PROPERTYKEY , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSCreateSimplePropertyChange(flags, key, propvar, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[inline] pub unsafe fn PSEnumeratePropertyDescriptions(filteron: PROPDESC_ENUMFILTER, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSEnumeratePropertyDescriptions ( filteron : PROPDESC_ENUMFILTER , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSEnumeratePropertyDescriptions ( filteron : PROPDESC_ENUMFILTER , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSEnumeratePropertyDescriptions(filteron, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PSFormatForDisplay(propkey: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS, pwsztext: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSFormatForDisplay ( propkey : *const PROPERTYKEY , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pdfflags : PROPDESC_FORMAT_FLAGS , pwsztext : :: windows::core::PWSTR , cchtext : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSFormatForDisplay ( propkey : *const PROPERTYKEY , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pdfflags : PROPDESC_FORMAT_FLAGS , pwsztext : :: windows::core::PWSTR , cchtext : u32 ) -> :: windows::core::HRESULT ); PSFormatForDisplay(propkey, propvar, pdfflags, ::core::mem::transmute(pwsztext.as_ptr()), pwsztext.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PSFormatForDisplayAlloc(key: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "propsys.dll""system" fn PSFormatForDisplayAlloc ( key : *const PROPERTYKEY , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pdff : PROPDESC_FORMAT_FLAGS , ppszdisplay : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSFormatForDisplayAlloc ( key : *const PROPERTYKEY , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pdff : PROPDESC_FORMAT_FLAGS , ppszdisplay : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PSFormatForDisplayAlloc(key, propvar, pdff, &mut result__).from_abi(result__) } @@ -398,7 +398,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSFormatPropertyValue ( pps : * mut::core::ffi::c_void , ppd : * mut::core::ffi::c_void , pdff : PROPDESC_FORMAT_FLAGS , ppszdisplay : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSFormatPropertyValue ( pps : * mut::core::ffi::c_void , ppd : * mut::core::ffi::c_void , pdff : PROPDESC_FORMAT_FLAGS , ppszdisplay : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PSFormatPropertyValue(pps.into().abi(), ppd.into().abi(), pdff, &mut result__).from_abi(result__) } @@ -406,7 +406,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PSGetImageReferenceForValue(propkey: *const PROPERTYKEY, propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetImageReferenceForValue ( propkey : *const PROPERTYKEY , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ppszimageres : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetImageReferenceForValue ( propkey : *const PROPERTYKEY , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ppszimageres : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PSGetImageReferenceForValue(propkey, propvar, &mut result__).from_abi(result__) } @@ -418,7 +418,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetItemPropertyHandler ( punkitem : * mut::core::ffi::c_void , freadwrite : super::super::super::Foundation:: BOOL , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetItemPropertyHandler ( punkitem : * mut::core::ffi::c_void , freadwrite : super::super::super::Foundation:: BOOL , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSGetItemPropertyHandler(punkitem.into().abi(), freadwrite.into(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] @@ -430,13 +430,13 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetItemPropertyHandlerWithCreateObject ( punkitem : * mut::core::ffi::c_void , freadwrite : super::super::super::Foundation:: BOOL , punkcreateobject : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetItemPropertyHandlerWithCreateObject ( punkitem : * mut::core::ffi::c_void , freadwrite : super::super::super::Foundation:: BOOL , punkcreateobject : * mut::core::ffi::c_void , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSGetItemPropertyHandlerWithCreateObject(punkitem.into().abi(), freadwrite.into(), punkcreateobject.into().abi(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[inline] pub unsafe fn PSGetNameFromPropertyKey(propkey: *const PROPERTYKEY) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetNameFromPropertyKey ( propkey : *const PROPERTYKEY , ppszcanonicalname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetNameFromPropertyKey ( propkey : *const PROPERTYKEY , ppszcanonicalname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PSGetNameFromPropertyKey(propkey, &mut result__).from_abi(result__) } @@ -447,14 +447,14 @@ pub unsafe fn PSGetNamedPropertyFromPropertyStorage(psps: *const SERIALIZEDP where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetNamedPropertyFromPropertyStorage ( psps : *const SERIALIZEDPROPSTORAGE , cb : u32 , pszname : :: windows::core::PCWSTR , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetNamedPropertyFromPropertyStorage ( psps : *const SERIALIZEDPROPSTORAGE , cb : u32 , pszname : :: windows::core::PCWSTR , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSGetNamedPropertyFromPropertyStorage(psps, cb, pszname.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[inline] pub unsafe fn PSGetPropertyDescription(propkey: *const PROPERTYKEY, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetPropertyDescription ( propkey : *const PROPERTYKEY , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetPropertyDescription ( propkey : *const PROPERTYKEY , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSGetPropertyDescription(propkey, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -463,7 +463,7 @@ pub unsafe fn PSGetPropertyDescriptionByName(pszcanonicalname: P0, riid: *co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetPropertyDescriptionByName ( pszcanonicalname : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetPropertyDescriptionByName ( pszcanonicalname : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSGetPropertyDescriptionByName(pszcanonicalname.into().abi(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -472,14 +472,14 @@ pub unsafe fn PSGetPropertyDescriptionListFromString(pszproplist: P0, riid: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetPropertyDescriptionListFromString ( pszproplist : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetPropertyDescriptionListFromString ( pszproplist : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSGetPropertyDescriptionListFromString(pszproplist.into().abi(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PSGetPropertyFromPropertyStorage(psps: *const SERIALIZEDPROPSTORAGE, cb: u32, rpkey: *const PROPERTYKEY) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetPropertyFromPropertyStorage ( psps : *const SERIALIZEDPROPSTORAGE , cb : u32 , rpkey : *const PROPERTYKEY , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetPropertyFromPropertyStorage ( psps : *const SERIALIZEDPROPSTORAGE , cb : u32 , rpkey : *const PROPERTYKEY , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSGetPropertyFromPropertyStorage(psps, cb, rpkey, &mut result__).from_abi(result__) } @@ -489,13 +489,13 @@ pub unsafe fn PSGetPropertyKeyFromName(pszname: P0, ppropkey: *mut PROPERTYK where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetPropertyKeyFromName ( pszname : :: windows::core::PCWSTR , ppropkey : *mut PROPERTYKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetPropertyKeyFromName ( pszname : :: windows::core::PCWSTR , ppropkey : *mut PROPERTYKEY ) -> :: windows::core::HRESULT ); PSGetPropertyKeyFromName(pszname.into().abi(), ppropkey).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[inline] pub unsafe fn PSGetPropertySystem(riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetPropertySystem ( riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetPropertySystem ( riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSGetPropertySystem(riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -506,7 +506,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSGetPropertyValue ( pps : * mut::core::ffi::c_void , ppd : * mut::core::ffi::c_void , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSGetPropertyValue ( pps : * mut::core::ffi::c_void , ppd : * mut::core::ffi::c_void , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSGetPropertyValue(pps.into().abi(), ppd.into().abi(), &mut result__).from_abi(result__) } @@ -516,7 +516,7 @@ pub unsafe fn PSLookupPropertyHandlerCLSID(pszfilepath: P0) -> ::windows::co where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSLookupPropertyHandlerCLSID ( pszfilepath : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSLookupPropertyHandlerCLSID ( pszfilepath : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); PSLookupPropertyHandlerCLSID(pszfilepath.into().abi(), &mut result__).from_abi(result__) } @@ -528,7 +528,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_Delete ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_Delete ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PSPropertyBag_Delete(propbag.into().abi(), propname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -539,7 +539,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadBOOL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadBOOL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadBOOL(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -551,7 +551,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadBSTR ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadBSTR ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); PSPropertyBag_ReadBSTR(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -563,7 +563,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadDWORD ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadDWORD ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadDWORD(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -575,7 +575,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadGUID ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadGUID ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); PSPropertyBag_ReadGUID(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -587,7 +587,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadInt ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadInt ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadInt(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -599,7 +599,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadLONG ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadLONG ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadLONG(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -611,7 +611,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadPOINTL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut super::super::super::Foundation:: POINTL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadPOINTL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut super::super::super::Foundation:: POINTL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadPOINTL(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -623,7 +623,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadPOINTS ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut super::super::super::Foundation:: POINTS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadPOINTS ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut super::super::super::Foundation:: POINTS ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadPOINTS(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -635,7 +635,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadPropertyKey ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut PROPERTYKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadPropertyKey ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut PROPERTYKEY ) -> :: windows::core::HRESULT ); PSPropertyBag_ReadPropertyKey(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -646,7 +646,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadRECTL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut super::super::super::Foundation:: RECTL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadRECTL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut super::super::super::Foundation:: RECTL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadRECTL(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -658,7 +658,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadSHORT ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadSHORT ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadSHORT(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -670,7 +670,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadStr ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : :: windows::core::PWSTR , charactercount : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadStr ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : :: windows::core::PWSTR , charactercount : i32 ) -> :: windows::core::HRESULT ); PSPropertyBag_ReadStr(propbag.into().abi(), propname.into().abi(), ::core::mem::transmute(value.as_ptr()), value.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -681,7 +681,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadStrAlloc ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadStrAlloc ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PSPropertyBag_ReadStrAlloc(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -693,7 +693,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadStream ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadStream ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadStream(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -705,7 +705,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadType ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , var : *mut super::super::super::System::Com:: VARIANT , r#type : super::super::super::System::Com:: VARENUM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadType ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , var : *mut super::super::super::System::Com:: VARIANT , r#type : super::super::super::System::Com:: VARENUM ) -> :: windows::core::HRESULT ); PSPropertyBag_ReadType(propbag.into().abi(), propname.into().abi(), var, r#type).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -716,7 +716,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadULONGLONG ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadULONGLONG ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PSPropertyBag_ReadULONGLONG(propbag.into().abi(), propname.into().abi(), &mut result__).from_abi(result__) } @@ -728,7 +728,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadUnknown ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_ReadUnknown ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSPropertyBag_ReadUnknown(propbag.into().abi(), propname.into().abi(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -740,7 +740,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteBOOL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteBOOL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteBOOL(propbag.into().abi(), propname.into().abi(), value.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -751,7 +751,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteBSTR ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteBSTR ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteBSTR(propbag.into().abi(), propname.into().abi(), ::core::mem::transmute_copy(value)).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -762,7 +762,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteDWORD ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteDWORD ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : u32 ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteDWORD(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -773,7 +773,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteGUID ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteGUID ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteGUID(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -784,7 +784,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteInt ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteInt ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : i32 ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteInt(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -795,7 +795,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteLONG ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteLONG ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : i32 ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteLONG(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -806,7 +806,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WritePOINTL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const super::super::super::Foundation:: POINTL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WritePOINTL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const super::super::super::Foundation:: POINTL ) -> :: windows::core::HRESULT ); PSPropertyBag_WritePOINTL(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -817,7 +817,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WritePOINTS ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const super::super::super::Foundation:: POINTS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WritePOINTS ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const super::super::super::Foundation:: POINTS ) -> :: windows::core::HRESULT ); PSPropertyBag_WritePOINTS(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -828,7 +828,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WritePropertyKey ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const PROPERTYKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WritePropertyKey ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const PROPERTYKEY ) -> :: windows::core::HRESULT ); PSPropertyBag_WritePropertyKey(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -839,7 +839,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteRECTL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const super::super::super::Foundation:: RECTL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteRECTL ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : *const super::super::super::Foundation:: RECTL ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteRECTL(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -850,7 +850,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteSHORT ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteSHORT ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : i16 ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteSHORT(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -862,7 +862,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteStr ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteStr ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteStr(propbag.into().abi(), propname.into().abi(), value.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -874,7 +874,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteStream ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteStream ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteStream(propbag.into().abi(), propname.into().abi(), value.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -885,7 +885,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteULONGLONG ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteULONGLONG ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , value : u64 ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteULONGLONG(propbag.into().abi(), propname.into().abi(), value).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -897,7 +897,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteUnknown ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyBag_WriteUnknown ( propbag : * mut::core::ffi::c_void , propname : :: windows::core::PCWSTR , punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); PSPropertyBag_WriteUnknown(propbag.into().abi(), propname.into().abi(), punk.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -906,13 +906,13 @@ pub unsafe fn PSPropertyKeyFromString(pszstring: P0, pkey: *mut PROPERTYKEY) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSPropertyKeyFromString ( pszstring : :: windows::core::PCWSTR , pkey : *mut PROPERTYKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSPropertyKeyFromString ( pszstring : :: windows::core::PCWSTR , pkey : *mut PROPERTYKEY ) -> :: windows::core::HRESULT ); PSPropertyKeyFromString(pszstring.into().abi(), pkey).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[inline] pub unsafe fn PSRefreshPropertySchema() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSRefreshPropertySchema ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSRefreshPropertySchema ( ) -> :: windows::core::HRESULT ); PSRefreshPropertySchema().ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -921,7 +921,7 @@ pub unsafe fn PSRegisterPropertySchema(pszpath: P0) -> ::windows::core::Resu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSRegisterPropertySchema ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSRegisterPropertySchema ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PSRegisterPropertySchema(pszpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -932,13 +932,13 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSSetPropertyValue ( pps : * mut::core::ffi::c_void , ppd : * mut::core::ffi::c_void , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSSetPropertyValue ( pps : * mut::core::ffi::c_void , ppd : * mut::core::ffi::c_void , propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); PSSetPropertyValue(pps.into().abi(), ppd.into().abi(), propvar).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[inline] pub unsafe fn PSStringFromPropertyKey(pkey: *const PROPERTYKEY, psz: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PSStringFromPropertyKey ( pkey : *const PROPERTYKEY , psz : :: windows::core::PWSTR , cch : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSStringFromPropertyKey ( pkey : *const PROPERTYKEY , psz : :: windows::core::PWSTR , cch : u32 ) -> :: windows::core::HRESULT ); PSStringFromPropertyKey(pkey, ::core::mem::transmute(psz.as_ptr()), psz.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -947,7 +947,7 @@ pub unsafe fn PSUnregisterPropertySchema(pszpath: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PSUnregisterPropertySchema ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PSUnregisterPropertySchema ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PSUnregisterPropertySchema(pszpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] @@ -957,7 +957,7 @@ pub unsafe fn PifMgr_CloseProperties(hprops: P0, flopt: u32) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn PifMgr_CloseProperties ( hprops : super::super::super::Foundation:: HANDLE , flopt : u32 ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "shell32.dll""system" fn PifMgr_CloseProperties ( hprops : super::super::super::Foundation:: HANDLE , flopt : u32 ) -> super::super::super::Foundation:: HANDLE ); PifMgr_CloseProperties(hprops.into(), flopt) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] @@ -968,7 +968,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PifMgr_GetProperties ( hprops : super::super::super::Foundation:: HANDLE , pszgroup : :: windows::core::PCSTR , lpprops : *mut ::core::ffi::c_void , cbprops : i32 , flopt : u32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn PifMgr_GetProperties ( hprops : super::super::super::Foundation:: HANDLE , pszgroup : :: windows::core::PCSTR , lpprops : *mut ::core::ffi::c_void , cbprops : i32 , flopt : u32 ) -> i32 ); PifMgr_GetProperties(hprops.into(), pszgroup.into().abi(), ::core::mem::transmute(lpprops.unwrap_or(::std::ptr::null_mut())), cbprops, flopt) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] @@ -979,7 +979,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PifMgr_OpenProperties ( pszapp : :: windows::core::PCWSTR , pszpif : :: windows::core::PCWSTR , hinf : u32 , flopt : u32 ) -> super::super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "shell32.dll""system" fn PifMgr_OpenProperties ( pszapp : :: windows::core::PCWSTR , pszpif : :: windows::core::PCWSTR , hinf : u32 , flopt : u32 ) -> super::super::super::Foundation:: HANDLE ); PifMgr_OpenProperties(pszapp.into().abi(), pszpif.into().abi(), hinf, flopt) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] @@ -990,28 +990,28 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PifMgr_SetProperties ( hprops : super::super::super::Foundation:: HANDLE , pszgroup : :: windows::core::PCSTR , lpprops : *const ::core::ffi::c_void , cbprops : i32 , flopt : u32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn PifMgr_SetProperties ( hprops : super::super::super::Foundation:: HANDLE , pszgroup : :: windows::core::PCSTR , lpprops : *const ::core::ffi::c_void , cbprops : i32 , flopt : u32 ) -> i32 ); PifMgr_SetProperties(hprops.into(), pszgroup.into().abi(), lpprops, cbprops, flopt) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantChangeType(ppropvardest: *mut super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvarsrc: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, flags: PROPVAR_CHANGE_FLAGS, vt: super::super::super::System::Com::VARENUM) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantChangeType ( ppropvardest : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT , propvarsrc : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , flags : PROPVAR_CHANGE_FLAGS , vt : super::super::super::System::Com:: VARENUM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantChangeType ( ppropvardest : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT , propvarsrc : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , flags : PROPVAR_CHANGE_FLAGS , vt : super::super::super::System::Com:: VARENUM ) -> :: windows::core::HRESULT ); PropVariantChangeType(ppropvardest, propvarsrc, flags, vt).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantCompareEx(propvar1: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, propvar2: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, unit: PROPVAR_COMPARE_UNIT, flags: PROPVAR_COMPARE_FLAGS) -> i32 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantCompareEx ( propvar1 : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , propvar2 : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , unit : PROPVAR_COMPARE_UNIT , flags : PROPVAR_COMPARE_FLAGS ) -> i32 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantCompareEx ( propvar1 : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , propvar2 : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , unit : PROPVAR_COMPARE_UNIT , flags : PROPVAR_COMPARE_FLAGS ) -> i32 ); PropVariantCompareEx(propvar1, propvar2, unit, flags) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetBooleanElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetBooleanElem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pfval : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetBooleanElem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pfval : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetBooleanElem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1019,7 +1019,7 @@ pub unsafe fn PropVariantGetBooleanElem(propvar: *const super::super::super::Sys #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetDoubleElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetDoubleElem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetDoubleElem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetDoubleElem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1027,14 +1027,14 @@ pub unsafe fn PropVariantGetDoubleElem(propvar: *const super::super::super::Syst #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetElementCount(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> u32 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetElementCount ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> u32 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetElementCount ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> u32 ); PropVariantGetElementCount(propvar) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetFileTimeElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetFileTimeElem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pftval : *mut super::super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetFileTimeElem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pftval : *mut super::super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetFileTimeElem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1042,7 +1042,7 @@ pub unsafe fn PropVariantGetFileTimeElem(propvar: *const super::super::super::Sy #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetInt16Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetInt16Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetInt16Elem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1050,7 +1050,7 @@ pub unsafe fn PropVariantGetInt16Elem(propvar: *const super::super::super::Syste #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetInt32Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetInt32Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetInt32Elem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1058,7 +1058,7 @@ pub unsafe fn PropVariantGetInt32Elem(propvar: *const super::super::super::Syste #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetInt64Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetInt64Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetInt64Elem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1066,7 +1066,7 @@ pub unsafe fn PropVariantGetInt64Elem(propvar: *const super::super::super::Syste #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetStringElem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetStringElem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , ppszval : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetStringElem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , ppszval : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PropVariantGetStringElem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1074,7 +1074,7 @@ pub unsafe fn PropVariantGetStringElem(propvar: *const super::super::super::Syst #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetUInt16Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetUInt16Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetUInt16Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetUInt16Elem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1082,7 +1082,7 @@ pub unsafe fn PropVariantGetUInt16Elem(propvar: *const super::super::super::Syst #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetUInt32Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetUInt32Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetUInt32Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetUInt32Elem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1090,7 +1090,7 @@ pub unsafe fn PropVariantGetUInt32Elem(propvar: *const super::super::super::Syst #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantGetUInt64Elem(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantGetUInt64Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantGetUInt64Elem ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ielem : u32 , pnval : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantGetUInt64Elem(propvar, ielem, &mut result__).from_abi(result__) } @@ -1098,7 +1098,7 @@ pub unsafe fn PropVariantGetUInt64Elem(propvar: *const super::super::super::Syst #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToBSTR(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<::windows::core::BSTR> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToBSTR ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToBSTR ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pbstrout : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::BSTR>(); PropVariantToBSTR(propvar, &mut result__).from_abi(result__) } @@ -1106,7 +1106,7 @@ pub unsafe fn PropVariantToBSTR(propvar: *const super::super::super::System::Com #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToBoolean(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToBoolean ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pfret : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToBoolean ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pfret : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToBoolean(propvarin, &mut result__).from_abi(result__) } @@ -1114,14 +1114,14 @@ pub unsafe fn PropVariantToBoolean(propvarin: *const super::super::super::System #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToBooleanVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgf: &mut [super::super::super::Foundation::BOOL], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToBooleanVector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgf : *mut super::super::super::Foundation:: BOOL , crgf : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToBooleanVector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgf : *mut super::super::super::Foundation:: BOOL , crgf : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToBooleanVector(propvar, ::core::mem::transmute(prgf.as_ptr()), prgf.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToBooleanVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgf: *mut *mut super::super::super::Foundation::BOOL, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToBooleanVectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgf : *mut *mut super::super::super::Foundation:: BOOL , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToBooleanVectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgf : *mut *mut super::super::super::Foundation:: BOOL , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToBooleanVectorAlloc(propvar, pprgf, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1131,21 +1131,21 @@ pub unsafe fn PropVariantToBooleanWithDefault(propvarin: *const super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToBooleanWithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , fdefault : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToBooleanWithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , fdefault : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); PropVariantToBooleanWithDefault(propvarin, fdefault.into()) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToBuffer(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pv: *mut ::core::ffi::c_void, cb: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToBuffer ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pv : *mut ::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToBuffer ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pv : *mut ::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); PropVariantToBuffer(propvar, pv, cb).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToDouble(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToDouble ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pdblret : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToDouble ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pdblret : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToDouble(propvarin, &mut result__).from_abi(result__) } @@ -1153,28 +1153,28 @@ pub unsafe fn PropVariantToDouble(propvarin: *const super::super::super::System: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToDoubleVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: &mut [f64], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToDoubleVector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut f64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToDoubleVector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut f64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToDoubleVector(propvar, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToDoubleVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut f64, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToDoubleVectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut f64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToDoubleVectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut f64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToDoubleVectorAlloc(propvar, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToDoubleWithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, dbldefault: f64) -> f64 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToDoubleWithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , dbldefault : f64 ) -> f64 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToDoubleWithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , dbldefault : f64 ) -> f64 ); PropVariantToDoubleWithDefault(propvarin, dbldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToFileTime(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstfout: PSTIME_FLAGS) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToFileTime ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pstfout : PSTIME_FLAGS , pftout : *mut super::super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToFileTime ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pstfout : PSTIME_FLAGS , pftout : *mut super::super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToFileTime(propvar, pstfout, &mut result__).from_abi(result__) } @@ -1182,21 +1182,21 @@ pub unsafe fn PropVariantToFileTime(propvar: *const super::super::super::System: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToFileTimeVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgft: &mut [super::super::super::Foundation::FILETIME], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToFileTimeVector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgft : *mut super::super::super::Foundation:: FILETIME , crgft : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToFileTimeVector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgft : *mut super::super::super::Foundation:: FILETIME , crgft : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToFileTimeVector(propvar, ::core::mem::transmute(prgft.as_ptr()), prgft.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToFileTimeVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgft: *mut *mut super::super::super::Foundation::FILETIME, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToFileTimeVectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgft : *mut *mut super::super::super::Foundation:: FILETIME , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToFileTimeVectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgft : *mut *mut super::super::super::Foundation:: FILETIME , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToFileTimeVectorAlloc(propvar, pprgft, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToGUID(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToGUID ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToGUID ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); PropVariantToGUID(propvar, &mut result__).from_abi(result__) } @@ -1204,7 +1204,7 @@ pub unsafe fn PropVariantToGUID(propvar: *const super::super::super::System::Com #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt16 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , piret : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt16 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , piret : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToInt16(propvarin, &mut result__).from_abi(result__) } @@ -1212,28 +1212,28 @@ pub unsafe fn PropVariantToInt16(propvarin: *const super::super::super::System:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt16Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: &mut [i16], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt16Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut i16 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt16Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut i16 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToInt16Vector(propvar, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt16VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i16, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt16VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut i16 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt16VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut i16 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToInt16VectorAlloc(propvar, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt16WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, idefault: i16) -> i16 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt16WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , idefault : i16 ) -> i16 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt16WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , idefault : i16 ) -> i16 ); PropVariantToInt16WithDefault(propvarin, idefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt32(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt32 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , plret : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt32 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , plret : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToInt32(propvarin, &mut result__).from_abi(result__) } @@ -1241,28 +1241,28 @@ pub unsafe fn PropVariantToInt32(propvarin: *const super::super::super::System:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt32Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: &mut [i32], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt32Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut i32 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt32Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut i32 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToInt32Vector(propvar, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt32VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i32, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt32VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut i32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt32VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut i32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToInt32VectorAlloc(propvar, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt32WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ldefault: i32) -> i32 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt32WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ldefault : i32 ) -> i32 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt32WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ldefault : i32 ) -> i32 ); PropVariantToInt32WithDefault(propvarin, ldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt64(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt64 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pllret : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt64 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pllret : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToInt64(propvarin, &mut result__).from_abi(result__) } @@ -1270,42 +1270,42 @@ pub unsafe fn PropVariantToInt64(propvarin: *const super::super::super::System:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt64Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: &mut [i64], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt64Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut i64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt64Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut i64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToInt64Vector(propvar, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt64VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut i64, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt64VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut i64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt64VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut i64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToInt64VectorAlloc(propvar, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToInt64WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, lldefault: i64) -> i64 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToInt64WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , lldefault : i64 ) -> i64 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToInt64WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , lldefault : i64 ) -> i64 ); PropVariantToInt64WithDefault(propvarin, lldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn PropVariantToStrRet(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pstrret: *mut super::Common::STRRET) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToStrRet ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pstrret : *mut super::Common:: STRRET ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToStrRet ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pstrret : *mut super::Common:: STRRET ) -> :: windows::core::HRESULT ); PropVariantToStrRet(propvar, pstrret).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToString(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, psz: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToString ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , psz : :: windows::core::PWSTR , cch : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToString ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , psz : :: windows::core::PWSTR , cch : u32 ) -> :: windows::core::HRESULT ); PropVariantToString(propvar, ::core::mem::transmute(psz.as_ptr()), psz.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToStringAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToStringAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ppszout : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToStringAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ppszout : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PropVariantToStringAlloc(propvar, &mut result__).from_abi(result__) } @@ -1313,14 +1313,14 @@ pub unsafe fn PropVariantToStringAlloc(propvar: *const super::super::super::Syst #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToStringVector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgsz: &mut [::windows::core::PWSTR], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToStringVector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgsz : *mut :: windows::core::PWSTR , crgsz : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToStringVector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgsz : *mut :: windows::core::PWSTR , crgsz : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToStringVector(propvar, ::core::mem::transmute(prgsz.as_ptr()), prgsz.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToStringVectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgsz: *mut *mut ::windows::core::PWSTR, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToStringVectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgsz : *mut *mut :: windows::core::PWSTR , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToStringVectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgsz : *mut *mut :: windows::core::PWSTR , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToStringVectorAlloc(propvar, pprgsz, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1330,14 +1330,14 @@ pub unsafe fn PropVariantToStringWithDefault(propvarin: *const super::super: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToStringWithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pszdefault : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToStringWithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pszdefault : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); PropVariantToStringWithDefault(propvarin, pszdefault.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt16(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt16 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , puiret : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt16 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , puiret : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToUInt16(propvarin, &mut result__).from_abi(result__) } @@ -1345,28 +1345,28 @@ pub unsafe fn PropVariantToUInt16(propvarin: *const super::super::super::System: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt16Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: &mut [u16], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt16Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut u16 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt16Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut u16 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToUInt16Vector(propvar, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt16VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u16, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt16VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut u16 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt16VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut u16 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToUInt16VectorAlloc(propvar, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt16WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, uidefault: u16) -> u16 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt16WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , uidefault : u16 ) -> u16 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt16WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , uidefault : u16 ) -> u16 ); PropVariantToUInt16WithDefault(propvarin, uidefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt32(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt32 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pulret : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt32 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pulret : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToUInt32(propvarin, &mut result__).from_abi(result__) } @@ -1374,28 +1374,28 @@ pub unsafe fn PropVariantToUInt32(propvarin: *const super::super::super::System: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt32Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: &mut [u32], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt32Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut u32 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt32Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut u32 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToUInt32Vector(propvar, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt32VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u32, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt32VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt32VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToUInt32VectorAlloc(propvar, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt32WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, uldefault: u32) -> u32 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt32WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , uldefault : u32 ) -> u32 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt32WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , uldefault : u32 ) -> u32 ); PropVariantToUInt32WithDefault(propvarin, uldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt64(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt64 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pullret : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt64 ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pullret : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToUInt64(propvarin, &mut result__).from_abi(result__) } @@ -1403,28 +1403,28 @@ pub unsafe fn PropVariantToUInt64(propvarin: *const super::super::super::System: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt64Vector(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, prgn: &mut [u64], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt64Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut u64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt64Vector ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , prgn : *mut u64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToUInt64Vector(propvar, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt64VectorAlloc(propvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, pprgn: *mut *mut u64, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt64VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut u64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt64VectorAlloc ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pprgn : *mut *mut u64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); PropVariantToUInt64VectorAlloc(propvar, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] #[inline] pub unsafe fn PropVariantToUInt64WithDefault(propvarin: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT, ulldefault: u64) -> u64 { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToUInt64WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ulldefault : u64 ) -> u64 ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToUInt64WithDefault ( propvarin : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , ulldefault : u64 ) -> u64 ); PropVariantToUInt64WithDefault(propvarin, ulldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn PropVariantToVariant(ppropvar: *const super::super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToVariant ( ppropvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToVariant ( ppropvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , pvar : *mut super::super::super::System::Com:: VARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); PropVariantToVariant(ppropvar, &mut result__).from_abi(result__) } @@ -1435,7 +1435,7 @@ pub unsafe fn PropVariantToWinRTPropertyValue(propvar: *const super::super::s where T: ::windows::core::Interface, { - ::windows::core::link ! ( "propsys.dll""system" fn PropVariantToWinRTPropertyValue ( propvar : *const super::super::super::System::Com::StructuredStorage:: PROPVARIANT , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn PropVariantToWinRTPropertyValue ( propvar : *const super::super::super::System::Com::StructuredStorage:: 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__) } @@ -1446,7 +1446,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHAddDefaultPropertiesByExt ( pszext : :: windows::core::PCWSTR , ppropstore : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHAddDefaultPropertiesByExt ( pszext : :: windows::core::PCWSTR , ppropstore : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SHAddDefaultPropertiesByExt(pszext.into().abi(), ppropstore.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`*"] @@ -1456,14 +1456,14 @@ pub unsafe fn SHGetPropertyStoreForWindow(hwnd: P0, riid: *const ::windows:: where P0: ::std::convert::Into, { - ::windows::core::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 ); + ::windows::imp::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 ); SHGetPropertyStoreForWindow(hwnd.into(), riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn SHGetPropertyStoreFromIDList(pidl: *const super::Common::ITEMIDLIST, flags: GETPROPERTYSTOREFLAGS, riid: *const ::windows::core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetPropertyStoreFromIDList ( pidl : *const super::Common:: ITEMIDLIST , flags : GETPROPERTYSTOREFLAGS , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetPropertyStoreFromIDList ( pidl : *const super::Common:: ITEMIDLIST , flags : GETPROPERTYSTOREFLAGS , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SHGetPropertyStoreFromIDList(pidl, flags, riid, ppv).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com\"`*"] @@ -1475,7 +1475,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pbc.into().abi(), flags, &::IID, &mut result__).from_abi(result__) } @@ -1486,7 +1486,7 @@ pub unsafe fn SHPropStgCreate(psstg: P0, fmtid: *const ::windows::core::GUID where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHPropStgCreate ( psstg : * mut::core::ffi::c_void , fmtid : *const :: windows::core::GUID , pclsid : *const :: windows::core::GUID , grfflags : u32 , grfmode : u32 , dwdisposition : u32 , ppstg : *mut * mut::core::ffi::c_void , pucodepage : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHPropStgCreate ( psstg : * mut::core::ffi::c_void , fmtid : *const :: windows::core::GUID , pclsid : *const :: windows::core::GUID , grfflags : u32 , grfmode : u32 , dwdisposition : u32 , ppstg : *mut * mut::core::ffi::c_void , pucodepage : *mut u32 ) -> :: windows::core::HRESULT ); SHPropStgCreate(psstg.into().abi(), fmtid, ::core::mem::transmute(pclsid.unwrap_or(::std::ptr::null())), grfflags, grfmode, dwdisposition, ::core::mem::transmute(ppstg), ::core::mem::transmute(pucodepage.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1496,7 +1496,7 @@ pub unsafe fn SHPropStgReadMultiple(pps: P0, ucodepage: u32, cpspec: u32, rg where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHPropStgReadMultiple ( pps : * mut::core::ffi::c_void , ucodepage : u32 , cpspec : u32 , rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC , rgvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHPropStgReadMultiple ( pps : * mut::core::ffi::c_void , ucodepage : u32 , cpspec : u32 , rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC , rgvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); SHPropStgReadMultiple(pps.into().abi(), ucodepage, cpspec, rgpspec, rgvar).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1506,21 +1506,21 @@ pub unsafe fn SHPropStgWriteMultiple(pps: P0, pucodepage: ::core::option::Op where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHPropStgWriteMultiple ( pps : * mut::core::ffi::c_void , pucodepage : *mut u32 , cpspec : u32 , rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC , rgvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT , propidnamefirst : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHPropStgWriteMultiple ( pps : * mut::core::ffi::c_void , pucodepage : *mut u32 , cpspec : u32 , rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC , rgvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT , propidnamefirst : u32 ) -> :: windows::core::HRESULT ); SHPropStgWriteMultiple(pps.into().abi(), ::core::mem::transmute(pucodepage.unwrap_or(::std::ptr::null_mut())), cpspec, rgpspec, rgvar, propidnamefirst).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantCompare(var1: *const super::super::super::System::Com::VARIANT, var2: *const super::super::super::System::Com::VARIANT) -> i32 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantCompare ( var1 : *const super::super::super::System::Com:: VARIANT , var2 : *const super::super::super::System::Com:: VARIANT ) -> i32 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantCompare ( var1 : *const super::super::super::System::Com:: VARIANT , var2 : *const super::super::super::System::Com:: VARIANT ) -> i32 ); VariantCompare(var1, var2) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetBooleanElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetBooleanElem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pfval : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetBooleanElem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pfval : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantGetBooleanElem(var, ielem, &mut result__).from_abi(result__) } @@ -1528,7 +1528,7 @@ pub unsafe fn VariantGetBooleanElem(var: *const super::super::super::System::Com #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetDoubleElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetDoubleElem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetDoubleElem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantGetDoubleElem(var, ielem, &mut result__).from_abi(result__) } @@ -1536,14 +1536,14 @@ pub unsafe fn VariantGetDoubleElem(var: *const super::super::super::System::Com: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetElementCount(varin: *const super::super::super::System::Com::VARIANT) -> u32 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetElementCount ( varin : *const super::super::super::System::Com:: VARIANT ) -> u32 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetElementCount ( varin : *const super::super::super::System::Com:: VARIANT ) -> u32 ); VariantGetElementCount(varin) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetInt16Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetInt16Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetInt16Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantGetInt16Elem(var, ielem, &mut result__).from_abi(result__) } @@ -1551,7 +1551,7 @@ pub unsafe fn VariantGetInt16Elem(var: *const super::super::super::System::Com:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetInt32Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetInt32Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetInt32Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantGetInt32Elem(var, ielem, &mut result__).from_abi(result__) } @@ -1559,7 +1559,7 @@ pub unsafe fn VariantGetInt32Elem(var: *const super::super::super::System::Com:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetInt64Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetInt64Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetInt64Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantGetInt64Elem(var, ielem, &mut result__).from_abi(result__) } @@ -1567,7 +1567,7 @@ pub unsafe fn VariantGetInt64Elem(var: *const super::super::super::System::Com:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetStringElem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetStringElem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , ppszval : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetStringElem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , ppszval : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); VariantGetStringElem(var, ielem, &mut result__).from_abi(result__) } @@ -1575,7 +1575,7 @@ pub unsafe fn VariantGetStringElem(var: *const super::super::super::System::Com: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetUInt16Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetUInt16Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetUInt16Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantGetUInt16Elem(var, ielem, &mut result__).from_abi(result__) } @@ -1583,7 +1583,7 @@ pub unsafe fn VariantGetUInt16Elem(var: *const super::super::super::System::Com: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetUInt32Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetUInt32Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetUInt32Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantGetUInt32Elem(var, ielem, &mut result__).from_abi(result__) } @@ -1591,7 +1591,7 @@ pub unsafe fn VariantGetUInt32Elem(var: *const super::super::super::System::Com: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantGetUInt64Elem(var: *const super::super::super::System::Com::VARIANT, ielem: u32) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantGetUInt64Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantGetUInt64Elem ( var : *const super::super::super::System::Com:: VARIANT , ielem : u32 , pnval : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantGetUInt64Elem(var, ielem, &mut result__).from_abi(result__) } @@ -1599,7 +1599,7 @@ pub unsafe fn VariantGetUInt64Elem(var: *const super::super::super::System::Com: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToBoolean(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToBoolean ( varin : *const super::super::super::System::Com:: VARIANT , pfret : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToBoolean ( varin : *const super::super::super::System::Com:: VARIANT , pfret : *mut super::super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToBoolean(varin, &mut result__).from_abi(result__) } @@ -1607,14 +1607,14 @@ pub unsafe fn VariantToBoolean(varin: *const super::super::super::System::Com::V #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToBooleanArray(var: *const super::super::super::System::Com::VARIANT, prgf: &mut [super::super::super::Foundation::BOOL], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToBooleanArray ( var : *const super::super::super::System::Com:: VARIANT , prgf : *mut super::super::super::Foundation:: BOOL , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToBooleanArray ( var : *const super::super::super::System::Com:: VARIANT , prgf : *mut super::super::super::Foundation:: BOOL , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToBooleanArray(var, ::core::mem::transmute(prgf.as_ptr()), prgf.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToBooleanArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgf: *mut *mut super::super::super::Foundation::BOOL, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToBooleanArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgf : *mut *mut super::super::super::Foundation:: BOOL , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToBooleanArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgf : *mut *mut super::super::super::Foundation:: BOOL , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToBooleanArrayAlloc(var, pprgf, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1624,28 +1624,28 @@ pub unsafe fn VariantToBooleanWithDefault(varin: *const super::super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToBooleanWithDefault ( varin : *const super::super::super::System::Com:: VARIANT , fdefault : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToBooleanWithDefault ( varin : *const super::super::super::System::Com:: VARIANT , fdefault : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); VariantToBooleanWithDefault(varin, fdefault.into()) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToBuffer(varin: *const super::super::super::System::Com::VARIANT, pv: *mut ::core::ffi::c_void, cb: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToBuffer ( varin : *const super::super::super::System::Com:: VARIANT , pv : *mut ::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToBuffer ( varin : *const super::super::super::System::Com:: VARIANT , pv : *mut ::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); VariantToBuffer(varin, pv, cb).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToDosDateTime(varin: *const super::super::super::System::Com::VARIANT, pwdate: *mut u16, pwtime: *mut u16) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToDosDateTime ( varin : *const super::super::super::System::Com:: VARIANT , pwdate : *mut u16 , pwtime : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToDosDateTime ( varin : *const super::super::super::System::Com:: VARIANT , pwdate : *mut u16 , pwtime : *mut u16 ) -> :: windows::core::HRESULT ); VariantToDosDateTime(varin, pwdate, pwtime).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToDouble(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToDouble ( varin : *const super::super::super::System::Com:: VARIANT , pdblret : *mut f64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToDouble ( varin : *const super::super::super::System::Com:: VARIANT , pdblret : *mut f64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToDouble(varin, &mut result__).from_abi(result__) } @@ -1653,28 +1653,28 @@ pub unsafe fn VariantToDouble(varin: *const super::super::super::System::Com::VA #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToDoubleArray(var: *const super::super::super::System::Com::VARIANT, prgn: &mut [f64], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToDoubleArray ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut f64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToDoubleArray ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut f64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToDoubleArray(var, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToDoubleArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut f64, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToDoubleArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut f64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToDoubleArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut f64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToDoubleArrayAlloc(var, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToDoubleWithDefault(varin: *const super::super::super::System::Com::VARIANT, dbldefault: f64) -> f64 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToDoubleWithDefault ( varin : *const super::super::super::System::Com:: VARIANT , dbldefault : f64 ) -> f64 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToDoubleWithDefault ( varin : *const super::super::super::System::Com:: VARIANT , dbldefault : f64 ) -> f64 ); VariantToDoubleWithDefault(varin, dbldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToFileTime(varin: *const super::super::super::System::Com::VARIANT, stfout: PSTIME_FLAGS) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToFileTime ( varin : *const super::super::super::System::Com:: VARIANT , stfout : PSTIME_FLAGS , pftout : *mut super::super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToFileTime ( varin : *const super::super::super::System::Com:: VARIANT , stfout : PSTIME_FLAGS , pftout : *mut super::super::super::Foundation:: FILETIME ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToFileTime(varin, stfout, &mut result__).from_abi(result__) } @@ -1682,7 +1682,7 @@ pub unsafe fn VariantToFileTime(varin: *const super::super::super::System::Com:: #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToGUID(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<::windows::core::GUID> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToGUID ( varin : *const super::super::super::System::Com:: VARIANT , pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToGUID ( varin : *const super::super::super::System::Com:: VARIANT , pguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); VariantToGUID(varin, &mut result__).from_abi(result__) } @@ -1690,7 +1690,7 @@ pub unsafe fn VariantToGUID(varin: *const super::super::super::System::Com::VARI #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt16(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt16 ( varin : *const super::super::super::System::Com:: VARIANT , piret : *mut i16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt16 ( varin : *const super::super::super::System::Com:: VARIANT , piret : *mut i16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToInt16(varin, &mut result__).from_abi(result__) } @@ -1698,28 +1698,28 @@ pub unsafe fn VariantToInt16(varin: *const super::super::super::System::Com::VAR #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt16Array(var: *const super::super::super::System::Com::VARIANT, prgn: &mut [i16], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt16Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut i16 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt16Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut i16 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToInt16Array(var, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt16ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut i16, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt16ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut i16 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt16ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut i16 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToInt16ArrayAlloc(var, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt16WithDefault(varin: *const super::super::super::System::Com::VARIANT, idefault: i16) -> i16 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt16WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , idefault : i16 ) -> i16 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt16WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , idefault : i16 ) -> i16 ); VariantToInt16WithDefault(varin, idefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt32(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt32 ( varin : *const super::super::super::System::Com:: VARIANT , plret : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt32 ( varin : *const super::super::super::System::Com:: VARIANT , plret : *mut i32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToInt32(varin, &mut result__).from_abi(result__) } @@ -1727,28 +1727,28 @@ pub unsafe fn VariantToInt32(varin: *const super::super::super::System::Com::VAR #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt32Array(var: *const super::super::super::System::Com::VARIANT, prgn: &mut [i32], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt32Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut i32 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt32Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut i32 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToInt32Array(var, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt32ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut i32, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt32ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut i32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt32ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut i32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToInt32ArrayAlloc(var, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt32WithDefault(varin: *const super::super::super::System::Com::VARIANT, ldefault: i32) -> i32 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt32WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , ldefault : i32 ) -> i32 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt32WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , ldefault : i32 ) -> i32 ); VariantToInt32WithDefault(varin, ldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt64(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt64 ( varin : *const super::super::super::System::Com:: VARIANT , pllret : *mut i64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt64 ( varin : *const super::super::super::System::Com:: VARIANT , pllret : *mut i64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToInt64(varin, &mut result__).from_abi(result__) } @@ -1756,28 +1756,28 @@ pub unsafe fn VariantToInt64(varin: *const super::super::super::System::Com::VAR #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt64Array(var: *const super::super::super::System::Com::VARIANT, prgn: &mut [i64], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt64Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut i64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt64Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut i64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToInt64Array(var, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt64ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut i64, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt64ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut i64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt64ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut i64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToInt64ArrayAlloc(var, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToInt64WithDefault(varin: *const super::super::super::System::Com::VARIANT, lldefault: i64) -> i64 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToInt64WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , lldefault : i64 ) -> i64 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToInt64WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , lldefault : i64 ) -> i64 ); VariantToInt64WithDefault(varin, lldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToPropVariant(pvar: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToPropVariant ( pvar : *const super::super::super::System::Com:: VARIANT , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToPropVariant ( pvar : *const super::super::super::System::Com:: VARIANT , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToPropVariant(pvar, &mut result__).from_abi(result__) } @@ -1785,21 +1785,21 @@ pub unsafe fn VariantToPropVariant(pvar: *const super::super::super::System::Com #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn VariantToStrRet(varin: *const super::super::super::System::Com::VARIANT, pstrret: *mut super::Common::STRRET) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToStrRet ( varin : *const super::super::super::System::Com:: VARIANT , pstrret : *mut super::Common:: STRRET ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToStrRet ( varin : *const super::super::super::System::Com:: VARIANT , pstrret : *mut super::Common:: STRRET ) -> :: windows::core::HRESULT ); VariantToStrRet(varin, pstrret).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToString(varin: *const super::super::super::System::Com::VARIANT, pszbuf: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToString ( varin : *const super::super::super::System::Com:: VARIANT , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToString ( varin : *const super::super::super::System::Com:: VARIANT , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::HRESULT ); VariantToString(varin, ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToStringAlloc(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToStringAlloc ( varin : *const super::super::super::System::Com:: VARIANT , ppszbuf : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToStringAlloc ( varin : *const super::super::super::System::Com:: VARIANT , ppszbuf : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); VariantToStringAlloc(varin, &mut result__).from_abi(result__) } @@ -1807,14 +1807,14 @@ pub unsafe fn VariantToStringAlloc(varin: *const super::super::super::System::Co #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToStringArray(var: *const super::super::super::System::Com::VARIANT, prgsz: &mut [::windows::core::PWSTR], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToStringArray ( var : *const super::super::super::System::Com:: VARIANT , prgsz : *mut :: windows::core::PWSTR , crgsz : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToStringArray ( var : *const super::super::super::System::Com:: VARIANT , prgsz : *mut :: windows::core::PWSTR , crgsz : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToStringArray(var, ::core::mem::transmute(prgsz.as_ptr()), prgsz.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToStringArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgsz: *mut *mut ::windows::core::PWSTR, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToStringArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgsz : *mut *mut :: windows::core::PWSTR , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToStringArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgsz : *mut *mut :: windows::core::PWSTR , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToStringArrayAlloc(var, pprgsz, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -1824,14 +1824,14 @@ pub unsafe fn VariantToStringWithDefault(varin: *const super::super::super:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToStringWithDefault ( varin : *const super::super::super::System::Com:: VARIANT , pszdefault : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToStringWithDefault ( varin : *const super::super::super::System::Com:: VARIANT , pszdefault : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); VariantToStringWithDefault(varin, pszdefault.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt16(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt16 ( varin : *const super::super::super::System::Com:: VARIANT , puiret : *mut u16 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt16 ( varin : *const super::super::super::System::Com:: VARIANT , puiret : *mut u16 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToUInt16(varin, &mut result__).from_abi(result__) } @@ -1839,28 +1839,28 @@ pub unsafe fn VariantToUInt16(varin: *const super::super::super::System::Com::VA #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt16Array(var: *const super::super::super::System::Com::VARIANT, prgn: &mut [u16], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt16Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut u16 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt16Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut u16 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToUInt16Array(var, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt16ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut u16, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt16ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut u16 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt16ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut u16 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToUInt16ArrayAlloc(var, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt16WithDefault(varin: *const super::super::super::System::Com::VARIANT, uidefault: u16) -> u16 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt16WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , uidefault : u16 ) -> u16 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt16WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , uidefault : u16 ) -> u16 ); VariantToUInt16WithDefault(varin, uidefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt32(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt32 ( varin : *const super::super::super::System::Com:: VARIANT , pulret : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt32 ( varin : *const super::super::super::System::Com:: VARIANT , pulret : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToUInt32(varin, &mut result__).from_abi(result__) } @@ -1868,28 +1868,28 @@ pub unsafe fn VariantToUInt32(varin: *const super::super::super::System::Com::VA #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt32Array(var: *const super::super::super::System::Com::VARIANT, prgn: &mut [u32], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt32Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut u32 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt32Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut u32 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToUInt32Array(var, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt32ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut u32, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt32ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt32ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToUInt32ArrayAlloc(var, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt32WithDefault(varin: *const super::super::super::System::Com::VARIANT, uldefault: u32) -> u32 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt32WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , uldefault : u32 ) -> u32 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt32WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , uldefault : u32 ) -> u32 ); VariantToUInt32WithDefault(varin, uldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt64(varin: *const super::super::super::System::Com::VARIANT) -> ::windows::core::Result { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt64 ( varin : *const super::super::super::System::Com:: VARIANT , pullret : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt64 ( varin : *const super::super::super::System::Com:: VARIANT , pullret : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); VariantToUInt64(varin, &mut result__).from_abi(result__) } @@ -1897,21 +1897,21 @@ pub unsafe fn VariantToUInt64(varin: *const super::super::super::System::Com::VA #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt64Array(var: *const super::super::super::System::Com::VARIANT, prgn: &mut [u64], pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt64Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut u64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt64Array ( var : *const super::super::super::System::Com:: VARIANT , prgn : *mut u64 , crgn : u32 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToUInt64Array(var, ::core::mem::transmute(prgn.as_ptr()), prgn.len() as _, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt64ArrayAlloc(var: *const super::super::super::System::Com::VARIANT, pprgn: *mut *mut u64, pcelem: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt64ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut u64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt64ArrayAlloc ( var : *const super::super::super::System::Com:: VARIANT , pprgn : *mut *mut u64 , pcelem : *mut u32 ) -> :: windows::core::HRESULT ); VariantToUInt64ArrayAlloc(var, pprgn, pcelem).ok() } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] #[inline] pub unsafe fn VariantToUInt64WithDefault(varin: *const super::super::super::System::Com::VARIANT, ulldefault: u64) -> u64 { - ::windows::core::link ! ( "propsys.dll""system" fn VariantToUInt64WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , ulldefault : u64 ) -> u64 ); + ::windows::imp::link ! ( "propsys.dll""system" fn VariantToUInt64WithDefault ( varin : *const super::super::super::System::Com:: VARIANT , ulldefault : u64 ) -> u64 ); VariantToUInt64WithDefault(varin, ulldefault) } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1921,7 +1921,7 @@ pub unsafe fn WinRTPropertyValueToPropVariant(punkpropertyvalue: P0) -> ::wi where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "propsys.dll""system" fn WinRTPropertyValueToPropVariant ( punkpropertyvalue : * mut::core::ffi::c_void , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "propsys.dll""system" fn WinRTPropertyValueToPropVariant ( punkpropertyvalue : * mut::core::ffi::c_void , ppropvar : *mut super::super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); WinRTPropertyValueToPropVariant(punkpropertyvalue.into().abi(), &mut result__).from_abi(result__) } @@ -1938,7 +1938,7 @@ impl ICreateObject { (::windows::core::Vtable::vtable(self).CreateObject)(::windows::core::Vtable::as_raw(self), clsid, punkouter.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICreateObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1994,7 +1994,7 @@ impl IDelayedPropertyStoreFactory { (::windows::core::Vtable::vtable(self).GetDelayedPropertyStore)(::windows::core::Vtable::as_raw(self), flags, dwstoreid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDelayedPropertyStoreFactory, ::windows::core::IUnknown, IPropertyStoreFactory); +::windows::imp::interface_hierarchy!(IDelayedPropertyStoreFactory, ::windows::core::IUnknown, IPropertyStoreFactory); impl ::core::cmp::PartialEq for IDelayedPropertyStoreFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2034,7 +2034,7 @@ impl IInitializeWithFile { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pszfilepath.into().abi(), grfmode).ok() } } -::windows::core::interface_hierarchy!(IInitializeWithFile, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeWithFile, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeWithFile { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2076,7 +2076,7 @@ impl IInitializeWithStream { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pstream.into().abi(), grfmode).ok() } } -::windows::core::interface_hierarchy!(IInitializeWithStream, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeWithStream, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeWithStream { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2138,7 +2138,7 @@ impl INamedPropertyStore { (::windows::core::Vtable::vtable(self).GetNameAt)(::windows::core::Vtable::as_raw(self), iprop, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(INamedPropertyStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INamedPropertyStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INamedPropertyStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2187,7 +2187,7 @@ impl IObjectWithPropertyKey { (::windows::core::Vtable::vtable(self).GetPropertyKey)(::windows::core::Vtable::as_raw(self), pkey).ok() } } -::windows::core::interface_hierarchy!(IObjectWithPropertyKey, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectWithPropertyKey, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectWithPropertyKey { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2231,7 +2231,7 @@ impl IPersistSerializedPropStorage { (::windows::core::Vtable::vtable(self).GetPropertyStorage)(::windows::core::Vtable::as_raw(self), ppsps, pcb).ok() } } -::windows::core::interface_hierarchy!(IPersistSerializedPropStorage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPersistSerializedPropStorage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPersistSerializedPropStorage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2283,7 +2283,7 @@ impl IPersistSerializedPropStorage2 { (::windows::core::Vtable::vtable(self).GetPropertyStorageBuffer)(::windows::core::Vtable::as_raw(self), psps, cb, pcbwritten).ok() } } -::windows::core::interface_hierarchy!(IPersistSerializedPropStorage2, ::windows::core::IUnknown, IPersistSerializedPropStorage); +::windows::imp::interface_hierarchy!(IPersistSerializedPropStorage2, ::windows::core::IUnknown, IPersistSerializedPropStorage); impl ::core::cmp::PartialEq for IPersistSerializedPropStorage2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2330,7 +2330,7 @@ impl IPropertyChange { (::windows::core::Vtable::vtable(self).ApplyToPropVariant)(::windows::core::Vtable::as_raw(self), propvarin, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyChange, ::windows::core::IUnknown, IObjectWithPropertyKey); +::windows::imp::interface_hierarchy!(IPropertyChange, ::windows::core::IUnknown, IObjectWithPropertyKey); impl ::core::cmp::PartialEq for IPropertyChange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2402,7 +2402,7 @@ impl IPropertyChangeArray { (::windows::core::Vtable::vtable(self).IsKeyInArray)(::windows::core::Vtable::as_raw(self), key).ok() } } -::windows::core::interface_hierarchy!(IPropertyChangeArray, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyChangeArray, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyChangeArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2539,7 +2539,7 @@ impl IPropertyDescription { (::windows::core::Vtable::vtable(self).IsValueCanonical)(::windows::core::Vtable::as_raw(self), propvar).ok() } } -::windows::core::interface_hierarchy!(IPropertyDescription, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyDescription, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyDescription { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2714,7 +2714,7 @@ impl IPropertyDescription2 { (::windows::core::Vtable::vtable(self).GetImageReferenceForValue)(::windows::core::Vtable::as_raw(self), propvar, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyDescription2, ::windows::core::IUnknown, IPropertyDescription); +::windows::imp::interface_hierarchy!(IPropertyDescription2, ::windows::core::IUnknown, IPropertyDescription); impl ::core::cmp::PartialEq for IPropertyDescription2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2862,7 +2862,7 @@ impl IPropertyDescriptionAliasInfo { (::windows::core::Vtable::vtable(self).GetAdditionalSortByAliases)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyDescriptionAliasInfo, ::windows::core::IUnknown, IPropertyDescription); +::windows::imp::interface_hierarchy!(IPropertyDescriptionAliasInfo, ::windows::core::IUnknown, IPropertyDescription); impl ::core::cmp::PartialEq for IPropertyDescriptionAliasInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2908,7 +2908,7 @@ impl IPropertyDescriptionList { (::windows::core::Vtable::vtable(self).GetAt)(::windows::core::Vtable::as_raw(self), ielem, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyDescriptionList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyDescriptionList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyDescriptionList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3048,7 +3048,7 @@ impl IPropertyDescriptionRelatedPropertyInfo { (::windows::core::Vtable::vtable(self).GetRelatedProperty)(::windows::core::Vtable::as_raw(self), pszrelationshipname.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyDescriptionRelatedPropertyInfo, ::windows::core::IUnknown, IPropertyDescription); +::windows::imp::interface_hierarchy!(IPropertyDescriptionRelatedPropertyInfo, ::windows::core::IUnknown, IPropertyDescription); impl ::core::cmp::PartialEq for IPropertyDescriptionRelatedPropertyInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3195,7 +3195,7 @@ impl IPropertyDescriptionSearchInfo { (::windows::core::Vtable::vtable(self).GetMaxSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyDescriptionSearchInfo, ::windows::core::IUnknown, IPropertyDescription); +::windows::imp::interface_hierarchy!(IPropertyDescriptionSearchInfo, ::windows::core::IUnknown, IPropertyDescription); impl ::core::cmp::PartialEq for IPropertyDescriptionSearchInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3258,7 +3258,7 @@ impl IPropertyEnumType { (::windows::core::Vtable::vtable(self).GetDisplayText)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyEnumType, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyEnumType, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyEnumType { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3335,7 +3335,7 @@ impl IPropertyEnumType2 { (::windows::core::Vtable::vtable(self).GetImageReference)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyEnumType2, ::windows::core::IUnknown, IPropertyEnumType); +::windows::imp::interface_hierarchy!(IPropertyEnumType2, ::windows::core::IUnknown, IPropertyEnumType); impl ::core::cmp::PartialEq for IPropertyEnumType2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3393,7 +3393,7 @@ impl IPropertyEnumTypeList { (::windows::core::Vtable::vtable(self).FindMatchingIndex)(::windows::core::Vtable::as_raw(self), propvarcmp, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyEnumTypeList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyEnumTypeList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyEnumTypeList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3454,7 +3454,7 @@ impl IPropertyStore { (::windows::core::Vtable::vtable(self).Commit)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPropertyStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3536,7 +3536,7 @@ impl IPropertyStoreCache { (::windows::core::Vtable::vtable(self).SetValueAndState)(::windows::core::Vtable::as_raw(self), key, ppropvar, state).ok() } } -::windows::core::interface_hierarchy!(IPropertyStoreCache, ::windows::core::IUnknown, IPropertyStore); +::windows::imp::interface_hierarchy!(IPropertyStoreCache, ::windows::core::IUnknown, IPropertyStore); impl ::core::cmp::PartialEq for IPropertyStoreCache { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3582,7 +3582,7 @@ impl IPropertyStoreCapabilities { (::windows::core::Vtable::vtable(self).IsPropertyWritable)(::windows::core::Vtable::as_raw(self), key).ok() } } -::windows::core::interface_hierarchy!(IPropertyStoreCapabilities, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyStoreCapabilities, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyStoreCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3631,7 +3631,7 @@ impl IPropertyStoreFactory { (::windows::core::Vtable::vtable(self).GetPropertyStoreForKeys)(::windows::core::Vtable::as_raw(self), rgkeys, ckeys, flags, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPropertyStoreFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyStoreFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyStoreFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3722,7 +3722,7 @@ impl IPropertySystem { (::windows::core::Vtable::vtable(self).RefreshPropertySchema)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPropertySystem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertySystem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertySystem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3773,7 +3773,7 @@ impl IPropertySystemChangeNotify { (::windows::core::Vtable::vtable(self).SchemaRefreshed)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPropertySystemChangeNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertySystemChangeNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertySystemChangeNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3838,7 +3838,7 @@ impl IPropertyUI { (::windows::core::Vtable::vtable(self).GetHelpInfo)(::windows::core::Vtable::as_raw(self), fmtid, pid, ::core::mem::transmute(pwszhelpfile.as_ptr()), pwszhelpfile.len() as _, puhelpid).ok() } } -::windows::core::interface_hierarchy!(IPropertyUI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyUI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 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 4be5f49773..b399003dc5 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -8,7 +8,7 @@ pub unsafe fn AssocCreate(clsid: ::windows::core::GUID) -> ::windows::core::R where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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__) } @@ -19,7 +19,7 @@ pub unsafe fn AssocCreateForClasses(rgclasses: &[ASSOCIATIONELEMENT]) -> ::wi where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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() as _, &::IID, &mut result__).from_abi(result__) } @@ -30,7 +30,7 @@ pub unsafe fn AssocGetDetailsOfPropKey(psf: P0, pidl: *const Common::ITEMIDL where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn AssocGetDetailsOfPropKey ( psf : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , pkey : *const PropertiesSystem:: PROPERTYKEY , pv : *mut super::super::System::Com:: VARIANT , pffoundpropkey : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn AssocGetDetailsOfPropKey ( psf : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , pkey : *const PropertiesSystem:: PROPERTYKEY , pv : *mut super::super::System::Com:: VARIANT , pffoundpropkey : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); AssocGetDetailsOfPropKey(psf.into().abi(), pidl, pkey, pv, ::core::mem::transmute(pffoundpropkey.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -40,7 +40,7 @@ pub unsafe fn AssocGetPerceivedType(pszext: P0, ptype: *mut Common::PERCEIVE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn AssocGetPerceivedType ( pszext : :: windows::core::PCWSTR , ptype : *mut Common:: PERCEIVED , pflag : *mut u32 , ppsztype : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn AssocGetPerceivedType ( pszext : :: windows::core::PCWSTR , ptype : *mut Common:: PERCEIVED , pflag : *mut u32 , ppsztype : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); AssocGetPerceivedType(pszext.into().abi(), ptype, pflag, ::core::mem::transmute(ppsztype.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -50,7 +50,7 @@ pub unsafe fn AssocIsDangerous(pszassoc: P0) -> super::super::Foundation::BO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn AssocIsDangerous ( pszassoc : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn AssocIsDangerous ( pszassoc : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AssocIsDangerous(pszassoc.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -61,7 +61,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn AssocQueryKeyA ( flags : ASSOCF , key : ASSOCKEY , pszassoc : :: windows::core::PCSTR , pszextra : :: windows::core::PCSTR , phkeyout : *mut super::super::System::Registry:: HKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn AssocQueryKeyA ( flags : ASSOCF , key : ASSOCKEY , pszassoc : :: windows::core::PCSTR , pszextra : :: windows::core::PCSTR , phkeyout : *mut super::super::System::Registry:: HKEY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AssocQueryKeyA(flags, key, pszassoc.into().abi(), pszextra.into().abi(), &mut result__).from_abi(result__) } @@ -73,7 +73,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn AssocQueryKeyW ( flags : ASSOCF , key : ASSOCKEY , pszassoc : :: windows::core::PCWSTR , pszextra : :: windows::core::PCWSTR , phkeyout : *mut super::super::System::Registry:: HKEY ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn AssocQueryKeyW ( flags : ASSOCF , key : ASSOCKEY , pszassoc : :: windows::core::PCWSTR , pszextra : :: windows::core::PCWSTR , phkeyout : *mut super::super::System::Registry:: HKEY ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); AssocQueryKeyW(flags, key, pszassoc.into().abi(), pszextra.into().abi(), &mut result__).from_abi(result__) } @@ -84,7 +84,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn AssocQueryStringA ( flags : ASSOCF , str : ASSOCSTR , pszassoc : :: windows::core::PCSTR , pszextra : :: windows::core::PCSTR , pszout : :: windows::core::PSTR , pcchout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn AssocQueryStringA ( flags : ASSOCF , str : ASSOCSTR , pszassoc : :: windows::core::PCSTR , pszextra : :: windows::core::PCSTR , pszout : :: windows::core::PSTR , pcchout : *mut u32 ) -> :: windows::core::HRESULT ); AssocQueryStringA(flags, str, pszassoc.into().abi(), pszextra.into().abi(), ::core::mem::transmute(pszout), pcchout).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -95,7 +95,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn AssocQueryStringByKeyA ( flags : ASSOCF , str : ASSOCSTR , hkassoc : super::super::System::Registry:: HKEY , pszextra : :: windows::core::PCSTR , pszout : :: windows::core::PSTR , pcchout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn AssocQueryStringByKeyA ( flags : ASSOCF , str : ASSOCSTR , hkassoc : super::super::System::Registry:: HKEY , pszextra : :: windows::core::PCSTR , pszout : :: windows::core::PSTR , pcchout : *mut u32 ) -> :: windows::core::HRESULT ); AssocQueryStringByKeyA(flags, str, hkassoc.into(), pszextra.into().abi(), ::core::mem::transmute(pszout), pcchout).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -106,7 +106,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn AssocQueryStringByKeyW ( flags : ASSOCF , str : ASSOCSTR , hkassoc : super::super::System::Registry:: HKEY , pszextra : :: windows::core::PCWSTR , pszout : :: windows::core::PWSTR , pcchout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn AssocQueryStringByKeyW ( flags : ASSOCF , str : ASSOCSTR , hkassoc : super::super::System::Registry:: HKEY , pszextra : :: windows::core::PCWSTR , pszout : :: windows::core::PWSTR , pcchout : *mut u32 ) -> :: windows::core::HRESULT ); AssocQueryStringByKeyW(flags, str, hkassoc.into(), pszextra.into().abi(), ::core::mem::transmute(pszout), pcchout).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -116,7 +116,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn AssocQueryStringW ( flags : ASSOCF , str : ASSOCSTR , pszassoc : :: windows::core::PCWSTR , pszextra : :: windows::core::PCWSTR , pszout : :: windows::core::PWSTR , pcchout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn AssocQueryStringW ( flags : ASSOCF , str : ASSOCSTR , pszassoc : :: windows::core::PCWSTR , pszextra : :: windows::core::PCWSTR , pszout : :: windows::core::PWSTR , pcchout : *mut u32 ) -> :: windows::core::HRESULT ); AssocQueryStringW(flags, str, pszassoc.into().abi(), pszextra.into().abi(), ::core::mem::transmute(pszout), pcchout).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -127,7 +127,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn CDefFolderMenu_Create2 ( pidlfolder : *const Common:: ITEMIDLIST , hwnd : super::super::Foundation:: HWND , cidl : u32 , apidl : *const *const Common:: ITEMIDLIST , psf : * mut::core::ffi::c_void , pfn : LPFNDFMCALLBACK , nkeys : u32 , ahkeys : *const super::super::System::Registry:: HKEY , ppcm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn CDefFolderMenu_Create2 ( pidlfolder : *const Common:: ITEMIDLIST , hwnd : super::super::Foundation:: HWND , cidl : u32 , apidl : *const *const Common:: ITEMIDLIST , psf : * mut::core::ffi::c_void , pfn : LPFNDFMCALLBACK , nkeys : u32 , ahkeys : *const super::super::System::Registry:: HKEY , ppcm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CDefFolderMenu_Create2(::core::mem::transmute(pidlfolder.unwrap_or(::std::ptr::null())), hwnd.into(), apidl.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(apidl.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), psf.into().abi(), pfn, ahkeys.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ahkeys.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } @@ -135,7 +135,7 @@ where #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn CIDLData_CreateFromIDArray(pidlfolder: *const Common::ITEMIDLIST, apidl: ::core::option::Option<&[*const Common::ITEMIDLIST]>) -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn CIDLData_CreateFromIDArray ( pidlfolder : *const Common:: ITEMIDLIST , cidl : u32 , apidl : *const *const Common:: ITEMIDLIST , ppdtobj : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn CIDLData_CreateFromIDArray ( pidlfolder : *const Common:: ITEMIDLIST , cidl : u32 , apidl : *const *const Common:: ITEMIDLIST , ppdtobj : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); CIDLData_CreateFromIDArray(pidlfolder, apidl.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(apidl.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } @@ -143,14 +143,14 @@ pub unsafe fn CIDLData_CreateFromIDArray(pidlfolder: *const Common::ITEMIDLIST, #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ChrCmpIA(w1: u16, w2: u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn ChrCmpIA ( w1 : u16 , w2 : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn ChrCmpIA ( w1 : u16 , w2 : u16 ) -> super::super::Foundation:: BOOL ); ChrCmpIA(w1, w2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ChrCmpIW(w1: u16, w2: u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn ChrCmpIW ( w1 : u16 , w2 : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn ChrCmpIW ( w1 : u16 , w2 : u16 ) -> super::super::Foundation:: BOOL ); ChrCmpIW(w1, w2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -161,14 +161,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn ColorAdjustLuma ( clrrgb : super::super::Foundation:: COLORREF , n : i32 , fscale : super::super::Foundation:: BOOL ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn ColorAdjustLuma ( clrrgb : super::super::Foundation:: COLORREF , n : i32 , fscale : super::super::Foundation:: BOOL ) -> super::super::Foundation:: COLORREF ); ColorAdjustLuma(clrrgb.into(), n, fscale.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ColorHLSToRGB(whue: u16, wluminance: u16, wsaturation: u16) -> super::super::Foundation::COLORREF { - ::windows::core::link ! ( "shlwapi.dll""system" fn ColorHLSToRGB ( whue : u16 , wluminance : u16 , wsaturation : u16 ) -> super::super::Foundation:: COLORREF ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn ColorHLSToRGB ( whue : u16 , wluminance : u16 , wsaturation : u16 ) -> super::super::Foundation:: COLORREF ); ColorHLSToRGB(whue, wluminance, wsaturation) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -178,7 +178,7 @@ pub unsafe fn ColorRGBToHLS(clrrgb: P0, pwhue: *mut u16, pwluminance: *mut u where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn ColorRGBToHLS ( clrrgb : super::super::Foundation:: COLORREF , pwhue : *mut u16 , pwluminance : *mut u16 , pwsaturation : *mut u16 ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn ColorRGBToHLS ( clrrgb : super::super::Foundation:: COLORREF , pwhue : *mut u16 , pwluminance : *mut u16 , pwsaturation : *mut u16 ) -> ( ) ); ColorRGBToHLS(clrrgb.into(), pwhue, pwluminance, pwsaturation) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -187,7 +187,7 @@ pub unsafe fn CommandLineToArgvW(lpcmdline: P0, pnumargs: *mut i32) -> *mut where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn CommandLineToArgvW ( lpcmdline : :: windows::core::PCWSTR , pnumargs : *mut i32 ) -> *mut :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shell32.dll""system" fn CommandLineToArgvW ( lpcmdline : :: windows::core::PCWSTR , pnumargs : *mut i32 ) -> *mut :: windows::core::PWSTR ); CommandLineToArgvW(lpcmdline.into().abi(), pnumargs) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -199,7 +199,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn ConnectToConnectionPoint ( punk : * mut::core::ffi::c_void , riidevent : *const :: windows::core::GUID , fconnect : super::super::Foundation:: BOOL , punktarget : * mut::core::ffi::c_void , pdwcookie : *mut u32 , ppcpout : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn ConnectToConnectionPoint ( punk : * mut::core::ffi::c_void , riidevent : *const :: windows::core::GUID , fconnect : super::super::Foundation:: BOOL , punktarget : * mut::core::ffi::c_void , pdwcookie : *mut u32 , ppcpout : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); ConnectToConnectionPoint(punk.into().abi(), riidevent, fconnect.into(), punktarget.into().abi(), pdwcookie, ::core::mem::transmute(ppcpout.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -209,7 +209,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn CreateProfile ( pszusersid : :: windows::core::PCWSTR , pszusername : :: windows::core::PCWSTR , pszprofilepath : :: windows::core::PWSTR , cchprofilepath : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "userenv.dll""system" fn CreateProfile ( pszusersid : :: windows::core::PCWSTR , pszusername : :: windows::core::PCWSTR , pszprofilepath : :: windows::core::PWSTR , cchprofilepath : u32 ) -> :: windows::core::HRESULT ); CreateProfile(pszusersid.into().abi(), pszusername.into().abi(), ::core::mem::transmute(pszprofilepath.as_ptr()), pszprofilepath.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -219,7 +219,7 @@ pub unsafe fn DAD_AutoScroll(hwnd: P0, pad: *mut AUTO_SCROLL_DATA, pptnow: * where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DAD_AutoScroll ( hwnd : super::super::Foundation:: HWND , pad : *mut AUTO_SCROLL_DATA , pptnow : *const super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn DAD_AutoScroll ( hwnd : super::super::Foundation:: HWND , pad : *mut AUTO_SCROLL_DATA , pptnow : *const super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); DAD_AutoScroll(hwnd.into(), pad, pptnow) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -229,7 +229,7 @@ pub unsafe fn DAD_DragEnterEx(hwndtarget: P0, ptstart: super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DAD_DragEnterEx ( hwndtarget : super::super::Foundation:: HWND , ptstart : super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn DAD_DragEnterEx ( hwndtarget : super::super::Foundation:: HWND , ptstart : super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); DAD_DragEnterEx(hwndtarget.into(), ::core::mem::transmute(ptstart)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -240,21 +240,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn DAD_DragEnterEx2 ( hwndtarget : super::super::Foundation:: HWND , ptstart : super::super::Foundation:: POINT , pdtobject : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn DAD_DragEnterEx2 ( hwndtarget : super::super::Foundation:: HWND , ptstart : super::super::Foundation:: POINT , pdtobject : * mut::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); DAD_DragEnterEx2(hwndtarget.into(), ::core::mem::transmute(ptstart), pdtobject.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DAD_DragLeave() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn DAD_DragLeave ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn DAD_DragLeave ( ) -> super::super::Foundation:: BOOL ); DAD_DragLeave() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DAD_DragMove(pt: super::super::Foundation::POINT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn DAD_DragMove ( pt : super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn DAD_DragMove ( pt : super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); DAD_DragMove(::core::mem::transmute(pt)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -264,7 +264,7 @@ pub unsafe fn DAD_SetDragImage(him: P0, pptoffset: *mut super::super::Founda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DAD_SetDragImage ( him : super::Controls:: HIMAGELIST , pptoffset : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn DAD_SetDragImage ( him : super::Controls:: HIMAGELIST , pptoffset : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); DAD_SetDragImage(him.into(), pptoffset) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -274,7 +274,7 @@ pub unsafe fn DAD_ShowDragImage(fshow: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DAD_ShowDragImage ( fshow : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn DAD_ShowDragImage ( fshow : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); DAD_ShowDragImage(fshow.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -286,7 +286,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn DefSubclassProc ( hwnd : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "comctl32.dll""system" fn DefSubclassProc ( hwnd : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefSubclassProc(hwnd.into(), umsg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -298,7 +298,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn DeleteProfileA ( lpsidstring : :: windows::core::PCSTR , lpprofilepath : :: windows::core::PCSTR , lpcomputername : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn DeleteProfileA ( lpsidstring : :: windows::core::PCSTR , lpprofilepath : :: windows::core::PCSTR , lpcomputername : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); DeleteProfileA(lpsidstring.into().abi(), lpprofilepath.into().abi(), lpcomputername.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -310,19 +310,19 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "userenv.dll""system" fn DeleteProfileW ( lpsidstring : :: windows::core::PCWSTR , lpprofilepath : :: windows::core::PCWSTR , lpcomputername : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn DeleteProfileW ( lpsidstring : :: windows::core::PCWSTR , lpprofilepath : :: windows::core::PCWSTR , lpcomputername : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); DeleteProfileW(lpsidstring.into().abi(), lpprofilepath.into().abi(), lpcomputername.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn DoEnvironmentSubstA(pszsrc: &mut [u8]) -> u32 { - ::windows::core::link ! ( "shell32.dll""system" fn DoEnvironmentSubstA ( pszsrc : :: windows::core::PSTR , cchsrc : u32 ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn DoEnvironmentSubstA ( pszsrc : :: windows::core::PSTR , cchsrc : u32 ) -> u32 ); DoEnvironmentSubstA(::core::mem::transmute(pszsrc.as_ptr()), pszsrc.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn DoEnvironmentSubstW(pszsrc: &mut [u16]) -> u32 { - ::windows::core::link ! ( "shell32.dll""system" fn DoEnvironmentSubstW ( pszsrc : :: windows::core::PWSTR , cchsrc : u32 ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn DoEnvironmentSubstW ( pszsrc : :: windows::core::PWSTR , cchsrc : u32 ) -> u32 ); DoEnvironmentSubstW(::core::mem::transmute(pszsrc.as_ptr()), pszsrc.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -333,7 +333,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DragAcceptFiles ( hwnd : super::super::Foundation:: HWND , faccept : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn DragAcceptFiles ( hwnd : super::super::Foundation:: HWND , faccept : super::super::Foundation:: BOOL ) -> ( ) ); DragAcceptFiles(hwnd.into(), faccept.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -342,7 +342,7 @@ pub unsafe fn DragFinish(hdrop: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DragFinish ( hdrop : HDROP ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn DragFinish ( hdrop : HDROP ) -> ( ) ); DragFinish(hdrop.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -351,7 +351,7 @@ pub unsafe fn DragQueryFileA(hdrop: P0, ifile: u32, lpszfile: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DragQueryFileA ( hdrop : HDROP , ifile : u32 , lpszfile : :: windows::core::PSTR , cch : u32 ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn DragQueryFileA ( hdrop : HDROP , ifile : u32 , lpszfile : :: windows::core::PSTR , cch : u32 ) -> u32 ); DragQueryFileA(hdrop.into(), ifile, ::core::mem::transmute(lpszfile.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszfile.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -360,7 +360,7 @@ pub unsafe fn DragQueryFileW(hdrop: P0, ifile: u32, lpszfile: ::core::option where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DragQueryFileW ( hdrop : HDROP , ifile : u32 , lpszfile : :: windows::core::PWSTR , cch : u32 ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn DragQueryFileW ( hdrop : HDROP , ifile : u32 , lpszfile : :: windows::core::PWSTR , cch : u32 ) -> u32 ); DragQueryFileW(hdrop.into(), ifile, ::core::mem::transmute(lpszfile.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpszfile.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -370,13 +370,13 @@ pub unsafe fn DragQueryPoint(hdrop: P0, ppt: *mut super::super::Foundation:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DragQueryPoint ( hdrop : HDROP , ppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn DragQueryPoint ( hdrop : HDROP , ppt : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); DragQueryPoint(hdrop.into(), ppt) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn DriveType(idrive: i32) -> i32 { - ::windows::core::link ! ( "shell32.dll""system" fn DriveType ( idrive : i32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn DriveType ( idrive : i32 ) -> i32 ); DriveType(idrive) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -387,7 +387,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn DuplicateIcon ( hinst : super::super::Foundation:: HINSTANCE , hicon : super::WindowsAndMessaging:: HICON ) -> super::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "shell32.dll""system" fn DuplicateIcon ( hinst : super::super::Foundation:: HINSTANCE , hicon : super::WindowsAndMessaging:: HICON ) -> super::WindowsAndMessaging:: HICON ); DuplicateIcon(hinst.into(), hicon.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -397,7 +397,7 @@ pub unsafe fn ExtractAssociatedIconA(hinst: P0, psziconpath: &mut [u8; 128], where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn ExtractAssociatedIconA ( hinst : super::super::Foundation:: HINSTANCE , psziconpath : :: windows::core::PSTR , piicon : *mut u16 ) -> super::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "shell32.dll""system" fn ExtractAssociatedIconA ( hinst : super::super::Foundation:: HINSTANCE , psziconpath : :: windows::core::PSTR , piicon : *mut u16 ) -> super::WindowsAndMessaging:: HICON ); ExtractAssociatedIconA(hinst.into(), ::core::mem::transmute(psziconpath.as_ptr()), piicon) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -407,7 +407,7 @@ pub unsafe fn ExtractAssociatedIconExA(hinst: P0, psziconpath: &mut [u8; 128 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn ExtractAssociatedIconExA ( hinst : super::super::Foundation:: HINSTANCE , psziconpath : :: windows::core::PSTR , piiconindex : *mut u16 , piiconid : *mut u16 ) -> super::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "shell32.dll""system" fn ExtractAssociatedIconExA ( hinst : super::super::Foundation:: HINSTANCE , psziconpath : :: windows::core::PSTR , piiconindex : *mut u16 , piiconid : *mut u16 ) -> super::WindowsAndMessaging:: HICON ); ExtractAssociatedIconExA(hinst.into(), ::core::mem::transmute(psziconpath.as_ptr()), piiconindex, piiconid) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -417,7 +417,7 @@ pub unsafe fn ExtractAssociatedIconExW(hinst: P0, psziconpath: &mut [u16; 12 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn ExtractAssociatedIconExW ( hinst : super::super::Foundation:: HINSTANCE , psziconpath : :: windows::core::PWSTR , piiconindex : *mut u16 , piiconid : *mut u16 ) -> super::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "shell32.dll""system" fn ExtractAssociatedIconExW ( hinst : super::super::Foundation:: HINSTANCE , psziconpath : :: windows::core::PWSTR , piiconindex : *mut u16 , piiconid : *mut u16 ) -> super::WindowsAndMessaging:: HICON ); ExtractAssociatedIconExW(hinst.into(), ::core::mem::transmute(psziconpath.as_ptr()), piiconindex, piiconid) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -427,7 +427,7 @@ pub unsafe fn ExtractAssociatedIconW(hinst: P0, psziconpath: &mut [u16; 128] where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn ExtractAssociatedIconW ( hinst : super::super::Foundation:: HINSTANCE , psziconpath : :: windows::core::PWSTR , piicon : *mut u16 ) -> super::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "shell32.dll""system" fn ExtractAssociatedIconW ( hinst : super::super::Foundation:: HINSTANCE , psziconpath : :: windows::core::PWSTR , piicon : *mut u16 ) -> super::WindowsAndMessaging:: HICON ); ExtractAssociatedIconW(hinst.into(), ::core::mem::transmute(psziconpath.as_ptr()), piicon) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -438,7 +438,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn ExtractIconA ( hinst : super::super::Foundation:: HINSTANCE , pszexefilename : :: windows::core::PCSTR , niconindex : u32 ) -> super::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "shell32.dll""system" fn ExtractIconA ( hinst : super::super::Foundation:: HINSTANCE , pszexefilename : :: windows::core::PCSTR , niconindex : u32 ) -> super::WindowsAndMessaging:: HICON ); ExtractIconA(hinst.into(), pszexefilename.into().abi(), niconindex) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -448,7 +448,7 @@ pub unsafe fn ExtractIconExA(lpszfile: P0, niconindex: i32, phiconlarge: ::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn ExtractIconExA ( lpszfile : :: windows::core::PCSTR , niconindex : i32 , phiconlarge : *mut super::WindowsAndMessaging:: HICON , phiconsmall : *mut super::WindowsAndMessaging:: HICON , nicons : u32 ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn ExtractIconExA ( lpszfile : :: windows::core::PCSTR , niconindex : i32 , phiconlarge : *mut super::WindowsAndMessaging:: HICON , phiconsmall : *mut super::WindowsAndMessaging:: HICON , nicons : u32 ) -> u32 ); ExtractIconExA(lpszfile.into().abi(), niconindex, ::core::mem::transmute(phiconlarge.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phiconsmall.unwrap_or(::std::ptr::null_mut())), nicons) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -458,7 +458,7 @@ pub unsafe fn ExtractIconExW(lpszfile: P0, niconindex: i32, phiconlarge: ::c where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn ExtractIconExW ( lpszfile : :: windows::core::PCWSTR , niconindex : i32 , phiconlarge : *mut super::WindowsAndMessaging:: HICON , phiconsmall : *mut super::WindowsAndMessaging:: HICON , nicons : u32 ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn ExtractIconExW ( lpszfile : :: windows::core::PCWSTR , niconindex : i32 , phiconlarge : *mut super::WindowsAndMessaging:: HICON , phiconsmall : *mut super::WindowsAndMessaging:: HICON , nicons : u32 ) -> u32 ); ExtractIconExW(lpszfile.into().abi(), niconindex, ::core::mem::transmute(phiconlarge.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phiconsmall.unwrap_or(::std::ptr::null_mut())), nicons) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -469,7 +469,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn ExtractIconW ( hinst : super::super::Foundation:: HINSTANCE , pszexefilename : :: windows::core::PCWSTR , niconindex : u32 ) -> super::WindowsAndMessaging:: HICON ); + ::windows::imp::link ! ( "shell32.dll""system" fn ExtractIconW ( hinst : super::super::Foundation:: HINSTANCE , pszexefilename : :: windows::core::PCWSTR , niconindex : u32 ) -> super::WindowsAndMessaging:: HICON ); ExtractIconW(hinst.into(), pszexefilename.into().abi(), niconindex) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -480,7 +480,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn FindExecutableA ( lpfile : :: windows::core::PCSTR , lpdirectory : :: windows::core::PCSTR , lpresult : :: windows::core::PSTR ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "shell32.dll""system" fn FindExecutableA ( lpfile : :: windows::core::PCSTR , lpdirectory : :: windows::core::PCSTR , lpresult : :: windows::core::PSTR ) -> super::super::Foundation:: HINSTANCE ); FindExecutableA(lpfile.into().abi(), lpdirectory.into().abi(), ::core::mem::transmute(lpresult.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -491,39 +491,39 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn FindExecutableW ( lpfile : :: windows::core::PCWSTR , lpdirectory : :: windows::core::PCWSTR , lpresult : :: windows::core::PWSTR ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "shell32.dll""system" fn FindExecutableW ( lpfile : :: windows::core::PCWSTR , lpdirectory : :: windows::core::PCWSTR , lpresult : :: windows::core::PWSTR ) -> super::super::Foundation:: HINSTANCE ); FindExecutableW(lpfile.into().abi(), lpdirectory.into().abi(), ::core::mem::transmute(lpresult.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn GetAcceptLanguagesA(pszlanguages: ::windows::core::PSTR, pcchlanguages: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn GetAcceptLanguagesA ( pszlanguages : :: windows::core::PSTR , pcchlanguages : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn GetAcceptLanguagesA ( pszlanguages : :: windows::core::PSTR , pcchlanguages : *mut u32 ) -> :: windows::core::HRESULT ); GetAcceptLanguagesA(::core::mem::transmute(pszlanguages), pcchlanguages).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn GetAcceptLanguagesW(pszlanguages: ::windows::core::PWSTR, pcchlanguages: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn GetAcceptLanguagesW ( pszlanguages : :: windows::core::PWSTR , pcchlanguages : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn GetAcceptLanguagesW ( pszlanguages : :: windows::core::PWSTR , pcchlanguages : *mut u32 ) -> :: windows::core::HRESULT ); GetAcceptLanguagesW(::core::mem::transmute(pszlanguages), pcchlanguages).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAllUsersProfileDirectoryA(lpprofiledir: ::windows::core::PSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn GetAllUsersProfileDirectoryA ( lpprofiledir : :: windows::core::PSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetAllUsersProfileDirectoryA ( lpprofiledir : :: windows::core::PSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetAllUsersProfileDirectoryA(::core::mem::transmute(lpprofiledir), lpcchsize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetAllUsersProfileDirectoryW(lpprofiledir: ::windows::core::PWSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn GetAllUsersProfileDirectoryW ( lpprofiledir : :: windows::core::PWSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetAllUsersProfileDirectoryW ( lpprofiledir : :: windows::core::PWSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetAllUsersProfileDirectoryW(::core::mem::transmute(lpprofiledir), lpcchsize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn GetCurrentProcessExplicitAppUserModelID() -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "shell32.dll""system" fn GetCurrentProcessExplicitAppUserModelID ( appid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn GetCurrentProcessExplicitAppUserModelID ( appid : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); GetCurrentProcessExplicitAppUserModelID(&mut result__).from_abi(result__) } @@ -531,20 +531,20 @@ pub unsafe fn GetCurrentProcessExplicitAppUserModelID() -> ::windows::core::Resu #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDefaultUserProfileDirectoryA(lpprofiledir: ::windows::core::PSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn GetDefaultUserProfileDirectoryA ( lpprofiledir : :: windows::core::PSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetDefaultUserProfileDirectoryA ( lpprofiledir : :: windows::core::PSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetDefaultUserProfileDirectoryA(::core::mem::transmute(lpprofiledir), lpcchsize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDefaultUserProfileDirectoryW(lpprofiledir: ::windows::core::PWSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn GetDefaultUserProfileDirectoryW ( lpprofiledir : :: windows::core::PWSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetDefaultUserProfileDirectoryW ( lpprofiledir : :: windows::core::PWSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetDefaultUserProfileDirectoryW(::core::mem::transmute(lpprofiledir), lpcchsize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn GetDpiForShellUIComponent(param0: SHELL_UI_COMPONENT) -> u32 { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-2.dll""system" fn GetDpiForShellUIComponent ( param0 : SHELL_UI_COMPONENT ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-2.dll""system" fn GetDpiForShellUIComponent ( param0 : SHELL_UI_COMPONENT ) -> u32 ); GetDpiForShellUIComponent(param0) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -558,7 +558,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn GetFileNameFromBrowse ( hwnd : super::super::Foundation:: HWND , pszfilepath : :: windows::core::PWSTR , cchfilepath : u32 , pszworkingdir : :: windows::core::PCWSTR , pszdefext : :: windows::core::PCWSTR , pszfilters : :: windows::core::PCWSTR , psztitle : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn GetFileNameFromBrowse ( hwnd : super::super::Foundation:: HWND , pszfilepath : :: windows::core::PWSTR , cchfilepath : u32 , pszworkingdir : :: windows::core::PCWSTR , pszdefext : :: windows::core::PCWSTR , pszfilters : :: windows::core::PCWSTR , psztitle : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); GetFileNameFromBrowse(hwnd.into(), ::core::mem::transmute(pszfilepath.as_ptr()), pszfilepath.len() as _, pszworkingdir.into().abi(), pszdefext.into().abi(), pszfilters.into().abi(), psztitle.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -568,7 +568,7 @@ pub unsafe fn GetMenuContextHelpId(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuContextHelpId ( param0 : super::WindowsAndMessaging:: HMENU ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuContextHelpId ( param0 : super::WindowsAndMessaging:: HMENU ) -> u32 ); GetMenuContextHelpId(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -578,35 +578,35 @@ pub unsafe fn GetMenuPosFromID(hmenu: P0, id: u32) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn GetMenuPosFromID ( hmenu : super::WindowsAndMessaging:: HMENU , id : u32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn GetMenuPosFromID ( hmenu : super::WindowsAndMessaging:: HMENU , id : u32 ) -> i32 ); GetMenuPosFromID(hmenu.into(), id) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetProfileType(dwflags: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn GetProfileType ( dwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetProfileType ( dwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProfileType(dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetProfilesDirectoryA(lpprofiledir: ::windows::core::PSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn GetProfilesDirectoryA ( lpprofiledir : :: windows::core::PSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetProfilesDirectoryA ( lpprofiledir : :: windows::core::PSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProfilesDirectoryA(::core::mem::transmute(lpprofiledir), lpcchsize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetProfilesDirectoryW(lpprofiledir: ::windows::core::PWSTR, lpcchsize: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "userenv.dll""system" fn GetProfilesDirectoryW ( lpprofiledir : :: windows::core::PWSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetProfilesDirectoryW ( lpprofiledir : :: windows::core::PWSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProfilesDirectoryW(::core::mem::transmute(lpprofiledir), lpcchsize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn GetScaleFactorForDevice(devicetype: DISPLAY_DEVICE_TYPE) -> Common::DEVICE_SCALE_FACTOR { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-0.dll""system" fn GetScaleFactorForDevice ( devicetype : DISPLAY_DEVICE_TYPE ) -> Common:: DEVICE_SCALE_FACTOR ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-0.dll""system" fn GetScaleFactorForDevice ( devicetype : DISPLAY_DEVICE_TYPE ) -> Common:: DEVICE_SCALE_FACTOR ); GetScaleFactorForDevice(devicetype) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -616,7 +616,7 @@ pub unsafe fn GetScaleFactorForMonitor(hmon: P0) -> ::windows::core::Result< where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn GetScaleFactorForMonitor ( hmon : super::super::Graphics::Gdi:: HMONITOR , pscale : *mut Common:: DEVICE_SCALE_FACTOR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn GetScaleFactorForMonitor ( hmon : super::super::Graphics::Gdi:: HMONITOR , pscale : *mut Common:: DEVICE_SCALE_FACTOR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); GetScaleFactorForMonitor(hmon.into(), &mut result__).from_abi(result__) } @@ -627,7 +627,7 @@ pub unsafe fn GetUserProfileDirectoryA(htoken: P0, lpprofiledir: ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn GetUserProfileDirectoryA ( htoken : super::super::Foundation:: HANDLE , lpprofiledir : :: windows::core::PSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetUserProfileDirectoryA ( htoken : super::super::Foundation:: HANDLE , lpprofiledir : :: windows::core::PSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUserProfileDirectoryA(htoken.into(), ::core::mem::transmute(lpprofiledir), lpcchsize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -637,7 +637,7 @@ pub unsafe fn GetUserProfileDirectoryW(htoken: P0, lpprofiledir: ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn GetUserProfileDirectoryW ( htoken : super::super::Foundation:: HANDLE , lpprofiledir : :: windows::core::PWSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn GetUserProfileDirectoryW ( htoken : super::super::Foundation:: HANDLE , lpprofiledir : :: windows::core::PWSTR , lpcchsize : *mut u32 ) -> super::super::Foundation:: BOOL ); GetUserProfileDirectoryW(htoken.into(), ::core::mem::transmute(lpprofiledir), lpcchsize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -647,7 +647,7 @@ pub unsafe fn GetWindowContextHelpId(param0: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowContextHelpId ( param0 : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowContextHelpId ( param0 : super::super::Foundation:: HWND ) -> u32 ); GetWindowContextHelpId(param0.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -657,69 +657,69 @@ pub unsafe fn GetWindowSubclass(hwnd: P0, pfnsubclass: SUBCLASSPROC, uidsubc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn GetWindowSubclass ( hwnd : super::super::Foundation:: HWND , pfnsubclass : SUBCLASSPROC , uidsubclass : usize , pdwrefdata : *mut usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn GetWindowSubclass ( hwnd : super::super::Foundation:: HWND , pfnsubclass : SUBCLASSPROC , uidsubclass : usize , pdwrefdata : *mut usize ) -> super::super::Foundation:: BOOL ); GetWindowSubclass(hwnd.into(), pfnsubclass, uidsubclass, ::core::mem::transmute(pdwrefdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HMONITOR_UserFree(param0: *const u32, param1: *const super::super::Graphics::Gdi::HMONITOR) { - ::windows::core::link ! ( "ole32.dll""system" fn HMONITOR_UserFree ( param0 : *const u32 , param1 : *const super::super::Graphics::Gdi:: HMONITOR ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMONITOR_UserFree ( param0 : *const u32 , param1 : *const super::super::Graphics::Gdi:: HMONITOR ) -> ( ) ); HMONITOR_UserFree(param0, param1) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HMONITOR_UserFree64(param0: *const u32, param1: *const super::super::Graphics::Gdi::HMONITOR) { - ::windows::core::link ! ( "ole32.dll""system" fn HMONITOR_UserFree64 ( param0 : *const u32 , param1 : *const super::super::Graphics::Gdi:: HMONITOR ) -> ( ) ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMONITOR_UserFree64 ( param0 : *const u32 , param1 : *const super::super::Graphics::Gdi:: HMONITOR ) -> ( ) ); HMONITOR_UserFree64(param0, param1) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HMONITOR_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HMONITOR) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HMONITOR_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::Graphics::Gdi:: HMONITOR ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMONITOR_UserMarshal ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::Graphics::Gdi:: HMONITOR ) -> *mut u8 ); HMONITOR_UserMarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HMONITOR_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HMONITOR) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HMONITOR_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::Graphics::Gdi:: HMONITOR ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMONITOR_UserMarshal64 ( param0 : *const u32 , param1 : *mut u8 , param2 : *const super::super::Graphics::Gdi:: HMONITOR ) -> *mut u8 ); HMONITOR_UserMarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HMONITOR_UserSize(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HMONITOR) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HMONITOR_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::Graphics::Gdi:: HMONITOR ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMONITOR_UserSize ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::Graphics::Gdi:: HMONITOR ) -> u32 ); HMONITOR_UserSize(param0, param1, param2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HMONITOR_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HMONITOR) -> u32 { - ::windows::core::link ! ( "ole32.dll""system" fn HMONITOR_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::Graphics::Gdi:: HMONITOR ) -> u32 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMONITOR_UserSize64 ( param0 : *const u32 , param1 : u32 , param2 : *const super::super::Graphics::Gdi:: HMONITOR ) -> u32 ); HMONITOR_UserSize64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HMONITOR_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HMONITOR) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HMONITOR_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::Graphics::Gdi:: HMONITOR ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMONITOR_UserUnmarshal ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::Graphics::Gdi:: HMONITOR ) -> *mut u8 ); HMONITOR_UserUnmarshal(param0, param1, param2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn HMONITOR_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HMONITOR) -> *mut u8 { - ::windows::core::link ! ( "ole32.dll""system" fn HMONITOR_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::Graphics::Gdi:: HMONITOR ) -> *mut u8 ); + ::windows::imp::link ! ( "ole32.dll""system" fn HMONITOR_UserUnmarshal64 ( param0 : *const u32 , param1 : *const u8 , param2 : *mut super::super::Graphics::Gdi:: HMONITOR ) -> *mut u8 ); HMONITOR_UserUnmarshal64(param0, param1, param2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn HashData(pbdata: &[u8], pbhash: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn HashData ( pbdata : *const u8 , cbdata : u32 , pbhash : *mut u8 , cbhash : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn HashData ( pbdata : *const u8 , cbdata : u32 , pbhash : *mut u8 , cbhash : u32 ) -> :: windows::core::HRESULT ); HashData(::core::mem::transmute(pbdata.as_ptr()), pbdata.len() as _, ::core::mem::transmute(pbhash.as_ptr()), pbhash.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -730,7 +730,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, pihlsiteforclone.into().abi(), dwsitedata, &mut result__).from_abi(result__) } @@ -741,7 +741,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -757,7 +757,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), phwnd.into(), pszusername.into().abi(), pszpassword.into().abi(), piunkouter.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -771,7 +771,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pihlsite.into().abi(), dwsitedata, piunkouter.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -787,7 +787,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pwzlocation.into().abi(), pwzfriendlyname.into().abi(), pihlsite.into().abi(), dwsitedata, piunkouter.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -802,7 +802,7 @@ where P4: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pwzlocation.into().abi(), pwzfriendlyname.into().abi(), pihlsite.into().abi(), dwsitedata, piunkouter.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -814,7 +814,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkCreateShortcut ( grfhlshortcutf : u32 , pihl : * mut::core::ffi::c_void , pwzdir : :: windows::core::PCWSTR , pwzfilename : :: windows::core::PCWSTR , ppwzshortcutfile : *mut :: windows::core::PWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkCreateShortcut ( grfhlshortcutf : u32 , pihl : * mut::core::ffi::c_void , pwzdir : :: windows::core::PCWSTR , pwzfilename : :: windows::core::PCWSTR , ppwzshortcutfile : *mut :: windows::core::PWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); HlinkCreateShortcut(grfhlshortcutf, pihl.into().abi(), pwzdir.into().abi(), pwzfilename.into().abi(), ppwzshortcutfile, dwreserved).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -827,7 +827,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkCreateShortcutFromMoniker ( grfhlshortcutf : u32 , pimktarget : * mut::core::ffi::c_void , pwzlocation : :: windows::core::PCWSTR , pwzdir : :: windows::core::PCWSTR , pwzfilename : :: windows::core::PCWSTR , ppwzshortcutfile : *mut :: windows::core::PWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkCreateShortcutFromMoniker ( grfhlshortcutf : u32 , pimktarget : * mut::core::ffi::c_void , pwzlocation : :: windows::core::PCWSTR , pwzdir : :: windows::core::PCWSTR , pwzfilename : :: windows::core::PCWSTR , ppwzshortcutfile : *mut :: windows::core::PWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); HlinkCreateShortcutFromMoniker(grfhlshortcutf, pimktarget.into().abi(), pwzlocation.into().abi(), pwzdir.into().abi(), pwzfilename.into().abi(), ppwzshortcutfile, dwreserved).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -839,13 +839,13 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkCreateShortcutFromString ( grfhlshortcutf : u32 , pwztarget : :: windows::core::PCWSTR , pwzlocation : :: windows::core::PCWSTR , pwzdir : :: windows::core::PCWSTR , pwzfilename : :: windows::core::PCWSTR , ppwzshortcutfile : *mut :: windows::core::PWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkCreateShortcutFromString ( grfhlshortcutf : u32 , pwztarget : :: windows::core::PCWSTR , pwzlocation : :: windows::core::PCWSTR , pwzdir : :: windows::core::PCWSTR , pwzfilename : :: windows::core::PCWSTR , ppwzshortcutfile : *mut :: windows::core::PWSTR , dwreserved : u32 ) -> :: windows::core::HRESULT ); HlinkCreateShortcutFromString(grfhlshortcutf, pwztarget.into().abi(), pwzlocation.into().abi(), pwzdir.into().abi(), pwzfilename.into().abi(), ppwzshortcutfile, dwreserved).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn HlinkGetSpecialReference(ureference: u32) -> ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkGetSpecialReference ( ureference : u32 , ppwzreference : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkGetSpecialReference ( ureference : u32 , ppwzreference : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); HlinkGetSpecialReference(ureference, &mut result__).from_abi(result__) } @@ -856,7 +856,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkGetValueFromParams ( pwzparams : :: windows::core::PCWSTR , pwzname : :: windows::core::PCWSTR , ppwzvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkGetValueFromParams ( pwzparams : :: windows::core::PCWSTR , pwzname : :: windows::core::PCWSTR , ppwzvalue : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); HlinkGetValueFromParams(pwzparams.into().abi(), pwzname.into().abi(), &mut result__).from_abi(result__) } @@ -866,7 +866,7 @@ pub unsafe fn HlinkIsShortcut(pwzfilename: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkIsShortcut ( pwzfilename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkIsShortcut ( pwzfilename : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HlinkIsShortcut(pwzfilename.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -880,7 +880,7 @@ where P3: ::std::convert::Into<::windows::core::InParam>, P4: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkNavigate ( pihl : * mut::core::ffi::c_void , pihlframe : * mut::core::ffi::c_void , grfhlnf : u32 , pbc : * mut::core::ffi::c_void , pibsc : * mut::core::ffi::c_void , pihlbc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkNavigate ( pihl : * mut::core::ffi::c_void , pihlframe : * mut::core::ffi::c_void , grfhlnf : u32 , pbc : * mut::core::ffi::c_void , pibsc : * mut::core::ffi::c_void , pihlbc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkNavigate(pihl.into().abi(), pihlframe.into().abi(), grfhlnf, pbc.into().abi(), pibsc.into().abi(), pihlbc.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -896,7 +896,7 @@ where P5: ::std::convert::Into<::windows::core::InParam>, P6: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkNavigateToStringReference ( pwztarget : :: windows::core::PCWSTR , pwzlocation : :: windows::core::PCWSTR , pihlsite : * mut::core::ffi::c_void , dwsitedata : u32 , pihlframe : * mut::core::ffi::c_void , grfhlnf : u32 , pibc : * mut::core::ffi::c_void , pibsc : * mut::core::ffi::c_void , pihlbc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkNavigateToStringReference ( pwztarget : :: windows::core::PCWSTR , pwzlocation : :: windows::core::PCWSTR , pihlsite : * mut::core::ffi::c_void , dwsitedata : u32 , pihlframe : * mut::core::ffi::c_void , grfhlnf : u32 , pibc : * mut::core::ffi::c_void , pibsc : * mut::core::ffi::c_void , pihlbc : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkNavigateToStringReference(pwztarget.into().abi(), pwzlocation.into().abi(), pihlsite.into().abi(), dwsitedata, pihlframe.into().abi(), grfhlnf, pibc.into().abi(), pibsc.into().abi(), pihlbc.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -910,7 +910,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkOnNavigate ( pihlframe : * mut::core::ffi::c_void , pihlbc : * mut::core::ffi::c_void , grfhlnf : u32 , pimktarget : * mut::core::ffi::c_void , pwzlocation : :: windows::core::PCWSTR , pwzfriendlyname : :: windows::core::PCWSTR , puhlid : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkOnNavigate ( pihlframe : * mut::core::ffi::c_void , pihlbc : * mut::core::ffi::c_void , grfhlnf : u32 , pimktarget : * mut::core::ffi::c_void , pwzlocation : :: windows::core::PCWSTR , pwzfriendlyname : :: windows::core::PCWSTR , puhlid : *mut u32 ) -> :: windows::core::HRESULT ); HlinkOnNavigate(pihlframe.into().abi(), pihlbc.into().abi(), grfhlnf, pimktarget.into().abi(), pwzlocation.into().abi(), pwzfriendlyname.into().abi(), puhlid).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -922,7 +922,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkOnRenameDocument ( dwreserved : u32 , pihlbc : * mut::core::ffi::c_void , pimkold : * mut::core::ffi::c_void , pimknew : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkOnRenameDocument ( dwreserved : u32 , pihlbc : * mut::core::ffi::c_void , pimkold : * mut::core::ffi::c_void , pimknew : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkOnRenameDocument(dwreserved, pihlbc.into().abi(), pimkold.into().abi(), pimknew.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -934,7 +934,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkParseDisplayName ( pibc : * mut::core::ffi::c_void , pwzdisplayname : :: windows::core::PCWSTR , fnoforceabs : super::super::Foundation:: BOOL , pccheaten : *mut u32 , ppimk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkParseDisplayName ( pibc : * mut::core::ffi::c_void , pwzdisplayname : :: windows::core::PCWSTR , fnoforceabs : super::super::Foundation:: BOOL , pccheaten : *mut u32 , ppimk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkParseDisplayName(pibc.into().abi(), pwzdisplayname.into().abi(), fnoforceabs.into(), pccheaten, ::core::mem::transmute(ppimk)).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -945,7 +945,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkPreprocessMoniker ( pibc : * mut::core::ffi::c_void , pimkin : * mut::core::ffi::c_void , ppimkout : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkPreprocessMoniker ( pibc : * mut::core::ffi::c_void , pimkin : * mut::core::ffi::c_void , ppimkout : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); HlinkPreprocessMoniker(pibc.into().abi(), pimkin.into().abi(), &mut result__).from_abi(result__) } @@ -956,7 +956,7 @@ pub unsafe fn HlinkQueryCreateFromData(pidataobj: P0) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkQueryCreateFromData ( pidataobj : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkQueryCreateFromData ( pidataobj : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkQueryCreateFromData(pidataobj.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -969,7 +969,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkResolveMonikerForData ( pimkreference : * mut::core::ffi::c_void , reserved : u32 , pibc : * mut::core::ffi::c_void , cfmtetc : u32 , rgfmtetc : *mut super::super::System::Com:: FORMATETC , pibsc : * mut::core::ffi::c_void , pimkbase : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkResolveMonikerForData ( pimkreference : * mut::core::ffi::c_void , reserved : u32 , pibc : * mut::core::ffi::c_void , cfmtetc : u32 , rgfmtetc : *mut super::super::System::Com:: FORMATETC , pibsc : * mut::core::ffi::c_void , pimkbase : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkResolveMonikerForData(pimkreference.into().abi(), reserved, pibc.into().abi(), cfmtetc, rgfmtetc, pibsc.into().abi(), pimkbase.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -980,7 +980,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkResolveShortcut ( pwzshortcutfilename : :: 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 ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkResolveShortcut ( pwzshortcutfilename : :: 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 ); HlinkResolveShortcut(pwzshortcutfilename.into().abi(), pihlsite.into().abi(), dwsitedata, piunkouter.into().abi(), riid, ppvobj).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -990,7 +990,7 @@ pub unsafe fn HlinkResolveShortcutToMoniker(pwzshortcutfilename: P0, ppimkta where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkResolveShortcutToMoniker ( pwzshortcutfilename : :: windows::core::PCWSTR , ppimktarget : *mut * mut::core::ffi::c_void , ppwzlocation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkResolveShortcutToMoniker ( pwzshortcutfilename : :: windows::core::PCWSTR , ppimktarget : *mut * mut::core::ffi::c_void , ppwzlocation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HlinkResolveShortcutToMoniker(pwzshortcutfilename.into().abi(), ::core::mem::transmute(ppimktarget), ppwzlocation).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -999,7 +999,7 @@ pub unsafe fn HlinkResolveShortcutToString(pwzshortcutfilename: P0, ppwztarg where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkResolveShortcutToString ( pwzshortcutfilename : :: windows::core::PCWSTR , ppwztarget : *mut :: windows::core::PWSTR , ppwzlocation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkResolveShortcutToString ( pwzshortcutfilename : :: windows::core::PCWSTR , ppwztarget : *mut :: windows::core::PWSTR , ppwzlocation : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); HlinkResolveShortcutToString(pwzshortcutfilename.into().abi(), ppwztarget, ppwzlocation).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -1012,7 +1012,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkResolveStringForData ( pwzreference : :: windows::core::PCWSTR , reserved : u32 , pibc : * mut::core::ffi::c_void , cfmtetc : u32 , rgfmtetc : *mut super::super::System::Com:: FORMATETC , pibsc : * mut::core::ffi::c_void , pimkbase : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkResolveStringForData ( pwzreference : :: windows::core::PCWSTR , reserved : u32 , pibc : * mut::core::ffi::c_void , cfmtetc : u32 , rgfmtetc : *mut super::super::System::Com:: FORMATETC , pibsc : * mut::core::ffi::c_void , pimkbase : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); HlinkResolveStringForData(pwzreference.into().abi(), reserved, pibc.into().abi(), cfmtetc, rgfmtetc, pibsc.into().abi(), pimkbase.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1021,7 +1021,7 @@ pub unsafe fn HlinkSetSpecialReference(ureference: u32, pwzreference: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkSetSpecialReference ( ureference : u32 , pwzreference : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkSetSpecialReference ( ureference : u32 , pwzreference : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HlinkSetSpecialReference(ureference, pwzreference.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1030,7 +1030,7 @@ pub unsafe fn HlinkTranslateURL(pwzurl: P0, grfflags: u32) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkTranslateURL ( pwzurl : :: windows::core::PCWSTR , grfflags : u32 , ppwztranslatedurl : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkTranslateURL ( pwzurl : :: windows::core::PCWSTR , grfflags : u32 , ppwztranslatedurl : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); HlinkTranslateURL(pwzurl.into().abi(), grfflags, &mut result__).from_abi(result__) } @@ -1045,7 +1045,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "hlink.dll""system" fn HlinkUpdateStackItem ( pihlframe : * mut::core::ffi::c_void , pihlbc : * mut::core::ffi::c_void , uhlid : u32 , pimktrgt : * mut::core::ffi::c_void , pwzlocation : :: windows::core::PCWSTR , pwzfriendlyname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn HlinkUpdateStackItem ( pihlframe : * mut::core::ffi::c_void , pihlbc : * mut::core::ffi::c_void , uhlid : u32 , pimktrgt : * mut::core::ffi::c_void , pwzlocation : :: windows::core::PCWSTR , pwzfriendlyname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); HlinkUpdateStackItem(pihlframe.into().abi(), pihlbc.into().abi(), uhlid, pimktrgt.into().abi(), pwzlocation.into().abi(), pwzfriendlyname.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -1055,28 +1055,28 @@ pub unsafe fn ILAppendID(pidl: ::core::option::Option<*const Common::ITEMIDL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn ILAppendID ( pidl : *const Common:: ITEMIDLIST , pmkid : *const Common:: SHITEMID , fappend : super::super::Foundation:: BOOL ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILAppendID ( pidl : *const Common:: ITEMIDLIST , pmkid : *const Common:: SHITEMID , fappend : super::super::Foundation:: BOOL ) -> *mut Common:: ITEMIDLIST ); ILAppendID(::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), pmkid, fappend.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn ILClone(pidl: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST { - ::windows::core::link ! ( "shell32.dll""system" fn ILClone ( pidl : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILClone ( pidl : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); ILClone(pidl) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn ILCloneFirst(pidl: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST { - ::windows::core::link ! ( "shell32.dll""system" fn ILCloneFirst ( pidl : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILCloneFirst ( pidl : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); ILCloneFirst(pidl) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn ILCombine(pidl1: ::core::option::Option<*const Common::ITEMIDLIST>, pidl2: ::core::option::Option<*const Common::ITEMIDLIST>) -> *mut Common::ITEMIDLIST { - ::windows::core::link ! ( "shell32.dll""system" fn ILCombine ( pidl1 : *const Common:: ITEMIDLIST , pidl2 : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILCombine ( pidl1 : *const Common:: ITEMIDLIST , pidl2 : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); ILCombine(::core::mem::transmute(pidl1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pidl2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -1086,7 +1086,7 @@ pub unsafe fn ILCreateFromPathA(pszpath: P0) -> *mut Common::ITEMIDLIST where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn ILCreateFromPathA ( pszpath : :: windows::core::PCSTR ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILCreateFromPathA ( pszpath : :: windows::core::PCSTR ) -> *mut Common:: ITEMIDLIST ); ILCreateFromPathA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -1096,49 +1096,49 @@ pub unsafe fn ILCreateFromPathW(pszpath: P0) -> *mut Common::ITEMIDLIST where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn ILCreateFromPathW ( pszpath : :: windows::core::PCWSTR ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILCreateFromPathW ( pszpath : :: windows::core::PCWSTR ) -> *mut Common:: ITEMIDLIST ); ILCreateFromPathW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn ILFindChild(pidlparent: *const Common::ITEMIDLIST, pidlchild: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST { - ::windows::core::link ! ( "shell32.dll""system" fn ILFindChild ( pidlparent : *const Common:: ITEMIDLIST , pidlchild : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILFindChild ( pidlparent : *const Common:: ITEMIDLIST , pidlchild : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); ILFindChild(pidlparent, pidlchild) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn ILFindLastID(pidl: *const Common::ITEMIDLIST) -> *mut Common::ITEMIDLIST { - ::windows::core::link ! ( "shell32.dll""system" fn ILFindLastID ( pidl : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILFindLastID ( pidl : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); ILFindLastID(pidl) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn ILFree(pidl: ::core::option::Option<*const Common::ITEMIDLIST>) { - ::windows::core::link ! ( "shell32.dll""system" fn ILFree ( pidl : *const Common:: ITEMIDLIST ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILFree ( pidl : *const Common:: ITEMIDLIST ) -> ( ) ); ILFree(::core::mem::transmute(pidl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn ILGetNext(pidl: ::core::option::Option<*const Common::ITEMIDLIST>) -> *mut Common::ITEMIDLIST { - ::windows::core::link ! ( "shell32.dll""system" fn ILGetNext ( pidl : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILGetNext ( pidl : *const Common:: ITEMIDLIST ) -> *mut Common:: ITEMIDLIST ); ILGetNext(::core::mem::transmute(pidl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn ILGetSize(pidl: ::core::option::Option<*const Common::ITEMIDLIST>) -> u32 { - ::windows::core::link ! ( "shell32.dll""system" fn ILGetSize ( pidl : *const Common:: ITEMIDLIST ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILGetSize ( pidl : *const Common:: ITEMIDLIST ) -> u32 ); ILGetSize(::core::mem::transmute(pidl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn ILIsEqual(pidl1: *const Common::ITEMIDLIST, pidl2: *const Common::ITEMIDLIST) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn ILIsEqual ( pidl1 : *const Common:: ITEMIDLIST , pidl2 : *const Common:: ITEMIDLIST ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILIsEqual ( pidl1 : *const Common:: ITEMIDLIST , pidl2 : *const Common:: ITEMIDLIST ) -> super::super::Foundation:: BOOL ); ILIsEqual(pidl1, pidl2) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -1148,7 +1148,7 @@ pub unsafe fn ILIsParent(pidl1: *const Common::ITEMIDLIST, pidl2: *const Com where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn ILIsParent ( pidl1 : *const Common:: ITEMIDLIST , pidl2 : *const Common:: ITEMIDLIST , fimmediate : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILIsParent ( pidl1 : *const Common:: ITEMIDLIST , pidl2 : *const Common:: ITEMIDLIST , fimmediate : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); ILIsParent(pidl1, pidl2, fimmediate.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -1158,7 +1158,7 @@ pub unsafe fn ILLoadFromStreamEx(pstm: P0) -> ::windows::core::Result<*mut C where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn ILLoadFromStreamEx ( pstm : * mut::core::ffi::c_void , pidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILLoadFromStreamEx ( pstm : * mut::core::ffi::c_void , pidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut Common::ITEMIDLIST>(); ILLoadFromStreamEx(pstm.into().abi(), &mut result__).from_abi(result__) } @@ -1166,7 +1166,7 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn ILRemoveLastID(pidl: ::core::option::Option<*mut Common::ITEMIDLIST>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn ILRemoveLastID ( pidl : *mut Common:: ITEMIDLIST ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILRemoveLastID ( pidl : *mut Common:: ITEMIDLIST ) -> super::super::Foundation:: BOOL ); ILRemoveLastID(::core::mem::transmute(pidl.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -1176,7 +1176,7 @@ pub unsafe fn ILSaveToStream(pstm: P0, pidl: *const Common::ITEMIDLIST) -> : where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn ILSaveToStream ( pstm : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn ILSaveToStream ( pstm : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); ILSaveToStream(pstm.into().abi(), pidl).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -1187,7 +1187,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_Copy ( pstmfrom : * mut::core::ffi::c_void , pstmto : * mut::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_Copy ( pstmfrom : * mut::core::ffi::c_void , pstmto : * mut::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); IStream_Copy(pstmfrom.into().abi(), pstmto.into().abi(), cb).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -1197,7 +1197,7 @@ pub unsafe fn IStream_Read(pstm: P0, pv: *mut ::core::ffi::c_void, cb: u32) where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_Read ( pstm : * mut::core::ffi::c_void , pv : *mut ::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_Read ( pstm : * mut::core::ffi::c_void , pv : *mut ::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); IStream_Read(pstm.into().abi(), pv, cb).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -1207,7 +1207,7 @@ pub unsafe fn IStream_ReadPidl(pstm: P0) -> ::windows::core::Result<*mut Com where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_ReadPidl ( pstm : * mut::core::ffi::c_void , ppidlout : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_ReadPidl ( pstm : * mut::core::ffi::c_void , ppidlout : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut Common::ITEMIDLIST>(); IStream_ReadPidl(pstm.into().abi(), &mut result__).from_abi(result__) } @@ -1218,7 +1218,7 @@ pub unsafe fn IStream_ReadStr(pstm: P0) -> ::windows::core::Result<::windows where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_ReadStr ( pstm : * mut::core::ffi::c_void , ppsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_ReadStr ( pstm : * mut::core::ffi::c_void , ppsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); IStream_ReadStr(pstm.into().abi(), &mut result__).from_abi(result__) } @@ -1229,7 +1229,7 @@ pub unsafe fn IStream_Reset(pstm: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_Reset ( pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_Reset ( pstm : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); IStream_Reset(pstm.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -1239,7 +1239,7 @@ pub unsafe fn IStream_Size(pstm: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_Size ( pstm : * mut::core::ffi::c_void , pui : *mut u64 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_Size ( pstm : * mut::core::ffi::c_void , pui : *mut u64 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IStream_Size(pstm.into().abi(), &mut result__).from_abi(result__) } @@ -1250,7 +1250,7 @@ pub unsafe fn IStream_Write(pstm: P0, pv: *const ::core::ffi::c_void, cb: u3 where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_Write ( pstm : * mut::core::ffi::c_void , pv : *const ::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_Write ( pstm : * mut::core::ffi::c_void , pv : *const ::core::ffi::c_void , cb : u32 ) -> :: windows::core::HRESULT ); IStream_Write(pstm.into().abi(), pv, cb).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -1260,7 +1260,7 @@ pub unsafe fn IStream_WritePidl(pstm: P0, pidlwrite: *const Common::ITEMIDLI where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_WritePidl ( pstm : * mut::core::ffi::c_void , pidlwrite : *const Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_WritePidl ( pstm : * mut::core::ffi::c_void , pidlwrite : *const Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); IStream_WritePidl(pstm.into().abi(), pidlwrite).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -1271,13 +1271,13 @@ where P0: ::std::convert::Into<::windows::core::InParam>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IStream_WriteStr ( pstm : * mut::core::ffi::c_void , psz : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IStream_WriteStr ( pstm : * mut::core::ffi::c_void , psz : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); IStream_WriteStr(pstm.into().abi(), psz.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn IUnknown_AtomicRelease(ppunk: ::core::option::Option<*mut *mut ::core::ffi::c_void>) { - ::windows::core::link ! ( "shlwapi.dll""system" fn IUnknown_AtomicRelease ( ppunk : *mut *mut ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IUnknown_AtomicRelease ( ppunk : *mut *mut ::core::ffi::c_void ) -> ( ) ); IUnknown_AtomicRelease(::core::mem::transmute(ppunk.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1287,7 +1287,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -1298,7 +1298,7 @@ pub unsafe fn IUnknown_GetWindow(punk: P0) -> ::windows::core::Result>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IUnknown_GetWindow ( punk : * mut::core::ffi::c_void , phwnd : *mut super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IUnknown_GetWindow ( punk : * mut::core::ffi::c_void , phwnd : *mut super::super::Foundation:: HWND ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); IUnknown_GetWindow(punk.into().abi(), &mut result__).from_abi(result__) } @@ -1309,7 +1309,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), guidservice, &::IID, &mut result__).from_abi(result__) } @@ -1319,7 +1319,7 @@ pub unsafe fn IUnknown_Set(ppunk: *mut ::core::option::Option<::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IUnknown_Set ( ppunk : *mut * mut::core::ffi::c_void , punk : * mut::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IUnknown_Set ( ppunk : *mut * mut::core::ffi::c_void , punk : * mut::core::ffi::c_void ) -> ( ) ); IUnknown_Set(::core::mem::transmute(ppunk), punk.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1329,7 +1329,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IUnknown_SetSite ( punk : * mut::core::ffi::c_void , punksite : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IUnknown_SetSite ( punk : * mut::core::ffi::c_void , punksite : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); IUnknown_SetSite(punk.into().abi(), punksite.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1339,14 +1339,14 @@ pub unsafe fn ImportPrivacySettings(pszfilename: P0, pfparseprivacypreferenc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shdocvw.dll""system" fn ImportPrivacySettings ( pszfilename : :: windows::core::PCWSTR , pfparseprivacypreferences : *mut super::super::Foundation:: BOOL , pfparsepersiterules : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shdocvw.dll""system" fn ImportPrivacySettings ( pszfilename : :: windows::core::PCWSTR , pfparseprivacypreferences : *mut super::super::Foundation:: BOOL , pfparsepersiterules : *mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); ImportPrivacySettings(pszfilename.into().abi(), pfparseprivacypreferences, pfparsepersiterules) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InitNetworkAddressControl() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn InitNetworkAddressControl ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn InitNetworkAddressControl ( ) -> super::super::Foundation:: BOOL ); InitNetworkAddressControl() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1358,7 +1358,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IntlStrEqWorkerA ( fcasesens : super::super::Foundation:: BOOL , lpstring1 : :: windows::core::PCSTR , lpstring2 : :: windows::core::PCSTR , nchar : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IntlStrEqWorkerA ( fcasesens : super::super::Foundation:: BOOL , lpstring1 : :: windows::core::PCSTR , lpstring2 : :: windows::core::PCSTR , nchar : i32 ) -> super::super::Foundation:: BOOL ); IntlStrEqWorkerA(fcasesens.into(), lpstring1.into().abi(), lpstring2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1370,7 +1370,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IntlStrEqWorkerW ( fcasesens : super::super::Foundation:: BOOL , lpstring1 : :: windows::core::PCWSTR , lpstring2 : :: windows::core::PCWSTR , nchar : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IntlStrEqWorkerW ( fcasesens : super::super::Foundation:: BOOL , lpstring1 : :: windows::core::PCWSTR , lpstring2 : :: windows::core::PCWSTR , nchar : i32 ) -> super::super::Foundation:: BOOL ); IntlStrEqWorkerW(fcasesens.into(), lpstring1.into().abi(), lpstring2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1380,21 +1380,21 @@ pub unsafe fn IsCharSpaceA(wch: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn IsCharSpaceA ( wch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IsCharSpaceA ( wch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); IsCharSpaceA(wch.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsCharSpaceW(wch: u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn IsCharSpaceW ( wch : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IsCharSpaceW ( wch : u16 ) -> super::super::Foundation:: BOOL ); IsCharSpaceW(wch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsInternetESCEnabled() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn IsInternetESCEnabled ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IsInternetESCEnabled ( ) -> super::super::Foundation:: BOOL ); IsInternetESCEnabled() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1404,7 +1404,7 @@ pub unsafe fn IsLFNDriveA(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn IsLFNDriveA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn IsLFNDriveA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); IsLFNDriveA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1414,27 +1414,27 @@ pub unsafe fn IsLFNDriveW(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn IsLFNDriveW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn IsLFNDriveW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); IsLFNDriveW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn IsNetDrive(idrive: i32) -> i32 { - ::windows::core::link ! ( "shell32.dll""system" fn IsNetDrive ( idrive : i32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn IsNetDrive ( idrive : i32 ) -> i32 ); IsNetDrive(idrive) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsOS(dwos: OS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn IsOS ( dwos : OS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn IsOS ( dwos : OS ) -> super::super::Foundation:: BOOL ); IsOS(dwos) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsUserAnAdmin() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn IsUserAnAdmin ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn IsUserAnAdmin ( ) -> super::super::Foundation:: BOOL ); IsUserAnAdmin() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1444,7 +1444,7 @@ pub unsafe fn LoadUserProfileA(htoken: P0, lpprofileinfo: *mut PROFILEINFOA) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn LoadUserProfileA ( htoken : super::super::Foundation:: HANDLE , lpprofileinfo : *mut PROFILEINFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn LoadUserProfileA ( htoken : super::super::Foundation:: HANDLE , lpprofileinfo : *mut PROFILEINFOA ) -> super::super::Foundation:: BOOL ); LoadUserProfileA(htoken.into(), lpprofileinfo) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1454,7 +1454,7 @@ pub unsafe fn LoadUserProfileW(htoken: P0, lpprofileinfo: *mut PROFILEINFOW) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn LoadUserProfileW ( htoken : super::super::Foundation:: HANDLE , lpprofileinfo : *mut PROFILEINFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn LoadUserProfileW ( htoken : super::super::Foundation:: HANDLE , lpprofileinfo : *mut PROFILEINFOW ) -> super::super::Foundation:: BOOL ); LoadUserProfileW(htoken.into(), lpprofileinfo) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1466,7 +1466,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "hlink.dll""system" fn OleSaveToStreamEx ( piunk : * mut::core::ffi::c_void , pistm : * mut::core::ffi::c_void , fcleardirty : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "hlink.dll""system" fn OleSaveToStreamEx ( piunk : * mut::core::ffi::c_void , pistm : * mut::core::ffi::c_void , fcleardirty : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); OleSaveToStreamEx(piunk.into().abi(), pistm.into().abi(), fcleardirty.into()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] @@ -1478,7 +1478,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn OpenRegStream ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); + ::windows::imp::link ! ( "shell32.dll""system" fn OpenRegStream ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); OpenRegStream(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), grfmode) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1487,7 +1487,7 @@ pub unsafe fn ParseURLA(pcszurl: P0, ppu: *mut PARSEDURLA) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn ParseURLA ( pcszurl : :: windows::core::PCSTR , ppu : *mut PARSEDURLA ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn ParseURLA ( pcszurl : :: windows::core::PCSTR , ppu : *mut PARSEDURLA ) -> :: windows::core::HRESULT ); ParseURLA(pcszurl.into().abi(), ppu).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1496,19 +1496,19 @@ pub unsafe fn ParseURLW(pcszurl: P0, ppu: *mut PARSEDURLW) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn ParseURLW ( pcszurl : :: windows::core::PCWSTR , ppu : *mut PARSEDURLW ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn ParseURLW ( pcszurl : :: windows::core::PCWSTR , ppu : *mut PARSEDURLW ) -> :: windows::core::HRESULT ); ParseURLW(pcszurl.into().abi(), ppu).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathAddBackslashA(pszpath: &mut [u8; 260]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathAddBackslashA ( pszpath : :: windows::core::PSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathAddBackslashA ( pszpath : :: windows::core::PSTR ) -> :: windows::core::PSTR ); PathAddBackslashA(::core::mem::transmute(pszpath.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathAddBackslashW(pszpath: &mut [u16; 260]) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathAddBackslashW ( pszpath : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathAddBackslashW ( pszpath : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); PathAddBackslashW(::core::mem::transmute(pszpath.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1518,7 +1518,7 @@ pub unsafe fn PathAddExtensionA(pszpath: &mut [u8; 260], pszext: P0) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathAddExtensionA ( pszpath : :: windows::core::PSTR , pszext : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathAddExtensionA ( pszpath : :: windows::core::PSTR , pszext : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathAddExtensionA(::core::mem::transmute(pszpath.as_ptr()), pszext.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1528,7 +1528,7 @@ pub unsafe fn PathAddExtensionW(pszpath: &mut [u16; 260], pszext: P0) -> sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathAddExtensionW ( pszpath : :: windows::core::PWSTR , pszext : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathAddExtensionW ( pszpath : :: windows::core::PWSTR , pszext : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathAddExtensionW(::core::mem::transmute(pszpath.as_ptr()), pszext.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1537,7 +1537,7 @@ pub unsafe fn PathAllocCanonicalize(pszpathin: P0, dwflags: PATHCCH_OPTIONS) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathAllocCanonicalize ( pszpathin : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS , ppszpathout : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathAllocCanonicalize ( pszpathin : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS , ppszpathout : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PathAllocCanonicalize(pszpathin.into().abi(), dwflags, &mut result__).from_abi(result__) } @@ -1548,7 +1548,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathAllocCombine ( pszpathin : :: windows::core::PCWSTR , pszmore : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS , ppszpathout : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathAllocCombine ( pszpathin : :: windows::core::PCWSTR , pszmore : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS , ppszpathout : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PathAllocCombine(pszpathin.into().abi(), pszmore.into().abi(), dwflags, &mut result__).from_abi(result__) } @@ -1559,7 +1559,7 @@ pub unsafe fn PathAppendA(pszpath: &mut [u8; 260], pszmore: P0) -> super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathAppendA ( pszpath : :: windows::core::PSTR , pszmore : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathAppendA ( pszpath : :: windows::core::PSTR , pszmore : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathAppendA(::core::mem::transmute(pszpath.as_ptr()), pszmore.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1569,19 +1569,19 @@ pub unsafe fn PathAppendW(pszpath: &mut [u16; 260], pszmore: P0) -> super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathAppendW ( pszpath : :: windows::core::PWSTR , pszmore : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathAppendW ( pszpath : :: windows::core::PWSTR , pszmore : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathAppendW(::core::mem::transmute(pszpath.as_ptr()), pszmore.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathBuildRootA(pszroot: &mut [u8; 4], idrive: i32) -> ::windows::core::PSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathBuildRootA ( pszroot : :: windows::core::PSTR , idrive : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathBuildRootA ( pszroot : :: windows::core::PSTR , idrive : i32 ) -> :: windows::core::PSTR ); PathBuildRootA(::core::mem::transmute(pszroot.as_ptr()), idrive) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathBuildRootW(pszroot: &mut [u16; 4], idrive: i32) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathBuildRootW ( pszroot : :: windows::core::PWSTR , idrive : i32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathBuildRootW ( pszroot : :: windows::core::PWSTR , idrive : i32 ) -> :: windows::core::PWSTR ); PathBuildRootW(::core::mem::transmute(pszroot.as_ptr()), idrive) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1591,7 +1591,7 @@ pub unsafe fn PathCanonicalizeA(pszbuf: &mut [u8; 260], pszpath: P0) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCanonicalizeA ( pszbuf : :: windows::core::PSTR , pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCanonicalizeA ( pszbuf : :: windows::core::PSTR , pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathCanonicalizeA(::core::mem::transmute(pszbuf.as_ptr()), pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1601,19 +1601,19 @@ pub unsafe fn PathCanonicalizeW(pszbuf: &mut [u16; 260], pszpath: P0) -> sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCanonicalizeW ( pszbuf : :: windows::core::PWSTR , pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCanonicalizeW ( pszbuf : :: windows::core::PWSTR , pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathCanonicalizeW(::core::mem::transmute(pszbuf.as_ptr()), pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathCchAddBackslash(pszpath: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAddBackslash ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAddBackslash ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); PathCchAddBackslash(::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathCchAddBackslashEx(pszpath: &mut [u16], ppszend: ::core::option::Option<*mut ::windows::core::PWSTR>, pcchremaining: ::core::option::Option<*mut usize>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAddBackslashEx ( pszpath : :: windows::core::PWSTR , cchpath : usize , ppszend : *mut :: windows::core::PWSTR , pcchremaining : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAddBackslashEx ( pszpath : :: windows::core::PWSTR , cchpath : usize , ppszend : *mut :: windows::core::PWSTR , pcchremaining : *mut usize ) -> :: windows::core::HRESULT ); PathCchAddBackslashEx(::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _, ::core::mem::transmute(ppszend.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchremaining.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1622,7 +1622,7 @@ pub unsafe fn PathCchAddExtension(pszpath: &mut [u16], pszext: P0) -> ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAddExtension ( pszpath : :: windows::core::PWSTR , cchpath : usize , pszext : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAddExtension ( pszpath : :: windows::core::PWSTR , cchpath : usize , pszext : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PathCchAddExtension(::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _, pszext.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1631,7 +1631,7 @@ pub unsafe fn PathCchAppend(pszpath: &mut [u16], pszmore: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAppend ( pszpath : :: windows::core::PWSTR , cchpath : usize , pszmore : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAppend ( pszpath : :: windows::core::PWSTR , cchpath : usize , pszmore : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PathCchAppend(::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _, pszmore.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1640,7 +1640,7 @@ pub unsafe fn PathCchAppendEx(pszpath: &mut [u16], pszmore: P0, dwflags: PAT where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAppendEx ( pszpath : :: windows::core::PWSTR , cchpath : usize , pszmore : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchAppendEx ( pszpath : :: windows::core::PWSTR , cchpath : usize , pszmore : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS ) -> :: windows::core::HRESULT ); PathCchAppendEx(::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _, pszmore.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1649,7 +1649,7 @@ pub unsafe fn PathCchCanonicalize(pszpathout: &mut [u16], pszpathin: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchCanonicalize ( pszpathout : :: windows::core::PWSTR , cchpathout : usize , pszpathin : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchCanonicalize ( pszpathout : :: windows::core::PWSTR , cchpathout : usize , pszpathin : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PathCchCanonicalize(::core::mem::transmute(pszpathout.as_ptr()), pszpathout.len() as _, pszpathin.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1658,7 +1658,7 @@ pub unsafe fn PathCchCanonicalizeEx(pszpathout: &mut [u16], pszpathin: P0, d where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchCanonicalizeEx ( pszpathout : :: windows::core::PWSTR , cchpathout : usize , pszpathin : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchCanonicalizeEx ( pszpathout : :: windows::core::PWSTR , cchpathout : usize , pszpathin : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS ) -> :: windows::core::HRESULT ); PathCchCanonicalizeEx(::core::mem::transmute(pszpathout.as_ptr()), pszpathout.len() as _, pszpathin.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1668,7 +1668,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchCombine ( pszpathout : :: windows::core::PWSTR , cchpathout : usize , pszpathin : :: windows::core::PCWSTR , pszmore : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchCombine ( pszpathout : :: windows::core::PWSTR , cchpathout : usize , pszpathin : :: windows::core::PCWSTR , pszmore : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PathCchCombine(::core::mem::transmute(pszpathout.as_ptr()), pszpathout.len() as _, pszpathin.into().abi(), pszmore.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1678,7 +1678,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchCombineEx ( pszpathout : :: windows::core::PWSTR , cchpathout : usize , pszpathin : :: windows::core::PCWSTR , pszmore : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchCombineEx ( pszpathout : :: windows::core::PWSTR , cchpathout : usize , pszpathin : :: windows::core::PCWSTR , pszmore : :: windows::core::PCWSTR , dwflags : PATHCCH_OPTIONS ) -> :: windows::core::HRESULT ); PathCchCombineEx(::core::mem::transmute(pszpathout.as_ptr()), pszpathout.len() as _, pszpathin.into().abi(), pszmore.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1687,7 +1687,7 @@ pub unsafe fn PathCchFindExtension(pszpath: P0, cchpath: usize) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchFindExtension ( pszpath : :: windows::core::PCWSTR , cchpath : usize , ppszext : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchFindExtension ( pszpath : :: windows::core::PCWSTR , cchpath : usize , ppszext : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PathCchFindExtension(pszpath.into().abi(), cchpath, &mut result__).from_abi(result__) } @@ -1698,31 +1698,31 @@ pub unsafe fn PathCchIsRoot(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchIsRoot ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchIsRoot ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathCchIsRoot(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathCchRemoveBackslash(pszpath: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRemoveBackslash ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRemoveBackslash ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); PathCchRemoveBackslash(::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathCchRemoveBackslashEx(pszpath: ::windows::core::PWSTR, cchpath: usize, ppszend: ::core::option::Option<*mut ::windows::core::PWSTR>, pcchremaining: ::core::option::Option<*mut usize>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRemoveBackslashEx ( pszpath : :: windows::core::PWSTR , cchpath : usize , ppszend : *mut :: windows::core::PWSTR , pcchremaining : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRemoveBackslashEx ( pszpath : :: windows::core::PWSTR , cchpath : usize , ppszend : *mut :: windows::core::PWSTR , pcchremaining : *mut usize ) -> :: windows::core::HRESULT ); PathCchRemoveBackslashEx(::core::mem::transmute(pszpath), cchpath, ::core::mem::transmute(ppszend.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchremaining.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathCchRemoveExtension(pszpath: ::windows::core::PWSTR, cchpath: usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRemoveExtension ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRemoveExtension ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); PathCchRemoveExtension(::core::mem::transmute(pszpath), cchpath).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathCchRemoveFileSpec(pszpath: ::windows::core::PWSTR, cchpath: usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRemoveFileSpec ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRemoveFileSpec ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); PathCchRemoveFileSpec(::core::mem::transmute(pszpath), cchpath).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1731,7 +1731,7 @@ pub unsafe fn PathCchRenameExtension(pszpath: &mut [u16], pszext: P0) -> ::w where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRenameExtension ( pszpath : :: windows::core::PWSTR , cchpath : usize , pszext : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchRenameExtension ( pszpath : :: windows::core::PWSTR , cchpath : usize , pszext : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); PathCchRenameExtension(::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _, pszext.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1740,20 +1740,20 @@ pub unsafe fn PathCchSkipRoot(pszpath: P0) -> ::windows::core::Result<::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchSkipRoot ( pszpath : :: windows::core::PCWSTR , ppszrootend : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchSkipRoot ( pszpath : :: windows::core::PCWSTR , ppszrootend : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); PathCchSkipRoot(pszpath.into().abi(), &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathCchStripPrefix(pszpath: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchStripPrefix ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchStripPrefix ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); PathCchStripPrefix(::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathCchStripToRoot(pszpath: ::windows::core::PWSTR, cchpath: usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchStripToRoot ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathCchStripToRoot ( pszpath : :: windows::core::PWSTR , cchpath : usize ) -> :: windows::core::HRESULT ); PathCchStripToRoot(::core::mem::transmute(pszpath), cchpath).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1762,7 +1762,7 @@ pub unsafe fn PathCleanupSpec(pszdir: P0, pszspec: ::windows::core::PWSTR) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PathCleanupSpec ( pszdir : :: windows::core::PCWSTR , pszspec : :: windows::core::PWSTR ) -> PCS_RET ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathCleanupSpec ( pszdir : :: windows::core::PCWSTR , pszspec : :: windows::core::PWSTR ) -> PCS_RET ); PathCleanupSpec(pszdir.into().abi(), ::core::mem::transmute(pszspec)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1772,7 +1772,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCombineA ( pszdest : :: windows::core::PSTR , pszdir : :: windows::core::PCSTR , pszfile : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCombineA ( pszdest : :: windows::core::PSTR , pszdir : :: windows::core::PCSTR , pszfile : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); PathCombineA(::core::mem::transmute(pszdest.as_ptr()), pszdir.into().abi(), pszfile.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1782,7 +1782,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCombineW ( pszdest : :: windows::core::PWSTR , pszdir : :: windows::core::PCWSTR , pszfile : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCombineW ( pszdest : :: windows::core::PWSTR , pszdir : :: windows::core::PCWSTR , pszfile : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); PathCombineW(::core::mem::transmute(pszdest.as_ptr()), pszdir.into().abi(), pszfile.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1792,7 +1792,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCommonPrefixA ( pszfile1 : :: windows::core::PCSTR , pszfile2 : :: windows::core::PCSTR , achpath : :: windows::core::PSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCommonPrefixA ( pszfile1 : :: windows::core::PCSTR , pszfile2 : :: windows::core::PCSTR , achpath : :: windows::core::PSTR ) -> i32 ); PathCommonPrefixA(pszfile1.into().abi(), pszfile2.into().abi(), ::core::mem::transmute(achpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1802,7 +1802,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCommonPrefixW ( pszfile1 : :: windows::core::PCWSTR , pszfile2 : :: windows::core::PCWSTR , achpath : :: windows::core::PWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCommonPrefixW ( pszfile1 : :: windows::core::PCWSTR , pszfile2 : :: windows::core::PCWSTR , achpath : :: windows::core::PWSTR ) -> i32 ); PathCommonPrefixW(pszfile1.into().abi(), pszfile2.into().abi(), ::core::mem::transmute(achpath.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1812,7 +1812,7 @@ pub unsafe fn PathCompactPathA(hdc: P0, pszpath: &mut [u8; 260], dx: u32) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCompactPathA ( hdc : super::super::Graphics::Gdi:: HDC , pszpath : :: windows::core::PSTR , dx : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCompactPathA ( hdc : super::super::Graphics::Gdi:: HDC , pszpath : :: windows::core::PSTR , dx : u32 ) -> super::super::Foundation:: BOOL ); PathCompactPathA(hdc.into(), ::core::mem::transmute(pszpath.as_ptr()), dx) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1822,7 +1822,7 @@ pub unsafe fn PathCompactPathExA(pszout: &mut [u8], pszsrc: P0, dwflags: u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCompactPathExA ( pszout : :: windows::core::PSTR , pszsrc : :: windows::core::PCSTR , cchmax : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCompactPathExA ( pszout : :: windows::core::PSTR , pszsrc : :: windows::core::PCSTR , cchmax : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); PathCompactPathExA(::core::mem::transmute(pszout.as_ptr()), pszsrc.into().abi(), pszout.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1832,7 +1832,7 @@ pub unsafe fn PathCompactPathExW(pszout: &mut [u16], pszsrc: P0, dwflags: u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCompactPathExW ( pszout : :: windows::core::PWSTR , pszsrc : :: windows::core::PCWSTR , cchmax : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCompactPathExW ( pszout : :: windows::core::PWSTR , pszsrc : :: windows::core::PCWSTR , cchmax : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); PathCompactPathExW(::core::mem::transmute(pszout.as_ptr()), pszsrc.into().abi(), pszout.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1842,7 +1842,7 @@ pub unsafe fn PathCompactPathW(hdc: P0, pszpath: &mut [u16; 260], dx: u32) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCompactPathW ( hdc : super::super::Graphics::Gdi:: HDC , pszpath : :: windows::core::PWSTR , dx : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCompactPathW ( hdc : super::super::Graphics::Gdi:: HDC , pszpath : :: windows::core::PWSTR , dx : u32 ) -> super::super::Foundation:: BOOL ); PathCompactPathW(hdc.into(), ::core::mem::transmute(pszpath.as_ptr()), dx) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1851,7 +1851,7 @@ pub unsafe fn PathCreateFromUrlA(pszurl: P0, pszpath: ::windows::core::PSTR, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCreateFromUrlA ( pszurl : :: windows::core::PCSTR , pszpath : :: windows::core::PSTR , pcchpath : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCreateFromUrlA ( pszurl : :: windows::core::PCSTR , pszpath : :: windows::core::PSTR , pcchpath : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); PathCreateFromUrlA(pszurl.into().abi(), ::core::mem::transmute(pszpath), pcchpath, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1860,7 +1860,7 @@ pub unsafe fn PathCreateFromUrlAlloc(pszin: P0, ppszout: *mut ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCreateFromUrlAlloc ( pszin : :: windows::core::PCWSTR , ppszout : *mut :: windows::core::PWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCreateFromUrlAlloc ( pszin : :: windows::core::PCWSTR , ppszout : *mut :: windows::core::PWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); PathCreateFromUrlAlloc(pszin.into().abi(), ppszout, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1869,7 +1869,7 @@ pub unsafe fn PathCreateFromUrlW(pszurl: P0, pszpath: ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathCreateFromUrlW ( pszurl : :: windows::core::PCWSTR , pszpath : :: windows::core::PWSTR , pcchpath : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathCreateFromUrlW ( pszurl : :: windows::core::PCWSTR , pszpath : :: windows::core::PWSTR , pcchpath : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); PathCreateFromUrlW(pszurl.into().abi(), ::core::mem::transmute(pszpath), pcchpath, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1879,7 +1879,7 @@ pub unsafe fn PathFileExistsA(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFileExistsA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFileExistsA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathFileExistsA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -1889,7 +1889,7 @@ pub unsafe fn PathFileExistsW(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFileExistsW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFileExistsW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathFileExistsW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1898,7 +1898,7 @@ pub unsafe fn PathFindExtensionA(pszpath: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindExtensionA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindExtensionA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); PathFindExtensionA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1907,7 +1907,7 @@ pub unsafe fn PathFindExtensionW(pszpath: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindExtensionW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindExtensionW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); PathFindExtensionW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1916,7 +1916,7 @@ pub unsafe fn PathFindFileNameA(pszpath: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindFileNameA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindFileNameA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); PathFindFileNameA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1925,7 +1925,7 @@ pub unsafe fn PathFindFileNameW(pszpath: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindFileNameW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindFileNameW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); PathFindFileNameW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1934,7 +1934,7 @@ pub unsafe fn PathFindNextComponentA(pszpath: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindNextComponentA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindNextComponentA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); PathFindNextComponentA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1943,21 +1943,21 @@ pub unsafe fn PathFindNextComponentW(pszpath: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindNextComponentW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindNextComponentW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); PathFindNextComponentW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathFindOnPathA(pszpath: &mut [u8; 260], ppszotherdirs: ::core::option::Option<*const *const i8>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindOnPathA ( pszpath : :: windows::core::PSTR , ppszotherdirs : *const *const i8 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindOnPathA ( pszpath : :: windows::core::PSTR , ppszotherdirs : *const *const i8 ) -> super::super::Foundation:: BOOL ); PathFindOnPathA(::core::mem::transmute(pszpath.as_ptr()), ::core::mem::transmute(ppszotherdirs.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathFindOnPathW(pszpath: &mut [u16; 260], ppszotherdirs: ::core::option::Option<*const *const u16>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindOnPathW ( pszpath : :: windows::core::PWSTR , ppszotherdirs : *const *const u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindOnPathW ( pszpath : :: windows::core::PWSTR , ppszotherdirs : *const *const u16 ) -> super::super::Foundation:: BOOL ); PathFindOnPathW(::core::mem::transmute(pszpath.as_ptr()), ::core::mem::transmute(ppszotherdirs.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1966,7 +1966,7 @@ pub unsafe fn PathFindSuffixArrayA(pszpath: P0, apszsuffix: &[::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindSuffixArrayA ( pszpath : :: windows::core::PCSTR , apszsuffix : *const :: windows::core::PCSTR , iarraysize : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindSuffixArrayA ( pszpath : :: windows::core::PCSTR , apszsuffix : *const :: windows::core::PCSTR , iarraysize : i32 ) -> :: windows::core::PSTR ); PathFindSuffixArrayA(pszpath.into().abi(), ::core::mem::transmute(apszsuffix.as_ptr()), apszsuffix.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1975,7 +1975,7 @@ pub unsafe fn PathFindSuffixArrayW(pszpath: P0, apszsuffix: &[::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathFindSuffixArrayW ( pszpath : :: windows::core::PCWSTR , apszsuffix : *const :: windows::core::PCWSTR , iarraysize : i32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathFindSuffixArrayW ( pszpath : :: windows::core::PCWSTR , apszsuffix : *const :: windows::core::PCWSTR , iarraysize : i32 ) -> :: windows::core::PWSTR ); PathFindSuffixArrayW(pszpath.into().abi(), ::core::mem::transmute(apszsuffix.as_ptr()), apszsuffix.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1984,7 +1984,7 @@ pub unsafe fn PathGetArgsA(pszpath: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathGetArgsA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathGetArgsA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); PathGetArgsA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -1993,19 +1993,19 @@ pub unsafe fn PathGetArgsW(pszpath: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathGetArgsW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathGetArgsW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); PathGetArgsW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathGetCharTypeA(ch: u8) -> u32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathGetCharTypeA ( ch : u8 ) -> u32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathGetCharTypeA ( ch : u8 ) -> u32 ); PathGetCharTypeA(ch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathGetCharTypeW(ch: u16) -> u32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathGetCharTypeW ( ch : u16 ) -> u32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathGetCharTypeW ( ch : u16 ) -> u32 ); PathGetCharTypeW(ch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2014,7 +2014,7 @@ pub unsafe fn PathGetDriveNumberA(pszpath: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathGetDriveNumberA ( pszpath : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathGetDriveNumberA ( pszpath : :: windows::core::PCSTR ) -> i32 ); PathGetDriveNumberA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2023,13 +2023,13 @@ pub unsafe fn PathGetDriveNumberW(pszpath: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathGetDriveNumberW ( pszpath : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathGetDriveNumberW ( pszpath : :: windows::core::PCWSTR ) -> i32 ); PathGetDriveNumberW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathGetShortPath(pszlongpath: &mut [u16; 260]) { - ::windows::core::link ! ( "shell32.dll""system" fn PathGetShortPath ( pszlongpath : :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathGetShortPath ( pszlongpath : :: windows::core::PWSTR ) -> ( ) ); PathGetShortPath(::core::mem::transmute(pszlongpath.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2040,7 +2040,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsContentTypeA ( pszpath : :: windows::core::PCSTR , pszcontenttype : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsContentTypeA ( pszpath : :: windows::core::PCSTR , pszcontenttype : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsContentTypeA(pszpath.into().abi(), pszcontenttype.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2051,7 +2051,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsContentTypeW ( pszpath : :: windows::core::PCWSTR , pszcontenttype : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsContentTypeW ( pszpath : :: windows::core::PCWSTR , pszcontenttype : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsContentTypeW(pszpath.into().abi(), pszcontenttype.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2061,7 +2061,7 @@ pub unsafe fn PathIsDirectoryA(pszpath: P0) -> super::super::Foundation::BOO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsDirectoryA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsDirectoryA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsDirectoryA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2071,7 +2071,7 @@ pub unsafe fn PathIsDirectoryEmptyA(pszpath: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsDirectoryEmptyA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsDirectoryEmptyA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsDirectoryEmptyA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2081,7 +2081,7 @@ pub unsafe fn PathIsDirectoryEmptyW(pszpath: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsDirectoryEmptyW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsDirectoryEmptyW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsDirectoryEmptyW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2091,7 +2091,7 @@ pub unsafe fn PathIsDirectoryW(pszpath: P0) -> super::super::Foundation::BOO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsDirectoryW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsDirectoryW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsDirectoryW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2101,7 +2101,7 @@ pub unsafe fn PathIsExe(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PathIsExe ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathIsExe ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsExe(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2111,7 +2111,7 @@ pub unsafe fn PathIsFileSpecA(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsFileSpecA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsFileSpecA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsFileSpecA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2121,7 +2121,7 @@ pub unsafe fn PathIsFileSpecW(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsFileSpecW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsFileSpecW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsFileSpecW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2131,7 +2131,7 @@ pub unsafe fn PathIsLFNFileSpecA(pszname: P0) -> super::super::Foundation::B where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsLFNFileSpecA ( pszname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsLFNFileSpecA ( pszname : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsLFNFileSpecA(pszname.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2141,7 +2141,7 @@ pub unsafe fn PathIsLFNFileSpecW(pszname: P0) -> super::super::Foundation::B where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsLFNFileSpecW ( pszname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsLFNFileSpecW ( pszname : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsLFNFileSpecW(pszname.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2151,7 +2151,7 @@ pub unsafe fn PathIsNetworkPathA(pszpath: P0) -> super::super::Foundation::B where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsNetworkPathA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsNetworkPathA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsNetworkPathA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2161,7 +2161,7 @@ pub unsafe fn PathIsNetworkPathW(pszpath: P0) -> super::super::Foundation::B where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsNetworkPathW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsNetworkPathW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsNetworkPathW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2172,7 +2172,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsPrefixA ( pszprefix : :: windows::core::PCSTR , pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsPrefixA ( pszprefix : :: windows::core::PCSTR , pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsPrefixA(pszprefix.into().abi(), pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2183,7 +2183,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsPrefixW ( pszprefix : :: windows::core::PCWSTR , pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsPrefixW ( pszprefix : :: windows::core::PCWSTR , pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsPrefixW(pszprefix.into().abi(), pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2193,7 +2193,7 @@ pub unsafe fn PathIsRelativeA(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsRelativeA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsRelativeA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsRelativeA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2203,7 +2203,7 @@ pub unsafe fn PathIsRelativeW(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsRelativeW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsRelativeW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsRelativeW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2213,7 +2213,7 @@ pub unsafe fn PathIsRootA(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsRootA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsRootA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsRootA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2223,7 +2223,7 @@ pub unsafe fn PathIsRootW(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsRootW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsRootW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsRootW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2234,7 +2234,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsSameRootA ( pszpath1 : :: windows::core::PCSTR , pszpath2 : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsSameRootA ( pszpath1 : :: windows::core::PCSTR , pszpath2 : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsSameRootA(pszpath1.into().abi(), pszpath2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2245,7 +2245,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsSameRootW ( pszpath1 : :: windows::core::PCWSTR , pszpath2 : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsSameRootW ( pszpath1 : :: windows::core::PCWSTR , pszpath2 : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsSameRootW(pszpath1.into().abi(), pszpath2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2255,7 +2255,7 @@ pub unsafe fn PathIsSlowA(pszfile: P0, dwattr: u32) -> super::super::Foundat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PathIsSlowA ( pszfile : :: windows::core::PCSTR , dwattr : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathIsSlowA ( pszfile : :: windows::core::PCSTR , dwattr : u32 ) -> super::super::Foundation:: BOOL ); PathIsSlowA(pszfile.into().abi(), dwattr) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2265,7 +2265,7 @@ pub unsafe fn PathIsSlowW(pszfile: P0, dwattr: u32) -> super::super::Foundat where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PathIsSlowW ( pszfile : :: windows::core::PCWSTR , dwattr : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathIsSlowW ( pszfile : :: windows::core::PCWSTR , dwattr : u32 ) -> super::super::Foundation:: BOOL ); PathIsSlowW(pszfile.into().abi(), dwattr) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2275,7 +2275,7 @@ pub unsafe fn PathIsSystemFolderA(pszpath: P0, dwattrb: u32) -> super::super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsSystemFolderA ( pszpath : :: windows::core::PCSTR , dwattrb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsSystemFolderA ( pszpath : :: windows::core::PCSTR , dwattrb : u32 ) -> super::super::Foundation:: BOOL ); PathIsSystemFolderA(pszpath.into().abi(), dwattrb) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2285,7 +2285,7 @@ pub unsafe fn PathIsSystemFolderW(pszpath: P0, dwattrb: u32) -> super::super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsSystemFolderW ( pszpath : :: windows::core::PCWSTR , dwattrb : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsSystemFolderW ( pszpath : :: windows::core::PCWSTR , dwattrb : u32 ) -> super::super::Foundation:: BOOL ); PathIsSystemFolderW(pszpath.into().abi(), dwattrb) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2295,7 +2295,7 @@ pub unsafe fn PathIsUNCA(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsUNCA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsUNCA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsUNCA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2305,7 +2305,7 @@ pub unsafe fn PathIsUNCEx(pszpath: P0, ppszserver: ::core::option::Option<*m where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathIsUNCEx ( pszpath : :: windows::core::PCWSTR , ppszserver : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "api-ms-win-core-path-l1-1-0.dll""system" fn PathIsUNCEx ( pszpath : :: windows::core::PCWSTR , ppszserver : *mut :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); PathIsUNCEx(pszpath.into().abi(), ::core::mem::transmute(ppszserver.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2315,7 +2315,7 @@ pub unsafe fn PathIsUNCServerA(pszpath: P0) -> super::super::Foundation::BOO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsUNCServerA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsUNCServerA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsUNCServerA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2325,7 +2325,7 @@ pub unsafe fn PathIsUNCServerShareA(pszpath: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsUNCServerShareA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsUNCServerShareA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsUNCServerShareA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2335,7 +2335,7 @@ pub unsafe fn PathIsUNCServerShareW(pszpath: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsUNCServerShareW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsUNCServerShareW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsUNCServerShareW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2345,7 +2345,7 @@ pub unsafe fn PathIsUNCServerW(pszpath: P0) -> super::super::Foundation::BOO where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsUNCServerW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsUNCServerW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsUNCServerW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2355,7 +2355,7 @@ pub unsafe fn PathIsUNCW(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsUNCW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsUNCW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsUNCW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2365,7 +2365,7 @@ pub unsafe fn PathIsURLA(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsURLA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsURLA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathIsURLA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2375,21 +2375,21 @@ pub unsafe fn PathIsURLW(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathIsURLW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathIsURLW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathIsURLW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathMakePrettyA(pszpath: ::windows::core::PSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathMakePrettyA ( pszpath : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathMakePrettyA ( pszpath : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); PathMakePrettyA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathMakePrettyW(pszpath: ::windows::core::PWSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathMakePrettyW ( pszpath : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathMakePrettyW ( pszpath : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); PathMakePrettyW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2399,7 +2399,7 @@ pub unsafe fn PathMakeSystemFolderA(pszpath: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathMakeSystemFolderA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathMakeSystemFolderA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathMakeSystemFolderA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2409,7 +2409,7 @@ pub unsafe fn PathMakeSystemFolderW(pszpath: P0) -> super::super::Foundation where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathMakeSystemFolderW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathMakeSystemFolderW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathMakeSystemFolderW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2421,7 +2421,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PathMakeUniqueName ( pszuniquename : :: windows::core::PWSTR , cchmax : u32 , psztemplate : :: windows::core::PCWSTR , pszlongplate : :: windows::core::PCWSTR , pszdir : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathMakeUniqueName ( pszuniquename : :: windows::core::PWSTR , cchmax : u32 , psztemplate : :: windows::core::PCWSTR , pszlongplate : :: windows::core::PCWSTR , pszdir : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathMakeUniqueName(::core::mem::transmute(pszuniquename.as_ptr()), pszuniquename.len() as _, psztemplate.into().abi(), pszlongplate.into().abi(), pszdir.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2432,7 +2432,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathMatchSpecA ( pszfile : :: windows::core::PCSTR , pszspec : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathMatchSpecA ( pszfile : :: windows::core::PCSTR , pszspec : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathMatchSpecA(pszfile.into().abi(), pszspec.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2442,7 +2442,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathMatchSpecExA ( pszfile : :: windows::core::PCSTR , pszspec : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathMatchSpecExA ( pszfile : :: windows::core::PCSTR , pszspec : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); PathMatchSpecExA(pszfile.into().abi(), pszspec.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2452,7 +2452,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathMatchSpecExW ( pszfile : :: windows::core::PCWSTR , pszspec : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathMatchSpecExW ( pszfile : :: windows::core::PCWSTR , pszspec : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); PathMatchSpecExW(pszfile.into().abi(), pszspec.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2463,39 +2463,39 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathMatchSpecW ( pszfile : :: windows::core::PCWSTR , pszspec : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathMatchSpecW ( pszfile : :: windows::core::PCWSTR , pszspec : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathMatchSpecW(pszfile.into().abi(), pszspec.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathParseIconLocationA(psziconfile: ::windows::core::PSTR) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathParseIconLocationA ( psziconfile : :: windows::core::PSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathParseIconLocationA ( psziconfile : :: windows::core::PSTR ) -> i32 ); PathParseIconLocationA(::core::mem::transmute(psziconfile)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathParseIconLocationW(psziconfile: ::windows::core::PWSTR) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathParseIconLocationW ( psziconfile : :: windows::core::PWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathParseIconLocationW ( psziconfile : :: windows::core::PWSTR ) -> i32 ); PathParseIconLocationW(::core::mem::transmute(psziconfile)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathQualify(psz: ::windows::core::PWSTR) { - ::windows::core::link ! ( "shell32.dll""system" fn PathQualify ( psz : :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathQualify ( psz : :: windows::core::PWSTR ) -> ( ) ); PathQualify(::core::mem::transmute(psz)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathQuoteSpacesA(lpsz: &mut [u8; 260]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathQuoteSpacesA ( lpsz : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathQuoteSpacesA ( lpsz : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); PathQuoteSpacesA(::core::mem::transmute(lpsz.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathQuoteSpacesW(lpsz: &mut [u16; 260]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathQuoteSpacesW ( lpsz : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathQuoteSpacesW ( lpsz : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); PathQuoteSpacesW(::core::mem::transmute(lpsz.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2506,7 +2506,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRelativePathToA ( pszpath : :: windows::core::PSTR , pszfrom : :: windows::core::PCSTR , dwattrfrom : u32 , pszto : :: windows::core::PCSTR , dwattrto : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRelativePathToA ( pszpath : :: windows::core::PSTR , pszfrom : :: windows::core::PCSTR , dwattrfrom : u32 , pszto : :: windows::core::PCSTR , dwattrto : u32 ) -> super::super::Foundation:: BOOL ); PathRelativePathToA(::core::mem::transmute(pszpath.as_ptr()), pszfrom.into().abi(), dwattrfrom, pszto.into().abi(), dwattrto) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2517,69 +2517,69 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRelativePathToW ( pszpath : :: windows::core::PWSTR , pszfrom : :: windows::core::PCWSTR , dwattrfrom : u32 , pszto : :: windows::core::PCWSTR , dwattrto : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRelativePathToW ( pszpath : :: windows::core::PWSTR , pszfrom : :: windows::core::PCWSTR , dwattrfrom : u32 , pszto : :: windows::core::PCWSTR , dwattrto : u32 ) -> super::super::Foundation:: BOOL ); PathRelativePathToW(::core::mem::transmute(pszpath.as_ptr()), pszfrom.into().abi(), dwattrfrom, pszto.into().abi(), dwattrto) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathRemoveArgsA(pszpath: ::windows::core::PSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveArgsA ( pszpath : :: windows::core::PSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveArgsA ( pszpath : :: windows::core::PSTR ) -> ( ) ); PathRemoveArgsA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathRemoveArgsW(pszpath: ::windows::core::PWSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveArgsW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveArgsW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); PathRemoveArgsW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathRemoveBackslashA(pszpath: ::windows::core::PSTR) -> ::windows::core::PSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveBackslashA ( pszpath : :: windows::core::PSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveBackslashA ( pszpath : :: windows::core::PSTR ) -> :: windows::core::PSTR ); PathRemoveBackslashA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathRemoveBackslashW(pszpath: ::windows::core::PWSTR) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveBackslashW ( pszpath : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveBackslashW ( pszpath : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); PathRemoveBackslashW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathRemoveBlanksA(pszpath: ::windows::core::PSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveBlanksA ( pszpath : :: windows::core::PSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveBlanksA ( pszpath : :: windows::core::PSTR ) -> ( ) ); PathRemoveBlanksA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathRemoveBlanksW(pszpath: ::windows::core::PWSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveBlanksW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveBlanksW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); PathRemoveBlanksW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathRemoveExtensionA(pszpath: ::windows::core::PSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveExtensionA ( pszpath : :: windows::core::PSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveExtensionA ( pszpath : :: windows::core::PSTR ) -> ( ) ); PathRemoveExtensionA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathRemoveExtensionW(pszpath: ::windows::core::PWSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveExtensionW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveExtensionW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); PathRemoveExtensionW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathRemoveFileSpecA(pszpath: ::windows::core::PSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveFileSpecA ( pszpath : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveFileSpecA ( pszpath : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); PathRemoveFileSpecA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathRemoveFileSpecW(pszpath: ::windows::core::PWSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRemoveFileSpecW ( pszpath : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRemoveFileSpecW ( pszpath : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); PathRemoveFileSpecW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2589,7 +2589,7 @@ pub unsafe fn PathRenameExtensionA(pszpath: &mut [u8; 260], pszext: P0) -> s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRenameExtensionA ( pszpath : :: windows::core::PSTR , pszext : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRenameExtensionA ( pszpath : :: windows::core::PSTR , pszext : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathRenameExtensionA(::core::mem::transmute(pszpath.as_ptr()), pszext.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2599,13 +2599,13 @@ pub unsafe fn PathRenameExtensionW(pszpath: &mut [u16; 260], pszext: P0) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathRenameExtensionW ( pszpath : :: windows::core::PWSTR , pszext : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathRenameExtensionW ( pszpath : :: windows::core::PWSTR , pszext : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathRenameExtensionW(::core::mem::transmute(pszpath.as_ptr()), pszext.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathResolve(pszpath: &mut [u16; 260], dirs: ::core::option::Option<*const *const u16>, fflags: PRF_FLAGS) -> i32 { - ::windows::core::link ! ( "shell32.dll""system" fn PathResolve ( pszpath : :: windows::core::PWSTR , dirs : *const *const u16 , fflags : PRF_FLAGS ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathResolve ( pszpath : :: windows::core::PWSTR , dirs : *const *const u16 , fflags : PRF_FLAGS ) -> i32 ); PathResolve(::core::mem::transmute(pszpath.as_ptr()), ::core::mem::transmute(dirs.unwrap_or(::std::ptr::null())), fflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2615,7 +2615,7 @@ pub unsafe fn PathSearchAndQualifyA(pszpath: P0, pszbuf: &mut [u8]) -> super where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathSearchAndQualifyA ( pszpath : :: windows::core::PCSTR , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathSearchAndQualifyA ( pszpath : :: windows::core::PCSTR , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> super::super::Foundation:: BOOL ); PathSearchAndQualifyA(pszpath.into().abi(), ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2625,7 +2625,7 @@ pub unsafe fn PathSearchAndQualifyW(pszpath: P0, pszbuf: &mut [u16]) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathSearchAndQualifyW ( pszpath : :: windows::core::PCWSTR , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathSearchAndQualifyW ( pszpath : :: windows::core::PCWSTR , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> super::super::Foundation:: BOOL ); PathSearchAndQualifyW(pszpath.into().abi(), ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2636,7 +2636,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathSetDlgItemPathA ( hdlg : super::super::Foundation:: HWND , id : i32 , pszpath : :: windows::core::PCSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathSetDlgItemPathA ( hdlg : super::super::Foundation:: HWND , id : i32 , pszpath : :: windows::core::PCSTR ) -> ( ) ); PathSetDlgItemPathA(hdlg.into(), id, pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2647,7 +2647,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathSetDlgItemPathW ( hdlg : super::super::Foundation:: HWND , id : i32 , pszpath : :: windows::core::PCWSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathSetDlgItemPathW ( hdlg : super::super::Foundation:: HWND , id : i32 , pszpath : :: windows::core::PCWSTR ) -> ( ) ); PathSetDlgItemPathW(hdlg.into(), id, pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2656,7 +2656,7 @@ pub unsafe fn PathSkipRootA(pszpath: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathSkipRootA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathSkipRootA ( pszpath : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); PathSkipRootA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2665,33 +2665,33 @@ pub unsafe fn PathSkipRootW(pszpath: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathSkipRootW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathSkipRootW ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); PathSkipRootW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathStripPathA(pszpath: ::windows::core::PSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathStripPathA ( pszpath : :: windows::core::PSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathStripPathA ( pszpath : :: windows::core::PSTR ) -> ( ) ); PathStripPathA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathStripPathW(pszpath: ::windows::core::PWSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathStripPathW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathStripPathW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); PathStripPathW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathStripToRootA(pszpath: ::windows::core::PSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathStripToRootA ( pszpath : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathStripToRootA ( pszpath : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); PathStripToRootA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathStripToRootW(pszpath: ::windows::core::PWSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathStripToRootW ( pszpath : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathStripToRootW ( pszpath : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); PathStripToRootW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2701,7 +2701,7 @@ pub unsafe fn PathUnExpandEnvStringsA(pszpath: P0, pszbuf: &mut [u8]) -> sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathUnExpandEnvStringsA ( pszpath : :: windows::core::PCSTR , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathUnExpandEnvStringsA ( pszpath : :: windows::core::PCSTR , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> super::super::Foundation:: BOOL ); PathUnExpandEnvStringsA(pszpath.into().abi(), ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2711,19 +2711,19 @@ pub unsafe fn PathUnExpandEnvStringsW(pszpath: P0, pszbuf: &mut [u16]) -> su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathUnExpandEnvStringsW ( pszpath : :: windows::core::PCWSTR , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathUnExpandEnvStringsW ( pszpath : :: windows::core::PCWSTR , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> super::super::Foundation:: BOOL ); PathUnExpandEnvStringsW(pszpath.into().abi(), ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathUndecorateA(pszpath: ::windows::core::PSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathUndecorateA ( pszpath : :: windows::core::PSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathUndecorateA ( pszpath : :: windows::core::PSTR ) -> ( ) ); PathUndecorateA(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn PathUndecorateW(pszpath: ::windows::core::PWSTR) { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathUndecorateW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathUndecorateW ( pszpath : :: windows::core::PWSTR ) -> ( ) ); PathUndecorateW(::core::mem::transmute(pszpath)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2733,7 +2733,7 @@ pub unsafe fn PathUnmakeSystemFolderA(pszpath: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathUnmakeSystemFolderA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathUnmakeSystemFolderA ( pszpath : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); PathUnmakeSystemFolderA(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2743,21 +2743,21 @@ pub unsafe fn PathUnmakeSystemFolderW(pszpath: P0) -> super::super::Foundati where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathUnmakeSystemFolderW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathUnmakeSystemFolderW ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathUnmakeSystemFolderW(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathUnquoteSpacesA(lpsz: ::windows::core::PSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathUnquoteSpacesA ( lpsz : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathUnquoteSpacesA ( lpsz : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); PathUnquoteSpacesA(::core::mem::transmute(lpsz)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn PathUnquoteSpacesW(lpsz: ::windows::core::PWSTR) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn PathUnquoteSpacesW ( lpsz : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn PathUnquoteSpacesW ( lpsz : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); PathUnquoteSpacesW(::core::mem::transmute(lpsz)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2769,7 +2769,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn PathYetAnotherMakeUniqueName ( pszuniquename : :: windows::core::PWSTR , pszpath : :: windows::core::PCWSTR , pszshort : :: windows::core::PCWSTR , pszfilespec : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn PathYetAnotherMakeUniqueName ( pszuniquename : :: windows::core::PWSTR , pszpath : :: windows::core::PCWSTR , pszshort : :: windows::core::PCWSTR , pszfilespec : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); PathYetAnotherMakeUniqueName(::core::mem::transmute(pszuniquename.as_ptr()), pszpath.into().abi(), pszshort.into().abi(), pszfilespec.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2779,7 +2779,7 @@ pub unsafe fn PickIconDlg(hwnd: P0, psziconpath: &mut [u16], piiconindex: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn PickIconDlg ( hwnd : super::super::Foundation:: HWND , psziconpath : :: windows::core::PWSTR , cchiconpath : u32 , piiconindex : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn PickIconDlg ( hwnd : super::super::Foundation:: HWND , psziconpath : :: windows::core::PWSTR , cchiconpath : u32 , piiconindex : *mut i32 ) -> i32 ); PickIconDlg(hwnd.into(), ::core::mem::transmute(psziconpath.as_ptr()), psziconpath.len() as _, ::core::mem::transmute(piiconindex.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2788,7 +2788,7 @@ pub unsafe fn QISearch(that: *mut ::core::ffi::c_void, pqit: *const QITAB) -> where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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__) } @@ -2796,7 +2796,7 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ReadCabinetState(pcs: *mut CABINETSTATE, clength: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn ReadCabinetState ( pcs : *mut CABINETSTATE , clength : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn ReadCabinetState ( pcs : *mut CABINETSTATE , clength : i32 ) -> super::super::Foundation:: BOOL ); ReadCabinetState(pcs, clength) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2806,21 +2806,21 @@ pub unsafe fn RealDriveType(idrive: i32, foktohitnet: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn RealDriveType ( idrive : i32 , foktohitnet : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn RealDriveType ( idrive : i32 , foktohitnet : super::super::Foundation:: BOOL ) -> i32 ); RealDriveType(idrive, foktohitnet.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RegisterAppConstrainedChangeNotification(routine: PAPPCONSTRAIN_CHANGE_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>, registration: *mut *mut _APPCONSTRAIN_REGISTRATION) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-psm-appnotify-l1-1-1.dll""system" fn RegisterAppConstrainedChangeNotification ( routine : PAPPCONSTRAIN_CHANGE_ROUTINE , context : *const ::core::ffi::c_void , registration : *mut *mut _APPCONSTRAIN_REGISTRATION ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-psm-appnotify-l1-1-1.dll""system" fn RegisterAppConstrainedChangeNotification ( routine : PAPPCONSTRAIN_CHANGE_ROUTINE , context : *const ::core::ffi::c_void , registration : *mut *mut _APPCONSTRAIN_REGISTRATION ) -> u32 ); RegisterAppConstrainedChangeNotification(routine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), registration) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn RegisterAppStateChangeNotification(routine: PAPPSTATE_CHANGE_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>, registration: *mut *mut _APPSTATE_REGISTRATION) -> u32 { - ::windows::core::link ! ( "api-ms-win-core-psm-appnotify-l1-1-0.dll""system" fn RegisterAppStateChangeNotification ( routine : PAPPSTATE_CHANGE_ROUTINE , context : *const ::core::ffi::c_void , registration : *mut *mut _APPSTATE_REGISTRATION ) -> u32 ); + ::windows::imp::link ! ( "api-ms-win-core-psm-appnotify-l1-1-0.dll""system" fn RegisterAppStateChangeNotification ( routine : PAPPSTATE_CHANGE_ROUTINE , context : *const ::core::ffi::c_void , registration : *mut *mut _APPSTATE_REGISTRATION ) -> u32 ); RegisterAppStateChangeNotification(routine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), registration) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2830,7 +2830,7 @@ pub unsafe fn RegisterScaleChangeEvent(hevent: P0) -> ::windows::core::Resul where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn RegisterScaleChangeEvent ( hevent : super::super::Foundation:: HANDLE , pdwcookie : *mut usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn RegisterScaleChangeEvent ( hevent : super::super::Foundation:: HANDLE , pdwcookie : *mut usize ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RegisterScaleChangeEvent(hevent.into(), &mut result__).from_abi(result__) } @@ -2841,7 +2841,7 @@ pub unsafe fn RegisterScaleChangeNotifications(displaydevice: DISPLAY_DEVICE where P0: ::std::convert::Into, { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-0.dll""system" fn RegisterScaleChangeNotifications ( displaydevice : DISPLAY_DEVICE_TYPE , hwndnotify : super::super::Foundation:: HWND , umsgnotify : u32 , pdwcookie : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-0.dll""system" fn RegisterScaleChangeNotifications ( displaydevice : DISPLAY_DEVICE_TYPE , hwndnotify : super::super::Foundation:: HWND , umsgnotify : u32 , pdwcookie : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); RegisterScaleChangeNotifications(displaydevice, hwndnotify.into(), umsgnotify, &mut result__).from_abi(result__) } @@ -2852,7 +2852,7 @@ pub unsafe fn RemoveWindowSubclass(hwnd: P0, pfnsubclass: SUBCLASSPROC, uids where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn RemoveWindowSubclass ( hwnd : super::super::Foundation:: HWND , pfnsubclass : SUBCLASSPROC , uidsubclass : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn RemoveWindowSubclass ( hwnd : super::super::Foundation:: HWND , pfnsubclass : SUBCLASSPROC , uidsubclass : usize ) -> super::super::Foundation:: BOOL ); RemoveWindowSubclass(hwnd.into(), pfnsubclass, uidsubclass) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2863,7 +2863,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn RestartDialog ( hwnd : super::super::Foundation:: HWND , pszprompt : :: windows::core::PCWSTR , dwreturn : u32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn RestartDialog ( hwnd : super::super::Foundation:: HWND , pszprompt : :: windows::core::PCWSTR , dwreturn : u32 ) -> i32 ); RestartDialog(hwnd.into(), pszprompt.into().abi(), dwreturn) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -2874,13 +2874,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn RestartDialogEx ( hwnd : super::super::Foundation:: HWND , pszprompt : :: windows::core::PCWSTR , dwreturn : u32 , dwreasoncode : u32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn RestartDialogEx ( hwnd : super::super::Foundation:: HWND , pszprompt : :: windows::core::PCWSTR , dwreturn : u32 , dwreasoncode : u32 ) -> i32 ); RestartDialogEx(hwnd.into(), pszprompt.into().abi(), dwreturn, dwreasoncode) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn RevokeScaleChangeNotifications(displaydevice: DISPLAY_DEVICE_TYPE, dwcookie: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-0.dll""system" fn RevokeScaleChangeNotifications ( displaydevice : DISPLAY_DEVICE_TYPE , dwcookie : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-0.dll""system" fn RevokeScaleChangeNotifications ( displaydevice : DISPLAY_DEVICE_TYPE , dwcookie : u32 ) -> :: windows::core::HRESULT ); RevokeScaleChangeNotifications(displaydevice, dwcookie).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -2891,26 +2891,26 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHAddFromPropSheetExtArray ( hpsxa : HPSXA , lpfnaddpage : super::Controls:: LPFNSVADDPROPSHEETPAGE , lparam : super::super::Foundation:: LPARAM ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHAddFromPropSheetExtArray ( hpsxa : HPSXA , lpfnaddpage : super::Controls:: LPFNSVADDPROPSHEETPAGE , lparam : super::super::Foundation:: LPARAM ) -> u32 ); SHAddFromPropSheetExtArray(hpsxa.into(), lpfnaddpage, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHAddToRecentDocs(uflags: u32, pv: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "shell32.dll""system" fn SHAddToRecentDocs ( uflags : u32 , pv : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHAddToRecentDocs ( uflags : u32 , pv : *const ::core::ffi::c_void ) -> ( ) ); SHAddToRecentDocs(uflags, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHAlloc(cb: usize) -> *mut ::core::ffi::c_void { - ::windows::core::link ! ( "shell32.dll""system" fn SHAlloc ( cb : usize ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHAlloc ( cb : usize ) -> *mut ::core::ffi::c_void ); SHAlloc(cb) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHAllocShared(pvdata: ::core::option::Option<*const ::core::ffi::c_void>, dwsize: u32, dwprocessid: u32) -> super::super::Foundation::HANDLE { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHAllocShared ( pvdata : *const ::core::ffi::c_void , dwsize : u32 , dwprocessid : u32 ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHAllocShared ( pvdata : *const ::core::ffi::c_void , dwsize : u32 , dwprocessid : u32 ) -> super::super::Foundation:: HANDLE ); SHAllocShared(::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null())), dwsize, dwprocessid) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2919,7 +2919,7 @@ pub unsafe fn SHAnsiToAnsi(pszsrc: P0, pszdst: &mut [u8]) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHAnsiToAnsi ( pszsrc : :: windows::core::PCSTR , pszdst : :: windows::core::PSTR , cchbuf : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHAnsiToAnsi ( pszsrc : :: windows::core::PCSTR , pszdst : :: windows::core::PSTR , cchbuf : i32 ) -> i32 ); SHAnsiToAnsi(pszsrc.into().abi(), ::core::mem::transmute(pszdst.as_ptr()), pszdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2928,14 +2928,14 @@ pub unsafe fn SHAnsiToUnicode(pszsrc: P0, pwszdst: &mut [u16]) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHAnsiToUnicode ( pszsrc : :: windows::core::PCSTR , pwszdst : :: windows::core::PWSTR , cwchbuf : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHAnsiToUnicode ( pszsrc : :: windows::core::PCSTR , pwszdst : :: windows::core::PWSTR , cwchbuf : i32 ) -> i32 ); SHAnsiToUnicode(pszsrc.into().abi(), ::core::mem::transmute(pwszdst.as_ptr()), pwszdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHAppBarMessage(dwmessage: u32, pdata: *mut APPBARDATA) -> usize { - ::windows::core::link ! ( "shell32.dll""system" fn SHAppBarMessage ( dwmessage : u32 , pdata : *mut APPBARDATA ) -> usize ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHAppBarMessage ( dwmessage : u32 , pdata : *mut APPBARDATA ) -> usize ); SHAppBarMessage(dwmessage, pdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -2944,7 +2944,7 @@ pub unsafe fn SHAssocEnumHandlers(pszextra: P0, affilter: ASSOC_FILTER) -> : where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHAssocEnumHandlers ( pszextra : :: windows::core::PCWSTR , affilter : ASSOC_FILTER , ppenumhandler : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHAssocEnumHandlers ( pszextra : :: windows::core::PCWSTR , affilter : ASSOC_FILTER , ppenumhandler : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHAssocEnumHandlers(pszextra.into().abi(), affilter, &mut result__).from_abi(result__) } @@ -2955,7 +2955,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -2966,7 +2966,7 @@ pub unsafe fn SHAutoComplete(hwndedit: P0, dwflags: SHELL_AUTOCOMPLETE_FLAGS where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHAutoComplete ( hwndedit : super::super::Foundation:: HWND , dwflags : SHELL_AUTOCOMPLETE_FLAGS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHAutoComplete ( hwndedit : super::super::Foundation:: HWND , dwflags : SHELL_AUTOCOMPLETE_FLAGS ) -> :: windows::core::HRESULT ); SHAutoComplete(hwndedit.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -2977,7 +2977,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pidl, &::IID, &mut result__, ::core::mem::transmute(ppidllast.unwrap_or(::std::ptr::null_mut()))).from_abi(result__) } @@ -2990,7 +2990,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pidl, ppbc.into().abi(), &::IID, &mut result__, ::core::mem::transmute(ppidllast.unwrap_or(::std::ptr::null_mut()))).from_abi(result__) } @@ -3003,7 +3003,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pidl, pbc.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3014,7 +3014,7 @@ pub unsafe fn SHBindToParent(pidl: *const Common::ITEMIDLIST, ppidllast: ::co where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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__) } @@ -3022,14 +3022,14 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SHBrowseForFolderA(lpbi: *const BROWSEINFOA) -> *mut Common::ITEMIDLIST { - ::windows::core::link ! ( "shell32.dll""system" fn SHBrowseForFolderA ( lpbi : *const BROWSEINFOA ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHBrowseForFolderA ( lpbi : *const BROWSEINFOA ) -> *mut Common:: ITEMIDLIST ); SHBrowseForFolderA(lpbi) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SHBrowseForFolderW(lpbi: *const BROWSEINFOW) -> *mut Common::ITEMIDLIST { - ::windows::core::link ! ( "shell32.dll""system" fn SHBrowseForFolderW ( lpbi : *const BROWSEINFOW ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHBrowseForFolderW ( lpbi : *const BROWSEINFOW ) -> *mut Common:: ITEMIDLIST ); SHBrowseForFolderW(lpbi) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3038,7 +3038,7 @@ pub unsafe fn SHCLSIDFromString(psz: P0) -> ::windows::core::Result<::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCLSIDFromString ( psz : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCLSIDFromString ( psz : :: windows::core::PCWSTR , pclsid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); SHCLSIDFromString(psz.into().abi(), &mut result__).from_abi(result__) } @@ -3049,7 +3049,7 @@ pub unsafe fn SHChangeNotification_Lock(hchange: P0, dwprocid: u32, pppidl: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHChangeNotification_Lock ( hchange : super::super::Foundation:: HANDLE , dwprocid : u32 , pppidl : *mut *mut *mut Common:: ITEMIDLIST , plevent : *mut i32 ) -> ShFindChangeNotificationHandle ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHChangeNotification_Lock ( hchange : super::super::Foundation:: HANDLE , dwprocid : u32 , pppidl : *mut *mut *mut Common:: ITEMIDLIST , plevent : *mut i32 ) -> ShFindChangeNotificationHandle ); SHChangeNotification_Lock(hchange.into(), dwprocid, ::core::mem::transmute(pppidl.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plevent.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3059,20 +3059,20 @@ pub unsafe fn SHChangeNotification_Unlock(hlock: P0) -> super::super::Founda where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHChangeNotification_Unlock ( hlock : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHChangeNotification_Unlock ( hlock : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SHChangeNotification_Unlock(hlock.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHChangeNotify(weventid: SHCNE_ID, uflags: SHCNF_FLAGS, dwitem1: ::core::option::Option<*const ::core::ffi::c_void>, dwitem2: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "shell32.dll""system" fn SHChangeNotify ( weventid : SHCNE_ID , uflags : SHCNF_FLAGS , dwitem1 : *const ::core::ffi::c_void , dwitem2 : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHChangeNotify ( weventid : SHCNE_ID , uflags : SHCNF_FLAGS , dwitem1 : *const ::core::ffi::c_void , dwitem2 : *const ::core::ffi::c_void ) -> ( ) ); SHChangeNotify(weventid, uflags, ::core::mem::transmute(dwitem1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dwitem2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHChangeNotifyDeregister(ulid: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn SHChangeNotifyDeregister ( ulid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHChangeNotifyDeregister ( ulid : u32 ) -> super::super::Foundation:: BOOL ); SHChangeNotifyDeregister(ulid) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -3082,13 +3082,13 @@ pub unsafe fn SHChangeNotifyRegister(hwnd: P0, fsources: SHCNRF_SOURCE, feve where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHChangeNotifyRegister ( hwnd : super::super::Foundation:: HWND , fsources : SHCNRF_SOURCE , fevents : i32 , wmsg : u32 , centries : i32 , pshcne : *const SHChangeNotifyEntry ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHChangeNotifyRegister ( hwnd : super::super::Foundation:: HWND , fsources : SHCNRF_SOURCE , fevents : i32 , wmsg : u32 , centries : i32 , pshcne : *const SHChangeNotifyEntry ) -> u32 ); SHChangeNotifyRegister(hwnd.into(), fsources, fevents, wmsg, centries, pshcne) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHChangeNotifyRegisterThread(status: SCNRT_STATUS) { - ::windows::core::link ! ( "shell32.dll""system" fn SHChangeNotifyRegisterThread ( status : SCNRT_STATUS ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHChangeNotifyRegisterThread ( status : SCNRT_STATUS ) -> ( ) ); SHChangeNotifyRegisterThread(status) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -3099,7 +3099,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCloneSpecialIDList ( hwnd : super::super::Foundation:: HWND , csidl : i32 , fcreate : super::super::Foundation:: BOOL ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCloneSpecialIDList ( hwnd : super::super::Foundation:: HWND , csidl : i32 , fcreate : super::super::Foundation:: BOOL ) -> *mut Common:: ITEMIDLIST ); SHCloneSpecialIDList(hwnd.into(), csidl, fcreate.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3110,7 +3110,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), ::core::mem::transmute(pclsid.unwrap_or(::std::ptr::null())), punkouter.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3123,7 +3123,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCopyKeyA ( hkeysrc : super::super::System::Registry:: HKEY , pszsrcsubkey : :: windows::core::PCSTR , hkeydest : super::super::System::Registry:: HKEY , freserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCopyKeyA ( hkeysrc : super::super::System::Registry:: HKEY , pszsrcsubkey : :: windows::core::PCSTR , hkeydest : super::super::System::Registry:: HKEY , freserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHCopyKeyA(hkeysrc.into(), pszsrcsubkey.into().abi(), hkeydest.into(), freserved) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3135,7 +3135,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCopyKeyW ( hkeysrc : super::super::System::Registry:: HKEY , pszsrcsubkey : :: windows::core::PCWSTR , hkeydest : super::super::System::Registry:: HKEY , freserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCopyKeyW ( hkeysrc : super::super::System::Registry:: HKEY , pszsrcsubkey : :: windows::core::PCWSTR , hkeydest : super::super::System::Registry:: HKEY , freserved : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHCopyKeyW(hkeysrc.into(), pszsrcsubkey.into().abi(), hkeydest.into(), freserved) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3144,7 +3144,7 @@ pub unsafe fn SHCreateAssociationRegistration() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateAssociationRegistration ( riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -3156,7 +3156,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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() as _), ::core::mem::transmute(apidl.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdtinner.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3167,7 +3167,7 @@ pub unsafe fn SHCreateDefaultContextMenu(pdcm: *const DEFCONTEXTMENU) -> ::wi where T: ::windows::core::Interface, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateDefaultContextMenu ( pdcm : *const DEFCONTEXTMENU , riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -3177,7 +3177,7 @@ pub unsafe fn SHCreateDefaultExtractIcon() -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateDefaultExtractIcon ( riid : *const :: windows::core::GUID , ppv : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } @@ -3187,7 +3187,7 @@ pub unsafe fn SHCreateDefaultPropertiesOp(psi: P0) -> ::windows::core::Resul where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateDefaultPropertiesOp ( psi : * mut::core::ffi::c_void , ppfileop : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateDefaultPropertiesOp ( psi : * mut::core::ffi::c_void , ppfileop : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateDefaultPropertiesOp(psi.into().abi(), &mut result__).from_abi(result__) } @@ -3199,7 +3199,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateDirectory ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateDirectory ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PCWSTR ) -> i32 ); SHCreateDirectory(hwnd.into(), pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -3210,7 +3210,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateDirectoryExA ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PCSTR , psa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateDirectoryExA ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PCSTR , psa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> i32 ); SHCreateDirectoryExA(hwnd.into(), pszpath.into().abi(), ::core::mem::transmute(psa.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -3221,7 +3221,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateDirectoryExW ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PCWSTR , psa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateDirectoryExW ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PCWSTR , psa : *const super::super::Security:: SECURITY_ATTRIBUTES ) -> i32 ); SHCreateDirectoryExW(hwnd.into(), pszpath.into().abi(), ::core::mem::transmute(psa.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3231,7 +3231,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), dwfileattributes, &::IID, &mut result__).from_abi(result__) } @@ -3242,7 +3242,7 @@ pub unsafe fn SHCreateItemFromIDList(pidl: *const Common::ITEMIDLIST) -> ::wi where T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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__) } @@ -3255,7 +3255,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pbc.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3269,7 +3269,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pszname.into().abi(), pbc.into().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3280,7 +3280,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3292,7 +3292,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pidl, &::IID, &mut result__).from_abi(result__) } @@ -3300,14 +3300,14 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SHCreateMemStream(pinit: ::core::option::Option<&[u8]>) -> ::core::option::Option { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCreateMemStream ( pinit : *const u8 , cbinit : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCreateMemStream ( pinit : *const u8 , cbinit : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); SHCreateMemStream(::core::mem::transmute(pinit.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pinit.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Threading"))] #[inline] pub unsafe fn SHCreateProcessAsUserW(pscpi: *mut SHCREATEPROCESSINFOW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateProcessAsUserW ( pscpi : *mut SHCREATEPROCESSINFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateProcessAsUserW ( pscpi : *mut SHCREATEPROCESSINFOW ) -> super::super::Foundation:: BOOL ); SHCreateProcessAsUserW(pscpi) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -3318,14 +3318,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreatePropSheetExtArray ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , max_iface : u32 ) -> HPSXA ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreatePropSheetExtArray ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , max_iface : u32 ) -> HPSXA ); SHCreatePropSheetExtArray(hkey.into(), pszsubkey.into().abi(), max_iface) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SHCreateQueryCancelAutoPlayMoniker() -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateQueryCancelAutoPlayMoniker ( ppmoniker : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateQueryCancelAutoPlayMoniker ( ppmoniker : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateQueryCancelAutoPlayMoniker(&mut result__).from_abi(result__) } @@ -3333,7 +3333,7 @@ pub unsafe fn SHCreateQueryCancelAutoPlayMoniker() -> ::windows::core::Result ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateShellFolderView ( pcsfv : *const SFV_CREATE , ppsv : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateShellFolderView ( pcsfv : *const SFV_CREATE , ppsv : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateShellFolderView(pcsfv, &mut result__).from_abi(result__) } @@ -3341,7 +3341,7 @@ pub unsafe fn SHCreateShellFolderView(pcsfv: *const SFV_CREATE) -> ::windows::co #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SHCreateShellFolderViewEx(pcsfv: *const CSFV) -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateShellFolderViewEx ( pcsfv : *const CSFV , ppsv : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateShellFolderViewEx ( pcsfv : *const CSFV , ppsv : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateShellFolderViewEx(pcsfv, &mut result__).from_abi(result__) } @@ -3352,7 +3352,7 @@ pub unsafe fn SHCreateShellItem(pidlparent: ::core::option::Option<*const Co where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateShellItem ( pidlparent : *const Common:: ITEMIDLIST , psfparent : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , ppsi : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateShellItem ( pidlparent : *const Common:: ITEMIDLIST , psfparent : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , ppsi : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateShellItem(::core::mem::transmute(pidlparent.unwrap_or(::std::ptr::null())), psfparent.into().abi(), pidl, &mut result__).from_abi(result__) } @@ -3363,7 +3363,7 @@ pub unsafe fn SHCreateShellItemArray(pidlparent: ::core::option::Option<*con where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateShellItemArray ( pidlparent : *const Common:: ITEMIDLIST , psf : * mut::core::ffi::c_void , cidl : u32 , ppidl : *const *const Common:: ITEMIDLIST , ppsiitemarray : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateShellItemArray ( pidlparent : *const Common:: ITEMIDLIST , psf : * mut::core::ffi::c_void , cidl : u32 , ppidl : *const *const Common:: ITEMIDLIST , ppsiitemarray : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateShellItemArray(::core::mem::transmute(pidlparent.unwrap_or(::std::ptr::null())), psf.into().abi(), ppidl.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppidl.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &mut result__).from_abi(result__) } @@ -3375,7 +3375,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3383,7 +3383,7 @@ where #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn SHCreateShellItemArrayFromIDLists(rgpidl: &[*const Common::ITEMIDLIST]) -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateShellItemArrayFromIDLists ( cidl : u32 , rgpidl : *const *const Common:: ITEMIDLIST , ppsiitemarray : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateShellItemArrayFromIDLists ( cidl : u32 , rgpidl : *const *const Common:: ITEMIDLIST , ppsiitemarray : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateShellItemArrayFromIDLists(rgpidl.len() as _, ::core::mem::transmute(rgpidl.as_ptr()), &mut result__).from_abi(result__) } @@ -3394,7 +3394,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3405,14 +3405,14 @@ pub unsafe fn SHCreateShellPalette(hdc: P0) -> super::super::Graphics::Gdi:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCreateShellPalette ( hdc : super::super::Graphics::Gdi:: HDC ) -> super::super::Graphics::Gdi:: HPALETTE ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCreateShellPalette ( hdc : super::super::Graphics::Gdi:: HDC ) -> super::super::Graphics::Gdi:: HPALETTE ); SHCreateShellPalette(hdc.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SHCreateStdEnumFmtEtc(afmt: &[super::super::System::Com::FORMATETC]) -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn SHCreateStdEnumFmtEtc ( cfmt : u32 , afmt : *const super::super::System::Com:: FORMATETC , ppenumformatetc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHCreateStdEnumFmtEtc ( cfmt : u32 , afmt : *const super::super::System::Com:: FORMATETC , ppenumformatetc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateStdEnumFmtEtc(afmt.len() as _, ::core::mem::transmute(afmt.as_ptr()), &mut result__).from_abi(result__) } @@ -3423,7 +3423,7 @@ pub unsafe fn SHCreateStreamOnFileA(pszfile: P0, grfmode: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCreateStreamOnFileA ( pszfile : :: windows::core::PCSTR , grfmode : u32 , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCreateStreamOnFileA ( pszfile : :: windows::core::PCSTR , grfmode : u32 , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateStreamOnFileA(pszfile.into().abi(), grfmode, &mut result__).from_abi(result__) } @@ -3436,7 +3436,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCreateStreamOnFileEx ( pszfile : :: windows::core::PCWSTR , grfmode : u32 , dwattributes : u32 , fcreate : super::super::Foundation:: BOOL , pstmtemplate : * mut::core::ffi::c_void , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCreateStreamOnFileEx ( pszfile : :: windows::core::PCWSTR , grfmode : u32 , dwattributes : u32 , fcreate : super::super::Foundation:: BOOL , pstmtemplate : * mut::core::ffi::c_void , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateStreamOnFileEx(pszfile.into().abi(), grfmode, dwattributes, fcreate.into(), pstmtemplate.into().abi(), &mut result__).from_abi(result__) } @@ -3447,7 +3447,7 @@ pub unsafe fn SHCreateStreamOnFileW(pszfile: P0, grfmode: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCreateStreamOnFileW ( pszfile : :: windows::core::PCWSTR , grfmode : u32 , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCreateStreamOnFileW ( pszfile : :: windows::core::PCWSTR , grfmode : u32 , ppstm : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHCreateStreamOnFileW(pszfile.into().abi(), grfmode, &mut result__).from_abi(result__) } @@ -3455,20 +3455,20 @@ where #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] pub unsafe fn SHCreateThread(pfnthreadproc: super::super::System::Threading::LPTHREAD_START_ROUTINE, pdata: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32, pfncallback: super::super::System::Threading::LPTHREAD_START_ROUTINE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCreateThread ( pfnthreadproc : super::super::System::Threading:: LPTHREAD_START_ROUTINE , pdata : *const ::core::ffi::c_void , flags : u32 , pfncallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCreateThread ( pfnthreadproc : super::super::System::Threading:: LPTHREAD_START_ROUTINE , pdata : *const ::core::ffi::c_void , flags : u32 , pfncallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE ) -> super::super::Foundation:: BOOL ); SHCreateThread(pfnthreadproc, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null())), flags, pfncallback) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHCreateThreadRef(pcref: *mut i32, ppunk: *mut ::core::option::Option<::windows::core::IUnknown>) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCreateThreadRef ( pcref : *mut i32 , ppunk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCreateThreadRef ( pcref : *mut i32 , ppunk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SHCreateThreadRef(pcref, ::core::mem::transmute(ppunk)).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] pub unsafe fn SHCreateThreadWithHandle(pfnthreadproc: super::super::System::Threading::LPTHREAD_START_ROUTINE, pdata: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32, pfncallback: super::super::System::Threading::LPTHREAD_START_ROUTINE, phandle: ::core::option::Option<*mut super::super::Foundation::HANDLE>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHCreateThreadWithHandle ( pfnthreadproc : super::super::System::Threading:: LPTHREAD_START_ROUTINE , pdata : *const ::core::ffi::c_void , flags : u32 , pfncallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE , phandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHCreateThreadWithHandle ( pfnthreadproc : super::super::System::Threading:: LPTHREAD_START_ROUTINE , pdata : *const ::core::ffi::c_void , flags : u32 , pfncallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE , phandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SHCreateThreadWithHandle(pfnthreadproc, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null())), flags, pfncallback, ::core::mem::transmute(phandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3478,7 +3478,7 @@ pub unsafe fn SHDefExtractIconA(psziconfile: P0, iindex: i32, uflags: u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHDefExtractIconA ( psziconfile : :: windows::core::PCSTR , iindex : i32 , uflags : u32 , phiconlarge : *mut super::WindowsAndMessaging:: HICON , phiconsmall : *mut super::WindowsAndMessaging:: HICON , niconsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHDefExtractIconA ( psziconfile : :: windows::core::PCSTR , iindex : i32 , uflags : u32 , phiconlarge : *mut super::WindowsAndMessaging:: HICON , phiconsmall : *mut super::WindowsAndMessaging:: HICON , niconsize : u32 ) -> :: windows::core::HRESULT ); SHDefExtractIconA(psziconfile.into().abi(), iindex, uflags, ::core::mem::transmute(phiconlarge.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phiconsmall.unwrap_or(::std::ptr::null_mut())), niconsize).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3488,7 +3488,7 @@ pub unsafe fn SHDefExtractIconW(psziconfile: P0, iindex: i32, uflags: u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHDefExtractIconW ( psziconfile : :: windows::core::PCWSTR , iindex : i32 , uflags : u32 , phiconlarge : *mut super::WindowsAndMessaging:: HICON , phiconsmall : *mut super::WindowsAndMessaging:: HICON , niconsize : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHDefExtractIconW ( psziconfile : :: windows::core::PCWSTR , iindex : i32 , uflags : u32 , phiconlarge : *mut super::WindowsAndMessaging:: HICON , phiconsmall : *mut super::WindowsAndMessaging:: HICON , niconsize : u32 ) -> :: windows::core::HRESULT ); SHDefExtractIconW(psziconfile.into().abi(), iindex, uflags, ::core::mem::transmute(phiconlarge.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phiconsmall.unwrap_or(::std::ptr::null_mut())), niconsize).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3499,7 +3499,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHDeleteEmptyKeyA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHDeleteEmptyKeyA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); SHDeleteEmptyKeyA(hkey.into(), pszsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3510,7 +3510,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHDeleteEmptyKeyW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHDeleteEmptyKeyW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); SHDeleteEmptyKeyW(hkey.into(), pszsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3521,7 +3521,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHDeleteKeyA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHDeleteKeyA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); SHDeleteKeyA(hkey.into(), pszsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3532,7 +3532,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHDeleteKeyW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHDeleteKeyW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); SHDeleteKeyW(hkey.into(), pszsubkey.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3544,7 +3544,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHDeleteValueA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHDeleteValueA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR ) -> super::super::Foundation:: WIN32_ERROR ); SHDeleteValueA(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3556,7 +3556,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHDeleteValueW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHDeleteValueW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); SHDeleteValueW(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3565,7 +3565,7 @@ pub unsafe fn SHDestroyPropSheetExtArray(hpsxa: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHDestroyPropSheetExtArray ( hpsxa : HPSXA ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHDestroyPropSheetExtArray ( hpsxa : HPSXA ) -> ( ) ); SHDestroyPropSheetExtArray(hpsxa.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -3577,7 +3577,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHDoDragDrop ( hwnd : super::super::Foundation:: HWND , pdata : * mut::core::ffi::c_void , pdsrc : * mut::core::ffi::c_void , dweffect : super::super::System::Ole:: DROPEFFECT , pdweffect : *mut super::super::System::Ole:: DROPEFFECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHDoDragDrop ( hwnd : super::super::Foundation:: HWND , pdata : * mut::core::ffi::c_void , pdsrc : * mut::core::ffi::c_void , dweffect : super::super::System::Ole:: DROPEFFECT , pdweffect : *mut super::super::System::Ole:: DROPEFFECT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHDoDragDrop(hwnd.into(), pdata.into().abi(), pdsrc.into().abi(), dweffect, &mut result__).from_abi(result__) } @@ -3589,7 +3589,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHEmptyRecycleBinA ( hwnd : super::super::Foundation:: HWND , pszrootpath : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHEmptyRecycleBinA ( hwnd : super::super::Foundation:: HWND , pszrootpath : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); SHEmptyRecycleBinA(hwnd.into(), pszrootpath.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3600,7 +3600,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHEmptyRecycleBinW ( hwnd : super::super::Foundation:: HWND , pszrootpath : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHEmptyRecycleBinW ( hwnd : super::super::Foundation:: HWND , pszrootpath : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); SHEmptyRecycleBinW(hwnd.into(), pszrootpath.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3610,7 +3610,7 @@ pub unsafe fn SHEnumKeyExA(hkey: P0, dwindex: u32, pszname: ::windows::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHEnumKeyExA ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , pszname : :: windows::core::PSTR , pcchname : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHEnumKeyExA ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , pszname : :: windows::core::PSTR , pcchname : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHEnumKeyExA(hkey.into(), dwindex, ::core::mem::transmute(pszname), pcchname) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3620,7 +3620,7 @@ pub unsafe fn SHEnumKeyExW(hkey: P0, dwindex: u32, pszname: ::windows::core: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHEnumKeyExW ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , pszname : :: windows::core::PWSTR , pcchname : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHEnumKeyExW ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , pszname : :: windows::core::PWSTR , pcchname : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHEnumKeyExW(hkey.into(), dwindex, ::core::mem::transmute(pszname), pcchname) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3630,7 +3630,7 @@ pub unsafe fn SHEnumValueA(hkey: P0, dwindex: u32, pszvaluename: ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHEnumValueA ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , pszvaluename : :: windows::core::PSTR , pcchvaluename : *mut u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHEnumValueA ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , pszvaluename : :: windows::core::PSTR , pcchvaluename : *mut u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHEnumValueA(hkey.into(), dwindex, ::core::mem::transmute(pszvaluename), ::core::mem::transmute(pcchvaluename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -3640,7 +3640,7 @@ pub unsafe fn SHEnumValueW(hkey: P0, dwindex: u32, pszvaluename: ::windows:: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHEnumValueW ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , pszvaluename : :: windows::core::PWSTR , pcchvaluename : *mut u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHEnumValueW ( hkey : super::super::System::Registry:: HKEY , dwindex : u32 , pszvaluename : :: windows::core::PWSTR , pcchvaluename : *mut u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHEnumValueW(hkey.into(), dwindex, ::core::mem::transmute(pszvaluename), ::core::mem::transmute(pcchvaluename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -3650,7 +3650,7 @@ pub unsafe fn SHEnumerateUnreadMailAccountsW(hkeyuser: P0, dwindex: u32, psz where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHEnumerateUnreadMailAccountsW ( hkeyuser : super::super::System::Registry:: HKEY , dwindex : u32 , pszmailaddress : :: windows::core::PWSTR , cchmailaddress : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHEnumerateUnreadMailAccountsW ( hkeyuser : super::super::System::Registry:: HKEY , dwindex : u32 , pszmailaddress : :: windows::core::PWSTR , cchmailaddress : i32 ) -> :: windows::core::HRESULT ); SHEnumerateUnreadMailAccountsW(hkeyuser.into(), dwindex, ::core::mem::transmute(pszmailaddress.as_ptr()), pszmailaddress.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3659,28 +3659,28 @@ pub unsafe fn SHEvaluateSystemCommandTemplate(pszcmdtemplate: P0, ppszapplic where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHEvaluateSystemCommandTemplate ( pszcmdtemplate : :: windows::core::PCWSTR , ppszapplication : *mut :: windows::core::PWSTR , ppszcommandline : *mut :: windows::core::PWSTR , ppszparameters : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHEvaluateSystemCommandTemplate ( pszcmdtemplate : :: windows::core::PCWSTR , ppszapplication : *mut :: windows::core::PWSTR , ppszcommandline : *mut :: windows::core::PWSTR , ppszparameters : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); SHEvaluateSystemCommandTemplate(pszcmdtemplate.into().abi(), ppszapplication, ::core::mem::transmute(ppszcommandline.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppszparameters.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHFileOperationA(lpfileop: *mut SHFILEOPSTRUCTA) -> i32 { - ::windows::core::link ! ( "shell32.dll""system" fn SHFileOperationA ( lpfileop : *mut SHFILEOPSTRUCTA ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHFileOperationA ( lpfileop : *mut SHFILEOPSTRUCTA ) -> i32 ); SHFileOperationA(lpfileop) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHFileOperationW(lpfileop: *mut SHFILEOPSTRUCTW) -> i32 { - ::windows::core::link ! ( "shell32.dll""system" fn SHFileOperationW ( lpfileop : *mut SHFILEOPSTRUCTW ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHFileOperationW ( lpfileop : *mut SHFILEOPSTRUCTW ) -> i32 ); SHFileOperationW(lpfileop) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SHFindFiles(pidlfolder: ::core::option::Option<*const Common::ITEMIDLIST>, pidlsavefile: ::core::option::Option<*const Common::ITEMIDLIST>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn SHFindFiles ( pidlfolder : *const Common:: ITEMIDLIST , pidlsavefile : *const Common:: ITEMIDLIST ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHFindFiles ( pidlfolder : *const Common:: ITEMIDLIST , pidlsavefile : *const Common:: ITEMIDLIST ) -> super::super::Foundation:: BOOL ); SHFindFiles(::core::mem::transmute(pidlfolder.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pidlsavefile.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3691,27 +3691,27 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHFind_InitMenuPopup ( hmenu : super::WindowsAndMessaging:: HMENU , hwndowner : super::super::Foundation:: HWND , idcmdfirst : u32 , idcmdlast : u32 ) -> ::core::option::Option < IContextMenu > ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHFind_InitMenuPopup ( hmenu : super::WindowsAndMessaging:: HMENU , hwndowner : super::super::Foundation:: HWND , idcmdfirst : u32 , idcmdlast : u32 ) -> ::core::option::Option < IContextMenu > ); SHFind_InitMenuPopup(hmenu.into(), hwndowner.into(), idcmdfirst, idcmdlast) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHFlushSFCache() { - ::windows::core::link ! ( "shell32.dll""system" fn SHFlushSFCache ( ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHFlushSFCache ( ) -> ( ) ); SHFlushSFCache() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHFormatDateTimeA(pft: *const super::super::Foundation::FILETIME, pdwflags: ::core::option::Option<*mut u32>, pszbuf: &mut [u8]) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHFormatDateTimeA ( pft : *const super::super::Foundation:: FILETIME , pdwflags : *mut u32 , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHFormatDateTimeA ( pft : *const super::super::Foundation:: FILETIME , pdwflags : *mut u32 , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> i32 ); SHFormatDateTimeA(pft, ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHFormatDateTimeW(pft: *const super::super::Foundation::FILETIME, pdwflags: ::core::option::Option<*mut u32>, pszbuf: &mut [u16]) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHFormatDateTimeW ( pft : *const super::super::Foundation:: FILETIME , pdwflags : *mut u32 , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHFormatDateTimeW ( pft : *const super::super::Foundation:: FILETIME , pdwflags : *mut u32 , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> i32 ); SHFormatDateTimeW(pft, ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3721,13 +3721,13 @@ pub unsafe fn SHFormatDrive(hwnd: P0, drive: u32, fmtid: SHFMT_ID, options: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHFormatDrive ( hwnd : super::super::Foundation:: HWND , drive : u32 , fmtid : SHFMT_ID , options : SHFMT_OPT ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHFormatDrive ( hwnd : super::super::Foundation:: HWND , drive : u32 , fmtid : SHFMT_ID , options : SHFMT_OPT ) -> u32 ); SHFormatDrive(hwnd.into(), drive, fmtid, options) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHFree(pv: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "shell32.dll""system" fn SHFree ( pv : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHFree ( pv : *const ::core::ffi::c_void ) -> ( ) ); SHFree(::core::mem::transmute(pv.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3737,7 +3737,7 @@ pub unsafe fn SHFreeNameMappings(hnamemappings: P0) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHFreeNameMappings ( hnamemappings : super::super::Foundation:: HANDLE ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHFreeNameMappings ( hnamemappings : super::super::Foundation:: HANDLE ) -> ( ) ); SHFreeNameMappings(hnamemappings.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3747,7 +3747,7 @@ pub unsafe fn SHFreeShared(hdata: P0, dwprocessid: u32) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHFreeShared ( hdata : super::super::Foundation:: HANDLE , dwprocessid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHFreeShared ( hdata : super::super::Foundation:: HANDLE , dwprocessid : u32 ) -> super::super::Foundation:: BOOL ); SHFreeShared(hdata.into(), dwprocessid) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -3757,7 +3757,7 @@ pub unsafe fn SHGetAttributesFromDataObject(pdo: P0, dwattributemask: u32, p where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetAttributesFromDataObject ( pdo : * mut::core::ffi::c_void , dwattributemask : u32 , pdwattributes : *mut u32 , pcitems : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetAttributesFromDataObject ( pdo : * mut::core::ffi::c_void , dwattributemask : u32 , pdwattributes : *mut u32 , pcitems : *mut u32 ) -> :: windows::core::HRESULT ); SHGetAttributesFromDataObject(pdo.into().abi(), dwattributemask, ::core::mem::transmute(pdwattributes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcitems.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -3767,7 +3767,7 @@ pub unsafe fn SHGetDataFromIDListA(psf: P0, pidl: *const Common::ITEMIDLIST, where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetDataFromIDListA ( psf : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , nformat : SHGDFIL_FORMAT , pv : *mut ::core::ffi::c_void , cb : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetDataFromIDListA ( psf : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , nformat : SHGDFIL_FORMAT , pv : *mut ::core::ffi::c_void , cb : i32 ) -> :: windows::core::HRESULT ); SHGetDataFromIDListA(psf.into().abi(), pidl, nformat, pv, cb).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -3777,13 +3777,13 @@ pub unsafe fn SHGetDataFromIDListW(psf: P0, pidl: *const Common::ITEMIDLIST, where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetDataFromIDListW ( psf : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , nformat : SHGDFIL_FORMAT , pv : *mut ::core::ffi::c_void , cb : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetDataFromIDListW ( psf : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , nformat : SHGDFIL_FORMAT , pv : *mut ::core::ffi::c_void , cb : i32 ) -> :: windows::core::HRESULT ); SHGetDataFromIDListW(psf.into().abi(), pidl, nformat, pv, cb).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHGetDesktopFolder() -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetDesktopFolder ( ppshf : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetDesktopFolder ( ppshf : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHGetDesktopFolder(&mut result__).from_abi(result__) } @@ -3794,7 +3794,7 @@ pub unsafe fn SHGetDiskFreeSpaceExA(pszdirectoryname: P0, pulfreebytesavaila where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetDiskFreeSpaceExA ( pszdirectoryname : :: windows::core::PCSTR , pulfreebytesavailabletocaller : *mut u64 , pultotalnumberofbytes : *mut u64 , pultotalnumberoffreebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetDiskFreeSpaceExA ( pszdirectoryname : :: windows::core::PCSTR , pulfreebytesavailabletocaller : *mut u64 , pultotalnumberofbytes : *mut u64 , pultotalnumberoffreebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); SHGetDiskFreeSpaceExA(pszdirectoryname.into().abi(), ::core::mem::transmute(pulfreebytesavailabletocaller.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pultotalnumberofbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pultotalnumberoffreebytes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3804,7 +3804,7 @@ pub unsafe fn SHGetDiskFreeSpaceExW(pszdirectoryname: P0, pulfreebytesavaila where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetDiskFreeSpaceExW ( pszdirectoryname : :: windows::core::PCWSTR , pulfreebytesavailabletocaller : *mut u64 , pultotalnumberofbytes : *mut u64 , pultotalnumberoffreebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetDiskFreeSpaceExW ( pszdirectoryname : :: windows::core::PCWSTR , pulfreebytesavailabletocaller : *mut u64 , pultotalnumberofbytes : *mut u64 , pultotalnumberoffreebytes : *mut u64 ) -> super::super::Foundation:: BOOL ); SHGetDiskFreeSpaceExW(pszdirectoryname.into().abi(), ::core::mem::transmute(pulfreebytesavailabletocaller.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pultotalnumberofbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pultotalnumberoffreebytes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3813,7 +3813,7 @@ pub unsafe fn SHGetDriveMedia(pszdrive: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetDriveMedia ( pszdrive : :: windows::core::PCWSTR , pdwmediacontent : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetDriveMedia ( pszdrive : :: windows::core::PCWSTR , pdwmediacontent : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHGetDriveMedia(pszdrive.into().abi(), &mut result__).from_abi(result__) } @@ -3824,7 +3824,7 @@ pub unsafe fn SHGetFileInfoA(pszpath: P0, dwfileattributes: super::super::St where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetFileInfoA ( pszpath : :: windows::core::PCSTR , dwfileattributes : super::super::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES , psfi : *mut SHFILEINFOA , cbfileinfo : u32 , uflags : SHGFI_FLAGS ) -> usize ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetFileInfoA ( pszpath : :: windows::core::PCSTR , dwfileattributes : super::super::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES , psfi : *mut SHFILEINFOA , cbfileinfo : u32 , uflags : SHGFI_FLAGS ) -> usize ); SHGetFileInfoA(pszpath.into().abi(), dwfileattributes, ::core::mem::transmute(psfi.unwrap_or(::std::ptr::null_mut())), cbfileinfo, uflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3834,7 +3834,7 @@ pub unsafe fn SHGetFileInfoW(pszpath: P0, dwfileattributes: super::super::St where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetFileInfoW ( pszpath : :: windows::core::PCWSTR , dwfileattributes : super::super::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES , psfi : *mut SHFILEINFOW , cbfileinfo : u32 , uflags : SHGFI_FLAGS ) -> usize ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetFileInfoW ( pszpath : :: windows::core::PCWSTR , dwfileattributes : super::super::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES , psfi : *mut SHFILEINFOW , cbfileinfo : u32 , uflags : SHGFI_FLAGS ) -> usize ); SHGetFileInfoW(pszpath.into().abi(), dwfileattributes, ::core::mem::transmute(psfi.unwrap_or(::std::ptr::null_mut())), cbfileinfo, uflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -3845,7 +3845,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetFolderLocation ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , ppidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetFolderLocation ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , ppidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut Common::ITEMIDLIST>(); SHGetFolderLocation(hwnd.into(), csidl, htoken.into(), dwflags, &mut result__).from_abi(result__) } @@ -3857,7 +3857,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetFolderPathA ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszpath : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetFolderPathA ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszpath : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); SHGetFolderPathA(hwnd.into(), csidl, htoken.into(), dwflags, ::core::mem::transmute(pszpath.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3869,7 +3869,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetFolderPathAndSubDirA ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszsubdir : :: windows::core::PCSTR , pszpath : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetFolderPathAndSubDirA ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszsubdir : :: windows::core::PCSTR , pszpath : :: windows::core::PSTR ) -> :: windows::core::HRESULT ); SHGetFolderPathAndSubDirA(hwnd.into(), csidl, htoken.into(), dwflags, pszsubdir.into().abi(), ::core::mem::transmute(pszpath.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3881,7 +3881,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetFolderPathAndSubDirW ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszsubdir : :: windows::core::PCWSTR , pszpath : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetFolderPathAndSubDirW ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszsubdir : :: windows::core::PCWSTR , pszpath : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); SHGetFolderPathAndSubDirW(hwnd.into(), csidl, htoken.into(), dwflags, pszsubdir.into().abi(), ::core::mem::transmute(pszpath.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -3892,7 +3892,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetFolderPathW ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszpath : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetFolderPathW ( hwnd : super::super::Foundation:: HWND , csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszpath : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); SHGetFolderPathW(hwnd.into(), csidl, htoken.into(), dwflags, ::core::mem::transmute(pszpath.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -3902,7 +3902,7 @@ pub unsafe fn SHGetIDListFromObject(punk: P0) -> ::windows::core::Result<*mu where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetIDListFromObject ( punk : * mut::core::ffi::c_void , ppidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetIDListFromObject ( punk : * mut::core::ffi::c_void , ppidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut Common::ITEMIDLIST>(); SHGetIDListFromObject(punk.into().abi(), &mut result__).from_abi(result__) } @@ -3912,7 +3912,7 @@ pub unsafe fn SHGetIconOverlayIndexA(psziconpath: P0, iiconindex: i32) -> i3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetIconOverlayIndexA ( psziconpath : :: windows::core::PCSTR , iiconindex : i32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetIconOverlayIndexA ( psziconpath : :: windows::core::PCSTR , iiconindex : i32 ) -> i32 ); SHGetIconOverlayIndexA(psziconpath.into().abi(), iiconindex) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3921,7 +3921,7 @@ pub unsafe fn SHGetIconOverlayIndexW(psziconpath: P0, iiconindex: i32) -> i3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetIconOverlayIndexW ( psziconpath : :: windows::core::PCWSTR , iiconindex : i32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetIconOverlayIndexW ( psziconpath : :: windows::core::PCWSTR , iiconindex : i32 ) -> i32 ); SHGetIconOverlayIndexW(psziconpath.into().abi(), iiconindex) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -3930,21 +3930,21 @@ pub unsafe fn SHGetImageList(iimagelist: i32) -> ::windows::core::Result where T: ::windows::core::Interface, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetImageList ( iimagelist : i32 , riid : *const :: windows::core::GUID , ppvobj : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::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__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHGetInstanceExplorer() -> ::windows::core::Result<::windows::core::IUnknown> { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetInstanceExplorer ( ppunk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetInstanceExplorer ( ppunk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); SHGetInstanceExplorer(&mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHGetInverseCMAP(pbmap: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHGetInverseCMAP ( pbmap : *mut u8 , cbmap : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHGetInverseCMAP ( pbmap : *mut u8 , cbmap : u32 ) -> :: windows::core::HRESULT ); SHGetInverseCMAP(::core::mem::transmute(pbmap.as_ptr()), pbmap.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -3955,7 +3955,7 @@ where P0: ::std::convert::Into<::windows::core::InParam>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), dwflags, &::IID, &mut result__).from_abi(result__) } @@ -3966,7 +3966,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), &::IID, &mut result__).from_abi(result__) } @@ -3977,7 +3977,7 @@ pub unsafe fn SHGetKnownFolderIDList(rfid: *const ::windows::core::GUID, dwf where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetKnownFolderIDList ( rfid : *const :: windows::core::GUID , dwflags : u32 , htoken : super::super::Foundation:: HANDLE , ppidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetKnownFolderIDList ( rfid : *const :: windows::core::GUID , dwflags : u32 , htoken : super::super::Foundation:: HANDLE , ppidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut Common::ITEMIDLIST>(); SHGetKnownFolderIDList(rfid, dwflags, htoken.into(), &mut result__).from_abi(result__) } @@ -3989,7 +3989,7 @@ where P0: ::std::convert::Into, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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(), &::IID, &mut result__).from_abi(result__) } @@ -4000,7 +4000,7 @@ pub unsafe fn SHGetKnownFolderPath(rfid: *const ::windows::core::GUID, dwfla where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetKnownFolderPath ( rfid : *const :: windows::core::GUID , dwflags : KNOWN_FOLDER_FLAG , htoken : super::super::Foundation:: HANDLE , ppszpath : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetKnownFolderPath ( rfid : *const :: windows::core::GUID , dwflags : KNOWN_FOLDER_FLAG , htoken : super::super::Foundation:: HANDLE , ppszpath : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SHGetKnownFolderPath(rfid, dwflags, htoken.into(), &mut result__).from_abi(result__) } @@ -4010,14 +4010,14 @@ pub unsafe fn SHGetLocalizedName(pszpath: P0, pszresmodule: &mut [u16], pids where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetLocalizedName ( pszpath : :: windows::core::PCWSTR , pszresmodule : :: windows::core::PWSTR , cch : u32 , pidsres : *mut i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetLocalizedName ( pszpath : :: windows::core::PCWSTR , pszresmodule : :: windows::core::PWSTR , cch : u32 , pidsres : *mut i32 ) -> :: windows::core::HRESULT ); SHGetLocalizedName(pszpath.into().abi(), ::core::mem::transmute(pszresmodule.as_ptr()), pszresmodule.len() as _, pidsres).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SHGetMalloc() -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetMalloc ( ppmalloc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetMalloc ( ppmalloc : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHGetMalloc(&mut result__).from_abi(result__) } @@ -4025,7 +4025,7 @@ pub unsafe fn SHGetMalloc() -> ::windows::core::Result ::windows::core::Result<::windows::core::PWSTR> { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetNameFromIDList ( pidl : *const Common:: ITEMIDLIST , sigdnname : SIGDN , ppszname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetNameFromIDList ( pidl : *const Common:: ITEMIDLIST , sigdnname : SIGDN , ppszname : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SHGetNameFromIDList(pidl, sigdnname, &mut result__).from_abi(result__) } @@ -4037,7 +4037,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetNewLinkInfoA ( pszlinkto : :: windows::core::PCSTR , pszdir : :: windows::core::PCSTR , pszname : :: windows::core::PSTR , pfmustcopy : *mut super::super::Foundation:: BOOL , uflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetNewLinkInfoA ( pszlinkto : :: windows::core::PCSTR , pszdir : :: windows::core::PCSTR , pszname : :: windows::core::PSTR , pfmustcopy : *mut super::super::Foundation:: BOOL , uflags : u32 ) -> super::super::Foundation:: BOOL ); SHGetNewLinkInfoA(pszlinkto.into().abi(), pszdir.into().abi(), ::core::mem::transmute(pszname.as_ptr()), pfmustcopy, uflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4048,28 +4048,28 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetNewLinkInfoW ( pszlinkto : :: windows::core::PCWSTR , pszdir : :: windows::core::PCWSTR , pszname : :: windows::core::PWSTR , pfmustcopy : *mut super::super::Foundation:: BOOL , uflags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetNewLinkInfoW ( pszlinkto : :: windows::core::PCWSTR , pszdir : :: windows::core::PCWSTR , pszname : :: windows::core::PWSTR , pfmustcopy : *mut super::super::Foundation:: BOOL , uflags : u32 ) -> super::super::Foundation:: BOOL ); SHGetNewLinkInfoW(pszlinkto.into().abi(), pszdir.into().abi(), ::core::mem::transmute(pszname.as_ptr()), pfmustcopy, uflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SHGetPathFromIDListA(pidl: *const Common::ITEMIDLIST, pszpath: &mut [u8; 260]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetPathFromIDListA ( pidl : *const Common:: ITEMIDLIST , pszpath : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetPathFromIDListA ( pidl : *const Common:: ITEMIDLIST , pszpath : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); SHGetPathFromIDListA(pidl, ::core::mem::transmute(pszpath.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SHGetPathFromIDListEx(pidl: *const Common::ITEMIDLIST, pszpath: &mut [u16], uopts: GPFIDL_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetPathFromIDListEx ( pidl : *const Common:: ITEMIDLIST , pszpath : :: windows::core::PWSTR , cchpath : u32 , uopts : GPFIDL_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetPathFromIDListEx ( pidl : *const Common:: ITEMIDLIST , pszpath : :: windows::core::PWSTR , cchpath : u32 , uopts : GPFIDL_FLAGS ) -> super::super::Foundation:: BOOL ); SHGetPathFromIDListEx(pidl, ::core::mem::transmute(pszpath.as_ptr()), pszpath.len() as _, uopts) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SHGetPathFromIDListW(pidl: *const Common::ITEMIDLIST, pszpath: &mut [u16; 260]) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetPathFromIDListW ( pidl : *const Common:: ITEMIDLIST , pszpath : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetPathFromIDListW ( pidl : *const Common:: ITEMIDLIST , pszpath : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); SHGetPathFromIDListW(pidl, ::core::mem::transmute(pszpath.as_ptr())) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -4079,7 +4079,7 @@ pub unsafe fn SHGetRealIDL(psf: P0, pidlsimple: *const Common::ITEMIDLIST) - where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetRealIDL ( psf : * mut::core::ffi::c_void , pidlsimple : *const Common:: ITEMIDLIST , ppidlreal : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetRealIDL ( psf : * mut::core::ffi::c_void , pidlsimple : *const Common:: ITEMIDLIST , ppidlreal : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut Common::ITEMIDLIST>(); SHGetRealIDL(psf.into().abi(), pidlsimple, &mut result__).from_abi(result__) } @@ -4089,7 +4089,7 @@ pub unsafe fn SHGetSetFolderCustomSettings(pfcs: *mut SHFOLDERCUSTOMSETTINGS where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetSetFolderCustomSettings ( pfcs : *mut SHFOLDERCUSTOMSETTINGS , pszpath : :: windows::core::PCWSTR , dwreadwrite : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetSetFolderCustomSettings ( pfcs : *mut SHFOLDERCUSTOMSETTINGS , pszpath : :: windows::core::PCWSTR , dwreadwrite : u32 ) -> :: windows::core::HRESULT ); SHGetSetFolderCustomSettings(pfcs, pszpath.into().abi(), dwreadwrite).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4099,13 +4099,13 @@ pub unsafe fn SHGetSetSettings(lpss: ::core::option::Option<*mut SHELLSTATEA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetSetSettings ( lpss : *mut SHELLSTATEA , dwmask : SSF_MASK , bset : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetSetSettings ( lpss : *mut SHELLSTATEA , dwmask : SSF_MASK , bset : super::super::Foundation:: BOOL ) -> ( ) ); SHGetSetSettings(::core::mem::transmute(lpss.unwrap_or(::std::ptr::null_mut())), dwmask, bset.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHGetSettings(psfs: *mut SHELLFLAGSTATE, dwmask: u32) { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetSettings ( psfs : *mut SHELLFLAGSTATE , dwmask : u32 ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetSettings ( psfs : *mut SHELLFLAGSTATE , dwmask : u32 ) -> ( ) ); SHGetSettings(psfs, dwmask) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -4115,7 +4115,7 @@ pub unsafe fn SHGetSpecialFolderLocation(hwnd: P0, csidl: i32) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetSpecialFolderLocation ( hwnd : super::super::Foundation:: HWND , csidl : i32 , ppidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetSpecialFolderLocation ( hwnd : super::super::Foundation:: HWND , csidl : i32 , ppidl : *mut *mut Common:: ITEMIDLIST ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<*mut Common::ITEMIDLIST>(); SHGetSpecialFolderLocation(hwnd.into(), csidl, &mut result__).from_abi(result__) } @@ -4127,7 +4127,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetSpecialFolderPathA ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PSTR , csidl : i32 , fcreate : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetSpecialFolderPathA ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PSTR , csidl : i32 , fcreate : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SHGetSpecialFolderPathA(hwnd.into(), ::core::mem::transmute(pszpath.as_ptr()), csidl, fcreate.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4138,14 +4138,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetSpecialFolderPathW ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PWSTR , csidl : i32 , fcreate : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetSpecialFolderPathW ( hwnd : super::super::Foundation:: HWND , pszpath : :: windows::core::PWSTR , csidl : i32 , fcreate : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SHGetSpecialFolderPathW(hwnd.into(), ::core::mem::transmute(pszpath.as_ptr()), csidl, fcreate.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] pub unsafe fn SHGetStockIconInfo(siid: SHSTOCKICONID, uflags: SHGSI_FLAGS, psii: *mut SHSTOCKICONINFO) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetStockIconInfo ( siid : SHSTOCKICONID , uflags : SHGSI_FLAGS , psii : *mut SHSTOCKICONINFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetStockIconInfo ( siid : SHSTOCKICONID , uflags : SHGSI_FLAGS , psii : *mut SHSTOCKICONINFO ) -> :: windows::core::HRESULT ); SHGetStockIconInfo(siid, uflags, psii).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4155,14 +4155,14 @@ pub unsafe fn SHGetTemporaryPropertyForItem(psi: P0, propkey: *const Propert where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetTemporaryPropertyForItem ( psi : * mut::core::ffi::c_void , propkey : *const PropertiesSystem:: PROPERTYKEY , ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetTemporaryPropertyForItem ( psi : * mut::core::ffi::c_void , propkey : *const PropertiesSystem:: PROPERTYKEY , ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHGetTemporaryPropertyForItem(psi.into().abi(), propkey, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHGetThreadRef() -> ::windows::core::Result<::windows::core::IUnknown> { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHGetThreadRef ( ppunk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHGetThreadRef ( ppunk : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::IUnknown>(); SHGetThreadRef(&mut result__).from_abi(result__) } @@ -4174,7 +4174,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHGetUnreadMailCountW ( hkeyuser : super::super::System::Registry:: HKEY , pszmailaddress : :: windows::core::PCWSTR , pdwcount : *mut u32 , pfiletime : *mut super::super::Foundation:: FILETIME , pszshellexecutecommand : :: windows::core::PWSTR , cchshellexecutecommand : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHGetUnreadMailCountW ( hkeyuser : super::super::System::Registry:: HKEY , pszmailaddress : :: windows::core::PCWSTR , pdwcount : *mut u32 , pfiletime : *mut super::super::Foundation:: FILETIME , pszshellexecutecommand : :: windows::core::PWSTR , cchshellexecutecommand : i32 ) -> :: windows::core::HRESULT ); SHGetUnreadMailCountW(hkeyuser.into(), pszmailaddress.into().abi(), ::core::mem::transmute(pdwcount.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfiletime.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pszshellexecutecommand.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszshellexecutecommand.as_deref().map_or(0, |slice| slice.len() as _)).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4186,7 +4186,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHGetValueA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHGetValueA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHGetValueA(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4198,7 +4198,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHGetValueW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHGetValueW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHGetValueW(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -4209,33 +4209,33 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), dwflags, &::IID, &mut result__).from_abi(result__) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHGlobalCounterDecrement(id: SHGLOBALCOUNTER) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHGlobalCounterDecrement ( id : SHGLOBALCOUNTER ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHGlobalCounterDecrement ( id : SHGLOBALCOUNTER ) -> i32 ); SHGlobalCounterDecrement(id) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHGlobalCounterGetValue(id: SHGLOBALCOUNTER) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHGlobalCounterGetValue ( id : SHGLOBALCOUNTER ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHGlobalCounterGetValue ( id : SHGLOBALCOUNTER ) -> i32 ); SHGlobalCounterGetValue(id) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHGlobalCounterIncrement(id: SHGLOBALCOUNTER) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHGlobalCounterIncrement ( id : SHGLOBALCOUNTER ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHGlobalCounterIncrement ( id : SHGLOBALCOUNTER ) -> i32 ); SHGlobalCounterIncrement(id) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn SHHandleUpdateImage(pidlextra: *const Common::ITEMIDLIST) -> i32 { - ::windows::core::link ! ( "shell32.dll""system" fn SHHandleUpdateImage ( pidlextra : *const Common:: ITEMIDLIST ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHHandleUpdateImage ( pidlextra : *const Common:: ITEMIDLIST ) -> i32 ); SHHandleUpdateImage(pidlextra) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -4245,7 +4245,7 @@ pub unsafe fn SHILCreateFromPath(pszpath: P0, ppidl: *mut *mut Common::ITEMI where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHILCreateFromPath ( pszpath : :: windows::core::PCWSTR , ppidl : *mut *mut Common:: ITEMIDLIST , rgfinout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHILCreateFromPath ( pszpath : :: windows::core::PCWSTR , ppidl : *mut *mut Common:: ITEMIDLIST , rgfinout : *mut u32 ) -> :: windows::core::HRESULT ); SHILCreateFromPath(pszpath.into().abi(), ppidl, ::core::mem::transmute(rgfinout.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4258,7 +4258,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHInvokePrinterCommandA ( hwnd : super::super::Foundation:: HWND , uaction : u32 , lpbuf1 : :: windows::core::PCSTR , lpbuf2 : :: windows::core::PCSTR , fmodal : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHInvokePrinterCommandA ( hwnd : super::super::Foundation:: HWND , uaction : u32 , lpbuf1 : :: windows::core::PCSTR , lpbuf2 : :: windows::core::PCSTR , fmodal : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SHInvokePrinterCommandA(hwnd.into(), uaction, lpbuf1.into().abi(), lpbuf2.into().abi(), fmodal.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4271,7 +4271,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHInvokePrinterCommandW ( hwnd : super::super::Foundation:: HWND , uaction : u32 , lpbuf1 : :: windows::core::PCWSTR , lpbuf2 : :: windows::core::PCWSTR , fmodal : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHInvokePrinterCommandW ( hwnd : super::super::Foundation:: HWND , uaction : u32 , lpbuf1 : :: windows::core::PCWSTR , lpbuf2 : :: windows::core::PCWSTR , fmodal : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SHInvokePrinterCommandW(hwnd.into(), uaction, lpbuf1.into().abi(), lpbuf2.into().abi(), fmodal.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -4280,14 +4280,14 @@ pub unsafe fn SHIsFileAvailableOffline(pwszpath: P0, pdwstatus: ::core::opti where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHIsFileAvailableOffline ( pwszpath : :: windows::core::PCWSTR , pdwstatus : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHIsFileAvailableOffline ( pwszpath : :: windows::core::PCWSTR , pdwstatus : *mut u32 ) -> :: windows::core::HRESULT ); SHIsFileAvailableOffline(pwszpath.into().abi(), ::core::mem::transmute(pdwstatus.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHIsLowMemoryMachine(dwtype: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHIsLowMemoryMachine ( dwtype : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHIsLowMemoryMachine ( dwtype : u32 ) -> super::super::Foundation:: BOOL ); SHIsLowMemoryMachine(dwtype) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4298,13 +4298,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHLimitInputEdit ( hwndedit : super::super::Foundation:: HWND , psf : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHLimitInputEdit ( hwndedit : super::super::Foundation:: HWND , psf : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SHLimitInputEdit(hwndedit.into(), psf.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHLoadInProc(rclsid: *const ::windows::core::GUID) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shell32.dll""system" fn SHLoadInProc ( rclsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHLoadInProc ( rclsid : *const :: windows::core::GUID ) -> :: windows::core::HRESULT ); SHLoadInProc(rclsid).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -4313,13 +4313,13 @@ pub unsafe fn SHLoadIndirectString(pszsource: P0, pszoutbuf: &mut [u16], ppv where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHLoadIndirectString ( pszsource : :: windows::core::PCWSTR , pszoutbuf : :: windows::core::PWSTR , cchoutbuf : u32 , ppvreserved : *const *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHLoadIndirectString ( pszsource : :: windows::core::PCWSTR , pszoutbuf : :: windows::core::PWSTR , cchoutbuf : u32 , ppvreserved : *const *const ::core::ffi::c_void ) -> :: windows::core::HRESULT ); SHLoadIndirectString(pszsource.into().abi(), ::core::mem::transmute(pszoutbuf.as_ptr()), pszoutbuf.len() as _, ::core::mem::transmute(ppvreserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHLoadNonloadedIconOverlayIdentifiers() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shell32.dll""system" fn SHLoadNonloadedIconOverlayIdentifiers ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHLoadNonloadedIconOverlayIdentifiers ( ) -> :: windows::core::HRESULT ); SHLoadNonloadedIconOverlayIdentifiers().ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4329,7 +4329,7 @@ pub unsafe fn SHLockShared(hdata: P0, dwprocessid: u32) -> *mut ::core::ffi: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHLockShared ( hdata : super::super::Foundation:: HANDLE , dwprocessid : u32 ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHLockShared ( hdata : super::super::Foundation:: HANDLE , dwprocessid : u32 ) -> *mut ::core::ffi::c_void ); SHLockShared(hdata.into(), dwprocessid) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -4339,7 +4339,7 @@ pub unsafe fn SHMapPIDLToSystemImageListIndex(pshf: P0, pidl: *const Common: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHMapPIDLToSystemImageListIndex ( pshf : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , piindexsel : *mut i32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHMapPIDLToSystemImageListIndex ( pshf : * mut::core::ffi::c_void , pidl : *const Common:: ITEMIDLIST , piindexsel : *mut i32 ) -> i32 ); SHMapPIDLToSystemImageListIndex(pshf.into().abi(), pidl, ::core::mem::transmute(piindexsel.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4352,7 +4352,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHMessageBoxCheckA ( hwnd : super::super::Foundation:: HWND , psztext : :: windows::core::PCSTR , pszcaption : :: windows::core::PCSTR , utype : u32 , idefault : i32 , pszregval : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHMessageBoxCheckA ( hwnd : super::super::Foundation:: HWND , psztext : :: windows::core::PCSTR , pszcaption : :: windows::core::PCSTR , utype : u32 , idefault : i32 , pszregval : :: windows::core::PCSTR ) -> i32 ); SHMessageBoxCheckA(hwnd.into(), psztext.into().abi(), pszcaption.into().abi(), utype, idefault, pszregval.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4365,7 +4365,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHMessageBoxCheckW ( hwnd : super::super::Foundation:: HWND , psztext : :: windows::core::PCWSTR , pszcaption : :: windows::core::PCWSTR , utype : u32 , idefault : i32 , pszregval : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHMessageBoxCheckW ( hwnd : super::super::Foundation:: HWND , psztext : :: windows::core::PCWSTR , pszcaption : :: windows::core::PCWSTR , utype : u32 , idefault : i32 , pszregval : :: windows::core::PCWSTR ) -> i32 ); SHMessageBoxCheckW(hwnd.into(), psztext.into().abi(), pszcaption.into().abi(), utype, idefault, pszregval.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -4375,7 +4375,7 @@ pub unsafe fn SHMultiFileProperties(pdtobj: P0, dwflags: u32) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHMultiFileProperties ( pdtobj : * mut::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHMultiFileProperties ( pdtobj : * mut::core::ffi::c_void , dwflags : u32 ) -> :: windows::core::HRESULT ); SHMultiFileProperties(pdtobj.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4387,14 +4387,14 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHObjectProperties ( hwnd : super::super::Foundation:: HWND , shopobjecttype : SHOP_TYPE , pszobjectname : :: windows::core::PCWSTR , pszpropertypage : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHObjectProperties ( hwnd : super::super::Foundation:: HWND , shopobjecttype : SHOP_TYPE , pszobjectname : :: windows::core::PCWSTR , pszpropertypage : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SHObjectProperties(hwnd.into(), shopobjecttype, pszobjectname.into().abi(), pszpropertypage.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn SHOpenFolderAndSelectItems(pidlfolder: *const Common::ITEMIDLIST, apidl: ::core::option::Option<&[*const Common::ITEMIDLIST]>, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shell32.dll""system" fn SHOpenFolderAndSelectItems ( pidlfolder : *const Common:: ITEMIDLIST , cidl : u32 , apidl : *const *const Common:: ITEMIDLIST , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHOpenFolderAndSelectItems ( pidlfolder : *const Common:: ITEMIDLIST , cidl : u32 , apidl : *const *const Common:: ITEMIDLIST , dwflags : u32 ) -> :: windows::core::HRESULT ); SHOpenFolderAndSelectItems(pidlfolder, apidl.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(apidl.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Registry\"`*"] @@ -4407,7 +4407,7 @@ where P2: ::std::convert::Into<::windows::core::InParam>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHOpenPropSheetW ( pszcaption : :: windows::core::PCWSTR , ahkeys : *const super::super::System::Registry:: HKEY , ckeys : u32 , pclsiddefault : *const :: windows::core::GUID , pdtobj : * mut::core::ffi::c_void , psb : * mut::core::ffi::c_void , pstartpage : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHOpenPropSheetW ( pszcaption : :: windows::core::PCWSTR , ahkeys : *const super::super::System::Registry:: HKEY , ckeys : u32 , pclsiddefault : *const :: windows::core::GUID , pdtobj : * mut::core::ffi::c_void , psb : * mut::core::ffi::c_void , pstartpage : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SHOpenPropSheetW(pszcaption.into().abi(), ::core::mem::transmute(ahkeys.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ahkeys.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pclsiddefault.unwrap_or(::std::ptr::null())), pdtobj.into().abi(), psb.into().abi(), pstartpage.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] @@ -4419,7 +4419,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHOpenRegStream2A ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHOpenRegStream2A ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); SHOpenRegStream2A(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), grfmode) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] @@ -4431,7 +4431,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHOpenRegStream2W ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHOpenRegStream2W ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); SHOpenRegStream2W(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), grfmode) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] @@ -4443,7 +4443,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHOpenRegStreamA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHOpenRegStreamA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); SHOpenRegStreamA(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), grfmode) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`*"] @@ -4455,7 +4455,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHOpenRegStreamW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHOpenRegStreamW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , grfmode : u32 ) -> ::core::option::Option < super::super::System::Com:: IStream > ); SHOpenRegStreamW(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), grfmode) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4465,7 +4465,7 @@ pub unsafe fn SHOpenWithDialog(hwndparent: P0, poainfo: *const OPENASINFO) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHOpenWithDialog ( hwndparent : super::super::Foundation:: HWND , poainfo : *const OPENASINFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHOpenWithDialog ( hwndparent : super::super::Foundation:: HWND , poainfo : *const OPENASINFO ) -> :: windows::core::HRESULT ); SHOpenWithDialog(hwndparent.into(), poainfo).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -4476,7 +4476,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHParseDisplayName ( pszname : :: windows::core::PCWSTR , pbc : * mut::core::ffi::c_void , ppidl : *mut *mut Common:: ITEMIDLIST , sfgaoin : u32 , psfgaoout : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHParseDisplayName ( pszname : :: windows::core::PCWSTR , pbc : * mut::core::ffi::c_void , ppidl : *mut *mut Common:: ITEMIDLIST , sfgaoin : u32 , psfgaoout : *mut u32 ) -> :: windows::core::HRESULT ); SHParseDisplayName(pszname.into().abi(), pbc.into().abi(), ppidl, sfgaoin, ::core::mem::transmute(psfgaoout.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4488,7 +4488,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHPathPrepareForWriteA ( hwnd : super::super::Foundation:: HWND , punkenablemodless : * mut::core::ffi::c_void , pszpath : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHPathPrepareForWriteA ( hwnd : super::super::Foundation:: HWND , punkenablemodless : * mut::core::ffi::c_void , pszpath : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); SHPathPrepareForWriteA(hwnd.into(), punkenablemodless.into().abi(), pszpath.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4500,7 +4500,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHPathPrepareForWriteW ( hwnd : super::super::Foundation:: HWND , punkenablemodless : * mut::core::ffi::c_void , pszpath : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHPathPrepareForWriteW ( hwnd : super::super::Foundation:: HWND , punkenablemodless : * mut::core::ffi::c_void , pszpath : :: windows::core::PCWSTR , dwflags : u32 ) -> :: windows::core::HRESULT ); SHPathPrepareForWriteW(hwnd.into(), punkenablemodless.into().abi(), pszpath.into().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4510,7 +4510,7 @@ pub unsafe fn SHQueryInfoKeyA(hkey: P0, pcsubkeys: ::core::option::Option<*m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHQueryInfoKeyA ( hkey : super::super::System::Registry:: HKEY , pcsubkeys : *mut u32 , pcchmaxsubkeylen : *mut u32 , pcvalues : *mut u32 , pcchmaxvaluenamelen : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHQueryInfoKeyA ( hkey : super::super::System::Registry:: HKEY , pcsubkeys : *mut u32 , pcchmaxsubkeylen : *mut u32 , pcvalues : *mut u32 , pcchmaxvaluenamelen : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHQueryInfoKeyA(hkey.into(), ::core::mem::transmute(pcsubkeys.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchmaxsubkeylen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcvalues.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchmaxvaluenamelen.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4520,7 +4520,7 @@ pub unsafe fn SHQueryInfoKeyW(hkey: P0, pcsubkeys: ::core::option::Option<*m where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHQueryInfoKeyW ( hkey : super::super::System::Registry:: HKEY , pcsubkeys : *mut u32 , pcchmaxsubkeylen : *mut u32 , pcvalues : *mut u32 , pcchmaxvaluenamelen : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHQueryInfoKeyW ( hkey : super::super::System::Registry:: HKEY , pcsubkeys : *mut u32 , pcchmaxsubkeylen : *mut u32 , pcvalues : *mut u32 , pcchmaxvaluenamelen : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHQueryInfoKeyW(hkey.into(), ::core::mem::transmute(pcsubkeys.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchmaxsubkeylen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcvalues.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchmaxvaluenamelen.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -4529,7 +4529,7 @@ pub unsafe fn SHQueryRecycleBinA(pszrootpath: P0, pshqueryrbinfo: *mut SHQUE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHQueryRecycleBinA ( pszrootpath : :: windows::core::PCSTR , pshqueryrbinfo : *mut SHQUERYRBINFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHQueryRecycleBinA ( pszrootpath : :: windows::core::PCSTR , pshqueryrbinfo : *mut SHQUERYRBINFO ) -> :: windows::core::HRESULT ); SHQueryRecycleBinA(pszrootpath.into().abi(), pshqueryrbinfo).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -4538,13 +4538,13 @@ pub unsafe fn SHQueryRecycleBinW(pszrootpath: P0, pshqueryrbinfo: *mut SHQUE where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHQueryRecycleBinW ( pszrootpath : :: windows::core::PCWSTR , pshqueryrbinfo : *mut SHQUERYRBINFO ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHQueryRecycleBinW ( pszrootpath : :: windows::core::PCWSTR , pshqueryrbinfo : *mut SHQUERYRBINFO ) -> :: windows::core::HRESULT ); SHQueryRecycleBinW(pszrootpath.into().abi(), pshqueryrbinfo).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHQueryUserNotificationState() -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn SHQueryUserNotificationState ( pquns : *mut QUERY_USER_NOTIFICATION_STATE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHQueryUserNotificationState ( pquns : *mut QUERY_USER_NOTIFICATION_STATE ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); SHQueryUserNotificationState(&mut result__).from_abi(result__) } @@ -4556,7 +4556,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHQueryValueExA ( hkey : super::super::System::Registry:: HKEY , pszvalue : :: windows::core::PCSTR , pdwreserved : *const u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHQueryValueExA ( hkey : super::super::System::Registry:: HKEY , pszvalue : :: windows::core::PCSTR , pdwreserved : *const u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHQueryValueExA(hkey.into(), pszvalue.into().abi(), ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4567,14 +4567,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHQueryValueExW ( hkey : super::super::System::Registry:: HKEY , pszvalue : :: windows::core::PCWSTR , pdwreserved : *const u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHQueryValueExW ( hkey : super::super::System::Registry:: HKEY , pszvalue : :: windows::core::PCWSTR , pdwreserved : *const u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHQueryValueExW(hkey.into(), pszvalue.into().abi(), ::core::mem::transmute(pdwreserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHRegCloseUSKey(huskey: isize) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegCloseUSKey ( huskey : isize ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegCloseUSKey ( huskey : isize ) -> super::super::Foundation:: WIN32_ERROR ); SHRegCloseUSKey(huskey) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4584,7 +4584,7 @@ pub unsafe fn SHRegCreateUSKeyA(pszpath: P0, samdesired: u32, hrelativeuskey where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegCreateUSKeyA ( pszpath : :: windows::core::PCSTR , samdesired : u32 , hrelativeuskey : isize , phnewuskey : *mut isize , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegCreateUSKeyA ( pszpath : :: windows::core::PCSTR , samdesired : u32 , hrelativeuskey : isize , phnewuskey : *mut isize , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegCreateUSKeyA(pszpath.into().abi(), samdesired, hrelativeuskey, phnewuskey, dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4594,7 +4594,7 @@ pub unsafe fn SHRegCreateUSKeyW(pwzpath: P0, samdesired: u32, hrelativeuskey where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegCreateUSKeyW ( pwzpath : :: windows::core::PCWSTR , samdesired : u32 , hrelativeuskey : isize , phnewuskey : *mut isize , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegCreateUSKeyW ( pwzpath : :: windows::core::PCWSTR , samdesired : u32 , hrelativeuskey : isize , phnewuskey : *mut isize , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegCreateUSKeyW(pwzpath.into().abi(), samdesired, hrelativeuskey, phnewuskey, dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4604,7 +4604,7 @@ pub unsafe fn SHRegDeleteEmptyUSKeyA(huskey: isize, pszsubkey: P0, delregfla where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegDeleteEmptyUSKeyA ( huskey : isize , pszsubkey : :: windows::core::PCSTR , delregflags : SHREGDEL_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegDeleteEmptyUSKeyA ( huskey : isize , pszsubkey : :: windows::core::PCSTR , delregflags : SHREGDEL_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegDeleteEmptyUSKeyA(huskey, pszsubkey.into().abi(), delregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4614,7 +4614,7 @@ pub unsafe fn SHRegDeleteEmptyUSKeyW(huskey: isize, pwzsubkey: P0, delregfla where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegDeleteEmptyUSKeyW ( huskey : isize , pwzsubkey : :: windows::core::PCWSTR , delregflags : SHREGDEL_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegDeleteEmptyUSKeyW ( huskey : isize , pwzsubkey : :: windows::core::PCWSTR , delregflags : SHREGDEL_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegDeleteEmptyUSKeyW(huskey, pwzsubkey.into().abi(), delregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4624,7 +4624,7 @@ pub unsafe fn SHRegDeleteUSValueA(huskey: isize, pszvalue: P0, delregflags: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegDeleteUSValueA ( huskey : isize , pszvalue : :: windows::core::PCSTR , delregflags : SHREGDEL_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegDeleteUSValueA ( huskey : isize , pszvalue : :: windows::core::PCSTR , delregflags : SHREGDEL_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegDeleteUSValueA(huskey, pszvalue.into().abi(), delregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4634,7 +4634,7 @@ pub unsafe fn SHRegDeleteUSValueW(huskey: isize, pwzvalue: P0, delregflags: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegDeleteUSValueW ( huskey : isize , pwzvalue : :: windows::core::PCWSTR , delregflags : SHREGDEL_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegDeleteUSValueW ( huskey : isize , pwzvalue : :: windows::core::PCWSTR , delregflags : SHREGDEL_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegDeleteUSValueW(huskey, pwzvalue.into().abi(), delregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -4644,35 +4644,35 @@ pub unsafe fn SHRegDuplicateHKey(hkey: P0) -> super::super::System::Registry where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegDuplicateHKey ( hkey : super::super::System::Registry:: HKEY ) -> super::super::System::Registry:: HKEY ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegDuplicateHKey ( hkey : super::super::System::Registry:: HKEY ) -> super::super::System::Registry:: HKEY ); SHRegDuplicateHKey(hkey.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHRegEnumUSKeyA(huskey: isize, dwindex: u32, pszname: ::windows::core::PSTR, pcchname: *mut u32, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegEnumUSKeyA ( huskey : isize , dwindex : u32 , pszname : :: windows::core::PSTR , pcchname : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegEnumUSKeyA ( huskey : isize , dwindex : u32 , pszname : :: windows::core::PSTR , pcchname : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegEnumUSKeyA(huskey, dwindex, ::core::mem::transmute(pszname), pcchname, enumregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHRegEnumUSKeyW(huskey: isize, dwindex: u32, pwzname: ::windows::core::PWSTR, pcchname: *mut u32, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegEnumUSKeyW ( huskey : isize , dwindex : u32 , pwzname : :: windows::core::PWSTR , pcchname : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegEnumUSKeyW ( huskey : isize , dwindex : u32 , pwzname : :: windows::core::PWSTR , pcchname : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegEnumUSKeyW(huskey, dwindex, ::core::mem::transmute(pwzname), pcchname, enumregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHRegEnumUSValueA(huskey: isize, dwindex: u32, pszvaluename: ::windows::core::PSTR, pcchvaluename: *mut u32, pdwtype: ::core::option::Option<*mut u32>, pvdata: ::core::option::Option<*mut ::core::ffi::c_void>, pcbdata: ::core::option::Option<*mut u32>, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegEnumUSValueA ( huskey : isize , dwindex : u32 , pszvaluename : :: windows::core::PSTR , pcchvaluename : *mut u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegEnumUSValueA ( huskey : isize , dwindex : u32 , pszvaluename : :: windows::core::PSTR , pcchvaluename : *mut u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegEnumUSValueA(huskey, dwindex, ::core::mem::transmute(pszvaluename), pcchvaluename, ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut())), enumregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHRegEnumUSValueW(huskey: isize, dwindex: u32, pszvaluename: ::windows::core::PWSTR, pcchvaluename: *mut u32, pdwtype: ::core::option::Option<*mut u32>, pvdata: ::core::option::Option<*mut ::core::ffi::c_void>, pcbdata: ::core::option::Option<*mut u32>, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegEnumUSValueW ( huskey : isize , dwindex : u32 , pszvaluename : :: windows::core::PWSTR , pcchvaluename : *mut u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegEnumUSValueW ( huskey : isize , dwindex : u32 , pszvaluename : :: windows::core::PWSTR , pcchvaluename : *mut u32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegEnumUSValueW(huskey, dwindex, ::core::mem::transmute(pszvaluename), pcchvaluename, ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut())), enumregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4685,7 +4685,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetBoolUSValueA ( pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , fignorehkcu : super::super::Foundation:: BOOL , fdefault : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetBoolUSValueA ( pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , fignorehkcu : super::super::Foundation:: BOOL , fdefault : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SHRegGetBoolUSValueA(pszsubkey.into().abi(), pszvalue.into().abi(), fignorehkcu.into(), fdefault.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4698,7 +4698,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetBoolUSValueW ( pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , fignorehkcu : super::super::Foundation:: BOOL , fdefault : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetBoolUSValueW ( pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , fignorehkcu : super::super::Foundation:: BOOL , fdefault : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SHRegGetBoolUSValueW(pszsubkey.into().abi(), pszvalue.into().abi(), fignorehkcu.into(), fdefault.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4709,7 +4709,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetIntW ( hk : super::super::System::Registry:: HKEY , pwzkey : :: windows::core::PCWSTR , idefault : i32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetIntW ( hk : super::super::System::Registry:: HKEY , pwzkey : :: windows::core::PCWSTR , idefault : i32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegGetIntW(hk.into(), pwzkey.into().abi(), idefault) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4721,7 +4721,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetPathA ( hkey : super::super::System::Registry:: HKEY , pcszsubkey : :: windows::core::PCSTR , pcszvalue : :: windows::core::PCSTR , pszpath : :: windows::core::PSTR , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetPathA ( hkey : super::super::System::Registry:: HKEY , pcszsubkey : :: windows::core::PCSTR , pcszvalue : :: windows::core::PCSTR , pszpath : :: windows::core::PSTR , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegGetPathA(hkey.into(), pcszsubkey.into().abi(), pcszvalue.into().abi(), ::core::mem::transmute(pszpath.as_ptr()), dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4733,7 +4733,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetPathW ( hkey : super::super::System::Registry:: HKEY , pcszsubkey : :: windows::core::PCWSTR , pcszvalue : :: windows::core::PCWSTR , pszpath : :: windows::core::PWSTR , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetPathW ( hkey : super::super::System::Registry:: HKEY , pcszsubkey : :: windows::core::PCWSTR , pcszvalue : :: windows::core::PCWSTR , pszpath : :: windows::core::PWSTR , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegGetPathW(hkey.into(), pcszsubkey.into().abi(), pcszvalue.into().abi(), ::core::mem::transmute(pszpath.as_ptr()), dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4745,7 +4745,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetUSValueA ( pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , fignorehkcu : super::super::Foundation:: BOOL , pvdefaultdata : *const ::core::ffi::c_void , dwdefaultdatasize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetUSValueA ( pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , fignorehkcu : super::super::Foundation:: BOOL , pvdefaultdata : *const ::core::ffi::c_void , dwdefaultdatasize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegGetUSValueA(pszsubkey.into().abi(), pszvalue.into().abi(), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut())), fignorehkcu.into(), ::core::mem::transmute(pvdefaultdata.unwrap_or(::std::ptr::null())), dwdefaultdatasize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4757,7 +4757,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetUSValueW ( pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , fignorehkcu : super::super::Foundation:: BOOL , pvdefaultdata : *const ::core::ffi::c_void , dwdefaultdatasize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetUSValueW ( pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , fignorehkcu : super::super::Foundation:: BOOL , pvdefaultdata : *const ::core::ffi::c_void , dwdefaultdatasize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegGetUSValueW(pszsubkey.into().abi(), pszvalue.into().abi(), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut())), fignorehkcu.into(), ::core::mem::transmute(pvdefaultdata.unwrap_or(::std::ptr::null())), dwdefaultdatasize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4769,7 +4769,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetValueA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , srrfflags : i32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetValueA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , srrfflags : i32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegGetValueA(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), srrfflags, ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4780,7 +4780,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetValueFromHKCUHKLM ( pwszkey : :: windows::core::PCWSTR , pwszvalue : :: windows::core::PCWSTR , srrfflags : i32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetValueFromHKCUHKLM ( pwszkey : :: windows::core::PCWSTR , pwszvalue : :: windows::core::PCWSTR , srrfflags : i32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegGetValueFromHKCUHKLM(pwszkey.into().abi(), pwszvalue.into().abi(), srrfflags, ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4792,7 +4792,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegGetValueW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , srrfflags : i32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegGetValueW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , srrfflags : i32 , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegGetValueW(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), srrfflags, ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4803,7 +4803,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegOpenUSKeyA ( pszpath : :: windows::core::PCSTR , samdesired : u32 , hrelativeuskey : isize , phnewuskey : *mut isize , fignorehkcu : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegOpenUSKeyA ( pszpath : :: windows::core::PCSTR , samdesired : u32 , hrelativeuskey : isize , phnewuskey : *mut isize , fignorehkcu : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); SHRegOpenUSKeyA(pszpath.into().abi(), samdesired, hrelativeuskey, phnewuskey, fignorehkcu.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4814,21 +4814,21 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegOpenUSKeyW ( pwzpath : :: windows::core::PCWSTR , samdesired : u32 , hrelativeuskey : isize , phnewuskey : *mut isize , fignorehkcu : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegOpenUSKeyW ( pwzpath : :: windows::core::PCWSTR , samdesired : u32 , hrelativeuskey : isize , phnewuskey : *mut isize , fignorehkcu : super::super::Foundation:: BOOL ) -> super::super::Foundation:: WIN32_ERROR ); SHRegOpenUSKeyW(pwzpath.into().abi(), samdesired, hrelativeuskey, phnewuskey, fignorehkcu.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHRegQueryInfoUSKeyA(huskey: isize, pcsubkeys: ::core::option::Option<*mut u32>, pcchmaxsubkeylen: ::core::option::Option<*mut u32>, pcvalues: ::core::option::Option<*mut u32>, pcchmaxvaluenamelen: ::core::option::Option<*mut u32>, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegQueryInfoUSKeyA ( huskey : isize , pcsubkeys : *mut u32 , pcchmaxsubkeylen : *mut u32 , pcvalues : *mut u32 , pcchmaxvaluenamelen : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegQueryInfoUSKeyA ( huskey : isize , pcsubkeys : *mut u32 , pcchmaxsubkeylen : *mut u32 , pcvalues : *mut u32 , pcchmaxvaluenamelen : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegQueryInfoUSKeyA(huskey, ::core::mem::transmute(pcsubkeys.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchmaxsubkeylen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcvalues.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchmaxvaluenamelen.unwrap_or(::std::ptr::null_mut())), enumregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHRegQueryInfoUSKeyW(huskey: isize, pcsubkeys: ::core::option::Option<*mut u32>, pcchmaxsubkeylen: ::core::option::Option<*mut u32>, pcvalues: ::core::option::Option<*mut u32>, pcchmaxvaluenamelen: ::core::option::Option<*mut u32>, enumregflags: SHREGENUM_FLAGS) -> super::super::Foundation::WIN32_ERROR { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegQueryInfoUSKeyW ( huskey : isize , pcsubkeys : *mut u32 , pcchmaxsubkeylen : *mut u32 , pcvalues : *mut u32 , pcchmaxvaluenamelen : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegQueryInfoUSKeyW ( huskey : isize , pcsubkeys : *mut u32 , pcchmaxsubkeylen : *mut u32 , pcvalues : *mut u32 , pcchmaxvaluenamelen : *mut u32 , enumregflags : SHREGENUM_FLAGS ) -> super::super::Foundation:: WIN32_ERROR ); SHRegQueryInfoUSKeyW(huskey, ::core::mem::transmute(pcsubkeys.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchmaxsubkeylen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcvalues.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchmaxvaluenamelen.unwrap_or(::std::ptr::null_mut())), enumregflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4839,7 +4839,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegQueryUSValueA ( huskey : isize , pszvalue : :: windows::core::PCSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , fignorehkcu : super::super::Foundation:: BOOL , pvdefaultdata : *const ::core::ffi::c_void , dwdefaultdatasize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegQueryUSValueA ( huskey : isize , pszvalue : :: windows::core::PCSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , fignorehkcu : super::super::Foundation:: BOOL , pvdefaultdata : *const ::core::ffi::c_void , dwdefaultdatasize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegQueryUSValueA(huskey, pszvalue.into().abi(), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut())), fignorehkcu.into(), ::core::mem::transmute(pvdefaultdata.unwrap_or(::std::ptr::null())), dwdefaultdatasize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4850,7 +4850,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegQueryUSValueW ( huskey : isize , pszvalue : :: windows::core::PCWSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , fignorehkcu : super::super::Foundation:: BOOL , pvdefaultdata : *const ::core::ffi::c_void , dwdefaultdatasize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegQueryUSValueW ( huskey : isize , pszvalue : :: windows::core::PCWSTR , pdwtype : *mut u32 , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 , fignorehkcu : super::super::Foundation:: BOOL , pvdefaultdata : *const ::core::ffi::c_void , dwdefaultdatasize : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegQueryUSValueW(huskey, pszvalue.into().abi(), ::core::mem::transmute(pdwtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcbdata.unwrap_or(::std::ptr::null_mut())), fignorehkcu.into(), ::core::mem::transmute(pvdefaultdata.unwrap_or(::std::ptr::null())), dwdefaultdatasize) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4863,7 +4863,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegSetPathA ( hkey : super::super::System::Registry:: HKEY , pcszsubkey : :: windows::core::PCSTR , pcszvalue : :: windows::core::PCSTR , pcszpath : :: windows::core::PCSTR , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegSetPathA ( hkey : super::super::System::Registry:: HKEY , pcszsubkey : :: windows::core::PCSTR , pcszvalue : :: windows::core::PCSTR , pcszpath : :: windows::core::PCSTR , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegSetPathA(hkey.into(), pcszsubkey.into().abi(), pcszvalue.into().abi(), pcszpath.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -4876,7 +4876,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegSetPathW ( hkey : super::super::System::Registry:: HKEY , pcszsubkey : :: windows::core::PCWSTR , pcszvalue : :: windows::core::PCWSTR , pcszpath : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegSetPathW ( hkey : super::super::System::Registry:: HKEY , pcszsubkey : :: windows::core::PCWSTR , pcszvalue : :: windows::core::PCWSTR , pcszpath : :: windows::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegSetPathW(hkey.into(), pcszsubkey.into().abi(), pcszvalue.into().abi(), pcszpath.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4887,7 +4887,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegSetUSValueA ( pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegSetUSValueA ( pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegSetUSValueA(pszsubkey.into().abi(), pszvalue.into().abi(), dwtype, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null())), cbdata, dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4898,7 +4898,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegSetUSValueW ( pwzsubkey : :: windows::core::PCWSTR , pwzvalue : :: windows::core::PCWSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegSetUSValueW ( pwzsubkey : :: windows::core::PCWSTR , pwzvalue : :: windows::core::PCWSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegSetUSValueW(pwzsubkey.into().abi(), pwzvalue.into().abi(), dwtype, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null())), cbdata, dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4908,7 +4908,7 @@ pub unsafe fn SHRegWriteUSValueA(huskey: isize, pszvalue: P0, dwtype: u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegWriteUSValueA ( huskey : isize , pszvalue : :: windows::core::PCSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegWriteUSValueA ( huskey : isize , pszvalue : :: windows::core::PCSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegWriteUSValueA(huskey, pszvalue.into().abi(), dwtype, pvdata, cbdata, dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4918,13 +4918,13 @@ pub unsafe fn SHRegWriteUSValueW(huskey: isize, pwzvalue: P0, dwtype: u32, p where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHRegWriteUSValueW ( huskey : isize , pwzvalue : :: windows::core::PCWSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHRegWriteUSValueW ( huskey : isize , pwzvalue : :: windows::core::PCWSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 , dwflags : u32 ) -> super::super::Foundation:: WIN32_ERROR ); SHRegWriteUSValueW(huskey, pwzvalue.into().abi(), dwtype, pvdata, cbdata, dwflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHReleaseThreadRef() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHReleaseThreadRef ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHReleaseThreadRef ( ) -> :: windows::core::HRESULT ); SHReleaseThreadRef().ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -4933,7 +4933,7 @@ pub unsafe fn SHRemoveLocalizedName(pszpath: P0) -> ::windows::core::Result< where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHRemoveLocalizedName ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHRemoveLocalizedName ( pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SHRemoveLocalizedName(pszpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -4944,7 +4944,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHReplaceFromPropSheetExtArray ( hpsxa : HPSXA , upageid : u32 , lpfnreplacewith : super::Controls:: LPFNSVADDPROPSHEETPAGE , lparam : super::super::Foundation:: LPARAM ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHReplaceFromPropSheetExtArray ( hpsxa : HPSXA , upageid : u32 , lpfnreplacewith : super::Controls:: LPFNSVADDPROPSHEETPAGE , lparam : super::super::Foundation:: LPARAM ) -> u32 ); SHReplaceFromPropSheetExtArray(hpsxa.into(), upageid, lpfnreplacewith, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -4953,13 +4953,13 @@ pub unsafe fn SHResolveLibrary(psilibrary: P0) -> ::windows::core::Result<() where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHResolveLibrary ( psilibrary : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHResolveLibrary ( psilibrary : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SHResolveLibrary(psilibrary.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHRestricted(rest: RESTRICTIONS) -> u32 { - ::windows::core::link ! ( "shell32.dll""system" fn SHRestricted ( rest : RESTRICTIONS ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHRestricted ( rest : RESTRICTIONS ) -> u32 ); SHRestricted(rest) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4970,7 +4970,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHSendMessageBroadcastA ( umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHSendMessageBroadcastA ( umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SHSendMessageBroadcastA(umsg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4981,7 +4981,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHSendMessageBroadcastW ( umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHSendMessageBroadcastW ( umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SHSendMessageBroadcastW(umsg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -4993,7 +4993,7 @@ where P1: ::std::convert::Into<::windows::core::InParam>, P2: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSetDefaultProperties ( hwnd : super::super::Foundation:: HWND , psi : * mut::core::ffi::c_void , dwfileopflags : u32 , pfops : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSetDefaultProperties ( hwnd : super::super::Foundation:: HWND , psi : * mut::core::ffi::c_void , dwfileopflags : u32 , pfops : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SHSetDefaultProperties(hwnd.into(), psi.into().abi(), dwfileopflags, pfops.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5004,7 +5004,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSetFolderPathA ( csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszpath : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSetFolderPathA ( csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszpath : :: windows::core::PCSTR ) -> :: windows::core::HRESULT ); SHSetFolderPathA(csidl, htoken.into(), dwflags, pszpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5015,7 +5015,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSetFolderPathW ( csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSetFolderPathW ( csidl : i32 , htoken : super::super::Foundation:: HANDLE , dwflags : u32 , pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SHSetFolderPathW(csidl, htoken.into(), dwflags, pszpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5024,7 +5024,7 @@ pub unsafe fn SHSetInstanceExplorer(punk: P0) where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSetInstanceExplorer ( punk : * mut::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSetInstanceExplorer ( punk : * mut::core::ffi::c_void ) -> ( ) ); SHSetInstanceExplorer(punk.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5035,7 +5035,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSetKnownFolderPath ( rfid : *const :: windows::core::GUID , dwflags : u32 , htoken : super::super::Foundation:: HANDLE , pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSetKnownFolderPath ( rfid : *const :: windows::core::GUID , dwflags : u32 , htoken : super::super::Foundation:: HANDLE , pszpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SHSetKnownFolderPath(rfid, dwflags, htoken.into(), pszpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5045,7 +5045,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSetLocalizedName ( pszpath : :: windows::core::PCWSTR , pszresmodule : :: windows::core::PCWSTR , idsres : i32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSetLocalizedName ( pszpath : :: windows::core::PCWSTR , pszresmodule : :: windows::core::PCWSTR , idsres : i32 ) -> :: windows::core::HRESULT ); SHSetLocalizedName(pszpath.into().abi(), pszresmodule.into().abi(), idsres).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -5055,7 +5055,7 @@ pub unsafe fn SHSetTemporaryPropertyForItem(psi: P0, propkey: *const Propert where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSetTemporaryPropertyForItem ( psi : * mut::core::ffi::c_void , propkey : *const PropertiesSystem:: PROPERTYKEY , propvar : *const super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSetTemporaryPropertyForItem ( psi : * mut::core::ffi::c_void , propkey : *const PropertiesSystem:: PROPERTYKEY , propvar : *const super::super::System::Com::StructuredStorage:: PROPVARIANT ) -> :: windows::core::HRESULT ); SHSetTemporaryPropertyForItem(psi.into().abi(), propkey, propvar).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5064,7 +5064,7 @@ pub unsafe fn SHSetThreadRef(punk: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::IUnknown>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHSetThreadRef ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHSetThreadRef ( punk : * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); SHSetThreadRef(punk.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5074,7 +5074,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSetUnreadMailCountW ( pszmailaddress : :: windows::core::PCWSTR , dwcount : u32 , pszshellexecutecommand : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSetUnreadMailCountW ( pszmailaddress : :: windows::core::PCWSTR , dwcount : u32 , pszshellexecutecommand : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SHSetUnreadMailCountW(pszmailaddress.into().abi(), dwcount, pszshellexecutecommand.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -5086,7 +5086,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHSetValueA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHSetValueA ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCSTR , pszvalue : :: windows::core::PCSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 ) -> i32 ); SHSetValueA(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), dwtype, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null())), cbdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`*"] @@ -5098,7 +5098,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHSetValueW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHSetValueW ( hkey : super::super::System::Registry:: HKEY , pszsubkey : :: windows::core::PCWSTR , pszvalue : :: windows::core::PCWSTR , dwtype : u32 , pvdata : *const ::core::ffi::c_void , cbdata : u32 ) -> i32 ); SHSetValueW(hkey.into(), pszsubkey.into().abi(), pszvalue.into().abi(), dwtype, ::core::mem::transmute(pvdata.unwrap_or(::std::ptr::null())), cbdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5109,7 +5109,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHShellFolderView_Message ( hwndmain : super::super::Foundation:: HWND , umsg : u32 , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHShellFolderView_Message ( hwndmain : super::super::Foundation:: HWND , umsg : u32 , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SHShellFolderView_Message(hwndmain.into(), umsg, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5122,7 +5122,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHShowManageLibraryUI ( psilibrary : * mut::core::ffi::c_void , hwndowner : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pszinstruction : :: windows::core::PCWSTR , lmdoptions : LIBRARYMANAGEDIALOGOPTIONS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHShowManageLibraryUI ( psilibrary : * mut::core::ffi::c_void , hwndowner : super::super::Foundation:: HWND , psztitle : :: windows::core::PCWSTR , pszinstruction : :: windows::core::PCWSTR , lmdoptions : LIBRARYMANAGEDIALOGOPTIONS ) -> :: windows::core::HRESULT ); SHShowManageLibraryUI(psilibrary.into().abi(), hwndowner.into(), psztitle.into().abi(), pszinstruction.into().abi(), lmdoptions).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -5132,7 +5132,7 @@ pub unsafe fn SHSimpleIDListFromPath(pszpath: P0) -> *mut Common::ITEMIDLIST where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHSimpleIDListFromPath ( pszpath : :: windows::core::PCWSTR ) -> *mut Common:: ITEMIDLIST ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHSimpleIDListFromPath ( pszpath : :: windows::core::PCWSTR ) -> *mut Common:: ITEMIDLIST ); SHSimpleIDListFromPath(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -5142,7 +5142,7 @@ pub unsafe fn SHSkipJunction(pbc: P0, pclsid: *const ::windows::core::GUID) where P0: ::std::convert::Into<::windows::core::InParam>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHSkipJunction ( pbc : * mut::core::ffi::c_void , pclsid : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHSkipJunction ( pbc : * mut::core::ffi::c_void , pclsid : *const :: windows::core::GUID ) -> super::super::Foundation:: BOOL ); SHSkipJunction(pbc.into().abi(), pclsid) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5153,7 +5153,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHStartNetConnectionDialogW ( hwnd : super::super::Foundation:: HWND , pszremotename : :: windows::core::PCWSTR , dwtype : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHStartNetConnectionDialogW ( hwnd : super::super::Foundation:: HWND , pszremotename : :: windows::core::PCWSTR , dwtype : u32 ) -> :: windows::core::HRESULT ); SHStartNetConnectionDialogW(hwnd.into(), pszremotename.into().abi(), dwtype).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5162,7 +5162,7 @@ pub unsafe fn SHStrDupA(psz: P0) -> ::windows::core::Result<::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHStrDupA ( psz : :: windows::core::PCSTR , ppwsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHStrDupA ( psz : :: windows::core::PCSTR , ppwsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SHStrDupA(psz.into().abi(), &mut result__).from_abi(result__) } @@ -5172,7 +5172,7 @@ pub unsafe fn SHStrDupW(psz: P0) -> ::windows::core::Result<::windows::core: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHStrDupW ( psz : :: windows::core::PCWSTR , ppwsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHStrDupW ( psz : :: windows::core::PCWSTR , ppwsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); SHStrDupW(psz.into().abi(), &mut result__).from_abi(result__) } @@ -5180,13 +5180,13 @@ where #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHStripMneumonicA(pszmenu: ::windows::core::PSTR) -> super::super::Foundation::CHAR { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHStripMneumonicA ( pszmenu : :: windows::core::PSTR ) -> super::super::Foundation:: CHAR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHStripMneumonicA ( pszmenu : :: windows::core::PSTR ) -> super::super::Foundation:: CHAR ); SHStripMneumonicA(::core::mem::transmute(pszmenu)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn SHStripMneumonicW(pszmenu: ::windows::core::PWSTR) -> u16 { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHStripMneumonicW ( pszmenu : :: windows::core::PWSTR ) -> u16 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHStripMneumonicW ( pszmenu : :: windows::core::PWSTR ) -> u16 ); SHStripMneumonicW(::core::mem::transmute(pszmenu)) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5196,7 +5196,7 @@ pub unsafe fn SHTestTokenMembership(htoken: P0, ulrid: u32) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHTestTokenMembership ( htoken : super::super::Foundation:: HANDLE , ulrid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHTestTokenMembership ( htoken : super::super::Foundation:: HANDLE , ulrid : u32 ) -> super::super::Foundation:: BOOL ); SHTestTokenMembership(htoken.into(), ulrid) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5205,7 +5205,7 @@ pub unsafe fn SHUnicodeToAnsi(pwszsrc: P0, pszdst: &mut [u8]) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHUnicodeToAnsi ( pwszsrc : :: windows::core::PCWSTR , pszdst : :: windows::core::PSTR , cchbuf : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHUnicodeToAnsi ( pwszsrc : :: windows::core::PCWSTR , pszdst : :: windows::core::PSTR , cchbuf : i32 ) -> i32 ); SHUnicodeToAnsi(pwszsrc.into().abi(), ::core::mem::transmute(pszdst.as_ptr()), pszdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5214,14 +5214,14 @@ pub unsafe fn SHUnicodeToUnicode(pwzsrc: P0, pwzdst: &mut [u16]) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHUnicodeToUnicode ( pwzsrc : :: windows::core::PCWSTR , pwzdst : :: windows::core::PWSTR , cwchbuf : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHUnicodeToUnicode ( pwzsrc : :: windows::core::PCWSTR , pwzdst : :: windows::core::PWSTR , cwchbuf : i32 ) -> i32 ); SHUnicodeToUnicode(pwzsrc.into().abi(), ::core::mem::transmute(pwzdst.as_ptr()), pwzdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SHUnlockShared(pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shlwapi.dll""system" fn SHUnlockShared ( pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn SHUnlockShared ( pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); SHUnlockShared(pvdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5230,7 +5230,7 @@ pub unsafe fn SHUpdateImageA(pszhashitem: P0, iindex: i32, uflags: u32, iima where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHUpdateImageA ( pszhashitem : :: windows::core::PCSTR , iindex : i32 , uflags : u32 , iimageindex : i32 ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHUpdateImageA ( pszhashitem : :: windows::core::PCSTR , iindex : i32 , uflags : u32 , iimageindex : i32 ) -> ( ) ); SHUpdateImageA(pszhashitem.into().abi(), iindex, uflags, iimageindex) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5239,7 +5239,7 @@ pub unsafe fn SHUpdateImageW(pszhashitem: P0, iindex: i32, uflags: u32, iima where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SHUpdateImageW ( pszhashitem : :: windows::core::PCWSTR , iindex : i32 , uflags : u32 , iimageindex : i32 ) -> ( ) ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHUpdateImageW ( pszhashitem : :: windows::core::PCWSTR , iindex : i32 , uflags : u32 , iimageindex : i32 ) -> ( ) ); SHUpdateImageW(pszhashitem.into().abi(), iindex, uflags, iimageindex) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5249,7 +5249,7 @@ pub unsafe fn SHValidateUNC(hwndowner: P0, pszfile: ::windows::core::PWSTR, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn SHValidateUNC ( hwndowner : super::super::Foundation:: HWND , pszfile : :: windows::core::PWSTR , fconnect : VALIDATEUNC_OPTION ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SHValidateUNC ( hwndowner : super::super::Foundation:: HWND , pszfile : :: windows::core::PWSTR , fconnect : VALIDATEUNC_OPTION ) -> super::super::Foundation:: BOOL ); SHValidateUNC(hwndowner.into(), ::core::mem::transmute(pszfile), fconnect) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5258,7 +5258,7 @@ pub unsafe fn SetCurrentProcessExplicitAppUserModelID(appid: P0) -> ::window where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn SetCurrentProcessExplicitAppUserModelID ( appid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn SetCurrentProcessExplicitAppUserModelID ( appid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SetCurrentProcessExplicitAppUserModelID(appid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5268,7 +5268,7 @@ pub unsafe fn SetMenuContextHelpId(param0: P0, param1: u32) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetMenuContextHelpId ( param0 : super::WindowsAndMessaging:: HMENU , param1 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMenuContextHelpId ( param0 : super::WindowsAndMessaging:: HMENU , param1 : u32 ) -> super::super::Foundation:: BOOL ); SetMenuContextHelpId(param0.into(), param1) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5278,7 +5278,7 @@ pub unsafe fn SetWindowContextHelpId(param0: P0, param1: u32) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowContextHelpId ( param0 : super::super::Foundation:: HWND , param1 : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowContextHelpId ( param0 : super::super::Foundation:: HWND , param1 : u32 ) -> super::super::Foundation:: BOOL ); SetWindowContextHelpId(param0.into(), param1) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5288,7 +5288,7 @@ pub unsafe fn SetWindowSubclass(hwnd: P0, pfnsubclass: SUBCLASSPROC, uidsubc where P0: ::std::convert::Into, { - ::windows::core::link ! ( "comctl32.dll""system" fn SetWindowSubclass ( hwnd : super::super::Foundation:: HWND , pfnsubclass : SUBCLASSPROC , uidsubclass : usize , dwrefdata : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "comctl32.dll""system" fn SetWindowSubclass ( hwnd : super::super::Foundation:: HWND , pfnsubclass : SUBCLASSPROC , uidsubclass : usize , dwrefdata : usize ) -> super::super::Foundation:: BOOL ); SetWindowSubclass(hwnd.into(), pfnsubclass, uidsubclass, dwrefdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5301,7 +5301,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn ShellAboutA ( hwnd : super::super::Foundation:: HWND , szapp : :: windows::core::PCSTR , szotherstuff : :: windows::core::PCSTR , hicon : super::WindowsAndMessaging:: HICON ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn ShellAboutA ( hwnd : super::super::Foundation:: HWND , szapp : :: windows::core::PCSTR , szotherstuff : :: windows::core::PCSTR , hicon : super::WindowsAndMessaging:: HICON ) -> i32 ); ShellAboutA(hwnd.into(), szapp.into().abi(), szotherstuff.into().abi(), hicon.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5314,7 +5314,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn ShellAboutW ( hwnd : super::super::Foundation:: HWND , szapp : :: windows::core::PCWSTR , szotherstuff : :: windows::core::PCWSTR , hicon : super::WindowsAndMessaging:: HICON ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn ShellAboutW ( hwnd : super::super::Foundation:: HWND , szapp : :: windows::core::PCWSTR , szotherstuff : :: windows::core::PCWSTR , hicon : super::WindowsAndMessaging:: HICON ) -> i32 ); ShellAboutW(hwnd.into(), szapp.into().abi(), szotherstuff.into().abi(), hicon.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5328,21 +5328,21 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn ShellExecuteA ( hwnd : super::super::Foundation:: HWND , lpoperation : :: windows::core::PCSTR , lpfile : :: windows::core::PCSTR , lpparameters : :: windows::core::PCSTR , lpdirectory : :: windows::core::PCSTR , nshowcmd : super::WindowsAndMessaging:: SHOW_WINDOW_CMD ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "shell32.dll""system" fn ShellExecuteA ( hwnd : super::super::Foundation:: HWND , lpoperation : :: windows::core::PCSTR , lpfile : :: windows::core::PCSTR , lpparameters : :: windows::core::PCSTR , lpdirectory : :: windows::core::PCSTR , nshowcmd : super::WindowsAndMessaging:: SHOW_WINDOW_CMD ) -> super::super::Foundation:: HINSTANCE ); ShellExecuteA(hwnd.into(), lpoperation.into().abi(), lpfile.into().abi(), lpparameters.into().abi(), lpdirectory.into().abi(), nshowcmd) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] #[inline] pub unsafe fn ShellExecuteExA(pexecinfo: *mut SHELLEXECUTEINFOA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn ShellExecuteExA ( pexecinfo : *mut SHELLEXECUTEINFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn ShellExecuteExA ( pexecinfo : *mut SHELLEXECUTEINFOA ) -> super::super::Foundation:: BOOL ); ShellExecuteExA(pexecinfo) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] #[inline] pub unsafe fn ShellExecuteExW(pexecinfo: *mut SHELLEXECUTEINFOW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn ShellExecuteExW ( pexecinfo : *mut SHELLEXECUTEINFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn ShellExecuteExW ( pexecinfo : *mut SHELLEXECUTEINFOW ) -> super::super::Foundation:: BOOL ); ShellExecuteExW(pexecinfo) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5356,7 +5356,7 @@ where P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P4: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn ShellExecuteW ( hwnd : super::super::Foundation:: HWND , lpoperation : :: windows::core::PCWSTR , lpfile : :: windows::core::PCWSTR , lpparameters : :: windows::core::PCWSTR , lpdirectory : :: windows::core::PCWSTR , nshowcmd : super::WindowsAndMessaging:: SHOW_WINDOW_CMD ) -> super::super::Foundation:: HINSTANCE ); + ::windows::imp::link ! ( "shell32.dll""system" fn ShellExecuteW ( hwnd : super::super::Foundation:: HWND , lpoperation : :: windows::core::PCWSTR , lpfile : :: windows::core::PCWSTR , lpparameters : :: windows::core::PCWSTR , lpdirectory : :: windows::core::PCWSTR , nshowcmd : super::WindowsAndMessaging:: SHOW_WINDOW_CMD ) -> super::super::Foundation:: HINSTANCE ); ShellExecuteW(hwnd.into(), lpoperation.into().abi(), lpfile.into().abi(), lpparameters.into().abi(), lpdirectory.into().abi(), nshowcmd) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5369,7 +5369,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""cdecl" fn ShellMessageBoxA ( happinst : super::super::Foundation:: HINSTANCE , hwnd : super::super::Foundation:: HWND , lpctext : :: windows::core::PCSTR , lpctitle : :: windows::core::PCSTR , fustyle : super::WindowsAndMessaging:: MESSAGEBOX_STYLE ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""cdecl" fn ShellMessageBoxA ( happinst : super::super::Foundation:: HINSTANCE , hwnd : super::super::Foundation:: HWND , lpctext : :: windows::core::PCSTR , lpctitle : :: windows::core::PCSTR , fustyle : super::WindowsAndMessaging:: MESSAGEBOX_STYLE ) -> i32 ); ShellMessageBoxA(happinst.into(), hwnd.into(), lpctext.into().abi(), lpctitle.into().abi(), fustyle) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5382,7 +5382,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""cdecl" fn ShellMessageBoxW ( happinst : super::super::Foundation:: HINSTANCE , hwnd : super::super::Foundation:: HWND , lpctext : :: windows::core::PCWSTR , lpctitle : :: windows::core::PCWSTR , fustyle : super::WindowsAndMessaging:: MESSAGEBOX_STYLE ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""cdecl" fn ShellMessageBoxW ( happinst : super::super::Foundation:: HINSTANCE , hwnd : super::super::Foundation:: HWND , lpctext : :: windows::core::PCWSTR , lpctitle : :: windows::core::PCWSTR , fustyle : super::WindowsAndMessaging:: MESSAGEBOX_STYLE ) -> i32 ); ShellMessageBoxW(happinst.into(), hwnd.into(), lpctext.into().abi(), lpctitle.into().abi(), fustyle) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5391,7 +5391,7 @@ pub unsafe fn Shell_GetCachedImageIndex(pwsziconpath: P0, iiconindex: i32, u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn Shell_GetCachedImageIndex ( pwsziconpath : :: windows::core::PCWSTR , iiconindex : i32 , uiconflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn Shell_GetCachedImageIndex ( pwsziconpath : :: windows::core::PCWSTR , iiconindex : i32 , uiconflags : u32 ) -> i32 ); Shell_GetCachedImageIndex(pwsziconpath.into().abi(), iiconindex, uiconflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5400,7 +5400,7 @@ pub unsafe fn Shell_GetCachedImageIndexA(psziconpath: P0, iiconindex: i32, u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn Shell_GetCachedImageIndexA ( psziconpath : :: windows::core::PCSTR , iiconindex : i32 , uiconflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn Shell_GetCachedImageIndexA ( psziconpath : :: windows::core::PCSTR , iiconindex : i32 , uiconflags : u32 ) -> i32 ); Shell_GetCachedImageIndexA(psziconpath.into().abi(), iiconindex, uiconflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5409,14 +5409,14 @@ pub unsafe fn Shell_GetCachedImageIndexW(psziconpath: P0, iiconindex: i32, u where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn Shell_GetCachedImageIndexW ( psziconpath : :: windows::core::PCWSTR , iiconindex : i32 , uiconflags : u32 ) -> i32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn Shell_GetCachedImageIndexW ( psziconpath : :: windows::core::PCWSTR , iiconindex : i32 , uiconflags : u32 ) -> i32 ); Shell_GetCachedImageIndexW(psziconpath.into().abi(), iiconindex, uiconflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] #[inline] pub unsafe fn Shell_GetImageLists(phiml: ::core::option::Option<*mut super::Controls::HIMAGELIST>, phimlsmall: ::core::option::Option<*mut super::Controls::HIMAGELIST>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn Shell_GetImageLists ( phiml : *mut super::Controls:: HIMAGELIST , phimlsmall : *mut super::Controls:: HIMAGELIST ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn Shell_GetImageLists ( phiml : *mut super::Controls:: HIMAGELIST , phimlsmall : *mut super::Controls:: HIMAGELIST ) -> super::super::Foundation:: BOOL ); Shell_GetImageLists(::core::mem::transmute(phiml.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phimlsmall.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5427,21 +5427,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "shell32.dll""system" fn Shell_MergeMenus ( hmdst : super::WindowsAndMessaging:: HMENU , hmsrc : super::WindowsAndMessaging:: HMENU , uinsert : u32 , uidadjust : u32 , uidadjustmax : u32 , uflags : MM_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "shell32.dll""system" fn Shell_MergeMenus ( hmdst : super::WindowsAndMessaging:: HMENU , hmsrc : super::WindowsAndMessaging:: HMENU , uinsert : u32 , uidadjust : u32 , uidadjustmax : u32 , uflags : MM_FLAGS ) -> u32 ); Shell_MergeMenus(hmdst.into(), hmsrc.into(), uinsert, uidadjust, uidadjustmax, uflags) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn Shell_NotifyIconA(dwmessage: NOTIFY_ICON_MESSAGE, lpdata: *const NOTIFYICONDATAA) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn Shell_NotifyIconA ( dwmessage : NOTIFY_ICON_MESSAGE , lpdata : *const NOTIFYICONDATAA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn Shell_NotifyIconA ( dwmessage : NOTIFY_ICON_MESSAGE , lpdata : *const NOTIFYICONDATAA ) -> super::super::Foundation:: BOOL ); Shell_NotifyIconA(dwmessage, lpdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn Shell_NotifyIconGetRect(identifier: *const NOTIFYICONIDENTIFIER) -> ::windows::core::Result { - ::windows::core::link ! ( "shell32.dll""system" fn Shell_NotifyIconGetRect ( identifier : *const NOTIFYICONIDENTIFIER , iconlocation : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shell32.dll""system" fn Shell_NotifyIconGetRect ( identifier : *const NOTIFYICONIDENTIFIER , iconlocation : *mut super::super::Foundation:: RECT ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); Shell_NotifyIconGetRect(identifier, &mut result__).from_abi(result__) } @@ -5449,14 +5449,14 @@ pub unsafe fn Shell_NotifyIconGetRect(identifier: *const NOTIFYICONIDENTIFIER) - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] #[inline] pub unsafe fn Shell_NotifyIconW(dwmessage: NOTIFY_ICON_MESSAGE, lpdata: *const NOTIFYICONDATAW) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn Shell_NotifyIconW ( dwmessage : NOTIFY_ICON_MESSAGE , lpdata : *const NOTIFYICONDATAW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn Shell_NotifyIconW ( dwmessage : NOTIFY_ICON_MESSAGE , lpdata : *const NOTIFYICONDATAW ) -> super::super::Foundation:: BOOL ); Shell_NotifyIconW(dwmessage, lpdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SignalFileOpen(pidl: *const Common::ITEMIDLIST) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn SignalFileOpen ( pidl : *const Common:: ITEMIDLIST ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn SignalFileOpen ( pidl : *const Common:: ITEMIDLIST ) -> super::super::Foundation:: BOOL ); SignalFileOpen(pidl) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_Urlmon\"`*"] @@ -5467,7 +5467,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shdocvw.dll""system" fn SoftwareUpdateMessageBox ( hwnd : super::super::Foundation:: HWND , pszdistunit : :: windows::core::PCWSTR , dwflags : u32 , psdi : *mut super::super::System::Com::Urlmon:: SOFTDISTINFO ) -> u32 ); + ::windows::imp::link ! ( "shdocvw.dll""system" fn SoftwareUpdateMessageBox ( hwnd : super::super::Foundation:: HWND , pszdistunit : :: windows::core::PCWSTR , dwflags : u32 , psdi : *mut super::super::System::Com::Urlmon:: SOFTDISTINFO ) -> u32 ); SoftwareUpdateMessageBox(hwnd.into(), pszdistunit.into().abi(), dwflags, ::core::mem::transmute(psdi.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5479,7 +5479,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, T: ::windows::core::Interface, { - ::windows::core::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 ); + ::windows::imp::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().abi(), pszfilespec.into().abi(), grfmode, &::IID, &mut result__).from_abi(result__) } @@ -5490,7 +5490,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCSpnA ( pszstr : :: windows::core::PCSTR , pszset : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCSpnA ( pszstr : :: windows::core::PCSTR , pszset : :: windows::core::PCSTR ) -> i32 ); StrCSpnA(pszstr.into().abi(), pszset.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5500,7 +5500,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCSpnIA ( pszstr : :: windows::core::PCSTR , pszset : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCSpnIA ( pszstr : :: windows::core::PCSTR , pszset : :: windows::core::PCSTR ) -> i32 ); StrCSpnIA(pszstr.into().abi(), pszset.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5510,7 +5510,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCSpnIW ( pszstr : :: windows::core::PCWSTR , pszset : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCSpnIW ( pszstr : :: windows::core::PCWSTR , pszset : :: windows::core::PCWSTR ) -> i32 ); StrCSpnIW(pszstr.into().abi(), pszset.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5520,7 +5520,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCSpnW ( pszstr : :: windows::core::PCWSTR , pszset : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCSpnW ( pszstr : :: windows::core::PCWSTR , pszset : :: windows::core::PCWSTR ) -> i32 ); StrCSpnW(pszstr.into().abi(), pszset.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5529,7 +5529,7 @@ pub unsafe fn StrCatBuffA(pszdest: &mut [u8], pszsrc: P0) -> ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCatBuffA ( pszdest : :: windows::core::PSTR , pszsrc : :: windows::core::PCSTR , cchdestbuffsize : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCatBuffA ( pszdest : :: windows::core::PSTR , pszsrc : :: windows::core::PCSTR , cchdestbuffsize : i32 ) -> :: windows::core::PSTR ); StrCatBuffA(::core::mem::transmute(pszdest.as_ptr()), pszsrc.into().abi(), pszdest.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5538,7 +5538,7 @@ pub unsafe fn StrCatBuffW(pszdest: &mut [u16], pszsrc: P0) -> ::windows::cor where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCatBuffW ( pszdest : :: windows::core::PWSTR , pszsrc : :: windows::core::PCWSTR , cchdestbuffsize : i32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCatBuffW ( pszdest : :: windows::core::PWSTR , pszsrc : :: windows::core::PCWSTR , cchdestbuffsize : i32 ) -> :: windows::core::PWSTR ); StrCatBuffW(::core::mem::transmute(pszdest.as_ptr()), pszsrc.into().abi(), pszdest.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5547,7 +5547,7 @@ pub unsafe fn StrCatChainW(pszdst: &mut [u16], ichat: u32, pszsrc: P0) -> u3 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCatChainW ( pszdst : :: windows::core::PWSTR , cchdst : u32 , ichat : u32 , pszsrc : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCatChainW ( pszdst : :: windows::core::PWSTR , cchdst : u32 , ichat : u32 , pszsrc : :: windows::core::PCWSTR ) -> u32 ); StrCatChainW(::core::mem::transmute(pszdst.as_ptr()), pszdst.len() as _, ichat, pszsrc.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5556,7 +5556,7 @@ pub unsafe fn StrCatW(psz1: ::windows::core::PWSTR, psz2: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCatW ( psz1 : :: windows::core::PWSTR , psz2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCatW ( psz1 : :: windows::core::PWSTR , psz2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); StrCatW(::core::mem::transmute(psz1), psz2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5565,7 +5565,7 @@ pub unsafe fn StrChrA(pszstart: P0, wmatch: u16) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrChrA ( pszstart : :: windows::core::PCSTR , wmatch : u16 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrChrA ( pszstart : :: windows::core::PCSTR , wmatch : u16 ) -> :: windows::core::PSTR ); StrChrA(pszstart.into().abi(), wmatch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5574,7 +5574,7 @@ pub unsafe fn StrChrIA(pszstart: P0, wmatch: u16) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrChrIA ( pszstart : :: windows::core::PCSTR , wmatch : u16 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrChrIA ( pszstart : :: windows::core::PCSTR , wmatch : u16 ) -> :: windows::core::PSTR ); StrChrIA(pszstart.into().abi(), wmatch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5583,7 +5583,7 @@ pub unsafe fn StrChrIW(pszstart: P0, wmatch: u16) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrChrIW ( pszstart : :: windows::core::PCWSTR , wmatch : u16 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrChrIW ( pszstart : :: windows::core::PCWSTR , wmatch : u16 ) -> :: windows::core::PWSTR ); StrChrIW(pszstart.into().abi(), wmatch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5592,7 +5592,7 @@ pub unsafe fn StrChrNIW(pszstart: P0, wmatch: u16, cchmax: u32) -> ::windows where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrChrNIW ( pszstart : :: windows::core::PCWSTR , wmatch : u16 , cchmax : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrChrNIW ( pszstart : :: windows::core::PCWSTR , wmatch : u16 , cchmax : u32 ) -> :: windows::core::PWSTR ); StrChrNIW(pszstart.into().abi(), wmatch, cchmax) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5601,7 +5601,7 @@ pub unsafe fn StrChrNW(pszstart: P0, wmatch: u16, cchmax: u32) -> ::windows: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrChrNW ( pszstart : :: windows::core::PCWSTR , wmatch : u16 , cchmax : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrChrNW ( pszstart : :: windows::core::PCWSTR , wmatch : u16 , cchmax : u32 ) -> :: windows::core::PWSTR ); StrChrNW(pszstart.into().abi(), wmatch, cchmax) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5610,7 +5610,7 @@ pub unsafe fn StrChrW(pszstart: P0, wmatch: u16) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrChrW ( pszstart : :: windows::core::PCWSTR , wmatch : u16 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrChrW ( pszstart : :: windows::core::PCWSTR , wmatch : u16 ) -> :: windows::core::PWSTR ); StrChrW(pszstart.into().abi(), wmatch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5620,7 +5620,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpCA ( pszstr1 : :: windows::core::PCSTR , pszstr2 : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpCA ( pszstr1 : :: windows::core::PCSTR , pszstr2 : :: windows::core::PCSTR ) -> i32 ); StrCmpCA(pszstr1.into().abi(), pszstr2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5630,7 +5630,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpCW ( pszstr1 : :: windows::core::PCWSTR , pszstr2 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpCW ( pszstr1 : :: windows::core::PCWSTR , pszstr2 : :: windows::core::PCWSTR ) -> i32 ); StrCmpCW(pszstr1.into().abi(), pszstr2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5640,7 +5640,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpICA ( pszstr1 : :: windows::core::PCSTR , pszstr2 : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpICA ( pszstr1 : :: windows::core::PCSTR , pszstr2 : :: windows::core::PCSTR ) -> i32 ); StrCmpICA(pszstr1.into().abi(), pszstr2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5650,7 +5650,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpICW ( pszstr1 : :: windows::core::PCWSTR , pszstr2 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpICW ( pszstr1 : :: windows::core::PCWSTR , pszstr2 : :: windows::core::PCWSTR ) -> i32 ); StrCmpICW(pszstr1.into().abi(), pszstr2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5660,7 +5660,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpIW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpIW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR ) -> i32 ); StrCmpIW(psz1.into().abi(), psz2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5670,7 +5670,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpLogicalW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpLogicalW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR ) -> i32 ); StrCmpLogicalW(psz1.into().abi(), psz2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5680,7 +5680,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpNA ( psz1 : :: windows::core::PCSTR , psz2 : :: windows::core::PCSTR , nchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpNA ( psz1 : :: windows::core::PCSTR , psz2 : :: windows::core::PCSTR , nchar : i32 ) -> i32 ); StrCmpNA(psz1.into().abi(), psz2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5690,7 +5690,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpNCA ( pszstr1 : :: windows::core::PCSTR , pszstr2 : :: windows::core::PCSTR , nchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpNCA ( pszstr1 : :: windows::core::PCSTR , pszstr2 : :: windows::core::PCSTR , nchar : i32 ) -> i32 ); StrCmpNCA(pszstr1.into().abi(), pszstr2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5700,7 +5700,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpNCW ( pszstr1 : :: windows::core::PCWSTR , pszstr2 : :: windows::core::PCWSTR , nchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpNCW ( pszstr1 : :: windows::core::PCWSTR , pszstr2 : :: windows::core::PCWSTR , nchar : i32 ) -> i32 ); StrCmpNCW(pszstr1.into().abi(), pszstr2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5710,7 +5710,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpNIA ( psz1 : :: windows::core::PCSTR , psz2 : :: windows::core::PCSTR , nchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpNIA ( psz1 : :: windows::core::PCSTR , psz2 : :: windows::core::PCSTR , nchar : i32 ) -> i32 ); StrCmpNIA(psz1.into().abi(), psz2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5720,7 +5720,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpNICA ( pszstr1 : :: windows::core::PCSTR , pszstr2 : :: windows::core::PCSTR , nchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpNICA ( pszstr1 : :: windows::core::PCSTR , pszstr2 : :: windows::core::PCSTR , nchar : i32 ) -> i32 ); StrCmpNICA(pszstr1.into().abi(), pszstr2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5730,7 +5730,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpNICW ( pszstr1 : :: windows::core::PCWSTR , pszstr2 : :: windows::core::PCWSTR , nchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpNICW ( pszstr1 : :: windows::core::PCWSTR , pszstr2 : :: windows::core::PCWSTR , nchar : i32 ) -> i32 ); StrCmpNICW(pszstr1.into().abi(), pszstr2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5740,7 +5740,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpNIW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR , nchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpNIW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR , nchar : i32 ) -> i32 ); StrCmpNIW(psz1.into().abi(), psz2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5750,7 +5750,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpNW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR , nchar : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpNW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR , nchar : i32 ) -> i32 ); StrCmpNW(psz1.into().abi(), psz2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5760,7 +5760,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCmpW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCmpW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR ) -> i32 ); StrCmpW(psz1.into().abi(), psz2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5769,7 +5769,7 @@ pub unsafe fn StrCpyNW(pszdst: &mut [u16], pszsrc: P0) -> ::windows::core::P where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCpyNW ( pszdst : :: windows::core::PWSTR , pszsrc : :: windows::core::PCWSTR , cchmax : i32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCpyNW ( pszdst : :: windows::core::PWSTR , pszsrc : :: windows::core::PCWSTR , cchmax : i32 ) -> :: windows::core::PWSTR ); StrCpyNW(::core::mem::transmute(pszdst.as_ptr()), pszsrc.into().abi(), pszdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5778,7 +5778,7 @@ pub unsafe fn StrCpyW(psz1: ::windows::core::PWSTR, psz2: P0) -> ::windows:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrCpyW ( psz1 : :: windows::core::PWSTR , psz2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrCpyW ( psz1 : :: windows::core::PWSTR , psz2 : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); StrCpyW(::core::mem::transmute(psz1), psz2.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5787,7 +5787,7 @@ pub unsafe fn StrDupA(pszsrch: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrDupA ( pszsrch : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrDupA ( pszsrch : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); StrDupA(pszsrch.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5796,55 +5796,55 @@ pub unsafe fn StrDupW(pszsrch: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrDupW ( pszsrch : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrDupW ( pszsrch : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); StrDupW(pszsrch.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn StrFormatByteSize64A(qdw: i64, pszbuf: &mut [u8]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrFormatByteSize64A ( qdw : i64 , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrFormatByteSize64A ( qdw : i64 , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> :: windows::core::PSTR ); StrFormatByteSize64A(qdw, ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn StrFormatByteSizeA(dw: u32, pszbuf: &mut [u8]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrFormatByteSizeA ( dw : u32 , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrFormatByteSizeA ( dw : u32 , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> :: windows::core::PSTR ); StrFormatByteSizeA(dw, ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn StrFormatByteSizeEx(ull: u64, flags: SFBS_FLAGS, pszbuf: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrFormatByteSizeEx ( ull : u64 , flags : SFBS_FLAGS , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrFormatByteSizeEx ( ull : u64 , flags : SFBS_FLAGS , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::HRESULT ); StrFormatByteSizeEx(ull, flags, ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn StrFormatByteSizeW(qdw: i64, pszbuf: &mut [u16]) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrFormatByteSizeW ( qdw : i64 , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrFormatByteSizeW ( qdw : i64 , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::PWSTR ); StrFormatByteSizeW(qdw, ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn StrFormatKBSizeA(qdw: i64, pszbuf: &mut [u8]) -> ::windows::core::PSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrFormatKBSizeA ( qdw : i64 , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrFormatKBSizeA ( qdw : i64 , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> :: windows::core::PSTR ); StrFormatKBSizeA(qdw, ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn StrFormatKBSizeW(qdw: i64, pszbuf: &mut [u16]) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrFormatKBSizeW ( qdw : i64 , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrFormatKBSizeW ( qdw : i64 , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::PWSTR ); StrFormatKBSizeW(qdw, ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn StrFromTimeIntervalA(pszout: &mut [u8], dwtimems: u32, digits: i32) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrFromTimeIntervalA ( pszout : :: windows::core::PSTR , cchmax : u32 , dwtimems : u32 , digits : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrFromTimeIntervalA ( pszout : :: windows::core::PSTR , cchmax : u32 , dwtimems : u32 , digits : i32 ) -> i32 ); StrFromTimeIntervalA(::core::mem::transmute(pszout.as_ptr()), pszout.len() as _, dwtimems, digits) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn StrFromTimeIntervalW(pszout: &mut [u16], dwtimems: u32, digits: i32) -> i32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrFromTimeIntervalW ( pszout : :: windows::core::PWSTR , cchmax : u32 , dwtimems : u32 , digits : i32 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrFromTimeIntervalW ( pszout : :: windows::core::PWSTR , cchmax : u32 , dwtimems : u32 , digits : i32 ) -> i32 ); StrFromTimeIntervalW(::core::mem::transmute(pszout.as_ptr()), pszout.len() as _, dwtimems, digits) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5856,7 +5856,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrIsIntlEqualA ( fcasesens : super::super::Foundation:: BOOL , pszstring1 : :: windows::core::PCSTR , pszstring2 : :: windows::core::PCSTR , nchar : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrIsIntlEqualA ( fcasesens : super::super::Foundation:: BOOL , pszstring1 : :: windows::core::PCSTR , pszstring2 : :: windows::core::PCSTR , nchar : i32 ) -> super::super::Foundation:: BOOL ); StrIsIntlEqualA(fcasesens.into(), pszstring1.into().abi(), pszstring2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -5868,7 +5868,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrIsIntlEqualW ( fcasesens : super::super::Foundation:: BOOL , pszstring1 : :: windows::core::PCWSTR , pszstring2 : :: windows::core::PCWSTR , nchar : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrIsIntlEqualW ( fcasesens : super::super::Foundation:: BOOL , pszstring1 : :: windows::core::PCWSTR , pszstring2 : :: windows::core::PCWSTR , nchar : i32 ) -> super::super::Foundation:: BOOL ); StrIsIntlEqualW(fcasesens.into(), pszstring1.into().abi(), pszstring2.into().abi(), nchar) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5877,7 +5877,7 @@ pub unsafe fn StrNCatA(psz1: &mut [u8], psz2: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrNCatA ( psz1 : :: windows::core::PSTR , psz2 : :: windows::core::PCSTR , cchmax : i32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrNCatA ( psz1 : :: windows::core::PSTR , psz2 : :: windows::core::PCSTR , cchmax : i32 ) -> :: windows::core::PSTR ); StrNCatA(::core::mem::transmute(psz1.as_ptr()), psz2.into().abi(), psz1.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5886,7 +5886,7 @@ pub unsafe fn StrNCatW(psz1: &mut [u16], psz2: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrNCatW ( psz1 : :: windows::core::PWSTR , psz2 : :: windows::core::PCWSTR , cchmax : i32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrNCatW ( psz1 : :: windows::core::PWSTR , psz2 : :: windows::core::PCWSTR , cchmax : i32 ) -> :: windows::core::PWSTR ); StrNCatW(::core::mem::transmute(psz1.as_ptr()), psz2.into().abi(), psz1.len() as _) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5896,7 +5896,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrPBrkA ( psz : :: windows::core::PCSTR , pszset : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrPBrkA ( psz : :: windows::core::PCSTR , pszset : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); StrPBrkA(psz.into().abi(), pszset.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5906,7 +5906,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrPBrkW ( psz : :: windows::core::PCWSTR , pszset : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrPBrkW ( psz : :: windows::core::PCWSTR , pszset : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); StrPBrkW(psz.into().abi(), pszset.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5916,7 +5916,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRChrA ( pszstart : :: windows::core::PCSTR , pszend : :: windows::core::PCSTR , wmatch : u16 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRChrA ( pszstart : :: windows::core::PCSTR , pszend : :: windows::core::PCSTR , wmatch : u16 ) -> :: windows::core::PSTR ); StrRChrA(pszstart.into().abi(), pszend.into().abi(), wmatch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5926,7 +5926,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRChrIA ( pszstart : :: windows::core::PCSTR , pszend : :: windows::core::PCSTR , wmatch : u16 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRChrIA ( pszstart : :: windows::core::PCSTR , pszend : :: windows::core::PCSTR , wmatch : u16 ) -> :: windows::core::PSTR ); StrRChrIA(pszstart.into().abi(), pszend.into().abi(), wmatch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5936,7 +5936,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRChrIW ( pszstart : :: windows::core::PCWSTR , pszend : :: windows::core::PCWSTR , wmatch : u16 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRChrIW ( pszstart : :: windows::core::PCWSTR , pszend : :: windows::core::PCWSTR , wmatch : u16 ) -> :: windows::core::PWSTR ); StrRChrIW(pszstart.into().abi(), pszend.into().abi(), wmatch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5946,7 +5946,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRChrW ( pszstart : :: windows::core::PCWSTR , pszend : :: windows::core::PCWSTR , wmatch : u16 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRChrW ( pszstart : :: windows::core::PCWSTR , pszend : :: windows::core::PCWSTR , wmatch : u16 ) -> :: windows::core::PWSTR ); StrRChrW(pszstart.into().abi(), pszend.into().abi(), wmatch) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5957,7 +5957,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRStrIA ( pszsource : :: windows::core::PCSTR , pszlast : :: windows::core::PCSTR , pszsrch : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRStrIA ( pszsource : :: windows::core::PCSTR , pszlast : :: windows::core::PCSTR , pszsrch : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); StrRStrIA(pszsource.into().abi(), pszlast.into().abi(), pszsrch.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -5968,42 +5968,42 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRStrIW ( pszsource : :: windows::core::PCWSTR , pszlast : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRStrIW ( pszsource : :: windows::core::PCWSTR , pszlast : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); StrRStrIW(pszsource.into().abi(), pszlast.into().abi(), pszsrch.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn StrRetToBSTR(pstr: *mut Common::STRRET, pidl: ::core::option::Option<*const Common::ITEMIDLIST>, pbstr: *mut ::windows::core::BSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRetToBSTR ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , pbstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRetToBSTR ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , pbstr : *mut ::std::mem::MaybeUninit <::windows::core::BSTR > ) -> :: windows::core::HRESULT ); StrRetToBSTR(pstr, ::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbstr)).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn StrRetToBufA(pstr: *mut Common::STRRET, pidl: ::core::option::Option<*const Common::ITEMIDLIST>, pszbuf: &mut [u8]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRetToBufA ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRetToBufA ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , pszbuf : :: windows::core::PSTR , cchbuf : u32 ) -> :: windows::core::HRESULT ); StrRetToBufA(pstr, ::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn StrRetToBufW(pstr: *mut Common::STRRET, pidl: ::core::option::Option<*const Common::ITEMIDLIST>, pszbuf: &mut [u16]) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRetToBufW ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRetToBufW ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , pszbuf : :: windows::core::PWSTR , cchbuf : u32 ) -> :: windows::core::HRESULT ); StrRetToBufW(pstr, ::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pszbuf.as_ptr()), pszbuf.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn StrRetToStrA(pstr: *mut Common::STRRET, pidl: ::core::option::Option<*const Common::ITEMIDLIST>, ppsz: *mut ::windows::core::PSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRetToStrA ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , ppsz : *mut :: windows::core::PSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRetToStrA ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , ppsz : *mut :: windows::core::PSTR ) -> :: windows::core::HRESULT ); StrRetToStrA(pstr, ::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), ppsz).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`*"] #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn StrRetToStrW(pstr: *mut Common::STRRET, pidl: ::core::option::Option<*const Common::ITEMIDLIST>, ppsz: *mut ::windows::core::PWSTR) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrRetToStrW ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , ppsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrRetToStrW ( pstr : *mut Common:: STRRET , pidl : *const Common:: ITEMIDLIST , ppsz : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); StrRetToStrW(pstr, ::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), ppsz).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6013,7 +6013,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrSpnA ( psz : :: windows::core::PCSTR , pszset : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrSpnA ( psz : :: windows::core::PCSTR , pszset : :: windows::core::PCSTR ) -> i32 ); StrSpnA(psz.into().abi(), pszset.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6023,7 +6023,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrSpnW ( psz : :: windows::core::PCWSTR , pszset : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrSpnW ( psz : :: windows::core::PCWSTR , pszset : :: windows::core::PCWSTR ) -> i32 ); StrSpnW(psz.into().abi(), pszset.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6033,7 +6033,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrStrA ( pszfirst : :: windows::core::PCSTR , pszsrch : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrStrA ( pszfirst : :: windows::core::PCSTR , pszsrch : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); StrStrA(pszfirst.into().abi(), pszsrch.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6043,7 +6043,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrStrIA ( pszfirst : :: windows::core::PCSTR , pszsrch : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrStrIA ( pszfirst : :: windows::core::PCSTR , pszsrch : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); StrStrIA(pszfirst.into().abi(), pszsrch.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6053,7 +6053,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrStrIW ( pszfirst : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrStrIW ( pszfirst : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); StrStrIW(pszfirst.into().abi(), pszsrch.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6063,7 +6063,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrStrNIW ( pszfirst : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR , cchmax : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrStrNIW ( pszfirst : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR , cchmax : u32 ) -> :: windows::core::PWSTR ); StrStrNIW(pszfirst.into().abi(), pszsrch.into().abi(), cchmax) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6073,7 +6073,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrStrNW ( pszfirst : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR , cchmax : u32 ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrStrNW ( pszfirst : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR , cchmax : u32 ) -> :: windows::core::PWSTR ); StrStrNW(pszfirst.into().abi(), pszsrch.into().abi(), cchmax) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6083,7 +6083,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrStrW ( pszfirst : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrStrW ( pszfirst : :: windows::core::PCWSTR , pszsrch : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); StrStrW(pszfirst.into().abi(), pszsrch.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6093,7 +6093,7 @@ pub unsafe fn StrToInt64ExA(pszstring: P0, dwflags: i32, pllret: *mut i64) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrToInt64ExA ( pszstring : :: windows::core::PCSTR , dwflags : i32 , pllret : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrToInt64ExA ( pszstring : :: windows::core::PCSTR , dwflags : i32 , pllret : *mut i64 ) -> super::super::Foundation:: BOOL ); StrToInt64ExA(pszstring.into().abi(), dwflags, pllret) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6103,7 +6103,7 @@ pub unsafe fn StrToInt64ExW(pszstring: P0, dwflags: i32, pllret: *mut i64) - where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrToInt64ExW ( pszstring : :: windows::core::PCWSTR , dwflags : i32 , pllret : *mut i64 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrToInt64ExW ( pszstring : :: windows::core::PCWSTR , dwflags : i32 , pllret : *mut i64 ) -> super::super::Foundation:: BOOL ); StrToInt64ExW(pszstring.into().abi(), dwflags, pllret) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6112,7 +6112,7 @@ pub unsafe fn StrToIntA(pszsrc: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrToIntA ( pszsrc : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrToIntA ( pszsrc : :: windows::core::PCSTR ) -> i32 ); StrToIntA(pszsrc.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6122,7 +6122,7 @@ pub unsafe fn StrToIntExA(pszstring: P0, dwflags: i32, piret: *mut i32) -> s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrToIntExA ( pszstring : :: windows::core::PCSTR , dwflags : i32 , piret : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrToIntExA ( pszstring : :: windows::core::PCSTR , dwflags : i32 , piret : *mut i32 ) -> super::super::Foundation:: BOOL ); StrToIntExA(pszstring.into().abi(), dwflags, piret) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6132,7 +6132,7 @@ pub unsafe fn StrToIntExW(pszstring: P0, dwflags: i32, piret: *mut i32) -> s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrToIntExW ( pszstring : :: windows::core::PCWSTR , dwflags : i32 , piret : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrToIntExW ( pszstring : :: windows::core::PCWSTR , dwflags : i32 , piret : *mut i32 ) -> super::super::Foundation:: BOOL ); StrToIntExW(pszstring.into().abi(), dwflags, piret) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6141,7 +6141,7 @@ pub unsafe fn StrToIntW(pszsrc: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrToIntW ( pszsrc : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrToIntW ( pszsrc : :: windows::core::PCWSTR ) -> i32 ); StrToIntW(pszsrc.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6151,7 +6151,7 @@ pub unsafe fn StrTrimA(psz: ::windows::core::PSTR, psztrimchars: P0) -> supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrTrimA ( psz : :: windows::core::PSTR , psztrimchars : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrTrimA ( psz : :: windows::core::PSTR , psztrimchars : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); StrTrimA(::core::mem::transmute(psz), psztrimchars.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6161,7 +6161,7 @@ pub unsafe fn StrTrimW(psz: ::windows::core::PWSTR, psztrimchars: P0) -> sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn StrTrimW ( psz : :: windows::core::PWSTR , psztrimchars : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn StrTrimW ( psz : :: windows::core::PWSTR , psztrimchars : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); StrTrimW(::core::mem::transmute(psz), psztrimchars.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6172,25 +6172,25 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "userenv.dll""system" fn UnloadUserProfile ( htoken : super::super::Foundation:: HANDLE , hprofile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "userenv.dll""system" fn UnloadUserProfile ( htoken : super::super::Foundation:: HANDLE , hprofile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); UnloadUserProfile(htoken.into(), hprofile.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn UnregisterAppConstrainedChangeNotification(registration: *mut _APPCONSTRAIN_REGISTRATION) { - ::windows::core::link ! ( "api-ms-win-core-psm-appnotify-l1-1-1.dll""system" fn UnregisterAppConstrainedChangeNotification ( registration : *mut _APPCONSTRAIN_REGISTRATION ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-psm-appnotify-l1-1-1.dll""system" fn UnregisterAppConstrainedChangeNotification ( registration : *mut _APPCONSTRAIN_REGISTRATION ) -> ( ) ); UnregisterAppConstrainedChangeNotification(registration) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn UnregisterAppStateChangeNotification(registration: *mut _APPSTATE_REGISTRATION) { - ::windows::core::link ! ( "api-ms-win-core-psm-appnotify-l1-1-0.dll""system" fn UnregisterAppStateChangeNotification ( registration : *mut _APPSTATE_REGISTRATION ) -> ( ) ); + ::windows::imp::link ! ( "api-ms-win-core-psm-appnotify-l1-1-0.dll""system" fn UnregisterAppStateChangeNotification ( registration : *mut _APPSTATE_REGISTRATION ) -> ( ) ); UnregisterAppStateChangeNotification(registration) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn UnregisterScaleChangeEvent(dwcookie: usize) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn UnregisterScaleChangeEvent ( dwcookie : usize ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "api-ms-win-shcore-scaling-l1-1-1.dll""system" fn UnregisterScaleChangeEvent ( dwcookie : usize ) -> :: windows::core::HRESULT ); UnregisterScaleChangeEvent(dwcookie).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6199,7 +6199,7 @@ pub unsafe fn UrlApplySchemeA(pszin: P0, pszout: ::windows::core::PSTR, pcch where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlApplySchemeA ( pszin : :: windows::core::PCSTR , pszout : :: windows::core::PSTR , pcchout : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlApplySchemeA ( pszin : :: windows::core::PCSTR , pszout : :: windows::core::PSTR , pcchout : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlApplySchemeA(pszin.into().abi(), ::core::mem::transmute(pszout), pcchout, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6208,7 +6208,7 @@ pub unsafe fn UrlApplySchemeW(pszin: P0, pszout: ::windows::core::PWSTR, pcc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlApplySchemeW ( pszin : :: windows::core::PCWSTR , pszout : :: windows::core::PWSTR , pcchout : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlApplySchemeW ( pszin : :: windows::core::PCWSTR , pszout : :: windows::core::PWSTR , pcchout : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlApplySchemeW(pszin.into().abi(), ::core::mem::transmute(pszout), pcchout, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6217,7 +6217,7 @@ pub unsafe fn UrlCanonicalizeA(pszurl: P0, pszcanonicalized: ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlCanonicalizeA ( pszurl : :: windows::core::PCSTR , pszcanonicalized : :: windows::core::PSTR , pcchcanonicalized : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlCanonicalizeA ( pszurl : :: windows::core::PCSTR , pszcanonicalized : :: windows::core::PSTR , pcchcanonicalized : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlCanonicalizeA(pszurl.into().abi(), ::core::mem::transmute(pszcanonicalized), pcchcanonicalized, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6226,7 +6226,7 @@ pub unsafe fn UrlCanonicalizeW(pszurl: P0, pszcanonicalized: ::windows::core where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlCanonicalizeW ( pszurl : :: windows::core::PCWSTR , pszcanonicalized : :: windows::core::PWSTR , pcchcanonicalized : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlCanonicalizeW ( pszurl : :: windows::core::PCWSTR , pszcanonicalized : :: windows::core::PWSTR , pcchcanonicalized : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlCanonicalizeW(pszurl.into().abi(), ::core::mem::transmute(pszcanonicalized), pcchcanonicalized, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6236,7 +6236,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlCombineA ( pszbase : :: windows::core::PCSTR , pszrelative : :: windows::core::PCSTR , pszcombined : :: windows::core::PSTR , pcchcombined : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlCombineA ( pszbase : :: windows::core::PCSTR , pszrelative : :: windows::core::PCSTR , pszcombined : :: windows::core::PSTR , pcchcombined : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlCombineA(pszbase.into().abi(), pszrelative.into().abi(), ::core::mem::transmute(pszcombined), pcchcombined, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6246,7 +6246,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlCombineW ( pszbase : :: windows::core::PCWSTR , pszrelative : :: windows::core::PCWSTR , pszcombined : :: windows::core::PWSTR , pcchcombined : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlCombineW ( pszbase : :: windows::core::PCWSTR , pszrelative : :: windows::core::PCWSTR , pszcombined : :: windows::core::PWSTR , pcchcombined : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlCombineW(pszbase.into().abi(), pszrelative.into().abi(), ::core::mem::transmute(pszcombined), pcchcombined, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6258,7 +6258,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlCompareA ( psz1 : :: windows::core::PCSTR , psz2 : :: windows::core::PCSTR , fignoreslash : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlCompareA ( psz1 : :: windows::core::PCSTR , psz2 : :: windows::core::PCSTR , fignoreslash : super::super::Foundation:: BOOL ) -> i32 ); UrlCompareA(psz1.into().abi(), psz2.into().abi(), fignoreslash.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6270,7 +6270,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlCompareW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR , fignoreslash : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlCompareW ( psz1 : :: windows::core::PCWSTR , psz2 : :: windows::core::PCWSTR , fignoreslash : super::super::Foundation:: BOOL ) -> i32 ); UrlCompareW(psz1.into().abi(), psz2.into().abi(), fignoreslash.into()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6279,7 +6279,7 @@ pub unsafe fn UrlCreateFromPathA(pszpath: P0, pszurl: ::windows::core::PSTR, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlCreateFromPathA ( pszpath : :: windows::core::PCSTR , pszurl : :: windows::core::PSTR , pcchurl : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlCreateFromPathA ( pszpath : :: windows::core::PCSTR , pszurl : :: windows::core::PSTR , pcchurl : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlCreateFromPathA(pszpath.into().abi(), ::core::mem::transmute(pszurl), pcchurl, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6288,7 +6288,7 @@ pub unsafe fn UrlCreateFromPathW(pszpath: P0, pszurl: ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlCreateFromPathW ( pszpath : :: windows::core::PCWSTR , pszurl : :: windows::core::PWSTR , pcchurl : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlCreateFromPathW ( pszpath : :: windows::core::PCWSTR , pszurl : :: windows::core::PWSTR , pcchurl : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlCreateFromPathW(pszpath.into().abi(), ::core::mem::transmute(pszurl), pcchurl, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6297,7 +6297,7 @@ pub unsafe fn UrlEscapeA(pszurl: P0, pszescaped: ::windows::core::PSTR, pcch where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlEscapeA ( pszurl : :: windows::core::PCSTR , pszescaped : :: windows::core::PSTR , pcchescaped : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlEscapeA ( pszurl : :: windows::core::PCSTR , pszescaped : :: windows::core::PSTR , pcchescaped : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlEscapeA(pszurl.into().abi(), ::core::mem::transmute(pszescaped), pcchescaped, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6306,7 +6306,7 @@ pub unsafe fn UrlEscapeW(pszurl: P0, pszescaped: ::windows::core::PWSTR, pcc where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlEscapeW ( pszurl : :: windows::core::PCWSTR , pszescaped : :: windows::core::PWSTR , pcchescaped : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlEscapeW ( pszurl : :: windows::core::PCWSTR , pszescaped : :: windows::core::PWSTR , pcchescaped : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlEscapeW(pszurl.into().abi(), ::core::mem::transmute(pszescaped), pcchescaped, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6315,7 +6315,7 @@ pub unsafe fn UrlFixupW(pcszurl: P0, psztranslatedurl: &mut [u16]) -> ::wind where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlFixupW ( pcszurl : :: windows::core::PCWSTR , psztranslatedurl : :: windows::core::PWSTR , cchmax : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlFixupW ( pcszurl : :: windows::core::PCWSTR , psztranslatedurl : :: windows::core::PWSTR , cchmax : u32 ) -> :: windows::core::HRESULT ); UrlFixupW(pcszurl.into().abi(), ::core::mem::transmute(psztranslatedurl.as_ptr()), psztranslatedurl.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6324,7 +6324,7 @@ pub unsafe fn UrlGetLocationA(pszurl: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlGetLocationA ( pszurl : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlGetLocationA ( pszurl : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); UrlGetLocationA(pszurl.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6333,7 +6333,7 @@ pub unsafe fn UrlGetLocationW(pszurl: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlGetLocationW ( pszurl : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlGetLocationW ( pszurl : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); UrlGetLocationW(pszurl.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6342,7 +6342,7 @@ pub unsafe fn UrlGetPartA(pszin: P0, pszout: ::windows::core::PSTR, pcchout: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlGetPartA ( pszin : :: windows::core::PCSTR , pszout : :: windows::core::PSTR , pcchout : *mut u32 , dwpart : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlGetPartA ( pszin : :: windows::core::PCSTR , pszout : :: windows::core::PSTR , pcchout : *mut u32 , dwpart : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlGetPartA(pszin.into().abi(), ::core::mem::transmute(pszout), pcchout, dwpart, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6351,7 +6351,7 @@ pub unsafe fn UrlGetPartW(pszin: P0, pszout: ::windows::core::PWSTR, pcchout where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlGetPartW ( pszin : :: windows::core::PCWSTR , pszout : :: windows::core::PWSTR , pcchout : *mut u32 , dwpart : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlGetPartW ( pszin : :: windows::core::PCWSTR , pszout : :: windows::core::PWSTR , pcchout : *mut u32 , dwpart : u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlGetPartW(pszin.into().abi(), ::core::mem::transmute(pszout), pcchout, dwpart, dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6360,7 +6360,7 @@ pub unsafe fn UrlHashA(pszurl: P0, pbhash: &mut [u8]) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlHashA ( pszurl : :: windows::core::PCSTR , pbhash : *mut u8 , cbhash : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlHashA ( pszurl : :: windows::core::PCSTR , pbhash : *mut u8 , cbhash : u32 ) -> :: windows::core::HRESULT ); UrlHashA(pszurl.into().abi(), ::core::mem::transmute(pbhash.as_ptr()), pbhash.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6369,7 +6369,7 @@ pub unsafe fn UrlHashW(pszurl: P0, pbhash: &mut [u8]) -> ::windows::core::Re where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlHashW ( pszurl : :: windows::core::PCWSTR , pbhash : *mut u8 , cbhash : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlHashW ( pszurl : :: windows::core::PCWSTR , pbhash : *mut u8 , cbhash : u32 ) -> :: windows::core::HRESULT ); UrlHashW(pszurl.into().abi(), ::core::mem::transmute(pbhash.as_ptr()), pbhash.len() as _).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6379,7 +6379,7 @@ pub unsafe fn UrlIsA(pszurl: P0, urlis: URLIS) -> super::super::Foundation:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlIsA ( pszurl : :: windows::core::PCSTR , urlis : URLIS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlIsA ( pszurl : :: windows::core::PCSTR , urlis : URLIS ) -> super::super::Foundation:: BOOL ); UrlIsA(pszurl.into().abi(), urlis) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6389,7 +6389,7 @@ pub unsafe fn UrlIsNoHistoryA(pszurl: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlIsNoHistoryA ( pszurl : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlIsNoHistoryA ( pszurl : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); UrlIsNoHistoryA(pszurl.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6399,7 +6399,7 @@ pub unsafe fn UrlIsNoHistoryW(pszurl: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlIsNoHistoryW ( pszurl : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlIsNoHistoryW ( pszurl : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); UrlIsNoHistoryW(pszurl.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6409,7 +6409,7 @@ pub unsafe fn UrlIsOpaqueA(pszurl: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlIsOpaqueA ( pszurl : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlIsOpaqueA ( pszurl : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); UrlIsOpaqueA(pszurl.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6419,7 +6419,7 @@ pub unsafe fn UrlIsOpaqueW(pszurl: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlIsOpaqueW ( pszurl : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlIsOpaqueW ( pszurl : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); UrlIsOpaqueW(pszurl.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6429,25 +6429,25 @@ pub unsafe fn UrlIsW(pszurl: P0, urlis: URLIS) -> super::super::Foundation:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlIsW ( pszurl : :: windows::core::PCWSTR , urlis : URLIS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlIsW ( pszurl : :: windows::core::PCWSTR , urlis : URLIS ) -> super::super::Foundation:: BOOL ); UrlIsW(pszurl.into().abi(), urlis) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn UrlUnescapeA(pszurl: ::windows::core::PSTR, pszunescaped: ::windows::core::PSTR, pcchunescaped: ::core::option::Option<*mut u32>, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlUnescapeA ( pszurl : :: windows::core::PSTR , pszunescaped : :: windows::core::PSTR , pcchunescaped : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlUnescapeA ( pszurl : :: windows::core::PSTR , pszunescaped : :: windows::core::PSTR , pcchunescaped : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlUnescapeA(::core::mem::transmute(pszurl), ::core::mem::transmute(pszunescaped), ::core::mem::transmute(pcchunescaped.unwrap_or(::std::ptr::null_mut())), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn UrlUnescapeW(pszurl: ::windows::core::PWSTR, pszunescaped: ::windows::core::PWSTR, pcchunescaped: ::core::option::Option<*mut u32>, dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "shlwapi.dll""system" fn UrlUnescapeW ( pszurl : :: windows::core::PWSTR , pszunescaped : :: windows::core::PWSTR , pcchunescaped : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn UrlUnescapeW ( pszurl : :: windows::core::PWSTR , pszunescaped : :: windows::core::PWSTR , pcchunescaped : *mut u32 , dwflags : u32 ) -> :: windows::core::HRESULT ); UrlUnescapeW(::core::mem::transmute(pszurl), ::core::mem::transmute(pszunescaped), ::core::mem::transmute(pcchunescaped.unwrap_or(::std::ptr::null_mut())), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[inline] pub unsafe fn WhichPlatform() -> u32 { - ::windows::core::link ! ( "shlwapi.dll""system" fn WhichPlatform ( ) -> u32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn WhichPlatform ( ) -> u32 ); WhichPlatform() } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6457,7 +6457,7 @@ pub unsafe fn Win32DeleteFile(pszpath: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shell32.dll""system" fn Win32DeleteFile ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn Win32DeleteFile ( pszpath : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); Win32DeleteFile(pszpath.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6468,7 +6468,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn WinHelpA ( hwndmain : super::super::Foundation:: HWND , lpszhelp : :: windows::core::PCSTR , ucommand : u32 , dwdata : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn WinHelpA ( hwndmain : super::super::Foundation:: HWND , lpszhelp : :: windows::core::PCSTR , ucommand : u32 , dwdata : usize ) -> super::super::Foundation:: BOOL ); WinHelpA(hwndmain.into(), lpszhelp.into().abi(), ucommand, dwdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] @@ -6479,14 +6479,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn WinHelpW ( hwndmain : super::super::Foundation:: HWND , lpszhelp : :: windows::core::PCWSTR , ucommand : u32 , dwdata : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn WinHelpW ( hwndmain : super::super::Foundation:: HWND , lpszhelp : :: windows::core::PCWSTR , ucommand : u32 , dwdata : usize ) -> super::super::Foundation:: BOOL ); WinHelpW(hwndmain.into(), lpszhelp.into().abi(), ucommand, dwdata) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WriteCabinetState(pcs: *const CABINETSTATE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "shell32.dll""system" fn WriteCabinetState ( pcs : *const CABINETSTATE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "shell32.dll""system" fn WriteCabinetState ( pcs : *const CABINETSTATE ) -> super::super::Foundation:: BOOL ); WriteCabinetState(pcs) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6495,7 +6495,7 @@ pub unsafe fn wnsprintfA(pszdest: &mut [u8], pszfmt: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""cdecl" fn wnsprintfA ( pszdest : :: windows::core::PSTR , cchdest : i32 , pszfmt : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""cdecl" fn wnsprintfA ( pszdest : :: windows::core::PSTR , cchdest : i32 , pszfmt : :: windows::core::PCSTR ) -> i32 ); wnsprintfA(::core::mem::transmute(pszdest.as_ptr()), pszdest.len() as _, pszfmt.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6504,7 +6504,7 @@ pub unsafe fn wnsprintfW(pszdest: &mut [u16], pszfmt: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""cdecl" fn wnsprintfW ( pszdest : :: windows::core::PWSTR , cchdest : i32 , pszfmt : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""cdecl" fn wnsprintfW ( pszdest : :: windows::core::PWSTR , cchdest : i32 , pszfmt : :: windows::core::PCWSTR ) -> i32 ); wnsprintfW(::core::mem::transmute(pszdest.as_ptr()), pszdest.len() as _, pszfmt.into().abi()) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6513,7 +6513,7 @@ pub unsafe fn wvnsprintfA(pszdest: &mut [u8], pszfmt: P0, arglist: *const i8 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn wvnsprintfA ( pszdest : :: windows::core::PSTR , cchdest : i32 , pszfmt : :: windows::core::PCSTR , arglist : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn wvnsprintfA ( pszdest : :: windows::core::PSTR , cchdest : i32 , pszfmt : :: windows::core::PCSTR , arglist : *const i8 ) -> i32 ); wvnsprintfA(::core::mem::transmute(pszdest.as_ptr()), pszdest.len() as _, pszfmt.into().abi(), arglist) } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6522,7 +6522,7 @@ pub unsafe fn wvnsprintfW(pszdest: &mut [u16], pszfmt: P0, arglist: *const i where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "shlwapi.dll""system" fn wvnsprintfW ( pszdest : :: windows::core::PWSTR , cchdest : i32 , pszfmt : :: windows::core::PCWSTR , arglist : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "shlwapi.dll""system" fn wvnsprintfW ( pszdest : :: windows::core::PWSTR , cchdest : i32 , pszfmt : :: windows::core::PCWSTR , arglist : *const i8 ) -> i32 ); wvnsprintfW(::core::mem::transmute(pszdest.as_ptr()), pszdest.len() as _, pszfmt.into().abi(), arglist) } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] @@ -6578,7 +6578,7 @@ impl CIE4ConnectionPoint { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(CIE4ConnectionPoint, ::windows::core::IUnknown, super::super::System::Com::IConnectionPoint); +::windows::imp::interface_hierarchy!(CIE4ConnectionPoint, ::windows::core::IUnknown, super::super::System::Com::IConnectionPoint); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for CIE4ConnectionPoint { fn eq(&self, other: &Self) -> bool { @@ -6639,7 +6639,7 @@ impl DFConstraint { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DFConstraint, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DFConstraint, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DFConstraint { fn eq(&self, other: &Self) -> bool { @@ -6686,7 +6686,7 @@ pub struct DShellFolderViewEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DShellFolderViewEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DShellFolderViewEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DShellFolderViewEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DShellFolderViewEvents { fn eq(&self, other: &Self) -> bool { @@ -6728,7 +6728,7 @@ pub struct DShellNameSpaceEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DShellNameSpaceEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DShellNameSpaceEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DShellNameSpaceEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DShellNameSpaceEvents { fn eq(&self, other: &Self) -> bool { @@ -6770,7 +6770,7 @@ pub struct DShellWindowsEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DShellWindowsEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DShellWindowsEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DShellWindowsEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DShellWindowsEvents { fn eq(&self, other: &Self) -> bool { @@ -6812,7 +6812,7 @@ pub struct DWebBrowserEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DWebBrowserEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DWebBrowserEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DWebBrowserEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DWebBrowserEvents { fn eq(&self, other: &Self) -> bool { @@ -6854,7 +6854,7 @@ pub struct DWebBrowserEvents2(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DWebBrowserEvents2 {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(DWebBrowserEvents2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(DWebBrowserEvents2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for DWebBrowserEvents2 { fn eq(&self, other: &Self) -> bool { @@ -6952,7 +6952,7 @@ impl Folder { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Folder, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(Folder, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Folder { fn eq(&self, other: &Self) -> bool { @@ -7109,7 +7109,7 @@ impl Folder2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Folder2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, Folder); +::windows::imp::interface_hierarchy!(Folder2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, Folder); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Folder2 { fn eq(&self, other: &Self) -> bool { @@ -7254,7 +7254,7 @@ impl Folder3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(Folder3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, Folder, Folder2); +::windows::imp::interface_hierarchy!(Folder3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, Folder, Folder2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for Folder3 { fn eq(&self, other: &Self) -> bool { @@ -7390,7 +7390,7 @@ impl FolderItem { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(FolderItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(FolderItem, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for FolderItem { fn eq(&self, other: &Self) -> bool { @@ -7576,7 +7576,7 @@ impl FolderItem2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(FolderItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, FolderItem); +::windows::imp::interface_hierarchy!(FolderItem2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, FolderItem); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for FolderItem2 { fn eq(&self, other: &Self) -> bool { @@ -7646,7 +7646,7 @@ impl FolderItemVerb { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(FolderItemVerb, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(FolderItemVerb, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for FolderItemVerb { fn eq(&self, other: &Self) -> bool { @@ -7725,7 +7725,7 @@ impl FolderItemVerbs { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(FolderItemVerbs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(FolderItemVerbs, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for FolderItemVerbs { fn eq(&self, other: &Self) -> bool { @@ -7808,7 +7808,7 @@ impl FolderItems { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(FolderItems, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(FolderItems, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for FolderItems { fn eq(&self, other: &Self) -> bool { @@ -7896,7 +7896,7 @@ impl FolderItems2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(FolderItems2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, FolderItems); +::windows::imp::interface_hierarchy!(FolderItems2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, FolderItems); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for FolderItems2 { fn eq(&self, other: &Self) -> bool { @@ -7983,7 +7983,7 @@ impl FolderItems3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(FolderItems3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, FolderItems, FolderItems2); +::windows::imp::interface_hierarchy!(FolderItems3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, FolderItems, FolderItems2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for FolderItems3 { fn eq(&self, other: &Self) -> bool { @@ -8034,7 +8034,7 @@ impl IACList { (::windows::core::Vtable::vtable(self).Expand)(::windows::core::Vtable::as_raw(self), pszexpand.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IACList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IACList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IACList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8081,7 +8081,7 @@ impl IACList2 { (::windows::core::Vtable::vtable(self).GetOptions)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IACList2, ::windows::core::IUnknown, IACList); +::windows::imp::interface_hierarchy!(IACList2, ::windows::core::IUnknown, IACList); impl ::core::cmp::PartialEq for IACList2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8142,7 +8142,7 @@ impl IAccessibilityDockingService { (::windows::core::Vtable::vtable(self).UndockWindow)(::windows::core::Vtable::as_raw(self), hwnd.into()).ok() } } -::windows::core::interface_hierarchy!(IAccessibilityDockingService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccessibilityDockingService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccessibilityDockingService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8190,7 +8190,7 @@ impl IAccessibilityDockingServiceCallback { (::windows::core::Vtable::vtable(self).Undocked)(::windows::core::Vtable::as_raw(self), undockreason).ok() } } -::windows::core::interface_hierarchy!(IAccessibilityDockingServiceCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccessibilityDockingServiceCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccessibilityDockingServiceCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8230,7 +8230,7 @@ impl IAccessibleObject { (::windows::core::Vtable::vtable(self).SetAccessibleName)(::windows::core::Vtable::as_raw(self), pszname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAccessibleObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccessibleObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccessibleObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8291,7 +8291,7 @@ impl IActionProgress { (::windows::core::Vtable::vtable(self).End)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IActionProgress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActionProgress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActionProgress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8346,7 +8346,7 @@ impl IActionProgressDialog { (::windows::core::Vtable::vtable(self).Stop)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IActionProgressDialog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IActionProgressDialog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IActionProgressDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8407,7 +8407,7 @@ impl IAppActivationUIInfo { (::windows::core::Vtable::vtable(self).GetKeyState)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppActivationUIInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppActivationUIInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppActivationUIInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8470,7 +8470,7 @@ impl IAppPublisher { (::windows::core::Vtable::vtable(self).EnumApps)(::windows::core::Vtable::as_raw(self), pappcategoryid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAppPublisher, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppPublisher, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppPublisher { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8532,7 +8532,7 @@ impl IAppVisibility { (::windows::core::Vtable::vtable(self).Unadvise)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(IAppVisibility, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppVisibility, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppVisibility { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8591,7 +8591,7 @@ impl IAppVisibilityEvents { (::windows::core::Vtable::vtable(self).LauncherVisibilityChange)(::windows::core::Vtable::as_raw(self), currentvisiblestate.into()).ok() } } -::windows::core::interface_hierarchy!(IAppVisibilityEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAppVisibilityEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAppVisibilityEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8657,7 +8657,7 @@ impl IApplicationActivationManager { (::windows::core::Vtable::vtable(self).ActivateForProtocol)(::windows::core::Vtable::as_raw(self), appusermodelid.into().abi(), itemarray.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IApplicationActivationManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApplicationActivationManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApplicationActivationManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8735,7 +8735,7 @@ impl IApplicationAssociationRegistration { (::windows::core::Vtable::vtable(self).ClearUserAssociations)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IApplicationAssociationRegistration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApplicationAssociationRegistration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApplicationAssociationRegistration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8786,7 +8786,7 @@ impl IApplicationAssociationRegistrationUI { (::windows::core::Vtable::vtable(self).LaunchAdvancedAssociationUI)(::windows::core::Vtable::as_raw(self), pszappregistryname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IApplicationAssociationRegistrationUI, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApplicationAssociationRegistrationUI, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApplicationAssociationRegistrationUI { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8848,7 +8848,7 @@ impl IApplicationDesignModeSettings { (::windows::core::Vtable::vtable(self).TriggerEdgeGesture)(::windows::core::Vtable::as_raw(self), edgegesturekind).ok() } } -::windows::core::interface_hierarchy!(IApplicationDesignModeSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApplicationDesignModeSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApplicationDesignModeSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8958,7 +8958,7 @@ impl IApplicationDesignModeSettings2 { (::windows::core::Vtable::vtable(self).GetApplicationViewOrientation)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(applicationsizepixels), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IApplicationDesignModeSettings2, ::windows::core::IUnknown, IApplicationDesignModeSettings); +::windows::imp::interface_hierarchy!(IApplicationDesignModeSettings2, ::windows::core::IUnknown, IApplicationDesignModeSettings); impl ::core::cmp::PartialEq for IApplicationDesignModeSettings2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9022,7 +9022,7 @@ impl IApplicationDestinations { (::windows::core::Vtable::vtable(self).RemoveAllDestinations)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IApplicationDestinations, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApplicationDestinations, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApplicationDestinations { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9071,7 +9071,7 @@ impl IApplicationDocumentLists { (::windows::core::Vtable::vtable(self).GetList)(::windows::core::Vtable::as_raw(self), listtype, citemsdesired, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IApplicationDocumentLists, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IApplicationDocumentLists, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IApplicationDocumentLists { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9143,7 +9143,7 @@ impl IAssocHandler { (::windows::core::Vtable::vtable(self).CreateInvoker)(::windows::core::Vtable::as_raw(self), pdo.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAssocHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAssocHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAssocHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9195,7 +9195,7 @@ impl IAssocHandlerInvoker { (::windows::core::Vtable::vtable(self).Invoke)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAssocHandlerInvoker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAssocHandlerInvoker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAssocHandlerInvoker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9298,7 +9298,7 @@ impl IAttachmentExecute { (::windows::core::Vtable::vtable(self).ClearClientState)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAttachmentExecute, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAttachmentExecute, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAttachmentExecute { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9371,7 +9371,7 @@ impl IAutoComplete { (::windows::core::Vtable::vtable(self).Enable)(::windows::core::Vtable::as_raw(self), fenable.into()).ok() } } -::windows::core::interface_hierarchy!(IAutoComplete, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAutoComplete, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAutoComplete { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9438,7 +9438,7 @@ impl IAutoComplete2 { (::windows::core::Vtable::vtable(self).GetOptions)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAutoComplete2, ::windows::core::IUnknown, IAutoComplete); +::windows::imp::interface_hierarchy!(IAutoComplete2, ::windows::core::IUnknown, IAutoComplete); impl ::core::cmp::PartialEq for IAutoComplete2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9479,7 +9479,7 @@ impl IAutoCompleteDropDown { (::windows::core::Vtable::vtable(self).ResetEnumerator)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IAutoCompleteDropDown, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAutoCompleteDropDown, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAutoCompleteDropDown { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9536,7 +9536,7 @@ impl IBandHost { (::windows::core::Vtable::vtable(self).DestroyBand)(::windows::core::Vtable::as_raw(self), rclsidband).ok() } } -::windows::core::interface_hierarchy!(IBandHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBandHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBandHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9612,7 +9612,7 @@ impl IBandSite { (::windows::core::Vtable::vtable(self).GetBandSiteInfo)(::windows::core::Vtable::as_raw(self), pbsinfo).ok() } } -::windows::core::interface_hierarchy!(IBandSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBandSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBandSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9659,7 +9659,7 @@ impl IBannerNotificationHandler { (::windows::core::Vtable::vtable(self).OnBannerEvent)(::windows::core::Vtable::as_raw(self), notification).ok() } } -::windows::core::interface_hierarchy!(IBannerNotificationHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBannerNotificationHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBannerNotificationHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9714,7 +9714,7 @@ impl IBanneredBar { (::windows::core::Vtable::vtable(self).GetBitmap)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBanneredBar, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBanneredBar, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBanneredBar { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9761,7 +9761,7 @@ impl IBrowserFrameOptions { (::windows::core::Vtable::vtable(self).GetFrameOptions)(::windows::core::Vtable::as_raw(self), dwmask, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBrowserFrameOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBrowserFrameOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBrowserFrameOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9969,7 +9969,7 @@ impl IBrowserService { (::windows::core::Vtable::vtable(self).RegisterWindow)(::windows::core::Vtable::as_raw(self), fforceregister.into(), swc).ok() } } -::windows::core::interface_hierarchy!(IBrowserService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IBrowserService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IBrowserService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10604,7 +10604,7 @@ impl IBrowserService2 { (::windows::core::Vtable::vtable(self).v_CheckZoneCrossing)(::windows::core::Vtable::as_raw(self), pidl).ok() } } -::windows::core::interface_hierarchy!(IBrowserService2, ::windows::core::IUnknown, IBrowserService); +::windows::imp::interface_hierarchy!(IBrowserService2, ::windows::core::IUnknown, IBrowserService); impl ::core::cmp::PartialEq for IBrowserService2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11333,7 +11333,7 @@ impl IBrowserService3 { (::windows::core::Vtable::vtable(self).IEParseDisplayNameEx)(::windows::core::Vtable::as_raw(self), uicp, pwszpath.into().abi(), dwflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IBrowserService3, ::windows::core::IUnknown, IBrowserService, IBrowserService2); +::windows::imp::interface_hierarchy!(IBrowserService3, ::windows::core::IUnknown, IBrowserService, IBrowserService2); impl ::core::cmp::PartialEq for IBrowserService3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11920,7 +11920,7 @@ impl IBrowserService4 { (::windows::core::Vtable::vtable(self)._ResizeAllBorders)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IBrowserService4, ::windows::core::IUnknown, IBrowserService, IBrowserService2, IBrowserService3); +::windows::imp::interface_hierarchy!(IBrowserService4, ::windows::core::IUnknown, IBrowserService, IBrowserService2, IBrowserService3); impl ::core::cmp::PartialEq for IBrowserService4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -11976,7 +11976,7 @@ impl ICDBurn { (::windows::core::Vtable::vtable(self).HasRecordableDrive)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICDBurn, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICDBurn, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICDBurn { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12022,7 +12022,7 @@ impl ICDBurnExt { (::windows::core::Vtable::vtable(self).GetSupportedActionTypes)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICDBurnExt, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICDBurnExt, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICDBurnExt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12070,7 +12070,7 @@ impl ICategorizer { (::windows::core::Vtable::vtable(self).CompareCategory)(::windows::core::Vtable::as_raw(self), csfflags, dwcategoryid1, dwcategoryid2).ok() } } -::windows::core::interface_hierarchy!(ICategorizer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICategorizer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICategorizer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12142,7 +12142,7 @@ impl ICategoryProvider { (::windows::core::Vtable::vtable(self).CreateCategory)(::windows::core::Vtable::as_raw(self), pguid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICategoryProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICategoryProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICategoryProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12217,7 +12217,7 @@ impl IColumnManager { (::windows::core::Vtable::vtable(self).SetColumns)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(rgkeyorder.as_ptr()), rgkeyorder.len() as _).ok() } } -::windows::core::interface_hierarchy!(IColumnManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IColumnManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IColumnManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12281,7 +12281,7 @@ impl IColumnProvider { (::windows::core::Vtable::vtable(self).GetItemData)(::windows::core::Vtable::as_raw(self), pscid, pscd, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IColumnProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IColumnProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IColumnProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12347,7 +12347,7 @@ impl ICommDlgBrowser { (::windows::core::Vtable::vtable(self).IncludeObject)(::windows::core::Vtable::as_raw(self), ppshv.into().abi(), pidl).ok() } } -::windows::core::interface_hierarchy!(ICommDlgBrowser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICommDlgBrowser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICommDlgBrowser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12436,7 +12436,7 @@ impl ICommDlgBrowser2 { (::windows::core::Vtable::vtable(self).GetViewFlags)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICommDlgBrowser2, ::windows::core::IUnknown, ICommDlgBrowser); +::windows::imp::interface_hierarchy!(ICommDlgBrowser2, ::windows::core::IUnknown, ICommDlgBrowser); impl ::core::cmp::PartialEq for ICommDlgBrowser2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12541,7 +12541,7 @@ impl ICommDlgBrowser3 { (::windows::core::Vtable::vtable(self).OnPreViewCreated)(::windows::core::Vtable::as_raw(self), ppshv.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICommDlgBrowser3, ::windows::core::IUnknown, ICommDlgBrowser, ICommDlgBrowser2); +::windows::imp::interface_hierarchy!(ICommDlgBrowser3, ::windows::core::IUnknown, ICommDlgBrowser, ICommDlgBrowser2); impl ::core::cmp::PartialEq for ICommDlgBrowser3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12586,7 +12586,7 @@ impl IComputerInfoChangeNotify { (::windows::core::Vtable::vtable(self).ComputerInfoChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IComputerInfoChangeNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IComputerInfoChangeNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IComputerInfoChangeNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12708,7 +12708,7 @@ impl IConnectableCredentialProviderCredential { (::windows::core::Vtable::vtable(self).Disconnect)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IConnectableCredentialProviderCredential, ::windows::core::IUnknown, ICredentialProviderCredential); +::windows::imp::interface_hierarchy!(IConnectableCredentialProviderCredential, ::windows::core::IUnknown, ICredentialProviderCredential); impl ::core::cmp::PartialEq for IConnectableCredentialProviderCredential { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12752,7 +12752,7 @@ impl IContactManagerInterop { (::windows::core::Vtable::vtable(self).ShowContactCardForWindow)(::windows::core::Vtable::as_raw(self), appwindow.into(), contact.into().abi(), selection, preferredplacement).ok() } } -::windows::core::interface_hierarchy!(IContactManagerInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContactManagerInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContactManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12805,7 +12805,7 @@ impl IContextMenu { (::windows::core::Vtable::vtable(self).GetCommandString)(::windows::core::Vtable::as_raw(self), idcmd, utype, ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pszname), cchmax).ok() } } -::windows::core::interface_hierarchy!(IContextMenu, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextMenu, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextMenu { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12872,7 +12872,7 @@ impl IContextMenu2 { (::windows::core::Vtable::vtable(self).HandleMenuMsg)(::windows::core::Vtable::as_raw(self), umsg, wparam.into(), lparam.into()).ok() } } -::windows::core::interface_hierarchy!(IContextMenu2, ::windows::core::IUnknown, IContextMenu); +::windows::imp::interface_hierarchy!(IContextMenu2, ::windows::core::IUnknown, IContextMenu); impl ::core::cmp::PartialEq for IContextMenu2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12943,7 +12943,7 @@ impl IContextMenu3 { (::windows::core::Vtable::vtable(self).HandleMenuMsg2)(::windows::core::Vtable::as_raw(self), umsg, wparam.into(), lparam.into(), ::core::mem::transmute(plresult.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IContextMenu3, ::windows::core::IUnknown, IContextMenu, IContextMenu2); +::windows::imp::interface_hierarchy!(IContextMenu3, ::windows::core::IUnknown, IContextMenu, IContextMenu2); impl ::core::cmp::PartialEq for IContextMenu3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -12992,7 +12992,7 @@ impl IContextMenuCB { (::windows::core::Vtable::vtable(self).CallBack)(::windows::core::Vtable::as_raw(self), psf.into().abi(), hwndowner.into(), pdtobj.into().abi(), umsg, wparam.into(), lparam.into()).ok() } } -::windows::core::interface_hierarchy!(IContextMenuCB, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextMenuCB, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextMenuCB { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13037,7 +13037,7 @@ impl IContextMenuSite { (::windows::core::Vtable::vtable(self).DoContextMenuPopup)(::windows::core::Vtable::as_raw(self), punkcontextmenu.into().abi(), fflags, ::core::mem::transmute(pt)).ok() } } -::windows::core::interface_hierarchy!(IContextMenuSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IContextMenuSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IContextMenuSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13084,7 +13084,7 @@ impl ICopyHookA { (::windows::core::Vtable::vtable(self).CopyCallback)(::windows::core::Vtable::as_raw(self), hwnd.into(), wfunc, wflags, pszsrcfile.into().abi(), dwsrcattribs, pszdestfile.into().abi(), dwdestattribs) } } -::windows::core::interface_hierarchy!(ICopyHookA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICopyHookA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICopyHookA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13131,7 +13131,7 @@ impl ICopyHookW { (::windows::core::Vtable::vtable(self).CopyCallback)(::windows::core::Vtable::as_raw(self), hwnd.into(), wfunc, wflags, pszsrcfile.into().abi(), dwsrcattribs, pszdestfile.into().abi(), dwdestattribs) } } -::windows::core::interface_hierarchy!(ICopyHookW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICopyHookW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICopyHookW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13197,7 +13197,7 @@ impl ICreateProcessInputs { (::windows::core::Vtable::vtable(self).SetEnvironmentVariable)(::windows::core::Vtable::as_raw(self), pszname.into().abi(), pszvalue.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICreateProcessInputs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreateProcessInputs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreateProcessInputs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13243,7 +13243,7 @@ impl ICreatingProcess { (::windows::core::Vtable::vtable(self).OnCreating)(::windows::core::Vtable::as_raw(self), pcpi.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICreatingProcess, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICreatingProcess, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICreatingProcess { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13309,7 +13309,7 @@ impl ICredentialProvider { (::windows::core::Vtable::vtable(self).GetCredentialAt)(::windows::core::Vtable::as_raw(self), dwindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICredentialProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13432,7 +13432,7 @@ impl ICredentialProviderCredential { (::windows::core::Vtable::vtable(self).ReportResult)(::windows::core::Vtable::as_raw(self), ntsstatus.into(), ntssubstatus.into(), ppszoptionalstatustext, pcpsioptionalstatusicon).ok() } } -::windows::core::interface_hierarchy!(ICredentialProviderCredential, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProviderCredential, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProviderCredential { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13580,7 +13580,7 @@ impl ICredentialProviderCredential2 { (::windows::core::Vtable::vtable(self).GetUserSid)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICredentialProviderCredential2, ::windows::core::IUnknown, ICredentialProviderCredential); +::windows::imp::interface_hierarchy!(ICredentialProviderCredential2, ::windows::core::IUnknown, ICredentialProviderCredential); impl ::core::cmp::PartialEq for ICredentialProviderCredential2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13683,7 +13683,7 @@ impl ICredentialProviderCredentialEvents { (::windows::core::Vtable::vtable(self).OnCreatingWindow)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICredentialProviderCredentialEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProviderCredentialEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProviderCredentialEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13816,7 +13816,7 @@ impl ICredentialProviderCredentialEvents2 { (::windows::core::Vtable::vtable(self).SetFieldOptions)(::windows::core::Vtable::as_raw(self), credential.into().abi(), fieldid, options).ok() } } -::windows::core::interface_hierarchy!(ICredentialProviderCredentialEvents2, ::windows::core::IUnknown, ICredentialProviderCredentialEvents); +::windows::imp::interface_hierarchy!(ICredentialProviderCredentialEvents2, ::windows::core::IUnknown, ICredentialProviderCredentialEvents); impl ::core::cmp::PartialEq for ICredentialProviderCredentialEvents2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13856,7 +13856,7 @@ impl ICredentialProviderCredentialWithFieldOptions { (::windows::core::Vtable::vtable(self).GetFieldOptions)(::windows::core::Vtable::as_raw(self), fieldid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICredentialProviderCredentialWithFieldOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProviderCredentialWithFieldOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProviderCredentialWithFieldOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13893,7 +13893,7 @@ impl ICredentialProviderEvents { (::windows::core::Vtable::vtable(self).CredentialsChanged)(::windows::core::Vtable::as_raw(self), upadvisecontext).ok() } } -::windows::core::interface_hierarchy!(ICredentialProviderEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProviderEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProviderEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13935,7 +13935,7 @@ impl ICredentialProviderFilter { (::windows::core::Vtable::vtable(self).UpdateRemoteCredential)(::windows::core::Vtable::as_raw(self), pcpcsin, pcpcsout).ok() } } -::windows::core::interface_hierarchy!(ICredentialProviderFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProviderFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProviderFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -13979,7 +13979,7 @@ impl ICredentialProviderSetUserArray { (::windows::core::Vtable::vtable(self).SetUserArray)(::windows::core::Vtable::as_raw(self), users.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICredentialProviderSetUserArray, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProviderSetUserArray, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProviderSetUserArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14033,7 +14033,7 @@ impl ICredentialProviderUser { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), key, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICredentialProviderUser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProviderUser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProviderUser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14091,7 +14091,7 @@ impl ICredentialProviderUserArray { (::windows::core::Vtable::vtable(self).GetAt)(::windows::core::Vtable::as_raw(self), userindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICredentialProviderUserArray, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICredentialProviderUserArray, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICredentialProviderUserArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14138,7 +14138,7 @@ impl ICurrentItem { (::windows::core::Vtable::vtable(self).base__.GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ICurrentItem, ::windows::core::IUnknown, IRelatedItem); +::windows::imp::interface_hierarchy!(ICurrentItem, ::windows::core::IUnknown, IRelatedItem); impl ::core::cmp::PartialEq for ICurrentItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14180,7 +14180,7 @@ impl ICurrentWorkingDirectory { (::windows::core::Vtable::vtable(self).SetDirectory)(::windows::core::Vtable::as_raw(self), pwzpath.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ICurrentWorkingDirectory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICurrentWorkingDirectory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICurrentWorkingDirectory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14267,7 +14267,7 @@ impl ICustomDestinationList { (::windows::core::Vtable::vtable(self).AbortList)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ICustomDestinationList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICustomDestinationList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICustomDestinationList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14351,7 +14351,7 @@ impl IDataObjectAsyncCapability { (::windows::core::Vtable::vtable(self).EndOperation)(::windows::core::Vtable::as_raw(self), hresult, pbcreserved.into().abi(), dweffects).ok() } } -::windows::core::interface_hierarchy!(IDataObjectAsyncCapability, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataObjectAsyncCapability, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataObjectAsyncCapability { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14418,7 +14418,7 @@ impl IDataObjectProvider { (::windows::core::Vtable::vtable(self).SetDataObject)(::windows::core::Vtable::as_raw(self), dataobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDataObjectProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataObjectProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataObjectProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14477,7 +14477,7 @@ impl IDataTransferManagerInterop { (::windows::core::Vtable::vtable(self).ShowShareUIForWindow)(::windows::core::Vtable::as_raw(self), appwindow.into()).ok() } } -::windows::core::interface_hierarchy!(IDataTransferManagerInterop, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDataTransferManagerInterop, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDataTransferManagerInterop { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14553,7 +14553,7 @@ impl IDefaultExtractIconInit { (::windows::core::Vtable::vtable(self).SetDefaultIcon)(::windows::core::Vtable::as_raw(self), pszfile.into().abi(), iicon).ok() } } -::windows::core::interface_hierarchy!(IDefaultExtractIconInit, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDefaultExtractIconInit, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDefaultExtractIconInit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14616,7 +14616,7 @@ impl IDefaultFolderMenuInitialize { (::windows::core::Vtable::vtable(self).SetHandlerClsid)(::windows::core::Vtable::as_raw(self), rclsid).ok() } } -::windows::core::interface_hierarchy!(IDefaultFolderMenuInitialize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDefaultFolderMenuInitialize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDefaultFolderMenuInitialize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14664,7 +14664,7 @@ impl IDelegateFolder { (::windows::core::Vtable::vtable(self).SetItemAlloc)(::windows::core::Vtable::as_raw(self), pmalloc.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDelegateFolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDelegateFolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDelegateFolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14711,7 +14711,7 @@ impl IDelegateItem { (::windows::core::Vtable::vtable(self).base__.GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDelegateItem, ::windows::core::IUnknown, IRelatedItem); +::windows::imp::interface_hierarchy!(IDelegateItem, ::windows::core::IUnknown, IRelatedItem); impl ::core::cmp::PartialEq for IDelegateItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -14786,7 +14786,7 @@ impl IDeskBand { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IDeskBand, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IDockingWindow); +::windows::imp::interface_hierarchy!(IDeskBand, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IDockingWindow); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IDeskBand { fn eq(&self, other: &Self) -> bool { @@ -14892,7 +14892,7 @@ impl IDeskBand2 { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IDeskBand2, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IDockingWindow, IDeskBand); +::windows::imp::interface_hierarchy!(IDeskBand2, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IDockingWindow, IDeskBand); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IDeskBand2 { fn eq(&self, other: &Self) -> bool { @@ -14948,7 +14948,7 @@ impl IDeskBandInfo { (::windows::core::Vtable::vtable(self).GetDefaultBandWidth)(::windows::core::Vtable::as_raw(self), dwbandid, dwviewmode, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDeskBandInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDeskBandInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDeskBandInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15014,7 +15014,7 @@ impl IDeskBar { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IDeskBar, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); +::windows::imp::interface_hierarchy!(IDeskBar, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IDeskBar { fn eq(&self, other: &Self) -> bool { @@ -15095,7 +15095,7 @@ impl IDeskBarClient { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IDeskBarClient, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); +::windows::imp::interface_hierarchy!(IDeskBarClient, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IDeskBarClient { fn eq(&self, other: &Self) -> bool { @@ -15148,7 +15148,7 @@ impl IDesktopGadget { (::windows::core::Vtable::vtable(self).RunGadget)(::windows::core::Vtable::as_raw(self), gadgetpath.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDesktopGadget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDesktopGadget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDesktopGadget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15268,7 +15268,7 @@ impl IDesktopWallpaper { (::windows::core::Vtable::vtable(self).Enable)(::windows::core::Vtable::as_raw(self), enable.into()).ok() } } -::windows::core::interface_hierarchy!(IDesktopWallpaper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDesktopWallpaper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDesktopWallpaper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15335,7 +15335,7 @@ impl IDestinationStreamFactory { (::windows::core::Vtable::vtable(self).GetDestinationStream)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDestinationStreamFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDestinationStreamFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDestinationStreamFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15382,7 +15382,7 @@ impl IDisplayItem { (::windows::core::Vtable::vtable(self).base__.GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDisplayItem, ::windows::core::IUnknown, IRelatedItem); +::windows::imp::interface_hierarchy!(IDisplayItem, ::windows::core::IUnknown, IRelatedItem); impl ::core::cmp::PartialEq for IDisplayItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15420,7 +15420,7 @@ impl IDocViewSite { (::windows::core::Vtable::vtable(self).OnSetTitle)(::windows::core::Vtable::as_raw(self), pvtitle).ok() } } -::windows::core::interface_hierarchy!(IDocViewSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDocViewSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDocViewSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15494,7 +15494,7 @@ impl IDockingWindow { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IDockingWindow, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); +::windows::imp::interface_hierarchy!(IDockingWindow, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IDockingWindow { fn eq(&self, other: &Self) -> bool { @@ -15579,7 +15579,7 @@ impl IDockingWindowFrame { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IDockingWindowFrame, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); +::windows::imp::interface_hierarchy!(IDockingWindowFrame, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IDockingWindowFrame { fn eq(&self, other: &Self) -> bool { @@ -15664,7 +15664,7 @@ impl IDockingWindowSite { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IDockingWindowSite, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); +::windows::imp::interface_hierarchy!(IDockingWindowSite, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IDockingWindowSite { fn eq(&self, other: &Self) -> bool { @@ -15733,7 +15733,7 @@ impl IDragSourceHelper { (::windows::core::Vtable::vtable(self).InitializeFromWindow)(::windows::core::Vtable::as_raw(self), hwnd.into(), ::core::mem::transmute(ppt.unwrap_or(::std::ptr::null())), pdataobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IDragSourceHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDragSourceHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDragSourceHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15794,7 +15794,7 @@ impl IDragSourceHelper2 { (::windows::core::Vtable::vtable(self).SetFlags)(::windows::core::Vtable::as_raw(self), dwflags).ok() } } -::windows::core::interface_hierarchy!(IDragSourceHelper2, ::windows::core::IUnknown, IDragSourceHelper); +::windows::imp::interface_hierarchy!(IDragSourceHelper2, ::windows::core::IUnknown, IDragSourceHelper); impl ::core::cmp::PartialEq for IDragSourceHelper2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15861,7 +15861,7 @@ impl IDropTargetHelper { (::windows::core::Vtable::vtable(self).Show)(::windows::core::Vtable::as_raw(self), fshow.into()).ok() } } -::windows::core::interface_hierarchy!(IDropTargetHelper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDropTargetHelper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDropTargetHelper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15918,7 +15918,7 @@ impl IDynamicHWHandler { (::windows::core::Vtable::vtable(self).GetDynamicInfo)(::windows::core::Vtable::as_raw(self), pszdeviceid.into().abi(), dwcontenttype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDynamicHWHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDynamicHWHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDynamicHWHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -15986,7 +15986,7 @@ impl IEnumACString { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IEnumACString, ::windows::core::IUnknown, super::super::System::Com::IEnumString); +::windows::imp::interface_hierarchy!(IEnumACString, ::windows::core::IUnknown, super::super::System::Com::IEnumString); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IEnumACString { fn eq(&self, other: &Self) -> bool { @@ -16032,7 +16032,7 @@ impl IEnumAssocHandlers { (::windows::core::Vtable::vtable(self).Next)(::windows::core::Vtable::as_raw(self), rgelt.len() as _, ::core::mem::transmute(rgelt.as_ptr()), ::core::mem::transmute(pceltfetched.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IEnumAssocHandlers, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumAssocHandlers, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumAssocHandlers { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16079,7 +16079,7 @@ impl IEnumExplorerCommand { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumExplorerCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumExplorerCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumExplorerCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16129,7 +16129,7 @@ impl IEnumExtraSearch { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumExtraSearch, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumExtraSearch, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumExtraSearch { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16181,7 +16181,7 @@ impl IEnumFullIDList { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumFullIDList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumFullIDList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumFullIDList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16234,7 +16234,7 @@ impl IEnumHLITEM { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumHLITEM, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumHLITEM, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumHLITEM { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16285,7 +16285,7 @@ impl IEnumIDList { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppenum)) } } -::windows::core::interface_hierarchy!(IEnumIDList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumIDList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumIDList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16338,7 +16338,7 @@ impl IEnumObjects { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumObjects, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumObjects, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumObjects { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16382,7 +16382,7 @@ impl IEnumPublishedApps { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IEnumPublishedApps, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumPublishedApps, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumPublishedApps { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16420,7 +16420,7 @@ impl IEnumReadyCallback { (::windows::core::Vtable::vtable(self).EnumReady)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IEnumReadyCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumReadyCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumReadyCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16467,7 +16467,7 @@ impl IEnumResources { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumResources, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumResources, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumResources { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16517,7 +16517,7 @@ impl IEnumShellItems { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumShellItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumShellItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumShellItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16567,7 +16567,7 @@ impl IEnumSyncMgrConflict { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSyncMgrConflict, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSyncMgrConflict, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSyncMgrConflict { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16617,7 +16617,7 @@ impl IEnumSyncMgrEvents { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSyncMgrEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSyncMgrEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSyncMgrEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16667,7 +16667,7 @@ impl IEnumSyncMgrSyncItems { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumSyncMgrSyncItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSyncMgrSyncItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSyncMgrSyncItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16717,7 +16717,7 @@ impl IEnumTravelLogEntry { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumTravelLogEntry, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTravelLogEntry, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTravelLogEntry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16766,7 +16766,7 @@ impl IEnumerableView { (::windows::core::Vtable::vtable(self).CreateEnumIDListFromContents)(::windows::core::Vtable::as_raw(self), pidlfolder, dwenumflags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IEnumerableView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumerableView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumerableView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16838,7 +16838,7 @@ impl IExecuteCommand { (::windows::core::Vtable::vtable(self).Execute)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IExecuteCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExecuteCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExecuteCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16888,7 +16888,7 @@ impl IExecuteCommandApplicationHostEnvironment { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExecuteCommandApplicationHostEnvironment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExecuteCommandApplicationHostEnvironment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExecuteCommandApplicationHostEnvironment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16926,7 +16926,7 @@ impl IExecuteCommandHost { (::windows::core::Vtable::vtable(self).GetUIMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExecuteCommandHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExecuteCommandHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExecuteCommandHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -16976,7 +16976,7 @@ impl IExpDispSupport { (::windows::core::Vtable::vtable(self).OnInvoke)(::windows::core::Vtable::as_raw(self), dispidmember, iid, lcid, wflags, pdispparams, pvarresult, pexcepinfo, puargerr).ok() } } -::windows::core::interface_hierarchy!(IExpDispSupport, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExpDispSupport, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExpDispSupport { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17037,7 +17037,7 @@ impl IExpDispSupportXP { (::windows::core::Vtable::vtable(self).OnInvoke)(::windows::core::Vtable::as_raw(self), dispidmember, iid, lcid, wflags, pdispparams, pvarresult, pexcepinfo, puargerr).ok() } } -::windows::core::interface_hierarchy!(IExpDispSupportXP, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExpDispSupportXP, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExpDispSupportXP { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17157,7 +17157,7 @@ impl IExplorerBrowser { (::windows::core::Vtable::vtable(self).GetCurrentView)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExplorerBrowser, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExplorerBrowser, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExplorerBrowser { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17237,7 +17237,7 @@ impl IExplorerBrowserEvents { (::windows::core::Vtable::vtable(self).OnNavigationFailed)(::windows::core::Vtable::as_raw(self), pidlfolder).ok() } } -::windows::core::interface_hierarchy!(IExplorerBrowserEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExplorerBrowserEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExplorerBrowserEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17338,7 +17338,7 @@ impl IExplorerCommand { (::windows::core::Vtable::vtable(self).EnumSubCommands)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExplorerCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExplorerCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExplorerCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17400,7 +17400,7 @@ impl IExplorerCommandProvider { (::windows::core::Vtable::vtable(self).GetCommand)(::windows::core::Vtable::as_raw(self), rguidcommandid, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExplorerCommandProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExplorerCommandProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExplorerCommandProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17445,7 +17445,7 @@ impl IExplorerCommandState { (::windows::core::Vtable::vtable(self).GetState)(::windows::core::Vtable::as_raw(self), psiitemarray.into().abi(), foktobeslow.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExplorerCommandState, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExplorerCommandState, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExplorerCommandState { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17486,7 +17486,7 @@ impl IExplorerPaneVisibility { (::windows::core::Vtable::vtable(self).GetPaneState)(::windows::core::Vtable::as_raw(self), ep, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExplorerPaneVisibility, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExplorerPaneVisibility, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExplorerPaneVisibility { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17536,7 +17536,7 @@ impl IExtensionServices { (::windows::core::Vtable::vtable(self).SetAuthenticateData)(::windows::core::Vtable::as_raw(self), phwnd.into(), pwzusername.into().abi(), pwzpassword.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IExtensionServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtensionServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtensionServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17585,7 +17585,7 @@ impl IExtractIconA { (::windows::core::Vtable::vtable(self).Extract)(::windows::core::Vtable::as_raw(self), pszfile.into().abi(), niconindex, ::core::mem::transmute(phiconlarge.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phiconsmall.unwrap_or(::std::ptr::null_mut())), niconsize).ok() } } -::windows::core::interface_hierarchy!(IExtractIconA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtractIconA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtractIconA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17634,7 +17634,7 @@ impl IExtractIconW { (::windows::core::Vtable::vtable(self).Extract)(::windows::core::Vtable::as_raw(self), pszfile.into().abi(), niconindex, ::core::mem::transmute(phiconlarge.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(phiconsmall.unwrap_or(::std::ptr::null_mut())), niconsize).ok() } } -::windows::core::interface_hierarchy!(IExtractIconW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtractIconW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtractIconW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17683,7 +17683,7 @@ impl IExtractImage { (::windows::core::Vtable::vtable(self).Extract)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExtractImage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IExtractImage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IExtractImage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17741,7 +17741,7 @@ impl IExtractImage2 { (::windows::core::Vtable::vtable(self).GetDateStamp)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IExtractImage2, ::windows::core::IUnknown, IExtractImage); +::windows::imp::interface_hierarchy!(IExtractImage2, ::windows::core::IUnknown, IExtractImage); impl ::core::cmp::PartialEq for IExtractImage2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -17894,7 +17894,7 @@ impl IFileDialog { (::windows::core::Vtable::vtable(self).SetFilter)(::windows::core::Vtable::as_raw(self), pfilter.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFileDialog, ::windows::core::IUnknown, IModalWindow); +::windows::imp::interface_hierarchy!(IFileDialog, ::windows::core::IUnknown, IModalWindow); impl ::core::cmp::PartialEq for IFileDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18081,7 +18081,7 @@ impl IFileDialog2 { (::windows::core::Vtable::vtable(self).SetNavigationRoot)(::windows::core::Vtable::as_raw(self), psi.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFileDialog2, ::windows::core::IUnknown, IModalWindow, IFileDialog); +::windows::imp::interface_hierarchy!(IFileDialog2, ::windows::core::IUnknown, IModalWindow, IFileDialog); impl ::core::cmp::PartialEq for IFileDialog2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18143,7 +18143,7 @@ impl IFileDialogControlEvents { (::windows::core::Vtable::vtable(self).OnControlActivating)(::windows::core::Vtable::as_raw(self), pfdc.into().abi(), dwidctl).ok() } } -::windows::core::interface_hierarchy!(IFileDialogControlEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileDialogControlEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileDialogControlEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18309,7 +18309,7 @@ impl IFileDialogCustomize { (::windows::core::Vtable::vtable(self).SetControlItemText)(::windows::core::Vtable::as_raw(self), dwidctl, dwiditem, pszlabel.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFileDialogCustomize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileDialogCustomize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileDialogCustomize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18425,7 +18425,7 @@ impl IFileDialogEvents { (::windows::core::Vtable::vtable(self).OnOverwrite)(::windows::core::Vtable::as_raw(self), pfd.into().abi(), psi.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFileDialogEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileDialogEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileDialogEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18486,7 +18486,7 @@ impl IFileIsInUse { (::windows::core::Vtable::vtable(self).CloseFile)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFileIsInUse, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileIsInUse, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileIsInUse { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18651,7 +18651,7 @@ impl IFileOpenDialog { (::windows::core::Vtable::vtable(self).GetSelectedItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFileOpenDialog, ::windows::core::IUnknown, IModalWindow, IFileDialog); +::windows::imp::interface_hierarchy!(IFileOpenDialog, ::windows::core::IUnknown, IModalWindow, IFileDialog); impl ::core::cmp::PartialEq for IFileOpenDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -18817,7 +18817,7 @@ impl IFileOperation { (::windows::core::Vtable::vtable(self).GetAnyOperationsAborted)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFileOperation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileOperation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19013,7 +19013,7 @@ impl IFileOperation2 { (::windows::core::Vtable::vtable(self).SetOperationFlags2)(::windows::core::Vtable::as_raw(self), operationflags2).ok() } } -::windows::core::interface_hierarchy!(IFileOperation2, ::windows::core::IUnknown, IFileOperation); +::windows::imp::interface_hierarchy!(IFileOperation2, ::windows::core::IUnknown, IFileOperation); impl ::core::cmp::PartialEq for IFileOperation2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19143,7 +19143,7 @@ impl IFileOperationProgressSink { (::windows::core::Vtable::vtable(self).ResumeTimer)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFileOperationProgressSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileOperationProgressSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileOperationProgressSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19348,7 +19348,7 @@ impl IFileSaveDialog { (::windows::core::Vtable::vtable(self).ApplyProperties)(::windows::core::Vtable::as_raw(self), psi.into().abi(), pstore.into().abi(), hwnd.into(), psink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFileSaveDialog, ::windows::core::IUnknown, IModalWindow, IFileDialog); +::windows::imp::interface_hierarchy!(IFileSaveDialog, ::windows::core::IUnknown, IModalWindow, IFileDialog); impl ::core::cmp::PartialEq for IFileSaveDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19428,7 +19428,7 @@ impl IFileSearchBand { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFileSearchBand, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFileSearchBand, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFileSearchBand { fn eq(&self, other: &Self) -> bool { @@ -19499,7 +19499,7 @@ impl IFileSyncMergeHandler { (::windows::core::Vtable::vtable(self).ShowResolveConflictUIAsync)(::windows::core::Vtable::as_raw(self), localfilepath.into().abi(), monitortodisplayon.into()).ok() } } -::windows::core::interface_hierarchy!(IFileSyncMergeHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileSyncMergeHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileSyncMergeHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19547,7 +19547,7 @@ impl IFileSystemBindData { (::windows::core::Vtable::vtable(self).GetFindData)(::windows::core::Vtable::as_raw(self), pfd).ok() } } -::windows::core::interface_hierarchy!(IFileSystemBindData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFileSystemBindData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFileSystemBindData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19612,7 +19612,7 @@ impl IFileSystemBindData2 { (::windows::core::Vtable::vtable(self).GetJunctionCLSID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFileSystemBindData2, ::windows::core::IUnknown, IFileSystemBindData); +::windows::imp::interface_hierarchy!(IFileSystemBindData2, ::windows::core::IUnknown, IFileSystemBindData); impl ::core::cmp::PartialEq for IFileSystemBindData2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19681,7 +19681,7 @@ impl IFolderBandPriv { (::windows::core::Vtable::vtable(self).SetNoText)(::windows::core::Vtable::as_raw(self), fnotext.into()).ok() } } -::windows::core::interface_hierarchy!(IFolderBandPriv, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFolderBandPriv, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFolderBandPriv { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19746,7 +19746,7 @@ impl IFolderFilter { (::windows::core::Vtable::vtable(self).GetEnumFlags)(::windows::core::Vtable::as_raw(self), psf.into().abi(), pidlfolder, phwnd, pgrfflags).ok() } } -::windows::core::interface_hierarchy!(IFolderFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFolderFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFolderFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19793,7 +19793,7 @@ impl IFolderFilterSite { (::windows::core::Vtable::vtable(self).SetFilter)(::windows::core::Vtable::as_raw(self), punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IFolderFilterSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFolderFilterSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFolderFilterSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -19894,7 +19894,7 @@ impl IFolderView { (::windows::core::Vtable::vtable(self).SelectAndPositionItems)(::windows::core::Vtable::as_raw(self), cidl, apidl, ::core::mem::transmute(apt.unwrap_or(::std::ptr::null())), dwflags).ok() } } -::windows::core::interface_hierarchy!(IFolderView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFolderView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFolderView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20158,7 +20158,7 @@ impl IFolderView2 { (::windows::core::Vtable::vtable(self).DoRename)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IFolderView2, ::windows::core::IUnknown, IFolderView); +::windows::imp::interface_hierarchy!(IFolderView2, ::windows::core::IUnknown, IFolderView); impl ::core::cmp::PartialEq for IFolderView2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20261,7 +20261,7 @@ impl IFolderViewHost { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), hwndparent.into(), pdo.into().abi(), prc).ok() } } -::windows::core::interface_hierarchy!(IFolderViewHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFolderViewHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFolderViewHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20309,7 +20309,7 @@ impl IFolderViewOC { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IFolderViewOC, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IFolderViewOC, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IFolderViewOC { fn eq(&self, other: &Self) -> bool { @@ -20360,7 +20360,7 @@ impl IFolderViewOptions { (::windows::core::Vtable::vtable(self).GetFolderViewOptions)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFolderViewOptions, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFolderViewOptions, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFolderViewOptions { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20427,7 +20427,7 @@ impl IFolderViewSettings { (::windows::core::Vtable::vtable(self).GetGroupSubsetCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFolderViewSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFolderViewSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFolderViewSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20500,7 +20500,7 @@ impl IFrameworkInputPane { (::windows::core::Vtable::vtable(self).Location)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IFrameworkInputPane, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFrameworkInputPane, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFrameworkInputPane { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20559,7 +20559,7 @@ impl IFrameworkInputPaneHandler { (::windows::core::Vtable::vtable(self).Hiding)(::windows::core::Vtable::as_raw(self), fensurefocusedelementinview.into()).ok() } } -::windows::core::interface_hierarchy!(IFrameworkInputPaneHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IFrameworkInputPaneHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IFrameworkInputPaneHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20603,7 +20603,7 @@ impl IGetServiceIds { (::windows::core::Vtable::vtable(self).GetServiceIds)(::windows::core::Vtable::as_raw(self), serviceidcount, serviceids).ok() } } -::windows::core::interface_hierarchy!(IGetServiceIds, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGetServiceIds, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGetServiceIds { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20663,7 +20663,7 @@ impl IHWEventHandler { (::windows::core::Vtable::vtable(self).HandleEventWithContent)(::windows::core::Vtable::as_raw(self), pszdeviceid.into().abi(), pszaltdeviceid.into().abi(), pszeventtype.into().abi(), pszcontenttypehandler.into().abi(), pdataobject.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IHWEventHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHWEventHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHWEventHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20739,7 +20739,7 @@ impl IHWEventHandler2 { (::windows::core::Vtable::vtable(self).HandleEventWithHWND)(::windows::core::Vtable::as_raw(self), pszdeviceid.into().abi(), pszaltdeviceid.into().abi(), pszeventtype.into().abi(), hwndowner.into()).ok() } } -::windows::core::interface_hierarchy!(IHWEventHandler2, ::windows::core::IUnknown, IHWEventHandler); +::windows::imp::interface_hierarchy!(IHWEventHandler2, ::windows::core::IUnknown, IHWEventHandler); impl ::core::cmp::PartialEq for IHWEventHandler2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20791,7 +20791,7 @@ impl IHandlerActivationHost { (::windows::core::Vtable::vtable(self).BeforeCreateProcess)(::windows::core::Vtable::as_raw(self), applicationpath.into().abi(), commandline.into().abi(), handlerinfo.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IHandlerActivationHost, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHandlerActivationHost, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHandlerActivationHost { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20838,7 +20838,7 @@ impl IHandlerInfo { (::windows::core::Vtable::vtable(self).GetApplicationIconReference)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHandlerInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHandlerInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHandlerInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -20890,7 +20890,7 @@ impl IHandlerInfo2 { (::windows::core::Vtable::vtable(self).GetApplicationId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHandlerInfo2, ::windows::core::IUnknown, IHandlerInfo); +::windows::imp::interface_hierarchy!(IHandlerInfo2, ::windows::core::IUnknown, IHandlerInfo); impl ::core::cmp::PartialEq for IHandlerInfo2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21001,7 +21001,7 @@ impl IHlink { (::windows::core::Vtable::vtable(self).GetAdditionalParams)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHlink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHlink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHlink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21145,7 +21145,7 @@ impl IHlinkBrowseContext { (::windows::core::Vtable::vtable(self).Close)(::windows::core::Vtable::as_raw(self), reserved).ok() } } -::windows::core::interface_hierarchy!(IHlinkBrowseContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHlinkBrowseContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHlinkBrowseContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21253,7 +21253,7 @@ impl IHlinkFrame { (::windows::core::Vtable::vtable(self).UpdateHlink)(::windows::core::Vtable::as_raw(self), uhlid, pimktarget.into().abi(), pwzlocation.into().abi(), pwzfriendlyname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IHlinkFrame, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHlinkFrame, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHlinkFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21319,7 +21319,7 @@ impl IHlinkSite { (::windows::core::Vtable::vtable(self).OnNavigationComplete)(::windows::core::Vtable::as_raw(self), dwsitedata, dwreserved, hrerror, pwzerror.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IHlinkSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHlinkSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHlinkSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21391,7 +21391,7 @@ impl IHlinkTarget { (::windows::core::Vtable::vtable(self).GetFriendlyName)(::windows::core::Vtable::as_raw(self), pwzlocation.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHlinkTarget, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHlinkTarget, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHlinkTarget { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21447,7 +21447,7 @@ impl IHomeGroup { (::windows::core::Vtable::vtable(self).ShowSharingWizard)(::windows::core::Vtable::as_raw(self), owner.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IHomeGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHomeGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHomeGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21494,7 +21494,7 @@ impl IIOCancelInformation { (::windows::core::Vtable::vtable(self).GetCancelInformation)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pdwthreadid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pumsgcancel.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IIOCancelInformation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IIOCancelInformation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IIOCancelInformation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21539,7 +21539,7 @@ impl IIdentityName { (::windows::core::Vtable::vtable(self).base__.GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IIdentityName, ::windows::core::IUnknown, IRelatedItem); +::windows::imp::interface_hierarchy!(IIdentityName, ::windows::core::IUnknown, IRelatedItem); impl ::core::cmp::PartialEq for IIdentityName { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21582,7 +21582,7 @@ impl IImageRecompress { (::windows::core::Vtable::vtable(self).RecompressImage)(::windows::core::Vtable::as_raw(self), psi.into().abi(), cx, cy, iquality, pstg.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IImageRecompress, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IImageRecompress, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IImageRecompress { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21628,7 +21628,7 @@ impl IInitializeCommand { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pszcommandname.into().abi(), ppb.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IInitializeCommand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeCommand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21674,7 +21674,7 @@ impl IInitializeNetworkFolder { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pidl, pidltarget, udisplaytype, pszresname.into().abi(), pszprovider.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IInitializeNetworkFolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeNetworkFolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeNetworkFolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21714,7 +21714,7 @@ impl IInitializeObject { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInitializeObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21756,7 +21756,7 @@ impl IInitializeWithBindCtx { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pbc.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IInitializeWithBindCtx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeWithBindCtx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeWithBindCtx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21799,7 +21799,7 @@ impl IInitializeWithItem { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), psi.into().abi(), grfmode).ok() } } -::windows::core::interface_hierarchy!(IInitializeWithItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeWithItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeWithItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21841,7 +21841,7 @@ impl IInitializeWithPropertyStore { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pps.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IInitializeWithPropertyStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeWithPropertyStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeWithPropertyStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21886,7 +21886,7 @@ impl IInitializeWithWindow { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), hwnd.into()).ok() } } -::windows::core::interface_hierarchy!(IInitializeWithWindow, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInitializeWithWindow, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInitializeWithWindow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -21939,7 +21939,7 @@ impl IInputObject { (::windows::core::Vtable::vtable(self).TranslateAcceleratorIO)(::windows::core::Vtable::as_raw(self), pmsg).ok() } } -::windows::core::interface_hierarchy!(IInputObject, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInputObject, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInputObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22002,7 +22002,7 @@ impl IInputObject2 { (::windows::core::Vtable::vtable(self).TranslateAcceleratorGlobal)(::windows::core::Vtable::as_raw(self), pmsg).ok() } } -::windows::core::interface_hierarchy!(IInputObject2, ::windows::core::IUnknown, IInputObject); +::windows::imp::interface_hierarchy!(IInputObject2, ::windows::core::IUnknown, IInputObject); impl ::core::cmp::PartialEq for IInputObject2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22048,7 +22048,7 @@ impl IInputObjectSite { (::windows::core::Vtable::vtable(self).OnFocusChangeIS)(::windows::core::Vtable::as_raw(self), punkobj.into().abi(), fsetfocus.into()).ok() } } -::windows::core::interface_hierarchy!(IInputObjectSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInputObjectSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInputObjectSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22094,7 +22094,7 @@ impl IInputPaneAnimationCoordinator { (::windows::core::Vtable::vtable(self).AddAnimation)(::windows::core::Vtable::as_raw(self), device.into().abi(), animation.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IInputPaneAnimationCoordinator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInputPaneAnimationCoordinator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInputPaneAnimationCoordinator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22134,7 +22134,7 @@ impl IInputPanelConfiguration { (::windows::core::Vtable::vtable(self).EnableFocusTracking)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInputPanelConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInputPanelConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInputPanelConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22171,7 +22171,7 @@ impl IInputPanelInvocationConfiguration { (::windows::core::Vtable::vtable(self).RequireTouchInEditControl)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInputPanelInvocationConfiguration, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInputPanelInvocationConfiguration, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInputPanelInvocationConfiguration { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22210,7 +22210,7 @@ impl IInsertItem { (::windows::core::Vtable::vtable(self).InsertItem)(::windows::core::Vtable::as_raw(self), pidl).ok() } } -::windows::core::interface_hierarchy!(IInsertItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInsertItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInsertItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22257,7 +22257,7 @@ impl IItemNameLimits { (::windows::core::Vtable::vtable(self).GetMaxLength)(::windows::core::Vtable::as_raw(self), pszname.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IItemNameLimits, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IItemNameLimits, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IItemNameLimits { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22334,7 +22334,7 @@ impl IKnownFolder { (::windows::core::Vtable::vtable(self).GetFolderDefinition)(::windows::core::Vtable::as_raw(self), pkfd).ok() } } -::windows::core::interface_hierarchy!(IKnownFolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKnownFolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKnownFolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22429,7 +22429,7 @@ impl IKnownFolderManager { (::windows::core::Vtable::vtable(self).Redirect)(::windows::core::Vtable::as_raw(self), rfid, hwnd.into(), flags, psztargetpath.into().abi(), pexclusion.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pexclusion.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ppszerror.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IKnownFolderManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IKnownFolderManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IKnownFolderManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22482,7 +22482,7 @@ impl ILaunchSourceAppUserModelId { (::windows::core::Vtable::vtable(self).GetAppUserModelId)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILaunchSourceAppUserModelId, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILaunchSourceAppUserModelId, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILaunchSourceAppUserModelId { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22526,7 +22526,7 @@ impl ILaunchSourceViewSizePreference { (::windows::core::Vtable::vtable(self).GetSourceViewSizePreference)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILaunchSourceViewSizePreference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILaunchSourceViewSizePreference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILaunchSourceViewSizePreference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22570,7 +22570,7 @@ impl ILaunchTargetMonitor { (::windows::core::Vtable::vtable(self).GetMonitor)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILaunchTargetMonitor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILaunchTargetMonitor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILaunchTargetMonitor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22611,7 +22611,7 @@ impl ILaunchTargetViewSizePreference { (::windows::core::Vtable::vtable(self).GetTargetViewSizePreference)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ILaunchTargetViewSizePreference, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILaunchTargetViewSizePreference, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILaunchTargetViewSizePreference { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22656,7 +22656,7 @@ impl ILaunchUIContext { (::windows::core::Vtable::vtable(self).SetTabGroupingPreference)(::windows::core::Vtable::as_raw(self), value).ok() } } -::windows::core::interface_hierarchy!(ILaunchUIContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILaunchUIContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILaunchUIContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22700,7 +22700,7 @@ impl ILaunchUIContextProvider { (::windows::core::Vtable::vtable(self).UpdateContext)(::windows::core::Vtable::as_raw(self), context.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ILaunchUIContextProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ILaunchUIContextProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ILaunchUIContextProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22744,7 +22744,7 @@ impl IMenuBand { (::windows::core::Vtable::vtable(self).TranslateMenuMessage)(::windows::core::Vtable::as_raw(self), pmsg, plret).ok() } } -::windows::core::interface_hierarchy!(IMenuBand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMenuBand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMenuBand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22834,7 +22834,7 @@ impl IMenuPopup { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IMenuPopup, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IDeskBar); +::windows::imp::interface_hierarchy!(IMenuPopup, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IDeskBar); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IMenuPopup { fn eq(&self, other: &Self) -> bool { @@ -22891,7 +22891,7 @@ impl IModalWindow { (::windows::core::Vtable::vtable(self).Show)(::windows::core::Vtable::as_raw(self), hwndowner.into()).ok() } } -::windows::core::interface_hierarchy!(IModalWindow, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IModalWindow, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IModalWindow { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -22950,7 +22950,7 @@ impl INameSpaceTreeAccessible { (::windows::core::Vtable::vtable(self).OnGetAccessibilityRole)(::windows::core::Vtable::as_raw(self), psi.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(INameSpaceTreeAccessible, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INameSpaceTreeAccessible, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INameSpaceTreeAccessible { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23101,7 +23101,7 @@ impl INameSpaceTreeControl { (::windows::core::Vtable::vtable(self).CollapseAll)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(INameSpaceTreeControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INameSpaceTreeControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INameSpaceTreeControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23288,7 +23288,7 @@ impl INameSpaceTreeControl2 { (::windows::core::Vtable::vtable(self).GetControlStyle2)(::windows::core::Vtable::as_raw(self), nstcsmask, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(INameSpaceTreeControl2, ::windows::core::IUnknown, INameSpaceTreeControl); +::windows::imp::interface_hierarchy!(INameSpaceTreeControl2, ::windows::core::IUnknown, INameSpaceTreeControl); impl ::core::cmp::PartialEq for INameSpaceTreeControl2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23358,7 +23358,7 @@ impl INameSpaceTreeControlCustomDraw { (::windows::core::Vtable::vtable(self).ItemPostPaint)(::windows::core::Vtable::as_raw(self), hdc.into(), prc, pnstccditem).ok() } } -::windows::core::interface_hierarchy!(INameSpaceTreeControlCustomDraw, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INameSpaceTreeControlCustomDraw, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INameSpaceTreeControlCustomDraw { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23451,7 +23451,7 @@ impl INameSpaceTreeControlDropHandler { (::windows::core::Vtable::vtable(self).OnDragLeave)(::windows::core::Vtable::as_raw(self), psiover.into().abi()).ok() } } -::windows::core::interface_hierarchy!(INameSpaceTreeControlDropHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INameSpaceTreeControlDropHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INameSpaceTreeControlDropHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23611,7 +23611,7 @@ impl INameSpaceTreeControlEvents { (::windows::core::Vtable::vtable(self).OnGetDefaultIconIndex)(::windows::core::Vtable::as_raw(self), psi.into().abi(), pidefaulticon, piopenicon).ok() } } -::windows::core::interface_hierarchy!(INameSpaceTreeControlEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INameSpaceTreeControlEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INameSpaceTreeControlEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23675,7 +23675,7 @@ impl INameSpaceTreeControlFolderCapabilities { (::windows::core::Vtable::vtable(self).GetFolderCapabilities)(::windows::core::Vtable::as_raw(self), nfcmask, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(INameSpaceTreeControlFolderCapabilities, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INameSpaceTreeControlFolderCapabilities, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INameSpaceTreeControlFolderCapabilities { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23734,7 +23734,7 @@ impl INamedPropertyBag { (::windows::core::Vtable::vtable(self).RemovePropertyNPB)(::windows::core::Vtable::as_raw(self), pszbagname.into().abi(), pszpropname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(INamedPropertyBag, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INamedPropertyBag, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INamedPropertyBag { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23788,7 +23788,7 @@ impl INamespaceWalk { (::windows::core::Vtable::vtable(self).GetIDArrayResult)(::windows::core::Vtable::as_raw(self), pcitems, prgpidl).ok() } } -::windows::core::interface_hierarchy!(INamespaceWalk, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INamespaceWalk, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INamespaceWalk { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23853,7 +23853,7 @@ impl INamespaceWalkCB { (::windows::core::Vtable::vtable(self).InitializeProgressDialog)(::windows::core::Vtable::as_raw(self), ppsztitle, ppszcancel).ok() } } -::windows::core::interface_hierarchy!(INamespaceWalkCB, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INamespaceWalkCB, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INamespaceWalkCB { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23929,7 +23929,7 @@ impl INamespaceWalkCB2 { (::windows::core::Vtable::vtable(self).WalkComplete)(::windows::core::Vtable::as_raw(self), hr).ok() } } -::windows::core::interface_hierarchy!(INamespaceWalkCB2, ::windows::core::IUnknown, INamespaceWalkCB); +::windows::imp::interface_hierarchy!(INamespaceWalkCB2, ::windows::core::IUnknown, INamespaceWalkCB); impl ::core::cmp::PartialEq for INamespaceWalkCB2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -23978,7 +23978,7 @@ impl INetworkFolderInternal { (::windows::core::Vtable::vtable(self).GetProvider)(::windows::core::Vtable::as_raw(self), itemids.len() as _, ::core::mem::transmute(itemids.as_ptr()), provider.len() as _, ::core::mem::transmute(provider.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(INetworkFolderInternal, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INetworkFolderInternal, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INetworkFolderInternal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24029,7 +24029,7 @@ impl INewMenuClient { (::windows::core::Vtable::vtable(self).SelectAndEditItem)(::windows::core::Vtable::as_raw(self), pidlitem, flags).ok() } } -::windows::core::interface_hierarchy!(INewMenuClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INewMenuClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INewMenuClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24094,7 +24094,7 @@ impl INewShortcutHookA { (::windows::core::Vtable::vtable(self).GetExtension)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pszextension.as_ptr()), pszextension.len() as _).ok() } } -::windows::core::interface_hierarchy!(INewShortcutHookA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INewShortcutHookA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INewShortcutHookA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24163,7 +24163,7 @@ impl INewShortcutHookW { (::windows::core::Vtable::vtable(self).GetExtension)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pszextension.as_ptr()), pszextension.len() as _).ok() } } -::windows::core::interface_hierarchy!(INewShortcutHookW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INewShortcutHookW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INewShortcutHookW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24254,7 +24254,7 @@ impl INewWDEvents { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(INewWDEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWebWizardHost); +::windows::imp::interface_hierarchy!(INewWDEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWebWizardHost); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for INewWDEvents { fn eq(&self, other: &Self) -> bool { @@ -24310,7 +24310,7 @@ impl INewWindowManager { (::windows::core::Vtable::vtable(self).EvaluateNewWindow)(::windows::core::Vtable::as_raw(self), pszurl.into().abi(), pszname.into().abi(), pszurlcontext.into().abi(), pszfeatures.into().abi(), freplace.into(), dwflags, dwuseractiontime).ok() } } -::windows::core::interface_hierarchy!(INewWindowManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INewWindowManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INewWindowManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24352,7 +24352,7 @@ impl INotifyReplica { (::windows::core::Vtable::vtable(self).YouAreAReplica)(::windows::core::Vtable::as_raw(self), rgpmkotherreplicas.len() as _, ::core::mem::transmute(rgpmkotherreplicas.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(INotifyReplica, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(INotifyReplica, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for INotifyReplica { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24401,7 +24401,7 @@ impl IObjMgr { (::windows::core::Vtable::vtable(self).Remove)(::windows::core::Vtable::as_raw(self), punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IObjMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24443,7 +24443,7 @@ impl IObjectProvider { (::windows::core::Vtable::vtable(self).QueryObject)(::windows::core::Vtable::as_raw(self), guidobject, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24487,7 +24487,7 @@ impl IObjectWithAppUserModelID { (::windows::core::Vtable::vtable(self).GetAppID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectWithAppUserModelID, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectWithAppUserModelID, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectWithAppUserModelID { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24525,7 +24525,7 @@ impl IObjectWithBackReferences { (::windows::core::Vtable::vtable(self).RemoveBackReferences)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IObjectWithBackReferences, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectWithBackReferences, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectWithBackReferences { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24565,7 +24565,7 @@ impl IObjectWithCancelEvent { (::windows::core::Vtable::vtable(self).GetCancelEvent)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectWithCancelEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectWithCancelEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectWithCancelEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24609,7 +24609,7 @@ impl IObjectWithFolderEnumMode { (::windows::core::Vtable::vtable(self).GetMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectWithFolderEnumMode, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectWithFolderEnumMode, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectWithFolderEnumMode { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24654,7 +24654,7 @@ impl IObjectWithProgID { (::windows::core::Vtable::vtable(self).GetProgID)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectWithProgID, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectWithProgID, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectWithProgID { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24702,7 +24702,7 @@ impl IObjectWithSelection { (::windows::core::Vtable::vtable(self).GetSelection)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IObjectWithSelection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IObjectWithSelection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IObjectWithSelection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24755,7 +24755,7 @@ impl IOpenControlPanel { (::windows::core::Vtable::vtable(self).GetCurrentView)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpenControlPanel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpenControlPanel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpenControlPanel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24802,7 +24802,7 @@ impl IOpenSearchSource { (::windows::core::Vtable::vtable(self).GetResults)(::windows::core::Vtable::as_raw(self), hwnd.into(), pszquery.into().abi(), dwstartindex, dwcount, &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOpenSearchSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOpenSearchSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOpenSearchSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -24885,7 +24885,7 @@ impl IOperationsProgressDialog { (::windows::core::Vtable::vtable(self).GetOperationStatus)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IOperationsProgressDialog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IOperationsProgressDialog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IOperationsProgressDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25021,7 +25021,7 @@ impl IPackageDebugSettings { (::windows::core::Vtable::vtable(self).UnregisterForPackageStateChanges)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(IPackageDebugSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPackageDebugSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPackageDebugSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25161,7 +25161,7 @@ impl IPackageDebugSettings2 { (::windows::core::Vtable::vtable(self).EnumerateApps)(::windows::core::Vtable::as_raw(self), packagefullname.into().abi(), appcount, appusermodelids, appdisplaynames).ok() } } -::windows::core::interface_hierarchy!(IPackageDebugSettings2, ::windows::core::IUnknown, IPackageDebugSettings); +::windows::imp::interface_hierarchy!(IPackageDebugSettings2, ::windows::core::IUnknown, IPackageDebugSettings); impl ::core::cmp::PartialEq for IPackageDebugSettings2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25201,7 +25201,7 @@ impl IPackageExecutionStateChangeNotification { (::windows::core::Vtable::vtable(self).OnStateChanged)(::windows::core::Vtable::as_raw(self), pszpackagefullname.into().abi(), pesnewstate).ok() } } -::windows::core::interface_hierarchy!(IPackageExecutionStateChangeNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPackageExecutionStateChangeNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPackageExecutionStateChangeNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25248,7 +25248,7 @@ impl IParentAndItem { (::windows::core::Vtable::vtable(self).GetParentAndItem)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppidlparent.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsf.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppidlchild.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IParentAndItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IParentAndItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IParentAndItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25302,7 +25302,7 @@ impl IParseAndCreateItem { (::windows::core::Vtable::vtable(self).GetItem)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IParseAndCreateItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IParseAndCreateItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IParseAndCreateItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25351,7 +25351,7 @@ impl IPersistFolder { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistFolder, ::windows::core::IUnknown, super::super::System::Com::IPersist); +::windows::imp::interface_hierarchy!(IPersistFolder, ::windows::core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistFolder { fn eq(&self, other: &Self) -> bool { @@ -25415,7 +25415,7 @@ impl IPersistFolder2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistFolder2, ::windows::core::IUnknown, super::super::System::Com::IPersist, IPersistFolder); +::windows::imp::interface_hierarchy!(IPersistFolder2, ::windows::core::IUnknown, super::super::System::Com::IPersist, IPersistFolder); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistFolder2 { fn eq(&self, other: &Self) -> bool { @@ -25492,7 +25492,7 @@ impl IPersistFolder3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistFolder3, ::windows::core::IUnknown, super::super::System::Com::IPersist, IPersistFolder, IPersistFolder2); +::windows::imp::interface_hierarchy!(IPersistFolder3, ::windows::core::IUnknown, super::super::System::Com::IPersist, IPersistFolder, IPersistFolder2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistFolder3 { fn eq(&self, other: &Self) -> bool { @@ -25560,7 +25560,7 @@ impl IPersistIDList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPersistIDList, ::windows::core::IUnknown, super::super::System::Com::IPersist); +::windows::imp::interface_hierarchy!(IPersistIDList, ::windows::core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPersistIDList { fn eq(&self, other: &Self) -> bool { @@ -25641,7 +25641,7 @@ impl IPreviewHandler { (::windows::core::Vtable::vtable(self).TranslateAccelerator)(::windows::core::Vtable::as_raw(self), pmsg).ok() } } -::windows::core::interface_hierarchy!(IPreviewHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPreviewHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPreviewHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25704,7 +25704,7 @@ impl IPreviewHandlerFrame { (::windows::core::Vtable::vtable(self).TranslateAccelerator)(::windows::core::Vtable::as_raw(self), pmsg).ok() } } -::windows::core::interface_hierarchy!(IPreviewHandlerFrame, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPreviewHandlerFrame, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPreviewHandlerFrame { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25766,7 +25766,7 @@ impl IPreviewHandlerVisuals { (::windows::core::Vtable::vtable(self).SetTextColor)(::windows::core::Vtable::as_raw(self), color.into()).ok() } } -::windows::core::interface_hierarchy!(IPreviewHandlerVisuals, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPreviewHandlerVisuals, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPreviewHandlerVisuals { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25821,7 +25821,7 @@ impl IPreviewItem { (::windows::core::Vtable::vtable(self).base__.GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPreviewItem, ::windows::core::IUnknown, IRelatedItem); +::windows::imp::interface_hierarchy!(IPreviewItem, ::windows::core::IUnknown, IRelatedItem); impl ::core::cmp::PartialEq for IPreviewItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25864,7 +25864,7 @@ impl IPreviousVersionsInfo { (::windows::core::Vtable::vtable(self).AreSnapshotsAvailable)(::windows::core::Vtable::as_raw(self), pszpath.into().abi(), foktobeslow.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IPreviousVersionsInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPreviousVersionsInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPreviousVersionsInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -25913,7 +25913,7 @@ impl IProfferService { (::windows::core::Vtable::vtable(self).RevokeService)(::windows::core::Vtable::as_raw(self), cookie).ok() } } -::windows::core::interface_hierarchy!(IProfferService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProfferService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProfferService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26006,7 +26006,7 @@ impl IProgressDialog { (::windows::core::Vtable::vtable(self).Timer)(::windows::core::Vtable::as_raw(self), dwtimeraction, ::core::mem::transmute(pvresevered.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IProgressDialog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IProgressDialog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IProgressDialog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26088,7 +26088,7 @@ impl IPropertyKeyStore { (::windows::core::Vtable::vtable(self).RemoveKey)(::windows::core::Vtable::as_raw(self), key).ok() } } -::windows::core::interface_hierarchy!(IPropertyKeyStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IPropertyKeyStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IPropertyKeyStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26172,7 +26172,7 @@ impl IPublishedApp { (::windows::core::Vtable::vtable(self).Unschedule)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IPublishedApp, ::windows::core::IUnknown, IShellApp); +::windows::imp::interface_hierarchy!(IPublishedApp, ::windows::core::IUnknown, IShellApp); impl ::core::cmp::PartialEq for IPublishedApp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26255,7 +26255,7 @@ impl IPublishedApp2 { (::windows::core::Vtable::vtable(self).Install2)(::windows::core::Vtable::as_raw(self), pstinstall, hwndparent.into()).ok() } } -::windows::core::interface_hierarchy!(IPublishedApp2, ::windows::core::IUnknown, IShellApp, IPublishedApp); +::windows::imp::interface_hierarchy!(IPublishedApp2, ::windows::core::IUnknown, IShellApp, IPublishedApp); impl ::core::cmp::PartialEq for IPublishedApp2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26323,7 +26323,7 @@ impl IPublishingWizard { (::windows::core::Vtable::vtable(self).GetTransferManifest)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(phrfromtransfer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdocmanifest.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IPublishingWizard, ::windows::core::IUnknown, IWizardExtension); +::windows::imp::interface_hierarchy!(IPublishingWizard, ::windows::core::IUnknown, IWizardExtension); impl ::core::cmp::PartialEq for IPublishingWizard { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26401,7 +26401,7 @@ impl IQueryAssociations { (::windows::core::Vtable::vtable(self).GetEnum)(::windows::core::Vtable::as_raw(self), flags, assocenum, pszextra.into().abi(), riid, ppvout).ok() } } -::windows::core::interface_hierarchy!(IQueryAssociations, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryAssociations, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryAssociations { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26452,7 +26452,7 @@ impl IQueryCancelAutoPlay { (::windows::core::Vtable::vtable(self).AllowAutoPlay)(::windows::core::Vtable::as_raw(self), pszpath.into().abi(), dwcontenttype, pszlabel.into().abi(), dwserialnumber).ok() } } -::windows::core::interface_hierarchy!(IQueryCancelAutoPlay, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryCancelAutoPlay, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryCancelAutoPlay { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26493,7 +26493,7 @@ impl IQueryCodePage { (::windows::core::Vtable::vtable(self).SetCodePage)(::windows::core::Vtable::as_raw(self), uicodepage).ok() } } -::windows::core::interface_hierarchy!(IQueryCodePage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryCodePage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryCodePage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26531,7 +26531,7 @@ impl IQueryContinue { (::windows::core::Vtable::vtable(self).QueryContinue)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IQueryContinue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryContinue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryContinue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26574,7 +26574,7 @@ impl IQueryContinueWithStatus { (::windows::core::Vtable::vtable(self).SetStatusMessage)(::windows::core::Vtable::as_raw(self), psz.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IQueryContinueWithStatus, ::windows::core::IUnknown, IQueryContinue); +::windows::imp::interface_hierarchy!(IQueryContinueWithStatus, ::windows::core::IUnknown, IQueryContinue); impl ::core::cmp::PartialEq for IQueryContinueWithStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26616,7 +26616,7 @@ impl IQueryInfo { (::windows::core::Vtable::vtable(self).GetInfoFlags)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IQueryInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IQueryInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IQueryInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26665,7 +26665,7 @@ impl IRegTreeItem { (::windows::core::Vtable::vtable(self).SetCheckState)(::windows::core::Vtable::as_raw(self), bcheck.into()).ok() } } -::windows::core::interface_hierarchy!(IRegTreeItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRegTreeItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRegTreeItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26716,7 +26716,7 @@ impl IRelatedItem { (::windows::core::Vtable::vtable(self).GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IRelatedItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRelatedItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRelatedItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26763,7 +26763,7 @@ impl IRemoteComputer { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pszmachine.into().abi(), benumerating.into()).ok() } } -::windows::core::interface_hierarchy!(IRemoteComputer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRemoteComputer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRemoteComputer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26809,7 +26809,7 @@ impl IResolveShellLink { (::windows::core::Vtable::vtable(self).ResolveShellLink)(::windows::core::Vtable::as_raw(self), punklink.into().abi(), hwnd.into(), fflags).ok() } } -::windows::core::interface_hierarchy!(IResolveShellLink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResolveShellLink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResolveShellLink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26871,7 +26871,7 @@ impl IResultsFolder { (::windows::core::Vtable::vtable(self).RemoveAll)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IResultsFolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IResultsFolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IResultsFolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -26935,7 +26935,7 @@ impl IRunnableTask { (::windows::core::Vtable::vtable(self).IsRunning)(::windows::core::Vtable::as_raw(self)) } } -::windows::core::interface_hierarchy!(IRunnableTask, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRunnableTask, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRunnableTask { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27051,7 +27051,7 @@ impl IScriptErrorList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IScriptErrorList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IScriptErrorList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IScriptErrorList { fn eq(&self, other: &Self) -> bool { @@ -27137,7 +27137,7 @@ impl ISearchBoxInfo { (::windows::core::Vtable::vtable(self).GetText)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchBoxInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchBoxInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchBoxInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27184,7 +27184,7 @@ impl ISearchContext { (::windows::core::Vtable::vtable(self).GetSearchStyle)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27282,7 +27282,7 @@ impl ISearchFolderItemFactory { (::windows::core::Vtable::vtable(self).GetIDList)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISearchFolderItemFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISearchFolderItemFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISearchFolderItemFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27375,7 +27375,7 @@ impl ISharedBitmap { (::windows::core::Vtable::vtable(self).Detach)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISharedBitmap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISharedBitmap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISharedBitmap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27447,7 +27447,7 @@ impl ISharingConfigurationManager { (::windows::core::Vtable::vtable(self).ArePrintersShared)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISharingConfigurationManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISharingConfigurationManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISharingConfigurationManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27507,7 +27507,7 @@ impl IShellApp { (::windows::core::Vtable::vtable(self).IsInstalled)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IShellApp, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellApp, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellApp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27657,7 +27657,7 @@ impl IShellBrowser { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IShellBrowser, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); +::windows::imp::interface_hierarchy!(IShellBrowser, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IShellBrowser { fn eq(&self, other: &Self) -> bool { @@ -27751,7 +27751,7 @@ impl IShellChangeNotify { (::windows::core::Vtable::vtable(self).OnChange)(::windows::core::Vtable::as_raw(self), levent, ::core::mem::transmute(pidl1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pidl2.unwrap_or(::std::ptr::null()))).ok() } } -::windows::core::interface_hierarchy!(IShellChangeNotify, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellChangeNotify, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellChangeNotify { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27796,7 +27796,7 @@ impl IShellDetails { (::windows::core::Vtable::vtable(self).ColumnClick)(::windows::core::Vtable::as_raw(self), icolumn).ok() } } -::windows::core::interface_hierarchy!(IShellDetails, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellDetails, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellDetails { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -27925,7 +27925,7 @@ impl IShellDispatch { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellDispatch, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IShellDispatch, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellDispatch { fn eq(&self, other: &Self) -> bool { @@ -28148,7 +28148,7 @@ impl IShellDispatch2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellDispatch2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch); +::windows::imp::interface_hierarchy!(IShellDispatch2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellDispatch2 { fn eq(&self, other: &Self) -> bool { @@ -28362,7 +28362,7 @@ impl IShellDispatch3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellDispatch3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2); +::windows::imp::interface_hierarchy!(IShellDispatch3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellDispatch3 { fn eq(&self, other: &Self) -> bool { @@ -28568,7 +28568,7 @@ impl IShellDispatch4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellDispatch4, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3); +::windows::imp::interface_hierarchy!(IShellDispatch4, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellDispatch4 { fn eq(&self, other: &Self) -> bool { @@ -28783,7 +28783,7 @@ impl IShellDispatch5 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellDispatch5, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3, IShellDispatch4); +::windows::imp::interface_hierarchy!(IShellDispatch5, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3, IShellDispatch4); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellDispatch5 { fn eq(&self, other: &Self) -> bool { @@ -28992,7 +28992,7 @@ impl IShellDispatch6 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellDispatch6, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3, IShellDispatch4, IShellDispatch5); +::windows::imp::interface_hierarchy!(IShellDispatch6, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3, IShellDispatch4, IShellDispatch5); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellDispatch6 { fn eq(&self, other: &Self) -> bool { @@ -29042,7 +29042,7 @@ impl IShellExtInit { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pidlfolder.unwrap_or(::std::ptr::null())), pdtobj.into().abi(), hkeyprogid.into()).ok() } } -::windows::core::interface_hierarchy!(IShellExtInit, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellExtInit, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellExtInit { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29130,7 +29130,7 @@ impl IShellFavoritesNameSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellFavoritesNameSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IShellFavoritesNameSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellFavoritesNameSpace { fn eq(&self, other: &Self) -> bool { @@ -29277,7 +29277,7 @@ impl IShellFolder { (::windows::core::Vtable::vtable(self).SetNameOf)(::windows::core::Vtable::as_raw(self), hwnd.into(), pidl, pszname.into().abi(), uflags, ::core::mem::transmute(ppidlout.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IShellFolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellFolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellFolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29466,7 +29466,7 @@ impl IShellFolder2 { (::windows::core::Vtable::vtable(self).MapColumnToSCID)(::windows::core::Vtable::as_raw(self), icolumn, pscid).ok() } } -::windows::core::interface_hierarchy!(IShellFolder2, ::windows::core::IUnknown, IShellFolder); +::windows::imp::interface_hierarchy!(IShellFolder2, ::windows::core::IUnknown, IShellFolder); impl ::core::cmp::PartialEq for IShellFolder2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29533,7 +29533,7 @@ impl IShellFolderBand { (::windows::core::Vtable::vtable(self).GetBandInfoSFB)(::windows::core::Vtable::as_raw(self), pbi).ok() } } -::windows::core::interface_hierarchy!(IShellFolderBand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellFolderBand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellFolderBand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29736,7 +29736,7 @@ impl IShellFolderView { (::windows::core::Vtable::vtable(self).SetAutomationObject)(::windows::core::Vtable::as_raw(self), pdisp.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IShellFolderView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellFolderView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellFolderView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29860,7 +29860,7 @@ impl IShellFolderViewCB { (::windows::core::Vtable::vtable(self).MessageSFVCB)(::windows::core::Vtable::as_raw(self), umsg, wparam.into(), lparam.into()).ok() } } -::windows::core::interface_hierarchy!(IShellFolderViewCB, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellFolderViewCB, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellFolderViewCB { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -29954,7 +29954,7 @@ impl IShellFolderViewDual { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellFolderViewDual, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IShellFolderViewDual, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellFolderViewDual { fn eq(&self, other: &Self) -> bool { @@ -30094,7 +30094,7 @@ impl IShellFolderViewDual2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellFolderViewDual2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellFolderViewDual); +::windows::imp::interface_hierarchy!(IShellFolderViewDual2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellFolderViewDual); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellFolderViewDual2 { fn eq(&self, other: &Self) -> bool { @@ -30235,7 +30235,7 @@ impl IShellFolderViewDual3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellFolderViewDual3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellFolderViewDual, IShellFolderViewDual2); +::windows::imp::interface_hierarchy!(IShellFolderViewDual3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellFolderViewDual, IShellFolderViewDual2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellFolderViewDual3 { fn eq(&self, other: &Self) -> bool { @@ -30290,7 +30290,7 @@ impl IShellIcon { (::windows::core::Vtable::vtable(self).GetIconOf)(::windows::core::Vtable::as_raw(self), pidl, flags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellIcon, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellIcon, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellIcon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30337,7 +30337,7 @@ impl IShellIconOverlay { (::windows::core::Vtable::vtable(self).GetOverlayIconIndex)(::windows::core::Vtable::as_raw(self), pidl, piconindex).ok() } } -::windows::core::interface_hierarchy!(IShellIconOverlay, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellIconOverlay, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellIconOverlay { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30391,7 +30391,7 @@ impl IShellIconOverlayIdentifier { (::windows::core::Vtable::vtable(self).GetPriority)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellIconOverlayIdentifier, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellIconOverlayIdentifier, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellIconOverlayIdentifier { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30453,7 +30453,7 @@ impl IShellIconOverlayManager { (::windows::core::Vtable::vtable(self).OverlayIndexFromImageIndex)(::windows::core::Vtable::as_raw(self), iimage, piindex, fadd.into()).ok() } } -::windows::core::interface_hierarchy!(IShellIconOverlayManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellIconOverlayManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellIconOverlayManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30606,7 +30606,7 @@ impl IShellImageData { (::windows::core::Vtable::vtable(self).ReplaceFrame)(::windows::core::Vtable::as_raw(self), pimg).ok() } } -::windows::core::interface_hierarchy!(IShellImageData, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellImageData, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellImageData { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30684,7 +30684,7 @@ impl IShellImageDataAbort { (::windows::core::Vtable::vtable(self).QueryAbort)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IShellImageDataAbort, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellImageDataAbort, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellImageDataAbort { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30745,7 +30745,7 @@ impl IShellImageDataFactory { (::windows::core::Vtable::vtable(self).GetDataFormatFromPath)(::windows::core::Vtable::as_raw(self), pszpath.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellImageDataFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellImageDataFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellImageDataFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30816,7 +30816,7 @@ impl IShellItem { (::windows::core::Vtable::vtable(self).Compare)(::windows::core::Vtable::as_raw(self), psi.into().abi(), hint, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -30984,7 +30984,7 @@ impl IShellItem2 { (::windows::core::Vtable::vtable(self).GetBool)(::windows::core::Vtable::as_raw(self), key, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellItem2, ::windows::core::IUnknown, IShellItem); +::windows::imp::interface_hierarchy!(IShellItem2, ::windows::core::IUnknown, IShellItem); impl ::core::cmp::PartialEq for IShellItem2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31115,7 +31115,7 @@ impl IShellItemArray { (::windows::core::Vtable::vtable(self).EnumItems)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellItemArray, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellItemArray, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellItemArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31180,7 +31180,7 @@ impl IShellItemFilter { (::windows::core::Vtable::vtable(self).GetEnumFlagsForItem)(::windows::core::Vtable::as_raw(self), psi.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellItemFilter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellItemFilter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellItemFilter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31221,7 +31221,7 @@ impl IShellItemImageFactory { (::windows::core::Vtable::vtable(self).GetImage)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(size), flags, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellItemImageFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellItemImageFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellItemImageFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31304,7 +31304,7 @@ impl IShellItemResources { (::windows::core::Vtable::vtable(self).MarkForDelete)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IShellItemResources, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellItemResources, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellItemResources { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31444,7 +31444,7 @@ impl IShellLibrary { (::windows::core::Vtable::vtable(self).SaveInKnownFolder)(::windows::core::Vtable::as_raw(self), kfidtosavein, pszlibraryname.into().abi(), lsf, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IShellLibrary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellLibrary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellLibrary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31580,7 +31580,7 @@ impl IShellLinkA { (::windows::core::Vtable::vtable(self).SetPath)(::windows::core::Vtable::as_raw(self), pszfile.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IShellLinkA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellLinkA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellLinkA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31659,7 +31659,7 @@ impl IShellLinkDataList { (::windows::core::Vtable::vtable(self).SetFlags)(::windows::core::Vtable::as_raw(self), dwflags).ok() } } -::windows::core::interface_hierarchy!(IShellLinkDataList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellLinkDataList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellLinkDataList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -31756,7 +31756,7 @@ impl IShellLinkDual { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellLinkDual, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IShellLinkDual, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellLinkDual { fn eq(&self, other: &Self) -> bool { @@ -31880,7 +31880,7 @@ impl IShellLinkDual2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellLinkDual2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellLinkDual); +::windows::imp::interface_hierarchy!(IShellLinkDual2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellLinkDual); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellLinkDual2 { fn eq(&self, other: &Self) -> bool { @@ -32010,7 +32010,7 @@ impl IShellLinkW { (::windows::core::Vtable::vtable(self).SetPath)(::windows::core::Vtable::as_raw(self), pszfile.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IShellLinkW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellLinkW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellLinkW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32126,7 +32126,7 @@ impl IShellMenu { (::windows::core::Vtable::vtable(self).SetMenuToolbar)(::windows::core::Vtable::as_raw(self), punk.into().abi(), dwflags).ok() } } -::windows::core::interface_hierarchy!(IShellMenu, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellMenu, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellMenu { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32195,7 +32195,7 @@ impl IShellMenuCallback { (::windows::core::Vtable::vtable(self).CallbackSM)(::windows::core::Vtable::as_raw(self), psmd, umsg, wparam.into(), lparam.into()).ok() } } -::windows::core::interface_hierarchy!(IShellMenuCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellMenuCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellMenuCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32371,7 +32371,7 @@ impl IShellNameSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellNameSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellFavoritesNameSpace); +::windows::imp::interface_hierarchy!(IShellNameSpace, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellFavoritesNameSpace); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellNameSpace { fn eq(&self, other: &Self) -> bool { @@ -32466,7 +32466,7 @@ impl IShellPropSheetExt { (::windows::core::Vtable::vtable(self).ReplacePage)(::windows::core::Vtable::as_raw(self), upageid, pfnreplacewith, lparam.into()).ok() } } -::windows::core::interface_hierarchy!(IShellPropSheetExt, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellPropSheetExt, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellPropSheetExt { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32513,7 +32513,7 @@ impl IShellRunDll { (::windows::core::Vtable::vtable(self).Run)(::windows::core::Vtable::as_raw(self), pszargs.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IShellRunDll, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellRunDll, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellRunDll { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32553,7 +32553,7 @@ impl IShellService { (::windows::core::Vtable::vtable(self).SetOwner)(::windows::core::Vtable::as_raw(self), punkowner.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IShellService, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellService, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellService { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32607,7 +32607,7 @@ impl IShellTaskScheduler { (::windows::core::Vtable::vtable(self).Status)(::windows::core::Vtable::as_raw(self), dwreleasestatus, dwthreadtimeout).ok() } } -::windows::core::interface_hierarchy!(IShellTaskScheduler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IShellTaskScheduler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IShellTaskScheduler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -32712,7 +32712,7 @@ impl IShellUIHelper { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IShellUIHelper, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper { fn eq(&self, other: &Self) -> bool { @@ -32937,7 +32937,7 @@ impl IShellUIHelper2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper); +::windows::imp::interface_hierarchy!(IShellUIHelper2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper2 { fn eq(&self, other: &Self) -> bool { @@ -33222,7 +33222,7 @@ impl IShellUIHelper3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2); +::windows::imp::interface_hierarchy!(IShellUIHelper3, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper3 { fn eq(&self, other: &Self) -> bool { @@ -33588,7 +33588,7 @@ impl IShellUIHelper4 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper4, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3); +::windows::imp::interface_hierarchy!(IShellUIHelper4, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper4 { fn eq(&self, other: &Self) -> bool { @@ -34000,7 +34000,7 @@ impl IShellUIHelper5 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper5, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4); +::windows::imp::interface_hierarchy!(IShellUIHelper5, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper5 { fn eq(&self, other: &Self) -> bool { @@ -34450,7 +34450,7 @@ impl IShellUIHelper6 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper6, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5); +::windows::imp::interface_hierarchy!(IShellUIHelper6, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper6 { fn eq(&self, other: &Self) -> bool { @@ -34980,7 +34980,7 @@ impl IShellUIHelper7 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper7, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6); +::windows::imp::interface_hierarchy!(IShellUIHelper7, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper7 { fn eq(&self, other: &Self) -> bool { @@ -35521,7 +35521,7 @@ impl IShellUIHelper8 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper8, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6, IShellUIHelper7); +::windows::imp::interface_hierarchy!(IShellUIHelper8, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6, IShellUIHelper7); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper8 { fn eq(&self, other: &Self) -> bool { @@ -36046,7 +36046,7 @@ impl IShellUIHelper9 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellUIHelper9, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6, IShellUIHelper7, IShellUIHelper8); +::windows::imp::interface_hierarchy!(IShellUIHelper9, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6, IShellUIHelper7, IShellUIHelper8); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellUIHelper9 { fn eq(&self, other: &Self) -> bool { @@ -36163,7 +36163,7 @@ impl IShellView { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IShellView, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); +::windows::imp::interface_hierarchy!(IShellView, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IShellView { fn eq(&self, other: &Self) -> bool { @@ -36323,7 +36323,7 @@ impl IShellView2 { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IShellView2, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IShellView); +::windows::imp::interface_hierarchy!(IShellView2, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IShellView); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IShellView2 { fn eq(&self, other: &Self) -> bool { @@ -36480,7 +36480,7 @@ impl IShellView3 { } } #[cfg(feature = "Win32_System_Ole")] -::windows::core::interface_hierarchy!(IShellView3, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IShellView, IShellView2); +::windows::imp::interface_hierarchy!(IShellView3, ::windows::core::IUnknown, super::super::System::Ole::IOleWindow, IShellView, IShellView2); #[cfg(feature = "Win32_System_Ole")] impl ::core::cmp::PartialEq for IShellView3 { fn eq(&self, other: &Self) -> bool { @@ -36591,7 +36591,7 @@ impl IShellWindows { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IShellWindows, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IShellWindows, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IShellWindows { fn eq(&self, other: &Self) -> bool { @@ -36676,7 +36676,7 @@ impl ISortColumnArray { (::windows::core::Vtable::vtable(self).GetSortType)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISortColumnArray, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISortColumnArray, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISortColumnArray { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -36721,7 +36721,7 @@ impl IStartMenuPinnedList { (::windows::core::Vtable::vtable(self).RemoveFromList)(::windows::core::Vtable::as_raw(self), pitem.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IStartMenuPinnedList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStartMenuPinnedList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStartMenuPinnedList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -36784,7 +36784,7 @@ impl IStorageProviderBanners { (::windows::core::Vtable::vtable(self).GetBanner)(::windows::core::Vtable::as_raw(self), provideridentity.into().abi(), subscriptionid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStorageProviderBanners, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStorageProviderBanners, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStorageProviderBanners { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -36832,7 +36832,7 @@ impl IStorageProviderCopyHook { (::windows::core::Vtable::vtable(self).CopyCallback)(::windows::core::Vtable::as_raw(self), hwnd.into(), operation, flags, srcfile.into().abi(), srcattribs, destfile.into().abi(), destattribs, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStorageProviderCopyHook, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStorageProviderCopyHook, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStorageProviderCopyHook { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -36890,7 +36890,7 @@ impl IStorageProviderHandler { (::windows::core::Vtable::vtable(self).GetPropertyHandlerFromFileId)(::windows::core::Vtable::as_raw(self), fileid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStorageProviderHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStorageProviderHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStorageProviderHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -36940,7 +36940,7 @@ impl IStorageProviderPropertyHandler { (::windows::core::Vtable::vtable(self).SaveProperties)(::windows::core::Vtable::as_raw(self), propertiestosave.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IStorageProviderPropertyHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStorageProviderPropertyHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStorageProviderPropertyHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37064,7 +37064,7 @@ impl IStreamAsync { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IStreamAsync, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); +::windows::imp::interface_hierarchy!(IStreamAsync, ::windows::core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IStreamAsync { fn eq(&self, other: &Self) -> bool { @@ -37121,7 +37121,7 @@ impl IStreamUnbufferedInfo { (::windows::core::Vtable::vtable(self).GetSectorSize)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStreamUnbufferedInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStreamUnbufferedInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStreamUnbufferedInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37179,7 +37179,7 @@ impl ISuspensionDependencyManager { (::windows::core::Vtable::vtable(self).UngroupChildFromParent)(::windows::core::Vtable::as_raw(self), childprocesshandle.into()).ok() } } -::windows::core::interface_hierarchy!(ISuspensionDependencyManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISuspensionDependencyManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISuspensionDependencyManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37253,7 +37253,7 @@ impl ISyncMgrConflict { (::windows::core::Vtable::vtable(self).GetResolutionHandler)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrConflict, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrConflict, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrConflict { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37306,7 +37306,7 @@ impl ISyncMgrConflictFolder { (::windows::core::Vtable::vtable(self).GetConflictIDList)(::windows::core::Vtable::as_raw(self), pconflict.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrConflictFolder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrConflictFolder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrConflictFolder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37350,7 +37350,7 @@ impl ISyncMgrConflictItems { (::windows::core::Vtable::vtable(self).GetItem)(::windows::core::Vtable::as_raw(self), iindex, piteminfo).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrConflictItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrConflictItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrConflictItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37392,7 +37392,7 @@ impl ISyncMgrConflictPresenter { (::windows::core::Vtable::vtable(self).PresentConflict)(::windows::core::Vtable::as_raw(self), pconflict.into().abi(), presolveinfo.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrConflictPresenter, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrConflictPresenter, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrConflictPresenter { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37434,7 +37434,7 @@ impl ISyncMgrConflictResolutionItems { (::windows::core::Vtable::vtable(self).GetItem)(::windows::core::Vtable::as_raw(self), iindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrConflictResolutionItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrConflictResolutionItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrConflictResolutionItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37503,7 +37503,7 @@ impl ISyncMgrConflictResolveInfo { (::windows::core::Vtable::vtable(self).SetItemChoices)(::windows::core::Vtable::as_raw(self), prgiconflictitemindexes, cchoices).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrConflictResolveInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrConflictResolveInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrConflictResolveInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37580,7 +37580,7 @@ impl ISyncMgrConflictStore { (::windows::core::Vtable::vtable(self).GetCount)(::windows::core::Vtable::as_raw(self), pszhandlerid.into().abi(), pszitemid.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrConflictStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrConflictStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrConflictStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37737,7 +37737,7 @@ impl ISyncMgrControl { (::windows::core::Vtable::vtable(self).EnableItem)(::windows::core::Vtable::as_raw(self), fenable.into(), pszhandlerid.into().abi(), pszitemid.into().abi(), hwndowner.into(), ncontrolflags).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37818,7 +37818,7 @@ impl ISyncMgrEnumItems { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrEnumItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrEnumItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrEnumItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37904,7 +37904,7 @@ impl ISyncMgrEvent { (::windows::core::Vtable::vtable(self).GetContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrEvent, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrEvent, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrEvent { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -37965,7 +37965,7 @@ impl ISyncMgrEventLinkUIOperation { (::windows::core::Vtable::vtable(self).Init)(::windows::core::Vtable::as_raw(self), rguideventid, pevent.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrEventLinkUIOperation, ::windows::core::IUnknown, ISyncMgrUIOperation); +::windows::imp::interface_hierarchy!(ISyncMgrEventLinkUIOperation, ::windows::core::IUnknown, ISyncMgrUIOperation); impl ::core::cmp::PartialEq for ISyncMgrEventLinkUIOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38014,7 +38014,7 @@ impl ISyncMgrEventStore { (::windows::core::Vtable::vtable(self).RemoveEvent)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pguideventids.as_ptr()), pguideventids.len() as _).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrEventStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrEventStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrEventStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38100,7 +38100,7 @@ impl ISyncMgrHandler { (::windows::core::Vtable::vtable(self).Synchronize)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(ppszitemids.as_ptr()), ppszitemids.len() as _, hwndowner.into(), psessioncreator.into().abi(), punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38164,7 +38164,7 @@ impl ISyncMgrHandlerCollection { (::windows::core::Vtable::vtable(self).BindToHandler)(::windows::core::Vtable::as_raw(self), pszhandlerid.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrHandlerCollection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrHandlerCollection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrHandlerCollection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38229,7 +38229,7 @@ impl ISyncMgrHandlerInfo { (::windows::core::Vtable::vtable(self).IsConnected)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrHandlerInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrHandlerInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrHandlerInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38284,7 +38284,7 @@ impl ISyncMgrRegister { (::windows::core::Vtable::vtable(self).GetHandlerRegistrationInfo)(::windows::core::Vtable::as_raw(self), clsidhandler, pdwsyncmgrregisterflags).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrRegister, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrRegister, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrRegister { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38346,7 +38346,7 @@ impl ISyncMgrResolutionHandler { (::windows::core::Vtable::vtable(self).KeepItems)(::windows::core::Vtable::as_raw(self), parray.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrResolutionHandler, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrResolutionHandler, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrResolutionHandler { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38398,7 +38398,7 @@ impl ISyncMgrScheduleWizardUIOperation { (::windows::core::Vtable::vtable(self).InitWizard)(::windows::core::Vtable::as_raw(self), pszhandlerid.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrScheduleWizardUIOperation, ::windows::core::IUnknown, ISyncMgrUIOperation); +::windows::imp::interface_hierarchy!(ISyncMgrScheduleWizardUIOperation, ::windows::core::IUnknown, ISyncMgrUIOperation); impl ::core::cmp::PartialEq for ISyncMgrScheduleWizardUIOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38439,7 +38439,7 @@ impl ISyncMgrSessionCreator { (::windows::core::Vtable::vtable(self).CreateSession)(::windows::core::Vtable::as_raw(self), pszhandlerid.into().abi(), ::core::mem::transmute(ppszitemids.as_ptr()), ppszitemids.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrSessionCreator, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSessionCreator, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSessionCreator { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38536,7 +38536,7 @@ impl ISyncMgrSyncCallback { (::windows::core::Vtable::vtable(self).ReportManualSync)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrSyncCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSyncCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSyncCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38620,7 +38620,7 @@ impl ISyncMgrSyncItem { (::windows::core::Vtable::vtable(self).Delete)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrSyncItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSyncItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSyncItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38679,7 +38679,7 @@ impl ISyncMgrSyncItemContainer { (::windows::core::Vtable::vtable(self).GetSyncItemCount)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ISyncMgrSyncItemContainer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSyncItemContainer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSyncItemContainer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38735,7 +38735,7 @@ impl ISyncMgrSyncItemInfo { (::windows::core::Vtable::vtable(self).IsConnected)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrSyncItemInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSyncItemInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSyncItemInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38779,7 +38779,7 @@ impl ISyncMgrSyncResult { (::windows::core::Vtable::vtable(self).Result)(::windows::core::Vtable::as_raw(self), nstatus, cerror, cconflicts).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrSyncResult, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSyncResult, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSyncResult { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38874,7 +38874,7 @@ impl ISyncMgrSynchronize { (::windows::core::Vtable::vtable(self).ShowError)(::windows::core::Vtable::as_raw(self), hwndparent.into(), errorid).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrSynchronize, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSynchronize, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSynchronize { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -38970,7 +38970,7 @@ impl ISyncMgrSynchronizeCallback { (::windows::core::Vtable::vtable(self).EstablishConnection)(::windows::core::Vtable::as_raw(self), pwszconnection.into().abi(), dwreserved).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrSynchronizeCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSynchronizeCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSynchronizeCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39021,7 +39021,7 @@ impl ISyncMgrSynchronizeInvoke { (::windows::core::Vtable::vtable(self).UpdateAll)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrSynchronizeInvoke, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrSynchronizeInvoke, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrSynchronizeInvoke { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39064,7 +39064,7 @@ impl ISyncMgrUIOperation { (::windows::core::Vtable::vtable(self).Run)(::windows::core::Vtable::as_raw(self), hwndowner.into()).ok() } } -::windows::core::interface_hierarchy!(ISyncMgrUIOperation, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISyncMgrUIOperation, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISyncMgrUIOperation { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39136,7 +39136,7 @@ impl ITaskbarList { (::windows::core::Vtable::vtable(self).SetActiveAlt)(::windows::core::Vtable::as_raw(self), hwnd.into()).ok() } } -::windows::core::interface_hierarchy!(ITaskbarList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITaskbarList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITaskbarList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39230,7 +39230,7 @@ impl ITaskbarList2 { (::windows::core::Vtable::vtable(self).MarkFullscreenWindow)(::windows::core::Vtable::as_raw(self), hwnd.into(), ffullscreen.into()).ok() } } -::windows::core::interface_hierarchy!(ITaskbarList2, ::windows::core::IUnknown, ITaskbarList); +::windows::imp::interface_hierarchy!(ITaskbarList2, ::windows::core::IUnknown, ITaskbarList); impl ::core::cmp::PartialEq for ITaskbarList2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39414,7 +39414,7 @@ impl ITaskbarList3 { (::windows::core::Vtable::vtable(self).SetThumbnailClip)(::windows::core::Vtable::as_raw(self), hwnd.into(), prcclip).ok() } } -::windows::core::interface_hierarchy!(ITaskbarList3, ::windows::core::IUnknown, ITaskbarList, ITaskbarList2); +::windows::imp::interface_hierarchy!(ITaskbarList3, ::windows::core::IUnknown, ITaskbarList, ITaskbarList2); impl ::core::cmp::PartialEq for ITaskbarList3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39650,7 +39650,7 @@ impl ITaskbarList4 { (::windows::core::Vtable::vtable(self).SetTabProperties)(::windows::core::Vtable::as_raw(self), hwndtab.into(), stpflags).ok() } } -::windows::core::interface_hierarchy!(ITaskbarList4, ::windows::core::IUnknown, ITaskbarList, ITaskbarList2, ITaskbarList3); +::windows::imp::interface_hierarchy!(ITaskbarList4, ::windows::core::IUnknown, ITaskbarList, ITaskbarList2, ITaskbarList3); impl ::core::cmp::PartialEq for ITaskbarList4 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39696,7 +39696,7 @@ impl IThumbnailCache { (::windows::core::Vtable::vtable(self).GetThumbnailByID)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(thumbnailid), cxyrequestedthumbsize, ::core::mem::transmute(ppvthumb.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poutflags.unwrap_or(::std::ptr::null_mut()))).ok() } } -::windows::core::interface_hierarchy!(IThumbnailCache, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThumbnailCache, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThumbnailCache { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39737,7 +39737,7 @@ impl IThumbnailCachePrimer { (::windows::core::Vtable::vtable(self).PageInThumbnail)(::windows::core::Vtable::as_raw(self), psi.into().abi(), wtsflags, cxyrequestedthumbsize).ok() } } -::windows::core::interface_hierarchy!(IThumbnailCachePrimer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThumbnailCachePrimer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThumbnailCachePrimer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39780,7 +39780,7 @@ impl IThumbnailCapture { (::windows::core::Vtable::vtable(self).CaptureThumbnail)(::windows::core::Vtable::as_raw(self), pmaxsize, phtmldoc2.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IThumbnailCapture, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThumbnailCapture, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThumbnailCapture { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39827,7 +39827,7 @@ impl IThumbnailHandlerFactory { (::windows::core::Vtable::vtable(self).GetThumbnailHandler)(::windows::core::Vtable::as_raw(self), pidlchild, pbc.into().abi(), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IThumbnailHandlerFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThumbnailHandlerFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThumbnailHandlerFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39869,7 +39869,7 @@ impl IThumbnailProvider { (::windows::core::Vtable::vtable(self).GetThumbnail)(::windows::core::Vtable::as_raw(self), cx, phbmp, pdwalpha).ok() } } -::windows::core::interface_hierarchy!(IThumbnailProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThumbnailProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThumbnailProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39909,7 +39909,7 @@ impl IThumbnailSettings { (::windows::core::Vtable::vtable(self).SetContext)(::windows::core::Vtable::as_raw(self), dwcontext).ok() } } -::windows::core::interface_hierarchy!(IThumbnailSettings, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThumbnailSettings, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThumbnailSettings { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -39960,7 +39960,7 @@ impl IThumbnailStreamCache { (::windows::core::Vtable::vtable(self).SetThumbnailStream)(::windows::core::Vtable::as_raw(self), path.into().abi(), cacheid, ::core::mem::transmute(thumbnailsize), thumbnailstream.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IThumbnailStreamCache, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IThumbnailStreamCache, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IThumbnailStreamCache { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40071,7 +40071,7 @@ impl ITrackShellMenu { (::windows::core::Vtable::vtable(self).Popup)(::windows::core::Vtable::as_raw(self), hwnd.into(), ppt, prcexclude, dwflags).ok() } } -::windows::core::interface_hierarchy!(ITrackShellMenu, ::windows::core::IUnknown, IShellMenu); +::windows::imp::interface_hierarchy!(ITrackShellMenu, ::windows::core::IUnknown, IShellMenu); impl ::core::cmp::PartialEq for ITrackShellMenu { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40121,7 +40121,7 @@ impl ITranscodeImage { (::windows::core::Vtable::vtable(self).TranscodeImage)(::windows::core::Vtable::as_raw(self), pshellitem.into().abi(), uimaxwidth, uimaxheight, flags, pvimage.into().abi(), puiwidth, puiheight).ok() } } -::windows::core::interface_hierarchy!(ITranscodeImage, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITranscodeImage, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITranscodeImage { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40200,7 +40200,7 @@ impl ITransferAdviseSink { (::windows::core::Vtable::vtable(self).PropertyFailure)(::windows::core::Vtable::as_raw(self), psi.into().abi(), pkey, hrerror).ok() } } -::windows::core::interface_hierarchy!(ITransferAdviseSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransferAdviseSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransferAdviseSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40259,7 +40259,7 @@ impl ITransferDestination { (::windows::core::Vtable::vtable(self).CreateItem)(::windows::core::Vtable::as_raw(self), pszname.into().abi(), dwattributes, ullsize, flags, riiditem, ppvitem, riidresources, ppvresources).ok() } } -::windows::core::interface_hierarchy!(ITransferDestination, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransferDestination, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransferDestination { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40305,7 +40305,7 @@ impl ITransferMediumItem { (::windows::core::Vtable::vtable(self).base__.GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITransferMediumItem, ::windows::core::IUnknown, IRelatedItem); +::windows::imp::interface_hierarchy!(ITransferMediumItem, ::windows::core::IUnknown, IRelatedItem); impl ::core::cmp::PartialEq for ITransferMediumItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40429,7 +40429,7 @@ impl ITransferSource { (::windows::core::Vtable::vtable(self).LeaveFolder)(::windows::core::Vtable::as_raw(self), psichildfolderdest.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITransferSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITransferSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITransferSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40499,7 +40499,7 @@ impl ITravelEntry { (::windows::core::Vtable::vtable(self).GetPidl)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITravelEntry, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITravelEntry, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITravelEntry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40615,7 +40615,7 @@ impl ITravelLog { (::windows::core::Vtable::vtable(self).Revert)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITravelLog, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITravelLog, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITravelLog { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40689,7 +40689,7 @@ impl ITravelLogClient { (::windows::core::Vtable::vtable(self).LoadHistoryPosition)(::windows::core::Vtable::as_raw(self), pszurllocation.into().abi(), dwposition).ok() } } -::windows::core::interface_hierarchy!(ITravelLogClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITravelLogClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITravelLogClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40736,7 +40736,7 @@ impl ITravelLogEntry { (::windows::core::Vtable::vtable(self).GetURL)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITravelLogEntry, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITravelLogEntry, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITravelLogEntry { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40814,7 +40814,7 @@ impl ITravelLogStg { (::windows::core::Vtable::vtable(self).GetRelativeEntry)(::windows::core::Vtable::as_raw(self), ioffset, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITravelLogStg, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITravelLogStg, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITravelLogStg { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40869,7 +40869,7 @@ impl ITrayDeskBand { (::windows::core::Vtable::vtable(self).DeskBandRegistrationChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITrayDeskBand, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITrayDeskBand, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITrayDeskBand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40909,7 +40909,7 @@ impl IURLSearchHook { (::windows::core::Vtable::vtable(self).Translate)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwszsearchurl.as_ptr()), pwszsearchurl.len() as _).ok() } } -::windows::core::interface_hierarchy!(IURLSearchHook, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IURLSearchHook, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IURLSearchHook { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -40952,7 +40952,7 @@ impl IURLSearchHook2 { (::windows::core::Vtable::vtable(self).TranslateWithSearchContext)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pwszsearchurl.as_ptr()), pwszsearchurl.len() as _, psearchcontext.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IURLSearchHook2, ::windows::core::IUnknown, IURLSearchHook); +::windows::imp::interface_hierarchy!(IURLSearchHook2, ::windows::core::IUnknown, IURLSearchHook); impl ::core::cmp::PartialEq for IURLSearchHook2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41001,7 +41001,7 @@ impl IUniformResourceLocatorA { (::windows::core::Vtable::vtable(self).InvokeCommand)(::windows::core::Vtable::as_raw(self), purlici).ok() } } -::windows::core::interface_hierarchy!(IUniformResourceLocatorA, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUniformResourceLocatorA, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUniformResourceLocatorA { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41055,7 +41055,7 @@ impl IUniformResourceLocatorW { (::windows::core::Vtable::vtable(self).InvokeCommand)(::windows::core::Vtable::as_raw(self), purlici).ok() } } -::windows::core::interface_hierarchy!(IUniformResourceLocatorW, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUniformResourceLocatorW, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUniformResourceLocatorW { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41103,7 +41103,7 @@ impl IUpdateIDList { (::windows::core::Vtable::vtable(self).Update)(::windows::core::Vtable::as_raw(self), pbc.into().abi(), pidlin, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUpdateIDList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUpdateIDList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUpdateIDList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41150,7 +41150,7 @@ impl IUseToBrowseItem { (::windows::core::Vtable::vtable(self).base__.GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IUseToBrowseItem, ::windows::core::IUnknown, IRelatedItem); +::windows::imp::interface_hierarchy!(IUseToBrowseItem, ::windows::core::IUnknown, IRelatedItem); impl ::core::cmp::PartialEq for IUseToBrowseItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41189,7 +41189,7 @@ impl IUserAccountChangeCallback { (::windows::core::Vtable::vtable(self).OnPictureChange)(::windows::core::Vtable::as_raw(self), pszusername.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUserAccountChangeCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUserAccountChangeCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUserAccountChangeCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41254,7 +41254,7 @@ impl IUserNotification { (::windows::core::Vtable::vtable(self).PlaySound)(::windows::core::Vtable::as_raw(self), pszsoundname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUserNotification, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUserNotification, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUserNotification { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41327,7 +41327,7 @@ impl IUserNotification2 { (::windows::core::Vtable::vtable(self).PlaySound)(::windows::core::Vtable::as_raw(self), pszsoundname.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IUserNotification2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUserNotification2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUserNotification2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41383,7 +41383,7 @@ impl IUserNotificationCallback { (::windows::core::Vtable::vtable(self).OnContextMenu)(::windows::core::Vtable::as_raw(self), pt).ok() } } -::windows::core::interface_hierarchy!(IUserNotificationCallback, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUserNotificationCallback, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUserNotificationCallback { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41438,7 +41438,7 @@ impl IViewStateIdentityItem { (::windows::core::Vtable::vtable(self).base__.GetItem)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IViewStateIdentityItem, ::windows::core::IUnknown, IRelatedItem); +::windows::imp::interface_hierarchy!(IViewStateIdentityItem, ::windows::core::IUnknown, IRelatedItem); impl ::core::cmp::PartialEq for IViewStateIdentityItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41497,7 +41497,7 @@ impl IVirtualDesktopManager { (::windows::core::Vtable::vtable(self).MoveWindowToDesktop)(::windows::core::Vtable::as_raw(self), toplevelwindow.into(), desktopid).ok() } } -::windows::core::interface_hierarchy!(IVirtualDesktopManager, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVirtualDesktopManager, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVirtualDesktopManager { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41591,7 +41591,7 @@ impl IVisualProperties { (::windows::core::Vtable::vtable(self).SetTheme)(::windows::core::Vtable::as_raw(self), pszsubappname.into().abi(), pszsubidlist.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IVisualProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVisualProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVisualProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -41754,7 +41754,7 @@ impl IWebBrowser { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWebBrowser, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWebBrowser, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWebBrowser { fn eq(&self, other: &Self) -> bool { @@ -42180,7 +42180,7 @@ impl IWebBrowser2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWebBrowser2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser, IWebBrowserApp); +::windows::imp::interface_hierarchy!(IWebBrowser2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser, IWebBrowserApp); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWebBrowser2 { fn eq(&self, other: &Self) -> bool { @@ -42508,7 +42508,7 @@ impl IWebBrowserApp { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWebBrowserApp, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser); +::windows::imp::interface_hierarchy!(IWebBrowserApp, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWebBrowserApp { fn eq(&self, other: &Self) -> bool { @@ -42630,7 +42630,7 @@ impl IWebWizardExtension { (::windows::core::Vtable::vtable(self).SetErrorURL)(::windows::core::Vtable::as_raw(self), pszerrorurl.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IWebWizardExtension, ::windows::core::IUnknown, IWizardExtension); +::windows::imp::interface_hierarchy!(IWebWizardExtension, ::windows::core::IUnknown, IWizardExtension); impl ::core::cmp::PartialEq for IWebWizardExtension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42708,7 +42708,7 @@ impl IWebWizardHost { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWebWizardHost, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IWebWizardHost, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWebWizardHost { fn eq(&self, other: &Self) -> bool { @@ -42813,7 +42813,7 @@ impl IWebWizardHost2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IWebWizardHost2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWebWizardHost); +::windows::imp::interface_hierarchy!(IWebWizardHost2, ::windows::core::IUnknown, super::super::System::Com::IDispatch, IWebWizardHost); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IWebWizardHost2 { fn eq(&self, other: &Self) -> bool { @@ -42871,7 +42871,7 @@ impl IWizardExtension { (::windows::core::Vtable::vtable(self).GetLastPage)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWizardExtension, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWizardExtension, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWizardExtension { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -42934,7 +42934,7 @@ impl IWizardSite { (::windows::core::Vtable::vtable(self).GetCancelledPage)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IWizardSite, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IWizardSite, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IWizardSite { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs index c550b5b7bf..c4b1fd356f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn AddStroke(hrc: P0, ppacketdesc: *const PACKET_DESCRIPTION, cbp where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn AddStroke ( hrc : HRECOCONTEXT , ppacketdesc : *const PACKET_DESCRIPTION , cbpacket : u32 , ppacket : *const u8 , pxform : *const super::super::Graphics::Gdi:: XFORM ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn AddStroke ( hrc : HRECOCONTEXT , ppacketdesc : *const PACKET_DESCRIPTION , cbpacket : u32 , ppacket : *const u8 , pxform : *const super::super::Graphics::Gdi:: XFORM ) -> :: windows::core::HRESULT ); AddStroke(hrc.into(), ppacketdesc, cbpacket, ppacket, pxform).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -15,7 +15,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn AddWordsToWordList ( hwl : HRECOWORDLIST , pwcwords : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn AddWordsToWordList ( hwl : HRECOWORDLIST , pwcwords : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); AddWordsToWordList(hwl.into(), pwcwords.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`*"] @@ -26,7 +26,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn AdviseInkChange ( hrc : HRECOCONTEXT , bnewstroke : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn AdviseInkChange ( hrc : HRECOCONTEXT , bnewstroke : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); AdviseInkChange(hrc.into(), bnewstroke.into()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -35,13 +35,13 @@ pub unsafe fn CreateContext(hrec: P0, phrc: *mut HRECOCONTEXT) -> ::windows: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn CreateContext ( hrec : HRECOGNIZER , phrc : *mut HRECOCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn CreateContext ( hrec : HRECOGNIZER , phrc : *mut HRECOCONTEXT ) -> :: windows::core::HRESULT ); CreateContext(hrec.into(), phrc).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[inline] pub unsafe fn CreateRecognizer(pclsid: *mut ::windows::core::GUID, phrec: *mut HRECOGNIZER) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "inkobjcore.dll""system" fn CreateRecognizer ( pclsid : *mut :: windows::core::GUID , phrec : *mut HRECOGNIZER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn CreateRecognizer ( pclsid : *mut :: windows::core::GUID , phrec : *mut HRECOGNIZER ) -> :: windows::core::HRESULT ); CreateRecognizer(pclsid, phrec).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -50,7 +50,7 @@ pub unsafe fn DestroyContext(hrc: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn DestroyContext ( hrc : HRECOCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn DestroyContext ( hrc : HRECOCONTEXT ) -> :: windows::core::HRESULT ); DestroyContext(hrc.into()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -59,7 +59,7 @@ pub unsafe fn DestroyRecognizer(hrec: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn DestroyRecognizer ( hrec : HRECOGNIZER ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn DestroyRecognizer ( hrec : HRECOGNIZER ) -> :: windows::core::HRESULT ); DestroyRecognizer(hrec.into()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -68,7 +68,7 @@ pub unsafe fn DestroyWordList(hwl: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn DestroyWordList ( hwl : HRECOWORDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn DestroyWordList ( hwl : HRECOWORDLIST ) -> :: windows::core::HRESULT ); DestroyWordList(hwl.into()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -77,13 +77,13 @@ pub unsafe fn EndInkInput(hrc: P0) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn EndInkInput ( hrc : HRECOCONTEXT ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn EndInkInput ( hrc : HRECOCONTEXT ) -> :: windows::core::HRESULT ); EndInkInput(hrc.into()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[inline] pub unsafe fn GetAllRecognizers(recognizerclsids: *mut *mut ::windows::core::GUID, count: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "inkobjcore.dll""system" fn GetAllRecognizers ( recognizerclsids : *mut *mut :: windows::core::GUID , count : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn GetAllRecognizers ( recognizerclsids : *mut *mut :: windows::core::GUID , count : *mut u32 ) -> :: windows::core::HRESULT ); GetAllRecognizers(recognizerclsids, count).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -92,7 +92,7 @@ pub unsafe fn GetBestResultString(hrc: P0, pcsize: *mut u32, pwcbestresult: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn GetBestResultString ( hrc : HRECOCONTEXT , pcsize : *mut u32 , pwcbestresult : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn GetBestResultString ( hrc : HRECOCONTEXT , pcsize : *mut u32 , pwcbestresult : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); GetBestResultString(hrc.into(), pcsize, ::core::mem::transmute(pwcbestresult)).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -101,7 +101,7 @@ pub unsafe fn GetLatticePtr(hrc: P0, pplattice: *mut *mut RECO_LATTICE) -> : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn GetLatticePtr ( hrc : HRECOCONTEXT , pplattice : *mut *mut RECO_LATTICE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn GetLatticePtr ( hrc : HRECOCONTEXT , pplattice : *mut *mut RECO_LATTICE ) -> :: windows::core::HRESULT ); GetLatticePtr(hrc.into(), pplattice).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -110,7 +110,7 @@ pub unsafe fn GetLeftSeparator(hrc: P0, pcsize: *mut u32, pwcleftseparator: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn GetLeftSeparator ( hrc : HRECOCONTEXT , pcsize : *mut u32 , pwcleftseparator : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn GetLeftSeparator ( hrc : HRECOCONTEXT , pcsize : *mut u32 , pwcleftseparator : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); GetLeftSeparator(hrc.into(), pcsize, ::core::mem::transmute(pwcleftseparator)).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -119,7 +119,7 @@ pub unsafe fn GetRecoAttributes(hrec: P0, precoattrs: *mut RECO_ATTRS) -> :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn GetRecoAttributes ( hrec : HRECOGNIZER , precoattrs : *mut RECO_ATTRS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn GetRecoAttributes ( hrec : HRECOGNIZER , precoattrs : *mut RECO_ATTRS ) -> :: windows::core::HRESULT ); GetRecoAttributes(hrec.into(), precoattrs).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -128,7 +128,7 @@ pub unsafe fn GetResultPropertyList(hrec: P0, ppropertycount: *mut u32, ppro where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn GetResultPropertyList ( hrec : HRECOGNIZER , ppropertycount : *mut u32 , ppropertyguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn GetResultPropertyList ( hrec : HRECOGNIZER , ppropertycount : *mut u32 , ppropertyguid : *mut :: windows::core::GUID ) -> :: windows::core::HRESULT ); GetResultPropertyList(hrec.into(), ppropertycount, ppropertyguid).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -137,7 +137,7 @@ pub unsafe fn GetRightSeparator(hrc: P0, pcsize: *mut u32, pwcrightseparator where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn GetRightSeparator ( hrc : HRECOCONTEXT , pcsize : *mut u32 , pwcrightseparator : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn GetRightSeparator ( hrc : HRECOCONTEXT , pcsize : *mut u32 , pwcrightseparator : :: windows::core::PWSTR ) -> :: windows::core::HRESULT ); GetRightSeparator(hrc.into(), pcsize, ::core::mem::transmute(pwcrightseparator)).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -146,7 +146,7 @@ pub unsafe fn GetUnicodeRanges(hrec: P0, pcranges: *mut u32, pcr: *mut CHARA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn GetUnicodeRanges ( hrec : HRECOGNIZER , pcranges : *mut u32 , pcr : *mut CHARACTER_RANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn GetUnicodeRanges ( hrec : HRECOGNIZER , pcranges : *mut u32 , pcr : *mut CHARACTER_RANGE ) -> :: windows::core::HRESULT ); GetUnicodeRanges(hrec.into(), pcranges, pcr).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -156,13 +156,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn IsStringSupported ( hrc : HRECOCONTEXT , wcstring : u32 , pwcstring : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn IsStringSupported ( hrc : HRECOCONTEXT , wcstring : u32 , pwcstring : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); IsStringSupported(hrc.into(), wcstring, pwcstring.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[inline] pub unsafe fn LoadCachedAttributes(clsid: ::windows::core::GUID, precoattributes: *mut RECO_ATTRS) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "inkobjcore.dll""system" fn LoadCachedAttributes ( clsid : :: windows::core::GUID , precoattributes : *mut RECO_ATTRS ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn LoadCachedAttributes ( clsid : :: windows::core::GUID , precoattributes : *mut RECO_ATTRS ) -> :: windows::core::HRESULT ); LoadCachedAttributes(::core::mem::transmute(clsid), precoattributes).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -172,7 +172,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn MakeWordList ( hrec : HRECOGNIZER , pbuffer : :: windows::core::PCWSTR , phwl : *mut HRECOWORDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn MakeWordList ( hrec : HRECOGNIZER , pbuffer : :: windows::core::PCWSTR , phwl : *mut HRECOWORDLIST ) -> :: windows::core::HRESULT ); MakeWordList(hrec.into(), pbuffer.into().abi(), phwl).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`*"] @@ -182,7 +182,7 @@ pub unsafe fn Process(hrc: P0, pbpartialprocessing: *mut super::super::Found where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn Process ( hrc : HRECOCONTEXT , pbpartialprocessing : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn Process ( hrc : HRECOCONTEXT , pbpartialprocessing : *mut super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); Process(hrc.into(), pbpartialprocessing).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -191,7 +191,7 @@ pub unsafe fn SetEnabledUnicodeRanges(hrc: P0, cranges: u32, pcr: *mut CHARA where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn SetEnabledUnicodeRanges ( hrc : HRECOCONTEXT , cranges : u32 , pcr : *mut CHARACTER_RANGE ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn SetEnabledUnicodeRanges ( hrc : HRECOCONTEXT , cranges : u32 , pcr : *mut CHARACTER_RANGE ) -> :: windows::core::HRESULT ); SetEnabledUnicodeRanges(hrc.into(), cranges, pcr).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -201,7 +201,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn SetFactoid ( hrc : HRECOCONTEXT , cwcfactoid : u32 , pwcfactoid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn SetFactoid ( hrc : HRECOCONTEXT , cwcfactoid : u32 , pwcfactoid : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SetFactoid(hrc.into(), cwcfactoid, pwcfactoid.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -210,7 +210,7 @@ pub unsafe fn SetFlags(hrc: P0, dwflags: u32) -> ::windows::core::Result<()> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn SetFlags ( hrc : HRECOCONTEXT , dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn SetFlags ( hrc : HRECOCONTEXT , dwflags : u32 ) -> :: windows::core::HRESULT ); SetFlags(hrc.into(), dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -219,7 +219,7 @@ pub unsafe fn SetGuide(hrc: P0, pguide: *const RECO_GUIDE, iindex: u32) -> : where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn SetGuide ( hrc : HRECOCONTEXT , pguide : *const RECO_GUIDE , iindex : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn SetGuide ( hrc : HRECOCONTEXT , pguide : *const RECO_GUIDE , iindex : u32 ) -> :: windows::core::HRESULT ); SetGuide(hrc.into(), pguide, iindex).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -228,7 +228,7 @@ pub unsafe fn SetTextContext(hrc: P0, pwcbefore: &[u16], pwcafter: &[u16]) - where P0: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn SetTextContext ( hrc : HRECOCONTEXT , cwcbefore : u32 , pwcbefore : :: windows::core::PCWSTR , cwcafter : u32 , pwcafter : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn SetTextContext ( hrc : HRECOCONTEXT , cwcbefore : u32 , pwcbefore : :: windows::core::PCWSTR , cwcafter : u32 , pwcafter : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); SetTextContext(hrc.into(), pwcbefore.len() as _, ::core::mem::transmute(pwcbefore.as_ptr()), pwcafter.len() as _, ::core::mem::transmute(pwcafter.as_ptr())).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -238,7 +238,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "inkobjcore.dll""system" fn SetWordList ( hrc : HRECOCONTEXT , hwl : HRECOWORDLIST ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "inkobjcore.dll""system" fn SetWordList ( hrc : HRECOCONTEXT , hwl : HRECOWORDLIST ) -> :: windows::core::HRESULT ); SetWordList(hrc.into(), hwl.into()).ok() } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] @@ -341,7 +341,7 @@ impl IDynamicRenderer { (::windows::core::Vtable::vtable(self).Draw)(::windows::core::Vtable::as_raw(self), hdc.into()).ok() } } -::windows::core::interface_hierarchy!(IDynamicRenderer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDynamicRenderer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDynamicRenderer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -455,7 +455,7 @@ impl IGestureRecognizer { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IGestureRecognizer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IGestureRecognizer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IGestureRecognizer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -517,7 +517,7 @@ impl IHandwrittenTextInsertion { (::windows::core::Vtable::vtable(self).InsertInkRecognitionResult)(::windows::core::Vtable::as_raw(self), piinkrecoresult.into().abi(), locale, falternatecontainsautospacinginformation.into()).ok() } } -::windows::core::interface_hierarchy!(IHandwrittenTextInsertion, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IHandwrittenTextInsertion, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IHandwrittenTextInsertion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -560,7 +560,7 @@ pub struct IInk(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInk {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInk, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInk, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInk { fn eq(&self, other: &Self) -> bool { @@ -844,7 +844,7 @@ impl IInkCollector { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkCollector, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkCollector, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkCollector { fn eq(&self, other: &Self) -> bool { @@ -1057,7 +1057,7 @@ impl IInkCursor { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkCursor, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkCursor, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkCursor { fn eq(&self, other: &Self) -> bool { @@ -1134,7 +1134,7 @@ impl IInkCursorButton { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkCursorButton, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkCursorButton, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkCursorButton { fn eq(&self, other: &Self) -> bool { @@ -1194,7 +1194,7 @@ impl IInkCursorButtons { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkCursorButtons, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkCursorButtons, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkCursorButtons { fn eq(&self, other: &Self) -> bool { @@ -1257,7 +1257,7 @@ impl IInkCursors { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkCursors, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkCursors, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkCursors { fn eq(&self, other: &Self) -> bool { @@ -1336,7 +1336,7 @@ impl IInkCustomStrokes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkCustomStrokes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkCustomStrokes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkCustomStrokes { fn eq(&self, other: &Self) -> bool { @@ -1573,7 +1573,7 @@ impl IInkDisp { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkDisp, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkDisp, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkDisp { fn eq(&self, other: &Self) -> bool { @@ -1757,7 +1757,7 @@ impl IInkDivider { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkDivider, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkDivider, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkDivider { fn eq(&self, other: &Self) -> bool { @@ -1834,7 +1834,7 @@ impl IInkDivisionResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkDivisionResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkDivisionResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkDivisionResult { fn eq(&self, other: &Self) -> bool { @@ -1905,7 +1905,7 @@ impl IInkDivisionUnit { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkDivisionUnit, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkDivisionUnit, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkDivisionUnit { fn eq(&self, other: &Self) -> bool { @@ -1972,7 +1972,7 @@ impl IInkDivisionUnits { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkDivisionUnits, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkDivisionUnits, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkDivisionUnits { fn eq(&self, other: &Self) -> bool { @@ -2117,7 +2117,7 @@ impl IInkDrawingAttributes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkDrawingAttributes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkDrawingAttributes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkDrawingAttributes { fn eq(&self, other: &Self) -> bool { @@ -2586,7 +2586,7 @@ impl IInkEdit { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkEdit, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkEdit, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkEdit { fn eq(&self, other: &Self) -> bool { @@ -2860,7 +2860,7 @@ impl IInkExtendedProperties { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkExtendedProperties, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkExtendedProperties, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkExtendedProperties { fn eq(&self, other: &Self) -> bool { @@ -2937,7 +2937,7 @@ impl IInkExtendedProperty { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkExtendedProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkExtendedProperty, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkExtendedProperty { fn eq(&self, other: &Self) -> bool { @@ -3000,7 +3000,7 @@ impl IInkGesture { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkGesture, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkGesture, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkGesture { fn eq(&self, other: &Self) -> bool { @@ -3073,7 +3073,7 @@ impl IInkLineInfo { (::windows::core::Vtable::vtable(self).Recognize)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInkLineInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInkLineInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInkLineInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3433,7 +3433,7 @@ impl IInkOverlay { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkOverlay, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkOverlay, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkOverlay { fn eq(&self, other: &Self) -> bool { @@ -3976,7 +3976,7 @@ impl IInkPicture { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkPicture, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkPicture, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkPicture { fn eq(&self, other: &Self) -> bool { @@ -4283,7 +4283,7 @@ impl IInkRecognitionAlternate { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognitionAlternate, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognitionAlternate, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognitionAlternate { fn eq(&self, other: &Self) -> bool { @@ -4397,7 +4397,7 @@ impl IInkRecognitionAlternates { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognitionAlternates, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognitionAlternates, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognitionAlternates { fn eq(&self, other: &Self) -> bool { @@ -4487,7 +4487,7 @@ impl IInkRecognitionResult { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognitionResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognitionResult, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognitionResult { fn eq(&self, other: &Self) -> bool { @@ -4585,7 +4585,7 @@ impl IInkRecognizer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognizer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognizer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognizer { fn eq(&self, other: &Self) -> bool { @@ -4657,7 +4657,7 @@ impl IInkRecognizer2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognizer2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognizer2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognizer2 { fn eq(&self, other: &Self) -> bool { @@ -4821,7 +4821,7 @@ impl IInkRecognizerContext { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognizerContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognizerContext, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognizerContext { fn eq(&self, other: &Self) -> bool { @@ -4935,7 +4935,7 @@ impl IInkRecognizerContext2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognizerContext2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognizerContext2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognizerContext2 { fn eq(&self, other: &Self) -> bool { @@ -5045,7 +5045,7 @@ impl IInkRecognizerGuide { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognizerGuide, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognizerGuide, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognizerGuide { fn eq(&self, other: &Self) -> bool { @@ -5138,7 +5138,7 @@ impl IInkRecognizers { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRecognizers, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRecognizers, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRecognizers { fn eq(&self, other: &Self) -> bool { @@ -5236,7 +5236,7 @@ impl IInkRectangle { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRectangle, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRectangle, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRectangle { fn eq(&self, other: &Self) -> bool { @@ -5395,7 +5395,7 @@ impl IInkRenderer { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkRenderer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkRenderer, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkRenderer { fn eq(&self, other: &Self) -> bool { @@ -5675,7 +5675,7 @@ impl IInkStrokeDisp { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkStrokeDisp, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkStrokeDisp, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkStrokeDisp { fn eq(&self, other: &Self) -> bool { @@ -5939,7 +5939,7 @@ impl IInkStrokes { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkStrokes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkStrokes, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkStrokes { fn eq(&self, other: &Self) -> bool { @@ -6065,7 +6065,7 @@ impl IInkTablet { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkTablet, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkTablet, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkTablet { fn eq(&self, other: &Self) -> bool { @@ -6124,7 +6124,7 @@ impl IInkTablet2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkTablet2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkTablet2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkTablet2 { fn eq(&self, other: &Self) -> bool { @@ -6178,7 +6178,7 @@ impl IInkTablet3 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkTablet3, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkTablet3, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkTablet3 { fn eq(&self, other: &Self) -> bool { @@ -6252,7 +6252,7 @@ impl IInkTablets { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkTablets, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkTablets, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkTablets { fn eq(&self, other: &Self) -> bool { @@ -6391,7 +6391,7 @@ impl IInkTransform { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkTransform, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkTransform, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkTransform { fn eq(&self, other: &Self) -> bool { @@ -6479,7 +6479,7 @@ impl IInkWordList { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkWordList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkWordList, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkWordList { fn eq(&self, other: &Self) -> bool { @@ -6531,7 +6531,7 @@ impl IInkWordList2 { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IInkWordList2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IInkWordList2, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IInkWordList2 { fn eq(&self, other: &Self) -> bool { @@ -6586,7 +6586,7 @@ impl IInputPanelWindowHandle { (::windows::core::Vtable::vtable(self).SetAttachedEditWindow64)(::windows::core::Vtable::as_raw(self), attachededitwindow).ok() } } -::windows::core::interface_hierarchy!(IInputPanelWindowHandle, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInputPanelWindowHandle, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInputPanelWindowHandle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6704,7 +6704,7 @@ impl IMathInputControl { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IMathInputControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IMathInputControl, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IMathInputControl { fn eq(&self, other: &Self) -> bool { @@ -6891,7 +6891,7 @@ impl IPenInputPanel { } } #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(IPenInputPanel, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(IPenInputPanel, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for IPenInputPanel { fn eq(&self, other: &Self) -> bool { @@ -7130,7 +7130,7 @@ impl IRealTimeStylus { (::windows::core::Vtable::vtable(self).GetPacketDescriptionData)(::windows::core::Vtable::as_raw(self), tcid, ::core::mem::transmute(pfinktodevicescalex.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfinktodevicescaley.unwrap_or(::std::ptr::null_mut())), pcpacketproperties, pppacketproperties).ok() } } -::windows::core::interface_hierarchy!(IRealTimeStylus, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRealTimeStylus, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRealTimeStylus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7247,7 +7247,7 @@ impl IRealTimeStylus2 { (::windows::core::Vtable::vtable(self).SetFlicksEnabled)(::windows::core::Vtable::as_raw(self), fenable.into()).ok() } } -::windows::core::interface_hierarchy!(IRealTimeStylus2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRealTimeStylus2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRealTimeStylus2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7302,7 +7302,7 @@ impl IRealTimeStylus3 { (::windows::core::Vtable::vtable(self).SetMultiTouchEnabled)(::windows::core::Vtable::as_raw(self), fenable.into()).ok() } } -::windows::core::interface_hierarchy!(IRealTimeStylus3, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRealTimeStylus3, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRealTimeStylus3 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7349,7 +7349,7 @@ impl IRealTimeStylusSynchronization { (::windows::core::Vtable::vtable(self).ReleaseLock)(::windows::core::Vtable::as_raw(self), lock).ok() } } -::windows::core::interface_hierarchy!(IRealTimeStylusSynchronization, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IRealTimeStylusSynchronization, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IRealTimeStylusSynchronization { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7386,7 +7386,7 @@ pub struct ISketchInk(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISketchInk {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(ISketchInk, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(ISketchInk, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for ISketchInk { fn eq(&self, other: &Self) -> bool { @@ -7458,7 +7458,7 @@ impl IStrokeBuilder { (::windows::core::Vtable::vtable(self).putref_Ink)(::windows::core::Vtable::as_raw(self), piinkobj.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IStrokeBuilder, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStrokeBuilder, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStrokeBuilder { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7628,7 +7628,7 @@ impl IStylusAsyncPlugin { (::windows::core::Vtable::vtable(self).base__.DataInterest)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStylusAsyncPlugin, ::windows::core::IUnknown, IStylusPlugin); +::windows::imp::interface_hierarchy!(IStylusAsyncPlugin, ::windows::core::IUnknown, IStylusPlugin); impl ::core::cmp::PartialEq for IStylusAsyncPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7777,7 +7777,7 @@ impl IStylusPlugin { (::windows::core::Vtable::vtable(self).DataInterest)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStylusPlugin, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IStylusPlugin, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IStylusPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7964,7 +7964,7 @@ impl IStylusSyncPlugin { (::windows::core::Vtable::vtable(self).base__.DataInterest)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IStylusSyncPlugin, ::windows::core::IUnknown, IStylusPlugin); +::windows::imp::interface_hierarchy!(IStylusSyncPlugin, ::windows::core::IUnknown, IStylusPlugin); impl ::core::cmp::PartialEq for IStylusSyncPlugin { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8119,7 +8119,7 @@ impl ITextInputPanel { (::windows::core::Vtable::vtable(self).Unadvise)(::windows::core::Vtable::as_raw(self), eventsink.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITextInputPanel, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextInputPanel, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextInputPanel { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8257,7 +8257,7 @@ impl ITextInputPanelEventSink { (::windows::core::Vtable::vtable(self).TextInserted)(::windows::core::Vtable::as_raw(self), ink).ok() } } -::windows::core::interface_hierarchy!(ITextInputPanelEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextInputPanelEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextInputPanelEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8326,7 +8326,7 @@ impl ITextInputPanelRunInfo { (::windows::core::Vtable::vtable(self).IsTipRunning)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITextInputPanelRunInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextInputPanelRunInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextInputPanelRunInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8398,7 +8398,7 @@ impl ITipAutoCompleteClient { (::windows::core::Vtable::vtable(self).RequestShowUI)(::windows::core::Vtable::as_raw(self), hwndlist.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITipAutoCompleteClient, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITipAutoCompleteClient, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITipAutoCompleteClient { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8459,7 +8459,7 @@ impl ITipAutoCompleteProvider { (::windows::core::Vtable::vtable(self).Show)(::windows::core::Vtable::as_raw(self), fshow.into()).ok() } } -::windows::core::interface_hierarchy!(ITipAutoCompleteProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITipAutoCompleteProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITipAutoCompleteProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8499,7 +8499,7 @@ pub struct _IInkCollectorEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkCollectorEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IInkCollectorEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IInkCollectorEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IInkCollectorEvents { fn eq(&self, other: &Self) -> bool { @@ -8541,7 +8541,7 @@ pub struct _IInkEditEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkEditEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IInkEditEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IInkEditEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IInkEditEvents { fn eq(&self, other: &Self) -> bool { @@ -8583,7 +8583,7 @@ pub struct _IInkEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IInkEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IInkEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IInkEvents { fn eq(&self, other: &Self) -> bool { @@ -8625,7 +8625,7 @@ pub struct _IInkOverlayEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkOverlayEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IInkOverlayEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IInkOverlayEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IInkOverlayEvents { fn eq(&self, other: &Self) -> bool { @@ -8667,7 +8667,7 @@ pub struct _IInkPictureEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkPictureEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IInkPictureEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IInkPictureEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IInkPictureEvents { fn eq(&self, other: &Self) -> bool { @@ -8709,7 +8709,7 @@ pub struct _IInkRecognitionEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkRecognitionEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IInkRecognitionEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IInkRecognitionEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IInkRecognitionEvents { fn eq(&self, other: &Self) -> bool { @@ -8751,7 +8751,7 @@ pub struct _IInkStrokesEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkStrokesEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IInkStrokesEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IInkStrokesEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IInkStrokesEvents { fn eq(&self, other: &Self) -> bool { @@ -8793,7 +8793,7 @@ pub struct _IMathInputControlEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IMathInputControlEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IMathInputControlEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IMathInputControlEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IMathInputControlEvents { fn eq(&self, other: &Self) -> bool { @@ -8835,7 +8835,7 @@ pub struct _IPenInputPanelEvents(::windows::core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IPenInputPanelEvents {} #[cfg(feature = "Win32_System_Com")] -::windows::core::interface_hierarchy!(_IPenInputPanelEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); +::windows::imp::interface_hierarchy!(_IPenInputPanelEvents, ::windows::core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] impl ::core::cmp::PartialEq for _IPenInputPanelEvents { fn eq(&self, other: &Self) -> bool { 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 80287ebfe9..dca967156f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs @@ -5,19 +5,19 @@ pub unsafe fn DoMsCtfMonitor(dwflags: u32, heventforservicestop: P0) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "msctfmonitor.dll""system" fn DoMsCtfMonitor ( dwflags : u32 , heventforservicestop : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "msctfmonitor.dll""system" fn DoMsCtfMonitor ( dwflags : u32 , heventforservicestop : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); DoMsCtfMonitor(dwflags, heventforservicestop.into()) } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[inline] pub unsafe fn InitLocalMsCtfMonitor(dwflags: u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msctfmonitor.dll""system" fn InitLocalMsCtfMonitor ( dwflags : u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msctfmonitor.dll""system" fn InitLocalMsCtfMonitor ( dwflags : u32 ) -> :: windows::core::HRESULT ); InitLocalMsCtfMonitor(dwflags).ok() } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[inline] pub unsafe fn UninitLocalMsCtfMonitor() -> ::windows::core::Result<()> { - ::windows::core::link ! ( "msctfmonitor.dll""system" fn UninitLocalMsCtfMonitor ( ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "msctfmonitor.dll""system" fn UninitLocalMsCtfMonitor ( ) -> :: windows::core::HRESULT ); UninitLocalMsCtfMonitor().ok() } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] @@ -50,7 +50,7 @@ impl IAccClientDocMgr { (::windows::core::Vtable::vtable(self).GetFocused)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAccClientDocMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccClientDocMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccClientDocMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -116,7 +116,7 @@ impl IAccDictionary { (::windows::core::Vtable::vtable(self).ConvertValueToString)(::windows::core::Vtable::as_raw(self), term, lcid, ::core::mem::transmute(varvalue), ::core::mem::transmute(pbstrresult), plcid).ok() } } -::windows::core::interface_hierarchy!(IAccDictionary, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccDictionary, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccDictionary { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -175,7 +175,7 @@ impl IAccServerDocMgr { (::windows::core::Vtable::vtable(self).OnDocumentFocus)(::windows::core::Vtable::as_raw(self), punk.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IAccServerDocMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccServerDocMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccServerDocMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -254,7 +254,7 @@ impl IAccStore { (::windows::core::Vtable::vtable(self).GetFocused)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAccStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAccStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAccStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -358,7 +358,7 @@ impl IAnchor { (::windows::core::Vtable::vtable(self).Clone)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IAnchor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IAnchor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IAnchor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -415,7 +415,7 @@ impl IClonableWrapper { (::windows::core::Vtable::vtable(self).CloneNewWrapper)(::windows::core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IClonableWrapper, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IClonableWrapper, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IClonableWrapper { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -457,7 +457,7 @@ impl ICoCreateLocally { (::windows::core::Vtable::vtable(self).CoCreateLocally)(::windows::core::Vtable::as_raw(self), rclsid, dwclscontext, riid, ::core::mem::transmute(punk), riidparam, punkparam.into().abi(), ::core::mem::transmute(varparam)).ok() } } -::windows::core::interface_hierarchy!(ICoCreateLocally, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICoCreateLocally, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICoCreateLocally { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -503,7 +503,7 @@ impl ICoCreatedLocally { (::windows::core::Vtable::vtable(self).LocalInit)(::windows::core::Vtable::as_raw(self), punklocalobject.into().abi(), riidparam, punkparam.into().abi(), ::core::mem::transmute(varparam)).ok() } } -::windows::core::interface_hierarchy!(ICoCreatedLocally, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ICoCreatedLocally, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ICoCreatedLocally { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -550,7 +550,7 @@ impl IDocWrap { (::windows::core::Vtable::vtable(self).GetWrappedDoc)(::windows::core::Vtable::as_raw(self), riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IDocWrap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IDocWrap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IDocWrap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -598,7 +598,7 @@ impl IEnumITfCompositionView { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumITfCompositionView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumITfCompositionView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumITfCompositionView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -648,7 +648,7 @@ impl IEnumSpeechCommands { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumSpeechCommands, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumSpeechCommands, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumSpeechCommands { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -698,7 +698,7 @@ impl IEnumTfCandidates { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfCandidates, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfCandidates, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfCandidates { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -748,7 +748,7 @@ impl IEnumTfContextViews { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfContextViews, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfContextViews, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfContextViews { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -798,7 +798,7 @@ impl IEnumTfContexts { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfContexts, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfContexts, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfContexts { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -848,7 +848,7 @@ impl IEnumTfDisplayAttributeInfo { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfDisplayAttributeInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfDisplayAttributeInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfDisplayAttributeInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -898,7 +898,7 @@ impl IEnumTfDocumentMgrs { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfDocumentMgrs, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfDocumentMgrs, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfDocumentMgrs { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -948,7 +948,7 @@ impl IEnumTfFunctionProviders { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfFunctionProviders, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfFunctionProviders, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfFunctionProviders { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -998,7 +998,7 @@ impl IEnumTfInputProcessorProfiles { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfInputProcessorProfiles, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfInputProcessorProfiles, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfInputProcessorProfiles { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1048,7 +1048,7 @@ impl IEnumTfLangBarItems { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfLangBarItems, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfLangBarItems, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfLangBarItems { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1100,7 +1100,7 @@ impl IEnumTfLanguageProfiles { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfLanguageProfiles, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfLanguageProfiles, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfLanguageProfiles { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1153,7 +1153,7 @@ impl IEnumTfLatticeElements { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfLatticeElements, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfLatticeElements, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfLatticeElements { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1203,7 +1203,7 @@ impl IEnumTfProperties { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfProperties, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfProperties, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfProperties { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1255,7 +1255,7 @@ impl IEnumTfPropertyValue { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfPropertyValue, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfPropertyValue, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfPropertyValue { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1308,7 +1308,7 @@ impl IEnumTfRanges { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfRanges, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfRanges, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfRanges { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1358,7 +1358,7 @@ impl IEnumTfUIElements { (::windows::core::Vtable::vtable(self).Skip)(::windows::core::Vtable::as_raw(self), ulcount).ok() } } -::windows::core::interface_hierarchy!(IEnumTfUIElements, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IEnumTfUIElements, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IEnumTfUIElements { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1398,7 +1398,7 @@ impl IInternalDocWrap { (::windows::core::Vtable::vtable(self).NotifyRevoke)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IInternalDocWrap, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IInternalDocWrap, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IInternalDocWrap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1439,7 +1439,7 @@ impl ISpeechCommandProvider { (::windows::core::Vtable::vtable(self).ProcessCommand)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pszcommand.as_ptr()), pszcommand.len() as _, langid).ok() } } -::windows::core::interface_hierarchy!(ISpeechCommandProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ISpeechCommandProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ISpeechCommandProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1600,7 +1600,7 @@ impl ITextStoreACP { (::windows::core::Vtable::vtable(self).GetWnd)(::windows::core::Vtable::as_raw(self), vcview, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITextStoreACP, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStoreACP, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStoreACP { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1815,7 +1815,7 @@ impl ITextStoreACP2 { (::windows::core::Vtable::vtable(self).GetScreenExt)(::windows::core::Vtable::as_raw(self), vcview, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITextStoreACP2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStoreACP2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStoreACP2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1911,7 +1911,7 @@ impl ITextStoreACPEx { (::windows::core::Vtable::vtable(self).ScrollToRect)(::windows::core::Vtable::as_raw(self), acpstart, acpend, ::core::mem::transmute(rc), dwposition).ok() } } -::windows::core::interface_hierarchy!(ITextStoreACPEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStoreACPEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStoreACPEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1978,7 +1978,7 @@ impl ITextStoreACPServices { (::windows::core::Vtable::vtable(self).CreateRange)(::windows::core::Vtable::as_raw(self), acpstart, acpend, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITextStoreACPServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStoreACPServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStoreACPServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2045,7 +2045,7 @@ impl ITextStoreACPSink { (::windows::core::Vtable::vtable(self).OnEndEditTransaction)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITextStoreACPSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStoreACPSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStoreACPSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2113,7 +2113,7 @@ impl ITextStoreACPSinkEx { (::windows::core::Vtable::vtable(self).OnDisconnect)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITextStoreACPSinkEx, ::windows::core::IUnknown, ITextStoreACPSink); +::windows::imp::interface_hierarchy!(ITextStoreACPSinkEx, ::windows::core::IUnknown, ITextStoreACPSink); impl ::core::cmp::PartialEq for ITextStoreACPSinkEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2313,7 +2313,7 @@ impl ITextStoreAnchor { (::windows::core::Vtable::vtable(self).InsertEmbeddedAtSelection)(::windows::core::Vtable::as_raw(self), dwflags, pdataobject.into().abi(), ::core::mem::transmute(ppastart), ::core::mem::transmute(ppaend)).ok() } } -::windows::core::interface_hierarchy!(ITextStoreAnchor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStoreAnchor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStoreAnchor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2421,7 +2421,7 @@ impl ITextStoreAnchorEx { (::windows::core::Vtable::vtable(self).ScrollToRect)(::windows::core::Vtable::as_raw(self), pstart.into().abi(), pend.into().abi(), ::core::mem::transmute(rc), dwposition).ok() } } -::windows::core::interface_hierarchy!(ITextStoreAnchorEx, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStoreAnchorEx, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStoreAnchorEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2490,7 +2490,7 @@ impl ITextStoreAnchorSink { (::windows::core::Vtable::vtable(self).OnEndEditTransaction)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITextStoreAnchorSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITextStoreAnchorSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITextStoreAnchorSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2566,7 +2566,7 @@ impl ITextStoreSinkAnchorEx { (::windows::core::Vtable::vtable(self).OnDisconnect)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITextStoreSinkAnchorEx, ::windows::core::IUnknown, ITextStoreAnchorSink); +::windows::imp::interface_hierarchy!(ITextStoreSinkAnchorEx, ::windows::core::IUnknown, ITextStoreAnchorSink); impl ::core::cmp::PartialEq for ITextStoreSinkAnchorEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2608,7 +2608,7 @@ impl ITfActiveLanguageProfileNotifySink { (::windows::core::Vtable::vtable(self).OnActivated)(::windows::core::Vtable::as_raw(self), clsid, guidprofile, factivated.into()).ok() } } -::windows::core::interface_hierarchy!(ITfActiveLanguageProfileNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfActiveLanguageProfileNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfActiveLanguageProfileNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2660,7 +2660,7 @@ impl ITfCandidateList { (::windows::core::Vtable::vtable(self).SetResult)(::windows::core::Vtable::as_raw(self), nindex, imcr).ok() } } -::windows::core::interface_hierarchy!(ITfCandidateList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCandidateList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCandidateList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2749,7 +2749,7 @@ impl ITfCandidateListUIElement { (::windows::core::Vtable::vtable(self).GetCurrentPage)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfCandidateListUIElement, ::windows::core::IUnknown, ITfUIElement); +::windows::imp::interface_hierarchy!(ITfCandidateListUIElement, ::windows::core::IUnknown, ITfUIElement); impl ::core::cmp::PartialEq for ITfCandidateListUIElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2851,7 +2851,7 @@ impl ITfCandidateListUIElementBehavior { (::windows::core::Vtable::vtable(self).Abort)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfCandidateListUIElementBehavior, ::windows::core::IUnknown, ITfUIElement, ITfCandidateListUIElement); +::windows::imp::interface_hierarchy!(ITfCandidateListUIElementBehavior, ::windows::core::IUnknown, ITfUIElement, ITfCandidateListUIElement); impl ::core::cmp::PartialEq for ITfCandidateListUIElementBehavior { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2895,7 +2895,7 @@ impl ITfCandidateString { (::windows::core::Vtable::vtable(self).GetIndex)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfCandidateString, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCandidateString, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCandidateString { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -2985,7 +2985,7 @@ impl ITfCategoryMgr { (::windows::core::Vtable::vtable(self).IsEqualTfGuidAtom)(::windows::core::Vtable::as_raw(self), guidatom, rguid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfCategoryMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCategoryMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCategoryMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3047,7 +3047,7 @@ impl ITfCleanupContextDurationSink { (::windows::core::Vtable::vtable(self).OnEndCleanupContext)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfCleanupContextDurationSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCleanupContextDurationSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCleanupContextDurationSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3088,7 +3088,7 @@ impl ITfCleanupContextSink { (::windows::core::Vtable::vtable(self).OnCleanupContext)(::windows::core::Vtable::as_raw(self), ecwrite, pic.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfCleanupContextSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCleanupContextSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCleanupContextSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3126,7 +3126,7 @@ impl ITfClientId { (::windows::core::Vtable::vtable(self).GetClientId)(::windows::core::Vtable::as_raw(self), rclsid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfClientId, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfClientId, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfClientId { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3171,7 +3171,7 @@ impl ITfCompartment { (::windows::core::Vtable::vtable(self).GetValue)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfCompartment, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCompartment, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCompartment { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3215,7 +3215,7 @@ impl ITfCompartmentEventSink { (::windows::core::Vtable::vtable(self).OnChange)(::windows::core::Vtable::as_raw(self), rguid).ok() } } -::windows::core::interface_hierarchy!(ITfCompartmentEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCompartmentEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCompartmentEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3262,7 +3262,7 @@ impl ITfCompartmentMgr { (::windows::core::Vtable::vtable(self).EnumCompartments)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfCompartmentMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCompartmentMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCompartmentMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3320,7 +3320,7 @@ impl ITfComposition { (::windows::core::Vtable::vtable(self).EndComposition)(::windows::core::Vtable::as_raw(self), ecwrite).ok() } } -::windows::core::interface_hierarchy!(ITfComposition, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfComposition, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfComposition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3363,7 +3363,7 @@ impl ITfCompositionSink { (::windows::core::Vtable::vtable(self).OnCompositionTerminated)(::windows::core::Vtable::as_raw(self), ecwrite, pcomposition.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfCompositionSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCompositionSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCompositionSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3405,7 +3405,7 @@ impl ITfCompositionView { (::windows::core::Vtable::vtable(self).GetRange)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfCompositionView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCompositionView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCompositionView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3446,7 +3446,7 @@ impl ITfConfigureSystemKeystrokeFeed { (::windows::core::Vtable::vtable(self).EnableSystemKeystrokeFeed)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfConfigureSystemKeystrokeFeed, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfConfigureSystemKeystrokeFeed, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfConfigureSystemKeystrokeFeed { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3551,7 +3551,7 @@ impl ITfContext { (::windows::core::Vtable::vtable(self).CreateRangeBackup)(::windows::core::Vtable::as_raw(self), ec, prange.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3635,7 +3635,7 @@ impl ITfContextComposition { (::windows::core::Vtable::vtable(self).TakeOwnership)(::windows::core::Vtable::as_raw(self), ecwrite, pcomposition.into().abi(), psink.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfContextComposition, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfContextComposition, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfContextComposition { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3712,7 +3712,7 @@ impl ITfContextKeyEventSink { (::windows::core::Vtable::vtable(self).OnTestKeyUp)(::windows::core::Vtable::as_raw(self), wparam.into(), lparam.into(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfContextKeyEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfContextKeyEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfContextKeyEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3794,7 +3794,7 @@ impl ITfContextOwner { (::windows::core::Vtable::vtable(self).GetAttribute)(::windows::core::Vtable::as_raw(self), rguidattribute, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfContextOwner, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfContextOwner, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfContextOwner { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3881,7 +3881,7 @@ impl ITfContextOwnerCompositionServices { (::windows::core::Vtable::vtable(self).TerminateComposition)(::windows::core::Vtable::as_raw(self), pcomposition.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfContextOwnerCompositionServices, ::windows::core::IUnknown, ITfContextComposition); +::windows::imp::interface_hierarchy!(ITfContextOwnerCompositionServices, ::windows::core::IUnknown, ITfContextComposition); impl ::core::cmp::PartialEq for ITfContextOwnerCompositionServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -3937,7 +3937,7 @@ impl ITfContextOwnerCompositionSink { (::windows::core::Vtable::vtable(self).OnEndComposition)(::windows::core::Vtable::as_raw(self), pcomposition.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfContextOwnerCompositionSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfContextOwnerCompositionSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfContextOwnerCompositionSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4015,7 +4015,7 @@ impl ITfContextOwnerServices { (::windows::core::Vtable::vtable(self).CreateRange)(::windows::core::Vtable::as_raw(self), acpstart, acpend, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfContextOwnerServices, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfContextOwnerServices, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfContextOwnerServices { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4087,7 +4087,7 @@ impl ITfContextView { (::windows::core::Vtable::vtable(self).GetWnd)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfContextView, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfContextView, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfContextView { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4156,7 +4156,7 @@ impl ITfCreatePropertyStore { (::windows::core::Vtable::vtable(self).CreatePropertyStore)(::windows::core::Vtable::as_raw(self), guidprop, prange.into().abi(), cb, pstream.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfCreatePropertyStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfCreatePropertyStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfCreatePropertyStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4218,7 +4218,7 @@ impl ITfDisplayAttributeInfo { (::windows::core::Vtable::vtable(self).Reset)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfDisplayAttributeInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfDisplayAttributeInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfDisplayAttributeInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4272,7 +4272,7 @@ impl ITfDisplayAttributeMgr { (::windows::core::Vtable::vtable(self).GetDisplayAttributeInfo)(::windows::core::Vtable::as_raw(self), guid, ::core::mem::transmute(ppinfo), pclsidowner).ok() } } -::windows::core::interface_hierarchy!(ITfDisplayAttributeMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfDisplayAttributeMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfDisplayAttributeMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4311,7 +4311,7 @@ impl ITfDisplayAttributeNotifySink { (::windows::core::Vtable::vtable(self).OnUpdateInfo)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfDisplayAttributeNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfDisplayAttributeNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfDisplayAttributeNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4353,7 +4353,7 @@ impl ITfDisplayAttributeProvider { (::windows::core::Vtable::vtable(self).GetDisplayAttributeInfo)(::windows::core::Vtable::as_raw(self), guid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfDisplayAttributeProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfDisplayAttributeProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfDisplayAttributeProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4415,7 +4415,7 @@ impl ITfDocumentMgr { (::windows::core::Vtable::vtable(self).EnumContexts)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfDocumentMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfDocumentMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfDocumentMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4464,7 +4464,7 @@ impl ITfEditRecord { (::windows::core::Vtable::vtable(self).GetTextAndPropertyUpdates)(::windows::core::Vtable::as_raw(self), dwflags, ::core::mem::transmute(prgproperties.as_ptr()), prgproperties.len() as _, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfEditRecord, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfEditRecord, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfEditRecord { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4505,7 +4505,7 @@ impl ITfEditSession { (::windows::core::Vtable::vtable(self).DoEditSession)(::windows::core::Vtable::as_raw(self), ec).ok() } } -::windows::core::interface_hierarchy!(ITfEditSession, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfEditSession, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfEditSession { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4551,7 +4551,7 @@ impl ITfEditTransactionSink { (::windows::core::Vtable::vtable(self).OnEndEditTransaction)(::windows::core::Vtable::as_raw(self), pic.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfEditTransactionSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfEditTransactionSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfEditTransactionSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4603,7 +4603,7 @@ impl ITfFnAdviseText { (::windows::core::Vtable::vtable(self).OnLatticeUpdate)(::windows::core::Vtable::as_raw(self), prange.into().abi(), plattice.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfFnAdviseText, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnAdviseText, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnAdviseText { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4641,7 +4641,7 @@ impl ITfFnBalloon { (::windows::core::Vtable::vtable(self).UpdateBalloon)(::windows::core::Vtable::as_raw(self), style, ::core::mem::transmute(pch.as_ptr()), pch.len() as _).ok() } } -::windows::core::interface_hierarchy!(ITfFnBalloon, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfFnBalloon, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfFnBalloon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4687,7 +4687,7 @@ impl ITfFnConfigure { (::windows::core::Vtable::vtable(self).Show)(::windows::core::Vtable::as_raw(self), hwndparent.into(), langid, rguidprofile).ok() } } -::windows::core::interface_hierarchy!(ITfFnConfigure, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnConfigure, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnConfigure { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4736,7 +4736,7 @@ impl ITfFnConfigureRegisterEudc { (::windows::core::Vtable::vtable(self).Show)(::windows::core::Vtable::as_raw(self), hwndparent.into(), langid, rguidprofile, ::core::mem::transmute_copy(bstrregistered)).ok() } } -::windows::core::interface_hierarchy!(ITfFnConfigureRegisterEudc, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnConfigureRegisterEudc, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnConfigureRegisterEudc { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4785,7 +4785,7 @@ impl ITfFnConfigureRegisterWord { (::windows::core::Vtable::vtable(self).Show)(::windows::core::Vtable::as_raw(self), hwndparent.into(), langid, rguidprofile, ::core::mem::transmute_copy(bstrregistered)).ok() } } -::windows::core::interface_hierarchy!(ITfFnConfigureRegisterWord, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnConfigureRegisterWord, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnConfigureRegisterWord { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4832,7 +4832,7 @@ impl ITfFnCustomSpeechCommand { (::windows::core::Vtable::vtable(self).SetSpeechCommandProvider)(::windows::core::Vtable::as_raw(self), pspcmdprovider.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfFnCustomSpeechCommand, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnCustomSpeechCommand, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnCustomSpeechCommand { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4877,7 +4877,7 @@ impl ITfFnGetLinguisticAlternates { (::windows::core::Vtable::vtable(self).GetAlternates)(::windows::core::Vtable::as_raw(self), prange.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfFnGetLinguisticAlternates, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnGetLinguisticAlternates, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnGetLinguisticAlternates { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4918,7 +4918,7 @@ impl ITfFnGetPreferredTouchKeyboardLayout { (::windows::core::Vtable::vtable(self).GetLayout)(::windows::core::Vtable::as_raw(self), ptkblayouttype, pwpreferredlayoutid).ok() } } -::windows::core::interface_hierarchy!(ITfFnGetPreferredTouchKeyboardLayout, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnGetPreferredTouchKeyboardLayout, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnGetPreferredTouchKeyboardLayout { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -4960,7 +4960,7 @@ impl ITfFnGetSAPIObject { (::windows::core::Vtable::vtable(self).Get)(::windows::core::Vtable::as_raw(self), sobj, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfFnGetSAPIObject, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnGetSAPIObject, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnGetSAPIObject { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5058,7 +5058,7 @@ impl ITfFnLMInternal { (::windows::core::Vtable::vtable(self).ProcessLattice)(::windows::core::Vtable::as_raw(self), prange.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfFnLMInternal, ::windows::core::IUnknown, ITfFunction, ITfFnLMProcessor); +::windows::imp::interface_hierarchy!(ITfFnLMInternal, ::windows::core::IUnknown, ITfFunction, ITfFnLMProcessor); impl ::core::cmp::PartialEq for ITfFnLMInternal { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5150,7 +5150,7 @@ impl ITfFnLMProcessor { (::windows::core::Vtable::vtable(self).InvokeFunc)(::windows::core::Vtable::as_raw(self), pic.into().abi(), refguidfunc).ok() } } -::windows::core::interface_hierarchy!(ITfFnLMProcessor, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnLMProcessor, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnLMProcessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5215,7 +5215,7 @@ impl ITfFnLangProfileUtil { (::windows::core::Vtable::vtable(self).IsProfileAvailableForLang)(::windows::core::Vtable::as_raw(self), langid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfFnLangProfileUtil, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnLangProfileUtil, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnLangProfileUtil { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5271,7 +5271,7 @@ impl ITfFnPlayBack { (::windows::core::Vtable::vtable(self).Play)(::windows::core::Vtable::as_raw(self), prange.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfFnPlayBack, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnPlayBack, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnPlayBack { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5320,7 +5320,7 @@ impl ITfFnPropertyUIStatus { (::windows::core::Vtable::vtable(self).SetStatus)(::windows::core::Vtable::as_raw(self), refguidprop, dw).ok() } } -::windows::core::interface_hierarchy!(ITfFnPropertyUIStatus, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnPropertyUIStatus, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnPropertyUIStatus { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5380,7 +5380,7 @@ impl ITfFnReconversion { (::windows::core::Vtable::vtable(self).Reconvert)(::windows::core::Vtable::as_raw(self), prange.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfFnReconversion, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnReconversion, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnReconversion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5430,7 +5430,7 @@ impl ITfFnSearchCandidateProvider { (::windows::core::Vtable::vtable(self).SetResult)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute_copy(bstrquery), ::core::mem::transmute_copy(bstrapplicationid), ::core::mem::transmute_copy(bstrresult)).ok() } } -::windows::core::interface_hierarchy!(ITfFnSearchCandidateProvider, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnSearchCandidateProvider, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnSearchCandidateProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5477,7 +5477,7 @@ impl ITfFnShowHelp { (::windows::core::Vtable::vtable(self).Show)(::windows::core::Vtable::as_raw(self), hwndparent.into()).ok() } } -::windows::core::interface_hierarchy!(ITfFnShowHelp, ::windows::core::IUnknown, ITfFunction); +::windows::imp::interface_hierarchy!(ITfFnShowHelp, ::windows::core::IUnknown, ITfFunction); impl ::core::cmp::PartialEq for ITfFnShowHelp { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5518,7 +5518,7 @@ impl ITfFunction { (::windows::core::Vtable::vtable(self).GetDisplayName)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfFunction, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfFunction, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfFunction { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5564,7 +5564,7 @@ impl ITfFunctionProvider { (::windows::core::Vtable::vtable(self).GetFunction)(::windows::core::Vtable::as_raw(self), rguid, riid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfFunctionProvider, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfFunctionProvider, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfFunctionProvider { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5606,7 +5606,7 @@ impl ITfInputProcessorProfileActivationSink { (::windows::core::Vtable::vtable(self).OnActivated)(::windows::core::Vtable::as_raw(self), dwprofiletype, langid, clsid, catid, guidprofile, hkl.into(), dwflags).ok() } } -::windows::core::interface_hierarchy!(ITfInputProcessorProfileActivationSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfInputProcessorProfileActivationSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfInputProcessorProfileActivationSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5680,7 +5680,7 @@ impl ITfInputProcessorProfileMgr { (::windows::core::Vtable::vtable(self).GetActiveProfile)(::windows::core::Vtable::as_raw(self), catid, pprofile).ok() } } -::windows::core::interface_hierarchy!(ITfInputProcessorProfileMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfInputProcessorProfileMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfInputProcessorProfileMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5728,7 +5728,7 @@ impl ITfInputProcessorProfileSubstituteLayout { (::windows::core::Vtable::vtable(self).GetSubstituteKeyboardLayout)(::windows::core::Vtable::as_raw(self), rclsid, langid, guidprofile, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfInputProcessorProfileSubstituteLayout, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfInputProcessorProfileSubstituteLayout, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfInputProcessorProfileSubstituteLayout { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5838,7 +5838,7 @@ impl ITfInputProcessorProfiles { (::windows::core::Vtable::vtable(self).SubstituteKeyboardLayout)(::windows::core::Vtable::as_raw(self), rclsid, langid, guidprofile, hkl.into()).ok() } } -::windows::core::interface_hierarchy!(ITfInputProcessorProfiles, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfInputProcessorProfiles, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfInputProcessorProfiles { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -5980,7 +5980,7 @@ impl ITfInputProcessorProfilesEx { (::windows::core::Vtable::vtable(self).SetLanguageProfileDisplayName)(::windows::core::Vtable::as_raw(self), rclsid, langid, guidprofile, ::core::mem::transmute(pchfile.as_ptr()), pchfile.len() as _, uresid).ok() } } -::windows::core::interface_hierarchy!(ITfInputProcessorProfilesEx, ::windows::core::IUnknown, ITfInputProcessorProfiles); +::windows::imp::interface_hierarchy!(ITfInputProcessorProfilesEx, ::windows::core::IUnknown, ITfInputProcessorProfiles); impl ::core::cmp::PartialEq for ITfInputProcessorProfilesEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6032,7 +6032,7 @@ impl ITfInputScope { (::windows::core::Vtable::vtable(self).GetXML)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfInputScope, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfInputScope, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfInputScope { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6094,7 +6094,7 @@ impl ITfInputScope2 { (::windows::core::Vtable::vtable(self).EnumWordList)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfInputScope2, ::windows::core::IUnknown, ITfInputScope); +::windows::imp::interface_hierarchy!(ITfInputScope2, ::windows::core::IUnknown, ITfInputScope); impl ::core::cmp::PartialEq for ITfInputScope2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6144,7 +6144,7 @@ impl ITfInsertAtSelection { (::windows::core::Vtable::vtable(self).InsertEmbeddedAtSelection)(::windows::core::Vtable::as_raw(self), ec, dwflags, pdataobject.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfInsertAtSelection, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfInsertAtSelection, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfInsertAtSelection { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6208,7 +6208,7 @@ impl ITfIntegratableCandidateListUIElement { (::windows::core::Vtable::vtable(self).FinalizeExactCompositionString)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfIntegratableCandidateListUIElement, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfIntegratableCandidateListUIElement, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfIntegratableCandidateListUIElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6313,7 +6313,7 @@ impl ITfKeyEventSink { (::windows::core::Vtable::vtable(self).OnPreservedKey)(::windows::core::Vtable::as_raw(self), pic.into().abi(), rguid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfKeyEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfKeyEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfKeyEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6388,7 +6388,7 @@ impl ITfKeyTraceEventSink { (::windows::core::Vtable::vtable(self).OnKeyTraceUp)(::windows::core::Vtable::as_raw(self), wparam.into(), lparam.into()).ok() } } -::windows::core::interface_hierarchy!(ITfKeyTraceEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfKeyTraceEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfKeyTraceEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6520,7 +6520,7 @@ impl ITfKeystrokeMgr { (::windows::core::Vtable::vtable(self).SimulatePreservedKey)(::windows::core::Vtable::as_raw(self), pic.into().abi(), rguid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfKeystrokeMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfKeystrokeMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfKeystrokeMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6598,7 +6598,7 @@ impl ITfLMLattice { (::windows::core::Vtable::vtable(self).EnumLatticeElements)(::windows::core::Vtable::as_raw(self), dwframestart, rguidtype, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfLMLattice, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfLMLattice, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfLMLattice { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6663,7 +6663,7 @@ impl ITfLangBarEventSink { (::windows::core::Vtable::vtable(self).GetItemFloatingRect)(::windows::core::Vtable::as_raw(self), dwthreadid, rguid, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfLangBarEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfLangBarEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfLangBarEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6727,7 +6727,7 @@ impl ITfLangBarItem { (::windows::core::Vtable::vtable(self).GetTooltipString)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfLangBarItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfLangBarItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfLangBarItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6801,7 +6801,7 @@ impl ITfLangBarItemBalloon { (::windows::core::Vtable::vtable(self).GetBalloonInfo)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfLangBarItemBalloon, ::windows::core::IUnknown, ITfLangBarItem); +::windows::imp::interface_hierarchy!(ITfLangBarItemBalloon, ::windows::core::IUnknown, ITfLangBarItem); impl ::core::cmp::PartialEq for ITfLangBarItemBalloon { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6878,7 +6878,7 @@ impl ITfLangBarItemBitmap { (::windows::core::Vtable::vtable(self).DrawBitmap)(::windows::core::Vtable::as_raw(self), bmwidth, bmheight, dwflags, phbmp, phbmpmask).ok() } } -::windows::core::interface_hierarchy!(ITfLangBarItemBitmap, ::windows::core::IUnknown, ITfLangBarItem); +::windows::imp::interface_hierarchy!(ITfLangBarItemBitmap, ::windows::core::IUnknown, ITfLangBarItem); impl ::core::cmp::PartialEq for ITfLangBarItemBitmap { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -6971,7 +6971,7 @@ impl ITfLangBarItemBitmapButton { (::windows::core::Vtable::vtable(self).GetText)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfLangBarItemBitmapButton, ::windows::core::IUnknown, ITfLangBarItem); +::windows::imp::interface_hierarchy!(ITfLangBarItemBitmapButton, ::windows::core::IUnknown, ITfLangBarItem); impl ::core::cmp::PartialEq for ITfLangBarItemBitmapButton { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7062,7 +7062,7 @@ impl ITfLangBarItemButton { (::windows::core::Vtable::vtable(self).GetText)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfLangBarItemButton, ::windows::core::IUnknown, ITfLangBarItem); +::windows::imp::interface_hierarchy!(ITfLangBarItemButton, ::windows::core::IUnknown, ITfLangBarItem); impl ::core::cmp::PartialEq for ITfLangBarItemButton { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7157,7 +7157,7 @@ impl ITfLangBarItemMgr { (::windows::core::Vtable::vtable(self).UnadviseItemsSink)(::windows::core::Vtable::as_raw(self), pdwcookie.len() as _, ::core::mem::transmute(pdwcookie.as_ptr())).ok() } } -::windows::core::interface_hierarchy!(ITfLangBarItemMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfLangBarItemMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfLangBarItemMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7208,7 +7208,7 @@ impl ITfLangBarItemSink { (::windows::core::Vtable::vtable(self).OnUpdate)(::windows::core::Vtable::as_raw(self), dwflags).ok() } } -::windows::core::interface_hierarchy!(ITfLangBarItemSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfLangBarItemSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfLangBarItemSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7285,7 +7285,7 @@ impl ITfLangBarMgr { (::windows::core::Vtable::vtable(self).GetShowFloatingStatus)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfLangBarMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfLangBarMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfLangBarMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7342,7 +7342,7 @@ impl ITfLanguageProfileNotifySink { (::windows::core::Vtable::vtable(self).OnLanguageChanged)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfLanguageProfileNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfLanguageProfileNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfLanguageProfileNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7386,7 +7386,7 @@ impl ITfMSAAControl { (::windows::core::Vtable::vtable(self).SystemDisableMSAA)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfMSAAControl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfMSAAControl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfMSAAControl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7430,7 +7430,7 @@ impl ITfMenu { (::windows::core::Vtable::vtable(self).AddMenuItem)(::windows::core::Vtable::as_raw(self), uid, dwflags, hbmp.into(), hbmpmask.into(), ::core::mem::transmute(pch.as_ptr()), pch.len() as _, ::core::mem::transmute(ppmenu)).ok() } } -::windows::core::interface_hierarchy!(ITfMenu, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfMenu, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfMenu { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7499,7 +7499,7 @@ impl ITfMessagePump { (::windows::core::Vtable::vtable(self).GetMessageW)(::windows::core::Vtable::as_raw(self), pmsg, hwnd.into(), wmsgfiltermin, wmsgfiltermax, pfresult).ok() } } -::windows::core::interface_hierarchy!(ITfMessagePump, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfMessagePump, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfMessagePump { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7554,7 +7554,7 @@ impl ITfMouseSink { (::windows::core::Vtable::vtable(self).OnMouseEvent)(::windows::core::Vtable::as_raw(self), uedge, uquadrant, dwbtnstatus, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfMouseSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfMouseSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfMouseSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7602,7 +7602,7 @@ impl ITfMouseTracker { (::windows::core::Vtable::vtable(self).UnadviseMouseSink)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(ITfMouseTracker, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfMouseTracker, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfMouseTracker { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7648,7 +7648,7 @@ impl ITfMouseTrackerACP { (::windows::core::Vtable::vtable(self).UnadviseMouseSink)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(ITfMouseTrackerACP, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfMouseTrackerACP, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfMouseTrackerACP { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7689,7 +7689,7 @@ impl ITfPersistentPropertyLoaderACP { (::windows::core::Vtable::vtable(self).LoadProperty)(::windows::core::Vtable::as_raw(self), phdr, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfPersistentPropertyLoaderACP, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfPersistentPropertyLoaderACP, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfPersistentPropertyLoaderACP { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7729,7 +7729,7 @@ impl ITfPreservedKeyNotifySink { (::windows::core::Vtable::vtable(self).OnUpdated)(::windows::core::Vtable::as_raw(self), pprekey).ok() } } -::windows::core::interface_hierarchy!(ITfPreservedKeyNotifySink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfPreservedKeyNotifySink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfPreservedKeyNotifySink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7813,7 +7813,7 @@ impl ITfProperty { (::windows::core::Vtable::vtable(self).Clear)(::windows::core::Vtable::as_raw(self), ec, prange.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfProperty, ::windows::core::IUnknown, ITfReadOnlyProperty); +::windows::imp::interface_hierarchy!(ITfProperty, ::windows::core::IUnknown, ITfReadOnlyProperty); impl ::core::cmp::PartialEq for ITfProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7910,7 +7910,7 @@ impl ITfPropertyStore { (::windows::core::Vtable::vtable(self).Serialize)(::windows::core::Vtable::as_raw(self), pstream.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfPropertyStore, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfPropertyStore, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfPropertyStore { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -7970,7 +7970,7 @@ impl ITfQueryEmbedded { (::windows::core::Vtable::vtable(self).QueryInsertEmbedded)(::windows::core::Vtable::as_raw(self), pguidservice, pformatetc, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfQueryEmbedded, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfQueryEmbedded, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfQueryEmbedded { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8122,7 +8122,7 @@ impl ITfRange { (::windows::core::Vtable::vtable(self).GetContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfRange, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfRange, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfRange { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8322,7 +8322,7 @@ impl ITfRangeACP { (::windows::core::Vtable::vtable(self).SetExtent)(::windows::core::Vtable::as_raw(self), acpanchor, cch).ok() } } -::windows::core::interface_hierarchy!(ITfRangeACP, ::windows::core::IUnknown, ITfRange); +::windows::imp::interface_hierarchy!(ITfRangeACP, ::windows::core::IUnknown, ITfRange); impl ::core::cmp::PartialEq for ITfRangeACP { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8363,7 +8363,7 @@ impl ITfRangeBackup { (::windows::core::Vtable::vtable(self).Restore)(::windows::core::Vtable::as_raw(self), ec, prange.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfRangeBackup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfRangeBackup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfRangeBackup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8420,7 +8420,7 @@ impl ITfReadOnlyProperty { (::windows::core::Vtable::vtable(self).GetContext)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfReadOnlyProperty, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfReadOnlyProperty, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfReadOnlyProperty { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8508,7 +8508,7 @@ impl ITfReadingInformationUIElement { (::windows::core::Vtable::vtable(self).IsVerticalOrderPreferred)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfReadingInformationUIElement, ::windows::core::IUnknown, ITfUIElement); +::windows::imp::interface_hierarchy!(ITfReadingInformationUIElement, ::windows::core::IUnknown, ITfUIElement); impl ::core::cmp::PartialEq for ITfReadingInformationUIElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8557,7 +8557,7 @@ impl ITfReverseConversion { (::windows::core::Vtable::vtable(self).DoReverseConversion)(::windows::core::Vtable::as_raw(self), lpstr.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfReverseConversion, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfReverseConversion, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfReverseConversion { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8599,7 +8599,7 @@ impl ITfReverseConversionList { (::windows::core::Vtable::vtable(self).GetString)(::windows::core::Vtable::as_raw(self), uindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfReverseConversionList, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfReverseConversionList, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfReverseConversionList { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8638,7 +8638,7 @@ impl ITfReverseConversionMgr { (::windows::core::Vtable::vtable(self).GetReverseConversion)(::windows::core::Vtable::as_raw(self), langid, guidprofile, dwflag, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfReverseConversionMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfReverseConversionMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfReverseConversionMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8682,7 +8682,7 @@ impl ITfSource { (::windows::core::Vtable::vtable(self).UnadviseSink)(::windows::core::Vtable::as_raw(self), dwcookie).ok() } } -::windows::core::interface_hierarchy!(ITfSource, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfSource, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfSource { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8726,7 +8726,7 @@ impl ITfSourceSingle { (::windows::core::Vtable::vtable(self).UnadviseSingleSink)(::windows::core::Vtable::as_raw(self), tid, riid).ok() } } -::windows::core::interface_hierarchy!(ITfSourceSingle, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfSourceSingle, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfSourceSingle { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8775,7 +8775,7 @@ impl ITfSpeechUIServer { (::windows::core::Vtable::vtable(self).UpdateBalloon)(::windows::core::Vtable::as_raw(self), style, ::core::mem::transmute(pch.as_ptr()), pch.len() as _).ok() } } -::windows::core::interface_hierarchy!(ITfSpeechUIServer, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfSpeechUIServer, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfSpeechUIServer { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8820,7 +8820,7 @@ impl ITfStatusSink { (::windows::core::Vtable::vtable(self).OnStatusChange)(::windows::core::Vtable::as_raw(self), pic.into().abi(), dwflags).ok() } } -::windows::core::interface_hierarchy!(ITfStatusSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfStatusSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfStatusSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8861,7 +8861,7 @@ impl ITfSystemDeviceTypeLangBarItem { (::windows::core::Vtable::vtable(self).GetIconMode)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfSystemDeviceTypeLangBarItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfSystemDeviceTypeLangBarItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfSystemDeviceTypeLangBarItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8907,7 +8907,7 @@ impl ITfSystemLangBarItem { (::windows::core::Vtable::vtable(self).SetTooltipString)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(pchtooltip.as_ptr()), pchtooltip.len() as _).ok() } } -::windows::core::interface_hierarchy!(ITfSystemLangBarItem, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfSystemLangBarItem, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfSystemLangBarItem { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8954,7 +8954,7 @@ impl ITfSystemLangBarItemSink { (::windows::core::Vtable::vtable(self).OnMenuSelect)(::windows::core::Vtable::as_raw(self), wid).ok() } } -::windows::core::interface_hierarchy!(ITfSystemLangBarItemSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfSystemLangBarItemSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfSystemLangBarItemSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -8996,7 +8996,7 @@ impl ITfSystemLangBarItemText { (::windows::core::Vtable::vtable(self).GetItemText)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfSystemLangBarItemText, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfSystemLangBarItemText, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfSystemLangBarItemText { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9038,7 +9038,7 @@ impl ITfTextEditSink { (::windows::core::Vtable::vtable(self).OnEndEdit)(::windows::core::Vtable::as_raw(self), pic.into().abi(), ecreadonly, peditrecord.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfTextEditSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfTextEditSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfTextEditSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9081,7 +9081,7 @@ impl ITfTextInputProcessor { (::windows::core::Vtable::vtable(self).Deactivate)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfTextInputProcessor, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfTextInputProcessor, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfTextInputProcessor { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9131,7 +9131,7 @@ impl ITfTextInputProcessorEx { (::windows::core::Vtable::vtable(self).ActivateEx)(::windows::core::Vtable::as_raw(self), ptim.into().abi(), tid, dwflags).ok() } } -::windows::core::interface_hierarchy!(ITfTextInputProcessorEx, ::windows::core::IUnknown, ITfTextInputProcessor); +::windows::imp::interface_hierarchy!(ITfTextInputProcessorEx, ::windows::core::IUnknown, ITfTextInputProcessor); impl ::core::cmp::PartialEq for ITfTextInputProcessorEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9172,7 +9172,7 @@ impl ITfTextLayoutSink { (::windows::core::Vtable::vtable(self).OnLayoutChange)(::windows::core::Vtable::as_raw(self), pic.into().abi(), lcode, pview.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfTextLayoutSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfTextLayoutSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfTextLayoutSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9212,7 +9212,7 @@ impl ITfThreadFocusSink { (::windows::core::Vtable::vtable(self).OnKillThreadFocus)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfThreadFocusSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfThreadFocusSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfThreadFocusSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9300,7 +9300,7 @@ impl ITfThreadMgr { (::windows::core::Vtable::vtable(self).GetGlobalCompartment)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfThreadMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfThreadMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfThreadMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9406,7 +9406,7 @@ impl ITfThreadMgr2 { (::windows::core::Vtable::vtable(self).ResumeKeystrokeHandling)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(ITfThreadMgr2, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfThreadMgr2, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfThreadMgr2 { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9487,7 +9487,7 @@ impl ITfThreadMgrEventSink { (::windows::core::Vtable::vtable(self).OnPopContext)(::windows::core::Vtable::as_raw(self), pic.into().abi()).ok() } } -::windows::core::interface_hierarchy!(ITfThreadMgrEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfThreadMgrEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfThreadMgrEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9585,7 +9585,7 @@ impl ITfThreadMgrEx { (::windows::core::Vtable::vtable(self).GetActiveFlags)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfThreadMgrEx, ::windows::core::IUnknown, ITfThreadMgr); +::windows::imp::interface_hierarchy!(ITfThreadMgrEx, ::windows::core::IUnknown, ITfThreadMgr); impl ::core::cmp::PartialEq for ITfThreadMgrEx { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9646,7 +9646,7 @@ impl ITfToolTipUIElement { (::windows::core::Vtable::vtable(self).GetString)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfToolTipUIElement, ::windows::core::IUnknown, ITfUIElement); +::windows::imp::interface_hierarchy!(ITfToolTipUIElement, ::windows::core::IUnknown, ITfUIElement); impl ::core::cmp::PartialEq for ITfToolTipUIElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9691,7 +9691,7 @@ impl ITfTransitoryExtensionSink { (::windows::core::Vtable::vtable(self).OnTransitoryExtensionUpdated)(::windows::core::Vtable::as_raw(self), pic.into().abi(), ecreadonly, presultrange.into().abi(), pcompositionrange.into().abi(), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfTransitoryExtensionSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfTransitoryExtensionSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfTransitoryExtensionSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9754,7 +9754,7 @@ impl ITfTransitoryExtensionUIElement { (::windows::core::Vtable::vtable(self).GetDocumentMgr)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfTransitoryExtensionUIElement, ::windows::core::IUnknown, ITfUIElement); +::windows::imp::interface_hierarchy!(ITfTransitoryExtensionUIElement, ::windows::core::IUnknown, ITfUIElement); impl ::core::cmp::PartialEq for ITfTransitoryExtensionUIElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9810,7 +9810,7 @@ impl ITfUIElement { (::windows::core::Vtable::vtable(self).IsShown)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfUIElement, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfUIElement, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfUIElement { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9875,7 +9875,7 @@ impl ITfUIElementMgr { (::windows::core::Vtable::vtable(self).EnumUIElements)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(ITfUIElementMgr, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfUIElementMgr, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfUIElementMgr { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9927,7 +9927,7 @@ impl ITfUIElementSink { (::windows::core::Vtable::vtable(self).EndUIElement)(::windows::core::Vtable::as_raw(self), dwuielementid).ok() } } -::windows::core::interface_hierarchy!(ITfUIElementSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(ITfUIElementSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for ITfUIElementSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -9992,7 +9992,7 @@ impl IUIManagerEventSink { (::windows::core::Vtable::vtable(self).OnWindowClosed)(::windows::core::Vtable::as_raw(self)).ok() } } -::windows::core::interface_hierarchy!(IUIManagerEventSink, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IUIManagerEventSink, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IUIManagerEventSink { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -10062,7 +10062,7 @@ impl IVersionInfo { (::windows::core::Vtable::vtable(self).GetInstanceDescription)(::windows::core::Vtable::as_raw(self), ulsub, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IVersionInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IVersionInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IVersionInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index 229b4503af..9e715e564c 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn AdjustWindowRect(lprect: *mut super::super::Foundation::RECT, where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn AdjustWindowRect ( lprect : *mut super::super::Foundation:: RECT , dwstyle : WINDOW_STYLE , bmenu : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AdjustWindowRect ( lprect : *mut super::super::Foundation:: RECT , dwstyle : WINDOW_STYLE , bmenu : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); AdjustWindowRect(lprect, dwstyle, bmenu.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -15,14 +15,14 @@ pub unsafe fn AdjustWindowRectEx(lprect: *mut super::super::Foundation::RECT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn AdjustWindowRectEx ( lprect : *mut super::super::Foundation:: RECT , dwstyle : WINDOW_STYLE , bmenu : super::super::Foundation:: BOOL , dwexstyle : WINDOW_EX_STYLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AdjustWindowRectEx ( lprect : *mut super::super::Foundation:: RECT , dwstyle : WINDOW_STYLE , bmenu : super::super::Foundation:: BOOL , dwexstyle : WINDOW_EX_STYLE ) -> super::super::Foundation:: BOOL ); AdjustWindowRectEx(lprect, dwstyle, bmenu.into(), dwexstyle) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AllowSetForegroundWindow(dwprocessid: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn AllowSetForegroundWindow ( dwprocessid : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AllowSetForegroundWindow ( dwprocessid : u32 ) -> super::super::Foundation:: BOOL ); AllowSetForegroundWindow(dwprocessid) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -32,14 +32,14 @@ pub unsafe fn AnimateWindow(hwnd: P0, dwtime: u32, dwflags: ANIMATE_WINDOW_F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn AnimateWindow ( hwnd : super::super::Foundation:: HWND , dwtime : u32 , dwflags : ANIMATE_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AnimateWindow ( hwnd : super::super::Foundation:: HWND , dwtime : u32 , dwflags : ANIMATE_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ); AnimateWindow(hwnd.into(), dwtime, dwflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn AnyPopup() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn AnyPopup ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AnyPopup ( ) -> super::super::Foundation:: BOOL ); AnyPopup() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -50,7 +50,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn AppendMenuA ( hmenu : HMENU , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AppendMenuA ( hmenu : HMENU , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); AppendMenuA(hmenu.into(), uflags, uidnewitem, lpnewitem.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -61,7 +61,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn AppendMenuW ( hmenu : HMENU , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn AppendMenuW ( hmenu : HMENU , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); AppendMenuW(hmenu.into(), uflags, uidnewitem, lpnewitem.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -71,15 +71,15 @@ pub unsafe fn ArrangeIconicWindows(hwnd: P0) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ArrangeIconicWindows ( hwnd : super::super::Foundation:: HWND ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ArrangeIconicWindows ( hwnd : super::super::Foundation:: HWND ) -> u32 ); ArrangeIconicWindows(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn BeginDeferWindowPos(nnumwindows: i32) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn BeginDeferWindowPos ( nnumwindows : i32 ) -> HDWP ); + ::windows::imp::link ! ( "user32.dll""system" fn BeginDeferWindowPos ( nnumwindows : i32 ) -> HDWP ); let result__ = BeginDeferWindowPos(nnumwindows); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -88,28 +88,28 @@ pub unsafe fn BringWindowToTop(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn BringWindowToTop ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn BringWindowToTop ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); BringWindowToTop(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CalculatePopupWindowPosition(anchorpoint: *const super::super::Foundation::POINT, windowsize: *const super::super::Foundation::SIZE, flags: u32, excluderect: ::core::option::Option<*const super::super::Foundation::RECT>, popupwindowposition: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn CalculatePopupWindowPosition ( anchorpoint : *const super::super::Foundation:: POINT , windowsize : *const super::super::Foundation:: SIZE , flags : u32 , excluderect : *const super::super::Foundation:: RECT , popupwindowposition : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CalculatePopupWindowPosition ( anchorpoint : *const super::super::Foundation:: POINT , windowsize : *const super::super::Foundation:: SIZE , flags : u32 , excluderect : *const super::super::Foundation:: RECT , popupwindowposition : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); CalculatePopupWindowPosition(anchorpoint, windowsize, flags, ::core::mem::transmute(excluderect.unwrap_or(::std::ptr::null())), popupwindowposition) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CallMsgFilterA(lpmsg: *const MSG, ncode: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn CallMsgFilterA ( lpmsg : *const MSG , ncode : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CallMsgFilterA ( lpmsg : *const MSG , ncode : i32 ) -> super::super::Foundation:: BOOL ); CallMsgFilterA(lpmsg, ncode) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CallMsgFilterW(lpmsg: *const MSG, ncode: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn CallMsgFilterW ( lpmsg : *const MSG , ncode : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CallMsgFilterW ( lpmsg : *const MSG , ncode : i32 ) -> super::super::Foundation:: BOOL ); CallMsgFilterW(lpmsg, ncode) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -121,7 +121,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CallNextHookEx ( hhk : HHOOK , ncode : i32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn CallNextHookEx ( hhk : HHOOK , ncode : i32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); CallNextHookEx(hhk.into(), ncode, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -133,7 +133,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CallWindowProcA ( lpprevwndfunc : WNDPROC , hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn CallWindowProcA ( lpprevwndfunc : WNDPROC , hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); CallWindowProcA(lpprevwndfunc, hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -145,14 +145,14 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CallWindowProcW ( lpprevwndfunc : WNDPROC , hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn CallWindowProcW ( lpprevwndfunc : WNDPROC , hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); CallWindowProcW(lpprevwndfunc, hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn CancelShutdown() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn CancelShutdown ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CancelShutdown ( ) -> super::super::Foundation:: BOOL ); CancelShutdown() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -162,7 +162,7 @@ pub unsafe fn CascadeWindows(hwndparent: P0, whow: CASCADE_WINDOWS_HOW, lpre where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CascadeWindows ( hwndparent : super::super::Foundation:: HWND , whow : CASCADE_WINDOWS_HOW , lprect : *const super::super::Foundation:: RECT , ckids : u32 , lpkids : *const super::super::Foundation:: HWND ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn CascadeWindows ( hwndparent : super::super::Foundation:: HWND , whow : CASCADE_WINDOWS_HOW , lprect : *const super::super::Foundation:: RECT , ckids : u32 , lpkids : *const super::super::Foundation:: HWND ) -> u16 ); CascadeWindows(hwndparent.into(), whow, ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), lpkids.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpkids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -173,7 +173,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn ChangeMenuA ( hmenu : HMENU , cmd : u32 , lpsznewitem : :: windows::core::PCSTR , cmdinsert : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeMenuA ( hmenu : HMENU , cmd : u32 , lpsznewitem : :: windows::core::PCSTR , cmdinsert : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); ChangeMenuA(hmenu.into(), cmd, lpsznewitem.into().abi(), cmdinsert, flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -184,14 +184,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn ChangeMenuW ( hmenu : HMENU , cmd : u32 , lpsznewitem : :: windows::core::PCWSTR , cmdinsert : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeMenuW ( hmenu : HMENU , cmd : u32 , lpsznewitem : :: windows::core::PCWSTR , cmdinsert : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); ChangeMenuW(hmenu.into(), cmd, lpsznewitem.into().abi(), cmdinsert, flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ChangeWindowMessageFilter(message: u32, dwflag: CHANGE_WINDOW_MESSAGE_FILTER_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn ChangeWindowMessageFilter ( message : u32 , dwflag : CHANGE_WINDOW_MESSAGE_FILTER_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeWindowMessageFilter ( message : u32 , dwflag : CHANGE_WINDOW_MESSAGE_FILTER_FLAGS ) -> super::super::Foundation:: BOOL ); ChangeWindowMessageFilter(message, dwflag) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -201,31 +201,31 @@ pub unsafe fn ChangeWindowMessageFilterEx(hwnd: P0, message: u32, action: WI where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ChangeWindowMessageFilterEx ( hwnd : super::super::Foundation:: HWND , message : u32 , action : WINDOW_MESSAGE_FILTER_ACTION , pchangefilterstruct : *mut CHANGEFILTERSTRUCT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ChangeWindowMessageFilterEx ( hwnd : super::super::Foundation:: HWND , message : u32 , action : WINDOW_MESSAGE_FILTER_ACTION , pchangefilterstruct : *mut CHANGEFILTERSTRUCT ) -> super::super::Foundation:: BOOL ); ChangeWindowMessageFilterEx(hwnd.into(), message, action, ::core::mem::transmute(pchangefilterstruct.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CharLowerA(lpsz: ::windows::core::PSTR) -> ::windows::core::PSTR { - ::windows::core::link ! ( "user32.dll""system" fn CharLowerA ( lpsz : :: windows::core::PSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharLowerA ( lpsz : :: windows::core::PSTR ) -> :: windows::core::PSTR ); CharLowerA(::core::mem::transmute(lpsz)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CharLowerBuffA(lpsz: &mut [u8]) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn CharLowerBuffA ( lpsz : :: windows::core::PSTR , cchlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn CharLowerBuffA ( lpsz : :: windows::core::PSTR , cchlength : u32 ) -> u32 ); CharLowerBuffA(::core::mem::transmute(lpsz.as_ptr()), lpsz.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CharLowerBuffW(lpsz: &mut [u16]) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn CharLowerBuffW ( lpsz : :: windows::core::PWSTR , cchlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn CharLowerBuffW ( lpsz : :: windows::core::PWSTR , cchlength : u32 ) -> u32 ); CharLowerBuffW(::core::mem::transmute(lpsz.as_ptr()), lpsz.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CharLowerW(lpsz: ::windows::core::PWSTR) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "user32.dll""system" fn CharLowerW ( lpsz : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharLowerW ( lpsz : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); CharLowerW(::core::mem::transmute(lpsz)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -234,7 +234,7 @@ pub unsafe fn CharNextA(lpsz: P0) -> ::windows::core::PSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharNextA ( lpsz : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharNextA ( lpsz : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); CharNextA(lpsz.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -243,7 +243,7 @@ pub unsafe fn CharNextExA(codepage: u16, lpcurrentchar: P0, dwflags: u32) -> where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharNextExA ( codepage : u16 , lpcurrentchar : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharNextExA ( codepage : u16 , lpcurrentchar : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::PSTR ); CharNextExA(codepage, lpcurrentchar.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -252,7 +252,7 @@ pub unsafe fn CharNextW(lpsz: P0) -> ::windows::core::PWSTR where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharNextW ( lpsz : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharNextW ( lpsz : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); CharNextW(lpsz.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -262,7 +262,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharPrevA ( lpszstart : :: windows::core::PCSTR , lpszcurrent : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharPrevA ( lpszstart : :: windows::core::PCSTR , lpszcurrent : :: windows::core::PCSTR ) -> :: windows::core::PSTR ); CharPrevA(lpszstart.into().abi(), lpszcurrent.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -272,7 +272,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharPrevExA ( codepage : u16 , lpstart : :: windows::core::PCSTR , lpcurrentchar : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharPrevExA ( codepage : u16 , lpstart : :: windows::core::PCSTR , lpcurrentchar : :: windows::core::PCSTR , dwflags : u32 ) -> :: windows::core::PSTR ); CharPrevExA(codepage, lpstart.into().abi(), lpcurrentchar.into().abi(), dwflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -282,7 +282,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharPrevW ( lpszstart : :: windows::core::PCWSTR , lpszcurrent : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharPrevW ( lpszstart : :: windows::core::PCWSTR , lpszcurrent : :: windows::core::PCWSTR ) -> :: windows::core::PWSTR ); CharPrevW(lpszstart.into().abi(), lpszcurrent.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -292,7 +292,7 @@ pub unsafe fn CharToOemA(psrc: P0, pdst: ::windows::core::PSTR) -> super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharToOemA ( psrc : :: windows::core::PCSTR , pdst : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CharToOemA ( psrc : :: windows::core::PCSTR , pdst : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); CharToOemA(psrc.into().abi(), ::core::mem::transmute(pdst)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -302,7 +302,7 @@ pub unsafe fn CharToOemBuffA(lpszsrc: P0, lpszdst: &mut [u8]) -> super::supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharToOemBuffA ( lpszsrc : :: windows::core::PCSTR , lpszdst : :: windows::core::PSTR , cchdstlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CharToOemBuffA ( lpszsrc : :: windows::core::PCSTR , lpszdst : :: windows::core::PSTR , cchdstlength : u32 ) -> super::super::Foundation:: BOOL ); CharToOemBuffA(lpszsrc.into().abi(), ::core::mem::transmute(lpszdst.as_ptr()), lpszdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -312,7 +312,7 @@ pub unsafe fn CharToOemBuffW(lpszsrc: P0, lpszdst: &mut [u8]) -> super::supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharToOemBuffW ( lpszsrc : :: windows::core::PCWSTR , lpszdst : :: windows::core::PSTR , cchdstlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CharToOemBuffW ( lpszsrc : :: windows::core::PCWSTR , lpszdst : :: windows::core::PSTR , cchdstlength : u32 ) -> super::super::Foundation:: BOOL ); CharToOemBuffW(lpszsrc.into().abi(), ::core::mem::transmute(lpszdst.as_ptr()), lpszdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -322,31 +322,31 @@ pub unsafe fn CharToOemW(psrc: P0, pdst: ::windows::core::PSTR) -> super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn CharToOemW ( psrc : :: windows::core::PCWSTR , pdst : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CharToOemW ( psrc : :: windows::core::PCWSTR , pdst : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); CharToOemW(psrc.into().abi(), ::core::mem::transmute(pdst)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CharUpperA(lpsz: ::windows::core::PSTR) -> ::windows::core::PSTR { - ::windows::core::link ! ( "user32.dll""system" fn CharUpperA ( lpsz : :: windows::core::PSTR ) -> :: windows::core::PSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharUpperA ( lpsz : :: windows::core::PSTR ) -> :: windows::core::PSTR ); CharUpperA(::core::mem::transmute(lpsz)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CharUpperBuffA(lpsz: &mut [u8]) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn CharUpperBuffA ( lpsz : :: windows::core::PSTR , cchlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn CharUpperBuffA ( lpsz : :: windows::core::PSTR , cchlength : u32 ) -> u32 ); CharUpperBuffA(::core::mem::transmute(lpsz.as_ptr()), lpsz.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CharUpperBuffW(lpsz: &mut [u16]) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn CharUpperBuffW ( lpsz : :: windows::core::PWSTR , cchlength : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn CharUpperBuffW ( lpsz : :: windows::core::PWSTR , cchlength : u32 ) -> u32 ); CharUpperBuffW(::core::mem::transmute(lpsz.as_ptr()), lpsz.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CharUpperW(lpsz: ::windows::core::PWSTR) -> ::windows::core::PWSTR { - ::windows::core::link ! ( "user32.dll""system" fn CharUpperW ( lpsz : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); + ::windows::imp::link ! ( "user32.dll""system" fn CharUpperW ( lpsz : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); CharUpperW(::core::mem::transmute(lpsz)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -355,7 +355,7 @@ pub unsafe fn CheckMenuItem(hmenu: P0, uidcheckitem: u32, ucheck: u32) -> u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CheckMenuItem ( hmenu : HMENU , uidcheckitem : u32 , ucheck : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn CheckMenuItem ( hmenu : HMENU , uidcheckitem : u32 , ucheck : u32 ) -> u32 ); CheckMenuItem(hmenu.into(), uidcheckitem, ucheck) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -365,7 +365,7 @@ pub unsafe fn CheckMenuRadioItem(hmenu: P0, first: u32, last: u32, check: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CheckMenuRadioItem ( hmenu : HMENU , first : u32 , last : u32 , check : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CheckMenuRadioItem ( hmenu : HMENU , first : u32 , last : u32 , check : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); CheckMenuRadioItem(hmenu.into(), first, last, check, flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -375,7 +375,7 @@ pub unsafe fn ChildWindowFromPoint(hwndparent: P0, point: super::super::Foun where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ChildWindowFromPoint ( hwndparent : super::super::Foundation:: HWND , point : super::super::Foundation:: POINT ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn ChildWindowFromPoint ( hwndparent : super::super::Foundation:: HWND , point : super::super::Foundation:: POINT ) -> super::super::Foundation:: HWND ); ChildWindowFromPoint(hwndparent.into(), ::core::mem::transmute(point)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -385,14 +385,14 @@ pub unsafe fn ChildWindowFromPointEx(hwnd: P0, pt: super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ChildWindowFromPointEx ( hwnd : super::super::Foundation:: HWND , pt : super::super::Foundation:: POINT , flags : CWP_FLAGS ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn ChildWindowFromPointEx ( hwnd : super::super::Foundation:: HWND , pt : super::super::Foundation:: POINT , flags : CWP_FLAGS ) -> super::super::Foundation:: HWND ); ChildWindowFromPointEx(hwnd.into(), ::core::mem::transmute(pt), flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn ClipCursor(lprect: ::core::option::Option<*const super::super::Foundation::RECT>) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn ClipCursor ( lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ClipCursor ( lprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); ClipCursor(::core::mem::transmute(lprect.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -402,7 +402,7 @@ pub unsafe fn CloseWindow(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CloseWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CloseWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); CloseWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -411,7 +411,7 @@ pub unsafe fn CopyAcceleratorTableA(haccelsrc: P0, lpacceldst: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CopyAcceleratorTableA ( haccelsrc : HACCEL , lpacceldst : *mut ACCEL , caccelentries : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn CopyAcceleratorTableA ( haccelsrc : HACCEL , lpacceldst : *mut ACCEL , caccelentries : i32 ) -> i32 ); CopyAcceleratorTableA(haccelsrc.into(), ::core::mem::transmute(lpacceldst.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpacceldst.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -420,7 +420,7 @@ pub unsafe fn CopyAcceleratorTableW(haccelsrc: P0, lpacceldst: ::core::optio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CopyAcceleratorTableW ( haccelsrc : HACCEL , lpacceldst : *mut ACCEL , caccelentries : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn CopyAcceleratorTableW ( haccelsrc : HACCEL , lpacceldst : *mut ACCEL , caccelentries : i32 ) -> i32 ); CopyAcceleratorTableW(haccelsrc.into(), ::core::mem::transmute(lpacceldst.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpacceldst.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -429,9 +429,9 @@ pub unsafe fn CopyIcon(hicon: P0) -> ::windows::core::Result where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CopyIcon ( hicon : HICON ) -> HICON ); + ::windows::imp::link ! ( "user32.dll""system" fn CopyIcon ( hicon : HICON ) -> HICON ); let result__ = CopyIcon(hicon.into()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -440,23 +440,23 @@ pub unsafe fn CopyImage(h: P0, r#type: GDI_IMAGE_TYPE, cx: i32, cy: i32, fla where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CopyImage ( h : super::super::Foundation:: HANDLE , r#type : GDI_IMAGE_TYPE , cx : i32 , cy : i32 , flags : IMAGE_FLAGS ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn CopyImage ( h : super::super::Foundation:: HANDLE , r#type : GDI_IMAGE_TYPE , cx : i32 , cy : i32 , flags : IMAGE_FLAGS ) -> super::super::Foundation:: HANDLE ); let result__ = CopyImage(h.into(), r#type, cx, cy, flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CreateAcceleratorTableA(paccel: &[ACCEL]) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn CreateAcceleratorTableA ( paccel : *const ACCEL , caccel : i32 ) -> HACCEL ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateAcceleratorTableA ( paccel : *const ACCEL , caccel : i32 ) -> HACCEL ); let result__ = CreateAcceleratorTableA(::core::mem::transmute(paccel.as_ptr()), paccel.len() as _); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CreateAcceleratorTableW(paccel: &[ACCEL]) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn CreateAcceleratorTableW ( paccel : *const ACCEL , caccel : i32 ) -> HACCEL ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateAcceleratorTableW ( paccel : *const ACCEL , caccel : i32 ) -> HACCEL ); let result__ = CreateAcceleratorTableW(::core::mem::transmute(paccel.as_ptr()), paccel.len() as _); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] @@ -466,7 +466,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateCaret ( hwnd : super::super::Foundation:: HWND , hbitmap : super::super::Graphics::Gdi:: HBITMAP , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateCaret ( hwnd : super::super::Foundation:: HWND , hbitmap : super::super::Graphics::Gdi:: HBITMAP , nwidth : i32 , nheight : i32 ) -> super::super::Foundation:: BOOL ); CreateCaret(hwnd.into(), hbitmap.into(), nwidth, nheight) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -476,9 +476,9 @@ pub unsafe fn CreateCursor(hinst: P0, xhotspot: i32, yhotspot: i32, nwidth: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateCursor ( hinst : super::super::Foundation:: HINSTANCE , xhotspot : i32 , yhotspot : i32 , nwidth : i32 , nheight : i32 , pvandplane : *const ::core::ffi::c_void , pvxorplane : *const ::core::ffi::c_void ) -> HCURSOR ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateCursor ( hinst : super::super::Foundation:: HINSTANCE , xhotspot : i32 , yhotspot : i32 , nwidth : i32 , nheight : i32 , pvandplane : *const ::core::ffi::c_void , pvxorplane : *const ::core::ffi::c_void ) -> HCURSOR ); let result__ = CreateCursor(hinst.into(), xhotspot, yhotspot, nwidth, nheight, pvandplane, pvxorplane); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -489,7 +489,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateDialogIndirectParamA ( hinstance : super::super::Foundation:: HINSTANCE , lptemplate : *const DLGTEMPLATE , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateDialogIndirectParamA ( hinstance : super::super::Foundation:: HINSTANCE , lptemplate : *const DLGTEMPLATE , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); CreateDialogIndirectParamA(hinstance.into(), lptemplate, hwndparent.into(), lpdialogfunc, dwinitparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -501,7 +501,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateDialogIndirectParamW ( hinstance : super::super::Foundation:: HINSTANCE , lptemplate : *const DLGTEMPLATE , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateDialogIndirectParamW ( hinstance : super::super::Foundation:: HINSTANCE , lptemplate : *const DLGTEMPLATE , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); CreateDialogIndirectParamW(hinstance.into(), lptemplate, hwndparent.into(), lpdialogfunc, dwinitparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -514,7 +514,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateDialogParamA ( hinstance : super::super::Foundation:: HINSTANCE , lptemplatename : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateDialogParamA ( hinstance : super::super::Foundation:: HINSTANCE , lptemplatename : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); CreateDialogParamA(hinstance.into(), lptemplatename.into().abi(), hwndparent.into(), lpdialogfunc, dwinitparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -527,7 +527,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateDialogParamW ( hinstance : super::super::Foundation:: HINSTANCE , lptemplatename : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateDialogParamW ( hinstance : super::super::Foundation:: HINSTANCE , lptemplatename : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); CreateDialogParamW(hinstance.into(), lptemplatename.into().abi(), hwndparent.into(), lpdialogfunc, dwinitparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -537,9 +537,9 @@ pub unsafe fn CreateIcon(hinstance: P0, nwidth: i32, nheight: i32, cplanes: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateIcon ( hinstance : super::super::Foundation:: HINSTANCE , nwidth : i32 , nheight : i32 , cplanes : u8 , cbitspixel : u8 , lpbandbits : *const u8 , lpbxorbits : *const u8 ) -> HICON ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateIcon ( hinstance : super::super::Foundation:: HINSTANCE , nwidth : i32 , nheight : i32 , cplanes : u8 , cbitspixel : u8 , lpbandbits : *const u8 , lpbxorbits : *const u8 ) -> HICON ); let result__ = CreateIcon(hinstance.into(), nwidth, nheight, cplanes, cbitspixel, lpbandbits, lpbxorbits); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -548,9 +548,9 @@ pub unsafe fn CreateIconFromResource(presbits: &[u8], ficon: P0, dwver: u32) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateIconFromResource ( presbits : *const u8 , dwressize : u32 , ficon : super::super::Foundation:: BOOL , dwver : u32 ) -> HICON ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateIconFromResource ( presbits : *const u8 , dwressize : u32 , ficon : super::super::Foundation:: BOOL , dwver : u32 ) -> HICON ); let result__ = CreateIconFromResource(::core::mem::transmute(presbits.as_ptr()), presbits.len() as _, ficon.into(), dwver); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -559,17 +559,17 @@ pub unsafe fn CreateIconFromResourceEx(presbits: &[u8], ficon: P0, dwver: u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateIconFromResourceEx ( presbits : *const u8 , dwressize : u32 , ficon : super::super::Foundation:: BOOL , dwver : u32 , cxdesired : i32 , cydesired : i32 , flags : IMAGE_FLAGS ) -> HICON ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateIconFromResourceEx ( presbits : *const u8 , dwressize : u32 , ficon : super::super::Foundation:: BOOL , dwver : u32 , cxdesired : i32 , cydesired : i32 , flags : IMAGE_FLAGS ) -> HICON ); let result__ = CreateIconFromResourceEx(::core::mem::transmute(presbits.as_ptr()), presbits.len() as _, ficon.into(), dwver, cxdesired, cydesired, flags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn CreateIconIndirect(piconinfo: *const ICONINFO) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn CreateIconIndirect ( piconinfo : *const ICONINFO ) -> HICON ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateIconIndirect ( piconinfo : *const ICONINFO ) -> HICON ); let result__ = CreateIconIndirect(piconinfo); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -582,7 +582,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateMDIWindowA ( lpclassname : :: windows::core::PCSTR , lpwindowname : :: windows::core::PCSTR , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateMDIWindowA ( lpclassname : :: windows::core::PCSTR , lpwindowname : :: windows::core::PCSTR , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); CreateMDIWindowA(lpclassname.into().abi(), lpwindowname.into().abi(), dwstyle, x, y, nwidth, nheight, hwndparent.into(), hinstance.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -596,22 +596,22 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateMDIWindowW ( lpclassname : :: windows::core::PCWSTR , lpwindowname : :: windows::core::PCWSTR , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateMDIWindowW ( lpclassname : :: windows::core::PCWSTR , lpwindowname : :: windows::core::PCWSTR , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , hinstance : super::super::Foundation:: HINSTANCE , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: HWND ); CreateMDIWindowW(lpclassname.into().abi(), lpwindowname.into().abi(), dwstyle, x, y, nwidth, nheight, hwndparent.into(), hinstance.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CreateMenu() -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn CreateMenu ( ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateMenu ( ) -> HMENU ); let result__ = CreateMenu(); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn CreatePopupMenu() -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn CreatePopupMenu ( ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn CreatePopupMenu ( ) -> HMENU ); let result__ = CreatePopupMenu(); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] @@ -620,7 +620,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn CreateResourceIndexer ( projectroot : :: windows::core::PCWSTR , extensiondllpath : :: windows::core::PCWSTR , ppresourceindexer : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn CreateResourceIndexer ( projectroot : :: windows::core::PCWSTR , extensiondllpath : :: windows::core::PCWSTR , ppresourceindexer : *mut *mut ::core::ffi::c_void ) -> :: windows::core::HRESULT ); CreateResourceIndexer(projectroot.into().abi(), extensiondllpath.into().abi(), ppresourceindexer).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -634,7 +634,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateWindowExA ( dwexstyle : WINDOW_EX_STYLE , lpclassname : :: windows::core::PCSTR , lpwindowname : :: windows::core::PCSTR , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , hmenu : HMENU , hinstance : super::super::Foundation:: HINSTANCE , lpparam : *const ::core::ffi::c_void ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateWindowExA ( dwexstyle : WINDOW_EX_STYLE , lpclassname : :: windows::core::PCSTR , lpwindowname : :: windows::core::PCSTR , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , hmenu : HMENU , hinstance : super::super::Foundation:: HINSTANCE , lpparam : *const ::core::ffi::c_void ) -> super::super::Foundation:: HWND ); CreateWindowExA(dwexstyle, lpclassname.into().abi(), lpwindowname.into().abi(), dwstyle, x, y, nwidth, nheight, hwndparent.into(), hmenu.into(), hinstance.into(), ::core::mem::transmute(lpparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -648,7 +648,7 @@ where P3: ::std::convert::Into, P4: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn CreateWindowExW ( dwexstyle : WINDOW_EX_STYLE , lpclassname : :: windows::core::PCWSTR , lpwindowname : :: windows::core::PCWSTR , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , hmenu : HMENU , hinstance : super::super::Foundation:: HINSTANCE , lpparam : *const ::core::ffi::c_void ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn CreateWindowExW ( dwexstyle : WINDOW_EX_STYLE , lpclassname : :: windows::core::PCWSTR , lpwindowname : :: windows::core::PCWSTR , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : super::super::Foundation:: HWND , hmenu : HMENU , hinstance : super::super::Foundation:: HINSTANCE , lpparam : *const ::core::ffi::c_void ) -> super::super::Foundation:: HWND ); CreateWindowExW(dwexstyle, lpclassname.into().abi(), lpwindowname.into().abi(), dwstyle, x, y, nwidth, nheight, hwndparent.into(), hmenu.into(), hinstance.into(), ::core::mem::transmute(lpparam.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -660,7 +660,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DefDlgProcA ( hdlg : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefDlgProcA ( hdlg : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefDlgProcA(hdlg.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -672,7 +672,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DefDlgProcW ( hdlg : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefDlgProcW ( hdlg : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefDlgProcW(hdlg.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -685,7 +685,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DefFrameProcA ( hwnd : super::super::Foundation:: HWND , hwndmdiclient : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefFrameProcA ( hwnd : super::super::Foundation:: HWND , hwndmdiclient : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefFrameProcA(hwnd.into(), hwndmdiclient.into(), umsg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -698,7 +698,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DefFrameProcW ( hwnd : super::super::Foundation:: HWND , hwndmdiclient : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefFrameProcW ( hwnd : super::super::Foundation:: HWND , hwndmdiclient : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefFrameProcW(hwnd.into(), hwndmdiclient.into(), umsg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -710,7 +710,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DefMDIChildProcA ( hwnd : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefMDIChildProcA ( hwnd : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefMDIChildProcA(hwnd.into(), umsg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -722,7 +722,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DefMDIChildProcW ( hwnd : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefMDIChildProcW ( hwnd : super::super::Foundation:: HWND , umsg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefMDIChildProcW(hwnd.into(), umsg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -734,7 +734,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DefWindowProcA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefWindowProcA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefWindowProcA(hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -746,7 +746,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DefWindowProcW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DefWindowProcW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); DefWindowProcW(hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -758,9 +758,9 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DeferWindowPos ( hwinposinfo : HDWP , hwnd : super::super::Foundation:: HWND , hwndinsertafter : super::super::Foundation:: HWND , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SET_WINDOW_POS_FLAGS ) -> HDWP ); + ::windows::imp::link ! ( "user32.dll""system" fn DeferWindowPos ( hwinposinfo : HDWP , hwnd : super::super::Foundation:: HWND , hwndinsertafter : super::super::Foundation:: HWND , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SET_WINDOW_POS_FLAGS ) -> HDWP ); let result__ = DeferWindowPos(hwinposinfo.into(), hwnd.into(), hwndinsertafter.into(), x, y, cx, cy, uflags); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -769,7 +769,7 @@ pub unsafe fn DeleteMenu(hmenu: P0, uposition: u32, uflags: MENU_ITEM_FLAGS) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DeleteMenu ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DeleteMenu ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS ) -> super::super::Foundation:: BOOL ); DeleteMenu(hmenu.into(), uposition, uflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -779,7 +779,7 @@ pub unsafe fn DeregisterShellHookWindow(hwnd: P0) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DeregisterShellHookWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DeregisterShellHookWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); DeregisterShellHookWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -789,14 +789,14 @@ pub unsafe fn DestroyAcceleratorTable(haccel: P0) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DestroyAcceleratorTable ( haccel : HACCEL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DestroyAcceleratorTable ( haccel : HACCEL ) -> super::super::Foundation:: BOOL ); DestroyAcceleratorTable(haccel.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DestroyCaret() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn DestroyCaret ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DestroyCaret ( ) -> super::super::Foundation:: BOOL ); DestroyCaret() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -806,7 +806,7 @@ pub unsafe fn DestroyCursor(hcursor: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DestroyCursor ( hcursor : HCURSOR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DestroyCursor ( hcursor : HCURSOR ) -> super::super::Foundation:: BOOL ); DestroyCursor(hcursor.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -816,7 +816,7 @@ pub unsafe fn DestroyIcon(hicon: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DestroyIcon ( hicon : HICON ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DestroyIcon ( hicon : HICON ) -> super::super::Foundation:: BOOL ); DestroyIcon(hicon.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -825,7 +825,7 @@ pub unsafe fn DestroyIndexedResults(resourceuri: P0, qualifiers: ::core::opt where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn DestroyIndexedResults ( resourceuri : :: windows::core::PCWSTR , qualifiercount : u32 , qualifiers : *const IndexedResourceQualifier ) -> ( ) ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn DestroyIndexedResults ( resourceuri : :: windows::core::PCWSTR , qualifiercount : u32 , qualifiers : *const IndexedResourceQualifier ) -> ( ) ); DestroyIndexedResults(resourceuri.into().abi(), qualifiers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(qualifiers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -835,13 +835,13 @@ pub unsafe fn DestroyMenu(hmenu: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DestroyMenu ( hmenu : HMENU ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DestroyMenu ( hmenu : HMENU ) -> super::super::Foundation:: BOOL ); DestroyMenu(hmenu.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn DestroyResourceIndexer(resourceindexer: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows::core::link ! ( "mrmsupport.dll""system" fn DestroyResourceIndexer ( resourceindexer : *const ::core::ffi::c_void ) -> ( ) ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn DestroyResourceIndexer ( resourceindexer : *const ::core::ffi::c_void ) -> ( ) ); DestroyResourceIndexer(::core::mem::transmute(resourceindexer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -851,7 +851,7 @@ pub unsafe fn DestroyWindow(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DestroyWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DestroyWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); DestroyWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -863,7 +863,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DialogBoxIndirectParamA ( hinstance : super::super::Foundation:: HINSTANCE , hdialogtemplate : *const DLGTEMPLATE , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> isize ); + ::windows::imp::link ! ( "user32.dll""system" fn DialogBoxIndirectParamA ( hinstance : super::super::Foundation:: HINSTANCE , hdialogtemplate : *const DLGTEMPLATE , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> isize ); DialogBoxIndirectParamA(hinstance.into(), hdialogtemplate, hwndparent.into(), lpdialogfunc, dwinitparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -875,7 +875,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DialogBoxIndirectParamW ( hinstance : super::super::Foundation:: HINSTANCE , hdialogtemplate : *const DLGTEMPLATE , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> isize ); + ::windows::imp::link ! ( "user32.dll""system" fn DialogBoxIndirectParamW ( hinstance : super::super::Foundation:: HINSTANCE , hdialogtemplate : *const DLGTEMPLATE , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> isize ); DialogBoxIndirectParamW(hinstance.into(), hdialogtemplate, hwndparent.into(), lpdialogfunc, dwinitparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -888,7 +888,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DialogBoxParamA ( hinstance : super::super::Foundation:: HINSTANCE , lptemplatename : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> isize ); + ::windows::imp::link ! ( "user32.dll""system" fn DialogBoxParamA ( hinstance : super::super::Foundation:: HINSTANCE , lptemplatename : :: windows::core::PCSTR , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> isize ); DialogBoxParamA(hinstance.into(), lptemplatename.into().abi(), hwndparent.into(), lpdialogfunc, dwinitparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -901,27 +901,27 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DialogBoxParamW ( hinstance : super::super::Foundation:: HINSTANCE , lptemplatename : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> isize ); + ::windows::imp::link ! ( "user32.dll""system" fn DialogBoxParamW ( hinstance : super::super::Foundation:: HINSTANCE , lptemplatename : :: windows::core::PCWSTR , hwndparent : super::super::Foundation:: HWND , lpdialogfunc : DLGPROC , dwinitparam : super::super::Foundation:: LPARAM ) -> isize ); DialogBoxParamW(hinstance.into(), lptemplatename.into().abi(), hwndparent.into(), lpdialogfunc, dwinitparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn DisableProcessWindowsGhosting() { - ::windows::core::link ! ( "user32.dll""system" fn DisableProcessWindowsGhosting ( ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn DisableProcessWindowsGhosting ( ) -> ( ) ); DisableProcessWindowsGhosting() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DispatchMessageA(lpmsg: *const MSG) -> super::super::Foundation::LRESULT { - ::windows::core::link ! ( "user32.dll""system" fn DispatchMessageA ( lpmsg : *const MSG ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DispatchMessageA ( lpmsg : *const MSG ) -> super::super::Foundation:: LRESULT ); DispatchMessageA(lpmsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn DispatchMessageW(lpmsg: *const MSG) -> super::super::Foundation::LRESULT { - ::windows::core::link ! ( "user32.dll""system" fn DispatchMessageW ( lpmsg : *const MSG ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn DispatchMessageW ( lpmsg : *const MSG ) -> super::super::Foundation:: LRESULT ); DispatchMessageW(lpmsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -933,7 +933,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DragObject ( hwndparent : super::super::Foundation:: HWND , hwndfrom : super::super::Foundation:: HWND , fmt : u32 , data : usize , hcur : HCURSOR ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn DragObject ( hwndparent : super::super::Foundation:: HWND , hwndfrom : super::super::Foundation:: HWND , fmt : u32 , data : usize , hcur : HCURSOR ) -> u32 ); DragObject(hwndparent.into(), hwndfrom.into(), fmt, data, hcur.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -944,7 +944,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawIcon ( hdc : super::super::Graphics::Gdi:: HDC , x : i32 , y : i32 , hicon : HICON ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawIcon ( hdc : super::super::Graphics::Gdi:: HDC , x : i32 , y : i32 , hicon : HICON ) -> super::super::Foundation:: BOOL ); DrawIcon(hdc.into(), x, y, hicon.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -956,7 +956,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawIconEx ( hdc : super::super::Graphics::Gdi:: HDC , xleft : i32 , ytop : i32 , hicon : HICON , cxwidth : i32 , cywidth : i32 , istepifanicur : u32 , hbrflickerfreedraw : super::super::Graphics::Gdi:: HBRUSH , diflags : DI_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawIconEx ( hdc : super::super::Graphics::Gdi:: HDC , xleft : i32 , ytop : i32 , hicon : HICON , cxwidth : i32 , cywidth : i32 , istepifanicur : u32 , hbrflickerfreedraw : super::super::Graphics::Gdi:: HBRUSH , diflags : DI_FLAGS ) -> super::super::Foundation:: BOOL ); DrawIconEx(hdc.into(), xleft, ytop, hicon.into(), cxwidth, cywidth, istepifanicur, hbrflickerfreedraw.into(), diflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -966,7 +966,7 @@ pub unsafe fn DrawMenuBar(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn DrawMenuBar ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn DrawMenuBar ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); DrawMenuBar(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -976,7 +976,7 @@ pub unsafe fn EnableMenuItem(hmenu: P0, uidenableitem: u32, uenable: MENU_IT where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnableMenuItem ( hmenu : HMENU , uidenableitem : u32 , uenable : MENU_ITEM_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnableMenuItem ( hmenu : HMENU , uidenableitem : u32 , uenable : MENU_ITEM_FLAGS ) -> super::super::Foundation:: BOOL ); EnableMenuItem(hmenu.into(), uidenableitem, uenable) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -986,7 +986,7 @@ pub unsafe fn EndDeferWindowPos(hwinposinfo: P0) -> super::super::Foundation where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EndDeferWindowPos ( hwinposinfo : HDWP ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EndDeferWindowPos ( hwinposinfo : HDWP ) -> super::super::Foundation:: BOOL ); EndDeferWindowPos(hwinposinfo.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -996,14 +996,14 @@ pub unsafe fn EndDialog(hdlg: P0, nresult: isize) -> super::super::Foundatio where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EndDialog ( hdlg : super::super::Foundation:: HWND , nresult : isize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EndDialog ( hdlg : super::super::Foundation:: HWND , nresult : isize ) -> super::super::Foundation:: BOOL ); EndDialog(hdlg.into(), nresult) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn EndMenu() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn EndMenu ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EndMenu ( ) -> super::super::Foundation:: BOOL ); EndMenu() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1014,7 +1014,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumChildWindows ( hwndparent : super::super::Foundation:: HWND , lpenumfunc : WNDENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumChildWindows ( hwndparent : super::super::Foundation:: HWND , lpenumfunc : WNDENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumChildWindows(hwndparent.into(), lpenumfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1024,7 +1024,7 @@ pub unsafe fn EnumPropsA(hwnd: P0, lpenumfunc: PROPENUMPROCA) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumPropsA ( hwnd : super::super::Foundation:: HWND , lpenumfunc : PROPENUMPROCA ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumPropsA ( hwnd : super::super::Foundation:: HWND , lpenumfunc : PROPENUMPROCA ) -> i32 ); EnumPropsA(hwnd.into(), lpenumfunc) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1035,7 +1035,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumPropsExA ( hwnd : super::super::Foundation:: HWND , lpenumfunc : PROPENUMPROCEXA , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumPropsExA ( hwnd : super::super::Foundation:: HWND , lpenumfunc : PROPENUMPROCEXA , lparam : super::super::Foundation:: LPARAM ) -> i32 ); EnumPropsExA(hwnd.into(), lpenumfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1046,7 +1046,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumPropsExW ( hwnd : super::super::Foundation:: HWND , lpenumfunc : PROPENUMPROCEXW , lparam : super::super::Foundation:: LPARAM ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumPropsExW ( hwnd : super::super::Foundation:: HWND , lpenumfunc : PROPENUMPROCEXW , lparam : super::super::Foundation:: LPARAM ) -> i32 ); EnumPropsExW(hwnd.into(), lpenumfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1056,7 +1056,7 @@ pub unsafe fn EnumPropsW(hwnd: P0, lpenumfunc: PROPENUMPROCW) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumPropsW ( hwnd : super::super::Foundation:: HWND , lpenumfunc : PROPENUMPROCW ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumPropsW ( hwnd : super::super::Foundation:: HWND , lpenumfunc : PROPENUMPROCW ) -> i32 ); EnumPropsW(hwnd.into(), lpenumfunc) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1066,7 +1066,7 @@ pub unsafe fn EnumThreadWindows(dwthreadid: u32, lpfn: WNDENUMPROC, lparam: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumThreadWindows ( dwthreadid : u32 , lpfn : WNDENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumThreadWindows ( dwthreadid : u32 , lpfn : WNDENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumThreadWindows(dwthreadid, lpfn, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1076,7 +1076,7 @@ pub unsafe fn EnumWindows(lpenumfunc: WNDENUMPROC, lparam: P0) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn EnumWindows ( lpenumfunc : WNDENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn EnumWindows ( lpenumfunc : WNDENUMPROC , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); EnumWindows(lpenumfunc, lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1087,7 +1087,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn FindWindowA ( lpclassname : :: windows::core::PCSTR , lpwindowname : :: windows::core::PCSTR ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn FindWindowA ( lpclassname : :: windows::core::PCSTR , lpwindowname : :: windows::core::PCSTR ) -> super::super::Foundation:: HWND ); FindWindowA(lpclassname.into().abi(), lpwindowname.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1100,7 +1100,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn FindWindowExA ( hwndparent : super::super::Foundation:: HWND , hwndchildafter : super::super::Foundation:: HWND , lpszclass : :: windows::core::PCSTR , lpszwindow : :: windows::core::PCSTR ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn FindWindowExA ( hwndparent : super::super::Foundation:: HWND , hwndchildafter : super::super::Foundation:: HWND , lpszclass : :: windows::core::PCSTR , lpszwindow : :: windows::core::PCSTR ) -> super::super::Foundation:: HWND ); FindWindowExA(hwndparent.into(), hwndchildafter.into(), lpszclass.into().abi(), lpszwindow.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1113,7 +1113,7 @@ where P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P3: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn FindWindowExW ( hwndparent : super::super::Foundation:: HWND , hwndchildafter : super::super::Foundation:: HWND , lpszclass : :: windows::core::PCWSTR , lpszwindow : :: windows::core::PCWSTR ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn FindWindowExW ( hwndparent : super::super::Foundation:: HWND , hwndchildafter : super::super::Foundation:: HWND , lpszclass : :: windows::core::PCWSTR , lpszwindow : :: windows::core::PCWSTR ) -> super::super::Foundation:: HWND ); FindWindowExW(hwndparent.into(), hwndchildafter.into(), lpszclass.into().abi(), lpszwindow.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1124,7 +1124,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn FindWindowW ( lpclassname : :: windows::core::PCWSTR , lpwindowname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn FindWindowW ( lpclassname : :: windows::core::PCWSTR , lpwindowname : :: windows::core::PCWSTR ) -> super::super::Foundation:: HWND ); FindWindowW(lpclassname.into().abi(), lpwindowname.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1135,14 +1135,14 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn FlashWindow ( hwnd : super::super::Foundation:: HWND , binvert : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn FlashWindow ( hwnd : super::super::Foundation:: HWND , binvert : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); FlashWindow(hwnd.into(), binvert.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn FlashWindowEx(pfwi: *const FLASHWINFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn FlashWindowEx ( pfwi : *const FLASHWINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn FlashWindowEx ( pfwi : *const FLASHWINFO ) -> super::super::Foundation:: BOOL ); FlashWindowEx(pfwi) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1152,7 +1152,7 @@ pub unsafe fn GetAltTabInfoA(hwnd: P0, iitem: i32, pati: *mut ALTTABINFO, ps where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetAltTabInfoA ( hwnd : super::super::Foundation:: HWND , iitem : i32 , pati : *mut ALTTABINFO , pszitemtext : :: windows::core::PSTR , cchitemtext : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetAltTabInfoA ( hwnd : super::super::Foundation:: HWND , iitem : i32 , pati : *mut ALTTABINFO , pszitemtext : :: windows::core::PSTR , cchitemtext : u32 ) -> super::super::Foundation:: BOOL ); GetAltTabInfoA(hwnd.into(), iitem, pati, ::core::mem::transmute(pszitemtext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszitemtext.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1162,7 +1162,7 @@ pub unsafe fn GetAltTabInfoW(hwnd: P0, iitem: i32, pati: *mut ALTTABINFO, ps where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetAltTabInfoW ( hwnd : super::super::Foundation:: HWND , iitem : i32 , pati : *mut ALTTABINFO , pszitemtext : :: windows::core::PWSTR , cchitemtext : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetAltTabInfoW ( hwnd : super::super::Foundation:: HWND , iitem : i32 , pati : *mut ALTTABINFO , pszitemtext : :: windows::core::PWSTR , cchitemtext : u32 ) -> super::super::Foundation:: BOOL ); GetAltTabInfoW(hwnd.into(), iitem, pati, ::core::mem::transmute(pszitemtext.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pszitemtext.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1172,20 +1172,20 @@ pub unsafe fn GetAncestor(hwnd: P0, gaflags: GET_ANCESTOR_FLAGS) -> super::s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetAncestor ( hwnd : super::super::Foundation:: HWND , gaflags : GET_ANCESTOR_FLAGS ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetAncestor ( hwnd : super::super::Foundation:: HWND , gaflags : GET_ANCESTOR_FLAGS ) -> super::super::Foundation:: HWND ); GetAncestor(hwnd.into(), gaflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn GetCaretBlinkTime() -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetCaretBlinkTime ( ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetCaretBlinkTime ( ) -> u32 ); GetCaretBlinkTime() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCaretPos(lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetCaretPos ( lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetCaretPos ( lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); GetCaretPos(lppoint) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1196,7 +1196,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassInfoA ( hinstance : super::super::Foundation:: HINSTANCE , lpclassname : :: windows::core::PCSTR , lpwndclass : *mut WNDCLASSA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassInfoA ( hinstance : super::super::Foundation:: HINSTANCE , lpclassname : :: windows::core::PCSTR , lpwndclass : *mut WNDCLASSA ) -> super::super::Foundation:: BOOL ); GetClassInfoA(hinstance.into(), lpclassname.into().abi(), lpwndclass) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1207,7 +1207,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassInfoExA ( hinstance : super::super::Foundation:: HINSTANCE , lpszclass : :: windows::core::PCSTR , lpwcx : *mut WNDCLASSEXA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassInfoExA ( hinstance : super::super::Foundation:: HINSTANCE , lpszclass : :: windows::core::PCSTR , lpwcx : *mut WNDCLASSEXA ) -> super::super::Foundation:: BOOL ); GetClassInfoExA(hinstance.into(), lpszclass.into().abi(), lpwcx) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1218,7 +1218,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassInfoExW ( hinstance : super::super::Foundation:: HINSTANCE , lpszclass : :: windows::core::PCWSTR , lpwcx : *mut WNDCLASSEXW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassInfoExW ( hinstance : super::super::Foundation:: HINSTANCE , lpszclass : :: windows::core::PCWSTR , lpwcx : *mut WNDCLASSEXW ) -> super::super::Foundation:: BOOL ); GetClassInfoExW(hinstance.into(), lpszclass.into().abi(), lpwcx) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1229,7 +1229,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassInfoW ( hinstance : super::super::Foundation:: HINSTANCE , lpclassname : :: windows::core::PCWSTR , lpwndclass : *mut WNDCLASSW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassInfoW ( hinstance : super::super::Foundation:: HINSTANCE , lpclassname : :: windows::core::PCWSTR , lpwndclass : *mut WNDCLASSW ) -> super::super::Foundation:: BOOL ); GetClassInfoW(hinstance.into(), lpclassname.into().abi(), lpwndclass) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1239,7 +1239,7 @@ pub unsafe fn GetClassLongA(hwnd: P0, nindex: GET_CLASS_LONG_INDEX) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassLongA ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassLongA ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX ) -> u32 ); GetClassLongA(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1250,7 +1250,7 @@ pub unsafe fn GetClassLongPtrA(hwnd: P0, nindex: GET_CLASS_LONG_INDEX) -> us where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassLongPtrA ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX ) -> usize ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassLongPtrA ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX ) -> usize ); GetClassLongPtrA(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1261,7 +1261,7 @@ pub unsafe fn GetClassLongPtrW(hwnd: P0, nindex: GET_CLASS_LONG_INDEX) -> us where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassLongPtrW ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX ) -> usize ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassLongPtrW ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX ) -> usize ); GetClassLongPtrW(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1271,7 +1271,7 @@ pub unsafe fn GetClassLongW(hwnd: P0, nindex: GET_CLASS_LONG_INDEX) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassLongW ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassLongW ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX ) -> u32 ); GetClassLongW(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1281,7 +1281,7 @@ pub unsafe fn GetClassNameA(hwnd: P0, lpclassname: &mut [u8]) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassNameA ( hwnd : super::super::Foundation:: HWND , lpclassname : :: windows::core::PSTR , nmaxcount : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassNameA ( hwnd : super::super::Foundation:: HWND , lpclassname : :: windows::core::PSTR , nmaxcount : i32 ) -> i32 ); GetClassNameA(hwnd.into(), ::core::mem::transmute(lpclassname.as_ptr()), lpclassname.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1291,7 +1291,7 @@ pub unsafe fn GetClassNameW(hwnd: P0, lpclassname: &mut [u16]) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassNameW ( hwnd : super::super::Foundation:: HWND , lpclassname : :: windows::core::PWSTR , nmaxcount : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassNameW ( hwnd : super::super::Foundation:: HWND , lpclassname : :: windows::core::PWSTR , nmaxcount : i32 ) -> i32 ); GetClassNameW(hwnd.into(), ::core::mem::transmute(lpclassname.as_ptr()), lpclassname.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1301,7 +1301,7 @@ pub unsafe fn GetClassWord(hwnd: P0, nindex: i32) -> u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetClassWord ( hwnd : super::super::Foundation:: HWND , nindex : i32 ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClassWord ( hwnd : super::super::Foundation:: HWND , nindex : i32 ) -> u16 ); GetClassWord(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1311,47 +1311,47 @@ pub unsafe fn GetClientRect(hwnd: P0, lprect: *mut super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetClientRect ( hwnd : super::super::Foundation:: HWND , lprect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClientRect ( hwnd : super::super::Foundation:: HWND , lprect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); GetClientRect(hwnd.into(), lprect) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetClipCursor(lprect: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetClipCursor ( lprect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetClipCursor ( lprect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); GetClipCursor(lprect) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn GetCursor() -> HCURSOR { - ::windows::core::link ! ( "user32.dll""system" fn GetCursor ( ) -> HCURSOR ); + ::windows::imp::link ! ( "user32.dll""system" fn GetCursor ( ) -> HCURSOR ); GetCursor() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCursorInfo(pci: *mut CURSORINFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetCursorInfo ( pci : *mut CURSORINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetCursorInfo ( pci : *mut CURSORINFO ) -> super::super::Foundation:: BOOL ); GetCursorInfo(pci) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetCursorPos(lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetCursorPos ( lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetCursorPos ( lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); GetCursorPos(lppoint) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetDesktopWindow() -> super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetDesktopWindow ( ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDesktopWindow ( ) -> super::super::Foundation:: HWND ); GetDesktopWindow() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn GetDialogBaseUnits() -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetDialogBaseUnits ( ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDialogBaseUnits ( ) -> i32 ); GetDialogBaseUnits() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1361,7 +1361,7 @@ pub unsafe fn GetDlgCtrlID(hwnd: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDlgCtrlID ( hwnd : super::super::Foundation:: HWND ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDlgCtrlID ( hwnd : super::super::Foundation:: HWND ) -> i32 ); GetDlgCtrlID(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1371,7 +1371,7 @@ pub unsafe fn GetDlgItem(hdlg: P0, niddlgitem: i32) -> super::super::Foundat where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDlgItem ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDlgItem ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 ) -> super::super::Foundation:: HWND ); GetDlgItem(hdlg.into(), niddlgitem) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1382,7 +1382,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDlgItemInt ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lptranslated : *mut super::super::Foundation:: BOOL , bsigned : super::super::Foundation:: BOOL ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDlgItemInt ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lptranslated : *mut super::super::Foundation:: BOOL , bsigned : super::super::Foundation:: BOOL ) -> u32 ); GetDlgItemInt(hdlg.into(), niddlgitem, ::core::mem::transmute(lptranslated.unwrap_or(::std::ptr::null_mut())), bsigned.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1392,7 +1392,7 @@ pub unsafe fn GetDlgItemTextA(hdlg: P0, niddlgitem: i32, lpstring: &mut [u8] where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDlgItemTextA ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lpstring : :: windows::core::PSTR , cchmax : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDlgItemTextA ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lpstring : :: windows::core::PSTR , cchmax : i32 ) -> u32 ); GetDlgItemTextA(hdlg.into(), niddlgitem, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1402,21 +1402,21 @@ pub unsafe fn GetDlgItemTextW(hdlg: P0, niddlgitem: i32, lpstring: &mut [u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetDlgItemTextW ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lpstring : :: windows::core::PWSTR , cchmax : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetDlgItemTextW ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lpstring : :: windows::core::PWSTR , cchmax : i32 ) -> u32 ); GetDlgItemTextW(hdlg.into(), niddlgitem, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetForegroundWindow() -> super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetForegroundWindow ( ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetForegroundWindow ( ) -> super::super::Foundation:: HWND ); GetForegroundWindow() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetGUIThreadInfo(idthread: u32, pgui: *mut GUITHREADINFO) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetGUIThreadInfo ( idthread : u32 , pgui : *mut GUITHREADINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetGUIThreadInfo ( idthread : u32 , pgui : *mut GUITHREADINFO ) -> super::super::Foundation:: BOOL ); GetGUIThreadInfo(idthread, pgui) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1426,7 +1426,7 @@ pub unsafe fn GetIconInfo(hicon: P0, piconinfo: *mut ICONINFO) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetIconInfo ( hicon : HICON , piconinfo : *mut ICONINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetIconInfo ( hicon : HICON , piconinfo : *mut ICONINFO ) -> super::super::Foundation:: BOOL ); GetIconInfo(hicon.into(), piconinfo) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1436,7 +1436,7 @@ pub unsafe fn GetIconInfoExA(hicon: P0, piconinfo: *mut ICONINFOEXA) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetIconInfoExA ( hicon : HICON , piconinfo : *mut ICONINFOEXA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetIconInfoExA ( hicon : HICON , piconinfo : *mut ICONINFOEXA ) -> super::super::Foundation:: BOOL ); GetIconInfoExA(hicon.into(), piconinfo) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1446,14 +1446,14 @@ pub unsafe fn GetIconInfoExW(hicon: P0, piconinfo: *mut ICONINFOEXW) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetIconInfoExW ( hicon : HICON , piconinfo : *mut ICONINFOEXW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetIconInfoExW ( hicon : HICON , piconinfo : *mut ICONINFOEXW ) -> super::super::Foundation:: BOOL ); GetIconInfoExW(hicon.into(), piconinfo) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetInputState() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetInputState ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetInputState ( ) -> super::super::Foundation:: BOOL ); GetInputState() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1463,7 +1463,7 @@ pub unsafe fn GetLastActivePopup(hwnd: P0) -> super::super::Foundation::HWND where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetLastActivePopup ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetLastActivePopup ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); GetLastActivePopup(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1473,7 +1473,7 @@ pub unsafe fn GetLayeredWindowAttributes(hwnd: P0, pcrkey: ::core::option::O where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetLayeredWindowAttributes ( hwnd : super::super::Foundation:: HWND , pcrkey : *mut super::super::Foundation:: COLORREF , pbalpha : *mut u8 , pdwflags : *mut LAYERED_WINDOW_ATTRIBUTES_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetLayeredWindowAttributes ( hwnd : super::super::Foundation:: HWND , pcrkey : *mut super::super::Foundation:: COLORREF , pbalpha : *mut u8 , pdwflags : *mut LAYERED_WINDOW_ATTRIBUTES_FLAGS ) -> super::super::Foundation:: BOOL ); GetLayeredWindowAttributes(hwnd.into(), ::core::mem::transmute(pcrkey.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pbalpha.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pdwflags.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1483,7 +1483,7 @@ pub unsafe fn GetMenu(hwnd: P0) -> HMENU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenu ( hwnd : super::super::Foundation:: HWND ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenu ( hwnd : super::super::Foundation:: HWND ) -> HMENU ); GetMenu(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1493,13 +1493,13 @@ pub unsafe fn GetMenuBarInfo(hwnd: P0, idobject: OBJECT_IDENTIFIER, iditem: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuBarInfo ( hwnd : super::super::Foundation:: HWND , idobject : OBJECT_IDENTIFIER , iditem : i32 , pmbi : *mut MENUBARINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuBarInfo ( hwnd : super::super::Foundation:: HWND , idobject : OBJECT_IDENTIFIER , iditem : i32 , pmbi : *mut MENUBARINFO ) -> super::super::Foundation:: BOOL ); GetMenuBarInfo(hwnd.into(), idobject, iditem, pmbi) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn GetMenuCheckMarkDimensions() -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuCheckMarkDimensions ( ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuCheckMarkDimensions ( ) -> i32 ); GetMenuCheckMarkDimensions() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1508,7 +1508,7 @@ pub unsafe fn GetMenuDefaultItem(hmenu: P0, fbypos: u32, gmdiflags: GET_MENU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuDefaultItem ( hmenu : HMENU , fbypos : u32 , gmdiflags : GET_MENU_DEFAULT_ITEM_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuDefaultItem ( hmenu : HMENU , fbypos : u32 , gmdiflags : GET_MENU_DEFAULT_ITEM_FLAGS ) -> u32 ); GetMenuDefaultItem(hmenu.into(), fbypos, gmdiflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1518,7 +1518,7 @@ pub unsafe fn GetMenuInfo(param0: P0, param1: *mut MENUINFO) -> super::super where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuInfo ( param0 : HMENU , param1 : *mut MENUINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuInfo ( param0 : HMENU , param1 : *mut MENUINFO ) -> super::super::Foundation:: BOOL ); GetMenuInfo(param0.into(), param1) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1527,7 +1527,7 @@ pub unsafe fn GetMenuItemCount(hmenu: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuItemCount ( hmenu : HMENU ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuItemCount ( hmenu : HMENU ) -> i32 ); GetMenuItemCount(hmenu.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1536,7 +1536,7 @@ pub unsafe fn GetMenuItemID(hmenu: P0, npos: i32) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuItemID ( hmenu : HMENU , npos : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuItemID ( hmenu : HMENU , npos : i32 ) -> u32 ); GetMenuItemID(hmenu.into(), npos) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1547,7 +1547,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuItemInfoA ( hmenu : HMENU , item : u32 , fbyposition : super::super::Foundation:: BOOL , lpmii : *mut MENUITEMINFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuItemInfoA ( hmenu : HMENU , item : u32 , fbyposition : super::super::Foundation:: BOOL , lpmii : *mut MENUITEMINFOA ) -> super::super::Foundation:: BOOL ); GetMenuItemInfoA(hmenu.into(), item, fbyposition.into(), lpmii) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -1558,7 +1558,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuItemInfoW ( hmenu : HMENU , item : u32 , fbyposition : super::super::Foundation:: BOOL , lpmii : *mut MENUITEMINFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuItemInfoW ( hmenu : HMENU , item : u32 , fbyposition : super::super::Foundation:: BOOL , lpmii : *mut MENUITEMINFOW ) -> super::super::Foundation:: BOOL ); GetMenuItemInfoW(hmenu.into(), item, fbyposition.into(), lpmii) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1569,7 +1569,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuItemRect ( hwnd : super::super::Foundation:: HWND , hmenu : HMENU , uitem : u32 , lprcitem : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuItemRect ( hwnd : super::super::Foundation:: HWND , hmenu : HMENU , uitem : u32 , lprcitem : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); GetMenuItemRect(hwnd.into(), hmenu.into(), uitem, lprcitem) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1578,7 +1578,7 @@ pub unsafe fn GetMenuState(hmenu: P0, uid: u32, uflags: MENU_ITEM_FLAGS) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuState ( hmenu : HMENU , uid : u32 , uflags : MENU_ITEM_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuState ( hmenu : HMENU , uid : u32 , uflags : MENU_ITEM_FLAGS ) -> u32 ); GetMenuState(hmenu.into(), uid, uflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1587,7 +1587,7 @@ pub unsafe fn GetMenuStringA(hmenu: P0, uiditem: u32, lpstring: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuStringA ( hmenu : HMENU , uiditem : u32 , lpstring : :: windows::core::PSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuStringA ( hmenu : HMENU , uiditem : u32 , lpstring : :: windows::core::PSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS ) -> i32 ); GetMenuStringA(hmenu.into(), uiditem, ::core::mem::transmute(lpstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpstring.as_deref().map_or(0, |slice| slice.len() as _), flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1596,7 +1596,7 @@ pub unsafe fn GetMenuStringW(hmenu: P0, uiditem: u32, lpstring: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMenuStringW ( hmenu : HMENU , uiditem : u32 , lpstring : :: windows::core::PWSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMenuStringW ( hmenu : HMENU , uiditem : u32 , lpstring : :: windows::core::PWSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS ) -> i32 ); GetMenuStringW(hmenu.into(), uiditem, ::core::mem::transmute(lpstring.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpstring.as_deref().map_or(0, |slice| slice.len() as _), flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1606,26 +1606,26 @@ pub unsafe fn GetMessageA(lpmsg: *mut MSG, hwnd: P0, wmsgfiltermin: u32, wms where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMessageA ( lpmsg : *mut MSG , hwnd : super::super::Foundation:: HWND , wmsgfiltermin : u32 , wmsgfiltermax : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMessageA ( lpmsg : *mut MSG , hwnd : super::super::Foundation:: HWND , wmsgfiltermin : u32 , wmsgfiltermax : u32 ) -> super::super::Foundation:: BOOL ); GetMessageA(lpmsg, hwnd.into(), wmsgfiltermin, wmsgfiltermax) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetMessageExtraInfo() -> super::super::Foundation::LPARAM { - ::windows::core::link ! ( "user32.dll""system" fn GetMessageExtraInfo ( ) -> super::super::Foundation:: LPARAM ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMessageExtraInfo ( ) -> super::super::Foundation:: LPARAM ); GetMessageExtraInfo() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn GetMessagePos() -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetMessagePos ( ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMessagePos ( ) -> u32 ); GetMessagePos() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn GetMessageTime() -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetMessageTime ( ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMessageTime ( ) -> i32 ); GetMessageTime() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1635,7 +1635,7 @@ pub unsafe fn GetMessageW(lpmsg: *mut MSG, hwnd: P0, wmsgfiltermin: u32, wms where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetMessageW ( lpmsg : *mut MSG , hwnd : super::super::Foundation:: HWND , wmsgfiltermin : u32 , wmsgfiltermax : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetMessageW ( lpmsg : *mut MSG , hwnd : super::super::Foundation:: HWND , wmsgfiltermin : u32 , wmsgfiltermax : u32 ) -> super::super::Foundation:: BOOL ); GetMessageW(lpmsg, hwnd.into(), wmsgfiltermin, wmsgfiltermax) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1647,7 +1647,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetNextDlgGroupItem ( hdlg : super::super::Foundation:: HWND , hctl : super::super::Foundation:: HWND , bprevious : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetNextDlgGroupItem ( hdlg : super::super::Foundation:: HWND , hctl : super::super::Foundation:: HWND , bprevious : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HWND ); GetNextDlgGroupItem(hdlg.into(), hctl.into(), bprevious.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1659,7 +1659,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetNextDlgTabItem ( hdlg : super::super::Foundation:: HWND , hctl : super::super::Foundation:: HWND , bprevious : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetNextDlgTabItem ( hdlg : super::super::Foundation:: HWND , hctl : super::super::Foundation:: HWND , bprevious : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HWND ); GetNextDlgTabItem(hdlg.into(), hctl.into(), bprevious.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1669,21 +1669,21 @@ pub unsafe fn GetParent(hwnd: P0) -> super::super::Foundation::HWND where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetParent ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetParent ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); GetParent(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetPhysicalCursorPos(lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetPhysicalCursorPos ( lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPhysicalCursorPos ( lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); GetPhysicalCursorPos(lppoint) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetProcessDefaultLayout(pdwdefaultlayout: *mut u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn GetProcessDefaultLayout ( pdwdefaultlayout : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetProcessDefaultLayout ( pdwdefaultlayout : *mut u32 ) -> super::super::Foundation:: BOOL ); GetProcessDefaultLayout(pdwdefaultlayout) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1694,7 +1694,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn GetPropA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPropA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); GetPropA(hwnd.into(), lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1705,13 +1705,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn GetPropW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn GetPropW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); GetPropW(hwnd.into(), lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn GetQueueStatus(flags: QUEUE_STATUS_FLAGS) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn GetQueueStatus ( flags : QUEUE_STATUS_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetQueueStatus ( flags : QUEUE_STATUS_FLAGS ) -> u32 ); GetQueueStatus(flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1721,7 +1721,7 @@ pub unsafe fn GetScrollBarInfo(hwnd: P0, idobject: OBJECT_IDENTIFIER, psbi: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetScrollBarInfo ( hwnd : super::super::Foundation:: HWND , idobject : OBJECT_IDENTIFIER , psbi : *mut SCROLLBARINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetScrollBarInfo ( hwnd : super::super::Foundation:: HWND , idobject : OBJECT_IDENTIFIER , psbi : *mut SCROLLBARINFO ) -> super::super::Foundation:: BOOL ); GetScrollBarInfo(hwnd.into(), idobject, psbi) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1731,7 +1731,7 @@ pub unsafe fn GetScrollInfo(hwnd: P0, nbar: SCROLLBAR_CONSTANTS, lpsi: *mut where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetScrollInfo ( hwnd : super::super::Foundation:: HWND , nbar : SCROLLBAR_CONSTANTS , lpsi : *mut SCROLLINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetScrollInfo ( hwnd : super::super::Foundation:: HWND , nbar : SCROLLBAR_CONSTANTS , lpsi : *mut SCROLLINFO ) -> super::super::Foundation:: BOOL ); GetScrollInfo(hwnd.into(), nbar, lpsi) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1741,7 +1741,7 @@ pub unsafe fn GetScrollPos(hwnd: P0, nbar: SCROLLBAR_CONSTANTS) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetScrollPos ( hwnd : super::super::Foundation:: HWND , nbar : SCROLLBAR_CONSTANTS ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetScrollPos ( hwnd : super::super::Foundation:: HWND , nbar : SCROLLBAR_CONSTANTS ) -> i32 ); GetScrollPos(hwnd.into(), nbar) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1751,14 +1751,14 @@ pub unsafe fn GetScrollRange(hwnd: P0, nbar: SCROLLBAR_CONSTANTS, lpminpos: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetScrollRange ( hwnd : super::super::Foundation:: HWND , nbar : SCROLLBAR_CONSTANTS , lpminpos : *mut i32 , lpmaxpos : *mut i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetScrollRange ( hwnd : super::super::Foundation:: HWND , nbar : SCROLLBAR_CONSTANTS , lpminpos : *mut i32 , lpmaxpos : *mut i32 ) -> super::super::Foundation:: BOOL ); GetScrollRange(hwnd.into(), nbar, lpminpos, lpmaxpos) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn GetShellWindow() -> super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn GetShellWindow ( ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetShellWindow ( ) -> super::super::Foundation:: HWND ); GetShellWindow() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -1767,7 +1767,7 @@ pub unsafe fn GetSubMenu(hmenu: P0, npos: i32) -> HMENU where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetSubMenu ( hmenu : HMENU , npos : i32 ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn GetSubMenu ( hmenu : HMENU , npos : i32 ) -> HMENU ); GetSubMenu(hmenu.into(), npos) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1778,13 +1778,13 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetSystemMenu ( hwnd : super::super::Foundation:: HWND , brevert : super::super::Foundation:: BOOL ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn GetSystemMenu ( hwnd : super::super::Foundation:: HWND , brevert : super::super::Foundation:: BOOL ) -> HMENU ); GetSystemMenu(hwnd.into(), brevert.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn GetSystemMetrics(nindex: SYSTEM_METRICS_INDEX) -> i32 { - ::windows::core::link ! ( "user32.dll""system" fn GetSystemMetrics ( nindex : SYSTEM_METRICS_INDEX ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetSystemMetrics ( nindex : SYSTEM_METRICS_INDEX ) -> i32 ); GetSystemMetrics(nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1794,7 +1794,7 @@ pub unsafe fn GetTitleBarInfo(hwnd: P0, pti: *mut TITLEBARINFO) -> super::su where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetTitleBarInfo ( hwnd : super::super::Foundation:: HWND , pti : *mut TITLEBARINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetTitleBarInfo ( hwnd : super::super::Foundation:: HWND , pti : *mut TITLEBARINFO ) -> super::super::Foundation:: BOOL ); GetTitleBarInfo(hwnd.into(), pti) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1804,7 +1804,7 @@ pub unsafe fn GetTopWindow(hwnd: P0) -> super::super::Foundation::HWND where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetTopWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetTopWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); GetTopWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1814,7 +1814,7 @@ pub unsafe fn GetWindow(hwnd: P0, ucmd: GET_WINDOW_CMD) -> super::super::Fou where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindow ( hwnd : super::super::Foundation:: HWND , ucmd : GET_WINDOW_CMD ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindow ( hwnd : super::super::Foundation:: HWND , ucmd : GET_WINDOW_CMD ) -> super::super::Foundation:: HWND ); GetWindow(hwnd.into(), ucmd) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1824,7 +1824,7 @@ pub unsafe fn GetWindowDisplayAffinity(hwnd: P0, pdwaffinity: *mut u32) -> s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowDisplayAffinity ( hwnd : super::super::Foundation:: HWND , pdwaffinity : *mut u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowDisplayAffinity ( hwnd : super::super::Foundation:: HWND , pdwaffinity : *mut u32 ) -> super::super::Foundation:: BOOL ); GetWindowDisplayAffinity(hwnd.into(), pdwaffinity) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1834,7 +1834,7 @@ pub unsafe fn GetWindowInfo(hwnd: P0, pwi: *mut WINDOWINFO) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowInfo ( hwnd : super::super::Foundation:: HWND , pwi : *mut WINDOWINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowInfo ( hwnd : super::super::Foundation:: HWND , pwi : *mut WINDOWINFO ) -> super::super::Foundation:: BOOL ); GetWindowInfo(hwnd.into(), pwi) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1844,7 +1844,7 @@ pub unsafe fn GetWindowLongA(hwnd: P0, nindex: WINDOW_LONG_PTR_INDEX) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowLongA ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowLongA ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX ) -> i32 ); GetWindowLongA(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1855,7 +1855,7 @@ pub unsafe fn GetWindowLongPtrA(hwnd: P0, nindex: WINDOW_LONG_PTR_INDEX) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowLongPtrA ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX ) -> isize ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowLongPtrA ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX ) -> isize ); GetWindowLongPtrA(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1866,7 +1866,7 @@ pub unsafe fn GetWindowLongPtrW(hwnd: P0, nindex: WINDOW_LONG_PTR_INDEX) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowLongPtrW ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX ) -> isize ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowLongPtrW ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX ) -> isize ); GetWindowLongPtrW(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1876,7 +1876,7 @@ pub unsafe fn GetWindowLongW(hwnd: P0, nindex: WINDOW_LONG_PTR_INDEX) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowLongW ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowLongW ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX ) -> i32 ); GetWindowLongW(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1886,7 +1886,7 @@ pub unsafe fn GetWindowModuleFileNameA(hwnd: P0, pszfilename: &mut [u8]) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowModuleFileNameA ( hwnd : super::super::Foundation:: HWND , pszfilename : :: windows::core::PSTR , cchfilenamemax : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowModuleFileNameA ( hwnd : super::super::Foundation:: HWND , pszfilename : :: windows::core::PSTR , cchfilenamemax : u32 ) -> u32 ); GetWindowModuleFileNameA(hwnd.into(), ::core::mem::transmute(pszfilename.as_ptr()), pszfilename.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1896,7 +1896,7 @@ pub unsafe fn GetWindowModuleFileNameW(hwnd: P0, pszfilename: &mut [u16]) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowModuleFileNameW ( hwnd : super::super::Foundation:: HWND , pszfilename : :: windows::core::PWSTR , cchfilenamemax : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowModuleFileNameW ( hwnd : super::super::Foundation:: HWND , pszfilename : :: windows::core::PWSTR , cchfilenamemax : u32 ) -> u32 ); GetWindowModuleFileNameW(hwnd.into(), ::core::mem::transmute(pszfilename.as_ptr()), pszfilename.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1906,7 +1906,7 @@ pub unsafe fn GetWindowPlacement(hwnd: P0, lpwndpl: *mut WINDOWPLACEMENT) -> where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowPlacement ( hwnd : super::super::Foundation:: HWND , lpwndpl : *mut WINDOWPLACEMENT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowPlacement ( hwnd : super::super::Foundation:: HWND , lpwndpl : *mut WINDOWPLACEMENT ) -> super::super::Foundation:: BOOL ); GetWindowPlacement(hwnd.into(), lpwndpl) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1916,7 +1916,7 @@ pub unsafe fn GetWindowRect(hwnd: P0, lprect: *mut super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowRect ( hwnd : super::super::Foundation:: HWND , lprect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowRect ( hwnd : super::super::Foundation:: HWND , lprect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); GetWindowRect(hwnd.into(), lprect) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1926,7 +1926,7 @@ pub unsafe fn GetWindowTextA(hwnd: P0, lpstring: &mut [u8]) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowTextA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PSTR , nmaxcount : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowTextA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PSTR , nmaxcount : i32 ) -> i32 ); GetWindowTextA(hwnd.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1936,7 +1936,7 @@ pub unsafe fn GetWindowTextLengthA(hwnd: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowTextLengthA ( hwnd : super::super::Foundation:: HWND ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowTextLengthA ( hwnd : super::super::Foundation:: HWND ) -> i32 ); GetWindowTextLengthA(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1946,7 +1946,7 @@ pub unsafe fn GetWindowTextLengthW(hwnd: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowTextLengthW ( hwnd : super::super::Foundation:: HWND ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowTextLengthW ( hwnd : super::super::Foundation:: HWND ) -> i32 ); GetWindowTextLengthW(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1956,7 +1956,7 @@ pub unsafe fn GetWindowTextW(hwnd: P0, lpstring: &mut [u16]) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowTextW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PWSTR , nmaxcount : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowTextW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PWSTR , nmaxcount : i32 ) -> i32 ); GetWindowTextW(hwnd.into(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1966,7 +1966,7 @@ pub unsafe fn GetWindowThreadProcessId(hwnd: P0, lpdwprocessid: ::core::opti where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowThreadProcessId ( hwnd : super::super::Foundation:: HWND , lpdwprocessid : *mut u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowThreadProcessId ( hwnd : super::super::Foundation:: HWND , lpdwprocessid : *mut u32 ) -> u32 ); GetWindowThreadProcessId(hwnd.into(), ::core::mem::transmute(lpdwprocessid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1976,7 +1976,7 @@ pub unsafe fn GetWindowWord(hwnd: P0, nindex: i32) -> u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn GetWindowWord ( hwnd : super::super::Foundation:: HWND , nindex : i32 ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn GetWindowWord ( hwnd : super::super::Foundation:: HWND , nindex : i32 ) -> u16 ); GetWindowWord(hwnd.into(), nindex) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1986,7 +1986,7 @@ pub unsafe fn HideCaret(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn HideCaret ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn HideCaret ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); HideCaret(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -1997,20 +1997,20 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn HiliteMenuItem ( hwnd : super::super::Foundation:: HWND , hmenu : HMENU , uidhiliteitem : u32 , uhilite : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn HiliteMenuItem ( hwnd : super::super::Foundation:: HWND , hmenu : HMENU , uidhiliteitem : u32 , uhilite : u32 ) -> super::super::Foundation:: BOOL ); HiliteMenuItem(hwnd.into(), hmenu.into(), uidhiliteitem, uhilite) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn InSendMessage() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn InSendMessage ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InSendMessage ( ) -> super::super::Foundation:: BOOL ); InSendMessage() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn InSendMessageEx(lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn InSendMessageEx ( lpreserved : *const ::core::ffi::c_void ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn InSendMessageEx ( lpreserved : *const ::core::ffi::c_void ) -> u32 ); InSendMessageEx(::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2019,7 +2019,7 @@ pub unsafe fn IndexFilePath(resourceindexer: *const ::core::ffi::c_void, fil where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn IndexFilePath ( resourceindexer : *const ::core::ffi::c_void , filepath : :: windows::core::PCWSTR , ppresourceuri : *mut :: windows::core::PWSTR , pqualifiercount : *mut u32 , ppqualifiers : *mut *mut IndexedResourceQualifier ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn IndexFilePath ( resourceindexer : *const ::core::ffi::c_void , filepath : :: windows::core::PCWSTR , ppresourceuri : *mut :: windows::core::PWSTR , pqualifiercount : *mut u32 , ppqualifiers : *mut *mut IndexedResourceQualifier ) -> :: windows::core::HRESULT ); IndexFilePath(resourceindexer, filepath.into().abi(), ppresourceuri, pqualifiercount, ppqualifiers).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2030,7 +2030,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn InheritWindowMonitor ( hwnd : super::super::Foundation:: HWND , hwndinherit : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InheritWindowMonitor ( hwnd : super::super::Foundation:: HWND , hwndinherit : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); InheritWindowMonitor(hwnd.into(), hwndinherit.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2041,7 +2041,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn InsertMenuA ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InsertMenuA ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); InsertMenuA(hmenu.into(), uposition, uflags, uidnewitem, lpnewitem.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2052,7 +2052,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn InsertMenuItemA ( hmenu : HMENU , item : u32 , fbyposition : super::super::Foundation:: BOOL , lpmi : *const MENUITEMINFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InsertMenuItemA ( hmenu : HMENU , item : u32 , fbyposition : super::super::Foundation:: BOOL , lpmi : *const MENUITEMINFOA ) -> super::super::Foundation:: BOOL ); InsertMenuItemA(hmenu.into(), item, fbyposition.into(), lpmi) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2063,7 +2063,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn InsertMenuItemW ( hmenu : HMENU , item : u32 , fbyposition : super::super::Foundation:: BOOL , lpmi : *const MENUITEMINFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InsertMenuItemW ( hmenu : HMENU , item : u32 , fbyposition : super::super::Foundation:: BOOL , lpmi : *const MENUITEMINFOW ) -> super::super::Foundation:: BOOL ); InsertMenuItemW(hmenu.into(), item, fbyposition.into(), lpmi) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2074,7 +2074,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn InsertMenuW ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn InsertMenuW ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); InsertMenuW(hmenu.into(), uposition, uflags, uidnewitem, lpnewitem.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2084,7 +2084,7 @@ pub unsafe fn InternalGetWindowText(hwnd: P0, pstring: &mut [u16]) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn InternalGetWindowText ( hwnd : super::super::Foundation:: HWND , pstring : :: windows::core::PWSTR , cchmaxcount : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn InternalGetWindowText ( hwnd : super::super::Foundation:: HWND , pstring : :: windows::core::PWSTR , cchmaxcount : i32 ) -> i32 ); InternalGetWindowText(hwnd.into(), ::core::mem::transmute(pstring.as_ptr()), pstring.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2094,7 +2094,7 @@ pub unsafe fn IsCharAlphaA(ch: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsCharAlphaA ( ch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsCharAlphaA ( ch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); IsCharAlphaA(ch.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2104,21 +2104,21 @@ pub unsafe fn IsCharAlphaNumericA(ch: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsCharAlphaNumericA ( ch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsCharAlphaNumericA ( ch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); IsCharAlphaNumericA(ch.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsCharAlphaNumericW(ch: u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsCharAlphaNumericW ( ch : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsCharAlphaNumericW ( ch : u16 ) -> super::super::Foundation:: BOOL ); IsCharAlphaNumericW(ch) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsCharAlphaW(ch: u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsCharAlphaW ( ch : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsCharAlphaW ( ch : u16 ) -> super::super::Foundation:: BOOL ); IsCharAlphaW(ch) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2128,7 +2128,7 @@ pub unsafe fn IsCharLowerA(ch: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsCharLowerA ( ch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsCharLowerA ( ch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); IsCharLowerA(ch.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2138,14 +2138,14 @@ pub unsafe fn IsCharUpperA(ch: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsCharUpperA ( ch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsCharUpperA ( ch : super::super::Foundation:: CHAR ) -> super::super::Foundation:: BOOL ); IsCharUpperA(ch.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsCharUpperW(ch: u16) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsCharUpperW ( ch : u16 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsCharUpperW ( ch : u16 ) -> super::super::Foundation:: BOOL ); IsCharUpperW(ch) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2156,7 +2156,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsChild ( hwndparent : super::super::Foundation:: HWND , hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsChild ( hwndparent : super::super::Foundation:: HWND , hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); IsChild(hwndparent.into(), hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2166,7 +2166,7 @@ pub unsafe fn IsDialogMessageA(hdlg: P0, lpmsg: *const MSG) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsDialogMessageA ( hdlg : super::super::Foundation:: HWND , lpmsg : *const MSG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsDialogMessageA ( hdlg : super::super::Foundation:: HWND , lpmsg : *const MSG ) -> super::super::Foundation:: BOOL ); IsDialogMessageA(hdlg.into(), lpmsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2176,7 +2176,7 @@ pub unsafe fn IsDialogMessageW(hdlg: P0, lpmsg: *const MSG) -> super::super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsDialogMessageW ( hdlg : super::super::Foundation:: HWND , lpmsg : *const MSG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsDialogMessageW ( hdlg : super::super::Foundation:: HWND , lpmsg : *const MSG ) -> super::super::Foundation:: BOOL ); IsDialogMessageW(hdlg.into(), lpmsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2186,7 +2186,7 @@ pub unsafe fn IsGUIThread(bconvert: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsGUIThread ( bconvert : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsGUIThread ( bconvert : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); IsGUIThread(bconvert.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2196,7 +2196,7 @@ pub unsafe fn IsHungAppWindow(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsHungAppWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsHungAppWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); IsHungAppWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2206,7 +2206,7 @@ pub unsafe fn IsIconic(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsIconic ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsIconic ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); IsIconic(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2216,14 +2216,14 @@ pub unsafe fn IsMenu(hmenu: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsMenu ( hmenu : HMENU ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsMenu ( hmenu : HMENU ) -> super::super::Foundation:: BOOL ); IsMenu(hmenu.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsProcessDPIAware() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsProcessDPIAware ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsProcessDPIAware ( ) -> super::super::Foundation:: BOOL ); IsProcessDPIAware() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2233,7 +2233,7 @@ pub unsafe fn IsWindow(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); IsWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2243,7 +2243,7 @@ pub unsafe fn IsWindowUnicode(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsWindowUnicode ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsWindowUnicode ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); IsWindowUnicode(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2253,14 +2253,14 @@ pub unsafe fn IsWindowVisible(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsWindowVisible ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsWindowVisible ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); IsWindowVisible(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn IsWow64Message() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn IsWow64Message ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsWow64Message ( ) -> super::super::Foundation:: BOOL ); IsWow64Message() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2270,7 +2270,7 @@ pub unsafe fn IsZoomed(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn IsZoomed ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn IsZoomed ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); IsZoomed(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2280,7 +2280,7 @@ pub unsafe fn KillTimer(hwnd: P0, uidevent: usize) -> super::super::Foundati where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn KillTimer ( hwnd : super::super::Foundation:: HWND , uidevent : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn KillTimer ( hwnd : super::super::Foundation:: HWND , uidevent : usize ) -> super::super::Foundation:: BOOL ); KillTimer(hwnd.into(), uidevent) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2291,9 +2291,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadAcceleratorsA ( hinstance : super::super::Foundation:: HINSTANCE , lptablename : :: windows::core::PCSTR ) -> HACCEL ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadAcceleratorsA ( hinstance : super::super::Foundation:: HINSTANCE , lptablename : :: windows::core::PCSTR ) -> HACCEL ); let result__ = LoadAcceleratorsA(hinstance.into(), lptablename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2303,9 +2303,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadAcceleratorsW ( hinstance : super::super::Foundation:: HINSTANCE , lptablename : :: windows::core::PCWSTR ) -> HACCEL ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadAcceleratorsW ( hinstance : super::super::Foundation:: HINSTANCE , lptablename : :: windows::core::PCWSTR ) -> HACCEL ); let result__ = LoadAcceleratorsW(hinstance.into(), lptablename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2315,9 +2315,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadCursorA ( hinstance : super::super::Foundation:: HINSTANCE , lpcursorname : :: windows::core::PCSTR ) -> HCURSOR ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadCursorA ( hinstance : super::super::Foundation:: HINSTANCE , lpcursorname : :: windows::core::PCSTR ) -> HCURSOR ); let result__ = LoadCursorA(hinstance.into(), lpcursorname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] @@ -2325,9 +2325,9 @@ pub unsafe fn LoadCursorFromFileA(lpfilename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadCursorFromFileA ( lpfilename : :: windows::core::PCSTR ) -> HCURSOR ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadCursorFromFileA ( lpfilename : :: windows::core::PCSTR ) -> HCURSOR ); let result__ = LoadCursorFromFileA(lpfilename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] @@ -2335,9 +2335,9 @@ pub unsafe fn LoadCursorFromFileW(lpfilename: P0) -> ::windows::core::Result where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadCursorFromFileW ( lpfilename : :: windows::core::PCWSTR ) -> HCURSOR ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadCursorFromFileW ( lpfilename : :: windows::core::PCWSTR ) -> HCURSOR ); let result__ = LoadCursorFromFileW(lpfilename.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2347,9 +2347,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadCursorW ( hinstance : super::super::Foundation:: HINSTANCE , lpcursorname : :: windows::core::PCWSTR ) -> HCURSOR ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadCursorW ( hinstance : super::super::Foundation:: HINSTANCE , lpcursorname : :: windows::core::PCWSTR ) -> HCURSOR ); let result__ = LoadCursorW(hinstance.into(), lpcursorname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2359,9 +2359,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadIconA ( hinstance : super::super::Foundation:: HINSTANCE , lpiconname : :: windows::core::PCSTR ) -> HICON ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadIconA ( hinstance : super::super::Foundation:: HINSTANCE , lpiconname : :: windows::core::PCSTR ) -> HICON ); let result__ = LoadIconA(hinstance.into(), lpiconname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2371,9 +2371,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadIconW ( hinstance : super::super::Foundation:: HINSTANCE , lpiconname : :: windows::core::PCWSTR ) -> HICON ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadIconW ( hinstance : super::super::Foundation:: HINSTANCE , lpiconname : :: windows::core::PCWSTR ) -> HICON ); let result__ = LoadIconW(hinstance.into(), lpiconname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2383,9 +2383,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadImageA ( hinst : super::super::Foundation:: HINSTANCE , name : :: windows::core::PCSTR , r#type : GDI_IMAGE_TYPE , cx : i32 , cy : i32 , fuload : IMAGE_FLAGS ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadImageA ( hinst : super::super::Foundation:: HINSTANCE , name : :: windows::core::PCSTR , r#type : GDI_IMAGE_TYPE , cx : i32 , cy : i32 , fuload : IMAGE_FLAGS ) -> super::super::Foundation:: HANDLE ); let result__ = LoadImageA(hinst.into(), name.into().abi(), r#type, cx, cy, fuload); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2395,9 +2395,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadImageW ( hinst : super::super::Foundation:: HINSTANCE , name : :: windows::core::PCWSTR , r#type : GDI_IMAGE_TYPE , cx : i32 , cy : i32 , fuload : IMAGE_FLAGS ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadImageW ( hinst : super::super::Foundation:: HINSTANCE , name : :: windows::core::PCWSTR , r#type : GDI_IMAGE_TYPE , cx : i32 , cy : i32 , fuload : IMAGE_FLAGS ) -> super::super::Foundation:: HANDLE ); let result__ = LoadImageW(hinst.into(), name.into().abi(), r#type, cx, cy, fuload); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2407,23 +2407,23 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadMenuA ( hinstance : super::super::Foundation:: HINSTANCE , lpmenuname : :: windows::core::PCSTR ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadMenuA ( hinstance : super::super::Foundation:: HINSTANCE , lpmenuname : :: windows::core::PCSTR ) -> HMENU ); let result__ = LoadMenuA(hinstance.into(), lpmenuname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn LoadMenuIndirectA(lpmenutemplate: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn LoadMenuIndirectA ( lpmenutemplate : *const ::core::ffi::c_void ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadMenuIndirectA ( lpmenutemplate : *const ::core::ffi::c_void ) -> HMENU ); let result__ = LoadMenuIndirectA(lpmenutemplate); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn LoadMenuIndirectW(lpmenutemplate: *const ::core::ffi::c_void) -> ::windows::core::Result { - ::windows::core::link ! ( "user32.dll""system" fn LoadMenuIndirectW ( lpmenutemplate : *const ::core::ffi::c_void ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadMenuIndirectW ( lpmenutemplate : *const ::core::ffi::c_void ) -> HMENU ); let result__ = LoadMenuIndirectW(lpmenutemplate); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2433,9 +2433,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn LoadMenuW ( hinstance : super::super::Foundation:: HINSTANCE , lpmenuname : :: windows::core::PCWSTR ) -> HMENU ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadMenuW ( hinstance : super::super::Foundation:: HINSTANCE , lpmenuname : :: windows::core::PCWSTR ) -> HMENU ); let result__ = LoadMenuW(hinstance.into(), lpmenuname.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2444,7 +2444,7 @@ pub unsafe fn LoadStringA(hinstance: P0, uid: u32, lpbuffer: ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn LoadStringA ( hinstance : super::super::Foundation:: HINSTANCE , uid : u32 , lpbuffer : :: windows::core::PSTR , cchbuffermax : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadStringA ( hinstance : super::super::Foundation:: HINSTANCE , uid : u32 , lpbuffer : :: windows::core::PSTR , cchbuffermax : i32 ) -> i32 ); LoadStringA(hinstance.into(), uid, ::core::mem::transmute(lpbuffer), cchbuffermax) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2454,14 +2454,14 @@ pub unsafe fn LoadStringW(hinstance: P0, uid: u32, lpbuffer: ::windows::core where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn LoadStringW ( hinstance : super::super::Foundation:: HINSTANCE , uid : u32 , lpbuffer : :: windows::core::PWSTR , cchbuffermax : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn LoadStringW ( hinstance : super::super::Foundation:: HINSTANCE , uid : u32 , lpbuffer : :: windows::core::PWSTR , cchbuffermax : i32 ) -> i32 ); LoadStringW(hinstance.into(), uid, ::core::mem::transmute(lpbuffer), cchbuffermax) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn LockSetForegroundWindow(ulockcode: FOREGROUND_WINDOW_LOCK_CODE) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn LockSetForegroundWindow ( ulockcode : FOREGROUND_WINDOW_LOCK_CODE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn LockSetForegroundWindow ( ulockcode : FOREGROUND_WINDOW_LOCK_CODE ) -> super::super::Foundation:: BOOL ); LockSetForegroundWindow(ulockcode) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2471,7 +2471,7 @@ pub unsafe fn LogicalToPhysicalPoint(hwnd: P0, lppoint: *mut super::super::F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn LogicalToPhysicalPoint ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn LogicalToPhysicalPoint ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); LogicalToPhysicalPoint(hwnd.into(), lppoint) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2481,7 +2481,7 @@ pub unsafe fn LookupIconIdFromDirectory(presbits: *const u8, ficon: P0) -> i where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn LookupIconIdFromDirectory ( presbits : *const u8 , ficon : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn LookupIconIdFromDirectory ( presbits : *const u8 , ficon : super::super::Foundation:: BOOL ) -> i32 ); LookupIconIdFromDirectory(presbits, ficon.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2491,7 +2491,7 @@ pub unsafe fn LookupIconIdFromDirectoryEx(presbits: *const u8, ficon: P0, cx where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn LookupIconIdFromDirectoryEx ( presbits : *const u8 , ficon : super::super::Foundation:: BOOL , cxdesired : i32 , cydesired : i32 , flags : IMAGE_FLAGS ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn LookupIconIdFromDirectoryEx ( presbits : *const u8 , ficon : super::super::Foundation:: BOOL , cxdesired : i32 , cydesired : i32 , flags : IMAGE_FLAGS ) -> i32 ); LookupIconIdFromDirectoryEx(presbits, ficon.into(), cxdesired, cydesired, flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2501,7 +2501,7 @@ pub unsafe fn MapDialogRect(hdlg: P0, lprect: *mut super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn MapDialogRect ( hdlg : super::super::Foundation:: HWND , lprect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn MapDialogRect ( hdlg : super::super::Foundation:: HWND , lprect : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); MapDialogRect(hdlg.into(), lprect) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2512,7 +2512,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn MenuItemFromPoint ( hwnd : super::super::Foundation:: HWND , hmenu : HMENU , ptscreen : super::super::Foundation:: POINT ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn MenuItemFromPoint ( hwnd : super::super::Foundation:: HWND , hmenu : HMENU , ptscreen : super::super::Foundation:: POINT ) -> i32 ); MenuItemFromPoint(hwnd.into(), hmenu.into(), ::core::mem::transmute(ptscreen)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2524,7 +2524,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn MessageBoxA ( hwnd : super::super::Foundation:: HWND , lptext : :: windows::core::PCSTR , lpcaption : :: windows::core::PCSTR , utype : MESSAGEBOX_STYLE ) -> MESSAGEBOX_RESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn MessageBoxA ( hwnd : super::super::Foundation:: HWND , lptext : :: windows::core::PCSTR , lpcaption : :: windows::core::PCSTR , utype : MESSAGEBOX_STYLE ) -> MESSAGEBOX_RESULT ); MessageBoxA(hwnd.into(), lptext.into().abi(), lpcaption.into().abi(), utype) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2536,7 +2536,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn MessageBoxExA ( hwnd : super::super::Foundation:: HWND , lptext : :: windows::core::PCSTR , lpcaption : :: windows::core::PCSTR , utype : MESSAGEBOX_STYLE , wlanguageid : u16 ) -> MESSAGEBOX_RESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn MessageBoxExA ( hwnd : super::super::Foundation:: HWND , lptext : :: windows::core::PCSTR , lpcaption : :: windows::core::PCSTR , utype : MESSAGEBOX_STYLE , wlanguageid : u16 ) -> MESSAGEBOX_RESULT ); MessageBoxExA(hwnd.into(), lptext.into().abi(), lpcaption.into().abi(), utype, wlanguageid) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2548,21 +2548,21 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn MessageBoxExW ( hwnd : super::super::Foundation:: HWND , lptext : :: windows::core::PCWSTR , lpcaption : :: windows::core::PCWSTR , utype : MESSAGEBOX_STYLE , wlanguageid : u16 ) -> MESSAGEBOX_RESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn MessageBoxExW ( hwnd : super::super::Foundation:: HWND , lptext : :: windows::core::PCWSTR , lpcaption : :: windows::core::PCWSTR , utype : MESSAGEBOX_STYLE , wlanguageid : u16 ) -> MESSAGEBOX_RESULT ); MessageBoxExW(hwnd.into(), lptext.into().abi(), lpcaption.into().abi(), utype, wlanguageid) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))] #[inline] pub unsafe fn MessageBoxIndirectA(lpmbp: *const MSGBOXPARAMSA) -> MESSAGEBOX_RESULT { - ::windows::core::link ! ( "user32.dll""system" fn MessageBoxIndirectA ( lpmbp : *const MSGBOXPARAMSA ) -> MESSAGEBOX_RESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn MessageBoxIndirectA ( lpmbp : *const MSGBOXPARAMSA ) -> MESSAGEBOX_RESULT ); MessageBoxIndirectA(lpmbp) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))] #[inline] pub unsafe fn MessageBoxIndirectW(lpmbp: *const MSGBOXPARAMSW) -> MESSAGEBOX_RESULT { - ::windows::core::link ! ( "user32.dll""system" fn MessageBoxIndirectW ( lpmbp : *const MSGBOXPARAMSW ) -> MESSAGEBOX_RESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn MessageBoxIndirectW ( lpmbp : *const MSGBOXPARAMSW ) -> MESSAGEBOX_RESULT ); MessageBoxIndirectW(lpmbp) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2574,7 +2574,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn MessageBoxW ( hwnd : super::super::Foundation:: HWND , lptext : :: windows::core::PCWSTR , lpcaption : :: windows::core::PCWSTR , utype : MESSAGEBOX_STYLE ) -> MESSAGEBOX_RESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn MessageBoxW ( hwnd : super::super::Foundation:: HWND , lptext : :: windows::core::PCWSTR , lpcaption : :: windows::core::PCWSTR , utype : MESSAGEBOX_STYLE ) -> MESSAGEBOX_RESULT ); MessageBoxW(hwnd.into(), lptext.into().abi(), lpcaption.into().abi(), utype) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2585,7 +2585,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn ModifyMenuA ( hmnu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ModifyMenuA ( hmnu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); ModifyMenuA(hmnu.into(), uposition, uflags, uidnewitem, lpnewitem.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2596,7 +2596,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn ModifyMenuW ( hmnu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ModifyMenuW ( hmnu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); ModifyMenuW(hmnu.into(), uposition, uflags, uidnewitem, lpnewitem.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2607,7 +2607,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn MoveWindow ( hwnd : super::super::Foundation:: HWND , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , brepaint : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn MoveWindow ( hwnd : super::super::Foundation:: HWND , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , brepaint : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); MoveWindow(hwnd.into(), x, y, nwidth, nheight, brepaint.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2617,7 +2617,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateConfig ( platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , outputxmlfile : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateConfig ( platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , outputxmlfile : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmCreateConfig(platformversion, defaultqualifiers.into().abi(), outputxmlfile.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2626,7 +2626,7 @@ pub unsafe fn MrmCreateConfigInMemory(platformversion: MrmPlatformVersion, d where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateConfigInMemory ( platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , outputxmldata : *mut *mut u8 , outputxmlsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateConfigInMemory ( platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , outputxmldata : *mut *mut u8 , outputxmlsize : *mut u32 ) -> :: windows::core::HRESULT ); MrmCreateConfigInMemory(platformversion, defaultqualifiers.into().abi(), outputxmldata, outputxmlsize).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2635,13 +2635,13 @@ pub unsafe fn MrmCreateResourceFile(indexer: MrmResourceIndexerHandle, packa where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceFile ( indexer : MrmResourceIndexerHandle , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputdirectory : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceFile ( indexer : MrmResourceIndexerHandle , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputdirectory : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmCreateResourceFile(::core::mem::transmute(indexer), packagingmode, packagingoptions, outputdirectory.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn MrmCreateResourceFileInMemory(indexer: MrmResourceIndexerHandle, packagingmode: MrmPackagingMode, packagingoptions: MrmPackagingOptions, outputpridata: *mut *mut u8, outputprisize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceFileInMemory ( indexer : MrmResourceIndexerHandle , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputpridata : *mut *mut u8 , outputprisize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceFileInMemory ( indexer : MrmResourceIndexerHandle , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputpridata : *mut *mut u8 , outputprisize : *mut u32 ) -> :: windows::core::HRESULT ); MrmCreateResourceFileInMemory(::core::mem::transmute(indexer), packagingmode, packagingoptions, outputpridata, outputprisize).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2650,7 +2650,7 @@ pub unsafe fn MrmCreateResourceFileWithChecksum(indexer: MrmResourceIndexerH where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceFileWithChecksum ( indexer : MrmResourceIndexerHandle , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , checksum : u32 , outputdirectory : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceFileWithChecksum ( indexer : MrmResourceIndexerHandle , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , checksum : u32 , outputdirectory : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmCreateResourceFileWithChecksum(::core::mem::transmute(indexer), packagingmode, packagingoptions, checksum, outputdirectory.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2661,7 +2661,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexer ( packagefamilyname : :: windows::core::PCWSTR , projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexer ( packagefamilyname : :: windows::core::PCWSTR , projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); MrmCreateResourceIndexer(packagefamilyname.into().abi(), projectroot.into().abi(), platformversion, defaultqualifiers.into().abi(), indexer).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2671,7 +2671,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerFromPreviousPriData ( projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , pridata : *const u8 , prisize : u32 , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerFromPreviousPriData ( projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , pridata : *const u8 , prisize : u32 , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); MrmCreateResourceIndexerFromPreviousPriData(projectroot.into().abi(), platformversion, defaultqualifiers.into().abi(), ::core::mem::transmute(pridata.as_ptr()), pridata.len() as _, indexer).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2682,7 +2682,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerFromPreviousPriFile ( projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , prifile : :: windows::core::PCWSTR , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerFromPreviousPriFile ( projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , prifile : :: windows::core::PCWSTR , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); MrmCreateResourceIndexerFromPreviousPriFile(projectroot.into().abi(), platformversion, defaultqualifiers.into().abi(), prifile.into().abi(), indexer).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2692,7 +2692,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerFromPreviousSchemaData ( projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , schemaxmldata : *const u8 , schemaxmlsize : u32 , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerFromPreviousSchemaData ( projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , schemaxmldata : *const u8 , schemaxmlsize : u32 , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); MrmCreateResourceIndexerFromPreviousSchemaData(projectroot.into().abi(), platformversion, defaultqualifiers.into().abi(), ::core::mem::transmute(schemaxmldata.as_ptr()), schemaxmldata.len() as _, indexer).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2703,7 +2703,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerFromPreviousSchemaFile ( projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , schemafile : :: windows::core::PCWSTR , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerFromPreviousSchemaFile ( projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , schemafile : :: windows::core::PCWSTR , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); MrmCreateResourceIndexerFromPreviousSchemaFile(projectroot.into().abi(), platformversion, defaultqualifiers.into().abi(), schemafile.into().abi(), indexer).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2714,19 +2714,19 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerWithFlags ( packagefamilyname : :: windows::core::PCWSTR , projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , flags : MrmIndexerFlags , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmCreateResourceIndexerWithFlags ( packagefamilyname : :: windows::core::PCWSTR , projectroot : :: windows::core::PCWSTR , platformversion : MrmPlatformVersion , defaultqualifiers : :: windows::core::PCWSTR , flags : MrmIndexerFlags , indexer : *mut MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); MrmCreateResourceIndexerWithFlags(packagefamilyname.into().abi(), projectroot.into().abi(), platformversion, defaultqualifiers.into().abi(), flags, indexer).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn MrmDestroyIndexerAndMessages(indexer: MrmResourceIndexerHandle) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmDestroyIndexerAndMessages ( indexer : MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmDestroyIndexerAndMessages ( indexer : MrmResourceIndexerHandle ) -> :: windows::core::HRESULT ); MrmDestroyIndexerAndMessages(::core::mem::transmute(indexer)).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn MrmDumpPriDataInMemory(inputpridata: &[u8], schemapridata: ::core::option::Option<&[u8]>, dumptype: MrmDumpType, outputxmldata: *mut *mut u8, outputxmlsize: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmDumpPriDataInMemory ( inputpridata : *const u8 , inputprisize : u32 , schemapridata : *const u8 , schemaprisize : u32 , dumptype : MrmDumpType , outputxmldata : *mut *mut u8 , outputxmlsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmDumpPriDataInMemory ( inputpridata : *const u8 , inputprisize : u32 , schemapridata : *const u8 , schemaprisize : u32 , dumptype : MrmDumpType , outputxmldata : *mut *mut u8 , outputxmlsize : *mut u32 ) -> :: windows::core::HRESULT ); MrmDumpPriDataInMemory(::core::mem::transmute(inputpridata.as_ptr()), inputpridata.len() as _, ::core::mem::transmute(schemapridata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), schemapridata.as_deref().map_or(0, |slice| slice.len() as _), dumptype, outputxmldata, outputxmlsize).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2737,7 +2737,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmDumpPriFile ( indexfilename : :: windows::core::PCWSTR , schemaprifile : :: windows::core::PCWSTR , dumptype : MrmDumpType , outputxmlfile : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmDumpPriFile ( indexfilename : :: windows::core::PCWSTR , schemaprifile : :: windows::core::PCWSTR , dumptype : MrmDumpType , outputxmlfile : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmDumpPriFile(indexfilename.into().abi(), schemaprifile.into().abi(), dumptype, outputxmlfile.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2747,13 +2747,13 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmDumpPriFileInMemory ( indexfilename : :: windows::core::PCWSTR , schemaprifile : :: windows::core::PCWSTR , dumptype : MrmDumpType , outputxmldata : *mut *mut u8 , outputxmlsize : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmDumpPriFileInMemory ( indexfilename : :: windows::core::PCWSTR , schemaprifile : :: windows::core::PCWSTR , dumptype : MrmDumpType , outputxmldata : *mut *mut u8 , outputxmlsize : *mut u32 ) -> :: windows::core::HRESULT ); MrmDumpPriFileInMemory(indexfilename.into().abi(), schemaprifile.into().abi(), dumptype, outputxmldata, outputxmlsize).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn MrmFreeMemory(data: *const u8) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmFreeMemory ( data : *const u8 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmFreeMemory ( data : *const u8 ) -> :: windows::core::HRESULT ); MrmFreeMemory(data).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2762,7 +2762,7 @@ pub unsafe fn MrmGetPriFileContentChecksum(prifile: P0) -> ::windows::core:: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmGetPriFileContentChecksum ( prifile : :: windows::core::PCWSTR , checksum : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmGetPriFileContentChecksum ( prifile : :: windows::core::PCWSTR , checksum : *mut u32 ) -> :: windows::core::HRESULT ); let mut result__ = ::windows::core::zeroed::(); MrmGetPriFileContentChecksum(prifile.into().abi(), &mut result__).from_abi(result__) } @@ -2773,7 +2773,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmIndexEmbeddedData ( indexer : MrmResourceIndexerHandle , resourceuri : :: windows::core::PCWSTR , embeddeddata : *const u8 , embeddeddatasize : u32 , qualifiers : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmIndexEmbeddedData ( indexer : MrmResourceIndexerHandle , resourceuri : :: windows::core::PCWSTR , embeddeddata : *const u8 , embeddeddatasize : u32 , qualifiers : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmIndexEmbeddedData(::core::mem::transmute(indexer), resourceuri.into().abi(), ::core::mem::transmute(embeddeddata.as_ptr()), embeddeddata.len() as _, qualifiers.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2784,7 +2784,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmIndexFile ( indexer : MrmResourceIndexerHandle , resourceuri : :: windows::core::PCWSTR , filepath : :: windows::core::PCWSTR , qualifiers : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmIndexFile ( indexer : MrmResourceIndexerHandle , resourceuri : :: windows::core::PCWSTR , filepath : :: windows::core::PCWSTR , qualifiers : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmIndexFile(::core::mem::transmute(indexer), resourceuri.into().abi(), filepath.into().abi(), qualifiers.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2793,7 +2793,7 @@ pub unsafe fn MrmIndexFileAutoQualifiers(indexer: MrmResourceIndexerHandle, where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmIndexFileAutoQualifiers ( indexer : MrmResourceIndexerHandle , filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmIndexFileAutoQualifiers ( indexer : MrmResourceIndexerHandle , filepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmIndexFileAutoQualifiers(::core::mem::transmute(indexer), filepath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2802,7 +2802,7 @@ pub unsafe fn MrmIndexResourceContainerAutoQualifiers(indexer: MrmResourceIn where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmIndexResourceContainerAutoQualifiers ( indexer : MrmResourceIndexerHandle , containerpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmIndexResourceContainerAutoQualifiers ( indexer : MrmResourceIndexerHandle , containerpath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmIndexResourceContainerAutoQualifiers(::core::mem::transmute(indexer), containerpath.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -2813,13 +2813,13 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmIndexString ( indexer : MrmResourceIndexerHandle , resourceuri : :: windows::core::PCWSTR , resourcestring : :: windows::core::PCWSTR , qualifiers : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmIndexString ( indexer : MrmResourceIndexerHandle , resourceuri : :: windows::core::PCWSTR , resourcestring : :: windows::core::PCWSTR , qualifiers : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT ); MrmIndexString(::core::mem::transmute(indexer), resourceuri.into().abi(), resourcestring.into().abi(), qualifiers.into().abi()).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn MrmPeekResourceIndexerMessages(handle: MrmResourceIndexerHandle, messages: *mut *mut MrmResourceIndexerMessage, nummsgs: *mut u32) -> ::windows::core::Result<()> { - ::windows::core::link ! ( "mrmsupport.dll""system" fn MrmPeekResourceIndexerMessages ( handle : MrmResourceIndexerHandle , messages : *mut *mut MrmResourceIndexerMessage , nummsgs : *mut u32 ) -> :: windows::core::HRESULT ); + ::windows::imp::link ! ( "mrmsupport.dll""system" fn MrmPeekResourceIndexerMessages ( handle : MrmResourceIndexerHandle , messages : *mut *mut MrmResourceIndexerMessage , nummsgs : *mut u32 ) -> :: windows::core::HRESULT ); MrmPeekResourceIndexerMessages(::core::mem::transmute(handle), messages, nummsgs).ok() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2829,14 +2829,14 @@ pub unsafe fn MsgWaitForMultipleObjects(phandles: ::core::option::Option<&[s where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn MsgWaitForMultipleObjects ( ncount : u32 , phandles : *const super::super::Foundation:: HANDLE , fwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 , dwwakemask : QUEUE_STATUS_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn MsgWaitForMultipleObjects ( ncount : u32 , phandles : *const super::super::Foundation:: HANDLE , fwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 , dwwakemask : QUEUE_STATUS_FLAGS ) -> u32 ); MsgWaitForMultipleObjects(phandles.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(phandles.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), fwaitall.into(), dwmilliseconds, dwwakemask) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn MsgWaitForMultipleObjectsEx(phandles: ::core::option::Option<&[super::super::Foundation::HANDLE]>, dwmilliseconds: u32, dwwakemask: QUEUE_STATUS_FLAGS, dwflags: MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn MsgWaitForMultipleObjectsEx ( ncount : u32 , phandles : *const super::super::Foundation:: HANDLE , dwmilliseconds : u32 , dwwakemask : QUEUE_STATUS_FLAGS , dwflags : MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn MsgWaitForMultipleObjectsEx ( ncount : u32 , phandles : *const super::super::Foundation:: HANDLE , dwmilliseconds : u32 , dwwakemask : QUEUE_STATUS_FLAGS , dwflags : MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS ) -> u32 ); MsgWaitForMultipleObjectsEx(phandles.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(phandles.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), dwmilliseconds, dwwakemask, dwflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2846,7 +2846,7 @@ pub unsafe fn OemToCharA(psrc: P0, pdst: ::windows::core::PSTR) -> super::su where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn OemToCharA ( psrc : :: windows::core::PCSTR , pdst : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn OemToCharA ( psrc : :: windows::core::PCSTR , pdst : :: windows::core::PSTR ) -> super::super::Foundation:: BOOL ); OemToCharA(psrc.into().abi(), ::core::mem::transmute(pdst)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2856,7 +2856,7 @@ pub unsafe fn OemToCharBuffA(lpszsrc: P0, lpszdst: &mut [u8]) -> super::supe where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn OemToCharBuffA ( lpszsrc : :: windows::core::PCSTR , lpszdst : :: windows::core::PSTR , cchdstlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn OemToCharBuffA ( lpszsrc : :: windows::core::PCSTR , lpszdst : :: windows::core::PSTR , cchdstlength : u32 ) -> super::super::Foundation:: BOOL ); OemToCharBuffA(lpszsrc.into().abi(), ::core::mem::transmute(lpszdst.as_ptr()), lpszdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2866,7 +2866,7 @@ pub unsafe fn OemToCharBuffW(lpszsrc: P0, lpszdst: &mut [u16]) -> super::sup where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn OemToCharBuffW ( lpszsrc : :: windows::core::PCSTR , lpszdst : :: windows::core::PWSTR , cchdstlength : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn OemToCharBuffW ( lpszsrc : :: windows::core::PCSTR , lpszdst : :: windows::core::PWSTR , cchdstlength : u32 ) -> super::super::Foundation:: BOOL ); OemToCharBuffW(lpszsrc.into().abi(), ::core::mem::transmute(lpszdst.as_ptr()), lpszdst.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2876,7 +2876,7 @@ pub unsafe fn OemToCharW(psrc: P0, pdst: ::windows::core::PWSTR) -> super::s where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn OemToCharW ( psrc : :: windows::core::PCSTR , pdst : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn OemToCharW ( psrc : :: windows::core::PCSTR , pdst : :: windows::core::PWSTR ) -> super::super::Foundation:: BOOL ); OemToCharW(psrc.into().abi(), ::core::mem::transmute(pdst)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2886,7 +2886,7 @@ pub unsafe fn OpenIcon(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn OpenIcon ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn OpenIcon ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); OpenIcon(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2896,7 +2896,7 @@ pub unsafe fn PeekMessageA(lpmsg: *mut MSG, hwnd: P0, wmsgfiltermin: u32, wm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PeekMessageA ( lpmsg : *mut MSG , hwnd : super::super::Foundation:: HWND , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PEEK_MESSAGE_REMOVE_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PeekMessageA ( lpmsg : *mut MSG , hwnd : super::super::Foundation:: HWND , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PEEK_MESSAGE_REMOVE_TYPE ) -> super::super::Foundation:: BOOL ); PeekMessageA(lpmsg, hwnd.into(), wmsgfiltermin, wmsgfiltermax, wremovemsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2906,7 +2906,7 @@ pub unsafe fn PeekMessageW(lpmsg: *mut MSG, hwnd: P0, wmsgfiltermin: u32, wm where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PeekMessageW ( lpmsg : *mut MSG , hwnd : super::super::Foundation:: HWND , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PEEK_MESSAGE_REMOVE_TYPE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PeekMessageW ( lpmsg : *mut MSG , hwnd : super::super::Foundation:: HWND , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PEEK_MESSAGE_REMOVE_TYPE ) -> super::super::Foundation:: BOOL ); PeekMessageW(lpmsg, hwnd.into(), wmsgfiltermin, wmsgfiltermax, wremovemsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2916,7 +2916,7 @@ pub unsafe fn PhysicalToLogicalPoint(hwnd: P0, lppoint: *mut super::super::F where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PhysicalToLogicalPoint ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PhysicalToLogicalPoint ( hwnd : super::super::Foundation:: HWND , lppoint : *mut super::super::Foundation:: POINT ) -> super::super::Foundation:: BOOL ); PhysicalToLogicalPoint(hwnd.into(), lppoint) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2928,7 +2928,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PostMessageA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PostMessageA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); PostMessageA(hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2940,13 +2940,13 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PostMessageW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PostMessageW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); PostMessageW(hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn PostQuitMessage(nexitcode: i32) { - ::windows::core::link ! ( "user32.dll""system" fn PostQuitMessage ( nexitcode : i32 ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn PostQuitMessage ( nexitcode : i32 ) -> ( ) ); PostQuitMessage(nexitcode) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2957,7 +2957,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PostThreadMessageA ( idthread : u32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PostThreadMessageA ( idthread : u32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); PostThreadMessageA(idthread, msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2968,19 +2968,19 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn PostThreadMessageW ( idthread : u32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn PostThreadMessageW ( idthread : u32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); PostThreadMessageW(idthread, msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn PrivateExtractIconsA(szfilename: &[u8; 260], niconindex: i32, cxicon: i32, cyicon: i32, phicon: ::core::option::Option<*mut HICON>, piconid: ::core::option::Option<*mut u32>, nicons: u32, flags: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn PrivateExtractIconsA ( szfilename : :: windows::core::PCSTR , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : *mut HICON , piconid : *mut u32 , nicons : u32 , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn PrivateExtractIconsA ( szfilename : :: windows::core::PCSTR , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : *mut HICON , piconid : *mut u32 , nicons : u32 , flags : u32 ) -> u32 ); PrivateExtractIconsA(::core::mem::transmute(szfilename.as_ptr()), niconindex, cxicon, cyicon, ::core::mem::transmute(phicon.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(piconid.unwrap_or(::std::ptr::null_mut())), nicons, flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn PrivateExtractIconsW(szfilename: &[u16; 260], niconindex: i32, cxicon: i32, cyicon: i32, phicon: ::core::option::Option<*mut HICON>, piconid: ::core::option::Option<*mut u32>, nicons: u32, flags: u32) -> u32 { - ::windows::core::link ! ( "user32.dll""system" fn PrivateExtractIconsW ( szfilename : :: windows::core::PCWSTR , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : *mut HICON , piconid : *mut u32 , nicons : u32 , flags : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn PrivateExtractIconsW ( szfilename : :: windows::core::PCWSTR , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : *mut HICON , piconid : *mut u32 , nicons : u32 , flags : u32 ) -> u32 ); PrivateExtractIconsW(::core::mem::transmute(szfilename.as_ptr()), niconindex, cxicon, cyicon, ::core::mem::transmute(phicon.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(piconid.unwrap_or(::std::ptr::null_mut())), nicons, flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -2990,7 +2990,7 @@ pub unsafe fn RealChildWindowFromPoint(hwndparent: P0, ptparentclientcoords: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RealChildWindowFromPoint ( hwndparent : super::super::Foundation:: HWND , ptparentclientcoords : super::super::Foundation:: POINT ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn RealChildWindowFromPoint ( hwndparent : super::super::Foundation:: HWND , ptparentclientcoords : super::super::Foundation:: POINT ) -> super::super::Foundation:: HWND ); RealChildWindowFromPoint(hwndparent.into(), ::core::mem::transmute(ptparentclientcoords)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3000,7 +3000,7 @@ pub unsafe fn RealGetWindowClassA(hwnd: P0, ptszclassname: &mut [u8]) -> u32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RealGetWindowClassA ( hwnd : super::super::Foundation:: HWND , ptszclassname : :: windows::core::PSTR , cchclassnamemax : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn RealGetWindowClassA ( hwnd : super::super::Foundation:: HWND , ptszclassname : :: windows::core::PSTR , cchclassnamemax : u32 ) -> u32 ); RealGetWindowClassA(hwnd.into(), ::core::mem::transmute(ptszclassname.as_ptr()), ptszclassname.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3010,35 +3010,35 @@ pub unsafe fn RealGetWindowClassW(hwnd: P0, ptszclassname: &mut [u16]) -> u3 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RealGetWindowClassW ( hwnd : super::super::Foundation:: HWND , ptszclassname : :: windows::core::PWSTR , cchclassnamemax : u32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn RealGetWindowClassW ( hwnd : super::super::Foundation:: HWND , ptszclassname : :: windows::core::PWSTR , cchclassnamemax : u32 ) -> u32 ); RealGetWindowClassW(hwnd.into(), ::core::mem::transmute(ptszclassname.as_ptr()), ptszclassname.len() as _) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn RegisterClassA(lpwndclass: *const WNDCLASSA) -> u16 { - ::windows::core::link ! ( "user32.dll""system" fn RegisterClassA ( lpwndclass : *const WNDCLASSA ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterClassA ( lpwndclass : *const WNDCLASSA ) -> u16 ); RegisterClassA(lpwndclass) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn RegisterClassExA(param0: *const WNDCLASSEXA) -> u16 { - ::windows::core::link ! ( "user32.dll""system" fn RegisterClassExA ( param0 : *const WNDCLASSEXA ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterClassExA ( param0 : *const WNDCLASSEXA ) -> u16 ); RegisterClassExA(param0) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn RegisterClassExW(param0: *const WNDCLASSEXW) -> u16 { - ::windows::core::link ! ( "user32.dll""system" fn RegisterClassExW ( param0 : *const WNDCLASSEXW ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterClassExW ( param0 : *const WNDCLASSEXW ) -> u16 ); RegisterClassExW(param0) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] pub unsafe fn RegisterClassW(lpwndclass: *const WNDCLASSW) -> u16 { - ::windows::core::link ! ( "user32.dll""system" fn RegisterClassW ( lpwndclass : *const WNDCLASSW ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterClassW ( lpwndclass : *const WNDCLASSW ) -> u16 ); RegisterClassW(lpwndclass) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] @@ -3048,7 +3048,7 @@ pub unsafe fn RegisterDeviceNotificationA(hrecipient: P0, notificationfilter where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterDeviceNotificationA ( hrecipient : super::super::Foundation:: HANDLE , notificationfilter : *const ::core::ffi::c_void , flags : super::super::System::Power:: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterDeviceNotificationA ( hrecipient : super::super::Foundation:: HANDLE , notificationfilter : *const ::core::ffi::c_void , flags : super::super::System::Power:: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ) -> *mut ::core::ffi::c_void ); RegisterDeviceNotificationA(hrecipient.into(), notificationfilter, flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] @@ -3058,7 +3058,7 @@ pub unsafe fn RegisterDeviceNotificationW(hrecipient: P0, notificationfilter where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterDeviceNotificationW ( hrecipient : super::super::Foundation:: HANDLE , notificationfilter : *const ::core::ffi::c_void , flags : super::super::System::Power:: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ) -> *mut ::core::ffi::c_void ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterDeviceNotificationW ( hrecipient : super::super::Foundation:: HANDLE , notificationfilter : *const ::core::ffi::c_void , flags : super::super::System::Power:: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ) -> *mut ::core::ffi::c_void ); RegisterDeviceNotificationW(hrecipient.into(), notificationfilter, flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3068,7 +3068,7 @@ pub unsafe fn RegisterShellHookWindow(hwnd: P0) -> super::super::Foundation: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterShellHookWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterShellHookWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); RegisterShellHookWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3077,7 +3077,7 @@ pub unsafe fn RegisterWindowMessageA(lpstring: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterWindowMessageA ( lpstring : :: windows::core::PCSTR ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterWindowMessageA ( lpstring : :: windows::core::PCSTR ) -> u32 ); RegisterWindowMessageA(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3086,7 +3086,7 @@ pub unsafe fn RegisterWindowMessageW(lpstring: P0) -> u32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn RegisterWindowMessageW ( lpstring : :: windows::core::PCWSTR ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn RegisterWindowMessageW ( lpstring : :: windows::core::PCWSTR ) -> u32 ); RegisterWindowMessageW(lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3096,7 +3096,7 @@ pub unsafe fn RemoveMenu(hmenu: P0, uposition: u32, uflags: MENU_ITEM_FLAGS) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn RemoveMenu ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn RemoveMenu ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS ) -> super::super::Foundation:: BOOL ); RemoveMenu(hmenu.into(), uposition, uflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3107,9 +3107,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn RemovePropA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn RemovePropA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: HANDLE ); let result__ = RemovePropA(hwnd.into(), lpstring.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3119,9 +3119,9 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn RemovePropW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); + ::windows::imp::link ! ( "user32.dll""system" fn RemovePropW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: HANDLE ); let result__ = RemovePropW(hwnd.into(), lpstring.into().abi()); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3130,7 +3130,7 @@ pub unsafe fn ReplyMessage(lresult: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ReplyMessage ( lresult : super::super::Foundation:: LRESULT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ReplyMessage ( lresult : super::super::Foundation:: LRESULT ) -> super::super::Foundation:: BOOL ); ReplyMessage(lresult.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3141,7 +3141,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ScrollDC ( hdc : super::super::Graphics::Gdi:: HDC , dx : i32 , dy : i32 , lprcscroll : *const super::super::Foundation:: RECT , lprcclip : *const super::super::Foundation:: RECT , hrgnupdate : super::super::Graphics::Gdi:: HRGN , lprcupdate : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ScrollDC ( hdc : super::super::Graphics::Gdi:: HDC , dx : i32 , dy : i32 , lprcscroll : *const super::super::Foundation:: RECT , lprcclip : *const super::super::Foundation:: RECT , hrgnupdate : super::super::Graphics::Gdi:: HRGN , lprcupdate : *mut super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); ScrollDC(hdc.into(), dx, dy, ::core::mem::transmute(lprcscroll.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lprcclip.unwrap_or(::std::ptr::null())), hrgnupdate.into(), ::core::mem::transmute(lprcupdate.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3151,7 +3151,7 @@ pub unsafe fn ScrollWindow(hwnd: P0, xamount: i32, yamount: i32, lprect: ::c where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ScrollWindow ( hwnd : super::super::Foundation:: HWND , xamount : i32 , yamount : i32 , lprect : *const super::super::Foundation:: RECT , lpcliprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ScrollWindow ( hwnd : super::super::Foundation:: HWND , xamount : i32 , yamount : i32 , lprect : *const super::super::Foundation:: RECT , lpcliprect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); ScrollWindow(hwnd.into(), xamount, yamount, ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcliprect.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3162,7 +3162,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ScrollWindowEx ( hwnd : super::super::Foundation:: HWND , dx : i32 , dy : i32 , prcscroll : *const super::super::Foundation:: RECT , prcclip : *const super::super::Foundation:: RECT , hrgnupdate : super::super::Graphics::Gdi:: HRGN , prcupdate : *mut super::super::Foundation:: RECT , flags : SHOW_WINDOW_CMD ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ScrollWindowEx ( hwnd : super::super::Foundation:: HWND , dx : i32 , dy : i32 , prcscroll : *const super::super::Foundation:: RECT , prcclip : *const super::super::Foundation:: RECT , hrgnupdate : super::super::Graphics::Gdi:: HRGN , prcupdate : *mut super::super::Foundation:: RECT , flags : SHOW_WINDOW_CMD ) -> i32 ); ScrollWindowEx(hwnd.into(), dx, dy, ::core::mem::transmute(prcscroll.unwrap_or(::std::ptr::null())), ::core::mem::transmute(prcclip.unwrap_or(::std::ptr::null())), hrgnupdate.into(), ::core::mem::transmute(prcupdate.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3174,7 +3174,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendDlgItemMessageA ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn SendDlgItemMessageA ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SendDlgItemMessageA(hdlg.into(), niddlgitem, msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3186,7 +3186,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendDlgItemMessageW ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn SendDlgItemMessageW ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SendDlgItemMessageW(hdlg.into(), niddlgitem, msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3198,7 +3198,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendMessageA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn SendMessageA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SendMessageA(hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3210,7 +3210,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendMessageCallbackA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , lpresultcallback : SENDASYNCPROC , dwdata : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SendMessageCallbackA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , lpresultcallback : SENDASYNCPROC , dwdata : usize ) -> super::super::Foundation:: BOOL ); SendMessageCallbackA(hwnd.into(), msg, wparam.into(), lparam.into(), lpresultcallback, dwdata) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3222,7 +3222,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendMessageCallbackW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , lpresultcallback : SENDASYNCPROC , dwdata : usize ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SendMessageCallbackW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , lpresultcallback : SENDASYNCPROC , dwdata : usize ) -> super::super::Foundation:: BOOL ); SendMessageCallbackW(hwnd.into(), msg, wparam.into(), lparam.into(), lpresultcallback, dwdata) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3234,7 +3234,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendMessageTimeoutA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , fuflags : SEND_MESSAGE_TIMEOUT_FLAGS , utimeout : u32 , lpdwresult : *mut usize ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn SendMessageTimeoutA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , fuflags : SEND_MESSAGE_TIMEOUT_FLAGS , utimeout : u32 , lpdwresult : *mut usize ) -> super::super::Foundation:: LRESULT ); SendMessageTimeoutA(hwnd.into(), msg, wparam.into(), lparam.into(), fuflags, utimeout, ::core::mem::transmute(lpdwresult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3246,7 +3246,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendMessageTimeoutW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , fuflags : SEND_MESSAGE_TIMEOUT_FLAGS , utimeout : u32 , lpdwresult : *mut usize ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn SendMessageTimeoutW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , fuflags : SEND_MESSAGE_TIMEOUT_FLAGS , utimeout : u32 , lpdwresult : *mut usize ) -> super::super::Foundation:: LRESULT ); SendMessageTimeoutW(hwnd.into(), msg, wparam.into(), lparam.into(), fuflags, utimeout, ::core::mem::transmute(lpdwresult.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3258,7 +3258,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendMessageW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); + ::windows::imp::link ! ( "user32.dll""system" fn SendMessageW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LRESULT ); SendMessageW(hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3270,7 +3270,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendNotifyMessageA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SendNotifyMessageA ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); SendNotifyMessageA(hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3282,21 +3282,21 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SendNotifyMessageW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SendNotifyMessageW ( hwnd : super::super::Foundation:: HWND , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: BOOL ); SendNotifyMessageW(hwnd.into(), msg, wparam.into(), lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetCaretBlinkTime(umseconds: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetCaretBlinkTime ( umseconds : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetCaretBlinkTime ( umseconds : u32 ) -> super::super::Foundation:: BOOL ); SetCaretBlinkTime(umseconds) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetCaretPos(x: i32, y: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetCaretPos ( x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetCaretPos ( x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); SetCaretPos(x, y) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3306,7 +3306,7 @@ pub unsafe fn SetClassLongA(hwnd: P0, nindex: GET_CLASS_LONG_INDEX, dwnewlon where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetClassLongA ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX , dwnewlong : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetClassLongA ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX , dwnewlong : i32 ) -> u32 ); SetClassLongA(hwnd.into(), nindex, dwnewlong) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3317,7 +3317,7 @@ pub unsafe fn SetClassLongPtrA(hwnd: P0, nindex: GET_CLASS_LONG_INDEX, dwnew where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetClassLongPtrA ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX , dwnewlong : isize ) -> usize ); + ::windows::imp::link ! ( "user32.dll""system" fn SetClassLongPtrA ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX , dwnewlong : isize ) -> usize ); SetClassLongPtrA(hwnd.into(), nindex, dwnewlong) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3328,7 +3328,7 @@ pub unsafe fn SetClassLongPtrW(hwnd: P0, nindex: GET_CLASS_LONG_INDEX, dwnew where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetClassLongPtrW ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX , dwnewlong : isize ) -> usize ); + ::windows::imp::link ! ( "user32.dll""system" fn SetClassLongPtrW ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX , dwnewlong : isize ) -> usize ); SetClassLongPtrW(hwnd.into(), nindex, dwnewlong) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3338,7 +3338,7 @@ pub unsafe fn SetClassLongW(hwnd: P0, nindex: GET_CLASS_LONG_INDEX, dwnewlon where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetClassLongW ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX , dwnewlong : i32 ) -> u32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetClassLongW ( hwnd : super::super::Foundation:: HWND , nindex : GET_CLASS_LONG_INDEX , dwnewlong : i32 ) -> u32 ); SetClassLongW(hwnd.into(), nindex, dwnewlong) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3348,7 +3348,7 @@ pub unsafe fn SetClassWord(hwnd: P0, nindex: i32, wnewword: u16) -> u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetClassWord ( hwnd : super::super::Foundation:: HWND , nindex : i32 , wnewword : u16 ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetClassWord ( hwnd : super::super::Foundation:: HWND , nindex : i32 , wnewword : u16 ) -> u16 ); SetClassWord(hwnd.into(), nindex, wnewword) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3358,7 +3358,7 @@ pub unsafe fn SetCoalescableTimer(hwnd: P0, nidevent: usize, uelapse: u32, l where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetCoalescableTimer ( hwnd : super::super::Foundation:: HWND , nidevent : usize , uelapse : u32 , lptimerfunc : TIMERPROC , utolerancedelay : u32 ) -> usize ); + ::windows::imp::link ! ( "user32.dll""system" fn SetCoalescableTimer ( hwnd : super::super::Foundation:: HWND , nidevent : usize , uelapse : u32 , lptimerfunc : TIMERPROC , utolerancedelay : u32 ) -> usize ); SetCoalescableTimer(hwnd.into(), nidevent, uelapse, lptimerfunc, utolerancedelay) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3367,20 +3367,20 @@ pub unsafe fn SetCursor(hcursor: P0) -> HCURSOR where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetCursor ( hcursor : HCURSOR ) -> HCURSOR ); + ::windows::imp::link ! ( "user32.dll""system" fn SetCursor ( hcursor : HCURSOR ) -> HCURSOR ); SetCursor(hcursor.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetCursorPos(x: i32, y: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetCursorPos ( x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetCursorPos ( x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); SetCursorPos(x, y) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[inline] pub unsafe fn SetDebugErrorLevel(dwlevel: u32) { - ::windows::core::link ! ( "user32.dll""system" fn SetDebugErrorLevel ( dwlevel : u32 ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDebugErrorLevel ( dwlevel : u32 ) -> ( ) ); SetDebugErrorLevel(dwlevel) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3391,7 +3391,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetDlgItemInt ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , uvalue : u32 , bsigned : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDlgItemInt ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , uvalue : u32 , bsigned : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); SetDlgItemInt(hdlg.into(), niddlgitem, uvalue, bsigned.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3402,7 +3402,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn SetDlgItemTextA ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDlgItemTextA ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetDlgItemTextA(hdlg.into(), niddlgitem, lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3413,7 +3413,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn SetDlgItemTextW ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetDlgItemTextW ( hdlg : super::super::Foundation:: HWND , niddlgitem : i32 , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetDlgItemTextW(hdlg.into(), niddlgitem, lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3423,7 +3423,7 @@ pub unsafe fn SetForegroundWindow(hwnd: P0) -> super::super::Foundation::BOO where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetForegroundWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetForegroundWindow ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); SetForegroundWindow(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3434,7 +3434,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetLayeredWindowAttributes ( hwnd : super::super::Foundation:: HWND , crkey : super::super::Foundation:: COLORREF , balpha : u8 , dwflags : LAYERED_WINDOW_ATTRIBUTES_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetLayeredWindowAttributes ( hwnd : super::super::Foundation:: HWND , crkey : super::super::Foundation:: COLORREF , balpha : u8 , dwflags : LAYERED_WINDOW_ATTRIBUTES_FLAGS ) -> super::super::Foundation:: BOOL ); SetLayeredWindowAttributes(hwnd.into(), crkey.into(), balpha, dwflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3445,7 +3445,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetMenu ( hwnd : super::super::Foundation:: HWND , hmenu : HMENU ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMenu ( hwnd : super::super::Foundation:: HWND , hmenu : HMENU ) -> super::super::Foundation:: BOOL ); SetMenu(hwnd.into(), hmenu.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3455,7 +3455,7 @@ pub unsafe fn SetMenuDefaultItem(hmenu: P0, uitem: u32, fbypos: u32) -> supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetMenuDefaultItem ( hmenu : HMENU , uitem : u32 , fbypos : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMenuDefaultItem ( hmenu : HMENU , uitem : u32 , fbypos : u32 ) -> super::super::Foundation:: BOOL ); SetMenuDefaultItem(hmenu.into(), uitem, fbypos) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3465,7 +3465,7 @@ pub unsafe fn SetMenuInfo(param0: P0, param1: *const MENUINFO) -> super::sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetMenuInfo ( param0 : HMENU , param1 : *const MENUINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMenuInfo ( param0 : HMENU , param1 : *const MENUINFO ) -> super::super::Foundation:: BOOL ); SetMenuInfo(param0.into(), param1) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3477,7 +3477,7 @@ where P1: ::std::convert::Into, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetMenuItemBitmaps ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , hbitmapunchecked : super::super::Graphics::Gdi:: HBITMAP , hbitmapchecked : super::super::Graphics::Gdi:: HBITMAP ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMenuItemBitmaps ( hmenu : HMENU , uposition : u32 , uflags : MENU_ITEM_FLAGS , hbitmapunchecked : super::super::Graphics::Gdi:: HBITMAP , hbitmapchecked : super::super::Graphics::Gdi:: HBITMAP ) -> super::super::Foundation:: BOOL ); SetMenuItemBitmaps(hmenu.into(), uposition, uflags, hbitmapunchecked.into(), hbitmapchecked.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3488,7 +3488,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetMenuItemInfoA ( hmenu : HMENU , item : u32 , fbypositon : super::super::Foundation:: BOOL , lpmii : *const MENUITEMINFOA ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMenuItemInfoA ( hmenu : HMENU , item : u32 , fbypositon : super::super::Foundation:: BOOL , lpmii : *const MENUITEMINFOA ) -> super::super::Foundation:: BOOL ); SetMenuItemInfoA(hmenu.into(), item, fbypositon.into(), lpmii) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3499,7 +3499,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetMenuItemInfoW ( hmenu : HMENU , item : u32 , fbypositon : super::super::Foundation:: BOOL , lpmii : *const MENUITEMINFOW ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMenuItemInfoW ( hmenu : HMENU , item : u32 , fbypositon : super::super::Foundation:: BOOL , lpmii : *const MENUITEMINFOW ) -> super::super::Foundation:: BOOL ); SetMenuItemInfoW(hmenu.into(), item, fbypositon.into(), lpmii) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3509,14 +3509,14 @@ pub unsafe fn SetMessageExtraInfo(lparam: P0) -> super::super::Foundation::L where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetMessageExtraInfo ( lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LPARAM ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMessageExtraInfo ( lparam : super::super::Foundation:: LPARAM ) -> super::super::Foundation:: LPARAM ); SetMessageExtraInfo(lparam.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetMessageQueue(cmessagesmax: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetMessageQueue ( cmessagesmax : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetMessageQueue ( cmessagesmax : i32 ) -> super::super::Foundation:: BOOL ); SetMessageQueue(cmessagesmax) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3527,28 +3527,28 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetParent ( hwndchild : super::super::Foundation:: HWND , hwndnewparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn SetParent ( hwndchild : super::super::Foundation:: HWND , hwndnewparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: HWND ); SetParent(hwndchild.into(), hwndnewparent.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetPhysicalCursorPos(x: i32, y: i32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetPhysicalCursorPos ( x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetPhysicalCursorPos ( x : i32 , y : i32 ) -> super::super::Foundation:: BOOL ); SetPhysicalCursorPos(x, y) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetProcessDPIAware() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetProcessDPIAware ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetProcessDPIAware ( ) -> super::super::Foundation:: BOOL ); SetProcessDPIAware() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetProcessDefaultLayout(dwdefaultlayout: u32) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SetProcessDefaultLayout ( dwdefaultlayout : u32 ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetProcessDefaultLayout ( dwdefaultlayout : u32 ) -> super::super::Foundation:: BOOL ); SetProcessDefaultLayout(dwdefaultlayout) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3560,7 +3560,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetPropA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCSTR , hdata : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetPropA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCSTR , hdata : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetPropA(hwnd.into(), lpstring.into().abi(), hdata.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3572,7 +3572,7 @@ where P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P2: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetPropW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCWSTR , hdata : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetPropW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCWSTR , hdata : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); SetPropW(hwnd.into(), lpstring.into().abi(), hdata.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3582,7 +3582,7 @@ pub unsafe fn SetSystemCursor(hcur: P0, id: SYSTEM_CURSOR_ID) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetSystemCursor ( hcur : HCURSOR , id : SYSTEM_CURSOR_ID ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetSystemCursor ( hcur : HCURSOR , id : SYSTEM_CURSOR_ID ) -> super::super::Foundation:: BOOL ); SetSystemCursor(hcur.into(), id) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3592,7 +3592,7 @@ pub unsafe fn SetTimer(hwnd: P0, nidevent: usize, uelapse: u32, lptimerfunc: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetTimer ( hwnd : super::super::Foundation:: HWND , nidevent : usize , uelapse : u32 , lptimerfunc : TIMERPROC ) -> usize ); + ::windows::imp::link ! ( "user32.dll""system" fn SetTimer ( hwnd : super::super::Foundation:: HWND , nidevent : usize , uelapse : u32 , lptimerfunc : TIMERPROC ) -> usize ); SetTimer(hwnd.into(), nidevent, uelapse, lptimerfunc) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3602,7 +3602,7 @@ pub unsafe fn SetWindowDisplayAffinity(hwnd: P0, dwaffinity: WINDOW_DISPLAY_ where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowDisplayAffinity ( hwnd : super::super::Foundation:: HWND , dwaffinity : WINDOW_DISPLAY_AFFINITY ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowDisplayAffinity ( hwnd : super::super::Foundation:: HWND , dwaffinity : WINDOW_DISPLAY_AFFINITY ) -> super::super::Foundation:: BOOL ); SetWindowDisplayAffinity(hwnd.into(), dwaffinity) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3612,7 +3612,7 @@ pub unsafe fn SetWindowLongA(hwnd: P0, nindex: WINDOW_LONG_PTR_INDEX, dwnewl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowLongA ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowLongA ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 ) -> i32 ); SetWindowLongA(hwnd.into(), nindex, dwnewlong) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3623,7 +3623,7 @@ pub unsafe fn SetWindowLongPtrA(hwnd: P0, nindex: WINDOW_LONG_PTR_INDEX, dwn where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowLongPtrA ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize ) -> isize ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowLongPtrA ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize ) -> isize ); SetWindowLongPtrA(hwnd.into(), nindex, dwnewlong) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3634,7 +3634,7 @@ pub unsafe fn SetWindowLongPtrW(hwnd: P0, nindex: WINDOW_LONG_PTR_INDEX, dwn where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowLongPtrW ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize ) -> isize ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowLongPtrW ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize ) -> isize ); SetWindowLongPtrW(hwnd.into(), nindex, dwnewlong) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3644,7 +3644,7 @@ pub unsafe fn SetWindowLongW(hwnd: P0, nindex: WINDOW_LONG_PTR_INDEX, dwnewl where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowLongW ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowLongW ( hwnd : super::super::Foundation:: HWND , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 ) -> i32 ); SetWindowLongW(hwnd.into(), nindex, dwnewlong) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3654,7 +3654,7 @@ pub unsafe fn SetWindowPlacement(hwnd: P0, lpwndpl: *const WINDOWPLACEMENT) where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowPlacement ( hwnd : super::super::Foundation:: HWND , lpwndpl : *const WINDOWPLACEMENT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowPlacement ( hwnd : super::super::Foundation:: HWND , lpwndpl : *const WINDOWPLACEMENT ) -> super::super::Foundation:: BOOL ); SetWindowPlacement(hwnd.into(), lpwndpl) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3665,7 +3665,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowPos ( hwnd : super::super::Foundation:: HWND , hwndinsertafter : super::super::Foundation:: HWND , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SET_WINDOW_POS_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowPos ( hwnd : super::super::Foundation:: HWND , hwndinsertafter : super::super::Foundation:: HWND , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SET_WINDOW_POS_FLAGS ) -> super::super::Foundation:: BOOL ); SetWindowPos(hwnd.into(), hwndinsertafter.into(), x, y, cx, cy, uflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3676,7 +3676,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowTextA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowTextA ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL ); SetWindowTextA(hwnd.into(), lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3687,7 +3687,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowTextW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowTextW ( hwnd : super::super::Foundation:: HWND , lpstring : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL ); SetWindowTextW(hwnd.into(), lpstring.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3697,14 +3697,14 @@ pub unsafe fn SetWindowWord(hwnd: P0, nindex: i32, wnewword: u16) -> u16 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowWord ( hwnd : super::super::Foundation:: HWND , nindex : i32 , wnewword : u16 ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowWord ( hwnd : super::super::Foundation:: HWND , nindex : i32 , wnewword : u16 ) -> u16 ); SetWindowWord(hwnd.into(), nindex, wnewword) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetWindowsHookA(nfiltertype: i32, pfnfilterproc: HOOKPROC) -> HHOOK { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowsHookA ( nfiltertype : i32 , pfnfilterproc : HOOKPROC ) -> HHOOK ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowsHookA ( nfiltertype : i32 , pfnfilterproc : HOOKPROC ) -> HHOOK ); SetWindowsHookA(nfiltertype, pfnfilterproc) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3714,9 +3714,9 @@ pub unsafe fn SetWindowsHookExA(idhook: WINDOWS_HOOK_ID, lpfn: HOOKPROC, hmo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowsHookExA ( idhook : WINDOWS_HOOK_ID , lpfn : HOOKPROC , hmod : super::super::Foundation:: HINSTANCE , dwthreadid : u32 ) -> HHOOK ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowsHookExA ( idhook : WINDOWS_HOOK_ID , lpfn : HOOKPROC , hmod : super::super::Foundation:: HINSTANCE , dwthreadid : u32 ) -> HHOOK ); let result__ = SetWindowsHookExA(idhook, lpfn, hmod.into(), dwthreadid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3725,15 +3725,15 @@ pub unsafe fn SetWindowsHookExW(idhook: WINDOWS_HOOK_ID, lpfn: HOOKPROC, hmo where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowsHookExW ( idhook : WINDOWS_HOOK_ID , lpfn : HOOKPROC , hmod : super::super::Foundation:: HINSTANCE , dwthreadid : u32 ) -> HHOOK ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowsHookExW ( idhook : WINDOWS_HOOK_ID , lpfn : HOOKPROC , hmod : super::super::Foundation:: HINSTANCE , dwthreadid : u32 ) -> HHOOK ); let result__ = SetWindowsHookExW(idhook, lpfn, hmod.into(), dwthreadid); - ::windows::core::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) + ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SetWindowsHookW(nfiltertype: i32, pfnfilterproc: HOOKPROC) -> HHOOK { - ::windows::core::link ! ( "user32.dll""system" fn SetWindowsHookW ( nfiltertype : i32 , pfnfilterproc : HOOKPROC ) -> HHOOK ); + ::windows::imp::link ! ( "user32.dll""system" fn SetWindowsHookW ( nfiltertype : i32 , pfnfilterproc : HOOKPROC ) -> HHOOK ); SetWindowsHookW(nfiltertype, pfnfilterproc) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3743,7 +3743,7 @@ pub unsafe fn ShowCaret(hwnd: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ShowCaret ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ShowCaret ( hwnd : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); ShowCaret(hwnd.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3753,7 +3753,7 @@ pub unsafe fn ShowCursor(bshow: P0) -> i32 where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ShowCursor ( bshow : super::super::Foundation:: BOOL ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn ShowCursor ( bshow : super::super::Foundation:: BOOL ) -> i32 ); ShowCursor(bshow.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3764,7 +3764,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ShowOwnedPopups ( hwnd : super::super::Foundation:: HWND , fshow : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ShowOwnedPopups ( hwnd : super::super::Foundation:: HWND , fshow : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); ShowOwnedPopups(hwnd.into(), fshow.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3774,7 +3774,7 @@ pub unsafe fn ShowWindow(hwnd: P0, ncmdshow: SHOW_WINDOW_CMD) -> super::supe where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ShowWindow ( hwnd : super::super::Foundation:: HWND , ncmdshow : SHOW_WINDOW_CMD ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ShowWindow ( hwnd : super::super::Foundation:: HWND , ncmdshow : SHOW_WINDOW_CMD ) -> super::super::Foundation:: BOOL ); ShowWindow(hwnd.into(), ncmdshow) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3784,14 +3784,14 @@ pub unsafe fn ShowWindowAsync(hwnd: P0, ncmdshow: SHOW_WINDOW_CMD) -> super: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn ShowWindowAsync ( hwnd : super::super::Foundation:: HWND , ncmdshow : SHOW_WINDOW_CMD ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn ShowWindowAsync ( hwnd : super::super::Foundation:: HWND , ncmdshow : SHOW_WINDOW_CMD ) -> super::super::Foundation:: BOOL ); ShowWindowAsync(hwnd.into(), ncmdshow) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SoundSentry() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SoundSentry ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SoundSentry ( ) -> super::super::Foundation:: BOOL ); SoundSentry() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3802,21 +3802,21 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn SwitchToThisWindow ( hwnd : super::super::Foundation:: HWND , funknown : super::super::Foundation:: BOOL ) -> ( ) ); + ::windows::imp::link ! ( "user32.dll""system" fn SwitchToThisWindow ( hwnd : super::super::Foundation:: HWND , funknown : super::super::Foundation:: BOOL ) -> ( ) ); SwitchToThisWindow(hwnd.into(), funknown.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemParametersInfoA(uiaction: SYSTEM_PARAMETERS_INFO_ACTION, uiparam: u32, pvparam: ::core::option::Option<*const ::core::ffi::c_void>, fwinini: SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SystemParametersInfoA ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : *const ::core::ffi::c_void , fwinini : SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SystemParametersInfoA ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : *const ::core::ffi::c_void , fwinini : SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ); SystemParametersInfoA(uiaction, uiparam, ::core::mem::transmute(pvparam.unwrap_or(::std::ptr::null())), fwinini) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn SystemParametersInfoW(uiaction: SYSTEM_PARAMETERS_INFO_ACTION, uiparam: u32, pvparam: ::core::option::Option<*const ::core::ffi::c_void>, fwinini: SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn SystemParametersInfoW ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : *const ::core::ffi::c_void , fwinini : SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn SystemParametersInfoW ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : *const ::core::ffi::c_void , fwinini : SYSTEM_PARAMETERS_INFO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ); SystemParametersInfoW(uiaction, uiparam, ::core::mem::transmute(pvparam.unwrap_or(::std::ptr::null())), fwinini) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3826,7 +3826,7 @@ pub unsafe fn TileWindows(hwndparent: P0, whow: TILE_WINDOWS_HOW, lprect: :: where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn TileWindows ( hwndparent : super::super::Foundation:: HWND , whow : TILE_WINDOWS_HOW , lprect : *const super::super::Foundation:: RECT , ckids : u32 , lpkids : *const super::super::Foundation:: HWND ) -> u16 ); + ::windows::imp::link ! ( "user32.dll""system" fn TileWindows ( hwndparent : super::super::Foundation:: HWND , whow : TILE_WINDOWS_HOW , lprect : *const super::super::Foundation:: RECT , ckids : u32 , lpkids : *const super::super::Foundation:: HWND ) -> u16 ); TileWindows(hwndparent.into(), whow, ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), lpkids.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpkids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3837,7 +3837,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn TrackPopupMenu ( hmenu : HMENU , uflags : TRACK_POPUP_MENU_FLAGS , x : i32 , y : i32 , nreserved : i32 , hwnd : super::super::Foundation:: HWND , prcrect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn TrackPopupMenu ( hmenu : HMENU , uflags : TRACK_POPUP_MENU_FLAGS , x : i32 , y : i32 , nreserved : i32 , hwnd : super::super::Foundation:: HWND , prcrect : *const super::super::Foundation:: RECT ) -> super::super::Foundation:: BOOL ); TrackPopupMenu(hmenu.into(), uflags, x, y, nreserved, hwnd.into(), ::core::mem::transmute(prcrect.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3848,7 +3848,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn TrackPopupMenuEx ( hmenu : HMENU , uflags : u32 , x : i32 , y : i32 , hwnd : super::super::Foundation:: HWND , lptpm : *const TPMPARAMS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn TrackPopupMenuEx ( hmenu : HMENU , uflags : u32 , x : i32 , y : i32 , hwnd : super::super::Foundation:: HWND , lptpm : *const TPMPARAMS ) -> super::super::Foundation:: BOOL ); TrackPopupMenuEx(hmenu.into(), uflags, x, y, hwnd.into(), ::core::mem::transmute(lptpm.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3859,7 +3859,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn TranslateAcceleratorA ( hwnd : super::super::Foundation:: HWND , hacctable : HACCEL , lpmsg : *const MSG ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn TranslateAcceleratorA ( hwnd : super::super::Foundation:: HWND , hacctable : HACCEL , lpmsg : *const MSG ) -> i32 ); TranslateAcceleratorA(hwnd.into(), hacctable.into(), lpmsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3870,7 +3870,7 @@ where P0: ::std::convert::Into, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn TranslateAcceleratorW ( hwnd : super::super::Foundation:: HWND , hacctable : HACCEL , lpmsg : *const MSG ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn TranslateAcceleratorW ( hwnd : super::super::Foundation:: HWND , hacctable : HACCEL , lpmsg : *const MSG ) -> i32 ); TranslateAcceleratorW(hwnd.into(), hacctable.into(), lpmsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3880,21 +3880,21 @@ pub unsafe fn TranslateMDISysAccel(hwndclient: P0, lpmsg: *const MSG) -> sup where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn TranslateMDISysAccel ( hwndclient : super::super::Foundation:: HWND , lpmsg : *const MSG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn TranslateMDISysAccel ( hwndclient : super::super::Foundation:: HWND , lpmsg : *const MSG ) -> super::super::Foundation:: BOOL ); TranslateMDISysAccel(hwndclient.into(), lpmsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn TranslateMessage(lpmsg: *const MSG) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn TranslateMessage ( lpmsg : *const MSG ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn TranslateMessage ( lpmsg : *const MSG ) -> super::super::Foundation:: BOOL ); TranslateMessage(lpmsg) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn UnhookWindowsHook(ncode: i32, pfnfilterproc: HOOKPROC) -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn UnhookWindowsHook ( ncode : i32 , pfnfilterproc : HOOKPROC ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnhookWindowsHook ( ncode : i32 , pfnfilterproc : HOOKPROC ) -> super::super::Foundation:: BOOL ); UnhookWindowsHook(ncode, pfnfilterproc) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3904,7 +3904,7 @@ pub unsafe fn UnhookWindowsHookEx(hhk: P0) -> super::super::Foundation::BOOL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnhookWindowsHookEx ( hhk : HHOOK ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnhookWindowsHookEx ( hhk : HHOOK ) -> super::super::Foundation:: BOOL ); UnhookWindowsHookEx(hhk.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3915,7 +3915,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterClassA ( lpclassname : :: windows::core::PCSTR , hinstance : super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterClassA ( lpclassname : :: windows::core::PCSTR , hinstance : super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); UnregisterClassA(lpclassname.into().abi(), hinstance.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] @@ -3926,7 +3926,7 @@ where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, P1: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UnregisterClassW ( lpclassname : :: windows::core::PCWSTR , hinstance : super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UnregisterClassW ( lpclassname : :: windows::core::PCWSTR , hinstance : super::super::Foundation:: HINSTANCE ) -> super::super::Foundation:: BOOL ); UnregisterClassW(lpclassname.into().abi(), hinstance.into()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3939,7 +3939,7 @@ where P2: ::std::convert::Into, P3: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UpdateLayeredWindow ( hwnd : super::super::Foundation:: HWND , hdcdst : super::super::Graphics::Gdi:: HDC , pptdst : *const super::super::Foundation:: POINT , psize : *const super::super::Foundation:: SIZE , hdcsrc : super::super::Graphics::Gdi:: HDC , pptsrc : *const super::super::Foundation:: POINT , crkey : super::super::Foundation:: COLORREF , pblend : *const super::super::Graphics::Gdi:: BLENDFUNCTION , dwflags : UPDATE_LAYERED_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UpdateLayeredWindow ( hwnd : super::super::Foundation:: HWND , hdcdst : super::super::Graphics::Gdi:: HDC , pptdst : *const super::super::Foundation:: POINT , psize : *const super::super::Foundation:: SIZE , hdcsrc : super::super::Graphics::Gdi:: HDC , pptsrc : *const super::super::Foundation:: POINT , crkey : super::super::Foundation:: COLORREF , pblend : *const super::super::Graphics::Gdi:: BLENDFUNCTION , dwflags : UPDATE_LAYERED_WINDOW_FLAGS ) -> super::super::Foundation:: BOOL ); UpdateLayeredWindow(hwnd.into(), hdcdst.into(), ::core::mem::transmute(pptdst.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psize.unwrap_or(::std::ptr::null())), hdcsrc.into(), ::core::mem::transmute(pptsrc.unwrap_or(::std::ptr::null())), crkey.into(), ::core::mem::transmute(pblend.unwrap_or(::std::ptr::null())), dwflags) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3949,28 +3949,28 @@ pub unsafe fn UpdateLayeredWindowIndirect(hwnd: P0, pulwinfo: *const UPDATEL where P0: ::std::convert::Into, { - ::windows::core::link ! ( "user32.dll""system" fn UpdateLayeredWindowIndirect ( hwnd : super::super::Foundation:: HWND , pulwinfo : *const UPDATELAYEREDWINDOWINFO ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn UpdateLayeredWindowIndirect ( hwnd : super::super::Foundation:: HWND , pulwinfo : *const UPDATELAYEREDWINDOWINFO ) -> super::super::Foundation:: BOOL ); UpdateLayeredWindowIndirect(hwnd.into(), pulwinfo) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WaitMessage() -> super::super::Foundation::BOOL { - ::windows::core::link ! ( "user32.dll""system" fn WaitMessage ( ) -> super::super::Foundation:: BOOL ); + ::windows::imp::link ! ( "user32.dll""system" fn WaitMessage ( ) -> super::super::Foundation:: BOOL ); WaitMessage() } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WindowFromPhysicalPoint(point: super::super::Foundation::POINT) -> super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn WindowFromPhysicalPoint ( point : super::super::Foundation:: POINT ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn WindowFromPhysicalPoint ( point : super::super::Foundation:: POINT ) -> super::super::Foundation:: HWND ); WindowFromPhysicalPoint(::core::mem::transmute(point)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] pub unsafe fn WindowFromPoint(point: super::super::Foundation::POINT) -> super::super::Foundation::HWND { - ::windows::core::link ! ( "user32.dll""system" fn WindowFromPoint ( point : super::super::Foundation:: POINT ) -> super::super::Foundation:: HWND ); + ::windows::imp::link ! ( "user32.dll""system" fn WindowFromPoint ( point : super::super::Foundation:: POINT ) -> super::super::Foundation:: HWND ); WindowFromPoint(::core::mem::transmute(point)) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3979,7 +3979,7 @@ pub unsafe fn wsprintfA(param0: ::windows::core::PSTR, param1: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""cdecl" fn wsprintfA ( param0 : :: windows::core::PSTR , param1 : :: windows::core::PCSTR ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""cdecl" fn wsprintfA ( param0 : :: windows::core::PSTR , param1 : :: windows::core::PCSTR ) -> i32 ); wsprintfA(::core::mem::transmute(param0), param1.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3988,7 +3988,7 @@ pub unsafe fn wsprintfW(param0: ::windows::core::PWSTR, param1: P0) -> i32 where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""cdecl" fn wsprintfW ( param0 : :: windows::core::PWSTR , param1 : :: windows::core::PCWSTR ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""cdecl" fn wsprintfW ( param0 : :: windows::core::PWSTR , param1 : :: windows::core::PCWSTR ) -> i32 ); wsprintfW(::core::mem::transmute(param0), param1.into().abi()) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -3997,7 +3997,7 @@ pub unsafe fn wvsprintfA(param0: ::windows::core::PSTR, param1: P0, arglist: where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn wvsprintfA ( param0 : :: windows::core::PSTR , param1 : :: windows::core::PCSTR , arglist : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn wvsprintfA ( param0 : :: windows::core::PSTR , param1 : :: windows::core::PCSTR , arglist : *const i8 ) -> i32 ); wvsprintfA(::core::mem::transmute(param0), param1.into().abi(), arglist) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -4006,7 +4006,7 @@ pub unsafe fn wvsprintfW(param0: ::windows::core::PWSTR, param1: P0, arglist where P0: ::std::convert::Into<::windows::core::InParam<::windows::core::PCWSTR>>, { - ::windows::core::link ! ( "user32.dll""system" fn wvsprintfW ( param0 : :: windows::core::PWSTR , param1 : :: windows::core::PCWSTR , arglist : *const i8 ) -> i32 ); + ::windows::imp::link ! ( "user32.dll""system" fn wvsprintfW ( param0 : :: windows::core::PWSTR , param1 : :: windows::core::PCWSTR , arglist : *const i8 ) -> i32 ); wvsprintfW(::core::mem::transmute(param0), param1.into().abi(), arglist) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs index f436e405c6..4f00e54e8e 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs @@ -24,7 +24,7 @@ impl IMILBitmapEffect { (::windows::core::Vtable::vtable(self).SetInputSource)(::windows::core::Vtable::as_raw(self), uiindex, pbitmapsource.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMILBitmapEffect, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffect, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffect { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -74,7 +74,7 @@ impl IMILBitmapEffectConnections { (::windows::core::Vtable::vtable(self).GetOutputConnector)(::windows::core::Vtable::as_raw(self), uiindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectConnections, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectConnections, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectConnections { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -125,7 +125,7 @@ impl IMILBitmapEffectConnectionsInfo { (::windows::core::Vtable::vtable(self).GetOutputConnectorInfo)(::windows::core::Vtable::as_raw(self), uiindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectConnectionsInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectConnectionsInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectConnectionsInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -188,7 +188,7 @@ impl IMILBitmapEffectConnector { (::windows::core::Vtable::vtable(self).GetBitmapEffect)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectConnector, ::windows::core::IUnknown, IMILBitmapEffectConnectorInfo); +::windows::imp::interface_hierarchy!(IMILBitmapEffectConnector, ::windows::core::IUnknown, IMILBitmapEffectConnectorInfo); impl ::core::cmp::PartialEq for IMILBitmapEffectConnector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -242,7 +242,7 @@ impl IMILBitmapEffectConnectorInfo { (::windows::core::Vtable::vtable(self).GetFormat)(::windows::core::Vtable::as_raw(self), ulindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectConnectorInfo, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectConnectorInfo, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectConnectorInfo { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -291,7 +291,7 @@ impl IMILBitmapEffectEvents { (::windows::core::Vtable::vtable(self).DirtyRegion)(::windows::core::Vtable::as_raw(self), peffect.into().abi(), prect).ok() } } -::windows::core::interface_hierarchy!(IMILBitmapEffectEvents, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectEvents, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectEvents { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -338,7 +338,7 @@ impl IMILBitmapEffectFactory { (::windows::core::Vtable::vtable(self).CreateEffectOuter)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectFactory, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectFactory, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectFactory { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -388,7 +388,7 @@ impl IMILBitmapEffectGroup { (::windows::core::Vtable::vtable(self).Add)(::windows::core::Vtable::as_raw(self), peffect.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMILBitmapEffectGroup, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectGroup, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectGroup { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -438,7 +438,7 @@ impl IMILBitmapEffectGroupImpl { (::windows::core::Vtable::vtable(self).GetChildren)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectGroupImpl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectGroupImpl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectGroupImpl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -520,7 +520,7 @@ impl IMILBitmapEffectImpl { (::windows::core::Vtable::vtable(self).Initialize)(::windows::core::Vtable::as_raw(self), pinner.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMILBitmapEffectImpl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectImpl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectImpl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -608,7 +608,7 @@ impl IMILBitmapEffectInputConnector { (::windows::core::Vtable::vtable(self).GetConnection)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectInputConnector, ::windows::core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); +::windows::imp::interface_hierarchy!(IMILBitmapEffectInputConnector, ::windows::core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); impl ::core::cmp::PartialEq for IMILBitmapEffectInputConnector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -647,7 +647,7 @@ impl IMILBitmapEffectInteriorInputConnector { (::windows::core::Vtable::vtable(self).GetInputConnector)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectInteriorInputConnector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectInteriorInputConnector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectInteriorInputConnector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -685,7 +685,7 @@ impl IMILBitmapEffectInteriorOutputConnector { (::windows::core::Vtable::vtable(self).GetOutputConnector)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectInteriorOutputConnector, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectInteriorOutputConnector, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectInteriorOutputConnector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -753,7 +753,7 @@ impl IMILBitmapEffectOutputConnector { (::windows::core::Vtable::vtable(self).GetConnection)(::windows::core::Vtable::as_raw(self), uiindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectOutputConnector, ::windows::core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); +::windows::imp::interface_hierarchy!(IMILBitmapEffectOutputConnector, ::windows::core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); impl ::core::cmp::PartialEq for IMILBitmapEffectOutputConnector { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -800,7 +800,7 @@ impl IMILBitmapEffectOutputConnectorImpl { (::windows::core::Vtable::vtable(self).RemoveBackLink)(::windows::core::Vtable::as_raw(self), pconnection.into().abi()).ok() } } -::windows::core::interface_hierarchy!(IMILBitmapEffectOutputConnectorImpl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectOutputConnectorImpl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectOutputConnectorImpl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -878,7 +878,7 @@ impl IMILBitmapEffectPrimitive { (::windows::core::Vtable::vtable(self).GetAffineMatrix)(::windows::core::Vtable::as_raw(self), uiindex, pmatrix).ok() } } -::windows::core::interface_hierarchy!(IMILBitmapEffectPrimitive, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectPrimitive, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectPrimitive { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -946,7 +946,7 @@ impl IMILBitmapEffectPrimitiveImpl { (::windows::core::Vtable::vtable(self).IsVolatile)(::windows::core::Vtable::as_raw(self), uioutputindex, &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffectPrimitiveImpl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectPrimitiveImpl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectPrimitiveImpl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1017,7 +1017,7 @@ impl IMILBitmapEffectRenderContext { (::windows::core::Vtable::vtable(self).SetRegionOfInterest)(::windows::core::Vtable::as_raw(self), prect).ok() } } -::windows::core::interface_hierarchy!(IMILBitmapEffectRenderContext, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectRenderContext, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectRenderContext { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1079,7 +1079,7 @@ impl IMILBitmapEffectRenderContextImpl { (::windows::core::Vtable::vtable(self).UpdateOutputBounds)(::windows::core::Vtable::as_raw(self), prect).ok() } } -::windows::core::interface_hierarchy!(IMILBitmapEffectRenderContextImpl, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffectRenderContextImpl, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffectRenderContextImpl { fn eq(&self, other: &Self) -> bool { self.0 == other.0 @@ -1136,7 +1136,7 @@ impl IMILBitmapEffects { (::windows::core::Vtable::vtable(self).Count)(::windows::core::Vtable::as_raw(self), &mut result__).from_abi(result__) } } -::windows::core::interface_hierarchy!(IMILBitmapEffects, ::windows::core::IUnknown); +::windows::imp::interface_hierarchy!(IMILBitmapEffects, ::windows::core::IUnknown); impl ::core::cmp::PartialEq for IMILBitmapEffects { fn eq(&self, other: &Self) -> bool { self.0 == other.0 diff --git a/crates/libs/windows/src/core/agile_reference.rs b/crates/libs/windows/src/core/agile_reference.rs index c32266d0e2..0255b2be37 100644 --- a/crates/libs/windows/src/core/agile_reference.rs +++ b/crates/libs/windows/src/core/agile_reference.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::*; +use imp::*; use std::marker::PhantomData; /// A type representing an agile reference to a COM/WinRT object. diff --git a/crates/libs/windows/src/core/array.rs b/crates/libs/windows/src/core/array.rs index 81474580ae..75536fb372 100644 --- a/crates/libs/windows/src/core/array.rs +++ b/crates/libs/windows/src/core/array.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::*; +use imp::*; /// A WinRT array stores elements contiguously in a heap-allocated buffer. pub struct Array> { diff --git a/crates/libs/windows/src/core/bindings.rs b/crates/libs/windows/src/core/bindings.rs deleted file mode 100644 index 6bcb5ab637..0000000000 --- a/crates/libs/windows/src/core/bindings.rs +++ /dev/null @@ -1,494 +0,0 @@ -use super::*; -use std::ffi::c_void; - -link!("kernel32.dll" "system" fn CreateEventW(attributes: *const c_void, manual_reset: i32, initial_state: i32, name: *const c_void) -> isize); -link!("kernel32.dll" "system" fn EncodePointer(ptr: *const c_void) -> *mut c_void); -link!("kernel32.dll" "system" fn FormatMessageW(flags: u32, source: *const c_void, code: u32, lang: u32, buffer: PWSTR, len: u32, args: *const *const i8) -> u32); -link!("kernel32.dll" "system" fn FreeLibrary(library: isize) -> i32); -link!("kernel32.dll" "system" fn GetLastError() -> u32); -link!("kernel32.dll" "system" fn GetProcAddress(library: isize, name: PCSTR) -> *const c_void); -link!("kernel32.dll" "system" fn GetProcessHeap() -> isize); -link!("kernel32.dll" "system" fn HeapAlloc(heap: isize, flags: u32, len: usize) -> *mut c_void); -link!("kernel32.dll" "system" fn HeapFree(heap: isize, flags: u32, ptr: *const c_void) -> i32); -link!("kernel32.dll" "system" fn LoadLibraryA(name: PCSTR) -> isize); -link!("kernel32.dll" "system" fn SetEvent(handle: isize) -> i32); -link!("kernel32.dll" "system" fn WaitForSingleObject(handle: isize, milliseconds: u32) -> u32); -link!("kernel32.dll""system" fn CloseHandle(handle: isize) -> i32); -link!("ole32.dll" "system" fn CoCreateGuid(guid: *mut GUID) -> HRESULT); -link!("ole32.dll" "system" fn CoTaskMemAlloc(len: usize) -> *mut c_void); -link!("ole32.dll" "system" fn CoTaskMemFree(ptr: *const c_void) -> ()); -link!("ole32.dll" "system" fn RoGetAgileReference(options: i32, iid: &GUID, object: *const c_void, reference: *mut *mut c_void) -> HRESULT); -link!("oleaut32.dll" "system" fn GetErrorInfo(reserved: u32, info: *mut *mut c_void) -> HRESULT); -link!("oleaut32.dll" "system" fn SetErrorInfo(reserved: u32, info: *const c_void) -> HRESULT); -link!("oleaut32.dll" "system" fn SysAllocStringLen(input: *const u16, len: u32) -> *const u16); -link!("oleaut32.dll" "system" fn SysFreeString(bstr: *const u16) -> ()); -link!("oleaut32.dll" "system" fn SysStringLen(bstr: *const u16) -> u32); - -pub const FORMAT_MESSAGE_ALLOCATE_BUFFER: u32 = 256; -pub const FORMAT_MESSAGE_FROM_SYSTEM: u32 = 4096; -pub const FORMAT_MESSAGE_IGNORE_INSERTS: u32 = 512; -pub const AGILEREFERENCE_DEFAULT: i32 = 0; - -pub const ERROR_NO_UNICODE_TRANSLATION: u32 = 1113u32; -pub const CLASS_E_CLASSNOTAVAILABLE: HRESULT = HRESULT(-2147221231i32); -pub const CO_E_NOTINITIALIZED: HRESULT = HRESULT(-2147221008i32); -pub const E_NOINTERFACE: HRESULT = HRESULT(-2147467262i32); -pub const E_OUTOFMEMORY: HRESULT = HRESULT(-2147024882i32); -pub const RPC_E_DISCONNECTED: HRESULT = HRESULT(-2147417848i32); -pub const JSCRIPT_E_CANTEXECUTE: HRESULT = HRESULT(-1996357631i32); -pub const S_OK: HRESULT = HRESULT(0i32); - -#[doc(hidden)] -#[repr(transparent)] -#[derive(Clone)] -pub struct IPropertyValueStatics(IUnknown); -unsafe impl Vtable for IPropertyValueStatics { - type Vtable = IPropertyValueStatics_Vtbl; -} -unsafe impl Interface for IPropertyValueStatics { - const IID: GUID = GUID::from_u128(0x629bdbc8_d932_4ff4_96b9_8d96c5c1e858); -} -#[repr(C)] -#[doc(hidden)] -pub struct IPropertyValueStatics_Vtbl { - pub base__: IInspectable_Vtbl, - pub CreateEmpty: unsafe extern "system" fn(this: *mut c_void, result__: *mut *mut c_void) -> HRESULT, - pub CreateUInt8: unsafe extern "system" fn(this: *mut c_void, value: u8, result__: *mut *mut c_void) -> HRESULT, - pub CreateInt16: unsafe extern "system" fn(this: *mut c_void, value: i16, result__: *mut *mut c_void) -> HRESULT, - pub CreateUInt16: unsafe extern "system" fn(this: *mut c_void, value: u16, result__: *mut *mut c_void) -> HRESULT, - pub CreateInt32: unsafe extern "system" fn(this: *mut c_void, value: i32, result__: *mut *mut c_void) -> HRESULT, - pub CreateUInt32: unsafe extern "system" fn(this: *mut c_void, value: u32, result__: *mut *mut c_void) -> HRESULT, - pub CreateInt64: unsafe extern "system" fn(this: *mut c_void, value: i64, result__: *mut *mut c_void) -> HRESULT, - pub CreateUInt64: unsafe extern "system" fn(this: *mut c_void, value: u64, result__: *mut *mut c_void) -> HRESULT, - pub CreateSingle: unsafe extern "system" fn(this: *mut c_void, value: f32, result__: *mut *mut c_void) -> HRESULT, - pub CreateDouble: unsafe extern "system" fn(this: *mut c_void, value: f64, result__: *mut *mut c_void) -> HRESULT, - pub CreateChar16: unsafe extern "system" fn(this: *mut c_void, value: u16, result__: *mut *mut c_void) -> HRESULT, - pub CreateBoolean: unsafe extern "system" fn(this: *mut c_void, value: bool, result__: *mut *mut c_void) -> HRESULT, - pub CreateString: unsafe extern "system" fn(this: *mut c_void, value: *mut c_void, result__: *mut *mut c_void) -> HRESULT, -} - -#[repr(transparent)] -pub struct IReference(IUnknown, std::marker::PhantomData) -where - T: RuntimeType + 'static; -impl IReference { - pub fn Value(&self) -> Result { - let this = self; - unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).Value)(Vtable::as_raw(this), &mut result__).from_abi(result__) - } - } -} -impl std::clone::Clone for IReference { - fn clone(&self) -> Self { - Self(self.0.clone(), std::marker::PhantomData::) - } -} -impl std::cmp::PartialEq for IReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for IReference {} -impl RuntimeType for IReference { - const SIGNATURE: ConstBuffer = { ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; -} - -unsafe impl Vtable for IReference { - type Vtable = IReference_Vtbl; -} -unsafe impl Interface for IReference { - const IID: GUID = GUID::from_signature(::SIGNATURE); -} -#[repr(C)] -#[doc(hidden)] -pub struct IReference_Vtbl -where - T: RuntimeType + 'static, -{ - pub base__: IInspectable_Vtbl, - pub Value: unsafe extern "system" fn(this: *mut c_void, result__: *mut >::Abi) -> HRESULT, - pub T: std::marker::PhantomData, -} - -#[repr(transparent)] -pub struct IStringable(IUnknown); -impl IStringable { - pub fn ToString(&self) -> Result { - let this = self; - unsafe { - let mut result__ = windows::core::zeroed::(); - (Vtable::vtable(this).ToString)(Vtable::as_raw(this), &mut result__).from_abi(result__) - } - } -} -impl std::clone::Clone for IStringable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for IStringable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for IStringable {} -impl RuntimeType for IStringable { - const SIGNATURE: ConstBuffer = ConstBuffer::from_slice(b"{96369f54-8eb6-48f0-abce-c1b211e627c3}"); -} - -unsafe impl Vtable for IStringable { - type Vtable = IStringable_Vtbl; -} -unsafe impl Interface for IStringable { - const IID: GUID = GUID::from_u128(0x96369f54_8eb6_48f0_abce_c1b211e627c3); -} -#[repr(C)] -#[doc(hidden)] -pub struct IStringable_Vtbl { - pub base__: IInspectable_Vtbl, - pub ToString: unsafe extern "system" fn(this: *mut c_void, result__: *mut std::mem::MaybeUninit) -> HRESULT, -} - -pub struct PropertyValue; -impl PropertyValue { - pub fn CreateUInt8(value: u8) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateUInt8)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateInt16(value: i16) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateInt16)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateUInt16(value: u16) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateUInt16)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateInt32(value: i32) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateInt32)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateUInt32(value: u32) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateUInt32)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateInt64(value: i64) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateInt64)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateUInt64(value: u64) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateUInt64)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateSingle(value: f32) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateSingle)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateDouble(value: f64) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateDouble)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateBoolean(value: bool) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateBoolean)(Vtable::as_raw(this), value, &mut result__).from_abi(result__) - }) - } - pub fn CreateString(value: &HSTRING) -> Result { - Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); - (Vtable::vtable(this).CreateString)(Vtable::as_raw(this), std::mem::transmute_copy(value), &mut result__).from_abi(result__) - }) - } - pub fn IPropertyValueStatics Result>(callback: F) -> Result { - static SHARED: FactoryCache = FactoryCache::new(); - SHARED.call(callback) - } -} -impl RuntimeName for PropertyValue { - const NAME: &'static str = "Windows.Foundation.PropertyValue"; -} - -#[repr(transparent)] -pub struct IAgileObject(IUnknown); -impl std::clone::Clone for IAgileObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for IAgileObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for IAgileObject {} -unsafe impl Vtable for IAgileObject { - type Vtable = IAgileObject_Vtbl; -} -unsafe impl Interface for IAgileObject { - const IID: GUID = GUID::from_u128(0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); -} -#[repr(C)] -#[doc(hidden)] -pub struct IAgileObject_Vtbl { - pub base__: IUnknown_Vtbl, -} - -#[repr(transparent)] -pub struct IErrorInfo(IUnknown); -impl IErrorInfo { - pub unsafe fn GetDescription(&self) -> Result { - let mut result__ = zeroed::(); - (Vtable::vtable(self).GetDescription)(Vtable::as_raw(self), result__.as_mut_ptr()).from_abi(result__) - } -} - -impl std::clone::Clone for IErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for IErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for IErrorInfo {} -unsafe impl Vtable for IErrorInfo { - type Vtable = IErrorInfo_Vtbl; -} -unsafe impl Interface for IErrorInfo { - const IID: GUID = GUID::from_u128(0x1cf2b120_547d_101b_8e65_08002b2bd119); -} -#[repr(C)] -#[doc(hidden)] -pub struct IErrorInfo_Vtbl { - pub base__: IUnknown_Vtbl, - pub GetGUID: unsafe extern "system" fn(this: *mut c_void, pguid: *mut GUID) -> HRESULT, - pub GetSource: unsafe extern "system" fn(this: *mut c_void, pbstrsource: *mut BSTR) -> HRESULT, - pub GetDescription: unsafe extern "system" fn(this: *mut c_void, pbstrdescription: *mut BSTR) -> HRESULT, - pub GetHelpFile: unsafe extern "system" fn(this: *mut c_void, pbstrhelpfile: *mut BSTR) -> HRESULT, - pub GetHelpContext: unsafe extern "system" fn(this: *mut c_void, pdwhelpcontext: *mut u32) -> HRESULT, -} - -#[repr(transparent)] -pub struct IAgileReference(pub(crate) IUnknown); -impl IAgileReference { - pub unsafe fn Resolve(&self) -> Result - where - T: Interface, - { - let mut result__ = std::ptr::null_mut(); - (Vtable::vtable(self).Resolve)(Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) - } -} - -impl std::clone::Clone for IAgileReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for IAgileReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for IAgileReference {} -unsafe impl Vtable for IAgileReference { - type Vtable = IAgileReference_Vtbl; -} -unsafe impl Interface for IAgileReference { - const IID: GUID = GUID::from_u128(0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); -} -#[repr(C)] -#[doc(hidden)] -pub struct IAgileReference_Vtbl { - pub base__: IUnknown_Vtbl, - pub Resolve: unsafe extern "system" fn(this: *mut c_void, riid: *const GUID, ppvobjectreference: *mut *mut c_void) -> HRESULT, -} - -#[repr(transparent)] -pub struct ILanguageExceptionErrorInfo(IUnknown); -impl std::clone::Clone for ILanguageExceptionErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for ILanguageExceptionErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for ILanguageExceptionErrorInfo {} -unsafe impl Vtable for ILanguageExceptionErrorInfo { - type Vtable = ILanguageExceptionErrorInfo_Vtbl; -} -unsafe impl Interface for ILanguageExceptionErrorInfo { - const IID: GUID = GUID::from_u128(0x04a2dbf3_df83_116c_0946_0812abf6e07d); -} -#[repr(C)] -#[doc(hidden)] -pub struct ILanguageExceptionErrorInfo_Vtbl { - pub base__: IUnknown_Vtbl, - pub GetLanguageException: unsafe extern "system" fn(this: *mut c_void, languageexception: *mut *mut c_void) -> HRESULT, -} - -#[repr(transparent)] -pub struct ILanguageExceptionErrorInfo2(IUnknown); -impl ILanguageExceptionErrorInfo2 { - pub unsafe fn CapturePropagationContext(&self, languageexception: P0) -> Result<()> - where - P0: std::convert::Into>, - { - (Vtable::vtable(self).CapturePropagationContext)(Vtable::as_raw(self), languageexception.into().abi()).ok() - } -} -impl std::clone::Clone for ILanguageExceptionErrorInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for ILanguageExceptionErrorInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for ILanguageExceptionErrorInfo2 {} -unsafe impl Vtable for ILanguageExceptionErrorInfo2 { - type Vtable = ILanguageExceptionErrorInfo2_Vtbl; -} -unsafe impl Interface for ILanguageExceptionErrorInfo2 { - const IID: GUID = GUID::from_u128(0x5746e5c4_5b97_424c_b620_2822915734dd); -} -#[repr(C)] -#[doc(hidden)] -pub struct ILanguageExceptionErrorInfo2_Vtbl { - pub base__: ILanguageExceptionErrorInfo_Vtbl, - pub GetPreviousLanguageExceptionErrorInfo: unsafe extern "system" fn(this: *mut c_void, previouslanguageexceptionerrorinfo: *mut *mut c_void) -> HRESULT, - pub CapturePropagationContext: unsafe extern "system" fn(this: *mut c_void, languageexception: *mut c_void) -> HRESULT, - pub GetPropagationContextHead: unsafe extern "system" fn(this: *mut c_void, propagatedlanguageexceptionerrorinfohead: *mut *mut c_void) -> HRESULT, -} - -#[repr(transparent)] -pub struct IRestrictedErrorInfo(IUnknown); -impl IRestrictedErrorInfo { - pub unsafe fn GetErrorDetails(&self, description: &mut BSTR, error: &mut HRESULT, restricteddescription: &mut BSTR, capabilitysid: &mut BSTR) -> Result<()> { - (Vtable::vtable(self).GetErrorDetails)(Vtable::as_raw(self), description as *mut _, error as *mut _, restricteddescription as *mut _, capabilitysid as *mut _).ok() - } - pub unsafe fn GetReference(&self) -> Result { - let mut result__ = zeroed::(); - (Vtable::vtable(self).GetReference)(Vtable::as_raw(self), &mut result__).from_abi(result__) - } -} -impl std::clone::Clone for IRestrictedErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for IRestrictedErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for IRestrictedErrorInfo {} -unsafe impl std::marker::Send for IRestrictedErrorInfo {} -unsafe impl std::marker::Sync for IRestrictedErrorInfo {} -unsafe impl Vtable for IRestrictedErrorInfo { - type Vtable = IRestrictedErrorInfo_Vtbl; -} -unsafe impl Interface for IRestrictedErrorInfo { - const IID: GUID = GUID::from_u128(0x82ba7092_4c88_427d_a7bc_16dd93feb67e); -} -#[repr(C)] -#[doc(hidden)] -pub struct IRestrictedErrorInfo_Vtbl { - pub base__: IUnknown_Vtbl, - pub GetErrorDetails: unsafe extern "system" fn(this: *mut c_void, description: *mut BSTR, error: *mut HRESULT, restricteddescription: *mut BSTR, capabilitysid: *mut BSTR) -> HRESULT, - pub GetReference: unsafe extern "system" fn(this: *mut c_void, reference: *mut std::mem::MaybeUninit) -> HRESULT, -} - -#[repr(transparent)] -pub struct IWeakReference(IUnknown); -impl IWeakReference { - pub unsafe fn Resolve(&self) -> Result - where - T: Interface, - { - let mut result__ = std::ptr::null_mut(); - (Vtable::vtable(self).Resolve)(Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) - } -} -impl std::clone::Clone for IWeakReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for IWeakReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for IWeakReference {} -unsafe impl Vtable for IWeakReference { - type Vtable = IWeakReference_Vtbl; -} -unsafe impl Interface for IWeakReference { - const IID: GUID = GUID::from_u128(0x00000037_0000_0000_c000_000000000046); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWeakReference_Vtbl { - pub base__: IUnknown_Vtbl, - pub Resolve: unsafe extern "system" fn(this: *mut c_void, riid: *const GUID, objectreference: *mut *mut c_void) -> HRESULT, -} - -#[repr(transparent)] -pub struct IWeakReferenceSource(IUnknown); -impl IWeakReferenceSource { - pub unsafe fn GetWeakReference(&self) -> Result { - let mut result__ = std::ptr::null_mut(); - (Vtable::vtable(self).GetWeakReference)(Vtable::as_raw(self), &mut result__).from_abi(result__) - } -} -impl std::clone::Clone for IWeakReferenceSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -impl std::cmp::PartialEq for IWeakReferenceSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl std::cmp::Eq for IWeakReferenceSource {} -unsafe impl Vtable for IWeakReferenceSource { - type Vtable = IWeakReferenceSource_Vtbl; -} -unsafe impl Interface for IWeakReferenceSource { - const IID: GUID = GUID::from_u128(0x00000038_0000_0000_c000_000000000046); -} -#[repr(C)] -#[doc(hidden)] -pub struct IWeakReferenceSource_Vtbl { - pub base__: IUnknown_Vtbl, - pub GetWeakReference: unsafe extern "system" fn(this: *mut c_void, weakreference: *mut *mut c_void) -> HRESULT, -} diff --git a/crates/libs/windows/src/core/error.rs b/crates/libs/windows/src/core/error.rs index 8a3a98a274..48a4b4b97d 100644 --- a/crates/libs/windows/src/core/error.rs +++ b/crates/libs/windows/src/core/error.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::*; +use imp::*; /// An error object consists of both an error code as well as detailed error information for debugging. #[derive(Clone, PartialEq, Eq)] @@ -152,5 +152,5 @@ type RoOriginateError = extern "system" fn(code: HRESULT, message: *mut std::ffi fn GetErrorInfo() -> Result { let mut result = std::ptr::null_mut(); - unsafe { bindings::GetErrorInfo(0, &mut result).from_abi(result) } + unsafe { imp::GetErrorInfo(0, &mut result).from_abi(result) } } diff --git a/crates/libs/windows/src/core/event.rs b/crates/libs/windows/src/core/event.rs index a3b26f33e7..24007a4c59 100644 --- a/crates/libs/windows/src/core/event.rs +++ b/crates/libs/windows/src/core/event.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::*; +use imp::*; use std::sync::*; /// A type that you can use to declare and implement an event of a specified delegate type. diff --git a/crates/libs/windows/src/core/generic_factory.rs b/crates/libs/windows/src/core/generic_factory.rs deleted file mode 100644 index bb55666c65..0000000000 --- a/crates/libs/windows/src/core/generic_factory.rs +++ /dev/null @@ -1,30 +0,0 @@ -use super::*; - -// A streamlined version of the IActivationFactory interface used by WinRT class factories used internally by the windows crate -// to simplify code generation. Components should implement the `IActivationFactory` interface published by the windows crate. -#[repr(transparent)] -#[derive(Clone, PartialEq, Eq)] -pub struct IGenericFactory(IUnknown); - -impl IGenericFactory { - pub fn ActivateInstance(&self) -> Result { - unsafe { - let mut result__ = zeroed::(); - (Vtable::vtable(self).ActivateInstance)(std::mem::transmute_copy(self), &mut result__ as *mut _ as *mut _).from_abi::(result__)?.cast() - } - } -} - -#[repr(C)] -pub struct IGenericFactory_Vtbl { - pub base__: IInspectable_Vtbl, - pub ActivateInstance: unsafe extern "system" fn(this: *mut std::ffi::c_void, instance: *mut *mut std::ffi::c_void) -> HRESULT, -} - -unsafe impl Vtable for IGenericFactory { - type Vtable = IGenericFactory_Vtbl; -} - -unsafe impl Interface for IGenericFactory { - const IID: GUID = GUID::from_u128(0x00000035_0000_0000_c000_000000000046); -} diff --git a/crates/libs/windows/src/core/guid.rs b/crates/libs/windows/src/core/guid.rs index 4d5c58822e..56480b228b 100644 --- a/crates/libs/windows/src/core/guid.rs +++ b/crates/libs/windows/src/core/guid.rs @@ -1,7 +1,7 @@ #![allow(clippy::many_single_char_names)] use super::*; -use bindings::*; +use imp::*; /// A globally unique identifier ([GUID](https://docs.microsoft.com/en-us/windows/win32/api/guiddef/ns-guiddef-guid)) /// used to identify COM and WinRT interfaces. @@ -42,8 +42,8 @@ impl GUID { } /// Creates a `GUID` for a "generic" WinRT type. - pub const fn from_signature(signature: ConstBuffer) -> Self { - let data = ConstBuffer::from_slice(&[0x11, 0xf4, 0x7a, 0xd5, 0x7b, 0x73, 0x42, 0xc0, 0xab, 0xae, 0x87, 0x8b, 0x1e, 0x16, 0xad, 0xee]); + pub const fn from_signature(signature: imp::ConstBuffer) -> Self { + let data = imp::ConstBuffer::from_slice(&[0x11, 0xf4, 0x7a, 0xd5, 0x7b, 0x73, 0x42, 0xc0, 0xab, 0xae, 0x87, 0x8b, 0x1e, 0x16, 0xad, 0xee]); let data = data.push_other(signature); @@ -60,7 +60,7 @@ impl GUID { } impl RuntimeType for GUID { - const SIGNATURE: ConstBuffer = ConstBuffer::from_slice(b"g16"); + const SIGNATURE: imp::ConstBuffer = imp::ConstBuffer::from_slice(b"g16"); } impl TypeKind for GUID { diff --git a/crates/libs/windows/src/core/hresult.rs b/crates/libs/windows/src/core/hresult.rs index 93b432aeb2..f5a5ed79b8 100644 --- a/crates/libs/windows/src/core/hresult.rs +++ b/crates/libs/windows/src/core/hresult.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::*; +use imp::*; /// An error code value returned by most COM functions. #[repr(transparent)] @@ -99,7 +99,7 @@ impl HRESULT { } impl RuntimeType for HRESULT { - const SIGNATURE: ConstBuffer = ConstBuffer::from_slice(b"struct(Windows.Foundation.HResult;i32)"); + const SIGNATURE: imp::ConstBuffer = imp::ConstBuffer::from_slice(b"struct(Windows.Foundation.HResult;i32)"); } impl TypeKind for HRESULT { diff --git a/crates/libs/windows/src/core/inspectable.rs b/crates/libs/windows/src/core/inspectable.rs index 07f283d065..b8513786ef 100644 --- a/crates/libs/windows/src/core/inspectable.rs +++ b/crates/libs/windows/src/core/inspectable.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::*; +use imp::*; /// A WinRT object that may be used as a polymorphic stand-in for any WinRT class, interface, or boxed value. /// [`IInspectable`] represents the @@ -38,7 +38,7 @@ unsafe impl Interface for IInspectable { } impl RuntimeType for IInspectable { - const SIGNATURE: ConstBuffer = ConstBuffer::from_slice(b"cinterface(IInspectable)"); + const SIGNATURE: imp::ConstBuffer = imp::ConstBuffer::from_slice(b"cinterface(IInspectable)"); } impl RuntimeName for IInspectable {} diff --git a/crates/libs/windows/src/core/interface.rs b/crates/libs/windows/src/core/interface.rs index 424a0101e5..1ed220834b 100644 --- a/crates/libs/windows/src/core/interface.rs +++ b/crates/libs/windows/src/core/interface.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::IWeakReferenceSource; +use imp::IWeakReferenceSource; /// Provides low-level access to a COM interface. /// diff --git a/crates/libs/windows/src/core/mod.rs b/crates/libs/windows/src/core/mod.rs index c7b17f6882..ede9eeecd2 100644 --- a/crates/libs/windows/src/core/mod.rs +++ b/crates/libs/windows/src/core/mod.rs @@ -1,73 +1,47 @@ mod agile_reference; mod array; mod as_impl; -pub(crate) mod bindings; -mod delay_load; mod error; mod event; -mod factory_cache; -mod generic_factory; mod guid; -mod heap; mod hresult; mod inspectable; mod interface; mod manually_drop; mod param; -mod ref_count; mod runtime_name; mod runtime_type; mod scoped_interface; -mod sha1; mod strings; mod r#type; mod unknown; mod vtable; -mod waiter; mod weak; -mod weak_ref_count; +use super::*; pub use agile_reference::*; pub use array::*; -#[doc(hidden)] pub use as_impl::*; -pub use delay_load::*; pub use error::*; pub use event::*; -pub use factory_cache::*; -#[doc(hidden)] -pub use generic_factory::*; pub use guid::*; -pub(crate) use heap::*; pub use hresult::*; pub use inspectable::*; pub use interface::*; pub use manually_drop::*; pub use param::*; pub use r#type::*; -#[doc(hidden)] -pub use ref_count::*; -#[doc(hidden)] pub use runtime_name::*; pub use runtime_type::*; pub use scoped_interface::*; -#[doc(hidden)] -pub use sha1::*; pub use strings::*; pub use unknown::*; pub use vtable::*; -#[doc(hidden)] -pub use waiter::*; pub use weak::*; -#[doc(hidden)] -pub use weak_ref_count::*; /// A specialized [`Result`] type that provides Windows error information. pub type Result = std::result::Result; -#[doc(hidden)] -pub use bindings::IAgileObject; - #[doc(hidden)] #[cfg(feature = "implement")] pub use windows_implement::implement; @@ -76,113 +50,8 @@ pub use windows_implement::implement; #[cfg(feature = "implement")] pub use windows_interface::interface; -#[doc(hidden)] -pub extern crate alloc; - -fn wide_trim_end(mut wide: &[u16]) -> &[u16] { - while let Some(last) = wide.last() { - match last { - 32 | 9..=13 => wide = &wide[..wide.len() - 1], - _ => break, - } - } - wide -} - -#[doc(hidden)] -#[macro_export] -macro_rules! interface_hierarchy { - ($child:ty, $parent:ty) => { - impl ::std::convert::From<$child> for $parent { - fn from(value: $child) -> Self { - unsafe { ::std::mem::transmute(value) } - } - } - impl ::std::convert::From<&$child> for &$parent { - fn from(value: &$child) -> Self { - unsafe { ::std::mem::transmute(value) } - } - } - impl ::std::convert::From<&$child> for $parent { - fn from(value: &$child) -> Self { - unsafe { ::std::mem::transmute(::std::clone::Clone::clone(value)) } - } - } - }; - ($child:ty, $first:ty, $($rest:ty),+) => { - $crate::core::interface_hierarchy!($child, $first); - $crate::core::interface_hierarchy!($child, $($rest),+); - }; -} - -#[doc(hidden)] -pub use interface_hierarchy; - -#[cfg(all(windows_raw_dylib, target_arch = "x86"))] -#[macro_export] -#[doc(hidden)] -macro_rules! link { - ($library:literal $abi:literal fn $name:ident($($arg:ident: $argty:ty),*)->$ret:ty) => ( - #[link(name = $library, kind = "raw-dylib", modifiers = "+verbatim", import_name_type = "undecorated")] - extern $abi { - pub fn $name($($arg: $argty),*) -> $ret; - } - ) -} - -#[cfg(all(windows_raw_dylib, not(target_arch = "x86")))] -#[macro_export] -#[doc(hidden)] -macro_rules! link { - ($library:literal $abi:literal fn $name:ident($($arg:ident: $argty:ty),*)->$ret:ty) => ( - #[link(name = $library, kind = "raw-dylib", modifiers = "+verbatim")] - extern "system" { - pub fn $name($($arg: $argty),*) -> $ret; - } - ) -} - -#[cfg(all(windows, not(windows_raw_dylib)))] -#[macro_export] -#[doc(hidden)] -macro_rules! link { - ($library:literal $abi:literal fn $name:ident($($arg:ident: $argty:ty),*)->$ret:ty) => ( - #[link(name = "windows")] - extern $abi { - pub fn $name($($arg: $argty),*) -> $ret; - } - ) -} - -#[cfg(all(not(windows), not(windows_raw_dylib)))] -#[macro_export] -#[doc(hidden)] -macro_rules! link { - ($library:literal $abi:literal fn $name:ident($($arg:ident: $argty:ty),*)->$ret:ty) => ( - extern $abi { - pub fn $name($($arg: $argty),*) -> $ret; - } - ) -} - -#[doc(hidden)] -pub use crate::link; - -// This is a workaround since 1.48 does not include `bool::then_some`. -fn then_some(value: bool, t: T) -> Option { - if value { - Some(t) - } else { - None - } -} - -// This is a workaround since 1.48 does not include `bool::then`. -#[doc(hidden)] -pub fn then T>(value: bool, f: F) -> Option { - if value { - Some(f()) - } else { - None - } +/// Attempts to load the factory object for the given WinRT class. +/// This can be used to access COM interfaces implemented on a Windows Runtime class factory. +pub fn factory() -> Result { + imp::factory::() } diff --git a/crates/libs/windows/src/core/runtime_type.rs b/crates/libs/windows/src/core/runtime_type.rs index 7e907b4756..7448915240 100644 --- a/crates/libs/windows/src/core/runtime_type.rs +++ b/crates/libs/windows/src/core/runtime_type.rs @@ -1,14 +1,15 @@ use super::*; pub trait RuntimeType: Type { - const SIGNATURE: ConstBuffer; + // TODO: hidden? + const SIGNATURE: imp::ConstBuffer; } macro_rules! primitives { ($(($t:ty, $s:literal)),+) => { $( impl RuntimeType for $t { - const SIGNATURE: ConstBuffer = ConstBuffer::from_slice($s); + const SIGNATURE: imp::ConstBuffer = imp::ConstBuffer::from_slice($s); } )* }; diff --git a/crates/libs/windows/src/core/strings/bstr.rs b/crates/libs/windows/src/core/strings/bstr.rs index e70077d87f..d371fa63d7 100644 --- a/crates/libs/windows/src/core/strings/bstr.rs +++ b/crates/libs/windows/src/core/strings/bstr.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::*; +use imp::*; #[repr(transparent)] pub struct BSTR(*const u16); @@ -59,32 +59,32 @@ impl std::clone::Clone for BSTR { } impl std::convert::From<&str> for BSTR { fn from(value: &str) -> Self { - let value: windows::core::alloc::vec::Vec = value.encode_utf16().collect(); + let value: std::vec::Vec = value.encode_utf16().collect(); Self::from_wide(&value).unwrap() } } -impl std::convert::From for BSTR { - fn from(value: windows::core::alloc::string::String) -> Self { +impl std::convert::From for BSTR { + fn from(value: std::string::String) -> Self { value.as_str().into() } } -impl std::convert::From<&windows::core::alloc::string::String> for BSTR { - fn from(value: &windows::core::alloc::string::String) -> Self { +impl std::convert::From<&std::string::String> for BSTR { + fn from(value: &std::string::String) -> Self { value.as_str().into() } } -impl<'a> std::convert::TryFrom<&'a BSTR> for windows::core::alloc::string::String { - type Error = windows::core::alloc::string::FromUtf16Error; +impl<'a> std::convert::TryFrom<&'a BSTR> for std::string::String { + type Error = std::string::FromUtf16Error; fn try_from(value: &BSTR) -> std::result::Result { - windows::core::alloc::string::String::from_utf16(value.as_wide()) + std::string::String::from_utf16(value.as_wide()) } } -impl std::convert::TryFrom for windows::core::alloc::string::String { - type Error = windows::core::alloc::string::FromUtf16Error; +impl std::convert::TryFrom for std::string::String { + type Error = std::string::FromUtf16Error; fn try_from(value: BSTR) -> std::result::Result { - windows::core::alloc::string::String::try_from(&value) + std::string::String::try_from(&value) } } impl std::default::Default for BSTR { diff --git a/crates/libs/windows/src/core/strings/hstring.rs b/crates/libs/windows/src/core/strings/hstring.rs index 7aa0bf4004..0c7fa212cc 100644 --- a/crates/libs/windows/src/core/strings/hstring.rs +++ b/crates/libs/windows/src/core/strings/hstring.rs @@ -49,8 +49,8 @@ impl HSTRING { } /// Get the contents of this `HSTRING` as a String lossily. - pub fn to_string_lossy(&self) -> alloc::string::String { - alloc::string::String::from_utf16_lossy(self.as_wide()) + pub fn to_string_lossy(&self) -> std::string::String { + std::string::String::from_utf16_lossy(self.as_wide()) } /// Get the contents of this `HSTRING` as a OsString. @@ -93,7 +93,7 @@ impl HSTRING { } impl RuntimeType for HSTRING { - const SIGNATURE: ConstBuffer = ConstBuffer::from_slice(b"string"); + const SIGNATURE: imp::ConstBuffer = imp::ConstBuffer::from_slice(b"string"); } impl TypeKind for HSTRING { @@ -128,7 +128,7 @@ impl Drop for HSTRING { unsafe { let header = header.as_ref(); if header.flags & REFERENCE_FLAG == 0 && header.count.release() == 0 { - heap_free(header as *const _ as *mut _); + imp::heap_free(header as *const _ as *mut _); } } } @@ -156,14 +156,14 @@ impl std::convert::From<&str> for HSTRING { } } -impl std::convert::From for HSTRING { - fn from(value: alloc::string::String) -> Self { +impl std::convert::From for HSTRING { + fn from(value: std::string::String) -> Self { value.as_str().into() } } -impl std::convert::From<&alloc::string::String> for HSTRING { - fn from(value: &alloc::string::String) -> Self { +impl std::convert::From<&std::string::String> for HSTRING { + fn from(value: &std::string::String) -> Self { value.as_str().into() } } @@ -202,20 +202,20 @@ impl PartialEq for HSTRING { } } -impl PartialEq for HSTRING { - fn eq(&self, other: &alloc::string::String) -> bool { +impl PartialEq for HSTRING { + fn eq(&self, other: &std::string::String) -> bool { *self == **other } } -impl PartialEq for &HSTRING { - fn eq(&self, other: &alloc::string::String) -> bool { +impl PartialEq for &HSTRING { + fn eq(&self, other: &std::string::String) -> bool { **self == **other } } -impl PartialEq<&alloc::string::String> for HSTRING { - fn eq(&self, other: &&alloc::string::String) -> bool { +impl PartialEq<&std::string::String> for HSTRING { + fn eq(&self, other: &&std::string::String) -> bool { *self == ***other } } @@ -256,19 +256,19 @@ impl PartialEq<&HSTRING> for str { } } -impl PartialEq for alloc::string::String { +impl PartialEq for std::string::String { fn eq(&self, other: &HSTRING) -> bool { *other == **self } } -impl PartialEq for &alloc::string::String { +impl PartialEq for &std::string::String { fn eq(&self, other: &HSTRING) -> bool { *other == ***self } } -impl PartialEq<&HSTRING> for alloc::string::String { +impl PartialEq<&HSTRING> for std::string::String { fn eq(&self, other: &&HSTRING) -> bool { **other == **self } @@ -358,19 +358,19 @@ impl PartialEq<&HSTRING> for std::ffi::OsString { } } -impl<'a> std::convert::TryFrom<&'a HSTRING> for alloc::string::String { - type Error = alloc::string::FromUtf16Error; +impl<'a> std::convert::TryFrom<&'a HSTRING> for std::string::String { + type Error = std::string::FromUtf16Error; fn try_from(hstring: &HSTRING) -> std::result::Result { - alloc::string::String::from_utf16(hstring.as_wide()) + std::string::String::from_utf16(hstring.as_wide()) } } -impl std::convert::TryFrom for alloc::string::String { - type Error = alloc::string::FromUtf16Error; +impl std::convert::TryFrom for std::string::String { + type Error = std::string::FromUtf16Error; fn try_from(hstring: HSTRING) -> std::result::Result { - alloc::string::String::try_from(&hstring) + std::string::String::try_from(&hstring) } } @@ -403,7 +403,7 @@ struct Header { _0: u32, _1: u32, data: *mut u16, - count: RefCount, + count: imp::RefCount, buffer_start: u16, } @@ -414,13 +414,13 @@ impl Header { // The space for the terminating null character is already accounted for inside of `Header`. let alloc_size = std::mem::size_of::
() + 2 * len as usize; - let header = heap_alloc(alloc_size)? as *mut Header; + let header = imp::heap_alloc(alloc_size)? as *mut Header; // SAFETY: uses `std::ptr::write` (since `header` is unintialized). `Header` is safe to be all zeros. unsafe { header.write(std::mem::MaybeUninit::
::zeroed().assume_init()); (*header).len = len; - (*header).count = RefCount::new(1); + (*header).count = imp::RefCount::new(1); (*header).data = &mut (*header).buffer_start; } Ok(header) diff --git a/crates/libs/windows/src/core/weak.rs b/crates/libs/windows/src/core/weak.rs index c2db44efe2..6338dfb47d 100644 --- a/crates/libs/windows/src/core/weak.rs +++ b/crates/libs/windows/src/core/weak.rs @@ -1,5 +1,5 @@ use super::*; -use bindings::*; +use imp::*; use std::marker::PhantomData; /// `Weak` holds a non-owning reference to an object. diff --git a/crates/libs/windows/src/imp/bindings.rs b/crates/libs/windows/src/imp/bindings.rs new file mode 100644 index 0000000000..ad1d3d4201 --- /dev/null +++ b/crates/libs/windows/src/imp/bindings.rs @@ -0,0 +1,498 @@ +use super::*; +use std::ffi::c_void; + +link!("kernel32.dll" "system" fn CreateEventW(attributes: *const c_void, manual_reset: i32, initial_state: i32, name: *const c_void) -> isize); +link!("kernel32.dll" "system" fn EncodePointer(ptr: *const c_void) -> *mut c_void); +link!("kernel32.dll" "system" fn FormatMessageW(flags: u32, source: *const c_void, code: u32, lang: u32, buffer: core::PWSTR, len: u32, args: *const *const i8) -> u32); +link!("kernel32.dll" "system" fn FreeLibrary(library: isize) -> i32); +link!("kernel32.dll" "system" fn GetLastError() -> u32); +link!("kernel32.dll" "system" fn GetProcAddress(library: isize, name: core::PCSTR) -> *const c_void); +link!("kernel32.dll" "system" fn GetProcessHeap() -> isize); +link!("kernel32.dll" "system" fn HeapAlloc(heap: isize, flags: u32, len: usize) -> *mut c_void); +link!("kernel32.dll" "system" fn HeapFree(heap: isize, flags: u32, ptr: *const c_void) -> i32); +link!("kernel32.dll" "system" fn LoadLibraryA(name: core::PCSTR) -> isize); +link!("kernel32.dll" "system" fn SetEvent(handle: isize) -> i32); +link!("kernel32.dll" "system" fn WaitForSingleObject(handle: isize, milliseconds: u32) -> u32); +link!("kernel32.dll""system" fn CloseHandle(handle: isize) -> i32); +link!("ole32.dll" "system" fn CoCreateGuid(guid: *mut core::GUID) -> core::HRESULT); +link!("ole32.dll" "system" fn CoTaskMemAlloc(len: usize) -> *mut c_void); +link!("ole32.dll" "system" fn CoTaskMemFree(ptr: *const c_void) -> ()); +link!("ole32.dll" "system" fn RoGetAgileReference(options: i32, iid: &core::GUID, object: *const c_void, reference: *mut *mut c_void) -> core::HRESULT); +link!("oleaut32.dll" "system" fn GetErrorInfo(reserved: u32, info: *mut *mut c_void) -> core::HRESULT); +link!("oleaut32.dll" "system" fn SetErrorInfo(reserved: u32, info: *const c_void) -> core::HRESULT); +link!("oleaut32.dll" "system" fn SysAllocStringLen(input: *const u16, len: u32) -> *const u16); +link!("oleaut32.dll" "system" fn SysFreeString(bstr: *const u16) -> ()); +link!("oleaut32.dll" "system" fn SysStringLen(bstr: *const u16) -> u32); + +pub const FORMAT_MESSAGE_ALLOCATE_BUFFER: u32 = 256; +pub const FORMAT_MESSAGE_FROM_SYSTEM: u32 = 4096; +pub const FORMAT_MESSAGE_IGNORE_INSERTS: u32 = 512; +pub const AGILEREFERENCE_DEFAULT: i32 = 0; + +pub const ERROR_NO_UNICODE_TRANSLATION: u32 = 1113u32; +pub const CLASS_E_CLASSNOTAVAILABLE: core::HRESULT = core::HRESULT(-2147221231i32); +pub const CO_E_NOTINITIALIZED: core::HRESULT = core::HRESULT(-2147221008i32); +pub const E_NOINTERFACE: core::HRESULT = core::HRESULT(-2147467262i32); +pub const E_OUTOFMEMORY: core::HRESULT = core::HRESULT(-2147024882i32); +pub const RPC_E_DISCONNECTED: core::HRESULT = core::HRESULT(-2147417848i32); +pub const JSCRIPT_E_CANTEXECUTE: core::HRESULT = core::HRESULT(-1996357631i32); +pub const S_OK: core::HRESULT = core::HRESULT(0i32); +// TODO: need a "windows::imp" for public/implementation details +pub const E_BOUNDS: core::HRESULT = core::HRESULT(-2147483637i32); + +// TODO: whatever depends on this needs to move to Windows.Foundation + +#[doc(hidden)] +#[repr(transparent)] +#[derive(Clone)] +pub struct IPropertyValueStatics(core::IUnknown); +unsafe impl core::Vtable for IPropertyValueStatics { + type Vtable = IPropertyValueStatics_Vtbl; +} +unsafe impl core::Interface for IPropertyValueStatics { + const IID: core::GUID = core::GUID::from_u128(0x629bdbc8_d932_4ff4_96b9_8d96c5c1e858); +} +#[repr(C)] +#[doc(hidden)] +pub struct IPropertyValueStatics_Vtbl { + pub base__: core::IInspectable_Vtbl, + pub CreateEmpty: unsafe extern "system" fn(this: *mut c_void, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateUInt8: unsafe extern "system" fn(this: *mut c_void, value: u8, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateInt16: unsafe extern "system" fn(this: *mut c_void, value: i16, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateUInt16: unsafe extern "system" fn(this: *mut c_void, value: u16, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateInt32: unsafe extern "system" fn(this: *mut c_void, value: i32, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateUInt32: unsafe extern "system" fn(this: *mut c_void, value: u32, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateInt64: unsafe extern "system" fn(this: *mut c_void, value: i64, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateUInt64: unsafe extern "system" fn(this: *mut c_void, value: u64, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateSingle: unsafe extern "system" fn(this: *mut c_void, value: f32, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateDouble: unsafe extern "system" fn(this: *mut c_void, value: f64, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateChar16: unsafe extern "system" fn(this: *mut c_void, value: u16, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateBoolean: unsafe extern "system" fn(this: *mut c_void, value: bool, result__: *mut *mut c_void) -> core::HRESULT, + pub CreateString: unsafe extern "system" fn(this: *mut c_void, value: *mut c_void, result__: *mut *mut c_void) -> core::HRESULT, +} + +#[repr(transparent)] +pub struct IReference(core::IUnknown, std::marker::PhantomData) +where + T: core::RuntimeType + 'static; +impl IReference { + pub fn Value(&self) -> core::Result { + let this = self; + unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).Value)(core::Vtable::as_raw(this), &mut result__).from_abi(result__) + } + } +} +impl std::clone::Clone for IReference { + fn clone(&self) -> Self { + Self(self.0.clone(), std::marker::PhantomData::) + } +} +impl std::cmp::PartialEq for IReference { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for IReference {} +impl core::RuntimeType for IReference { + const SIGNATURE: ConstBuffer = { ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; +} + +unsafe impl core::Vtable for IReference { + type Vtable = IReference_Vtbl; +} +unsafe impl core::Interface for IReference { + const IID: core::GUID = core::GUID::from_signature(::SIGNATURE); +} +#[repr(C)] +#[doc(hidden)] +pub struct IReference_Vtbl +where + T: core::RuntimeType + 'static, +{ + pub base__: core::IInspectable_Vtbl, + pub Value: unsafe extern "system" fn(this: *mut c_void, result__: *mut >::Abi) -> core::HRESULT, + pub T: std::marker::PhantomData, +} + +#[repr(transparent)] +pub struct IStringable(core::IUnknown); +impl IStringable { + pub fn ToString(&self) -> core::Result { + let this = self; + unsafe { + let mut result__ = windows::core::zeroed::(); + (core::Vtable::vtable(this).ToString)(core::Vtable::as_raw(this), &mut result__).from_abi(result__) + } + } +} +impl std::clone::Clone for IStringable { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for IStringable { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for IStringable {} +impl core::RuntimeType for IStringable { + const SIGNATURE: ConstBuffer = ConstBuffer::from_slice(b"{96369f54-8eb6-48f0-abce-c1b211e627c3}"); +} + +unsafe impl core::Vtable for IStringable { + type Vtable = IStringable_Vtbl; +} +unsafe impl core::Interface for IStringable { + const IID: core::GUID = core::GUID::from_u128(0x96369f54_8eb6_48f0_abce_c1b211e627c3); +} +#[repr(C)] +#[doc(hidden)] +pub struct IStringable_Vtbl { + pub base__: core::IInspectable_Vtbl, + pub ToString: unsafe extern "system" fn(this: *mut c_void, result__: *mut std::mem::MaybeUninit) -> core::HRESULT, +} + +pub struct PropertyValue; +impl PropertyValue { + pub fn CreateUInt8(value: u8) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateUInt8)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateInt16(value: i16) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateInt16)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateUInt16(value: u16) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateUInt16)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateInt32(value: i32) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateInt32)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateUInt32(value: u32) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateUInt32)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateInt64(value: i64) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateInt64)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateUInt64(value: u64) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateUInt64)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateSingle(value: f32) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateSingle)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateDouble(value: f64) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateDouble)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateBoolean(value: bool) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateBoolean)(core::Vtable::as_raw(this), value, &mut result__).from_abi(result__) + }) + } + pub fn CreateString(value: &core::HSTRING) -> core::Result { + Self::IPropertyValueStatics(|this| unsafe { + let mut result__ = std::mem::zeroed(); + (core::Vtable::vtable(this).CreateString)(core::Vtable::as_raw(this), std::mem::transmute_copy(value), &mut result__).from_abi(result__) + }) + } + pub fn IPropertyValueStatics core::Result>(callback: F) -> core::Result { + static SHARED: FactoryCache = FactoryCache::new(); + SHARED.call(callback) + } +} +impl core::RuntimeName for PropertyValue { + const NAME: &'static str = "Windows.Foundation.PropertyValue"; +} + +#[repr(transparent)] +pub struct IAgileObject(core::IUnknown); +impl std::clone::Clone for IAgileObject { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for IAgileObject { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for IAgileObject {} +unsafe impl core::Vtable for IAgileObject { + type Vtable = IAgileObject_Vtbl; +} +unsafe impl core::Interface for IAgileObject { + const IID: core::GUID = core::GUID::from_u128(0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); +} +#[repr(C)] +#[doc(hidden)] +pub struct IAgileObject_Vtbl { + pub base__: core::IUnknown_Vtbl, +} + +#[repr(transparent)] +pub struct IErrorInfo(core::IUnknown); +impl IErrorInfo { + pub unsafe fn GetDescription(&self) -> core::Result { + let mut result__ = core::zeroed::(); + (core::Vtable::vtable(self).GetDescription)(core::Vtable::as_raw(self), result__.as_mut_ptr()).from_abi(result__) + } +} + +impl std::clone::Clone for IErrorInfo { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for IErrorInfo { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for IErrorInfo {} +unsafe impl core::Vtable for IErrorInfo { + type Vtable = IErrorInfo_Vtbl; +} +unsafe impl core::Interface for IErrorInfo { + const IID: core::GUID = core::GUID::from_u128(0x1cf2b120_547d_101b_8e65_08002b2bd119); +} +#[repr(C)] +#[doc(hidden)] +pub struct IErrorInfo_Vtbl { + pub base__: core::IUnknown_Vtbl, + pub GetGUID: unsafe extern "system" fn(this: *mut c_void, pguid: *mut core::GUID) -> core::HRESULT, + pub GetSource: unsafe extern "system" fn(this: *mut c_void, pbstrsource: *mut core::BSTR) -> core::HRESULT, + pub GetDescription: unsafe extern "system" fn(this: *mut c_void, pbstrdescription: *mut core::BSTR) -> core::HRESULT, + pub GetHelpFile: unsafe extern "system" fn(this: *mut c_void, pbstrhelpfile: *mut core::BSTR) -> core::HRESULT, + pub GetHelpContext: unsafe extern "system" fn(this: *mut c_void, pdwhelpcontext: *mut u32) -> core::HRESULT, +} + +#[repr(transparent)] +pub struct IAgileReference(pub(crate) core::IUnknown); +impl IAgileReference { + pub unsafe fn Resolve(&self) -> core::Result + where + T: core::Interface, + { + let mut result__ = std::ptr::null_mut(); + (core::Vtable::vtable(self).Resolve)(core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) + } +} + +impl std::clone::Clone for IAgileReference { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for IAgileReference { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for IAgileReference {} +unsafe impl core::Vtable for IAgileReference { + type Vtable = IAgileReference_Vtbl; +} +unsafe impl core::Interface for IAgileReference { + const IID: core::GUID = core::GUID::from_u128(0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); +} +#[repr(C)] +#[doc(hidden)] +pub struct IAgileReference_Vtbl { + pub base__: core::IUnknown_Vtbl, + pub Resolve: unsafe extern "system" fn(this: *mut c_void, riid: *const core::GUID, ppvobjectreference: *mut *mut c_void) -> core::HRESULT, +} + +#[repr(transparent)] +pub struct ILanguageExceptionErrorInfo(core::IUnknown); +impl std::clone::Clone for ILanguageExceptionErrorInfo { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for ILanguageExceptionErrorInfo { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for ILanguageExceptionErrorInfo {} +unsafe impl core::Vtable for ILanguageExceptionErrorInfo { + type Vtable = ILanguageExceptionErrorInfo_Vtbl; +} +unsafe impl core::Interface for ILanguageExceptionErrorInfo { + const IID: core::GUID = core::GUID::from_u128(0x04a2dbf3_df83_116c_0946_0812abf6e07d); +} +#[repr(C)] +#[doc(hidden)] +pub struct ILanguageExceptionErrorInfo_Vtbl { + pub base__: core::IUnknown_Vtbl, + pub GetLanguageException: unsafe extern "system" fn(this: *mut c_void, languageexception: *mut *mut c_void) -> core::HRESULT, +} + +#[repr(transparent)] +pub struct ILanguageExceptionErrorInfo2(core::IUnknown); +impl ILanguageExceptionErrorInfo2 { + pub unsafe fn CapturePropagationContext(&self, languageexception: P0) -> core::Result<()> + where + P0: std::convert::Into>, + { + (core::Vtable::vtable(self).CapturePropagationContext)(core::Vtable::as_raw(self), languageexception.into().abi()).ok() + } +} +impl std::clone::Clone for ILanguageExceptionErrorInfo2 { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for ILanguageExceptionErrorInfo2 { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for ILanguageExceptionErrorInfo2 {} +unsafe impl core::Vtable for ILanguageExceptionErrorInfo2 { + type Vtable = ILanguageExceptionErrorInfo2_Vtbl; +} +unsafe impl core::Interface for ILanguageExceptionErrorInfo2 { + const IID: core::GUID = core::GUID::from_u128(0x5746e5c4_5b97_424c_b620_2822915734dd); +} +#[repr(C)] +#[doc(hidden)] +pub struct ILanguageExceptionErrorInfo2_Vtbl { + pub base__: ILanguageExceptionErrorInfo_Vtbl, + pub GetPreviousLanguageExceptionErrorInfo: unsafe extern "system" fn(this: *mut c_void, previouslanguageexceptionerrorinfo: *mut *mut c_void) -> core::HRESULT, + pub CapturePropagationContext: unsafe extern "system" fn(this: *mut c_void, languageexception: *mut c_void) -> core::HRESULT, + pub GetPropagationContextHead: unsafe extern "system" fn(this: *mut c_void, propagatedlanguageexceptionerrorinfohead: *mut *mut c_void) -> core::HRESULT, +} + +#[repr(transparent)] +pub struct IRestrictedErrorInfo(core::IUnknown); +impl IRestrictedErrorInfo { + pub unsafe fn GetErrorDetails(&self, description: &mut core::BSTR, error: &mut core::HRESULT, restricteddescription: &mut core::BSTR, capabilitysid: &mut core::BSTR) -> core::Result<()> { + (core::Vtable::vtable(self).GetErrorDetails)(core::Vtable::as_raw(self), description as *mut _, error as *mut _, restricteddescription as *mut _, capabilitysid as *mut _).ok() + } + pub unsafe fn GetReference(&self) -> core::Result { + let mut result__ = core::zeroed::(); + (core::Vtable::vtable(self).GetReference)(core::Vtable::as_raw(self), &mut result__).from_abi(result__) + } +} +impl std::clone::Clone for IRestrictedErrorInfo { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for IRestrictedErrorInfo { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for IRestrictedErrorInfo {} +unsafe impl std::marker::Send for IRestrictedErrorInfo {} +unsafe impl std::marker::Sync for IRestrictedErrorInfo {} +unsafe impl core::Vtable for IRestrictedErrorInfo { + type Vtable = IRestrictedErrorInfo_Vtbl; +} +unsafe impl core::Interface for IRestrictedErrorInfo { + const IID: core::GUID = core::GUID::from_u128(0x82ba7092_4c88_427d_a7bc_16dd93feb67e); +} +#[repr(C)] +#[doc(hidden)] +pub struct IRestrictedErrorInfo_Vtbl { + pub base__: core::IUnknown_Vtbl, + pub GetErrorDetails: unsafe extern "system" fn(this: *mut c_void, description: *mut core::BSTR, error: *mut core::HRESULT, restricteddescription: *mut core::BSTR, capabilitysid: *mut core::BSTR) -> core::HRESULT, + pub GetReference: unsafe extern "system" fn(this: *mut c_void, reference: *mut std::mem::MaybeUninit) -> core::HRESULT, +} + +#[repr(transparent)] +pub struct IWeakReference(core::IUnknown); +impl IWeakReference { + pub unsafe fn Resolve(&self) -> core::Result + where + T: core::Interface, + { + let mut result__ = std::ptr::null_mut(); + (core::Vtable::vtable(self).Resolve)(core::Vtable::as_raw(self), &::IID, &mut result__).from_abi(result__) + } +} +impl std::clone::Clone for IWeakReference { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for IWeakReference { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for IWeakReference {} +unsafe impl core::Vtable for IWeakReference { + type Vtable = IWeakReference_Vtbl; +} +unsafe impl core::Interface for IWeakReference { + const IID: core::GUID = core::GUID::from_u128(0x00000037_0000_0000_c000_000000000046); +} +#[repr(C)] +#[doc(hidden)] +pub struct IWeakReference_Vtbl { + pub base__: core::IUnknown_Vtbl, + pub Resolve: unsafe extern "system" fn(this: *mut c_void, riid: *const core::GUID, objectreference: *mut *mut c_void) -> core::HRESULT, +} + +#[repr(transparent)] +pub struct IWeakReferenceSource(core::IUnknown); +impl IWeakReferenceSource { + pub unsafe fn GetWeakReference(&self) -> core::Result { + let mut result__ = std::ptr::null_mut(); + (core::Vtable::vtable(self).GetWeakReference)(core::Vtable::as_raw(self), &mut result__).from_abi(result__) + } +} +impl std::clone::Clone for IWeakReferenceSource { + fn clone(&self) -> Self { + Self(self.0.clone()) + } +} +impl std::cmp::PartialEq for IWeakReferenceSource { + fn eq(&self, other: &Self) -> bool { + self.0 == other.0 + } +} +impl std::cmp::Eq for IWeakReferenceSource {} +unsafe impl core::Vtable for IWeakReferenceSource { + type Vtable = IWeakReferenceSource_Vtbl; +} +unsafe impl core::Interface for IWeakReferenceSource { + const IID: core::GUID = core::GUID::from_u128(0x00000038_0000_0000_c000_000000000046); +} +#[repr(C)] +#[doc(hidden)] +pub struct IWeakReferenceSource_Vtbl { + pub base__: core::IUnknown_Vtbl, + pub GetWeakReference: unsafe extern "system" fn(this: *mut c_void, weakreference: *mut *mut c_void) -> core::HRESULT, +} diff --git a/crates/libs/windows/src/core/delay_load.rs b/crates/libs/windows/src/imp/delay_load.rs similarity index 84% rename from crates/libs/windows/src/core/delay_load.rs rename to crates/libs/windows/src/imp/delay_load.rs index b223cbd1d2..055c38b8bb 100644 --- a/crates/libs/windows/src/core/delay_load.rs +++ b/crates/libs/windows/src/imp/delay_load.rs @@ -1,5 +1,4 @@ use super::*; -use bindings::*; /// Attempts to load a function from a given library. /// @@ -8,7 +7,7 @@ use bindings::*; /// # Safety /// /// * Both the library and function names must be valid null-terminated strings. -pub unsafe fn delay_load(library: PCSTR, function: PCSTR) -> Option { +pub unsafe fn delay_load(library: core::PCSTR, function: core::PCSTR) -> Option { let library = LoadLibraryA(library); if library == 0 { diff --git a/crates/libs/windows/src/core/factory_cache.rs b/crates/libs/windows/src/imp/factory_cache.rs similarity index 84% rename from crates/libs/windows/src/core/factory_cache.rs rename to crates/libs/windows/src/imp/factory_cache.rs index dd96933984..d293148d75 100644 --- a/crates/libs/windows/src/core/factory_cache.rs +++ b/crates/libs/windows/src/imp/factory_cache.rs @@ -1,7 +1,7 @@ use super::*; -use bindings::*; use std::marker::PhantomData; use std::sync::atomic::{AtomicPtr, Ordering}; +use windows::core::Interface; #[doc(hidden)] pub struct FactoryCache { @@ -16,8 +16,8 @@ impl FactoryCache { } } -impl FactoryCache { - pub fn call Result>(&self, callback: F) -> Result { +impl FactoryCache { + pub fn call core::Result>(&self, callback: F) -> core::Result { loop { // Attempt to load a previously cached factory pointer. let ptr = self.shared.load(Ordering::Relaxed); @@ -49,9 +49,9 @@ unsafe impl std::marker::Sync for FactoryCache {} /// Attempts to load the factory object for the given WinRT class. /// This can be used to access COM interfaces implemented on a Windows Runtime class factory. -pub fn factory() -> Result { +pub fn factory() -> core::Result { let mut factory: Option = None; - let name = HSTRING::from(C::NAME); + let name = core::HSTRING::from(C::NAME); let code = if let Some(function) = unsafe { delay_load::(s!("combase.dll"), s!("RoGetActivationFactory")) } { unsafe { @@ -82,7 +82,7 @@ pub fn factory() -> Result { // If not, first capture the error information from the failure above so that we // can ultimately return this error information if all else fails. - let original: Error = code.into(); + let original: core::Error = code.into(); // Now attempt to find the factory's implementation heuristically. if let Some(i) = search_path(C::NAME, |library| unsafe { get_activation_factory(library, &name) }) { @@ -100,7 +100,7 @@ pub fn factory() -> Result { /// 2. A.dll fn search_path(mut path: &str, mut callback: F) -> Option where - F: FnMut(PCSTR) -> Result, + F: FnMut(core::PCSTR) -> core::Result, { let suffix = b".dll\0"; let mut library = vec![0; path.len() + suffix.len()]; @@ -110,7 +110,7 @@ where library[..path.len()].copy_from_slice(path.as_bytes()); library[path.len()..].copy_from_slice(suffix); - if let Ok(r) = callback(PCSTR::from_raw(library.as_ptr())) { + if let Ok(r) = callback(core::PCSTR::from_raw(library.as_ptr())) { return Some(r); } } @@ -118,15 +118,15 @@ where None } -unsafe fn get_activation_factory(library: PCSTR, name: &HSTRING) -> Result { - let function = delay_load::(library, s!("DllGetActivationFactory")).ok_or_else(Error::from_win32)?; +unsafe fn get_activation_factory(library: core::PCSTR, name: &core::HSTRING) -> core::Result { + let function = delay_load::(library, s!("DllGetActivationFactory")).ok_or_else(core::Error::from_win32)?; let mut abi = std::ptr::null_mut(); function(std::mem::transmute_copy(name), &mut abi).from_abi(abi) } -type CoIncrementMTAUsage = extern "system" fn(cookie: *mut *mut std::ffi::c_void) -> HRESULT; -type RoGetActivationFactory = extern "system" fn(hstring: *mut std::ffi::c_void, interface: &GUID, result: *mut *mut std::ffi::c_void) -> HRESULT; -type DllGetActivationFactory = extern "system" fn(name: *mut std::ffi::c_void, factory: *mut *mut std::ffi::c_void) -> HRESULT; +type CoIncrementMTAUsage = extern "system" fn(cookie: *mut *mut std::ffi::c_void) -> core::HRESULT; +type RoGetActivationFactory = extern "system" fn(hstring: *mut std::ffi::c_void, interface: &core::GUID, result: *mut *mut std::ffi::c_void) -> core::HRESULT; +type DllGetActivationFactory = extern "system" fn(name: *mut std::ffi::c_void, factory: *mut *mut std::ffi::c_void) -> core::HRESULT; #[cfg(test)] mod tests { @@ -143,7 +143,7 @@ mod tests { if unsafe { library.as_bytes() } == &b"A.dll"[..] { Ok(42) } else { - Err(Error::OK) + Err(core::Error::OK) } }); assert!(matches!(end_result, Some(42))); @@ -153,7 +153,7 @@ mod tests { let mut results = Vec::new(); let end_result = search_path(path, |library| { results.push(unsafe { library.to_string().unwrap() }); - Result::<()>::Err(Error::OK) + core::Result::<()>::Err(core::Error::OK) }); assert!(matches!(end_result, None)); assert_eq!(results, vec!["A.B.dll", "A.dll"]); diff --git a/crates/libs/windows/src/imp/generic_factory.rs b/crates/libs/windows/src/imp/generic_factory.rs new file mode 100644 index 0000000000..83eb4ad329 --- /dev/null +++ b/crates/libs/windows/src/imp/generic_factory.rs @@ -0,0 +1,31 @@ +use super::*; +use windows::core::Interface; + +// A streamlined version of the IActivationFactory interface used by WinRT class factories used internally by the windows crate +// to simplify code generation. Components should implement the `IActivationFactory` interface published by the windows crate. +#[repr(transparent)] +#[derive(Clone, PartialEq, Eq)] +pub struct IGenericFactory(core::IUnknown); + +impl IGenericFactory { + pub fn ActivateInstance(&self) -> core::Result { + unsafe { + let mut result__ = core::zeroed::(); + (core::Vtable::vtable(self).ActivateInstance)(std::mem::transmute_copy(self), &mut result__ as *mut _ as *mut _).from_abi::(result__)?.cast() + } + } +} + +#[repr(C)] +pub struct IGenericFactory_Vtbl { + pub base__: core::IInspectable_Vtbl, + pub ActivateInstance: unsafe extern "system" fn(this: *mut std::ffi::c_void, instance: *mut *mut std::ffi::c_void) -> core::HRESULT, +} + +unsafe impl core::Vtable for IGenericFactory { + type Vtable = IGenericFactory_Vtbl; +} + +unsafe impl core::Interface for IGenericFactory { + const IID: core::GUID = core::GUID::from_u128(0x00000035_0000_0000_c000_000000000046); +} diff --git a/crates/libs/windows/src/core/heap.rs b/crates/libs/windows/src/imp/heap.rs similarity index 92% rename from crates/libs/windows/src/core/heap.rs rename to crates/libs/windows/src/imp/heap.rs index e0871d6431..fe7980d7d9 100644 --- a/crates/libs/windows/src/core/heap.rs +++ b/crates/libs/windows/src/imp/heap.rs @@ -1,5 +1,4 @@ use super::*; -use bindings::*; /// Allocate memory of size `bytes` using `HeapAlloc`. /// @@ -7,7 +6,7 @@ use bindings::*; /// /// This function will fail in OOM situations, if the heap is otherwise corrupt, /// or if getting a handle to the process heap fails. -pub fn heap_alloc(bytes: usize) -> Result<*mut std::ffi::c_void> { +pub fn heap_alloc(bytes: usize) -> core::Result<*mut std::ffi::c_void> { let ptr = unsafe { HeapAlloc(GetProcessHeap(), 0, bytes) }; if ptr.is_null() { diff --git a/crates/libs/windows/src/imp/mod.rs b/crates/libs/windows/src/imp/mod.rs new file mode 100644 index 0000000000..365249974f --- /dev/null +++ b/crates/libs/windows/src/imp/mod.rs @@ -0,0 +1,128 @@ +use super::*; + +mod bindings; +mod delay_load; +mod factory_cache; +mod generic_factory; +mod heap; +mod ref_count; +mod sha1; +mod waiter; +mod weak_ref_count; + +pub use bindings::*; +pub use delay_load::*; +pub use factory_cache::*; +pub use generic_factory::*; +pub use heap::*; +pub use ref_count::*; +pub use sha1::*; +pub use waiter::*; +pub use weak_ref_count::*; + +// This is a workaround since 1.48 does not include `bool::then_some`. +pub fn then_some(value: bool, t: T) -> Option { + if value { + Some(t) + } else { + None + } +} + +// This is a workaround since 1.48 does not include `bool::then`. +pub fn then T>(value: bool, f: F) -> Option { + if value { + Some(f()) + } else { + None + } +} + +pub fn wide_trim_end(mut wide: &[u16]) -> &[u16] { + while let Some(last) = wide.last() { + match last { + 32 | 9..=13 => wide = &wide[..wide.len() - 1], + _ => break, + } + } + wide +} + +#[doc(hidden)] +#[macro_export] +macro_rules! interface_hierarchy { + ($child:ty, $parent:ty) => { + impl ::std::convert::From<$child> for $parent { + fn from(value: $child) -> Self { + unsafe { ::std::mem::transmute(value) } + } + } + impl ::std::convert::From<&$child> for &$parent { + fn from(value: &$child) -> Self { + unsafe { ::std::mem::transmute(value) } + } + } + impl ::std::convert::From<&$child> for $parent { + fn from(value: &$child) -> Self { + unsafe { ::std::mem::transmute(::std::clone::Clone::clone(value)) } + } + } + }; + ($child:ty, $first:ty, $($rest:ty),+) => { + $crate::imp::interface_hierarchy!($child, $first); + $crate::imp::interface_hierarchy!($child, $($rest),+); + }; +} + +#[doc(hidden)] +pub use interface_hierarchy; + +#[cfg(all(windows_raw_dylib, target_arch = "x86"))] +#[macro_export] +#[doc(hidden)] +macro_rules! link { + ($library:literal $abi:literal fn $name:ident($($arg:ident: $argty:ty),*)->$ret:ty) => ( + #[link(name = $library, kind = "raw-dylib", modifiers = "+verbatim", import_name_type = "undecorated")] + extern $abi { + pub fn $name($($arg: $argty),*) -> $ret; + } + ) +} + +#[cfg(all(windows_raw_dylib, not(target_arch = "x86")))] +#[macro_export] +#[doc(hidden)] +macro_rules! link { + ($library:literal $abi:literal fn $name:ident($($arg:ident: $argty:ty),*)->$ret:ty) => ( + #[link(name = $library, kind = "raw-dylib", modifiers = "+verbatim")] + extern "system" { + pub fn $name($($arg: $argty),*) -> $ret; + } + ) +} + +#[cfg(all(windows, not(windows_raw_dylib)))] +#[macro_export] +#[doc(hidden)] +macro_rules! link { + ($library:literal $abi:literal fn $name:ident($($arg:ident: $argty:ty),*)->$ret:ty) => ( + #[link(name = "windows")] + extern $abi { + pub fn $name($($arg: $argty),*) -> $ret; + } + ) +} + +#[cfg(all(not(windows), not(windows_raw_dylib)))] +#[macro_export] +#[doc(hidden)] +macro_rules! link { + ($library:literal $abi:literal fn $name:ident($($arg:ident: $argty:ty),*)->$ret:ty) => ( + extern $abi { + pub fn $name($($arg: $argty),*) -> $ret; + } + ) +} + +#[doc(hidden)] +pub use crate::link; diff --git a/crates/libs/windows/src/core/ref_count.rs b/crates/libs/windows/src/imp/ref_count.rs similarity index 100% rename from crates/libs/windows/src/core/ref_count.rs rename to crates/libs/windows/src/imp/ref_count.rs diff --git a/crates/libs/windows/src/core/sha1.rs b/crates/libs/windows/src/imp/sha1.rs similarity index 100% rename from crates/libs/windows/src/core/sha1.rs rename to crates/libs/windows/src/imp/sha1.rs diff --git a/crates/libs/windows/src/core/waiter.rs b/crates/libs/windows/src/imp/waiter.rs similarity index 90% rename from crates/libs/windows/src/core/waiter.rs rename to crates/libs/windows/src/imp/waiter.rs index 1c8564c1fb..bcd23ef862 100644 --- a/crates/libs/windows/src/core/waiter.rs +++ b/crates/libs/windows/src/imp/waiter.rs @@ -1,16 +1,15 @@ use super::*; -use bindings::*; #[doc(hidden)] pub struct Waiter(isize); pub struct WaiterSignaler(isize); impl Waiter { - pub fn new() -> Result<(Waiter, WaiterSignaler)> { + pub fn new() -> core::Result<(Waiter, WaiterSignaler)> { unsafe { let handle = CreateEventW(std::ptr::null(), 1, 0, std::ptr::null()); if handle == 0 { - Err(Error::from_win32()) + Err(core::Error::from_win32()) } else { Ok((Waiter(handle), WaiterSignaler(handle))) } diff --git a/crates/libs/windows/src/core/weak_ref_count.rs b/crates/libs/windows/src/imp/weak_ref_count.rs similarity index 85% rename from crates/libs/windows/src/core/weak_ref_count.rs rename to crates/libs/windows/src/imp/weak_ref_count.rs index 4c18cd8f44..4199b86f4a 100644 --- a/crates/libs/windows/src/core/weak_ref_count.rs +++ b/crates/libs/windows/src/imp/weak_ref_count.rs @@ -1,6 +1,6 @@ use super::*; -use bindings::*; use std::sync::atomic::{AtomicIsize, Ordering}; +use windows::core::Interface; #[doc(hidden)] #[repr(transparent)] @@ -82,7 +82,7 @@ struct TearOff { impl TearOff { #[allow(clippy::new_ret_no_self)] unsafe fn new(object: *mut std::ffi::c_void, strong_count: u32) -> IWeakReferenceSource { - std::mem::transmute(windows::core::alloc::boxed::Box::new(TearOff { + std::mem::transmute(std::boxed::Box::new(TearOff { strong_vtable: &Self::STRONG_VTABLE, weak_vtable: &Self::WEAK_VTABLE, object, @@ -98,12 +98,12 @@ impl TearOff { } const STRONG_VTABLE: IWeakReferenceSource_Vtbl = IWeakReferenceSource_Vtbl { - base__: IUnknown_Vtbl { QueryInterface: Self::StrongQueryInterface, AddRef: Self::StrongAddRef, Release: Self::StrongRelease }, + base__: core::IUnknown_Vtbl { QueryInterface: Self::StrongQueryInterface, AddRef: Self::StrongAddRef, Release: Self::StrongRelease }, GetWeakReference: Self::StrongDowngrade, }; const WEAK_VTABLE: IWeakReference_Vtbl = IWeakReference_Vtbl { - base__: IUnknown_Vtbl { QueryInterface: Self::WeakQueryInterface, AddRef: Self::WeakAddRef, Release: Self::WeakRelease }, + base__: core::IUnknown_Vtbl { QueryInterface: Self::WeakQueryInterface, AddRef: Self::WeakAddRef, Release: Self::WeakRelease }, Resolve: Self::WeakUpgrade, }; @@ -119,11 +119,11 @@ impl TearOff { std::mem::transmute(value << 1) } - unsafe fn query_interface(&self, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT { - ((*(*(self.object as *mut *mut _) as *mut IUnknown_Vtbl)).QueryInterface)(self.object, iid, interface) + unsafe fn query_interface(&self, iid: &core::GUID, interface: *mut *const std::ffi::c_void) -> core::HRESULT { + ((*(*(self.object as *mut *mut _) as *mut core::IUnknown_Vtbl)).QueryInterface)(self.object, iid, interface) } - unsafe extern "system" fn StrongQueryInterface(ptr: *mut std::ffi::c_void, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT { + unsafe extern "system" fn StrongQueryInterface(ptr: *mut std::ffi::c_void, iid: &core::GUID, interface: *mut *const std::ffi::c_void) -> core::HRESULT { let this = Self::from_strong_ptr(ptr); // Only directly respond to queries for the the tear-off's strong interface. This is @@ -131,7 +131,7 @@ impl TearOff { if iid == &IWeakReferenceSource::IID { *interface = ptr; this.strong_count.add_ref(); - return HRESULT(0); + return core::HRESULT(0); } // As the tear-off is sharing the identity of the object, simply delegate any remaining @@ -139,14 +139,14 @@ impl TearOff { this.query_interface(iid, interface) } - unsafe extern "system" fn WeakQueryInterface(ptr: *mut std::ffi::c_void, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT { + unsafe extern "system" fn WeakQueryInterface(ptr: *mut std::ffi::c_void, iid: &core::GUID, interface: *mut *const std::ffi::c_void) -> core::HRESULT { let this = Self::from_weak_ptr(ptr); // While the weak vtable is packed into the same allocation as the strong vtable and // tear-off, it represents a distinct COM identity and thus does not share or delegate to // the object. - *interface = if iid == &IWeakReference::IID || iid == &IUnknown::IID || iid == &IAgileObject::IID { ptr } else { std::ptr::null_mut() }; + *interface = if iid == &IWeakReference::IID || iid == &core::IUnknown::IID || iid == &IAgileObject::IID { ptr } else { std::ptr::null_mut() }; // TODO: implement IMarshal @@ -154,7 +154,7 @@ impl TearOff { E_NOINTERFACE } else { this.weak_count.add_ref(); - HRESULT(0) + core::HRESULT(0) } } @@ -177,7 +177,7 @@ impl TearOff { // Forward strong `Release` to the object so that it can destroy itself. It will then // decrement its weak reference and allow the tear-off to be released as needed. - ((*(*(this.object as *mut *mut _) as *mut IUnknown_Vtbl)).Release)(this.object) + ((*(*(this.object as *mut *mut _) as *mut core::IUnknown_Vtbl)).Release)(this.object) } unsafe extern "system" fn WeakRelease(ptr: *mut std::ffi::c_void) -> u32 { @@ -189,13 +189,13 @@ impl TearOff { // If there are no remaining references, it means that the object has already been // destroyed. Go ahead and destroy the tear-off. if remaining == 0 { - let _ = windows::core::alloc::boxed::Box::from_raw(this); + let _ = std::boxed::Box::from_raw(this); } remaining } - unsafe extern "system" fn StrongDowngrade(ptr: *mut std::ffi::c_void, interface: *mut *mut std::ffi::c_void) -> HRESULT { + unsafe extern "system" fn StrongDowngrade(ptr: *mut std::ffi::c_void, interface: *mut *mut std::ffi::c_void) -> core::HRESULT { let this = Self::from_strong_ptr(ptr); // The strong vtable hands out a reference to the weak vtable. This is always safe and @@ -203,10 +203,10 @@ impl TearOff { // reference. *interface = &mut this.weak_vtable as *mut _ as _; this.weak_count.add_ref(); - HRESULT(0) + core::HRESULT(0) } - unsafe extern "system" fn WeakUpgrade(ptr: *mut std::ffi::c_void, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT { + unsafe extern "system" fn WeakUpgrade(ptr: *mut std::ffi::c_void, iid: *const core::GUID, interface: *mut *mut std::ffi::c_void) -> core::HRESULT { let this = Self::from_weak_ptr(ptr); this.strong_count @@ -226,7 +226,7 @@ impl TearOff { }) .unwrap_or_else(|_| { *interface = std::ptr::null_mut(); - HRESULT(0) + core::HRESULT(0) }) } } diff --git a/crates/libs/windows/src/lib.rs b/crates/libs/windows/src/lib.rs index 60cebe31f5..54c924d6e4 100644 --- a/crates/libs/windows/src/lib.rs +++ b/crates/libs/windows/src/lib.rs @@ -10,6 +10,12 @@ Learn more about Rust for Windows here: {(HRESULT)__0} - + {__0} diff --git a/crates/tests/collections/Cargo.toml b/crates/tests/collections/Cargo.toml new file mode 100644 index 0000000000..070be9701f --- /dev/null +++ b/crates/tests/collections/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "test_collections" +version = "0.0.0" +authors = ["Microsoft"] +edition = "2018" + +[dependencies.windows] +path = "../../libs/windows" +features = [ + "implement", + "Foundation_Collections", + "Globalization", + "Win32_Foundation", +] diff --git a/crates/tests/collections/src/lib.rs b/crates/tests/collections/src/lib.rs new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/crates/tests/collections/src/lib.rs @@ -0,0 +1 @@ + diff --git a/crates/tests/collections/tests/stock_iterable.rs b/crates/tests/collections/tests/stock_iterable.rs new file mode 100644 index 0000000000..51dfc576f5 --- /dev/null +++ b/crates/tests/collections/tests/stock_iterable.rs @@ -0,0 +1,233 @@ +#![allow(non_snake_case)] + +use std::convert::TryFrom; +use windows::{core::*, Foundation::Collections::*, Foundation::*, Win32::Foundation::E_BOUNDS}; + +#[test] +fn calendar() -> Result<()> { + use windows::Globalization::*; + + let languages = IIterable::try_from(vec![HSTRING::from("he-IL"), HSTRING::from("ja-JP")])?; + let calendar = Calendar::CreateCalendar(&languages, &CalendarIdentifiers::Hebrew()?, &ClockIdentifiers::TwentyFourHour()?)?; + + let languages2 = calendar.Languages()?; + assert_eq!(languages2.Size()?, 2); + assert_eq!(&languages2.GetAt(0)?, h!("he-IL")); + assert_eq!(&languages2.GetAt(1)?, h!("ja-JP")); + + Ok(()) +} + +#[test] +fn primitive() -> Result<()> { + let able = IIterable::::try_from(vec![])?; + let iter = able.First()?; + + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + + assert!(!iter.HasCurrent()?); + assert!(!iter.HasCurrent()?); + + assert!(!iter.MoveNext()?); + assert!(!iter.MoveNext()?); + + assert_eq!(iter.GetMany(&mut [0; 5])?, 0); + + let able = IIterable::::try_from(vec![1, 2, 3])?; + let iter = able.First()?; + + assert_eq!(iter.Current()?, 1); + assert_eq!(iter.Current()?, 1); + + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(iter.MoveNext()?); + assert_eq!(iter.Current()?, 2); + assert_eq!(iter.Current()?, 2); + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(iter.MoveNext()?); + assert_eq!(iter.Current()?, 3); + assert_eq!(iter.Current()?, 3); + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(!iter.MoveNext()?); + assert!(!iter.MoveNext()?); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert!(!iter.HasCurrent()?); + assert!(!iter.HasCurrent()?); + + let iter = able.First()?; + let mut values = [0; 5]; + assert_eq!(iter.GetMany(&mut values)?, 3); + assert_eq!(values, [1, 2, 3, 0, 0]); + assert_eq!(iter.GetMany(&mut values)?, 0); + + let iter = able.First()?; + let mut values = [0; 1]; + assert_eq!(iter.GetMany(&mut values)?, 1); + assert_eq!(values, [1]); + let mut values = [0; 2]; + assert_eq!(iter.GetMany(&mut values)?, 2); + assert_eq!(values, [2, 3]); + assert_eq!(iter.GetMany(&mut values)?, 0); + + Ok(()) +} + +#[test] +fn hstring() -> Result<()> { + let able = IIterable::::try_from(vec![])?; + let iter = able.First()?; + + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + + assert!(!iter.HasCurrent()?); + assert!(!iter.HasCurrent()?); + + assert!(!iter.MoveNext()?); + assert!(!iter.MoveNext()?); + + let mut values = vec![]; + values.resize_with(5, Default::default); + assert_eq!(iter.GetMany(&mut values)?, 0); + + let able = IIterable::::try_from(vec![HSTRING::from("one"), HSTRING::from("two"), HSTRING::from("three")])?; + let iter = able.First()?; + + assert_eq!(&iter.Current()?, h!("one")); + assert_eq!(&iter.Current()?, h!("one")); + + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(iter.MoveNext()?); + assert_eq!(&iter.Current()?, h!("two")); + assert_eq!(&iter.Current()?, h!("two")); + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(iter.MoveNext()?); + assert_eq!(&iter.Current()?, h!("three")); + assert_eq!(&iter.Current()?, h!("three")); + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(!iter.MoveNext()?); + assert!(!iter.MoveNext()?); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert!(!iter.HasCurrent()?); + assert!(!iter.HasCurrent()?); + + let iter = able.First()?; + let mut values = vec![]; + values.resize_with(5, Default::default); + assert_eq!(iter.GetMany(&mut values)?, 3); + assert_eq!(values, [HSTRING::from("one"), HSTRING::from("two"), HSTRING::from("three"), HSTRING::default(), HSTRING::default()]); + assert_eq!(iter.GetMany(&mut values)?, 0); + + let iter = able.First()?; + let mut values = vec![]; + values.resize_with(1, Default::default); + assert_eq!(iter.GetMany(&mut values)?, 1); + assert_eq!(values, [HSTRING::from("one")]); + let mut values = vec![]; + values.resize_with(2, Default::default); + assert_eq!(iter.GetMany(&mut values)?, 2); + assert_eq!(values, [HSTRING::from("two"), HSTRING::from("three")]); + assert_eq!(iter.GetMany(&mut values)?, 0); + + Ok(()) +} + +#[implement(IStringable)] +struct Stringable(HSTRING); + +impl IStringable_Impl for Stringable { + fn ToString(&self) -> Result { + Ok(self.0.clone()) + } +} + +fn stringable(value: &str) -> IStringable { + Stringable(value.into()).into() +} + +#[test] +fn defaulted() -> Result<()> { + let able = IIterable::::try_from(vec![])?; + let iter = able.First()?; + + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + + assert!(!iter.HasCurrent()?); + assert!(!iter.HasCurrent()?); + + assert!(!iter.MoveNext()?); + assert!(!iter.MoveNext()?); + + let mut values = vec![]; + values.resize(5, None); + assert_eq!(iter.GetMany(&mut values)?, 0); + + let able = IIterable::::try_from(vec![Some(stringable("one")), Some(stringable("two")), Some(stringable("three"))])?; + let iter = able.First()?; + + assert_eq!(iter.Current()?.ToString()?, "one"); + assert_eq!(iter.Current()?.ToString()?, "one"); + + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(iter.MoveNext()?); + assert_eq!(iter.Current()?.ToString()?, "two"); + assert_eq!(iter.Current()?.ToString()?, "two"); + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(iter.MoveNext()?); + assert_eq!(iter.Current()?.ToString()?, "three"); + assert_eq!(iter.Current()?.ToString()?, "three"); + assert!(iter.HasCurrent()?); + assert!(iter.HasCurrent()?); + + assert!(!iter.MoveNext()?); + assert!(!iter.MoveNext()?); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert_eq!(iter.Current().unwrap_err().code(), E_BOUNDS); + assert!(!iter.HasCurrent()?); + assert!(!iter.HasCurrent()?); + + let iter = able.First()?; + let mut values = vec![]; + values.resize(5, None); + assert_eq!(iter.GetMany(&mut values)?, 3); + assert_eq!(values[0].as_ref().unwrap().ToString()?, "one"); + assert_eq!(values[1].as_ref().unwrap().ToString()?, "two"); + assert_eq!(values[2].as_ref().unwrap().ToString()?, "three"); + assert!(values[3].is_none()); + assert!(values[4].is_none()); + assert_eq!(iter.GetMany(&mut values)?, 0); + + let iter = able.First()?; + let mut values = vec![]; + values.resize(1, None); + assert_eq!(iter.GetMany(&mut values)?, 1); + assert_eq!(values[0].as_ref().unwrap().ToString()?, "one"); + let mut values = vec![]; + values.resize(2, None); + assert_eq!(iter.GetMany(&mut values)?, 2); + assert_eq!(values[0].as_ref().unwrap().ToString()?, "two"); + assert_eq!(values[1].as_ref().unwrap().ToString()?, "three"); + assert_eq!(iter.GetMany(&mut values)?, 0); + + Ok(()) +} diff --git a/crates/tests/component/src/bindings.rs b/crates/tests/component/src/bindings.rs index 4cb8685510..897f70ca1e 100644 --- a/crates/tests/component/src/bindings.rs +++ b/crates/tests/component/src/bindings.rs @@ -29,8 +29,8 @@ impl Class { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Property(&self) -> ::windows::core::Result { @@ -78,7 +78,7 @@ impl ::core::fmt::Debug for Class { } } impl ::windows::core::RuntimeType for Class { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(test_component.Class;{25aa41cb-1aae-5c2e-a14a-48b91fd98f1e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(test_component.Class;{25aa41cb-1aae-5c2e-a14a-48b91fd98f1e})"); } impl ::core::clone::Clone for Class { fn clone(&self) -> Self { @@ -94,7 +94,7 @@ unsafe impl ::windows::core::Interface for Class { impl ::windows::core::RuntimeName for Class { const NAME: &'static str = "test_component.Class"; } -::windows::core::interface_hierarchy!(Class, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Class, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Class {} unsafe impl ::core::marker::Sync for Class {} #[repr(transparent)] @@ -156,7 +156,7 @@ impl ::core::ops::Not for Flags { } } impl ::windows::core::RuntimeType for Flags { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(test_component.Flags;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(test_component.Flags;u4)"); } pub trait IClass_Impl: Sized { fn Property(&self) -> ::windows::core::Result; diff --git a/crates/tests/component_client/src/bindings.rs b/crates/tests/component_client/src/bindings.rs index 4cb8685510..897f70ca1e 100644 --- a/crates/tests/component_client/src/bindings.rs +++ b/crates/tests/component_client/src/bindings.rs @@ -29,8 +29,8 @@ impl Class { pub fn new() -> ::windows::core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) } - fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { - static SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); + fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { + static SHARED: ::windows::imp::FactoryCache = ::windows::imp::FactoryCache::new(); SHARED.call(callback) } pub fn Property(&self) -> ::windows::core::Result { @@ -78,7 +78,7 @@ impl ::core::fmt::Debug for Class { } } impl ::windows::core::RuntimeType for Class { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"rc(test_component.Class;{25aa41cb-1aae-5c2e-a14a-48b91fd98f1e})"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"rc(test_component.Class;{25aa41cb-1aae-5c2e-a14a-48b91fd98f1e})"); } impl ::core::clone::Clone for Class { fn clone(&self) -> Self { @@ -94,7 +94,7 @@ unsafe impl ::windows::core::Interface for Class { impl ::windows::core::RuntimeName for Class { const NAME: &'static str = "test_component.Class"; } -::windows::core::interface_hierarchy!(Class, ::windows::core::IUnknown, ::windows::core::IInspectable); +::windows::imp::interface_hierarchy!(Class, ::windows::core::IUnknown, ::windows::core::IInspectable); unsafe impl ::core::marker::Send for Class {} unsafe impl ::core::marker::Sync for Class {} #[repr(transparent)] @@ -156,7 +156,7 @@ impl ::core::ops::Not for Flags { } } impl ::windows::core::RuntimeType for Flags { - const SIGNATURE: ::windows::core::ConstBuffer = ::windows::core::ConstBuffer::from_slice(b"enum(test_component.Flags;u4)"); + const SIGNATURE: ::windows::imp::ConstBuffer = ::windows::imp::ConstBuffer::from_slice(b"enum(test_component.Flags;u4)"); } pub trait IClass_Impl: Sized { fn Property(&self) -> ::windows::core::Result; diff --git a/crates/tests/debugger_visualizer/tests/test.rs b/crates/tests/debugger_visualizer/tests/test.rs index 04ae167317..a1ad7c8553 100644 --- a/crates/tests/debugger_visualizer/tests/test.rs +++ b/crates/tests/debugger_visualizer/tests/test.rs @@ -151,7 +151,7 @@ empty : "" [Type: windows::core::strings::hstring::HSTRING] hstring : "This is an HSTRING" [Type: windows::core::strings::hstring::HSTRING] [] [Type: windows::core::strings::hstring::HSTRING] [len] : 0x12 [Type: unsigned int] - [ref_count] : 1 [Type: windows::core::ref_count::RefCount] + [ref_count] : 1 [Type: windows::imp::ref_count::RefCount] [flags] : 0x0 [Type: unsigned int] [chars] [0] : 0x54 'T' [Type: char16_t] @@ -175,11 +175,11 @@ hstring : "This is an HSTRING" [Type: windows::core::strings::hstring:: out_of_memory_error : 0x8007000e (Not enough memory resources are available to complete this operation.) [Type: windows::core::error::Error] [] [Type: windows::core::error::Error] - [info] : Some [Type: enum2$ >] + [info] : Some [Type: enum2$ >] invalid_argument_error : 0x80070057 (The parameter is incorrect.) [Type: windows::core::error::Error] [] [Type: windows::core::error::Error] - [info] : Some [Type: enum2$ >] + [info] : Some [Type: enum2$ >] "# )] fn test_debugger_visualizer() { diff --git a/crates/tests/implement/tests/single.rs b/crates/tests/implement/tests/single.rs deleted file mode 100644 index 6bc4dec651..0000000000 --- a/crates/tests/implement/tests/single.rs +++ /dev/null @@ -1,21 +0,0 @@ -#![allow(non_snake_case)] - -use windows::core::*; -use windows::Foundation::Collections::*; - -#[implement(IIterable)] -struct Thing(Vec) -where - T: RuntimeType + 'static, - >::Default: PartialEq; - -impl IIterable_Impl for Thing -where - T: RuntimeType + 'static, - >::Default: PartialEq, -{ - fn First(&self) -> Result> { - assert!(self.0[0] == self.0[1]); - todo!() - } -} diff --git a/crates/tests/weak_ref/tests/count.rs b/crates/tests/weak_ref/tests/count.rs index 8a56f359a7..70b3a89694 100644 --- a/crates/tests/weak_ref/tests/count.rs +++ b/crates/tests/weak_ref/tests/count.rs @@ -1,4 +1,5 @@ -use windows::core::*; +use windows::core::Interface; +use windows::imp::WeakRefCount; use windows::Win32::System::WinRT::IWeakReferenceSource; #[test] diff --git a/crates/tests/weak_ref/tests/race.rs b/crates/tests/weak_ref/tests/race.rs index bb23545967..dcc90ddfcc 100644 --- a/crates/tests/weak_ref/tests/race.rs +++ b/crates/tests/weak_ref/tests/race.rs @@ -1,6 +1,6 @@ use std::sync::atomic::{AtomicU32, Ordering}; use std::sync::Arc; -use windows::core::*; +use windows::imp::WeakRefCount; const TARGET: u32 = 100_000; const CONCURRENCY: usize = 8; diff --git a/crates/tests/winrt/Cargo.toml b/crates/tests/winrt/Cargo.toml index 457f0735bd..0c27c01a8d 100644 --- a/crates/tests/winrt/Cargo.toml +++ b/crates/tests/winrt/Cargo.toml @@ -20,6 +20,7 @@ features = [ "ApplicationModel_Activation", "ApplicationModel_Appointments", "Win32_System_WinRT", + "Win32_System_Com", ] [dev-dependencies] diff --git a/crates/tests/winrt/tests/uri.rs b/crates/tests/winrt/tests/uri.rs index 717d5b68a5..3f9842aebd 100644 --- a/crates/tests/winrt/tests/uri.rs +++ b/crates/tests/winrt/tests/uri.rs @@ -1,6 +1,7 @@ use core::convert::TryInto; -use windows::core::{IAgileObject, Interface, RuntimeName}; +use windows::core::{Interface, RuntimeName}; use windows::Foundation::{IStringable, IUriRuntimeClass, Uri}; +use windows::Win32::System::Com::IAgileObject; #[test] fn uri() -> windows::core::Result<()> {